Index: /trunk/LOGFILE_thomx.m
===================================================================
--- /trunk/LOGFILE_thomx.m	(revision 16)
+++ /trunk/LOGFILE_thomx.m	(revision 17)
@@ -158,4 +158,7 @@
    Fix the bug to avoid the mirror tunes.
 
+10/01/2014
+  Fix the bug in the longitudinal parameters definitions to get 
+  the correct 6D orbit.
 
    
Index: /trunk/at/atphysics/findm44.m
===================================================================
--- /trunk/at/atphysics/findm44.m	(revision 16)
+++ /trunk/at/atphysics/findm44.m	(revision 17)
@@ -110,5 +110,11 @@
 else
     % optimal differentiation step - Numerical Recipes
-    d =  6.055454452393343e-006;
+    %d =  6.055454452393343e-006;
+    
+    % the same value as in dt/dl in findm66.m 
+    % to test why the chrom. from findm44 & findm66 are different
+    % need to convert back to the numerical recipes value
+    % when the test is finished...
+    d =  1e-8;
 end
 
Index: /trunk/at/atphysics/fitchrom2.m
===================================================================
--- /trunk/at/atphysics/fitchrom2.m	(revision 16)
+++ /trunk/at/atphysics/fitchrom2.m	(revision 17)
@@ -121,9 +121,9 @@
 %% Display how good is the fit
 if DisplayFlag
-    fprintf('Desired chromaticities xix=%f xiz=%f\n',newchrom);
+    fprintf('\n Desired chromaticities xix=%f xiz=%f\n',newchrom);
     [tune xi] = tunechrom(THERING,0,'chrom');
-    fprintf('Reached chromaticities xix=%f xiz=%f\n',xi);
+    fprintf(' Reached chromaticities xix=%f xiz=%f\n',xi);
     
-    fprintf('before correction: %s = %f, %s = %f\n', sextfam1,InitialS1(1),sextfam2,InitialS2(1));
-    fprintf('after correction:  %s = %f, %s = %f\n', sextfam1,FinalS1(1),sextfam2,FinalS2(1));
+    fprintf('\n Before correction: %s = %f, %s = %f\n', sextfam1,InitialS1(1),sextfam2,InitialS2(1));
+    fprintf(' After correction:  %s = %f, %s = %f\n', sextfam1,FinalS1(1),sextfam2,FinalS2(1));
 end
Index: /trunk/machine/SOLEIL/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+standalone_applications
Index: /trunk/machine/SOLEIL/Booster/Lattices/boosterbasic.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/Lattices/boosterbasic.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/Lattices/boosterbasic.m	(revision 17)
@@ -0,0 +1,129 @@
+
+function boosterlin
+% Booster soleil lattice w/o ID 
+% Lattice definition file
+% Perfect lattice no magnetic errors 
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL booster magnet lattice ', mfilename]);
+
+L0 = 156.620;                % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 184;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method       
+CAV = rfcavity('RF' , 0 , 0.8e+6 , HarmNumber*C0/L0, ...
+               HarmNumber ,'ThinCavityPass');   
+
+%% Marker and apertures
+   SECT1  =  marker('SECT1', 'IdentityPass');
+   SECT2  =  marker('SECT2', 'IdentityPass');
+   DEBUT  =  marker('DEBUT', 'IdentityPass');
+   FIN    =  marker('FIN', 'IdentityPass');
+   
+   INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+   INJ = aperture('INJ',[-0.035 0.035 -0.125 0.125],'AperturePass');
+
+% BPM   
+   BPM    =  marker('BPM', 'IdentityPass');
+
+% DRIFT SPACES
+   SD1 = drift('SD1', 3.15955 , 'DriftPass');
+   SD2 = drift('SD2',.408000  , 'DriftPass');
+   SD3 = drift('SD3',.591550  , 'DriftPass');
+   
+% QUADRUPOLES 
+   QPD  =  quadrupole('QPD' , 0.40, -.8913750 , 'QuadLinearPass');
+   QPF  =  quadrupole('QPF' , 0.40,  1.12364 , 'QuadLinearPass');
+
+% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+
+
+% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+
+% DIPOLES 
+BEND  =  rbend('BEND'  , 2.160,  ...
+            0.174533, 0.0872665, 0.0872665 , 0.0,'BendLinearPass');
+
+% Begin Lattice
+
+%%  Superperiods  
+
+SUP1  = [ QPD        SD1        QPF        SD3        BEND       SD2  ...     
+ QPD        SD1        QPF        SD2        BEND       SD3  ...     
+ QPD        SD2        BEND       SD3        QPF        SD2 ...      
+ BEND       SD3        QPD        SD2        BEND       SD3  ...     
+ QPF        SD2        BEND       SD3        QPD        SD2  ...     
+ BEND       SD3        QPF        SD2        BEND       SD3  ...     
+ QPD        SD2        BEND       SD3        QPF        SD3  ...     
+ BEND       SD2        QPD        SD3        BEND       SD2  ...     
+ QPF        SD3        BEND       SD2        QPD        SD3  ...     
+ BEND       SD2        QPF        SD3        BEND       SD2  ...     
+ QPD        SD3        BEND       SD2        QPF        SD3 ...      
+ BEND       SD2        QPD        SD3        BEND       SD2  ...     
+ QPF        SD1        QPD        SD2        BEND       SD3  ...     
+ QPF        SD1         ];
+
+SUP2  = [ QPD        SD1        QPF        SD3        BEND       SD2  ...     
+ QPD        SD1        QPF        SD2        BEND       SD3  ...     
+ QPD        SD2        BEND       SD3        QPF        SD2 ...      
+ BEND       SD3        QPD        SD2        BEND       SD3  ...     
+ QPF        SD2        BEND       SD3        QPD        SD2  ...     
+ BEND       SD3        QPF        SD2        BEND       SD3  ...     
+ QPD        SD2        BEND       SD3        QPF        SD3  ...     
+ BEND       SD2        QPD        SD3        BEND       SD2  ...     
+ QPF        SD3        BEND       SD2        QPD        SD3  ...     
+ BEND       SD2        QPF        SD3        BEND       SD2  ...     
+ QPD        SD3        BEND       SD2        QPF        SD3 ...      
+ BEND       SD2        QPD        SD3        BEND       SD2  ...     
+ QPF        SD1        QPD        SD2        BEND       SD3  ...     
+ QPF        SD1         ];
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 FIN];
+
+buildlat(ELIST);
+
+
+
+
+
+
+%% compute total length and RF frequency
+
+L0_tot=0;
+for i=1:length(THERING)
+   L0_tot=L0_tot+THERING{i}.Length;
+end
+
+fprintf('\nL0_tot=%f m (should be %f m) \nf_RF=%f Hz \n\n', L0_tot, ...
+    L0,HarmNumber*C0/L0_tot)
+
+%% Compute initial tunes before loading errors
+[InitialTunes, InitialChro] = tunechrom(THERING,0,[6.4, 4.4],'chrom','coupling');
+
+% fprintf('A bit false since radiation and cavity on\n');
+fprintf('Tunes before loading lattice errors: nu_x=%g, nu_z=%g\n', ...
+    InitialTunes(1),InitialTunes(2));
+fprintf('Chroma before loading lattice errors: xi_x=%g, xi_z=%g\n', ...
+    InitialChro(1)/InitialTunes(1),InitialChro(2)/InitialTunes(2));
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+disp('** Finished loading lattice in Accelerator Toolbox');
Index: /trunk/machine/SOLEIL/Booster/Lattices/boosterlin.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/Lattices/boosterlin.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/Lattices/boosterlin.m	(revision 17)
@@ -0,0 +1,129 @@
+
+function boosterlin
+% Booster soleil lattice w/o ID 
+% Lattice definition file
+% Perfect lattice no magnetic errors 
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL booster magnet lattice ', mfilename]);
+
+L0 = 156.620;                % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 184;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method       
+CAV = rfcavity('RF' , 0 , 0.8e+6 , HarmNumber*C0/L0, ...
+               HarmNumber ,'ThinCavityPass');   
+
+%% Marker and apertures
+   SECT1  =  marker('SECT1', 'IdentityPass');
+   SECT2  =  marker('SECT2', 'IdentityPass');
+   DEBUT  =  marker('DEBUT', 'IdentityPass');
+   FIN    =  marker('FIN', 'IdentityPass');
+   
+   INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+   INJ = aperture('INJ',[-0.035 0.035 -0.125 0.125],'AperturePass');
+
+% BPM   
+   BPM    =  marker('BPM', 'IdentityPass');
+
+% DRIFT SPACES
+   SD1 = drift('SD1', 3.15955 , 'DriftPass');
+   SD2 = drift('SD2',.408000  , 'DriftPass');
+   SD3 = drift('SD3',.591550  , 'DriftPass');
+   
+% QUADRUPOLES 
+   QPD  =  quadrupole('QPD' , 0.40, -.8913750 , 'QuadLinearPass');
+   QPF  =  quadrupole('QPF' , 0.40,  1.12364 , 'QuadLinearPass');
+
+% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+
+
+% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+
+% DIPOLES 
+BEND  =  rbend('BEND'  , 2.160,  ...
+            0.174533, 0.0872665, 0.0872665 , 0.0,'BendLinearPass');
+
+% Begin Lattice
+
+%%  Superperiods  
+
+SUP1  = [ QPD        SD1        QPF        SD3        BEND       SD2  ...     
+ QPD        SD1        QPF        SD2        BEND       SD3  ...     
+ QPD        SD2        BEND       SD3        QPF        SD2 ...      
+ BEND       SD3        QPD        SD2        BEND       SD3  ...     
+ QPF        SD2        BEND       SD3        QPD        SD2  ...     
+ BEND       SD3        QPF        SD2        BEND       SD3  ...     
+ QPD        SD2        BEND       SD3        QPF        SD3  ...     
+ BEND       SD2        QPD        SD3        BEND       SD2  ...     
+ QPF        SD3        BEND       SD2        QPD        SD3  ...     
+ BEND       SD2        QPF        SD3        BEND       SD2  ...     
+ QPD        SD3        BEND       SD2        QPF        SD3 ...      
+ BEND       SD2        QPD        SD3        BEND       SD2  ...     
+ QPF        SD1        QPD        SD2        BEND       SD3  ...     
+ QPF        SD1         ];
+
+SUP2  = [ QPD        SD1        QPF        SD3        BEND       SD2  ...     
+ QPD        SD1        QPF        SD2        BEND       SD3  ...     
+ QPD        SD2        BEND       SD3        QPF        SD2 ...      
+ BEND       SD3        QPD        SD2        BEND       SD3  ...     
+ QPF        SD2        BEND       SD3        QPD        SD2  ...     
+ BEND       SD3        QPF        SD2        BEND       SD3  ...     
+ QPD        SD2        BEND       SD3        QPF        SD3  ...     
+ BEND       SD2        QPD        SD3        BEND       SD2  ...     
+ QPF        SD3        BEND       SD2        QPD        SD3  ...     
+ BEND       SD2        QPF        SD3        BEND       SD2  ...     
+ QPD        SD3        BEND       SD2        QPF        SD3 ...      
+ BEND       SD2        QPD        SD3        BEND       SD2  ...     
+ QPF        SD1        QPD        SD2        BEND       SD3  ...     
+ QPF        SD1         ];
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 FIN];
+
+buildlat(ELIST);
+
+
+
+
+
+
+%% compute total length and RF frequency
+
+L0_tot=0;
+for i=1:length(THERING)
+   L0_tot=L0_tot+THERING{i}.Length;
+end
+
+fprintf('\nL0_tot=%f m (should be %f m) \nf_RF=%f Hz \n\n', L0_tot, ...
+    L0,HarmNumber*C0/L0_tot)
+
+%% Compute initial tunes before loading errors
+[InitialTunes, InitialChro] = tunechrom(THERING,0,[6.4, 4.4],'chrom','coupling');
+
+% fprintf('A bit false since radiation and cavity on\n');
+fprintf('Tunes before loading lattice errors: nu_x=%g, nu_z=%g\n', ...
+    InitialTunes(1),InitialTunes(2));
+fprintf('Chroma before loading lattice errors: xi_x=%g, xi_z=%g\n', ...
+    InitialChro(1)/InitialTunes(1),InitialChro(2)/InitialTunes(2));
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+disp('** Finished loading lattice in Accelerator Toolbox');
Index: /trunk/machine/SOLEIL/Booster/Lattices/boosterreal.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/Lattices/boosterreal.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/Lattices/boosterreal.m	(revision 17)
@@ -0,0 +1,124 @@
+function boosterreal
+% Booster soleil lattice w/o ID 
+% Lattice definition file, include BPM and steerer at right location (Alex)
+% Perfect lattice no magnetic errors 
+% Controlroom : set linearpass for quad (closed orbit)
+
+% Fevrier 2006
+% A. Loulergue
+
+global FAMLIST THERING GLOBVAL
+
+%GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.E0 = 0.1085e9; % Ring energy
+% GLOBVAL.E0 = 0.100e9; % Ring energy
+
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL booster magnet lattice ', mfilename]);
+
+L0 = 156.620;                % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 184;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method       
+CAV = rfcavity('RF' , 0 , 0.844e+6 , HarmNumber*C0/L0, ...
+               HarmNumber ,'CavityPass');   
+CAV = rfcavity('RF' , 0 , 1.000e+6 , HarmNumber*C0/L0, ...
+              HarmNumber ,'CavityPass');   
+% CAV = rfcavity('RF' , 0 , 0.204e+6 , HarmNumber*C0/L0, ...
+%                HarmNumber ,'ThinCavityPass');   
+
+%% Marker and apertures
+   SECT1  =  marker('SECT1', 'IdentityPass');
+   SECT2  =  marker('SECT2', 'IdentityPass');
+   DEBUT  =  marker('DEBUT', 'IdentityPass');
+   FIN    =  marker('FIN', 'IdentityPass');
+   
+   INJ = aperture('INJ',[-0.035 0.035 -0.125 0.125],'AperturePass');
+
+% BPM   
+   BPM    =  marker('BPM', 'IdentityPass');
+
+% DRIFT SPACES
+   SD1 = drift('SD1', 3.15955 , 'DriftPass');
+   SD2 = drift('SD2',.408000  , 'DriftPass');
+   SD3 = drift('SD3',.591550  , 'DriftPass');
+   
+   SDBP= drift('SDPB',.150000  , 'DriftPass');% Distance qpole BPM
+   SDCO= drift('SDCO',.220000  , 'DriftPass');% Distance BPM corr
+   SD31= drift('SD31',.221550  , 'DriftPass'); % tient compte BPM et CORR
+   SD11= drift('SD11', 2.41955  , 'DriftPass');% tient compte 1 CORR
+
+  
+% QUADRUPOLES 
+   QPD  =  quadrupole('QPD' , 0.40,-0.9382000E+00  , 'QuadLinearPass');
+   QPF  =  quadrupole('QPF' , 0.40, 0.1178000E+01 , 'QuadLinearPass');
+
+% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+% SXF = 0.383 SXD = -0.525 for correcting natural chromaticities (Alex)
+% do not take in account 1. Eddy current when ramping the energy
+%                        2. remnant sextupole field at injection field
+%                        3. sextupole from geometry of dipole
+
+SXF  =  sextupole('SXF' , Finv,  0.383*F, 'StrMPoleSymplectic4Pass');
+SXD  =  sextupole('SXD' , Finv, -0.525*F, 'StrMPoleSymplectic4Pass');
+
+% Slow feedback correctors
+ HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+ VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+
+% DIPOLES 
+BEND  =  rbend('BEND'  , 2.160,  ...
+            0.174533, 0.0872665, 0.0872665 , 0.0,'BendLinearPass');
+
+% Begin Lattice
+%  Superperiods  
+
+SUP1  = [ ...
+ QPD        SDBP       SDCO       VCOR       SD11       SDCO       SDBP                      ...
+ QPF        SDBP       BPM        SDCO       HCOR       SD31       BEND       SD2            ...    
+ ...
+ QPD        SDBP       SDCO       VCOR       SD11       SDCO       HCOR       SDBP           ...
+ QPF        SD2        BEND       SD31       VCOR       SDCO       BPM        SDBP           ...
+ ...
+ QPD        SXD        SD2        BEND       SD31       HCOR       SDCO       BPM       SDBP ...
+ QPF        SXF        SD2        BEND       SD31       VCOR       SDCO       SDBP           ...
+ ...
+ QPD        SXD        SD2        BEND       SD31       HCOR       SDCO       SDBP           ...     
+ QPF        SXF        SD2        BEND       SD31       VCOR       SDCO       BPM       SDBP ...
+ ...
+ QPD        SXD        SD2        BEND       SD31       HCOR       SDCO       BPM       SDBP ...       
+ QPF        SXF        SD2        BEND       SD31       VCOR       SDCO       SDBP           ...
+ ...
+ QPD        SXD        SD2        BEND       SD31       HCOR       SDCO       BPM       SDBP ... 
+ QPF        SD3        BEND       SD2        SXD                                             ...
+ ...
+ QPD        SDBP       SDCO       VCOR       SD31       BEND       SD2        SXF            ...
+ QPF        SDBP       BPM        SDCO       HCOR       SD31       BEND       SD2       SXD  ...
+ ...
+ QPD        SDBP       BPM        SDCO       VCOR       SD31       BEND       SD2       SXF            ...               
+ QPF        SDBP       SDCO       HCOR       SD31       BEND       SD2        SXD            ...
+ ...    
+ QPD        SDBP       SDCO       VCOR       SD31       BEND       SD2        SXF            ... 
+ QPF        SDBP       BPM        SDCO       HCOR       SD31       BEND       SD2       SXD  ...
+ ...
+ QPD        SDBP       BPM        SDCO       VCOR       SD31       BEND       SD2            ...     
+ QPF        SDBP       SDCO       HCOR       SD11       SDCO       VCOR       SDBP           ...
+ ...
+ QPD        SD2        BEND       SD31       HCOR       SDCO       BPM        SDBP           ...
+ QPF        SD1 ];
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP1 CAV FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
Index: /trunk/machine/SOLEIL/Booster/Lattices/boostersteerer.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/Lattices/boostersteerer.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/Lattices/boostersteerer.m	(revision 17)
@@ -0,0 +1,99 @@
+function boostersteerer
+% Booster soleil lattice w/o ID 
+% Lattice definition file
+% Perfect lattice no magnetic errors 
+% Controlroom : set linearpass for quad (closed orbit)
+
+global FAMLIST THERING GLOBVAL
+
+%GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.E0 = 0.1085e9; % Ring energy
+% GLOBVAL.E0 = 0.100e9; % Ring energy
+
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL booster magnet lattice ', mfilename]);
+
+L0 = 156.620;                % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 184;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method       
+CAV = rfcavity('RF' , 0 , 0.844e+6 , HarmNumber*C0/L0, ...
+               HarmNumber ,'CavityPass');   
+CAV = rfcavity('RF' , 0 , 0.200e+6 , HarmNumber*C0/L0, ...
+              HarmNumber ,'CavityPass');   
+% CAV = rfcavity('RF' , 0 , 0.204e+6 , HarmNumber*C0/L0, ...
+%                HarmNumber ,'ThinCavityPass');   
+
+%% Marker and apertures
+   SECT1  =  marker('SECT1', 'IdentityPass');
+   SECT2  =  marker('SECT2', 'IdentityPass');
+   DEBUT  =  marker('DEBUT', 'IdentityPass');
+   FIN    =  marker('FIN', 'IdentityPass');
+   
+   INJ = aperture('INJ',[-0.035 0.035 -0.125 0.125],'AperturePass');
+
+% BPM   
+   BPM    =  marker('BPM', 'IdentityPass');
+
+% DRIFT SPACES
+   SD1 = drift('SD1', 3.15955 , 'DriftPass');
+   SD2 = drift('SD2',.408000  , 'DriftPass');
+   SD3 = drift('SD3',.591550  , 'DriftPass');
+   
+   SD11 = drift('SD1', 3.00000 , 'DriftPass');
+   SD12 = drift('SD1', 0.15955 , 'DriftPass');
+% QUADRUPOLES 
+   QPD  =  quadrupole('QPD' , 0.40,-0.9382000E+00  , 'QuadLinearPass');
+   QPF  =  quadrupole('QPF' , 0.40, 0.1178000E+01 , 'QuadLinearPass');
+
+% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+% SXF = 0.383 SXD = -0.525 for correcting natural chromaticities (Alex)
+% do not take in account 1. Eddy current when ramping the energy
+%                        2. remnant sextupole field at injection field
+%                        3. sextupole from geometry of dipole
+
+SXF  =  sextupole('SXF' , Finv,  0.383*F, 'StrMPoleSymplectic4Pass');
+SXD  =  sextupole('SXD' , Finv, -0.525*F, 'StrMPoleSymplectic4Pass');
+
+% Slow feedback correctors
+ HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+ VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+
+% DIPOLES 
+BEND  =  rbend('BEND'  , 2.160,  ...
+            0.174533, 0.0872665, 0.0872665 , 0.0,'BendLinearPass');
+
+% Begin Lattice
+%  Superperiods  
+
+SUP1  = [ ...
+ QPD        VCOR       SD1        QPF        HCOR       BPM        SD3        BEND       SD2  ...     
+ QPD        VCOR       SD1        HCOR       QPF        SD2        BEND       SD3  ...     
+ VCOR       BPM        QPD        SXD        SD2        BEND       SD3        HCOR       BPM        QPF        SXF     SD2 ...      
+ BEND       SD3        VCOR       QPD        SXD        SD2        BEND       SD3  ...     
+ HCOR       QPF        SXF        SD2        BEND       SD3        VCOR       BPM        QPD        SXD        SD2  ...     
+ BEND       SD3        HCOR       BPM        QPF        SXF        SD2        BEND       SD3  ...     
+ VCOR       QPD        SXD        SD2        BEND       SD3        HCOR       BPM        QPF        SD3  ...     
+ BEND       SD2        SXD        QPD        VCOR       SD3        BEND       SD2  ...     
+ SXF        QPF        BPM        HCOR       SD3        BEND       SD2        SXD        QPD        BPM       VCOR       SD3  ...     
+ BEND       SD2        SXF        QPF        HCOR       SD3        BEND       SD2  ...     
+ SXD        QPD        VCOR       SD3        BEND       SD2        SXF        QPF        BPM       HCOR       SD3 ...      
+ BEND       SD2        SXD        QPD        BPM        VCOR       SD3        BEND       SD2  ...     
+ QPF        HCOR       SD1        VCOR       QPD        SD2        BEND       SD3  ...     
+ HCOR       BPM        QPF        SD1 ];
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP1 CAV FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
Index: /trunk/machine/SOLEIL/Booster/aoinit.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/aoinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/aoinit.m	(revision 17)
@@ -0,0 +1,50 @@
+function aoinit(SubMachineName)
+%AOINIT - Initialization function for the Matlab Middle Layer (MML)
+%
+%
+%  See Also boosterinit, setpathsoleil, setoperationalmode 
+
+% Written by Laurent S. Nadolski
+
+if exist('SubMachineName', 'var') && ~strcmpi(SubMachineName, 'Booster')
+    error('Wrong SubMachine %s', SubMachineName)
+end
+
+% The path should not be modified in standalone mode
+if ~isdeployed_local
+
+    MMLROOT = getmmlroot;
+    MMLDATAROOT = getmmldataroot;
+    
+    addpath(fullfile(MMLDATAROOT, 'measdata', 'SOLEIL', 'Boosterdata'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'BoosterOpsData'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'Booster', 'applications'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'Booster',  'bpm'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'Booster', 'Lattices'));
+    
+    % APPLICATIONS
+    addpath(fullfile(MMLROOT, 'mml', 'setorbitbumpgui'));        
+    addpath(fullfile(MMLROOT, 'mml', 'setorbitgui'));        
+         
+
+    % Make sure mml is high on the path
+    addpath(fullfile(MMLROOT, 'mml'),'-begin');
+
+    disp(['TANGO/MATLAB binding version: ' tango_version])
+    disp('Startup file for Matlab Middle Layer read with success');
+
+end
+
+% Initialize the MML for machine
+
+boosterinit;
+
+function RunTimeFlag = isdeployed_local
+% isdeployed is not in matlab 6.5
+V = version;
+if str2double(V(1,1)) < 7
+    RunTimeFlag = 0;
+else
+    RunTimeFlag = isdeployed;
+end
+
Index: /trunk/machine/SOLEIL/Booster/applications/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+changes
Index: /trunk/machine/SOLEIL/Booster/applications/ACenergie1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/ACenergie1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/ACenergie1.m	(revision 17)
@@ -0,0 +1,230 @@
+function varargout = ACenergie1(varargin)
+% ACENERGIE1 M-file for ACenergie1.fig
+%      ACENERGIE1, by itself, creates a new ACENERGIE1 or raises the existing
+%      singleton*.
+%
+%      H = ACENERGIE1 returns the handle to a new ACENERGIE1 or the handle to
+%      the existing singleton*.
+%
+%      ACENERGIE1('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ACENERGIE1.M with the given input arguments.
+%
+%      ACENERGIE1('Property','Value',...) creates a new ACENERGIE1 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before ACenergie1_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to ACenergie1_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help ACenergie1
+
+% Last Modified by GUIDE v2.5 05-May-2006 10:10:07
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @ACenergie1_OpeningFcn, ...
+                   'gui_OutputFcn',  @ACenergie1_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before ACenergie1 is made visible.
+function ACenergie1_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to ACenergie1 (see VARARGIN)
+
+% Choose default command line output for ACenergie1
+handles.output = hObject;
+
+% Update handles structure/home/operateur
+guidata(hObject, handles);
+
+% UIWAIT makes ACenergie1 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = ACenergie1_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function edit_energie_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_energie (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_energie as text
+%        str2double(get(hObject,'String')) returns contents of edit_energie as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_energie_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_energie (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_apply.
+function button_apply_Callback(hObject, eventdata, handles)
+% hObject    handle to button_apply (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+r=str2double(get(handles.edit_energie,'String'));
+
+
+
+    val(1)=readattribute('BOO/AE/D.1/current'        ,'Setpoint');
+    val(2)=readattribute('BOO/AE/QF/current'          ,'Setpoint');
+    val(3)=readattribute('BOO/AE/QD/current'          ,'Setpoint');
+    
+    val(4)=readattribute('BOO-C10/EP/AL_DOF.1/voltagePeakValue');
+    val(5)=readattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue');
+    val(6)=readattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue');
+    
+    val(7)=readattribute('BOO-C10/EP/AL_K.Ext/voltage');
+    val(8)=readattribute('BOO-C11/EP/AL_SEP_P.Ext.1/serialVoltage');
+    val(9)=readattribute('BOO-C12/EP/AL_SEP_A.Ext/voltage');
+    
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+    Tinj=temp.value(1);
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    Tsoft=temp.value(1);
+    
+    
+    val=val*(1+r/100)
+    Tinj =Tinj -  r*100 ;            %  1% = + 100 Âµs
+    Tsoft=Tsoft-  r*100 ;            %  1% = + 100 Âµs
+    
+    
+    if (val(1) >= 22)
+        
+        set(handles.edit_dipole,'String',' Too big !');
+        set(handles.edit_qf,'String','  not');
+        set(handles.edit_qd,'String',' applied !');
+        set(handles.edit_energie,'String',num2str(0));
+        
+    else
+        
+        val
+        Tinj
+        set(handles.edit_dipole,'String',num2str(val(1)));
+        set(handles.edit_qf,'String',num2str(val(2)));
+        set(handles.edit_qd,'String',num2str(val(3)));
+   
+%     writeattribute('BOO/AE/D.1/current'         ,val(1));
+%     writeattribute('BOO/AE/QF/current'          ,val(2));
+%     writeattribute('BOO/AE/QD/current'          ,val(3));
+
+%     writeattribute('BOO-C10/EP/AL_DOF.1/voltagePeakValue',val(4));
+%     writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',val(5));
+%     writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',val(6));
+%     writeattribute('BOO-C10/EP/AL_K.Ext/voltage',val(7));
+%     writeattribute('BOO-C11/EP/AL_SEP_P.Ext.1/serialVoltage',val(8));
+%     writeattribute('BOO-C12/EP/AL_SEP_A.Ext/voltage,',val(9));
+%     tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',Tinj);
+%     tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',Tsoft);
+
+    end
+    
+
+function edit_dipole_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_dipole (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_dipole as text
+%        str2double(get(hObject,'String')) returns contents of edit_dipole as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_dipole_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_dipole (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_qf_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_qf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_qf as text
+%        str2double(get(hObject,'String')) returns contents of edit_qf as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_qf_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_qf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_qd_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_qd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_qd as text
+%        str2double(get(hObject,'String')) returns contents of edit_qd as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_qd_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_qd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/ACenergy.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/ACenergy.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/ACenergy.m	(revision 17)
@@ -0,0 +1,40 @@
+% ACenergy
+
+    r=1 ;   %en %
+    
+    
+    
+    val(1)=readattribute('BOO/AE/D.1/current'        ,'Setpoint');
+    val(2)=readattribute('BOO/AE/QF/current'          ,'Setpoint');
+    val(3)=readattribute('BOO/AE/QD/current'          ,'Setpoint');
+    val(4)=readattribute('BOO/AE/SF/current'          ,'Setpoint');
+    val(5)=readattribute('BOO-C10/EP/AL_DOF.1/voltagePeakValue');
+    val(6)=readattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue');
+    val(7)=readattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue');
+    val(8)=readattribute('BOO-C10/EP/AL_K.Ext/voltage');
+    val(9)=readattribute('BOO-C11/EP/AL_SEP_P.Ext.1/serialVoltage');
+    val(10)=readattribute('BOO-C12/EP/AL_SEP_A.Ext/voltage');
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+    Tinj=temp.value(1);
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    Tsoft=temp.value(1);
+    
+    
+    val=val*(1+r/100);
+    Tsoft
+    Tinj =Tinj -  r*100 ;             %  1% = + 100 Âµs
+    Tsoft=Tsoft-  r*100 ;            %  1% = + 100 Âµs
+    Tsoft
+    writeattribute('BOO/AE/D.1/current'        ,val(1));
+    writeattribute('BOO/AE/QF/current'          ,val(2));
+    writeattribute('BOO/AE/QD/current'          ,val(3));
+    writeattribute('BOO/AE/SF/current'          ,val(4));
+    writeattribute('BOO-C10/EP/AL_DOF.1/voltagePeakValue',val(5));
+    writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',val(6));
+    writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',val(7));
+    writeattribute('BOO-C10/EP/AL_K.Ext/voltage',val(8));
+    writeattribute('BOO-C11/EP/AL_SEP_P.Ext.1/serialVoltage',val(9));
+    writeattribute('BOO-C12/EP/AL_SEP_A.Ext/voltage,',val(10));
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',Tinj);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',Tsoft);
+    
Index: /trunk/machine/SOLEIL/Booster/applications/ACtune.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/ACtune.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/ACtune.m	(revision 17)
@@ -0,0 +1,730 @@
+function varargout = ACtune(varargin)
+% ACTUNE M-file for ACtune.fig
+%      ACTUNE, by itself, creates a new ACTUNE or raises the existing
+%      singleton*.
+%
+%      H = ACTUNE returns the handle to a new ACTUNE or the handle to
+%      the existing singleton*.
+%
+%      ACTUNE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ACTUNE.M with the given input arguments.
+%
+%      ACTUNE('Property','Value',...) creates a new ACTUNE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before ACtune_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to ACtune_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help ACtune
+
+% Last Modified by GUIDE v2.5 27-Apr-2006 14:46:15
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @ACtune_OpeningFcn, ...
+                   'gui_OutputFcn',  @ACtune_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before ACtune is made visible.
+function ACtune_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to ACtune (see VARARGIN)
+
+% Choose default command line output for ACtune
+handles.output = hObject;
+
+if ~strcmp(getfamilydata('SubMachine'),'Booster')
+    error('Load Booster first');
+end
+
+m1   =[1.1931   -0.1543 ; -0.2537    1.2602 ] ; 
+acqf=200.*18.48/2*sin(18.48*.020);
+acqd=150.*18.48/2*sin(18.48*.020);
+r =110/2750;
+% dtune = M *  QFoffset  QDoffset  QFcur  QDcur  delayQF  delay QD  (A et seconde)
+M = [m1(1,1) m1(1,2)  r*m1(1,1) r*m1(1,2) -acqf*m1(1,1) -acqd*m1(1,2); ...
+     m1(2,1) m1(2,2)  r*m1(2,1) r*m1(2,2) -acqf*m1(2,1) -acqd*m1(2,2); ...
+     r*m1(1,1) r*m1(1,2) r*m1(1,1) r*m1(1,2) 0         0           ; ...
+     r*m1(2,1) r*m1(2,2) r*m1(2,1) r*m1(2,2) 0         0           ; ...
+     m1(1,1) m1(1,2)  r*m1(1,1) r*m1(1,2) acqf*m1(1,1) acqd*m1(1,2); ...
+     m1(2,1) m1(2,2)  r*m1(2,1) r*m1(2,2) acqf*m1(2,1) acqd*m1(2,2)];
+ 
+handles.M=M; 
+% alim
+    boo.DIPcurrent=readattribute('BOO/AE/D.1/current'        ,'Setpoint');
+    boo.DIPoffset =readattribute('BOO/AE/D.1/waveformOffset' ,'Setpoint');
+    boo.QFcurrent=readattribute('BOO/AE/QF/current'          ,'Setpoint');
+    boo.QFpoffset =readattribute('BOO/AE/QF/waveformOffset'  ,'Setpoint');
+    boo.QDcurrent=readattribute('BOO/AE/QD/current'          ,'Setpoint');
+    boo.QDpoffset =readattribute('BOO/AE/QD/waveformOffset'  ,'Setpoint');
+    boo.SFcurrent=readattribute('BOO/AE/SF/current'          ,'Setpoint');
+    boo.SFpoffset =readattribute('BOO/AE/SF/waveformOffset'  ,'Setpoint');
+    boo.SDcurrent=readattribute('BOO/AE/SD/current'          ,'Setpoint');
+    boo.SDpoffset =readattribute('BOO/AE/SD/waveformOffset'  ,'Setpoint');
+% synchro
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay');
+    boo.DIPdelay=temp.value(1);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay');
+    boo.QFdelay=temp.value(1);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay');
+    boo.QDdelay=temp.value(1);
+handles.boo=boo;
+
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% UIWAIT makes ACtune wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = ACtune_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function x_inj_Callback(hObject, eventdata, handles)
+% hObject    handle to x_inj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of x_inj as text
+%        str2double(get(hObject,'String')) returns contents of x_inj as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function x_inj_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to x_inj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function x_ext_Callback(hObject, eventdata, handles)
+% hObject    handle to x_ext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of x_ext as text
+%        str2double(get(hObject,'String')) returns contents of x_ext as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function x_ext_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to x_ext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function x_retour_Callback(hObject, eventdata, handles)
+% hObject    handle to x_retour (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of x_retour as text
+%        str2double(get(hObject,'String')) returns contents of x_retour as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function x_retour_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to x_retour (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_x_inj_plus.
+function button_x_inj_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_inj_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tune =str2double(get(handles.x_inj,'String'));
+tune=tune+0.05;
+set(handles.x_inj,'String',num2str(tune));
+
+% --- Executes on button press in button_x_ext_plus.
+function button_x_ext_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_ext_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tune =str2double(get(handles.x_ext,'String'));
+tune=tune+0.05;
+set(handles.x_ext,'String',num2str(tune));
+
+% --- Executes on button press in button_x_retour_plus.
+function button_x_retour_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_retour_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.x_retour,'String'));
+tune=tune+0.05;
+set(handles.x_retour,'String',num2str(tune));
+
+% --- Executes on button press in button_x_inj_moins.
+function button_x_inj_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_inj_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.x_inj,'String'));
+tune=tune-0.05;
+set(handles.x_inj,'String',num2str(tune));
+
+% --- Executes on button press in button_x_ext_moins.
+function button_x_ext_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_ext_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.x_ext,'String'));
+tune=tune-0.05;
+set(handles.x_ext,'String',num2str(tune));
+
+% --- Executes on button press in button_x_retour_moins.
+function button_x_retour_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_retour_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tune =str2double(get(handles.x_retour,'String'));
+tune=tune-0.05;
+set(handles.x_retour,'String',num2str(tune));
+
+
+% --- Executes on button press in button_x_plus.
+function button_x_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tune =str2double(get(handles.x_inj,'String'));
+tune=tune+0.05;
+set(handles.x_inj,'String',num2str(tune));
+tune =str2double(get(handles.x_ext,'String'));
+tune=tune+0.05;
+set(handles.x_ext,'String',num2str(tune));
+tune =str2double(get(handles.x_retour,'String'));
+tune=tune+0.05;
+set(handles.x_retour,'String',num2str(tune));
+
+% --- Executes on button press in button_x_zero.
+function button_x_zero_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_zero (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tune=0;
+set(handles.x_inj,'String',num2str(tune));
+set(handles.x_ext,'String',num2str(tune));
+set(handles.x_retour,'String',num2str(tune));
+
+% --- Executes on button press in button_x_moins.
+function button_x_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_x_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tune =str2double(get(handles.x_inj,'String'));
+tune=tune-0.05;
+set(handles.x_inj,'String',num2str(tune));
+tune =str2double(get(handles.x_ext,'String'));
+tune=tune-0.05;
+set(handles.x_ext,'String',num2str(tune));
+tune =str2double(get(handles.x_retour,'String'));
+tune=tune-0.05;
+set(handles.x_retour,'String',num2str(tune));
+
+
+
+function z_inj_Callback(hObject, eventdata, handles)
+% hObject    handle to z_inj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of z_inj as text
+%        str2double(get(hObject,'String')) returns contents of z_inj as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function z_inj_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to z_inj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function z_ext_Callback(hObject, eventdata, handles)
+% hObject    handle to z_ext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of z_ext as text
+%        str2double(get(hObject,'String')) returns contents of z_ext as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function z_ext_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to z_ext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_z_inj_plus.
+function button_z_inj_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_inj_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.z_inj,'String'));
+tune=tune+0.05;
+set(handles.z_inj,'String',num2str(tune));
+
+% --- Executes on button press in button_z_ext_plus.
+function button_z_ext_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_ext_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.z_ext,'String'));
+tune=tune+0.05;
+set(handles.z_ext,'String',num2str(tune));
+
+
+% --- Executes on button press in pushbutton15.
+function pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in button_z_inj_moins.
+function button_z_inj_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_inj_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.z_inj,'String'));
+tune=tune-0.05;
+set(handles.z_inj,'String',num2str(tune));
+
+% --- Executes on button press in button_z_ext_moins.
+function button_z_ext_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_ext_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.z_ext,'String'));
+tune=tune-0.05;
+set(handles.z_ext,'String',num2str(tune));
+
+% --- Executes on button press in button_z_retour_moins.
+function button_z_retour_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_retour_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.z_retour,'String'));
+tune=tune-0.05;
+set(handles.z_retour,'String',num2str(tune));
+
+function z_retour_Callback(hObject, eventdata, handles)
+% hObject    handle to z_retour (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of z_retour as text
+%        str2double(get(hObject,'String')) returns contents of z_retour as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function z_retour_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to z_retour (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_z_plus.
+function button_z_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.z_inj,'String'));
+tune=tune+0.05;
+set(handles.z_inj,'String',num2str(tune));
+tune =str2double(get(handles.z_ext,'String'));
+tune=tune+0.05;
+set(handles.z_ext,'String',num2str(tune));
+tune =str2double(get(handles.z_retour,'String'));
+tune=tune+0.05;
+set(handles.z_retour,'String',num2str(tune));
+
+% --- Executes on button press in button_z_zero.
+function button_z_zero_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_zero (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tune=0;
+set(handles.z_inj,'String',num2str(tune));
+set(handles.z_ext,'String',num2str(tune));
+set(handles.z_retour,'String',num2str(tune));
+
+% --- Executes on button press in button_z_moins.
+function button_z_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.z_inj,'String'));
+tune=tune-0.05;
+set(handles.z_inj,'String',num2str(tune));
+tune =str2double(get(handles.z_ext,'String'));
+tune=tune-0.05;
+set(handles.z_ext,'String',num2str(tune));
+tune =str2double(get(handles.z_retour,'String'));
+tune=tune-0.05;
+set(handles.z_retour,'String',num2str(tune));
+
+% --- Executes on button press in button_z_retour_plus.
+function button_z_retour_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_z_retour_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tune =str2double(get(handles.z_retour,'String'));
+tune=tune+0.05;
+set(handles.z_retour,'String',num2str(tune));
+
+
+
+% --- Executes on button press in button_apply.
+function button_apply_Callback(hObject, eventdata, handles)
+% hObject    handle to button_apply (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+xinj=str2double(get(handles.x_inj,'String')); 
+xext=str2double(get(handles.x_ext,'String')) ;
+xretour=str2double(get(handles.x_retour,'String')) ;
+zinj=str2double(get(handles.z_inj,'String')); 
+zext=str2double(get(handles.z_ext,'String')) ;
+zretour=str2double(get(handles.z_retour,'String')) ;
+
+tunex=[ xinj         xext       xretour];
+tunez=[ zinj         zext       zretour];
+%              x       z
+dtune_inj = [tunex(1)   tunez(1)];         % dnu H  et dnu V  injection   110 MeV
+dtune_ext = [tunex(2)   tunez(2)];         % dnu H  et dnu V  extraction 2750 MeV
+dtune_dow = [tunex(3)   tunez(3)];         % dnu H  et dnu V  retour      110 MeV
+dtune     = [dtune_inj dtune_ext dtune_dow];
+%
+M=handles.M;sol=inv(M)*dtune';
+
+fprintf('  ************************** \n')
+fprintf('   OFFSET  QF = %g  A \n',sol(1) )
+fprintf('   OFFSET  QD = %g  A \n',sol(2) )
+fprintf('   CURRENT QF = %g  A \n',sol(3) )
+fprintf('   CURRENT QD = %g  A \n',sol(4) )
+fprintf('   DELAY   QF = %g  Âµs \n',sol(5)*1e+06 )
+fprintf('   DELAY   QD = %g  Âµs \n ',sol(6)*1e+06 )
+
+% read setpoint values
+button_load_setpoint_Callback(hObject, eventdata, handles);
+boo=handles.boo;
+
+% add delta current on the solution
+if (sol(1)<50) & (sol(2)<50)
+    
+    boo.QFpoffset=boo.QFpoffset + sol(1);
+    boo.QDpoffset=boo.QDpoffset + sol(2);
+    boo.QFcurrent=boo.QFcurrent + sol(3);
+    boo.QDcurrent=boo.QDcurrent + sol(4);
+    
+    boo.QFdelay  = boo.QFdelay  + sol(5)*1e+06;
+    boo.QDdelay  = boo.QDdelay  + sol(6)*1e+06;
+    handles.boo=boo;
+    guidata(hObject, handles);
+    
+end
+
+% apply solution
+button_load_file_Callback(hObject, eventdata, handles);
+
+
+ok=1;
+
+if (ok==1)
+
+
+
+
+% model pour affichage
+Grf = 0.0465 +0.015;            % gradient remanent  T/m 
+Grd = 0.0490 +0.0093;           % gradient remanent  T/m
+af  = 0.0520 ;                  % G/I   T/m/A
+ad  = 0.0517;
+Br = 0.0020 ;                   % Champ remanent T
+b  = 0.0013516 ;                % B/I  T/A
+rho=12.3759 ;                   % rayon dipole
+brhom = 9.17 ;  
+deltaf=-0.00005 ;
+deltad=-0.00005 ;
+
+load 'current_ttf' time Df1 Df2 Dqf Dqd;
+n=length(Df1);
+dt=0.0001/6; %step temp 16 ï¿œs
+
+
+
+%% model
+Iqf0 = boo.QFcurrent;    Iqfc = boo.QFpoffset;          
+Iqd0 = boo.QDcurrent;    Iqdc = boo.QDpoffset ;           
+Id0  = boo.DIPcurrent;   Ibc  = boo.DIPoffset ; 
+delf=deltaf + (boo.DIPdelay-boo.QFdelay)*1e-06 ; % 0.0002 -sol(5)         % avance si positif
+deld=deltad + (boo.DIPdelay-boo.QDdelay)*1e-06 ; % 0.0001 -sol(6)
+
+
+%courant en manipe 09-04-06
+% Iqf0 =201.65 +sol(3);    Iqfc = -0.617 +sol(1);          
+% Iqd0 =162.43 +sol(4);   Iqdc = -0.700  +sol(2) ;           
+% Id0  =545;       Ibc  = -0.01 ; 
+% delf=deltaf + 0.0002 -sol(5) ;             % avance si positif
+% deld=deltad + 0.0001 -sol(6);
+
+
+
+
+% calcul dï¿œcalage table pour dï¿œlai
+clear qf qd
+k1=int16(delf/dt);
+if (k1>0)
+   qf=[Dqf(k1+1:n); Dqf(1:k1)];
+else
+   qf=[Dqf(n+k1:n); Dqf(1:n+k1-1)];
+end
+k1=int16(deld/dt);
+if (k1>0)
+   qd=[Dqd(k1+1:n); Dqd(1:k1)];
+else
+   qd=[Dqd(n+k1:n); Dqd(1:n+k1-1)];
+end
+Dqf1=qf;
+Dqd1=qd;
+
+clear Id Iqf Iqd
+Id =Id0*(Df1+Df2)*(-28)/553.6 +Ibc;
+Iqf=Iqf0*Dqf1*(-25)/201.3 + Iqfc;
+Iqd=Iqd0*Dqd1*(-25)/151.04 + Iqdc;
+
+clear pf pd p0 rf rd
+pf=Grf + af*(Iqf);
+pd=Grd + ad*(Iqd);
+p0=Br +  b.*(Id);
+rf=pf./(p0*rho);
+rd=pd./(p0*rho);
+
+table=(31 +  [0 10 20 30 100 148 200 270 280 293 ]);
+
+ntable=int16(table*1e-03/dt);
+
+
+global THERING
+clear dnux dnuz tt
+%switch2sim
+QFI = findcells(THERING,'FamName','QPF');
+QDI = findcells(THERING,'FamName','QPD');
+i=0;
+for k=1:length(table)
+   n1=ntable(k);
+   KQF=rf(n1);
+   KQD=-rd(n1);
+   THERING = setcellstruct(THERING,'K',QFI,KQF);
+   THERING = setcellstruct(THERING,'K',QDI,KQD);
+   THERING = setcellstruct(THERING,'PolynomB',QFI, KQF,2);
+   THERING = setcellstruct(THERING,'PolynomB',QDI, KQD,2);
+   [TD, tune] = twissring(THERING,0,1:(length(THERING)+1));
+   dnux(k)=tune(1);dnuz(k)=tune(2);
+end
+n1=ntable(1);
+n2=ntable(6);          %                 ntable(length(ntable));
+fprintf('\n');
+fprintf(' Tune Ã  l injection        %g   %g: \n', dnux(1), dnuz(1))
+fprintf(' Courant Ã  l injection     %g   %g  %g: \n', (Id(n1)),(Iqf(n1)),(Iqd(n1)))
+fprintf(' Courant Ã  la redescente   %g   %g  %g: \n', (Id(n2)),(Iqf(n2)),(Iqd(n2)))
+fprintf('\n');fprintf('\n');
+
+axes(handles.axes1)
+plot(table,dnux-6, '-or',table , dnuz-4,'-ob');
+legend('X','Z')
+xlim([0 340]); ylim([0.5 1]);
+xlabel('Time (ms)'); ylabel('Tune');
+grid on
+
+end
+
+function comment_Callback(hObject, eventdata, handles)
+% hObject    handle to comment (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of comment as text
+%        str2double(get(hObject,'String')) returns contents of comment as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function comment_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to comment (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_save.
+function button_save_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+legend=get(handles.comment,'String');
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+save_param(legend)
+cd(pwdold);
+
+% --- Executes on button press in button_load_file.
+function button_load_file_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+boo=handles.boo;
+boo
+tout=0.5;
+%Alim
+    writeattribute('BOO/AE/dipole/current',boo.DIPcurrent);
+    writeattribute('BOO/AE/QF/current',boo.QFcurrent);
+    writeattribute('BOO/AE/QD/current',boo.QDcurrent);
+    writeattribute('BOO/AE/SF/current',boo.SFcurrent);
+    writeattribute('BOO/AE/SD/current',boo.SDcurrent);
+    writeattribute('BOO/AE/dipole/waveformOffset',boo.DIPoffset);
+    writeattribute('BOO/AE/QF/waveformOffset',boo.QFpoffset);
+    writeattribute('BOO/AE/QD/waveformOffset',boo.QDpoffset);
+    writeattribute('BOO/AE/SF/waveformOffset',boo.SFpoffset);
+    writeattribute('BOO/AE/SD/waveformOffset',boo.SDpoffset);
+%timing
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay',boo.DIPdelay);pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay',boo.QFdelay);pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay',boo.QDdelay);pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay',boo.DIPdelay);pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay',boo.DIPdelay);pause(tout);
+
+
+% --- Executes on button press in button_openfile.
+function button_openfile_Callback(hObject, eventdata, handles)
+% hObject    handle to button_openfile (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+[FileName,PathName] = uigetfile('*.mat','Select the setpoint file');
+load(FileName, 'boo');
+handles.boo=boo;
+set(handles.comment,'String',boo.comment);
+guidata(hObject, handles);
+cd(pwdold);
+
+% --- Executes on button press in button_load_setpoint.
+function button_load_setpoint_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_setpoint (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% alim
+    boo.DIPcurrent=readattribute('BOO/AE/D.1/current'        ,'Setpoint');
+    boo.DIPoffset =readattribute('BOO/AE/D.1/waveformOffset' ,'Setpoint');
+    boo.QFcurrent=readattribute('BOO/AE/QF/current'          ,'Setpoint');
+    boo.QFpoffset =readattribute('BOO/AE/QF/waveformOffset'  ,'Setpoint');
+    boo.QDcurrent=readattribute('BOO/AE/QD/current'          ,'Setpoint');
+    boo.QDpoffset =readattribute('BOO/AE/QD/waveformOffset'  ,'Setpoint');
+    boo.SFcurrent=readattribute('BOO/AE/SF/current'          ,'Setpoint');
+    boo.SFpoffset =readattribute('BOO/AE/SF/waveformOffset'  ,'Setpoint');
+    boo.SDcurrent=readattribute('BOO/AE/SD/current'          ,'Setpoint');
+    boo.SDpoffset =readattribute('BOO/AE/SD/waveformOffset'  ,'Setpoint');
+% synchro
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay');
+    boo.DIPdelay=temp.value(1);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay');
+    boo.QFdelay=temp.value(1);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay');
+    boo.QDdelay=temp.value(1);
+    
+handles.boo=boo;
+boo
+guidata(hObject, handles);
Index: /trunk/machine/SOLEIL/Booster/applications/ATtune.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/ATtune.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/ATtune.m	(revision 17)
@@ -0,0 +1,60 @@
+%%
+switch2sim
+IF =[7.59 7.52 7.52 7.45 7.35 7.35 7.35 7.27 7.09 7.08 7.03 6.98 6.92  ];
+ID =[5.82 5.82 5.73 5.73 5.69 5.66 5.59 5.49 5.43 5.32 5.27 5.21 5.14  ];
+nux0=[6.88 6.80 6.82 6.75 6.63 6.63 6.65 6.57 6.36 6.37 6.34 6.29 6.24  ];
+nuz0=[4.77 4.77 4.69 4.75 4.67 4.64 4.54 4.53 4.44 4.32 4.27 4.22 4.14  ];
+cas=1:length(IF);
+
+brho=0.3679; %(ET=110.3)
+
+QFI = findcells(THERING,'FamName','QPF');
+QDI = findcells(THERING,'FamName','QPD');
+for i=1:length(IF)
+
+    GF=0.0465 + 0.0516*IF(i); KF=GF/brho;
+    GD=0.0485 + 0.0518*ID(i); KD=-GD/brho;
+    THERING = setcellstruct(THERING,'K',QFI,KF);
+    THERING = setcellstruct(THERING,'K',QDI,KD);
+    THERING = setcellstruct(THERING,'PolynomB',QFI, KF,2);
+    THERING = setcellstruct(THERING,'PolynomB',QDI, KD,2);
+    tune=gettune;nux(i)=tune(1);nuz(i)=tune(2);
+    
+end
+
+figure(1)
+subplot(2,1,1)
+plot(cas,nux0,'ok',cas,nux,'ob')
+ylim([6 7]);ylabel('nux');xlabel('case');
+legend('Mesures','Model')
+subplot(2,1,2)
+plot(cas,nuz0,'ok',cas,nuz,'ob')
+ylim([4 5]);ylabel('nuz');xlabel('case');
+legend('Mesures','Model')
+
+
+resx11=[6 7]; resy11=[4 5];
+resx12=[6.5 6.5]; resy12=[4 5];
+resx13=[6 7]; resy13=[4.5 4.5];
+resx31=[6.667 6.667]; resy31=[4 5];
+resx32=[6 7]; resy32=[4.667 4.667];
+resx33=[6 8]; resy33=[5 4];
+resx41=[6 7]; resy41=[4.5 5];
+resx42=[6.5 7]; resy42=[4 5];
+figure(2)
+plot( resx11 , resy11 , '-k' ,... 
+    resx12 , resy12 , '-k' ,... 
+    resx13 , resy13 , '-k' ,... 
+    resx31 , resy31 , '-r' ,...
+    resx32 , resy32 , '-r', ...
+    resx33 , resy33 , '-r', ...
+    resx41 , resy41 , '-b', ...
+    resx42 , resy42 , '-b')
+xlim([6 7.]);ylim([4 5.]);
+hold on
+plot( nux0,nuz0,'ob','MarkerFaceColor','b' )
+plot( nux,nuz,'or','MarkerFaceColor','r' )
+hold off
+
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/NombreOnde_AL.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/NombreOnde_AL.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/NombreOnde_AL.m	(revision 17)
@@ -0,0 +1,720 @@
+function varargout = NombreOnde_AL(varargin)
+% NOMBREONDE_AL M-file for NombreOnde_AL.fig
+%      NOMBREONDE_AL, by itself, creates a new NOMBREONDE_AL or raises the existing
+%      singleton*.
+%
+%      H = NOMBREONDE_AL returns the handle to a new NOMBREONDE_AL or the handle to
+%      the existing singleton*.
+%
+%      NOMBREONDE_AL('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in NOMBREONDE_AL.M with the given input arguments.
+%
+%      NOMBREONDE_AL('Property','Value',...) creates a new NOMBREONDE_AL or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before NombreOnde_AL_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to NombreOnde_AL_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help NombreOnde_AL
+
+% Last Modified by GUIDE v2.5 14-Dec-2006 05:47:37
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @NombreOnde_AL_OpeningFcn, ...
+                   'gui_OutputFcn',  @NombreOnde_AL_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before NombreOnde_AL is made visible.
+function NombreOnde_AL_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to NombreOnde_AL (see VARARGIN)
+
+if ~strcmp(getfamilydata('SubMachine'),'Booster')
+    error('Load Bosster first');
+end
+
+% Choose default command line output for NombreOnde_AL
+handles.Stop_NO = 0;
+handles.output = hObject;
+handles.X_NO   = hObject;
+handles.Z_NO   = hObject;
+handles.X_Pos  = hObject;
+handles.Z_Pos  = hObject;
+%handles.Q=hObject;
+handles.Stop_var=hObject;
+%handles.PQfft=hObject;
+handles.PXfft = hObject;
+handles.PZfft = hObject;
+
+setappdata(handles.figure1, 'hplot1', 0);
+setappdata(handles.figure1, 'hplot2', 0);
+setappdata(handles.figure1, 'hplot3', 0);
+setappdata(handles.figure1, 'hplot4', 0);
+setappdata(handles.figure1, 'hplot5', 0);
+setappdata(handles.figure1, 'hlegend1', 0);
+setappdata(handles.figure1, 'hlegend2', 0);
+
+% Update handles structure
+guidata(hObject, handles);
+
+cla(handles.Onde_X);
+cla(handles.Onde_Z);
+cla(handles.Position_X);
+cla(handles.Position_Z);
+%cla(handles.DCCT);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = NombreOnde_AL_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+function dev_name_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to dev_name_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of dev_name_NO as text
+%        str2double(get(hObject,'String')) returns contents of dev_name_NO as a double
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+
+if val_dev ~=1
+    tango_set_timeout(dev{val_dev},30000);
+    dec     = tango_read_attribute2(dev{val_dev},'DDDecimationFactor');
+    set(handles.Current_mode_NO,'String',dec.value(1));
+
+    Nvalues = tango_read_attribute2(dev{val_dev},'DDBufferSize');
+    set(handles.Nsamples_NO,'String',num2str(Nvalues.value(1)));
+end
+
+% --- Executes during object creation, after setting all properties.
+function dev_name_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dev_name_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function Nsamples_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to profondeur_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of profondeur_NO as text
+%        str2double(get(hObject,'String')) returns contents of profondeur_NO as a double
+Nvaleurs = int32(str2num(get(handles.Nsamples_NO,'String')));
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+
+tango_write_attribute2(dev{val_dev},'DDBufferSize',Nvaleurs);
+
+% --- Executes during object creation, after setting all properties.
+function Nsamples_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to profondeur_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on selection change in Change_mode_NO.
+function Change_mode_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Change_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Change_mode_NO contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Change_mode_NO
+val     = get(handles.Change_mode_NO,'Value');
+dev     = get(handles.dev_name_NO,'String');
+val_dev = get(handles.dev_name_NO,'value');
+
+switch val
+    case 1
+        tango_write_attribute2(dev{val_dev},'Mode','MODE_FT') 
+    case 2
+        tango_write_attribute2(dev{val_dev},'Mode','MODE_TT') 
+    case 3
+         tango_write_attribute2(dev{val_dev},'Mode','MODE_BN') 
+         set(handles.Current_mode_NO,'String','Boo Normal');
+         set(handles.Nsamples_NO,'string',num2str(10169));
+end;
+
+% Read mod and update GUI
+mode = tango_read_attribute2(dev{val_dev},'Mode');
+set(handles.Current_mode_NO,'String',mode.value);
+
+% --- Executes during object creation, after setting all properties.
+function Change_mode_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Change_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function Current_mode_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Current_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Current_mode_NO as text
+%        str2double(get(hObject,'String')) returns contents of Current_mode_NO as a double
+Nvaleurs = uint16(str2double(get(hObject,'String')));
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+
+tango_write_attribute2(dev{val_dev},'DDDecimationFactor',Nvaleurs);
+
+% --- Executes during object creation, after setting all properties.
+function Current_mode_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Current_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on button press in pushbutton14.
+function Generate_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+val_dev1 = get(handles.dev_name_NO,'value');
+val_dev2 = get(handles.dev_name_Pos,'value');
+
+if val_dev1 == 1 || val_dev2 == 1
+    warndlg('Select BPMs first !');
+    return;
+end
+
+valeur  = get(handles.Aquisition_continue,'Value');
+
+if valeur == 1
+        T=timer('TimerFcn',{@Timer_NO_Callback,hObject, eventdata,handles},'ExecutionMode','fixedSpacing','Period',1);    
+        setappdata(handles.figure1,'Stop_NO',0);
+        start(T);
+else
+    handles = getandplotdata(hObject, eventdata, handles);
+end
+    
+guidata(hObject,handles);
+
+
+function Timer_NO_Callback(obj,event,hObject, eventdata, handles)
+
+handles = getandplotdata(hObject, eventdata, handles);
+
+Stop_NO = getappdata(handles.figure1,'Stop_NO');
+if Stop_NO == 1
+    stop(obj);
+    delete(obj);
+    return
+end
+
+
+function handles = getandplotdata(hObject, eventdata, handles)
+
+%% First panel
+dev     = get(handles.dev_name_NO,'String');
+val_dev = get(handles.dev_name_NO,'value');
+
+Nsamples=int32(str2num(get(handles.Nsamples_NO,'String')));
+
+Attr_name_list={'XPosDD'};
+argout = tango_read_attributes2(dev{val_dev},Attr_name_list);
+
+handles.X = argout(1).value;
+guidata(hObject, handles);
+
+istart   = str2num(get(handles.Start_NO,'String'));
+nbpoints = str2num(get(handles.profondeur_NO,'String'));
+iend     = istart + nbpoints-1;
+Xval(1:nbpoints) = handles.X(istart:iend);
+
+Xfft     = fft(Xval,nbpoints);
+PXfft    = Xfft.* conj(Xfft) / nbpoints;
+
+PXfft([1 2 nbpoints]) = 0; %% ???
+
+% skip points ????
+n1 = nbpoints/10
+n2 = nbpoints-n1
+%%
+frev = 1.91414; % MHz
+
+mx    = max(PXfft(n1:n2));
+nux   = (find(PXfft==max(PXfft(n1:n2)))-1)/ nbpoints;
+fnux  = (1-nux)*frev;
+f352x = (nux)*frev + 352.183; % Frf
+
+f = (1:nbpoints)/nbpoints;
+
+hplot1   = getappdata(handles.figure1, 'hplot1');
+hlegend1 = getappdata(handles.figure1, 'hlegend1');
+legendstr1 = ['nux=', num2str(1-nux(1)),'   fexc=',num2str(fnux(1)),'   fdetec=',num2str(f352x(1))];
+
+if hplot1 == 0
+    hplot1 = plot(handles.Onde_X,f,PXfft(1:(nbpoints)));
+    hlegend1 = legend(handles.Onde_X,legendstr1);
+    set(hlegend1,'FontSize',20);
+    ylabel(handles.Onde_X,'X')
+    set(handles.Onde_X,'XTick',[]);
+    grid(handles.Onde_X, 'on');
+else
+    set(hplot1,'XData', f, 'YData', PXfft(1:(nbpoints)));
+    set(hlegend1,'String', legendstr1);
+end
+      
+set(handles.Onde_X,'YLim',[0 1.2*mx]);
+
+handles.PXfft = PXfft;
+
+X_display=0;
+X_display=handles.X;
+X_display=X_display(2:size(X_display,2)); 
+
+Echelle = str2num(get(handles.Echelle,'String'));
+
+hplot3   = getappdata(handles.figure1, 'hplot3');
+
+if hplot3 == 0
+    hplot3 = plot(handles.Position_X, X_display);
+    ylabel(handles.Position_X, 'mm');
+    grid(handles.Position_X, 'on')
+else
+    set(hplot3, 'YData', X_display);
+end
+
+set(handles.Position_X,'YLim',[-5 5]);
+set(handles.Position_X,'XLim',[0 Echelle]);
+set(handles.Position_X,'XTick',[]);
+guidata(hObject, handles);
+
+%% Second panel
+dev      = get(handles.dev_name_Pos,'String');
+val_dev  = get(handles.dev_name_Pos,'value');
+Nsamples = int32(str2num(get(handles.Nsamples_Pos,'String')));
+Attr_name_list={'ZPosDD'};
+argout   = tango_read_attributes2(dev{val_dev},Attr_name_list);
+handles.Z=argout(1).value;
+
+Zval(1:nbpoints) = handles.Z(istart:iend);
+
+Zfft     = fft(Zval,nbpoints);
+PZfft    = Zfft.* conj(Zfft) / nbpoints ;
+PZfft(1) = 0;
+PZfft(2) = 0;
+PZfft(nbpoints) = 0;
+mz       = max(PZfft(n1:n2));
+nuz      = (find(PZfft==max(PZfft(n1:n2)))-1)/ nbpoints;
+fnuz     = (1-nuz(1))*1.91414;
+f352z    = (nuz)*1.91414+352.183;
+
+hplot2     = getappdata(handles.figure1, 'hplot2');
+hlegend2   = getappdata(handles.figure1, 'hlegend2');
+legendstr2 = ['nuz=', num2str(1-nuz(1)),'  fexc=',num2str(fnuz(1)),'   fdetec=',num2str(f352z(1))];
+
+if hplot2 == 0
+    hplot2 = plot(handles.Onde_Z,f,PZfft(1:(nbpoints)))
+    hlegend2 = legend(handles.Onde_Z,legendstr2);
+    set(hlegend2,'FontSize',20);
+    ylabel(handles.Onde_Z,'Z');
+    xlabel(handles.Onde_Z,'Tune');
+    grid(handles.Onde_Z, 'on');
+else
+    set(hplot2,'XData', f, 'YData', PZfft(1:(nbpoints)));
+    set(hlegend2,'String', legendstr2);
+end
+
+set(handles.Onde_Z,'YLim',[0 1.2*mz]);
+    
+Z_display=0;
+Z_display=handles.Z;
+Z_display=Z_display(2:size(Z_display,2)); 
+
+handles.PZfft=PZfft;
+
+hplot4   = getappdata(handles.figure1, 'hplot4');
+
+if hplot4 == 0
+    hplot4 = plot(handles.Position_Z, Z_display);
+    ylabel(handles.Position_Z, 'mm');
+    xlabel(handles.Position_Z, 'Turn number')
+    grid(handles.Position_Z, 'on')
+else
+    set(hplot4, 'YData', Z_display);
+end
+
+set(handles.Position_Z,'YLim',[-5 5]);
+set(handles.Position_Z,'XLim',[0 Echelle]);
+
+
+
+
+setappdata(handles.figure1, 'hplot1', hplot1);
+setappdata(handles.figure1, 'hplot2', hplot2);
+setappdata(handles.figure1, 'hplot3', hplot3);
+setappdata(handles.figure1, 'hplot4', hplot4);
+setappdata(handles.figure1, 'hlegend1', hlegend1);
+setappdata(handles.figure1, 'hlegend2', hlegend2);
+
+guidata(hObject, handles);
+
+
+% --- Executes on button press in Stop.
+function Stop_Callback(hObject, eventdata, handles)
+% hObject    handle to Stop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+setappdata(handles.figure1,'Stop_NO',1);
+disp('CONTINUOUS LOOP STOPPED')
+
+
+% --- Executes on button press in Aquisition_continue.
+function Aquisition_continue_Callback(hObject, eventdata, handles)
+% hObject    handle to Aquisition_continue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Aquisition_continue
+
+val = get(hObject,'Value');
+
+if val
+    setappdata(handles.figure1,'Stop_NO',0);
+else
+    setappdata(handles.figure1,'Stop_NO',1);
+end
+
+function Filename_Callback(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Filename as text
+%        str2double(get(hObject,'String')) returns contents of Filename as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Filename_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_save.
+function pushbutton_save_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_save (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% global X Z Q PXfft PQfft PZfft;
+
+Nsamples = str2num(get(handles.Nsamples_NO,'String'));
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+mode     = tango_read_attribute2(dev{val_dev},'Mode');
+filename = get(handles.Filename,'String')
+X        = handles.X;
+Z        = handles.Z;
+%Q=handles.Q;
+PXfft   = handles.PXfft;
+PZfft   = handles.PZfft;
+
+% Saving data
+dirname = getfamilydata('Directory','TurnByTurnTune');
+pwd_old = pwd;
+cd(dirname);
+
+if strcmp(filename, 'Filename');
+    filename = tune;
+end
+
+filename = appendtimestamp(filename);
+save(filename,'Nsamples','mode','X','Z','PXfft','PZfft');
+cd(pwd_old);
+
+
+% --- Executes on button press in Detection.
+function Detection_Callback(hObject, eventdata, handles)
+% hObject    handle to Detection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Detection
+
+function Start_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Start_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Start_NO as text
+%        str2double(get(hObject,'String')) returns contents of Start_NO as a double
+
+% --- Executes during object creation, after setting all properties.
+function Start_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Start_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function profondeur_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Filename as text
+%        str2double(get(hObject,'String')) returns contents of Filename as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function profondeur_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on selection change in dev_name_Pos.
+function dev_name_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to dev_name_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns dev_name_Pos contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from dev_name_Pos
+dev     = get(handles.dev_name_Pos,'String');
+val_dev = get(handles.dev_name_Pos,'value');
+
+if val_dev ~=1
+    tango_set_timeout(dev{val_dev},30000);
+    dec     = tango_read_attribute2(dev{val_dev},'DDDecimationFactor');
+    set(handles.Current_mode_Pos,'String',dec.value(1));
+
+    Nvalues  = tango_read_attribute2(dev{val_dev},'DDBufferSize');
+    set(handles.Nsamples_Pos,'String',num2str(Nvalues.value(1)));
+end
+
+% --- Executes during object creation, after setting all properties.
+function dev_name_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dev_name_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit19 as text
+%        str2double(get(hObject,'String')) returns contents of edit19 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Echelle_Callback(hObject, eventdata, handles)
+% hObject    handle to Echelle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Echelle as text
+%        str2double(get(hObject,'String')) returns contents of Echelle as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Echelle_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Echelle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in Change_mode_Pos.
+function Change_mode_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Change_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Change_mode_Pos contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Change_mode_Pos
+val     = get(handles.Change_mode_Pos,'Value')
+dev     = get(handles.dev_name_Pos,'String')
+val_dev = get(handles.dev_name_Pos,'value')
+
+switch val
+    case 1
+        tango_write_attribute(dev{val_dev},'Mode','MODE_FT') 
+        %test_erreur_tango;
+    case 2
+        tango_write_attribute(dev{val_dev},'Mode','MODE_TT') 
+        %test_erreur_tango;
+    case 3
+         tango_write_attribute(dev{val_dev},'Mode','MODE_BN') 
+         set(handles.Current_mode_NO,'String','Boo Normal');
+         set(handles.Nsamples_NO,'string',num2str(10169));
+end;
+mode = tango_read_attribute2(dev{val_dev},'Mode');
+set(handles.Current_mode_Pos,'String',mode.value);
+
+
+% --- Executes during object creation, after setting all properties.
+function Change_mode_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Change_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Current_mode_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Current_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Current_mode_Pos as text
+%        str2double(get(hObject,'String')) returns contents of Current_mode_Pos as a double
+Nvaleurs = uint16(str2double(get(hObject,'String')));
+dev      = get(handles.dev_name_Pos,'String');
+val_dev  = get(handles.dev_name_Pos,'value');
+
+tango_write_attribute2(dev{val_dev},'DDDecimationFactor',Nvaleurs);
+
+% --- Executes during object creation, after setting all properties.
+function Current_mode_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Current_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Nsamples_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Nsamples_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Nsamples_Pos as text
+%        str2double(get(hObject,'String')) returns contents of Nsamples_Pos as a double
+Nvaleurs = int32(str2num(get(handles.Nsamples_Pos,'String')));
+dev      = get(handles.dev_name_Pos,'String');
+val_dev  = get(handles.dev_name_Pos,'value');
+
+tango_write_attribute2(dev{val_dev},'DDBufferSize',Nvaleurs);
+set(handles.Echelle,'String',Nvaleurs); 
+
+% --- Executes during object creation, after setting all properties.
+function Nsamples_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Nsamples_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
Index: /trunk/machine/SOLEIL/Booster/applications/NombreOnde_AL_DCCT.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/NombreOnde_AL_DCCT.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/NombreOnde_AL_DCCT.m	(revision 17)
@@ -0,0 +1,752 @@
+function varargout = NombreOnde_AL_DCCT(varargin)
+% NOMBREONDE_AL_DCCT M-file for NombreOnde_AL_DCCT.fig
+%      NOMBREONDE_AL_DCCT, by itself, creates a new NOMBREONDE_AL_DCCT or raises the existing
+%      singleton*.
+%
+%      H = NOMBREONDE_AL_DCCT returns the handle to a new NOMBREONDE_AL_DCCT or the handle to
+%      the existing singleton*.
+%
+%      NOMBREONDE_AL_DCCT('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in NOMBREONDE_AL_DCCT.M with the given input arguments.
+%
+%      NOMBREONDE_AL_DCCT('Property','Value',...) creates a new NOMBREONDE_AL_DCCT or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before NombreOnde_AL_DCCT_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to NombreOnde_AL_DCCT_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help NombreOnde_AL_DCCT
+
+% Last Modified by GUIDE v2.5 14-Dec-2006 05:47:37
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @NombreOnde_AL_DCCT_OpeningFcn, ...
+                   'gui_OutputFcn',  @NombreOnde_AL_DCCT_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before NombreOnde_AL_DCCT is made visible.
+function NombreOnde_AL_DCCT_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to NombreOnde_AL_DCCT (see VARARGIN)
+
+if ~strcmp(getfamilydata('SubMachine'),'Booster')
+    error('Load Booster first');
+end
+
+% Choose default command line output for NombreOnde_AL_DCCT
+handles.Stop_NO = 0;
+handles.output = hObject;
+handles.X_NO   = hObject;
+handles.Z_NO   = hObject;
+handles.X_Pos  = hObject;
+handles.Z_Pos  = hObject;
+%handles.Q=hObject;
+handles.Stop_var=hObject;
+%handles.PQfft=hObject;
+handles.PXfft = hObject;
+handles.PZfft = hObject;
+
+setappdata(handles.figure1, 'hplot1', 0);
+setappdata(handles.figure1, 'hplot2', 0);
+setappdata(handles.figure1, 'hplot3', 0);
+setappdata(handles.figure1, 'hplot4', 0);
+setappdata(handles.figure1, 'hplot5', 0);
+setappdata(handles.figure1, 'hlegend1', 0);
+setappdata(handles.figure1, 'hlegend2', 0);
+setappdata(handles.figure1, 'hlegend3', 0);
+
+% Update handles structure
+guidata(hObject, handles);
+
+cla(handles.Onde_X);
+cla(handles.Onde_Z);
+cla(handles.Position_X);
+cla(handles.Position_Z);
+cla(handles.DCCT);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = NombreOnde_AL_DCCT_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+function dev_name_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to dev_name_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of dev_name_NO as text
+%        str2double(get(hObject,'String')) returns contents of dev_name_NO as a double
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+
+if val_dev ~=1
+    tango_set_timeout(dev{val_dev},30000);
+    dec     = tango_read_attribute2(dev{val_dev},'DDDecimationFactor');
+    set(handles.Current_mode_NO,'String',dec.value(1));
+
+    Nvalues = tango_read_attribute2(dev{val_dev},'DDBufferSize');
+    set(handles.Nsamples_NO,'String',num2str(Nvalues.value(1)));
+end
+
+% --- Executes during object creation, after setting all properties.
+function dev_name_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dev_name_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function Nsamples_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to profondeur_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of profondeur_NO as text
+%        str2double(get(hObject,'String')) returns contents of profondeur_NO as a double
+Nvaleurs = int32(str2num(get(handles.Nsamples_NO,'String')));
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+
+tango_write_attribute2(dev{val_dev},'DDBufferSize',Nvaleurs);
+
+% --- Executes during object creation, after setting all properties.
+function Nsamples_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to profondeur_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on selection change in Change_mode_NO.
+function Change_mode_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Change_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Change_mode_NO contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Change_mode_NO
+val     = get(handles.Change_mode_NO,'Value');
+dev     = get(handles.dev_name_NO,'String');
+val_dev = get(handles.dev_name_NO,'value');
+
+switch val
+    case 1
+        tango_write_attribute2(dev{val_dev},'Mode','MODE_FT') 
+    case 2
+        tango_write_attribute2(dev{val_dev},'Mode','MODE_TT') 
+    case 3
+         tango_write_attribute2(dev{val_dev},'Mode','MODE_BN') 
+         set(handles.Current_mode_NO,'String','Boo Normal');
+         set(handles.Nsamples_NO,'string',num2str(10169));
+end;
+
+% Read mod and update GUI
+mode = tango_read_attribute2(dev{val_dev},'Mode');
+set(handles.Current_mode_NO,'String',mode.value);
+
+% --- Executes during object creation, after setting all properties.
+function Change_mode_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Change_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function Current_mode_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Current_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Current_mode_NO as text
+%        str2double(get(hObject,'String')) returns contents of Current_mode_NO as a double
+Nvaleurs = uint16(str2double(get(hObject,'String')));
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+
+tango_write_attribute2(dev{val_dev},'DDDecimationFactor',Nvaleurs);
+
+% --- Executes during object creation, after setting all properties.
+function Current_mode_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Current_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on button press in pushbutton14.
+function Generate_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+val_dev1 = get(handles.dev_name_NO,'value');
+val_dev2 = get(handles.dev_name_Pos,'value');
+
+if val_dev1 == 1 || val_dev2 == 1
+    warndlg('Select BPMs first !');
+    return;
+end
+
+valeur  = get(handles.Aquisition_continue,'Value');
+
+if valeur == 1
+        T=timer('TimerFcn',{@Timer_NO_Callback,hObject, eventdata,handles},'ExecutionMode','fixedSpacing','Period',1);   
+        setappdata(handles.figure1,'Stop_NO',0);
+        start(T);
+else
+    handles = getandplotdata(hObject, eventdata, handles);
+end
+    
+guidata(hObject,handles);
+
+
+function Timer_NO_Callback(obj,event,hObject, eventdata, handles)
+
+handles = getandplotdata(hObject, eventdata, handles);
+
+Stop_NO = getappdata(handles.figure1,'Stop_NO');
+if Stop_NO == 1
+    stop(obj);
+    delete(obj);
+    return
+end
+
+
+function handles = getandplotdata(hObject, eventdata, handles)
+
+%% First panel
+dev     = get(handles.dev_name_NO,'String');
+val_dev = get(handles.dev_name_NO,'value');
+
+Nsamples=int32(str2num(get(handles.Nsamples_NO,'String')));
+
+Attr_name_list={'XPosDD'};
+argout = tango_read_attributes2(dev{val_dev},Attr_name_list);
+
+handles.X = argout(1).value;
+guidata(hObject, handles);
+
+istart   = str2num(get(handles.Start_NO,'String'));
+nbpoints = str2num(get(handles.profondeur_NO,'String'));
+iend     = istart + nbpoints-1;
+
+Xval(1:nbpoints) = handles.X(istart:iend);
+
+Xfft     = fft(Xval,nbpoints);
+PXfft    = Xfft.* conj(Xfft) / nbpoints;
+
+PXfft([1 2 nbpoints]) = 0; %% ???
+
+% skip points ????
+n1 = int16(nbpoints/4);
+n2 = int16(nbpoints-n1);
+%%
+frev = 1.91414; % MHz
+
+mx    = max(PXfft(n1:n2));
+nux   = (find(PXfft==max(PXfft(n1:n2)))-1)/ nbpoints;
+fnux  = (1-nux)*frev;
+%fnux  = (nux)*frev;
+f352x = (nux)*frev + 352.183; % Frf
+
+f = (1:nbpoints)/nbpoints;
+
+hplot1   = getappdata(handles.figure1, 'hplot1');
+hlegend1 = getappdata(handles.figure1, 'hlegend1');
+legendstr1 = ['nux=', num2str(1-nux(1)),'   fexc=',num2str(fnux(1)),'   fdetec=',num2str(f352x(1))];
+
+if hplot1 == 0
+    hplot1 = plot(handles.Onde_X,f,PXfft(1:(nbpoints)));
+    hlegend1 = legend(handles.Onde_X,legendstr1);
+    set(hlegend1,'FontSize',20);
+    ylabel(handles.Onde_X,'X')
+    set(handles.Onde_X,'XTickLabel',[]);
+    grid(handles.Onde_X, 'on');
+else
+    set(hplot1,'XData', f, 'YData', PXfft(1:(nbpoints)));
+    set(hlegend1,'String', legendstr1);
+end
+      
+set(handles.Onde_X,'YLim',[0 1.2*mx]);
+
+handles.PXfft = PXfft;
+
+X_display=0;
+X_display=handles.X;
+X_display=X_display(2:size(X_display,2)); 
+
+Echelle = str2num(get(handles.Echelle,'String'));
+
+hplot3   = getappdata(handles.figure1, 'hplot3');
+
+if hplot3 == 0
+    hplot3 = plot(handles.Position_X, X_display);
+    ylabel(handles.Position_X, 'mm');
+    grid(handles.Position_X, 'on')
+else
+    set(hplot3, 'YData', X_display);
+end
+
+set(handles.Position_X,'YLim',[-6 6]);
+set(handles.Position_X,'XLim',[0 Echelle]);
+set(handles.Position_X,'XTickLabel',[]);
+guidata(hObject, handles);
+
+%% Second panel
+dev      = get(handles.dev_name_Pos,'String');
+val_dev  = get(handles.dev_name_Pos,'value');
+Nsamples = int32(str2num(get(handles.Nsamples_Pos,'String')));
+Attr_name_list={'ZPosDD'};
+argout   = tango_read_attributes2(dev{val_dev},Attr_name_list);
+handles.Z=argout(1).value;
+
+Zval(1:nbpoints) = handles.Z(istart:iend);
+
+Zfft     = fft(Zval,nbpoints);
+PZfft    = Zfft.* conj(Zfft) / nbpoints ;
+PZfft(1) = 0;
+PZfft(2) = 0;
+PZfft(nbpoints) = 0;
+
+% skip points ????
+n1 = int16(nbpoints/3.5);
+n2 = int16(nbpoints-n1);
+
+mz       = max(PZfft(n1:n2));
+nuz      = (find(PZfft==max(PZfft(n1:n2)))-1)/ nbpoints;
+fnuz     = (1-nuz(1))*1.91414;
+%fnuz     = (nuz(1))*1.91414;
+f352z    = (nuz)*1.91414+352.183;
+
+hplot2     = getappdata(handles.figure1, 'hplot2');
+hlegend2   = getappdata(handles.figure1, 'hlegend2');
+legendstr2 = ['nuz=', num2str(1-nuz(1)),'  fexc=',num2str(fnuz(1)),'   fdetec=',num2str(f352z(1))];
+
+if hplot2 == 0
+    hplot2 = plot(handles.Onde_Z,f,PZfft(1:(nbpoints)))
+    hlegend2 = legend(handles.Onde_Z,legendstr2);
+    set(hlegend2,'FontSize',20);
+    ylabel(handles.Onde_Z,'Z');
+    xlabel(handles.Onde_Z,'Tune');
+    grid(handles.Onde_Z, 'on');
+else
+    set(hplot2,'XData', f, 'YData', PZfft(1:(nbpoints)));
+    set(hlegend2,'String', legendstr2);
+end
+
+set(handles.Onde_Z,'YLim',[0 1.2*mz]);
+    
+Z_display=0;
+Z_display=handles.Z;
+Z_display=Z_display(2:size(Z_display,2)); 
+
+handles.PZfft=PZfft;
+
+hplot4   = getappdata(handles.figure1, 'hplot4');
+if hplot4 == 0
+    hplot4 = plot(handles.Position_Z, Z_display);
+    ylabel(handles.Position_Z, 'mm');
+    xlabel(handles.Position_Z, 'Turn number')
+    grid(handles.Position_Z, 'on')
+else
+    set(hplot4, 'YData', Z_display);
+end
+set(handles.Position_Z,'YLim',[-6 6]);
+set(handles.Position_Z,'XLim',[0 Echelle]);
+
+
+%% Third panel
+% plot courant
+temp=tango_read_attribute2('BOO-C01/DG/DCCT','integrationTime');
+tmax=temp.value(1);
+temp=tango_read_attribute2('BOO-C01/DG/DCCT','numSamples');
+np=temp.value(1);
+tt=(1:np)*tmax/np;
+temp=tango_read_attribute2('BOO-C01/DG/DCCT','iV');
+cur=temp.value;
+mcur=mean(cur(1:30));
+cur=cur-mcur;
+hplot5   = getappdata(handles.figure1, 'hplot5');
+if hplot5 == 0
+     %hplot5 = plot(handles.DCCT,cur,'-r','LineWidth',2);
+     hplot5 = stairs(handles.DCCT,tt,cur,'r');
+     ylabel(handles.DCCT, 'I mA');
+     xlabel(handles.DCCT, 'Time ms')
+     grid(handles.DCCT, 'on')
+else
+    set(hplot5, 'YData', cur);
+    set(hplot5, 'XData', tt);
+end
+set(handles.DCCT,'YLim',[-10 0.1]);
+set(handles.DCCT,'XLim',[0 tmax]);
+
+
+setappdata(handles.figure1, 'hplot1', hplot1);
+setappdata(handles.figure1, 'hplot2', hplot2);
+setappdata(handles.figure1, 'hplot3', hplot3);
+setappdata(handles.figure1, 'hplot4', hplot4);
+setappdata(handles.figure1, 'hplot5', hplot5);
+setappdata(handles.figure1, 'hlegend1', hlegend1);
+setappdata(handles.figure1, 'hlegend2', hlegend2);
+
+guidata(hObject, handles);
+
+
+% --- Executes on button press in Stop.
+function Stop_Callback(hObject, eventdata, handles)
+% hObject    handle to Stop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+setappdata(handles.figure1,'Stop_NO',1);
+disp('CONTINUOUS LOOP STOPPED')
+
+
+% --- Executes on button press in Aquisition_continue.
+function Aquisition_continue_Callback(hObject, eventdata, handles)
+% hObject    handle to Aquisition_continue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Aquisition_continue
+
+val = get(hObject,'Value');
+
+if val
+    setappdata(handles.figure1,'Stop_NO',0);
+else
+    setappdata(handles.figure1,'Stop_NO',1);
+end
+
+function Filename_Callback(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Filename as text
+%        str2double(get(hObject,'String')) returns contents of Filename as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Filename_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_save.
+function pushbutton_save_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_save (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% global X Z Q PXfft PQfft PZfft;
+
+Nsamples = str2num(get(handles.Nsamples_NO,'String'));
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+mode     = tango_read_attribute2(dev{val_dev},'Mode');
+filename = get(handles.Filename,'String')
+X        = handles.X;
+Z        = handles.Z;
+%Q=handles.Q;
+PXfft   = handles.PXfft;
+PZfft   = handles.PZfft;
+
+% Saving data
+dirname = getfamilydata('Directory','TurnByTurnTune');
+pwd_old = pwd;
+cd(dirname);
+
+if strcmp(filename, 'Filename');
+    filename = tune;
+end
+
+filename = appendtimestamp(filename);
+save(filename,'Nsamples','mode','X','Z','PXfft','PZfft');
+cd(pwd_old);
+
+
+% --- Executes on button press in Detection.
+function Detection_Callback(hObject, eventdata, handles)
+% hObject    handle to Detection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Detection
+
+function Start_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Start_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Start_NO as text
+%        str2double(get(hObject,'String')) returns contents of Start_NO as a double
+
+% --- Executes during object creation, after setting all properties.
+function Start_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Start_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function profondeur_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Filename as text
+%        str2double(get(hObject,'String')) returns contents of Filename as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function profondeur_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on selection change in dev_name_Pos.
+function dev_name_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to dev_name_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns dev_name_Pos contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from dev_name_Pos
+dev     = get(handles.dev_name_Pos,'String');
+val_dev = get(handles.dev_name_Pos,'value');
+
+if val_dev ~=1
+    tango_set_timeout(dev{val_dev},30000);
+    dec     = tango_read_attribute2(dev{val_dev},'DDDecimationFactor');
+    set(handles.Current_mode_Pos,'String',dec.value(1));
+
+    Nvalues  = tango_read_attribute2(dev{val_dev},'DDBufferSize');
+    set(handles.Nsamples_Pos,'String',num2str(Nvalues.value(1)));
+end
+
+% --- Executes during object creation, after setting all properties.
+function dev_name_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dev_name_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit19 as text
+%        str2double(get(hObject,'String')) returns contents of edit19 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Echelle_Callback(hObject, eventdata, handles)
+% hObject    handle to Echelle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Echelle as text
+%        str2double(get(hObject,'String')) returns contents of Echelle as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Echelle_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Echelle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in Change_mode_Pos.
+function Change_mode_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Change_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Change_mode_Pos contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Change_mode_Pos
+val     = get(handles.Change_mode_Pos,'Value')
+dev     = get(handles.dev_name_Pos,'String')
+val_dev = get(handles.dev_name_Pos,'value')
+
+switch val
+    case 1
+        tango_write_attribute(dev{val_dev},'Mode','MODE_FT') 
+        %test_erreur_tango;
+    case 2
+        tango_write_attribute(dev{val_dev},'Mode','MODE_TT') 
+        %test_erreur_tango;
+    case 3
+         tango_write_attribute(dev{val_dev},'Mode','MODE_BN') 
+         set(handles.Current_mode_NO,'String','Boo Normal');
+         set(handles.Nsamples_NO,'string',num2str(10169));
+end;
+mode = tango_read_attribute2(dev{val_dev},'Mode');
+set(handles.Current_mode_Pos,'String',mode.value);
+
+
+% --- Executes during object creation, after setting all properties.
+function Change_mode_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Change_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Current_mode_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Current_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Current_mode_Pos as text
+%        str2double(get(hObject,'String')) returns contents of Current_mode_Pos as a double
+Nvaleurs = uint16(str2double(get(hObject,'String')));
+dev      = get(handles.dev_name_Pos,'String');
+val_dev  = get(handles.dev_name_Pos,'value');
+
+tango_write_attribute2(dev{val_dev},'DDDecimationFactor',Nvaleurs);
+
+% --- Executes during object creation, after setting all properties.
+function Current_mode_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Current_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Nsamples_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Nsamples_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Nsamples_Pos as text
+%        str2double(get(hObject,'String')) returns contents of Nsamples_Pos as a double
+Nvaleurs = int32(str2num(get(handles.Nsamples_Pos,'String')));
+dev      = get(handles.dev_name_Pos,'String');
+val_dev  = get(handles.dev_name_Pos,'value');
+
+tango_write_attribute2(dev{val_dev},'DDBufferSize',Nvaleurs);
+set(handles.Echelle,'String',Nvaleurs); 
+
+% --- Executes during object creation, after setting all properties.
+function Nsamples_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Nsamples_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
Index: /trunk/machine/SOLEIL/Booster/applications/Qpole.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/Qpole.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/Qpole.m	(revision 17)
@@ -0,0 +1,11 @@
+% Courant Qpole
+
+
+Brho = 0.3686;  % 110 MeV
+Gbrf = 1.157;
+Gbrd = 1.131;
+
+Iqf = (Gbrf*Brho-0.0435)/0.0517;
+Iqd = (Gbrd*Brho-0.0435)/0.0517;
+
+sprintf(' Iqf : %g   Iqd : %g', Iqf , Iqd)
Index: /trunk/machine/SOLEIL/Booster/applications/RFrampe.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/RFrampe.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/RFrampe.m	(revision 17)
@@ -0,0 +1,41 @@
+% affichage rampe RF
+
+n=100;
+V0=700;     % kV
+V0=V0/100 ; % normalisÃ© en V
+f=50/17;
+w=2*3.14159*f;
+
+
+% rampe plus courte centrÃ©e
+r=0.2;
+t1=1/f*r/2;
+t2=1/f*(1-r/2);
+w=w/(1-r)
+
+clear V
+
+for i=1:n
+    
+    t=(i-1)/f/(n-1);
+    if (t<t1)
+       V(i) = 0;
+    elseif (t>=t1) && (t<t2)
+       V(i) = V0*0.5*(1.-cos(w*(t-t1)));
+    else
+        V(i) = 0;
+    end
+    
+end 
+
+plot(V)
+devName='BOO/RF/SAO.1';
+prop.name = 'Channel0WaveForm';
+for k=1:100
+            prop.value{k} = num2str(V(k));
+end
+tango_command_inout2(devName, 'Stop');
+tango_put_properties2(devName,prop)
+tango_command_inout2(devName, 'Init');
+tango_command_inout2(devName, 'Start');
+
Index: /trunk/machine/SOLEIL/Booster/applications/VCOR_fin_run_041005.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/VCOR_fin_run_041005.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/VCOR_fin_run_041005.m	(revision 17)
@@ -0,0 +1,24 @@
+Correcteur Booster VCOR
+
+    0.2638
+    0.2616
+    0.1590
+    0.1332
+   -0.1013
+   -0.0276
+    0.0848
+    0.0784
+    0.1791
+    0.0855
+    0.1239
+    0.0509
+    0.1061
+    0.1518
+    0.0224
+   -0.1529
+   -0.1964
+   -0.0851
+    0.0277
+   -0.0251
+    0.0201
+    0.2746
Index: /trunk/machine/SOLEIL/Booster/applications/aide.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/aide.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/aide.m	(revision 17)
@@ -0,0 +1,11 @@
+
+
+% getam('HCOR');             % tous les corr
+% 
+% getam('HCOR',[5 1]);       % corr 5
+% tango_read_attribute2('BOO-C01/AE/CH.05', 'current'); % idem
+% 
+ %setsp('HCOR', 0.0);        % met 0A tout les corr
+% 
+% setsp('HCOR',[5 1], 0.5);  % met 0.5A le corr 5
+%tango_write_attribute('BOO-C05/AE/CH.05', 'current', 0.) %idem
Index: /trunk/machine/SOLEIL/Booster/applications/ajusttune.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/ajusttune.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/ajusttune.m	(revision 17)
@@ -0,0 +1,16 @@
+% ajusttune
+% permet d'ajuster le tune du model au tune demandï¿œ
+
+target=[6.75 ; 4.75];
+[tune0]=gettune;
+dt=target-tune0;
+
+dI=0.01;
+stepsp('QF','model',+dI);[tune1]=gettune;stepsp('QF','model',-dI);
+stepsp('QD','model',+dI);[tune2]=gettune;stepsp('QD','model',-dI);
+A=-[tune0(1)-tune1(1) tune0(1)-tune2(1) ; tune0(2)-tune1(2) tune0(2)-tune2(2)]/dI
+
+stepI = linsolve(A,dt)
+% stepsp('QF','model',stepI(1));
+% stepsp('QD','model',stepI(2));
+gettune
Index: /trunk/machine/SOLEIL/Booster/applications/apply_corr.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/apply_corr.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/apply_corr.m	(revision 17)
@@ -0,0 +1,19 @@
+
+
+% apply correcteurs corrx_1 et corrz_1
+
+
+load 'orbit_super1'
+
+
+figure(10)
+subplot(2,1,1);
+bar(Corr_X , 0.5);xlim([1 22]); ylim([-1.5 1.5])
+subplot(2,1,2);
+bar(Corr_Z , 0.5);xlim([1 22]); ylim([-1.5 1.5])
+
+% ncorrx=22;
+setsp('HCOR',Corr_X);
+setsp('VCOR',Corr_Z);
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/boosterreal.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/boosterreal.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/boosterreal.m	(revision 17)
@@ -0,0 +1,125 @@
+function boosterreal
+% Booster soleil lattice w/o ID 
+% Lattice definition file, include BPM and steerer at right location (Alex)
+% Perfect lattice no magnetic errors 
+% Controlroom : set linearpass for quad (closed orbit)
+
+% Fevrier 2006
+% A. Loulergue
+
+global FAMLIST THERING GLOBVAL
+
+%GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.E0 = 0.1085e9; % Ring energy
+% GLOBVAL.E0 = 0.100e9; % Ring energy
+
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL booster magnet lattice ', mfilename]);
+
+L0 = 156.6202003;                % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 184;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method       
+CAV = rfcavity('RF' , 0 , 0.844e+6 , HarmNumber*C0/L0, ...
+               HarmNumber ,'CavityPass');   
+CAV = rfcavity('RF' , 0 , 0.200e+6 , HarmNumber*C0/L0, ...
+              HarmNumber ,'CavityPass');   
+% CAV = rfcavity('RF' , 0 , 0.204e+6 , HarmNumber*C0/L0, ...
+%                HarmNumber ,'ThinCavityPass');   
+
+%% Marker and apertures
+   SECT1  =  marker('SECT1', 'IdentityPass');
+   SECT2  =  marker('SECT2', 'IdentityPass');
+   DEBUT  =  marker('DEBUT', 'IdentityPass');
+   FIN    =  marker('FIN', 'IdentityPass');
+   
+   INJ = aperture('INJ',[-0.035 0.035 -0.125 0.125],'AperturePass');
+
+% BPM   
+   BPM    =  marker('BPM', 'IdentityPass');
+
+% DRIFT SPACES
+   SD1 = drift('SD1', 3.15955 , 'DriftPass');
+   SD2 = drift('SD2',.408000  , 'DriftPass');
+   SD3 = drift('SD3',.591550  , 'DriftPass');
+   
+   SDBP= drift('SDPB',.150000  , 'DriftPass');% Distance qpole BPM
+   SDCO= drift('SDCO',.220000  , 'DriftPass');% Distance BPM corr
+   SD31= drift('SD31',.221550  , 'DriftPass'); % tient compte BPM et CORR
+   SD11= drift('SD11', 2.41955  , 'DriftPass');% tient compte 1 CORR
+
+  
+% QUADRUPOLES 
+   QPD  =  quadrupole('QPD' , 0.40,-0.9382000E+00  , 'QuadLinearPass');
+   QPF  =  quadrupole('QPF' , 0.40, 0.1178000E+01 , 'QuadLinearPass');
+
+% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+% SXF = 0.383 SXD = -0.525 for correcting natural chromaticities (Alex)
+% do not take in account 1. Eddy current when ramping the energy
+%                        2. remnant sextupole field at injection field
+%                        3. sextupole from geometry of dipole
+
+SXF  =  sextupole('SXF' , Finv,  0.383*F, 'StrMPoleSymplectic4Pass');
+SXD  =  sextupole('SXD' , Finv, -0.525*F, 'StrMPoleSymplectic4Pass');
+
+% Slow feedback correctors
+ HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+ VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+ DEF  =  corrector('DEF',0.0,[0.00 0],'CorrectorPass');
+
+% DIPOLES 
+BEND  =  rbend('BEND'  , 2.160,  ...
+            0.174533, 0.0872665, 0.0872665 , 0.0,'BendLinearPass');
+
+% Begin Lattice
+%  Superperiods  
+
+SUP1  = [ ...
+ QPD       DEF       SDBP       SDCO       VCOR       SD11       SDCO       SDBP                      ...
+ QPF        SDBP       BPM        SDCO       HCOR       SD31       BEND       SD2            ...    
+ ...
+ QPD        SDBP       SDCO       VCOR       SD11       SDCO       HCOR       SDBP           ...
+ QPF        SD2        BEND       SD31       VCOR       SDCO       BPM        SDBP           ...
+ ...
+ QPD        SXD        SD2        BEND       SD31       HCOR       SDCO       BPM       SDBP ...
+ QPF        SXF        SD2        BEND       SD31       VCOR       SDCO       SDBP           ...
+ ...
+ QPD        SXD        SD2        BEND       SD31       HCOR       SDCO       SDBP           ...     
+ QPF        SXF        SD2        BEND       SD31       VCOR       SDCO       BPM       SDBP ...
+ ...
+ QPD        SXD        SD2        BEND       SD31       HCOR       SDCO       BPM       SDBP ...       
+ QPF        SXF        SD2        BEND       SD31       VCOR       SDCO       SDBP           ...
+ ...
+ QPD        SXD        SD2        BEND       SD31       HCOR       SDCO       BPM       SDBP ... 
+ QPF        SD3        BEND       SD2        SXD                                             ...
+ ...
+ QPD        SDBP       SDCO       VCOR       SD31       BEND       SD2        SXF            ...
+ QPF        SDBP       BPM        SDCO       HCOR       SD31       BEND       SD2       SXD  ...
+ ...
+ QPD        SDBP       BPM        SDCO       VCOR       SD31       BEND       SD2       SXF            ...               
+ QPF        SDBP       SDCO       HCOR       SD31       BEND       SD2        SXD            ...
+ ...    
+ QPD        SDBP       SDCO       VCOR       SD31       BEND       SD2        SXF            ... 
+ QPF        SDBP       BPM        SDCO       HCOR       SD31       BEND       SD2       SXD  ...
+ ...
+ QPD        SDBP       BPM        SDCO       VCOR       SD31       BEND       SD2            ...     
+ QPF        SDBP       SDCO       HCOR       SD11       SDCO       VCOR       SDBP           ...
+ ...
+ QPD        SD2        BEND       SD31       HCOR       SDCO       BPM        SDBP           ...
+ QPF        SD1 ];
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP1 CAV FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
Index: /trunk/machine/SOLEIL/Booster/applications/bump.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/bump.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/bump.m	(revision 17)
@@ -0,0 +1,19 @@
+%  reglage correcteur verticaux LTI pour injection booster 
+
+setsp('VCOR',vcor0);
+dz=0 ;         % pos (mm) 
+QP=10;          % num QP
+
+
+n1=QP-1;  % Num CV
+n2=QP;
+n3=QP+1;
+T1=+dz*0.08/1.2;
+T2=-dz*0.04/1.2;
+T3=+dz*0.08/1.2;
+ stepsp('VCOR',T1,[n1 1]); 
+ stepsp('VCOR',T2,[n2 1]); 
+ stepsp('VCOR',T3,[n3 1]); 
+
+%dev2tango('VCOR',[[n1 1] ; [n2 1] ;[n3 1]])
+%getam('VCOR',[[n1 1]; [n2 1] ;[n3 1]])
Index: /trunk/machine/SOLEIL/Booster/applications/check_boo_synchro.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/check_boo_synchro.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/check_boo_synchro.m	(revision 17)
@@ -0,0 +1,31 @@
+function [flag]=check_boo_synchro
+% Estime amplitude sur tune synchro
+ampmax=180; % sur fft
+%ampmax=3; % sur max x en mm
+
+temp=tango_read_attribute2('BOO-C03/DG/BPM.03','XPosDD');
+X = temp.value;
+
+istart   = 20;
+nbpoints = 256;
+iend     = istart + nbpoints-1;
+Xval(1:nbpoints) = X(istart:iend);
+
+% % fft
+Xfft     = fft(Xval,nbpoints);
+PXfft    = Xfft.* conj(Xfft) / nbpoints;
+PXfft([1 2 nbpoints]) = 0; %% ???
+amp=max(PXfft(1:20));
+ampf=amp;
+
+% max X
+% Xval=Xval-mean(Xval);
+% amp=max(abs(Xval));
+
+%fprintf('%8.3f    %8.3f \n',ampf, amp)
+
+if amp>ampmax
+    flag=1;
+else
+    flag=0;
+end
Index: /trunk/machine/SOLEIL/Booster/applications/chrom.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/chrom.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/chrom.m	(revision 17)
@@ -0,0 +1,68 @@
+%  calcul chrom avec foucault
+
+
+
+pi=3.14159;
+mu0=4*pi*1e-07;
+sig=1.3e+06;
+h=0.011;
+ep=0.001;
+bro=9.175;
+rho=12.377;
+B0=0.740;
+E0=2750;
+Einj=110;
+delta0=0.01;
+mfouc0=(mu0*sig*ep)/(h*rho);
+
+mx=7.72;
+mz=-11.30;
+m1=[3.39 0.38 ; -1.32 -3.5]; %chromp versus sextu (HL/BRHO)
+m2=inv(m1);                  %sextu versus chrom
+
+w=2*pi*50/17;
+t=0.0219:0.0001:0.170;
+B=B0/2*(1-cos(w*t));
+Bdot=B0/2*(w*sin(w*t));
+R=  (Bdot)./(B)  ;
+R=R*25/R(1);
+E=E0/2*(1-cos(w*t));
+delta=(delta0*Einj)./E;
+mfouc=mfouc0*R;
+chix0=-1.23;
+chiz0=-1.34;
+md = -1.7/rho; 
+mr = -2.1/rho*Einj./E;
+chix=(chix0 + (md+mr+mfouc)*mx);
+chiz=(chiz0 + (md+mr+mfouc)*mz);
+sext=-m2*[chix ; chiz];
+chic=m1*[sext(1,:) ; sext(2,:)];
+
+I1=0.;
+I2=0.;
+chic1=m1*[I1*0.2/B(1)/rho ;-I2*0.2/B(1)/rho ];
+
+
+chixr=chix + chic1(1)*Einj./E;
+chizr=chiz + chic1(2)*Einj./E;
+
+
+dnux=chixr.*delta*6.8;
+dnuz=chizr.*delta*4.8;
+sprintf('Brho = %g ', B(1)*rho)
+sprintf('chix = %g  chiz = %g', chix(1), chiz(2))
+sprintf('HF/Brho = %g  HD/Brho = %g', sext(1,1), sext(2,1))
+Ihf=sext(1,:).*B*rho/0.2;
+Ihd=-sext(2,:).*B*rho/0.2;
+sprintf('I_HF = %g A   I_HD = %g  A', Ihf(1), Ihd(1))
+plot(t, Ihf , t , Ihd)
+figure(1)
+subplot(3,1,1)
+plot(t, R)
+subplot(3,1,2)
+plot(t, Ihf, t , Ihd)
+subplot(3,1,3)
+plot(t, dnux, t , dnuz)
+
+%Ihf=sext(1)*B(1)*rho/0.2
+%Ihf*0.2/rho/B(1)
Index: /trunk/machine/SOLEIL/Booster/applications/corr23juillet.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/corr23juillet.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/corr23juillet.m	(revision 17)
@@ -0,0 +1,10 @@
+
+%plan horizontal
+load 'corrx.mat'
+Kx=K2*1000/1.2       % corr en A
+setsp('HCOR',Kx); 
+
+%plan vertical
+ load 'zcorr.mat'
+ Kz=K2/1.2       % corr en A
+ setsp('VCOR',Kz); 
Index: /trunk/machine/SOLEIL/Booster/applications/correcteur.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/correcteur.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/correcteur.m	(revision 17)
@@ -0,0 +1,18 @@
+%  charge correcteurs
+
+Directory = '/home/matlabML/measdata/Boosterdata/Datatemp';
+pwdold = pwd;
+cd(Directory);
+
+% Correction 23 juillet
+%load 'orbit_23-Apr-2006_cor_no_foucault.mat' 'Xm' 'Zm' 'Corr_X' 'Corr_Z';
+%setsp('HCOR',Corr_X);setsp('VCOR',Corr_Z);
+
+% % Correction 8 juillet
+load 'orbit_2006_1.mat' 'Xm' 'Zm' 'Corr_X' 'Corr_Z';
+%setsp('HCOR',Corr_X);setsp('VCOR',Corr_Z);
+
+%load 'orbit_super.mat' 'Xm' 'Zm' 'Corr_X' 'Corr_Z';
+%setsp('HCOR',Corr_X);setsp('VCOR',Corr_Z);
+
+cd(pwdold);
Index: /trunk/machine/SOLEIL/Booster/applications/createlegend.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/createlegend.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/createlegend.m	(revision 17)
@@ -0,0 +1,9 @@
+function createlegend(axes1)
+%CREATELEGEND(AXES1)
+%  AXES1:  legend axes
+ 
+%  Auto-generated by MATLAB on 23-Nov-2005 16:50:20
+ 
+%% Create legend
+legend1 = legend(axes1,{'Measure','theoritical'},'Position',[0.5934 0.7352 0.1738 0.1706]);
+ 
Index: /trunk/machine/SOLEIL/Booster/applications/dof1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/dof1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/dof1.m	(revision 17)
@@ -0,0 +1,90 @@
+% store orbite  DOF
+
+%clear
+
+istart=10;
+iend=200;
+nbpmx=22;
+
+% Orbite sans DOF Ã  stoker
+%   [X0,Z0] = getboobpm(22,200,10);
+%   save('orbite_no_DOF', 'X0')
+
+load('orbite_no_DOF', 'X0');
+
+% Orbite avec DOF 
+   [X1,Z1] = getboobpm(nbpmx,iend,istart);
+   save('orbite_avec_DOF', 'X1');
+
+% difference
+   Xdiff= X1-X0;
+   plot(Xdiff,'-ok')
+   
+
+   
+%    
+% % Pour choisir les deux BPMs de correction
+%    display('Choisir 2 BPMs :')
+%    Xtest=[Xdiff(12) Xdiff(14) Xdiff(16) Xdiff(17)  Xdiff(18)]
+% 
+% 
+% 
+% 
+% % BPM choisis
+%    n1=12;
+%    n2=16; 
+% 
+% % Detla volt sur DOF
+%    deltav=10;
+% 
+% % Calcul efficatÃ© dof2 et dof3 sur les 2 bpms
+%    dof2=readattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue');
+%    dof2t=dof2+deltav;
+%    %writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',dof2t);pause(1);
+%    [X,Z] = getboobpm(nbpmx,iend,istart);
+%    m11=X(n1)-Xdiff(n1);
+%    m12=X(n2)-Xdiff(n2);
+%    %writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',dof2);pause(1);
+%    
+%    
+%    dof3=readattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue');
+%    dof3t=dof3+deltav;
+%    %writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',dof3t);pause(1);
+%    [X,Z] = getboobpm(nbpmx,iend,istart);
+%    m21=X(n1)-Xdiff(n1);
+%    m22=X(n2)-Xdiff(n2);
+%    %writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',doft);pause(1);
+%    
+%    m=[ m11 m12  ; m21  m22 ]/deltav
+%    
+% % ferme le bump
+%    Ddof=inv(m)*[-Xdiff(n1) ; -Xdiff(n2)]
+%    dof2=readattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue');
+%    dof2t=dof2+Ddof(1);
+%    %writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',dof2t);
+%    dof3=readattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue');
+%    dof3t=dof3+Ddof(1);
+%   %writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',dof3t);
+%   
+%   
+% % Plot pout voir
+%    pause(1);
+%    [X1,Z1] = getboobpm(nbpmx,iend,istart);
+%    Xdiff1= X1-X0;
+%    n=1:22;
+%    plot(n,Xdiff,n,Xdiff1)
+%    
+   
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+   
Index: /trunk/machine/SOLEIL/Booster/applications/dof_close.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/dof_close.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/dof_close.m	(revision 17)
@@ -0,0 +1,90 @@
+% store orbite  DOF
+
+%clear
+
+istart=10;
+iend=200;
+nbpmx=22;
+
+% Orbite sans DOF Ã  stoker
+%   [X0,Z0] = getboobpm(22,200,10);
+%   save('orbite_no_DOF', 'X0')
+
+load('orbite_no_DOF', 'X0');
+
+% Orbite avec DOF 
+   [X1,Z1] = getboobpm(nbpmx,iend,istart);
+   save('orbite_avec_DOF', 'X1');
+
+% difference
+   Xdiff= X1-X0;
+   plot(Xdiff,'-ok')
+   
+
+   
+%    
+% % Pour choisir les deux BPMs de correction
+%    display('Choisir 2 BPMs :')
+%    Xtest=[Xdiff(12) Xdiff(14) Xdiff(16) Xdiff(17)  Xdiff(18)]
+% 
+% 
+% 
+% 
+% % BPM choisis
+%    n1=12;
+%    n2=16; 
+% 
+% % Detla volt sur DOF
+%    deltav=10;
+% 
+% % Calcul efficatÃ© dof2 et dof3 sur les 2 bpms
+%    dof2=readattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue');
+%    dof2t=dof2+deltav;
+%    %writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',dof2t);pause(1);
+%    [X,Z] = getboobpm(nbpmx,iend,istart);
+%    m11=X(n1)-Xdiff(n1);
+%    m12=X(n2)-Xdiff(n2);
+%    %writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',dof2);pause(1);
+%    
+%    
+%    dof3=readattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue');
+%    dof3t=dof3+deltav;
+%    %writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',dof3t);pause(1);
+%    [X,Z] = getboobpm(nbpmx,iend,istart);
+%    m21=X(n1)-Xdiff(n1);
+%    m22=X(n2)-Xdiff(n2);
+%    %writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',doft);pause(1);
+%    
+%    m=[ m11 m12  ; m21  m22 ]/deltav
+%    
+% % ferme le bump
+%    Ddof=inv(m)*[-Xdiff(n1) ; -Xdiff(n2)]
+%    dof2=readattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue');
+%    dof2t=dof2+Ddof(1);
+%    %writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',dof2t);
+%    dof3=readattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue');
+%    dof3t=dof3+Ddof(1);
+%   %writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',dof3t);
+%   
+%   
+% % Plot pout voir
+%    pause(1);
+%    [X1,Z1] = getboobpm(nbpmx,iend,istart);
+%    Xdiff1= X1-X0;
+%    n=1:22;
+%    plot(n,Xdiff,n,Xdiff1)
+%    
+   
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+   
Index: /trunk/machine/SOLEIL/Booster/applications/dof_tune.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/dof_tune.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/dof_tune.m	(revision 17)
@@ -0,0 +1,19 @@
+
+
+   r=1.2;
+   temp=tango_read_attribute2('BOO-C10/EP/AL_DOF.1','voltagePeakValue');   dof1=temp.value(2);
+   dof1t=dof1*r;
+   writeattribute('BOO-C10/EP/AL_DOF.1/voltagePeakValue',dof1t);
+
+   temp=tango_read_attribute2('BOO-C11/EP/AL_DOF.2','voltagePeakValue');   dof2=temp.value(2);
+   dof2t=dof2*r;
+   writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',dof2t);
+   
+   temp=tango_read_attribute2('BOO-C12/EP/AL_DOF.3','voltagePeakValue');   dof3=temp.value(2);
+   dof3t=dof3*r;
+   writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',dof3t);
+   
+   dd=[dof1 dof2  dof3]
+   
+   
+    
Index: /trunk/machine/SOLEIL/Booster/applications/drawlattice_alex.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/drawlattice_alex.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/drawlattice_alex.m	(revision 17)
@@ -0,0 +1,141 @@
+function drawlattice(Offset, Scaling)
+%DRAWLATTICE - Draws the AT lattice to a figure
+%  drawlattice(Offset, Scaling)
+
+%
+%  Written by Gregory J. Portmann
+%  Modified by Laurent S. Nadolski, SOLEIL, 03/09/04
+
+if nargin < 1
+    Offset = 0;
+end
+Offset = Offset(1);
+if nargin < 2
+    Scaling = 1;
+end
+Scaling = Scaling(1);
+
+global THERING
+
+SPositions = findspos(THERING, 1:length(THERING)+1);
+L = SPositions(end);
+plot([0 L], [0 0]+Offset, 'k');
+
+% Remember the hold state then turn hold on
+HoldState = ishold;
+hold on;
+
+% Make default icons for elements of different physical types
+for i = 1:length(THERING)
+    SPos = SPositions(i);
+    if isfield(THERING{i},'BendingAngle') && THERING{i}.BendingAngle
+        % make icons for bending magnets
+        IconHeight = .3;
+        IconColor = [1 0 0];
+        IconWidth = THERING{i}.Length;
+        if IconWidth < .15 % meters
+            IconWidth = .15;
+            SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+        end
+        vx = [SPos SPos+IconWidth SPos+IconWidth SPos];
+        vy = [IconHeight IconHeight -IconHeight -IconHeight];
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-');
+        %if IconWidth < .1 % meters
+        %    set(h, 'EdgeColor', IconColor);
+        %end
+
+    elseif isfield(THERING{i},'K') & THERING{i}.K
+        % Quadrupole
+        if THERING{i}.K > 0
+            % Focusing quadrupole
+            IconHeight = .6;
+            IconColor = [0 0 1];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < .15 % meters
+                IconWidth = .15;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos SPos+IconWidth/2  SPos+IconWidth SPos+IconWidth/2 SPos];
+            vy = [0          IconHeight               0      -IconHeight    0];
+        else
+            % Defocusing quadrupole
+            IconHeight = .6;
+            IconColor = [0 0 1];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < .15 % meters
+                IconWidth = .15;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos+.4*IconWidth    SPos    SPos+IconWidth  SPos+.6*IconWidth  SPos+IconWidth    SPos      SPos+.4*IconWidth];
+            vy = [     0            IconHeight   IconHeight          0              -IconHeight  -IconHeight    0];
+        end
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-');
+        %if IconWidth < .1 % meters
+        %    set(h, 'EdgeColor', IconColor);
+        %end
+
+%     elseif isfield(THERING{i},'PolynomB') & length(THERING{i}.PolynomB)>2 & THERING{i}.PolynomB(3)
+%         % Sextupole
+%         if THERING{i}.PolynomB(3)>0
+%             % Focusing sextupole
+%             IconHeight = .5;
+%             IconColor = [1 0 1];
+%             IconWidth = THERING{i}.Length;
+%             if IconWidth < .1 % meters
+%                 IconWidth = .1;
+%                 SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+%             end
+%             vx = [SPos          SPos+.33*IconWidth  SPos+.66*IconWidth  SPos+IconWidth   SPos+IconWidth   SPos+.66*IconWidth  SPos+.33*IconWidth      SPos          SPos];
+%             vy = [IconHeight/3      IconHeight          IconHeight        IconHeight/3    -IconHeight/3      -IconHeight          -IconHeight     -IconHeight/3  IconHeight/3];
+%         else
+%             % Defocusing sextupole
+%             IconHeight = .5;
+%             IconColor = [0 1 0];
+%             IconWidth = THERING{i}.Length;
+%             if IconWidth < .1 % meters
+%                 IconWidth = .1;
+%                 SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+%             end
+%             vx = [SPos          SPos+.33*IconWidth  SPos+.66*IconWidth  SPos+IconWidth   SPos+IconWidth   SPos+.66*IconWidth  SPos+.33*IconWidth      SPos          SPos];
+%             vy = [IconHeight/3      IconHeight          IconHeight        IconHeight/3    -IconHeight/3      -IconHeight          -IconHeight     -IconHeight/3  IconHeight/3];
+%         end
+%         h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-');
+%         %if IconWidth < .1 % meters
+%         %    set(h, 'EdgeColor', IconColor);
+%         %end
+% 
+%     elseif isfield(THERING{i},'Frequency') & isfield(THERING{i},'Voltage')
+%         % RF cavity
+%         IconColor = [1 0.5 0];
+%         plot(SPos, 0+Offset, 'o', 'MarkerFaceColor', IconColor, 'Color', IconColor, 'MarkerSize', 4)
+% 
+%     elseif strcmpi(THERING{i}.FamName,'BPM')
+%         % BPM
+%         IconColor = 'k';
+%         plot(SPos, 0+Offset, '.-', 'Color', IconColor)
+%         %plot(SPos, 0, 'o', 'MarkerFaceColor', IconColor, 'Color', IconColor, 'MarkerSize', 1.5)
+% 
+%     elseif any(strcmpi(THERING{i}.FamName,{'COR','XCOR','YCOR','HCOR','VCOR'})) | isfield(THERING{i},'KickAngle')
+%         % Corrector
+%         IconHeight = .8;
+%         IconColor = [0 0 0];
+%         vx = [SPos   SPos];
+%         vy = [-IconHeight IconHeight];
+%         %plot(vx, Scaling*vy+Offset, 'Color', IconColor);
+%         IconWidth = THERING{i}.Length;
+%         vx = [SPos SPos+IconWidth SPos+IconWidth SPos];
+%         vy = [IconHeight IconHeight -IconHeight -IconHeight];
+%         h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle', '-');
+%         if IconWidth < .1 % meters
+%             set(h, 'EdgeColor', IconColor);
+%         end
+      end
+end
+
+
+% Leave the hold state as it was at the start
+if ~HoldState
+    hold off
+end
+xaxis([0 L]);XTick=[];
+yaxis([-3 3]);
Index: /trunk/machine/SOLEIL/Booster/applications/eddy_QP.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/eddy_QP.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/eddy_QP.m	(revision 17)
@@ -0,0 +1,28 @@
+%  calcul chrom avec foucault
+
+
+
+pi=3.14159;
+bro=9.175;
+rho=12.377;
+B0=0.740;
+E0=2750;
+Einj=110;
+
+
+w=2*pi*50/17;
+t=0.0219:0.0001:0.320;
+B=B0/2*(1-cos(w*t));
+Bdot=B0/2*(w*sin(w*t));
+R=  (Bdot)./(B)  ;
+E=E0/2*(1-cos(w*t));
+
+dK=1.2e-04*R;
+dnux=31*dK;
+dnuz=-43*dK;
+
+figure(2)
+subplot(2,1,1)
+plot(t,dnux,t,dnuz)
+subplot(2,1,2)
+plot(dnux,dnuz)
Index: /trunk/machine/SOLEIL/Booster/applications/efficiency.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/efficiency.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/efficiency.m	(revision 17)
@@ -0,0 +1,20 @@
+% rendement BOOSTER/LT1
+
+clear charge
+
+file='/home/operateur/Alex/current_linac_booster_trend.txt'
+fid=fopen(file,'r');
+charge = fscanf(fid, '%g %g %g', [3 inf]) ;
+charge(1,:)=charge(1,:)-charge(1,1);
+charge(2,:)=-charge(2,:)+0.044;
+r=charge(2,:)./charge(3,:);
+fclose(fid);
+save('efficacitÃ©', 'charge')
+figure(200)
+plot(charge(1,:),charge(2,:),'-r',charge(1,:),charge(3,:),'-b')
+ylim([0 4]); grid on;
+
+figure(201)
+plot(charge(1,:),r,'-r')
+ylim([0.8 1]); grid on;
+
Index: /trunk/machine/SOLEIL/Booster/applications/energie.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/energie.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/energie.m	(revision 17)
@@ -0,0 +1,7 @@
+%  plot energie
+
+
+w=2*3.14159*50/17;
+t=(1:170)/1000;
+Ener=2750/2*(1-cos(w*t));
+plot (t,Ener)
Index: /trunk/machine/SOLEIL/Booster/applications/energie_perte.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/energie_perte.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/energie_perte.m	(revision 17)
@@ -0,0 +1,28 @@
+% energie_perte
+
+clear
+%load('boo_2006-04-23_16-59-31.mat ', 'boo');
+current=tango_read_attribute2('BOO-C01/DG/DCCT','iV');
+cur=current.value;
+time=1:340;
+
+time400 =31 + [272 272];
+time300 =31 + [278 278];
+time200 =31 + [285 285];
+time100 =31 + [293.5 293.5];
+
+
+bar=[0 -5];
+
+plot(time100,bar); hold on;
+plot(time200,bar); hold on;
+plot(time300,bar); hold on;
+plot(time400,bar); hold on;
+plot(time(300:340),cur(300:340));hold off;
+text(time100(1),0,'100 MeV' );
+text(time200(1),0,'200 MeV' );
+text(time300(1),0,'300 MeV' );
+text(time400(1),0,'400 MeV' );
+xlabel('Temps (ms)');
+ylabel('Courant (A)');
+grid on;
Index: /trunk/machine/SOLEIL/Booster/applications/err_beta.dat
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/err_beta.dat	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/err_beta.dat	(revision 17)
@@ -0,0 +1,375 @@
+   0.00000000E+00  0.16684087E-02
+  0.20000000E+00  0.16984558E-02
+  0.40000001E+00  0.16688718E-02
+  0.55000001E+00  0.16241339E-02
+  0.76999998E+00  0.15594643E-02
+  0.76999998E+00  0.15594643E-02
+  0.11156499E+01  0.14606178E-02
+  0.14612999E+01  0.13651056E-02
+  0.18069500E+01  0.12736785E-02
+  0.21525998E+01  0.11872799E-02
+  0.24982500E+01  0.11070881E-02
+  0.28439000E+01  0.10345477E-02
+  0.31895499E+01  0.97137387E-03
+  0.34095500E+01  0.93692244E-03
+  0.35595500E+01  0.91632374E-03
+  0.37595501E+01  0.91312459E-03
+  0.39595499E+01  0.95560920E-03
+  0.41095500E+01  0.10058758E-02
+  0.41095500E+01  0.10058758E-02
+  0.41095500E+01  0.10058758E-02
+  0.43295498E+01  0.10830793E-02
+  0.43295498E+01  0.10830793E-02
+  0.45510998E+01  0.11642601E-02
+  0.45510998E+01  0.11642601E-02
+  0.49111004E+01  0.12986712E-02
+  0.52711010E+01  0.14383545E-02
+  0.56311011E+01  0.15819131E-02
+  0.59911017E+01  0.17283822E-02
+  0.63511024E+01  0.18770798E-02
+  0.67111030E+01  0.20275170E-02
+  0.67111030E+01  0.20275170E-02
+  0.69151030E+01  0.21104834E-02
+  0.71191030E+01  0.21938891E-02
+  0.73191032E+01  0.22362373E-02
+  0.75191031E+01  0.21994524E-02
+  0.76691031E+01  0.21422410E-02
+  0.76691031E+01  0.21422410E-02
+  0.78891029E+01  0.20588108E-02
+  0.78891029E+01  0.20588108E-02
+  0.82347527E+01  0.18962636E-02
+  0.85804033E+01  0.17345320E-02
+  0.89260530E+01  0.15738679E-02
+  0.92717028E+01  0.14146343E-02
+  0.96173525E+01  0.12573753E-02
+  0.99630032E+01  0.11029355E-02
+  0.10308653E+02  0.95268746E-03
+  0.10308653E+02  0.95268746E-03
+  0.10528653E+02  0.86024811E-03
+  0.10528653E+02  0.86024811E-03
+  0.10678653E+02  0.79918373E-03
+  0.10878653E+02  0.73741336E-03
+  0.11078653E+02  0.71326410E-03
+  0.11282654E+02  0.70900994E-03
+  0.11486653E+02  0.70987514E-03
+  0.11486653E+02  0.70987514E-03
+  0.11846654E+02  0.72087522E-03
+  0.12206655E+02  0.74690313E-03
+  0.12566655E+02  0.78646850E-03
+  0.12926655E+02  0.83765481E-03
+  0.13286655E+02  0.89847867E-03
+  0.13646656E+02  0.96712314E-03
+  0.13646656E+02  0.96712314E-03
+  0.13868206E+02  0.10110108E-02
+  0.13868206E+02  0.10110108E-02
+  0.14088205E+02  0.10190534E-02
+  0.14088205E+02  0.10190534E-02
+  0.14088205E+02  0.10190534E-02
+  0.14238206E+02  0.10275119E-02
+  0.14438206E+02  0.10239552E-02
+  0.14638206E+02  0.98809379E-03
+  0.14842205E+02  0.93777018E-03
+  0.15046206E+02  0.89290517E-03
+  0.15046206E+02  0.89290517E-03
+  0.15406206E+02  0.82659587E-03
+  0.15766207E+02  0.78461127E-03
+  0.16126207E+02  0.77093579E-03
+  0.16486208E+02  0.78704656E-03
+  0.16846209E+02  0.83121343E-03
+  0.17206209E+02  0.89931168E-03
+  0.17206209E+02  0.89931168E-03
+  0.17427759E+02  0.94939017E-03
+  0.17427759E+02  0.94939017E-03
+  0.17647758E+02  0.10053046E-02
+  0.17647758E+02  0.10053046E-02
+  0.17647758E+02  0.10053046E-02
+  0.17797758E+02  0.10464598E-02
+  0.17997759E+02  0.11286719E-02
+  0.18197760E+02  0.12649002E-02
+  0.18401760E+02  0.14341659E-02
+  0.18605759E+02  0.16051383E-02
+  0.18605759E+02  0.16051383E-02
+  0.18965759E+02  0.19055990E-02
+  0.19325760E+02  0.22084531E-02
+  0.19685760E+02  0.25128343E-02
+  0.20045761E+02  0.28182489E-02
+  0.20405762E+02  0.31243921E-02
+  0.20765762E+02  0.34310718E-02
+  0.20765762E+02  0.34310718E-02
+  0.20987312E+02  0.36149088E-02
+  0.20987312E+02  0.36149088E-02
+  0.21207312E+02  0.37430900E-02
+  0.21207312E+02  0.37430900E-02
+  0.21357311E+02  0.38306217E-02
+  0.21557312E+02  0.38786365E-02
+  0.21757311E+02  0.37889078E-02
+  0.21961311E+02  0.36277960E-02
+  0.22165312E+02  0.34668408E-02
+  0.22165312E+02  0.34668408E-02
+  0.22525312E+02  0.31740484E-02
+  0.22885313E+02  0.28818031E-02
+  0.23245314E+02  0.25902919E-02
+  0.23605314E+02  0.22997926E-02
+  0.23965315E+02  0.20107441E-02
+  0.24325315E+02  0.17238768E-02
+  0.24325315E+02  0.17238768E-02
+  0.24546865E+02  0.15457546E-02
+  0.24546865E+02  0.15457546E-02
+  0.24766865E+02  0.13705869E-02
+  0.24766865E+02  0.13705869E-02
+  0.24916864E+02  0.12524973E-02
+  0.25116863E+02  0.11237907E-02
+  0.25316864E+02  0.10491980E-02
+  0.25520864E+02  0.10011829E-02
+  0.25724865E+02  0.95814042E-03
+  0.25724865E+02  0.95814042E-03
+  0.26084866E+02  0.89302409E-03
+  0.26444866E+02  0.84942853E-03
+  0.26804865E+02  0.83075115E-03
+  0.27164865E+02  0.83865540E-03
+  0.27524866E+02  0.87242079E-03
+  0.27884867E+02  0.92923181E-03
+  0.27884867E+02  0.92923181E-03
+  0.28106417E+02  0.97246940E-03
+  0.28106417E+02  0.97246940E-03
+  0.28326418E+02  0.99202141E-03
+  0.28326418E+02  0.99202141E-03
+  0.28326418E+02  0.99202141E-03
+  0.28476418E+02  0.10071374E-02
+  0.28676418E+02  0.10112596E-02
+  0.28876417E+02  0.98171411E-03
+  0.29080418E+02  0.93585812E-03
+  0.29284418E+02  0.89291774E-03
+  0.29284418E+02  0.89291774E-03
+  0.29644419E+02  0.82244875E-03
+  0.30004419E+02  0.76481752E-03
+  0.30364418E+02  0.72309951E-03
+  0.30724419E+02  0.70014549E-03
+  0.31084419E+02  0.69780997E-03
+  0.31444420E+02  0.71629405E-03
+  0.31444420E+02  0.71629405E-03
+  0.31665970E+02  0.73576323E-03
+  0.31665970E+02  0.73576323E-03
+  0.31885971E+02  0.76192507E-03
+  0.31885971E+02  0.76192507E-03
+  0.31885971E+02  0.76192507E-03
+  0.32035969E+02  0.78332104E-03
+  0.32235970E+02  0.83338254E-03
+  0.32435970E+02  0.92497893E-03
+  0.32639969E+02  0.10416182E-02
+  0.32843971E+02  0.11605368E-02
+  0.32843971E+02  0.11605368E-02
+  0.33203972E+02  0.13709255E-02
+  0.33563972E+02  0.15846005E-02
+  0.33923973E+02  0.18003926E-02
+  0.34283974E+02  0.20176233E-02
+  0.34643974E+02  0.22358717E-02
+  0.35003975E+02  0.24548674E-02
+  0.35003975E+02  0.24548674E-02
+  0.35225525E+02  0.25862679E-02
+  0.35225525E+02  0.25862679E-02
+  0.35445522E+02  0.26446972E-02
+  0.35445522E+02  0.26446972E-02
+  0.35595524E+02  0.26851811E-02
+  0.35795525E+02  0.26918335E-02
+  0.35995522E+02  0.26036222E-02
+  0.36199524E+02  0.24664968E-02
+  0.36403522E+02  0.23304597E-02
+  0.36403522E+02  0.23304597E-02
+  0.36763523E+02  0.20877568E-02
+  0.37123524E+02  0.18504431E-02
+  0.37483524E+02  0.16208827E-02
+  0.37843525E+02  0.14028891E-02
+  0.38203526E+02  0.12027684E-02
+  0.38563526E+02  0.10309813E-02
+  0.38563526E+02  0.10309813E-02
+  0.38785076E+02  0.94428507E-03
+  0.38785076E+02  0.94428507E-03
+  0.39005077E+02  0.87968580E-03
+  0.39005077E+02  0.87968580E-03
+  0.39005077E+02  0.87968580E-03
+  0.39155075E+02  0.85049844E-03
+  0.39355076E+02  0.85137226E-03
+  0.39555077E+02  0.91439777E-03
+  0.39850853E+02  0.10707356E-02
+  0.40146626E+02  0.12541614E-02
+  0.40146626E+02  0.12541614E-02
+  0.40506626E+02  0.14958463E-02
+  0.40866627E+02  0.17524266E-02
+  0.41226627E+02  0.20182282E-02
+  0.41586628E+02  0.22900430E-02
+  0.41946629E+02  0.25659611E-02
+  0.42306629E+02  0.28447895E-02
+  0.42306629E+02  0.28447895E-02
+  0.42510628E+02  0.29996296E-02
+  0.42714630E+02  0.31550925E-02
+  0.42914627E+02  0.32509807E-02
+  0.43114628E+02  0.32317885E-02
+  0.43264629E+02  0.31742784E-02
+  0.43264629E+02  0.31742784E-02
+  0.43484631E+02  0.30905150E-02
+  0.43484631E+02  0.30905150E-02
+  0.43706181E+02  0.29334028E-02
+  0.43706181E+02  0.29334028E-02
+  0.44066181E+02  0.26714040E-02
+  0.44426182E+02  0.24100309E-02
+  0.44786182E+02  0.21495100E-02
+  0.45146179E+02  0.18901959E-02
+  0.45506180E+02  0.16326625E-02
+  0.45866180E+02  0.13779090E-02
+  0.45866180E+02  0.13779090E-02
+  0.46070183E+02  0.12333235E-02
+  0.46274181E+02  0.10906977E-02
+  0.46474182E+02  0.97699102E-03
+  0.46674183E+02  0.91085001E-03
+  0.46824181E+02  0.87950396E-03
+  0.46824181E+02  0.87950396E-03
+  0.46824181E+02  0.87950396E-03
+  0.47044182E+02  0.83837949E-03
+  0.47044182E+02  0.83837949E-03
+  0.47265732E+02  0.80358447E-03
+  0.47265732E+02  0.80358447E-03
+  0.47625732E+02  0.76055905E-03
+  0.47985733E+02  0.74038509E-03
+  0.48345734E+02  0.74492238E-03
+  0.48705734E+02  0.77373534E-03
+  0.49065735E+02  0.82428282E-03
+  0.49425735E+02  0.89288090E-03
+  0.49425735E+02  0.89288090E-03
+  0.49629738E+02  0.93668461E-03
+  0.49833736E+02  0.98454917E-03
+  0.50033737E+02  0.10169435E-02
+  0.50233734E+02  0.10163004E-02
+  0.50383736E+02  0.10042127E-02
+  0.50383736E+02  0.10042127E-02
+  0.50383736E+02  0.10042127E-02
+  0.50603737E+02  0.98992325E-03
+  0.50603737E+02  0.98992325E-03
+  0.50825287E+02  0.94577600E-03
+  0.50825287E+02  0.94577600E-03
+  0.51185287E+02  0.88717794E-03
+  0.51545288E+02  0.85129618E-03
+  0.51905289E+02  0.84104371E-03
+  0.52265285E+02  0.85734011E-03
+  0.52625286E+02  0.89874305E-03
+  0.52985287E+02  0.96201414E-03
+  0.52985287E+02  0.96201414E-03
+  0.53189285E+02  0.10041880E-02
+  0.53393288E+02  0.10514655E-02
+  0.53593288E+02  0.11255045E-02
+  0.53793289E+02  0.12538380E-02
+  0.53943287E+02  0.13717248E-02
+  0.53943287E+02  0.13717248E-02
+  0.54163288E+02  0.15466549E-02
+  0.54163288E+02  0.15466549E-02
+  0.54384838E+02  0.17245921E-02
+  0.54384838E+02  0.17245921E-02
+  0.54744839E+02  0.20112377E-02
+  0.55104839E+02  0.23001304E-02
+  0.55464840E+02  0.25905203E-02
+  0.55824841E+02  0.28819519E-02
+  0.56184841E+02  0.31741417E-02
+  0.56544842E+02  0.34668962E-02
+  0.56544842E+02  0.34668962E-02
+  0.56748840E+02  0.36278367E-02
+  0.56952843E+02  0.37889364E-02
+  0.57152840E+02  0.38786565E-02
+  0.57352840E+02  0.38306350E-02
+  0.57502842E+02  0.37431000E-02
+  0.57502842E+02  0.37431000E-02
+  0.57722839E+02  0.36149174E-02
+  0.57722839E+02  0.36149174E-02
+  0.57944389E+02  0.34310811E-02
+  0.57944389E+02  0.34310811E-02
+  0.58304390E+02  0.31244040E-02
+  0.58664391E+02  0.28182613E-02
+  0.59024391E+02  0.25128482E-02
+  0.59384392E+02  0.22084664E-02
+  0.59744392E+02  0.19056145E-02
+  0.60104393E+02  0.16051558E-02
+  0.60104393E+02  0.16051558E-02
+  0.60308395E+02  0.14341833E-02
+  0.60512394E+02  0.12649187E-02
+  0.60712395E+02  0.11286933E-02
+  0.60912395E+02  0.10464852E-02
+  0.61062393E+02  0.10053321E-02
+  0.61062393E+02  0.10053321E-02
+  0.61062393E+02  0.10053321E-02
+  0.61282394E+02  0.94942248E-03
+  0.61282394E+02  0.94942248E-03
+  0.61503944E+02  0.89934957E-03
+  0.61503944E+02  0.89934957E-03
+  0.61863945E+02  0.83125738E-03
+  0.62223946E+02  0.78709901E-03
+  0.62583946E+02  0.77099330E-03
+  0.62943947E+02  0.78467187E-03
+  0.63303947E+02  0.82665682E-03
+  0.63663948E+02  0.89296448E-03
+  0.63663948E+02  0.89296448E-03
+  0.63867947E+02  0.93782792E-03
+  0.64071945E+02  0.98814943E-03
+  0.64271942E+02  0.10240083E-02
+  0.64471947E+02  0.10275607E-02
+  0.64621948E+02  0.10190967E-02
+  0.64621948E+02  0.10190967E-02
+  0.64621948E+02  0.10190967E-02
+  0.64841949E+02  0.10110473E-02
+  0.64841949E+02  0.10110473E-02
+  0.65063499E+02  0.96608337E-03
+  0.65063499E+02  0.96608337E-03
+  0.65423500E+02  0.89591817E-03
+  0.65783501E+02  0.83394925E-03
+  0.66143501E+02  0.78212726E-03
+  0.66503502E+02  0.74257981E-03
+  0.66863503E+02  0.71733998E-03
+  0.67223503E+02  0.70793921E-03
+  0.67223503E+02  0.70793921E-03
+  0.67427505E+02  0.70830627E-03
+  0.67631500E+02  0.71400538E-03
+  0.67831497E+02  0.73978689E-03
+  0.68031502E+02  0.80342754E-03
+  0.68181503E+02  0.86602481E-03
+  0.68181503E+02  0.86602481E-03
+  0.68401497E+02  0.96076593E-03
+  0.68401497E+02  0.96076593E-03
+  0.68747147E+02  0.11146968E-02
+  0.69092796E+02  0.12728515E-02
+  0.69438446E+02  0.14338318E-02
+  0.69784103E+02  0.15967838E-02
+  0.70129753E+02  0.17611606E-02
+  0.70475403E+02  0.19265973E-02
+  0.70821053E+02  0.20928429E-02
+  0.70821053E+02  0.20928429E-02
+  0.71041046E+02  0.21761174E-02
+  0.71041046E+02  0.21761174E-02
+  0.71191048E+02  0.22332335E-02
+  0.71391052E+02  0.22693719E-02
+  0.71591049E+02  0.22252111E-02
+  0.71795044E+02  0.21394545E-02
+  0.71999046E+02  0.20541484E-02
+  0.71999046E+02  0.20541484E-02
+  0.72359047E+02  0.18996772E-02
+  0.72719048E+02  0.17469865E-02
+  0.73079048E+02  0.15965872E-02
+  0.73439049E+02  0.14491939E-02
+  0.73799049E+02  0.13058237E-02
+  0.74159050E+02  0.11679599E-02
+  0.74159050E+02  0.11679599E-02
+  0.74380600E+02  0.10848377E-02
+  0.74380600E+02  0.10848377E-02
+  0.74600601E+02  0.10058719E-02
+  0.74600601E+02  0.10058719E-02
+  0.74600601E+02  0.10058719E-02
+  0.74750603E+02  0.95452927E-03
+  0.74950607E+02  0.91076462E-03
+  0.75150604E+02  0.91283873E-03
+  0.75501663E+02  0.96321752E-03
+  0.75852722E+02  0.10260836E-02
+  0.76203789E+02  0.10992975E-02
+  0.76554848E+02  0.11809359E-02
+  0.76905907E+02  0.12693740E-02
+  0.77256966E+02  0.13632900E-02
+  0.77608032E+02  0.14616274E-02
+  0.77959091E+02  0.15635529E-02
+  0.78310150E+02  0.16684089E-02
+
Index: /trunk/machine/SOLEIL/Booster/applications/example.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/example.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/example.m	(revision 17)
@@ -0,0 +1,205 @@
+function varargout = example(varargin)
+% EXAMPLE M-file for example.fig
+%      EXAMPLE, by itself, creates a new EXAMPLE or raises the existing
+%      singleton*.
+%
+%      H = EXAMPLE returns the handle to a new EXAMPLE or the handle to
+%      the existing singleton*.
+%
+%      EXAMPLE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in EXAMPLE.M with the given input arguments.
+%
+%      EXAMPLE('Property','Value',...) creates a new EXAMPLE or raises
+%      the existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before example_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to example_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help example
+
+% Last Modified by GUIDE v2.5 23-Jun-2006 16:07:28
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @example_OpeningFcn, ...
+                   'gui_OutputFcn',  @example_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before example is made visible.
+function example_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to example (see VARARGIN)
+
+% Choose default command line output for example
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+initialize_gui(hObject, handles, false);
+
+% UIWAIT makes example wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = example_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes during object creation, after setting all properties.
+function density_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to density (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function density_Callback(hObject, eventdata, handles)
+% hObject    handle to density (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of density as text
+%        str2double(get(hObject,'String')) returns contents of density as a double
+density = str2double(get(hObject, 'String'));
+if isnan(density)
+    set(hObject, 'String', 0);
+    errordlg('Input must be a number','Error');
+end
+
+% Save the new density value
+handles.metricdata.density = density;
+guidata(hObject,handles)
+
+% --- Executes during object creation, after setting all properties.
+function volume_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to volume (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function volume_Callback(hObject, eventdata, handles)
+% hObject    handle to volume (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of volume as text
+%        str2double(get(hObject,'String')) returns contents of volume as a double
+volume = str2double(get(hObject, 'String'));
+if isnan(volume)
+    set(hObject, 'String', 0);
+    errordlg('Input must be a number','Error');
+end
+
+% Save the new volume value
+handles.metricdata.volume = volume;
+guidata(hObject,handles)
+
+% --- Executes on button press in calculate.
+function calculate_Callback(hObject, eventdata, handles)
+% hObject    handle to calculate (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+mass = handles.metricdata.density * handles.metricdata.volume;
+set(handles.mass, 'String', mass);
+
+% --- Executes on button press in reset.
+function reset_Callback(hObject, eventdata, handles)
+% hObject    handle to reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+initialize_gui(gcbf, handles, true);
+
+% --------------------------------------------------------------------
+function unitgroup_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to unitgroup (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+if (hObject == handles.english)
+    set(handles.text4, 'String', 'lb/cu.in');
+    set(handles.text5, 'String', 'cu.in');
+    set(handles.text6, 'String', 'lb');
+    display('OK')
+else
+    set(handles.text4, 'String', 'kg/cu.m');
+    set(handles.text5, 'String', 'cu.m');
+    set(handles.text6, 'String', 'kg');
+end
+
+% --------------------------------------------------------------------
+function initialize_gui(fig_handle, handles, isreset)
+% If the metricdata field is present and the reset flag is false, it means
+% we are we are just re-initializing a GUI by calling it from the cmd line
+% while it is up. So, bail out as we dont want to reset the data.
+if isfield(handles, 'metricdata') && ~isreset
+    return;
+end
+
+handles.metricdata.density = 0;
+handles.metricdata.volume  = 0;
+
+set(handles.density, 'String', handles.metricdata.density);
+set(handles.volume,  'String', handles.metricdata.volume);
+set(handles.mass, 'String', 0);
+
+set(handles.unitgroup, 'SelectedObject', handles.english);
+
+set(handles.text4, 'String', 'lb/cu.in');
+set(handles.text5, 'String', 'cu.in');
+set(handles.text6, 'String', 'lb');
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/extract.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/extract.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/extract.m	(revision 17)
@@ -0,0 +1,15 @@
+% calcul extraction
+
+br=9.17;
+
+dof_dev=[1.66 0.51  1.15]*1.e-03;
+dof_r=8.97e-03;
+dof_V=dof_dev.*br/dof_r
+
+pass_dev=7.1e-03;
+pass_r  =310e-06;
+pass_V=pass_dev.*br/pass_r
+
+act_dev=110e-03;
+act_r  =10.3e-03;
+act_V=act_dev.*br/act_r
Index: /trunk/machine/SOLEIL/Booster/applications/filling_mode_soft.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/filling_mode_soft.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/filling_mode_soft.m	(revision 17)
@@ -0,0 +1,44 @@
+% mettre synchro OFF
+n=1    ;
+% les 4 tours (2 coups par tours)
+dt=[13 13 13 -39];
+%dt=[26 -26 26 -26 26 -26 26 -26 26 -26];
+%dt=[13 13 -26];
+%dt=[13  -13];
+%dt=[50  -11  -2   -11    -2    -11    -2   -11  ];
+
+%dt=[50  -11  -2   -37 ];
+
+% le meme tour 8 fois - reiterer 'run' pour changer de quart
+% dt=[13 0 0 0];
+
+% writeattribute('BOO/AE/dipole/current',545);
+% writeattribute('BOO/AE/QF/current',201.7677);
+% writeattribute('BOO/AE/QD/current',162.611);
+% pause(5)
+ 
+for kt=1:1
+    for i=1:1
+
+    %     for j=1:10
+    %         tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');
+    %         pause(0.6)
+    %     end
+
+        jump=dt(i);
+
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');
+        clk=temp.value(n)+jump;
+        tango_write_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay',clk);
+
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+        clk=temp.value(n)+jump;
+        tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',clk);
+
+
+    end
+end
+
+fprintf('*********************************\n')
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/fitprofil.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/fitprofil.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/fitprofil.m	(revision 17)
@@ -0,0 +1,35 @@
+% profil de perte
+
+function [estimates, model] = fitprofil(xdata, ydata)
+% Call fminsearch with a random starting point.
+start_point = [2 0 90]; % sig et zb et amplitude
+model = @expfun;
+estimates = fminsearch(model, start_point);
+% expfun accepts curve parameters as inputs, and outputs sse,
+% the sum of squares error for A * exp(-lambda * xdata) - ydata, 
+% and the FittedCurve. FMINSEARCH only needs sse, but we want to 
+% plot the FittedCurve at the end.
+    function [sse, FittedCurve] = expfun(params)
+        sig = params(1);
+        zb  = params(2);
+        A   = params(3);
+        chambre=10;
+        z   =xdata;
+        
+        ch=min(abs(chambre-z-zb),abs(-chambre-z-zb));
+        for i=1:length(z)
+            x=z(i);
+            if (x+zb)>chambre
+                ch(i)=0;
+            elseif (x+zb)<-chambre
+                ch(i)=0;
+            end
+        end
+        profil=erf(ch/sqrt(2)/sig);
+        FittedCurve = A*(profil);
+        ErrorVector = FittedCurve - ydata;
+        sse = sum(ErrorVector .^ 2);
+    end
+end
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/fitprofil1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/fitprofil1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/fitprofil1.m	(revision 17)
@@ -0,0 +1,36 @@
+% profil de perte
+
+function [estimates, model] = fitprofil(xdata, ydata)
+% Call fminsearch with a random starting point.
+start_point = [2 -2 10 90]; % sig et zb chambre et amplitude
+model = @expfun;
+options = optimset('MaxFunEvals',2000);
+estimates = fminsearch(model, start_point,options);
+% expfun accepts curve parameters as inputs, and outputs sse,
+% the sum of squares error for A * exp(-lambda * xdata) - ydata, 
+% and the FittedCurve. FMINSEARCH only needs sse, but we want to 
+% plot the FittedCurve at the end.
+    function [sse, FittedCurve] = expfun(params)
+        sig    = params(1);
+        zb     = params(2);
+        chambre= params(3);
+        A      = params(4);
+        z   =xdata;
+        
+        ch=min(abs(chambre-z-zb),abs(-chambre-z-zb));
+        for i=1:length(z)
+            x=z(i);
+            if (x+zb)>chambre
+                ch(i)=0;
+            elseif (x+zb)<-chambre
+                ch(i)=0;
+            end
+        end
+        profil=erf(ch/sqrt(2)/sig);
+        FittedCurve = A*(profil);
+        ErrorVector = FittedCurve - ydata;
+        sse = sqrt(sum(ErrorVector .^ 2))/length(z);
+    end
+end
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/getboobpm.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/getboobpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/getboobpm.m	(revision 17)
@@ -0,0 +1,19 @@
+function [Xm,Zm] = getboobpm(nbpmx,iend,istart)
+% GETBOOBPM - Get average orbit
+
+% iHs = [1 8 9];  % BPM HS
+% iHs = [1 8 9 5]; % BPM8 and 8  HS 16 December 2010
+iHs = [ 8 5 12 ];
+iHs= [0];
+for i=1:nbpmx
+    i
+    xm = 0;
+    zm = 0;
+    if any(iHs == i)       % cas de BPM HS
+        Xm(i) = 0;Zm(i) = 0;  
+    else
+        a = getbpmrawdata(i,'nodisplay','struct','NoGroup');
+        Xm(i) = mean(a.Data.X(istart:iend)); % mm
+        Zm(i) = mean(a.Data.Z(istart:iend)); % mm
+    end
+end
Index: /trunk/machine/SOLEIL/Booster/applications/getbpm.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/getbpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/getbpm.m	(revision 17)
@@ -0,0 +1,56 @@
+function [X,Z]=toto(num)
+ 
+filename=['../bpm/bpmdata/bpm_' num2str(num)];
+load(filename,'X', 'Z', 'Q', 'Sum', 'Va', 'Vb', 'Vc', 'Vd');
+X;
+end
+% istart = 1;
+% iend = 500;
+% ifft=256;
+
+% xm=0;
+% zm=0;
+% j=0;
+% for i=istart:iend,
+%     xm=xm+X(i);
+%     zm=zm+Z(i);
+%     j=j+1;
+%     tx(j)=X(i);
+%     tz(j)=Z(i);
+% end
+% xm=xm/(iend-istart);
+% zm=zm/(iend-istart)
+% fx=fft(tx,ifft);px=fx.*conj(fx)/ifft;
+% fz=fft(tz,ifft);pz=fz.*conj(fz)/ifft;
+% f = (0:ifft/2)/ifft;
+
+% figure(1)
+% subplot(3,2,1)
+% plot(X(istart:iend))
+% ylabel('X')
+% grid on
+% subplot(3,2,2)
+% plot(Z(istart:iend))
+% ylabel('Z')
+% grid on
+% 
+% subplot(3,2,3)
+% plot(f(2:ifft/2),px(2:ifft/2))
+% xlim([0 0.15])
+% ylabel('TX')
+% grid on
+% subplot(3,2,4)
+% plot(f(2:ifft/2),pz(2:ifft/2))
+% xlim([0 0.15])
+% ylabel('TZ')
+% grid on
+% 
+% subplot(3,2,5)
+% plot(Sum(istart:iend))
+% ylabel('SUM')
+% grid on
+% subplot(3,2,6)
+% plot(Q(istart:iend))
+% ylabel('TX')
+% grid on
+% suptitle(['BPM' num2str(num) '  Xmoy=' num2str(xm) '  Zmoy=' num2str(zm)]);
Index: /trunk/machine/SOLEIL/Booster/applications/getbpm_stuff.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/getbpm_stuff.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/getbpm_stuff.m	(revision 17)
@@ -0,0 +1,56 @@
+function [X,Z]=toto(num)
+ 
+filename=['../bpm/bpmdata/bpm_' num2str(num)];
+load(filename,'X', 'Z', 'Q', 'Sum', 'Va', 'Vb', 'Vc', 'Vd');
+X;
+end
+% istart = 1;
+% iend = 500;
+% ifft=256;
+
+% xm=0;
+% zm=0;
+% j=0;
+% for i=istart:iend,
+%     xm=xm+X(i);
+%     zm=zm+Z(i);
+%     j=j+1;
+%     tx(j)=X(i);
+%     tz(j)=Z(i);
+% end
+% xm=xm/(iend-istart);
+% zm=zm/(iend-istart)
+% fx=fft(tx,ifft);px=fx.*conj(fx)/ifft;
+% fz=fft(tz,ifft);pz=fz.*conj(fz)/ifft;
+% f = (0:ifft/2)/ifft;
+
+% figure(1)
+% subplot(3,2,1)
+% plot(X(istart:iend))
+% ylabel('X')
+% grid on
+% subplot(3,2,2)
+% plot(Z(istart:iend))
+% ylabel('Z')
+% grid on
+% 
+% subplot(3,2,3)
+% plot(f(2:ifft/2),px(2:ifft/2))
+% xlim([0 0.15])
+% ylabel('TX')
+% grid on
+% subplot(3,2,4)
+% plot(f(2:ifft/2),pz(2:ifft/2))
+% xlim([0 0.15])
+% ylabel('TZ')
+% grid on
+% 
+% subplot(3,2,5)
+% plot(Sum(istart:iend))
+% ylabel('SUM')
+% grid on
+% subplot(3,2,6)
+% plot(Q(istart:iend))
+% ylabel('TX')
+% grid on
+% suptitle(['BPM' num2str(num) '  Xmoy=' num2str(xm) '  Zmoy=' num2str(zm)]);
Index: /trunk/machine/SOLEIL/Booster/applications/getcur.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/getcur.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/getcur.m	(revision 17)
@@ -0,0 +1,20 @@
+%  plot energ
+
+dt=0.0001;
+tinj=0.0308;
+[D1 D2 QF QD time]=gettrackingdata('nodisplay');
+tf=QF./(D1+D2)*2;
+td=QD./(D1+D2)*2;
+n1=int16(tinj/dt)
+n2=length(time);
+Dm=mean(D1(n2-100: n2));
+QFm=mean(QF(n2-100: n2));
+QDm=mean(QD(n2-100: n2));
+tfm=QFm./Dm;
+tdm=QDm./Dm;
+tf=1-tf/tfm;
+td=1-td/tdm;
+figure (20)
+plot(time(n1:n2),tf(n1:n2),time(n1:n2),td(n1:n2))
+
+sprintf('courant injection DI =%g  QF = %G  QD = %g  ' ,D1(n1) , QF(n1) , QD(n1) )
Index: /trunk/machine/SOLEIL/Booster/applications/getcurrent.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/getcurrent.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/getcurrent.m	(revision 17)
@@ -0,0 +1,56 @@
+% read current from alim
+
+% D1=current1(:,1);
+% D2=current1(:,2);
+% QF=current1(:,3);
+% QD=current1(:,4);
+% time=0:0.000016666:0.333316;
+% plot(time,current1(:,1))
+% save 'current' time D1 D2 QF QD;
+
+load 'current' time D1 D2 QF QD;
+
+n0=1000;  % pour filtrage
+n1=int16(0.0005/0.0000166666);
+nl=12*4;
+n2=length(time)/2-nl;
+
+clear D1f D2f QFf QDf
+for i=1:n2 
+    D1f(i)=0.07;
+    D2f(i)=0.07;
+    QFf(i)=0.05868;
+    QDf(i)=0.04315;
+    for j=1:nl
+       D1f(i) = D1f(i) - D1(i+j)/nl;
+       D2f(i) = D2f(i) - D2(i+j)/nl;
+       QFf(i) = QFf(i) - QF(i+j)/nl;
+       QDf(i) = QDf(i) - QD(i+j)/nl;    
+    end
+end    
+%plot(D1s(n1:(n1+100)))
+
+% fx=fft(D1);fx(n0:n2)=0;
+% Df1=real(ifft(fx));
+% fx=fft(D2);fx(n0:n2)=0;
+% Df2=real(ifft(fx));
+% fx=fft(QF);fx(n0:n2)=0;
+% QFf=real(ifft(fx));
+% fx=fft(QD);fx(n0:n2)=0;
+% QDf=real(ifft(fx));
+ 
+
+Df=(D1f+D2f)/2;
+length(Df)
+length(QFf)
+TF=QFf./Df;TF=(TF/TF(n2)-1)*100;
+TD=QDf./Df;TD=(TD/TD(n2)-1)*100;
+Ddot=diff(Df)/0.0000166666;Ddot(length(Ddot)+1) = 0;
+S=Ddot./Df;
+
+figure(1)
+subplot(2,1,1)
+plot(time(n1:n2),TF(n1:n2),time(n1:n2),TD(n1:n2))
+subplot(2,1,2)
+plot(  time(n1:n2),S(n1:n2) )
+ 
Index: /trunk/machine/SOLEIL/Booster/applications/getperte_pos_dim.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/getperte_pos_dim.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/getperte_pos_dim.m	(revision 17)
@@ -0,0 +1,28 @@
+% profil de perte
+
+function [estimates, model] = fitprofil(xdata, ydata)
+% Call fminsearch with a random starting point.
+start_point = [1 2]; % sig et zb
+model = @expfun;
+estimates = fminsearch(model, start_point);
+% expfun accepts curve parameters as inputs, and outputs sse,
+% the sum of squares error for A * exp(-lambda * xdata) - ydata, 
+% and the FittedCurve. FMINSEARCH only needs sse, but we want to 
+% plot the FittedCurve at the end.
+    function [sse, FittedCurve] = expfun(params)
+        sig = params(1);
+        zb  = params(2);
+        z0m =5;
+        z   =xdata
+        for z0=-z0m:1:z0m
+           gauss=exp(-0.5*((z-z0-zb)/sig).^2);
+           profil=profil + gauss;
+        end
+        
+        FittedCurve = profil;
+        ErrorVector = FittedCurve - ydata;
+        sse = sum(ErrorVector .^ 2);
+    end
+end
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/hs_err_pid25356.log
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/hs_err_pid25356.log	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/hs_err_pid25356.log	(revision 17)
@@ -0,0 +1,1182 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  Internal Error (53484152454432554E54494D450E43505001A1), pid=25356, tid=126262192
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
+
+---------------  T H R E A D  ---------------
+
+Current thread (0xa8c5f550):  JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=25416]
+
+Stack: [0x077e9000,0x0786a000),  sp=0x0965f04c,  free space=31192k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+V  [libjvm.so+0x2dcf73]
+V  [libjvm.so+0x119d6c]
+V  [libjvm.so+0x285854]
+V  [libjvm.so+0x258d7c]
+C  [libmwjmi.so+0x19f60]
+C  [libmwbridge.so+0x19d0b]
+
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0xa7f6a538 JavaThread "Thread-24" [_thread_blocked, id=11047]
+  0xa7603df8 JavaThread "Thread-21" [_thread_blocked, id=27311]
+  0xa76038c8 JavaThread "Prefs Updater" [_thread_blocked, id=27310]
+  0x09bd13d0 JavaThread "Thread-20" [_thread_blocked, id=25443]
+  0x0983c958 JavaThread "Text-Layout" [_thread_blocked, id=25435]
+  0xa882adc8 JavaThread "Thread-13" [_thread_blocked, id=25432]
+  0xa88280d0 JavaThread "Thread-12" [_thread_blocked, id=25431]
+  0xa8825fa8 JavaThread "Thread-11" [_thread_blocked, id=25430]
+  0xa8822ac0 JavaThread "Thread-10" [_thread_blocked, id=25429]
+  0xa881e768 JavaThread "Thread-9" [_thread_blocked, id=25428]
+  0xa88136e0 JavaThread "Thread-8" [_thread_blocked, id=25427]
+  0xa880ec08 JavaThread "Thread-7" [_thread_blocked, id=25426]
+  0xa8809110 JavaThread "Thread-6" [_thread_blocked, id=25425]
+  0xa8cfd2e0 JavaThread "Thread-5" [_thread_blocked, id=25424]
+  0xa8cf3fc0 JavaThread "Thread-4" [_thread_blocked, id=25423]
+  0xa8ce2ca8 JavaThread "Thread-3" [_thread_blocked, id=25421]
+  0x099ab7e0 JavaThread "TimerQueue" daemon [_thread_blocked, id=25419]
+=>0xa8c5f550 JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=25416]
+  0xa8c5f0d0 JavaThread "AWT-Shutdown" [_thread_blocked, id=25415]
+  0xa8c5baf8 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=25414]
+  0xa8c545a0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=25413]
+  0xaa2351d8 JavaThread "Timer-0" [_thread_blocked, id=25412]
+  0xaa201890 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=25409]
+  0xaa200470 JavaThread "CompilerThread0" daemon [_thread_blocked, id=25408]
+  0x096de0c0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=25407]
+  0x096d4030 JavaThread "Finalizer" daemon [_thread_blocked, id=25406]
+  0x096d3320 JavaThread "Reference Handler" daemon [_thread_blocked, id=25405]
+  0x09677e98 JavaThread "main" [_thread_blocked, id=25356]
+
+Other Threads:
+  0x096cf020 VMThread [id=25404]
+  0xaa202f30 WatcherThread [id=25411]
+
+VM state:synchronizing (normal execution)
+
+VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
+[0x09677260/0x09677288] Safepoint_lock - owner thread: 0x096cf020
+[0x096772e0/0x09677308] Threads_lock - owner thread: 0x096cf020
+[0x09677730/0x09677748] Heap_lock - owner thread: 0x09677e98
+
+Heap
+ def new generation   total 14912K, used 13369K [0xaa350000, 0xab370000, 0xabb50000)
+  eden space 13312K, 100% used [0xaa350000, 0xab050000, 0xab050000)
+  from space 1600K,   3% used [0xab050000, 0xab05e718, 0xab1e0000)
+  to   space 1600K,   0% used [0xab1e0000, 0xab1e0000, 0xab370000)
+ tenured generation   total 49152K, used 19956K [0xabb50000, 0xaeb50000, 0xb0350000)
+   the space 49152K,  40% used [0xabb50000, 0xacecd188, 0xacecd200, 0xaeb50000)
+ compacting perm gen  total 20992K, used 20848K [0xb0350000, 0xb17d0000, 0xb2350000)
+   the space 20992K,  99% used [0xb0350000, 0xb17ac040, 0xb17ac200, 0xb17d0000)
+No shared spaces configured.
+
+Dynamic libraries:
+00111000-0023c000 r-xp 00000000 00:13 1704681    /usr/Local/matlab2006a_pre/bin/glnx86/libmwservices.so
+0023c000-00255000 rw-p 0012a000 00:13 1704681    /usr/Local/matlab2006a_pre/bin/glnx86/libmwservices.so
+00255000-00269000 rw-p 00255000 00:00 0 
+00269000-00279000 r-xp 00000000 00:13 1704675    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmvalue.so
+00279000-0027c000 rw-p 0000f000 00:13 1704675    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmvalue.so
+0027c000-00284000 r-xp 00000000 00:13 2934748    /usr/Local/matlab2006a_pre/sys/os/glnx86/libgcc_s.so.1
+00284000-00285000 rw-p 00007000 00:13 2934748    /usr/Local/matlab2006a_pre/sys/os/glnx86/libgcc_s.so.1
+00285000-0028d000 r-xp 00000000 fd:00 4767819    /lib/tls/librt-2.3.4.so
+0028d000-0028f000 rw-p 00007000 fd:00 4767819    /lib/tls/librt-2.3.4.so
+0028f000-00299000 rw-p 0028f000 00:00 0 
+00299000-002a2000 r-xp 00000000 00:13 1163833    /usr/Local/matlab2006a_pre/bin/glnx86/libicuio.so.32
+002a2000-002a4000 rw-p 00008000 00:13 1163833    /usr/Local/matlab2006a_pre/bin/glnx86/libicuio.so.32
+002a4000-002b1000 r-xp 00000000 00:13 1188631    /usr/Local/matlab2006a_pre/bin/glnx86/libz.so
+002b1000-002b3000 rw-p 0000d000 00:13 1188631    /usr/Local/matlab2006a_pre/bin/glnx86/libz.so
+002b3000-002b6000 r-xp 00000000 00:13 1814654    /usr/Local/matlab2006a_pre/sys/os/glnx86/libtermcap.so
+002b6000-002b7000 rw-p 00002000 00:13 1814654    /usr/Local/matlab2006a_pre/sys/os/glnx86/libtermcap.so
+002b7000-002bf000 r-xp 00000000 00:13 1163838    /usr/Local/matlab2006a_pre/bin/glnx86/libmat.so
+002bf000-002c1000 rw-p 00007000 00:13 1163838    /usr/Local/matlab2006a_pre/bin/glnx86/libmat.so
+002c1000-002c7000 r-xp 00000000 00:13 1704689    /usr/Local/matlab2006a_pre/bin/glnx86/libmwuinone.so
+002c7000-002c8000 rw-p 00005000 00:13 1704689    /usr/Local/matlab2006a_pre/bin/glnx86/libmwuinone.so
+002c8000-002e1000 r-xp 00000000 00:13 2361470    /usr/Local/matlab2006a_pre/bin/glnx86/libmwdatasvcs.so
+002e1000-002e5000 rw-p 00018000 00:13 2361470    /usr/Local/matlab2006a_pre/bin/glnx86/libmwdatasvcs.so
+002e5000-002e6000 r--p 002e5000 00:00 0 
+002e6000-0038a000 r-xp 00000000 00:13 86455      /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_dispatcher.so
+0038a000-00399000 rw-p 000a4000 00:13 86455      /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_dispatcher.so
+00399000-0039a000 rw-p 00399000 00:00 0 
+0039a000-0044a000 r-xp 00000000 00:13 1814652    /usr/Local/matlab2006a_pre/sys/os/glnx86/libstdc++.so.6
+0044a000-00462000 rw-p 000af000 00:13 1814652    /usr/Local/matlab2006a_pre/sys/os/glnx86/libstdc++.so.6
+00462000-00467000 rw-p 00462000 00:00 0 
+00467000-0052a000 r-xp 00000000 00:13 1163836    /usr/Local/matlab2006a_pre/bin/glnx86/libicuuc.so.32
+0052a000-0053d000 rw-p 000c2000 00:13 1163836    /usr/Local/matlab2006a_pre/bin/glnx86/libicuuc.so.32
+0053d000-0053e000 rw-p 0053d000 00:00 0 
+0053e000-0063c000 r-xp 00000000 00:13 1163830    /usr/Local/matlab2006a_pre/bin/glnx86/libicui18n.so.32
+0063c000-0065a000 rw-p 000fd000 00:13 1163830    /usr/Local/matlab2006a_pre/bin/glnx86/libicui18n.so.32
+0065a000-0065b000 rw-p 0065a000 00:00 0 
+0065b000-006e2000 r-xp 00000000 00:13 2183569    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmathutil.so
+006e2000-006e9000 rw-p 00086000 00:13 2183569    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmathutil.so
+006e9000-006ea000 rw-p 006e9000 00:00 0 
+006ea000-006eb000 r-xp 00000000 00:13 140767     /usr/Local/matlab2006a_pre/bin/glnx86/libMTwister.so
+006eb000-006ec000 rw-p 00001000 00:13 140767     /usr/Local/matlab2006a_pre/bin/glnx86/libMTwister.so
+006ec000-006f6000 r-xp 00000000 00:13 86447      /usr/Local/matlab2006a_pre/bin/glnx86/libmwir_xfmr.so
+006f6000-006f7000 rw-p 0000a000 00:13 86447      /usr/Local/matlab2006a_pre/bin/glnx86/libmwir_xfmr.so
+006f7000-006f8000 r-xp 00000000 fd:00 3965897    /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
+006f8000-006f9000 rw-p 00000000 fd:00 3965897    /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
+006f9000-006fa000 r-xp 00000000 00:13 3283445    /usr/Local/matlab2006a_pre/bin/glnx86/libnativeservices.so
+006fa000-006fb000 rw-p 00000000 00:13 3283445    /usr/Local/matlab2006a_pre/bin/glnx86/libnativeservices.so
+006fb000-00719000 r-xp 00000000 00:13 2183573    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmcr.so
+00719000-0071d000 rw-p 0001d000 00:13 2183573    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmcr.so
+0071d000-0071f000 rw-p 0071d000 00:00 0 
+0071f000-007b2000 r-xp 00000000 00:13 1704685    /usr/Local/matlab2006a_pre/bin/glnx86/libmwudd.so
+007b2000-007d3000 rw-p 00092000 00:13 1704685    /usr/Local/matlab2006a_pre/bin/glnx86/libmwudd.so
+007d3000-007d4000 rw-p 007d3000 00:00 0 
+007d4000-007fd000 r-xp 00000000 00:13 1188622    /usr/Local/matlab2006a_pre/bin/glnx86/libuij.so
+007fd000-00804000 rw-p 00028000 00:13 1188622    /usr/Local/matlab2006a_pre/bin/glnx86/libuij.so
+00804000-00830000 r-xp 00000000 00:13 86441      /usr/Local/matlab2006a_pre/bin/glnx86/libmwhardcopy.so
+00830000-00834000 rw-p 0002b000 00:13 86441      /usr/Local/matlab2006a_pre/bin/glnx86/libmwhardcopy.so
+00834000-00835000 rw-p 00834000 00:00 0 
+00835000-00842000 r-xp 00000000 fd:00 3863186    /usr/X11R6/lib/libXext.so.6.4
+00842000-00843000 rw-p 0000c000 fd:00 3863186    /usr/X11R6/lib/libXext.so.6.4
+00843000-0084a000 r-xp 00000000 fd:00 3857961    /usr/X11R6/lib/libXp.so.6.2
+0084a000-0084b000 rw-p 00006000 fd:00 3857961    /usr/X11R6/lib/libXp.so.6.2
+0084b000-0084f000 r-xp 00000000 00:13 2361468    /usr/Local/matlab2006a_pre/bin/glnx86/libmwcolamd.so
+0084f000-00850000 rw-p 00003000 00:13 2361468    /usr/Local/matlab2006a_pre/bin/glnx86/libmwcolamd.so
+00850000-00852000 r-xp 00000000 00:13 3283439    /usr/Local/matlab2006a_pre/bin/glnx86/libnativejava.so
+00852000-00853000 rw-p 00001000 00:13 3283439    /usr/Local/matlab2006a_pre/bin/glnx86/libnativejava.so
+00854000-00869000 r-xp 00000000 fd:00 4767758    /lib/ld-2.3.4.so
+00869000-0086a000 r--p 00015000 fd:00 4767758    /lib/ld-2.3.4.so
+0086a000-0086b000 rw-p 00016000 fd:00 4767758    /lib/ld-2.3.4.so
+0086b000-0086c000 r-xp 00000000 00:13 3283443    /usr/Local/matlab2006a_pre/bin/glnx86/libnativemlint.so
+0086c000-0086d000 rw-p 00000000 00:13 3283443    /usr/Local/matlab2006a_pre/bin/glnx86/libnativemlint.so
+0086d000-00991000 r-xp 00000000 fd:00 4767771    /lib/tls/libc-2.3.4.so
+00991000-00992000 r--p 00124000 fd:00 4767771    /lib/tls/libc-2.3.4.so
+00992000-00995000 rw-p 00125000 fd:00 4767771    /lib/tls/libc-2.3.4.so
+00995000-00997000 rw-p 00995000 00:00 0 
+00997000-00998000 r-xp 00000000 00:13 2676866    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjawt.so
+00998000-00999000 rw-p 00000000 00:13 2676866    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjawt.so
+00999000-0099b000 r-xp 00000000 fd:00 4767777    /lib/libdl-2.3.4.so
+0099b000-0099d000 rw-p 00001000 fd:00 4767777    /lib/libdl-2.3.4.so
+0099d000-0099e000 r-xp 00000000 00:17 1361002    /home/matlabML/at/at/simulator/element/IdentityPass.mexglx
+0099e000-0099f000 rw-p 00000000 00:17 1361002    /home/matlabML/at/at/simulator/element/IdentityPass.mexglx
+0099f000-009c0000 r-xp 00000000 fd:00 4767794    /lib/tls/libm-2.3.4.so
+009c0000-009c2000 rw-p 00020000 fd:00 4767794    /lib/tls/libm-2.3.4.so
+009c2000-009c6000 r-xp 00000000 00:13 2361456    /usr/Local/matlab2006a_pre/bin/glnx86/libmwamd.so
+009c6000-009c7000 rw-p 00003000 00:13 2361456    /usr/Local/matlab2006a_pre/bin/glnx86/libmwamd.so
+009c7000-009c8000 r-xp 00000000 00:13 1163827    /usr/Local/matlab2006a_pre/bin/glnx86/libicudata.so.32
+009c8000-009c9000 rw-p 00000000 00:13 1163827    /usr/Local/matlab2006a_pre/bin/glnx86/libicudata.so.32
+009c9000-009d1000 r-xp 00000000 fd:00 3855258    /usr/X11R6/lib/libSM.so.6.0
+009d1000-009d2000 rw-p 00007000 fd:00 3855258    /usr/X11R6/lib/libSM.so.6.0
+009d2000-009d9000 r-xp 00000000 fd:00 3863197    /usr/X11R6/lib/libXrender.so.1.2.2
+009d9000-009da000 rw-p 00006000 fd:00 3863197    /usr/X11R6/lib/libXrender.so.1.2.2
+009da000-009ed000 r-xp 00000000 00:13 2183567    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_pcodeio.so
+009ed000-009ef000 rw-p 00013000 00:13 2183567    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_pcodeio.so
+009ef000-00a1c000 r-xp 00000000 00:13 86453      /usr/Local/matlab2006a_pre/bin/glnx86/libmwlapack.so
+00a1c000-00a1f000 rw-p 0002c000 00:13 86453      /usr/Local/matlab2006a_pre/bin/glnx86/libmwlapack.so
+00a1f000-00a28000 r-xp 00000000 fd:00 4767792    /lib/libnss_files-2.3.4.so
+00a28000-00a2a000 rw-p 00008000 fd:00 4767792    /lib/libnss_files-2.3.4.so
+00a30000-00a3a000 r-xp 00000000 00:13 1163840    /usr/Local/matlab2006a_pre/bin/glnx86/libmex.so
+00a3a000-00a3c000 rw-p 0000a000 00:13 1163840    /usr/Local/matlab2006a_pre/bin/glnx86/libmex.so
+00a3c000-00a44000 r-xp 00000000 fd:00 3863210    /usr/X11R6/lib/libXcursor.so.1.0.2
+00a44000-00a45000 rw-p 00007000 fd:00 3863210    /usr/X11R6/lib/libXcursor.so.1.0.2
+00a45000-00a4b000 r-xp 00000000 00:13 2619407    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads/libhpi.so
+00a4b000-00a4c000 rw-p 00006000 00:13 2619407    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads/libhpi.so
+00a4c000-00a4d000 r-xp 00000000 00:17 1360994    /home/matlabML/at/at/simulator/element/DriftPass.mexglx
+00a4d000-00a4e000 rw-p 00000000 00:17 1360994    /home/matlabML/at/at/simulator/element/DriftPass.mexglx
+00a4e000-00a62000 r-xp 00000000 00:13 2183565    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_pcodegen.so
+00a62000-00a65000 rw-p 00013000 00:13 2183565    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_pcodegen.so
+00a65000-00a7a000 r-xp 00000000 fd:00 3855167    /usr/X11R6/lib/libICE.so.6.3
+00a7a000-00a7b000 rw-p 00014000 fd:00 3855167    /usr/X11R6/lib/libICE.so.6.3
+00a7b000-00a7d000 rw-p 00a7b000 00:00 0 
+00a7d000-00a88000 r-xp 00000000 00:13 2619402    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libverify.so
+00a88000-00a89000 rw-p 0000b000 00:13 2619402    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libverify.so
+00a89000-00a9e000 r-xp 00000000 00:13 2183578    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmpath.so
+00a9e000-00aa1000 rw-p 00015000 00:13 2183578    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmpath.so
+00aa1000-00aa3000 rw-p 00aa1000 00:00 0 
+00aa3000-00aa4000 r-xp 00000000 00:17 1360990    /home/matlabML/at/at/simulator/element/CorrectorPass.mexglx
+00aa4000-00aa5000 rw-p 00001000 00:17 1360990    /home/matlabML/at/at/simulator/element/CorrectorPass.mexglx
+00aa5000-00ab3000 r-xp 00000000 fd:00 4767817    /lib/tls/libpthread-2.3.4.so
+00ab3000-00ab5000 rw-p 0000d000 fd:00 4767817    /lib/tls/libpthread-2.3.4.so
+00ab5000-00ab7000 rw-p 00ab5000 00:00 0 
+00ab7000-00b9e000 r-xp 00000000 00:13 2183571    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmcos.so
+00b9e000-00bc2000 rw-p 000e6000 00:13 2183571    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmcos.so
+00bc2000-00bd4000 r-xp 00000000 fd:00 4767773    /lib/libnsl-2.3.4.so
+00bd4000-00bd6000 rw-p 00011000 fd:00 4767773    /lib/libnsl-2.3.4.so
+00bd6000-00bd8000 rw-p 00bd6000 00:00 0 
+00bd8000-00bda000 r-xp 00000000 00:13 2312817    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/datevecmx.mexglx
+00bda000-00bdb000 rw-p 00001000 00:13 2312817    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/datevecmx.mexglx
+00bdb000-00bfc000 r-xp 00000000 00:13 2361460    /usr/Local/matlab2006a_pre/bin/glnx86/libmwbridge.so
+00bfc000-00c02000 rw-p 00021000 00:13 2361460    /usr/Local/matlab2006a_pre/bin/glnx86/libmwbridge.so
+00c02000-00c0b000 rw-p 00c02000 00:00 0 
+00c0b000-00cd0000 r-xp 00000000 00:13 2183563    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_parser.so
+00cd0000-00df8000 rw-p 000c4000 00:13 2183563    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_parser.so
+00df8000-00e12000 r-xp 00000000 00:13 2934746    /usr/Local/matlab2006a_pre/sys/os/glnx86/libg2c.so.0
+00e12000-00e14000 rw-p 00019000 00:13 2934746    /usr/Local/matlab2006a_pre/sys/os/glnx86/libg2c.so.0
+00e14000-00e16000 rw-p 00e14000 00:00 0 
+00e17000-00e46000 r-xp 00000000 00:13 86449      /usr/Local/matlab2006a_pre/bin/glnx86/libmwjmi.so
+00e46000-00e4d000 rw-p 0002f000 00:13 86449      /usr/Local/matlab2006a_pre/bin/glnx86/libmwjmi.so
+00e4d000-00e4e000 rw-p 00e4d000 00:00 0 
+00e4e000-00e61000 r-xp 00000000 00:13 2619403    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libzip.so
+00e61000-00e63000 rw-p 00012000 00:13 2619403    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libzip.so
+00e63000-00e66000 r-xp 00000000 00:13 2312822    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/private/dtstr2dtnummx.mexglx
+00e66000-00e67000 rw-p 00002000 00:13 2312822    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/private/dtstr2dtnummx.mexglx
+00e67000-00e68000 r-xp 00000000 00:17 479978     /home/matlabML/at/at/simulator/element/AperturePass.mexglx
+00e68000-00e69000 rw-p 00000000 00:17 479978     /home/matlabML/at/at/simulator/element/AperturePass.mexglx
+00e69000-00eb1000 r-xp 00000000 00:13 3283435    /usr/Local/matlab2006a_pre/bin/glnx86/libmx.so
+00eb1000-00eb7000 rw-p 00048000 00:13 3283435    /usr/Local/matlab2006a_pre/bin/glnx86/libmx.so
+00eb7000-00eee000 r-xp 00000000 00:13 2361464    /usr/Local/matlab2006a_pre/bin/glnx86/libmwcholmod.so
+00eee000-00eef000 rw-p 00037000 00:13 2361464    /usr/Local/matlab2006a_pre/bin/glnx86/libmwcholmod.so
+00eef000-00ef5000 r-xp 00000000 00:13 2619399    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnio.so
+00ef5000-00ef6000 rw-p 00005000 00:13 2619399    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnio.so
+00ef7000-00f9e000 r-xp 00000000 00:13 1188624    /usr/Local/matlab2006a_pre/bin/glnx86/libut.so
+00f9e000-00fb5000 rw-p 000a7000 00:13 1188624    /usr/Local/matlab2006a_pre/bin/glnx86/libut.so
+00fb5000-00fe4000 rw-p 00fb5000 00:00 0 
+00fe4000-013e4000 r-xp 00000000 00:13 2183559    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_interpreter.so
+013e4000-0144f000 rw-p 00400000 00:13 2183559    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_interpreter.so
+0144f000-014a4000 rw-p 0144f000 00:00 0 
+014a4000-0151e000 r-xp 00000000 00:13 2183561    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_ir.so
+0151e000-0153a000 rw-p 0007a000 00:13 2183561    /usr/Local/matlab2006a_pre/bin/glnx86/libmwm_ir.so
+0153a000-01545000 rw-p 0153a000 00:00 0 
+01545000-015cc000 r-xp 00000000 00:13 140773     /usr/Local/matlab2006a_pre/bin/glnx86/libfftw3.so.3
+015cc000-015d5000 rw-p 00087000 00:13 140773     /usr/Local/matlab2006a_pre/bin/glnx86/libfftw3.so.3
+015d5000-0165b000 r-xp 00000000 00:13 140776     /usr/Local/matlab2006a_pre/bin/glnx86/libfftw3f.so.3
+0165b000-01664000 rw-p 00085000 00:13 140776     /usr/Local/matlab2006a_pre/bin/glnx86/libfftw3f.so.3
+01664000-016b3000 r-xp 00000000 00:13 1704693    /usr/Local/matlab2006a_pre/bin/glnx86/libmwumfpack.so
+016b3000-016b5000 rw-p 0004e000 00:13 1704693    /usr/Local/matlab2006a_pre/bin/glnx86/libmwumfpack.so
+016b5000-016fa000 r-xp 00000000 00:13 2361451    /usr/Local/matlab2006a_pre/bin/glnx86/libmkl.so
+016fa000-016fb000 rw-p 00044000 00:13 2361451    /usr/Local/matlab2006a_pre/bin/glnx86/libmkl.so
+016fb000-01708000 rw-p 016fb000 00:00 0 
+01708000-01af2000 r-xp 00000000 00:13 2757173    /usr/Local/matlab2006a_pre/bin/glnx86/lapack.so
+01af2000-01af4000 rw-p 003e9000 00:13 2757173    /usr/Local/matlab2006a_pre/bin/glnx86/lapack.so
+01af4000-01bf8000 rw-p 01af4000 00:00 0 
+01bf8000-01c01000 rwxp 01bf8000 00:00 0 
+01c01000-01c04000 rwxp 01c01000 00:00 0 
+01c04000-01c1c000 rwxp 01c04000 00:00 0 
+01c1c000-01c28000 rwxp 01c1c000 00:00 0 
+01c28000-01c33000 rwxp 01c28000 00:00 0 
+01c33000-01c38000 rwxp 01c33000 00:00 0 
+01c38000-01c39000 rwxp 01c38000 00:00 0 
+01c39000-01c3a000 ---p 01c39000 00:00 0 
+01c3a000-01cba000 rwxp 01c3a000 00:00 0 
+01cba000-01cbd000 ---p 01cba000 00:00 0 
+01cbd000-01d3b000 rwxp 01cbd000 00:00 0 
+01d3b000-01d3e000 ---p 01d3b000 00:00 0 
+01d3e000-01dbc000 rwxp 01d3e000 00:00 0 
+01dbc000-01dbd000 ---p 01dbc000 00:00 0 
+01dbd000-01e3d000 rwxp 01dbd000 00:00 0 
+01e3d000-01eb1000 r-xp 00000000 00:13 2676850    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libawt.so
+01eb1000-01eb7000 rw-p 00074000 00:13 2676850    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libawt.so
+01eb7000-01edb000 rw-p 01eb7000 00:00 0 
+01edb000-01eef000 r-xp 00000000 00:13 2619398    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnet.so
+01eef000-01ef0000 rw-p 00013000 00:13 2619398    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnet.so
+01ef0000-01ef6000 r-xp 00000000 00:13 3283441    /usr/Local/matlab2006a_pre/bin/glnx86/libnativelex.so
+01ef6000-01ef7000 rw-p 00005000 00:13 3283441    /usr/Local/matlab2006a_pre/bin/glnx86/libnativelex.so
+01f0b000-01f11000 r-xp 00000000 00:13 3283437    /usr/Local/matlab2006a_pre/bin/glnx86/libnativehg.so
+01f11000-01f12000 rw-p 00005000 00:13 3283437    /usr/Local/matlab2006a_pre/bin/glnx86/libnativehg.so
+01f12000-01f18000 r-xp 00000000 00:13 2718620    /usr/Local/matlab2006a_pre/toolbox/matlab/graph2d/private/lineseriesmex.mexglx
+01f18000-01f1a000 rw-p 00005000 00:13 2718620    /usr/Local/matlab2006a_pre/toolbox/matlab/graph2d/private/lineseriesmex.mexglx
+01f1a000-01f23000 r-xp 00000000 fd:00 3965449    /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
+01f23000-01f24000 rw-p 00008000 fd:00 3965449    /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
+01f24000-01f27000 r-xp 00000000 00:13 2312824    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/private/dtstr2dtvecmx.mexglx
+01f27000-01f28000 rw-p 00002000 00:13 2312824    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/private/dtstr2dtvecmx.mexglx
+01f28000-01f2a000 r-xp 00000000 00:13 2312828    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/private/getmonthnamesmx.mexglx
+01f2a000-01f2b000 rw-p 00001000 00:13 2312828    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/private/getmonthnamesmx.mexglx
+01f2b000-01f2d000 r-xp 00000000 00:17 1464036    /home/matlabML/at/at/simulator/element/QuadLinearPass.mexglx
+01f2d000-01f2e000 rw-p 00001000 00:17 1464036    /home/matlabML/at/at/simulator/element/QuadLinearPass.mexglx
+01f2e000-01f30000 r-xp 00000000 00:13 3209587    /usr/Local/matlab2006a_pre/toolbox/matlab/datafun/sortcellchar.mexglx
+01f30000-01f31000 rw-p 00001000 00:13 3209587    /usr/Local/matlab2006a_pre/toolbox/matlab/datafun/sortcellchar.mexglx
+01f31000-01f33000 r-xp 00000000 00:17 1464044    /home/matlabML/at/at/simulator/element/StrMPoleSymplectic4Pass.mexglx
+01f33000-01f34000 rw-p 00001000 00:17 1464044    /home/matlabML/at/at/simulator/element/StrMPoleSymplectic4Pass.mexglx
+01f34000-01f36000 r-xp 00000000 00:17 479994     /home/matlabML/at/at/simulator/element/CavityPass.mexglx
+01f36000-01f37000 rw-p 00001000 00:17 479994     /home/matlabML/at/at/simulator/element/CavityPass.mexglx
+01f3f000-01f42000 ---p 01f3f000 00:00 0 
+01f42000-01fc0000 rwxp 01f42000 00:00 0 
+01fc0000-02086000 r-xp 00000000 00:13 2619396    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libmlib_image.so
+02086000-02087000 rw-p 000c5000 00:13 2619396    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libmlib_image.so
+02087000-0208a000 ---p 02087000 00:00 0 
+0208a000-02108000 rwxp 0208a000 00:00 0 
+02108000-0210b000 ---p 02108000 00:00 0 
+0210b000-02189000 rwxp 0210b000 00:00 0 
+02189000-021a1000 r-xp 00000000 00:13 2676852    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libdcpr.so
+021a1000-021b4000 rw-p 00018000 00:13 2676852    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libdcpr.so
+021ba000-02347000 r-xp 00000000 00:13 2934744    /usr/Local/matlab2006a_pre/sys/os/glnx86/libXm.so.2
+02347000-0235b000 rw-p 0018c000 00:13 2934744    /usr/Local/matlab2006a_pre/sys/os/glnx86/libXm.so.2
+0235b000-0235c000 rw-p 0235b000 00:00 0 
+0235c000-0235f000 rwxp 0235c000 00:00 0 
+0235f000-023dd000 rwxp 0235f000 00:00 0 
+023dd000-023e0000 ---p 023dd000 00:00 0 
+023e0000-0245e000 rwxp 023e0000 00:00 0 
+0245e000-02461000 ---p 0245e000 00:00 0 
+02461000-024df000 rwxp 02461000 00:00 0 
+024df000-024e2000 ---p 024df000 00:00 0 
+024e2000-02560000 rwxp 024e2000 00:00 0 
+025ab000-025ae000 ---p 025ab000 00:00 0 
+025ae000-0262c000 rwxp 025ae000 00:00 0 
+0262c000-0262f000 ---p 0262c000 00:00 0 
+0262f000-026ad000 rwxp 0262f000 00:00 0 
+026ad000-026b0000 ---p 026ad000 00:00 0 
+026b0000-0272e000 rwxp 026b0000 00:00 0 
+0277d000-02797000 r-xp 00000000 fd:00 3965442    /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
+02797000-02799000 rw-p 0001a000 fd:00 3965442    /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
+02799000-0279c000 ---p 02799000 00:00 0 
+0279c000-0281a000 rwxp 0279c000 00:00 0 
+0281a000-0281d000 ---p 0281a000 00:00 0 
+0281d000-0289b000 rwxp 0281d000 00:00 0 
+0289b000-0289e000 ---p 0289b000 00:00 0 
+0289e000-0291c000 rwxp 0289e000 00:00 0 
+0291c000-0291f000 rwxp 0291c000 00:00 0 
+0291f000-0299d000 rwxp 0291f000 00:00 0 
+029b2000-02baa000 r-xp 00000000 00:13 1704677    /usr/Local/matlab2006a_pre/bin/glnx86/libmwnumerics.so
+02baa000-02bba000 rw-p 001f8000 00:13 1704677    /usr/Local/matlab2006a_pre/bin/glnx86/libmwnumerics.so
+02bba000-02c48000 r-xp 00000000 00:13 2361462    /usr/Local/matlab2006a_pre/bin/glnx86/libmwbuiltins.so
+02c48000-02c5b000 rw-p 0008e000 00:13 2361462    /usr/Local/matlab2006a_pre/bin/glnx86/libmwbuiltins.so
+02c5b000-02c5d000 rw-p 02c5b000 00:00 0 
+02d4e000-02d51000 ---p 02d4e000 00:00 0 
+02d51000-02dcf000 rwxp 02d51000 00:00 0 
+02e18000-02e8b000 r-xp 00000000 00:13 2676855    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libfontmanager.so
+02e8b000-02e95000 rw-p 00073000 00:13 2676855    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libfontmanager.so
+02e95000-02e99000 rw-p 02e95000 00:00 0 
+02ef2000-02f63000 r-xp 00000000 00:13 1704695    /usr/Local/matlab2006a_pre/bin/glnx86/libmwxmlcore.so
+02f63000-02f74000 rw-p 00071000 00:13 1704695    /usr/Local/matlab2006a_pre/bin/glnx86/libmwxmlcore.so
+02f74000-02f77000 ---p 02f74000 00:00 0 
+02f77000-02ff5000 rwxp 02f77000 00:00 0 
+03074000-03077000 ---p 03074000 00:00 0 
+03077000-030f5000 rwxp 03077000 00:00 0 
+03261000-03264000 rwxp 03261000 00:00 0 
+03264000-032e2000 rwxp 03264000 00:00 0 
+032ef000-03303000 rwxp 032ef000 00:00 0 
+03303000-0336f000 rwxp 03303000 00:00 0 
+03398000-033b9000 r-xp 00000000 00:13 2676861    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjava.so
+033b9000-033bb000 rw-p 00020000 00:13 2676861    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjava.so
+035d6000-035d9000 rwxp 035d6000 00:00 0 
+035d9000-03657000 rwxp 035d9000 00:00 0 
+03657000-0365a000 rwxp 03657000 00:00 0 
+0365a000-036d8000 rwxp 0365a000 00:00 0 
+036f0000-037cb000 r-xp 00000000 fd:00 3861290    /usr/X11R6/lib/libX11.so.6.2
+037cb000-037cf000 rw-p 000db000 fd:00 3861290    /usr/X11R6/lib/libX11.so.6.2
+0398d000-03990000 ---p 0398d000 00:00 0 
+03990000-03a0e000 rwxp 03990000 00:00 0 
+03a0e000-03a11000 rwxp 03a0e000 00:00 0 
+03a11000-03a8f000 rwxp 03a11000 00:00 0 
+03aa1000-03aac000 rwxp 03aa1000 00:00 0 
+03aac000-03ab2000 rwxp 03aac000 00:00 0 
+03af1000-03b0a000 rwxp 03af1000 00:00 0 
+03b0a000-03b19000 rwxp 03b0a000 00:00 0 
+03b19000-03b97000 rwxp 03b19000 00:00 0 
+03b97000-03bc0000 r-xp 00000000 00:13 1163822    /usr/Local/matlab2006a_pre/bin/glnx86/libguide.so
+03bc0000-03bc2000 rw-p 00028000 00:13 1163822    /usr/Local/matlab2006a_pre/bin/glnx86/libguide.so
+03bc2000-03bc7000 rw-p 03bc2000 00:00 0 
+03bc7000-03bc8000 ---p 03bc7000 00:00 0 
+03bc8000-045c8000 rwxp 03bc8000 00:00 0 
+045c8000-045c9000 ---p 045c8000 00:00 0 
+045c9000-04fc9000 rwxp 045c9000 00:00 0 
+04fc9000-04fcc000 rwxp 04fc9000 00:00 0 
+04fcc000-0504a000 rwxp 04fcc000 00:00 0 
+0504a000-0504d000 rwxp 0504a000 00:00 0 
+0504d000-050cb000 rwxp 0504d000 00:00 0 
+050cb000-050ce000 rwxp 050cb000 00:00 0 
+050ce000-0514c000 rwxp 050ce000 00:00 0 
+0514c000-0514f000 rwxp 0514c000 00:00 0 
+0514f000-051cd000 rwxp 0514f000 00:00 0 
+051cd000-051d0000 rwxp 051cd000 00:00 0 
+051d0000-0524e000 rwxp 051d0000 00:00 0 
+0524e000-05251000 ---p 0524e000 00:00 0 
+05251000-052cf000 rwxp 05251000 00:00 0 
+052eb000-05372000 r-xp 00000000 00:13 86439      /usr/Local/matlab2006a_pre/bin/glnx86/libmwgui.so
+05372000-053b1000 rw-p 00087000 00:13 86439      /usr/Local/matlab2006a_pre/bin/glnx86/libmwgui.so
+054e6000-054e9000 ---p 054e6000 00:00 0 
+054e9000-05567000 rwxp 054e9000 00:00 0 
+0561b000-0561d000 r-xp 00000000 00:13 2312815    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/datenummx.mexglx
+0561d000-0561e000 rw-p 00001000 00:13 2312815    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/datenummx.mexglx
+056e0000-056e3000 rwxp 056e0000 00:00 0 
+056e3000-05761000 rwxp 056e3000 00:00 0 
+05866000-05876000 r-xp 00000000 00:13 86451      /usr/Local/matlab2006a_pre/bin/glnx86/libmwjmi_mi.so
+05876000-05879000 rw-p 00010000 00:13 86451      /usr/Local/matlab2006a_pre/bin/glnx86/libmwjmi_mi.so
+058b3000-0590d000 r-xp 00000000 00:13 1704687    /usr/Local/matlab2006a_pre/bin/glnx86/libmwudd_mi.so
+0590d000-0591b000 rw-p 00059000 00:13 1704687    /usr/Local/matlab2006a_pre/bin/glnx86/libmwudd_mi.so
+0591b000-0591c000 rw-p 0591b000 00:00 0 
+05b51000-05b9e000 r-xp 00000000 fd:00 3851141    /usr/X11R6/lib/libXt.so.6.0
+05b9e000-05ba2000 rw-p 0004c000 fd:00 3851141    /usr/X11R6/lib/libXt.so.6.0
+05ba2000-05ec1000 r-xp 00000000 00:13 277594     /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so
+05ec1000-05edf000 rw-p 0031e000 00:13 277594     /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so
+05edf000-062f4000 rw-p 05edf000 00:00 0 
+067a7000-067d1000 r-xp 00000000 00:13 2183575    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmlib.so
+067d1000-06828000 rw-p 00029000 00:13 2183575    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmlib.so
+068da000-068dc000 r-xp 00000000 00:13 2312826    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/private/getampmtokensmx.mexglx
+068dc000-068dd000 rw-p 00001000 00:13 2312826    /usr/Local/matlab2006a_pre/toolbox/matlab/timefun/private/getampmtokensmx.mexglx
+069ca000-06ca8000 r-xp 00000000 00:13 1188627    /usr/Local/matlab2006a_pre/bin/glnx86/libxerces-c.so.26
+06ca8000-06d23000 rw-p 002de000 00:13 1188627    /usr/Local/matlab2006a_pre/bin/glnx86/libxerces-c.so.26
+06e24000-06fc4000 r-xp 00000000 00:13 86443      /usr/Local/matlab2006a_pre/bin/glnx86/libmwhg.so
+06fc4000-07016000 rw-p 0019f000 00:13 86443      /usr/Local/matlab2006a_pre/bin/glnx86/libmwhg.so
+07016000-07019000 rw-p 07016000 00:00 0 
+07129000-0712c000 ---p 07129000 00:00 0 
+0712c000-071aa000 rwxp 0712c000 00:00 0 
+0720c000-0720f000 ---p 0720c000 00:00 0 
+0720f000-0728d000 rwxp 0720f000 00:00 0 
+073d2000-073d5000 ---p 073d2000 00:00 0 
+073d5000-07453000 rwxp 073d5000 00:00 0 
+07472000-07475000 ---p 07472000 00:00 0 
+07475000-074f3000 rwxp 07475000 00:00 0 
+0768b000-076af000 r-xp 00000000 00:13 2183577    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmlint.so
+076af000-076b4000 rw-p 00023000 00:13 2183577    /usr/Local/matlab2006a_pre/bin/glnx86/libmwmlint.so
+076b4000-076bb000 rw-p 076b4000 00:00 0 
+077e9000-077ec000 ---p 077e9000 00:00 0 
+077ec000-0786a000 rwxp 077ec000 00:00 0 
+07888000-0788b000 rwxp 07888000 00:00 0 
+0788b000-07909000 rwxp 0788b000 00:00 0 
+079df000-079e1000 r-xp 00000000 00:17 664653     /home/matlabML/at/at/simulator/track/atpass.mexglx
+079e1000-079e2000 rw-p 00001000 00:17 664653     /home/matlabML/at/at/simulator/track/atpass.mexglx
+079e7000-079ea000 ---p 079e7000 00:00 0 
+079ea000-07a68000 rwxp 079ea000 00:00 0 
+07ae3000-07ae6000 r-xp 00000000 00:17 479982     /home/matlabML/at/at/simulator/element/BendLinearPass.mexglx
+07ae6000-07ae7000 rw-p 00002000 00:17 479982     /home/matlabML/at/at/simulator/element/BendLinearPass.mexglx
+07d40000-07e5e000 r-xp 00000000 00:13 1704691    /usr/Local/matlab2006a_pre/bin/glnx86/libmwuix.so
+07e5e000-07e74000 rw-p 0011e000 00:13 1704691    /usr/Local/matlab2006a_pre/bin/glnx86/libmwuix.so
+07e74000-07e78000 rw-p 07e74000 00:00 0 
+07ebf000-07ef4000 r-xp 00000000 00:13 2619413    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so
+07ef4000-07ef8000 rw-p 00034000 00:13 2619413    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so
+07f5d000-07f60000 ---p 07f5d000 00:00 0 
+07f60000-07fde000 rwxp 07f60000 00:00 0 
+08048000-0804a000 r-xp 00000000 00:13 2757158    /usr/Local/matlab2006a_pre/bin/glnx86/MATLAB
+0804a000-0804b000 rw-p 00001000 00:13 2757158    /usr/Local/matlab2006a_pre/bin/glnx86/MATLAB
+0804b000-0804c000 ---p 0804b000 00:00 0 
+0804c000-08a4c000 rwxp 0804c000 00:00 0 
+08a4c000-08e18000 r-xp 00000000 00:13 2361455    /usr/Local/matlab2006a_pre/bin/glnx86/libmkl_p4p.so
+08e18000-08eb6000 rw-p 003cc000 00:13 2361455    /usr/Local/matlab2006a_pre/bin/glnx86/libmkl_p4p.so
+08eb6000-08ec3000 rw-p 08eb6000 00:00 0 
+0954e000-097c3000 rw-p 0954e000 00:00 0 
+097c3000-097c5000 rwxp 097c3000 00:00 0 
+097c5000-09875000 rw-p 097c5000 00:00 0 
+09875000-09876000 rwxp 09875000 00:00 0 
+09876000-09b8a000 rw-p 09876000 00:00 0 
+09b8a000-09b8b000 rwxp 09b8a000 00:00 0 
+09b8b000-09c2e000 rw-p 09b8b000 00:00 0 
+09c2e000-09c2f000 rwxp 09c2e000 00:00 0 
+09c2f000-09c52000 rw-p 09c2f000 00:00 0 
+09c52000-09c53000 rwxp 09c52000 00:00 0 
+09c53000-09cb0000 rw-p 09c53000 00:00 0 
+09cb0000-09cb1000 rwxp 09cb0000 00:00 0 
+09cb1000-09cd7000 rw-p 09cb1000 00:00 0 
+09cd7000-09cd8000 rwxp 09cd7000 00:00 0 
+09cd8000-09cf2000 rw-p 09cd8000 00:00 0 
+09cf2000-09cf3000 rwxp 09cf2000 00:00 0 
+09cf3000-09cf6000 rw-p 09cf3000 00:00 0 
+09cf6000-09cf7000 rwxp 09cf6000 00:00 0 
+09cf7000-09d59000 rw-p 09cf7000 00:00 0 
+09d59000-09d5a000 rwxp 09d59000 00:00 0 
+09d5a000-09d7d000 rw-p 09d5a000 00:00 0 
+09d7d000-09d7f000 rwxp 09d7d000 00:00 0 
+09d7f000-09da8000 rw-p 09d7f000 00:00 0 
+09da8000-09da9000 rwxp 09da8000 00:00 0 
+09da9000-09ea6000 rw-p 09da9000 00:00 0 
+09ea6000-09ea8000 rwxp 09ea6000 00:00 0 
+09ea8000-09ebd000 rw-p 09ea8000 00:00 0 
+09ebd000-09ec0000 rwxp 09ebd000 00:00 0 
+09ec0000-09ec3000 rw-p 09ec0000 00:00 0 
+09ec3000-09ec6000 rwxp 09ec3000 00:00 0 
+09ec6000-0a036000 rw-p 09ec6000 00:00 0 
+0a036000-0a037000 rwxp 0a036000 00:00 0 
+0a037000-0a12a000 rw-p 0a037000 00:00 0 
+0a12a000-0a12b000 rwxp 0a12a000 00:00 0 
+0a12b000-0a150000 rw-p 0a12b000 00:00 0 
+0a150000-0a152000 rwxp 0a150000 00:00 0 
+0a152000-0a19b000 rw-p 0a152000 00:00 0 
+0a19b000-0a19c000 rwxp 0a19b000 00:00 0 
+0a19c000-0a211000 rw-p 0a19c000 00:00 0 
+0a211000-0a212000 rwxp 0a211000 00:00 0 
+0a212000-0a213000 rw-p 0a212000 00:00 0 
+0a213000-0a214000 rwxp 0a213000 00:00 0 
+0a214000-0a222000 rw-p 0a214000 00:00 0 
+0a222000-0a22e000 rwxp 0a222000 00:00 0 
+0a22e000-0a2a6000 rw-p 0a22e000 00:00 0 
+0a2a6000-0a2a8000 rwxp 0a2a6000 00:00 0 
+0a2a8000-0a3cf000 rw-p 0a2a8000 00:00 0 
+0a3cf000-0a3d1000 rwxp 0a3cf000 00:00 0 
+0a3d1000-0a3d2000 rw-p 0a3d1000 00:00 0 
+0a3d2000-0a3d3000 rwxp 0a3d2000 00:00 0 
+0a3d3000-0a3d4000 rw-p 0a3d3000 00:00 0 
+0a3d4000-0a3d6000 rwxp 0a3d4000 00:00 0 
+0a3d6000-0a3e2000 rw-p 0a3d6000 00:00 0 
+0a3e2000-0a3e4000 rwxp 0a3e2000 00:00 0 
+0a3e4000-0a455000 rw-p 0a3e4000 00:00 0 
+0a455000-0a456000 rwxp 0a455000 00:00 0 
+0a456000-0a459000 rw-p 0a456000 00:00 0 
+0a459000-0a45b000 rwxp 0a459000 00:00 0 
+0a45b000-0a5c5000 rw-p 0a45b000 00:00 0 
+0a5c5000-0a5c8000 rwxp 0a5c5000 00:00 0 
+0a5c8000-0a5e0000 rw-p 0a5c8000 00:00 0 
+0a5e0000-0a5e2000 rwxp 0a5e0000 00:00 0 
+0a5e2000-0a5e4000 rw-p 0a5e2000 00:00 0 
+0a5e4000-0a5e5000 rwxp 0a5e4000 00:00 0 
+0a5e5000-0a5ec000 rw-p 0a5e5000 00:00 0 
+0a5ec000-0a5ed000 rwxp 0a5ec000 00:00 0 
+0a5ed000-0a5f2000 rw-p 0a5ed000 00:00 0 
+0a5f2000-0a5f3000 rwxp 0a5f2000 00:00 0 
+0a5f3000-0a629000 rw-p 0a5f3000 00:00 0 
+0a629000-0a62a000 rwxp 0a629000 00:00 0 
+0a62a000-0a659000 rw-p 0a62a000 00:00 0 
+0a659000-0a65b000 rwxp 0a659000 00:00 0 
+0a65b000-0a69e000 rw-p 0a65b000 00:00 0 
+0a69e000-0a69f000 rwxp 0a69e000 00:00 0 
+0a69f000-0a6bd000 rw-p 0a69f000 00:00 0 
+0a6bd000-0a6bf000 rwxp 0a6bd000 00:00 0 
+0a6bf000-0a6c1000 rw-p 0a6bf000 00:00 0 
+0a6c1000-0a6c2000 rwxp 0a6c1000 00:00 0 
+0a6c2000-0a6c4000 rw-p 0a6c2000 00:00 0 
+0a6c4000-0a6c5000 rwxp 0a6c4000 00:00 0 
+0a6c5000-0a6ca000 rw-p 0a6c5000 00:00 0 
+0a6ca000-0a6cb000 rwxp 0a6ca000 00:00 0 
+0a6cb000-0a6d6000 rw-p 0a6cb000 00:00 0 
+0a6d6000-0a6d8000 rwxp 0a6d6000 00:00 0 
+0a6d8000-0a716000 rw-p 0a6d8000 00:00 0 
+0a716000-0a718000 rwxp 0a716000 00:00 0 
+0a718000-0a71d000 rw-p 0a718000 00:00 0 
+0a71d000-0a71f000 rwxp 0a71d000 00:00 0 
+0a71f000-0a728000 rw-p 0a71f000 00:00 0 
+0a728000-0a729000 rwxp 0a728000 00:00 0 
+0a729000-0a733000 rw-p 0a729000 00:00 0 
+0a733000-0a736000 rwxp 0a733000 00:00 0 
+0a736000-0a74b000 rw-p 0a736000 00:00 0 
+0a74b000-0a74c000 rwxp 0a74b000 00:00 0 
+0a74c000-0a777000 rw-p 0a74c000 00:00 0 
+0a777000-0a778000 rwxp 0a777000 00:00 0 
+0a778000-0a77d000 rw-p 0a778000 00:00 0 
+0a77d000-0a781000 rwxp 0a77d000 00:00 0 
+0a781000-0a8b5000 rw-p 0a781000 00:00 0 
+a6d40000-a6d58000 rw-p a6d40000 00:00 0 
+a6d58000-a6d5a000 rwxp a6d58000 00:00 0 
+a6d5a000-a6db7000 rw-p a6d5a000 00:00 0 
+a6db7000-a6db8000 rwxp a6db7000 00:00 0 
+a6db8000-a6dcf000 rw-p a6db8000 00:00 0 
+a6dcf000-a6dd0000 rwxp a6dcf000 00:00 0 
+a6dd0000-a6e09000 rw-p a6dd0000 00:00 0 
+a6e09000-a6e0a000 rwxp a6e09000 00:00 0 
+a6e0a000-a6e0e000 rw-p a6e0a000 00:00 0 
+a6e0e000-a6e0f000 rwxp a6e0e000 00:00 0 
+a6e0f000-a6e1e000 rw-p a6e0f000 00:00 0 
+a6e1e000-a6e20000 rwxp a6e1e000 00:00 0 
+a6e20000-a6ed0000 rw-p a6e20000 00:00 0 
+a6ed0000-a6f00000 ---p a6ed0000 00:00 0 
+a6f28000-a6ffe000 rw-p a6f28000 00:00 0 
+a6ffe000-a6fff000 rwxp a6ffe000 00:00 0 
+a6fff000-a7008000 rw-p a6fff000 00:00 0 
+a7008000-a7009000 rwxp a7008000 00:00 0 
+a7009000-a7019000 rw-p a7009000 00:00 0 
+a7019000-a701b000 rwxp a7019000 00:00 0 
+a701b000-a7027000 rw-p a701b000 00:00 0 
+a7027000-a7028000 rwxp a7027000 00:00 0 
+a7028000-a702c000 rw-p a7028000 00:00 0 
+a702c000-a702e000 rwxp a702c000 00:00 0 
+a702e000-a7037000 rw-p a702e000 00:00 0 
+a7037000-a7038000 rwxp a7037000 00:00 0 
+a7038000-a7064000 rw-p a7038000 00:00 0 
+a7064000-a7065000 rwxp a7064000 00:00 0 
+a7065000-a707f000 rw-p a7065000 00:00 0 
+a707f000-a7080000 rwxp a707f000 00:00 0 
+a7080000-a7085000 rw-p a7080000 00:00 0 
+a7085000-a7086000 rwxp a7085000 00:00 0 
+a7086000-a708d000 rw-p a7086000 00:00 0 
+a708d000-a708e000 rwxp a708d000 00:00 0 
+a708e000-a70ea000 rw-p a708e000 00:00 0 
+a7112000-a713f000 rw-p a7112000 00:00 0 
+a713f000-a7141000 rwxp a713f000 00:00 0 
+a7141000-a7152000 rw-p a7141000 00:00 0 
+a7190000-a7193000 rw-p a7190000 00:00 0 
+a7193000-a7195000 rwxp a7193000 00:00 0 
+a7195000-a71aa000 rw-p a7195000 00:00 0 
+a71aa000-a71ac000 rwxp a71aa000 00:00 0 
+a71ac000-a71d2000 rw-p a71ac000 00:00 0 
+a71d2000-a71d9000 rwxp a71d2000 00:00 0 
+a71d9000-a71de000 rw-p a71d9000 00:00 0 
+a71de000-a71e2000 rwxp a71de000 00:00 0 
+a71e2000-a7208000 rw-p a71e2000 00:00 0 
+a7208000-a7209000 rwxp a7208000 00:00 0 
+a7209000-a7212000 rw-p a7209000 00:00 0 
+a7239000-a7281000 rw-p a7239000 00:00 0 
+a7281000-a7282000 rwxp a7281000 00:00 0 
+a7282000-a7285000 rw-p a7282000 00:00 0 
+a7285000-a728b000 rwxp a7285000 00:00 0 
+a728b000-a728c000 rw-p a728b000 00:00 0 
+a728c000-a7293000 rwxp a728c000 00:00 0 
+a7293000-a7295000 rw-p a7293000 00:00 0 
+a7295000-a7296000 rwxp a7295000 00:00 0 
+a7296000-a7299000 rw-p a7296000 00:00 0 
+a7299000-a729d000 rwxp a7299000 00:00 0 
+a729d000-a729e000 rw-p a729d000 00:00 0 
+a729e000-a72a1000 rwxp a729e000 00:00 0 
+a72a1000-a72a3000 rw-p a72a1000 00:00 0 
+a72a3000-a72a6000 rwxp a72a3000 00:00 0 
+a72a6000-a72fb000 rw-p a72a6000 00:00 0 
+a733c000-a7344000 rw-p a733c000 00:00 0 
+a7344000-a7345000 rwxp a7344000 00:00 0 
+a7345000-a738b000 rw-p a7345000 00:00 0 
+a738b000-a738d000 rwxp a738b000 00:00 0 
+a738d000-a73fe000 rw-p a738d000 00:00 0 
+a73fe000-a73ff000 rwxp a73fe000 00:00 0 
+a73ff000-a7411000 rw-p a73ff000 00:00 0 
+a7411000-a7413000 rwxp a7411000 00:00 0 
+a7413000-a7419000 rw-p a7413000 00:00 0 
+a7419000-a741a000 rwxp a7419000 00:00 0 
+a741a000-a743d000 rw-p a741a000 00:00 0 
+a743d000-a7457000 rwxp a743d000 00:00 0 
+a7457000-a748b000 rw-p a7457000 00:00 0 
+a748b000-a748c000 rwxp a748b000 00:00 0 
+a748c000-a749e000 rw-p a748c000 00:00 0 
+a749e000-a74a0000 rwxp a749e000 00:00 0 
+a74a0000-a74bf000 rw-p a74a0000 00:00 0 
+a74bf000-a74c0000 rwxp a74bf000 00:00 0 
+a74c0000-a74c2000 rw-p a74c0000 00:00 0 
+a74c2000-a74c4000 rwxp a74c2000 00:00 0 
+a74c4000-a74ca000 rw-p a74c4000 00:00 0 
+a74ca000-a74cc000 rwxp a74ca000 00:00 0 
+a74cc000-a74db000 rw-p a74cc000 00:00 0 
+a74db000-a74e1000 rwxp a74db000 00:00 0 
+a74e1000-a74e2000 rw-p a74e1000 00:00 0 
+a74e2000-a74e7000 rwxp a74e2000 00:00 0 
+a74e7000-a74e9000 rw-p a74e7000 00:00 0 
+a74e9000-a74ea000 rwxp a74e9000 00:00 0 
+a74ea000-a74ec000 rw-p a74ea000 00:00 0 
+a74ec000-a74ee000 rwxp a74ec000 00:00 0 
+a74ee000-a753e000 rw-p a74ee000 00:00 0 
+a753e000-a7542000 rwxp a753e000 00:00 0 
+a7542000-a7543000 rw-p a7542000 00:00 0 
+a7543000-a7547000 rwxp a7543000 00:00 0 
+a7547000-a7548000 rw-p a7547000 00:00 0 
+a7548000-a7549000 rwxp a7548000 00:00 0 
+a7549000-a754b000 rw-p a7549000 00:00 0 
+a754b000-a754d000 rwxp a754b000 00:00 0 
+a754d000-a7551000 rw-p a754d000 00:00 0 
+a7551000-a7553000 rwxp a7551000 00:00 0 
+a7553000-a7554000 rw-p a7553000 00:00 0 
+a7554000-a7555000 rwxp a7554000 00:00 0 
+a7555000-a7557000 rw-p a7555000 00:00 0 
+a7557000-a7558000 rwxp a7557000 00:00 0 
+a7558000-a7559000 rw-p a7558000 00:00 0 
+a7559000-a755a000 rwxp a7559000 00:00 0 
+a755a000-a755b000 rw-p a755a000 00:00 0 
+a755b000-a755c000 rwxp a755b000 00:00 0 
+a755c000-a7560000 rw-p a755c000 00:00 0 
+a7560000-a7562000 rwxp a7560000 00:00 0 
+a7562000-a7564000 rw-p a7562000 00:00 0 
+a7564000-a7568000 rwxp a7564000 00:00 0 
+a7568000-a7569000 rw-p a7568000 00:00 0 
+a7569000-a756b000 rwxp a7569000 00:00 0 
+a756b000-a756c000 rw-p a756b000 00:00 0 
+a756c000-a7572000 rwxp a756c000 00:00 0 
+a7572000-a7573000 rw-p a7572000 00:00 0 
+a7573000-a7578000 rwxp a7573000 00:00 0 
+a7578000-a7579000 rw-p a7578000 00:00 0 
+a7579000-a757a000 rwxp a7579000 00:00 0 
+a757a000-a759e000 rw-p a757a000 00:00 0 
+a759e000-a759f000 rwxp a759e000 00:00 0 
+a759f000-a75c6000 rw-p a759f000 00:00 0 
+a75c6000-a75c7000 rwxp a75c6000 00:00 0 
+a75c7000-a75dc000 rw-p a75c7000 00:00 0 
+a75dc000-a75dd000 rwxp a75dc000 00:00 0 
+a75dd000-a75e3000 rw-p a75dd000 00:00 0 
+a75e3000-a75e4000 rwxp a75e3000 00:00 0 
+a75e4000-a7697000 rw-p a75e4000 00:00 0 
+a7697000-a7699000 rwxp a7697000 00:00 0 
+a7699000-a76ba000 rw-p a7699000 00:00 0 
+a76ba000-a76bb000 rwxp a76ba000 00:00 0 
+a76bb000-a76d7000 rw-p a76bb000 00:00 0 
+a76d7000-a76d9000 rwxp a76d7000 00:00 0 
+a76d9000-a76fe000 rw-p a76d9000 00:00 0 
+a76fe000-a7700000 ---p a76fe000 00:00 0 
+a773f000-a7745000 rw-p a773f000 00:00 0 
+a7745000-a7747000 rwxp a7745000 00:00 0 
+a7747000-a7748000 rw-p a7747000 00:00 0 
+a7748000-a774a000 rwxp a7748000 00:00 0 
+a774a000-a774b000 rw-p a774a000 00:00 0 
+a774b000-a774c000 rwxp a774b000 00:00 0 
+a774c000-a774d000 rw-p a774c000 00:00 0 
+a774d000-a7751000 rwxp a774d000 00:00 0 
+a7751000-a7757000 rw-p a7751000 00:00 0 
+a7757000-a775a000 rwxp a7757000 00:00 0 
+a775a000-a775e000 rw-p a775a000 00:00 0 
+a775e000-a7764000 rwxp a775e000 00:00 0 
+a7764000-a7767000 rw-p a7764000 00:00 0 
+a7767000-a776a000 rwxp a7767000 00:00 0 
+a776a000-a776d000 rw-p a776a000 00:00 0 
+a776d000-a776e000 rwxp a776d000 00:00 0 
+a776e000-a7777000 rw-p a776e000 00:00 0 
+a7777000-a777a000 rwxp a7777000 00:00 0 
+a777a000-a77b3000 rw-p a777a000 00:00 0 
+a77b3000-a77b4000 rwxp a77b3000 00:00 0 
+a77b4000-a77cf000 rw-p a77b4000 00:00 0 
+a77cf000-a77d0000 rwxp a77cf000 00:00 0 
+a77d0000-a78ad000 rw-p a77d0000 00:00 0 
+a78ad000-a78ae000 rwxp a78ad000 00:00 0 
+a78ae000-a793b000 rw-p a78ae000 00:00 0 
+a793b000-a7a00000 ---p a793b000 00:00 0 
+a7a24000-a7a65000 rw-p a7a24000 00:00 0 
+a7a6d000-a7a83000 rw-p a7a6d000 00:00 0 
+a7a83000-a7a84000 rwxp a7a83000 00:00 0 
+a7a84000-a7b0f000 rw-p a7a84000 00:00 0 
+a7b1c000-a7b30000 rw-p a7b1c000 00:00 0 
+a7b30000-a7b31000 rwxp a7b30000 00:00 0 
+a7b31000-a7b40000 rw-p a7b31000 00:00 0 
+a7b40000-a7b42000 rwxp a7b40000 00:00 0 
+a7b42000-a7b76000 rw-p a7b42000 00:00 0 
+a7b76000-a7b77000 rwxp a7b76000 00:00 0 
+a7b77000-a7bdc000 rw-p a7b77000 00:00 0 
+a7bdc000-a7c07000 rwxp a7bdc000 00:00 0 
+a7c07000-a7c0c000 rw-p a7c07000 00:00 0 
+a7c0c000-a7c0d000 rwxp a7c0c000 00:00 0 
+a7c0d000-a7c0e000 rw-p a7c0d000 00:00 0 
+a7c0e000-a7c11000 rwxp a7c0e000 00:00 0 
+a7c11000-a7c12000 rw-p a7c11000 00:00 0 
+a7c12000-a7c13000 rwxp a7c12000 00:00 0 
+a7c13000-a7c14000 rw-p a7c13000 00:00 0 
+a7c14000-a7c15000 rwxp a7c14000 00:00 0 
+a7c15000-a7c16000 rw-p a7c15000 00:00 0 
+a7c16000-a7c17000 rwxp a7c16000 00:00 0 
+a7c17000-a7c18000 rw-p a7c17000 00:00 0 
+a7c18000-a7c19000 rwxp a7c18000 00:00 0 
+a7c19000-a7c1a000 rw-p a7c19000 00:00 0 
+a7c1a000-a7c1c000 rwxp a7c1a000 00:00 0 
+a7c1c000-a7c1f000 rw-p a7c1c000 00:00 0 
+a7c1f000-a7c20000 rwxp a7c1f000 00:00 0 
+a7c20000-a7c44000 rw-p a7c20000 00:00 0 
+a7c44000-a7c45000 rwxp a7c44000 00:00 0 
+a7c45000-a7c53000 rw-p a7c45000 00:00 0 
+a7c53000-a7c54000 rwxp a7c53000 00:00 0 
+a7c54000-a7c5f000 rw-p a7c54000 00:00 0 
+a7c5f000-a7c60000 rwxp a7c5f000 00:00 0 
+a7c60000-a7c68000 rw-p a7c60000 00:00 0 
+a7c68000-a7c69000 rwxp a7c68000 00:00 0 
+a7c69000-a7c70000 rw-p a7c69000 00:00 0 
+a7c70000-a7c71000 rwxp a7c70000 00:00 0 
+a7c71000-a7c83000 rw-p a7c71000 00:00 0 
+a7c83000-a7c85000 rwxp a7c83000 00:00 0 
+a7c85000-a7ccc000 rw-p a7c85000 00:00 0 
+a7ccc000-a7ccd000 rwxp a7ccc000 00:00 0 
+a7ccd000-a7d1e000 rw-p a7ccd000 00:00 0 
+a7d3f000-a7d40000 rw-p a7d3f000 00:00 0 
+a7d40000-a7d42000 rwxp a7d40000 00:00 0 
+a7d42000-a7d52000 rw-p a7d42000 00:00 0 
+a7d52000-a7d53000 rwxp a7d52000 00:00 0 
+a7d53000-a7d81000 rw-p a7d53000 00:00 0 
+a7d81000-a7d87000 rwxp a7d81000 00:00 0 
+a7d87000-a7d89000 rw-p a7d87000 00:00 0 
+a7d89000-a7d8b000 rwxp a7d89000 00:00 0 
+a7d8b000-a7d91000 rw-p a7d8b000 00:00 0 
+a7d91000-a7d94000 rwxp a7d91000 00:00 0 
+a7d94000-a7db9000 rw-p a7d94000 00:00 0 
+a7db9000-a7dba000 rwxp a7db9000 00:00 0 
+a7dba000-a7dbc000 rw-p a7dba000 00:00 0 
+a7dbc000-a7dbf000 rwxp a7dbc000 00:00 0 
+a7dbf000-a7e12000 rw-p a7dbf000 00:00 0 
+a7e12000-a7e13000 rwxp a7e12000 00:00 0 
+a7e13000-a7e1a000 rw-p a7e13000 00:00 0 
+a7e1a000-a7e1b000 rwxp a7e1a000 00:00 0 
+a7e1b000-a7e44000 rw-p a7e1b000 00:00 0 
+a7e44000-a7e45000 rwxp a7e44000 00:00 0 
+a7e45000-a7e92000 rw-p a7e45000 00:00 0 
+a7e92000-a7e93000 rwxp a7e92000 00:00 0 
+a7e93000-a7ecd000 rw-p a7e93000 00:00 0 
+a7ecd000-a7ece000 rwxp a7ecd000 00:00 0 
+a7ece000-a7edb000 rw-p a7ece000 00:00 0 
+a7edb000-a7edc000 rwxp a7edb000 00:00 0 
+a7edc000-a7ee5000 rw-p a7edc000 00:00 0 
+a7ee5000-a7ee6000 rwxp a7ee5000 00:00 0 
+a7ee6000-a7efc000 rw-p a7ee6000 00:00 0 
+a7efc000-a7efe000 rwxp a7efc000 00:00 0 
+a7efe000-a7f16000 rw-p a7efe000 00:00 0 
+a7f16000-a7f17000 rwxp a7f16000 00:00 0 
+a7f17000-a7ffa000 rw-p a7f17000 00:00 0 
+a7ffa000-a8000000 ---p a7ffa000 00:00 0 
+a8000000-a800e000 rw-p a8000000 00:00 0 
+a800e000-a800f000 rwxp a800e000 00:00 0 
+a800f000-a8016000 rw-p a800f000 00:00 0 
+a8016000-a8017000 rwxp a8016000 00:00 0 
+a8017000-a8032000 rw-p a8017000 00:00 0 
+a8032000-a8033000 rwxp a8032000 00:00 0 
+a8033000-a809e000 rw-p a8033000 00:00 0 
+a809e000-a809f000 rwxp a809e000 00:00 0 
+a809f000-a8177000 rw-p a809f000 00:00 0 
+a8177000-a8178000 rwxp a8177000 00:00 0 
+a8178000-a819a000 rw-p a8178000 00:00 0 
+a819a000-a819c000 rwxp a819a000 00:00 0 
+a819c000-a819f000 rw-p a819c000 00:00 0 
+a819f000-a81a0000 rwxp a819f000 00:00 0 
+a81a0000-a81a9000 rw-p a81a0000 00:00 0 
+a81a9000-a81aa000 rwxp a81a9000 00:00 0 
+a81aa000-a81de000 rw-p a81aa000 00:00 0 
+a81de000-a81df000 rwxp a81de000 00:00 0 
+a81df000-a81fd000 rw-p a81df000 00:00 0 
+a81fd000-a8200000 ---p a81fd000 00:00 0 
+a823f000-a8283000 rw-p a823f000 00:00 0 
+a8283000-a8284000 rwxp a8283000 00:00 0 
+a8284000-a8286000 rw-p a8284000 00:00 0 
+a8286000-a8288000 rwxp a8286000 00:00 0 
+a8288000-a8291000 rw-p a8288000 00:00 0 
+a8291000-a8292000 rwxp a8291000 00:00 0 
+a8292000-a829b000 rw-p a8292000 00:00 0 
+a829b000-a829d000 rwxp a829b000 00:00 0 
+a829d000-a82a3000 rw-p a829d000 00:00 0 
+a82a3000-a82a4000 rwxp a82a3000 00:00 0 
+a82a4000-a82a5000 rw-p a82a4000 00:00 0 
+a82a5000-a82a6000 rwxp a82a5000 00:00 0 
+a82a6000-a82aa000 rw-p a82a6000 00:00 0 
+a82aa000-a82ab000 rwxp a82aa000 00:00 0 
+a82ab000-a82c0000 rw-p a82ab000 00:00 0 
+a82c0000-a82c2000 rwxp a82c0000 00:00 0 
+a82c2000-a82e3000 rw-p a82c2000 00:00 0 
+a82e3000-a82e4000 rwxp a82e3000 00:00 0 
+a82e4000-a82f0000 rw-p a82e4000 00:00 0 
+a82f0000-a82f2000 rwxp a82f0000 00:00 0 
+a82f2000-a833b000 rw-p a82f2000 00:00 0 
+a833b000-a833d000 rwxp a833b000 00:00 0 
+a833d000-a834c000 rw-p a833d000 00:00 0 
+a834c000-a834d000 rwxp a834c000 00:00 0 
+a834d000-a8374000 rw-p a834d000 00:00 0 
+a8374000-a8376000 rwxp a8374000 00:00 0 
+a8376000-a83a4000 rw-p a8376000 00:00 0 
+a83a4000-a83a6000 rwxp a83a4000 00:00 0 
+a83a6000-a83ae000 rw-p a83a6000 00:00 0 
+a83ae000-a83af000 rwxp a83ae000 00:00 0 
+a83af000-a83c8000 rw-p a83af000 00:00 0 
+a83c8000-a83c9000 rwxp a83c8000 00:00 0 
+a83c9000-a83dd000 rw-p a83c9000 00:00 0 
+a83dd000-a83de000 rwxp a83dd000 00:00 0 
+a83de000-a83e0000 rw-p a83de000 00:00 0 
+a83e0000-a83e2000 rwxp a83e0000 00:00 0 
+a83e2000-a83e8000 rw-p a83e2000 00:00 0 
+a83e8000-a83e9000 rwxp a83e8000 00:00 0 
+a83e9000-a83f3000 rw-p a83e9000 00:00 0 
+a83f3000-a83f4000 rwxp a83f3000 00:00 0 
+a83f4000-a83f5000 rw-p a83f4000 00:00 0 
+a83f5000-a83f7000 rwxp a83f5000 00:00 0 
+a83f7000-a84f9000 rw-p a83f7000 00:00 0 
+a84f9000-a8500000 ---p a84f9000 00:00 0 
+a853e000-a8544000 rw-p a853e000 00:00 0 
+a8544000-a854a000 rwxp a8544000 00:00 0 
+a854a000-a854c000 rw-p a854a000 00:00 0 
+a854c000-a8550000 rwxp a854c000 00:00 0 
+a8550000-a8554000 rw-p a8550000 00:00 0 
+a8554000-a8558000 rwxp a8554000 00:00 0 
+a8558000-a8559000 rw-p a8558000 00:00 0 
+a8559000-a855a000 rwxp a8559000 00:00 0 
+a855a000-a855b000 rw-p a855a000 00:00 0 
+a855b000-a8563000 rwxp a855b000 00:00 0 
+a8563000-a8564000 rw-p a8563000 00:00 0 
+a8564000-a8566000 rwxp a8564000 00:00 0 
+a8566000-a8569000 rw-p a8566000 00:00 0 
+a8569000-a856a000 rwxp a8569000 00:00 0 
+a856a000-a856b000 rw-p a856a000 00:00 0 
+a856b000-a8577000 rwxp a856b000 00:00 0 
+a8577000-a8578000 rw-p a8577000 00:00 0 
+a8578000-a857e000 rwxp a8578000 00:00 0 
+a857e000-a8587000 rw-p a857e000 00:00 0 
+a8587000-a8589000 rwxp a8587000 00:00 0 
+a8589000-a868b000 rw-p a8589000 00:00 0 
+a868b000-a868d000 rwxp a868b000 00:00 0 
+a868d000-a86d2000 rw-p a868d000 00:00 0 
+a86d2000-a86d3000 rwxp a86d2000 00:00 0 
+a86d3000-a86f3000 rw-p a86d3000 00:00 0 
+a86f3000-a8700000 ---p a86f3000 00:00 0 
+a873b000-a877c000 rw-p a873b000 00:00 0 
+a877c000-a877d000 rwxp a877c000 00:00 0 
+a877d000-a8780000 rw-p a877d000 00:00 0 
+a8780000-a8785000 rwxp a8780000 00:00 0 
+a8785000-a8787000 rw-p a8785000 00:00 0 
+a8787000-a8788000 rwxp a8787000 00:00 0 
+a8788000-a878a000 rw-p a8788000 00:00 0 
+a878a000-a878d000 rwxp a878a000 00:00 0 
+a878d000-a878e000 rw-p a878d000 00:00 0 
+a878e000-a878f000 rwxp a878e000 00:00 0 
+a878f000-a8790000 rw-p a878f000 00:00 0 
+a8790000-a8791000 rwxp a8790000 00:00 0 
+a8791000-a8792000 rw-p a8791000 00:00 0 
+a8792000-a8793000 rwxp a8792000 00:00 0 
+a8793000-a8794000 rw-p a8793000 00:00 0 
+a8794000-a8795000 rwxp a8794000 00:00 0 
+a8795000-a8796000 rw-p a8795000 00:00 0 
+a8796000-a87a3000 rwxp a8796000 00:00 0 
+a87a3000-a87a4000 rw-p a87a3000 00:00 0 
+a87a4000-a87aa000 rwxp a87a4000 00:00 0 
+a87aa000-a87ab000 rw-p a87aa000 00:00 0 
+a87ab000-a87b0000 rwxp a87ab000 00:00 0 
+a87b0000-a87b1000 rw-p a87b0000 00:00 0 
+a87b1000-a87b8000 rwxp a87b1000 00:00 0 
+a87b8000-a87ba000 rw-p a87b8000 00:00 0 
+a87ba000-a87bb000 rwxp a87ba000 00:00 0 
+a87bb000-a8900000 rw-p a87bb000 00:00 0 
+a891f000-a8925000 rw-p a891f000 00:00 0 
+a8925000-a8928000 rwxp a8925000 00:00 0 
+a8928000-a8929000 rw-p a8928000 00:00 0 
+a8929000-a892b000 rwxp a8929000 00:00 0 
+a892b000-a892e000 rw-p a892b000 00:00 0 
+a892e000-a892f000 rwxp a892e000 00:00 0 
+a892f000-a8932000 rw-p a892f000 00:00 0 
+a8932000-a8934000 rwxp a8932000 00:00 0 
+a8934000-a8935000 rw-p a8934000 00:00 0 
+a8935000-a8938000 rwxp a8935000 00:00 0 
+a8938000-a8939000 rw-p a8938000 00:00 0 
+a8939000-a893b000 rwxp a8939000 00:00 0 
+a893b000-a893d000 rw-p a893b000 00:00 0 
+a893d000-a893f000 rwxp a893d000 00:00 0 
+a893f000-a8940000 rw-p a893f000 00:00 0 
+a8940000-a8947000 rwxp a8940000 00:00 0 
+a8947000-a8948000 rw-p a8947000 00:00 0 
+a8948000-a894c000 rwxp a8948000 00:00 0 
+a894c000-a894e000 rw-p a894c000 00:00 0 
+a894e000-a8951000 rwxp a894e000 00:00 0 
+a8951000-a8954000 rw-p a8951000 00:00 0 
+a8954000-a8958000 rwxp a8954000 00:00 0 
+a8958000-a8959000 rw-p a8958000 00:00 0 
+a8959000-a895c000 rwxp a8959000 00:00 0 
+a895c000-a8960000 rw-p a895c000 00:00 0 
+a8960000-a8b07000 r--s 00000000 00:13 2381405    /usr/Local/matlab2006a_pre/java/jarext/xercesImpl.jar
+a8b07000-a8b22000 r--s 00000000 00:13 2381406    /usr/Local/matlab2006a_pre/java/jarext/xml-apis.jar
+a8b22000-a8c00000 r--s 00000000 00:13 2381403    /usr/Local/matlab2006a_pre/java/jarext/xalan.jar
+a8c00000-a8d00000 rw-p a8c00000 00:00 0 
+a8d3e000-a8d59000 r--s 00000000 00:13 2381402    /usr/Local/matlab2006a_pre/java/jarext/wsdl4j.jar
+a8d59000-a8d6c000 r--s 00000000 00:13 2381400    /usr/Local/matlab2006a_pre/java/jarext/vb20.jar
+a8d6c000-a8e05000 r--s 00000000 00:13 3236182    /usr/Local/matlab2006a_pre/java/jarext/saxon.jar
+a8e05000-a8e0a000 r--s 00000000 00:13 3236181    /usr/Local/matlab2006a_pre/java/jarext/saaj.jar
+a8e0a000-a8e25000 r--s 00000000 00:13 3236180    /usr/Local/matlab2006a_pre/java/jarext/mwucarunits.jar
+a8e25000-a8ed2000 r--s 00000000 00:13 3236179    /usr/Local/matlab2006a_pre/java/jarext/mail.jar
+a8ed2000-a8f25000 r--s 00000000 00:13 3236178    /usr/Local/matlab2006a_pre/java/jarext/looks-1.3.2.jar
+a8f25000-a8f43000 r--s 00000000 00:13 3236177    /usr/Local/matlab2006a_pre/java/jarext/junit.jar
+a8f43000-a8f4c000 r--s 00000000 00:13 3236176    /usr/Local/matlab2006a_pre/java/jarext/jaxrpc.jar
+a8f4c000-a8f58000 r--s 00000000 00:13 3236175    /usr/Local/matlab2006a_pre/java/jarext/jaccess-1_4.jar
+a8f58000-a8f7f000 r--s 00000000 00:13 2043133    /usr/Local/matlab2006a_pre/java/jarext/J2PrinterWorks.jar
+a8f7f000-a8fba000 r--s 00000000 00:13 3236174    /usr/Local/matlab2006a_pre/java/jarext/ice/icessl.jar
+a8fba000-a8fbb000 r--s 00000000 00:13 3236173    /usr/Local/matlab2006a_pre/java/jarext/ice/ib6xalan.jar
+a8fbb000-a8fd3000 r--s 00000000 00:13 3236172    /usr/Local/matlab2006a_pre/java/jarext/ice/ib6util.jar
+a8fd3000-a8fe3000 r--s 00000000 00:13 3236171    /usr/Local/matlab2006a_pre/java/jarext/ice/ib6swing.jar
+a8fe3000-a902b000 r--s 00000000 00:13 3236170    /usr/Local/matlab2006a_pre/java/jarext/ice/ib6js.jar
+a902b000-a902c000 r--s 00000000 00:13 3236169    /usr/Local/matlab2006a_pre/java/jarext/ice/ib6https.jar
+a902c000-a9045000 r--s 00000000 00:13 3236168    /usr/Local/matlab2006a_pre/java/jarext/ice/ib6http.jar
+a9045000-a9059000 r--s 00000000 00:13 3236167    /usr/Local/matlab2006a_pre/java/jarext/ice/ib6extra.jar
+a9059000-a90e3000 r--s 00000000 00:13 3236166    /usr/Local/matlab2006a_pre/java/jarext/ice/ib6core.jar
+a90e3000-a9100000 r--s 00000000 00:13 3236164    /usr/Local/matlab2006a_pre/java/jarext/commons-net-1.0.0.jar
+a9100000-a91fd000 rw-p a9100000 00:00 0 
+a91fd000-a9200000 ---p a91fd000 00:00 0 
+a9205000-a920d000 r--s 00000000 00:13 2043152    /usr/Local/matlab2006a_pre/java/jarext/commons-logging.jar
+a920d000-a921f000 r--s 00000000 00:13 2043150    /usr/Local/matlab2006a_pre/java/jarext/commons-discovery.jar
+a921f000-a9226000 r--s 00000000 00:13 2043149    /usr/Local/matlab2006a_pre/java/jarext/commapi/comm.jar
+a9226000-a9266000 r--s 00000000 00:13 2043147    /usr/Local/matlab2006a_pre/java/jarext/collections.jar
+a9266000-a9394000 r--s 00000000 00:13 2043145    /usr/Local/matlab2006a_pre/java/jarext/axis.jar
+a9394000-a93a4000 r--s 00000000 00:13 2043143    /usr/Local/matlab2006a_pre/java/jarext/avalon.jar
+a93a4000-a93ab000 r--s 00000000 00:13 2043142    /usr/Local/matlab2006a_pre/java/jarext/audio.jar
+a93ab000-a94a8000 r--s 00000000 00:13 2043137    /usr/Local/matlab2006a_pre/java/jarext/ant.jar
+a94a8000-a94c3000 r--s 00000000 00:13 2043135    /usr/Local/matlab2006a_pre/java/jarext/activation.jar
+a94c3000-a94cc000 r--s 00000000 00:13 2043134    /usr/Local/matlab2006a_pre/java/jarext/access-bridge.jar
+a94cc000-a94d0000 r--s 00000000 00:13 818784     /usr/Local/matlab2006a_pre/java/jar/xml.jar
+a94d0000-a94ec000 r--s 00000000 00:13 818781     /usr/Local/matlab2006a_pre/java/jar/toolbox/timeseries.jar
+a94ec000-a9519000 r--s 00000000 00:13 818780     /usr/Local/matlab2006a_pre/java/jar/toolbox/testmeas.jar
+a9519000-a9534000 r--s 00000000 00:13 818779     /usr/Local/matlab2006a_pre/java/jar/toolbox/rptgencore.jar
+a9534000-a966e000 r--s 00000000 00:13 818778     /usr/Local/matlab2006a_pre/java/jar/toolbox/instrument.jar
+a966e000-a96a9000 r--s 00000000 00:13 818777     /usr/Local/matlab2006a_pre/java/jar/toolbox/control.jar
+a96a9000-a96af000 r--s 00000000 00:13 818775     /usr/Local/matlab2006a_pre/java/jar/timer.jar
+a96af000-a96be000 r--s 00000000 00:13 818774     /usr/Local/matlab2006a_pre/java/jar/services.jar
+a96be000-a9825000 r--s 00000000 00:13 818773     /usr/Local/matlab2006a_pre/java/jar/page.jar
+a9825000-a982a000 r--s 00000000 00:13 818772     /usr/Local/matlab2006a_pre/java/jar/org/openide.jar
+a982a000-a9944000 r--s 00000000 00:13 818771     /usr/Local/matlab2006a_pre/java/jar/org/netbeans.jar
+a9944000-a9a07000 r--s 00000000 00:13 818769     /usr/Local/matlab2006a_pre/java/jar/mwt.jar
+a9a07000-a9b32000 r--s 00000000 00:13 1279970    /usr/Local/matlab2006a_pre/java/jar/mwswing.jar
+a9b32000-a9c35000 r--s 00000000 00:13 1279969    /usr/Local/matlab2006a_pre/java/jar/mlwidgets.jar
+a9c35000-a9c44000 r--s 00000000 00:13 1279968    /usr/Local/matlab2006a_pre/java/jar/mlservices.jar
+a9c44000-a9da7000 r--s 00000000 00:13 1279967    /usr/Local/matlab2006a_pre/java/jar/mde.jar
+a9da7000-a9dda000 r--s 00000000 00:13 1279966    /usr/Local/matlab2006a_pre/java/jar/jmi.jar
+a9dda000-a9e9a000 r--s 00000000 00:13 1279965    /usr/Local/matlab2006a_pre/java/jar/ide.jar
+a9e9a000-a9f43000 r--s 00000000 00:13 1279964    /usr/Local/matlab2006a_pre/java/jar/ice.jar
+a9f43000-a9fce000 r--s 00000000 00:13 1279963    /usr/Local/matlab2006a_pre/java/jar/hg.jar
+a9fce000-a9fea000 r--s 00000000 00:13 1279962    /usr/Local/matlab2006a_pre/java/jar/beans.jar
+a9fea000-aa019000 r--s 00000000 00:13 1279961    /usr/Local/matlab2006a_pre/java/jar/activation.jar
+aa019000-aa0d0000 r--s 00000000 00:13 818783     /usr/Local/matlab2006a_pre/java/jar/widgets.jar
+aa0d0000-aa0ec000 r--s 00000000 00:13 818782     /usr/Local/matlab2006a_pre/java/jar/util.jar
+aa0ec000-aa117000 r--s 00000000 00:13 2911922    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/ext/sunpkcs11.jar
+aa117000-aa13d000 r--s 00000000 00:13 2911921    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/ext/sunjce_provider.jar
+aa13d000-aa200000 r--s 00000000 00:13 2911920    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/ext/localedata.jar
+aa200000-aa2fd000 rw-p aa200000 00:00 0 
+aa2fd000-aa300000 ---p aa2fd000 00:00 0 
+aa30e000-aa30f000 rw-p aa30e000 00:00 0 
+aa30f000-aa310000 rwxp aa30f000 00:00 0 
+aa310000-aa314000 rw-p aa310000 00:00 0 
+aa314000-aa316000 rwxp aa314000 00:00 0 
+aa316000-aa319000 rw-p aa316000 00:00 0 
+aa319000-aa31c000 rwxp aa319000 00:00 0 
+aa31c000-aa31e000 rw-p aa31c000 00:00 0 
+aa31e000-aa31f000 rwxp aa31e000 00:00 0 
+aa31f000-aa320000 rw-p aa31f000 00:00 0 
+aa320000-aa322000 rwxp aa320000 00:00 0 
+aa322000-aa324000 rw-p aa322000 00:00 0 
+aa324000-aa325000 rwxp aa324000 00:00 0 
+aa325000-aa327000 rw-p aa325000 00:00 0 
+aa327000-aa328000 rwxp aa327000 00:00 0 
+aa328000-aa329000 rw-p aa328000 00:00 0 
+aa329000-aa32a000 rwxp aa329000 00:00 0 
+aa32a000-aa32e000 rw-p aa32a000 00:00 0 
+aa32e000-aa334000 rwxp aa32e000 00:00 0 
+aa334000-aa336000 rw-p aa334000 00:00 0 
+aa336000-aa337000 rwxp aa336000 00:00 0 
+aa337000-aa33a000 rw-p aa337000 00:00 0 
+aa33a000-aa33e000 rwxp aa33a000 00:00 0 
+aa33e000-aa342000 rw-p aa33e000 00:00 0 
+aa342000-aa343000 rwxp aa342000 00:00 0 
+aa343000-aa34e000 rw-p aa343000 00:00 0 
+aa34e000-aa350000 r--s 00000000 00:13 2911919    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/ext/dnsns.jar
+aa350000-ab370000 rwxp aa350000 00:00 0 
+ab370000-abb50000 rwxp ab370000 00:00 0 
+abb50000-aeb50000 rwxp abb50000 00:00 0 
+aeb50000-b0350000 rwxp aeb50000 00:00 0 
+b0350000-b17d0000 rwxp b0350000 00:00 0 
+b17d0000-b2350000 rwxp b17d0000 00:00 0 
+b2358000-b2820000 rwxp b2358000 00:00 0 
+b2820000-b4358000 rwxp b2820000 00:00 0 
+b4358000-b4b76000 r--s 00000000 00:13 2911908    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/charsets.jar
+b4b76000-b4b8a000 r--s 00000000 00:13 2373043    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/jce.jar
+b4b8a000-b4c03000 r--s 00000000 00:13 2373044    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/jsse.jar
+b4c03000-b4c6b000 rw-p b4c03000 00:00 0 
+b4c6b000-b6e26000 r--s 00000000 00:13 1067866    /usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/rt.jar
+b6e26000-b6e2e000 rw-s 00000000 fd:00 1130580    /tmp/hsperfdata_operateur/25356 (deleted)
+b6e2e000-b6e2f000 ---p b6e2e000 00:00 0 
+b6e2f000-b6e32000 rw-p b6e2f000 00:00 0 
+b6e32000-b6e34000 rwxp b6e32000 00:00 0 
+b6e34000-b6e35000 rw-p b6e34000 00:00 0 
+b6e35000-b6e38000 rwxp b6e35000 00:00 0 
+b6e38000-b6e3a000 rw-p b6e38000 00:00 0 
+b6e3a000-b6e3b000 rwxp b6e3a000 00:00 0 
+b6e3b000-b6e3d000 rw-p b6e3b000 00:00 0 
+b6e3d000-b6e42000 rwxp b6e3d000 00:00 0 
+b6e42000-b6e72000 rw-p b6e42000 00:00 0 
+b6e72000-b6e7c000 rwxp b6e72000 00:00 0 
+b6e7c000-b6e7d000 rw-p b6e7c000 00:00 0 
+b6e7d000-b6e82000 rwxp b6e7d000 00:00 0 
+b6e82000-b6eb1000 rw-p b6e82000 00:00 0 
+b6eb1000-b6ee6000 r--s 00000000 fd:00 740386     /var/db/nscd/hosts
+b6ee6000-b6f1b000 r--s 00000000 fd:00 740208     /var/db/nscd/passwd
+b6f1b000-b6f21000 r--s 00000000 fd:00 3883218    /usr/lib/gconv/gconv-modules.cache
+b6f29000-b6f2b000 rw-p b6f29000 00:00 0 
+b6f2b000-b6f2c000 rwxp b6f2b000 00:00 0 
+b6f2c000-b6f60000 rw-p b6f2c000 00:00 0 
+b6f60000-b6f62000 rwxp b6f60000 00:00 0 
+b6f62000-b6f6c000 rw-p b6f62000 00:00 0 
+b6f6c000-b6f6f000 rwxp b6f6c000 00:00 0 
+b6f6f000-b6f70000 rw-p b6f6f000 00:00 0 
+b6f70000-b6f72000 rwxp b6f70000 00:00 0 
+b6f72000-b6f73000 rw-p b6f72000 00:00 0 
+b6f73000-b6f78000 rwxp b6f73000 00:00 0 
+b6f78000-b6f89000 rw-p b6f78000 00:00 0 
+b6f89000-b6f8e000 rwxp b6f89000 00:00 0 
+b6f8e000-b6fc6000 rw-p b6f8e000 00:00 0 
+b6fc6000-b6fc7000 rwxp b6fc6000 00:00 0 
+b6fc7000-b6fde000 rw-p b6fc7000 00:00 0 
+b6fde000-b6fdf000 rwxp b6fde000 00:00 0 
+b6fdf000-b6feb000 rw-p b6fdf000 00:00 0 
+b6feb000-b6ff3000 rwxp b6feb000 00:00 0 
+b6ff3000-b6ff5000 rw-p b6ff3000 00:00 0 
+b6ff5000-b7022000 rwxp b6ff5000 00:00 0 
+b7022000-b7042000 rw-p b7022000 00:00 0 
+b7042000-b7045000 rwxp b7042000 00:00 0 
+b7045000-b704b000 rw-p b7045000 00:00 0 
+b704b000-b704d000 rwxp b704b000 00:00 0 
+b704d000-b7054000 rw-p b704d000 00:00 0 
+b7054000-b7055000 rwxp b7054000 00:00 0 
+b7055000-b705d000 rw-p b7055000 00:00 0 
+b705d000-b705f000 rwxp b705d000 00:00 0 
+b705f000-b7061000 rw-p b705f000 00:00 0 
+b7061000-b7068000 rwxp b7061000 00:00 0 
+b7068000-b7069000 rw-p b7068000 00:00 0 
+b7069000-b706a000 r--p 00250000 fd:00 3861299    /usr/lib/locale/locale-archive
+b706a000-b7142000 r--p 00158000 fd:00 3861299    /usr/lib/locale/locale-archive
+b7142000-b7342000 r--p 00000000 fd:00 3861299    /usr/lib/locale/locale-archive
+b7342000-b7366000 rw-p b7342000 00:00 0 
+b7366000-b736d000 rwxp b7366000 00:00 0 
+b736d000-b736e000 rw-p b736d000 00:00 0 
+b736e000-b7375000 rwxp b736e000 00:00 0 
+b7375000-b7376000 rw-p b7375000 00:00 0 
+b7376000-b7382000 rwxp b7376000 00:00 0 
+b7382000-b739d000 rw-p b7382000 00:00 0 
+b739d000-b739e000 rwxp b739d000 00:00 0 
+b739e000-b73fb000 rw-p b739e000 00:00 0 
+b73fb000-b73fc000 rwxp b73fb000 00:00 0 
+b73fc000-b73fd000 rw-p b73fc000 00:00 0 
+b73fd000-b73fe000 rwxp b73fd000 00:00 0 
+b73fe000-b7402000 rw-p b73fe000 00:00 0 
+b7402000-b7403000 rwxp b7402000 00:00 0 
+b7403000-b740b000 rw-p b7403000 00:00 0 
+b740b000-b740c000 rwxp b740b000 00:00 0 
+b740c000-b740e000 rw-p b740c000 00:00 0 
+b740e000-b7411000 rwxp b740e000 00:00 0 
+b7411000-b7414000 rw-p b7411000 00:00 0 
+b7414000-b7417000 rwxp b7414000 00:00 0 
+b7417000-b7418000 rw-p b7417000 00:00 0 
+b7418000-b7419000 rwxp b7418000 00:00 0 
+b7419000-b741a000 rw-p b7419000 00:00 0 
+b741a000-b741c000 rwxp b741a000 00:00 0 
+b741c000-b741d000 rw-p b741c000 00:00 0 
+b741d000-b7421000 rwxp b741d000 00:00 0 
+b7421000-b7444000 rw-p b7421000 00:00 0 
+b7444000-b744b000 rwxp b7444000 00:00 0 
+b744b000-b744c000 rw-p b744b000 00:00 0 
+b744c000-b7450000 rwxp b744c000 00:00 0 
+b7450000-b7452000 rw-p b7450000 00:00 0 
+b7452000-b745e000 rwxp b7452000 00:00 0 
+b745e000-b745f000 rw-p b745e000 00:00 0 
+b745f000-b746b000 rwxp b745f000 00:00 0 
+b746b000-b7472000 rw-p b746b000 00:00 0 
+b7472000-b7476000 rwxp b7472000 00:00 0 
+b7476000-b7477000 rw-p b7476000 00:00 0 
+b7477000-b747a000 rwxp b7477000 00:00 0 
+b747a000-b747e000 rw-p b747a000 00:00 0 
+b747e000-b7482000 rwxp b747e000 00:00 0 
+b7482000-b7488000 rw-p b7482000 00:00 0 
+b7488000-b7489000 rwxp b7488000 00:00 0 
+b7489000-b748d000 rw-p b7489000 00:00 0 
+b748d000-b748f000 rwxp b748d000 00:00 0 
+b748f000-b7493000 rw-p b748f000 00:00 0 
+b7493000-b7499000 rwxp b7493000 00:00 0 
+b7499000-b749b000 rw-p b7499000 00:00 0 
+b749b000-b749f000 rwxp b749b000 00:00 0 
+b749f000-b74a2000 rw-p b749f000 00:00 0 
+b74a2000-b74a4000 rwxp b74a2000 00:00 0 
+b74a4000-b74a5000 rw-p b74a4000 00:00 0 
+b74a5000-b74a9000 rwxp b74a5000 00:00 0 
+b74a9000-b74aa000 rw-p b74a9000 00:00 0 
+b74aa000-b74ab000 rwxp b74aa000 00:00 0 
+b74ab000-b74e6000 rw-p b74ab000 00:00 0 
+b74e6000-b74e7000 rwxp b74e6000 00:00 0 
+b74e7000-b74e9000 rw-p b74e7000 00:00 0 
+b74e9000-b74ea000 rwxp b74e9000 00:00 0 
+b74ea000-b74eb000 rw-p b74ea000 00:00 0 
+b74eb000-b74ec000 rwxp b74eb000 00:00 0 
+b74ec000-b74f1000 rw-p b74ec000 00:00 0 
+b74f1000-b74f2000 rwxp b74f1000 00:00 0 
+b74f2000-b74ff000 rw-p b74f2000 00:00 0 
+b74ff000-b7500000 rwxp b74ff000 00:00 0 
+b7500000-b768a000 rw-p b7500000 00:00 0 
+b768a000-b7fdd000 r--s 00000000 00:13 2757172    /usr/Local/matlab2006a_pre/bin/glnx86/icudt32l.dat
+b7fdd000-b7fec000 rw-p b7fdd000 00:00 0 
+b7ffe000-b8000000 rw-p b7ffe000 00:00 0 
+bfdbc000-bfdbf000 ---p bfdbc000 00:00 0 
+bfdbf000-bffbc000 rwxp bfdbf000 00:00 0 
+bffbc000-c0000000 rw-p bffbc000 00:00 0 
+ffffe000-fffff000 ---p 00000000 00:00 0 
+
+VM Arguments:
+jvm_args: -Xms64m -Xmx96m -XX:NewRatio=3 -XX:MaxPermSize=32M -Djava.util.prefs.PreferencesFactory=com.mathworks.util.DisabledPreferencesFactory -Djava.library.path=/usr/Local/matlab2006a_pre/bin/glnx86 vfprintf abort
+java_command: <unknown>
+
+Environment Variables:
+PATH=/usr/Local/soleil-root/tango/bin:/usr/Local/tightvnc:/usr/Local/smartcvs/bin:/usr/Local/matlab/bin:/usr/Local/java/j2re1.4.2_07/bin/:/usr/Local/soleil-root/tango/bin:/usr/Local/tightvnc:/usr/Local/smartcvs/bin:/usr/Local/matlab/bin:/usr/Local/java/j2re1.4.2_07/bin/:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/operateur/bin:.
+LD_LIBRARY_PATH=/usr/Local/matlab2006a_pre/sys/os/glnx86:/usr/Local/matlab2006a_pre/bin/glnx86:/usr/Local/matlab2006a_pre/extern/lib/glnx86:/usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads:/usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386/client:/usr/Local/matlab2006a_pre/sys/java/jre/glnx86/jre1.5.0/lib/i386::/usr/Local/soleil-root/tango/lib:/usr/Local/soleil-root/omniorb/lib:/usr/Local/soleil-root/bindings/python/python23:/usr/Local/soleil-root/tango/lib:/usr/Local/soleil-root/omniorb/lib:/usr/Local/soleil-root/bindings/python/python23
+SHELL=/bin/bash
+DISPLAY=co11-tx1.RCM:0.0
+ARCH=glnx86
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
+
+uname:Linux 2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5 17:13:01 EST 2006 i686
+libc:glibc 2.3.4 NPTL 2.3.4 
+rlimit: STACK 10240k, CORE 0k, NPROC 81920, NOFILE 1024, AS infinity
+load average:1.09 1.39 1.57
+
+CPU:total 4 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
+
+Memory: 4k page, physical 1012k(19k free), swap 1007k(1007k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for linux-x86, built on Sep 15 2004 03:56:41 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /trunk/machine/SOLEIL/Booster/applications/inject.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/inject.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/inject.m	(revision 17)
@@ -0,0 +1,32 @@
+%  reglage correcteur verticaux LT1 pour injection booster 
+
+zinj = [-2 -0.5] ; 
+
+%zinj = [0.5 -0.2] ;   % SPM janv 2009  95% LPM
+%zinj = [0.3 -0.1] ;  % SPM mai 2007  95% LPM
+%zinj = [-0.5 -0.] ;  % LPM mai 2007  95% LPM
+%zinj = [1  -0.1];  % SPM2
+%zinj = [0  -0.2] ;           % SPM1
+%zinj = [1.  -0.3] ;        % LPM
+%zinj = [-2.  -0.5] ;        % pos (mm) et angle (mrad)
+%zinj = [-2.  -0.5] ; 
+
+
+m1   =[ 0.0923 -0.4244 ; 0.0738 1.66 ] ;
+klt1 = m1*zinj'/1.2  ;  % corr 2 et 3 en A  
+
+klt1=klt1;
+
+fprintf('************************\n')
+fprintf(' Courant correcteur LT1      CV.2: %g A    et     CV.3: %g A \n', klt1)
+
+kinit1=0.;
+kinit2=0.;
+ 
+
+tango_write_attribute('LT1/AE/CV.2', 'current', (klt1(1)) );
+tango_write_attribute('LT1/AE/CV.3', 'current', (klt1(2)) );
+ 
+CV2=readattribute('LT1/AE/CV.2/current');
+CV3=readattribute('LT1/AE/CV.3/current');
+fprintf(' Lecture correcteur LT1      CV.2: %g A    et     CV.3: %g A \n', klt1)
Index: /trunk/machine/SOLEIL/Booster/applications/load_booster.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/load_booster.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/load_booster.m	(revision 17)
@@ -0,0 +1,11 @@
+% set booster setup
+
+listefile = dir('boo_*') ;
+comment={};
+for i=1:length(listefile)
+  load(listefile(i).name);
+  comment=strvcat(comment , boo.comment);
+end
+comment
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/load_booster1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/load_booster1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/load_booster1.m	(revision 17)
@@ -0,0 +1,5 @@
+
+
+file='orbite_inj_ext'
+load(file);
+
Index: /trunk/machine/SOLEIL/Booster/applications/load_orbit_corr.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/load_orbit_corr.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/load_orbit_corr.m	(revision 17)
@@ -0,0 +1,18 @@
+function [orbit]=load_orbit_corr
+
+istart=27;
+iend  =200;
+nbpmx=22;
+
+clear Zm Xm
+
+
+[Xm,Zm] = getboobpm(nbpmx,iend,istart);
+
+orbit.x=Xm;
+orbit.z=Zm;
+orbit.corx=getam('HCOR');
+orbit.corz=getam('VCOR');
+
+save 'orbit_19-jun-2008_extraction.mat' 'orbit'
+
Index: /trunk/machine/SOLEIL/Booster/applications/load_param.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/load_param.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/load_param.m	(revision 17)
@@ -0,0 +1,47 @@
+function [boo]=load_param
+
+% save parameter
+% alim
+    boo.corrz = getam('VCOR');
+    boo.corrx = getam('HCOR'); 
+    boo.cv2=readattribute('LT1/AE/CV.2/current');
+    boo.cv3=readattribute('LT1/AE/CV.3/current');  
+    boo.DIPcurrent=readattribute('BOO/AE/D.1/current'        ,'Setpoint');
+    boo.DIPoffset =readattribute('BOO/AE/D.1/waveformOffset' ,'Setpoint');
+    boo.QFcurrent=readattribute('BOO/AE/QF/current'          ,'Setpoint');
+    boo.QFpoffset =readattribute('BOO/AE/QF/waveformOffset'  ,'Setpoint');
+    boo.QDcurrent=readattribute('BOO/AE/QD/current'          ,'Setpoint');
+    boo.QDpoffset =readattribute('BOO/AE/QD/waveformOffset'  ,'Setpoint');
+    boo.SFcurrent=readattribute('BOO/AE/SF/current'          ,'Setpoint');
+    boo.SFpoffset =readattribute('BOO/AE/SF/waveformOffset'  ,'Setpoint');
+    boo.SDcurrent=readattribute('BOO/AE/SD/current'          ,'Setpoint');
+    boo.SDpoffset =readattribute('BOO/AE/SD/waveformOffset'  ,'Setpoint');
+% ep
+    temp=tango_read_attribute2('BOO-C01/EP/AL_K.Inj','voltage');            boo.KINJvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C22/EP/AL_SEP_P.Inj','voltage');        boo.SPINJvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C10/EP/AL_DOF.1','voltagePeakValue');   boo.DOF1EXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C11/EP/AL_DOF.2','voltagePeakValue');   boo.DOF2EXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C12/EP/AL_DOF.3','voltagePeakValue');   boo.DOF3EXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C10/EP/AL_K.Ext','voltage');            boo.KEXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C11/EP/AL_SEP_P.Ext.1','serialVoltage');boo.SPEXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');        boo.SAEXTvoltage=temp.value(2);
+    
+    temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_P.1','serialVoltage');    boo.ANS_SPvoltage=temp.value(2);
+    temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');            boo.ANS_SAvoltage=temp.value(2);
+    
+
+    
+% synchro
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay');
+    boo.DIPdelay=temp.value(1);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay');
+    boo.QFdelay=temp.value(1);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay');
+    boo.QDdelay=temp.value(1);
+% diag
+      current=tango_read_attribute2('BOO-C01/DG/DCCT','iV');
+      boo.current=current.value;
+     xpos=tango_read_attribute2('BOO-C01/DG/BPM.01','XPosDD');
+     boo.bpmx=xpos.value;
+     zpos=tango_read_attribute2('BOO-C03/DG/BPM.02','ZPosDD');
+     boo.bpmz=zpos.value;
Index: /trunk/machine/SOLEIL/Booster/applications/load_param1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/load_param1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/load_param1.m	(revision 17)
@@ -0,0 +1,44 @@
+function [boo]=load_param
+
+% save parameter
+% alim
+    boo.corrz = getam('VCOR');
+    boo.corrx = getam('HCOR'); 
+    boo.cv2=readattribute('LT1/AE/CV.2/current');
+    boo.cv3=readattribute('LT1/AE/CV.3/current');  
+    boo.DIPcurrent=readattribute('BOO/AE/D.1/current'        ,'Setpoint');
+    boo.DIPoffset =readattribute('BOO/AE/D.1/waveformOffset' ,'Setpoint');
+    boo.QFcurrent=readattribute('BOO/AE/QF/current'          ,'Setpoint');
+    boo.QFpoffset =readattribute('BOO/AE/QF/waveformOffset'  ,'Setpoint');
+    boo.QDcurrent=readattribute('BOO/AE/QD/current'          ,'Setpoint');
+    boo.QDpoffset =readattribute('BOO/AE/QD/waveformOffset'  ,'Setpoint');
+    boo.SFcurrent=readattribute('BOO/AE/SF/current'          ,'Setpoint');
+    boo.SFpoffset =readattribute('BOO/AE/SF/waveformOffset'  ,'Setpoint');
+    boo.SDcurrent=readattribute('BOO/AE/SD/current'          ,'Setpoint');
+    boo.SDpoffset =readattribute('BOO/AE/SD/waveformOffset'  ,'Setpoint');
+% ep
+    temp=tango_read_attribute2('BOO-C01/EP/AL_K.Inj','voltage');            boo.KINJvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C22/EP/AL_SEP_P.Inj','voltage');        boo.SPINJvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C10/EP/AL_DOF.1','voltagePeakValue');   boo.DOF1EXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C11/EP/AL_DOF.2','voltagePeakValue');   boo.DOF2EXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C12/EP/AL_DOF.3','voltagePeakValue');   boo.DOF3EXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C10/EP/AL_K.Ext','voltage');            boo.KEXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C11/EP/AL_SEP_P.Ext.1','serialVoltage');boo.SPEXTvoltage=temp.value(2);
+    temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');        boo.SAEXTvoltage=temp.value(2);
+    
+    
+    
+% synchro
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay');
+    boo.DIPdelay=temp.value(1);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay');
+    boo.QFdelay=temp.value(1);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay');
+    boo.QDdelay=temp.value(1);
+% diag
+      current=tango_read_attribute2('BOO-C01/DG/DCCT','iV');
+      boo.current=current.value;
+     xpos=tango_read_attribute2('BOO-C01/DG/BPM.01','XPosDD');
+     boo.bpmx=xpos.value;
+     zpos=tango_read_attribute2('BOO-C03/DG/BPM.02','ZPosDD');
+     boo.bpmz=zpos.value;
Index: /trunk/machine/SOLEIL/Booster/applications/make_orbit.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/make_orbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/make_orbit.m	(revision 17)
@@ -0,0 +1,12 @@
+% make orbit
+function make_orbit
+
+%     i=(1:22)';
+%     v=0.2*(1-2*rand([1 22])');
+%     setpv('HCOR',v ,i);
+    setpv('HCOR',0.5 ,7
+    );
+
+end
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/meas_booster_tune.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/meas_booster_tune.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/meas_booster_tune.m	(revision 17)
@@ -0,0 +1,29 @@
+% Mesure nombte d'onde booster
+% En mode SPM, le faisceau est exitÃ© le long du cycle = possible mesure du nombre d'onde
+
+clear
+istart=3000;
+npoint=1024;
+
+device   ='BOO-C01/DG/BPM.01';
+attribute='ZPosDD';
+temp=tango_read_attribute2(device,attribute);
+X=temp.value;
+plot(X)
+
+n1=istart;
+n2=n1+npoint;
+m1 = int16(npoint/10);
+m2 = int16(npoint-m1);
+Xseg=X(n1:n2);
+Xfft     = fft(Xseg,npoint);
+PXfft    = Xfft.* conj(Xfft) / npoint;
+f = (1:npoint)/npoint;
+mx    = max(PXfft(m1:m2));
+nux   = (find(PXfft==mx)-1)/ npoint;
+nux=nux(2)
+
+plot(f,PXfft)
+ylim([0 1.5*mx])
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/measorbith.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/measorbith.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/measorbith.m	(revision 17)
@@ -0,0 +1,46 @@
+% Appel en sÃ©rie orbit_bump
+% Mesure orbite et taille faisceau sur perte dans la chambre veticale au
+% droit de chaque QP verticale
+
+step =1;   % pas en mm
+borne=6;   % max en mm
+
+scanz=-borne:step:borne;
+nmax=12;
+
+NQP=[1 : nmax];
+table=[];
+
+fprintf('******** Mesure orbite **********   \n');
+for i=nmax:nmax  % on saute le premier QPV = orbite Ã  l'injection
+    setsp('HCOR',hcor0);
+    QP=i;
+    fprintf('QP = %g   ',QP);
+    R=[];
+    for dz=scanz
+       setsp('HCOR',hcor0);
+       orbit_bumph(QP,dz);pause(1)
+       tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');
+       pause(1.5)
+       temp=tango_read_attribute2('LT1/DG/MC','qIct2');        lt1charge=temp.value;
+       temp=tango_read_attribute2('BOO-C01/DG/DCCT','qExt');   boocharge=-temp.value;
+       if lt1charge==0
+          r=-1;
+       else
+          r=boocharge/lt1charge*100;
+       end
+       R=[R r];
+       fprintf(' %6.2f ',r);
+       
+    end
+    fprintf('\n');
+    orbit_bumph(QP,-borne)
+    [estimates, model] = fitprofil(scanz, R);
+    fprintf('Sig=%g  Dz=%g \n',estimates(1),estimates(2));
+    plot(scanz, R, '*')
+    hold on
+    [sse, FittedCurve] = model(estimates);
+    plot(scanz, FittedCurve, 'r'); hold off
+    fprintf('\n');
+end
+
Index: /trunk/machine/SOLEIL/Booster/applications/measorbitv.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/measorbitv.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/measorbitv.m	(revision 17)
@@ -0,0 +1,49 @@
+% Appel en sÃ©rie orbit_bump
+% Mesure orbite et taille faisceau sur perte dans la chambre veticale au
+% droit de chaque QP verticale
+
+step =1;   % pas en mm
+borne=11;   % max en mm
+
+scanz=-borne:step:borne;
+nmax=21;
+NQP=[1 : nmax];
+table=[];
+
+%orbit_bump(QP,dz(1));
+fprintf('******** Mesure orbite **********   \n');
+for i=nmax:nmax  % on saute le premier QPV = orbite Ã  l'injection
+    setsp('VCOR',vcor0); 
+    QP=i;
+    fprintf('QP = %g   ',QP);
+    R=[];
+    for dz=scanz
+       setsp('VCOR',vcor0);
+       orbit_bump(QP,dz);pause(2)
+       tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');
+       pause(1.5)
+       temp=tango_read_attribute2('LT1/DG/MC','qIct2');        lt1charge=temp.value;
+       temp=tango_read_attribute2('BOO-C01/DG/DCCT','qExt');   boocharge=-temp.value;
+       if lt1charge==0
+          r=-1;
+       else
+          r=(boocharge+0.09)/lt1charge*100;
+       end
+       if r<0
+           r=0;
+       end
+       R=[R r];
+       fprintf(' %6.2f ',r);
+       
+    end
+    fprintf('\n');
+    setam('VCOR',vcor0);
+    [estimates, model] = fitprofil(scanz, R);
+    fprintf('Sig=%g  Dz=%g \n',estimates(1),estimates(2));
+    [sse, FittedCurve] = model(estimates);
+    plot(scanz, R, '*', scanz, FittedCurve, 'r'); 
+    ylim([0 100])
+    grid on
+    fprintf('\n');
+end
+
Index: /trunk/machine/SOLEIL/Booster/applications/measorbitv_data.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/measorbitv_data.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/measorbitv_data.m	(revision 17)
@@ -0,0 +1,92 @@
+% data BBA booster 
+
+******** Mesure orbite **********   
+QP = 3     37.21   64.26   86.72   92.70   94.37   95.18   93.27   93.74   93.99   93.21   94.85   94.08   95.12   95.05   94.27   94.13   92.16   86.87   60.51   29.54    0.00 
+Sig=1.42293  Dz=0.570347 
+
+******** Mesure orbite **********   
+QP = 4      4.27   55.67   71.58   86.76   93.24   94.95   95.22   95.10   94.68   93.92   95.16   95.04   95.13   95.00   94.23   93.88   92.06   86.28   57.89   14.61    0.04 
+Sig=1.90668  Dz=0.360086 
+
+******** Mesure orbite **********   
+QP = 5      0.22   31.00   72.12   87.86   94.71   95.25   94.65   94.98   95.57   95.10   94.90   95.30   95.10   94.06   94.06   92.65   90.17   69.45   47.15   18.28    0.00 
+Sig=2.32641  Dz=0.281871 
+
+******** Mesure orbite **********   
+QP = 6     20.21   67.38   91.20   92.36   95.65   95.91   95.16   95.30   95.76   95.59   94.14   94.98   94.96   94.69   94.06   90.00   77.36   44.97    2.38    0.11    0.00 
+Sig=2.43694  Dz=1.37772 
+
+******** Mesure orbite **********   
+QP = 7      0.07   12.90   62.53   86.46   92.96    0.00    0.00   94.80   95.00   95.32   95.41   95.34   94.99   95.79   94.16   93.93   90.73   78.69   35.45    1.14    0.00 
+Sig=2.36778  Dz=0.171331 
+
+******** Mesure orbite **********   
+QP = 7      0.00   12.19   68.51   88.35   93.41   94.61   95.24   95.38   95.34   95.50   95.16   95.61   95.37   95.00   93.78   94.38   90.35   76.99   35.47    0.58    0.05 
+Sig=2.60883  Dz=0.307106 
+
+******** Mesure orbite **********   
+QP = 8      5.34   46.15   82.62   90.73   94.57   95.24   94.79   95.07   94.56   95.49   95.00   94.92   95.04   95.26   95.29   93.90   90.35   83.77   61.69   12.30    0.00 
+Sig=1.88594  Dz=0.363787 
+
+******** Mesure orbite **********   
+QP = 8      0.00    4.45   47.85   74.29   89.61   91.89   92.27   95.01   95.45   94.59   94.93   94.82   95.27   95.26   95.27   95.06   94.07   90.80   81.41   57.11    9.60    0.00    0.00 
+Sig=2.01216  Dz=0.382944 
+
+******** Mesure orbite **********   
+QP = 9      0.00    0.00   30.08   75.23   88.58   93.17   94.60   95.44   94.82   95.30   95.23   95.24   95.15   94.94   95.49   95.19   94.85   94.69   92.37   84.40   68.75   19.10    0.00 
+Sig=1.35834  Dz=-0.391218 
+
+******** Mesure orbite **********   
+QP = 10     14.71   60.55   83.96   90.87   94.12   94.78   95.51   95.26   94.81   95.34   95.50   95.55   95.19   95.15   95.20   94.47   93.95   90.63   82.27   51.31    7.89    0.00    0.00 
+Sig=1.22611  Dz=1.16353 
+
+******** Mesure orbite **********   
+QP = 11      0.00    3.43   41.23   80.79   90.74   93.73   94.81   95.20   94.93   95.02   95.09   95.15   95.48   95.51   94.47   95.31   94.30   92.35   84.05   58.54   10.12    0.00    0.00 
+Sig=1.97787  Dz=0.342951 
+
+******** Mesure orbite **********   
+QP = 12     95.03   94.90   95.43   95.43   94.90   94.99   95.48   94.93   95.32   94.95   94.95   95.82   94.61   95.22   94.77   95.07   94.73   95.36   94.46   95.33   95.24   94.12   91.10 
+Sig=0.00127499  Dz=0.0039217 
+
+******** Mesure orbite **********   
+QP = 15     54.63   84.26   91.69   94.55   95.31   95.19   95.25   95.29   95.02   94.94   94.72   95.48   95.48   95.34   94.81   92.91   86.33   64.41   16.01    0.00    0.00    0.00    0.46 
+Sig=1.67368  Dz=2.48688 
+
+******** Mesure orbite **********   
+QP = 14      2.18   47.11   79.91   90.90   93.74   94.94   95.78   95.10   95.62   95.44   95.15   95.48   95.14   95.54   95.50   95.62   94.56   92.88   85.00   60.36    7.34    0.00    0.00 
+Sig=1.30073  Dz=0.85931 
+
+******** Mesure orbite **********   
+QP = 16      0.00    0.00    0.00    0.00   32.48   79.23   91.70   93.56   94.73   94.31   93.30   94.78   94.99   95.25   95.35   94.92   95.11   95.56   94.41   90.56   79.34   47.64    2.37 
+Sig=2.21903  Dz=-1.60474 
+******** Mesure orbite **********   
+QP = 17      0.00    0.00   15.12   71.07   89.66   93.93   94.74   95.01   95.96   95.29   95.68   95.14   95.67   95.38   94.88    0.00   95.11   94.89   91.11   81.77   40.43    2.90    0.00 
+Sig=1.59841  Dz=-0.22972 
+
+******** Mesure orbite **********   
+QP = 18     37.16   82.36   93.00   94.91   95.61   94.91   95.82   94.97   95.35   95.96   95.45   95.62   94.82   95.00   93.42   90.95   80.75   47.75    2.87    0.00    0.21    0.00    0.00 
+Sig=2.07943  Dz=2.58166 
+
+******** Mesure orbite **********   
+QP = 19     17.45   66.39   83.31   92.02   93.98   95.21   95.41   95.63   95.71   94.79   95.72   95.61   95.17   95.37   93.31   92.95   90.00   79.33   59.30   20.51    0.10    0.00    0.23 
+Sig=1.66602  Dz=1.52493 
+
+******** Mesure orbite **********   
+QP = 20     53.90   83.14   90.12   93.82   94.67   95.04   95.43   95.18   95.47   95.40   95.87   95.52   95.51   93.92   92.85   84.09   64.47   10.93    0.00    0.00    0.08    0.00    0.03 
+Sig=2.24013  Dz=3.16299 
+
+******** Mesure orbite **********   
+QP = 20     51.81   81.94   92.10   93.53   94.57   95.22   95.40   95.64   96.33   95.78   95.23   95.95   95.24   94.71   92.18   86.91   61.47    8.79    0.14    0.00    0.05    0.00    0.00 
+Sig=2.28884  Dz=3.17021 
+
+******** Mesure orbite **********   
+QP = 20     52.73   75.40   88.71   93.73   95.33   94.38   95.68   95.47   95.84   95.69   95.73   95.22   95.33   94.79   92.21   84.69   64.98   12.85    0.00    0.05    0.00    0.00    0.02 
+Sig=2.35009  Dz=3.04854 
+
+******** Mesure orbite **********   
+QP = 21      0.19    0.00   10.34   53.64   84.60   92.29   94.41   94.60   95.66   95.67   95.60   95.87   95.47   95.67   95.79   95.89   95.90   95.59   95.44   92.75   87.93   66.62   13.93 
+Sig=1.11764  Dz=-1.17396 
+
+
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/measorbitv_data1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/measorbitv_data1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/measorbitv_data1.m	(revision 17)
@@ -0,0 +1,27 @@
+function BBA=measorbitv_data1
+% data BBA booster du 11 dec 2006
+BBA=[];
+BBA=[BBA ; 3   0.00  37.21  64.26   86.72   92.70   94.37   95.18   93.27   93.74   93.99   93.21   94.85   94.08   95.12   95.05   94.27   94.13   92.16   86.87   60.51   29.54    0.00    0.00];
+BBA=[BBA ; 4   0.00  4.27   55.67   71.58   86.76   93.24   94.95   95.22   95.10   94.68   93.92   95.16   95.04   95.13   95.00   94.23   93.88   92.06   86.28   57.89   14.61    0.04    0.00];
+BBA=[BBA ; 5   0.00  0.22   31.00   72.12   87.86   94.71   95.25   94.65   94.98   95.57   95.10   94.90   95.30   95.10   94.06   94.06   92.65   90.17   69.45   47.15   18.28    0.00    0.00];
+BBA=[BBA ; 6   0.00  20.21  67.38   91.20   92.36   95.65   95.91   95.16   95.30   95.76   95.59   94.14   94.98   94.96   94.69   94.06   90.00   77.36   44.97    2.38    0.11    0.00    0.00] ;
+BBA=[BBA ; 7   0.00  0.00   12.19   68.51   88.35   93.41   94.61   95.24   95.38   95.34   95.50   95.16   95.61   95.37   95.00   93.78   94.38   90.35   76.99   35.47    0.58    0.05    0.00];
+BBA=[BBA ; 8   0.00  4.45   47.85   74.29   89.61   91.89   92.27   95.01   95.45   94.59   94.93   94.82   95.27   95.26   95.27   95.06   94.07   90.80   81.41   57.11    9.60    0.00    0.00]; 
+BBA=[BBA ; 9   0.00  0.00   30.08   75.23   88.58   93.17   94.60   95.44   94.82   95.30   95.23   95.24   95.15   94.94   95.49   95.19   94.85   94.69   92.37   84.40   68.75   19.10    0.00];
+BBA=[BBA ;10   14.71 60.55  83.96   90.87   94.12   94.78   95.51   95.26   94.81   95.34   95.50   95.55   95.19   95.15   95.20   94.47   93.95   90.63   82.27   51.31    7.89    0.00    0.00];
+BBA=[BBA ;11   0.00  3.43   41.23   80.79   90.74   93.73   94.81   95.20   94.93   95.02   95.09   95.15   95.48   95.51   94.47   95.31   94.30   92.35   84.05   58.54   10.12    0.00    0.00] ; 
+BBA=[BBA ;14   2.18  47.11  79.91   90.90   93.74   94.94   95.78   95.10   95.62   95.44   95.15   95.48   95.14   95.54   95.50   95.62   94.56   92.88   85.00   60.36    7.34    0.00    0.00];
+BBA=[BBA ;15   54.63 84.26  91.69   94.55   95.31   95.19   95.25   95.29   95.02   94.94   94.72   95.48   95.48   95.34   94.81   92.91   86.33   64.41   16.01    0.00    0.00    0.00    0.46];
+BBA=[BBA ;16   0.00   0.00   0.00    0.00   32.48   79.23   91.70   93.56   94.73   94.31   93.30   94.78   94.99   95.25   95.35   94.92   95.11   95.56   94.41   90.56   79.34   47.64    2.37];
+BBA=[BBA ;17   0.00   0.00  15.12   71.07   89.66   93.93   94.74   95.01   95.96   95.29   95.68   95.14   95.67   95.38   94.88   95.00   95.11   94.89   91.11   81.77   40.43    2.90    0.00] ;
+BBA=[BBA ;18  37.16  82.36  93.00   94.91   95.61   94.91   95.82   94.97   95.35   95.96   95.45   95.62   94.82   95.00   93.42   90.95   80.75   47.75    2.87    0.00    0.21    0.00    0.00] ;
+BBA=[BBA ;19  17.45  66.39  83.31   92.02   93.98   95.21   95.41   95.63   95.71   94.79   95.72   95.61   95.17   95.37   93.31   92.95   90.00   79.33   59.30   20.51    0.10    0.00    0.23];
+BBA=[BBA ;20  52.73  75.40  88.71   93.73   95.33   94.38   95.68   95.47   95.84   95.69   95.73   95.22   95.33   94.79   92.21   84.69   64.98   12.85    0.00    0.05    0.00    0.00    0.02];
+BBA=[BBA ;21   0.19   0.00  10.34   53.64   84.60   92.29   94.41   94.60   95.66   95.67   95.60   95.87   95.47   95.67   95.79   95.89   95.90   95.59   95.44   92.75   87.93   66.62   13.93] ;
+
+
+
+
+
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/measorbitv_from_data1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/measorbitv_from_data1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/measorbitv_from_data1.m	(revision 17)
@@ -0,0 +1,42 @@
+% Appel en sÃ©rie orbit_bump
+% Mesure orbite et taille faisceau sur perte dans la chambre veticale au
+% droit de chaque QP verticale
+
+step =1;   % pas en mm
+borne=11;   % max en mm
+BBA=measorbitv_data1;
+LBBA=length(BBA);
+scanz=-borne:step:borne;
+
+nmax=17;
+NQP=[1 : nmax];
+data=[];
+
+%orbit_bump(QP,dz(1));
+fprintf('******** Mesure orbite **********   \n');
+for i=1:nmax  % on saute le premier QPV = orbite Ã  l'injection
+    QP=BBA(i,1);
+    R=BBA(i,2:LBBA);
+    [estimates, model] = fitprofil1(scanz, R);
+    [sse, FittedCurve] = model(estimates);
+    plot(scanz, R, '*', scanz, FittedCurve, 'r'); 
+    ylim([0 100])
+    grid on
+    fprintf('QP= %6.2f  Sig=%6.2f    Dz=%6.2f   chambre=%6.2f    A=%6.2f    err=%6.2e\n',QP,estimates,sse);
+    data=[data ; QP estimates sse];
+    %orbit_bump(QP,-estimates(2));pause(2)
+end
+
+return 
+figure(1)
+subplot(3,1, 1)
+   plot(data(:,1), data(:,3),'-o'); ylim([-3 3]);grid on
+   ylabel('Z pos (mm)')
+subplot(3, 1, 2)
+   plot(data(:,1), data(:,2),'-o'); ylim([0 3]);grid on
+   ylabel('Z rms (mm)')
+subplot(3, 1, 3)
+   plot(data(:,1), data(:,4),'-o'); ylim([5 12]);grid on
+   xlabel('QPD');ylabel('Gap Chambre (mm)')
+   
+   
Index: /trunk/machine/SOLEIL/Booster/applications/mesure_chro_191005.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/mesure_chro_191005.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/mesure_chro_191005.m	(revision 17)
@@ -0,0 +1,27 @@
+data =[
+352.170 0.254 0.158
+352.180 0.248 0.154
+352.190 0.236 0.144
+352.200 0.228 0.144
+352.210 0.220 0.138
+352.220 0.214 0.134
+352.230 0.206 0.130
+352.240 0.200 0.124
+]
+alpha = 3e-2;
+delta = (data(:,1)-352.200)/352.200/alpha*100;
+nux = data(:,2);
+nuz = data(:,3);
+
+figure 
+subplot(2,1,1)
+plot(delta,nux,'.b');
+xlabel('\delta (%)')
+ylabel('\nu_x')
+grid on
+title('tune shift with energy')
+subplot(2,1,2);
+plot(delta,nuz,'.r');
+grid
+xlabel('\delta (%)')
+ylabel('\nu_z')
Index: /trunk/machine/SOLEIL/Booster/applications/mode.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/mode.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/mode.m	(revision 17)
@@ -0,0 +1,5 @@
+
+
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1','k.trigEvent',int32(0));pause(2)
+tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');pause(2)
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',int32(5));
Index: /trunk/machine/SOLEIL/Booster/applications/mu_dipole.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/mu_dipole.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/mu_dipole.m	(revision 17)
@@ -0,0 +1,11 @@
+% test effet mu 1000 Ã  50000
+
+Imax=500;
+L=330;
+g=22;
+
+I=1:1:500;
+B=2*(12.56)*12*I/(g)*1e-4;
+db=-L/g./(1000+5000*I/Imax) + 0.0005./B;
+
+plot(db(20 : 500))
Index: /trunk/machine/SOLEIL/Booster/applications/orbitS.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbitS.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbitS.m	(revision 17)
@@ -0,0 +1,27 @@
+% Returns beam signals at BPM location 
+%   Usefull to determine where the beam is lost if beam does make a turn.
+%
+% affichage des vecteur Sum
+% 
+% TODO
+ 
+%
+% Written by A. Loulergue
+
+n=28;
+nbpm=22;
+clear visu s
+for i=2:nbpm,
+   ss = getbpmrawdata(i,'NoDisplay','Struct','NoGroup');
+   j=0;
+   k1=((i-1)*n)+1;
+   k2=(i*n);
+   for k=k1:k2
+       j=j+1; 
+       visu(k)=ss.Data.Sum(j);
+       s(k)=k/n+1;
+   end
+end   
+
+figure(12)
+plot(s,visu); xlim([1 (nbpm+1)])
Index: /trunk/machine/SOLEIL/Booster/applications/orbitX.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbitX.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbitX.m	(revision 17)
@@ -0,0 +1,186 @@
+% Correction orbite horizontale
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncell=44;
+betax=11.5;
+b2   =11.5;
+b1   =1.7;
+nux=6.8*2*pi;    % avance de phase
+dnux=nux/ncell;  % avance de phase par maille
+ds=3.5595;       % longueur maille
+ncorrx=22;
+nbpmx=22;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+step=0.5;         % correction progressive
+maxvp=4;           % valeur propre
+istart = 27;     % depart lecture BPM
+iend = 200;      % fin lecture BPM
+
+% table BPM
+clear loc
+loc(1) =01;loc(2) =04;loc(3) =05;loc(4) =08;loc(5) =09;loc(6)=11;
+loc(7) =13;loc(8) =14;loc(9) =17;loc(10)=18;loc(11)=21;
+loc(12)=23;loc(13)=26;loc(14)=27;loc(15)=30;loc(16)=31;loc(17)=33;
+loc(18)=35;loc(19)=36;loc(20)=39;loc(21)=40;loc(22)=43;
+clear bet
+bet(1) =b1;bet(2) =b2;bet(3) =b1;bet(4) =b2;bet(5) =b1;bet(6)=b1;
+bet(7) =b1;bet(8) =b2;bet(9) =b1;bet(10)=b2;bet(11)=b1;
+bet(12)=b1;bet(13)=b2;bet(14)=b1;bet(15)=b2;bet(16)=b1;bet(17)=b1;
+bet(18)=b1;bet(19)=b2;bet(20)=b1;bet(21)=b2;bet(22)=b1;
+
+% table on BPM et correcteurs
+clear hs1 hs2 hs
+%        H         V   H         V   H      H      H   V         H   V         H
+%           1         2   3         4   5      6      7   8         9   10        11
+hs1= [   1         1   1         1   1      1      1   1         1   1         1];
+%          12        13  14        15  16     17     18  19        20  21        22   
+hs2= [   1         1   1         1   1      1      1   1         1   1         1];
+hs=[hs1 hs2];
+
+clear on1 on2 on
+%     1      2      3      4      5      6      7      8      9      10     11       
+on1= [1      1      1      1      1      1      1      1      1      1      1 ];
+%     12     13     14     15     16     17     18     19     20     21     22     
+on2= [1      1      1      1      1      1      1      1      1      1      1 ];
+on=[on1 on2];
+
+clear beta_corrx phi_corrx s_corrx
+clear s_bx bx s_cx cx
+for i=1:nbpmx,
+    s_bx(i)=ds*loc(i)   ; bx(i)=0;
+    s_cx(i)=(2*ds)*(i-1); cx(i)=0;
+end
+
+
+
+% on rempli la matrice C tel que X=C.K
+% cotï¿œ bpm sur chaque qp foc, on commence sur un qd (inj booster)
+i=0;
+clear beta_bpmx  phi_bpmx s_bpmx
+for j=1:nbpmx
+    if (hs(j)==1) 
+       i=i+1; 
+       beta_bpmx(i)=bet(j);
+       phi_bpmx(i)=dnux*loc(j);
+       s_bpmx(i)=ds*loc(j);
+    end    
+end
+nbpmxr=i;
+% cotï¿œ correcteurs sur chaque qp def% setsp('VCOR',0.4,[1 1])oc, on commence sur un qd (inj booster)
+i=0;
+clear beta_corrx phi_corrx s_corrx
+for j=1:ncorrx,
+    if (on(j)==1)
+       i=i+1; 
+       beta_corrx(i)=betax;
+       phi_corrx(i)=(2*dnux)*(j-0.5);
+       s_corrx(i)=(2*ds)*(j-0.5);
+    end   
+end
+ncorrxr=i;
+% matrice Cc cas fermï¿œ cyclique
+clear Cc
+c3=2*sin(nux/2);
+for i = 1:nbpmxr,
+   for j = 1:ncorrxr
+      c1=sqrt(beta_bpmx(i)*beta_corrx(j));
+      c2=cos(nux/2-abs(phi_bpmx(i)-phi_corrx(j)));
+      Cc(i,j) = c1*c2/c3;
+   end
+end
+sprintf(' Nombre de BPM : %g ', nbpmxr);
+sprintf(' Nombre de COR : %g ', ncorrxr);
+
+
+%  cotï¿œ vecteur X repesentant les defaut d'orbites mesurï¿œ en mm
+%  bloc = offset a retrancher
+clear Zm Xm
+for i=1:22
+    xm=0;
+    zm=0;
+    if     (hs(i)==0)       % cas de BPM HS
+        Xm(i)=0;Zm(i)=0;
+    else
+%         a=getbpmrawdata(i,'nodisplay','struct');
+%         for j=istart:iend,
+%            xm=xm+a.Data.X(j); % en mm
+%            zm=zm+a.Data.Z(j);
+%         end
+%         Xm(i)=xm/(iend-istart+1);
+%         Zm(i)=zm/(iend-istart+1);
+        Xm(i)=(1-2*rand(1))*3;
+        Zm(i)=(1-2*rand(1))*3;
+    end    
+end
+i=0;
+clear Xr Xr2
+Xr2=0;
+for j=1:nbpmx,
+    if (hs(j)==1) 
+       i=i+1;
+       Xr(i)=Xm(j);
+       Xr2 = Xr2 + Xr(i)*Xr(i);
+    end    
+end
+Xr2=Xr2/i;   % ecart type orbite
+
+% Rï¿œsolution par SVD matrice Cc cyclique sur X
+clear Xcorr Cci K
+[U,S,V] = svds(Cc,ncorrxr);
+diag(S)
+for i=1:min(nbpmxr,ncorrxr)
+    if(S(i,i)<maxvp)
+        S(i,i)=0;
+    else
+        S(i,i)=1/S(i,i);
+    end    
+end   
+Cci=V*S*U';
+K=-Cci*transpose(Xr);                % en mrad
+Xcorr= transpose(Xr) + Cc*K*step;
+sprintf(' Ecart type orbite : %g ', Xr2)
+
+clear nb K0 K1 K2
+j=0;
+for i=1:ncorrx,
+    nb(i)=i;
+end
+j=0;
+sumcorr=0;
+for i=1:ncorrx
+    if(on(i)==0)
+        K1(i)=0;
+        K2(i)=0;
+    else
+        j=j+1;
+        K1(i)=K(j)/1.2*step;           % en Ampere
+        K2(i)=K(j)/1.2;
+        sumcorr =sumcorr + K1(i);
+    end    
+end
+
+K2=getam('HCOR');
+for i=1:ncorrx,
+    if (K1(i)<1.5)
+       stepsp('HCOR',K1(i),[i 1]);
+    end    
+end 
+
+
+
+% plot 
+figure(1);
+subplot(2,1,1);
+plot(s_bx, bx, 'sr' , s_bpmx,Xr,'-ok',s_bpmx,Xcorr,'--ok');
+grid on
+title('Correction horizontale mode anneau');
+suptitle(['BPM= ' num2str(nbpmxr) '    CORR= ' num2str(ncorrxr)])
+%legend('BPM','X','X corrigï¿œe',2); 
+xlim([0 156]); ylim([-4 4]);
+ylabel('Orbite');
+subplot(2,1,2);
+%bar(s_cx , K2 ,0.1);xlim([0 156]); ylim([-1. 1.]);
+KB=[K2 K1'];
+bar(s_cx ,KB , 0.8);xlim([0 156]); ylim([-1. 1.]);
+ylabel('I (A)');xlabel('Position S');
+grid on
Index: /trunk/machine/SOLEIL/Booster/applications/orbitX_disp_23juillet.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbitX_disp_23juillet.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbitX_disp_23juillet.m	(revision 17)
@@ -0,0 +1,167 @@
+% Correction orbite mesurï¿œe 18 BPM 18 corr
+% nux = 5.95
+
+clear beta_bpmx  phi_bpmx s_bpmx
+clear beta_corrx phi_corrx s_corrx
+clear beta_defx  phi_defx
+clear Cc K  X Xr
+ncell=44;
+betax=10.5;
+b1   =10.5;
+b2   =2.;
+nux=5.95*2*pi;
+dnux=nux/ncell;
+ds=3.5595;
+ncorrx=22;
+nbpmx=22;
+% table BPM
+loc(1) =01;loc(2) =04;loc(3) =05;loc(4) =08;loc(5) =09;loc(6)=11;
+loc(7) =13;loc(8) =14;loc(9) =17;loc(10)=18;loc(11)=21;
+loc(12)=23;loc(13)=26;loc(14)=27;loc(15)=30;loc(16)=31;loc(17)=33;
+loc(18)=35;loc(19)=36;loc(20)=39;loc(21)=40;loc(22)=43;
+
+bet(1) =b1;bet(2) =b2;bet(3) =b1;bet(4) =b2;bet(5) =b1;bet(6)=b1;
+bet(7) =b1;bet(8) =b2;bet(9) =b1;bet(10)=b2;bet(11)=b1;
+bet(12)=b1;bet(13)=b2;bet(14)=b1;bet(15)=b2;bet(16)=b1;bet(17)=b1;
+bet(18)=b1;bet(19)=b2;bet(20)=b1;bet(21)=b2;bet(22)=b1;
+
+hs(1) =01;hs(2) =01;hs(3) =01;hs(4) =01;hs(5) =01;hs(6)=01;
+hs(7) =01;hs(8) =01;hs(9) =01;hs(10)=01;hs(11)=00;
+hs(12)=01;hs(13)=01;hs(14)=00;hs(15)=01;hs(16)=01;hs(17)=01;
+hs(18)=00;hs(19)=01;hs(20)=00;hs(21)=01;hs(22)=01;
+
+%table correcteurs
+on(1) =01;on(2) =01;on(3) =01;on(4) =01;on(5) =01;on(6)=01;
+on(7) =01;on(8) =01;on(9) =01;on(10)=01;on(11)=01;
+on(12)=01;on(13)=01;on(14)=01;on(15)=01;on(16)=01;on(17)=01;
+on(18)=01;on(19)=01;on(20)=01;on(21)=01;on(22)=01;
+
+
+% on rempli la matrice C tel que X=C.K
+% cotï¿œ bpm sur chaque qp foc, on commence sur un qd (inj booster)
+i=0;
+for j=1:nbpmx,
+    if (hs(j)==1) 
+       i=i+1; 
+       beta_bpmx(i)=bet(j);
+       phi_bpmx(i)=dnux*loc(j);
+       s_bpmx(i)=ds*loc(j);
+    end    
+end
+nbpmxr=i;
+% cotï¿œ correcteurs sur chaque qp foc, on commence sur un qd (inj booster)
+i=0;
+for j=1:ncorrx,
+    if (on(j)==1)
+       i=i+1; 
+       beta_corrx(i)=betax;
+       phi_corrx(i)=(2*dnux)*(j-0.5);
+       s_corrx(i)=(2*ds)*(j-0.5);
+    end   
+end
+ncorrxr=i;
+% matrice Cc cas fermï¿œ cyclique
+c3=2*sin(nux/2);
+for i = 1:nbpmxr,
+   for j = 1:ncorrxr
+      c1=sqrt(beta_bpmx(i)*beta_corrx(j));
+      c2=cos(nux/2-abs(phi_bpmx(i)-phi_corrx(j)));
+      Cc(i,j) = c1*c2/c3;
+   end
+end
+sprintf(' Nombre de BPM : %g ', nbpmxr)
+sprintf(' Nombre de COR : %g ', ncorrxr)
+
+% % cotï¿œ vecteur X repesentant les defaut d'orbites mesurï¿œ en mm
+% dispsersion donnï¿œ avec beta (def + corr inclus)
+
+X(1)=1.2;       d(1)=1.8;
+X(2)=-3.45;     d(2)=-0.1;
+X(3)=-4.5 ;     d(3)=0.1;
+X(4)=0.7;       d(4)=1.6;
+X(5)=-7.2;      d(5)=2.1;
+X(6)=1.8;       d(6)=-0.6;
+X(7)=-0.3;     d(7)=1.2;
+X(8)=-1.16;    d(8)=1.3;
+X(9)=-6.8;    d(9)=1.3;
+X(10)=-1.05;  d(10)=0.;
+X(11)=0;      d(11)=1.;
+
+X(12)=-4;     d(12)=1.8;
+X(13)=-4.3;   d(13)=-.1;
+X(14)=0;      d(14)=0.1;
+X(15)= -0.25;  d(15)=1.6;
+X(16)=-2.4;   d(16)=2.1;
+X(17)=-8.8;   d(17)=0.6;
+X(18)=0;      d(18)=1.2;
+X(19)= 0.74;   d(19)=1.3;
+X(20)=0;      d(20)=1.3;
+X(21)=-4.8;   d(21)=0.;
+X(22)=5.5;    d(22)=1.;
+
+%cas avec delatE 
+i=0;
+for i=1:nbpmx,
+    X(i)=X(i)+d(i)*(0.002)*1000;   
+end
+
+i=0;
+for j=1:nbpmx,
+    if (hs(j)==1) 
+       i=i+1; 
+       Xr(i)=X(j);
+    end    
+end
+
+% Rï¿œsolution par SVD matrice Cc cyclique sur X
+[U,S,V] = svds(Cc,ncorrxr);
+diag(S)
+minvp=10;
+for i=1:min(nbpmxr,ncorrxr)
+    if(S(i,i)<minvp)
+        S(i,i)=0;
+    else
+        S(i,i)=1/S(i,i);
+    end    
+end    
+Cci=V*S*U';
+K=Cci*transpose(Xr);
+Xcorr= transpose(-Xr) + Cc*K;
+figure(2);plot(s_bpmx,Xr,'-ok',s_bpmx,Xcorr,'--ok');
+legend('X','X corrigï¿œe',2);
+title('Correction mode anneau');ylabel('Orbite');xlabel('Position S');
+
+clear nb
+j=0;
+for i=1:ncorrx,
+    nb(i)=i;
+end
+j=0;
+sumcorr=0;
+for i=1:ncorrx
+    if(on(i)==0)
+        K1(i)=0;
+    else
+        j=j+1;
+        K1(i)=K(j)/1000;
+        sumcorr =sumcorr + K1(i);
+    end     
+end
+sprintf('Somme corrcteurs=%d',sumcorr);
+sprintf('CH%d    HC  %d \n',[nb ; K1]);
+    
+    
+%  correcteurs du 23 juillet
+for i=1:ncorrx,
+    K0(i)=0;
+end 
+K0(1)=0.073/1000;
+K0(6)=0.65/1000;
+K0(13)=-0.43/1000;
+K0(22)=-0.13/1000;
+sprintf('CH%d    HC  %d \n',[nb ; (K1-K0)]);
+
+K2 = (K1-K0);
+save 'corrx.mat' K2
+figure(4);bar(K2 ,0.6);
+title('Correcteurs');ylabel('Deviation');xlabel('Position S');
Index: /trunk/machine/SOLEIL/Booster/applications/orbitZ.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbitZ.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbitZ.m	(revision 17)
@@ -0,0 +1,189 @@
+% Correction orbite vertivale 
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncell=44;
+betaz=13.5;
+b2   =13.5;
+b1   =3.0;
+nuz=4.67*2*pi;    % avance de phase
+dnuz=nuz/ncell;  % avance de phase par maille 
+ds=3.5595;       % longueur maille
+ncorrz=22;
+nbpmz=22;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+step=1.;         % correction progressive
+maxvp=0;           % valeur propre
+istart = 27;     % depart lecture BPM
+iend = 1000;      % fin lecture BPM
+
+% table BPMz
+clear loc
+loc(1) =01;loc(2) =04;loc(3) =05;loc(4) =08;loc(5) =09;loc(6)=11;
+loc(7) =13;loc(8) =14;loc(9) =17;loc(10)=18;loc(11)=21;
+loc(12)=23;loc(13)=26;loc(14)=27;loc(15)=30;loc(16)=31;loc(17)=33;
+loc(18)=35;loc(19)=36;loc(20)=39;loc(21)=40;loc(22)=43;
+clear bet
+bet(1) =b1;bet(2) =b2;bet(3) =b1;bet(4) =b2;bet(5) =b1;bet(6)=b1;
+bet(7) =b1;bet(8) =b2;bet(9) =b1;bet(10)=b2;bet(11)=b1;
+bet(12)=b1;bet(13)=b2;bet(14)=b1;bet(15)=b2;bet(16)=b1;bet(17)=b1;
+bet(18)=b1;bet(19)=b2;bet(20)=b1;bet(21)=b2;bet(22)=b1;
+
+% table on BPM et correcteurs
+clear hs1 hs2 hs
+%        H         V   H         V   H      H      H   V         H   V         H
+%           1         2   3         4   5      6      7   8         9   10        11
+hs1= [   1         1   1         1   1      1      0   1         1   1         1];
+%        12        13  14        15  16     17     18  19        20  21        22   
+hs2= [   1         1   1         1   1      1      0   1         1   1         1];
+hs=[hs1 hs2];
+
+clear on1 on2 on
+%     1      2      3      4      5      6      7      8      9      10     11       
+on1= [1      1      1      1      1      1      1      1      1      1      1 ];
+%     12     13     14     15     16     17     18     19     20     21     22     
+on2= [1      1      1      1      1      1      1      1      1      1      1 ];
+on=[on1 on2];
+
+clear beta_corrz phi_corrz s_corrz
+clear s_bz bz s_cz cz
+for i=1:nbpmz,
+    s_bz(i)=ds*loc(i)   ; bz(i)=0;
+    s_cz(i)=(2*ds)*(i-1); cz(i)=0;
+end
+
+
+
+% on rempli la matrice C tel que X=C.K
+% cotï¿œ bpm sur chaque qp foc, on commence sur un qd (inj booster)
+i=0;
+clear beta_bpmz  phi_bpmz s_bpmz
+for j=1:nbpmz
+    if (hs(j)==1) 
+       i=i+1; 
+       beta_bpmz(i)=bet(j);
+       phi_bpmz(i)=dnuz*loc(j);
+       s_bpmz(i)=ds*loc(j);
+    end    
+end
+nbpmzr=i;
+% cotï¿œ correcteurs sur chaque qp def% setsp('VCOR',0.4,[1 1])oc, on commence sur un qd (inj booster)
+i=0;
+clear beta_corrz phi_corrz s_corrz
+for j=1:ncorrz
+    if (on(j)==1)
+       i=i+1; 
+       beta_corrz(i)=betaz;
+       phi_corrz(i)=(2*dnuz)*(j-1);
+       s_corrz(i)=(2*ds)*(j-1);
+    end   
+end
+ncorrzr=i;
+% matrice Cc cas fermï¿œ cyclique
+clear Cc
+c3=2*sin(nuz/2);
+for i = 1:nbpmzr,
+   for j = 1:ncorrzr
+      c1=sqrt(beta_bpmz(i)*beta_corrz(j));
+      c2=cos(nuz/2-abs(phi_bpmz(i)-phi_corrz(j)));
+      Cc(i,j) = c1*c2/c3;
+   end
+end
+sprintf(' Nombre de BPM : %g ', nbpmzr);
+sprintf(' Nombre de COR : %g ', ncorrzr);
+
+
+%  cotï¿œ vecteur X repesentant les defaut d'orbites mesurï¿œ en mm
+%  bloc = offset a retrancher
+clear Zm Xm
+for i=1:22
+    xm=0;
+    zm=0;
+    if     (hs(i)==0)       % cas de BPM HS
+        Xm(i)=0;Zm(i)=0;
+    else
+        a=getbpmrawdata(i,'nodisplay','struct');
+        for j=istart:iend,
+           xm=xm+a.Data.X(j); % en mm
+           zm=zm+a.Data.Z(j);
+        end
+        Xm(i)=xm/(iend-istart+1);
+        Zm(i)=zm/(iend-istart+1);
+    end    
+end
+i=0;
+clear Zr
+Zr2=0;
+for j=1:nbpmz,
+    if (hs(j)==1) 
+       i=i+1; 
+       Zr(i)=Zm(j);
+       Zr2 = Zr2 + Zr(i)*Zr(i);
+    end    
+end
+Zr2=Zr2/i;
+
+% offset = [0.44 2.82 4.28 3.57 2.45 1.63 1.85 3.10 1.74 2.42 2.93]
+% figure(2)
+% plot(Zr(1:11), offset(1:11))
+
+% Rï¿œsolution par SVD matrice Cc cyclique sur X
+clear Zcorr Cci K
+[U,S,V] = svds(Cc,ncorrzr);
+diag(S)
+for i=1:min(nbpmzr,ncorrzr)
+    if(S(i,i)<maxvp)
+        S(i,i)=0;
+    else
+        S(i,i)=1/S(i,i);
+    end    
+end   
+Cci=V*S*U';
+K=-Cci*transpose(Zr);                % en mrad
+Zcorr= transpose(Zr) + Cc*K*step;
+sprintf(' Ecart type orbite : %g ', Zr2)
+
+clear nb K0 K1 K2
+j=0;
+for i=1:ncorrz,
+    nb(i)=i;
+end
+j=0;
+sumcorr=0;
+for i=1:ncorrz
+    if(on(i)==0)
+        K1(i)=0;
+        K2(i)=0;
+    else
+        j=j+1;
+        K1(i)=K(j)/1.2*step;           % en Ampere
+        K2(i)=K(j)/1.2;
+        sumcorr =sumcorr + K1(i);
+    end    
+end
+K1
+
+K2=getam('VCOR')
+for i=1:ncorrz,
+    if (K1(i)<1.5)
+       stepsp('VCOR',K1(i),[i 1]);
+    end    
+end 
+
+
+
+% plot 
+figure(1);
+subplot(2,1,1);
+plot(s_bz, bz, 'sr' , s_bpmz,Zr,'-ok',s_bpmz,Zcorr,'--ok');
+title('Correction verticale mode anneau');
+suptitle(['BPM= ' num2str(nbpmzr) '    CORR= ' num2str(ncorrzr)])
+%legend('BPM','Z','Z corrigï¿œe',2); 
+xlim([0 156]); ylim([-4 4]);
+ylabel('Orbite');
+grid on
+subplot(2,1,2);
+%bar(s_cz ,  K2 , 0.1);xlim([0 156]); ylim([-1. 1.]);
+KB=[K2 K1'];
+bar(s_cz ,KB , 0.8);xlim([0 156]); ylim([-1. 1.]);
+ylabel('I (A)');xlabel('Position S');
+grid on
Index: /trunk/machine/SOLEIL/Booster/applications/orbit_bump.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbit_bump.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbit_bump.m	(revision 17)
@@ -0,0 +1,20 @@
+function orbit_bump(QP,dz)
+% bump dans QP vertical booster
+% QP : numero de 1 Ã  22
+% dz  : bump en mm
+
+
+
+n1=QP-1;  % Num CV
+n2=QP;
+n3=QP+1;
+T1=+dz*0.08/1.2;
+T2=-dz*0.04/1.2;
+T3=+dz*0.08/1.2;
+stepsp('VCOR',T1,[n1 1]); 
+stepsp('VCOR',T2,[n2 1]); 
+stepsp('VCOR',T3,[n3 1]); 
+
+%dev2tango('VCOR',[[n1 1] ; [n2 1] ;[n3 1]])
+%getam('VCOR',[[n1 1]; [n2 1] ;[n3 1]])
+
Index: /trunk/machine/SOLEIL/Booster/applications/orbit_bumph.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbit_bumph.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbit_bumph.m	(revision 17)
@@ -0,0 +1,20 @@
+function orbit_bumph(QP,dz)
+% bump dans QP vertical booster
+% QP : numero de 1 Ã  22
+% dz  : bump en mm
+
+
+
+n1=QP-1;  % Num CV
+n2=QP;
+n3=QP+1;
+T1=+dz*0.08/1.2;
+T2=-dz*0.04/1.2;
+T3=+dz*0.08/1.2;
+stepsp('HCOR',T1,[n1 1]); 
+stepsp('HCOR',T2,[n2 1]); 
+stepsp('HCOR',T3,[n3 1]); 
+
+%dev2tango('VCOR',[[n1 1] ; [n2 1] ;[n3 1]])
+%getam('VCOR',[[n1 1]; [n2 1] ;[n3 1]])
+
Index: /trunk/machine/SOLEIL/Booster/applications/orbitx1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbitx1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbitx1.m	(revision 17)
@@ -0,0 +1,776 @@
+function varargout = orbitx1(varargin)
+% ORBITX1 M-file for orbitx1.fig
+%      ORBITX1, by itself, creates a new ORBITX1 or raises the existing
+%      singleton*.
+%
+%      H = ORBITX1 returns the handle to a new ORBITX1 or the handle to
+%      the existing singleton*.
+%
+%      ORBITX1('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ORBITX1.M with the given input arguments.
+%
+%      ORBITX1('Property','Value',...) creates a new ORBITX1 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before orbitx1_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to orbitx1_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help orbitx1
+
+% Last Modified by GUIDE v2.5 06-Dec-2005 10:01:24
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @orbitx1_OpeningFcn, ...
+                   'gui_OutputFcn',  @orbitx1_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before orbitx1 is made visible.
+function orbitx1_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to orbitx1 (see VARARGIN)
+
+% Choose default command line output for orbitx1
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes orbitx1 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = orbitx1_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on slider movement.
+function slider1_Callback(hObject, eventdata, handles)
+% hObject    handle to slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+set(handles.edit1,'String',...
+    num2str(get(handles.slider1,'Value')));
+
+% --- Executes during object creation, after setting all properties.
+function slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider2_Callback(hObject, eventdata, handles)
+% hObject    handle to slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+set(handles.edit2,'String',...
+    num2str(get(handles.slider2,'Value')));
+
+% --- Executes during object creation, after setting all properties.
+function slider2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit1 as text
+%        str2double(get(hObject,'String')) returns contents of edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit2 as text
+%        str2double(get(hObject,'String')) returns contents of edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton1.
+function pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+if (get(handles.BPM1,'Value') == 1)
+    sprintf('ok')
+end
+    
+r=get(handles.slider1,'Value');
+plot(randn(1,22)*r);
+
+
+
+
+%%%%%%%%%% liste BPM et correcteurs %%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+
+% --- Executes on button press in checkbox1.
+function BPM1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox1
+
+
+% --- Executes on button press in checkbox2.
+function checkbox2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox2
+
+
+% --- Executes on button press in checkbox3.
+function checkbox3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox3
+
+
+% --- Executes on button press in checkbox4.
+function checkbox4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox4
+
+
+% --- Executes on button press in checkbox5.
+function checkbox5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox5
+
+
+% --- Executes on button press in checkbox6.
+function checkbox6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox6
+
+
+% --- Executes on button press in checkbox7.
+function checkbox7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox7
+
+
+% --- Executes on button press in checkbox8.
+function checkbox8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox8
+
+
+% --- Executes on button press in checkbox9.
+function checkbox9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox9
+
+
+% --- Executes on button press in checkbox10.
+function checkbox10_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox10
+
+
+% --- Executes on button press in checkbox11.
+function checkbox11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox11
+
+
+% --- Executes on button press in checkbox12.
+function checkbox12_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox12
+
+
+% --- Executes on button press in checkbox14.
+function checkbox14_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox14
+
+
+% --- Executes on button press in checkbox15.
+function checkbox15_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox15
+
+
+% --- Executes on button press in checkbox16.
+function checkbox16_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox16
+
+
+% --- Executes on button press in checkbox17.
+function checkbox17_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox17
+
+
+% --- Executes on button press in checkbox18.
+function checkbox18_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox18
+
+
+% --- Executes on button press in checkbox19.
+function checkbox19_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox19
+
+
+% --- Executes on button press in checkbox20.
+function checkbox20_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox20
+
+
+% --- Executes on button press in checkbox21.
+function checkbox21_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox21
+
+
+% --- Executes on button press in checkbox22.
+function checkbox22_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox22
+
+
+% --- Executes on button press in checkbox23.
+function checkbox23_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox23
+
+
+% --- Executes on button press in checkbox13.
+function checkbox13_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox13
+
+
+% --- Executes on button press in checkbox24.
+function checkbox24_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox24
+
+
+% --- Executes on button press in checkbox25.
+function checkbox25_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox25
+
+
+% --- Executes on button press in checkbox26.
+function checkbox26_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox26
+
+
+% --- Executes on button press in checkbox27.
+function checkbox27_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox27
+
+
+% --- Executes on button press in checkbox28.
+function checkbox28_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox28
+
+
+% --- Executes on button press in checkbox29.
+function checkbox29_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox29
+
+
+% --- Executes on button press in checkbox30.
+function checkbox30_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox30
+
+
+% --- Executes on button press in checkbox31.
+function checkbox31_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox31 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox31
+
+
+% --- Executes on button press in checkbox32.
+function checkbox32_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox32 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox32
+
+
+% --- Executes on button press in checkbox33.
+function checkbox33_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox33
+
+
+% --- Executes on button press in checkbox34.
+function checkbox34_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox34 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox34
+
+
+% --- Executes on button press in checkbox35.
+function checkbox35_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox35 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox35
+
+
+% --- Executes on button press in checkbox36.
+function checkbox36_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox36
+
+
+% --- Executes on button press in checkbox37.
+function checkbox37_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox37
+
+
+% --- Executes on button press in checkbox38.
+function checkbox38_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox38
+
+
+% --- Executes on button press in checkbox39.
+function checkbox39_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox39 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox39
+
+
+% --- Executes on button press in checkbox40.
+function checkbox40_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox40 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox40
+
+
+% --- Executes on button press in checkbox41.
+function checkbox41_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox41 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox41
+
+
+% --- Executes on button press in checkbox42.
+function checkbox42_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox42 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox42
+
+
+% --- Executes on button press in checkbox43.
+function checkbox43_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox43 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox43
+
+
+% --- Executes on button press in checkbox44.
+function checkbox44_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox44 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox44
+
+
+% --- Executes on button press in checkbox45.
+function checkbox45_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox45 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox45
+
+
+% --- Executes on button press in checkbox46.
+function checkbox46_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox46 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox46
+
+
+% --- Executes on button press in checkbox47.
+function checkbox47_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox47 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox47
+
+
+% --- Executes on button press in checkbox48.
+function checkbox48_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox48 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox48
+
+
+% --- Executes on button press in checkbox49.
+function checkbox49_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox49 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox49
+
+
+% --- Executes on button press in checkbox50.
+function checkbox50_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox50 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox50
+
+
+% --- Executes on button press in checkbox51.
+function checkbox51_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox51 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox51
+
+
+% --- Executes on button press in checkbox52.
+function checkbox52_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox52 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox52
+
+
+% --- Executes on button press in checkbox53.
+function checkbox53_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox53 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox53
+
+
+% --- Executes on button press in checkbox54.
+function checkbox54_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox54 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox54
+
+
+% --- Executes on button press in checkbox55.
+function checkbox55_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox55 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox55
+
+
+% --- Executes on button press in checkbox56.
+function checkbox56_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox56 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox56
+
+
+
+function edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit3 as text
+%        str2double(get(hObject,'String')) returns contents of edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit4_Callback(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit4 as text
+%        str2double(get(hObject,'String')) returns contents of edit4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit5 as text
+%        str2double(get(hObject,'String')) returns contents of edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in BPM15.
+function BPM15_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM15
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/orbitx2.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbitx2.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbitx2.m	(revision 17)
@@ -0,0 +1,1115 @@
+function varargout = orbitx2(varargin)
+% ORBITX2 M-file for orbitx2.fig
+%      ORBITX2, by itself, creates a new ORBITX2 or raises the existing
+%      singleton*.
+%
+%      H = ORBITX2 returns the handle to a new ORBITX2 or the handle to
+%      the existing singleton*.
+%
+%      ORBITX2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ORBITX2.M with the given input arguments.
+%
+%      ORBITX2('Property','Value',...) creates a new ORBITX2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before orbitx2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to orbitx2_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help orbitx2
+
+% Last Modified by GUIDE v2.5 20-Jan-2006 11:10:49
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @orbitx2_OpeningFcn, ...
+                   'gui_OutputFcn',  @orbitx2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before orbitx2 is made visible.
+function orbitx2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to orbitx2 (see VARARGIN)
+
+% Choose default command line output for orbitx2
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes orbitx2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = orbitx2_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on slider movement.
+function slider_ratio_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+set(handles.edit_ratio,'String',...
+    num2str(get(handles.slider_ratio,'Value')));
+
+% --- Executes during object creation, after setting all properties.
+function slider_ratio_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider_VP_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+set(handles.edit_VP,'String',...
+    num2str(get(handles.slider_VP,'Value')));
+
+% --- Executes during object creation, after setting all properties.
+function slider_VP_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function edit_ratio_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ratio as text
+%        str2double(get(hObject,'String')) returns contents of edit_ratio as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ratio_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_VP_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_VP as text
+%        str2double(get(hObject,'String')) returns contents of edit_VP as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_VP_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton3 (lecture orbite+corr).
+function pushbutton3_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% lecture orbite horizontale
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncell=44;
+betax=str2num(get(handles.betamax,'String'));
+b2   =betax;
+b1   =str2num(get(handles.betamin,'String'));
+tune=str2num(get(handles.nux,'String'));
+nux=tune*2*pi;    % avance de phase
+dnux=nux/ncell;  % avance de phase par maille
+ds=3.5595;       % longueur maille
+ncorrx=22;
+nbpmx=22;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+step=get(handles.slider_ratio,'Value');         % correction progressive
+maxvp=get(handles.slider_VP,'Value');           % valeur propre
+istart =str2num(get(handles.edit_tdeb,'String'));     % depart lecture BPM
+iend =  str2num(get(handles.edit_tfin,'String'));      % fin lecture BPM
+
+% table BPM
+clear loc
+loc(1) =01;loc(2) =04;loc(3) =05;loc(4) =08;loc(5) =09;loc(6)=11;
+loc(7) =13;loc(8) =14;loc(9) =17;loc(10)=18;loc(11)=21;
+loc(12)=23;loc(13)=26;loc(14)=27;loc(15)=30;loc(16)=31;loc(17)=33;
+loc(18)=35;loc(19)=36;loc(20)=39;loc(21)=40;loc(22)=43;
+clear bet
+bet(1) =b1;bet(2) =b2;bet(3) =b1;bet(4) =b2;bet(5) =b1;bet(6)=b1;
+bet(7) =b1;bet(8) =b2;bet(9) =b1;bet(10)=b2;bet(11)=b1;
+bet(12)=b1;bet(13)=b2;bet(14)=b1;bet(15)=b2;bet(16)=b1;bet(17)=b1;
+bet(18)=b1;bet(19)=b2;bet(20)=b1;bet(21)=b2;bet(22)=b1;
+
+clear hs on
+nbpm=0;
+for i=1:nbpmx;
+   text=['BPM',int2str(i)];
+   hs(i)=get(handles.(text),'Value');
+   nbpm=nbpm+hs(i);
+end 
+set(handles.edit_Nbpm,'String',...
+    [num2str(nbpm),' BPM']);
+ncorr=0;
+for i=1:ncorrx;
+   text=['CORR',int2str(i)];
+   on(i)=get(handles.(text),'Value');
+   ncorr=ncorr+on(i);
+end 
+set(handles.edit_Ncorr,'String',...
+    [num2str(ncorr),' CORR']);
+
+
+clear beta_corrx phi_corrx s_corrx
+clear s_bx bx s_cx cx
+for i=1:nbpmx,
+    s_bx(i)=ds*loc(i)   ; bx(i)=0;
+    s_cx(i)=(2*ds)*(i-1); cx(i)=0;
+end
+
+
+
+
+%  cote vecteur X repesentant les defaut d'orbites mesuree en mm
+%  bloc = offset a retrancher
+clear Zm Xm
+for i=1:22
+    xm=0;
+    zm=0;
+    
+%      a=getbpmrawdata(i,'nodisplay','struct');
+%      for j=istart:iend,
+%         xm=xm+a.Data.X(j); % en mm
+%         zm=zm+a.Data.Z(j);
+%      end
+%      Xm(i)=xm/(iend-istart+1);
+%      Zm(i)=zm/(iend-istart+1);
+     Xm(i)=(1-2*rand(1))*3;
+     Zm(i)=(1-2*rand(1))*3;
+end
+
+clear Xr Xr2
+Xr2=0;
+for j=1:nbpmx,
+    Xr(j)=Xm(j);
+    Xr2 = Xr2 + Xr(j)*Xr(j);   
+end
+Xr2=sqrt(Xr2/j);   % ecart type orbite
+set(handles.edit_Xrms,'String',[num2str(Xr2),' mm rms']);
+
+
+
+% K2=getam('HCOR');
+K2=(1-2*rand(1,ncorrx));
+
+
+axes(handles.axes_orbit)
+
+plot(s_bx,Xm,'-ok','MarkerFaceColor','k');
+
+
+xlim([0 156]); ylim([-4 4]);
+ylabel('Orbite');
+grid on
+
+axes(handles.axes_corr)
+bar(s_cx,K2,0.5)
+ylabel('I (A)');xlabel('Position S');
+xlim([0 156]);ylim([-1.5 1.5])
+
+
+
+% --- Executes on button press in pushbutton4 (calcul corr).
+function pushbutton4_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in pushbutton5 (applique corr).
+function pushbutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+
+
+% --- Executes on button press in pushbutton1 (lecture + calcul+ appl).
+function pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Correction orbite horizontale
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncell=44;
+betax=str2num(get(handles.betamax,'String'));
+b2   =betax;
+b1   =str2num(get(handles.betamin,'String'));
+tune=str2num(get(handles.nux,'String'));
+nux=tune*2*pi;    % avance de phase
+dnux=nux/ncell;  % avance de phase par maille
+ds=3.5595;       % longueur maille
+ncorrx=22;
+nbpmx=22;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+step=get(handles.slider_ratio,'Value');         % correction progressive
+maxvp=get(handles.slider_VP,'Value');           % valeur propre
+istart =str2num(get(handles.edit_tdeb,'String'));     % depart lecture BPM
+iend =  str2num(get(handles.edit_tfin,'String'));      % fin lecture BPM
+
+% table BPM
+clear loc
+loc(1) =01;loc(2) =04;loc(3) =05;loc(4) =08;loc(5) =09;loc(6)=11;
+loc(7) =13;loc(8) =14;loc(9) =17;loc(10)=18;loc(11)=21;
+loc(12)=23;loc(13)=26;loc(14)=27;loc(15)=30;loc(16)=31;loc(17)=33;
+loc(18)=35;loc(19)=36;loc(20)=39;loc(21)=40;loc(22)=43;
+clear bet
+bet(1) =b1;bet(2) =b2;bet(3) =b1;bet(4) =b2;bet(5) =b1;bet(6)=b1;
+bet(7) =b1;bet(8) =b2;bet(9) =b1;bet(10)=b2;bet(11)=b1;
+bet(12)=b1;bet(13)=b2;bet(14)=b1;bet(15)=b2;bet(16)=b1;bet(17)=b1;
+bet(18)=b1;bet(19)=b2;bet(20)=b1;bet(21)=b2;bet(22)=b1;
+
+clear hs on
+nbpm=0;
+for i=1:nbpmx;
+   text=['BPM',int2str(i)];
+   hs(i)=get(handles.(text),'Value');
+   nbpm=nbpm+hs(i);
+end 
+set(handles.edit_Nbpm,'String',...
+    [num2str(nbpm),' BPM']);
+ncorr=0;
+for i=1:ncorrx;
+   text=['CORR',int2str(i)];
+   on(i)=get(handles.(text),'Value');
+   ncorr=ncorr+on(i);
+end 
+set(handles.edit_Ncorr,'String',...
+    [num2str(ncorr),' CORR']);
+
+
+clear beta_corrx phi_corrx s_corrx
+clear s_bx bx s_cx cx
+for i=1:nbpmx,
+    s_bx(i)=ds*loc(i)   ; bx(i)=0;
+    s_cx(i)=(2*ds)*(i-1); cx(i)=0;
+end
+
+
+
+% on rempli la matrice C tel que X=C.K
+% cotï¿œ bpm sur chaque qp foc, on commence sur un qd (inj booster)
+i=0;
+clear beta_bpmx  phi_bpmx s_bpmx
+for j=1:nbpmx
+    if (hs(j)==1) 
+       i=i+1; 
+       beta_bpmx(i)=bet(j);
+       phi_bpmx(i)=dnux*loc(j);
+       s_bpmx(i)=ds*loc(j);
+    end    
+end
+nbpmxr=i;
+% cotï¿œ correcteurs sur chaque qp def% setsp('VCOR',0.4,[1 1])oc, on commence sur un qd (inj booster)
+i=0;
+clear beta_corrx phi_corrx s_corrx
+for j=1:ncorrx,
+    if (on(j)==1)
+       i=i+1; 
+       beta_corrx(i)=betax;
+       phi_corrx(i)=(2*dnux)*(j-0.5);
+       s_corrx(i)=(2*ds)*(j-0.5);
+    end   
+end
+ncorrxr=i;
+% matrice Cc cas fermee cyclique
+clear Cc
+c3=2*sin(nux/2);
+for i = 1:nbpmxr,
+   for j = 1:ncorrxr
+      c1=sqrt(beta_bpmx(i)*beta_corrx(j));
+      c2=cos(nux/2-abs(phi_bpmx(i)-phi_corrx(j)));
+      Cc(i,j) = c1*c2/c3;
+   end
+end
+
+
+%  cotï¿œ vecteur X repesentant les defaut d'orbites mesurï¿œ en mm
+%  bloc = offset a retrancher
+clear Zm Xm
+for i=1:nbpmx
+    xm=0;
+    zm=0;
+    
+%      a=getbpmrawdata(i,'nodisplay','struct');
+%      for j=istart:iend,
+%         xm=xm+a.Data.X(j); % en mm
+%         zm=zm+a.Data.Z(j);
+%      end
+%      Xm(i)=xm/(iend-istart+1);
+%      Zm(i)=zm/(iend-istart+1);
+     Xm(i)=(1-2*rand(1))*3;
+     Zm(i)=(1-2*rand(1))*3;
+end
+
+clear Xr Xr2
+Xr2=0;
+i=0;
+for j=1:nbpmx,
+    if (hs(j)==1) 
+       i=i+1;
+       Xr(i)=Xm(j);
+       Xr2 = Xr2 + Xr(i)*Xr(i);
+    end    
+end
+Xr2=sqrt(Xr2/i);   % ecart type orbite
+set(handles.edit_Xrms,'String',[num2str(Xr2),' mm rms']);
+
+% Resolution par SVD matrice Cc cyclique sur X
+clear Xcorr Cci K
+[U,S,V] = svds(Cc,ncorrxr);
+diag(S)
+for i=1:min(nbpmxr,ncorrxr)
+    if(S(i,i)<maxvp)
+        S(i,i)=0;
+    else
+        S(i,i)=1/S(i,i);
+    end    
+end   
+Cci=V*S*U';
+K=-Cci*transpose(Xr);                % en mrad
+Xcorr= transpose(Xr) + Cc*K*step;
+
+
+
+clear nb K0 K1 K2
+j=0;
+for i=1:ncorrx,
+    nb(i)=i;
+end
+j=0;
+sumcorr=0;
+for i=1:ncorrx
+    if(on(i)==0)
+        K1(i)=0;
+        K2(i)=0;
+    else
+        j=j+1;
+        K1(i)=K(j)/1.2*step;           % en Ampere
+        K2(i)=K(j)/1.2;
+        sumcorr =sumcorr + K1(i);
+    end    
+end
+
+% K2=getam('HCOR');
+% for i=1:ncorrx,
+%     if (K1(i)<1.5)
+%        stepsp('HCOR',K1(i),[i 1]);
+%     end    
+% end 
+
+axes(handles.axes_orbit)
+
+plot(s_bx,Xm,'-ok','MarkerFaceColor','k'); hold on
+plot(s_bpmx,Xr,'or','MarkerFaceColor','r');hold off
+
+xlim([0 156]); ylim([-4 4]);
+ylabel('Orbite');
+grid on
+
+axes(handles.axes_corr)
+bar(s_cx,K1,0.5)
+ylabel('I (A)');xlabel('Position S');
+xlim([0 156]);ylim([-1.5 1.5])
+
+
+
+
+
+
+
+
+
+
+
+
+
+function betamin_Callback(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit3 as text
+%        str2double(get(hObject,'String')) returns contents of edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function betamin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function nux_Callback(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit4 as text
+%        str2double(get(hObject,'String')) returns contents of edit4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nux_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function betamax_Callback(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit5 as text
+%        str2double(get(hObject,'String')) returns contents of edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function betamax_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+%%%%%%%%%% liste BPM et correcteurs %%%%%%%%%%%%%%%%%%%%%
+
+
+
+% --- Executes on button press in checkbox1.
+function BPM1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox1
+
+
+% --- Executes on button press in checkbox2.
+function BPM2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox2
+
+
+% --- Executes on button press in checkbox3.
+function BPM3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox3
+
+
+% --- Executes on button press in checkbox4.
+function BPM4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox4
+
+
+% --- Executes on button press in checkbox5.
+function BPM5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox5
+
+
+% --- Executes on button press in checkbox6.
+function BPM6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox6
+
+
+% --- Executes on button press in checkbox7.
+function BPM7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox7
+
+
+% --- Executes on button press in checkbox8.
+function BPM8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox8
+
+
+% --- Executes on button press in checkbox9.
+function BPM9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox9
+
+
+% --- Executes on button press in checkbox10.
+function BPM10_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox10
+
+
+% --- Executes on button press in checkbox11.
+function BPM11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox11
+
+
+% --- Executes on button press in BPM12.
+function BPM12_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM12
+
+
+% --- Executes on button press in BPM13.
+function BPM13_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM13
+
+
+% --- Executes on button press in BPM14.
+function BPM14_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM14
+
+
+% --- Executes on button press in BPM15.
+function BPM15_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM15
+
+
+% --- Executes on button press in BPM16.
+function BPM16_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM16
+
+
+% --- Executes on button press in BPM17.
+function BPM17_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM17
+
+
+% --- Executes on button press in BPM18.
+function BPM18_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM18
+
+
+% --- Executes on button press in BPM19.
+function BPM19_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM19
+
+
+% --- Executes on button press in BPM20.
+function BPM20_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM20
+
+
+% --- Executes on button press in BPM21.
+function BPM21_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM21
+
+
+% --- Executes on button press in BPM22.
+function BPM22_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM22
+
+
+
+
+% --- Executes on button press in CORR1.
+function CORR1_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR1
+
+
+% --- Executes on button press in CORR2.
+function CORR2_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR2
+
+
+% --- Executes on button press in CORR3.
+function CORR3_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR3
+
+
+% --- Executes on button press in CORR4.
+function CORR4_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR4
+
+
+% --- Executes on button press in CORR5.
+function CORR5_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR5
+
+
+% --- Executes on button press in CORR6.
+function CORR6_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR6
+
+
+% --- Executes on button press in CORR7.
+function CORR7_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR7
+
+
+
+% --- Executes on button press in CORR8.
+function CORR8_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR8
+
+
+
+% --- Executes on button press in CORR9.
+function CORR9_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR9
+
+
+
+
+% --- Executes on button press in CORR10.
+function CORR10_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR10
+
+
+% --- Executes on button press in CORR11.
+function CORR11_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR11
+
+
+% --- Executes on button press in CORR12.
+function CORR12_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR12
+
+
+% --- Executes on button press in CORR13.
+function CORR13_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR13
+
+
+% --- Executes on button press in CORR14.
+function CORR14_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR14
+
+
+% --- Executes on button press in CORR15.
+function CORR15_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR15
+
+
+% --- Executes on button press in CORR16.
+function CORR16_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR16
+
+
+% --- Executes on button press in CORR17.
+function CORR17_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR17
+
+
+% --- Executes on button press in CORR18.
+function CORR18_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR18
+
+
+% --- Executes on button press in CORR19.
+function CORR19_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR19
+
+
+% --- Executes on button press in CORR20.
+function CORR20_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR20
+
+
+% --- Executes on button press in CORR21.
+function CORR21_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR21
+
+
+% --- Executes on button press in CORR22.
+function CORR22_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of CORR22
+
+
+
+function edit_Nbpm_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Nbpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Nbpm as text
+%        str2double(get(hObject,'String')) returns contents of edit_Nbpm as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Nbpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Nbpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Ncorr_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Ncorr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Ncorr as text
+%        str2double(get(hObject,'String')) returns contents of edit_Ncorr as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Ncorr_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Ncorr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Xrms_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Xrms (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Xrms as text
+%        str2double(get(hObject,'String')) returns contents of edit_Xrms as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Xrms_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Xrms (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_tdeb_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_tdeb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_tdeb as text
+%        str2double(get(hObject,'String')) returns contents of edit_tdeb as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_tdeb_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_tdeb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_tfin_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_tfin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_tfin as text
+%        str2double(get(hObject,'String')) returns contents of edit_tfin as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_tfin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_tfin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/orbitx_AT.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbitx_AT.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbitx_AT.m	(revision 17)
@@ -0,0 +1,1300 @@
+function varargout = orbitx_AT(varargin)
+% ORBITX_AT M-file for orbitx_AT.fig
+%      ORBITX_AT, by itself, creates a new ORBITX_AT or raises the existing
+%      singleton*.
+%
+%      H = ORBITX_AT returns the handle to a new ORBITX_AT or the handle to
+%      the existing singleton*.
+%
+%      ORBITX_AT('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ORBITX_AT.M with the given input arguments.
+%
+%      ORBITX_AT('Property','Value',...) creates a new ORBITX_AT or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before orbitx_AT_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to orbitx_AT_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help orbitx_AT
+
+% Last Modified by GUIDE v2.5 30-Mar-2006 18:44:14
+
+% Begin initialization code - DO NOT EDIT
+
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @orbitx_AT_OpeningFcn, ...
+                   'gui_OutputFcn',  @orbitx_AT_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before orbitx_AT is made visible.
+function orbitx_AT_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to orbitx_AT (see VARARGIN)
+
+% Choose default command line output for orbitx_AT
+handles.output = hObject;
+
+if ~strcmp(getfamilydata('SubMachine'),'Booster')
+    error('Load Booster first');
+end
+
+handles.K1 = 0;
+handles.ncorrx=22;
+handles.nbpmx=22;
+% Update handles structure
+guidata(hObject, handles);
+gettune_Callback(hObject, eventdata, handles);
+
+% UIWAIT makes orbitx_AT wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = orbitx_AT_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on slider movement.
+function slider_ratio_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'Value') returns position of slider
+%        gettune(hObject,'Min') and gettune(hObject,'Max') to determine range of slider
+
+set(handles.edit_ratio,'String',...
+    num2str(get(handles.slider_ratio,'Value')));
+
+% --- Executes during object creation, after setting all properties.
+function slider_ratio_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider_VP_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'Value') returns position of slider
+%        gettune(hObject,'Min') and gettune(hObject,'Max') to determine range of slider
+set(handles.edit_VP,'String',...
+    num2str(get(handles.slider_VP,'Value')));
+
+% --- Executes during object creation, after setting all properties.
+function slider_VP_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+function edit_ratio_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_ratio as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_ratio as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ratio_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function edit_VP_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_VP as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_VP as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_VP_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in get_corr_orb (lecture orbite+corr).
+function get_corr_orb_Callback(hObject, eventdata, handles)
+% hObject    handle to get_corr_orb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% lecture orbite et correcteurs horizontaux
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+istart = str2num(get(handles.edit_tdeb,'String'));     % depart lecture BPM
+iend   =  str2num(get(handles.edit_tfin,'String'));      % fin lecture BPM
+
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+
+clear hs on
+
+% Get BPM to use in correction
+nbpm = 0;
+
+for i = 1:nbpmx;
+   text = ['BPM',int2str(i)];
+   hs(i) = get(handles.(text),'Value');
+   nbpm = nbpm+hs(i);
+end 
+set(handles.edit_Nbpm,'String',...
+    [num2str(nbpm),' BPM']);
+
+% Get correctors to use in correction
+ncorr = 0;
+for i = 1:ncorrx;
+   text = ['CORR',int2str(i)];
+   on(i) = get(handles.(text),'Value');
+   ncorr = ncorr+on(i);
+end 
+set(handles.edit_Ncorr,'String',...
+    [num2str(ncorr),' CORR']);
+
+
+clear s_bx s_cx
+
+s_bx = Sbx;
+s_cx = Scx;
+
+save 'position 's_bx' s_cx';
+
+[Xm,Zm] = getboobpm(nbpmx,iend,istart);
+
+clear Xr Xr2
+Xr2=0;
+
+for j=1:nbpmx,
+    Xr(j)=Xm(j);
+    Xr2 = Xr2 + Xr(j)*Xr(j);   
+end
+
+Xr2 = sqrt(Xr2/j);   % ecart type orbite
+set(handles.edit_Xrms,'String',[num2str(Xr2),' mm rms']);
+
+K2 = getam('HCOR');
+
+axes(handles.axes_orbit)
+length(s_bx)
+length(Xm)
+    plot(s_bx,Xm,'-ok','MarkerFaceColor','k');
+    xlim([0 156]); ylim([-4 4]); 
+    set(handles.axes_orbit,'XTick',[]);
+    ylabel('Orbite');
+    grid on
+
+axes(handles.axes_lattice)
+   drawlattice_alex
+   set(handles.axes_lattice,'YTick',[]);
+   set(handles.axes_lattice,'XTick',[]);
+   
+axes(handles.axes_corr)  
+    bar(s_cx,K2,0.5)
+    ylabel('I (A)');xlabel('Position S');
+    xlim([0 156]);ylim([-1.5 1.5])
+
+
+
+% --- Executes on button press in calcul_corr (calcul corr).
+function calcul_corr_Callback(hObject, eventdata, handles)
+% hObject    handle to calcul_corr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+step=get(handles.slider_ratio,'Value');         % correction progressive
+maxvp=get(handles.slider_VP,'Value');           % valeur propre
+istart =str2num(get(handles.edit_tdeb,'String'));     % depart lecture BPM
+iend =  str2num(get(handles.edit_tfin,'String'));      % fin lecture BPM
+
+clear hs on
+nbpm=0;
+for i=1:nbpmx;
+   text=['BPM',int2str(i)];
+   hs(i)=get(handles.(text),'Value');
+   nbpm=nbpm+hs(i);
+end 
+set(handles.edit_Nbpm,'String',...
+    [num2str(nbpm),' BPM']);
+ncorr=0;
+for i=1:ncorrx;
+   text=['CORR',int2str(i)];
+   on(i)=get(handles.(text),'Value');
+   ncorr=ncorr+on(i);
+end 
+set(handles.edit_Ncorr,'String',...
+    [num2str(ncorr),' CORR']);
+
+clear s_bx s_cx
+s_bx=Sbx;
+s_cx=Scx;
+
+clear beta_corrx phi_corrx s_corrx
+
+% on rempli la matrice C tel que X=C.K
+i=0;
+clear beta_bpmx  phi_bpmx s_bpmx
+for j=1:nbpmx
+    if (hs(j)==1) 
+       i=i+1; 
+       beta_bpmx(i)=betbX(j);
+       phi_bpmx(i)=phabX(j);
+       s_bpmx(i)=Sbx(j);
+    end    
+end
+nbpmxr=i;
+% cotï¿œ correcteurs sur chaque qp defoc, on commence sur un qd (inj booster)
+i=0;
+clear beta_corrx phi_corrx s_corrx
+for j=1:ncorrx,
+    if (on(j)==1)
+       i=i+1; 
+       beta_corrx(i)=betcX(j);
+       phi_corrx(i)=phacX(j);
+       s_corrx(i)=Scx(j);
+    end   
+end
+ncorrxr=i;
+% matrice Cc cas fermee cyclique
+clear Cc
+c3=2*sin(nux/2);
+for i = 1:nbpmxr,
+   for j = 1:ncorrxr
+      c1=sqrt(beta_bpmx(i)*beta_corrx(j));
+      c2=cos(nux/2-abs(phi_bpmx(i)-phi_corrx(j)));
+      Cc(i,j) = c1*c2/c3;
+   end
+end
+
+%  cote vecteur X repesentant les defaut d'orbites mesuree en mm
+%  bloc = offset a retrancher
+
+[Xm,Zm]=getboobpm(nbpmx,iend,istart);
+
+clear Xr
+i=0;
+for j=1:nbpmx,
+    if (hs(j)==1) 
+       i=i+1;
+       Xr(i)=Xm(j);
+    end    
+end
+
+% Resolution par SVD matrice Cc cyclique sur X
+clear Xcorr Cci K
+[U,S,V] = svds(Cc,ncorrxr);
+vp=diag(S);
+for i=1:min(nbpmxr,ncorrxr)
+    if(S(i,i)<maxvp)
+        S(i,i)=0;
+    else
+        S(i,i)=1/S(i,i);
+    end    
+end   
+Cci=V*S*U';
+K=-Cci*transpose(Xr);                % en mrad
+
+clear nb K0 K1 K2
+j=0;
+for i=1:ncorrx,
+    nb(i)=i;
+end
+j=0;
+sumcorr=0;
+for i=1:ncorrx
+    if(on(i)==0)
+        K1(i)=0;
+    else
+        j=j+1;
+        K1(i)=K(j)/1.2*step;           % en Ampere
+        sumcorr =sumcorr + K1(i);
+    end    
+end
+handles.K1=K1;
+
+
+K2=getam('HCOR');save('xcoortemp','K2')
+K3=K2+K1';
+
+axes(handles.axes_orbit)
+    plot(vp,'-ok','MarkerFaceColor','k');
+    xlim([0 22]);
+    ylabel('Valeur propres');
+    grid on
+
+axes(handles.axes_corr)
+    bar(s_cx,K3,0.5)
+    ylabel('I (A)');xlabel('Position S');
+    xlim([0 156]);ylim([-1.5 1.5])
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+
+
+
+% --- Executes on button press in apply_corr (applique corr).
+function apply_corr_Callback(hObject, eventdata, handles)
+% hObject    handle to apply_corr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+K1=handles.K1;
+for i=1:ncorrx,
+    if (K1(i)<1.5)
+       stepsp('HCOR',K1(i),[i 1]);
+    end    
+end 
+%K1=[0];
+
+% --- Executes on button press in Back_corr.
+function Back_corr_Callback(hObject, eventdata, handles)
+% hObject    handle to Back_corr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+load('xcoortemp','K2');
+for i=1:ncorrx,
+    if (K2(i)<1.5)
+       setsp('HCOR',K2(i),[i 1]);
+    end    
+end
+
+
+% --- Executes on button press in get_and_correction (lecture + calcul+ appl).
+function get_and_correction_Callback(hObject, eventdata, handles)
+% hObject    handle to get_and_correction (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Correction orbite horizontale
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+step  = get(handles.slider_ratio,'Value');         % correction progressive
+maxvp = get(handles.slider_VP,'Value');           % valeur propre
+istart =str2num(get(handles.edit_tdeb,'String'));     % depart lecture BPM
+iend   =  str2num(get(handles.edit_tfin,'String'));      % fin lecture BPM
+
+clear hs on
+nbpm=0;
+for i=1:nbpmx;
+   text=['BPM',int2str(i)];
+   hs(i)=get(handles.(text),'Value');
+   nbpm=nbpm+hs(i);
+end 
+set(handles.edit_Nbpm,'String',...
+    [num2str(nbpm),' BPM']);
+ncorr=0;
+for i=1:ncorrx;
+   text=['CORR',int2str(i)];
+   on(i)=get(handles.(text),'Value');
+   ncorr=ncorr+on(i);
+end 
+set(handles.edit_Ncorr,'String',...
+    [num2str(ncorr),' CORR']);
+
+clear s_bx s_cx
+s_bx=Sbx;
+s_cx=Scx;
+
+clear beta_corrx phi_corrx s_corrx
+
+% on rempli la matrice C tel que X=C.K
+i=0;
+clear beta_bpmx  phi_bpmx s_bpmx
+for j=1:nbpmx
+    if (hs(j)==1) 
+       i=i+1; 
+       beta_bpmx(i)=betbX(j);
+       phi_bpmx(i)=phabX(j);
+       s_bpmx(i)=Sbx(j);
+    end    
+end
+nbpmxr=i;
+% cotï¿œ correcteurs sur chaque qp defoc, on commence sur un qd (inj booster)
+i=0;
+clear beta_corrx phi_corrx s_corrx
+for j=1:ncorrx,
+    if (on(j)==1)
+       i=i+1; 
+       beta_corrx(i)=betcX(j);
+       phi_corrx(i)=phacX(j);
+       s_corrx(i)=Scx(j);
+    end   
+end
+ncorrxr=i;
+% matrice Cc cas fermee cyclique
+clear Cc
+c3=2*sin(nux/2);
+for i = 1:nbpmxr,
+   for j = 1:ncorrxr
+      c1=sqrt(beta_bpmx(i)*beta_corrx(j));
+      c2=cos(nux/2-abs(phi_bpmx(i)-phi_corrx(j)));
+      Cc(i,j) = c1*c2/c3;
+   end
+end
+
+%  cote vecteur X repesentant les defaut d'orbites mesuree en mm
+%  bloc = offset a retrancher
+[Xm,Zm] = getboobpm(nbpmx,iend,istart);
+
+clear Xr Xr2
+Xr2=0;
+i=0;
+for j=1:nbpmx,
+    if (hs(j)==1) 
+       i=i+1;
+       Xr(i)=Xm(j);
+       Xr2 = Xr2 + Xr(i)*Xr(i);
+    end    
+end
+Xr2=sqrt(Xr2/i);   % ecart type orbite
+set(handles.edit_Xrms,'String',[num2str(Xr2),' mm rms']);
+
+% Resolution par SVD matrice Cc cyclique sur X
+clear Xcorr Cci K
+[U,S,V] = svds(Cc,ncorrxr);
+for i=1:min(nbpmxr,ncorrxr)
+    if(S(i,i)<maxvp)
+        S(i,i)=0;
+    else
+        S(i,i)=1/S(i,i);
+    end    
+end   
+Cci=V*S*U';
+K=-Cci*transpose(Xr);                % en mrad
+
+
+
+clear nb K0 K1 K2
+j=0;
+for i=1:ncorrx,
+    nb(i)=i;
+end
+j=0;
+sumcorr=0;
+for i=1:ncorrx
+    if(on(i)==0)
+        K1(i)=0;
+    else
+        j=j+1;
+        K1(i)=K(j)/1.2*step;           % en Ampere
+        sumcorr =sumcorr + K1(i);
+    end    
+end
+
+K2=getam('HCOR','simulator'); save('xcoortemp','K2')
+for i=1:ncorrx,
+    if (K1(i)<1.5)
+       %stepsp('HCOR',K1(i),[i 1]);
+    end    
+end 
+K3=K2+K1';
+
+
+% aprÃšs corr
+[Xc,Zc]=getboobpm(nbpmx,iend,istart);
+
+axes(handles.axes_orbit)
+    plot(s_bx,Xm,'-ok','MarkerFaceColor','k'); hold on
+    plot(s_bx,Xc,'-or','MarkerFaceColor','r'); hold off
+    xlim([0 156]); ylim([-4 4]);
+    ylabel('Orbite');
+    grid on
+
+axes(handles.axes_corr)
+    bar(s_cx,K3,0.5)
+    ylabel('I (A)');xlabel('Position S');
+    xlim([0 156]);ylim([-1.5 1.5])
+
+
+function Nuz_mes_Callback(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit3 as text
+%        str2double(gettune(hObject,'String')) returns contents of edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Nuz_mes_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function Energy_Callback(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit4 as text
+%        str2double(gettune(hObject,'String')) returns contents of edit4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Energy_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function Nux_mes_Callback(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit5 as text
+%        str2double(gettune(hObject,'String')) returns contents of edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Nux_mes_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on button press in checkbox1.
+function BPM1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox1
+
+
+% --- Executes on button press in checkbox2.
+function BPM2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox2
+
+
+% --- Executes on button press in checkbox3.
+function BPM3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox3
+
+
+% --- Executes on button press in checkbox4.
+function BPM4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox4
+
+
+% --- Executes on button press in checkbox5.
+function BPM5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox5
+
+
+% --- Executes on button press in checkbox6.
+function BPM6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox6
+
+
+% --- Executes on button press in checkbox7.
+function BPM7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox7
+
+
+% --- Executes on button press in checkbox8.
+function BPM8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox8
+
+
+% --- Executes on button press in checkbox9.
+function BPM9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox9
+
+
+% --- Executes on button press in checkbox10.
+function BPM10_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox10
+
+
+% --- Executes on button press in checkbox11.
+function BPM11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox11
+
+
+% --- Executes on button press in BPM12.
+function BPM12_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM12
+
+
+% --- Executes on button press in BPM13.
+function BPM13_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM13
+
+
+% --- Executes on button press in BPM14.
+function BPM14_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM14
+
+
+% --- Executes on button press in BPM15.
+function BPM15_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM15
+
+
+% --- Executes on button press in BPM16.
+function BPM16_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM16
+
+
+% --- Executes on button press in BPM17.
+function BPM17_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM17
+
+
+% --- Executes on button press in BPM18.
+function BPM18_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM18
+
+
+% --- Executes on button press in BPM19.
+function BPM19_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM19
+
+
+% --- Executes on button press in BPM20.
+function BPM20_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM20
+
+
+% --- Executes on button press in BPM21.
+function BPM21_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM21
+
+
+% --- Executes on button press in BPM22.
+function BPM22_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM22
+
+
+
+
+% --- Executes on button press in CORR1.
+function CORR1_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR1
+
+
+% --- Executes on button press in CORR2.
+function CORR2_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR2
+
+
+% --- Executes on button press in CORR3.
+function CORR3_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR3
+
+
+% --- Executes on button press in CORR4.
+function CORR4_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR4
+
+
+% --- Executes on button press in CORR5.
+function CORR5_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR5
+
+
+% --- Executes on button press in CORR6.
+function CORR6_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR6
+
+
+% --- Executes on button press in CORR7.
+function CORR7_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR7
+
+
+
+% --- Executes on button press in CORR8.
+function CORR8_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR8
+
+
+
+% --- Executes on button press in CORR9.
+function CORR9_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR9
+
+
+
+
+% --- Executes on button press in CORR10.
+function CORR10_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR10
+
+
+% --- Executes on button press in CORR11.
+function CORR11_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR11
+
+
+% --- Executes on button press in CORR12.
+function CORR12_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR12
+
+
+% --- Executes on button press in CORR13.
+function CORR13_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR13
+
+
+% --- Executes on button press in CORR14.
+function CORR14_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR14
+
+
+% --- Executes on button press in CORR15.
+function CORR15_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR15
+
+
+% --- Executes on button press in CORR16.
+function CORR16_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR16
+
+
+% --- Executes on button press in CORR17.
+function CORR17_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR17
+
+
+% --- Executes on button press in CORR18.
+function CORR18_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR18
+
+
+% --- Executes on button press in CORR19.
+function CORR19_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR19
+
+
+% --- Executes on button press in CORR20.
+function CORR20_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR20
+
+
+% --- Executes on button press in CORR21.
+function CORR21_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR21
+
+
+% --- Executes on button press in CORR22.
+function CORR22_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR22
+
+
+
+function edit_Nbpm_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Nbpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_Nbpm as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_Nbpm as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Nbpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Nbpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Ncorr_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Ncorr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_Ncorr as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_Ncorr as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Ncorr_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Ncorr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Xrms_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Xrms (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_Xrms as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_Xrms as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Xrms_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Xrms (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_tdeb_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_tdeb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_tdeb as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_tdeb as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_tdeb_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_tdeb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_tfin_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_tfin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_tfin as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_tfin as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_tfin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_tfin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = gettune(hObject,'String') returns listbox1 contents as cell array
+%        contents{gettune(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Nux_mod_Callback(hObject, eventdata, handles)
+% hObject    handle to Nux_mod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles   reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of Nux_mod as text
+%        str2double(gettune(hObject,'String')) returns contents of Nux_mod as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Nux_mod_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Nux_mod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Nuz_mod_Callback(hObject, eventdata, handles)
+% hObject    handle to Nuz_mod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of Nuz_mod as text
+%        str2double(gettune(hObject,'String')) returns contents of Nuz_mod as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Nuz_mod_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Nuz_mod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in gettune.
+function gettune_Callback(hObject, eventdata, handles)
+% hObject    handle to gettune (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+
+energy=str2num(get(handles.Energy,'String'));
+setenergy(energy, 'model');
+[tune]=gettune('Model');
+set(handles.Nux_mod,'String',num2str(tune(1)));
+set(handles.Nuz_mod,'String',num2str(tune(2)));
+
+[betcX, betcY, Scx, Scy, Tune] = modeltwiss('beta','HCOR');
+[phacX, phacY, Scx, Scy, Tune] = modeltwiss('phase','HCOR');
+[betbX, betbY, Sbx, Sby, Tune] = modeltwiss('beta','BPMx');
+[phabX, phabY, Sbx, Sby, Tune] = modeltwiss('phase','BPMx');
+nux=Tune(1)*2*pi;
+nuz=Tune(2)*2*pi;
+
+% --- Executes on button press in fittune.
+function fittune_Callback(hObject, eventdata, handles)
+% hObject    handle to fittune (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+
+energy = str2num(get(handles.Energy,'String')); % GeV
+setenergy(energy, 'model');
+nux   =  str2double(get(handles.Nux_mes,'String'));
+nuz   =  str2double(get(handles.Nuz_mes,'String'));
+target = [nux ; nuz];
+tune0 = gettune('Model');
+dt=target-tune0;
+
+dI = 0.01;
+stepsp('QF','Model',+dI); tune1 = gettune('Model');stepsp('QF','model',-dI);
+stepsp('QD','Model',+dI); tune2 = gettune('Model');stepsp('QD','model',-dI);
+A=-[tune0(1)-tune1(1) tune0(1)-tune2(1) ; tune0(2)-tune1(2) tune0(2)-tune2(2)]/dI;
+
+
+stepI = linsolve(A,dt);
+stepsp('QF','model',stepI(1));
+stepsp('QD','model',stepI(2));
+[tune]=gettune('Model');
+set(handles.Nux_mod,'String',num2str(tune(1)));
+set(handles.Nuz_mod,'String',num2str(tune(2)));
+
+[betcX, betcY, Scx, Scy, Tune] = modeltwiss('beta','HCOR');
+[phacX, phacY, Scx, Scy, Tune] = modeltwiss('phase','HCOR');
+[betbX, betbY, Sbx, Sby, Tune] = modeltwiss('beta','BPMx');
+[phabX, phabY, Sbx, Sby, Tune] = modeltwiss('phase','BPMx');
+nux=Tune(1)*2*pi;
+nuz=Tune(2)*2*pi;
+
+
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/orbitz_AT.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/orbitz_AT.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/orbitz_AT.m	(revision 17)
@@ -0,0 +1,1328 @@
+function varargout = orbitz_AT(varargin)
+% ORBITZ_AT M-file for orbitz_AT.fig
+%      ORBITZ_AT, by itself, creates a new ORBITZ_AT or raises the existing
+%      singleton*.
+%
+%      H = ORBITZ_AT returns the handle to a new ORBITZ_AT or the handle to
+%      the existing singleton*.
+%
+%      ORBITZ_AT('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ORBITZ_AT.M with the given input arguments.
+%
+%      ORBITZ_AT('Property','Value',...) creates a new ORBITZ_AT or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before orbitz_AT_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to orbitz_AT_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help orbitz_AT
+
+% Last Modified by GUIDE v2.5 30-Mar-2006 18:44:14
+
+% Begin initialization code - DO NOT EDIT
+
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @orbitz_AT_OpeningFcn, ...
+                   'gui_OutputFcn',  @orbitz_AT_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before orbitz_AT is made visible.
+function orbitz_AT_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to orbitz_AT (see VARARGIN)
+
+% Choose default command line output for orbitz_AT
+handles.output = hObject;
+
+if ~strcmp(getfamilydata('SubMachine'),'Booster')
+    error('Load Booster first');
+end
+
+handles.K1 = 0;
+handles.ncorrx = 22;
+handles.nbpmx  = 22;
+% Update handles structure
+guidata(hObject, handles);
+gettune_Callback(hObject, eventdata, handles);
+
+% UIWAIT makes orbitz_AT wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = orbitz_AT_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on slider movement.
+function slider_ratio_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'Value') returns position of slider
+%        gettune(hObject,'Min') and gettune(hObject,'Max') to determine range of slider
+
+set(handles.edit_ratio,'String',...
+    num2str(get(handles.slider_ratio,'Value')));
+
+% --- Executes during object creation, after setting all properties.
+function slider_ratio_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider_VP_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'Value') returns position of slider
+%        gettune(hObject,'Min') and gettune(hObject,'Max') to determine range of slider
+set(handles.edit_VP,'String',...
+    num2str(get(handles.slider_VP,'Value')));
+
+% --- Executes during object creation, after setting all properties.
+function slider_VP_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+function edit_ratio_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_ratio as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_ratio as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ratio_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function edit_VP_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_VP as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_VP as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_VP_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_VP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in get_corr_orb (lecture orbite+corr).
+function get_corr_orb_Callback(hObject, eventdata, handles)
+% hObject    handle to get_corr_orb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% lecture orbite et correcteurs horizontaux
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+istart = str2num(get(handles.edit_tdeb,'String'));     % depart lecture BPM
+iend   =  str2num(get(handles.edit_tfin,'String'));      % fin lecture BPM
+
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+
+clear hs on
+
+% Get BPM to use in correction
+nbpm = 0;
+
+for i = 1:nbpmx;
+   text = ['BPM',int2str(i)];
+   hs(i) = get(handles.(text),'Value');
+   nbpm = nbpm+hs(i);
+end 
+set(handles.edit_Nbpm,'String', [num2str(nbpm),' BPM']);
+
+% Get correctors to use in correction
+ncorr = 0;
+
+for i = 1:ncorrx;
+   text = ['CORR',int2str(i)];
+   on(i) = get(handles.(text),'Value');
+   ncorr = ncorr+on(i);
+end
+
+set(handles.edit_Ncorr,'String',...
+    [num2str(ncorr),' CORR']);
+
+clear s_bz s_cz
+
+s_bz = Sby;
+s_cz = Scy;
+
+[Xm,Zm] = getboobpm(nbpmx,iend,istart);
+
+clear Zr Zr2
+% Zr2=0;
+% 
+% for j=1:nbpmx,
+%     Zr(j)=Zm(j);
+%     Zr2 = Zr2 + Zr(j)*Zr(j);   
+% end
+Zr2 =std(Zm(1:nbpmx),1);
+%Zr2 = sqrt(Zr2/j)   % ecart type orbite
+
+set(handles.edit_Xrms,'String',[num2str(Zr2),' mm rms']);
+
+K2 = getam('VCOR');
+
+axes(handles.axes_orbit)
+    plot(s_bz,Zm,'-ok','MarkerFaceColor','k');
+    xlim([0 156]); ylim([-4 4]);
+    set(handles.axes_orbit,'XTick',[]);
+    ylabel('Orbite');
+    grid on
+
+axes(handles.axes_lattice)
+   drawlattice_alex
+   set(handles.axes_lattice,'YTick',[],'XTick',[]);
+   
+axes(handles.axes_corr)  
+    bar(s_cz,K2,0.5)
+    ylabel('I (A)');xlabel('Position S');
+    xlim([0 156]);ylim([-1.5 1.5])
+
+% --- Executes on button press in calcul_corr (calcul corr).
+function calcul_corr_Callback(hObject, eventdata, handles)
+% hObject    handle to calcul_corr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncorrx = handles.ncorrx;
+nbpmx  = handles.nbpmx;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+step   = get(handles.slider_ratio,'Value');         % correction progressive
+maxvp  = get(handles.slider_VP,'Value');           % valeur propre
+istart = str2num(get(handles.edit_tdeb,'String'));     % depart lecture BPM
+iend   = str2num(get(handles.edit_tfin,'String'));      % fin lecture BPM
+
+clear hs on
+% Get BPM to use
+nbpm = 0;
+for i=1:nbpmx;
+   text=['BPM',int2str(i)];
+   hs(i)=get(handles.(text),'Value');
+   nbpm=nbpm+hs(i);
+end 
+
+set(handles.edit_Nbpm,'String',...
+    [num2str(nbpm),' BPM']);
+
+% Get corrector to use
+ncorr = 0;
+for i=1:ncorrx;
+   text=['CORR',int2str(i)];
+   on(i)=get(handles.(text),'Value');
+   ncorr=ncorr+on(i);
+end 
+set(handles.edit_Ncorr,'String',...
+    [num2str(ncorr),' CORR']);
+
+clear s_bx s_cx
+
+s_bz = Sby;
+s_cz = Scy;
+
+clear beta_corrz phi_corrz s_corrz
+
+% on remplit la matrice C tel que X=C.K
+i=0;
+clear beta_bpmz  phi_bpmz s_bpmz
+
+for j=1:nbpmx
+    if (hs(j)==1) 
+       i=i+1; 
+       beta_bpmz(i) = betbY(j);
+       phi_bpmz(i)  = phabY(j);
+       s_bpmz(i)    = Sby(j);
+    end    
+end
+
+beta_bpmz
+
+nbpmxr = i;
+% cote correcteurs sur chaque qp defoc, on commence sur un qd (inj booster)
+i=0;
+clear beta_corrz phi_corrz s_corrz
+
+for j=1:ncorrx,
+    if (on(j)==1)
+       i=i+1; 
+       beta_corrz(i)=betcY(j);
+       phi_corrz(i)=phacY(j);
+       s_corrz(i)=Scy(j);
+    end   
+end
+beta_corrz
+ncorrxr = i;
+% matrice Cc cas fermee cyclique
+clear Cc
+
+c3 = 2*sin(nuz/2);
+for i = 1:nbpmxr,
+   for j = 1:ncorrxr
+      c1 = sqrt(beta_bpmz(i)*beta_corrz(j));
+      c2 = cos(nuz/2-abs(phi_bpmz(i)-phi_corrz(j)));
+      Cc(i,j) = c1*c2/c3;
+   end
+end
+
+
+
+%  cote vecteur X repesentant les defaut d'orbites mesuree en mm
+%  bloc = offset a retrancher
+
+[Xm,Zm] = getboobpm(nbpmx,iend,istart);
+
+    
+
+clear Zr
+i = 0;
+for j=1:nbpmx,
+    if (hs(j)==1) 
+       i=i+1;
+       Zr(i) = Zm(j);
+    end    
+end
+
+% Resolution par SVD matrice Cc cyclique sur X
+clear Xcorr Cci K
+[U,S,V] = svds(Cc,ncorrxr);
+vp = diag(S)
+for i=1:min(nbpmxr,ncorrxr)
+    if(S(i,i)<=maxvp)
+        S(i,i)=0;
+    else
+        S(i,i)=1/S(i,i);
+    end    
+end   
+Cci = V*S*U';
+K   = -Cci*transpose(Zr);    
+% en mrad
+
+clear nb K0 K1 K2 K3
+j = 0;
+for i=1:ncorrx,
+    nb(i)=i;
+end
+
+j = 0;
+sumcorr=0;
+for i=1:ncorrx
+    if(on(i)==0)
+        K1(i)=0;
+    else
+        j = j+1;
+        K1(i) = K(j)/1.2*step;           % en Ampere
+        sumcorr = sumcorr + K1(i);
+    end    
+end
+
+handles.K1 = K1
+
+
+K2 = getsp('VCOR');save('zcoortemp','K2')
+K3 = K2 + K1';
+
+axes(handles.axes_orbit)
+    plot(vp,'-ok','MarkerFaceColor','k');
+    xlim([0 22]);
+    ylabel('Valeur propres');
+    grid on
+
+axes(handles.axes_corr)
+    bar(s_cz,K3,0.5)
+    ylabel('I (A)');xlabel('Position S');
+    xlim([0 156]);ylim([-1.5 1.5])
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Executes on button press in apply_corr (applique corr).
+function apply_corr_Callback(hObject, eventdata, handles)
+% hObject    handle to apply_corr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+K1=handles.K1;
+for i=1:ncorrx,
+    if (K1(i)<1.5)
+       stepsp('VCOR',K1(i),[i 1]);
+    end    
+end 
+%K1=[0];
+
+% --- Executes on button press in Back_corr.
+function Back_corr_Callback(hObject, eventdata, handles)
+% hObject    handle to Back_corr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+load('zcoortemp','K2');
+for i=1:ncorrx,
+    if (K2(i)<1.5)
+       setsp('VCOR',K2(i),[i 1]);
+    end    
+end
+
+
+% --- Executes on button press in get_and_correction (lecture + calcul+ appl).
+function get_and_correction_Callback(hObject, eventdata, handles)
+% hObject    handle to get_and_correction (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Correction orbite horizontale
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ncorrx=handles.ncorrx;
+nbpmx =handles.nbpmx;
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+step=get(handles.slider_ratio,'Value');         % correction progressive
+maxvp=get(handles.slider_VP,'Value');           % valeur propre
+istart =str2num(get(handles.edit_tdeb,'String'));     % depart lecture BPM
+iend =  str2num(get(handles.edit_tfin,'String'));      % fin lecture BPM
+
+clear hs on
+nbpm=0;
+for i=1:nbpmx;
+   text=['BPM',int2str(i)];
+   hs(i)=get(handles.(text),'Value');
+   nbpm=nbpm+hs(i);
+end 
+set(handles.edit_Nbpm,'String',...
+    [num2str(nbpm),' BPM']);
+ncorr=0;
+for i=1:ncorrx;
+   text=['CORR',int2str(i)];
+   on(i)=get(handles.(text),'Value');
+   ncorr=ncorr+on(i);
+end 
+set(handles.edit_Ncorr,'String',...
+    [num2str(ncorr),' CORR']);
+
+clear s_bx s_cx
+s_bz=Sby;
+s_cz=Scy;
+
+clear beta_corrx phi_corrx s_corrx
+
+% on rempli la matrice C tel que X=C.K
+i=0;
+clear beta_bpmx  phi_bpmx s_bpmx
+for j=1:nbpmx
+    if (hs(j)==1) 
+       i=i+1; 
+       beta_bpmz(i)=betbY(j);
+       phi_bpmz(i)=phabY(j);
+       s_bpmz(i)=Sby(j);
+    end    
+end
+
+nbpmxr=i;
+% cotï¿œ correcteurs sur chaque qp defoc, on commence sur un qd (inj booster)
+i=0;
+clear beta_corrx phi_corrx s_corrx
+for j=1:ncorrx,
+    if (on(j)==1)
+       i=i+1; 
+       beta_corrz(i)=betcY(j);
+       phi_corrz(i)=phacY(j);
+       s_corrz(i)=Scy(j);
+    end   
+end
+
+ncorrxr=i;
+% matrice Cc cas fermee cyclique
+clear Cc
+c3=2*sin(nuz/2);
+for i = 1:nbpmxr,
+   for j = 1:ncorrxr
+      c1=sqrt(beta_bpmz(i)*beta_corrz(j));
+      c2=cos(nuz/2-abs(phi_bpmz(i)-phi_corrz(j)));
+      Cc(i,j) = c1*c2/c3;
+   end
+end
+
+
+
+%  cote vecteur X repesentant les defaut d'orbites mesuree en mm
+%  bloc = offset a retrancher
+
+[Xm,Zm]=getboobpm(nbpmx,iend,istart);
+Zr2 =std(Zm(1:nbpmx),1);
+%Zr2 = sqrt(Zr2/j)   % ecart type orbite
+
+set(handles.edit_Xrms,'String',[num2str(Zr2),' mm rms']);
+
+
+clear Zr
+i=0;
+for j=1:nbpmx,
+    if (hs(j)==1) 
+       i=i+1;
+       Zr(i)=Zm(j);
+    end    
+end
+
+% Resolution par SVD matrice Cc cyclique sur X
+clear Xcorr Cci K
+[U,S,V] = svds(Cc,ncorrxr);
+vp=diag(S);
+for i=1:min(nbpmxr,ncorrxr)
+    if(S(i,i)<=maxvp)
+        S(i,i)=0;
+    else
+        S(i,i)=1/S(i,i);
+    end    
+end   
+Cci=V*S*U';
+K=-Cci*transpose(Zr);    
+% en mrad
+
+
+
+clear nb K0 K1 K2
+j=0;
+for i=1:ncorrx,
+    nb(i)=i;
+end
+j=0;
+sumcorr=0;
+for i=1:ncorrx
+    if(on(i)==0)
+        K1(i)=0;
+    else
+        j=j+1;
+        K1(i)=K(j)/1.2*step;           % en Ampere
+        sumcorr =sumcorr + K1(i);
+    end    
+end
+
+K2=getam('VCOR','simulator'); save('zcoortemp','K2')
+for i=1:ncorrx,
+    if (K1(i)<1.5)
+       stepsp('VCOR',K1(i),[i 1]);
+    end    
+end 
+K3=K2+K1';
+
+
+% aprÃšs corr
+[Xc,Zc]=getboobpm(nbpmx,iend,istart);
+
+axes(handles.axes_orbit)
+    plot(s_bz,Zm,'-ok','MarkerFaceColor','k'); hold on
+    plot(s_bz,Zc,'-or','MarkerFaceColor','r'); hold off
+    xlim([0 156]); ylim([-4 4]);
+    ylabel('Orbite');
+    grid on
+
+axes(handles.axes_corr)
+    bar(s_cz,K3,0.5)
+    ylabel('I (A)');xlabel('Position S');
+    xlim([0 156]);ylim([-1.5 1.5])
+
+
+
+
+
+
+
+
+
+
+
+
+
+function Nuz_mes_Callback(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit3 as text
+%        str2double(gettune(hObject,'String')) returns contents of edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Nuz_mes_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function Energy_Callback(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit4 as text
+%        str2double(gettune(hObject,'String')) returns contents of edit4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Energy_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function Nux_mes_Callback(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit5 as text
+%        str2double(gettune(hObject,'String')) returns contents of edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Nux_mes_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on button press in checkbox1.
+function BPM1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox1
+
+
+% --- Executes on button press in checkbox2.
+function BPM2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox2
+
+
+% --- Executes on button press in checkbox3.
+function BPM3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox3
+
+
+% --- Executes on button press in checkbox4.
+function BPM4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox4
+
+
+% --- Executes on button press in checkbox5.
+function BPM5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox5
+
+
+% --- Executes on button press in checkbox6.
+function BPM6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox6
+
+
+% --- Executes on button press in checkbox7.
+function BPM7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox7
+
+
+% --- Executes on button press in checkbox8.
+function BPM8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox8
+
+
+% --- Executes on button press in checkbox9.
+function BPM9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox9
+
+
+% --- Executes on button press in checkbox10.
+function BPM10_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox10
+
+
+% --- Executes on button press in checkbox11.
+function BPM11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of checkbox11
+
+
+% --- Executes on button press in BPM12.
+function BPM12_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM12
+
+
+% --- Executes on button press in BPM13.
+function BPM13_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM13
+
+
+% --- Executes on button press in BPM14.
+function BPM14_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM14
+
+
+% --- Executes on button press in BPM15.
+function BPM15_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM15
+
+
+% --- Executes on button press in BPM16.
+function BPM16_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM16
+
+
+% --- Executes on button press in BPM17.
+function BPM17_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM17
+
+
+% --- Executes on button press in BPM18.
+function BPM18_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM18
+
+
+% --- Executes on button press in BPM19.
+function BPM19_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM19
+
+
+% --- Executes on button press in BPM20.
+function BPM20_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM20
+
+
+% --- Executes on button press in BPM21.
+function BPM21_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM21
+
+
+% --- Executes on button press in BPM22.
+function BPM22_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of BPM22
+
+
+
+
+% --- Executes on button press in CORR1.
+function CORR1_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR1
+
+
+% --- Executes on button press in CORR2.
+function CORR2_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR2
+
+
+% --- Executes on button press in CORR3.
+function CORR3_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR3
+
+
+% --- Executes on button press in CORR4.
+function CORR4_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR4
+
+
+% --- Executes on button press in CORR5.
+function CORR5_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR5
+
+
+% --- Executes on button press in CORR6.
+function CORR6_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR6
+
+
+% --- Executes on button press in CORR7.
+function CORR7_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR7
+
+
+
+% --- Executes on button press in CORR8.
+function CORR8_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR8
+
+
+
+% --- Executes on button press in CORR9.
+function CORR9_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR9
+
+
+
+
+% --- Executes on button press in CORR10.
+function CORR10_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR10
+
+
+% --- Executes on button press in CORR11.
+function CORR11_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR11
+
+
+% --- Executes on button press in CORR12.
+function CORR12_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR12
+
+
+% --- Executes on button press in CORR13.
+function CORR13_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR13
+
+
+% --- Executes on button press in CORR14.
+function CORR14_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR14
+
+
+% --- Executes on button press in CORR15.
+function CORR15_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR15
+
+
+% --- Executes on button press in CORR16.
+function CORR16_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR16
+
+
+% --- Executes on button press in CORR17.
+function CORR17_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR17
+
+
+% --- Executes on button press in CORR18.
+function CORR18_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR18
+
+
+% --- Executes on button press in CORR19.
+function CORR19_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR19
+
+
+% --- Executes on button press in CORR20.
+function CORR20_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR20
+
+
+% --- Executes on button press in CORR21.
+function CORR21_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR21
+
+
+% --- Executes on button press in CORR22.
+function CORR22_Callback(hObject, eventdata, handles)
+% hObject    handle to CORR22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: gettune(hObject,'Value') returns toggle state of CORR22
+
+
+
+function edit_Nbpm_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Nbpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_Nbpm as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_Nbpm as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Nbpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Nbpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Ncorr_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Ncorr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_Ncorr as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_Ncorr as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Ncorr_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Ncorr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Xrms_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Xrms (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_Xrms as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_Xrms as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Xrms_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Xrms (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_tdeb_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_tdeb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_tdeb as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_tdeb as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_tdeb_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_tdeb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_tfin_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_tfin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of edit_tfin as text
+%        str2double(gettune(hObject,'String')) returns contents of edit_tfin as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_tfin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_tfin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = gettune(hObject,'String') returns listbox1 contents as cell array
+%        contents{gettune(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Nux_mod_Callback(hObject, eventdata, handles)
+% hObject    handle to Nux_mod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of Nux_mod as text
+%        str2double(gettune(hObject,'String')) returns contents of Nux_mod as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Nux_mod_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Nux_mod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Nuz_mod_Callback(hObject, eventdata, handles)
+% hObject    handle to Nuz_mod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: gettune(hObject,'String') returns contents of Nuz_mod as text
+%        str2double(gettune(hObject,'String')) returns contents of Nuz_mod as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Nuz_mod_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Nuz_mod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in gettune.
+function gettune_Callback(hObject, eventdata, handles)
+% hObject    handle to gettune (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+
+energy=str2num(get(handles.Energy,'String'));
+setenergy(energy, 'model');
+[tune]=gettune('Model');
+set(handles.Nux_mod,'String',num2str(tune(1)));
+set(handles.Nuz_mod,'String',num2str(tune(2)));
+
+[betcX, betcY, Scx, Scy, Tune] = modeltwiss('beta','VCOR');
+[phacX, phacY, Scx, Scy, Tune] = modeltwiss('phase','VCOR');
+[betbX, betbY, Sbx, Sby, Tune] = modeltwiss('beta','BPMz');
+[phabX, phabY, Sbx, Sby, Tune] = modeltwiss('phase','BPMz');
+nux = Tune(1)*2*pi;
+nuz = Tune(2)*2*pi;
+
+% --- Executes on button press in fittune.
+function fittune_Callback(hObject, eventdata, handles)
+% hObject    handle to fittune (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global betcX betcY phacX phacY Scx Scy nux nuz;
+global betbX betbY phabX phabY Sbx Sby;
+
+energy = str2num(get(handles.Energy,'String')); % GeV
+setenergy(energy, 'model');
+nux   =  str2double(get(handles.Nux_mes,'String'));
+nuz   =  str2double(get(handles.Nuz_mes,'String'));
+target = [nux ; nuz];
+tune0 = gettune('Model');
+dt = target - tune0;
+
+% COmpute tune response matrix in the model
+dI = 0.01;
+stepsp('QF','Model',+dI); tune1 = gettune('Model');stepsp('QF','model',-dI);
+stepsp('QD','Model',+dI); tune2 = gettune('Model');stepsp('QD','model',-dI);
+A=-[tune0(1)-tune1(1) tune0(1)-tune2(1) ; tune0(2)-tune1(2) tune0(2)-tune2(2)]/dI;
+
+stepI = linsolve(A,dt);
+stepsp('QF','model',stepI(1));
+stepsp('QD','model',stepI(2));
+[tune]=gettune('Model');
+set(handles.Nux_mod,'String',num2str(tune(1)));
+set(handles.Nuz_mod,'String',num2str(tune(2)));
+
+[betcX, betcY, Scx, Scy, Tune] = modeltwiss('beta','VCOR');
+[phacX, phacY, Scx, Scy, Tune] = modeltwiss('phase','VCOR');
+[betbX, betbY, Sbx, Sby, Tune] = modeltwiss('beta','BPMz');
+[phabX, phabY, Sbx, Sby, Tune] = modeltwiss('phase','BPMz');
+
+% transform tune to phase advance
+nux = Tune(1)*2*pi;
+nuz = Tune(2)*2*pi;
+
+
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/pertes.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/pertes.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/pertes.m	(revision 17)
@@ -0,0 +1,43 @@
+%pertes sur chambre
+
+dx=[-12   -8   -3  -2    0  2   3 5 ];
+dr=[0.12  8.2  8.5  8.5  8  3.4 1 0 ];
+dr=dr/8.5;
+
+
+a=10;
+sig=2.8;
+i=0;
+
+for x=-a:0.1:a
+    i=i+1;
+    p(i)=x-4;
+    ax=a-abs(x);
+    r(i)=(1-exp(-0.5*(ax/sig)*(ax/sig)));
+end
+
+plot(dx,dr,'-ob' ,p,r,'-k')
+
+dn= [ 3  5   6   7    8  9     10 11  12  13  14  15  16  17 18   19  20 21];
+dx1=[5   5   5   5    5  3     5  5   5   5   5   5   5   5   4   5   5  5];
+dr1=[5.8 3.3 1.9 3.45 3  0.95  5. 3.8 7.3 2.5 7.3 1.4 6.4 0.2 1.7 5.6 0  4];
+
+x0=9-sig*sqrt(-2*log(1-dr1/8.5));
+if (abs(x0-dx1)<abs(-x0-dx1))
+    dx0=x0-dx1;
+else
+    dx0=-x0-dx1;
+end
+ 
+%mesure BPM
+s_bpmx=[14.2382 28.4764 50.2337 64.4719 92.5483 106.7865 128.5438 142.7820];
+Zm=[-0.5356 0.2893  -0.3448 0.1526 -0.096 -0.2161 0.0730 -0.0045];
+ 
+%ds1=[1:22]*3.55*2;
+dx=(dn-1)*3.55*2;
+s=[err_beta(:,1) ; err_beta(:,1)+78.31];
+sigz1=[err_beta(:,2) ; err_beta(:,2)]*1000*1.2;
+sigz2=-sigz1;
+figure(2)
+plot(dx,dx0,'-ob',s_bpmx,Zm,'-or',s,sigz1,'-k',s,sigz2,'-k')
+
Index: /trunk/machine/SOLEIL/Booster/applications/plot-orbit-corr.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/plot-orbit-corr.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/plot-orbit-corr.m	(revision 17)
@@ -0,0 +1,3 @@
+% recupere les orbit et correcteur
+
+load 'orbit_super1'
Index: /trunk/machine/SOLEIL/Booster/applications/plot_orbit_corr.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/plot_orbit_corr.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/plot_orbit_corr.m	(revision 17)
@@ -0,0 +1,17 @@
+% recupere les orbit et correcteur de: 
+% save 'orbit_super1' 'Xm' 'Zm' 'Corr_X' 'Corr_Z'
+
+load 'orbit_super1'
+
+clear nc K1 K2
+for i=1:22,
+    nc(i)=i;
+    K1(i)=Corr_X(i)*1.2/1000;
+    K2(i)=Corr_Z(i)*1.2/1000;
+end
+
+plot(Corr_X)
+%sprintf('CH%d    HC  %d \n',[nc ; K1])
+%sprintf('CV%d    VC  %d \n',[nc ; K2])
+
+    
Index: /trunk/machine/SOLEIL/Booster/applications/profil_perte.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/profil_perte.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/profil_perte.m	(revision 17)
@@ -0,0 +1,29 @@
+% profil de perte
+
+clear
+chambre=10;
+sig=3;
+zb=-2.;
+step=1;
+
+z= -1.5*chambre:step:1.5*chambre;
+ch=min(abs(chambre-z-zb),abs(-chambre-z-zb));
+for i=1:length(z)
+    x=z(i);
+    if (x+zb)>chambre
+        ch(i)=0;
+    elseif (x+zb)<-chambre
+        ch(i)=0;
+    end
+end
+profil=erf(ch/sqrt(2)/sig);
+
+profil=90*profil+ randn(size(z))*2;
+
+[estimates, model] = fitprofil(z, profil);
+estimates
+[sse, FittedCurve] = model(estimates);
+plot(z, profil, '*', z, FittedCurve, 'r'); 
+ylim([0 100])
+grid on
+
Index: /trunk/machine/SOLEIL/Booster/applications/read_param.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/read_param.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/read_param.m	(revision 17)
@@ -0,0 +1,6 @@
+
+
+
+
+file='boo_2006-04-09_16-58-48.mat';
+load(file, 'boo');
Index: /trunk/machine/SOLEIL/Booster/applications/reglage2/comparaison_orbit.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/reglage2/comparaison_orbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/reglage2/comparaison_orbit.m	(revision 17)
@@ -0,0 +1,50 @@
+function comparaison_orbit
+% comparaison orbite
+
+
+% orbite en cours
+orbit=load_orbit_corr;
+Xm1=orbit.x;
+Zm1=orbit.z;
+corx1=orbit.corx;
+corz1=orbit.corz;
+
+% orbite sauvegarde
+file ='boo_all_2007-05-28_22-59-29.mat'; % 
+file1='boo-all-2007-05-28-22-59-29.mat'; % 
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+load(file, 'boo' ,'timing' ,'orbit');
+Xm2=orbit.x;
+Zm2=orbit.z;
+corx2=orbit.corx;
+corz2=orbit.corz;
+cd(pwdold);
+
+% plot
+figure(2)
+subplot(2,1,1)
+    plot(Xm1,'-ob');hold on
+    plot(Xm2,'-ok');hold off
+    legend('Current',file1)
+    grid on; ylabel('X (mm)')
+subplot(2,1,2)
+    plot(Zm1,'-ob');hold on
+    plot(Zm2,'-ok');hold off
+    legend('Current',file1)
+    grid on; ylabel('Z (mm)')
+
+
+figure(3)
+subplot(2,1,1)
+    plot(corx1,'-ob');hold on
+    plot(corx2,'-ok');hold off
+    legend('Current',file1)
+    grid on; ylabel('CORX (A)')
+subplot(2,1,2)
+    plot(corz1,'-ob');hold on
+    plot(corz2,'-ok');hold off
+    legend('Current',file1)
+    grid on; ylabel('CORZ (A)')
+
Index: /trunk/machine/SOLEIL/Booster/applications/save_boo.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/save_boo.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/save_boo.m	(revision 17)
@@ -0,0 +1,559 @@
+function varargout = save_boo(varargin)
+% SAVE_BOO M-file for save_boo.fig
+%      SAVE_BOO, by itself, creates a new SAVE_BOO or raises the existing
+%      singleton*.
+% 
+%
+%      SAVE_BOO('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in SAVE_BOO.M with the given input arguments.
+%
+%      SAVE_BOO('Property','Value',...) creates a new SAVE_BOO or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before save_boo_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to save_boo_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help save_boo
+
+% AUGUST 29TH, 2007 :  PATH MODIFIED USING GENERIC FUNCTIONS
+
+% Last Modified by GUIDE v2.5 30-May-2006 09:30:29
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @save_boo_OpeningFcn, ...
+                   'gui_OutputFcn',  @save_boo_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before save_boo is made visible.
+function save_boo_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to save_boo (see VARARGIN)
+
+% Choose default command line output for save_boo
+handles.output = hObject;
+button_update_boo_Callback(hObject, eventdata, handles)
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes save_b
+% Directory = '/home/matlabML/measdata/Boosterdata/Datatemp';
+% pwdold = pwd;
+% cd(Directory);
+% 
+% cd(pwdold);oo wait for user response (see UIRESUME)
+% % uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = save_boo_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in button_save_all.
+function button_save_all_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+file=appendtimestamp('boo_all');
+set(handles.edit_file,'String',file);
+
+% commentaire
+    boo=load_param;
+    boo.date   =datestr(clock);
+    boo.comment=get(handles.edit_legend,'String');
+    % commentaire
+    orbit=load_orbit_corr;
+    orbit.date   =datestr(clock);
+    orbit.comment=get(handles.edit_legend,'String');
+    % commentaire
+    timing=get_synchro;
+    timing.date   =datestr(clock);
+    timing.comment=get(handles.edit_legend,'String');
+    
+% sauvegarde
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+save(file, 'boo' ,'timing' ,'orbit');
+cd(pwdold);
+
+
+
+
+% --- Executes on button press in button_save_param.
+function button_save_param_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_param (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% save parameter
+
+file=appendtimestamp('boo');
+set(handles.edit_file,'String',file);
+
+% commentaire
+    boo=load_param;
+    boo.date   =datestr(clock);
+    boo.comment=get(handles.edit_legend,'String');
+    boo
+% sauvegarde
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+save(file, 'boo');
+cd(pwdold);
+
+
+
+% --- Executes on button press in button_save_orbir_corr.
+function button_save_orbir_corr_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_orbir_corr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% save parameter
+file=appendtimestamp('orbit');
+set(handles.edit_file,'String',file);
+
+% commentaire
+    orbit=load_orbit_corr;
+    orbit.date   =datestr(clock);
+    orbit.comment=get(handles.edit_legend,'String');
+    orbit
+    
+% sauvegarde
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+save(file, 'orbit');
+cd(pwdold);
+
+
+% --- Executes on button press in button_save_synchro.
+function button_save_synchro_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_synchro (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+file=appendtimestamp('timing');
+set(handles.edit_file,'String',file);
+
+% commentaire
+    timing=get_synchro;
+    timing.date   =datestr(clock);
+    timing.comment=get(handles.edit_legend,'String');
+    timing
+    
+% sauvegarde
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+save(file, 'timing');
+cd(pwdold);
+
+
+function edit_legend_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_legend (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_legend as text
+%        str2double(get(hObject,'String')) returns contents of edit_legend as a double
+get(hObject,'String')
+
+% --- Executes during object creation, after setting all properties.
+function edit_legend_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_legend (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_file_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_file as text
+%        str2double(get(hObject,'String')) returns contents of edit_file as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_file_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_update_boo.
+function button_update_boo_Callback(hObject, eventdata, handles)
+% hObject    handle to button_update_boo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+Directory = [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+
+listefile = dir('boo_*') ;
+comment={};
+separateur={};
+for i=1:length(listefile)
+  load(listefile(i).name);
+  comment=strvcat(comment , boo.comment);
+  separateur=strvcat(separateur , ' ==> ' );
+end
+[sorted_names,sorted_index] = sortrows({listefile.name}');
+handles.files_names=sorted_names;
+handles.files_index=sorted_index;
+handles.files_comment=comment;
+guidata(hObject, handles);
+
+ttt=strcat(sorted_names,separateur,comment);
+set(handles.listbox1,'String',ttt,'Value',1)
+cd(pwdold);
+
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+num=get(hObject,'Value');
+file=handles.files_names(num);
+txt=strcat('Selection = ',file );
+set(handles.edit_file,'String',txt);
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_load_boo.
+function button_load_boo_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_boo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+num=get(handles.listbox1,'Value')
+file=handles.files_names{num}
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+load(file)
+cd(pwdold);
+boo
+%   boo timing  orbit
+
+% load
+    setam('HCOR',boo.corrx);
+    setam('VCOR',boo.corrz);
+    writeattribute('LT1/AE/CV.2/current', boo.cv2 );
+    writeattribute('LT1/AE/CV.3/current', boo.cv3 );
+    writeattribute('BOO/AE/dipole/current',boo.DIPcurrent);
+    writeattribute('BOO/AE/QF/current',boo.QFcurrent);
+    writeattribute('BOO/AE/QD/current',boo.QDcurrent);
+    writeattribute('BOO/AE/SF/current',boo.SFcurrent);
+    writeattribute('BOO/AE/SD/current',boo.SDcurrent);
+    writeattribute('BOO/AE/dipole/waveformOffset',boo.DIPoffset);
+    writeattribute('BOO/AE/QF/waveformOffset',boo.QFpoffset);
+    writeattribute('BOO/AE/QD/waveformOffset',boo.QDpoffset);
+    writeattribute('BOO/AE/SF/waveformOffset',boo.SFpoffset);
+    writeattribute('BOO/AE/SD/waveformOffset',boo.SDpoffset);
+    
+    
+    writeattribute('BOO-C01/EP/AL_K.Inj/voltage',boo.KINJvoltage);
+    writeattribute('BOO-C22/EP/AL_SEP_P.Inj/voltage',boo.SPINJvoltage);
+    writeattribute('BOO-C10/EP/AL_DOF.1/voltagePeakValue',boo.DOF1EXTvoltage);
+    writeattribute('BOO-C11/EP/AL_DOF.2/voltagePeakValue',boo.DOF2EXTvoltage);
+    writeattribute('BOO-C12/EP/AL_DOF.3/voltagePeakValue',boo.DOF3EXTvoltage);
+    writeattribute('BOO-C10/EP/AL_K.Ext/voltage',boo.KEXTvoltage);
+    writeattribute('BOO-C11/EP/AL_SEP_P.Ext.1/serialVoltage',boo.SPEXTvoltage);
+    writeattribute('BOO-C12/EP/AL_SEP_A.Ext/voltage,',boo.SAEXTvoltage);
+    
+  
+
+
+% --- Executes on button press in button_update_timing.
+function button_update_timing_Callback(hObject, eventdata, handles)
+% hObject    handle to button_update_timing (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+
+listefile = dir('timing_*') ;
+comment={};
+separateur={};
+for i=1:length(listefile)
+  load(listefile(i).name);
+  comment=strvcat(comment , timing.comment);
+  separateur=strvcat(separateur , ' ==> ' );
+end
+[sorted_names,sorted_index] = sortrows({listefile.name}');
+handles.files_names=sorted_names;
+handles.files_index=sorted_index;
+handles.files_comment=comment;
+guidata(hObject, handles);
+
+ttt=strcat(sorted_names,separateur,comment);
+set(handles.listbox1,'String',ttt,'Value',1)
+cd(pwdold);
+
+
+% --- Executes on button press in button_display.
+function button_display_Callback(hObject, eventdata, handles)
+% hObject    handle to button_display (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+boo=[];timing=[];
+num=get(handles.listbox1,'Value');
+file=handles.files_names{num}
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+pwdold = pwd;
+cd(Directory);
+load(file);
+cd(pwdold);
+
+format long
+boo
+timing
+
+save('Workspace','boo')
+
+
+% --- Executes on button press in button_load_timing.
+function button_load_timing_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_timing (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+num=get(handles.listbox1,'Value')
+file=handles.files_names{num}
+load_synchro(file)
+
+% %   boo timing  orbit
+% tout=0.2;
+% if (length(timing.lin_lpm)==1)  % ancien
+%     tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay',timing.sdc1);pause(tout);
+%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay',timing.lin_lpm);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay',timing.boo_bpm);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigTimeDelay',timing.boo_bpm);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigTimeDelay',timing.boo_bpm);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigTimeDelay',timing.boo_bpm);pause(tout);     
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay',timing.lt1_emittance);pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay',timing.lt1_mc1);pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay',timing.lt1_mc2);pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay',timing.lt1_osc);pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',timing.boo_dcct);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay',timing.boo_nod);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay',timing.boo_sep_p_inj);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay',timing.boo_k_inj);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay',timing.boo_dp);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay',timing.boo_qf);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay',timing.boo_qd);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay',timing.boo_sf);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay',timing.boo_sd);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay',timing.boo_rf);pause(tout);
+%     tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay',timing.sdc2);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay',timing.boo_dof_ext);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay',timing.boo_sep_p_ext);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay',timing.boo_sep_a_ext);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay',timing.boo_k_ext);pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',timing.lt2_bpm);pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay',timing.lt2_osc);pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay',timing.lt2_emittance);pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay',timing.lt2_emittance);pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay',timing.ans_k1_inj);pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay',timing.ans_k2_inj);pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay',timing.ans_k3_inj);pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay',timing.ans_k4_inj);pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay',timing.ans_sep_p_inj);pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay',timing.ans_sep_a_inj);pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',timing.ans_bpm01);pause(tout);
+%     tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm02);pause(tout);
+%     tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm03);pause(tout);
+%     tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm04);pause(tout);
+%     tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm05);pause(tout);
+%     tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm06);pause(tout);
+%     tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm07);pause(tout);
+%     tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm08);pause(tout);
+%     tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm09);pause(tout);
+%     tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm10);pause(tout);  
+%     tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm11);pause(tout);  
+%     tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm12);pause(tout);  
+%     tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm13);pause(tout);  
+%     tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm14);pause(tout);  
+%     tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm15);pause(tout);  
+%     tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm16);pause(tout);   
+%     tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctTimeDelay',timing.ans_dcct);pause(tout)
+%     
+% elseif (length(timing.lin_lpm)==2)  % nouveau avec spm
+%     display('Delay')
+%     tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay',timing.sdc1(1));pause(tout);
+%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay',timing.lin_lpm(1));pause(tout);
+%     if isfield('timing','lin_spm');tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacTimeDelay',timing.lin_spm(1));pause(tout);end
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay',timing.boo_bpm(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigTimeDelay',timing.boo_bpm(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigTimeDelay',timing.boo_bpm(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigTimeDelay',timing.boo_bpm(1));pause(tout);     
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay',timing.lt1_emittance(1));pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay',timing.lt1_mc1(1));pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay',timing.lt1_mc2(1));pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay',timing.lt1_osc(1));pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',timing.boo_dcct(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay',timing.boo_nod(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay',timing.boo_sep_p_inj(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay',timing.boo_k_inj(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay',timing.boo_dp(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay',timing.boo_qf(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay',timing.boo_qd(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay',timing.boo_sf(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay',timing.boo_sd(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay',timing.boo_rf(1));pause(tout);
+%     tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay',timing.sdc2(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay',timing.boo_dof_ext(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay',timing.boo_sep_p_ext(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay',timing.boo_sep_a_ext(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay',timing.boo_k_ext(1));pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',timing.lt2_bpm(1));pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay',timing.lt2_osc(1));pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay',timing.lt2_emittance(1));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay',timing.lt2_emittance(1));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay',timing.ans_k1_inj(1));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay',timing.ans_k2_inj(1));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay',timing.ans_k3_inj(1));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay',timing.ans_k4_inj(1));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay',timing.ans_sep_p_inj(1));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay',timing.ans_sep_a_inj(1));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',timing.ans_bpm01(1));pause(tout);
+%     tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm02(1));pause(tout);
+%     tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm03(1));pause(tout);
+%     tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm04(1));pause(tout);
+%     tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm05(1));pause(tout);
+%     tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm06(1));pause(tout);
+%     tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm07(1));pause(tout);
+%     tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm08(1));pause(tout);
+%     tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm09(1));pause(tout);
+%     tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm10(1));pause(tout);  
+%     tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm11(1));pause(tout);  
+%     tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm12(1));pause(tout);  
+%     tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm13(1));pause(tout);  
+%     tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm14(1));pause(tout);  
+%     tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm15(1));pause(tout);  
+%     tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',timing.ans_bpm16(1));pause(tout);   
+%     tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctTimeDelay',timing.ans_dcct(1));pause(tout);
+%     display('Event')
+%     tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',int32(timing.sdc1(2)));pause(tout);
+%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',int32(timing.lin_lpm(2)));pause(tout);
+%     if isfield('timing','lin_spm');tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',int16(timing.lin_spm(2)));pause(tout);end
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',int32(timing.boo_bpm(2)));pause(tout);     
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',int32(timing.lt1_emittance(2)));pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',int32(timing.lt1_mc1(2)));pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',int32(timing.lt1_mc2(2)));pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',int32(timing.lt1_osc(2)));pause(tout);
+%     tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',int32(timing.boo_dcct(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',int32(timing.boo_nod(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent',int32(timing.boo_sep_p_inj(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',int32(timing.boo_k_inj(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpEvent',int32(timing.boo_dp(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfEvent',int32(timing.boo_qf(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdEvent',int32(timing.boo_qd(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfEvent',int32(timing.boo_sf(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdEvent',int32(timing.boo_sd(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.RF.1', 'rfEvent',int32(timing.boo_rf(2)));pause(tout);
+%     tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',int32(timing.sdc2(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',int32(timing.boo_dof_ext(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',int32(timing.boo_sep_p_ext(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',int32(timing.boo_sep_a_ext(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',int32(timing.boo_k_ext(2)));pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',int32(timing.lt2_bpm(2)));pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',int32(timing.lt2_osc(2)));pause(tout);
+%     tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',int32(timing.lt2_emittance(2)));pause(tout);
+%     tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',int32(timing.lt2_emittance(2)));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigEvent',int32(timing.ans_k1_inj(2)));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigEvent',int32(timing.ans_k2_inj(2)));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigEvent',int32(timing.ans_k3_inj(2)));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigEvent',int32(timing.ans_k4_inj(2)));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigEvent',int32(timing.ans_sep_p_inj(2)));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigEvent',int32(timing.ans_sep_a_inj(2)));pause(tout);
+%     tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',int32(timing.ans_bpm01(2)));pause(tout);
+%     tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm02(2)));pause(tout);
+%     tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm03(2)));pause(tout);
+%     tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm04(2)));pause(tout);
+%     tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm05(2)));pause(tout);
+%     tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm06(2)));pause(tout);
+%     tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm07(2)));pause(tout);
+%     tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm08(2)));pause(tout);
+%     tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm09(2)));pause(tout);
+%     tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm10(2)));pause(tout);  
+%     tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm11(2)));pause(tout);  
+%     tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm12(2)));pause(tout);  
+%     tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm13(2)));pause(tout);  
+%     tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm14(2)));pause(tout);  
+%     tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm15(2)));pause(tout);  
+%     tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm16(2)));pause(tout);   
+%     tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',int32(timing.ans_dcct(2)));pause(tout);
+%  end
+    
Index: /trunk/machine/SOLEIL/Booster/applications/save_corr.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/save_corr.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/save_corr.m	(revision 17)
@@ -0,0 +1,15 @@
+
+
+% save correcteurs
+
+corrz = getam('VCOR');
+save 'corrz_5' corrz
+
+corrx = getam('HCOR');
+save 'corrx_5' corrx
+
+figure(10);
+subplot(2,1,1);
+bar(corrx , 0.8);xlim([0 22]); ylim([-1.5 1.5]);
+subplot(2,1,2);
+bar(corrz , 0.8);xlim([0 22]); ylim([-1.5 1.5]);
Index: /trunk/machine/SOLEIL/Booster/applications/save_orbit_corr.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/save_orbit_corr.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/save_orbit_corr.m	(revision 17)
@@ -0,0 +1,15 @@
+function save_orbit_corr(comment)
+
+% save parameter
+file=appendtimestamp('orbit');
+
+% commentaire
+    orbit=load_orbit_corr;
+    orbit.date   =datestr(clock);
+    orbit.comment=comment;
+
+    
+% sauvegarde
+save(file, 'orbit');
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/save_orbit_corr_laurent.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/save_orbit_corr_laurent.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/save_orbit_corr_laurent.m	(revision 17)
@@ -0,0 +1,38 @@
+% lecture et sauvegarde BPM
+
+
+ds=3.5595;       % longueur maille
+ncorrx=22;
+nbpmx=22;
+
+istart=27;
+iend  =1000
+
+% table BPM
+clear loc
+loc(1) =01;loc(2) =04;loc(3) =05;loc(4) =08;loc(5) =09;loc(6)=11;
+loc(7) =13;loc(8) =14;loc(9) =17;loc(10)=18;loc(11)=21;
+loc(12)=23;loc(13)=26;loc(14)=27;loc(15)=30;loc(16)=31;loc(17)=33;
+loc(18)=35;loc(19)=36;loc(20)=39;loc(21)=40;loc(22)=43;
+for i=1:nbpmx,
+    s_bx(i)=ds*loc(i)   ; 
+    s_cx(i)=(2*ds)*(i-1); 
+end
+
+clear Zm Xm
+for i=1:22
+    xm=0;
+    zm=0;
+        a=getbpmrawdata(i,'nodisplay','struct');
+        for j=istart:iend,
+           xm=xm+a.Data.X(j); % en mm
+           zm=zm+a.Data.Z(j);
+        end
+        Xm(i)=xm/(iend-istart+1);
+        Zm(i)=zm/(iend-istart+1);
+end
+Corr_X=getam('HCOR');
+Corr_Z=getam('VCOR');
+
+%save 'orbit_super' 'Xm' 'Zm' 'Corr_X' 'Corr_Z'
+
Index: /trunk/machine/SOLEIL/Booster/applications/save_param.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/save_param.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/save_param.m	(revision 17)
@@ -0,0 +1,14 @@
+function save_param(comment)
+
+% save parameter
+file=appendtimestamp('boo');
+
+% commentaire
+    boo=load_param;
+    boo.date   =datestr(clock);
+    boo.comment=comment;
+    
+% sauvegarde
+save(file, 'boo');
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/save_param_nu.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/save_param_nu.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/save_param_nu.m	(revision 17)
@@ -0,0 +1,23 @@
+function save_param_nu(comment)
+
+% save parameter
+file=appendtimestamp('boo');
+
+% commentaire
+    boo=load_param;
+    boo.date   =datestr(clock);
+    boo.comment=comment;
+    
+% mesure nombre d'onde
+    boo.time=[0  10 ];
+    boo.nux =[6.6 6.65];
+    boo.nuz =[4.6 4.65];
+    
+% sauvegarde
+   save(file, 'boo');
+   
+%%%   
+boo
+fprintf('Fichier enregistÃ© : %s \n' , file)
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/set66MeV.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/set66MeV.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/set66MeV.m	(revision 17)
@@ -0,0 +1,42 @@
+% scale some setpoint pour le mode linac dÃ©gradÃ© MeV
+
+%% 
+E1=110; % Nominal
+E2=69; % dÃ©gradÃ©e 
+
+
+%% save start value only once warning to not over write
+HCOR=getsp('HCOR');
+VCOR=getsp('VCOR');
+temp=tango_read_attribute2('BOO-C01/EP/AL_K.Inj','voltage');kicker=temp.value(2);
+temp=tango_read_attribute2('BOO-C22/EP/AL_SEP_P.Inj','voltage');septum=temp.value(2);
+temp=tango_read_attribute('LT1/AE/CV.2', 'current');cv2=temp.value(2);
+temp=tango_read_attribute('LT1/AE/CV.3', 'current');cv3=temp.value(2);
+save data_110MeV.mat HCOR VCOR kicker septum cv2 cv3
+
+return
+
+%% Apply scaling
+r=E2/E1
+kicker1=6600 *r;
+sept1 =194.9*r;
+HCOR1=HCOR*r;
+VCOR1=VCOR*r;
+cv21=cv2*r;
+cv31=cv3*r;
+
+writeattribute('BOO-C01/EP/AL_K.Inj/voltage',kicker1);
+writeattribute('BOO-C22/EP/AL_SEP_P.Inj/voltage',sept1);
+setsp('HCOR', HCOR1);
+setsp('VCOR', VCOR1);
+
+
+tango_write_attribute('LT1/AE/CV.2', 'current',  cv21 );
+tango_write_attribute('LT1/AE/CV.3', 'current',  cv31 );
+
+setsp('HCOR', HCOR);
+setsp('VCOR', VCOR);
+
+
+tango_write_attribute('LT1/AE/CV.2', 'current',  cv2 );
+tango_write_attribute('LT1/AE/CV.3', 'current',  cv3 );
Index: /trunk/machine/SOLEIL/Booster/applications/set_param.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/set_param.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/set_param.m	(revision 17)
@@ -0,0 +1,58 @@
+function set_param
+
+%       D   QF   QD
+target=[545 203  155];
+%target=[0  0  0];
+step  =[50  50   50];
+
+DIP=tango_read_attribute2('BOO/AE/D.1','currentSetPoint');
+x     =[DIP.value    getsp('QF')     getsp('QD')];
+
+dt    =0;  % Pause en seconde
+
+
+step=sign(target-x).*step
+[C,I]=max((target-x)./step)
+
+setpt=[0 0 0];
+for i=1:3
+    if ( abs(target(i)-x(i)) <= abs(step(i)))
+            setpt(i)=1;
+    end
+end
+DIPcurrent=x(1);
+QFcurrent =x(2);
+QDcurrent =x(3);
+fprintf('status = %g %g %g \n',DIPcurrent,QFcurrent,QDcurrent)
+while ( abs(target(I)-x(I)) >= abs(step(I)) )
+    x=x+step;
+    if (setpt(1)==0)
+        DIPcurrent=x(1);
+        %tango_write_attribute2('BOO/AE/Dipole','current', DIPcurrent)
+    end
+    if (abs(target(1)-x(1)) <= abs(step(1)))
+        setpt(1)=1;
+    end
+    if (setpt(2)==0)   
+        QFcurrent=x(2);
+        %setsp('QF', QFcurrent);
+    end
+    if (abs(target(2)-x(2)) <= abs(step(2)))
+        setpt(2)=1;        
+    end
+    
+    if (setpt(3)==0)
+        QDcurrent=x(3);
+        %setsp('QD', QDcurrent);
+    end    
+    if (abs(target(3)-x(3)) <= abs(step(3)))
+        setpt(3)=1 ;            
+    end
+    
+    fprintf('status = %g %g %g \n',DIPcurrent,QFcurrent,QDcurrent)
+    pause(dt)
+end
+DIPcurrent=target(1); %tango_write_attribute2('BOO/AE/Dipole','current', DIPcurrent);
+QFcurrent=target(2);  %setsp('QF', QFcurrent);
+QDcurrent=target(3);  %setsp('QD', QDcurrent);
+fprintf('status = %g %g %g \n',DIPcurrent,QFcurrent,QDcurrent)
Index: /trunk/machine/SOLEIL/Booster/applications/set_synchro_injecteur.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/set_synchro_injecteur.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/set_synchro_injecteur.m	(revision 17)
@@ -0,0 +1,88 @@
+% set synchro
+
+%cas='classique'
+cas='spÃ©cial';
+
+
+% dÃ©lai messages
+precharge=0;
+inj      =32000;
+soft     =32000+0.522;
+
+% dÃ©lai LT1 
+delay(1)=0.1;
+delay(2)=78.1;
+delay(3)=79.5;
+delay(4)=75.5;
+delay(5)=79.5;
+delay(6)=78.1;
+% dÃ©lai BOO
+delay(7)=51.0;
+delay(8)=79.56;  % rÃ©glÃ© sur 79.56 (longeur de cable)
+delay(9)=75.0;
+delay(10)=75.0;    
+
+delay(11)=0;
+% dÃ©lai alim boo
+dt=1000;
+alim(1)=dt;
+alim(2)=dt-210;
+alim(3)=dt-200;
+alim(4)=dt;
+alim(5)=dt;
+alim(6)=dt;
+
+% pause
+tout = 0.5;
+
+if strcmp( cas, 'classique')
+    
+    action = 'Synchro classique chargÃ©e';
+    
+elseif strcmp( cas, 'spÃ©cial')
+   
+    delay=delay+inj-dt;
+    delay(11)=0;  % spÃ©cial DCCT sur alim et soft
+    soft=dt+0.522;
+    inj=dt;         % 980 le 23 avril
+    action = 'Synchro spÃ©cial chargÃ©e';
+    
+else
+    
+   disp('Rien chargÃ©')
+   return
+   
+end
+
+% dÃ©lai messages
+tango_write_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay',precharge); pause(tout);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',inj); pause(tout);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',soft); pause(tout);
+
+% dÃ©lai LT1 
+tango_write_attribute2('LT1/SY/LOCAL.LINAC.1', 'lpmTimeDelay',delay(1)); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay',delay(2)); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay',delay(3)); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay',delay(4)); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay',delay(5)); pause(tout);
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay',delay(6)); pause(tout);
+
+% dÃ©lai BOO
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay',delay(7)); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay',delay(8));    pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay',delay(9)); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigTimeDelay',delay(9)); pause(tout);
+%tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btc.trigTimeDelay',delay(9)); pause(tout);
+%tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btb.trigTimeDelay',delay(9)); pause(tout);
+%tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'NODTimeDelay',delay(10)); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',delay(11)); pause(tout);
+
+% dÃ©lai alim boo
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay',alim(1));pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay',alim(2));pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay',alim(3));pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay',alim(4));pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay',alim(5));pause(tout);
+%tango_write_attribute2('BOO/SY/LOCAL.RF.1'  , 'rfTimeDelay',alim(6));pause(tout);
+
+disp(action)
Index: /trunk/machine/SOLEIL/Booster/applications/sextu.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/sextu.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/sextu.m	(revision 17)
@@ -0,0 +1,8 @@
+%  reglage sextu
+
+
+
+stepsp('SF', +0.2);  
+stepsp('SD',- 0.25 ); 
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/step.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/step.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/step.m	(revision 17)
@@ -0,0 +1,9 @@
+%  reglage delta tune Ã  110 MeV
+
+
+
+getam('QD')
+%stepsp('QF', kqp(1));
+%stepsp('QD', kqp(2));
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/time-inject.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/time-inject.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/time-inject.m	(revision 17)
@@ -0,0 +1,10 @@
+
+Ibc=0;
+Id0=546.76;
+
+for i = 10 : 1 : 25;
+   t=i/1000;
+   fq(i) = Id0*0.5*(1-cos(w*(t)));
+end
+
+fq
Index: /trunk/machine/SOLEIL/Booster/applications/time_inject.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/time_inject.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/time_inject.m	(revision 17)
@@ -0,0 +1,40 @@
+
+% calcul du temp d'injection 
+
+
+Id_inj=21.3;
+
+Idc=0.;
+Id0=546.76;
+w=2*3.14159*(50./17.);
+
+t_inj=real(acos( 1-2*(Id_inj-Idc)/Id0 ) / w);
+
+
+sprintf(' Dt  / dÃ©clanchement alim dipole injection : %g  ms avant canon/kicker', t_inj)
+sprintf(' Delai carte CPT alim dipole injection     : %g ', (0.33 + 7.83e-05 - t_inj))
+ 
+
+
+Gr = 0.0435 ;           % gradient remanent  T/m 
+a  = 0.0517 ;           % G/I   T/m/A
+Br = 0.0006 ;           % Champ remanent T
+b  = 0.00135416 ;       % B/I  T/A
+
+
+Iqf0 = 198.38 ;
+Iqd0 = 157.28 ;
+Iqfc = 7.16 ;             % Offset QPF
+Iqdc = 5.55 ; 
+
+Iqpf_inj=Iqfc + 0.5*Iqf0*(1-cos(w*t_inj));
+Iqpd_inj=Iqdc + 0.5*Iqd0*(1-cos(w*t_inj));
+sprintf(' injection  Iqf= %g   et Iqd= %g  A',Iqpf_inj , Iqpd_inj)
+
+
+
+B_inj  = Br + b*(Idc + 0.5*Id0*(1-cos(w*t_inj))); 
+sprintf(' B dipole injection : %g   T', B_inj)
+t=t_inj+1e-06 ;
+B      = Br + b*(Idc + 0.5*Id0*(1-cos(w*t)));
+sprintf(' Variation relative avec dt= 1*Âµs  : %g ', (B_inj-B)/B_inj )
Index: /trunk/machine/SOLEIL/Booster/applications/track.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/track.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/track.m	(revision 17)
@@ -0,0 +1,47 @@
+%  reglage tracking simulÃ©
+
+Gr = 0.0435 ;           % gradient remanent  T/m 
+a  = 0.0517 ;           % G/I   T/m/A
+Br = 0.0020 ;           % Champ remanent T
+b  = 0.00135416 ;       % B/I  T/A
+rho=12.3773 ;           % rayon dipole
+Iqfc = -0.24 ;             % Offset QPF
+Iqdc = -0.36 ;             % Offset QPD
+Ibc = 0. ;              % Offset Dip
+Iqf0 = 198.38 ;
+Iqd0 = 157.28 ;
+Id0  = 546.76 ;
+phi =-0.0001 ;
+rd0  = (Iqd0*a)/(Id0*b*rho) ;
+rf0  = (Iqf0*a)/(Id0*b*rho) ;
+sprintf('KF0= %g   KD0= %g', rf0, rd0)
+
+m1   =[ 0.124  0.0176 ; 0.0285  0.1 ] ; % matrice dnu dK=m1*dnu
+
+w=2*3.14159*(50./17.);
+i=0;
+clear fq fd r time 
+
+i = 1 : 1 : 340;
+t=i/1000;
+time=t;
+fq = 0.5*(1-cos(w*(t+phi)));
+fd = 0.5*(1-cos(w*t));
+
+pf=Gr + a*(Iqfc + Iqf0*fq);
+pd=Gr + a*(Iqdc + Iqd0*fq);
+p0=Br + b*(Ibc + Id0*fd);
+rf=pf./(p0*rho);
+rd=pd./(p0*rho);
+dnux= 0.4 + 8.4045*(rf-rf0) - 01.4792*(rd-rd0);
+dnuz= 0.4 - 2.3953*(rf-rf0) + 10.4216*(rd-rd0);
+
+
+plot(time(20:170) , dnux(20:170) , time(20:170) , dnuz(20:170))
+ylim([0 .5]);
+
+%Calcul offset sur Qpole en A
+testf =  (rf0*p0(20)*rho - (Gr + a*Iqf0*fq(20)))/a;
+testd =  (rd0*p0(20)*rho - (Gr + a*Iqd0*fq(20)))/a;
+sprintf('courant offset  : If= %g   Id= %g', testf, testd)
+
Index: /trunk/machine/SOLEIL/Booster/applications/track1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/track1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/track1.m	(revision 17)
@@ -0,0 +1,67 @@
+%  reglage tracking simulÃ© injection 113.4 MeV
+
+kf0=1.178  ;              % gradient pour 6.78/4.72
+kd0=0.938;
+
+Grf = 0.0610 ;           % gradient remanent  T/m 
+Grd = 0.0600 ;           % gradient remanent  T/m
+a  = 0.0517 ;           % G/I   T/m/A
+Br = 0.0020 ;           % Champ remanent T
+b  = 0.00135416 ;       % B/I  T/A
+rho=12.3773 ;           % rayon dipole
+brhom = 9.175 ;      %  Ã  2.75 GeV
+Iqfc = -0.62 ;             % Offset QPF
+Iqdc = -0.71 ;             % Offset QPD
+Ibc = 0. ;                 % Offset Dip
+
+Iqf0 =(kf0*brhom-Grf)/a - Iqfc;
+Iqd0=(kd0*brhom-Grd)/a -Iqdc ;
+Id0  = (brhom/rho-Br)/b - Ibc;
+sprintf('Id0= %g   Iqf0= %g  Iqd0= %g ' ,Iqf0, Iqd0 , Id0 )
+
+del =0.000 ;          % dÃ©lai retard si positif
+
+rd0  = ((Iqd0+Iqfc)*a+Grf)/((Id0*b+Br)*rho) ;
+rf0   = ((Iqf0+Iqdc)*a+Grd)/((Id0*b+Br)*rho) ;
+sprintf('KF0= %g   KD0= %g', rf0, rd0)
+
+m1   =[ 0.124  0.0176 ; 0.0285  0.1 ] ; % matrice dnu dK=m1*dnu
+
+w=2*3.14159*(50./17.);
+i=0;
+clear fq fd r time 
+
+i = 1 : 1 : 1700;
+t=i/10000;
+time=t;
+fq = 0.5*(1-cos(w*(t-del)));
+fd = 0.5*(1-cos(w*t));
+pf=Grf + a*(Iqfc + Iqf0*fq);
+pd=Grd + a*(Iqdc + Iqd0*fq);
+p0=Br + b*(Ibc + Id0*fd);
+
+%[D1 D2 QF QD time]=gettrackingdata('nodisplay')
+%pf=Grf + a*(QF);
+%pd=Grd + a*(QD);
+%p0=Br + b*(D1+D2)/2;
+
+rf=pf./(p0*rho);
+rd=pd./(p0*rho);
+dnux= 0. + 8.4045*(rf-rf0) - 01.4792*(rd-rd0);
+dnuz= 0. - 2.3953*(rf-rf0) + 10.4216*(rd-rd0);
+
+
+plot(time(200:1700) , dnux(200:1700) , time(200:1700) , dnuz(200:1700))
+ylim([-.5 .5]);
+
+% coutant Ã  l'injection
+tt=215;
+sprintf('courant injection rampe  : dip= %g   Q= %g   Qd= %g' , Id0*fd(tt) , Iqf0*fq(tt) , Iqd0*fq(tt))
+sprintf('courant injection rÃ©el      : dip= %g   Q= %g   Qd= %g' , Id0*fd(tt) +Ibc, Iqf0*fq(tt) +Iqfc, Iqd0*fq(tt)+Iqdc)
+sprintf('courant injection  : dip= %g   T' , p0(tt))
+
+%Calcul offset sur Qpole en A
+testf =  (rf0*p0(20)*rho - (Grf + a*Iqf0*fq(20)))/a;
+testd =  (rd0*p0(20)*rho - (Grd + a*Iqd0*fq(20)))/a;
+sprintf('courant offset  : If= %g   Id= %g', testf, testd)
+
Index: /trunk/machine/SOLEIL/Booster/applications/track2.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/track2.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/track2.m	(revision 17)
@@ -0,0 +1,72 @@
+%  reglage tracking simulÃ© injection 110 MeV et Br=0.00095 G
+
+kf0=1.178 ;              % gradient pour 6.78/4.72
+kd0=0.938;
+
+m1=[0.124  0.0176 ; 0.0285  0.1];
+dtune=[0.0  0.0];
+dK0 = m1*dtune' ;
+kf0=kf0 + dK0(1)
+kd0=kd0 + dK0(2)
+
+Grf = 0.0465 ;           % gradient remanent  T/m 
+Grd = 0.0485 ;           % gradient remanent  T/m
+a  = 0.0517 ;           % G/I   T/m/A
+Br = 0.00095 ;           % Champ remanent T
+b  = 0.00135416 ;       % B/I  T/A
+rho=12.3773 ;           % rayon dipole
+brhom = 9.175 ;      %  Ã  2.75 GeV
+Iqfc = -0.62 ;             % Offset QPF
+Iqdc = -0.71 ;             % Offset QPD
+Ibc = 0. ;                 % Offset Dip
+
+Iqf0 =(kf0*brhom-Grf)/a - Iqfc;
+Iqd0=(kd0*brhom-Grd)/a -Iqdc ;
+Id0  = (brhom/rho-Br)/b - Ibc;
+sprintf('Id0= %g   Iqf0= %g  Iqd0= %g ' ,Iqf0, Iqd0 , Id0 )
+
+del =0.000 ;          % dÃ©lai retard si positif
+
+rd0  = ((Iqd0+Iqfc)*a+Grf)/((Id0*b+Br)*rho) ;
+rf0   = ((Iqf0+Iqdc)*a+Grd)/((Id0*b+Br)*rho) ;
+sprintf('KF0= %g   KD0= %g', rf0, rd0)
+
+m1   =[ 0.124  0.0176 ; 0.0285  0.1 ] ; % matrice dnu dK=m1*dnu
+
+w=2*3.14159*(50./17.);
+i=0;
+clear fq fd r time 
+
+i = 1 : 1 : 1700;
+t=i/10000;
+time=t;
+fq = 0.5*(1-cos(w*(t-del)));
+fd = 0.5*(1-cos(w*t));
+pf=Grf + a*(Iqfc + Iqf0*fq);
+pd=Grd + a*(Iqdc + Iqd0*fq);
+p0=Br + b*(Ibc + Id0*fd);
+
+%[D1 D2 QF QD time]=gettrackingdata('nodisplay')
+%pf=Grf + a*(QF);
+%pd=Grd + a*(QD);
+%p0=Br + b*(D1+D2)/2;
+
+rf=pf./(p0*rho);
+rd=pd./(p0*rho);
+dnux= 0. + 8.4045*(rf-rf0) - 01.4792*(rd-rd0);
+dnuz= 0. - 2.3953*(rf-rf0) + 10.4216*(rd-rd0);
+
+
+plot(time(200:1700) , dnux(200:1700) , time(200:1700) , dnuz(200:1700))
+ylim([-.5 .5]);
+
+% coutant Ã  l'injection
+sprintf('courant injection rampe  : dip= %g   Q= %g   Qd= %g' , Id0*fd(215) , Iqf0*fq(215) , Iqd0*fq(215))
+sprintf('courant injection rÃ©el      : dip= %g   Q= %g   Qd= %g' , Id0*fd(215) +Ibc, Iqf0*fq(215) +Iqfc, Iqd0*fq(215)+Iqdc)
+sprintf('courant injection  : dip= %g   ' , p0(215))
+
+%Calcul offset sur Qpole en A
+testf =  (rf0*p0(20)*rho - (Grf + a*Iqf0*fq(20)))/a;
+testd =  (rd0*p0(20)*rho - (Grd + a*Iqd0*fq(20)))/a;
+sprintf('courant offset  : If= %g   Id= %g', testf, testd)
+
Index: /trunk/machine/SOLEIL/Booster/applications/track3.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/track3.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/track3.m	(revision 17)
@@ -0,0 +1,66 @@
+%  reglage tracking simulÃ© injection 110 MeV et Br=0.00095 G
+
+kf0=1.178  ;              % gradient pour 6.78/4.72
+kd0=0.938;
+
+Grf = 0.0465 ;           % gradient remanent  T/m 
+Grd = 0.0485 ;           % gradient remanent  T/m
+a  = 0.0517 ;           % G/I   T/m/A
+Br = 0.0020 ;           % Champ remanent T
+b  = 0.0013051 ;       % B/I  T/A
+rho=12.3773 ;           % rayon dipole
+brhom = 8.86 ;      %  Ã  2.75 GeV
+Iqfc = -0.33 ;             % Offset QPF
+Iqdc = -0.49 ;             % Offset QPD
+Ibc = 0. ;                 % Offset Dip
+
+Iqf0 =(kf0*brhom-Grf)/a - Iqfc;
+Iqd0=(kd0*brhom-Grd)/a -Iqdc ;
+Id0  = (brhom/rho-Br)/b - Ibc;
+sprintf('Id0= %g   Iqf0= %g  Iqd0= %g ' ,Iqf0, Iqd0 , Id0 )
+
+del =0.000 ;          % dÃ©lai retard si positif
+
+rd0  = ((Iqd0+Iqfc)*a+Grf)/((Id0*b+Br)*rho) ;
+rf0   = ((Iqf0+Iqdc)*a+Grd)/((Id0*b+Br)*rho) ;
+sprintf('KF0= %g   KD0= %g', rf0, rd0)
+
+m1   =[ 0.124  0.0176 ; 0.0285  0.1 ] ; % matrice dnu dK=m1*dnu
+
+w=2*3.14159*(50./17.);
+i=0;
+clear fq fd r time 
+
+i = 1 : 1 : 1700;
+t=i/10000;
+time=t;
+fq = 0.5*(1-cos(w*(t-del)));
+fd = 0.5*(1-cos(w*t));
+pf=Grf + a*(Iqfc + Iqf0*fq);
+pd=Grd + a*(Iqdc + Iqd0*fq);
+p0=Br + b*(Ibc + Id0*fd);
+
+%[D1 D2 QF QD time]=gettrackingdata('nodisplay')
+%pf=Grf + a*(QF);
+%pd=Grd + a*(QD);
+%p0=Br + b*(D1+D2)/2;
+
+rf=pf./(p0*rho);
+rd=pd./(p0*rho);
+dnux= 0. + 8.4045*(rf-rf0) - 01.4792*(rd-rd0);
+dnuz= 0. - 2.3953*(rf-rf0) + 10.4216*(rd-rd0);
+
+
+plot(time(100:1700) , dnux(100:1700) , time(100:1700) , dnuz(100:1700))
+ylim([-.5 .5]);
+
+% coutant Ã  l'injection
+sprintf('courant injection rampe  : dip= %g   Q= %g   Qd= %g' , Id0*fd(215) , Iqf0*fq(215) , Iqd0*fq(215))
+sprintf('courant injection rÃ©el      : dip= %g   Q= %g   Qd= %g' , Id0*fd(215) +Ibc, Iqf0*fq(215) +Iqfc, Iqd0*fq(215)+Iqdc)
+sprintf('courant injection  : dip= %g   ' , p0(215))
+
+%Calcul offset sur Qpole en A
+testf =  (rf0*p0(20)*rho - (Grf + a*Iqf0*fq(20)))/a;
+testd =  (rd0*p0(20)*rho - (Grd + a*Iqd0*fq(20)))/a;
+sprintf('courant offset  : If= %g   Id= %g', testf, testd)
+
Index: /trunk/machine/SOLEIL/Booster/applications/track3_eddyQP.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/track3_eddyQP.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/track3_eddyQP.m	(revision 17)
@@ -0,0 +1,140 @@
+%  reglage tracking simulÃ© injection 110 MeV et Br=0.00095 G
+
+% kf0=1.178  ;              % gradient pour 6.78/4.72
+% kd0=0.938;
+
+kf0=1.1522  ;              % gradient pour 6.6/4.6
+kd0=0.92172;
+
+Grf = 0.0465 ;           % gradient remanent  T/m 
+Grd = 0.0485 ;           % gradient remanent  T/m
+a  = 0.0517 ;           % G/I   T/m/A
+Br = 0.0020 ;           % Champ remanent T
+b  = 0.0013051 ;       % B/I  T/A
+rho=12.3773 ;           % rayon dipole
+brhom = 8.86 ;          %  Ã  2.75 GeV
+
+% courant théorique
+Iqfc = -0.327757 ;             % Offset QPF
+Iqdc = -0.488591 ;             % Offset QPD
+Ibc = 0. ;                     % Offset Dip
+Iqf0 =(kf0*brhom-Grf)/a - Iqfc;
+Iqd0=(kd0*brhom-Grd)/a -Iqdc ;
+Id0  = (brhom/rho-Br)/b - Ibc;
+
+%courant en manipe 20-10-05
+Iqf0 =201.65;  Iqfc = -0.617 ;          
+Iqd0 =162.43  ;  Iqdc = -0.672  ;           
+Id0  =545;  Ibc  = -0.1 ;                   
+delf =-0.0001 ;          % dÃ©lai retard si positif
+deld =-0.000 ;          % dÃ©lai retard si positif
+
+%courant en manipe 19-10-05
+% Iqf0 =200.11;  Iqfc = -0.432 ;          
+% Iqd0 =160.35;  Iqdc = -0.454 ;           
+% Id0  =545;  Ibc  = -0.1 ;
+% delf =-0.0001 ;          % dÃ©lai retard si positif
+% deld =-0.0001 ;          % dÃ©lai retard si positif 
+   
+%courant en manipe 18-10-05
+% Iqf0 =201.33;  Iqfc = -0.236 ;          
+% Iqd0 =162.28;  Iqdc = -0.338 ;           
+% Id0  =545;  Ibc  = -0. ;    
+% delf =0.0001 ;          % dÃ©lai retard si positif
+% deld =0.0001 ;          % dÃ©lai retard si positif 
+
+%courant en manipe 18-10-05 bis
+% Iqf0 =201.474;  Iqfc = -0.324 ;          
+% Iqd0 =162.851;  Iqdc = -0.55 ;           
+% Id0  =545;  Ibc  = -0. ;    
+% delf =0.000 ;          % dÃ©lai retard si positif
+% deld =0.000 ;          % dÃ©lai retard si positif 
+
+%sprintf('Id0= %g   Iqf0= %g  Iqd0= %g ' ,Iqf0, Iqd0 , Id0 )
+
+
+rd0  = ((Iqd0+Iqfc)*a+Grf)/((Id0*b+Br)*rho) ;
+rf0   = ((Iqf0+Iqdc)*a+Grd)/((Id0*b+Br)*rho) ;
+nux0  = 6.6 + 8.4045*(rf0-kf0) - 01.4792*(rd0-kd0);
+nuz0  = 4.6 - 2.3953*(rf0-kf0) + 10.4216*(rd0-kd0);
+%sprintf('nux= %g   nuz= %g', nux0, nuz0)
+
+m1   =[ 0.124  0.0176 ; 0.0285  0.1 ] ; % matrice dnu dK=m1*dnu
+
+w=2*3.14159*(50./17.);
+i=0;
+clear fq fd r time 
+
+i = 1 : 1 : 3400;
+t=i/10000;
+time=t;
+% rampe
+fqf = 0.5*(1-cos(w*(t-delf)));
+fqd = 0.5*(1-cos(w*(t-deld)));
+fd = 0.5*(1-cos(w*t));
+fddot=0.5*w*sin(w*t);
+% gradient et champ B
+pf=Grf + a*(Iqfc + Iqf0*fqf);
+pd=Grd + a*(Iqdc + Iqd0*fqd);
+p0=Br + b*(Ibc + Id0*fd);
+p0dot=b*Id0*fddot;
+R=p0dot./p0;
+% ratios G/B
+rf=pf./(p0*rho);
+rd=pd./(p0*rho);
+% tune
+dnux= 0. + 8.4045*(rf-rf0) - 01.4792*(rd-rd0);
+dnuz= 0. - 2.3953*(rf-rf0) + 10.4216*(rd-rd0);
+% eddy QP in dipole
+dK=+1.2e-04*R/3.6*0;
+dnux=dnux+31*dK;
+dnuz=dnuz-43*dK;
+
+resx11=[6 7]; resy11=[4 5];
+resx12=[6.5 6.5]; resy12=[4 5];
+resx13=[6 7]; resy13=[4.5 4.5];
+resx31=[6.667 6.667]; resy31=[4 5];
+resx32=[6 7]; resy32=[4.667 4.667];
+resx33=[6 8]; resy33=[5 4];
+resx41=[6 7]; resy41=[4.5 5];
+resx42=[6.5 7]; resy42=[4 5];
+
+n1=213;
+startx=(dnux(n1:n1)+nux0);
+starty=(dnuz(n1:n1)+nuz0);
+n2=1700;
+emaxx=(dnux(n2:n2)+nux0);
+emaxy=(dnuz(n2:n2)+nuz0);
+
+n1=213;
+n2=3400-215;
+clear ylim xlim
+figure(1)
+subplot(2,1,1)
+plot((dnux(n1:n2)+nux0) , (dnuz(n1:n2)+nuz0) , '-k' , ...
+    startx, starty, 'ok', ...
+    emaxx, emaxy, 'ok', ...
+    resx11 , resy11 , '-k' ,... 
+    resx12 , resy12 , '-k' ,... 
+    resx13 , resy13 , '-k' ,... 
+    resx31 , resy31 , '-r' ,...
+    resx32 , resy32 , '-r', ...
+    resx33 , resy33 , '-r', ...
+    resx41 , resy41 , '-b', ...
+    resx42 , resy42 , '-b')
+
+xlim([6.4 7]);ylim([4.4 5]);
+subplot(2,1,2)
+plot(time(n1:n2) , dnux(n1:n2) , time(n1:n2) , dnuz(n1:n2))
+ylim([-0.1 0.1]);
+
+% coutant Ã  l'injection
+ sprintf(' Courant injection rampe: dip= %g   Qf= %g   Qd= %g \n Courant injection reel : dip= %g   Qf= %g   Qd= %g \n Champ dipole injection : %g',...
+         Id0*fd(215) , Iqf0*fqf(215) , Iqd0*fqd(215) , ...
+         Id0*fd(215) +Ibc, Iqf0*fqf(215) +Iqfc, Iqd0*fqd(215)+Iqdc, p0(215) )
+sprintf(' Injection  : nux =%g  nuz=%g \n Extraction : nux =%g  nuz=%g', ...
+        startx, starty, emaxx, emaxy)
+%Calcul offset sur Qpole en A
+testf =  (rf0*p0(200)*rho - (Grf + a*Iqf0*fqf(200)))/a;
+testd =  (rd0*p0(200)*rho - (Grd + a*Iqd0*fqd(200)))/a;
+%sprintf('courant offset : If= %g  Id= %g')
Index: /trunk/machine/SOLEIL/Booster/applications/track3_eddyQP_AT.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/track3_eddyQP_AT.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/track3_eddyQP_AT.m	(revision 17)
@@ -0,0 +1,144 @@
+%  reglage tracking simulÃ© injection 110 MeV et Br=0.00095 G
+
+
+
+Grf = 0.0465 ;           % gradient remanent  T/m 
+Grd = 0.0485 ;           % gradient remanent  T/m
+a  = 0.0517 ;           % G/I   T/m/A
+Br = 0.0020 ;           % Champ remanent T
+b  = 0.0013051 ;       % B/I  T/A
+rho=12.3773 ;           % rayon dipole
+brhom = 8.86 ;          %  Ã  2.75 GeV
+
+% % courant théorique
+% Iqfc = -0.327757 ;             % Offset QPF
+% Iqdc = -0.488591 ;             % Offset QPD
+% Ibc = 0. ;                     % Offset Dip
+% Iqf0 =(kf0*brhom-Grf)/a - Iqfc;
+% Iqd0=(kd0*brhom-Grd)/a -Iqdc ;
+% Id0  = (brhom/rho-Br)/b - Ibc;
+
+%courant en manipe 20-10-05
+Iqf0 =201.65;  Iqfc = -0.617 ;          
+Iqd0 =162.43  ;  Iqdc = -0.672  ;           
+Id0  =545;  Ibc  = -0.1 ;                   
+delf =-0.0001 ;          % dÃ©lai retard si positif
+deld =-0.000 ;          % dÃ©lai retard si positif
+
+%courant en manipe 19-10-05
+Iqf0 =200.11;  Iqfc = -0.432 ;          
+Iqd0 =160.35;  Iqdc = -0.454 ;           
+Id0  =545;  Ibc  = -0.1 ;
+delf =-0.0001 ;          % dÃ©lai retard si positif
+deld =-0.0001 ;          % dÃ©lai retard si positif 
+   
+%courant en manipe 18-10-05
+Iqf0 =201.33;  Iqfc = -0.236 ;          
+Iqd0 =162.28;  Iqdc = -0.338 ;           
+Id0  =545;  Ibc  = -0. ;    
+delf =0.0001 ;          % dÃ©lai retard si positif
+deld =0.0001 ;          % dÃ©lai retard si positif 
+
+%courant en manipe 18-10-05 bis
+% Iqf0 =201.474;  Iqfc = -0.324 ;          
+% Iqd0 =162.851;  Iqdc = -0.55 ;           
+% Id0  =545;  Ibc  = -0. ;    
+% delf =0.000 ;          % dÃ©lai retard si positif
+% deld =0.000 ;          % dÃ©lai retard si positif 
+
+%sprintf('Id0= %g   Iqf0= %g  Iqd0= %g ' ,Iqf0, Iqd0 , Id0 )
+
+
+
+w=2*3.14159*(50./17.);
+i=0;
+clear fq fd r time 
+
+i = 1 : 1 : 340;
+t=i/1000;
+time=t;
+% rampe
+fqf = 0.5*(1-cos(w*(t-delf)));
+fqd = 0.5*(1-cos(w*(t-deld)));
+fd = 0.5*(1-cos(w*t));
+fddot=0.5*w*sin(w*t);
+% gradient et champ B
+pf=Grf + a*(Iqfc + Iqf0*fqf);
+pd=Grd + a*(Iqdc + Iqd0*fqd);
+p0=Br + b*(Ibc + Id0*fd);
+p0dot=b*Id0*fddot;
+R=p0dot./p0;
+% ratios G/B
+rf=pf./(p0*rho);
+rd=pd./(p0*rho);
+% tune via model booster AT
+
+global THERING
+%switch2sim
+QFI = findcells(THERING,'FamName','QPF');
+QDI = findcells(THERING,'FamName','QPD');
+
+for i=1:340
+   KQF=rf(i);KQD=-rd(i);
+   THERING = setcellstruct(THERING,'K',QFI,KQF);
+   THERING = setcellstruct(THERING,'K',QDI,KQD);
+   THERING = setcellstruct(THERING,'PolynomB',QFI, KQF,2);
+   THERING = setcellstruct(THERING,'PolynomB',QDI, KQD,2);
+   tune=modeltune;
+   dnux(i)=tune(1);dnuz(i)=tune(2);
+end   
+
+% eddy QP in dipole
+dK=+1.2e-04*R/3.6*0;
+dnux=dnux+31*dK;
+dnuz=dnuz-43*dK;
+
+resx11=[6 7]; resy11=[4 5];
+resx12=[6.5 6.5]; resy12=[4 5];
+resx13=[6 7]; resy13=[4.5 4.5];
+resx31=[6.667 6.667]; resy31=[4 5];
+resx32=[6 7]; resy32=[4.667 4.667];
+resx33=[6 8]; resy33=[5 4];
+resx41=[6 7]; resy41=[4.5 5];
+resx42=[6.5 7]; resy42=[4 5];
+
+n1=21;
+startx=dnux(n1);
+startz=dnuz(n1);
+n2=170;
+emaxx=dnux(n2);
+emaxz=dnuz(n2);
+
+n1=21;
+n2=340-21;
+clear ylim xlim
+figure(1)
+subplot(2,1,1)
+plot((dnux(n1:n2)) , (dnuz(n1:n2)) , '-k' , ...
+    startx, startz, 'ok', ...
+    emaxx, emaxz, 'ok', ...
+    resx11 , resy11 , '-k' ,... 
+    resx12 , resy12 , '-k' ,... 
+    resx13 , resy13 , '-k' ,... 
+    resx31 , resy31 , '-r' ,...
+    resx32 , resy32 , '-r', ...
+    resx33 , resy33 , '-r', ...
+    resx41 , resy41 , '-b', ...
+    resx42 , resy42 , '-b')
+
+xlim([6.4 7]);ylim([4.4 5]);
+subplot(2,1,2)
+plot(time(n1:n2) , (dnux(n1:n2)-emaxx) , time(n1:n2) , (dnuz(n1:n2)-emaxz))
+ylim([-0.1 0.1]);
+
+% coutant Ã  l'injection
+ sprintf(' Courant injection rampe: dip= %g   Qf= %g   Qd= %g \n Courant injection reel : dip= %g   Qf= %g   Qd= %g \n Champ dipole injection : %g',...
+         Id0*fd(21) , Iqf0*fqf(21) , Iqd0*fqd(21) , ...
+         Id0*fd(21) +Ibc, Iqf0*fqf(21) +Iqfc, Iqd0*fqd(21)+Iqdc, p0(21) )
+sprintf(' Injection  : nux =%g  nuz=%g \n Extraction : nux =%g  nuz=%g', ...
+        startx, startz, emaxx, emaxz)
+    
+% %Calcul offset sur Qpole en A
+% testf =  (rf0*p0(20)*rho - (Grf + a*Iqf0*fqf(20)))/a;
+% testd =  (rd0*p0(20)*rho - (Grd + a*Iqd0*fqd(20)))/a;
+% %sprintf('courant offset : If= %g  Id= %g')
Index: /trunk/machine/SOLEIL/Booster/applications/track_I.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/track_I.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/track_I.m	(revision 17)
@@ -0,0 +1,66 @@
+%  reglage tracking simulÃ©
+
+kf0=1.178  ;              % gradient pour 6.78/4.72
+kd0=0.938;
+
+Grf = 0.0465 ;           % gradient remanent  T/m 
+Grd = 0.0485 ;           % gradient remanent  T/m
+a  = 0.0517 ;           % G/I   T/m/A
+Br = 0.00095 ;           % Champ remanent T
+b  = 0.00135416 ;       % B/I  T/A
+rho=12.3773 ;           % rayon dipole
+brhom = 9.175 ;      %  Ã  2.75 GeV
+Iqfc = -0.62 ;             % Offset QPF
+Iqdc = -0.71 ;             % Offset QPD
+Ibc = 0. ;                 % Offset Dip
+
+Iqf0 =(kf0*brhom-Grf)/a - Iqfc;
+Iqd0=(kd0*brhom-Grd)/a -Iqdc ;
+Id0  = (brhom/rho-Br)/b - Ibc;
+sprintf('Id0= %g   Iqf0= %g  Iqd0= %g ' ,Iqf0, Iqd0 , Id0 )
+
+del =0.000 ;          % dÃ©lai retard si positif
+
+rd0  = ((Iqd0+Iqfc)*a+Grf)/((Id0*b+Br)*rho) ;
+rf0   = ((Iqf0+Iqdc)*a+Grd)/((Id0*b+Br)*rho) ;
+sprintf('KF0= %g   KD0= %g', rf0, rd0)
+
+m1   =[ 0.124  0.0176 ; 0.0285  0.1 ] ; % matrice dnu dK=m1*dnu
+
+w=2*3.14159*(50./17.);
+i=0;
+clear fq fd r time 
+
+i = 1 : 1 : 1700;
+t=i/10000;
+time=t;
+fq = 0.5*(1-cos(w*(t-del)));
+fd = 0.5*(1-cos(w*t));
+pf=Grf + a*(Iqfc + Iqf0*fq);
+pd=Grd + a*(Iqdc + Iqd0*fq);
+p0=Br + b*(Ibc + Id0*fd);
+
+%[D1 D2 QF QD time]=gettrackingdata('nodisplay')
+%pf=Grf + a*(QF);
+%pd=Grd + a*(QD);
+%p0=Br + b*(D1+D2)/2;
+
+rf=pf./(p0*rho);
+rd=pd./(p0*rho);
+dnux= 0. + 8.4045*(rf-rf0) - 01.4792*(rd-rd0);
+dnuz= 0. - 2.3953*(rf-rf0) + 10.4216*(rd-rd0);
+
+
+plot(time(200:1700) , dnux(200:1700) , time(200:1700) , dnuz(200:1700))
+ylim([-.5 .5]);
+
+% coutant Ã  l'injection
+sprintf('courant injection rampe  : dip= %g   Q= %g   Qd= %g' , Id0*fd(215) , Iqf0*fq(215) , Iqd0*fq(215))
+sprintf('courant injection rÃ©el      : dip= %g   Q= %g   Qd= %g' , Id0*fd(215) +Ibc, Iqf0*fq(215) +Iqfc, Iqd0*fq(215)+Iqdc)
+sprintf('courant injection  : dip= %g   Q= %g   Qd= %g' , p0(215))
+
+%Calcul offset sur Qpole en A
+testf =  (rf0*p0(20)*rho - (Grf + a*Iqf0*fq(20)))/a;
+testd =  (rd0*p0(20)*rho - (Grd + a*Iqd0*fq(20)))/a;
+sprintf('courant offset  : If= %g   Id= %g', testf, testd)
+
Index: /trunk/machine/SOLEIL/Booster/applications/track_test.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/track_test.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/track_test.m	(revision 17)
@@ -0,0 +1,80 @@
+function track
+
+%[D1 D2 QF QD time]=gettrackinghall('nodisplay');
+
+QVG=10/0.2 ;    %  volt -> T/M
+QVB=0.74/0.55 ; %  volt -> T
+RHO=12.376;
+
+
+QF_cur  =tango_read_attribute('BOO/AE/Tracking','channel2');
+QF_field=tango_read_attribute('BOO/AE/TrackingHall','channel1');
+QD_cur  =tango_read_attribute('BOO/AE/Tracking','channel3');
+QD_field=tango_read_attribute('BOO/AE/TrackingHall','channel2');
+DI_cur  =tango_read_attribute('BOO/AE/Tracking','channel1');
+DI_field=tango_read_attribute('BOO/AE/TrackingHall','channel0');
+
+ncur=length(QF_cur.value);
+nfield=length(QF_field.value);
+
+m=100;
+%lissage field
+fx=fft(QF_field.value);
+fx(m:(nfield-m))=0; % suppression haute frï¿œquence
+DQF_field=-real(ifft(fx));
+fx=fft(QD_field.value);
+fx(m:(nfield-m))=0; % suppression haute frï¿œquence
+DQD_field=real(ifft(fx));
+fx=fft(DI_field.value);
+fx(m:(nfield-m))=0; % suppression haute frï¿œquence
+DDI_field=real(ifft(fx));
+
+%lissage cur
+fx=fft(QF_cur.value);
+fx(m:(ncur-m))=0; % suppression haute frï¿œquence
+DQF_cur=real(ifft(fx));
+fx=fft(QD_cur.value);
+fx(m:(ncur-m))=0; % suppression haute frï¿œquence
+DQD_cur=real(ifft(fx));
+fx=fft(DI_cur.value);
+fx(m:(ncur-m))=0; % suppression haute frï¿œquence
+DDI_cur=real(ifft(fx));
+
+
+
+qf_ratio=(DQF_field - 0.2/200)./DQF_cur;
+millieu=qf_ratio(1750)
+qf_ratio=qf_ratio-millieu;
+
+di_ratio=(DDI_field - 0.0015)./DQF_cur;
+millieu=di_ratio(1750)
+di_ratio=di_ratio-millieu;
+
+% plot(qf_ratio(300:3300),'-r'); hold on;
+% plot(di_ratio(300:3300),'-k'); hold off;
+% ylim([-0.01 0.01]);
+ 
+ 
+ Kx=DQF_field./DDI_field*(QVG/QVB/RHO);
+ Kz=DQD_field./DDI_field*(QVG/QVB/RHO);
+ K0x=Kx(1750);
+ K0z=Kz(1750);
+ dnux=10*(Kx-K0x)./Kx;
+ dnuz=10*(Kz-K0z)./Kz;
+ 
+ [C,IQF]=max((DQF_field));
+ [C,IQD]=max((DQD_field));
+ [C,IDI]=max((DDI_field));
+ sprintf('max = %d %d %d',IQF,IQD,IDI)
+ 
+ plot(DQF_field/200,'-r'); hold on;
+ plot(DQD_field/150,'-b'); hold on;
+ plot(DDI_field/550,'-k'); hold off;
+ 
+%  plot(dnux(300:3300),'-r'); hold on;
+%  plot(dnuz(300:3300),'-b'); hold off;
+%  ylim([-0.2 0.4]);ylabel('dnux');
+%  xlim([0 3300]);
+%  grid on;
+ 
+ 
Index: /trunk/machine/SOLEIL/Booster/applications/tune.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/tune.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/tune.m	(revision 17)
@@ -0,0 +1,30 @@
+%function tune(istart)
+
+%  reglage delta tune Ã  110 MeV
+
+dtune = [0.0  0.0];        % dnu H  et dnu V
+
+m1   =[ 0.88 0.125 ; 0.2  0.716 ] ;
+kqp = m1*dtune' ;                    % DI QPF et QPD en A  
+sprintf(' Courant delta-quadrupole      dQPF: %g A    et     dQPD: %g A', kqp)
+
+
+temp = tango_read_attribute2('BOO/AE/QF', 'current');
+qpf_inj = temp.value(2) + kqp(1);
+tango_write_attribute('BOO/AE/QF', 'current', qpf_inj);
+if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+end
+temp=tango_read_attribute2('BOO/AE/QD', 'current');
+qpd_inj = temp.value(2) + kqp(2);
+tango_write_attribute('BOO/AE/QD', 'current', qpd_inj);
+if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+end
+
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/tune1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/tune1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/tune1.m	(revision 17)
@@ -0,0 +1,772 @@
+function varargout = tune1(varargin)
+% TUNE1 M-file for tune1.fig
+%      TUNE1, by itself, creates a new TUNE1 or raises the existing
+%      singleton*.
+%
+%      H = TUNE1 returns the handle to a new TUNE1 or the handle to
+%      the existing singleton*.
+%
+%      TUNE1('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in TUNE1.M with the given input arguments.
+%
+%      TUNE1('Property','Value',...) creates a new TUNE1 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before tune1_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to tune1_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help tune1
+
+% Last Modified by GUIDE v2.5 26-Jan-2006 11:45:33
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @tune1_OpeningFcn, ...
+                   'gui_OutputFcn',  @tune1_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before tune1 is made visible.
+function tune1_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to tune1 (see VARARGIN)
+
+% Choose default command line output for tune1
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes tune1 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = tune1_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit1 as text
+%        str2double(get(hObject,'String')) returns contents of edit1 as a double
+str2double(get(hObject,'String'))
+
+% --- Executes during object creation, after setting all properties.
+% Xinj
+function edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit2 as text
+%        str2double(get(hObject,'String')) returns contents of edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+% X'inj
+function edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit3 as text
+%        str2double(get(hObject,'String')) returns contents of edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+% tension sept
+function edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit4_Callback(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit4 as text
+%        str2double(get(hObject,'String')) returns contents of edit4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+% tension kicker
+function edit4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit5 as text
+%        str2double(get(hObject,'String')) returns contents of edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+% Zinj
+function edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit6 as text
+%        str2double(get(hObject,'String')) returns contents of edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+% Z'inj
+function edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit7_Callback(hObject, eventdata, handles)
+% hObject    handle to edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit7 as text
+%        str2double(get(hObject,'String')) returns contents of edit7 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+% VCOR3
+function edit7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+function edit8_Callback(hObject, eventdata, handles)
+% hObject    handle to edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit8 as text
+%        str2double(get(hObject,'String')) returns contents of edit8 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+% VCOR4
+function edit8_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function slider4_Callback(hObject, eventdata, handles)
+% hObject    handle to slider4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function slider4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider5_Callback(hObject, eventdata, handles)
+% hObject    handle to slider5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+z =get(handles.slider6,'Value');
+zp=get(handles.slider5,'Value');
+set(handles.edit6,'String',num2str(zp));
+
+zinj = [z   zp]  ;
+m1   =[ 0.0923 -0.4244 ; 0.0738 1.66 ] ;
+klt1 = m1*zinj'/1.2 ;  % corr 2 et 3 en A  
+%sprintf(' Courant correcteur LT1      CV.2: %g A    et     CV.3: %g A', klt1)
+tango_write_attribute2('LT1/AE/CV.2', 'current', (klt1(1)) );
+tango_write_attribute2('LT1/AE/CV.3', 'current', (klt1(2)) );
+CV2=readattribute('LT1/AE/CV.2/current');
+CV3=readattribute('LT1/AE/CV.3/current');
+set(handles.edit7,'String',CV2);
+set(handles.edit8,'String',CV3);
+
+% --- Executes during object creation, after setting all properties.
+% Z'
+function slider5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider6_Callback(hObject, eventdata, handles)
+% hObject    handle to slider6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+z =get(handles.slider6,'Value');
+zp=get(handles.slider5,'Value');
+set(handles.edit5,'String',num2str(z));
+
+zinj = [z   zp]  ;
+m1   =[ 0.0923 -0.4244 ; 0.0738 1.66 ] ;
+klt1 = m1*zinj'/1.2 ;  % corr 2 et 3 en A  
+%sprintf(' Courant correcteur LT1      CV.2: %g A    et     CV.3: %g A', klt1)
+tango_write_attribute('LT1/AE/CV.2', 'current', (klt1(1)) );
+tango_write_attribute('LT1/AE/CV.3', 'current', (klt1(2)) );
+CV2=readattribute('LT1/AE/CV.2/current');
+CV3=readattribute('LT1/AE/CV.3/current');
+set(handles.edit7,'String',CV2);
+set(handles.edit8,'String',CV3);
+
+% --- Executes during object creation, after setting all properties.
+% Z
+function slider6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider7_Callback(hObject, eventdata, handles)
+% hObject    handle to slider7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+x =get(handles.slider8,'Value');
+xp=get(handles.slider7,'Value');
+set(handles.edit2,'String',num2str(xp));
+
+xinj = [x   xp]  ;
+
+l1=0.5; l2=1.;  k=0.89*0.4;
+m11=1-k*l1/2;
+m12=l1;
+m21=-(2+k*k*l1*(l2-l1)+k*(2*l1-l2));
+m22=l2+k*l1*(l2-l1);
+det=l1+l2+k*l1*l2;
+m1   =[ m11 m12 ; m21 m22 ] / det;
+kep = m1*xinj' ;  % EP sept et kick en mrad  
+sept=191 + kep(1)*191/131;
+kick=6800 + kep(2)*6800/12;
+
+% tango_write_attribute('LT1/AE/CV.2', 'current', (klt1(1)) );
+% tango_write_attribute('LT1/AE/CV.3', 'current', (klt1(2)) );
+% CV2=readattribute('LT1/AE/CV.2/current');
+% CV3=readattribute('LT1/AE/CV.3/current');
+
+set(handles.edit3,'String',sept);
+set(handles.edit4,'String',kick);
+
+% --- Executes during object creation, after setting all properties.
+function slider7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider8_Callback(hObject, eventdata, handles)
+% hObject    handle to slider8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+x =get(handles.slider8,'Value');
+xp=get(handles.slider7,'Value');
+set(handles.edit1,'String',num2str(x));
+
+xinj = [x   xp]  ;
+
+l1=0.5; l2=1.;  k=0.89*0.4;
+m11=1-k*l1/2;
+m12=l1;
+m21=-(2+k*k*l1*(l2-l1)+k*(2*l1-l2));
+m22=l2+k*l1*(l2-l1);
+det=l1+l2+k*l1*l2;
+m1   =[ m11 m12 ; m21 m22 ] / det;
+kep = m1*xinj' ;  % EP sept et kick en mrad  
+sept=191 + kep(1)*191/131;
+kick=6800 + kep(2)*6800/12;
+
+% tango_write_attribute('LT1/AE/CV.2', 'current', (klt1(1)) );
+% tango_write_attribute('LT1/AE/CV.3', 'current', (klt1(2)) );
+% CV2=readattribute('LT1/AE/CV.2/current');
+% CV3=readattribute('LT1/AE/CV.3/current');
+
+set(handles.edit3,'String',sept);
+set(handles.edit4,'String',kick);
+
+
+% --- Executes during object creation, after setting all properties.
+function slider8_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function edit9_Callback(hObject, eventdata, handles)
+% hObject    handle to edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit9 as text
+%        str2double(get(hObject,'String')) returns contents of edit9 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit9_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function slider9_Callback(hObject, eventdata, handles)
+% hObject    handle to slider9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+nux100 =get(handles.slider9,'Value');
+set(handles.edit9,'String',num2str(nux100));
+
+
+% --- Executes during object creation, after setting all properties.
+function slider9_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function edit10_Callback(hObject, eventdata, handles)
+% hObject    handle to edit10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit10 as text
+%        str2double(get(hObject,'String')) returns contents of edit10 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit10_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function slider10_Callback(hObject, eventdata, handles)
+% hObject    handle to slider10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+nuz100 =get(handles.slider10,'Value');
+set(handles.edit10,'String',num2str(nuz100));
+
+% --- Executes during object creation, after setting all properties.
+function slider10_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function edit11_Callback(hObject, eventdata, handles)
+% hObject    handle to edit11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit11 as text
+%        str2double(get(hObject,'String')) returns contents of edit11 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit11_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function slider11_Callback(hObject, eventdata, handles)
+% hObject    handle to slider11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+nux275 =get(handles.slider11,'Value');
+set(handles.edit11,'String',num2str(nux275));
+
+% --- Executes during object creation, after setting all properties.
+function slider11_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function edit12_Callback(hObject, eventdata, handles)
+% hObject    handle to edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit12 as text
+%        str2double(get(hObject,'String')) returns contents of edit12 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function slider12_Callback(hObject, eventdata, handles)
+% hObject    handle to slider12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+nuz275 =get(handles.slider12,'Value');
+set(handles.edit12,'String',num2str(nuz275));
+
+% --- Executes during object creation, after setting all properties.
+function slider12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on button press in pushbutton1.
+function pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+nux100 =get(handles.slider9,'Value');
+nuz100 =get(handles.slider10,'Value');
+nux275 =get(handles.slider11,'Value');
+nuz275 =get(handles.slider12,'Value');
+
+mode_state =get(handles.togglebutton5,'Value');
+if mode_state == 0   % mode 100 MeV
+    
+   dtune = [nux100  nuz100];                 % dnu H  et dnu V
+   m1   =[ 0.88 0.125 ; 0.2  0.716 ] ;
+   kqp = m1*dtune' ;                    % DI QPF et QPD en A  
+   fprintf('\n');
+   fprintf(' Courant delta-quadrupole      dQPF: %g A    et     dQPD: %g A \n', kqp)
+   temp = tango_read_attribute2('BOO/AE/QF', 'current');
+   qpf_inj = temp.value(2) + kqp(1);
+   tango_write_attribute('BOO/AE/QF', 'current', qpf_inj);
+   if (tango_error == -1)
+    %- handle error
+       tango_print_error_stack;
+       return
+   end
+   temp=tango_read_attribute2('BOO/AE/QD', 'current');
+   qpd_inj = temp.value(2) + kqp(2);
+   tango_write_attribute('BOO/AE/QD', 'current', qpd_inj);
+   if (tango_error == -1)
+    %- handle error
+       tango_print_error_stack;
+       return
+   end
+
+elseif mode_state == 1  %Mode rampï¿œ
+    
+   dtune_inj = [nux100  nuz100];                  % dnu H  et dnu V
+   dtune_ext = [nux275  nuz275];                  % dnu H  et dnu V
+   m1   =[ 0.88 0.125 ; 0.2  0.716 ] ;
+   m2  =inv([ 1   1 ; 110/2750  1 ]) ;
+   k_inj  = m1*dtune_inj'    ;                    % DI QPF et QPD en A  
+   k_ext = m1*dtune_ext' *2750/110 ;              % DI QPF et QPD en A  
+   kqp_qf  = m2*[k_ext(1) ; k_inj(1)];             % DI offset et cur QPF
+   kqp_qd = m2*[k_ext(2) ; k_inj(2)];              % DI offset et cur QPD
+   fprintf('\n');
+   fprintf(' Delta courant qf   :  offset  %g A    et      current:  %g A \n',  kqp_qf(2) , kqp_qf(1))
+   fprintf('Delta courant qd   :  offset  %g A     et      current:  %g A \n', kqp_qd(2) , kqp_qd(2))
+
+   temp=tango_read_attribute2('BOO/AE/QD', 'current');
+   qpd_ext = temp.value(2) + kqp_qd(1);
+   tango_write_attribute('BOO/AE/QD', 'current', qpd_ext);
+   if (tango_error == -1)
+    %- handle error
+      tango_print_error_stack;
+      return
+   end
+%    temp=tango_read_attribute2('BOO/AE/QD', 'waveformOffset');
+%    qpd_inj = temp.value(2) + kqp_qd(2);
+%    tango_write_attribute('BOO/AE/QD', 'waveformOffset', qpd_inj);
+%    if (tango_error == -1)
+%     %- handle error
+%       tango_print_error_stack;
+%       return
+%    end
+ 
+   temp=tango_read_attribute2('BOO/AE/QF', 'current');
+   qpf_ext = temp.value(2) + kqp_qf(1);
+   tango_write_attribute('BOO/AE/QF', 'current', qpf_ext);
+   if (tango_error == -1)
+    %- handle error
+      tango_print_error_stack;
+      return
+   end
+
+%    temp = tango_read_attribute2('BOO/AE/QF', 'waveformOffset');
+%    qpf_inj = temp.value(2) + kqp_qf(2);
+%    tango_write_attribute('BOO/AE/QF', 'waveformOffset', qpf_inj);
+%    if (tango_error == -1)
+%     %- handle error
+%       tango_print_error_stack;
+%       return
+%    end
+    
+end
+
+
+% --- Executes on button press in togglebutton5.
+function togglebutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to togglebutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of togglebutton5
+mode=get(hObject,'Value');
+if mode == 0
+   set(handles.edit13,'String',' Mode 100 MeV');
+elseif mode == 1
+   set(handles.edit13,'String',' Mode rampï¿œ');
+end
+
+function edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit13 as text
+%        str2double(get(hObject,'String')) returns contents of edit13 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/tuneAC.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/tuneAC.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/tuneAC.m	(revision 17)
@@ -0,0 +1,84 @@
+%function tune(istart)
+
+%  reglage delta tune Ã  110 MeV
+
+dtune_inj = [-0.00     -0.1];                               % dnu H  et dnu V
+dtune_ext = [+0.00   -0.0];                               % dnu H  et dnu V
+
+m1   =[ 0.88 0.125 ; 0.2  0.716 ] ;
+m2  =inv([ 1   1 ; 110/2750  1 ]) ;
+k_inj  = m1*dtune_inj'    ;                    % DI QPF et QPD en A  
+k_ext = m1*dtune_ext' *2750/110 ;              % DI QPF et QPD en A  
+kqp_qf  = m2*[k_ext(1) ; k_inj(1)]                             % DI offset et cur QPF
+kqp_qd = m2*[k_ext(2) ; k_inj(2)]                              % DI offset et cur QPD
+sprintf(' Delta courant qf   :  offset  %g A    et      current:  %g A',   kqp_qf(2) , kqp_qf(1))
+sprintf('Delta courant qd   :  offset  %g A     et      current:  %g A ', kqp_qd(2) , kqp_qd(2))
+
+return
+
+ temp=tango_read_attribute2('BOO/AE/QD', 'current');
+ qpd_ext = temp.value(2) + kqp_qd(1);
+ tango_write_attribute('BOO/AE/QD', 'current', qpd_ext);
+  if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+ temp=tango_read_attribute2('BOO/AE/QD', 'waveformOffset');
+ qpd_inj = temp.value(2) + kqp_qd(2);
+ if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+ 
+ 
+ 
+ temp=tango_read_attribute2('BOO/AE/QF', 'current');
+ qpf_ext = temp.value(2) + kqp_qf(1);
+ tango_write_attribute('BOO/AE/QF', 'current', qpf_ext);
+ if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+
+ temp = tango_read_attribute2('BOO/AE/QF', 'waveformOffset');
+ qpf_inj = temp.value(2) + kqp_qf(2);
+ tango_write_attribute('BOO/AE/QF', 'waveformOffset', qpf_inj);
+ if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+end
+ 
+% stepsp('QF', kqp(1));
+% stepsp('QD', kqp(2));
+
+% istart=100000;
+% iend=istart+1*512+1;
+% clear a xt zt
+% a=getbpmrawdata( [1 2] ,'nodisplay','struct');
+% 
+% xt=a.Data.X(1,istart:iend); % +10*cos(2*3.14156*0.35*i);
+% zt=a.Data.Z(2,istart:iend) ;
+% 
+% nf=iend-istart+1;
+% fx=fft(xt); px=fx.*conj(fx)/nf; xf=(1:nf)/nf;
+% fz=fft(zt); pz=fz.*conj(fz)/nf; zf=(1:nf)/nf;
+% % fx=fft(xt,nf); px=fx.*conj(fx)/nf; xf=(1:nf/2)/nf;
+% % fz=fft(zt,nf); pz=fz.*conj(fz)/nf; zf=(1:nf/2)/nf;
+% clear max
+% tunex=find(px==max(px))/nf
+% clear max
+% tunez=find(pz==max(pz))/nf
+% 
+% figure(1001)
+% subplot(1,2,1)
+% plot(xf(2:nf/2),px(2:nf/2)); ylim([0 1]);
+% grid on
+% subplot(1,2,2)
+% plot(zf(2:nf/2),pz(2:nf/2))
+% suptitle(['TuneX= ' num2str(tunex) '            TuneZ= ' num2str(tunez)]);
+% grid on
+
Index: /trunk/machine/SOLEIL/Booster/applications/tuneAC1.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/tuneAC1.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/tuneAC1.m	(revision 17)
@@ -0,0 +1,102 @@
+%function tune(istart)
+
+%  reglage delta tune relatif
+%       100     2.75    100
+tunex=[ 0.0         0.       0.];
+tunez=[ 0.0         0.0       0.0];
+reset=0;
+%              x       z
+dtune_inj = [tunex(1)   tunez(1)];         % dnu H  et dnu V  injection   110 MeV
+dtune_ext = [tunex(2)   tunez(2)];         % dnu H  et dnu V  extraction 2750 MeV
+dtune_dow = [tunex(3)   tunez(3)];         % dnu H  et dnu V  retour      110 MeV
+dtune     = [dtune_inj dtune_ext dtune_dow];
+
+m1   =[1.1931   -0.1543 ; -0.2537    1.2602 ] ;              % dnux dnuz fonction de dIqf dIqd  a 110 MeV
+
+acqf=200.*18.48/2*sin(18.48*.020);
+acqd=150.*18.48/2*sin(18.48*.020);
+r =110/2750;
+
+% dtune = M *  QFoffset  QDoffset  QFcur  QDcur  delayQF  delay QD  (A et seconde)
+M = [m1(1,1) m1(1,2)  r*m1(1,1) r*m1(1,2) -acqf*m1(1,1) -acqd*m1(1,2); ...
+     m1(2,1) m1(2,2)  r*m1(2,1) r*m1(2,2) -acqf*m1(2,1) -acqd*m1(2,2); ...
+     r*m1(1,1) r*m1(1,2) r*m1(1,1) r*m1(1,2) 0         0           ; ...
+     r*m1(2,1) r*m1(2,2) r*m1(2,1) r*m1(2,2) 0         0           ; ...
+     m1(1,1) m1(1,2)  r*m1(1,1) r*m1(1,2) acqf*m1(1,1) acqd*m1(1,2); ...
+     m1(2,1) m1(2,2)  r*m1(2,1) r*m1(2,2) acqf*m1(2,1) acqd*m1(2,2)];
+
+sol=inv(M)*dtune';
+if reset==1;
+    sol=[0 0 0 0 0 0];
+end
+
+fprintf('  ************************** \n')
+fprintf('   OFFSET  QF = %g  A \n',sol(1) )
+fprintf('   OFFSET  QD = %g  A \n',sol(2) )
+fprintf('   CURRENT QF = %g  A \n',sol(3) )
+fprintf('   CURRENT QD = %g  A \n',sol(4) )
+fprintf('   DELAY   QF = %g  Âµs \n',sol(5)*1e+06 )
+fprintf('   DELAY   QD = %g  Âµs \n ',sol(6)*1e+06 )
+
+
+
+
+ temp=tango_read_attribute2('BOO/AE/QD', 'current');
+ qpd_ext = temp.value(2) + sol(4);
+ tango_write_attribute('BOO/AE/QD', 'current', qpd_ext);
+  if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+ temp=tango_read_attribute2('BOO/AE/QD', 'waveformOffset');
+ qpd_inj = temp.value(2) + sol(2);
+ tango_write_attribute('BOO/AE/QD', 'waveformOffset', qpd_inj);
+ if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+ 
+ 
+ temp=tango_read_attribute2('BOO/AE/QF', 'current');
+ qpf_ext = temp.value(2) + sol(3);
+ tango_write_attribute('BOO/AE/QF', 'current', qpf_ext);
+ if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+
+ temp = tango_read_attribute2('BOO/AE/QF', 'waveformOffset');
+ qpf_inj = temp.value(2) + sol(1);
+ tango_write_attribute('BOO/AE/QF', 'waveformOffset', qpf_inj);
+ if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+ 
+
+ temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay');
+ delai_qf = temp(1) + sol(5)*1000000
+ tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay',delai_qf);pause(0.5);
+ %writeattribute('BOO/SY/CPT.1/delayCounter4',delai_qf)
+ if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+ 
+ temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay');
+ delai_qd = temp + sol(6)*1000000
+ tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay',delai_qd);pause(0.5);
+ %writeattribute('BOO/SY/CPT.1/delayCounter3',delai_qd)
+ if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+ end
+ 
+
+
Index: /trunk/machine/SOLEIL/Booster/applications/tune_data.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/tune_data.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/tune_data.m	(revision 17)
@@ -0,0 +1,36 @@
+% tune booster 6.6 - 4.6
+
+tune= [ 0  0.575  0.65 ; ...
+        10 0.573 0.62 ; ...
+        20 0.573 0.596 ; ...
+        30 0.573 0.586; ...
+        40 0.573 0.586 ; ...
+        50 0.59 0.59 ;...
+        60 0.59 0.59 ;...
+        70 0.60  0.60; ...
+        80 0.61 0.61 ;...
+        90 0.603 0.613 ;...
+        100 0.6033 0.613 ; ...
+        120 0.6033 0.613 ; ...
+        150 0.5966 0.606 ; ...
+        180 0.6033 0.6133; ...
+        200 0.6167 0.616; ...
+        210 0.62 0.6233; ...
+        220 0.62 0.6233 ; ...
+        230 0.62 0.6233 ; ...
+        240 0.616 0.623 ; ...
+        250 0.616 0.62 ; ...
+        260 0.61 0.62 ; ...
+        270 0.61 0.62;...
+        280 0.61 0.62 ;
+        290 0.61 0.62]
+    
+    
+    figure(200)
+   
+    
+    plot(tune(:,1),tune(:,2),'-or',tune(:,1),tune(:,3),'-ob')
+    xlim([0 300]); ylim([0.5 0.75]); grid on;
+    
+    
+    
Index: /trunk/machine/SOLEIL/Booster/applications/tune_mesure.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/applications/tune_mesure.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/applications/tune_mesure.m	(revision 17)
@@ -0,0 +1,9 @@
+% mesure tune 2006
+
+time = [0     20   40   60   80   100   150   200   220   240   260    280  281];
+nux  = [0.56  0.54 0.56 0.58 0.59 0.60  0.59  0.624 0.637 0.642 0.644 0.659 0.666];
+nuz  = [0.69  0.60 0.59 0.60 0.61 0.62 0.61  0.625  0.636 0.639  0.638 0.640 0.639];
+
+
+plot(time,nux,'-or',time,nuz,'-ob')
+ylim([0.5 0.8])
Index: /trunk/machine/SOLEIL/Booster/boosterinit.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/boosterinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/boosterinit.m	(revision 17)
@@ -0,0 +1,1002 @@
+function boosterinit(OperationalMode)
+%BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB
+%
+% Written by Laurent S. Nadolski, Synchrotron SOLEIL
+% 
+%==========================
+% Accelerator Family Fields
+%==========================
+% FamilyName            BPMx, HCOR, etc
+% CommonNames           Shortcut name for each element
+% DeviceList            [Sector, Number]
+% ElementList           number in list
+% Position              m, if thick, it is not the magnet center
+%
+% MONITOR FIELD
+% Mode                  online/manual/special/simulator
+% TangoNames            Device Tango Names
+% Units                 Physics or HW
+% HW2PhysicsFcn         function handle used to convert from hardware to physics units ==> inline will not compile, see below
+% HW2PhysicsParams      parameters used for conversion function
+% Physics2HWFcn         function handle used to convert from physics to hardware units
+% Physics2HWParams      parameters used for conversion function
+% HWUnits               units for Hardware 'A';
+% PhysicsUnits          units for physics 'Rad';
+% Handles               monitor handle
+%
+% SETPOINT FIELDS
+% Mode                  online/manual/special/simulator
+% TangoNames            Devices tango names
+% Units                 hardware or physics
+% HW2PhysicsFcn         function handle used to convert from hardware to physics units
+% HW2PhysicsParams      parameters used for conversion function
+% Physics2HWFcn         function handle used to convert from physics to hardware units
+% Physics2HWParams      parameters used for conversion function
+% HWUnits               units for Hardware 'A';
+% PhysicsUnits          units for physics 'Rad';
+% Range                 minsetpoint, maxsetpoint;
+% Tolerance             setpoint-monitor
+% Handles               setpoint handle
+%
+%=============================================
+% Accelerator Toolbox Simulation Fields
+%=============================================
+% ATType                Quad, Sext, etc
+% ATIndex               index in THERING
+% ATParameterGroup      parameter group
+%
+%============
+% Family List
+%============
+%    BPMx
+%    BPMz
+%    HCOR
+%    VCOR
+%    BEND
+%    QF and QD
+%    SF and SD
+%    RF
+%    TUNE
+%    DCCT
+%    Machine Parameters
+
+%==============================
+%load AcceleratorData structure
+%==============================
+
+if nargin < 1
+    OperationalMode = 1;
+end
+
+global GLOBVAL THERING
+
+
+Mode             = 'Online';
+setad([]);       %clear AcceleratorData memory
+AD.SubMachine       = 'Booster'; % Machine Name
+AD.Energy        = 2.75; % Energy in GeV
+
+
+setad(AD);   %load AcceleratorData
+
+%%%%%%%%%%%%%%%%%%%%
+% ACCELERATOR OBJECT
+%%%%%%%%%%%%%%%%%%%%
+
+setao([]);   %clear previous AcceleratorObjects
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% BPMx data: status field designates if BPM in use
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+AO{1}.FamilyName               = 'BPMx';
+AO{1}.FamilyType               = 'BPM';
+AO{1}.MemberOf                 = {'BPM'; 'HBPM'; 'Diagnostics'};
+AO{1}.Monitor.Mode             = Mode;
+AO{1}.Monitor.Units            = 'Hardware';
+AO{1}.Monitor.HWUnits          = 'mm';
+AO{1}.Monitor.PhysicsUnits     = 'm';
+
+% Get mapping from TANGO static database
+map = tango_get_db_property('booster','tracy_bpm_mapping');
+
+cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+elemindex = cell2mat(regexpi(map,'BPM[0-9]','once'))+3;
+sep       = cell2mat(regexpi(map,'::','once'))-1;
+% dev       = deblank(regexprep(char(map),'^BPM\d*::',''));
+dev       = regexprep(map,'^BPM\d*::','')';
+
+nb = size(map,2);
+ik = 1;
+prev0 = 0;
+for k = 1:nb
+    prev = str2num(map{k}(cellindex(k):cellindex(k)+1));
+    if prev == prev0
+        ik = ik + 1;
+    else
+        ik = 1;
+    end
+    AO{1}.DeviceList(k,:) = [prev ik];
+    AO{1}.ElementList(k,:)= str2num(map{k}(elemindex(k):sep(k)));
+    prev0 = prev;
+end
+
+AO{1}.DeviceName(:,:)               = dev;
+AO{1}.Monitor.TangoNames(:,:)       = strcat(dev, '/XPosDD');
+AO{1}.CommonNames(:,:)              = [repmat('BPMx',nb,1) num2str((1:nb)','%02d')];
+
+AO{1}.Status                        = ones(nb,1);
+% AO{1}.Status([5:22]) = 0;
+AO{1}.Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(nb,1);
+AO{1}.Monitor.Physics2HWParams(:,:) = 1e3*ones(nb,1);
+
+% 2 lignes ajoutes pour test debug bpm versus le reste du monde
+AO{1}.Monitor.Handles(:,1)       = NaN*ones(nb,1);
+AO{1}.Monitor.DataType         = 'Vector';
+
+% Group
+AO{1}.GroupId = tango_group_create2('BPM');
+tango_group_add(AO{1}.GroupId,AO{1}.DeviceName');
+
+AO{1}.Status = AO{1}.Status(:);
+AO{1}.Monitor.Mode            = Mode; %'Special';
+AO{1}.Monitor.SpecialFunction = 'get_horbit_boo';
+
+% BPM with 0 status
+%AO{1}.Status([3 5 8 12]) = 0;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% BPMz data: status field designates if BPM in use
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Vertical plane
+AO{2} = AO{1};
+AO{2}.FamilyName              = 'BPMz';
+AO{2}.MemberOf                 = {'BPM'; 'VBPM'; 'Diagnostics'};
+AO{2}.Monitor.TangoNames(:,:) = strcat(dev,'/ZPosDD');
+AO{2}.CommonNames(:,:) = [repmat('BPMz',nb,1) num2str((1:nb)','%02d')];
+
+% 2 lignes ajoutes pour test debug bpm versus le reste du monde
+AO{2}.Monitor.DataType         = 'Vector';
+AO{2}.Monitor.Handles(:,1)       = NaN*ones(nb,1);
+
+AO{2}.Status = AO{2}.Status(:);
+
+AO{2}.Monitor.Mode            = Mode; %'Special';
+AO{2}.Monitor.SpecialFunction = 'get_vorbit_boo';
+
+% BPM with 0 status
+%AO{1}.Status([3 5 8 12]) = 0;
+
+% %===========================================================
+% %Corrector data: status field designates if corrector in use
+% %===========================================================
+% 
+setao(cell2field(AO));
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% SLOW HORIZONTAL CORRECTORS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = 3;
+AO{ifam}.FamilyName               = 'HCOR';
+AO{ifam}.FamilyType               = 'COR';
+AO{ifam}.MemberOf                 = {'MachineConfig'; 'COR'; 'MCOR'; 'HCOR'; 'Magnet'};
+
+AO{ifam}.Monitor.Mode             = Mode;
+AO{ifam}.Monitor.DataType         = 'Scalar';
+AO{ifam}.Monitor.Units            = 'Hardware';
+AO{ifam}.Monitor.HWUnits          = 'A';
+AO{ifam}.Monitor.PhysicsUnits     = 'rad';
+AO{ifam}.Monitor.HW2PhysicsFcn    = @amp2k;
+AO{ifam}.Monitor.Physics2HWFcn    = @k2amp;
+
+% Get mapping from TANGO static database
+map = tango_get_db_property('booster','tracy_correctorH_mapping');
+dev = regexprep(map,'^HCOR\d*::','')';
+cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+elemindex = cell2mat(regexpi(map,'HCOR[0-9]','once'))+4;
+sep       = cell2mat(regexpi(map,'::','once'))-1;
+
+nb = size(map,2);
+for k = 1:nb
+    AO{ifam}.DeviceList(k,:)  = [str2num(map{k}(cellindex(k):cellindex(k)+1)) 1];
+    AO{ifam}.ElementList(k,:) = str2num(map{k}(elemindex(k):sep(k)));
+end
+
+AO{ifam}.DeviceName(:,:)            = dev;
+AO{ifam}.CommonNames(:,:)           = [repmat(AO{ifam}.FamilyName,nb,1) num2str((1:nb)','%03d')];
+AO{ifam}.Status                     = ones(nb,1);
+AO{ifam}.Monitor.TangoNames(:,:)    = strcat(dev,'/current');
+AO{ifam}.Monitor.Handles(:,1)       = NaN*ones(nb,1);
+
+%Load fields from datablock
+% AT use the "A-coefficients" for correctors plus an offset
+[C, Leff, MagnetType, coefficients] = magnetcoefficients(AO{ifam}.FamilyName);
+
+for ii=1:nb
+    AO{ifam}.Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO{ifam}.Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+end
+
+AO{ifam}.Setpoint = AO{ifam}.Monitor;
+AO{ifam}.Desired  = AO{ifam}.Monitor;
+
+AO{ifam}.Setpoint.Range(:,:)        = repmat([-1.5 1.5],nb,1); % 1 A for ???
+AO{ifam}.Setpoint.Tolerance(:,:)    = 1000*ones(nb,1);
+AO{ifam}.Setpoint.DeltaRespMat(:,:) = ones(nb,1)*2e-5; % ???
+
+AO{ifam}.Status = AO{ifam}.Status(:);
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(cell2field(AO));   %required to make physics2hw function
+AO{ifam}.Setpoint.DeltaRespMat = physics2hw(AO{ifam}.FamilyName,'Setpoint', ...
+    AO{ifam}.Setpoint.DeltaRespMat, AO{ifam}.DeviceList);
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% SLOW VERTICAL CORRECTORS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = ifam +1;
+AO{ifam}.FamilyName               = 'VCOR';
+AO{ifam}.FamilyType               = 'COR';
+AO{ifam}.MemberOf                 = {'MachineConfig'; 'COR'; AO{ifam}.FamilyName; 'Magnet'};
+
+AO{ifam}.Monitor.Mode             = Mode;
+AO{ifam}.Monitor.DataType         = 'Scalar';
+AO{ifam}.Monitor.Units            = 'Hardware';
+AO{ifam}.Monitor.HWUnits          = 'A';
+AO{ifam}.Monitor.PhysicsUnits     = 'rad';
+AO{ifam}.Monitor.HW2PhysicsFcn = @amp2k;
+AO{ifam}.Monitor.Physics2HWFcn = @k2amp;
+
+% Get mapping from TANGO static database
+map = tango_get_db_property('booster','tracy_correctorV_mapping');
+dev = regexprep(map,'^VCOR\d*::','')';
+cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+elemindex = cell2mat(regexpi(map,'VCOR[0-9]','once'))+4;
+sep       = cell2mat(regexpi(map,'::','once'))-1;
+
+nb = size(map,2);
+for k = 1:nb
+    AO{ifam}.DeviceList(k,:)  = [str2num(map{k}(cellindex(k):cellindex(k)+1)) 1];
+    AO{ifam}.ElementList(k,:) = str2num(map{k}(elemindex(k):sep(k)));
+end
+
+AO{ifam}.DeviceName(:,:)            = dev;
+AO{ifam}.Status                     = ones(nb,1);
+AO{ifam}.CommonNames(:,:)           = [repmat(AO{ifam}.FamilyName,nb,1) num2str((1:nb)','%03d')];
+AO{ifam}.Monitor.TangoNames(:,:)    = strcat(dev,'/current');
+
+AO{ifam}.Monitor.Handles(:,1)    = NaN*ones(nb,1);
+
+%Load fields from datablock
+% AT use the "A-coefficients" for correctors plus an offset
+[C, Leff, MagnetType, coefficients] = magnetcoefficients(AO{ifam}.FamilyName);
+
+for ii = 1:nb
+    AO{ifam}.Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO{ifam}.Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+end
+
+AO{ifam}.Setpoint = AO{ifam}.Monitor;
+AO{ifam}.Desired  = AO{ifam}.Monitor;
+
+AO{ifam}.Setpoint.Range(:,:) = repmat([-1.5 1.5],nb,1); %  1 A for ???
+AO{ifam}.Setpoint.Tolerance(:,:) = 1000*ones(nb,1);
+AO{ifam}.Setpoint.DeltaRespMat(:,:) = ones(nb,1)*4e-5; % ???
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(cell2field(AO));   %required to make physics2hw function
+AO{ifam}.Setpoint.DeltaRespMat = physics2hw(AO{ifam}.FamilyName,'Setpoint', ...
+    AO{ifam}.Setpoint.DeltaRespMat, AO{ifam}.DeviceList);
+
+%=============================
+% MAIN MAGNETS
+%=============================
+
+%===========
+%% Dipole data
+%===========
+
+% *** BEND ***
+ifam = ifam+1;
+AO{ifam}.FamilyName                 = 'BEND';
+AO{ifam}.FamilyType                 = 'BEND';
+AO{ifam}.MemberOf                   = {'MachineConfig'; 'BEND'; 'Magnet';};
+HW2PhysicsParams                    = magnetcoefficients('BEND');
+Physics2HWParams                    = HW2PhysicsParams;
+
+AO{ifam}.Monitor.Mode               = Mode;
+AO{ifam}.Monitor.DataType           = 'Scalar';
+AO{ifam}.Monitor.Units              = 'Hardware';
+AO{ifam}.Monitor.HW2PhysicsFcn      = @bend2gev;
+AO{ifam}.Monitor.Physics2HWFcn      = @gev2bend;
+AO{ifam}.Monitor.HWUnits            = 'A';
+AO{ifam}.Monitor.PhysicsUnits       = 'energy';
+
+
+% nb = size(map,2);
+nb = 1;
+
+AO{ifam}.DeviceList(:,:)   = [1 1];
+AO{ifam}.ElementList(:,:)  = 1;
+AO{ifam}.DeviceName(:,:)   = 'BOO/AE/Dipole';
+AO{ifam}.Monitor.TangoNames(:,:)  = strcat(AO{ifam}.DeviceName,'/d1current');
+AO{ifam}.OffsetR.TangoNames(:,:)  = strcat(AO{ifam}.DeviceName,'/d1waveformOffset');
+
+AO{ifam}.Status = 1;
+AO{ifam}.Monitor.Handles = NaN;
+
+val = 1.0;
+AO{ifam}.Monitor.HW2PhysicsParams{1}(1,:)                 = HW2PhysicsParams;
+AO{ifam}.Monitor.HW2PhysicsParams{2}(1,:)                 = val;
+AO{ifam}.Monitor.Physics2HWParams{1}(1,:)                 = Physics2HWParams;
+AO{ifam}.Monitor.Physics2HWParams{2}(1,:)                 = val;
+
+% When using bend2gev / gev2bend don't use Params
+AO{ifam}.Monitor = rmfield(AO{ifam}.Monitor,'HW2PhysicsParams');
+AO{ifam}.Monitor = rmfield(AO{ifam}.Monitor,'Physics2HWParams');
+
+AO{ifam}.Setpoint = AO{ifam}.Monitor;
+AO{ifam}.Desired  = AO{ifam}.Monitor;
+AO{ifam}.OffsetR  = AO{ifam}.Monitor;
+AO{ifam}.OffsetW  = AO{ifam}.Monitor;
+AO{ifam}.Setpoint.TangoNames = strcat(AO{ifam}.DeviceName,'/current');
+AO{ifam}.OffsetW.TangoNames = strcat(AO{ifam}.DeviceName,'/waveformOffset');
+
+AO{ifam}.Setpoint.Range(:,:) = [0 560]; % 525 A for 1.71T
+AO{ifam}.Setpoint.Tolerance(:,:) = 0.05;
+AO{ifam}.Setpoint.DeltaRespMat(:,:) = 0.05;
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+%setao(cell2field(AO));   %required to make physics2hw function
+%AO{ifam}.Setpoint.DeltaRespMat=physics2hw(AO{ifam}.FamilyName,'Setpoint',AO{ifam}.Setpoint.DeltaRespMat,AO{ifam}.DeviceList);
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% QUADRUPOLE MAGNETS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+map     = tango_get_db_property('booster','tracy_quadrupole_mapping');
+iifam   = cell2mat(regexpi(map,'/Q','once'))+2;
+ifound  = regexpi(map,'/QF');
+
+%%% build mapping for the two families
+%%% cleanup
+mapQF = []; mapQD = [];
+for k = 1:length(ifound)
+    if isempty(ifound{k})
+        mapQD = [mapQD map(k)];
+    else
+        mapQF = [mapQF map(k)];
+    end
+end
+
+
+mapQP  = {mapQF,mapQD};
+nameQP = {'QF', 'QD'};
+
+% for both family
+for k = 1:2    
+    sep = cell2mat(regexprep(mapQP{k},'::','once'))-1;
+    dev = regexprep(mapQP{k},'^Q[F,D]\d*::','')';
+    ifam = ifam + 1;
+
+    AO{ifam}.FamilyName                 = nameQP{k};
+    AO{ifam}.FamilyType                 = 'QUAD';
+    AO{ifam}.MemberOf                   = {'MachineConfig'; 'QUAD'; 'Magnet';};
+    HW2PhysicsParams                    = magnetcoefficients(AO{ifam}.FamilyName);
+    Physics2HWParams                    = magnetcoefficients(AO{ifam}.FamilyName);
+
+    AO{ifam}.Monitor.Mode               = Mode;
+    AO{ifam}.Monitor.DataType           = 'Scalar';
+    AO{ifam}.Monitor.Units              = 'Hardware';
+    AO{ifam}.Monitor.HWUnits            = 'A';
+    AO{ifam}.Monitor.PhysicsUnits       = 'meter^-2';
+    AO{ifam}.Monitor.HW2PhysicsFcn      = @amp2k;
+    AO{ifam}.Monitor.Physics2HWFcn      = @k2amp;
+    
+    AO{ifam}.DeviceList(1,:) = [1 1];
+    AO{ifam}.ElementList(1,:)= 1;
+
+    prev0 = prev;
+
+    AO{ifam}.DeviceName(:,:)    = dev;
+    
+    %% Build common names
+    AO{ifam}.CommonNames(:,:) = AO{ifam}.FamilyName;
+
+    AO{ifam}.Monitor.TangoNames(:,:)  = strcat(dev,'/current');
+
+    AO{ifam}.Status = 1;
+    AO{ifam}.Monitor.Handles(:,1) = NaN;
+
+    AO{ifam}.Monitor.HW2PhysicsParams{1}(1,:)                 = HW2PhysicsParams;
+    AO{ifam}.Monitor.HW2PhysicsParams{2}(1,:)                 = val;
+    AO{ifam}.Monitor.Physics2HWParams{1}(1,:)                 = Physics2HWParams;
+    AO{ifam}.Monitor.Physics2HWParams{2}(1,:)                 = val;
+
+    AO{ifam}.Setpoint = AO{ifam}.Monitor;
+    AO{ifam}.Desired  = AO{ifam}.Monitor;
+
+    AO{ifam}.Setpoint.Range(:,:) = [0 300]; %260 A for 19.7Tm-1
+    AO{ifam}.Setpoint.Tolerance(:,:) = 0.05;
+    AO{ifam}.Setpoint.DeltaRespMat(:,:) = 0.02;
+
+    %convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+    setao(cell2field(AO));   %required to make physics2hw function
+%     AO{ifam}.Setpoint.DeltaRespMat = physics2hw(AO{ifam}.FamilyName, ...
+%         'Setpoint',AO{ifam}.Setpoint.DeltaRespMat,AO{ifam}.DeviceList);
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% SEXTUPOLE MAGNETS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+map=tango_get_db_property('booster','tracy_sextupole_mapping');
+iifam = cell2mat(regexpi(map,'/S','once'))+2;
+ifound  = regexpi(map,'/SF');
+
+%%% build mapping for the ten families
+%%% cleanup
+mapSF = []; mapSD = [];
+for k = 1:length(ifound)
+    if isempty(ifound{k})
+        mapSD = [mapSD map(k)];
+    else
+        mapSF = [mapSF map(k)];
+    end
+end
+
+
+mapS  = {mapSF,mapSD};
+nameS = {'SF', 'SD'};
+
+% For both families
+for k = 1:2
+    sep = cell2mat(regexpi(mapS{k},'::','once'))-1;
+    dev = regexprep(mapS{k},'^S[F,D]\d*::','')';
+
+    ifam=ifam+1;
+
+    AO{ifam}.FamilyName                = nameS{k};
+    AO{ifam}.FamilyType                = 'SEXT';
+    AO{ifam}.MemberOf                  = {'MachineConfig'; 'SEXT'; 'Magnet';};
+    HW2PhysicsParams                   = magnetcoefficients(AO{ifam}.FamilyName);
+    Physics2HWParams                   = magnetcoefficients(AO{ifam}.FamilyName);
+
+    AO{ifam}.Monitor.Mode              = Mode;
+    AO{ifam}.Monitor.DataType          = 'Scalar';
+    AO{ifam}.Monitor.Units             = 'Hardware';
+    AO{ifam}.Monitor.HW2PhysicsFcn     = @amp2k;
+    AO{ifam}.Monitor.Physics2HWFcn     = @k2amp;
+    AO{ifam}.Monitor.HWUnits           = 'A';
+    AO{ifam}.Monitor.PhysicsUnits      = 'meter^-3';
+
+    AO{ifam}.DeviceList(:,:) = [1 1];
+    AO{ifam}.ElementList(:,:)= 1;
+
+    AO{ifam}.DeviceName(:,:)    = dev;
+    %% Build common names
+    AO{ifam}.CommonNames(:,:)   = AO{ifam}.FamilyName;
+    AO{ifam}.Monitor.TangoNames(:,:)  = strcat(dev,'/current');
+    
+
+    AO{ifam}.Status = 1;
+    AO{ifam}.Monitor.Handles(:,1) = NaN;
+
+    val = 1.0;
+    AO{ifam}.Monitor.HW2PhysicsParams{1}(1,:)               = HW2PhysicsParams;
+    AO{ifam}.Monitor.HW2PhysicsParams{2}(1,:)               = val;
+    AO{ifam}.Monitor.Physics2HWParams{1}(1,:)               = Physics2HWParams;
+    AO{ifam}.Monitor.Physics2HWParams{2}(1,:)               = val;
+
+    AO{ifam}.Setpoint = AO{ifam}.Monitor;
+    AO{ifam}.Desired  = AO{ifam}.Monitor;
+
+    AO{ifam}.Setpoint.Range(:,:) = [0 400]; % 343 A for 320 Tm-2
+    AO{ifam}.Setpoint.Tolerance(:,:) = 0.05;
+    AO{ifam}.Setpoint.DeltaRespMat(:,:) = 0.05;
+
+    %convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+    setao(cell2field(AO));   %required to make physics2hw function
+%     AO{ifam}.Setpoint.DeltaRespMat=physics2hw(AO{ifam}.FamilyName,'Setpoint',AO{ifam}.Setpoint.DeltaRespMat,AO{ifam}.DeviceList);
+end
+
+% Convert to new format
+AO = cell2field(AO);
+
+
+%=======
+%% TUNE
+%=======
+ifam = 'TUNE';
+AO.(ifam).FamilyName  = ifam;
+AO.(ifam).FamilyType  = 'Diagnostic';
+AO.(ifam).MemberOf    = {'Diagnostics'};
+AO.(ifam).CommonNames = ['nux';'nuz';'nus'];
+AO.(ifam).DeviceList  = [1 1; 1 2; 1 3];
+AO.(ifam).ElementList = [1 2 3]';
+AO.(ifam).Status      = [1 1 1]';
+
+AO.(ifam).Monitor.Mode                   = Mode; %'Simulator';  % Mode;
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.DataTypeIndex          = [1 2];
+AO.(ifam).Monitor.TangoNames              = ['BOO/DG/BPM-TUNEX/Nu'; ...
+                                             'BOO/DG/BPM-TUNEZ/Nu'; 'BOO/DG/BPM-TUNEX/Nu'];
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+AO.(ifam).Monitor.HWUnits                = 'fractional tune';
+AO.(ifam).Monitor.PhysicsUnits           = 'fractional tune';
+
+%%%%%%%%%%%%%%%%%%
+%% Pulsed Magnet
+%%%%%%%%%%%%%%%%%%
+
+%% Injection kicker
+ifam = 'K_Inj'; 
+AO.(ifam).FamilyName           = 'K_Inj';
+AO.(ifam).MemberOf             = {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = 1;
+AO.(ifam).DeviceName               = cellstr('BOO-C01/EP/AL_K.Inj');
+AO.(ifam).CommonNames              = 'K_Inj';
+AO.(ifam).ElementList              = 1;
+AO.(ifam).DeviceList(:,:)          = [1 1];
+AO.(ifam).Monitor.Handles(:,1)     = NaN;
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+%% Injection Septum
+ifam = 'SEP_Inj'; 
+AO.(ifam).FamilyName           = 'SEP_Inj';
+AO.(ifam).MemberOf             = {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = 1;
+AO.(ifam).DeviceName               = cellstr('BOO-C22/EP/AL_SEP_P.Inj');
+AO.(ifam).CommonNames              = 'SEP_P';
+AO.(ifam).ElementList              = 1;
+AO.(ifam).DeviceList(:,:)           = [1 1];
+AO.(ifam).Monitor.Handles(:,1)     = NaN;
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+%% Injection Septum
+ifam = 'SEPA_EXT'; 
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).MemberOf             = {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = 0;
+AO.(ifam).DeviceName               = cellstr('BOO-C22/EP/AL_SEP_P.Inj');
+AO.(ifam).CommonNames              = 'SEP_P';
+AO.(ifam).ElementList              = 1;
+AO.(ifam).DeviceList(:,:)           = [1 1];
+AO.(ifam).Monitor.Handles(:,1)     = NaN;
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+%% Injection Septum
+ifam = 'SEP_P_EXT'; 
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).MemberOf             = {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = 0;
+AO.(ifam).DeviceName               = cellstr('BOO-C11/EP/AL_SEP_P.Ext');
+AO.(ifam).CommonNames              = 'SEP_P_EXT';
+AO.(ifam).ElementList              = 1;
+AO.(ifam).DeviceList(:,:)           = [1 1];
+AO.(ifam).Monitor.Handles(:,1)     = NaN;
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+%%%%%%%%%%%%%%%%%%
+%% VACUUM SYSTEM
+%%%%%%%%%%%%%%%%%%
+
+%% IonPump
+ifam = 'PI';
+AO.(ifam).FamilyName           = 'PI';
+AO.(ifam).FamilyType           = 'PI';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'IonPump'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+map     = tango_get_db_property('booster','pompe_ionique');
+numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+
+nb = size(map,2);
+for k = 1:nb,
+    switch map{k}(1:6)
+        case 'BOO-B1'
+            k1 = 1;
+        case 'BOO-Bi'
+            k1 = 2;
+        case 'BOO-B2'
+            k1 = 3;
+        case 'BOO-Be'
+            k1 = 4;
+        case 'BOO-B3'
+            k1 = 5;
+        case 'BOO-B4'
+            k1 = 6;
+    end            
+    AO.(ifam).DeviceList(k,:)  = [k1 str2double(map{k}(numindex(k)))];
+    AO.(ifam).ElementList(k,:) = k;
+    AO.(ifam).CommonNames(k,:) = ['PI' num2str(ik)];
+end
+
+AO.(ifam).Status                   = ones(nb,1);
+%AO.(ifam).Status(26) = 0;% BOO-Bext/VI/PI300.3
+AO.(ifam).DeviceName               = map';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%% Penning Gauges
+ifam = 'JPEN';
+AO.(ifam).FamilyName           = 'JPEN';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'PenningGauge'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+map     = tango_get_db_property('booster','jauge_penning');
+numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+
+nb = size(map,2);
+for k = 1:nb,
+    switch map{k}(1:6)
+        case 'BOO-B1'
+            k1 = 1;
+        case 'BOO-Bi'
+            k1 = 2;
+        case 'BOO-B2'
+            k1 = 3;
+        case 'BOO-Be'
+            k1 = 4;
+        case 'BOO-B3'
+            k1 = 5;
+        case 'BOO-B4'
+            k1 = 6;
+    end            
+    AO.(ifam).DeviceList(k,:)  = [k1 str2double(map{k}(numindex(k)))];
+    AO.(ifam).ElementList(k,:) = k;
+    AO.(ifam).CommonNames(k,:) = ['JPEN' num2str(ik)];
+end
+
+AO.(ifam).Status                   = ones(nb,1);
+AO.(ifam).DeviceName               = map';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%% Pirani Gauges
+ifam = 'JPIR';
+AO.(ifam).FamilyName           = 'JPIR';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'PiraniGauge'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+map     = tango_get_db_property('booster','jauge_pirani');
+numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+
+nb = size(map,2);
+for k = 1:nb,
+    switch map{k}(1:6)
+        case 'BOO-B1'
+            k1 = 1;
+        case 'BOO-Bi'
+            k1 = 2;
+        case 'BOO-B2'
+            k1 = 3;
+        case 'BOO-Be'
+            k1 = 4;
+        case 'BOO-B3'
+            k1 = 5;
+        case 'BOO-B4'
+            k1 = 6;
+    end            
+    AO.(ifam).DeviceList(k,:)  = [k1 str2double(map{k}(numindex(k)))];
+    AO.(ifam).ElementList(k,:) = k;
+    AO.(ifam).CommonNames(k,:) = ['JPIR' num2str(ik)];
+end
+
+AO.(ifam).Status                   = ones(nb,1);
+AO.(ifam).DeviceName               = map';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%====
+%% DCCT
+%====
+ifam=ifam+1;
+AO.DCCT.FamilyName                     = 'DCCT';
+AO.DCCT.FamilyType                     = 'Diagnostic';
+AO.DCCT.MemberOf                       = {'Diagnostics','Archivable','Plotfamily'};
+AO.DCCT.CommonNames                    = 'DCCT';
+AO.DCCT.DeviceList                     = [1 1; 1 2];
+AO.DCCT.ElementList                    = (1:2)';
+AO.DCCT.Status                         = AO.DCCT.ElementList;
+
+AO.DCCT.Monitor.Mode                   = Mode;
+AO.DCCT.FamilyName                     = 'DCCT';
+AO.DCCT.deviceName                     = 'BOO-C01/DG/DCCT';
+AO.DCCT.Monitor.DataType               = 'Scalar';
+AO.DCCT.Monitor.TangoNames             = ['BOO-C01/DG/DCCT/iInj'; 'BOO-C01/DG/DCCT/iExt']; %afin de ne pas avoir de bug
+AO.DCCT.Monitor.Units                  = 'Hardware';
+AO.DCCT.Monitor.Handles                = NaN;
+AO.DCCT.Monitor.HWUnits                = 'milli-ampere';
+AO.DCCT.Monitor.PhysicsUnits           = 'A';
+AO.DCCT.Monitor.HW2PhysicsParams       = 1;
+AO.DCCT.Monitor.Physics2HWParams       = 1;
+
+%============
+%% RF System
+%============
+ifam = 'RF';
+AO.(ifam).FamilyName                = ifam;
+AO.(ifam).FamilyType                = 'RF';
+AO.(ifam).MemberOf                  = {'RF','RFSystem'};
+AO.(ifam).Status                    = 1;
+AO.(ifam).CommonNames               = 'RF';
+AO.(ifam).DeviceList                = [1 1];
+AO.(ifam).ElementList               = 1;
+AO.(ifam).DeviceName(:,:)           = {'BOO/RF/MasterClock/'};
+
+%Frequency Readback
+AO.(ifam).Monitor.Mode                = Mode;
+AO.(ifam).Monitor.DataType            = 'Scalar';
+AO.(ifam).Monitor.Units               = 'Hardware';
+AO.(ifam).Monitor.HW2PhysicsParams    = 1e+6;       %no hw2physics function necessary
+AO.(ifam).Monitor.Physics2HWParams    = 1e-6;
+AO.(ifam).Monitor.HWUnits             = 'MHz';
+AO.(ifam).Monitor.PhysicsUnits        = 'Hz';
+AO.(ifam).Monitor.TangoNames          = {'ANS/RF/MasterClock/frequency'};
+AO.(ifam).Monitor.Handles             = NaN;
+AO.(ifam).Monitor.Range               = [350e6 360e6];
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired  = AO.(ifam).Monitor;
+
+
+%=====================
+%% Gamma Monitors DOSE
+%====================
+ifam = ifam+1;
+AO.CIGdose.FamilyName                     = 'CIGdose';
+AO.CIGdose.FamilyType                     = 'Radioprotection';
+AO.CIGdose.MemberOf                       = {'Radioprotection','Archivable','Plotfamily'};
+AO.CIGdose.CommonNames                    = 'CIG';
+
+map = tango_get_db_property('anneau','gammamonitor_mapping');
+AO.CIGdose.DeviceName = map';
+
+AO.CIGdose.Monitor.Mode                   = Mode;
+AO.CIGdose.FamilyName                     = 'CIGdose';
+AO.CIGdose.Monitor.DataType               = 'Scalar';
+
+nb = length(AO.CIGdose.DeviceName); 
+AO.CIGdose.DeviceList                     = [ones(1,nb); (1:nb)]';
+AO.CIGdose.ElementList                    = (1:nb)';
+AO.CIGdose.Status                         = ones(nb,1);
+
+AO.CIGdose.Monitor.TangoNames            = strcat(AO.CIGdose.DeviceName,'/dose'); 
+
+;%afin de ne pas avoir de bug
+AO.CIGdose.Monitor.Units                  = 'Hardware';
+AO.CIGdose.Monitor.Handles                = NaN;
+AO.CIGdose.Monitor.HWUnits                = 'uGy';
+AO.CIGdose.Monitor.PhysicsUnits           = 'uGy';
+AO.CIGdose.Monitor.HW2PhysicsParams       = 1;
+AO.CIGdose.Monitor.Physics2HWParams       = 1;
+
+%=========================
+%% Gamma Monitors DOSErate
+%=========================
+
+ifam = ifam+1;
+
+AO.CIGrate = AO.CIGdose;
+AO.CIGrate.FamilyName                     = 'CIGrate';
+AO.CIGrate.CommonNames                    = 'CIGrate';
+AO.CIGrate.FamilyName                     = 'CIGrate';
+
+nb = length(AO.CIGrate.DeviceName); 
+AO.CIGrate.Status                         = ones(nb,1);
+
+AO.CIGrate.Monitor.TangoNames            = strcat(AO.CIGrate.DeviceName,'/doseRate'); 
+
+%afin de ne pas avoir de bug
+AO.CIG.Monitor.HWUnits                = 'uGy/h';
+AO.CIG.Monitor.PhysicsUnits           = 'uGy/h';
+
+%==================
+%Machine Parameters
+%==================
+AO.MachineParameters.FamilyName                = 'MachineParameters';
+AO.MachineParameters.FamilyType                = 'Parameter';
+AO.MachineParameters.MemberOf                  = {'Diagnostics'};
+AO.MachineParameters.Status                    = [1 1 1 1]';
+
+AO.MachineParameters.Monitor.Mode              = Mode;
+AO.MachineParameters.Monitor.DataType          = 'Scalar';
+AO.MachineParameters.Monitor.Units             = 'Hardware';
+
+%use spear2 process variable names
+mp={
+    'mode    '    'SPEAR:BeamStatus  '          [1 1]  1; ...
+    'energy  '    'SPEAR:Energy      '          [1 2]  2; ...
+    'current '    'SPEAR:BeamCurrAvg '          [1 3]  3; ...
+    'lifetime'    'SPEAR:BeamLifetime'          [1 4]  4; ...
+    };
+AO.MachineParameters.Monitor.HWUnits          = ' ';
+AO.MachineParameters.Monitor.PhysicsUnits     = ' ';
+
+AO.MachineParameters.Setpoint.HWUnits         = ' ';
+AO.MachineParameters.Setpoint.PhysicsUnits    = ' ';
+
+for ii=1:size(mp,1)
+    name  =mp(ii,1);    AO.MachineParameters.CommonNames(ii,:)            = char(name{1});
+    %     name  =mp(ii,2);    AO.MachineParameters.Monitor.ChannelNames(ii,:)   = char(name{1});
+    %     name  =mp(ii,2);    AO.MachineParameters.Setpoint.ChannelNames(ii,:)  = char(name{1});
+    val   =mp(ii,3);    AO.MachineParameters.DeviceList(ii,:)             = val{1};
+    val   =mp(ii,4);    AO.MachineParameters.ElementList(ii,:)            = val{1};
+
+    AO.MachineParameters.Monitor.HW2PhysicsParams(ii,:)    = 1;
+    AO.MachineParameters.Monitor.Physics2HWParams(ii,:)    = 1;
+    AO.MachineParameters.Monitor.Handles(ii,1)  = NaN;
+    AO.MachineParameters.Setpoint.HW2PhysicsParams(ii,:)   = 1;
+    AO.MachineParameters.Setpoint.Physics2HWParams(ii,:)   = 1;
+    AO.MachineParameters.Setpoint.Handles(ii,1)  = NaN;
+end
+
+% Save AO
+setao(AO);
+
+% The operational mode sets the path, filenames, and other important params
+% Run setoperationalmode after most of the AO is built so that the Units and Mode fields
+% can be set in setoperationalmode
+
+setoperationalmode(OperationalMode);
+
+%======================================================================
+%======================================================================
+%% Append Accelerator Toolbox information
+%======================================================================
+%======================================================================
+disp('** Initializing Accelerator Toolbox information');
+
+AT = getao;
+
+ATindx = atindex(THERING);  %structure with fields containing indices
+
+s = findspos(THERING,1:length(THERING)+1)';
+
+% % Horizontal BPMS
+% % WARNING: BPM1 is the one before the injection straigth section
+% %          since a cell begins from begin of Straigths
+% % CELL1 BPM1 to BPM7
+% ifam = ('BPMx');
+% AO.(ifam).AT.ATType  = ifam;
+% AO.(ifam).AT.ATIndex = ATindx.BPM(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+% 
+% % Vertical BPMS
+% ifam = ('BPMz');
+% AO.(ifam).AT.ATType  = ifam;
+% AO.(ifam).AT.ATIndex = ATindx.BPM(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);  
+% 
+% % SLOW HORIZONTAL CORRECTORS
+% ifam = ('HCOR');
+% AO.(ifam).AT.ATType  = ifam;
+% AO.(ifam).AT.ATIndex = ATindx.HCOR(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+% 
+% % SLOW VERTICAL CORRECTORS
+% ifam = ('VCOR');
+% AO.(ifam).AT.ATType  = ifam;
+% AO.(ifam).AT.ATIndex = ATindx.VCOR(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);  
+% 
+% %% BENDING magnets
+% ifam = ('BEND');
+% AO.(ifam).AT.ATType  = ifam;
+% AO.(ifam).AT.ATIndex = ATindx.BEND(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+% 
+% %% QF magnets
+% ifam = ('QF');
+% AO.(ifam).AT.ATType  = 'QUAD';
+% AO.(ifam).AT.ATIndex = ATindx.QPF(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+% AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K');
+% 
+% %% QD magnets
+% ifam = ('QD');
+% AO.(ifam).AT.ATType  = 'QUAD';
+% AO.(ifam).AT.ATIndex = ATindx.QPD(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+% AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K');
+% 
+% %% SF magnets
+% ifam = ('SF');
+% AO.(ifam).AT.ATType  = 'SEXT';
+% AO.(ifam).AT.ATIndex = ATindx.SXF(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+% AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K2');
+% 
+% %% SD magnets
+% ifam = ('SD');
+% AO.(ifam).AT.ATType  = 'SEXT';
+% AO.(ifam).AT.ATIndex = ATindx.SXD(:);
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+% AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'S');
+% 
+% % RF Cavity
+% ifam = ('RF');
+% AO.(ifam).AT.ATType = 'RF Cavity';
+% AO.(ifam).AT.ATIndex = findcells(THERING,'Frequency')';
+% AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+setao(AO);
+updateatindex;
+
+if iscontrolroom
+    switch2online;
+else
+    switch2sim;
+end
Index: /trunk/machine/SOLEIL/Booster/boostersetup.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/boostersetup.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/boostersetup.m	(revision 17)
@@ -0,0 +1,75 @@
+function Boostersetup
+%BoosterSETUP - GUI for doing Booster setup
+
+%
+% Written by Laurent S. Nadolski
+
+AD = getad;
+
+if isempty(AD) 
+    boosterinit;
+elseif ~strcmpi(AD.SubMachine,'Booster')
+    Boosterinit;
+end
+
+orbfig = findobj(allchild(0),'tag','Boostersetup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+orbfig = findobj(allchild(0),'tag','Boostersetup'); 
+
+
+kmax = 8; % button number
+
+height = 10 + kmax*30 + 30; %670;
+a = figure('Color',[0.8 0.8 0.8], ...
+    'Interruptible', 'on', ...   
+    'HandleVisibility','off', ...
+    'MenuBar','none', ...
+    'Name', 'Booster Command Launcher', ...
+    'NumberTitle','off', ...
+    'Units','pixels', ...
+    'Position',[5 70 210*3 height], ...
+    'Resize','off', ...
+    'Tag','Boostersetup');
+
+height = height - 35;
+
+for k = 1:kmax,
+    b1(k) = uicontrol('Parent',a, ...
+        'Position',[3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b2(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b3(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210*2 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+set(b1(1), 'Callback','disp([''   Boosterinit;'']); cd(getenv(''MLROOT'')); setpathsoleil(''Booster'');', 'String','Boosterinit');
+set(b1(2), 'Callback','disp([''   Fichiers de Consignes;'']); configgui;;', 'String','Fichiers de Consignes');
+set(b1(3), 'Callback','disp([''   Timing;'']); synchro_injecteur8_rafale;', 'String','Synchronisation');
+set(b1(4), 'Callback','save_boo', 'String','Fichier de consigne');
+set(b1(5), 'Callback','NombreOnde_AL_DCCT', 'String','Nombres d'' onde');
+set(b1(6), 'Callback','tune1', 'String','RÃ©glage injection');
+set(b1(7), 'Callback','tango_archiving_config', 'String','Archivage');
+set(b1(8), 'Callback','qart_inject', 'String','injection par quart');
+set(b2(1), 'Callback','bpmconfigurator;', 'String','Configuration BPM');
+set(b2(2), 'Callback','disp([''   orbitX_AT;'']); orbitX_AT;', 'String','orbitX');
+set(b2(3), 'Callback','disp([''   orbitZ_AT;'']); orbitZ_AT;', 'String','orbitZ');
+set(b2(4), 'Callback','anabpmfirstturn([],''NoDisplay'');', 'String','Orbite premier tour');
+set(b2(5), 'Callback','getbpmBN(''Injection'');', 'String','Orbite injection');
+set(b2(6), 'Callback','getbpmBN(''Extraction'');', 'String','Orbite extraction');
+set(b2(7), 'Callback','ACenergie1;', 'String','AC energie');
+set(b2(8), 'Callback','ACtune;', 'String','AC tune');
+
+set(b3(1), 'Callback','plotfamily', 'String','Plotfamily');
Index: /trunk/machine/SOLEIL/Booster/configBPMgui.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/configBPMgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/configBPMgui.m	(revision 17)
@@ -0,0 +1,394 @@
+function varargout = configBPMgui(varargin)
+% CONFIGBPMGUI M-file for configBPMgui.fig
+%      CONFIGBPMGUI, by itself, creates a new CONFIGBPMGUI or raises the existing
+%      singleton*.
+%
+%      H = CONFIGBPMGUI returns the handle to a new CONFIGBPMGUI or the handle to
+%      the existing singleton*.
+%
+%      CONFIGBPMGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in CONFIGBPMGUI.M with the given input arguments.
+%
+%      CONFIGBPMGUI('Property','Value',...) creates a new CONFIGBPMGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before configBPMgui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to configBPMgui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help configBPMgui
+
+% Last Modified by GUIDE v2.5 09-Sep-2005 17:57:20
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @configBPMgui_OpeningFcn, ...
+                   'gui_OutputFcn',  @configBPMgui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before configBPMgui is made visible.
+function configBPMgui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to configBPMgui (see VARARGIN)
+
+% Choose default command line output for configBPMgui
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes configBPMgui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = configBPMgui_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in checkbox_BPM1.
+function checkbox_BPM1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM1
+
+
+% --- Executes on button press in checkbox_BPM2.
+function checkbox_BPM2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM2
+
+
+% --- Executes on button press in checkbox_BPM3.
+function checkbox_BPM3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM3
+
+
+% --- Executes on button press in checkbox_BPM4.
+function checkbox_BPM4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM4
+
+
+% --- Executes on button press in checkbox_BPM5.
+function checkbox_BPM5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM5
+
+
+% --- Executes on button press in checkbox_BPM6.
+function checkbox_BPM6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM6
+
+
+% --- Executes on button press in BPM7_checkbox.
+function BPM7_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM7_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM7_checkbox
+
+
+% --- Executes on selection change in popupmenu_command.
+function popupmenu_command_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_command
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_command_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_command.
+function pushbutton_command_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in checkbox_selectall.
+function checkbox_selectall_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_selectall (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_selectall
+
+
+% --- Executes on button press in checkbox_selectnone.
+function checkbox_selectnone_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_selectnone (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_selectnone
+
+
+
+function edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit1 as text
+%        str2double(get(hObject,'String')) returns contents of edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_mode.
+function popupmenu_mode_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_mode contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_mode
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_mode_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_refresh.
+function pushbutton_refresh_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_refresh (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in checkbox_BPM12.
+function checkbox_BPM12_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM12
+
+
+% --- Executes on button press in checkbox_BPM13.
+function checkbox_BPM13_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM13
+
+
+% --- Executes on button press in checkbox_BPM14.
+function checkbox_BPM14_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM14
+
+
+% --- Executes on button press in checkbox_BPM15.
+function checkbox_BPM15_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM15
+
+
+% --- Executes on button press in checkbox_BPM16.
+function checkbox_BPM16_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM16
+
+
+% --- Executes on button press in checkbox15.
+function checkbox15_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox15
+
+
+% --- Executes on button press in checkbox16.
+function checkbox16_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox16
+
+
+% --- Executes on button press in checkbox_BPM7.
+function checkbox_BPM7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM7
+
+
+% --- Executes on button press in checkbox_BPM8.
+function checkbox_BPM8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM8
+
+
+% --- Executes on button press in checkbox_BPM9.
+function checkbox_BPM9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM9
+
+
+% --- Executes on button press in checkbox_BPM20.
+function checkbox_BPM20_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM20
+
+
+% --- Executes on button press in checkbox_BPM11.
+function checkbox_BPM11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM11
+
+
+% --- Executes on button press in checkbox_BPM18.
+function checkbox_BPM18_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM18
+
+
+% --- Executes on button press in checkbox_BPM19.
+function checkbox_BPM19_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM19
+
+
+% --- Executes on button press in checkbox_BPM20.
+function checkbox25_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM20
+
+
+% --- Executes on button press in checkbox_BPM21.
+function checkbox_BPM21_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM21
+
+
+% --- Executes on button press in checkbox_BPM22.
+function checkbox_BPM22_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BPM22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM22
+
+
Index: /trunk/machine/SOLEIL/Booster/getbpmBN.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/getbpmBN.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/getbpmBN.m	(revision 17)
@@ -0,0 +1,81 @@
+function [X Z] = getbpmBN(varargin)
+% GETBPMBN - get injection or extraction BPM in Booster normal mode
+%   
+%
+%  INPUTS
+%  1. Injection - Orbit at injection {Default}
+%     Extraction - Orbit at extraction
+%  2. Display - Displays orbit {Default}
+%     NoDisplay
+%
+%  OUTPUTS
+%  1. X - Horizontal orbit
+%  2. Z - Vertical orbit
+%
+%
+
+%
+%  Written By Laurent S. Nadolski
+
+
+InjectionFlag = 1;
+DisplayFlag = 1;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Injection')
+        InjectionFlag = 1;
+    elseif strcmpi(varargin{i},'Extraction')
+        InjectionFlag = 0;
+    end
+end
+
+
+if (InjectionFlag)
+    Rep = tango_read_attribute2('BOO/DG/BPM-MANAGER','xInj');
+    X = Rep.value;
+
+    Rep = tango_read_attribute2('BOO/DG/BPM-MANAGER','zInj');
+    Z = Rep.value;
+    stitle=('Booster orbit at injection');
+else
+    Rep = tango_read_attribute2('BOO/DG/BPM-MANAGER','xExt');
+    X = Rep.value;
+
+    Rep = tango_read_attribute2('BOO/DG/BPM-MANAGER','zExt');
+    Z = Rep.value;
+    stitle=('Booster orbit at extraction');
+end
+
+if DisplayFlag
+    figure(102);   
+    posvect = getspos('BPMx');
+    h1 = subplot(7,1,[1 3]);    
+    plot(posvect, X,'r.-');
+    grid on
+    ylabel('X (mm)');
+    axis([0 getcircumference -4 4]);
+    title(stitle);
+
+    h2 = subplot(7,1,4);
+    drawlattice; hold on;
+    set(h2,'XTick',[],'YTick',[]);
+    
+    h3 = subplot(7,1,[5 7]);
+    plot(posvect, Z,'b.-');
+    grid on       
+    xlabel('s (mm)')
+    ylabel('Z (mm)'); 
+
+    % links axes
+    linkaxes([h1 h2 h3],'x');  
+    addlabel(1,0,datestr(clock));
+        
+end
Index: /trunk/machine/SOLEIL/Booster/getmeanorbit.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/getmeanorbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/getmeanorbit.m	(revision 17)
@@ -0,0 +1,61 @@
+function [Xmean Zmean] = getmeanorbit(varargin)
+% GETMEANORBIT - Compute mean orbit using turn by turn data
+%
+%  INPUTS
+%  1.
+%
+%  OUPUTS
+%  1. Xmean - Mean horizontal orbit 
+%  2. Z mean - Mean vertical orbit
+%
+
+%
+%  Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+
+% Option parser
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+
+istart = 27;     % depart lecture BPM
+iend = 400;      % fin lecture BPM
+
+bpmdata  = getbpmrawdata([],'nodisplay','struct');
+
+Xmean = mean(bpmdata.Data.X(:,istart:iend)');
+Zmean = mean(bpmdata.Data.Z(:,istart:iend)');
+
+if DisplayFlag
+    figure(103);   
+    posvect = getspos('BPMx');
+    h1 = subplot(7,1,[1 3]);    
+    plot(posvect, Xmean,'r.-');
+    grid on
+    ylabel('X (mm)');
+    axis([0 getcircumference -11 11]);
+    title(['Mean orbit between ' num2str(istart) ' and ' num2str(iend) ' turns']);
+    ylim([-5 5])
+    
+    h2 = subplot(7,1,4);
+    drawlattice; hold on;
+    set(h2,'XTick',[],'YTick',[]);
+    
+    h3 = subplot(7,1,[5 7]);
+    plot(posvect, Zmean,'b.-');
+    grid on       
+    xlabel('s (mm)')
+    ylabel('Z (mm)'); 
+    ylim([-5 5])
+
+    % links axes
+    linkaxes([h1 h2 h3],'x');           
+end
Index: /trunk/machine/SOLEIL/Booster/getnu.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/getnu.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/getnu.m	(revision 17)
@@ -0,0 +1,25 @@
+function [tunex tunez] = getnu(ibpm1,ibpm2)
+
+istart=27;
+iend=istart+1*512+1;
+val =getbpmrawdata( [1 2] ,'nodisplay','struct');
+
+xt=val.Data.X(1,istart:iend);
+zt=val.Data.Z(2,istart:iend) ;
+
+nf=iend-istart+1;
+fx=fft(xt); px=fx.*conj(fx)/nf; xf=(1:nf)/nf;
+fz=fft(zt); pz=fz.*conj(fz)/nf; zf=(1:nf)/nf;
+tunex=find(px==max(px))/nf
+tunez=find(pz==max(pz))/nf
+
+figure(110)
+subplot(1,2,1)
+plot(xf(2:nf/2),px(2:nf/2)); 
+%ylim([0 1]);
+grid on
+subplot(1,2,2)
+plot(zf(2:nf/2),pz(2:nf/2))
+suptitle(['TuneX= ' num2str(tunex) '            TuneZ= ' num2str(tunez)]);
+grid on
+
Index: /trunk/machine/SOLEIL/Booster/getrframp.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/getrframp.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/getrframp.m	(revision 17)
@@ -0,0 +1,39 @@
+function rampe = getrampRF(varargin)
+% GETRFRAMP - Reads RF ramp for Booster ring
+%
+%  See Also setrframp
+
+%
+%  Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+devName = 'BOO/RF/SAO.1';
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+val = tango_get_properties2(devName,{'Channel0Waveform'});
+rampe = str2double(val.value);
+
+if DisplayFlag
+    figure
+    plot(rampe*100)
+    grid on
+    ylabel('RF voltage (kV)');
+    xlabel('Point number')
+    title('RF ramp')
+    addlabel(1,0,sprintf('%s', datestr(clock)));
+end
Index: /trunk/machine/SOLEIL/Booster/getrframp2.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/getrframp2.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/getrframp2.m	(revision 17)
@@ -0,0 +1,40 @@
+function rampe = getrampRF2(varargin)
+% GETRFRAMP2 - Reads RF ramp for Booster ring
+%
+%  See Also setrframp2
+
+%
+%  Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+devName = 'BOO/RF/RAMPETENSION'; % Device avec controle 1er point = dernier point
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+%val = tango_read_attribute2(devName,'waveformData');
+val = tango_read_attribute2(devName,'waveformData');
+rampe = val.value;
+
+if DisplayFlag
+    figure
+    plot(rampe*100)
+    grid on
+    ylabel('RF voltage (kV)');
+    xlabel('Point number')
+    title('RF ramp')
+    addlabel(1,0,sprintf('%s', datestr(clock)));
+end
Index: /trunk/machine/SOLEIL/Booster/gettrackingdata.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/gettrackingdata.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/gettrackingdata.m	(revision 17)
@@ -0,0 +1,79 @@
+function [D1 D2 QF QD itime] = gettrackingdata(varargin)
+% GETTRACKING - get measured current on D1 D2 QD and QF
+%
+%  INPUTS
+%
+%
+%  OUTPUTS
+%  1. D1 -  Measured current on Dipole D1  in A
+%  2. D2 -  Measured current on Dipole D2 in A
+%  3. QF -  Measured current on quadrupole QF in A
+%  4. QD -  Measured current on quadrupole QD in A
+%  5. itime - Time base in seconds
+%
+% NOTES
+% 1. Voltages are between -10 and 10 V and converted into amperes
+% 2/ time base is reconstruced by reading frequency and bufferdepth on
+% dserver tracking
+
+DisplayFlag = 1; 
+
+% Input parser
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+devName = 'BOO/AE/tracking';
+% use this function to assure synchronous reading
+val = tango_read_attributes(devName, ...
+    {'channel0','channel1','channel2','channel3','frequency','bufferDepth'});
+
+if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+end
+
+
+% Gets numerical values for current (it is a voltage with is read)
+% D.1 D.2 QF QD
+
+D1 = val(1).value*-56; % -55 A/V
+D2 = val(2).value*-56; % -55 A/V
+QF = val(3).value*-25; % -25 A/V
+QD = val(4).value*-25;  % -10 A/V
+
+freq       = val(5).value(1); % read value
+timeTot = val(6).value(1); % read value
+
+itime = 0:1/freq:timeTot;
+itime = itime(2:end);
+
+
+if DisplayFlag
+    subplot(2,1,1)
+    plot(itime,(D1+D2)/2,itime,QF,itime,QD);
+    grid on
+    legend('(D1+D2)/2','QF','QD')
+    xlabel('time (s)')
+%     xlim([0.03 0.05])
+    hold off
+    ylabel('normalized voltage (-10V to 10 V)')
+    title(['Dipole = ' num2str(max(D1+D2)/2) ' QF = ' num2str(max(QF)) ' QD = '  num2str(max(QD))])
+    subplot(2,1,2)
+    plot(itime,QD./((D1+D2)/2),itime,QF./((D1+D2)/2));
+    %hold off
+    xlim([0.0 0.03])
+    grid on
+    legend('QD/Dipole','QF/Dipole')
+    xlabel('time (s)')
+    ylabel('normalized voltage (-10V to 10 V)')
+       
+end
Index: /trunk/machine/SOLEIL/Booster/gettrackinghall.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/gettrackinghall.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/gettrackinghall.m	(revision 17)
@@ -0,0 +1,80 @@
+function [D QF QD itime] = gettrackinghall(varargin)
+% GETTRACKINGHALL - get B-field measured with hallprobe  for Dipole, QD and QF
+%
+%  INPUTS
+%
+%
+%  OUTPUTS
+%  1. D -  Measured current on Dipole Dipole  in au
+%  2. DF -  Measured current on Dipole QF in au
+%  3. QD -  Measured current on quadrupole QD in au
+%  4. itime - Time base in seconds
+%
+% NOTES
+% 1. Voltages are between -10 and 10 V and converted into amperes
+% 2/ time base is reconstruted by reading frequency and bufferdepth on
+% dserver tracking
+
+%
+% Written by Laurent S. Nadolski
+
+DisplayFlag = 1; 
+
+% Input parser
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+devName = 'BOO/AE/trackinghall';
+% use this function to assure synchronous reading
+val = tango_read_attributes(devName, ...
+    {'channel0','channel1','channel2','frequency','bufferDepth'});
+
+if (tango_error == -1)
+    %- handle error
+    tango_print_error_stack;
+    return
+end
+
+
+% Gets numerical values for current (it is a voltage with is read)
+% D QF QD
+
+D  = val(1).value; 
+QF = val(2).value;
+QD = val(3).value;
+
+freq       = val(4).value(1); % read value
+timeTot = val(5).value(1); % read value
+
+itime = 0:1/freq:timeTot;
+itime = itime(2:end);
+
+
+if DisplayFlag
+    subplot(2,1,1)
+    plot(itime,D,itime,QF,itime,QD);
+    grid on
+    legend('D','QF','QD')
+    xlabel('time (s)')
+%     xlim([0.03 0.05])
+    hold off
+    ylabel('u a')
+   % title(['Dipole = ' num2str(max(D1+D2)/2) ' QF = ' num2str(max(QF)) ' QD = '  num2str(max(QD))])
+    subplot(2,1,2)
+    plot(itime,QD./D,itime,QF./D);
+    %hold off
+    xlim([0.03 0.320])
+    grid on
+    legend('QD/Dipole','QF/Dipole')
+    xlabel('time (s)')
+    ylabel('normalized voltage (-10V to 10 V)')
+       
+end
Index: /trunk/machine/SOLEIL/Booster/magnetcoefficients4booster.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/magnetcoefficients4booster.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/magnetcoefficients4booster.m	(revision 17)
@@ -0,0 +1,207 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients4booster(MagnetCoreType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient dor converion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the magnet field
+%        based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.  
+% 
+% The amp2k and k2amp functions convert between the two types of units. 
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used. 
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used. 
+%
+% The A coefficients are direct from magnet measurements:
+%   (a7/I0)*I^8+(a6/I0)*I^7+(a5/I0)*I^6+(a4/I0)*I^5+(a3/I0)*I^4+(a2/I0)*I^3+(a1/I0)*I^2+a0*I = B*Leff or B'*Leff or B"*Leff
+%   A = [a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = [c8 c7 c6 c5 c4 c3 c2 c1 c0]
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10, 
+%                 QT, HCOR, VCOR, FHCOR, FVCOR 
+%
+% Leff is the effective length of the magnet
+
+%
+% Written by M. Yoon 4/8/03
+% Modified By Laurent Nadolski
+
+% NOTE: The skew quad magnets need to be updated
+% NOTE: The skew quad magnet is distributed on two types of core,
+%       therefore might need to pass in device list
+%       same could be true with quadshunt (current switched into many types of cores)
+% NOTE: All 'C' coefficients divided by Leff at bottom of program: C/Leff
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%%%%
+switch upper(deblank(MagnetCoreType))
+    
+    case 'BEND'    % 1052.43 mm 
+        i0= 525.0; % 525 A <--> (1.71 T) <--> 2.75 GeV
+        Leff=1.05243;
+        a7= 0.0;
+        a6=-0.0;
+        a5= 0.0;
+        a4=-0.0;
+        a3= 0.0;
+        a2=-0.0;
+        a1= 0.0;
+        a0= 1.71*Leff/i0;
+        
+        c8 = -a7/(i0^7);           %negative signs added for defocusing
+        c7 = -a6/(i0^6);
+        c6 = -a5/(i0^5);
+        c5 = -a4/(i0^4);
+        c4 = -a3/(i0^3);
+        c3 = -a2/(i0^2);
+        c2 =  a1/i0;
+        c1 =  a0;
+        c0 =  0.0;
+        MagnetType = 'BEND'; 
+                
+    case {'QF','QD'}   % 320 mm quadrupole
+        % Find the current from the given polynomial for B'Leff
+        Leff=0.320;
+        i0=  260;
+        a7=  0.0;
+        a6=  0.0;
+        a5=  0.0;
+        a4=  0.0;
+        a3=  0.0;
+        a2=  0.0;
+        a1=  0.0;
+        a0=  2.15*Leff*getbrho/i0; % K= 2.15 m-2 <--> 260 A 
+        
+        c8 = 0.0;
+        c7 = 0.0;
+        c6 = a5/(i0^5);
+        c5 = a4/(i0^4);
+        c4 = a3/(i0^3);
+        c3 = a2/(i0^2);
+        c2 = a1/i0;
+        c1 = a0;
+        c0 = 0.0;
+        MagnetType = 'quad';        
+        
+    case {'SF','SD'}    % 160 mm focusing sextupole
+    % Find the current from the given polynomial for B''Leff
+        a7=  0.0;
+        a6=  0.0;
+        a5= -0.0;
+        a4=  0.0;
+        a3= -0.0;
+        a2=  0.0;
+        a1=  0.0;
+        a0=  4.1327e+06;
+        i0=  100.0;
+
+        c8 = 0.0;
+        c7 = 0.0;
+        c6 = a5/(i0^5);
+        c5 = a4/(i0^4);
+        c4 = a3/(i0^3);
+        c3 = a2/(i0^2);
+        c2 = a1/i0;
+        c1 = a0;
+        c0 = 0.0;
+        MagnetType = 'sext';
+        Leff=0.160;
+                    
+    case {'HCOR'}    % 16 cm horizontal corrector
+        % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+        % Theta = BLeff / Brho    [radians]
+        % Therefore,
+        %       Theta = ((BLeff/Amp)/ Brho) * I 
+        %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+        %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+        %
+        % The C coefficients are w.r.t B
+        %       B = c0 + c1*I = (0 + a0*I)/Leff 
+        % However, AT uses Theta in radians so the A coefficients  
+        % must be used for correctors with the middle layer with 
+        % the addition of the DC term
+        
+        % Find the current from the given polynomial for BLeff and B
+        % NOTE: AT used BLeff (A) for correctors
+        Leff = .16;
+        imax = 10;
+        cormax = 0.8e-3 ; % 0.8 mrad for imax = 10 A
+        MagnetType = 'COR';       
+        A = [0 cormax*getbrho(2.75)/imax]; 
+        C = [0 A 0] / Leff;
+        return
+        
+    case {'VCOR'}    % 16 cm vertical corrector
+        % Find the current from the given polynomial for BLeff and B
+        Leff = .16;
+        imax = 10;
+        cormax = 0.8e-3 ; % 0.8 mrad for imax = 10 A
+        MagnetType = 'COR';       
+        A = [0 cormax*getbrho(2.75)/imax]; 
+        C = [0 A 0] / Leff;
+        return
+    
+otherwise 
+        error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+        %k = 0;
+        %MagnetType = '';
+        %return
+end
+
+A = [a7 a6 a5 a4 a3 a2 a1 a0];
+C = [c8 c7 c6 c5 c4 c3 c2 c1 c0] / Leff;
+
+MagnetType = upper(MagnetType);
+
+
+% Power Series Denominator (Factoral) be AT compatible
+if strcmpi(MagnetType,'SEXT')
+    C = C / 2;
+end
Index: /trunk/machine/SOLEIL/Booster/meas_chro_boo.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/meas_chro_boo.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/meas_chro_boo.m	(revision 17)
@@ -0,0 +1,17 @@
+
+%%
+figure
+ploteta
+subplot(5,1,[1 2])
+hold on
+plot(getspos('BPMx'),-(X4-X5)/(352.220-352.180)*352.200/3e-2/1e6,'.r')
+subplot(5,1,[4 5])
+hold on
+plot(getspos('BPMx'),-(Z4-Z5)/(352.220-352.180)*352.200/3e-2/1e6,'.-b')
+ylim([-0.1 0.1])
+
+%%
+figure
+hold
+plot(Z5,'r')
+
Index: /trunk/machine/SOLEIL/Booster/ramprf.txt
===================================================================
--- /trunk/machine/SOLEIL/Booster/ramprf.txt	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/ramprf.txt	(revision 17)
@@ -0,0 +1,100 @@
+         0
+         0
+         0
+         0
+         0
+         0
+         0
+         0
+         0
+         0
+    0.0001
+    0.0152
+    0.0554
+    0.1204
+    0.2098
+    0.3231
+    0.4595
+    0.6182
+    0.7982
+    0.9983
+    1.2173
+    1.4539
+    1.7064
+    1.9733
+    2.2531
+    2.5439
+    2.8437
+    3.1509
+    3.4636
+    3.7795
+    4.0968
+    4.4136
+    4.7277
+    5.0373
+    5.3403
+    5.6349
+    5.9193
+    6.1916
+    6.4503
+    6.6933
+    6.9195
+    7.1273
+    7.3155
+    7.4829
+    7.6283
+    7.7509
+    7.8499
+    7.9248
+    7.9748
+    8.0000
+    8.0000
+    7.9748
+    7.9248
+    7.8499
+    7.7509
+    7.6283
+    7.4829
+    7.3155
+    7.1273
+    6.9196
+    6.6933
+    6.4503
+    6.1917
+    5.9193
+    5.6351
+    5.3404
+    5.0373
+    4.7277
+    4.4136
+    4.0968
+    3.7795
+    3.4636
+    3.1509
+    2.8437
+    2.5439
+    2.2531
+    1.9733
+    1.7064
+    1.4539
+    1.2173
+    0.9983
+    0.7982
+    0.6182
+    0.4595
+    0.3231
+    0.2098
+    0.1204
+    0.0554
+    0.0152
+    0.0001
+         0
+         0
+         0
+         0
+         0
+         0
+         0
+         0
+         0
+         0
Index: /trunk/machine/SOLEIL/Booster/readbpm.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/readbpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/readbpm.m	(revision 17)
@@ -0,0 +1,85 @@
+function [X Z Q Sum Va Vb Vc Vd] = readbpm(varargin)
+% READBPM - Gets turn by turn sample data for one BPM 
+%
+%  INPUTS
+%  1. num - bpm number 
+%  Optionnal
+%  Display/NoDisplay
+%
+%  OUTPUTS
+%  1. X - Horizontal data
+%  2. Z - Vertical data
+%  3. Q - Quadrupole signal data
+%  4. Sum - Sum signal data
+%  5. Va electrode data
+%  6. Vb electrode data
+%  7. Vc electrode data
+%  8. Vd electrode data
+% 
+%
+% See Also getbpmrawdata
+
+%
+%  Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+if isempty(varargin)
+   error('Give a BPM number') 
+else
+    num = varargin{1};
+end
+
+AO=getao;
+
+attr_name = ...
+   {'XPosVector','ZPosVector', 'QuadVector', 'SumVector', ...
+    'VaVector', 'VbVector', 'VcVector', 'VdVector'};
+
+rep = tango_read_attributes(AO.BPMx.DeviceName{num},attr_name);
+
+X   = rep(1).value;
+Z   = rep(2).value;
+Q   = rep(3).value;
+Sum = rep(4).value;
+Va  = rep(5).value;
+Vb  = rep(6).value;
+Vc  = rep(7).value;
+Vd  = rep(8).value;
+
+if DisplayFlag
+
+    subplot(2,2,1)
+    plot(X)
+    ylabel('X (mm)')
+    grid on
+
+    subplot(2,2,2)
+    plot(Z)
+    ylabel('Z (mm)')
+    grid on
+
+    subplot(2,2,3)
+    plot(Sum)
+    ylabel('SUM')
+    xlabel('turn number')
+    grid on
+
+    subplot(2,2,4)
+    plot(Q)
+    ylabel('Q')
+    xlabel('turn number')
+    grid on
+
+    suptitle(sprintf('Turn by turn data for %s',AO.BPMx.DeviceName{num}))
+end
Index: /trunk/machine/SOLEIL/Booster/readbpm.m_netacquire
===================================================================
--- /trunk/machine/SOLEIL/Booster/readbpm.m_netacquire	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/readbpm.m_netacquire	(revision 17)
@@ -0,0 +1,92 @@
+% function  [X Z Sum Q Va Vb Vc Vd] = readonebpm(num,pathName,Mode) 
+num = 1; % BPM number
+% Read data
+pathName = '/home/operateur/temp/';
+filename = [pathName num 'P3.raw'];
+fid = fopen(filename,'r')
+data = fscanf(fid,'%d %d %d %d %d %d %d %d',[8,Inf]);
+fclose(fid)
+
+switch Mode
+    case 'NoRaw'
+% Mode No raw data
+Va =data(1,:); 
+Vb =data(2,:); 
+Vc =data(3,:); 
+Vd =data(4,:); 
+X  = 2.1*data(5,:)*1e-6; 
+Z  = 2.1*data(6,:)*1e-6; 
+Q  = 2.1*data(7,:)*1e-6; 
+Sum=data(8,:);
+
+Va+Vb+Vc+Vd-Sum
+
+21*(Va+Vc-Vb-Vd)./Sum-Q
+
+21*(Va-Vb+Vd-Vc)./Sum-X
+21*(Va+Vb-Vd-Vc)./Sum-Z
+ 
+    case 'Raw'
+% MOde raw data
+cosVa = data(1,:);
+sinVa = data(2,:);
+cosVb = data(3,:);
+sinVb = data(4,:);
+cosVc = data(5,:);
+sinVc = data(6,:);
+cosVd = data(7,:);
+sinVd = data(8,:);
+
+Va = sqrt(cosVa.*cosVa+sinVa.*sinVa);
+Vb = sqrt(cosVb.*cosVb+sinVb.*sinVb);
+Vc = sqrt(cosVc.*cosVc+sinVc.*sinVc);
+Vd = sqrt(cosVd.*cosVd+sinVd.*sinVd);
+
+Kx = 21; Kz = 21;
+Sum = Va + Vb + Vc + Vd;
+X = Kx*(Va + Vd - Vc - Vb)./Sum;
+Z = Kz*(Va + Vb - Vc - Vd)./Sum;
+Q = Kx*(Va + Vc - Vb - Vd)./Sum;
+
+end
+
+% ./net-acquire  -a 0,1,0,1,0,1,0,1 172.17.15.151  23271 16 -s 3
+AO=getao;
+AO.BPMx.DeviceName;
+
+num = 6;
+rep = tango_read_attribute2(AO.BPMx.DeviceName{num},'XPosVector');
+X = rep.value;
+rep =tango_read_attribute2(AO.BPMx.DeviceName{num},'ZPosVector');
+Z = rep.value;
+
+rep =tango_read_attribute2(AO.BPMx.DeviceName{num},'QuadVector');
+Q = rep.value;
+
+rep =tango_read_attribute2(AO.BPMx.DeviceName{num},'SumVector');
+Sum = rep.value;
+
+subplot(2,2,1)
+plot(X)
+ylabel('X')
+subplot(2,2,2)
+plot(Z)
+ylabel('Z')
+subplot(2,2,3)
+plot(Sum)
+ylabel('SUM')
+subplot(2,2,4)
+plot(Q)
+ylabel('Q')
+
+
+%% init sur BPM
+
+devName=getfamilydata('BPMx','DeviceName');
+
+tango_command_inout2(devName{17},'Init');
+
+for k=1:length(devName)
+    tango_command_inout2(devName{k},'Init');
+end
+
Index: /trunk/machine/SOLEIL/Booster/readramp3Hz.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/readramp3Hz.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/readramp3Hz.m	(revision 17)
@@ -0,0 +1,59 @@
+function ramp = readramp3Hz(varargin)
+%READRAMP3HZ - Read a binary ramp input file for SLS 3Hz Powersupplies
+% 
+% INPUTS
+% 1. Filename {optional}
+% 
+% OUPUTS
+% 1. Ramp - Booster ramp read from binary file 
+%
+% See also write_ramp3Hz
+
+%
+% Written by Laurent S. Nadolski
+
+%% Default flags
+DisplayFlag = 1;
+AbcissaUnit = 80; % 80us - range from 80us upto 100ms
+
+% Parse input options
+InputFlags = {};
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+if isempty(varargin)
+    [filename, pathname] = uigetfile({'*.bin'}, 'Pick a file');
+    filename = [pathname filename];
+else
+    filename= varargin{1};
+    if ~exist(filename,'file')
+        error('Filename does not exist')
+    end
+end
+
+fid = fopen(filename, 'r');
+
+%Lit l'entete de 4 octets : nombre de points
+entete = fread(fid,1,'int32=>int32');
+%% 12500 points (50 000 octets) : 4 octets en virgule flotante
+ramp = fread(fid,12500,'float32=>float32');
+%% 4 octets de fin de fichiers
+fin  = fread(fid,'float32=>float32');
+fclose(fid);
+
+x = (0:12499)*AbcissaUnit*1e-6;
+
+if (DisplayFlag)
+    plot(x,ramp)
+    grid on
+    title('Rampe Booster')
+    xlabel('Time (s)')
+    ylabel('Amplitude')
+end
Index: /trunk/machine/SOLEIL/Booster/setoperationalmode.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/setoperationalmode.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/setoperationalmode.m	(revision 17)
@@ -0,0 +1,196 @@
+function setoperationalmode(ModeNumber)
+%SETOPERATIONALMODE - Switches between the various operational modes
+%  setoperationalmode(ModeNumber)
+%
+%  INPUTS
+%  1. ModeNumber = 1. 2.7391 GeV, multibunch
+%
+%                100. Laurent's Mode
+%
+%  See also aoinit, updateatindex, LT1init
+
+%
+% Written by Laurent S. Nadolski
+
+global THERING
+
+% Check if the AO exists
+checkforao;
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Dependent Modes %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if nargin < 1
+    ModeNumber = [];
+end
+if isempty(ModeNumber)
+    ModeCell = {'2.7391 GeV, multibunch',  ...
+        'Laurent''s Mode'};
+    [ModeNumber, OKFlag] = listdlg('Name','SOLEIL','PromptString','Select the Operational Mode:', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [450 200]);
+    if OKFlag ~= 1
+        fprintf('   Operational mode not changed\n');
+        return
+    elseif ModeNumber == 2
+        ModeNumber = 100;  % Laurent
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Data Structure %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+AD = getad;
+AD.Machine = 'SOLEIL';            % Will already be defined if setpathmml was used
+AD.MachineType = 'StorageRing';   % Will already be defined if setpathmml was used
+AD.SubMachine  = 'Booster';       % Will already be defined if setpathmml was used
+AD.OperationalMode = '';          % Gets filled in later
+
+
+% Tune processor delay: delay required to wait
+% to have a fresh tune measurement after changing
+% a variable like the RF frequency.  Setpv will wait
+% 2.2 * TuneDelay to be guaranteed a fresh data point.
+AD.BPMDelay  = 0.25; % use [N, BPMDelay]=getbpmsaverages (AD.BPMDelay will disappear)
+AD.TuneDelay = 0.1;
+
+
+% SP-AM Error level
+% AD.ErrorWarningLevel = 0 -> SP-AM errors are Matlab errors {Default}
+%                       -1 -> SP-AM errors are Matlab warnings
+%                       -2 -> SP-AM errors prompt a dialog box
+%                       -3 -> SP-AM errors are ignored (ErrorFlag=-1 is returned)
+AD.ErrorWarningLevel = 0;
+
+%%%%%%%%%%%%%%%%%%%%%
+% Operational Modes %
+%%%%%%%%%%%%%%%%%%%%%
+
+% Mode setup variables (mostly path and file names)
+% AD.OperationalMode - String used in titles
+% ModeName - String used for mode directory name off DataRoot/MachineName
+% OpsFileExtension - string add to default file names
+
+if ModeNumber == 1
+    % Booster Nominal Lattice
+    AD.OperationalMode = '2.7391 GeV, multibunch';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'boosterreal';
+    OpsFileExtension = '_boosterreal';
+
+    % AT lattice
+    %AD.ATModel       = 'boostersteerer'; % lattice file
+    AD.ATModel = 'boosterreal';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    switch2hw;
+    
+elseif ModeNumber == 100
+    % User mode - High Tune, Top Off injection
+    error('To be completed');    
+
+else
+    error('Operational mode unknown');
+end
+
+
+
+% Set the AD directory path
+setad(AD);
+MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension);
+MMLDATAROOT = getmmldataroot;
+AD = getad;
+
+% SOLEIL specific path changes
+
+ % Top Level Directories
+
+AD.Directory.DataRoot       = fullfile(MMLDATAROOT, 'measdata', 'SOLEIL', 'Boosterdata', filesep);
+AD.Directory.OpsData        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'BoosterOpsData', filesep);
+AD.Directory.Lattice        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'Booster', 'Lattices', filesep);
+AD.Directory.Orbit          = fullfile(MMLROOT, 'applications', 'orbit', filesep);
+
+% Data Archive Directories
+AD.Directory.BPMData        = fullfile(AD.Directory.DataRoot, 'BPM', filesep);
+AD.Directory.TuneData       = fullfile(AD.Directory.DataRoot, 'Tune', filesep);
+AD.Directory.ChroData       = fullfile(AD.Directory.DataRoot, 'Chromaticity', filesep);
+AD.Directory.DispData       = fullfile(AD.Directory.DataRoot, 'Dispersion', filesep);
+AD.Directory.ConfigData     = fullfile(MMLROOT, 'machine', 'SOLEIL', 'Booster', 'MachineConfig', filesep);
+AD.Directory.BumpData       = fullfile(AD.Directory.DataRoot, 'Bumps', filesep);
+AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, 'ArchivingData', filesep);
+AD.Directory.TurnByTurnTune = fullfile(AD.Directory.DataRoot, 'BPM', 'turnbyturntune');
+AD.Directory.Synchro        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'common', 'synchro', filesep);
+
+% STANDALONE matlab applications
+AD.Directory.Standalone     = fullfile(MMLROOT, 'machine', 'SOLEIL', 'standalone_applications', filesep);
+
+% quick fix (dixit Alex)
+AD.Directory.Timing         = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1', 'LT1data', 'Timing', filesep);
+
+%Response Matrix Directories
+AD.Directory.BPMResponse    = fullfile(AD.Directory.DataRoot, 'Response', 'BPM', filesep);
+AD.Directory.TuneResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Tune', filesep);
+AD.Directory.ChroResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Chrom', filesep);
+AD.Directory.DispResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Disp', filesep);
+
+%Default Data File Prefix
+AD.Default.BPMArchiveFile   = 'BPM';                %file in AD.Directory.BPM               orbit data
+AD.Default.TuneArchiveFile  = 'Tune';               %file in AD.Directory.Tune              tune data
+AD.Default.ChroArchiveFile  = 'Chro';               %file in AD.Directory.Chromaticity       chromaticity data
+AD.Default.DispArchiveFile  = 'Disp';               %file in AD.Directory.Dispersion       dispersion data
+AD.Default.CNFArchiveFile   = 'CNF';                %file in AD.Directory.CNF               configuration data
+AD.Default.QUADArchiveFile  = 'QuadBeta';           %file in AD.Directory.QUAD             betafunction for quadrupoles   
+
+%Default Response Matrix File Prefix
+AD.Default.BPMRespFile      = 'BPMRespMat';         %file in AD.Directory.BPMResponse       BPM response matrices
+AD.Default.TuneRespFile     = 'TuneRespMat';        %file in AD.Directory.TuneResponse      tune response matrices
+AD.Default.ChroRespFile     = 'ChroRespMat';        %file in AD.Directory.ChroResponse      chromaticity response matrices
+AD.Default.DispRespFile     = 'DispRespMat';        %file in AD.Directory.DispResponse      dispersion response matrices
+
+%Operational Files
+AD.OpsData.LatticeFile       = 'GoldenLattice';     %Golden Lattice File (setup for users)
+AD.OpsData.PhysDataFile      = 'GoldenPhysData';
+%AD.OpsData.BPMGoldenFile     = 'GoldenBPMOrbit';
+%AD.OpsData.BPMOffsetFile     = 'OffsetBPMOrbit';
+AD.OpsData.BPMSigmaFile      = 'BPMSigma';
+%AD.OpsData.TuneFile          = 'GoldenTune';
+%AD.OpsData.ChroFile          = 'GoldenChro';
+%AD.OpsData.DispFile          = 'GoldenDisp';
+
+%Operational Response Files
+AD.OpsData.BPMRespFile       = 'GoldenBPMResp';     
+AD.OpsData.TuneRespFile      = 'GoldenTuneResp';    
+AD.OpsData.ChroRespFile      = 'GoldenChroResp'; 
+AD.OpsData.DispRespFile      = 'GoldenDispResp';
+AD.OpsData.RespFiles         = {AD.OpsData.BPMRespFile,  ...
+                                AD.OpsData.TuneRespFile, ...
+                                AD.OpsData.ChroRespFile, ...
+                                AD.OpsData.DispRespFile};
+
+% Circumference
+AD.Circumference = findspos(THERING,length(THERING)+1);
+setad(AD);
+
+% Updates the AT indices in the MiddleLayer with the present AT lattice
+updateatindex;
+
+% Set the model energy
+setenergymodel(AD.Energy);
+
+
+% Momentum compaction factor
+MCF = getmcf('Model');
+if isnan(MCF)
+    AD.MCF = 0.0150;  
+    fprintf('   Model alpha calculation failed, middlelayer alpha set to  %f\n', AD.MCF);
+else
+    AD.MCF = MCF;
+    fprintf('   Middlelayer alpha set to %f (AT model).\n', AD.MCF);
+end
+setad(AD);
+
+
+fprintf('   lattice files have changed or if the AT lattice has changed.\n');
+fprintf('   Middlelayer setup for operational mode: %s\n', AD.OperationalMode);
+
+setad(orderfields(AD));
Index: /trunk/machine/SOLEIL/Booster/setrframp.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/setrframp.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/setrframp.m	(revision 17)
@@ -0,0 +1,90 @@
+function setrampRF(varargin)
+% SETRFRAMP - Loads a new AC ramp the the RF voltage
+%
+%  INPUTS
+%  1. AC ramp maximum between 0 and 5 in kV
+%        0 means 0 kV
+%        5 means mean 500 kV at maximum 
+%
+%  NOTES
+%  1. do not forget the DC value which is added
+%
+%
+%  See Also getrframp
+
+%
+%  Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+devName = 'BOO/RF/SAO.1';
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+if isempty(varargin)
+    disp('Missing factor exiting ...')
+    return;
+else
+    factor = varargin{1};
+    if factor > 8
+        error('Too large')
+    end
+end
+
+rampe = getrframp('NoDisplay');
+
+figure
+
+plot(rampe*100)
+
+%rampe2 = rampe/2;
+rampe2= rampe/max(rampe)*factor;
+
+hold on
+plot(rampe2*100,'r.')
+hold off
+legend('Old RF voltage Ramp','New RF voltage ramp')
+grid on
+ylabel('RF voltage (kV)');
+title('RF ramp')
+addlabel(1,0,sprintf('%s', datestr(clock)));
+
+
+reply = input('Do you want to apply this ramp? Y/N [N]: ','s');
+
+if isempty(reply)
+    reply = 'N';
+end
+
+switch reply
+    case 'Y'    
+        % build the property
+        prop.name = 'Channel0WaveForm';
+        prop.value = {num2str(rampe2)};
+
+        for k=1:100
+            prop.value{k} = num2str(rampe2(k));
+        end
+
+        % write the new ramp
+        tango_command_inout2(devName, 'Stop');
+        tango_put_properties2(devName,prop)
+        tango_command_inout2(devName, 'Init');
+        tango_command_inout2(devName, 'Start');
+        
+    otherwise
+        disp('Ramp not applied')
+end
Index: /trunk/machine/SOLEIL/Booster/setrframp2.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/setrframp2.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/setrframp2.m	(revision 17)
@@ -0,0 +1,86 @@
+function setrframp2(varargin)
+% SETRFRAMP2 - Loads a new AC ramp the the RF voltage
+%
+%  INPUTS
+%  1. AC ramp maximum between 0 and 5 in kV
+%        0 means 0 kV
+%        5 means mean 500 kV at maximum 
+%
+%  NOTES
+%  1. do not forget the DC value which is added
+%
+%
+%  See Also getrframp2
+
+%
+%  Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+devName = 'BOO/RF/RAMPETENSION'; % Device avec controle 1er point = dernier point + refus ecrire Tension superieur Ã  8 kV
+
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+if isempty(varargin)
+    disp('Missing factor exiting ...')
+    return;
+else
+    factor = varargin{1};
+    if factor > 10
+        error('Too large')
+    end
+end
+
+rampe = getrframp('NoDisplay');
+
+figure
+
+plot(rampe*100)
+
+%rampe2 = rampe/2;
+rampe2= rampe/max(rampe)*factor;
+
+hold on
+plot(rampe2*100,'r.')
+hold off
+legend('Old RF voltage Ramp','New RF voltage ramp')
+grid on
+ylabel('RF voltage (kV)');
+title('RF ramp')
+addlabel(1,0,sprintf('%s', datestr(clock)));
+
+
+reply = input('Do you want to apply this ramp? Y/N [N]: ','s');
+
+if isempty(reply)
+    reply = 'N';
+end
+
+switch reply
+    case 'Y'    
+        % write the new ramp
+        %tango_command_inout2(devName, 'Stop');
+        tango_write_attribute2(devName,'waveformData',rampe2)
+        tango_command_inout2(devName, 'Start');
+    otherwise
+        disp('Ramp not applied')
+end
+
+% devName = 'BOO/RF/SAO.1';
+% carg.dvalue=rampe
+% carg.svalue={'0'}
+% tango_command_inout(devName,'SetAOScaledData',carg)
Index: /trunk/machine/SOLEIL/Booster/updateatindex.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/updateatindex.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/updateatindex.m	(revision 17)
@@ -0,0 +1,130 @@
+function updateatindex
+%UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)
+
+%
+% Adapted by Laurent S. Nadolski
+
+global THERING
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Append Accelerator Toolbox information %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Since changes in the AT model could change the AT indexes, etc,
+% It's best to regenerate all the model indices whenever a model is loaded
+
+% Sort by family first (findcells is linear and slow)
+Indices = atindex(THERING);
+
+AO = getao;
+
+% BPMS
+try
+    ifam = 'BPMx';
+    AO.(ifam).AT.ATType = 'X';
+    AO.(ifam).AT.ATIndex = Indices.BPM(:); % findcells(THERING,'FamName','BPM')';
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+
+    ifam = 'BPMz';
+    AO.(ifam).AT.ATType = 'Z';
+    AO.(ifam).AT.ATIndex = Indices.BPM(:); % findcells(THERING,'FamName','BPM')';
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+catch
+    warning('BPM family not found in the model.');
+end
+
+% CORRECTORS
+try
+    %% HORIZONTAL CORRECTORS
+    ifam = 'HCOR';
+    AO.(ifam).AT.ATType  = ifam;
+    AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+
+    %% VERTICAL CORRECTORS
+    ifam = 'VCOR';
+    AO.(ifam).AT.ATType  = ifam;
+    AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+catch
+    warning('Corrector family not found in the model.');
+end
+
+
+% QUADRUPOLES
+try
+    ifam = 'QF';
+    AO.(ifam).AT.ATType  = 'QUAD';
+    AO.(ifam).AT.ATIndex = Indices.QPF(:);
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex);
+    AO.(ifam).AT.ATParameterGroup{1} = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K');
+
+    ifam = 'QD';
+    AO.(ifam).AT.ATType  = 'QUAD';
+    AO.(ifam).AT.ATIndex = Indices.QPD(:);
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex);
+    AO.(ifam).AT.ATParameterGroup{1} = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K');
+catch
+    warning('%s family not found in the model.',ifam);
+end
+
+% SEXTUPOLES
+try
+    ifam = 'SF';
+    AO.(ifam).AT.ATType  = 'SEXT';
+    AO.(ifam).AT.ATIndex = Indices.SXF(:);
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex);
+    AO.(ifam).AT.ATParameterGroup{1} = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K2');
+
+    ifam = 'SD';
+    AO.(ifam).AT.ATType  = 'SEXT';
+    AO.(ifam).AT.ATIndex = Indices.SXD(:);
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex);
+    AO.(ifam).AT.ATParameterGroup{1} = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'S');
+catch
+    warning('%s family not found in the model.', ifam);
+end
+
+
+% BEND
+
+try
+    ifam = 'BEND';
+    AO.(ifam).AT.ATType  = ifam;
+    ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, sort(ATIndex));
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+catch
+    warning('BEND family not found in the model.');
+end
+
+% RF CAVITY
+try
+    AO.RF.AT.ATType = 'RF Cavity';
+    AO.RF.AT.ATIndex = findcells(THERING,'Frequency')';
+    AO.RF.Position = findspos(THERING, AO.RF.AT.ATIndex(:,1))';
+catch
+    warning('RF cavity not found in the model.');
+end
+
+setao(AO);
+
+% Set TwissData at the start of TL1
+try
+    %warning('to be completed by Alex');
+    % BTS twiss parameters at the input
+    TwissData.alpha = [0 0]';
+    TwissData.beta  = [13.8467 2.2582]';
+    TwissData.mu    = [0 0]';
+    TwissData.ClosedOrbit = [0 0 0 0]';
+    TwissData.dP = 0;
+    TwissData.dL = 0;
+    TwissData.Dispersion  = [.06 0 0 0]';
+
+    setpvmodel('TwissData', '', TwissData);  % Same as, THERING{1}.TwissData = TwissData;
+
+catch
+    warning('Setting the twiss data parameters in the MML failed.');
+end
Index: /trunk/machine/SOLEIL/Booster/writeramp3Hz.m
===================================================================
--- /trunk/machine/SOLEIL/Booster/writeramp3Hz.m	(revision 17)
+++ /trunk/machine/SOLEIL/Booster/writeramp3Hz.m	(revision 17)
@@ -0,0 +1,56 @@
+function writeramp3Hz(varargin)
+%WRITERAMP3HZ - Write a binary ramp input file for SLS 3Hz Powersupplies
+% 
+% INPUTS
+% 1. ramp - 1D numeric ramp 
+% 2. Filename {optional}
+% 
+% OUPUTS
+% 
+% NOTES
+% 1. Time vector is not specified for it is a Tango property of 3Hz
+% powersupply dserver
+%
+% See also read_ramp3Hz
+
+%
+% Written by Laurent S. Nadolski
+
+%
+% TODO: directory to saved data
+
+% % Exemple de rampe de nb points
+% nb = 5000;
+% data1=zeros(1,12500);
+% t=(0:nb-1)/nb;
+% data1(1,1:nb) = cos(pi*(t-1/2)).*cos(2*pi*(t-1/4));
+
+if isempty(varargin)
+  error('Missing argument');
+end
+
+data1 = varargin{1};
+varargin{1} = [];
+
+if isempty(varargin)
+    [filename, pathname] = uigetfile({'*.bin'}, 'Saved file');
+    filename = [pathname filename];
+else
+    filename= varargin{2};
+    if ~exist(filename,'file')
+        error('Filename does not exist')
+    end
+end
+
+fid = fopen(filename, 'wb');
+%Nombre de points utilisé dans la rampe
+% 'A0 0F 00 00'
+fwrite(fid, hex2dec('A00F0000'),'uint32','b');
+%fwrite(fid, int32(4000),'int32');
+%% 12500 points (50000 octets) : 4 octets en virgule flotante
+fwrite(fid, data1,'float32');
+%% 4 octets de fin de fichiers
+% 'FF FF FF FF'
+%fwrite(fid, int64(4.294967295000000e+09),'uint32');
+fwrite(fid, hex2dec('FFFFFFFF'),'uint32','b');
+fclose(fid);
Index: /trunk/machine/SOLEIL/CommunHyperion/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/CommunHyperion/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/CommunHyperion/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+*.m~
Index: /trunk/machine/SOLEIL/CommunHyperion/StorageRingDvptData/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/CommunHyperion/StorageRingDvptData/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/CommunHyperion/StorageRingDvptData/.cvsignore	(revision 17)
@@ -0,0 +1,9 @@
+alpha_over_10_MAHER_auto
+lat_2020_3170e
+alphaby10_AMOR_new_mod_nov10_lin_auto_0.m
+magnetcoefficients_new_calib_new_modele_low_alpha_oct2010_auto1.m
+alphaby10_nouveau_modele_dec08_opt_lin_1.m
+alphaby10_maher_opt_lin_1_auto.m
+setoperationalmode_old.m
+magnetcoefficients_new_calib_new_modele_low_alpha_oct2010.m
+magnetcoefficients_new_calib_new_mod_low_alpha_AMOR_oct10.m
Index: /trunk/machine/SOLEIL/CommunHyperion/gotocommun.m
===================================================================
--- /trunk/machine/SOLEIL/CommunHyperion/gotocommun.m	(revision 17)
+++ /trunk/machine/SOLEIL/CommunHyperion/gotocommun.m	(revision 17)
@@ -0,0 +1,8 @@
+function gotocommun
+% gotocommun
+%
+% See Also getdvptdirectory
+
+% Development directory on HYPERION
+
+cd(getdvptdirectory)
Index: /trunk/machine/SOLEIL/CommunHyperion/setdevelopmentmode.m
===================================================================
--- /trunk/machine/SOLEIL/CommunHyperion/setdevelopmentmode.m	(revision 17)
+++ /trunk/machine/SOLEIL/CommunHyperion/setdevelopmentmode.m	(revision 17)
@@ -0,0 +1,1469 @@
+function setdevelopmentmode(ModeNumber)
+%SETDEVELOPsMENT - Switches between the various operational modes
+%  setoperationalmode(ModeNumber) - Dedeciated for development on Hyperion
+%  without mixing with operationmode (Controlroom) 
+%
+%  INPUTS
+%  1. ModeNumber = number
+%        1 '2.7391 GeV, 18.2020 10.3170', ...
+%        2 '2.7391 GeV, 18.20 10.30', ...
+%        3 '2.7391 GeV, Chasmann-Green', ...
+%        4 '2.7391 GeV, Low Alpha nominal alpha1/15 December 2007', ...
+%        5 '2.7391 GeV, alpha1/20 alpha1by20_maher',...
+%        6 '2.7391 GeV, HU640', ...
+%        7 '2.7391 GeV, low alpha1/20  20.3 8.4 December 2008', ...
+%        8 '2.7391 GeV, 18.2020 10.3170 w/ new steerer position', ...
+%        9 '2.7391 GeV, 18.2020 10.3170 w/ new steerer position and new quad model', ...
+%        10 '2.7391 GeV, 18.2020 10.3170 w/ PX2 w/ new steerer position and new quad model', ...
+%        11 '2.7391 GeV, 18.217 10.312 w/ PX2 w/ new steerer position and new quad model, with Nanoscopium', ...
+%        12/ 2.7391 GeV, low alpha_nominal/10  20.3 8.4 December 2008/January 2010', ...
+%        13/ 2.7391 GeV, low alpha1_nominal/100  20.3 8.4 December 2008/January 2010', ...
+%        14/ 2.7391 GeV, 17.80 10.70 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+%        15/ 2.7391 GeV, 18.20 10.70 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+%        16/ 2.7391 GeV, 18.2020 10.3170 w/ betax=5 m new steerer position and new quad model', ...
+%        17/ 2.7391 GeV, 18.2000 10.6400  Nanoscopium', ...
+%        18/ 2.7391 GeV, 18.2000 10.3000 w/ betax=5 m Nanoscopium', ...
+%        19/ 2.7391 GeV, 18.2020 10.3170 w/ S11 new steerer position and new quad model', ...
+%        20/ 2.7391 GeV, 18.2020 10.3170 w/ S11 betax=5 m new steerer position and new quad model', ...
+%        21/ 2.7391 GeV, 18.1700 10.2500 S11 betax=5 m Nanoscopium', ...
+%        22/ 2.7391 GeV, low alpha_nominal/10 AMOR 20.77 9.20 December 2010', ...
+%        23/ 2.7391 GeV, 18.2020 10.3170 w/ S11 new nominal 122 BPMs'...
+%        24/ 2.7391 GeV, nanoscopium 122 BPMs'...
+%        100 'Laurent''s Mode'...
+%
+%  See also aoinit, updateatindex, soleilinit, setmmldirectories, lattice_prep
+
+%  NOTES
+% use local_set_config_mode for defineing statatus of S11 et S12;
+
+
+%
+% Written by Laurent S. Nadolski
+
+global THERING
+
+% Check if the AO exists
+checkforao;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Dependent Modes %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if nargin < 1
+    ModeNumber = [];
+end
+if isempty(ModeNumber)
+    ModeCell = {...
+        '1/ 2.7391 GeV, 18.2020 10.3170', ...
+        '2/ 2.7391 GeV, 18.20 10.30', ...
+        '3/ 2.7391 GeV, Chasmann-Green', ...
+        '4/ 2.7391 GeV, Low Alpha nominal alpha1/15 December 2007', ...
+        '5/ 2.7391 GeV, alpha1/20 alpha1by20_maher',...
+        '6/ 2.7391 GeV, HU640', ...
+        '7/ 2.7391 GeV, low alpha_nominal/20  20.3 8.4 December 2008/January 2010', ...
+        '8/ 2.7391 GeV, 18.2020 10.3170 with new steerer position', ...
+        '9/ 2.7391 GeV, 18.2020 10.3170 with new steerer position and new quad model', ...
+        '10/ 2.7391 GeV, 18.2020 10.3170 w/ PX2 with new steerer position and new quad model', ...
+        '11/ 2.7391 GeV, 18.217 10.312 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+        '12/ 2.7391 GeV, low alpha_nominal/10  20.3 8.4 December 2008/January 2010', ...
+        '13/ 2.7391 GeV, low alpha1_nominal/100  20.3 8.4 December 2008/January 2010', ...
+        '14/ 2.7391 GeV, 17.80 10.70 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+        '15/ 2.7391 GeV, 18.20 10.70 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+        '16/ 2.7391 GeV, 18.2020 10.3170 with betax=5m with new steerer position and new quad model', ...
+        '17/ 2.7391 GeV, 18.2000 10.6400  Nanoscopium', ...
+        '18/ 2.7391 GeV, 18.2000 10.3000 betax=5 m Nanoscopium', ...
+        '19/ 2.7391 GeV, 18.2020 10.3170 w/ S11 new steerer position and new quad model', ...
+        '20/ 2.7391 GeV, TO DO 18.2020 10.3170 w/ S11 betax=5 m new steerer position and new quad model', ...
+        '21/ 2.7391 GeV, 18.1700 10.2500 S11 betax=5 m Nanoscopium', ...
+        '22/ 2.7391 GeV, low alpha_nominal/10 AMOR 20.77 9.20 December 2010', ...
+        '23/ 2.7391 GeV, 18.2020 10.3170 w/ S11 new nominal 122 BPMs'...
+        '24/ 2.7391 GeV, nanoscopium 122 BPMs'...
+        'Laurent''s Mode'...
+        };
+    [ModeNumber, OKFlag] = listdlg('Name','SOLEIL','PromptString','Select the Development Mode: (LOCAL DEVELOPMENT)', ...
+        'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [450 200], 'InitialValue', 16);
+    if OKFlag ~= 1
+        fprintf('   Operational mode not changed\n');
+        return
+    elseif ModeNumber == length(ModeCell);
+        ModeNumber = 100;  % Laurent
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Data Structure %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+AD = getad;
+AD.Machine = 'SOLEIL';            % Will already be defined if setpathmml was used
+AD.MachineType = 'StorageRing';   % Will already be defined if setpathmml was used
+AD.SubMachine  = 'StorageRing';   % Will already be defined if setpathmml was used
+AD.OperationalMode = '';          % Gets filled in later
+AD.HarmonicNumber = 416;
+
+% Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+AD.DeltaRFDisp = 100e-6;
+AD.DeltaRFChro = [-100 -50 0 50 100] * 1e-6;
+
+% Tune processor delay: delay required to wait
+% to have a fresh tune measurement after changing
+% a variable like the RF frequency.  Setpv will wait
+% 2.2 * TuneDelay to be guaranteed a fresh data point.
+%AD.BPMDelay  = 0.25; % use [N, BPMDelay]=getbpmaverages (AD.BPMDelay will disappear)
+AD.TuneDelay = 1;
+
+% The offset and golden orbits are stored at the end of this file
+% TODO
+%BuildOffsetAndGoldenOrbits;  % Local function
+
+
+% SP-AM Error level
+% AD.ErrorWarningLevel = 0 -> SP-AM errors are Matlab errors {Default}
+%                       -1 -> SP-AM errors are Matlab warnings
+%                       -2 -> SP-AM errors prompt a dialog box
+%                       -3 -> SP-AM errors are ignored (ErrorFlag=-1 is returned)
+AD.ErrorWarningLevel = 0;
+
+%%%%%%%%%%%%%%%%%%%%%
+% Operational Modes %
+%%%%%%%%%%%%%%%%%%%%%
+
+% Mode setup variables (mostly path and file names)
+% AD.OperationalMode - String used in titles
+% ModeName - String used for mode directory name off DataRoot/MachineName
+% OpsFileExtension - string add to default file names
+
+%% ModeNumber == 9 bx=10m nominal lattice 2010 until installation of S11 and S12
+if ModeNumber == 9
+    % User mode - nominal lattice 2010 until installation of S11 and S12
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170b';
+    OpsFileExtension = '_lat_2020_3170b';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170b';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    %% ModeNumber == 19 User mode - S11 betax=10m till November 2010
+elseif ModeNumber == 19 
+    % User mode - S11 betax=10m 2010
+    AD.OperationalMode = '2.7391 GeV, 18.202 10.317 S11';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170f';
+    OpsFileExtension = '_lat_2020_3170f';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170f';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2.6];
+
+    % Status factory
+    local_set_config_mode('S11config');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+   
+    %% ModeNumber == 16 User mode - betax = 5m
+elseif ModeNumber == 16
+    % User mode - betax = 5m
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170e';
+    OpsFileExtension = '_lat_2020_3170e';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170e';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3100
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('S11config');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    %% ModeNumber == 10 User mode - with PX2 corrector   
+elseif ModeNumber == 10
+    % User mode - with PX2 corrector
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170bPX2';
+    OpsFileExtension = '_lat_2020_3170bPX2';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170bPX2';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    %% ModeNumber == 11  User mode - Nanoscopium
+elseif ModeNumber == 11 % User mode - Nanoscopium
+    AD.OperationalMode = '2.7391 GeV, 18.2175 10.3120';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_2175_3120a';
+    OpsFileExtension = '_nano_2175_3120a';
+
+    % AT lattice
+    AD.ATModel = 'nano_2175_3120'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2175
+        0.3120
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+  
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    
+    setao(AO);
+
+    %% ModeNumber == 14 % User mode - Nanoscopium
+elseif ModeNumber == 14 % User mode - Nanoscopium
+    AD.OperationalMode = '2.7391 GeV, 18.2175 10.3120';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_8000_7000a';
+    OpsFileExtension = '_nano_8000_7000a';
+
+    % AT lattice
+    AD.ATModel = 'nano_8000_7000'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2175
+        0.3120
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q2');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+
+
+    AO.Q11.Status = [1; 1];
+    AO.Q12.Status = 1;
+
+    setao(AO);
+    
+    %% ModeNumber == 15 User mode - Nanoscopium
+elseif ModeNumber == 15 % User mode - Nanoscopium
+    AD.OperationalMode = '2.7391 GeV, 18.2000 10.7000';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_2000_7000a';
+    OpsFileExtension = '_nano_2000_7000a';
+
+    % AT lattice
+    AD.ATModel = 'nano_2000_7000'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2175
+        0.3120
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q7');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+
+    setao(AO);
+
+    %% ModeNumber == 8          
+elseif ModeNumber == 8
+    % User mode 
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170a';
+    OpsFileExtension = '_lat_2020_3170a';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170a';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 17  Nanoscopium : new tune (to be tested)  16 June 2010
+elseif ModeNumber == 17 % Nanoscopium : new tune (to be tested)  16 June 2010
+    % ATTENTION LE MAGNET COEFFICIENT EST CELUI DE LA MAILLE nano_2000_7000
+    % Ã  voir s'il faut le modifier
+    AD.OperationalMode = '2.7391 GeV, 18.20 10.64';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_2000_6400';
+    OpsFileExtension = '_nano_2000_6400';
+
+    % AT lattice
+    AD.ATModel = 'nano_2000_6400'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2175
+        0.3120
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q7');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    setao(AO);
+    
+    
+    %% ModeNumber == 18
+elseif ModeNumber == 18 % User mode - Nanoscopium
+        
+    AD.OperationalMode = '2.7391 GeV, 18.200 10.300  Bx SDL =5m Nanoscopium';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_5m_2000_3000a';
+    OpsFileExtension = '_nano_5m_2000_3000a';
+
+    % AT lattice
+    AD.ATModel = 'nano_5m_20_30'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+   
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    setao(AO);
+ 
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q2');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+
+    setao(AO);
+         
+    
+    %% ModeNumber == 21  % User mode - Nanoscopium betax=5m
+elseif ModeNumber == 21 % User mode - Nanoscopium
+        
+    AD.OperationalMode = '2.7391 GeV, 18.1700 10.2500  S11  Bx SDL =5m Nanoscopium';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_5m_1700_2500a';
+    OpsFileExtension = '_nano_5m_1700_2500a';
+
+    % AT lattice
+    AD.ATModel = 'nano_5m_17_25_S11'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+   
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2.6];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    setao(AO);
+ 
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q2');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+
+    setao(AO);
+    
+    %% ModeNumber == 1
+elseif ModeNumber == 1
+    % User mode - 
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'solamor2c';
+    OpsFileExtension = '_solamor2c';
+
+    % AT lattice
+    AD.ATModel = 'solamor2linc';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 2
+elseif ModeNumber == 2
+    % User mode - 
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'solamor2';
+    OpsFileExtension = '_solamor2';
+
+    % AT lattice
+    AD.ATModel = 'solamor2linb';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2000
+        0.3000
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 3 Chasmann_green
+elseif ModeNumber == 3
+    % Chasmann_green
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'chasmann_green';
+    OpsFileExtension = '_chasmann_green';
+
+    % AT lattice
+    AD.ATModel = 'chasman_green';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('S11config');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 4 Low Alpha alpha_nominal/15
+elseif ModeNumber == 4
+    % Low Alpha alpha_nominal/15
+    AD.OperationalMode = '2.7391 GeV, 20.72 9.2, lowalpha1/15';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lowalpha1by15';
+    OpsFileExtension = '_lowalpha1by15';
+
+    % AT lattice
+    AD.ATModel = 'lowalpha1by15';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 100e-6/15*3;
+    AD.DeltaRFChro = [-100 -50 0 50 150] * 1e-6/15*3;
+
+    % Golden TUNE is with the TUNE family
+    % 20.72 / 9.20
+    AO = getao;
+
+    AO.TUNE.Monitor.Golden = [
+        0.72
+        0.20
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 5 Low Alpha alpha1by20_maher
+elseif ModeNumber == 5
+    % Low Alpha alpha1by20_maher
+    AD.OperationalMode = '2.7391 GeV, 20.3 8.4, lowalpha1/20';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha1by20';
+    OpsFileExtension = '_alpha1by20';
+
+    % AT lattice
+    AD.ATModel = 'alpha1by20_maher';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 100e-6/20*3;
+    AD.DeltaRFChro = [-100 -50 0 50 150] * 1e-6/20*3;
+
+    % Golden TUNE is with the TUNE family
+    % 20.40 / 8.40
+    AO = getao;
+
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+    
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_lowalpha);
+    setao(AO);
+
+    %% ModeNumber == 6 User mode - HU640
+elseif ModeNumber == 6
+    % User mode - HU640
+    AD.OperationalMode = '2.7391 GeV HU640, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'solamor2_HU640';
+    OpsFileExtension = '_solamor2_HU640';
+
+    % AT lattice
+    AD.ATModel = 'solamor2linb_HU640';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig');
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_lowalpha);
+    setao(AO);
+
+    %% ModeNumber == 7 alpha1/20 new callibration 20.3 8.4
+elseif ModeNumber == 7
+    % December 2008
+    % alpha1/20 new callibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/20 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lowalpha_dec08';
+    OpsFileExtension = '_lowalpha_dec08';
+
+    % AT lattice
+    AD.ATModel = 'alphaby20_nouveau_modele_dec08_opt_nonlin';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('normalconfig');    
+    % Commented for shift January 2010
+    %AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_cal_lowalphaMAHER_Linterm);
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+    setao(AO);
+  
+
+    %% ModeNumber == 12 alpha1/10 new calibration 20.3 8.4
+elseif ModeNumber == 12
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_10';
+    OpsFileExtension = '_alpha_over_10';
+
+    % AT lattice
+    AD.ATModel = 'alphaby10_nouveau_modele_dec08_opt_lin_1';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('S11config');    
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+    setao(AO);
+
+    %% ModeNumber == 13 alpha1/1000 new calibration 20.3 8.4
+elseif ModeNumber == 13
+    % February 2010
+    % alpha1/1000 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha_nominal/100 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_100';
+    OpsFileExtension = '_alpha_over_100';
+
+    % AT lattice
+    AD.ATModel = 'alphaby100_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 1e-6;
+    AD.DeltaRFChro = [-1 -0.5 0 0.5 1] * 1e-6;
+
+    % Response matrix
+    devnumber = length(AO.HCOR.Status);
+    AO.HCOR.Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*5e-6; % 2*2.5 urad (half used for kicking)
+    AO.HCOR.Setpoint.DeltaRespMat = physics2hw(AO.HCOR.FamilyName,'Setpoint', ...
+        AO.HCOR.Setpoint.DeltaRespMat, AO.HCOR.DeviceList);
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+    
+    local_set_config_mode('S11config');    
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+    setao(AO);
+
+
+    %% ModeNumber == 22 alpha1/10 AMOR december 2010 new calibration 20.77 9.2
+elseif ModeNumber == 22
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_10';
+    OpsFileExtension = '_alpha_over_10';
+
+    % AT lattice
+    AD.ATModel = 'alphaby10_AMOR_new_mod_nov10_lin_auto_0';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.77 / 9.20
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.77
+        0.20
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [0; 0];
+
+    local_set_config_mode('S11config');    
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_mod_low_alpha_AMOR_oct10);
+    setao(AO);
+
+
+    %% ModeNumber == 23 122 BPMs with nominal lattice RUN3 2011
+elseif ModeNumber == 23
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano';
+    OpsFileExtension = '_nano_test';
+
+    % AT lattice
+    AD.ATModel = 'lat_1990_3170_122BPM';
+    run(AD.ATModel);
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.1990
+        0.3170
+        NaN];
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = getao;
+    setfamilydata(1, 'BPMx', 'Status');
+    setfamilydata(1, 'BPMz', 'Status');
+    setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    setao(AO);
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+ %% ModeNumber == 24 122 BPMs with nanoscopium lattice RUN3 2011
+elseif ModeNumber == 24
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano';
+    OpsFileExtension = '_nano_122BPM';
+
+    % AT lattice
+    AD.ATModel = 'lat_nano_122BPM';
+    run(AD.ATModel);
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2016
+        0.2998
+        NaN];
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('nanoscopiumconfigC'); % with correctors
+    AO = getao;
+    setfamilydata(1, 'BPMx', 'Status');
+    setfamilydata(1, 'BPMz', 'Status');
+    setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    setao(AO);
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    setao(AO);
+
+    %% ModeNumber == 100 Laurent
+elseif ModeNumber == 100
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'chasmann_green';
+    OpsFileExtension = '_chasmann_green';
+
+    % AT lattice
+    AD.ATModel = 'chasman_green';
+    chasman_green;
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    setfamilydata(ones(120,1)*1e-5, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    setfamilydata(ones(120,1)*1e-5, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    % AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(nb,1)*0.5e-4*1; % 2*25 urad (half used for kicking)
+    local_set_config_mode('normalconfig');    
+    AO = local_setmagnetcoefficent(AO, @magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+    setao(AO);
+
+else
+    error('Operational mode unknown');
+end
+
+
+
+%%%%%%
+
+% Force units to hardware
+switch2hw;
+
+% Activation of correctors of HU640
+if ModeNumber == 6
+    switchHU640Cor('ON');
+else
+    switchHU640Cor('OFF');
+end
+
+% Set the AD directory path
+setad(AD);
+
+MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension, 'DVPT');
+AD = getad;
+
+% SOLEIL specific path changes
+
+% Top Level Directories
+
+%AD.Directory.DataRoot       = fullfile(MMLROOT, 'measdata', 'SOLEIL', 'StorageRingdata', filesep);
+% RUCHE
+MMLDATAROOT = getmmldataroot;
+AD.Directory.DataRoot       = fullfile(MMLDATAROOT, 'measdata', 'SOLEIL', 'StorageRingdata', filesep);
+AD.Directory.Lattice        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'Lattices', filesep);
+AD.Directory.Orbit          = fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing',  'orbit', filesep);
+
+% Data Archive Directories DO NOT REMOVE LINES
+AD.Directory.BeamUser       = fullfile(AD.Directory.DataRoot, 'BPM', 'BeamUser', filesep); %store saved orbit for operation (every new beam)
+AD.Directory.BPMData        = fullfile(AD.Directory.DataRoot, 'BPM', filesep);
+AD.Directory.TuneData       = fullfile(AD.Directory.DataRoot, 'Tune', filesep);
+AD.Directory.ChroData       = fullfile(AD.Directory.DataRoot, 'Chromaticity', filesep);
+AD.Directory.DispData       = fullfile(AD.Directory.DataRoot, 'Dispersion', filesep);
+AD.Directory.ConfigData     = fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'MachineConfig', filesep);
+AD.Directory.BumpData       = fullfile(AD.Directory.DataRoot, 'Bumps', filesep);
+AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, 'ArchivingData', filesep);
+AD.Directory.QUAD           = fullfile(AD.Directory.DataRoot, 'QUAD', filesep);
+AD.Directory.BBA            = fullfile(AD.Directory.DataRoot, 'BBA', filesep);
+AD.Directory.BBAcurrent     = fullfile(AD.Directory.BBA, 'dafault' ,filesep);
+AD.Directory.PINHOLE        = fullfile(AD.Directory.DataRoot, 'PINHOLE', filesep);
+AD.Directory.Synchro        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'common', 'synchro', filesep);
+AD.Directory.LOCOData       = fullfile(AD.Directory.DataRoot, 'LOCO', filesep);
+
+% Insertion Devices
+HOMEDIR = getenv('HOME');
+AD.Directory.HU80_TEMPO     = fullfile(HOMEDIR, 'GrpGMI', 'HU80_TEMPO', filesep);
+AD.Directory.HU80_PLEIADES  = fullfile(HOMEDIR, 'GrpGMI', 'HU80_PLEIADES', filesep);
+AD.Directory.HU80_MICROFOC  = fullfile(HOMEDIR, 'GrpGMI', 'HU80_MICROFOC', filesep);
+AD.Directory.HU60_CASSIOPEE = fullfile(HOMEDIR, 'GrpGMI', 'HU60_CASSIOPEE', filesep);
+AD.Directory.HU60_ANTARES   = fullfile(HOMEDIR, 'GrpGMI', 'HU60_ANTARES', filesep);
+AD.Directory.U20_PROXIMA1   = fullfile(HOMEDIR, 'GrpGMI', 'U20_PROXIMA1', filesep);
+AD.Directory.U20_SWING      = fullfile(HOMEDIR, 'GrpGMI', 'U20_SWING', filesep);
+AD.Directory.U20_CRISTAL    = fullfile(HOMEDIR, 'GrpGMI', 'U20_CRISTAL', filesep);
+AD.Directory.U20_SIXS       = fullfile(HOMEDIR, 'GrpGMI', 'U20_SIXS', filesep);
+AD.Directory.U20_GALAXIES   = fullfile(HOMEDIR, 'GrpGMI', 'U20_GALAXIES', filesep);
+AD.Directory.U24_PXIIA      = fullfile(HOMEDIR, 'GrpGMI', 'U24_PXIIA ', filesep);
+AD.Directory.WSV50_PSICHE   = fullfile(HOMEDIR, 'GrpGMI', 'WSV50_PSICHE ', filesep);
+AD.Directory.HU640_DESIRS   = fullfile(HOMEDIR, 'GrpGMI', 'HU640_DESIRS', filesep);
+AD.Directory.HU44_TEMPO     = fullfile(HOMEDIR, 'GrpGMI', 'HU44_TEMPO', filesep);
+AD.Directory.HU44_MICROFOC  = fullfile(HOMEDIR, 'GrpGMI', 'HU44_MICROFOC', filesep);
+AD.Directory.HU52_DEIMOS    = fullfile(HOMEDIR, 'GrpGMI', 'HU52_DEIMOS', filesep);
+AD.Directory.HU52_LUCIA     = fullfile(HOMEDIR, 'GrpGMI', 'HU52_LUCIA', filesep);
+AD.Directory.HU36_SIRIUS    = fullfile(HOMEDIR, 'GrpGMI', 'HU36_SIRIUS', filesep);
+
+% For develpment on Hyperions
+
+% STANDALONE matlab applications
+AD.Directory.Standalone     = fullfile(MMLROOT, 'machine', 'SOLEIL', 'standalone_applications', filesep);
+
+% FOFB matlab applications
+AD.Directory.FOFBdata     = fullfile(AD.Directory.DataRoot, 'FOFB');
+
+% AD.Directory.InterlockData  = fullfile(AD.Directory.DataRoot, 'Interlock/'];
+
+%Response Matrix Directories
+AD.Directory.BPMResponse    = fullfile(AD.Directory.DataRoot, 'Response', 'BPM', filesep);
+AD.Directory.TuneResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Tune', filesep);
+AD.Directory.ChroResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Chrom', filesep);
+AD.Directory.DispResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Disp', filesep);
+AD.Directory.SkewResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Skew', filesep);
+
+% used by energytunette
+AD.Directory.BPMTransport   = fullfile(AD.Directory.DataRoot, 'Transport', 'BPM', filesep);
+% used by MAT's Steerette application
+AD.Directory.Steerette     = fullfile(AD.Directory.DataRoot, 'Transport', 'Steerette', filesep);
+
+% Postmortem DATA
+AD.Directory.BPMPostmortem    = fullfile(AD.Directory.DataRoot, 'Postmortem', 'BPMPostmortem', filesep);
+AD.Directory.RFPostmortem     = fullfile(AD.Directory.DataRoot, 'Postmortem', 'RFPostmortem', filesep);
+
+%Default Data File Prefix
+AD.Default.BPMArchiveFile      = 'BPM';                %file in AD.Directory.BPM               orbit data
+AD.Default.TuneArchiveFile     = 'Tune';               %file in AD.Directory.Tune              tune data
+AD.Default.ChroArchiveFile     = 'Chro';               %file in AD.Directory.Chromaticity       chromaticity data
+AD.Default.DispArchiveFile     = 'Disp';               %file in AD.Directory.Dispersion       dispersion data
+AD.Default.CNFArchiveFile      = 'CNF';                %file in AD.Directory.CNF               configuration data
+AD.Default.QUADArchiveFile     = 'QuadBeta';           %file in AD.Directory.QUAD             betafunction for quadrupoles
+AD.Default.PINHOLEArchiveFile  = 'Pinhole';            %file in AD.Directory.PINHOLE             pinhole data
+AD.Default.SkewArchiveFile     = 'SkewQuad';           %file in AD.Directory.SkewQuad             SkewQuad data
+AD.Default.BBAArchiveFile      = 'BBA_DKmode';         %file in AD.Directory.BBA             BBA DK mode data
+
+%Default Response Matrix File Prefix
+AD.Default.BPMRespFile      = 'BPMRespMat';         %file in AD.Directory.BPMResponse       BPM response matrices
+AD.Default.TuneRespFile     = 'TuneRespMat';        %file in AD.Directory.TuneResponse      tune response matrices
+AD.Default.ChroRespFile     = 'ChroRespMat';        %file in AD.Directory.ChroResponse      chromaticity response matrices
+AD.Default.DispRespFile     = 'DispRespMat';        %file in AD.Directory.DispResponse      dispersion response matrices
+AD.Default.SkewRespFile     = 'SkewRespMat';        %file in AD.Directory.SkewResponse      skew quadrupole response matrices
+
+%Orbit Control and Feedback Files
+AD.Restore.GlobalFeedback   = 'Restore.m';
+
+% Circumference
+AD.Circumference = findspos(THERING,length(THERING)+1);
+setad(AD);
+
+% Updates the AT indices in the MiddleLayer with the present AT lattice
+updateatindex;
+
+% Set the model energy
+setenergymodel(AD.Energy);
+
+
+% Momentum compaction factor
+MCF = getmcf('Model');
+if isnan(MCF)
+    AD.MCF = 4.498325442923014e-04;
+    fprintf('   Model alpha calculation failed, middlelayer alpha set to  %f\n', AD.MCF);
+else
+    AD.MCF = MCF;
+    fprintf('   Middlelayer alpha set to %f (AT model).\n', AD.MCF);
+end
+setad(AD);
+
+
+% Add Gain & Offsets for magnet family
+fprintf('   Setting magnet monitor gains based on the production lattice.\n');
+%setgainsandoffsets;
+
+%% Config texttalker (right location ?)
+AD.TANGO.TEXTTALKER='ans/ca/texttalker.2';
+
+%%%%%%%%%%%%%%%%%%%%%%
+% Final mode changes %
+%%%%%%%%%%%%%%%%%%%%%%
+if any(ModeNumber == [1 2 3 4])
+    % User mode - 2.75 GeV, Nominal lattice
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Add LOCO Parameters to AO and AT-Model %
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %     'Nominal'    - Sets nominal gains (1) / rolls (0) to the model.
+    %     'SetGains'   - Set gains/coupling from a LOCO file.
+    %     'SetModel'   - Set the model from a LOCO file.  But it only changes
+    %                    the part of the model that does not get corrected
+    %                    in 'Symmetrize' (also does a SetGains).
+    %     'LOCO2Model' - Set the model from a LOCO file (also does a SetGains).
+    %                    This sets all lattice machines fit in the LOCO run to the model.
+    %
+    % Basically, use 'SetGains' or 'SetModel' if the LOCO run was applied to the accelerator
+    %            use 'LOCO2Model' if the LOCO run was made after the final setup
+
+    % Store the LOCO file in the opsdata directory
+    %AD.OpsData.LOCOFile = [getfamilydata('Directory','OpsData'),'LOCO_72SkewQuads_122BPMs'];
+
+    %AD.OpsData.LOCOFile = [getfamilydata('Directory','OpsData'),'LOCO_AllQuads_1Bend_72SkewQuads'];
+    %setad(AD);
+
+    % MCF depends on optics !!!
+
+    %try
+    %    setlocodata('LOCO2Model', AD.OpsData.LOCOFile);
+    %catch
+    %    fprintf('\n%s\n\n', lasterr);
+    %    fprintf('   WARNING: there was a problem calibrating the model based on LOCO file %s.\n', AD.OpsData.LOCOFile);
+    %end
+
+else
+    %setlocodata('Nominal');
+end
+
+fprintf('   lattice files have changed or if the AT lattice has changed.\n');
+fprintf('   Middlelayer setup for operational mode: %s\n', AD.OperationalMode);
+
+setad(orderfields(AD));
+
+end
+
+function AO = local_setmagnetcoefficent(AO, magnetcoeff_function)
+    % quadrupole magnet coefficients
+    % number of status 1 quadrupole families
+    
+    quadFamList = {'Q1', 'Q2', 'Q3', 'Q4', 'Q5', 'Q6', ...
+         'Q7', 'Q8', 'Q9', 'Q10'};
+    
+    if family2status('Q11',1),
+        quadFamList = [quadFamList, {'Q11'}];
+    end
+    
+    if family2status('Q12',1),
+        quadFamList = [quadFamList, {'Q12'}];
+    end
+        
+    
+    for k = 1:length(quadFamList),
+        ifam = quadFamList{k};
+
+        HW2PhysicsParams = feval(magnetcoeff_function, AO.(ifam).FamilyName);
+        Physics2HWParams = HW2PhysicsParams;
+
+        nb = size(AO.(ifam).DeviceName,1);
+
+        for ii=1:nb,
+            val = 1.0;
+            AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)                 = HW2PhysicsParams;
+            AO.(ifam).Monitor.HW2PhysicsParams{2}(ii,:)                 = val;
+            AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)                 = Physics2HWParams;
+            AO.(ifam).Monitor.Physics2HWParams{2}(ii,:)                 = val;
+            AO.(ifam).Setpoint.HW2PhysicsParams{1}(ii,:)                = HW2PhysicsParams;
+            AO.(ifam).Setpoint.HW2PhysicsParams{2}(ii,:)                = val;
+            AO.(ifam).Setpoint.Physics2HWParams{1}(ii,:)                = Physics2HWParams;
+            AO.(ifam).Setpoint.Physics2HWParams{2}(ii,:)                = val;
+        end
+    end
+
+    % sextupole magnet coefficients
+    % number of status 1 sextupole families
+     sextuFamList = {'S1', 'S2', 'S3', 'S4', 'S5', 'S6', ...
+         'S7', 'S8', 'S9', 'S10'};
+    
+    if family2status('S11',1),
+        sextuFamList = [sextuFamList, {'S11'}];
+    end
+    
+    if family2status('S12',1),
+        sextuFamList = [sextuFamList, {'S12'}];
+    end
+
+    for k = 1:length(sextuFamList),
+        ifam = sextuFamList{k};
+        
+        HW2PhysicsParams = feval(magnetcoeff_function, AO.(ifam).FamilyName);
+        Physics2HWParams = HW2PhysicsParams;
+        
+        val = 1.0;
+        AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:)                 = HW2PhysicsParams;
+        AO.(ifam).Monitor.HW2PhysicsParams{2}(1,:)                 = val;
+        AO.(ifam).Monitor.Physics2HWParams{1}(1,:)                 = Physics2HWParams;
+        AO.(ifam).Monitor.Physics2HWParams{2}(1,:)                 = val;
+        AO.(ifam).Setpoint.HW2PhysicsParams{1}(1,:)                 = HW2PhysicsParams;
+        AO.(ifam).Setpoint.HW2PhysicsParams{2}(1,:)                 = val;
+        AO.(ifam).Setpoint.Physics2HWParams{1}(1,:)                 = Physics2HWParams;
+        AO.(ifam).Setpoint.Physics2HWParams{2}(1,:)                 = val;
+    end
+end
+
+
+function  local_set_config_mode(configmode)
+% Function for activating new families of quadrupole and sextupoles
+% magnets.
+switch(configmode)
+    case 'S11config' % with S11
+        setfamilydata(1, 'S11', 'Status')
+        setfamilydata(0, 'S12', 'Status')
+        setfamilydata(0, 'Q11', 'Status')
+        setfamilydata(0, 'Q12', 'Status')
+        setfamilydata(0, 'HCOR', 'Status', [13 8]);
+        setfamilydata(0, 'VCOR', 'Status', [13 9]);
+    case 'normalconfig' % without S11
+        setfamilydata(0, 'S11', 'Status')
+        setfamilydata(0, 'S12', 'Status')
+        setfamilydata(0, 'Q11', 'Status')
+        setfamilydata(0, 'Q12', 'Status')
+        setfamilydata(0, 'HCOR', 'Status', [13 8]);
+        setfamilydata(0, 'VCOR', 'Status', [13 9]);
+    case 'nanoscopiumconfig'
+        setfamilydata(1, 'S11', 'Status')
+        setfamilydata(1, 'S12', 'Status')
+        setfamilydata(1, 'Q11', 'Status')
+        setfamilydata(1, 'Q12', 'Status')
+        setfamilydata(0, 'HCOR', 'Status', [13 8]);
+        setfamilydata(0, 'VCOR', 'Status', [13 9]);
+    case 'nanoscopiumconfigC'
+        setfamilydata(1, 'S11', 'Status')
+        setfamilydata(1, 'S12', 'Status')
+        setfamilydata(1, 'Q11', 'Status')
+        setfamilydata(1, 'Q12', 'Status')
+        setfamilydata(1, 'HCOR', 'Status', [13 8]);
+        setfamilydata(1, 'VCOR', 'Status', [13 9]);
+    otherwise
+        error('Wrong mode')
+end
+
+% switch addition corrector for HU640... TO BE REMOVED LATER
+switchHU640Cor('OFF');
+end
Index: /trunk/machine/SOLEIL/LT1/LT1init.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/LT1init.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/LT1init.m	(revision 17)
@@ -0,0 +1,504 @@
+function LT1init(OperationalMode)
+% LT1INIT - Contructs an accelerator Object describing LT1
+%
+% Written by Laurent S. Nadolski, Synchrotron SOLEIL
+%
+%==========================
+% Accelerator Family Fields
+%==========================
+% FamilyName            CH, CV, QP, Bend
+% CommonNames           Shortcut name for each element
+% DeviceList            [Sector, Number]
+% ElementList           number in list
+% Position              m, magnet center
+%
+% MONITOR FIELD
+% Mode                  online/manual/special/simulator
+% TangoNames            Tango device name for monitor
+% Units                 Physics or HW
+% HW2PhysicsFcn         function handle used to convert from hardware to physics units ==> inline will not compile, see below
+% HW2PhysicsParams      parameters used for conversion function
+% Physics2HWFcn         function handle used to convert from physics to hardware units
+% Physics2HWParams      parameters used for conversion function
+% HWUnits               units for Hardware 'ampere';
+% PhysicsUnits          units for physics 'Rad';
+% Handles               monitor handle
+%
+% SETPOINT FIELDS
+% Mode                  online/manual/special/simulator
+% TangoNames            PV for monitor
+% Units                 hardware or physics
+% HW2PhysicsFcn         function handle used to convert from hardware to physics units
+% HW2PhysicsParams      parameters used for conversion function
+% Physics2HWFcn         function handle used to convert from physics to hardware units
+% Physics2HWParams      parameters used for conversion function
+% HWUnits               units for Hardware 'ampere';
+% PhysicsUnits          units for physics 'Rad';
+% Range                 minsetpoint, maxsetpoint;
+% Tolerance             setpoint-monitor
+% Handles               setpoint handle
+%
+%=============================================
+% Accelerator Toolbox Simulation Fields
+%=============================================
+% ATType                Quad, Sext, etc
+% ATIndex               index in THERING
+% ATParameterGroup      parameter group
+%
+%============
+% Family List
+%============
+%    CH
+%    CV
+%    BEND
+%    QP
+%    Machine Parameters
+%
+%  See Also aoinit, setoperationalmode, updateatindex, setpathsoleil
+
+%==============================
+%load AcceleratorData structure
+%==============================
+
+if nargin < 1
+    OperationalMode = 1;
+end
+
+global GLOBVAL THERING
+
+Mode             = 'online';
+setad([]);       %clear AcceleratorData memory
+AD.SubMachine    = 'LT1'; % Will already be defined if setpathmml was used
+AD.Energy        = 0.110; % Energy in GeV
+
+setad(AD);   %load AcceleratorData
+
+%%%%%%%%%%%%%%%%%%%%
+% ACCELERATOR OBJECT
+%%%%%%%%%%%%%%%%%%%%
+
+setao([]);   %clear previous AcceleratorObjects
+
+%% Dipole
+ifam = 'BEND';
+
+AO.(ifam).FamilyName             = 'BEND';
+AO.(ifam).MemberOf               = {'MachineConfig'; 'Magnet'; 'BEND'; 'Archivable'};
+AO.(ifam).Mode                   = Mode;
+AO.(ifam).DeviceName{1}          = 'LT1/AE/D.1';
+AO.(ifam).CommonNames{1}         = 'DIP';
+AO.(ifam).DeviceList(1,:)        = [1 1];
+AO.(ifam).ElementList            = 1;
+AO.(ifam).Status                 = 1;
+AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');
+AO.(ifam).Monitor.ModelVal       = 0;
+AO.(ifam).Monitor.TangoVal       = 0;
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN;
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.HW2PhysicsFcn  = @bend2gev;
+AO.(ifam).Monitor.Physics2HWFcn  = @gev2bend;
+setao(AO);
+[C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired  = AO.(ifam).Monitor;
+
+%% Quadrupoles
+ifam = 'QP';
+
+AO.(ifam).FamilyName             = 'QP';
+AO.(ifam).MemberOf               = {'MachineConfig'; 'Magnet'; 'QP'; 'Archivable'};
+AO.(ifam).Mode                   = Mode;
+for ik = 1:7    
+    AO.(ifam).DeviceName{ik}  = ['LT1/AE/Q.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = ['QP' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+
+nb                               = length(AO.(ifam).DeviceName);
+AO.(ifam).Monitor.Range(:,:)     = repmat([-10 10],nb,1);
+AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');
+AO.(ifam).Status                 = ones(nb,1);
+AO.(ifam).Monitor.ModelVal       = zeros(1,nb);
+AO.(ifam).Monitor.TangoVal       = AO.(ifam).Monitor.ModelVal;
+AO.(ifam).ElementList            = 1:nb;
+
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+
+%C = magnetcoefficients4LT1(AO.(ifam).FamilyName);
+C = magnetcoefficients(AO.(ifam).FamilyName);
+
+for ii=1:nb,
+    if ii == 2 || ii == 3 || ii == 6
+        % Defocusing quads
+        AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+        AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+    else
+        % Focusing quad
+        AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C;
+        AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C;
+    end
+end
+
+%AO.(ifam).Monitor.Range(:,:) = repmat([-5 5],nb,1); % 10 A for 0.8 mrad
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+
+
+%% Horizontal Correctors
+ifam = 'CH';
+AO.(ifam).FamilyName           = 'CH';
+AO.(ifam).MemberOf             = {'MachineConfig'; 'HCM'; 'Magnet'; 'CH'; 'Archivable'};
+
+for ik = 1:3    
+    AO.(ifam).DeviceName{ik}  = ['LT1/AE/CH.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = ['CH' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+
+nb                         = length(AO.(ifam).DeviceName);
+AO.(ifam).Monitor.Range(:,:)     = repmat([-1.5 1.5],nb,1);
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/current');
+AO.(ifam).Status               = ones(nb,1);
+AO.(ifam).Monitor.ModelVal     = zeros(1,nb);
+AO.(ifam).Monitor.TangoVal     = AO.(ifam).Monitor.ModelVal;
+AO.(ifam).ElementList           = 1:nb;
+
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+[C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+
+
+%% Vertical Correctors
+ifam = 'CV';
+
+AO.(ifam).FamilyName           = 'CV';
+AO.(ifam).MemberOf             = {'MachineConfig'; 'Magnet'; 'VCM'; 'CV'; 'Archivable'};
+AO.(ifam).Mode                 = Mode;
+
+for ik = 1:3    
+    AO.(ifam).DeviceName{ik}  = ['LT1/AE/CV.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = ['CV' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+
+nb                             = length(AO.(ifam).DeviceName);
+AO.(ifam).Monitor.Range(:,:)     = repmat([-1.5 1.5],nb,1);
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/current');
+AO.(ifam).Status               = ones(nb,1);
+AO.(ifam).Monitor.ModelVal     = zeros(1,nb);
+AO.(ifam).Monitor.TangoVal     = AO.(ifam).Monitor.ModelVal;
+AO.(ifam).ElementList          = 1:nb;
+
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+[C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+
+%%%%%%%%%%%%%%%%%%
+%% cycleramp
+%%%%%%%%%%%%%%%%%
+
+%% cycleramp For dipole magnet
+ifam = 'CycleBEND';
+
+AO.(ifam).FamilyName             = 'CycleBEND';
+AO.(ifam).MemberOf               = {'CycleBEND'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+AO.(ifam).GroupId                = tango_group_create('Dipole'); 
+AO.(ifam).DeviceName             = 'LT1/AE/cycleD.1';
+%add devices to group
+tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName);
+AO.(ifam).Inom = 180;
+AO.(ifam).Imax = 250;
+AO.(ifam).Status = 1;
+
+%% cycleramp For H-corrector magnets
+ifam = 'CycleCH';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleCOR'; 'CycleCH'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+AO.(ifam).GroupId                = tango_group_create('COR'); 
+AO.(ifam).DeviceName             = {'LT1/AE/cycleCH.1'; 'LT1/AE/cycleCH.2'; 'LT1/AE/cycleCH.3'};
+AO.(ifam).DeviceList             = [1 1; 1 2; 1 3];
+AO.(ifam).ElementList            = (1:3)';
+tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+AO.(ifam).Inom = [1 2 3];
+AO.(ifam).Imax = 1.5*ones(1,3);
+AO.(ifam).Status = ones(3,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(3,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% cycleramp For V-corrector magnets
+ifam = 'CycleCV';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleCOR'; 'CycleCV'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+AO.(ifam).GroupId                = tango_group_create('COR'); 
+AO.(ifam).DeviceName             = {'LT1/AE/cycleCV.1'; 'LT1/AE/cycleCV.2'; 'LT1/AE/cycleCV.3'};
+AO.(ifam).DeviceList             = [1 1; 1 2; 1 3];
+AO.(ifam).ElementList            = [1 2 3]';
+%add devices to group
+tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+AO.(ifam).Inom = [1 2 3];
+AO.(ifam).Imax = 1.5*ones(1,3);
+AO.(ifam).Status = ones(3,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(3,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% cycleramp For quadrupoles magnets
+ifam = 'CycleQP';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+AO.(ifam).GroupId                = tango_group_create('Quadrupole'); 
+AO.(ifam).DeviceList             = [1 1; 1 2; 1 3; 1 4; 1 5; 1 6; 1 7];
+AO.(ifam).ElementList            = (1:7)';
+AO.(ifam).DeviceName             = {'LT1/AE/cycleQ.1';'LT1/AE/cycleQ.2'; ...
+                                    'LT1/AE/cycleQ.3';'LT1/AE/cycleQ.4'; ...
+                                    'LT1/AE/cycleQ.5';'LT1/AE/cycleQ.6'; ...
+                                    'LT1/AE/cycleQ.7'};
+%add devices to group
+tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+%AO.(ifam).Imax = 8*ones(1,7);
+% modification mars 2006
+AO.(ifam).Imax = [8  -8  -8  8  8  -8  8 ];
+AO.(ifam).Status = ones(7,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(7,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%%%%%%%%%%%%%%%%%%
+%%% Diagnostics
+%%%%%%%%%%%%%%%%%%
+
+%% Charge Monitor - Moniteur de charge
+ifam = 'MC';
+
+AO.(ifam).FamilyName             = 'MC';
+AO.(ifam).MemberOf               = {'Diag'; 'MC'; 'Archivable'};
+AO.(ifam).Mode                   = Mode;
+AO.(ifam).DeviceName             = {'LT1/DG/MC'; 'LT1/DG/MC'};
+AO.(ifam).CommonNames            = ['mc1';'mc2';];
+AO.(ifam).DeviceList(:,:)        = [1 1; 1 2];
+AO.(ifam).ElementList            = [1 2]';
+AO.(ifam).Status                 = [1 1]';
+AO.(ifam).Monitor.TangoNames     = [strcat(AO.(ifam).DeviceName(1,:), '/qIct1'); ...
+                                    strcat(AO.(ifam).DeviceName(2,:), '/qIct2')];
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = [NaN; NaN]';
+AO.(ifam).Monitor.DataType       = 'Vector';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'nC';
+AO.(ifam).Monitor.PhysicsUnits   = 'nC';
+AO.(ifam).Monitor.HW2PhysicsParams = 1.0;
+AO.(ifam).Monitor.Physics2HWParams = 1.0;
+
+%%%%%%%%%%%%%%%%%%
+%% Vacuum system
+%%%%%%%%%%%%%%%%%%
+
+%% IonPump
+ifam = 'PI';
+AO.(ifam).FamilyName           = 'PI';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'IonPump'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+for ik = 1:9    
+    AO.(ifam).DeviceName{ik}  = ['LT1/VI/PI55.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = ['PI' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+    if (ik == 8)
+        AO.(ifam).DeviceName{ik} = ['LT1/VI/PI150.' num2str(ik)];
+    end
+end
+nb = size(AO.(ifam).DeviceList,1);
+AO.(ifam).Status                   = ones(nb,1);
+AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%% PenningGauge
+ifam = 'JPEN';
+AO.(ifam).FamilyName           = 'JPEN';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'PenningGauge'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+for ik = 1:2    
+    AO.(ifam).DeviceName{ik}  = ['LT1/VI/JPEN.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = ['JPEN' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+
+nb = size(AO.(ifam).DeviceList,1);
+AO.(ifam).Status                   = ones(nb,1);
+AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%% PenningGauge
+ifam = 'JPIR';
+AO.(ifam).FamilyName           = 'JPIR';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'PiraniGauge'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+for ik = 1:2    
+    AO.(ifam).DeviceName{ik}  = ['LT1/VI/JPIR.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = ['JPIR' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+
+nb = size(AO.(ifam).DeviceList,1);
+AO.(ifam).Status                   = ones(nb,1);
+AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%% Synchronisation
+% ifam = 'SYNC'
+% AO.(ifam).FamilyName           = 'SYNC';
+% AO.(ifam).MemberOf             = {'Timing'};
+% AO.(ifam).Monitor.Mode         = Mode;
+% AO.(ifam).Monitor.DataType     = 'Scalar';
+% 
+% AO.(ifam).DeviceName{ik}  = ['LT1/VI/JPIR.' num2str(ik)];
+% 
+% AO.(ifam).Monitor.HWUnits      = 's';
+
+setao(AO);
+
+% The operational mode sets the path, filenames, and other important params
+% Run setoperationalmode after most of the AO is built so that the Units and Mode fields
+% can be set in setoperationalmode
+
+setoperationalmode(OperationalMode);
+
+%======================================================================
+%======================================================================
+%% Append Accelerator Toolbox information
+%======================================================================
+%======================================================================
+disp('** Initializing Accelerator Toolbox information');
+
+AO = getao;
+
+ATindx = atindex(THERING);  %structure with fields containing indices
+
+s = findspos(THERING,1:length(THERING)+1)';
+
+%% HORIZONTAL CORRECTORS
+ifam = 'CH';
+AO.(ifam).AT.ATType  = ifam;
+AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+
+%% VERTICAL CORRECTORS
+ifam = 'CV';
+AO.(ifam).AT.ATType  = ifam;
+AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex); 
+
+%% BENDING magnets
+ifam = 'BEND';
+AO.(ifam).AT.ATType  = ifam;
+AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+AO.(ifam).Position   = reshape(s(AO.(ifam).AT.ATIndex),1,2);
+
+%% QUADRUPOLES
+ifam = 'QP';
+AO.(ifam).AT.ATType  = 'QUAD';
+AO.(ifam).AT.ATIndex = eval(['ATindx.' ifam '(:)']);
+AO.(ifam).AT.ATIndex = reshape(AO.(ifam).AT.ATIndex,2,7)';
+AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+
+% Save AO
+setao(AO);
+
+if iscontrolroom
+    switch2online;
+else
+    switch2sim;
+end
+
Index: /trunk/machine/SOLEIL/LT1/LT1setup.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/LT1setup.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/LT1setup.m	(revision 17)
@@ -0,0 +1,75 @@
+function LT1setup
+%LT1SETUP - GUI for doing LT1 setup
+
+%
+% Written by Laurent S. Nadolski
+
+AD = getad;
+
+if isempty(AD) 
+    LT1init;
+elseif ~strcmpi(AD.SubMachine,'LT1')
+    LT1init;
+end
+
+orbfig = findobj(allchild(0),'tag','LT1setup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+orbfig = findobj(allchild(0),'tag','LT1setup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+
+kmax = 4; % button number
+
+height = 10 + kmax*30 + 30; %670;
+a = figure('Color',[0.8 0.8 0.8], ...
+    'Interruptible', 'on', ...   
+    'HandleVisibility','off', ...
+    'MenuBar','none', ...
+    'Name', 'LT1 Command Launcher', ...
+    'NumberTitle','off', ...
+    'Units','pixels', ...
+    'Position',[5 70 210*2 height], ...
+    'Resize','off', ...
+    'Tag','LT1setup');
+
+height = height - 35;
+
+for k = 1:kmax,
+    b1(k) = uicontrol('Parent',a, ...
+        'Position',[3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b2(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+set(b1(1), 'Callback','disp([''   LT1init;'']); cd(getenv(''MLROOT'')); setpathsoleil(''LT1'');', 'String','LT1init');
+set(b1(2), 'Callback','disp([''   Fichiers de Consignes;'']); configgui;;', 'String','Fichiers de Consignes');
+set(b1(3), 'Callback','disp([''   LT1cycling;'']);LT1cycling', 'String','Cyclage');
+set(b1(4), 'Callback','disp([''   Timing;'']); synchro_injecteur7;', 'String','Synchronisation dÃ©finitive');
+set(b2(1), 'Callback','optics_LT1_LT2;', 'String','Optique');
+set(b2(2), 'Callback','disp([''   Emittance'']);emittance_v15;', 'String','Emittance');
+set(b2(3), 'Callback','disp([''   FAE'']); fae_v5', 'String','Fente d''analyse');
+set(b2(4), 'Callback','disp([''   Comparaison de spectres'']); cd /home/matlabML/measdata/SOLEIL/LT1data/fae ; edit /home/matlabML/machine/SOLEIL/LT1/fae/comparaison_spectre.m', 'String','Comparaison spectres');
+b = uicontrol('Parent',a, ...
+    'Callback','close all', ...
+    'String','Close All Figures', ...
+    'Position',[3 height-kmax*30 204 27], ...
+    'Userdata',[], ...
+    'Interruptible', 'off', ...   
+    'Tag','button2');
+
+b = uicontrol('Parent',a, ...
+    'Callback','diary off; close(get(findobj(gcbf,''Tag'',''button1''),''Userdata''));', ...
+    'Position',[3 + 210 height-kmax*30 204 27], ...
+    'String','CLOSE', ...
+    'Userdata',a, ...
+    'Interruptible', 'off', ...   
+    'Tag','button1');
+
Index: /trunk/machine/SOLEIL/LT1/Lattices/LT1emittancelattice.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/Lattices/LT1emittancelattice.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/Lattices/LT1emittancelattice.m	(revision 17)
@@ -0,0 +1,153 @@
+function LT1emittancelattice
+% Lattice definition file
+% Lattice for LT1
+%
+% Laurent S. Nadolski, SOLEIL, 03/04
+
+global FAMLIST THERING GLOBVAL
+GLOBVAL.E0 = 100e6;
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+disp(['** Loading lattice in ' mfilename])
+
+%% markers           
+%% Ecrans
+ECR0 =  marker('BPM', 'IdentityPass');
+ECR1 =  marker('BPM', 'IdentityPass');
+ECR2 =  marker('BPM', 'IdentityPass');
+ECR3 =  marker('BPM', 'IdentityPass');
+ECR4 =  marker('BPM', 'IdentityPass');
+%% Collimateur (fente d'analyse)
+COLL =  marker('COLL', 'IdentityPass');
+%% perturbateurs
+KICKQD =  marker('KICKQD', 'IdentityPass');
+PERTM =  marker('PERTM', 'IdentityPass');
+%% divers
+FIN =  marker('FIN', 'IdentityPass');
+DEBUT =  marker('DEBUT', 'IdentityPass');
+
+%% DRIFT SPACES
+SDL1  = drift('SDL1', 1.2892000, 'DriftPass');
+SDL1A = drift('SDL1A',  0.379800, 'DriftPass');
+SDL2  = drift('SDL2',  0.180000, 'DriftPass');
+SDL2B = drift('SDL2B',  0.674150, 'DriftPass');
+SDL3  = drift('SDL3',  0.180000, 'DriftPass');
+SDL3B = drift('SDL3B',  2.220000, 'DriftPass');
+SDL4  = drift('SDL4',  0.180000, 'DriftPass');
+SDL4B = drift('SDL4B', 0.770000, 'DriftPass');
+SDL5H1= drift('SDL5H1',  0.180000, 'DriftPass');
+SDL5H2= drift('SDL5H2',  0.505260, 'DriftPass');
+SDL5C = drift('SDL5C',  0.364740, 'DriftPass');
+SDL6  = drift('SDL6', 2.49248, 'DriftPass');
+SDL6T = drift('SDL6T',  0.221200, 'DriftPass');
+SDL7  = drift('SDL7',  0.130000, 'DriftPass');
+SDL7B = drift('SDL7B',  0.971910, 'DriftPass');
+SDL8  = drift('SDL8',  0.180000, 'DriftPass');
+SDL8B = drift('SDL8B', 0.300000, 'DriftPass');
+SDL9  = drift('SDL9',  0.344540, 'DriftPass');
+SDL9B = drift('SDL9B',  0.180000, 'DriftPass');
+SDL0  = drift('SDL0',  0.198800, 'DriftPass');
+SDL0B = drift('SDL0B',  0.583820, 'DriftPass');
+SDL0B1= drift('SDL0B1', 0.500000, 'DriftPass');
+SDL0C = drift('SDL0C',  2.309270, 'DriftPass');
+SBOO1 = drift('SBOO1',  1.294100, 'DriftPass');
+SBOO2 = drift('SBOO2',  0.764434, 'DriftPass');
+SBOO3 = drift('SBOO3', 0.150000, 'DriftPass');
+SBOO4 = drift('SBOO4',  2.000000, 'DriftPass');
+PERTEBR = drift('PERTEBR',  0.130000, 'DriftPass');
+PERTELM = drift('PERTELM',  0.30000, 'DriftPass');
+PERTSLM = drift('PERTSLM',  0.30000, 'DriftPass');
+PERTSBR = drift('PERTSBR',  0.130000, 'DriftPass');
+
+%% QUADRUPOLES 
+L= 0.15/2;
+QP1  =  quadrupole('QP', L,  4.17582 , 'QuadLinearPass');
+QP2  =  quadrupole('QP', L, -2.78267 , 'QuadLinearPass');
+QP3  =  quadrupole('QP', L, -2.61001 , 'QuadLinearPass');
+QP4  =  quadrupole('QP', L,  4.29826   , 'QuadLinearPass');
+QP5  =  quadrupole('QP', L,  4.94250   , 'QuadLinearPass');
+QP6  =  quadrupole('QP', L, -4.94777  , 'QuadLinearPass');
+QP7  =  quadrupole('QP', L,  4.92238  , 'QuadLinearPass');
+QDBOO=  quadrupole('QDBOO', 0.2,  -0.891375 , 'QuadLinearPass');
+
+% Q1 = [QP1 QP1];
+% Q2 = [QP2 QP2];
+% Q3 = [QP3 QP3];
+% Q4 = [QP4 QP4];
+% Q5 = [QP5 QP5];
+% Q6 = [QP6 QP6];
+% Q7 = [QP7 QP7];
+% EN attente d'elements coupes en deux
+L= 0.15; 
+Q1  =  quadrupole('QP', L,  4.17582, 'QuadLinearPass');
+Q2  =  quadrupole('QP', L, -2.78267, 'QuadLinearPass');
+Q3  =  quadrupole('QP', L, -2.61001, 'QuadLinearPass');
+Q4  =  quadrupole('QP', L,  4.29826, 'QuadLinearPass');
+Q5  =  quadrupole('QP', L,  4.94250, 'QuadLinearPass');
+Q6  =  quadrupole('QP', L, -4.94777, 'QuadLinearPass');
+Q7  =  quadrupole('QP', L,  4.92238, 'QuadLinearPass');
+
+
+%% Vertical Correctors 
+CV  =  corrector('CV',0.0,[0 0],'CorrectorPass');
+
+%% Horizontal Correctors 
+CH  =  corrector('CH',0.0,[0 0],'CorrectorPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = -15*pi/180;
+theta = 0.001;
+fullgap = 0.105*0.724*2/6*1.3815;
+BEND  =  rbend2('BEND', 0.30, theta, theta/2, theta/2, 0.0, ...
+                fullgap,'BendLinearFringeTiltPass');
+
+%% {** septa booster **}
+% beta_gap=0.03/6;
+% tracy_gap=beta_gap*0.724*2;
+theta = -7.5*pi/180;
+fullgap= 0.03/6*0.724*2; %*1.3815;
+L = 0.30;
+SEP     = rbend2('SEP', L,  theta, theta/2, theta/2, 0.0, fullgap, 'BendLinearFringeTiltPass');
+SEPup   = rbend2('SEPup', L/2, theta/2, theta/2, 0.0, 0.0,  fullgap, 'BendLinearFringeTiltPass');
+SEPdown = rbend2('SEPdown', L/2, theta/2, 0.0, theta/2, 0.0,  fullgap, 'BendLinearFringeTiltPass');
+
+% Begin Lattice
+%%  Superperiods  
+LINE2 = [ ... 
+    SDL1       ECR0      SDL1A     QP1       QP1       SDL2       CH    ...
+    SDL2B     ...
+    QP2        QP2       SDL3      CV       SDL3B      QP3        QP3    ...
+    SDL4       SDL4B     QP4       QP4       SDL5H1     CH        SDL5H2     ...
+    ECR1       SDL5C     BEND      SDL6      COLL      ...
+    SDL6T      QP5       QP5       SDL7      CH        SDL7B      CV        ...
+    SDL8       QP6       QP6       SDL8B     BEND       SDL9       ECR2    ...
+    SDL0       QP7       QP7       SDL9B     SDL0C      CV        SDL0B1     ...
+    ECR3       SDL0B     SEPup     SEPdown    SBOO1      QDBOO      ...
+    KICKQD     QDBOO  ...    
+    SBOO2      SBOO3     PERTEBR   PERTELM   PERTM      PERTSLM    PERTSBR    ...
+    SBOO3      ECR4      SBOO4
+];
+
+LINE = [ ... 
+    SDL1       ECR0     SDL1A     Q1       SDL2       CH        SDL2B     ...
+    Q2         SDL3      CV       SDL3B      Q3        ...
+    SDL4       SDL4B     Q4       SDL5H1     CH        SDL5H2     ...
+    ECR1       SDL5C     BEND      SDL6     COLL      ...
+    SDL6T      Q5       SDL7      CH        SDL7B      CV        ...
+    SDL8       Q6       SDL8B     BEND       SDL9       ECR2    ...
+    SDL0       Q7       SDL9B     SDL0C      CV        SDL0B1     ...
+    ECR3       SDL0B     SEPup     CH       SEPdown    SBOO1      QDBOO      ...
+    KICKQD     QDBOO  ...    
+    SBOO2      SBOO3     PERTEBR   PERTELM   PERTM      PERTSLM    PERTSBR    ...
+    SBOO3      ECR4      SBOO4
+];
+
+ELIST = [DEBUT, LINE2, FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+disp('** Done **');
Index: /trunk/machine/SOLEIL/LT1/Lattices/bareLT1lattice.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/Lattices/bareLT1lattice.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/Lattices/bareLT1lattice.m	(revision 17)
@@ -0,0 +1,160 @@
+function bareLT1lattice
+% Lattice definition file
+% Lattice for LT1
+%
+% Laurent S. Nadolski, SOLEIL, 03/04
+% 17/01/06 Pass method for bend is obsolete in new AT
+
+global FAMLIST THERING GLOBVAL
+GLOBVAL.E0 = 100e6;
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+disp(['** Loading lattice in ' mfilename])
+
+%% markers           
+%% Ecrans
+ECR0 =  marker('BPM', 'IdentityPass');
+ECR1 =  marker('BPM', 'IdentityPass');
+ECR2 =  marker('BPM', 'IdentityPass');
+ECR3 =  marker('BPM', 'IdentityPass');
+ECR4 =  marker('BPM', 'IdentityPass');
+%% Collimateur (fente d'analyse)
+COLL =  marker('COLL', 'IdentityPass');
+%% perturbateurs
+KICKQD =  marker('KICKQD', 'IdentityPass');
+PERTM =  marker('PERTM', 'IdentityPass');
+%% divers
+FIN =  marker('FIN', 'IdentityPass');
+DEBUT =  marker('DEBUT', 'IdentityPass');
+
+%% DRIFT SPACES
+SDL1  = drift('SDL1', 1.2892000, 'DriftPass');
+SDL1A = drift('SDL1A',  0.379800, 'DriftPass');
+SDL2  = drift('SDL2',  0.180000, 'DriftPass');
+SDL2B = drift('SDL2B',  0.674150, 'DriftPass');
+SDL3  = drift('SDL3',  0.180000, 'DriftPass');
+SDL3B = drift('SDL3B',  2.220000, 'DriftPass');
+SDL4  = drift('SDL4',  0.180000, 'DriftPass');
+SDL4B = drift('SDL4B', 0.770000, 'DriftPass');
+SDL5H1= drift('SDL5H1',  0.180000, 'DriftPass');
+SDL5H2= drift('SDL5H2',  0.505260, 'DriftPass');
+SDL5C = drift('SDL5C',  0.364740, 'DriftPass');
+SDL6  = drift('SDL6', 2.49248, 'DriftPass');
+SDL6T = drift('SDL6T',  0.221200, 'DriftPass');
+SDL7  = drift('SDL7',  0.130000, 'DriftPass');
+SDL7B = drift('SDL7B',  0.971910, 'DriftPass');
+SDL8  = drift('SDL8',  0.180000, 'DriftPass');
+SDL8B = drift('SDL8B', 0.300000, 'DriftPass');
+SDL9  = drift('SDL9',  0.344540, 'DriftPass');
+SDL9B = drift('SDL9B',  0.180000, 'DriftPass');
+SDL0  = drift('SDL0',  0.198800, 'DriftPass');
+SDL0B = drift('SDL0B',  0.583820, 'DriftPass');
+SDL0B1= drift('SDL0B1', 0.500000, 'DriftPass');
+SDL0C = drift('SDL0C',  2.309270, 'DriftPass');
+SBOO1 = drift('SBOO1',  1.294100, 'DriftPass');
+SBOO2 = drift('SBOO2',  0.764434, 'DriftPass');
+SBOO3 = drift('SBOO3', 0.150000, 'DriftPass');
+SBOO4 = drift('SBOO4',  2.000000, 'DriftPass');
+PERTEBR = drift('PERTEBR',  0.130000, 'DriftPass');
+PERTELM = drift('PERTELM',  0.30000, 'DriftPass');
+PERTSLM = drift('PERTSLM',  0.30000, 'DriftPass');
+PERTSBR = drift('PERTSBR',  0.130000, 'DriftPass');
+
+%% QUADRUPOLES 
+L= 0.15/2;
+QP1  =  quadrupole('QP', L,  4.17582 , 'QuadLinearPass');
+QP2  =  quadrupole('QP', L, -2.78267 , 'QuadLinearPass');
+QP3  =  quadrupole('QP', L, -2.61001 , 'QuadLinearPass');
+QP4  =  quadrupole('QP', L,  4.29826   , 'QuadLinearPass');
+QP5  =  quadrupole('QP', L,  4.94250   , 'QuadLinearPass');
+QP6  =  quadrupole('QP', L, -4.94777  , 'QuadLinearPass');
+QP7  =  quadrupole('QP', L,  4.92238  , 'QuadLinearPass');
+QDBOO=  quadrupole('QDBOO', 0.2,  -0.891375 , 'QuadLinearPass');
+
+% Q1 = [QP1 QP1];
+% Q2 = [QP2 QP2];
+% Q3 = [QP3 QP3];
+% Q4 = [QP4 QP4];
+% Q5 = [QP5 QP5];
+% Q6 = [QP6 QP6];
+% Q7 = [QP7 QP7];
+% EN attente d'elements coupes en deux
+L= 0.15; 
+Q1  =  quadrupole('QP', L,  4.17582, 'QuadLinearPass');
+Q2  =  quadrupole('QP', L, -2.78267, 'QuadLinearPass');
+Q3  =  quadrupole('QP', L, -2.61001, 'QuadLinearPass');
+Q4  =  quadrupole('QP', L,  4.29826, 'QuadLinearPass');
+Q5  =  quadrupole('QP', L,  4.94250, 'QuadLinearPass');
+Q6  =  quadrupole('QP', L, -4.94777, 'QuadLinearPass');
+Q7  =  quadrupole('QP', L,  4.92238, 'QuadLinearPass');
+
+
+%% Vertical Correctors 
+CV  =  corrector('CV',0.0,[0 0],'CorrectorPass');
+
+%% Horizontal Correctors 
+CH  =  corrector('CH',0.0,[0 0],'CorrectorPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+theta = -15*pi/180;
+fullgap = 0.105*0.724*2/6*1.3815;
+% BEND  =  rbend2('BEND', 0.30, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+
+BEND  =  rbend2('BEND', 0.30, theta, theta/2, theta/2, 0.0, ...
+                fullgap,'BendLinearPass');
+
+%% {** septa booster **}
+% beta_gap=0.03/6;
+% tracy_gap=beta_gap*0.724*2;
+theta = -7.5*pi/180;
+fullgap= 0.03/6*0.724*2; %*1.3815;
+L = 0.30;
+SEP     = rbend2('SEP', L,  theta, theta/2, theta/2, 0.0, fullgap, 'BendLinearPass');
+SEPup   = rbend2('SEPup', L/2, theta/2, theta/2, 0.0, 0.0,  fullgap, 'BendLinearPass');
+SEPdown = rbend2('SEPdown', L/2, theta/2, 0.0, theta/2, 0.0,  fullgap, 'BendLinearPass');
+
+% SEP     = rbend2('SEP', L,  theta, theta/2, theta/2, 0.0, fullgap, 'BendLinearFringeTiltPass');
+% SEPup   = rbend2('SEPup', L/2, theta/2, theta/2, 0.0, 0.0,  fullgap, 'BendLinearFringeTiltPass');
+% SEPdown = rbend2('SEPdown', L/2, theta/2, 0.0, theta/2, 0.0,  fullgap, 'BendLinearFringeTiltPass');
+
+% Begin Lattice
+%%  Superperiods  
+LINE2 = [ ... 
+    SDL1       ECR0      SDL1A     QP1       QP1       SDL2       CH    ...
+    SDL2B     ...
+    QP2        QP2       SDL3      CV       SDL3B      QP3        QP3    ...
+    SDL4       SDL4B     QP4       QP4       SDL5H1     CH        SDL5H2     ...
+    ECR1       SDL5C     BEND      SDL6      COLL      ...
+    SDL6T      QP5       QP5       SDL7      CH        SDL7B      CV        ...
+    SDL8       QP6       QP6       SDL8B     BEND       SDL9       ECR2    ...
+    SDL0       QP7       QP7       SDL9B     SDL0C      CV        SDL0B1     ...
+    ECR3       SDL0B     SEPup     SEPdown    SBOO1      QDBOO      ...
+    KICKQD     QDBOO  ...    
+    SBOO2      SBOO3     PERTEBR   PERTELM   PERTM      PERTSLM    PERTSBR    ...
+    SBOO3      ECR4      SBOO4
+];
+
+LINE = [ ... 
+    SDL1       ECR0     SDL1A     Q1       SDL2       CH        SDL2B     ...
+    Q2         SDL3      CV       SDL3B      Q3        ...
+    SDL4       SDL4B     Q4       SDL5H1     CH        SDL5H2     ...
+    ECR1       SDL5C     BEND      SDL6     COLL      ...
+    SDL6T      Q5       SDL7      CH        SDL7B      CV        ...
+    SDL8       Q6       SDL8B     BEND       SDL9       ECR2    ...
+    SDL0       Q7       SDL9B     SDL0C      CV        SDL0B1     ...
+    ECR3       SDL0B     SEPup     CH       SEPdown    SBOO1      QDBOO      ...
+    KICKQD     QDBOO  ...    
+    SBOO2      SBOO3     PERTEBR   PERTELM   PERTM      PERTSLM    PERTSBR    ...
+    SBOO3      ECR4      SBOO4
+];
+
+ELIST = [DEBUT, LINE2, FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+disp('** Done **');
Index: /trunk/machine/SOLEIL/LT1/Lattices/maille_LT1.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/Lattices/maille_LT1.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/Lattices/maille_LT1.m	(revision 17)
@@ -0,0 +1,171 @@
+function maille_LT1
+% Lattice definition file
+% Lattice for LT1
+%
+% Laurent S. Nadolski, SOLEIL, 03/04
+
+global FAMLIST THERING GLOBVAL
+GLOBVAL.E0 = 100e6;
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+disp(['** Loading lattice in ' mfilename])
+
+%% markers           
+%% Ecrans
+ECR1 =  marker('BPM', 'IdentityPass');
+ECR2 =  marker('BPM', 'IdentityPass');
+ECR3 =  marker('BPM', 'IdentityPass');
+ECR4 =  marker('BPM', 'IdentityPass');
+%% Collimateurs 
+COLL1 =  marker('COLL1', 'IdentityPass');
+COLL2 =  marker('COLL2', 'IdentityPass');
+%% perturbateurs
+KICKQD =  marker('KICKQD', 'IdentityPass');
+PERTM =  marker('PERTM', 'IdentityPass');
+%% divers
+FIN =  marker('FIN', 'IdentityPass');
+DEBUT =  marker('DEBUT', 'IdentityPass');
+
+% DRIFT SPACES
+
+SDL1  = drift('SDL1', 1.119000, 'DriftPass');
+SDL1A = drift('SDL1A',  0.550000, 'DriftPass');
+SDL2  = drift('SDL2',  0.180000, 'DriftPass');
+SDL2B = drift('SDL2B',  0.674150, 'DriftPass');
+SDL3  = drift('SDL3',  0.180000, 'DriftPass');
+SDL3B = drift('SDL3B',  2.220000, 'DriftPass');
+SDL4  = drift('SDL4',  0.180000, 'DriftPass');
+SDL4B = drift('SDL4B', 0.770000, 'DriftPass');
+SDL5  = drift('SDL5', 0.180000, 'DriftPass');
+SDL5B = drift('SDL5B', 0.570000, 'DriftPass');
+SDL5H1= drift('SDL5H1',  0.180000, 'DriftPass');
+SDL5H2= drift('SDL5H2',  0.570000, 'DriftPass');
+SDL5C = drift('SDL5C',  0.300000, 'DriftPass');
+SDL6  = drift('SDL6', 1.983680, 'DriftPass');
+SDL6B = drift('SDL6B',  0.380000, 'DriftPass');
+SDL6T = drift('SDL6T',  0.350000, 'DriftPass');
+SDL7  = drift('SDL7',  0.130000, 'DriftPass');
+SDL7B = drift('SDL7B',  0.971910, 'DriftPass');
+SDL8  = drift('SDL8',  0.180000, 'DriftPass');
+SDL8B = drift('SDL8B', 0.300000, 'DriftPass');
+SDL9  = drift('SDL9',  0.300000, 'DriftPass');
+SDL9B = drift('SDL9B',  0.180000, 'DriftPass');
+SDL0  = drift('SDL0',  0.243340, 'DriftPass');
+SDL0B = drift('SDL0B',  0.500000, 'DriftPass');
+SDL0B1= drift('SDL0B1', 0.500000, 'DriftPass');
+SDL0C = drift('SDL0C',  2.393090, 'DriftPass');
+SBOO1 = drift('SBOO1',  1.294100, 'DriftPass');
+SBOO2 = drift('SBOO2',  0.764434, 'DriftPass');
+SBOO3 = drift('SBOO3', 0.150000, 'DriftPass');
+SBOO4 = drift('SBOO4',  2.000000, 'DriftPass');
+PERTEBR = drift('PERTEBR',  0.130000, 'DriftPass');
+PERTELM = drift('PERTELM',  0.30000, 'DriftPass');
+PERTSLM = drift('PERTSLM',  0.30000, 'DriftPass');
+PERTSBR = drift('PERTSBR',  0.130000, 'DriftPass');
+
+% QUADRUPOLES 
+L= 0.15/2;
+QP1  =  quadrupole('QP1', L,  4.17582 , 'QuadLinearPass');
+QP2  =  quadrupole('QP2', L, -2.78267 , 'QuadLinearPass');
+QP3  =  quadrupole('QP3', L, -2.61001 , 'QuadLinearPass');
+QP4  =  quadrupole('QP4', L,  4.29826   , 'QuadLinearPass');
+QP5  =  quadrupole('QP5', L,  4.94250   , 'QuadLinearPass');
+QP6  =  quadrupole('QP6', L, -4.94777  , 'QuadLinearPass');
+QP7  =  quadrupole('QP7', L,  4.92238  , 'QuadLinearPass');
+QDBOO=  quadrupole('QDBOO', 0.2,  -0.891375 , 'QuadLinearPass');
+
+% Q1 = [QP1 QP1];
+% Q2 = [QP2 QP2];
+% Q3 = [QP3 QP3];
+% Q4 = [QP4 QP4];
+% Q5 = [QP5 QP5];
+% Q6 = [QP6 QP6];
+% Q7 = [QP7 QP7];
+%% EN attente d'éléments coupés en deux
+L= 0.15; 
+Q1  =  quadrupole('QP', L,  4.17582 , 'QuadLinearPass');
+Q2  =  quadrupole('QP', L, -2.78267 , 'QuadLinearPass');
+Q3  =  quadrupole('QP', L, -2.61001 , 'QuadLinearPass');
+Q4  =  quadrupole('QP', L,  4.29826   , 'QuadLinearPass');
+Q5  =  quadrupole('QP', L,  4.94250   , 'QuadLinearPass');
+Q6  =  quadrupole('QP', L, -4.94777  , 'QuadLinearPass');
+Q7  =  quadrupole('QP', L,  4.92238  , 'QuadLinearPass');
+
+
+%% Vertical Correctors 
+CV  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+CV1  =  corrector('CV1',0.0,[0 0],'CorrectorPass');
+CV2  =  corrector('CV2',0.0,[0 0],'CorrectorPass');
+CV3  =  corrector('CV3',0.0,[0 0],'CorrectorPass');
+
+%% Horizontal Correctors 
+CH  =  corrector('CH',0.0,[0 0],'CorrectorPass');
+CH1  =  corrector('CH1',0.0,[0 0],'CorrectorPass');
+CH2  =  corrector('CH2',0.0,[0 0],'CorrectorPass');
+CH3  =  corrector('CH3',0.0,[0 0],'CorrectorPass');
+CH4  =  corrector('CH4',0.0,[0 0],'CorrectorPass');
+
+% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+theta = -15*pi/180;
+fullgap = 0.105*0.724*2/6*1.3815;
+BEND  =  rbend2('BEND', 0.30, theta, theta/2, theta/2, 0.0, ...
+                fullgap,'BendLinearFringeTiltPass');
+
+% {** septa booster **}
+% beta_gap=0.03/6;
+% tracy_gap=beta_gap*0.724*2;
+theta = -7.5*pi/180;
+fullgap= 0.03/6*0.724*2; %*1.3815;
+L = 0.30;
+SEP     = rbend2('SEP', L,  theta, theta/2, theta/2, 0.0, fullgap, 'BendLinearFringeTiltPass');
+SEPup   = rbend2('SEPup', L/2, theta/2, theta/2, 0.0, 0.0,  fullgap, 'BendLinearFringeTiltPass');
+SEPdown = rbend2('SEPdown', L/2, theta/2, 0.0, theta/2, 0.0,  fullgap, 'BendLinearFringeTiltPass');
+
+% Begin Lattice
+%%  Superperiods  
+LINE2 = [ ... 
+    SDL1       SDL1A     QP1       QP1       SDL2       CH1        SDL2B     ...
+    QP2        QP2       SDL3      CV1       SDL3B      QP3        QP3    ...
+    SDL4       SDL4B     QP4       QP4       SDL5H1     CH2        SDL5H2     ...
+    ECR1       SDL5C     BEND      SDL6      COLL1      SDL6B      COLL2      ...
+    SDL6T      QP5       QP5       SDL7      CH3        SDL7B      CV2        ...
+    SDL8       QP6       QP6       SDL8B     BEND       SDL9       ECR2    ...
+    SDL0       QP7       QP7       SDL9B     SDL0C      CV3        SDL0B1     ...
+    ECR3       SDL0B     SEPup     CH4       SEPdown    SBOO1      QDBOO      ...
+    KICKQD     QDBOO  ...    
+    SBOO2      SBOO3     PERTEBR   PERTELM   PERTM      PERTSLM    PERTSBR    ...
+    SBOO3      ECR4      SBOO4
+];
+
+LINE = [ ... 
+    SDL1       SDL1A     Q1       SDL2       CH        SDL2B     ...
+    Q2         SDL3      CV       SDL3B      Q3        ...
+    SDL4       SDL4B     Q4       SDL5H1     CH        SDL5H2     ...
+    ECR1       SDL5C     BEND      SDL6      COLL1      SDL6B      COLL2      ...
+    SDL6T      Q5       SDL7      CH        SDL7B      CV        ...
+    SDL8       Q6       SDL8B     BEND       SDL9       ECR2    ...
+    SDL0       Q7       SDL9B     SDL0C      CV        SDL0B1     ...
+    ECR3       SDL0B     SEPup     CH       SEPdown    SBOO1      QDBOO      ...
+    KICKQD     QDBOO  ...    
+    SBOO2      SBOO3     PERTEBR   PERTELM   PERTM      PERTSLM    PERTSBR    ...
+    SBOO3      ECR4      SBOO4
+];
+
+ELIST = [DEBUT, LINE, FIN];
+
+THERING=cell(size(ELIST));
+for i=1:length(THERING)
+    THERING{i} = FAMLIST{ELIST(i)}.ElemData;
+    FAMLIST{ELIST(i)}.NumKids=FAMLIST{ELIST(i)}.NumKids+1;
+    FAMLIST{ELIST(i)}.KidsList = [FAMLIST{ELIST(i)}.KidsList i];
+end
+
+%% compute total length
+
+L0_tot=0;
+for i=1:length(THERING)
+    L0_tot=L0_tot+THERING{i}.Length;
+end
+
+disp('** Done **');
Index: /trunk/machine/SOLEIL/LT1/aoinit.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/aoinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/aoinit.m	(revision 17)
@@ -0,0 +1,45 @@
+function aoinit(SubMachineName)
+%AOINIT - Initialization function for the Matlab Middle Layer (MML)
+%
+%
+%  See Also LT1init, setpathsoleil, setoperationalmode, updateatindex
+
+% Written by Laurent S. Nadolski
+
+
+if exist('SubMachineName', 'var') && ~strcmpi(SubMachineName, 'LT1')
+    error('Wrong SubMachine %s', SubMachineName)
+end
+
+% The path should not be modified in standalone mode
+if ~isdeployed_local
+
+    MMLROOT = getmmlroot;
+    
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1OpsData'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1', 'Lattices'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1', 'fae'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1', 'emittance'));
+
+    % Make sure mml is high on the path
+    addpath(fullfile(MMLROOT, 'mml'),'-begin');
+
+    disp(['TANGO/MATLAB binding version: ' tango_version])
+    disp('Startup file for Matlab Middle Layer read with success');
+
+end
+
+% Initialize the MML for machine
+
+LT1init;
+
+function RunTimeFlag = isdeployed_local
+% isdeployed is not in matlab 6.5
+V = version;
+if str2double(V(1,1)) < 7
+    RunTimeFlag = 0;
+else
+    RunTimeFlag = isdeployed;
+end
+
Index: /trunk/machine/SOLEIL/LT1/emittance/ellipseH_v16.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/ellipseH_v16.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/ellipseH_v16.m	(revision 17)
@@ -0,0 +1,364 @@
+function varargout = ellipseH_v16(varargin)  % EN COURS !!!!!!
+% ellipseH_v16 M-file for ellipseH_v16.fig
+%      ellipseH_v16, by itself, creates a new ellipseH_v16 or raises the existing
+%      singleton*.
+%
+%      H = ellipseH_v16 returns the handle to a new ellipseH_v16 or the handle to
+%      the existing singleton*.
+%
+%      ellipseH_v16('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ellipseH_v16.M with the given input arguments.
+%
+%      ellipseH_v16('Property','Value',...) creates a new ellipseH_v16 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before ellipseH_v16_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to ellipseH_v16_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help ellipseH_v16
+
+% Last Modified by GUIDE v2.5 26-Aug-2004 16:51:56
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @ellipseH_v16_OpeningFcn, ...
+                   'gui_OutputFcn',  @ellipseH_v16_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before ellipseH_v16 is made visible.
+function ellipseH_v16_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to ellipseH_v16 (see VARARGIN)
+
+% Choose default command line output for ellipseH_v16
+
+% Choose default command line output for test_1
+handles.output = hObject;
+
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller3 = varargin{1}.figure1;
+    
+    % Get values from Application-Defined data
+    handles.energie_edit38=findobj(allchild(handles.caller3),'Tag','energie_edit38');
+    IQ = getam('QP');
+    
+    twissx = getappdata(handles.caller3,'Twissx');
+    twissy = getappdata(handles.caller3,'Twissy');
+    epsx = sqrt(twissx(1)*twissx(2)-twissx(3)*twissx(3));
+    epsy = sqrt(twissy(1)*twissy(2)-twissy(3)*twissy(3));
+    
+    % calcul de l'ellipse en amont du quad 4 :
+    alphax = -twissx(3)/epsx;
+    betax = twissx(1)/epsx;
+    gammax = twissx(2)/epsx;
+    % xint = sqrt(epsx *epsx  / twissx(2));
+    % ymax = max(max(y1),max(y2));
+    % EPSX = xint * ymax
+    % disp('c''est incroyable')
+    
+    alphay = -twissy(3)/epsy;
+    betay = twissy(1)/epsy;
+    gammay = twissy(2)/epsy;
+    
+    % calcul de l'ellipse en amont de LT1 (point d'entrï¿œe de la ligne de "optics_LT1") :  
+    global THERING
+    index = atindex(THERING);
+    ao = getao;
+    valQ = getam('QP');
+    % ï¿œ introduire quand OK
+    setsp('QP',valQ,'model');
+    
+    % en attente de dï¿œbogage k2amp
+    valD = getam('BEND');
+    energie = bend2GeV('BEND',valD);
+    setenergymodel(energie);
+    setsp('BEND',valD,'model');
+    indQ = ao.QP.AT.ATIndex;
+    lastind = indQ(4,1);
+    res = inverseline(THERING , lastind ,  betax , betay ,- alphax ,- alphay );
+    betax0 = res(1,1);
+    betay0 = res(1,2);
+    alphax0 = res(2,1);
+    alphay0 = res(2,2);
+    gammax0 = (1 + alphax0*alphax0) / betax0 ;
+    gammay0 = (1 + alphay0*alphay0) / betay0 ;
+
+    % ï¿œcrire resultats en entrï¿œe de ligne thï¿œorique
+    Namebeta = strcat('beta_edit',num2str((5-1)*3 + 1));
+    Namegamma = strcat('gamma_edit',num2str((5-1)*3 + 2));
+    Namealpha = strcat('alpha_edit',num2str((5-1)*3 + 3));
+    set(handles.(Namebeta),'String',sprintf('%3.2f',betax0));
+    set(handles.(Namegamma),'String',sprintf('%3.2f',gammax0));
+    set(handles.(Namealpha),'String',sprintf('%3.2f',alphax0));
+    
+%     Namebeta = strcat('beta_edit',num2str((6-1)*3 + 1));
+%     Namegamma = strcat('gamma_edit',num2str((6-1)*3 + 2));
+%     Namealpha = strcat('alpha_edit',num2str((6-1)*3 + 3));
+%     set(handles.(Namebeta),'String',sprintf('%3.2f',betay0));
+%     set(handles.(Namegamma),'String',sprintf('%3.2f',gammay0));
+%     set(handles.(Namealpha),'String',sprintf('%3.2f',alphay0));
+    
+    %%% parameters at the entrance of the line
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [betax0 betay0];
+    twissdatain.alpha= [alphax0 alphay0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+
+    index = atindex(THERING);
+    
+    ECR0 = index.BPM(1);
+    ECR1 = index.BPM(2);
+    FAE = index.COLL ;
+    
+    %%% get twiss paramaters at typical points
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    
+    betaxECR0 = TD(ECR0).beta(1);
+    alphaxECR0 = TD(ECR0).alpha(1);
+    gammaxECR0  = (1 + alphaxECR0*alphaxECR0) / betaxECR0;
+%     betayECR0 = TD(ECR0).beta(2);
+%     alphayECR0 = TD(ECR0).alpha(2);
+%     gammayECR0  = (1 + alphayECR0*alphayECR0) / betayECR0;
+    
+    betaxECR1 = TD(ECR1).beta(1);
+    alphaxECR1 = TD(ECR1).alpha(1);
+    gammaxECR1  = (1 + alphaxECR1*alphaxECR1) / betaxECR1;
+%     betayECR1 = TD(ECR1).beta(2);
+%     alphayECR1 = TD(ECR1).alpha(2);
+%     gammayECR1  = (1 + alphayECR1*alphayECR1) / betayECR1;
+    
+    
+    graphe(1,epsx,betaxECR0,alphaxECR0,gammaxECR0,handles);
+    %graphe(3,epsy,betayECR0,alphayECR0,gammayECR0,handles);
+    graphe(2,epsx,betaxECR1,alphaxECR1,gammaxECR1,handles);
+    %graphe(4,epsy,betayECR1,alphayECR1,gammayECR1,handles);
+    
+    % Update handles structure
+    guidata(hObject, handles);
+
+else
+    
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes ellipseH_v16 wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+
+% 
+% --- Outputs from this function are returned to the command line.
+function varargout = ellipseH_v16_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;  % ???
+
+
+
+% % --- Executes on button press in pushbutton1.
+% function recommencer_pushbutton1_Callback(hObject, eventdata, handles)
+% % hObject    handle to pushbutton1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+function beta_edit1_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit4_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit7_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit10_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit13_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit16_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit2_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit5_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit8_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit11_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit14_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit17_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit3_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit6_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit9_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit12_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit15_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit18_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+
+function beta_edit1_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit4_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit7_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit10_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit13_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit16_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit2_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit5_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit8_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit11_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit14_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit17_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit3_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit6_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit9_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit12_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit15_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit18_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+
+
+
+
+
+
+function twissdebut = inverseline(THERING,lastind,betax0,betay0,alphax0,alphay0)
+% inversion de la partie droite de LT1 
+
+global INVSTRAIGHTLINE;
+INVSTRAIGHTLINE = { };
+for i=1:lastind-1
+    INVSTRAIGHTLINE{i} = THERING{lastind-i};
+end
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [betax0 betay0];
+twissdatain.alpha= [alphax0 alphay0];
+
+% tests
+%twissdatain.beta= [23.247 7.9566];
+%twissdatain.alpha= [10.946 -5.2186];
+%wissdatain.beta= [9.4707   18.0971];
+%twissdatain.alpha= [-6.9443    7.9509];
+
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+
+%%% get twiss paramaters
+TD = twissline(INVSTRAIGHTLINE,0.0,twissdatain,1:length(INVSTRAIGHTLINE),'chroma');
+twissdebut(1,:) = TD(end).beta;
+twissdebut(2,:) = TD(end).alpha;
+
+
+function graphe(naxe,epsilon,beta,alpha,gamma,handles)
+
+name=['axes' num2str(naxe)];
+axes(handles.(name)); %axis image ; 
+
+xx = -sqrt(epsilon * beta):sqrt(epsilon * beta)/50:sqrt(epsilon * beta);
+zx1 = - alpha * xx / beta + sqrt(epsilon * beta - xx.*xx) / beta;
+zx2 = - alpha * xx / beta - sqrt(epsilon * beta - xx.*xx) / beta;
+
+plot(xx*1000,real(zx1*1000),'r',xx*1000,real(zx2*1000),'r')
+xlim([-5 5]);
+%ylim([-5 5]);
+
+Namebeta = strcat('beta_edit',num2str((naxe-1)*3 + 1));
+Namegamma = strcat('gamma_edit',num2str((naxe-1)*3 + 2));
+Namealpha = strcat('alpha_edit',num2str((naxe-1)*3 + 3));
+set(handles.(Namebeta),'String',sprintf('%3.2f',beta));
+set(handles.(Namegamma),'String',sprintf('%3.2f',gamma));
+set(handles.(Namealpha),'String',sprintf('%3.2f',alpha));
Index: /trunk/machine/SOLEIL/LT1/emittance/ellipse_v15.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/ellipse_v15.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/ellipse_v15.m	(revision 17)
@@ -0,0 +1,380 @@
+function varargout = ellipse_v15(varargin)  % EN COURS !!!!!!
+% ellipse_v15 M-file for ellipse_v15.fig
+%      ellipse_v15, by itself, creates a new ellipse_v15 or raises the existing
+%      singleton*.
+%
+%      H = ellipse_v15 returns the handle to a new ellipse_v15 or the handle to
+%      the existing singleton*.
+%
+%      ellipse_v15('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ellipse_v15.M with the given input arguments.
+%
+%      ellipse_v15('Property','Value',...) creates a new ellipse_v15 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before ellipse_v15_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to ellipse_v15_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help ellipse_v15
+
+% Last Modified by GUIDE v2.5 26-Aug-2004 16:51:56
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @ellipse_v15_OpeningFcn, ...
+                   'gui_OutputFcn',  @ellipse_v15_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before ellipse_v15 is made visible.
+function ellipse_v15_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to ellipse_v15 (see VARARGIN)
+
+% Choose default command line output for ellipse_v15
+
+% Choose default command line output for test_1
+handles.output = hObject;
+
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller3 = varargin{1}.figure1;
+    
+    % Get values from Application-Defined data
+    handles.energie_edit38=findobj(allchild(handles.caller3),'Tag','energie_edit38');
+   %Ã¹ IQ = getam('QP');
+    
+    twissx = getappdata(handles.caller3,'Twissx');
+    twissy = getappdata(handles.caller3,'Twissy');
+    epsx = sqrt(twissx(1)*twissx(2)-twissx(3)*twissx(3));
+    epsy = sqrt(twissy(1)*twissy(2)-twissy(3)*twissy(3));
+    
+    % calcul de l'ellipse en amont du quad 4 :
+    alphax = -twissx(3)/epsx;
+    betax = twissx(1)/epsx;
+    gammax = twissx(2)/epsx;
+    % xint = sqrt(epsx *epsx  / twissx(2));
+    % ymax = max(max(y1),max(y2));
+    % EPSX = xint * ymax
+    % disp('c''est incroyable')
+    
+    alphay = -twissy(3)/epsy;
+    betay = twissy(1)/epsy;
+    gammay = twissy(2)/epsy;
+    
+    
+    
+    
+    % calcul de l'ellipse en amont de LT1 (point d'entrï¿œe de la ligne de "optics_LT1") :  
+    global THERING
+    index = atindex(THERING);
+    
+    energie = str2double(get(handles.energie_edit38,'String'))
+    setenergymodel(energie/1000);
+    ao = getao;
+    valQ = getam('QP');
+    % ï¿œ introduire quand OK
+    setsp('QP',valQ,'model');
+    
+    % en attente de dï¿œbogage k2amp
+    %%valD = getam('BEND');
+    %%energie = bend2GeV('BEND',valD);
+    %
+    
+    
+    
+    %%setsp('BEND',valD,'model');
+    indQ = ao.QP.AT.ATIndex;
+    lastind = indQ(4,1);
+    res = inverseline(THERING , lastind ,  betax , betay ,- alphax ,- alphay );
+    betax0 = res(1,1);
+    betay0 = res(1,2);
+    alphax0 = res(2,1);
+    alphay0 = res(2,2);
+    gammax0 = (1 + alphax0*alphax0) / betax0 ;
+    gammay0 = (1 + alphay0*alphay0) / betay0 ;
+
+    % ï¿œcrire resultats en entrï¿œe de ligne thï¿œorique
+    Namebeta = strcat('beta_edit',num2str((5-1)*3 + 1));
+    Namegamma = strcat('gamma_edit',num2str((5-1)*3 + 2));
+    Namealpha = strcat('alpha_edit',num2str((5-1)*3 + 3));
+    set(handles.(Namebeta),'String',sprintf('%3.2f',betax0));
+    set(handles.(Namegamma),'String',sprintf('%3.2f',gammax0));
+    set(handles.(Namealpha),'String',sprintf('%3.2f',-alphax0));
+    
+    Namebeta = strcat('beta_edit',num2str((6-1)*3 + 1));
+    Namegamma = strcat('gamma_edit',num2str((6-1)*3 + 2));
+    Namealpha = strcat('alpha_edit',num2str((6-1)*3 + 3));
+    set(handles.(Namebeta),'String',sprintf('%3.2f',betay0));
+    set(handles.(Namegamma),'String',sprintf('%3.2f',gammay0));
+    set(handles.(Namealpha),'String',sprintf('%3.2f',-alphay0));
+    
+    %%% parameters at the entrance of the line
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [betax0 betay0];
+    twissdatain.alpha= -[alphax0 alphay0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+
+    index = atindex(THERING);
+    
+    ECR0 = index.BPM(1);
+    ECR1 = index.BPM(2);
+    FAE = index.COLL ;
+    
+    %%% get twiss paramaters at typical points
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    
+    betaxECR0 = TD(ECR0).beta(1);
+    alphaxECR0 = TD(ECR0).alpha(1);
+    gammaxECR0  = (1 + alphaxECR0*alphaxECR0) / betaxECR0;
+    betayECR0 = TD(ECR0).beta(2);
+    alphayECR0 = TD(ECR0).alpha(2);
+    gammayECR0  = (1 + alphayECR0*alphayECR0) / betayECR0;
+    
+    betaxECR1 = TD(ECR1).beta(1);
+    alphaxECR1 = TD(ECR1).alpha(1);
+    gammaxECR1  = (1 + alphaxECR1*alphaxECR1) / betaxECR1;
+    betayECR1 = TD(ECR1).beta(2);
+    alphayECR1 = TD(ECR1).alpha(2);
+    gammayECR1  = (1 + alphayECR1*alphayECR1) / betayECR1;
+    
+    
+    graphe(1,epsx,betaxECR0,alphaxECR0,gammaxECR0,handles);
+    graphe(3,epsy,betayECR0,alphayECR0,gammayECR0,handles);
+    graphe(2,epsx,betaxECR1,alphaxECR1,gammaxECR1,handles);
+    graphe(4,epsy,betayECR1,alphayECR1,gammayECR1,handles);
+    
+    % ici erreur : on prend la date de construction de l'ellipse et non pas
+    % le moment de la prise des donnÃ©es... bon..
+    set(handles.date_edit32,'String',datestr(clock,29));
+    set(handles.energie_edit33,'String',Str2num(get(handles.energie_edit38,'String')));
+    set(handles.emitH_edit34,'String',num2str(epsx*1e6));
+    set(handles.emitV_edit35,'String',num2str(epsy*1e6));
+    
+    % Update handles structure
+    guidata(hObject, handles);
+
+else
+    
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes ellipse_v15 wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+
+% 
+% --- Outputs from this function are returned to the command line.
+function varargout = ellipse_v15_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;  % ???
+
+
+
+% % --- Executes on button press in pushbutton1.
+% function recommencer_pushbutton1_Callback(hObject, eventdata, handles)
+% % hObject    handle to pushbutton1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+function beta_edit1_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit4_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit7_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit10_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit13_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit16_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit2_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit5_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit8_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit11_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit14_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit17_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit3_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit6_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit9_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit12_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit15_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit18_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+
+function beta_edit1_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit4_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit7_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit10_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit13_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit16_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit2_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit5_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit8_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit11_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit14_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit17_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit3_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit6_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit9_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit12_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit15_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit18_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+
+
+
+
+
+
+function twissdebut = inverseline(THERING,lastind,betax0,betay0,alphax0,alphay0)
+% inversion de la partie droite de LT1 
+
+global INVSTRAIGHTLINE;
+INVSTRAIGHTLINE = { };
+for i=1:lastind-1
+    INVSTRAIGHTLINE{i} = THERING{lastind-i};
+end
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [betax0 betay0];
+twissdatain.alpha= [alphax0 alphay0];
+
+% tests
+%twissdatain.beta= [23.247 7.9566];
+%twissdatain.alpha= [10.946 -5.2186];
+%wissdatain.beta= [9.4707   18.0971];
+%twissdatain.alpha= [-6.9443    7.9509];
+
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+
+%%% get twiss paramaters
+TD = twissline(INVSTRAIGHTLINE,0.0,twissdatain,1:length(INVSTRAIGHTLINE),'chroma');
+twissdebut(1,:) = TD(end).beta;
+twissdebut(2,:) = TD(end).alpha;
+
+
+function graphe(naxe,epsilon,beta,alpha,gamma,handles)
+
+name=['axes' num2str(naxe)];
+axes(handles.(name)); %axis image ; 
+
+xx = -sqrt(epsilon * beta):sqrt(epsilon * beta)/50:sqrt(epsilon * beta);
+zx1 = - alpha * xx / beta + sqrt(epsilon * beta - xx.*xx) / beta;
+zx2 = - alpha * xx / beta - sqrt(epsilon * beta - xx.*xx) / beta;
+
+plot(xx*1000,real(zx1*1000),'r',xx*1000,real(zx2*1000),'r')
+xlim([-5 5]);
+%ylim([-5 5]);
+
+Namebeta = strcat('beta_edit',num2str((naxe-1)*3 + 1));
+Namegamma = strcat('gamma_edit',num2str((naxe-1)*3 + 2));
+Namealpha = strcat('alpha_edit',num2str((naxe-1)*3 + 3));
+set(handles.(Namebeta),'String',sprintf('%3.2f',beta));
+set(handles.(Namegamma),'String',sprintf('%3.2f',gamma));
+set(handles.(Namealpha),'String',sprintf('%3.2f',alpha));
Index: /trunk/machine/SOLEIL/LT1/emittance/emittance_v15.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/emittance_v15.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/emittance_v15.m	(revision 17)
@@ -0,0 +1,5020 @@
+
+function varargout = emittance_v2(varargin)
+% EMITTANCE_V2 M-file for emittance_v2.fig
+%      EMITTANCE_V2, by itself, creates a new EMITTANCE_V2 or raises the existing
+%      singleton*.
+%
+%      H = EMITTANCE_V2 returns the handle to a new EMITTANCE_V2 or the handle to
+%      the existing singleton*.
+%
+%      EMITTANCE_V2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in EMITTANCE_V2.M with the given input arguments.
+%
+%      EMITTANCE_V2('Property','Value',...) creates a new EMITTANCE_V2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before emittance_v2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to emittance_v2_OpeningFcn via varargin.
+%
+
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help emittance_v2
+
+% Last Modified by GUIDE v2.5 20-May-2005 09:14:01
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @emittance_v2_OpeningFcn, ...
+                   'gui_OutputFcn',  @emittance_v2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before emittance_v2 is made visible.
+function emittance_v2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to emittance_v2 (see VARARGIN)
+
+% initialisation de l'ACCELERATOR_OBJECT
+LT1init
+
+% creation nouveau champ
+handles.output = hObject;
+handles.number_errors=0.;
+handles.nbsigmas=0;
+
+%essai
+%handles.nbremove=0;
+handles.nbrestore=0;
+
+val=0;
+faisc=[];
+st= struct([]);
+cellule=cell(1,1);
+%st2= struct([]);
+%st3=struct([]);
+handles.Sauver=struct([]);
+vect_colonne_noire=[];
+vect_ligne_noire=[];
+directory_principale='';
+directory_sauvegarde='';
+setappdata(handles.figure1,'tailles',faisc);
+setappdata(handles.figure1,'nbenregistrs',2);
+setappdata(handles.figure1,'ResultsData',st);
+setappdata(handles.figure1,'nbenregistrements',st);
+setappdata(handles.figure1,'Sauver',st);
+setappdata(handles.figure1,'Ecran',cellule);
+setappdata(handles.figure1,'largeur_option',val);
+setappdata(handles.figure1,'vect_colonne_noire',vect_colonne_noire);
+setappdata(handles.figure1,'vect_ligne_noire',vect_ligne_noire);
+setappdata(handles.figure1, 'G',0.038);
+% initialisation drapeau pour dialogue 'sauvegarde sur disque' ____
+setappdata(handles.figure1,'init_sauvegarde',val);
+% directory principale (dï¿œpend de l'utilisateur !!!)
+setappdata(handles.figure1,'directory_principale',directory_principale);
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+handles.nbenregistrs=getappdata(handles.figure1,'nbenregistrs')
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',.333,'TasksToExecute',Inf);
+timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+% button group sur l'image en continu
+h = uibuttongroup('visible','off','Position',[0.05 .9 .12 .08],...
+    'Title','Image','TitlePosition','centertop');
+u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[2 .9 45 30],'parent',h,'HandleVisibility','off');
+u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+    'pos',[50 .9 45 30],'parent',h,'HandleVisibility','off');
+
+% set(h,'SelectionChangeFcn',@selcbk);
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u2);  % No selection
+set(h,'Visible','on');
+
+% positionne par dÃ©faut la lentille basse (plus de sensibilitÃ© pour les rÃ©glages)
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+%%%if strcmp(get(hObject,'Visible'),'off')
+%%%    initialize_gui(hObject, handles);
+%%%end
+
+% UIWAIT makes emittance_v2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = emittance_v2_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% % --- Executes during object creation, after setting all properties.
+
+initialize_gui(gcbf, handles);
+
+function initialize_gui(fig_handle, handles)
+
+
+%____________________________________________________________________
+% dï¿œfinir les alias pour les devices 
+device_name.videograbber = 'lt1/dg/emit-vg';
+device_name.calibration = 'lt1/dg/emit-calib';
+device_name.iris = 'lt1/dg/emit-iris';
+device_name.lentille_haute = 'lt1/dg/emit-l.haut';
+device_name.lentille_basse = 'lt1/dg/emit-l.bas';
+device_name.miroir = 'lt1/dg/emit-mc';
+device_name.backlight = 'lt1/dg/emit-bl';
+device_name.ecran = 'lt1/dg/emit-ecr';
+device_name.Q1 = 'lt1/AE/Q.1';
+device_name.Q2 = 'lt1/AE/Q.2';
+device_name.Q3 = 'lt1/AE/Q.3';
+device_name.Q4 = 'lt1/AE/Q.4';
+device_name.H1 = 'lt1/AE/CH.1';
+device_name.H2 = 'lt1/AE/CH.2';
+device_name.V1 = 'lt1/AE/CV.1';
+setappdata(handles.figure1,'device_name',device_name);
+
+%____________________________________________________________________
+% directory de sauvegarde en attente
+
+%uibuttongroup
+%     prompt={'entrez votre directory de travail'};
+%     name='DIRECTORY PRINCIPALE';
+%     numlines=1;
+%     defaultanswer={'/home/PM/tordeux/matlab_test/'};
+% 
+%     options.Resize='on';
+%     options.WindowStyle='normal';
+%     options.Interpreter='tex';
+%     nom=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     if ~isempty(nom)
+%         setappdata(handles.figure1,'directory_principale',nom{:});
+%     end
+% 
+%     directory_principale=getappdata(handles.figure1,'directory_principale');
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+directory_principale = getfamilydata('Directory','EMITData');
+phrase=strcat(directory_principale ,'?');
+set(handles.directory_sauvegarde_edit28,'String',phrase);
+setappdata(handles.figure1,'directory_principale',directory_principale);
+
+%____________________________________________________________________
+% inscrire les courants effectifs des aimants de la machine
+
+% valQ1= (read_magnet(device_name.Q1)); 
+% set(handles.Q1courant_edit,'String',sprintf('%3.2f',valQ1));
+% resQ1 = str2double(get(handles.Q1courant_edit,'String'));
+% setappdata(handles.figure1,'Q1courant',resQ1);
+% 
+% valQ2= (read_magnet(device_name.Q2)); 
+% set(handles.Q2courant_edit,'String',sprintf('%3.2f',valQ2));
+% resQ2 = str2double(get(handles.Q2courant_edit,'String'));
+% setappdata(handles.figure1,'Q2courant',resQ2);
+% 
+% valQ3= (read_magnet(device_name.Q3)); 
+% set(handles.Q3courant_edit,'String',sprintf('%3.2f',valQ3));
+% resQ3 = str2double(get(handles.Q3courant_edit,'String'));
+% setappdata(handles.figure1,'Q3courant',resQ3);
+% 
+% valQ4= (read_magnet(device_name.Q4)); 
+% set(handles.Q4courant_edit,'String',sprintf('%3.2f',valQ4));
+% resQ4 = str2double(get(handles.Q4courant_edit,'String'));
+% setappdata(handles.figure1,'Q4courant',resQ4);
+% 
+% valH1= (read_magnet(device_name.H1)); 
+% set(handles.H1courant_edit,'String',sprintf('%3.2f',valH1));
+% resH1 = str2double(get(handles.H1courant_edit,'String'));
+% setappdata(handles.figure1,'H1courant',resH1);
+% 
+% valH2= (read_magnet(device_name.H2)); 
+% set(handles.H2courant_edit,'String',sprintf('%3.2f',valH2));
+% resH2 = str2double(get(handles.H2courant_edit,'String'));
+% setappdata(handles.figure1,'H2courant',resH2);
+% 
+% valV1= (read_magnet(device_name.V1)); 
+% set(handles.V1courant_edit,'String',sprintf('%3.2f',valV1));
+% resV1 = str2double(get(handles.V1courant_edit,'String'));
+% setappdata(handles.figure1,'V1courant',resV1);
+
+%____________________________________________________________________
+% insrire une valeur par dï¿œfaut de calibration ???
+set(handles.G_edit12,'String',num2str(38));
+clear('figh');
+
+%____________________________________________________________________
+% mettre off le bouton calibration de l'image
+set([handles.calibOFF_radiobutton6],'Value',1);
+
+%____________________________________________________________________
+% exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+ handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+ handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+ ,handles.backlight_popupmenu3,...
+ handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+ handles.qualite_edit23,handles.G_edit12,...
+    handles.pos1_edit29,handles.pos2_edit30...
+    handles.text45,handles.text39,handles.text26,handles.text41...
+    handles.calib_pushbutton7],'Enable','off')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+%____________________________________________________________________
+% positionner le miroir HORS, eteindre le backlight
+% tango_command_inout('lt1/emit/mirror','Off');
+% tango_command_inout('lt1/emit/backlight','SetBrightness',uint16(0));
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+%___________________________________________________________________
+% position des lentilles pour les differents grandissements, en nombre de pas
+setappdata(handles.figure1,'posl1Gmax',3000);
+setappdata(handles.figure1,'posl2Gmax',35130); %35130
+setappdata(handles.figure1,'posl1Gmoy',8650);
+setappdata(handles.figure1,'posl2Gmoy',26500);
+setappdata(handles.figure1,'posl1Gmin',0);
+setappdata(handles.figure1,'posl2Gmin',3925);
+
+%____________________________________________________________________
+% positionner les voyants des butï¿œes lentilles ï¿œ leur valeur vraies
+
+%dev=device_name.lentille_haute;
+
+
+dev=device_name.lentille_haute;
+edit_butee_haute = handles.LHBH_edit25;
+edit_butee_basse = handles.LHBB_edit24;
+
+test_butee_axis(dev,edit_butee_haute,edit_butee_haute)
+                            %errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                % Blimitswitch.value = tango_read_attribute(dev,'backwardLimitSwitch');
+                % Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+                % 
+                % % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+                % % errorstatus=3  limitswitch forward
+                % % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+                % % errorstatus=4  limitswitch backward
+                % 
+                % if (tango_error == -1)
+                %         %- handle error
+                %         tango_print_error_stack;
+                %         return;
+                %         errordlg('erreur tango !','Erreur');
+                % 
+                % else
+                %         % cas ou l'axe est en butee backward (en haut)
+                %         if isequal(Blimitswitch.value,1)
+                %                 %if isequal(errorstatus,22)|isequal(errorstatus,4)
+                %             set(handles.LHBH_edit25,'BackgroundColor','red');
+                %         end
+                %         % cas ou l'axe est en butee forward (en bas)
+                %         if isequal(Flimitswitch,1)
+                %                 %if isequal(errorstatus,21)|isequal(errorstatus,3)
+                %             set(handles.LHBB_edit24,'BackgroundColor','red');
+                %         end
+                % 
+                % end         
+
+
+dev=device_name.lentille_basse;
+edit_butee_haute = handles.LBBH_edit26;
+edit_butee_basse = handles.LBBB_edit27;
+test_butee_axis(dev,edit_butee_haute,edit_butee_haute)
+                % errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                % 
+                % if (tango_error == -1)
+                %         %- handle error
+                %         tango_print_error_stack;
+                %         return;
+                %         errordlg('erreur tango !','Erreur');
+                % 
+                % else
+                %         % cas ou l'axe est en butee backward (en haut)
+                %         if isequal(errorstatus,22)|isequal(errorstatus,4)
+                %             set(handles.LBBH_edit26,'BackgroundColor','red');
+                %         end
+                %         % cas ou l'axe est en butee forward (en bas)
+                %         if isequal(errorstatus,21)|isequal(errorstatus,3)
+                %             set(handles.LBBB_edit27,'BackgroundColor','red');
+                %         end
+                % end           
+
+
+%____________________________________________________________________
+% allumer en rouge le grandissement effectif
+
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+
+dev1=device_name.lentille_haute;
+dev2=device_name.lentille_basse;
+
+str1=tango_read_attribute(dev1,'position');
+str2=tango_read_attribute(dev2,'position');
+position1=str1.value(1);
+position2=str2.value(1);
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas du grandissement max
+        if isequal(position1,posl1Gmax)&isequal(position2,posl2Gmax)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement moyen
+        if isequal(position1,posl1Gmoy)&isequal(position2,posl2Gmoy)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement min
+        if isequal(position1,posl1Gmin)&isequal(position2,posl2Gmin)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        end
+
+end           
+
+%________________________________________________________________________
+% ï¿œcrire les valeurs effectives de positions des lentilles
+
+pos1=tango_read_attribute(device_name.lentille_haute,'position');
+set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+pos2=tango_read_attribute(device_name.lentille_basse,'position');
+set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+
+% --- Executes during object creation, after setting all properties.
+function lent1_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lent1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% du temps ou il y avait des sliders....
+%         % --- Executes on slider movement.
+%         function lent1_slider1_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_slider1 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent1_edit5,'String',...
+%             num2str(get(handles.lent1_slider1,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent1_edit5_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+
+
+%         function lent1_edit5_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent1_edit5 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent1_edit5 as a double
+% 
+% 
+%         val = str2double(get(handles.lent1_edit5,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent1_slider1,'Min') & ...
+%             val <= get(handles.lent1_slider1,'Max')
+%             set(handles.lent1_slider1,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent1_edit5,'String',...
+%             ['Caramba ',...
+%         %num2str(handles.number_errors),' Times']);
+%             '']);
+%         end
+% 
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_slider2_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: slider controls usually have a light gray background, change
+%         %       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+%         usewhitebg = 1;
+%         if usewhitebg
+%             set(hObject,'BackgroundColor',[.9 .9 .9]);
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+%         % --- Executes on slider movement.
+%         function lent2_slider2_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent2_emitV_edit19,'String',...
+%             num2str(get(handles.lent2_slider2,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_emitV_edit19_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+% 
+%         function lent2_emitV_edit19_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent2_emitV_edit19 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent2_emitV_edit19 as a double
+% 
+%         val = str2double(get(handles.lent2_emitV_edit19,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent2_slider2,'Min') & ...
+%             val <= get(handles.lent2_slider2,'Max')
+%             set(handles.lent2_slider2,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent2_emitV_edit19,'String',...
+%             ['Zut ',...
+%         %num2str(handles.number_errors),'']);
+%             '']);
+%         end
+
+% --- Executes on button press in calib_pushbutton7.
+function calib_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to calib_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% alias
+device_name=getappdata(handles.figure1,'device_name');
+%dev=device_name.videograbber;
+dev=device_name.calibration; % modification 10 oct 07
+
+% % % 
+tango_command_inout(dev,'Calibrate');
+%ATTENTION PEUT ETRE ATTRIBUTS  AVEC un SSSSS
+if isequal(tango_error,-1)
+    
+    %errordlg('erreur TANGO...','Error');
+    %tango_print_error_stack;
+    diag = tango_error_stack;
+    errordlg(diag(1).desc);
+else   
+    
+    res=tango_read_attribute(dev,'calibration_quality');
+    % on teste la qualitï¿œ de la calibration  FACTEUR 996.0
+    % le 10 septembre MATLAB a pris lamain sur le code de NL pour le
+    % critï¿œre. attention ï¿œ 990 on est dans les choux
+    if res.value>996.0
+        val=sprintf('%3.2f',res.value);
+        set(handles.qualite_edit23,'String',val);
+        %tango_read_attribute(dev,'x_magnification_factor');
+        tango_read_attribute(dev,'xMagFactor'); % modification 10 oct 07
+        val=sprintf('%2.1f',1000*ans.value);
+% %
+
+% %         % on inscrit en dur le grandissement
+% %         %toto = 14.4
+% % %         toto = 14.4
+% % %         val=sprintf('%2.1f',toto)
+        
+        set(handles.G_edit12,'String',val);
+        setappdata(handles.figure1, 'G',str2num(val)/1000)
+        
+        %dev='lt1/dg/emit-vg';
+        pause(1);
+        
+        %%%
+        %toto=tango_read_attribute(dev,'corrected_image');
+        toto=tango_read_attribute(dev,'correctedImage'); % modification 10 oct 07
+        figure(2);
+        imagesc(toto.value);
+        colormap(gray);
+       
+
+    else
+        errordlg('la calibration a echouï¿œe ...','Error'); 
+    end
+    
+end
+%%%
+
+
+
+% --- Executes during object creation, after setting all properties.
+function fit_popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in fit_popupmenu1.
+function fit_popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns fit_popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from fit_popupmenu1
+
+val = get(hObject,'Value');
+switch val
+case 1
+    largeur_option=0;
+case 2
+    % fit par gaussienne
+    largeur_option=1;
+
+case 3
+    % vrai rms
+    largeur_option=2;
+    
+case 4
+    % rayon ï¿œ X %
+    largeur_option=3;
+end
+setappdata(handles.figure1,'largeur_option',largeur_option);
+
+% --- Executes on button press in mesure_pushbutton8.
+function mesure_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to mesure_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%nbiterations=0;
+%nombre1=get(handles.fit_popupmenu1, 'String');
+
+popup_sel_index = get(handles.nbiter_popupmenu2, 'Value');
+nombre2=get(handles.nbiter_popupmenu2, 'String');
+Name = nombre2{popup_sel_index};
+nbiterat=str2num(Name(1));
+setappdata(handles.figure1, 'nbiterations',nbiterat);
+set(handles.nbiter_edit37,'String',Name(1));
+switch popup_sel_index
+    case 1
+         errordlg('selectionnez un nombre d''iterations','Error');
+	     %error('Select a number of acquisitions'); %exprimez votre choix 
+    case 2
+        %test de la pause : pause(10); 
+        show1imagesgui_15(handles);     
+         
+    case 3
+         show5imagesgui_15(handles);    
+    case 4
+         show10imagesgui(handles);
+        
+end
+
+
+% --- Executes on button press in plot_pushbutton.
+function plot_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to plot_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+handles.matrx=[];
+handles.matry=[];
+for ik=1:length(handles.ResultsData)
+    handles.matrx(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matrx(ik,2)=handles.ResultsData(ik).LargeurH;
+    errorx(ik)=2*handles.ResultsData(ik).sigmaH;
+    handles.matry(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matry(ik,2)=handles.ResultsData(ik).LargeurV;
+    errory(ik)=2*handles.ResultsData(ik).sigmaV;
+end
+
+clear('figure3');
+figure(3);
+tx1=handles.matrx(:,1)
+tx2=handles.matrx(:,2).*handles.matrx(:,2)
+
+ty1=handles.matry(:,1)
+ty2=handles.matry(:,2).*handles.matry(:,2)
+
+%plot(handles.matrx(:,1),handles.matrx(:,2),'d')
+%%plot(handles.matry(:,1),handles.matry(:,2),'d')
+    % %'--rs','LineWidth',2,...
+    % %                'MarkerEdgeColor','k',...
+    % %                'MarkerFaceColor','g',...
+    %  %               'MarkerSize',8)
+    % 
+    %  
+    % %%t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+    % %%y=[2.3 13.5 7. 0.85 1.8 6.3 22.]';
+    % %plot(t,y,'+'),grid on
+% % X = [ones(size(handles.matrx(:,1)))  handles.matrx(:,1)  handles.matrx(:,1).^2];
+% % a=X\handles.matrx(:,2);
+% % Tmin=min(handles.matrx(:,1));
+% % Tmax=max(handles.matrx(:,1));
+% % T=[Tmin:0.1:Tmax]';
+% % Z = [ones(size(T))  T  T.^2]*a;
+% % hold on
+% % plot(T,Z,'r-',handles.matrx(:,1),handles.matrx(:,2),'ro'), grid on
+% % 
+% % 
+% % Y = [ones(size(handles.matry(:,1)))  handles.matry(:,1)  handles.matry(:,1).^2];
+% % a=Y\handles.matry(:,2);
+% % Tmin=min(handles.matry(:,1));
+% % Tmax=max(handles.matry(:,1));
+% % T=[Tmin:0.1:Tmax]';
+% % Z = [ones(size(T))  T  T.^2]*a;
+% % hold on
+% % plot(T,Z,'b-',handles.matry(:,1),handles.matry(:,2),'b+'), grid on
+
+
+%test
+X = [ones(size(tx1))  tx1  tx1.^2];
+a=X\tx2;
+Tmin=min(tx1);
+Tmax=max(tx1);
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+%plot(T,Z,'r-',tx1,tx2,'ro'), grid on
+plot(tx1,tx2,'ro',T,Z,'r-'), grid on
+
+Y = [ones(size(ty1))  ty1  ty1.^2];
+a=Y\ty2;
+Tmin=min(ty1);
+Tmax=max(ty1);
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+%plot(T,Z,'b-',ty1,ty2,'b+'), grid on
+plot(ty1,ty2,'b+',T,Z,'b-'), grid on
+
+
+
+% exemple de label des axes avec symboles grecs :
+%xlabel('-\pi \leq \Theta \leq \pi')
+%ylabel('sin(\Theta)')
+%title('Plot of sin(\Theta)')
+%text(-pi/4,sin(-pi/4),'\leftarrow sin(-\pi\div4)',...
+%     'HorizontalAlignment','left')
+ 
+% nos labels
+xlabel('Courant quadrupolaire (A)')
+ylabel('Largeur faisceau (mm2)')
+legend('Mesures Horizontales','Fit Horizontal','Mesures verticales','Fit vertical','Location','North')
+title('Courbe de focalisation')
+
+% Q1courant de 1 ï¿œ 10 A
+%T=[1:0.1:10]';
+%Y = [ones(size(T))  T  T.^2]*a;
+%%figure(1);
+%hold on
+%figure(4)
+%plot(T,Y,'-',handles.matrx(:,1),handles.matrx(:,2),'o'), grid on
+%hold on
+
+% barre d'erreur
+% hold on
+% errorbar(handles.matrx(:,1),handles.matrx(:,2),errorx) 
+
+
+% --- Executes during object creation, after setting all properties.
+function Q1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function Q1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q1courant_edit as a double
+
+
+ecriture('Q1',handles)
+
+
+
+function ecriture(aimant,handles)
+
+device_name = getappdata(handles.figure1,'device_name');
+Name = strcat(aimant,'courant_edit');
+res = str2double(get(handles.(Name),'String'));
+valmax=tango_get_attribute_config(device_name.(aimant),'current');
+
+% if res > str2double(valmax.max_value)
+%     set(handles.(Name),'BackgroundColor','red');
+%     errordlg('Courant superieur ï¿œ valeur maximale !','ALARME');
+%     guidata(gcbo,handles);
+%     old = tango_read_attribute(device_name.(aimant),'current');
+%     set(handles.(Name),'String',num2str(old.value(1)));
+%     pause(2);
+%     set(handles.(Name),'BackgroundColor','green');
+% else
+    set(handles.(Name),'BackgroundColor','green');
+    Name2 =[aimant 'courant'];
+    setappdata(handles.figure1,Name2,res);
+    tango_write_attribute(device_name.(aimant),'current',res);
+% end
+
+
+% --- Executes during object creation, after setting all properties.
+function H1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function H1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H1courant_edit as a double
+
+ecriture('H1',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function V1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+
+% --------------------------------------------------------------------
+function V1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ecriture('V1',handles)
+
+
+% ------- lecture de valeurs dans les devices servers Tango ----------
+function Cour=read_magnet(dev)
+
+attr_val = tango_read_attribute(dev,'current');
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  fprintf(1,'TracyServer Error %s\n',dev)
+  return;
+end
+Cour=attr_val.value(1);
+
+% --------------------------------------------------------------------
+% --- Executes during object creation, after setting all properties.
+function nbiter_popupmenu2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'Nbre iterations par acquisition','1 iteration par acquisition'...
+    ,'5 iterations par acquisition'...
+    });
+
+% --- Executes on selection change in nbiter_popupmenu2.
+function nbiter_popupmenu2_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns nbiter_popupmenu2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from nbiter_popupmenu2
+
+
+% % --- Executes on button press in camera_control_togglebutton.
+% function camera_control_togglebutton_Callback(hObject, eventdata, handles)
+% % hObject    handle to camera_control_togglebutton (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hint: get(hObject,'Value') returns toggle state of camera_control_togglebutton
+% button_state = get(hObject,'Value');
+% if button_state == get(hObject,'Max')
+%     % toggle button is pressed
+% elseif button_state == get(hObject,'Min')
+%     % toggle button is not pressed
+% end
+
+
+% ï¿œ dï¿œtruire
+%         % --- Executes on button press in camera_image_togglebutton.
+%         function camera_image_togglebutton_Callback(hObject, eventdata, handles)
+%         % hObject    handle to camera_image_togglebutton (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hint: get(hObject,'Value') returns toggle state of camera_image_togglebutton
+%         button_state = get(hObject,'Value');
+%         if button_state == get(hObject,'Max')
+%             % toggle button is pressed
+%         elseif button_state == get(hObject,'Min')
+%             % toggle button is not pressed
+%         end
+% 
+%         %camera_image(handles);
+% 
+% 
+%         %     name=['axes' num2str(1)];
+%         %    axes(handles.(name))
+%         % timer1 = timer('Period', 2,'TasksToExecute', 
+%         % Inf,'ExecutionMode','fixedRate');
+% 
+%         %     t=timer('StartDelay',1,'TimerFcn',@mycallback,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+% 
+%         % timer1=timer('StartDelay',1,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+%         % timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+% 
+%         %figure(1);
+%         %axes(handles.axes1);
+%         timer1 = getappdata(handles.figure1,'Timer');
+%         start(timer1);
+
+%     % --- Executes on button press in imageOFF_radiobutton.
+%     function imageOFF_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageOFF_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageOFF_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     delete(timer1);
+
+
+% % function buttongroup(hObject, eventdata, handles)
+% % h = uibuttongroup('visible','off','Position',[0 .9 .1 .1]);
+% % u0 = uicontrol('Style','Radio','String','Option 1',...
+% %     'pos',[10 350 80 30],'parent',h,'HandleVisibility','off');
+% % u1 = uicontrol('Style','Radio','String','Option 2',...
+% %     'pos',[10 250 80 30],'parent',h,'HandleVisibility','off');
+% % u2 = uicontrol('Style','Radio','String','Option 3',...
+% %     'pos',[10 150 80 30],'parent',h,'HandleVisibility','off');
+% % set(h,'SelectionChangeFcn',@selcbk);
+% % set(h,'SelectedObject',[]);  % No selection
+% % set(h,'Visible','on');
+
+% function selcbk(source,eventdata)
+% disp(source);
+% disp('toto');
+% disp([eventdata.EventName,'  ',... 
+%      get(eventdata.OldValue,'String'),'  ', ...
+%      get(eventdata.NewValue,'String')]);
+% disp(get(get(source,'SelectedObject'),'String'));
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+timer1 = getappdata(handles.figure1,'Timer');
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('image video <-')
+        start(timer1);
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('image video ->')
+        stop(timer1);
+end
+
+
+%     % --- Executes on button press in imageON_radiobutton.
+%     function imageON_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageON_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageON_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     start(timer1);
+
+
+function mutual_exclude(off)
+set(off,'Value',0)
+
+% --- Executes on button press in calibON_radiobutton5.
+function calibON_radiobutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to calibON_radiobutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibON_radiobutton5
+off = [handles.calibOFF_radiobutton6];
+mutual_exclude(off)
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% positionner le miroir EN, allumer le backlight
+tango_command_inout(device_name.miroir,'On');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(6));
+
+%____________________________________________________________________
+% positionner le popupmenu du backlight a la valeur effective
+lumiere=tango_command_inout(device_name.backlight,'GetBrightness');
+
+%- check error
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+else
+    set(handles.backlight_popupmenu3,'Value',lumiere);
+end
+
+%rendre la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+     handles.pos1_edit29,handles.pos2_edit30...
+     handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','on')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes on button press in calibOFF_radiobutton6.
+function calibOFF_radiobutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to calibOFF_radiobutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibOFF_radiobutton6
+off = [handles.calibON_radiobutton5];
+mutual_exclude(off)
+
+% alias
+
+device_name = getappdata(handles.figure1,'device_name');
+%getappdata(handles.figure1,'backlight');
+
+% positionner le miroir HORS, eteindre le backlight
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+
+%% inserer l'Ã©cran YAG
+%tango_command_inout(device_name.ecran,'Insert');
+%fonction_error;
+
+%exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+        handles.pos1_edit29,handles.pos2_edit30...
+        handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','off')
+%handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes during object creation, after setting all properties.
+function G_edit12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function G_edit12_Callback(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of G_edit12 as text
+%        str2double(get(hObject,'String')) returns contents of G_edit12 as a double
+
+
+
+
+
+% ------------------------------------------------------------
+% Callback for the Remove push button
+% ------------------------------------------------------------
+% --- Executes on button press in remove_pushbutton.
+function remove_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to remove_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Callback of the uicontrol handles.RemoveButton.
+%essai
+%handles.nbremove=handles.nbremove+1
+
+currentVal = get(handles.listbox1,'Value')
+resultsStr = get(handles.listbox1,'String')
+numResults = size(resultsStr,1)
+
+
+% Remove the data and list entry for the selected value
+
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+% handles.Sauver contient la structure du rï¿œsultat ï¿œ effacer
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+if isequal( handles.Ecran,{[]})
+    handles.Ecran= resultsStr(currentVal);
+else
+    handles.Ecran=[ handles.Ecran ; resultsStr(currentVal)];
+end
+resultsStr(currentVal) =[];
+resultats=getappdata(handles.figure1,'ResultsData');
+%%NumeroRemove=resultats(currentVal).RunNumber;
+if isequal( handles.Sauver,struct([]))
+    handles.Sauver=resultats(currentVal);
+else
+    handles.Sauver=[handles.Sauver  resultats(currentVal)];
+end
+
+resultats(currentVal)=[];
+setappdata(handles.figure1,'ResultsData',resultats);
+handles.ResultsData = resultats;
+
+%essai
+%restoreRes(handles.nbremove)=resultats(currentVal)
+%handles.restore=handles.remove+1;
+if ~isequal(numResults,1)
+    set([handles.restaurer_pushbutton15],'Enable','on')
+end
+% If there are no other entries, disable the Remove and Plot button
+% and change the list sting to <empty>
+if isequal(numResults,1)
+	resultsStr = {'<vide !!>'};
+	currentVal = 1;
+	set([handles.remove_pushbutton,handles.plot_pushbutton,...
+        handles.restaurer_pushbutton15],'Enable','off')	
+end
+
+
+
+% Ensure that list box Value is valid, then reset Value and String
+currentVal = min(currentVal,size(resultsStr,1));
+set(handles.listbox1,'Value',currentVal,'String',resultsStr)
+
+% Store the new ResultsData
+setappdata(handles.figure1,'Sauver',handles.Sauver);
+setappdata(handles.figure1,'Ecran',handles.Ecran);
+set(handles.nbacqu_edit13,'String', num2str(size(resultsStr,1)));
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+%%en attente   set(handles.nbacqu_edit13,'String',num2str(length(resultats)));
+
+guidata(hObject, handles);
+
+% --- Executes on button press in emittance_pushbutton12.
+function emittance_pushbutton12_Callback(hObject, eventdata, handles)
+% hObject    handle to emittance_pushbutton12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% calcul d'emittance
+
+handles.ResultsData = getappdata(handles.figure1,'ResultsData');
+largeur_option = getappdata(handles.figure1,'largeur_option');
+
+switch largeur_option
+case 1
+    % fit par gaussienne largeur_option = 1
+    set(handles.type_edit36,'String','rms (fit)');
+case 2
+    % vrai rms largeur_option = 2
+    set(handles.type_edit36,'String','vrai rms');
+    
+case 3
+    % rayon ï¿œ X % largeur_option = 3
+    set(handles.type_edit36,'String','Ã  X %');
+end
+
+
+% les vecteurs sx et sy sont dÃ©jÃ  les valeurs moyennï¿œes sur nbiter iterations
+for i=1:length(handles.ResultsData)
+    sx(i) = handles.ResultsData(i).LargeurH;
+    sy(i) = handles.ResultsData(i).LargeurV;
+    I(i)= handles.ResultsData(i).Q4courant;
+end
+%%I = [1 2 3 4]
+
+% transformation courant - force quadrupolaire
+% ï¿œtalonnage de Q7 (si on a le temps prï¿œfï¿œrez ï¿œtalonnage Q4, mais pas trop important)
+% ATTENTION nï¿œcessitï¿œ de connaotre m'ï¿œnergie de la ligne (he oui ce n'est
+% pas simple) A RENTRER A LA MAIN DANS L'INTERFACE
+res = get(handles.energie_edit38,'String');
+if isequal(res,'ENERGIE')
+    errordlg('vous n''avez pas rentrÃ© l''Ã©nergie de la ligne !','Attention');
+    return
+end
+Energie = Str2num(get(handles.energie_edit38,'String'))*0.001;
+%t = amp2k4LT1(I,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15 , 1,Energie)
+%Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor
+ %t = amp2k4LT1('QP','SetPoint',I, [1 4], Energie,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15,1)
+
+% Attention Ã  l'Ã©talonnage du gradient qui n'est valable que pour les
+% valeurs absolues des courants. Mais OK pour Q4 qui est conv Horiz
+t = hw2physics('QP','Setpoint',I,[1 4],Energie)';
+%% tests !
+%t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+%sx=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+%sy=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+
+% constantes de la ligne de transfert
+% valeur vÃ©rifiÃ©e sur 3D D Zerbib 11 fÃ©vrier 2005
+
+Drift = [0.150 1.669 0.85415 2.400 0.950 3.79286];
+%     % point 0 simulation barelattice_LT1 ï¿œ entrï¿œe Lmag Q1
+%     drift1 = 1.669
+%     % sortie Lmag Q1 entrï¿œe Lmag Q2
+%     drift2 = 1.00415 - 0.150 = 0.85415
+%     % sortie Lmag Q2 entrï¿œe Lmag Q3
+%     drift3 = 2.550 - 0.150 = 2.400
+%     % sortie Lmag Q3 entrï¿œe Lmag Q4
+%     drift4 = 1.100 - 0.150 = 0.95
+%     % sortie L magnï¿œtique Qpï¿œle - centre ï¿œmittance
+%     drift5 = 3867,86 - 150/2 =  3792.86
+setappdata(handles.figure1,'Drift',Drift)
+Lq = Drift(1);
+Ld = Drift(6);
+Md = [1 Ld ; 0 1];
+
+% plan HORIZONTAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+% tailles en unitÃ© standard
+sx = sx * 0.001;
+sx2=sx.*sx;
+
+Mx11=zeros(length(t),1);
+Mx12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Mxq','Mxtransport')
+        Mxq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+        -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+        Mxtransport=Md*Mxq;
+        Mx11(i)=Mxtransport(1,1);
+        Mx12(i)=Mxtransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=Mx11.*Mx11;
+B=Mx12.*Mx12;
+F=2*Mx11.*Mx12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sx2' ; B'*sx2' ; F'*sx2'];
+   
+twissx=Z\H;
+% twissx(1) = sigma11(point origine) = Eps beta
+% twissx(2) = sigma22(point origine) = Eps gamma
+% twissx(3) = sigma12(point origine) = - Eps alpha
+epsx = sqrt(twissx(1)*twissx(2)-twissx(3)*twissx(3));
+% affichage de l'emittance en mm mrad
+emittanceH = sprintf('%3.2f',epsx*1e6) ;
+set(handles.emitH_edit18,'String',emittanceH);
+setappdata(handles.figure1,'Twissx',twissx);
+
+
+% plan VERTICAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+sy = sy * 1e-3;
+sy2=sy.*sy;
+
+My11=zeros(length(t),1);
+My12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Myq','Mytransport')
+        Myq=[cosh(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sinh(Lq*sqrt(t(i))) ; ...
+        sqrt(t(i))*sinh(Lq*sqrt(t(i)))  cosh(Lq*sqrt(t(i)))];
+        Mytransport=Md*Myq;
+        My11(i)=Mytransport(1,1);
+        My12(i)=Mytransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=My11.*My11;
+B=My12.*My12;
+F=2*My11.*My12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sy2' ; B'*sy2' ; F'*sy2'];
+   
+twissy=Z\H;
+epsy = sqrt(twissy(1)*twissy(2)-twissy(3)*twissy(3));
+emittanceV = sprintf('%3.2f',epsy*1e6) ;
+set(handles.emitV_edit19,'String',emittanceV);
+setappdata(handles.figure1,'Twissy',twissy);
+
+
+
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+%         % Mesure de l'emittance par fit "Belbeoch" et distribution normale des
+%         % erreurs de mesures
+% 
+%         % valeurs exactes gradient t
+%         % valeurs exactes tailles de faisceau se
+%         % pourc = pourcentage d'erreur maximum sur la mesure de taille
+%         % Lq = Longueur du quadrupole
+%         % Ld = longueur du drift Qpole - point de mesure
+%         %---------------------------------------------------------
+%         % 
+% 
+%         %cla(figure(1));
+% 
+%         % methode de calcul
+%         method = 'moyenne des acquisitions';
+%         %method = 'moyenne des emittances'
+% 
+%         % erreur sur les mesures de taille / nb d'iterations sur une mesure/ pour
+%         % tester la validite de la methode : nb de tests 
+%         sigma = 0.35;
+%         % ? nbiter=5;
+%         nbiter=1;
+%         nbtests=30000;
+% 
+%         % valeurs exactes de forces quadrupolaires et tailles de faisceau
+%         t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+%         se=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+% 
+%         % initialisations
+%         % ? eps=zeros(nbiter,1);
+%         eps=zeros(nbtests,1);
+%         Lq=0.15;
+%         Ld=3.8915;
+%         Md=[1 Ld ; 0 1];
+%         st2=zeros(nbiter,length(t));
+%         meanst2=zeros(1,length(t));
+% 
+%         nbcomplexes=0;
+%         stdeps=1.;
+%         g=0;
+%         Z=zeros(3,3);
+% 
+% 
+%         % calcul des elements de la matrice de transport entre le Qpole et le point
+%         % de mesure
+%         M11=zeros(length(t),1);
+%         M12=zeros(length(t),1);
+%         for i = 1:length(t)
+%                 clear('Mq','Mtransport')
+%                 Mq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+%                 -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+%                 Mtransport=Md*Mq;
+%                 M11(i)=Mtransport(1,1);
+%                 M12(i)=Mtransport(1,2);
+%         end
+% 
+% 
+%         for j = 1:nbtests
+% 
+%         % calcul de l'emittance avec moyenne prealable de chaque acquisition sur les nbiter
+%         %iterations (5 dans le menu) (distribution normale dans cette simulation)
+%         for i=1:length(t)
+%             s=se(i)+sigma*se(i)*randn(nbiter,1);
+%             s2=s.*s;
+%             meanst2(i)=mean(s2);
+%         end
+% 
+%         % *********** methode Belbeoch **********************
+%         A=M11.*M11;
+%         B=M12.*M12;
+%         F=2*M11.*M12 ;
+% 
+%         Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+%                    F'*A F'*B F'*F];
+%         H=[A'*meanst2' ; B'*meanst2' ; F'*meanst2'];
+% 
+%         citer=Z\H;
+%         eps(j)=sqrt(citer(1)*citer(2)-citer(3)*citer(3));
+%         nbcomplexes = 1-isreal(eps(j)) + nbcomplexes;
+%         if isequal(isreal(eps(j)),0)
+%             epsilon(j) = 0;
+%         else 
+%             epsilon(j) = eps(j);
+%         end
+% 
+% 
+%         % emittanceH=num2str(eps) ;   
+%         % set(handles.emitH_edit18,'String',emittanceH);
+% 
+% 
+%         end
+% 
+%         moyenne = mean(epsilon)*length(eps)/(length(eps)-nbcomplexes);
+%         for j=1:length(eps)
+%             if isequal(epsilon(j),0)
+%                 sepsilon(j) = moyenne;
+%             else
+%                 sepsilon(j) = epsilon(j);
+%             end
+%         end
+%         standard = std(sepsilon)*sqrt(length(eps)/(length(eps)-nbcomplexes));
+%         disp(['nbcomplexes=' sprintf('%0.5g',nbcomplexes) '  sigma tailles=' sprintf('%0.5g',sigma) ...
+%                     '  nbiter=' sprintf('%0.5g',nbiter) ...
+%                 '  nbtests=' sprintf('%0.5g',nbtests) '  meaneps=' ...
+%                 sprintf('%0.5g',moyenne) '  stdeps=' sprintf('%0.5g',standard)] )
+%         disp(' ')
+% 
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  
+% 
+
+
+% --- Executes during object creation, after setting all properties.
+function nbacqu_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function nbacqu_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbacqu_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of nbacqu_edit13 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit14 as text
+%        str2double(get(hObject,'String')) returns contents of edit14 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit15 as text
+%        str2double(get(hObject,'String')) returns contents of edit15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit16 as text
+%        str2double(get(hObject,'String')) returns contents of edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit17 as text
+%        str2double(get(hObject,'String')) returns contents of edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitH_edit18_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+% emittance horizonale
+
+
+
+function emitH_edit18_Callback(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitH_edit18 as text
+%        str2double(get(hObject,'String')) returns contents of emitH_edit18 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitV_edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function emitV_edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitV_edit19 as text
+%        str2double(get(hObject,'String')) returns contents of emitV_edit19 as a double
+
+
+% --- Executes on button press in ellipse_pushbutton13.
+function ellipse_pushbutton13_Callback(hObject, eventdata, handles)
+% hObject    handle to ellipse_pushbutton13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ellipse_v15(handles)
+
+
+% --- Executes when figure1 window is resized.
+function figure1_ResizeFcn(hObject, eventdata, handles)
+% hObject    handle to figure1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes on button press in radiobutton7_bh_l1.
+function Lenthaute_radiobutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton7_bh_l1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Lenthaute_radiobutton7
+autre = [handles.tata_radiobutton10];
+mutual_exclude(autre)
+
+
+
+
+% --- Executes on button press in radiobutton10_bh_l2.
+function tata_radiobutton10_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton10_bh_l2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton10_bh_l2
+autre = [handles.Lenthaute_radiobutton7];
+mutual_exclude(autre)
+
+
+
+
+
+
+% --- Executes on button press in restaurer_pushbutton15.
+function restaurer_pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Restore the data and list entry for the last deleted value        
+ResultsStr = get(handles.listbox1,'String');
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+
+LastValue=length(handles.Sauver) ;
+toto=handles.Sauver(LastValue);
+titi=handles.Ecran(LastValue);
+Numero=toto.RunNumber;
+Nombre=length(handles.ResultsData);
+reussite=0;
+
+if Numero>handles.ResultsData(Nombre).RunNumber
+    handles.ResultsData=[handles.ResultsData toto];
+    ResultsStr = [ResultsStr ; titi];
+else 
+    i=0;      
+    while isequal(reussite,0) & (i<(length(handles.ResultsData)))
+            i=  i+1  ;
+            if Numero>handles.ResultsData(Nombre-i+1).RunNumber
+                handles.ResultsData=[handles.ResultsData(1:Nombre-i+1) toto handles.ResultsData(Nombre-i+2:end)];
+                ResultsStr = [ResultsStr(1:Nombre-i+1) ; titi;ResultsStr(Nombre-i+2:end) ];
+                reussite=reussite+1;
+            end
+        
+    end
+    if isequal(reussite,0)  
+        handles.ResultsData=[toto handles.ResultsData];
+        ResultsStr = [titi ; ResultsStr];
+    end
+    
+end
+
+% Build the new results list string for the listbox
+set(handles.listbox1,'String',ResultsStr);
+
+% Store the new ResultsData
+handles.Sauver(LastValue)=[];
+handles.Ecran(LastValue)=[];
+setappdata(handles.figure1,'Sauver',handles.Sauver)
+setappdata(handles.figure1,'Ecran',handles.Ecran)
+setappdata(handles.figure1,'ResultsData',handles.ResultsData);
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+set(handles.nbacqu_edit13,'String', num2str(size(ResultsStr,1)));
+
+
+% dï¿œsactiver le bouton restaurer si la liste est vide
+if isequal(LastValue,1)
+	set([handles.restaurer_pushbutton15],'Enable','off')	
+end
+guidata(hObject, handles);
+
+
+% --- Executes on button press in mesuressfaisceau_pushbutton16.
+function mesuressfaisceau_pushbutton16_Callback(hObject, eventdata, handles)
+% hObject    handle to mesuressfaisceau_pushbutton16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% sauvegarde sur disque de l'ensemble des acquisitions avec et sans
+% faisceau, proposee lorsque aucune acquisition avec faiseau n'est encore
+% faite
+entree=    getappdata(handles.figure1,'ResultsData');
+directory_principale = getappdata(handles.figure1,'directory_principale');
+if isequal(length(entree),0)
+    
+       %ouvrir le dossier pour l'enregistrement des profils
+       prompt={'entrer un nom de rï¿œpertoire'};
+       name='SAUVEGARDE SUR DISQUE';
+       numlines=1;
+       defaultanswer={strcat(datestr(clock,29),'_1')};
+       options.Resize='on';
+       options.WindowStyle='normal';
+       options.Interpreter='tex';
+       
+       % on ne propose la boite de dialogue qu'une seule fois
+       % ulterieurement, si on souhaite changer de directory de sauvegarde,
+       % cela se fait interactivement dans le '   ' 
+       val=getappdata(handles.figure1,'init_sauvegarde');
+       directory_principale=getappdata(handles.figure1,'directory_principale');
+       
+       while isequal(val,0)
+            directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+            % chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+            %%directory_sauvegarde=strcat(directory_principale,directory{:});
+            directory_sauvegarde=strcat(directory_principale,directory{:},'/');
+            setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+            
+            
+            % cas ou un nom de directory a ï¿œtï¿œ rentrï¿œ
+            if ~isequal(directory,{})
+                % cas ou la directory n'existe pas
+                %%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+                if ~isdir(directory_sauvegarde)   
+%                     mkdir(chemin)
+%                     cd(chemin);
+                    mkdir(directory_sauvegarde)
+                    cd(directory_sauvegarde);
+                    
+                    setappdata(handles.figure1,'init_sauvegarde',1);
+                    val=getappdata(handles.figure1,'init_sauvegarde');
+                    set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+                    
+                % cas ou la directory existe deja
+                else    
+                    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+                    if isequal(button,'oui')
+                        
+%                         cd(chemin);
+                        cd(directory_sauvegarde);  
+                        
+                        setappdata(handles.figure1,'init_sauvegarde',1);
+                        val=getappdata(handles.figure1,'init_sauvegarde');
+                        set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+          
+                    else
+                        % retour ï¿œ la case dï¿œpart 
+                        
+                    end
+                end     
+            
+            % cas ou on a refusï¿œ de rentrer un nom de directory
+            else
+                
+                errordlg('vous n''avez pas sï¿œlectionnï¿œ de directory de sauvegarde !','Attention');
+                
+                setappdata(handles.figure1,'init_sauvegarde',1);
+                val=getappdata(handles.figure1,'init_sauvegarde');
+            end
+            
+       end
+
+end
+
+
+showsansfgui_15(handles); 
+
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmax_pushbutton26.
+function Gmin_pushbutton28_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmax_pushbutton26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+%           errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     %          if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+     if ~Blimitswitch.value    
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if Flimitswitch.value
+        %       if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'Backward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        %       while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        while strcmp(tango_command_inout(dev,'State'),'MOVING')
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'position');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'position');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'DefinePosition',0);
+    
+    % avancer du nombre de pas exact correspondant au grandissement : 0
+    
+    %       while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+    while strcmp(tango_command_inout(dev,'State'),'MOVING')
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'position');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%         pause(0.5);
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+ 
+dev=device_name.lentille_basse
+
+%       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~Blimitswitch.value
+    %       if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if Flimitswitch.value
+        %   if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'Backward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        while strcmp(tango_command_inout(dev,'State'),'MOVING')
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(device_name.lentille_basse,'position');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'position');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'DefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement 
+    tango_write_attribute(dev,'position',posl2Gmin);
+     
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+        
+    %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+    while strcmp(tango_command_inout(dev,'State'),'MOVING')
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'position');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+ 
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        % ï¿œteindre le vert
+        %set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        
+
+end   
+
+% allumer le voyant rouge Gmin
+pos1=tango_read_attribute(device_name.lentille_haute,'position')
+pos2=tango_read_attribute(device_name.lentille_basse,'position')
+test1 = test_position(pos1.value(1),posl1Gmin,5);
+test2 = test_position(pos2.value(1),posl2Gmin,5);
+if test1 == 1&test2==1
+    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmoy_pushbutton27.
+function Gmoy_pushbutton27_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmoy_pushbutton27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+%           errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% Blimitswitch.value = Blimitswitch.value.value
+% Flimitswitch.value = Flimitswitch.value.value
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+      
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    if ~Blimitswitch.value
+    %           if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if Flimitswitch.value
+    %               if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'Backward');
+        
+        % on attent que l'axe se mette en mouvement
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        while strcmp(tango_command_inout(dev,'State'),'MOVING')
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'position');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'position');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'DefinePosition',0);
+    fonction_error
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    %           status0 =  tango_command_inout(dev,'AxisGetMotionStatus')
+    % avancer du nombre de pas exact correspondant au grandissement moyen : 
+    tango_write_attribute(dev,'position',posl1Gmoy);
+    fonction_error
+    pause(8)
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+   
+    % on attent que l'axe se mette en mouvement
+    temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+        %           error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        disp('pb lentille haute')
+        % abort 
+    end
+    
+    %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+    while strcmp(tango_command_inout(dev,'State'),'MOVING')
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'position');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+%   errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    if ~Blimitswitch.value
+    %       if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if Flimitswitch.value
+        %       if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'Backward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+         disp('moy : abort')
+        end
+
+        % au cas oï¿œ la butï¿œe haute est allumï¿œe on l'ï¿œteint
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        
+        %       while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        while strcmp(tango_command_inout(dev,'State'),'MOVING')
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            %pos1=tango_read_attribute(device_name.lentille_haute,'position');
+            pos2=tango_read_attribute(device_name.lentille_basse,'position');
+            %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'DefinePosition',0);
+    fonction_error;
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+
+    % avancer du nombre de pas exact correspondant au grandissement
+    tango_write_attribute(dev,'position',posl2Gmoy);
+    pause(8)
+    temporisation_mvt_axis(dev);
+    
+    % on attent que l'axe se mette en mouvement
+    if (temporisation_mvt_axis(dev) == -1)
+        %           error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        % abort 
+    end
+
+    %   while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+    while strcmp(tango_command_inout(dev,'State'),'MOVING')
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'position');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    end
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         % ï¿œteindre le vert
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+
+% allumer le voyant rouge Gmoy
+pos1=tango_read_attribute(device_name.lentille_haute,'position')
+pos2=tango_read_attribute(device_name.lentille_basse,'position')
+test1 = test_position(pos1.value(1),posl1Gmoy,5);
+test2 = test_position(pos2.value(1),posl2Gmoy,5);
+if test1 == 1&test2==1
+    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmin_pushbutton28.
+function Gmax_pushbutton26_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmin_pushbutton28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de positions des lentilles pour ce grandissement
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+
+
+dev=device_name.lentille_haute
+Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+%       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+ %   if ~Blimitswitch.value                  % cas ou l'axe n'est pas en butee backward (en haut)
+
+        if Flimitswitch.value                % si on est en butï¿œe basse forward on ï¿œteind le voyant
+            set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+
+        tango_command_inout(dev,'InitializeReferencePosition');        % aller en butee haute
+        pause(0.5)
+                    % on attent que l'axe se mette en mouvement
+                    %temporisation_mvt_axis(dev);
+                    %         if (temporisation_mvt_axis(dev) == -1)
+                    %          % abort
+                    %         end
+        while strcmp(tango_command_inout(dev,'State'),'MOVING') % attendre la fin de la commande
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(dev,'position');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        end
+
+        pos1=tango_read_attribute(dev,'position');  % on affiche la position de la lentille
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+ %   end
+
+
+    set(handles.LHBH_edit25,'BackgroundColor','red');   % indiquer la butee haute sur moteur 1 (lentille haute)
+    
+    pos1=tango_read_attribute(dev,'position');      % on affiche la position de la lentille
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+    % avancer du nombre de pas exact correspondant au grandissement max :
+    ms = tango_command_inout(dev,'State')
+    if strcmp(ms,'ALARM')|strcmp(ms,'STANDBY')
+        tango_write_attribute(dev,'position',posl1Gmax);
+        disp('ca y va')
+    else
+        tango_print_error_stack;
+        %break;
+    end
+    pause(2);
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);     % eteindre le voyant butï¿œe haute
+         
+                    %on attent que l'axe se mette en mouvement
+                %     temporisation_mvt_axis(dev); 
+                %     if (temporisation_mvt_axis(dev) == -1)
+                %          % abort 
+                %     end
+    
+    while strcmp(tango_command_inout(dev,'State'),'MOVING')
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'position');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    end
+    
+    pos1=tango_read_attribute(dev,'position');  % on affiche la position de la lentille
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));    
+    
+end   
+ 
+dev=device_name.lentille_basse
+Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+else
+ %   if ~Blimitswitch.value    % cas ou l'axe n'est pas en butee backward (en haut)
+        if Flimitswitch.value                 % si on est en butï¿œe basse forward on ï¿œteind le voyant
+             set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        tango_command_inout(dev,'InitializeReferencePosition');         % aller en butee haute backward
+        pause(0.5)
+        
+        %         % on attent que l'axe se mette en mouvement
+        %         temporisation_mvt_axis(dev); 
+        %         if (temporisation_mvt_axis(dev) == -1)
+        %          % abort 
+        %         end
+            
+       while strcmp(tango_command_inout(dev,'State'),'MOVING')              % attendre la fin de la commande
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(dev,'position');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        end
+        pos2=tango_read_attribute(dev,'position');              % on affiche la position de la lentille
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+   % end
+
+    set(handles.LBBH_edit26,'BackgroundColor','red');   % indiquer la butee haute sur moteur 1 (lentille haute)
+
+    pos2=tango_read_attribute(dev,'position');      % on affiche la position de la lentille
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+    % avancer du nombre de pas exact correspondant au grandissement max :
+    ms = tango_command_inout(dev,'State')
+    if strcmp(ms,'ALARM')|strcmp(ms,'STANDBY')
+        tango_write_attribute(dev,'position',posl2Gmax);
+        disp('ca y va')
+    else
+        tango_print_error_stack;
+        %break;
+    end
+    pause(2);
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);     % eteindre le voyant butï¿œe haute
+    
+    
+    pos2=tango_read_attribute(dev,'position');           % on affiche la position de la lentille
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);         % eteindre le voyant rouge butee backward s'il est allumï¿œ
+   
+          %     % on attent que l'axe se mette en mouvement
+            %     temporisation_mvt_axis(dev); 
+            %     if (temporisation_mvt_axis(dev) == -1)
+            %          % abort 
+            %     end
+            
+    while strcmp(tango_command_inout(dev,'State'),'MOVING')
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'position');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    end
+    pos2=tango_read_attribute(dev,'position');          % on affiche la position de la lentille
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+end   
+
+% allumer le voyant Gmax en rouge
+pos1=tango_read_attribute(device_name.lentille_haute,'position')
+pos2=tango_read_attribute(device_name.lentille_basse,'position')
+test1 = test_position(pos1.value(1),posl1Gmax,5);
+test2 = test_position(pos2.value(1),posl2Gmax,5);
+if test1 == 1&test2==1
+    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in ppp_pushbutton18.
+function ppp_pushbutton18_Callback(hObject, eventdata, handles)
+% hObject    handle to ppp_pushbutton18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=10000;
+    end
+    
+                    %errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+    Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+    Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+                    %if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+        if ~Flimitswitch.value
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                            %if isequal(errorstatus,22)|isequal(errorstatus,4)
+            if Blimitswitch.value
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            postrans = tango_read_attribute(dev,'position');
+            tango_write_attribute(dev,'position',postrans + nbpas);
+            %tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+                        %while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            while strcmp(tango_command_inout(dev,'State'),'MOVING')
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+            Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+            %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if Flimitswitch.value
+                %       if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'position');
+            pos2=tango_read_attribute(device_name.lentille_basse,'position');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+% logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+% logdev2=get(handles.tata_radiobutton10,'Value');
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+% if isequal(logdev1,0)&isequal(logdev2,0)
+%     errordlg('selectionnez une lentille','ATTENTION');
+% else
+%     if isequal(logdev1,1)
+%         dev=device_name.lentille_haute;
+%         nbpas=5000;
+%     else
+%         dev=device_name.lentille_basse;
+%         nbpas=10000;
+%     end
+%     
+%     errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%     if (tango_error == -1)
+%         %- handle error
+%         tango_print_error_stack;
+%         return;
+%         errordlg('erreur tango !','Erreur');
+% 
+%     else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on descend vers la butï¿œe forward
+%             tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%         
+%             % temporisation : 
+%             pause(0.2);
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                 end
+%                 pause(0.5);
+%             end
+%             
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             if isequal(logdev1,1)
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%             else
+%                 set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%             end
+%             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'position');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+
+
+% --- Executes on button press in pp_pushbutton19.
+function pp_pushbutton19_Callback(hObject, eventdata, handles)
+% hObject    handle to pp_pushbutton19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=1000;
+    end
+    
+    Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+    Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+    %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+        if ~Flimitswitch.value
+        %       if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if Blimitswitch.value
+            %       if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            postrans = tango_read_attribute(dev,'position');
+            tango_write_attribute(dev,'position',postrans + nbpas);
+            %tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+                        %while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            while strcmp(tango_command_inout(dev,'State'),'MOVING')
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+            Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+            %               errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if Flimitswitch.value
+                %               if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'position');
+            pos2=tango_read_attribute(device_name.lentille_basse,'position');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+% --- Executes on button press in p_pushbutton20.
+function p_pushbutton20_Callback(hObject, eventdata, handles)
+% hObject    handle to p_pushbutton20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=100;
+    end
+    Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+    Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+    %   errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+        if ~Flimitswitch.value
+        %       if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if Blimitswitch.value
+            %       if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on descend vers la butï¿œe forward
+            postrans = tango_read_attribute(dev,'position');
+            tango_write_attribute(dev,'position',postrans + nbpas);
+            %tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+            
+            %pause(0.2);
+            %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            while strcmp(tango_command_inout(dev,'State'),'MOVING')
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+                
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+            Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+            %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if Flimitswitch.value
+            %       if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                    
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'position');
+            pos2=tango_read_attribute(device_name.lentille_basse,'position');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% --- Executes on button press in m_pushbutton23.
+function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-10000;
+    end
+    
+    %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+    Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+    Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+        if ~Blimitswitch.value
+        %               if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if Flimitswitch.value
+            %   if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            postrans = tango_read_attribute(dev,'position');
+            tango_write_attribute(dev,'position',postrans + nbpas);
+            %tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    while strcmp(tango_command_inout(dev,'State'),'MOVING')
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green'); 
+                    %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    while strcmp(tango_command_inout(dev,'State'),'MOVING')
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                end
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     disp('dans la boucle tant que mvt')
+%                     if isequal(logdev1,1)
+%                         disp('je dois afficher le vert')
+%                         pause(0.1);
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%                         %pos2=tango_read_attribute(device_name.lentille_basse,'position');
+%                         set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         %set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         %pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%                         pos2=tango_read_attribute(device_name.lentille_basse,'position');
+%                         %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+% 
+%                     end
+%                 end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                    %pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    %set(handles.pos2_edit30,'String',num2str(pos2.value(1)
+                    %));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    %pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                    %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+                
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+                Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+                if Blimitswitch.value
+%                   if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+%     % --- Executes on button press in mmm_pushbutton21.
+%     function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mmm_pushbutton21 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-5000;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-10000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'position');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+% 
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+% --- Executes on button press in m_pushbutton23.
+function mm_pushbutton22_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-1000;
+    end
+    
+    %   errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+    Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+    Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+        if ~Blimitswitch.value
+        %       if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if Flimitswitch.value
+            %   if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            postrans = tango_read_attribute(dev,'position');
+            tango_write_attribute(dev,'position',postrans + nbpas);
+            %tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                while strcmp(tango_command_inout(dev,'State'),'MOVING')
+                    
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                        
+                    else
+                        
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+                Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+                if Blimitswitch.value
+                %       if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+%     % --- Executes on button press in mm_pushbutton22.
+%     function mm_pushbutton22_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mm_pushbutton22 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-500;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-1000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%                 if (tango_error == -1)
+%                     %- handle error
+%                     tango_print_error_stack;
+%                     return;
+%                     errordlg('erreur tango !','Erreur');
+% 
+%                 else
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'position');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+%                 end
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+
+% --- Executes on button press in m_pushbutton23.
+function m_pushbutton23_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-100;
+    end
+    
+    %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+    Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+    Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+        if ~Blimitswitch.value
+        %   if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if Flimitswitch.value
+            %       if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            postrans = tango_read_attribute(dev,'position');
+            tango_write_attribute(dev,'position',postrans + nbpas);
+            %tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+                
+                %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                while strcmp(tango_command_inout(dev,'State'),'MOVING')
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    else
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+                Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+                if Blimitswitch.value
+                %           if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'position');
+                pos2=tango_read_attribute(device_name.lentille_basse,'position');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+%         % --- Executes on button press in backlight_pushbutton24.
+%         function backlight_pushbutton24_Callback(hObject, eventdata, handles)
+%         % hObject    handle to backlight_pushbutton24 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         prompt={'entrer une intensitï¿œ * entier entre 0 et 10'};
+%         name='backlight';
+%         numlines=1;
+%         lumiere=tango_command_inout('lt1/emit/backlight','GetBrightness');
+%         %- check error
+%         if (tango_error == -1)
+%               %- handle error
+%               tango_print_error_stack;
+%               return;
+%         else
+%             defaultanswer={num2str(lumiere)};
+%         end
+%         options.Resize='on';
+%         options.WindowStyle='normal';
+%         options.Interpreter='tex';
+%         intensite=inputdlg(prompt,name,numlines,defaultanswer,options);
+%         if ~isempty(intensite)
+%             tango_command_inout('lt1/emit/backlight','SetBrightness',uint16(str2num(intensite{:})));
+%         end
+% 
+%     % --- Executes on button press in iris_pushbutton25.
+%     function iris_pushbutton25_Callback(hObject, eventdata, handles)
+%     % hObject    handle to iris_pushbutton25 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     %      %entrer les deux variables vitesse et intensite pour l'iris
+%     %        prompt={'entrer la vitesse - valeur entre 1 et 3','entrer l''intensite - valeur entre 1 et 10'};
+%     %        name='IRIS';
+%     %        numlines=1;
+%     %        defaultanswer={'3','10'};
+%     %        options.Resize='on';
+%     %        options.WindowStyle='normal';
+%     %        options.Interpreter='tex';
+%     %        val=0;
+%     %     %     while isequal(val,0)
+%     %         choix=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     %     %         if ~isequal(directory,{})
+%     %     %             if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+%     %     %                 mkdir /home/PM/tordeux/matlab_test/directory;
+%     %     %                 val=1;
+%     %     %             else    
+%     %     %                 button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non')  
+%     %     %                 if isequal(button,'oui')
+%     %     %                     val=1;
+%     %     %                 end
+%     %     %             end     
+%     %     %         else
+%     %     %             %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%     %     %             directory={'secours'};
+%     %     %             val=1;
+%     %     %         end
+%     %     %     end
+% 
+%     IRIS(handles);
+% 
+
+
+function qualite_edit23_Callback(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of qualite_edit23 as text
+%        str2double(get(hObject,'String')) returns contents of qualite_edit23 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function qualite_edit23_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBB_edit24_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBB_edit24 as text
+%        str2double(get(hObject,'String')) returns contents of LHBB_edit24 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBB_edit24_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBH_edit25_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBH_edit25 as text
+%        str2double(get(hObject,'String')) returns contents of LHBH_edit25 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBH_edit25_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBH_edit26_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBH_edit26 as text
+%        str2double(get(hObject,'String')) returns contents of LBBH_edit26 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBH_edit26_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBB_edit27_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBB_edit27 as text
+%        str2double(get(hObject,'String')) returns contents of LBBB_edit27 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBB_edit27_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in fondGmax_pushbutton29.
+function fondGmax_pushbutton29_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmax_pushbutton29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmoy_pushbutton30.
+function fondGmoy_pushbutton30_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmoy_pushbutton30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmin_pushbutton31.
+function fondGmin_pushbutton31_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmin_pushbutton31 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+function directory_sauvegarde_edit28_Callback(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of directory_sauvegarde_edit28 as text
+%        str2double(get(hObject,'String')) returns contents of directory_sauvegarde_edit28 as a double
+
+
+% % directory principale (dï¿œpend de l'utilisateur !!!)
+% setappdata(handles.figure1,'directory_principale',directory_principale);
+% 
+% % directory de sauvegarde en attente
+% setappdata(handles.figure1,'directory_principale','/home/PM/tordeux/matlab_test/');
+% directory_principale=getappdata(handles.figure1,'directory_principale');
+% phrase=strcat(directory_principale,'?');
+
+directory_sauvegarde=get(handles.directory_sauvegarde_edit28,'String');
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory n'existe pas
+%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+if  ~isdir(   directory_sauvegarde)
+%                     mkdir(chemin)
+%                     cd(chemin);
+    mkdir(directory_sauvegarde)
+    cd(directory_sauvegarde);
+
+    %setappdata(handles.figure1,'init_sauvegarde',1);
+    %val=getappdata(handles.figure1,'init_sauvegarde');
+    %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+    setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory existe deja
+else    
+    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+    if isequal(button,'oui')
+
+%                         cd(chemin);
+        cd(directory_sauvegarde);  
+
+        %setappdata(handles.figure1,'init_sauvegarde',1);
+        %val=getappdata(handles.figure1,'init_sauvegarde');
+        %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+        setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+    else
+        % retour ï¿œ la case dï¿œpart 
+
+    end
+end     
+
+
+
+% --- Executes during object creation, after setting all properties.
+function directory_sauvegarde_edit28_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in backlight_popupmenu3.
+function backlight_popupmenu3_Callback(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns backlight_popupmenu3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from backlight_popupmenu3
+
+%alias
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.backlight;
+
+val = get(hObject,'Value');
+switch val
+case 1
+tango_command_inout(dev,'SetBrightness',uint16(0));    
+case 2
+tango_command_inout(dev,'SetBrightness',uint16(1));  
+case 3
+tango_command_inout(dev,'SetBrightness',uint16(2));  
+case 4
+tango_command_inout(dev,'SetBrightness',uint16(3));  
+case 5
+tango_command_inout(dev,'SetBrightness',uint16(4));  
+case 6
+tango_command_inout(dev,'SetBrightness',uint16(5));  
+case 7
+tango_command_inout(dev,'SetBrightness',uint16(6));  
+case 8
+tango_command_inout(dev,'SetBrightness',uint16(7));  
+case 9
+tango_command_inout(dev,'SetBrightness',uint16(8));  
+case 10
+tango_command_inout(dev,'SetBrightness',uint16(9));  
+case 11
+tango_command_inout(dev,'SetBrightness',uint16(10));  
+
+end
+
+% --- Executes during object creation, after setting all properties.
+function backlight_popupmenu3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'0','1','2','3','4','5','6',...
+    '7','8','9','10',...
+    });
+
+
+function pos1_edit29_Callback(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos1_edit29 as text
+%        str2double(get(hObject,'String')) returns contents of pos1_edit29 as a double
+
+% encore ï¿œ faire !!
+
+
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% device_name = getappdata(handles.figure1,'device_name');
+%     
+% numeropas = get(handles.pos1_edit29,'String');
+% errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+% if (tango_error == -1)
+%     %- handle error
+%     tango_print_error_stack;
+%     return;
+%     errordlg('erreur tango !','Erreur');
+% 
+% else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on bouge
+%             tango_write_attribute(dev,'position',numeropas);
+%         
+%             % temporisation : 
+%             temporisation_mvt_axis(dev);
+%             
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+% 
+%             end
+%             
+%             pause(0.5);
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             % on ï¿œcrit une derniï¿œre fois la position de la lentille
+%  
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                     
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+% 
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'position');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+% --- Executes during object creation, after setting all properties.
+function pos1_edit29_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function pos2_edit30_Callback(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos2_edit30 as text
+%        str2double(get(hObject,'String')) returns contents of pos2_edit30 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pos2_edit30_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in F_iris_pushbutton32.
+function F_iris_pushbutton32_Callback(hObject, eventdata, handles)
+% hObject    handle to F_iris_pushbutton32 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FF_iris_pushbutton33.
+function FF_iris_pushbutton33_Callback(hObject, eventdata, handles)
+% hObject    handle to FF_iris_pushbutton33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FFF_iris_pushbutton34.
+function FFF_iris_pushbutton34_Callback(hObject, eventdata, handles)
+% hObject    handle to FFF_iris_pushbutton34 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in O_iris_pushbutton35.
+function O_iris_pushbutton35_Callback(hObject, eventdata, handles)
+% hObject    handle to O_iris_pushbutton35 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OO_iris_pushbutton36.
+function OO_iris_pushbutton36_Callback(hObject, eventdata, handles)
+% hObject    handle to OO_iris_pushbutton36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OOO_iris_pushbutton38.
+function OOO_iris_pushbutton38_Callback(hObject, eventdata, handles)
+% hObject    handle to OOO_iris_pushbutton38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+%device_name = getappdata(handles.figure1,'device_name');
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Emittance ?',...
+    'Exit Programme Emittance',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+        %% extraire l'Ã©cran YAG
+        %tango_command_inout(device_name.ecran,'Extract');
+        %fonction_error;
+    otherwise
+        disp('Closing aborted')
+end
+
+
+
+function Q2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q2courant_edit as a double
+
+
+ecriture('Q2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function Q2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H2courant_edit as a double
+
+ecriture('H2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function H2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit33_Callback(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit33 as text
+%        str2double(get(hObject,'String')) returns contents of edit33 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit33_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q3courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q3courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q3courant_edit as a double
+
+ecriture('Q3',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q3courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q4courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q4courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q4courant_edit as a double
+
+ecriture('Q4',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q4courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function type_edit36_Callback(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of type_edit36 as text
+%        str2double(get(hObject,'String')) returns contents of type_edit36 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function type_edit36_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nbiter_edit37_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbiter_edit37 as text
+%        str2double(get(hObject,'String')) returns contents of nbiter_edit37 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nbiter_edit37_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function energie_edit38_Callback(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of energie_edit38 as text
+%        str2double(get(hObject,'String')) returns contents of energie_edit38 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function energie_edit38_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+% --- Executes on button press in imprimer_pushbutton7.
+function imprimer_pushbutton17_Callback(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Determine file and directory name
+FileName = '1';
+
+DirectoryName = getappdata(handles.figure1,'directory_sauvegarde');
+
+% Append date_Time to FileName
+%FileName = sprintf('%s_%s', 'tableau', FileName);
+FileName = sprintf( '%s_%s','tableau', FileName);
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+
+ResultsStr = get(handles.listbox1,'String');
+
+try
+    save(FileName,'ResultsStr')
+    %save(FileName,'ResultsStr','-ascii')
+    %save -ascii mydata.dat
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function imprimer_pushbutton17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+
+
+% --- Executes on selection change in camera_controle_popupmenu4.
+function camera_controle_popupmenu4_Callback(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns camera_controle_popupmenu4 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from camera_controle_popupmenu4
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.videograbber;
+dev1 = device_name.calibration ; % modification 10 oct 07
+
+val = get(hObject,'Value');
+switch val
+   
+case 2
+tango_command_inout(dev,'AutoAdjustRefLevels');  
+disp('AutoAdjustRefLevels')
+case 3
+tango_command_inout(dev,'EnableCorrectedImage');  
+case 4
+tango_command_inout(dev,'EnableCorrectedProfiles');  
+case 5
+tango_command_inout(dev,'EnableProfiles');  
+case 6
+tango_command_inout(dev,'DisableCorrectedImage');  
+case 7
+tango_command_inout(dev,'DisableCorrectedProfiles');  
+case 8
+tango_command_inout(dev,'DisableProfiles');
+
+case 9
+tango_command_inout(dev,'GetExposureTime');
+% on donne la possibilitÃ© de modifier le exposuretime
+res = tango_command_inout(dev,'GetExposureTime');
+prompt={'ExposureTime'};
+name='GetExposureTime';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+time = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetExposureTime',str2num(time{:}));
+
+case 10
+% on donne la possibilitÃ© de modifier le shutterdelay
+res = tango_command_inout(dev,'GetShutterDelay');
+prompt={'ShutterDelay'};
+name='GetShutterDelay';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+delay = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetShutterDelay',str2num(delay{:}));
+
+case 11
+res = tango_command_inout(dev,'State');
+errordlg(res,'State');
+case 12
+res = tango_command_inout(dev,'Status');
+errordlg(res,'Status');
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function camera_controle_popupmenu4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in controle_lentilles_popupmenu5.
+function controle_lentilles_popupmenu5_Callback(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns controle_lentilles_popupmenu5 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from controle_lentilles_popupmenu5
+
+
+device_name = getappdata(handles.figure1,'device_name');
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;       
+    else
+        dev=device_name.lentille_basse;     
+    end
+    
+    %           errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+    Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+    Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        
+        val = get(hObject,'Value');
+        switch val
+
+        case 2
+        prompt={'Entrez une position'};
+        name='DefinePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            tango_command_inout(dev,'DefinePosition',str2num(toto{:}));
+            fonction_error;
+            
+            if isequal(logdev1,1)
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'position');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            else
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'position');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+        end
+
+%         case 3
+%         res = tango_command_inout(dev,'State');  
+%         errordlg(num2str(res),'AxisGetErrorStatus');
+% 
+%         case 4
+%         res = tango_command_inout(dev,'Status');  
+%         errordlg(num2str(res),'AxisGetMotionStatus');
+
+        case 3
+        prompt={'Entrez une position de destination'};
+        name='position';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'position');
+            fonction_error;
+            Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+            Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+            
+            if str2num(toto{:})>posref.value
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if Blimitswitch.value
+                %       if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<posref.value
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if Flimitswitch.value
+                %       if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_write_attribute(dev,'position',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            while strcmp(tango_command_inout(dev,'State'),'MOVING')
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'position');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'position');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'position');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'position');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+            Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+            %       errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if Flimitswitch.value
+            %if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            if Blimitswitch.value
+            %errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            %if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'position');
+            pos2=tango_read_attribute(device_name.lentille_basse,'position');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+%         case 6
+%         prompt={'Entrez une position relative de destination'};
+%         name='AxisGoToRelativePosition';
+%         numlines=1;
+%         defaultanswer={ num2str(0) };
+%         options.Resize='on';
+%         options.WindowStyle='normal';
+%         options.Interpreter='tex';
+%         toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+%         if ~isequal(toto,{})
+%             
+%             posref=tango_read_attribute(dev,'position');
+%             fonction_error;
+%             
+%             if str2num(toto{:})>0
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%                 
+%                 % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+%                 
+%             elseif str2num(toto{:})<0
+%                 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%                 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+%                 
+%             else
+%                 return;
+%             end
+%             
+%             % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+%             tango_command_inout(dev,'AxisGoToRelativePosition',str2num(toto{:}));
+%             % on attent que l'axe se mette en mouvement
+%             if (temporisation_mvt_axis(dev) == -1)
+%              % abort 
+%             end
+% 
+%             % attendre la fin de la commande en clignotant
+%             %           while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%             while strcmp(tango_command_inout(dev,'State'),'MOVING')
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     % on affiche la position de la lentille
+%                     pos1=tango_read_attribute(dev,'position');
+%                     set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     % on affiche la position de la lentille
+%                     pos2=tango_read_attribute(dev,'position');
+%                     set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%                 end
+%             end
+% 
+%             pause(0.5);
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             % on ï¿œcrit une derniï¿œre fois la position de la lentille
+% 
+%             if isequal(logdev1,1)
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(dev,'position');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+% 
+%             else
+%                 set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 pos2=tango_read_attribute(dev,'position');
+%                 set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+% 
+%             end
+%         
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             fonction_error;
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+%                 end 
+%             end
+% 
+%             % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor','red');
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor','red');
+%                 end 
+%             end
+% 
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%             pos1=tango_read_attribute(device_name.lentille_haute,'position');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'position');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%         end
+%         
+        
+        case 7
+        res = tango_command_inout(dev,'State');
+        errordlg(res,'State');
+        case 8
+        res = tango_command_inout(dev,'Status');
+        errordlg(res,'Status');
+        
+        end
+    end
+end
+            
+    
+
+
+
+% --- Executes during object creation, after setting all properties.
+function controle_lentilles_popupmenu5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/emittance/emittance_v15_simulation.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/emittance_v15_simulation.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/emittance_v15_simulation.m	(revision 17)
@@ -0,0 +1,4902 @@
+
+function varargout = emittance_v2(varargin)
+% EMITTANCE_V2 M-file for emittance_v2.fig
+%      EMITTANCE_V2, by itself, creates a new EMITTANCE_V2 or raises the existing
+%      singleton*.
+%
+%      H = EMITTANCE_V2 returns the handle to a new EMITTANCE_V2 or the handle to
+%      the existing singleton*.
+%
+%      EMITTANCE_V2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in EMITTANCE_V2.M with the given input arguments.
+%
+%      EMITTANCE_V2('Property','Value',...) creates a new EMITTANCE_V2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before emittance_v2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to emittance_v2_OpeningFcn via varargin.
+%
+
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help emittance_v2
+
+% Last Modified by GUIDE v2.5 20-May-2005 09:14:01
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @emittance_v2_OpeningFcn, ...
+                   'gui_OutputFcn',  @emittance_v2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before emittance_v2 is made visible.
+function emittance_v2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to emittance_v2 (see VARARGIN)
+
+% initialisation de l'ACCELERATOR_OBJECT
+LT1init
+
+% creation nouveau champ
+handles.output = hObject;
+handles.number_errors=0.;
+handles.nbsigmas=0;
+
+%essai
+%handles.nbremove=0;
+handles.nbrestore=0;
+
+val=0;
+faisc=[];
+st= struct([]);
+cellule=cell(1,1);
+%st2= struct([]);
+%st3=struct([]);
+handles.Sauver=struct([]);
+vect_colonne_noire=[];
+vect_ligne_noire=[];
+directory_principale='';
+directory_sauvegarde='';
+setappdata(handles.figure1,'tailles',faisc);
+setappdata(handles.figure1,'nbenregistrs',2);
+setappdata(handles.figure1,'ResultsData',st);
+setappdata(handles.figure1,'nbenregistrements',st);
+setappdata(handles.figure1,'Sauver',st);
+setappdata(handles.figure1,'Ecran',cellule);
+setappdata(handles.figure1,'largeur_option',val);
+setappdata(handles.figure1,'vect_colonne_noire',vect_colonne_noire);
+setappdata(handles.figure1,'vect_ligne_noire',vect_ligne_noire);
+setappdata(handles.figure1, 'G',0.043);
+% initialisation drapeau pour dialogue 'sauvegarde sur disque' ____
+setappdata(handles.figure1,'init_sauvegarde',val);
+% directory principale (dï¿œpend de l'utilisateur !!!)
+setappdata(handles.figure1,'directory_principale',directory_principale);
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+handles.nbenregistrs=getappdata(handles.figure1,'nbenregistrs')
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',.333,'TasksToExecute',Inf);
+timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+% button group sur l'image en continu
+h = uibuttongroup('visible','off','Position',[0.05 .9 .12 .08],...
+    'Title','Image','TitlePosition','centertop');
+u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[2 .9 45 30],'parent',h,'HandleVisibility','off');
+u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+    'pos',[50 .9 45 30],'parent',h,'HandleVisibility','off');
+
+% set(h,'SelectionChangeFcn',@selcbk);
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u2);  % No selection
+set(h,'Visible','on');
+
+% positionne par dÃ©faut la lentille basse (plus de sensibilitÃ© pour les rÃ©glages)
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+%%%if strcmp(get(hObject,'Visible'),'off')
+%%%    initialize_gui(hObject, handles);
+%%%end
+
+% UIWAIT makes emittance_v2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = emittance_v2_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% % --- Executes during object creation, after setting all properties.
+
+initialize_gui(gcbf, handles);
+
+function initialize_gui(fig_handle, handles)
+
+
+%____________________________________________________________________
+% dï¿œfinir les alias pour les devices 
+device_name.videograbber = 'lt1/dg/emit-vg';
+device_name.iris = 'lt1/dg/emit-iris';
+device_name.lentille_haute = 'lt1/dg/emit-l.haut';
+device_name.lentille_basse = 'lt1/dg/emit-l.bas';
+device_name.miroir = 'lt1/dg/emit-mc';
+device_name.backlight = 'lt1/dg/emit-bl';
+device_name.ecran = 'lt1/dg/emit-ecr';
+device_name.Q1 = 'lt1/AE/Q.1';
+device_name.Q2 = 'lt1/AE/Q.2';
+device_name.Q3 = 'lt1/AE/Q.3';
+device_name.Q4 = 'lt1/AE/Q.4';
+% test % device_name.H1 = 'lt1/AE/CH.1';
+% device_name.H2 = 'lt1/AE/CH.2';
+% device_name.V1 = 'lt1/AE/CV.1';
+setappdata(handles.figure1,'device_name',device_name);
+
+%____________________________________________________________________
+% directory de sauvegarde en attente
+
+%uibuttongroup
+%     prompt={'entrez votre directory de travail'};
+%     name='DIRECTORY PRINCIPALE';
+%     numlines=1;
+%     defaultanswer={'/home/PM/tordeux/matlab_test/'};
+% 
+%     options.Resize='on';
+%     options.WindowStyle='normal';
+%     options.Interpreter='tex';
+%     nom=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     if ~isempty(nom)
+%         setappdata(handles.figure1,'directory_principale',nom{:});
+%     end
+% 
+%     directory_principale=getappdata(handles.figure1,'directory_principale');
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+directory_principale = getfamilydata('Directory','EMITData');
+phrase=strcat(directory_principale ,'?');
+set(handles.directory_sauvegarde_edit28,'String',phrase);
+setappdata(handles.figure1,'directory_principale',directory_principale);
+
+%____________________________________________________________________
+% inscrire les courants effectifs des aimants de la machine
+
+valQ1= (read_magnet(device_name.Q1)); 
+set(handles.Q1courant_edit,'String',sprintf('%3.2f',valQ1));
+resQ1 = str2double(get(handles.Q1courant_edit,'String'));
+setappdata(handles.figure1,'Q1courant',resQ1);
+
+valQ2= (read_magnet(device_name.Q2)); 
+set(handles.Q2courant_edit,'String',sprintf('%3.2f',valQ2));
+resQ2 = str2double(get(handles.Q2courant_edit,'String'));
+setappdata(handles.figure1,'Q2courant',resQ2);
+
+valQ3= (read_magnet(device_name.Q3)); 
+set(handles.Q3courant_edit,'String',sprintf('%3.2f',valQ3));
+resQ3 = str2double(get(handles.Q3courant_edit,'String'));
+setappdata(handles.figure1,'Q3courant',resQ3);
+
+valQ4= (read_magnet(device_name.Q4)); 
+set(handles.Q4courant_edit,'String',sprintf('%3.2f',valQ4));
+resQ4 = str2double(get(handles.Q4courant_edit,'String'));
+setappdata(handles.figure1,'Q4courant',resQ4);
+
+%test % valH1= (read_magnet(device_name.H1)); 
+% set(handles.H1courant_edit,'String',sprintf('%3.2f',valH1));
+% resH1 = str2double(get(handles.H1courant_edit,'String'));
+% setappdata(handles.figure1,'H1courant',resH1);
+% 
+% valH2= (read_magnet(device_name.H2)); 
+% set(handles.H2courant_edit,'String',sprintf('%3.2f',valH2));
+% resH2 = str2double(get(handles.H2courant_edit,'String'));
+% setappdata(handles.figure1,'H2courant',resH2);
+% 
+% valV1= (read_magnet(device_name.V1)); 
+% set(handles.V1courant_edit,'String',sprintf('%3.2f',valV1));
+% resV1 = str2double(get(handles.V1courant_edit,'String'));
+% setappdata(handles.figure1,'V1courant',resV1);
+
+%____________________________________________________________________
+% insrire une valeur par dï¿œfaut de calibration ???
+set(handles.G_edit12,'String',num2str(43));
+clear('figh');
+
+%____________________________________________________________________
+% mettre off le bouton calibration de l'image
+set([handles.calibOFF_radiobutton6],'Value',1);
+
+%____________________________________________________________________
+% exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+ handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+ handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+ ,handles.backlight_popupmenu3,...
+ handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+ handles.qualite_edit23,handles.G_edit12,...
+    handles.pos1_edit29,handles.pos2_edit30...
+    handles.text45,handles.text39,handles.text26,handles.text41...
+    handles.calib_pushbutton7],'Enable','off')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+%____________________________________________________________________
+% positionner le miroir HORS, eteindre le backlight
+% tango_command_inout('lt1/emit/mirror','Off');
+% tango_command_inout('lt1/emit/backlight','SetBrightness',uint16(0));
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+%___________________________________________________________________
+% position des lentilles pour les differents grandissements, en nombre de pas
+setappdata(handles.figure1,'posl1Gmax',3000);
+setappdata(handles.figure1,'posl2Gmax',35130);
+setappdata(handles.figure1,'posl1Gmoy',8650);
+setappdata(handles.figure1,'posl2Gmoy',26500);
+setappdata(handles.figure1,'posl1Gmin',0);
+setappdata(handles.figure1,'posl2Gmin',3925);
+
+%____________________________________________________________________
+% positionner les voyants des butï¿œes lentilles ï¿œ leur valeur vraies
+
+%dev=device_name.lentille_haute;
+dev=device_name.lentille_haute;
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+
+% errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+% errorstatus=3  limitswitch forward
+% errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+% errorstatus=4  limitswitch backward
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(handles.LHBH_edit25,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(handles.LHBB_edit24,'BackgroundColor','red');
+        end
+
+end         
+
+
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(handles.LBBH_edit26,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(handles.LBBB_edit27,'BackgroundColor','red');
+        end
+end           
+
+
+%____________________________________________________________________
+% allumer en rouge le grandissement effectif
+
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+
+dev1=device_name.lentille_haute;
+dev2=device_name.lentille_basse;
+
+str1=tango_read_attribute(dev1,'AxisCurrentPosition');
+str2=tango_read_attribute(dev2,'AxisCurrentPosition');
+position1=str1.value(1);
+position2=str2.value(1);
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas du grandissement max
+        if isequal(position1,posl1Gmax)&isequal(position2,posl2Gmax)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement moyen
+        if isequal(position1,posl1Gmoy)&isequal(position2,posl2Gmoy)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement min
+        if isequal(position1,posl1Gmin)&isequal(position2,posl2Gmin)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        end
+
+end           
+
+%________________________________________________________________________
+% ï¿œcrire les valeurs effectives de positions des lentilles
+
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+
+% --- Executes during object creation, after setting all properties.
+function lent1_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lent1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% du temps ou il y avait des sliders....
+%         % --- Executes on slider movement.
+%         function lent1_slider1_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_slider1 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent1_edit5,'String',...
+%             num2str(get(handles.lent1_slider1,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent1_edit5_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+
+
+%         function lent1_edit5_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent1_edit5 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent1_edit5 as a double
+% 
+% 
+%         val = str2double(get(handles.lent1_edit5,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent1_slider1,'Min') & ...
+%             val <= get(handles.lent1_slider1,'Max')
+%             set(handles.lent1_slider1,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent1_edit5,'String',...
+%             ['Caramba ',...
+%         %num2str(handles.number_errors),' Times']);
+%             '']);
+%         end
+% 
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_slider2_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: slider controls usually have a light gray background, change
+%         %       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+%         usewhitebg = 1;
+%         if usewhitebg
+%             set(hObject,'BackgroundColor',[.9 .9 .9]);
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+%         % --- Executes on slider movement.
+%         function lent2_slider2_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent2_emitV_edit19,'String',...
+%             num2str(get(handles.lent2_slider2,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_emitV_edit19_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+% 
+%         function lent2_emitV_edit19_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent2_emitV_edit19 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent2_emitV_edit19 as a double
+% 
+%         val = str2double(get(handles.lent2_emitV_edit19,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent2_slider2,'Min') & ...
+%             val <= get(handles.lent2_slider2,'Max')
+%             set(handles.lent2_slider2,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent2_emitV_edit19,'String',...
+%             ['Zut ',...
+%         %num2str(handles.number_errors),'']);
+%             '']);
+%         end
+
+% --- Executes on button press in calib_pushbutton7.
+function calib_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to calib_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% alias
+device_name=getappdata(handles.figure1,'device_name');
+dev=device_name.videograbber;
+
+tango_command_inout(dev,'Calibrate');
+%ATTENTION PEUT ETRE ATTRIBUTS  AVEC un SSSSS
+if isequal(tango_error,-1)
+    
+    %errordlg('erreur TANGO...','Error');
+    tango_print_error_stack;
+    diag = tango_error_stack;
+    errordlg(diag(1).desc);
+else   
+    
+    res=tango_read_attribute(dev,'calibration_quality');
+    % on teste la qualitï¿œ de la calibration  FACTEUR 996.0
+    % le 10 septembre MATLAB a pris lamain sur le code de NL pour le
+    % critï¿œre. attention ï¿œ 990 on est dans les choux
+    if res.value>996.0
+        val=sprintf('%3.2f',res.value);
+        set(handles.qualite_edit23,'String',val);
+        tango_read_attribute(dev,'x_magnification_factor');
+        val=sprintf('%2.1f',1000*ans.value);
+        set(handles.G_edit12,'String',val);
+        setappdata(handles.figure1, 'G',str2num(val)/1000)
+        
+        %dev='lt1/dg/emit-vg';
+        pause(1);
+        toto=tango_read_attribute(dev,'corrected_image');
+        figure(2);
+        imagesc(toto.value);
+        colormap(gray);
+
+    else
+        errordlg('la calibration a echouï¿œe ...','Error'); 
+    end
+    
+end
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function fit_popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in fit_popupmenu1.
+function fit_popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns fit_popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from fit_popupmenu1
+
+val = get(hObject,'Value');
+switch val
+case 1
+    largeur_option=0;
+case 2
+    % fit par gaussienne
+    largeur_option=1;
+
+case 3
+    % vrai rms
+    largeur_option=2;
+    
+case 4
+    % rayon ï¿œ X %
+    largeur_option=3;
+end
+setappdata(handles.figure1,'largeur_option',largeur_option);
+
+% --- Executes on button press in mesure_pushbutton8.
+function mesure_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to mesure_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%nbiterations=0;
+%nombre1=get(handles.fit_popupmenu1, 'String');
+
+popup_sel_index = get(handles.nbiter_popupmenu2, 'Value');
+nombre2=get(handles.nbiter_popupmenu2, 'String');
+Name = nombre2{popup_sel_index};
+nbiterat=str2num(Name(1));
+setappdata(handles.figure1, 'nbiterations',nbiterat);
+set(handles.nbiter_edit37,'String',Name(1));
+switch popup_sel_index
+    case 1
+         errordlg('selectionnez un nombre d''iterations','Error');
+	     %error('Select a number of acquisitions'); %exprimez votre choix 
+    case 2
+        %test de la pause : pause(10); 
+        show1imagesgui_15(handles);     
+         
+    case 3
+         show5imagesgui_15(handles);    
+    case 4
+         show10imagesgui(handles);
+        
+end
+
+
+% --- Executes on button press in plot_pushbutton.
+function plot_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to plot_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+handles.matrx=[];
+handles.matry=[];
+for ik=1:length(handles.ResultsData)
+    handles.matrx(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matrx(ik,2)=handles.ResultsData(ik).LargeurH;
+    errorx(ik)=2*handles.ResultsData(ik).sigmaH;
+    handles.matry(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matry(ik,2)=handles.ResultsData(ik).LargeurV;
+    errory(ik)=2*handles.ResultsData(ik).sigmaV;
+end
+
+clear('figure3');
+figure(3);
+toto1=handles.matrx(:,1)
+toto2=handles.matrx(:,2)
+
+%plot(handles.matrx(:,1),handles.matrx(:,2),'d')
+%%plot(handles.matry(:,1),handles.matry(:,2),'d')
+    % %'--rs','LineWidth',2,...
+    % %                'MarkerEdgeColor','k',...
+    % %                'MarkerFaceColor','g',...
+    %  %               'MarkerSize',8)
+    % 
+    %  
+    % %%t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+    % %%y=[2.3 13.5 7. 0.85 1.8 6.3 22.]';
+    % %plot(t,y,'+'),grid on
+X = [ones(size(handles.matrx(:,1)))  handles.matrx(:,1)  handles.matrx(:,1).^2];
+a=X\handles.matrx(:,2);
+Tmin=min(handles.matrx(:,1));
+Tmax=max(handles.matrx(:,1));
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+plot(T,Z,'r-',handles.matrx(:,1),handles.matrx(:,2),'ro'), grid on
+
+
+Y = [ones(size(handles.matry(:,1)))  handles.matry(:,1)  handles.matry(:,1).^2];
+a=Y\handles.matry(:,2);
+Tmin=min(handles.matry(:,1));
+Tmax=max(handles.matry(:,1));
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+plot(T,Z,'b-',handles.matry(:,1),handles.matry(:,2),'b+'), grid on
+
+% exemple de label des axes avec symboles grecs :
+xlabel('-\pi \leq \Theta \leq \pi')
+ylabel('sin(\Theta)')
+title('Plot of sin(\Theta)')
+text(-pi/4,sin(-pi/4),'\leftarrow sin(-\pi\div4)',...
+     'HorizontalAlignment','left')
+ 
+% nos labels
+xlabel('Courant quadrupolaire (A)')
+ylabel('Largeur faisceau (mm2')
+title('Courbe de focalisation')
+
+% Q1courant de 1 ï¿œ 10 A
+%T=[1:0.1:10]';
+%Y = [ones(size(T))  T  T.^2]*a;
+%%figure(1);
+%hold on
+%figure(4)
+%plot(T,Y,'-',handles.matrx(:,1),handles.matrx(:,2),'o'), grid on
+%hold on
+
+% barre d'erreur
+% hold on
+% errorbar(handles.matrx(:,1),handles.matrx(:,2),errorx) 
+
+
+% --- Executes during object creation, after setting all properties.
+function Q1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function Q1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q1courant_edit as a double
+
+
+ecriture('Q1',handles)
+
+
+
+function ecriture(aimant,handles)
+
+device_name = getappdata(handles.figure1,'device_name');
+Name = strcat(aimant,'courant_edit');
+res = str2double(get(handles.(Name),'String'));
+valmax=tango_get_attribute_config(device_name.(aimant),'current');
+
+if res > str2double(valmax.max_value)
+    set(handles.(Name),'BackgroundColor','red');
+    errordlg('Courant superieur ï¿œ valeur maximale !','ALARME');
+    guidata(gcbo,handles);
+    old = tango_read_attribute(device_name.(aimant),'current');
+    set(handles.(Name),'String',num2str(old.value(1)));
+    pause(2);
+    set(handles.(Name),'BackgroundColor','green');
+else
+    set(handles.(Name),'BackgroundColor','green');
+    Name2 =[aimant 'courant'];
+    setappdata(handles.figure1,Name2,res);
+    tango_write_attribute(device_name.(aimant),'current',res);
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function H1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function H1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H1courant_edit as a double
+
+ecriture('H1',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function V1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+
+% --------------------------------------------------------------------
+function V1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ecriture('V1',handles)
+
+
+% ------- lecture de valeurs dans les devices servers Tango ----------
+function Cour=read_magnet(dev)
+
+attr_val = tango_read_attribute(dev,'current');
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  fprintf(1,'TracyServer Error %s\n',dev)
+  return;
+end
+Cour=attr_val.value(1);
+
+% --------------------------------------------------------------------
+% --- Executes during object creation, after setting all properties.
+function nbiter_popupmenu2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'Nbre iterations par acquisition','1 iteration par acquisition'...
+    ,'5 iterations par acquisition'...
+    });
+
+% --- Executes on selection change in nbiter_popupmenu2.
+function nbiter_popupmenu2_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns nbiter_popupmenu2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from nbiter_popupmenu2
+
+
+% % --- Executes on button press in camera_control_togglebutton.
+% function camera_control_togglebutton_Callback(hObject, eventdata, handles)
+% % hObject    handle to camera_control_togglebutton (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hint: get(hObject,'Value') returns toggle state of camera_control_togglebutton
+% button_state = get(hObject,'Value');
+% if button_state == get(hObject,'Max')
+%     % toggle button is pressed
+% elseif button_state == get(hObject,'Min')
+%     % toggle button is not pressed
+% end
+
+
+% ï¿œ dï¿œtruire
+%         % --- Executes on button press in camera_image_togglebutton.
+%         function camera_image_togglebutton_Callback(hObject, eventdata, handles)
+%         % hObject    handle to camera_image_togglebutton (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hint: get(hObject,'Value') returns toggle state of camera_image_togglebutton
+%         button_state = get(hObject,'Value');
+%         if button_state == get(hObject,'Max')
+%             % toggle button is pressed
+%         elseif button_state == get(hObject,'Min')
+%             % toggle button is not pressed
+%         end
+% 
+%         %camera_image(handles);
+% 
+% 
+%         %     name=['axes' num2str(1)];
+%         %    axes(handles.(name))
+%         % timer1 = timer('Period', 2,'TasksToExecute', 
+%         % Inf,'ExecutionMode','fixedRate');
+% 
+%         %     t=timer('StartDelay',1,'TimerFcn',@mycallback,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+% 
+%         % timer1=timer('StartDelay',1,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+%         % timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+% 
+%         %figure(1);
+%         %axes(handles.axes1);
+%         timer1 = getappdata(handles.figure1,'Timer');
+%         start(timer1);
+
+%     % --- Executes on button press in imageOFF_radiobutton.
+%     function imageOFF_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageOFF_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageOFF_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     delete(timer1);
+
+
+% % function buttongroup(hObject, eventdata, handles)
+% % h = uibuttongroup('visible','off','Position',[0 .9 .1 .1]);
+% % u0 = uicontrol('Style','Radio','String','Option 1',...
+% %     'pos',[10 350 80 30],'parent',h,'HandleVisibility','off');
+% % u1 = uicontrol('Style','Radio','String','Option 2',...
+% %     'pos',[10 250 80 30],'parent',h,'HandleVisibility','off');
+% % u2 = uicontrol('Style','Radio','String','Option 3',...
+% %     'pos',[10 150 80 30],'parent',h,'HandleVisibility','off');
+% % set(h,'SelectionChangeFcn',@selcbk);
+% % set(h,'SelectedObject',[]);  % No selection
+% % set(h,'Visible','on');
+
+% function selcbk(source,eventdata)
+% disp(source);
+% disp('toto');
+% disp([eventdata.EventName,'  ',... 
+%      get(eventdata.OldValue,'String'),'  ', ...
+%      get(eventdata.NewValue,'String')]);
+% disp(get(get(source,'SelectedObject'),'String'));
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+timer1 = getappdata(handles.figure1,'Timer');
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('image video <-')
+        start(timer1);
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('image video ->')
+        stop(timer1);
+end
+
+
+%     % --- Executes on button press in imageON_radiobutton.
+%     function imageON_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageON_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageON_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     start(timer1);
+
+
+function mutual_exclude(off)
+set(off,'Value',0)
+
+% --- Executes on button press in calibON_radiobutton5.
+function calibON_radiobutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to calibON_radiobutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibON_radiobutton5
+off = [handles.calibOFF_radiobutton6];
+mutual_exclude(off)
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% positionner le miroir EN, allumer le backlight
+tango_command_inout(device_name.miroir,'On');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(6));
+
+%____________________________________________________________________
+% positionner le popupmenu du backlight a la valeur effective
+lumiere=tango_command_inout(device_name.backlight,'GetBrightness');
+
+%- check error
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+else
+    set(handles.backlight_popupmenu3,'Value',lumiere);
+end
+
+%rendre la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+     handles.pos1_edit29,handles.pos2_edit30...
+     handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','on')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes on button press in calibOFF_radiobutton6.
+function calibOFF_radiobutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to calibOFF_radiobutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibOFF_radiobutton6
+off = [handles.calibON_radiobutton5];
+mutual_exclude(off)
+
+% alias
+
+device_name = getappdata(handles.figure1,'device_name');
+%getappdata(handles.figure1,'backlight');
+
+% positionner le miroir HORS, eteindre le backlight
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+
+%% inserer l'Ã©cran YAG
+%tango_command_inout(device_name.ecran,'Insert');
+%fonction_error;
+
+%exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+        handles.pos1_edit29,handles.pos2_edit30...
+        handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','off')
+%handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes during object creation, after setting all properties.
+function G_edit12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function G_edit12_Callback(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of G_edit12 as text
+%        str2double(get(hObject,'String')) returns contents of G_edit12 as a double
+
+
+
+
+
+% ------------------------------------------------------------
+% Callback for the Remove push button
+% ------------------------------------------------------------
+% --- Executes on button press in remove_pushbutton.
+function remove_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to remove_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Callback of the uicontrol handles.RemoveButton.
+%essai
+%handles.nbremove=handles.nbremove+1
+
+currentVal = get(handles.listbox1,'Value')
+resultsStr = get(handles.listbox1,'String')
+numResults = size(resultsStr,1)
+
+
+% Remove the data and list entry for the selected value
+
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+% handles.Sauver contient la structure du rï¿œsultat ï¿œ effacer
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+if isequal( handles.Ecran,{[]})
+    handles.Ecran= resultsStr(currentVal);
+else
+    handles.Ecran=[ handles.Ecran ; resultsStr(currentVal)];
+end
+resultsStr(currentVal) =[];
+resultats=getappdata(handles.figure1,'ResultsData');
+%%NumeroRemove=resultats(currentVal).RunNumber;
+if isequal( handles.Sauver,struct([]))
+    handles.Sauver=resultats(currentVal);
+else
+    handles.Sauver=[handles.Sauver  resultats(currentVal)];
+end
+
+resultats(currentVal)=[];
+setappdata(handles.figure1,'ResultsData',resultats);
+handles.ResultsData = resultats;
+
+%essai
+%restoreRes(handles.nbremove)=resultats(currentVal)
+%handles.restore=handles.remove+1;
+if ~isequal(numResults,1)
+    set([handles.restaurer_pushbutton15],'Enable','on')
+end
+% If there are no other entries, disable the Remove and Plot button
+% and change the list sting to <empty>
+if isequal(numResults,1)
+	resultsStr = {'<vide !!>'};
+	currentVal = 1;
+	set([handles.remove_pushbutton,handles.plot_pushbutton,...
+        handles.restaurer_pushbutton15],'Enable','off')	
+end
+
+
+
+% Ensure that list box Value is valid, then reset Value and String
+currentVal = min(currentVal,size(resultsStr,1));
+set(handles.listbox1,'Value',currentVal,'String',resultsStr)
+
+% Store the new ResultsData
+setappdata(handles.figure1,'Sauver',handles.Sauver);
+setappdata(handles.figure1,'Ecran',handles.Ecran);
+set(handles.nbacqu_edit13,'String', num2str(size(resultsStr,1)));
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+%%en attente   set(handles.nbacqu_edit13,'String',num2str(length(resultats)));
+
+guidata(hObject, handles);
+
+% --- Executes on button press in emittance_pushbutton12.
+function emittance_pushbutton12_Callback(hObject, eventdata, handles)
+% hObject    handle to emittance_pushbutton12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% calcul d'emittance
+
+handles.ResultsData = getappdata(handles.figure1,'ResultsData');
+largeur_option = getappdata(handles.figure1,'largeur_option');
+
+switch largeur_option
+case 1
+    % fit par gaussienne largeur_option = 1
+    set(handles.type_edit36,'String','rms (fit)');
+case 2
+    % vrai rms largeur_option = 2
+    set(handles.type_edit36,'String','vrai rms');
+    
+case 3
+    % rayon ï¿œ X % largeur_option = 3
+    set(handles.type_edit36,'String','Ã  X %');
+end
+
+
+% les vecteurs sx et sy sont dÃ©jÃ  les valeurs moyennï¿œes sur nbiter iterations
+%for i=1:length(handles.ResultsData)
+%    sx(i) = handles.ResultsData(i).LargeurH;
+ %   sy(i) = handles.ResultsData(i).LargeurV;
+ %   I(i)= handles.ResultsData(i).Q4courant;
+%end
+%%I = [1 2 3 4]
+
+% transformation courant - force quadrupolaire
+% ï¿œtalonnage de Q7 (si on a le temps prï¿œfï¿œrez ï¿œtalonnage Q4, mais pas trop important)
+% ATTENTION nï¿œcessitï¿œ de connaotre m'ï¿œnergie de la ligne (he oui ce n'est
+% pas simple) A RENTRER A LA MAIN DANS L'INTERFACE
+res = get(handles.energie_edit38,'String');
+if isequal(res,'ENERGIE')
+    errordlg('vous n''avez pas rentrÃ© l''Ã©nergie de la ligne !','Attention');
+    return
+end
+Energie = Str2num(get(handles.energie_edit38,'String'))*0.001;
+%t = amp2k4LT1(I,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15 , 1,Energie)
+%Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor
+% t = amp2k4LT1('QP','SetPoint',I, [1 4], Energie,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15,1)
+%t = hw2physics('QP','Setpoint',I,[1 4],Energie)';
+%% tests !
+t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+sx=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+sy=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+
+% constantes de la ligne de transfert
+% valeur vÃ©rifiÃ©e sur 3D D Zerbib 11 fÃ©vrier 2005
+
+Drift = [0.150 1.669 0.85415 2.400 0.950 3.79286];
+%     % point 0 simulation barelattice_LT1 ï¿œ entrï¿œe Lmag Q1
+%     drift1 = 1.669
+%     % sortie Lmag Q1 entrï¿œe Lmag Q2
+%     drift2 = 1.00415 - 0.150 = 0.85415
+%     % sortie Lmag Q2 entrï¿œe Lmag Q3
+%     drift3 = 2.550 - 0.150 = 2.400
+%     % sortie Lmag Q3 entrï¿œe Lmag Q4
+%     drift4 = 1.100 - 0.150 = 0.95
+%     % sortie L magnï¿œtique Qpï¿œle - centre ï¿œmittance
+%     drift5 = 3867,86 - 150/2 =  3792.86
+setappdata(handles.figure1,'Drift',Drift)
+Lq = Drift(1);
+Ld = Drift(6);
+Md = [1 Ld ; 0 1];
+
+% plan HORIZONTAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+% tailles en unitÃ© standard
+sx = sx * 0.001;
+sx2=sx.*sx;
+
+Mx11=zeros(length(t),1);
+Mx12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Mxq','Mxtransport')
+        Mxq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+        -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+        Mxtransport=Md*Mxq;
+        Mx11(i)=Mxtransport(1,1);
+        Mx12(i)=Mxtransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=Mx11.*Mx11;
+B=Mx12.*Mx12;
+F=2*Mx11.*Mx12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sx2' ; B'*sx2' ; F'*sx2'];
+   
+twissx=Z\H;
+% twissx(1) = sigma11(point origine) = Eps beta
+% twissx(2) = sigma22(point origine) = Eps gamma
+% twissx(3) = sigma12(point origine) = - Eps alpha
+epsx = sqrt(twissx(1)*twissx(2)-twissx(3)*twissx(3));
+% affichage de l'emittance en mm mrad
+emittanceH = sprintf('%3.2f',epsx*1e6) ;
+set(handles.emitH_edit18,'String',emittanceH);
+setappdata(handles.figure1,'Twissx',twissx);
+
+% plan VERTICAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+sy = sy * 1e-3;
+sy2=sy.*sy;
+
+My11=zeros(length(t),1);
+My12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Myq','Mytransport')
+        Myq=[cosh(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sinh(Lq*sqrt(t(i))) ; ...
+        sqrt(t(i))*sinh(Lq*sqrt(t(i)))  cosh(Lq*sqrt(t(i)))];
+        Mytransport=Md*Myq;
+        My11(i)=Mytransport(1,1);
+        My12(i)=Mytransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=My11.*My11;
+B=My12.*My12;
+F=2*My11.*My12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sy2' ; B'*sy2' ; F'*sy2'];
+   
+twissy=Z\H;
+epsy = sqrt(twissy(1)*twissy(2)-twissy(3)*twissy(3));
+emittanceV = sprintf('%3.2f',epsy*1e6) ;
+set(handles.emitV_edit19,'String',emittanceV);
+setappdata(handles.figure1,'Twissy',twissy);
+
+
+
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+%         % Mesure de l'emittance par fit "Belbeoch" et distribution normale des
+%         % erreurs de mesures
+% 
+%         % valeurs exactes gradient t
+%         % valeurs exactes tailles de faisceau se
+%         % pourc = pourcentage d'erreur maximum sur la mesure de taille
+%         % Lq = Longueur du quadrupole
+%         % Ld = longueur du drift Qpole - point de mesure
+%         %---------------------------------------------------------
+%         % 
+% 
+%         %cla(figure(1));
+% 
+%         % methode de calcul
+%         method = 'moyenne des acquisitions';
+%         %method = 'moyenne des emittances'
+% 
+%         % erreur sur les mesures de taille / nb d'iterations sur une mesure/ pour
+%         % tester la validite de la methode : nb de tests 
+%         sigma = 0.35;
+%         % ? nbiter=5;
+%         nbiter=1;
+%         nbtests=30000;
+% 
+%         % valeurs exactes de forces quadrupolaires et tailles de faisceau
+%         t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+%         se=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+% 
+%         % initialisations
+%         % ? eps=zeros(nbiter,1);
+%         eps=zeros(nbtests,1);
+%         Lq=0.15;
+%         Ld=3.8915;
+%         Md=[1 Ld ; 0 1];
+%         st2=zeros(nbiter,length(t));
+%         meanst2=zeros(1,length(t));
+% 
+%         nbcomplexes=0;
+%         stdeps=1.;
+%         g=0;
+%         Z=zeros(3,3);
+% 
+% 
+%         % calcul des elements de la matrice de transport entre le Qpole et le point
+%         % de mesure
+%         M11=zeros(length(t),1);
+%         M12=zeros(length(t),1);
+%         for i = 1:length(t)
+%                 clear('Mq','Mtransport')
+%                 Mq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+%                 -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+%                 Mtransport=Md*Mq;
+%                 M11(i)=Mtransport(1,1);
+%                 M12(i)=Mtransport(1,2);
+%         end
+% 
+% 
+%         for j = 1:nbtests
+% 
+%         % calcul de l'emittance avec moyenne prealable de chaque acquisition sur les nbiter
+%         %iterations (5 dans le menu) (distribution normale dans cette simulation)
+%         for i=1:length(t)
+%             s=se(i)+sigma*se(i)*randn(nbiter,1);
+%             s2=s.*s;
+%             meanst2(i)=mean(s2);
+%         end
+% 
+%         % *********** methode Belbeoch **********************
+%         A=M11.*M11;
+%         B=M12.*M12;
+%         F=2*M11.*M12 ;
+% 
+%         Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+%                    F'*A F'*B F'*F];
+%         H=[A'*meanst2' ; B'*meanst2' ; F'*meanst2'];
+% 
+%         citer=Z\H;
+%         eps(j)=sqrt(citer(1)*citer(2)-citer(3)*citer(3));
+%         nbcomplexes = 1-isreal(eps(j)) + nbcomplexes;
+%         if isequal(isreal(eps(j)),0)
+%             epsilon(j) = 0;
+%         else 
+%             epsilon(j) = eps(j);
+%         end
+% 
+% 
+%         % emittanceH=num2str(eps) ;   
+%         % set(handles.emitH_edit18,'String',emittanceH);
+% 
+% 
+%         end
+% 
+%         moyenne = mean(epsilon)*length(eps)/(length(eps)-nbcomplexes);
+%         for j=1:length(eps)
+%             if isequal(epsilon(j),0)
+%                 sepsilon(j) = moyenne;
+%             else
+%                 sepsilon(j) = epsilon(j);
+%             end
+%         end
+%         standard = std(sepsilon)*sqrt(length(eps)/(length(eps)-nbcomplexes));
+%         disp(['nbcomplexes=' sprintf('%0.5g',nbcomplexes) '  sigma tailles=' sprintf('%0.5g',sigma) ...
+%                     '  nbiter=' sprintf('%0.5g',nbiter) ...
+%                 '  nbtests=' sprintf('%0.5g',nbtests) '  meaneps=' ...
+%                 sprintf('%0.5g',moyenne) '  stdeps=' sprintf('%0.5g',standard)] )
+%         disp(' ')
+% 
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  
+% 
+
+
+% --- Executes during object creation, after setting all properties.
+function nbacqu_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function nbacqu_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbacqu_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of nbacqu_edit13 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit14 as text
+%        str2double(get(hObject,'String')) returns contents of edit14 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit15 as text
+%        str2double(get(hObject,'String')) returns contents of edit15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit16 as text
+%        str2double(get(hObject,'String')) returns contents of edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit17 as text
+%        str2double(get(hObject,'String')) returns contents of edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitH_edit18_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+% emittance horizonale
+
+
+
+function emitH_edit18_Callback(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitH_edit18 as text
+%        str2double(get(hObject,'String')) returns contents of emitH_edit18 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitV_edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function emitV_edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitV_edit19 as text
+%        str2double(get(hObject,'String')) returns contents of emitV_edit19 as a double
+
+
+% --- Executes on button press in ellipse_pushbutton13.
+function ellipse_pushbutton13_Callback(hObject, eventdata, handles)
+% hObject    handle to ellipse_pushbutton13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ellipse_v15(handles)
+
+
+% --- Executes when figure1 window is resized.
+function figure1_ResizeFcn(hObject, eventdata, handles)
+% hObject    handle to figure1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes on button press in radiobutton7_bh_l1.
+function Lenthaute_radiobutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton7_bh_l1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Lenthaute_radiobutton7
+autre = [handles.tata_radiobutton10];
+mutual_exclude(autre)
+
+
+
+
+% --- Executes on button press in radiobutton10_bh_l2.
+function tata_radiobutton10_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton10_bh_l2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton10_bh_l2
+autre = [handles.Lenthaute_radiobutton7];
+mutual_exclude(autre)
+
+
+
+
+
+
+% --- Executes on button press in restaurer_pushbutton15.
+function restaurer_pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Restore the data and list entry for the last deleted value        
+ResultsStr = get(handles.listbox1,'String');
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+
+LastValue=length(handles.Sauver) ;
+toto=handles.Sauver(LastValue);
+titi=handles.Ecran(LastValue);
+Numero=toto.RunNumber;
+Nombre=length(handles.ResultsData);
+reussite=0;
+
+if Numero>handles.ResultsData(Nombre).RunNumber
+    handles.ResultsData=[handles.ResultsData toto];
+    ResultsStr = [ResultsStr ; titi];
+else 
+    i=0;      
+    while isequal(reussite,0) & (i<(length(handles.ResultsData)))
+            i=  i+1  ;
+            if Numero>handles.ResultsData(Nombre-i+1).RunNumber
+                handles.ResultsData=[handles.ResultsData(1:Nombre-i+1) toto handles.ResultsData(Nombre-i+2:end)];
+                ResultsStr = [ResultsStr(1:Nombre-i+1) ; titi;ResultsStr(Nombre-i+2:end) ];
+                reussite=reussite+1;
+            end
+        
+    end
+    if isequal(reussite,0)  
+        handles.ResultsData=[toto handles.ResultsData];
+        ResultsStr = [titi ; ResultsStr];
+    end
+    
+end
+
+% Build the new results list string for the listbox
+set(handles.listbox1,'String',ResultsStr);
+
+% Store the new ResultsData
+handles.Sauver(LastValue)=[];
+handles.Ecran(LastValue)=[];
+setappdata(handles.figure1,'Sauver',handles.Sauver)
+setappdata(handles.figure1,'Ecran',handles.Ecran)
+setappdata(handles.figure1,'ResultsData',handles.ResultsData);
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+set(handles.nbacqu_edit13,'String', num2str(size(ResultsStr,1)));
+
+
+% dï¿œsactiver le bouton restaurer si la liste est vide
+if isequal(LastValue,1)
+	set([handles.restaurer_pushbutton15],'Enable','off')	
+end
+guidata(hObject, handles);
+
+
+% --- Executes on button press in mesuressfaisceau_pushbutton16.
+function mesuressfaisceau_pushbutton16_Callback(hObject, eventdata, handles)
+% hObject    handle to mesuressfaisceau_pushbutton16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% sauvegarde sur disque de l'ensemble des acquisitions avec et sans
+% faisceau, proposee lorsque aucune acquisition avec faiseau n'est encore
+% faite
+entree=    getappdata(handles.figure1,'ResultsData');
+directory_principale = getappdata(handles.figure1,'directory_principale');
+if isequal(length(entree),0)
+    
+       %ouvrir le dossier pour l'enregistrement des profils
+       prompt={'entrer un nom de rï¿œpertoire'};
+       name='SAUVEGARDE SUR DISQUE';
+       numlines=1;
+       defaultanswer={strcat(datestr(clock,29),'_1')};
+       options.Resize='on';
+       options.WindowStyle='normal';
+       options.Interpreter='tex';
+       
+       % on ne propose la boite de dialogue qu'une seule fois
+       % ulterieurement, si on souhaite changer de directory de sauvegarde,
+       % cela se fait interactivement dans le '   ' 
+       val=getappdata(handles.figure1,'init_sauvegarde');
+       directory_principale=getappdata(handles.figure1,'directory_principale');
+       
+       while isequal(val,0)
+            directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+            % chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+            %%directory_sauvegarde=strcat(directory_principale,directory{:});
+            directory_sauvegarde=strcat(directory_principale,directory{:},'/');
+            setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+            
+            
+            % cas ou un nom de directory a ï¿œtï¿œ rentrï¿œ
+            if ~isequal(directory,{})
+                % cas ou la directory n'existe pas
+                %%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+                if ~isdir(directory_sauvegarde)   
+%                     mkdir(chemin)
+%                     cd(chemin);
+                    mkdir(directory_sauvegarde)
+                    cd(directory_sauvegarde);
+                    
+                    setappdata(handles.figure1,'init_sauvegarde',1);
+                    val=getappdata(handles.figure1,'init_sauvegarde');
+                    set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+                    
+                % cas ou la directory existe deja
+                else    
+                    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+                    if isequal(button,'oui')
+                        
+%                         cd(chemin);
+                        cd(directory_sauvegarde);  
+                        
+                        setappdata(handles.figure1,'init_sauvegarde',1);
+                        val=getappdata(handles.figure1,'init_sauvegarde');
+                        set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+          
+                    else
+                        % retour ï¿œ la case dï¿œpart 
+                        
+                    end
+                end     
+            
+            % cas ou on a refusï¿œ de rentrer un nom de directory
+            else
+                
+                errordlg('vous n''avez pas sï¿œlectionnï¿œ de directory de sauvegarde !','Attention');
+                
+                setappdata(handles.figure1,'init_sauvegarde',1);
+                val=getappdata(handles.figure1,'init_sauvegarde');
+            end
+            
+       end
+
+end
+
+
+showsansfgui_15(handles); 
+
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmax_pushbutton26.
+function Gmin_pushbutton28_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmax_pushbutton26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    
+    % avancer du nombre de pas exact correspondant au grandissement : 0
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%         pause(0.5);
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement 
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmin);
+     
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+        
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+ 
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        % ï¿œteindre le vert
+        %set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        
+
+end   
+
+% allumer le voyant rouge Gmin
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmin,5);
+test2 = test_position(pos2.value(1),posl2Gmin,5);
+if test1 == 1&test2==1
+    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmoy_pushbutton27.
+function Gmoy_pushbutton27_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmoy_pushbutton27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    fonction_error
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    status0 =  tango_command_inout(dev,'AxisGetMotionStatus')
+    % avancer du nombre de pas exact correspondant au grandissement moyen : 
+    tango_command_inout(dev,'AxisGoToPosition',posl1Gmoy);
+    fonction_error
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+   
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+        error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        disp('lentille haute')
+        % abort 
+    end
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+         disp('moy : abort')
+        end
+
+        % au cas oï¿œ la butï¿œe haute est allumï¿œe on l'ï¿œteint
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1) 
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    fonction_error;
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+
+    % avancer du nombre de pas exact correspondant au grandissement
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmoy);
+    
+    % on attent que l'axe se mette en mouvement
+    if (temporisation_mvt_axis(dev) == -1)
+        error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        % abort 
+    end
+
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    end
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         % ï¿œteindre le vert
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+
+% allumer le voyant rouge Gmoy
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmoy,5);
+test2 = test_position(pos2.value(1),posl2Gmoy,5);
+if test1 == 1&test2==1
+    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmin_pushbutton28.
+function Gmax_pushbutton26_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmin_pushbutton28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de positions des lentilles pour ce grandissement
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+
+
+dev=device_name.lentille_haute
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             pause(0.2);
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.2);
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702])
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    % avancer du nombre de pas exact correspondant au grandissement max :
+    tango_command_inout(dev,'AxisGoToPosition',posl1Gmax);
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+         
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev); 
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702])
+    end
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev); 
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+            
+        % attendre la fin de la commande
+            % set(handles.tata_radiobutton10,'BackgroundColor','green');
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            %set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+            % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement MAX ...
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmax);
+    
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev); 
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+            
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    %     % ï¿œteindre le vert
+    %     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+
+end   
+
+% allumer le voyant Gmax en rouge
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmax,5);
+test2 = test_position(pos2.value(1),posl2Gmax,5);
+if test1 == 1&test2==1
+    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in ppp_pushbutton18.
+function ppp_pushbutton18_Callback(hObject, eventdata, handles)
+% hObject    handle to ppp_pushbutton18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=10000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+% logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+% logdev2=get(handles.tata_radiobutton10,'Value');
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+% if isequal(logdev1,0)&isequal(logdev2,0)
+%     errordlg('selectionnez une lentille','ATTENTION');
+% else
+%     if isequal(logdev1,1)
+%         dev=device_name.lentille_haute;
+%         nbpas=5000;
+%     else
+%         dev=device_name.lentille_basse;
+%         nbpas=10000;
+%     end
+%     
+%     errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%     if (tango_error == -1)
+%         %- handle error
+%         tango_print_error_stack;
+%         return;
+%         errordlg('erreur tango !','Erreur');
+% 
+%     else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on descend vers la butï¿œe forward
+%             tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%         
+%             % temporisation : 
+%             pause(0.2);
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                 end
+%                 pause(0.5);
+%             end
+%             
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             if isequal(logdev1,1)
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%             else
+%                 set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%             end
+%             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+
+
+% --- Executes on button press in pp_pushbutton19.
+function pp_pushbutton19_Callback(hObject, eventdata, handles)
+% hObject    handle to pp_pushbutton19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=1000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+% --- Executes on button press in p_pushbutton20.
+function p_pushbutton20_Callback(hObject, eventdata, handles)
+% hObject    handle to p_pushbutton20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=100;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+            
+            %pause(0.2);
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+                
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                    
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% --- Executes on button press in m_pushbutton23.
+function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-10000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green'); 
+                    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                end
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     disp('dans la boucle tant que mvt')
+%                     if isequal(logdev1,1)
+%                         disp('je dois afficher le vert')
+%                         pause(0.1);
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                         %pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                         set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         %set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                         pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                         %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+% 
+%                     end
+%                 end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    %pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    %set(handles.pos2_edit30,'String',num2str(pos2.value(1)
+                    %));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+%     % --- Executes on button press in mmm_pushbutton21.
+%     function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mmm_pushbutton21 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-5000;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-10000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+% 
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+% --- Executes on button press in m_pushbutton23.
+function mm_pushbutton22_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-1000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                        
+                    else
+                        
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+%     % --- Executes on button press in mm_pushbutton22.
+%     function mm_pushbutton22_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mm_pushbutton22 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-500;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-1000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%                 if (tango_error == -1)
+%                     %- handle error
+%                     tango_print_error_stack;
+%                     return;
+%                     errordlg('erreur tango !','Erreur');
+% 
+%                 else
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+%                 end
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+
+% --- Executes on button press in m_pushbutton23.
+function m_pushbutton23_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-100;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+                
+                while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    else
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+%         % --- Executes on button press in backlight_pushbutton24.
+%         function backlight_pushbutton24_Callback(hObject, eventdata, handles)
+%         % hObject    handle to backlight_pushbutton24 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         prompt={'entrer une intensitï¿œ * entier entre 0 et 10'};
+%         name='backlight';
+%         numlines=1;
+%         lumiere=tango_command_inout('lt1/emit/backlight','GetBrightness');
+%         %- check error
+%         if (tango_error == -1)
+%               %- handle error
+%               tango_print_error_stack;
+%               return;
+%         else
+%             defaultanswer={num2str(lumiere)};
+%         end
+%         options.Resize='on';
+%         options.WindowStyle='normal';
+%         options.Interpreter='tex';
+%         intensite=inputdlg(prompt,name,numlines,defaultanswer,options);
+%         if ~isempty(intensite)
+%             tango_command_inout('lt1/emit/backlight','SetBrightness',uint16(str2num(intensite{:})));
+%         end
+% 
+%     % --- Executes on button press in iris_pushbutton25.
+%     function iris_pushbutton25_Callback(hObject, eventdata, handles)
+%     % hObject    handle to iris_pushbutton25 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     %      %entrer les deux variables vitesse et intensite pour l'iris
+%     %        prompt={'entrer la vitesse - valeur entre 1 et 3','entrer l''intensite - valeur entre 1 et 10'};
+%     %        name='IRIS';
+%     %        numlines=1;
+%     %        defaultanswer={'3','10'};
+%     %        options.Resize='on';
+%     %        options.WindowStyle='normal';
+%     %        options.Interpreter='tex';
+%     %        val=0;
+%     %     %     while isequal(val,0)
+%     %         choix=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     %     %         if ~isequal(directory,{})
+%     %     %             if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+%     %     %                 mkdir /home/PM/tordeux/matlab_test/directory;
+%     %     %                 val=1;
+%     %     %             else    
+%     %     %                 button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non')  
+%     %     %                 if isequal(button,'oui')
+%     %     %                     val=1;
+%     %     %                 end
+%     %     %             end     
+%     %     %         else
+%     %     %             %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%     %     %             directory={'secours'};
+%     %     %             val=1;
+%     %     %         end
+%     %     %     end
+% 
+%     IRIS(handles);
+% 
+
+
+function qualite_edit23_Callback(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of qualite_edit23 as text
+%        str2double(get(hObject,'String')) returns contents of qualite_edit23 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function qualite_edit23_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBB_edit24_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBB_edit24 as text
+%        str2double(get(hObject,'String')) returns contents of LHBB_edit24 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBB_edit24_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBH_edit25_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBH_edit25 as text
+%        str2double(get(hObject,'String')) returns contents of LHBH_edit25 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBH_edit25_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBH_edit26_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBH_edit26 as text
+%        str2double(get(hObject,'String')) returns contents of LBBH_edit26 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBH_edit26_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBB_edit27_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBB_edit27 as text
+%        str2double(get(hObject,'String')) returns contents of LBBB_edit27 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBB_edit27_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in fondGmax_pushbutton29.
+function fondGmax_pushbutton29_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmax_pushbutton29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmoy_pushbutton30.
+function fondGmoy_pushbutton30_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmoy_pushbutton30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmin_pushbutton31.
+function fondGmin_pushbutton31_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmin_pushbutton31 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+function directory_sauvegarde_edit28_Callback(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of directory_sauvegarde_edit28 as text
+%        str2double(get(hObject,'String')) returns contents of directory_sauvegarde_edit28 as a double
+
+
+% % directory principale (dï¿œpend de l'utilisateur !!!)
+% setappdata(handles.figure1,'directory_principale',directory_principale);
+% 
+% % directory de sauvegarde en attente
+% setappdata(handles.figure1,'directory_principale','/home/PM/tordeux/matlab_test/');
+% directory_principale=getappdata(handles.figure1,'directory_principale');
+% phrase=strcat(directory_principale,'?');
+
+directory_sauvegarde=get(handles.directory_sauvegarde_edit28,'String');
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory n'existe pas
+%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+if  ~isdir(   directory_sauvegarde)
+%                     mkdir(chemin)
+%                     cd(chemin);
+    mkdir(directory_sauvegarde)
+    cd(directory_sauvegarde);
+
+    %setappdata(handles.figure1,'init_sauvegarde',1);
+    %val=getappdata(handles.figure1,'init_sauvegarde');
+    %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+    setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory existe deja
+else    
+    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+    if isequal(button,'oui')
+
+%                         cd(chemin);
+        cd(directory_sauvegarde);  
+
+        %setappdata(handles.figure1,'init_sauvegarde',1);
+        %val=getappdata(handles.figure1,'init_sauvegarde');
+        %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+        setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+    else
+        % retour ï¿œ la case dï¿œpart 
+
+    end
+end     
+
+
+
+% --- Executes during object creation, after setting all properties.
+function directory_sauvegarde_edit28_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in backlight_popupmenu3.
+function backlight_popupmenu3_Callback(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns backlight_popupmenu3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from backlight_popupmenu3
+
+%alias
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.backlight;
+
+val = get(hObject,'Value');
+switch val
+case 1
+tango_command_inout(dev,'SetBrightness',uint16(0));    
+case 2
+tango_command_inout(dev,'SetBrightness',uint16(1));  
+case 3
+tango_command_inout(dev,'SetBrightness',uint16(2));  
+case 4
+tango_command_inout(dev,'SetBrightness',uint16(3));  
+case 5
+tango_command_inout(dev,'SetBrightness',uint16(4));  
+case 6
+tango_command_inout(dev,'SetBrightness',uint16(5));  
+case 7
+tango_command_inout(dev,'SetBrightness',uint16(6));  
+case 8
+tango_command_inout(dev,'SetBrightness',uint16(7));  
+case 9
+tango_command_inout(dev,'SetBrightness',uint16(8));  
+case 10
+tango_command_inout(dev,'SetBrightness',uint16(9));  
+case 11
+tango_command_inout(dev,'SetBrightness',uint16(10));  
+
+end
+
+% --- Executes during object creation, after setting all properties.
+function backlight_popupmenu3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'0','1','2','3','4','5','6',...
+    '7','8','9','10',...
+    });
+
+
+function pos1_edit29_Callback(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos1_edit29 as text
+%        str2double(get(hObject,'String')) returns contents of pos1_edit29 as a double
+
+% encore ï¿œ faire !!
+
+
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% device_name = getappdata(handles.figure1,'device_name');
+%     
+% numeropas = get(handles.pos1_edit29,'String');
+% errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+% if (tango_error == -1)
+%     %- handle error
+%     tango_print_error_stack;
+%     return;
+%     errordlg('erreur tango !','Erreur');
+% 
+% else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on bouge
+%             tango_command_inout(dev,'AxisGoToPosition',numeropas);
+%         
+%             % temporisation : 
+%             temporisation_mvt_axis(dev);
+%             
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+% 
+%             end
+%             
+%             pause(0.5);
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             % on ï¿œcrit une derniï¿œre fois la position de la lentille
+%  
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                     
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+% 
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+% --- Executes during object creation, after setting all properties.
+function pos1_edit29_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function pos2_edit30_Callback(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos2_edit30 as text
+%        str2double(get(hObject,'String')) returns contents of pos2_edit30 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pos2_edit30_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in F_iris_pushbutton32.
+function F_iris_pushbutton32_Callback(hObject, eventdata, handles)
+% hObject    handle to F_iris_pushbutton32 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FF_iris_pushbutton33.
+function FF_iris_pushbutton33_Callback(hObject, eventdata, handles)
+% hObject    handle to FF_iris_pushbutton33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FFF_iris_pushbutton34.
+function FFF_iris_pushbutton34_Callback(hObject, eventdata, handles)
+% hObject    handle to FFF_iris_pushbutton34 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in O_iris_pushbutton35.
+function O_iris_pushbutton35_Callback(hObject, eventdata, handles)
+% hObject    handle to O_iris_pushbutton35 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OO_iris_pushbutton36.
+function OO_iris_pushbutton36_Callback(hObject, eventdata, handles)
+% hObject    handle to OO_iris_pushbutton36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OOO_iris_pushbutton38.
+function OOO_iris_pushbutton38_Callback(hObject, eventdata, handles)
+% hObject    handle to OOO_iris_pushbutton38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+%device_name = getappdata(handles.figure1,'device_name');
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Emittance ?',...
+    'Exit Programme Emittance',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+        %% extraire l'Ã©cran YAG
+        %tango_command_inout(device_name.ecran,'Extract');
+        %fonction_error;
+    otherwise
+        disp('Closing aborted')
+end
+
+
+
+function Q2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q2courant_edit as a double
+
+
+ecriture('Q2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function Q2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H2courant_edit as a double
+
+ecriture('H2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function H2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit33_Callback(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit33 as text
+%        str2double(get(hObject,'String')) returns contents of edit33 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit33_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q3courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q3courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q3courant_edit as a double
+
+ecriture('Q3',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q3courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q4courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q4courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q4courant_edit as a double
+
+ecriture('Q4',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q4courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function type_edit36_Callback(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of type_edit36 as text
+%        str2double(get(hObject,'String')) returns contents of type_edit36 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function type_edit36_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nbiter_edit37_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbiter_edit37 as text
+%        str2double(get(hObject,'String')) returns contents of nbiter_edit37 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nbiter_edit37_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function energie_edit38_Callback(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of energie_edit38 as text
+%        str2double(get(hObject,'String')) returns contents of energie_edit38 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function energie_edit38_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+% --- Executes on button press in imprimer_pushbutton7.
+function imprimer_pushbutton17_Callback(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Determine file and directory name
+FileName = '1';
+
+DirectoryName = getappdata(handles.figure1,'directory_sauvegarde');
+
+% Append date_Time to FileName
+%FileName = sprintf('%s_%s', 'tableau', FileName);
+FileName = sprintf( '%s_%s','tableau', FileName);
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+
+ResultsStr = get(handles.listbox1,'String');
+
+try
+    save(FileName,'ResultsStr')
+    %save(FileName,'ResultsStr','-ascii')
+    %save -ascii mydata.dat
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function imprimer_pushbutton17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+
+
+% --- Executes on selection change in camera_controle_popupmenu4.
+function camera_controle_popupmenu4_Callback(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns camera_controle_popupmenu4 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from camera_controle_popupmenu4
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.videograbber;
+
+val = get(hObject,'Value');
+switch val
+   
+case 2
+tango_command_inout(dev,'AutoAdjustRefLevels');  
+disp('AutoAdjustRefLevels')
+case 3
+tango_command_inout(dev,'EnableCorrectedImage');  
+case 4
+tango_command_inout(dev,'EnableCorrectedProfiles');  
+case 5
+tango_command_inout(dev,'EnableProfiles');  
+case 6
+tango_command_inout(dev,'DisableCorrectedImage');  
+case 7
+tango_command_inout(dev,'DisableCorrectedProfiles');  
+case 8
+tango_command_inout(dev,'DisableProfiles');
+
+case 9
+tango_command_inout(dev,'GetExposureTime');
+% on donne la possibilitÃ© de modifier le exposuretime
+res = tango_command_inout(dev,'GetExposureTime');
+prompt={'ExposureTime'};
+name='GetExposureTime';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+time = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetExposureTime',str2num(time{:}));
+
+case 10
+% on donne la possibilitÃ© de modifier le shutterdelay
+res = tango_command_inout(dev,'GetShutterDelay');
+prompt={'ShutterDelay'};
+name='GetShutterDelay';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+delay = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetShutterDelay',str2num(delay{:}));
+
+case 11
+res = tango_command_inout(dev,'State');
+errordlg(res,'State');
+case 12
+res = tango_command_inout(dev,'Status');
+errordlg(res,'Status');
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function camera_controle_popupmenu4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in controle_lentilles_popupmenu5.
+function controle_lentilles_popupmenu5_Callback(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns controle_lentilles_popupmenu5 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from controle_lentilles_popupmenu5
+
+
+device_name = getappdata(handles.figure1,'device_name');
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;       
+    else
+        dev=device_name.lentille_basse;     
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        
+        val = get(hObject,'Value');
+        switch val
+
+        case 2
+        prompt={'Entrez une position'};
+        name='AxisDefinePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            tango_command_inout(dev,'AxisDefinePosition',str2num(toto{:}));
+            fonction_error;
+            
+            if isequal(logdev1,1)
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            else
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+        end
+
+        case 3
+        res = tango_command_inout(dev,'AxisGetErrorStatus');  
+        errordlg(num2str(res),'AxisGetErrorStatus');
+
+        case 4
+        res = tango_command_inout(dev,'AxisGetMotionStatus');  
+        errordlg(num2str(res),'AxisGetMotionStatus');
+
+        case 5
+        prompt={'Entrez une position de destination'};
+        name='AxisGoToPosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            fonction_error;
+            
+            if str2num(toto{:})>posref.value
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<posref.value
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_command_inout(dev,'AxisGoToPosition',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+        case 6
+        prompt={'Entrez une position relative de destination'};
+        name='AxisGoToRelativePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            fonction_error;
+            
+            if str2num(toto{:})>0
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<0
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_command_inout(dev,'AxisGoToRelativePosition',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+        
+        case 11
+        res = tango_command_inout(dev,'State');
+        errordlg(res,'State');
+        case 12
+        res = tango_command_inout(dev,'Status');
+        errordlg(res,'Status');
+        
+        end
+    end
+end
+            
+    
+
+
+
+% --- Executes during object creation, after setting all properties.
+function controle_lentilles_popupmenu5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/emittance/emittance_v16.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/emittance_v16.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/emittance_v16.m	(revision 17)
@@ -0,0 +1,4916 @@
+
+function varargout = emittance_v2(varargin)
+% EMITTANCE_V2 M-file for emittance_v2.fig
+%      EMITTANCE_V2, by itself, creates a new EMITTANCE_V2 or raises the existing
+%      singleton*.
+%
+%      H = EMITTANCE_V2 returns the handle to a new EMITTANCE_V2 or the handle to
+%      the existing singleton*.
+%
+%      EMITTANCE_V2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in EMITTANCE_V2.M with the given input arguments.
+%
+%      EMITTANCE_V2('Property','Value',...) creates a new EMITTANCE_V2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before emittance_v2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to emittance_v2_OpeningFcn via varargin.
+%
+
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help emittance_v2
+
+% Last Modified by GUIDE v2.5 22-Jul-2005 14:22:55
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @emittance_v2_OpeningFcn, ...
+                   'gui_OutputFcn',  @emittance_v2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before emittance_v2 is made visible.
+function emittance_v2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to emittance_v2 (see VARARGIN)
+
+% initialisation de l'ACCELERATOR_OBJECT
+LT1init
+
+% creation nouveau champ
+handles.output = hObject;
+handles.number_errors=0.;
+handles.nbsigmas=0;
+
+%essai
+%handles.nbremove=0;
+handles.nbrestore=0;
+
+val=0;
+faisc=[];
+st= struct([]);
+cellule=cell(1,1);
+%st2= struct([]);
+%st3=struct([]);
+handles.Sauver=struct([]);
+vect_colonne_noire=[];
+vect_ligne_noire=[];
+directory_principale='';
+directory_sauvegarde='';
+setappdata(handles.figure1,'tailles',faisc);
+setappdata(handles.figure1,'nbenregistrs',2);
+setappdata(handles.figure1,'ResultsData',st);
+setappdata(handles.figure1,'nbenregistrements',st);
+setappdata(handles.figure1,'Sauver',st);
+setappdata(handles.figure1,'Ecran',cellule);
+setappdata(handles.figure1,'largeur_option',val);
+setappdata(handles.figure1,'vect_colonne_noire',vect_colonne_noire);
+setappdata(handles.figure1,'vect_ligne_noire',vect_ligne_noire);
+setappdata(handles.figure1, 'G',0.043);
+% initialisation drapeau pour dialogue 'sauvegarde sur disque' ____
+setappdata(handles.figure1,'init_sauvegarde',val);
+% directory principale (dï¿œpend de l'utilisateur !!!)
+setappdata(handles.figure1,'directory_principale',directory_principale);
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+handles.nbenregistrs=getappdata(handles.figure1,'nbenregistrs')
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',.333,'TasksToExecute',Inf);
+timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+% button group sur l'image en continu
+h = uibuttongroup('visible','off','Position',[0.05 .9 .12 .08],...
+    'Title','Image','TitlePosition','centertop');
+u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[2 .9 45 30],'parent',h,'HandleVisibility','off');
+u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+    'pos',[50 .9 45 30],'parent',h,'HandleVisibility','off');
+
+% set(h,'SelectionChangeFcn',@selcbk);
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u2);  % No selection
+set(h,'Visible','on');
+
+% positionne par dÃ©faut la lentille basse (plus de sensibilitÃ© pour les rÃ©glages)
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+%%%if strcmp(get(hObject,'Visible'),'off')
+%%%    initialize_gui(hObject, handles);
+%%%end
+
+% UIWAIT makes emittance_v2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = emittance_v2_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% % --- Executes during object creation, after setting all properties.
+
+initialize_gui(gcbf, handles);
+
+function initialize_gui(fig_handle, handles)
+
+
+%____________________________________________________________________
+% dï¿œfinir les alias pour les devices 
+device_name.videograbber = 'lt1/dg/emit-vg';
+device_name.iris = 'lt1/dg/emit-iris';
+device_name.lentille_haute = 'lt1/dg/emit-l.haut';
+device_name.lentille_basse = 'lt1/dg/emit-l.bas';
+device_name.miroir = 'lt1/dg/emit-mc';
+device_name.backlight = 'lt1/dg/emit-bl';
+device_name.ecran = 'lt1/dg/emit-ecr';
+device_name.Q1 = 'lt1/AE/Q.1';
+device_name.Q2 = 'lt1/AE/Q.2';
+device_name.Q3 = 'lt1/AE/Q.3';
+device_name.Q4 = 'lt1/AE/Q.4';
+% test % device_name.H1 = 'lt1/AE/CH.1';
+% device_name.H2 = 'lt1/AE/CH.2';
+% device_name.V1 = 'lt1/AE/CV.1';
+setappdata(handles.figure1,'device_name',device_name);
+
+%____________________________________________________________________
+% directory de sauvegarde en attente
+
+%uibuttongroup
+%     prompt={'entrez votre directory de travail'};
+%     name='DIRECTORY PRINCIPALE';
+%     numlines=1;
+%     defaultanswer={'/home/PM/tordeux/matlab_test/'};
+% 
+%     options.Resize='on';
+%     options.WindowStyle='normal';
+%     options.Interpreter='tex';
+%     nom=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     if ~isempty(nom)
+%         setappdata(handles.figure1,'directory_principale',nom{:});
+%     end
+% 
+%     directory_principale=getappdata(handles.figure1,'directory_principale');
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+directory_principale = getfamilydata('Directory','EMITData');
+phrase=strcat(directory_principale ,'?');
+set(handles.directory_sauvegarde_edit28,'String',phrase);
+setappdata(handles.figure1,'directory_principale',directory_principale);
+
+%____________________________________________________________________
+% inscrire les courants effectifs des aimants de la machine
+
+valQ1= (read_magnet(device_name.Q1)); 
+set(handles.Q1courant_edit,'String',sprintf('%3.2f',valQ1));
+resQ1 = str2double(get(handles.Q1courant_edit,'String'));
+setappdata(handles.figure1,'Q1courant',resQ1);
+
+valQ2= (read_magnet(device_name.Q2)); 
+set(handles.Q2courant_edit,'String',sprintf('%3.2f',valQ2));
+resQ2 = str2double(get(handles.Q2courant_edit,'String'));
+setappdata(handles.figure1,'Q2courant',resQ2);
+
+valQ3= (read_magnet(device_name.Q3)); 
+set(handles.Q3courant_edit,'String',sprintf('%3.2f',valQ3));
+resQ3 = str2double(get(handles.Q3courant_edit,'String'));
+setappdata(handles.figure1,'Q3courant',resQ3);
+
+valQ4= (read_magnet(device_name.Q4)); 
+set(handles.Q4courant_edit,'String',sprintf('%3.2f',valQ4));
+resQ4 = str2double(get(handles.Q4courant_edit,'String'));
+setappdata(handles.figure1,'Q4courant',resQ4);
+
+%test % valH1= (read_magnet(device_name.H1)); 
+% set(handles.H1courant_edit,'String',sprintf('%3.2f',valH1));
+% resH1 = str2double(get(handles.H1courant_edit,'String'));
+% setappdata(handles.figure1,'H1courant',resH1);
+% 
+% valH2= (read_magnet(device_name.H2)); 
+% set(handles.H2courant_edit,'String',sprintf('%3.2f',valH2));
+% resH2 = str2double(get(handles.H2courant_edit,'String'));
+% setappdata(handles.figure1,'H2courant',resH2);
+% 
+% valV1= (read_magnet(device_name.V1)); 
+% set(handles.V1courant_edit,'String',sprintf('%3.2f',valV1));
+% resV1 = str2double(get(handles.V1courant_edit,'String'));
+% setappdata(handles.figure1,'V1courant',resV1);
+
+%____________________________________________________________________
+% insrire une valeur par dï¿œfaut de calibration ???
+set(handles.G_edit12,'String',num2str(43));
+clear('figh');
+
+%____________________________________________________________________
+% mettre off le bouton calibration de l'image
+set([handles.calibOFF_radiobutton6],'Value',1);
+
+%____________________________________________________________________
+% exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+ handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+ handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+ ,handles.backlight_popupmenu3,...
+ handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+ handles.qualite_edit23,handles.G_edit12,...
+    handles.pos1_edit29,handles.pos2_edit30...
+    handles.text45,handles.text39,handles.text26,handles.text41...
+    handles.calib_pushbutton7],'Enable','off')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+%____________________________________________________________________
+% positionner le miroir HORS, eteindre le backlight
+% tango_command_inout('lt1/emit/mirror','Off');
+% tango_command_inout('lt1/emit/backlight','SetBrightness',uint16(0));
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+%___________________________________________________________________
+% position des lentilles pour les differents grandissements, en nombre de pas
+setappdata(handles.figure1,'posl1Gmax',3000);
+setappdata(handles.figure1,'posl2Gmax',35130);
+setappdata(handles.figure1,'posl1Gmoy',8650);
+setappdata(handles.figure1,'posl2Gmoy',26500);
+setappdata(handles.figure1,'posl1Gmin',0);
+setappdata(handles.figure1,'posl2Gmin',3925);
+
+%____________________________________________________________________
+% positionner les voyants des butï¿œes lentilles ï¿œ leur valeur vraies
+
+%dev=device_name.lentille_haute;
+dev=device_name.lentille_haute;
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+
+% errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+% errorstatus=3  limitswitch forward
+% errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+% errorstatus=4  limitswitch backward
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(handles.LHBH_edit25,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(handles.LHBB_edit24,'BackgroundColor','red');
+        end
+
+end         
+
+
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(handles.LBBH_edit26,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(handles.LBBB_edit27,'BackgroundColor','red');
+        end
+end           
+
+
+%____________________________________________________________________
+% allumer en rouge le grandissement effectif
+
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+
+dev1=device_name.lentille_haute;
+dev2=device_name.lentille_basse;
+
+str1=tango_read_attribute(dev1,'AxisCurrentPosition');
+str2=tango_read_attribute(dev2,'AxisCurrentPosition');
+position1=str1.value(1);
+position2=str2.value(1);
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas du grandissement max
+        if isequal(position1,posl1Gmax)&isequal(position2,posl2Gmax)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement moyen
+        if isequal(position1,posl1Gmoy)&isequal(position2,posl2Gmoy)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement min
+        if isequal(position1,posl1Gmin)&isequal(position2,posl2Gmin)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        end
+
+end           
+
+%________________________________________________________________________
+% ï¿œcrire les valeurs effectives de positions des lentilles
+
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+
+% --- Executes during object creation, after setting all properties.
+function lent1_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lent1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% du temps ou il y avait des sliders....
+%         % --- Executes on slider movement.
+%         function lent1_slider1_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_slider1 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent1_edit5,'String',...
+%             num2str(get(handles.lent1_slider1,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent1_edit5_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+
+
+%         function lent1_edit5_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent1_edit5 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent1_edit5 as a double
+% 
+% 
+%         val = str2double(get(handles.lent1_edit5,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent1_slider1,'Min') & ...
+%             val <= get(handles.lent1_slider1,'Max')
+%             set(handles.lent1_slider1,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent1_edit5,'String',...
+%             ['Caramba ',...
+%         %num2str(handles.number_errors),' Times']);
+%             '']);
+%         end
+% 
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_slider2_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: slider controls usually have a light gray background, change
+%         %       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+%         usewhitebg = 1;
+%         if usewhitebg
+%             set(hObject,'BackgroundColor',[.9 .9 .9]);
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+%         % --- Executes on slider movement.
+%         function lent2_slider2_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent2_emitV_edit19,'String',...
+%             num2str(get(handles.lent2_slider2,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_emitV_edit19_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+% 
+%         function lent2_emitV_edit19_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent2_emitV_edit19 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent2_emitV_edit19 as a double
+% 
+%         val = str2double(get(handles.lent2_emitV_edit19,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent2_slider2,'Min') & ...
+%             val <= get(handles.lent2_slider2,'Max')
+%             set(handles.lent2_slider2,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent2_emitV_edit19,'String',...
+%             ['Zut ',...
+%         %num2str(handles.number_errors),'']);
+%             '']);
+%         end
+
+% --- Executes on button press in calib_pushbutton7.
+function calib_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to calib_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% alias
+device_name=getappdata(handles.figure1,'device_name');
+dev=device_name.videograbber;
+
+tango_command_inout(dev,'Calibrate');
+%ATTENTION PEUT ETRE ATTRIBUTS  AVEC un SSSSS
+if isequal(tango_error,-1)
+    
+    %errordlg('erreur TANGO...','Error');
+    tango_print_error_stack;
+    diag = tango_error_stack;
+    errordlg(diag(1).desc);
+else   
+    
+    res=tango_read_attribute(dev,'calibration_quality');
+    % on teste la qualitï¿œ de la calibration  FACTEUR 996.0
+    % le 10 septembre MATLAB a pris lamain sur le code de NL pour le
+    % critï¿œre. attention ï¿œ 990 on est dans les choux
+    if res.value>996.0
+        val=sprintf('%3.2f',res.value);
+        set(handles.qualite_edit23,'String',val);
+        tango_read_attribute(dev,'x_magnification_factor');
+        val=sprintf('%2.1f',1000*ans.value);
+        set(handles.G_edit12,'String',val);
+        setappdata(handles.figure1, 'G',str2num(val)/1000)
+        
+        %dev='lt1/dg/emit-vg';
+        pause(1);
+        toto=tango_read_attribute(dev,'corrected_image');
+        figure(2);
+        imagesc(toto.value);
+        colormap(gray);
+
+    else
+        errordlg('la calibration a echouï¿œe ...','Error'); 
+    end
+    
+end
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function fit_popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in fit_popupmenu1.
+function fit_popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns fit_popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from fit_popupmenu1
+
+val = get(hObject,'Value');
+switch val
+case 1
+    largeur_option=0;
+case 2
+    % fit par gaussienne
+    largeur_option=1;
+
+case 3
+    % vrai rms
+    largeur_option=2;
+    
+case 4
+    % rayon ï¿œ X %
+    largeur_option=3;
+end
+setappdata(handles.figure1,'largeur_option',largeur_option);
+
+% --- Executes on button press in mesure_pushbutton8.
+function mesure_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to mesure_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%nbiterations=0;
+%nombre1=get(handles.fit_popupmenu1, 'String');
+
+popup_sel_index = get(handles.nbiter_popupmenu2, 'Value');
+nombre2=get(handles.nbiter_popupmenu2, 'String');
+Name = nombre2{popup_sel_index};
+nbiterat=str2num(Name(1));
+setappdata(handles.figure1, 'nbiterations',nbiterat);
+set(handles.nbiter_edit37,'String',Name(1));
+switch popup_sel_index
+    case 1
+         errordlg('selectionnez un nombre d''iterations','Error');
+	     %error('Select a number of acquisitions'); %exprimez votre choix 
+    case 2
+        %test de la pause : pause(10); 
+        show1imagesgui_15(handles);     
+         
+    case 3
+         show5imagesgui_15(handles);    
+    case 4
+         show10imagesgui(handles);
+        
+end
+
+
+% --- Executes on button press in plot_pushbutton.
+function plot_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to plot_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+handles.matrx=[];
+handles.matry=[];
+for ik=1:length(handles.ResultsData)
+    handles.matrx(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matrx(ik,2)=handles.ResultsData(ik).LargeurH;
+    errorx(ik)=2*handles.ResultsData(ik).sigmaH;
+    handles.matry(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matry(ik,2)=handles.ResultsData(ik).LargeurV;
+    errory(ik)=2*handles.ResultsData(ik).sigmaV;
+end
+
+clear('figure3');
+figure(3);
+toto1=handles.matrx(:,1)
+toto2=handles.matrx(:,2)
+
+%plot(handles.matrx(:,1),handles.matrx(:,2),'d')
+%%plot(handles.matry(:,1),handles.matry(:,2),'d')
+    % %'--rs','LineWidth',2,...
+    % %                'MarkerEdgeColor','k',...
+    % %                'MarkerFaceColor','g',...
+    %  %               'MarkerSize',8)
+    % 
+    %  
+    % %%t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+    % %%y=[2.3 13.5 7. 0.85 1.8 6.3 22.]';
+    % %plot(t,y,'+'),grid on
+X = [ones(size(handles.matrx(:,1)))  handles.matrx(:,1)  handles.matrx(:,1).^2];
+a=X\handles.matrx(:,2);
+Tmin=min(handles.matrx(:,1));
+Tmax=max(handles.matrx(:,1));
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+plot(T,Z,'r-',handles.matrx(:,1),handles.matrx(:,2),'ro'), grid on
+
+
+Y = [ones(size(handles.matry(:,1)))  handles.matry(:,1)  handles.matry(:,1).^2];
+a=Y\handles.matry(:,2);
+Tmin=min(handles.matry(:,1));
+Tmax=max(handles.matry(:,1));
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+plot(T,Z,'b-',handles.matry(:,1),handles.matry(:,2),'b+'), grid on
+
+% exemple de label des axes avec symboles grecs :
+xlabel('-\pi \leq \Theta \leq \pi')
+ylabel('sin(\Theta)')
+title('Plot of sin(\Theta)')
+text(-pi/4,sin(-pi/4),'\leftarrow sin(-\pi\div4)',...
+     'HorizontalAlignment','left')
+ 
+% nos labels
+xlabel('Courant quadrupolaire (A)')
+ylabel('Largeur faisceau (mm2')
+title('Courbe de focalisation')
+
+% Q1courant de 1 ï¿œ 10 A
+%T=[1:0.1:10]';
+%Y = [ones(size(T))  T  T.^2]*a;
+%%figure(1);
+%hold on
+%figure(4)
+%plot(T,Y,'-',handles.matrx(:,1),handles.matrx(:,2),'o'), grid on
+%hold on
+
+% barre d'erreur
+% hold on
+% errorbar(handles.matrx(:,1),handles.matrx(:,2),errorx) 
+
+
+% --- Executes during object creation, after setting all properties.
+function Q1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function Q1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q1courant_edit as a double
+
+
+ecriture('Q1',handles)
+
+
+
+function ecriture(aimant,handles)
+
+device_name = getappdata(handles.figure1,'device_name');
+Name = strcat(aimant,'courant_edit');
+res = str2double(get(handles.(Name),'String'));
+valmax=tango_get_attribute_config(device_name.(aimant),'current');
+
+if res > str2double(valmax.max_value)
+    set(handles.(Name),'BackgroundColor','red');
+    errordlg('Courant superieur ï¿œ valeur maximale !','ALARME');
+    guidata(gcbo,handles);
+    old = tango_read_attribute(device_name.(aimant),'current');
+    set(handles.(Name),'String',num2str(old.value(1)));
+    pause(2);
+    set(handles.(Name),'BackgroundColor','green');
+else
+    set(handles.(Name),'BackgroundColor','green');
+    Name2 =[aimant 'courant'];
+    setappdata(handles.figure1,Name2,res);
+    tango_write_attribute(device_name.(aimant),'current',res);
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function H1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function H1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H1courant_edit as a double
+
+ecriture('H1',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function V1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+
+% --------------------------------------------------------------------
+function V1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ecriture('V1',handles)
+
+
+% ------- lecture de valeurs dans les devices servers Tango ----------
+function Cour=read_magnet(dev)
+
+attr_val = tango_read_attribute(dev,'current');
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  fprintf(1,'TracyServer Error %s\n',dev)
+  return;
+end
+Cour=attr_val.value(1);
+
+% --------------------------------------------------------------------
+% --- Executes during object creation, after setting all properties.
+function nbiter_popupmenu2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'Nbre iterations par acquisition','1 iteration par acquisition'...
+    ,'5 iterations par acquisition'...
+    });
+
+% --- Executes on selection change in nbiter_popupmenu2.
+function nbiter_popupmenu2_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns nbiter_popupmenu2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from nbiter_popupmenu2
+
+
+% % --- Executes on button press in camera_control_togglebutton.
+% function camera_control_togglebutton_Callback(hObject, eventdata, handles)
+% % hObject    handle to camera_control_togglebutton (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hint: get(hObject,'Value') returns toggle state of camera_control_togglebutton
+% button_state = get(hObject,'Value');
+% if button_state == get(hObject,'Max')
+%     % toggle button is pressed
+% elseif button_state == get(hObject,'Min')
+%     % toggle button is not pressed
+% end
+
+
+% ï¿œ dï¿œtruire
+%         % --- Executes on button press in camera_image_togglebutton.
+%         function camera_image_togglebutton_Callback(hObject, eventdata, handles)
+%         % hObject    handle to camera_image_togglebutton (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hint: get(hObject,'Value') returns toggle state of camera_image_togglebutton
+%         button_state = get(hObject,'Value');
+%         if button_state == get(hObject,'Max')
+%             % toggle button is pressed
+%         elseif button_state == get(hObject,'Min')
+%             % toggle button is not pressed
+%         end
+% 
+%         %camera_image(handles);
+% 
+% 
+%         %     name=['axes' num2str(1)];
+%         %    axes(handles.(name))
+%         % timer1 = timer('Period', 2,'TasksToExecute', 
+%         % Inf,'ExecutionMode','fixedRate');
+% 
+%         %     t=timer('StartDelay',1,'TimerFcn',@mycallback,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+% 
+%         % timer1=timer('StartDelay',1,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+%         % timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+% 
+%         %figure(1);
+%         %axes(handles.axes1);
+%         timer1 = getappdata(handles.figure1,'Timer');
+%         start(timer1);
+
+%     % --- Executes on button press in imageOFF_radiobutton.
+%     function imageOFF_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageOFF_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageOFF_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     delete(timer1);
+
+
+% % function buttongroup(hObject, eventdata, handles)
+% % h = uibuttongroup('visible','off','Position',[0 .9 .1 .1]);
+% % u0 = uicontrol('Style','Radio','String','Option 1',...
+% %     'pos',[10 350 80 30],'parent',h,'HandleVisibility','off');
+% % u1 = uicontrol('Style','Radio','String','Option 2',...
+% %     'pos',[10 250 80 30],'parent',h,'HandleVisibility','off');
+% % u2 = uicontrol('Style','Radio','String','Option 3',...
+% %     'pos',[10 150 80 30],'parent',h,'HandleVisibility','off');
+% % set(h,'SelectionChangeFcn',@selcbk);
+% % set(h,'SelectedObject',[]);  % No selection
+% % set(h,'Visible','on');
+
+% function selcbk(source,eventdata)
+% disp(source);
+% disp('toto');
+% disp([eventdata.EventName,'  ',... 
+%      get(eventdata.OldValue,'String'),'  ', ...
+%      get(eventdata.NewValue,'String')]);
+% disp(get(get(source,'SelectedObject'),'String'));
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+timer1 = getappdata(handles.figure1,'Timer');
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('image video <-')
+        start(timer1);
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('image video ->')
+        stop(timer1);
+end
+
+
+%     % --- Executes on button press in imageON_radiobutton.
+%     function imageON_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageON_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageON_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     start(timer1);
+
+
+function mutual_exclude(off)
+set(off,'Value',0)
+
+% --- Executes on button press in calibON_radiobutton5.
+function calibON_radiobutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to calibON_radiobutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibON_radiobutton5
+off = [handles.calibOFF_radiobutton6];
+mutual_exclude(off)
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% positionner le miroir EN, allumer le backlight
+tango_command_inout(device_name.miroir,'On');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(6));
+
+%____________________________________________________________________
+% positionner le popupmenu du backlight a la valeur effective
+lumiere=tango_command_inout(device_name.backlight,'GetBrightness');
+
+%- check error
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+else
+    set(handles.backlight_popupmenu3,'Value',lumiere);
+end
+
+%rendre la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+     handles.pos1_edit29,handles.pos2_edit30...
+     handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','on')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes on button press in calibOFF_radiobutton6.
+function calibOFF_radiobutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to calibOFF_radiobutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibOFF_radiobutton6
+off = [handles.calibON_radiobutton5];
+mutual_exclude(off)
+
+% alias
+
+device_name = getappdata(handles.figure1,'device_name');
+%getappdata(handles.figure1,'backlight');
+
+% positionner le miroir HORS, eteindre le backlight
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+
+%% inserer l'Ã©cran YAG
+%tango_command_inout(device_name.ecran,'Insert');
+%fonction_error;
+
+%exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+        handles.pos1_edit29,handles.pos2_edit30...
+        handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','off')
+%handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes during object creation, after setting all properties.
+function G_edit12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function G_edit12_Callback(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of G_edit12 as text
+%        str2double(get(hObject,'String')) returns contents of G_edit12 as a double
+
+
+
+
+
+% ------------------------------------------------------------
+% Callback for the Remove push button
+% ------------------------------------------------------------
+% --- Executes on button press in remove_pushbutton.
+function remove_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to remove_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Callback of the uicontrol handles.RemoveButton.
+%essai
+%handles.nbremove=handles.nbremove+1
+
+currentVal = get(handles.listbox1,'Value')
+resultsStr = get(handles.listbox1,'String')
+numResults = size(resultsStr,1)
+
+
+% Remove the data and list entry for the selected value
+
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+% handles.Sauver contient la structure du rï¿œsultat ï¿œ effacer
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+if isequal( handles.Ecran,{[]})
+    handles.Ecran= resultsStr(currentVal);
+else
+    handles.Ecran=[ handles.Ecran ; resultsStr(currentVal)];
+end
+resultsStr(currentVal) =[];
+resultats=getappdata(handles.figure1,'ResultsData');
+%%NumeroRemove=resultats(currentVal).RunNumber;
+if isequal( handles.Sauver,struct([]))
+    handles.Sauver=resultats(currentVal);
+else
+    handles.Sauver=[handles.Sauver  resultats(currentVal)];
+end
+
+resultats(currentVal)=[];
+setappdata(handles.figure1,'ResultsData',resultats);
+handles.ResultsData = resultats;
+
+%essai
+%restoreRes(handles.nbremove)=resultats(currentVal)
+%handles.restore=handles.remove+1;
+if ~isequal(numResults,1)
+    set([handles.restaurer_pushbutton15],'Enable','on')
+end
+% If there are no other entries, disable the Remove and Plot button
+% and change the list sting to <empty>
+if isequal(numResults,1)
+	resultsStr = {'<vide !!>'};
+	currentVal = 1;
+	set([handles.remove_pushbutton,handles.plot_pushbutton,...
+        handles.restaurer_pushbutton15],'Enable','off')	
+end
+
+
+
+% Ensure that list box Value is valid, then reset Value and String
+currentVal = min(currentVal,size(resultsStr,1));
+set(handles.listbox1,'Value',currentVal,'String',resultsStr)
+
+% Store the new ResultsData
+setappdata(handles.figure1,'Sauver',handles.Sauver);
+setappdata(handles.figure1,'Ecran',handles.Ecran);
+set(handles.nbacqu_edit13,'String', num2str(size(resultsStr,1)));
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+%%en attente   set(handles.nbacqu_edit13,'String',num2str(length(resultats)));
+
+guidata(hObject, handles);
+
+% --- Executes on button press in emittance_pushbutton12.
+function emittance_pushbutton12_Callback(hObject, eventdata, handles)
+% hObject    handle to emittance_pushbutton12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% calcul d'emittance
+
+handles.ResultsData = getappdata(handles.figure1,'ResultsData');
+largeur_option = getappdata(handles.figure1,'largeur_option');
+
+switch largeur_option
+case 1
+    % fit par gaussienne largeur_option = 1
+    set(handles.type_edit36,'String','rms (fit)');
+case 2
+    % vrai rms largeur_option = 2
+    set(handles.type_edit36,'String','vrai rms');
+    
+case 3
+    % rayon ï¿œ X % largeur_option = 3
+    set(handles.type_edit36,'String','Ã  X %');
+end
+
+
+% les vecteurs sx et sy sont dÃ©jÃ  les valeurs moyennï¿œes sur nbiter iterations
+for i=1:length(handles.ResultsData)
+    sx(i) = handles.ResultsData(i).LargeurH;
+    sy(i) = handles.ResultsData(i).LargeurV;
+    I(i)= handles.ResultsData(i).Q4courant;
+end
+%%I = [1 2 3 4]
+
+% transformation courant - force quadrupolaire
+% ï¿œtalonnage de Q7 (si on a le temps prï¿œfï¿œrez ï¿œtalonnage Q4, mais pas trop important)
+% ATTENTION nï¿œcessitï¿œ de connaotre m'ï¿œnergie de la ligne (he oui ce n'est
+% pas simple) A RENTRER A LA MAIN DANS L'INTERFACE
+res = get(handles.energie_edit38,'String');
+if isequal(res,'ENERGIE')
+    errordlg('vous n''avez pas rentrÃ© l''Ã©nergie de la ligne !','Attention');
+    return
+end
+Energie = Str2num(get(handles.energie_edit38,'String'))*0.001;
+%t = amp2k4LT1(I,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15 , 1,Energie)
+%Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor
+ t = amp2k4LT1('QP','SetPoint',I, [1 4], Energie,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15,1)
+%t = hw2physics('QP','Setpoint',I,[1 4],Energie)';
+%% tests !
+%t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+%sx=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+%sy=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+
+% constantes de la ligne de transfert
+% valeur vÃ©rifiÃ©e sur 3D D Zerbib 11 fÃ©vrier 2005
+
+Drift = [0.150 1.669 0.85415 2.400 0.950 3.79286];
+%     % point 0 simulation barelattice_LT1 ï¿œ entrï¿œe Lmag Q1
+%     drift1 = 1.669
+%     % sortie Lmag Q1 entrï¿œe Lmag Q2
+%     drift2 = 1.00415 - 0.150 = 0.85415
+%     % sortie Lmag Q2 entrï¿œe Lmag Q3
+%     drift3 = 2.550 - 0.150 = 2.400
+%     % sortie Lmag Q3 entrï¿œe Lmag Q4
+%     drift4 = 1.100 - 0.150 = 0.95
+%     % sortie L magnï¿œtique Qpï¿œle - centre ï¿œmittance
+%     drift5 = 3867,86 - 150/2 =  3792.86
+setappdata(handles.figure1,'Drift',Drift)
+Lq = Drift(1);
+Ld = Drift(6);
+Md = [1 Ld ; 0 1];
+
+% plan HORIZONTAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+% tailles en unitÃ© standard
+sx = sx * 0.001;
+sx2=sx.*sx;
+
+Mx11=zeros(length(t),1);
+Mx12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Mxq','Mxtransport')
+        Mxq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+        -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+        Mxtransport=Md*Mxq;
+        Mx11(i)=Mxtransport(1,1);
+        Mx12(i)=Mxtransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=Mx11.*Mx11;
+B=Mx12.*Mx12;
+F=2*Mx11.*Mx12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sx2' ; B'*sx2' ; F'*sx2'];
+   
+twissx=Z\H;
+% twissx(1) = sigma11(point origine) = Eps beta
+% twissx(2) = sigma22(point origine) = Eps gamma
+% twissx(3) = sigma12(point origine) = - Eps alpha
+epsx = sqrt(twissx(1)*twissx(2)-twissx(3)*twissx(3));
+% affichage de l'emittance en mm mrad
+emittanceH = sprintf('%3.2f',epsx*1e6) ;
+set(handles.emitH_edit18,'String',emittanceH);
+setappdata(handles.figure1,'Twissx',twissx);
+
+% plan VERTICAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+sy = sy * 1e-3;
+sy2=sy.*sy;
+
+My11=zeros(length(t),1);
+My12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Myq','Mytransport')
+        Myq=[cosh(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sinh(Lq*sqrt(t(i))) ; ...
+        sqrt(t(i))*sinh(Lq*sqrt(t(i)))  cosh(Lq*sqrt(t(i)))];
+        Mytransport=Md*Myq;
+        My11(i)=Mytransport(1,1);
+        My12(i)=Mytransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=My11.*My11;
+B=My12.*My12;
+F=2*My11.*My12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sy2' ; B'*sy2' ; F'*sy2'];
+   
+twissy=Z\H;
+epsy = sqrt(twissy(1)*twissy(2)-twissy(3)*twissy(3));
+emittanceV = sprintf('%3.2f',epsy*1e6) ;
+set(handles.emitV_edit19,'String',emittanceV);
+setappdata(handles.figure1,'Twissy',twissy);
+
+
+
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+%         % Mesure de l'emittance par fit "Belbeoch" et distribution normale des
+%         % erreurs de mesures
+% 
+%         % valeurs exactes gradient t
+%         % valeurs exactes tailles de faisceau se
+%         % pourc = pourcentage d'erreur maximum sur la mesure de taille
+%         % Lq = Longueur du quadrupole
+%         % Ld = longueur du drift Qpole - point de mesure
+%         %---------------------------------------------------------
+%         % 
+% 
+%         %cla(figure(1));
+% 
+%         % methode de calcul
+%         method = 'moyenne des acquisitions';
+%         %method = 'moyenne des emittances'
+% 
+%         % erreur sur les mesures de taille / nb d'iterations sur une mesure/ pour
+%         % tester la validite de la methode : nb de tests 
+%         sigma = 0.35;
+%         % ? nbiter=5;
+%         nbiter=1;
+%         nbtests=30000;
+% 
+%         % valeurs exactes de forces quadrupolaires et tailles de faisceau
+%         t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+%         se=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+% 
+%         % initialisations
+%         % ? eps=zeros(nbiter,1);
+%         eps=zeros(nbtests,1);
+%         Lq=0.15;
+%         Ld=3.8915;
+%         Md=[1 Ld ; 0 1];
+%         st2=zeros(nbiter,length(t));
+%         meanst2=zeros(1,length(t));
+% 
+%         nbcomplexes=0;
+%         stdeps=1.;
+%         g=0;
+%         Z=zeros(3,3);
+% 
+% 
+%         % calcul des elements de la matrice de transport entre le Qpole et le point
+%         % de mesure
+%         M11=zeros(length(t),1);
+%         M12=zeros(length(t),1);
+%         for i = 1:length(t)
+%                 clear('Mq','Mtransport')
+%                 Mq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+%                 -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+%                 Mtransport=Md*Mq;
+%                 M11(i)=Mtransport(1,1);
+%                 M12(i)=Mtransport(1,2);
+%         end
+% 
+% 
+%         for j = 1:nbtests
+% 
+%         % calcul de l'emittance avec moyenne prealable de chaque acquisition sur les nbiter
+%         %iterations (5 dans le menu) (distribution normale dans cette simulation)
+%         for i=1:length(t)
+%             s=se(i)+sigma*se(i)*randn(nbiter,1);
+%             s2=s.*s;
+%             meanst2(i)=mean(s2);
+%         end
+% 
+%         % *********** methode Belbeoch **********************
+%         A=M11.*M11;
+%         B=M12.*M12;
+%         F=2*M11.*M12 ;
+% 
+%         Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+%                    F'*A F'*B F'*F];
+%         H=[A'*meanst2' ; B'*meanst2' ; F'*meanst2'];
+% 
+%         citer=Z\H;
+%         eps(j)=sqrt(citer(1)*citer(2)-citer(3)*citer(3));
+%         nbcomplexes = 1-isreal(eps(j)) + nbcomplexes;
+%         if isequal(isreal(eps(j)),0)
+%             epsilon(j) = 0;
+%         else 
+%             epsilon(j) = eps(j);
+%         end
+% 
+% 
+%         % emittanceH=num2str(eps) ;   
+%         % set(handles.emitH_edit18,'String',emittanceH);
+% 
+% 
+%         end
+% 
+%         moyenne = mean(epsilon)*length(eps)/(length(eps)-nbcomplexes);
+%         for j=1:length(eps)
+%             if isequal(epsilon(j),0)
+%                 sepsilon(j) = moyenne;
+%             else
+%                 sepsilon(j) = epsilon(j);
+%             end
+%         end
+%         standard = std(sepsilon)*sqrt(length(eps)/(length(eps)-nbcomplexes));
+%         disp(['nbcomplexes=' sprintf('%0.5g',nbcomplexes) '  sigma tailles=' sprintf('%0.5g',sigma) ...
+%                     '  nbiter=' sprintf('%0.5g',nbiter) ...
+%                 '  nbtests=' sprintf('%0.5g',nbtests) '  meaneps=' ...
+%                 sprintf('%0.5g',moyenne) '  stdeps=' sprintf('%0.5g',standard)] )
+%         disp(' ')
+% 
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  
+% 
+
+
+% --- Executes during object creation, after setting all properties.
+function nbacqu_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function nbacqu_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbacqu_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of nbacqu_edit13 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit14 as text
+%        str2double(get(hObject,'String')) returns contents of edit14 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit15 as text
+%        str2double(get(hObject,'String')) returns contents of edit15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit16 as text
+%        str2double(get(hObject,'String')) returns contents of edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit17 as text
+%        str2double(get(hObject,'String')) returns contents of edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitH_edit18_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+% emittance horizonale
+
+
+
+function emitH_edit18_Callback(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitH_edit18 as text
+%        str2double(get(hObject,'String')) returns contents of emitH_edit18 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitV_edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function emitV_edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitV_edit19 as text
+%        str2double(get(hObject,'String')) returns contents of emitV_edit19 as a double
+
+
+% --- Executes on button press in ellipseH_pushbutton13.
+function ellipseH_pushbutton13_Callback(hObject, eventdata, handles)
+% hObject    handle to ellipseH_pushbutton13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ellipseH_v16(handles)
+
+
+% --- Executes when figure1 window is resized.
+function figure1_ResizeFcn(hObject, eventdata, handles)
+% hObject    handle to figure1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes on button press in radiobutton7_bh_l1.
+function Lenthaute_radiobutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton7_bh_l1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Lenthaute_radiobutton7
+autre = [handles.tata_radiobutton10];
+mutual_exclude(autre)
+
+
+
+
+% --- Executes on button press in radiobutton10_bh_l2.
+function tata_radiobutton10_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton10_bh_l2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton10_bh_l2
+autre = [handles.Lenthaute_radiobutton7];
+mutual_exclude(autre)
+
+
+
+
+
+
+% --- Executes on button press in restaurer_pushbutton15.
+function restaurer_pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Restore the data and list entry for the last deleted value        
+ResultsStr = get(handles.listbox1,'String');
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+
+LastValue=length(handles.Sauver) ;
+toto=handles.Sauver(LastValue);
+titi=handles.Ecran(LastValue);
+Numero=toto.RunNumber;
+Nombre=length(handles.ResultsData);
+reussite=0;
+
+if Numero>handles.ResultsData(Nombre).RunNumber
+    handles.ResultsData=[handles.ResultsData toto];
+    ResultsStr = [ResultsStr ; titi];
+else 
+    i=0;      
+    while isequal(reussite,0) & (i<(length(handles.ResultsData)))
+            i=  i+1  ;
+            if Numero>handles.ResultsData(Nombre-i+1).RunNumber
+                handles.ResultsData=[handles.ResultsData(1:Nombre-i+1) toto handles.ResultsData(Nombre-i+2:end)];
+                ResultsStr = [ResultsStr(1:Nombre-i+1) ; titi;ResultsStr(Nombre-i+2:end) ];
+                reussite=reussite+1;
+            end
+        
+    end
+    if isequal(reussite,0)  
+        handles.ResultsData=[toto handles.ResultsData];
+        ResultsStr = [titi ; ResultsStr];
+    end
+    
+end
+
+% Build the new results list string for the listbox
+set(handles.listbox1,'String',ResultsStr);
+
+% Store the new ResultsData
+handles.Sauver(LastValue)=[];
+handles.Ecran(LastValue)=[];
+setappdata(handles.figure1,'Sauver',handles.Sauver)
+setappdata(handles.figure1,'Ecran',handles.Ecran)
+setappdata(handles.figure1,'ResultsData',handles.ResultsData);
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+set(handles.nbacqu_edit13,'String', num2str(size(ResultsStr,1)));
+
+
+% dï¿œsactiver le bouton restaurer si la liste est vide
+if isequal(LastValue,1)
+	set([handles.restaurer_pushbutton15],'Enable','off')	
+end
+guidata(hObject, handles);
+
+
+% --- Executes on button press in mesuressfaisceau_pushbutton16.
+function mesuressfaisceau_pushbutton16_Callback(hObject, eventdata, handles)
+% hObject    handle to mesuressfaisceau_pushbutton16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% sauvegarde sur disque de l'ensemble des acquisitions avec et sans
+% faisceau, proposee lorsque aucune acquisition avec faiseau n'est encore
+% faite
+entree=    getappdata(handles.figure1,'ResultsData');
+directory_principale = getappdata(handles.figure1,'directory_principale');
+if isequal(length(entree),0)
+    
+       %ouvrir le dossier pour l'enregistrement des profils
+       prompt={'entrer un nom de rï¿œpertoire'};
+       name='SAUVEGARDE SUR DISQUE';
+       numlines=1;
+       defaultanswer={strcat(datestr(clock,29),'_1')};
+       options.Resize='on';
+       options.WindowStyle='normal';
+       options.Interpreter='tex';
+       
+       % on ne propose la boite de dialogue qu'une seule fois
+       % ulterieurement, si on souhaite changer de directory de sauvegarde,
+       % cela se fait interactivement dans le '   ' 
+       val=getappdata(handles.figure1,'init_sauvegarde');
+       directory_principale=getappdata(handles.figure1,'directory_principale');
+       
+       while isequal(val,0)
+            directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+            % chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+            %%directory_sauvegarde=strcat(directory_principale,directory{:});
+            directory_sauvegarde=strcat(directory_principale,directory{:},'/');
+            setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+            
+            
+            % cas ou un nom de directory a ï¿œtï¿œ rentrï¿œ
+            if ~isequal(directory,{})
+                % cas ou la directory n'existe pas
+                %%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+                if ~isdir(directory_sauvegarde)   
+%                     mkdir(chemin)
+%                     cd(chemin);
+                    mkdir(directory_sauvegarde)
+                    cd(directory_sauvegarde);
+                    
+                    setappdata(handles.figure1,'init_sauvegarde',1);
+                    val=getappdata(handles.figure1,'init_sauvegarde');
+                    set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+                    
+                % cas ou la directory existe deja
+                else    
+                    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+                    if isequal(button,'oui')
+                        
+%                         cd(chemin);
+                        cd(directory_sauvegarde);  
+                        
+                        setappdata(handles.figure1,'init_sauvegarde',1);
+                        val=getappdata(handles.figure1,'init_sauvegarde');
+                        set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+          
+                    else
+                        % retour ï¿œ la case dï¿œpart 
+                        
+                    end
+                end     
+            
+            % cas ou on a refusï¿œ de rentrer un nom de directory
+            else
+                
+                errordlg('vous n''avez pas sï¿œlectionnï¿œ de directory de sauvegarde !','Attention');
+                
+                setappdata(handles.figure1,'init_sauvegarde',1);
+                val=getappdata(handles.figure1,'init_sauvegarde');
+            end
+            
+       end
+
+end
+
+
+showsansfgui_15(handles); 
+
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmax_pushbutton26.
+function Gmin_pushbutton28_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmax_pushbutton26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    
+    % avancer du nombre de pas exact correspondant au grandissement : 0
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%         pause(0.5);
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement 
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmin);
+     
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+        
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+ 
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        % ï¿œteindre le vert
+        %set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        
+
+end   
+
+% allumer le voyant rouge Gmin
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmin,5);
+test2 = test_position(pos2.value(1),posl2Gmin,5);
+if test1 == 1&test2==1
+    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmoy_pushbutton27.
+function Gmoy_pushbutton27_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmoy_pushbutton27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    fonction_error
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    status0 =  tango_command_inout(dev,'AxisGetMotionStatus')
+    % avancer du nombre de pas exact correspondant au grandissement moyen : 
+    tango_command_inout(dev,'AxisGoToPosition',posl1Gmoy);
+    fonction_error
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+   
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+        error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        disp('lentille haute')
+        % abort 
+    end
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+         disp('moy : abort')
+        end
+
+        % au cas oï¿œ la butï¿œe haute est allumï¿œe on l'ï¿œteint
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1) 
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    fonction_error;
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+
+    % avancer du nombre de pas exact correspondant au grandissement
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmoy);
+    
+    % on attent que l'axe se mette en mouvement
+    if (temporisation_mvt_axis(dev) == -1)
+        error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        % abort 
+    end
+
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    end
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         % ï¿œteindre le vert
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+
+% allumer le voyant rouge Gmoy
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmoy,5);
+test2 = test_position(pos2.value(1),posl2Gmoy,5);
+if test1 == 1&test2==1
+    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmin_pushbutton28.
+function Gmax_pushbutton26_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmin_pushbutton28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de positions des lentilles pour ce grandissement
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+
+
+dev=device_name.lentille_haute
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             pause(0.2);
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.2);
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702])
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    % avancer du nombre de pas exact correspondant au grandissement max :
+    tango_command_inout(dev,'AxisGoToPosition',posl1Gmax);
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+         
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev); 
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702])
+    end
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev); 
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+            
+        % attendre la fin de la commande
+            % set(handles.tata_radiobutton10,'BackgroundColor','green');
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            %set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+            % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement MAX ...
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmax);
+    
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev); 
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+            
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    %     % ï¿œteindre le vert
+    %     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+
+end   
+
+% allumer le voyant Gmax en rouge
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmax,5);
+test2 = test_position(pos2.value(1),posl2Gmax,5);
+if test1 == 1&test2==1
+    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in ppp_pushbutton18.
+function ppp_pushbutton18_Callback(hObject, eventdata, handles)
+% hObject    handle to ppp_pushbutton18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=10000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+% logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+% logdev2=get(handles.tata_radiobutton10,'Value');
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+% if isequal(logdev1,0)&isequal(logdev2,0)
+%     errordlg('selectionnez une lentille','ATTENTION');
+% else
+%     if isequal(logdev1,1)
+%         dev=device_name.lentille_haute;
+%         nbpas=5000;
+%     else
+%         dev=device_name.lentille_basse;
+%         nbpas=10000;
+%     end
+%     
+%     errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%     if (tango_error == -1)
+%         %- handle error
+%         tango_print_error_stack;
+%         return;
+%         errordlg('erreur tango !','Erreur');
+% 
+%     else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on descend vers la butï¿œe forward
+%             tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%         
+%             % temporisation : 
+%             pause(0.2);
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                 end
+%                 pause(0.5);
+%             end
+%             
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             if isequal(logdev1,1)
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%             else
+%                 set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%             end
+%             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+
+
+% --- Executes on button press in pp_pushbutton19.
+function pp_pushbutton19_Callback(hObject, eventdata, handles)
+% hObject    handle to pp_pushbutton19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=1000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+% --- Executes on button press in p_pushbutton20.
+function p_pushbutton20_Callback(hObject, eventdata, handles)
+% hObject    handle to p_pushbutton20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=100;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+            
+            %pause(0.2);
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+                
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                    
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% --- Executes on button press in m_pushbutton23.
+function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-10000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green'); 
+                    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                end
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     disp('dans la boucle tant que mvt')
+%                     if isequal(logdev1,1)
+%                         disp('je dois afficher le vert')
+%                         pause(0.1);
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                         %pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                         set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         %set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                         pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                         %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+% 
+%                     end
+%                 end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    %pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    %set(handles.pos2_edit30,'String',num2str(pos2.value(1)
+                    %));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+%     % --- Executes on button press in mmm_pushbutton21.
+%     function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mmm_pushbutton21 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-5000;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-10000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+% 
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+% --- Executes on button press in m_pushbutton23.
+function mm_pushbutton22_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-1000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                        
+                    else
+                        
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+%     % --- Executes on button press in mm_pushbutton22.
+%     function mm_pushbutton22_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mm_pushbutton22 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-500;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-1000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%                 if (tango_error == -1)
+%                     %- handle error
+%                     tango_print_error_stack;
+%                     return;
+%                     errordlg('erreur tango !','Erreur');
+% 
+%                 else
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+%                 end
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+
+% --- Executes on button press in m_pushbutton23.
+function m_pushbutton23_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-100;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+                
+                while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    else
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+%         % --- Executes on button press in backlight_pushbutton24.
+%         function backlight_pushbutton24_Callback(hObject, eventdata, handles)
+%         % hObject    handle to backlight_pushbutton24 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         prompt={'entrer une intensitï¿œ * entier entre 0 et 10'};
+%         name='backlight';
+%         numlines=1;
+%         lumiere=tango_command_inout('lt1/emit/backlight','GetBrightness');
+%         %- check error
+%         if (tango_error == -1)
+%               %- handle error
+%               tango_print_error_stack;
+%               return;
+%         else
+%             defaultanswer={num2str(lumiere)};
+%         end
+%         options.Resize='on';
+%         options.WindowStyle='normal';
+%         options.Interpreter='tex';
+%         intensite=inputdlg(prompt,name,numlines,defaultanswer,options);
+%         if ~isempty(intensite)
+%             tango_command_inout('lt1/emit/backlight','SetBrightness',uint16(str2num(intensite{:})));
+%         end
+% 
+%     % --- Executes on button press in iris_pushbutton25.
+%     function iris_pushbutton25_Callback(hObject, eventdata, handles)
+%     % hObject    handle to iris_pushbutton25 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     %      %entrer les deux variables vitesse et intensite pour l'iris
+%     %        prompt={'entrer la vitesse - valeur entre 1 et 3','entrer l''intensite - valeur entre 1 et 10'};
+%     %        name='IRIS';
+%     %        numlines=1;
+%     %        defaultanswer={'3','10'};
+%     %        options.Resize='on';
+%     %        options.WindowStyle='normal';
+%     %        options.Interpreter='tex';
+%     %        val=0;
+%     %     %     while isequal(val,0)
+%     %         choix=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     %     %         if ~isequal(directory,{})
+%     %     %             if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+%     %     %                 mkdir /home/PM/tordeux/matlab_test/directory;
+%     %     %                 val=1;
+%     %     %             else    
+%     %     %                 button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non')  
+%     %     %                 if isequal(button,'oui')
+%     %     %                     val=1;
+%     %     %                 end
+%     %     %             end     
+%     %     %         else
+%     %     %             %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%     %     %             directory={'secours'};
+%     %     %             val=1;
+%     %     %         end
+%     %     %     end
+% 
+%     IRIS(handles);
+% 
+
+
+function qualite_edit23_Callback(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of qualite_edit23 as text
+%        str2double(get(hObject,'String')) returns contents of qualite_edit23 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function qualite_edit23_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBB_edit24_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBB_edit24 as text
+%        str2double(get(hObject,'String')) returns contents of LHBB_edit24 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBB_edit24_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBH_edit25_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBH_edit25 as text
+%        str2double(get(hObject,'String')) returns contents of LHBH_edit25 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBH_edit25_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBH_edit26_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBH_edit26 as text
+%        str2double(get(hObject,'String')) returns contents of LBBH_edit26 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBH_edit26_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBB_edit27_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBB_edit27 as text
+%        str2double(get(hObject,'String')) returns contents of LBBB_edit27 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBB_edit27_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in fondGmax_pushbutton29.
+function fondGmax_pushbutton29_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmax_pushbutton29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmoy_pushbutton30.
+function fondGmoy_pushbutton30_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmoy_pushbutton30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmin_pushbutton31.
+function fondGmin_pushbutton31_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmin_pushbutton31 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+function directory_sauvegarde_edit28_Callback(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of directory_sauvegarde_edit28 as text
+%        str2double(get(hObject,'String')) returns contents of directory_sauvegarde_edit28 as a double
+
+
+% % directory principale (dï¿œpend de l'utilisateur !!!)
+% setappdata(handles.figure1,'directory_principale',directory_principale);
+% 
+% % directory de sauvegarde en attente
+% setappdata(handles.figure1,'directory_principale','/home/PM/tordeux/matlab_test/');
+% directory_principale=getappdata(handles.figure1,'directory_principale');
+% phrase=strcat(directory_principale,'?');
+
+directory_sauvegarde=get(handles.directory_sauvegarde_edit28,'String');
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory n'existe pas
+%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+if  ~isdir(   directory_sauvegarde)
+%                     mkdir(chemin)
+%                     cd(chemin);
+    mkdir(directory_sauvegarde)
+    cd(directory_sauvegarde);
+
+    %setappdata(handles.figure1,'init_sauvegarde',1);
+    %val=getappdata(handles.figure1,'init_sauvegarde');
+    %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+    setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory existe deja
+else    
+    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+    if isequal(button,'oui')
+
+%                         cd(chemin);
+        cd(directory_sauvegarde);  
+
+        %setappdata(handles.figure1,'init_sauvegarde',1);
+        %val=getappdata(handles.figure1,'init_sauvegarde');
+        %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+        setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+    else
+        % retour ï¿œ la case dï¿œpart 
+
+    end
+end     
+
+
+
+% --- Executes during object creation, after setting all properties.
+function directory_sauvegarde_edit28_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in backlight_popupmenu3.
+function backlight_popupmenu3_Callback(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns backlight_popupmenu3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from backlight_popupmenu3
+
+%alias
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.backlight;
+
+val = get(hObject,'Value');
+switch val
+case 1
+tango_command_inout(dev,'SetBrightness',uint16(0));    
+case 2
+tango_command_inout(dev,'SetBrightness',uint16(1));  
+case 3
+tango_command_inout(dev,'SetBrightness',uint16(2));  
+case 4
+tango_command_inout(dev,'SetBrightness',uint16(3));  
+case 5
+tango_command_inout(dev,'SetBrightness',uint16(4));  
+case 6
+tango_command_inout(dev,'SetBrightness',uint16(5));  
+case 7
+tango_command_inout(dev,'SetBrightness',uint16(6));  
+case 8
+tango_command_inout(dev,'SetBrightness',uint16(7));  
+case 9
+tango_command_inout(dev,'SetBrightness',uint16(8));  
+case 10
+tango_command_inout(dev,'SetBrightness',uint16(9));  
+case 11
+tango_command_inout(dev,'SetBrightness',uint16(10));  
+
+end
+
+% --- Executes during object creation, after setting all properties.
+function backlight_popupmenu3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'0','1','2','3','4','5','6',...
+    '7','8','9','10',...
+    });
+
+
+function pos1_edit29_Callback(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos1_edit29 as text
+%        str2double(get(hObject,'String')) returns contents of pos1_edit29 as a double
+
+% encore ï¿œ faire !!
+
+
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% device_name = getappdata(handles.figure1,'device_name');
+%     
+% numeropas = get(handles.pos1_edit29,'String');
+% errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+% if (tango_error == -1)
+%     %- handle error
+%     tango_print_error_stack;
+%     return;
+%     errordlg('erreur tango !','Erreur');
+% 
+% else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on bouge
+%             tango_command_inout(dev,'AxisGoToPosition',numeropas);
+%         
+%             % temporisation : 
+%             temporisation_mvt_axis(dev);
+%             
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+% 
+%             end
+%             
+%             pause(0.5);
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             % on ï¿œcrit une derniï¿œre fois la position de la lentille
+%  
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                     
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+% 
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+% --- Executes during object creation, after setting all properties.
+function pos1_edit29_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function pos2_edit30_Callback(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos2_edit30 as text
+%        str2double(get(hObject,'String')) returns contents of pos2_edit30 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pos2_edit30_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in F_iris_pushbutton32.
+function F_iris_pushbutton32_Callback(hObject, eventdata, handles)
+% hObject    handle to F_iris_pushbutton32 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FF_iris_pushbutton33.
+function FF_iris_pushbutton33_Callback(hObject, eventdata, handles)
+% hObject    handle to FF_iris_pushbutton33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FFF_iris_pushbutton34.
+function FFF_iris_pushbutton34_Callback(hObject, eventdata, handles)
+% hObject    handle to FFF_iris_pushbutton34 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in O_iris_pushbutton35.
+function O_iris_pushbutton35_Callback(hObject, eventdata, handles)
+% hObject    handle to O_iris_pushbutton35 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OO_iris_pushbutton36.
+function OO_iris_pushbutton36_Callback(hObject, eventdata, handles)
+% hObject    handle to OO_iris_pushbutton36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OOO_iris_pushbutton38.
+function OOO_iris_pushbutton38_Callback(hObject, eventdata, handles)
+% hObject    handle to OOO_iris_pushbutton38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+%device_name = getappdata(handles.figure1,'device_name');
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Emittance ?',...
+    'Exit Programme Emittance',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+        %% extraire l'Ã©cran YAG
+        %tango_command_inout(device_name.ecran,'Extract');
+        %fonction_error;
+    otherwise
+        disp('Closing aborted')
+end
+
+
+
+function Q2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q2courant_edit as a double
+
+
+ecriture('Q2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function Q2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H2courant_edit as a double
+
+ecriture('H2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function H2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit33_Callback(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit33 as text
+%        str2double(get(hObject,'String')) returns contents of edit33 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit33_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q3courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q3courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q3courant_edit as a double
+
+ecriture('Q3',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q3courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q4courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q4courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q4courant_edit as a double
+
+ecriture('Q4',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q4courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function type_edit36_Callback(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of type_edit36 as text
+%        str2double(get(hObject,'String')) returns contents of type_edit36 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function type_edit36_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nbiter_edit37_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbiter_edit37 as text
+%        str2double(get(hObject,'String')) returns contents of nbiter_edit37 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nbiter_edit37_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function energie_edit38_Callback(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of energie_edit38 as text
+%        str2double(get(hObject,'String')) returns contents of energie_edit38 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function energie_edit38_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+% --- Executes on button press in imprimer_pushbutton7.
+function imprimer_pushbutton17_Callback(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Determine file and directory name
+FileName = '1';
+
+DirectoryName = getappdata(handles.figure1,'directory_sauvegarde');
+
+% Append date_Time to FileName
+%FileName = sprintf('%s_%s', 'tableau', FileName);
+FileName = sprintf( '%s_%s','tableau', FileName);
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+
+ResultsStr = get(handles.listbox1,'String');
+
+try
+    save(FileName,'ResultsStr')
+    %save(FileName,'ResultsStr','-ascii')
+    %save -ascii mydata.dat
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function imprimer_pushbutton17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+
+
+% --- Executes on selection change in camera_controle_popupmenu4.
+function camera_controle_popupmenu4_Callback(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns camera_controle_popupmenu4 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from camera_controle_popupmenu4
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.videograbber;
+
+val = get(hObject,'Value');
+switch val
+   
+case 2
+tango_command_inout(dev,'AutoAdjustRefLevels');  
+disp('AutoAdjustRefLevels')
+case 3
+tango_command_inout(dev,'EnableCorrectedImage');  
+case 4
+tango_command_inout(dev,'EnableCorrectedProfiles');  
+case 5
+tango_command_inout(dev,'EnableProfiles');  
+case 6
+tango_command_inout(dev,'DisableCorrectedImage');  
+case 7
+tango_command_inout(dev,'DisableCorrectedProfiles');  
+case 8
+tango_command_inout(dev,'DisableProfiles');
+
+case 9
+tango_command_inout(dev,'GetExposureTime');
+% on donne la possibilitÃ© de modifier le exposuretime
+res = tango_command_inout(dev,'GetExposureTime');
+prompt={'ExposureTime'};
+name='GetExposureTime';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+time = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetExposureTime',str2num(time{:}));
+
+case 10
+% on donne la possibilitÃ© de modifier le shutterdelay
+res = tango_command_inout(dev,'GetShutterDelay');
+prompt={'ShutterDelay'};
+name='GetShutterDelay';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+delay = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetShutterDelay',str2num(delay{:}));
+
+case 11
+res = tango_command_inout(dev,'State');
+errordlg(res,'State');
+case 12
+res = tango_command_inout(dev,'Status');
+errordlg(res,'Status');
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function camera_controle_popupmenu4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in controle_lentilles_popupmenu5.
+function controle_lentilles_popupmenu5_Callback(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns controle_lentilles_popupmenu5 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from controle_lentilles_popupmenu5
+
+
+device_name = getappdata(handles.figure1,'device_name');
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;       
+    else
+        dev=device_name.lentille_basse;     
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        
+        val = get(hObject,'Value');
+        switch val
+
+        case 2
+        prompt={'Entrez une position'};
+        name='AxisDefinePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            tango_command_inout(dev,'AxisDefinePosition',str2num(toto{:}));
+            fonction_error;
+            
+            if isequal(logdev1,1)
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            else
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+        end
+
+        case 3
+        res = tango_command_inout(dev,'AxisGetErrorStatus');  
+        errordlg(num2str(res),'AxisGetErrorStatus');
+
+        case 4
+        res = tango_command_inout(dev,'AxisGetMotionStatus');  
+        errordlg(num2str(res),'AxisGetMotionStatus');
+
+        case 5
+        prompt={'Entrez une position de destination'};
+        name='AxisGoToPosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            fonction_error;
+            
+            if str2num(toto{:})>posref.value
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<posref.value
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_command_inout(dev,'AxisGoToPosition',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+        case 6
+        prompt={'Entrez une position relative de destination'};
+        name='AxisGoToRelativePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            fonction_error;
+            
+            if str2num(toto{:})>0
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<0
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_command_inout(dev,'AxisGoToRelativePosition',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+        
+        case 11
+        res = tango_command_inout(dev,'State');
+        errordlg(res,'State');
+        case 12
+        res = tango_command_inout(dev,'Status');
+        errordlg(res,'Status');
+        
+        end
+    end
+end
+            
+    
+
+
+
+% --- Executes during object creation, after setting all properties.
+function controle_lentilles_popupmenu5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in emitV_pushbutton39.
+function emitV_pushbutton39_Callback(hObject, eventdata, handles)
+% hObject    handle to emitV_pushbutton39 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in ellipseV_pushbutton40.
+function ellipseV_pushbutton40_Callback(hObject, eventdata, handles)
+% hObject    handle to ellipseV_pushbutton40 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ellipseV_v16(handles)
Index: /trunk/machine/SOLEIL/LT1/emittance/faisceau.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/faisceau.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/faisceau.m	(revision 17)
@@ -0,0 +1,37 @@
+function fun=faisceau(nbpixelsx,nbpixelsy,sigmax,sigmay,centrex,centrey,pourc)
+
+
+Y=(meshgrid(1:nbpixelsx+1,1:nbpixelsy+1))';
+%Y=(1:nbpixelsy+1)';
+X=meshgrid(1:nbpixelsy+1,1:nbpixelsx+1);
+%X=(1:nbpixelsx+1)';
+p=pourc*0.01;
+sigx=1*((1-p)*sigmax+2*p*sigmax*rand(1));
+sigy=1*((1-p)*sigmay+2*p*sigmay*rand(1));
+cx=1*((1-p)*centrex+2*p*centrex*rand(1));
+cy=1*((1-p)*centrey+2*p*centrey*rand(1));
+
+a=bigauss_bruit(X,Y,sigx,sigy,cx,cy,pourc/4);
+% on enleve le bruit de bigauss car redondant
+%a=bigauss(X,Y,sigx,sigy,cx,cy);
+
+%s=1*((1-pourc)*se+2*pourc*se.*rand(1,length(se)));
+
+b = p*rand(nbpixelsx+1,nbpixelsy+1);
+
+		% % pixels morts
+		% n=size(a);
+		% d=gallery('rando',n,1);
+		% 
+		% for i=1:10
+		%     c(i,:,:)=gallery('rando',n,1);
+		%     d=d.*squeeze(c(i,:,:));
+		% end
+%fun=a+b+d;
+
+fun=a+b;
+%fun=a;
+% figure(4)
+% 
+ %image(a+b+d,'CDataMapping','scaled')
+image(fun,'CDataMapping','scaled')
Index: /trunk/machine/SOLEIL/LT1/emittance/faisceau_sansimage.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/faisceau_sansimage.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/faisceau_sansimage.m	(revision 17)
@@ -0,0 +1,37 @@
+function fun=faisceau(nbpixelsx,nbpixelsy,sigmax,sigmay,centrex,centrey,pourc)
+
+
+Y=(meshgrid(1:nbpixelsx+1,1:nbpixelsy+1))';
+%Y=(1:nbpixelsy+1)';
+X=meshgrid(1:nbpixelsy+1,1:nbpixelsx+1);
+%X=(1:nbpixelsx+1)';
+p=pourc*0.01;
+sigx=1*((1-p)*sigmax+2*p*sigmax*rand(1));
+sigy=1*((1-p)*sigmay+2*p*sigmay*rand(1));
+cx=1*((1-p)*centrex+2*p*centrex*rand(1));
+cy=1*((1-p)*centrey+2*p*centrey*rand(1));
+
+a=bigauss_bruit(X,Y,sigx,sigy,cx,cy,pourc/4);
+% on enleve le bruit de bigauss car redondant
+%a=bigauss(X,Y,sigx,sigy,cx,cy);
+
+%s=1*((1-pourc)*se+2*pourc*se.*rand(1,length(se)));
+
+b = p*rand(nbpixelsx+1,nbpixelsy+1);
+
+		% % pixels morts
+		% n=size(a);
+		% d=gallery('rando',n,1);
+		% 
+		% for i=1:10
+		%     c(i,:,:)=gallery('rando',n,1);
+		%     d=d.*squeeze(c(i,:,:));
+		% end
+%fun=a+b+d;
+
+fun=a+b;
+%fun=a;
+% figure(4)
+% 
+ %image(a+b+d,'CDataMapping','scaled')
+%image(fun,'CDataMapping','scaled')
Index: /trunk/machine/SOLEIL/LT1/emittance/fonction_error.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/fonction_error.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/fonction_error.m	(revision 17)
@@ -0,0 +1,10 @@
+function fonction_error
+
+if (tango_error == -1)
+      %- print error stack
+      tango_print_error_stack;
+      %- can't continue
+      return;
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/emittance/mycallback.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/mycallback.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/mycallback.m	(revision 17)
@@ -0,0 +1,41 @@
+ function mycallback(arg1,arg2,hObject, eventdata, handles)
+
+axes1=findobj(allchild(handles.figure1),'Tag','axes1');
+rowmax=513;
+columnmax=701;
+%toto=faisceau_sansimage(rowmax,columnmax,rowmax/10,columnmax/5,rowmax/2,columnmax/2,20);
+%image(toto,'CDataMapping','scaled','Parent',handles.axes1)
+
+    %dev='lt1/dg/emit-vg';
+
+    device_name = getappdata(handles.figure1,'device_name');
+
+    axes1=findobj(allchild(handles.figure1),'Tag','axes1');
+
+    %axes(handles.axes1);
+
+    %disp('on rentre dans mycallback')
+    dev=device_name.videograbber;
+
+    toto=tango_read_attribute(dev,'Image'); % attention passage de i miniscule Ã  I majuscule !
+    %image(toto.value,'CDataMapping','scaled');
+    image(toto.value,'CDataMapping','scaled','Parent',handles.axes1)
+
+    %imagesc(toto.value,'Parent',handles.axes1);
+    colormap(gray);
+
+% 
+%     %     xdata=1:columnmax+1;
+%     %     ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+%     %     x0=[10 250 ValMaxc];
+%     %     %plot du rï¿œsultat
+%     %     F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)));
+%     %     name=['axes' num2str(2)];
+%     %     axes(handles.(name));
+%     %     plot(xdata,sumcolumn,'k-');
+%     %     xlim([0 length(sumcolumn)])
+%     %     hold on
+%     %     plot(xdata,F,'b-')
+%     %     hold off
+% 
+% 
Index: /trunk/machine/SOLEIL/LT1/emittance/show1imagesgui_15.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/show1imagesgui_15.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/show1imagesgui_15.m	(revision 17)
@@ -0,0 +1,1013 @@
+function varargout = show1imagesgui_15(varargin)  % EN COURS !!!!!!
+% show1imagesgui_15 M-file for show1imagesgui_15.fig
+%      show1imagesgui_15, by itself, creates a new show1imagesgui_15 or raises the existing
+%      singleton*.
+%
+%      H = show1imagesgui_15 returns the handle to a new show1imagesgui_15 or the handle to
+%      the existing singleton*.
+%
+%      show1imagesgui_15('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in show1imagesgui_15.M with the given input arguments.
+%
+%      show1imagesgui_15('Property','Value',...) creates a new show1imagesgui_15 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before show1imagesgui_15_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to show1imagesgui_15_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help show1imagesgui_15
+
+% Last Modified by GUIDE v2.5 11-Oct-2005 18:37:57
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @show1imagesgui_15_OpeningFcn, ...
+                   'gui_OutputFcn',  @show1imagesgui_15_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before show1imagesgui_15 is made visible.
+function show1imagesgui_15_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to show1imagesgui_15 (see VARARGIN)
+
+% Choose default command line output for show1imagesgui_15
+
+% Choose default command line output for test_1
+handles.output = hObject;
+
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller = varargin{1}.figure1;
+    
+    % Get nbiterations value from Application-Defined data
+    handles.nbiterations = getappdata(handles.caller, 'nbiterations');
+    handles.nbenregistrs = getappdata(handles.caller, 'nbenregistrs');
+    handles.Q4courant=getappdata(handles.caller,'Q4courant');
+    handles.nbenregistrements = getappdata(handles.caller, 'nbenregistrements');
+    handles.tailles = getappdata(handles.caller, 'tailles');
+    handles.ResultsData = getappdata(handles.caller, 'ResultsData');
+    handles.listbox=findobj(allchild(handles.caller),'Tag','listbox1');
+    handles.remove_pushbutton=findobj(allchild(handles.caller),'Tag','remove_pushbutton');  
+    handles.plot_pushbutton=findobj(allchild(handles.caller),'Tag','plot_pushbutton');
+    handles.restaurer_pushbutton15=findobj(allchild(handles.caller),'Tag','restaurer_pushbutton15');
+    handles.nbacqu_edit13=findobj(allchild(handles.caller),'Tag','nbacqu_edit13');
+    handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+    handles.vect_colonne_noire=getappdata(handles.caller, 'vect_colonne_noire');
+    handles.vect_ligne_noire=getappdata(handles.caller, 'vect_ligne_noire');
+    handles.G=getappdata(handles.caller, 'G');
+    handles.device_name = getappdata(handles.caller, 'device_name');
+    setappdata(handles.caller,'selection_fenetre_H',num2str(0));
+    setappdata(handles.caller,'selection_fenetre_V',num2str(0));
+    setappdata(handles.caller,'Rabotage',num2str(0));
+    set(handles.rayon_fenetre_H_edit16,'String',num2str(1));
+    set(handles.rayon_fenetre_V_edit17,'String',num2str(1));
+    
+    % button group sur squeeze du vecteur sumcolomn
+% h = uibuttongroup('visible','off','Position',[0.05 .9 .12 .08],...
+%     'Title','Image','TitlePosition','centertop');
+% u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+%     'pos',[2 .9 45 30],'parent',h,'HandleVisibility','off');
+% u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+%     'pos',[50 .9 45 30],'parent',h,'HandleVisibility','off');
+h = uibuttongroup('visible','off');
+u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[35. 28. 45 30],'parent',h,'HandleVisibility','off');
+u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+     'pos',[75. 28. 45 30],'parent',h,'HandleVisibility','off');
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+set(h,'SelectedObject',u2);  % No selection
+set(h,'Visible','on');
+
+v = uibuttongroup('visible','off');
+v1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[440. 390. 45 30],'parent',v,'HandleVisibility','off');
+v2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+     'pos',[440. 360. 45 30],'parent',v,'HandleVisibility','off');
+set(v,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_V,handles});
+set(v,'SelectedObject',v2);  % No selection
+set(v,'Visible','on');
+
+r = uibuttongroup('visible','off');
+r1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[400. 28. 45 30],'parent',r,'HandleVisibility','off');
+r2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+     'pos',[440. 28. 45 30],'parent',r,'HandleVisibility','off');
+set(r,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_R,handles});
+set(r,'SelectedObject',r2);  % No selection
+set(r,'Visible','on');
+
+
+
+    % Update handles structure
+    guidata(hObject, handles);
+
+else
+    
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes show1imagesgui_15 wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+%______________________________________________________________________
+% profil horizontal
+handles.vect_colonne_noire=getappdata(handles.caller, 'vect_colonne_noire');
+
+   
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+
+%formation d'une image
+
+    %toto=faisceau(rowmax,columnmax,rowmax/10,columnmax/5,rowmax/2,columnmax/2,20);
+
+device_name = getappdata(handles.caller,'device_name');
+
+%axes1=findobj(allchild(handles.figure1),'Tag','axes1');
+%axes(handles.axes1);
+dev=device_name.videograbber;
+
+toto=tango_read_attribute(dev,'Image');
+%toto=tango_read_attribute(dev,'corrected_image');
+%image(toto.value,'CDataMapping','scaled');
+image(toto.value,'CDataMapping','scaled','Parent',handles.axes1)
+rowmax=size(toto.value,1);
+columnmax=size(toto.value,2);
+
+%imagesc(toto.value,'Parent',handles.axes1);
+colormap(gray);    
+
+% calcul des projections
+sumcolumn=sum(toto.value(:,:));
+%sauvegarde du profil horizontal brut
+setappdata(handles.caller, 'profil_H',sumcolumn);
+
+
+% test si on a bien cree une image dans faisceau
+if isequal(size(sumcolumn),size(handles.vect_colonne_noire))
+    % on soustraie l'image sans faisceau
+%%    sumcolumn=sumcolumn-handles.vect_colonne_noire; % suppression le 07 mai 08 !
+else
+    errordlg('vous n avez pas fait d''image sans faisceau','Error');
+end
+
+% seul souci : les pixels rendus nï¿œgatifs dans l'opï¿œration prï¿œcedente. On
+% les passe sauvagement ï¿œ 0 !
+for i=1:length(sumcolumn)
+    if sumcolumn(i)<0 
+        sumcolumn(i)=0;
+    end
+end
+
+
+handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+
+% cas oï¿œ aucune option de calcul pour la largeur n'a ï¿œtï¿œ sï¿œlectionnï¿œ
+if isequal(handles.largeur_option,0)
+    errordlg('vous n avez pas fait votre choix pour la taille de faisceau','Error');
+end
+
+% fit par gaussienne
+if isequal(handles.largeur_option,1)
+    
+    %xdata=1:columnmax+1;
+    xdata=1:columnmax;
+    ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+    x0=[10 250 ValMaxc];
+    % option on enlï¿œve min :
+    %[ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn-ValMinc)
+    % option : on enlï¿œve l'image noire (fait prï¿œcï¿œdemment) :
+    [ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn);
+    rmsH=ac(1);
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsH*grossissement);
+    val=sprintf('%0.2f',rmsH*handles.G)
+    % impression du rayon en mm
+    set(handles.rmsH_edit11,'String',val);
+    sumHstd=0;
+
+    %plot du rï¿œsultat
+    %F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)))+ValMinc;
+    F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)));
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    plot(xdata,sumcolumn,'k-');
+    xlim([0 length(sumcolumn)])
+    hold on
+    plot(xdata,F,'b-')
+    hold off
+
+end
+
+
+% vrai rms
+if isequal(handles.largeur_option,2)
+    
+    ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+    sumcolumn=sumcolumn-ValMinc;
+    vect=1:length(sumcolumn);
+    sumcolumn1=sumcolumn/sum(sumcolumn);
+    smoy=sum(sumcolumn1.*vect);
+    tata=(vect-smoy).*(vect-smoy);
+    srms=sum(sumcolumn1.*tata);
+    rmsH=sqrt(srms);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsH*grossissement);
+    
+    val=sprintf('%0.2f',rmsH*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsH_edit11,'String',val);
+    
+    %plot du rï¿œsultat
+    xdata=1:columnmax;
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    plot(xdata,sumcolumn+ValMinc,'k-');
+    xlim([0 length(sumcolumn)])
+    hold on
+    %plot(xdata,F,'b-')
+    hold off
+
+end
+
+% $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+% profil vertical
+handles.vect_ligne_noire=getappdata(handles.caller, 'vect_ligne_noire');
+
+   
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+
+%     %formation d'une image
+%     rowmax=513;
+%     columnmax=701;
+%     toto=faisceau(rowmax,columnmax,rowmax/10,columnmax/5,rowmax/2,columnmax/2,20);
+% calcul des projections
+sumrow=sum(toto.value(:,:)');
+%sauvegarde du profil horizontal brut
+setappdata(handles.caller, 'profil_V',sumrow);
+
+
+% test si on a bien cree une image dans faisceau  
+if isequal(size(sumrow),size(handles.vect_ligne_noire))
+    % on soustraie l'image sans faisceau
+%%%    sumrow=sumrow-handles.vect_ligne_noire; % suppression le 07 mai 08 !
+else
+    % a priori inutile (alarme dï¿œjï¿œ levï¿œe en horizontal)  errordlg('vous n avez pas fait d image sans faisceau','Error');
+end
+
+% seul souci : les pixels rendus nï¿œgatifs dans l'opï¿œration prï¿œcedente. On
+% les passe sauvagement ï¿œ 0 !
+for i=1:length(sumrow)
+    if sumrow(i)<0 
+        sumrow(i)=0;
+    end
+end
+
+
+%     handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+
+% fit par gaussienne
+if isequal(handles.largeur_option,1)
+    
+    %xdata=1:rowmax+1;
+    xdata=1:rowmax;
+    ValMaxr=max(sumrow);ValMinr=min(sumrow);
+    x0=[10 250 ValMaxr];
+    % option on enlï¿œve min :
+    %[ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn-ValMinc)
+    % option : on enlï¿œve l'image noire (fait prï¿œcï¿œdemment) :
+    [ar,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumrow);
+    rmsV=ar(1);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsV*grossissement);
+    
+    val=sprintf('%0.2f',rmsV*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsV_edit12,'String',val);
+    sumVstd=0;
+
+    %plot du rï¿œsultat
+    %F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)))+ValMinc;
+    Fr=ar(3)*exp(-(xdata-ar(2)).*(xdata-ar(2))/(2*ar(1)*ar(1)));
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    plot(xdata,sumrow,'k-');
+    xlim([0 length(sumrow)])
+    hold on
+    plot(xdata,Fr,'b-')
+    hold off
+
+end
+
+
+% vrai rms
+if isequal(handles.largeur_option,2)
+    
+    ValMaxr=max(sumrow);ValMinr=min(sumrow);
+    sumrow=sumrow-ValMinr;
+    vect=1:length(sumrow);
+    sumrow1=sumrow/sum(sumrow);
+    smoy=sum(sumrow1.*vect);
+    toto=(vect-smoy).*(vect-smoy);
+    srms=sum(sumrow1.*toto);
+    rmsV=sqrt(srms);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsV*grossissement);
+    
+    val=sprintf('%0.2f',rmsV*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsV_edit12,'String',val);
+    
+    %plot du rï¿œsultat
+    xdata=1:rowmax;
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    plot(xdata,sumrow+ValMinr,'k-');
+    xlim([0 length(sumrow)])
+    hold on
+    %plot(xdata,F,'b-')
+    hold off
+
+end
+
+%_______________________________________________________________
+
+% 
+% 
+% 
+%     rowmax=80;
+%     columnmax=100;
+%     B=[];
+% 
+%     %for i=1:handles.nbiterations
+%     for i=1:1  
+%         name=['axes' num2str(i)];
+%         axes(handles.(name)); %axis image ;  
+%         faisceau(513,701,120,50,-150,50,10);
+%         B(i,:,:) = rand(rowmax,columnmax);
+%         sumcolumn=sum(squeeze(B(i,:,:)));sumrow=sum(squeeze(B(i,:,:))');
+%         sumV(i)=sum(sumcolumn);sumH(i)=sum(sumrow);
+%     % 	axes(handles.(name)); %axis image ;    
+%     % 	ima(i)=image(squeeze(B(i,:,:)),'CDataMapping','scaled'); 
+%     end
+% 
+%     sumHmean=mean(sumH);sumVmean=mean(sumV);sumHstd=std(sumH);sumVstd=std(sumV);
+% 
+%     set(handles.rmsH_edit11,'String',sumHmean);
+%     sumHstd=0;
+% 
+%     set(handles.rmsV_edit12,'String',sumVmean);
+% 
+%     sumVstd=0;
+
+% --- Outputs from this function are returned to the command line.
+function varargout = show1imagesgui_15_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;  % ???
+
+% --- Executes on button press in pushbutton1.
+function recommencer_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.vect_colonne_noire=getappdata(handles.caller, 'vect_colonne_noire');
+selection_fenetre_H = getappdata(handles.caller,'selection_fenetre_H');
+selection_fenetre_V = getappdata(handles.caller,'selection_fenetre_V');
+Rabotage = getappdata(handles.caller,'Rabotage')
+
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+
+%formation d'une image
+device_name = getappdata(handles.caller,'device_name');
+dev=device_name.videograbber;
+toto=tango_read_attribute(dev,'Image');
+%toto=tango_read_attribute(dev,'corrected_image');
+image(toto.value,'CDataMapping','scaled','Parent',handles.axes1)
+rowmax=size(toto.value,1);
+columnmax=size(toto.value,2);
+colormap(gray);    
+
+% calcul des projections
+sumcolumn=sum(toto.value(:,:));
+%sauvegarde du profil horizontal brut
+setappdata(handles.caller, 'profil_H',sumcolumn);
+
+
+% test si on a bien cree une image dans faisceau
+if isequal(size(sumcolumn),size(handles.vect_colonne_noire))
+    % on soustraie l'image sans faisceau
+    %sumcolumn=sumcolumn-handles.vect_colonne_noire;
+else
+    errordlg('vous n avez pas fait d''image sans faisceau','Error');
+end
+
+% seul souci : les pixels rendus nï¿œgatifs dans l'opï¿œration prï¿œcedente. On
+% les passe sauvagement ï¿œ 0 !
+for i=1:length(sumcolumn)
+    if sumcolumn(i)<0 
+        sumcolumn(i)=0;
+    end
+end
+
+
+handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+
+% cas oï¿œ aucune option de calcul pour la largeur n'a ï¿œtï¿œ sï¿œlectionnï¿œ
+if isequal(handles.largeur_option,0)
+    errordlg('vous n avez pas fait votre choix pour la taille de faisceau','Error');
+end
+
+
+% fit par gaussienne
+if isequal(handles.largeur_option,1)
+    
+    xdata=1:columnmax;
+    ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+    x0=[10 250 ValMaxc];
+    % option on enlï¿œve min :
+    %[ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn-ValMinc)
+    % option : on enlï¿œve l'image noire (fait prï¿œcï¿œdemment) :
+    [ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn);
+    rmsH=ac(1);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsH*grossissement);
+    
+    val=sprintf('%0.2f',rmsH*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsH_edit11,'String',val);
+    sumHstd=0;
+
+    %plot du rï¿œsultat
+    %F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)))+ValMinc;
+    F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)));
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    plot(xdata,sumcolumn,'k-');
+    xlim([0 length(sumcolumn)])
+    hold on
+    plot(xdata,F,'b-')
+    hold off
+
+end
+
+
+% vrai rms
+if isequal(handles.largeur_option,2)
+
+    % test !
+%Z = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-10-10_4/profilH_2_38.mat');
+%Z = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-09-23_1/profilH_3_38.mat');
+% Z = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-10-10_4/profilH_3_38.mat');
+% sumcolumn = Z.vect_H;
+    
+    if isequal(Rabotage,num2str(1))&isequal(selection_fenetre_H,num2str(1))
+        errordlg('Attention deselectionnez une option !! ...','Error'); 
+    elseif isequal(Rabotage,num2str(1))
+        [Y,I] = max(sumcolumn);
+        sumcolumn = sumcolumn - Y*0.01;
+        for i = 1 : length(sumcolumn)   
+            if sumcolumn(i)<0
+                sumcolumn(i) = 0;
+            end
+        end
+    elseif isequal(selection_fenetre_H,num2str(1))
+         res= get(handles.rayon_fenetre_H_edit16,'String');
+         rayon_fenetre_H = str2num(res);
+         rayon_pixel_H = rayon_fenetre_H/handles.G;
+         [Y,I] = max(sumcolumn);
+         sumcolumn = sumcolumn(I-rayon_pixel_H : I+rayon_pixel_H);
+         %sumcolumn = sumcolumn(640/2-rayon_pixel_H : 640/2+rayon_pixel_H);
+    end
+    
+    ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+    sumcolumn=sumcolumn-ValMinc;
+    vect=1:length(sumcolumn);
+    sumcolumn1=sumcolumn/sum(sumcolumn);
+    smoy=sum(sumcolumn1.*vect);
+    titi=(vect-smoy).*(vect-smoy);
+    srms=sum(sumcolumn1.*titi);
+    rmsH=sqrt(srms);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsH*grossissement);
+    
+    val=sprintf('%0.2f',rmsH*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsH_edit11,'String',val);
+    
+    %plot du rï¿œsultat
+    columnmax=size(sumcolumn,2);
+    xdata=1:columnmax;
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    plot(xdata,sumcolumn+ValMinc,'k-');
+    xlim([0 length(sumcolumn)])
+    hold on
+    %plot(xdata,F,'b-')
+    hold off
+
+end
+
+% $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+
+handles.vect_ligne_noire=getappdata(handles.caller, 'vect_ligne_noire');
+
+   
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+
+%     %formation d'une image
+%     rowmax=513;
+%     columnmax=701;
+%     toto=faisceau(rowmax,columnmax,rowmax/10,columnmax/5,rowmax/2,columnmax/2,20);
+% calcul des projections
+sumrow=sum(toto.value(:,:)');
+%sauvegarde du profil horizontal brut
+setappdata(handles.caller, 'profil_V',sumrow);
+
+
+% test si on a bien cree une image dans faisceau
+if isequal(size(sumrow),size(handles.vect_ligne_noire))
+    % on soustraie l'image sans faisceau
+    %sumrow=sumrow-handles.vect_ligne_noire;
+else
+    errordlg('vous n avez pas fait d image sans faisceau','Error');
+end
+
+% seul souci : les pixels rendus nï¿œgatifs dans l'opï¿œration prï¿œcedente. On
+% les passe sauvagement ï¿œ 0 !
+for i=1:length(sumrow)
+    if sumrow(i)<0 
+        sumrow(i)=0;
+    end
+end
+
+
+%     handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+
+% fit par gaussienne
+if isequal(handles.largeur_option,1)
+    
+    xdata=1:rowmax;
+    ValMaxr=max(sumrow);ValMinr=min(sumrow);
+    x0=[10 250 ValMaxr];
+    % option on enlï¿œve min :
+    %[ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn-ValMinc)
+    % option : on enlï¿œve l'image noire (fait prï¿œcï¿œdemment) :
+    [ar,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumrow);
+    rmsV=ar(1);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsV*grossissement);
+    
+    val=sprintf('%0.2f',rmsV*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsV_edit12,'String',val);
+    sumVstd=0;
+
+    %plot du rï¿œsultat
+    %F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)))+ValMinc;
+    Fr=ar(3)*exp(-(xdata-ar(2)).*(xdata-ar(2))/(2*ar(1)*ar(1)));
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    plot(xdata,sumrow,'k-');
+    xlim([0 length(sumrow)])
+    hold on
+    plot(xdata,Fr,'b-')
+    hold off
+
+end
+
+
+% vrai rms
+if isequal(handles.largeur_option,2)
+
+        % test !
+%ZV = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-10-10_4/profilV_2_38.mat');
+% ZV = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-10-10_4/profilV_3_38.mat');
+% sumrow = ZV.vect_V;
+
+    if isequal(Rabotage,num2str(1))&isequal(selection_fenetre_H,num2str(1))
+        errordlg('Attention deselectionnez une option !! ...','Error'); 
+    elseif isequal(Rabotage,num2str(1))
+        [Y,I] = max(sumrow);
+        sumrow = sumrow - Y*0.01;
+        for i = 1 : length(sumrow)   
+            if sumrow(i)<0
+                sumrow(i) = 0;
+            end
+        end 
+    elseif isequal(selection_fenetre_V,num2str(1))
+         res= get(handles.rayon_fenetre_V_edit17,'String');
+         rayon_fenetre_V = str2num(res);
+         rayon_pixel_V = rayon_fenetre_V/handles.G;
+         [Y,I] = max(sumrow)
+         %sumrow = sumrow(480/2-rayon_pixel_V : 480/2+rayon_pixel_V);
+         sumrow = sumrow(I-rayon_pixel_V : I+rayon_pixel_V);
+    end
+    
+    
+    ValMaxr=max(sumrow);ValMinr=min(sumrow);
+    sumrow=sumrow-ValMinr;
+    vect=1:length(sumrow);
+    sumrow1=sumrow/sum(sumrow);
+    smoy=sum(sumrow1.*vect);
+    toto=(vect-smoy).*(vect-smoy);
+    srms=sum(sumrow1.*toto);
+    rmsV=sqrt(srms);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsV*grossissement);
+    
+    val=sprintf('%0.2f',rmsV*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsV_edit12,'String',val);
+    
+    %plot du rï¿œsultat
+    rowmax = length(sumrow);
+    xdata=1:rowmax;
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    plot(xdata,sumrow+ValMinr,'k-');
+    xlim([0 length(sumrow)])
+    hold on
+    %plot(xdata,F,'b-')
+    hold off
+
+end
+
+
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes during object creation, after setting all properties.
+function rmsH_edit11_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rmsH_edit11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function rmsH_edit11_Callback(hObject, eventdata, handles)
+% hObject    handle to rmsH_edit11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rmsH_edit11 as text
+%        str2double(get(hObject,'String')) returns contents of rmsH_edit11 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function rmsV_edit12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rmsV_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function rmsV_edit12_Callback(hObject, eventdata, handles)
+% hObject    handle to rmsV_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rmsV_edit12 as text
+%        str2double(get(hObject,'String')) returns contents of rmsV_edit12 as a double
+
+
+% ------------------------------------------------------------
+% Callback for the Store push button
+% ------------------------------------------------------------
+% --- Executes on button press in enregistrer_pushbutton.
+function enregistrer_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to enregistrer_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%handles.nbenregistrs=handles.nbenregistrs + 1;
+
+LargH=str2num(get(handles.rmsH_edit11,'String'));
+LargV=str2num(get(handles.rmsV_edit12,'String'));
+%%sigH=str2num(get(handles.edit13,'String'));
+%%sigV=str2num(get(handles.edit14,'String'));
+sigH=0;
+sigV=0;
+
+
+%handles.tailles=[ handles.tailles ; LargH sigH LargV sigV ]
+handles.tailles=[  LargH sigH LargV sigV ];
+setappdata(handles.caller,'tailles',handles.tailles);
+
+guidata(hObject, handles);
+
+% Retrieve old results data structure
+handles.ResultsData = getappdata(handles.caller,'ResultsData');
+%handles.nbenregistrements
+if isfield(handles,'ResultsData') & ~isempty(handles.ResultsData)
+	ResultsData = handles.ResultsData;
+	% Determine the maximum run number currently used.
+	maxNum = ResultsData(length(ResultsData)).RunNumber;
+	ResultNum = maxNum+1;
+    ik =length(ResultsData);
+else, % Set up the results data structure
+%    ResultsData = struct('nbenregistrs',[],'LargeurH',[],...
+    ResultsData = struct('RunName',[],'RunNumber',[],'LargeurH',[],...
+        'sigmaH',[],'LargeurV',[],...
+		'sigmaV',[],'Q4courant',[],...
+        'G',[],'option_L',[],'date','');
+	ResultNum = 1;
+    ik = 0;
+end
+
+if isequal(ResultNum,1),
+	%--Enable the Plot and Remove buttons
+	set([handles.remove_pushbutton,handles.plot_pushbutton,...
+        handles.restaurer_pushbutton15],'Enable','on') ;
+%     %ouvrir le dossier pour l'enregistrement des profils
+%    prompt={'entrer un nom de rï¿œpertoire'};
+%    name='SAUVEGARDE DES PROFILS';
+%    numlines=1;
+%    defaultanswer={'JJMMAA_n1'};
+%    options.Resize='on';
+%    options.WindowStyle='normal';
+%    options.Interpreter='tex';
+%    val=0;
+%     while isequal(val,0)
+%     directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+%         if ~isequal(directory,{})
+%             if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+%                 mkdir /home/PM/tordeux/matlab_test/directory;
+%                 val=1;
+%             else    
+%                 button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+%                 if isequal(button,'oui')
+%                     val=1;
+%                 end
+%             end     
+%         else
+%             %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%             directory={'secours'};
+%             val=1;
+%         end
+%     end
+%    chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+%    cd(chemin);
+end
+
+w=getappdata(handles.caller,'tailles');
+handles.Q4courant=getappdata(handles.caller,'Q4courant');
+handles.G=getappdata(handles.caller,'G');
+handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+moment=datestr(now);
+
+ik = ik + 1;
+ResultsData(ik).RunName = ['Point ',num2str(ResultNum)];
+ResultsData(ik).RunNumber = ResultNum;
+ResultsData(ik).LargeurH = w(1);
+ResultsData(ik).sigmaH = w(2);
+ResultsData(ik).LargeurV = w(3);
+ResultsData(ik).sigmaV = w(4);
+ResultsData(ik).Q4courant = handles.Q4courant;
+ResultsData(ik).G =handles.G;
+ResultsData(ik).option_L =handles.largeur_option;
+ResultsData(ik).date=moment;
+
+% Build the new results list string for the listbox
+ResultsStr = get(handles.listbox,'String');
+Qcour=handles.Q4courant;
+i1=sprintf(' %9.2f \n',Qcour);
+i2=sprintf(' %9.2f \n',w(1));
+i3=sprintf(' %9.2f \n',w(2));
+i4=sprintf(' %9.2f \n',w(3));
+i5=sprintf(' %9.2f \n',w(4));
+i6=sprintf(' %9.3f \n',handles.G);
+i7=sprintf(' %4.0f \n',handles.largeur_option);
+
+
+if isequal(ResultNum,1)
+	ResultsStr = {['Point 1',...
+        i1,i2,i3,i4,i5,i6,i7,'  ',moment]};
+%         num2str(Qcour),'     ',num2str(w(1)),'     ',num2str(w(2)),...
+%         '    ',num2str(w(3)),'     ',num2str(w(4)),...
+%         '     ',num2str(handles.G),'     ',num2str(handles.largeur_option),'     ',moment...
+%         ]};
+else
+	
+    ResultsStr = [ResultsStr; {['Point ',num2str(ResultNum),...
+        i1,i2,i3,i4,i5,i6,i7,'  ',moment]}];
+end
+set(handles.listbox,'String',ResultsStr);
+set(handles.listbox,'Value',size(ResultsStr,1));
+
+
+% Store the new ResultsData
+handles.ResultsData = ResultsData;
+setappdata(handles.caller,'ResultsData',ResultsData);
+set(handles.nbacqu_edit13,'String', num2str(size(ResultsStr,1)));
+
+
+guidata(hObject, handles);
+
+
+% Enregistrer sur machine locale
+G=getappdata(handles.caller,'G');
+vect_H=getappdata(handles.caller, 'profil_H');
+Name=strcat('profilH_',num2str(ResultNum),'_',num2str(handles.G*1000));
+save(Name,'moment', 'G','vect_H') ;
+
+vect_V=getappdata(handles.caller, 'profil_V');
+Name=strcat('profilV_',num2str(ResultNum),'_',num2str(handles.G*1000));
+save(Name,'moment', 'G','vect_V') ;
+
+%eval(['save ',strcat('profilH_',num2str(ResultNum)),  moment vect_H]) ;
+
+%function pushbutton2_Callback(hObject, eventdata, handles)
+%% NE FAIT RIEN
+
+
+
+function rayon_fenetre_H_edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to rayon_fenetre_H_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rayon_fenetre_H_edit16 as text
+%        str2double(get(hObject,'String')) returns contents of rayon_fenetre_H_edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function rayon_fenetre_H_edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rayon_fenetre_H_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function rayon_fenetre_V_edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to rayon_fenetre_V_edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rayon_fenetre_V_edit17 as text
+%        str2double(get(hObject,'String')) returns contents of rayon_fenetre_V_edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function rayon_fenetre_V_edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rayon_fenetre_V_edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('selection d''une fenetre <-')
+        setappdata(handles.caller,'selection_fenetre_H',num2str(1));
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('arret selection de fenetre ->')
+        setappdata(handles.caller,'selection_fenetre_H',num2str(0));
+end
+
+function uibuttongroup_SelectionChangeFcn_V(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('selection d''une fenetre <-')
+        setappdata(handles.caller,'selection_fenetre_V',num2str(1));
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('arret selection de fenetre ->')
+        setappdata(handles.caller,'selection_fenetre_V',num2str(0));
+end
+
+
+function uibuttongroup_SelectionChangeFcn_R(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('Rabotage Ã  1% <-')
+        setappdata(handles.caller,'Rabotage',num2str(1));
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('Rabotage Ã  1% ->')
+        setappdata(handles.caller,'Rabotage',num2str(0));
+end
Index: /trunk/machine/SOLEIL/LT1/emittance/showsansfgui_15.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/showsansfgui_15.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/showsansfgui_15.m	(revision 17)
@@ -0,0 +1,231 @@
+function varargout = showsansfgui_15(varargin)  % EN COURS !!!!!!
+% showsansfgui_15 M-file for showsansfgui_15.fig
+%      showsansfgui_15, by itself, creates a new showsansfgui_15 or raises the existing
+%      singleton*.
+%
+%      H = showsansfgui_15 returns the handle to a new showsansfgui_15 or the handle to
+%      the existing singleton*.
+%
+%      showsansfgui_15('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in showsansfgui_15.M with the given input arguments.
+%
+%      showsansfgui_15('Property','Value',...) creates a new showsansfgui_15 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before showsansfgui_15_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to showsansfgui_15_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help showsansfgui_15
+
+% Last Modified by GUIDE v2.5 30-Aug-2004 18:40:49
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @showsansfgui_15_OpeningFcn, ...
+                   'gui_OutputFcn',  @showsansfgui_15_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before showsansfgui_15 is made visible.
+function showsansfgui_15_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to showsansfgui_15 (see VARARGIN)
+
+% Choose default command line output for showsansfgui_15
+
+% Choose default command line output for test_1
+handles.output = hObject;
+
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller2 = varargin{1}.figure1;
+    
+    % Get value from Application-Defined data
+%     handles.nbiterations = getappdata(handles.caller, 'nbiterations');
+%     handles.nbenregistrs = getappdata(handles.caller, 'nbenregistrs');
+%     %handles.Qcourant=getappdata(handles.caller,'Qcourant');
+%     handles.nbenregistrements = getappdata(handles.caller, 'nbenregistrements');
+%     handles.tailles = getappdata(handles.caller, 'tailles');
+%     handles.ResultsData = getappdata(handles.caller, 'ResultsData');
+%     handles.listbox=findobj(allchild(handles.caller),'Tag','listbox1');
+%     handles.remove_pushbutton=findobj(allchild(handles.caller),'Tag','remove_pushbutton');  
+%     handles.plot_pushbutton=findobj(allchild(handles.caller),'Tag','plot_pushbutton');
+%     handles.restaurer_pushbutton15=findobj(allchild(handles.caller),'Tag','restaurer_pushbutton15');
+%     handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+    handles.G=getappdata(handles.caller2, 'G');    
+    handles.vect_colonne_noire=getappdata(handles.caller2, 'vect_colonne_noire');
+    handles.vect_ligne_noire=getappdata(handles.caller2, 'vect_ligne_noire');
+    device_name = getappdata(handles.caller2, 'device_name');
+    
+    % Update handles structure
+    guidata(hObject, handles);
+
+else
+    
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes showsansfgui_15 wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+% dï¿œcalage du shutter de la camï¿œra en microsecondes (au moins 200 ms, ï¿œ
+% tester !!!)
+% affiche le shutter delay avant :
+disp('avant changement = ')
+ShutterDelayvalue = tango_command_inout(device_name.videograbber,'GetShutterDelay')
+%pause(0.5);
+tango_command_inout(device_name.videograbber,'SetShutterDelay',200000.);
+pause(1);
+disp('pendant changement = ')
+tango_command_inout(device_name.videograbber,'GetShutterDelay')
+
+%generation d'une image noire
+    % rowmax=513;
+    % columnmax=701;
+    % p=0.2;
+    % toto = p*rand(rowmax+1,columnmax+1);
+
+device_name = getappdata(handles.caller2,'device_name');
+
+%axes1=findobj(allchild(handles.figure1),'Tag','axes1');
+%axes(handles.axes1);
+dev=device_name.videograbber;
+
+toto=tango_read_attribute(dev,'Image');
+%toto=tango_read_attribute(dev,'corrected_image');
+image(toto.value,'CDataMapping','scaled');
+image(toto.value,'CDataMapping','scaled','Parent',handles.axes1)
+rowmax=size(toto.value,1);
+columnmax=size(toto.value,2);
+
+%imagesc(toto.value,'Parent',handles.axes1);
+colormap(gray);    
+
+%projections
+    % sumcolumn=sum(toto(:,:));
+    % sumrow=sum(toto(:,:)');
+sumcolumn=sum(toto.value(:,:));
+sumrow=sum(toto.value(:,:)');
+
+%plot de l'image noire et des profils
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+image(toto.value,'CDataMapping','scaled')
+
+%xdata=1:columnmax+1;
+xdata=1:columnmax;
+name=['axes' num2str(2)];
+axes(handles.(name));
+plot(xdata,sumcolumn,'k-');
+xlim([0 length(sumcolumn)]);
+
+%xdata=1:rowmax+1;
+xdata=1:rowmax;
+name=['axes' num2str(3)];
+axes(handles.(name));
+plot(xdata,sumrow,'k-');
+xlim([0 length(sumrow)]);
+%hold on
+
+%hold off
+
+setappdata(handles.caller2, 'vect_colonne_noire',sumcolumn);
+setappdata(handles.caller2, 'vect_ligne_noire',sumrow);
+
+% repositionner ï¿œ la valeur de dï¿œpart le shutter de la camï¿œra !!
+% ???
+% tango_command_inout(device_name.videograbber,'SetShutterDelay',200000.);
+tango_command_inout(device_name.videograbber,'SetShutterDelay', ShutterDelayvalue);
+disp('ShutterDelay remis comme avant ? = ')
+tango_command_inout(device_name.videograbber,'GetShutterDelay')
+
+% --- Outputs from this function are returned to the command line.
+function varargout = showsansfgui_15_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;  % ???
+
+
+% --- Executes on button press in enregistrer_pushbutton1.
+function enregistrer_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to enregistrer_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+moment=datestr(now);
+
+
+%   maintenant fait dans emittance_v15 !!
+%         %ouvrir le dossier pour l'enregistrement des profils noires
+%         prompt={'entrer un nom de rï¿œpertoire'};
+%         name='SAUVEGARDE DES PROFILS';
+%         numlines=1;
+%         defaultanswer={'JJMMAA_n1'};
+%         options.Resize='on';
+%         options.WindowStyle='normal';
+%         options.Interpreter='tex';
+%         val=0;
+%         while isequal(val,0)
+%         directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+%                 if ~isequal(directory,{})
+%                     if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+% 
+%                         chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:})
+%                         %cd  /home/PM/tordeux/matlab_test/
+%                         mkdir(chemin)
+%                         val=1;
+%                     else    
+%                         button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non')  ;
+%                         if isequal(button,'oui')
+%                             val=1;
+%                         end
+%                     end     
+%                 else
+%                     %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%                     directory={'secours'};
+%                     val=1;
+%                 end
+%         end
+%         chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+%         cd(chemin);
+% 
+
+
+% Enregistrer sur machine locale
+% on associe une image de noire avec le grandissement en ï¿œm/pixel (pb du point !..)
+G = getappdata(handles.caller2, 'G'); 
+vect_H=getappdata(handles.caller2, 'vect_colonne_noire');
+Name=strcat('vect_colonne_noire_',num2str(handles.G*1000));
+save(Name,'moment', 'G','vect_H') ;
+
+vect_V=getappdata(handles.caller2, 'vect_ligne_noire');
+Name=strcat('vect_ligne_noire_',num2str(handles.G*1000));
+save(Name,'moment','G', 'vect_V') ;
Index: /trunk/machine/SOLEIL/LT1/emittance/temporisation_mvt_axis.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/temporisation_mvt_axis.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/temporisation_mvt_axis.m	(revision 17)
@@ -0,0 +1,42 @@
+function err = temporisation_mvt_axis(dev)
+err = 0;
+disp('temporisation_mvt_axis <-')
+while (1)
+    %           ms = tango_command_inout(dev,'AxisGetMotionStatus');
+    ms = tango_command_inout(dev,'State');
+    % si erreur tango : sortir avec diagnostic
+    if (tango_error == -1)
+      tango_print_error_stack;
+      err = -1;
+      break;
+    end
+    % tant que le moteur est restÃ© en butÃ©e (errorstatus Ã  22, 4 21 ou 3) ou qu'il n'a pas dÃ©marrÃ©
+    % (motionstatus Ã  0) rester dans la boucle
+    if strcmp(ms,'MOVING')
+        %               if (isequal(ms, 1))
+        break;
+    end
+    disp('temporisation mvt moteur');
+    Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+    Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+    
+    %           es = tango_command_inout(dev,'AxisGetErrorStatus');
+    if (tango_error == -1)
+        tango_print_error_stack;
+        err = -1;
+        break;
+    end
+%     if ~Blimitswitch.value&~Flimitswitch.value&~strcmp(ms,'STANDBY')
+%     %           if ~isequal(es,22)&~isequal(es,4)&~isequal(es,21)&~isequal(es,3)&~isequal(ms,0)
+%         disp('probleme')
+%        break
+%     end
+%     if strcmp(ms,'ALARM')|strcmp(ms,'STANDBY')
+%     %           if ~isequal(es,22)&~isequal(es,4)&~isequal(es,21)&~isequal(es,3)&~isequal(ms,0)
+%         disp('arret normal')
+%        break
+%     end
+    pause(2);
+end
+disp('temporisation_mvt_axis ->')
+
Index: /trunk/machine/SOLEIL/LT1/emittance/test_butee_axis.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/test_butee_axis.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/test_butee_axis.m	(revision 17)
@@ -0,0 +1,32 @@
+function test_butee_axis(dev,edit_butee_haute,edit_butee_basse)
+
+
+%dev=device_name.lentille_haute;
+                %errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+% errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+% errorstatus=3  limitswitch forward
+% errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+% errorstatus=4  limitswitch backward
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(Blimitswitch.value,1)
+                %if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(edit_butee_haute,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(Flimitswitch.value,1)
+                %if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(edit_butee_basse,'BackgroundColor','red');
+        end
+
+end         
Index: /trunk/machine/SOLEIL/LT1/emittance/test_position.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/test_position.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/test_position.m	(revision 17)
@@ -0,0 +1,9 @@
+function test = test_position(pos,ref,delta)
+
+test=0;
+if pos<(ref+delta)&pos>(ref-delta)
+    test=1;
+    return
+else
+    errordlg('il y a un pb avec les axes !','Erreur');  
+end
Index: /trunk/machine/SOLEIL/LT1/emittance/test_position_axis.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/emittance/test_position_axis.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/emittance/test_position_axis.m	(revision 17)
@@ -0,0 +1,32 @@
+function test_position_axis(dev,edit_butee_haute,edit_butee_basse)
+
+
+%dev=device_name.lentille_haute;
+                %errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+Blimitswitch = tango_read_attribute(dev,'backwardLimitSwitch');
+Flimitswitch = tango_read_attribute(dev,'forwardLimitSwitch');
+
+% errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+% errorstatus=3  limitswitch forward
+% errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+% errorstatus=4  limitswitch backward
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(Blimitswitch,1)
+                %if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(edit_butee_haute,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(Flimitswitch,1)
+                %if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(edit_butee_basse,'BackgroundColor','red');
+        end
+
+end         
Index: /trunk/machine/SOLEIL/LT1/fae/comparaison_spectre.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/comparaison_spectre.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/comparaison_spectre.m	(revision 17)
@@ -0,0 +1,7 @@
+% Directory de sauvegarde des spectres :/home/matlabML/measdata/SOLEIL/LT1data/fae
+
+S_avant = load('-mat','2008-02-27_14-50-00_1_reglage_avant_Golden.mat')
+S_apres = load('-mat','2005-02-22_16-42-08_4_reglage_Golden.mat')
+figure(10);plot(S_avant.xdata2,S_avant.ydata2,'b');
+figure(10);hold on ; plot(S_apres.xdata2,S_apres.ydata2,'r');
+legend('S_avant','S_apres');xlabel('MeV');ylabel('charge normalisÃ©e');
Index: /trunk/machine/SOLEIL/LT1/fae/fae_timer.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_timer.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_timer.m	(revision 17)
@@ -0,0 +1,25 @@
+function fae_timer(arg1,arg2,hObject, eventdata, handles)
+
+
+% device_name = getappdata(handles.figure1,'device_name');
+% dev=device_name.dipole;
+% structure = tango_read_attribute(device_name.dipole,'current');
+% Idip = structure.value(1);
+% 
+% B0 = getappdata(handles.figure1,'B0');
+% B1 = getappdata(handles.figure1,'B1');
+% 
+% Integrale = B0 + B1 * Idip;
+% angle = 15 * pi / 180;
+% Bro = Integrale / angle;
+% E0 = 0.512 ;
+% energie = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 );
+% set(handles.repositionner_edit3,'String',num2str(energie));
+% 
+
+
+E0 = 0.51099906 ;
+% energie totale en GeV
+energie = getenergy('online');
+set(handles.repositionner_edit3,'String',num2str(energie*1e3 - E0));
+%disp('on rentre dans fae_timer')
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v1.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v1.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v1.m	(revision 17)
@@ -0,0 +1,1356 @@
+function varargout = fae_v1(varargin)
+% FAE_V1 M-file for fae_v1.fig
+%      FAE_V1, by itself, creates a new FAE_V1 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V1 returns the handle to a new FAE_V1 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V1('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V1.M with the given input arguments.
+%
+%      FAE_V1('Property','Value',...) creates a new FAE_V1 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v1_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v1_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v1
+
+% Last Modified by GUIDE v2.5 11-Mar-2005 12:32:12
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v1_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v1_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v1 is made visible.
+function fae_v1_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v1 (see VARARGIN)
+
+% Choose default command line output for fae_v1
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan'
+device_name.fente = 'lt1/dg/fae-fente'
+device_name.scan1D = 'lt1/dg/fae-scan1D'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v1.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v1 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v1_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% en attente
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.scan;
+vectx=tango_read_attribute(dev,'actuators_data');
+fonction_error;
+xdata = vectx.value;
+setappdata(handles.figure1,'xdata',xdata);
+
+%% vecty=tango_read_attribute(dev,'sensors_data');
+%% ydata = vecty.value;
+
+dev = device_name.scan1D;
+% lecture du premier mesureur de charge
+vecty1 = tango_read_attribute(dev,'Sensor1Data');
+ydatamc1 = vecty1.value;
+% lecture du deuxieme  mesureur de charge
+vecty2 = tango_read_attribute(dev,'Sensor2Data');
+ydatamc2 = vecty2.value;
+% 
+% % setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydatamc1',ydatamc1);
+setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :lorsque sera installï¿œ le server scan :
+dev = device_name.scan;
+res = tango_read_attribute(dev,'measureDate');
+%%res = tango_read_attribute('tests/scanserver/1','measureDate');
+String1 = datenum('1-January-1970');
+String2 = double(res.value)/(60*60*24) + String1;
+date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',date);
+setappdata(handles.figure1,'Date',date);
+
+% on ï¿œcrase les vecteurs donnï¿œes re - calculï¿œes  (lissï¿œes, ï¿œnergie)
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+
+% normaliser les charges !!
+ydata = ydatamc2./ydatamc1;
+% on remplace les valeurs infinies par 0
+ydata(isnan(ydata))=0;
+
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % calcul de l'ï¿œnergie du faisceau / dispersion ï¿œ la fente d'analyse
+    LT1init;
+    global THERING;
+    AO = getao;
+    
+    % sauvegarder le mode du simulateur optics_LT1
+    mode = getmode('BEND')
+    if isequal(mode,'Simulator')
+        switch2online
+    end    
+    
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [8.1 8.1];
+    twissdatain.alpha= [0 0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    ETA = cat(2,TD.Dispersion)';
+
+    index = atindex(THERING);
+    num = index.COLL;
+    dispersion = ETA(num,1);
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+Ec = 100    
+Idip = 170
+    % en attendant la reconnexion des ï¿œquipements, simulation !
+% %     xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+% %     z=-200:2:200;
+% %     ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+% %     % ydatab = donnï¿œes avec bruit superposï¿œ
+% %     coefficient = 0.0003;
+% %     ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+% %     toto = ydatab(51);
+% %     ydatab(51) = 0;
+    ydatab = ydata;
+
+    % graphe avec labels et valeurs ligne de transfert dï¿œduits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+  
+    ResultsStr = {['I dipï¿œle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dÃ©placement du mors en mm');
+    ylabel('charge normalisÃ©e');
+    title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+    % on dï¿œrive les donnï¿œes bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+    
+    
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    pasMeV = xdata2(2) - xdata2(1);
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    
+    
+end
+
+% cas de la fente fixe
+if isequal(log2,1)
+    
+    % calcul de l'ï¿œnergie du faisceau / dispersion ï¿œ la fente d'analyse
+    LT1init;
+    global THERING;
+    AO = getao;
+    
+    % sauvegarder le mode du simulateur optics_LT1
+    mode = getmode('BEND')
+    if isequal(mode,'Simulator')
+        switch2online
+    end    
+    
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [8.1 8.1];
+    twissdatain.alpha= [0 0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    ETA = cat(2,TD.Dispersion)';
+
+    index = atindex(THERING);
+    num = index.COLL;
+    dispersion = ETA(num,1);
+    
+%     % valeur de gap et du centre du gap
+%     structure = tango_read_attribute(device_name.fente,'gap');
+%     gap = structure.value(1);
+%     structure = tango_read_attribute(device_name.fente,'position');
+%     position = structure.value(1);
+    gap = 12 *0.001;
+    valgap=sprintf('%2.1f',gap*1000);
+    resolution = gap*100/dispersion;
+    valresolution = sprintf('%2.1f',abs(gap*100/dispersion));
+    position = -5.3 * 0.001;
+    valposition=sprintf('%2.1f',position*1000);
+    
+    % en attendant la reconnexion des ï¿œquipements, simulation !
+%     xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+% %     z=-100:100;
+%     %%1% variance = 0.25;
+%     variance = 0.001;
+%     imazz = 1;
+%     centrez = 30;
+%     ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+%     % ydatab = donnï¿œes avec bruit superposï¿œ
+%     %%1% coef = 0.0002;
+%     %coef = 0.001;
+%     coef = 0.005;
+%     %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+%     ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    ydatab = ydata;
+    maxydatab = max(ydatab);
+
+    % trouver le courant donnant la charge max
+    
+    
+    % graphe avec labels et valeurs ligne de transfert dï¿œduits des courants
+    % sur la machine
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+% %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % % %x = [-25:0.25:25];
+% % x = [30:1:230];
+% % variance = 625;
+% % imaxx = 0.1;
+% % centrex = 160;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex),ydatab,'r',...
+% %     x,g*max(ydatab)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+% % %____________________________________
+    
+    
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('courant du dipÃŽle en A');
+    ylabel('charge normalisÃ©e');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % ï¿œ l'axe thï¿œorique (valeur de l'attribut position)
+%             B0 = getappdata(handles.figure1,'B0');
+%             B1 = getappdata(handles.figure1,'B1');
+    [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+    B0 = A(9);
+    B1 = A(8);
+    angle = 15 * pi / 180;
+    E0 = 0.51099906 ;
+    xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+        ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    xdata2 = xdata2 * (1 + position/dispersion);
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+    plot(xdata2,ydatab,'r')   
+    xlim([xmin xmax]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre non lissï¿œ
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+    
+    sizey = size(ydatab,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:},...
+         [],['Largeur corrigÃ©e du spectre non lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.20
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.10
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+end
+
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydatab);
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+yfiltre=filter(b,a,ydatab);
+
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnÃ©es brutes','donnÃ©es lissÃ©es',2);
+legend('boxoff');
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(yfiltre1);
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+        [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.2
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val,' % de Epeack']}'  ;  
+        %['Largeur ï¿œ 80 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.1
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val,' % de Epeack']}';
+        %['Largeur ï¿œ 90 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+    
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [],['Largeur corrigÃ©e du spectre lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+         [' 68 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.2
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 80 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.1
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 90 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','Dfiltre','ResultsStr','log1','horodatage')
+
+    else 
+       save(FileName, 'xdata', 'ydata','xdata2','yfiltre',...
+           'ResultsStr','log1','horodatage')     
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+  
+
+    %if isequal(log1,1)
+        plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    xlabel('dï¿œplacement du mors en mm');
+    ylabel('charge normalisÃ©e');
+    title('intï¿œgrale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+    if isequal(log1,0)
+        set(handles.Fenfixe_radiobutton2,'Value',1);
+        plot(xdata2,ydata,'r',...
+             xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+         
+    else
+        set(handles.Dipfixe_radiobutton1,'Value',1);
+        plot(xdata2(1:sizex-1),ydata2,'r',...
+            xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+        
+    end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+%xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+    
+else
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+end
+
+energie = xdata2(Imax);
+set(handles.repositionner_edit3,'String',num2str(energie));
+
+%         B0 = getappdata(handles.figure1,'B0');
+%         B1 = getappdata(handles.figure1,'B1');
+[C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+B0 = A(9);
+B1 = A(8);
+
+E0 = 0.51099906;
+angle = 15 * pi / 180;
+%         Bro = 0.001 * (E0 / 0.29979) * sqrt((energie+E0)*(energie+E0)/(E0*E0) - 1)
+Bro = getbrho((energie + E0)*1e-3);
+
+Integrale = Bro * angle;
+courant = (Integrale - B0)/ B1;
+device_name = getappdata(handles.figure1,'device_name');
+tango_write_attribute(device_name.dipole,'current',courant);
+%tango_write_attribute('LT1/AEsim/D.1','current',courant);    
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v1_mixte.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v1_mixte.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v1_mixte.m	(revision 17)
@@ -0,0 +1,1353 @@
+function varargout = fae_v1(varargin)
+% FAE_V1 M-file for fae_v1.fig
+%      FAE_V1, by itself, creates a new FAE_V1 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V1 returns the handle to a new FAE_V1 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V1('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V1.M with the given input arguments.
+%
+%      FAE_V1('Property','Value',...) creates a new FAE_V1 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v1_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v1_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v1
+
+% Last Modified by GUIDE v2.5 11-Mar-2005 12:32:12
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v1_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v1_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v1 is made visible.
+function fae_v1_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v1 (see VARARGIN)
+
+% Choose default command line output for fae_v1
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan'
+device_name.fente = 'lt1/dg/fae-fente'
+device_name.scan1D = 'lt1/dg/fae-scan1D'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v1.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v1 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v1_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% en attente
+device_name = getappdata(handles.figure1,'device_name');
+% dev = device_name.scan;
+% vectx=tango_read_attribute(dev,'actuators_data');
+% xdata = vectx.value;
+% setappdata(handles.figure1,'xdata',xdata);
+
+%% vecty=tango_read_attribute(dev,'sensors_data');
+%% ydata = vecty.value;
+
+% dev = device_name.scan1D;
+% % lecture du premier mesureur de charge
+% vecty1 = tango_read_attribute(dev,'Sensor1Data');
+% ydatamc1 = vecty1.value;
+% % lecture du deuxieme  mesureur de charge
+% vecty2 = tango_read_attribute(dev,'Sensor2Data');
+% ydatamc2 = vecty2.value;
+% 
+% % setappdata(handles.figure1,'ydata',ydata);
+% setappdata(handles.figure1,'ydatamc1',ydatamc1);
+% setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :lorsque sera installï¿œ le server scan :
+dev = device_name.scan;
+res = tango_read_attribute(dev,'measureDate');
+%%res = tango_read_attribute('tests/scanserver/1','measureDate');
+String1 = datenum('1-January-1970');
+String2 = double(res.value)/(60*60*24) + String1;
+date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',date);
+setappdata(handles.figure1,'Date',date);
+
+% on ï¿œcrase les vecteurs donnï¿œes re - calculï¿œes  (lissï¿œes, ï¿œnergie)
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+
+% normaliser les charges !!
+% ydata = ydatamc2 / ydatamc1;
+
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % calcul de l'ï¿œnergie du faisceau / dispersion ï¿œ la fente d'analyse
+    LT1init;
+    global THERING;
+    AO = getao;
+    
+    % sauvegarder le mode du simulateur optics_LT1
+    mode = getmode('BEND')
+    if isequal(mode,'Simulator')
+        switch2online
+    end    
+    
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [8.1 8.1];
+    twissdatain.alpha= [0 0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    ETA = cat(2,TD.Dispersion)';
+
+    index = atindex(THERING);
+    num = index.COLL;
+    dispersion = ETA(num,1);
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+Ec = 100    
+Idip = 170
+    % en attendant la reconnexion des ï¿œquipements, simulation !
+    xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+    z=-200:2:200;
+    ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+    % ydatab = donnï¿œes avec bruit superposï¿œ
+    coefficient = 0.0003;
+    ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+    toto = ydatab(51);
+    ydatab(51) = 0;
+    %ydatab = ydata;
+
+    % graphe avec labels et valeurs ligne de transfert dï¿œduits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+  
+    ResultsStr = {['I dipï¿œle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dï¿œplacement du mors en mm');
+    ylabel('charge normalisï¿œe');
+    title('intï¿œgrale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight
+    
+    legend('donnï¿œes brutes',2);
+    legend('boxoff');
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+    % on dï¿œrive les donnï¿œes bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+    
+    
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisï¿œe');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while Ipartielle/Itot < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    pasMeV = xdata2(2) - xdata2(1);
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    
+    
+end
+
+% cas de la fente fixe
+if isequal(log2,1)
+    
+    % calcul de l'ï¿œnergie du faisceau / dispersion ï¿œ la fente d'analyse
+    LT1init;
+    global THERING;
+    AO = getao;
+    
+    % sauvegarder le mode du simulateur optics_LT1
+    mode = getmode('BEND')
+    if isequal(mode,'Simulator')
+        switch2online
+    end    
+    
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [8.1 8.1];
+    twissdatain.alpha= [0 0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    ETA = cat(2,TD.Dispersion)';
+
+    index = atindex(THERING);
+    num = index.COLL;
+    dispersion = ETA(num,1);
+    
+%     % valeur de gap et du centre du gap
+%     structure = tango_read_attribute(device_name.fente,'gap');
+%     gap = structure.value(1);
+%     structure = tango_read_attribute(device_name.fente,'position');
+%     position = structure.value(1);
+    gap = 12 *0.001;
+    valgap=sprintf('%2.1f',gap*1000);
+    resolution = gap*100/dispersion;
+    valresolution = sprintf('%2.1f',abs(gap*100/dispersion));
+    position = -5.3 * 0.001;
+    valposition=sprintf('%2.1f',position*1000);
+    
+    % en attendant la reconnexion des ï¿œquipements, simulation !
+    xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+    z=-100:100;
+    %%1% variance = 0.25;
+    variance = 0.001;
+    imazz = 1;
+    centrez = 30;
+    ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+    % ydatab = donnï¿œes avec bruit superposï¿œ
+    %%1% coef = 0.0002;
+    %coef = 0.001;
+    coef = 0.005;
+    %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+    ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    %ydatab = ydata;
+    maxydatab = max(ydatab);
+
+    % trouver le courant donnant la charge max
+    
+    
+    % graphe avec labels et valeurs ligne de transfert dï¿œduits des courants
+    % sur la machine
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+% %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % % %x = [-25:0.25:25];
+% % x = [30:1:230];
+% % variance = 625;
+% % imaxx = 0.1;
+% % centrex = 160;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex),ydatab,'r',...
+% %     x,g*max(ydatab)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+% % %____________________________________
+    
+    
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('courant du dipï¿œle en A');
+    ylabel('charge normalisï¿œe');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['Rï¿œsolution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % ï¿œ l'axe thï¿œorique (valeur de l'attribut position)
+%             B0 = getappdata(handles.figure1,'B0');
+%             B1 = getappdata(handles.figure1,'B1');
+    [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+    B0 = A(9);
+    B1 = A(8);
+    angle = 15 * pi / 180;
+    E0 = 0.51099906 ;
+    xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+        ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    xdata2 = xdata2 * (1 + position/dispersion);
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+    plot(xdata2,ydatab,'r')   
+    xlim([xmin xmax]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisï¿œe');
+    title('spectre corrigï¿œ','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre non lissï¿œ
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+    
+    sizey = size(ydatab,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.3173
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:},...
+         [],['Largeur corrigï¿œe du spectre non lissï¿œ : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.20
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.10
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+end
+
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydatab);
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+yfiltre=filter(b,a,ydatab);
+
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnï¿œes brutes','donnï¿œes lissï¿œes',2);
+legend('boxoff');
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(yfiltre1);
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while Ipartielle/Itot < 0.3173
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+        [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while Ipartielle/Itot < 0.2
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val,' % de Epeack']}'  ;  
+        %['Largeur ï¿œ 80 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while Ipartielle/Itot < 0.1
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val,' % de Epeack']}';
+        %['Largeur ï¿œ 90 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+    
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.3173
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [],['Largeur corrigï¿œe du spectre lissï¿œ : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+         [' 68 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.2
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 80 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.1
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 90 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','Dfiltre','ResultsStr','log1','horodatage')
+
+    else 
+       save(FileName, 'xdata', 'ydata','xdata2','yfiltre',...
+           'ResultsStr','log1','horodatage')     
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+  
+
+    %if isequal(log1,1)
+        plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    xlabel('dï¿œplacement du mors en mm');
+    ylabel('charge normalisï¿œe');
+    title('intï¿œgrale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight
+    
+    legend('donnï¿œes brutes',2);
+    legend('boxoff');
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+    if isequal(log1,0)
+        set(handles.Fenfixe_radiobutton2,'Value',1);
+        plot(xdata2,ydata,'r',...
+             xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+         
+    else
+        set(handles.Dipfixe_radiobutton1,'Value',1);
+        plot(xdata2(1:sizex-1),ydata2,'r',...
+            xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+        
+    end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisï¿œe');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+%xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrï¿œ de donnï¿œes !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+    
+else
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrï¿œ de donnï¿œes !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+end
+
+energie = xdata2(Imax);
+set(handles.repositionner_edit3,'String',num2str(energie));
+
+%         B0 = getappdata(handles.figure1,'B0');
+%         B1 = getappdata(handles.figure1,'B1');
+[C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+B0 = A(9);
+B1 = A(8);
+
+E0 = 0.51099906;
+angle = 15 * pi / 180;
+%         Bro = 0.001 * (E0 / 0.29979) * sqrt((energie+E0)*(energie+E0)/(E0*E0) - 1)
+Bro = getbrho((energie + E0)*1e-3);
+
+Integrale = Bro * angle;
+courant = (Integrale - B0)/ B1;
+device_name = getappdata(handles.figure1,'device_name');
+tango_write_attribute(device_name.dipole,'current',courant);
+%tango_write_attribute('LT1/AEsim/D.1','current',courant);    
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v1_simulation.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v1_simulation.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v1_simulation.m	(revision 17)
@@ -0,0 +1,1353 @@
+function varargout = fae_v1(varargin)
+% FAE_V1 M-file for fae_v1.fig
+%      FAE_V1, by itself, creates a new FAE_V1 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V1 returns the handle to a new FAE_V1 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V1('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V1.M with the given input arguments.
+%
+%      FAE_V1('Property','Value',...) creates a new FAE_V1 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v1_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v1_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v1
+
+% Last Modified by GUIDE v2.5 11-Mar-2005 12:32:12
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v1_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v1_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v1 is made visible.
+function fae_v1_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v1 (see VARARGIN)
+
+% Choose default command line output for fae_v1
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan'
+device_name.fente = 'lt1/dg/fae-fente'
+device_name.scan1D = 'lt1/dg/fae-scan1D'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v1.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v1 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v1_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% en attente
+device_name = getappdata(handles.figure1,'device_name');
+% dev = device_name.scan;
+% vectx=tango_read_attribute(dev,'actuators_data');
+% xdata = vectx.value;
+% setappdata(handles.figure1,'xdata',xdata);
+
+%% vecty=tango_read_attribute(dev,'sensors_data');
+%% ydata = vecty.value;
+
+% dev = device_name.scan1D;
+% % lecture du premier mesureur de charge
+% vecty1 = tango_read_attribute(dev,'Sensor1Data');
+% ydatamc1 = vecty1.value;
+% % lecture du deuxieme  mesureur de charge
+% vecty2 = tango_read_attribute(dev,'Sensor2Data');
+% ydatamc2 = vecty2.value;
+% 
+% % setappdata(handles.figure1,'ydata',ydata);
+% setappdata(handles.figure1,'ydatamc1',ydatamc1);
+% setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :lorsque sera installï¿œ le server scan :
+dev = device_name.scan;
+res = tango_read_attribute(dev,'measureDate');
+%%res = tango_read_attribute('tests/scanserver/1','measureDate');
+String1 = datenum('1-January-1970');
+String2 = double(res.value)/(60*60*24) + String1;
+date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',date);
+setappdata(handles.figure1,'Date',date);
+
+% on ï¿œcrase les vecteurs donnï¿œes re - calculï¿œes  (lissï¿œes, ï¿œnergie)
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+
+% normaliser les charges !!
+% ydata = ydatamc2 / ydatamc1;
+
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % calcul de l'ï¿œnergie du faisceau / dispersion ï¿œ la fente d'analyse
+    LT1init;
+    global THERING;
+    AO = getao;
+    
+    % sauvegarder le mode du simulateur optics_LT1
+    mode = getmode('BEND')
+    if isequal(mode,'Simulator')
+        switch2online
+    end    
+    
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [8.1 8.1];
+    twissdatain.alpha= [0 0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    ETA = cat(2,TD.Dispersion)';
+
+    index = atindex(THERING);
+    num = index.COLL;
+    dispersion = ETA(num,1);
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+Ec = 100    
+Idip = 170
+    % en attendant la reconnexion des ï¿œquipements, simulation !
+    xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+    z=-200:2:200;
+    ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+    % ydatab = donnï¿œes avec bruit superposï¿œ
+    coefficient = 0.0003;
+    ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+    toto = ydatab(51);
+    ydatab(51) = 0;
+    %ydatab = ydata;
+
+    % graphe avec labels et valeurs ligne de transfert dï¿œduits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+  
+    ResultsStr = {['I dipï¿œle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dï¿œplacement du mors en mm');
+    ylabel('charge normalisï¿œe');
+    title('intï¿œgrale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight
+    
+    legend('donnï¿œes brutes',2);
+    legend('boxoff');
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+    % on dï¿œrive les donnï¿œes bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+    
+    
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisï¿œe');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while Ipartielle/Itot < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    pasMeV = xdata2(2) - xdata2(1);
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    
+    
+end
+
+% cas de la fente fixe
+if isequal(log2,1)
+    
+    % calcul de l'ï¿œnergie du faisceau / dispersion ï¿œ la fente d'analyse
+    LT1init;
+    global THERING;
+    AO = getao;
+    
+    % sauvegarder le mode du simulateur optics_LT1
+    mode = getmode('BEND')
+    if isequal(mode,'Simulator')
+        switch2online
+    end    
+    
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [8.1 8.1];
+    twissdatain.alpha= [0 0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    ETA = cat(2,TD.Dispersion)';
+
+    index = atindex(THERING);
+    num = index.COLL;
+    dispersion = ETA(num,1);
+    
+%     % valeur de gap et du centre du gap
+%     structure = tango_read_attribute(device_name.fente,'gap');
+%     gap = structure.value(1);
+%     structure = tango_read_attribute(device_name.fente,'position');
+%     position = structure.value(1);
+    gap = 12 *0.001;
+    valgap=sprintf('%2.1f',gap*1000);
+    resolution = gap*100/dispersion;
+    valresolution = sprintf('%2.1f',abs(gap*100/dispersion));
+    position = -5.3 * 0.001;
+    valposition=sprintf('%2.1f',position*1000);
+    
+    % en attendant la reconnexion des ï¿œquipements, simulation !
+    xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+    z=-100:100;
+    %%1% variance = 0.25;
+    variance = 0.001;
+    imazz = 1;
+    centrez = 30;
+    ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+    % ydatab = donnï¿œes avec bruit superposï¿œ
+    %%1% coef = 0.0002;
+    %coef = 0.001;
+    coef = 0.005;
+    %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+    ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    %ydatab = ydata;
+    maxydatab = max(ydatab);
+
+    % trouver le courant donnant la charge max
+    
+    
+    % graphe avec labels et valeurs ligne de transfert dï¿œduits des courants
+    % sur la machine
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+% %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % % %x = [-25:0.25:25];
+% % x = [30:1:230];
+% % variance = 625;
+% % imaxx = 0.1;
+% % centrex = 160;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex),ydatab,'r',...
+% %     x,g*max(ydatab)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+% % %____________________________________
+    
+    
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('courant du dipï¿œle en A');
+    ylabel('charge normalisï¿œe');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['Rï¿œsolution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % ï¿œ l'axe thï¿œorique (valeur de l'attribut position)
+%             B0 = getappdata(handles.figure1,'B0');
+%             B1 = getappdata(handles.figure1,'B1');
+    [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+    B0 = A(9);
+    B1 = A(8);
+    angle = 15 * pi / 180;
+    E0 = 0.51099906 ;
+    xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+        ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    xdata2 = xdata2 * (1 + position/dispersion);
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+    plot(xdata2,ydatab,'r')   
+    xlim([xmin xmax]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisï¿œe');
+    title('spectre corrigï¿œ','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre non lissï¿œ
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+    
+    sizey = size(ydatab,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.3173
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:},...
+         [],['Largeur corrigï¿œe du spectre non lissï¿œ : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.20
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.10
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val2,' % de Epeack']}';
+     
+%      ResultsStr = {ResultsStr{:}, ['Largeur non corr ï¿œ 68 % =  ',val1,' %'],...
+%         ['Largeur corr ï¿œ 68 % =  ',val2,' %'] }'
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+end
+
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydatab);
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+yfiltre=filter(b,a,ydatab);
+
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnï¿œes brutes','donnï¿œes lissï¿œes',2);
+legend('boxoff');
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(yfiltre1);
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while Ipartielle/Itot < 0.3173
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+        [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while Ipartielle/Itot < 0.2
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val,' % de Epeack']}'  ;  
+        %['Largeur ï¿œ 80 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while Ipartielle/Itot < 0.1
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val,' % de Epeack']}';
+        %['Largeur ï¿œ 90 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+    
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.3173
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [],['Largeur corrigï¿œe du spectre lissï¿œ : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+         [' 68 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.2
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 80 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while Ipartielle/Itot < 0.1
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    pasMeVf = xdata2(2) - xdata2(1);
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 90 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','Dfiltre','ResultsStr','log1','horodatage')
+
+    else 
+       save(FileName, 'xdata', 'ydata','xdata2','yfiltre',...
+           'ResultsStr','log1','horodatage')     
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+  
+
+    %if isequal(log1,1)
+        plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    xlabel('dï¿œplacement du mors en mm');
+    ylabel('charge normalisï¿œe');
+    title('intï¿œgrale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight
+    
+    legend('donnï¿œes brutes',2);
+    legend('boxoff');
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+    if isequal(log1,0)
+        set(handles.Fenfixe_radiobutton2,'Value',1);
+        plot(xdata2,ydata,'r',...
+             xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+         
+    else
+        set(handles.Dipfixe_radiobutton1,'Value',1);
+        plot(xdata2(1:sizex-1),ydata2,'r',...
+            xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+        
+    end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisï¿œe');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+%xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrï¿œ de donnï¿œes !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+    
+else
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrï¿œ de donnï¿œes !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+end
+
+energie = xdata2(Imax);
+set(handles.repositionner_edit3,'String',num2str(energie));
+
+%         B0 = getappdata(handles.figure1,'B0');
+%         B1 = getappdata(handles.figure1,'B1');
+[C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+B0 = A(9);
+B1 = A(8);
+
+E0 = 0.51099906;
+angle = 15 * pi / 180;
+%         Bro = 0.001 * (E0 / 0.29979) * sqrt((energie+E0)*(energie+E0)/(E0*E0) - 1)
+Bro = getbrho((energie + E0)*1e-3);
+
+Integrale = Bro * angle;
+courant = (Integrale - B0)/ B1;
+device_name = getappdata(handles.figure1,'device_name');
+tango_write_attribute(device_name.dipole,'current',courant);
+%tango_write_attribute('LT1/AEsim/D.1','current',courant);    
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v2.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v2.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v2.m	(revision 17)
@@ -0,0 +1,1523 @@
+function varargout = fae_v2(varargin)
+% FAE_V2 M-file for fae_v2.fig
+%      FAE_V2, by itself, creates a new FAE_V2 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V2 returns the handle to a new FAE_V2 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V2.M with the given input arguments.
+%
+%      FAE_V2('Property','Value',...) creates a new FAE_V2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v2_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v2
+
+% Last Modified by GUIDE v2.5 13-Jul-2005 15:06:58
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v2_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v2 is made visible.
+function fae_v2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v2 (see VARARGIN)
+
+% Choose default command line output for fae_v2
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan'
+device_name.fente = 'lt1/dg/fae-fente'
+device_name.scan1D = 'lt1/dg/fae-scan1D'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v2.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v2_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% en attente
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.scan;
+vectx=tango_read_attribute(dev,'actuators_data');
+fonction_error;
+xdata = vectx.value;
+setappdata(handles.figure1,'xdata',xdata);
+
+%% vecty=tango_read_attribute(dev,'sensors_data');
+%% ydata = vecty.value;
+
+dev = device_name.scan1D;
+% lecture des deux mesureurs de charge ensemble
+%- build attribute list
+mc_name_list = {'Sensor1Data', 'Sensor2Data'};
+%- read attributes
+mc_val_list = tango_read_attributes(dev, mc_name_list);
+%- always check error
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+%- store 'Sensor1Data' value in local variable
+ydatamc1 = mc_val_list(1).value;
+%- store 'Sensor2Data' value in local variable
+ydatamc2 = mc_val_list(2).value;
+
+% affichage des Ã©tats du mesureur 1
+% attention le calibre n'est pour l'instant pas associÃ© Ã  une date... il a
+% pu changer lorsqu'on active le traitement par MATLAB !!!!
+% -> trouver une solution
+set(handles.mc1_charge_edit5,'String',num2str(ydatamc1(1)));
+
+device = 'LT1/DG/MC';
+ict1Gain_val = tango_read_attribute(device,'ict1Gain');
+ict1Gain = ict1Gain_val.value(1);
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+set(handles.mc1_calibre_edit6,'String',num2str(ict1Gain));
+
+% 
+% % setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydatamc1',ydatamc1);
+setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :lorsque sera installï¿œ le server scan :
+dev = device_name.scan;
+res = tango_read_attribute(dev,'measureDate');
+%%res = tango_read_attribute('tests/scanserver/1','measureDate');
+String1 = datenum('1-January-1970');
+String2 = double(res.value)/(60*60*24) + String1;
+date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',date);
+setappdata(handles.figure1,'Date',date);
+
+% on ï¿œcrase les vecteurs donnï¿œes re - calculï¿œes  (lissï¿œes, ï¿œnergie)
+% et le nom de fichier
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+set(handles.nom_fichier_edit7,'String',[]);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+
+% normaliser les charges !!
+ydata = ydatamc2./ydatamc1;
+% on remplace les valeurs infinies par 0
+ydata(isnan(ydata))=0;
+
+% calcul de l'Ã©nergie du faisceau / dispersion Ã  la fente d'analyse
+LT1init;
+global THERING;
+AO = getao;
+
+% sauvegarder le mode du simulateur optics_LT1
+mode = getmode('BEND')
+if isequal(mode,'Simulator')
+    switch2online
+end    
+
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [8.1 8.1];
+twissdatain.alpha= [0 0];
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+ETA = cat(2,TD.Dispersion)';
+
+index = atindex(THERING);
+num = index.COLL;
+dispersion = ETA(num,1);
+
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+Ec = 100    
+Idip = 170
+    % en attendant la reconnexion des ï¿œquipements, simulation !
+% %     xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+% %     z=-200:2:200;
+% %     ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+% %     % ydatab = donnï¿œes avec bruit superposï¿œ
+% %     coefficient = 0.0003;
+% %     ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+% %     toto = ydatab(51);
+% %     ydatab(51) = 0;
+    ydatab = ydata;
+
+    % graphe avec labels et valeurs ligne de transfert dï¿œduits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+  
+    ResultsStr = {['I dipï¿œle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dÃ©placement du mors en mm');
+    ylabel('charge normalisÃ©e');
+    title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+    % on dï¿œrive les donnï¿œes bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+    
+    
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    %pasMeV = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    % graphe dumesureur de charge n01
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge n01');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+% cas de la fente fixe
+if isequal(log2,1)
+    
+    % calcul de l'ï¿œnergie du faisceau / dispersion ï¿œ la fente d'analyse
+    LT1init;
+    global THERING;
+    AO = getao;
+    
+    % sauvegarder le mode du simulateur optics_LT1
+    mode = getmode('BEND')
+    if isequal(mode,'Simulator')
+        switch2online
+    end    
+    
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [8.1 8.1];
+    twissdatain.alpha= [0 0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    ETA = cat(2,TD.Dispersion)';
+
+    index = atindex(THERING);
+    num = index.COLL;
+    dispersion = ETA(num,1);
+    
+%     % valeur de gap et du centre du gap
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    structure = tango_read_attribute(device_name.fente,'Position');
+    position = structure.value(1);
+    %gap = 12 *0.001;
+    valgap=sprintf('%2.1f',gap);
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.1f',abs(resolution));
+    %position = -5.3 * 0.001;
+    valposition=sprintf('%2.1f',position);
+    
+    % en attendant la reconnexion des ï¿œquipements, simulation !
+%     xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+% %     z=-100:100;
+%     %%1% variance = 0.25;
+%     variance = 0.001;
+%     imazz = 1;
+%     centrez = 30;
+%     ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+%     % ydatab = donnï¿œes avec bruit superposï¿œ
+%     %%1% coef = 0.0002;
+%     %coef = 0.001;
+%     coef = 0.005;
+%     %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+%     ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    ydatab = ydata;
+    maxydatab = max(ydatab);
+
+    % trouver le courant donnant la charge max
+    
+    
+    % graphe avec labels et valeurs ligne de transfert dï¿œduits des courants
+    % sur la machine
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+% %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % % %x = [-25:0.25:25];
+% % x = [30:1:230];
+% % variance = 625;
+% % imaxx = 0.1;
+% % centrex = 160;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex),ydatab,'r',...
+% %     x,g*max(ydatab)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+% % %____________________________________
+    
+    
+plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('courant du dipÃŽle en A');
+    ylabel('charge normalisÃ©e');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % ï¿œ l'axe thï¿œorique (valeur de l'attribut position)
+%             B0 = getappdata(handles.figure1,'B0');
+%             B1 = getappdata(handles.figure1,'B1');
+    [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+    B0 = A(9);
+    B1 = A(8);
+    angle = 15 * pi / 180;
+    E0 = 0.51099906 ;
+    xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+        ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    xdata2 = xdata2 * (1 + position/dispersion);
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+    plot(xdata2,ydatab,'r')   
+    xlim([xmin xmax]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre non lissï¿œ
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+    
+    sizey = size(ydatab,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:},...
+         [],['Largeur corrigÃ©e du spectre non lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val2,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.20
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val2,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.10
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val2,' % de Epeack']}';
+     set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+
+    % graphe dumesureur de charge n01
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge n01');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydatab);
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+yfiltre=filter(b,a,ydatab);
+
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnÃ©es brutes','donnÃ©es lissÃ©es',2);
+legend('boxoff');
+grid on;
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(yfiltre1);
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+        [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.2
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val,' % de Epeack']}'  ;  
+        %['Largeur ï¿œ 80 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.1
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val,' % de Epeack']}';
+        %['Largeur ï¿œ 90 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+    
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [],['Largeur corrigÃ©e du spectre lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+         [' 68 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.2
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 80 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.1
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 90 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+Nom_fichier = FileName;
+set(handles.nom_fichier_edit7,'String',Nom_fichier);
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+ydatamc1 = getappdata(handles.figure1,'ydatamc1');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+mc1_charge =   get(handles.mc1_charge_edit5,'String');
+mc1_calibre = get(handles.mc1_calibre_edit6,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','ydatamc1','Dfiltre','ResultsStr','log1','horodatage',...
+            'mc1_charge','mc1_calibre')
+
+    else 
+       save(FileName, 'xdata', 'ydata','xdata2','yfiltre','ydatamc1',...
+           'ResultsStr','log1','horodatage','mc1_charge','mc1_calibre')     
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    set(handles.mc1_charge_edit5,'String',mc1_charge);
+    set(handles.mc1_calibre_edit6,'String',mc1_calibre);
+    %set(handles.nom_fichier_edit7,'String',Nom_fichier);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+
+    %if isequal(log1,1)
+        plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    
+    if isequal(log1,1)
+        xlabel('dÃ©placement du mors en mm');
+        ylabel('charge normalisÃ©e');
+        title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+        
+    else
+        xlabel('courant du dipÃŽle en A');
+        ylabel('charge normalisÃ©e');
+        title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    end
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+    if isequal(log1,0)
+        set(handles.Fenfixe_radiobutton2,'Value',1);
+        plot(xdata2,ydata,'r',...
+             xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+        
+    else
+        set(handles.Dipfixe_radiobutton1,'Value',1);
+        plot(xdata2(1:sizex-1),ydata2,'r',...
+            xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+        
+    end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+  
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge n01');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+%xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+    
+else
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+end
+
+energie = xdata2(Imax);
+set(handles.repositionner_edit3,'String',num2str(energie));
+
+%         B0 = getappdata(handles.figure1,'B0');
+%         B1 = getappdata(handles.figure1,'B1');
+[C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+B0 = A(9);
+B1 = A(8);
+
+E0 = 0.51099906;
+angle = 15 * pi / 180;
+%         Bro = 0.001 * (E0 / 0.29979) * sqrt((energie+E0)*(energie+E0)/(E0*E0) - 1)
+Bro = getbrho((energie + E0)*1e-3);
+
+Integrale = Bro * angle;
+courant = (Integrale - B0)/ B1;
+device_name = getappdata(handles.figure1,'device_name');
+tango_write_attribute(device_name.dipole,'current',courant);
+%tango_write_attribute('LT1/AEsim/D.1','current',courant);    
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
+
+function mc1_charge_edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_charge_edit5 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_charge_edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_charge_edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc1_calibre_edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_calibre_edit6 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_calibre_edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_calibre_edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nom_fichier_edit7_Callback(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nom_fichier_edit7 as text
+%        str2double(get(hObject,'String')) returns contents of nom_fichier_edit7 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nom_fichier_edit7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v3.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v3.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v3.m	(revision 17)
@@ -0,0 +1,1572 @@
+function varargout = fae_v3(varargin)
+% FAE_V3 M-file for fae_v3.fig
+%      FAE_V3, by itself, creates a new FAE_V3 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V3 returns the handle to a new FAE_V3 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V3('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V3.M with the given input arguments.
+%
+%      FAE_V3('Property','Value',...) creates a new FAE_V3 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v3_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v3_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v3
+
+% Last Modified by GUIDE v2.5 20-Jul-2005 15:06:35
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v3_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v3_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v3 is made visible.
+function fae_v3_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v3 (see VARARGIN)
+
+% Choose default command line output for fae_v3
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan'
+device_name.fente = 'lt1/dg/fae-fente'
+device_name.scan1D = 'lt1/dg/fae-scan1D'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v3.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v3 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v3_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% ACQUISITION
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.scan;
+vectx=tango_read_attribute(dev,'actuators_data');
+fonction_error;
+xdata = vectx.value;
+setappdata(handles.figure1,'xdata',xdata);
+
+% vecty=tango_read_attribute(dev,'sensors_data');
+% ydata = vecty.value;
+
+dev = device_name.scan1D;
+% lecture des deux mesureurs de charge ensemble
+%- build attribute list
+mc_name_list = {'Sensor1Data', 'Sensor2Data'};
+%- read attributes
+mc_val_list = tango_read_attributes(dev, mc_name_list);
+%- always check error
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+%- store 'Sensor1Data' value in local variable
+ydatamc1 = mc_val_list(1).value;
+%- store 'Sensor2Data' value in local variable
+ydatamc2 = mc_val_list(2).value;
+
+% affichage de la charge et calibre du mesureur 1
+% attention le calibre n'est pour l'instant pas associÃ© Ã  une date... il a
+% pu changer lorsqu'on active le traitement par MATLAB !!!!
+% -> trouver une solution
+set(handles.mc1_charge_edit5,'String',num2str(ydatamc1(1)));
+
+device = 'LT1/DG/MC';
+ict1Gain_val = tango_read_attribute(device,'ict1Gain');
+ict1Gain = ict1Gain_val.value(1);
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+set(handles.mc1_calibre_edit6,'String',num2str(ict1Gain));
+
+
+% % setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydatamc1',ydatamc1);
+setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :
+dev = device_name.scan;
+res = tango_read_attribute(dev,'measureDate');
+%%res = tango_read_attribute('tests/scanserver/1','measureDate');
+String1 = datenum('1-January-1970');
+% equation correcte :
+%String2 = double(res.value)/(60*60*24) + String1;
+% equation en attendant la remise Ã  l'heure locale du CPU
+String2 = double(res.value + 2*60*60)/(60*60*24) + String1;
+date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',date);
+setappdata(handles.figure1,'Date',date);
+
+%% AFFICHAGE ET TRAITEMENT
+% on Ã©crase les vecteurs donnÃ©es re - calculÃ©es  (lissÃ©es, Ã©nergie)
+% et le nom de fichier
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+set(handles.nom_fichier_edit7,'String',[]);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+% normaliser les charges !!
+ydata = ydatamc2./ydatamc1;
+% on remplace les valeurs infinies par 0
+ydata(isnan(ydata))=0;
+
+% calcul de l'Ã©nergie du faisceau / dispersion Ã  la fente d'analyse
+LT1init;
+global THERING;
+AO = getao;
+
+% sauvegarder le mode du simulateur optics_LT1
+mode = getmode('BEND')
+if isequal(mode,'Simulator')
+    switch2online
+end    
+
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [8.1 8.1];
+twissdatain.alpha= [0 0];
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+ETA = cat(2,TD.Dispersion)';
+
+index = atindex(THERING);
+num = index.COLL;
+dispersion = ETA(num,1);
+    
+
+%% cas du dipÃŽle fixe (1 mors actuator)
+if isequal(log1,1)
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+%%Ec = 100    
+%%Idip = 170
+% en attendant la reconnexion des Ã©quipements, simulation !
+% %     xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+% %     z=-200:2:200;
+% %     ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+% %     % ydatab = donnï¿œes avec bruit superposï¿œ
+% %     coefficient = 0.0003;
+% %     ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+% %     toto = ydatab(51);
+% %     ydatab(51) = 0;
+    ydatab = ydata;
+    % on dÃ©rive les donnÃ©es bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+     
+    ResultsStr = {['I dipÃŽle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    % graphe avec labels et valeurs ligne de transfert dÃ©duits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dÃ©placement du mors en mm');
+    ylabel('charge normalisÃ©e');
+    title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight  
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+  
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    %pasMeV = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    % graphe du mesureur de charge n01
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge n01');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+%% cas de la fente fixe (dipÃŽle actuator)
+if isequal(log2,1)
+    
+    % valeur de gap et du centre du gap
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    structure = tango_read_attribute(device_name.fente,'Position');
+    position = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.1f',abs(resolution));
+    valposition=sprintf('%2.1f',position);
+    
+    %     xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+    % %     z=-100:100;
+    %     %%1% variance = 0.25;
+    %     variance = 0.001;
+    %     imazz = 1;
+    %     centrez = 30;
+    %     ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+    %     % ydatab = donnï¿œes avec bruit superposï¿œ
+    %     %%1% coef = 0.0002;
+    %     %coef = 0.001;
+    %     coef = 0.005;
+    %     %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+    %     ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    ydatab = ydata;
+    maxydatab = max(ydatab);
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     angle = 15 * pi / 180;
+%     E0 = 0.51099906 ;
+%     xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+%         ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    
+    for i = 1:size(xdata,2)
+            xdata2(i) = 1000 * hw2physics('BEND','Setpoint',xdata(i),[1 1]);
+    end
+    xdata2 = xdata2 * (1 - position*0.001/dispersion);
+    xmin2 = min(xdata2);
+    xmax2 = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+      
+%% PLOT   
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+    % %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+    % % % %x = [-25:0.25:25];
+    % % x = [30:1:230];
+    % % variance = 625;
+    % % imaxx = 0.1;
+    % % centrex = 160;
+    % % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+    % %     
+    % % plot(xdata(1:sizex),ydatab,'r',...
+    % %     x,g*max(ydatab)/max(g),'b') 
+    % % xlim([min(xdata) max(xdata)]);
+    %____________________________________
+    plot(xdata,ydatab,'r');
+    xlim([xmin xmax]);
+    xlabel('courant du dipÃŽle en A');
+    ylabel('charge normalisÃ©e');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla   
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % Ã  l'axe thÃ©orique (valeur de l'attribut position)
+
+    plot(xdata2,ydatab,'r');
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge n01');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+   
+%% calcul de largeur du spectre non lissÃ©
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+    
+    sizey = size(ydatab,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:},...
+         [],['Largeur corrigÃ©e du spectre non lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val2,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.20
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val2,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.10
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val2,' % de Epeack']}';
+     set(handles.listbox1,'String',ResultsStr);
+   
+
+end
+
+%% cas de la position du gap actuator
+if isequal(log3,1)
+    
+    % valeur de l'aimant et de la largeur du gap
+    % la valeur de l'aimant reprÃ©sente l'Ã©nergie sur l'axe
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    
+    dev = device_name.dipole;
+    structure = tango_read_attribute(dev,'current');
+    courant = structure.value(1);
+    energie = 1000*hw2physics('BEND','Setpoint',courant,[1 1])
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.1f',abs(resolution));
+    
+    %__________________________________________________________________
+    xdata2 = energie * (1 - xdata.*0.001/dispersion);
+    xmin = min(xdata);xmax = max(xdata);sizex = size(xdata,2);
+    xmin2 = min(xdata2);xmax2 = max(xdata2);sizex2 = size(xdata2,2);
+    sizey = size(ydata,2);
+    
+    %__________________________________________________________________
+    %ydatab = ydata;
+    ydata2 = -ydata./(gap*0.001*xdata2/dispersion);
+    maxydata2 = max(ydata2);
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+%% PLOT
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydata,'r')    
+    xlim([xmin xmax]);
+    xlabel('deplacement du gap en mm');
+    ylabel('charge normalisÃ©e');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    plot(xdata2,ydata2,'r')   
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge n01');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+    
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydata2',ydata2);
+
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+yfiltre=filter(b,a,ydatab);
+
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnÃ©es brutes','donnÃ©es lissÃ©es',2);
+legend('boxoff');
+grid on;
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(yfiltre1);
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+        [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.2
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val,' % de Epeack']}'  ;  
+        %['Largeur ï¿œ 80 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.1
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val,' % de Epeack']}';
+        %['Largeur ï¿œ 90 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+    
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [],['Largeur corrigÃ©e du spectre lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+         [' 68 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.2
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 80 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.1
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 90 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value')
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.nom_fichier_edit7,'String',FileName);
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+ydatamc1 = getappdata(handles.figure1,'ydatamc1');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+mc1_charge =   get(handles.mc1_charge_edit5,'String');
+mc1_calibre = get(handles.mc1_calibre_edit6,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','ydatamc1','Dfiltre','ResultsStr','log1','log2','log3',...
+            'horodatage',...
+            'mc1_charge','mc1_calibre')
+
+    elseif  isequal(log2,1)
+       save(FileName, 'xdata', 'ydata','xdata2','yfiltre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre')   
+       
+    else
+        ydata2 = getappdata(handles.figure1,'ydata2'); 
+        save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre') 
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    set(handles.mc1_charge_edit5,'String',mc1_charge);
+    set(handles.mc1_calibre_edit6,'String',mc1_calibre);
+    setappdata(handles.figure1,'ydata',ydata);
+    setappdata(handles.figure1,'xdata2',xdata2);
+    setappdata(handles.figure1,'xdata',xdata);
+    setappdata(handles.figure1,'ydata2',ydata2);
+    set(handles.nom_fichier_edit7,'String',FileName);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+
+    %if isequal(log1,1)
+    plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    
+% %     if isequal(log1,1)
+% %         xlabel('dÃ©placement du mors en mm');
+% %         ylabel('charge normalisÃ©e');
+% %         title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+% %         
+%     elseif isequal(log2,1)
+%         xlabel('courant du dipÃŽle en A');
+%         ylabel('charge normalisÃ©e');
+%         title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+%     else
+        xlabel('dÃ©placement du gap en mm');
+        ylabel('charge normalisÃ©e');
+        title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+ %%   end
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+% %     if isequal(log2,1)
+% %         set(handles.Fenfixe_radiobutton2,'Value',1);
+% %         setappdata(handles.figure1,'yfiltre',yfiltre);
+% %         plot(xdata2,ydata,'r',...
+% %              xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+% %         
+% %     elseif isequal(log1,1)
+% %         set(handles.Dipfixe_radiobutton1,'Value',1);
+% %         setappdata(handles.figure1,'Dfiltre',Dfiltre);
+% %         setappdata(handles.figure1,'ydata2',ydata2);
+% %         plot(xdata2(1:sizex-1),ydata2,'r',...
+% %             xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+% %     else
+        
+        set(handles.Gap_radiobutton3,'Value',1);
+        %setappdata(handles.figure1,'yfiltre',yfiltre);
+        plot(xdata2,ydata2,'r',...
+             xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+ %%  end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+  
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge n01');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+device_name = getappdata(handles.figure1,'device_name');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+
+% balayage du dipole on souhaite replacer le dipole sur la valeur donnant
+% le pic de charge
+elseif isequal(log2,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+    energie = xdata2(Imax);
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    %courant = physics2hw('BEND','Setpoint',energie/1000,[1 1]);
+    courant = xdata(Imax);
+    offset = 0.220;
+    tango_write_attribute(device_name.dipole,'current',courant+offset);
+
+% balayage du gap on souhaite replacer le gap Ã  la valeur 0 tout simplement !
+elseif isequal(log3,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    else
+        tango_write_attribute(device_name.fente,'Position',0)
+    end
+    
+end
+
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
+
+function mc1_charge_edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_charge_edit5 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_charge_edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_charge_edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc1_calibre_edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_calibre_edit6 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_calibre_edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_calibre_edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nom_fichier_edit7_Callback(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nom_fichier_edit7 as text
+%        str2double(get(hObject,'String')) returns contents of nom_fichier_edit7 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nom_fichier_edit7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v4.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v4.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v4.m	(revision 17)
@@ -0,0 +1,1658 @@
+function varargout = fae_v4(varargin)
+% FAE_V4 M-file for fae_v4.fig
+%      FAE_V4, by itself, creates a new FAE_V4 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V4 returns the handle to a new FAE_V4 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V4('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V4.M with the given input arguments.
+%
+%      FAE_V4('Property','Value',...) creates a new FAE_V4 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v4_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v4_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v4
+
+% Last Modified by GUIDE v2.5 19-Sep-2005 16:49:42
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v4_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v4_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v4 is made visible.
+function fae_v4_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v4 (see VARARGIN)
+
+% Choose default command line output for fae_v4
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan'
+device_name.fente = 'lt1/dg/fae-fente'
+device_name.scan1D = 'lt1/dg/fae-scan1D'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v4.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v4 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v4_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% ACQUISITION
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.scan;
+vectx=tango_read_attribute(dev,'actuators_data');
+fonction_error;
+xdata = vectx.value;
+setappdata(handles.figure1,'xdata',xdata);
+
+% vecty=tango_read_attribute(dev,'sensors_data');
+% ydata = vecty.value;
+
+dev = device_name.scan1D;
+% lecture des deux mesureurs de charge ensemble
+%- build attribute list
+mc_name_list = {'Sensor1Data', 'Sensor2Data'};
+%- read attributes
+mc_val_list = tango_read_attributes(dev, mc_name_list);
+%- always check error
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+%- store 'Sensor1Data' value in local variable
+ydatamc1 = mc_val_list(1).value;
+%- store 'Sensor2Data' value in local variable
+ydatamc2 = mc_val_list(2).value;
+
+% affichage de la charge et calibre du mesureur 1
+% attention le calibre n'est pour l'instant pas associÃ© Ã  une date... il a
+% pu changer lorsqu'on active le traitement par MATLAB !!!!
+% -> trouver une solution
+set(handles.mc1_charge_edit5,'String',num2str(ydatamc1(1)));
+
+device = 'LT1/DG/MC';
+ict1Gain_val = tango_read_attribute(device,'ict1Gain');
+ict1Gain = ict1Gain_val.value(1);
+ict2Gain_val = tango_read_attribute(device,'ict2Gain');
+ict2Gain = ict2Gain_val.value(1);
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+set(handles.mc1_calibre_edit6,'String',num2str(ict1Gain));
+set(handles.mc2_calibre_edit9,'String',num2str(ict2Gain));
+
+
+% % setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydatamc1',ydatamc1);
+setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :
+dev = device_name.scan;
+res = tango_read_attribute(dev,'measureDate');
+%%res = tango_read_attribute('tests/scanserver/1','measureDate');
+String1 = datenum('1-January-1970');
+% equation correcte :
+%String2 = double(res.value)/(60*60*24) + String1;
+% equation en attendant la remise Ã  l'heure locale du CPU
+String2 = double(res.value + 2*60*60)/(60*60*24) + String1;
+date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',date);
+setappdata(handles.figure1,'Date',date);
+
+%% AFFICHAGE ET TRAITEMENT
+% on Ã©crase les vecteurs donnÃ©es re - calculÃ©es  (lissÃ©es, Ã©nergie)
+% et le nom de fichier
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+set(handles.nom_fichier_edit7,'String',[]);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+% normaliser les charges !!
+ydata = ydatamc2./ydatamc1;
+% on remplace les valeurs infinies par 0
+ydata(isnan(ydata))=0;
+
+% calcul de l'Ã©nergie du faisceau / dispersion Ã  la fente d'analyse
+LT1init;
+global THERING;
+AO = getao;
+
+% sauvegarder le mode du simulateur optics_LT1
+mode = getmode('BEND')
+if isequal(mode,'Simulator')
+    switch2online
+end    
+
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [8.1 8.1];
+twissdatain.alpha= [0 0];
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+ETA = cat(2,TD.Dispersion)';
+
+index = atindex(THERING);
+num = index.COLL;
+dispersion = ETA(num,1);
+    
+
+%% cas du dipÃŽle fixe (1 mors actuator)
+if isequal(log1,1)
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+%%Ec = 100    
+%%Idip = 170
+% en attendant la reconnexion des Ã©quipements, simulation !
+% %     xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+% %     z=-200:2:200;
+% %     ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+% %     % ydatab = donnï¿œes avec bruit superposï¿œ
+% %     coefficient = 0.0003;
+% %     ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+% %     toto = ydatab(51);
+% %     ydatab(51) = 0;
+    ydatab = ydata;
+    % on dÃ©rive les donnÃ©es bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+     
+    ResultsStr = {['I dipÃŽle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    % graphe avec labels et valeurs ligne de transfert dÃ©duits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dÃ©placement du mors en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight  
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+  
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    %pasMeV = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    % graphe du mesureur de charge n01
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+%% cas de la fente fixe (dipÃŽle actuator)
+if isequal(log2,1)
+    
+    % valeur de gap et du centre du gap
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    structure = tango_read_attribute(device_name.fente,'Position');
+    position = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.1f',abs(resolution));
+    valposition=sprintf('%2.1f',position);
+    
+    %     xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+    % %     z=-100:100;
+    %     %%1% variance = 0.25;
+    %     variance = 0.001;
+    %     imazz = 1;
+    %     centrez = 30;
+    %     ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+    %     % ydatab = donnï¿œes avec bruit superposï¿œ
+    %     %%1% coef = 0.0002;
+    %     %coef = 0.001;
+    %     coef = 0.005;
+    %     %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+    %     ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    ydatab = ydata;
+    maxydatab = max(ydatab);
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     angle = 15 * pi / 180;
+%     E0 = 0.51099906 ;
+%     xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+%         ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    
+    for i = 1:size(xdata,2)
+            xdata2(i) = 1000 * hw2physics('BEND','Setpoint',xdata(i),[1 1]);
+    end
+    xdata2 = xdata2 * (1 - position*0.001/dispersion);
+    xmin2 = min(xdata2);
+    xmax2 = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+      
+%% PLOT   
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+    % %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+    % % % %x = [-25:0.25:25];
+    % % x = [30:1:230];
+    % % variance = 625;
+    % % imaxx = 0.1;
+    % % centrex = 160;
+    % % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+    % %     
+    % % plot(xdata(1:sizex),ydatab,'r',...
+    % %     x,g*max(ydatab)/max(g),'b') 
+    % % xlim([min(xdata) max(xdata)]);
+    %____________________________________
+    plot(xdata,ydatab,'r');
+    xlim([xmin xmax]);
+    xlabel('courant du dipÃŽle en A');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla   
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % Ã  l'axe thÃ©orique (valeur de l'attribut position)
+
+    plot(xdata2,ydatab,'r');
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+   
+%% calcul de largeur du spectre non lissÃ©
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+    
+    sizey = size(ydatab,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:},...
+         [],['Largeur corrigÃ©e du spectre non lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val2,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.20
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val2,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.10
+       
+        if ydatab(sizey-j+1) < ydatab(i+1)
+            Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + ydatab(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasAf = xdata(2) - xdata(1);
+    LargeurAf = Nbpxf * pasAf;
+    
+    
+     [Y,I] = max(ydatab);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     
+     ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val2,' % de Epeack']}';
+     set(handles.listbox1,'String',ResultsStr);
+   
+
+end
+
+%% cas de la position du gap actuator
+if isequal(log3,1)
+    
+    % valeur de l'aimant et de la largeur du gap
+    % la valeur de l'aimant reprÃ©sente l'Ã©nergie sur l'axe
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    
+    dev = device_name.dipole;
+    structure = tango_read_attribute(dev,'current');
+    courant = structure.value(1);
+    energie = 1000*hw2physics('BEND','Setpoint',courant,[1 1])
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.2f',abs(resolution));
+    
+    %__________________________________________________________________
+    xdata2 = energie * (1 - xdata.*0.001/dispersion);
+    xmin = min(xdata);xmax = max(xdata);sizex = size(xdata,2);
+    xmin2 = min(xdata2);xmax2 = max(xdata2);sizex2 = size(xdata2,2);
+    sizey = size(ydata,2);
+    
+    %__________________________________________________________________
+    %ydatab = ydata;
+    ydata2 = -ydata./(gap*0.001*xdata2/dispersion);
+    maxydata2 = max(ydata2);
+    % integrale du spectre
+    integraleydata2 = ydatamc1(1) * trapz(xdata2,ydata2);
+    valintegrale = sprintf('%2.2f',integraleydata2)
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.mc2_charge_edit8,'String',valintegrale);
+    
+%% PLOT
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydata,'r')    
+    xlim([xmin xmax]);
+    xlabel('deplacement du gap en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    plot(xdata2,ydata2,'r')   
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+    
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydata2',ydata2);
+
+
+
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+yfiltre=filter(b,a,ydatab);
+
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnÃ©es brutes','donnÃ©es lissÃ©es',2);
+legend('boxoff');
+grid on;
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(yfiltre1);
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+        [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+        ['68 % des e- dans ',val,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.2
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['80 % des e- dans ',val,' % de Epeack']}'  ;  
+        %['Largeur ï¿œ 80 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.1
+       
+        if (yfiltre1(sizey-j+1)-yfiltre1(sizey-j)) < (yfiltre1(i+1)-yfiltre1(i))
+            Ipartielle = Ipartielle + (yfiltre1(sizey-j+1)-yfiltre1(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (yfiltre1(i+1)-yfiltre1(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+    [Y,I] = max(Dfiltre);
+    dpsurp = 100 * LargeurMeVf / xdata2(I);
+    val=sprintf('%2.2f',dpsurp);
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:}, ...
+        ['90 % des e- dans ',val,' % de Epeack']}';
+        %['Largeur ï¿œ 90 % =  ',val,' %']}'
+    set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    %Itot = max(yfiltre1)
+    
+    Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+    
+    sizey = size(yfiltre1,2);
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [],['Largeur corrigÃ©e du spectre lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+         [' 68 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.2
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 80 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    Ipartielle = 0;
+    j = 1;
+    i = 1;
+    dx = xdata2(sizey) - xdata2(sizey - 1);
+    
+    
+    while abs(Ipartielle/Itot) < 0.1
+       
+        if yfiltre1(sizey-j+1) < yfiltre1(i+1)
+            Ipartielle = Ipartielle + yfiltre1(sizey-j)*dx;
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + yfiltre1(i)*dx;
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpxf = sizey - ifinal - jfinal + 2;
+    %pasMeVf = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeVf = Nbpxf * pasMeVf;
+    pasmmf = xdata(2) - xdata(1);
+    Largeurmmf = Nbpxf * pasmmf;
+    
+    
+     [Y,I] = max(yfiltre1);
+     dpsurp = 100 * LargeurMeVf / xdata2(I);
+     val1=sprintf('%2.2f',dpsurp);
+     dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+     val2=sprintf('%2.2f',dpsurpcorr);
+     ResultsStr = get(handles.listbox1,'String');
+     ResultsStr = {ResultsStr{:}, ...
+         [' 90 % des e- dans ',val2,' % de Epeack'],...
+         }';
+    set(handles.listbox1,'String',ResultsStr);
+%     
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value')
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.nom_fichier_edit7,'String',FileName);
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+ydatamc1 = getappdata(handles.figure1,'ydatamc1');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+mc1_charge =   get(handles.mc1_charge_edit5,'String');
+mc1_calibre = get(handles.mc1_calibre_edit6,'String');
+mc2_charge =   get(handles.mc2_charge_edit8,'String');
+mc2_calibre = get(handles.mc2_calibre_edit9,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','ydatamc1','Dfiltre','ResultsStr','log1','log2','log3',...
+            'horodatage',...
+            'mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')
+
+    elseif  isequal(log2,1)
+       save(FileName, 'xdata', 'ydata','xdata2','yfiltre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')   
+       
+    else
+        ydata2 = getappdata(handles.figure1,'ydata2'); 
+        save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre') 
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    set(handles.mc1_charge_edit5,'String',mc1_charge);
+    set(handles.mc1_calibre_edit6,'String',mc1_calibre);
+    set(handles.mc2_charge_edit8,'String',mc2_charge);
+    set(handles.mc2_calibre_edit9,'String',mc2_calibre);
+    setappdata(handles.figure1,'ydata',ydata);
+    setappdata(handles.figure1,'xdata2',xdata2);
+    setappdata(handles.figure1,'xdata',xdata);
+    setappdata(handles.figure1,'ydata2',ydata2);
+    set(handles.nom_fichier_edit7,'String',FileName);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+
+    %if isequal(log1,1)
+    plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    
+% %     if isequal(log1,1)
+% %         xlabel('dÃ©placement du mors en mm');
+% %         ylabel('charge normalisÃ©e');
+% %         title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+% %         
+%     elseif isequal(log2,1)
+%         xlabel('courant du dipÃŽle en A');
+%         ylabel('charge normalisÃ©e');
+%         title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+%     else
+        xlabel('dÃ©placement du gap en mm');
+        ylabel('charge normalisÃ©e (qMC2/qMC1)');
+        title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+ %%   end
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+% %     if isequal(log2,1)
+% %         set(handles.Fenfixe_radiobutton2,'Value',1);
+% %         setappdata(handles.figure1,'yfiltre',yfiltre);
+% %         plot(xdata2,ydata,'r',...
+% %              xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+% %         
+% %     elseif isequal(log1,1)
+% %         set(handles.Dipfixe_radiobutton1,'Value',1);
+% %         setappdata(handles.figure1,'Dfiltre',Dfiltre);
+% %         setappdata(handles.figure1,'ydata2',ydata2);
+% %         plot(xdata2(1:sizex-1),ydata2,'r',...
+% %             xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+% %     else
+        
+        set(handles.Gap_radiobutton3,'Value',1);
+        %setappdata(handles.figure1,'yfiltre',yfiltre);
+        plot(xdata2,ydata2,'r',...
+             xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+ %%  end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+  
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+device_name = getappdata(handles.figure1,'device_name');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+
+% balayage du dipole on souhaite replacer le dipole sur la valeur donnant
+% le pic de charge
+elseif isequal(log2,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+    energie = xdata2(Imax);
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    %courant = physics2hw('BEND','Setpoint',energie/1000,[1 1]);
+    courant = xdata(Imax);
+    offset = 0.220;
+    tango_write_attribute(device_name.dipole,'current',courant+offset);
+
+% balayage du gap on souhaite replacer le gap Ã  la valeur 0 tout simplement !
+elseif isequal(log3,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    else
+        tango_write_attribute(device_name.fente,'Position',0)
+    end
+    
+end
+
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
+
+function mc1_charge_edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_charge_edit5 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_charge_edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_charge_edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc1_calibre_edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_calibre_edit6 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_calibre_edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_calibre_edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nom_fichier_edit7_Callback(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nom_fichier_edit7 as text
+%        str2double(get(hObject,'String')) returns contents of nom_fichier_edit7 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nom_fichier_edit7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_charge_edit8_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_charge_edit8 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_charge_edit8 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_charge_edit8_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_calibre_edit9_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_calibre_edit9 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_calibre_edit9 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_calibre_edit9_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v5.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v5.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v5.m	(revision 17)
@@ -0,0 +1,1528 @@
+function varargout = fae_v5(varargin)
+% FAE_V5 M-file for fae_v5.fig
+%      FAE_V5, by itself, creates a new FAE_V5 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V5 returns the handle to a new FAE_V5 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V5('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V5.M with the given input arguments.
+%
+%      FAE_V5('Property','Value',...) creates a new FAE_V5 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v5_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v5_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v5
+
+% Last Modified by GUIDE v2.5 19-Sep-2005 16:49:42
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v5_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v5_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v5 is made visible.
+function fae_v5_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v5 (see VARARGIN)
+
+% Choose default command line output for fae_v5
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan-v2'
+device_name.fente = 'lt1/dg/fae-fente'
+%device_name.scan1D = 'lt1/dg/fae-scan1D-v2'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v5.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v5 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v5_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% ACQUISITION
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.scan;
+actuator_attr_names=tango_read_attribute(dev,'actuatorsDataList');
+vectx=tango_read_attributes(dev,actuator_attr_names.value);
+fonction_error;
+xdata = vectx(1).value;
+setappdata(handles.figure1,'xdata',xdata);
+
+% vecty=tango_read_attribute(dev,'sensors_data');
+% ydata = vecty.value;
+
+sensors_attr_names=tango_read_attribute(dev,'sensorsDataList');
+%%%dev = device_name.scan1D;
+% lecture des deux mesureurs de charge ensemble
+%- build attribute list
+%%%mc_name_list = {'Sensor1Data', 'Sensor2Data'};
+%- read attributes
+
+
+mc_val_list = tango_read_attributes(dev, sensors_attr_names.value);
+%- always check error
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+%- store 'Sensor1Data' value in local variable
+ydatamc1 = mc_val_list(1).value;
+%- store 'Sensor2Data' value in local variable
+ydatamc2 = mc_val_list(2).value;
+
+% affichage de la charge et calibre du mesureur 1
+% attention le calibre n'est pour l'instant pas associÃ© Ã  une date... il a
+% pu changer lorsqu'on active le traitement par MATLAB !!!!
+% -> trouver une solution
+set(handles.mc1_charge_edit5,'String',num2str(ydatamc1(1)));
+
+device = 'LT1/DG/MC';
+ict1Gain_val = tango_read_attribute(device,'ict1Gain');
+ict1Gain = ict1Gain_val.value(1);
+ict2Gain_val = tango_read_attribute(device,'ict2Gain');
+ict2Gain = ict2Gain_val.value(1);
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+set(handles.mc1_calibre_edit6,'String',num2str(ict1Gain));
+set(handles.mc2_calibre_edit9,'String',num2str(ict2Gain));
+
+
+% % setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydatamc1',ydatamc1);
+setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :
+%     dev = device_name.scan;
+%     res = tango_read_attribute(dev,'measureDate');
+%     %%res = tango_read_attribute('tests/scanserver/1','measureDate');
+%     String1 = datenum('1-January-1970');
+%     % equation correcte :
+%     %String2 = double(res.value)/(60*60*24) + String1;
+%     % equation en attendant la remise Ã  l'heure locale du CPU
+%     String2 = double(res.value + 1*60*60)/(60*60*24) + String1;
+%     date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% modification version scan : plus d'attribut measureDate. fÃ©vrier 08
+traitement_date =  datestr(datenum(now),'dd-mmm-yyyy HH:MM:SS')
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',traitement_date);
+setappdata(handles.figure1,'Date',traitement_date);
+
+%% AFFICHAGE ET TRAITEMENT
+% on Ã©crase les vecteurs donnÃ©es re - calculÃ©es  (lissÃ©es, Ã©nergie)
+% et le nom de fichier
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+set(handles.nom_fichier_edit7,'String',[]);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+% normaliser les charges !!
+ydata = ydatamc2./ydatamc1;
+% on remplace les valeurs infinies par 0
+ydata(isnan(ydata))=0;
+
+% calcul de l'Ã©nergie du faisceau / dispersion Ã  la fente d'analyse
+LT1init;
+global THERING;
+AO = getao;
+
+% sauvegarder le mode du simulateur optics_LT1
+mode = getmode('BEND')
+if isequal(mode,'Simulator')
+    switch2online
+end    
+
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [8.1 8.1];
+twissdatain.alpha= [0 0];
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+ETA = cat(2,TD.Dispersion)';
+
+index = atindex(THERING);
+num = index.COLL;
+dispersion = ETA(num,1);
+    
+
+%% cas du dipÃŽle fixe (1 mors actuator)
+if isequal(log1,1)
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+%%Ec = 100    
+%%Idip = 170
+% en attendant la reconnexion des Ã©quipements, simulation !
+% %     xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+% %     z=-200:2:200;
+% %     ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+% %     % ydatab = donnï¿œes avec bruit superposï¿œ
+% %     coefficient = 0.0003;
+% %     ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+% %     toto = ydatab(51);
+% %     ydatab(51) = 0;
+    ydatab = ydata;
+    % on dÃ©rive les donnÃ©es bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+     
+    ResultsStr = {['I dipÃŽle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    % graphe avec labels et valeurs ligne de transfert dÃ©duits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dÃ©placement du mors en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight  
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+  
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    %pasMeV = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    % graphe du mesureur de charge n01
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+%% cas de la fente fixe (dipÃŽle actuator)
+if isequal(log2,1)
+    
+    % valeur de gap et du centre du gap
+    structure = tango_read_attribute(device_name.fente,'gap');
+    gap = structure.value(1);
+    structure = tango_read_attribute(device_name.fente,'position');
+    position = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.1f',abs(resolution));
+    valposition=sprintf('%2.1f',position);
+    
+    %     xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+    % %     z=-100:100;
+    %     %%1% variance = 0.25;
+    %     variance = 0.001;
+    %     imazz = 1;
+    %     centrez = 30;
+    %     ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+    %     % ydatab = donnï¿œes avec bruit superposï¿œ
+    %     %%1% coef = 0.0002;
+    %     %coef = 0.001;
+    %     coef = 0.005;
+    %     %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+    %     ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    ydata2 = ydata;
+    maxydata2 = max(ydata2);
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     angle = 15 * pi / 180;
+%     E0 = 0.51099906 ;
+%     xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+%         ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    
+    for i = 1:size(xdata,2)
+            xdata2(i) = 1000 * hw2physics('BEND','Setpoint',xdata(i),[1 1]);
+    end
+    xdata2 = xdata2 * (1 - position*0.001/dispersion);
+    xmin2 = min(xdata2);
+    xmax2 = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+      
+%% PLOT   
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+    % %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+    % % % %x = [-25:0.25:25];
+    % % x = [30:1:230];
+    % % variance = 625;
+    % % imaxx = 0.1;
+    % % centrex = 160;
+    % % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+    % %     
+    % % plot(xdata(1:sizex),ydatab,'r',...
+    % %     x,g*max(ydatab)/max(g),'b') 
+    % % xlim([min(xdata) max(xdata)]);
+    %____________________________________
+    plot(xdata,ydata,'r');
+    xlim([xmin xmax]);
+    xlabel('courant du dipÃŽle en A');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla   
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % Ã  l'axe thÃ©orique (valeur de l'attribut position)
+
+    plot(xdata2,ydata2,'r');
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);    
+    
+% % % %% calcul de largeur du spectre non lissÃ©
+% % %     %Itot = max(yfiltre1)
+% % %     
+% % %     Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+% % %     
+% % %     sizey = size(ydatab,2);
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.3173
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:},...
+% % %          [],['Largeur corrigÃ©e du spectre non lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+% % %         ['68 % des e- dans ',val2,' % de Epeack']}';
+% % %     set(handles.listbox1,'String',ResultsStr);
+% % % %     
+% % % %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % %     
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.20
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:}, ...
+% % %         ['80 % des e- dans ',val2,' % de Epeack']}';
+% % %     set(handles.listbox1,'String',ResultsStr);
+% % % %     
+% % % %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+% % % 
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.10
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:}, ...
+% % %         ['90 % des e- dans ',val2,' % de Epeack']}';
+% % %      set(handles.listbox1,'String',ResultsStr);
+% % %    
+
+end
+
+%% cas de la position du gap actuator
+if isequal(log3,1)
+    
+    % valeur de l'aimant et de la largeur du gap
+    % la valeur de l'aimant reprÃ©sente l'Ã©nergie sur l'axe
+    structure = tango_read_attribute(device_name.fente,'gap');
+    gap = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    
+    dev = device_name.dipole;
+    structure = tango_read_attribute(dev,'current');
+    courant = structure.value(1);
+
+    energie = 1000*hw2physics('BEND','Setpoint',courant,[1 1])
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.2f',abs(resolution));
+    
+    %__________________________________________________________________
+    xdata2 = energie * (1 - xdata.*0.001/dispersion);
+    xmin = min(xdata);xmax = max(xdata);sizex = size(xdata,2);
+    xmin2 = min(xdata2);xmax2 = max(xdata2);sizex2 = size(xdata2,2);
+    sizey = size(ydata,2);
+    
+    %__________________________________________________________________
+    %ydatab = ydata;
+    ydata2 = -ydata./(gap*0.001*xdata2/dispersion);
+    maxydata2 = max(ydata2);
+    % integrale du spectre
+    integraleydata2 = ydatamc1(1) * trapz(xdata2,ydata2);
+    valintegrale = sprintf('%2.2f',integraleydata2)
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.mc2_charge_edit8,'String',valintegrale);
+    
+%% PLOT
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydata,'r')    
+    xlim([xmin xmax]);
+    xlabel('deplacement du gap en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    plot(xdata2,ydata2,'r')   
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    
+    % option oÃ¹ on n'Ã©crit que les rÃ©sultats pour le spectre lissÃ©
+     set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+    
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydata2',ydata2);
+
+
+
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+
+ydata2 = getappdata(handles.figure1,'ydata2');
+
+
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+
+%%%%%%%%%%%%%%%%%%%%%
+yfiltre=filter(b,a,ydatab);
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+%%%%%%%%%%%%%%%%%%%%%
+y2filtre=filter(b,a,ydata2);
+% y2filtre1 repositionne y2filtre au milieu de la fenï¿œtre windowsize
+y2filtre1=y2filtre(ceil(windowSize/2):sizex);
+
+%% PLOT
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnÃ©es brutes','donnÃ©es lissÃ©es',2);
+legend('boxoff');
+grid on;
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+% % %     %____________________________________________________________________
+% % %     % calcul de largeur du spectre
+% % %     Itot = max(yfiltre1);
+% % %     sizey = size(yfiltre1,2);
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+% % %     %____________________________________________________________________
+% % %     % calcul de largeur du spectre
+% % %     %Itot = max(yfiltre1)
+% % %     
+% % %     Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+% % %     
+
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+if isequal(log3,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(y2filtre1,2)),y2filtre1(1:size(y2filtre1,2)));
+
+%%  calcul de largeur du spectre lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    x = xdata2(1:size(y2filtre1,2));
+    y = y2filtre1;
+    [Y,I] = max(y);
+    largeur_MeV_1sigma = largeur_pourcentage(x,y,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(x,y,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(x,y,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / x(I);
+    largeur_MeV_80pc = largeur_pourcentage(x,y,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / x(I);
+    largeur_MeV_90pc = largeur_pourcentage(x,y,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / x(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre lissÃ© : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+setappdata(handles.figure1,'y2filtre',y2filtre1);
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value')
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.nom_fichier_edit7,'String',FileName);
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+ydata2 = getappdata(handles.figure1,'ydata2');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+y2filtre = getappdata(handles.figure1,'y2filtre');
+ydatamc1 = getappdata(handles.figure1,'ydatamc1');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+mc1_charge =   get(handles.mc1_charge_edit5,'String');
+mc1_calibre = get(handles.mc1_calibre_edit6,'String');
+mc2_charge =   get(handles.mc2_charge_edit8,'String');
+mc2_calibre = get(handles.mc2_calibre_edit9,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       %ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','ydatamc1','Dfiltre','ResultsStr','log1','log2','log3',...
+            'horodatage',...
+            'mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')
+
+    elseif  isequal(log2,1)
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','y2filtre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')   
+       
+    else
+%         ydata2 = getappdata(handles.figure1,'ydata2'); 
+        save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','y2filtre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre') 
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    set(handles.mc1_charge_edit5,'String',mc1_charge);
+    set(handles.mc1_calibre_edit6,'String',mc1_calibre);
+    set(handles.mc2_charge_edit8,'String',mc2_charge);
+    set(handles.mc2_calibre_edit9,'String',mc2_calibre);
+    setappdata(handles.figure1,'ydata',ydata);
+    setappdata(handles.figure1,'xdata2',xdata2);
+    setappdata(handles.figure1,'xdata',xdata);
+    setappdata(handles.figure1,'ydata2',ydata2);
+    setappdata(handles.figure1,'yfiltre',yfiltre);
+    if isequal(exist('y2filtre'),1)
+        setappdata(handles.figure1,'y2filtre',y2filtre);
+    end
+    set(handles.nom_fichier_edit7,'String',FileName);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+
+    %if isequal(log1,1)
+    plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    
+% %     if isequal(log1,1)
+% %         xlabel('dÃ©placement du mors en mm');
+% %         ylabel('charge normalisÃ©e');
+% %         title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+% %         
+%     elseif isequal(log2,1)
+%         xlabel('courant du dipÃŽle en A');
+%         ylabel('charge normalisÃ©e');
+%         title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+%     else
+        xlabel('dÃ©placement du gap en mm');
+        ylabel('charge normalisÃ©e (qMC2/qMC1)');
+        title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+ %%   end
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+% %     if isequal(log2,1)
+% %         set(handles.Fenfixe_radiobutton2,'Value',1);
+% %         setappdata(handles.figure1,'yfiltre',yfiltre);
+% %         plot(xdata2,ydata,'r',...
+% %              xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+% %         
+% %     elseif isequal(log1,1)
+% %         set(handles.Dipfixe_radiobutton1,'Value',1);
+% %         setappdata(handles.figure1,'Dfiltre',Dfiltre);
+% %         setappdata(handles.figure1,'ydata2',ydata2);
+% %         plot(xdata2(1:sizex-1),ydata2,'r',...
+% %             xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+% %     else
+        
+        set(handles.Gap_radiobutton3,'Value',1);
+        %setappdata(handles.figure1,'yfiltre',yfiltre);
+        
+        if isequal(exist('y2filtre'),1)
+        plot(xdata2,ydata2,'r',...
+             xdata2(1:size(y2filtre,2)),y2filtre(1:size(y2filtre,2)))
+        else 
+            plot(xdata2,ydata2,'r')
+        end
+ %%  end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+  
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+device_name = getappdata(handles.figure1,'device_name');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+
+% balayage du dipole on souhaite replacer le dipole sur la valeur donnant
+% le pic de charge
+elseif isequal(log2,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+    energie = xdata2(Imax);
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    %courant = physics2hw('BEND','Setpoint',energie/1000,[1 1]);
+    courant = xdata(Imax);
+    offset = 0.220;
+    tango_write_attribute(device_name.dipole,'current',courant+offset);
+
+% balayage du gap on souhaite replacer le gap Ã  la valeur 0 tout simplement !
+elseif isequal(log3,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    else
+        tango_write_attribute(device_name.fente,'Position',0)
+    end
+    
+end
+
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
+
+function mc1_charge_edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_charge_edit5 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_charge_edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_charge_edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc1_calibre_edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_calibre_edit6 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_calibre_edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_calibre_edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nom_fichier_edit7_Callback(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nom_fichier_edit7 as text
+%        str2double(get(hObject,'String')) returns contents of nom_fichier_edit7 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nom_fichier_edit7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_charge_edit8_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_charge_edit8 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_charge_edit8 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_charge_edit8_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_calibre_edit9_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_calibre_edit9 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_calibre_edit9 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_calibre_edit9_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v5_old.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v5_old.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v5_old.m	(revision 17)
@@ -0,0 +1,1521 @@
+function varargout = fae_v5(varargin)
+% FAE_V5 M-file for fae_v5.fig
+%      FAE_V5, by itself, creates a new FAE_V5 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V5 returns the handle to a new FAE_V5 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V5('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V5.M with the given input arguments.
+%
+%      FAE_V5('Property','Value',...) creates a new FAE_V5 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v5_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v5_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v5
+
+% Last Modified by GUIDE v2.5 19-Sep-2005 16:49:42
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v5_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v5_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v5 is made visible.
+function fae_v5_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v5 (see VARARGIN)
+
+% Choose default command line output for fae_v5
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan-v2'
+device_name.fente = 'lt1/dg/fae-fente'
+device_name.scan1D = 'lt1/dg/fae-scan1D-v2'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v5.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v5 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v5_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% ACQUISITION
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.scan;
+vectx=tango_read_attribute(dev,'actuators_data');
+fonction_error;
+xdata = vectx.value;
+setappdata(handles.figure1,'xdata',xdata);
+
+% vecty=tango_read_attribute(dev,'sensors_data');
+% ydata = vecty.value;
+
+dev = device_name.scan1D;
+% lecture des deux mesureurs de charge ensemble
+%- build attribute list
+mc_name_list = {'Sensor1Data', 'Sensor2Data'};
+%- read attributes
+mc_val_list = tango_read_attributes(dev, mc_name_list);
+%- always check error
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+%- store 'Sensor1Data' value in local variable
+ydatamc1 = mc_val_list(1).value;
+%- store 'Sensor2Data' value in local variable
+ydatamc2 = mc_val_list(2).value;
+
+% affichage de la charge et calibre du mesureur 1
+% attention le calibre n'est pour l'instant pas associÃ© Ã  une date... il a
+% pu changer lorsqu'on active le traitement par MATLAB !!!!
+% -> trouver une solution
+set(handles.mc1_charge_edit5,'String',num2str(ydatamc1(1)));
+
+device = 'LT1/DG/MC';
+ict1Gain_val = tango_read_attribute(device,'ict1Gain');
+ict1Gain = ict1Gain_val.value(1);
+ict2Gain_val = tango_read_attribute(device,'ict2Gain');
+ict2Gain = ict2Gain_val.value(1);
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+set(handles.mc1_calibre_edit6,'String',num2str(ict1Gain));
+set(handles.mc2_calibre_edit9,'String',num2str(ict2Gain));
+
+
+% % setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydatamc1',ydatamc1);
+setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :
+dev = device_name.scan;
+res = tango_read_attribute(dev,'measureDate');
+%%res = tango_read_attribute('tests/scanserver/1','measureDate');
+String1 = datenum('1-January-1970');
+% equation correcte :
+%String2 = double(res.value)/(60*60*24) + String1;
+% equation en attendant la remise Ã  l'heure locale du CPU
+String2 = double(res.value + 1*60*60)/(60*60*24) + String1;
+date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',date);
+setappdata(handles.figure1,'Date',date);
+
+%% AFFICHAGE ET TRAITEMENT
+% on Ã©crase les vecteurs donnÃ©es re - calculÃ©es  (lissÃ©es, Ã©nergie)
+% et le nom de fichier
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+set(handles.nom_fichier_edit7,'String',[]);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+% normaliser les charges !!
+ydata = ydatamc2./ydatamc1;
+% on remplace les valeurs infinies par 0
+ydata(isnan(ydata))=0;
+
+% calcul de l'Ã©nergie du faisceau / dispersion Ã  la fente d'analyse
+LT1init;
+global THERING;
+AO = getao;
+
+% sauvegarder le mode du simulateur optics_LT1
+mode = getmode('BEND')
+if isequal(mode,'Simulator')
+    switch2online
+end    
+
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [8.1 8.1];
+twissdatain.alpha= [0 0];
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+ETA = cat(2,TD.Dispersion)';
+
+index = atindex(THERING);
+num = index.COLL;
+dispersion = ETA(num,1);
+    
+
+%% cas du dipÃŽle fixe (1 mors actuator)
+if isequal(log1,1)
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+%%Ec = 100    
+%%Idip = 170
+% en attendant la reconnexion des Ã©quipements, simulation !
+% %     xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+% %     z=-200:2:200;
+% %     ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+% %     % ydatab = donnï¿œes avec bruit superposï¿œ
+% %     coefficient = 0.0003;
+% %     ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+% %     toto = ydatab(51);
+% %     ydatab(51) = 0;
+    ydatab = ydata;
+    % on dÃ©rive les donnÃ©es bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+     
+    ResultsStr = {['I dipÃŽle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    % graphe avec labels et valeurs ligne de transfert dÃ©duits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dÃ©placement du mors en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight  
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+  
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    %pasMeV = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    % graphe du mesureur de charge n01
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+%% cas de la fente fixe (dipÃŽle actuator)
+if isequal(log2,1)
+    
+    % valeur de gap et du centre du gap
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    structure = tango_read_attribute(device_name.fente,'Position');
+    position = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.1f',abs(resolution));
+    valposition=sprintf('%2.1f',position);
+    
+    %     xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+    % %     z=-100:100;
+    %     %%1% variance = 0.25;
+    %     variance = 0.001;
+    %     imazz = 1;
+    %     centrez = 30;
+    %     ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+    %     % ydatab = donnï¿œes avec bruit superposï¿œ
+    %     %%1% coef = 0.0002;
+    %     %coef = 0.001;
+    %     coef = 0.005;
+    %     %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+    %     ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    ydata2 = ydata;
+    maxydata2 = max(ydata2);
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     angle = 15 * pi / 180;
+%     E0 = 0.51099906 ;
+%     xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+%         ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    
+    for i = 1:size(xdata,2)
+            xdata2(i) = 1000 * hw2physics('BEND','Setpoint',xdata(i),[1 1]);
+    end
+    xdata2 = xdata2 * (1 - position*0.001/dispersion);
+    xmin2 = min(xdata2);
+    xmax2 = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+      
+%% PLOT   
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+    % %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+    % % % %x = [-25:0.25:25];
+    % % x = [30:1:230];
+    % % variance = 625;
+    % % imaxx = 0.1;
+    % % centrex = 160;
+    % % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+    % %     
+    % % plot(xdata(1:sizex),ydatab,'r',...
+    % %     x,g*max(ydatab)/max(g),'b') 
+    % % xlim([min(xdata) max(xdata)]);
+    %____________________________________
+    plot(xdata,ydata,'r');
+    xlim([xmin xmax]);
+    xlabel('courant du dipÃŽle en A');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla   
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % Ã  l'axe thÃ©orique (valeur de l'attribut position)
+
+    plot(xdata2,ydata2,'r');
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);    
+    
+% % % %% calcul de largeur du spectre non lissÃ©
+% % %     %Itot = max(yfiltre1)
+% % %     
+% % %     Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+% % %     
+% % %     sizey = size(ydatab,2);
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.3173
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:},...
+% % %          [],['Largeur corrigÃ©e du spectre non lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+% % %         ['68 % des e- dans ',val2,' % de Epeack']}';
+% % %     set(handles.listbox1,'String',ResultsStr);
+% % % %     
+% % % %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % %     
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.20
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:}, ...
+% % %         ['80 % des e- dans ',val2,' % de Epeack']}';
+% % %     set(handles.listbox1,'String',ResultsStr);
+% % % %     
+% % % %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+% % % 
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.10
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:}, ...
+% % %         ['90 % des e- dans ',val2,' % de Epeack']}';
+% % %      set(handles.listbox1,'String',ResultsStr);
+% % %    
+
+end
+
+%% cas de la position du gap actuator
+if isequal(log3,1)
+    
+    % valeur de l'aimant et de la largeur du gap
+    % la valeur de l'aimant reprÃ©sente l'Ã©nergie sur l'axe
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    
+    dev = device_name.dipole;
+    structure = tango_read_attribute(dev,'current');
+    courant = structure.value(1);
+
+    energie = 1000*hw2physics('BEND','Setpoint',courant,[1 1])
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.2f',abs(resolution));
+    
+    %__________________________________________________________________
+    xdata2 = energie * (1 - xdata.*0.001/dispersion);
+    xmin = min(xdata);xmax = max(xdata);sizex = size(xdata,2);
+    xmin2 = min(xdata2);xmax2 = max(xdata2);sizex2 = size(xdata2,2);
+    sizey = size(ydata,2);
+    
+    %__________________________________________________________________
+    %ydatab = ydata;
+    ydata2 = -ydata./(gap*0.001*xdata2/dispersion);
+    maxydata2 = max(ydata2);
+    % integrale du spectre
+    integraleydata2 = ydatamc1(1) * trapz(xdata2,ydata2);
+    valintegrale = sprintf('%2.2f',integraleydata2)
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.mc2_charge_edit8,'String',valintegrale);
+    
+%% PLOT
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydata,'r')    
+    xlim([xmin xmax]);
+    xlabel('deplacement du gap en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    plot(xdata2,ydata2,'r')   
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    
+    % option oÃ¹ on n'Ã©crit que les rÃ©sultats pour le spectre lissÃ©
+     set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+    
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydata2',ydata2);
+
+
+
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+
+ydata2 = getappdata(handles.figure1,'ydata2');
+
+
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+
+%%%%%%%%%%%%%%%%%%%%%
+yfiltre=filter(b,a,ydatab);
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+%%%%%%%%%%%%%%%%%%%%%
+y2filtre=filter(b,a,ydata2);
+% y2filtre1 repositionne y2filtre au milieu de la fenï¿œtre windowsize
+y2filtre1=y2filtre(ceil(windowSize/2):sizex);
+
+%% PLOT
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnÃ©es brutes','donnÃ©es lissÃ©es',2);
+legend('boxoff');
+grid on;
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+% % %     %____________________________________________________________________
+% % %     % calcul de largeur du spectre
+% % %     Itot = max(yfiltre1);
+% % %     sizey = size(yfiltre1,2);
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+% % %     %____________________________________________________________________
+% % %     % calcul de largeur du spectre
+% % %     %Itot = max(yfiltre1)
+% % %     
+% % %     Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+% % %     
+
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+if isequal(log3,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(y2filtre1,2)),y2filtre1(1:size(y2filtre1,2)));
+
+%%  calcul de largeur du spectre lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    x = xdata2(1:size(y2filtre1,2));
+    y = y2filtre1;
+    [Y,I] = max(y);
+    largeur_MeV_1sigma = largeur_pourcentage(x,y,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(x,y,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(x,y,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / x(I);
+    largeur_MeV_80pc = largeur_pourcentage(x,y,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / x(I);
+    largeur_MeV_90pc = largeur_pourcentage(x,y,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / x(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre lissÃ© : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+setappdata(handles.figure1,'y2filtre',y2filtre1);
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value')
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.nom_fichier_edit7,'String',FileName);
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+ydata2 = getappdata(handles.figure1,'ydata2');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+y2filtre = getappdata(handles.figure1,'y2filtre');
+ydatamc1 = getappdata(handles.figure1,'ydatamc1');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+mc1_charge =   get(handles.mc1_charge_edit5,'String');
+mc1_calibre = get(handles.mc1_calibre_edit6,'String');
+mc2_charge =   get(handles.mc2_charge_edit8,'String');
+mc2_calibre = get(handles.mc2_calibre_edit9,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       %ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','ydatamc1','Dfiltre','ResultsStr','log1','log2','log3',...
+            'horodatage',...
+            'mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')
+
+    elseif  isequal(log2,1)
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','y2filtre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')   
+       
+    else
+%         ydata2 = getappdata(handles.figure1,'ydata2'); 
+        save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','y2filtre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre') 
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    set(handles.mc1_charge_edit5,'String',mc1_charge);
+    set(handles.mc1_calibre_edit6,'String',mc1_calibre);
+    set(handles.mc2_charge_edit8,'String',mc2_charge);
+    set(handles.mc2_calibre_edit9,'String',mc2_calibre);
+    setappdata(handles.figure1,'ydata',ydata);
+    setappdata(handles.figure1,'xdata2',xdata2);
+    setappdata(handles.figure1,'xdata',xdata);
+    setappdata(handles.figure1,'ydata2',ydata2);
+    setappdata(handles.figure1,'yfiltre',yfiltre);
+    if isequal(exist('y2filtre'),1)
+        setappdata(handles.figure1,'y2filtre',y2filtre);
+    end
+    set(handles.nom_fichier_edit7,'String',FileName);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+
+    %if isequal(log1,1)
+    plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    
+% %     if isequal(log1,1)
+% %         xlabel('dÃ©placement du mors en mm');
+% %         ylabel('charge normalisÃ©e');
+% %         title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+% %         
+%     elseif isequal(log2,1)
+%         xlabel('courant du dipÃŽle en A');
+%         ylabel('charge normalisÃ©e');
+%         title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+%     else
+        xlabel('dÃ©placement du gap en mm');
+        ylabel('charge normalisÃ©e (qMC2/qMC1)');
+        title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+ %%   end
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+% %     if isequal(log2,1)
+% %         set(handles.Fenfixe_radiobutton2,'Value',1);
+% %         setappdata(handles.figure1,'yfiltre',yfiltre);
+% %         plot(xdata2,ydata,'r',...
+% %              xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+% %         
+% %     elseif isequal(log1,1)
+% %         set(handles.Dipfixe_radiobutton1,'Value',1);
+% %         setappdata(handles.figure1,'Dfiltre',Dfiltre);
+% %         setappdata(handles.figure1,'ydata2',ydata2);
+% %         plot(xdata2(1:sizex-1),ydata2,'r',...
+% %             xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+% %     else
+        
+        set(handles.Gap_radiobutton3,'Value',1);
+        %setappdata(handles.figure1,'yfiltre',yfiltre);
+        
+        if isequal(exist('y2filtre'),1)
+        plot(xdata2,ydata2,'r',...
+             xdata2(1:size(y2filtre,2)),y2filtre(1:size(y2filtre,2)))
+        else 
+            plot(xdata2,ydata2,'r')
+        end
+ %%  end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+  
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+device_name = getappdata(handles.figure1,'device_name');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+
+% balayage du dipole on souhaite replacer le dipole sur la valeur donnant
+% le pic de charge
+elseif isequal(log2,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+    energie = xdata2(Imax);
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    %courant = physics2hw('BEND','Setpoint',energie/1000,[1 1]);
+    courant = xdata(Imax);
+    offset = 0.220;
+    tango_write_attribute(device_name.dipole,'current',courant+offset);
+
+% balayage du gap on souhaite replacer le gap Ã  la valeur 0 tout simplement !
+elseif isequal(log3,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    else
+        tango_write_attribute(device_name.fente,'Position',0)
+    end
+    
+end
+
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
+
+function mc1_charge_edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_charge_edit5 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_charge_edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_charge_edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc1_calibre_edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_calibre_edit6 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_calibre_edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_calibre_edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nom_fichier_edit7_Callback(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nom_fichier_edit7 as text
+%        str2double(get(hObject,'String')) returns contents of nom_fichier_edit7 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nom_fichier_edit7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_charge_edit8_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_charge_edit8 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_charge_edit8 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_charge_edit8_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_calibre_edit9_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_calibre_edit9 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_calibre_edit9 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_calibre_edit9_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v5_old_fevrier09.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v5_old_fevrier09.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v5_old_fevrier09.m	(revision 17)
@@ -0,0 +1,1528 @@
+function varargout = fae_v5(varargin)
+% FAE_V5 M-file for fae_v5.fig
+%      FAE_V5, by itself, creates a new FAE_V5 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V5 returns the handle to a new FAE_V5 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V5('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V5.M with the given input arguments.
+%
+%      FAE_V5('Property','Value',...) creates a new FAE_V5 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v5_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v5_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v5
+
+% Last Modified by GUIDE v2.5 19-Sep-2005 16:49:42
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v5_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v5_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v5 is made visible.
+function fae_v5_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v5 (see VARARGIN)
+
+% Choose default command line output for fae_v5
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan-v2'
+device_name.fente = 'lt1/dg/fae-fente'
+%device_name.scan1D = 'lt1/dg/fae-scan1D-v2'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v5.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v5 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v5_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% ACQUISITION
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.scan;
+actuator_attr_names=tango_read_attribute(dev,'actuatorsDataList');
+vectx=tango_read_attributes(dev,actuator_attr_names.value);
+fonction_error;
+xdata = vectx(1).value;
+setappdata(handles.figure1,'xdata',xdata);
+
+% vecty=tango_read_attribute(dev,'sensors_data');
+% ydata = vecty.value;
+
+sensors_attr_names=tango_read_attribute(dev,'sensorsDataList');
+%%%dev = device_name.scan1D;
+% lecture des deux mesureurs de charge ensemble
+%- build attribute list
+%%%mc_name_list = {'Sensor1Data', 'Sensor2Data'};
+%- read attributes
+
+
+mc_val_list = tango_read_attributes(dev, sensors_attr_names.value);
+%- always check error
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+%- store 'Sensor1Data' value in local variable
+ydatamc1 = mc_val_list(2).value;
+%- store 'Sensor2Data' value in local variable
+ydatamc2 = mc_val_list(1).value;
+
+% affichage de la charge et calibre du mesureur 1
+% attention le calibre n'est pour l'instant pas associÃ© Ã  une date... il a
+% pu changer lorsqu'on active le traitement par MATLAB !!!!
+% -> trouver une solution
+set(handles.mc1_charge_edit5,'String',num2str(ydatamc1(1)));
+
+device = 'LT1/DG/MC';
+ict1Gain_val = tango_read_attribute(device,'ict1Gain');
+ict1Gain = ict1Gain_val.value(1);
+ict2Gain_val = tango_read_attribute(device,'ict2Gain');
+ict2Gain = ict2Gain_val.value(1);
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+set(handles.mc1_calibre_edit6,'String',num2str(ict1Gain));
+set(handles.mc2_calibre_edit9,'String',num2str(ict2Gain));
+
+
+% % setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydatamc1',ydatamc1);
+setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :
+%     dev = device_name.scan;
+%     res = tango_read_attribute(dev,'measureDate');
+%     %%res = tango_read_attribute('tests/scanserver/1','measureDate');
+%     String1 = datenum('1-January-1970');
+%     % equation correcte :
+%     %String2 = double(res.value)/(60*60*24) + String1;
+%     % equation en attendant la remise Ã  l'heure locale du CPU
+%     String2 = double(res.value + 1*60*60)/(60*60*24) + String1;
+%     date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% modification version scan : plus d'attribut measureDate. fÃ©vrier 08
+traitement_date =  datestr(datenum(now),'dd-mmm-yyyy HH:MM:SS')
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',traitement_date);
+setappdata(handles.figure1,'Date',traitement_date);
+
+%% AFFICHAGE ET TRAITEMENT
+% on Ã©crase les vecteurs donnÃ©es re - calculÃ©es  (lissÃ©es, Ã©nergie)
+% et le nom de fichier
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+set(handles.nom_fichier_edit7,'String',[]);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+% normaliser les charges !!
+ydata = ydatamc2./ydatamc1;
+% on remplace les valeurs infinies par 0
+ydata(isnan(ydata))=0;
+
+% calcul de l'Ã©nergie du faisceau / dispersion Ã  la fente d'analyse
+LT1init;
+global THERING;
+AO = getao;
+
+% sauvegarder le mode du simulateur optics_LT1
+mode = getmode('BEND')
+if isequal(mode,'Simulator')
+    switch2online
+end    
+
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [8.1 8.1];
+twissdatain.alpha= [0 0];
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+ETA = cat(2,TD.Dispersion)';
+
+index = atindex(THERING);
+num = index.COLL;
+dispersion = ETA(num,1);
+    
+
+%% cas du dipÃŽle fixe (1 mors actuator)
+if isequal(log1,1)
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+%%Ec = 100    
+%%Idip = 170
+% en attendant la reconnexion des Ã©quipements, simulation !
+% %     xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+% %     z=-200:2:200;
+% %     ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+% %     % ydatab = donnï¿œes avec bruit superposï¿œ
+% %     coefficient = 0.0003;
+% %     ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+% %     toto = ydatab(51);
+% %     ydatab(51) = 0;
+    ydatab = ydata;
+    % on dÃ©rive les donnÃ©es bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+     
+    ResultsStr = {['I dipÃŽle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    % graphe avec labels et valeurs ligne de transfert dÃ©duits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dÃ©placement du mors en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight  
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+  
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    %pasMeV = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    % graphe du mesureur de charge n01
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+%% cas de la fente fixe (dipÃŽle actuator)
+if isequal(log2,1)
+    
+    % valeur de gap et du centre du gap
+    structure = tango_read_attribute(device_name.fente,'gap');
+    gap = structure.value(1);
+    structure = tango_read_attribute(device_name.fente,'position');
+    position = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.1f',abs(resolution));
+    valposition=sprintf('%2.1f',position);
+    
+    %     xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+    % %     z=-100:100;
+    %     %%1% variance = 0.25;
+    %     variance = 0.001;
+    %     imazz = 1;
+    %     centrez = 30;
+    %     ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+    %     % ydatab = donnï¿œes avec bruit superposï¿œ
+    %     %%1% coef = 0.0002;
+    %     %coef = 0.001;
+    %     coef = 0.005;
+    %     %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+    %     ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    ydata2 = ydata;
+    maxydata2 = max(ydata2);
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     angle = 15 * pi / 180;
+%     E0 = 0.51099906 ;
+%     xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+%         ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    
+    for i = 1:size(xdata,2)
+            xdata2(i) = 1000 * hw2physics('BEND','Setpoint',xdata(i),[1 1]);
+    end
+    xdata2 = xdata2 * (1 - position*0.001/dispersion);
+    xmin2 = min(xdata2);
+    xmax2 = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+      
+%% PLOT   
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+    % %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+    % % % %x = [-25:0.25:25];
+    % % x = [30:1:230];
+    % % variance = 625;
+    % % imaxx = 0.1;
+    % % centrex = 160;
+    % % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+    % %     
+    % % plot(xdata(1:sizex),ydatab,'r',...
+    % %     x,g*max(ydatab)/max(g),'b') 
+    % % xlim([min(xdata) max(xdata)]);
+    %____________________________________
+    plot(xdata,ydata,'r');
+    xlim([xmin xmax]);
+    xlabel('courant du dipÃŽle en A');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla   
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % Ã  l'axe thÃ©orique (valeur de l'attribut position)
+
+    plot(xdata2,ydata2,'r');
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);    
+    
+% % % %% calcul de largeur du spectre non lissÃ©
+% % %     %Itot = max(yfiltre1)
+% % %     
+% % %     Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+% % %     
+% % %     sizey = size(ydatab,2);
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.3173
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:},...
+% % %          [],['Largeur corrigÃ©e du spectre non lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+% % %         ['68 % des e- dans ',val2,' % de Epeack']}';
+% % %     set(handles.listbox1,'String',ResultsStr);
+% % % %     
+% % % %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % %     
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.20
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:}, ...
+% % %         ['80 % des e- dans ',val2,' % de Epeack']}';
+% % %     set(handles.listbox1,'String',ResultsStr);
+% % % %     
+% % % %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+% % % 
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.10
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:}, ...
+% % %         ['90 % des e- dans ',val2,' % de Epeack']}';
+% % %      set(handles.listbox1,'String',ResultsStr);
+% % %    
+
+end
+
+%% cas de la position du gap actuator
+if isequal(log3,1)
+    
+    % valeur de l'aimant et de la largeur du gap
+    % la valeur de l'aimant reprÃ©sente l'Ã©nergie sur l'axe
+    structure = tango_read_attribute(device_name.fente,'gap');
+    gap = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    
+    dev = device_name.dipole;
+    structure = tango_read_attribute(dev,'current');
+    courant = structure.value(1);
+
+    energie = 1000*hw2physics('BEND','Setpoint',courant,[1 1])
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.2f',abs(resolution));
+    
+    %__________________________________________________________________
+    xdata2 = energie * (1 - xdata.*0.001/dispersion);
+    xmin = min(xdata);xmax = max(xdata);sizex = size(xdata,2);
+    xmin2 = min(xdata2);xmax2 = max(xdata2);sizex2 = size(xdata2,2);
+    sizey = size(ydata,2);
+    
+    %__________________________________________________________________
+    %ydatab = ydata;
+    ydata2 = -ydata./(gap*0.001*xdata2/dispersion);
+    maxydata2 = max(ydata2);
+    % integrale du spectre
+    integraleydata2 = ydatamc1(1) * trapz(xdata2,ydata2);
+    valintegrale = sprintf('%2.2f',integraleydata2)
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.mc2_charge_edit8,'String',valintegrale);
+    
+%% PLOT
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydata,'r')    
+    xlim([xmin xmax]);
+    xlabel('deplacement du gap en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    plot(xdata2,ydata2,'r')   
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    
+    % option oÃ¹ on n'Ã©crit que les rÃ©sultats pour le spectre lissÃ©
+     set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+    
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydata2',ydata2);
+
+
+
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+
+ydata2 = getappdata(handles.figure1,'ydata2');
+
+
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+
+%%%%%%%%%%%%%%%%%%%%%
+yfiltre=filter(b,a,ydatab);
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+%%%%%%%%%%%%%%%%%%%%%
+y2filtre=filter(b,a,ydata2);
+% y2filtre1 repositionne y2filtre au milieu de la fenï¿œtre windowsize
+y2filtre1=y2filtre(ceil(windowSize/2):sizex);
+
+%% PLOT
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnÃ©es brutes','donnÃ©es lissÃ©es',2);
+legend('boxoff');
+grid on;
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+% % %     %____________________________________________________________________
+% % %     % calcul de largeur du spectre
+% % %     Itot = max(yfiltre1);
+% % %     sizey = size(yfiltre1,2);
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+% % %     %____________________________________________________________________
+% % %     % calcul de largeur du spectre
+% % %     %Itot = max(yfiltre1)
+% % %     
+% % %     Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+% % %     
+
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+if isequal(log3,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(y2filtre1,2)),y2filtre1(1:size(y2filtre1,2)));
+
+%%  calcul de largeur du spectre lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    x = xdata2(1:size(y2filtre1,2));
+    y = y2filtre1;
+    [Y,I] = max(y);
+    largeur_MeV_1sigma = largeur_pourcentage(x,y,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(x,y,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(x,y,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / x(I);
+    largeur_MeV_80pc = largeur_pourcentage(x,y,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / x(I);
+    largeur_MeV_90pc = largeur_pourcentage(x,y,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / x(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre lissÃ© : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+setappdata(handles.figure1,'y2filtre',y2filtre1);
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value')
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.nom_fichier_edit7,'String',FileName);
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+ydata2 = getappdata(handles.figure1,'ydata2');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+y2filtre = getappdata(handles.figure1,'y2filtre');
+ydatamc1 = getappdata(handles.figure1,'ydatamc1');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+mc1_charge =   get(handles.mc1_charge_edit5,'String');
+mc1_calibre = get(handles.mc1_calibre_edit6,'String');
+mc2_charge =   get(handles.mc2_charge_edit8,'String');
+mc2_calibre = get(handles.mc2_calibre_edit9,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       %ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','ydatamc1','Dfiltre','ResultsStr','log1','log2','log3',...
+            'horodatage',...
+            'mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')
+
+    elseif  isequal(log2,1)
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','y2filtre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')   
+       
+    else
+%         ydata2 = getappdata(handles.figure1,'ydata2'); 
+        save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','y2filtre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre') 
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    set(handles.mc1_charge_edit5,'String',mc1_charge);
+    set(handles.mc1_calibre_edit6,'String',mc1_calibre);
+    set(handles.mc2_charge_edit8,'String',mc2_charge);
+    set(handles.mc2_calibre_edit9,'String',mc2_calibre);
+    setappdata(handles.figure1,'ydata',ydata);
+    setappdata(handles.figure1,'xdata2',xdata2);
+    setappdata(handles.figure1,'xdata',xdata);
+    setappdata(handles.figure1,'ydata2',ydata2);
+    setappdata(handles.figure1,'yfiltre',yfiltre);
+    if isequal(exist('y2filtre'),1)
+        setappdata(handles.figure1,'y2filtre',y2filtre);
+    end
+    set(handles.nom_fichier_edit7,'String',FileName);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+
+    %if isequal(log1,1)
+    plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    
+% %     if isequal(log1,1)
+% %         xlabel('dÃ©placement du mors en mm');
+% %         ylabel('charge normalisÃ©e');
+% %         title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+% %         
+%     elseif isequal(log2,1)
+%         xlabel('courant du dipÃŽle en A');
+%         ylabel('charge normalisÃ©e');
+%         title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+%     else
+        xlabel('dÃ©placement du gap en mm');
+        ylabel('charge normalisÃ©e (qMC2/qMC1)');
+        title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+ %%   end
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+% %     if isequal(log2,1)
+% %         set(handles.Fenfixe_radiobutton2,'Value',1);
+% %         setappdata(handles.figure1,'yfiltre',yfiltre);
+% %         plot(xdata2,ydata,'r',...
+% %              xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+% %         
+% %     elseif isequal(log1,1)
+% %         set(handles.Dipfixe_radiobutton1,'Value',1);
+% %         setappdata(handles.figure1,'Dfiltre',Dfiltre);
+% %         setappdata(handles.figure1,'ydata2',ydata2);
+% %         plot(xdata2(1:sizex-1),ydata2,'r',...
+% %             xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+% %     else
+        
+        set(handles.Gap_radiobutton3,'Value',1);
+        %setappdata(handles.figure1,'yfiltre',yfiltre);
+        
+        if isequal(exist('y2filtre'),1)
+        plot(xdata2,ydata2,'r',...
+             xdata2(1:size(y2filtre,2)),y2filtre(1:size(y2filtre,2)))
+        else 
+            plot(xdata2,ydata2,'r')
+        end
+ %%  end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+  
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+device_name = getappdata(handles.figure1,'device_name');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+
+% balayage du dipole on souhaite replacer le dipole sur la valeur donnant
+% le pic de charge
+elseif isequal(log2,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+    energie = xdata2(Imax);
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    %courant = physics2hw('BEND','Setpoint',energie/1000,[1 1]);
+    courant = xdata(Imax);
+    offset = 0.220;
+    tango_write_attribute(device_name.dipole,'current',courant+offset);
+
+% balayage du gap on souhaite replacer le gap Ã  la valeur 0 tout simplement !
+elseif isequal(log3,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    else
+        tango_write_attribute(device_name.fente,'Position',0)
+    end
+    
+end
+
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
+
+function mc1_charge_edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_charge_edit5 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_charge_edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_charge_edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc1_calibre_edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_calibre_edit6 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_calibre_edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_calibre_edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nom_fichier_edit7_Callback(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nom_fichier_edit7 as text
+%        str2double(get(hObject,'String')) returns contents of nom_fichier_edit7 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nom_fichier_edit7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_charge_edit8_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_charge_edit8 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_charge_edit8 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_charge_edit8_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_calibre_edit9_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_calibre_edit9 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_calibre_edit9 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_calibre_edit9_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/fae_v6.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/fae_v6.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/fae_v6.m	(revision 17)
@@ -0,0 +1,1524 @@
+function varargout = fae_v5(varargin)
+% FAE_V5 M-file for fae_v5.fig
+%      FAE_V5, by itself, creates a new FAE_V5 or raises the existing
+%      singleton*.
+%
+%      H = FAE_V5 returns the handle to a new FAE_V5 or the handle to
+%      the existing singleton*.
+%
+%      FAE_V5('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FAE_V5.M with the given input arguments.
+%
+%      FAE_V5('Property','Value',...) creates a new FAE_V5 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before fae_v5_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to fae_v5_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help fae_v5
+
+% Last Modified by GUIDE v2.5 19-Sep-2005 16:49:42
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @fae_v5_OpeningFcn, ...
+                   'gui_OutputFcn',  @fae_v5_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before fae_v5 is made visible.
+function fae_v5_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to fae_v5 (see VARARGIN)
+
+% Choose default command line output for fae_v5
+handles.output = hObject;
+
+% devices Servers Tango
+device_name.morsdroit = 'lt1/dg/fae-mors.droit'
+device_name.morsgauche = 'lt1/dg/fae-mors.gauche'
+device_name.scan = 'lt1/dg/fae-scan-v2'
+device_name.fente = 'lt1/dg/fae-fente'
+device_name.scan1D = 'lt1/dg/fae-scan1D-v2'
+%device_name.dipole = 'LT1/AEsim/D.1'
+device_name.dipole = 'LT1/AE/D.1'
+setappdata(handles.figure1,'device_name',device_name);
+
+%         % ï¿œtalonnage du dipï¿œle (cette partie pourrait ï¿œtre revue avec les fonctions mml
+%         setappdata(handles.figure1,'B0',0.000119);
+%         setappdata(handles.figure1,'B1',4.8861*0.0001);
+
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+    %'ExecutionMode','fixedRate','Period',1,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fae_timer, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+start(timer1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+%set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+% Update handles structure
+guidata(hObject, handles);
+    
+
+% % taille_spectrum = size(xdata,2)
+
+    
+% % This sets up the initial plot - only do when we are invisible
+% % so window can get raised using fae_v5.
+% if strcmp(get(hObject,'Visible'),'off')
+%     plot(rand(5));
+% end
+
+% UIWAIT makes fae_v5 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = fae_v5_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in NewData_pushbutton1.
+function NewData_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to NewData_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% ACQUISITION
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.scan;
+vectx=tango_read_attribute(dev,'actuatorsData');
+fonction_error;
+xdata = vectx.value;
+setappdata(handles.figure1,'xdata',xdata);
+
+% vecty=tango_read_attribute(dev,'sensors_data');
+% ydata = vecty.value;
+
+dev = device_name.scan1D;
+% lecture des deux mesureurs de charge ensemble
+%- build attribute list
+mc_name_list = {'Sensor1Data', 'Sensor2Data'};
+%- read attributes
+mc_val_list = tango_read_attributes(dev, mc_name_list);
+%- always check error
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+%- store 'Sensor1Data' value in local variable
+ydatamc1 = mc_val_list(1).value;
+%- store 'Sensor2Data' value in local variable
+ydatamc2 = mc_val_list(2).value;
+
+% affichage de la charge et calibre du mesureur 1
+% attention le calibre n'est pour l'instant pas associÃ© Ã  une date... il a
+% pu changer lorsqu'on active le traitement par MATLAB !!!!
+% -> trouver une solution
+set(handles.mc1_charge_edit5,'String',num2str(ydatamc1(1)));
+
+device = 'LT1/DG/MC';
+ict1Gain_val = tango_read_attribute(device,'ict1Gain');
+ict1Gain = ict1Gain_val.value(1);
+ict2Gain_val = tango_read_attribute(device,'ict2Gain');
+ict2Gain = ict2Gain_val.value(1);
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  return;
+end
+set(handles.mc1_calibre_edit6,'String',num2str(ict1Gain));
+set(handles.mc2_calibre_edit9,'String',num2str(ict2Gain));
+
+
+% % setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydatamc1',ydatamc1);
+setappdata(handles.figure1,'ydatamc2',ydatamc2);
+
+% horodatage du scan :
+%     dev = device_name.scan;
+%     res = tango_read_attribute(dev,'measureDate');
+%     %%res = tango_read_attribute('tests/scanserver/1','measureDate');
+%     String1 = datenum('1-January-1970');
+%     % equation correcte :
+%     %String2 = double(res.value)/(60*60*24) + String1;
+%     % equation en attendant la remise Ã  l'heure locale du CPU
+%     String2 = double(res.value + 1*60*60)/(60*60*24) + String1;
+%     date =  datestr(String2,'dd-mmm-yyyy HH:MM:SS');
+
+% modification version scan : plus d'attribut measureDate. fÃ©vrier 08
+traitement_date =  datestr(datenum(now),'dd-mmm-yyyy HH:MM:SS')
+
+% horodatage du scan : en attendant :
+% device_name = getappdata(handles.figure1,'device_name');
+% structure = tango_read_attribute(device_name.dipole,'current');
+% date = datestr(structure.time)
+
+set(handles.horodatage_edit1,'String',traitement_date);
+setappdata(handles.figure1,'Date',traitement_date);
+
+%% AFFICHAGE ET TRAITEMENT
+% on Ã©crase les vecteurs donnÃ©es re - calculÃ©es  (lissÃ©es, Ã©nergie)
+% et le nom de fichier
+nul = [];
+setappdata(handles.figure1,'yfiltre',nul);
+setappdata(handles.figure1,'Dfiltre',nul);
+setappdata(handles.figure1,'xdata2',nul);
+setappdata(handles.figure1,'ydata2',nul);
+set(handles.nom_fichier_edit7,'String',[]);
+
+% test sur type de spectre
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+% normaliser les charges !!
+ydata = ydatamc2./ydatamc1;
+% on remplace les valeurs infinies par 0
+ydata(isnan(ydata))=0;
+
+% calcul de l'Ã©nergie du faisceau / dispersion Ã  la fente d'analyse
+LT1init;
+global THERING;
+AO = getao;
+
+% sauvegarder le mode du simulateur optics_LT1
+mode = getmode('BEND')
+if isequal(mode,'Simulator')
+    switch2online
+end    
+
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [8.1 8.1];
+twissdatain.alpha= [0 0];
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+ETA = cat(2,TD.Dispersion)';
+
+index = atindex(THERING);
+num = index.COLL;
+dispersion = ETA(num,1);
+    
+
+%% cas du dipÃŽle fixe (1 mors actuator)
+if isequal(log1,1)
+    
+%testA    Idip = getam('BEND');
+% %             B0 = getappdata(handles.figure1,'B0');
+% %             B1 = getappdata(handles.figure1,'B1');
+% % 
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     Integrale = B0 + B1 * Idip;
+%     angle = 15 * pi / 180;
+% %             Bro = Integrale / angle
+%     E0 = 0.51099906 ;
+% %             Ec = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 )
+%     Ec = getenergy('Online')*1e3 - E0;
+%%Ec = 100    
+%%Idip = 170
+% en attendant la reconnexion des Ã©quipements, simulation !
+% %     xdata = [-25:0.25:25];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+
+    
+    % test sur une fonction erf pour le spectre integrï¿œ
+% %     z=-200:2:200;
+% %     ydata=(erf(z.*(1/50))-erf(-100.*(1/50)))/(erf(100.*(1/50))-erf(-100.*(1/50)));
+    sizey = size(ydata,2);
+
+    
+% %     % ydatab = donnï¿œes avec bruit superposï¿œ
+% %     coefficient = 0.0003;
+% %     ydatab = ydata+ coefficient *(1./abs(sqrt(ydata))).*randn(size(ydata));
+% %     toto = ydatab(51);
+% %     ydatab(51) = 0;
+    ydatab = ydata;
+    % on dÃ©rive les donnÃ©es bruitï¿œes (Dbruit) 
+    %D = diff(ydata)./diff(xdata);
+    Dbruit = diff(ydatab)./diff(xdata);
+   
+    xdata2 = Ec *(1 - xdata*0.001 /dispersion );
+    xmin = min(xdata2);
+    xmax = max(xdata2);
+    sizex2 = size(xdata2,2);
+     
+    ResultsStr = {['I dipÃŽle [A] = ',num2str(Idip)],...
+        ['Ec sur l''axe [MeV] = ',num2str(Ec)],['D FAE [m] = ',num2str(dispersion)]};
+    set(handles.listbox1,'String',ResultsStr);
+    setappdata(handles.figure1,'Idip',num2str(Idip));
+    setappdata(handles.figure1,'Ecaxe',num2str(Ec));
+    setappdata(handles.figure1,'DFAE',num2str(dispersion));
+    
+    % graphe avec labels et valeurs ligne de transfert dÃ©duits des courants
+    % sur la machine
+    %______________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydatab,'r')    
+    xlim([xmin xmax]);
+    xlabel('dÃ©placement du mors en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    %axis tight  
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %__________________________________________________________________________
+    axes(handles.axes2);
+    cla
+  
+% test largeur gaussienne ï¿œ +/- 1 sigma___________
+% % x = [-25:0.25:25];
+% % variance = 20.25;
+% % imaxx = 0.1;
+% % centrex = 0;
+% % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+% %     
+% % plot(xdata(1:sizex-1),Dbruit,'r',...
+% %     x,g*max(Dbruit)/max(g),'b') 
+% % xlim([min(xdata) max(xdata)]);
+%____________________________________
+
+    plot(xdata2(1:sizex-1),Dbruit,'r');
+    xlim([xmin xmax]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    drawnow;
+    
+    setappdata(handles.figure1,'ydata2',Dbruit);
+    
+    %____________________________________________________________________
+    % calcul de largeur du spectre
+    Itot = max(ydata);
+    Ipartielle = 0;
+    sizey = size(ydata,2);
+    j = 1;
+    i = 1;
+    
+    while abs(Ipartielle/Itot) < 0.3173
+       
+        if (ydatab(sizey-j+1)-ydatab(sizey-j)) < (ydatab(i+1)-ydatab(i))
+            Ipartielle = Ipartielle + (ydatab(sizey-j+1)-ydatab(sizey-j));
+            j = j+1;
+        else
+            Ipartielle = Ipartielle + (ydatab(i+1)-ydatab(i));
+            i = i+1;
+        end
+        
+    end
+    
+    ifinal = i;
+    jfinal = j;
+    Nbpx = sizey - ifinal - jfinal + 2;
+    %pasMeV = xdata2(2) - xdata2(1);
+    pasMeVf = (max(xdata)-min(xdata))/sizex;
+    LargeurMeV = Nbpx * pasMeV;
+    pasmm = xdata(2) - xdata(1);
+    Largeurmm = Nbpx * pasmm;
+    
+    % graphe du mesureur de charge n01
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+end
+
+%% cas de la fente fixe (dipÃŽle actuator)
+if isequal(log2,1)
+    
+    % valeur de gap et du centre du gap
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    structure = tango_read_attribute(device_name.fente,'Position');
+    position = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.1f',abs(resolution));
+    valposition=sprintf('%2.1f',position);
+    
+    %     xdata = [30:230];
+    xmin = min(xdata);
+    xmax = max(xdata);
+    sizex = size(xdata,2);
+    
+    % %     z=-100:100;
+    %     %%1% variance = 0.25;
+    %     variance = 0.001;
+    %     imazz = 1;
+    %     centrez = 30;
+    %     ydata=imazz*exp(-(z/50-centrez/50).*(z/50-centrez/50)/(2*variance));
+    sizey = size(ydata,2);
+    
+    %     % ydatab = donnï¿œes avec bruit superposï¿œ
+    %     %%1% coef = 0.0002;
+    %     %coef = 0.001;
+    %     coef = 0.005;
+    %     %ydatab = ydata+coef*(1./abs(sqrt(ydata))).*randn(size(ydata));
+    %     ydatab = ydata+coef*(1./abs(sqrt(ydata + 0.01))).*randn(size(ydata));
+    ydata2 = ydata;
+    maxydata2 = max(ydata2);
+
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['Position du gap = ',valposition,' mm'],['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    
+%     [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+%     B0 = A(9);
+%     B1 = A(8);
+%     angle = 15 * pi / 180;
+%     E0 = 0.51099906 ;
+%     xdata2 = E0 *  (sqrt(1 + ((B0 + xdata* B1 ).*0.29979/ angle).*...
+%         ((B0 + xdata* B1 ).*0.29979/ angle)/((E0*0.001)*(E0*0.001))) - 1 );
+
+    
+    for i = 1:size(xdata,2)
+            xdata2(i) = 1000 * hw2physics('BEND','Setpoint',xdata(i),[1 1]);
+    end
+    xdata2 = xdata2 * (1 - position*0.001/dispersion);
+    xmin2 = min(xdata2);
+    xmax2 = max(xdata2);
+    sizex2 = size(xdata2,2);
+
+      
+%% PLOT   
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+    % %         % test largeur gaussienne ï¿œ +/- 1 sigma___________
+    % % % %x = [-25:0.25:25];
+    % % x = [30:1:230];
+    % % variance = 625;
+    % % imaxx = 0.1;
+    % % centrex = 160;
+    % % g=imaxx*exp(-(x-centrex).*(x-centrex)/(2*variance));
+    % %     
+    % % plot(xdata(1:sizex),ydatab,'r',...
+    % %     x,g*max(ydatab)/max(g),'b') 
+    % % xlim([min(xdata) max(xdata)]);
+    %____________________________________
+    plot(xdata,ydata,'r');
+    xlim([xmin xmax]);
+    xlabel('courant du dipÃŽle en A');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla   
+    % le calcul de xdata2 doit tenir compte du dï¿œcalage du gap par rapport
+    % Ã  l'axe thÃ©orique (valeur de l'attribut position)
+
+    plot(xdata2,ydata2,'r');
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);    
+    
+% % % %% calcul de largeur du spectre non lissÃ©
+% % %     %Itot = max(yfiltre1)
+% % %     
+% % %     Itot = trapz(xdata2(1:size(ydatab,2)),ydatab(1:size(ydatab,2)));
+% % %     
+% % %     sizey = size(ydatab,2);
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.3173
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:},...
+% % %          [],['Largeur corrigÃ©e du spectre non lissÃ© : (Epeack =' ,sprintf('%2.3f',xdata2(I)),' MeV)'],...
+% % %         ['68 % des e- dans ',val2,' % de Epeack']}';
+% % %     set(handles.listbox1,'String',ResultsStr);
+% % % %     
+% % % %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % %     
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.20
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:}, ...
+% % %         ['80 % des e- dans ',val2,' % de Epeack']}';
+% % %     set(handles.listbox1,'String',ResultsStr);
+% % % %     
+% % % %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+% % % 
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+% % %     dx = xdata2(sizey) - xdata2(sizey - 1);
+% % %     
+% % %     
+% % %     while abs(Ipartielle/Itot) < 0.10
+% % %        
+% % %         if ydatab(sizey-j+1) < ydatab(i+1)
+% % %             Ipartielle = Ipartielle + ydatab(sizey-j)*dx;
+% % %             j = j+1;
+% % %         else
+% % %             Ipartielle = Ipartielle + ydatab(i)*dx;
+% % %             i = i+1;
+% % %         end
+% % %         
+% % %     end
+% % %     
+% % %     ifinal = i;
+% % %     jfinal = j;
+% % %     Nbpxf = sizey - ifinal - jfinal + 2;
+% % %     %pasMeVf = xdata2(2) - xdata2(1);
+% % %     pasMeVf = (max(xdata)-min(xdata))/sizex;
+% % %     LargeurMeVf = Nbpxf * pasMeVf;
+% % %     pasAf = xdata(2) - xdata(1);
+% % %     LargeurAf = Nbpxf * pasAf;
+% % %     
+% % %     
+% % %      [Y,I] = max(ydatab);
+% % %      dpsurp = 100 * LargeurMeVf / xdata2(I);
+% % %      val1=sprintf('%2.2f',dpsurp);
+% % %      %dpsurpcorr = sqrt(dpsurp*dpsurp - 0.5*0.5);
+% % %      dpsurpcorr = sqrt(dpsurp*dpsurp - resolution*resolution);
+% % %      val2=sprintf('%2.2f',dpsurpcorr);
+% % %      ResultsStr = get(handles.listbox1,'String');
+% % %      
+% % %      ResultsStr = {ResultsStr{:}, ...
+% % %         ['90 % des e- dans ',val2,' % de Epeack']}';
+% % %      set(handles.listbox1,'String',ResultsStr);
+% % %    
+
+end
+
+%% cas de la position du gap actuator
+if isequal(log3,1)
+    
+    % valeur de l'aimant et de la largeur du gap
+    % la valeur de l'aimant reprÃ©sente l'Ã©nergie sur l'axe
+    structure = tango_read_attribute(device_name.fente,'Gap');
+    gap = structure.value(1);
+    valgap=sprintf('%2.1f',gap);
+    
+    dev = device_name.dipole;
+    structure = tango_read_attribute(dev,'current');
+    courant = structure.value(1);
+
+    energie = 1000*hw2physics('BEND','Setpoint',courant,[1 1])
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    
+    resolution = 100*gap*1e-3/(dispersion);
+    valresolution = sprintf('%2.2f',abs(resolution));
+    
+    %__________________________________________________________________
+    xdata2 = energie * (1 - xdata.*0.001/dispersion);
+    xmin = min(xdata);xmax = max(xdata);sizex = size(xdata,2);
+    xmin2 = min(xdata2);xmax2 = max(xdata2);sizex2 = size(xdata2,2);
+    sizey = size(ydata,2);
+    
+    %__________________________________________________________________
+    %ydatab = ydata;
+    ydata2 = -ydata./(gap*0.001*xdata2/dispersion);
+    maxydata2 = max(ydata2);
+    % integrale du spectre
+    integraleydata2 = ydatamc1(1) * trapz(xdata2,ydata2);
+    valintegrale = sprintf('%2.2f',integraleydata2)
+    ResultsStr = {['Gap = ',valgap,' mm'],...
+        ['RÃ©solution = ',valresolution,' %']};
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.mc2_charge_edit8,'String',valintegrale);
+    
+%% PLOT
+    %_____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    plot(xdata,ydata,'r')    
+    xlim([xmin xmax]);
+    xlabel('deplacement du gap en mm');
+    ylabel('charge normalisÃ©e (qMC2/qMC1)');
+    title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %_____________________________________________________________________
+    axes(handles.axes2);
+    cla
+    plot(xdata2,ydata2,'r')   
+    xlim([xmin2 xmax2]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre corrigÃ©','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+    
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([xmin2 xmax2]);
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+%%  calcul de largeur du spectre non lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    [Y,I] = max(ydata2);
+    largeur_MeV_1sigma = largeur_pourcentage(xdata2,ydata2,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / xdata2(I);
+    largeur_MeV_80pc = largeur_pourcentage(xdata2,ydata2,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / xdata2(I);
+    largeur_MeV_90pc = largeur_pourcentage(xdata2,ydata2,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / xdata2(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    
+    % option oÃ¹ on n'Ã©crit que les rÃ©sultats pour le spectre lissÃ©
+     set(handles.listbox1,'String',ResultsStr);
+    
+end
+
+    
+setappdata(handles.figure1,'xdata',xdata);
+setappdata(handles.figure1,'xdata2',xdata2);
+setappdata(handles.figure1,'ydata',ydata);
+setappdata(handles.figure1,'ydata2',ydata2);
+
+
+
+
+if isequal(mode,'Simulator')
+    switch2sim
+    test_mode = getmode('BEND')
+end
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Dipfixe_radiobutton1.
+function Dipfixe_radiobutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to Dipfixe_radiobutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Dipfixe_radiobutton1
+
+% cas du dipï¿œle fixe
+% log1=get(handles.Dipfixe_radiobutton1,'Value');
+% log2=get(handles.Fenfixe_radiobutton2,'Value');
+% 
+% if isequal(log1,1)
+
+
+
+% --- Executes on button press in Fenfixe_radiobutton2.
+function Fenfixe_radiobutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Fenfixe_radiobutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Fenfixe_radiobutton2
+
+% labels
+
+
+% --- Executes on button press in Lissage_pushbutton2.
+function Lissage_pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to Lissage_pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% test du mode 
+test_mode = getmode('BEND')
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+xdata = getappdata(handles.figure1,'xdata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+ydatab = getappdata(handles.figure1,'ydata');
+
+ydata2 = getappdata(handles.figure1,'ydata2');
+
+
+xmin = min(xdata);
+xmax = max(xdata);
+xmax2 = max(xdata2);
+sizex = size(xdata,2);
+sizex2 = size(xdata2,2);
+
+%______________________________________________________________________
+axes(handles.axes1);
+hold on
+
+% yfiltre lisse ydata bruitï¿œ
+a=1;
+%windowSize=round(sizex/10)
+%windowSize=round(sizex/20)
+windowSize = str2double(get(handles.WindowSize_edit2,'String'));
+
+b = ones(1,windowSize)/windowSize;
+
+%%%%%%%%%%%%%%%%%%%%%
+yfiltre=filter(b,a,ydatab);
+% yfiltre1 repositionne yfiltre au milieu de la fenï¿œtre windowsize
+yfiltre1=yfiltre(ceil(windowSize/2):sizex);
+%%%%%%%%%%%%%%%%%%%%%
+y2filtre=filter(b,a,ydata2);
+% y2filtre1 repositionne y2filtre au milieu de la fenï¿œtre windowsize
+y2filtre1=y2filtre(ceil(windowSize/2):sizex);
+
+%% PLOT
+plot(...
+xdata(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+%xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+%xlim([xmin xmax]);
+
+legend('donnÃ©es brutes','donnÃ©es lissÃ©es',2);
+legend('boxoff');
+grid on;
+
+%__________________________________________________________________________
+axes(handles.axes2);
+hold on
+% cas du dipï¿œle fixe
+if isequal(log1,1)
+    
+    % on dï¿œrive les donnï¿œes lissï¿œes (Dfiltre)
+
+    %D = diff(ydata)./diff(xdata);
+    Dfiltre = diff(yfiltre1(1:sizex-ceil(windowSize/2)))./diff(xdata(1:sizex-ceil(windowSize/2)));
+    plot(...
+        xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+       % xdata2(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1),'b');
+    %xlim([xmin xmax]);
+    %ylim([min(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1) ) ...
+    %    max(Dfiltre(ceil(windowSize/2):sizex-ceil(windowSize/2)-1))]);
+
+    setappdata(handles.figure1,'Dfiltre',Dfiltre);
+    
+% % %     %____________________________________________________________________
+% % %     % calcul de largeur du spectre
+% % %     Itot = max(yfiltre1);
+% % %     sizey = size(yfiltre1,2);
+% % %     Ipartielle = 0;
+% % %     j = 1;
+% % %     i = 1;
+
+    
+end
+
+% cas du dipï¿œle fixe
+if isequal(log2,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2))); 
+    %xdata(1:size(yfiltre1,2)-ceil(windowSize/2)),yfiltre1(1:size(yfiltre1,2)-ceil(windowSize/2)));    
+    %xlim([xmin xmax]);
+
+% % %     %____________________________________________________________________
+% % %     % calcul de largeur du spectre
+% % %     %Itot = max(yfiltre1)
+% % %     
+% % %     Itot = trapz(xdata2(1:size(yfiltre1,2)),yfiltre1(1:size(yfiltre1,2)));
+% % %     
+
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+end
+
+if isequal(log3,1)
+    
+    % on ï¿œcrase la donnï¿œe Dfiltre
+    setappdata(handles.figure1,'Dfiltre',[]);
+    
+    plot(...
+    xdata2(1:size(y2filtre1,2)),y2filtre1(1:size(y2filtre1,2)));
+
+%%  calcul de largeur du spectre lissÃ©
+    pourcentage_1sigma = 0.3173;
+    pourcentage_80pc = 0.2;
+    pourcentage_90pc = 0.1;
+
+    x = xdata2(1:size(y2filtre1,2));
+    y = y2filtre1;
+    [Y,I] = max(y);
+    largeur_MeV_1sigma = largeur_pourcentage(x,y,pourcentage_1sigma)
+    largeur_MeV_80pc = largeur_pourcentage(x,y,pourcentage_80pc)
+    largeur_MeV_90pc = largeur_pourcentage(x,y,pourcentage_90pc)
+    dpsurp_1sigma = 100 * largeur_MeV_1sigma / x(I);
+    largeur_MeV_80pc = largeur_pourcentage(x,y,pourcentage_80pc)
+    dpsurp_80pc = 100 * largeur_MeV_80pc / x(I);
+    largeur_MeV_90pc = largeur_pourcentage(x,y,pourcentage_90pc)
+    dpsurp_90pc = 100 * largeur_MeV_90pc / x(I);
+
+    valdpsurp_1sigma = sprintf('%2.2f',dpsurp_1sigma)
+    valdpsurp_80pc = sprintf('%2.2f',dpsurp_80pc)
+    valdpsurp_90pc = sprintf('%2.2f',dpsurp_90pc)
+    ResultsStr = get(handles.listbox1,'String');
+    ResultsStr = {ResultsStr{:},...
+    [],['Largeur du spectre lissÃ© : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+    ['68 % des e- dans ',valdpsurp_1sigma,' % de Epeack'],...
+    ['80 % des e- dans ',valdpsurp_80pc,' % de Epeack'],...
+    ['90 % des e- dans ',valdpsurp_90pc,' % de Epeack']}';
+    set(handles.listbox1,'String',ResultsStr);
+end
+
+setappdata(handles.figure1,'yfiltre',yfiltre1);
+setappdata(handles.figure1,'y2filtre',y2filtre1);
+
+function horodatage_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of horodatage_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of horodatage_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function horodatage_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to horodatage_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function WindowSize_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of WindowSize_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of WindowSize_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function WindowSize_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to WindowSize_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_pushbutton6.
+function sauvegarder_pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value')
+
+% Determine file and directory name
+FileName = '1';
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+DirectoryName = getfamilydata('Directory','FAEData');
+
+
+TimeStamp = getappdata(handles.figure1,'Date');
+
+% en attendant le time stamp de Florent
+%TimeStamp = clock;
+
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.nom_fichier_edit7,'String',FileName);
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+xdata = getappdata(handles.figure1,'xdata');
+ydata = getappdata(handles.figure1,'ydata');
+ydata2 = getappdata(handles.figure1,'ydata2');
+xdata2 = getappdata(handles.figure1,'xdata2');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+y2filtre = getappdata(handles.figure1,'y2filtre');
+ydatamc1 = getappdata(handles.figure1,'ydatamc1');
+ResultsStr = get(handles.listbox1,'String');
+horodatage = get(handles.horodatage_edit1,'String');
+mc1_charge =   get(handles.mc1_charge_edit5,'String');
+mc1_calibre = get(handles.mc1_calibre_edit6,'String');
+mc2_charge =   get(handles.mc2_charge_edit8,'String');
+mc2_calibre = get(handles.mc2_calibre_edit9,'String');
+
+try
+    % cas du dipï¿œle fixe
+    if isequal(log1,1)
+       Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+       %ydata2 = getappdata(handles.figure1,'ydata2'); 
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2',...
+            'yfiltre','ydatamc1','Dfiltre','ResultsStr','log1','log2','log3',...
+            'horodatage',...
+            'mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')
+
+    elseif  isequal(log2,1)
+       save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','y2filtre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre')   
+       
+    else
+%         ydata2 = getappdata(handles.figure1,'ydata2'); 
+        save(FileName, 'xdata', 'ydata','xdata2','ydata2','yfiltre','y2filtre','ydatamc1',...
+           'ResultsStr','log1','log2','log3','horodatage','mc1_charge','mc1_calibre','mc2_charge','mc2_calibre') 
+    end
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_pushbutton7.
+function restaurer_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory','FAEData')
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    set(handles.listbox1,'String',ResultsStr);
+    set(handles.horodatage_edit1,'String',horodatage);
+    set(handles.mc1_charge_edit5,'String',mc1_charge);
+    set(handles.mc1_calibre_edit6,'String',mc1_calibre);
+    set(handles.mc2_charge_edit8,'String',mc2_charge);
+    set(handles.mc2_calibre_edit9,'String',mc2_calibre);
+    setappdata(handles.figure1,'ydata',ydata);
+    setappdata(handles.figure1,'xdata2',xdata2);
+    setappdata(handles.figure1,'xdata',xdata);
+    setappdata(handles.figure1,'ydata2',ydata2);
+    setappdata(handles.figure1,'yfiltre',yfiltre);
+    if isequal(exist('y2filtre'),1)
+        setappdata(handles.figure1,'y2filtre',y2filtre);
+    end
+    set(handles.nom_fichier_edit7,'String',FileName);
+    % _____________________________________________________________________
+    axes(handles.axes1);
+    cla
+    
+
+    %if isequal(log1,1)
+    plot(xdata,ydata,'r',...
+            xdata(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)));
+    %else
+       % plot(xdata,ydata,'r',...
+       %     xdata(1:size(yfiltre,2)),yfiltre1(1:size(yfiltre,2))); 
+    %end
+    
+    xlim([min(xdata) max(xdata)]);
+    
+% %     if isequal(log1,1)
+% %         xlabel('dÃ©placement du mors en mm');
+% %         ylabel('charge normalisÃ©e');
+% %         title('intÃ©grale du spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+% %         
+%     elseif isequal(log2,1)
+%         xlabel('courant du dipÃŽle en A');
+%         ylabel('charge normalisÃ©e');
+%         title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+%     else
+        xlabel('dÃ©placement du gap en mm');
+        ylabel('charge normalisÃ©e (qMC2/qMC1)');
+        title('spectre brut','FontAngle','italic','FontSize',12,'FontWeight','bold');
+ %%   end
+    %axis tight
+    
+    legend('donnÃ©es brutes',2);
+    legend('boxoff');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes2);
+    cla
+    
+    sizex = size(xdata2,2);
+
+% %     if isequal(log2,1)
+% %         set(handles.Fenfixe_radiobutton2,'Value',1);
+% %         setappdata(handles.figure1,'yfiltre',yfiltre);
+% %         plot(xdata2,ydata,'r',...
+% %              xdata2(1:size(yfiltre,2)),yfiltre(1:size(yfiltre,2)))
+% %         
+% %     elseif isequal(log1,1)
+% %         set(handles.Dipfixe_radiobutton1,'Value',1);
+% %         setappdata(handles.figure1,'Dfiltre',Dfiltre);
+% %         setappdata(handles.figure1,'ydata2',ydata2);
+% %         plot(xdata2(1:sizex-1),ydata2,'r',...
+% %             xdata2(1:size(Dfiltre,2)),Dfiltre(1:size(Dfiltre,2))); 
+% %     else
+        
+        set(handles.Gap_radiobutton3,'Value',1);
+        %setappdata(handles.figure1,'yfiltre',yfiltre);
+        
+        if isequal(exist('y2filtre'),1)
+        plot(xdata2,ydata2,'r',...
+             xdata2(1:size(y2filtre,2)),y2filtre(1:size(y2filtre,2)))
+        else 
+            plot(xdata2,ydata2,'r')
+        end
+ %%  end
+    xlim([min(xdata2) max(xdata2)]);
+    xlabel('Energie en MeV');
+    ylabel('charge normalisÃ©e (qMC2/qMC1/MeV)');
+    title('spectre','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    %______________________________________________________________________
+    axes(handles.axes3);
+    cla
+  
+    plot(xdata2(1:sizex-1),ydatamc1(1:sizex-1),'b');
+    xlim([min(xdata2) max(xdata2)]);
+    
+    xlabel('Energie en MeV');
+    ylabel('charge (nC)');
+    title('mesureur de charge nÂ°1','FontAngle','italic','FontSize',12,'FontWeight','bold');
+    grid on;
+    drawnow;
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+function repositionner_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of repositionner_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of repositionner_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function repositionner_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to repositionner_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in repositionner_pushbutton8.
+function repositionner_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to repositionner_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% voir si l'on fait un scaling sur les quadrupï¿œles aval ï¿œ D1, de sorte ï¿œ
+% assurer un transport correct jusqu'ï¿œ ARMO
+
+% test si un lissage a ï¿œtï¿œ effectuï¿œ. Su oui le max est pris sur la fonction
+% lissï¿œe sinon sur les donnï¿œes brutes
+log1=get(handles.Dipfixe_radiobutton1,'Value');
+log2=get(handles.Fenfixe_radiobutton2,'Value');
+log3=get(handles.Gap_radiobutton3,'Value');
+
+device_name = getappdata(handles.figure1,'device_name');
+yfiltre = getappdata(handles.figure1,'yfiltre');
+Dfiltre = getappdata(handles.figure1,'Dfiltre'); 
+ydata2 = getappdata(handles.figure1,'ydata2');
+ydata = getappdata(handles.figure1,'ydata');
+xdata2 = getappdata(handles.figure1,'xdata2');
+xdata = getappdata(handles.figure1,'xdata');
+Imax = 0;
+
+if isequal(log1,1)
+    
+    if isequal(Dfiltre,[]) & isequal(ydata2,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(Dfiltre,[])
+        [Y,Imax] = max(ydata2);
+   
+    else 
+        [Y,Imax] = max(Dfiltre);
+    end
+
+% balayage du dipole on souhaite replacer le dipole sur la valeur donnant
+% le pic de charge
+elseif isequal(log2,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    elseif isequal(yfiltre,[])
+        [Y,Imax] = max(ydata);
+    
+    else 
+        [Y,Imax] = max(yfiltre);
+    end
+    energie = xdata2(Imax);
+    set(handles.repositionner_edit3,'String',num2str(energie));
+    %courant = physics2hw('BEND','Setpoint',energie/1000,[1 1]);
+    courant = xdata(Imax);
+    offset = 0.220;
+    tango_write_attribute(device_name.dipole,'current',courant+offset);
+
+% balayage du gap on souhaite replacer le gap Ã  la valeur 0 tout simplement !
+elseif isequal(log3,1)
+    if isequal(yfiltre,[]) & isequal(ydata,[])
+        errordlg('vous n''avez pas rentrÃ© de donnÃ©es !','Attention');
+        return
+    else
+        tango_write_attribute(device_name.fente,'Position',0)
+    end
+    
+end
+
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Mesure de Spectre ?',...
+    'Mesure de Spectre',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --- Executes on button press in zoom1_pushbutton.
+function zoom1_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoom1_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom on
+
+
+% --- Executes on button press in zoomoff_pushbutton.
+function zoomoff_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to zoomoff_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom off
+
+
+
+function mc1_charge_edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_charge_edit5 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_charge_edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_charge_edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_charge_edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc1_calibre_edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc1_calibre_edit6 as text
+%        str2double(get(hObject,'String')) returns contents of mc1_calibre_edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc1_calibre_edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc1_calibre_edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nom_fichier_edit7_Callback(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nom_fichier_edit7 as text
+%        str2double(get(hObject,'String')) returns contents of nom_fichier_edit7 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nom_fichier_edit7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nom_fichier_edit7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_charge_edit8_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_charge_edit8 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_charge_edit8 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_charge_edit8_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_charge_edit8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mc2_calibre_edit9_Callback(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mc2_calibre_edit9 as text
+%        str2double(get(hObject,'String')) returns contents of mc2_calibre_edit9 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mc2_calibre_edit9_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mc2_calibre_edit9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT1/fae/largeur_pourcentage.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae/largeur_pourcentage.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae/largeur_pourcentage.m	(revision 17)
@@ -0,0 +1,34 @@
+function Largeur_MeV = largeur_pourcentage(xdata,ydata,pourcentage)
+
+Itot = trapz(xdata,ydata);
+Ipartielle = 0;
+j = 0;
+i = 1;
+size = length(ydata);
+
+while abs(Ipartielle/Itot) < pourcentage
+ %while abs(Ipartielle/Itot) < 0.3173  
+    if ydata(size-j) < ydata(i)
+        Ipartielle = Ipartielle + ydata(size-j)*(xdata(size-j)-xdata(size-j-1));
+        j = j+1;
+    else
+        Ipartielle = Ipartielle + ydata(i)*(xdata(i+1)-xdata(i));
+        i = i+1;
+    end
+
+end
+
+ifinal = i;
+jfinal = j;
+Largeur_MeV = xdata(size-jfinal)-xdata(ifinal);
+[Y,I] = max(ydata);
+dpsurp = 100 * Largeur_MeV / xdata(I);
+toto = 1;
+
+
+% val=sprintf('%2.2f',dpsurp);
+% ResultsStr = get(handles.listbox1,'String');
+% ResultsStr = {ResultsStr{:},...
+%     [],['Largeur du spectre  : (Epeack = ',sprintf('%2.3f',xdata2(I)),' MeV)'],...
+%     ['68 % des e- dans ',val,' % de Epeack']}';
+% set(handles.listbox1,'String',ResultsStr);
Index: /trunk/machine/SOLEIL/LT1/fae_timer_enattente.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/fae_timer_enattente.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/fae_timer_enattente.m	(revision 17)
@@ -0,0 +1,18 @@
+function fae_timer(arg1,arg2,hObject, eventdata, handles)
+
+
+device_name = getappdata(handles.figure1,'device_name');
+dev=device_name.dipole;
+structure = tango_read_attribute(device_name.dipole,'current');
+Idip = structure.value(1);
+crotte
+B0 = getappdata(handles.figure1,'B0');
+B1 = getappdata(handles.figure1,'B1');
+Integrale = B0 + B1 * Idip;
+angle = 15 * pi / 180;
+Bro = Integrale / angle;
+E0 = 0.512 ;
+energie = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 );
+set(handles.repositionner_edit3,'String',num2str(energie));
+
+disp('on rentre dans mycallback')
Index: /trunk/machine/SOLEIL/LT1/setoperationalmode.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/setoperationalmode.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/setoperationalmode.m	(revision 17)
@@ -0,0 +1,156 @@
+function setoperationalmode(ModeNumber)
+%SETOPERATIONALMODE - Switches between the various operational modes
+%  setoperationalmode(ModeNumber)
+%
+%  INPUTS
+%  1. ModeNumber = 1. 110 MeV, multibunch
+%                  2. LT1 voie directe
+%                  3. 80 MeV, backup Linac
+%
+%                100. Laurent's Mode
+%
+%  See also aoinit, updateatindex, LT1init
+
+%
+% Written by Laurent S. Nadolski
+
+global THERING
+
+% Check if the AO exists
+checkforao;
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Dependent Modes %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if nargin < 1
+    ModeNumber = [];
+end
+if isempty(ModeNumber)
+    ModeCell = {'110 MeV, multibunch', 'LT1 voie directe', '80 MeV, backup Linac', ...
+        'Laurent''s Mode'};
+    [ModeNumber, OKFlag] = listdlg('Name','SOLEIL','PromptString','Select the Operational Mode:', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [450 200]);
+    if OKFlag ~= 1
+        fprintf('   Operational mode not changed\n');
+        return
+    elseif ModeNumber == 4
+        ModeNumber = 100;  % Laurent
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Data Structure %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+AD = getad;
+AD.Machine = 'SOLEIL';            % Will already be defined if setpathmml was used
+AD.MachineType = 'StorageRing';   % Will already be defined if setpathmml was used
+AD.SubMachine  = 'LT1';           % Will already be defined if setpathmml was used
+AD.OperationalMode = '';          % Gets filled in later
+
+
+% Tune processor delay: delay required to wait
+% to have a fresh tune measurement after changing
+% a variable like the RF frequency.  Setpv will wait
+% 2.2 * TuneDelay to be guaranteed a fresh data point.
+AD.BPMDelay  = 0.25; % use [N, BPMDelay]=getbpmsaverages (AD.BPMDelay will disappear)
+AD.TuneDelay = 0.1;
+
+
+% SP-AM Error level
+% AD.ErrorWarningLevel = 0 -> SP-AM errors are Matlab errors {Default}
+%                       -1 -> SP-AM errors are Matlab warnings
+%                       -2 -> SP-AM errors prompt a dialog box
+%                       -3 -> SP-AM errors are ignored (ErrorFlag=-1 is returned)
+AD.ErrorWarningLevel = 0;
+
+%%%%%%%%%%%%%%%%%%%%%
+% Operational Modes %
+%%%%%%%%%%%%%%%%%%%%%
+
+% Mode setup variables (mostly path and file names)
+% AD.OperationalMode - String used in titles
+% ModeName - String used for mode directory name off DataRoot/MachineName
+% OpsFileExtension - string add to default file names
+
+if ModeNumber == 1
+    % LT1 Nominal Lattice
+    AD.OperationalMode = '110 MeV, multibunch';
+    AD.Energy = 0.110; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'bareLT1lattice';
+    OpsFileExtension = '_bareLT1lattice';
+
+    % AT lattice
+    AD.ATModel = 'bareLT1lattice';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    switch2hw;
+
+elseif ModeNumber == 2
+    %  LT1 voie directe - ecran emittance=COLL 
+    AD.OperationalMode = '110 MeV, multibunch';
+    AD.Energy = 0.110; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'LT1emittancelattice';
+    OpsFileExtension = '_LT1emittancelattice';
+
+    % AT lattice
+    AD.ATModel = 'LT1emittancelattice';
+    eval(AD.ATModel);
+
+    switch2hw;
+   
+elseif ModeNumber == 3
+    % User mode - High Tune, Top Off injection
+    error('To be completed');
+    
+elseif ModeNumber == 100
+    % User mode - High Tune, Top Off injection
+    error('To be completed');    
+
+else
+    error('Operational mode unknown');
+end
+
+
+
+% Set the AD directory path
+setad(AD);
+MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension);
+AD = getad;
+
+% SOLEIL specific path changes
+
+ % Top Level Directories
+MMLDATAROOT = getmmldataroot;
+
+AD.Directory.DataRoot       = fullfile(MMLDATAROOT, 'measdata', 'SOLEIL', 'LT1data', filesep);
+AD.Directory.OpsData        = fullfile(MMLDATAROOT, 'machine', 'SOLEIL', 'LT1OpsData', filesep);
+AD.Directory.Lattice        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1', 'Lattices', filesep);
+
+AD.Directory.FAEData        = fullfile(AD.Directory.DataRoot, 'fae', filesep);
+AD.Directory.EMITData       = fullfile(AD.Directory.DataRoot, 'emittance', filesep); 
+AD.Directory.Timing         = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1', 'Timing', filesep);
+
+AD.Directory.ConfigData     = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT1', 'MachineConfig', filesep);
+AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, 'ArchivingData', filesep);
+AD.Directory.Synchro        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'common', 'synchro', filesep);
+
+
+%Operational Files
+AD.OpsData.LatticeFile       = 'GoldenLattice';     %Golden Lattice File (setup for users)
+AD.OpsData.PhysDataFile      = 'GoldenPhysData';
+
+% Circumference
+AD.Circumference = findspos(THERING,length(THERING)+1);
+setad(AD);
+
+% Updates the AT indices in the MiddleLayer with the present AT lattice
+updateatindex;
+
+% Set the model energy
+setenergymodel(AD.Energy);
+
+fprintf('   lattice files have changed or if the AT lattice has changed.\n');
+fprintf('   Middlelayer setup for operational mode: %s\n', AD.OperationalMode);
+
+setad(orderfields(AD));
Index: /trunk/machine/SOLEIL/LT1/twiss_parameters_entry.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/twiss_parameters_entry.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/twiss_parameters_entry.m	(revision 17)
@@ -0,0 +1,166 @@
+function varargout = twiss_parameters_entry(varargin)
+%  TWISS_PARAMETERS_ENTRY - Panel used by LT1_optics for modifying input
+%                           twiss parameters
+% 
+%  Written by M.A Tordeux
+%  Modified by L. Nadolski
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @twiss_parameters_entry_OpeningFcn, ...
+                   'gui_OutputFcn',  @twiss_parameters_entry_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+
+% --- Executes just before twiss_parameters_entry is made visible.
+function twiss_parameters_entry_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to twiss_parameters_entry (see VARARGIN)
+
+% Choose default command line output for twiss_parameters_entry
+handles.output = hObject;
+
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller = varargin{1}.figure1;
+    
+    % Get values from Application-Defined data
+    handles.twissdatain = getappdata(handles.caller, 'twissdatain');
+    handles.axes1=findobj(allchild(handles.caller),'Tag','axes1');
+    handles.popupmenu_x = findobj(allchild(handles.caller), 'Tag','popupmenu_x');
+    handles.popupmenu_y = findobj(allchild(handles.caller), 'Tag','popupmenu_y');
+    % Update handles structure
+    guidata(hObject, handles);
+
+else
+    
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% affichage des valeurs thï¿œoriques de optics
+betax = handles.twissdatain.beta(1);
+betay = handles.twissdatain.beta(2);
+alphax = handles.twissdatain.alpha(1);
+alphay = handles.twissdatain.alpha(2);
+gammax = (1 + alphax * alphax) / betax;
+gammay = (1 + alphay * alphay) / betay;
+
+set(handles.betah_edit,'String',sprintf('%3.2f',betax));
+set(handles.gammah_edit,'String',sprintf('%3.2f',gammax));
+set(handles.alphah_edit,'String',sprintf('%3.2f',alphax));
+set(handles.betav_edit,'String',sprintf('%3.2f',betay));
+set(handles.gammav_edit,'String',sprintf('%3.2f',gammay));
+set(handles.alphav_edit,'String',sprintf('%3.2f',alphay));
+
+function appliquer_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to appliquer_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of appliquer_pushbutton as text
+%        str2double(get(hObject,'String')) returns contents of appliquer_pushbutton as a double
+
+% prise en compte des nouvelles valeurs des paramï¿œtres de Twiss a l'entree
+handles.twissdatain.beta(1) = str2double(get(handles.betah_edit,'String') );
+handles.twissdatain.alpha(1)  = str2double(get(handles.alphah_edit,'String'));
+set(handles.gammah_edit,'String',...
+    sprintf('%3.2f',(1 +handles.twissdatain.alpha(1)*handles.twissdatain.alpha(1))/handles.twissdatain.beta(1) ));
+
+handles.twissdatain.beta(2) = str2double(get(handles.betav_edit,'String') );
+handles.twissdatain.alpha(2)  = str2double(get(handles.alphav_edit,'String'));
+set(handles.gammav_edit,'String',...
+    sprintf('%3.2f',(1 +handles.twissdatain.alpha(2)*handles.twissdatain.alpha(2))/handles.twissdatain.beta(1) ));
+
+setappdata(handles.caller,'twissdatain',handles.twissdatain);
+
+global THERING;
+
+% get twiss paramaters everywhere
+TD = twissline(THERING,0.0,handles.twissdatain,1:length(THERING),'chroma');
+
+handles.beta  = cat(1,TD.beta);
+handles.cod   = cat(2,TD.ClosedOrbit)';
+handles.eta   = cat(2,TD.Dispersion)';
+handles.spos  = cat(1,TD.SPos);
+handles.phase = cat(1,TD.mu);
+
+% lecture des popup menu de optics
+valeur = get(handles.popupmenu_x, 'Value');
+str = get(handles.popupmenu_x, 'String');
+handles.xtype = str{valeur};
+valeur = get(handles.popupmenu_y, 'Value');
+str = get(handles.popupmenu_y, 'String');
+handles.ytype = str{valeur};
+
+% Replot everything
+plot_axes(handles,handles.ytype);
+%mat
+        ylim([0 130]);
+%-----------------------------------------------------------------------
+function plot_axes(handles,quoi)
+%%% fonction generique
+
+axes(handles.axes1); cla; hold on;
+
+switch handles.xtype
+    case 'spos'
+        x=handles.(handles.xtype);
+    case 'phase'
+        x=handles.(handles.xtype); x = x(:,1);
+end
+
+switch quoi
+    case 'beta'
+        plot(x,handles.beta(:,1),'r.-'); 
+        plot(x,handles.beta(:,2),'b.-'); 
+        ylabel('\beta (m)');
+        %mat
+        ylim([0 130]);
+    case 'eta'        
+        plot(x,handles.eta(:,1),'r.-');
+        plot(x,handles.eta(:,3),'b.-');
+        ylabel('\eta (m)');
+    case 'cod'        
+        plot(x,handles.cod(:,1)*1e3,'r.-');
+        plot(x,handles.cod(:,3)*1e3,'b.-');
+        ylabel('cod (mm)');
+    case 'phase'        
+        plot(x,handles.phase(:,1),'r.-');
+        plot(x,handles.phase(:,2),'b.-');
+        ylabel('phase ');
+end
+axis([x(1) x(end) -inf inf]);
+datalabel on
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = twiss_parameters_entry_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;  % ???
+%disp('c''est fini')
Index: /trunk/machine/SOLEIL/LT1/updateatindex.m
===================================================================
--- /trunk/machine/SOLEIL/LT1/updateatindex.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT1/updateatindex.m	(revision 17)
@@ -0,0 +1,81 @@
+function updateatindex
+%UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)
+
+%
+% Adapted by Laurent S. Nadolski
+
+global THERING
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Append Accelerator Toolbox information %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Since changes in the AT model could change the AT indexes, etc,
+% It's best to regenerate all the model indices whenever a model is loaded
+
+% Sort by family first (findcells is linear and slow)
+Indices = atindex(THERING);
+
+AO = getao;
+
+% CORRECTORS
+try
+    %% HORIZONTAL CORRECTORS
+    ifam = ('CH');
+    AO.(ifam).AT.ATType  = ifam;
+    AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+
+    %% VERTICAL CORRECTORS
+    ifam = ('CV');
+    AO.(ifam).AT.ATType  = ifam;
+    AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+catch
+    warning('Corrector family not found in the model.');
+end
+
+
+% QUADRUPOLES
+try
+    ifam = 'QP';
+    AO.(ifam).AT.ATType  = 'QUAD';
+    AO.(ifam).AT.ATIndex = eval(['Indices.' ifam '(:)']);
+    AO.(ifam).AT.ATIndex = reshape(AO.(ifam).AT.ATIndex,2,7)';
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+catch
+    warning('%s family not found in the model.',ifam);
+end
+
+% BEND
+
+try
+    ifam = ('BEND');
+    AO.(ifam).AT.ATType  = ifam;
+    ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, sort(ATIndex));
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+catch
+    warning('BEND family not found in the model.');
+end
+
+setao(AO);
+
+% Set TwissData at the start of TL1
+try
+    % BTS twiss parameters at the input
+    TwissData.alpha = [0 0]';
+    TwissData.beta  = [8.1 8.1]';
+    TwissData.mu    = [0 0]';
+    TwissData.ClosedOrbit = [0 0 0 0]';
+    TwissData.dP = 0;
+    TwissData.dL = 0;
+    TwissData.Dispersion  = [0 0 0 0]';
+
+    setpvmodel('TwissData', '', TwissData);  % Same as, THERING{1}.TwissData = TwissData;
+
+catch
+    warning('Setting the twiss data parameters in the MML failed.');
+end
Index: /trunk/machine/SOLEIL/LT2/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/LT2/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+MachineConfig
Index: /trunk/machine/SOLEIL/LT2/LT2init.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/LT2init.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/LT2init.m	(revision 17)
@@ -0,0 +1,695 @@
+function LT2init(OperationalMode)
+% LT2INIT - Contructs an accelerator Object describing LT2
+%
+% Written by Laurent S. Nadolski, Synchrotron SOLEIL
+%
+%==========================
+% Accelerator Family Fields
+%==========================
+% FamilyName            CH, CV, QP, Bend
+% CommonNames           Shortcut name for each element
+% DeviceList            [Sector, Number]
+% ElementList           number in list
+% Position              m, magnet center
+%
+% MONITOR FIELD
+% Mode                  online/manual/special/simulator
+% TangoNames            Tango device name for monitor
+% Units                 Physics or HW
+% HW2PhysicsFcn         function handle used to convert from hardware to physics units ==> inline will not compile, see below
+% HW2PhysicsParams      parameters used for conversion function
+% Physics2HWFcn         function handle used to convert from physics to hardware units
+% Physics2HWParams      parameters used for conversion function
+% HWUnits               units for Hardware 'ampere';
+% PhysicsUnits          units for physics 'Rad';
+% Handles               monitor handle
+%
+% SETPOINT FIELDS
+% Mode                  online/manual/special/simulator
+% TangoNames            PV for monitor
+% Units                 hardware or physics
+% HW2PhysicsFcn         function handle used to convert from hardware to physics units
+% HW2PhysicsParams      parameters used for conversion function
+% Physics2HWFcn         function handle used to convert from physics to hardware units
+% Physics2HWParams      parameters used for conversion function
+% HWUnits               units for Hardware 'ampere';
+% PhysicsUnits          units for physics 'Rad';
+% Range                 minsetpoint, maxsetpoint;
+% Tolerance             setpoint-monitor
+% Handles               setpoint handle
+%
+%=============================================
+% Accelerator Toolbox Simulation Fields
+%=============================================
+% ATType                Quad, Sext, etc
+% ATIndex               index in THERING
+% ATParameterGroup      parameter group
+%
+%============
+% Family List
+%============
+%    CH
+%    CV
+%    BEND
+%    QP
+%    Machine Parameters
+%
+%  See Also aoinit, setoperationalmode, updateatindex, setpathsoleil
+
+%==============================
+%load AcceleratorData structure
+%==============================
+
+if nargin < 1
+    OperationalMode = 1;
+end
+
+global GLOBVAL THERING
+
+Mode             = 'online';
+setad([]);       %clear AcceleratorData memory
+AD.SubMachine    = 'LT2'; % Machine Name
+AD.Energy        = 2.75 ; % Energy in GeV
+
+
+setad(AD);   %load AcceleratorData
+
+%%%%%%%%%%%%%%%%%%%%
+% ACCELERATOR OBJECT
+%%%%%%%%%%%%%%%%%%%%
+
+setao([]);   %clear previous AcceleratorObjects
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% BPM data
+% status field designates if BPM in use
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = 'BPMx';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'BPM';
+AO.(ifam).MemberOf                 = {'BPM'; 'HBPM'; 'PlotFamily'; 'Archivable'};
+AO.(ifam).Monitor.Mode             = Mode;
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'mm';
+AO.(ifam).Monitor.PhysicsUnits     = 'meter';
+
+nb = 3;
+AO.(ifam).DeviceList =[1 1; 1 2; 1 3]; 
+AO.(ifam).ElementList = (1:nb)';
+AO.(ifam).DeviceName(:,:)               = {'LT2/DG/BPM.1'; 'LT2/DG/BPM.2'; 'LT2/DG/BPM.3'};
+AO.(ifam).Monitor.TangoNames(:,:)       = strcat(AO.(ifam).DeviceName, '/XPosSA');
+AO.(ifam).CommonNames(:,:)              = [repmat('BPMx',nb,1) num2str((1:nb)','%03d')];
+
+AO.(ifam).Status                        = ones(nb,1);
+AO.(ifam).Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(nb,1);
+AO.(ifam).Monitor.Physics2HWParams(:,:) = 1e3*ones(nb,1);
+
+% 2 lignes ajoutes pour test debug bpm versus le reste du monde
+AO.(ifam).Monitor.Handles(:,1)       = NaN*ones(nb,1);
+AO.(ifam).Monitor.DataType         = 'Scalar';
+
+
+% Vertical plane
+ifam = 'BPMz'; 
+AO.(ifam) = AO.BPMx; % the same as BPMx
+% except those fields
+AO.(ifam).MemberOf                 = {'BPM'; 'VBPM'; 'PlotFamily'; 'Archivable'};
+AO.(ifam).FamilyName              = ifam;
+AO.(ifam).Monitor.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/ZPosSA');
+AO.(ifam).CommonNames(:,:) = [repmat('BPMz',nb,1) num2str((1:nb)','%03d')];
+
+% 2 lignes ajoutes pour test debug bpm versus le reste du monde
+AO.(ifam).Monitor.DataType         = 'Scalar';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+
+AO.(ifam).Status = AO.(ifam).Status(:);
+AO.(ifam).Status = AO.(ifam).Status(:);
+
+
+setao(AO); % mandatory to avoid empty AO message with magnetcoefficients
+
+%% Dipole
+ifam = 'BEND';
+
+AO.(ifam).FamilyName             = 'BEND';
+AO.(ifam).MemberOf               = {'MachineConfig'; 'Magnet'; 'BEND'; 'Archivable'};
+AO.(ifam).Mode                   = Mode;
+AO.(ifam).DeviceName{1}          = 'LT2/AE/D.1';
+AO.(ifam).CommonNames{1}         = 'DIP';
+AO.(ifam).Monitor.Range(:,:)     = [0 580];
+AO.(ifam).DeviceList(1,:)        = [1 1];
+AO.(ifam).ElementList            = 1;
+AO.(ifam).Status                 = 1;
+AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/currentPM');
+AO.(ifam).Monitor.ModelVal       = 0;
+AO.(ifam).Monitor.TangoVal       = 0;
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN;
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.HW2PhysicsFcn  = @bend2gev;
+AO.(ifam).Monitor.Physics2HWFcn  = @gev2bend;
+setao(AO);
+
+[C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired  = AO.(ifam).Monitor;
+
+%% Quadrupoles QP
+ifam = 'QP';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'MachineConfig'; 'Magnet'; 'QUAD'; 'Archivable'};
+AO.(ifam).Mode                   = Mode;
+
+for ik = 1:7    
+    AO.(ifam).DeviceName{ik}  = ['LT2/AE/Q.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+AO.(ifam).Monitor.Range(:,:)     = [0 270;-270 0;-270 0;0 270;0 270;-270 0;0 270]; %
+nb                               = length(AO.(ifam).DeviceName);
+AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');
+
+AO.(ifam).Status                 = ones(nb,1);
+AO.(ifam).Monitor.ModelVal       = zeros(1,nb);
+AO.(ifam).Monitor.TangoVal       = AO.(ifam).Monitor.ModelVal;
+AO.(ifam).ElementList            = 1:nb;
+
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+
+C = magnetcoefficients(AO.(ifam).FamilyName);
+
+for ii=1:nb,
+    if ii == 2 || ii == 3 || ii == 6
+        % Defocusing quads
+        AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+        AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+    else
+        % Focusing quad
+        AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C;
+        AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C;
+    end
+end
+
+%AO.(ifam).Monitor.Range(:,:) = repmat([-5 5],nb,1); % 10 A for 0.8 mrad
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentPM');
+
+
+% %% Quadrupoles QF
+% ifam = 'QF';
+% 
+% AO.(ifam).FamilyName             = ifam;
+% AO.(ifam).MemberOf               = {'MachineConfig'; 'Magnet'; 'QP'; 'Archivable'};
+% AO.(ifam).Mode                   = Mode;
+% 
+% for ik = 1:7    
+%     AO.(ifam).DeviceName{ik}  = ['LT2/AE/Q.' num2str(ik)];
+%     AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];
+%     AO.(ifam).DeviceList(ik,:) = [1 ik];
+% end
+% AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+% AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+% 
+% nb                               = length(AO.(ifam).DeviceName);
+% AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');
+% AO.(ifam).Status                 = ones(nb,1);
+% AO.(ifam).Monitor.ModelVal       = zeros(1,nb);
+% AO.(ifam).Monitor.TangoVal       = AO.(ifam).Monitor.ModelVal;
+% AO.(ifam).ElementList            = 1:nb;
+% 
+% AO.(ifam).Monitor.Mode           = Mode;
+% AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+% AO.(ifam).Monitor.DataType       = 'Scalar';
+% AO.(ifam).Monitor.Units          = 'Hardware';
+% AO.(ifam).Monitor.HWUnits        = 'ampere';
+% AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+% AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+% AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+% 
+% C = magnetcoefficients(AO.(ifam).FamilyName);
+% 
+% for ii=1:nb,
+%     if ii == 2 || ii == 3 || ii == 6
+%         % Defocusing quads
+%         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+%         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+%     else
+%         % Focusing quad
+%         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C;
+%         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C;
+%     end
+% end
+% 
+% %AO.(ifam).Monitor.Range(:,:) = repmat([-5 5],nb,1); % 10 A for 0.8 mrad
+% AO.(ifam).Setpoint = AO.(ifam).Monitor;
+% AO.(ifam).Desired = AO.(ifam).Monitor;
+% 
+% 
+% %% Quadrupoles QD
+% ifam = 'QD';
+% 
+% AO.(ifam).FamilyName             = ifam;
+% AO.(ifam).MemberOf               = {'MachineConfig'; 'Magnet'; 'QP'; 'Archivable'};
+% AO.(ifam).Mode                   = Mode;
+% 
+% for ik = 1:7    
+%     AO.(ifam).DeviceName{ik}  = ['LT2/AE/Q.' num2str(ik)];
+%     AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];
+%     AO.(ifam).DeviceList(ik,:) = [1 ik];
+% end
+% AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+% AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+% 
+% nb                               = length(AO.(ifam).DeviceName);
+% AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');
+% AO.(ifam).Status                 = ones(nb,1);
+% AO.(ifam).Monitor.ModelVal       = zeros(1,nb);
+% AO.(ifam).Monitor.TangoVal       = AO.(ifam).Monitor.ModelVal;
+% AO.(ifam).ElementList            = 1:nb;
+% 
+% AO.(ifam).Monitor.Mode           = Mode;
+% AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+% AO.(ifam).Monitor.DataType       = 'Scalar';
+% AO.(ifam).Monitor.Units          = 'Hardware';
+% AO.(ifam).Monitor.HWUnits        = 'ampere';
+% AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+% AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+% AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+% 
+% C = magnetcoefficients(AO.(ifam).FamilyName);
+% 
+% for ii=1:nb,
+%     if ii == 2 || ii == 3 || ii == 6
+%         % Defocusing quads
+%         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+%         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+%     else
+%         % Focusing quad
+%         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C;
+%         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C;
+%     end
+% end
+% 
+% %AO.(ifam).Monitor.Range(:,:) = repmat([-5 5],nb,1); % 10 A for 0.8 mrad
+% AO.(ifam).Setpoint = AO.(ifam).Monitor;
+% AO.(ifam).Desired = AO.(ifam).Monitor;
+% 
+
+
+%% Horizontal Correctors
+ifam = 'CH';
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).MemberOf             = {'MachineConfig'; 'Magnet'; 'HCM'; 'CH'; 'Archivable'};
+
+for ik = 1:3    
+    AO.(ifam).DeviceName{ik}  = ['LT2/AE/CH.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+
+
+nb                         = length(AO.(ifam).DeviceName);
+AO.(ifam).Monitor.Range(:,:)     = repmat([-8 8],nb,1);
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/current');
+AO.(ifam).Status               = ones(nb,1);
+AO.(ifam).Monitor.ModelVal     = zeros(1,nb);
+AO.(ifam).Monitor.TangoVal     = AO.(ifam).Monitor.ModelVal;
+AO.(ifam).ElementList           = 1:nb;
+
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+[C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+%AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/currentPM');
+
+%% Vertical Correctors
+ifam = 'CV';
+
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).MemberOf             = {'MachineConfig'; 'Magnet'; 'VCM'; 'CV'; 'Archivable'};
+AO.(ifam).Mode                 = Mode;
+
+for ik = 1:5,
+    AO.(ifam).DeviceName{ik}  = ['LT2/AE/CV.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+
+nb                             = length(AO.(ifam).DeviceName);
+AO.(ifam).Monitor.Range(:,:)     = repmat([-8 8
+    ],nb,1);
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/current');
+AO.(ifam).Status               = ones(nb,1);
+AO.(ifam).Monitor.ModelVal     = zeros(1,nb);
+AO.(ifam).Monitor.TangoVal     = AO.(ifam).Monitor.ModelVal;
+AO.(ifam).ElementList          = 1:nb;
+
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+[C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+%AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/currentPM');
+setao(AO);
+
+%%%%%%%%%%%%%%%%%%
+%% CYCLAGE
+%%%%%%%%%%%%%%%%%
+
+%% cycleramp For dipole magnet
+ifam = 'CycleBEND';
+ifamQ = 'BEND';
+
+AO.(ifam).FamilyName             = 'CycleBEND';
+AO.(ifam).MemberOf               = {'CycleBEND'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/D','/cycleD');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+AO.(ifam).GroupId                = tango_group_create('Dipole'); 
+AO.(ifam).DeviceName             = 'LT2/AE/cycleD.1';
+%add devices to group
+tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName);
+%AO.(ifam).Inom = 180;
+AO.(ifam).Imax = 580;
+AO.(ifam).Status = 1;
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(7,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+
+
+%% cycleramp For H-corrector magnets
+ifam = 'CycleCH';
+ifamQ = 'CH';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleCOR'; 'CycleCH'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/C','/cycleC');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+%add devices to group
+AO.(ifam).GroupId                = tango_group_create('COR'); 
+tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+AO.(ifam).Inom = [1 2 3];
+AO.(ifam).Imax = 7.9*ones(1,3);
+AO.(ifam).Status = ones(3,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(3,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% cycleramp For V-corrector magnets
+ifam = 'CycleCV';
+ifamQ = 'CV';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleCOR'; 'CycleCV'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/C','/cycleC');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+%add devices to group
+AO.(ifam).GroupId                = tango_group_create('COR'); 
+tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+%AO.(ifam).Inom = [1 2 3];
+AO.(ifam).Imax = 7.9*ones(1,5);
+AO.(ifam).Status = ones(5,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(5,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% cycleramp For quadrupoles magnets
+ifam = 'CycleQP';
+ifamQ = 'QP';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+%add devices to group
+AO.(ifam).GroupId                = tango_group_create('Quadrupole'); 
+tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+nb = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = [274  -349  -274  274  274  -274  274 ];
+AO.(ifam).Status = ones(7,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(7,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'radian';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+% %%%%%%%%%%%%%%%%%%
+% %%% Diagnostics
+% %%%%%%%%%%%%%%%%%%
+% 
+% %% Charge Monitor - Moniteur de charge
+% ifam = 'MC';
+% 
+% AO.(ifam).FamilyName             = 'MC';
+% AO.(ifam).MemberOf               = {'Diag'; 'MC'; 'Archivable'};
+% AO.(ifam).Mode                   = Mode;
+% AO.(ifam).DeviceName             = {'LT2/DG/MC'; 'LT2/DG/MC'};
+% AO.(ifam).CommonNames            = ['mc1';'mc2';];
+% AO.(ifam).DeviceList(:,:)        = [1 1; 1 2];
+% AO.(ifam).ElementList            = [1 2]';
+% AO.(ifam).Status                 = [1 1]';
+% AO.(ifam).Monitor.TangoNames     = [strcat(AO.(ifam).DeviceName(1,:), '/qIct1'); ...
+%                                     strcat(AO.(ifam).DeviceName(2,:), '/qIct2')];
+% AO.(ifam).Monitor.Mode           = Mode;
+% AO.(ifam).Monitor.Handles(:,1)   = [NaN; NaN]';
+% AO.(ifam).Monitor.DataType       = 'Vector';
+% AO.(ifam).Monitor.Units          = 'Hardware';
+% AO.(ifam).Monitor.HWUnits        = 'nC';
+% AO.(ifam).Monitor.PhysicsUnits   = 'nC';
+% AO.(ifam).Monitor.HW2PhysicsParams = 1.0;
+% AO.(ifam).Monitor.Physics2HWParams = 1.0;
+
+%%%%%%%%%%%%%%%%%%
+%% Vacuum system
+%%%%%%%%%%%%%%%%%%
+
+%% IonPump
+ifam = 'PI';
+AO.(ifam).FamilyName           = 'PI';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'IonPump'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+for ik = 1:15    
+    if ik >= 10
+        AO.(ifam).DeviceName{ik}  = ['LT2/VI/PI.' num2str(ik)];
+    else
+        AO.(ifam).DeviceName{ik}  = ['LT2/VI/PI.0' num2str(ik)];
+    end
+    AO.(ifam).CommonNames{ik} = ['PI' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+
+nb = size(AO.(ifam).DeviceList,1);
+AO.(ifam).Status                   = ones(nb,1);
+AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%% PenningGauge
+ifam = 'JPEN';
+AO.(ifam).FamilyName           = 'JPEN';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'PenningGauge'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+for ik = 1:3 
+    AO.(ifam).DeviceName{ik}  = ['LT2/VI/JPEN.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = ['JPEN' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+
+nb = size(AO.(ifam).DeviceList,1);
+AO.(ifam).Status                   = ones(nb,1);
+AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%% PenningGauge
+ifam = 'JPIR';
+AO.(ifam).FamilyName           = 'JPIR';
+AO.(ifam).MemberOf             = {'PlotFamily'; 'PiraniGauge'; 'Pressure'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+for ik = 1:3    
+    AO.(ifam).DeviceName{ik}  = ['LT2/VI/JPIR.' num2str(ik)];
+    AO.(ifam).CommonNames{ik} = ['JPIR' num2str(ik)];
+    AO.(ifam).DeviceList(ik,:) = [1 ik];
+end
+
+nb = size(AO.(ifam).DeviceList,1);
+AO.(ifam).Status                   = ones(nb,1);
+AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+AO.(ifam).ElementList              = (1:nb)';
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';   
+AO.(ifam).Monitor.HWUnits          = 'mBar';
+AO.(ifam).Monitor.PhysicsUnits     = 'mBar';
+
+%% Synchronisation
+% ifam = 'SYNC'
+% AO.(ifam).FamilyName           = 'SYNC';
+% AO.(ifam).MemberOf             = {'Timing'};
+% AO.(ifam).Monitor.Mode         = Mode;
+% AO.(ifam).Monitor.DataType     = 'Scalar';
+% 
+% AO.(ifam).DeviceName{ik}  = ['LT2/VI/JPIR.' num2str(ik)];
+% 
+% AO.(ifam).Monitor.HWUnits      = 's';
+
+setao(AO);
+
+% The operational mode sets the path, filenames, and other important params
+% Run setoperationalmode after most of the AO is built so that the Units and Mode fields
+% can be set in setoperationalmode
+
+setoperationalmode(OperationalMode);
+
+
+%======================================================================
+%======================================================================
+%% Append Accelerator Toolbox information
+%======================================================================
+%======================================================================
+disp('** Initializing Accelerator Toolbox information');
+
+AO = getao;
+
+ATindx = atindex(THERING);  %structure with fields containing indices
+
+s = findspos(THERING,1:length(THERING)+1)';
+
+%% HORIZONTAL CORRECTORS
+ifam = ('CH');
+AO.(ifam).AT.ATType  = ifam;
+AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+
+%% VERTICAL CORRECTORS
+ifam = ('CV');
+AO.(ifam).AT.ATType  = ifam;
+AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex); 
+
+%% BENDING magnets
+ifam = ('BEND');
+AO.(ifam).AT.ATType  = ifam;
+AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+AO.(ifam).Position   = reshape(s(AO.(ifam).AT.ATIndex),1,4);
+
+%% QUADRUPOLES
+ifam = 'QP';
+AO.(ifam).AT.ATType  = 'QUAD';
+AO.(ifam).AT.ATIndex = eval(['ATindx.' ifam '(:)']);
+AO.(ifam).AT.ATIndex = reshape(AO.(ifam).AT.ATIndex,1,7)';
+AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+
+
+% %% QUADRUPOLES
+% ifam = 'QF';
+% AT.(ifam).AT.ATType  = 'QUAD';
+% AT.(ifam).AT.ATIndex = eval(['ATindx.' ifam '(:)']);
+% AT.(ifam).AT.ATIndex = reshape(AT.(ifam).AT.ATIndex,1,4)';
+% AT.(ifam).Position   = s(AT.(ifam).AT.ATIndex);
+% 
+% %% QUADRUPOLES
+% ifam = 'QD';
+% AT.(ifam).AT.ATType  = 'QUAD';
+% AT.(ifam).AT.ATIndex = eval(['ATindx.' ifam '(:)']);
+% AT.(ifam).AT.ATIndex = reshape(AT.(ifam).AT.ATIndex,1,3)';
+% AT.(ifam).Position   = s(AT.(ifam).AT.ATIndex);
+
+% Save AO
+setao(AO);
+
+if iscontrolroom
+    switch2online;
+else
+    switch2sim;
+end
Index: /trunk/machine/SOLEIL/LT2/LT2setup.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/LT2setup.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/LT2setup.m	(revision 17)
@@ -0,0 +1,74 @@
+function LT2setup
+%LT2SETUP - GUI for doing LT2 setup
+
+%
+% Written by Laurent S. Nadolski
+
+AD = getad;
+
+if isempty(AD) 
+    LT2init;
+elseif ~strcmpi(AD.SubMachine,'LT2')
+    LT2init;
+end
+
+orbfig = findobj(allchild(0),'tag','LT2setup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+orbfig = findobj(allchild(0),'tag','LT2setup'); 
+
+
+kmax = 4; % button number
+
+height = 10 + kmax*30 + 30; %670;
+a = figure('Color',[0.8 0.8 0.8], ...
+    'Interruptible', 'on', ...   
+    'HandleVisibility','off', ...
+    'MenuBar','none', ...
+    'Name', 'LT2 Command Launcher', ...
+    'NumberTitle','off', ...
+    'Units','pixels', ...
+    'Position',[5 70 210*2 height], ...
+    'Resize','off', ...
+    'Tag','LT2setup');
+
+height = height - 35;
+
+for k = 1:kmax,
+    b1(k) = uicontrol('Parent',a, ...
+        'Position',[3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b2(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+set(b1(1), 'Callback','disp([''   LT2init;'']); cd(getenv(''MLROOT'')); setpathsoleil(''LT2'');', 'String','LT2init');
+set(b1(2), 'Callback','disp([''   Fichiers de Consignes;'']); configgui;;', 'String','Fichiers de Consignes');
+% same programme for LT1 and LT2 cycling
+set(b1(3), 'Callback','disp([''   LT2cycling;'']);LT1cycling', 'String','Cyclage');
+set(b1(4), 'Callback','disp([''   Timing;'']); synchro_injecteur7;', 'String','Synchronisation dÃ©finitive');
+set(b2(1), 'Callback','optics_LT1_LT2;', 'String','OPTIQUE');
+set(b2(2), 'Callback','disp([''   Emittance'']);emittance_v15;', 'String','Emittance');
+
+b = uicontrol('Parent',a, ...
+    'Callback','close all', ...
+    'String','Close All Figures', ...
+    'Position',[3 height-kmax*30 204 27], ...
+    'Userdata',[], ...
+    'Interruptible', 'off', ...   
+    'Tag','button2');
+
+b = uicontrol('Parent',a, ...
+    'Callback','diary off; close(get(findobj(gcbf,''Tag'',''button1''),''Userdata''));', ...
+    'Position',[3 + 210 height-kmax*30 204 27], ...
+    'String','CLOSE', ...
+    'Userdata',a, ...
+    'Interruptible', 'off', ...   
+    'Tag','button1');
+
Index: /trunk/machine/SOLEIL/LT2/Lattices/LT2lattice.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/Lattices/LT2lattice.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/Lattices/LT2lattice.m	(revision 17)
@@ -0,0 +1,183 @@
+function LT2lattice
+% Lattice definition file
+% Lattice for LT2
+%
+% Laurent S. Nadolski, SOLEIL, 03/04
+% 17/01/06 Pass method for bend is obsolete in new AT
+
+global FAMLIST THERING GLOBVAL
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+disp(['** Loading lattice in ' mfilename])
+
+%% markers           
+%% Ecrans
+ECR1 =  marker('BPM', 'IdentityPass');
+ECR_EMIT =  marker('BPM', 'IdentityPass');
+ECR2 =  marker('BPM', 'IdentityPass');
+ECR3 =  marker('BPM', 'IdentityPass');
+BPM1 =  marker('BPM', 'IdentityPass');
+BPM2 =  marker('BPM', 'IdentityPass');
+BPM3 =  marker('BPM', 'IdentityPass');
+% %% perturbateurs
+% KICKQD =  marker('KICKQD', 'IdentityPass');
+% PERTM =  marker('PERTM', 'IdentityPass');
+% emittance
+EMIT  = marker('EMITTANCE', 'IdentityPass');
+%% divers
+FIN =  marker('FIN', 'IdentityPass');
+DEBUT =  marker('DEBUT', 'IdentityPass');
+
+%% DRIFT SPACES
+ SD1  = drift('SD1', 0.100000E+00,'DriftPass');
+ SD2    = drift('SD2', 0.493000E+01,'DriftPass');
+ SD20    = drift('SD20', 0.116250E+01,'DriftPass');
+ %SD20A    = drift('SD20A', 2.125,'DriftPass');
+ SD20A    = drift('SD20A', 1.975,'DriftPass');
+ SD22A    = drift('SD20A', 0.30,'DriftPass');
+ SD21     = drift('SD21', 0.354250E+01,'DriftPass');
+ %SD21A    = drift('SD21A', 1.3201,'DriftPass');
+ SD21A    = drift('SD21A', 1.1701,'DriftPass');
+ SD21AB    = drift('SD21AB',0.554,'DriftPass');
+ SD21ABBP  = drift('SD21ABBP', 0.350,'DriftPass');
+ SD22      = drift('SD22', 0.255500E+01,'DriftPass');
+ SD22B     = drift('SD22B', 0.355900E+00,'DriftPass');
+ SD31      = drift('SD31', 0.100000E+01,'DriftPass');
+ SD32      = drift('SD32', 0.176000E+01,'DriftPass');
+ SD32A     = drift('SD32A',0.210,'DriftPass');
+ SD33      = drift('SD33', 0.130000E+01,'DriftPass');
+ SD33A     = drift('SD33A', 0.120000E+01,'DriftPass');
+ SD34      = drift('SD34', 0.310000E+01,'DriftPass');
+ SD4       = drift('SD4', 0.500000E+00,'DriftPass');
+ SD5        = drift('SD5', 0.100000E+01,'DriftPass');
+ SD5G       = drift('SD5G', 0.775000E+00,'DriftPass');
+ SD5G1     = drift('SD5G1', 0.387500E+00,'DriftPass');
+ SD51      = drift('SD5G1', 0.500000E+00,'DriftPass');
+ SD6       = drift('SD6', 0.691715E+01,'DriftPass');
+ SD6A      = drift('SD6A', 0.502831E+01,'DriftPass');
+ SD6AGBP   = drift('SD6AGBP',0.450,'DriftPass');
+ SD6AG     = drift('SD6AG', 0.435331E+01,'DriftPass');
+ SD6AB     = drift('SD6AB', 0.300000E+00,'DriftPass');
+ SD6B      = drift('SD6B', 0.151524E+01,'DriftPass');
+ SD61      = drift('SD61', 0.700000E+00,'DriftPass');
+ SD62      = drift('SD62', 0.700000E+00,'DriftPass');
+ SD62B     = drift('SD62B', 0.600000E+00,'DriftPass');
+ SD63      = drift('SD63', 0.126260E+01,'DriftPass');
+ SD7       = drift('SD7', 0.147000E+01,'DriftPass');
+ SD7G      = drift('SD7G', 0.124500E+01,'DriftPass');
+ SDG       = drift('SDG', 0.225000E+00,'DriftPass');
+ SD8       = drift('SD8',  0.100000E+01,'DriftPass');
+ SD8G      = drift('SD8G', 0.775000E+00,'DriftPass');
+ SD81      = drift('SD81', 0.500000E+00,'DriftPass');
+ SD9       = drift('SD9',0.100000E+01,'DriftPass');
+ SD10      = drift('SD10', 0.620000E+01,'DriftPass');
+ SD101     = drift('SD101', 0.291500E+01,'DriftPass');
+ SD102      = drift('SD102', 0.133530E+01,'DriftPass');
+ SD101E    = drift('SD101E', 0.200000E+01,'DriftPass');
+ SD102E    = drift('SD102E', 0.684700E+00,'DriftPass');
+ SD103     = drift('SD103', 0.181000E+01,'DriftPass');
+ SD11      = drift('SD11', 0.799977E+00,'DriftPass');
+ DRIFT      = drift('DRIFT', 0.200000E+02,'DriftPass');
+
+%% QUADRUPOLES 
+L= 0.4;
+% focalisation sans les champs de fuite dans les dipoles
+% QP1  =  quadrupole('QP', L, 0.1004788E+01  , 'QuadLinearPass');
+% QP2  =  quadrupole('QP', L, -.6306412E+00 , 'QuadLinearPass');
+% QP3  =  quadrupole('QP', L, -.7193035E+00  , 'QuadLinearPass');
+% QP4  =  quadrupole('QP', L, 0.1047543E+01  , 'QuadLinearPass');
+% QP5  =  quadrupole('QP', L,  0.9431380E+00   , 'QuadLinearPass');
+% QP6  =  quadrupole('QP', L, -.1152734E+01  , 'QuadLinearPass');
+% QP7  =  quadrupole('QP', L,  0.6238244E+00  , 'QuadLinearPass');
+
+% % focalisation avec champ de fuite dans les dipoles - betax = 10.8 m entrÃ©e ANNEAU
+% QP1  =  quadrupole('QP', L, 0.40371/L  , 'QuadLinearPass');
+% QP2  =  quadrupole('QP', L, -.25738/L , 'QuadLinearPass');
+% QP3  =  quadrupole('QP', L, -.29429/L  , 'QuadLinearPass');
+% QP4  =  quadrupole('QP', L, 0.42088/L  , 'QuadLinearPass');
+% QP5  =  quadrupole('QP', L,  0.37640/L   , 'QuadLinearPass');
+% QP6  =  quadrupole('QP', L, -.46712/L  , 'QuadLinearPass');
+% QP7  =  quadrupole('QP', L,  0.25389/L  , 'QuadLinearPass');
+
+% focalisation avec champ de fuite dans les dipoles - betax = 3 m entrÃ©e ANNEAU
+QP1  =  quadrupole('QP', L, 0.31134/L  , 'QuadLinearPass');
+QP2  =  quadrupole('QP', L, -.18935/L , 'QuadLinearPass');
+QP3  =  quadrupole('QP', L, -.29986/L  , 'QuadLinearPass');
+QP4  =  quadrupole('QP', L, 0.40561/L  , 'QuadLinearPass');
+QP5  =  quadrupole('QP', L,  0.35898/L   , 'QuadLinearPass');
+QP6  =  quadrupole('QP', L, -.43423/L  , 'QuadLinearPass');
+QP7  =  quadrupole('QP', L,  0.21242/L  , 'QuadLinearPass');
+
+
+% Q1 = [QP1 QP1];
+% Q2 = [QP2 QP2];
+% Q3 = [QP3 QP3];
+% Q4 = [QP4 QP4];
+% Q5 = [QP5 QP5];
+% Q6 = [QP6 QP6];
+% Q7 = [QP7 QP7];
+% EN attente d'elements coupes en deux
+
+
+%% Vertical Correctors 
+CV  =  corrector('CV',0.0,[0 0],'CorrectorPass');
+
+%% Horizontal Correctors 
+CH  =  corrector('CH',0.0,[0 0],'CorrectorPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+theta = 0.193789E+00;  % radian
+%fullgap = 0.105*0.724*2/6*1.3815;
+BEND  =  rbend('BEND', 1.052435,  ...
+    theta, theta/2, theta/2, 0.0, ...
+                'BendLinearPass');
+
+%% {** septa booster **}
+% beta_gap=0.03/6;
+% tracy_gap=beta_gap*0.724*2;
+% theta = -7.5*pi/180;
+% fullgap= 0.03/6*0.724*2; %*1.3815;
+
+% SEP     = rbend2('SEP', L,  theta, theta/2, theta/2, 0.0, fullgap, 'BendLinearPass');
+% SEPup   = rbend2('SEPup', L/2, theta/2, theta/2, 0.0, 0.0,  fullgap, 'BendLinearPass');
+% SEPdown = rbend2('SEPdown', L/2, theta/2, 0.0, theta/2, 0.0,  fullgap, 'BendLinearPass');
+
+L_sep_A = 0.50; theta_sep_A = 0.550000E-01; % radian
+L_sep_P = 0.60; theta_sep_P = 0.2374000E-01; % radian
+SEP_A_1    = rbend('SEP_A_1', L_sep_A,  theta_sep_A, 0, theta_sep_A, 0.0,  'BendLinearPass');
+SEP_A_2    = rbend('SEP_A_2', L_sep_A,  theta_sep_A,  theta_sep_A,0,  0.0,  'BendLinearPass');
+SEP_P    = rbend('SEP_A_2', L_sep_P,  theta_sep_P,  theta_sep_P,0,  0.0,  'BendLinearPass');
+
+
+% Begin Lattice
+%%  Superperiods  
+
+LINE1 = [...
+ SD20A    CV       SD22A...
+ CV      SD21A     SD21AB    SD21ABBP       ECR1 ...
+ SD22B     CH      SDG       QP1            SD31 ...
+ QP2      SD32A    SD32      BEND           SD33 ...
+ SD33A   ECR_EMIT  SD34      BEND           SD4  ...    
+ QP3       SDG       CV      SD5G1          SD5G1 ...
+ QP4       SDG       CH      SD6AGBP        SD6AG ...
+ SD6AB     BPM1      SD6B    BEND           SD63 ...
+ BEND      SD7G      CH      SDG            QP5   ...
+ SD81     BPM2       SD81    QP6            SDG  ...
+ CV       SD8G      QP7      SD101E          CV  ...
+ SD102E   SD102     BPM3     ECR2          SD103 ...
+ SEP_A_1  SD1       SEP_A_2  SD11          SEP_P ...
+ ECR3...
+       ];
+
+
+
+ELIST = [DEBUT, LINE1, FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+disp('** Done **');
Index: /trunk/machine/SOLEIL/LT2/aoinit.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/aoinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/aoinit.m	(revision 17)
@@ -0,0 +1,44 @@
+function aoinit(SubMachineName)
+%AOINIT - Initialization function for the Matlab Middle Layer (MML)
+%
+%
+%  See Also soleilinit, setpathsoleil 
+
+% Written by Laurent S. Nadolski
+
+
+if exist('SubMachineName', 'var') && ~strcmpi(SubMachineName, 'LT2')
+    error('Wrong SubMachine %s', SubMachineName)
+end
+
+% The path should not be modified in standalone mode
+if ~isdeployed_local
+
+    MMLROOT = getmmlroot;
+    MMLDATAROOT = getmmldataroot;
+    
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2OpsData'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2', 'Lattices'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2', 'emittance'));
+
+    % Make sure mml is high on the path
+    addpath(fullfile(MMLROOT, 'mml'),'-begin');
+
+    disp(['TANGO/MATLAB binding version: ' tango_version])
+    disp('Startup file for Matlab Middle Layer read with success');
+
+end
+
+% Initialize the MML for machine
+
+LT2init;
+
+function RunTimeFlag = isdeployed_local
+% isdeployed is not in matlab 6.5
+V = version;
+if str2double(V(1,1)) < 7
+    RunTimeFlag = 0;
+else
+    RunTimeFlag = isdeployed;
+end
Index: /trunk/machine/SOLEIL/LT2/emittance/ellipse_v15.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/ellipse_v15.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/ellipse_v15.m	(revision 17)
@@ -0,0 +1,380 @@
+function varargout = ellipse_v15(varargin)  % EN COURS !!!!!!
+% ellipse_v15 M-file for ellipse_v15.fig
+%      ellipse_v15, by itself, creates a new ellipse_v15 or raises the existing
+%      singleton*.
+%
+%      H = ellipse_v15 returns the handle to a new ellipse_v15 or the handle to
+%      the existing singleton*.
+%
+%      ellipse_v15('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ellipse_v15.M with the given input arguments.
+%
+%      ellipse_v15('Property','Value',...) creates a new ellipse_v15 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before ellipse_v15_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to ellipse_v15_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help ellipse_v15
+
+% Last Modified by GUIDE v2.5 26-Aug-2004 16:51:56
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @ellipse_v15_OpeningFcn, ...
+                   'gui_OutputFcn',  @ellipse_v15_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before ellipse_v15 is made visible.
+function ellipse_v15_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to ellipse_v15 (see VARARGIN)
+
+% Choose default command line output for ellipse_v15
+
+% Choose default command line output for test_1
+handles.output = hObject;
+
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller3 = varargin{1}.figure1;
+    
+    % Get values from Application-Defined data
+    handles.energie_edit38=findobj(allchild(handles.caller3),'Tag','energie_edit38');
+   %Ã¹ IQ = getam('QP');
+    
+    twissx = getappdata(handles.caller3,'Twissx');
+    twissy = getappdata(handles.caller3,'Twissy');
+    epsx = sqrt(twissx(1)*twissx(2)-twissx(3)*twissx(3));
+    epsy = sqrt(twissy(1)*twissy(2)-twissy(3)*twissy(3));
+    
+    % calcul de l'ellipse en amont du quad 4 :
+    alphax = -twissx(3)/epsx;
+    betax = twissx(1)/epsx;
+    gammax = twissx(2)/epsx;
+    % xint = sqrt(epsx *epsx  / twissx(2));
+    % ymax = max(max(y1),max(y2));
+    % EPSX = xint * ymax
+    % disp('c''est incroyable')
+    
+    alphay = -twissy(3)/epsy;
+    betay = twissy(1)/epsy;
+    gammay = twissy(2)/epsy;
+    
+    
+    
+    
+    % calcul de l'ellipse en amont de LT1 (point d'entrï¿œe de la ligne de "optics_LT1") :  
+    global THERING
+    index = atindex(THERING);
+    
+    energie = str2double(get(handles.energie_edit38,'String'))
+    setenergymodel(energie/1000);
+    ao = getao;
+    valQ = getam('QP');
+    % ï¿œ introduire quand OK
+    setsp('QP',valQ,'model');
+    
+    % en attente de dï¿œbogage k2amp
+    %%valD = getam('BEND');
+    %%energie = bend2GeV('BEND',valD);
+    %
+    
+    
+    
+    %%setsp('BEND',valD,'model');
+    indQ = ao.QP.AT.ATIndex;
+    lastind = indQ(4,1);
+    res = inverseline(THERING , lastind ,  betax , betay ,- alphax ,- alphay );
+    betax0 = res(1,1);
+    betay0 = res(1,2);
+    alphax0 = res(2,1);
+    alphay0 = res(2,2);
+    gammax0 = (1 + alphax0*alphax0) / betax0 ;
+    gammay0 = (1 + alphay0*alphay0) / betay0 ;
+
+    % ï¿œcrire resultats en entrï¿œe de ligne thï¿œorique
+    Namebeta = strcat('beta_edit',num2str((5-1)*3 + 1));
+    Namegamma = strcat('gamma_edit',num2str((5-1)*3 + 2));
+    Namealpha = strcat('alpha_edit',num2str((5-1)*3 + 3));
+    set(handles.(Namebeta),'String',sprintf('%3.2f',betax0));
+    set(handles.(Namegamma),'String',sprintf('%3.2f',gammax0));
+    set(handles.(Namealpha),'String',sprintf('%3.2f',-alphax0));
+    
+    Namebeta = strcat('beta_edit',num2str((6-1)*3 + 1));
+    Namegamma = strcat('gamma_edit',num2str((6-1)*3 + 2));
+    Namealpha = strcat('alpha_edit',num2str((6-1)*3 + 3));
+    set(handles.(Namebeta),'String',sprintf('%3.2f',betay0));
+    set(handles.(Namegamma),'String',sprintf('%3.2f',gammay0));
+    set(handles.(Namealpha),'String',sprintf('%3.2f',-alphay0));
+    
+    %%% parameters at the entrance of the line
+    twissdatain.ElemIndex=1;
+    twissdatain.SPos=0;
+    twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+    twissdatain.M44=eye(4);
+    twissdatain.beta= [betax0 betay0];
+    twissdatain.alpha= -[alphax0 alphay0];
+    twissdatain.mu= [0 0];
+    twissdatain.Dispersion= [0 0 0 0]';
+
+    index = atindex(THERING);
+    
+    ECR0 = index.BPM(1);
+    ECR1 = index.BPM(2);
+    FAE = index.COLL ;
+    
+    %%% get twiss paramaters at typical points
+    TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+    
+    betaxECR0 = TD(ECR0).beta(1);
+    alphaxECR0 = TD(ECR0).alpha(1);
+    gammaxECR0  = (1 + alphaxECR0*alphaxECR0) / betaxECR0;
+    betayECR0 = TD(ECR0).beta(2);
+    alphayECR0 = TD(ECR0).alpha(2);
+    gammayECR0  = (1 + alphayECR0*alphayECR0) / betayECR0;
+    
+    betaxECR1 = TD(ECR1).beta(1);
+    alphaxECR1 = TD(ECR1).alpha(1);
+    gammaxECR1  = (1 + alphaxECR1*alphaxECR1) / betaxECR1;
+    betayECR1 = TD(ECR1).beta(2);
+    alphayECR1 = TD(ECR1).alpha(2);
+    gammayECR1  = (1 + alphayECR1*alphayECR1) / betayECR1;
+    
+    
+    graphe(1,epsx,betaxECR0,alphaxECR0,gammaxECR0,handles);
+    graphe(3,epsy,betayECR0,alphayECR0,gammayECR0,handles);
+    graphe(2,epsx,betaxECR1,alphaxECR1,gammaxECR1,handles);
+    graphe(4,epsy,betayECR1,alphayECR1,gammayECR1,handles);
+    
+    % ici erreur : on prend la date de construction de l'ellipse et non pas
+    % le moment de la prise des donnÃ©es... bon..
+    set(handles.date_edit32,'String',datestr(clock,29));
+    set(handles.energie_edit33,'String',Str2num(get(handles.energie_edit38,'String')));
+    set(handles.emitH_edit34,'String',num2str(epsx*1e6));
+    set(handles.emitV_edit35,'String',num2str(epsy*1e6));
+    
+    % Update handles structure
+    guidata(hObject, handles);
+
+else
+    
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes ellipse_v15 wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+
+% 
+% --- Outputs from this function are returned to the command line.
+function varargout = ellipse_v15_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;  % ???
+
+
+
+% % --- Executes on button press in pushbutton1.
+% function recommencer_pushbutton1_Callback(hObject, eventdata, handles)
+% % hObject    handle to pushbutton1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+function beta_edit1_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit4_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit7_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit10_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit13_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit16_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit2_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit5_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit8_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit11_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit14_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit17_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit3_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit6_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit9_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit12_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit15_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit18_Callback(hObject, eventdata, handles)
+% NE FAIT RIEN
+
+function beta_edit1_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit4_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit7_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit10_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit13_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function beta_edit16_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit2_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit5_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit8_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit11_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit14_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function gamma_edit17_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit3_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit6_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit9_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit12_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit15_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+function alpha_edit18_CreateFcn(hObject, eventdata, handles)
+% NE FAIT RIEN
+
+
+
+
+
+
+function twissdebut = inverseline(THERING,lastind,betax0,betay0,alphax0,alphay0)
+% inversion de la partie droite de LT1 
+
+global INVSTRAIGHTLINE;
+INVSTRAIGHTLINE = { };
+for i=1:lastind-1
+    INVSTRAIGHTLINE{i} = THERING{lastind-i};
+end
+twissdatain.ElemIndex=1;
+twissdatain.SPos=0;
+twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+twissdatain.M44=eye(4);
+twissdatain.beta= [betax0 betay0];
+twissdatain.alpha= [alphax0 alphay0];
+
+% tests
+%twissdatain.beta= [23.247 7.9566];
+%twissdatain.alpha= [10.946 -5.2186];
+%wissdatain.beta= [9.4707   18.0971];
+%twissdatain.alpha= [-6.9443    7.9509];
+
+twissdatain.mu= [0 0];
+twissdatain.Dispersion= [0 0 0 0]';
+
+%%% get twiss paramaters
+TD = twissline(INVSTRAIGHTLINE,0.0,twissdatain,1:length(INVSTRAIGHTLINE),'chroma');
+twissdebut(1,:) = TD(end).beta;
+twissdebut(2,:) = TD(end).alpha;
+
+
+function graphe(naxe,epsilon,beta,alpha,gamma,handles)
+
+name=['axes' num2str(naxe)];
+axes(handles.(name)); %axis image ; 
+
+xx = -sqrt(epsilon * beta):sqrt(epsilon * beta)/50:sqrt(epsilon * beta);
+zx1 = - alpha * xx / beta + sqrt(epsilon * beta - xx.*xx) / beta;
+zx2 = - alpha * xx / beta - sqrt(epsilon * beta - xx.*xx) / beta;
+
+plot(xx*1000,real(zx1*1000),'r',xx*1000,real(zx2*1000),'r')
+xlim([-5 5]);
+%ylim([-5 5]);
+
+Namebeta = strcat('beta_edit',num2str((naxe-1)*3 + 1));
+Namegamma = strcat('gamma_edit',num2str((naxe-1)*3 + 2));
+Namealpha = strcat('alpha_edit',num2str((naxe-1)*3 + 3));
+set(handles.(Namebeta),'String',sprintf('%3.2f',beta));
+set(handles.(Namegamma),'String',sprintf('%3.2f',gamma));
+set(handles.(Namealpha),'String',sprintf('%3.2f',alpha));
Index: /trunk/machine/SOLEIL/LT2/emittance/emittance_v15.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/emittance_v15.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/emittance_v15.m	(revision 17)
@@ -0,0 +1,4948 @@
+function varargout = emittance_v2(varargin)
+% EMITTANCE_V2 M-file for emittance_v2.fig
+%      EMITTANCE_V2, by itself, creates a new EMITTANCE_V2 or raises the existing
+%      singleton*.
+%
+%      H = EMITTANCE_V2 returns the handle to a new EMITTANCE_V2 or the handle to
+%      the existing singleton*.
+%
+%      EMITTANCE_V2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in EMITTANCE_V2.M with the given input arguments.
+%
+%      EMITTANCE_V2('Property','Value',...) creates a new EMITTANCE_V2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before emittance_v2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to emittance_v2_OpeningFcn via varargin.
+%
+
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help emittance_v2
+
+% Last Modified by GUIDE v2.5 20-May-2005 09:14:01
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @emittance_v2_OpeningFcn, ...
+                   'gui_OutputFcn',  @emittance_v2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before emittance_v2 is made visible.
+function emittance_v2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to emittance_v2 (see VARARGIN)
+
+% initialisation de l'ACCELERATOR_OBJECT
+%lt2init
+
+% creation nouveau champ
+handles.output = hObject;
+handles.number_errors=0.;
+handles.nbsigmas=0;
+
+%essai
+%handles.nbremove=0;
+handles.nbrestore=0;
+
+val=0;
+faisc=[];
+st= struct([]);
+cellule=cell(1,1);
+%st2= struct([]);99
+%st3=struct([]);
+handles.Sauver=struct([]);
+vect_colonne_noire=[];
+vect_ligne_noire=[];
+directory_principale='';
+directory_sauvegarde='';
+setappdata(handles.figure1,'tailles',faisc);
+setappdata(handles.figure1,'nbenregistrs',2);
+setappdata(handles.figure1,'ResultsData',st);
+setappdata(handles.figure1,'nbenregistremen99ts',st);
+setappdata(handles.figure1,'Sauver',st);
+setappdata(handles.figure1,'Ecran',cellule);
+setappdata(handles.figure1,'largeur_option',val);
+setappdata(handles.figure1,'vect_colonne_noire',vect_colonne_noire);
+setappdata(handles.figure1,'vect_ligne_noire',vect_ligne_noire);
+setappdata(handles.figure1, 'G',0.043);
+% initialisation drapeau pour dialogue 'sauvegarde sur disque' ____
+setappdata(handles.figure1,'init_sauvegarde',val);
+% directory principale (dï¿œpend de l'utilisateur !!!)
+setappdata(handles.figure1,'directory_principale',directory_principale);
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+handles.nbenregistrs=getappdata(handles.figure1,'nbenregistrs')
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',.333,'TasksToExecute',Inf);
+timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+% button group sur l'image en continu
+h = uibuttongroup('visible','off','Position',[0.05 .9 .12 .08],...
+    'Title','Image','TitlePosition','centertop');
+u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[2 .9 45 30],'parent',h,'HandleVisibility','off');
+u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+    'pos',[50 .9 45 30],'parent',h,'HandleVisibility','off');
+
+% set(h,'SelectionChangeFcn',@selcbk);
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u2);  % No selection
+set(h,'Visible','on');
+
+% positionne par dÃ©faut la lentille basse (plus de sensibilitÃ© pour les rÃ©glages)
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+%%%if strcmp(get(hObject,'Visible'),'off')
+%%%    initialize_gui(hObject, handles);
+%%%end
+
+% UIWAIT makes emittance_v2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = emittance_v2_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% % --- Executes during object creation, after setting all properties.
+
+initialize_gui(gcbf, handles);
+
+function initialize_gui(fig_handle, handles)
+
+
+%____________________________________________________________________
+% dï¿œfinir les alias pour les devices 
+device_name.videograbber = 'lt2/dg/emit-vg';
+device_name.iris = 'lt2/dg/emit-iris';
+device_name.lentille_haute = 'lt2/dg/emit-l.haut';
+device_name.lentille_basse = 'lt2/dg/emit-l.bas';
+device_name.miroir = 'lt2/dg/emit-mc';
+device_name.backlight = 'lt2/dg/emit-bl';
+device_name.ecran = 'lt2/dg/emit-ecr';
+device_name.Q1 = 'lt2/AE/Q.1';
+device_name.Q2 = 'lt2/AE/Q.2';
+device_name.Q3 = 'lt2/AE/Q.3';
+device_name.Q4 = 'lt2/AE/Q.4';
+device_name.H1 = 'lt2/AE/CH.1';
+device_name.H2 = 'lt2/AE/CH.2';
+device_name.V1 = 'lt2/AE/CV.1';
+setappdata(handles.figure1,'device_name',device_name);
+
+%____________________________________________________________________
+% directory de sauvegarde en attente
+
+%uibuttongroup
+%     prompt={'entrez votre directory de travail'};
+%     name='DIRECTORY PRINCIPALE';
+%     numlines=1;
+%     defaultanswer={'/home/PM/tordeux/matlab_test/'};
+% 
+%     options.Resize='on';
+%     options.WindowStyle='normal';
+%     options.Interpreter='tex';
+%     nom=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     if ~isempty(nom)
+%         setappdata(handles.figure1,'directory_principale',nom{:});
+%     end
+% 
+%     directory_principale=getappdata(handles.figure1,'directory_principale');
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/lt2data/';
+directory_principale = getfamilydata('Directory','EMITData');
+phrase=strcat(directory_principale ,'?');
+set(handles.directory_sauvegarde_edit28,'String',phrase);
+setappdata(handles.figure1,'directory_principale',directory_principale);
+
+%____________________________________________________________________
+% inscrire les courants effectifs des aimants de la machine
+
+% valQ1= (read_magnet(device_name.Q1)); 
+% set(handles.Q1courant_edit,'String',sprintf('%3.2f',valQ1));
+% resQ1 = str2double(get(handles.Q1courant_edit,'String'));
+% setappdata(handles.figure1,'Q1courant',resQ1);
+% 
+% valQ2= (read_magnet(device_name.Q2)); 
+% set(handles.Q2courant_edit,'String',sprintf('%3.2f',valQ2));
+% resQ2 = str2double(get(handles.Q2courant_edit,'String'));
+% setappdata(handles.figure1,'Q2courant',resQ2);
+% 
+% valQ3= (read_magnet(device_name.Q3)); 
+% set(handles.Q3courant_edit,'String',sprintf('%3.2f',valQ3));
+% resQ3 = str2double(get(handles.Q3courant_edit,'String'));
+% setappdata(handles.figure1,'Q3courant',resQ3);
+% 
+% valQ4= (read_magnet(device_name.Q4)); 
+% set(handles.Q4courant_edit,'String',sprintf('%3.2f',valQ4));
+% resQ4 = str2double(get(handles.Q4courant_edit,'String'));
+% setappdata(handles.figure1,'Q4courant',resQ4);
+% 
+% valH1= (read_magnet(device_name.H1)); 
+% set(handles.H1courant_edit,'String',sprintf('%3.2f',valH1));
+% resH1 = str2double(get(handles.H1courant_edit,'String'));
+% setappdata(handles.figure1,'H1courant',resH1);
+% 
+% valH2= (read_magnet(device_name.H2)); 
+% set(handles.H2courant_edit,'String',sprintf('%3.2f',valH2));
+% resH2 = str2double(get(handles.H2courant_edit,'String'));
+% setappdata(handles.figure1,'H2courant',resH2);
+% 
+% valV1= (read_magnet(device_name.V1)); 
+% set(handles.V1courant_edit,'String',sprintf('%3.2f',valV1));
+% resV1 = str2double(get(handles.V1courant_edit,'String'));
+% setappdata(handles.figure1,'V1courant',resV1);
+
+%____________________________________________________________________
+% insrire une valeur par dï¿œfaut de calibration ???
+set(handles.G_edit12,'String',num2str(43));
+clear('figh');
+
+%____________________________________________________________________
+% mettre off le bouton calibration de l'image
+set([handles.calibOFF_radiobutton6],'Value',1);
+
+%____________________________________________________________________
+% exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+ handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+ handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+ ,handles.backlight_popupmenu3,...
+ handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+ handles.qualite_edit23,handles.G_edit12,...
+    handles.pos1_edit29,handles.pos2_edit30...
+    handles.text45,handles.text39,handles.text26,handles.text41...
+    handles.calib_pushbutton7],'Enable','off')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+%____________________________________________________________________
+% positionner le miroir HORS, eteindre le backlight
+% tango_command_inout('lt2/emit/mirror','Off');
+% tango_command_inout('lt2/emit/backlight','SetBrightness',uint16(0));
+% miroir LT2 : dï¿œfaut cï¿œblage. Provisoirement on ï¿œchange commande dans
+% MATLAB et non pas dans le DServer
+%tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.miroir,'On');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+%___________________________________________________________________
+% position des lentilles pour les differents grandissements, en nombre de pas
+setappdata(handles.figure1,'posl1Gmax',3000);
+setappdata(handles.figure1,'posl2Gmax',34600);
+setappdata(handles.figure1,'posl1Gmoy',8000);
+setappdata(handles.figure1,'posl2Gmoy',19500);
+setappdata(handles.figure1,'posl1Gmin',0);
+setappdata(handles.figure1,'posl2Gmin',3046);
+
+%____________________________________________________________________
+% positionner les voyants des butï¿œes lentilles ï¿œ leur valeur vraies
+
+%dev=device_name.lentille_haute;
+dev=device_name.lentille_haute;
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+
+% errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+% errorstatus=3  limitswitch forward
+% errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+% errorstatus=4  limitswitch backward
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(handles.LHBH_edit25,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(handles.LHBB_edit24,'BackgroundColor','red');
+        end
+
+end         
+
+
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(handles.LBBH_edit26,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(handles.LBBB_edit27,'BackgroundColor','red');
+        end
+end           
+
+
+%____________________________________________________________________
+% allumer en rouge le grandissement effectif
+
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+
+dev1=device_name.lentille_haute;
+dev2=device_name.lentille_basse;
+
+str1=tango_read_attribute(dev1,'AxisCurrentPosition');
+str2=tango_read_attribute(dev2,'AxisCurrentPosition');
+position1=str1.value(1);
+position2=str2.value(1);
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas du grandissement max
+        if isequal(position1,posl1Gmax)&isequal(position2,posl2Gmax)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement moyen
+        if isequal(position1,posl1Gmoy)&isequal(position2,posl2Gmoy)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement min
+        if isequal(position1,posl1Gmin)&isequal(position2,posl2Gmin)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        end
+
+end           
+
+%________________________________________________________________________
+% ï¿œcrire les valeurs effectives de positions des lentilles
+
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+
+% --- Executes during object creation, after setting all properties.
+function lent1_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lent1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% du temps ou il y avait des sliders....
+%         % --- Executes on slider movement.
+%         function lent1_slider1_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_slider1 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent1_edit5,'String',...
+%             num2str(get(handles.lent1_slider1,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent1_edit5_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+
+
+%         function lent1_edit5_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent1_edit5 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent1_edit5 as a double
+% 
+% 
+%         val = str2double(get(handles.lent1_edit5,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent1_slider1,'Min') & ...
+%             val <= get(handles.lent1_slider1,'Max')
+%             set(handles.lent1_slider1,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent1_edit5,'String',...
+%             ['Caramba ',...
+%         %num2str(handles.number_errors),' Times']);
+%             '']);
+%         end
+% 
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_slider2_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: slider controls usually have a light gray background, change
+%         %       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+%         usewhitebg = 1;
+%         if usewhitebg
+%             set(hObject,'BackgroundColor',[.9 .9 .9]);
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+%         % --- Executes on slider movement.
+%         function lent2_slider2_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent2_emitV_edit19,'String',...
+%             num2str(get(handles.lent2_slider2,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_emitV_edit19_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+% 
+%         function lent2_emitV_edit19_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent2_emitV_edit19 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent2_emitV_edit19 as a double
+% 
+%         val = str2double(get(handles.lent2_emitV_edit19,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent2_slider2,'Min') & ...
+%             val <= get(handles.lent2_slider2,'Max')
+%             set(handles.lent2_slider2,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent2_emitV_edit19,'String',...
+%             ['Zut ',...
+%         %num2str(handles.number_errors),'']);
+%             '']);
+%         end
+
+% --- Executes on button press in calib_pushbutton7.
+function calib_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to calib_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% alias
+device_name=getappdata(handles.figure1,'device_name');
+dev=device_name.videograbber;
+
+% % % 
+tango_command_inout(dev,'Calibrate');
+%ATTENTION PEUT ETRE ATTRIBUTS  AVEC un SSSSS
+if isequal(tango_error,-1)
+    
+    %errordlg('erreur TANGO...','Error');
+    tango_print_error_stack;
+    diag = tango_error_stack;
+    errordlg(diag(1).desc);
+else   
+    
+    res=tango_read_attribute(dev,'calibration_quality');
+    % on teste la qualitï¿œ de la calibration  FACTEUR 996.0
+    % le 10 septembre MATLAB a pris lamain sur le code de NL pour le
+    % critï¿œre. attention ï¿œ 990 on est dans les choux
+    if res.value>996.0
+        val=sprintf('%3.2f',res.value);
+        set(handles.qualite_edit23,'String',val);
+        tango_read_attribute(dev,'x_magnification_factor');
+        val=sprintf('%2.1f',1000*ans.value);
+% % %
+
+% % %         % on inscrit en dur le grandissement
+% % %         %toto = 14.4
+%         toto = 38.
+%         val=sprintf('%2.1f',toto)
+        
+        set(handles.G_edit12,'String',val);
+        setappdata(handles.figure1, 'G',str2num(val)/1000)
+        
+        %dev='lt2/dg/emit-vg';
+        pause(1);
+        toto=tango_read_attribute(dev,'corrected_image');
+        figure(2);
+        imagesc(toto.value);
+        colormap(gray);
+
+    else
+        errordlg('la calibration a echouï¿œe ...','Error'); 
+    end
+    
+end
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function fit_popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in fit_popupmenu1.
+function fit_popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns fit_popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from fit_popupmenu1
+
+val = get(hObject,'Value');
+switch val
+case 1
+    largeur_option=0;
+case 2
+    % fit par gaussienne
+    largeur_option=1;
+
+case 3
+    % vrai rms
+    largeur_option=2;
+    
+case 4
+    % rayon ï¿œ X %
+    largeur_option=3;
+end
+setappdata(handles.figure1,'largeur_option',largeur_option);
+
+% --- Executes on button press in mesure_pushbutton8.
+function mesure_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to mesure_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%nbiterations=0;
+%nombre1=get(handles.fit_popupmenu1, 'String');
+
+popup_sel_index = get(handles.nbiter_popupmenu2, 'Value');
+nombre2=get(handles.nbiter_popupmenu2, 'String');
+Name = nombre2{popup_sel_index};
+nbiterat=str2num(Name(1));
+setappdata(handles.figure1, 'nbiterations',nbiterat);
+set(handles.nbiter_edit37,'String',Name(1));
+switch popup_sel_index
+    case 1
+         errordlg('selectionnez un nombre d''iterations','Error');
+	     %error('Select a number of acquisitions'); %exprimez votre choix 
+    case 2
+        %test de la pause : pause(10); 
+        show1imagesgui_15(handles);     
+         
+    case 3
+         show5imagesgui_15(handles);    
+    case 4
+         show10imagesgui(handles);
+        
+end
+
+
+% --- Executes on button press in plot_pushbutton.
+function plot_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to plot_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+handles.matrx=[];
+handles.matry=[];
+for ik=1:length(handles.ResultsData)
+    handles.matrx(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matrx(ik,2)=handles.ResultsData(ik).LargeurH;
+    errorx(ik)=2*handles.ResultsData(ik).sigmaH;
+    handles.matry(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matry(ik,2)=handles.ResultsData(ik).LargeurV;
+    errory(ik)=2*handles.ResultsData(ik).sigmaV;
+end
+
+clear('figure3');
+figure(3);
+tx1=handles.matrx(:,1)
+tx2=handles.matrx(:,2).*handles.matrx(:,2)
+
+ty1=handles.matry(:,1)
+ty2=handles.matry(:,2).*handles.matry(:,2)
+
+%plot(handles.matrx(:,1),handles.matrx(:,2),'d')
+%%plot(handles.matry(:,1),handles.matry(:,2),'d')
+    % %'--rs','LineWidth',2,...
+    % %                'MarkerEdgeColor','k',...
+    % %                'MarkerFaceColor','g',...
+    %  %               'MarkerSize',8)
+    % 
+    %  
+    % %%t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+    % %%y=[2.3 13.5 7. 0.85 1.8 6.3 22.]';
+    % %plot(t,y,'+'),grid on
+% % X = [ones(size(handles.matrx(:,1)))  handles.matrx(:,1)  handles.matrx(:,1).^2];
+% % a=X\handles.matrx(:,2);
+% % Tmin=min(handles.matrx(:,1));
+% % Tmax=max(handles.matrx(:,1));
+% % T=[Tmin:0.1:Tmax]';
+% % Z = [ones(size(T))  T  T.^2]*a;
+% % hold on
+% % plot(T,Z,'r-',handles.matrx(:,1),handles.matrx(:,2),'ro'), grid on
+% % 
+% % 
+% % Y = [ones(size(handles.matry(:,1)))  handles.matry(:,1)  handles.matry(:,1).^2];
+% % a=Y\handles.matry(:,2);
+% % Tmin=min(handles.matry(:,1));
+% % Tmax=max(handles.matry(:,1));
+% % T=[Tmin:0.1:Tmax]';
+% % Z = [ones(size(T))  T  T.^2]*a;
+% % hold on
+% % plot(T,Z,'b-',handles.matry(:,1),handles.matry(:,2),'b+'), grid on
+
+
+%test
+X = [ones(size(tx1))  tx1  tx1.^2];
+a=X\tx2;
+Tmin=min(tx1);
+Tmax=max(tx1);
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+%plot(T,Z,'r-',tx1,tx2,'ro'), grid on
+plot(tx1,tx2,'ro',T,Z,'r-'), grid on
+
+Y = [ones(size(ty1))  ty1  ty1.^2];
+a=Y\ty2;
+Tmin=min(ty1);
+Tmax=max(ty1);
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+%plot(T,Z,'b-',ty1,ty2,'b+'), grid on
+plot(ty1,ty2,'b+',T,Z,'b-'), grid on
+
+
+
+% exemple de label des axes avec symboles grecs :
+%xlabel('-\pi \leq \Theta \leq \pi')
+%ylabel('sin(\Theta)')
+%title('Plot of sin(\Theta)')
+%text(-pi/4,sin(-pi/4),'\leftarrow sin(-\pi\div4)',...
+%     'HorizontalAlignment','left')
+ 
+% nos labels
+xlabel('Courant quadrupolaire (A)')
+ylabel('Largeur faisceau (mm2)')
+legend('Mesures Horizontales','Fit Horizontal','Mesures verticales','Fit vertical','Location','North')
+title('Courbe de focalisation')
+
+% Q1courant de 1 ï¿œ 10 A
+%T=[1:0.1:10]';
+%Y = [ones(size(T))  T  T.^2]*a;
+%%figure(1);
+%hold on
+%figure(4)
+%plot(T,Y,'-',handles.matrx(:,1),handles.matrx(:,2),'o'), grid on
+%hold on
+
+% barre d'erreur
+% hold on
+% errorbar(handles.matrx(:,1),handles.matrx(:,2),errorx) 
+
+
+% --- Executes during object creation, after setting all properties.
+function Q1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function Q1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q1courant_edit as a double
+
+
+ecriture('Q1',handles)
+
+
+
+function ecriture(aimant,handles)
+
+device_name = getappdata(handles.figure1,'device_name');
+Name = strcat(aimant,'courant_edit');
+res = str2double(get(handles.(Name),'String'));
+valmax=tango_get_attribute_config(device_name.(aimant),'current');
+
+% if res > str2double(valmax.max_value)
+%     set(handles.(Name),'BackgroundColor','red');
+%     errordlg('Courant superieur ï¿œ valeur maximale !','ALARME');
+%     guidata(gcbo,handles);
+%     old = tango_read_attribute(device_name.(aimant),'current');
+%     set(handles.(Name),'String',num2str(old.value(1)));
+%     pause(2);
+%     set(handles.(Name),'BackgroundColor','green');
+% else
+    set(handles.(Name),'BackgroundColor','green');
+    Name2 =[aimant 'courant'];
+    setappdata(handles.figure1,Name2,res);
+    tango_write_attribute(device_name.(aimant),'currentPM',res);
+% end
+
+
+% --- Executes during object creation, after setting all properties.
+function H1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function H1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H1courant_edit as a double
+
+ecriture('H1',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function V1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+
+% --------------------------------------------------------------------
+function V1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ecriture('V1',handles)
+
+
+% ------- lecture de valeurs dans les devices servers Tango ----------
+function Cour=read_magnet(dev)
+
+attr_val = tango_read_attribute(dev,'current');
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  fprintf(1,'TracyServer Error %s\n',dev)
+  return;
+end
+Cour=attr_val.value(1);
+
+% --------------------------------------------------------------------
+% --- Executes during object creation, after setting all properties.
+function nbiter_popupmenu2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'Nbre iterations par acquisition','1 iteration par acquisition'...
+    ,'5 iterations par acquisition'...
+    });
+
+% --- Executes on selection change in nbiter_popupmenu2.
+function nbiter_popupmenu2_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns nbiter_popupmenu2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from nbiter_popupmenu2
+
+
+% % --- Executes on button press in camera_control_togglebutton.
+% function camera_control_togglebutton_Callback(hObject, eventdata, handles)
+% % hObject    handle to camera_control_togglebutton (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hint: get(hObject,'Value') returns toggle state of camera_control_togglebutton
+% button_state = get(hObject,'Value');
+% if button_state == get(hObject,'Max')
+%     % toggle button is pressed
+% elseif button_state == get(hObject,'Min')
+%     % toggle button is not pressed
+% end
+
+
+% ï¿œ dï¿œtruire
+%         % --- Executes on button press in camera_image_togglebutton.
+%         function camera_image_togglebutton_Callback(hObject, eventdata, handles)
+%         % hObject    handle to camera_image_togglebutton (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hint: get(hObject,'Value') returns toggle state of camera_image_togglebutton
+%         button_state = get(hObject,'Value');
+%         if button_state == get(hObject,'Max')
+%             % toggle button is pressed
+%         elseif button_state == get(hObject,'Min')
+%             % toggle button is not pressed
+%         end
+% 
+%         %camera_image(handles);
+% 
+% 
+%         %     name=['axes' num2str(1)];
+%         %    axes(handles.(name))
+%         % timer1 = timer('Period', 2,'TasksToExecute', 
+%         % Inf,'ExecutionMode','fixedRate');
+% 
+%         %     t=timer('StartDelay',1,'TimerFcn',@mycallback,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+% 
+%         % timer1=timer('StartDelay',1,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+%         % timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+% 
+%         %figure(1);
+%         %axes(handles.axes1);
+%         timer1 = getappdata(handles.figure1,'Timer');
+%         start(timer1);
+
+%     % --- Executes on button press in imageOFF_radiobutton.
+%     function imageOFF_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageOFF_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageOFF_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     delete(timer1);
+
+
+% % function buttongroup(hObject, eventdata, handles)
+% % h = uibuttongroup('visible','off','Position',[0 .9 .1 .1]);
+% % u0 = uicontrol('Style','Radio','String','Option 1',...
+% %     'pos',[10 350 80 30],'parent',h,'HandleVisibility','off');
+% % u1 = uicontrol('Style','Radio','String','Option 2',...
+% %     'pos',[10 250 80 30],'parent',h,'HandleVisibility','off');
+% % u2 = uicontrol('Style','Radio','String','Option 3',...
+% %     'pos',[10 150 80 30],'parent',h,'HandleVisibility','off');
+% % set(h,'SelectionChangeFcn',@selcbk);
+% % set(h,'SelectedObject',[]);  % No selection
+% % set(h,'Visible','on');
+
+% function selcbk(source,eventdata)
+% disp(source);
+% disp('toto');
+% disp([eventdata.EventName,'  ',... 
+%      get(eventdata.OldValue,'String'),'  ', ...
+%      get(eventdata.NewValue,'String')]);
+% disp(get(get(source,'SelectedObject'),'String'));
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+timer1 = getappdata(handles.figure1,'Timer');
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('image video <-')
+        start(timer1);
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('image video ->')
+        stop(timer1);
+end
+
+
+%     % --- Executes on button press in imageON_radiobutton.
+%     function imageON_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageON_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageON_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     start(timer1);
+
+
+function mutual_exclude(off)
+set(off,'Value',0)
+
+% --- Executes on button press in calibON_radiobutton5.
+function calibON_radiobutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to calibON_radiobutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibON_radiobutton5
+off = [handles.calibOFF_radiobutton6];
+mutual_exclude(off)
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% positionner le miroir EN, allumer le backlight
+%idem pb cï¿œblage miroir LT2 provisoirement modif dans MATLAB
+%tango_command_inout(device_name.miroir,'On');
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(6));
+
+%____________________________________________________________________
+% positionner le popupmenu du backlight a la valeur effective
+lumiere=tango_command_inout(device_name.backlight,'GetBrightness');
+
+%- check error
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+else
+    set(handles.backlight_popupmenu3,'Value',lumiere);
+end
+
+%rendre la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+     handles.pos1_edit29,handles.pos2_edit30...
+     handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','on')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes on button press in calibOFF_radiobutton6.
+function calibOFF_radiobutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to calibOFF_radiobutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibOFF_radiobutton6
+off = [handles.calibON_radiobutton5];
+mutual_exclude(off)
+
+% alias
+
+device_name = getappdata(handles.figure1,'device_name');
+%getappdata(handles.figure1,'backlight');
+
+% positionner le miroir HORS, eteindre le backlight
+% provisoirement pb de cï¿œblage du miroir LT2 et modif dans MATLAB
+%tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.miroir,'On');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+
+%% inserer l'Ã©cran YAG
+%tango_command_inout(device_name.ecran,'Insert');
+%fonction_error;
+
+%exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+        handles.pos1_edit29,handles.pos2_edit30...
+        handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','off')
+%handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes during object creation, after setting all properties.
+function G_edit12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function G_edit12_Callback(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of G_edit12 as text
+%        str2double(get(hObject,'String')) returns contents of G_edit12 as a double
+
+
+
+
+
+% ------------------------------------------------------------
+% Callback for the Remove push button
+% ------------------------------------------------------------
+% --- Executes on button press in remove_pushbutton.
+function remove_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to remove_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Callback of the uicontrol handles.RemoveButton.
+%essai
+%handles.nbremove=handles.nbremove+1
+
+currentVal = get(handles.listbox1,'Value')
+resultsStr = get(handles.listbox1,'String')
+numResults = size(resultsStr,1)
+
+
+% Remove the data and list entry for the selected value
+
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+% handles.Sauver contient la structure du rï¿œsultat ï¿œ effacer
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+if isequal( handles.Ecran,{[]})
+    handles.Ecran= resultsStr(currentVal);
+else
+    handles.Ecran=[ handles.Ecran ; resultsStr(currentVal)];
+end
+resultsStr(currentVal) =[];
+resultats=getappdata(handles.figure1,'ResultsData');
+%%NumeroRemove=resultats(currentVal).RunNumber;
+if isequal( handles.Sauver,struct([]))
+    handles.Sauver=resultats(currentVal);
+else
+    handles.Sauver=[handles.Sauver  resultats(currentVal)];
+end
+
+resultats(currentVal)=[];
+setappdata(handles.figure1,'ResultsData',resultats);
+handles.ResultsData = resultats;
+
+%essai
+%restoreRes(handles.nbremove)=resultats(currentVal)
+%handles.restore=handles.remove+1;
+if ~isequal(numResults,1)
+    set([handles.restaurer_pushbutton15],'Enable','on')
+end
+% If there are no other entries, disable the Remove and Plot button
+% and change the list sting to <empty>
+if isequal(numResults,1)
+	resultsStr = {'<vide !!>'};
+	currentVal = 1;
+	set([handles.remove_pushbutton,handles.plot_pushbutton,...
+        handles.restaurer_pushbutton15],'Enable','off')	
+end
+
+
+
+% Ensure that list box Value is valid, then reset Value and String
+currentVal = min(currentVal,size(resultsStr,1));
+set(handles.listbox1,'Value',currentVal,'String',resultsStr)
+
+% Store the new ResultsData
+setappdata(handles.figure1,'Sauver',handles.Sauver);
+setappdata(handles.figure1,'Ecran',handles.Ecran);
+set(handles.nbacqu_edit13,'String', num2str(size(resultsStr,1)));
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+%%en attente   set(handles.nbacqu_edit13,'String',num2str(length(resultats)));
+
+guidata(hObject, handles);
+
+% --- Executes on button press in emittance_pushbutton12.
+function emittance_pushbutton12_Callback(hObject, eventdata, handles)
+% hObject    handle to emittance_pushbutton12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% calcul d'emittance
+
+handles.ResultsData = getappdata(handles.figure1,'ResultsData');
+largeur_option = getappdata(handles.figure1,'largeur_option');
+
+switch largeur_option
+case 1
+    % fit par gaussienne largeur_option = 1
+    set(handles.type_edit36,'String','rms (fit)');
+case 2
+    % vrai rms largeur_option = 2
+    set(handles.type_edit36,'String','vrai rms');
+    
+case 3
+    % rayon ï¿œ X % largeur_option = 3
+    set(handles.type_edit36,'String','Ã  X %');
+end
+
+
+% les vecteurs sx et sy sont dÃ©jÃ  les valeurs moyennï¿œes sur nbiter iterations
+for i=1:length(handles.ResultsData)
+    sx(i) = handles.ResultsData(i).LargeurH;
+    sy(i) = handles.ResultsData(i).LargeurV;
+    I(i)= handles.ResultsData(i).Q4courant;
+end
+%%I = [1 2 3 4]
+
+% transformation courant - force quadrupolaire
+% ï¿œtalonnage de Q7 (si on a le temps prï¿œfï¿œrez ï¿œtalonnage Q4, mais pas trop important)
+% ATTENTION nï¿œcessitï¿œ de connaotre m'ï¿œnergie de la ligne (he oui ce n'est
+% pas simple) A RENTRER A LA MAIN DANS L'INTERFACE
+res = get(handles.energie_edit38,'String');
+if isequal(res,'ENERGIE')
+    errordlg('vous n''avez pas rentrÃ© l''Ã©nergie de la ligne !','Attention');
+    return
+end
+Energie = Str2num(get(handles.energie_edit38,'String'))*0.001;
+%t = amp2k4LT1(I,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15 , 1,Energie)
+%Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor
+ %t = amp2k4LT1('QP','SetPoint',I, [1 4], Energie,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15,1)
+
+% Attention Ã  l'Ã©talonnage du gradient qui n'est valable que pour les
+% valeurs absolues des courants. Mais OK pour Q4 qui est conv Horiz
+t = hw2physics('QP','Setpoint',I,[1 4],Energie)';
+%% tests !
+%t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+%sx=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+%sy=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+
+% constantes de la ligne de transfert
+% valeur vÃ©rifiÃ©e sur 3D D Zerbib 11 fÃ©vrier 2005
+
+Drift = [0.150 1.669 0.85415 2.400 0.950 3.79286];
+%     % point 0 simulation barelattice_LT1 ï¿œ entrï¿œe Lmag Q1
+%     drift1 = 1.669
+%     % sortie Lmag Q1 entrï¿œe Lmag Q2
+%     drift2 = 1.00415 - 0.150 = 0.85415
+%     % sortie Lmag Q2 entrï¿œe Lmag Q3
+%     drift3 = 2.550 - 0.150 = 2.400
+%     % sortie Lmag Q3 entrï¿œe Lmag Q4
+%     drift4 = 1.100 - 0.150 = 0.95
+%     % sortie L magnï¿œtique Qpï¿œle - centre ï¿œmittance
+%     drift5 = 3867,86 - 150/2 =  3792.86
+setappdata(handles.figure1,'Drift',Drift)
+Lq = Drift(1);
+Ld = Drift(6);
+Md = [1 Ld ; 0 1];
+
+% plan HORIZONTAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+% tailles en unitÃ© standard
+sx = sx * 0.001;
+sx2=sx.*sx;
+
+Mx11=zeros(length(t),1);
+Mx12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Mxq','Mxtransport')
+        Mxq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+        -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+        Mxtransport=Md*Mxq;
+        Mx11(i)=Mxtransport(1,1);
+        Mx12(i)=Mxtransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=Mx11.*Mx11;
+B=Mx12.*Mx12;
+F=2*Mx11.*Mx12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sx2' ; B'*sx2' ; F'*sx2'];
+   
+twissx=Z\H;
+% twissx(1) = sigma11(point origine) = Eps beta
+% twissx(2) = sigma22(point origine) = Eps gamma
+% twissx(3) = sigma12(point origine) = - Eps alpha
+epsx = sqrt(twissx(1)*twissx(2)-twissx(3)*twissx(3));
+% affichage de l'emittance en mm mrad
+emittanceH = sprintf('%3.2f',epsx*1e6) ;
+set(handles.emitH_edit18,'String',emittanceH);
+setappdata(handles.figure1,'Twissx',twissx);
+
+
+% plan VERTICAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+sy = sy * 1e-3;
+sy2=sy.*sy;
+
+My11=zeros(length(t),1);
+My12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Myq','Mytransport')
+        Myq=[cosh(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sinh(Lq*sqrt(t(i))) ; ...
+        sqrt(t(i))*sinh(Lq*sqrt(t(i)))  cosh(Lq*sqrt(t(i)))];
+        Mytransport=Md*Myq;
+        My11(i)=Mytransport(1,1);
+        My12(i)=Mytransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=My11.*My11;
+B=My12.*My12;
+F=2*My11.*My12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sy2' ; B'*sy2' ; F'*sy2'];
+   
+twissy=Z\H;
+epsy = sqrt(twissy(1)*twissy(2)-twissy(3)*twissy(3));
+emittanceV = sprintf('%3.2f',epsy*1e6) ;
+set(handles.emitV_edit19,'String',emittanceV);
+setappdata(handles.figure1,'Twissy',twissy);
+
+
+
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+%         % Mesure de l'emittance par fit "Belbeoch" et distribution normale des
+%         % erreurs de mesures
+% 
+%         % valeurs exactes gradient t
+%         % valeurs exactes tailles de faisceau se
+%         % pourc = pourcentage d'erreur maximum sur la mesure de taille
+%         % Lq = Longueur du quadrupole
+%         % Ld = longueur du drift Qpole - point de mesure
+%         %---------------------------------------------------------
+%         % 
+% 
+%         %cla(figure(1));
+% 
+%         % methode de calcul
+%         method = 'moyenne des acquisitions';
+%         %method = 'moyenne des emittances'
+% 
+%         % erreur sur les mesures de taille / nb d'iterations sur une mesure/ pour
+%         % tester la validite de la methode : nb de tests 
+%         sigma = 0.35;
+%         % ? nbiter=5;
+%         nbiter=1;
+%         nbtests=30000;
+% 
+%         % valeurs exactes de forces quadrupolaires et tailles de faisceau
+%         t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+%         se=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+% 
+%         % initialisations
+%         % ? eps=zeros(nbiter,1);
+%         eps=zeros(nbtests,1);
+%         Lq=0.15;
+%         Ld=3.8915;
+%         Md=[1 Ld ; 0 1];
+%         st2=zeros(nbiter,length(t));
+%         meanst2=zeros(1,length(t));
+% 
+%         nbcomplexes=0;
+%         stdeps=1.;
+%         g=0;
+%         Z=zeros(3,3);
+% 
+% 
+%         % calcul des elements de la matrice de transport entre le Qpole et le point
+%         % de mesure
+%         M11=zeros(length(t),1);
+%         M12=zeros(length(t),1);
+%         for i = 1:length(t)
+%                 clear('Mq','Mtransport')
+%                 Mq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+%                 -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+%                 Mtransport=Md*Mq;
+%                 M11(i)=Mtransport(1,1);
+%                 M12(i)=Mtransport(1,2);
+%         end
+% 
+% 
+%         for j = 1:nbtests
+% 
+%         % calcul de l'emittance avec moyenne prealable de chaque acquisition sur les nbiter
+%         %iterations (5 dans le menu) (distribution normale dans cette simulation)
+%         for i=1:length(t)
+%             s=se(i)+sigma*se(i)*randn(nbiter,1);
+%             s2=s.*s;
+%             meanst2(i)=mean(s2);
+%         end
+% 
+%         % *********** methode Belbeoch **********************
+%         A=M11.*M11;
+%         B=M12.*M12;
+%         F=2*M11.*M12 ;
+% 
+%         Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+%                    F'*A F'*B F'*F];
+%         H=[A'*meanst2' ; B'*meanst2' ; F'*meanst2'];
+% 
+%         citer=Z\H;
+%         eps(j)=sqrt(citer(1)*citer(2)-citer(3)*citer(3));
+%         nbcomplexes = 1-isreal(eps(j)) + nbcomplexes;
+%         if isequal(isreal(eps(j)),0)
+%             epsilon(j) = 0;
+%         else 
+%             epsilon(j) = eps(j);
+%         end
+% 
+% 
+%         % emittanceH=num2str(eps) ;   
+%         % set(handles.emitH_edit18,'String',emittanceH);
+% 
+% 
+%         end
+% 
+%         moyenne = mean(epsilon)*length(eps)/(length(eps)-nbcomplexes);
+%         for j=1:length(eps)
+%             if isequal(epsilon(j),0)
+%                 sepsilon(j) = moyenne;
+%             else
+%                 sepsilon(j) = epsilon(j);
+%             end
+%         end
+%         standard = std(sepsilon)*sqrt(length(eps)/(length(eps)-nbcomplexes));
+%         disp(['nbcomplexes=' sprintf('%0.5g',nbcomplexes) '  sigma tailles=' sprintf('%0.5g',sigma) ...
+%                     '  nbiter=' sprintf('%0.5g',nbiter) ...
+%                 '  nbtests=' sprintf('%0.5g',nbtests) '  meaneps=' ...
+%                 sprintf('%0.5g',moyenne) '  stdeps=' sprintf('%0.5g',standard)] )
+%         disp(' ')
+% 
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  
+% 
+
+
+% --- Executes during object creation, after setting all properties.
+function nbacqu_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function nbacqu_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbacqu_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of nbacqu_edit13 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit14 as text
+%        str2double(get(hObject,'String')) returns contents of edit14 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit15 as text
+%        str2double(get(hObject,'String')) returns contents of edit15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit16 as text
+%        str2double(get(hObject,'String')) returns contents of edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit17 as text
+%        str2double(get(hObject,'String')) returns contents of edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitH_edit18_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+% emittance horizonale
+
+
+
+function emitH_edit18_Callback(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitH_edit18 as text
+%        str2double(get(hObject,'String')) returns contents of emitH_edit18 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitV_edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function emitV_edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitV_edit19 as text
+%        str2double(get(hObject,'String')) returns contents of emitV_edit19 as a double
+
+
+% --- Executes on button press in ellipse_pushbutton13.
+function ellipse_pushbutton13_Callback(hObject, eventdata, handles)
+% hObject    handle to ellipse_pushbutton13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ellipse_v15(handles)
+
+
+% --- Executes when figure1 window is resized.
+function figure1_ResizeFcn(hObject, eventdata, handles)
+% hObject    handle to figure1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes on button press in radiobutton7_bh_l1.
+function Lenthaute_radiobutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton7_bh_l1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Lenthaute_radiobutton7
+autre = [handles.tata_radiobutton10];
+mutual_exclude(autre)
+
+
+
+
+% --- Executes on button press in radiobutton10_bh_l2.
+function tata_radiobutton10_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton10_bh_l2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton10_bh_l2
+autre = [handles.Lenthaute_radiobutton7];
+mutual_exclude(autre)
+
+
+
+
+
+
+% --- Executes on button press in restaurer_pushbutton15.
+function restaurer_pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Restore the data and list entry for the last deleted value        
+ResultsStr = get(handles.listbox1,'String');
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+
+LastValue=length(handles.Sauver) ;
+toto=handles.Sauver(LastValue);
+titi=handles.Ecran(LastValue);
+Numero=toto.RunNumber;
+Nombre=length(handles.ResultsData);
+reussite=0;
+
+if Numero>handles.ResultsData(Nombre).RunNumber
+    handles.ResultsData=[handles.ResultsData toto];
+    ResultsStr = [ResultsStr ; titi];
+else 
+    i=0;      
+    while isequal(reussite,0) & (i<(length(handles.ResultsData)))
+            i=  i+1  ;
+            if Numero>handles.ResultsData(Nombre-i+1).RunNumber
+                handles.ResultsData=[handles.ResultsData(1:Nombre-i+1) toto handles.ResultsData(Nombre-i+2:end)];
+                ResultsStr = [ResultsStr(1:Nombre-i+1) ; titi;ResultsStr(Nombre-i+2:end) ];
+                reussite=reussite+1;
+            end
+        
+    end
+    if isequal(reussite,0)  
+        handles.ResultsData=[toto handles.ResultsData];
+        ResultsStr = [titi ; ResultsStr];
+    end
+    
+end
+
+% Build the new results list string for the listbox
+set(handles.listbox1,'String',ResultsStr);
+
+% Store the new ResultsData
+handles.Sauver(LastValue)=[];
+handles.Ecran(LastValue)=[];
+setappdata(handles.figure1,'Sauver',handles.Sauver)
+setappdata(handles.figure1,'Ecran',handles.Ecran)
+setappdata(handles.figure1,'ResultsData',handles.ResultsData);
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+set(handles.nbacqu_edit13,'String', num2str(size(ResultsStr,1)));
+
+
+% dï¿œsactiver le bouton restaurer si la liste est vide
+if isequal(LastValue,1)
+	set([handles.restaurer_pushbutton15],'Enable','off')	
+end
+guidata(hObject, handles);
+
+
+% --- Executes on button press in mesuressfaisceau_pushbutton16.
+function mesuressfaisceau_pushbutton16_Callback(hObject, eventdata, handles)
+% hObject    handle to mesuressfaisceau_pushbutton16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% sauvegarde sur disque de l'ensemble des acquisitions avec et sans
+% faisceau, proposee lorsque aucune acquisition avec faiseau n'est encore
+% faite
+entree=    getappdata(handles.figure1,'ResultsData');
+directory_principale = getappdata(handles.figure1,'directory_principale');
+if isequal(length(entree),0)
+    
+       %ouvrir le dossier pour l'enregistrement des profils
+       prompt={'entrer un nom de rï¿œpertoire'};
+       name='SAUVEGARDE SUR DISQUE';
+       numlines=1;
+       defaultanswer={strcat(datestr(clock,29),'_1')};
+       options.Resize='on';
+       options.WindowStyle='normal';
+       options.Interpreter='tex';
+       
+       % on ne propose la boite de dialogue qu'une seule fois
+       % ulterieurement, si on souhaite changer de directory de sauvegarde,
+       % cela se fait interactivement dans le '   ' 
+       val=getappdata(handles.figure1,'init_sauvegarde');
+       directory_principale=getappdata(handles.figure1,'directory_principale');
+       
+       while isequal(val,0)
+            directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+            % chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+            %%directory_sauvegarde=strcat(directory_principale,directory{:});
+            directory_sauvegarde=strcat(directory_principale,directory{:},'/');
+            setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+            
+            
+            % cas ou un nom de directory a ï¿œtï¿œ rentrï¿œ
+            if ~isequal(directory,{})
+                % cas ou la directory n'existe pas
+                %%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+                if ~isdir(directory_sauvegarde)   
+%                     mkdir(chemin)
+%                     cd(chemin);
+                    mkdir(directory_sauvegarde)
+                    cd(directory_sauvegarde);
+                    
+                    setappdata(handles.figure1,'init_sauvegarde',1);
+                    val=getappdata(handles.figure1,'init_sauvegarde');
+                    set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+                    
+                % cas ou la directory existe deja
+                else    
+                    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+                    if isequal(button,'oui')
+                        
+%                         cd(chemin);
+                        cd(directory_sauvegarde);  
+                        
+                        setappdata(handles.figure1,'init_sauvegarde',1);
+                        val=getappdata(handles.figure1,'init_sauvegarde');
+                        set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+          
+                    else
+                        % retour ï¿œ la case dï¿œpart 
+                        
+                    end
+                end     
+            
+            % cas ou on a refusï¿œ de rentrer un nom de directory
+            else
+                
+                errordlg('vous n''avez pas sï¿œlectionnï¿œ de directory de sauvegarde !','Attention');
+                
+                setappdata(handles.figure1,'init_sauvegarde',1);
+                val=getappdata(handles.figure1,'init_sauvegarde');
+            end
+            
+       end
+
+end
+
+
+showsansfgui_15(handles); 
+
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmax_pushbutton26.
+function Gmin_pushbutton28_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmax_pushbutton26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    
+    % avancer du nombre de pas exact correspondant au grandissement : 0
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%         pause(0.5);
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement 
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmin);
+     
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+        
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+ 
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        % ï¿œteindre le vert
+        %set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        
+
+end   
+
+% allumer le voyant rouge Gmin
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmin,5);
+test2 = test_position(pos2.value(1),posl2Gmin,5);
+if test1 == 1&test2==1
+    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmoy_pushbutton27.
+function Gmoy_pushbutton27_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmoy_pushbutton27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    fonction_error
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    status0 =  tango_command_inout(dev,'AxisGetMotionStatus')
+    % avancer du nombre de pas exact correspondant au grandissement moyen : 
+    tango_command_inout(dev,'AxisGoToPosition',posl1Gmoy);
+    fonction_error
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+   
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+        error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        disp('lentille haute')
+        % abort 
+    end
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+         disp('moy : abort')
+        end
+
+        % au cas oï¿œ la butï¿œe haute est allumï¿œe on l'ï¿œteint
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1) 
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    fonction_error;
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+
+    % avancer du nombre de pas exact correspondant au grandissement
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmoy);
+    
+    % on attent que l'axe se mette en mouvement
+    if (temporisation_mvt_axis(dev) == -1)
+        error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        % abort 
+    end
+
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    end
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         % ï¿œteindre le vert
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+
+% allumer le voyant rouge Gmoy
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmoy,5);
+test2 = test_position(pos2.value(1),posl2Gmoy,5);
+if test1 == 1&test2==1
+    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmin_pushbutton28.
+function Gmax_pushbutton26_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmin_pushbutton28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de positions des lentilles pour ce grandissement
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+
+
+dev=device_name.lentille_haute
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             pause(0.2);
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.2);
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702])
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    % avancer du nombre de pas exact correspondant au grandissement max :
+    tango_command_inout(dev,'AxisGoToPosition',posl1Gmax);
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+         
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev); 
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702])
+    end
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev); 
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+            
+        % attendre la fin de la commande
+            % set(handles.tata_radiobutton10,'BackgroundColor','green');
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            %set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+            % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement MAX ...
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmax);
+    
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev); 
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+            
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    %     % ï¿œteindre le vert
+    %     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+
+end   
+
+% allumer le voyant Gmax en rouge
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmax,5);
+test2 = test_position(pos2.value(1),posl2Gmax,5);
+if test1 == 1&test2==1
+    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in ppp_pushbutton18.
+function ppp_pushbutton18_Callback(hObject, eventdata, handles)
+% hObject    handle to ppp_pushbutton18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=10000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+% logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+% logdev2=get(handles.tata_radiobutton10,'Value');
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+% if isequal(logdev1,0)&isequal(logdev2,0)
+%     errordlg('selectionnez une lentille','ATTENTION');
+% else
+%     if isequal(logdev1,1)
+%         dev=device_name.lentille_haute;
+%         nbpas=5000;
+%     else
+%         dev=device_name.lentille_basse;
+%         nbpas=10000;
+%     end
+%     
+%     errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%     if (tango_error == -1)
+%         %- handle error
+%         tango_print_error_stack;
+%         return;
+%         errordlg('erreur tango !','Erreur');
+% 
+%     else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on descend vers la butï¿œe forward
+%             tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%         
+%             % temporisation : 
+%             pause(0.2);
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                 end
+%                 pause(0.5);
+%             end
+%             
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             if isequal(logdev1,1)
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%             else
+%                 set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%             end
+%             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+
+
+% --- Executes on button press in pp_pushbutton19.
+function pp_pushbutton19_Callback(hObject, eventdata, handles)
+% hObject    handle to pp_pushbutton19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=1000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+% --- Executes on button press in p_pushbutton20.
+function p_pushbutton20_Callback(hObject, eventdata, handles)
+% hObject    handle to p_pushbutton20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=100;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+            
+            %pause(0.2);
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+                
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                    
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% --- Executes on button press in m_pushbutton23.
+function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-10000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green'); 
+                    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                end
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     disp('dans la boucle tant que mvt')
+%                     if isequal(logdev1,1)
+%                         disp('je dois afficher le vert')
+%                         pause(0.1);
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                         %pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                         set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         %set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                         pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                         %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+% 
+%                     end
+%                 end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    %pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    %set(handles.pos2_edit30,'String',num2str(pos2.value(1)
+                    %));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+%     % --- Executes on button press in mmm_pushbutton21.
+%     function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mmm_pushbutton21 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-5000;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-10000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+% 
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+% --- Executes on button press in m_pushbutton23.
+function mm_pushbutton22_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-1000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                        
+                    else
+                        
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+%     % --- Executes on button press in mm_pushbutton22.
+%     function mm_pushbutton22_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mm_pushbutton22 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-500;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-1000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%                 if (tango_error == -1)
+%                     %- handle error
+%                     tango_print_error_stack;
+%                     return;
+%                     errordlg('erreur tango !','Erreur');
+% 
+%                 else
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+%                 end
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+
+% --- Executes on button press in m_pushbutton23.
+function m_pushbutton23_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-100;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+                
+                while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    else
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+%         % --- Executes on button press in backlight_pushbutton24.
+%         function backlight_pushbutton24_Callback(hObject, eventdata, handles)
+%         % hObject    handle to backlight_pushbutton24 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         prompt={'entrer une intensitï¿œ * entier entre 0 et 10'};
+%         name='backlight';
+%         numlines=1;
+%         lumiere=tango_command_inout('lt2/emit/backlight','GetBrightness');
+%         %- check error
+%         if (tango_error == -1)
+%               %- handle error
+%               tango_print_error_stack;
+%               return;
+%         else
+%             defaultanswer={num2str(lumiere)};
+%         end
+%         options.Resize='on';
+%         options.WindowStyle='normal';
+%         options.Interpreter='tex';
+%         intensite=inputdlg(prompt,name,numlines,defaultanswer,options);
+%         if ~isempty(intensite)
+%             tango_command_inout('lt2/emit/backlight','SetBrightness',uint16(str2num(intensite{:})));
+%         end
+% 
+%     % --- Executes on button press in iris_pushbutton25.
+%     function iris_pushbutton25_Callback(hObject, eventdata, handles)
+%     % hObject    handle to iris_pushbutton25 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     %      %entrer les deux variables vitesse et intensite pour l'iris
+%     %        prompt={'entrer la vitesse - valeur entre 1 et 3','entrer l''intensite - valeur entre 1 et 10'};
+%     %        name='IRIS';
+%     %        numlines=1;
+%     %        defaultanswer={'3','10'};
+%     %        options.Resize='on';
+%     %        options.WindowStyle='normal';
+%     %        options.Interpreter='tex';
+%     %        val=0;
+%     %     %     while isequal(val,0)
+%     %         choix=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     %     %         if ~isequal(directory,{})
+%     %     %             if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+%     %     %                 mkdir /home/PM/tordeux/matlab_test/directory;
+%     %     %                 val=1;
+%     %     %             else    
+%     %     %                 button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non')  
+%     %     %                 if isequal(button,'oui')
+%     %     %                     val=1;
+%     %     %                 end
+%     %     %             end     
+%     %     %         else
+%     %     %             %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%     %     %             directory={'secours'};
+%     %     %             val=1;
+%     %     %         end
+%     %     %     end
+% 
+%     IRIS(handles);
+% 
+
+
+function qualite_edit23_Callback(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of qualite_edit23 as text
+%        str2double(get(hObject,'String')) returns contents of qualite_edit23 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function qualite_edit23_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBB_edit24_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBB_edit24 as text
+%        str2double(get(hObject,'String')) returns contents of LHBB_edit24 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBB_edit24_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBH_edit25_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBH_edit25 as text
+%        str2double(get(hObject,'String')) returns contents of LHBH_edit25 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBH_edit25_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBH_edit26_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBH_edit26 as text
+%        str2double(get(hObject,'String')) returns contents of LBBH_edit26 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBH_edit26_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBB_edit27_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBB_edit27 as text
+%        str2double(get(hObject,'String')) returns contents of LBBB_edit27 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBB_edit27_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in fondGmax_pushbutton29.
+function fondGmax_pushbutton29_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmax_pushbutton29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmoy_pushbutton30.
+function fondGmoy_pushbutton30_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmoy_pushbutton30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmin_pushbutton31.
+function fondGmin_pushbutton31_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmin_pushbutton31 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+function directory_sauvegarde_edit28_Callback(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of directory_sauvegarde_edit28 as text
+%        str2double(get(hObject,'String')) returns contents of directory_sauvegarde_edit28 as a double
+
+
+% % directory principale (dï¿œpend de l'utilisateur !!!)
+% setappdata(handles.figure1,'directory_principale',directory_principale);
+% 
+% % directory de sauvegarde en attente
+% setappdata(handles.figure1,'directory_principale','/home/PM/tordeux/matlab_test/');
+% directory_principale=getappdata(handles.figure1,'directory_principale');
+% phrase=strcat(directory_principale,'?');
+
+directory_sauvegarde=get(handles.directory_sauvegarde_edit28,'String');
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory n'existe pas
+%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+if  ~isdir(   directory_sauvegarde)
+%                     mkdir(chemin)
+%                     cd(chemin);
+    mkdir(directory_sauvegarde)
+    cd(directory_sauvegarde);
+
+    %setappdata(handles.figure1,'init_sauvegarde',1);
+    %val=getappdata(handles.figure1,'init_sauvegarde');
+    %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+    setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory existe deja
+else    
+    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+    if isequal(button,'oui')
+
+%                         cd(chemin);
+        cd(directory_sauvegarde);  
+
+        %setappdata(handles.figure1,'init_sauvegarde',1);
+        %val=getappdata(handles.figure1,'init_sauvegarde');
+        %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+        setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+    else
+        % retour ï¿œ la case dï¿œpart 
+
+    end
+end     
+
+
+
+% --- Executes during object creation, after setting all properties.
+function directory_sauvegarde_edit28_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in backlight_popupmenu3.
+function backlight_popupmenu3_Callback(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns backlight_popupmenu3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from backlight_popupmenu3
+
+%alias
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.backlight;
+
+val = get(hObject,'Value');
+switch val
+case 1
+tango_command_inout(dev,'SetBrightness',uint16(0));    
+case 2
+tango_command_inout(dev,'SetBrightness',uint16(1));  
+case 3
+tango_command_inout(dev,'SetBrightness',uint16(2));  
+case 4
+tango_command_inout(dev,'SetBrightness',uint16(3));  
+case 5
+tango_command_inout(dev,'SetBrightness',uint16(4));  
+case 6
+tango_command_inout(dev,'SetBrightness',uint16(5));  
+case 7
+tango_command_inout(dev,'SetBrightness',uint16(6));  
+case 8
+tango_command_inout(dev,'SetBrightness',uint16(7));  
+case 9
+tango_command_inout(dev,'SetBrightness',uint16(8));  
+case 10
+tango_command_inout(dev,'SetBrightness',uint16(9));  
+case 11
+tango_command_inout(dev,'SetBrightness',uint16(10));  
+
+end
+
+% --- Executes during object creation, after setting all properties.
+function backlight_popupmenu3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'0','1','2','3','4','5','6',...
+    '7','8','9','10',...
+    });
+
+
+function pos1_edit29_Callback(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos1_edit29 as text
+%        str2double(get(hObject,'String')) returns contents of pos1_edit29 as a double
+
+% encore ï¿œ faire !!
+
+
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% device_name = getappdata(handles.figure1,'device_name');
+%     
+% numeropas = get(handles.pos1_edit29,'String');
+% errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+% if (tango_error == -1)
+%     %- handle error
+%     tango_print_error_stack;
+%     return;
+%     errordlg('erreur tango !','Erreur');
+% 
+% else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on bouge
+%             tango_command_inout(dev,'AxisGoToPosition',numeropas);
+%         
+%             % temporisation : 
+%             temporisation_mvt_axis(dev);
+%             
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+% 
+%             end
+%             
+%             pause(0.5);
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             % on ï¿œcrit une derniï¿œre fois la position de la lentille
+%  
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                     
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+% 
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+% --- Executes during object creation, after setting all properties.
+function pos1_edit29_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function pos2_edit30_Callback(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos2_edit30 as text
+%        str2double(get(hObject,'String')) returns contents of pos2_edit30 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pos2_edit30_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in F_iris_pushbutton32.
+function F_iris_pushbutton32_Callback(hObject, eventdata, handles)
+% hObject    handle to F_iris_pushbutton32 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FF_iris_pushbutton33.
+function FF_iris_pushbutton33_Callback(hObject, eventdata, handles)
+% hObject    handle to FF_iris_pushbutton33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FFF_iris_pushbutton34.
+function FFF_iris_pushbutton34_Callback(hObject, eventdata, handles)
+% hObject    handle to FFF_iris_pushbutton34 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in O_iris_pushbutton35.
+function O_iris_pushbutton35_Callback(hObject, eventdata, handles)
+% hObject    handle to O_iris_pushbutton35 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OO_iris_pushbutton36.
+function OO_iris_pushbutton36_Callback(hObject, eventdata, handles)
+% hObject    handle to OO_iris_pushbutton36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OOO_iris_pushbutton38.
+function OOO_iris_pushbutton38_Callback(hObject, eventdata, handles)
+% hObject    handle to OOO_iris_pushbutton38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+%device_name = getappdata(handles.figure1,'device_name');
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Emittance ?',...
+    'Exit Programme Emittance',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+        %% extraire l'Ã©cran YAG
+        %tango_command_inout(device_name.ecran,'Extract');
+        %fonction_error;
+    otherwise
+        disp('Closing aborted')
+end
+
+
+
+function Q2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q2courant_edit as a double
+
+
+ecriture('Q2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function Q2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H2courant_edit as a double
+
+ecriture('H2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function H2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit33_Callback(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit33 as text
+%        str2double(get(hObject,'String')) returns contents of edit33 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit33_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q3courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q3courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q3courant_edit as a double
+
+ecriture('Q3',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q3courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q4courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q4courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q4courant_edit as a double
+
+ecriture('Q4',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q4courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function type_edit36_Callback(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of type_edit36 as text
+%        str2double(get(hObject,'String')) returns contents of type_edit36 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function type_edit36_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nbiter_edit37_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbiter_edit37 as text
+%        str2double(get(hObject,'String')) returns contents of nbiter_edit37 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nbiter_edit37_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function energie_edit38_Callback(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of energie_edit38 as text
+%        str2double(get(hObject,'String')) returns contents of energie_edit38 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function energie_edit38_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+% --- Executes on button press in imprimer_pushbutton7.
+function imprimer_pushbutton17_Callback(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Determine file and directory name
+FileName = '1';
+
+DirectoryName = getappdata(handles.figure1,'directory_sauvegarde');
+
+% Append date_Time to FileName
+%FileName = sprintf('%s_%s', 'tableau', FileName);
+FileName = sprintf( '%s_%s','tableau', FileName);
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+
+ResultsStr = get(handles.listbox1,'String');
+
+try
+    save(FileName,'ResultsStr')
+    %save(FileName,'ResultsStr','-ascii')
+    %save -ascii mydata.dat
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function imprimer_pushbutton17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+
+
+% --- Executes on selection change in camera_controle_popupmenu4.
+function camera_controle_popupmenu4_Callback(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns camera_controle_popupmenu4 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from camera_controle_popupmenu4
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.videograbber;
+
+val = get(hObject,'Value');
+switch val
+   
+case 2
+tango_command_inout(dev,'AutoAdjustRefLevels');  
+disp('AutoAdjustRefLevels')
+case 3
+tango_command_inout(dev,'EnableCorrectedImage');  
+case 4
+tango_command_inout(dev,'EnableCorrectedProfiles');  
+case 5
+tango_command_inout(dev,'EnableProfiles');  
+case 6
+tango_command_inout(dev,'DisableCorrectedImage');  
+case 7
+tango_command_inout(dev,'DisableCorrectedProfiles');  
+case 8
+tango_command_inout(dev,'DisableProfiles');
+
+case 9
+tango_command_inout(dev,'GetExposureTime');
+% on donne la possibilitÃ© de modifier le exposuretime
+res = tango_command_inout(dev,'GetExposureTime');
+prompt={'ExposureTime'};
+name='GetExposureTime';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+time = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetExposureTime',str2num(time{:}));
+
+case 10
+% on donne la possibilitÃ© de modifier le shutterdelay
+res = tango_command_inout(dev,'GetShutterDelay');
+prompt={'ShutterDelay'};
+name='GetShutterDelay';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+delay = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetShutterDelay',str2num(delay{:}));
+
+case 11
+res = tango_command_inout(dev,'State');
+errordlg(res,'State');
+case 12
+res = tango_command_inout(dev,'Status');
+errordlg(res,'Status');
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function camera_controle_popupmenu4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in controle_lentilles_popupmenu5.
+function controle_lentilles_popupmenu5_Callback(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns controle_lentilles_popupmenu5 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from controle_lentilles_popupmenu5
+
+
+device_name = getappdata(handles.figure1,'device_name');
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;       
+    else
+        dev=device_name.lentille_basse;     
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        
+        val = get(hObject,'Value');
+        switch val
+
+        case 2
+        prompt={'Entrez une position'};
+        name='AxisDefinePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            tango_command_inout(dev,'AxisDefinePosition',str2num(toto{:}));
+            fonction_error;
+            
+            if isequal(logdev1,1)
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            else
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+        end
+
+        case 3
+        res = tango_command_inout(dev,'AxisGetErrorStatus');  
+        errordlg(num2str(res),'AxisGetErrorStatus');
+
+        case 4
+        res = tango_command_inout(dev,'AxisGetMotionStatus');  
+        errordlg(num2str(res),'AxisGetMotionStatus');
+
+        case 5
+        prompt={'Entrez une position de destination'};
+        name='AxisGoToPosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            fonction_error;
+            
+            if str2num(toto{:})>posref.value
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<posref.value
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_command_inout(dev,'AxisGoToPosition',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+        case 6
+        prompt={'Entrez une position relative de destination'};
+        name='AxisGoToRelativePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            fonction_error;
+            
+            if str2num(toto{:})>0
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<0
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_command_inout(dev,'AxisGoToRelativePosition',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+        
+        case 11
+        res = tango_command_inout(dev,'State');
+        errordlg(res,'State');
+        case 12
+        res = tango_command_inout(dev,'Status');
+        errordlg(res,'Status');
+        
+        end
+    end
+end
+            
+    
+
+
+
+% --- Executes during object creation, after setting all properties.
+function controle_lentilles_popupmenu5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT2/emittance/emittance_v15_simulation.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/emittance_v15_simulation.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/emittance_v15_simulation.m	(revision 17)
@@ -0,0 +1,4902 @@
+
+function varargout = emittance_v2(varargin)
+% EMITTANCE_V2 M-file for emittance_v2.fig
+%      EMITTANCE_V2, by itself, creates a new EMITTANCE_V2 or raises the existing
+%      singleton*.
+%
+%      H = EMITTANCE_V2 returns the handle to a new EMITTANCE_V2 or the handle to
+%      the existing singleton*.
+%
+%      EMITTANCE_V2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in EMITTANCE_V2.M with the given input arguments.
+%
+%      EMITTANCE_V2('Property','Value',...) creates a new EMITTANCE_V2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before emittance_v2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to emittance_v2_OpeningFcn via varargin.
+%
+
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help emittance_v2
+
+% Last Modified by GUIDE v2.5 20-May-2005 09:14:01
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @emittance_v2_OpeningFcn, ...
+                   'gui_OutputFcn',  @emittance_v2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before emittance_v2 is made visible.
+function emittance_v2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to emittance_v2 (see VARARGIN)
+
+% initialisation de l'ACCELERATOR_OBJECT
+LT1init
+
+% creation nouveau champ
+handles.output = hObject;
+handles.number_errors=0.;
+handles.nbsigmas=0;
+
+%essai
+%handles.nbremove=0;
+handles.nbrestore=0;
+
+val=0;
+faisc=[];
+st= struct([]);
+cellule=cell(1,1);
+%st2= struct([]);
+%st3=struct([]);
+handles.Sauver=struct([]);
+vect_colonne_noire=[];
+vect_ligne_noire=[];
+directory_principale='';
+directory_sauvegarde='';
+setappdata(handles.figure1,'tailles',faisc);
+setappdata(handles.figure1,'nbenregistrs',2);
+setappdata(handles.figure1,'ResultsData',st);
+setappdata(handles.figure1,'nbenregistrements',st);
+setappdata(handles.figure1,'Sauver',st);
+setappdata(handles.figure1,'Ecran',cellule);
+setappdata(handles.figure1,'largeur_option',val);
+setappdata(handles.figure1,'vect_colonne_noire',vect_colonne_noire);
+setappdata(handles.figure1,'vect_ligne_noire',vect_ligne_noire);
+setappdata(handles.figure1, 'G',0.043);
+% initialisation drapeau pour dialogue 'sauvegarde sur disque' ____
+setappdata(handles.figure1,'init_sauvegarde',val);
+% directory principale (dï¿œpend de l'utilisateur !!!)
+setappdata(handles.figure1,'directory_principale',directory_principale);
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+handles.nbenregistrs=getappdata(handles.figure1,'nbenregistrs')
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',.333,'TasksToExecute',Inf);
+timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+% button group sur l'image en continu
+h = uibuttongroup('visible','off','Position',[0.05 .9 .12 .08],...
+    'Title','Image','TitlePosition','centertop');
+u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[2 .9 45 30],'parent',h,'HandleVisibility','off');
+u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+    'pos',[50 .9 45 30],'parent',h,'HandleVisibility','off');
+
+% set(h,'SelectionChangeFcn',@selcbk);
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u2);  % No selection
+set(h,'Visible','on');
+
+% positionne par dÃ©faut la lentille basse (plus de sensibilitÃ© pour les rÃ©glages)
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',1);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+%%%if strcmp(get(hObject,'Visible'),'off')
+%%%    initialize_gui(hObject, handles);
+%%%end
+
+% UIWAIT makes emittance_v2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = emittance_v2_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% % --- Executes during object creation, after setting all properties.
+
+initialize_gui(gcbf, handles);
+
+function initialize_gui(fig_handle, handles)
+
+
+%____________________________________________________________________
+% dï¿œfinir les alias pour les devices 
+device_name.videograbber = 'lt1/dg/emit-vg';
+device_name.iris = 'lt1/dg/emit-iris';
+device_name.lentille_haute = 'lt1/dg/emit-l.haut';
+device_name.lentille_basse = 'lt1/dg/emit-l.bas';
+device_name.miroir = 'lt1/dg/emit-mc';
+device_name.backlight = 'lt1/dg/emit-bl';
+device_name.ecran = 'lt1/dg/emit-ecr';
+device_name.Q1 = 'lt1/AE/Q.1';
+device_name.Q2 = 'lt1/AE/Q.2';
+device_name.Q3 = 'lt1/AE/Q.3';
+device_name.Q4 = 'lt1/AE/Q.4';
+% test % device_name.H1 = 'lt1/AE/CH.1';
+% device_name.H2 = 'lt1/AE/CH.2';
+% device_name.V1 = 'lt1/AE/CV.1';
+setappdata(handles.figure1,'device_name',device_name);
+
+%____________________________________________________________________
+% directory de sauvegarde en attente
+
+%uibuttongroup
+%     prompt={'entrez votre directory de travail'};
+%     name='DIRECTORY PRINCIPALE';
+%     numlines=1;
+%     defaultanswer={'/home/PM/tordeux/matlab_test/'};
+% 
+%     options.Resize='on';
+%     options.WindowStyle='normal';
+%     options.Interpreter='tex';
+%     nom=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     if ~isempty(nom)
+%         setappdata(handles.figure1,'directory_principale',nom{:});
+%     end
+% 
+%     directory_principale=getappdata(handles.figure1,'directory_principale');
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/LT1data/';
+directory_principale = getfamilydata('Directory','EMITData');
+phrase=strcat(directory_principale ,'?');
+set(handles.directory_sauvegarde_edit28,'String',phrase);
+setappdata(handles.figure1,'directory_principale',directory_principale);
+
+%____________________________________________________________________
+% inscrire les courants effectifs des aimants de la machine
+
+valQ1= (read_magnet(device_name.Q1)); 
+set(handles.Q1courant_edit,'String',sprintf('%3.2f',valQ1));
+resQ1 = str2double(get(handles.Q1courant_edit,'String'));
+setappdata(handles.figure1,'Q1courant',resQ1);
+
+valQ2= (read_magnet(device_name.Q2)); 
+set(handles.Q2courant_edit,'String',sprintf('%3.2f',valQ2));
+resQ2 = str2double(get(handles.Q2courant_edit,'String'));
+setappdata(handles.figure1,'Q2courant',resQ2);
+
+valQ3= (read_magnet(device_name.Q3)); 
+set(handles.Q3courant_edit,'String',sprintf('%3.2f',valQ3));
+resQ3 = str2double(get(handles.Q3courant_edit,'String'));
+setappdata(handles.figure1,'Q3courant',resQ3);
+
+valQ4= (read_magnet(device_name.Q4)); 
+set(handles.Q4courant_edit,'String',sprintf('%3.2f',valQ4));
+resQ4 = str2double(get(handles.Q4courant_edit,'String'));
+setappdata(handles.figure1,'Q4courant',resQ4);
+
+%test % valH1= (read_magnet(device_name.H1)); 
+% set(handles.H1courant_edit,'String',sprintf('%3.2f',valH1));
+% resH1 = str2double(get(handles.H1courant_edit,'String'));
+% setappdata(handles.figure1,'H1courant',resH1);
+% 
+% valH2= (read_magnet(device_name.H2)); 
+% set(handles.H2courant_edit,'String',sprintf('%3.2f',valH2));
+% resH2 = str2double(get(handles.H2courant_edit,'String'));
+% setappdata(handles.figure1,'H2courant',resH2);
+% 
+% valV1= (read_magnet(device_name.V1)); 
+% set(handles.V1courant_edit,'String',sprintf('%3.2f',valV1));
+% resV1 = str2double(get(handles.V1courant_edit,'String'));
+% setappdata(handles.figure1,'V1courant',resV1);
+
+%____________________________________________________________________
+% insrire une valeur par dï¿œfaut de calibration ???
+set(handles.G_edit12,'String',num2str(43));
+clear('figh');
+
+%____________________________________________________________________
+% mettre off le bouton calibration de l'image
+set([handles.calibOFF_radiobutton6],'Value',1);
+
+%____________________________________________________________________
+% exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+ handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+ handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+ ,handles.backlight_popupmenu3,...
+ handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+ handles.qualite_edit23,handles.G_edit12,...
+    handles.pos1_edit29,handles.pos2_edit30...
+    handles.text45,handles.text39,handles.text26,handles.text41...
+    handles.calib_pushbutton7],'Enable','off')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+%____________________________________________________________________
+% positionner le miroir HORS, eteindre le backlight
+% tango_command_inout('lt1/emit/mirror','Off');
+% tango_command_inout('lt1/emit/backlight','SetBrightness',uint16(0));
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+%___________________________________________________________________
+% position des lentilles pour les differents grandissements, en nombre de pas
+setappdata(handles.figure1,'posl1Gmax',3000);
+setappdata(handles.figure1,'posl2Gmax',35130);
+setappdata(handles.figure1,'posl1Gmoy',8650);
+setappdata(handles.figure1,'posl2Gmoy',26500);
+setappdata(handles.figure1,'posl1Gmin',0);
+setappdata(handles.figure1,'posl2Gmin',3925);
+
+%____________________________________________________________________
+% positionner les voyants des butï¿œes lentilles ï¿œ leur valeur vraies
+
+%dev=device_name.lentille_haute;
+dev=device_name.lentille_haute;
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+
+% errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+% errorstatus=3  limitswitch forward
+% errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+% errorstatus=4  limitswitch backward
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(handles.LHBH_edit25,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(handles.LHBB_edit24,'BackgroundColor','red');
+        end
+
+end         
+
+
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas ou l'axe est en butee backward (en haut)
+        if isequal(errorstatus,22)|isequal(errorstatus,4)
+            set(handles.LBBH_edit26,'BackgroundColor','red');
+        end
+        % cas ou l'axe est en butee forward (en bas)
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+            set(handles.LBBB_edit27,'BackgroundColor','red');
+        end
+end           
+
+
+%____________________________________________________________________
+% allumer en rouge le grandissement effectif
+
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+
+dev1=device_name.lentille_haute;
+dev2=device_name.lentille_basse;
+
+str1=tango_read_attribute(dev1,'AxisCurrentPosition');
+str2=tango_read_attribute(dev2,'AxisCurrentPosition');
+position1=str1.value(1);
+position2=str2.value(1);
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+else
+        % cas du grandissement max
+        if isequal(position1,posl1Gmax)&isequal(position2,posl2Gmax)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement moyen
+        if isequal(position1,posl1Gmoy)&isequal(position2,posl2Gmoy)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        end
+        % cas du grandissement min
+        if isequal(position1,posl1Gmin)&isequal(position2,posl2Gmin)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        end
+
+end           
+
+%________________________________________________________________________
+% ï¿œcrire les valeurs effectives de positions des lentilles
+
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+%set(handles.nbacqu_edit13,'String',num2str(handles.nbenregistrs));
+
+% --- Executes during object creation, after setting all properties.
+function lent1_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lent1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% du temps ou il y avait des sliders....
+%         % --- Executes on slider movement.
+%         function lent1_slider1_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_slider1 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent1_edit5,'String',...
+%             num2str(get(handles.lent1_slider1,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent1_edit5_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+
+
+%         function lent1_edit5_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent1_edit5 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent1_edit5 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent1_edit5 as a double
+% 
+% 
+%         val = str2double(get(handles.lent1_edit5,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent1_slider1,'Min') & ...
+%             val <= get(handles.lent1_slider1,'Max')
+%             set(handles.lent1_slider1,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent1_edit5,'String',...
+%             ['Caramba ',...
+%         %num2str(handles.number_errors),' Times']);
+%             '']);
+%         end
+% 
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_slider2_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: slider controls usually have a light gray background, change
+%         %       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+%         usewhitebg = 1;
+%         if usewhitebg
+%             set(hObject,'BackgroundColor',[.9 .9 .9]);
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+%         % --- Executes on slider movement.
+%         function lent2_slider2_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_slider2 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'Value') returns position of slider
+%         %        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+% 
+%         set(handles.lent2_emitV_edit19,'String',...
+%             num2str(get(handles.lent2_slider2,'Value')));
+% 
+%         % --- Executes during object creation, after setting all properties.
+%         function lent2_emitV_edit19_CreateFcn(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    empty - handles not created until after all CreateFcns called
+% 
+%         % Hint: edit controls usually have a white background on Windows.
+%         %       See ISPC and COMPUTER.
+%         if ispc
+%             set(hObject,'BackgroundColor','white');
+%         else
+%             set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+%         end
+% 
+% 
+% 
+%         function lent2_emitV_edit19_Callback(hObject, eventdata, handles)
+%         % hObject    handle to lent2_emitV_edit19 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hints: get(hObject,'String') returns contents of lent2_emitV_edit19 as text
+%         %        str2double(get(hObject,'String')) returns contents of lent2_emitV_edit19 as a double
+% 
+%         val = str2double(get(handles.lent2_emitV_edit19,'String'));
+%         % Determine whether val is a number between 0 and 1
+%         if isnumeric(val) & length(val)==1 & ...
+%             val >= get(handles.lent2_slider2,'Min') & ...
+%             val <= get(handles.lent2_slider2,'Max')
+%             set(handles.lent2_slider2,'Value',val);
+%         else
+%         % Increment the error count, and display it
+%             handles.number_errors = handles.number_errors+1;
+%             guidata(hObject,handles); % store the changes
+%             set(handles.lent2_emitV_edit19,'String',...
+%             ['Zut ',...
+%         %num2str(handles.number_errors),'']);
+%             '']);
+%         end
+
+% --- Executes on button press in calib_pushbutton7.
+function calib_pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to calib_pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% alias
+device_name=getappdata(handles.figure1,'device_name');
+dev=device_name.videograbber;
+
+tango_command_inout(dev,'Calibrate');
+%ATTENTION PEUT ETRE ATTRIBUTS  AVEC un SSSSS
+if isequal(tango_error,-1)
+    
+    %errordlg('erreur TANGO...','Error');
+    tango_print_error_stack;
+    diag = tango_error_stack;
+    errordlg(diag(1).desc);
+else   
+    
+    res=tango_read_attribute(dev,'calibration_quality');
+    % on teste la qualitï¿œ de la calibration  FACTEUR 996.0
+    % le 10 septembre MATLAB a pris lamain sur le code de NL pour le
+    % critï¿œre. attention ï¿œ 990 on est dans les choux
+    if res.value>996.0
+        val=sprintf('%3.2f',res.value);
+        set(handles.qualite_edit23,'String',val);
+        tango_read_attribute(dev,'x_magnification_factor');
+        val=sprintf('%2.1f',1000*ans.value);
+        set(handles.G_edit12,'String',val);
+        setappdata(handles.figure1, 'G',str2num(val)/1000)
+        
+        %dev='lt1/dg/emit-vg';
+        pause(1);
+        toto=tango_read_attribute(dev,'corrected_image');
+        figure(2);
+        imagesc(toto.value);
+        colormap(gray);
+
+    else
+        errordlg('la calibration a echouï¿œe ...','Error'); 
+    end
+    
+end
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function fit_popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in fit_popupmenu1.
+function fit_popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to fit_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns fit_popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from fit_popupmenu1
+
+val = get(hObject,'Value');
+switch val
+case 1
+    largeur_option=0;
+case 2
+    % fit par gaussienne
+    largeur_option=1;
+
+case 3
+    % vrai rms
+    largeur_option=2;
+    
+case 4
+    % rayon ï¿œ X %
+    largeur_option=3;
+end
+setappdata(handles.figure1,'largeur_option',largeur_option);
+
+% --- Executes on button press in mesure_pushbutton8.
+function mesure_pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to mesure_pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%nbiterations=0;
+%nombre1=get(handles.fit_popupmenu1, 'String');
+
+popup_sel_index = get(handles.nbiter_popupmenu2, 'Value');
+nombre2=get(handles.nbiter_popupmenu2, 'String');
+Name = nombre2{popup_sel_index};
+nbiterat=str2num(Name(1));
+setappdata(handles.figure1, 'nbiterations',nbiterat);
+set(handles.nbiter_edit37,'String',Name(1));
+switch popup_sel_index
+    case 1
+         errordlg('selectionnez un nombre d''iterations','Error');
+	     %error('Select a number of acquisitions'); %exprimez votre choix 
+    case 2
+        %test de la pause : pause(10); 
+        show1imagesgui_15(handles);     
+         
+    case 3
+         show5imagesgui_15(handles);    
+    case 4
+         show10imagesgui(handles);
+        
+end
+
+
+% --- Executes on button press in plot_pushbutton.
+function plot_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to plot_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+handles.matrx=[];
+handles.matry=[];
+for ik=1:length(handles.ResultsData)
+    handles.matrx(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matrx(ik,2)=handles.ResultsData(ik).LargeurH;
+    errorx(ik)=2*handles.ResultsData(ik).sigmaH;
+    handles.matry(ik,1)=handles.ResultsData(ik).Q4courant;
+    handles.matry(ik,2)=handles.ResultsData(ik).LargeurV;
+    errory(ik)=2*handles.ResultsData(ik).sigmaV;
+end
+
+clear('figure3');
+figure(3);
+toto1=handles.matrx(:,1)
+toto2=handles.matrx(:,2)
+
+%plot(handles.matrx(:,1),handles.matrx(:,2),'d')
+%%plot(handles.matry(:,1),handles.matry(:,2),'d')
+    % %'--rs','LineWidth',2,...
+    % %                'MarkerEdgeColor','k',...
+    % %                'MarkerFaceColor','g',...
+    %  %               'MarkerSize',8)
+    % 
+    %  
+    % %%t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+    % %%y=[2.3 13.5 7. 0.85 1.8 6.3 22.]';
+    % %plot(t,y,'+'),grid on
+X = [ones(size(handles.matrx(:,1)))  handles.matrx(:,1)  handles.matrx(:,1).^2];
+a=X\handles.matrx(:,2);
+Tmin=min(handles.matrx(:,1));
+Tmax=max(handles.matrx(:,1));
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+plot(T,Z,'r-',handles.matrx(:,1),handles.matrx(:,2),'ro'), grid on
+
+
+Y = [ones(size(handles.matry(:,1)))  handles.matry(:,1)  handles.matry(:,1).^2];
+a=Y\handles.matry(:,2);
+Tmin=min(handles.matry(:,1));
+Tmax=max(handles.matry(:,1));
+T=[Tmin:0.1:Tmax]';
+Z = [ones(size(T))  T  T.^2]*a;
+hold on
+plot(T,Z,'b-',handles.matry(:,1),handles.matry(:,2),'b+'), grid on
+
+% exemple de label des axes avec symboles grecs :
+xlabel('-\pi \leq \Theta \leq \pi')
+ylabel('sin(\Theta)')
+title('Plot of sin(\Theta)')
+text(-pi/4,sin(-pi/4),'\leftarrow sin(-\pi\div4)',...
+     'HorizontalAlignment','left')
+ 
+% nos labels
+xlabel('Courant quadrupolaire (A)')
+ylabel('Largeur faisceau (mm2')
+title('Courbe de focalisation')
+
+% Q1courant de 1 ï¿œ 10 A
+%T=[1:0.1:10]';
+%Y = [ones(size(T))  T  T.^2]*a;
+%%figure(1);
+%hold on
+%figure(4)
+%plot(T,Y,'-',handles.matrx(:,1),handles.matrx(:,2),'o'), grid on
+%hold on
+
+% barre d'erreur
+% hold on
+% errorbar(handles.matrx(:,1),handles.matrx(:,2),errorx) 
+
+
+% --- Executes during object creation, after setting all properties.
+function Q1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function Q1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q1courant_edit as a double
+
+
+ecriture('Q1',handles)
+
+
+
+function ecriture(aimant,handles)
+
+device_name = getappdata(handles.figure1,'device_name');
+Name = strcat(aimant,'courant_edit');
+res = str2double(get(handles.(Name),'String'));
+valmax=tango_get_attribute_config(device_name.(aimant),'current');
+
+if res > str2double(valmax.max_value)
+    set(handles.(Name),'BackgroundColor','red');
+    errordlg('Courant superieur ï¿œ valeur maximale !','ALARME');
+    guidata(gcbo,handles);
+    old = tango_read_attribute(device_name.(aimant),'current');
+    set(handles.(Name),'String',num2str(old.value(1)));
+    pause(2);
+    set(handles.(Name),'BackgroundColor','green');
+else
+    set(handles.(Name),'BackgroundColor','green');
+    Name2 =[aimant 'courant'];
+    setappdata(handles.figure1,Name2,res);
+    tango_write_attribute(device_name.(aimant),'current',res);
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function H1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function H1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H1courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H1courant_edit as a double
+
+ecriture('H1',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function V1courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+
+% --------------------------------------------------------------------
+function V1courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to V1courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ecriture('V1',handles)
+
+
+% ------- lecture de valeurs dans les devices servers Tango ----------
+function Cour=read_magnet(dev)
+
+attr_val = tango_read_attribute(dev,'current');
+if (tango_error == -1)
+  %- handle error 
+  tango_print_error_stack;
+  fprintf(1,'TracyServer Error %s\n',dev)
+  return;
+end
+Cour=attr_val.value(1);
+
+% --------------------------------------------------------------------
+% --- Executes during object creation, after setting all properties.
+function nbiter_popupmenu2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'Nbre iterations par acquisition','1 iteration par acquisition'...
+    ,'5 iterations par acquisition'...
+    });
+
+% --- Executes on selection change in nbiter_popupmenu2.
+function nbiter_popupmenu2_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns nbiter_popupmenu2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from nbiter_popupmenu2
+
+
+% % --- Executes on button press in camera_control_togglebutton.
+% function camera_control_togglebutton_Callback(hObject, eventdata, handles)
+% % hObject    handle to camera_control_togglebutton (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hint: get(hObject,'Value') returns toggle state of camera_control_togglebutton
+% button_state = get(hObject,'Value');
+% if button_state == get(hObject,'Max')
+%     % toggle button is pressed
+% elseif button_state == get(hObject,'Min')
+%     % toggle button is not pressed
+% end
+
+
+% ï¿œ dï¿œtruire
+%         % --- Executes on button press in camera_image_togglebutton.
+%         function camera_image_togglebutton_Callback(hObject, eventdata, handles)
+%         % hObject    handle to camera_image_togglebutton (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         % Hint: get(hObject,'Value') returns toggle state of camera_image_togglebutton
+%         button_state = get(hObject,'Value');
+%         if button_state == get(hObject,'Max')
+%             % toggle button is pressed
+%         elseif button_state == get(hObject,'Min')
+%             % toggle button is not pressed
+%         end
+% 
+%         %camera_image(handles);
+% 
+% 
+%         %     name=['axes' num2str(1)];
+%         %    axes(handles.(name))
+%         % timer1 = timer('Period', 2,'TasksToExecute', 
+%         % Inf,'ExecutionMode','fixedRate');
+% 
+%         %     t=timer('StartDelay',1,'TimerFcn',@mycallback,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+% 
+%         % timer1=timer('StartDelay',1,...
+%         %     'ExecutionMode','fixedRate','Period',0.333,'TasksToExecute',10);
+%         % timer1.TimerFcn = {@mycallback, hObject,eventdata, handles};
+% 
+%         %figure(1);
+%         %axes(handles.axes1);
+%         timer1 = getappdata(handles.figure1,'Timer');
+%         start(timer1);
+
+%     % --- Executes on button press in imageOFF_radiobutton.
+%     function imageOFF_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageOFF_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageOFF_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     delete(timer1);
+
+
+% % function buttongroup(hObject, eventdata, handles)
+% % h = uibuttongroup('visible','off','Position',[0 .9 .1 .1]);
+% % u0 = uicontrol('Style','Radio','String','Option 1',...
+% %     'pos',[10 350 80 30],'parent',h,'HandleVisibility','off');
+% % u1 = uicontrol('Style','Radio','String','Option 2',...
+% %     'pos',[10 250 80 30],'parent',h,'HandleVisibility','off');
+% % u2 = uicontrol('Style','Radio','String','Option 3',...
+% %     'pos',[10 150 80 30],'parent',h,'HandleVisibility','off');
+% % set(h,'SelectionChangeFcn',@selcbk);
+% % set(h,'SelectedObject',[]);  % No selection
+% % set(h,'Visible','on');
+
+% function selcbk(source,eventdata)
+% disp(source);
+% disp('toto');
+% disp([eventdata.EventName,'  ',... 
+%      get(eventdata.OldValue,'String'),'  ', ...
+%      get(eventdata.NewValue,'String')]);
+% disp(get(get(source,'SelectedObject'),'String'));
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+timer1 = getappdata(handles.figure1,'Timer');
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('image video <-')
+        start(timer1);
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('image video ->')
+        stop(timer1);
+end
+
+
+%     % --- Executes on button press in imageON_radiobutton.
+%     function imageON_radiobutton_Callback(hObject, eventdata, handles)
+%     % hObject    handle to imageON_radiobutton (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     % Hint: get(hObject,'Value') returns toggle state of imageON_radiobutton
+% 
+%     timer1 = getappdata(handles.figure1,'Timer');
+%     start(timer1);
+
+
+function mutual_exclude(off)
+set(off,'Value',0)
+
+% --- Executes on button press in calibON_radiobutton5.
+function calibON_radiobutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to calibON_radiobutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibON_radiobutton5
+off = [handles.calibOFF_radiobutton6];
+mutual_exclude(off)
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% positionner le miroir EN, allumer le backlight
+tango_command_inout(device_name.miroir,'On');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(6));
+
+%____________________________________________________________________
+% positionner le popupmenu du backlight a la valeur effective
+lumiere=tango_command_inout(device_name.backlight,'GetBrightness');
+
+%- check error
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+else
+    set(handles.backlight_popupmenu3,'Value',lumiere);
+end
+
+%rendre la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+     handles.pos1_edit29,handles.pos2_edit30...
+     handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','on')
+% handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes on button press in calibOFF_radiobutton6.
+function calibOFF_radiobutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to calibOFF_radiobutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of calibOFF_radiobutton6
+off = [handles.calibON_radiobutton5];
+mutual_exclude(off)
+
+% alias
+
+device_name = getappdata(handles.figure1,'device_name');
+%getappdata(handles.figure1,'backlight');
+
+% positionner le miroir HORS, eteindre le backlight
+tango_command_inout(device_name.miroir,'Off');
+tango_command_inout(device_name.backlight,'SetBrightness',uint16(0));
+
+%% inserer l'Ã©cran YAG
+%tango_command_inout(device_name.ecran,'Insert');
+%fonction_error;
+
+%exclure la possibilitï¿œ de calibrer et de bouger les lentilles
+set([handles.Lenthaute_radiobutton7,handles.tata_radiobutton10,...
+     handles.ppp_pushbutton18,handles.pp_pushbutton19,handles.p_pushbutton20...
+     handles.mmm_pushbutton21,handles.mm_pushbutton22,handles.m_pushbutton23...
+     handles.backlight_popupmenu3,...
+     handles.Gmax_pushbutton26,handles.Gmoy_pushbutton27,handles.Gmin_pushbutton28,...
+     handles.qualite_edit23,handles.G_edit12,...
+        handles.pos1_edit29,handles.pos2_edit30...
+        handles.text45,handles.text39,handles.text26,handles.text41...
+        handles.calib_pushbutton7],'Enable','off')
+%handles.backlight_pushbutton24,handles.iris_pushbutton25,...
+
+% --- Executes during object creation, after setting all properties.
+function G_edit12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function G_edit12_Callback(hObject, eventdata, handles)
+% hObject    handle to G_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of G_edit12 as text
+%        str2double(get(hObject,'String')) returns contents of G_edit12 as a double
+
+
+
+
+
+% ------------------------------------------------------------
+% Callback for the Remove push button
+% ------------------------------------------------------------
+% --- Executes on button press in remove_pushbutton.
+function remove_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to remove_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Callback of the uicontrol handles.RemoveButton.
+%essai
+%handles.nbremove=handles.nbremove+1
+
+currentVal = get(handles.listbox1,'Value')
+resultsStr = get(handles.listbox1,'String')
+numResults = size(resultsStr,1)
+
+
+% Remove the data and list entry for the selected value
+
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+% handles.Sauver contient la structure du rï¿œsultat ï¿œ effacer
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+if isequal( handles.Ecran,{[]})
+    handles.Ecran= resultsStr(currentVal);
+else
+    handles.Ecran=[ handles.Ecran ; resultsStr(currentVal)];
+end
+resultsStr(currentVal) =[];
+resultats=getappdata(handles.figure1,'ResultsData');
+%%NumeroRemove=resultats(currentVal).RunNumber;
+if isequal( handles.Sauver,struct([]))
+    handles.Sauver=resultats(currentVal);
+else
+    handles.Sauver=[handles.Sauver  resultats(currentVal)];
+end
+
+resultats(currentVal)=[];
+setappdata(handles.figure1,'ResultsData',resultats);
+handles.ResultsData = resultats;
+
+%essai
+%restoreRes(handles.nbremove)=resultats(currentVal)
+%handles.restore=handles.remove+1;
+if ~isequal(numResults,1)
+    set([handles.restaurer_pushbutton15],'Enable','on')
+end
+% If there are no other entries, disable the Remove and Plot button
+% and change the list sting to <empty>
+if isequal(numResults,1)
+	resultsStr = {'<vide !!>'};
+	currentVal = 1;
+	set([handles.remove_pushbutton,handles.plot_pushbutton,...
+        handles.restaurer_pushbutton15],'Enable','off')	
+end
+
+
+
+% Ensure that list box Value is valid, then reset Value and String
+currentVal = min(currentVal,size(resultsStr,1));
+set(handles.listbox1,'Value',currentVal,'String',resultsStr)
+
+% Store the new ResultsData
+setappdata(handles.figure1,'Sauver',handles.Sauver);
+setappdata(handles.figure1,'Ecran',handles.Ecran);
+set(handles.nbacqu_edit13,'String', num2str(size(resultsStr,1)));
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+%%en attente   set(handles.nbacqu_edit13,'String',num2str(length(resultats)));
+
+guidata(hObject, handles);
+
+% --- Executes on button press in emittance_pushbutton12.
+function emittance_pushbutton12_Callback(hObject, eventdata, handles)
+% hObject    handle to emittance_pushbutton12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% calcul d'emittance
+
+handles.ResultsData = getappdata(handles.figure1,'ResultsData');
+largeur_option = getappdata(handles.figure1,'largeur_option');
+
+switch largeur_option
+case 1
+    % fit par gaussienne largeur_option = 1
+    set(handles.type_edit36,'String','rms (fit)');
+case 2
+    % vrai rms largeur_option = 2
+    set(handles.type_edit36,'String','vrai rms');
+    
+case 3
+    % rayon ï¿œ X % largeur_option = 3
+    set(handles.type_edit36,'String','Ã  X %');
+end
+
+
+% les vecteurs sx et sy sont dÃ©jÃ  les valeurs moyennï¿œes sur nbiter iterations
+%for i=1:length(handles.ResultsData)
+%    sx(i) = handles.ResultsData(i).LargeurH;
+ %   sy(i) = handles.ResultsData(i).LargeurV;
+ %   I(i)= handles.ResultsData(i).Q4courant;
+%end
+%%I = [1 2 3 4]
+
+% transformation courant - force quadrupolaire
+% ï¿œtalonnage de Q7 (si on a le temps prï¿œfï¿œrez ï¿œtalonnage Q4, mais pas trop important)
+% ATTENTION nï¿œcessitï¿œ de connaotre m'ï¿œnergie de la ligne (he oui ce n'est
+% pas simple) A RENTRER A LA MAIN DANS L'INTERFACE
+res = get(handles.energie_edit38,'String');
+if isequal(res,'ENERGIE')
+    errordlg('vous n''avez pas rentrÃ© l''Ã©nergie de la ligne !','Attention');
+    return
+end
+Energie = Str2num(get(handles.energie_edit38,'String'))*0.001;
+%t = amp2k4LT1(I,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15 , 1,Energie)
+%Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor
+% t = amp2k4LT1('QP','SetPoint',I, [1 4], Energie,[-1.49e-6 2.59e-5 -1.93e-4 4.98e-2 8.13e-4 ]/0.15,1)
+%t = hw2physics('QP','Setpoint',I,[1 4],Energie)';
+%% tests !
+t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+sx=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+sy=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+
+% constantes de la ligne de transfert
+% valeur vÃ©rifiÃ©e sur 3D D Zerbib 11 fÃ©vrier 2005
+
+Drift = [0.150 1.669 0.85415 2.400 0.950 3.79286];
+%     % point 0 simulation barelattice_LT1 ï¿œ entrï¿œe Lmag Q1
+%     drift1 = 1.669
+%     % sortie Lmag Q1 entrï¿œe Lmag Q2
+%     drift2 = 1.00415 - 0.150 = 0.85415
+%     % sortie Lmag Q2 entrï¿œe Lmag Q3
+%     drift3 = 2.550 - 0.150 = 2.400
+%     % sortie Lmag Q3 entrï¿œe Lmag Q4
+%     drift4 = 1.100 - 0.150 = 0.95
+%     % sortie L magnï¿œtique Qpï¿œle - centre ï¿œmittance
+%     drift5 = 3867,86 - 150/2 =  3792.86
+setappdata(handles.figure1,'Drift',Drift)
+Lq = Drift(1);
+Ld = Drift(6);
+Md = [1 Ld ; 0 1];
+
+% plan HORIZONTAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+% tailles en unitÃ© standard
+sx = sx * 0.001;
+sx2=sx.*sx;
+
+Mx11=zeros(length(t),1);
+Mx12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Mxq','Mxtransport')
+        Mxq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+        -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+        Mxtransport=Md*Mxq;
+        Mx11(i)=Mxtransport(1,1);
+        Mx12(i)=Mxtransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=Mx11.*Mx11;
+B=Mx12.*Mx12;
+F=2*Mx11.*Mx12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sx2' ; B'*sx2' ; F'*sx2'];
+   
+twissx=Z\H;
+% twissx(1) = sigma11(point origine) = Eps beta
+% twissx(2) = sigma22(point origine) = Eps gamma
+% twissx(3) = sigma12(point origine) = - Eps alpha
+epsx = sqrt(twissx(1)*twissx(2)-twissx(3)*twissx(3));
+% affichage de l'emittance en mm mrad
+emittanceH = sprintf('%3.2f',epsx*1e6) ;
+set(handles.emitH_edit18,'String',emittanceH);
+setappdata(handles.figure1,'Twissx',twissx);
+
+% plan VERTICAL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% calcul des elements de la matrice de transport entre le Qpole et le point de mesure
+
+sy = sy * 1e-3;
+sy2=sy.*sy;
+
+My11=zeros(length(t),1);
+My12=zeros(length(t),1);
+for i = 1:length(t)
+        clear('Myq','Mytransport')
+        Myq=[cosh(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sinh(Lq*sqrt(t(i))) ; ...
+        sqrt(t(i))*sinh(Lq*sqrt(t(i)))  cosh(Lq*sqrt(t(i)))];
+        Mytransport=Md*Myq;
+        My11(i)=Mytransport(1,1);
+        My12(i)=Mytransport(1,2);
+end
+
+% *********** methode Belbeoch **********************
+A=My11.*My11;
+B=My12.*My12;
+F=2*My11.*My12 ;
+    
+Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+           F'*A F'*B F'*F];
+H=[A'*sy2' ; B'*sy2' ; F'*sy2'];
+   
+twissy=Z\H;
+epsy = sqrt(twissy(1)*twissy(2)-twissy(3)*twissy(3));
+emittanceV = sprintf('%3.2f',epsy*1e6) ;
+set(handles.emitV_edit19,'String',emittanceV);
+setappdata(handles.figure1,'Twissy',twissy);
+
+
+
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+%         % Mesure de l'emittance par fit "Belbeoch" et distribution normale des
+%         % erreurs de mesures
+% 
+%         % valeurs exactes gradient t
+%         % valeurs exactes tailles de faisceau se
+%         % pourc = pourcentage d'erreur maximum sur la mesure de taille
+%         % Lq = Longueur du quadrupole
+%         % Ld = longueur du drift Qpole - point de mesure
+%         %---------------------------------------------------------
+%         % 
+% 
+%         %cla(figure(1));
+% 
+%         % methode de calcul
+%         method = 'moyenne des acquisitions';
+%         %method = 'moyenne des emittances'
+% 
+%         % erreur sur les mesures de taille / nb d'iterations sur une mesure/ pour
+%         % tester la validite de la methode : nb de tests 
+%         sigma = 0.35;
+%         % ? nbiter=5;
+%         nbiter=1;
+%         nbtests=30000;
+% 
+%         % valeurs exactes de forces quadrupolaires et tailles de faisceau
+%         t=[4.298 3.5 3.9 4.6 5.1 5.6 6.2]';
+%         se=[1.641  3.823 2.703 0.977 1.173 2.424 4.074];
+% 
+%         % initialisations
+%         % ? eps=zeros(nbiter,1);
+%         eps=zeros(nbtests,1);
+%         Lq=0.15;
+%         Ld=3.8915;
+%         Md=[1 Ld ; 0 1];
+%         st2=zeros(nbiter,length(t));
+%         meanst2=zeros(1,length(t));
+% 
+%         nbcomplexes=0;
+%         stdeps=1.;
+%         g=0;
+%         Z=zeros(3,3);
+% 
+% 
+%         % calcul des elements de la matrice de transport entre le Qpole et le point
+%         % de mesure
+%         M11=zeros(length(t),1);
+%         M12=zeros(length(t),1);
+%         for i = 1:length(t)
+%                 clear('Mq','Mtransport')
+%                 Mq=[cos(Lq*sqrt(t(i)))  (1/sqrt(t(i)))*sin(Lq*sqrt(t(i))) ; ...
+%                 -sqrt(t(i))*sin(Lq*sqrt(t(i)))  cos(Lq*sqrt(t(i)))];
+%                 Mtransport=Md*Mq;
+%                 M11(i)=Mtransport(1,1);
+%                 M12(i)=Mtransport(1,2);
+%         end
+% 
+% 
+%         for j = 1:nbtests
+% 
+%         % calcul de l'emittance avec moyenne prealable de chaque acquisition sur les nbiter
+%         %iterations (5 dans le menu) (distribution normale dans cette simulation)
+%         for i=1:length(t)
+%             s=se(i)+sigma*se(i)*randn(nbiter,1);
+%             s2=s.*s;
+%             meanst2(i)=mean(s2);
+%         end
+% 
+%         % *********** methode Belbeoch **********************
+%         A=M11.*M11;
+%         B=M12.*M12;
+%         F=2*M11.*M12 ;
+% 
+%         Z=[A'*A A'*B A'*F ; B'*A B'*B B'*F ; ...
+%                    F'*A F'*B F'*F];
+%         H=[A'*meanst2' ; B'*meanst2' ; F'*meanst2'];
+% 
+%         citer=Z\H;
+%         eps(j)=sqrt(citer(1)*citer(2)-citer(3)*citer(3));
+%         nbcomplexes = 1-isreal(eps(j)) + nbcomplexes;
+%         if isequal(isreal(eps(j)),0)
+%             epsilon(j) = 0;
+%         else 
+%             epsilon(j) = eps(j);
+%         end
+% 
+% 
+%         % emittanceH=num2str(eps) ;   
+%         % set(handles.emitH_edit18,'String',emittanceH);
+% 
+% 
+%         end
+% 
+%         moyenne = mean(epsilon)*length(eps)/(length(eps)-nbcomplexes);
+%         for j=1:length(eps)
+%             if isequal(epsilon(j),0)
+%                 sepsilon(j) = moyenne;
+%             else
+%                 sepsilon(j) = epsilon(j);
+%             end
+%         end
+%         standard = std(sepsilon)*sqrt(length(eps)/(length(eps)-nbcomplexes));
+%         disp(['nbcomplexes=' sprintf('%0.5g',nbcomplexes) '  sigma tailles=' sprintf('%0.5g',sigma) ...
+%                     '  nbiter=' sprintf('%0.5g',nbiter) ...
+%                 '  nbtests=' sprintf('%0.5g',nbtests) '  meaneps=' ...
+%                 sprintf('%0.5g',moyenne) '  stdeps=' sprintf('%0.5g',standard)] )
+%         disp(' ')
+% 
+%         %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  
+% 
+
+
+% --- Executes during object creation, after setting all properties.
+function nbacqu_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function nbacqu_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to nbacqu_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbacqu_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of nbacqu_edit13 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit14 as text
+%        str2double(get(hObject,'String')) returns contents of edit14 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit15 as text
+%        str2double(get(hObject,'String')) returns contents of edit15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit16 as text
+%        str2double(get(hObject,'String')) returns contents of edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit17 as text
+%        str2double(get(hObject,'String')) returns contents of edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitH_edit18_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+% emittance horizonale
+
+
+
+function emitH_edit18_Callback(hObject, eventdata, handles)
+% hObject    handle to emitH_edit18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitH_edit18 as text
+%        str2double(get(hObject,'String')) returns contents of emitH_edit18 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function emitV_edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function emitV_edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to emitV_edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of emitV_edit19 as text
+%        str2double(get(hObject,'String')) returns contents of emitV_edit19 as a double
+
+
+% --- Executes on button press in ellipse_pushbutton13.
+function ellipse_pushbutton13_Callback(hObject, eventdata, handles)
+% hObject    handle to ellipse_pushbutton13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ellipse_v15(handles)
+
+
+% --- Executes when figure1 window is resized.
+function figure1_ResizeFcn(hObject, eventdata, handles)
+% hObject    handle to figure1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes on button press in radiobutton7_bh_l1.
+function Lenthaute_radiobutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton7_bh_l1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Lenthaute_radiobutton7
+autre = [handles.tata_radiobutton10];
+mutual_exclude(autre)
+
+
+
+
+% --- Executes on button press in radiobutton10_bh_l2.
+function tata_radiobutton10_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton10_bh_l2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton10_bh_l2
+autre = [handles.Lenthaute_radiobutton7];
+mutual_exclude(autre)
+
+
+
+
+
+
+% --- Executes on button press in restaurer_pushbutton15.
+function restaurer_pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Restore the data and list entry for the last deleted value        
+ResultsStr = get(handles.listbox1,'String');
+handles.Sauver=getappdata(handles.figure1,'Sauver');
+handles.Ecran=getappdata(handles.figure1,'Ecran');
+handles.ResultsData=getappdata(handles.figure1,'ResultsData');
+
+LastValue=length(handles.Sauver) ;
+toto=handles.Sauver(LastValue);
+titi=handles.Ecran(LastValue);
+Numero=toto.RunNumber;
+Nombre=length(handles.ResultsData);
+reussite=0;
+
+if Numero>handles.ResultsData(Nombre).RunNumber
+    handles.ResultsData=[handles.ResultsData toto];
+    ResultsStr = [ResultsStr ; titi];
+else 
+    i=0;      
+    while isequal(reussite,0) & (i<(length(handles.ResultsData)))
+            i=  i+1  ;
+            if Numero>handles.ResultsData(Nombre-i+1).RunNumber
+                handles.ResultsData=[handles.ResultsData(1:Nombre-i+1) toto handles.ResultsData(Nombre-i+2:end)];
+                ResultsStr = [ResultsStr(1:Nombre-i+1) ; titi;ResultsStr(Nombre-i+2:end) ];
+                reussite=reussite+1;
+            end
+        
+    end
+    if isequal(reussite,0)  
+        handles.ResultsData=[toto handles.ResultsData];
+        ResultsStr = [titi ; ResultsStr];
+    end
+    
+end
+
+% Build the new results list string for the listbox
+set(handles.listbox1,'String',ResultsStr);
+
+% Store the new ResultsData
+handles.Sauver(LastValue)=[];
+handles.Ecran(LastValue)=[];
+setappdata(handles.figure1,'Sauver',handles.Sauver)
+setappdata(handles.figure1,'Ecran',handles.Ecran)
+setappdata(handles.figure1,'ResultsData',handles.ResultsData);
+
+% affiche le nombre de data utilisï¿œs dans le calcul d'ï¿œmittance
+set(handles.nbacqu_edit13,'String', num2str(size(ResultsStr,1)));
+
+
+% dï¿œsactiver le bouton restaurer si la liste est vide
+if isequal(LastValue,1)
+	set([handles.restaurer_pushbutton15],'Enable','off')	
+end
+guidata(hObject, handles);
+
+
+% --- Executes on button press in mesuressfaisceau_pushbutton16.
+function mesuressfaisceau_pushbutton16_Callback(hObject, eventdata, handles)
+% hObject    handle to mesuressfaisceau_pushbutton16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% sauvegarde sur disque de l'ensemble des acquisitions avec et sans
+% faisceau, proposee lorsque aucune acquisition avec faiseau n'est encore
+% faite
+entree=    getappdata(handles.figure1,'ResultsData');
+directory_principale = getappdata(handles.figure1,'directory_principale');
+if isequal(length(entree),0)
+    
+       %ouvrir le dossier pour l'enregistrement des profils
+       prompt={'entrer un nom de rï¿œpertoire'};
+       name='SAUVEGARDE SUR DISQUE';
+       numlines=1;
+       defaultanswer={strcat(datestr(clock,29),'_1')};
+       options.Resize='on';
+       options.WindowStyle='normal';
+       options.Interpreter='tex';
+       
+       % on ne propose la boite de dialogue qu'une seule fois
+       % ulterieurement, si on souhaite changer de directory de sauvegarde,
+       % cela se fait interactivement dans le '   ' 
+       val=getappdata(handles.figure1,'init_sauvegarde');
+       directory_principale=getappdata(handles.figure1,'directory_principale');
+       
+       while isequal(val,0)
+            directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+            % chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+            %%directory_sauvegarde=strcat(directory_principale,directory{:});
+            directory_sauvegarde=strcat(directory_principale,directory{:},'/');
+            setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+            
+            
+            % cas ou un nom de directory a ï¿œtï¿œ rentrï¿œ
+            if ~isequal(directory,{})
+                % cas ou la directory n'existe pas
+                %%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+                if ~isdir(directory_sauvegarde)   
+%                     mkdir(chemin)
+%                     cd(chemin);
+                    mkdir(directory_sauvegarde)
+                    cd(directory_sauvegarde);
+                    
+                    setappdata(handles.figure1,'init_sauvegarde',1);
+                    val=getappdata(handles.figure1,'init_sauvegarde');
+                    set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+                    
+                % cas ou la directory existe deja
+                else    
+                    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+                    if isequal(button,'oui')
+                        
+%                         cd(chemin);
+                        cd(directory_sauvegarde);  
+                        
+                        setappdata(handles.figure1,'init_sauvegarde',1);
+                        val=getappdata(handles.figure1,'init_sauvegarde');
+                        set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+          
+                    else
+                        % retour ï¿œ la case dï¿œpart 
+                        
+                    end
+                end     
+            
+            % cas ou on a refusï¿œ de rentrer un nom de directory
+            else
+                
+                errordlg('vous n''avez pas sï¿œlectionnï¿œ de directory de sauvegarde !','Attention');
+                
+                setappdata(handles.figure1,'init_sauvegarde',1);
+                val=getappdata(handles.figure1,'init_sauvegarde');
+            end
+            
+       end
+
+end
+
+
+showsansfgui_15(handles); 
+
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmax_pushbutton26.
+function Gmin_pushbutton28_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmax_pushbutton26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+% alias
+device_name = getappdata(handles.figure1,'device_name');
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmin=getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin=getappdata(handles.figure1,'posl2Gmin');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    
+    % avancer du nombre de pas exact correspondant au grandissement : 0
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%         pause(0.5);
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement 
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmin);
+     
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+        
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+ 
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+        % ï¿œteindre le vert
+        %set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        
+
+end   
+
+% allumer le voyant rouge Gmin
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmin,5);
+test2 = test_position(pos2.value(1),posl2Gmin,5);
+if test1 == 1&test2==1
+    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmoy_pushbutton27.
+function Gmoy_pushbutton27_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmoy_pushbutton27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de position des lentilles pour ce grandissement
+posl1Gmoy=getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy=getappdata(handles.figure1,'posl2Gmoy');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+dev=device_name.lentille_haute
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.5);
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    fonction_error
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    status0 =  tango_command_inout(dev,'AxisGetMotionStatus')
+    % avancer du nombre de pas exact correspondant au grandissement moyen : 
+    tango_command_inout(dev,'AxisGoToPosition',posl1Gmoy);
+    fonction_error
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+   
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev);
+    if (temporisation_mvt_axis(dev) == -1)
+        error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        disp('lentille haute')
+        % abort 
+    end
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+    end
+    
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+         disp('moy : abort')
+        end
+
+        % au cas oï¿œ la butï¿œe haute est allumï¿œe on l'ï¿œteint
+        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+        
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1) 
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    fonction_error;
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+
+    % avancer du nombre de pas exact correspondant au grandissement
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmoy);
+    
+    % on attent que l'axe se mette en mouvement
+    if (temporisation_mvt_axis(dev) == -1)
+        error =  tango_command_inout(dev,'AxisGetMotionStatus')
+        % abort 
+    end
+
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    end
+    
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         % ï¿œteindre le vert
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    
+
+end   
+
+% allumer le voyant rouge Gmoy
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmoy,5);
+test2 = test_position(pos2.value(1),posl2Gmoy,5);
+if test1 == 1&test2==1
+    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in Gmin_pushbutton28.
+function Gmax_pushbutton26_Callback(hObject, eventdata, handles)
+% hObject    handle to Gmin_pushbutton28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% recuperer les valeurs de positions des lentilles pour ce grandissement
+posl1Gmax=getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax=getappdata(handles.figure1,'posl2Gmax');
+device_name = getappdata(handles.figure1,'device_name');
+
+set(handles.Lenthaute_radiobutton7,'Value',0);
+set(handles.tata_radiobutton10,'Value',0);
+
+% eteindre un voyant grandissement ï¿œventuellement allumï¿œ
+
+set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]);
+
+
+
+dev=device_name.lentille_haute
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+     if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+         
+        % aller en butee haute
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev);
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+        
+        % attendre la fin de la commande
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%             pause(0.2);
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%             pause(0.2);
+%             set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702])
+        end
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+
+    % % si le moteur n'est pas en butee ce n'est pas normal..
+    % if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %     % probleme !
+    %     errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+
+    % indiquer la butee haute sur moteur 1 (lentille haute)
+    set(handles.LHBH_edit25,'BackgroundColor','red');
+    
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+    
+    % avancer du nombre de pas exact correspondant au grandissement max :
+    tango_command_inout(dev,'AxisGoToPosition',posl1Gmax);
+    % eteindre le voyant butï¿œe haute
+    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+         
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev); 
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+    
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green')
+%         pause(0.2);
+%         set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702])
+    end
+    % on affiche la position de la lentille
+    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+        %set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    
+end   
+ 
+dev=device_name.lentille_basse
+
+errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+if (tango_error == -1)
+      %- handle error
+      tango_print_error_stack;
+      return;
+      errordlg('erreur tango !','Erreur');
+
+else
+    % cas ou l'axe n'est pas en butee backward (en haut)
+    % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens -
+    % errorstatus=4  limitswitch backward
+    
+    if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+    
+        % si on est en butï¿œe basse forward on ï¿œteind le voyant
+        if isequal(errorstatus,21)|isequal(errorstatus,3)
+             set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+        end 
+        
+        % aller en butee haute backward
+        tango_command_inout(dev,'AxisBackward');
+        
+        % on attent que l'axe se mette en mouvement
+        %temporisation_mvt_axis(dev); 
+        if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+        end
+            
+        % attendre la fin de la commande
+            % set(handles.tata_radiobutton10,'BackgroundColor','green');
+        while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+            set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            pause(0.2);
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            pause(0.2);
+            % on affiche la position de la lentille
+            pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor','green');
+%             pause(0.2);
+%             set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+        end
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            %set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+            % set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    
+    %     % si le moteur n'est pas en butee ce n'est pas normal..
+    %     if ~isequal(tango_command_inout(dev,'AxisGetMotionStatus'),-1)
+    %         % probleme !
+    %         errordlg('bizzare, vous n''etes pas en butï¿œe...?!','Erreur');
+    %     else
+
+    % definir la position 0
+    tango_command_inout(dev,'AxisDefinePosition',0);
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    
+    % eteindre le voyant rouge butee backward s'il est allumï¿œ
+    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+    
+    % avancer du nombre de pas exact correspondant au grandissement MAX ...
+    tango_command_inout(dev,'AxisGoToPosition',posl2Gmax);
+    
+    % on attent que l'axe se mette en mouvement
+    %temporisation_mvt_axis(dev); 
+    if (temporisation_mvt_axis(dev) == -1)
+         % abort 
+    end
+            
+    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+        set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+        pause(0.2);
+        set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+        pause(0.2);
+        % on affiche la position de la lentille
+        pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%         pause(0.2);
+%         set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+    end
+    % on affiche la position de la lentille
+    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+    %     % ï¿œteindre le vert
+    %     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+
+end   
+
+% allumer le voyant Gmax en rouge
+pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition')
+pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition')
+test1 = test_position(pos1.value(1),posl1Gmax,5);
+test2 = test_position(pos2.value(1),posl2Gmax,5);
+if test1 == 1&test2==1
+    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+end
+
+%__________________________________________________________________________
+% --- Executes on button press in ppp_pushbutton18.
+function ppp_pushbutton18_Callback(hObject, eventdata, handles)
+% hObject    handle to ppp_pushbutton18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=10000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+% logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+% logdev2=get(handles.tata_radiobutton10,'Value');
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+% if isequal(logdev1,0)&isequal(logdev2,0)
+%     errordlg('selectionnez une lentille','ATTENTION');
+% else
+%     if isequal(logdev1,1)
+%         dev=device_name.lentille_haute;
+%         nbpas=5000;
+%     else
+%         dev=device_name.lentille_basse;
+%         nbpas=10000;
+%     end
+%     
+%     errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%     if (tango_error == -1)
+%         %- handle error
+%         tango_print_error_stack;
+%         return;
+%         errordlg('erreur tango !','Erreur');
+% 
+%     else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on descend vers la butï¿œe forward
+%             tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%         
+%             % temporisation : 
+%             pause(0.2);
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                 end
+%                 pause(0.5);
+%             end
+%             
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             if isequal(logdev1,1)
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%             else
+%                 set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%             end
+%             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+
+
+% --- Executes on button press in pp_pushbutton19.
+function pp_pushbutton19_Callback(hObject, eventdata, handles)
+% hObject    handle to pp_pushbutton19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=1000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+ 
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    pause(0.2);
+                    drawnow;
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                    pause(0.2);
+                    drawnow;
+                    
+                end
+                %pause(0.5);
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+% --- Executes on button press in p_pushbutton20.
+function p_pushbutton20_Callback(hObject, eventdata, handles)
+% hObject    handle to p_pushbutton20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=100;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee forward (en bas)
+        % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=3  limitswitch forward
+
+        if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+ 
+            % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+            % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on descend vers la butï¿œe forward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+        
+            % temporisation : 
+            %temporisation_mvt_axis(dev);
+            if (temporisation_mvt_axis(dev) == -1)
+                % abort 
+            end
+            
+            %pause(0.2);
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+                
+            end
+            
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+            
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                
+            end
+            
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+            
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                    
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+
+                end 
+            end
+            
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+      
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+            
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% --- Executes on button press in m_pushbutton23.
+function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-5000;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-10000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                if isequal(logdev1,1)
+                    
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                else
+                    
+                    set(handles.tata_radiobutton10,'BackgroundColor','green'); 
+                    while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+                    end
+                    
+                end
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     disp('dans la boucle tant que mvt')
+%                     if isequal(logdev1,1)
+%                         disp('je dois afficher le vert')
+%                         pause(0.1);
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                         %pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                         set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         %set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                         % on affiche la position de la lentille
+%                         %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                         pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                         %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                         set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+% 
+%                     end
+%                 end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    %pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    %set(handles.pos2_edit30,'String',num2str(pos2.value(1)
+                    %));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    %pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    %set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+
+
+%     % --- Executes on button press in mmm_pushbutton21.
+%     function mmm_pushbutton21_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mmm_pushbutton21 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-5000;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-10000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+% 
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+% --- Executes on button press in m_pushbutton23.
+function mm_pushbutton22_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-500;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-1000;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+
+                while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                        pause(0.2);
+                        drawnow;
+                        
+                    else
+                        
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                        pause(0.2);
+                        drawnow;
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+% 
+% 
+%     % --- Executes on button press in mm_pushbutton22.
+%     function mm_pushbutton22_Callback(hObject, eventdata, handles)
+%     % hObject    handle to mm_pushbutton22 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+% 
+%     logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+%     logdev2=get(handles.tata_radiobutton10,'Value');
+%     posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+%     posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+%     posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+%     posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+%     posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+%     posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% 
+%     if isequal(logdev1,0)&isequal(logdev2,0)
+%         errordlg('selectionnez une lentille','ATTENTION');
+%     else
+%         if isequal(logdev1,1)
+%             dev=device_name.lentille_haute;
+%             nbpas=-500;
+%         else
+%             dev=device_name.lentille_basse;
+%             nbpas=-1000;
+%         end
+% 
+%         errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+%         if (tango_error == -1)
+%             %- handle error
+%             tango_print_error_stack;
+%             return;
+%             errordlg('erreur tango !','Erreur');
+% 
+%         else
+%             % cas ou l'axe n'est pas en butee backward (en haut)
+%             % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%             % errorstatus=4  limitswitch forward
+% 
+%             if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+% 
+%                 % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+%                 if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+%                     else
+%                         set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+%                     end
+%                 end
+% 
+%                 % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+% 
+%                 % on monte vers la butï¿œe backward
+%                 tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+%                 if (tango_error == -1)
+%                     %- handle error
+%                     tango_print_error_stack;
+%                     return;
+%                     errordlg('erreur tango !','Erreur');
+% 
+%                 else
+% 
+%                 % temporisation : 
+%                 pause(0.2);
+%                 while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                     if isequal(logdev1,1)
+%                         set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                     else
+%                         set(handles.tata_radiobutton10,'BackgroundColor','green');
+%                     end
+%                     pause(0.5);
+%                 end
+% 
+%                 % on ï¿œteind le vert ï¿œ la fin du mouvement
+%                 if isequal(logdev1,1)
+%                     set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+% 
+%                 % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+%                 errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%                 if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                     if isequal(logdev1,1)
+%                         set(handles.LHBH_edit25,'BackgroundColor','red');
+%                     else
+%                         set(handles.LBBH_edit26,'BackgroundColor','red');
+%                     end 
+%                 end
+% 
+%                 % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+% 
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%                 if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                     set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                     set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%                 elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                     set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%                 end
+% 
+%                 end
+%             else 
+%                 errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%             end
+%         end
+%     end
+
+
+% --- Executes on button press in m_pushbutton23.
+function m_pushbutton23_Callback(hObject, eventdata, handles)
+% hObject    handle to m_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;
+        nbpas=-50;
+    else
+        dev=device_name.lentille_basse;
+        nbpas=-100;
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        % cas ou l'axe n'est pas en butee backward (en haut)
+        % errorstatus=22 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+        % errorstatus=4  limitswitch forward
+
+        if ~isequal(errorstatus,22)&~isequal(errorstatus,4)
+ 
+            % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                end
+            end
+            
+             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+            set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+            set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+            
+            
+            % on monte vers la butï¿œe backward
+            tango_command_inout(dev,'AxisGoToRelativePosition',nbpas);
+            if (tango_error == -1)
+                %- handle error
+                tango_print_error_stack;
+                return;
+                errordlg('erreur tango !','Erreur');
+
+            else
+            
+                % temporisation : 
+                %temporisation_mvt_axis(dev);
+                if (temporisation_mvt_axis(dev) == -1)
+                    % abort 
+                end
+                
+                while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                    if isequal(logdev1,1)
+                        set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                        set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                    else
+                        set(handles.tata_radiobutton10,'BackgroundColor','green');
+                        % on affiche la position de la lentille
+                        pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                        set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                    end
+                end
+
+                pause(0.5);
+                % on ï¿œteind le vert ï¿œ la fin du mouvement
+                % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                    pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+                end
+
+                % si on est arrivï¿œ en butï¿œe backward on allume le voyant
+                errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor','red');
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor','red');
+                    end 
+                end
+
+                % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+
+                pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+                pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+                if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                    set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                    set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+                elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                    set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+                end
+            end
+        else 
+            errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+        end
+    end
+end
+
+
+%         % --- Executes on button press in backlight_pushbutton24.
+%         function backlight_pushbutton24_Callback(hObject, eventdata, handles)
+%         % hObject    handle to backlight_pushbutton24 (see GCBO)
+%         % eventdata  reserved - to be defined in a future version of MATLAB
+%         % handles    structure with handles and user data (see GUIDATA)
+% 
+%         prompt={'entrer une intensitï¿œ * entier entre 0 et 10'};
+%         name='backlight';
+%         numlines=1;
+%         lumiere=tango_command_inout('lt1/emit/backlight','GetBrightness');
+%         %- check error
+%         if (tango_error == -1)
+%               %- handle error
+%               tango_print_error_stack;
+%               return;
+%         else
+%             defaultanswer={num2str(lumiere)};
+%         end
+%         options.Resize='on';
+%         options.WindowStyle='normal';
+%         options.Interpreter='tex';
+%         intensite=inputdlg(prompt,name,numlines,defaultanswer,options);
+%         if ~isempty(intensite)
+%             tango_command_inout('lt1/emit/backlight','SetBrightness',uint16(str2num(intensite{:})));
+%         end
+% 
+%     % --- Executes on button press in iris_pushbutton25.
+%     function iris_pushbutton25_Callback(hObject, eventdata, handles)
+%     % hObject    handle to iris_pushbutton25 (see GCBO)
+%     % eventdata  reserved - to be defined in a future version of MATLAB
+%     % handles    structure with handles and user data (see GUIDATA)
+% 
+%     %      %entrer les deux variables vitesse et intensite pour l'iris
+%     %        prompt={'entrer la vitesse - valeur entre 1 et 3','entrer l''intensite - valeur entre 1 et 10'};
+%     %        name='IRIS';
+%     %        numlines=1;
+%     %        defaultanswer={'3','10'};
+%     %        options.Resize='on';
+%     %        options.WindowStyle='normal';
+%     %        options.Interpreter='tex';
+%     %        val=0;
+%     %     %     while isequal(val,0)
+%     %         choix=inputdlg(prompt,name,numlines,defaultanswer,options);
+%     %     %         if ~isequal(directory,{})
+%     %     %             if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+%     %     %                 mkdir /home/PM/tordeux/matlab_test/directory;
+%     %     %                 val=1;
+%     %     %             else    
+%     %     %                 button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non')  
+%     %     %                 if isequal(button,'oui')
+%     %     %                     val=1;
+%     %     %                 end
+%     %     %             end     
+%     %     %         else
+%     %     %             %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%     %     %             directory={'secours'};
+%     %     %             val=1;
+%     %     %         end
+%     %     %     end
+% 
+%     IRIS(handles);
+% 
+
+
+function qualite_edit23_Callback(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of qualite_edit23 as text
+%        str2double(get(hObject,'String')) returns contents of qualite_edit23 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function qualite_edit23_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to qualite_edit23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBB_edit24_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBB_edit24 as text
+%        str2double(get(hObject,'String')) returns contents of LHBB_edit24 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBB_edit24_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBB_edit24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LHBH_edit25_Callback(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LHBH_edit25 as text
+%        str2double(get(hObject,'String')) returns contents of LHBH_edit25 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LHBH_edit25_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LHBH_edit25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBH_edit26_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBH_edit26 as text
+%        str2double(get(hObject,'String')) returns contents of LBBH_edit26 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBH_edit26_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBH_edit26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function LBBB_edit27_Callback(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LBBB_edit27 as text
+%        str2double(get(hObject,'String')) returns contents of LBBB_edit27 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LBBB_edit27_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LBBB_edit27 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in fondGmax_pushbutton29.
+function fondGmax_pushbutton29_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmax_pushbutton29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmoy_pushbutton30.
+function fondGmoy_pushbutton30_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmoy_pushbutton30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in fondGmin_pushbutton31.
+function fondGmin_pushbutton31_Callback(hObject, eventdata, handles)
+% hObject    handle to fondGmin_pushbutton31 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+function directory_sauvegarde_edit28_Callback(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of directory_sauvegarde_edit28 as text
+%        str2double(get(hObject,'String')) returns contents of directory_sauvegarde_edit28 as a double
+
+
+% % directory principale (dï¿œpend de l'utilisateur !!!)
+% setappdata(handles.figure1,'directory_principale',directory_principale);
+% 
+% % directory de sauvegarde en attente
+% setappdata(handles.figure1,'directory_principale','/home/PM/tordeux/matlab_test/');
+% directory_principale=getappdata(handles.figure1,'directory_principale');
+% phrase=strcat(directory_principale,'?');
+
+directory_sauvegarde=get(handles.directory_sauvegarde_edit28,'String');
+setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory n'existe pas
+%if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+if  ~isdir(   directory_sauvegarde)
+%                     mkdir(chemin)
+%                     cd(chemin);
+    mkdir(directory_sauvegarde)
+    cd(directory_sauvegarde);
+
+    %setappdata(handles.figure1,'init_sauvegarde',1);
+    %val=getappdata(handles.figure1,'init_sauvegarde');
+    %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+    setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+% cas ou la directory existe deja
+else    
+    button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+    if isequal(button,'oui')
+
+%                         cd(chemin);
+        cd(directory_sauvegarde);  
+
+        %setappdata(handles.figure1,'init_sauvegarde',1);
+        %val=getappdata(handles.figure1,'init_sauvegarde');
+        %set(handles.directory_sauvegarde_edit28,'String',directory_sauvegarde);
+        setappdata(handles.figure1,'directory_sauvegarde',directory_sauvegarde);
+
+    else
+        % retour ï¿œ la case dï¿œpart 
+
+    end
+end     
+
+
+
+% --- Executes during object creation, after setting all properties.
+function directory_sauvegarde_edit28_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to directory_sauvegarde_edit28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in backlight_popupmenu3.
+function backlight_popupmenu3_Callback(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns backlight_popupmenu3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from backlight_popupmenu3
+
+%alias
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.backlight;
+
+val = get(hObject,'Value');
+switch val
+case 1
+tango_command_inout(dev,'SetBrightness',uint16(0));    
+case 2
+tango_command_inout(dev,'SetBrightness',uint16(1));  
+case 3
+tango_command_inout(dev,'SetBrightness',uint16(2));  
+case 4
+tango_command_inout(dev,'SetBrightness',uint16(3));  
+case 5
+tango_command_inout(dev,'SetBrightness',uint16(4));  
+case 6
+tango_command_inout(dev,'SetBrightness',uint16(5));  
+case 7
+tango_command_inout(dev,'SetBrightness',uint16(6));  
+case 8
+tango_command_inout(dev,'SetBrightness',uint16(7));  
+case 9
+tango_command_inout(dev,'SetBrightness',uint16(8));  
+case 10
+tango_command_inout(dev,'SetBrightness',uint16(9));  
+case 11
+tango_command_inout(dev,'SetBrightness',uint16(10));  
+
+end
+
+% --- Executes during object creation, after setting all properties.
+function backlight_popupmenu3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to backlight_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'0','1','2','3','4','5','6',...
+    '7','8','9','10',...
+    });
+
+
+function pos1_edit29_Callback(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos1_edit29 as text
+%        str2double(get(hObject,'String')) returns contents of pos1_edit29 as a double
+
+% encore ï¿œ faire !!
+
+
+% posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+% posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+% posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+% posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+% posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+% posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+% device_name = getappdata(handles.figure1,'device_name');
+%     
+% numeropas = get(handles.pos1_edit29,'String');
+% errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+% 
+% if (tango_error == -1)
+%     %- handle error
+%     tango_print_error_stack;
+%     return;
+%     errordlg('erreur tango !','Erreur');
+% 
+% else
+%         % cas ou l'axe n'est pas en butee forward (en bas)
+%         % errorstatus=21 dï¿œcï¿œlï¿œration ou arrï¿œt dï¿œ ï¿œ un limit switch sens +
+%         % errorstatus=3  limitswitch forward
+% 
+%         if ~isequal(errorstatus,21)&~isequal(errorstatus,3)
+%  
+%             % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+%             if isequal(errorstatus,22)|isequal(errorstatus,4)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+%                 else
+%                     set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+%                 end
+%             end
+%             
+%             % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+%             set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+%             set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+%             
+%             
+%             % on bouge
+%             tango_command_inout(dev,'AxisGoToPosition',numeropas);
+%         
+%             % temporisation : 
+%             temporisation_mvt_axis(dev);
+%             
+%             while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+%                 
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+% 
+%             end
+%             
+%             pause(0.5);
+%             % on ï¿œteind le vert ï¿œ la fin du mouvement
+%             % on ï¿œcrit une derniï¿œre fois la position de la lentille
+%  
+%                 set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+%                 % on affiche la position de la lentille
+%                 pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%                 set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+%                             
+%             % si on est arrivï¿œ en butï¿œe forward on allume le voyant
+%             
+%             errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+%             if isequal(errorstatus,21)|isequal(errorstatus,3)
+%                 if isequal(logdev1,1)
+%                     set(handles.LHBB_edit24,'BackgroundColor','red');
+%                     
+%                 else
+%                     set(handles.LBBB_edit27,'BackgroundColor','red');
+% 
+%                 end 
+%             end
+%             
+%             % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+%       
+%             pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+%             pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+%             if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+%                 set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+%                 set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+%             elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+%                 set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+%             end
+%             
+%         else 
+%             errordlg('dï¿œjï¿œ en butee ou erreur','ATTENTION');
+%         end
+%     end
+% end
+% 
+
+% --- Executes during object creation, after setting all properties.
+function pos1_edit29_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos1_edit29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function pos2_edit30_Callback(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pos2_edit30 as text
+%        str2double(get(hObject,'String')) returns contents of pos2_edit30 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pos2_edit30_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pos2_edit30 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in F_iris_pushbutton32.
+function F_iris_pushbutton32_Callback(hObject, eventdata, handles)
+% hObject    handle to F_iris_pushbutton32 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FF_iris_pushbutton33.
+function FF_iris_pushbutton33_Callback(hObject, eventdata, handles)
+% hObject    handle to FF_iris_pushbutton33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in FFF_iris_pushbutton34.
+function FFF_iris_pushbutton34_Callback(hObject, eventdata, handles)
+% hObject    handle to FFF_iris_pushbutton34 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'CloseX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in O_iris_pushbutton35.
+function O_iris_pushbutton35_Callback(hObject, eventdata, handles)
+% hObject    handle to O_iris_pushbutton35 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '1';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OO_iris_pushbutton36.
+function OO_iris_pushbutton36_Callback(hObject, eventdata, handles)
+% hObject    handle to OO_iris_pushbutton36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '2';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+% --- Executes on button press in OOO_iris_pushbutton38.
+function OOO_iris_pushbutton38_Callback(hObject, eventdata, handles)
+% hObject    handle to OOO_iris_pushbutton38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.iris
+type = 'OpenX';
+vitesse = '3';
+click = '5';
+commandename=strcat(type,vitesse);
+tango_command_inout(dev,commandename,int32(str2num(click)));
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+%device_name = getappdata(handles.figure1,'device_name');
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Emittance ?',...
+    'Exit Programme Emittance',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+        %% extraire l'Ã©cran YAG
+        %tango_command_inout(device_name.ecran,'Extract');
+        %fonction_error;
+    otherwise
+        disp('Closing aborted')
+end
+
+
+
+function Q2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q2courant_edit as a double
+
+
+ecriture('Q2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function Q2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H2courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H2courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of H2courant_edit as a double
+
+ecriture('H2',handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function H2courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H2courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit33_Callback(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit33 as text
+%        str2double(get(hObject,'String')) returns contents of edit33 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit33_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit33 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q3courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q3courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q3courant_edit as a double
+
+ecriture('Q3',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q3courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q3courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Q4courant_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Q4courant_edit as text
+%        str2double(get(hObject,'String')) returns contents of Q4courant_edit as a double
+
+ecriture('Q4',handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Q4courant_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Q4courant_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function type_edit36_Callback(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of type_edit36 as text
+%        str2double(get(hObject,'String')) returns contents of type_edit36 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function type_edit36_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to type_edit36 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nbiter_edit37_Callback(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbiter_edit37 as text
+%        str2double(get(hObject,'String')) returns contents of nbiter_edit37 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nbiter_edit37_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbiter_edit37 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function energie_edit38_Callback(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of energie_edit38 as text
+%        str2double(get(hObject,'String')) returns contents of energie_edit38 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function energie_edit38_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to energie_edit38 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+% --- Executes on button press in imprimer_pushbutton7.
+function imprimer_pushbutton17_Callback(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Determine file and directory name
+FileName = '1';
+
+DirectoryName = getappdata(handles.figure1,'directory_sauvegarde');
+
+% Append date_Time to FileName
+%FileName = sprintf('%s_%s', 'tableau', FileName);
+FileName = sprintf( '%s_%s','tableau', FileName);
+
+%FileName = appendtimestamp(FileName, clock);
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% Save all data in structure to file
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+
+ResultsStr = get(handles.listbox1,'String');
+
+try
+    save(FileName,'ResultsStr')
+    %save(FileName,'ResultsStr','-ascii')
+    %save -ascii mydata.dat
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function imprimer_pushbutton17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to imprimer_pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+
+
+% --- Executes on selection change in camera_controle_popupmenu4.
+function camera_controle_popupmenu4_Callback(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns camera_controle_popupmenu4 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from camera_controle_popupmenu4
+
+device_name = getappdata(handles.figure1,'device_name');
+dev = device_name.videograbber;
+
+val = get(hObject,'Value');
+switch val
+   
+case 2
+tango_command_inout(dev,'AutoAdjustRefLevels');  
+disp('AutoAdjustRefLevels')
+case 3
+tango_command_inout(dev,'EnableCorrectedImage');  
+case 4
+tango_command_inout(dev,'EnableCorrectedProfiles');  
+case 5
+tango_command_inout(dev,'EnableProfiles');  
+case 6
+tango_command_inout(dev,'DisableCorrectedImage');  
+case 7
+tango_command_inout(dev,'DisableCorrectedProfiles');  
+case 8
+tango_command_inout(dev,'DisableProfiles');
+
+case 9
+tango_command_inout(dev,'GetExposureTime');
+% on donne la possibilitÃ© de modifier le exposuretime
+res = tango_command_inout(dev,'GetExposureTime');
+prompt={'ExposureTime'};
+name='GetExposureTime';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+time = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetExposureTime',str2num(time{:}));
+
+case 10
+% on donne la possibilitÃ© de modifier le shutterdelay
+res = tango_command_inout(dev,'GetShutterDelay');
+prompt={'ShutterDelay'};
+name='GetShutterDelay';
+numlines=1;
+defaultanswer={num2str(res)};
+options.Resize='on';
+options.WindowStyle='normal';
+options.Interpreter='tex';
+delay = inputdlg(prompt,name,numlines,defaultanswer,options);
+tango_command_inout(dev,'SetShutterDelay',str2num(delay{:}));
+
+case 11
+res = tango_command_inout(dev,'State');
+errordlg(res,'State');
+case 12
+res = tango_command_inout(dev,'Status');
+errordlg(res,'Status');
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function camera_controle_popupmenu4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to camera_controle_popupmenu4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in controle_lentilles_popupmenu5.
+function controle_lentilles_popupmenu5_Callback(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns controle_lentilles_popupmenu5 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from controle_lentilles_popupmenu5
+
+
+device_name = getappdata(handles.figure1,'device_name');
+logdev1=get(handles.Lenthaute_radiobutton7,'Value');
+logdev2=get(handles.tata_radiobutton10,'Value');
+posl1Gmax = getappdata(handles.figure1,'posl1Gmax');
+posl2Gmax = getappdata(handles.figure1,'posl2Gmax');
+posl1Gmoy = getappdata(handles.figure1,'posl1Gmoy');
+posl2Gmoy = getappdata(handles.figure1,'posl2Gmoy');
+posl1Gmin = getappdata(handles.figure1,'posl1Gmin');
+posl2Gmin = getappdata(handles.figure1,'posl2Gmin');
+device_name = getappdata(handles.figure1,'device_name');
+
+if isequal(logdev1,0)&isequal(logdev2,0)
+    errordlg('selectionnez une lentille','ATTENTION');
+else
+    if isequal(logdev1,1)
+        dev=device_name.lentille_haute;       
+    else
+        dev=device_name.lentille_basse;     
+    end
+    
+    errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+
+    if (tango_error == -1)
+        %- handle error
+        tango_print_error_stack;
+        return;
+        errordlg('erreur tango !','Erreur');
+
+    else
+        
+        val = get(hObject,'Value');
+        switch val
+
+        case 2
+        prompt={'Entrez une position'};
+        name='AxisDefinePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            tango_command_inout(dev,'AxisDefinePosition',str2num(toto{:}));
+            fonction_error;
+            
+            if isequal(logdev1,1)
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+            else
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+            end
+            
+        end
+
+        case 3
+        res = tango_command_inout(dev,'AxisGetErrorStatus');  
+        errordlg(num2str(res),'AxisGetErrorStatus');
+
+        case 4
+        res = tango_command_inout(dev,'AxisGetMotionStatus');  
+        errordlg(num2str(res),'AxisGetMotionStatus');
+
+        case 5
+        prompt={'Entrez une position de destination'};
+        name='AxisGoToPosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            fonction_error;
+            
+            if str2num(toto{:})>posref.value
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<posref.value
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_command_inout(dev,'AxisGoToPosition',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+        case 6
+        prompt={'Entrez une position relative de destination'};
+        name='AxisGoToRelativePosition';
+        numlines=1;
+        defaultanswer={ num2str(0) };
+        options.Resize='on';
+        options.WindowStyle='normal';
+        options.Interpreter='tex';
+        toto = inputdlg(prompt,name,numlines,defaultanswer,options);
+        if ~isequal(toto,{})
+            
+            posref=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+            fonction_error;
+            
+            if str2num(toto{:})>0
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe backward, on ï¿œteind le voyant
+                if isequal(errorstatus,22)|isequal(errorstatus,4)
+                    if isequal(logdev1,1)
+                        set(handles.LHBH_edit25,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBH_edit26,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            elseif str2num(toto{:})<0
+                
+                % pour le cas oï¿œ on ï¿œtait dans les conditions d'un grandissement, ï¿œteindre tous les voyants rouges grandissements
+                set(handles.fondGmax_pushbutton29,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor',[0.979 1.0 0.822]);
+                set(handles.fondGmin_pushbutton31,'BackgroundColor',[0.979 1.0 0.822]); 
+                
+                % si on ï¿œtait en butï¿œe forward, on ï¿œteind le voyant
+                if isequal(errorstatus,21)|isequal(errorstatus,3)
+                    if isequal(logdev1,1)
+                        set(handles.LHBB_edit24,'BackgroundColor',[0.702 0.702 0.702]);
+                    else
+                        set(handles.LBBB_edit27,'BackgroundColor',[0.702 0.702 0.702]);
+                    end
+                end
+                
+            else
+                return;
+            end
+            
+            % on dÃ©place l'axe jusqu'Ã  la position demandÃ©e
+            tango_command_inout(dev,'AxisGoToRelativePosition',str2num(toto{:}));
+            % on attent que l'axe se mette en mouvement
+            if (temporisation_mvt_axis(dev) == -1)
+             % abort 
+            end
+
+            % attendre la fin de la commande en clignotant
+            while isequal(tango_command_inout(dev,'AxisGetMotionStatus'),1)
+                if isequal(logdev1,1)
+                    set(handles.Lenthaute_radiobutton7,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+                else
+                    set(handles.tata_radiobutton10,'BackgroundColor','green');
+                    % on affiche la position de la lentille
+                    pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                    set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+                end
+            end
+
+            pause(0.5);
+            % on ï¿œteind le vert ï¿œ la fin du mouvement
+            % on ï¿œcrit une derniï¿œre fois la position de la lentille
+
+            if isequal(logdev1,1)
+                set(handles.Lenthaute_radiobutton7,'BackgroundColor',[0.702 0.702 0.702]);
+                % on affiche la position de la lentille
+                pos1=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos1_edit29,'String',num2str(pos1.value(1)));
+
+            else
+                set(handles.tata_radiobutton10,'BackgroundColor',[0.702 0.702 0.702]);
+                pos2=tango_read_attribute(dev,'AxisCurrentMotorPosition');
+                set(handles.pos2_edit30,'String',num2str(pos2.value(1)));
+
+            end
+        
+            % si on est arrivï¿œ en butï¿œe forward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            fonction_error;
+            if isequal(errorstatus,21)|isequal(errorstatus,3)
+                if isequal(logdev1,1)
+                    set(handles.LHBB_edit24,'BackgroundColor','red');
+                else
+                    set(handles.LBBB_edit27,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est arrivï¿œ en butï¿œe backward on allume le voyant  
+            errorstatus=tango_command_inout(dev,'AxisGetErrorStatus');
+            if isequal(errorstatus,22)|isequal(errorstatus,4)
+                if isequal(logdev1,1)
+                    set(handles.LHBH_edit25,'BackgroundColor','red');
+                else
+                    set(handles.LBBH_edit26,'BackgroundColor','red');
+                end 
+            end
+
+            % si on est sur une position dï¿œterminï¿œe d'un grandissement, allumer en rouge celui-ci
+            pos1=tango_read_attribute(device_name.lentille_haute,'AxisCurrentMotorPosition');
+            pos2=tango_read_attribute(device_name.lentille_basse,'AxisCurrentMotorPosition');
+            if isequal(pos1.value(1),posl1Gmax)&isequal(pos2.value(1),posl2Gmax)
+                set(handles.fondGmax_pushbutton29,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmoy)&isequal(pos2.value(1),posl2Gmoy)
+                set(handles.fondGmoy_pushbutton30,'BackgroundColor','red');
+            elseif isequal(pos1.value(1),posl1Gmin)&isequal(pos2.value(1),posl2Gmin) 
+                set(handles.fondGmin_pushbutton31,'BackgroundColor','red');
+            end
+        end
+        
+        
+        case 11
+        res = tango_command_inout(dev,'State');
+        errordlg(res,'State');
+        case 12
+        res = tango_command_inout(dev,'Status');
+        errordlg(res,'Status');
+        
+        end
+    end
+end
+            
+    
+
+
+
+% --- Executes during object creation, after setting all properties.
+function controle_lentilles_popupmenu5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to controle_lentilles_popupmenu5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/LT2/emittance/faisceau.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/faisceau.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/faisceau.m	(revision 17)
@@ -0,0 +1,37 @@
+function fun=faisceau(nbpixelsx,nbpixelsy,sigmax,sigmay,centrex,centrey,pourc)
+
+
+Y=(meshgrid(1:nbpixelsx+1,1:nbpixelsy+1))';
+%Y=(1:nbpixelsy+1)';
+X=meshgrid(1:nbpixelsy+1,1:nbpixelsx+1);
+%X=(1:nbpixelsx+1)';
+p=pourc*0.01;
+sigx=1*((1-p)*sigmax+2*p*sigmax*rand(1));
+sigy=1*((1-p)*sigmay+2*p*sigmay*rand(1));
+cx=1*((1-p)*centrex+2*p*centrex*rand(1));
+cy=1*((1-p)*centrey+2*p*centrey*rand(1));
+
+a=bigauss_bruit(X,Y,sigx,sigy,cx,cy,pourc/4);
+% on enleve le bruit de bigauss car redondant
+%a=bigauss(X,Y,sigx,sigy,cx,cy);
+
+%s=1*((1-pourc)*se+2*pourc*se.*rand(1,length(se)));
+
+b = p*rand(nbpixelsx+1,nbpixelsy+1);
+
+		% % pixels morts
+		% n=size(a);
+		% d=gallery('rando',n,1);
+		% 
+		% for i=1:10
+		%     c(i,:,:)=gallery('rando',n,1);
+		%     d=d.*squeeze(c(i,:,:));
+		% end
+%fun=a+b+d;
+
+fun=a+b;
+%fun=a;
+% figure(4)
+% 
+ %image(a+b+d,'CDataMapping','scaled')
+image(fun,'CDataMapping','scaled')
Index: /trunk/machine/SOLEIL/LT2/emittance/faisceau_sansimage.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/faisceau_sansimage.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/faisceau_sansimage.m	(revision 17)
@@ -0,0 +1,37 @@
+function fun=faisceau(nbpixelsx,nbpixelsy,sigmax,sigmay,centrex,centrey,pourc)
+
+
+Y=(meshgrid(1:nbpixelsx+1,1:nbpixelsy+1))';
+%Y=(1:nbpixelsy+1)';
+X=meshgrid(1:nbpixelsy+1,1:nbpixelsx+1);
+%X=(1:nbpixelsx+1)';
+p=pourc*0.01;
+sigx=1*((1-p)*sigmax+2*p*sigmax*rand(1));
+sigy=1*((1-p)*sigmay+2*p*sigmay*rand(1));
+cx=1*((1-p)*centrex+2*p*centrex*rand(1));
+cy=1*((1-p)*centrey+2*p*centrey*rand(1));
+
+a=bigauss_bruit(X,Y,sigx,sigy,cx,cy,pourc/4);
+% on enleve le bruit de bigauss car redondant
+%a=bigauss(X,Y,sigx,sigy,cx,cy);
+
+%s=1*((1-pourc)*se+2*pourc*se.*rand(1,length(se)));
+
+b = p*rand(nbpixelsx+1,nbpixelsy+1);
+
+		% % pixels morts
+		% n=size(a);
+		% d=gallery('rando',n,1);
+		% 
+		% for i=1:10
+		%     c(i,:,:)=gallery('rando',n,1);
+		%     d=d.*squeeze(c(i,:,:));
+		% end
+%fun=a+b+d;
+
+fun=a+b;
+%fun=a;
+% figure(4)
+% 
+ %image(a+b+d,'CDataMapping','scaled')
+%image(fun,'CDataMapping','scaled')
Index: /trunk/machine/SOLEIL/LT2/emittance/fonction_error.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/fonction_error.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/fonction_error.m	(revision 17)
@@ -0,0 +1,8 @@
+function fonction_error
+
+if (tango_error == -1)
+      %- print error stack
+      tango_print_error_stack;
+      %- can't continue
+      return;
+end
Index: /trunk/machine/SOLEIL/LT2/emittance/mycallback.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/mycallback.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/mycallback.m	(revision 17)
@@ -0,0 +1,42 @@
+ function mycallback(arg1,arg2,hObject, eventdata, handles)
+
+axes1=findobj(allchild(handles.figure1),'Tag','axes1');
+rowmax=513;
+columnmax=701;
+%toto=faisceau_sansimage(rowmax,columnmax,rowmax/10,columnmax/5,rowmax/2,columnmax/2,20);
+%image(toto,'CDataMapping','scaled','Parent',handles.axes1)
+
+    %dev='lt1/dg/emit-vg';
+
+    device_name = getappdata(handles.figure1,'device_name');
+
+    axes1=findobj(allchild(handles.figure1),'Tag','axes1');
+
+    %axes(handles.axes1);
+
+    %disp('on rentre dans mycallback')
+    dev=device_name.videograbber;
+
+    toto=tango_read_attribute(dev,'image');
+    fonction_error
+    %image(toto.value,'CDataMapping','scaled');
+    image(toto.value,'CDataMapping','scaled','Parent',handles.axes1)
+
+    %imagesc(toto.value,'Parent',handles.axes1);
+    colormap(gray);
+
+% 
+%     %     xdata=1:columnmax+1;
+%     %     ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+%     %     x0=[10 250 ValMaxc];
+%     %     %plot du rï¿œsultat
+%     %     F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)));
+%     %     name=['axes' num2str(2)];
+%     %     axes(handles.(name));
+%     %     plot(xdata,sumcolumn,'k-');
+%     %     xlim([0 length(sumcolumn)])
+%     %     hold on
+%     %     plot(xdata,F,'b-')
+%     %     hold off
+% 
+% 
Index: /trunk/machine/SOLEIL/LT2/emittance/show1imagesgui_15.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/show1imagesgui_15.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/show1imagesgui_15.m	(revision 17)
@@ -0,0 +1,1013 @@
+function varargout = show1imagesgui_15(varargin)  % EN COURS !!!!!!
+% show1imagesgui_15 M-file for show1imagesgui_15.fig
+%      show1imagesgui_15, by itself, creates a new show1imagesgui_15 or raises the existing
+%      singleton*.
+%
+%      H = show1imagesgui_15 returns the handle to a new show1imagesgui_15 or the handle to
+%      the existing singleton*.
+%
+%      show1imagesgui_15('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in show1imagesgui_15.M with the given input arguments.
+%
+%      show1imagesgui_15('Property','Value',...) creates a new show1imagesgui_15 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before show1imagesgui_15_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to show1imagesgui_15_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help show1imagesgui_15
+
+% Last Modified by GUIDE v2.5 11-Oct-2005 18:37:57
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @show1imagesgui_15_OpeningFcn, ...
+                   'gui_OutputFcn',  @show1imagesgui_15_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before show1imagesgui_15 is made visible.
+function show1imagesgui_15_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to show1imagesgui_15 (see VARARGIN)
+
+% Choose default command line output for show1imagesgui_15
+
+% Choose default command line output for test_1
+handles.output = hObject;
+
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller = varargin{1}.figure1;
+    
+    % Get nbiterations value from Application-Defined data
+    handles.nbiterations = getappdata(handles.caller, 'nbiterations');
+    handles.nbenregistrs = getappdata(handles.caller, 'nbenregistrs');
+    handles.Q4courant=getappdata(handles.caller,'Q4courant');
+    handles.nbenregistrements = getappdata(handles.caller, 'nbenregistrements');
+    handles.tailles = getappdata(handles.caller, 'tailles');
+    handles.ResultsData = getappdata(handles.caller, 'ResultsData');
+    handles.listbox=findobj(allchild(handles.caller),'Tag','listbox1');
+    handles.remove_pushbutton=findobj(allchild(handles.caller),'Tag','remove_pushbutton');  
+    handles.plot_pushbutton=findobj(allchild(handles.caller),'Tag','plot_pushbutton');
+    handles.restaurer_pushbutton15=findobj(allchild(handles.caller),'Tag','restaurer_pushbutton15');
+    handles.nbacqu_edit13=findobj(allchild(handles.caller),'Tag','nbacqu_edit13');
+    handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+    handles.vect_colonne_noire=getappdata(handles.caller, 'vect_colonne_noire');
+    handles.vect_ligne_noire=getappdata(handles.caller, 'vect_ligne_noire');
+    handles.G=getappdata(handles.caller, 'G');
+    handles.device_name = getappdata(handles.caller, 'device_name');
+    setappdata(handles.caller,'selection_fenetre_H',num2str(0));
+    setappdata(handles.caller,'selection_fenetre_V',num2str(0));
+    setappdata(handles.caller,'Rabotage',num2str(0));
+    set(handles.rayon_fenetre_H_edit16,'String',num2str(1));
+    set(handles.rayon_fenetre_V_edit17,'String',num2str(1));
+    
+    % button group sur squeeze du vecteur sumcolomn
+% h = uibuttongroup('visible','off','Position',[0.05 .9 .12 .08],...
+%     'Title','Image','TitlePosition','centertop');
+% u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+%     'pos',[2 .9 45 30],'parent',h,'HandleVisibility','off');
+% u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+%     'pos',[50 .9 45 30],'parent',h,'HandleVisibility','off');
+h = uibuttongroup('visible','off');
+u1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[35. 28. 45 30],'parent',h,'HandleVisibility','off');
+u2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+     'pos',[75. 28. 45 30],'parent',h,'HandleVisibility','off');
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+set(h,'SelectedObject',u2);  % No selection
+set(h,'Visible','on');
+
+v = uibuttongroup('visible','off');
+v1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[440. 390. 45 30],'parent',v,'HandleVisibility','off');
+v2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+     'pos',[440. 360. 45 30],'parent',v,'HandleVisibility','off');
+set(v,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_V,handles});
+set(v,'SelectedObject',v2);  % No selection
+set(v,'Visible','on');
+
+r = uibuttongroup('visible','off');
+r1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[400. 28. 45 30],'parent',r,'HandleVisibility','off');
+r2 = uicontrol('Style','Radio','String','OFF','Tag','radiobutton2',...
+     'pos',[440. 28. 45 30],'parent',r,'HandleVisibility','off');
+set(r,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_R,handles});
+set(r,'SelectedObject',r2);  % No selection
+set(r,'Visible','on');
+
+
+
+    % Update handles structure
+    guidata(hObject, handles);
+
+else
+    
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes show1imagesgui_15 wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+%______________________________________________________________________
+% profil horizontal
+handles.vect_colonne_noire=getappdata(handles.caller, 'vect_colonne_noire');
+
+   
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+
+%formation d'une image
+
+    %toto=faisceau(rowmax,columnmax,rowmax/10,columnmax/5,rowmax/2,columnmax/2,20);
+
+device_name = getappdata(handles.caller,'device_name');
+
+%axes1=findobj(allchild(handles.figure1),'Tag','axes1');
+%axes(handles.axes1);
+dev=device_name.videograbber;
+
+%toto=tango_read_attribute(dev,'image');
+toto=tango_read_attribute(dev,'corrected_image');
+%image(toto.value,'CDataMapping','scaled');
+image(toto.value,'CDataMapping','scaled','Parent',handles.axes1)
+rowmax=size(toto.value,1);
+columnmax=size(toto.value,2);
+
+%imagesc(toto.value,'Parent',handles.axes1);
+colormap(gray);    
+
+% calcul des projections
+sumcolumn=sum(toto.value(:,:));
+%sauvegarde du profil horizontal brut
+setappdata(handles.caller, 'profil_H',sumcolumn);
+
+
+% test si on a bien cree une image dans faisceau
+if isequal(size(sumcolumn),size(handles.vect_colonne_noire))
+    % on soustraie l'image sans faisceau
+    sumcolumn=sumcolumn-handles.vect_colonne_noire;
+else
+    errordlg('vous n avez pas fait d''image sans faisceau','Error');
+end
+
+% seul souci : les pixels rendus nï¿œgatifs dans l'opï¿œration prï¿œcedente. On
+% les passe sauvagement ï¿œ 0 !
+for i=1:length(sumcolumn)
+    if sumcolumn(i)<0 
+        sumcolumn(i)=0;
+    end
+end
+
+
+handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+
+% cas oï¿œ aucune option de calcul pour la largeur n'a ï¿œtï¿œ sï¿œlectionnï¿œ
+if isequal(handles.largeur_option,0)
+    errordlg('vous n avez pas fait votre choix pour la taille de faisceau','Error');
+end
+
+% fit par gaussienne
+if isequal(handles.largeur_option,1)
+    
+    %xdata=1:columnmax+1;
+    xdata=1:columnmax;
+    ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+    x0=[10 250 ValMaxc];
+    % option on enlï¿œve min :
+    %[ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn-ValMinc)
+    % option : on enlï¿œve l'image noire (fait prï¿œcï¿œdemment) :
+    [ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn);
+    rmsH=ac(1);
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsH*grossissement);
+    val=sprintf('%0.2f',rmsH*handles.G)
+    % impression du rayon en mm
+    set(handles.rmsH_edit11,'String',val);
+    sumHstd=0;
+
+    %plot du rï¿œsultat
+    %F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)))+ValMinc;
+    F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)));
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    plot(xdata,sumcolumn,'k-');
+    xlim([0 length(sumcolumn)])
+    hold on
+    plot(xdata,F,'b-')
+    hold off
+
+end
+
+
+% vrai rms
+if isequal(handles.largeur_option,2)
+    
+    ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+    sumcolumn=sumcolumn-ValMinc;
+    vect=1:length(sumcolumn);
+    sumcolumn1=sumcolumn/sum(sumcolumn);
+    smoy=sum(sumcolumn1.*vect);
+    tata=(vect-smoy).*(vect-smoy);
+    srms=sum(sumcolumn1.*tata);
+    rmsH=sqrt(srms);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsH*grossissement);
+    
+    val=sprintf('%0.2f',rmsH*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsH_edit11,'String',val);
+    
+    %plot du rï¿œsultat
+    xdata=1:columnmax;
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    plot(xdata,sumcolumn+ValMinc,'k-');
+    xlim([0 length(sumcolumn)])
+    hold on
+    %plot(xdata,F,'b-')
+    hold off
+
+end
+
+% $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+% profil vertical
+handles.vect_ligne_noire=getappdata(handles.caller, 'vect_ligne_noire');
+
+   
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+
+%     %formation d'une image
+%     rowmax=513;
+%     columnmax=701;
+%     toto=faisceau(rowmax,columnmax,rowmax/10,columnmax/5,rowmax/2,columnmax/2,20);
+% calcul des projections
+sumrow=sum(toto.value(:,:)');
+%sauvegarde du profil horizontal brut
+setappdata(handles.caller, 'profil_V',sumrow);
+
+
+% test si on a bien cree une image dans faisceau  
+if isequal(size(sumrow),size(handles.vect_ligne_noire))
+    % on soustraie l'image sans faisceau
+    sumrow=sumrow-handles.vect_ligne_noire;
+else
+    % a priori inutile (alarme dï¿œjï¿œ levï¿œe en horizontal)  errordlg('vous n avez pas fait d image sans faisceau','Error');
+end
+
+% seul souci : les pixels rendus nï¿œgatifs dans l'opï¿œration prï¿œcedente. On
+% les passe sauvagement ï¿œ 0 !
+for i=1:length(sumrow)
+    if sumrow(i)<0 
+        sumrow(i)=0;
+    end
+end
+
+
+%     handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+
+% fit par gaussienne
+if isequal(handles.largeur_option,1)
+    
+    %xdata=1:rowmax+1;
+    xdata=1:rowmax;
+    ValMaxr=max(sumrow);ValMinr=min(sumrow);
+    x0=[10 250 ValMaxr];
+    % option on enlï¿œve min :
+    %[ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn-ValMinc)
+    % option : on enlï¿œve l'image noire (fait prï¿œcï¿œdemment) :
+    [ar,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumrow);
+    rmsV=ar(1);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsV*grossissement);
+    
+    val=sprintf('%0.2f',rmsV*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsV_edit12,'String',val);
+    sumVstd=0;
+
+    %plot du rï¿œsultat
+    %F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)))+ValMinc;
+    Fr=ar(3)*exp(-(xdata-ar(2)).*(xdata-ar(2))/(2*ar(1)*ar(1)));
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    plot(xdata,sumrow,'k-');
+    xlim([0 length(sumrow)])
+    hold on
+    plot(xdata,Fr,'b-')
+    hold off
+
+end
+
+
+% vrai rms
+if isequal(handles.largeur_option,2)
+    
+    ValMaxr=max(sumrow);ValMinr=min(sumrow);
+    sumrow=sumrow-ValMinr;
+    vect=1:length(sumrow);
+    sumrow1=sumrow/sum(sumrow);
+    smoy=sum(sumrow1.*vect);
+    toto=(vect-smoy).*(vect-smoy);
+    srms=sum(sumrow1.*toto);
+    rmsV=sqrt(srms);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsV*grossissement);
+    
+    val=sprintf('%0.2f',rmsV*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsV_edit12,'String',val);
+    
+    %plot du rï¿œsultat
+    xdata=1:rowmax;
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    plot(xdata,sumrow+ValMinr,'k-');
+    xlim([0 length(sumrow)])
+    hold on
+    %plot(xdata,F,'b-')
+    hold off
+
+end
+
+%_______________________________________________________________
+
+% 
+% 
+% 
+%     rowmax=80;
+%     columnmax=100;
+%     B=[];
+% 
+%     %for i=1:handles.nbiterations
+%     for i=1:1  
+%         name=['axes' num2str(i)];
+%         axes(handles.(name)); %axis image ;  
+%         faisceau(513,701,120,50,-150,50,10);
+%         B(i,:,:) = rand(rowmax,columnmax);
+%         sumcolumn=sum(squeeze(B(i,:,:)));sumrow=sum(squeeze(B(i,:,:))');
+%         sumV(i)=sum(sumcolumn);sumH(i)=sum(sumrow);
+%     % 	axes(handles.(name)); %axis image ;    
+%     % 	ima(i)=image(squeeze(B(i,:,:)),'CDataMapping','scaled'); 
+%     end
+% 
+%     sumHmean=mean(sumH);sumVmean=mean(sumV);sumHstd=std(sumH);sumVstd=std(sumV);
+% 
+%     set(handles.rmsH_edit11,'String',sumHmean);
+%     sumHstd=0;
+% 
+%     set(handles.rmsV_edit12,'String',sumVmean);
+% 
+%     sumVstd=0;
+
+% --- Outputs from this function are returned to the command line.
+function varargout = show1imagesgui_15_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;  % ???
+
+% --- Executes on button press in pushbutton1.
+function recommencer_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.vect_colonne_noire=getappdata(handles.caller, 'vect_colonne_noire');
+selection_fenetre_H = getappdata(handles.caller,'selection_fenetre_H');
+selection_fenetre_V = getappdata(handles.caller,'selection_fenetre_V');
+Rabotage = getappdata(handles.caller,'Rabotage')
+
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+
+%formation d'une image
+device_name = getappdata(handles.caller,'device_name');
+dev=device_name.videograbber;
+%toto=tango_read_attribute(dev,'image');
+toto=tango_read_attribute(dev,'corrected_image');
+image(toto.value,'CDataMapping','scaled','Parent',handles.axes1)
+rowmax=size(toto.value,1);
+columnmax=size(toto.value,2);
+colormap(gray);    
+
+% calcul des projections
+sumcolumn=sum(toto.value(:,:));
+%sauvegarde du profil horizontal brut
+setappdata(handles.caller, 'profil_H',sumcolumn);
+
+
+% test si on a bien cree une image dans faisceau
+if isequal(size(sumcolumn),size(handles.vect_colonne_noire))
+    % on soustraie l'image sans faisceau
+    %sumcolumn=sumcolumn-handles.vect_colonne_noire;
+else
+    errordlg('vous n avez pas fait d''image sans faisceau','Error');
+end
+
+% seul souci : les pixels rendus nï¿œgatifs dans l'opï¿œration prï¿œcedente. On
+% les passe sauvagement ï¿œ 0 !
+for i=1:length(sumcolumn)
+    if sumcolumn(i)<0 
+        sumcolumn(i)=0;
+    end
+end
+
+
+handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+
+% cas oï¿œ aucune option de calcul pour la largeur n'a ï¿œtï¿œ sï¿œlectionnï¿œ
+if isequal(handles.largeur_option,0)
+    errordlg('vous n avez pas fait votre choix pour la taille de faisceau','Error');
+end
+
+
+% fit par gaussienne
+if isequal(handles.largeur_option,1)
+    
+    xdata=1:columnmax;
+    ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+    x0=[10 250 ValMaxc];
+    % option on enlï¿œve min :
+    %[ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn-ValMinc)
+    % option : on enlï¿œve l'image noire (fait prï¿œcï¿œdemment) :
+    [ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn);
+    rmsH=ac(1);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsH*grossissement);
+    
+    val=sprintf('%0.2f',rmsH*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsH_edit11,'String',val);
+    sumHstd=0;
+
+    %plot du rï¿œsultat
+    %F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)))+ValMinc;
+    F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)));
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    plot(xdata,sumcolumn,'k-');
+    xlim([0 length(sumcolumn)])
+    hold on
+    plot(xdata,F,'b-')
+    hold off
+
+end
+
+
+% vrai rms
+if isequal(handles.largeur_option,2)
+
+    % test !
+%Z = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-10-10_4/profilH_2_38.mat');
+%Z = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-09-23_1/profilH_3_38.mat');
+% Z = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-10-10_4/profilH_3_38.mat');
+% sumcolumn = Z.vect_H;
+    
+    if isequal(Rabotage,num2str(1))&isequal(selection_fenetre_H,num2str(1))
+        errordlg('Attention deselectionnez une option !! ...','Error'); 
+    elseif isequal(Rabotage,num2str(1))
+        [Y,I] = max(sumcolumn);
+        sumcolumn = sumcolumn - Y*0.01;
+        for i = 1 : length(sumcolumn)   
+            if sumcolumn(i)<0
+                sumcolumn(i) = 0;
+            end
+        end
+    elseif isequal(selection_fenetre_H,num2str(1))
+         res= get(handles.rayon_fenetre_H_edit16,'String');
+         rayon_fenetre_H = str2num(res);
+         rayon_pixel_H = rayon_fenetre_H/handles.G;
+         [Y,I] = max(sumcolumn);
+         sumcolumn = sumcolumn(I-rayon_pixel_H : I+rayon_pixel_H);
+         %sumcolumn = sumcolumn(640/2-rayon_pixel_H : 640/2+rayon_pixel_H);
+    end
+    
+    ValMaxc=max(sumcolumn);ValMinc=min(sumcolumn);
+    sumcolumn=sumcolumn-ValMinc;
+    vect=1:length(sumcolumn);
+    sumcolumn1=sumcolumn/sum(sumcolumn);
+    smoy=sum(sumcolumn1.*vect);
+    titi=(vect-smoy).*(vect-smoy);
+    srms=sum(sumcolumn1.*titi);
+    rmsH=sqrt(srms);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsH*grossissement);
+    
+    val=sprintf('%0.2f',rmsH*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsH_edit11,'String',val);
+    
+    %plot du rï¿œsultat
+    columnmax=size(sumcolumn,2);
+    xdata=1:columnmax;
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    plot(xdata,sumcolumn+ValMinc,'k-');
+    xlim([0 length(sumcolumn)])
+    hold on
+    %plot(xdata,F,'b-')
+    hold off
+
+end
+
+% $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+
+handles.vect_ligne_noire=getappdata(handles.caller, 'vect_ligne_noire');
+
+   
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+
+%     %formation d'une image
+%     rowmax=513;
+%     columnmax=701;
+%     toto=faisceau(rowmax,columnmax,rowmax/10,columnmax/5,rowmax/2,columnmax/2,20);
+% calcul des projections
+sumrow=sum(toto.value(:,:)');
+%sauvegarde du profil horizontal brut
+setappdata(handles.caller, 'profil_V',sumrow);
+
+
+% test si on a bien cree une image dans faisceau
+if isequal(size(sumrow),size(handles.vect_ligne_noire))
+    % on soustraie l'image sans faisceau
+    %sumrow=sumrow-handles.vect_ligne_noire;
+else
+    errordlg('vous n avez pas fait d image sans faisceau','Error');
+end
+
+% seul souci : les pixels rendus nï¿œgatifs dans l'opï¿œration prï¿œcedente. On
+% les passe sauvagement ï¿œ 0 !
+for i=1:length(sumrow)
+    if sumrow(i)<0 
+        sumrow(i)=0;
+    end
+end
+
+
+%     handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+
+% fit par gaussienne
+if isequal(handles.largeur_option,1)
+    
+    xdata=1:rowmax;
+    ValMaxr=max(sumrow);ValMinr=min(sumrow);
+    x0=[10 250 ValMaxr];
+    % option on enlï¿œve min :
+    %[ac,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumcolumn-ValMinc)
+    % option : on enlï¿œve l'image noire (fait prï¿œcï¿œdemment) :
+    [ar,resnorm] = lsqcurvefit(@myfun_gaussienne,x0,xdata,sumrow);
+    rmsV=ar(1);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsV*grossissement);
+    
+    val=sprintf('%0.2f',rmsV*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsV_edit12,'String',val);
+    sumVstd=0;
+
+    %plot du rï¿œsultat
+    %F=ac(3)*exp(-(xdata-ac(2)).*(xdata-ac(2))/(2*ac(1)*ac(1)))+ValMinc;
+    Fr=ar(3)*exp(-(xdata-ar(2)).*(xdata-ar(2))/(2*ar(1)*ar(1)));
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    plot(xdata,sumrow,'k-');
+    xlim([0 length(sumrow)])
+    hold on
+    plot(xdata,Fr,'b-')
+    hold off
+
+end
+
+
+% vrai rms
+if isequal(handles.largeur_option,2)
+
+        % test !
+%ZV = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-10-10_4/profilV_2_38.mat');
+% ZV = load('-mat','/home/matlabML/measdata/LT1data/emittance/2005-10-10_4/profilV_3_38.mat');
+% sumrow = ZV.vect_V;
+
+    if isequal(Rabotage,num2str(1))&isequal(selection_fenetre_H,num2str(1))
+        errordlg('Attention deselectionnez une option !! ...','Error'); 
+    elseif isequal(Rabotage,num2str(1))
+        [Y,I] = max(sumrow);
+        sumrow = sumrow - Y*0.01;
+        for i = 1 : length(sumrow)   
+            if sumrow(i)<0
+                sumrow(i) = 0;
+            end
+        end 
+    elseif isequal(selection_fenetre_V,num2str(1))
+         res= get(handles.rayon_fenetre_V_edit17,'String');
+         rayon_fenetre_V = str2num(res);
+         rayon_pixel_V = rayon_fenetre_V/handles.G;
+         [Y,I] = max(sumrow)
+         %sumrow = sumrow(480/2-rayon_pixel_V : 480/2+rayon_pixel_V);
+         sumrow = sumrow(I-rayon_pixel_V : I+rayon_pixel_V);
+    end
+    
+    
+    ValMaxr=max(sumrow);ValMinr=min(sumrow);
+    sumrow=sumrow-ValMinr;
+    vect=1:length(sumrow);
+    sumrow1=sumrow/sum(sumrow);
+    smoy=sum(sumrow1.*vect);
+    toto=(vect-smoy).*(vect-smoy);
+    srms=sum(sumrow1.*toto);
+    rmsV=sqrt(srms);
+    
+    %grossissement= str2num(handles.G);
+    %val=sprintf('%0.2f',rmsV*grossissement);
+    
+    val=sprintf('%0.2f',rmsV*handles.G);
+    % impression du rayon en mm
+    set(handles.rmsV_edit12,'String',val);
+    
+    %plot du rï¿œsultat
+    rowmax = length(sumrow);
+    xdata=1:rowmax;
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    plot(xdata,sumrow+ValMinr,'k-');
+    xlim([0 length(sumrow)])
+    hold on
+    %plot(xdata,F,'b-')
+    hold off
+
+end
+
+
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes during object creation, after setting all properties.
+function rmsH_edit11_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rmsH_edit11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function rmsH_edit11_Callback(hObject, eventdata, handles)
+% hObject    handle to rmsH_edit11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rmsH_edit11 as text
+%        str2double(get(hObject,'String')) returns contents of rmsH_edit11 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function rmsV_edit12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rmsV_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function rmsV_edit12_Callback(hObject, eventdata, handles)
+% hObject    handle to rmsV_edit12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rmsV_edit12 as text
+%        str2double(get(hObject,'String')) returns contents of rmsV_edit12 as a double
+
+
+% ------------------------------------------------------------
+% Callback for the Store push button
+% ------------------------------------------------------------
+% --- Executes on button press in enregistrer_pushbutton.
+function enregistrer_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to enregistrer_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%handles.nbenregistrs=handles.nbenregistrs + 1;
+
+LargH=str2num(get(handles.rmsH_edit11,'String'));
+LargV=str2num(get(handles.rmsV_edit12,'String'));
+%%sigH=str2num(get(handles.edit13,'String'));
+%%sigV=str2num(get(handles.edit14,'String'));
+sigH=0;
+sigV=0;
+
+
+%handles.tailles=[ handles.tailles ; LargH sigH LargV sigV ]
+handles.tailles=[  LargH sigH LargV sigV ];
+setappdata(handles.caller,'tailles',handles.tailles);
+
+guidata(hObject, handles);
+
+% Retrieve old results data structure
+handles.ResultsData = getappdata(handles.caller,'ResultsData');
+%handles.nbenregistrements
+if isfield(handles,'ResultsData') & ~isempty(handles.ResultsData)
+	ResultsData = handles.ResultsData;
+	% Determine the maximum run number currently used.
+	maxNum = ResultsData(length(ResultsData)).RunNumber;
+	ResultNum = maxNum+1;
+    ik =length(ResultsData);
+else, % Set up the results data structure
+%    ResultsData = struct('nbenregistrs',[],'LargeurH',[],...
+    ResultsData = struct('RunName',[],'RunNumber',[],'LargeurH',[],...
+        'sigmaH',[],'LargeurV',[],...
+		'sigmaV',[],'Q4courant',[],...
+        'G',[],'option_L',[],'date','');
+	ResultNum = 1;
+    ik = 0;
+end
+
+if isequal(ResultNum,1),
+	%--Enable the Plot and Remove buttons
+	set([handles.remove_pushbutton,handles.plot_pushbutton,...
+        handles.restaurer_pushbutton15],'Enable','on') ;
+%     %ouvrir le dossier pour l'enregistrement des profils
+%    prompt={'entrer un nom de rï¿œpertoire'};
+%    name='SAUVEGARDE DES PROFILS';
+%    numlines=1;
+%    defaultanswer={'JJMMAA_n1'};
+%    options.Resize='on';
+%    options.WindowStyle='normal';
+%    options.Interpreter='tex';
+%    val=0;
+%     while isequal(val,0)
+%     directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+%         if ~isequal(directory,{})
+%             if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+%                 mkdir /home/PM/tordeux/matlab_test/directory;
+%                 val=1;
+%             else    
+%                 button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non') ; 
+%                 if isequal(button,'oui')
+%                     val=1;
+%                 end
+%             end     
+%         else
+%             %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%             directory={'secours'};
+%             val=1;
+%         end
+%     end
+%    chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+%    cd(chemin);
+end
+
+w=getappdata(handles.caller,'tailles');
+handles.Q4courant=getappdata(handles.caller,'Q4courant');
+handles.G=getappdata(handles.caller,'G');
+handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+moment=datestr(now);
+
+ik = ik + 1;
+ResultsData(ik).RunName = ['Point ',num2str(ResultNum)];
+ResultsData(ik).RunNumber = ResultNum;
+ResultsData(ik).LargeurH = w(1);
+ResultsData(ik).sigmaH = w(2);
+ResultsData(ik).LargeurV = w(3);
+ResultsData(ik).sigmaV = w(4);
+ResultsData(ik).Q4courant = handles.Q4courant;
+ResultsData(ik).G =handles.G;
+ResultsData(ik).option_L =handles.largeur_option;
+ResultsData(ik).date=moment;
+
+% Build the new results list string for the listbox
+ResultsStr = get(handles.listbox,'String');
+Qcour=handles.Q4courant;
+i1=sprintf(' %9.2f \n',Qcour);
+i2=sprintf(' %9.2f \n',w(1));
+i3=sprintf(' %9.2f \n',w(2));
+i4=sprintf(' %9.2f \n',w(3));
+i5=sprintf(' %9.2f \n',w(4));
+i6=sprintf(' %9.3f \n',handles.G);
+i7=sprintf(' %4.0f \n',handles.largeur_option);
+
+
+if isequal(ResultNum,1)
+	ResultsStr = {['Point 1',...
+        i1,i2,i3,i4,i5,i6,i7,'  ',moment]};
+%         num2str(Qcour),'     ',num2str(w(1)),'     ',num2str(w(2)),...
+%         '    ',num2str(w(3)),'     ',num2str(w(4)),...
+%         '     ',num2str(handles.G),'     ',num2str(handles.largeur_option),'     ',moment...
+%         ]};
+else
+	
+    ResultsStr = [ResultsStr; {['Point ',num2str(ResultNum),...
+        i1,i2,i3,i4,i5,i6,i7,'  ',moment]}];
+end
+set(handles.listbox,'String',ResultsStr);
+set(handles.listbox,'Value',size(ResultsStr,1));
+
+
+% Store the new ResultsData
+handles.ResultsData = ResultsData;
+setappdata(handles.caller,'ResultsData',ResultsData);
+set(handles.nbacqu_edit13,'String', num2str(size(ResultsStr,1)));
+
+
+guidata(hObject, handles);
+
+
+% Enregistrer sur machine locale
+G=getappdata(handles.caller,'G');
+vect_H=getappdata(handles.caller, 'profil_H');
+Name=strcat('profilH_',num2str(ResultNum),'_',num2str(handles.G*1000));
+save(Name,'moment', 'G','vect_H') ;
+
+vect_V=getappdata(handles.caller, 'profil_V');
+Name=strcat('profilV_',num2str(ResultNum),'_',num2str(handles.G*1000));
+save(Name,'moment', 'G','vect_V') ;
+
+%eval(['save ',strcat('profilH_',num2str(ResultNum)),  moment vect_H]) ;
+
+%function pushbutton2_Callback(hObject, eventdata, handles)
+%% NE FAIT RIEN
+
+
+
+function rayon_fenetre_H_edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to rayon_fenetre_H_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rayon_fenetre_H_edit16 as text
+%        str2double(get(hObject,'String')) returns contents of rayon_fenetre_H_edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function rayon_fenetre_H_edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rayon_fenetre_H_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function rayon_fenetre_V_edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to rayon_fenetre_V_edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rayon_fenetre_V_edit17 as text
+%        str2double(get(hObject,'String')) returns contents of rayon_fenetre_V_edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function rayon_fenetre_V_edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rayon_fenetre_V_edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('selection d''une fenetre <-')
+        setappdata(handles.caller,'selection_fenetre_H',num2str(1));
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('arret selection de fenetre ->')
+        setappdata(handles.caller,'selection_fenetre_H',num2str(0));
+end
+
+function uibuttongroup_SelectionChangeFcn_V(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('selection d''une fenetre <-')
+        setappdata(handles.caller,'selection_fenetre_V',num2str(1));
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('arret selection de fenetre ->')
+        setappdata(handles.caller,'selection_fenetre_V',num2str(0));
+end
+
+
+function uibuttongroup_SelectionChangeFcn_R(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        disp('Rabotage Ã  1% <-')
+        setappdata(handles.caller,'Rabotage',num2str(1));
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        disp('Rabotage Ã  1% ->')
+        setappdata(handles.caller,'Rabotage',num2str(0));
+end
Index: /trunk/machine/SOLEIL/LT2/emittance/showsansfgui_15.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/showsansfgui_15.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/showsansfgui_15.m	(revision 17)
@@ -0,0 +1,231 @@
+function varargout = showsansfgui_15(varargin)  % EN COURS !!!!!!
+% showsansfgui_15 M-file for showsansfgui_15.fig
+%      showsansfgui_15, by itself, creates a new showsansfgui_15 or raises the existing
+%      singleton*.
+%
+%      H = showsansfgui_15 returns the handle to a new showsansfgui_15 or the handle to
+%      the existing singleton*.
+%
+%      showsansfgui_15('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in showsansfgui_15.M with the given input arguments.
+%
+%      showsansfgui_15('Property','Value',...) creates a new showsansfgui_15 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before showsansfgui_15_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to showsansfgui_15_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help showsansfgui_15
+
+% Last Modified by GUIDE v2.5 30-Aug-2004 18:40:49
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @showsansfgui_15_OpeningFcn, ...
+                   'gui_OutputFcn',  @showsansfgui_15_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before showsansfgui_15 is made visible.
+function showsansfgui_15_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to showsansfgui_15 (see VARARGIN)
+
+% Choose default command line output for showsansfgui_15
+
+% Choose default command line output for test_1
+handles.output = hObject;
+
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller2 = varargin{1}.figure1;
+    
+    % Get value from Application-Defined data
+%     handles.nbiterations = getappdata(handles.caller, 'nbiterations');
+%     handles.nbenregistrs = getappdata(handles.caller, 'nbenregistrs');
+%     %handles.Qcourant=getappdata(handles.caller,'Qcourant');
+%     handles.nbenregistrements = getappdata(handles.caller, 'nbenregistrements');
+%     handles.tailles = getappdata(handles.caller, 'tailles');
+%     handles.ResultsData = getappdata(handles.caller, 'ResultsData');
+%     handles.listbox=findobj(allchild(handles.caller),'Tag','listbox1');
+%     handles.remove_pushbutton=findobj(allchild(handles.caller),'Tag','remove_pushbutton');  
+%     handles.plot_pushbutton=findobj(allchild(handles.caller),'Tag','plot_pushbutton');
+%     handles.restaurer_pushbutton15=findobj(allchild(handles.caller),'Tag','restaurer_pushbutton15');
+%     handles.largeur_option=getappdata(handles.caller, 'largeur_option');
+    handles.G=getappdata(handles.caller2, 'G');    
+    handles.vect_colonne_noire=getappdata(handles.caller2, 'vect_colonne_noire');
+    handles.vect_ligne_noire=getappdata(handles.caller2, 'vect_ligne_noire');
+    device_name = getappdata(handles.caller2, 'device_name');
+    
+    % Update handles structure
+    guidata(hObject, handles);
+
+else
+    
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes showsansfgui_15 wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+% dï¿œcalage du shutter de la camï¿œra en microsecondes (au moins 200 ms, ï¿œ
+% tester !!!)
+% affiche le shutter delay avant :
+disp('avant changement = ')
+ShutterDelayvalue = tango_command_inout(device_name.videograbber,'GetShutterDelay')
+%pause(0.5);
+tango_command_inout(device_name.videograbber,'SetShutterDelay',200000.);
+pause(1);
+disp('pendant changement = ')
+tango_command_inout(device_name.videograbber,'GetShutterDelay')
+
+%generation d'une image noire
+    % rowmax=513;
+    % columnmax=701;
+    % p=0.2;
+    % toto = p*rand(rowmax+1,columnmax+1);
+
+device_name = getappdata(handles.caller2,'device_name');
+
+%axes1=findobj(allchild(handles.figure1),'Tag','axes1');
+%axes(handles.axes1);
+dev=device_name.videograbber;
+
+%toto=tango_read_attribute(dev,'image');
+toto=tango_read_attribute(dev,'corrected_image');
+image(toto.value,'CDataMapping','scaled');
+image(toto.value,'CDataMapping','scaled','Parent',handles.axes1)
+rowmax=size(toto.value,1);
+columnmax=size(toto.value,2);
+
+%imagesc(toto.value,'Parent',handles.axes1);
+colormap(gray);    
+
+%projections
+    % sumcolumn=sum(toto(:,:));
+    % sumrow=sum(toto(:,:)');
+sumcolumn=sum(toto.value(:,:));
+sumrow=sum(toto.value(:,:)');
+
+%plot de l'image noire et des profils
+name=['axes' num2str(1)];
+axes(handles.(name)); %axis image ; 
+image(toto.value,'CDataMapping','scaled')
+
+%xdata=1:columnmax+1;
+xdata=1:columnmax;
+name=['axes' num2str(2)];
+axes(handles.(name));
+plot(xdata,sumcolumn,'k-');
+xlim([0 length(sumcolumn)]);
+
+%xdata=1:rowmax+1;
+xdata=1:rowmax;
+name=['axes' num2str(3)];
+axes(handles.(name));
+plot(xdata,sumrow,'k-');
+xlim([0 length(sumrow)]);
+%hold on
+
+%hold off
+
+setappdata(handles.caller2, 'vect_colonne_noire',sumcolumn);
+setappdata(handles.caller2, 'vect_ligne_noire',sumrow);
+
+% repositionner ï¿œ la valeur de dï¿œpart le shutter de la camï¿œra !!
+% ???
+% tango_command_inout(device_name.videograbber,'SetShutterDelay',200000.);
+tango_command_inout(device_name.videograbber,'SetShutterDelay', ShutterDelayvalue);
+disp('ShutterDelay remis comme avant ? = ')
+tango_command_inout(device_name.videograbber,'GetShutterDelay')
+
+% --- Outputs from this function are returned to the command line.
+function varargout = showsansfgui_15_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;  % ???
+
+
+% --- Executes on button press in enregistrer_pushbutton1.
+function enregistrer_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to enregistrer_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+moment=datestr(now);
+
+
+%   maintenant fait dans emittance_v15 !!
+%         %ouvrir le dossier pour l'enregistrement des profils noires
+%         prompt={'entrer un nom de rï¿œpertoire'};
+%         name='SAUVEGARDE DES PROFILS';
+%         numlines=1;
+%         defaultanswer={'JJMMAA_n1'};
+%         options.Resize='on';
+%         options.WindowStyle='normal';
+%         options.Interpreter='tex';
+%         val=0;
+%         while isequal(val,0)
+%         directory=inputdlg(prompt,name,numlines,defaultanswer,options);
+%                 if ~isequal(directory,{})
+%                     if ~isdir(strcat('/home/PM/tordeux/matlab_test/',directory{:}))
+% 
+%                         chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:})
+%                         %cd  /home/PM/tordeux/matlab_test/
+%                         mkdir(chemin)
+%                         val=1;
+%                     else    
+%                         button = questdlg('ce dossier existe ! voulez-vous continuer?','ATTENTION','oui','non','non')  ;
+%                         if isequal(button,'oui')
+%                             val=1;
+%                         end
+%                     end     
+%                 else
+%                     %avoir deja creï¿œ une directory de secours pour si on a fait "cancel"..
+%                     directory={'secours'};
+%                     val=1;
+%                 end
+%         end
+%         chemin=strcat('/home/PM/tordeux/matlab_test/',directory{:});
+%         cd(chemin);
+% 
+
+
+% Enregistrer sur machine locale
+% on associe une image de noire avec le grandissement en ï¿œm/pixel (pb du point !..)
+G = getappdata(handles.caller2, 'G'); 
+vect_H=getappdata(handles.caller2, 'vect_colonne_noire');
+Name=strcat('vect_colonne_noire_',num2str(handles.G*1000));
+save(Name,'moment', 'G','vect_H') ;
+
+vect_V=getappdata(handles.caller2, 'vect_ligne_noire');
+Name=strcat('vect_ligne_noire_',num2str(handles.G*1000));
+save(Name,'moment','G', 'vect_V') ;
Index: /trunk/machine/SOLEIL/LT2/emittance/temporisation_mvt_axis.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/temporisation_mvt_axis.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/temporisation_mvt_axis.m	(revision 17)
@@ -0,0 +1,31 @@
+function err = temporisation_mvt_axis(dev)
+err = 0;
+disp('temporisation_mvt_axis <-')
+while (1)
+    ms = tango_command_inout(dev,'AxisGetMotionStatus');
+    % si erreur tango : sortir avec diagnostic
+    if (tango_error == -1)
+      tango_print_error_stack;
+      err = -1;
+      break;
+    end
+    % tant que le moteur est restÃ© en butÃ©e (errorstatus Ã  22, 4 21 ou 3) ou qu'il n'a pas dÃ©marrÃ©
+    % (motionstatus Ã  0) rester dans la boucle
+    if (isequal(ms, 1))
+      break;
+    end
+    disp('temporisation mvt moteur');
+    es = tango_command_inout(dev,'AxisGetErrorStatus');
+    if (tango_error == -1)
+      tango_print_error_stack;
+      err = -1;
+      break;
+    end
+    if ~isequal(es,22)&~isequal(es,4)&~isequal(es,21)&~isequal(es,3)&~isequal(ms,0)
+       disp('probleme')
+       break
+    end
+    pause(0.05);
+end
+disp('temporisation_mvt_axis ->')
+
Index: /trunk/machine/SOLEIL/LT2/emittance/test_position.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/emittance/test_position.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/emittance/test_position.m	(revision 17)
@@ -0,0 +1,9 @@
+function test = test_position(pos,ref,delta)
+
+test=0;
+if pos<(ref+delta)&pos>(ref-delta)
+    test=1;
+    return
+else
+    errordlg('il y a un pb avec les axes !','Erreur');  
+end
Index: /trunk/machine/SOLEIL/LT2/setoperationalmode.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/setoperationalmode.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/setoperationalmode.m	(revision 17)
@@ -0,0 +1,135 @@
+function setoperationalmode(ModeNumber)
+%SETOPERATIONALMODE - Switches between the various operational modes
+%  setoperationalmode(ModeNumber)
+%
+%  INPUTS
+%  1. ModeNumber = 1. 2.7391 GeV, multibunch
+%
+%                100. Laurent's Mode
+%
+%  See also aoinit, updateatindex, LT2init, setpathsoleil
+
+%
+% Written by Laurent S. Nadolski
+
+global THERING
+
+% Check if the AO exists
+checkforao;
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Dependent Modes %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if nargin < 1
+    ModeNumber = [];
+end
+if isempty(ModeNumber)
+    ModeCell = {'2.7391 GeV, multibunch',  ...
+        'Laurent''s Mode'};
+    [ModeNumber, OKFlag] = listdlg('Name','SOLEIL','PromptString','Select the Operational Mode:', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [450 200]);
+    if OKFlag ~= 1
+        fprintf('   Operational mode not changed\n');
+        return
+    elseif ModeNumber == 2
+        ModeNumber = 100;  % Laurent
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Data Structure %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+AD = getad;
+AD.Machine = 'SOLEIL';            % Will already be defined if setpathmml was used
+AD.MachineType = 'StorageRing';   % Will already be defined if setpathmml was used
+AD.SubMachine  = 'LT2';           % Will already be defined if setpathmml was used
+AD.OperationalMode = '';          % Gets filled in later
+
+
+% Tune processor delay: delay required to wait
+% to have a fresh tune measurement after changing
+% a variable like the RF frequency.  Setpv will wait
+% 2.2 * TuneDelay to be guaranteed a fresh data point.
+AD.BPMDelay  = 0.25; % use [N, BPMDelay]=getbpmsaverages (AD.BPMDelay will disappear)
+AD.TuneDelay = 0.1;
+
+
+% SP-AM Error level
+% AD.ErrorWarningLevel = 0 -> SP-AM errors are Matlab errors {Default}
+%                       -1 -> SP-AM errors are Matlab warnings
+%                       -2 -> SP-AM errors prompt a dialog box
+%                       -3 -> SP-AM errors are ignored (ErrorFlag=-1 is returned)
+AD.ErrorWarningLevel = 0;
+
+%%%%%%%%%%%%%%%%%%%%%
+% Operational Modes %
+%%%%%%%%%%%%%%%%%%%%%
+
+% Mode setup variables (mostly path and file names)
+% AD.OperationalMode - String used in titles
+% ModeName - String used for mode directory name off DataRoot/MachineName
+% OpsFileExtension - string add to default file names
+
+if ModeNumber == 1
+    % LT2 Nominal Lattice
+    AD.OperationalMode = '2.7391 GeV, multibunch';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'LT2lattice';
+    OpsFileExtension = '_LT2lattice';
+
+    % AT lattice
+    AD.ATModel = 'LT2lattice';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    switch2hw;
+    
+elseif ModeNumber == 100
+    % User mode - High Tune, Top Off injection
+    error('To be completed');    
+
+else
+    error('Operational mode unknown');
+end
+
+
+
+% Set the AD directory path
+setad(AD);
+MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension);
+AD = getad;
+
+% SOLEIL specific path changes
+
+ % Top Level Directories
+MMLDATAROOT = getmmldataroot;
+ 
+AD.Directory.DataRoot       = fullfile(MMLDATAROOT, 'measdata', 'SOLEIL', 'LT2data', filesep);
+AD.Directory.OpsData        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2OpsData', filesep);
+AD.Directory.Lattice        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2', 'Lattices', filesep);
+AD.Directory.Synchro        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'common', 'synchro', filesep);
+
+AD.Directory.EMITData       = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2', 'emittance', filesep); 
+AD.Directory.Timing         = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2', 'Timing', filesep);
+
+AD.Directory.ConfigData     = fullfile(MMLROOT, 'machine', 'SOLEIL', 'LT2', 'MachineConfig', filesep);
+AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, 'ArchivingData', filesep);
+
+%Operational Files
+AD.OpsData.LatticeFile       = 'GoldenLattice';     %Golden Lattice File (setup for users)
+AD.OpsData.PhysDataFile      = 'GoldenPhysData';
+
+% Circumference
+AD.Circumference = findspos(THERING,length(THERING)+1);
+setad(AD);
+
+% Updates the AT indices in the MiddleLayer with the present AT lattice
+updateatindex;
+
+% Set the model energy
+setenergymodel(AD.Energy);
+
+fprintf('   lattice files have changed or if the AT lattice has changed.\n');
+fprintf('   Middlelayer setup for operational mode: %s\n', AD.OperationalMode);
+
+setad(orderfields(AD));
Index: /trunk/machine/SOLEIL/LT2/updateatindex.m
===================================================================
--- /trunk/machine/SOLEIL/LT2/updateatindex.m	(revision 17)
+++ /trunk/machine/SOLEIL/LT2/updateatindex.m	(revision 17)
@@ -0,0 +1,96 @@
+function updateatindex
+%UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)
+
+%
+% Adapted by Laurent S. Nadolski
+
+global THERING
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Append Accelerator Toolbox information %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Since changes in the AT model could change the AT indexes, etc,
+% It's best to regenerate all the model indices whenever a model is loaded
+
+% Sort by family first (findcells is linear and slow)
+Indices = atindex(THERING);
+
+AO = getao;
+
+% BPMS
+try
+    ifam = 'BPMx';
+    AO.(ifam).AT.ATType = 'X';
+    AO.(ifam).AT.ATIndex = Indices.BPM(:); % findcells(THERING,'FamName','BPM')';
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+
+    ifam = 'BPMz';
+    AO.(ifam).AT.ATType = 'Z';
+    AO.(ifam).AT.ATIndex = Indices.BPM(:); % findcells(THERING,'FamName','BPM')';
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+catch
+    warning('BPM family not found in the model.');
+end
+
+% CORRECTORS
+try
+    %% HORIZONTAL CORRECTORS
+    ifam = ('CH');
+    AO.(ifam).AT.ATType  = ifam;
+    AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+
+    %% VERTICAL CORRECTORS
+    ifam = ('CV');
+    AO.(ifam).AT.ATType  = ifam;
+    AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+catch
+    warning('Corrector family not found in the model.');
+end
+
+
+% QUADRUPOLES
+try
+    ifam = 'QP';
+    AO.(ifam).AT.ATType  = 'QUAD';
+    AO.(ifam).AT.ATIndex = eval(['Indices.' ifam '(:)']);
+    AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex;
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+catch
+    warning('%s family not found in the model.', ifam);
+end
+
+% BEND
+
+try
+    ifam = ('BEND');
+    AO.(ifam).AT.ATType  = ifam;
+    ATIndex = Indices.(ifam)(:);
+    AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, sort(ATIndex));
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+catch
+    warning('BEND family not found in the model.');
+end
+
+setao(AO);
+
+% Set TwissData at the start of TL1
+try
+    % BTS twiss parameters at the input
+    TwissData.alpha = [0 0]';
+    TwissData.beta  = [6.0 6.0]';
+    TwissData.mu    = [-1.8 1.5]';
+    TwissData.ClosedOrbit = [0 0 0 0]';
+    TwissData.dP = 0;
+    TwissData.dL = 0;
+    TwissData.Dispersion  = [0 0 0 0]';
+
+    setpvmodel('TwissData', '', TwissData);  % Same as, THERING{1}.TwissData = TwissData;
+
+catch
+    warning('Setting the twiss data parameters in the MML failed.');
+end
Index: /trunk/machine/SOLEIL/StorageRing/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/.cvsignore	(revision 17)
@@ -0,0 +1,4 @@
+MachineConfig
+changes
+*.m~
+fonction_test/
Index: /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last.m	(revision 17)
@@ -0,0 +1,1495 @@
+function BBAgui_last(arg1,arg2)
+%
+%
+%  See compteurBBA
+
+
+%% PARAMETRES DES PANELS:Dimensions
+fontsize=12;
+hradio=12;
+lradio=50;
+espV=10;
+espH=10;
+OffNone=20;
+
+%Panels "Qi" (pour servir des paramÃštres)
+lpanel=10*(lradio+espH/4)+OffNone+espH;
+mult=1;
+hpanel=mult*hradio+(mult+1)*espV+fontsize;
+hpospan=hpanel+espV;
+
+%Panel "ALL QP"
+lpanQP=2*(lradio+espH);
+hpanQP=2*hradio+2*espV+fontsize;
+
+%Panel "Plane"
+lpanPlane=2*(lradio+espH);
+hpanPlane= hpanQP;
+% checkbox: "Horizontal"
+lHrz=lradio+20;
+hHrz=hradio;
+
+% checkbox: "Vertical"
+lVert=lradio+10;
+hVert=hradio;
+
+%Panel "Method"
+lpanMeth=2.5*(lradio+espH);
+hpanMeth= hpanQP;
+
+% checkbox: "M.E.C."
+lMec=lradio+20 ;
+hMec=hradio;
+
+% checkbox: "BMP4CM"
+lBmp4cm=lradio+30;
+hBmp4cm=hradio;
+
+%Figure
+largeurFig=1.8*(10*(lradio+espH)+4*espH);%10*80+2*20;
+hauteurFig=20*hradio+32*espV+10*fontsize+10*espV+hpanQP+espV+fontsize;
+
+%Plot
+lPlot=largeurFig-lpanel-200;
+hPlot=0.4*hauteurFig;
+
+%pour les sextu
+larSp=largeurFig-lpanel-30;
+HautSp=2*hpanel+espV;
+
+
+% Zone de texte: Qp en cours de mesure
+lQpMes1= 6.5*lradio;
+hQpMes1=2*hradio;
+
+
+% Zone de texte BPM: utilisÃ©
+lBpm=2*lradio+20;
+hBpm=2*hradio;
+
+% Zone de texte BPM: utilisÃ©
+lcor=2*lradio+20;
+hcor=2*hradio;
+
+% Zone de texte: Qp mesurÃ© prÃ©cedemment
+lQpMes0= lBpm;
+hQpMes0= hBpm;
+
+% Zone de texte heure de la mesure prÃ©cÃ©dente
+lClock=5*lradio;%+2*espH;
+hClock=hBpm;
+
+
+%Zone de texte:valeur offset BPM
+loff= 5*lradio;
+hoff=2*hradio;
+
+
+%Zone de texte:RMS Fit
+lrms= 11*lradio;
+hrms=2*hradio;
+
+%Zone de texte:Name File
+lfich=11*lradio;
+hfich=2*hradio;
+
+% Pushbutton pour lancer le BBA
+lBBA=3*lradio;
+hBBA=3*hradio;
+
+lmanu=1.2*lradio;
+hmanu=2*espV;
+
+lnbCor=lradio;
+hnbCor=2*espV;
+
+lStCor=lradio;
+hStCor=2*espV;
+
+lOffCor=lradio;
+hOffCor=2*espV;
+
+lDelais=lradio;
+hDelais=2*espV;
+
+lStQp=lradio;
+hStQp=2*espV;
+
+lWhCor=lradio;
+hWhCor=2*espV;
+
+%% PARAMETRES DES PANELS: Positions
+
+hposrad=(hpanPlane-fontsize-hradio)/2;
+
+%Panel "ALL QP"
+HposQp=10;
+VposQp=hauteurFig-hpanQP-10;
+
+%Panel "Plane"
+HposPlane=lpanQP+(lpanel-lpanQP-lpanMeth)/2-lpanPlane/2;
+VposPlane=hauteurFig-hpanPlane-10;
+
+% checkbox: "Horizontal"
+HHrz= 5;
+VHrz=hposrad;
+
+
+% checkbox: "Vertical"
+HVert=5+1*(lradio+espH)+10;
+VVert=hposrad;
+
+
+%Panel "Method"
+%HposMeth=HposPlane+espH+lpanPlane;
+HposMeth=10+lpanel-lpanMeth;%HposQp+10*(lradio+espH)+OffNone-lpanMeth;
+VposMeth=hauteurFig-hpanMeth-10;
+
+% checkbox: "M.E.C."
+HMec=5;
+VMec=hposrad;
+
+
+% checkbox: "BMP4CM"
+HBmp4cm=5+1.5*(lradio+espH)-20;
+VBmp4cm=hposrad;
+
+
+
+
+
+%pour les sextu
+HposSp=lpanel+20;
+VposSp=VposMeth-2*espV-hpanel-hpospan;%hauteurFig-4*(hpanel+espV)
+
+
+%Plot
+HposPlot=lpanel+(largeurFig-lpanel)/2-lPlot/2+espH;
+VposPlot=hauteurFig/2-125;
+
+% Zone de texte Qp en cours de mesure
+HQpMes1=lpanel+(largeurFig-lpanel)/2-lQpMes1/2;%+2*espH;
+VQpMes1=hauteurFig-5*espV;
+
+% Zone de texte BPM: utilisÃ©
+HBpm=lpanel+(largeurFig-lpanel)/2+espH+lcor/2;
+VBpm=13*hposrad;
+
+% Zone de texte COR: utilisÃ©
+Hcor=lpanel+(largeurFig-lpanel)/2-lcor/2;
+Vcor=13*hposrad;
+
+% Zone de texte Qp mesurÃ© prÃ©cedemment
+HQpMes0=lpanel+(largeurFig-lpanel)/2-lQpMes0-espH-lcor/2;%+2*espH;
+VQpMes0=VBpm;
+
+% Zone de texte heure de la mesure prÃ©cÃ©dente
+HClock=lpanel+(largeurFig-lpanel)/2-lClock/2;%+lcor/2+lBpm+2*espH;%+2*espH;
+VClock=VBpm+hClock+espV;
+
+%Zone de texte:valeur offset BPM
+Hoff=lpanel+(largeurFig-lpanel)/2-loff/2;
+Voff=10*hposrad;
+
+%Zone de texte:RMS Fit
+Hrms=lpanel+(largeurFig-lpanel)/2-lrms/2;
+Vrms=hauteurFig-6*espV-hQpMes1;
+
+%Zone de texte:Name File
+Hfich=lpanel+(largeurFig-lpanel)/2-lfich/2;
+Vfich=hauteurFig-7*espV-2*hrms;
+
+% Pushbutton pour lancer le BBA
+HBBA=lpanel+(largeurFig-lpanel)/2-lBBA/2;
+VBBA=50;
+
+
+Hmanu=largeurFig-1.1*lradio-espV;
+Vmanu=150;
+
+HnbCor=largeurFig-lradio-espV;
+VnbCor=125;
+
+
+HStCor=largeurFig-lradio-espV;
+VStCor=100;
+
+HOffCor=largeurFig-lradio-espV;
+VOffCor=75;
+
+HDelais=largeurFig-lradio-espV;
+VDelais=50;
+
+HStQp=largeurFig-lradio-espV;
+VStQp=25;
+
+HWhCor1=largeurFig-3*(lradio-espV)-espV;
+VWhCor1=25;
+
+HWhCor2=largeurFig-4*(lradio-espV)-2*espV;
+VWhCor2=25;
+%%5+2*(lradio+espH)+10
+
+
+%%5+2*(lradio+espH)+10
+
+
+if nargin<1 %CrÃ©er l'IHM
+
+    delete(findobj(allchild(0),'Tag','Ola')); % detruit interface si existe deja
+    for i=1:10
+        QuadFamilyList(i)=cellstr(strcat('Q',num2str(i)));
+    end
+
+    % ParamÃštres des Ã©lÃ©ments de l'IHM
+
+    %% FIGURE
+    figCol=[0.93,0.75,0.51];
+    f = figure( 'Visible','on',...
+        'Units','pixels',...
+        'Position',[100,100,largeurFig,hauteurFig],...
+        'HandleVisibility','on',...
+        'Name','B.B.A. -> Offsets Hunting',...
+        'Tag','Ola',...
+        'Color',[0.93,0.75,0.51]);
+    %%
+    %% AXE = Plots
+    Hb=axes('Parent',f);
+    set(Hb,'Units','pixels');
+    set(Hb,'Tag','merit_Plot');
+
+    get(Hb,'Tag');
+    %         alors=get(Hb,'Position')
+    set(Hb,'Position',[HposPlot VposPlot lPlot hPlot]);
+
+    ze=[0 0];ord2=[0 0];ord1=[0 0];
+    CorCons=[0 0];BpmRes=[0 0];merit(:,1)=[0 0];merit(:,2)=[0 0];
+    center=0; y1=[-1 1];x1=[-1 1];offs=0;y2=[-2 2];
+    hold on
+    [Bx1,Hb1,Hb2]=plotyy(Hb,ze,ord2,ze,ord1,'plot');
+    set(Bx1(1),'Tag','axe_calc_bpm');
+    set(Bx1(2),'Tag','axe_calc_merit');
+    set(Hb1,'Tag','calc_bpm');
+    set(Hb2,'Tag','calc_merit');
+
+    set(Hb1,'Color','black','LineStyle','-.');%,'LineStyle','--')
+    set(Hb2,'Color','black','LineStyle','-.');
+    %set(Bx1(1),'YLim',y1);
+    %set(Bx1(2),'YLim',y2);
+    axis(Bx1(1),'off');
+    axis(Bx1(2),'off');
+
+    [Ax1,Ha1,Ha2]=plotyy(Hb,CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');
+    set(Ax1(1),'Tag','axe_mes_bpm');
+    set(Ax1(2),'Tag','axe_mes_merit');
+    set(Ha1,'Tag','mes_bpm');
+    set(Ha2,'Tag','mes_merit');
+
+    set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+    set(Ha2,'Marker','x','Color','red');
+
+    %x1=get(Ax1(1),'XLim');
+    %set(Ax1,'Visible','off');
+    %set(Ax1(1),'YLim',y1);
+    %set(Ax1(2),'YLim',y2);
+    axis(Ax1(1),'on')
+    axis(Ax1(2),'on');
+    %set(Ax1(1),'YLim',y1,'YColor','blue');
+    %set(Ax1(2),'YLim',y2,'YColor','red');
+    set(Ax1(1),'YColor','blue');
+    set(Ax1(2),'YColor','red');
+
+    set(get(Ax1(1),'XLabel'),'String','COR Value (amps)');
+    set(get(Ax1(1),'YLabel'),'String','(mm)');
+    set(get(Ax1(2),'YLabel'),'String','(mm^2)');
+
+    pl1=plot(Hb,[center center],[-1 0],'k','LineStyle','-.');
+    pl2=plot(Hb,[-1 center],[offs offs],'k','LineStyle','-.');
+    pl3=plot(Hb,center,offs,'ko');
+    set(pl1,'Tag','loc_off1');
+    set(pl2,'Tag','loc_off2');
+    set(pl3,'Tag','loc_off3');
+    drawnow
+    hold off
+
+    %         [Ax1,Ha1,Ha2]=plotyy(Hb,[1 3 9],[4 5 8],[4 7 12],[1 2 3])
+    %         set(Ha1,'Marker','x','Color','blue');
+    %         set(Ha2,'Marker','x','Color','red');
+    %         hold on
+    %         axis(Ax1,'off')
+    %         [Bx1,Hb1,Hb2]=plotyy(Hb,[12 20 45],[4 10 -6],[0 2 41],[1 -20 3])
+    %         axis(Bx1,'on')
+    %         hold off
+
+
+    %     f2=uipanel( 'Parent',f,'BackgroundColor',[0.93,0.75,0.51],...
+    %                 'Visible','on',...
+    %                 'Units','pixels',...
+    %                 'Position',[0,0,lpanel+20,hauteurFig],...
+    %                 'HandleVisibility','on',...
+    %                 'Visible','on');
+
+
+    %%
+    Hdecale=lradio+espH;
+    % radio bouton manuel ou auto
+    radManu=uicontrol('Parent',f,...
+        'BackgroundColor',[1,0,0],...
+        'Style','radiobutton',...
+        'String', 'Manual',...
+        'Units','pixels',...
+        'Callback',     'BBAgui_last(''manu'')',...
+        'Tag',   'radio_manu',...
+        'Value',0,...
+        'Position',[Hmanu Vmanu lmanu hmanu]);
+
+    edNbCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '13',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_nbCor',...
+        'Value',0,...
+        'Position',[HnbCor VnbCor lnbCor hnbCor]);
+
+    edStepCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '0.1',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_StCor',...
+        'Value',0,...
+        'Position',[HStCor VStCor lStCor hStCor]);
+
+    edOffCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '0',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_OffCor',...
+        'Value',0,...
+        'Position',[HOffCor VOffCor lOffCor hOffCor]);
+
+    edDelais=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '3',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_Delais',...
+        'Value',0,...
+        'Position',[HDelais VDelais lDelais hDelais]);
+
+    edStQp=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '1.75',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_StQp',...
+        'Value',0,...
+        'Position',[HStQp VStQp lStQp hStQp]);
+
+    edWhCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '1',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_WhCor',...
+        'Value',0,...
+        'Position',[HWhCor2 VWhCor2 lStQp hStQp]);
+
+    %%
+    textNbCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'nb Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_nbCor',...
+        'Value',0,...
+        'Position',[HnbCor-Hdecale VnbCor lnbCor hnbCor]);
+
+    textStepCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Step Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_StCor',...
+        'Value',0,...
+        'Position',[HStCor-Hdecale VStCor lStCor hStCor]);
+
+    textOffCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Offs Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_OffCor',...
+        'Value',0,...
+        'Position',[HOffCor-Hdecale VOffCor lOffCor hOffCor]);
+
+    textDelais=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Delai',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_Delais',...
+        'Value',0,...
+        'Position',[HDelais-Hdecale VDelais lDelais hDelais]);
+
+    textStQp=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Step Qp',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_StQp',...
+        'Value',0,...
+        'Position',[HStQp-Hdecale VStQp lStQp hStQp]);
+
+    textWhCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Choix Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_WhCor',...
+        'Value',0,...
+        'Position',[HWhCor2-Hdecale-espV VWhCor2 1.2*lWhCor hWhCor]);
+
+
+    %%   % PANEL pour sÃ©lectionner ou dÃ©sÃ©lectionner tous les Qp
+    QpCol=[0.63,0.8,0.35];
+
+    AllQP=uipanel('Parent',f,...
+        'BackgroundColor',QpCol,...%[0,0.9,0.9]
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','ALL QP',...
+        'FontSize',12,...
+        'Units','pixels',...
+        'Position',[HposQp VposQp lpanQP hpanQP],...
+        'Visible','on');
+
+
+    hposrad=(hpanQP-fontsize-hradio)/2;
+
+    % radio button 'ALL'
+    radAll=uicontrol('Parent',AllQP,...
+        'BackgroundColor',QpCol,...
+        'Style','radiobutton',...
+        'String', 'ALL',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''typeAll'')',...
+        'Tag',   'radio_All',...
+        'Value',0,...
+        'Position',[5 hposrad lradio hradio]);
+
+    % radio button 'None'
+    radNone=uicontrol('Parent',AllQP,...
+        'BackgroundColor',QpCol,...
+        'Style','radiobutton',...
+        'String', 'None',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''typeNone'')',...
+        'Tag',   'radio_None',...
+        'Value',0,...
+        'Position',[5+lradio+espH/4 hposrad lradio hradio]);
+
+
+
+    %%  % PANEL pour sÃ©lectionner le plan de BBA
+    PlCol=[1,0.8,0];
+    panPlane=uipanel('Parent',f,...
+        'BackgroundColor',PlCol,...
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','Plane',...
+        'Units','pixels',...
+        'Position',[HposPlane VposPlane lpanPlane+20 hpanPlane],...
+        'Visible','on');
+
+    hposrad=(hpanPlane-fontsize-hradio)/2;
+    %             radAll=uicontrol('Parent',panPlane,...%[0.2,1,0]
+    %                     'BackgroundColor',PlCol,...
+    %                     'Style','radiobutton',...
+    %                     'String', 'Both',...
+    %                     'Units','pixels',...
+    %                     'Callback',      '',...
+    %                     'Tag',   'radioP_All_Plane',...
+    %                     'Value',0,...
+    %                     'Position',[5 hposrad lradio hradio]);
+
+    ckb_Hrz=uicontrol('Parent',panPlane,...
+        'BackgroundColor',PlCol,...
+        'Style','checkbox',...
+        'String', 'Horizontal',...
+        'Units','pixels',...
+        'Callback','BBAgui_last(''check'')',...
+        'Tag',  'ckboxP_Hrz',...
+        'Value',0,...
+        'Position',[HHrz VHrz lHrz hHrz]);
+
+    ckb_Vert=uicontrol('Parent',panPlane,...
+        'BackgroundColor',PlCol,...
+        'Style','checkbox',...
+        'String', 'Vertical',...
+        'Units','pixels',...
+        'Callback', 'BBAgui_last(''check'')',...
+        'Tag',  'ckboxP_Vert',...
+        'Value',0,...
+        'Position',[HVert VVert lVert hVert]);
+
+    %% % PANEL pour sÃ©lectionner la mÃ©thode de BBA
+
+    MetCol=[0.8,0.5,0.5];
+    panMeth=uipanel('Parent',f,...
+        'BackgroundColor',MetCol,...%[1,0.8,0]
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','Method',...
+        'FontSize',12,...
+        'Units','pixels',...
+        'Position',[HposMeth-10 VposMeth lpanMeth+10 hpanMeth],...
+        'Visible','on');
+
+
+    %            radAll_Meth=uicontrol('Parent',panMeth,...
+    %                     'BackgroundColor',MetCol,...
+    %                     'Style','radiobutton',...
+    %                     'String', 'Both',...
+    %                     'Units','pixels',...
+    %                     'Callback',      '',...
+    %                     'Tag',   'radioM_All_Meth',...
+    %                     'Value',0,...
+    %                     'Position',[5 hposrad lradio hradio]);
+
+    ckb_mec=uicontrol('Parent',panMeth,...
+        'BackgroundColor',MetCol,...
+        'Style','checkbox',...
+        'String', 'M.E.C.',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'ckboxM_MEC',...
+        'Value',0,...
+        'Position',[HMec VMec lMec hMec]);
+
+    ckb_bmp=uicontrol('Parent',panMeth,...
+        'BackgroundColor',MetCol,...
+        'Style','checkbox',...
+        'String', 'Bump 4 CM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',  'ckboxM_BMP4CM',...
+        'Value',0,...
+        'Position',[HBmp4cm VBmp4cm lBmp4cm hBmp4cm]);
+
+
+
+    %% Panel pour les sextupoles
+    %    SpCol=[0.63,0.8,0.35];
+    %    panSp=uipanel('Parent',f,...
+    %        'BackgroundColor',SpCol,...%[1,0.8,0]
+    %        'FontUnits','pixels',...
+    %        'FontWeight','bold',...
+    %        'FontSize',fontsize,...
+    %        'Title','Sextu',...
+    %        'FontSize',12,...
+    %        'Units','pixels',...
+    %        'Position',[HposSp VposSp larSp HautSp],...
+    %        'Visible','on');
+
+
+    %% Bouton pour lancer le BBA
+    ActCol=[0.93,0.8,0.2];
+
+    PushAction=uicontrol('Parent',f,...
+        'BackgroundColor',ActCol,...
+        'Style','pushbutton',...
+        'String', 'ACTION',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''action'')',...
+        'Tag',   'push_Act',...
+        'Value',0,...
+        'Position',[HBBA VBBA lBBA hBBA]);
+    %% Zone de texte pour afficher le quadrupole en cours de mesure
+
+    TxtQp1=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String','Qp [cell elt]',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_work1',...
+        'Position',[HQpMes1 VQpMes1 lQpMes1 hQpMes1]);
+
+
+
+    %% Zone de texte pour afficher le quadrupole mesurÃ© prÃ©cedemment
+
+    TxtQp0=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String','Qp [cell elt]',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_work0',...
+        'Position',[HQpMes0 VQpMes0 lQpMes0 hQpMes0]);
+
+    %% Zone de texte pour afficher le BPM utilisÃ©
+
+    TxtBpm=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'BPM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_BPM',...
+        'Position',[HBpm VBpm lBpm hBpm]);
+
+    %% Zone de texte pour afficher le COR utilisÃ©
+
+    TxtBpm=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'COR',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_COR',...
+        'Position',[Hcor Vcor lcor hcor]);
+
+    %% Zone de texte pour afficher l'heure de la mesure prÃ©cÃ©dente
+
+    TxtClock=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'Clock',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_Clock',...
+        'Position',[HClock VClock lClock hClock]);
+
+    %% Zone de texte pour afficher la valeur de l'offset BPM
+
+    TxtOf=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'FontWeight','bold',...
+        'String', 'Offset BPM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_offset',...
+        'Position',[Hoff Voff loff hoff]);
+
+    %% Zone de texte pour la qualitÃ© du FIT
+
+    TxtFit=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',14,...
+        'FontWeight','bold',...
+        'String', 'RMS Fit',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_RMS',...
+        'Position',[Hrms Vrms lrms hrms]);
+
+    %% Zone de texte pour le nom du fichier
+    TxtFile=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',12,...
+        'FontWeight','bold',...
+        'String', 'Name File',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_File',...
+        'Position',[Hfich Vfich lfich hfich]);
+
+    %% Boucle pour crÃ©er les 160 checkbox, les 10 panels et les radiobutton associÃ©s
+    incr=0;
+    multpos=0;
+    hpospan=0;
+    for i=1:10%10
+        QuadDevList=getlist(char(QuadFamilyList(i)));
+        long=length(QuadDevList);
+        TitleOffset=0;
+
+        if long == 8
+            mult=1;
+        elseif long == 16
+            mult=2;
+        elseif long==24
+            mult=3;
+        end
+
+        multpos=multpos+mult;
+
+        hpanel=mult*hradio+(mult+1)*espV+fontsize;
+        %lpanel=10*(lradio+espH)+OffNone;
+        hpospan=hpospan+hpanel+espV;
+        % 10 Panel 'Qi'
+        hp(i) = uipanel('Parent',f,...
+            'BackgroundColor',QpCol,...
+            'FontUnits','pixels',...
+            'FontWeight','bold',...
+            'FontSize',fontsize,...
+            'Title',char(QuadFamilyList(i)),...
+            'FontSize',12,...
+            'Units','pixels',...
+            'Position',[10 hauteurFig-hpanQP-espV-hpospan-10 lpanel hpanel],...
+            'Visible','on');
+
+        NameQuadFamAll=['All ' char(QuadFamilyList(i))];
+        NameRadioAll=['radioQ_All_' char(QuadFamilyList(i))];
+
+        NameQuadFamNone=['None ' char(QuadFamilyList(i))];
+        NameRadioNone=['radioQ_None_' char(QuadFamilyList(i))];
+
+        hposrad=(hpanel-fontsize-hradio)/2;
+
+        % 10 radio button pour sÃ©lectionner les Qp par familles
+        radAll(i)=uicontrol('Parent',hp(i),...
+            'BackgroundColor',QpCol,...
+            'Style','radiobutton',...
+            'String', NameQuadFamAll,...
+            'Units','pixels',...
+            'Callback',      'BBAgui_last(''familyAll'')',...
+            'Tag',   NameRadioAll,...
+            'Value',0,...
+            'Position',[5 hposrad lradio+5 hradio]);
+
+        % 10 radio button pour dÃ©sÃ©lectionner par familles
+        radNone(i)=uicontrol('Parent',hp(i),...
+            'BackgroundColor',QpCol,...
+            'Style','radiobutton',...
+            'String', NameQuadFamNone,...
+            'Units','pixels',...
+            'Callback',      'BBAgui_last(''familyNone'')',...
+            'Tag',   NameRadioNone,...
+            'Value',0,...
+            'Position',[5+lradio+espH/4 hposrad lradio+OffNone hradio]);
+
+        %% Boucle des checkbox
+        for j=1:length(QuadDevList)
+            QuadFamTot(j+incr)=QuadFamilyList(i);
+            QuadDevTot(j+incr,:)=QuadDevList(j,:);
+            ValueList(j+incr)=0;
+
+
+            NameQuadDev=char(['[' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2)) ']']);
+            NameControl=['ckbox_' char(QuadFamilyList(i)) '_' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2))];
+            if j>0 & j<=8
+                valjH=j;
+                valjV=1;
+            elseif j>8 & j<=16
+                valjH=j-8;
+                valjV=2;
+            elseif j>16 & j<=24
+                valjH=j-16;
+                valjV=3;
+            end
+            % N=8,16 or 24 pour sÃ©lectionner les Qp individuellement
+            cont(i,j)=uicontrol('Parent',hp(i),...
+                'BackgroundColor',QpCol,...
+                'Style','checkbox',...
+                'String', NameQuadDev,...
+                'Units','pixels',...
+                'Callback',   'BBAgui_last(''check'')'   ,...%'BBAgui_last(''Ncheck'')'
+                'Tag',   NameControl,...
+                'Value',ValueList(j+incr),...
+                'Position',[(valjH+1)*(lradio+espH/4)+OffNone hpanel-(valjV)*(hradio+espV)-espV lradio hradio]);
+            %'Position',[0 0-0.3*(j-1) 0.1 .1]);
+        end
+        %%
+        incr=incr+length(QuadDevList);
+
+    end
+
+    delete('guy*.mat')
+    save('guytrydata1.mat','QuadFamTot','QuadDevTot')
+    set(f,'Visible','on');
+
+    RepRes = find_directory;
+    setappdata(findobj(allchild(0),'Tag','Ola'),'RepRes',RepRes);
+
+    
+    %% Conditions sur les checkbox "[i j]"
+
+elseif strcmpi(arg1,'manu')  % bouton manuel/auto
+
+    autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+    etat=get(autom,'Value');
+    if etat==1
+        set(autom,'Backgroundcolor',[0,1,0]);
+    elseif etat==0
+        set(autom,'Backgroundcolor',[1,0,0]);
+    end
+    %%
+elseif strcmpi(arg1,'action')  % ressortir les checkbox cochees
+    %delete('guytrydata2.mat')
+    clear list h lista;
+    % disp('ok!!')
+    f=findobj('Tag','Ola');
+    set(f,'Visible','on');
+    h=findobj('Style','checkbox','-and','-regexp','Tag','Q');
+
+    length(h);
+    k=1;
+    for i=1:length(h)
+        list(i)=get(h(i),'Value');
+        lista(i)=cellstr(get(h(i),'Tag'));
+        IDQuad=char(lista(i));
+        
+        % Ajout Laurent       
+        if strcmpi(IDQuad, 'checkbox_AllQuad') || strcmpi(IDQuad, 'checkbox_Q10') || ...
+                strcmpi(IDQuad, 'checkbox_Q9') || strcmpi(IDQuad, 'checkbox_Q8') || ...
+                strcmpi(IDQuad, 'checkbox_Q7') || strcmpi(IDQuad, 'checkbox_Q6') || ...
+                strcmpi(IDQuad, 'checkbox_Q5') || strcmpi(IDQuad, 'checkbox_Q4') || ...
+                strcmpi(IDQuad, 'checkbox_Q3') || strcmpi(IDQuad, 'checkbox_Q2') || ...
+                strcmpi(IDQuad, 'checkbox_Q1') 
+            list(i)=0;
+        end
+        % Fin ajout Laurent.
+        
+        if list(i)==1
+            indstr=findstr(IDQuad,'_');
+            family(k)=cellstr(IDQuad(indstr(1)+1:indstr(2)-1));
+            cellule(k)=str2num(IDQuad(indstr(2)+1:indstr(3)-1));
+            element(k)=str2num(IDQuad(indstr(3)+1:length(IDQuad)));
+            QpDevList(k,1)=cellule(k);
+            QpDevList(k,2)=element(k);
+            k=k+1;
+        end
+
+    end
+    sum(list);
+    list;
+    lista;
+    length(list);
+    %connaitre la mÃ©thode utilisÃ©e
+    clear list1 h1 lista1 MetList;
+    f1=findobj('Tag','Ola');
+    h1=findobj('Style','checkbox','-and','-regexp','Tag','ckboxM');
+    MetList=cellstr('bad');
+    varMet=0;
+    for u=1:length(h1)
+        list1(u)=get(h1(u),'Value');
+        lista1(u)=cellstr(get(h1(u),'Tag'));
+        IDMeth=char(lista1(u));
+        if list1(u)==1
+            varMet=varMet+1;
+            indstr=findstr(IDMeth,'_');
+            MetList(varMet)=cellstr(IDMeth(indstr+1:length(IDMeth)));
+        end
+    end
+    if  strcmpi(char(MetList(1)),'bad');
+        MetList(1,:)=cellstr('MEC');
+        hp=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxM_MEC');
+        set(hp,'Value',1);
+    end
+
+    %connaitre les plans utilisÃ©s
+    clear list2 h2 lista2 PlaneList0;
+    f=findobj('Tag','Ola');
+    h2=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxP');
+    PlaneList0=-1;
+    varPl=0;
+    for v=1:length(h2)
+        list2(v)=get(h2(v),'Value');
+        lista2(v)=cellstr(get(h2(v),'Tag'));
+        IDPlane=char(lista2(v));
+        if list2(v)==1
+            varPl=varPl+1;
+            indstr=findstr(IDPlane,'_');
+            PlaneList(varPl)=IDPlane(indstr+1);
+            if     PlaneList(varPl)=='H'
+                PlaneList0(varPl)=1;
+            elseif PlaneList(varPl)=='V'
+                PlaneList0(varPl)=2;
+            end
+        end
+    end
+    %if length(PlaneList0)>1
+    %    PlaneList0=0;
+    if  PlaneList0(1)<0
+        PlaneList0=1;
+        hp=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxP_H');
+        set(hp,'Value',1);
+    end
+
+ 
+    %%
+    % Lancement du programme BBA
+    %Hb=findobj('Tag','merit_Plot');
+    %chHb=get(gca,'Children')
+
+
+    %while ~isempty(chHb)
+    %chHb=get(Hb,'Children')
+
+
+    %pause(1)
+    %cla(chHb(1))
+    %cla(chHb(2))
+    % cla(chHb(3))
+    % cla(chHb(4))
+    % cla(chHb(5))
+
+
+    %end
+    %cla(Bx1(2))
+    %cla(Ax1(1))
+    %cla(Ax1(2))
+
+    G1=findobj('Tag','Ola');
+    child_handles = get(G1,'Children');
+    %get(child_handles,'Type');
+    G1=findobj('Tag','merit_Plot');
+    set(G1,'NextPlot','replace');
+    hold off
+    pause(5)
+    format long
+    PlaneList0;
+    MetList;
+    family;
+    cellule;
+    element;
+    QpDevList;
+    longElem=size(element);
+    indice=10; %indice permet de numeroter les figures
+    for w=1:length(family)
+        %indice=indice+1;
+        for loop=1:length(PlaneList0)
+            if PlaneList0(loop)==1
+                TextBpm='BPMx';
+                TextDel=char('Delta_X=');
+                TextCor='HCOR';
+            elseif PlaneList0(loop)==2
+                TextDel=char('Delta_Z=');
+                TextBpm='BPMz';
+                TextCor='VCOR';
+            end
+
+
+            pause(1);
+            danow= datestr(now);
+            %clear Ax1 Bx1 Ha1 Ha2 Hb1 Hb2
+
+            % Ã©criture dans les zones de texte
+            f=findobj('Style','text','-and','-regexp','Tag','edit_work1');
+            TextQp1=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']  @  ' danow]);
+            set(f,'String',TextQp1);
+
+            %recherche de paramÃštres
+            %Automatisation
+            autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+            etat=get(autom,'Value');
+            if etat==1
+                maxloop=1;
+            elseif etat==0
+                maxloop=2;
+                nbDeltaCor=3;
+                OffCor=0;
+                StepCor=1.2;
+                %Delais=3.; % modification si nÃ©cessaire
+                Delais=6.; % essai le 23 juin 08
+                StepQp=2.5;
+            end
+
+
+
+            for t=1:maxloop
+                autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+                etat=get(autom,'Value');
+                if etat==1
+                    set(autom,'Backgroundcolor',[0,1,0]);
+                    ed1=findobj('Style','edit','-and','-regexp','Tag','edit_nbCor');
+                    nbDeltaCor=str2num(get(ed1,'String'));
+
+                    ed2=findobj('Style','edit','-and','-regexp','Tag','edit_StCor');
+                    StepCor=str2num(get(ed2,'String'));
+
+                    ed3=findobj('Style','edit','-and','-regexp','Tag','edit_OffCor');
+                    OffCor=str2num(get(ed3,'String'));
+
+                    ed4=findobj('Style','edit','-and','-regexp','Tag','edit_Delais');
+                    Delais=str2num(get(ed4,'String'));
+
+                    ed5=findobj('Style','edit','-and','-regexp','Tag','edit_StQp');
+                    StepQp=str2num(get(ed5,'String'));
+
+                else
+                    set(autom,'Backgroundcolor',[1,0,0])
+                    ed1=findobj('Style','edit','-and','-regexp','Tag','edit_nbCor');
+                    TextnbDeltaCor=num2str(nbDeltaCor);
+                    set(ed1,'String',TextnbDeltaCor);
+
+                    ed2=findobj('Style','edit','-and','-regexp','Tag','edit_StCor');
+                    TextStepCor=num2str(StepCor);
+                    set(ed2,'String',TextStepCor);
+
+                    ed3=findobj('Style','edit','-and','-regexp','Tag','edit_OffCor');
+                    TextOffCor=num2str(OffCor);
+                    set(ed3,'String',TextOffCor);
+
+                    ed4=findobj('Style','edit','-and','-regexp','Tag','edit_Delais');
+                    TextDelais=num2str(Delais);
+                    set(ed4,'String',TextDelais);
+
+                    ed5=findobj('Style','edit','-and','-regexp','Tag','edit_StQp');
+                    TextStepQp=num2str(StepQp);
+                    set(ed5,'String',TextStepQp);
+                end
+                ed6=findobj('Style','edit','-and','-regexp','Tag','edit_WhCor');
+                CorNumber=str2num(get(ed6,'String'));
+
+                %edit_WhCor
+
+                drawnow
+                RepRes = getappdata(findobj(allchild(0),'Tag','Ola'),'RepRes');
+                [merit,CorCons,BpmRes,offs,OffsCor,center,ze,ord1,ord2,BpmDevRes,CorDevRes,iniCor,rmsFit,NameFile,NameFilePNG] = ...
+                    bba_last(RepRes,family(w),QpDevList(w,:), PlaneList0(loop),char(MetList),nbDeltaCor,StepCor,OffCor,Delais,StepQp,CorNumber);
+                %center
+
+                %         G1=findobj('Tag','merit_Plot');
+                %         axes(G1);
+                %         cla
+                %         G1=findobj('Tag','Ola');
+
+                %        load('resu.mat')
+                %        trace_bba.m
+
+                %CorCons=CorCons-iniCor;
+                %CorCons=CorCons-iniCor;
+                %center=center-iniCor;
+
+                droite=polyfit(CorCons,BpmRes,1);
+                %BpmDevRes=[1 5];
+
+                TextCor1=char([TextCor ' [' num2str(CorDevRes(1,1)) '  ' num2str(CorDevRes(1,2)) ']']);
+                f=findobj('Style','text','-and','-regexp','Tag','edit_COR');
+                %TextOff2=char(['RMS Fit:  ' Textrms ' mm^2']);
+                set(f,'String',TextCor1);
+
+                Textrms=num2str(round(rmsFit*10000000)/10000000);
+                Delta1=merit(1,2);
+                Delta2=merit(length(merit),2);
+                TextDelta1=num2str(round(Delta1*100000)/100000);
+                TextDelta2=num2str(round(Delta2*100000)/100000);
+                f=findobj('Style','text','-and','-regexp','Tag','edit_RMS');
+                TextOff2=char(['RMS Fit:  ' Textrms ' mm^2 | Min: ' TextDelta1 ' mm^2 | Max: ' TextDelta2 ' mm^2']);
+                set(f,'String',TextOff2);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_File');
+                TextOff3=char([NameFile]);
+                set(f,'String',TextOff3);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_offset');
+                TextOff1=char(['Offset ' TextBpm]);
+                set(f,'String',TextOff1);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_BPM');
+                TextOff2=char([TextBpm ' [' num2str(BpmDevRes(1,1)) '  ' num2str(BpmDevRes(1,2)) ']'] );
+                set(f,'String',TextOff2);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_work0');
+                TextQp0=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']']);%  @  ' danow(13:length(danow))]);
+                set(f,'String',TextQp0);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_Clock');
+                TextClock=char(danow);%  @  ' danow(13:length(danow))]);
+                set(f,'String',TextClock);
+                clear x1 y1 y2
+
+
+                x1=[min(CorCons)-0.1-iniCor max(CorCons)+0.1-iniCor];
+                deltay11=max(BpmRes)-min(BpmRes);
+                y11=[min(BpmRes) max(BpmRes)];
+                y12=[min(ord2) max(ord2)];
+                y1=[min([y11(1) y12(1)])-0.01*deltay11 max([y11(2) y12(2)])+0.01*deltay11];
+
+                deltay21=max(merit(:,2))-min(merit(:,2));
+                y21=[min(merit(:,2)) max(merit(:,2))];
+                y22=[min(ord1) max(ord1)];
+                y2=[min([y21(1) y22(1)])-0.01*deltay21 max([y21(2) y22(2)])+0.01*deltay21];
+                G1=findobj('Tag','Ola');%,'-and','Tag','merit_Plot')
+                drawnow
+                Hb=findobj('Parent',G1,'-and','Tag','merit_Plot');
+                %cla(Hb)
+                %hold(Hb,'off')
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+
+                %pl3=plot(Hb,center,offs,'Marker','o','Color','black');
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+                % hold(Hb,'on')
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+                %Hb=axes('Parent',f)
+                set(Hb,'Units','pixels');
+                %hold on
+                alors=get(Hb,'Position');
+                %set(Hb,'Position',[900 520 550 400]);
+                set(Hb,'Color','w');
+
+                %[Bx1,Hb1,Hb2]=plotyy(Hb,ze,ord2,ze,ord1,'plot');
+                Bx11=findobj('Tag','axe_calc_bpm');
+                set(Bx11,'YLim',y1);
+                set(Bx11,'XLim',x1);
+
+                Bx12=findobj('Tag','axe_calc_merit');
+                set(Bx12,'XLim',x1);
+                set(Bx12,'YLim',y2);
+
+                Hb1=findobj('Tag','calc_bpm');
+                set(Hb1,'XData',ze-iniCor,'YData',ord2);
+                Hb2=findobj('Tag','calc_merit');
+                set(Hb2,'XData',ze-iniCor,'YData',ord1);
+
+
+                drawnow
+                G1=findobj('Tag','Ola');
+
+
+                drawnow
+                %        [Ax1,Ha1,Ha2]=plotyy(Hb,CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');%,'Marker','x','Color','red')
+                %refreshdata(Ax1)
+                Ax11=findobj('Tag','axe_mes_bpm');
+                set(Ax11,'XLim',x1);
+                set(Ax11,'YLim',y1);
+
+
+                Ax12=findobj('Tag','axe_mes_merit');
+                set(Ax12,'XLim',x1);
+                set(Ax12,'YLim',y2);
+
+
+                Ha1=findobj('Tag','mes_bpm');
+                set(Ha1,'XData',CorCons-iniCor,'YData',BpmRes);
+
+                Ha2=findobj('Tag','mes_merit');
+                set(Ha2,'XData',merit(:,1)-iniCor,'YData',merit(:,2));
+
+                drawnow
+
+                ploRes1=findobj('Tag','loc_off1');
+                ploRes2=findobj('Tag','loc_off2');
+                ploRes3=findobj('Tag','loc_off3');
+                set(ploRes1,'XData',[center-iniCor center-iniCor],'YData',[y1(1) offs]);
+                set(ploRes2,'XData',[x1(1) center-iniCor],'YData',[offs offs]);
+                set(ploRes3,'XData',center-iniCor,'YData',offs);
+                disp(merit(:,2))
+                % %         set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+                % %         set(Ha2,'Marker','x','Color','red');
+                % %
+                % %         x1=get(Ax1(1),'XLim');
+                % %         %set(Ax1,'Visible','off');
+                %set(Ax11,'YLim',y1);
+                %set(Ax12,'YLim',y2);
+                %set(Ax11,'XLim',x1);
+                %set(Ax12,'XLim',x1);
+                %        axis(Ax11,'on')
+                %       axis(Ax12,'on');
+                % %         set(Ax1(1),'YLim',y1,'YColor','blue');
+                % %         set(Ax1(2),'YLim',y2,'YColor','red');
+                % %         if w==1
+                % %             set(get(Ax1(1),'XLabel'),'String','COR Value (amps)');
+                % %             set(get(Ax1(1),'YLabel'),'String','(mm)');
+                % %             set(get(Ax1(2),'YLabel'),'String','(mm^2)');
+                % %         end
+
+                %pl1=plot(Hb,[center center],[y1(1) offs],'k',[x1(1) center],[offs offs],'k',center,offs,'ko','LineStyle','-.');
+                %       G1=findobj('Tag','Ola');
+                %   child_handles = get(G1,'Children');
+                %   get(child_handles,'Type');
+                %pl2=plot(Hb,[x1(1) center],[offs offs],'Color','black','LineStyle','-.');
+                %pl3=plot(Hb,center,offs,'Marker','o','Color','black');%,text(center,offs,'\leftarrow ',...
+
+
+                %'HorizontalAlignment','left'))
+                %axis(pl1,'off');
+                %axis(pl2,'off');
+                %axis(pl3,'off');
+
+                %set(pl1 ,'Color','black','LineStyle','-.');
+                %set(pl2 ,'Color','black','LineStyle','-.');
+ %sept
+
+
+                %set(pl1,'YLim',y1);
+                %set(pl2,'YLim',y1);
+                %set(pl3,'YLim',y1);
+
+                %xlabel('COR Value (amps)')
+                %ylabel(Bx1(1),'(mm)')
+                %ylabel(Bx1(2),'(merit)')
+                drawnow;
+                % hold off
+                pause(2)
+                Hb=findobj('Tag','merit_Plot');
+
+                drawnow
+                f=findobj('Style','text','-and','-regexp','Tag','edit_offset');
+                offs1=round(100000*offs)/100;
+                TextOff=char([TextDel num2str(offs1) ' Âµm']);
+                set(f,'String',TextOff);
+                %plot(Hb,[4 7 12],[1 2 3])
+                drawnow
+                testmerit=(merit(1,2)+merit(length(merit),2));
+
+                %mult=(0.01/testmerit)^(1/4); % formule Arnaud
+                %mult=(0.01/testmerit)^(1/8); % modification 9 septembre Ludo MAT
+                mult=0.5*(0.01/testmerit)^(1/16); % modification 14 octobre MAT
+                DeltaCorMax=nbDeltaCor*StepCor*mult;
+                
+                nbDeltaCor=13;  %  attention peut etre modifie plus bas
+                
+                StepCor=DeltaCorMax/(nbDeltaCor-1); % 
+                
+                %%modification MAT septembre 07  
+                %% 1Ãšre modif 9 septembre : Diminuer le pas du correcteur
+                %FAC_COR = 3 ; % Diminution par le facteur FAC_COR
+                %StepCor=DeltaCorMax/(nbDeltaCor-1)/ FAC_COR; 
+                
+                %% 2Ãšme modif Ã  la suite : diminuer le nombre de pas
+                nb_points_en_moins = 4 ; 
+                nbDeltaCor=13 - nb_points_en_moins;
+                %StepCor=DeltaCorMax/(nbDeltaCor + nb_points_en_moins-1)/FAC_COR;
+                
+                OffCor=OffsCor;
+                StepQp=StepQp*mult;
+
+                TextQp0=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']']);
+                disp(TextQp0)
+
+                TextOff2=char([TextBpm ' [' num2str(BpmDevRes(1,1)) '  ' num2str(BpmDevRes(1,2)) ']'] );
+                disp(TextOff2)
+
+                TextOff=char([TextDel num2str(offs1) ' Âµm']);
+                disp(TextOff)
+
+                TextCor1=char([TextCor ' [' num2str(CorDevRes(1,1)) '  ' num2str(CorDevRes(1,2)) ']']);
+                disp(TextCor1)
+
+            end
+
+
+        end
+        %f=findobj('Tag','Ola');
+        %saveas(f,NameFilePNG,'png')
+    end
+
+    %%
+elseif strcmpi(arg1,'check')
+
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Exclusion entre checkbox=1 et None=1
+    hNone=findobj('Style','radiobutton','-and','-regexp','Tag','None');
+    set(hNone,'Value',0);
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %save('guytrydata2.mat','list','family','cellule','element');
+    %axes(handles.offset);
+    %axes('Position',[600 200 300 100]);
+
+
+    %% Conditions sur les boutons radio "radioQ_Qi"
+elseif strcmpi(arg1,'familyAll') | strcmpi(arg1,'familyNone')
+    disp('c bon')
+    familyType(arg1);
+    BBAgui_last('check');
+
+    %% Conditions sur le bouton radio "radio_ALL"
+elseif strcmpi(arg1,'typeAll') | strcmpi(arg1,'typeNone')
+    disp('c bon')
+    familyType(arg1);
+    whi=['family' arg1(5:length(arg1))];
+    BBAgui_last(whi);
+
+    %elseif strcmpi(arg1,'tex')
+
+end
+%%
+
+end
+
+
+
+
+%% fonction qui permet de gÃ©rer Ã  la fois les radioboutons "radioQ_Qi" et "radio_ALL"
+function familyType(tor)
+%type=tor(7:length(tor))
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+tor;
+strmatch('family',tor);
+cas=~isempty(strmatch('family',tor));
+
+if cas==1 %family
+    prefix='radioQ_';
+    type=tor(7:length(tor));
+    button1='ckbox_';
+    button2='';
+    index=2;
+    button3='_';
+    style='checkbox';
+else%total
+    prefix='radio_';
+    type=tor(5:length(tor));
+    button1='radioQ_';
+    button2=[type '_'];
+    button3='';
+    style='radiobutton';
+    index=1;
+end
+
+if strcmpi(type,'All');
+    type1='All';
+    type0='None';
+    val=1;
+else
+    type1='None';
+    type0='All';
+    val=0;
+    button1='ckbox_';
+    button2='';
+    index=2;
+    button3='_';
+    style='checkbox';
+end
+objTagTot0=['radio_' type0];
+hobjectTot0=findobj('Style','radiobutton','-and','Tag',objTagTot0);
+set(hobjectTot0,'Value',val);
+
+objTagFam1=['radioQ_' type1];
+hobjectFam1=findobj('Style','radiobutton','-and','-regexp','Tag',objTagFam1);
+
+objTagFam0=['radioQ_' type0];
+hobjectFam0=findobj('Style','radiobutton','-and','-regexp','Tag',objTagFam0);
+k=1;
+
+for i=1:length(hobjectFam1)
+    if cas==1
+        list(i)=get(hobjectFam1(i),'Value');
+    else
+        list(i)=1;
+    end
+    lista(i)=cellstr(get(hobjectFam1(i),'Tag'));
+    IDFam=char(lista(i));
+    if list(i)==1
+        indstr=findstr(IDFam,'Q');
+        family(k)=cellstr(IDFam(indstr(2):length(IDFam)));
+
+        TagFind=[button1 button2 char(family(k)) button3];
+        TagFindRad=['radioQ_' type0 '_' char(family(k))];
+
+        chkb=findobj('Style',style,'-and','-regexp','Tag',TagFind);
+        radQ=findobj('Style','radiobutton','-and','-regexp','Tag',TagFindRad);
+        set(radQ,'Value',0);
+        for j=1:length(chkb)
+            set(chkb(j),'Value',val);
+        end
+        k=k+1;
+    end
+
+end
+end
+% elseif strcmpi(arg1,'familyNone') %en fct des radiobuton All Qi cochï¿œs, cocher les checkbox des familles Qi
+%     f=findobj('Name','Ola');
+%
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%     % Exclusion entre radioQ_Qi=1 et radio_None=1
+%     hAll=findobj('Style','radiobutton','-and','Tag','radio_ALL');
+%     set(hAll,'Value',0);
+%     hNoneFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_None')
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%nteger (element number) in the RING
+%     hNoneFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_None');
+%     hAllFam =findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_All');
+%     %hAllFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_All');
+%     length(hAllFam);
+%     k=1;
+%     for i=1:length(hNoneFam)
+%         list(i)=get(hNoneFam(i),'Value');
+%         lista(i)=cellstr(get(hNoneFam(i),'Tag'));
+%         IDFam=char(lista(i));
+%         if list(i)==1
+%             indstr=findstr(IDFam,'Q');
+%             family(k)=cellstr(IDFam(indstr(2):length(IDFam)));
+%             TagFind=['ckbox_' char(family(k)) '_'];
+%             TagFindRad=['radioQ_All_' char(family(k))];
+%
+%             chkb=findobj('Style','checkbox','-and','-regexp','Tag',TagFind);
+%             radQ=findobj('Style','radiobutton','-and','-regexp','Tag',TagFindRad);
+%             %radAll=findobj('Style','radiobutton','-and','-regexp','Tag','radio_ALL');
+%             %set(radAll,'Value',0);
+%             set(radQ,'Value',0)
+%             for j=1:length(chkb)
+%                 set(chkb(j),'Value',0);
+%             end
+%
+%             %cellule(k)=str2num(IDQuad(indstr(2)+1:indstr(3)-1));
+%             %element(k)=str2num(IDQuad(indstr(3)+1:length(IDQuad)));
+%             k=k+1;
+%         end
+%
+%     end
+
+function RepRes = find_directory
+%% MÃ©morisation du rÃ©pertoire de travail
+Rep    = getfamilydata('Directory','BBA');
+
+Announcement = strcat('  ***        BBA  Registration Directory                             ***');
+disp('  ****************************************************************************');
+disp(Announcement);
+disp('  **                                                                        **');
+disp('  ****************************************************************************');
+disp(' ')
+disp('  ****************************************************************************');
+disp('  **                             WARNING                                    **');
+disp('  **    New directory has to be defined after an offset application         **');
+disp('  **                                                                        **');
+disp('  ****************************************************************************');
+
+button = questdlg('Is the BBA Registration Directory already existing ?','BBA Registration Directory','yes','no','yes') ;
+if isequal(button,'yes')                            % la directory existe dÃ©jÃ 
+    RepRes = uigetdir(Rep);                         % choix de la directory
+else
+    tmp2 = questdlg('Create directory ?','BBA','Yes','No','Yes');
+    if strcmpi(tmp2,'Yes')                          % create a new directory
+        prompt = {'Enter new directory name:'};
+        dlg_title = 'Input for Directory Name';
+        num_lines = 1;
+        def = {'2007-mois-jour'};
+        answer = inputdlg(prompt,dlg_title,num_lines,def);
+        RepRes = answer{1};
+        cd(Rep)                                    % on se place dans la directory amont /BBA
+        mkdir(RepRes)
+        RepRes = [Rep RepRes]                      % Nom complet de la directory
+    else                                           % alors on ne sait pas ce qu'on veut ??
+        disp('**  BBA cancelled  **')
+        return
+    end
+end
+disp('  ** BBA starting **')
+
+end
Index: /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last_sauvegarde_8sept07.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last_sauvegarde_8sept07.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last_sauvegarde_8sept07.m	(revision 17)
@@ -0,0 +1,1488 @@
+function BBAgui_last(arg1,arg2)
+
+%% PARAMETRES DES PANELS:Dimensions
+fontsize=12;
+hradio=12;
+lradio=50;
+espV=10;
+espH=10;
+OffNone=20;
+
+%Panels "Qi" (pour servir des paramÃštres)
+lpanel=10*(lradio+espH/4)+OffNone+espH;
+mult=1;
+hpanel=mult*hradio+(mult+1)*espV+fontsize;
+hpospan=hpanel+espV;
+
+%Panel "ALL QP"
+lpanQP=2*(lradio+espH);
+hpanQP=2*hradio+2*espV+fontsize;
+
+%Panel "Plane"
+lpanPlane=2*(lradio+espH);
+hpanPlane= hpanQP;
+% checkbox: "Horizontal"
+lHrz=lradio+20;
+hHrz=hradio;
+
+% checkbox: "Vertical"
+lVert=lradio+10;
+hVert=hradio;
+
+%Panel "Method"
+lpanMeth=2.5*(lradio+espH);
+hpanMeth= hpanQP;
+
+% checkbox: "M.E.C."
+lMec=lradio+20 ;
+hMec=hradio;
+
+% checkbox: "BMP4CM"
+lBmp4cm=lradio+30;
+hBmp4cm=hradio;
+
+%Figure
+largeurFig=1.8*(10*(lradio+espH)+4*espH);%10*80+2*20;
+hauteurFig=20*hradio+32*espV+10*fontsize+10*espV+hpanQP+espV+fontsize;
+
+%Plot
+lPlot=largeurFig-lpanel-200;
+hPlot=0.4*hauteurFig;
+
+%pour les sextu
+larSp=largeurFig-lpanel-30;
+HautSp=2*hpanel+espV;
+
+
+% Zone de texte: Qp en cours de mesure
+lQpMes1= 6.5*lradio;
+hQpMes1=2*hradio;
+
+
+% Zone de texte BPM: utilisÃ©
+lBpm=2*lradio+20;
+hBpm=2*hradio;
+
+% Zone de texte BPM: utilisÃ©
+lcor=2*lradio+20;
+hcor=2*hradio;
+
+% Zone de texte: Qp mesurÃ© prÃ©cedemment
+lQpMes0= lBpm;
+hQpMes0= hBpm;
+
+% Zone de texte heure de la mesure prÃ©cÃ©dente
+lClock=5*lradio;%+2*espH;
+hClock=hBpm;
+
+
+%Zone de texte:valeur offset BPM
+loff= 5*lradio;
+hoff=2*hradio;
+
+
+%Zone de texte:RMS Fit
+lrms= 11*lradio;
+hrms=2*hradio;
+
+%Zone de texte:Name File
+lfich=11*lradio;
+hfich=2*hradio;
+
+% Pushbutton pour lancer le BBA
+lBBA=3*lradio;
+hBBA=3*hradio;
+
+lmanu=1.2*lradio;
+hmanu=2*espV;
+
+lnbCor=lradio;
+hnbCor=2*espV;
+
+lStCor=lradio;
+hStCor=2*espV;
+
+lOffCor=lradio;
+hOffCor=2*espV;
+
+lDelais=lradio;
+hDelais=2*espV;
+
+lStQp=lradio;
+hStQp=2*espV;
+
+lWhCor=lradio;
+hWhCor=2*espV;
+
+%% PARAMETRES DES PANELS: Positions
+
+hposrad=(hpanPlane-fontsize-hradio)/2;
+
+%Panel "ALL QP"
+HposQp=10;
+VposQp=hauteurFig-hpanQP-10;
+
+%Panel "Plane"
+HposPlane=lpanQP+(lpanel-lpanQP-lpanMeth)/2-lpanPlane/2;
+VposPlane=hauteurFig-hpanPlane-10;
+
+% checkbox: "Horizontal"
+HHrz= 5;
+VHrz=hposrad;
+
+
+% checkbox: "Vertical"
+HVert=5+1*(lradio+espH)+10;
+VVert=hposrad;
+
+
+%Panel "Method"
+%HposMeth=HposPlane+espH+lpanPlane;
+HposMeth=10+lpanel-lpanMeth;%HposQp+10*(lradio+espH)+OffNone-lpanMeth;
+VposMeth=hauteurFig-hpanMeth-10;
+
+% checkbox: "M.E.C."
+HMec=5;
+VMec=hposrad;
+
+
+% checkbox: "BMP4CM"
+HBmp4cm=5+1.5*(lradio+espH)-20;
+VBmp4cm=hposrad;
+
+
+
+
+
+%pour les sextu
+HposSp=lpanel+20;
+VposSp=VposMeth-2*espV-hpanel-hpospan;%hauteurFig-4*(hpanel+espV)
+
+
+%Plot
+HposPlot=lpanel+(largeurFig-lpanel)/2-lPlot/2+espH;
+VposPlot=hauteurFig/2-125;
+
+% Zone de texte Qp en cours de mesure
+HQpMes1=lpanel+(largeurFig-lpanel)/2-lQpMes1/2;%+2*espH;
+VQpMes1=hauteurFig-5*espV;
+
+% Zone de texte BPM: utilisÃ©
+HBpm=lpanel+(largeurFig-lpanel)/2+espH+lcor/2;
+VBpm=13*hposrad;
+
+% Zone de texte COR: utilisÃ©
+Hcor=lpanel+(largeurFig-lpanel)/2-lcor/2;
+Vcor=13*hposrad;
+
+% Zone de texte Qp mesurÃ© prÃ©cedemment
+HQpMes0=lpanel+(largeurFig-lpanel)/2-lQpMes0-espH-lcor/2;%+2*espH;
+VQpMes0=VBpm;
+
+% Zone de texte heure de la mesure prÃ©cÃ©dente
+HClock=lpanel+(largeurFig-lpanel)/2-lClock/2;%+lcor/2+lBpm+2*espH;%+2*espH;
+VClock=VBpm+hClock+espV;
+
+%Zone de texte:valeur offset BPM
+Hoff=lpanel+(largeurFig-lpanel)/2-loff/2;
+Voff=10*hposrad;
+
+%Zone de texte:RMS Fit
+Hrms=lpanel+(largeurFig-lpanel)/2-lrms/2;
+Vrms=hauteurFig-6*espV-hQpMes1;
+
+%Zone de texte:Name File
+Hfich=lpanel+(largeurFig-lpanel)/2-lfich/2;
+Vfich=hauteurFig-7*espV-2*hrms;
+
+% Pushbutton pour lancer le BBA
+HBBA=lpanel+(largeurFig-lpanel)/2-lBBA/2;
+VBBA=50;
+
+
+Hmanu=largeurFig-1.1*lradio-espV;
+Vmanu=150;
+
+HnbCor=largeurFig-lradio-espV;
+VnbCor=125;
+
+
+HStCor=largeurFig-lradio-espV;
+VStCor=100;
+
+HOffCor=largeurFig-lradio-espV;
+VOffCor=75;
+
+HDelais=largeurFig-lradio-espV;
+VDelais=50;
+
+HStQp=largeurFig-lradio-espV;
+VStQp=25;
+
+HWhCor1=largeurFig-3*(lradio-espV)-espV;
+VWhCor1=25;
+
+HWhCor2=largeurFig-4*(lradio-espV)-2*espV;
+VWhCor2=25;
+%%5+2*(lradio+espH)+10
+
+
+%%5+2*(lradio+espH)+10
+
+
+if nargin<1 %CrÃ©er l'IHM
+
+    delete(findobj(allchild(0),'Tag','Ola')); % detruit interface si existe deja
+    for i=1:10
+        QuadFamilyList(i)=cellstr(strcat('Q',num2str(i)));
+    end
+
+    % ParamÃštres des Ã©lÃ©ments de l'IHM
+
+    %% FIGURE
+    figCol=[0.93,0.75,0.51];
+    f = figure( 'Visible','on',...
+        'Units','pixels',...
+        'Position',[100,100,largeurFig,hauteurFig],...
+        'HandleVisibility','on',...
+        'Name','B.B.A. -> Offsets Hunting',...
+        'Tag','Ola',...
+        'Color',[0.93,0.75,0.51]);
+    %%
+    %% AXE = Plots
+    Hb=axes('Parent',f);
+    set(Hb,'Units','pixels');
+    set(Hb,'Tag','merit_Plot');
+
+    get(Hb,'Tag');
+    %         alors=get(Hb,'Position')
+    set(Hb,'Position',[HposPlot VposPlot lPlot hPlot]);
+
+    ze=[0 0];ord2=[0 0];ord1=[0 0];
+    CorCons=[0 0];BpmRes=[0 0];merit(:,1)=[0 0];merit(:,2)=[0 0];
+    center=0; y1=[-1 1];x1=[-1 1];offs=0;y2=[-2 2];
+    hold on
+    [Bx1,Hb1,Hb2]=plotyy(Hb,ze,ord2,ze,ord1,'plot');
+    set(Bx1(1),'Tag','axe_calc_bpm');
+    set(Bx1(2),'Tag','axe_calc_merit');
+    set(Hb1,'Tag','calc_bpm');
+    set(Hb2,'Tag','calc_merit');
+
+    set(Hb1,'Color','black','LineStyle','-.');%,'LineStyle','--')
+    set(Hb2,'Color','black','LineStyle','-.');
+    %set(Bx1(1),'YLim',y1);
+    %set(Bx1(2),'YLim',y2);
+    axis(Bx1(1),'off');
+    axis(Bx1(2),'off');
+
+    [Ax1,Ha1,Ha2]=plotyy(Hb,CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');
+    set(Ax1(1),'Tag','axe_mes_bpm');
+    set(Ax1(2),'Tag','axe_mes_merit');
+    set(Ha1,'Tag','mes_bpm');
+    set(Ha2,'Tag','mes_merit');
+
+    set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+    set(Ha2,'Marker','x','Color','red');
+
+    %x1=get(Ax1(1),'XLim');
+    %set(Ax1,'Visible','off');
+    %set(Ax1(1),'YLim',y1);
+    %set(Ax1(2),'YLim',y2);
+    axis(Ax1(1),'on')
+    axis(Ax1(2),'on');
+    %set(Ax1(1),'YLim',y1,'YColor','blue');
+    %set(Ax1(2),'YLim',y2,'YColor','red');
+    set(Ax1(1),'YColor','blue');
+    set(Ax1(2),'YColor','red');
+
+    set(get(Ax1(1),'XLabel'),'String','COR Value (amps)');
+    set(get(Ax1(1),'YLabel'),'String','(mm)');
+    set(get(Ax1(2),'YLabel'),'String','(mm^2)');
+
+    pl1=plot(Hb,[center center],[-1 0],'k','LineStyle','-.');
+    pl2=plot(Hb,[-1 center],[offs offs],'k','LineStyle','-.');
+    pl3=plot(Hb,center,offs,'ko');
+    set(pl1,'Tag','loc_off1');
+    set(pl2,'Tag','loc_off2');
+    set(pl3,'Tag','loc_off3');
+    drawnow
+    hold off
+
+    %         [Ax1,Ha1,Ha2]=plotyy(Hb,[1 3 9],[4 5 8],[4 7 12],[1 2 3])
+    %         set(Ha1,'Marker','x','Color','blue');
+    %         set(Ha2,'Marker','x','Color','red');
+    %         hold on
+    %         axis(Ax1,'off')
+    %         [Bx1,Hb1,Hb2]=plotyy(Hb,[12 20 45],[4 10 -6],[0 2 41],[1 -20 3])
+    %         axis(Bx1,'on')
+    %         hold off
+
+
+    %     f2=uipanel( 'Parent',f,'BackgroundColor',[0.93,0.75,0.51],...
+    %                 'Visible','on',...
+    %                 'Units','pixels',...
+    %                 'Position',[0,0,lpanel+20,hauteurFig],...
+    %                 'HandleVisibility','on',...
+    %                 'Visible','on');
+
+
+    %%
+    Hdecale=lradio+espH;
+    % radio bouton manuel ou auto
+    radManu=uicontrol('Parent',f,...
+        'BackgroundColor',[1,0,0],...
+        'Style','radiobutton',...
+        'String', 'Manual',...
+        'Units','pixels',...
+        'Callback',     'BBAgui_last(''manu'')',...
+        'Tag',   'radio_manu',...
+        'Value',0,...
+        'Position',[Hmanu Vmanu lmanu hmanu]);
+
+    edNbCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '13',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_nbCor',...
+        'Value',0,...
+        'Position',[HnbCor VnbCor lnbCor hnbCor]);
+
+    edStepCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '0.1',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_StCor',...
+        'Value',0,...
+        'Position',[HStCor VStCor lStCor hStCor]);
+
+    edOffCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '0',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_OffCor',...
+        'Value',0,...
+        'Position',[HOffCor VOffCor lOffCor hOffCor]);
+
+    edDelais=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '3',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_Delais',...
+        'Value',0,...
+        'Position',[HDelais VDelais lDelais hDelais]);
+
+    edStQp=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '1.75',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_StQp',...
+        'Value',0,...
+        'Position',[HStQp VStQp lStQp hStQp]);
+
+    edWhCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '1',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_WhCor',...
+        'Value',0,...
+        'Position',[HWhCor2 VWhCor2 lStQp hStQp]);
+
+    %%
+    textNbCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'nb Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_nbCor',...
+        'Value',0,...
+        'Position',[HnbCor-Hdecale VnbCor lnbCor hnbCor]);
+
+    textStepCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Step Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_StCor',...
+        'Value',0,...
+        'Position',[HStCor-Hdecale VStCor lStCor hStCor]);
+
+    textOffCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Offs Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_OffCor',...
+        'Value',0,...
+        'Position',[HOffCor-Hdecale VOffCor lOffCor hOffCor]);
+
+    textDelais=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Delai',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_Delais',...
+        'Value',0,...
+        'Position',[HDelais-Hdecale VDelais lDelais hDelais]);
+
+    textStQp=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Step Qp',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_StQp',...
+        'Value',0,...
+        'Position',[HStQp-Hdecale VStQp lStQp hStQp]);
+
+    textWhCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Choix Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_WhCor',...
+        'Value',0,...
+        'Position',[HWhCor2-Hdecale-espV VWhCor2 1.2*lWhCor hWhCor]);
+
+
+    %%   % PANEL pour sÃ©lectionner ou dÃ©sÃ©lectionner tous les Qp
+    QpCol=[0.63,0.8,0.35];
+
+    AllQP=uipanel('Parent',f,...
+        'BackgroundColor',QpCol,...%[0,0.9,0.9]
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','ALL QP',...
+        'FontSize',12,...
+        'Units','pixels',...
+        'Position',[HposQp VposQp lpanQP hpanQP],...
+        'Visible','on');
+
+
+    hposrad=(hpanQP-fontsize-hradio)/2;
+
+    % radio button 'ALL'
+    radAll=uicontrol('Parent',AllQP,...
+        'BackgroundColor',QpCol,...
+        'Style','radiobutton',...
+        'String', 'ALL',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''typeAll'')',...
+        'Tag',   'radio_All',...
+        'Value',0,...
+        'Position',[5 hposrad lradio hradio]);
+
+    % radio button 'None'
+    radNone=uicontrol('Parent',AllQP,...
+        'BackgroundColor',QpCol,...
+        'Style','radiobutton',...
+        'String', 'None',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''typeNone'')',...
+        'Tag',   'radio_None',...
+        'Value',0,...
+        'Position',[5+lradio+espH/4 hposrad lradio hradio]);
+
+
+
+    %%  % PANEL pour sÃ©lectionner le plan de BBA
+    PlCol=[1,0.8,0];
+    panPlane=uipanel('Parent',f,...
+        'BackgroundColor',PlCol,...
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','Plane',...
+        'Units','pixels',...
+        'Position',[HposPlane VposPlane lpanPlane+20 hpanPlane],...
+        'Visible','on');
+
+    hposrad=(hpanPlane-fontsize-hradio)/2;
+    %             radAll=uicontrol('Parent',panPlane,...%[0.2,1,0]
+    %                     'BackgroundColor',PlCol,...
+    %                     'Style','radiobutton',...
+    %                     'String', 'Both',...
+    %                     'Units','pixels',...
+    %                     'Callback',      '',...
+    %                     'Tag',   'radioP_All_Plane',...
+    %                     'Value',0,...
+    %                     'Position',[5 hposrad lradio hradio]);
+
+    ckb_Hrz=uicontrol('Parent',panPlane,...
+        'BackgroundColor',PlCol,...
+        'Style','checkbox',...
+        'String', 'Horizontal',...
+        'Units','pixels',...
+        'Callback','BBAgui_last(''check'')',...
+        'Tag',  'ckboxP_Hrz',...
+        'Value',0,...
+        'Position',[HHrz VHrz lHrz hHrz]);
+
+    ckb_Vert=uicontrol('Parent',panPlane,...
+        'BackgroundColor',PlCol,...
+        'Style','checkbox',...
+        'String', 'Vertical',...
+        'Units','pixels',...
+        'Callback', 'BBAgui_last(''check'')',...
+        'Tag',  'ckboxP_Vert',...
+        'Value',0,...
+        'Position',[HVert VVert lVert hVert]);
+
+    %% % PANEL pour sÃ©lectionner la mÃ©thode de BBA
+
+    MetCol=[0.8,0.5,0.5];
+    panMeth=uipanel('Parent',f,...
+        'BackgroundColor',MetCol,...%[1,0.8,0]
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','Method',...
+        'FontSize',12,...
+        'Units','pixels',...
+        'Position',[HposMeth-10 VposMeth lpanMeth+10 hpanMeth],...
+        'Visible','on');
+
+
+    %            radAll_Meth=uicontrol('Parent',panMeth,...
+    %                     'BackgroundColor',MetCol,...
+    %                     'Style','radiobutton',...
+    %                     'String', 'Both',...
+    %                     'Units','pixels',...
+    %                     'Callback',      '',...
+    %                     'Tag',   'radioM_All_Meth',...
+    %                     'Value',0,...
+    %                     'Position',[5 hposrad lradio hradio]);
+
+    ckb_mec=uicontrol('Parent',panMeth,...
+        'BackgroundColor',MetCol,...
+        'Style','checkbox',...
+        'String', 'M.E.C.',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'ckboxM_MEC',...
+        'Value',0,...
+        'Position',[HMec VMec lMec hMec]);
+
+    ckb_bmp=uicontrol('Parent',panMeth,...
+        'BackgroundColor',MetCol,...
+        'Style','checkbox',...
+        'String', 'Bump 4 CM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',  'ckboxM_BMP4CM',...
+        'Value',0,...
+        'Position',[HBmp4cm VBmp4cm lBmp4cm hBmp4cm]);
+
+
+
+    %% Panel pour les sextupoles
+    %    SpCol=[0.63,0.8,0.35];
+    %    panSp=uipanel('Parent',f,...
+    %        'BackgroundColor',SpCol,...%[1,0.8,0]
+    %        'FontUnits','pixels',...
+    %        'FontWeight','bold',...
+    %        'FontSize',fontsize,...
+    %        'Title','Sextu',...
+    %        'FontSize',12,...
+    %        'Units','pixels',...
+    %        'Position',[HposSp VposSp larSp HautSp],...
+    %        'Visible','on');
+
+
+    %% Bouton pour lancer le BBA
+    ActCol=[0.93,0.8,0.2];
+
+    PushAction=uicontrol('Parent',f,...
+        'BackgroundColor',ActCol,...
+        'Style','pushbutton',...
+        'String', 'ACTION',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''action'')',...
+        'Tag',   'push_Act',...
+        'Value',0,...
+        'Position',[HBBA VBBA lBBA hBBA]);
+    %% Zone de texte pour afficher le quadrupole en cours de mesure
+
+    TxtQp1=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String','Qp [cell elt]',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_work1',...
+        'Position',[HQpMes1 VQpMes1 lQpMes1 hQpMes1]);
+
+
+
+    %% Zone de texte pour afficher le quadrupole mesurÃ© prÃ©cedemment
+
+    TxtQp0=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String','Qp [cell elt]',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_work0',...
+        'Position',[HQpMes0 VQpMes0 lQpMes0 hQpMes0]);
+
+    %% Zone de texte pour afficher le BPM utilisÃ©
+
+    TxtBpm=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'BPM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_BPM',...
+        'Position',[HBpm VBpm lBpm hBpm]);
+
+    %% Zone de texte pour afficher le COR utilisÃ©
+
+    TxtBpm=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'COR',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_COR',...
+        'Position',[Hcor Vcor lcor hcor]);
+
+    %% Zone de texte pour afficher l'heure de la mesure prÃ©cÃ©dente
+
+    TxtClock=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'Clock',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_Clock',...
+        'Position',[HClock VClock lClock hClock]);
+
+    %% Zone de texte pour afficher la valeur de l'offset BPM
+
+    TxtOf=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'FontWeight','bold',...
+        'String', 'Offset BPM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_offset',...
+        'Position',[Hoff Voff loff hoff]);
+
+    %% Zone de texte pour la qualitÃ© du FIT
+
+    TxtFit=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',14,...
+        'FontWeight','bold',...
+        'String', 'RMS Fit',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_RMS',...
+        'Position',[Hrms Vrms lrms hrms]);
+
+    %% Zone de texte pour le nom du fichier
+    TxtFile=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',12,...
+        'FontWeight','bold',...
+        'String', 'Name File',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_File',...
+        'Position',[Hfich Vfich lfich hfich]);
+
+    %% Boucle pour crÃ©er les 160 checkbox, les 10 panels et les radiobutton associÃ©s
+    incr=0;
+    multpos=0;
+    hpospan=0;
+    for i=1:10%10
+        QuadDevList=getlist(char(QuadFamilyList(i)));
+        long=length(QuadDevList);
+        TitleOffset=0;
+
+        if long == 8
+            mult=1;
+        elseif long == 16
+            mult=2;
+        elseif long==24
+            mult=3;
+        end
+
+        multpos=multpos+mult;
+
+        hpanel=mult*hradio+(mult+1)*espV+fontsize;
+        %lpanel=10*(lradio+espH)+OffNone;
+        hpospan=hpospan+hpanel+espV;
+        % 10 Panel 'Qi'
+        hp(i) = uipanel('Parent',f,...
+            'BackgroundColor',QpCol,...
+            'FontUnits','pixels',...
+            'FontWeight','bold',...
+            'FontSize',fontsize,...
+            'Title',char(QuadFamilyList(i)),...
+            'FontSize',12,...
+            'Units','pixels',...
+            'Position',[10 hauteurFig-hpanQP-espV-hpospan-10 lpanel hpanel],...
+            'Visible','on');
+
+        NameQuadFamAll=['All ' char(QuadFamilyList(i))];
+        NameRadioAll=['radioQ_All_' char(QuadFamilyList(i))];
+
+        NameQuadFamNone=['None ' char(QuadFamilyList(i))];
+        NameRadioNone=['radioQ_None_' char(QuadFamilyList(i))];
+
+        hposrad=(hpanel-fontsize-hradio)/2;
+
+        % 10 radio button pour sÃ©lectionner les Qp par familles
+        radAll(i)=uicontrol('Parent',hp(i),...
+            'BackgroundColor',QpCol,...
+            'Style','radiobutton',...
+            'String', NameQuadFamAll,...
+            'Units','pixels',...
+            'Callback',      'BBAgui_last(''familyAll'')',...
+            'Tag',   NameRadioAll,...
+            'Value',0,...
+            'Position',[5 hposrad lradio+5 hradio]);
+
+        % 10 radio button pour dÃ©sÃ©lectionner par familles
+        radNone(i)=uicontrol('Parent',hp(i),...
+            'BackgroundColor',QpCol,...
+            'Style','radiobutton',...
+            'String', NameQuadFamNone,...
+            'Units','pixels',...
+            'Callback',      'BBAgui_last(''familyNone'')',...
+            'Tag',   NameRadioNone,...
+            'Value',0,...
+            'Position',[5+lradio+espH/4 hposrad lradio+OffNone hradio]);
+
+        %% Boucle des checkbox
+        for j=1:length(QuadDevList)
+            QuadFamTot(j+incr)=QuadFamilyList(i);
+            QuadDevTot(j+incr,:)=QuadDevList(j,:);
+            ValueList(j+incr)=0;
+
+
+            NameQuadDev=char(['[' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2)) ']']);
+            NameControl=['ckbox_' char(QuadFamilyList(i)) '_' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2))];
+            if j>0 & j<=8
+                valjH=j;
+                valjV=1;
+            elseif j>8 & j<=16
+                valjH=j-8;
+                valjV=2;
+            elseif j>16 & j<=24
+                valjH=j-16;
+                valjV=3;
+            end
+            % N=8,16 or 24 pour sÃ©lectionner les Qp individuellement
+            cont(i,j)=uicontrol('Parent',hp(i),...
+                'BackgroundColor',QpCol,...
+                'Style','checkbox',...
+                'String', NameQuadDev,...
+                'Units','pixels',...
+                'Callback',   'BBAgui_last(''check'')'   ,...%'BBAgui_last(''Ncheck'')'
+                'Tag',   NameControl,...
+                'Value',ValueList(j+incr),...
+                'Position',[(valjH+1)*(lradio+espH/4)+OffNone hpanel-(valjV)*(hradio+espV)-espV lradio hradio]);
+            %'Position',[0 0-0.3*(j-1) 0.1 .1]);
+        end
+        %%
+        incr=incr+length(QuadDevList);
+
+    end
+
+    delete('guy*.mat')
+    save('guytrydata1.mat','QuadFamTot','QuadDevTot')
+    set(f,'Visible','on');
+
+    RepRes = find_directory;
+    setappdata(findobj(allchild(0),'Tag','Ola'),'RepRes',RepRes);
+
+    
+    %% Conditions sur les checkbox "[i j]"
+
+elseif strcmpi(arg1,'manu')  % bouton manuel/auto
+
+    autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+    etat=get(autom,'Value');
+    if etat==1
+        set(autom,'Backgroundcolor',[0,1,0]);
+    elseif etat==0
+        set(autom,'Backgroundcolor',[1,0,0]);
+    end
+    %%
+elseif strcmpi(arg1,'action')  % ressortir les checkbox cochees
+    %delete('guytrydata2.mat')
+    clear list h lista;
+    % disp('ok!!')
+    f=findobj('Tag','Ola');
+    set(f,'Visible','on');
+    h=findobj('Style','checkbox','-and','-regexp','Tag','Q');
+
+    length(h);
+    k=1;
+    for i=1:length(h)
+        list(i)=get(h(i),'Value');
+        lista(i)=cellstr(get(h(i),'Tag'));
+        IDQuad=char(lista(i));
+        
+        % Ajout Laurent       
+        if strcmpi(IDQuad, 'checkbox_AllQuad') || strcmpi(IDQuad, 'checkbox_Q10') || ...
+                strcmpi(IDQuad, 'checkbox_Q9') || strcmpi(IDQuad, 'checkbox_Q8') || ...
+                strcmpi(IDQuad, 'checkbox_Q7') || strcmpi(IDQuad, 'checkbox_Q6') || ...
+                strcmpi(IDQuad, 'checkbox_Q5') || strcmpi(IDQuad, 'checkbox_Q4') || ...
+                strcmpi(IDQuad, 'checkbox_Q3') || strcmpi(IDQuad, 'checkbox_Q2') || ...
+                strcmpi(IDQuad, 'checkbox_Q1') 
+            list(i)=0;
+        end
+        % Fin ajout Laurent.
+        
+        if list(i)==1
+            indstr=findstr(IDQuad,'_');
+            family(k)=cellstr(IDQuad(indstr(1)+1:indstr(2)-1));
+            cellule(k)=str2num(IDQuad(indstr(2)+1:indstr(3)-1));
+            element(k)=str2num(IDQuad(indstr(3)+1:length(IDQuad)));
+            QpDevList(k,1)=cellule(k);
+            QpDevList(k,2)=element(k);
+            k=k+1;
+        end
+
+    end
+    sum(list);
+    list;
+    lista;
+    length(list);
+    %connaitre la mÃ©thode utilisÃ©e
+    clear list1 h1 lista1 MetList;
+    f1=findobj('Tag','Ola');
+    h1=findobj('Style','checkbox','-and','-regexp','Tag','ckboxM');
+    MetList=cellstr('bad');
+    varMet=0;
+    for u=1:length(h1)
+        list1(u)=get(h1(u),'Value');
+        lista1(u)=cellstr(get(h1(u),'Tag'));
+        IDMeth=char(lista1(u));
+        if list1(u)==1
+            varMet=varMet+1;
+            indstr=findstr(IDMeth,'_');
+            MetList(varMet)=cellstr(IDMeth(indstr+1:length(IDMeth)));
+        end
+    end
+    if  strcmpi(char(MetList(1)),'bad');
+        MetList(1,:)=cellstr('MEC');
+        hp=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxM_MEC');
+        set(hp,'Value',1);
+    end
+
+    %connaitre les plans utilisÃ©s
+    clear list2 h2 lista2 PlaneList0;
+    f=findobj('Tag','Ola');
+    h2=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxP');
+    PlaneList0=-1;
+    varPl=0;
+    for v=1:length(h2)
+        list2(v)=get(h2(v),'Value');
+        lista2(v)=cellstr(get(h2(v),'Tag'));
+        IDPlane=char(lista2(v));
+        if list2(v)==1
+            varPl=varPl+1;
+            indstr=findstr(IDPlane,'_');
+            PlaneList(varPl)=IDPlane(indstr+1);
+            if     PlaneList(varPl)=='H'
+                PlaneList0(varPl)=1;
+            elseif PlaneList(varPl)=='V'
+                PlaneList0(varPl)=2;
+            end
+        end
+    end
+    %if length(PlaneList0)>1
+    %    PlaneList0=0;
+    if  PlaneList0(1)<0
+        PlaneList0=1;
+        hp=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxP_H');
+        set(hp,'Value',1);
+    end
+
+ 
+    %%
+    % Lancement du programme BBA
+    %Hb=findobj('Tag','merit_Plot');
+    %chHb=get(gca,'Children')
+
+
+    %while ~isempty(chHb)
+    %chHb=get(Hb,'Children')
+
+
+    %pause(1)
+    %cla(chHb(1))
+    %cla(chHb(2))
+    % cla(chHb(3))
+    % cla(chHb(4))
+    % cla(chHb(5))
+
+
+    %end
+    %cla(Bx1(2))
+    %cla(Ax1(1))
+    %cla(Ax1(2))
+
+    G1=findobj('Tag','Ola');
+    child_handles = get(G1,'Children');
+    %get(child_handles,'Type');
+    G1=findobj('Tag','merit_Plot');
+    set(G1,'NextPlot','replace');
+    hold off
+    pause(5)
+    format long
+    PlaneList0;
+    MetList;
+    family;
+    cellule;
+    element;
+    QpDevList;
+    longElem=size(element);
+    indice=10; %indice permet de numeroter les figures
+    for w=1:length(family)
+        %indice=indice+1;
+        for loop=1:length(PlaneList0)
+            if PlaneList0(loop)==1
+                TextBpm='BPMx';
+                TextDel=char('Delta_X=');
+                TextCor='HCOR';
+            elseif PlaneList0(loop)==2
+                TextDel=char('Delta_Z=');
+                TextBpm='BPMz';
+                TextCor='VCOR';
+            end
+
+
+            pause(1);
+            danow= datestr(now);
+            %clear Ax1 Bx1 Ha1 Ha2 Hb1 Hb2
+
+            % Ã©criture dans les zones de texte
+            f=findobj('Style','text','-and','-regexp','Tag','edit_work1');
+            TextQp1=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']  @  ' danow]);
+            set(f,'String',TextQp1);
+
+            %recherche de paramÃštres
+            %Automatisation
+            autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+            etat=get(autom,'Value');
+            if etat==1
+                maxloop=1;
+            elseif etat==0
+                maxloop=2;
+                nbDeltaCor=3;
+                OffCor=0;
+                StepCor=1.2;
+                Delais=2.5; % modification si nÃ©cessaire
+                StepQp=2.5;
+            end
+
+
+
+            for t=1:maxloop
+                autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+                etat=get(autom,'Value');
+                if etat==1
+                    set(autom,'Backgroundcolor',[0,1,0]);
+                    ed1=findobj('Style','edit','-and','-regexp','Tag','edit_nbCor');
+                    nbDeltaCor=str2num(get(ed1,'String'));
+
+                    ed2=findobj('Style','edit','-and','-regexp','Tag','edit_StCor');
+                    StepCor=str2num(get(ed2,'String'));
+
+                    ed3=findobj('Style','edit','-and','-regexp','Tag','edit_OffCor');
+                    OffCor=str2num(get(ed3,'String'));
+
+                    ed4=findobj('Style','edit','-and','-regexp','Tag','edit_Delais');
+                    Delais=str2num(get(ed4,'String'));
+
+                    ed5=findobj('Style','edit','-and','-regexp','Tag','edit_StQp');
+                    StepQp=str2num(get(ed5,'String'));
+
+                else
+                    set(autom,'Backgroundcolor',[1,0,0])
+                    ed1=findobj('Style','edit','-and','-regexp','Tag','edit_nbCor');
+                    TextnbDeltaCor=num2str(nbDeltaCor);
+                    set(ed1,'String',TextnbDeltaCor);
+
+                    ed2=findobj('Style','edit','-and','-regexp','Tag','edit_StCor');
+                    TextStepCor=num2str(StepCor);
+                    set(ed2,'String',TextStepCor);
+
+                    ed3=findobj('Style','edit','-and','-regexp','Tag','edit_OffCor');
+                    TextOffCor=num2str(OffCor);
+                    set(ed3,'String',TextOffCor);
+
+                    ed4=findobj('Style','edit','-and','-regexp','Tag','edit_Delais');
+                    TextDelais=num2str(Delais);
+                    set(ed4,'String',TextDelais);
+
+                    ed5=findobj('Style','edit','-and','-regexp','Tag','edit_StQp');
+                    TextStepQp=num2str(StepQp);
+                    set(ed5,'String',TextStepQp);
+                end
+                ed6=findobj('Style','edit','-and','-regexp','Tag','edit_WhCor');
+                CorNumber=str2num(get(ed6,'String'));
+
+                %edit_WhCor
+
+                drawnow
+                RepRes = getappdata(findobj(allchild(0),'Tag','Ola'),'RepRes');
+                [merit,CorCons,BpmRes,offs,OffsCor,center,ze,ord1,ord2,BpmDevRes,CorDevRes,iniCor,rmsFit,NameFile,NameFilePNG] = ...
+                    bba_last(RepRes,family(w),QpDevList(w,:), PlaneList0(loop),char(MetList),nbDeltaCor,StepCor,OffCor,Delais,StepQp,CorNumber);
+                %center
+
+                %         G1=findobj('Tag','merit_Plot');
+                %         axes(G1);
+                %         cla
+                %         G1=findobj('Tag','Ola');
+
+                %        load('resu.mat')
+                %        trace_bba.m
+
+                %CorCons=CorCons-iniCor;
+                %CorCons=CorCons-iniCor;
+                %center=center-iniCor;
+
+                droite=polyfit(CorCons,BpmRes,1);
+                %BpmDevRes=[1 5];
+
+                TextCor1=char([TextCor ' [' num2str(CorDevRes(1,1)) '  ' num2str(CorDevRes(1,2)) ']']);
+                f=findobj('Style','text','-and','-regexp','Tag','edit_COR');
+                %TextOff2=char(['RMS Fit:  ' Textrms ' mm^2']);
+                set(f,'String',TextCor1);
+
+                Textrms=num2str(round(rmsFit*10000000)/10000000);
+                Delta1=merit(1,2);
+                Delta2=merit(length(merit),2);
+                TextDelta1=num2str(round(Delta1*100000)/100000);
+                TextDelta2=num2str(round(Delta2*100000)/100000);
+                f=findobj('Style','text','-and','-regexp','Tag','edit_RMS');
+                TextOff2=char(['RMS Fit:  ' Textrms ' mm^2 | Min: ' TextDelta1 ' mm^2 | Max: ' TextDelta2 ' mm^2']);
+                set(f,'String',TextOff2);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_File');
+                TextOff3=char([NameFile]);
+                set(f,'String',TextOff3);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_offset');
+                TextOff1=char(['Offset ' TextBpm]);
+                set(f,'String',TextOff1);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_BPM');
+                TextOff2=char([TextBpm ' [' num2str(BpmDevRes(1,1)) '  ' num2str(BpmDevRes(1,2)) ']'] );
+                set(f,'String',TextOff2);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_work0');
+                TextQp0=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']']);%  @  ' danow(13:length(danow))]);
+                set(f,'String',TextQp0);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_Clock');
+                TextClock=char(danow);%  @  ' danow(13:length(danow))]);
+                set(f,'String',TextClock);
+                clear x1 y1 y2
+
+
+                x1=[min(CorCons)-0.1-iniCor max(CorCons)+0.1-iniCor];
+                deltay11=max(BpmRes)-min(BpmRes);
+                y11=[min(BpmRes) max(BpmRes)];
+                y12=[min(ord2) max(ord2)];
+                y1=[min([y11(1) y12(1)])-0.01*deltay11 max([y11(2) y12(2)])+0.01*deltay11];
+
+                deltay21=max(merit(:,2))-min(merit(:,2));
+                y21=[min(merit(:,2)) max(merit(:,2))];
+                y22=[min(ord1) max(ord1)];
+                y2=[min([y21(1) y22(1)])-0.01*deltay21 max([y21(2) y22(2)])+0.01*deltay21];
+                G1=findobj('Tag','Ola');%,'-and','Tag','merit_Plot')
+                drawnow
+                Hb=findobj('Parent',G1,'-and','Tag','merit_Plot');
+                %cla(Hb)
+                %hold(Hb,'off')
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+
+                %pl3=plot(Hb,center,offs,'Marker','o','Color','black');
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+                % hold(Hb,'on')
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+                %Hb=axes('Parent',f)
+                set(Hb,'Units','pixels');
+                %hold on
+                alors=get(Hb,'Position');
+                %set(Hb,'Position',[900 520 550 400]);
+                set(Hb,'Color','w');
+
+                %[Bx1,Hb1,Hb2]=plotyy(Hb,ze,ord2,ze,ord1,'plot');
+                Bx11=findobj('Tag','axe_calc_bpm');
+                set(Bx11,'YLim',y1);
+                set(Bx11,'XLim',x1);
+
+                Bx12=findobj('Tag','axe_calc_merit');
+                set(Bx12,'XLim',x1);
+                set(Bx12,'YLim',y2);
+
+                Hb1=findobj('Tag','calc_bpm');
+                set(Hb1,'XData',ze-iniCor,'YData',ord2);
+                Hb2=findobj('Tag','calc_merit');
+                set(Hb2,'XData',ze-iniCor,'YData',ord1);
+
+
+                drawnow
+                G1=findobj('Tag','Ola');
+
+
+                drawnow
+                %        [Ax1,Ha1,Ha2]=plotyy(Hb,CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');%,'Marker','x','Color','red')
+                %refreshdata(Ax1)
+                Ax11=findobj('Tag','axe_mes_bpm');
+                set(Ax11,'XLim',x1);
+                set(Ax11,'YLim',y1);
+
+
+                Ax12=findobj('Tag','axe_mes_merit');
+                set(Ax12,'XLim',x1);
+                set(Ax12,'YLim',y2);
+
+
+                Ha1=findobj('Tag','mes_bpm');
+                set(Ha1,'XData',CorCons-iniCor,'YData',BpmRes);
+
+                Ha2=findobj('Tag','mes_merit');
+                set(Ha2,'XData',merit(:,1)-iniCor,'YData',merit(:,2));
+
+                drawnow
+
+                ploRes1=findobj('Tag','loc_off1');
+                ploRes2=findobj('Tag','loc_off2');
+                ploRes3=findobj('Tag','loc_off3');
+                set(ploRes1,'XData',[center-iniCor center-iniCor],'YData',[y1(1) offs]);
+                set(ploRes2,'XData',[x1(1) center-iniCor],'YData',[offs offs]);
+                set(ploRes3,'XData',center-iniCor,'YData',offs);
+                disp(merit(:,2))
+                % %         set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+                % %         set(Ha2,'Marker','x','Color','red');
+                % %
+                % %         x1=get(Ax1(1),'XLim');
+                % %         %set(Ax1,'Visible','off');
+                %set(Ax11,'YLim',y1);
+                %set(Ax12,'YLim',y2);
+                %set(Ax11,'XLim',x1);
+                %set(Ax12,'XLim',x1);
+                %        axis(Ax11,'on')
+                %       axis(Ax12,'on');
+                % %         set(Ax1(1),'YLim',y1,'YColor','blue');
+                % %         set(Ax1(2),'YLim',y2,'YColor','red');
+                % %         if w==1
+                % %             set(get(Ax1(1),'XLabel'),'String','COR Value (amps)');
+                % %             set(get(Ax1(1),'YLabel'),'String','(mm)');
+                % %             set(get(Ax1(2),'YLabel'),'String','(mm^2)');
+                % %         end
+
+                %pl1=plot(Hb,[center center],[y1(1) offs],'k',[x1(1) center],[offs offs],'k',center,offs,'ko','LineStyle','-.');
+                %       G1=findobj('Tag','Ola');
+                %   child_handles = get(G1,'Children');
+                %   get(child_handles,'Type');
+                %pl2=plot(Hb,[x1(1) center],[offs offs],'Color','black','LineStyle','-.');
+                %pl3=plot(Hb,center,offs,'Marker','o','Color','black');%,text(center,offs,'\leftarrow ',...
+
+
+                %'HorizontalAlignment','left'))
+                %axis(pl1,'off');
+                %axis(pl2,'off');
+                %axis(pl3,'off');
+
+                %set(pl1 ,'Color','black','LineStyle','-.');
+                %set(pl2 ,'Color','black','LineStyle','-.');
+ sept
+
+
+                %set(pl1,'YLim',y1);
+                %set(pl2,'YLim',y1);
+                %set(pl3,'YLim',y1);
+
+                %xlabel('COR Value (amps)')
+                %ylabel(Bx1(1),'(mm)')
+                %ylabel(Bx1(2),'(merit)')
+                drawnow;
+                % hold off
+                pause(2)
+                Hb=findobj('Tag','merit_Plot');
+
+                drawnow
+                f=findobj('Style','text','-and','-regexp','Tag','edit_offset');
+                offs1=round(100000*offs)/100;
+                TextOff=char([TextDel num2str(offs1) ' Âµm']);
+                set(f,'String',TextOff);
+                %plot(Hb,[4 7 12],[1 2 3])
+                drawnow
+                testmerit=(merit(1,2)+merit(length(merit),2));
+
+                mult=(0.01/testmerit)^(1/4);
+                DeltaCorMax=nbDeltaCor*StepCor*mult;
+                
+                nbDeltaCor=13;  % 
+                
+                StepCor=DeltaCorMax/(nbDeltaCor-1); % 
+                
+                %%modification MAT septembre 07  
+                %% 1Ãšre modif 9 septembre : Diminuer le pas du correcteur
+                %FAC_COR = 3 ; % Diminution par le facteur FAC_COR
+                %StepCor=DeltaCorMax/(nbDeltaCor-1)/ FAC_COR; 
+                
+                %% 2Ãšme modif Ã  la suite : diminuer le nombre de pas
+                %nb_points_en_moins = 3 ; 
+                %nbDeltaCor=13 - nb_points_en_moins;
+                %StepCor=DeltaCorMax/(nbDeltaCor + nb_points_en_moins-1)/FAC_COR;
+                
+                OffCor=OffsCor;
+                StepQp=StepQp*mult;
+
+                TextQp0=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']']);
+                disp(TextQp0)
+
+                TextOff2=char([TextBpm ' [' num2str(BpmDevRes(1,1)) '  ' num2str(BpmDevRes(1,2)) ']'] );
+                disp(TextOff2)
+
+                TextOff=char([TextDel num2str(offs1) ' Âµm']);
+                disp(TextOff)
+
+                TextCor1=char([TextCor ' [' num2str(CorDevRes(1,1)) '  ' num2str(CorDevRes(1,2)) ']']);
+                disp(TextCor1)
+
+            end
+
+
+        end
+        %f=findobj('Tag','Ola');
+        %saveas(f,NameFilePNG,'png')
+    end
+
+    %%
+elseif strcmpi(arg1,'check')
+
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Exclusion entre checkbox=1 et None=1
+    hNone=findobj('Style','radiobutton','-and','-regexp','Tag','None');
+    set(hNone,'Value',0);
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %save('guytrydata2.mat','list','family','cellule','element');
+    %axes(handles.offset);
+    %axes('Position',[600 200 300 100]);
+
+
+    %% Conditions sur les boutons radio "radioQ_Qi"
+elseif strcmpi(arg1,'familyAll') | strcmpi(arg1,'familyNone')
+    disp('c bon')
+    familyType(arg1);
+    BBAgui_last('check');
+
+    %% Conditions sur le bouton radio "radio_ALL"
+elseif strcmpi(arg1,'typeAll') | strcmpi(arg1,'typeNone')
+    disp('c bon')
+    familyType(arg1);
+    whi=['family' arg1(5:length(arg1))];
+    BBAgui_last(whi);
+
+    %elseif strcmpi(arg1,'tex')
+
+end
+%%
+
+end
+
+
+
+
+%% fonction qui permet de gÃ©rer Ã  la fois les radioboutons "radioQ_Qi" et "radio_ALL"
+function familyType(tor)
+%type=tor(7:length(tor))
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+tor;
+strmatch('family',tor);
+cas=~isempty(strmatch('family',tor));
+
+if cas==1 %family
+    prefix='radioQ_';
+    type=tor(7:length(tor));
+    button1='ckbox_';
+    button2='';
+    index=2;
+    button3='_';
+    style='checkbox';
+else%total
+    prefix='radio_';
+    type=tor(5:length(tor));
+    button1='radioQ_';
+    button2=[type '_'];
+    button3='';
+    style='radiobutton';
+    index=1;
+end
+
+if strcmpi(type,'All');
+    type1='All';
+    type0='None';
+    val=1;
+else
+    type1='None';
+    type0='All';
+    val=0;
+    button1='ckbox_';
+    button2='';
+    index=2;
+    button3='_';
+    style='checkbox';
+end
+objTagTot0=['radio_' type0];
+hobjectTot0=findobj('Style','radiobutton','-and','Tag',objTagTot0);
+set(hobjectTot0,'Value',val);
+
+objTagFam1=['radioQ_' type1];
+hobjectFam1=findobj('Style','radiobutton','-and','-regexp','Tag',objTagFam1);
+
+objTagFam0=['radioQ_' type0];
+hobjectFam0=findobj('Style','radiobutton','-and','-regexp','Tag',objTagFam0);
+k=1;
+
+for i=1:length(hobjectFam1)
+    if cas==1
+        list(i)=get(hobjectFam1(i),'Value');
+    else
+        list(i)=1;
+    end
+    lista(i)=cellstr(get(hobjectFam1(i),'Tag'));
+    IDFam=char(lista(i));
+    if list(i)==1
+        indstr=findstr(IDFam,'Q');
+        family(k)=cellstr(IDFam(indstr(2):length(IDFam)));
+
+        TagFind=[button1 button2 char(family(k)) button3];
+        TagFindRad=['radioQ_' type0 '_' char(family(k))];
+
+        chkb=findobj('Style',style,'-and','-regexp','Tag',TagFind);
+        radQ=findobj('Style','radiobutton','-and','-regexp','Tag',TagFindRad);
+        set(radQ,'Value',0);
+        for j=1:length(chkb)
+            set(chkb(j),'Value',val);
+        end
+        k=k+1;
+    end
+
+end
+end
+% elseif strcmpi(arg1,'familyNone') %en fct des radiobuton All Qi cochï¿œs, cocher les checkbox des familles Qi
+%     f=findobj('Name','Ola');
+%
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%     % Exclusion entre radioQ_Qi=1 et radio_None=1
+%     hAll=findobj('Style','radiobutton','-and','Tag','radio_ALL');
+%     set(hAll,'Value',0);
+%     hNoneFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_None')
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%nteger (element number) in the RING
+%     hNoneFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_None');
+%     hAllFam =findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_All');
+%     %hAllFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_All');
+%     length(hAllFam);
+%     k=1;
+%     for i=1:length(hNoneFam)
+%         list(i)=get(hNoneFam(i),'Value');
+%         lista(i)=cellstr(get(hNoneFam(i),'Tag'));
+%         IDFam=char(lista(i));
+%         if list(i)==1
+%             indstr=findstr(IDFam,'Q');
+%             family(k)=cellstr(IDFam(indstr(2):length(IDFam)));
+%             TagFind=['ckbox_' char(family(k)) '_'];
+%             TagFindRad=['radioQ_All_' char(family(k))];
+%
+%             chkb=findobj('Style','checkbox','-and','-regexp','Tag',TagFind);
+%             radQ=findobj('Style','radiobutton','-and','-regexp','Tag',TagFindRad);
+%             %radAll=findobj('Style','radiobutton','-and','-regexp','Tag','radio_ALL');
+%             %set(radAll,'Value',0);
+%             set(radQ,'Value',0)
+%             for j=1:length(chkb)
+%                 set(chkb(j),'Value',0);
+%             end
+%
+%             %cellule(k)=str2num(IDQuad(indstr(2)+1:indstr(3)-1));
+%             %element(k)=str2num(IDQuad(indstr(3)+1:length(IDQuad)));
+%             k=k+1;
+%         end
+%
+%     end
+
+function RepRes = find_directory
+%% MÃ©morisation du rÃ©pertoire de travail
+Rep    = getfamilydata('Directory','BBA');
+
+Announcement = strcat('  ***        BBA  Registration Directory                             ***');
+disp('  ****************************************************************************');
+disp(Announcement);
+disp('  **                                                                        **');
+disp('  ****************************************************************************');
+disp(' ')
+disp('  ****************************************************************************');
+disp('  **                             WARNING                                    **');
+disp('  **    New directory has to be defined after an offset application         **');
+disp('  **                                                                        **');
+disp('  ****************************************************************************');
+
+button = questdlg('Is the BBA Registration Directory already existing ?','BBA Registration Directory','yes','no','yes') ;
+if isequal(button,'yes')                            % la directory existe dÃ©jÃ 
+    RepRes = uigetdir(Rep);                         % choix de la directory
+else
+    tmp2 = questdlg('Create directory ?','BBA','Yes','No','Yes');
+    if strcmpi(tmp2,'Yes')                          % create a new directory
+        prompt = {'Enter new directory name:'};
+        dlg_title = 'Input for Directory Name';
+        num_lines = 1;
+        def = {'2007-mois-jour'};
+        answer = inputdlg(prompt,dlg_title,num_lines,def);
+        RepRes = answer{1};
+        cd(Rep)                                    % on se place dans la directory amont /BBA
+        mkdir(RepRes)
+        RepRes = [Rep RepRes]                      % Nom complet de la directory
+    else                                           % alors on ne sait pas ce qu'on veut ??
+        disp('**  BBA cancelled  **')
+        return
+    end
+end
+disp('  ** BBA starting **')
+
+end
Index: /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last_vArnaud_oct06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last_vArnaud_oct06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_last_vArnaud_oct06.m	(revision 17)
@@ -0,0 +1,1425 @@
+function BBAgui_last(arg1,arg2)
+
+%% PARAMETRES DES PANELS:Dimensions
+fontsize=12;
+hradio=12;
+lradio=50;
+espV=10;
+espH=10;
+OffNone=20;
+
+%Panels "Qi" (pour servir des paramÃštres)
+lpanel=10*(lradio+espH/4)+OffNone+espH;
+mult=1;
+hpanel=mult*hradio+(mult+1)*espV+fontsize;
+hpospan=hpanel+espV;
+
+%Panel "ALL QP"
+lpanQP=2*(lradio+espH);
+hpanQP=2*hradio+2*espV+fontsize;
+
+%Panel "Plane"
+lpanPlane=2*(lradio+espH);
+hpanPlane= hpanQP;
+% checkbox: "Horizontal"
+lHrz=lradio+20;
+hHrz=hradio;
+
+
+% checkbox: "Vertical"
+lVert=lradio+10;
+hVert=hradio;
+
+
+%Panel "Method"
+lpanMeth=2.5*(lradio+espH);
+hpanMeth= hpanQP;
+
+% checkbox: "M.E.C."
+lMec=lradio+20 ;
+hMec=hradio;
+
+
+% checkbox: "BMP4CM"
+lBmp4cm=lradio+30;
+hBmp4cm=hradio;
+
+%Figure
+largeurFig=1.8*(10*(lradio+espH)+4*espH);%10*80+2*20;
+hauteurFig=20*hradio+32*espV+10*fontsize+10*espV+hpanQP+espV+fontsize;
+
+%Plot
+lPlot=largeurFig-lpanel-200;
+hPlot=0.4*hauteurFig;
+
+
+%pour les sextu
+larSp=largeurFig-lpanel-30;
+HautSp=2*hpanel+espV;
+
+
+% Zone de texte: Qp en cours de mesure
+lQpMes1= 6.5*lradio;
+hQpMes1=2*hradio;
+
+
+% Zone de texte BPM: utilisÃ©
+lBpm=2*lradio+20;
+hBpm=2*hradio;
+
+% Zone de texte BPM: utilisÃ©
+lcor=2*lradio+20;
+hcor=2*hradio;
+
+% Zone de texte: Qp mesurÃ© prÃ©cedemment
+lQpMes0= lBpm;
+hQpMes0= hBpm;
+
+% Zone de texte heure de la mesure prÃ©cÃ©dente
+lClock=5*lradio;%+2*espH;
+hClock=hBpm;
+
+
+
+%Zone de texte:valeur offset BPM
+loff= 5*lradio;
+hoff=2*hradio;
+
+
+%Zone de texte:RMS Fit
+lrms= 11*lradio;
+hrms=2*hradio;
+
+%Zone de texte:Name File
+lfich=11*lradio;
+hfich=2*hradio;
+
+% Pushbutton pour lancer le BBA
+lBBA=3*lradio;
+hBBA=3*hradio;
+
+lmanu=1.2*lradio;
+hmanu=2*espV;
+
+lnbCor=lradio;
+hnbCor=2*espV;
+
+lStCor=lradio;
+hStCor=2*espV;
+
+lOffCor=lradio;
+hOffCor=2*espV;
+
+lDelais=lradio;
+hDelais=2*espV;
+
+lStQp=lradio;
+hStQp=2*espV;
+
+lWhCor=lradio;
+hWhCor=2*espV;
+
+
+%% PARAMETRES DES PANELS: Positions
+
+hposrad=(hpanPlane-fontsize-hradio)/2;
+
+%Panel "ALL QP"
+HposQp=10;
+VposQp=hauteurFig-hpanQP-10;
+
+%Panel "Plane"
+HposPlane=lpanQP+(lpanel-lpanQP-lpanMeth)/2-lpanPlane/2;
+VposPlane=hauteurFig-hpanPlane-10;
+
+% checkbox: "Horizontal"
+HHrz= 5;
+VHrz=hposrad;
+
+
+% checkbox: "Vertical"
+HVert=5+1*(lradio+espH)+10;
+VVert=hposrad;
+
+
+%Panel "Method"
+%HposMeth=HposPlane+espH+lpanPlane;
+HposMeth=10+lpanel-lpanMeth;%HposQp+10*(lradio+espH)+OffNone-lpanMeth;
+VposMeth=hauteurFig-hpanMeth-10;
+
+% checkbox: "M.E.C."
+HMec=5;
+VMec=hposrad;
+
+
+% checkbox: "BMP4CM"
+HBmp4cm=5+1.5*(lradio+espH)-20;
+VBmp4cm=hposrad;
+
+
+
+
+
+%pour les sextu
+HposSp=lpanel+20;
+VposSp=VposMeth-2*espV-hpanel-hpospan;%hauteurFig-4*(hpanel+espV)
+
+
+%Plot
+HposPlot=lpanel+(largeurFig-lpanel)/2-lPlot/2+espH;
+VposPlot=hauteurFig/2-125;
+
+% Zone de texte Qp en cours de mesure
+HQpMes1=lpanel+(largeurFig-lpanel)/2-lQpMes1/2;%+2*espH;
+VQpMes1=hauteurFig-5*espV;
+
+% Zone de texte BPM: utilisÃ©
+HBpm=lpanel+(largeurFig-lpanel)/2+espH+lcor/2;
+VBpm=13*hposrad;
+
+% Zone de texte COR: utilisÃ©
+Hcor=lpanel+(largeurFig-lpanel)/2-lcor/2;
+Vcor=13*hposrad;
+
+% Zone de texte Qp mesurÃ© prÃ©cedemment
+HQpMes0=lpanel+(largeurFig-lpanel)/2-lQpMes0-espH-lcor/2;%+2*espH;
+VQpMes0=VBpm;
+
+% Zone de texte heure de la mesure prÃ©cÃ©dente
+HClock=lpanel+(largeurFig-lpanel)/2-lClock/2;%+lcor/2+lBpm+2*espH;%+2*espH;
+VClock=VBpm+hClock+espV;
+
+%Zone de texte:valeur offset BPM
+Hoff=lpanel+(largeurFig-lpanel)/2-loff/2;
+Voff=10*hposrad;
+
+%Zone de texte:RMS Fit
+Hrms=lpanel+(largeurFig-lpanel)/2-lrms/2;
+Vrms=hauteurFig-6*espV-hQpMes1;
+
+%Zone de texte:Name File
+Hfich=lpanel+(largeurFig-lpanel)/2-lfich/2;
+Vfich=hauteurFig-7*espV-2*hrms;
+
+% Pushbutton pour lancer le BBA
+HBBA=lpanel+(largeurFig-lpanel)/2-lBBA/2;
+VBBA=50;
+
+
+Hmanu=largeurFig-1.1*lradio-espV;
+Vmanu=150;
+
+HnbCor=largeurFig-lradio-espV;
+VnbCor=125;
+
+
+HStCor=largeurFig-lradio-espV;
+VStCor=100;
+
+HOffCor=largeurFig-lradio-espV;
+VOffCor=75;
+
+HDelais=largeurFig-lradio-espV;
+VDelais=50;
+
+HStQp=largeurFig-lradio-espV;
+VStQp=25;
+
+HWhCor1=largeurFig-3*(lradio-espV)-espV;
+VWhCor1=25;
+
+HWhCor2=largeurFig-4*(lradio-espV)-2*espV;
+VWhCor2=25;
+%%5+2*(lradio+espH)+10
+
+
+%%5+2*(lradio+espH)+10
+
+
+if nargin<1 %CrÃ©er l'IHM
+
+    for i=1:10
+        QuadFamilyList(i)=cellstr(strcat('Q',num2str(i)));
+    end
+
+    % ParamÃštres des Ã©lÃ©ments de l'IHM
+
+    %% FIGURE
+    figCol=[0.93,0.75,0.51];
+    f = figure( 'Visible','on',...
+        'Units','pixels',...
+        'Position',[100,100,largeurFig,hauteurFig],...
+        'HandleVisibility','on',...
+        'Name','B.B.A. -> Offsets Hunting',...
+        'Tag','Ola',...
+        'Color',[0.93,0.75,0.51]);
+    %%
+    %% AXE = Plots
+    Hb=axes('Parent',f);
+    set(Hb,'Units','pixels');
+    set(Hb,'Tag','merit_Plot');
+
+    get(Hb,'Tag');
+    %         alors=get(Hb,'Position')
+    set(Hb,'Position',[HposPlot VposPlot lPlot hPlot]);
+
+    ze=[0 0];ord2=[0 0];ord1=[0 0];
+    CorCons=[0 0];BpmRes=[0 0];merit(:,1)=[0 0];merit(:,2)=[0 0];
+    center=0; y1=[-1 1];x1=[-1 1];offs=0;y2=[-2 2];
+    hold on
+    [Bx1,Hb1,Hb2]=plotyy(Hb,ze,ord2,ze,ord1,'plot');
+    set(Bx1(1),'Tag','axe_calc_bpm');
+    set(Bx1(2),'Tag','axe_calc_merit');
+    set(Hb1,'Tag','calc_bpm');
+    set(Hb2,'Tag','calc_merit');
+
+    set(Hb1,'Color','black','LineStyle','-.');%,'LineStyle','--')
+    set(Hb2,'Color','black','LineStyle','-.');
+    %set(Bx1(1),'YLim',y1);
+    %set(Bx1(2),'YLim',y2);
+    axis(Bx1(1),'off');
+    axis(Bx1(2),'off');
+
+    [Ax1,Ha1,Ha2]=plotyy(Hb,CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');
+    set(Ax1(1),'Tag','axe_mes_bpm');
+    set(Ax1(2),'Tag','axe_mes_merit');
+    set(Ha1,'Tag','mes_bpm');
+    set(Ha2,'Tag','mes_merit');
+
+    set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+    set(Ha2,'Marker','x','Color','red');
+
+    %x1=get(Ax1(1),'XLim');
+    %set(Ax1,'Visible','off');
+    %set(Ax1(1),'YLim',y1);
+    %set(Ax1(2),'YLim',y2);
+    axis(Ax1(1),'on')
+    axis(Ax1(2),'on');
+    %set(Ax1(1),'YLim',y1,'YColor','blue');
+    %set(Ax1(2),'YLim',y2,'YColor','red');
+    set(Ax1(1),'YColor','blue');
+    set(Ax1(2),'YColor','red');
+
+    set(get(Ax1(1),'XLabel'),'String','COR Value (amps)');
+    set(get(Ax1(1),'YLabel'),'String','(mm)');
+    set(get(Ax1(2),'YLabel'),'String','(mm^2)');
+
+    pl1=plot(Hb,[center center],[-1 0],'k','LineStyle','-.');
+    pl2=plot(Hb,[-1 center],[offs offs],'k','LineStyle','-.');
+    pl3=plot(Hb,center,offs,'ko');
+    set(pl1,'Tag','loc_off1');
+    set(pl2,'Tag','loc_off2');
+    set(pl3,'Tag','loc_off3');
+    drawnow
+    hold off
+
+    %         [Ax1,Ha1,Ha2]=plotyy(Hb,[1 3 9],[4 5 8],[4 7 12],[1 2 3])
+    %         set(Ha1,'Marker','x','Color','blue');
+    %         set(Ha2,'Marker','x','Color','red');
+    %         hold on
+    %         axis(Ax1,'off')
+    %         [Bx1,Hb1,Hb2]=plotyy(Hb,[12 20 45],[4 10 -6],[0 2 41],[1 -20 3])
+    %         axis(Bx1,'on')
+    %         hold off
+
+
+    %     f2=uipanel( 'Parent',f,'BackgroundColor',[0.93,0.75,0.51],...
+    %                 'Visible','on',...
+    %                 'Units','pixels',...
+    %                 'Position',[0,0,lpanel+20,hauteurFig],...
+    %                 'HandleVisibility','on',...
+    %                 'Visible','on');
+
+
+    %%
+    Hdecale=lradio+espH;
+    % radio bouton manuel ou auto
+    radManu=uicontrol('Parent',f,...
+        'BackgroundColor',[1,0,0],...
+        'Style','radiobutton',...
+        'String', 'Manual',...
+        'Units','pixels',...
+        'Callback',     'BBAgui_last(''manu'')',...
+        'Tag',   'radio_manu',...
+        'Value',0,...
+        'Position',[Hmanu Vmanu lmanu hmanu]);
+
+    edNbCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '13',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_nbCor',...
+        'Value',0,...
+        'Position',[HnbCor VnbCor lnbCor hnbCor]);
+
+    edStepCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '0.1',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_StCor',...
+        'Value',0,...
+        'Position',[HStCor VStCor lStCor hStCor]);
+
+    edOffCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '0',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_OffCor',...
+        'Value',0,...
+        'Position',[HOffCor VOffCor lOffCor hOffCor]);
+
+    edDelais=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '4',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_Delais',...
+        'Value',0,...
+        'Position',[HDelais VDelais lDelais hDelais]);
+
+    edStQp=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '1.75',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_StQp',...
+        'Value',0,...
+        'Position',[HStQp VStQp lStQp hStQp]);
+
+    edWhCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '1',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_WhCor',...
+        'Value',0,...
+        'Position',[HWhCor2 VWhCor2 lStQp hStQp]);
+
+    %%
+    textNbCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'nb Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_nbCor',...
+        'Value',0,...
+        'Position',[HnbCor-Hdecale VnbCor lnbCor hnbCor]);
+
+    textStepCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Step Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_StCor',...
+        'Value',0,...
+        'Position',[HStCor-Hdecale VStCor lStCor hStCor]);
+
+    textOffCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Offs Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_OffCor',...
+        'Value',0,...
+        'Position',[HOffCor-Hdecale VOffCor lOffCor hOffCor]);
+
+    textDelais=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Delai',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_Delais',...
+        'Value',0,...
+        'Position',[HDelais-Hdecale VDelais lDelais hDelais]);
+
+    textStQp=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Step Qp',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_StQp',...
+        'Value',0,...
+        'Position',[HStQp-Hdecale VStQp lStQp hStQp]);
+
+    textWhCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Choix Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_WhCor',...
+        'Value',0,...
+        'Position',[HWhCor2-Hdecale-espV VWhCor2 1.2*lWhCor hWhCor]);
+
+
+    %%   % PANEL pour sÃ©lectionner ou dÃ©sÃ©lectionner tous les Qp
+    QpCol=[0.63,0.8,0.35];
+
+    AllQP=uipanel('Parent',f,...
+        'BackgroundColor',QpCol,...%[0,0.9,0.9]
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','ALL QP',...
+        'FontSize',12,...
+        'Units','pixels',...
+        'Position',[HposQp VposQp lpanQP hpanQP],...
+        'Visible','on');
+
+
+    hposrad=(hpanQP-fontsize-hradio)/2;
+
+    % radio button 'ALL'
+    radAll=uicontrol('Parent',AllQP,...
+        'BackgroundColor',QpCol,...
+        'Style','radiobutton',...
+        'String', 'ALL',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''typeAll'')',...
+        'Tag',   'radio_All',...
+        'Value',0,...
+        'Position',[5 hposrad lradio hradio]);
+
+    % radio button 'None'
+    radNone=uicontrol('Parent',AllQP,...
+        'BackgroundColor',QpCol,...
+        'Style','radiobutton',...
+        'String', 'None',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''typeNone'')',...
+        'Tag',   'radio_None',...
+        'Value',0,...
+        'Position',[5+lradio+espH/4 hposrad lradio hradio]);
+
+
+
+    %%  % PANEL pour sÃ©lectionner le plan de BBA
+    PlCol=[1,0.8,0];
+    panPlane=uipanel('Parent',f,...
+        'BackgroundColor',PlCol,...
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','Plane',...
+        'Units','pixels',...
+        'Position',[HposPlane VposPlane lpanPlane+20 hpanPlane],...
+        'Visible','on');
+
+    hposrad=(hpanPlane-fontsize-hradio)/2;
+    %             radAll=uicontrol('Parent',panPlane,...%[0.2,1,0]
+    %                     'BackgroundColor',PlCol,...
+    %                     'Style','radiobutton',...
+    %                     'String', 'Both',...
+    %                     'Units','pixels',...
+    %                     'Callback',      '',...
+    %                     'Tag',   'radioP_All_Plane',...
+    %                     'Value',0,...
+    %                     'Position',[5 hposrad lradio hradio]);
+
+    ckb_Hrz=uicontrol('Parent',panPlane,...
+        'BackgroundColor',PlCol,...
+        'Style','checkbox',...
+        'String', 'Horizontal',...
+        'Units','pixels',...
+        'Callback','BBAgui_last(''check'')',...
+        'Tag',  'ckboxP_Hrz',...
+        'Value',0,...
+        'Position',[HHrz VHrz lHrz hHrz]);
+
+    ckb_Vert=uicontrol('Parent',panPlane,...
+        'BackgroundColor',PlCol,...
+        'Style','checkbox',...
+        'String', 'Vertical',...
+        'Units','pixels',...
+        'Callback', 'BBAgui_last(''check'')',...
+        'Tag',  'ckboxP_Vert',...
+        'Value',0,...
+        'Position',[HVert VVert lVert hVert]);
+
+    %% % PANEL pour sÃ©lectionner la mÃ©thode de BBA
+
+    MetCol=[0.8,0.5,0.5];
+    panMeth=uipanel('Parent',f,...
+        'BackgroundColor',MetCol,...%[1,0.8,0]
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','Method',...
+        'FontSize',12,...
+        'Units','pixels',...
+        'Position',[HposMeth-10 VposMeth lpanMeth+10 hpanMeth],...
+        'Visible','on');
+
+
+    %            radAll_Meth=uicontrol('Parent',panMeth,...
+    %                     'BackgroundColor',MetCol,...
+    %                     'Style','radiobutton',...
+    %                     'String', 'Both',...
+    %                     'Units','pixels',...
+    %                     'Callback',      '',...
+    %                     'Tag',   'radioM_All_Meth',...
+    %                     'Value',0,...
+    %                     'Position',[5 hposrad lradio hradio]);
+
+    ckb_mec=uicontrol('Parent',panMeth,...
+        'BackgroundColor',MetCol,...
+        'Style','checkbox',...
+        'String', 'M.E.C.',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'ckboxM_MEC',...
+        'Value',0,...
+        'Position',[HMec VMec lMec hMec]);
+
+    ckb_bmp=uicontrol('Parent',panMeth,...
+        'BackgroundColor',MetCol,...
+        'Style','checkbox',...
+        'String', 'Bump 4 CM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',  'ckboxM_BMP4CM',...
+        'Value',0,...
+        'Position',[HBmp4cm VBmp4cm lBmp4cm hBmp4cm]);
+
+
+
+    %% Panel pour les sextupoles
+    %    SpCol=[0.63,0.8,0.35];
+    %    panSp=uipanel('Parent',f,...
+    %        'BackgroundColor',SpCol,...%[1,0.8,0]
+    %        'FontUnits','pixels',...
+    %        'FontWeight','bold',...
+    %        'FontSize',fontsize,...
+    %        'Title','Sextu',...
+    %        'FontSize',12,...
+    %        'Units','pixels',...
+    %        'Position',[HposSp VposSp larSp HautSp],...
+    %        'Visible','on');
+
+
+    %% Bouton pour lancer le BBA
+    ActCol=[0.93,0.8,0.2];
+
+    PushAction=uicontrol('Parent',f,...
+        'BackgroundColor',ActCol,...
+        'Style','pushbutton',...
+        'String', 'ACTION',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_last(''action'')',...
+        'Tag',   'push_Act',...
+        'Value',0,...
+        'Position',[HBBA VBBA lBBA hBBA]);
+    %% Zone de texte pour afficher le quadrupole en cours de mesure
+
+    TxtQp1=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String','Qp [cell elt]',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_work1',...
+        'Position',[HQpMes1 VQpMes1 lQpMes1 hQpMes1]);
+
+
+
+    %% Zone de texte pour afficher le quadrupole mesurÃ© prÃ©cedemment
+
+    TxtQp0=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String','Qp [cell elt]',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_work0',...
+        'Position',[HQpMes0 VQpMes0 lQpMes0 hQpMes0]);
+
+    %% Zone de texte pour afficher le BPM utilisÃ©
+
+    TxtBpm=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'BPM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_BPM',...
+        'Position',[HBpm VBpm lBpm hBpm]);
+
+    %% Zone de texte pour afficher le COR utilisÃ©
+
+    TxtBpm=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'COR',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_COR',...
+        'Position',[Hcor Vcor lcor hcor]);
+
+    %% Zone de texte pour afficher l'heure de la mesure prÃ©cÃ©dente
+
+    TxtClock=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'Clock',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_Clock',...
+        'Position',[HClock VClock lClock hClock]);
+
+    %% Zone de texte pour afficher la valeur de l'offset BPM
+
+    TxtOf=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'FontWeight','bold',...
+        'String', 'Offset BPM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_offset',...
+        'Position',[Hoff Voff loff hoff]);
+
+    %% Zone de texte pour la qualitÃ© du FIT
+
+    TxtFit=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',14,...
+        'FontWeight','bold',...
+        'String', 'RMS Fit',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_RMS',...
+        'Position',[Hrms Vrms lrms hrms]);
+
+    %% Zone de texte pour le nom du fichier
+    TxtFile=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',12,...
+        'FontWeight','bold',...
+        'String', 'Name File',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_File',...
+        'Position',[Hfich Vfich lfich hfich]);
+
+    %% Boucle pour crÃ©er les 160 checkbox, les 10 panels et les radiobutton associÃ©s
+    incr=0;
+    multpos=0;
+    hpospan=0;
+    for i=1:10%10
+        QuadDevList=getlist(char(QuadFamilyList(i)));
+        long=length(QuadDevList);
+        TitleOffset=0;
+
+        if long == 8
+            mult=1;
+        elseif long == 16
+            mult=2;
+        elseif long==24
+            mult=3;
+        end
+
+        multpos=multpos+mult;
+
+        hpanel=mult*hradio+(mult+1)*espV+fontsize;
+        %lpanel=10*(lradio+espH)+OffNone;
+        hpospan=hpospan+hpanel+espV;
+        % 10 Panel 'Qi'
+        hp(i) = uipanel('Parent',f,...
+            'BackgroundColor',QpCol,...
+            'FontUnits','pixels',...
+            'FontWeight','bold',...
+            'FontSize',fontsize,...
+            'Title',char(QuadFamilyList(i)),...
+            'FontSize',12,...
+            'Units','pixels',...
+            'Position',[10 hauteurFig-hpanQP-espV-hpospan-10 lpanel hpanel],...
+            'Visible','on');
+
+        NameQuadFamAll=['All ' char(QuadFamilyList(i))];
+        NameRadioAll=['radioQ_All_' char(QuadFamilyList(i))];
+
+        NameQuadFamNone=['None ' char(QuadFamilyList(i))];
+        NameRadioNone=['radioQ_None_' char(QuadFamilyList(i))];
+
+        hposrad=(hpanel-fontsize-hradio)/2;
+
+        % 10 radio button pour sÃ©lectionner les Qp par familles
+        radAll(i)=uicontrol('Parent',hp(i),...
+            'BackgroundColor',QpCol,...
+            'Style','radiobutton',...
+            'String', NameQuadFamAll,...
+            'Units','pixels',...
+            'Callback',      'BBAgui_last(''familyAll'')',...
+            'Tag',   NameRadioAll,...
+            'Value',0,...
+            'Position',[5 hposrad lradio+5 hradio]);
+
+        % 10 radio button pour dÃ©sÃ©lectionner par familles
+        radNone(i)=uicontrol('Parent',hp(i),...
+            'BackgroundColor',QpCol,...
+            'Style','radiobutton',...
+            'String', NameQuadFamNone,...
+            'Units','pixels',...
+            'Callback',      'BBAgui_last(''familyNone'')',...
+            'Tag',   NameRadioNone,...
+            'Value',0,...
+            'Position',[5+lradio+espH/4 hposrad lradio+OffNone hradio]);
+
+        %% Boucle des checkbox
+        for j=1:length(QuadDevList)
+            QuadFamTot(j+incr)=QuadFamilyList(i);
+            QuadDevTot(j+incr,:)=QuadDevList(j,:);
+            ValueList(j+incr)=0;
+
+
+            NameQuadDev=char(['[' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2)) ']']);
+            NameControl=['ckbox_' char(QuadFamilyList(i)) '_' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2))];
+            if j>0 & j<=8
+                valjH=j;
+                valjV=1;
+            elseif j>8 & j<=16
+                valjH=j-8;
+                valjV=2;
+            elseif j>16 & j<=24
+                valjH=j-16;
+                valjV=3;
+            end
+            % N=8,16 or 24 pour sÃ©lectionner les Qp individuellement
+            cont(i,j)=uicontrol('Parent',hp(i),...
+                'BackgroundColor',QpCol,...
+                'Style','checkbox',...
+                'String', NameQuadDev,...
+                'Units','pixels',...
+                'Callback',   'BBAgui_last(''check'')'   ,...%'BBAgui_last(''Ncheck'')'
+                'Tag',   NameControl,...
+                'Value',ValueList(j+incr),...
+                'Position',[(valjH+1)*(lradio+espH/4)+OffNone hpanel-(valjV)*(hradio+espV)-espV lradio hradio]);
+            %'Position',[0 0-0.3*(j-1) 0.1 .1]);
+        end
+        %%
+        incr=incr+length(QuadDevList);
+
+    end
+
+    delete('guy*.mat')
+    save('guytrydata1.mat','QuadFamTot','QuadDevTot')
+    set(f,'Visible','on');
+
+
+    %% Conditions sur les checkbox "[i j]"
+
+elseif strcmpi(arg1,'manu')  % bouton manuel/auto
+
+    autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+    etat=get(autom,'Value');
+    if etat==1
+        set(autom,'Backgroundcolor',[0,1,0]);
+    elseif etat==0
+        set(autom,'Backgroundcolor',[1,0,0]);
+    end
+    %%
+elseif strcmpi(arg1,'action')  % ressortir les checkbox cochees
+    %delete('guytrydata2.mat')
+    clear list h lista;
+    % disp('ok!!')
+    f=findobj('Tag','Ola');
+    set(f,'Visible','on');
+    h=findobj('Style','checkbox','-and','-regexp','Tag','Q');
+
+    length(h);
+    k=1;
+    for i=1:length(h)
+        list(i)=get(h(i),'Value');
+        lista(i)=cellstr(get(h(i),'Tag'));
+        IDQuad=char(lista(i));
+        if list(i)==1
+            indstr=findstr(IDQuad,'_');
+            family(k)=cellstr(IDQuad(indstr(1)+1:indstr(2)-1));
+            cellule(k)=str2num(IDQuad(indstr(2)+1:indstr(3)-1));
+            element(k)=str2num(IDQuad(indstr(3)+1:length(IDQuad)));
+            QpDevList(k,1)=cellule(k);
+            QpDevList(k,2)=element(k);
+            k=k+1;
+        end
+
+    end
+    sum(list);
+    list;
+    lista;
+    length(list);
+    %connaitre la mÃ©thode utilisÃ©e
+    clear list1 h1 lista1 MetList;
+    f1=findobj('Tag','Ola');
+    h1=findobj('Style','checkbox','-and','-regexp','Tag','ckboxM');
+    MetList=cellstr('bad');
+    varMet=0;
+    for u=1:length(h1)
+        list1(u)=get(h1(u),'Value');
+        lista1(u)=cellstr(get(h1(u),'Tag'));
+        IDMeth=char(lista1(u));
+        if list1(u)==1
+            varMet=varMet+1;
+            indstr=findstr(IDMeth,'_');
+            MetList(varMet)=cellstr(IDMeth(indstr+1:length(IDMeth)));
+        end
+    end
+    if  strcmpi(char(MetList(1)),'bad');
+        MetList(1,:)=cellstr('MEC');
+        hp=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxM_MEC');
+        set(hp,'Value',1);
+    end
+
+    %connaitre les plans utilisÃ©s
+    clear list2 h2 lista2 PlaneList0;
+    f=findobj('Tag','Ola');
+    h2=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxP');
+    PlaneList0=-1;
+    varPl=0;
+    for v=1:length(h2)
+        list2(v)=get(h2(v),'Value');
+        lista2(v)=cellstr(get(h2(v),'Tag'));
+        IDPlane=char(lista2(v));
+        if list2(v)==1
+            varPl=varPl+1;
+            indstr=findstr(IDPlane,'_');
+            PlaneList(varPl)=IDPlane(indstr+1);
+            if     PlaneList(varPl)=='H'
+                PlaneList0(varPl)=1;
+            elseif PlaneList(varPl)=='V'
+                PlaneList0(varPl)=2;
+            end
+        end
+    end
+    %if length(PlaneList0)>1
+    %    PlaneList0=0;
+    if  PlaneList0(1)<0
+        PlaneList0=1;
+        hp=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxP_H');
+        set(hp,'Value',1);
+    end
+
+    %%
+    % Lancement du programme BBA
+    %Hb=findobj('Tag','merit_Plot');
+    %chHb=get(gca,'Children')
+
+
+    %while ~isempty(chHb)
+    %chHb=get(Hb,'Children')
+
+
+    %pause(1)
+    %cla(chHb(1))
+    %cla(chHb(2))
+    % cla(chHb(3))
+    % cla(chHb(4))
+    % cla(chHb(5))
+
+
+    %end
+    %cla(Bx1(2))
+    %cla(Ax1(1))
+    %cla(Ax1(2))
+
+    G1=findobj('Tag','Ola');
+    child_handles = get(G1,'Children');
+    %get(child_handles,'Type');
+    G1=findobj('Tag','merit_Plot');
+    set(G1,'NextPlot','replace');
+    hold off
+    pause(5)
+    format long
+    PlaneList0;
+    MetList;
+    family;
+    cellule;
+    element;
+    QpDevList;
+    longElem=size(element);
+    indice=10; %indice permet de numeroter les figures
+    for w=1:length(family)
+        %indice=indice+1;
+        for loop=1:length(PlaneList0)
+            if PlaneList0(loop)==1
+                TextBpm='BPMx';
+                TextDel=char('Delta_X=');
+                TextCor='HCOR';
+            elseif PlaneList0(loop)==2
+                TextDel=char('Delta_Z=');
+                TextBpm='BPMz';
+                TextCor='VCOR';
+            end
+
+
+            pause(1);
+            danow= datestr(now);
+            %clear Ax1 Bx1 Ha1 Ha2 Hb1 Hb2
+
+            % Ã©criture dans les zones de texte
+            f=findobj('Style','text','-and','-regexp','Tag','edit_work1');
+            TextQp1=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']  @  ' danow]);
+            set(f,'String',TextQp1);
+
+            %recherche de paramÃštres
+            %Automatisation
+            autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+            etat=get(autom,'Value');
+            if etat==1
+                maxloop=1;
+            elseif etat==0
+                maxloop=2;
+                nbDeltaCor=3;
+                OffCor=0;
+                StepCor=1.2;
+                Delais=2.5;
+                StepQp=2.5;
+            end
+
+
+
+            for t=1:maxloop
+                autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+                etat=get(autom,'Value');
+                if etat==1
+                    set(autom,'Backgroundcolor',[0,1,0]);
+                    ed1=findobj('Style','edit','-and','-regexp','Tag','edit_nbCor');
+                    nbDeltaCor=str2num(get(ed1,'String'));
+
+                    ed2=findobj('Style','edit','-and','-regexp','Tag','edit_StCor');
+                    StepCor=str2num(get(ed2,'String'));
+
+                    ed3=findobj('Style','edit','-and','-regexp','Tag','edit_OffCor');
+                    OffCor=str2num(get(ed3,'String'));
+
+                    ed4=findobj('Style','edit','-and','-regexp','Tag','edit_Delais');
+                    Delais=str2num(get(ed4,'String'));
+
+                    ed5=findobj('Style','edit','-and','-regexp','Tag','edit_StQp');
+                    StepQp=str2num(get(ed5,'String'));
+
+                else
+                    set(autom,'Backgroundcolor',[1,0,0])
+                    ed1=findobj('Style','edit','-and','-regexp','Tag','edit_nbCor');
+                    TextnbDeltaCor=num2str(nbDeltaCor);
+                    set(ed1,'String',TextnbDeltaCor);
+
+                    ed2=findobj('Style','edit','-and','-regexp','Tag','edit_StCor');
+                    TextStepCor=num2str(StepCor);
+                    set(ed2,'String',TextStepCor);
+
+                    ed3=findobj('Style','edit','-and','-regexp','Tag','edit_OffCor');
+                    TextOffCor=num2str(OffCor);
+                    set(ed3,'String',TextOffCor);
+
+                    ed4=findobj('Style','edit','-and','-regexp','Tag','edit_Delais');
+                    TextDelais=num2str(Delais);
+                    set(ed4,'String',TextDelais);
+
+                    ed5=findobj('Style','edit','-and','-regexp','Tag','edit_StQp');
+                    TextStepQp=num2str(StepQp);
+                    set(ed5,'String',TextStepQp);
+                end
+                ed6=findobj('Style','edit','-and','-regexp','Tag','edit_WhCor');
+                CorNumber=str2num(get(ed6,'String'));
+
+                %edit_WhCor
+
+                drawnow
+                [merit,CorCons,BpmRes,offs,OffsCor,center,ze,ord1,ord2,BpmDevRes,CorDevRes,iniCor,rmsFit,NameFile,NameFilePNG] = ...
+                    bba_last(family(w),QpDevList(w,:), PlaneList0(loop),char(MetList),nbDeltaCor,StepCor,OffCor,Delais,StepQp,CorNumber);
+                %center
+
+                %         G1=findobj('Tag','merit_Plot');
+                %         axes(G1);
+                %         cla
+                %         G1=findobj('Tag','Ola');
+
+                %        load('resu.mat')
+                %        trace_bba.m
+
+                %CorCons=CorCons-iniCor;
+                %CorCons=CorCons-iniCor;
+                %center=center-iniCor;
+
+                droite=polyfit(CorCons,BpmRes,1);
+                %BpmDevRes=[1 5];
+
+                TextCor1=char([TextCor ' [' num2str(CorDevRes(1,1)) '  ' num2str(CorDevRes(1,2)) ']']);
+                f=findobj('Style','text','-and','-regexp','Tag','edit_COR');
+                %TextOff2=char(['RMS Fit:  ' Textrms ' mm^2']);
+                set(f,'String',TextCor1);
+
+                Textrms=num2str(round(rmsFit*10000000)/10000000);
+                Delta1=merit(1,2);
+                Delta2=merit(length(merit),2);
+                TextDelta1=num2str(round(Delta1*100000)/100000);
+                TextDelta2=num2str(round(Delta2*100000)/100000);
+                f=findobj('Style','text','-and','-regexp','Tag','edit_RMS');
+                TextOff2=char(['RMS Fit:  ' Textrms ' mm^2 | Min: ' TextDelta1 ' mm^2 | Max: ' TextDelta2 ' mm^2']);
+                set(f,'String',TextOff2);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_File');
+                TextOff3=char([NameFile]);
+                set(f,'String',TextOff3);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_offset');
+                TextOff1=char(['Offset ' TextBpm]);
+                set(f,'String',TextOff1);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_BPM');
+                TextOff2=char([TextBpm ' [' num2str(BpmDevRes(1,1)) '  ' num2str(BpmDevRes(1,2)) ']'] );
+                set(f,'String',TextOff2);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_work0');
+                TextQp0=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']']);%  @  ' danow(13:length(danow))]);
+                set(f,'String',TextQp0);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_Clock');
+                TextClock=char(danow);%  @  ' danow(13:length(danow))]);
+                set(f,'String',TextClock);
+                clear x1 y1 y2
+
+
+                x1=[min(CorCons)-0.1-iniCor max(CorCons)+0.1-iniCor];
+                deltay11=max(BpmRes)-min(BpmRes);
+                y11=[min(BpmRes) max(BpmRes)];
+                y12=[min(ord2) max(ord2)];
+                y1=[min([y11(1) y12(1)])-0.01*deltay11 max([y11(2) y12(2)])+0.01*deltay11];
+
+                deltay21=max(merit(:,2))-min(merit(:,2));
+                y21=[min(merit(:,2)) max(merit(:,2))];
+                y22=[min(ord1) max(ord1)];
+                y2=[min([y21(1) y22(1)])-0.01*deltay21 max([y21(2) y22(2)])+0.01*deltay21];
+                G1=findobj('Tag','Ola');%,'-and','Tag','merit_Plot')
+                drawnow
+                Hb=findobj('Parent',G1,'-and','Tag','merit_Plot');
+                %cla(Hb)
+                %hold(Hb,'off')
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+
+                %pl3=plot(Hb,center,offs,'Marker','o','Color','black');
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+                % hold(Hb,'on')
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+                %Hb=axes('Parent',f)
+                set(Hb,'Units','pixels');
+                %hold on
+                alors=get(Hb,'Position');
+                %set(Hb,'Position',[900 520 550 400]);
+                set(Hb,'Color','w');
+
+                %[Bx1,Hb1,Hb2]=plotyy(Hb,ze,ord2,ze,ord1,'plot');
+                Bx11=findobj('Tag','axe_calc_bpm');
+                set(Bx11,'YLim',y1);
+                set(Bx11,'XLim',x1);
+
+                Bx12=findobj('Tag','axe_calc_merit');
+                set(Bx12,'XLim',x1);
+                set(Bx12,'YLim',y2);
+
+                Hb1=findobj('Tag','calc_bpm');
+                set(Hb1,'XData',ze-iniCor,'YData',ord2);
+                Hb2=findobj('Tag','calc_merit');
+                set(Hb2,'XData',ze-iniCor,'YData',ord1);
+
+
+                drawnow
+                G1=findobj('Tag','Ola');
+
+
+                drawnow
+                %        [Ax1,Ha1,Ha2]=plotyy(Hb,CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');%,'Marker','x','Color','red')
+                %refreshdata(Ax1)
+                Ax11=findobj('Tag','axe_mes_bpm');
+                set(Ax11,'XLim',x1);
+                set(Ax11,'YLim',y1);
+
+
+                Ax12=findobj('Tag','axe_mes_merit');
+                set(Ax12,'XLim',x1);
+                set(Ax12,'YLim',y2);
+
+
+                Ha1=findobj('Tag','mes_bpm');
+                set(Ha1,'XData',CorCons-iniCor,'YData',BpmRes);
+
+                Ha2=findobj('Tag','mes_merit');
+                set(Ha2,'XData',merit(:,1)-iniCor,'YData',merit(:,2));
+
+                drawnow
+
+                ploRes1=findobj('Tag','loc_off1');
+                ploRes2=findobj('Tag','loc_off2');
+                ploRes3=findobj('Tag','loc_off3');
+                set(ploRes1,'XData',[center-iniCor center-iniCor],'YData',[y1(1) offs]);
+                set(ploRes2,'XData',[x1(1) center-iniCor],'YData',[offs offs]);
+                set(ploRes3,'XData',center-iniCor,'YData',offs);
+                disp(merit(:,2))
+                % %         set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+                % %         set(Ha2,'Marker','x','Color','red');
+                % %
+                % %         x1=get(Ax1(1),'XLim');
+                % %         %set(Ax1,'Visible','off');
+                %set(Ax11,'YLim',y1);
+                %set(Ax12,'YLim',y2);
+                %set(Ax11,'XLim',x1);
+                %set(Ax12,'XLim',x1);
+                %        axis(Ax11,'on')
+                %       axis(Ax12,'on');
+                % %         set(Ax1(1),'YLim',y1,'YColor','blue');
+                % %         set(Ax1(2),'YLim',y2,'YColor','red');
+                % %         if w==1
+                % %             set(get(Ax1(1),'XLabel'),'String','COR Value (amps)');
+                % %             set(get(Ax1(1),'YLabel'),'String','(mm)');
+                % %             set(get(Ax1(2),'YLabel'),'String','(mm^2)');
+                % %         end
+
+                %pl1=plot(Hb,[center center],[y1(1) offs],'k',[x1(1) center],[offs offs],'k',center,offs,'ko','LineStyle','-.');
+                %       G1=findobj('Tag','Ola');
+                %   child_handles = get(G1,'Children');
+                %   get(child_handles,'Type');
+                %pl2=plot(Hb,[x1(1) center],[offs offs],'Color','black','LineStyle','-.');
+                %pl3=plot(Hb,center,offs,'Marker','o','Color','black');%,text(center,offs,'\leftarrow ',...
+
+
+                %'HorizontalAlignment','left'))
+                %axis(pl1,'off');
+                %axis(pl2,'off');
+                %axis(pl3,'off');
+
+                %set(pl1 ,'Color','black','LineStyle','-.');
+                %set(pl2 ,'Color','black','LineStyle','-.');
+
+
+
+                %set(pl1,'YLim',y1);
+                %set(pl2,'YLim',y1);
+                %set(pl3,'YLim',y1);
+
+                %xlabel('COR Value (amps)')
+                %ylabel(Bx1(1),'(mm)')
+                %ylabel(Bx1(2),'(merit)')
+                drawnow;
+                % hold off
+                pause(2)
+                Hb=findobj('Tag','merit_Plot');
+
+
+
+                drawnow
+                f=findobj('Style','text','-and','-regexp','Tag','edit_offset');
+                offs1=round(100000*offs)/100;
+                TextOff=char([TextDel num2str(offs1) ' Âµm']);
+                set(f,'String',TextOff);
+                %plot(Hb,[4 7 12],[1 2 3])
+                drawnow
+                testmerit=(merit(1,2)+merit(length(merit),2));
+
+                mult=(0.01/testmerit)^(1/4);
+                DeltaCorMax=nbDeltaCor*StepCor*mult;
+                nbDeltaCor=13;
+                StepCor=DeltaCorMax/(nbDeltaCor-1);
+                OffCor=OffsCor;
+                StepQp=StepQp*mult;
+
+                TextQp0=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']']);
+                disp(TextQp0)
+
+                TextOff2=char([TextBpm ' [' num2str(BpmDevRes(1,1)) '  ' num2str(BpmDevRes(1,2)) ']'] );
+                disp(TextOff2)
+
+                TextOff=char([TextDel num2str(offs1) ' Âµm']);
+                disp(TextOff)
+
+                TextCor1=char([TextCor ' [' num2str(CorDevRes(1,1)) '  ' num2str(CorDevRes(1,2)) ']']);
+                disp(TextCor1)
+
+            end
+
+
+        end
+        %f=findobj('Tag','Ola');
+        %saveas(f,NameFilePNG,'png')
+    end
+
+    %%
+elseif strcmpi(arg1,'check')
+
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Exclusion entre checkbox=1 et None=1
+    hNone=findobj('Style','radiobutton','-and','-regexp','Tag','None');
+    set(hNone,'Value',0);
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %save('guytrydata2.mat','list','family','cellule','element');
+    %axes(handles.offset);
+    %axes('Position',[600 200 300 100]);
+
+
+    %% Conditions sur les boutons radio "radioQ_Qi"
+elseif strcmpi(arg1,'familyAll') | strcmpi(arg1,'familyNone')
+    disp('c bon')
+    familyType(arg1);
+    BBAgui_last('check');
+
+    %% Conditions sur le bouton radio "radio_ALL"
+elseif strcmpi(arg1,'typeAll') | strcmpi(arg1,'typeNone')
+    disp('c bon')
+    familyType(arg1);
+    whi=['family' arg1(5:length(arg1))];
+    BBAgui_last(whi);
+
+    %elseif strcmpi(arg1,'tex')
+
+end
+%%
+
+end
+
+
+
+
+%% fonction qui permet de gÃ©rer Ã  la fois les radioboutons "radioQ_Qi" et "radio_ALL"
+function familyType(tor)
+%type=tor(7:length(tor))
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+tor;
+strmatch('family',tor);
+cas=~isempty(strmatch('family',tor));
+
+if cas==1 %family
+    prefix='radioQ_';
+    type=tor(7:length(tor));
+    button1='ckbox_';
+    button2='';
+    index=2;
+    button3='_';
+    style='checkbox';
+else%total
+    prefix='radio_';
+    type=tor(5:length(tor));
+    button1='radioQ_';
+    button2=[type '_'];
+    button3='';
+    style='radiobutton';
+    index=1;
+end
+
+if strcmpi(type,'All');
+    type1='All';
+    type0='None';
+    val=1;
+else
+    type1='None';
+    type0='All';
+    val=0;
+    button1='ckbox_';
+    button2='';
+    index=2;
+    button3='_';
+    style='checkbox';
+end
+objTagTot0=['radio_' type0];
+hobjectTot0=findobj('Style','radiobutton','-and','Tag',objTagTot0);
+set(hobjectTot0,'Value',val);
+
+objTagFam1=['radioQ_' type1];
+hobjectFam1=findobj('Style','radiobutton','-and','-regexp','Tag',objTagFam1);
+
+objTagFam0=['radioQ_' type0];
+hobjectFam0=findobj('Style','radiobutton','-and','-regexp','Tag',objTagFam0);
+k=1;
+
+for i=1:length(hobjectFam1)
+    if cas==1
+        list(i)=get(hobjectFam1(i),'Value');
+    else
+        list(i)=1;
+    end
+    lista(i)=cellstr(get(hobjectFam1(i),'Tag'));
+    IDFam=char(lista(i));
+    if list(i)==1
+        indstr=findstr(IDFam,'Q');
+        family(k)=cellstr(IDFam(indstr(2):length(IDFam)));
+
+        TagFind=[button1 button2 char(family(k)) button3];
+        TagFindRad=['radioQ_' type0 '_' char(family(k))];
+
+        chkb=findobj('Style',style,'-and','-regexp','Tag',TagFind);
+        radQ=findobj('Style','radiobutton','-and','-regexp','Tag',TagFindRad);
+        set(radQ,'Value',0);
+        for j=1:length(chkb)
+            set(chkb(j),'Value',val);
+        end
+        k=k+1;
+    end
+
+end
+end
+% elseif strcmpi(arg1,'familyNone') %en fct des radiobuton All Qi cochï¿œs, cocher les checkbox des familles Qi
+%     f=findobj('Name','Ola');
+%
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%     % Exclusion entre radioQ_Qi=1 et radio_None=1
+%     hAll=findobj('Style','radiobutton','-and','Tag','radio_ALL');
+%     set(hAll,'Value',0);
+%     hNoneFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_None')
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%nteger (element number) in the RING
+%     hNoneFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_None');
+%     hAllFam =findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_All');
+%     %hAllFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_All');
+%     length(hAllFam);
+%     k=1;
+%     for i=1:length(hNoneFam)
+%         list(i)=get(hNoneFam(i),'Value');
+%         lista(i)=cellstr(get(hNoneFam(i),'Tag'));
+%         IDFam=char(lista(i));
+%         if list(i)==1
+%             indstr=findstr(IDFam,'Q');
+%             family(k)=cellstr(IDFam(indstr(2):length(IDFam)));
+%             TagFind=['ckbox_' char(family(k)) '_'];
+%             TagFindRad=['radioQ_All_' char(family(k))];
+%
+%             chkb=findobj('Style','checkbox','-and','-regexp','Tag',TagFind);
+%             radQ=findobj('Style','radiobutton','-and','-regexp','Tag',TagFindRad);
+%             %radAll=findobj('Style','radiobutton','-and','-regexp','Tag','radio_ALL');
+%             %set(radAll,'Value',0);
+%             set(radQ,'Value',0)
+%             for j=1:length(chkb)
+%                 set(chkb(j),'Value',0);
+%             end
+%
+%             %cellule(k)=str2num(IDQuad(indstr(2)+1:indstr(3)-1));
+%             %element(k)=str2num(IDQuad(indstr(3)+1:length(IDQuad)));
+%             k=k+1;
+%         end
+%
+%     end
Index: /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_sextu.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_sextu.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/BBAgui_sextu.m	(revision 17)
@@ -0,0 +1,1369 @@
+function BBAgui_sextu(arg1,arg2)
+
+%% PARAMETRES DES PANELS:Dimensions
+fontsize=12;
+hradio=12;
+lradio=50;
+espV=10;
+espH=10;
+OffNone=20;
+
+%Panels "Qi" (pour servir des paramÃštres)
+lpanel=10*(lradio+espH/4)+OffNone+espH;
+mult=1;
+hpanel=mult*hradio+(mult+1)*espV+fontsize;
+hpospan=hpanel+espV;
+
+%Panel "ALL QP"
+lpanQP=2*(lradio+espH);
+hpanQP=2*hradio+2*espV+fontsize;
+
+%Panel "Plane"
+lpanPlane=2*(lradio+espH);
+hpanPlane= hpanQP;
+% checkbox: "Horizontal"
+lHrz=lradio+20;
+hHrz=hradio;
+
+
+% checkbox: "Vertical"
+lVert=lradio+10;
+hVert=hradio;
+
+
+%Panel "Method"
+lpanMeth=2.5*(lradio+espH);
+hpanMeth= hpanQP;
+
+% checkbox: "M.E.C."
+lMec=lradio+20 ;
+hMec=hradio;
+
+
+% checkbox: "BMP4CM"
+lBmp4cm=lradio+30;
+hBmp4cm=hradio;
+
+%Figure
+largeurFig=1.8*(10*(lradio+espH)+4*espH);%10*80+2*20;
+hauteurFig=20*hradio+32*espV+10*fontsize+10*espV+hpanQP+espV+fontsize;
+
+%Plot
+lPlot=largeurFig-lpanel-200;
+hPlot=0.4*hauteurFig;
+
+
+%pour les sextu
+larSp=largeurFig-lpanel-30;
+HautSp=2*hpanel+espV;
+
+
+% Zone de texte: Qp en cours de mesure
+lQpMes1= 6.5*lradio;
+hQpMes1=2*hradio;
+
+
+% Zone de texte BPM: utilisÃ©
+lBpm=2*lradio+20;
+hBpm=2*hradio;
+
+% Zone de texte BPM: utilisÃ©
+lcor=2*lradio+20;
+hcor=2*hradio;
+
+% Zone de texte: Qp mesurÃ© prÃ©cedemment
+lQpMes0= lBpm;
+hQpMes0= hBpm;
+
+% Zone de texte heure de la mesure prÃ©cÃ©dente
+lClock=5*lradio;%+2*espH;
+hClock=hBpm;
+
+
+
+%Zone de texte:valeur offset BPM
+loff= 5*lradio;
+hoff=2*hradio;
+
+
+%Zone de texte:RMS Fit
+lrms= 11*lradio;
+hrms=2*hradio;
+
+%Zone de texte:Name File
+lfich=11*lradio;
+hfich=2*hradio;
+
+% Pushbutton pour lancer le BBA
+lBBA=3*lradio;
+hBBA=3*hradio;
+
+lmanu=1.2*lradio;
+hmanu=2*espV;
+
+lnbCor=lradio;
+hnbCor=2*espV;
+
+lStCor=lradio;
+hStCor=2*espV;
+
+lOffCor=lradio;
+hOffCor=2*espV;
+
+lDelais=lradio;
+hDelais=2*espV;
+
+lStQp=lradio;
+hStQp=2*espV;
+
+
+
+%% PARAMETRES DES PANELS: Positions
+
+hposrad=(hpanPlane-fontsize-hradio)/2;
+
+%Panel "ALL QP"
+HposQp=10;
+VposQp=hauteurFig-hpanQP-10;
+
+%Panel "Plane"
+HposPlane=lpanQP+(lpanel-lpanQP-lpanMeth)/2-lpanPlane/2;
+VposPlane=hauteurFig-hpanPlane-10;
+
+% checkbox: "Horizontal"
+HHrz= 5;
+VHrz=hposrad;
+
+
+% checkbox: "Vertical"
+HVert=5+1*(lradio+espH)+10;
+VVert=hposrad;
+
+
+%Panel "Method"
+%HposMeth=HposPlane+espH+lpanPlane;
+HposMeth=10+lpanel-lpanMeth;%HposQp+10*(lradio+espH)+OffNone-lpanMeth;
+VposMeth=hauteurFig-hpanMeth-10;
+
+% checkbox: "M.E.C."
+HMec=5;
+VMec=hposrad;
+
+
+% checkbox: "BMP4CM"
+HBmp4cm=5+1.5*(lradio+espH)-20;
+VBmp4cm=hposrad;
+
+
+
+
+
+%pour les sextu
+HposSp=lpanel+20;
+VposSp=VposMeth-2*espV-hpanel-hpospan;%hauteurFig-4*(hpanel+espV)
+
+
+%Plot
+HposPlot=lpanel+(largeurFig-lpanel)/2-lPlot/2+espH;
+VposPlot=hauteurFig/2-125;
+
+% Zone de texte Qp en cours de mesure
+HQpMes1=lpanel+(largeurFig-lpanel)/2-lQpMes1/2;%+2*espH;
+VQpMes1=hauteurFig-5*espV;
+
+% Zone de texte BPM: utilisÃ©
+HBpm=lpanel+(largeurFig-lpanel)/2+espH+lcor/2;
+VBpm=13*hposrad;
+
+% Zone de texte COR: utilisÃ©
+Hcor=lpanel+(largeurFig-lpanel)/2-lcor/2;
+Vcor=13*hposrad;
+
+% Zone de texte Qp mesurÃ© prÃ©cedemment
+HQpMes0=lpanel+(largeurFig-lpanel)/2-lQpMes0-espH-lcor/2;%+2*espH;
+VQpMes0=VBpm;
+
+% Zone de texte heure de la mesure prÃ©cÃ©dente
+HClock=lpanel+(largeurFig-lpanel)/2-lClock/2;%+lcor/2+lBpm+2*espH;%+2*espH;
+VClock=VBpm+hClock+espV;
+
+%Zone de texte:valeur offset BPM
+Hoff=lpanel+(largeurFig-lpanel)/2-loff/2;
+Voff=10*hposrad;
+
+%Zone de texte:RMS Fit
+Hrms=lpanel+(largeurFig-lpanel)/2-lrms/2;
+Vrms=hauteurFig-6*espV-hQpMes1;
+
+%Zone de texte:Name File
+Hfich=lpanel+(largeurFig-lpanel)/2-lfich/2;
+Vfich=hauteurFig-7*espV-2*hrms;
+
+% Pushbutton pour lancer le BBA
+HBBA=lpanel+(largeurFig-lpanel)/2-lBBA/2;
+VBBA=50;
+
+
+Hmanu=largeurFig-1.1*lradio-espV;
+Vmanu=150;
+
+HnbCor=largeurFig-lradio-espV;
+VnbCor=125;
+
+
+HStCor=largeurFig-lradio-espV;
+VStCor=100;
+
+HOffCor=largeurFig-lradio-espV;
+VOffCor=75;
+
+HDelais=largeurFig-lradio-espV;
+VDelais=50;
+
+HStQp=largeurFig-lradio-espV;
+VStQp=25;
+
+%%5+2*(lradio+espH)+10
+
+
+%%5+2*(lradio+espH)+10
+
+
+if nargin<1 %CrÃ©er l'IHM
+
+    for i=1:10
+        QuadFamilyList(i)=cellstr(strcat('Q',num2str(i)));
+    end
+
+    % ParamÃštres des Ã©lÃ©ments de l'IHM
+
+    %% FIGURE
+    figCol=[0.93,0.75,0.51];
+    f = figure( 'Visible','on',...
+        'Units','pixels',...
+        'Position',[100,100,largeurFig,hauteurFig],...
+        'HandleVisibility','on',...
+        'Name','B.B.A. -> Offsets Hunting',...
+        'Tag','Ola',...
+        'Color',[0.93,0.75,0.51]);
+    %%
+    %% AXE = Plots
+    Hb=axes('Parent',f);
+    set(Hb,'Units','pixels')
+    set(Hb,'Tag','merit_Plot');
+
+    get(Hb,'Tag')
+    %         alors=get(Hb,'Position')
+    set(Hb,'Position',[HposPlot VposPlot lPlot hPlot]);
+
+    ze=[0 0];ord2=[0 0];ord1=[0 0];
+    CorCons=[0 0];BpmRes=[0 0];merit(:,1)=[0 0];merit(:,2)=[0 0];
+    center=0; y1=[-1 1];x1=[-1 1];offs=0;y2=[-2 2]
+    hold on
+    [Bx1,Hb1,Hb2]=plotyy(Hb,ze,ord2,ze,ord1,'plot');
+    set(Bx1(1),'Tag','axe_calc_bpm')
+    set(Bx1(2),'Tag','axe_calc_merit')
+    set(Hb1,'Tag','calc_bpm')
+    set(Hb2,'Tag','calc_merit')
+
+    set(Hb1,'Color','black','LineStyle','-.');%,'LineStyle','--')
+    set(Hb2,'Color','black','LineStyle','-.');
+    %set(Bx1(1),'YLim',y1);
+    %set(Bx1(2),'YLim',y2);
+    axis(Bx1(1),'off');
+    axis(Bx1(2),'off');
+
+    [Ax1,Ha1,Ha2]=plotyy(Hb,CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');
+    set(Ax1(1),'Tag','axe_mes_bpm')
+    set(Ax1(2),'Tag','axe_mes_merit')
+    set(Ha1,'Tag','mes_bpm')
+    set(Ha2,'Tag','mes_merit')
+
+    set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+    set(Ha2,'Marker','x','Color','red');
+
+    %x1=get(Ax1(1),'XLim');
+    %set(Ax1,'Visible','off');
+    %set(Ax1(1),'YLim',y1);
+    %set(Ax1(2),'YLim',y2);
+    axis(Ax1(1),'on')
+    axis(Ax1(2),'on');
+    %set(Ax1(1),'YLim',y1,'YColor','blue');
+    %set(Ax1(2),'YLim',y2,'YColor','red');
+    set(Ax1(1),'YColor','blue');
+    set(Ax1(2),'YColor','red');
+
+    set(get(Ax1(1),'XLabel'),'String','COR Value (amps)');
+    set(get(Ax1(1),'YLabel'),'String','(mm)');
+    set(get(Ax1(2),'YLabel'),'String','(mm^2)');
+
+    pl1=plot(Hb,[center center],[-1 0],'k','LineStyle','-.');
+    pl2=plot(Hb,[-1 center],[offs offs],'k','LineStyle','-.');
+    pl3=plot(Hb,center,offs,'ko');
+    set(pl1,'Tag','loc_off1');
+    set(pl2,'Tag','loc_off2');
+    set(pl3,'Tag','loc_off3');
+    drawnow
+    hold off
+
+    %         [Ax1,Ha1,Ha2]=plotyy(Hb,[1 3 9],[4 5 8],[4 7 12],[1 2 3])
+    %         set(Ha1,'Marker','x','Color','blue');
+    %         set(Ha2,'Marker','x','Color','red');
+    %         hold on
+    %         axis(Ax1,'off')
+    %         [Bx1,Hb1,Hb2]=plotyy(Hb,[12 20 45],[4 10 -6],[0 2 41],[1 -20 3])
+    %         axis(Bx1,'on')
+    %         hold off
+
+
+    %     f2=uipanel( 'Parent',f,'BackgroundColor',[0.93,0.75,0.51],...
+    %                 'Visible','on',...
+    %                 'Units','pixels',...
+    %                 'Position',[0,0,lpanel+20,hauteurFig],...
+    %                 'HandleVisibility','on',...
+    %                 'Visible','on');
+
+
+    %%
+    Hdecale=lradio+espH;
+    % radio bouton manuel ou auto
+    radManu=uicontrol('Parent',f,...
+        'BackgroundColor',[1,0,0],...
+        'Style','radiobutton',...
+        'String', 'Manual',...
+        'Units','pixels',...
+        'Callback',     'BBAgui_sextu(''manu'')',...
+        'Tag',   'radio_manu',...
+        'Value',0,...
+        'Position',[Hmanu Vmanu lmanu hmanu]);
+
+    edNbCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '13',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_nbCor',...
+        'Value',0,...
+        'Position',[HnbCor VnbCor lnbCor hnbCor]);
+
+    edStepCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '0.1',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_StCor',...
+        'Value',0,...
+        'Position',[HStCor VStCor lStCor hStCor]);
+
+    edOffCor=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '0',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_OffCor',...
+        'Value',0,...
+        'Position',[HOffCor VOffCor lOffCor hOffCor]);
+
+    edDelais=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '4',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_Delais',...
+        'Value',0,...
+        'Position',[HDelais VDelais lDelais hDelais]);
+
+    edStQp=uicontrol('Parent',f,...
+        'BackgroundColor',[1 1 1],...
+        'Style','edit',...
+        'String', '1.75',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_StQp',...
+        'Value',0,...
+        'Position',[HStQp VStQp lStQp hStQp]);
+
+    %%
+    textNbCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'nb Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_nbCor',...
+        'Value',0,...
+        'Position',[HnbCor-Hdecale VnbCor lnbCor hnbCor]);
+
+    textStepCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Step Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_StCor',...
+        'Value',0,...
+        'Position',[HStCor-Hdecale VStCor lStCor hStCor]);
+
+    textOffCor=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Offs Cor',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_OffCor',...
+        'Value',0,...
+        'Position',[HOffCor-Hdecale VOffCor lOffCor hOffCor]);
+
+    textDelais=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Delai',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_Delais',...
+        'Value',0,...
+        'Position',[HDelais-Hdecale VDelais lDelais hDelais]);
+
+    textStQp=uicontrol('Parent',f,...
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',12,...
+        'String', 'Step Qp',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'text_StQp',...
+        'Value',0,...
+        'Position',[HStQp-Hdecale VStQp lStQp hStQp]);
+
+    %%   % PANEL pour sÃ©lectionner ou dÃ©sÃ©lectionner tous les Qp
+    QpCol=[0.63,0.8,0.35];
+
+    AllQP=uipanel('Parent',f,...
+        'BackgroundColor',QpCol,...%[0,0.9,0.9]
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','ALL QP',...
+        'FontSize',12,...
+        'Units','pixels',...
+        'Position',[HposQp VposQp lpanQP hpanQP],...
+        'Visible','on');
+
+
+    hposrad=(hpanQP-fontsize-hradio)/2;
+
+    % radio button 'ALL'
+    radAll=uicontrol('Parent',AllQP,...
+        'BackgroundColor',QpCol,...
+        'Style','radiobutton',...
+        'String', 'ALL',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_sextu(''typeAll'')',...
+        'Tag',   'radio_All',...
+        'Value',0,...
+        'Position',[5 hposrad lradio hradio]);
+
+    % radio button 'None'
+    radNone=uicontrol('Parent',AllQP,...
+        'BackgroundColor',QpCol,...
+        'Style','radiobutton',...
+        'String', 'None',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_sextu(''typeNone'')',...
+        'Tag',   'radio_None',...
+        'Value',0,...
+        'Position',[5+lradio+espH/4 hposrad lradio hradio]);
+
+
+
+    %%  % PANEL pour sÃ©lectionner le plan de BBA
+    PlCol=[1,0.8,0];
+    panPlane=uipanel('Parent',f,...
+        'BackgroundColor',PlCol,...
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','Plane',...
+        'Units','pixels',...
+        'Position',[HposPlane VposPlane lpanPlane+20 hpanPlane],...
+        'Visible','on');
+    hposrad=(hpanPlane-fontsize-hradio)/2;
+    %             radAll=uicontrol('Parent',panPlane,...%[0.2,1,0]
+    %                     'BackgroundColor',PlCol,...
+    %                     'Style','radiobutton',...
+    %                     'String', 'Both',...
+    %                     'Units','pixels',...
+    %                     'Callback',      '',...
+    %                     'Tag',   'radioP_All_Plane',...
+    %                     'Value',0,...
+    %                     'Position',[5 hposrad lradio hradio]);
+
+    ckb_Hrz=uicontrol('Parent',panPlane,...
+        'BackgroundColor',PlCol,...
+        'Style','checkbox',...
+        'String', 'Horizontal',...
+        'Units','pixels',...
+        'Callback','BBAgui_sextu(''check'')',...
+        'Tag',  'ckboxP_Hrz',...
+        'Value',0,...
+        'Position',[HHrz VHrz lHrz hHrz]);
+
+    ckb_Vert=uicontrol('Parent',panPlane,...
+        'BackgroundColor',PlCol,...
+        'Style','checkbox',...
+        'String', 'Vertical',...
+        'Units','pixels',...
+        'Callback', 'BBAgui_sextu(''check'')',...
+        'Tag',  'ckboxP_Vert',...
+        'Value',0,...
+        'Position',[HVert VVert lVert hVert]);
+
+    %% % PANEL pour sÃ©lectionner la mÃ©thode de BBA
+
+    MetCol=[0.8,0.5,0.5];
+    panMeth=uipanel('Parent',f,...
+        'BackgroundColor',MetCol,...%[1,0.8,0]
+        'FontUnits','pixels',...
+        'FontWeight','bold',...
+        'FontSize',fontsize,...
+        'Title','Method',...
+        'FontSize',12,...
+        'Units','pixels',...
+        'Position',[HposMeth-10 VposMeth lpanMeth+10 hpanMeth],...
+        'Visible','on');
+
+
+    %            radAll_Meth=uicontrol('Parent',panMeth,...
+    %                     'BackgroundColor',MetCol,...
+    %                     'Style','radiobutton',...
+    %                     'String', 'Both',...
+    %                     'Units','pixels',...
+    %                     'Callback',      '',...
+    %                     'Tag',   'radioM_All_Meth',...
+    %                     'Value',0,...
+    %                     'Position',[5 hposrad lradio hradio]);
+
+    ckb_mec=uicontrol('Parent',panMeth,...
+        'BackgroundColor',MetCol,...
+        'Style','checkbox',...
+        'String', 'M.E.C.',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'ckboxM_MEC',...
+        'Value',0,...
+        'Position',[HMec VMec lMec hMec]);
+
+    ckb_bmp=uicontrol('Parent',panMeth,...
+        'BackgroundColor',MetCol,...
+        'Style','checkbox',...
+        'String', 'Bump 4 CM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',  'ckboxM_BMP4CM',...
+        'Value',0,...
+        'Position',[HBmp4cm VBmp4cm lBmp4cm hBmp4cm]);
+
+
+
+    %% Panel pour les sextupoles
+    %    SpCol=[0.63,0.8,0.35];
+    %    panSp=uipanel('Parent',f,...
+    %        'BackgroundColor',SpCol,...%[1,0.8,0]
+    %        'FontUnits','pixels',...
+    %        'FontWeight','bold',...
+    %        'FontSize',fontsize,...
+    %        'Title','Sextu',...
+    %        'FontSize',12,...
+    %        'Units','pixels',...
+    %        'Position',[HposSp VposSp larSp HautSp],...
+    %        'Visible','on');
+
+
+    %% Bouton pour lancer le BBA
+    ActCol=[0.93,0.8,0.2];
+
+    PushAction=uicontrol('Parent',f,...
+        'BackgroundColor',ActCol,...
+        'Style','pushbutton',...
+        'String', 'ACTION',...
+        'Units','pixels',...
+        'Callback',      'BBAgui_sextu(''action'')',...
+        'Tag',   'push_Act',...
+        'Value',0,...
+        'Position',[HBBA VBBA lBBA hBBA]);
+    %% Zone de texte pour afficher le quadrupole en cours de mesure
+
+    TxtQp1=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String','Qp [cell elt]',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_work1',...
+        'Position',[HQpMes1 VQpMes1 lQpMes1 hQpMes1]);
+
+
+
+    %% Zone de texte pour afficher le quadrupole mesurÃ© prÃ©cedemment
+
+    TxtQp0=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String','Qp [cell elt]',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_work0',...
+        'Position',[HQpMes0 VQpMes0 lQpMes0 hQpMes0]);
+
+    %% Zone de texte pour afficher le BPM utilisÃ©
+
+    TxtBpm=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'BPM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_BPM',...
+        'Position',[HBpm VBpm lBpm hBpm]);
+
+    %% Zone de texte pour afficher le COR utilisÃ©
+
+    TxtBpm=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'COR',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_COR',...
+        'Position',[Hcor Vcor lcor hcor]);
+
+    %% Zone de texte pour afficher l'heure de la mesure prÃ©cÃ©dente
+
+    TxtClock=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',figCol,...
+        'Style','text',...
+        'FontSize',16,...
+        'String', 'Clock',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_Clock',...
+        'Position',[HClock VClock lClock hClock]);
+
+    %% Zone de texte pour afficher la valeur de l'offset BPM
+
+    TxtOf=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',16,...
+        'FontWeight','bold',...
+        'String', 'Offset BPM',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_offset',...
+        'Position',[Hoff Voff loff hoff]);
+
+    %% Zone de texte pour la qualitÃ© du FIT
+
+    TxtFit=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',14,...
+        'FontWeight','bold',...
+        'String', 'RMS Fit',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_RMS',...
+        'Position',[Hrms Vrms lrms hrms]);
+
+    %% Zone de texte pour le nom du fichier
+    TxtFile=uicontrol(   'Parent',f,...%[0.2,1,0]
+        'BackgroundColor',[1,1,1],...
+        'Style','text',...
+        'FontSize',12,...
+        'FontWeight','bold',...
+        'String', 'Name File',...
+        'Units','pixels',...
+        'Callback',      '',...
+        'Tag',   'edit_File',...
+        'Position',[Hfich Vfich lfich hfich]);
+
+    %% Boucle pour crÃ©er les 160 checkbox, les 10 panels et les radiobutton associÃ©s
+    incr=0;
+    multpos=0;
+    hpospan=0;
+    for i=1:10%10
+        QuadDevList=getlist(char(QuadFamilyList(i)));
+        long=length(QuadDevList);
+        TitleOffset=0;
+
+        if long == 8
+            mult=1;
+        elseif long == 16
+            mult=2;
+        elseif long==24
+            mult=3;
+        end
+
+        multpos=multpos+mult;
+
+        hpanel=mult*hradio+(mult+1)*espV+fontsize;
+        %lpanel=10*(lradio+espH)+OffNone;
+        hpospan=hpospan+hpanel+espV;
+        % 10 Panel 'Qi'
+        hp(i) = uipanel('Parent',f,...
+            'BackgroundColor',QpCol,...
+            'FontUnits','pixels',...
+            'FontWeight','bold',...
+            'FontSize',fontsize,...
+            'Title',char(QuadFamilyList(i)),...
+            'FontSize',12,...
+            'Units','pixels',...
+            'Position',[10 hauteurFig-hpanQP-espV-hpospan-10 lpanel hpanel],...
+            'Visible','on');
+
+        NameQuadFamAll=['All ' char(QuadFamilyList(i))];
+        NameRadioAll=['radioQ_All_' char(QuadFamilyList(i))];
+
+        NameQuadFamNone=['None ' char(QuadFamilyList(i))];
+        NameRadioNone=['radioQ_None_' char(QuadFamilyList(i))];
+
+        hposrad=(hpanel-fontsize-hradio)/2;
+
+        % 10 radio button pour sÃ©lectionner les Qp par familles
+        radAll(i)=uicontrol('Parent',hp(i),...
+            'BackgroundColor',QpCol,...
+            'Style','radiobutton',...
+            'String', NameQuadFamAll,...
+            'Units','pixels',...
+            'Callback',      'BBAgui_sextu(''familyAll'')',...
+            'Tag',   NameRadioAll,...
+            'Value',0,...
+            'Position',[5 hposrad lradio+5 hradio]);
+
+        % 10 radio button pour dÃ©sÃ©lectionner par familles
+        radNone(i)=uicontrol('Parent',hp(i),...
+            'BackgroundColor',QpCol,...
+            'Style','radiobutton',...
+            'String', NameQuadFamNone,...
+            'Units','pixels',...
+            'Callback',      'BBAgui_sextu(''familyNone'')',...
+            'Tag',   NameRadioNone,...
+            'Value',0,...
+            'Position',[5+lradio+espH/4 hposrad lradio+OffNone hradio]);
+
+        %% Boucle des checkbox
+        for j=1:length(QuadDevList)
+            QuadFamTot(j+incr)=QuadFamilyList(i);
+            QuadDevTot(j+incr,:)=QuadDevList(j,:);
+            ValueList(j+incr)=0;
+
+
+            NameQuadDev=char(['[' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2)) ']']);
+            NameControl=['ckbox_' char(QuadFamilyList(i)) '_' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2))];
+            if j>0 & j<=8
+                valjH=j;
+                valjV=1;
+            elseif j>8 & j<=16
+                valjH=j-8;
+                valjV=2;
+            elseif j>16 & j<=24
+                valjH=j-16;
+                valjV=3;
+            end
+            % N=8,16 or 24 pour sÃ©lectionner les Qp individuellement
+            cont(i,j)=uicontrol('Parent',hp(i),...
+                'BackgroundColor',QpCol,...
+                'Style','checkbox',...
+                'String', NameQuadDev,...
+                'Units','pixels',...
+                'Callback',   'BBAgui_sextu(''check'')'   ,...%'BBAgui_sextu(''Ncheck'')'
+                'Tag',   NameControl,...
+                'Value',ValueList(j+incr),...
+                'Position',[(valjH+1)*(lradio+espH/4)+OffNone hpanel-(valjV)*(hradio+espV)-espV lradio hradio]);
+            %'Position',[0 0-0.3*(j-1) 0.1 .1]);
+        end
+        %%
+        incr=incr+length(QuadDevList);
+
+    end
+
+    delete('guy*.mat')
+    save('guytrydata1.mat','QuadFamTot','QuadDevTot')
+    set(f,'Visible','on');
+
+
+    %% Conditions sur les checkbox "[i j]"
+
+elseif strcmpi(arg1,'manu')  % bouton manuel/auto
+
+    autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+    etat=get(autom,'Value')
+    if etat==1
+        set(autom,'Backgroundcolor',[0,1,0]);
+    elseif etat==0
+        set(autom,'Backgroundcolor',[1,0,0]);
+    end
+    %%
+elseif strcmpi(arg1,'action')  % ressortir les checkbox cochï¿œes
+    %delete('guytrydata2.mat')
+    clear list h lista;
+    disp('ok!!')
+    f=findobj('Tag','Ola');
+    set(f,'Visible','on');
+    h=findobj('Style','checkbox','-and','-regexp','Tag','Q');
+
+    length(h);
+    k=1;
+    for i=1:length(h)
+        list(i)=get(h(i),'Value');
+        lista(i)=cellstr(get(h(i),'Tag'));
+        IDQuad=char(lista(i));
+        if list(i)==1
+            indstr=findstr(IDQuad,'_');
+            family(k)=cellstr(IDQuad(indstr(1)+1:indstr(2)-1));
+            cellule(k)=str2num(IDQuad(indstr(2)+1:indstr(3)-1));
+            element(k)=str2num(IDQuad(indstr(3)+1:length(IDQuad)));
+            QpDevList(k,1)=cellule(k);
+            QpDevList(k,2)=element(k);
+            k=k+1;
+        end
+
+    end
+    sum(list);
+    list;
+    lista;
+    length(list);
+    %connaitre la mÃ©thode utilisÃ©e
+    clear list1 h1 lista1 MetList;
+    f1=findobj('Tag','Ola');
+    h1=findobj('Style','checkbox','-and','-regexp','Tag','ckboxM');
+    MetList=cellstr('bad');
+    varMet=0;
+    for u=1:length(h1)
+        list1(u)=get(h1(u),'Value');
+        lista1(u)=cellstr(get(h1(u),'Tag'));
+        IDMeth=char(lista1(u));
+        if list1(u)==1
+            varMet=varMet+1;
+            indstr=findstr(IDMeth,'_');
+            MetList(varMet)=cellstr(IDMeth(indstr+1:length(IDMeth)))
+        end
+    end
+    if  strcmpi(char(MetList(1)),'bad');
+        MetList(1,:)=cellstr('MEC');
+        hp=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxM_MEC');
+        set(hp,'Value',1);
+    end
+
+    %connaitre les plans utilisÃ©
+    clear list2 h2 lista2 PlaneList0;
+    f=findobj('Tag','Ola');
+    h2=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxP');
+    PlaneList0=-1;
+    varPl=0;
+    for v=1:length(h2)
+        list2(v)=get(h2(v),'Value');
+        lista2(v)=cellstr(get(h2(v),'Tag'));
+        IDPlane=char(lista2(v));
+        if list2(v)==1
+            varPl=varPl+1;
+            indstr=findstr(IDPlane,'_');
+            PlaneList(varPl)=IDPlane(indstr+1);
+            if     PlaneList(varPl)=='H'
+                PlaneList0(varPl)=1;
+            elseif PlaneList(varPl)=='V'
+                PlaneList0(varPl)=2;
+            end
+        end
+    end
+    %if length(PlaneList0)>1
+    %    PlaneList0=0;
+    if  PlaneList0(1)<0
+        PlaneList0=1;
+        hp=findobj('-and','Style','checkbox','-and','-regexp','Tag','ckboxP_H');
+        set(hp,'Value',1);
+    end
+
+    %%
+    % Lancement du programme BBA
+    %Hb=findobj('Tag','merit_Plot');
+    %chHb=get(gca,'Children')
+
+
+    %while ~isempty(chHb)
+    %chHb=get(Hb,'Children')
+
+
+    %pause(1)
+    %cla(chHb(1))
+    %cla(chHb(2))
+    % cla(chHb(3))
+    % cla(chHb(4))
+    % cla(chHb(5))
+
+
+    %end
+    %cla(Bx1(2))
+    %cla(Ax1(1))
+    %cla(Ax1(2))
+
+    G1=findobj('Tag','Ola');
+    child_handles = get(G1,'Children');
+    %get(child_handles,'Type');
+    G1=findobj('Tag','merit_Plot');
+    set(G1,'NextPlot','replace');
+    hold off
+    pause(5)
+    format long
+    PlaneList0
+    MetList
+%    family
+%    cellule;
+ %   element;
+ %   QpDevList
+    longElem=1
+    indice=10; %indice permet de numï¿œroter les figures
+    for w=1:longElem
+        %indice=indice+1;
+        for loop=1:length(PlaneList0)
+            if PlaneList0(loop)==1
+                TextBpm='BPMx';
+                TextDel=char('Delta_X=');
+                TextCor='HCOR';
+            elseif PlaneList0(loop)==2
+                TextDel=char('Delta_Z=');
+                TextBpm='BPMz';
+                TextCor='VCOR';
+            end
+
+
+            pause(1);
+            danow= datestr(now);
+            %clear Ax1 Bx1 Ha1 Ha2 Hb1 Hb2
+
+            % Ã©criture dans les zones de texte
+            f=findobj('Style','text','-and','-regexp','Tag','edit_work1');
+%            TextQp1=char([char(family(w))   '  [' num2str(QpDevList(w,1)) ' ' num2str(QpDevList(w,2)) ']  @  ' danow]);
+%           set(f,'String',TextQp1);
+
+            %recherche de paramÃštres
+            %Automatisation
+            autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+            etat=get(autom,'Value')
+            if etat==1
+                maxloop=1;
+            elseif etat==0
+                maxloop=2;
+                nbDeltaCor=3;
+                OffCor=0;
+                StepCor=1.2;
+                Delais=2.5;
+                StepQp=2.5;
+            end
+
+           
+
+            for t=1:maxloop
+                autom=findobj('Style','radiobutton','-and','-regexp','Tag','radio_manu');
+                etat=get(autom,'Value')
+                if etat==1
+                    set(autom,'Backgroundcolor',[0,1,0])
+                    ed1=findobj('Style','edit','-and','-regexp','Tag','edit_nbCor');
+                    nbDeltaCor=str2num(get(ed1,'String'))
+
+                    ed2=findobj('Style','edit','-and','-regexp','Tag','edit_StCor');
+                    StepCor=str2num(get(ed2,'String'))
+
+                    ed3=findobj('Style','edit','-and','-regexp','Tag','edit_OffCor');
+                    OffCor=str2num(get(ed3,'String'))
+
+                    ed4=findobj('Style','edit','-and','-regexp','Tag','edit_Delais');
+                    Delais=str2num(get(ed4,'String'))
+
+                    ed5=findobj('Style','edit','-and','-regexp','Tag','edit_StQp');
+                    StepQp=str2num(get(ed5,'String'))
+
+                else
+                    set(autom,'Backgroundcolor',[1,0,0])
+                    ed1=findobj('Style','edit','-and','-regexp','Tag','edit_nbCor');
+                    TextnbDeltaCor=num2str(nbDeltaCor);
+                    set(ed1,'String',TextnbDeltaCor);
+
+                    ed2=findobj('Style','edit','-and','-regexp','Tag','edit_StCor');
+                    TextStepCor=num2str(StepCor)
+                    set(ed2,'String',TextStepCor);
+
+                    ed3=findobj('Style','edit','-and','-regexp','Tag','edit_OffCor');
+                    TextOffCor=num2str(OffCor)
+                    set(ed3,'String',TextOffCor);
+
+                    ed4=findobj('Style','edit','-and','-regexp','Tag','edit_Delais');
+                    TextDelais=num2str(Delais);
+                    set(ed4,'String',TextDelais);
+
+                    ed5=findobj('Style','edit','-and','-regexp','Tag','edit_StQp');
+                    TextStepQp=num2str(StepQp);
+                    set(ed5,'String',TextStepQp);
+                end
+
+                drawnow
+                [merit,CorCons,BpmDevRes,offs,OffsCor,center,ze,ord1,ord2,BpmRes,iniCor,rmsFit]=bba_sextu('QT',PlaneList0(loop),char(MetList),nbDeltaCor,StepCor,OffCor,Delais,StepQp);
+                %center
+
+                %         G1=findobj('Tag','merit_Plot');
+                %         axes(G1);
+                %         cla
+                %         G1=findobj('Tag','Ola');
+
+                %        load('resu.mat')
+                %        trace_bba.m
+
+                %CorCons=CorCons-iniCor;
+                %CorCons=CorCons-iniCor;
+                %center=center-iniCor;
+
+                droite=polyfit(CorCons,BpmRes,1);
+                %BpmDevRes=[1 5];
+
+               
+
+                Textrms=num2str(round(rmsFit*10000000)/10000000);
+                Delta1=merit(1,2);
+                Delta2=merit(length(merit),2);
+                TextDelta1=num2str(round(Delta1*100000)/100000);
+                TextDelta2=num2str(round(Delta2*100000)/100000);
+                f=findobj('Style','text','-and','-regexp','Tag','edit_RMS');
+                TextOff2=char(['RMS Fit:  ' Textrms ' mm^2 | Min: ' TextDelta1 ' mm^2 | Max: ' TextDelta2 ' mm^2']);
+                set(f,'String',TextOff2);
+
+                
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_offset');
+                TextOff1=char(['Offset ' TextBpm]);
+                set(f,'String',TextOff1);
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_BPM');
+                TextOff2=char([TextBpm ' [' num2str(BpmDevRes(1,1)) '  ' num2str(BpmDevRes(1,2)) ']'] );
+                set(f,'String',TextOff2);
+
+               
+
+                f=findobj('Style','text','-and','-regexp','Tag','edit_Clock');
+                TextClock=char(danow);%  @  ' danow(13:length(danow))]);
+                set(f,'String',TextClock);
+                clear x1 y1 y2
+
+                x1=[min(CorCons)-0.1-iniCor max(CorCons)+0.1-iniCor];
+                deltay11=max(BpmRes)-min(BpmRes);
+                y11=[min(BpmRes) max(BpmRes)];
+                y12=[min(ord2) max(ord2)];
+                y1=[min([y11(1) y12(1)])-0.01*deltay11 max([y11(2) y12(2)])+0.01*deltay11];
+
+                deltay21=max(merit(:,2))-min(merit(:,2));
+                y21=[min(merit(:,2)) max(merit(:,2))];
+                y22=[min(ord1) max(ord1)];
+                y2=[min([y21(1) y22(1)])-0.01*deltay21 max([y21(2) y22(2)])+0.01*deltay21];
+                G1=findobj('Tag','Ola');%,'-and','Tag','merit_Plot')
+                drawnow
+                Hb=findobj('Parent',G1,'-and','Tag','merit_Plot');
+                %cla(Hb)
+                %hold(Hb,'off')
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+
+                %pl3=plot(Hb,center,offs,'Marker','o','Color','black');
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+                % hold(Hb,'on')
+                %Hb=findobj('Parent',G1,'-and','Tag','merit_Plot')
+                %Hb=axes('Parent',f)
+                set(Hb,'Units','pixels');
+                %hold on
+                alors=get(Hb,'Position');
+                %set(Hb,'Position',[900 520 550 400]);
+                set(Hb,'Color','w');
+
+                %[Bx1,Hb1,Hb2]=plotyy(Hb,ze,ord2,ze,ord1,'plot');
+                Bx11=findobj('Tag','axe_calc_bpm');
+                set(Bx11,'YLim',y1);
+                set(Bx11,'XLim',x1);
+
+                Bx12=findobj('Tag','axe_calc_merit');
+                set(Bx12,'XLim',x1);
+                set(Bx12,'YLim',y2);
+
+                Hb1=findobj('Tag','calc_bpm');
+                set(Hb1,'XData',ze-iniCor,'YData',ord2);
+                Hb2=findobj('Tag','calc_merit');
+                set(Hb2,'XData',ze-iniCor,'YData',ord1);
+
+
+                drawnow
+                G1=findobj('Tag','Ola');
+
+
+                drawnow
+                %        [Ax1,Ha1,Ha2]=plotyy(Hb,CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');%,'Marker','x','Color','red')
+                %refreshdata(Ax1)
+                Ax11=findobj('Tag','axe_mes_bpm');
+                set(Ax11,'XLim',x1);
+                set(Ax11,'YLim',y1);
+
+
+                Ax12=findobj('Tag','axe_mes_merit');
+                set(Ax12,'XLim',x1);
+                set(Ax12,'YLim',y2);
+
+
+                Ha1=findobj('Tag','mes_bpm');
+                set(Ha1,'XData',CorCons-iniCor,'YData',BpmRes);
+
+                Ha2=findobj('Tag','mes_merit');
+                set(Ha2,'XData',merit(:,1)-iniCor,'YData',merit(:,2));
+
+                drawnow
+
+                ploRes1=findobj('Tag','loc_off1');
+                ploRes2=findobj('Tag','loc_off2');
+                ploRes3=findobj('Tag','loc_off3');
+                set(ploRes1,'XData',[center-iniCor center-iniCor],'YData',[y1(1) offs]);
+                set(ploRes2,'XData',[x1(1) center-iniCor],'YData',[offs offs]);
+                set(ploRes3,'XData',center-iniCor,'YData',offs);
+                disp(merit(:,2))
+                % %         set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+                % %         set(Ha2,'Marker','x','Color','red');
+                % %
+                % %         x1=get(Ax1(1),'XLim');
+                % %         %set(Ax1,'Visible','off');
+                %set(Ax11,'YLim',y1);
+                %set(Ax12,'YLim',y2);
+                %set(Ax11,'XLim',x1);
+                %set(Ax12,'XLim',x1);
+                %        axis(Ax11,'on')
+                %       axis(Ax12,'on');
+                % %         set(Ax1(1),'YLim',y1,'YColor','blue');
+                % %         set(Ax1(2),'YLim',y2,'YColor','red');
+                % %         if w==1
+                % %             set(get(Ax1(1),'XLabel'),'String','COR Value (amps)');
+                % %             set(get(Ax1(1),'YLabel'),'String','(mm)');
+                % %             set(get(Ax1(2),'YLabel'),'String','(mm^2)');
+                % %         end
+
+                %pl1=plot(Hb,[center center],[y1(1) offs],'k',[x1(1) center],[offs offs],'k',center,offs,'ko','LineStyle','-.');
+                %       G1=findobj('Tag','Ola');
+                %   child_handles = get(G1,'Children');
+                %   get(child_handles,'Type');
+                %pl2=plot(Hb,[x1(1) center],[offs offs],'Color','black','LineStyle','-.');
+                %pl3=plot(Hb,center,offs,'Marker','o','Color','black');%,text(center,offs,'\leftarrow ',...
+
+
+                %'HorizontalAlignment','left'))
+                %axis(pl1,'off');
+                %axis(pl2,'off');
+                %axis(pl3,'off');
+
+                %set(pl1 ,'Color','black','LineStyle','-.');
+                %set(pl2 ,'Color','black','LineStyle','-.');
+
+
+
+                %set(pl1,'YLim',y1);
+                %set(pl2,'YLim',y1);
+                %set(pl3,'YLim',y1);
+
+                %xlabel('COR Value (amps)')
+                %ylabel(Bx1(1),'(mm)')
+                %ylabel(Bx1(2),'(merit)')
+                drawnow;
+                % hold off
+                pause(2)
+                Hb=findobj('Tag','merit_Plot');
+
+
+
+                drawnow
+                f=findobj('Style','text','-and','-regexp','Tag','edit_offset');
+                offs1=round(100000*offs)/100;
+                TextOff=char([TextDel num2str(offs1) ' Âµm']);
+                set(f,'String',TextOff);
+                %plot(Hb,[4 7 12],[1 2 3])
+                drawnow
+                 testmerit=(merit(1,2)+merit(length(merit),2))
+               
+            mult=(0.01/testmerit)^(1/4)
+            DeltaCorMax=nbDeltaCor*StepCor*mult
+            nbDeltaCor=13;
+            StepCor=DeltaCorMax/(nbDeltaCor-1)
+            OffCor=OffsCor
+            StepQp=StepQp*mult
+            end
+
+           
+        end
+        %f=findobj('Tag','Ola');
+        %saveas(f,NameFilePNG,'png')
+    end
+
+    %%
+elseif strcmpi(arg1,'check')
+
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Exclusion entre checkbox=1 et None=1
+    hNone=findobj('Style','radiobutton','-and','-regexp','Tag','None');
+    set(hNone,'Value',0);
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %save('guytrydata2.mat','list','family','cellule','element');
+    %axes(handles.offset);
+    %axes('Position',[600 200 300 100]);
+
+
+    %% Conditions sur les boutons radio "radioQ_Qi"
+elseif strcmpi(arg1,'familyAll') | strcmpi(arg1,'familyNone')
+    disp('c bon')
+    familyType(arg1);
+    BBAgui_sextu('check');
+
+    %% Conditions sur le bouton radio "radio_ALL"
+elseif strcmpi(arg1,'typeAll') | strcmpi(arg1,'typeNone')
+    disp('c bon')
+    familyType(arg1);
+    whi=['family' arg1(5:length(arg1))];
+    BBAgui_sextu(whi);
+
+    %elseif strcmpi(arg1,'tex')
+
+end
+%%
+
+end
+
+
+
+
+%% fonction qui permet de gÃ©rer Ã  la fois les radioboutons "radioQ_Qi" et "radio_ALL"
+function familyType(tor)
+%type=tor(7:length(tor))
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+tor;
+strmatch('family',tor);
+cas=~isempty(strmatch('family',tor));
+
+if cas==1 %family
+    prefix='radioQ_';
+    type=tor(7:length(tor));
+    button1='ckbox_';
+    button2='';
+    index=2;
+    button3='_';
+    style='checkbox';
+else%total
+    prefix='radio_';
+    type=tor(5:length(tor));
+    button1='radioQ_';
+    button2=[type '_'];
+    button3='';
+    style='radiobutton';
+    index=1;
+end
+
+if strcmpi(type,'All');
+    type1='All';
+    type0='None';
+    val=1;
+else
+    type1='None';
+    type0='All';
+    val=0;
+    button1='ckbox_';
+    button2='';
+    index=2;
+    button3='_';
+    style='checkbox';
+end
+objTagTot0=['radio_' type0];
+hobjectTot0=findobj('Style','radiobutton','-and','Tag',objTagTot0);
+set(hobjectTot0,'Value',val);
+
+objTagFam1=['radioQ_' type1];
+hobjectFam1=findobj('Style','radiobutton','-and','-regexp','Tag',objTagFam1);
+
+objTagFam0=['radioQ_' type0];
+hobjectFam0=findobj('Style','radiobutton','-and','-regexp','Tag',objTagFam0);
+k=1;
+
+for i=1:length(hobjectFam1)
+    if cas==1
+        list(i)=get(hobjectFam1(i),'Value');
+    else
+        list(i)=1;
+    end
+    lista(i)=cellstr(get(hobjectFam1(i),'Tag'));
+    IDFam=char(lista(i));
+    if list(i)==1
+        indstr=findstr(IDFam,'Q');
+        family(k)=cellstr(IDFam(indstr(2):length(IDFam)));
+
+        TagFind=[button1 button2 char(family(k)) button3];
+        TagFindRad=['radioQ_' type0 '_' char(family(k))];
+
+        chkb=findobj('Style',style,'-and','-regexp','Tag',TagFind);
+        radQ=findobj('Style','radiobutton','-and','-regexp','Tag',TagFindRad);
+        set(radQ,'Value',0);
+        for j=1:length(chkb)
+            set(chkb(j),'Value',val);
+        end
+        k=k+1;
+    end
+
+end
+end
+% elseif strcmpi(arg1,'familyNone') %en fct des radiobuton All Qi cochï¿œs, cocher les checkbox des familles Qi
+%     f=findobj('Name','Ola');
+%
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%     % Exclusion entre radioQ_Qi=1 et radio_None=1
+%     hAll=findobj('Style','radiobutton','-and','Tag','radio_ALL');
+%     set(hAll,'Value',0);
+%     hNoneFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_None')
+%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%nteger (element number) in the RING
+%     hNoneFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_None');
+%     hAllFam =findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_All');
+%     %hAllFam=findobj('Style','radiobutton','-and','-regexp','Tag','radioQ_All');
+%     length(hAllFam);
+%     k=1;
+%     for i=1:length(hNoneFam)
+%         list(i)=get(hNoneFam(i),'Value');
+%         lista(i)=cellstr(get(hNoneFam(i),'Tag'));
+%         IDFam=char(lista(i));
+%         if list(i)==1
+%             indstr=findstr(IDFam,'Q');
+%             family(k)=cellstr(IDFam(indstr(2):length(IDFam)));
+%             TagFind=['ckbox_' char(family(k)) '_'];
+%             TagFindRad=['radioQ_All_' char(family(k))];
+%
+%             chkb=findobj('Style','checkbox','-and','-regexp','Tag',TagFind);
+%             radQ=findobj('Style','radiobutton','-and','-regexp','Tag',TagFindRad);
+%             %radAll=findobj('Style','radiobutton','-and','-regexp','Tag','radio_ALL');
+%             %set(radAll,'Value',0);
+%             set(radQ,'Value',0)
+%             for j=1:length(chkb)
+%                 set(chkb(j),'Value',0);
+%             end
+%
+%             %cellule(k)=str2num(IDQuad(indstr(2)+1:indstr(3)-1));
+%             %element(k)=str2num(IDQuad(indstr(3)+1:length(IDQuad)));
+%             k=k+1;
+%         end
+%
+%     end
Index: /trunk/machine/SOLEIL/StorageRing/BBA/CalcDk.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/CalcDk.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/CalcDk.m	(revision 17)
@@ -0,0 +1,66 @@
+function [DK]=CalcDK(famQ,locQ,famB,locB,Plane)
+
+
+
+%Dx(s)=(-Dk(sQp) x(sQp))*[1/{1-k(sQp)*l Bet(sQp)/(2 tan(Pi nux))}]*
+%[rac(Bet(sBpm))*rac(Bet(sQp))]/(2 sin(pi nux))*
+%cos(fix(sBpm)-fix(sQp)-pi nux)
+% clear
+ %famQ='Q1'
+ %locQ=[4 1]
+ %famB='BPMx'
+
+%% position longitudinale du quadrupole considÃ©rÃ©
+% sQp=getspos(famQ,locQ);
+% [famresB,locB,sBpm]=proche2(famB,famQ,locQ,0);
+% 
+%% extration du nombre d'onde
+
+ %tune=gettune;
+ nux=18+0.4;%tune(1)
+ nuz=10+0.3;%tune(2)
+% 
+%% extraction des fonctions bÃ©ta au Qp considÃ©rÃ©:
+ [bxQ,bzQ]=modelbeta(famQ,locQ);
+%% extraction des fonctions bï¿œta au BPM considÃ©rÃ©:
+ [bxB,bzB]=modelbeta(famB,locB);
+% 
+%% extraction des phases au Qp considÃ©rÃ©:
+ [fixQ,fizQ]=modelphase(famQ,locQ);
+%% extraction des phases au BPM considÃ©rÃ©:
+ [fixB,fizB]=modelphase(famB,locB);
+%%
+
+ 
+ if Plane==1 %plan horizontal
+    BetQ=bxQ;
+    BetB=bxB;
+    fiQ=fixQ;
+    fiB=fixB;
+    nu=nux;
+ elseif Plane==2 %plan vertical
+    BetQ=bzQ;
+    BetB=bzB;
+    fiQ=fizQ;
+    fiB=fizB;
+    nu=nuz;
+ end
+
+keff=getkleff(famQ,locQ);
+leff=getleff(famQ,locQ);
+
+%DK=1e-3*(1-keff*leff*BetQ/(2*tan(pi*nu)))*(2*sin(pi*nu))/((BetB)^(1/2)*(BetQ)^(1/2)*cos(fiB-fiQ-pi*nu)*keff)/Dx; % DI/I
+Deltax=0.01e-3; %(dÃ©placement)
+Dx=0.1e-3;
+%Dx dÃ©faut initial
+getam(famQ,locQ);
+kef=keff;
+DK=Deltax*(1+keff*BetQ/(2*tan(pi*nu)))/(BetQ/(2*tan(pi*nu))*Dx); % DI/I
+rel=DK/(50*keff);
+DK=rel;
+
+%Dx2=Deltax*(1+keff*BetQ/(2*tan(pi*nu)))/(BetQ/(2*tan(pi*nu))*0.10*keff);
+
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/BBA/SaveName.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/SaveName.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/SaveName.m	(revision 17)
@@ -0,0 +1,61 @@
+function [numero,numText,Nametex]= SaveName(RepertRes,var)
+%SAVENAME
+% 
+%  INPUTS
+%  1. RepertRes : Directory de recherche
+%  2. var - 0 Recherche du fichier le plus recent dans le repertoire de travail
+%           1 creation d'un nouveau fichier de resultats du BBA 
+%  OUPUTS
+%  1. numero - nouveau numero du BBA
+%  2. numText - nouveau numero du BBA au format texte
+%  3. Nametex - ancien nom du fichier en chaine de caracteres
+
+ResList=cellstr('p');
+%%%% DEBUT DE RECHERCHE DES RESULTATS ResBBA_*.mat
+%Repert=pwd;
+%Repert='/home/matlabML/measdata/Ringdata/BBA';
+Repert= getfamilydata('Directory','BBA');
+%%%RepertRes=[Repert '/work3'];
+%RepertRes=[Repert '/debug'];
+Content=dir(RepertRes);
+
+tail=size(Content);
+i=0;
+j=0;
+while i< tail(1)
+    i=i+1;
+    nom=Content(i).name;
+    %Lnom0=size(nom);
+    %Lnom =Lnom0(2);
+    Lnom = size(Content(i).name,2);
+    %disp('crotte')
+    if Lnom<15
+        
+    elseif strcmpi(nom(Lnom-2:Lnom),'mat') & strcmpi(nom(1:7),'ResBBA_')
+    j=j+1;
+    ResList(j,:)=cellstr(nom);
+    numerList(j)=str2num(nom(8:11));
+    end      
+end
+
+%ResList
+
+if strcmpi(ResList(1),'p')
+    numero=0+var;
+    numText=['000' num2str(numero)];
+    Nametex='ol';
+else
+    numero=max(numerList)+var;
+    numText0=num2str(numero);
+    varText='';
+    if length(numText0)<4
+        for i=1:4-length(numText0);
+            varText=char([varText '0']);
+        end
+    end
+    tailRes=size(ResList);
+    numText=[varText numText0];
+    Nametex=char(ResList(tailRes(1)));
+    Fic = strcat('Fichier d''enregistrement  = ',Nametex);
+    disp(Fic)
+end
Index: /trunk/machine/SOLEIL/StorageRing/BBA/SaveName_vArnaud_oct06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/SaveName_vArnaud_oct06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/SaveName_vArnaud_oct06.m	(revision 17)
@@ -0,0 +1,57 @@
+function [numero,numText,Nametex]= SaveName(var)
+%SAVENAME
+% 
+%  INPUTS
+%  1. var - 0 Recherche du fichier du fichier le plus recent dans le repertoire de travail
+%           1 creation d'un nouveau fichier de resultats du BBA 
+%
+%  OUPUTS
+%  1. numero - numero du BBA
+%  2. numText - numero du BBA au format texte
+%  3. Nametex - nom du fichier en chaine de caracteres
+
+ResList=cellstr('p');
+%%%% DEBUT DE RECHERCHE DES RESULTATS ResBBA_*.mat
+%Repert=pwd;
+%Repert='/home/matlabML/measdata/Ringdata/BBA';
+Repert= getfamilydata('Directory','BBA');
+RepertRes=[Repert '/work3'];
+%RepertRes=[Repert '/debug'];
+Content=dir(RepertRes);
+
+tail=size(Content);
+i=0;
+j=0;
+while i< tail(1)
+    i=i+1;
+    nom=Content(i).name;
+    Lnom0=size(nom);
+    Lnom =Lnom0(2);
+    if Lnom<15
+        
+    elseif strcmpi(nom(Lnom-2:Lnom),'mat') & strcmpi(nom(1:7),'ResBBA_')
+    j=j+1;
+    ResList(j,:)=cellstr(nom);
+    numerList(j)=str2num(nom(8:11));
+    end      
+end
+
+%ResList
+
+if strcmpi(ResList(1),'p')
+    numero=0+var;
+    numText=['000' num2str(numero)];
+    Nametex='ol';
+else
+    numero=max(numerList)+var;
+    numText0=num2str(numero);
+    varText='';
+    if length(numText0)<4
+        for i=1:4-length(numText0);
+            varText=char([varText '0']);
+        end
+    end
+    tailRes=size(ResList)
+    numText=[varText numText0]
+    Nametex=char(ResList(tailRes(1)))
+end
Index: /trunk/machine/SOLEIL/StorageRing/BBA/bba_last.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/bba_last.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/bba_last.m	(revision 17)
@@ -0,0 +1,872 @@
+
+function [merit,CorConsEye,BpmRes,offs,OffsCor,center,ze,ord1,ord2,BpmEyeRes,CorDevListRes,iniCor,rmsFit,NameFile,NameFilePNG]=bba_last(RepRes,QuadFam,QuadDev,Plane,Method,nbDeltaCor,DeltaCor,offsetCor,retard,DeltaQp0,CorNumber)
+%% INPUTS
+%QuadFam = famille du quadrupole,
+%QuadDev = [cell element] qu quadrupole
+%Plane = 1 ou 2 ; horizontal ou vertical
+%Method = MEC (Most Effective Corrector) ou BMP4CM (Bump 4 cor),
+%nbDeltaCor = nb de pas du correcteur,
+%DeltaCor = Delta I d'un pas de correcteur,
+%offsetCor = offset en courant du correcteur pour recentrer la "parabole",
+%retard = dÃ©lai en secondes pemettant d'attendre la fin de la montÃ©e en courant du correcteurs ou du quadrupole,
+%DeltaQp0 = Delta I pour un pas de quadrupole,
+%CorNumber = classement du correcteur en fonction de son efficacitÃ© (1=le plus efficace)
+
+%% EXEMPLE pour BBA M.E.C.
+% nbDeltaCor=13;
+% DeltaCor=0.1;% amps
+% offsetCor=0.7; %amps
+% retard=4;%20; sec
+% DeltaQp0=1.75;
+
+%% OUTPUTS
+% merit = tableau de 2 colonnes: colonne 1 -> courants dans le correcteur
+%                                colonne 2 -> valeur de la fonction de mÃ©rite
+%CorConsEye = relevÃ© des valeur des consignes dans le correcteur -> dimension 1*nbDeltaCor
+%BpmRes = Valeur dans le BPM choisi (le plus proche)
+%OffsCor = offset Ã  appliquer dans le correcteur pour centrer la parabole calculÃ©e
+%center = courant dans le correcteur pour lequel la parabole est minimale,
+%ze = abscisses calculÃ©es pour les fit (parabole et droite, 40 points),
+%ord1= ordonnÃ©es de la parabole Ã©valuÃ©e en ze(i),
+%ord2= ordonnÃ©es de la droite Ã©valuÃ©e en ze(i) -> pour le BPM choisi,
+%BpmEyeRes = [cell, element] du BPM choisi voir fonction "mec3",
+%CorDevListRes =  [cell, element] Correcteur choisi voir fonction "mec3",
+%iniCor = valeur initiale du correcteur
+%OffsetBpm = offset BPM en mm
+%rmsFit = variable permettant de qualifier le fit de la parabole: Ã©cart-type des distances entre le fit et les points mesurÃ©s
+%NameFile = nom du fichier dans lequel sont stockÃ©es toutes les donnÃ©es
+%NameFilePNG = nom du du fichier .PNG de la copie d'Ã©cran de l'interface graphique
+
+%BMP4COR
+DeltaPosMax=1;   %mm for BMP4CM Method
+
+
+condTune=0;      % permet la correction du point de fonctionnement QP pour revenir au nombre d'onde initial apres le BBA
+condQp=0;        % calcul automatique du DeltaQ -> 1 ou non -> 0 % pas disponible
+condBPMsigma=0;  % prise en compte ou non du sigma des Bpm -> 1 ou 0
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%switch2sim
+
+%setsp('HCOR',0)
+%setsp('VCOR',0)
+
+
+%Dx(s)=(-Dk(sQp) x(sQp))*[1/{1-k(sQp)*l Bet(sQp)/(2 tan(Pi nux))}]*
+%[rac(Bet(sBpm))*rac(Bet(sQp))]/(2 sin(pi nux))*
+%cos(fix(sBpm)-fix(sQp)-pi nux)
+% clear
+% famQ='Q1';
+% locQ=[4 1];
+% famB='BPMx';
+%
+% %position longitudinale du quadrupole considÃ©rÃ©
+% sQp=getspos(famQ,locQ);
+% [famresB,locB,sBpm]=proche(famB,famQ,locQ);
+%
+% %extration du nombre d'onde
+% tune=gettune;
+% nux=tune(1);
+% nuz=tune(2);
+%
+% %extraction des fonctions bï¿œta au Qp considÃ©rÃ©:
+% [bxQ,bzQ]=modelbeta(famQ,locQ);
+% %extraction des fonctions bï¿œta au BPM considÃ©rÃ©:
+% [bxB,bzB]=modelbeta(famB,locB);
+%
+% %extraction des phases au Qp considÃ©rÃ©:
+% [fixQ,fizQ]=modelphase(famQ,locQ);
+% %extraction des phases au BPM considÃ©rÃ©:
+% [fixB,fizB]=modelphase(famB,locB);
+%% %%%%%%
+
+%switch2sim
+
+%setsp('HCOR',0)
+%setsp('VCOR',0)
+
+% % %% TEST DES VARIABLES D'ENTREES
+% % if ~iscellstr(QuadFam)
+% %     error('la famille entree n''est pas au format cell')
+% % end
+% % 
+% % tailleQDev=size(QuadDev(1,:))
+% % 
+% % if isempty(QuadDev)
+% %     error('Veuillez entrer le device du quadripole Ã  Ã©tudier au format QuadDev=[cell elt]')
+% % elseif tailleQDev(2)~=2
+% %     error('Trop d''elements pour 1 device de QP:  QuadDev=[cell elt]')
+% % end
+% % 
+% % if Plane<1 || Plane>2
+% %     error('Veuillez entrer le plan Ã©tudiÃ©: Horizontal: Plane=1 ; Vertical:Plane=2')
+% % end
+% % 
+% % %ne fonctionne pas
+% % if ~ischar(Method)
+% %     error('Methodes disponibles au format string: ''MEC''')
+% % end
+% % %
+% % 
+% % 
+% % %% MÃ©morisation du rÃ©pertoire de travail
+% % Rep    = getfamilydata('Directory','BBA');
+% % 
+% % Annuncment = strcat('  ***         Registration Directory                             ***');
+% % disp('  ****************************************************************************');
+% % disp(Annuncment);
+% % disp('  **                                                                        **');
+% % disp('  ****************************************************************************');
+% % disp(' ')
+% % disp('  ****************************************************************************');
+% % disp('  **                             WARNING                                    **');
+% % disp('  **    New directory has to be defined after an offset application         **');
+% % disp('  **                                                                        **');
+% % disp('  ****************************************************************************');
+% % 
+% % button = questdlg('Is the Registration Directory already existing ?','Registration Directory','yes','no','yes') ;
+% % if isequal(button,'yes')                            % la directory existe dÃ©jÃ 
+% %     RepRes = uigetdir(Rep);                         % choix de la directory
+% % else
+% %     tmp2 = questdlg('Create directory ?','BBA','Yes','No','Yes');
+% %     if strcmpi(tmp2,'Yes')                          % create a new directory
+% %         prompt = {'Enter new directory name:'};
+% %         dlg_title = 'Input for Directory Name';
+% %         num_lines = 1;
+% %         def = {'work_december06'};
+% %         answer = inputdlg(prompt,dlg_title,num_lines,def);
+% %         RepRes = answer{1};
+% %         cd(Rep)                                    % on se place dans la directory amont /BBA
+% %         mkdir(RepRes)
+% %         RepRes = [Rep RepRes]                      % Nom complet de la directory
+% %     else                                           % alors on ne sait pas ce qu'on veut ??
+% %         disp('**  BBA cancelled  **')
+% %         return
+% %     end
+% % end
+% % disp('  ** BBA starting **') 
+
+varfig=10; % utilitÃ© ??????
+tic;
+
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+QuadFamilyList=QuadFam;
+QuadDevList=QuadDev;
+
+% Results are stored in a "dynamic' structure called BBA:
+% level1: BBA.(QuadFam)
+
+% Rappel du dernier fichier rÃ©sultats de BBA
+[BBAnumb0, BBAnumbText0, NomText0]=SaveName(RepRes,0);
+
+
+%Chargement des fichiers nÃ©cessaire
+% A MODIFIER pour etre plus generique et prendre toujours la bonne matrice
+% reponse.
+load('respcor.mat') %rÃ©ponse des correcteurs
+danow= datestr(now);
+texdat=danow(1:11);
+
+
+if BBAnumb0>0
+    %NameFile=[RepRes '/ResBBA_' BBAnumbText0 '.mat'];
+    NameFile=[RepRes '/' NomText0];  % dernier fichier BBA
+    %NameFile=[RepRes '/ResBBA_' BBAnumbText0 '_' texdat '.mat'];
+    load(NameFile);
+end
+%BBA;
+%dÃ©finition du nom du nouveau fichier rÃ©sultat BBA
+[BBAnumb1,BBAnumbText1,NomText1] = SaveName(RepRes,1);  %NomText1 n'est pas utulisÃ© dans ce cas
+%NameFile=[RepRes '/ResBBA_' BBAnumbText1 '.mat'];
+NameFile=[RepRes '/ResBBA_' BBAnumbText1 '_' texdat '.mat'];  % nom du nouveau fichier BBA
+NameFilePNG=[RepRes '/SnapBBA_' BBAnumbText1 '_' texdat '.png'];
+%BBAnumb=BBAnumb+1;
+
+
+%[Reper '/DirBBA/resBBA_' BBAnumb '.mat']
+
+
+% recherche du tableau contenant l'Ã©cart type des BPM
+%rep='/home/matlabML/measdata/Ringdata/BPM'
+
+% NON UTILISE POUR L'INSTANT
+% rep = getfamilydata('Directory','BPMData')
+% col=dir(rep)
+% 
+% for i=1:length(col)
+%     nom  = col(i).name;
+%     Lnom0= size(nom);
+%     Lnom = Lnom0(2);
+%     if  Lnom>30 & strcmpi(nom(Lnom-2:Lnom),'mat') & strcmpi(nom(1:7),'BPMData')
+%         nom2 = nom;
+%     end
+% 
+% end
+% repBPM=char([rep '/' nom2]);
+% BPMdata=load(repBPM);
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%Plane=1;NameFilePNG
+%if      Plane==0
+%    loop=2;
+%    Plane=1;
+%else
+%    loop=1;
+%end
+%%
+%$$$$$$$$$$$
+%for m=1:loop
+%$$$$$$$$$$$
+
+
+
+if     Plane==1
+    BpmFam='BPMx';
+    CorFam='HCOR';
+    NamePlane='HPlane';
+    CorBpmResp=efficacy.HPlane; % matrice d'efficacitÃ© correcteur/BPM
+    %BpmMax=37; %non utilisÃ©
+%    BpmSigma1=BPMdata.BPMxData.Sigma;
+elseif Plane==2
+    BpmFam='BPMz';
+    CorFam='VCOR';
+    NamePlane='VPlane';
+    CorBpmResp=efficacy.VPlane;
+    %BpmMax=4.5; %non utilisÃ©
+   % BpmSigma1=BPMdata.BPMyData.Sigma;
+else
+    error('input must "1" for horizontal plane or "2" for vertical plane');
+end
+
+%if Method=='MEC'
+%% UTILISATION du MEC:
+%
+%mec(QuadFamilyList,QuadDev,Plane,CorBpmResp)
+%Demander si le fichier respcor.m convient
+%sinon [effic]=respcor(Plane)
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+% PREPARATION DES LISTES DE DEVICES %
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+BpmDevList = getlist(BpmFam);
+CorDevList = getlist(CorFam);
+
+for i=1:length(CorDevList)
+    CorDevListCell(i)=mat2cell(CorDevList(i,:),1,2);
+end
+
+
+
+%disp('poc');
+%getam('BPMx',[1 2])
+
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+% MEMORISATION DES VALEURS INITIALES %
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+% for i=1:length(BpmDevList) % voir peut ï¿œtre seulement Bpm Dispo???
+%     BpmDevList(i,:);
+%     InitValBpm(i)=getam(BpmFam,BpmDevList(i,:)); % MAT c'est long !! A modifier: pas trÃšs performant
+%     BpmSigma0(i)=1;
+% end
+
+InitValBpm(1:length(BpmDevList))=getam(BpmFam,BpmDevList);
+BpmSigma0(1:120)=ones(1,120);
+
+if condBPMsigma==0
+    BpmSigma=BpmSigma0;
+else
+    BpmSigma=BpmSigma1;  % attention Ã  dÃ©finir
+end
+
+%BpmSigma;
+%InitValBpm;
+
+% for i=1:length(CorDevList) % voir peut ï¿œtre seulement COR Dispo???
+%     InitValCor(i)=getsp(CorFam,CorDevList(i,:)); % MAT c'est long ! A modifier: pas trÃšs performant
+% end
+InitValCor(1:length(CorDevList))=getsp(CorFam,CorDevList); % MAT c'est long ! A modifier: pas trÃšs performant
+
+
+% MODIFIER LA GESTION DES ERREURS: STATUS
+BPMStatus =family2status(BpmFam);
+CorStatus =family2status(CorFam);
+%BpmFam;
+%CorFam;
+
+if sum(BPMStatus)~=120
+    disp('Il y a des BPM qui ont un mauvais status')
+end
+
+if sum(CorStatus)~=56
+    disp('Il y a des COR qui ont un mauvais status')
+end
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+taille=size(QuadFamilyList);
+
+disp('$$$$$$$$$$$$$$$$$$$$$$$$')
+for j=1:taille(1)
+
+    %% Choix de la variation minimale du courant dans le correcteur requise pour obtenir un bon BBA
+    QuadStatus=family2status(char(QuadFamilyList(j)),QuadDevList(j,:));
+
+    if QuadStatus~=1
+        disp('BBA impossible mauvais statut du QP')
+    end
+    InitValQp =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+    %RECHERCHE DES ELEMENTS POUR LE BBA: BPM, CORRECTEURS
+    if strcmpi(Method,'MEC')
+        %CorNumb=1;
+        [CorFamRes,CorDevListRes,CorElemRes,EffRes,BpmFamRes,BpmEyeRes]=mec3(QuadFamilyList(j),QuadDevList(j,:),Plane,CorBpmResp,CorNumber);
+        CorStatus1 =family2status(CorFam,CorDevListRes);
+        BPMStatus1 =family2status(BpmFam,BpmEyeRes);
+
+        if CorStatus1~=1
+            disp('BBA impossible mauvais statut du COR')
+        end
+
+        if BPMStatus1~=1
+            disp('BBA impossible mauvais statut du BPM')
+        end
+    elseif strcmpi(Method,'BMP4CM')
+        [CorFamRes,CorDevListRes,BpmFamRes,BpmDevListRes,BpmEyeRes,ConsRes]=bmp4Cor(QuadFamilyList(j),QuadDevList(j,:),Plane);
+        tailleBp=size(BpmDevListRes);
+    end
+
+    tailleCor=size(CorDevListRes);
+    %CorDevListRes;
+    for b=1:tailleCor(1)
+        InitValcorUsed(b)=getsp(CorFam,CorDevListRes(b,:)); % a modifier: peu performant
+    end
+    %%
+    %DETERMINATION DES TABLES DE VALEURS POUR LES COR,QP...
+    % deltaCor Ã  ressortir de CorCurRange.m (pas encore programmÃ©)
+    % nombre de deltaCor aussi Ã  connaitre
+    clear CorCons CorSp BpmRes BpmVal QpCons QpSp
+    %nbDeltaCor=7;
+    %DeltaCor=0.75;%amps for MEC Method
+    % DeltaPosMax=1; %mm for BMP4CM Method
+    %retard=20;
+    var=0;
+    %stepsp(CorFam ,-nbDeltaCor*DeltaCor/2,CorDevListRes);
+    %stepsp(QuadFam,-nbDeltaQp*DeltaQp/4  ,QuadDev);
+    if strcmpi(Method,'MEC')
+        iniCor=InitValCor(CorElemRes);
+    elseif strcmpi(Method,'BMP4CM')
+        for i=1:4
+            inicorrect(i)=getam(CorFam,CorDevListRes(i,:));
+        end
+    end
+
+    for nbc=1:nbDeltaCor
+        if strcmpi(Method,'MEC')
+            CorTab(nbc)=InitValCor(CorElemRes)-((nbDeltaCor-1)*DeltaCor)/2+(nbc-1)*DeltaCor+offsetCor; %amps tableau ayant nbDeltaCor colonnes
+            % peut etre amÃ©liorÃ© (sans boucle)
+        elseif strcmpi(Method,'BMP4CM')
+            %CorTab(nbc)=-DeltaPosMax/2+(nbc-1)*DeltaPosMax/(nbDeltaCor-1);
+
+            DeltaPos=DeltaPosMax/(nbDeltaCor-1);
+            CorTab(1)=-DeltaPosMax/2+offsetCor;
+            for valC=1:nbDeltaCor-1
+                CorTab(valC+1)=CorTab(1)+valC*DeltaPos;
+            end
+            %CorTab(3)=0.1;
+            % CorTab(4)=0.1;
+            %CorTab(5)=0.1;
+        end%mm   BMP4CM
+    end
+    CorTab;
+    % Calcul du deltaK pour obtenir une variation de DeltaPos
+    %DeltaQp=2;
+    nbDeltaQp=2;
+    % DeltaPos=1.5e-3; % A revoir
+    % DeltaQp=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,DeltaPos,Plane)*InitValQp
+
+    %% Choix du Delta I en fonction du DeltaNu MAX et du Delta I/I Max
+%     DeltaNu=0.01;BpmEyeRes
+%     DeltaI_I=0.01;
+% 
+%     TuneTot=[-3.7e-3  9.37e-3 -2.33e-3   -8e-4  3.13e-3 -1.18e-3  6.75e-3 -1.88e-3 -7.95e-4  3.74e-3; ...
+%         2.91e-3 -2.74e-3  2.91e-3 3.74e-3   -1.68e-3  3.14e-3 -2.07e-3  2.14e-3  3.98e-3 -1.18e-3];
+% 
+%     current=[125.72 161.32 75.63 147.71 202.58 118.45 213 180.55 179.35 210.48]*0.04;
+%     %[DK]=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,Plane)
+% 
+%     for o=1:2
+%         for p=1:10
+%             TuneTot1(o,p)=DeltaNu/TuneTot(o,p);
+%             Dcourant(o,p)=min([abs(TuneTot1(o,p)) abs(current(p))]);
+%         end
+%     end
+% 
+% 
+%     numFamQ=char(QuadFamilyList(j));
+%     numQ=str2num(numFamQ(2:length(numFamQ)));
+%     DeltaQp=Dcourant(Plane,numQ);
+%     %DeltaQp=0.75;
+%     if condQp==1
+%         [DK]=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,Plane);
+%         DeltaQp=getsp(char(QuadFamilyList(j)),QuadDevList(j,:))*abs(DK);
+%     else
+        DeltaQp=DeltaQp0;
+%     end
+    %%
+
+    % CrÃ©ation des tableau de consignes pour les quadrupoles
+    % idÃ©e: toujours commencer "en haut" du cycle d'hystÃ©rÃ©sis
+    if InitValQp>0
+        QpTab(1)=InitValQp-DeltaQp;
+        QpTab(2)=InitValQp+DeltaQp;
+    elseif InitValQp<0
+        QpTab(1)=InitValQp+DeltaQp;
+        QpTab(2)=InitValQp-DeltaQp;
+    else
+        error('il y a un problÃšme pour le calcul du DeltaK')
+    end
+  
+    %%
+    %
+
+    %sauvegarde des valeurs
+    NameQuadDev=char(['dev' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2))]);
+    
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).CorDev=CorDevListRes;
+    if strcmpi(Method,'MEC')
+        BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Eff   =EffRes;
+    end
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).BpmDev=BpmEyeRes;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Date  =datestr(now);
+
+
+    %sauvegarde des valeurs initiales
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Qp =InitValQp;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Cor=InitValCor;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Bpm=InitValBpm;
+
+    save(NameFile,'BBA');
+    load(NameFile);
+    %init=init+length(listfamQ);
+
+    toc;
+
+%% $$  DÃ©but du BBA   $$ %%
+    if strcmpi(Method,'MEC')
+
+        %%           DEBUT: boucle sur Qp (excursion +/- Dk)
+        vartext=0;
+        for v=1:nbDeltaQp
+            disp('Qp');
+            tuneNumber(v,:)=gettune;
+            current(v)=getdcct;
+            setsp(QuadFam,QpTab(v),QuadDev,-2);
+            %pause(3); % modif 9 septembre de 6 Ã  3 s
+            pause(6); % modif 23 juin 08 de 3 Ã  6 s
+            %%   Debut: boucle sur COR (excursions nbDeltaCor)
+            clear CorCons CorSp
+            for u=1:nbDeltaCor
+                vartext=vartext+1;
+                %setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:));
+                texto=char([num2str(vartext) '/' num2str(2*nbDeltaCor)]);
+                disp(texto);
+                drawnow;
+
+                setsp(CorFam,CorTab(u),CorDevListRes,-2);
+                pause(retard); % valeur dÃ©finie par le programme en mode auto : valeur par dÃ©faut=2.5 sec
+                                                                %en mode manuel:valeur par dÃ©faut 4 sec
+                if u==1
+                    %pause(4); % dÃ©fini par l'expÃ©rience - modification 9 septembre passage de 9s Ã  4s
+                    pause(9); % dÃ©fini par l'expÃ©rience - modification 23 juin 08 passage de 9s Ã  4s
+                end
+                %CorCons(u)=getsp(CorFam,CorDevListRes);
+                CorCons(u)=CorTab(u); % tentative 29 janvier
+                CorConsEye(u)=CorCons(u);
+                %CorSp(u)  =getsp(CorFam,CorDevListRes);
+
+                if v==1
+                    BpmRes(u)=getam(BpmFam,BpmEyeRes); %Mermorisation du BPM Eye
+                end
+
+                QpCons(u,v)=getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %QpSp(u,v)  =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %tempo
+
+                
+                %Modifier, boucle inutile !!!
+                %%tic
+                BpmVal(1:120,v,u)=getam(BpmFam,BpmDevList);
+                %for w=1:length(BpmDevList)
+                    %BpmVal(w,v,u)=getam(BpmFam,BpmDevList(w,:)); %BpmVal(Bpm,Quad,Cor)
+                %end
+                %%toc
+                %%%%%%%%%%%%%%%%%%%%% test si l'orbite dÃ©passe l'interlock en V  MAT 9 septembre 07
+                A = BpmVal(1:120,v,u) ;
+                I = find(abs(A)>0.6); % critÃšre du test = 0.7 mm en absolu
+                if ~isempty(I)&Plane==2
+                    disp(strcat('Quadrupole :',QuadFam{1},' * ',num2str(QuadDev))); % nom du quad et valeur du deltaQ
+                    fprintf('delta I sur ce quad : %6.2f  A\n',DeltaQp);
+                    disp( strcat('Correcteur :',CorFam,' * ',num2str(CorDevListRes))); % nom du correcteur et valeur du deltacor
+                    fprintf('delta I sur ce corr : %6.2f  A\n',DeltaCor);
+                    fprintf('valeurs max de l''orbite %6.2f %6.2f mm\n',max(A(I)),min(A(I)));
+                    disp('****************************');
+                end
+                %%%%%%%%%%%%%%%%%%%%%    
+                
+                
+
+            end
+            %%              FIN:boucle sur COR (excursions nbDeltaCor)
+            %CorCons;
+            %BpmRes;
+            %QpCons;
+            %QpSp;
+            %length(BpmVal);
+        end
+
+
+        %%
+
+    elseif strcmpi(Method,'BMP4CM')
+        iniCor=getam(BpmFam,BpmEyeRes);
+        %test du bump proposÃ©
+        ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(1),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+        indCorRes=ocsi.CM.DeviceList; %doit etre le meme que CorDevListRes
+        test=sum(indCorRes-CorDevListRes);
+        if abs(test)~=0
+            error('bump impossible')
+        else
+            for u2=1:nbDeltaCor
+                ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(u2),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+                CorVal(:,u2)=ocsi.CM.Delta
+            end
+        end
+
+    vartext=0;
+        for v=1:nbDeltaQp
+            setsp(QuadFam,QpTab(v),QuadDev,-2);
+            tuneNumber(v,:)=gettune
+            current(v)=getdcct
+            pause(6);
+            disp('Qp');
+            %setsp(QuadFam,QpTab(v),QuadDev);
+            %%        Debut: boucle sur COR (excursions nbDeltaCor)
+            for u=1:nbDeltaCor
+                vartext=vartext+1;
+                texto=char([num2str(vartext) '/' num2str(2*nbDeltaCor)]);
+                disp(texto)
+                %setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:));
+                for u1=1:4
+                    setsp(char(CorFam),CorVal(u1,u),CorDevListRes(u1,:),-2);
+                end
+                if u==1
+                    pause(6)
+                end
+                pause(retard);
+                
+                getsp('HCOR');
+
+                drawnow;
+                clear CorCons CorSp
+                %ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(u),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+                %indCorRes=ocsi.CM.DeviceList; %doit etre le meme que CorDevListRes
+                %test=sum(indCorRes-CorDevLisRes)
+                if abs(test)~=0
+                    error('bump impossible')
+                end
+                tailleCorRes=size(indCorRes);
+                for c=1:tailleCorRes(1)
+                    CorCons(u,c)=getsp(CorFam,indCorRes(c,:));
+                    %CorSp(u,c)  =getsp(CorFam,indCorRes(c,:));
+                end
+                if v==1
+                    BpmRes(u)=getam(BpmFam,BpmEyeRes); %Mermorisation du BPM Eye
+                end
+                QpCons(u,v)=getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %QpSp(u,v)  =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %tempo
+
+                CorConsEye(u)=BpmRes(u);
+                tailleBList=size(BpmDevListRes);
+                ind1=dev2elem(BpmFam,BpmDevListRes(1,:));
+                ind2=dev2elem(BpmFam,tailleBList(1));
+                for w=1:ind1-1
+                    BpmVal(w,v,u)=getam(BpmFam,BpmDevList(w,:)); %BpmVal(Bpm,Quad,Cor)
+                end
+                for w=ind2+1:120
+                    BpmVal(w-tailleBList(1),v,u)=getam(BpmFam,BpmDevList(w,:));
+                end
+                %tempo
+            end
+        end
+    end
+
+
+
+    %%      Sauvegarde
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.BpmData =BpmVal;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.BpmRes  =BpmRes;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.QuadCons=QpCons;
+    %BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.QuadSetp=QpSp;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCons =CorCons;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCons =CorCons;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.Current =current;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.Tune =tuneNumber;
+    %BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorSetp =CorSp;
+    save(NameFile,'BBA');
+    %%
+    %%      Retour aux Valeurs initiales Qp et COR
+    setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:),-2); % Init Qp
+    for b=1:tailleCor(1)
+        setsp(CorFam,InitValcorUsed(b),CorDevListRes(b,:),-2);   % Init Cor
+    end
+    pause(retard);
+    tuneNumber(3,:)=gettune;
+    %%          Fin:boucle sur Qp (excursion +/- Dk)
+    if Plane==1
+        tuneWatch=tuneNumber(1,1);
+        tuneEnd  =tuneNumber(3,1);
+    elseif Plane==2
+        tuneWatch=tuneNumber(1,2);
+        tuneEnd  =tuneNumber(3,2);
+    end
+
+    %% boucle de correction du nombre d'onde
+    %Dnu0=tuneWatch-tuneEnd;
+    tuneEnd=gettune
+
+    
+    % par dÃ©faut non utilisÃ©: condTune=0
+    % revoir pause
+    % revoir Delta I quad 
+    if condTune==1
+        stepQp=signDQ*0.0005;
+        signDQ=sign(QpCons(1,1));
+        while abs(tuneWatch-tuneEnd)>1e-5
+            stepsp(char(QuadFamilyList(j)),stepQp,QuadDevList(j,:));
+            pause(0.5);
+            tuneEnd1=gettune;
+
+            if Plane==1
+                tuneEnd=tuneEnd1(1);
+            elseif Plane==2
+                tuneEnd=tuneEnd1(2);
+            end
+
+        end
+    end
+    disp('ole')
+
+    %%
+    %%      Recherche du minimum de la fonction de mÃ©rite
+    %load('resBBA.mat')
+    %data=BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).MEC.Results.BpmData;
+    data=BpmVal;
+    datSize=size(data);
+    %BpmSigma;
+
+    for r=1:datSize(3)     %itÃ©ration sur les valeurs de correcteurs
+        point=0;
+        for t=1:datSize(1) %itÃ©ration sur les valeurs des BPMs
+
+            point=point+1*((data(t,1,r)-data(t,2,r))/BpmSigma(t))^2;
+        end
+
+        merit(r,1)=CorConsEye(r);
+        merit(r,2)=1/datSize(1)*point;
+    end
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.FitData =merit;
+    save(NameFile,'BBA');
+
+    %coef=polyfit(merit(:,1), merit(:,2),2); % calcul des coef de la parabole de la fonction de mï¿œrite
+    droite=polyfit(CorConsEye,BpmRes,1);        % calcul des coef de la droite du Bpm observÃ©
+
+
+    %% Verif
+
+    %init:Moindres carrÃ©s
+ %%% A ALLEGER !!!!
+ 
+    VectB=merit(:,2);
+    for q=1:length(merit)
+        MatFunc(q,1)=merit(q,1)^2;  MatFunc(q,2)=merit(q,1); MatFunc(q,3)=1;
+        M1(1,q)=MatFunc(q,1);% M1(1,2)=1; M1(1,3)=1;
+        M2(1,q)=MatFunc(q,2);%; M2(2,q)=1; M2(3,q)=0;
+        M3(1,q)=MatFunc(q,3);%; M3(2,q)=0; M3(3,q)=1;
+    end
+    M1;
+    ResVect(1,1)=M1*VectB;ResVect(2,1)=M2*VectB;ResVect(3,1)=M3*VectB;
+    ResMat(1,1)=M1*MatFunc*[1;0;0];ResMat(1,2)=M1*MatFunc*[0;1;0];ResMat(1,3)=M1*MatFunc*[0;0;1];
+    ResMat(2,1)=M2*MatFunc*[1;0;0];ResMat(2,2)=M2*MatFunc*[0;1;0];ResMat(2,3)=M2*MatFunc*[0;0;1];
+    ResMat(3,1)=M3*MatFunc*[1;0;0];ResMat(3,2)=M3*MatFunc*[0;1;0];ResMat(3,3)=M3*MatFunc*[0;0;1];
+    ResMat;
+    coef=inv(ResMat)*ResVect;
+
+    %%
+
+    center=-coef(2)/(2*coef(1));             % abscisse de l'offset BBA (amps)
+    offs=droite(1)*center+droite(2);         % ordonnï¿œe de l'offset BBA (mm)
+    %%      Fin de Recherche du minimum
+
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.OffsetBpm =offs;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCenter =center;
+
+    save(NameFile,'BBA');
+
+
+
+    for e=1:41
+        %ze(e)=min(BpmRes)+(e-1)*(max(BpmRes)-min(BpmRes))/40;
+        ze(e)=CorTab(1)+(e-1)*(CorTab(nbDeltaCor)-CorTab(1))/40;
+        %ze(e)=-2.5+(e-1)*5/40;
+        ord1(e)=parabole(ze(e),coef);
+        %ordco(e)=parabole(ze(e),valco);
+        ord2(e)=ligne(ze(e),droite);
+    end
+    toc;
+
+    for varTest=1:nbDeltaCor
+        ecart(varTest)=merit(varTest,2)-parabole(CorTab(varTest),coef);
+    end
+    rmsFit=qualFit(merit(:,1),merit(:,2),coef); % valeur affichÃ©e
+
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.EcartFit =ecart;
+
+end
+
+
+
+
+%
+%Plane=2; % For running the prog on both Plane
+%%    %$$$$$$$$$$$$$$$
+%end
+%NameFile;
+%BpmRes;
+%CorCons;
+%droite=polyfit(CorCons,BpmRes,1)
+%iniCor;
+%offs;
+
+%ecart;
+%CorDevListRes;
+if strcmpi(Method,'MEC')
+%CorElemRes;
+%EffRes;
+end
+disp('OffsCor');
+OffsCor=center-iniCor;
+
+
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % Verif moindres carrÃ©s
+% xi=merit(:,1)
+% yi=merit(:,2)
+% xi0=0;
+% xi2=0;
+% xi3=0;
+% xi4=0;
+% mesur1=0;
+% mesur2=0;
+% mesur3=0;
+% for i=1:length(CorCons)
+%    xi4=xi4+xi(i)^4;
+%    xi3=xi3+xi(i)^3;
+%    xi2=xi2+xi(i)^2;
+%    xi0=xi0+1;
+%    mesur1=mesur1+yi(i)*xi(i)^2;
+%    mesur2=mesur2+yi(i)*xi(i);
+%    mesur3=mesur3+yi(i);
+% end
+%
+% mato(1,1)=  sum(xi4); mato(1,2)=sum(xi3);    mato(1,3)=  sum(xi2);
+% mato(2,1)=  sum(xi3); mato(2,2)=sum(xi2);    mato(2,3)=  sum(xi);
+% mato(3,1)=  sum(xi2); mato(3,2)=sum(xi);     mato(3,3)=  sum(xi0);
+%
+% mesur=[mesur1;mesur2;mesur3]/6
+%
+% mato=mato/6
+% valco=inv(mato)*mesur
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+%
+%
+%
+% for e=1:41
+%     ze(e)=CorTab(1)+(e-1)*(CorTab(nbDeltaCor)-CorTab(1))/40;
+%     %ze(e)=-2.5+(e-1)*5/40;
+%     ord1(e)=parabole(ze(e),coef);
+%     ordco(e)=parabole(ze(e),valco);
+%     ord2(e)=ligne(ze(e),droite);
+% end
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% y1=[min(BpmRes)-0.5 max(BpmRes)+0.5];
+% y2=[min(merit(:,2))-0.01 max(merit(:,2))+0.01];
+%
+% figure(1)
+% hold all
+% [Bx1,Hb1,Hb2]=plotyy(ze,ord2,ze,ord1,'plot')
+% %,'LineStyle','-.')
+% %textval=char([offs ' mm']);
+% %text(center,offs,textval,'HorizontalAlignment','left')
+% set(Hb1,'Color','black','LineStyle','-.');%,'LineStyle','--')
+% set(Hb2,'Color','black','LineStyle','-.');
+%
+%
+%
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %figure(2)
+%
+% [Ax1,Ha1,Ha2]=plotyy(CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');%,'Marker','x','Color','red')
+%
+% set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+% set(Ha2,'Marker','x','Color','red');
+%
+% x1=get(Ax1(1),'XLim')
+% set(Ax1,'Visible','off')
+% set(Ax1(1),'YLim',y1)
+% set(Ax1(2),'YLim',y2)
+%
+% pl1=plot([center center],[y1(1) offs])
+%
+% pl2=plot([x1(1) center],[offs offs])
+% pl3=plot(center,offs,'Marker','o','Color','black')%,text(center,offs,'\leftarrow ',...
+%      %'HorizontalAlignment','left'))
+%
+% set([pl1 pl2],'Color','black','LineStyle','-.');
+%
+%
+% set(Bx1,'Visible','on')
+% set(Bx1(1),'YLim',y1,'YColor','blue')
+% set(Bx1(2),'YLim',y2,'YColor','red')
+% xlabel('COR Value (amps)')
+% ylabel(Bx1(1),'(mm)')
+% ylabel(Bx1(2),'(merit)')
+%
+
+
+
+save('resu.mat','merit','ze','ord1','ord2','droite','coef','CorCons','BpmRes','coef','center','offs')
+
+%% Tout est enregistrÃ© dans une structure
+% BBA.(QuadFam).(['dev' QuadDev]).(Plane).(Method).CorDev
+%                                                 .eff
+%                                                 .BpmDev
+%                                                 .Date
+%                                                 .Results
+%...
+
+%example:
+% >> BBA.Q1.dev1_1.HPlane.MEC.CordeV
+% ans =
+% >> 5    1
Index: /trunk/machine/SOLEIL/StorageRing/BBA/bba_last_sauvegarde_8sept07.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/bba_last_sauvegarde_8sept07.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/bba_last_sauvegarde_8sept07.m	(revision 17)
@@ -0,0 +1,869 @@
+
+function [merit,CorConsEye,BpmRes,offs,OffsCor,center,ze,ord1,ord2,BpmEyeRes,CorDevListRes,iniCor,rmsFit,NameFile,NameFilePNG]=bba_last(RepRes,QuadFam,QuadDev,Plane,Method,nbDeltaCor,DeltaCor,offsetCor,retard,DeltaQp0,CorNumber)
+%% INPUTS
+%QuadFam = famille du quadrupole,
+%QuadDev = [cell element] qu quadrupole
+%Plane = 1 ou 2 ; horizontal ou vertical
+%Method = MEC (Most Effective Corrector) ou BMP4CM (Bump 4 cor),
+%nbDeltaCor = nb de pas du correcteur,
+%DeltaCor = Delta I d'un pas de correcteur,
+%offsetCor = offset en courant du correcteur pour recentrer la "parabole",
+%retard = dÃ©lai en secondes pemettant d'attendre la fin de la montÃ©e en courant du correcteurs ou du quadrupole,
+%DeltaQp0 = Delta I pour un pas de quadrupole,
+%CorNumber = classement du correcteur en fonction de son efficacitÃ© (1=le plus efficace)
+
+%% EXEMPLE pour BBA M.E.C.
+% nbDeltaCor=13;
+% DeltaCor=0.1;% amps
+% offsetCor=0.7; %amps
+% retard=4;%20; sec
+% DeltaQp0=1.75;
+
+%% OUTPUTS
+% merit = tableau de 2 colonnes: colonne 1 -> courants dans le correcteur
+%                                colonne 2 -> valeur de la fonction de mÃ©rite
+%CorConsEye = relevÃ© des valeur des consignes dans le correcteur -> dimension 1*nbDeltaCor
+%BpmRes = Valeur dans le BPM choisi (le plus proche)
+%OffsCor = offset Ã  appliquer dans le correcteur pour centrer la parabole calculÃ©e
+%center = courant dans le correcteur pour lequel la parabole est minimale,
+%ze = abscisses calculÃ©es pour les fit (parabole et droite, 40 points),
+%ord1= ordonnÃ©es de la parabole Ã©valuÃ©e en ze(i),
+%ord2= ordonnÃ©es de la droite Ã©valuÃ©e en ze(i) -> pour le BPM choisi,
+%BpmEyeRes = [cell, element] du BPM choisi voir fonction "mec3",
+%CorDevListRes =  [cell, element] Correcteur choisi voir fonction "mec3",
+%iniCor = valeur initiale du correcteur
+%OffsetBpm = offset BPM en mm
+%rmsFit = variable permettant de qualifier le fit de la parabole: Ã©cart-type des distances entre le fit et les points mesurÃ©s
+%NameFile = nom du fichier dans lequel sont stockÃ©es toutes les donnÃ©es
+%NameFilePNG = nom du du fichier .PNG de la copie d'Ã©cran de l'interface graphique
+
+%BMP4COR
+DeltaPosMax=1;   %mm for BMP4CM Method
+
+
+condTune=0;      % permet la correction du point de fonctionnement QP pour revenir au nombre d'onde initial apres le BBA
+condQp=0;        % calcul automatique du DeltaQ -> 1 ou non -> 0 % pas disponible
+condBPMsigma=0;  % prise en compte ou non du sigma des Bpm -> 1 ou 0
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%switch2sim
+
+%setsp('HCOR',0)
+%setsp('VCOR',0)
+
+
+%Dx(s)=(-Dk(sQp) x(sQp))*[1/{1-k(sQp)*l Bet(sQp)/(2 tan(Pi nux))}]*
+%[rac(Bet(sBpm))*rac(Bet(sQp))]/(2 sin(pi nux))*
+%cos(fix(sBpm)-fix(sQp)-pi nux)
+% clear
+% famQ='Q1';
+% locQ=[4 1];
+% famB='BPMx';
+%
+% %position longitudinale du quadrupole considÃ©rÃ©
+% sQp=getspos(famQ,locQ);
+% [famresB,locB,sBpm]=proche(famB,famQ,locQ);
+%
+% %extration du nombre d'onde
+% tune=gettune;
+% nux=tune(1);
+% nuz=tune(2);
+%
+% %extraction des fonctions bï¿œta au Qp considÃ©rÃ©:
+% [bxQ,bzQ]=modelbeta(famQ,locQ);
+% %extraction des fonctions bï¿œta au BPM considÃ©rÃ©:
+% [bxB,bzB]=modelbeta(famB,locB);
+%
+% %extraction des phases au Qp considÃ©rÃ©:
+% [fixQ,fizQ]=modelphase(famQ,locQ);
+% %extraction des phases au BPM considÃ©rÃ©:
+% [fixB,fizB]=modelphase(famB,locB);
+%% %%%%%%
+
+%switch2sim
+
+%setsp('HCOR',0)
+%setsp('VCOR',0)
+
+% % %% TEST DES VARIABLES D'ENTREES
+% % if ~iscellstr(QuadFam)
+% %     error('la famille entree n''est pas au format cell')
+% % end
+% % 
+% % tailleQDev=size(QuadDev(1,:))
+% % 
+% % if isempty(QuadDev)
+% %     error('Veuillez entrer le device du quadripole Ã  Ã©tudier au format QuadDev=[cell elt]')
+% % elseif tailleQDev(2)~=2
+% %     error('Trop d''elements pour 1 device de QP:  QuadDev=[cell elt]')
+% % end
+% % 
+% % if Plane<1 || Plane>2
+% %     error('Veuillez entrer le plan Ã©tudiÃ©: Horizontal: Plane=1 ; Vertical:Plane=2')
+% % end
+% % 
+% % %ne fonctionne pas
+% % if ~ischar(Method)
+% %     error('Methodes disponibles au format string: ''MEC''')
+% % end
+% % %
+% % 
+% % 
+% % %% MÃ©morisation du rÃ©pertoire de travail
+% % Rep    = getfamilydata('Directory','BBA');
+% % 
+% % Annuncment = strcat('  ***         Registration Directory                             ***');
+% % disp('  ****************************************************************************');
+% % disp(Annuncment);
+% % disp('  **                                                                        **');
+% % disp('  ****************************************************************************');
+% % disp(' ')
+% % disp('  ****************************************************************************');
+% % disp('  **                             WARNING                                    **');
+% % disp('  **    New directory has to be defined after an offset application         **');
+% % disp('  **                                                                        **');
+% % disp('  ****************************************************************************');
+% % 
+% % button = questdlg('Is the Registration Directory already existing ?','Registration Directory','yes','no','yes') ;
+% % if isequal(button,'yes')                            % la directory existe dÃ©jÃ 
+% %     RepRes = uigetdir(Rep);                         % choix de la directory
+% % else
+% %     tmp2 = questdlg('Create directory ?','BBA','Yes','No','Yes');
+% %     if strcmpi(tmp2,'Yes')                          % create a new directory
+% %         prompt = {'Enter new directory name:'};
+% %         dlg_title = 'Input for Directory Name';
+% %         num_lines = 1;
+% %         def = {'work_december06'};
+% %         answer = inputdlg(prompt,dlg_title,num_lines,def);
+% %         RepRes = answer{1};
+% %         cd(Rep)                                    % on se place dans la directory amont /BBA
+% %         mkdir(RepRes)
+% %         RepRes = [Rep RepRes]                      % Nom complet de la directory
+% %     else                                           % alors on ne sait pas ce qu'on veut ??
+% %         disp('**  BBA cancelled  **')
+% %         return
+% %     end
+% % end
+% % disp('  ** BBA starting **') 
+
+varfig=10; % utilitÃ© ??????
+tic;
+
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+QuadFamilyList=QuadFam;
+QuadDevList=QuadDev;
+
+% Results are stored in a "dynamic' structure called BBA:
+% level1: BBA.(QuadFam)
+
+% Rappel du dernier fichier rÃ©sultats de BBA
+[BBAnumb0, BBAnumbText0, NomText0]=SaveName(RepRes,0);
+
+
+%Chargement des fichiers nÃ©cessaire
+% A MODIFIER pour etre plus generique et prendre toujours la bonne matrice
+% reponse.
+load('respcor.mat') %rÃ©ponse des correcteurs
+danow= datestr(now);
+texdat=danow(1:11);
+
+
+if BBAnumb0>0
+    %NameFile=[RepRes '/ResBBA_' BBAnumbText0 '.mat'];
+    NameFile=[RepRes '/' NomText0];  % dernier fichier BBA
+    %NameFile=[RepRes '/ResBBA_' BBAnumbText0 '_' texdat '.mat'];
+    load(NameFile);
+end
+%BBA;
+%dÃ©finition du nom du nouveau fichier rÃ©sultat BBA
+[BBAnumb1,BBAnumbText1,NomText1] = SaveName(RepRes,1);  %NomText1 n'est pas utulisÃ© dans ce cas
+%NameFile=[RepRes '/ResBBA_' BBAnumbText1 '.mat'];
+NameFile=[RepRes '/ResBBA_' BBAnumbText1 '_' texdat '.mat'];  % nom du nouveau fichier BBA
+NameFilePNG=[RepRes '/SnapBBA_' BBAnumbText1 '_' texdat '.png'];
+%BBAnumb=BBAnumb+1;
+
+
+%[Reper '/DirBBA/resBBA_' BBAnumb '.mat']
+
+
+% recherche du tableau contenant l'Ã©cart type des BPM
+%rep='/home/matlabML/measdata/Ringdata/BPM'
+
+% NON UTILISE POUR L'INSTANT
+% rep = getfamilydata('Directory','BPMData')
+% col=dir(rep)
+% 
+% for i=1:length(col)
+%     nom  = col(i).name;
+%     Lnom0= size(nom);
+%     Lnom = Lnom0(2);
+%     if  Lnom>30 & strcmpi(nom(Lnom-2:Lnom),'mat') & strcmpi(nom(1:7),'BPMData')
+%         nom2 = nom;
+%     end
+% 
+% end
+% repBPM=char([rep '/' nom2]);
+% BPMdata=load(repBPM);
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%Plane=1;NameFilePNG
+%if      Plane==0
+%    loop=2;
+%    Plane=1;
+%else
+%    loop=1;
+%end
+%%
+%$$$$$$$$$$$
+%for m=1:loop
+%$$$$$$$$$$$
+
+
+
+if     Plane==1
+    BpmFam='BPMx';
+    CorFam='HCOR';
+    NamePlane='HPlane';
+    CorBpmResp=efficacy.HPlane; % matrice d'efficacitÃ© correcteur/BPM
+    %BpmMax=37; %non utilisÃ©
+%    BpmSigma1=BPMdata.BPMxData.Sigma;
+elseif Plane==2
+    BpmFam='BPMz';
+    CorFam='VCOR';
+    NamePlane='VPlane';
+    CorBpmResp=efficacy.VPlane;
+    %BpmMax=4.5; %non utilisÃ©
+   % BpmSigma1=BPMdata.BPMyData.Sigma;
+else
+    error('input must "1" for horizontal plane or "2" for vertical plane');
+end
+
+%if Method=='MEC'
+%% UTILISATION du MEC:
+%
+%mec(QuadFamilyList,QuadDev,Plane,CorBpmResp)
+%Demander si le fichier respcor.m convient
+%sinon [effic]=respcor(Plane)
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+% PREPARATION DES LISTES DE DEVICES %
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+BpmDevList = getlist(BpmFam);
+CorDevList = getlist(CorFam);
+
+for i=1:length(CorDevList)
+    CorDevListCell(i)=mat2cell(CorDevList(i,:),1,2);
+end
+
+
+
+%disp('poc');
+%getam('BPMx',[1 2])
+
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+% MEMORISATION DES VALEURS INITIALES %
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+% for i=1:length(BpmDevList) % voir peut ï¿œtre seulement Bpm Dispo???
+%     BpmDevList(i,:);
+%     InitValBpm(i)=getam(BpmFam,BpmDevList(i,:)); % MAT c'est long !! A modifier: pas trÃšs performant
+%     BpmSigma0(i)=1;
+% end
+
+InitValBpm(1:length(BpmDevList))=getam(BpmFam,BpmDevList);
+BpmSigma0(1:120)=ones(1,120);
+
+if condBPMsigma==0
+    BpmSigma=BpmSigma0;
+else
+    BpmSigma=BpmSigma1;  % attention Ã  dÃ©finir
+end
+
+BpmSigma;
+InitValBpm;
+
+% for i=1:length(CorDevList) % voir peut ï¿œtre seulement COR Dispo???
+%     InitValCor(i)=getsp(CorFam,CorDevList(i,:)); % MAT c'est long ! A modifier: pas trÃšs performant
+% end
+InitValCor(1:length(CorDevList))=getsp(CorFam,CorDevList); % MAT c'est long ! A modifier: pas trÃšs performant
+
+
+% MODIFIER LA GESTION DES ERREURS: STATUS
+BPMStatus =family2status(BpmFam);
+CorStatus =family2status(CorFam);
+BpmFam;
+CorFam;
+
+if sum(BPMStatus)~=120
+    disp('Il y a des BPM qui ont un mauvais status')
+end
+
+if sum(CorStatus)~=56
+    disp('Il y a des COR qui ont un mauvais status')
+end
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+taille=size(QuadFamilyList);
+
+disp('$$$$$$$$$$$$$$$$$$$$$$$$')
+for j=1:taille(1)
+
+    %% Choix de la variation minimale du courant dans le correcteur requise pour obtenir un bon BBA
+    QuadStatus=family2status(char(QuadFamilyList(j)),QuadDevList(j,:));
+
+    if QuadStatus~=1
+        disp('BBA impossible mauvais statut du QP')
+    end
+    InitValQp =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+    %RECHERCHE DES ELEMENTS POUR LE BBA: BPM, CORRECTEURS
+    if strcmpi(Method,'MEC')
+        %CorNumb=1;
+        [CorFamRes,CorDevListRes,CorElemRes,EffRes,BpmFamRes,BpmEyeRes]=mec3(QuadFamilyList(j),QuadDevList(j,:),Plane,CorBpmResp,CorNumber);
+        CorStatus1 =family2status(CorFam,CorDevListRes);
+        BPMStatus1 =family2status(BpmFam,BpmEyeRes);
+
+        if CorStatus1~=1
+            disp('BBA impossible mauvais statut du COR')
+        end
+
+        if BPMStatus1~=1
+            disp('BBA impossible mauvais statut du BPM')
+        end
+    elseif strcmpi(Method,'BMP4CM')
+        [CorFamRes,CorDevListRes,BpmFamRes,BpmDevListRes,BpmEyeRes,ConsRes]=bmp4Cor(QuadFamilyList(j),QuadDevList(j,:),Plane);
+        tailleBp=size(BpmDevListRes);
+    end
+
+    tailleCor=size(CorDevListRes);
+    CorDevListRes;
+    for b=1:tailleCor(1)
+        InitValcorUsed(b)=getsp(CorFam,CorDevListRes(b,:)); % a modifier: peu performant
+    end
+    %%
+    %DETERMINATION DES TABLES DE VALEURS POUR LES COR,QP...
+    % deltaCor Ã  ressortir de CorCurRange.m (pas encore programmÃ©)
+    % nombre de deltaCor aussi Ã  connaitre
+    clear CorCons CorSp BpmRes BpmVal QpCons QpSp
+    %nbDeltaCor=7;
+    %DeltaCor=0.75;%amps for MEC Method
+    % DeltaPosMax=1; %mm for BMP4CM Method
+    %retard=20;
+    var=0;
+    %stepsp(CorFam ,-nbDeltaCor*DeltaCor/2,CorDevListRes);
+    %stepsp(QuadFam,-nbDeltaQp*DeltaQp/4  ,QuadDev);
+    if strcmpi(Method,'MEC')
+        iniCor=InitValCor(CorElemRes);
+    elseif strcmpi(Method,'BMP4CM')
+        for i=1:4
+            inicorrect(i)=getam(CorFam,CorDevListRes(i,:));
+        end
+    end
+
+    for nbc=1:nbDeltaCor
+        if strcmpi(Method,'MEC')
+            CorTab(nbc)=InitValCor(CorElemRes)-((nbDeltaCor-1)*DeltaCor)/2+(nbc-1)*DeltaCor+offsetCor; %amps tableau ayant nbDeltaCor colonnes
+            % peut etre amÃ©liorÃ© (sans boucle)
+        elseif strcmpi(Method,'BMP4CM')
+            %CorTab(nbc)=-DeltaPosMax/2+(nbc-1)*DeltaPosMax/(nbDeltaCor-1);
+
+            DeltaPos=DeltaPosMax/(nbDeltaCor-1);
+            CorTab(1)=-DeltaPosMax/2+offsetCor;
+            for valC=1:nbDeltaCor-1
+                CorTab(valC+1)=CorTab(1)+valC*DeltaPos;
+            end
+            %CorTab(3)=0.1;
+            % CorTab(4)=0.1;
+            %CorTab(5)=0.1;
+        end%mm   BMP4CM
+    end
+    CorTab;
+    % Calcul du deltaK pour obtenir une variation de DeltaPos
+    %DeltaQp=2;
+    nbDeltaQp=2;
+    % DeltaPos=1.5e-3; % A revoir
+    % DeltaQp=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,DeltaPos,Plane)*InitValQp
+
+    %% Choix du Delta I en fonction du DeltaNu MAX et du Delta I/I Max
+%     DeltaNu=0.01;BpmEyeRes
+%     DeltaI_I=0.01;
+% 
+%     TuneTot=[-3.7e-3  9.37e-3 -2.33e-3   -8e-4  3.13e-3 -1.18e-3  6.75e-3 -1.88e-3 -7.95e-4  3.74e-3; ...
+%         2.91e-3 -2.74e-3  2.91e-3 3.74e-3   -1.68e-3  3.14e-3 -2.07e-3  2.14e-3  3.98e-3 -1.18e-3];
+% 
+%     current=[125.72 161.32 75.63 147.71 202.58 118.45 213 180.55 179.35 210.48]*0.04;
+%     %[DK]=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,Plane)
+% 
+%     for o=1:2
+%         for p=1:10
+%             TuneTot1(o,p)=DeltaNu/TuneTot(o,p);
+%             Dcourant(o,p)=min([abs(TuneTot1(o,p)) abs(current(p))]);
+%         end
+%     end
+% 
+% 
+%     numFamQ=char(QuadFamilyList(j));
+%     numQ=str2num(numFamQ(2:length(numFamQ)));
+%     DeltaQp=Dcourant(Plane,numQ);
+%     %DeltaQp=0.75;
+%     if condQp==1
+%         [DK]=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,Plane);
+%         DeltaQp=getsp(char(QuadFamilyList(j)),QuadDevList(j,:))*abs(DK);
+%     else
+        DeltaQp=DeltaQp0;
+%     end
+    %%
+
+    % CrÃ©ation des tableau de consignes pour les quadrupoles
+    % idÃ©e: toujours commencer "en haut" du cycle d'hystÃ©rÃ©sis
+    if InitValQp>0
+        QpTab(1)=InitValQp-DeltaQp;
+        QpTab(2)=InitValQp+DeltaQp;
+    elseif InitValQp<0
+        QpTab(1)=InitValQp+DeltaQp;
+        QpTab(2)=InitValQp-DeltaQp;
+    else
+        error('il y a un problÃšme pour le calcul du DeltaK')
+    end
+  
+    %%
+    %
+
+    %sauvegarde des valeurs
+    NameQuadDev=char(['dev' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2))]);
+    
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).CorDev=CorDevListRes;
+    if strcmpi(Method,'MEC')
+        BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Eff   =EffRes;
+    end
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).BpmDev=BpmEyeRes;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Date  =datestr(now);
+
+
+    %sauvegarde des valeurs initiales
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Qp =InitValQp;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Cor=InitValCor;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Bpm=InitValBpm;
+
+    save(NameFile,'BBA');
+    load(NameFile);
+    %init=init+length(listfamQ);
+
+    toc;
+
+%% $$  DÃ©but du BBA   $$ %%
+    if strcmpi(Method,'MEC')
+
+        %%           DEBUT: boucle sur Qp (excursion +/- Dk)
+        vartext=0;
+        for v=1:nbDeltaQp
+            disp('Qp');
+            tuneNumber(v,:)=gettune;
+            current(v)=getdcct;
+            setsp(QuadFam,QpTab(v),QuadDev,-2);
+            pause(6);
+            %%   Debut: boucle sur COR (excursions nbDeltaCor)
+            clear CorCons CorSp
+            for u=1:nbDeltaCor
+                vartext=vartext+1;
+                %setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:));
+                texto=char([num2str(vartext) '/' num2str(2*nbDeltaCor)]);
+                disp(texto);
+                drawnow;
+
+                setsp(CorFam,CorTab(u),CorDevListRes,-2);
+                pause(retard); % valeur dÃ©finie par le programme en mode auto : valeur par dÃ©faut=2.5 sec
+                                                                %en mode manuel:valeur par dÃ©faut 4 sec
+                if u==1
+                    pause(9); % dÃ©fini par l'expÃ©rience
+                end
+                %CorCons(u)=getsp(CorFam,CorDevListRes);
+                CorCons(u)=CorTab(u); % tentative 29 janvier
+                CorConsEye(u)=CorCons(u);
+                %CorSp(u)  =getsp(CorFam,CorDevListRes);
+
+                if v==1
+                    BpmRes(u)=getam(BpmFam,BpmEyeRes); %Mermorisation du BPM Eye
+                end
+
+                QpCons(u,v)=getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %QpSp(u,v)  =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %tempo
+
+                
+                %Modifier, boucle inutile !!!
+                tic
+                BpmVal(1:120,v,u)=getam(BpmFam,BpmDevList);
+                %for w=1:length(BpmDevList)
+                    %BpmVal(w,v,u)=getam(BpmFam,BpmDevList(w,:)); %BpmVal(Bpm,Quad,Cor)
+                %end
+                toc
+                %%%%%%%%%%%%%%%%%%%%% test si l'orbite dÃ©passe l'interlock en V  MAT 9 septembre 07
+%                 A = BpmVal(1:120,v,u) ;
+%                 I = find(abs(A)>0.7); % critÃšre du test = 0.7 mm en absolu
+%                 if ~isempty(I)&Plane==2
+%                     disp(strcat('Quadrupole :',QuadFam,QuadDev)); % nom du quad et valeur du deltaQ
+%                     fprintf('delta I sur ce quad : %6.2f  A\n',DeltaQp);
+%                     disp( strcat('Correcteur :',QuadFam,QuadDev)); % nom du correcteur et valeur du deltacor
+%                     fprintf('delta I sur ce corr : %6.2f  A\n',DeltaCor);
+%                     fprintf('valeurs max de l''orbite %6.2f %6.2f mm\n',max(A(I)),min(A(I)));
+%                 end
+                %%%%%%%%%%%%%%%%%%%%%    
+                
+                
+
+            end
+            %%              FIN:boucle sur COR (excursions nbDeltaCor)
+            CorCons;
+            BpmRes;
+            QpCons;
+            %QpSp;
+            length(BpmVal);
+        end
+
+
+        %%
+
+    elseif strcmpi(Method,'BMP4CM')
+        iniCor=getam(BpmFam,BpmEyeRes);
+        %test du bump proposÃ©
+        ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(1),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+        indCorRes=ocsi.CM.DeviceList; %doit etre le meme que CorDevListRes
+        test=sum(indCorRes-CorDevListRes);
+        if abs(test)~=0
+            error('bump impossible')
+        else
+            for u2=1:nbDeltaCor
+                ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(u2),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+                CorVal(:,u2)=ocsi.CM.Delta
+            end
+        end
+
+    vartext=0;
+        for v=1:nbDeltaQp
+            setsp(QuadFam,QpTab(v),QuadDev,-2);
+            tuneNumber(v,:)=gettune
+            current(v)=getdcct
+            pause(6);
+            disp('Qp');
+            %setsp(QuadFam,QpTab(v),QuadDev);
+            %%        Debut: boucle sur COR (excursions nbDeltaCor)
+            for u=1:nbDeltaCor
+                vartext=vartext+1;
+                texto=char([num2str(vartext) '/' num2str(2*nbDeltaCor)]);
+                disp(texto)
+                %setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:));
+                for u1=1:4
+                    setsp(char(CorFam),CorVal(u1,u),CorDevListRes(u1,:),-2);
+                end
+                if u==1
+                    pause(6)
+                end
+                pause(retard);
+                
+                getsp('HCOR');
+
+                drawnow;
+                clear CorCons CorSp
+                %ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(u),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+                %indCorRes=ocsi.CM.DeviceList; %doit etre le meme que CorDevListRes
+                %test=sum(indCorRes-CorDevLisRes)
+                if abs(test)~=0
+                    error('bump impossible')
+                end
+                tailleCorRes=size(indCorRes);
+                for c=1:tailleCorRes(1)
+                    CorCons(u,c)=getsp(CorFam,indCorRes(c,:));
+                    %CorSp(u,c)  =getsp(CorFam,indCorRes(c,:));
+                end
+                if v==1
+                    BpmRes(u)=getam(BpmFam,BpmEyeRes); %Mermorisation du BPM Eye
+                end
+                QpCons(u,v)=getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %QpSp(u,v)  =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %tempo
+
+                CorConsEye(u)=BpmRes(u);
+                tailleBList=size(BpmDevListRes);
+                ind1=dev2elem(BpmFam,BpmDevListRes(1,:));
+                ind2=dev2elem(BpmFam,tailleBList(1));
+                for w=1:ind1-1
+                    BpmVal(w,v,u)=getam(BpmFam,BpmDevList(w,:)); %BpmVal(Bpm,Quad,Cor)
+                end
+                for w=ind2+1:120
+                    BpmVal(w-tailleBList(1),v,u)=getam(BpmFam,BpmDevList(w,:));
+                end
+                %tempo
+            end
+        end
+    end
+
+
+
+    %%      Sauvegarde
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.BpmData =BpmVal;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.BpmRes  =BpmRes;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.QuadCons=QpCons;
+    %BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.QuadSetp=QpSp;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCons =CorCons;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCons =CorCons;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.Current =current;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.Tune =tuneNumber;
+    %BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorSetp =CorSp;
+    save(NameFile,'BBA');
+    %%
+    %%      Retour aux Valeurs initiales Qp et COR
+    setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:),-2); % Init Qp
+    for b=1:tailleCor(1)
+        setsp(CorFam,InitValcorUsed(b),CorDevListRes(b,:),-2);   % Init Cor
+    end
+    pause(retard);
+    tuneNumber(3,:)=gettune;
+    %%          Fin:boucle sur Qp (excursion +/- Dk)
+    if Plane==1
+        tuneWatch=tuneNumber(1,1);
+        tuneEnd  =tuneNumber(3,1);
+    elseif Plane==2
+        tuneWatch=tuneNumber(1,2);
+        tuneEnd  =tuneNumber(3,2);
+    end
+
+    %% boucle de correction du nombre d'onde
+    %Dnu0=tuneWatch-tuneEnd;
+    tuneEnd=gettune
+
+    
+    % par dÃ©faut non utilisÃ©: condTune=0
+    % revoir pause
+    % revoir Delta I quad 
+    if condTune==1
+        stepQp=signDQ*0.0005;
+        signDQ=sign(QpCons(1,1));
+        while abs(tuneWatch-tuneEnd)>1e-5
+            stepsp(char(QuadFamilyList(j)),stepQp,QuadDevList(j,:));
+            pause(0.5);
+            tuneEnd1=gettune;
+
+            if Plane==1
+                tuneEnd=tuneEnd1(1);
+            elseif Plane==2
+                tuneEnd=tuneEnd1(2);
+            end
+
+        end
+    end
+    disp('ole')
+
+    %%
+    %%      Recherche du minimum de la fonction de mÃ©rite
+    %load('resBBA.mat')
+    %data=BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).MEC.Results.BpmData;
+    data=BpmVal;
+    datSize=size(data);
+    BpmSigma;
+
+    for r=1:datSize(3)     %itÃ©ration sur les valeurs de correcteurs
+        point=0;
+        for t=1:datSize(1) %itÃ©ration sur les valeurs des BPMs
+
+            point=point+1*((data(t,1,r)-data(t,2,r))/BpmSigma(t))^2;
+        end
+
+        merit(r,1)=CorConsEye(r);
+        merit(r,2)=1/datSize(1)*point;
+    end
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.FitData =merit;
+    save(NameFile,'BBA');
+
+    %coef=polyfit(merit(:,1), merit(:,2),2); % calcul des coef de la parabole de la fonction de mï¿œrite
+    droite=polyfit(CorConsEye,BpmRes,1);        % calcul des coef de la droite du Bpm observÃ©
+
+
+    %% Verif
+
+    %init:Moindres carrÃ©s
+ %%% A ALLEGER !!!!
+ 
+    VectB=merit(:,2);
+    for q=1:length(merit)
+        MatFunc(q,1)=merit(q,1)^2;  MatFunc(q,2)=merit(q,1); MatFunc(q,3)=1;
+        M1(1,q)=MatFunc(q,1);% M1(1,2)=1; M1(1,3)=1;
+        M2(1,q)=MatFunc(q,2);%; M2(2,q)=1; M2(3,q)=0;
+        M3(1,q)=MatFunc(q,3);%; M3(2,q)=0; M3(3,q)=1;
+    end
+    M1;
+    ResVect(1,1)=M1*VectB;ResVect(2,1)=M2*VectB;ResVect(3,1)=M3*VectB;
+    ResMat(1,1)=M1*MatFunc*[1;0;0];ResMat(1,2)=M1*MatFunc*[0;1;0];ResMat(1,3)=M1*MatFunc*[0;0;1];
+    ResMat(2,1)=M2*MatFunc*[1;0;0];ResMat(2,2)=M2*MatFunc*[0;1;0];ResMat(2,3)=M2*MatFunc*[0;0;1];
+    ResMat(3,1)=M3*MatFunc*[1;0;0];ResMat(3,2)=M3*MatFunc*[0;1;0];ResMat(3,3)=M3*MatFunc*[0;0;1];
+    ResMat;
+    coef=inv(ResMat)*ResVect;
+
+    %%
+
+    center=-coef(2)/(2*coef(1));             % abscisse de l'offset BBA (amps)
+    offs=droite(1)*center+droite(2);         % ordonnï¿œe de l'offset BBA (mm)
+    %%      Fin de Recherche du minimum
+
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.OffsetBpm =offs;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCenter =center;
+
+    save(NameFile,'BBA');
+
+
+
+    for e=1:41
+        %ze(e)=min(BpmRes)+(e-1)*(max(BpmRes)-min(BpmRes))/40;
+        ze(e)=CorTab(1)+(e-1)*(CorTab(nbDeltaCor)-CorTab(1))/40;
+        %ze(e)=-2.5+(e-1)*5/40;
+        ord1(e)=parabole(ze(e),coef);
+        %ordco(e)=parabole(ze(e),valco);
+        ord2(e)=ligne(ze(e),droite);
+    end
+    toc;
+
+    for varTest=1:nbDeltaCor
+        ecart(varTest)=merit(varTest,2)-parabole(CorTab(varTest),coef);
+    end
+    rmsFit=qualFit(merit(:,1),merit(:,2),coef); % valeur affichÃ©e
+
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.EcartFit =ecart;
+
+end
+
+
+
+
+%
+%Plane=2; % For running the prog on both Plane
+%%    %$$$$$$$$$$$$$$$
+%end
+NameFile;
+BpmRes;
+CorCons;
+%droite=polyfit(CorCons,BpmRes,1)
+iniCor;
+offs;
+
+ecart;
+CorDevListRes;
+if strcmpi(Method,'MEC')
+CorElemRes;
+EffRes;
+end
+disp('OffsCor');
+OffsCor=center-iniCor;
+
+
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % Verif moindres carrÃ©s
+% xi=merit(:,1)
+% yi=merit(:,2)
+% xi0=0;
+% xi2=0;
+% xi3=0;
+% xi4=0;
+% mesur1=0;
+% mesur2=0;
+% mesur3=0;
+% for i=1:length(CorCons)
+%    xi4=xi4+xi(i)^4;
+%    xi3=xi3+xi(i)^3;
+%    xi2=xi2+xi(i)^2;
+%    xi0=xi0+1;
+%    mesur1=mesur1+yi(i)*xi(i)^2;
+%    mesur2=mesur2+yi(i)*xi(i);
+%    mesur3=mesur3+yi(i);
+% end
+%
+% mato(1,1)=  sum(xi4); mato(1,2)=sum(xi3);    mato(1,3)=  sum(xi2);
+% mato(2,1)=  sum(xi3); mato(2,2)=sum(xi2);    mato(2,3)=  sum(xi);
+% mato(3,1)=  sum(xi2); mato(3,2)=sum(xi);     mato(3,3)=  sum(xi0);
+%
+% mesur=[mesur1;mesur2;mesur3]/6
+%
+% mato=mato/6
+% valco=inv(mato)*mesur
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+%
+%
+%
+% for e=1:41
+%     ze(e)=CorTab(1)+(e-1)*(CorTab(nbDeltaCor)-CorTab(1))/40;
+%     %ze(e)=-2.5+(e-1)*5/40;
+%     ord1(e)=parabole(ze(e),coef);
+%     ordco(e)=parabole(ze(e),valco);
+%     ord2(e)=ligne(ze(e),droite);
+% end
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% y1=[min(BpmRes)-0.5 max(BpmRes)+0.5];
+% y2=[min(merit(:,2))-0.01 max(merit(:,2))+0.01];
+%
+% figure(1)
+% hold all
+% [Bx1,Hb1,Hb2]=plotyy(ze,ord2,ze,ord1,'plot')
+% %,'LineStyle','-.')
+% %textval=char([offs ' mm']);
+% %text(center,offs,textval,'HorizontalAlignment','left')
+% set(Hb1,'Color','black','LineStyle','-.');%,'LineStyle','--')
+% set(Hb2,'Color','black','LineStyle','-.');
+%
+%
+%
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %figure(2)
+%
+% [Ax1,Ha1,Ha2]=plotyy(CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');%,'Marker','x','Color','red')
+%
+% set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+% set(Ha2,'Marker','x','Color','red');
+%
+% x1=get(Ax1(1),'XLim')
+% set(Ax1,'Visible','off')
+% set(Ax1(1),'YLim',y1)
+% set(Ax1(2),'YLim',y2)
+%
+% pl1=plot([center center],[y1(1) offs])
+%
+% pl2=plot([x1(1) center],[offs offs])
+% pl3=plot(center,offs,'Marker','o','Color','black')%,text(center,offs,'\leftarrow ',...
+%      %'HorizontalAlignment','left'))
+%
+% set([pl1 pl2],'Color','black','LineStyle','-.');
+%
+%
+% set(Bx1,'Visible','on')
+% set(Bx1(1),'YLim',y1,'YColor','blue')
+% set(Bx1(2),'YLim',y2,'YColor','red')
+% xlabel('COR Value (amps)')
+% ylabel(Bx1(1),'(mm)')
+% ylabel(Bx1(2),'(merit)')
+%
+
+
+
+save('resu.mat','merit','ze','ord1','ord2','droite','coef','CorCons','BpmRes','coef','center','offs')
+
+%% Tout est enregistrÃ© dans une structure
+% BBA.(QuadFam).(['dev' QuadDev]).(Plane).(Method).CorDev
+%                                                 .eff
+%                                                 .BpmDev
+%                                                 .Date
+%                                                 .Results
+%...
+
+%example:
+% >> BBA.Q1.dev1_1.HPlane.MEC.CordeV
+% ans =
+% >> 5    1
Index: /trunk/machine/SOLEIL/StorageRing/BBA/bba_last_vArnaud_oct06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/bba_last_vArnaud_oct06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/bba_last_vArnaud_oct06.m	(revision 17)
@@ -0,0 +1,824 @@
+
+function [merit,CorConsEye,BpmRes,offs,OffsCor,center,ze,ord1,ord2,BpmEyeRes,CorDevListRes,iniCor,rmsFit,NameFile,NameFilePNG]=bba_last(QuadFam,QuadDev,Plane,Method,nbDeltaCor,DeltaCor,offsetCor,retard,DeltaQp0,CorNumber)
+%% INPUTS
+%QuadFam = famille du quadrupole,
+%QuadDev = [cell element] qu quadrupole
+%Plane = 1 ou 2 ; horizontal ou vertical
+%Method = MEC (Most Effective Corrector) ou BMP4CM (Bump 4 cor),
+%nbDeltaCor = nb de pas du correcteur,
+%DeltaCor = Delta I d'un pas de correcteur,
+%offsetCor = offset en courant du correcteur pour recentrer la "parabole",
+%retard = dÃ©lai en secondes pemettant d'attendre la fin de la montÃ©e en courant du correcteurs ou du quadrupole,
+%DeltaQp0 = Delta I pour un pas de quadrupole,
+%CorNumber = classement du correcteur en fonction de son efficacitÃ© (1=le plus efficace)
+
+%% EXEMPLE pour BBA M.E.C.
+% nbDeltaCor=13;
+% DeltaCor=0.1;% amps
+% offsetCor=0.7; %amps
+% retard=4;%20; sec
+% DeltaQp0=1.75;
+
+%% OUTPUTS
+% merit = tableau de 2 colonnes: colonne 1 -> courants dans le correcteur
+%                                colonne 2 -> valeur de la fonction de mÃ©rite
+%CorConsEye = relevÃ© des valeur des consignes dans le correcteur -> dimension 1*nbDeltaCor
+%BpmRes = Valeur dans le BPM choisi (le plus proche)
+%OffsCor = offset Ã  appliquer dans le correcteur pour centrer la parabole calculÃ©e
+%center = courant dans le correcteur pour lequel la parabole est minimale,
+%ze = abscisses calculÃ©es pour les fit (parabole et droite, 40 points),
+%ord1= ordonnÃ©es de la parabole Ã©valuÃ©e en ze(i),
+%ord2= ordonnÃ©es de la droite Ã©valuÃ©e en ze(i) -> pour le BPM choisi,
+%BpmEyeRes = [cell, element] du BPM choisi voir fonction "mec3",
+%CorDevListRes =  [cell, element] Correcteur choisi voir fonction "mec3",
+%iniCor = valeur initiale du correcteur
+%rmsFit = variable permettant de qualifier le fit de la parabole: Ã©cart-type des distances entre le fit et les points mesurÃ©s
+%NameFile = nom du fichier dans lequel sont stockÃ©es toutes les donnÃ©es
+%NameFilePNG = nom du du fichier .PNG de la copie d'Ã©cran de l'interface graphique
+
+%BMP4COR
+DeltaPosMax=1;   %mm for BMP4CM Method
+
+
+condTune=0;      % permet la correction du point de fonctionnement QP pour revenir au nombre d'onde initial apres le BBA
+condQp=0;        % calcul automatique du DeltaQ -> 1 ou non -> 0 % pas disponible
+condBPMsigma=0;  % prise en compte ou non du sigma des Bpm -> 1 ou 0
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%switch2sim
+
+%setsp('HCOR',0)
+%setsp('VCOR',0)
+
+
+%Dx(s)=(-Dk(sQp) x(sQp))*[1/{1-k(sQp)*l Bet(sQp)/(2 tan(Pi nux))}]*
+%[rac(Bet(sBpm))*rac(Bet(sQp))]/(2 sin(pi nux))*
+%cos(fix(sBpm)-fix(sQp)-pi nux)
+% clear
+% famQ='Q1';
+% locQ=[4 1];
+% famB='BPMx';
+%
+% %position longitudinale du quadrupole considÃ©rÃ©
+% sQp=getspos(famQ,locQ);
+% [famresB,locB,sBpm]=proche(famB,famQ,locQ);
+%
+% %extration du nombre d'onde
+% tune=gettune;
+% nux=tune(1);
+% nuz=tune(2);
+%
+% %extraction des fonctions bï¿œta au Qp considÃ©rÃ©:
+% [bxQ,bzQ]=modelbeta(famQ,locQ);
+% %extraction des fonctions bï¿œta au BPM considÃ©rÃ©:
+% [bxB,bzB]=modelbeta(famB,locB);
+%
+% %extraction des phases au Qp considÃ©rÃ©:
+% [fixQ,fizQ]=modelphase(famQ,locQ);
+% %extraction des phases au BPM considÃ©rÃ©:
+% [fixB,fizB]=modelphase(famB,locB);
+%% %%%%%%
+
+%switch2sim
+
+%setsp('HCOR',0)
+%setsp('VCOR',0)
+
+% TEST DES VARIABLES D'ENTREES
+if ~iscellstr(QuadFam)
+    error('la famille entree n''est pas au format cell')
+end
+
+tailleQDev=size(QuadDev(1,:))
+
+if isempty(QuadDev)
+    error('Veuillez entrer le device du quadripole Ã  Ã©tudier au format QuadDev=[cell elt]')
+elseif tailleQDev(2)~=2
+    error('Trop d''elements pour 1 device de QP:  QuadDev=[cell elt]')
+end
+
+if Plane<1 || Plane>2
+    error('Veuillez entrer le plan Ã©tudiÃ©: Horizontal: Plane=1 ; Vertical:Plane=2')
+end
+
+%ne fonctionne pas
+if ~ischar(Method)
+    error('Methodes disponibles au format string: ''MEC''')
+end
+%
+
+
+% MÃ©morisation du rÃ©pertoire de travail
+%Rep='/home/matlabML/measdata/Ringdata/BBA';
+Rep    = getfamilydata('Directory','BBA');
+RepRes = [Rep '/work3'];
+%RepRes=[Rep '/debug'];
+
+%Rep=pwd;
+%RepRes=[Rep '/DirBBA'];%dir(RepertRes)vv
+varfig=10; % utilitÃ© ??????
+
+
+tic;
+
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+QuadFamilyList=QuadFam;
+QuadDevList=QuadDev;
+
+% Results are stored in a "dynamic' structure called BBA:
+% level1: BBA.(QuadFam)
+
+% Rappel du dernier fichier rÃ©sultats de BBA
+[BBAnumb0, BBAnumbText0, NomText0]=SaveName(0);
+
+
+%Chargement des fichiers nÃ©cessaire
+% A MODIFIER pour etre plus generique et prendre toujours la bonne matrice
+% reponse.
+load('respcor.mat') %rÃ©ponse des correcteurs
+danow= datestr(now);
+texdat=danow(1:11)
+
+%dernier fichier BBA
+if BBAnumb0>0
+    %NameFile=[RepRes '/ResBBA_' BBAnumbText0 '.mat'];
+    NameFile=[RepRes '/' NomText0];
+    %NameFile=[RepRes '/ResBBA_' BBAnumbText0 '_' texdat '.mat'];
+    load(NameFile);
+end
+%BBA;
+%dÃ©finition du nom du nouveau fichier rÃ©sultat BBA
+[BBAnumb1,BBAnumbText1,NomText1]=SaveName(1);  %NomText1 n'est pas utulisÃ© dans ce cas
+%NameFile=[RepRes '/ResBBA_' BBAnumbText1 '.mat'];
+NameFile=[RepRes '/ResBBA_' BBAnumbText1 '_' texdat '.mat'];
+NameFilePNG=[RepRes '/SnapBBA_' BBAnumbText1 '_' texdat '.png'];
+%BBAnumb=BBAnumb+1;
+
+
+%[Reper '/DirBBA/resBBA_' BBAnumb '.mat']
+
+
+% recherche du tableau contenant l'Ã©cart type des BPM
+%rep='/home/matlabML/measdata/Ringdata/BPM'
+
+% NON UTILISE POUR L'INSTANT
+% rep = getfamilydata('Directory','BPMData')
+% col=dir(rep)
+% 
+% for i=1:length(col)
+%     nom  = col(i).name;
+%     Lnom0= size(nom);
+%     Lnom = Lnom0(2);
+%     if  Lnom>30 & strcmpi(nom(Lnom-2:Lnom),'mat') & strcmpi(nom(1:7),'BPMData')
+%         nom2 = nom;
+%     end
+% 
+% end
+% repBPM=char([rep '/' nom2]);
+% BPMdata=load(repBPM);
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%Plane=1;
+%if      Plane==0
+%    loop=2;
+%    Plane=1;
+%else
+%    loop=1;
+%end
+%%
+%$$$$$$$$$$$
+%for m=1:loop
+%$$$$$$$$$$$
+
+
+
+if     Plane==1
+    BpmFam='BPMx';
+    CorFam='HCOR';
+    NamePlane='HPlane';
+    CorBpmResp=efficacy.HPlane; % matrice d'efficacitÃ© correcteur/BPM
+    %BpmMax=37; %non utilisÃ©
+%    BpmSigma1=BPMdata.BPMxData.Sigma;
+elseif Plane==2
+    BpmFam='BPMz';
+    CorFam='VCOR';
+    NamePlane='VPlane';
+    CorBpmResp=efficacy.VPlane;
+    %BpmMax=4.5; %non utilisÃ©
+   % BpmSigma1=BPMdata.BPMyData.Sigma;
+else
+    error('input must "1" for horizontal plane or "2" for vertical plane');
+end
+
+%if Method=='MEC'
+%% UTILISATION du MEC:
+%
+%mec(QuadFamilyList,QuadDev,Plane,CorBpmResp)
+%Demander si le fichier respcor.m convient
+%sinon [effic]=respcor(Plane)
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+% PREPARATION DES LISTES DE DEVICES %
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+BpmDevList = getlist(BpmFam);
+CorDevList = getlist(CorFam);
+
+for i=1:length(CorDevList)
+    CorDevListCell(i)=mat2cell(CorDevList(i,:),1,2);
+end
+
+
+
+%disp('poc');
+%getam('BPMx',[1 2])
+
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+% MEMORISATION DES VALEURS INITIALES %
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+for i=1:length(BpmDevList) % voir peut ï¿œtre seulement Bpm Dispo???
+    BpmDevList(i,:);
+    InitValBpm(i)=getam(BpmFam,BpmDevList(i,:)); % A modifier: pas trÃšs performant
+    BpmSigma0(i)=1;
+end
+
+if condBPMsigma==0
+    BpmSigma=BpmSigma0;
+else
+    BpmSigma=BpmSigma1;
+end
+
+BpmSigma;
+InitValBpm;
+
+for i=1:length(CorDevList) % voir peut ï¿œtre seulement COR Dispo???
+    InitValCor(i)=getsp(CorFam,CorDevList(i,:)); % A modifier: pas trÃšs performant
+end
+
+
+% MODIFIER LA GESTION DES ERREURS: STATUS
+BPMStatus =family2status(BpmFam);
+CorStatus =family2status(CorFam);
+BpmFam;
+CorFam;
+
+if sum(BPMStatus)~=120
+    disp('Il y a des BPM qui ont un mauvais status')
+end
+
+if sum(CorStatus)~=56
+    disp('Il y a des COR qui ont un mauvais status')
+end
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+taille=size(QuadFamilyList);
+
+disp('$$$$$$$$$$$$$$$$$$$$$$$$')
+for j=1:taille(1)
+
+    %% Choix de la variation minimale du courant dans le correcteur requise pour obtenir un bon BBA
+    QuadStatus=family2status(char(QuadFamilyList(j)),QuadDevList(j,:));
+
+    if QuadStatus~=1
+        disp('BBA impossible mauvais statut du QP')
+    end
+    InitValQp =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+    %RECHERCHE DES ELEMENTS POUR LE BBA: BPM, CORRECTEURS
+    if strcmpi(Method,'MEC')
+        %CorNumb=1;
+        [CorFamRes,CorDevListRes,CorElemRes,EffRes,BpmFamRes,BpmEyeRes]=mec3(QuadFamilyList(j),QuadDevList(j,:),Plane,CorBpmResp,CorNumber);
+        CorStatus1 =family2status(CorFam,CorDevListRes);
+        BPMStatus1 =family2status(BpmFam,BpmEyeRes);
+
+        if CorStatus1~=1
+            disp('BBA impossible mauvais statut du COR')
+        end
+
+        if BPMStatus1~=1
+            disp('BBA impossible mauvais statut du BPM')
+        end
+    elseif strcmpi(Method,'BMP4CM')
+        [CorFamRes,CorDevListRes,BpmFamRes,BpmDevListRes,BpmEyeRes,ConsRes]=bmp4Cor(QuadFamilyList(j),QuadDevList(j,:),Plane);
+        tailleBp=size(BpmDevListRes);
+    end
+
+    tailleCor=size(CorDevListRes);
+    CorDevListRes;
+    for b=1:tailleCor(1)
+        InitValcorUsed(b)=getsp(CorFam,CorDevListRes(b,:)); % a modifier: peu performant
+    end
+    %%
+    %DETERMINATION DES TABLES DE VALEURS POUR LES COR,QP...
+    % deltaCor Ã  ressortir de CorCurRange.m (pas encore programmÃ©)
+    % nombre de deltaCor aussi Ã  connaitre
+    clear CorCons CorSp BpmRes BpmVal QpCons QpSp
+    %nbDeltaCor=7;
+    %DeltaCor=0.75;%amps for MEC Method
+    % DeltaPosMax=1; %mm for BMP4CM Method
+    %retard=20;
+    var=0;
+    %stepsp(CorFam ,-nbDeltaCor*DeltaCor/2,CorDevListRes);
+    %stepsp(QuadFam,-nbDeltaQp*DeltaQp/4  ,QuadDev);
+    if strcmpi(Method,'MEC')
+        iniCor=InitValCor(CorElemRes);
+    elseif strcmpi(Method,'BMP4CM')
+        for i=1:4
+            inicorrect(i)=getam(CorFam,CorDevListRes(i,:));
+        end
+    end
+
+    for nbc=1:nbDeltaCor
+        if strcmpi(Method,'MEC')
+            CorTab(nbc)=InitValCor(CorElemRes)-((nbDeltaCor-1)*DeltaCor)/2+(nbc-1)*DeltaCor+offsetCor; %amps tableau ayant nbDeltaCor colonnes
+            % peut etre amÃ©liorÃ© (sans boucle)
+        elseif strcmpi(Method,'BMP4CM')
+            %CorTab(nbc)=-DeltaPosMax/2+(nbc-1)*DeltaPosMax/(nbDeltaCor-1);
+
+            DeltaPos=DeltaPosMax/(nbDeltaCor-1);
+            CorTab(1)=-DeltaPosMax/2+offsetCor;
+            for valC=1:nbDeltaCor-1
+                CorTab(valC+1)=CorTab(1)+valC*DeltaPos;
+            end
+            %CorTab(3)=0.1;
+            % CorTab(4)=0.1;
+            %CorTab(5)=0.1;
+        end%mm   BMP4CM
+    end
+    CorTab;
+    % Calcul du deltaK pour obtenir une variation de DeltaPos
+    %DeltaQp=2;
+    nbDeltaQp=2;
+    % DeltaPos=1.5e-3; % A revoir
+    % DeltaQp=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,DeltaPos,Plane)*InitValQp
+
+    %% Choix du Delta I en fonction du DeltaNu MAX et du Delta I/I Max
+%     DeltaNu=0.01;
+%     DeltaI_I=0.01;
+% 
+%     TuneTot=[-3.7e-3  9.37e-3 -2.33e-3   -8e-4  3.13e-3 -1.18e-3  6.75e-3 -1.88e-3 -7.95e-4  3.74e-3; ...
+%         2.91e-3 -2.74e-3  2.91e-3 3.74e-3   -1.68e-3  3.14e-3 -2.07e-3  2.14e-3  3.98e-3 -1.18e-3];
+% 
+%     current=[125.72 161.32 75.63 147.71 202.58 118.45 213 180.55 179.35 210.48]*0.04;
+%     %[DK]=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,Plane)
+% 
+%     for o=1:2
+%         for p=1:10
+%             TuneTot1(o,p)=DeltaNu/TuneTot(o,p);
+%             Dcourant(o,p)=min([abs(TuneTot1(o,p)) abs(current(p))]);
+%         end
+%     end
+% 
+% 
+%     numFamQ=char(QuadFamilyList(j));
+%     numQ=str2num(numFamQ(2:length(numFamQ)));
+%     DeltaQp=Dcourant(Plane,numQ);
+%     %DeltaQp=0.75;
+%     if condQp==1
+%         [DK]=CalcDK(char(QuadFamilyList(j)),QuadDevList(j,:),BpmFamRes,BpmEyeRes,Plane);
+%         DeltaQp=getsp(char(QuadFamilyList(j)),QuadDevList(j,:))*abs(DK);
+%     else
+        DeltaQp=DeltaQp0;
+%     end
+    %%
+
+    % CrÃ©ation des tableau de consignes pour les quadrupoles
+    % idÃ©e: toujours commencer "en haut" du cycle d'hystÃ©rÃ©sis
+    if InitValQp>0
+        QpTab(1)=InitValQp-DeltaQp;
+        QpTab(2)=InitValQp+DeltaQp;
+    elseif InitValQp<0
+        QpTab(1)=InitValQp+DeltaQp;
+        QpTab(2)=InitValQp-DeltaQp;
+    else
+        error('il y a un problÃšme pour le calcul du DeltaK')
+    end
+  
+    %%
+    %
+
+    %sauvegarde des valeurs
+    NameQuadDev=char(['dev' num2str(QuadDevList(j,1)) '_'  num2str(QuadDevList(j,2))]);
+    
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).CorDev=CorDevListRes;
+    if strcmpi(Method,'MEC')
+        BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Eff   =EffRes;
+    end
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).BpmDev=BpmEyeRes;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Date  =datestr(now);
+
+
+    %sauvegarde des valeurs initiales
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Qp =InitValQp;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Cor=InitValCor;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Init.Bpm=InitValBpm;
+
+    save(NameFile,'BBA');
+    load(NameFile);
+    %init=init+length(listfamQ);
+
+    toc;
+
+
+
+
+    %%
+    %% $$  DÃ©but du BBA   $$ %%
+    if strcmpi(Method,'MEC')
+
+        %%           DEBUT: boucle sur Qp (excursion +/- Dk)
+        vartext=0;
+        for v=1:nbDeltaQp
+            disp('Qp');
+            tuneNumber(v,:)=gettune;
+            current(v)=getdcct;
+            setsp(QuadFam,QpTab(v),QuadDev,-2);
+            pause(6);
+            %%   Debut: boucle sur COR (excursions nbDeltaCor)
+            clear CorCons CorSp
+            for u=1:nbDeltaCor
+                vartext=vartext+1;
+                %setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:));
+                texto=char([num2str(vartext) '/' num2str(2*nbDeltaCor)]);
+                disp(texto);
+                drawnow;
+
+                setsp(CorFam,CorTab(u),CorDevListRes,-2);
+                pause(retard); % valeur dÃ©finie par le programme en mode auto : valeur par dÃ©faut=2.5 sec
+                                                                %en mode manuel:valeur par dÃ©faut 4 sec
+                if u==1
+                    pause(9); % dÃ©fini par l'expÃ©rience
+                end
+                CorCons(u)=getsp(CorFam,CorDevListRes);
+                CorConsEye(u)=CorCons(u);
+                %CorSp(u)  =getsp(CorFam,CorDevListRes);
+
+                if v==1
+                    BpmRes(u)=getam(BpmFam,BpmEyeRes); %Mermorisation du BPM Eye
+                end
+
+                QpCons(u,v)=getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %QpSp(u,v)  =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %tempo
+
+                
+                %Modifier, boucle inutile !!!
+                for w=1:length(BpmDevList)
+                    BpmVal(w,v,u)=getam(BpmFam,BpmDevList(w,:)); %BpmVal(Bpm,Quad,Cor)
+                end
+
+            end
+            %%              FIN:boucle sur COR (excursions nbDeltaCor)
+            CorCons;
+            BpmRes;
+            QpCons;
+            %QpSp;
+            length(BpmVal);
+        end
+
+
+        %%
+
+    elseif strcmpi(Method,'BMP4CM')
+        iniCor=getam(BpmFam,BpmEyeRes);
+        %test du bump proposÃ©
+        ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(1),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+        indCorRes=ocsi.CM.DeviceList; %doit etre le meme que CorDevListRes
+        test=sum(indCorRes-CorDevListRes)
+        if abs(test)~=0
+            error('bump impossible')
+        else
+            for u2=1:nbDeltaCor
+                ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(u2),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+                CorVal(:,u2)=ocsi.CM.Delta
+            end
+        end
+
+vartext=0;
+        for v=1:nbDeltaQp
+            setsp(QuadFam,QpTab(v),QuadDev,-2);
+            tuneNumber(v,:)=gettune
+            current(v)=getdcct
+            pause(6);
+            disp('Qp');
+            %setsp(QuadFam,QpTab(v),QuadDev);
+            %%        Debut: boucle sur COR (excursions nbDeltaCor)
+            for u=1:nbDeltaCor
+                vartext=vartext+1;
+                texto=char([num2str(vartext) '/' num2str(2*nbDeltaCor)]);
+                disp(texto)
+                %setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:));
+                for u1=1:4
+                    setsp(char(CorFam),CorVal(u1,u),CorDevListRes(u1,:),-2);
+                end
+                if u==1
+                    pause(6)
+                end
+                pause(retard);
+                
+                getsp('HCOR');
+
+                drawnow;
+                clear CorCons CorSp
+                %ocsi=setorbitbump(BpmFam,BpmDevListRes,ConsRes*CorTab(u),CorFam,[-2 -1 1 2],'Incremental','NoSetSP');
+                %indCorRes=ocsi.CM.DeviceList; %doit etre le meme que CorDevListRes
+                %test=sum(indCorRes-CorDevLisRes)
+                if abs(test)~=0
+                    error('bump impossible')
+                end
+                tailleCorRes=size(indCorRes);
+                for c=1:tailleCorRes(1)
+                    CorCons(u,c)=getsp(CorFam,indCorRes(c,:));
+                    %CorSp(u,c)  =getsp(CorFam,indCorRes(c,:));
+                end
+                if v==1
+                    BpmRes(u)=getam(BpmFam,BpmEyeRes); %Mermorisation du BPM Eye
+                end
+                QpCons(u,v)=getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %QpSp(u,v)  =getsp(char(QuadFamilyList(j)),QuadDevList(j,:));
+                %tempo
+
+                CorConsEye(u)=BpmRes(u);
+                tailleBList=size(BpmDevListRes);
+                ind1=dev2elem(BpmFam,BpmDevListRes(1,:));
+                ind2=dev2elem(BpmFam,tailleBList(1));
+                for w=1:ind1-1
+                    BpmVal(w,v,u)=getam(BpmFam,BpmDevList(w,:)); %BpmVal(Bpm,Quad,Cor)
+                end
+                for w=ind2+1:120
+                    BpmVal(w-tailleBList(1),v,u)=getam(BpmFam,BpmDevList(w,:));
+                end
+                %tempo
+            end
+        end
+    end
+
+
+
+    %%      Sauvegarde
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.BpmData =BpmVal;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.BpmRes  =BpmRes;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.QuadCons=QpCons;
+    %BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.QuadSetp=QpSp;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCons =CorCons;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCons =CorCons;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.Current =current;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.Tune =tuneNumber;
+    %BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorSetp =CorSp;
+    save(NameFile,'BBA');
+    %%
+    %%      Retour aux Valeurs initiales Qp et COR
+    setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:),-2); % Init Qp
+    for b=1:tailleCor(1)
+        setsp(CorFam,InitValcorUsed(b),CorDevListRes(b,:),-2);   % Init Cor
+    end
+    pause(retard);
+    tuneNumber(3,:)=gettune;
+    %%          Fin:boucle sur Qp (excursion +/- Dk)
+    if Plane==1
+        tuneWatch=tuneNumber(1,1);
+        tuneEnd  =tuneNumber(3,1);
+    elseif Plane==2
+        tuneWatch=tuneNumber(1,2);
+        tuneEnd  =tuneNumber(3,2);
+    end
+
+    %% boucle de correction du nombre d'onde
+    %Dnu0=tuneWatch-tuneEnd;
+    tuneEnd=gettune
+
+    
+    % par dÃ©faut non utilisÃ©: condTune=0
+    % revoir pause
+    % revoir Delta I quad 
+    if condTune==1
+        stepQp=signDQ*0.0005;
+        signDQ=sign(QpCons(1,1));
+        while abs(tuneWatch-tuneEnd)>1e-5
+            stepsp(char(QuadFamilyList(j)),stepQp,QuadDevList(j,:));
+            pause(0.5);
+            tuneEnd1=gettune;
+
+            if Plane==1
+                tuneEnd=tuneEnd1(1);
+            elseif Plane==2
+                tuneEnd=tuneEnd1(2);
+            end
+
+        end
+    end
+    disp('ole')
+
+    %%
+    %%      Recherche du minimum de la fonction de mÃ©rite
+    %load('resBBA.mat')
+    %data=BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).MEC.Results.BpmData;
+    data=BpmVal;
+    datSize=size(data);
+    BpmSigma;
+
+    for r=1:datSize(3)     %itÃ©ration sur les valeurs de correcteurs
+        point=0;
+        for t=1:datSize(1) %itÃ©ration sur les valeurs des BPMs
+
+            point=point+1*((data(t,1,r)-data(t,2,r))/BpmSigma(t))^2;
+        end
+
+        merit(r,1)=CorConsEye(r);
+        merit(r,2)=1/datSize(1)*point;
+    end
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.FitData =merit;
+    save(NameFile,'BBA');
+
+    %coef=polyfit(merit(:,1), merit(:,2),2); % calcul des coef de la parabole de la fonction de mï¿œrite
+    droite=polyfit(CorConsEye,BpmRes,1);        % calcul des coef de la droite du Bpm observÃ©
+
+
+    %% Verif
+
+    %init:Moindres carrÃ©s
+ %%% A ALLEGER !!!!
+ 
+    VectB=merit(:,2);
+    for q=1:length(merit)
+        MatFunc(q,1)=merit(q,1)^2;  MatFunc(q,2)=merit(q,1); MatFunc(q,3)=1;
+        M1(1,q)=MatFunc(q,1);% M1(1,2)=1; M1(1,3)=1;
+        M2(1,q)=MatFunc(q,2);%; M2(2,q)=1; M2(3,q)=0;
+        M3(1,q)=MatFunc(q,3);%; M3(2,q)=0; M3(3,q)=1;
+    end
+    M1;
+    ResVect(1,1)=M1*VectB;ResVect(2,1)=M2*VectB;ResVect(3,1)=M3*VectB;
+    ResMat(1,1)=M1*MatFunc*[1;0;0];ResMat(1,2)=M1*MatFunc*[0;1;0];ResMat(1,3)=M1*MatFunc*[0;0;1];
+    ResMat(2,1)=M2*MatFunc*[1;0;0];ResMat(2,2)=M2*MatFunc*[0;1;0];ResMat(2,3)=M2*MatFunc*[0;0;1];
+    ResMat(3,1)=M3*MatFunc*[1;0;0];ResMat(3,2)=M3*MatFunc*[0;1;0];ResMat(3,3)=M3*MatFunc*[0;0;1];
+    ResMat;
+    coef=inv(ResMat)*ResVect;
+
+    %%
+
+    center=-coef(2)/(2*coef(1));             % abscisse de l'offset BBA (amps)
+    offs=droite(1)*center+droite(2);         % ordonnï¿œe de l'offset BBA (mm)
+    %%      Fin de Recherche du minimum
+
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.OffsetBpm =offs;
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCenter =center;
+
+    save(NameFile,'BBA');
+
+
+
+    for e=1:41
+        %ze(e)=min(BpmRes)+(e-1)*(max(BpmRes)-min(BpmRes))/40;
+        ze(e)=CorTab(1)+(e-1)*(CorTab(nbDeltaCor)-CorTab(1))/40;
+        %ze(e)=-2.5+(e-1)*5/40;
+        ord1(e)=parabole(ze(e),coef);
+        %ordco(e)=parabole(ze(e),valco);
+        ord2(e)=ligne(ze(e),droite);
+    end
+    toc;
+
+    for varTest=1:nbDeltaCor
+        ecart(varTest)=merit(varTest,2)-parabole(CorTab(varTest),coef);
+    end
+    rmsFit=qualFit(merit(:,1),merit(:,2),coef); % valeur affichÃ©e
+
+    BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.EcartFit =ecart;
+
+end
+
+
+
+
+%
+%Plane=2; % For running the prog on both Plane
+%%    %$$$$$$$$$$$$$$$
+%end
+NameFile;
+BpmRes;
+CorCons;
+%droite=polyfit(CorCons,BpmRes,1)
+iniCor;
+offs;
+
+ecart;
+CorDevListRes;
+if strcmpi(Method,'MEC')
+CorElemRes;
+EffRes;
+end
+disp('OffsCor');
+OffsCor=center-iniCor;
+
+
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % Verif moindres carrÃ©s
+% xi=merit(:,1)
+% yi=merit(:,2)
+% xi0=0;
+% xi2=0;
+% xi3=0;
+% xi4=0;
+% mesur1=0;
+% mesur2=0;
+% mesur3=0;
+% for i=1:length(CorCons)
+%    xi4=xi4+xi(i)^4;
+%    xi3=xi3+xi(i)^3;
+%    xi2=xi2+xi(i)^2;
+%    xi0=xi0+1;
+%    mesur1=mesur1+yi(i)*xi(i)^2;
+%    mesur2=mesur2+yi(i)*xi(i);
+%    mesur3=mesur3+yi(i);
+% end
+%
+% mato(1,1)=  sum(xi4); mato(1,2)=sum(xi3);    mato(1,3)=  sum(xi2);
+% mato(2,1)=  sum(xi3); mato(2,2)=sum(xi2);    mato(2,3)=  sum(xi);
+% mato(3,1)=  sum(xi2); mato(3,2)=sum(xi);     mato(3,3)=  sum(xi0);
+%
+% mesur=[mesur1;mesur2;mesur3]/6
+%
+% mato=mato/6
+% valco=inv(mato)*mesur
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+%
+%
+%
+% for e=1:41
+%     ze(e)=CorTab(1)+(e-1)*(CorTab(nbDeltaCor)-CorTab(1))/40;
+%     %ze(e)=-2.5+(e-1)*5/40;
+%     ord1(e)=parabole(ze(e),coef);
+%     ordco(e)=parabole(ze(e),valco);
+%     ord2(e)=ligne(ze(e),droite);
+% end
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% y1=[min(BpmRes)-0.5 max(BpmRes)+0.5];
+% y2=[min(merit(:,2))-0.01 max(merit(:,2))+0.01];
+%
+% figure(1)
+% hold all
+% [Bx1,Hb1,Hb2]=plotyy(ze,ord2,ze,ord1,'plot')
+% %,'LineStyle','-.')
+% %textval=char([offs ' mm']);
+% %text(center,offs,textval,'HorizontalAlignment','left')
+% set(Hb1,'Color','black','LineStyle','-.');%,'LineStyle','--')
+% set(Hb2,'Color','black','LineStyle','-.');
+%
+%
+%
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %figure(2)
+%
+% [Ax1,Ha1,Ha2]=plotyy(CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');%,'Marker','x','Color','red')
+%
+% set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+% set(Ha2,'Marker','x','Color','red');
+%
+% x1=get(Ax1(1),'XLim')
+% set(Ax1,'Visible','off')
+% set(Ax1(1),'YLim',y1)
+% set(Ax1(2),'YLim',y2)
+%
+% pl1=plot([center center],[y1(1) offs])
+%
+% pl2=plot([x1(1) center],[offs offs])
+% pl3=plot(center,offs,'Marker','o','Color','black')%,text(center,offs,'\leftarrow ',...
+%      %'HorizontalAlignment','left'))
+%
+% set([pl1 pl2],'Color','black','LineStyle','-.');
+%
+%
+% set(Bx1,'Visible','on')
+% set(Bx1(1),'YLim',y1,'YColor','blue')
+% set(Bx1(2),'YLim',y2,'YColor','red')
+% xlabel('COR Value (amps)')
+% ylabel(Bx1(1),'(mm)')
+% ylabel(Bx1(2),'(merit)')
+%
+
+
+
+save('resu.mat','merit','ze','ord1','ord2','droite','coef','CorCons','BpmRes','coef','center','offs')
+
+%% Tout est enregistrÃ© dans une structure
+% BBA.(QuadFam).(['dev' QuadDev]).(Plane).(Method).CorDev
+%                                                 .eff
+%                                                 .BpmDev
+%                                                 .Date
+%                                                 .Results
+%...
+
+%example:
+% >> BBA.Q1.dev1_1.HPlane.MEC.CordeV
+% ans =
+% >> 5    1
Index: /trunk/machine/SOLEIL/StorageRing/BBA/bba_sextu.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/bba_sextu.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/bba_sextu.m	(revision 17)
@@ -0,0 +1,386 @@
+
+function [merit,CorConsEye,BpmDevRes,offs,OffsCor,center,ze,ord1,ord2,BpmResEye,iniCor,rmsFit]=bba_sextu(QTFam,Plane,Method,nbDeltaCor,DeltaCor,offsetCor,retard,DeltaQp0)
+
+
+QTDev=[2 1]
+
+cd '/home/matlabML/measdata/Ringdata/BBA/debug'
+Namefile='SEXTU_001_230906.mat'
+
+% PARAMETRES PERMETTANT DE REGLER LE BBA M.E.C.
+% nbDeltaCor=13;
+% DeltaCor=0.1;% amps
+% offsetCor=0.7; %amps
+% retard=4;%20; sec
+% DeltaQp0=1.75;
+
+condTune=0;      % permet la correction du point de fonctionnement QP pour revenir au nombre d'onde initial apres le BBA
+condQp=0;        %calcul automatique du DeltaQ -> 1 ou non -> 0 % pas disponible
+condBPMsigma=0;  %prise en compte ou non du sigma des Bpm -> 0 ou 1
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%switch2sim
+
+
+if     Plane==1
+    BpmFam='BPMx';
+    BpmFamF='BPMx';
+    CorFam='QT';
+    NamePlane='HPlane';
+    %CorBpmResp=efficacy.HPlane; %effic(Cor,Bpm)
+    %BpmMax=37;
+    %BpmSigma1=BPMdata.BPMxData.Sigma;
+elseif Plane==2
+    BpmFam='BPMz';
+    BpmFamF='BPMx';
+    CorFam='QT';
+    NamePlane='VPlane';
+    %CorBpmResp=efficacy.VPlane;
+    %BpmMax=4.5;
+    %BpmSigma1=BPMdata.BPMyData.Sigma;
+else
+    error('input must "1" for horizontal plane or "2" for vertical plane');
+end
+
+%if Method=='MEC'
+%% UTILISATION du MEC:
+%
+%mec(QuadFamilyList,QuadDev,Plane,CorBpmResp)
+%Demander si le fichier respcor.m convient
+%sinon [effic]=respcor(Plane)
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+% PREPARATION DES LISTES DE DEVICES %
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+BpmDevList=getlist(BpmFam);
+
+
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+% MEMORISATION DES VALEURS INITIALES %
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%
+
+for i=1:length(BpmDevList) % voir peut ï¿œtre seulement Bpm Dispo???
+    InitValBpm(i)=getam(BpmFamF,BpmDevList(i,:));
+end
+
+InitValBpm;
+
+
+BPMStatus =family2status(BpmFam);
+
+
+if sum(BPMStatus)~=120
+    disp('Il y a des BPM qui ont un mauvais status')
+end
+
+
+
+
+
+
+disp('$$$$$$$$$$$$$$$$$$$$$$$$')
+
+
+%Method,'MEC'
+CorNumb=1;
+%[CorFamRes,CorDevListRes,CorElemRes,EffRes,BpmFamRes,BpmEyeRes]=mec(QuadFamilyList(j),QuadDevList(j,:),Plane,CorBpmResp,CorNumb);
+[BpmRes,BpmDevRes,BpmPosRes]=proche2(BpmFam,'QT',QTDev,0);
+
+
+
+%DETERMINATION DES TABLES DE VALEURS POUR LES COR,QP...
+% deltaCor Ã  ressortir de CorCurRange.m (pas encore programmÃ©)
+% nombre de deltaCor aussi Ã  connaitre
+clear CorCons CorSp BpmRes BpmVal QpCons QpSp
+%nbDeltaCor=7;
+%DeltaCor=0.75;%amps for MEC Method
+DeltaPosMax=1; %mm for BMP4CM Method
+%retard=20;
+var=0;
+%stepsp(CorFam ,-nbDeltaCor*DeltaCor/2,CorDevListRes);
+%stepsp(QuadFam,-nbDeltaQp*DeltaQp/4  ,QuadDev);
+
+iniCor=0%getam('QT',QTDev)
+for nbc=1:nbDeltaCor
+    CorTab(nbc)=-((nbDeltaCor-1)*DeltaCor)/2+(nbc-1)*DeltaCor+offsetCor; %amps MEC
+end
+CorTab
+
+BpmResEyeIni=getam(BpmFam,BpmDevRes); %Mermorisation du BPM Eye
+%sauvegarde des valeurs
+%%
+%% $$  DÃ©but du BBA   $$ %%
+%%           DEBUT: boucle sur Qp (excursion +/- Dk)
+vartext=0;
+%%   Debut: boucle sur COR (excursions nbDeltaCor)
+clear CorCons CorSp
+for u=1:nbDeltaCor
+    vartext=vartext+1
+    %setsp(char(QuadFamilyList(j)),InitValQp,QuadDevList(j,:));
+
+    drawnow;
+
+    setsp(CorFam,CorTab(u),QTDev,-2);
+    if u==1
+        pause(16);
+    end
+    
+    
+    pause(retard);
+    
+    CorCons(u)=getsp('QT',QTDev);
+    CorConsEye(u)=CorCons(u);
+    %CorSp(u)  =getsp(CorFam,CorDevListRes);
+
+
+    BpmResEye(u)=getam(BpmFam,BpmDevRes); %Mermorisation du BPM Eye
+
+
+    for w=1:length(BpmDevList)
+        BpmVal(w,u)=getam(BpmFamF,BpmDevList(w,:)); %BpmVal(Bpm,Quad,Cor)
+    end
+
+end
+%%              FIN:boucle sur COR (excursions nbDeltaCor)
+CorCons;
+BpmDevRes;
+%QpCons;
+%QpSp;
+length(BpmVal);
+
+
+%%
+
+
+
+
+
+
+
+%%      Sauvegarde
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.BpmData =BpmVal;
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.BpmRes  =BpmRes;
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.QuadCons=QpCons;
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.QuadSetp=QpSp;
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCons =CorCons;
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorCons =CorCons;
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.Current =current;
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.Tune =tuneNumber;
+%BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).(Method).Results.CorSetp =CorSp;
+%save(NameFile,'BBA');
+%%
+%%      Retour aux Valeurs initiales Qp et COR
+
+
+setsp('QT',iniCor,QTDev);   % Init Cor
+
+pause(retard);
+
+
+
+
+%%      Recherche du minimum de la fonction de mÃ©rite
+%load('resBBA.mat')
+%data=BBA.(char(QuadFamilyList(j))).(NameQuadDev).(char(NamePlane)).MEC.Results.BpmData;
+data=BpmVal;
+datSize=size(data);
+
+
+for r=1:datSize(2)     %itÃ©ration sur les valeurs de correcteurs
+    point=0;
+    for t=1:datSize(1) %itÃ©ration sur les valeurs des BPMs
+
+        point=point+10*((data(t,r)-InitValBpm(t)))^2;
+    end
+
+    merit(r,1)=CorConsEye(r);
+    merit(r,2)=1/datSize(1)*point;
+end
+
+
+droite=polyfit(CorConsEye,BpmResEye,1)        % calcul des coef de la droite du Bpm observÃ©
+
+BpmResEyeIni
+BpmResEye
+%% Verif
+merit
+%init:Moindres carrÃ©s
+
+VectB=merit(:,2);
+for q=1:length(merit)
+    MatFunc(q,1)=merit(q,1)^2;  MatFunc(q,2)=merit(q,1); MatFunc(q,3)=1;
+    M1(1,q)=MatFunc(q,1);% M1(1,2)=1; M1(1,3)=1;
+    M2(1,q)=MatFunc(q,2);%; M2(2,q)=1; M2(3,q)=0;
+    M3(1,q)=MatFunc(q,3);%; M3(2,q)=0; M3(3,q)=1;
+end
+M1;
+ResVect(1,1)=M1*VectB;ResVect(2,1)=M2*VectB;ResVect(3,1)=M3*VectB;
+ResMat(1,1)=M1*MatFunc*[1;0;0];ResMat(1,2)=M1*MatFunc*[0;1;0];ResMat(1,3)=M1*MatFunc*[0;0;1];
+ResMat(2,1)=M2*MatFunc*[1;0;0];ResMat(2,2)=M2*MatFunc*[0;1;0];ResMat(2,3)=M2*MatFunc*[0;0;1];
+ResMat(3,1)=M3*MatFunc*[1;0;0];ResMat(3,2)=M3*MatFunc*[0;1;0];ResMat(3,3)=M3*MatFunc*[0;0;1];
+ResMat;
+coef=inv(ResMat)*ResVect;
+
+%%
+
+center=-coef(2)/(2*coef(1));             % abscisse de l'offset BBA (amps)
+offs=droite(1)*center+droite(2);         % ordonnï¿œe de l'offset BBA (mm)
+%%      Fin de Recherche du minimum
+
+for e=1:41
+    %ze(e)=min(BpmRes)+(e-1)*(max(BpmRes)-min(BpmRes))/40;
+    ze(e)=CorTab(1)+(e-1)*(CorTab(nbDeltaCor)-CorTab(1))/40;
+    %ze(e)=-2.5+(e-1)*5/40;
+    ord1(e)=parabole(ze(e),coef);
+    %ordco(e)=parabole(ze(e),valco);
+    ord2(e)=ligne(ze(e),droite);
+end
+%toc;
+
+for varTest=1:nbDeltaCor
+    ecart(varTest)=merit(varTest,2)-parabole(CorTab(varTest),coef);
+end
+
+rmsFit=qualFit(merit(:,1),merit(:,2),coef);
+
+
+% 
+BBASext.Bpmres=BpmResEye
+
+%BBASext.BpmresFam=BpmRes
+BBASext.BpmresDev=BpmDevRes
+BBASext.Init.BPmVal=BpmResEyeIni
+BBASext.Init.AllBpm=InitValBpm
+BBASext.Init.Cor=iniCor
+BBASext.Cons.Cor=CorConsEye
+BBASext.Cons.Cortab=CorTab
+BBASext.Cons.Corcons=CorCons
+BBASext.Results.merit=merit
+BBASext.Results.offset=offs
+BBASext.Results.centre=center
+BBASext.Results.OffCor=center-iniCor
+save(NameFile,'BBASext')
+
+%
+%Plane=2; % For running the prog on both Plane
+%%    %$$$$$$$$$$$$$$$
+%end
+%NameFile
+%BpmRes
+CorCons
+%droite=polyfit(CorCons,BpmRes,1)
+iniCor
+offs
+center
+ecart;
+%CorDevListRes
+%CorElemRes
+%EffRes
+disp('OffsCor')
+OffsCor=center-iniCor
+
+
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % Verif moindres carrÃ©s
+% xi=merit(:,1)
+% yi=merit(:,2)
+% xi0=0;
+% xi2=0;
+% xi3=0;
+% xi4=0;
+% mesur1=0;
+% mesur2=0;
+% mesur3=0;
+% for i=1:length(CorCons)
+%    xi4=xi4+xi(i)^4;
+%    xi3=xi3+xi(i)^3;
+%    xi2=xi2+xi(i)^2;
+%    xi0=xi0+1;
+%    mesur1=mesur1+yi(i)*xi(i)^2;
+%    mesur2=mesur2+yi(i)*xi(i);
+%    mesur3=mesur3+yi(i);
+% end
+%
+% mato(1,1)=  sum(xi4); mato(1,2)=sum(xi3);    mato(1,3)=  sum(xi2);
+% mato(2,1)=  sum(xi3); mato(2,2)=sum(xi2);    mato(2,3)=  sum(xi);
+% mato(3,1)=  sum(xi2); mato(3,2)=sum(xi);     mato(3,3)=  sum(xi0);
+%
+% mesur=[mesur1;mesur2;mesur3]/6
+%
+% mato=mato/6
+% valco=inv(mato)*mesur
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+%
+%
+%
+% for e=1:41
+%     ze(e)=CorTab(1)+(e-1)*(CorTab(nbDeltaCor)-CorTab(1))/40;
+%     %ze(e)=-2.5+(e-1)*5/40;
+%     ord1(e)=parabole(ze(e),coef);
+%     ordco(e)=parabole(ze(e),valco);
+%     ord2(e)=ligne(ze(e),droite);
+% end
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% y1=[min(BpmRes)-0.5 max(BpmRes)+0.5];
+% y2=[min(merit(:,2))-0.01 max(merit(:,2))+0.01];
+%
+% figure(1)
+% hold all
+% [Bx1,Hb1,Hb2]=plotyy(ze,ord2,ze,ord1,'plot')
+% %,'LineStyle','-.')
+% %textval=char([offs ' mm']);
+% %text(center,offs,textval,'HorizontalAlignment','left')
+% set(Hb1,'Color','black','LineStyle','-.');%,'LineStyle','--')
+% set(Hb2,'Color','black','LineStyle','-.');
+%
+%
+%
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %figure(2)
+%
+% [Ax1,Ha1,Ha2]=plotyy(CorCons,BpmRes,merit(:,1),merit(:,2) ,'plot');%,'Marker','x','Color','red')
+%
+% set(Ha1,'Marker','x','Color','blue');%,'LineStyle','--')
+% set(Ha2,'Marker','x','Color','red');
+%
+% x1=get(Ax1(1),'XLim')
+% set(Ax1,'Visible','off')
+% set(Ax1(1),'YLim',y1)
+% set(Ax1(2),'YLim',y2)
+%
+% pl1=plot([center center],[y1(1) offs])
+%
+% pl2=plot([x1(1) center],[offs offs])
+% pl3=plot(center,offs,'Marker','o','Color','black')%,text(center,offs,'\leftarrow ',...
+%      %'HorizontalAlignment','left'))
+%
+% set([pl1 pl2],'Color','black','LineStyle','-.');
+%
+%
+% set(Bx1,'Visible','on')
+% set(Bx1(1),'YLim',y1,'YColor','blue')
+% set(Bx1(2),'YLim',y2,'YColor','red')
+% xlabel('COR Value (amps)')
+% ylabel(Bx1(1),'(mm)')
+% ylabel(Bx1(2),'(merit)')
+%
+
+
+
+%save('resu.mat','merit','ze','ord1','ord2','droite','coef','CorCons','BpmRes','coef','center','offs')
+
+%% Tout est enregistrÃ© dans une structure
+% BBA.(QuadFam).(['dev' QuadDev]).(Plane).(Method).CorDev
+%                                                 .eff
+%                                                 .BpmDev
+%                                                 .Date
+%                                                 .Results
+%...
+
+%example:
+% >> BBA.Q1.dev1_1.HPlane.MEC.CordeV
+% ans =
+% >> 5    1
Index: /trunk/machine/SOLEIL/StorageRing/BBA/bmp4Cor.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/bmp4Cor.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/bmp4Cor.m	(revision 17)
@@ -0,0 +1,134 @@
+function [CorFamRes,CorDevListRes,BpmFamRes,BpmDevListRes,BpmEyeRes,ConsRes]=bmp4Cor(QuadFamilyList,QuadDevList,Plane)
+%clear
+%load('HrzCOR.mat');
+%Donnï¿œes stockï¿œe dans HrzCOR.mat ï¿œ partir du prog eff2.m
+%save('HrzCOR.mat','listHCOR','listBPMx','repInit','rep','effic','famQp','famQtot','listfamQtot','famBp','indBp','posBp','amplEff','HCORtrouv','famQtrouv','indQtrouv','nbH','indnbH','nbHCOR');
+
+if     Plane==1 
+            BpmFam='BPMx';
+            CorFam='HCOR';
+            NamePlane='HPlane';
+            %CorBpmResp=efficacy.HPlane; %effic(Cor,Bpm)
+            BpmMax=37;
+    elseif Plane==2
+            BpmFam='BPMz';
+            CorFam='VCOR';
+            NamePlane='VPlane';
+            %CorBpmResp=efficacy.VPlane;
+            BpmMax=4.5;
+    else
+        error('input must "1" for horizontal plane or "2" for vertical plane');
+    
+end
+
+% OPTION ALL Qp
+%for i=1:160 %length(famQtot) % <=> famQtot = vecteur de longueur 160 contenant toutes les familles Qp: 'Q1','Q1'...
+    disp('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$')
+    %tailleQp=size(QuadFamilyList);
+    
+    for i=1:length(QuadFamilyList)
+        
+    
+    %listfamQtot(i,:);
+    %indBp(i,:);
+    if Plane==1
+    [famCb1,indCb1,posHb1]=proche2(CorFam,char(QuadFamilyList(i)),QuadDevList(i,:),-1);      % Hb1= first  HCOR before Qp [cell elt]
+    [famCa1,indCa1,posHa1]=proche2(CorFam,char(QuadFamilyList(i)),QuadDevList(i,:),1);       % Ha1= first  HCOR after  Qp [cell elt]
+    [famCb2,indCb2,posHb2]=proche2(CorFam,CorFam,indCb1,-1);                % Hb2= second HCOR before Qp [cell elt]
+    [famCa2,indCa2,posHa2]=proche2(CorFam,CorFam,indCa1,1);                 % Ha2= second HCOR after  Qp [cell elt]
+    
+    % Hb2 Hb1 Qp Ha1 Ha2
+    
+   % [famBa1,indBa1,posBb1]=proche2(BpmFam,CorFam,indCb1,1)           % Bb1 = first  BPM after  HCOR "Hb1"
+   % [famBa2,indBa2,posBb2]=proche2(BpmFam,BpmFam,indBa1,1)          % Bb2 = second BPM after  HCOR "Hb1"
+   % 
+   % [famBb1,indBb1,posBa1]=proche2(BpmFam,CorFam,indCa1,-1)         % Ba1 = first  BPM before HCOR "Ha1"
+   % [famBb2,indBb2,posBa2]=proche2(BpmFam,CorFam,indBb1,-1)
+    
+    
+    %[famBqb1,indBqb1,posBqb1]=proche2('BPMx',char(famQtot(i)),listfamQtot(i,:),-1);    % Bqb1 = first   BPM before Qp [cell elt]
+    %[famBqa1,indBqa1,posBqa1]=proche2('BPMx',char(famQtot(i)),listfamQtot(i,:),1);     % Bqa1 = first   BPM after  Qp [cell elt]
+    
+     %Il y a soit 2 BPM soit 3 BPM entre deux HCOR 
+    
+         %if (sum(indBb1-indBa1)==0) | (sum(indBb1-indBa2)==0)
+         %    vecBp=[indBa1;indBa2];
+         %    cons=[1;1];
+         %else
+         %    vecBp=[indBa1;indBa2;indBb1];
+         %    cons=[1;1;1]
+         %end
+     elseif Plane==2
+         [famB0,indB0,posB0]=proche2(BpmFam,QuadFamilyList(i),QuadDevList(i,:),0);
+         [famBb1,indBb1,posb1]=proche2(BpmFam,QuadFamilyList(i),QuadDevList(i,:),-1);
+         [famBa1,indBa1,posa1]=proche2(BpmFam,QuadFamilyList(i),QuadDevList(i,:),1 );
+         testVecBp=[indBb1;indBa1]-[indB0;indB0];
+         testVec1(1)=sum(testVecBp(1,:));
+         testVec1(2)=sum(testVecBp(2,:));
+         
+         if testVec1(1)==0
+             %les cor avant Qp seront recherchÃ©s Ã  partir de indB0
+             %les cor aprÃšs Qp seront recherchÃ© Ã  partir de Qp
+             [famCb1,indCb1,posCb1]=proche2(CorFam,BpmFam,indB0,-1);
+             [famCb2,indCb2,posCb2]=proche2(CorFam,famCb1,indCb1,-1)
+             
+             [famCa1,indCa1,posCa1]=proche2(CorFam,QuadFamilyList(i),QuadDevList(i,:),1);
+             [famCa2,indCa2,posCa2]=proche2(CorFam,famCa1,indCa1,1);
+             
+             %quels sont les bpm compris entre Cb1 et Ca1
+             %comparer tous les Bpm aprÃšs le premier correcteur avant (Cb1) avec le premier avant 
+             
+            
+             
+             
+             
+         elseif testVec1(2)==0
+             %les cor avant Qp seront recherchÃ© Ã  partir de Qp
+             %les cor aprÃšs Qp seront recherchÃ© Ã  partir de indB0
+             
+             [famCb1,indCb1,posb1]=proche2(CorFam,QuadFamilyList(i),QuadDevList(i,:),-1);
+             [famCb2,indCb2,posb2]=proche2(CorFam,famCb1,indCb1,-1);
+             
+             [famCa1,indCa1,posa1]=proche2(CorFam,BpmFam,indB0,1);
+             [famCa2,indCa2,posa2]=proche2(CorFam,famCa1,indCa1,1);
+             
+                      
+            
+             
+         end
+          
+    end
+     [famBt0,indBt0,post0]=proche2(BpmFam,famCa1,indCa1,-1); % first BPM before Ca1
+             
+             var=0;
+             condi=10;
+             famBt1=famCb1;
+             indBt1=indCb1;
+             while abs(condi)>0
+                 var=var+1;
+                 [famBt1,indBt1,posBt1]=proche2(BpmFam,famBt1,indBt1,1);
+                 famBtSol(var)=cellstr(famBt1);
+                 indBtSol(var,:)=indBt1;
+                 posBtSol(var)=posBt1;
+                 condi=indBtSol(var,:)-indBt0;
+                 condi=sum(condi);
+                 %disp(condi);
+                 %disp(var);
+             end
+         for j=1:var
+             vecBp(j,:)=indBtSol(j,:);
+             cons(j)=1;
+         end
+    
+    [famYQp,indYQp,posYQp]=proche2(BpmFam,char(QuadFamilyList(i)),QuadDevList(i,:),0,vecBp);
+    
+    CorFamRes=CorFam;
+    CorDevListRes=[indCb2; indCb1; indCa1; indCa2];
+    BpmFamRes=BpmFam;
+    BpmDevListRes=vecBp;
+    BpmEyeRes=indYQp;
+    ConsRes=cons;
+   
+end
+
+%save('bmp4.mat','indC','valH','famQtot','listfamQtot')
Index: /trunk/machine/SOLEIL/StorageRing/BBA/compteurBBA.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/compteurBBA.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/compteurBBA.m	(revision 17)
@@ -0,0 +1,494 @@
+function compteurBBA(varargin)
+% analyse results of BBA from a file of type : ResBBA_numero_Date.mat
+% INPUT
+%  'Yes' if you want to write the specific file for offset application on
+%  file tableBBAH.mat and tableBBAV.mat
+%  'No' if you just want to evaluate results on file result.txt
+% OUTPUTS
+%   if 'yes' tableBBAH.mat and tableBBAV.mat
+%   if 'no' result.txt
+%
+
+if nargin < 1
+    error('compteurBBA input required');
+    return
+end
+
+if strcmpi(varargin,'Yes')
+    Application = 1;
+elseif strcmpi(varargin,'No')
+    Application = 0;
+end
+
+
+Rep = getfamilydata('Directory','BBA');
+WorkingDirectory = uigetdir(Rep);               % Working directory for BBA data
+cd(WorkingDirectory)
+disp('  ****************************************************************************');
+disp('  **                             WARNING                                    **');
+disp('  **    Choose the last BBA file for offset application                     **');
+disp('  **                                                                        **');
+disp('  ****************************************************************************');
+[FileName,PathName] = uigetfile('*.mat','Select the M-file') % please choose the last file
+load(FileName)                                  % Load data file
+
+
+%%
+l = 0;
+m = 0;
+famQ=fieldnames(BBA);                           % Get quad familynames
+%famQ=cellstr('Q10')
+lfamQ = size(famQ,1);
+
+for ik = 1:lfamQ, % loop on families
+
+    famQ{ik};
+
+    devQ = fieldnames(BBA.(famQ{ik}));
+    ldevQ = size(devQ,1);
+
+    for j = 1:ldevQ, % loop on quads
+
+        planeQ  = fieldnames(BBA.(famQ{ik}).(devQ{j}));
+        lplaneQ = size(planeQ);
+
+        for k = 1:lplaneQ, % loop on planes
+            famQ{ik};
+            devQ{j};
+
+            tabpla = planeQ(k); %plane
+            tabda  = BBA.(famQ{ik}).(devQ{j}).(planeQ{k}).MEC.Date; %date of measure
+            taboff = BBA.(famQ{ik}).(devQ{j}).(planeQ{k}).MEC.Results.OffsetBpm; %BBA offset
+            tabDevBpm=BBA.(famQ{ik}).(devQ{j}).(planeQ{k}).MEC.BpmDev; % BPM deviceliste
+
+            %switchyard on plane
+            if strcmpi(planeQ{k}, 'HPlane') % H-plane
+
+                %search since a given date and store in arrays
+                % TO BE IMPROVED
+                %%       if strcmpi(tabda(4:6),'Sep')
+                l = l+1;
+                tabdateH(l) = cellstr(tabda); % date
+                tabfamQH(l) = famQ(ik); % Quad family
+                tabdevQH(l) = devQ(j);  % Quad deviceliste
+                tabplaneQH(l) = planeQ(k); % utility ?
+                taboffsetH(l,1)=taboff; %% BBA BPM offset
+                taboffsetH(l,2)=getspos('BPMx',tabDevBpm); % BPM s-position
+                tabDevBH(l,:)=tabDevBpm; % BPM devicelist
+                %%      end
+
+            elseif strcmpi(planeQ{k}, 'VPlane') % V-plane
+
+                %search since a given date
+                % TO BE IMPROVED
+                %%      if strcmpi(tabda(4:6),'Sep')
+                m=m+1;
+                tabdateV(m)=cellstr(tabda);
+                tabfamQV(m)=famQ(ik);
+                tabdevQV(m)=devQ(j);
+                tabplaneQV(m)=planeQ(k);
+                taboffsetV(m,1)=taboff;
+                taboffsetV(m,2)=getspos('BPMz',tabDevBpm);
+                tabDevBV(m,:)=tabDevBpm;
+
+                %%     end
+
+            end
+
+        end
+    end
+end
+
+%cd '/home/matlabML/measdata/Ringdata/BBA/debug'
+%save('donne.mat','tabdateH','tabfamQH','tabdevQH','tabplaneQH','tabdateV','tabfamQV','tabdevQV','tabplaneQV')
+
+
+% Redundant to be compressed and improved
+testV = exist('tabfamQV') ; testH = exist('tabfamQH') ;
+if testV~=0
+    for i = 1:length(tabfamQV),
+        recaV(i,1)=tabfamQV(i);
+        recaV(i,2)=tabdevQV(i);
+        recaV(i,3)=cellstr(num2str(tabDevBV(i,:)));
+        recaV(i,4)=cellstr(num2str(taboffsetV(i,1)));
+        sortieV(i,1)=dev2tangodev('BPMz',tabDevBV(i,:));
+        sortieV(i,2)=cellstr(num2str(taboffsetV(i,1)));
+    end
+end
+if testH~=0
+    for i=1:length(tabfamQH)
+        recaH(i,1)=tabfamQH(i);
+        recaH(i,2)=tabdevQH(i);
+        recaH(i,3)=cellstr(num2str(tabDevBH(i,:)));
+        recaH(i,4)=cellstr(num2str(taboffsetH(i,1)));
+        sortieH(i,1)=dev2tangodev('BPMx',tabDevBH(i,:));
+        sortieH(i,2)=cellstr(num2str(taboffsetH(i,1)));
+    end
+end
+
+%%
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Ã¹')
+disp('VPLANE')
+% TO DO in an external file
+
+
+if testV~=0
+    % sorting on BPM s-position
+    [resV, indV] = sort(taboffsetV(:,2),1,'ascend');
+
+    % resort everything along the ring position
+    for i = 1:length(resV),
+        ordonneV(i)=taboffsetV(indV(i));
+        SortV(i,1)=sortieV(indV(i),1); % BPM devicelist
+        SortV(i,2)=sortieV(indV(i),2); % BPM offset
+        SortV(i,3)=tabfamQV(indV(i));  % quad family
+        SortV(i,4)=tabdevQV(indV(i));  % quad deviceliste
+        nom=char(tabdevQV(indV(i)));
+        in2=findstr(nom,'_');
+        in1=findstr(nom,'v');
+        SortV(i,5) = cellstr(dev2tango(char(tabfamQV(indV(i))),[str2num(nom(in1:in2-1)) str2num(nom(in2+1:length(nom)))]));
+    end
+
+    % V-plane
+    figure(2)
+
+    h1 = subplot(5,1,[1 4]);
+    plot(resV(:,1),ordonneV,'marker','o')
+    ylabel('Zoffset (mm)')
+    % plot lattice
+    h2 = subplot(5,1,5);
+    drawlattice;    xlabel('s [m]')
+    linkaxes([h1 h2],'x')
+    set([h1 h2],'XGrid','On','YGrid','On');
+
+    fprintf('Nombre de BBA: %d\n', length(tabfamQV))
+    fprintf('ecart type: %4.1f um rms\n', std(ordonneV)*1e3)
+    fprintf('moyenne: %4.1f um \n\n', mean(ordonneV)*1e3)
+
+    figure(3)
+    hist(ordonneV,20)
+    xlabel('Zoffset [mm]');
+    ylabel('Nb de BPM'); grid on;
+end
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+disp('HPLANE')
+%disp(recaH); % pose pb a l'excecution 13 sep 07 !??
+
+if testH~=0
+    % sorting on BPM s-position
+    [resH,indH] = sort(taboffsetH(:,2),1,'ascend');
+
+    %disp(recaH(:,4));
+    % resort everything along the ring position
+    for i=1:length(resH),
+        ordonneH(i)=taboffsetH(indH(i));
+        SortH(i,1)=sortieH(indH(i),1);
+        SortH(i,2)=sortieH(indH(i),2);
+        SortH(i,3)=tabfamQH(indH(i));
+        SortH(i,4)=tabdevQH(indH(i));
+        nom=char(tabdevQH(indH(i)));
+        in2=findstr(nom,'_');
+        in1=findstr(nom,'v');
+        SortH(i,5)=cellstr(dev2tango(char(tabfamQH(indH(i))),[str2num(nom(in1:in2-1)) str2num(nom(in2+1:length(nom)))]));
+    end
+
+    figure(4)
+    h1 = subplot(5,1,[1 4]);
+    plot(resH(:,1),ordonneH,'marker','o')
+    ylabel('Xoffset (mm)')    
+    h2 = subplot(5,1,5);
+    drawlattice; % plot lattice
+    xlabel('s [m]')
+    linkaxes([h1 h2],'x')
+    set([h1 h2],'XGrid','On','YGrid','On');
+
+    fprintf('Nombre de BBA: %d\n', length(tabfamQH))
+    fprintf('ecart type: %4.1f um rms\n', std(ordonneH)*1e3)
+    fprintf('moyenne: %4.1f um \n\n', mean(ordonneH)*1e3)
+
+    figure(5)
+    hist(ordonneH)
+    xlabel('Xoffset (mm)');
+    ylabel('Nb de BPM'); grid on;
+
+end
+%cd '/home/matlabML/mml/machine/Soleil/StorageRing/quad//fonction_test/'%Sauvegarde_beta_sept06 (betameasX,betameasZ)
+%%
+% Load betafunctions given by MAT
+% TO BE IMPROVED for a bit wrong and not generic
+cd(getfamilydata('Directory','QUAD'));
+load('Sauvegarde_beta_sept06')
+betameasX;
+betameasZ;
+
+% Build up quad list
+for i=1:10,
+    FamQpTri{i} = ['Q' num2str(i)];
+end
+
+
+k=0;
+for i=1:10, % loop on family
+    devtri = getlist(FamQpTri{i}); % Get devicelist for vali QUAD
+    for j=1:length(devtri) % loop on devices
+        k=k+1;
+        FamTriTot(k) =  FamQpTri(i);
+        devTriQp(k,:) = devtri(j,:);
+    end
+end
+
+
+for i=1:length(FamTriTot),
+    tabBetaX(i,1)=FamTriTot(i); % Family
+    tabBetaX(i,2)=cellstr(num2str(devTriQp(i,:))); %Device
+    tabBetaX(i,3)=cellstr(dev2tango(char(FamTriTot(i)),devTriQp(i,:))); % Tango names
+    tabBetaX(i,4)=cellstr(num2str(betameasX(i))); % betafunction
+    tabBetaZ(i,1)=FamTriTot(i);
+    tabBetaZ(i,2)=cellstr(num2str(devTriQp(i,:)));
+    tabBetaZ(i,3)=cellstr(dev2tango(char(FamTriTot(i)),devTriQp(i,:)));
+    tabBetaZ(i,4)=cellstr(num2str(betameasZ(i)));
+    %tabBetaZ(i,5)=cellstr(num2str(betameasX(i)));
+end
+
+%%
+%%%cd('/home/matlabML/measdata/Ringdata/BBA/debug');
+%save('tabBe.mat','tabBetaX','SortH')
+%load('tabBe.mat')
+tabBetaX;
+
+l=1;
+i=1;
+
+if testH~=0
+    % plan H
+    size(SortH,1);
+    %compute final offset with weigthed avarage when several quads for same BPM
+    % TO BE IMPROVE
+    while i < size(SortH,1)+1                    % attention Ã  ne pas utiliser length lorsque nbacquisition < nbre paramÃštres = 5
+        l;
+        i;
+        if i < size(SortH,1) && strcmpi(char(SortH(i,1)),char(SortH(i+1,1))) ; %si j'ai deux meme BPM
+
+            for j = 1:length(tabBetaX),
+
+                if strcmpi(char(SortH(i,5)),char(tabBetaX(j,3))), %je resort le premier quad correspondant
+                    l;
+
+                    %disp('first')
+                    char(SortH(i,3));%disp(reca
+                    betaQ1 = str2double(char(tabBetaX(j,4)));
+                    kQ1    = getkleff(char(SortH(i,3)),1); % BEWARE !! Theory only and depend on lattice
+                    oQ1    = str2double(char(SortH(i,2))); % Offset BPM
+                end
+
+                if strcmpi(char(SortH(i+1,5)),char(tabBetaX(j,3)))      %et le deuxiÃšme
+                    %disp('second');
+                    char(SortH(i+1,3));
+                    betaQ2=str2double(char(tabBetaX(j,4)));
+                    kQ2=getkleff(char(SortH(i+1,3)),1);
+                    oQ2=str2double(char(SortH(i+1,2)));
+                end
+            end
+
+            %je calcule l'offset
+            l;
+            char(SortH(i+1,3));
+            char(SortH(i,3));
+            oQ1;
+            kQ1;
+            betaQ1;
+            oQ2;
+            kQ2;
+            betaQ2;
+            % weighted avarage using betafunction and K values
+            newoff = (sqrt(betaQ1)*abs(kQ1)*oQ1 + sqrt(betaQ2)*abs(kQ2)*oQ2)/(sqrt(betaQ1)*abs(kQ1)+sqrt(betaQ2)*abs(kQ2));
+
+            offH(l,1) = SortH(i,1); %devBPM
+            offH(l,2) = cellstr(num2str(newoff));
+            l = l+1;
+            i = i+2;
+            % elseif i>1 && strcmpi(char(SortH(i,1)),char(SortH(i-1,1)))
+            %     disp('ola2')
+            %     i=i+1;
+        else % if unique, just keep value given by BBA measurement programme
+
+            offH(l,1)=SortH(i,1);
+            offH(l,2)=SortH(i,2);
+            l=l+1;
+            i=i+1;
+        end
+    end
+
+    % final results
+    tableBBAH = offH
+end
+
+%plan V
+if testV~=0
+    size(SortV,1);
+    l=1;
+    i=1;
+    while i<size(SortV,1)+1
+
+        l;
+        i;
+        if i<size(SortV,1) && strcmpi(char(SortV(i,1)),char(SortV(i+1,1))) ; %si j'ai deux meme BPM
+
+            for j=1:length(tabBetaZ)
+                if strcmpi(char(SortV(i,5)),char(tabBetaZ(j,3))) %je resort le premier quad correspondant
+                    betaQ1=str2num(char(tabBetaZ(j,4)));
+                    kQ1=getkleff(char(SortV(i,3)));
+                    kQ1=kQ1(1);
+                    oQ1=str2num(char(SortV(i,2)));
+                end
+
+                if strcmpi(char(SortV(i+1,5)),char(tabBetaZ(j,3)))      %et le deuxiÃšme
+                    betaQ2=str2num(char(tabBetaZ(j,4)));
+                    kQ2=getkleff(char(SortV(i+1,3)));
+                    kQ2=kQ2(1);
+                    oQ2=str2num(char(SortV(i+1,2)));
+                end
+            end
+            %je calcule l'offset
+            l;
+            oQ1;
+            kQ1;
+            betaQ1;
+            oQ2;
+            kQ2;
+            betaQ2;
+
+            newoff=(sqrt(betaQ1)*abs(kQ1)*oQ1 + sqrt(betaQ2)*abs(kQ2)*oQ2)/(sqrt(betaQ1)*abs(kQ1)+sqrt(betaQ2)*abs(kQ2));
+            offV(l,1)=SortV(i,1); %devBPM
+            offV(l,2)=cellstr(num2str(newoff));
+            l=l+1;
+            i=i+2;
+            % elseif i>1 && strcmpi(char(SortV(i,1)),char(SortV(i-1,1)))
+            %     disp('ola2')
+            %     i=i+1;
+        else
+
+            offV(l,1)=SortV(i,1);
+            offV(l,2)=SortV(i,2);
+            l=l+1;
+            i=i+1;
+        end
+    end
+
+    %final results
+    tableBBAV=offV
+end
+
+
+figure(9)
+hist(str2num(char(tableBBAV{:,2})),30)
+drawnow; grid on;
+pause(1)
+xlabel('Computed Zoffset (mm)');
+ylabel('Nb BPM');
+
+for k = 1:length(resV(:,1))-1
+    toto(k) = resV(k,1)-resV(k+1,1);
+end
+
+[I J] = find(toto);
+if toto(end)~=0
+    J = [J length(resV(:,1)) ];
+end
+for h=1:length(J)
+    abscissez(h) = resV(J(h),1);
+end
+% % %figure
+% % % h1 = subplot(5,1,[1 4]);
+% % % hold on
+% % % plot(abscissez,str2num(char(tableBBAV{:,2})),'bo-')
+% % % drawnow
+% % % ylabel('Computed Zoffset (mm)');
+% % % h2 = subplot(5,1,5);
+% % % drawlattice; % plot lattice
+% % % xlabel('s (m)');
+% % % linkaxes([h1 h2],'x')
+% % % set([h1 h2],'XGrid','On','YGrid','On');
+
+figure(11)
+hist(str2num(char(tableBBAH{:,2})),30)
+h = findobj(gca,'Type','patch');
+set(h,'FaceColor','r','EdgeColor','w')
+xlabel('Computed Xoffset (mm)');
+ylabel('Nb BPM'); grid on;
+
+for k = 1:length(resH(:,1))-1
+    tata(k) = resH(k,1)-resH(k+1,1);
+end
+[I J] = find(tata);
+if tata(end)~=0
+    J = [J length(resH(:,1)) ];
+end
+for h=1:length(J)
+    abscissex(h) = resH(J(h),1);
+end
+
+% % % figure(12)
+% % % h1 = subplot(5,1,[1 4]);
+% % % hold on
+% % % plot(abscissex,str2num(char(tableBBAH{:,2})),'bo-')
+% % % ylabel('Computed Xoffset (mm)');
+% % % h2 = subplot(5,1,5);
+% % % drawlattice; % Draw lattice
+% % % xlabel('s (m)');
+% % % linkaxes([h1 h2],'x')
+% % % set([h1 h2],'XGrid','On','YGrid','On');
+
+cd(WorkingDirectory)
+
+%% sauvegarde des offsets dans la directory de travail
+
+% affichage des rÃ©sultats dans un fichier "lisible"
+fid = fopen('resultat.txt', 'wt');
+fprintf(fid, '%s  \n',      '*************************************************');
+fprintf(fid, '%s  \n', '** resultats traites a partir du fichier BBA : **');
+fprintf(fid, '%s %s %s \n', '**      ',FileName,'           **');
+fprintf(fid, '%s %s %s \n', '** jour du traitement :  ', datestr(now) ,'**');
+fprintf(fid, '%s  \n',      '*************************************************');
+fprintf(fid, '%s \n', ' ');
+fprintf(fid, '%s \n', '*************** offsets horizontaux ********************');
+if testH~=0
+    for ih = 1:size(tableBBAH,1)
+        fprintf(fid, '%s %s %s  \n', tableBBAH{ih,1},' #   ',tableBBAH{ih,2});
+    end
+end
+if testV~=0
+    fprintf(fid, '%s \n', ' ');
+    fprintf(fid, '%s \n', '*************** offsets verticaux  *********************');
+    for iv = 1:size(tableBBAV,1)
+        fprintf(fid, '%s %s %s  \n', tableBBAV{iv,1},' #   ',tableBBAV{iv,2});
+    end
+end
+fclose(fid);
+
+if Application == 1
+    % test si le tableau rÃ©sultat existe dÃ©jÃ  (c'est qu'on a peut-etre dÃ©jÃ 
+    % appliquÃ© les offsets sur la machine ATTENTION !!!)
+    fidH = fopen('tableBBAH.mat') ; fidV = fopen('tableBBAV.mat');
+    if fidH~=(-1) | fidV ~= (-1)    % un des fichiers existe !!
+        tmp2 = questdlg('Do you want to overwrite BBA results !?','BBA results already exists !!!','Yes','No','No');
+        if strcmpi(tmp2,'Yes')                          % overwrite
+            if testH~=0
+                save('tableBBAH.mat','tableBBAH') %
+            end
+            if testV~=0
+                save('tableBBAV.mat','tableBBAV')
+            end
+        else
+            disp('BBA treatment cancelled')
+            return
+        end
+    else
+        if testH~=0
+            save('tableBBAH.mat','tableBBAH') %
+        end
+        if testV~=0
+            save('tableBBAV.mat','tableBBAV')
+        end
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/BBA/compteurBBA_vArnaud_oct06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/compteurBBA_vArnaud_oct06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/compteurBBA_vArnaud_oct06.m	(revision 17)
@@ -0,0 +1,356 @@
+
+% Working directory for BBA data
+cd('/home/matlabML/measdata/Ringdata/BBA/work2')
+%/home/diag/diag/Matlab/DserverBPM/Set_BBA_Offsets_planH.m
+
+% Load Last data file
+%load('ResBBA_0826_07-Sep-2006.mat')
+%load('ResBBA_1505_25-Sep-2006.mat')
+load('ResBBA_1535_11-Oct-2006.mat')
+%FileName = uigetfile('*.mat')
+%load(FileName);
+%load('ResBBA_1505_25-Sep-2006.mat')
+
+%%
+l = 0;
+m = 0;
+
+
+% Get quad familynames
+famQ=fieldnames(BBA);
+%famQ=cellstr('Q10')
+
+lfamQ = size(famQ,1);
+
+for ik = 1:lfamQ, % loop on families
+    
+    famQ{ik};
+
+    devQ = fieldnames(BBA.(famQ{ik}));
+    ldevQ = size(devQ,1);
+
+    for j = 1:ldevQ, % loop on quads
+        
+        planeQ  = fieldnames(BBA.(famQ{ik}).(devQ{j}));
+        lplaneQ = size(planeQ);
+
+        for k = 1:lplaneQ, % loop on planes
+            famQ{ik};
+            devQ{j};
+
+            tabpla = planeQ(k); %plane
+            tabda  = BBA.(famQ{ik}).(devQ{j}).(planeQ{k}).MEC.Date; %date of measure
+            taboff = BBA.(famQ{ik}).(devQ{j}).(planeQ{k}).MEC.Results.OffsetBpm; %BBA offset
+            tabDevBpm=BBA.(famQ{ik}).(devQ{j}).(planeQ{k}).MEC.BpmDev; % BPM deviceliste
+
+            %switchyard on plane
+            if strcmpi(planeQ{k}, 'HPlane') % H-plane
+                
+                %search since a given date and store in arrays
+                % TO BE IMPROVED
+                if strcmpi(tabda(4:6),'Sep')
+                    l = l+1;
+                    tabdateH(l) = cellstr(tabda); % date
+                    tabfamQH(l) = famQ(ik); % Quad family
+                    tabdevQH(l) = devQ(j);  % Quad deviceliste  
+                    tabplaneQH(l) = planeQ(k); % utility ?
+                    taboffsetH(l,1)=taboff; %% BBA BPM offset
+                    taboffsetH(l,2)=getspos('BPMx',tabDevBpm); % BPM s-position
+                    tabDevBH(l,:)=tabDevBpm; % BPM devicelist
+                end
+                
+            elseif strcmpi(planeQ{k}, 'VPlane') % V-plane
+
+                %search since a given date 
+                % TO BE IMPROVED
+                if strcmpi(tabda(4:6),'Sep')
+                    m=m+1;
+                    tabdateV(m)=cellstr(tabda);
+                    tabfamQV(m)=famQ(ik);
+                    tabdevQV(m)=devQ(j);
+                    tabplaneQV(m)=planeQ(k);
+                    taboffsetV(m,1)=taboff;
+                    taboffsetV(m,2)=getspos('BPMz',tabDevBpm);
+                    tabDevBV(m,:)=tabDevBpm;
+
+                end
+
+            end
+
+        end
+    end
+end
+
+%cd '/home/matlabML/measdata/Ringdata/BBA/debug'
+%save('donne.mat','tabdateH','tabfamQH','tabdevQH','tabplaneQH','tabdateV','tabfamQV','tabdevQV','tabplaneQV')
+
+
+% Redundant to be compressed and improved
+for i = 1:length(tabfamQV),
+    recaV(i,1)=tabfamQV(i);
+    recaV(i,2)=tabdevQV(i);
+    recaV(i,3)=cellstr(num2str(tabDevBV(i,:)));
+    recaV(i,4)=cellstr(num2str(taboffsetV(i,1)));
+    sortieV(i,1)=dev2tangodev('BPMz',tabDevBV(i,:));
+    sortieV(i,2)=cellstr(num2str(taboffsetV(i,1)));
+end
+
+for i=1:length(tabfamQH)
+
+    recaH(i,1)=tabfamQH(i);
+    recaH(i,2)=tabdevQH(i);
+    recaH(i,3)=cellstr(num2str(tabDevBH(i,:)));
+    recaH(i,4)=cellstr(num2str(taboffsetH(i,1)));
+    
+    sortieH(i,1)=dev2tangodev('BPMx',tabDevBH(i,:));
+    sortieH(i,2)=cellstr(num2str(taboffsetH(i,1)));
+end
+
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Ã¹')
+disp('VPLANE')
+% TO DO in an external file
+disp(recaV);
+
+% sorting on BPM s-position
+[resV, indV] = sort(taboffsetV(:,2),1,'ascend');
+
+% resort everything along the ring position
+for i = 1:length(resV),
+    ordonneV(i)=taboffsetV(indV(i));
+    SortV(i,1)=sortieV(indV(i),1); % BPM devicelist
+    SortV(i,2)=sortieV(indV(i),2); % BPM offset
+    SortV(i,3)=tabfamQV(indV(i));  % quad family
+    SortV(i,4)=tabdevQV(indV(i));  % quad deviceliste
+    nom=char(tabdevQV(indV(i)));
+    in2=findstr(nom,'_');
+    in1=findstr(nom,'v');
+    SortV(i,5) = cellstr(dev2tango(char(tabfamQV(indV(i))),[str2num(nom(in1:in2-1)) str2num(nom(in2+1:length(nom)))]));
+end
+
+% V-plane
+figure(1)
+
+plot(resV(:,1),ordonneV,'marker','o')
+xlabel('s [m]')
+ylabel('Zoffset (mm)')
+grid on
+fprintf('Nombre de BBA: %d\n', length(tabfamQV))
+fprintf('ecart type: %4.1f um rms\n', std(ordonneV)*1e3)
+fprintf('moyenne: %4.1f um \n\n', mean(ordonneV)*1e3)
+
+figure(2)
+hist(ordonneV,20)
+xlabel('Zoffset [mm]');
+ylabel('Nb de BPM');
+
+disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%')
+disp('HPLANE')
+disp(recaH);
+
+taboffsetH;
+% sorting on BPM s-position
+[resH,indH] = sort(taboffsetH(:,2),1,'ascend');
+
+%disp(recaH(:,4));
+% resort everything along the ring position
+for i=1:length(resH),
+    ordonneH(i)=taboffsetH(indH(i));
+    SortH(i,1)=sortieH(indH(i),1);
+    SortH(i,2)=sortieH(indH(i),2);
+    SortH(i,3)=tabfamQH(indH(i));
+    SortH(i,4)=tabdevQH(indH(i));
+    nom=char(tabdevQH(indH(i)));
+    in2=findstr(nom,'_');
+    in1=findstr(nom,'v');
+    SortH(i,5)=cellstr(dev2tango(char(tabfamQH(indH(i))),[str2num(nom(in1:in2-1)) str2num(nom(in2+1:length(nom)))]));
+end
+
+figure(3)
+plot(resH(:,1),ordonneH,'marker','o')
+xlabel('s [m]')
+ylabel('Xoffset (mm)')
+grid on
+
+fprintf('Nombre de BBA: %d\n', length(tabfamQH))
+fprintf('ecart type: %4.1f um rms\n', std(ordonneH)*1e3)
+fprintf('moyenne: %4.1f um \n\n', mean(ordonneH)*1e3)
+
+figure(4)
+hist(ordonneH)
+xlabel('Xoffset [mm]');
+ylabel('Nb de BPM');
+
+%cd '/home/matlabML/mmlcontrol/Ringspecific/fonction_test/'%Sauvegarde_beta_sept06 (betameasX,betameasZ)
+
+% Load betafunctions given by MAT
+% TO BE IMPROVED for a bit wrong and not generic
+cd('/home/matlabML/measdata/Ringdata/QUAD');
+load('Sauvegarde_beta_sept06')
+betameasX;
+betameasZ;
+
+% Build up quad list
+for i=1:10,
+    FamQpTri{i} = ['Q' num2str(i)];
+end
+
+
+k=0;
+for i=1:10, % loop on family
+    devtri = getlist(FamQpTri{i}); % Get devicelist for vali QUAD
+    for j=1:length(devtri) % loop on devices
+        k=k+1;
+        FamTriTot(k) =  FamQpTri(i);
+        devTriQp(k,:) = devtri(j,:);
+    end
+end
+
+
+for i=1:length(FamTriTot),
+    tabBetaX(i,1)=FamTriTot(i); % Family
+    tabBetaX(i,2)=cellstr(num2str(devTriQp(i,:))); %Device
+    tabBetaX(i,3)=cellstr(dev2tango(char(FamTriTot(i)),devTriQp(i,:))); % Tango names
+    tabBetaX(i,4)=cellstr(num2str(betameasX(i))); % betafunction
+    tabBetaZ(i,1)=FamTriTot(i);
+    tabBetaZ(i,2)=cellstr(num2str(devTriQp(i,:)));
+    tabBetaZ(i,3)=cellstr(dev2tango(char(FamTriTot(i)),devTriQp(i,:)));
+    tabBetaZ(i,4)=cellstr(num2str(betameasZ(i)));
+    %tabBetaZ(i,5)=cellstr(num2str(betameasX(i)));
+end
+
+%%
+cd('/home/matlabML/measdata/Ringdata/BBA/debug');
+%save('tabBe.mat','tabBetaX','SortH')
+%load('tabBe.mat')
+tabBetaX;
+
+l=1;
+i=1;
+
+% plan H
+length(SortH);
+%compute final offset with weigthed avarage when several quads for same BPM
+% TO BE IMPROVE
+while i < length(SortH)+1
+    l;
+    i;
+    if i < length(SortH) && strcmpi(char(SortH(i,1)),char(SortH(i+1,1))) ; %si j'ai deux meme BPM
+
+        for j = 1:length(tabBetaX),
+            
+            if strcmpi(char(SortH(i,5)),char(tabBetaX(j,3))), %je resort le premier quad correspondant
+                l;
+               
+                %disp('first')
+                char(SortH(i,3));
+                betaQ1 = str2double(char(tabBetaX(j,4)));
+                kQ1    = getkleff(char(SortH(i,3)),1); % BEWARE !! Theory only and depend on lattice
+                oQ1    = str2double(char(SortH(i,2))); % Offset BPM
+            end
+
+            if strcmpi(char(SortH(i+1,5)),char(tabBetaX(j,3)))      %et le deuxiÃšme
+                %disp('second');
+                char(SortH(i+1,3));
+                betaQ2=str2double(char(tabBetaX(j,4)));
+                kQ2=getkleff(char(SortH(i+1,3)),1);
+                oQ2=str2double(char(SortH(i+1,2)));
+            end
+        end
+        
+        %je calcule l'offset
+         l;
+        char(SortH(i+1,3));
+        char(SortH(i,3));
+        oQ1;
+        kQ1;
+        betaQ1;
+        oQ2;
+        kQ2;
+        betaQ2;
+        % weighted avarage using betafunction and K values
+        newoff = (sqrt(betaQ1)*abs(kQ1)*oQ1 + sqrt(betaQ2)*abs(kQ2)*oQ2)/(sqrt(betaQ1)*abs(kQ1)+sqrt(betaQ2)*abs(kQ2));
+
+        offH(l,1) = SortH(i,1); %devBPM
+        offH(l,2) = cellstr(num2str(newoff));
+        l = l+1;
+        i = i+2;
+        % elseif i>1 && strcmpi(char(SortH(i,1)),char(SortH(i-1,1)))
+        %     disp('ola2')
+        %     i=i+1;
+    else % if unique, just keep value given by BBA measurement programme
+
+        offH(l,1)=SortH(i,1);
+        offH(l,2)=SortH(i,2);
+        l=l+1;
+        i=i+1;
+    end
+end
+
+% final results
+tableBBAH = offH;
+
+
+%plan V
+length(SortV);
+l=1;
+i=1;
+while i<length(SortV)+1
+
+    l;
+    i;
+    if i<length(SortV) && strcmpi(char(SortV(i,1)),char(SortV(i+1,1))) ; %si j'ai deux meme BPM
+
+        for j=1:length(tabBetaZ)
+            if strcmpi(char(SortV(i,5)),char(tabBetaZ(j,3))) %je resort le premier quad correspondant
+                betaQ1=str2num(char(tabBetaZ(j,4)));
+                kQ1=getkleff(char(SortV(i,3)));
+                kQ1=kQ1(1);
+                oQ1=str2num(char(SortV(i,2)));
+            end
+
+            if strcmpi(char(SortV(i+1,5)),char(tabBetaZ(j,3)))      %et le deuxiÃšme
+                betaQ2=str2num(char(tabBetaZ(j,4)));
+                kQ2=getkleff(char(SortV(i+1,3)));
+                kQ2=kQ2(1);
+                oQ2=str2num(char(SortV(i+1,2)));
+            end
+        end
+        %je calcule l'offset
+        l;
+        oQ1;
+        kQ1;
+        betaQ1;
+        oQ2;
+        kQ2;
+        betaQ2;
+
+        newoff=(sqrt(betaQ1)*abs(kQ1)*oQ1 + sqrt(betaQ2)*abs(kQ2)*oQ2)/(sqrt(betaQ1)*abs(kQ1)+sqrt(betaQ2)*abs(kQ2));
+        offV(l,1)=SortV(i,1); %devBPM
+        offV(l,2)=cellstr(num2str(newoff));
+        l=l+1;
+        i=i+2;
+        % elseif i>1 && strcmpi(char(SortV(i,1)),char(SortV(i-1,1)))
+        %     disp('ola2')
+        %     i=i+1;
+    else
+
+        offV(l,1)=SortV(i,1);
+        offV(l,2)=SortV(i,2);
+        l=l+1;
+        i=i+1;
+    end
+end
+
+%final results
+tableBBAV=offV;
+
+
+
+cd '/home/matlabML/measdata/Ringdata/BBA/work2'
+
+% Save everything for diags
+% Be carefull if files already exist !!!!
+%save('tableBBAH.mat','tableBBAH') %dans work 2, tableBBA
+%save('tableBBAV.mat','tableBBAV')
+
+%offH
Index: /trunk/machine/SOLEIL/StorageRing/BBA/ligne.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/ligne.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/ligne.m	(revision 17)
@@ -0,0 +1,2 @@
+function [resu]=ligne(zo,co)
+resu=co(1)*zo+co(2);
Index: /trunk/machine/SOLEIL/StorageRing/BBA/mec.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/mec.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/mec.m	(revision 17)
@@ -0,0 +1,92 @@
+function [CorFamRes,CorDevRes,CorElemRes,MaxEffRes,BpmFamRes,BpmDevRes]= mec(QuadFamily,QuadDev,Plane,CorBpmResp,CorNumb)
+% MEC
+% function [CorFam,CorDev,MaxEff]= mec(QuadFamily,QuadDev,Plane,CorBpmResp)
+%
+% INPUTS                                                             -> VALUES
+%
+% 1. QuadFamily: Family of the quadrupole studied                    -> 'Q2'
+% 2. QuadDev:    [cell elt] of the quadrupole studied                -> [1 1]
+% 3. Plane:      Plane=1 horizontal only
+%                     =2 vertical only          
+% 4. CorBpmResp: Response matrix of correctors obtained from "respcor(plane)"
+%
+%
+% OUPUTS
+%
+% 1. CorFamRes: Family of the Most Effective Corrector found 
+% 2. CorDevRes: [cell elt] of the MEC found
+% 3. MaxEffRes: Efficacity of the MEC in mm/A
+%
+
+if ~iscellstr(QuadFamily)
+ error('la famille entree n est pas au format cell')
+end
+
+tailleQDev=size(QuadDev(1,:));
+tailleCorBpm=size(CorBpmResp);
+
+if isempty(QuadDev)
+    error('Veuillez entrer le device du quadripole Ã  Ã©tudier au format QuadDev=[cell elt]')
+elseif tailleQDev(2)~=2
+    error('Trop d''elements pour 1 device de QP:  QuadDev=[cell elt]')
+end
+
+if Plane<0 || Plane>2
+    error('Veuillez entrer le plan Ã©tudiÃ©: Horizontal: Plane=1 ; Vertical:Plane=2 ; Both:Plane=0')
+end
+
+if tailleCorBpm(1)~=56 & tailleCorBpm(2)~=120
+  error('Veuillez vÃ©rifier la matrice rÃ©ponse correcteurs/BPM')
+end
+
+
+
+
+
+load('respcor.mat')
+
+if    Plane==1 
+        BpmFam='BPMx';
+        CorFam='HCOR';
+        %CorBpmResp=efficacy.HPLane; %effic(Cor,Bpm)
+elseif Plane==2
+        BpmFam='BPMz';
+        CorFam='VCOR';
+        %CorBpmResp=efficacy.VPlane;
+else
+    error('input must "1" for horizontal plane or "2" for vertical plane');
+end
+    
+
+
+%Most Effective Corrector
+
+%BPM le plus proche du Qp (QuadFamily,[QuadDev]);
+[BpmFam2,BpmDev,BpmPos]=proche2(BpmFam,QuadFamily,QuadDev,0);
+
+indBpm=dev2elem(BpmFam,BpmDev);
+% Faire un tri sur EffCor de maniÃšre ï¿œ pouvoir choisir par exemple le 2Ãšme correcteurs le plus
+% efficace si le premier ne convient pas...  
+EffCor=CorBpmResp(:,indBpm);        % vecteur colonne de longueur nb HCOR ou nb VCOR
+[posEff,indEff]=sort(abs(EffCor),'descend');
+
+%MaxEff=max(abs(EffCor));            % extraction de l'efficacitÃ© max
+MaxEff=posEff(CorNumb);
+%indCor=find(abs(EffCor)==MaxEff);   % recherche de l'indice de l'efficacitÃ© max dans "EffCor"
+indCor=indEff(CorNumb);
+CorDevList=getlist(CorFam);
+
+%Rï¿œsultats
+CorFamRes=CorFam;
+CorDevRes=CorDevList(indCor,:); 
+CorElemRes=indCor; % Recherche du correcteur dï¿œlivrant l'efficacitï¿œ prï¿œcï¿œdente
+MaxEffRes=MaxEff;
+BpmFamRes=BpmFam;
+BpmDevRes=BpmDev;
+
+
+
+
+%**************************************************************************
+
+
Index: /trunk/machine/SOLEIL/StorageRing/BBA/mec2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/mec2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/mec2.m	(revision 17)
@@ -0,0 +1,110 @@
+function [CorFamRes,CorDevRes,CorElemRes,MaxEffRes,BpmFamRes,BpmDevRes]= mec(QuadFamily,QuadDev,Plane,CorNumb)
+% MEC
+% function [CorFam,CorDev,MaxEff]= mec(QuadFamily,QuadDev,Plane,CorBpmResp)
+%
+% INPUTS                                                             -> VALUES
+%
+% 1. QuadFamily: Family of the quadrupole studied                    -> 'Q2'
+% 2. QuadDev:    [cell elt] of the quadrupole studied                -> [1 1]
+% 3. Plane:      Plane=1 horizontal only
+%                     =2 vertical only          
+% 4. CorBpmResp: Response matrix of correctors obtained from "respcor(plane)"
+%
+%
+% OUPUTS
+%
+% 1. CorFamRes: Family of the Most Effective Corrector found 
+% 2. CorDevRes: [cell elt] of the MEC found
+% 3. MaxEffRes: Efficacity of the MEC in mm/A
+%
+% 
+% if ~iscellstr(QuadFamily)
+%  error('la famille entree n est pas au format cell')
+% end
+% 
+% tailleQDev=size(QuadDev(1,:));
+% tailleCorBpm=size(CorBpmResp);
+% 
+% if isempty(QuadDev)
+%     error('Veuillez entrer le device du quadripole Ã  Ã©tudier au format QuadDev=[cell elt]')
+% elseif tailleQDev(2)~=2
+%     error('Trop d''elements pour 1 device de QP:  QuadDev=[cell elt]')
+% end
+% 
+% if Plane<0 || Plane>2
+%     error('Veuillez entrer le plan Ã©tudiÃ©: Horizontal: Plane=1 ; Vertical:Plane=2 ; Both:Plane=0')
+% end
+% 
+% if tailleCorBpm(1)~=56 & tailleCorBpm(2)~=120
+%   error('Veuillez vÃ©rifier la matrice rÃ©ponse correcteurs/BPM')
+% end
+% 
+% 
+
+
+
+load('respcor.mat')
+
+if    Plane==1 
+        BpmFam='BPMx';
+        CorFam='HCOR';
+        %CorBpmResp=efficacy.HPLane; %effic(Cor,Bpm)
+elseif Plane==2
+        BpmFam='BPMz';
+        CorFam='VCOR';
+        %CorBpmResp=efficacy.VPlane;
+else
+    error('input must "1" for horizontal plane or "2" for vertical plane');
+end
+    
+
+
+%Most Effective Corrector
+
+%BPM le plus proche du Qp (QuadFamily,[QuadDev]);
+[BpmFam2,BpmDev2,BpmPos2]=proche2(BpmFam,QuadFamily,QuadDev,-1)
+[BpmFam3,BpmDev3,BpmPos3]=proche2(BpmFam,QuadFamily,QuadDev,1)
+
+[QFam2,QDev2,QPos2]=proche2(QuadFamily,BpmFam2,BpmDev2,-1);
+[QFam3,QDev3,QPos3]=proche2(QuadFamily,BpmFam3,BpmDev3,1);
+QPos=getspos(QuadFamily,QuadDev)
+if strcmpi(char(QFam2),char(QFam3))
+    [QFam41,QDev41,QPos41]=proche2('Q',BpmFam2,BpmDev2,-1)
+    [QFam42,QDev42,QPos42]=proche2('Q',BpmFam2,BpmDev2,1)
+    [QFam51,QDev51,QPos51]=proche2('Q',BpmFam3,BpmDev3,-1)
+    [QFam52,QDev52,QPos52]=proche2('Q',BpmFam3,BpmDev3,1)
+    col=cell2num([QPos41 QPos42 QPos51 QPos52])-QPos;
+   [minQ,indQ]=max(abs(col))
+   devtotBpm=[BpmDev2 BpmDev2 BpmDev3 BpmDev3];
+   devtotBpm(indQ)
+end
+   
+    
+    
+
+indBpm=dev2elem(BpmFam,BpmDev);
+% Faire un tri sur EffCor de maniÃšre ï¿œ pouvoir choisir par exemple le 2Ãšme correcteurs le plus
+% efficace si le premier ne convient pas...  
+EffCor=CorBpmResp(:,indBpm);        % vecteur colonne de longueur nb HCOR ou nb VCOR
+[posEff,indEff]=sort(abs(EffCor),'descend');
+
+%MaxEff=max(abs(EffCor));            % extraction de l'efficacitÃ© max
+MaxEff=posEff(CorNumb);
+%indCor=find(abs(EffCor)==MaxEff);   % recherche de l'indice de l'efficacitÃ© max dans "EffCor"
+indCor=indEff(CorNumb);
+CorDevList=getlist(CorFam);
+
+%Rï¿œsultats
+CorFamRes=CorFam;
+CorDevRes=CorDevList(indCor,:); 
+CorElemRes=indCor; % Recherche du correcteur dï¿œlivrant l'efficacitï¿œ prï¿œcï¿œdente
+MaxEffRes=MaxEff;
+BpmFamRes=BpmFam;
+BpmDevRes=BpmDev;
+
+
+
+
+%**************************************************************************
+
+
Index: /trunk/machine/SOLEIL/StorageRing/BBA/mec3.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/mec3.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/mec3.m	(revision 17)
@@ -0,0 +1,107 @@
+function [CorFamRes,CorDevRes,CorElemRes,MaxEffRes,BpmFamRes,BpmDevRes]= mec3(QuadFamily,QuadDev,Plane,CorBpmResp,CorNumb)
+% MEC
+% function [CorFam,CorDev,MaxEff]= mec(QuadFamily,QuadDev,Plane,CorBpmResp)
+%
+% INPUTS                                                             -> VALUES
+%
+% 1. QuadFamily: Family of the quadrupole studied                    -> 'Q2'
+% 2. QuadDev:    [cell elt] of the quadrupole studied                -> [1 1]
+% 3. Plane:      Plane=1 horizontal only
+%                     =2 vertical only          
+% 4. CorBpmResp: Response matrix of correctors obtained from "respcor(plane)"
+%
+%
+% OUPUTS
+%
+% 1. CorFamRes: Family of the Most Effective Corrector found 
+% 2. CorDevRes: [cell elt] of the MEC found
+% 3. CorElemRes : numero element du correcteur (equivalent Ã  getlist)
+% 4. MaxEffRes: Efficiency of the MEC in mm/A
+% 5. BpmFamRes : Famille du bpm choisi
+% 6. BpmDevRes : nomenclature [cell element] du bpm choisi
+
+if ~iscellstr(QuadFamily)
+ error('la famille entree n est pas au format cell')
+end
+
+tailleQDev=size(QuadDev(1,:));
+tailleCorBpm=size(CorBpmResp);
+
+if isempty(QuadDev)
+    error('Veuillez entrer le device du quadripole Ã  Ã©tudier au format QuadDev=[cell elt]')
+elseif tailleQDev(2)~=2
+    error('Trop d''elements pour 1 device de QP:  QuadDev=[cell elt]')
+end
+
+if Plane<0 || Plane>2
+    error('Veuillez entrer le plan Ã©tudiÃ©: Horizontal: Plane=1 ; Vertical:Plane=2 ; Both:Plane=0')
+end
+
+if tailleCorBpm(1)~=56 & tailleCorBpm(2)~=120
+  error('Veuillez vÃ©rifier la matrice rÃ©ponse correcteurs/BPM')
+end
+
+
+
+
+
+%load('respcor.mat')  
+
+if    Plane==1 
+        BpmFam='BPMx';
+        CorFam='HCOR';
+        %CorBpmResp=efficacy.HPLane; %effic(Cor,Bpm)
+elseif Plane==2
+        BpmFam='BPMz';
+        CorFam='VCOR';
+        %CorBpmResp=efficacy.VPlane;
+else
+    error('input must "1" for horizontal plane or "2" for vertical plane');
+end
+    
+% debugage des BPM non pris en compte! pour Q10.1, Q10.2 et Q5.1 dans cell 4, 8, 12, 16
+
+if strcmpi(char(QuadFamily),'Q5') && (QuadDev(1,1)==4 || QuadDev(1,1)==8 || QuadDev(1,1)==12 || QuadDev(1,1)==16)
+    %Q5.1 dans cell 4, 8, 12, 16
+    [BpmFam2,BpmDev,BpmPos]=proche2(BpmFam,QuadFamily,QuadDev,1);
+elseif strcmpi(char(QuadFamily),'Q10') && (QuadDev(1,1)==2 || QuadDev(1,1)==6 || QuadDev(1,1)==10 || QuadDev(1,1)==14 ||...
+        QuadDev(1,1)==3 || QuadDev(1,1)==7 || QuadDev(1,1)==11 || QuadDev(1,1)==15)
+    if QuadDev(1,2)==1
+        %Q10.1
+        [BpmFam2,BpmDev,BpmPos]=proche2(BpmFam,QuadFamily,QuadDev,1);
+    elseif  QuadDev(1,2)==2
+        %Q10.2
+        [BpmFam2,BpmDev,BpmPos]=proche2(BpmFam,QuadFamily,QuadDev,-1);
+    end
+else % calcul normal!
+    
+
+    %BPM le plus proche du Qp (QuadFamily,[QuadDev]);
+    [BpmFam2,BpmDev,BpmPos]=proche2(BpmFam,QuadFamily,QuadDev,0);
+end
+indBpm=dev2elem(BpmFam,BpmDev);
+% Faire un tri sur EffCor de maniÃšre ï¿œ pouvoir choisir par exemple le 2Ãšme correcteurs le plus
+% efficace si le premier ne convient pas...  
+EffCor=CorBpmResp(:,indBpm);        % vecteur colonne de longueur nb HCOR ou nb VCOR
+[posEff,indEff]=sort(abs(EffCor),'descend');
+
+%MaxEff=max(abs(EffCor));            % extraction de l'efficacitÃ© max
+MaxEff=posEff(CorNumb);
+%indCor=find(abs(EffCor)==MaxEff);   % recherche de l'indice de l'efficacitÃ© max dans "EffCor"
+indCor=indEff(CorNumb);
+CorDevList=getlist(CorFam);
+
+%Rï¿œsultats
+CorFamRes=CorFam;
+CorDevRes=CorDevList(indCor,:); 
+CorElemRes=indCor; % Recherche du correcteur dï¿œlivrant l'efficacitï¿œ prï¿œcï¿œdente
+MaxEffRes=MaxEff;
+BpmFamRes=BpmFam;
+BpmDevRes=BpmDev;
+
+
+
+
+%**************************************************************************
+
+
Index: /trunk/machine/SOLEIL/StorageRing/BBA/parabole.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/parabole.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/parabole.m	(revision 17)
@@ -0,0 +1,2 @@
+function [resu]=parabole(zo,co)
+resu=co(1)*zo^2+co(2)*zo+co(3);
Index: /trunk/machine/SOLEIL/StorageRing/BBA/proche2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/proche2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/proche2.m	(revision 17)
@@ -0,0 +1,264 @@
+function [FamRes,DevRes,PosRes]=proche2(FamR,FamC,DevC,valdes,FamRloc);
+% function [FamRes,DevRes,PosRes]=proche2(FamR,FamC,DevC,valdes,FamRloc);
+%
+% INPUTS                                                             -> VALUES
+%
+% 1. FamR: Family of the element looked for                          -> 'HCOR'
+% 2. FamC: Family of the element studied                             -> 'BPMx'
+% 3. DevC: [cell elt] of FamC                                        -> [2 3]
+% 4. valdes: integer to choose the relative location of the element of FamR
+%               valdes=-1 : FamR element located before  (FamC,DevC) -> -1
+%               valdes= 1 : FamR element located after   (FamC,DevC) ->  1
+%               valdes= 0 : closest element of FamR from (FamC,DevC) ->  0
+% 5. FamRloc: [cell elt;cell elt; ...]                               -> [1 2;3 6;8 4;...]
+%             optional input, used if it is necessary to reduce the FamR element list
+%
+%
+% OUPUTS
+%
+% 1. FamRes: Family of the element found (FamRes=FamR)
+%               generally FamRes=FamR
+%               but if FamR='Q', FamRes='Q1' | 'Q2' | ... | 'Q10'
+% 2. DevRes: [cell elt] of the element found
+% 3. PosRes: "s" position of the element found
+%
+
+%NOTES 
+%FamRes = Famr dans tout les cas sauf lorsque FamR='Q'
+% <=> recherche du Qp le plus proche de FamC @DevC
+% ATTENTION MAchine dependent
+% Use getcircumference instead
+% Use number of quad instead
+% trick of 3 rings instead of one
+
+% RECHERCHE DES POSITIONS DES BPMx
+%FamRloc=getlist(FamR);
+%dim=length(FamRloc);
+
+%i=1:dim;
+%pos=getspos(FamR,FamRloc(i,:));
+
+% CREATION AUTOMATIQUE D'UN TABLEAU AVEC TOUTES LES FAMILLES DES QP
+% <=>FamQp=['Q1' 'Q2' 'Q3' 'Q4' 'Q5' 'Q6' 'Q7' 'Q8' 'Q9' 'Q10' ]
+
+
+for i=1:10
+    FamQp(i)=cellstr(strcat('Q',num2str(i)));
+end
+
+
+% Traduction des variables d'entrï¿œe
+nameC=char(FamC);
+cellule=DevC(1);
+element=DevC(2);
+
+% cell1 = cellules oï¿œ on trouve Q1,Q2,Q3,Q4,Q5
+cell1=[1 4 5 8 9 12 13 16];
+% cell2 = cellules oï¿œ on trouve Q9,Q10
+cell2=[2 3 6 7 10 11 14 15];
+% Q6,Q7,Q8 dans toutes les cellules : OK
+
+longN=length(nameC);
+%FamRloc=zeros()
+nameC(1)=='Q'                          
+       nameC(2)=='T'
+if(FamR=='Q')   % Si la Famille d'entrï¿œe est seulement 'Q' <=> on veut scruter tous les Qp
+    init=0;
+    FamR=FamQp; % FamR doit contenir toutes les Fammilles de QP
+    for j=1:10
+        
+        FamRloc=getlist(char(FamR(j)));
+        % FamRloc=[cell elt] de la Famille 'Qj'
+       
+        %listFamR
+       
+        
+        lfQ=length(FamRloc); % length(FamRloc)=8 pour Q1,Q2,Q3| =16 pour Q4,Q5,Q9,Q10| =24 pour Q6,Q7,Q8
+        for i=1:lfQ
+            % FamQloc  =  [  'Q1'  ;  'Q1'  ;'Q1';...;'Q1';'Q2';...;'Q2';.......;'Q10' ]
+            % FamRloc  =  [cell elt;cell elt;....;...;....;....;...;....;.......;....% ]
+            % posQint  =  [  spos     spos   .... ... .... .... ... .... ....... ......]
+            FamQloc(i+init,:)=FamR(j);
+            FamRloc2(i+init,:)=FamRloc(i,:);
+            posQint(i+init)=getspos(char(FamR(j)),FamRloc(i,:)); % posQint = position s de [cell elt] de 'Qj'
+        end
+        init=init+length(FamRloc);
+    end
+    
+    posQ=getspos(char(nameC),DevC);     % posQ = position s de DevC=[cell elt] de de la Famille FamC=nameC
+    for i=1:160
+        if (abs(posQint(i)-posQ)>177 && posQint(i)-posQ>0) || (abs(posQint(i)-posQ)<177 && posQint(i)-posQ<0)
+                            condit=-1;
+        elseif (abs(posQint(i)-posQ)<177 && posQint(i)-posQ>0) || (abs(posQint(i)-posQ)>177 && posQint(i)-posQ<0)
+                            condit=1;
+        else 
+            condit=0;
+        end
+        poscalc(i)=min([abs(posQint(i)-posQ) 354-abs(posQint(i)-posQ)]);
+        poscalcBis(i,:)=[min([abs(posQint(i)-posQ) 354-abs(posQint(i)-posQ)]) condit];
+        
+    end
+    %tri
+    [posTri,indTri]=sort(poscalc,'ascend');
+    FamQloc;
+    FamRloc2;
+    indNear=indTri(1);
+    % OUTPUT
+    FamRes=FamQloc(indNear,:);          % FamRes = Famille du Qp le plus proche
+    DevRes=FamRloc2(indNear,:);          % DevRes = [cell elt] du Qp le plus proche
+    PosRes=getspos(char(FamQloc(indNear,:)),FamRloc2(indNear,:));% PosRes = position s du Qp le plus proche
+
+    cond=poscalcBis(indTri(1),2);
+
+    %TRAITEMENT DES CONDITIONS AVANT / APRES : 1 0 -1
+    if (valdes==0)
+        FamRes=FamRes;          % FamRes = Famille du Qp le plus proche
+        DevRes=DevRes;          % DevRes = [cell elt] du Qp le plus proche
+        PosRes=PosRes;
+    elseif(valdes==1)
+        if(cond>0)
+        FamRes=FamRes;
+        DevRes=DevRes;
+        PosRes=PosRes;
+        elseif(cond<=0)
+            i=1;
+            while cond<=0
+            indNear=indTri(i);
+            cond=poscalcBis(indTri(i),2);
+            FamRes=FamQloc(indNear,:);     
+            DevRes=FamRloc2(indNear,:);          
+            PosRes=getspos(char(FamQloc(indNear,:)),FamRloc2(indNear,:));
+            i=i+1;
+            end
+        end
+    elseif(valdes==-1)
+        if(cond<0)
+        FamRes=FamRes;
+        DevRes=DevRes;
+        PosRes=PosRes;
+        elseif(cond>=0)
+              i=1;
+            while cond>=0
+               
+            indNear=indTri(i);
+            cond=poscalcBis(indTri(i),2);
+            FamRes=FamQloc(indNear,:);         
+            DevRes=FamRloc2(indNear,:);       
+            PosRes=getspos(cellstr(FamRes),DevRes);
+            i=i+1;
+            end
+        end
+    end
+   
+       
+% si nameC=FamR = Qi, il se peut que DevC=[cell elt] n'existe pas!
+    %CAS 1
+elseif (nameC(2)~='T') && (nameC(1)=='Q') && (str2num(nameC(longN))< 6) &&  (str2num(nameC(longN))> 0) && isempty(find(cell1==cellule)) 
+    disp('cas1');
+    disp(nameC(1));
+    disp(nameC(longN));
+    FamRes='error';
+    DevRes='error';
+    PosRes='error';
+    disp('la Famille existe pas dans la cellule demandï¿œe')
+    
+    %CAS 2
+elseif (nameC(2)~='T') && (nameC(1)=='Q') && ((str2num(nameC(longN)) > 8) | (str2num(nameC(longN)) < 1)) && isempty(find(cell2==cellule))
+    disp('cas2');
+    disp(nameC(1));
+    disp(nameC(longN)+1);
+    FamRes='error';
+    DevRes='error';
+    PosRes='error';
+    disp('la Famille existe pas dans la cellule demandï¿œe')
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
+
+    %PAS DE PROBLEME !!!
+else
+    if nargin < 5 
+        FamRloc=getlist(FamR);
+    end
+    
+    dim=length(FamRloc);
+    
+    for i=1:dim
+        pos(i)=getspos(FamR,FamRloc(i,:));
+    end
+    
+    posC1=getspos(nameC,DevC); %Recheche position "s" de nameC
+    %nearest=abs(pos-posC1);
+    %indNear=find(nearest==min(nearest));
+    %PosRes=getspos(FamR,FamRloc(indNear,:));
+    
+        %PosRes=PosRes;
+        %DevRes=FamRloc(indNear,:);
+        %FamRes=FamR;
+       
+        
+
+    for i=1:dim
+        if (abs(pos(i)-posC1)>177 && pos(i)-posC1>0) || (abs(pos(i)-posC1)<177 && pos(i)-posC1<0)
+                            condit=-1;
+        elseif (abs(pos(i)-posC1)<177 && pos(i)-posC1>0) || (abs(pos(i)-posC1)>177 && pos(i)-posC1<0)
+                            condit=1;
+        else 
+            condit=0;
+        end
+        poscalc(i)=min([abs(pos(i)-posC1) 354-abs(pos(i)-posC1)]);
+        poscalcBis(i,:)=[min([abs(pos(i)-posC1) 354-abs(pos(i)-posC1)]) condit];
+    end
+    %tri
+    [posTri,indTri]=sort(abs(poscalc),'ascend');
+    %nearest=abs(poscalc);
+    indNear=indTri(1);
+    % OUTPUT
+    FamRes=FamR;                                    % FamRes = Famille du Qp le plus proche
+    DevRes=FamRloc(indNear,:);                      % DevRes = [cell elt] du Qp le plus proche
+    PosRes=getspos(char(FamR),FamRloc(indNear,:));  % PosRes = position s du Qp le plus proche
+    
+    cond=poscalcBis(indTri(1),2);
+    
+    %TRAITEMENT DES CONDITIONS AVANT / APRES : 1 0 -1
+    if (valdes==0)
+        FamRes=FamRes;          % FamRes = Famille du Qp le plus proche
+        DevRes=DevRes;          % DevRes = [cell elt] du Qp le plus proche
+        PosRes=PosRes;          % PosRes = position s du Qp le plus proche
+    elseif(valdes==1)
+        if(cond>0)
+        FamRes=FamRes;
+        DevRes=DevRes;
+        PosRes=PosRes;
+        elseif(cond<=0)
+            i=1;
+            while cond<=0 
+            indNear=indTri(i);
+            cond=poscalcBis(indTri(i),2);
+            FamRes=FamR;          
+            DevRes=FamRloc(indNear,:);          
+            PosRes=getspos(char(FamR),FamRloc(indNear,:));
+            i=i+1;
+            end
+        end
+    elseif(valdes==-1)
+        if(cond<0)
+        FamRes=FamRes;
+        DevRes=DevRes;
+        PosRes=PosRes;
+        elseif(cond>=0)
+              i=1;
+            while cond>=0
+            indNear=indTri(i);
+            cond=poscalcBis(indTri(i),2);
+            FamRes=FamR;          
+            DevRes=FamRloc(indNear,:);          
+            PosRes=getspos(char(FamR),FamRloc(indNear,:));
+            i=i+1;
+            end
+        end
+    end
+end
+save('data.mat','poscalc','poscalcBis','PosRes','cond','posTri','indTri','FamRloc');
+
Index: /trunk/machine/SOLEIL/StorageRing/BBA/qualFit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BBA/qualFit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BBA/qualFit.m	(revision 17)
@@ -0,0 +1,37 @@
+function rmsFit = qualFit(x1,y1,co)
+%QUALFIT - Calcule l'Ã©cart type de la distance entre la parabole calculÃ©e
+%et les donnÃ©es expÃ©riementales
+%
+%  INPUTS
+%  1  x1
+%  2. x2
+%  3. co
+%
+%  OUPUTS
+%  1. rmsfit
+%
+%  See Also bba_last
+
+%co=polyfit(x1,y1,2)
+
+for i=1:length(x1),
+    cub(1) = 2*co(1)^2;
+    cub(2) = 3*co(1)*co(2);
+    cub(3) = co(2)^2+2*co(1)*(co(3)-y1(i))+1;
+    cub(4) = co(2)*(co(3)-y1(i))-x1(i);
+
+    solcub = roots(cub);
+
+    [res,ind] = sort([abs(solcub(1)-x1(i)) abs(solcub(2)-x1(i)) abs(solcub(3)-x1(i))]);
+
+    xres = solcub(ind(1));
+    yres = parabole(x1(i),co);
+    x1(i);
+    y1(i);
+
+    dist(i) = sqrt((x1(i)-xres)^2+(y1(i)-yres)^2);
+end
+
+dist;
+
+rmsFit = std(dist);
Index: /trunk/machine/SOLEIL/StorageRing/BPMInit_Orb.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/BPMInit_Orb.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/BPMInit_Orb.m	(revision 17)
@@ -0,0 +1,52 @@
+function varargout = bpminit_orb
+% BPMINIT_Orb - Initialize electron BPM data for ORBIT program
+
+%
+% Written by William J. Corbett
+% Adapted by Laurent S. Nadolski
+
+BPMxFamily = 'BPMx';
+BPMzFamily = 'BPMz';
+
+AO = getao;
+
+%horizontal plane ***
+BPM(1).AOFamily = BPMxFamily;
+BPM(1).name = AO.(BPMxFamily).CommonNames;
+BPM(1).s    = AO.(BPMxFamily).Position;   
+ntbpm       = size(BPM(1).name,1);
+BPM(1).mode  = 0;                 %display to show name, toggle for BPM.ifit
+BPM(1).ref   = zeros(ntbpm,1);    %...BPM.ref,des,abs all set in reference read
+BPM(1).des   = zeros(ntbpm,1);    %...initialize array
+BPM(1).act   = zeros(ntbpm,1);    %...initialize array
+BPM(1).rffit = zeros(ntbpm,1);    %...initialize dispersion component
+BPM(1).avail = (1:ntbpm)';        %...initialize all BPMs available
+BPM(1).ifit  = (1:ntbpm)';        %...initialize all BPMs on for fitting
+BPM(1).fit   = zeros(ntbpm,1);    %...initialize fitted solution zero
+BPM(1).wt    = ones(ntbpm,1);     %...SVD fitting weights
+BPM(1).etawt = ones(ntbpm,1);     %...SVD dispersion fitting weights
+BPM(1).id    = 1;                 %...initialize BPM selection
+BPM(1).ATindex = AO.(BPMxFamily).AT.ATIndex;   %load AT indices
+BPM(1).ntbpm = ntbpm;             % number of bpms
+
+
+% vertical plane
+BPM(2).AOFamily= BPMzFamily;
+BPM(2).name = AO.(BPMzFamily).CommonNames;
+BPM(2).s    = AO.(BPMzFamily).Position;   
+ntbpm       = size(BPM(2).name,1);
+BPM(2).mode = 0;                  %display to show name, toggle for BPM.ifit
+BPM(2).ref  = zeros(ntbpm,1);     %...BPM.ref,des,abs all set in reference read
+BPM(2).des  = zeros(ntbpm,1);     %...initialize array
+BPM(2).act  = zeros(ntbpm,1);     %...initialize array
+BPM(2).rffit= zeros(ntbpm,1);     %...initialize dispersion component
+BPM(2).avail= (1:ntbpm)';         %...initialize all BPMs available
+BPM(2).ifit = (1:ntbpm)';         %...initialize all BPMs on for fitting
+BPM(2).fit  = zeros(ntbpm,1);     %...initialize fitted solution zero
+BPM(2).wt   = ones(ntbpm,1);      %...SVD fitting weights
+BPM(2).etawt= ones(ntbpm,1);      %...SVD dispersion fitting weights
+BPM(2).id   = 1;                  %...initialize BPM selection
+BPM(2).ATindex = AO.(BPMxFamily).AT.ATIndex;   %load AT indices
+BPM(2).ntbpm = ntbpm;             %number of bpms  
+
+varargout{1} = BPM;
Index: /trunk/machine/SOLEIL/StorageRing/CORInit_Orb.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/CORInit_Orb.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/CORInit_Orb.m	(revision 17)
@@ -0,0 +1,73 @@
+function varargout = CORInit_Orb(varargin)
+% CORINIT_ORB - Initializes COR structure for SPEAR ORBIT program
+%COR=CORInit_Orb(COR);
+
+%
+% Written by William J. Corbett
+% Adapted by Laurent S. Nadolski
+
+HCORFamily = 'HCOR';
+VCORFamily = 'VCOR';
+
+AO = getao;
+
+%horizontal
+COR(1).name     = AO.(HCORFamily).CommonNames;
+COR(1).s        = AO.(HCORFamily).Position;   
+COR(1).AOFamily = HCORFamily;
+good            = AO.(HCORFamily).Status;
+ntcor           = size(COR(1).name,1);
+COR(1).ntcor    = ntcor;
+COR(1).mode     = 0;                     %...display to show name, toggle for cor.ifit
+COR(1).wt       = ones(ntcor,1);         %...fitting weights
+COR(1).fit      = zeros(ntcor,1);        %...result of fitting
+% COR(1).knob     = zeros(ntcor,1);        %...for corrector knob
+% COR(1).iknob    = zeros(ntcor,1);        %...knob indices
+% COR(1).knobflag = 0;                     %...knob not saved
+COR(1).save     = zeros(ntcor,1);        %...for corrector restore
+COR(1).saveflag = 0;                     %...correctors not saved
+COR(1).fract    = 1.0;                   %...fraction of correction
+COR(1).id       = 1;                     %...initialize cor selection
+COR(1).scalemode= 1;                     %...0=manual mode, 1=autoscale
+COR(1).ylim     = 10.0;                  %...10 amp vertical axis scale
+COR(1).status   = (1:ntcor)'.*good;      %...initial status vector
+COR(1).avail    = COR(1).status;         %...initial availability vector (in response matrix)
+COR(1).ifit     = COR(1).status;         %...initial fitting index vector
+COR(1).ibump    = [];                    %...initial corrrector bump index vector
+% COR(1).bumpref  = [];                    %...initial corrrector values for bump
+COR(1).ATindex  = AO.(HCORFamily).AT.ATIndex;   %load AT indices
+COR(1).act      = zeros(ntcor,1);       %...actual values
+COR(1).ref      = zeros(ntcor,1);       %...reference values
+COR(1).des      = zeros(ntcor,1);       %...desired values
+
+%vertical
+COR(2).AOFamily = VCORFamily;
+COR(2).name     = AO.(VCORFamily).CommonNames;
+COR(2).s        = AO.(VCORFamily).Position;   
+good            = AO.(VCORFamily).Status;
+ntcor           = size(COR(2).name,1);
+COR(2).ntcor    = ntcor;
+COR(2).mode     = 0;                    %...display to show name, toggle for cor.ifit
+COR(2).avail    = zeros(ntcor,1);       %...available bpm 
+COR(2).fit      = zeros(ntcor,1);       %...result of fitting
+COR(2).wt       = ones(ntcor,1);        %...weights for fitting
+% COR(2).knob     = zeros(ntcor,1);       %...forcorrector knob
+% COR(2).iknob    = zeros(ntcor,1);       %...knob indices
+% COR(2).knobflag = 0;                    %...knob not saved
+COR(2).save     = zeros(ntcor,1);       %...for corrector reset
+COR(2).saveflag = 0;                    %...correctors not saved
+COR(2).fract    = 1.0;                  %...fraction of correction
+COR(2).id       = 1;                    %...initialize corrector selection 
+COR(2).scalemode= 1;                    %...0=manual mode, 1=autoscale
+COR(2).ylim     = 10.0;                 %...10 amp vertical axis scale
+COR(2).status   = (1:ntcor)'.*good;     %...initial status vector
+COR(2).avail    = COR(2).status;        %...initial availability vector (in response matrix)
+COR(2).ifit     = COR(2).status;        %...initial fitting index vector
+COR(2).ibump    = [];                   %...initial corrrector bump index vector
+% COR(2).bumpref  = [];                   %...initial corrrector values for bump
+COR(2).ATindex  = AO.(VCORFamily).AT.ATIndex;   %load AT indices
+COR(2).act      = zeros(ntcor,1);       %...actual values
+COR(2).ref      = zeros(ntcor,1);       %...reference values
+COR(2).des      = zeros(ntcor,1);       %...desired values
+
+varargout{1} = COR;
Index: /trunk/machine/SOLEIL/StorageRing/Contents.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Contents.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Contents.m	(revision 17)
@@ -0,0 +1,20 @@
+% ORBIT
+%
+% Files
+%   bpmcortwiss2excel - execute spear3 init
+%   bpmgui            - function varargout = bpmgui(action, varargin)
+%   bpminit_orb       - BPMINIT_Orb - Initialize electron BPM data for ORBIT program
+%   cor2zero          - set horizontal and vertical correctors to zero
+%   corgui            - - controls corrector manipulation and plotting for orbit program
+%   corinit_orb       - - Initializes COR structure for SPEAR ORBIT program
+%   getringparams     - - Fonction reading the storage ring current, beamlifetime, energy
+%   orbgui            - -- contains routines to set up the main orbit control panel
+%   readwrite         - - Multipurpose read/write function for orbit correction applicaiton
+%   reforb2zero       - =============================================================
+%   respgui           - =============================================================
+%   response2rsp      - - Loads middlelayer response matrix data format into orbit program response structure
+%   restoreorbit      - - Reads saved data from file
+%   soleilrestore     - function [sys,bpmx,bpmz,bpm,corx,corz,cor,rsp,bly]=soleilrestore
+%   solorbit          - GUI for orbit correction
+%   sortbpms          - - Compares vectors for several cases:
+%   sortcors          - - Compares vectors for several cases:
Index: /trunk/machine/SOLEIL/StorageRing/FOFB/FOFB_defauts.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/FOFB/FOFB_defauts.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/FOFB/FOFB_defauts.m	(revision 17)
@@ -0,0 +1,340 @@
+function varargout = FOFB_defauts(varargin)
+% FOFB_DEFAUTS M-file for FOFB_defauts.fig
+%      FOFB_DEFAUTS, by itself, creates a new FOFB_DEFAUTS or raises the existing
+%      singleton*.
+%
+%      H = FOFB_DEFAUTS returns the handle to a new FOFB_DEFAUTS or the handle to
+%      the existing singleton*.
+%
+%      FOFB_DEFAUTS('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in FOFB_DEFAUTS.M with the given input arguments.
+%
+%      FOFB_DEFAUTS('Property','Value',...) creates a new FOFB_DEFAUTS or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before FOFB_defauts_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to FOFB_defauts_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help FOFB_defauts
+
+% Last Modified by GUIDE v2.5 03-Feb-2009 11:21:17
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @FOFB_defauts_OpeningFcn, ...
+                   'gui_OutputFcn',  @FOFB_defauts_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before FOFB_defauts is made visible.
+function FOFB_defauts_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to FOFB_defauts (see VARARGIN)
+
+% Choose default command line output for FOFB_defauts
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes FOFB_defauts wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+attr_list={'processTimeOutOfRange','xOrbitOutOfRange','zOrbitOutOfRange','xCorrectionOutOfRange','zCorrectionOutOfRange','bpmsCountOutOfRange','storageRingCurrentOutOfRange','fofbRecordTimeout','bpmsTangoComError','sniffersTangoComError','steerersTangoComError','dcctTangoComError','serviceLockerComError','logs','fofbErrorStatus'};
+setappdata(handles.figure1,'attr_list',attr_list)
+dev='ANS/DG/FOFB-MANAGER';
+
+result=tango_read_attributes2(dev,attr_list);
+
+set(handles.processTimeOutOfRange,'value',result(1).value);
+set(handles.xOrbitOutOfRange,'value',result(2).value);
+set(handles.zOrbitOutOfRange,'value',result(3).value);
+set(handles.xCorrectionOutOfRange,'value',result(4).value);
+set(handles.zCorrectionOutOfRange,'value',result(5).value);
+set(handles.bpmsCountOutOfRange,'value',result(6).value);
+set(handles.storageRingCurrentOutOfRange,'value',result(7).value);
+set(handles.fofbRecordTimeout,'value',result(8).value);
+set(handles.bpmsTangoComError,'value',result(9).value);
+set(handles.sniffersTangoComError,'value',result(10).value);
+set(handles.steerersTangoComError,'value',result(11).value);
+set(handles.dcctTangoComError,'value',result(12).value);
+set(handles.serviceLockerComError,'value',result(13).value);
+
+% new_text='';
+% for i=1:1:size(result(14).value,2)
+%     new_text=strvcat(new_text,result(14).value{i});
+% end    
+new_text=result(14).value;
+
+set(handles.logs,'string',new_text);
+set(handles.logs,'value',size(new_text,1));
+
+set(handles.fofbErrorStatus,'string',result(15).value);
+
+switch result(15).value
+    case 'no error'
+        set(handles.fofbErrorStatus,'BackgroundColor',[1 1 1]*0.702)
+    otherwise
+        set(handles.fofbErrorStatus,'BackgroundColor','red')
+end
+
+% Count errors
+sum = 0;
+for k=1:13,
+    sum = result(k).value;
+end
+
+% Change color of List defaut
+if sum > 0
+    set(handles.text_list_defaults, 'BackgroundColor', [1 0 0]);
+else
+    set(handles.text_list_defaults, 'BackgroundColor', [0 1 0]);
+end
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = FOFB_defauts_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in processTimeOutOfRange.
+function processTimeOutOfRange_Callback(hObject, eventdata, handles)
+% hObject    handle to processTimeOutOfRange (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of processTimeOutOfRange
+
+
+% --- Executes on button press in xOrbitOutOfRange.
+function xOrbitOutOfRange_Callback(hObject, eventdata, handles)
+% hObject    handle to xOrbitOutOfRange (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of xOrbitOutOfRange
+
+
+% --- Executes on button press in zOrbitOutOfRange.
+function zOrbitOutOfRange_Callback(hObject, eventdata, handles)
+% hObject    handle to zOrbitOutOfRange (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of zOrbitOutOfRange
+
+
+% --- Executes on button press in xCorrectionOutOfRange.
+function xCorrectionOutOfRange_Callback(hObject, eventdata, handles)
+% hObject    handle to xCorrectionOutOfRange (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of xCorrectionOutOfRange
+
+
+% --- Executes on button press in zCorrectionOutOfRange.
+function zCorrectionOutOfRange_Callback(hObject, eventdata, handles)
+% hObject    handle to zCorrectionOutOfRange (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of zCorrectionOutOfRange
+
+
+% --- Executes on button press in storageRingCurrentOutOfRange.
+function storageRingCurrentOutOfRange_Callback(hObject, eventdata, handles)
+% hObject    handle to storageRingCurrentOutOfRange (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of storageRingCurrentOutOfRange
+
+
+% --- Executes on button press in fofbRecordTimeout.
+function fofbRecordTimeout_Callback(hObject, eventdata, handles)
+% hObject    handle to fofbRecordTimeout (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of fofbRecordTimeout
+
+
+% --- Executes on button press in bpmsTangoComError.
+function bpmsTangoComError_Callback(hObject, eventdata, handles)
+% hObject    handle to bpmsTangoComError (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of bpmsTangoComError
+
+
+% --- Executes on button press in sniffersTangoComError.
+function sniffersTangoComError_Callback(hObject, eventdata, handles)
+% hObject    handle to sniffersTangoComError (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of sniffersTangoComError
+
+
+% --- Executes on button press in steerersTangoComError.
+function steerersTangoComError_Callback(hObject, eventdata, handles)
+% hObject    handle to steerersTangoComError (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of steerersTangoComError
+
+
+% --- Executes on button press in dcctTangoComError.
+function dcctTangoComError_Callback(hObject, eventdata, handles)
+% hObject    handle to dcctTangoComError (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of dcctTangoComError
+
+
+% --- Executes on button press in serviceLockerComError.
+function serviceLockerComError_Callback(hObject, eventdata, handles)
+% hObject    handle to serviceLockerComError (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of serviceLockerComError
+
+
+% --- Executes on button press in Aknowledge.
+function Aknowledge_Callback(hObject, eventdata, handles)
+% hObject    handle to Aknowledge (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+attr_list=getappdata(handles.figure1,'attr_list');
+dev='ANS/DG/FOFB-MANAGER';
+tango_command_inout2(dev,'AcknowledgeError');
+pause(1)
+result=tango_read_attributes2(dev,attr_list);
+
+set(handles.processTimeOutOfRange,'value',result(1).value);
+set(handles.xOrbitOutOfRange,'value',result(2).value);
+set(handles.zOrbitOutOfRange,'value',result(3).value);
+set(handles.xCorrectionOutOfRange,'value',result(4).value);
+set(handles.zCorrectionOutOfRange,'value',result(5).value);
+set(handles.bpmsCountOutOfRange,'value',result(6).value);
+set(handles.storageRingCurrentOutOfRange,'value',result(7).value);
+set(handles.fofbRecordTimeout,'value',result(8).value);
+set(handles.bpmsTangoComError,'value',result(9).value);
+set(handles.sniffersTangoComError,'value',result(10).value);
+set(handles.steerersTangoComError,'value',result(11).value);
+set(handles.dcctTangoComError,'value',result(12).value);
+set(handles.serviceLockerComError,'value',result(13).value);
+
+% new_text='';
+% for i=1:1:size(result(14).value,2)
+%     new_text=strvcat(new_text,result(14).value{i});
+% end    
+new_text = result(14).value;
+set(handles.logs,'string',new_text);
+set(handles.logs,'value',size(new_text,1));
+
+set(handles.fofbErrorStatus,'string',result(15).value);
+
+switch result(15).value
+    case 'no error'
+        set(handles.fofbErrorStatus,'BackgroundColor',[1 1 1]*0.702)
+    otherwise
+        set(handles.fofbErrorStatus,'BackgroundColor','red')
+end
+  
+set(handles.text_date_acquitter,'String', datestr(clock));
+
+% Count errors
+sum = 0;
+for k=1:13,
+    sum = result(k).value;
+end
+
+% Change color of List defaut
+if sum > 0
+    set(handles.text_list_defaults, 'BackgroundColor', [1 0 0]);
+else
+    set(handles.text_list_defaults, 'BackgroundColor', [0 1 0]);
+end
+
+
+% --- Executes on button press in close.
+function close_Callback(hObject, eventdata, handles)
+% hObject    handle to close (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+close(handles.figure1)
+
+
+% --- Executes on button press in bpmsCountOutOfRange.
+function bpmsCountOutOfRange_Callback(hObject, eventdata, handles)
+% hObject    handle to bpmsCountOutOfRange (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of bpmsCountOutOfRange
+
+
+% --- Executes on selection change in logs.
+function logs_Callback(hObject, eventdata, handles)
+% hObject    handle to logs (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns logs contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from logs
+
+
+% --- Executes during object creation, after setting all properties.
+function logs_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to logs (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function text_date_acquitter_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to text_date_acquitter (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+set(hObject,'String', datestr(clock));
+
+
Index: /trunk/machine/SOLEIL/StorageRing/FOFB/FOFBguiTango.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/FOFB/FOFBguiTango.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/FOFB/FOFBguiTango.m	(revision 17)
@@ -0,0 +1,3809 @@
+function FOFBguiTango(action, Input2, Input3)
+%FOFBguiTango - GUI for FOFB correction configurion and RF Feedback
+%
+%  INPUTS
+%  None to launch the programme
+%  1. action - Callback to execute
+%  2. Input2 - First argument for callback function
+%  3. Input3  First argument for callback function
+%
+%  OUPUTS
+%  None
+%
+%  NOTES
+%  1. Settings for FOFB and manual orbit correction are often different
+%  2. Manual Correction : 3 iterations are done in a row
+
+%
+%  See Also setorbit, FOFBgui
+
+% For Compiler
+%#function lat_2020_3170a
+%#function solamor2linb
+%#function solamor2linc
+%#function gethbpmaverage
+%#function getvbpmaverage
+%#function gethbpmgroup
+%#function getvbpmgroup
+
+
+
+
+%
+%  Written by Laurent S. Nadolski
+
+% Check if the AO exists
+checkforao;
+devSpeakerName = getfamilydata('TANGO', 'TEXTTALKERS');
+devLockName    = 'ANS/CA/SERVICE-LOCKER';
+devRFFBManager = 'ANS/DG/RFFB-MANAGER';
+devFOFBManager = 'ANS/DG/FOFB-MANAGER';
+
+% orbit golden
+fileName = 'GoldenMatrix4FPGA.mat';
+
+
+% Arguments
+if nargin < 1
+    action = 'Initialize';
+end
+
+if nargin < 2
+    Input2 = 0;
+end
+
+if nargin < 3
+    Input3 = 0;
+end
+
+% Common variables
+SR_GEV = getenergy('Energy');
+
+% BPM Families
+BPMxFamily = 'BPMx';
+BPMyFamily = 'BPMz';
+
+% Corrector Families
+HCMFamily  = 'FHCOR';
+VCMFamily  = 'FVCOR';
+
+% number of correctors and BPMs
+HCMfullList  = family2dev(HCMFamily,0);
+VCMfullList  = family2dev(VCMFamily,0);
+BPMxfullList = family2dev(BPMxFamily,0);
+BPMyfullList = family2dev(BPMyFamily,0);
+
+nHCM =  size(HCMfullList,1);
+nVCM =  size(VCMfullList,1);
+nBPMx=  size(BPMxfullList,1);
+nBPMy=  size(BPMyfullList,1);
+%
+
+% Minimum stored current to allow correction
+DCCTMIN = 1; % mA
+
+%%%%%%%%%%%%%%%%
+%% Main Program
+%%%%%%%%%%%%%%%%
+
+switch(action)
+
+%% StopOrbitFeedback    
+    case 'StopOrbitFeedback'
+
+        setappdata(findobj(gcbf,'Tag','FOFBguiTangoFig1'),'RF_FEEDBACK_STOP_FLAG', 1);
+        set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextInformation'),'String','RF Feedback stopped');
+        pause(0);
+
+%% StopOrbitDCFeedback        
+    case 'StopOrbitDCFeedback'
+
+        setappdata(findobj(gcbf,'Tag','FOFBguiTangoFig1'),'DC_FEEDBACK_STOP_FLAG', 1);
+        %set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextInformation'),'String','DC Feedback stopped');
+        pause(0);
+
+%% Initialize       
+    case 'Initialize'
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % GUI  CONSTRUCTION
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        ButtonWidth   = 250;
+        ButtonHeight  = 25;
+
+        Offset1f    = 2*(ButtonHeight+3);             % Frame around Text information
+        Offset5f    = Offset1f + 3*(ButtonHeight+3);  % Frame around DC DB
+        Offset2f    = Offset5f + 4*(ButtonHeight+3);  % Frame around FOFB and RF FB
+        Offset3f    = Offset2f + 11*(ButtonHeight+3); % FOFB Configuration
+        FigWidth    = ButtonWidth + 6;                % Figure width
+        FigHeight   = Offset3f + 5.5*(ButtonHeight+3);% Figure heigth
+        ButtonWidth = ButtonWidth-6;
+
+        % Change figure position
+        set(0,'Units','pixels');
+        p = get(0,'screensize');
+
+        orbfig = findobj(allchild(0),'tag','FOFBguiTangoFig1');
+
+        if ~isempty(orbfig)
+            return; % IHM already exists
+        end
+
+        h0 = figure( ...
+            'Color',[0.1 0.1 1], ...
+            'HandleVisibility','Off', ...
+            'Interruptible', 'on', ...
+            'MenuBar','none', ...
+            'Name','FOFB CONTROL TANGO', ...
+            'NumberTitle','off', ...
+            'Units','pixels', ...
+            'Position',[30 p(4)-FigHeight-40 FigWidth FigHeight], ...
+            'Resize','off', ...
+            'HitTest','off', ...
+            'IntegerHandle', 'off', ...
+            'Tag','FOFBguiTangoFig1');
+
+        % Frame Box I
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 0], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset3f ButtonWidth+6 4.5*ButtonHeight+25], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 0], ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[6 3 + 4*(ButtonHeight+3)+Offset3f  ButtonWidth .6*ButtonHeight], ...
+            'String','FOFB configuration', ...
+            'Style','text');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 0], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3 + 3*(ButtonHeight+3) + Offset3f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBguiTangoCheckboxHcorrection');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 0], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+2*(ButtonHeight+3)+Offset3f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBguiTangoCheckboxVcorrection');
+
+        uicontrol('Parent',h0, ...
+            'Callback','FOFBguiTango(''OrbitCorrectionFOFB'');', ...
+            'Interruptible','Off', ...
+            'Enable','On', ...
+            'Position',[6 3+1*(ButtonHeight+3)+Offset3f ButtonWidth ButtonHeight], ...
+            'String','Correct Orbit', ...
+            'Tag','FOFBguiTangoButtonOrbitCorrection');
+
+        uicontrol('Parent',h0, ...
+            'CreateFcn','FOFBguiTango(''OrbitCorrectionSetupFOFB'',1);', ...
+            'callback','FOFBguiTango(''OrbitCorrectionSetupFOFB'',0);', ...
+            'Enable','on', ...
+            'Interruptible', 'off', ...
+            'Position',[6 3+0*(ButtonHeight+3)+Offset3f ButtonWidth 0.8*ButtonHeight], ...
+            'String','Edit BPM, CM Lists', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB');
+ 
+        % modif 03/01/2012 pour suppression bouton Generate new Matrix for
+        % FPGA
+%         uicontrol('Parent',h0, ...
+%             'callback','FOFBguiTango(''ConvertMatrix4FPGA'',0);', ...
+%             'Enable','on', ...
+%             'Interruptible', 'off', ...
+%             'Position',[6 3+Offset3f ButtonWidth 0.8*ButtonHeight], ...
+%             'String','Generate new Matrix for FPGA', ...
+%             'Style','PushButton', ...
+%             'Value',0,...
+%             'Tag','FOFBguiTangoButtonConvertMatrix4FPGA');
+
+        % Frame Box II
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset2f ButtonWidth+6 11*ButtonHeight+5], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[6 3+9*(ButtonHeight+3)+ Offset2f ButtonWidth .55*ButtonHeight], ...
+            'String','FOFB and RF Feedback', ...
+            'Style','text');
+
+        h1 = uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''TOGGLEHPLANEFOFB'');', ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3 + 8*(ButtonHeight+3) + Offset2f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Tag','FOFBguiTangoCheckboxHFOFB');
+
+        h2 = uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''TOGGLEVPLANEFOFB'');', ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+7*(ButtonHeight+3)+Offset2f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Tag','FOFBguiTangoCheckboxVFOFB');
+
+        h3 = uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','off', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+6*(ButtonHeight+3)+Offset2f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Correct RF Frequency', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBguiTangoCheckboxRF');
+   
+        h4 = uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 + 0.5*ButtonWidth  3 + 8*(ButtonHeight+3) + Offset2f 0.5*ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-Loop-Gain = ', ...
+            'Style','text', ...
+            'Tag','FOFBguiTangoXgain');
+ 
+        h5 = uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 + 0.5*ButtonWidth  3+7*(ButtonHeight+3)+Offset2f 0.5*ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-Loop-Gain = ', ...
+            'Style','text', ...
+            'Tag','FOFBguiTangoYgain');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''FOFBRunningMode'');', ...
+            'BackgroundColor',[1 0.4 0.4], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 + 0.5*ButtonWidth 3+6*(ButtonHeight+3)+Offset2f 0.5*ButtonWidth-32 .8*ButtonHeight], ...
+            'String','FOFB+SOFB', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Tag','FOFBguiTangoCheckboxFOFB_SOFB');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''STARTRFFOFB'');', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[8 3+5*(ButtonHeight+3)+ Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Start RFFB', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonStartRFFB');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''STOPRFFOFB'');pause(0);', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 3+5*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Stop RFFB', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonStopRFFB');
+        
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''StartFOFB'');pause(0);', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[8 3+4*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Start FOFB', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonStop2CurrentValues');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''StartFOFBConfig'');pause(0);', ...
+            'BackgroundColor', [1 0 0], ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 3+4*(ButtonHeight+3)+ Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Start FOFB+config', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonStart');
+
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''StopFOFB2CurrentValues'');pause(0);', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[8 3+3*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Stop to current', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonStop2CurrentValues');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''StopFOFB2Zero'');pause(0);', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 3+3*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Stop FOFB to zero', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonStop2Zero');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFB_defauts;', ...
+            'BackgroundColor', [1 1 0], ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[8 3+2*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Defaults', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonFOFBDefaults');
+
+        uicontrol('Parent',h0, ...
+            'callback','system(''atkpanel ANS/DG/FOFB-MANAGER &'')', ...
+            'BackgroundColor', [1 1 0], ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 3+2*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','FOFB-Manager', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonFOFBManager');
+
+        uicontrol('Parent',h0, ...
+            'callback','system(''atkpanel ANS/DG/RFFB-MANAGER &'');', ...
+            'BackgroundColor', [1 1 0], ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 3+1*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','RFFB-Manager', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonRFFBManager');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''ZeroingFHCOR'');pause(0);', ...
+            'BackgroundColor', [1 0 0], ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[6 3+0*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','FHCOR2zeros', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonHfcm2zero');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''ZeroingFVCOR'');pause(0);', ...
+            'BackgroundColor', [1 0 0], ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 3+0*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','FVCOR2zeros', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonVfcm2zero');
+
+%         uicontrol('Parent',h0, ...
+%             'CreateFcn','FOFBguiTango(''FeedbackSetupFOFB'',1);', ...
+%             'callback','FOFBguiTango(''FeedbackSetupFOFB'',0);', ...
+%             'Enable','on', ...
+%             'Interruptible', 'off', ...
+%             'Position',[8 3 + Offset2f ButtonWidth-5 .75*ButtonHeight], ...
+%             'String','Edit FOFB Setup', ...
+%             'Style','PushButton', ...
+%             'Value',0,...
+%             'Tag','FOFBguiTangoButtonFeedbackSetup');
+% 
+        % Frame Box III % Orbit DC Feedback
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset5f ButtonWidth+6 4*ButtonHeight+5], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[26 3+3*(ButtonHeight+3)+Offset5f 0.8*ButtonWidth .55*ButtonHeight], ...
+            'String','Orbit DC Feedback', ...
+            'Style','text');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[26 3+2*(ButtonHeight+3)+Offset5f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBguiTangoCheckboxHDCFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6+0.4*ButtonWidth 3+2*(ButtonHeight+3)+Offset5f 0.6*ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBguiTangoCheckboxVDCFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+1*(ButtonHeight+3)+Offset5f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Correct DC RF Frequency', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBguiTangoCheckboxDCRF');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''StartDCFB'');', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[8 6+Offset5f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Start DCFB', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonStartDC');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''StopOrbitDCFeedback'');pause(0);', ...
+            'Enable','off', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 6 + Offset5f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Stop DC FB', ...
+            'Value',0, ...
+            'Tag','FOFBguiTangoPushbuttonStopDC');
+
+        % Frame Box IV
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset1f  ButtonWidth+6 2*ButtonHeight+12], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[6 Offset1f + 1.80*ButtonHeight 1*ButtonWidth .7*ButtonHeight], ...
+            'String','FOFB status ', ...
+            'Style','text');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6 Offset1f + 1*ButtonHeight 0.6*ButtonWidth .7*ButtonHeight], ...
+            'String','To get Status Push button: ', ...
+            'Style','text', ...
+            'Tag','FOFBguiTangoStaticTextHeader');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBguiTango(''UpdateStatusFOFB'');pause(0);', ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6 + 0.6*ButtonWidth Offset1f + 1.1*ButtonHeight 0.3*ButtonWidth .7*ButtonHeight], ...
+            'String','Update', ...
+            'Style','PushButton', ...
+            'Tag','FOFBguiTangoUpdateStatusFOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 1], ...
+            'ForegroundColor','b', ...
+            'ListboxTop',0, ...
+            'Position',[6+ 0*ButtonWidth 3 + Offset1f + .05*ButtonHeight 0.18*ButtonWidth .7*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','text', ...
+            'Tag','FOFBguiTangoisxFOFBRunning');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 1], ...
+            'ForegroundColor','b', ...
+            'ListboxTop',0, ...
+            'Position',[6+0.2*ButtonWidth 3 + Offset1f + .05*ButtonHeight 0.18*ButtonWidth .7*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','text', ...
+            'Tag','FOFBguiTangoiszFOFBRunning');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 1], ...
+            'ForegroundColor','b', ...
+            'ListboxTop',0, ...
+            'Position',[6+0.4*ButtonWidth 3 + Offset1f + .05*ButtonHeight 0.18*ButtonWidth .7*ButtonHeight], ...
+            'String','RF', ...
+            'Style','text', ...
+            'Tag','FOFBguiTangoisRFRunning');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 1], ...
+            'ForegroundColor','b', ...
+            'ListboxTop',0, ...
+            'Position',[6+0.6*ButtonWidth 3 + Offset1f + .05*ButtonHeight 0.18*ButtonWidth .7*ButtonHeight], ...
+            'String','DC', ...
+            'Style','text', ...
+            'Tag','FOFBguiTangoisDCFBRunning');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 1], ...
+            'ForegroundColor','b', ...
+            'ListboxTop',0, ...
+            'Position',[6+0.8*ButtonWidth 3 + Offset1f + .05*ButtonHeight 0.18*ButtonWidth .7*ButtonHeight], ...
+            'String','SOFB', ...
+            'Style','text', ...
+            'Tag','FOFBguiTangoisSOFBRunning');
+        
+
+        % Frame Box "Close"
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 8 ButtonWidth+6 ButtonHeight+8], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'Callback', 'close(gcbf);', ...
+            'Enable','On', ...
+            'Interruptible','Off', ...
+            'Position',[6 13 ButtonWidth ButtonHeight], ...
+            'String','Close', ...
+            'Tag','FOFBguiTangoClose');
+
+        % Read planes for FOFB correction in device server
+        attr_list={'applyCmdsToXPlane','applyCmdsToZPlane'};
+        result=tango_read_attributes2(devFOFBManager,attr_list);
+
+        set(h1, 'Value',result(1).value(1));
+        set(h2, 'value',result(2).value(1));
+        set(h3, 'value',readattribute([devRFFBManager, '/isRunning']));
+
+        % Read default loop gain and display it 
+        FB=get(findobj(h0,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+        set(h4,'string',['H-Loop-Gain = ',num2str(FB.Xgain)]);
+        set(h5,'string',['V-Loop-Gain = ',num2str(FB.Ygain)]);
+         
+        
+        % Does not work. Need to get the full interfaced built!
+        %FOFBguiTango('UpdateStatusFOFB');pause(0);
+        
+        % Lock RF FB now that RF is taken care by fast horizontal steerers
+        set(findobj(h0,'Tag','FOFBguiTangoPushbuttonStartRFFB'), 'Enable','off');
+        set(findobj(h0,'Tag','FOFBguiTangoPushbuttonStopRFFB'), 'Enable','off');
+        
+        isRFRunning    = readattribute([devRFFBManager, '/isRunning']);
+        isxFOFBRunning = readattribute([devFOFBManager, '/xFofbRunning']);
+        iszFOFBRunning = readattribute([devFOFBManager, '/zFofbRunning']);
+
+        set(findobj(h0,'Tag','FOFBguiTangoButtonOrbitCorrection'),'Enable','off');
+
+        if isRFRunning || isxFOFBRunning || iszFOFBRunning
+            % Disable buttons in GUI
+            set(0,'showhiddenhandles','on');
+            set(findobj(h0,'Tag','FOFBguiTangoButtonOrbitCorrection'),'Enable','off');
+            set(findobj(h0,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Enable','on');
+            set(findobj(h0,'Tag','FOFBguiTangoButtonFeedbackSetup'),'Enable','off');
+            set(findobj(h0,'Tag','FOFBguiTangoClose'),'Enable','on');
+            set(findobj(h0,'Tag','FOFBguiTangoCheckboxHSOFB'),'Enable','off');
+            set(findobj(h0,'Tag','FOFBguiTangoCheckboxVSOFB'),'Enable','off');
+            set(findobj(h0,'Tag','FOFBguiTangoCheckboxHcorrection'),'Enable','off');
+            set(findobj(h0,'Tag','FOFBguiTangoCheckboxVcorrection'),'Enable','off');
+            set(findobj(h0,'Tag','FOFBguiTangoCheckboxRF'),'Enable','off');
+            set(findobj(h0,'Tag','FOFBguiTangoCheckboxSOFB'),'Enable','off')
+            set(findobj(h0,'Tag','FOFBguiTangoCheckboxFOFB'),'Enable','off')
+            set(findobj(h0,'Tag','FOFBguiTangoButtonConvertMatrix4FPGA'),'Enable','on');
+            %set(findobj(h0,'Tag','FOFBguiTangoPushbuttonStartDC'),'Enable','off');
+            pause(0);
+        end
+        
+        % init FOFB structure
+        pause(0.5)
+        FOFBguiTango('UpdateStatusFOFB');
+                    
+        
+%%  UpdateStatusFOFB       
+    case 'UpdateStatusFOFB'
+        try
+            isRFRunning    = readattribute([devRFFBManager, '/isRunning']);
+            isxFOFBRunning = readattribute([devFOFBManager, '/xFofbRunning']);
+            iszFOFBRunning = readattribute([devFOFBManager, '/zFofbRunning']);
+            isDCFBRunning  = readattribute([devLockName, '/dcfb']);
+            isSOFBRunning  = readattribute([devLockName, '/sofb']);
+
+            %FOFBguiTangoiszFOFBRunning
+            %FOFBguiTangoUpdateStatusFOFB
+            if isempty(gcbf)
+                %mainFig = gcf;
+                mainFig = findobj(allchild(0),'tag','FOFBguiTangoFig1');
+            else
+                mainFig = gcbf;
+            end
+            
+            if isRFRunning
+                set(findobj(mainFig,'Tag','FOFBguiTangoisRFRunnning'),'BackGroundColor', [0 1 0]);
+            else
+                set(findobj(mainFig,'Tag','FOFBguiTangoisRFRunnning'),'BackGroundColor', [1 1 1]);
+            end
+
+            if isxFOFBRunning
+                set(findobj(mainFig,'Tag','FOFBguiTangoisxFOFBRunning'),'BackGroundColor', [0 1 0]);
+            else
+                set(findobj(mainFig,'Tag','FOFBguiTangoisxFOFBRunning'),'BackGroundColor', [1 1 1]);
+            end
+
+            if iszFOFBRunning
+                set(findobj(mainFig,'Tag','FOFBguiTangoiszFOFBRunning'),'BackGroundColor', [0 1 0]);
+            else
+                set(findobj(mainFig,'Tag','FOFBguiTangoiszFOFBRunning'),'BackGroundColor', [1 1 1]);
+            end
+
+            if isDCFBRunning
+                set(findobj(mainFig,'Tag','FOFBguiTangoisDCFBRunning'),'BackGroundColor', [0 1 0]);
+            else
+                set(findobj(mainFig,'Tag','FOFBguiTangoisDCFBRunning'),'BackGroundColor', [1 1 1]);
+            end
+
+            if isSOFBRunning
+                set(findobj(mainFig,'Tag','FOFBguiTangoisSOFBRunning'),'BackGroundColor', [0 1 0]);
+            else
+                set(findobj(mainFig,'Tag','FOFBguiTangoisSOFBRunning'),'BackGroundColor', [1 1 1]);
+            end
+
+            % Update time on status
+            set(findobj(mainFig,'Tag','FOFBguiTangoStaticTextHeader'),'String', datestr(clock));
+
+        catch
+            fprintf('\n  %s \n',lasterr);
+            fprintf('Error in UpdateStatusFOFB\n') ;
+        end
+
+%% OrbitCorrectionSetupFOFB       
+    case 'OrbitCorrectionSetupFOFB'
+        % NOTES setting for FOFB and manual orbit correction are often
+        % different
+
+        InitFlag = Input2;  % Input #2: if InitFlag, then initialize variables
+
+        if InitFlag % just at startup
+
+            % Setup orbit correction elements : DEFAULT configuration
+            %disp('Orbit correction condition: InitFlag=1 -- debugging message');
+
+            % Get list of BPMs et corrector magnets
+            [HCMlist VCMlist BPMlist] = getlocallist;
+            
+            % Read configuration of FOFB from file having R-matrix for FPGA
+            try
+                data = load([getfamilydata('Directory' , 'OpsData') fileName]);
+            catch exception
+                data = load(fullfile(getfamilydata('Directory', 'FOFBdata'), 'GoldenMatrix4FPGADefault.mat'));
+                warndlg('Generate Matrix for FPGA, Wrong default values loaded');
+            end
+
+            % Look for removed BPM
+            idx = find(sum(abs(data.matrixX)) == 0);
+            
+            % becarefull does not work if missing BPM in BPMlist           
+            BPMlist(idx,:) = [];
+
+            % Look for removed HFCOR
+            idx = find(sum(abs(data.matrixX')) == 0);
+            HCMlist(idx,:) = [];
+            
+            % Look for removed HFCOR
+            idz = find(sum(abs(data.matrixZ')) == 0);
+            VCMlist(idz,:) = [];
+
+            % SVD orbit correction singular values
+            Xivec = 1:45; % 40 w/o Orthogonal correction 41 if orthogonal correction
+            Yivec = 1:44;
+            
+            % Gain correction values
+            Xgain = 90 ; % ajusted for 45 vp for H-plane, nominal alpha
+            Ygain = 90;% ajusted for 44 vp for V-plane, nominal alpha
+               
+
+            % initialize RFCorrFlag
+            %RFCorrFlag = 'No';
+            RFCorrFlag = 'Yes';
+
+            % Goal orbit
+            Xgoal = getgolden(BPMxFamily, BPMlist, 'numeric');
+            Ygoal = getgolden(BPMyFamily, BPMlist, 'numeric');
+
+            % BPM weights
+            Xweight = ones(size(BPMlist,1), 1);
+            Yweight = ones(size(BPMlist,1), 1);
+
+            % Correctors weights
+            HCMweight = ones(size(HCMlist,1), 1);
+            VCMweight = ones(size(VCMlist,1), 1);
+
+        else % For orbit correction Configuration
+            % Get vector for orbit correction
+            FB = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+            BPMlist = FB.BPMlist;
+            HCMlist = FB.HCMlist;
+            VCMlist = FB.VCMlist;
+            Xivec = FB.Xivec;
+            Yivec = FB.Yivec;
+            Xgain = FB.Xgain;
+            Ygain = FB.Ygain;
+            Xgoal = FB.Xgoal;
+            Ygoal = FB.Ygoal;
+            RFCorrFlag = FB.RFCorrFlag;
+
+            HCMweight = FB.OCSx.CMWeight;
+            VCMweight = FB.OCSy.CMWeight;
+            Xweight = FB.OCSx.BPMWeight;
+            Yweight = FB.OCSy.BPMWeight;
+
+            % Add button to change #ivectors, CMs, IDBPMs,
+            EditFlag = 0;
+            h_fig1 = figure;
+
+            while EditFlag ~= 11
+
+                % get Sensitivity matrices
+                Sh = getrespmat(BPMxFamily, BPMlist, HCMFamily, HCMlist, [], SR_GEV);
+                Sv = getrespmat(BPMyFamily, BPMlist, VCMFamily, VCMlist, [], SR_GEV);
+                % Computes SVD to get singular values
+                [Ux, SVx, Vx] = svd(Sh);
+                [Uy, SVy, Vy] = svd(Sv);
+
+                % Remove singular values greater than the actual number of singular values
+                i = find(Xivec>length(diag(SVx)));
+                if ~isempty(i)
+                    disp('   Horizontal singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Xivec(i) = [];
+                end
+                i = find(Yivec>length(diag(SVy)));
+                if ~isempty(i)
+                    disp('   Vertical singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Yivec(i) = [];
+                end
+
+                % Display singular value plot for both planes
+
+                figure(h_fig1);
+
+                subplot(2,1,1);
+                semilogy(diag(SVx),'b');
+                hold on;
+                semilogy(diag(SVx(Xivec,Xivec)),'xr');
+                ylabel('Horizontal');
+                title('Response Matrix Singular Values');
+                hold off; grid on;
+
+                subplot(2,1,2);
+                semilogy(diag(SVy),'b');
+                hold on;
+                semilogy(diag(SVy(Yivec,Yivec)),'xr');
+                xlabel('Singular Value Number');
+                ylabel('Vertical');
+                hold off; grid on;
+                drawnow;
+
+                % End of display
+
+                if strcmpi(RFCorrFlag,'No')
+                    RFCorrState = 'NOT CORRECTED';
+                elseif strcmp(RFCorrFlag,'Yes')
+                    RFCorrState = 'CORRECTED';
+                else
+                    RFCorrState = '???';
+                end
+
+                EditFlag = menu('Change Parameters?','Singular Values',  ...
+                    'Horizontal corrector magnet list', 'Horizontal corrector magnet weights', ...
+                    'Vertical corrector magnet list', 'Vertical corrector magnet weights',  ...
+                    'BPM list', 'BPM weights','Correction Gain', 'Golden Orbit value',...
+                    sprintf('RF Frequency (currently %s)',RFCorrState),'Return');
+
+                % Edition switchyard for orbit correction
+                switch EditFlag
+                    case 1 % Singular value edition
+
+                        % Build up matlab prompt
+                        prompt = {'Enter the horizontal singular value vector (Matlab vector format):', ...
+                            'Enter the vertical singular value vector (Matlab vector format):'};
+                        % default values
+                        def = {sprintf('[%d:%d]',1,Xivec(end)),sprintf('[%d:%d]',1,Yivec(end))};
+                        titlestr = 'SVD Orbit Correction';
+                        lineNo = 1;
+
+                        answer = inputdlg(prompt,titlestr,lineNo,def);
+
+                        % Answer parsing
+                        if ~isempty(answer)
+                            % Horizontal plane
+                            XivecNew = fix(str2num(answer{1}));
+                            if isempty(XivecNew)
+                                disp('   Horizontal singular value number cannot be empty.  No change made.');
+                            else
+                                if any(XivecNew<=0) || max(XivecNew)>length(diag(SVx))
+                                    disp('   Error reading horizontal singular value vector  No change made.');
+                                else
+                                    Xivec = XivecNew;
+                                end
+                            end
+                            % Vertical plane
+                            YivecNew = fix(str2num(answer{2}));
+                            if isempty(YivecNew)
+                                disp('   Vertical singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(YivecNew<=0) || max(YivecNew)>length(diag(SVy))
+                                    disp('   Error reading vertical singular value vector.  No change made.');
+                                else
+                                    Yivec = YivecNew;
+                                end
+                            end
+                        end
+
+                    case 2 % Horizontal corrector list edition
+                        List = getlist(HCMFamily);
+                        ListOld = HCMlist;
+                        CheckList = zeros(size(List,1));
+                        Elem = dev2elem(HCMFamily, HCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(HCMFamily,List));
+                        newList = editlist(List, HCMFamily, CheckList);
+
+                        if isempty(newList)
+                            fprintf('   Horizontal corrector magnet list cannot be empty.  No change made.\n');
+                        else
+                            HCMlist = newList;
+                        end
+
+                        %set correctors weight values
+                        HCMweightOld = HCMweight;
+                        HCMweight = ones(size(HCMlist,1), 1);
+
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(HCMlist,1)
+
+                            % Is it a new corrector?
+                            k = find(HCMlist(i,1)==ListOld(:,1));
+                            l = find(HCMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                HCMweight(i) = HCMweightOld(k(l));
+                            end
+                        end
+
+                    case 3 % Horizontal corrector weight edition
+
+                        % Ask user to select HCM for modifying weight
+                        ChangeList = editlist(HCMlist, 'Change HCM', ...
+                            zeros(size(HCMlist,1),1));
+
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == HCMlist(:,1));
+                            l = find(ChangeList(i,2) == HCMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for HCM(%d,%d):', ...
+                                HCMlist(k(l),1), HCMlist(k(l),2))};
+                            def = {sprintf('%f',HCMweight(k(l))),sprintf('%f',HCMweight(k(l)))};
+                            titlestr = 'CHANGE THE HCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                HCMweightnew = str2num(answer{1});
+                                if isempty(HCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    HCMweight(k(l)) = HCMweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the HCM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit FeedbackFOFB."\n');
+                        end
+
+                    case 4 % Vertical corrector list edition
+                        List = getlist(VCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = VCMlist;
+                        Elem = dev2elem(VCMFamily, VCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(VCMFamily,List));
+                        newList = editlist(List, VCMFamily, CheckList);
+                        if isempty(newList)
+                            fprintf('   Vertical corrector magnet cannot be empty.  No change made.\n');
+                        else
+                            VCMlist = newList;
+                        end
+
+                        %set correctors weight values
+                        VCMweightOld = VCMweight;
+                        VCMweight = ones(size(VCMlist,1), 1);
+
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(VCMlist,1)
+
+                            % Is it a new corrector?
+                            k = find(VCMlist(i,1)==ListOld(:,1));
+                            l = find(VCMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors                              
+                                VCMweight(i) = VCMweightOld(k(l));
+                            end
+                        end
+                    case 5 % Vertical corrector weight edition
+                        % Ask user to select VCM for modifying weight
+                        ChangeList = editlist(VCMlist, 'Change VCM', ...
+                            zeros(size(VCMlist,1),1));
+
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == VCMlist(:,1));
+                            l = find(ChangeList(i,2) == VCMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for VCM(%d,%d):', ...
+                                VCMlist(k(l),1), VCMlist(k(l),2))};
+                            def = {sprintf('%f',VCMweight(k(l))),sprintf('%f',VCMweight(k(l)))};
+                            titlestr = 'CHANGE THE VCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                VCMweightnew = str2num(answer{1});
+                                if isempty(VCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    VCMweight(k(l)) = VCMweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the VCM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit FeedbackFOFB."\n');
+                        end
+
+                    case 6 % BPM list edition
+                        % Backup element before edition
+                        ListOld = BPMlist;
+                        XgoalOld = Xgoal;
+                        YgoalOld = Ygoal;
+                        XweightOld = Xweight;
+                        YweightOld = Yweight;
+
+                        % Get full BPM list
+                        List = family2dev(BPMxFamily);
+
+                        % Check BPM already in the list CheckList(i) = 1
+                        %       BPM not in the list CheckList(i) = 0
+                        CheckList = zeros(size(List,1),1);
+                        if ~isempty(BPMlist)
+                            for i = 1:size(List,1)
+                                k = find(List(i,1) == BPMlist(:,1));
+                                l = find(List(i,2) == BPMlist(k,2));
+                                if isempty(k) || isempty(l)
+                                    % Item not in list
+                                else
+                                    CheckList(i) = 1;
+                                end
+                            end
+                        end
+
+                        % User edition of the BPM list
+                        newList = editlist(List, 'BPM', CheckList);
+                        if isempty(newList)
+                            fprintf('   BPM list cannot be empty.  No change made.\n');
+                        else
+                            BPMlist = newList;
+                        end
+
+                        % Set the goal orbit to the golden orbit
+                        Xgoal = getgolden(BPMxFamily, BPMlist);
+                        Ygoal = getgolden(BPMyFamily, BPMlist);
+                        Xweight = ones(size(BPMlist,1),1);
+                        Yweight = ones(size(BPMlist,1),1);
+
+                        % If a new BPM is added, then set the goal orbit to the golden orbit
+                        % For other BPMs, present goal orbit is kept
+                        for i = 1:size(BPMlist,1)
+
+                            % Is it a new BPM?
+                            k = find(BPMlist(i,1) == ListOld(:,1));
+                            l = find(BPMlist(i,2) == ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New BPM
+                            else
+                                % Use the old value for old BPM
+                                Xgoal(i) = XgoalOld(k(l));
+                                Ygoal(i) = YgoalOld(k(l));
+                                Xweight(i) = XweightOld(k(l));
+                                Yweight(i) = YweightOld(k(l));
+                            end
+                        end
+
+                    case 7 % BPM weight edition
+                        % Ask user to select BPM for modifying weight
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+
+                        % Ask the new weight for each selected BPM
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new weight for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xweight(k(l))),sprintf('%f',Yweight(k(l)))};
+                            titlestr = 'CHANGE THE BPM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the BPM weight.\n');
+                            else
+                                Xweightnew = str2num(answer{1});
+                                if isempty(Xweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    Xweight(k(l)) = Xweightnew;
+                                end
+
+                                Yweightnew = str2num(answer{2});
+                                if isempty(Yweightnew)
+                                    fprintf('   No change was made to the vertical BPM weight.\n');
+                                else
+                                    Yweight(k(l)) = Yweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the BPM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit FeedbackFOFB."\n');
+                        end
+
+                    case 8 % Correction Gain edition
+
+                        % Build up matlab prompt
+                        prompt = {'Enter the horizontal loop gain value :', ...
+                            'Enter the vertical loop gain value :'};
+                        % default values
+                        def = {sprintf('%d',Xgain),sprintf('%d',Ygain)};
+                        titlestr = 'Change loop gain value';
+                        lineNo = 1;
+
+                        answer = inputdlg(prompt,titlestr,lineNo,def);
+
+                        % Answer parsing
+                        if ~isempty(answer)
+                            % Horizontal plane
+                            XgainNew = fix(str2num(answer{1}));
+                            if isempty(XgainNew)
+                                disp('   Horizontal gain value cannot be empty.  No change made.');
+                            else
+                                if (XgainNew<=0)
+                                    disp('   Error reading horizontal gain value. No change made.');
+                                else
+                                    Xgain = XgainNew;
+                                    % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','FOFBguiTangoXgain'),'string',['H-Loop-Gain = ',num2str(Xgain)]);
+                                 end
+                            end
+                            % Vertical plane
+                            YgainNew = fix(str2num(answer{2}));
+                            if isempty(YgainNew)
+                                disp('   Vertical gain value cannot be empty.  No change made.');
+                            else
+                                if (YgainNew<=0) 
+                                    disp('   Error reading vertical gain value.  No change made.');
+                                else
+                                    Ygain = YgainNew;
+                                    % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','FOFBguiTangoYgain'),'string',['V-Loop-Gain = ',num2str(Ygain)]);
+                                end
+                            end
+                        end
+                        
+                    case 9 % Golden orbit manual edition
+
+                        % Ask user to select BPM for modifying golden orbit
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+
+                        % Ask the new golden orbit for each selected BPM
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+
+                            prompt = {sprintf('Enter the new horizontal goal orbit for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new vertical goal orbit for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xgoal(k(l))),sprintf('%f',Ygoal(k(l)))};
+                            titlestr = 'CHANGE THE GOAL ORBIT';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the golden orbit.\n');
+                            else
+                                Xgoalnew = str2num(answer{1});
+                                if isempty(Xgoalnew)
+                                    fprintf('   No change was made to the horizontal golden orbit.\n');
+                                else
+                                    Xgoal(k(l)) = Xgoalnew;
+                                end
+
+                                Ygoalnew = str2num(answer{2});
+                                if isempty(Ygoalnew)
+                                    fprintf('   No change was made to the vertical golden orbit.\n');
+                                else
+                                    Ygoal(k(l)) = Ygoalnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the goal orbit for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                            fprintf('          Re-running soleilinit will restart the goal orbit to the golden orbit."\n');
+                        end
+
+                    case 10 % RF flag edition
+                        RFCorrFlag = questdlg(sprintf('Set RF Frequency during Orbit Correction?'),'RF Frequency','Yes','No', 'No');
+                        if strcmp(RFCorrFlag,'No')
+                            disp('   RF Frequency will not be included in global orbit correction.');
+                        elseif strcmp(RFCorrFlag,'Yes')
+                            disp('   RF Frequency will be included in global orbit correction.');
+                        end
+                        FB.RFCorrFlag = RFCorrFlag;
+                end
+            end
+            close(h_fig1);
+        end
+        % END of switchyard for orbit correction edition
+
+        % This part is common for case 'orbit correction edition'
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % Build up Orbit correction Structures   %
+        %  for setorbit programme : OCSx and OCSy%
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %  ORBIT CORRECTION STRUCTURE (OCS)
+        %    OCS.BPM (data structure)
+        %    OCS.CM  (data structure)
+        %    OCS.GoalOrbit
+        %    OCS.NIter
+        %    OCS.SVDIndex
+        %    OCS.IncrementalFlag = 'Yes'/'No'
+        %    OCS.BPMWeight
+        %    OCS.Flags = { 'FitRF' , etc.  }
+
+        % Horizontal plane
+        OCSx.BPM = getx(BPMlist, 'struct');
+        OCSx.GoalOrbit = Xgoal;
+        OCSx.CM  = getam(HCMFamily, HCMlist, 'struct','Model');
+        OCSx.NIter = 1; % Number of iteration
+        OCSx.SVDIndex = Xivec; % number of eigenvectors for correction
+        OCSx.IncrementalFlag = 'No';
+        if strcmp(RFCorrFlag,'Yes')
+            OCSx.FitRF = 1; % take RF as a corrector
+        else
+            OCSx.FitRF = 0;
+        end
+
+        %Default weight for correctores and BPMs
+        OCSx.CMWeight  = HCMweight;
+        OCSx.BPMWeight = Xweight;
+
+        % Vertical plane
+        OCSy.BPM = getz(BPMlist, 'struct');
+        OCSy.CM  = getam(VCMFamily, VCMlist, 'struct','Model');
+        OCSy.GoalOrbit = Ygoal;
+        OCSy.NIter = 1;
+        OCSy.SVDIndex = Yivec;
+        OCSy.IncrementalFlag = 'No';
+        OCSy.FitRF = 0;
+
+        %Default weight for correctors and BPMs
+        OCSy.CMWeight  = VCMweight;
+        OCSy.BPMWeight = Yweight;
+
+        % Save structures for later orbit correction
+        FB.OCSx = OCSx;
+        FB.OCSy = OCSy;
+
+        % List of BPM et correctors to be used
+        FB.BPMlist = BPMlist;
+        FB.HCMlist = HCMlist;
+        FB.VCMlist = VCMlist;
+
+        % List of singular values
+        FB.Xivec = Xivec;
+        FB.Yivec = Yivec;
+
+        % Loop gain values
+        FB.Xgain = Xgain;
+        FB.Ygain = Ygain;
+
+        % Goal orbit
+        FB.Xgoal = OCSx.GoalOrbit;
+        FB.Ygoal = OCSy.GoalOrbit;
+
+        % RF corrector flag
+        FB.RFCorrFlag = RFCorrFlag;
+
+        FB.SOFBandFOFB = 0;
+
+        % save FB structure in application
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata',FB);
+        
+        % save data for SOFB
+        savaData2File;
+        
+        % modif 03/01/2012 pour suppression bouton Generate new Matrix for
+        % FPGA
+        if ~InitFlag
+        FOFBguiTango('ConvertMatrix4FPGA');
+        end
+%% OrbitCorrectionFOFB
+    case 'OrbitCorrectionFOFB' % Manual Orbit Correction
+
+        try
+            check4feedbackflag(devLockName);
+            %setup average data for reading BPMs
+            setfamilydata('gethbpmaverage','BPMx','Monitor', 'SpecialFunctionGet')
+            setfamilydata('getvbpmaverage','BPMz','Monitor', 'SpecialFunctionGet')
+
+        catch
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            disp('   ********************************');
+            disp('   **  Orbit Correction Aborted  **');
+            disp('   ********************************');
+            fprintf('\n');
+            return
+        end
+
+        OrbitLoopIter = 3; % a 3 step iteration
+
+        fprintf('\n');
+        fprintf('   *********************************\n');
+        fprintf('   **  Starting Orbit Correction  **\n');
+        fprintf('   *********************************\n');
+        fprintf('   %s \n', datestr(clock));
+
+        StartFlag = questdlg(sprintf('Start orbit correction ?'),'Orbit Correction','Yes','No','No');
+        if strcmp(StartFlag,'No')
+            disp('   ********************************');
+            disp('   **  Orbit Correction Aborted  **');
+            disp('   ********************************');
+            fprintf('\n');
+            return
+        end
+
+        if getdcct < DCCTMIN    % Don't correct the orbit if the current is too small
+            fprintf('   Orbit not corrected due to small current.\n');
+            return
+        end
+
+        % get Structure for correction
+        FB = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+
+        fprintf('   Starting horizontal and vertical global orbit correction (SVD method).\n');
+
+        % Number of steerer magnet correctors
+        N_HCM = size(FB.HCMlist,1);
+        N_VCM = size(FB.VCMlist,1);
+
+
+        for iloop = 1:OrbitLoopIter,
+            try
+                %%%%%%%%%%%%%%%%%
+                % use the following to get corrector settings in OCS and
+                % check everything seems Ok and gives back predicted correction
+                %% V-plane checks
+                if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHcorrection'),'Value') == 1
+                    HOrbitCorrectionFlag = 1;
+                    %FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp');
+                    FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp','FitRFHCM0');
+
+                    HCMSP = getAM(HCMFamily, FB.HCMlist);  % present corrector values
+                    HCMSP_next = HCMSP + FB.OCSx.CM.Delta(1:N_HCM);       % next corrector values, just slow correctors (no RF)
+
+                    MaxSP = maxsp(HCMFamily,FB.HCMlist);
+                    MinSP = minsp(HCMFamily,FB.HCMlist);
+
+                    if any(MaxSP - HCMSP_next  < 0)
+                        HCMnum = find(HCMSP_next > MaxSP);
+                        % message to screen
+                        fprintf('**One or more of the horizontal correctors is at its maximum positive value!! Stopping orbit Feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                        HOrbitCorrectionFlag = 0;
+                    end
+
+                    if any(MinSP - HCMSP_next  > 0)
+                        HCMnum = find(HCMSP_next < MinSP);
+                        % message to screen
+                        fprintf('**One or more of the horizontal correctors is at its maximum negative value!! Stopping orbit Feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                        HOrbitCorrectionFlag = 0;
+                    end
+
+                    if any(HCMSP_next > MaxSP - 1)
+                        HCMnum = find(HCMSP_next > MaxSP - 1);
+                        for ik = 1:length(HCMnum)
+                            fprintf('**Horizontal correctors %s is above %f! \n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                MaxSP(HCMnum(ik)) - 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+
+                    if any(HCMSP_next < MinSP + 1)
+                        HCMnum = find(HCMSP_next < MinSP + 1);
+                        for ik = 1:length(HCMnum)
+                            fprintf('**Horizontal correctors %s is below %f! \n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                MinSP(HCMnum(ik)) + 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+
+                end
+
+                %% V-plane checks
+                if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVcorrection'),'Value') ==1
+                    FB.OCSy = setorbit(FB.OCSy,'Nodisplay','Nosetsp');
+                    VOrbitCorrectionFlag = 1;
+                    VCMSP = getAM(VCMFamily,FB.VCMlist); % Get corrector values before correction
+                    VCMSP_next = VCMSP + FB.OCSy.CM.Delta(1:N_VCM); % New corrector values to be set in
+
+                    MaxSP = maxsp(VCMFamily,FB.VCMlist);
+                    MinSP = minsp(VCMFamily,FB.VCMlist);
+
+                    if any(MaxSP - VCMSP_next  < 0)
+                        VCMnum = find(VCMSP_next > MaxSP);
+                        % message to screen
+                        fprintf('**One or more of the vertical correctors is at its maximum positive value!! Stopping orbit Feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                    end
+
+                    if any(MinSP - VCMSP_next  > 0)
+                        VCMnum = find(VCMSP_next < MinSP);
+                        % message to screen
+                        fprintf('**One or more of the vertical correctors is at its maximum negative value!! Stopping orbit Feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                    end
+
+                    if any(VCMSP_next > MaxSP - 1)
+                        VCMnum = find(VCMSP_next > MaxSP - 1);
+                        for ik = 1:length(VCMnum)
+                            fprintf('**Vertical correctors %s is above %f! \n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                MaxSP(VCMnum(ik)) - 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+
+                    if any(VCMSP_next < MinSP + 1)
+                        VCMnum = find(VCMSP_next < MinSP + 1);
+                        for ik = 1:length(VCMnum)
+                            fprintf('**Vertical correctors %s is below %f! \n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                MinSP(VCMnum(ik)) + 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+                end
+
+                %%%%%%%%%%%%%%%%%%%%%%
+
+
+                if (get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHcorrection'),'Value') == 1) && HOrbitCorrectionFlag
+                    % Correct horizontal orbit
+                    %FB.OCSx = setorbit(FB.OCSx,'NoDisplay');
+                    FB.OCSx = setorbit(FB.OCSx,'NoDisplay', 'FitRFHCM0');
+                end
+
+                if (get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVcorrection'),'Value') == 1) && VOrbitCorrectionFlag
+                    % Correct vertical orbit
+                    FB.OCSy = setorbit(FB.OCSy,'NoDisplay');
+                end
+
+                % Check for current in machine - stop orbit correction if
+                % DCCT < DCCTMIN
+                if (getdcct < DCCTMIN)
+                    error('**There is less than %d in the machine! Stopping orbit correction.', DCCTMIN);
+                end
+
+                % Residual orbit
+                Horbit = getx(FB.OCSx.BPM.DeviceList);
+                Vorbit = getz(FB.OCSy.BPM.DeviceList);
+
+                x = FB.OCSx.GoalOrbit - Horbit;
+                y = FB.OCSy.GoalOrbit - Vorbit;
+
+                fprintf('   %d. Horizontal RMS = %.3f mm (absolute %.3f mm)\n', iloop, std(x), std(Horbit));
+                fprintf('   %d.   Vertical RMS = %.3f mm (absolute %.3f mm)\n', iloop, std(y), std(Vorbit));
+
+                pause(0);
+
+            catch
+                fprintf('   %s \n',lasterr);
+                fprintf('   Orbit correction failed due to error condition!\n  Fix the problem, reload the lattice (refreshthering), and try again.  \n\n');
+                return
+            end
+        end
+
+        fprintf('   %s \n', datestr(clock));
+        fprintf('   *********************************\n');
+        fprintf('   **  Orbit Correction Complete  **\n');
+        fprintf('   *********************************\n\n');
+
+        %setup manager data for reading BPMs
+        setfamilydata('gethbpmgroup','BPMx','Monitor', 'SpecialFunctionGet')
+        setfamilydata('getvbpmgroup','BPMz','Monitor', 'SpecialFunctionGet')
+
+%% FeedbackSetupFOFB       
+    case 'FeedbackSetupFOFB' % Fast orbit Feedback (FOFB)
+
+        InitFlag = Input2;           % Input #2: if InitFlag, then initialize variables
+
+        if InitFlag % Used only at startup
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+            % Edit the following lists to change default configuration of Orbit Correction %
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+            % WARNING CAN BE DIFFERENT FROM THE ORBIT CORRECTION
+            % To start with same correctors and Bpms are used as in manual
+            % correction
+            % Corrector magnets
+            [HCMlist VCMlist BPMlist] = getlocallist;
+
+            % Singular value number
+            Xivec = 1:45; % 40 w/o Orthogonal correction 41 if orthogonal correction
+            Yivec = 1:44;
+
+            % Get goal orbit for FOFB
+            Xgoal = getgolden(BPMxFamily, BPMlist);
+            Ygoal = getgolden(BPMyFamily, BPMlist);
+
+            % BPM weights
+            Xweight = ones(size(BPMlist,1), 1);
+            Yweight = ones(size(BPMlist,1), 1);
+
+            % Correctors weights
+            HCMweight = ones(size(HCMlist,1), 1);
+            VCMweight = ones(size(VCMlist,1), 1);
+            
+            
+        else % use for FOFB Edition
+
+            % Get FB structure
+            FB = get(findobj(gcbf,'Tag','FOFBguiTangoButtonFeedbackSetup'),'Userdata');
+
+            BPMlist = FB.BPMlist;
+            HCMlist = FB.HCMlist;
+            VCMlist = FB.VCMlist;
+
+            Xivec = FB.Xivec;
+            Yivec = FB.Yivec;
+
+            Xgoal = FB.Xgoal;
+            Ygoal = FB.Ygoal;
+
+            HCMweight = FB.OCSx.CMWeight;
+            VCMweight = FB.OCSy.CMWeight;
+            Xweight = FB.OCSx.BPMWeight;
+            Yweight = FB.OCSy.BPMWeight;
+
+            % Add button to change #ivectors, cm
+            EditFlag = 0;
+            h_fig1 = figure;
+
+            while EditFlag ~= 9
+
+                % get Sensitivity matrices
+                Sh = getrespmat(BPMxFamily, BPMlist, HCMFamily, HCMlist, [], SR_GEV);
+                Sv = getrespmat(BPMyFamily, BPMlist, VCMFamily, VCMlist, [], SR_GEV);
+
+                % Compute SVD
+                [Ux, SVx, Vx] = svd(Sh);
+                [Uy, SVy, Vy] = svd(Sv);
+
+                % Remove singular values greater than the actual number of singular values
+                i = find(Xivec>length(diag(SVx)));
+                if ~isempty(i)
+                    disp('   Horizontal singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Xivec(i) = [];
+                end
+                i = find(Yivec>length(diag(SVy)));
+                if ~isempty(i)
+                    disp('   Vertical singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Yivec(i) = [];
+                end
+
+                % Display singular value plot
+                figure(h_fig1);
+                subplot(2,1,1);
+                semilogy(diag(SVx),'b');
+                hold on;
+                semilogy(diag(SVx(Xivec,Xivec)),'xr');
+                ylabel('Horizontal');
+                title('Response Matrix Singular Values');
+                hold off;
+                subplot(2,1,2);
+                semilogy(diag(SVy),'b');
+                hold on;
+                semilogy(diag(SVy(Yivec,Yivec)),'xr');
+                xlabel('Singular Value Number');
+                ylabel('Vertical');
+                hold off;
+                drawnow;
+
+                % Build up menu edition
+                EditFlag = menu('Change Parameters?','Singular Values','HCM List', 'HCM weight', ...
+                    'VCM List', 'VCM weight', ...
+                    'BPM List', 'BPM weight', 'Change the Goal Orbit', 'Return');
+
+                % Begin FOFB edition switchyard
+                switch EditFlag
+                    case 1
+                        prompt = {'Enter the horizontal singular value number (Matlab vector format):', ...
+                            'Enter the vertical singular value numbers (Matlab vector format):'};
+                        def = {sprintf('[%d:%d]',1,Xivec(end)),sprintf('[%d:%d]',1,Yivec(end))};
+                        titlestr='SVD Orbit Feedback';
+                        lineNo=1;
+                        answer=inputdlg(prompt,titlestr,lineNo,def);
+                        if ~isempty(answer)
+                            XivecNew = fix(str2num(answer{1}));
+                            if isempty(XivecNew)
+                                disp('   Horizontal singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(XivecNew<=0) || max(XivecNew)>length(diag(SVx))
+                                    disp('   Error reading horizontal singular value vector.  No change made.');
+                                else
+                                    Xivec = XivecNew;
+                                end
+                            end
+                            YivecNew = fix(str2num(answer{2}));
+                            if isempty(YivecNew)
+                                disp('   Vertical singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(YivecNew<=0) || max(YivecNew)>length(diag(SVy))
+                                    disp('   Error reading vertical singular value vector.  No change made.');
+                                else
+                                    Yivec = YivecNew;
+                                end
+                            end
+                        end
+
+
+                    case 2 % Horizontal corrector list edition
+                        List= getlist(HCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = HCMlist;
+                        Elem = dev2elem(HCMFamily, HCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(HCMFamily,List));
+
+                        newList = editlist(List, HCMFamily, CheckList);
+
+                        if isempty(newList)
+                            fprintf('   Horizontal corrector magnet list cannot be empty.  No change made.\n');
+                        else
+                            HCMlist = newList;
+                        end
+
+                        %set correctors weight values
+                        HCMweightOld = HCMweight;
+                        HCMweight = ones(size(HCMlist,1), 1);
+
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(HCMlist,1)
+
+                            % Is it a new corrector?
+                            k = find(HCMlist(i,1)==ListOld(:,1));
+                            l = find(HCMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                HCMweight(i) = HCMweightOld(k(l));
+                            end
+                        end
+                    case 3 % Horizontal corrector weight edition
+
+                        % Ask user to select HCM for modifying weight
+                        ChangeList = editlist(HCMlist, 'Change HCM', ...
+                            zeros(size(HCMlist,1),1));
+
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == HCMlist(:,1));
+                            l = find(ChangeList(i,2) == HCMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for HCM(%d,%d):', ...
+                                HCMlist(k(l),1), HCMlist(k(l),2))};
+                            def = {sprintf('%f',HCMweight(k(l))),sprintf('%f',HCMweight(k(l)))};
+                            titlestr = 'CHANGE THE HCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                HCMweightnew = str2num(answer{1});
+                                if isempty(HCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    HCMweight(k(l)) = HCMweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the HCM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+
+                    case 4 % Vertical corrector list edition
+                        List = getlist(VCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = VCMlist;
+                        Elem = dev2elem(VCMFamily, VCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(VCMFamily,List));
+
+                        newList = editlist(List, VCMFamily, CheckList);
+
+                        if isempty(newList)
+                            fprintf('   Vertical corrector magnet cannot be empty.  No change made.\n');
+                        else
+                            VCMlist = newList;
+                        end
+
+                        %set correctors weight values
+                        VCMweightOld = VCMweight;
+                        VCMweight = ones(size(VCMlist,1), 1);
+
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(VCMlist,1)
+
+                            % Is it a new corrector?
+                            k = find(VCMlist(i,1)==ListOld(:,1));
+                            l = find(VCMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                VCMweight(i) = VCMweightOld(k(l));
+                            end
+                        end
+
+                    case 5 % Vertical corrector weight edition
+                        % Ask user to select VCM for modifying weight
+                        ChangeList = editlist(VCMlist, 'Change VCM', ...
+                            zeros(size(VCMlist,1),1));
+
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == VCMlist(:,1));
+                            l = find(ChangeList(i,2) == VCMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for VCM(%d,%d):', ...
+                                VCMlist(k(l),1), VCMlist(k(l),2))};
+                            def = {sprintf('%f',VCMweight(k(l))),sprintf('%f',VCMweight(k(l)))};
+                            titlestr = 'CHANGE THE VCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                VCMweightnew = str2num(answer{1});
+                                if isempty(VCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    VCMweight(k(l)) = VCMweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the VCM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+
+                    case 6 % BPM List edition
+                        % Back present BPM list and goal orbit
+                        ListOld = BPMlist;
+                        XgoalOld = Xgoal;
+                        YgoalOld = Ygoal;
+                        XweightOld = Xweight;
+                        YweightOld = Yweight;
+
+                        List = family2dev(BPMxFamily);
+
+                        %Check BPM already in the list CheckList(i) = 1
+                        %      BPM not in the list CheckList(i) = 0
+                        CheckList = zeros(size(List,1),1);
+                        if ~isempty(BPMlist)
+                            for i = 1:size(List,1)
+                                k = find(List(i,1)==BPMlist(:,1));
+                                l = find(List(i,2)==BPMlist(k,2));
+
+                                if isempty(k) || isempty(l)
+                                    % Item not in list
+                                else
+                                    CheckList(i) = 1;
+                                end
+                            end
+                        end
+
+                        % User edition of the BPM lsit
+                        newList = editlist(List, 'BPM', CheckList);
+                        if isempty(newList)
+                            fprintf('   BPM list cannot be empty.  No change made.\n');
+                        else
+                            BPMlist = newList;
+                        end
+
+                        % Set the goal orbit to the golden orbit and weight values
+                        Xgoal = getgolden(BPMxFamily, BPMlist);
+                        Ygoal = getgolden(BPMyFamily, BPMlist);
+                        Xweight = ones(size(BPMlist,1),1);
+                        Yweight = ones(size(BPMlist,1),1);
+
+                        %if a new BPM is added, then set the goal orbit to
+                        %the golden orbit.
+                        % Otherwise keep the present goal orbit
+                        for i = 1:size(BPMlist,1)
+
+                            % Is it a new BPM?
+                            k = find(BPMlist(i,1)==ListOld(:,1));
+                            l = find(BPMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New BPM
+                            else
+                                % Use the old value for old BPM
+                                Xgoal(i) = XgoalOld(k(l));
+                                Ygoal(i) = YgoalOld(k(l));
+                                Xweight(i) = XweightOld(k(l));
+                                Yweight(i) = YweightOld(k(l));
+                            end
+                        end
+
+                    case 7 % BPM weight edition
+                        % Ask user to select BPM for modifying weight
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+
+                        % Ask the new weight for each selected BPM
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new weight for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xweight(k(l))),sprintf('%f',Yweight(k(l)))};
+                            titlestr = 'CHANGE THE BPM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the BPM weight.\n');
+                            else
+                                Xweightnew = str2num(answer{1});
+                                if isempty(Xweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    Xweight(k(l)) = Xweightnew;
+                                end
+
+                                Yweightnew = str2num(answer{2});
+                                if isempty(Yweightnew)
+                                    fprintf('   No change was made to the vertical BPM weight.\n');
+                                else
+                                    Yweight(k(l)) = Yweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the BPM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+
+                    case 8 % Goal orbit edition
+                        ChangeList = editlist(BPMlist, 'Change BPM', zeros(size(BPMlist,1),1));
+
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1)==BPMlist(:,1));
+                            l = find(ChangeList(i,2)==BPMlist(k,2));
+
+                            prompt={sprintf('Enter the new horizontal goal orbit for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2)), ...
+                                sprintf('Enter the new vertical goal orbit for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def={sprintf('%f',Xgoal(k(l))),sprintf('%f',Ygoal(k(l)))};
+                            titlestr='CHANGE THE GOAL ORBIT';
+                            lineNo=1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the golden orbit.\n');
+                            else
+                                Xgoalnew = str2num(answer{1});
+                                if isempty(Xgoalnew)
+                                    fprintf('   No change was made to the horizontal golden orbit.\n');
+                                else
+                                    Xgoal(k(l)) = Xgoalnew;
+                                end
+
+                                Ygoalnew = str2num(answer{2});
+                                if isempty(Ygoalnew)
+                                    fprintf('   No change was made to the vertical golden orbit.\n');
+                                else
+                                    Ygoal(k(l)) = Ygoalnew;
+                                end
+                            end
+                        end
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  Changing the goal orbit for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                            fprintf('          Re-running srcontrol will restart the goal orbit to the golden orbit."\n');
+                        end
+                end
+            end
+            close(h_fig1);
+        end
+
+        % End of FOFB edition switchyard
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %         Build up FOFB Structures       %
+        %  for setorbit programme : OCSx and OCSy%
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %  ORBIT CORRECTION STRUCTURE (OCS)
+        %    OCS.BPM (data structure)
+        %    OCS.CM  (data structure)
+        %    OCS.GoalOrbit
+        %    OCS.NIter
+        %    OCS.SVDIndex
+        %    OCS.IncrementalFlag = 'Yes'/'No'
+        %    OCS.BPMWeight
+        %    OCS.Flags = { 'FitRF' , etc.  }
+
+        OCSx.BPM = getx(BPMlist, 'struct');
+        OCSx.CM =  getam(HCMFamily, HCMlist, 'struct');
+        OCSx.GoalOrbit = Xgoal;
+        OCSx.NIter = 2;
+        OCSx.SVDIndex = Xivec;
+        OCSx.IncrementalFlag = 'No';
+        OCSx.CMWeight  = HCMweight;
+        OCSx.BPMWeight = Xweight;
+        OCSx.FitRF = 0;
+
+        OCSy.BPM = getz(BPMlist, 'struct');
+        OCSy.CM = getam(VCMFamily, VCMlist, 'struct');
+        OCSy.GoalOrbit = Ygoal;
+        OCSy.NIter = 2;
+        OCSy.SVDIndex = Yivec;
+        OCSy.IncrementalFlag = 'No';
+        OCSy.CMWeight  = VCMweight;
+        OCSy.BPMWeight = Yweight;
+        OCSy.FitRF = 0;
+
+        % Save FOFB strucutre
+        FB.OCSx = OCSx;
+        FB.OCSy = OCSy;
+
+        % BPM and CM list
+        FB.BPMlist = BPMlist;
+        FB.HCMlist = HCMlist;
+        FB.VCMlist = VCMlist;
+
+        % Singular value number
+        FB.Xivec = Xivec;
+        FB.Yivec = Yivec;
+
+        % Goal orbit list
+        FB.Xgoal = Xgoal;
+        FB.Ygoal = Ygoal;
+
+        
+        
+%% STARTRFFOFB
+    case 'STARTRFFOFB'
+
+        % RF FeedbackFOFB only
+        try
+            % First check if current in storage ring
+            if getdcct < DCCTMIN     % Don't Feedback if the current is too small
+                fprintf('%s  Orbit Feedback not started due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                return;
+            end
+            % read RF
+
+            % read status of RF feedback
+            statusValue = readattribute([devRFFBManager '/State']);
+            % Test masterclock
+            rfvalue = getrf;
+
+            fprintf('\n');
+            fprintf('   *******************************\n');
+            fprintf('   **  Starting RF Feedback  **\n');
+            fprintf('   *******************************\n');
+            fprintf('   %s \n', datestr(clock));
+
+        catch
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  RF Feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+
+        % Check whether RF feedback is already running
+        isRunning = readattribute([devRFFBManager '/isRunning']);
+
+        if isRunning
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **          RF feedback is already running                            **\n');
+            fprintf('   *************************************************************\n\n');
+            warndlg(' RF feedback is already running');
+            return;
+        end
+
+        %% Check if other errors
+        if statusValue ~= 0 && statusValue ~= 1 && statusValue ~= 8
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  RF Feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+            rep = readattribute([devRFFBManager '/Status']);
+            fprintf('%s \n', rep{1});
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+
+        % Confirmation dialogbox
+        StartFlag = questdlg('Start RF Feedback?', 'RF Feedback','Yes','No','No');
+        set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextInformation'),'String','RF Feedback Started');
+
+        if strcmp(StartFlag,'No')
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   ***************************\n');
+            fprintf('   **  RF Feedback Exit  **\n');
+            fprintf('   ***************************\n\n');
+            pause(0);
+            return
+        end
+
+        set(0,'showhiddenhandles','on');
+
+        try
+
+            tango_command_inout2(devRFFBManager,'Start');
+
+            %set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextHorizontal'),'String', ...
+            %    sprintf('Horizontal RMS = %.4f mm',STDx),'ForegroundColor',[0 0 0]);
+            %set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextVertical'),'String', ...
+            %    sprintf('Vertical RMS = %.4f mm',STDy),'ForegroundColor',[0 0 0]);
+
+            check4feedbackflag(devLockName);
+
+            % Lock  SOFB service
+            %Locktag  = tango_command_inout2(devLockName,'Lock', 'rffb');
+
+            pause(0);
+            isRunning = readattribute([devRFFBManager '/isRunning']);
+
+            if ~isRunning
+                fprintf('\n  %s \n',lasterr);
+                fprintf('   %s \n', datestr(clock));
+                fprintf('   *************************************************************\n');
+                fprintf('   **          RF feedback no started                         **\n');
+                fprintf('   *************************************************************\n\n');
+                return;
+            end
+        catch
+
+            fprintf('\n  %s \n',lasterr);
+
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  Orbit Feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+
+        pause(0.5)
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxRF'), 'value',readattribute([devRFFBManager, '/isRunning']));
+
+        % Disable buttons in GUI
+        set(0,'showhiddenhandles','on');
+        %set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxDCRF'),'Enable','off');
+        %set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStartRFFB'),'Enable','off');
+        %set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStopRFFB'),'Enable','on');
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Enable','on');
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonFeedbackSetup'),'Enable','off');
+        %set(findobj(gcbf,'Tag','FOFBguiTangoClose'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHSOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVSOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHcorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVcorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxRF'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxSOFB'),'Enable','off')
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxFOFB'),'Enable','off')
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonConvertMatrix4FPGA'),'Enable','off');
+        %set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStartDC'),'Enable','off');
+        pause(0);
+        FOFBguiTango('UpdateStatusFOFB');
+
+%%  STOPRFFOFB      
+    case 'STOPRFFOFB'
+
+        isRunning = readattribute([devRFFBManager '/isRunning']);
+        if ~isRunning
+            fprintf(' Error: RFFB already stopped! \n')
+            return;
+        end
+
+        button=questdlg('Voulez-vous vraiment arreter le RFFB? ','Attention','Confirmer','Annuler','Annuler');
+
+        switch button
+            case'Confirmer'
+                statusValue = readattribute([devRFFBManager '/State']);
+                if statusValue == 12 || statusValue == 10
+
+                    tango_command_inout2(devRFFBManager,'Stop');
+
+                    pause(0.5);
+
+                    isRunning = readattribute([devRFFBManager '/isRunning']);
+
+                    if isRunning
+                        fprintf(' Error impossible to stop  RFFB! \n')
+                    end
+                else
+                    fprintf(' Error, impossible to stop RFFB. Is it running? \n');
+                    return;
+                end
+
+                pause(0.5)
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxRF'), 'value',readattribute([devRFFBManager, '/isRunning']));
+
+                % Disable buttons in GUI
+                set(0,'showhiddenhandles','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxDCRF'),'Enable','off');
+                %set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStartRFFB'),'Enable','on');
+                %set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStopRFFB'),'Enable','off');
+                set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrection'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoButtonFeedbackSetup'),'Enable','on');
+                %set(findobj(gcbf,'Tag','FOFBguiTangoClose'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHSOFB'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVSOFB'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHcorrection'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVcorrection'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxRF'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxSOFB'),'Enable','on')
+                set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxFOFB'),'Enable','on')
+                set(findobj(gcbf,'Tag','FOFBguiTangoButtonConvertMatrix4FPGA'),'Enable','on');
+                set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStartDC'),'Enable','on');
+
+            otherwise
+                fprintf('Aborting STOPRFFOFB\n');
+        end
+        FOFBguiTango('UpdateStatusFOFB');
+        
+%% ZeroingFHCOR        
+    case 'ZeroingFHCOR'
+
+        %check FOFB OFF and RFFB OFF
+        isRFRunning = readattribute([devRFFBManager, '/isRunning']);
+        isxFOFBRunning = readattribute([devFOFBManager, '/xFofbRunning']);
+        iszFOFBRunning = readattribute([devFOFBManager, '/zFofbRunning']);
+
+        if isRFRunning 
+            fprintf('RFFB is running stop it first! \n');
+            return;
+        end
+        
+        if isxFOFBRunning 
+            fprintf('FOFB for H-plane is running. Stop it first! \n');
+            return;
+        end
+
+        if iszFOFBRunning
+            fprintf('FOFB for V-plane is running. Stop it first! \n');
+            return;
+        end
+
+        isSOFBRunning = readattribute([devLockName, '/sofb']);
+        if ~isSOFBRunning
+            fprintf('SOFB is not running. Start it first! \n');
+            return;
+        end
+
+        %everything is OKh
+        
+        button=questdlg('!!!Attention!!!! Les correcteurs HFCOR vont etre forcÃ©s Ã  ZÃ©ro par Ã©tapes. Voulez-vous continuer? ','Attention','Continuer','Annuler','Annuler');
+
+        switch button
+            case 'Continuer'
+                hfcm2zero
+            otherwise
+                fprintf('Zeroing HFCOR aborted\n')
+        end
+
+%% ZeroingFVCOR
+    case 'ZeroingFVCOR'
+
+        %check FOFB OFF and RFFB OFF
+        isRFRunning = readattribute([devRFFBManager, '/isRunning']);
+        isxFOFBRunning = readattribute([devFOFBManager, '/xFofbRunning']);
+        iszFOFBRunning = readattribute([devFOFBManager, '/zFofbRunning']);
+
+        if isRFRunning 
+            fprintf('RFFB is running stop it first! \n');
+            return;
+        end
+        
+        if isxFOFBRunning 
+            fprintf('FOFB for H-plane is running. Stop it first! \n');
+            return;
+        end
+
+        if iszFOFBRunning
+            fprintf('FOFB for V-plane is running. Stop it first! \n');
+            return;
+        end
+
+        isSOFBRunning = readattribute([devLockName, '/sofb']);
+        if ~isSOFBRunning
+            fprintf('SOFB is not running. Start it first! \n');
+            return;
+        end
+
+        %everything is OKh
+        
+        button=questdlg('!!!Attention!!!! Les correcteurs FVCOR vont etre forcÃ©s Ã  ZÃ©ro par Ã©tapes. Voulez-vous continuer? ','Attention','Continuer','Annuler','Annuler');
+
+        switch button
+            case 'Continuer'
+                vfcm2zero
+            otherwise
+                fprintf('Zeroing HVCOR aborted\n')
+        end
+
+%% TOGGLEHPLANEFOFB        
+    case 'TOGGLEHPLANEFOFB'
+        tango_write_attribute2(devFOFBManager,'applyCmdsToXPlane',uint8(get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHFOFB'),'Value')));
+
+%% TOGGLEVPLANEFOFB        
+    case 'TOGGLEVPLANEFOFB'
+        tango_write_attribute2(devFOFBManager,'applyCmdsToZPlane',uint8(get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVFOFB'),'Value')));
+
+%% StartFOFBConfig        
+    case 'StartFOFBConfig'
+        if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHFOFB'),'value') || ...
+                get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVFOFB'),'value')
+
+            button=questdlg('!!!Attention!!!! Les correcteurs vont etre forcÃ©s Ã  ZÃ©ro pendant la phase d initialisation. Voulez-vous continuer? ','Attention','Continuer','Annuler','Annuler');
+
+            switch button
+                case 'Continuer'
+                    h=waitbar(0,'Initialisation en cours...');
+
+                % Reset Errors
+                tango_command_inout2(devFOFBManager,'AcknowledgeError');
+
+                % Force reading of all BPMs to resfresh TANGO connections (BUg in Matlab)
+                FOFBstruct = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+                getx(FOFBstruct.BPMlist);
+                pause(0.5);
+             
+                GoldenOrbitFlag = 0;
+                if GoldenOrbitFlag % correction around FOFB golden orbit
+                    A = load([getfamilydata('Directory' , 'OpsData') 'fofb_golden.mat']);
+                else % Correction around current orbit
+                    %get current orbit as reference
+                    % Change all BPM in the loop                    
+                    BPMxIdx = findrowindex(FOFBstruct.BPMlist, BPMxfullList);
+
+                    % Get Golden data for BPM with 0 status
+                    %A = load([getfamilydata('Directory' , 'OpsData') 'fofb_golden.mat']);
+                    % Offsets from FA and SA sources
+                    % OffsetSA_FA = load([getfamilydata('Directory' , 'OpsBPMData') 'offsetSA_FA_golden.mat']);
+                    %OffsetSA_FA = load('/home/operateur/GrpDiagnostics/matlab/FOFB/GUI/golden/offsetSA_FA_02_fevrier_09.mat');
+                    % Update data for Status 1 BPMs
+                    % 21 November 2009 Offsets disappeared !!!!
+                    %OffsetSA_FA.X_offset = OffsetSA_FA.X_offset*0;
+                    %OffsetSA_FA.Z_offset = OffsetSA_FA.Z_offset*0;
+                    %A.new_goldenX(BPMxIdx) = (getx(FOFBstruct.BPMlist) - OffsetSA_FA.X_offset(BPMxIdx))*1e6;
+                    %A.new_goldenZ(BPMxIdx) = (getz(FOFBstruct.BPMlist) - OffsetSA_FA.Z_offset(BPMxIdx))*1e6;
+                    
+                    A.new_goldenX = zeros(1,size(family2status('BPMx'),1));
+                    A.new_goldenZ = A.new_goldenX;
+                    
+                    A.new_goldenX(BPMxIdx) = getx(FOFBstruct.BPMlist)*1e6;
+                    A.new_goldenZ(BPMxIdx) = getz(FOFBstruct.BPMlist)*1e6;
+                    
+                    if any(isnan(A.new_goldenX(BPMxIdx))) || any(isnan(A.new_goldenZ(BPMxIdx)))
+                        fprintf('Error in StartFOFBConfig: at least one BPM is a NaN\n');
+                        fprintf('Error in StartFOFBConfig: Try again Start+Config\n');
+                        return;
+                    end
+                    
+                end
+                B = load([getfamilydata('Directory' , 'OpsData') fileName]);
+
+                % set FOFB gain
+                
+                % gain is now edited in edit menu
+                gainX = FOFBstruct.Xgain;  
+                gainZ = FOFBstruct.Ygain; 
+   
+                % gain for nominal operation
+                %gainX = 90; % ajusted for 45 vp for H-plane 
+                %gainZ = 90; % ajusted for 44 vp for V-plane
+                
+                %test
+                %gainX=80; % 41 vp for H-plane
+                %gainZ=70; % 40 vp for V-plane
+                
+                % Low alpha sur 25
+                %gainX = 30; % ajusted for 45 vp for H-plane in Low Alpha mode
+                %gainZ = 65; % ajusted for 44 vp for V-plane in Low Alpha mode
+                
+                
+                coeff = 1.77*1717.412;
+                
+                % build response matrix
+                B.matrixX = -(B.matrixX.*coeff*gainX);
+                B.matrixZ = -(B.matrixZ.*coeff*gainZ);
+
+                % Load configuration FOFBmanager
+                % Load orbit
+                tango_write_attribute2(devFOFBManager,'xRefOrbit',A.new_goldenX*1e-6);
+                tango_write_attribute2(devFOFBManager,'zRefOrbit',A.new_goldenZ*1e-6);
+
+                % Load response matrices
+                tango_write_attribute2(devFOFBManager,'xInvRespMatrix',B.matrixX);
+                tango_write_attribute2(devFOFBManager,'zInvRespMatrix',B.matrixZ);
+                pause(2)
+
+                % Load configuration on FPGA
+                tango_command_inout2(devFOFBManager,'StartStep04LoadXRefOrbit');
+                tango_command_inout2(devFOFBManager,'StartStep05LoadZRefOrbit');
+                tango_command_inout2(devFOFBManager,'StartStep06LoadXInvRespMatrix');
+                tango_command_inout2(devFOFBManager,'StartStep07LoadZInvRespMatrix');
+
+                pause(10)
+
+                tango_command_inout2(devFOFBManager,'ColdStart');
+                pause(3)
+                state_fofb_manager = tango_read_attribute(devFOFBManager,'State');
+                if state_fofb_manager.value~=6
+                    warndlg('StartFOFBConfig: L ''initialisation n''a pas pu demarrer. Verifier Defauts')
+                else
+                    i=0;
+                    while state_fofb_manager.value == 6
+                        state_fofb_manager = tango_read_attribute(devFOFBManager,'State');
+                        i=i+1;
+                        waitbar(i/50)
+                        pause(1)
+                    end
+                    close(h)
+                end
+            otherwise
+                fprintf('Error in StartFOFBConfig\n');
+            end
+
+            FOFBguiTango('UpdateStatusFOFB');
+        
+        else
+            warndlg('Aborting StartFOFBConfig: select a plane first')
+        end
+
+%% StartFOFB
+    case 'StartFOFB'
+        
+        % Check if FOFB is well configured
+        rep = tango_read_attributes2(devFOFBManager, ...
+            {'xInvRespMatrixLoadedOnBpms', 'zInvRespMatrixLoadedOnBpms', ...
+            'xInvRespMatrixLoadedOnDevice', 'zInvRespMatrixLoadedOnDevice', ...
+            'xRefOrbitLoadedOnBpms', 'zRefOrbitLoadedOnBpms' ...
+            'xRefOrbitLoadedOnDevice', 'zRefOrbitLoadedOnDevice'});
+
+        isum = sum([rep.value]);
+
+        if isum ~= size(rep,2)
+            warndlg('FOFB not configured anymore. Use START FOFB+Config');
+            return;
+        end
+        
+        if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHFOFB'),'value') || ...
+                get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVFOFB'),'value')
+            button = questdlg('!!!Attention!!!! Le Feedback doit etre initialisÃ© pour effectuer cette commande. Voulez-vous continuer? ', ...
+                'Attention','Continuer','Annuler','Annuler');
+            switch button
+                case'Continuer'
+                    % Reset Errors
+                    tango_command_inout2(devFOFBManager,'AcknowledgeError');
+                    pause(0.5);
+                    % Start feedback
+                    tango_command_inout2(devFOFBManager,'HotStart')
+                otherwise
+                    warndlg('Aborting StartFOFB');
+            end
+        else
+            warndlg('Aborting RestartFOFB: select a plane first')
+        end
+        FOFBguiTango('UpdateStatusFOFB');
+
+%% StopFOFB2Zero        
+    case 'StopFOFB2Zero'
+        if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHFOFB'),'value') || ...
+                get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVFOFB'),'value')
+
+            button=questdlg('Voulez-vous vraiment arreter le FOFB en remettant Ã  ZÃ©ro les correcteurs? ',...
+                'Attention','Confirmer','Annuler','Annuler');
+            switch button
+                case'Confirmer'
+                    %devFOFBManager='ANS/DG/FOFB-MANAGER';
+                    tango_command_inout2(devFOFBManager,'StopToZero');
+                    if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHFOFB'),'value')
+                        %tango_command_inout2(devFOFBManager,'StopStep01StopXFOFBToZero');
+                        fprintf('   *************************************************************\n');
+                        fprintf('   **          FOFB stopped to zeros in H-plane               **\n');
+                        fprintf('   *************************************************************\n\n');
+                        fprintf('   %s \n', datestr(clock));
+
+                    end
+                    if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVFOFB'),'value')
+                        %tango_command_inout2(devFOFBManager,'StopStep02StopZFOFBToZero');
+                        fprintf('   *************************************************************\n');
+                        fprintf('   **          FOFB stopped to zeros  in V-plane              **\n');
+                        fprintf('   *************************************************************\n\n');
+                        fprintf('   %s \n', datestr(clock));
+                    end
+
+                otherwise
+                    fprintf('Aborting StopFOFB2Zero\n');
+            end
+        else
+            warndlg('Aborting StopFOFB2Zero: select a plane first')
+        end
+        FOFBguiTango('UpdateStatusFOFB');
+
+
+%% StopFOFB2CurrentValues      
+    case 'StopFOFB2CurrentValues'
+        if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHFOFB'),'value') || ...
+                get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVFOFB'),'value')
+
+            button=questdlg('Voulez-vous vraiment arreter le FOFB sur la valeur courante des correcteurs? ',...
+                'Attention','Confirmer','Annuler','Annuler');
+            switch button
+                case'Confirmer'
+                    tango_command_inout2(devFOFBManager,'Stop');
+                    if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHFOFB'),'value')
+                        fprintf('   *************************************************************\n');
+                        fprintf('   **          FOFB stopped to current values in H-plane      **\n');
+                        fprintf('   *************************************************************\n\n');
+                        fprintf('   %s \n', datestr(clock));
+                    end
+                    if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVFOFB'),'value')
+                        fprintf('   *************************************************************\n');
+                        fprintf('   **          FOFB stopped to current values in V-plane      **\n');
+                        fprintf('   *************************************************************\n\n');
+                        fprintf('   %s \n', datestr(clock));
+                    end
+
+                otherwise
+                    fprintf('Aborting StopFOFB2CurrentValues\n');
+            end
+        else
+            warndlg('Aborting StopFOFB2CurrentValues: select a plane first')
+        end
+        FOFBguiTango('UpdateStatusFOFB');
+
+%% ConvertMatrix4FPGA        
+    case 'ConvertMatrix4FPGA'
+
+        % Flag for RF correction done by fast horizontal steerers
+        RFIncludedInCORFlag = 1;
+        
+        % CONVERTMATRIX4FPGA - FPGA requires always 120x48 matrices whatever the numbers of BPM or corrector are
+
+        % get Feedback struture
+        FBstruct = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+
+        Sh = getrespmat(BPMxFamily, FBstruct.BPMlist, HCMFamily, FBstruct.HCMlist, [], SR_GEV);
+        Sv = getrespmat(BPMyFamily, FBstruct.BPMlist, VCMFamily, FBstruct.VCMlist, [], SR_GEV);
+
+        % H-plane
+
+        %compute matrix for valid BPM & correctors
+
+        Smat = Sh;
+
+        if ~RFIncludedInCORFlag
+            Eta = getdisp(BPMxFamily, FBstruct.BPMlist); % todo: to be stored in application
+            RFWeight = 10 * mean(std(Smat)) / std(Eta);
+            Smat = [Smat RFWeight*Eta];
+        end
+
+        % compute SVD
+        [U, S, V] = svd(Smat, 0);  %'econ');
+        S = diag(S);
+
+        %% Number of singular values
+        SVDIndex = FBstruct.OCSx.SVDIndex;
+        RinvH = V(:,SVDIndex)*diag(S(SVDIndex).^(-1))*U(:,SVDIndex)';
+
+        fprintf('Horizontal singular value number %d\n', SVDIndex(end));
+
+        %deltacm = RinvH*deltaXOrbit';
+        %deltacm(end)*RFWeight
+
+        %build matrix for FPGA
+        RinvHfull=zeros(nHCM,nBPMx);
+
+        % look for index of valid BPM and correctors
+        HCMIdx  = findrowindex(FBstruct.HCMlist, HCMfullList);
+        BPMxIdx = findrowindex(FBstruct.OCSx.BPM.DeviceList, BPMxfullList);
+        %HCMIdx = [HCMIdx(2:end); HCMIdx(1)];
+        %BPMxIdx = [BPMxIdx(2:end); BPMxIdx(1)];
+
+        % Remove RF part: last element of RinvH
+        % Put zero where BPM and correctors are not taken into account
+
+        if ~RFIncludedInCORFlag
+            RinvHfull(HCMIdx, BPMxIdx) = RinvH(1:end-1,:);
+        else
+            RinvHfull(HCMIdx, BPMxIdx) = RinvH(:,:);
+        end
+
+        % V-plane
+
+        %compute matrix for valid BPMs & correctors
+        Smat =  Sv;
+
+        % compute SVD
+        [U, S, V] = svd(Smat, 0);  %'econ');
+        S = diag(S);
+
+        %% Number of singular values
+        SVDIndex = FBstruct.OCSy.SVDIndex;
+        RinvV = V(:,SVDIndex)*diag(S(SVDIndex).^(-1))*U(:,SVDIndex)';
+
+        fprintf('Vertical singular value number %d\n', SVDIndex(end));
+        %deltacm = RinvV*deltaXOrbit';
+
+        %build matrix for FPGA
+        RinvVfull=zeros(nVCM,nBPMy);
+
+        % look for index of valid BPM and correctors
+        VCMIdx = findrowindex(FBstruct.VCMlist, VCMfullList);
+        BPMyIdx = findrowindex(FBstruct.OCSy.BPM.DeviceList, BPMyfullList);
+
+        %VCMIdx = [VCMIdx(2:end); VCMIdx(1)];
+        %BPMyIdx = [BPMyIdx(2:end); BPMyIdx(1)];
+
+        % Put zero where BPM and correctors are not taken into account
+        RinvVfull(VCMIdx, BPMyIdx) = RinvV(:,:);
+
+        fprintf('Matrices computed successfully')
+
+        % save data into a file
+        dirName = getfamilydata('Directory' , 'OpsData');
+        matrixX = RinvHfull;
+        matrixZ = RinvVfull;
+
+        %fileName = 'matrix4FOFB';
+        % Confirmation dialogbox
+        StartFlag = questdlg('Save new Response matrix for FOFB? To apply your modifications, choose yes and do START+CONFIG at next FOFB start', 'Response matrix generation','Yes','No','No');
+
+        % Diag for Laurent
+        if 0
+            figure;
+            mesh(matrixX)
+            title('Horizontal Inverse Response Matrix')
+
+            figure;
+            mesh(matrixZ)
+            title('Vertical Inverse Response Matrix')
+        end
+
+        if strcmp(StartFlag,'No')
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   ***************************\n');
+            fprintf('   **  No Data Saved         **\n');
+            fprintf('   ***************************\n\n');
+            pause(0);
+            return
+        end
+
+        save([dirName fileName], 'matrixX','matrixZ');
+
+        fprintf('   %s \n', datestr(clock));
+        fprintf('   *************************************************\n');
+        fprintf('   **  New Response matrix for FOFB Saved         **\n');
+        fprintf('   ***********************************************\n\n');
+        
+        %% Configuration for BPM of the RF feedback
+        FB = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+        activeBPMs = zeros(1,size(family2dev('BPMx', 0),1));
+        activeBPMs(dev2elem('BPMx', FB.BPMlist)) = 1;
+        fprintf('Updating list of BPM for RFFB\n');
+       
+        %button=questdlg('Voulez-vous reconfigurer le FOFB et RFFB? ','Attention','Confirmer','Annuler','Annuler');
+        % As RFFB is not used anymore, suppression of dialogbox. BPM list
+        % always updated on RFFB dev. To be completly suppressed?
+        button='Confirmer';
+        switch button
+            case'Confirmer'
+                try
+                    tango_write_attribute2(devRFFBManager,'activeBPM', int32(activeBPMs));
+                    fprintf('Updating list of BPM done\n');
+                catch
+                    fprintf('\n  %s \n',lasterr);
+                    fprintf('Error while updating list of BPM for RFFB\n');
+                end
+            otherwise
+                fprintf('Configuration aborted\n')
+        end
+
+        % save data for SOFB
+        savaData2File;
+        
+
+        FOFBMANAGERFLAG = 1;
+        if FOFBMANAGERFLAG
+            % get BPM list used in FOFB-Manager
+            bpmdata  = tango_get_properties2(devFOFBManager, {'BPMList'});
+
+            % Configuration
+            % H means H-plane only
+            % V means V-plane only
+            % B means both planes H and V (nominal config)
+            % N means excluded for both planes, only survey on private network
+            % O means out of order for both planes
+
+            % update all the list of BPM
+            FullBPMDevList = family2dev('BPMx', 0);
+
+            %%WARNING may not work if added BPM
+            % Idx = strfind(bpmdata.value, 'ANS-C01/DG/BPM.2')
+            for ik = 1:size(FullBPMDevList,1),
+                if bpmdata.value{ik}(end) ~= 'O'; % do nothing if out of order
+                    if activeBPMs(ik)
+                        bpmdata.value{ik}(end) = 'B';
+                    else
+                        bpmdata.value{ik}(end) = 'N'; % not more diagnostics on Orbit, BPM not used in correction
+                        %bpmdata.value{ik}(end) = 'O'; % out of order by expectedbpm has to be changed
+                        %ExpectedBpmCnt property has to be modified
+                    end
+                else
+                    fprintf('Config not taken into account BPM(%2d, %2d) out of order\n ', FullBPMDevList(ik,:));
+                end
+            end
+
+            % set back BPM list used to FOFB-Manager
+            tango_put_property2(devFOFBManager, 'BPMList', bpmdata.value);
+
+            % To be activated if out of Order Libera
+            % rep = tango_get_properties2(devFOFBManager, {'ExpectedBpmCnt'});
+            % val.value{1} = num2str(length(activeBPMs));
+            % tango_put_property2(devFOFBManager, 'ExpectedBpmCnt', val.value);
+
+            % get H-corrector list used in FOFB-Manager
+            HSteerer  = tango_get_properties2(devFOFBManager, {'HSteererList'});
+            
+            % Configuration
+            % U means Up = OK
+            % O means out of order for both planes
+            
+            for ik = 1:size(HCMfullList,1),
+                if ~isempty(findrowindex(HCMfullList(ik,:),HCMfullList(HCMIdx,:)))
+                    HSteerer.value{ik}(end) = 'U';
+                else
+                    HSteerer.value{ik}(end) = 'O'; % not more diagnostics on Orbit, BPM not used in correction
+                end
+            end
+
+            % set back HCOR list used to FOFB-Manager
+            tango_put_property2(devFOFBManager, 'HSteererList', HSteerer.value);
+
+            % get V-corrector list used in FOFB-Manager
+            VSteerer  = tango_get_properties2(devFOFBManager, {'VSteererList'});
+            
+            % Configuration
+            % U means Up = OK
+            % O means out of order for both planes
+            
+            for ik = 1:size(VCMfullList,1),
+                if ~isempty(findrowindex(VCMfullList(ik,:),VCMfullList(VCMIdx,:)))
+                    VSteerer.value{ik}(end) = 'U';
+                else
+                    VSteerer.value{ik}(end) = 'O'; % not more diagnotics on Orbit, BPM not used in correction
+                end
+            end
+
+            % set back VCOR list used to FOFB-Manager
+            tango_put_property2(devFOFBManager, 'VSteererList', VSteerer.value);
+
+            % init on device to take into account the new property
+            tango_command_inout2(devFOFBManager, 'Init');
+        end
+
+%% StartDCFB
+    case 'StartDCFB' %Retrieve DC part of fast correctors
+
+        FOFBguiTango('UpdateStatusFOFB');
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % H-plane: 1/ only corrector 2/ RF part
+        % V-plane
+        % Need to know configuration of the SOFB and of the FOFB
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+        FBstruct = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+
+        Sh = getrespmat(BPMxFamily, FBstruct.BPMlist, HCMFamily, FBstruct.HCMlist, [], SR_GEV);
+        Sv = getrespmat(BPMyFamily, FBstruct.BPMlist, VCMFamily, FBstruct.VCMlist, [], SR_GEV);
+
+        Eta = getdisp(BPMxFamily, FBstruct.BPMlist);
+
+        % reconstruct orbit
+
+        % Load current configuration data for FOFB from a file!
+        DirName = getfamilydata('Directory', 'FOFBdata');
+        tmp = load(fullfile(DirName, 'SOFBconfiguration'), 'FB');
+        FB_SOFB = tmp.FB;
+
+        % Precompute matrices
+
+        %%%%%%%%%%%
+        % H-plane %
+        %%%%%%%%%%%
+
+        %compute matrix for valid BPM & correctors
+
+        Smat = Sh;
+        RFWeight = 10 * mean(std(Smat)) / std(Eta);
+        Smat = [Smat RFWeight*Eta];
+
+        % compute SVD
+        [U, S, V] = svd(Smat, 0);  %'econ');
+        S = diag(S);
+
+        % Number of singular values
+        SVDIndex = FBstruct.OCSx.SVDIndex;
+        RH = U(:,SVDIndex)*diag(S(SVDIndex))*V(:,SVDIndex)';
+
+        % retrieve H-plane response matrix with good BPM and correctors
+        %SOFB_RMat = getrespmat(FB_SOFB.OCSx.BPM.FamilyName, FB_SOFB.OCSx.BPM.DeviceList, FB_SOFB.OCSx.CM.FamilyName, FB_SOFB.OCSx.CM.DeviceList, [], SR_GEV);
+        %SOFB_Eta = getdisp(FB_SOFB.OCSx.BPM.FamilyName, FB_SOFB.OCSx.BPM.DeviceList);
+        % Need to take BPM list from this program, i.e. FOFB.
+        % TODO: may  not be OKay
+        SOFB_RMat = getrespmat(FB_SOFB.OCSx.BPM.FamilyName, FBstruct.BPMlist, FB_SOFB.OCSx.CM.FamilyName, FB_SOFB.OCSx.CM.DeviceList, [], SR_GEV);
+        SOFB_Eta  = getdisp(FB_SOFB.OCSx.BPM.FamilyName, FBstruct.BPMlist);
+
+        Smat = SOFB_RMat;
+        RFWeight = 10* mean(std(Smat)) / std(SOFB_Eta); % TODO: global variable
+        Smat = [Smat RFWeight*SOFB_Eta];
+
+        % Compute SVD and inverse matrix
+        [SOFB_UH, SOFB_SH, SOFB_VH] = svd(Smat, 0);  %'econ');
+        SOFB_SH = diag(SOFB_SH);
+        SOFB_SVDIndexH = FB_SOFB.OCSx.SVDIndex;
+        SOFB_RinvH = SOFB_VH(:,SOFB_SVDIndexH)*diag(SOFB_SH(SOFB_SVDIndexH).^(-1)) * SOFB_UH(:,SOFB_SVDIndexH)';
+
+        %%%%%%%%%%%
+        % V-plane %
+        %%%%%%%%%%%
+        %compute matrix for valid BPM & correctors
+
+        Smat = Sv;
+
+        % compute SVD
+        [U, S, V] = svd(Smat, 0);  %'econ');
+        S = diag(S);
+
+        % Number of singular values
+        SVDIndex = FBstruct.OCSy.SVDIndex;
+        RV = U(:,SVDIndex)*diag(S(SVDIndex))*V(:,SVDIndex)';
+
+        % retrieve H-plane response matrix with good BPM and correctors
+        % TODO flag saying data changed Then repcompute SVD and so on
+        %SOFB_RMat = getrespmat(FB_SOFB.OCSy.BPM.FamilyName, FB_SOFB.OCSy.BPM.DeviceList, FB_SOFB.OCSy.CM.FamilyName, FB_SOFB.OCSy.CM.DeviceList, [], SR_GEV);
+        SOFB_RMat = getrespmat(FB_SOFB.OCSy.BPM.FamilyName, FBstruct.BPMlist, FB_SOFB.OCSy.CM.FamilyName, FB_SOFB.OCSy.CM.DeviceList, [], SR_GEV);
+
+        [SOFB_UV, SOFB_SV, SOFB_VV] = svd(SOFB_RMat, 0);  %'econ');
+        SOFB_SV = diag(SOFB_SV);
+        SOFB_SVDIndexV=FB_SOFB.OCSy.SVDIndex;
+        %N_VCM=length(SOFB_SVDIndexV);
+        SOFB_RinvV = SOFB_VV(:,SOFB_SVDIndexV)*diag(SOFB_SV(SOFB_SVDIndexV).^(-1))*SOFB_UV(:,SOFB_SVDIndexV)';
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%
+        % ORBIT DC FEEDBACK part %
+        %%%%%%%%%%%%%%%%%%%%%%%%%%
+
+        %FBloopIter = 3; % number of iterations for each loop
+
+        DC_FEEDBACK_STOP_FLAG = 0;
+
+        % Warning Flag for stale correctors
+        HWarnNum = 0;
+        VWarnNum = 0;
+
+        % Feedback loop setup
+        LoopDelay = 10.0;    % Period of Feedback loop [seconds], make sure the BPM averaging is correct
+
+        % Percentage of correction to apply at each iteration
+        Xgain  = 1.0;
+        Ygain  = 1.0;
+
+        % Maximum allowed frequency shift during a single correction
+        deltaRFmax = 10e-6; % MHz
+        deltaRFmin = 0.3e-6; % MHz ie 0.1 Hz
+
+        % Load lattice set for tune feed forward
+
+        set(0,'showhiddenhandles','on');
+
+        try
+
+            %setup average data for reading BPMs
+            setfamilydata('gethbpmaverage','BPMx','Monitor', 'SpecialFunctionGet')
+            setfamilydata('getvbpmaverage','BPMz','Monitor', 'SpecialFunctionGet')
+
+            fprintf('\n');
+            fprintf('   *******************************\n');
+            fprintf('   **  Starting DC Orbit Feedback  **\n');
+            fprintf('   *******************************\n');
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   Note: the Matlab command window will be used to display status information.\n');
+            fprintf('         It cannot be used to enter commands during slow orbit DC Feedback.\n');
+
+            % Get FOFB Structure
+            %FB = get(findobj(gcbf,'Tag','FOFBguiTangoButtonFeedbackSetup'),'Userdata');
+            FB = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+            if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxDCRF'),'Value') == 1
+                FB.OCSx.FitRF = 1;
+            else
+                FB.OCSx.FitRF = 0;
+            end
+
+            % look for already running FOFB
+            check4DCfeedbackflag(devLockName);
+        catch
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  Orbit DC Feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+
+        % Confirmation dialogbox
+        StartFlag = questdlg('Start orbit DC Feedback?', 'Orbit DC Feedback','Yes','No','No');
+        set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextInformation'),'String','DC FB Started');
+
+        if strcmp(StartFlag,'No')
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   ***************************\n');
+            fprintf('   **  Orbit DC Feedback Exit  **\n');
+            fprintf('   ***************************\n\n');
+            pause(0);
+            return
+        end
+
+        set(0,'showhiddenhandles','on');
+
+        % Display information
+
+        if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHFOFB'),'Value') == 1
+            fprintf('   Using %d singular values horizontally.\n', length(FB.Xivec));
+        end
+        if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVFOFB'),'Value') == 1
+            fprintf('   Using %d singular values vertically.\n',   length(FB.Yivec));
+        end
+        fprintf('   Starting FOFB DC correction every %.1f seconds.\n', LoopDelay);
+
+        try
+            % Compute residual closed orbit
+            %x = FB.Xgoal - getx(FB.BPMlist);
+            %y = FB.Ygoal - getz(FB.BPMlist);
+
+            %STDx = norm(x)/sqrt(length(x));
+            %STDy = norm(y)/sqrt(length(y));
+            %STDx = std(x);
+            %STDy = std(y);
+
+            %set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextHorizontal'),'String', ...
+            %    sprintf('Horizontal RMS = %.4f mm',STDx),'ForegroundColor',[0 0 0]);
+            %set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextVertical'),'String', ...
+            %    sprintf('Vertical RMS = %.4f mm',STDy),'ForegroundColor',[0 0 0]);
+
+            if strcmp(getmode('BPMx'),'Online') && strcmp(getmode('BPMz'),'Online')
+                % Lock FOFB FB service
+                Locktag  = tango_command_inout2(devLockName,'Lock', 'dcfb');
+            end
+            pause(0);
+        catch
+
+            fprintf('\n  %s \n',lasterr);
+
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  Orbit DC Feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+
+
+        % Disable buttons in GUI
+        set(0,'showhiddenhandles','on');
+        set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStartDC'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStopDC'),'Enable','on');
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonFeedbackSetup'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoClose'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHSOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVSOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHcorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVcorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxRF'),'Enable','off');
+        set(findobj(gcbf,'TdevSpeakerNameag','FOFBguiTangoCheckboxSOFB'),'Enable','off')
+        set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxFOFB'),'Enable','off')
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonConvertMatrix4FPGA'),'Enable','off');
+        %set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStart'),'Enable','off');
+        pause(0);
+
+
+        % Initialize Feedback loop
+        %StartTime = gettime;
+        %StartErrorTime = gettime;
+
+        % Get orbit before FOFB startup
+        %Xold = getx(FB.BPMlist);
+        %Yold = getz(FB.BPMlist);
+        % Stale number
+        RF_frequency_stalenum = 0;
+        %pause(LoopDelay);
+
+        % Number of steerer magnet corrector
+        N_HCM = size(FB_SOFB.OCSx.CM.DeviceList,1);
+        N_VCM = size(FB_SOFB.OCSy.CM.DeviceList,1);
+
+        % thresholds for multibunch filling pattern
+        dhcmStd = 0.0002;
+        dvcmStd = 0.0002;
+        
+        % Number of RF actuator
+        N_RFMO = 1;
+
+        % Maximum current modification in correction for one iteration of  DC feedback
+        HDCMAX = 0.1; %A in H-plane
+        VDCMAX = 0.1; %A in V-plane
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%
+        % Start DC Feedback loop %
+        %%%%%%%%%%%%%%%%%%%%%%%%%%
+
+        setappdata(findobj(gcbf,'Tag','FOFBguiTangoFig1'),'DC_FEEDBACK_STOP_FLAG',0);
+
+        while DC_FEEDBACK_STOP_FLAG == 0 % infinite loop
+            try
+                t00 = gettime;
+                fprintf('Iteration time %s\n',datestr(clock));
+
+                % Check if GUI has been closed
+                if isempty(gcbf)
+                    DC_FEEDBACK_STOP_FLAG = 1;
+                    lasterr('FOFBguiTango GUI DISAPPEARED!');
+                    error('FOFBguiTango GUI DISAPPEARED!');
+                end
+
+                isxFOFBRunning = readattribute([devFOFBManager, '/xFofbRunning']);
+                iszFOFBRunning = readattribute([devFOFBManager, '/zFofbRunning']);
+                FOFBManagerState = readattribute([devFOFBManager, '/State']);
+                
+                %isRunningFOFB = readattribute([devLockName '/fofb']);
+
+                if (get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHDCFB'),'Value') == 1 && ~isxFOFBRunning)  || FOFBManagerState ~= 0
+                    DC_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('\n %s Arret: Programme FOFB is stopped in H-plane. Restart it first!\n\n', datestr(clock));
+                    strgMessage = 'Arret de la compensation des correcteurs. Vairifier FOFB';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    break;
+                end
+                
+                if (get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVDCFB'),'Value') == 1 && ~iszFOFBRunning) || FOFBManagerState ~= 0
+                    DC_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('\n %s Arret: Programme FOFB is stopped in H-plane. Restart it first!\n\n', datestr(clock));
+                    strgMessage = 'Arret de la compensation des correcteurs. VÃ©rifier FOFB';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    break;
+                end
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                % Horizontal plane DC Feedback %
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+                % Get orbit and check that the BPMs are different from the last update
+                %Xnew = getx(FB.BPMlist);
+
+%                 if any(isnan(Xnew))
+%                     DC_FEEDBACK_STOP_FLAG = 1;
+%                     fprintf('%s         Orbit DC Feedback stopped due to bad BPMs\n',datestr(now));
+%                     BadBPMName = family2tangodev(BPMxFamily, FB.BPMlist(isnan(Xnew),:));
+%                     for k=1:size(BadBPMName,1),
+%                         fprintf('Bad Horizontal BPM %s\n',BadBPMName{k});
+%                     end
+%                     tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : problÃšme BPM');
+%                     warndlg('Arret de la correction d''orbite : problÃšme BPM');
+%                     break;
+%                 end
+% 
+                if getdcct < DCCTMIN     % Don't Feedback if the current is too small
+                    DC_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit DC Feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                    strgMessage = 'Arret de la correction d''orbite : courant trop bas';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    warndlg('Arret de la correction d''orbite : courant trop bas');
+                    break;
+                end
+
+                %x = FB.Xgoal - Xnew;
+                %STDx = std(x);
+
+                if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHDCFB'),'Value') == 1
+%                     if any(Xold == Xnew)
+%                         N_Stale_Data_Points = find((Xold==Xnew)==1);
+%                         for i = N_Stale_Data_Points'
+%                             fprintf('   Stale data: BPMx(%2d,%d), Feedback step skipped (%s). \n', ...
+%                                 FB.BPMlist(i,1), FB.BPMlist(i,2), datestr(clock));
+%                         end
+%                     else
+                        % Compute horizontal correction
+                        %%%%%%%%%%%
+                        % H-plane %
+                        %%%%%%%%%%%
+
+                        % read current of steerers
+                        %hcm = getam(HCMFamily, FBstruct.HCMlist);
+                        hcm = getpv(HCMFamily, 'SetpointMean', FBstruct.HCMlist);
+
+                        % Compute Delta orbit
+                        hDeltaOrbit = RH*[hcm; 0];
+
+                        SOFB_Dhcm =  SOFB_RinvH*hDeltaOrbit;
+                        SOFB_DeltaRF = SOFB_Dhcm(end)*RFWeight;
+
+                        % diagnostics to be put here
+
+                        % Apply correction here
+
+                        X = Xgain.*SOFB_Dhcm;
+
+                        % check for corrector values and next step values, warn or stop FB as necessary
+                        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                        HCMSP = getam(FB_SOFB.OCSx.CM.FamilyName, FB_SOFB.OCSx.CM.DeviceList);  % present corrector values
+                        HCMSP_next = HCMSP + X(SOFB_SVDIndexH);       % next corrector values, just slow correctors (no RF)
+
+                        MaxSP = maxsp(FB_SOFB.OCSx.CM.FamilyName, FB_SOFB.OCSx.CM.DeviceList);
+                        MinSP = minsp(FB_SOFB.OCSx.CM.FamilyName, FB_SOFB.OCSx.CM.DeviceList);
+
+                        if any(MaxSP - HCMSP_next  < 0)
+                            HCMnum = find(HCMSP_next > MaxSP);
+                            % message to screen
+                            fprintf('**One or more of the horizontal correctors is at its maximum positive value!! Stopping orbit Feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(FB_SOFB.OCSx.CM.FamilyName,'Setpoint',FB_SOFB.OCSx.CM.DeviceList(HCMnum(1),:))));
+                            strgMessage = 'DC feedback: ProblÃšme correcteur horizontal';
+                            tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            warndlg('DC feedback: ProblÃšme correcteur horizontal');
+                            DC_FEEDBACK_STOP_FLAG = 1;
+                        end
+                        
+                        if any(MinSP - HCMSP_next  > 0)
+                            HCMnum = find(HCMSP_next < MinSP);
+                            % message to screen
+                            fprintf('**One or more of the horizontal correctors is at its maximum negative value!! Stopping orbit Feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(FB_SOFB.OCSx.CM.FamilyName,'Setpoint',FB_SOFB.OCSx.CM.DeviceList(HCMnum(1),:))));
+                            DC_FEEDBACK_STOP_FLAG = 1;
+                            strgMessage = 'ProblÃšme de la correction d''orbite';
+                            tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            warndlg('DC feedback: ProblÃšme correcteur vertical');                    
+                        end
+
+                        pause(0);
+
+                        if any(HCMSP_next > MaxSP - 1)
+                            HCMnum = find(HCMSP_next > MaxSP - 1);
+                            for ik = 1:length(HCMnum)
+                                HWarnNum = HWarnNum+1;
+                                fprintf('**Horizontal correctors %s is above %f! \n', ...
+                                    cell2mat(family2tango(FB_SOFB.OCSx.CM.FamilyName,'Setpoint',FB_SOFB.OCSx.CM.DeviceList(HCMnum(ik),:))), ...
+                                    MaxSP(HCMnum(ik)) - 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit DC Feedback is still working but this problem should be investigated. \n');
+                            strgMessage = 'ProblÃšme de la correction d''orbite';
+                            tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                        end
+
+                        if any(HCMSP_next < MinSP + 1)
+                            HCMnum = find(HCMSP_next < MinSP + 1);
+                            for ik = 1:length(HCMnum)
+                                HWarnNum = HWarnNum+1;
+                                fprintf('**Horizontal correctors %s is below %f! \n', ...
+                                    cell2mat(family2tango(FB_SOFB.OCSx.CM.FamilyName,'Setpoint',FB_SOFB.OCSx.CM.DeviceList(HCMnum(ik),:))), ...
+                                    MinSP(HCMnum(ik)) + 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit Feedback is still working but this problem should be investigated. \n');
+                            strgMessage = 'ProblÃšme de la correction d''orbite';
+                            tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                        end
+
+                        if getdcct < DCCTMIN     % Don't DC Feedback if the current is too small
+                            DC_FEEDBACK_STOP_FLAG = 1;
+                            fprintf('%s         Orbit DC Feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                            strgMessage = 'Arret du DC feedback : courant trop bas';
+                            tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            warndlg('Arret du DC feedback : courant trop bas')
+                            break;
+                        end
+
+                        % Apply new corrector values
+                        
+                        % check if correction variation are small enough
+                        % if not apply just a percentatge of the correction
+                        
+                        % Maximum current modification in correction for one iteration of  DC feedback                        
+                        % scaling off all correctors to get a maximum variation of HDCMAX
+                        if max(abs(X(SOFB_SVDIndexH))) > HDCMAX
+                            HDCfact = HDCMAX/max(abs(X(SOFB_SVDIndexH)));
+                            fprintf('H-plane: valeur max is %f A > %f A', max(abs(X(SOFB_SVDIndexH))), HDCMAX);
+                        else
+                            HDCfact = 1.0;
+                        end
+
+                        if N_HCM > 0 && std(X(1:N_HCM)) > dhcmStd
+                            fprintf('H-correction applied RMS HCOR was %f \n', std(X(1:N_HCM)))
+                            if strcmp(getmode(HCMFamily),'Online')
+                                profibus_sync(FB_SOFB.OCSx.CM.FamilyName); pause(0.2);
+                            end
+                            stepsp(FB_SOFB.OCSx.CM.FamilyName, HDCfact*X(1:N_HCM), FB_SOFB.OCSx.CM.DeviceList, 0);
+                            if strcmp(getmode(HCMFamily),'Online')                            
+                                profibus_unsyncall(FB_SOFB.OCSx.CM.FamilyName);
+                            end
+                        else
+                            fprintf('No horizontal correction  applied, std corrector = %5.4f mA rms < threshold = %5.4f \n', ...
+                                std(X(1:N_HCM)),dhcmStd);
+                        end
+
+                        % Don't DC Feedback if the current is too small, remove iteration
+                        if getdcct < DCCTMIN
+                            profibus_sync(FB_SOFB.OCSx.CM.FamilyName); pause(0.2);
+                            stepsp(FB_SOFB.OCSx.CM.FamilyName, -HDCfact*X(1:N_HCM), FB_SOFB.OCSx.CM.DeviceList, 0);
+                            profibus_unsyncall(FB_SOFB.OCSx.CM.FamilyName);
+                        end
+                        
+                        % Apply RF correction
+
+                        if FB.OCSx.FitRF
+                            deltaRF = Xgain.*SOFB_DeltaRF;
+                            if N_RFMO > 0
+                                RFfrequency_last = getrf;
+                                fprintf('Computed RF frequency correction is %5.1f Hz \n', hw2physics('RF','Setpoint', deltaRF));
+
+                                if abs(deltaRF) > deltaRFmin % MHz
+                                    if abs(deltaRF) < deltaRFmax % For avoiding too large RF step on orbit
+                                        steprf(deltaRF);
+                                        fprintf('RF change applied by %5.1f Hz\n', ...
+                                            hw2physics('RF','Setpoint', deltaRF));
+                                    else
+                                        warning('RF change too large: %5.1f Hz (max is %5.1f Hz)', ...
+                                            hw2physics('RF','Setpoint', deltaRF), hw2physics('RF','Setpoint', deltaRFmax));
+                                        steprf(deltaRFmax*sign(deltaRF));
+                                        fprintf('RF change applied by %5.1f Hz\n', hw2physics('RF','Setpoint', deltaRFmax*sign(deltaRF)));
+                                    end
+
+                                    RFfrequency_now = getrf;
+
+                                    % Check for stale RF DC Feedback
+
+                                    if RFfrequency_last == RFfrequency_now
+                                        RF_frequency_stalenum = RF_frequency_stalenum + 1;
+                                        if RF_frequency_stalenum == 30 % - warn and message if stale for 30 secs
+                                            fprintf('**The RF is not responding to orbit DC Feedback changes! \n');
+                                            fprintf('%s\n',datestr(now));
+                                            fprintf('**The orbit DC Feedback is still working but this problem should be investigated. \n');
+                                        end
+                                        if rem(RF_frequency_stalenum,120)==0 % - message to screen every 2 minutes
+                                            fprintf('**The RF is not responding to orbit DC Feedback changes! (%s)\n',datestr(now));
+                                        end
+                                    else
+                                        RF_frequency_stalenum = 0;
+                                    end
+
+                                    fprintf('RF Done: time = %f \n', gettime-t00);
+                                end
+                            end
+                        end
+                    %end
+                    %Xold = Xnew;
+                end % End horizontal correction
+
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                % Vertical plane "DC Feedback" %
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+                % Get orbit and check that the BPMs are different from the last update
+                %Ynew = getz(FB.BPMlist);
+
+%                 if any(isnan(Ynew))
+%                     DC_FEEDBACK_STOP_FLAG = 1;
+%                     fprintf('%s         Orbit DC Feedback stopped due to bad BPMs\n',datestr(now));
+%                     BadBPMName = family2tangodev(BPMxFamily, FB.BPMlist(isnan(Xnew),:));
+%                     for k=1:size(BadBPMName,1),
+%                         fprintf('Bad Vertical BPM %s\n',BadBPMName{k});
+%                     end
+%                     tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : problÃšme BPM');
+%                     break;
+%                 end
+
+                if getdcct < DCCTMIN     % Don't DC Feedback if the current is too small
+                    DC_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit DC Feedback stopped due to low beam current (< %d mA)\n', datestr(now), DCCTMIN);
+                    strgMessage = 'Arret de la correction d''orbite : courant trop bas';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    break;
+                end
+
+                %y = FB.Ygoal - Ynew;
+                %STDy = norm(y)/sqrt(length(y));
+
+
+                if get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVDCFB'),'Value') == 1
+
+%                     if any(Yold == Ynew)
+%                         fprintf('Info: Stale vertical BPM data, DC Feedback step skipped (%s). \n', datestr(clock));
+%                         N_Stale_Data_Points = find((Yold==Ynew)==1);
+%                         for i = N_Stale_Data_Points'
+%                             fprintf('   Stale data: BPMz(%2d,%d), DC Feedback step skipped (%s). \n', ...
+%                                 FB.BPMlist(i,1), FB.BPMlist(i,2), datestr(clock));
+%                         end
+% 
+%                     else
+
+                        %%%%%%%%%%%
+                        % V-plane %
+                        %%%%%%%%%%%
+
+                        % read current of steerers
+                        %vcm = getam(VCMFamily, FBstruct.VCMlist);
+                        vcm = getpv(VCMFamily, 'SetpointMean', FBstruct.VCMlist);
+                        
+                        % Compute Delta orbit
+                        % Load recorded offset between 10 Hz data and data build up from sniffer
+                        %data = load('/home/operateur/GrpPhysiqueMachine/Laurent/matlab/FOFB/offset_sniffer_10Hz', 'hoffset', 'voffset');
+                        vDeltaOrbit = RV*vcm;% - data.voffset*1e-6*0;
+                        %                         figure(55)
+                        %                         clf
+                        %                         plot(getspos('BPMz'), vDeltaOrbit); hold on;
+                        %                         plot(getspos('BPMz'), vDeltaOrbit+data.voffset*1e-6);
+
+                        % retrieve V-plane response matrix with good BPM and correctors
+                        SOFB_Dvcm =  SOFB_RinvV*vDeltaOrbit;
+
+                        % set to gains for correction
+                        Y = Ygain.*SOFB_Dvcm;
+
+                        N_VCM = length(FB_SOFB.OCSy.SVDIndex);
+
+                        % check for trim values+next step values, warn or stop FB as necessary
+
+                        VCMSP = getsp(FB_SOFB.OCSy.CM.FamilyName, FB_SOFB.OCSy.CM.DeviceList); % Get corrector values before correction
+                        VCMSP_next = VCMSP + Y(1:N_VCM); % New corrector values to be set in
+
+                        pause(0);
+
+                        if getdcct < DCCTMIN     % Don't DC Feedback if the current is too small
+                            fprintf('%s         Orbit DC Feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                            strgMessage = 'Arret de la correction d''orbite : courant trop bas';
+                            tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            DC_FEEDBACK_STOP_FLAG = 1;
+                            break;
+                        end
+
+                        MaxSP = maxsp(FB_SOFB.OCSy.CM.FamilyName, FB_SOFB.OCSy.CM.DeviceList);
+                        MinSP = minsp(FB_SOFB.OCSy.CM.FamilyName, FB_SOFB.OCSy.CM.DeviceList);
+
+                        if any(MaxSP - VCMSP_next  < 0)
+                            VCMnum = find(VCMSP_next > MaxSP);
+                            % message to screen
+                            fprintf('**One or more of the vertical correctors is at its maximum positive value!! Stopping orbit DC Feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(FB_SOFB.OCSy.CM.FamilyName,'Setpoint',FB_SOFB.OCSy.CM.DeviceList(VCMnum(1),:))));
+                            DC_FEEDBACK_STOP_FLAG = 1;
+                        end
+
+                        if any(MinSP - VCMSP_next  > 0)
+                            VCMnum = find(VCMSP_next < MinSP);
+                            % message to screen
+                            fprintf('**One or more of the vertical correctors is at its maximum negative value!! Stopping orbit DC Feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(FB_SOFB.OCSy.CM.FamilyName,'Setpoint',FB_SOFB.OCSy.CM.DeviceList(VCMnum(1),:))));
+                            DC_FEEDBACK_STOP_FLAG = 1;
+                        end
+
+                        pause(0);
+
+                        if any(VCMSP_next > MaxSP - 1)
+                            VCMnum = find(VCMSP_next > MaxSP - 1);
+                            for ik = 1:length(VCMnum)
+                                VWarnNum = VWarnNum+1;
+                                fprintf('**Vertical correctors %s is above %f! \n', ...
+                                    cell2mat(family2tango(FB_SOFB.OCSy.CM.FamilyName,'Setpoint',FB_SOFB.OCSy.CM.DeviceList(VCMnum(ik),:))), ...
+                                    MaxSP(VCMnum(ik)) - 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit DC Feedback is still working but this problem should be investigated. \n');
+                        end
+
+                        if any(VCMSP_next < MinSP + 1)
+                            VCMnum = find(VCMSP_next < MinSP + 1);
+                            for ik = 1:length(VCMnum)
+                                VWarnNum = VWarnNum+1;
+                                fprintf('**Vertical correctors %s is below %f! \n', ...
+                                    cell2mat(family2tango(FB_SOFB.OCSy.CM.FamilyName,'Setpoint',FB_SOFB.OCSy.CM.DeviceList(VCMnum(ik),:))), ...
+                                    MinSP(VCMnum(ik)) + 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit DC Feedback is still working but this problem should be investigated. \n');
+                        end
+
+                        % Maximum current modification in correction for one iteration of  DC feedback                        
+                        % scaling off all correctors to get a maximum variation of VDCMAX
+                        if max(abs(Y(SOFB_SVDIndexV))) > VDCMAX
+                            VDCfact = VDCMAX/max(abs(Y(SOFB_SVDIndexV)));
+                            fprintf('V-plane: valeur max is %f A > %f A', max(abs(Y(SOFB_SVDIndexV))), VDCMAX);
+                        else
+                            VDCfact = 1.0;
+                        end
+
+                        % Apply vertical correction
+                        
+                        if N_VCM > 0 && std(Y(1:N_VCM)) > dvcmStd
+                            fprintf('V-correction applied RMS VCOR was %f \n', std(Y(1:N_VCM)))
+                            if strcmp(getmode(VCMFamily),'Online')
+                                profibus_sync(FB_SOFB.OCSy.CM.FamilyName); pause(0.2);
+                            end
+
+                            stepsp(FB_SOFB.OCSy.CM.FamilyName, VDCfact*Y(SOFB_SVDIndexV), FB_SOFB.OCSy.CM.DeviceList, 0);
+                            if strcmp(getmode(VCMFamily),'Online')
+                                profibus_unsyncall(FB_SOFB.OCSy.CM.FamilyName);
+                            end
+                        else
+                            fprintf('No vertical correction  applied, std corrector = %5.4f mA rms < threshold = %5.4f \n', ...
+                                std(Y(1:N_VCM)),dvcmStd);
+                        end
+
+                        % Don't DC Feedback if the current is too small, remove iteration
+                        if getdcct < DCCTMIN     
+                            profibus_sync(FB_SOFB.OCSy.CM.FamilyName); pause(0.2);
+                            stepsp(FB_SOFB.OCSy.CM.FamilyName, -VDCfact*Y(SOFB_SVDIndexV), FB_SOFB.OCSy.CM.DeviceList, 0);
+                            profibus_unsyncall(FB_SOFB.OCSy.CM.FamilyName);
+                        end
+
+                    %end
+                end
+
+                %Yold = Ynew;
+
+                % Output info to screen
+%                 set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextHorizontal'), ...
+%                     'String',sprintf('Horizontal RMS = %.4f mm',STDx), ...
+%                     'ForegroundColor',[0 0 0]);
+%                 set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextVertical'), ...
+%                     'String',sprintf('Vertical RMS = %.4f mm',STDy),...
+%                     'ForegroundColor',[0 0 0]);
+%                 pause(0);
+
+                argin.svalue={'dcfb'};
+                argin.lvalue=int32(Locktag);
+                % Wait for next update time or stop request
+                while DC_FEEDBACK_STOP_FLAG == 0 && (gettime-t00) < LoopDelay
+                    pause(.2);
+                    % Check if GUI has been closed
+                    if isempty(gcbf)
+                        DC_FEEDBACK_STOP_FLAG = 1;
+                        lasterr('FOFBguiTango GUI DISAPPEARED!');
+                        error('FOFBguiTango GUI DISAPPEARED!');
+                    end
+                    if DC_FEEDBACK_STOP_FLAG == 0
+                        DC_FEEDBACK_STOP_FLAG = getappdata(findobj(gcbf,'Tag','FOFBguiTangoFig1'),'DC_FEEDBACK_STOP_FLAG');
+                        % read FOFB status and stop DC loop if KO
+
+                        isxFOFBRunning = readattribute([devFOFBManager, '/xFofbRunning']);
+                        iszFOFBRunning = readattribute([devFOFBManager, '/zFofbRunning']);
+                        if ~isxFOFBRunning || ~iszFOFBRunning
+                            DC_FEEDBACK_STOP_FLAG = 1;
+                            fprintf('DCFB stopped since FOFB is stopped!\n');
+                        end                                                        
+                   end
+                    % Maintain lock on FOFB service
+                    tango_command_inout2(devLockName,'MaintainLock', argin);
+                end
+
+                StartErrorTime = gettime;
+
+                % Maintain lock on FOFB service
+                tango_command_inout2(devLockName,'MaintainLock', argin);
+
+
+            catch
+                fprintf('\n  %s \n',lasterr);
+                DC_FEEDBACK_STOP_FLAG = 1;
+                strgMessage = 'Arret du daichargement des correcteurs';
+                tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                profibus_unsyncall(VCMFamily); % to be sure that correctors are controllable
+            end
+
+            % Check whether user asked for stopping FOFB
+            if DC_FEEDBACK_STOP_FLAG == 0
+                DC_FEEDBACK_STOP_FLAG = getappdata(findobj(gcbf,'Tag','FOFBguiTangoFig1'),'DC_FEEDBACK_STOP_FLAG');
+            end
+
+
+        end  % End of DC Feedback loop
+
+
+        % End DC Feedback, reset all parameters
+        try
+
+            % Enable buttons
+            set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStartDC'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStopDC'),'Enable','off');
+            set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrection'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoButtonFeedbackSetup'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoClose'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHSOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVSOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHcorrection'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVcorrection'),'Enable','on');
+            %set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxRF'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxSOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxFOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHDCFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVDCFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextHorizontal'),'String',sprintf('Horizontal RMS = _____ mm'),'ForegroundColor',[0 0 0]);
+            set(findobj(gcbf,'Tag','FOFBguiTangoStaticTextVertical'),'String',sprintf('Vertical RMS = _____ mm'),'ForegroundColor',[0 0 0]);
+            set(findobj(gcbf,'Tag','FOFBguiTangoButtonConvertMatrix4FPGA'),'Enable','on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStart'),'Enable','on');
+            pause(0);
+
+        catch
+            % GUI must have been closed
+            fprintf('GUI must have been closed\n');
+        end
+
+        fprintf('   %s \n', datestr(clock));
+        fprintf('   ******************************\n');
+        fprintf('   **  Orbit DC Feedback Stopped  **\n');
+        fprintf('   ******************************\n\n');
+        set(0,'showhiddenhandles','off');
+        pause(0);
+
+        % Unlock SOFB service
+        argin.svalue={'dcfb'};
+        argin.lvalue=int32(Locktag);
+        tango_command_inout2(devLockName,'Unlock', argin);
+
+        %setup average data for reading BPMs
+        setfamilydata('gethbpmgroup','BPMx','Monitor', 'SpecialFunctionGet')
+        setfamilydata('getvbpmgroup','BPMz','Monitor', 'SpecialFunctionGet')
+
+%% FOFBRunningMode
+    case 'FOFBRunningMode' %Switch between FOFB mode
+        % 0 means FOFB without SOFB and with DCFB
+        % 1 means FOFB with SOFB but wihtout DCFB
+        
+        if readattribute([devLockName '/dcfb'])
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxFOFB_SOFB'),'Value', 0);
+            warndlg('First Stop DCFB')
+            return;
+        end
+        
+        val = get(findobj(gcbf,'Tag','FOFBguiTangoCheckboxFOFB_SOFB'),'Value');
+
+        isxFOFBRunning = readattribute([devFOFBManager, '/xFofbRunning']);
+        iszFOFBRunning = readattribute([devFOFBManager, '/zFofbRunning']);
+
+        if isxFOFBRunning || iszFOFBRunning
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxFOFB_SOFB'),'Value', mod(val+1,2));
+            fprintf('First Stop FOFB\n')
+            return;
+        end
+
+        
+        if val == 1 % FOFB runs with SOFB but without DCFB
+            set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStopDC'),'Enable', 'off');
+            set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStartDC'),'Enable', 'off');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxDCRF'),'Enable', 'off');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHDCFB'),'Enable', 'off');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVDCFB'),'Enable', 'off');
+            set(findobj(gcbf,'Tag','FOFBguiTangoFig1'),'Color', [0.84 0 0.89]);
+
+        else % FOFB runs without SOFB and with DCFB
+            set(findobj(gcbf,'Tag','FOFBguiTangoPushbuttonStartDC'),'Enable', 'on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxDCRF'),'Enable', 'on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxHDCFB'),'Enable', 'on');
+            set(findobj(gcbf,'Tag','FOFBguiTangoCheckboxVDCFB'),'Enable', 'on');            
+            set(findobj(gcbf,'Tag','FOFBguiTangoFig1'),'Color', [0.1 0.1 1]);
+        end
+
+        FB = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+        FB.SOFBandFOFB = val;
+        set(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata',FB);
+        savaData2File;
+        
+    otherwise
+        fprintf('   Unknown action name: %s.\n', action);
+
+end
+
+
+%% getlocallist
+function [HCMlist, VCMlist, BPMlist] = getlocallist
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Edit the following lists to change default configuration of Orbit Correction %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+HCMlist = family2dev('FHCOR');
+VCMlist = family2dev('FVCOR');
+
+% do not change this list
+% otherwise incoherent state with matrix4fofb
+
+BPMlist = [
+    1     2
+    1     3
+    1     4
+    1     5
+    1     6
+    1     7
+    2     1
+    2     2
+    2     3
+    2     4
+    2     5
+    2     6
+    2     7
+    2     8
+    3     1
+    3     2
+    3     3
+    3     4
+    3     5
+    3     6
+    3     7
+    3     8
+    4     1
+    4     2
+    4     3
+    4     4
+    4     5
+    4     6
+    4     7
+    5     1
+    5     2
+    5     3
+    5     4
+    5     5
+    5     6
+    5     7
+    6     1
+    6     2
+    6     3
+    6     4
+    6     5
+    6     6
+    6     7
+    6     8
+    7     1
+    7     2
+    7     3
+    7     4
+    7     5
+    7     6
+    7     7
+    7     8
+    8     1
+    8     2
+    8     3
+    8     4
+    8     5
+    8     6
+    8     7
+    9     1
+    9     2
+    9     3
+    9     4
+    9     5
+    9     6
+    9     7
+    10     1
+    10     2
+    10     3
+    10     4
+    10     5
+    10     6
+    10     7
+    10     8
+    11     1
+    11     2
+    11     3
+    11     4
+    11     5
+    11     6
+    11     7
+    11     8
+    12     1
+    12     2
+    12     3
+    12     4
+    12     5
+    12     6
+    12     7
+    13     1
+    13     8
+    13     9
+    13     2
+    13     3
+    13     4
+    13     5
+    13     6
+    13     7
+    14     1
+    14     2
+    14     3
+    14     4
+    14     5
+    14     6
+    14     7
+    14     8
+    15     1
+    15     2
+    15     3
+    15     4
+    15     5
+    15     6
+    15     7
+    15     8
+    16     1
+    16     2
+    16     3
+    16     4
+    16     5
+    16     6
+    16     7
+    1     1
+    ];
+
+function check4feedbackflag(devLockName)
+
+if strcmp(getmode('BPMx'),'Online') && strcmp(getmode('BPMz'),'Online')
+    %look for already running FOFB
+    val = readattribute([devLockName '/sofb']);
+    if val == 1
+        error('SOFB already running. Stop other application first!')
+    end
+    val = readattribute([devLockName '/rffb']);
+    if val == 1
+        error('RFFB already running. Stop other application first!')
+    end
+end
+
+function check4DCfeedbackflag(devLockName)
+
+if strcmp(getmode('BPMx'),'Online') && strcmp(getmode('BPMz'),'Online')
+    %look for already running FOFB
+    val = readattribute([devLockName '/sofb']);
+    if val == 1
+        error('SOFB already running. Stop other application first!')
+    end
+    val = readattribute([devLockName '/dcfb']);
+    if val == 1
+        error('DCFB already running. Stop other application first!')
+    end
+end
+
+% data saved to be used in another GUI by SOFB
+function savaData2File
+
+FB = get(findobj(gcbf,'Tag','FOFBguiTangoButtonOrbitCorrectionSetupFOFB'),'Userdata');
+% Save current configuration data for FOFB into a file!
+% Ugly but first quick solution before merging both FB
+DirName = getfamilydata('Directory', 'FOFBdata');
+FileName = fullfile(DirName, 'FOFBconfiguration');
+save(FileName, 'FB');
+
+fprintf('New FOFB configuration saved to file %s\n', FileName);
+% %%
+%       case Tango::ON:
+%         lv_state = 0;
+%         break;
+%       case Tango::OFF:
+%         lv_state = 1;
+%         break;
+%       case Tango::CLOSE:
+%         lv_state = 2;
+%         break;
+%       case Tango::OPEN:
+%         lv_state = 3;
+%         break;
+%       case Tango::INSERT:
+%         lv_state = 4;
+%         break;
+%       case Tango::EXTRACT:
+%         lv_state = 5;
+%         break;
+%       case Tango::MOVING:
+%         lv_state = 6;
+%         break;
+%       case Tango::STANDBY:
+%         lv_state = 7;
+%         break;
+%       case Tango::FAULT:
+%         lv_state = 8;
+%         break;
+%       case Tango::INIT:
+%         lv_state = 9;
+%         break;
+%       case Tango::RUNNING:
+%         lv_state = 10;
+%         break;
+%       case Tango::ALARM:
+%         lv_state = 11;
+%         break;
+%       case Tango::DISABLE:
+%         lv_state = 12;
+%         break;
+%       default:
+%       case Tango::UNKNOWN:
+%         lv_state = 13;
+%         break;
+%
+
Index: /trunk/machine/SOLEIL/StorageRing/KEM/KEMgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/KEM/KEMgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/KEM/KEMgui.m	(revision 17)
@@ -0,0 +1,69 @@
+function KEMgui
+%KEMgui - GUI for KEM controling. Usefull for FAM
+
+%
+% Written by Laurent S. Nadolski
+
+%Clear previous ORBIT figure
+orbfig = findobj(allchild(0),'tag','kemgui'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+
+kmax = 2; % button number
+
+height = 10 + kmax*30 + 30; %670;
+a = figure('Color',[0.8 0.8 0.8], ...
+    'Interruptible', 'on', ...   
+    'HandleVisibility','off', ...
+    'MenuBar','none', ...
+    'Name', 'KEM gui', ...
+    'NumberTitle','off', ...
+    'Units','pixels', ...
+    'Position',[5 70 210*4 height], ...
+    'Resize','off', ...
+    'Tag','kemgui');
+
+height = height - 35;
+
+for k = 1:kmax,
+    b1(k) = uicontrol('Parent',a, ...
+        'Position',[3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b2(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b3(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210*2 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b4(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210*3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+bn = uicontrol('Parent',a, ...
+        'Position',[3+310 height-(kmax)*30+5 204 27/2], ...
+        'Interruptible', 'off', ...
+        'Style','text', 'String', 'Interface for turn by turn measurements', 'ForegroundColor', 'r');
+
+set(b1(1), 'Callback','switchsynchro(''Injection''); disp(''injection'');', 'String','Synchro : injection');
+set(b1(2), 'Callback','switchsynchro(''KEM''); disp(''KEM'');', 'String','Synchro KEM');
+
+set(b2(1), 'Callback','switchbpm(''Injection''); disp(''BPM: normal'')', 'String','BPM Normal');
+set(b2(2), 'Callback','switchbpm(''KEM''); disp(''BPM: KEM'') ', 'String','BPM: KEM');
+
+set(b3(1), 'Callback','soft_trigger; getdcct', 'String','Trigger Soft');
+set(b3(2), 'Callback','burst_trigger; getdcct', 'String','Injection');
+
Index: /trunk/machine/SOLEIL/StorageRing/KEM/getBPMlist4FMA.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/KEM/getBPMlist4FMA.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/KEM/getBPMlist4FMA.m	(revision 17)
@@ -0,0 +1,3 @@
+function devList=getBPMlist4FMA
+
+devList = family2tangodev('BPMx',[1 1; 1 2; 1 4; 2 5; 9 1; 9 2]);
Index: /trunk/machine/SOLEIL/StorageRing/KEM/set_BPM_configuration_FMA_OFF.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/KEM/set_BPM_configuration_FMA_OFF.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/KEM/set_BPM_configuration_FMA_OFF.m	(revision 17)
@@ -0,0 +1,117 @@
+function set_BPM_configuration_FMA_OFF
+%
+% 8 juillet 2008
+% retour Ã  la configuration standard des BPM pour les mesures tour par tour 
+% 
+%
+% DETUNE
+% modifie le SWITCH (255)
+% modifie la profondeur de buffer (1024)
+% 
+% ajuste les retards fins de phase Ã  0 :!! a une incidence sur FOFB 
+% mode AGC on
+% 
+
+DDFlag = 1; % for standard filter
+actual_directory = pwd;
+cd('/home/diag/diag/Matlab/DserverBPM')
+
+%% LISTE BPM
+% liste de BPM
+%devList = getBPMlist4FMA;
+devList = family2tangodev('BPMx');
+
+%% cree un tango group des BPM concernÃ©s
+GroupId = tango_group_create2('BPM_FMA');
+tango_group_add(GroupId,devList');
+pause(0.5)
+disp('Tango Group achieved')
+
+%% profondeur de buffer par dÃ©faut (celle inscrite sur la propriete DefaultDDBufferSize)
+res = tango_get_property2('ANS-C01/DG/BPM.1','DefaultDDBufferSize');
+Value = res.value;
+attribute = 'DDBufferSize';
+tango_group_write_attribute2(GroupId,attribute,int32(str2num(Value{:})));
+disp('DDBufferSize equal to default value (=1026)')
+
+%% detune
+h = waitbar(0,'Please wait...');
+for i=1:1:size(devList,1)
+
+    waitbar(i/size(devList,1));
+    %%%libera_ip=tango_get_property2(devList(i,:),'LiberaIpAddr')
+    libera_ip=tango_get_property2(devList{i},'LiberaIpAddr')
+
+    
+    % fichier oÃ¹ l'on va Ã©crire l'adresse des BPM une Ã  une
+    %%%fid=fopen('/home/diag/diag/Matlab/DserverBPM/liste-IP-libera-test.txt','wt');   
+    fid=fopen('liste-IP-libera-test.txt','wt');   
+
+    fprintf(fid,libera_ip.value{1});
+    fclose(fid);
+    
+    % script de commande unix
+    %%%command='./home/diag/diag/Matlab/DserverBPM/Detune_liste.sh liste-IP-libera-test.txt';   
+    command='. Detune_liste.sh liste-IP-libera-test.txt';   
+
+    [status,result]=unix(command,'-echo');
+    
+    % test
+    detune_index=regexp(result,' -o ');
+    if isempty(detune_index)
+        %%%val_list(i,:)=[devList(i,5:8),devList(i,12:16),' no detuning'];
+        val_list(i,:)=[devList{i}(5:8),devList{i}(12:16),' no detuning'];
+
+    else
+        ligne=[result(detune_index+1:detune_index+5),'      '];
+        %%%val_list(i,:)=[devList(i,5:8),devList(i,12:16),' ',ligne];
+        val_list(i,:)=[devList{i}(5:8),devList{i}(12:16),' ',ligne];
+
+    end
+end
+pause(0.5)
+disp(val_list); % afficher le rÃ©sultat valeur = 220
+
+%% SWITCH + DD Buffer size Ã  modifier ultÃ©rieurement en tango_group
+switchbpm('Injection');  % ATTENTION PERTURBATION IMPORTANTE DU FAISCEAU STOCKE
+pause(0.5)
+
+%% AGC enabled
+Value=uint8(1);
+attribute = 'AGCEnabled';
+tango_group_write_attribute(GroupId,attribute,1,Value);
+disp('AGC on')
+pause(0.5)
+MeanVal = mean(tango_group_read_attribute2(GroupId, attribute));
+if MeanVal ~= double(Value);
+    fprintf('At least one BPM has AGC set on \n')
+end
+
+%% mettre les phases Ã  0 en fin de FMA (standard pour FOFB)
+if DDFlag
+    home/matlabML/measdata/SOLEIL/StorageRingdata/KickerEM/reset_bpm_timephase
+    disp('BPM Phases tuned to 0')
+end
+
+cd(actual_directory)
+pause(0.5)
+
+%% faire disparaitre le groupe tango
+tango_group_kill(GroupId);
+pause(0.5)
+disp('Tango Group killed')
+disp('BPM Configuration completed')
+
+
+% libera_ip = 
+% 
+%      name: 'LiberaIpAddr'
+%     value: {'172.17.15.54'}
+% 
+% ./Detune_liste.sh: line 2: [[: liste-IP-libera-test.txt: syntax error in expression (error token is ".txt")
+% Pseudo-terminal will not be allocated because stdin is not a terminal.
+% 
+% stdin: is not a tty
+% kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
+% /opt/bin/lmtd: invalid option -- f
+
Index: /trunk/machine/SOLEIL/StorageRing/KEM/set_BPM_configuration_FMA_ON.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/KEM/set_BPM_configuration_FMA_ON.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/KEM/set_BPM_configuration_FMA_ON.m	(revision 17)
@@ -0,0 +1,128 @@
+function set_BPM_configuration_FMA_ON
+%
+% 8 juillet 2008
+% configure une liste de BPM pour les mesures tour par tour 
+% nÃ©cessaire Ã  l'analyse en frÃ©quence
+%
+% RETUNE
+% modifie le SWITCH
+% modifie la profondeur de buffer
+% mode DDenabled
+% ajuste les retards fins de phase :!! a une incidence sur FOFB PENSER A REMETTRE TOUT EN ORDRE
+% mode AGC off
+% gain fixÃ© de faÃ§on Ã  avoir 1e8 = signal somme pour 10 mA sur 95 ns
+% 
+
+%  NOTES
+%  Injection in quart 2 with Linac pulse of 1.5nC 110MeV 90ns
+
+
+DDFlag = 1; % for standard filter
+actual_directory = pwd;
+cd('/home/operateur/GrpDiagnostics/matlab/DserverBPM')
+
+%% LISTE BPM
+% liste de BPM
+%devList = getBPMlist4FMA;
+devList = family2tangodev('BPMx');
+
+%% cree un tango group des BPM concernÃ©s
+GroupId = tango_group_create2('BPM_FMA');
+tango_group_add(GroupId,devList');
+tango_group_ping(GroupId)
+disp('Tango Group achieved')
+
+%% profondeur de buffer
+%Value=uint32(2000);
+% Value=int32(2000);
+% attribute = 'DDBufferSize';
+% tango_group_write_attribute2(GroupId,attribute,Value);
+% disp('DDBufferSize equal to 2000')
+
+%% retune
+h = waitbar(0,'Please wait...');
+for i=1:1:size(devList,1)
+
+    waitbar(i/size(devList,1));
+    libera_ip = tango_get_property2(devList{i},'LiberaIpAddr')
+    
+    % fichier oÃ¹ l'on va Ã©crire l'adresse des BPM une Ã  une
+    fid=fopen('liste-IP-libera-test.txt','wt');   
+    fprintf(fid,libera_ip.value{1});
+    fclose(fid);
+    
+    % script de commande unix
+    
+    command='.  Retune_liste.sh liste-IP-libera-test.txt';   
+    [status,result]=unix(command,'-echo');
+    
+    % test
+    detune_index=regexp(result,' -o ');
+    if isempty(detune_index)
+        val_list(i,:)=[devList{i}(5:8),devList{i}(12:16),' no detuning'];
+    else
+        ligne=[result(detune_index+1:detune_index+5),'      '];
+        val_list(i,:)=[devList{i}(5:8),devList{i}(12:16),' ',ligne];
+    end
+end
+disp(val_list); % afficher le rÃ©sultat
+
+% C01/BPM.1 -o 0       
+% C01/BPM.2 -o 0       
+% C01/BPM.4 -o 0       
+% C02/BPM.5 -o 0       
+% C09/BPM.1 -o 0       
+% C09/BPM.2 -o 0  
+
+%% SWITCH + DD Buffer size Ã  modifier ultÃ©rieurement en tango_group
+% TODO put BPM device list as input argument
+switchbpm('KEM');  % ATTENTION PERTURBATION IMPORTANTE DU FAISCEAU STOCKE
+
+%% DD enabled
+Value=uint8(1);
+attribute = 'DDEnabled';
+tango_group_write_attribute2(GroupId,attribute,Value);
+disp('DDenabled achieved')
+MeanVal = mean(tango_group_read_attribute2(GroupId, attribute));
+if MeanVal ~= double(Value);
+    fprintf('At least one BPM is not DD enabled \n')
+end
+pause(0.5)
+
+%% AGC not enabled
+Value=uint8(0);
+attribute = 'AGCEnabled';
+tango_group_write_attribute2(GroupId,attribute,Value);
+disp('AGC off')
+MeanVal = mean(tango_group_read_attribute2(GroupId, attribute));
+if MeanVal ~= double(Value);
+    fprintf('At least one BPM has AGC set off \n')
+end
+pause(0.5)
+
+%% valeur du gain
+Value=-22;
+attribute = 'Gain';
+tango_group_write_attribute2(GroupId,attribute,Value);
+disp('Gain fixed to -22')
+
+MeanVal = mean(tango_group_read_attribute2(GroupId, attribute));
+if MeanVal ~= double(Value);
+    fprintf('At least one BPM has gain different from %d \n', Value)
+end
+pause(0.5)
+
+%% retard fin  Ã  modifier ultÃ©rieurement en tango_group
+if DDFlag
+    cd('/home/matlabML/measdata/SOLEIL/StorageRingdata/KickerEM/')
+    set_bpm_timephase;
+    disp('BPM Phases tuned')
+end
+
+fprintf('Penser Ã  remettre les phases Ã  0 en fin de FMA (standard pour FOFB)\n')
+cd(actual_directory)
+
+%% faire disparaitre le groupe tango
+tango_group_kill(GroupId);
+disp('Tango Group killed')
+disp('BPM Configuration completed')
Index: /trunk/machine/SOLEIL/StorageRing/KEM/switchbpm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/KEM/switchbpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/KEM/switchbpm.m	(revision 17)
@@ -0,0 +1,70 @@
+function switchbpm(varargin)
+% switchsynchro - Switch timing for using the Machine study kickers (KEM) or Normal injection mode
+%
+%  INPUTS
+%  Injection - Mode for standard injection into the storage ring
+%  KEM       - Mode for kicking the beam with a soft event  
+%
+%  See Also KEMgui
+
+%
+%  Written by Laurent S. Nadolski
+%  21/07/08 Modification. Use of group
+
+BPMFlag = 'Injection';
+normalBufferSize = 1026; % Buffer size for normal mode
+KEMBufferSize = 2000; % Buffer for turn by turn data
+waitTime = 1; 
+manualSwitch = 3; % no switching (turn by turn measurement)
+autoSwitch = 255; % automatic switching (normal mode)
+%GroupId = tango_group_id('BPM'); % gives one since 2 Mai 2010
+GroupId = getfamilydata('BPMx','GroupId');
+
+DeviceListFull = family2dev('BPMx',0);
+devList = family2dev('BPMx'); % to put as argin 
+tango_group_disable_device2(GroupId, dev2tangodev('BPMx',DeviceListFull));
+tango_group_enable_device2(GroupId, dev2tangodev('BPMx',devList));
+
+% Input parser
+for i = length(varargin):-1:1,
+    if strcmpi(varargin{i},'Injection') || strcmpi(varargin{i},'Inj')
+        BPMFlag = 'Injection';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'KEM')
+        BPMFlag = 'KEM';
+    end
+end
+
+%devList = getBPMlist4FMA;
+% take all BPMs
+devList = family2dev('BPMx'); % ALL BPMs
+devName = family2tangodev('BPMx', devList);
+
+% switchyard for injection
+switch BPMFlag
+    case 'KEM' % BPM setup for Machine studies        
+        tango_group_write_attribute2(GroupId, 'Switches',int16(manualSwitch));
+        pause(waitTime); % important to wait a while
+        MeanVal = mean(tango_group_read_attribute2(GroupId, 'Switches'));
+        if MeanVal ~= double(manualSwitch);
+            fprintf('At least one BPM has gain different from %d \n', manualSwitch)
+        end
+
+        tango_group_write_attribute2(GroupId, 'DDBufferSize', int32(KEMBufferSize));
+        MeanVal = mean(tango_group_read_attribute2(GroupId, 'DDBufferSize'));
+        if MeanVal ~= double(KEMBufferSize);
+            fprintf('At least one BPM has gain different from %d \n', KEMBufferSize)
+        end
+    case 'Injection'  % BPM setup for normal injection
+        tango_group_write_attribute2(GroupId, 'Switches', int16(autoSwitch));
+        MeanVal = mean(tango_group_read_attribute2(GroupId, 'Switches'));
+        if MeanVal ~= double(autoSwitch);
+            fprintf('At least one BPM has gain different from %d \n', autoSwitch)
+        end
+        pause(waitTime); % important to wait a while
+        tango_group_write_attribute2(GroupId, 'DDBufferSize', int32(normalBufferSize));
+        MeanVal = mean(tango_group_read_attribute2(GroupId, 'DDBufferSize'));
+        if MeanVal ~= double(normalBufferSize);
+            fprintf('At least one BPM has gain different from %d \n', normalBufferSize)
+        end
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+changes
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2.m	(revision 17)
@@ -0,0 +1,435 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.311  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -.1438063E+01*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   0.1793668E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -.5760102E+00*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -.1134870E+01*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   0.1821778E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -.1800474E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   0.2030671E+01*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -.4048428E+00*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -.1337932E+01*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   0.1878525E+01*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  2.281964*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -3.631550*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -3.158907*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.910700*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.092437*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.647260*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -2.428377*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.356279*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -2.928590*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.869324*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2_Lcalc.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2_Lcalc.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2_Lcalc.m	(revision 17)
@@ -0,0 +1,437 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.36520, 'DriftPass');
+SD3 = drift('SD3',   0.1786, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.175200, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.4152000, 'DriftPass');
+SD8 = drift('SD8',  0.175200, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.445200, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.3803000, 'DriftPass');
+SD9a = drift('SD9a',  0.19950	, 'DriftPass');
+SD10a = drift('SD10a', 0.167600	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.2465400, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.199600, 'DriftPass');
+SD93 = drift('SD93',  0.246600	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.427200, 'DriftPass');
+
+SDB1 = drift('SDB1',  0.286300, 'DriftPass');
+SDB2 = drift('SDB2', 0.16350, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.116500 ,'DriftPass');
+SDB7 = drift('SDB7', 0.16360 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.116500 ,'DriftPass');
+SDB10= drift('SDB10',0.16360 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.11650, 'DriftPass');
+SDB14= drift('SDB14',0.16350, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.11660 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.237200 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' ,0.237200 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.23720  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.23720 , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.23720  , 'DriftPass');
+SDC20= drift('SDC20',0.237200  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.286200  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.184800E+00 * 2 ;
+LQL = 0.251400E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -.1263712E+01*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1659220E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.5020591E+00*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -.9976440E+00*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1591820E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -.1576059E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.1877264E+01*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -.3570547E+00*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1172185E+01*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1640029E+01*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  2.281964*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -3.631550*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -3.158907*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.910700*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.092437*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.647260*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -2.428377*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.356279*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -2.928590*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.869324*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2_Lmag.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2_Lmag.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by1_pascale_ksi2_Lmag.m	(revision 17)
@@ -0,0 +1,437 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.37305, 'DriftPass');
+SD3 = drift('SD3',   0.184150, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.18305, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.42305, 'DriftPass');
+SD8 = drift('SD8',  0.18305, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.453050, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38815, 'DriftPass');
+SD9a = drift('SD9a',  0.20735	, 'DriftPass');
+SD10a = drift('SD10a', 0.17545	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.25439, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.20745, 'DriftPass');
+SD93 = drift('SD93',  0.25445	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.43505, 'DriftPass');
+
+SDB1 = drift('SDB1',  0.29415, 'DriftPass');
+SDB2 = drift('SDB2', 0.169050, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.122050 ,'DriftPass');
+SDB7 = drift('SDB7', 0.169150 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.12205 ,'DriftPass');
+SDB10= drift('SDB10',0.169150 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.122050, 'DriftPass');
+SDB14= drift('SDB14',0.169050, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.12215 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.24505 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.24505 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.24505  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.24505  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24505  , 'DriftPass');
+SDC20= drift('SDC20',0.24505  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29405  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.1769500E+00 * 2 ;
+LQL = 0.2458500E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -.1314331E+01*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1691719E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.5237922E+00*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -.1036652E+01*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1657556E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -.1641010E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.1914204E+01*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -.3708910E+00*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1219500E+01*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1708234E+01*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  2.281964*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -3.631550*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -3.158907*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.910700*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.092437*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.647260*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -2.428377*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.356279*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -2.928590*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.869324*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by20_maher.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by20_maher.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/alpha1by20_maher.m	(revision 17)
@@ -0,0 +1,419 @@
+function varargout = alpha1by20_maher
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifi?es
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD1c1 = drift('SD1e',  0.8410, 'DriftPass');
+SD1c2 = drift('SD1e',  2.161, 'DriftPass');
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC21',0.311  , 'DriftPass');
+SDC23= drift('SDC21',4.310  , 'DriftPass');
+SDC24= drift('SDC21',1.379  , 'DriftPass');
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+Q1   =  quadrupole('Q1' , 0.32,   -0.8235568, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,    1.603015, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,   -1.014789, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,   -1.144827, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,    1.889275, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,   -1.593784, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,    1.170552, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,    0.9353995, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,   -1.473743, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,    2.032442, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticites nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv, -0.6364920*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -3.861550*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -2.319760*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.515790*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -2.00000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.188280*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.609380*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  4.40000*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR SD1c2     K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23 FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/alphaby200_from_nominal_optics.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/alphaby200_from_nominal_optics.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/alphaby200_from_nominal_optics.m	(revision 17)
@@ -0,0 +1,440 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% S11 added january 2011
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-5e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -1.396813*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   1.631540*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.4815715*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -1.334138*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   1.739316*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.9372326*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   2.181532*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -1.590172*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -1.489289*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   1.711034*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.4860*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -4.0105*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -2.5483*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.8548*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.4139*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.3880*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -5.5000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.5798*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -1.6524*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  1.2219*F, 'StrMPoleSymplectic4Pass');
+S11  =  sextupole('S11' , Finv,  1.4860*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green.m	(revision 17)
@@ -0,0 +1,391 @@
+function chasman_green
+%chasman_green - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Pascale Brunelle
+% 28/09/06, SOLEIL
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiÃ©es
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,  -0.1231528E+01 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   0.173907E+01 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.6470264E+00 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -0.1424137E+01 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,  0.1852697E+01 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -0.1087008E+01 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,  0.223549E+01 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -0.1674874E+01 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -0.1740781E+01 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,  0.1922607E+01 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII 
+%avec dÃ©fauts de focalisation des dipÃŽles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.180134e+1*F, 'StrMPoleSymplectic4Pass');
+S11 =  sextupole('S11' , Finv,  0.180134e+1*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.397457e+1*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.142537e+1*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.2734511e+1*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.388713e+1*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv, 0.312374e+1*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.500317e+1*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv, 0.413105e+1*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.2545432e+1*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv, 0.1493388e+1*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_old.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_old.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_old.m	(revision 17)
@@ -0,0 +1,390 @@
+function chasman_green
+%chasman_green - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Pascale Brunelle
+% 09/05/06, SOLEIL
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; modeldi
+No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiï¿œes
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crï¿œï¿œes
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dï¿œfauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,  -0.1208383E+01 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   0.1733100E+01 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.6815000E+00 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -0.1410059E+01 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,  0.1852924E+01 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -0.1110955E+01 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,  0.2236893E+01 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -0.1666879E+01 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -0.1729959E+01 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,  0.1923157E+01 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitï¿œs nulles dans TracyII 
+%avec dï¿œfauts de focalisation des dipï¿œles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.1839305e+1*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.3764840e+1*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.2292670e+1*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.3706230e+1*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.4649209e+1*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv, 0.4300591e+1*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.4641336e+1*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv, 0.3730192e+1*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.1947013e+1*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv, 0.1170339e+1*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_opt_28-09-06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_opt_28-09-06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_opt_28-09-06.m	(revision 17)
@@ -0,0 +1,389 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiées
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD créées
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,  -0.1231528E+01 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   0.173907E+01 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.6470264E+00 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -0.1424137E+01 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,  0.1852697E+01 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -0.1087008E+01 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,  0.223549E+01 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -0.1674874E+01 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -0.1740781E+01 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,  0.1922607E+01 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.180134e+1*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.397457e+1*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.142537e+1*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.2734511e+1*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.388713e+1*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv, 0.312374e+1*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.500317e+1*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv, 0.413105e+1*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.2545432e+1*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv, 0.1493388e+1*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_pascale_09-05-06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_pascale_09-05-06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_pascale_09-05-06.m	(revision 17)
@@ -0,0 +1,389 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiées
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD créées
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,  -0.1208383E+01 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   0.1733100E+01 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.6815000E+00 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -0.1410059E+01 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,  0.1852924E+01 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -0.1110955E+01 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,  0.2236893E+01 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -0.1666879E+01 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -0.1729959E+01 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,  0.1923157E+01 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.1839305e+1*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.3764840e+1*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.2292670e+1*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.3706230e+1*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.4649209e+1*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv, 0.4300591e+1*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.4641336e+1*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv, 0.3730192e+1*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.1947013e+1*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv, 0.1170339e+1*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_split.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_split.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/chasman_green_split.m	(revision 17)
@@ -0,0 +1,399 @@
+function chasman_green_split
+%chasman_green - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Pascale Brunelle
+% 28/09/06, SOLEIL
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiÃ©es
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1s   =  quadrupole('Q1' , 0.32/2,  -0.1231528E+01 , 'QuadLinearPass');
+Q2s   =  quadrupole('Q2' , 0.46/2,   0.173907E+01 , 'QuadLinearPass');
+Q3s   =  quadrupole('Q3' , 0.32/2,  -0.6470264E+00 , 'QuadLinearPass');
+Q4s   =  quadrupole('Q4' , 0.32/2,  -0.1424137E+01 , 'QuadLinearPass');
+Q5s   =  quadrupole('Q5' , 0.32/2,  0.1852697E+01 , 'QuadLinearPass');
+Q6s   =  quadrupole('Q6' , 0.32/2,  -0.1087008E+01 , 'QuadLinearPass');
+Q7s   =  quadrupole('Q7' , 0.46/2,  0.223549E+01 , 'QuadLinearPass');
+Q8s   =  quadrupole('Q8' , 0.32/2,  -0.1674874E+01 , 'QuadLinearPass');
+Q9s   =  quadrupole('Q9' , 0.32/2,  -0.1740781E+01 , 'QuadLinearPass');
+Q10s  =  quadrupole('Q10', 0.32/2,  0.1922607E+01 , 'QuadLinearPass');
+
+Q1  = [Q1s Q1s];
+Q2  = [Q2s Q2s];
+Q3  = [Q3s Q3s];
+Q4  = [Q4s Q4s];
+Q5  = [Q5s Q5s];
+Q6  = [Q6s Q6s];
+Q7  = [Q7s Q7s];
+Q8  = [Q8s Q8s];
+Q9  = [Q9s Q9s];
+Q10 = [Q10s Q10s];
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII 
+%avec dÃ©fauts de focalisation des dipÃŽles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.180134e+1*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.397457e+1*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.142537e+1*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.2734511e+1*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.388713e+1*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv, 0.312374e+1*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.500317e+1*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv, 0.413105e+1*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.2545432e+1*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv, 0.1493388e+1*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/html/solamor2lin.html
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/html/solamor2lin.html	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/html/solamor2lin.html	(revision 17)
@@ -0,0 +1,399 @@
+<html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+   
+      <!--
+This HTML is auto-generated from an M-file.
+To make changes, update the M-file and republish this document.
+      -->
+      <title>solamor2lin</title>
+      <meta name="generator" content="MATLAB 7.0.0.14092 (R14) Prerelease">
+      <meta name="date" content="2004-06-13">
+      <meta name="m-file" content="solamor2lin">
+      <meta name="title" content="">
+      <meta name="description" content=""><style>
+body {
+  background-color: white;
+}
+h1 {
+  color: #990000; 
+  font-size: x-large;
+}
+h2 {
+  color: #990000;
+  font-size: medium;
+}
+p.footer {
+  text-align: right;
+  font-size: xx-small;
+  font-weight: lighter;
+  font-style: italic;
+  color: gray;
+}
+
+pre.codeinput {
+  margin-left: 30px;
+}
+
+span.keyword {color: #0000FF}
+span.comment {color: #228B22}
+span.string {color: #A020F0}
+span.untermstring {color: #B20000}
+span.syscmd {color: #B28C00}
+
+pre.showbuttons {
+  margin-left: 30px;
+  border: solid black 2px;
+  padding: 4px;
+  background: #EBEFF3;
+}
+
+pre.codeoutput {
+  color: gray;
+  font-style: italic;
+}
+pre.error {
+  color: red;
+}
+    </style></head>
+   <body>
+      <h2>Contents</h2>
+      <ul>
+         <li><a href="#2">Cavity</a></li>
+         <li><a href="#3">Marker and apertures</a></li>
+         <li><a href="#4">Superperiods</a></li>
+         <li><a href="#5">compute total length and RF frequency</a></li>
+         <li><a href="#6">Compute initial tunes before loading errors</a></li>
+      </ul><pre class="codeinput"><span class="keyword">function</span> soleilamor2lin
+<span class="comment">%solamor2 - soleil lattice w/o ID</span>
+<span class="comment">% Lattice definition file</span>
+<span class="comment">% Lattice for SOLEIL: perfect lattice no magnetic errors</span>
+<span class="comment">% Compiled by Laurent Nadolski and Amor Nadji</span>
+<span class="comment">% 09/01/02, ALS</span>
+<span class="comment">% Controlroom : set linearpass for quad (closed orbit)</span>
+
+<span class="keyword">global</span> FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; <span class="comment">% Ring energy</span>
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp([<span class="string">'** Loading SOLEIL magnet lattice '</span>, mfilename]);
+
+L0 = 354.0967211999983;      <span class="comment">% design length [m]</span>
+C0 = 2.99792458e8;           <span class="comment">% speed of light [m/s]</span>
+HarmNumber = 416;
+</pre><pre class="codeoutput">Error: Function definitions are not permitted at the prompt or in scripts.</pre><h2>Cavity<a name="2"></a></h2><pre>            NAME   L     U[V]       f[Hz]          h        method</pre><pre class="codeinput">CAV = rfcavity(<span class="string">'RF'</span> , 0 , 4.0e+6 , HarmNumber*C0/L0, <span class="keyword">...</span>
+               HarmNumber ,<span class="string">'ThinCavityPass'</span>);
+</pre><h2>Marker and apertures<a name="3"></a></h2><pre class="codeinput">   SECT1  =  marker(<span class="string">'SECT1'</span>, <span class="string">'IdentityPass'</span>);
+   SECT2  =  marker(<span class="string">'SECT2'</span>, <span class="string">'IdentityPass'</span>);
+   SECT3  =  marker(<span class="string">'SECT3'</span>, <span class="string">'IdentityPass'</span>);
+   SECT4  =  marker(<span class="string">'SECT4'</span>, <span class="string">'IdentityPass'</span>);
+   DEBUT  =  marker(<span class="string">'DEBUT'</span>, <span class="string">'IdentityPass'</span>);
+   FIN    =  marker(<span class="string">'FIN'</span>, <span class="string">'IdentityPass'</span>);
+
+   INJ = aperture(<span class="string">'INJ'</span>,[-0.035 0.035 -0.0125 0.0125],<span class="string">'AperturePass'</span>);
+
+<span class="comment">% BPM</span>
+   BPM    =  marker(<span class="string">'BPM'</span>, <span class="string">'IdentityPass'</span>);
+
+<span class="comment">% DRIFT SPACES</span>
+   SD13= drift(<span class="string">'SD13'</span>, 3.48255, <span class="string">'DriftPass'</span>);
+   SD1 = drift(<span class="string">'SD1'</span>,  6.00000, <span class="string">'DriftPass'</span>);
+   SD2 = drift(<span class="string">'SD2'</span>,  0.39000, <span class="string">'DriftPass'</span>);
+   SD3 = drift(<span class="string">'SD3'</span>,  0.20000, <span class="string">'DriftPass'</span>);
+   SD4 = drift(<span class="string">'SD4'</span>,  0.39000, <span class="string">'DriftPass'</span>);
+   SD14= drift(<span class="string">'SD14'</span>, 0.59000, <span class="string">'DriftPass'</span>);
+   SD5 = drift(<span class="string">'SD5'</span>,  0.20000, <span class="string">'DriftPass'</span>);
+   SD6 = drift(<span class="string">'SD6'</span>,  0.79000, <span class="string">'DriftPass'</span>);
+   SD7 = drift(<span class="string">'SD7'</span>,  0.44000, <span class="string">'DriftPass'</span>);
+   SD8 = drift(<span class="string">'SD8'</span>,  0.20000, <span class="string">'DriftPass'</span>);
+   SD9 = drift(<span class="string">'SD9'</span>,  0.47634, <span class="string">'DriftPass'</span>);
+   SD10= drift(<span class="string">'SD10'</span>, 0.47000, <span class="string">'DriftPass'</span>);
+   SD12= drift(<span class="string">'SD12'</span>, 0.47000, <span class="string">'DriftPass'</span>);
+   SDAC= drift(<span class="string">'SDAC'</span>, 1.90468, <span class="string">'DriftPass'</span>);
+
+<span class="comment">% QUADRUPOLES</span>
+Q1   =  quadrupole(<span class="string">'Q1'</span> , 0.32,  -1.18610 , <span class="string">'QuadLinearPass'</span>);
+Q2   =  quadrupole(<span class="string">'Q2'</span> , 0.46,   1.71132 , <span class="string">'QuadLinearPass'</span>);
+Q3   =  quadrupole(<span class="string">'Q3'</span> , 0.32,  -0.71729 , <span class="string">'QuadLinearPass'</span>);
+Q4   =  quadrupole(<span class="string">'Q4'</span> , 0.32,  -1.39423 , <span class="string">'QuadLinearPass'</span>);
+Q5   =  quadrupole(<span class="string">'Q5'</span> , 0.32,   1.89119 , <span class="string">'QuadLinearPass'</span>);
+Q6   =  quadrupole(<span class="string">'Q6'</span> , 0.32,  -1.11831 , <span class="string">'QuadLinearPass'</span>);
+Q7   =  quadrupole(<span class="string">'Q7'</span> , 0.46,   2.21705 , <span class="string">'QuadLinearPass'</span>);
+Q8   =  quadrupole(<span class="string">'Q8'</span> , 0.32,  -1.70205 , <span class="string">'QuadLinearPass'</span>);
+Q9   =  quadrupole(<span class="string">'Q9'</span> , 0.32,  -1.68903 , <span class="string">'QuadLinearPass'</span>);
+Q10  =  quadrupole(<span class="string">'Q10'</span>, 0.32,   1.96186 , <span class="string">'QuadLinearPass'</span>);
+
+
+<span class="comment">% SEXTUPOLES for xix=0.4 and xi_y=1.4</span>
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole(<span class="string">'S1'</span> , Finv,  1.71919*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S2  =  sextupole(<span class="string">'S2'</span> , Finv, -4.10456*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S3  =  sextupole(<span class="string">'S3'</span> , Finv, -2.16938*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S4  =  sextupole(<span class="string">'S4'</span> , Finv,  3.60465*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S5  =  sextupole(<span class="string">'S5'</span> , Finv, -3.69821*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S6  =  sextupole(<span class="string">'S6'</span> , Finv,  3.24667*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S7  =  sextupole(<span class="string">'S7'</span> , Finv, -5.00352*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S8  =  sextupole(<span class="string">'S8'</span> , Finv,  4.19372*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S9  =  sextupole(<span class="string">'S9'</span> , Finv, -2.97623*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+S10 =  sextupole(<span class="string">'S10'</span>, Finv,  1.86108*F, <span class="string">'StrMPoleSymplectic4Pass'</span>);
+
+
+<span class="comment">% Slow feedback correctors</span>
+<span class="comment">% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');</span>
+<span class="comment">% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');</span>
+<span class="comment">% COR = [HCOR VCOR];</span>
+COR =  corrector(<span class="string">'COR'</span>,0.0,[0 0],<span class="string">'CorrectorPass'</span>);
+
+<span class="comment">% Fast feedback correctors</span>
+<span class="comment">% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');</span>
+<span class="comment">% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');</span>
+<span class="comment">% FCOR = [FHCOR,FVCOR];</span>
+FCOR =  corrector(<span class="string">'FCOR'</span>,0.0,[0 0],<span class="string">'CorrectorPass'</span>);
+
+
+SX1   = [S1  COR];
+SX2   = [S2  COR];
+SX3   = [S3  COR];
+SX4   = [S4  COR];
+SX5   = [S5  COR];
+SX6   = [S6  COR];
+SX7   = [S7  COR];
+SX8   = [S8  COR];
+SX9   = [S9  COR];
+SX10  = [S10 COR];
+
+<span class="comment">% DIPOLES</span>
+BEND  =  rbend(<span class="string">'BEND'</span>  , 1.05243,  <span class="keyword">...</span>
+            0.19635, 0.098175, 0.098175, 0.0,<span class="string">'BendLinearPass'</span>);
+
+<span class="comment">% Begin Lattice</span>
+</pre><h2>Superperiods<a name="4"></a></h2><pre class="codeinput">SUP  = [  <span class="keyword">...</span>
+ SD1     FCOR   BPM     Q1     SD2    SX1   SD3     Q2  <span class="keyword">...</span>
+ BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  <span class="keyword">...</span>
+ SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  <span class="keyword">...</span>
+ SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  <span class="keyword">...</span>
+ Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          <span class="keyword">...</span>
+ SD2     Q8     BPM     FCOR   SD13   SD13  FCOR    BPM  <span class="keyword">...</span>
+ Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          <span class="keyword">...</span>
+ SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  <span class="keyword">...</span>
+ SD9     Q10    SD8     SX10   BPM    FCOR  SDAC    SDAC <span class="keyword">...</span>
+ FCOR    BPM    SX10    SD8    Q10    SD9   BPM     SX9  <span class="keyword">...</span>
+ SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       <span class="keyword">...</span>
+ SD4     BPM    Q7      SD3    SX8    SD2   Q8      BPM     FCOR<span class="keyword">...</span>
+ SD13    SD13   FCOR    BPM    Q8     SD2   SX8      <span class="keyword">...</span>
+ SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND<span class="keyword">...</span>
+ SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 <span class="keyword">...</span>
+ BPM     FCOR   SDAC    SDAC   FCOR   BPM   SX10    <span class="keyword">...</span>
+ SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  <span class="keyword">...</span>
+ BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  <span class="keyword">...</span>
+ SX8     SD2    Q8      BPM    FCOR   SD13  SD13    FCOR<span class="keyword">...</span>
+ BPM     Q8     SD2     SX6    SD3    Q7    BPM     SD4  <span class="keyword">...</span>
+ SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  <span class="keyword">...</span>
+ BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  <span class="keyword">...</span>
+ SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         <span class="keyword">...</span>
+ SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  <span class="keyword">...</span>
+ BPM     FCOR   SD1  ];
+
+
+<span class="comment">% ELIST = [DEBUT INJ SECT1 SUP SECT2 SUP SECT3 SUP SECT4 SUP CAV FIN];</span>
+ELIST = [DEBUT INJ SECT1 SUP SECT2 SUP SECT3 SUP SECT4 SUP FIN];
+
+buildlat(ELIST);
+</pre><h2>compute total length and RF frequency<a name="5"></a></h2><pre class="codeinput">L0_tot=0;
+<span class="keyword">for</span> i=1:length(THERING)
+   L0_tot=L0_tot+THERING{i}.Length;
+<span class="keyword">end</span>
+
+fprintf(<span class="string">'\nL0_tot=%f m (should be %f m) \nf_RF=%f Hz \n\n'</span>, L0_tot, <span class="keyword">...</span>
+    L0,HarmNumber*C0/L0_tot)
+</pre><h2>Compute initial tunes before loading errors<a name="6"></a></h2><pre class="codeinput">[InitialTunes, InitialChro] = tunechrom(THERING,0,[18.25, 10.2],<span class="string">'chrom'</span>,<span class="string">'coupling'</span>);
+
+<span class="comment">% fprintf('A bit false since radiation and cavity on\n');</span>
+fprintf(<span class="string">'Tunes before loading lattice errors: nu_x=%g, nu_z=%g\n'</span>, <span class="keyword">...</span>
+    InitialTunes(1),InitialTunes(2));
+fprintf(<span class="string">'Chroma before loading lattice errors: xi_x=%g, xi_z=%g\n'</span>, <span class="keyword">...</span>
+    InitialChro(1),InitialChro(2));
+
+evalin(<span class="string">'caller'</span>,<span class="string">'global THERING FAMLIST GLOBVAL'</span>);
+disp(<span class="string">'** Finished loading lattice in Accelerator Toolbox'</span>);
+</pre><p class="footer"><br></p>
+      <!--
+##### SOURCE BEGIN #####
+function soleilamor2lin
+%solamor2 - soleil lattice w/o ID 
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors 
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method       
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+               HarmNumber ,'ThinCavityPass');   
+
+%% Marker and apertures
+   SECT1  =  marker('SECT1', 'IdentityPass');
+   SECT2  =  marker('SECT2', 'IdentityPass');
+   SECT3  =  marker('SECT3', 'IdentityPass');
+   SECT4  =  marker('SECT4', 'IdentityPass');
+   DEBUT  =  marker('DEBUT', 'IdentityPass');
+   FIN    =  marker('FIN', 'IdentityPass');
+   
+   INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+% BPM   
+   BPM    =  marker('BPM', 'IdentityPass');
+
+% DRIFT SPACES
+   SD13= drift('SD13', 3.48255, 'DriftPass');
+   SD1 = drift('SD1',  6.00000, 'DriftPass');
+   SD2 = drift('SD2',  0.39000, 'DriftPass');
+   SD3 = drift('SD3',  0.20000, 'DriftPass');
+   SD4 = drift('SD4',  0.39000, 'DriftPass');
+   SD14= drift('SD14', 0.59000, 'DriftPass');
+   SD5 = drift('SD5',  0.20000, 'DriftPass');
+   SD6 = drift('SD6',  0.79000, 'DriftPass');
+   SD7 = drift('SD7',  0.44000, 'DriftPass');
+   SD8 = drift('SD8',  0.20000, 'DriftPass');
+   SD9 = drift('SD9',  0.47634, 'DriftPass');
+   SD10= drift('SD10', 0.47000, 'DriftPass');
+   SD12= drift('SD12', 0.47000, 'DriftPass');
+   SDAC= drift('SDAC', 1.90468, 'DriftPass');
+   
+% QUADRUPOLES 
+Q1   =  quadrupole('Q1' , 0.32,  -1.18610 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.71132 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.71729 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.39423 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.89119 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.11831 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.21705 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.70205 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.68903 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.96186 , 'QuadLinearPass');
+
+
+% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -2.97623*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.86108*F, 'StrMPoleSymplectic4Pass');
+
+
+% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR];
+SX2   = [S2  COR];
+SX3   = [S3  COR];
+SX4   = [S4  COR];
+SX5   = [S5  COR];
+SX6   = [S6  COR];
+SX7   = [S7  COR];
+SX8   = [S8  COR];
+SX9   = [S9  COR];
+SX10  = [S10 COR];
+
+% DIPOLES 
+BEND  =  rbend('BEND'  , 1.05243,  ...
+            0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+% Begin Lattice
+
+%%  Superperiods  
+
+SUP  = [  ... 
+ SD1     FCOR   BPM     Q1     SD2    SX1   SD3     Q2  ...
+ BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+ SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...   
+ SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+ Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+ SD2     Q8     BPM     FCOR   SD13   SD13  FCOR    BPM  ...  
+ Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+ SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+ SD9     Q10    SD8     SX10   BPM    FCOR  SDAC    SDAC ...  
+ FCOR    BPM    SX10    SD8    Q10    SD9   BPM     SX9  ...
+ SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+ SD4     BPM    Q7      SD3    SX8    SD2   Q8      BPM     FCOR...
+ SD13    SD13   FCOR    BPM    Q8     SD2   SX8      ...
+ SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+ SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+ BPM     FCOR   SDAC    SDAC   FCOR   BPM   SX10    ...
+ SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+ BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+ SX8     SD2    Q8      BPM    FCOR   SD13  SD13    FCOR...
+ BPM     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...   
+ SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+ BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+ SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+ SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+ BPM     FCOR   SD1  ];
+
+ 
+% ELIST = [DEBUT INJ SECT1 SUP SECT2 SUP SECT3 SUP SECT4 SUP CAV FIN];
+ELIST = [DEBUT INJ SECT1 SUP SECT2 SUP SECT3 SUP SECT4 SUP FIN];
+
+buildlat(ELIST);
+
+%% compute total length and RF frequency
+
+L0_tot=0;
+for i=1:length(THERING)
+   L0_tot=L0_tot+THERING{i}.Length;
+end
+
+fprintf('\nL0_tot=%f m (should be %f m) \nf_RF=%f Hz \n\n', L0_tot, ...
+    L0,HarmNumber*C0/L0_tot)
+
+%% Compute initial tunes before loading errors
+[InitialTunes, InitialChro] = tunechrom(THERING,0,[18.25, 10.2],'chrom','coupling');
+
+% fprintf('A bit false since radiation and cavity on\n');
+fprintf('Tunes before loading lattice errors: nu_x=%g, nu_z=%g\n', ...
+    InitialTunes(1),InitialTunes(2));
+fprintf('Chroma before loading lattice errors: xi_x=%g, xi_z=%g\n', ...
+    InitialChro(1),InitialChro(2));
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+disp('** Finished loading lattice in Accelerator Toolbox');
+
+##### SOURCE END #####
+-->
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_1990_3170_122BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_1990_3170_122BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_1990_3170_122BPM.m	(revision 17)
@@ -0,0 +1,538 @@
+function varargout = lat_1990_3170_122BPM 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC,  -0.1217526E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,   0.1674972E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC,  -0.5308946E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC,  -0.1268515E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,   0.1709814E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC,  -0.1090209E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,   0.2031731E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC,  -0.1417185E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC,  -0.147801E+01,  QPassMethod);
+Q10  =  quadrupole('Q10', LQC,   0.1744141E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC,  -1.0000000E-10, QPassMethod); % to be drawn by drawlattice
+Q12  =  quadrupole('Q12', LQL,   1.0000000E-10, QPassMethod);
+
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -4.10456*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -2.16938*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  3.60465*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -3.69821*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  3.24667*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -5.00352*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  4.34566*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.7247067*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.4110236*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  1.71919*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = 'StrMPoleSymplectic4Pass';
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass'); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% Chicane magnets for nanoscopium
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a  = drift('SD1a',  1.4125, 'DriftPass');
+SD1b  = drift('SD1b',  0.7575, 'DriftPass');
+SD2   = drift('SD2',  0.369900, 'DriftPass');
+SD3   = drift('SD3',   0.181900, 'DriftPass');
+SD5   = drift('SD5',  0.179900, 'DriftPass');
+SD6   = drift('SD6',  0.79000, 'DriftPass');
+SD7   = drift('SD7',  0.419900, 'DriftPass');
+SD8   = drift('SD8',  0.1799000, 'DriftPass');
+SD12  = drift('SD12', 0.44990, 'DriftPass');
+SD12u = drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d = drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d  = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a  = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a = drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e  = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91  = drift('SD91',  0.251240, 'DriftPass');
+SD41  = drift('SD41',  0.2521, 'DriftPass');
+SD42  = drift('SD42',  0.205, 'DriftPass');
+SD92  = drift('SD92',  0.204300, 'DriftPass');
+SD93  = drift('SD93',  0.251300	, 'DriftPass');
+SD43  = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1  = drift('SDB1', 0.29100, 'DriftPass');
+SDB2  = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3  = drift('SDB3', 0.252,  'DriftPass');
+SDB4  = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5  = drift('SDB5', 0.205  ,'DriftPass');
+SDB6  = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7  = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8  = drift('SDB8', 0.252 , 'DriftPass');
+SDB9  = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10 = drift('SDB10',0.166900 , 'DriftPass');
+SDB11 = drift('SDB11',0.2519, 'DriftPass');
+SDB12 = drift('SDB12',0.2049, 'DriftPass');
+SDB13 = drift('SDB13',0.119800, 'DriftPass');
+SDB14 = drift('SDB14',0.1668000, 'DriftPass');
+SDB15 = drift('SDB15',0.252 , 'DriftPass');
+SDB17 = drift('SDB17',0.205 , 'DriftPass');
+SDB18 = drift('SDB18',0.1199000 , 'DriftPass');
+SDC1  = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2  = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3  = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4  = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5  = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6  = drift('SDC6' , 0.079,   'DriftPass');
+SDC7  = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8  = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9  = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20 = drift('SDC20',0.241900  , 'DriftPass');
+SDC21 = drift('SDC21',0.079  , 'DriftPass');
+SDC22 = drift('SDC22',0.29090  , 'DriftPass');
+SDC24 = drift('SDC24',1.379  , 'DriftPass');
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU36 
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_1990_3170_HU64.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_1990_3170_HU64.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_1990_3170_HU64.m	(revision 17)
@@ -0,0 +1,543 @@
+function varargout = lat_1990_3170_HU64 
+% betax = 5 m dans les sections droites longues
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540968204000009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC,  -0.1217526E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,   0.1674972E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC,  -0.5308946E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC,  -0.1268515E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,   0.1709814E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC,  -0.1090209E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,   0.2031731E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC,  -0.1417185E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC,  -0.147801E+01,  QPassMethod);
+Q10  =  quadrupole('Q10', LQC,   0.1744141E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC,  -1.0000000E-10, QPassMethod); % to be drawn by drawlattice
+Q12  =  quadrupole('Q12', LQL,   1.0000000E-10, QPassMethod);
+
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -4.10456*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -2.16938*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  3.60465*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -3.69821*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  3.24667*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -5.00352*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  4.34566*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.7247067*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.4110236*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  1.71919*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = 'StrMPoleSymplectic4Pass';
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass'); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% HU64 FFWD correcteur
+HU64C=  corrector('HU64C',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C=[QTPX2 PX2];
+
+%% Chicane magnets for nanoscopium
+CHINANO =  corrector('CHINANO',0.0,[0 0],'CorrectorPass');
+CHID1   =  rbend2('NANO', 0.069,  0.50e-3, 0.00e-3, 0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHID2   =  rbend2('NANO', 0.069,  5.38e-3, 0.50e-3, 5.38e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHID3   =  rbend2('NANO', 0.138, 11.88e-3, 5.38e-3, 6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHID4   =  rbend2('NANO', 0.069,  6.00e-3, 6.00e-3, 0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+
+%HU64 SDM10
+SD13HU64a= drift('SD13HU64a', 1.849-0.680, 'DriftPass'); % Center SS - FFWD1
+SD13HU64b= drift('SD13HU64b', 2*0.680, 'DriftPass'); % FFWD1 - FFWD2
+SD13HU64c= drift('SD13HU64c', 3.141452-1.849-0.680 	, 'DriftPass'); % FFWD2 - BPM
+
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDC23a',0.363902  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a',0.203902  , 'DriftPass'); % FCOR [1 1] next SD
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.5017-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - BPM
+SDNANO10= drift('SDNANO10', 0.3072, 'DriftPass'); % BPM - CHI.3
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+SDL13u  = [SDNANO1 CHINANO SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANO SDNANO5 ...
+           BPM FCOR SDNANO6 Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR BPM  ...
+           SDNANO10 CHINANO SDNANO4 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANO SDNANO1];
+%SDL13 = [SDL13u Q12 SDL13d];
+SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+%SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM10 = [SD13a SD13HU64a HU64C SD13HU64b HU64C SD13HU64c]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170a.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170a.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170a.m	(revision 17)
@@ -0,0 +1,445 @@
+function varargout = lat_2020_3170a
+%lat_2020_3170a - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+%
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 2.8e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.311  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223461*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.691939*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.69431*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.22432*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170b.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170b.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170b.m	(revision 17)
@@ -0,0 +1,438 @@
+function varargout = lat_2020_3170b
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 3.2e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+Q1   =  quadrupole('Q1' , LQC,  -0.1073038E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1603455E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.6491600E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1259864E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1696440E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1007805E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.2085280E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -0.1551946E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -0.1513545E+01, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1756880E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.72413*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.22559*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+%% To be fixed on MAC
+if ismac
+    k = 0;
+    kmax = 10; % exception number
+    while k==0 | k < kmax | strcmp(exception.message, 'Library or function could not be loaded')
+        try
+            atsummary;
+            break; % if no exception break from the loop
+        catch exception
+            k = k + 1
+        end
+    end
+else
+    atsummary;
+end
+
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170bPX2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170bPX2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170bPX2.m	(revision 17)
@@ -0,0 +1,438 @@
+function varargout = lat_2020_3170PX2
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a',0.203902  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+Q1   =  quadrupole('Q1' , LQC,  -0.1073038E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1603455E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.6491600E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1259864E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1696440E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1007805E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.2085280E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -0.1551946E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -0.1513545E+01, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1756880E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.72413*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.22559*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C=[QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) = -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) = -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170c.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170c.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170c.m	(revision 17)
@@ -0,0 +1,469 @@
+function varargout = lat_2020_3170c
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% December 2009 - Add Nanonscopium
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC,  -0.1073038E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1603455E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.6491600E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1259864E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1696440E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1007805E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.2085280E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -0.1551946E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -0.1513545E+01, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1756880E+01, 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC,  -0.1845637E+01, 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,   0.1824045E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.72413*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.22559*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -1.267654;
+QP2N =  1.808054;
+QP3N = -1.075144;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170c0.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170c0.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170c0.m	(revision 17)
@@ -0,0 +1,469 @@
+function varargout = lat_2020_3170c0
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% December 2009 - Add Nanonscopium
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC,  -0.1073038E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1603455E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.6491600E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1259864E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1696440E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1007805E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.2085280E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -0.1551946E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -0.1513545E+01, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1756880E+01, 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC,  -0.1845637E+01*0, 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,   0.1824045E+01*0, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.72413*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.22559*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+%THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -1.267654;
+QP2N =  1.808054;
+QP3N = -1.075144;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170e.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170e.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170e.m	(revision 17)
@@ -0,0 +1,484 @@
+function varargout = lat_2020_3170e 
+% betax = 5 m dans les sections droites longues
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998+1e-12;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% ElementS in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+% Q1   =  quadrupole('Q1' , LQC,  -0.1073038E+01, 'QuadLinearPass');
+% Q2   =  quadrupole('Q2' , LQL,   0.1603455E+01, 'QuadLinearPass');
+% Q3   =  quadrupole('Q3' , LQC,  -0.6491600E+00, 'QuadLinearPass');
+% Q4   =  quadrupole('Q4' , LQC,  -0.1259864E+01, 'QuadLinearPass');
+% Q5   =  quadrupole('Q5' , LQC,   0.1696440E+01, 'QuadLinearPass');
+% Q6   =  quadrupole('Q6' , LQC,  -0.1007805E+01, 'QuadLinearPass');
+% Q7   =  quadrupole('Q7' , LQL,   0.2085280E+01, 'QuadLinearPass');
+% Q8   =  quadrupole('Q8' , LQC,  -0.1551946E+01, 'QuadLinearPass');
+% Q9   =  quadrupole('Q9' , LQC,  -0.1513545E+01, 'QuadLinearPass');
+% Q10  =  quadrupole('Q10', LQC,   0.1756880E+01, 'QuadLinearPass');
+
+Q1   =  quadrupole('Q1' , LQC,  -0.1217526E+01, 'StrMPoleSymplectic4Pass');
+Q2   =  quadrupole('Q2' , LQL,   0.1674972E+01, 'StrMPoleSymplectic4Pass');
+Q3   =  quadrupole('Q3' , LQC,  -0.5308946E+00, 'StrMPoleSymplectic4Pass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1268515E+01, 'StrMPoleSymplectic4Pass');
+Q5   =  quadrupole('Q5' , LQC,   0.1709814E+01, 'StrMPoleSymplectic4Pass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1090209E+01, 'StrMPoleSymplectic4Pass');
+Q7   =  quadrupole('Q7' , LQL,   0.2031731E+01, 'StrMPoleSymplectic4Pass');
+Q8   =  quadrupole('Q8' , LQC,  -0.1417185E+01, 'StrMPoleSymplectic4Pass');
+Q9   =  quadrupole('Q9' , LQC,  -0.147801E+01,  'StrMPoleSymplectic4Pass');
+Q10  =  quadrupole('Q10', LQC,   0.1744141E+01, 'StrMPoleSymplectic4Pass');
+
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.34566*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.7247067*5*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.4110236*5*F, 'StrMPoleSymplectic4Pass');
+S11 =  sextupole('S11', Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e]; 
+%SDL13  = [SD1e BPM BPM SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SD13a SD13a]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170f.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170f.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_2020_3170f.m	(revision 17)
@@ -0,0 +1,427 @@
+function varargout = lat_2020_3170b
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis aï¿œ jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 3.3e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+Q1   =  quadrupole('Q1' , LQC,  -0.1073038E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1603455E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.6491600E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1259864E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1696440E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1007805E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.2085280E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -0.1551946E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -0.1513545E+01, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1756880E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.34566*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.930424*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.188991*F, 'StrMPoleSymplectic4Pass');
+S11 =  sextupole('S11', Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+%S12 =  sextupole('S12', Finv,  0*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+%SX12  = [S12 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_betaz_1m_sdc.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_betaz_1m_sdc.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_betaz_1m_sdc.m	(revision 17)
@@ -0,0 +1,436 @@
+function varargout = lat_betaz_1m_sdc 
+% betax = 5 m dans les sections droites longues
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% Novembre 2010 - S11 added, QT0 removed
+
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998+1e-12;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+% Q1   =  quadrupole('Q1' , LQC,  -0.1073038E+01, 'QuadLinearPass');
+% Q2   =  quadrupole('Q2' , LQL,   0.1603455E+01, 'QuadLinearPass');
+% Q3   =  quadrupole('Q3' , LQC,  -0.6491600E+00, 'QuadLinearPass');
+% Q4   =  quadrupole('Q4' , LQC,  -0.1259864E+01, 'QuadLinearPass');
+% Q5   =  quadrupole('Q5' , LQC,   0.1696440E+01, 'QuadLinearPass');
+% Q6   =  quadrupole('Q6' , LQC,  -0.1007805E+01, 'QuadLinearPass');
+% Q7   =  quadrupole('Q7' , LQL,   0.2085280E+01, 'QuadLinearPass');
+% Q8   =  quadrupole('Q8' , LQC,  -0.1551946E+01, 'QuadLinearPass');
+% Q9   =  quadrupole('Q9' , LQC,  -0.1513545E+01, 'QuadLinearPass');
+% Q10  =  quadrupole('Q10', LQC,   0.1756880E+01, 'QuadLinearPass');
+
+Q1   =  quadrupole('Q1' , LQC, -1.074062, 'StrMPoleSymplectic4Pass');
+Q2   =  quadrupole('Q2' , LQL,  1.631254, 'StrMPoleSymplectic4Pass');
+Q3   =  quadrupole('Q3' , LQC, -0.6329217,'StrMPoleSymplectic4Pass');
+Q4   =  quadrupole('Q4' , LQC, -1.327183, 'StrMPoleSymplectic4Pass');
+Q5   =  quadrupole('Q5' , LQC,  1.731278, 'StrMPoleSymplectic4Pass');
+Q6   =  quadrupole('Q6' , LQC, -0.9851412,'StrMPoleSymplectic4Pass');
+Q7   =  quadrupole('Q7' , LQL,  1.904923, 'StrMPoleSymplectic4Pass');
+Q8   =  quadrupole('Q8' , LQC, -1.126787, 'StrMPoleSymplectic4Pass');
+Q9   =  quadrupole('Q9' , LQC, -1.667109, 'StrMPoleSymplectic4Pass');
+Q10  =  quadrupole('Q10', LQC,  1.790258, 'StrMPoleSymplectic4Pass');
+
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.2290969*5*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.5041105*5*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.4768036*5*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.6779787*5*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.8009117*5*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  0.7316421*5*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.9622986*5*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  0.9125886*5*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.5327715*5*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.3275514*5*F, 'StrMPoleSymplectic4Pass');
+S11 =  sextupole('S11', Finv,  0.2290969*5*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_betaz_1m_sdc_122BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_betaz_1m_sdc_122BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_betaz_1m_sdc_122BPM.m	(revision 17)
@@ -0,0 +1,540 @@
+function varargout = lat_1990_3170_122BPM 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -1.074062, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  1.631254, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6329217,QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -1.327183, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  1.731278, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.9851412, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  1.904923, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -1.126787, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -1.667109, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  1.790258, QPassMethod);
+Q11  =  quadrupole('Q11', LQC,  -1.0000000E-10, QPassMethod); % to be drawn by drawlattice
+Q12  =  quadrupole('Q12', LQL,   1.0000000E-10, QPassMethod);
+
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.2290969*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.5041105*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.4768036*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.6779787*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.8009117*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.7316421*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.9622986*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.9125886*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.5327715*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.3275514*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.2290969*5*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = 'StrMPoleSymplectic4Pass';
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass'); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% Chicane magnets for nanoscopium
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_like_nanoscopium_juin2011.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_like_nanoscopium_juin2011.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_like_nanoscopium_juin2011.m	(revision 17)
@@ -0,0 +1,436 @@
+function varargout = lat_like_nanoscopium_juin2011 
+% fonction beta comme Nanoscopium
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% Novembre 2010 - S11 added, QT0 removed
+
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998+1e-12;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+% Q1   =  quadrupole('Q1' , LQC,  -0.1073038E+01, 'QuadLinearPass');
+% Q2   =  quadrupole('Q2' , LQL,   0.1603455E+01, 'QuadLinearPass');
+% Q3   =  quadrupole('Q3' , LQC,  -0.6491600E+00, 'QuadLinearPass');
+% Q4   =  quadrupole('Q4' , LQC,  -0.1259864E+01, 'QuadLinearPass');
+% Q5   =  quadrupole('Q5' , LQC,   0.1696440E+01, 'QuadLinearPass');
+% Q6   =  quadrupole('Q6' , LQC,  -0.1007805E+01, 'QuadLinearPass');
+% Q7   =  quadrupole('Q7' , LQL,   0.2085280E+01, 'QuadLinearPass');
+% Q8   =  quadrupole('Q8' , LQC,  -0.1551946E+01, 'QuadLinearPass');
+% Q9   =  quadrupole('Q9' , LQC,  -0.1513545E+01, 'QuadLinearPass');
+% Q10  =  quadrupole('Q10', LQC,   0.1756880E+01, 'QuadLinearPass');
+
+Q1   =  quadrupole('Q1' , LQC, -1.26474,  'StrMPoleSymplectic4Pass');
+Q2   =  quadrupole('Q2' , LQL,  1.709483, 'StrMPoleSymplectic4Pass');
+Q3   =  quadrupole('Q3' , LQC, -0.6532966,'StrMPoleSymplectic4Pass');
+Q4   =  quadrupole('Q4' , LQC, -1.191092, 'StrMPoleSymplectic4Pass');
+Q5   =  quadrupole('Q5' , LQC,  1.70555,  'StrMPoleSymplectic4Pass');
+Q6   =  quadrupole('Q6' , LQC, -1.232844, 'StrMPoleSymplectic4Pass');
+Q7   =  quadrupole('Q7' , LQL,  2.05284,  'StrMPoleSymplectic4Pass');
+Q8   =  quadrupole('Q8' , LQC, -1.396382, 'StrMPoleSymplectic4Pass');
+Q9   =  quadrupole('Q9' , LQC, -1.334399, 'StrMPoleSymplectic4Pass');
+Q10  =  quadrupole('Q10', LQC,  1.727884, 'StrMPoleSymplectic4Pass');
+
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.343838*5*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.6283534*5*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.4724375*5*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.8128982*5*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.755816*5*F,  'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  0.6088501*5*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -1.030959*5*F,  'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  0.8083523*5*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.7188769*5*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.4461458*5*F, 'StrMPoleSymplectic4Pass');
+S11 =  sextupole('S11', Finv,  0.343838*5*F,  'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_122BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_122BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_122BPM.m	(revision 17)
@@ -0,0 +1,578 @@
+function varargout = lat_nano_122BPM 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC,  -0.1160155E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,   0.1685354E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC,  -0.6945082E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC,  -0.1208482E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,   0.1699720E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC,  -0.1175045E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2019414E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1328200E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1383039E+01, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1736806E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1700926E+01, QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1700188E+01, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.715*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.338*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.697*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.672*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.667*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.992*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.778*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.791*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.468*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  1.71919*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1267568E+01;
+QP2N =  0.1858845E+01;
+QP3N = -0.1143923E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM.m	(revision 17)
@@ -0,0 +1,578 @@
+function varargout = lat_nano_176_234_122BPM 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203007e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1163982E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684902E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6879196E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1210454E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699787E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1172340E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016438E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1324658E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1375764E+01, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1734734E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1693858E+01, QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1694249E+01, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.715*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.338*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.697*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.672*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.667*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.992*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.778*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.791*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.468*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.300*5*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1272138E+01;
+QP2N =  0.1860390E+01;
+QP3N = -0.1142906E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_QSD.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_QSD.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_QSD.m	(revision 17)
@@ -0,0 +1,579 @@
+function varargout = lat_nano_176_234_122BPM_QSD 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1163982E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684902E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6879196E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1210454E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699787E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1172340E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016438E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1324658E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1375764E+01, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1734734E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1693858E+01, QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1694249E+01, QPassMethod);
+QSD  =  quadrupole('QSD', 1e-12,  0.0E+01, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.715*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.338*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.697*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.672*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.667*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.992*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.778*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.791*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.468*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.300*5*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+SDL01d = [QSD SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d K4 SD1d];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream QSD HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e QSD SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 QSD SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a QSD CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a QSD SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a QSD SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a QSD SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a QSD SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a QSD SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a QSD SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C QSD CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a QSD SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a QSD SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a QSD SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a QSD SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 QSD SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 QSD SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 QSD SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 QSD SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 QSD SDAC1];% PX1 U20
+SDC11 = [SDAC1 QSD SDAC1];% SWING U20
+SDC14 = [SDAC1 QSD SDAC1];% SIXS U20
+SDC15 = [SDAC1 QSD SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1272138E+01;
+QP2N =  0.1860390E+01;
+QP3N = -0.1142906E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v0.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v0.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v0.m	(revision 17)
@@ -0,0 +1,599 @@
+function varargout = lat_nano_176_234_122BPM_tempo_sym
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203007e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+PUMA   =  marker('PUMA', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1163982E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684902E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6879196E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1210454E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699787E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1172340E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016438E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1324658E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1375764E+01, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1734734E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1693858E+01, QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1694249E+01, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.715*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.338*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.697*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.672*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.667*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.992*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.778*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.791*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.468*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.300*5*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% TEMPO Chicane
+CHITEMPO =  corrector('CHITEMPO',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% TEMPO straight section
+SDTEMPO1 = drift('SDTEMPO1', 0.53455, 'DriftPass');
+SDTEMPO2 = drift('SDTEMPO2', 0.30000, 'DriftPass');
+SDTEMPO3 = drift('SDTEMPO3', 1.01600, 'DriftPass');
+%SDTEMPO4 = drift('SDTEMPO4', 1.74900-9.8e-5, 'DriftPass'); %Length of HU44 or HU80
+SDTEMPO4 = drift('SDTEMPO4', 1.74900-9.8e-5-0.30000, 'DriftPass'); %Length of HU44 or HU80 increase space between chicane
+SDTEMPO5 = drift('SDTEMPO5', 0.10000, 'DriftPass');
+SDTEMPO6 = drift('SDTEMPO6', 0.30000, 'DriftPass');
+SDTEMPO7 = drift('SDTEMPO7', 0.53455, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a PUMA SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+%SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+% asymetric
+SDM08 = [SDTEMPO1 CHITEMPO SDTEMPO2 CHITEMPO SDTEMPO3 SDTEMPO4 SDTEMPO4 ...
+    SDTEMPO5 CHITEMPO SDTEMPO6 CHITEMPO SDTEMPO7]; % TEMPO HU80+HU44 + chicane
+% symetric
+SDM08 = [SDTEMPO1 CHITEMPO SDTEMPO2 SDTEMPO2 CHITEMPO SDTEMPO3 SDTEMPO4 SDTEMPO4 ...
+    SDTEMPO5 CHITEMPO SDTEMPO6 SDTEMPO6 CHITEMPO SDTEMPO7]; % TEMPO HU80+HU44 + chicane
+
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1272138E+01;
+QP2N =  0.1860390E+01;
+QP3N = -0.1142906E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v1.m	(revision 17)
@@ -0,0 +1,593 @@
+function varargout = lat_nano_176_234_122BPM_tempo_v1 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203007e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+PUMA   =  marker('PUMA', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1163982E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684902E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6879196E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1210454E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699787E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1172340E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016438E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1324658E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1375764E+01, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1734734E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1693858E+01, QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1694249E+01, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.715*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.338*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.697*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.672*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.667*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.992*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.778*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.791*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.468*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.300*5*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% TEMPO Chicane
+CHITEMPO =  corrector('CHITEMPO',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% TEMPO straight section
+SDTEMPO1 = drift('SDTEMPO1', 0.53455, 'DriftPass');
+SDTEMPO2 = drift('SDTEMPO2', 0.30000, 'DriftPass');
+SDTEMPO3 = drift('SDTEMPO3', 1.01600, 'DriftPass');
+SDTEMPO4 = drift('SDTEMPO4', 1.74900-9.8e-5, 'DriftPass');
+SDTEMPO5 = drift('SDTEMPO5', 0.10000, 'DriftPass');
+SDTEMPO6 = drift('SDTEMPO6', 0.30000, 'DriftPass');
+SDTEMPO7 = drift('SDTEMPO7', 0.53455, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a PUMA SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+%SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM08 = [SDTEMPO1 CHITEMPO SDTEMPO2 CHITEMPO SDTEMPO3 SDTEMPO4 SDTEMPO4 ...
+    SDTEMPO5 CHITEMPO SDTEMPO6 CHITEMPO SDTEMPO7]; % TEMPO HU80+HU44 + chicane
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1272138E+01;
+QP2N =  0.1860390E+01;
+QP3N = -0.1142906E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_tempo_v2.m	(revision 17)
@@ -0,0 +1,593 @@
+function varargout = lat_nano_176_234_122BPM_tempo_v2 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203007e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+PUMA   =  marker('PUMA', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1163982E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684902E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6879196E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1210454E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699787E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1172340E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016438E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1324658E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1375764E+01, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1734734E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1693858E+01, QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1694249E+01, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.715*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.338*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.697*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.672*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.667*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.992*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.778*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.791*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.468*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.300*5*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% TEMPO Chicane
+CHITEMPO =  corrector('CHITEMPO',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% TEMPO straight section
+SDTEMPO1 = drift('SDTEMPO1', 0.35000, 'DriftPass');
+SDTEMPO2 = drift('SDTEMPO2', 1.15055, 'DriftPass');
+SDTEMPO3 = drift('SDTEMPO3', 0.35000, 'DriftPass');
+SDTEMPO4 = drift('SDTEMPO4', 1.74900-9.8e-5, 'DriftPass');
+SDTEMPO5 = drift('SDTEMPO5', 0.10000, 'DriftPass');
+SDTEMPO6 = drift('SDTEMPO6', 0.30000, 'DriftPass');
+SDTEMPO7 = drift('SDTEMPO7', 0.53455, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a PUMA SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+%SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM08 = [SDTEMPO1 CHITEMPO SDTEMPO2 CHITEMPO SDTEMPO3 SDTEMPO4 SDTEMPO4 ...
+    SDTEMPO5 CHITEMPO SDTEMPO6 CHITEMPO SDTEMPO7]; % TEMPO HU80+HU44 + chicane
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1272138E+01;
+QP2N =  0.1860390E+01;
+QP3N = -0.1142906E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_thickSextu.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_thickSextu.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_thickSextu.m	(revision 17)
@@ -0,0 +1,619 @@
+function varargout = lat_nano_176_234_122BPM_thickSextu 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970192202998e+02;% design length [m]
+C0 = 2.99792458e8;         % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+
+%% SCRAPER
+HSCRAP =  aperture('HSCRAP', [-0.035, 0.035, -0.05, 0.05],'AperturePass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+mSDC15 = aperture('mSDC15', [-0.030, 0.035, -0.05, 0.05],'AperturePass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'IdentityPass');
+K2 = corrector('K2',0.0,[0 0],'IdentityPass');
+K3 = corrector('K3',0.0,[0 0],'IdentityPass');
+K4 = corrector('K4',0.0,[0 0],'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1163982E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684902E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6879196E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1210454E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699787E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1172340E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016438E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1324658E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1375764E+01, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1734734E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1693858E+01, QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1694249E+01, QPassMethod);
+
+%% SEXTUPOLES 
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+SplitFlag = 1;
+if SplitFlag
+    Lsextu = .016/2;
+    Finv = 1/Lsextu/2;
+else
+    Lsextu = .016;
+    Finv = 1/Lsextu;
+end
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Lsextu, 1.500*Finv, SPassMethod); 
+%S1  =  sextupole('S1' , Lsextu,  1.5461*Finv, SPassMethod); %SDC 7 mai 2012
+S2  =  sextupole('S2' , Lsextu, -0.715*5*Finv, SPassMethod);
+S3  =  sextupole('S3' , Lsextu, -0.338*5*Finv, SPassMethod);
+S4  =  sextupole('S4' , Lsextu,  0.697*5*Finv, SPassMethod);
+S5  =  sextupole('S5' , Lsextu, -0.672*5*Finv, SPassMethod);
+S6  =  sextupole('S6' , Lsextu,  0.667*5*Finv, SPassMethod);
+S7  =  sextupole('S7' , Lsextu, -0.992*5*Finv, SPassMethod);
+S8  =  sextupole('S8' , Lsextu,  0.778*5*Finv, SPassMethod);
+S9  =  sextupole('S9' , Lsextu, -3.9550*Finv, SPassMethod);
+S10 =  sextupole('S10', Lsextu,  2.3400*Finv, SPassMethod);
+%S9  =  sextupole('S9' , Lsextu, -3.9214*Finv, SPassMethod); %SDC 7 mai 2012
+%S10 =  sextupole('S10', Lsextu,  2.3583*Finv, SPassMethod); %SDC 7 mai 2012
+S11 =  sextupole('S11', Lsextu,  1.500*Finv, SPassMethod);
+%S11 =  sextupole('S11', Lsextu,  1.202*Finv, SPassMethod); %SDC 7 mai 2012
+S12 =  sextupole('S12', Lsextu,  1.000E-10*Finv, SPassMethod); % to be drawn by drawlattice
+
+%S1  =  sextupole('S1' , Lsextu,  1.5461*Finv, SPassMethod); %SDC 7 mai 2012
+%S9  =  sextupole('S9' , Lsextu, -3.9214*Finv, SPassMethod); %SDC 7 mai 2012
+%S10 =  sextupole('S10', Lsextu,  2.3583*Finv, SPassMethod); %SDC 7 mai 2012
+%S11 =  sextupole('S11', Lsextu,  1.202*Finv, SPassMethod); %SDC 7 mai 2012
+
+Lsextu = .016/2;
+%% Skew quadrupoles
+SQPassMethod = 'StrMPoleSymplectic4Pass';
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2 =  skewquad('QTPX2', 1e-10, 0.0, SQPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+if SplitFlag
+    SX1   = [S1  COR  QT S1];
+    SX2   = [S2  COR  QT S2];
+    SX3   = [S3  COR  QT S3];
+    SX4   = [S4  COR  QT S4];
+    SX5   = [S5  COR  QT S5];
+    SX6   = [S6  COR  QT S6];
+    SX7   = [S7  COR  QT S7];
+    SX8   = [S8  COR  QT S8];
+    SX9   = [S9  COR  QT S9];
+    SX10  = [S10 COR  QT S10];
+    SX11  = [S11 COR  QT S11];
+    SX12  = [S12 COR  QT S12];
+else
+    SX1   = [ S1];
+    SX2   = [ S2];
+    SX3   = [ S3];
+    SX4   = [ S4];
+    SX5   = [ S5];
+    SX6   = [ S6];
+    SX7   = [ S7];
+    SX8   = [ S8];
+    SX9   = [ S9];
+    SX10  = [ S10];
+    SX11  = [S11];
+    SX12  = [S12];
+end
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+BEND1  =  rbend2('BEND', 1.05243*0.3/11.25, theta*0.3/11.25, thetae, 0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND2  =  rbend2('BEND', 1.05243*3.5/11.25, theta*3.5/11.25, 0, 0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND3  =  rbend2('BEND', 1.05243*3.65/11.25, theta*3.65/11.25, 0, 0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND4  =  rbend2('BEND', 1.05243*0.3/11.25, theta*0.3/11.25, 0, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND=[BEND1  BEND2 BEND3 BEND2 BEND4];
+
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900-Lsextu, 'DriftPass');
+SD3 = drift('SD3',   0.181900-Lsextu, 'DriftPass');
+SD5 = drift('SD5',  0.179900-Lsextu, 'DriftPass');
+SD6 = drift('SD6',  0.79000-Lsextu, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.179900-Lsextu, 'DriftPass');
+SD12= drift('SD12', 0.44990-Lsextu, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2-Lsextu, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521-Lsextu, 'DriftPass');
+SD42 = drift('SD42',  0.205-Lsextu, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051-Lsextu	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252-Lsextu,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776-Lsextu ,'DriftPass');
+SDB5 = drift('SDB5', 0.205-Lsextu  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252-Lsextu , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519-Lsextu, 'DriftPass');
+SDB12= drift('SDB12',0.2049-Lsextu, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252-Lsextu , 'DriftPass');
+SDB17= drift('SDB17',0.205-Lsextu , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358-Lsextu,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342-Lsextu ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358-Lsextu , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422-Lsextu , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-Lsextu, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-Lsextu, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [mSDC15 SDAC1  SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+%PER = [SDL05 SUP2];
+%ELIST = [repmat(PER,1,4), CAV];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+%% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3*0; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3*0; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3*0; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1272138E+01;
+QP2N =  0.1860390E+01;
+QP3N = -0.1142906E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_thickSextu2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_thickSextu2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_176_234_122BPM_thickSextu2.m	(revision 17)
@@ -0,0 +1,521 @@
+function varargout = lat_nano_176_234_122BPM_thickSextu 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970192202998e+02;% design length [m]
+C0 = 2.99792458e8;         % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'IdentityPass');
+K2 = corrector('K2',0.0,[0 0],'IdentityPass');
+K3 = corrector('K3',0.0,[0 0],'IdentityPass');
+K4 = corrector('K4',0.0,[0 0],'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'QuadLinearPass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1163982E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684902E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6879196E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1210454E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699787E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1172340E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016438E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1324658E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1375764E+01, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1734734E+01, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1693858E+01, QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1694249E+01, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+Lsextu = .016/2;
+Finv = 1/Lsextu;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Lsextu,  0.300*5*Finv, SPassMethod);
+S2  =  sextupole('S2' , Lsextu, -0.715*5*Finv, SPassMethod);
+S3  =  sextupole('S3' , Lsextu, -0.338*5*Finv, SPassMethod);
+S4  =  sextupole('S4' , Lsextu,  0.697*5*Finv, SPassMethod);
+S5  =  sextupole('S5' , Lsextu, -0.672*5*Finv, SPassMethod);
+S6  =  sextupole('S6' , Lsextu,  0.667*5*Finv, SPassMethod);
+S7  =  sextupole('S7' , Lsextu, -0.992*5*Finv, SPassMethod);
+S8  =  sextupole('S8' , Lsextu,  0.778*5*Finv, SPassMethod);
+S9  =  sextupole('S9' , Lsextu, -0.791*5*Finv, SPassMethod);
+S10 =  sextupole('S10', Lsextu,  0.468*5*Finv, SPassMethod);
+S11 =  sextupole('S11', Lsextu,  0.300*5*Finv, SPassMethod);
+S12 =  sextupole('S12', Lsextu,  1.000E-10*Finv*0, SPassMethod); % to be drawn by drawlattice
+
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1 S1];
+SX2   = [S2 S2];
+SX3   = [S3 S3];
+SX4   = [S4 S4];
+SX5   = [S5 S5];
+SX6   = [S6 S6];
+SX7   = [S7 S7];
+SX8   = [S8 S8];
+SX9   = [S9 S9];
+SX10  = [S10 S10];
+SX11  = [S11 S11];
+SX12  = [S12 S12];
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900-Lsextu, 'DriftPass');
+SD3 = drift('SD3',   0.181900-Lsextu, 'DriftPass');
+SD5 = drift('SD5',  0.179900-Lsextu, 'DriftPass');
+SD6 = drift('SD6',  0.79000-Lsextu, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.179900-Lsextu, 'DriftPass');
+SD12= drift('SD12', 0.44990-Lsextu, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2-Lsextu, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521-Lsextu, 'DriftPass');
+SD42 = drift('SD42',  0.205-Lsextu, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051-Lsextu	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252-Lsextu,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776-Lsextu ,'DriftPass');
+SDB5 = drift('SDB5', 0.205-Lsextu  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252-Lsextu , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519-Lsextu, 'DriftPass');
+SDB12= drift('SDB12',0.2049-Lsextu, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252-Lsextu , 'DriftPass');
+SDB17= drift('SDB17',0.205-Lsextu , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358-Lsextu,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342-Lsextu ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358-Lsextu , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422-Lsextu , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+PER = [SDL05 SUP2];
+ELIST = [repmat(PER,1,4), CAV];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+%ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+%THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+% THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+% THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+% THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+% THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1272138E+01;
+QP2N =  0.1860390E+01;
+QP3N = -0.1142906E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_17_25_122BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_17_25_122BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_17_25_122BPM.m	(revision 17)
@@ -0,0 +1,580 @@
+function varargout = lat_nano_17_25_122BPM 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1162513E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684635E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6900854E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1209553E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699387E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1173207E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016571E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1325158E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1377265E+01 , QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1735168E+01 , QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1695592E+01 , QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1695717E+01, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.715*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.338*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.697*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.672*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.667*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.992*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.778*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.791*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.468*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.300*5*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD12x= drift('SD12', 0.36566-LQC/2, 'DriftPass'); % upstream H-scraper external 
+SD12y= drift('SD12', 0.44990-(0.36566-LQC/2), 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12x HSCRAP SD12y   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1269903E+01;
+QP2N =  0.1859323E+01;
+QP3N = -0.1143006E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_17_25_122BPMtest.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_17_25_122BPMtest.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_nano_17_25_122BPMtest.m	(revision 17)
@@ -0,0 +1,583 @@
+function varargout = lat_nano_17_25_122BPMtest 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -0.1162513E+01, QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  0.1684635E+01, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6900854E+00, QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -0.1209553E+01, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  0.1699387E+01, QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -0.1173207E+01, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  0.2016571E+01, QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -0.1325158E+01, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -0.1377265E+01 , QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  0.1735168E+01 , QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -0.1695592E+01 , QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  0.1695717E+01, QPassMethod);
+
+QSD  =  quadrupole('QSD', 0,  0.0, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.715*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.338*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.697*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.672*5*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.667*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -0.992*5*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.778*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.791*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.468*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.300*5*F, SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+FCORt =  corrector('FCORt',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD12x= drift('SD12', 0.36566-LQC/2, 'DriftPass'); % upstream H-scraper external 
+SD12y= drift('SD12', 0.44990-(0.36566-LQC/2), 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [QSD FCORt SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [QSD SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream QSD HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e QSD SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a QSD CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a QSD SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a QSD SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a QSD SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a QSD SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a QSD SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a QSD SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 QSD SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a QSD SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a QSD SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a QSD SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a QSD SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12x HSCRAP SD12y   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+% set PX2 tuner chicane
+%THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+%THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+%THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+%% set NANOSCOPIUM tuner magnets
+THERING{ATIndexList.NANOC(1)}.KickAngle(1) =  -5.00e-6*0; % rad
+THERING{ATIndexList.NANOC(2)}.KickAngle(1) =   2.25e-6*0; % rad
+THERING{ATIndexList.NANOC(3)}.KickAngle(1) =  -1.25e-6*0; % rad
+THERING{ATIndexList.NANOC(4)}.KickAngle(1) =  -2.25e-6*0; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1269903E+01;
+QP2N =  0.1859323E+01;
+QP3N = -0.1143006E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_pseudo_nanoscopium_juin2011_122BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_pseudo_nanoscopium_juin2011_122BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_pseudo_nanoscopium_juin2011_122BPM.m	(revision 17)
@@ -0,0 +1,554 @@
+function varargout = lat_pseudo_nanoscopium_juin2011_122BPM 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+PXBPM    =  marker('PXBPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -1.26474,  QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  1.709483, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6532966,QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -1.191092, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  1.70555,  QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -1.232844, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  2.05284,  QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -1.396382, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -1.334399, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  1.727884, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -1E-10 , QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  1E-10, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  0.343838*5*F, SPassMethod);
+S2  =  sextupole('S2' , Finv, -0.6283534*5*F, SPassMethod);
+S3  =  sextupole('S3' , Finv, -0.4724375*5*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  0.8128982*5*F, SPassMethod);
+S5  =  sextupole('S5' , Finv, -0.755816*5*F,  SPassMethod);
+S6  =  sextupole('S6' , Finv,  0.6088501*5*F, SPassMethod);
+S7  =  sextupole('S7' , Finv, -1.030959*5*F,  SPassMethod);
+S8  =  sextupole('S8' , Finv,  0.8083523*5*F, SPassMethod);
+S9  =  sextupole('S9' , Finv, -0.7188769*5*F, SPassMethod);
+S10 =  sextupole('S10', Finv,  0.4461458*5*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  0.343838*5*F,  SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND1  =  rbend2('BEND', 1.05243/2, theta/2, thetae, thetas*0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND2  =  rbend2('BEND', 1.05243/2, theta/2, thetae*0, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+%BEND = [BEND1 BEND2];
+BEND1  =  rbend2('BEND', 1.05243/6, theta/6, thetae, thetas*0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND2  =  rbend2('BEND', 1.05243/3*2, theta/3*2, thetae*0, thetas*0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND3  =  rbend2('BEND', 1.05243/6, theta/6, thetae*0, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+%BEND = [BEND1 BEND2];
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream H-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream internal H-scraper
+SD12x= drift('SD12', 0.36566-LQC/2, 'DriftPass'); % upstream H-scraper external % 
+SD12y= drift('SD12', 0.44990-(0.36566-LQC/2), 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     PXBPM BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7    PXBPM BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     PXBPM BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7    PXBPM BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5   SD12x HSCRAP  SD12y   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_pseudo_nanoscopium_juin2011_122BPM_ThickSextu.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_pseudo_nanoscopium_juin2011_122BPM_ThickSextu.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_pseudo_nanoscopium_juin2011_122BPM_ThickSextu.m	(revision 17)
@@ -0,0 +1,580 @@
+function varargout = lat_pseudo_nanoscopium_juin2011_122BPM_ThickSextu 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970192202998e+02;% design length [m]
+C0 = 2.99792458e8;         % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+
+%% SCRAPER
+HSCRAP =  aperture('HSCRAP', [-0.035, 0.035, -0.05, 0.05],'AperturePass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+mSDC15 = aperture('mSDC15', [-0.025, 0.035, -0.05, 0.05],'AperturePass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'IdentityPass');
+K2 = corrector('K2',0.0,[0 0],'IdentityPass');
+K3 = corrector('K3',0.0,[0 0],'IdentityPass');
+K4 = corrector('K4',0.0,[0 0],'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+PXBPM    =  marker('PXBPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC, -1.26474,  QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,  1.709483, QPassMethod);
+Q3   =  quadrupole('Q3' , LQC, -0.6532966,QPassMethod);
+Q4   =  quadrupole('Q4' , LQC, -1.191092, QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,  1.70555,  QPassMethod);
+Q6   =  quadrupole('Q6' , LQC, -1.232844, QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,  2.05284,  QPassMethod);
+Q8   =  quadrupole('Q8' , LQC, -1.396382, QPassMethod);
+Q9   =  quadrupole('Q9' , LQC, -1.334399, QPassMethod);
+Q10  =  quadrupole('Q10', LQC,  1.727884, QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -1E-10 , QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  1E-10, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+SplitFlag = 0;
+if SplitFlag
+    Lsextu = .016/2;
+    Finv = 1/Lsextu/2;
+else
+    Lsextu = .016;
+    Finv = 1/Lsextu;
+end
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Lsextu,  0.343838*5*Finv, SPassMethod);
+S2  =  sextupole('S2' , Lsextu, -0.6283534*5*Finv, SPassMethod);
+S3  =  sextupole('S3' , Lsextu, -0.4724375*5*Finv, SPassMethod);
+S4  =  sextupole('S4' , Lsextu,  0.8128982*5*Finv, SPassMethod);
+S5  =  sextupole('S5' , Lsextu, -0.755816*5*Finv,  SPassMethod);
+S6  =  sextupole('S6' , Lsextu,  0.6088501*5*Finv, SPassMethod);
+S7  =  sextupole('S7' , Lsextu, -1.030959*5*Finv,  SPassMethod);
+S8  =  sextupole('S8' , Lsextu,  0.8083523*5*Finv, SPassMethod);
+S9  =  sextupole('S9' , Lsextu, -0.7188769*5*Finv, SPassMethod);
+S10 =  sextupole('S10', Lsextu,  0.4461458*5*Finv, SPassMethod);
+S11 =  sextupole('S11', Lsextu,  0.343838*5*Finv,  SPassMethod);
+S12 =  sextupole('S12', Lsextu,  1.000E-10*Finv, SPassMethod); % to be drawn by drawlattice
+
+Lsextu = .016/2;
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+if SplitFlag
+    SX1   = [S1  COR  QT S1];
+    SX2   = [S2  COR  QT S2];
+    SX3   = [S3  COR  QT S3];
+    SX4   = [S4  COR  QT S4];
+    SX5   = [S5  COR  QT S5];
+    SX6   = [S6  COR  QT S6];
+    SX7   = [S7  COR  QT S7];
+    SX8   = [S8  COR  QT S8];
+    SX9   = [S9  COR  QT S9];
+    SX10  = [S10 COR  QT S10];
+    SX11  = [S11 COR  QT S11];
+    SX12  = [S12 COR  QT S12];
+else
+    SX1   = [ S1];
+    SX2   = [ S2];
+    SX3   = [ S3];
+    SX4   = [ S4];
+    SX5   = [ S5];
+    SX6   = [ S6];
+    SX7   = [ S7];
+    SX8   = [ S8];
+    SX9   = [ S9];
+    SX10  = [ S10];
+    SX11  = [S11];
+    SX12  = [S12];
+end
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND1  =  rbend2('BEND', 1.05243/2, theta/2, thetae, thetas*0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND2  =  rbend2('BEND', 1.05243/2, theta/2, thetae*0, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+%BEND = [BEND1 BEND2];
+BEND1  =  rbend2('BEND', 1.05243/6, theta/6, thetae, thetas*0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND2  =  rbend2('BEND', 1.05243/3*2, theta/3*2, thetae*0, thetas*0, K,fullgap,'BndMPoleSymplectic4Pass');
+BEND3  =  rbend2('BEND', 1.05243/6, theta/6, thetae*0, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+%BEND = [BEND1 BEND2];
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+
+%% DRIFT SPACES
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900-Lsextu, 'DriftPass');
+SD3 = drift('SD3',   0.181900-Lsextu, 'DriftPass');
+SD5 = drift('SD5',  0.179900-Lsextu, 'DriftPass');
+SD6 = drift('SD6',  0.79000-Lsextu, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.179900-Lsextu, 'DriftPass');
+SD12= drift('SD12', 0.44990-Lsextu, 'DriftPass');
+SD12x= drift('SD12', 0.36566-LQC/2, 'DriftPass'); % upstream H-scraper external % 
+SD12y= drift('SD12', 0.44990-(0.36566-LQC/2)-Lsextu, 'DriftPass'); % downstream H-scraper
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2-Lsextu, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521-Lsextu, 'DriftPass');
+SD42 = drift('SD42',  0.205-Lsextu, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051-Lsextu	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252-Lsextu,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776-Lsextu ,'DriftPass');
+SDB5 = drift('SDB5', 0.205-Lsextu  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252-Lsextu , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519-Lsextu, 'DriftPass');
+SDB12= drift('SDB12',0.2049-Lsextu, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252-Lsextu , 'DriftPass');
+SDB17= drift('SDB17',0.205-Lsextu , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358-Lsextu,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342-Lsextu ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358-Lsextu , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422-Lsextu , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-Lsextu, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-Lsextu, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [mSDC15 SDAC1  SDAC1];% SIRIUS HU34
+
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     PXBPM BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7    PXBPM BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     PXBPM BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7    PXBPM BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5   SD12x HSCRAP  SD12y   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv1.m	(revision 17)
@@ -0,0 +1,117 @@
+function varargout = lat_superbendv1 
+%
+% C---------------------------------------------------------------------
+% TITLE OF THE JOB: CATS, May 15th, 2012
+%    ****************************************************************************
+%    *    2.75 GEV QBA CELL: STUDY OF SOLEIL CELL WITH A SHORT STRAIGHT SECTION *
+%    *    "SB-QBA-2.inp"                                                        *
+%    *    ENERGY              = 2.75 GEV                                        *
+%    *    EMITTANCE           = 0.97 NMRAD                                      * 
+%    *    CELL LENGTH         = 23.0634 M (INSTEAD OF 22.232 M)                 *
+%    *    SUPERBEND (BENDING ANGLE = 8 DEG, LENGTH = 0.8 M):                    *
+%    *    DIPOLE FIELD  = (7.2 T OVER 0.1 M AND 0.80 T OVER 0.7 M)              *
+%    *    RHO = (1.27315 / 11.46021 M)      << mu = 0.125 >>                    *
+%    *    EXTERNAL DISP SUPPRESS BEND (3.25 DEG, 0.304 M AND COMBINED FUNC):    *
+%    *    DIPOLE FIELD  = 1.71 T                                                *
+%    *    RHO = 5.36 M                                                          *
+%    ****************************************************************************
+% END_OF_TITLE----------------------------------------------------------
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 23.06336;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Marker and apertures
+SYM2  =  marker('SYM2', 'IdentityPass');
+SYM3  =  marker('SYM3', 'IdentityPass');
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+QD11s   =  quadrupole('QD11s' , 0.30000, -2.62700035, QPassMethod);
+QF12s   =  quadrupole('QF12s' , 0.40000,  4.15713997, QPassMethod);
+QF13s   =  quadrupole('QF13s' , 0.50000,  5.07914949, QPassMethod);
+QF23s   =  quadrupole('QF23s' , 0.20000,  0.95396845, QPassMethod);
+QF14s   =  quadrupole('QF14s' , 0.48000,  5.29026719, QPassMethod);
+QD15s   =  quadrupole('QD15s' , 0.40000, -6.13983470, QPassMethod);
+QD22s   =  quadrupole('QD22s' , 0.20000, -0.05400650, QPassMethod);
+QF25s   =  quadrupole('QF25s' , 0.20000,  2.77473343, QPassMethod);
+
+%% DIPOLES
+BDE3  =  sbend('BDE3', 0.30400, 0.30400/5.36, 0, 0, -4.209110,'BndMPoleSymplectic4Pass');
+BND2  =  sbend('BDE3', 0.35000, 0.35000/11.46021, 0, 0, -3.0000109,'BndMPoleSymplectic4Pass');
+BND3s  =  sbend('BDE3', 0.35000, 0.35000/11.46021, 0, 0, -3.119809,'BndMPoleSymplectic4Pass');
+BSB2  =  sbend('BDE3', 0.05000, 0.05000/1.27315, 0, 0,  0.000000,'BndMPoleSymplectic4Pass');
+ 
+%% DRIFT SPACES
+
+SD14 = drift('SD14',  3.48300, 'DriftPass');
+SD15 = drift('SD15',  0.27, 'DriftPass');
+SD16 = drift('SD16',  0.35, 'DriftPass');
+SD17 = drift('SD17',  0.29, 'DriftPass');
+SD21 = drift('SD21',  0.27, 'DriftPass');
+SD22 = drift('SD22',  0.27, 'DriftPass');
+SD23s = drift('SD23s',  1.90468, 'DriftPass');
+SD25 = drift('SD25',  0.26, 'DriftPass');
+SD30 = drift('SD30',  0.25, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD31 = drift('SD31',  0.20, 'DriftPass'); % downstream H-scraper
+SD42 = drift('SD42',  0.20, 'DriftPass');
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+CELLS  = [...
+     SYM2 ...
+     SD14 QD11s SD15 QF12s SD16 ...
+     QD22s SD31 ...
+     BDE3...
+     SD25 QF23s SD17 QF13s SD30...
+     BND2 BSB2...
+     BSB2 BND3s...
+     SD21 QF14s SD22 QD15s...
+     SD42 QF25s...
+     SD23s...
+     SYM3...
+     SD23s ...
+     QF25s SD42  ...
+     QD15s SD22 QF14s SD21...
+     BND3s BSB2...
+     BSB2 BND2...
+     SD30 QF13s SD17 QF23s SD25 ...
+     BDE3...
+     SD31 QD22s...
+     SD16 QF12s SD15 QD11s SD14...
+     SYM2...
+     ];
+
+
+%THE STORAGE RING
+ELIST = [...
+    CELLS ...
+    CAV];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv2.m	(revision 17)
@@ -0,0 +1,124 @@
+function varargout = lat_superbendv2 
+%
+% C---------------------------------------------------------------------
+% TITLE OF THE JOB: CATS, May 15th, 2012
+%    ****************************************************************************
+%    *    2.75 GEV QBA CELL: STUDY OF SOLEIL CELL HAVING SDL AND SDM            *
+%    *    "SB-QBA-3.inp"                                                        *
+%    *    ENERGY              = 2.75 GEV                                        *
+%    *    EMITTANCE           = 0.98 NMRAD                                      * 
+%    *    CELL LENGTH         = 22.030 M                                        *
+%    *    SUPERBEND (BENDING ANGLE = 8 DEG, LENGTH = 0.8 M):                    *
+%    *    DIPOLE FIELD  = (7.2 T OVER 0.1 M AND 0.80 T OVER 0.7 M)              *
+%    *    RHO = (1.27315 / 11.46021 M)      << mu = 0.125 >>                    *
+%    *    EXTERNAL DISP SUPPRESS BEND (3.25 DEG, 0.304 M AND COMBINED FUNC):    *
+%    *    DIPOLE FIELD  = 1.71 T                                                *
+%    *    RHO = 5.36 M                                                          *
+%    ****************************************************************************
+% END_OF_TITLE----------------------------------------------------------
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 44.06000;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Marker and apertures
+SYM0  =  marker('SYM0', 'IdentityPass');
+SYM1  =  marker('SYM1', 'IdentityPass');
+SYM2  =  marker('SYM2', 'IdentityPass');
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+QD11   =  quadrupole('QD11' , 0.30000, -1.6913147, QPassMethod);
+QF12   =  quadrupole('QF12' , 0.40000,  3.6256564, QPassMethod);
+QF13   =  quadrupole('QF13' , 0.50000,  5.0791495, QPassMethod);
+QF23   =  quadrupole('QF23' , 0.20000,  0.9539685, QPassMethod);
+QF14   =  quadrupole('QF14' , 0.48000,  5.3945733, QPassMethod);
+QD15   =  quadrupole('QD15' , 0.40000, -4.2761077, QPassMethod);
+QD22   =  quadrupole('QD22' , 0.20000, -0.0399759, QPassMethod);
+QF25   =  quadrupole('QF25' , 0.20000,  -3.6479849, QPassMethod);
+QD82   =  quadrupole('QF25' , 0.20000,  -0.0540065, QPassMethod);
+QD71   =  quadrupole('QF25' , 0.30000,  -2.6270004, QPassMethod);
+QF72   =  quadrupole('QF25' , 0.40000,   4.1571400, QPassMethod);
+
+%% DIPOLES
+BDE3  =  sbend('BDE3', 0.30400, 0.30400/5.36, 0, 0, -4.209110,'BndMPoleSymplectic4Pass');
+BND2  =  sbend('BDE3', 0.35000, 0.35000/11.46021, 0, 0, -3.0000109,'BndMPoleSymplectic4Pass');
+BND3  =  sbend('BDE3', 0.35000, 0.35000/11.46021, 0, 0, -2.3790756,'BndMPoleSymplectic4Pass');
+BSB2  =  sbend('BDE3', 0.05000, 0.05000/1.27315, 0, 0,  0.000000,'BndMPoleSymplectic4Pass');
+ 
+%% DRIFT SPACES
+
+SD1  = drift('SD1',  6.0000, 'DriftPass');
+SD14 = drift('SD14',  3.48300, 'DriftPass');
+SD15 = drift('SD15',  0.27, 'DriftPass');
+SD16 = drift('SD16',  0.35, 'DriftPass');
+SD17 = drift('SD17',  0.29, 'DriftPass');
+SD21 = drift('SD21',  0.27, 'DriftPass');
+SD22 = drift('SD22',  0.27, 'DriftPass');
+SD23 = drift('SD23',  0.12950, 'DriftPass');
+SD25 = drift('SD25',  0.26, 'DriftPass');
+SD30 = drift('SD30',  0.25, 'DriftPass'); 
+SD31 = drift('SD31',  0.20, 'DriftPass'); 
+SD42 = drift('SD42',  0.20, 'DriftPass');
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+CELLML  = [...
+     SYM0...
+     SD1 ... 
+     QD11 SD15 QF12 SD16...
+     QD22 SD31...
+     BDE3...
+     SD25 QF23 SD17 QF13 SD30...
+     BND2 BSB2...
+     BSB2 BND3...
+     SD21 QF14 SD22 QD15...
+     SD42 QF25...
+     SD23...
+     SYM1...
+     SD23 ...
+     QF25 SD42  ...
+     QD15 SD22 QF14 SD21...
+     BND3 BSB2...
+     BSB2 BND2...
+     SD30 QF13 SD17 QF23 SD25 ...
+     BDE3...
+     SD31 QD82...
+     SD16 QF72 SD15 QD71...
+     SD14  ...
+     SYM2...
+     ];
+
+
+%THE STORAGE RING
+ELIST = [...
+    CELLML reverse(CELLML) ...
+    CAV];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv3.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv3.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lat_superbendv3.m	(revision 17)
@@ -0,0 +1,163 @@
+function varargout = lat_superbendv3 
+%
+% C---------------------------------------------------------------------
+% TITLE OF THE JOB: CATS, May 15th, 2012
+%    ****************************************************************************
+%    *    2.75 GEV QBA CELL: STUDY OF SOLEIL CELL WITH A SHORT STRAIGHT SECTION *
+%    *    "SB-QBA-2.inp"                                                        *
+%    *    ENERGY              = 2.75 GEV                                        *
+%    *    EMITTANCE           = 0.97 NMRAD                                      * 
+%    *    CELL LENGTH         = 23.0634 M (INSTEAD OF 22.232 M)                 *
+%    *    SUPERBEND (BENDING ANGLE = 8 DEG, LENGTH = 0.8 M):                    *
+%    *    DIPOLE FIELD  = (7.2 T OVER 0.1 M AND 0.80 T OVER 0.7 M)              *
+%    *    RHO = (1.27315 / 11.46021 M)      << mu = 0.125 >>                    *
+%    *    EXTERNAL DISP SUPPRESS BEND (3.25 DEG, 0.304 M AND COMBINED FUNC):    *
+%    *    DIPOLE FIELD  = 1.71 T                                                *
+%    *    RHO = 5.36 M                                                          *
+%    ****************************************************************************
+% END_OF_TITLE----------------------------------------------------------
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 23.06336;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Marker and apertures
+SYM0  =  marker('SYM0', 'IdentityPass');
+SYM1  =  marker('SYM1', 'IdentityPass');
+SYM2  =  marker('SYM2', 'IdentityPass');
+SYM3  =  marker('SYM3', 'IdentityPass');
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+%short SS
+QD11s   =  quadrupole('QD11s' , 0.30000, -2.62700035, QPassMethod);
+QF12s   =  quadrupole('QF12s' , 0.40000,  4.15713997, QPassMethod);
+QF13s   =  quadrupole('QF13s' , 0.50000,  5.07914949, QPassMethod);
+QF23s   =  quadrupole('QF23s' , 0.20000,  0.95396845, QPassMethod);
+QF14s   =  quadrupole('QF14s' , 0.48000,  5.29026719, QPassMethod);
+QD15s   =  quadrupole('QD15s' , 0.40000, -6.13983470, QPassMethod);
+QD22s   =  quadrupole('QD22s' , 0.20000, -0.05400650, QPassMethod);
+QF25s   =  quadrupole('QF25s' , 0.20000,  2.77473343, QPassMethod);
+
+QD11   =  quadrupole('QD11' , 0.30000, -1.6913147, QPassMethod);
+QF12   =  quadrupole('QF12' , 0.40000,  3.6256564, QPassMethod);
+QF13   =  quadrupole('QF13' , 0.50000,  5.0791495, QPassMethod);
+QF23   =  quadrupole('QF23' , 0.20000,  0.9539685, QPassMethod);
+QF14   =  quadrupole('QF14' , 0.48000,  5.3945733, QPassMethod);
+QD15   =  quadrupole('QD15' , 0.40000, -4.2761077, QPassMethod);
+QD22   =  quadrupole('QD22' , 0.20000, -0.0399759, QPassMethod);
+QF25   =  quadrupole('QF25' , 0.20000,  -3.6479849, QPassMethod);
+QD82   =  quadrupole('QF25' , 0.20000,  -0.0540065, QPassMethod);
+QD71   =  quadrupole('QF25' , 0.30000,  -2.6270004, QPassMethod);
+QF72   =  quadrupole('QF25' , 0.40000,   4.1571400, QPassMethod);
+
+%% DIPOLES
+BDE3  =  sbend('BDE3', 0.30400, 0.30400/5.36, 0, 0, -4.209110,'BndMPoleSymplectic4Pass');
+BND2  =  sbend('BDE3', 0.35000, 0.35000/11.46021, 0, 0, -3.0000109,'BndMPoleSymplectic4Pass');
+BND3s  =  sbend('BDE3', 0.35000, 0.35000/11.46021, 0, 0, -3.119809,'BndMPoleSymplectic4Pass');
+BND3  =  sbend('BDE3', 0.35000, 0.35000/11.46021, 0, 0, -2.3790756,'BndMPoleSymplectic4Pass');
+BSB2  =  sbend('BDE3', 0.05000, 0.05000/1.27315, 0, 0,  0.000000,'BndMPoleSymplectic4Pass');
+ 
+%% DRIFT SPACES
+
+SD1  = drift('SD1',  6.0000, 'DriftPass');
+SD14 = drift('SD14',  3.48300, 'DriftPass');
+SD15 = drift('SD15',  0.27, 'DriftPass');
+SD16 = drift('SD16',  0.35, 'DriftPass');
+SD17 = drift('SD17',  0.29, 'DriftPass');
+SD21 = drift('SD21',  0.27, 'DriftPass');
+SD22 = drift('SD22',  0.27, 'DriftPass');
+SD23s = drift('SD23s',  1.90468, 'DriftPass');
+SD23 = drift('SD23',  0.12950, 'DriftPass');
+SD25 = drift('SD25',  0.26, 'DriftPass');
+SD30 = drift('SD30',  0.25, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD31 = drift('SD31',  0.20, 'DriftPass'); % downstream H-scraper
+SD42 = drift('SD42',  0.20, 'DriftPass');
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+CELLS  = [...
+     SYM2 ...
+     SD14 QD11s SD15 QF12s SD16 ...
+     QD22s SD31 ...
+     BDE3...
+     SD25 QF23s SD17 QF13s SD30...
+     BND2 BSB2...
+     BSB2 BND3s...
+     SD21 QF14s SD22 QD15s...
+     SD42 QF25s...
+     SD23s...
+     SYM3...
+     SD23s ...
+     QF25s SD42  ...
+     QD15s SD22 QF14s SD21...
+     BND3s BSB2...
+     BSB2 BND2...
+     SD30 QF13s SD17 QF23s SD25 ...
+     BDE3...
+     SD31 QD22s...
+     SD16 QF12s SD15 QD11s SD14...
+     SYM2...
+     ];
+
+CELLML  = [...
+     SYM0...
+     SD1 ... 
+     QD11 SD15 QF12 SD16...
+     QD22 SD31...
+     BDE3...
+     SD25 QF23 SD17 QF13 SD30...
+     BND2 BSB2...
+     BSB2 BND3...
+     SD21 QF14 SD22 QD15...
+     SD42 QF25...
+     SD23...
+     SYM1...
+     SD23 ...
+     QF25 SD42  ...
+     QD15 SD22 QF14 SD21...
+     BND3 BSB2...
+     BSB2 BND2...
+     SD30 QF13 SD17 QF23 SD25 ...
+     BDE3...
+     SD31 QD82...
+     SD16 QF72 SD15 QD71...
+     SD14  ...
+     SYM2...
+     ];
+
+HALFSUPERPERIOD = [CELLML CELLS];
+SUPERPERIOD = [HALFSUPERPERIOD reverse(HALFSUPERPERIOD)];
+
+%THE STORAGE RING
+ELIST = [...
+    SUPERPERIOD SUPERPERIOD SUPERPERIOD SUPERPERIOD ...
+    CAV];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lattice_prep.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lattice_prep.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lattice_prep.m	(revision 17)
@@ -0,0 +1,45 @@
+function lattice_prep
+% lattice_prep - automatic generation of Golden lattice for a given lattice
+
+% SOFB Response Matrice
+[R, FileName] = measbpmresp('Model','Archive');
+copybpmrespfile(FileName)
+
+% FOFB Response Matrice
+[R, FileName] = measbpmresp4FOFB('Model','Archive');
+copybpmresp4FOFBfile(FileName);
+
+% Chromaticity Response Matrice
+[R, FileName] = measchroresp('Model','Archive');
+copychrorespfile(FileName);
+
+% tune Response Matrice
+[R, FileName] = meastuneresp('Model','Archive');
+copytunerespfile(FileName);
+
+% dispersion
+[etax,  etaz, FileName] = measdisp('Model','Hardware', 'Archive','Struct');
+copydispersionfile(FileName);
+
+fprintf('WARNING\n');
+% Used for coupling/ vertical dispersion
+fprintf('To be done by hand: write GoldenBPMGainCoupling_nameOfLattice\n');
+% autobackup of the FOFB configuration
+fprintf('To be done by hand: write GoldenMatrix4FPGA.mat \n');
+
+fprintf('Matrix for low alpha');
+modelalpharesponsemat;
+
+
+% Other Golden file are created by FOFB Matlab application
+%GoldenMatrix4FPGA.mat
+%fofb_golden.mat
+
+%automatic programme to be written
+%GoldenBPMGainCoupling_lat_2020_3170b.mat  %% use for plotting vertical dispersion
+
+% Used in solorbit ???
+%GoldenLattice_lat_2020_3170b.mat   
+
+% used by solorbit application
+% physdata.mat
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/Kvalues.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/Kvalues.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/Kvalues.m	(revision 17)
@@ -0,0 +1,194 @@
+%% Data from maher Warning in AT the alpha1 and apha 2 value are not the same
+ Cavity voltage = 2MV
+
+  Alpha1     fs(Hz)   bucket half-height(%)  Alpha2 critical   Alpha2    natural sigmal(mm)  fs-turns  
+  ------     ------   -------------------    ---------------   ------    ---------------     --------
+ 4.488E-5   1168.87           9.6               2.699e-4      1.798E-5       1.865             724.3
+ 2.193E-5    817.51          13.74              9.217E-5      2.050E-5       1.305            1035.6 
+ 1.052E-5    566.66          19.83              3.062E-5      9.586E-6       0.904            1494.1  
+ 7.424E-6    476.40          23.61              1.815E-5      3.862E-6       0.760            1777.1
+ 5.549E-6    412.14          27.31              1.173E-5      2.205E-6       0.658            2054.2  
+ 4.300E-6    363.12          31.03              8.000E-6      4.006E-6       0.580            2331.5
+ 3.707E-6    337.38          33.41              6.405E-6      2.938E-6       0.538            2509.4 
+ 3.033E-6    305.55          36.94              4.741E-6      1.477E-6       0.488            2770.8
+ 1.003E-6    177.62          64.24              9.014E-7      2.657E-7       0.284            2766.4
+
+ %% AT values (below), Maher Values (above)
+
+ Cavity voltage = 2MV
+
+ #   Alpha1   fs(Hz)   bucket half-height(%)    Alpha2    natural sigmal(mm)  fs-turns  
+ -  ------    ------   -------------------       ------    ---------------     --------
+ 1  4.5E-5     1177           9.7              -6.4E-5       1.85            718
+ 2  2.2E-5      825          13.8              -5.7E-5       1.29            1026
+ 3  1.1E-5      573          19.9              -8.1E-5       0.90            1476  
+ 4  7.7E-6      483          23.6              -8.7E-5       0.76            1751
+ 5  5.8E-6      419          27.3              -9.3E-5       0.66            2020  
+ 6  4.4E-6      367          31.1              -9.0E-5       0.57            2309
+ 7  3.9E-6      343          33.3              -9.3E-5       0.53            2469
+ 8  3.3E-6      315          36.2              -9.7E-5       0.60            2686
+ 9  1.3E-6      194          58.6              -9.2E-5       0.30            4343
+10  1.0E-6      174          65.5              -9.5E-5       0.30            4854
+
+%% File for low alpha lattices in Physics units
+
+%Alpha1   Alpha2        Q1       Q2         Q3        Q4      Q5         Q6       Q7        Q8        Q44      Q55        SX1         SX2       SX3        SX4       SX5        SX6        SX7        SX8        SX33      SX44
+%------   ------     -------    -----     ------    ------   ------    ------   -------   ------    -------   ------   ----------  --------   ---------  -------   --------   --------   -------   --------    --------   --------
+R = [
+4.488E-5  1.798E-5  -0.823331  1.59795  -0.988722  -1.14089  1.88396  -1.58517  1.17045  0.936830  -1.46865  2.02185  -0.458717E7  -1.700E7  -3.73577E7  4.505E7  -2.20850E7  2.40098E7  -2.000E7  2.15625E7  -3.56698E7  4.1600E7
+2.193E-5  2.050E-5  -0.820384  1.59859  -1.001960  -1.13805  1.88819  -1.58734  1.16966  0.934607  -1.46687  2.03139  -0.636492E7  -1.700E7  -3.86155E7  4.502E7  -2.31976E7  2.51579E7  -2.000E7  2.18828E7  -3.60938E7  4.4000E7
+1.052E-5  9.586E-6  -0.820132  1.59895  -1.005240  -1.13678  1.89044  -1.58889  1.16934  0.933384  -1.46567  2.03619  -0.647964E7  -1.900E7  -3.86842E7  4.600E7  -2.27978E7  2.49070E7  -2.100E7  2.16542E7  -3.67007E7  4.4820E7
+7.424E-6  3.862E-6  -0.820464  1.59920  -1.005780  -1.13582  1.89095  -1.59024  1.16982  0.932500  -1.46448  2.03737  -0.702534E7  -1.900E7  -3.84373E7  4.410E7  -2.28146E7  2.50031E7  -2.100E7  2.21791E7  -3.68537E7  4.6000E7
+5.549E-6  2.205E-6  -0.825471  1.60140  -1.003400  -1.13440  1.89134  -1.59366  1.17404  0.927200  -1.46192  2.03765  -0.777599E7  -1.400E7  -3.81059E7  4.500E7  -2.34820E7  2.55077E7  -2.100E7  2.21535E7  -3.83024E7  4.6000E7
+4.300E-6  4.006E-6  -0.846563  1.61548  -1.017480  -1.09416  1.88471  -1.65341  1.24670  0.842562  -1.41338  2.03177  -0.611428E7  -1.900E7  -4.11955E7  4.900E7  -2.17347E7  2.44284E7  -1.950E7  2.09971E7  -3.83507E7  4.6150E7
+3.707E-6  2.938E-6  -0.834576  1.60844  -1.014770  -1.11005  1.88724  -1.62517  1.20081  0.898442  -1.43284  2.03431  -0.636947E7  -1.600E7  -3.88549E7  4.700E7  -2.22207E7  2.45436E7  -2.100E7  2.17696E7  -3.92876E7  4.6080E7
+3.033E-6  1.477E-6  -0.821701  1.59892  -1.001130  -1.14792  1.89420  -1.57075  1.14447  0.960216  -1.47870  2.04087  -0.632823E7  -1.900E7  -3.91032E7  4.600E7  -2.38489E7  2.49108E7  -2.100E7  2.16293E7  -3.61675E7  4.5040E7
+1.003E-6  8.167E-7  -0.814298  1.59352  -0.993900  -1.16605  1.89793  -1.54398  1.11866  0.987108  -1.50116  2.04488  -0.773654E7  -1.700E7  -3.82168E7  4.300E7  -2.50207E7  2.56321E7  -2.100E7  2.23040E7  -3.57030E7  4.5905E7
+7.462e-7  1.321e-7  -0.797821  1.58655  -1.006290  -1.16815  1.89785  -1.53478  1.10566  1.002440  -1.50723  2.04637  -0.768908E7  -1.800E7  -3.78153E7  4.300E7  -2.43550E7  2.59915E7  -2.12233E7 2.25286E7  -3.56100E7  4.5814E7
+4.300E-6  4.006E-6  -0.846563  1.61548  -1.017480  -1.09416  1.88471  -1.65341  1.24670  0.842562  -1.41338  2.03177  -0.611428E7  -1.900E7  -4.11955E7  4.900E7  -2.17347E7  2.44284E7  -1.950E7  2.09971E7  -3.83507E7  4.6260E7
+2.030e-5  1.630E-6  -0.827994  1.65322  -1.027318  -1.14911  1.88293  -1.59052  1.17174  0.938558  -1.47324  2.01812  -0.369830E7  -1.700E7  -3.67288E7  4.505E7  -1.91834E7  2.29247E7  -2.000E7  2.14024E7  -3.54578E7  4.0400E7
+];
+
+% scaling with respect to line 2 (alpha1/20)
+%dRoR = (R - repmat(R(12,:),12,1))./repmat(R(2,:),12,1); Bug sur R12
+dRoR = (R - repmat(R(2,:),12,1))./repmat(R(2,:),12,1);
+
+%Mode and unit selection
+Mode  = 'Online';
+%Units = 'Hardware';
+Units = 'Physics';
+
+% starting point: this is the reference for the scaling factor.
+% All the quads
+K1i_before  = getsp('Q1',Mode, Units);
+K2i_before  = getsp('Q2',Mode, Units);
+K3i_before  = getsp('Q3',Mode, Units);
+K4i_before  = getsp('Q4',Mode, Units);
+K5i_before  = getsp('Q5',Mode, Units);
+K6i_before  = getsp('Q6',Mode, Units);
+K7i_before  = getsp('Q7',Mode, Units);
+K8i_before  = getsp('Q8',Mode, Units);
+K9i_before  = getsp('Q9',Mode, Units);
+K10i_before = getsp('Q10',Mode, Units);
+
+% All the sextupoles
+S1i_before  = getsp('S1',Mode, Units);
+S2i_before  = getsp('S2',Mode, Units);
+S3i_before  = getsp('S3',Mode, Units);
+S4i_before  = getsp('S4',Mode, Units);
+S5i_before  = getsp('S5',Mode, Units);
+S6i_before  = getsp('S6',Mode, Units);
+S7i_before  = getsp('S7',Mode, Units);
+S8i_before  = getsp('S8',Mode, Units);
+S9i_before  = getsp('S9',Mode, Units);
+S10i_before = getsp('S10',Mode, Units);
+
+%% Selection for the scaling from refence point
+% alpha1 = 2.1e-8;
+% k = 1.06;
+% DK = dRoR(9,3:22);
+
+%alpha1 = -4.12e-08 alpha2 = -9.68e-05 factor = -10926  
+%k = 1.05; % scaling factor factor
+%DK = dRoR(10,3:22);
+
+k = 0; % scaling factor factor
+DK = dRoR(5,3:22);
+
+setsp('Q1' ,(k* DK(1)  + 1)*K1i_before, Mode, Units);
+setsp('Q2' ,(k* DK(2)  + 1)*K2i_before, Mode, Units);
+setsp('Q3' ,(k* DK(3)  + 1)*K3i_before, Mode, Units);
+setsp('Q4' ,(k* DK(4)  + 1)*K4i_before, Mode, Units);
+setsp('Q5' ,(k* DK(5)  + 1)*K5i_before, Mode, Units);
+setsp('Q6' ,(k* DK(6)  + 1)*K6i_before, Mode, Units);
+setsp('Q7' ,(k* DK(7)  + 1)*K7i_before, Mode, Units);
+setsp('Q8' ,(k* DK(8)  + 1)*K8i_before, Mode, Units);
+setsp('Q9' ,(k* DK(9)  + 1)*K9i_before, Mode, Units);
+setsp('Q10',(k* DK(10) + 1)*K10i_before, Mode, Units);
+
+%%
+setsp('S1' ,(k* DK(11)  + 1)*S1i_before, Mode, Units);
+setsp('S2' ,(k* DK(12)  + 1)*S2i_before, Mode, Units);
+setsp('S3' ,(k* DK(13)  + 1)*S3i_before, Mode, Units);
+setsp('S4' ,(k* DK(14)  + 1)*S4i_before, Mode, Units);
+setsp('S5' ,(k* DK(15)  + 1)*S5i_before, Mode, Units);
+setsp('S6' ,(k* DK(16)  + 1)*S6i_before, Mode, Units);
+setsp('S7' ,(k* DK(17)  + 1)*S7i_before, Mode, Units);
+setsp('S8' ,(k* DK(18)  + 1)*S8i_before, Mode, Units);
+setsp('S9' ,(k* DK(19)  + 1)*S9i_before, Mode, Units);
+setsp('S10',(k* DK(20) + 1)*S10i_before, Mode, Units);
+
+%%
+atsummary;
+A = physics_mcf('NoDisplay');
+fprintf('alpha1 = %3.2e alpha2 = %3.2e factor = %4.0f \n', A(end), A(end-1), 4.5e-4/A(end));
+
+
+%% Summary of the scaling from one point to the other
+figure
+hold on; grid on
+for k =3:12, % 10 quad
+    plot(R(1:end-2,1),(R(1:end-2,k)-R(1,k))./R(1,k),'.-','Color',nxtcolor);
+end
+xlabel('alpha1')
+ylabel('Relative K variation')
+
+%
+figure
+hold on; grid on
+for k =13:22, % 10 sextu
+    plot(R(1:end-2,1),(R(1:end-2,k)-R(1,k))./R(1,k),'.-','Color',nxtcolor);
+end
+xlabel('alpha1')
+ylabel('Relative S variation')
+
+%%
+figure
+plot(R(:,1),R(:,2)./R(:,1),'.-');
+grid on
+xlabel('alpha1')
+ylabel('alpha2/alpha1')
+
+%%
+Rtune = meastuneresp({'Q8', 'Q9'},'NoArchive', 'Model')
+Rchro = measchroresp({'S5', 'S6'},'Archive', 'Model')
+
+%%
+dI = inv(Rtune)*[0.0; 0.005]
+stepsp('Q8', dI(1));stepsp('Q9', dI(2));
+
+%%
+dI = inv(Rchro)*[0.5; 0.0]
+stepsp('S5', dI(1));stepsp('S6', dI(2));
+
+%%
+Rtune = gettuneresp({'Q8','Q9'});
+Rchro = getchroresp({'S5', 'S6'});
+
+%%
+steptune([0.0 0], Rtune, {'Q8','Q9'})
+stepchro([0 0], Rchro, {'S5','S6'})
+
+%%
+
+setsp('Q1' ,R(3,ik), Mode, Units);
+setsp('Q2' ,(k* DK(2)  + 1)*K2i_before, Mode, Units);
+setsp('Q3' ,(k* DK(3)  + 1)*K3i_before, Mode, Units);
+setsp('Q4' ,(k* DK(4)  + 1)*K4i_before, Mode, Units);
+setsp('Q5' ,(k* DK(5)  + 1)*K5i_before, Mode, Units);
+setsp('Q6' ,(k* DK(6)  + 1)*K6i_before, Mode, Units);
+setsp('Q7' ,(k* DK(7)  + 1)*K7i_before, Mode, Units);
+setsp('Q8' ,(k* DK(8)  + 1)*K8i_before, Mode, Units);
+setsp('Q9' ,(k* DK(9)  + 1)*K9i_before, Mode, Units);
+setsp('Q10',(k* DK(10) + 1)*K10i_before, Mode, Units);
+
+setsp('S1' ,(k* DK(11)  + 1)*S1i_before, Mode, Units);
+setsp('S2' ,(k* DK(12)  + 1)*S2i_before, Mode, Units);
+setsp('S3' ,(k* DK(13)  + 1)*S3i_before, Mode, Units);
+setsp('S4' ,(k* DK(14)  + 1)*S4i_before, Mode, Units);
+setsp('S5' ,(k* DK(15)  + 1)*S5i_before, Mode, Units);
+setsp('S6' ,(k* DK(16)  + 1)*S6i_before, Mode, Units);
+setsp('S7' ,(k* DK(17)  + 1)*S7i_before, Mode, Units);
+setsp('S8' ,(k* DK(18)  + 1)*S8i_before, Mode, Units);
+setsp('S9' ,(k* DK(19)  + 1)*S9i_before, Mode, Units);
+setsp('S10',(k* DK(20) + 1)*S10i_before, Mode, Units);
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/alpha1by20_maher.m_origin
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/alpha1by20_maher.m_origin	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/alpha1by20_maher.m_origin	(revision 17)
@@ -0,0 +1,389 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiées
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD créées
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,   -0.8235568, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,    1.603015, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,   -1.014789, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,   -1.144827, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,    1.889275, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,   -1.593784, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   1.170552, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  0.9353995, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,   -1.473743, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   2.032442, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv, -0.6364920*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -3.861550*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -2.319760*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.515790*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -2.00000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.188280*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.609380*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  4.40000*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/magnetcoefficients_lowalpha.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/magnetcoefficients_lowalpha.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/magnetcoefficients_lowalpha.m	(revision 17)
@@ -0,0 +1,880 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifioe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('Machine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Io + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'Ring'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'   
+                % Moyenne des longueurs magnotiques mesuroes = 1055.548mm
+                % Decalage en champ entre le dipole de rÃ©fÃ©rence et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'otalonnage B(I) effectuo sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent otre affectos du facteur
+                % (1-1.8e-3) pour passer du dipole de roforence o l'Anneau
+                % et du facteur Leff pour passer o l'intograle de champ.
+                % 
+                
+                % B=1.7063474 T correspond o 2.75 GeV 
+                % ?  longueur magnÃ©tique du model : Leff = 1.052433;
+                
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'Q1','Q3'}  
+                % Familles Q1 et Q6 l= 320 mm 
+                % Etalonnage GL(I) sur 70-130 A quadrupole court 
+                % le courant remonto est nogatif car Q1 et Q6 dofocalisants
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multiplios par -1.
+                
+                % Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+
+                
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.461E-7*(-1)*(1.003)*bob;
+                a1=  2.759E-2*(1.003)*bob;
+                a0=  5.797E-4*(-1)*(1.003)*bob;
+         
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad';
+                
+             case {'Q8'}  
+                % Familles Q8 et Q9 l= 320 mm 
+                % Etalonnage GL(I) sur 70-130 A quadrupole court 
+                % QUADRUPOLE INVERSE PAR RAPPORT A NOMINAL I>0
+                
+                % Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2= -5.461E-7*(1.003)*bob;
+                a1=  2.759E-2*(1.003)*bob;
+                a0=  5.797E-4*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad';  
+                
+            case {'Q4', 'Q9'}  
+                % Famille Q3 l= 320 mm 
+                % Etalonnage GL(I) sur 110-170 A quadrupole court 
+                % le courant remonto est nogatif car Q3 est dofocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multiplios par -1.
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3= -4.537E-8*(1.003)*bob;
+                a2=  1.637E-5*(-1)*(1.003)*bob;
+                a1=  2.549E-2*(1.003)*bob;
+                a0=  8.715E-2*(-1)*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad'; 
+                
+             case {'Q6'}  
+                % Famille Q4 l= 320 mm 
+                % Etalonnage GL(I) sur 150-190 A quadrupole court 
+                % le courant remonto est nogatif car Q4 est dofocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multiplios par -1.
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+                
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3= -1.694E-7*(1.003)*bob;
+                a2=  7.896E-5*(-1)*(1.003)*bob;
+                a1=  1.499E-2*(1.003)*bob;
+                a0=  6.722E-1*(-1)*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad'; 
+                
+            case {'Q5'}   % 320 mm quadrupole
+                 % Familles Q5 et Q10 l= 320 mm 
+                % Etalonnage GL(I) sur 180 - 220 A quadrupole court 
+                % le courant remonto est nogatif car Q5 et Q10 sont
+                % focalisants
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+                
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4= -1.143E-8*(1.003)*bob;
+                a3=  8.693E-06*(1.003)*bob;
+                a2= -2.491E-03*(1.003)*bob;
+                a1=  3.456E-01*(1.003)*bob;
+                a0= -1.524E+01*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';    
+                    
+                case {'Q10'}   % 320 mm quadrupole
+                 % Familles Q5 et Q10 l= 320 mm 
+                % Etalonnage GL(I) sur 200-240 A quadrupole court 
+                % le courant remonto est nogatif car Q5 et Q10 sont
+                % focalisants
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+                
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4= -1.105E-7*(1.003)*bob;
+                a3=  9.504E-5*(1.003)*bob;
+                a2= -3.069E-2*(1.003)*bob;
+                a1=  4.435*(1.003)*bob;
+                a0= -2.375E+2*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';    
+                
+            case {'Q2'}   % l= 460 mm 
+                % quadrupole focalisant
+                % Etalonnage GL(I) sur 130-170 A quadrupole long
+                
+                
+                %Correction des coefficients des QL de + 1.55 10-2 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.460;
+                a7=  0.0;
+                a6=  0.0;
+                a5= -0.0;
+                a4=  0.0;
+                a3= -1.618E-7*(1.0155)*bob;
+                a2=  6.22E-5*(1.0155)*bob;
+                a1=  3.645E-2*(1.0155)*bob;
+                a0=  3.624E-1*(1.0155)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'quad';
+
+            case {'Q7'}   % l= 460 mm 
+                % quadrupole focalisant
+                % Etalonnage GL(I) sur 90-130 A quadrupole long
+                
+                %Correction des coefficients des QL de + 1.55 10-2 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.460;
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2= -2.118E-6*(1.0155)*bob;
+                a1=  4.502E-2*(1.0155)*bob;
+                a0= -1.980E-2*(1.0155)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'quad';
+
+                % Sextupoles : on multiplie les coefficients par 2 car ils
+                % sont exprimes en B"L et non B"L/2
+                
+            case {'S1'}    
+                % l= 160 mm focalisants
+                % Etalonnage HL(I) sur 40 - 160 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2= -3.773E-6*(-1);
+                a1=  1.5476E-1;
+                a0=  2.36991E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+                
+            case {'S2','S7','S5'}    
+                % l= 160 mm dofocalisants
+                % Etalonnage HL(I) sur 80 - 250 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -2.6735E-8;
+                a2=  5.8793E-6*(-1);
+                a1=  1.5364E-1;
+                a0=  2.7867E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+             case {'S6', 'S8'}    
+                % l= 160 mm focalisant
+                % Etalonnage HL(I) sur 80 - 250 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3= -2.6735E-8;
+                a2=  5.8793E-6;
+                a1=  1.5364E-1;
+                a0=  2.7867E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+                
+              case {'S4','S10'}    
+                % l= 160 mm focalisants
+                % Etalonnage HL(I) sur 170 - 300 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4= -8.8836E-10;
+                a3=  7.1089E-7;
+                a2= -2.2277E-4;
+                a1=  1.8501E-1;
+                a0= -1.329;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+             case {'S3','S9'}    
+                % l= 160 mm dofocalisants
+                % Etalonnage HL(I) sur 170 - 300 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4= -8.8836E-10*(-1);
+                a3=  7.1089E-7;
+                a2= -2.2277E-4*(-1);
+                a1=  1.8501E-1;
+                a0= -1.329*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';    
+        
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupoles incluant un QT.
+                % Efficacito = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donno par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupoles incluant un CORH.
+                % Efficacito = 8.143 G.m/A 
+                % Le signe du courant est donno par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupoles incluant un CORV.
+                % Efficacito = 4.642 G.m/A 
+                % Le signe du courant est donno par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intogro)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacito = 11.06 G.m/A 
+                % Le signe du courant est donno par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/plot_fs.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/plot_fs.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/plot_fs.m	(revision 17)
@@ -0,0 +1,36 @@
+%%
+rep = tango_read_attribute2('ANS-C01/DG/BPM.5','XPosDD');
+N = length(rep.value);
+
+for k =1:1000,
+    Xvalue = zeros(1,N);
+    for ik =1:3, % averaging
+        rep = tango_read_attribute2('ANS-C01/DG/BPM.5','XPosDD');
+        Xvalue = Xvalue + rep.value;
+        pause(0.3)
+    end
+
+    Xvalue = Xvalue/3;
+
+    frev = getrf/416;
+    figure(23);
+    plot((1:N)/N*frev*1e6/64,abs(fft(Xvalue)))
+    xaxis([300 1200]); yaxis([0 0.5e3])
+    grid on
+    xlabel('Frequency Hz')
+    %pause(1)
+    %[a ind] = max(abs(fft(rep.value)))
+end
+
+%%
+rep = tango_read_attribute2('ANS-C05/DG/BPM.5','SumDD');
+
+figure(41)
+subplot(2,1,1)
+plot(rep.value)
+
+rep = tango_read_attribute2('ANS-C05/DG/BPM.5','XPosDD');
+
+subplot(2,1,2)
+plot(rep.value)
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/plot_fs4.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/plot_fs4.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/plot_fs4.m	(revision 17)
@@ -0,0 +1,17 @@
+%%
+df= [-10 -5 0 5 10]/getrf('Physics');
+dfs = [860 840 780 750 670];
+
+%getrf/416*1e6*sqrt(416*2e6*0.8856/2/pi/getenergy/1e9)
+
+y = power(dfs,4)/power(1.7518e5,4);
+
+
+figure(5)
+plot(df,y);
+
+an = polyfit(df,y,1);
+grid on
+%%
+fprintf('alpha1 = %3.2e alpha2 = %3.2e \n', sqrt(an(end)), -an(end-1)/4)
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/test_lowalpha.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/test_lowalpha.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha/test_lowalpha.m	(revision 17)
@@ -0,0 +1,41 @@
+%%
+%[x, ATIndex, LostBeam] = getturns([.0 0, 0.0, 0, 0.01681, 0.0]', 1000, [1]);
+%[x, ATIndex, LostBeam] = getturns([.0 0, 0.0, 0, 0.01677, 0.0]', 1000, [1]);
+%[x, ATIndex, LostBeam] = getturns([.0, 0, 0.0, 0, 0.01661, 0.0]', 2000, [1]);
+[x, ATIndex, LostBeam] = getturns([1e-6, 0, 1e-6, 0, 0.02571, 0.0]', 1000, [1]);
+
+if LostBeam
+    ATIndex
+else
+
+figure(11)
+plot(x(1,:,6),x(1,:,5)*100,'k'); grid on; hold on
+xlabel('ctau')
+ylabel('delta (%)')
+
+figure(2)
+subplot(2,2,1)
+plot(x(1,:,1)*1e3); grid on
+xlabel('turn number')
+ylabel('x (mm)')
+
+subplot(2,2,2)
+plot(x(1,:,3)*1e3); grid on
+xlabel('turn number')
+ylabel('z (mm)')
+
+subplot(2,2,3)
+plot(x(1,:,5)*100); grid on
+xlabel('turn number')
+ylabel('delta (%)')
+
+subplot(2,2,4)
+plot(x(1,:,1)*1e3, x(1,:,2)*1e3,'.'); grid on
+xlabel('x (mm)')
+ylabel('px (mrad)')
+
+end
+
+%% Compute alpha to all order
+physics_mcf;
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha1by15.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha1by15.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha1by15.m	(revision 17)
@@ -0,0 +1,421 @@
+function varargout = lowalpha1by15
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifi?es
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD1c1 = drift('SD1e',  0.8410, 'DriftPass');
+SD1c2 = drift('SD1e',  2.161, 'DriftPass');
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC21',0.311  , 'DriftPass');
+SDC23= drift('SDC21',4.310  , 'DriftPass');
+SDC24= drift('SDC21',1.379  , 'DriftPass');
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.237123*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.778681*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.9059312*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.105390*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.910066*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.803362*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.011418*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -0.5106047*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.341271*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   2.048837*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec dÃ©fauts de focalisation des dip?les
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.8442831*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -3.631550*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -3.670993*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.910700*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -2.635539*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.677307*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -3.245237*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  3.030515*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.960253*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  3.553240*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR SD1c2     K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23 FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+*.m~
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/RUN_13decembre10.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/RUN_13decembre10.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/RUN_13decembre10.m	(revision 17)
@@ -0,0 +1,123 @@
+function run13decembre10
+
+%% DEFINITION DES VALEURS DE COURANT  S
+
+% alphaby10 sur optique MAHER lin 1 - optimisation de l'ouverture dynamique
+IS= [24.48  -71.77  -217.19  256.27  -133.51  144.71  -117.02  133.12  -204.43  231.92   24.48];
+
+%% ACTION
+
+% appliquer_Q(IQ10)
+% appliquer_S(IS10)
+
+%% function sauvegarde
+function IQ_depart = sauvegarde_Q
+for iQ = 1:10
+    Name = ['Q' num2str(iQ)];
+    A = getam((Name),'Model');
+    IQ(iQ) = A(1);
+end
+
+IQ_depart = IQ;
+
+function IS_depart = sauvegarde_S
+for iS = 1:11
+    Name = ['S' num2str(iS)];
+    A = getam((Name),'Model');
+    IS(iS) = A(1);
+end
+
+IS_depart = IS;
+
+%% fonction appliquer
+function appliquer_Q(IQ)
+for iQ = 1:10
+    iQ
+    Name = ['Q' num2str(iQ)];
+    A = IQ(iQ);
+    %s = getfamilydata((Name));
+    %B = A * ones(length(s.DeviceList),1);
+    setsp((Name),A);
+end
+
+function appliquer_S(IS)
+for iS = 1:11
+    iS
+    Name = ['S' num2str(iS)];
+    A = IS(iS);
+    %s = getfamilydata((Name));
+    %B = A * ones(length(s.DeviceList),1);
+    setsp((Name),A);
+end
+
+%% Vï¿œrification des tendances de variation en courant
+% figure(100);
+% 
+% hold on ; plot(IQ10./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ20./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ30./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ40./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ50./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ60./IQ10,'Color',nxtcolor)
+% 
+% figure(200);
+% 
+% hold on ; plot(IS10./IS10,'Color',nxtcolor)
+% hold on ; plot(IS20./IS10,'Color',nxtcolor)
+% hold on ; plot(IS30./IS10,'Color',nxtcolor)
+% hold on ; plot(IS40./IS10,'Color',nxtcolor)
+% hold on ; plot(IS50./IS10,'Color',nxtcolor)
+% hold on ; plot(IS60./IS10,'Color',nxtcolor)
+
+% sensibilite alphas
+
+   ******** Summary for 'alphaby10_AMOR_new_mod_nov10_lin_auto_0' ********
+Quadrupole change for quadFamList change of 0.100000 A 
+  Q1 (1A): Delta MCF1 = -2.35e-06 Delta MCF2 = -2.63e-05
+  Q2 (1A): Delta MCF1 = -6.25e-06 Delta MCF2 = -6.54e-05
+  Q3 (1A): Delta MCF1 = -1.29e-06 Delta MCF2 = -1.57e-05
+  Q4 (1A): Delta MCF1 = -1.90e-06 Delta MCF2 = +1.06e-05
+  Q5 (1A): Delta MCF1 = -9.29e-06 Delta MCF2 = +5.12e-05
+  Q6 (1A): Delta MCF1 = -2.37e-07 Delta MCF2 = -3.11e-06
+  Q7 (1A): Delta MCF1 = -3.77e-06 Delta MCF2 = -3.59e-05
+  Q8 (1A): Delta MCF1 = -2.22e-06 Delta MCF2 = -2.22e-05
+  Q9 (1A): Delta MCF1 = -1.63e-06 Delta MCF2 = +2.03e-05
+ Q10 (1A): Delta MCF1 = -9.00e-06 Delta MCF2 = +9.52e-05
+   ******** Summary for 'alphaby10_AMOR_new_mod_nov10_lin_auto_0' ********
+Sextupole change for sextuFamList change of 0.100000 A 
+  S1 (1A) : Delta MCF1 = +4.48e-17 Delta MCF2 = -4.25e-06
+  S2 (1A) : Delta MCF1 = -1.51e-16 Delta MCF2 = -4.40e-07
+  S3 (1A) : Delta MCF1 = -3.12e-16 Delta MCF2 = -3.65e-06
+  S4 (1A) : Delta MCF1 = -1.00e-16 Delta MCF2 = -7.45e-06
+  S5 (1A) : Delta MCF1 = -1.24e-16 Delta MCF2 = -1.03e-07
+  S6 (1A) : Delta MCF1 = +1.33e-16 Delta MCF2 = -5.48e-07
+  S7 (1A) : Delta MCF1 = -3.58e-17 Delta MCF2 = -1.88e-07
+  S8 (1A) : Delta MCF1 = -3.31e-16 Delta MCF2 = -1.05e-06
+  S9 (1A) : Delta MCF1 = +1.64e-16 Delta MCF2 = -3.65e-06
+ S10 (1A) : Delta MCF1 = +5.27e-16 Delta MCF2 = -1.69e-05
+ 
+% pour comparaison, les memes resultats pour l'optique low alpha maher
+   ******** Summary for 'alphaby10_nouveau_modele_dec08_opt_lin_1' ********
+Quadrupole change for quadFamList change of 0.100000 A 
+  Q1 (1A): Delta MCF1 = -1.88e-06 Delta MCF2 = +1.80e-04
+  Q2 (1A): Delta MCF1 = -4.10e-06 Delta MCF2 = +3.95e-04
+  Q3 (1A): Delta MCF1 = -7.99e-07 Delta MCF2 = +7.47e-05
+  Q4 (1A): Delta MCF1 = -2.84e-06 Delta MCF2 = -1.33e-04
+  Q5 (1A): Delta MCF1 = -1.37e-05 Delta MCF2 = -6.46e-04
+  Q6 (1A): Delta MCF1 = -1.24e-08 Delta MCF2 = -2.99e-07
+  Q7 (1A): Delta MCF1 = -8.39e-07 Delta MCF2 = -2.13e-05
+  Q8 (1A): Delta MCF1 = +9.54e-07 Delta MCF2 = +2.41e-05
+  Q9 (1A): Delta MCF1 = -2.43e-06 Delta MCF2 = +1.27e-04
+ Q10 (1A): Delta MCF1 = -1.34e-05 Delta MCF2 = +6.16e-04
+   ******** Summary for 'alphaby10_nouveau_modele_dec08_opt_lin_1' ********
+Sextupole change for sextuFamList change of 0.100000 A 
+  S1 (1A) : Delta MCF1 = -1.56e-16 Delta MCF2 = +2.47e-06
+  S2 (1A) : Delta MCF1 = -3.28e-16 Delta MCF2 = -2.20e-07
+  S3 (1A) : Delta MCF1 = +1.89e-16 Delta MCF2 = -7.01e-06
+  S4 (1A) : Delta MCF1 = -3.52e-16 Delta MCF2 = -1.40e-05
+  S5 (1A) : Delta MCF1 = -1.65e-17 Delta MCF2 = -4.73e-09
+  S6 (1A) : Delta MCF1 = -1.59e-16 Delta MCF2 = -8.27e-08
+  S7 (1A) : Delta MCF1 = -1.31e-16 Delta MCF2 = -9.16e-09
+  S8 (1A) : Delta MCF1 = +1.45e-16 Delta MCF2 = -1.62e-07
+  S9 (1A) : Delta MCF1 = -1.00e-16 Delta MCF2 = -6.60e-06
+ S10 (1A) : Delta MCF1 = -3.81e-16 Delta MCF2 = -3.04e-05
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/alphaby10_AMOR_new_mod_nov10_lin_auto_0.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/alphaby10_AMOR_new_mod_nov10_lin_auto_0.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/alphaby10_AMOR_new_mod_nov10_lin_auto_0.m	(revision 17)
@@ -0,0 +1,439 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -1.139184E+00*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1680875E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.8186702E+00*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -.9565533E+00*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1690986E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -.1657498E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.1866140E+01*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -.3911643E+00*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1153395E+01*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1807178E+01*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.8154529*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -3.631550*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -5.338522*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  5.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -3.058967*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.089324*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.241384*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.741910*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.116062*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  3.261835*F, 'StrMPoleSymplectic4Pass');
+S11  =  sextupole('S11' , Finv,  0.8154529*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/bump_injection.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/bump_injection.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/bump_injection.m	(revision 17)
@@ -0,0 +1,122 @@
+% Etude injection kicker anneau
+
+clear
+
+%data 
+L1=3 ; L2=4 ;  % espacement kicker
+betax=11; tunex=0.4;%0.2012;
+Xseptum=20;  % en mm
+bump=19.5;   % en mm
+T = 1.2; % pÃ©riode anneau
+n=0 ; % nb tour
+nt=40; % Nombre de point sur un tour
+quart=3    %  1 2 3 ou 4
+
+phi=tunex*2*pi;
+M =[cos(phi) betax*sin(phi) ; -sin(phi)/betax cos(phi)];
+SLplus=[1 (L1+L2/2); 0 1];  % revnir au centre section
+SLmoins=[1 -(L1+L2/2); 0 1]; 
+M=SLplus*M*SLmoins;   %matrice 1 tour aprÃšs les kickers
+
+SL1=[1 L1 ; 0 1];
+SL2=[1 L2/2 ; 0 1];
+SD= [1 -(L2+2*L1) ; 0 1];
+
+sol2=-0.0;
+sol4=+0.0;
+
+dt=-T/4*(quart-1);
+t1=-2.4 + dt;
+t2=-2.4 + dt + sol2;
+t3=-2.4 + dt;
+t4=-2.4 + dt + sol4;
+
+% coordonnÃ©es initiales du pulse
+X_circ=ones(2,40)*0;  % x et xp
+x=ones(1,nt/4)*(-26); xp=ones(1,nt/4)*0;
+X_inj=[x ; xp];
+
+t_circ=[];
+t_inj=[];
+X_stock=[];
+X_sept=[];
+X_accu=[];
+
+
+for n=-3:10
+    dev1=[];  
+    dev2=[];
+    dev3=[];
+    dev4=[];
+    for t=(n*T):(T/nt):((n+1)*T-T/nt)
+        dev1=[dev1 -kicker(L1,L2,bump,t1,t)*0.9];
+        dev2=[dev2 +kicker(L1,L2,bump,t2,t)*1.1];
+        dev3=[dev3 +kicker(L1,L2,bump,t3,t)*1.1];
+        dev4=[dev4 -kicker(L1,L2,bump,t4,t)*1.1];
+    end
+    
+  % faisceau circulant  
+    t_circ=[t_circ (n*T):(T/nt):((n+1)*T-T/nt)];
+    % on revient au debut zone injection
+    X_circ=SD*X_circ; 
+    % on passe les 4 kickers
+    X_circ(2,:)= X_circ(2,:)+dev1;
+    X_circ=SL1*X_circ;
+    X_circ(2,:)= X_circ(2,:)+dev2;
+    X_circ=SL2*X_circ;
+    X_sept=[X_sept  X_circ(1,:)];
+    X_circ=SL2*X_circ;
+    X_circ(2,:)= X_circ(2,:)+dev3;
+    X_circ=SL1*X_circ;
+    X_circ(2,:)= X_circ(2,:)+dev4;
+    % on fait 1 tour
+    X_circ=M*X_circ;
+    X_stock=[X_stock  X_circ(1,:)];
+   
+  % faisceau injectÃ©
+    if (n==0)     % injection
+        t_inj=[t_inj (n*T):(T/nt):((n+1/4)*T-T/nt)];
+        X_accu=[X_accu  X_inj(1,:)];
+        X_inj=SL2*X_inj;
+        X_inj(2,:)= X_inj(2,:)+dev3(1:10);
+        X_inj=SL1*X_inj;
+        X_inj(2,:)= X_inj(2,:)+dev4(1:10);
+        % on fait 1 tour
+        X_inj=M*X_inj;
+        
+    elseif (n>0) % circule aussi
+        tt=((n*T):(T/nt):((n+1/4)*T-T/nt));
+        t_inj=[t_inj tt];
+       % on revient au debut zone injection
+        X_inj=SD*X_inj; 
+        % on passe les 4 kickers
+        X_inj(2,:)= X_inj(2,:)+dev1(1:10);
+        X_inj=SL1*X_inj;
+        X_inj(2,:)= X_inj(2,:)+dev2(1:10);
+        X_inj=SL2*X_inj;
+        X_accu=[X_accu  X_inj(1,:)];
+        X_inj=SL2*X_inj;
+        X_inj(2,:)= X_inj(2,:)+dev3(1:10);
+        X_inj=SL1*X_inj;
+        X_inj(2,:)= X_inj(2,:)+dev4(1:10);
+        % on fait 1 tour
+        X_inj=M*X_inj;
+        
+    end
+    
+end
+
+
+
+Xseptum=-Xseptum*ones(1,length(t_circ));
+figure(1)
+plot(t_circ,Xseptum,'-k'); hold on;
+plot(t_circ,X_sept,'-b',t_inj,X_accu,'or'); hold off;
+%plot(X_circ(1,:),X_circ(2,:)) % last turn
+%plot(X_stock') % turn to turn
+
+X_inj=SLmoins*X_inj;
+emtinj=sqrt(X_inj(1,:).*X_inj(1,:)/betax + X_inj(2,:).*X_inj(2,:)*betax);
+X_circ=SLmoins*X_circ;
+emtcirc=sqrt(X_circ(1,:).*X_circ(1,:)/betax + X_circ(2,:).*X_circ(2,:)*betax);
+fprintf('%g  %g   %g\n',sol2,emtcirc(1),emtinj(1))
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/kicker.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/kicker.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/kicker.m	(revision 17)
@@ -0,0 +1,18 @@
+function [dev]=kicker(L1,L2,A,t0,t)
+
+% L1, L2 géometrie
+% A max amplitude en mm
+% t temps du passage
+% t0 déclenchement kicker
+% dev kick en mrad
+
+pulse=6.5;  % durée du pulse kicker en µs
+
+if (t<t0)
+    dev=0;
+elseif (t>t0) && (t<t0+pulse)
+    dev=A/L1*sin(pi/pulse*(t-t0));
+else
+    dev=0;
+end
+    
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/magnetcoefficients_new_calib_new_mod_low_alpha_AMOR_oct10.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/magnetcoefficients_new_calib_new_mod_low_alpha_AMOR_oct10.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_AMOR/magnetcoefficients_new_calib_new_mod_low_alpha_AMOR_oct10.m	(revision 17)
@@ -0,0 +1,1043 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents déduits de
+% l'étalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentés.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents déduits de
+% l'étalonnage en courant utilisant les vraies valeurs des courants + répartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - répartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliqué sur le premier faisceau
+        LtotQC =  0.3602 ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+                case {'Q8'}  
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE - pour le courant et pour le gradient
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  1.19203E-6*(-1)*(1.003)*bob;
+                a1=  2.74719E-2*(1.003)*bob;
+                a0=  2.04817E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q3'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q1','Q4','Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=  2.78608E-2*(1.003)*bob;
+                a0=  4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE - pour le courant MAIS POLARITE + pour le gradient
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.72242E-6*(1.003)*bob;
+%                 a1=  2.78608E-2*(-1)*(1.003)*bob;
+%                 a0=  4.86245E-3*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q6'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=  3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 case {} 
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -9.77342E-6*(1.003)*bob;
+%                 a1=  3.03524E-2*(1.003)*bob;
+%                 a0=  -1.88248E-1*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=  4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%               case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+%                 case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 80 et 135A
+%                 % POLARITE + 
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -2.55217E-6*(1.0155)*bob;
+%                 a1=  4.50695E-2*(1.0155)*bob;
+%                 a0=  6.10246E-3*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+%                 % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=  4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q7'} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+%                 % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=  1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=  5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+
+%           case{''}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+                % POLARITE (courant) + mais H - car alimentation sextupole "retournée"
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  (-1)*-5.7905804E-6;
+%                 a1=  (-1)* 1.5465642E-1;
+%                 a0=  (-1)*2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+          case{'S1'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+                % POLARITE + 
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.7905804E-6;
+                a1=  1.5465642E-1;
+                a0=  2.4064497E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%             case{''}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+%                 % POLARITE -
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  (-1)*-2.8698688E-6;
+%                 a1=   1.5442027E-1;
+%                 a0=  (-1)*2.4480159E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%             case{}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.8549355E-6;
+%                 a1=   1.5483805E-1;
+%                 a0=   2.2290378E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S6','S10','S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE +
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6;
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S5','S8','S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6*(-1);
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S2'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.3881816E-5;
+%                 a1=   1.5827135E-1;
+%                 a0=  -1.0713717E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE -
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5*(-1);
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+%             case {}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5;
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+            case {'S4'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 310 et 330A
+                % POLARITE +
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  0.0;
+                a1=  1.422341E-01;
+                a0=  3.4460054E+00;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';   
+
+            case {'S3'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 310 et 330A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  0.0;
+                a1=  1.422341E-01;
+                a0=  3.4460054E+00*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                 MagnetType = 'SEXT';       
+
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+*.m~
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/RUN_15decembre08.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/RUN_15decembre08.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/RUN_15decembre08.m	(revision 17)
@@ -0,0 +1,197 @@
+function run15decembre08
+
+%% DEFINITION DES VALEURS DE COURANT Q ET S
+
+% alphaby10
+
+IQ10 = [  -82.9650  148.9879 -114.2645 -119.1887  201.2604 -175.5612  121.0107 -82.0893 -154.9695  217.9303 ];
+
+IS10 = [  24.4811  -99.0941 -229.7569  266.4587 -133.3639  144.5484 -116.8993  132.9682 -218.2526  260.3938];
+
+% alphaby20
+
+IQ20 = [  -84.4498  149.0530 -111.5045 -118.4300  201.4291 -172.7899  107.6342  -101.5160 -153.4449  218.3537  ];
+
+IS20 = [  24.4811  -99.0941 -229.7569  266.4587 -133.3639  144.5484 -116.8993  132.9682 -218.2526  260.3938];
+
+% alphaby30
+
+IQ30 = [ -83.8828  149.2383 -113.4019 -118.4225  201.5454 -170.4938  101.9189  -109.0886 -153.6022  218.5726 ];
+
+IS30 = [  28.5769  -99.0941 -223.7643  266.4587 -127.4202  140.1915 -116.8993  126.6359 -217.7679  260.3938 ];
+
+% alphaby40
+
+IQ40 = [  -84.5960  149.5563 -113.2614 -118.1814  201.5609 -169.6577   98.8093  -113.1637 -153.2026  218.6095 ];
+
+IS40 = [ 31.7265  -99.0941 -223.9622  266.4587 -129.2957  141.8893 -116.8993  125.8615 -214.4666  260.3938 ];
+
+% alphaby50
+
+IQ50 = [ -84.7413  149.6209 -113.2523 -118.0724  201.5714 -169.1231   97.0450  -115.4381 -153.0419  218.6456 ];
+
+IS50 = [ 29.3099  -99.0941 -227.1668  266.4587 -133.0502  142.4918 -116.8993  127.7213 -212.5219  260.3938 ];
+
+% alphaby60
+
+IQ60 = [ -84.6258  149.5861 -113.3963 -117.9293  201.5579 -168.7408   95.7023  -117.1696 -152.8836  218.6629 ];
+
+IS60 = [ 27.7293  -99.0941 -227.7373  266.4587 -133.5530  142.9736 -116.8993  129.2884 -212.7773  260.3938 ];
+
+QuadMat  = [IQ10; IQ20; IQ30; IQ40; IQ50; IQ60];
+SextuMat = [IS10; IS20; IS30; IS40; IS50; IS60];
+
+%% ACTION
+
+% appliquer_Q(IQ10)
+% appliquer_S(IS10)
+
+%% Scaling with respect to line iLine
+iLine = 1;
+Quad_dRoR  = (QuadMat - repmat(QuadMat(iLine,:),size(QuadMat,1),1))./repmat(QuadMat(iLine,:),size(QuadMat,1),1);
+Sextu_dRoR = (SextuMat - repmat(SextuMat(iLine,:),size(SextuMat,1),1))./repmat(SextuMat(iLine,:),size(SextuMat,1),1);
+
+%Mode and unit selection
+Mode  = 'Online';
+%Mode  = 'Model';
+Units = 'Hardware';
+%Units = 'Physics';
+
+% starting point: this is the reference for the scaling factor.
+% All the quads
+K1i_before  = getsp('Q1',Mode, Units);
+K2i_before  = getsp('Q2',Mode, Units);
+K3i_before  = getsp('Q3',Mode, Units);
+K4i_before  = getsp('Q4',Mode, Units);
+K5i_before  = getsp('Q5',Mode, Units);
+K6i_before  = getsp('Q6',Mode, Units);
+K7i_before  = getsp('Q7',Mode, Units);
+K8i_before  = getsp('Q8',Mode, Units);
+K9i_before  = getsp('Q9',Mode, Units);
+K10i_before = getsp('Q10',Mode, Units);
+
+% All the sextupoles
+S1i_before  = getsp('S1',Mode, Units);
+S2i_before  = getsp('S2',Mode, Units);
+S3i_before  = getsp('S3',Mode, Units);
+S4i_before  = getsp('S4',Mode, Units);
+S5i_before  = getsp('S5',Mode, Units);
+S6i_before  = getsp('S6',Mode, Units);
+S7i_before  = getsp('S7',Mode, Units);
+S8i_before  = getsp('S8',Mode, Units);
+S9i_before  = getsp('S9',Mode, Units);
+S10i_before = getsp('S10',Mode, Units);
+
+%% Selection for the scaling from reference point
+
+k = 1; % scaling factor factor
+iTarget=6;
+Quad_DK = Quad_dRoR(iTarget,:);
+
+setsp('Q1' ,(k* Quad_DK(1)  + 1)*IQ10(1), Mode, Units);
+setsp('Q2' ,(k* Quad_DK(2)  + 1)*IQ10(2), Mode, Units);
+setsp('Q3' ,(k* Quad_DK(3)  + 1)*IQ10(3), Mode, Units);
+setsp('Q4' ,(k* Quad_DK(4)  + 1)*IQ10(4), Mode, Units);
+setsp('Q5' ,(k* Quad_DK(5)  + 1)*IQ10(5), Mode, Units);
+setsp('Q6' ,(k* Quad_DK(6)  + 1)*IQ10(6), Mode, Units);
+setsp('Q7' ,(k* Quad_DK(7)  + 1)*IQ10(7), Mode, Units);
+setsp('Q8' ,(k* Quad_DK(8)  + 1)*IQ10(8), Mode, Units);
+setsp('Q9' ,(k* Quad_DK(9)  + 1)*IQ10(9), Mode, Units);
+setsp('Q10',(k* Quad_DK(10) + 1)*IQ10(10), Mode, Units);
+
+% setsp('Q1' ,(k* Quad_DK(1)  + 1)*K1i_before, Mode, Units);
+% setsp('Q2' ,(k* Quad_DK(2)  + 1)*K2i_before, Mode, Units);
+% setsp('Q3' ,(k* Quad_DK(3)  + 1)*K3i_before, Mode, Units);
+% setsp('Q4' ,(k* Quad_DK(4)  + 1)*K4i_before, Mode, Units);
+% setsp('Q5' ,(k* Quad_DK(5)  + 1)*K5i_before, Mode, Units);
+% setsp('Q6' ,(k* Quad_DK(6)  + 1)*K6i_before, Mode, Units);
+% setsp('Q7' ,(k* Quad_DK(7)  + 1)*K7i_before, Mode, Units);
+% setsp('Q8' ,(k* Quad_DK(8)  + 1)*K8i_before, Mode, Units);
+% setsp('Q9' ,(k* Quad_DK(9)  + 1)*K9i_before, Mode, Units);
+% setsp('Q10',(k* Quad_DK(10) + 1)*K10i_before, Mode, Units);
+
+%%
+Sextu_DK = Sextu_dRoR(iTarget,:);
+setsp('S1' ,(k* Sextu_DK(1)  + 1)*IS10(1), Mode, Units);
+setsp('S2' ,(k* Sextu_DK(2)  + 1)*IS10(2), Mode, Units);
+setsp('S3' ,(k* Sextu_DK(3)  + 1)*IS10(3), Mode, Units);
+setsp('S4' ,(k* Sextu_DK(4)  + 1)*IS10(4), Mode, Units);
+setsp('S5' ,(k* Sextu_DK(5)  + 1)*IS10(5), Mode, Units);
+setsp('S6' ,(k* Sextu_DK(6)  + 1)*IS10(6), Mode, Units);
+setsp('S7' ,(k* Sextu_DK(7)  + 1)*IS10(7), Mode, Units);
+setsp('S8' ,(k* Sextu_DK(8)  + 1)*IS10(8), Mode, Units);
+setsp('S9' ,(k* Sextu_DK(9)  + 1)*IS10(9), Mode, Units);
+setsp('S10',(k* Sextu_DK(10) + 1)*IS10(10), Mode, Units);
+
+
+% setsp('S1' ,(k* Sextu_DK(1)  + 1)*S1i_before, Mode, Units);
+% setsp('S2' ,(k* Sextu_DK(2)  + 1)*S2i_before, Mode, Units);
+% setsp('S3' ,(k* Sextu_DK(3)  + 1)*S3i_before, Mode, Units);
+% setsp('S4' ,(k* Sextu_DK(4)  + 1)*S4i_before, Mode, Units);
+% setsp('S5' ,(k* Sextu_DK(5)  + 1)*S5i_before, Mode, Units);
+% setsp('S6' ,(k* Sextu_DK(6)  + 1)*S6i_before, Mode, Units);
+% setsp('S7' ,(k* Sextu_DK(7)  + 1)*S7i_before, Mode, Units);
+% setsp('S8' ,(k* Sextu_DK(8)  + 1)*S8i_before, Mode, Units);
+% setsp('S9' ,(k* Sextu_DK(9)  + 1)*S9i_before, Mode, Units);
+% setsp('S10',(k* Sextu_DK(10) + 1)*S10i_before, Mode, Units);
+
+%% function sauvegarde
+function IQ_depart = sauvegarde_Q
+for iQ = 1:10
+    Name = ['Q' num2str(iQ)];
+    A = getam((Name));
+    IQ(iQ) = A(1);
+end
+
+IQ_depart = IQ;
+
+function IS_depart = sauvegarde_S
+for iS = 1:10
+    Name = ['S' num2str(iS)];
+    A = getam((Name));
+    IS(iS) = A(1);
+end
+
+IS_depart = IS;
+
+%% fonction appliquer
+function appliquer_Q(IQ)
+for iQ = 1:10
+    iQ
+    Name = ['Q' num2str(iQ)];
+    A = IQ(iQ);
+    %s = getfamilydata((Name));
+    %B = A * ones(length(s.DeviceList),1);
+    setsp((Name),A);
+end
+
+function appliquer_S(IS)
+for iS = 1:10
+    iS
+    Name = ['S' num2str(iS)];
+    A = IS(iS);
+    %s = getfamilydata((Name));
+    %B = A * ones(length(s.DeviceList),1);
+    setsp((Name),A);
+end
+
+%% Vï¿œrification des tendances de variation en courant
+% figure(100);
+% 
+% hold on ; plot(IQ10./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ20./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ30./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ40./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ50./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ60./IQ10,'Color',nxtcolor)
+% 
+% figure(200);
+% 
+% hold on ; plot(IS10./IS10,'Color',nxtcolor)
+% hold on ; plot(IS20./IS10,'Color',nxtcolor)
+% hold on ; plot(IS30./IS10,'Color',nxtcolor)
+% hold on ; plot(IS40./IS10,'Color',nxtcolor)
+% hold on ; plot(IS50./IS10,'Color',nxtcolor)
+% hold on ; plot(IS60./IS10,'Color',nxtcolor)
+
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby1000_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby1000_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby1000_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2.m	(revision 17)
@@ -0,0 +1,436 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -.7161371E+00*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  0.1494485E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.9515754E+00*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -.9946489E+00*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  0.1682792E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -.1396447E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.9045833E+00*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  0.1043973E+01*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1285263E+01*de , 'QuadLinearPass');
+Q10   =  quadrupole('Q10' , LQC,  0.1816462E+01*de , 'QuadLinearPass');
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -.03672553*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.817472*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.062303*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.466359*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.578540*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.911112*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.400000*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby100_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby100_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby100_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2.m	(revision 17)
@@ -0,0 +1,438 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -.7148979E+00*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  0.1494728E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.9558852E+00*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -.9926898E+00*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  0.1682075E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -1.415107*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.9594681E+00*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  0.9870410E+00*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1283750E+01*de , 'QuadLinearPass');
+Q10   =  quadrupole('Q10' , LQC,  0.1815774E+01*de , 'QuadLinearPass');
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -.06815342*F, 'StrMPoleSymplectic4Pass');
+S11 =  sextupole('S11' , Finv,  -.06815342*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.833042*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.099018*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.374303*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.461044*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.880579*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.400000*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_maher_opt_lin_1_auto.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_maher_opt_lin_1_auto.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_maher_opt_lin_1_auto.m	(revision 17)
@@ -0,0 +1,440 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% S11 added january 2011
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -.7007056E+00*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1488616E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.9624504E+00*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -1.003552E+00*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1679244E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -.1471161E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.1211547E+01*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  .6933753E+00*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1301369E+01*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1809106E+01*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -0.440279*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.238058*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.678324*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.327010*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.277198*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.465343*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.270539*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.465529*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  3.921756*F, 'StrMPoleSymplectic4Pass');
+S11  =  sextupole('S11' , Finv,  -0.440279*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_dec08_opt_lin_1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_dec08_opt_lin_1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_dec08_opt_lin_1.m	(revision 17)
@@ -0,0 +1,440 @@
+function varargout = alphaby10_nouveau_modele_dec08_opt_lin_1
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% November 2010 Added S11
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 4.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -.7007056E+00*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1488616E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.9624504E+0*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -.1003552E+01*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1679244E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -.1471161E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.1211547E+01*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  0.6933753E+00*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1301369E+01*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1809106E+01*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -0.440279*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.891858*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.277198*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.465343*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.270539*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.700156*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.400000*F, 'StrMPoleSymplectic4Pass');
+S11  =  sextupole('S11' , Finv,  -0.440279*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_dec08_opt_lin_1_122BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_dec08_opt_lin_1_122BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_dec08_opt_lin_1_122BPM.m	(revision 17)
@@ -0,0 +1,543 @@
+function varargout = solamor2linb 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC,  -.7007056E+00 , QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,   0.1488616E+01 , QPassMethod);
+Q3   =  quadrupole('Q3' , LQC,  -.9624504E+0 , QPassMethod);
+Q4   =  quadrupole('Q4' , LQC,  -.1003552E+01 , QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,   0.1679244E+01 , QPassMethod);
+Q6   =  quadrupole('Q6' , LQC,  -.1471161E+01 , QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,   0.1211547E+01 , QPassMethod);
+Q8   =  quadrupole('Q8' , LQC,  0.6933753E+00 , QPassMethod);
+Q9   =  quadrupole('Q9' , LQC,  -.1301369E+01 , QPassMethod);
+Q10  =  quadrupole('Q10', LQC,   0.1809106E+01 , QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -1E-10 , QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  1E-10, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  -0.440279*F, SPassMethod);
+S2  =  sextupole('S2' , Finv,  -1.700000*F, SPassMethod);
+S3  =  sextupole('S3' , Finv,  -3.891858*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  4.500000*F, SPassMethod);
+S5  =  sextupole('S5' , Finv,  -2.277198*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  2.465343*F, SPassMethod);
+S7  =  sextupole('S7' , Finv,  -2.000000*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  2.270539*F, SPassMethod);
+S9  =  sextupole('S9' , Finv,  -3.700156*F, SPassMethod);
+S10  =  sextupole('S10' , Finv,  4.400000*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  -0.440279*F,  SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1 SDAC1];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_decembre08_opt_lin_1
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_decembre08_opt_lin_1	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby10_nouveau_modele_decembre08_opt_lin_1	(revision 17)
@@ -0,0 +1,257 @@
+ *** VERSION ***
+ BETA-LNS v7.70 /26/09/08/ 12-Dec-08 12:27:46                                    
+ *** AUTHOR ***
+PB+MAT                                                                          
+ *** TITRE ***
+ alpha1 by 20 MAHER nouveau modele lineaire + sextu fins                        
+ *** LIST OF ELEMENTS ***
+    40
+ SD6        SD 0.7900000E+00
+ COURT      SD 0.1904680E+01
+ QP1        QP 0.1801000E+00 -.7007056E+00 0.0000000E+00
+ QP2        QP 0.2481000E+00 0.1488616E+01 0.0000000E+00
+ QP3        QP 0.1801000E+00 -.9624504E+00 0.0000000E+00
+ QP4        QP 0.1801000E+00 -.1003552E+01 0.0000000E+00
+ QP5        QP 0.1801000E+00 0.1679244E+01 0.0000000E+00
+ QP6        QP 0.1801000E+00 -.1471161E+01 0.0000000E+00
+ QP7        QP 0.2481000E+00 0.1211547E+01 0.0000000E+00
+ QP8        QP 0.1801000E+00 0.6933753E+00 0.0000000E+00
+ QP9        QP 0.1801000E+00 -.1301369E+01 0.0000000E+00
+ QP10       QP 0.1801000E+00 0.1809106E+01 0.0000000E+00
+ SD2        SD 0.3699000E+00
+ SD3        SD 0.1819001E+00
+ SD4        SD 0.3719001E+00
+ SD5        SD 0.1799000E+00
+ SD7        SD 0.4199000E+00
+ SD8        SD 0.1799000E+00
+ SD9        SD 0.4562400E+00
+ SD10       SD 0.4499000E+00
+ SD12       SD 0.4499000E+00
+ SD14       SD 0.5518000E+00
+ MOYE       SD 0.3462450E+01
+ LONG       SD 0.5979900E+01
+ SX1        SX 0.1000000E-06 -.4402794E+07 0.0000000E+00 0.0000000E+00
+ SX2        SX 0.1000000E-06 -.1700000E+08 0.0000000E+00 0.0000000E+00
+ COIE1      CO 0.9757500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ DIPE1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ DIPS1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ COIS1      CO 0.9907500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ SX3        SX 0.1000000E-06 -.3891858E+08 0.0000000E+00 0.0000000E+00
+ SX4        SX 0.1000000E-06 0.4500000E+08 0.0000000E+00 0.0000000E+00
+ CAV        CA -.3125000E+06 0.2400000E+03 0.0000000E+00 0.0000000E+00 0.0000000E+00
+               0.0000000E+00
+ SX5        SX 0.1000000E-06 -.2277198E+08 0.0000000E+00 0.0000000E+00
+ SX6        SX 0.1000000E-06 0.2465343E+08 0.0000000E+00 0.0000000E+00
+ SX7        SX 0.1000000E-06 -.2000000E+08 0.0000000E+00 0.0000000E+00
+ SX8        SX 0.1000000E-06 0.2270539E+08 0.0000000E+00 0.0000000E+00
+ BEND1      BH 0.1963500E+00 0.5360000E+01 0.0000000E+00 0.0000000E+00 0.9817500E-01
+               0.0000000E+00 0.0000000E+00 0.0000000E+00 0.9817500E-01
+ SX9        SX 0.1000000E-06 -.3700156E+08 0.0000000E+00 0.0000000E+00
+ SX10       SX 0.1000000E-06 0.4400000E+08 0.0000000E+00 0.0000000E+00
+ *** STRUCTURE ***
+   904
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG       LONG       QP1       
+ QP1        SD2        SX1        SD3        QP2        QP2       
+ SD14       QP3        QP3        SD5        SX2        SD6       
+ COIE1      DIPE1      DIPS1      COIS1      SD7        QP4       
+ QP4        SD8        SX3        SD9        QP5        QP5       
+ SD12       SX4        SD10       QP5        QP5        SD9       
+ SX3        SD8        QP4        QP4        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX5        SD4        QP7        QP7        SD3       
+ SX6        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX6       
+ SD3        QP7        QP7        SD4        SX5        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP4        QP4        SD8        SX3       
+ SD9        QP5        QP5        SD10       SX4        SD12      
+ QP5        QP5        SD9        SX3        SD8        QP4       
+ QP4        SD7        COIE1      DIPE1      DIPS1      COIS1     
+ SD6        SX2        SD5        QP3        QP3        SD14      
+ QP2        QP2        SD3        SX1        SD2        QP1       
+ QP1        LONG       LONG       QP1        QP1        SD2       
+ SX1        SD3        QP2        QP2        SD14       QP3       
+ QP3        SD5        SX2        SD6        COIE1      DIPE1     
+ DIPS1      COIS1      SD7        QP4        QP4        SD8       
+ SX3        SD9        QP5        QP5        SD12       SX4       
+ SD10       QP5        QP5        SD9        SX3        SD8       
+ QP4        QP4        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX5       
+ SD4        QP7        QP7        SD3        SX6        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX6        SD3        QP7       
+ QP7        SD4        SX5        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP4        QP4        SD8        SX3        SD9        QP5       
+ QP5        SD10       SX4        SD12       QP5        QP5       
+ SD9        SX3        SD8        QP4        QP4        SD7       
+ COIE1      DIPE1      DIPS1      COIS1      SD6        SX2       
+ SD5        QP3        QP3        SD14       QP2        QP2       
+ SD3        SX1        SD2        QP1        QP1        LONG      
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG      
+ *** PERIOD ***
+      1
+ *** OPTION ***
+ BETA
+ *** BEAM-MATRIX ***
+  1.1548797340E+01
+ -5.4238804989E-04  8.6589128265E-02
+ -1.8030572879E-16  8.4680395491E-21  6.9754795567E+00
+  0.0000000000E+00  0.0000000000E+00 -1.2988709357E-03  1.4335956101E-01
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+ *** DISPERSION ***
+  1.6330282E-01  4.8302413E-06
+  0.0000000E+00  0.0000000E+00
+ *** PARTICLE TYPE ***
+ E 
+ *** ENERGIE CINETIQUE (MeV) ***
+ 2.7500000E+03
+  0.511003435
+ *** EMITTANCE ***
+ 8.0284943E-09  0.0000000E+00  0.0000000E+00
+ *** PARAMETERS OF FIT ***
+ *** VARIABLES ***
+   10
+ QP1           2    0 0.10000E-02  0
+ QP2           2    0 0.10000E-02  0
+ QP3           2    0 0.10000E-02  0
+ QP4           2    0 0.10000E-02  0
+ QP5           2    0 0.10000E-02  0
+ QP6           2    0 0.10000E-02  0
+ QP7           2    0 0.10000E-02  0
+ QP8           2    0 0.10000E-02  0
+ QP9           2    0 0.10000E-02  0
+ QP10          2    0 0.10000E-02  0
+ *** CONSTRAINTS ***
+   11
+    3    24 0                0                0.4400000E-04 0.10000E-08   0
+    3    29 0                0                0.2200000E-04 0.10000E-08   0
+    0     1 2                55               0.0000000E+00 0.10000E-04   0
+    0     3 4                55               0.0000000E+00 0.10000E-04   0
+    6     2 0                55               0.0000000E+00 0.10000E-06   0
+    0     1 2                84               0.0000000E+00 0.10000E-04   0
+    0     3 4                84               0.0000000E+00 0.10000E-04   0
+    6     2 0                84               0.0000000E+00 0.10000E-04   0
+    2     1 START            904              0.3000000E+00 0.10000E-04   0
+    0     3 3                904              0.7000000E+01 0.10000E-03   0
+    2     3 START            904              0.4000000E+00 0.10000E-04   0
+ *** TABLE ***
+     4
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+ *** ENDFILE ***
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby20_nouveau_modele_dec08_opt_nonlin.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby20_nouveau_modele_dec08_opt_nonlin.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby20_nouveau_modele_dec08_opt_nonlin.m	(revision 17)
@@ -0,0 +1,437 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -0.713136*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  1.489257*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.939403*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.997221*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  1.680586*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -1.448414*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  1.078610*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  0.855988*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -1.288733*de , 'QuadLinearPass');
+Q10   =  quadrupole('Q10' , LQC,  1.812300*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -0.440279*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.891858*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.277198*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.465343*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.270539*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.700156*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.400000*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby20_nouveau_modele_decembre08_opt_nonlin
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby20_nouveau_modele_decembre08_opt_nonlin	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby20_nouveau_modele_decembre08_opt_nonlin	(revision 17)
@@ -0,0 +1,256 @@
+ *** VERSION ***
+ BETA-LNS v7.70 /26/09/08/  9-Dec-08 17:39:36                                    
+ *** AUTHOR ***
+PB+MAT                                                                          
+ *** TITRE ***
+ alpha1 by 20 MAHER nouveau modele lineaire + sextu fins                        
+ *** LIST OF ELEMENTS ***
+    40
+ SD6        SD 0.7900000E+00
+ COURT      SD 0.1904680E+01
+ QP1        QP 0.1801000E+00 -.7131358E+00 0.0000000E+00
+ QP2        QP 0.2481000E+00 0.1489257E+01 0.0000000E+00
+ QP3        QP 0.1801000E+00 -.9394028E+00 0.0000000E+00
+ QP4        QP 0.1801000E+00 -.9972208E+00 0.0000000E+00
+ QP5        QP 0.1801000E+00 0.1680586E+01 0.0000000E+00
+ QP6        QP 0.1801000E+00 -.1448414E+01 0.0000000E+00
+ QP7        QP 0.2481000E+00 0.1078610E+01 0.0000000E+00
+ QP8        QP 0.1801000E+00 0.8559876E+00 0.0000000E+00
+ QP9        QP 0.1801000E+00 -.1288733E+01 0.0000000E+00
+ QP10       QP 0.1801000E+00 0.1812300E+01 0.0000000E+00
+ SD2        SD 0.3699000E+00
+ SD3        SD 0.1819001E+00
+ SD4        SD 0.3719001E+00
+ SD5        SD 0.1799000E+00
+ SD7        SD 0.4199000E+00
+ SD8        SD 0.1799000E+00
+ SD9        SD 0.4562400E+00
+ SD10       SD 0.4499000E+00
+ SD12       SD 0.4499000E+00
+ SD14       SD 0.5518000E+00
+ MOYE       SD 0.3462450E+01
+ LONG       SD 0.5979900E+01
+ SX1        SX 0.1000000E-06 -.4402794E+07 0.0000000E+00 0.0000000E+00
+ SX2        SX 0.1000000E-06 -.1700000E+08 0.0000000E+00 0.0000000E+00
+ COIE1      CO 0.9757500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ DIPE1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ DIPS1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ COIS1      CO 0.9907500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ SX3        SX 0.1000000E-06 -.3891858E+08 0.0000000E+00 0.0000000E+00
+ SX4        SX 0.1000000E-06 0.4500000E+08 0.0000000E+00 0.0000000E+00
+ CAV        CA -.3125000E+06 0.2400000E+03 0.0000000E+00 0.0000000E+00 0.0000000E+00
+               0.0000000E+00
+ SX5        SX 0.1000000E-06 -.2277198E+08 0.0000000E+00 0.0000000E+00
+ SX6        SX 0.1000000E-06 0.2465343E+08 0.0000000E+00 0.0000000E+00
+ SX7        SX 0.1000000E-06 -.2000000E+08 0.0000000E+00 0.0000000E+00
+ SX8        SX 0.1000000E-06 0.2270539E+08 0.0000000E+00 0.0000000E+00
+ BEND1      BH 0.1963500E+00 0.5360000E+01 0.0000000E+00 0.0000000E+00 0.9817500E-01
+               0.0000000E+00 0.0000000E+00 0.0000000E+00 0.9817500E-01
+ SX9        SX 0.1000000E-06 -.3700156E+08 0.0000000E+00 0.0000000E+00
+ SX10       SX 0.1000000E-06 0.4400000E+08 0.0000000E+00 0.0000000E+00
+ *** STRUCTURE ***
+   904
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG       LONG       QP1       
+ QP1        SD2        SX1        SD3        QP2        QP2       
+ SD14       QP3        QP3        SD5        SX2        SD6       
+ COIE1      DIPE1      DIPS1      COIS1      SD7        QP4       
+ QP4        SD8        SX3        SD9        QP5        QP5       
+ SD12       SX4        SD10       QP5        QP5        SD9       
+ SX3        SD8        QP4        QP4        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX5        SD4        QP7        QP7        SD3       
+ SX6        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX6       
+ SD3        QP7        QP7        SD4        SX5        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP4        QP4        SD8        SX3       
+ SD9        QP5        QP5        SD10       SX4        SD12      
+ QP5        QP5        SD9        SX3        SD8        QP4       
+ QP4        SD7        COIE1      DIPE1      DIPS1      COIS1     
+ SD6        SX2        SD5        QP3        QP3        SD14      
+ QP2        QP2        SD3        SX1        SD2        QP1       
+ QP1        LONG       LONG       QP1        QP1        SD2       
+ SX1        SD3        QP2        QP2        SD14       QP3       
+ QP3        SD5        SX2        SD6        COIE1      DIPE1     
+ DIPS1      COIS1      SD7        QP4        QP4        SD8       
+ SX3        SD9        QP5        QP5        SD12       SX4       
+ SD10       QP5        QP5        SD9        SX3        SD8       
+ QP4        QP4        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX5       
+ SD4        QP7        QP7        SD3        SX6        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX6        SD3        QP7       
+ QP7        SD4        SX5        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP4        QP4        SD8        SX3        SD9        QP5       
+ QP5        SD10       SX4        SD12       QP5        QP5       
+ SD9        SX3        SD8        QP4        QP4        SD7       
+ COIE1      DIPE1      DIPS1      COIS1      SD6        SX2       
+ SD5        QP3        QP3        SD14       QP2        QP2       
+ SD3        SX1        SD2        QP1        QP1        LONG      
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG      
+ *** PERIOD ***
+      1
+ *** OPTION ***
+ BETA
+ *** BEAM-MATRIX ***
+  1.1051413593E+01
+ -5.4084016161E-04  9.0486188408E-02
+  1.9362858068E-15 -9.4759020636E-20  7.5296938996E+00
+  0.0000000000E+00  0.0000000000E+00 -1.5138224523E-03  1.3280782791E-01
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+ *** DISPERSION ***
+  1.6383237E-01  4.9123364E-06
+  0.0000000E+00  0.0000000E+00
+ *** PARTICLE TYPE ***
+ E 
+ *** ENERGIE CINETIQUE (MeV) ***
+ 2.7500000E+03
+  0.511003435
+ *** EMITTANCE ***
+ 8.4261309E-09  0.0000000E+00  0.0000000E+00
+ *** PARAMETERS OF FIT ***
+ *** VARIABLES ***
+   10
+ SX1           2    0 0.00000E+00  0
+ SX2           2    0 0.10000E+00  0
+ SX3           2    0 0.00000E+00  0
+ SX4           2    0 0.10000E+00  0
+ SX5           2    0 0.00000E+00  0
+ SX6           2    0 0.00000E+00  0
+ SX7           2    0 0.10000E+00  0
+ SX8           2    0 0.00000E+00  0
+ SX9           2    0 0.00000E+00  0
+ SX10          2    0 0.10000E+00  0
+ *** CONSTRAINTS ***
+   10
+    3     1     1            186              0.9850000E-01 0.10000E-04   0
+    3     2     2            186              0.2380000E+00 0.10000E-04   0
+    3     7     0            186              -.2700000E+04 0.10000E+01   0
+    3     8     0            186              0.5000000E+03 0.10000E+01   0
+    3    10     0            186              -.2900000E+04 0.10000E+01   0
+    3    14     0            186              0.0000000E+00 0.10000E+00   0
+    3    15     0            186              0.0000000E+00 0.10000E+00   0
+    3    16     0            186              0.0000000E+00 0.10000E+00   0
+    3    18     0            186              0.0000000E+00 0.10000E+00   0
+    3    19     0            186              0.0000000E+00 0.10000E+00   0
+ *** TABLE ***
+     4
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+ *** ENDFILE ***
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby25_stepalpha1_new_modele_dec08_opt_lin_1_122BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby25_stepalpha1_new_modele_dec08_opt_lin_1_122BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby25_stepalpha1_new_modele_dec08_opt_lin_1_122BPM.m	(revision 17)
@@ -0,0 +1,545 @@
+function varargout = solamor2linb 
+% betax = 5 m dans les sections droites longues
+% solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis a jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% Novembre 2010 - S11 added, QT0 removed
+% 18 April 2011 - Tunes update 0.2017,  0.3169 moved 0.1990  0.3169
+% 29 Mai 2011 - Add Scrapers + straight sections
+% July 2011 - Add PX2 as rbend, Nanoscopium, new circumference 354.09702 m
+% (200 um larger)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 3.540970204203009e+02;% design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% RF Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0.0 , 4.0e+6 , HarmNumber*C0/L0, HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+%% SCRAPER
+HSCRAP =  marker('HSCRAP', 'IdentityPass');
+VSCRAP =  marker('VSCRAP', 'IdentityPass');
+
+%INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125]*100,'AperturePass');
+
+%% Elements in Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = corrector('K1',0.0,[0 0],'CorrectorPass');
+K2 = corrector('K2',0.0,[0 0],'CorrectorPass');
+K3 = corrector('K3',0.0,[0 0],'CorrectorPass');
+K4 = corrector('K4',0.0,[0 0],'CorrectorPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% QUADRUPOLES (compensation de l'effet des defauts de focalisation des
+LQC = 0.180100E+00*2 ;
+LQL = 0.248100E+00*2 ;
+
+QPassMethod = 'StrMPoleSymplectic4Pass';
+
+Q1   =  quadrupole('Q1' , LQC,  -.7007056E+00 , QPassMethod);
+Q2   =  quadrupole('Q2' , LQL,   0.1488616E+01 , QPassMethod);
+Q3   =  quadrupole('Q3' , LQC,  -.9624504E+0 , QPassMethod);
+Q4   =  quadrupole('Q4' , LQC,  -.1003552E+01 , QPassMethod);
+Q5   =  quadrupole('Q5' , LQC,   1.68670E+00 , QPassMethod);
+Q6   =  quadrupole('Q6' , LQC,  -.1471161E+01 , QPassMethod);
+Q7   =  quadrupole('Q7' , LQL,   1.2045E+00 , QPassMethod);
+Q8   =  quadrupole('Q8' , LQC,  0.6982E+00 , QPassMethod);
+Q9   =  quadrupole('Q9' , LQC,  -.1301369E+01 , QPassMethod);
+Q10  =  quadrupole('Q10', LQC,   1.8164E+00 , QPassMethod);
+Q11  =  quadrupole('Q11', LQC, -1E-10 , QPassMethod);
+Q12  =  quadrupole('Q12', LQL,  1E-10, QPassMethod);
+
+%% SEXTUPOLES CHROMATICITES NULLES dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+SPassMethod = 'StrMPoleSymplectic4Pass';
+
+S1  =  sextupole('S1' , Finv,  -0.440279*F, SPassMethod);
+S2  =  sextupole('S2' , Finv,  -1.700000*F, SPassMethod);
+S3  =  sextupole('S3' , Finv,  -3.891858*F, SPassMethod);
+S4  =  sextupole('S4' , Finv,  4.500000*F, SPassMethod);
+S5  =  sextupole('S5' , Finv,  -2.277198*F, SPassMethod);
+S6  =  sextupole('S6' , Finv,  2.465343*F, SPassMethod);
+S7  =  sextupole('S7' , Finv,  -2.000000*F, SPassMethod);
+S8  =  sextupole('S8' , Finv,  2.270539*F, SPassMethod);
+S9  =  sextupole('S9' , Finv,  -3.700156*F, SPassMethod);
+S10  =  sextupole('S10' , Finv,  4.400000*F, SPassMethod);
+S11 =  sextupole('S11', Finv,  -0.440279*F,  SPassMethod);
+S12 =  sextupole('S12', Finv,  1.000E-10*F, SPassMethod); % to be drawn by drawlattice
+
+%% Skew quadrupoles
+SQPassMethod = SPassMethod;
+QT  =  skewquad('SkewQuad', 1e-8, 0.0, SQPassMethod);
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, SPassMethod); % PX2
+
+%% Slow feedback correctors
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+% Tuners
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+% Main magnets
+CHIPX2D1 = rbend2('PX2', 0.026, -2.25e-3,  0.00e-3, -2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D2 = rbend2('PX2', 0.052,  4.50e-3, -2.25e-3,  2.25e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHIPX2D3 = rbend2('PX2', 0.026, -2.25e-3,  2.25e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+PX2C= [QTPX2 PX2];
+
+%% NANOC magnets for nanoscopium
+% Tuners
+CHINANO   = corrector('NANOC',0.0,[0 0],'CorrectorPass'); % tuning magnet
+% Main magnets
+CHINANOD1   =  rbend2('NANO', 0.069, -0.50e-3,  0.00e-3, -0.50e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD2   =  rbend2('NANO', 0.069, -5.38e-3, -0.50e-3, -5.88e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD3   =  rbend2('NANO', 0.138, 11.88e-3, -5.88e-3, +6.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+CHINANOD4   =  rbend2('NANO', 0.069, -6.00e-3,  6.00e-3,  0.00e-3, 0,0,'BndMPoleSymplectic4Pass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+%% Feedforward correctors
+FFWDCOR =  corrector('FFWDCOR',0.0,[0 0],'CorrectorPass');
+
+%% Slow correctors in sextupole magnets
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = [S12 COR  QT];
+
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3;
+thetas = theta/2 + 0.9e-3;
+K = 0.00204;
+fullgap = 0.037*0.724*2;
+%BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BndMPoleSymplectic4Pass');
+
+%% IDS
+% file='/Users/nadolski/Documents/Travail/codes/tracy/maille/soleil/w50/kick_w50_g55_p60.txt';  % made with RADIA
+% nslice=10;
+% [SWSV50 SWSV50Length] = idtable('SWSV50', nslice,file, (GLOBVAL.E0)/1e9,'IdTablePass');
+% 
+% SDWSV50 = drift('SDWSV50',  3.141452-SWSV50Length/2, 'DriftPass');
+
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD12u= drift('SD12', 0.2, 'DriftPass'); % upstream V V-scraper % TO BE UPDATED
+SD12d= drift('SD12', 0.44990-0.2, 'DriftPass'); % downstream H-scraper
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SDAC1a = drift('SDAC1a', 0.48428	, 'DriftPass'); % upstream SDC - U20 entrance 
+SDAC1b = drift('SDAC1b', 1.0	, 'DriftPass'); % U20 exit - downstream SDC
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3u= drift('SD1c3u', 0.683, 'DriftPass');  % KEMH - VSCRAPER
+SD1c3d= drift('SD1c3u', 1.560-0.683, 'DriftPass');  % VSCRAPER - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+DRFT10= drift('DRFT10',0.07845, 'DriftPass');
+DRFT11= drift('DRFT11',0.2419000  , 'DriftPass');
+DRFT12= drift('DRFT12',0.3358 , 'DriftPass');
+DRFT13= drift('DRFT13',0.0846 , 'DriftPass');
+DRFT14= drift('DRFT14',0.0788 , 'DriftPass');
+DRFT15= drift('DRFT15',0.3422 , 'DriftPass');
+DRFT16= drift('DRFT16',0.241900  , 'DriftPass');
+DRFT17= drift('DRFT17',0.079  , 'DriftPass');
+DRFT18= drift('DRFT18',0.07845, 'DriftPass');
+DRFT19= drift('DRFT19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.6400, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.6400, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+% PX2 straights
+SDPX2a= drift('SDPX2a', 0.363902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDPX2b= drift('SDPX2b', 2.857550-FAMLIST{CHIPX2D1}.ElemData.Length/2-FAMLIST{CHIPX2D2}.ElemData.Length/2, 'DriftPass'); % CHI.1 - CHI.2
+SDPX2c= drift('SDPX2c', 0.203902-FAMLIST{CHIPX2D1}.ElemData.Length/2, 'DriftPass'); % CHI.3 - BPM
+
+% Nanoscopium straigths (upstream)
+SDNANO1 = drift('SDNANO1',  0.4501-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.1
+SDNANO2 = drift('SDNANO2',  0.5529-FAMLIST{CHINANOD1}.ElemData.Length/2, 'DriftPass'); % CHI.1 - FFWDCOR
+SDNANO3 = drift('SDNANO3',  2.5630, 'DriftPass'); % FFWDCOR - FFWDCOR
+SDNANO4 = drift('SDNANO4',  0.4330-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - CHI.2
+SDNANO5 = drift('SDNANO5',  0.2683-FAMLIST{CHINANOD2}.ElemData.Length/2, 'DriftPass'); % CHI.2 - BPM
+SDNANO6 = drift('SDNANO6',  0.0780, 'DriftPass'); % BPM - FCOR
+SDNANO6a= drift('SDNANO6a', 0.5017-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % BPM - Q11.1
+SDNANO7 = drift('SDNANO7',  0.4100-FAMLIST{Q11}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % Q11.1 - S12
+SDNANO8 = drift('SDNANO8',  0.4800-FAMLIST{Q12}.ElemData.Length/2-FAMLIST{S12}.ElemData.Length/2, 'DriftPass'); % S12 - Q11
+% Nanoscopium straigths (downstream)
+SDNANO9 = drift('SDNANO9',  0.4628-0.0780-FAMLIST{Q11}.ElemData.Length/2, 'DriftPass'); % Q11.2 - FOFB
+SDNANO10= drift('SDNANO10', 0.3072-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % BPM - CHI.3
+SDNANO11= drift('SDNANO11', 0.4330-FAMLIST{CHINANOD3}.ElemData.Length/2, 'DriftPass'); % FFWDCOR - FFWDCOR
+
+
+%% STRAIGHT SECTIONS (between BPMs)
+% 4 long straight sections (12 m, available part 10.50 m)
+
+%SDL01 (injection) is split in upstream and downstrem parts
+SDL01d = [SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3u VSCRAP SD1c3d   K4     SD1d];
+SDL01u = [SDC23e  FCOR SDC23f K1 SDC23b KEMV SDC23c K2 SDC23d SDC24];
+% SDL05 HU640 straight section
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+SDL05  = [HU640upstream HU640downstream]; % DESIRS HU640
+SDL09  = [SD1e SD1e];
+% TOMOGRAPHY U18 CRYO + NANOSCOPIUM U20 
+SDL13u  = [SDNANO1 CHINANO CHINANOD1 SDNANO2 FFWDCOR SDNANO3 FFWDCOR SDNANO4 CHINANOD2 CHINANO SDNANO5 ...
+           BPM SDNANO6 FCOR SDNANO6a Q11 SDNANO7 SX12 SDNANO8];
+SDL13d  = [SDNANO8 SX12 SDNANO7 Q11 SDNANO9 FCOR SDNANO6 BPM  ...
+           SDNANO10 CHINANO CHINANOD3 SDNANO11 FFWDCOR SDNANO3 FFWDCOR SDNANO2 CHINANOD4 CHINANO SDNANO1];
+SDL13 = [SDL13u Q12 SDL13d];
+%SDL13  = [SD1e SD1e]; % NANOSCOPIUM U20 + TOMOGRAPHY U18 CRYO
+
+% 12 medium straigt sections (7 m, available part for IDs 5.46 m)
+SDM02 = [SD13a CAV SD13a]; % CRYOMODULE #2
+SDM03 = [SD13a SD13a]; % CRYOMUDULE #1 not put in the model for simplicity
+SDM04 = [SD13a SD13a]; % PLEIADES HU256 + HU80
+SDM06 = [SD13a SD13a]; % PUMA future Wiggler
+%SDM06 = [SDWSV50 SWSV50 SDWSV50]; % PUMA future Wiggler
+SDM07 = [SD13a SD13a]; % DEIMOS HU52+EMPHU65
+SDM08 = [SD13a SD13a]; % TEMPO HU80+HU44
+SDM10 = [SD13a SD13a]; % HERMES HU64+HU42
+SDM11 = [SDPX2a PX2C CHIPX2D1 SDPX2b PX2C CHIPX2D2 SDPX2b CHIPX2D3 PX2C SDPX2c]; % PX2 U24
+SDM12 = [SD13a SD13a]; % ANTARES HU256 + HU60
+SDM14 = [SD13a SD13a]; % SEXTANTS (ex microFocus) HU44 + HU80
+SDM15 = [SD13a SD13a]; % CASSIOPEE HU256 + HU80
+SDM16 = [SD13a SD13a]; % LUCIA HU52
+
+% 8 short straigt sections (3.6 m, available part for IDs 2.8 m)
+SDC02 = [SDAC1 SDAC1];% LIGNE ALPHA
+SDC03 = [SDAC1 SDAC1];% PSICHE WSV50
+SDC06 = [SDAC1a SDAC1b SDAC1b SDAC1a];% CRISTAL U20
+SDC07 = [SDAC1 SDAC1];% GALAXIES U20
+SDC10 = [SDAC1 SDAC1];% PX1 U20
+SDC11 = [SDAC1 SDAC1];% SWING U20
+SDC14 = [SDAC1 SDAC1];% SIXS U20
+SDC15 = [SDAC1 SDAC1];% SIRIUS HU34
+
+
+%% Lattice
+% Superperiods
+
+% SUPERPERIOD #1
+SUP1  = [...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12u HSCRAP SD12d  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM02 BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC02 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SDM03  ...
+    BPM  DRFT10   FCOR  DRFT11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 DRFT12 ...
+    FCOR  DRFT13  BPM    SDC03   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  DRFT16 ...
+    FCOR DRFT17  BPM    SDM04   ...
+    BPM   DRFT18  FCOR  DRFT19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21 BPM];
+
+% SUPERPERIOD #2
+SUP2  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM06  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC06 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM07  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC07   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM08   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #3
+SUP3  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM10  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC10 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM11  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC11   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM12   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM];
+
+% SUPERPERIOD #4
+SUP4  = [  ...
+    BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SDM14  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDC14 ...
+    BPM   DRFT14  FCOR  DRFT15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDM15  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDC15   ...
+    BPM  DRFT14  FCOR   DRFT15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SDM16   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22 BPM];
+
+%THE STORAGE RING
+ELIST = [...
+    DEBUT ...
+    SECT1 SDL01d SUP1 ...
+    SECT2 SDL05 SUP2 ...
+    SECT3 SDL09 SUP3 ...
+    SECT4 SDL13 SUP4 SDL01u  ...
+    FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby30_nouveau_modele_dec08_opt_nonlin_1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby30_nouveau_modele_dec08_opt_nonlin_1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby30_nouveau_modele_dec08_opt_nonlin_1.m	(revision 17)
@@ -0,0 +1,435 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -0.708389*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  1.491083*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.955248*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.997158*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  1.681512*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -1.429536*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  1.021737*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  0.919365*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -1.290037*de , 'QuadLinearPass');
+Q10   =  quadrupole('Q10' , LQC,  1.813949*de , 'QuadLinearPass');
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -0.509553*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.792045*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.177159*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.392069*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.163955*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.692072*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.400000*F, 'StrMPoleSymplectic4Pass');
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby30_nouveau_modele_decembre08_opt_nonlin_1
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby30_nouveau_modele_decembre08_opt_nonlin_1	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby30_nouveau_modele_decembre08_opt_nonlin_1	(revision 17)
@@ -0,0 +1,256 @@
+ *** VERSION ***
+ BETA-LNS v7.70 /26/09/08/ 11-Dec-08 10:47:48                                    
+ *** AUTHOR ***
+PB+MAT                                                                          
+ *** TITRE ***
+ alpha1 by 30 MAHER nouveau modele lineaire + sextu fins                        
+ *** LIST OF ELEMENTS ***
+    40
+ SD6        SD 0.7900000E+00
+ COURT      SD 0.1904680E+01
+ QP1        QP 0.1801000E+00 -.7083887E+00 0.0000000E+00
+ QP2        QP 0.2481000E+00 0.1491083E+01 0.0000000E+00
+ QP3        QP 0.1801000E+00 -.9552477E+00 0.0000000E+00
+ QP4        QP 0.1801000E+00 -.9971581E+00 0.0000000E+00
+ QP5        QP 0.1801000E+00 0.1681512E+01 0.0000000E+00
+ QP6        QP 0.1801000E+00 -.1429536E+01 0.0000000E+00
+ QP7        QP 0.2481000E+00 0.1021737E+01 0.0000000E+00
+ QP8        QP 0.1801000E+00 0.9193654E+00 0.0000000E+00
+ QP9        QP 0.1801000E+00 -.1290037E+01 0.0000000E+00
+ QP10       QP 0.1801000E+00 0.1813949E+01 0.0000000E+00
+ SD2        SD 0.3699000E+00
+ SD3        SD 0.1819001E+00
+ SD4        SD 0.3719001E+00
+ SD5        SD 0.1799000E+00
+ SD7        SD 0.4199000E+00
+ SD8        SD 0.1799000E+00
+ SD9        SD 0.4562400E+00
+ SD10       SD 0.4499000E+00
+ SD12       SD 0.4499000E+00
+ SD14       SD 0.5518000E+00
+ MOYE       SD 0.3462450E+01
+ LONG       SD 0.5979900E+01
+ SX1        SX 0.1000000E-06 -.5095526E+07 0.0000000E+00 0.0000000E+00
+ SX2        SX 0.1000000E-06 -.1700000E+08 0.0000000E+00 0.0000000E+00
+ COIE1      CO 0.9757500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ DIPE1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ DIPS1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ COIS1      CO 0.9907500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ SX3        SX 0.1000000E-06 -.3792045E+08 0.0000000E+00 0.0000000E+00
+ SX4        SX 0.1000000E-06 0.4500000E+08 0.0000000E+00 0.0000000E+00
+ CAV        CA -.3125000E+06 0.2400000E+03 0.0000000E+00 0.0000000E+00 0.0000000E+00
+               0.0000000E+00
+ SX5        SX 0.1000000E-06 -.2177159E+08 0.0000000E+00 0.0000000E+00
+ SX6        SX 0.1000000E-06 0.2392069E+08 0.0000000E+00 0.0000000E+00
+ SX7        SX 0.1000000E-06 -.2000000E+08 0.0000000E+00 0.0000000E+00
+ SX8        SX 0.1000000E-06 0.2163955E+08 0.0000000E+00 0.0000000E+00
+ BEND1      BH 0.1963500E+00 0.5360000E+01 0.0000000E+00 0.0000000E+00 0.9817500E-01
+               0.0000000E+00 0.0000000E+00 0.0000000E+00 0.9817500E-01
+ SX9        SX 0.1000000E-06 -.3692072E+08 0.0000000E+00 0.0000000E+00
+ SX10       SX 0.1000000E-06 0.4400000E+08 0.0000000E+00 0.0000000E+00
+ *** STRUCTURE ***
+   904
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG       LONG       QP1       
+ QP1        SD2        SX1        SD3        QP2        QP2       
+ SD14       QP3        QP3        SD5        SX2        SD6       
+ COIE1      DIPE1      DIPS1      COIS1      SD7        QP4       
+ QP4        SD8        SX3        SD9        QP5        QP5       
+ SD12       SX4        SD10       QP5        QP5        SD9       
+ SX3        SD8        QP4        QP4        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX5        SD4        QP7        QP7        SD3       
+ SX6        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX6       
+ SD3        QP7        QP7        SD4        SX5        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP4        QP4        SD8        SX3       
+ SD9        QP5        QP5        SD10       SX4        SD12      
+ QP5        QP5        SD9        SX3        SD8        QP4       
+ QP4        SD7        COIE1      DIPE1      DIPS1      COIS1     
+ SD6        SX2        SD5        QP3        QP3        SD14      
+ QP2        QP2        SD3        SX1        SD2        QP1       
+ QP1        LONG       LONG       QP1        QP1        SD2       
+ SX1        SD3        QP2        QP2        SD14       QP3       
+ QP3        SD5        SX2        SD6        COIE1      DIPE1     
+ DIPS1      COIS1      SD7        QP4        QP4        SD8       
+ SX3        SD9        QP5        QP5        SD12       SX4       
+ SD10       QP5        QP5        SD9        SX3        SD8       
+ QP4        QP4        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX5       
+ SD4        QP7        QP7        SD3        SX6        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX6        SD3        QP7       
+ QP7        SD4        SX5        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP4        QP4        SD8        SX3        SD9        QP5       
+ QP5        SD10       SX4        SD12       QP5        QP5       
+ SD9        SX3        SD8        QP4        QP4        SD7       
+ COIE1      DIPE1      DIPS1      COIS1      SD6        SX2       
+ SD5        QP3        QP3        SD14       QP2        QP2       
+ SD3        SX1        SD2        QP1        QP1        LONG      
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG      
+ *** PERIOD ***
+      1
+ *** OPTION ***
+ BETA
+ *** BEAM-MATRIX ***
+  1.0611982296E+01
+ -5.4595060654E-04  9.4233129133E-02
+  7.7701047584E-15 -3.9871787356E-19  7.0025351502E+00
+ -4.1170373729E-21  0.0000000000E+00 -1.4431531546E-03  1.4280572125E-01
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+ *** DISPERSION ***
+  1.6151281E-01  5.2357977E-06
+  0.0000000E+00  0.0000000E+00
+ *** PARTICLE TYPE ***
+ E 
+ *** ENERGIE CINETIQUE (MeV) ***
+ 2.7500000E+03
+  0.511003435
+ *** EMITTANCE ***
+ 8.6203356E-09  1.2771434E-41  0.0000000E+00
+ *** PARAMETERS OF FIT ***
+ *** VARIABLES ***
+   10
+ SX1           2    0 0.00000E+00  0
+ SX2           2    0 0.10000E+00  0
+ SX3           2    0 0.00000E+00  0
+ SX4           2    0 0.10000E+00  0
+ SX5           2    0 0.00000E+00  0
+ SX6           2    0 0.00000E+00  0
+ SX7           2    0 0.10000E+00  0
+ SX8           2    0 0.00000E+00  0
+ SX9           2    0 0.00000E+00  0
+ SX10          2    0 0.10000E+00  0
+ *** CONSTRAINTS ***
+   10
+    3     1     1            186              0.5000000E-01 0.10000E-04   0
+    3     2     2            186              0.1200000E+00 0.10000E-04   0
+    3     7     0            186              -.2700000E+04 0.10000E+01   0
+    3     8     0            186              0.5000000E+03 0.10000E+01   0
+    3    10     0            186              -.2900000E+04 0.10000E+01   0
+    3    14     0            186              0.0000000E+00 0.10000E+00   0
+    3    15     0            186              0.0000000E+00 0.10000E+00   0
+    3    16     0            186              0.0000000E+00 0.10000E+00   0
+    3    18     0            186              0.0000000E+00 0.10000E+00   0
+    3    19     0            186              0.0000000E+00 0.10000E+00   0
+ *** TABLE ***
+     4
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+ *** ENDFILE ***
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby40_nouveau_modele_dec08_opt_nonlin_2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby40_nouveau_modele_dec08_opt_nonlin_2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby40_nouveau_modele_dec08_opt_nonlin_2.m	(revision 17)
@@ -0,0 +1,436 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -0.714360*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  1.494215*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.954075*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.995146*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  1.681635*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -1.422656*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.990775*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  0.953468*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -1.286725*de , 'QuadLinearPass');
+Q10   =  quadrupole('Q10' , LQC,  1.814227*de , 'QuadLinearPass');
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -0.562813*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.795344*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.208730*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.420624*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.150919*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.636994*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.400000*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby40_nouveau_modele_decembre08_opt_nonlin_2
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby40_nouveau_modele_decembre08_opt_nonlin_2	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby40_nouveau_modele_decembre08_opt_nonlin_2	(revision 17)
@@ -0,0 +1,256 @@
+ *** VERSION ***
+ BETA-LNS v7.70 /26/09/08/ 11-Dec-08 11:18:14                                    
+ *** AUTHOR ***
+PB+MAT                                                                          
+ *** TITRE ***
+ alpha1 by 40 MAHER nouveau modele lineaire + sextu fins                        
+ *** LIST OF ELEMENTS ***
+    40
+ SD6        SD 0.7900000E+00
+ COURT      SD 0.1904680E+01
+ QP1        QP 0.1801000E+00 -.7143602E+00 0.0000000E+00
+ QP2        QP 0.2481000E+00 0.1494215E+01 0.0000000E+00
+ QP3        QP 0.1801000E+00 -.9540751E+00 0.0000000E+00
+ QP4        QP 0.1801000E+00 -.9951463E+00 0.0000000E+00
+ QP5        QP 0.1801000E+00 0.1681635E+01 0.0000000E+00
+ QP6        QP 0.1801000E+00 -.1422656E+01 0.0000000E+00
+ QP7        QP 0.2481000E+00 0.9907749E+00 0.0000000E+00
+ QP8        QP 0.1801000E+00 0.9534678E+00 0.0000000E+00
+ QP9        QP 0.1801000E+00 -.1286725E+01 0.0000000E+00
+ QP10       QP 0.1801000E+00 0.1814227E+01 0.0000000E+00
+ SD2        SD 0.3699000E+00
+ SD3        SD 0.1819001E+00
+ SD4        SD 0.3719001E+00
+ SD5        SD 0.1799000E+00
+ SD7        SD 0.4199000E+00
+ SD8        SD 0.1799000E+00
+ SD9        SD 0.4562400E+00
+ SD10       SD 0.4499000E+00
+ SD12       SD 0.4499000E+00
+ SD14       SD 0.5518000E+00
+ MOYE       SD 0.3462450E+01
+ LONG       SD 0.5979900E+01
+ SX1        SX 0.1000000E-06 -.5628126E+07 0.0000000E+00 0.0000000E+00
+ SX2        SX 0.1000000E-06 -.1700000E+08 0.0000000E+00 0.0000000E+00
+ COIE1      CO 0.9757500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ DIPE1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ DIPS1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ COIS1      CO 0.9907500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ SX3        SX 0.1000000E-06 -.3795344E+08 0.0000000E+00 0.0000000E+00
+ SX4        SX 0.1000000E-06 0.4500000E+08 0.0000000E+00 0.0000000E+00
+ CAV        CA -.3125000E+06 0.2400000E+03 0.0000000E+00 0.0000000E+00 0.0000000E+00
+               0.0000000E+00
+ SX5        SX 0.1000000E-06 -.2208730E+08 0.0000000E+00 0.0000000E+00
+ SX6        SX 0.1000000E-06 0.2420624E+08 0.0000000E+00 0.0000000E+00
+ SX7        SX 0.1000000E-06 -.2000000E+08 0.0000000E+00 0.0000000E+00
+ SX8        SX 0.1000000E-06 0.2150919E+08 0.0000000E+00 0.0000000E+00
+ BEND1      BH 0.1963500E+00 0.5360000E+01 0.0000000E+00 0.0000000E+00 0.9817500E-01
+               0.0000000E+00 0.0000000E+00 0.0000000E+00 0.9817500E-01
+ SX9        SX 0.1000000E-06 -.3636994E+08 0.0000000E+00 0.0000000E+00
+ SX10       SX 0.1000000E-06 0.4400000E+08 0.0000000E+00 0.0000000E+00
+ *** STRUCTURE ***
+   904
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG       LONG       QP1       
+ QP1        SD2        SX1        SD3        QP2        QP2       
+ SD14       QP3        QP3        SD5        SX2        SD6       
+ COIE1      DIPE1      DIPS1      COIS1      SD7        QP4       
+ QP4        SD8        SX3        SD9        QP5        QP5       
+ SD12       SX4        SD10       QP5        QP5        SD9       
+ SX3        SD8        QP4        QP4        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX5        SD4        QP7        QP7        SD3       
+ SX6        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX6       
+ SD3        QP7        QP7        SD4        SX5        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP4        QP4        SD8        SX3       
+ SD9        QP5        QP5        SD10       SX4        SD12      
+ QP5        QP5        SD9        SX3        SD8        QP4       
+ QP4        SD7        COIE1      DIPE1      DIPS1      COIS1     
+ SD6        SX2        SD5        QP3        QP3        SD14      
+ QP2        QP2        SD3        SX1        SD2        QP1       
+ QP1        LONG       LONG       QP1        QP1        SD2       
+ SX1        SD3        QP2        QP2        SD14       QP3       
+ QP3        SD5        SX2        SD6        COIE1      DIPE1     
+ DIPS1      COIS1      SD7        QP4        QP4        SD8       
+ SX3        SD9        QP5        QP5        SD12       SX4       
+ SD10       QP5        QP5        SD9        SX3        SD8       
+ QP4        QP4        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX5       
+ SD4        QP7        QP7        SD3        SX6        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX6        SD3        QP7       
+ QP7        SD4        SX5        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP4        QP4        SD8        SX3        SD9        QP5       
+ QP5        SD10       SX4        SD12       QP5        QP5       
+ SD9        SX3        SD8        QP4        QP4        SD7       
+ COIE1      DIPE1      DIPS1      COIS1      SD6        SX2       
+ SD5        QP3        QP3        SD14       QP2        QP2       
+ SD3        SX1        SD2        QP1        QP1        LONG      
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG      
+ *** PERIOD ***
+      1
+ *** OPTION ***
+ BETA
+ *** BEAM-MATRIX ***
+  1.0416567033E+01
+ -5.4920820891E-04  9.6000947191E-02
+  2.8911781393E-16 -1.5243589971E-20  7.0022665613E+00
+  0.0000000000E+00  0.0000000000E+00 -1.4604581683E-03  1.4281120608E-01
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+ *** DISPERSION ***
+  1.6061328E-01  5.2881328E-06
+  0.0000000E+00  0.0000000E+00
+ *** PARTICLE TYPE ***
+ E 
+ *** ENERGIE CINETIQUE (MeV) ***
+ 2.7500000E+03
+  0.511003435
+ *** EMITTANCE ***
+ 8.7230934E-09  0.0000000E+00  0.0000000E+00
+ *** PARAMETERS OF FIT ***
+ *** VARIABLES ***
+   10
+ SX1           2    0 0.00000E+00  0
+ SX2           2    0 0.10000E+00  0
+ SX3           2    0 0.00000E+00  0
+ SX4           2    0 0.10000E+00  0
+ SX5           2    0 0.00000E+00  0
+ SX6           2    0 0.00000E+00  0
+ SX7           2    0 0.10000E+00  0
+ SX8           2    0 0.00000E+00  0
+ SX9           2    0 0.00000E+00  0
+ SX10          2    0 0.10000E+00  0
+ *** CONSTRAINTS ***
+   10
+    3     1     1            186              0.2000000E-01 0.10000E-04   0
+    3     2     2            186              0.2000000E-01 0.10000E-04   0
+    3     7     0            186              -.2700000E+04 0.10000E+01   0
+    3     8     0            186              0.5000000E+03 0.10000E+01   0
+    3    10     0            186              -.2900000E+04 0.10000E+01   0
+    3    14     0            186              0.0000000E+00 0.10000E+00   0
+    3    15     0            186              0.0000000E+00 0.10000E+00   0
+    3    16     0            186              0.0000000E+00 0.10000E+00   0
+    3    18     0            186              0.0000000E+00 0.10000E+00   0
+    3    19     0            186              0.0000000E+00 0.10000E+00   0
+ *** TABLE ***
+     4
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+ *** ENDFILE ***
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby50_nouveau_modele_dec08_opt_nonlin_1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby50_nouveau_modele_dec08_opt_nonlin_1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby50_nouveau_modele_dec08_opt_nonlin_1.m	(revision 17)
@@ -0,0 +1,436 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -0.715576*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  1.494852*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.953999*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.994236*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  1.681719*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -1.418255*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.973203*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  0.972500*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -1.285392*de , 'QuadLinearPass');
+Q10   =  quadrupole('Q10' , LQC,  1.814499*de , 'QuadLinearPass');
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -0.521949*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.848730*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.271919*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.430758*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.182227*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.604537*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.400000*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby50_nouveau_modele_decembre08_opt_nonlin_1
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby50_nouveau_modele_decembre08_opt_nonlin_1	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby50_nouveau_modele_decembre08_opt_nonlin_1	(revision 17)
@@ -0,0 +1,255 @@
+ *** VERSION ***
+ BETA-LNS v7.70 /26/09/08/ 11-Dec-08 17:20:19                                    
+ *** AUTHOR ***
+PB+MAT                                                                          
+ *** TITRE ***
+ alpha1 by 20 MAHER nouveau modele lineaire + sextu fins                        
+ *** LIST OF ELEMENTS ***
+    40
+ SD6        SD 0.7900000E+00
+ COURT      SD 0.1904680E+01
+ QP1        QP 0.1801000E+00 -.7155755E+00 0.0000000E+00
+ QP2        QP 0.2481000E+00 0.1494852E+01 0.0000000E+00
+ QP3        QP 0.1801000E+00 -.9539990E+00 0.0000000E+00
+ QP4        QP 0.1801000E+00 -.9942355E+00 0.0000000E+00
+ QP5        QP 0.1801000E+00 0.1681719E+01 0.0000000E+00
+ QP6        QP 0.1801000E+00 -.1418255E+01 0.0000000E+00
+ QP7        QP 0.2481000E+00 0.9732031E+00 0.0000000E+00
+ QP8        QP 0.1801000E+00 0.9724998E+00 0.0000000E+00
+ QP9        QP 0.1801000E+00 -.1285392E+01 0.0000000E+00
+ QP10       QP 0.1801000E+00 0.1814499E+01 0.0000000E+00
+ SD2        SD 0.3699000E+00
+ SD3        SD 0.1819001E+00
+ SD4        SD 0.3719001E+00
+ SD5        SD 0.1799000E+00
+ SD7        SD 0.4199000E+00
+ SD8        SD 0.1799000E+00
+ SD9        SD 0.4562400E+00
+ SD10       SD 0.4499000E+00
+ SD12       SD 0.4499000E+00
+ SD14       SD 0.5518000E+00
+ MOYE       SD 0.3462450E+01
+ LONG       SD 0.5979900E+01
+ SX1        SX 0.1000000E-06 -.5219486E+07 0.0000000E+00 0.0000000E+00
+ SX2        SX 0.1000000E-06 -.1700000E+08 0.0000000E+00 0.0000000E+00
+ COIE1      CO 0.9757500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ DIPE1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ DIPS1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ COIS1      CO 0.9907500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ SX3        SX 0.1000000E-06 -.3848730E+08 0.0000000E+00 0.0000000E+00
+ SX4        SX 0.1000000E-06 0.4500000E+08 0.0000000E+00 0.0000000E+00
+ CAV        CA -.3125000E+06 0.2400000E+03 0.0000000E+00 0.0000000E+00 0.0000000E+00
+               0.0000000E+00
+ SX5        SX 0.1000000E-06 -.2271919E+08 0.0000000E+00 0.0000000E+00
+ SX6        SX 0.1000000E-06 0.2430758E+08 0.0000000E+00 0.0000000E+00
+ SX7        SX 0.1000000E-06 -.2000000E+08 0.0000000E+00 0.0000000E+00
+ SX8        SX 0.1000000E-06 0.2182227E+08 0.0000000E+00 0.0000000E+00
+ BEND1      BH 0.1963500E+00 0.5360000E+01 0.0000000E+00 0.0000000E+00 0.9817500E-01
+               0.0000000E+00 0.0000000E+00 0.0000000E+00 0.9817500E-01
+ SX9        SX 0.1000000E-06 -.3604537E+08 0.0000000E+00 0.0000000E+00
+ SX10       SX 0.1000000E-06 0.4400000E+08 0.0000000E+00 0.0000000E+00
+ *** STRUCTURE ***
+   904
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG       LONG       QP1       
+ QP1        SD2        SX1        SD3        QP2        QP2       
+ SD14       QP3        QP3        SD5        SX2        SD6       
+ COIE1      DIPE1      DIPS1      COIS1      SD7        QP4       
+ QP4        SD8        SX3        SD9        QP5        QP5       
+ SD12       SX4        SD10       QP5        QP5        SD9       
+ SX3        SD8        QP4        QP4        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX5        SD4        QP7        QP7        SD3       
+ SX6        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX6       
+ SD3        QP7        QP7        SD4        SX5        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP4        QP4        SD8        SX3       
+ SD9        QP5        QP5        SD10       SX4        SD12      
+ QP5        QP5        SD9        SX3        SD8        QP4       
+ QP4        SD7        COIE1      DIPE1      DIPS1      COIS1     
+ SD6        SX2        SD5        QP3        QP3        SD14      
+ QP2        QP2        SD3        SX1        SD2        QP1       
+ QP1        LONG       LONG       QP1        QP1        SD2       
+ SX1        SD3        QP2        QP2        SD14       QP3       
+ QP3        SD5        SX2        SD6        COIE1      DIPE1     
+ DIPS1      COIS1      SD7        QP4        QP4        SD8       
+ SX3        SD9        QP5        QP5        SD12       SX4       
+ SD10       QP5        QP5        SD9        SX3        SD8       
+ QP4        QP4        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX5       
+ SD4        QP7        QP7        SD3        SX6        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX6        SD3        QP7       
+ QP7        SD4        SX5        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP4        QP4        SD8        SX3        SD9        QP5       
+ QP5        SD10       SX4        SD12       QP5        QP5       
+ SD9        SX3        SD8        QP4        QP4        SD7       
+ COIE1      DIPE1      DIPS1      COIS1      SD6        SX2       
+ SD5        QP3        QP3        SD14       QP2        QP2       
+ SD3        SX1        SD2        QP1        QP1        LONG      
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG      
+ *** PERIOD ***
+      1
+ *** OPTION ***
+ BETA
+ *** BEAM-MATRIX ***
+  1.0344714672E+01
+ -5.4968420891E-04  9.6667751004E-02
+ -5.5719906220E-15  2.9607730654E-19  7.0041749401E+00
+  0.0000000000E+00  0.0000000000E+00 -1.4693454865E-03  1.4277229903E-01
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+ *** DISPERSION ***
+  1.6044258E-01  5.3213366E-06
+  0.0000000E+00  0.0000000E+00
+ *** PARTICLE TYPE ***
+ E 
+ *** ENERGIE CINETIQUE (MeV) ***
+ 2.7500000E+03
+  0.511003435
+ *** EMITTANCE ***
+ 8.7743901E-09  0.0000000E+00  0.0000000E+00
+ *** PARAMETERS OF FIT ***
+ *** VARIABLES ***
+   10
+ SX1           2    0 0.00000E+00  0
+ SX2           2    0 0.10000E+00  0
+ SX3           2    0 0.00000E+00  0
+ SX4           2    0 0.10000E+00  0
+ SX5           2    0 0.00000E+00  0
+ SX6           2    0 0.00000E+00  0
+ SX7           2    0 0.10000E+00  0
+ SX8           2    0 0.00000E+00  0
+ SX9           2    0 0.00000E+00  0
+ SX10          2    0 0.10000E+00  0
+ *** CONSTRAINTS ***
+    9
+    3     1     1            186              0.2000000E-01 0.10000E-04   0
+    3     2     2            186              0.2000000E-01 0.10000E-04   0
+    3     7     0            186              -.2700000E+04 0.10000E+01   0
+    3     8     0            186              0.5000000E+03 0.10000E+01   0
+    3    10     0            186              -.2900000E+04 0.10000E+01   0
+    3    14     0            186              0.0000000E+00 0.10000E+00   0
+    3    15     0            186              0.0000000E+00 0.10000E+00   0
+    3    16     0            186              0.0000000E+00 0.10000E+00   0
+    3    18     0            186              0.0000000E+00 0.10000E+00   0
+ *** TABLE ***
+     4
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+ *** ENDFILE ***
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby60_nouveau_modele_dec08_opt_nonlin_1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby60_nouveau_modele_dec08_opt_nonlin_1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby60_nouveau_modele_dec08_opt_nonlin_1.m	(revision 17)
@@ -0,0 +1,436 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.8e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -0.714609*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  1.494509*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.955201*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.993042*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  1.681611*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -1.415107*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.959827*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  0.986990*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -1.284080*de , 'QuadLinearPass');
+Q10   =  quadrupole('Q10' , LQC,  1.814629*de , 'QuadLinearPass');
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  -0.495218*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.700000*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -3.858231*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  4.500000*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.280381*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.438860*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.000000*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.208606*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -3.608800*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.400000*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby60_nouveau_modele_decembre08_opt_nonlin_1
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby60_nouveau_modele_decembre08_opt_nonlin_1	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/alphaby60_nouveau_modele_decembre08_opt_nonlin_1	(revision 17)
@@ -0,0 +1,255 @@
+ *** VERSION ***
+ BETA-LNS v7.70 /26/09/08/ 11-Dec-08 17:34:13                                    
+ *** AUTHOR ***
+PB+MAT                                                                          
+ *** TITRE ***
+ alpha1 by 40 MAHER nouveau modele lineaire + sextu fins                        
+ *** LIST OF ELEMENTS ***
+    40
+ SD6        SD 0.7900000E+00
+ COURT      SD 0.1904680E+01
+ QP1        QP 0.1801000E+00 -.7146089E+00 0.0000000E+00
+ QP2        QP 0.2481000E+00 0.1494509E+01 0.0000000E+00
+ QP3        QP 0.1801000E+00 -.9552006E+00 0.0000000E+00
+ QP4        QP 0.1801000E+00 -.9930417E+00 0.0000000E+00
+ QP5        QP 0.1801000E+00 0.1681611E+01 0.0000000E+00
+ QP6        QP 0.1801000E+00 -.1415107E+01 0.0000000E+00
+ QP7        QP 0.2481000E+00 0.9598273E+00 0.0000000E+00
+ QP8        QP 0.1801000E+00 0.9869905E+00 0.0000000E+00
+ QP9        QP 0.1801000E+00 -.1284080E+01 0.0000000E+00
+ QP10       QP 0.1801000E+00 0.1814629E+01 0.0000000E+00
+ SD2        SD 0.3699000E+00
+ SD3        SD 0.1819001E+00
+ SD4        SD 0.3719001E+00
+ SD5        SD 0.1799000E+00
+ SD7        SD 0.4199000E+00
+ SD8        SD 0.1799000E+00
+ SD9        SD 0.4562400E+00
+ SD10       SD 0.4499000E+00
+ SD12       SD 0.4499000E+00
+ SD14       SD 0.5518000E+00
+ MOYE       SD 0.3462450E+01
+ LONG       SD 0.5979900E+01
+ SX1        SX 0.1000000E-06 -.4952183E+07 0.0000000E+00 0.0000000E+00
+ SX2        SX 0.1000000E-06 -.1700000E+08 0.0000000E+00 0.0000000E+00
+ COIE1      CO 0.9757500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ DIPE1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ DIPS1      DI 0.9817500E-01 0.5360000E+01 -.5860000E-01 0.0000000E+00
+ COIS1      CO 0.9907500E-01 0.5360000E+01 0.1607000E+00 0.0000000E+00 0.0000000E+00
+ SX3        SX 0.1000000E-06 -.3858231E+08 0.0000000E+00 0.0000000E+00
+ SX4        SX 0.1000000E-06 0.4500000E+08 0.0000000E+00 0.0000000E+00
+ CAV        CA -.3125000E+06 0.2400000E+03 0.0000000E+00 0.0000000E+00 0.0000000E+00
+               0.0000000E+00
+ SX5        SX 0.1000000E-06 -.2280381E+08 0.0000000E+00 0.0000000E+00
+ SX6        SX 0.1000000E-06 0.2438860E+08 0.0000000E+00 0.0000000E+00
+ SX7        SX 0.1000000E-06 -.2000000E+08 0.0000000E+00 0.0000000E+00
+ SX8        SX 0.1000000E-06 0.2208606E+08 0.0000000E+00 0.0000000E+00
+ BEND1      BH 0.1963500E+00 0.5360000E+01 0.0000000E+00 0.0000000E+00 0.9817500E-01
+               0.0000000E+00 0.0000000E+00 0.0000000E+00 0.9817500E-01
+ SX9        SX 0.1000000E-06 -.3608800E+08 0.0000000E+00 0.0000000E+00
+ SX10       SX 0.1000000E-06 0.4400000E+08 0.0000000E+00 0.0000000E+00
+ *** STRUCTURE ***
+   904
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG       LONG       QP1       
+ QP1        SD2        SX1        SD3        QP2        QP2       
+ SD14       QP3        QP3        SD5        SX2        SD6       
+ COIE1      DIPE1      DIPS1      COIS1      SD7        QP4       
+ QP4        SD8        SX3        SD9        QP5        QP5       
+ SD12       SX4        SD10       QP5        QP5        SD9       
+ SX3        SD8        QP4        QP4        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX5        SD4        QP7        QP7        SD3       
+ SX6        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX6       
+ SD3        QP7        QP7        SD4        SX5        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP4        QP4        SD8        SX3       
+ SD9        QP5        QP5        SD10       SX4        SD12      
+ QP5        QP5        SD9        SX3        SD8        QP4       
+ QP4        SD7        COIE1      DIPE1      DIPS1      COIS1     
+ SD6        SX2        SD5        QP3        QP3        SD14      
+ QP2        QP2        SD3        SX1        SD2        QP1       
+ QP1        LONG       LONG       QP1        QP1        SD2       
+ SX1        SD3        QP2        QP2        SD14       QP3       
+ QP3        SD5        SX2        SD6        COIE1      DIPE1     
+ DIPS1      COIS1      SD7        QP4        QP4        SD8       
+ SX3        SD9        QP5        QP5        SD12       SX4       
+ SD10       QP5        QP5        SD9        SX3        SD8       
+ QP4        QP4        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX5       
+ SD4        QP7        QP7        SD3        SX6        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX8        SD3        QP7        QP7        SD4       
+ SX7        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP9        QP9       
+ SD8        SX9        SD9        QP10       QP10       SD8       
+ SX10       COURT      COURT      SX10       SD8        QP10      
+ QP10       SD9        SX9        SD8        QP9        QP9       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX7        SD4        QP7       
+ QP7        SD3        SX8        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX6        SD3        QP7       
+ QP7        SD4        SX5        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP4        QP4        SD8        SX3        SD9        QP5       
+ QP5        SD10       SX4        SD12       QP5        QP5       
+ SD9        SX3        SD8        QP4        QP4        SD7       
+ COIE1      DIPE1      DIPS1      COIS1      SD6        SX2       
+ SD5        QP3        QP3        SD14       QP2        QP2       
+ SD3        SX1        SD2        QP1        QP1        LONG      
+ LONG       QP1        QP1        SD2        SX1        SD3       
+ QP2        QP2        SD14       QP3        QP3        SD5       
+ SX2        SD6        COIE1      DIPE1      DIPS1      COIS1     
+ SD7        QP4        QP4        SD8        SX3        SD9       
+ QP5        QP5        SD12       SX4        SD10       QP5       
+ QP5        SD9        SX3        SD8        QP4        QP4       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP6        QP6        SD5        SX5        SD4        QP7       
+ QP7        SD3        SX6        SD2        QP8        QP8       
+ MOYE       MOYE       QP8        QP8        SD2        SX8       
+ SD3        QP7        QP7        SD4        SX7        SD5       
+ QP6        QP6        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP9        QP9        SD8        SX9       
+ SD9        QP10       QP10       SD8        SX10       COURT     
+ COURT      SX10       SD8        QP10       QP10       SD9       
+ SX9        SD8        QP9        QP9        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP6        QP6       
+ SD5        SX7        SD4        QP7        QP7        SD3       
+ SX8        SD2        QP8        QP8        MOYE       MOYE      
+ QP8        QP8        SD2        SX8        SD3        QP7       
+ QP7        SD4        SX7        SD5        QP6        QP6       
+ SD7        COIE1      DIPE1      DIPS1      COIS1      SD7       
+ QP9        QP9        SD8        SX9        SD9        QP10      
+ QP10       SD8        SX10       COURT      COURT      SX10      
+ SD8        QP10       QP10       SD9        SX9        SD8       
+ QP9        QP9        SD7        COIE1      DIPE1      DIPS1     
+ COIS1      SD7        QP6        QP6        SD5        SX7       
+ SD4        QP7        QP7        SD3        SX8        SD2       
+ QP8        QP8        MOYE       MOYE       QP8        QP8       
+ SD2        SX6        SD3        QP7        QP7        SD4       
+ SX5        SD5        QP6        QP6        SD7        COIE1     
+ DIPE1      DIPS1      COIS1      SD7        QP4        QP4       
+ SD8        SX3        SD9        QP5        QP5        SD10      
+ SX4        SD12       QP5        QP5        SD9        SX3       
+ SD8        QP4        QP4        SD7        COIE1      DIPE1     
+ DIPS1      COIS1      SD6        SX2        SD5        QP3       
+ QP3        SD14       QP2        QP2        SD3        SX1       
+ SD2        QP1        QP1        LONG      
+ *** PERIOD ***
+      1
+ *** OPTION ***
+ BETA
+ *** BEAM-MATRIX ***
+  1.0326228252E+01
+ -5.4851226002E-04  9.6840809292E-02
+  1.0165721071E-14 -5.3855867539E-19  7.0078984283E+00
+ -5.6616408606E-21  0.0000000000E+00 -1.4761673497E-03  1.4269644306E-01
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00  0.0000000000E+00
+ *** DISPERSION ***
+  1.6045046E-01  5.3618151E-06
+  0.0000000E+00  0.0000000E+00
+ *** PARTICLE TYPE ***
+ E 
+ *** ENERGIE CINETIQUE (MeV) ***
+ 2.7500000E+03
+  0.511003435
+ *** EMITTANCE ***
+ 8.8093515E-09  2.3595064E-41  0.0000000E+00
+ *** PARAMETERS OF FIT ***
+ *** VARIABLES ***
+   10
+ SX1           2    0 0.00000E+00  0
+ SX2           2    0 0.10000E+00  0
+ SX3           2    0 0.00000E+00  0
+ SX4           2    0 0.10000E+00  0
+ SX5           2    0 0.00000E+00  0
+ SX6           2    0 0.00000E+00  0
+ SX7           2    0 0.10000E+00  0
+ SX8           2    0 0.00000E+00  0
+ SX9           2    0 0.00000E+00  0
+ SX10          2    0 0.10000E+00  0
+ *** CONSTRAINTS ***
+    9
+    3     1     1            186              0.2000000E-01 0.10000E-04   0
+    3     2     2            186              0.2000000E-01 0.10000E-04   0
+    3     7     0            186              -.2700000E+04 0.10000E+01   0
+    3     8     0            186              0.5000000E+03 0.10000E+01   0
+    3    10     0            186              -.2900000E+04 0.10000E+01   0
+    3    14     0            186              0.0000000E+00 0.10000E+00   0
+    3    15     0            186              0.0000000E+00 0.10000E+00   0
+    3    16     0            186              0.0000000E+00 0.10000E+00   0
+    3    18     0            186              0.0000000E+00 0.10000E+00   0
+ *** TABLE ***
+     4
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+/home/PM/brunelle/jupiter/insertions/solamor2/hu640/HU640_CIRC.dat              
+ *** ENDFILE ***
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/appliquer_Q.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/appliquer_Q.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/appliquer_Q.m	(revision 17)
@@ -0,0 +1,10 @@
+%% fonction appliquer
+function appliquer_Q(IQ)
+for iQ = 1:10
+    iQ
+    Name = ['Q' num2str(iQ)];
+    A = IQ(iQ);
+    %s = getfamilydata((Name));
+    %B = A * ones(length(s.DeviceList),1);
+    setsp((Name),A);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/appliquer_S.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/appliquer_S.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/appliquer_S.m	(revision 17)
@@ -0,0 +1,9 @@
+function appliquer_S(IS)
+for iS = 1:10
+    iS
+    Name = ['S' num2str(iS)];
+    A = IS(iS);
+    %s = getfamilydata((Name));
+    %B = A * ones(length(s.DeviceList),1);
+    setsp((Name),A);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/low_alpha_prep.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/low_alpha_prep.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/low_alpha_prep.m	(revision 17)
@@ -0,0 +1,359 @@
+%% addapth to lattices
+addpath /home/matlabML/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08
+
+%% lattice list
+alphaby10_nouveau_modele_dec08_opt_lin_1
+alphaby20_nouveau_modele_dec08_opt_nonlin
+alphaby30_nouveau_modele_dec08_opt_nonlin_1
+alphaby40_nouveau_modele_dec08_opt_nonlin_2
+alphaby50_nouveau_modele_dec08_opt_nonlin_1
+alphaby60_nouveau_modele_dec08_opt_nonlin_1
+alphaby100_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2
+alphaby1000_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2
+
+% lattice   alpha1 alpha2
+% Warning chromaticites not maintained close to zero (0.4) for ultra
+% low-alpha   alpha1     alpha2    xmean@1Hz  xix   xiz
+%  lattice                            µm
+%alpha/10   4.3804e-05 -3.4855e-05   -12       4.42  3.61
+%alpha/20   2.2518e-05 -1.4258e-05   -22       1.86  2.21
+%alpha/30   1.5177e-05 -4.7204e-05   -33       0.92  1.23
+%alpha/40   1.1165e-05 -5.9727e-05   -45       0.27  0.39
+%alpha/50   8.9622e-06 -5.5751e-05   -56       0.24  0.39
+%alpha/60   7.4957e-06 -5.3875e-05   -67       0.22  0.39
+
+%% New and final
+% sensitivity matrices
+[DKx DKz DtuneVal]   = modeltunesensitivity;
+
+[DSx DSz DchroVal]   = modelchrosensitivity;
+
+[QuadRmcf1 QuadRmcf2]= modelmcfsensitivity('Quad');
+
+[SextuRmcf1 SextuRmcf2]=modelmcfsensitivity('Sextu');
+
+%measbpmresp('Model','Archive');
+
+%measdisp('Model','Hardware', 'Archive','Struct');
+
+%save('Rmatrix_alphaby10_nov10', 'DtuneVal', 'DchroVal', 'QuadRmcf1', 'QuadRmcf2', 'SextuRmcf1', 'SextuRmcf2');
+
+% %% step tunes and alpha1
+% DI = pinv([DtuneVal(:,[5 7 8 10]); QuadRmcf1([5 7 8 10]); QuadRmcf2([5 7 8 10])])*[0.0 0.0 -1e-5 0]'
+% 
+% stepsp('Q5', DI(1));
+% stepsp('Q7', DI(2));
+% stepsp('Q8', DI(3));
+% stepsp('Q10', DI(4));
+% alphaby60_nouveau_modele_dec08_opt_nonlin_1
+% modeltune
+% getmcf('Model')
+% physics_mcf
+% 
+% %% step chro and alpha2
+% DI = pinv([DchroVal(:,[4 7 9]); SextuRmcf2([4 7 9])])*[0.0 0.0 0.0]'
+% stepsp('S4', DI(1));
+% stepsp('S7', DI(2));
+% stepsp('S9', DI(3));
+% modelchro
+% physics_mcf
+
+
+%%    ******** Summary for 'alphaby10_nouveau_modele_dec08_opt_lin_1' ********
+%   ******** Summary for 'alphaby10_nouveau_modele_dec08_opt_lin_1' ********
+% Quadrupole change for a change of 1 A 
+%  Q1 : Dnux =  2.93e-02 Dnuz = -2.31e-02
+%  Q2 : Dnux =  6.79e-02 Dnuz = -3.01e-02
+%  Q3 : Dnux =  1.46e-02 Dnuz = -3.88e-02
+%  Q4 : Dnux =  8.11e-03 Dnuz = -1.16e-01
+%  Q5 : Dnux =  3.60e-02 Dnuz = -4.63e-02
+%  Q6 : Dnux =  3.03e-02 Dnuz = -2.60e-01
+%  Q7 : Dnux =  2.00e-01 Dnuz = -1.44e-01
+%  Q8 : Dnux = -1.26e-01 Dnuz =  4.39e-02
+%  Q9 : Dnux =  7.55e-03 Dnuz = -1.41e-01
+% Q10 : Dnux =  3.64e-02 Dnuz = -3.40e-02
+%    ******** Summary for 'alphaby10_nouveau_modele_dec08_opt_lin_1' ********
+% Sextupole change for a change of 1 A 
+%  S1 : Dxix = -1.00e-02 Dxiz =  5.08e-03
+%  S2 : Dxix =  1.10e-03 Dxiz = -4.84e-03
+%  S3 : Dxix =  2.58e-03 Dxiz = -1.07e-02
+%  S4 : Dxix =  9.27e-03 Dxiz = -1.03e-02
+%  S5 : Dxix =  6.30e-04 Dxiz = -2.08e-03
+%  S6 : Dxix =  3.72e-03 Dxiz = -1.73e-03
+%  S7 : Dxix =  6.17e-04 Dxiz = -2.04e-03
+%  S8 : Dxix =  3.67e-03 Dxiz = -1.71e-03
+%  S9 : Dxix =  2.34e-03 Dxiz = -1.41e-02
+% S10 : Dxix =  1.02e-02 Dxiz = -5.95e-03
+%    ******** Summary for 'alphaby10_nouveau_modele_dec08_opt_lin_1' ********
+% Quadrupole change for a change of 1 A 
+%   Q1 : Delta MCF1 = -1.88e-06 Delta MCF2 = +1.81e-04
+%   Q2 : Delta MCF1 = -4.10e-06 Delta MCF2 = +3.95e-04
+%   Q3 : Delta MCF1 = -7.98e-07 Delta MCF2 = +7.48e-05
+%   Q4 : Delta MCF1 = -2.84e-06 Delta MCF2 = -1.34e-04
+%   Q5 : Delta MCF1 = -1.35e-05 Delta MCF2 = -6.39e-04
+%   Q6 : Delta MCF1 = -1.25e-08 Delta MCF2 = -2.54e-07
+%   Q7 : Delta MCF1 = -8.39e-07 Delta MCF2 = -2.09e-05
+%   Q8 : Delta MCF1 = +9.53e-07 Delta MCF2 = +2.38e-05
+%   Q9 : Delta MCF1 = -2.43e-06 Delta MCF2 = +1.27e-04
+%  Q10 : Delta MCF1 = -1.35e-05 Delta MCF2 = +6.21e-04
+%    ******** Summary for 'alphaby10_nouveau_modele_dec08_opt_lin_1' ********
+% Sextupole change for a change of 1 A 
+%   S1 : Delta MCF1 = +3.46e-13 Delta MCF2 = +3.12e-07
+%   S2 : Delta MCF1 = -2.88e-14 Delta MCF2 = -2.77e-08
+%   S3 : Delta MCF1 = -4.73e-13 Delta MCF2 = -4.96e-07
+%   S4 : Delta MCF1 = -1.67e-12 Delta MCF2 = -1.75e-06
+%   S5 : Delta MCF1 = -1.01e-14 Delta MCF2 = -8.03e-10
+%   S6 : Delta MCF1 = -4.61e-14 Delta MCF2 = -1.16e-08
+%   S7 : Delta MCF1 = +7.29e-15 Delta MCF2 = -7.53e-10
+%   S8 : Delta MCF1 = +1.03e-14 Delta MCF2 = -1.11e-08
+%   S9 : Delta MCF1 = -4.30e-13 Delta MCF2 = -4.14e-07
+%  S10 : Delta MCF1 = -1.98e-12 Delta MCF2 = -1.91e-06
+
+%%   ******** Summary for 'alphaby20_nouveau_modele_dec08_opt_nonlin' ********
+%   ******** Summary for 'alphaby20_nouveau_modele_dec08_opt_nonlin' ********
+% Quadrupole change for a change of 1 A 
+%  Q1 : Dnux =  2.87e-02 Dnuz = -2.34e-02
+%  Q2 : Dnux =  6.70e-02 Dnuz = -2.98e-02
+%  Q3 : Dnux =  1.46e-02 Dnuz = -3.77e-02
+%  Q4 : Dnux =  7.86e-03 Dnuz = -1.17e-01
+%  Q5 : Dnux =  3.48e-02 Dnuz = -4.66e-02
+%  Q6 : Dnux =  2.95e-02 Dnuz = -2.72e-01
+%  Q7 : Dnux =  1.94e-01 Dnuz = -1.55e-01
+%  Q8 : Dnux = -1.33e-01 Dnuz =  4.40e-02
+%  Q9 : Dnux =  7.16e-03 Dnuz = -1.45e-01
+% Q10 : Dnux =  3.40e-02 Dnuz = -3.47e-02
+%    ******** Summary for 'alphaby20_nouveau_modele_dec08_opt_nonlin' ********
+% Sextupole change for a change of 1 A 
+%  S1 : Dxix = -9.91e-03 Dxiz =  5.10e-03
+%  S2 : Dxix =  1.12e-03 Dxiz = -4.76e-03
+%  S3 : Dxix =  2.47e-03 Dxiz = -1.05e-02
+%  S4 : Dxix =  8.91e-03 Dxiz = -1.03e-02
+%  S5 : Dxix =  5.63e-04 Dxiz = -2.01e-03
+%  S6 : Dxix =  3.72e-03 Dxiz = -1.79e-03
+%  S7 : Dxix =  4.63e-04 Dxiz = -1.66e-03
+%  S8 : Dxix =  3.32e-03 Dxiz = -1.62e-03
+%  S9 : Dxix =  2.17e-03 Dxiz = -1.44e-02
+% S10 : Dxix =  9.41e-03 Dxiz = -6.07e-03
+%    ******** Summary for 'alphaby20_nouveau_modele_dec08_opt_nonlin' ********
+% Quadrupole change for a change of 1 A 
+%   Q1 : Delta MCF1 = -1.89e-06 Delta MCF2 = +1.69e-04
+%   Q2 : Delta MCF1 = -4.15e-06 Delta MCF2 = +3.73e-04
+%   Q3 : Delta MCF1 = -8.17e-07 Delta MCF2 = +7.12e-05
+%   Q4 : Delta MCF1 = -2.81e-06 Delta MCF2 = -1.25e-04
+%   Q5 : Delta MCF1 = -1.34e-05 Delta MCF2 = -5.99e-04
+%   Q6 : Delta MCF1 = -6.70e-09 Delta MCF2 = +1.71e-06
+%   Q7 : Delta MCF1 = -6.91e-07 Delta MCF2 = -4.93e-06
+%   Q8 : Delta MCF1 = +8.93e-07 Delta MCF2 = +1.32e-05
+%   Q9 : Delta MCF1 = -2.42e-06 Delta MCF2 = +1.21e-04
+%  Q10 : Delta MCF1 = -1.35e-05 Delta MCF2 = +5.90e-04
+%    ******** Summary for 'alphaby20_nouveau_modele_dec08_opt_nonlin' ********
+% Sextupole change for a change of 1 A 
+%   S1 : Delta MCF1 = +3.41e-13 Delta MCF2 = +3.16e-07
+%   S2 : Delta MCF1 = -3.12e-14 Delta MCF2 = -2.87e-08
+%   S3 : Delta MCF1 = -4.65e-13 Delta MCF2 = -4.90e-07
+%   S4 : Delta MCF1 = -1.63e-12 Delta MCF2 = -1.72e-06
+%   S5 : Delta MCF1 = -7.71e-15 Delta MCF2 = -6.26e-10
+%   S6 : Delta MCF1 = -3.56e-14 Delta MCF2 = -1.09e-08
+%   S7 : Delta MCF1 = +5.86e-15 Delta MCF2 = -3.97e-10
+%   S8 : Delta MCF1 = +1.26e-14 Delta MCF2 = -8.22e-09
+%   S9 : Delta MCF1 = -4.25e-13 Delta MCF2 = -4.12e-07
+%  S10 : Delta MCF1 = -1.97e-12 Delta MCF2 = -1.91e-06
+  
+%%   ******** Summary for 'alphaby30_nouveau_modele_dec08_opt_nonlin_1' ********
+%    ******** Summary for 'alphaby30_nouveau_modele_dec08_opt_nonlin_1' ********
+% Quadrupole change for a change of 1 A 
+%  Q1 : Dnux =  2.81e-02 Dnuz = -2.31e-02
+%  Q2 : Dnux =  6.57e-02 Dnuz = -2.99e-02
+%  Q3 : Dnux =  1.43e-02 Dnuz = -3.85e-02
+%  Q4 : Dnux =  7.56e-03 Dnuz = -1.19e-01
+%  Q5 : Dnux =  3.33e-02 Dnuz = -4.72e-02
+%  Q6 : Dnux =  2.94e-02 Dnuz = -2.76e-01
+%  Q7 : Dnux =  1.93e-01 Dnuz = -1.59e-01
+%  Q8 : Dnux = -1.37e-01 Dnuz =  4.42e-02
+%  Q9 : Dnux =  7.12e-03 Dnuz = -1.47e-01
+% Q10 : Dnux =  3.38e-02 Dnuz = -3.50e-02
+%    ******** Summary for 'alphaby30_nouveau_modele_dec08_opt_nonlin_1' ********
+% Sextupole change for a change of 1 A 
+%  S1 : Dxix = -9.56e-03 Dxiz =  5.01e-03
+%  S2 : Dxix =  1.08e-03 Dxiz = -4.76e-03
+%  S3 : Dxix =  2.39e-03 Dxiz = -1.07e-02
+%  S4 : Dxix =  8.58e-03 Dxiz = -1.05e-02
+%  S5 : Dxix =  4.77e-04 Dxiz = -1.77e-03
+%  S6 : Dxix =  3.44e-03 Dxiz = -1.71e-03
+%  S7 : Dxix =  4.52e-04 Dxiz = -1.67e-03
+%  S8 : Dxix =  3.35e-03 Dxiz = -1.66e-03
+%  S9 : Dxix =  2.19e-03 Dxiz = -1.46e-02
+% S10 : Dxix =  9.45e-03 Dxiz = -6.15e-03
+%    ******** Summary for 'alphaby30_nouveau_modele_dec08_opt_nonlin_1' ********
+% Quadrupole change for a change of 1 A 
+%   Q1 : Delta MCF1 = -1.84e-06 Delta MCF2 = +1.52e-04
+%   Q2 : Delta MCF1 = -4.02e-06 Delta MCF2 = +3.33e-04
+%   Q3 : Delta MCF1 = -7.86e-07 Delta MCF2 = +6.29e-05
+%   Q4 : Delta MCF1 = -2.84e-06 Delta MCF2 = -1.14e-04
+%   Q5 : Delta MCF1 = -1.36e-05 Delta MCF2 = -5.49e-04
+%   Q6 : Delta MCF1 = -5.07e-09 Delta MCF2 = +1.79e-07
+%   Q7 : Delta MCF1 = -6.33e-07 Delta MCF2 = -1.43e-05
+%   Q8 : Delta MCF1 = +8.64e-07 Delta MCF2 = +2.00e-05
+%   Q9 : Delta MCF1 = -2.41e-06 Delta MCF2 = +1.16e-04
+%  Q10 : Delta MCF1 = -1.35e-05 Delta MCF2 = +5.64e-04
+%    ******** Summary for 'alphaby30_nouveau_modele_dec08_opt_nonlin_1' ********
+% Sextupole change for a change of 1 A 
+%   S1 : Delta MCF1 = +3.26e-13 Delta MCF2 = +3.02e-07
+%   S2 : Delta MCF1 = -3.10e-14 Delta MCF2 = -2.70e-08
+%   S3 : Delta MCF1 = -4.76e-13 Delta MCF2 = -5.00e-07
+%   S4 : Delta MCF1 = -1.67e-12 Delta MCF2 = -1.76e-06
+%   S5 : Delta MCF1 = -6.80e-15 Delta MCF2 = -4.21e-10
+%   S6 : Delta MCF1 = -2.66e-14 Delta MCF2 = -8.90e-09
+%   S7 : Delta MCF1 = +5.26e-15 Delta MCF2 = -3.78e-10
+%   S8 : Delta MCF1 = +8.78e-15 Delta MCF2 = -8.28e-09
+%   S9 : Delta MCF1 = -4.21e-13 Delta MCF2 = -4.13e-07
+%  S10 : Delta MCF1 = -1.97e-12 Delta MCF2 = -1.91e-06
+
+%%    ******** Summary for 'alphaby40_nouveau_modele_dec08_opt_nonlin_2' ********
+%   ******** Summary for 'alphaby40_nouveau_modele_dec08_opt_nonlin_2' ********
+% Quadrupole change for a change of 1 A 
+%  Q1 : Dnux =  2.78e-02 Dnuz = -2.31e-02
+%  Q2 : Dnux =  6.54e-02 Dnuz = -2.98e-02
+%  Q3 : Dnux =  1.43e-02 Dnuz = -3.82e-02
+%  Q4 : Dnux =  7.48e-03 Dnuz = -1.19e-01
+%  Q5 : Dnux =  3.29e-02 Dnuz = -4.71e-02
+%  Q6 : Dnux =  2.93e-02 Dnuz = -2.77e-01
+%  Q7 : Dnux =  1.91e-01 Dnuz = -1.62e-01
+%  Q8 : Dnux = -1.39e-01 Dnuz =  4.43e-02
+%  Q9 : Dnux =  7.05e-03 Dnuz = -1.47e-01
+% Q10 : Dnux =  3.33e-02 Dnuz = -3.50e-02
+%    ******** Summary for 'alphaby40_nouveau_modele_dec08_opt_nonlin_2' ********
+% Sextupole change for a change of 1 A 
+%  S1 : Dxix = -9.46e-03 Dxiz =  4.97e-03
+%  S2 : Dxix =  1.08e-03 Dxiz = -4.71e-03
+%  S3 : Dxix =  2.36e-03 Dxiz = -1.06e-02
+%  S4 : Dxix =  8.48e-03 Dxiz = -1.05e-02
+%  S5 : Dxix =  4.52e-04 Dxiz = -1.70e-03
+%  S6 : Dxix =  3.39e-03 Dxiz = -1.70e-03
+%  S7 : Dxix =  4.29e-04 Dxiz = -1.62e-03
+%  S8 : Dxix =  3.30e-03 Dxiz = -1.66e-03
+%  S9 : Dxix =  2.16e-03 Dxiz = -1.47e-02
+% S10 : Dxix =  9.33e-03 Dxiz = -6.15e-03
+%    ******** Summary for 'alphaby40_nouveau_modele_dec08_opt_nonlin_2' ********
+% Quadrupole change for a change of 1 A 
+%   Q1 : Delta MCF1 = -1.82e-06 Delta MCF2 = +1.48e-04
+%   Q2 : Delta MCF1 = -3.99e-06 Delta MCF2 = +3.27e-04
+%   Q3 : Delta MCF1 = -7.80e-07 Delta MCF2 = +6.17e-05
+%   Q4 : Delta MCF1 = -2.85e-06 Delta MCF2 = -1.13e-04
+%   Q5 : Delta MCF1 = -1.36e-05 Delta MCF2 = -5.43e-04
+%   Q6 : Delta MCF1 = -4.48e-09 Delta MCF2 = +1.20e-07
+%   Q7 : Delta MCF1 = -6.04e-07 Delta MCF2 = -1.42e-05
+%   Q8 : Delta MCF1 = +8.50e-07 Delta MCF2 = +2.01e-05
+%   Q9 : Delta MCF1 = -2.41e-06 Delta MCF2 = +1.15e-04
+%  Q10 : Delta MCF1 = -1.35e-05 Delta MCF2 = +5.60e-04
+%    ******** Summary for 'alphaby40_nouveau_modele_dec08_opt_nonlin_2' ********
+% Sextupole change for a change of 1 A 
+%   S1 : Delta MCF1 = +3.21e-13 Delta MCF2 = +2.97e-07
+%   S2 : Delta MCF1 = -2.63e-14 Delta MCF2 = -2.67e-08
+%   S3 : Delta MCF1 = -4.77e-13 Delta MCF2 = -5.02e-07
+%   S4 : Delta MCF1 = -1.67e-12 Delta MCF2 = -1.77e-06
+%   S5 : Delta MCF1 = -5.55e-15 Delta MCF2 = -3.74e-10
+%   S6 : Delta MCF1 = -2.71e-14 Delta MCF2 = -8.46e-09
+%   S7 : Delta MCF1 = +5.66e-15 Delta MCF2 = -3.43e-10
+%   S8 : Delta MCF1 = +9.86e-15 Delta MCF2 = -7.96e-09
+%   S9 : Delta MCF1 = -4.24e-13 Delta MCF2 = -4.13e-07
+%  S10 : Delta MCF1 = -1.97e-12 Delta MCF2 = -1.91e-06
+ 
+%%   ******** Summary for 'alphaby50_nouveau_modele_dec08_opt_nonlin_1' ********
+%    ******** Summary for 'alphaby50_nouveau_modele_dec08_opt_nonlin_1' ********
+% Quadrupole change for a change of 1 A 
+%  Q1 : Dnux =  2.77e-02 Dnuz = -2.31e-02
+%  Q2 : Dnux =  6.53e-02 Dnuz = -2.98e-02
+%  Q3 : Dnux =  1.43e-02 Dnuz = -3.82e-02
+%  Q4 : Dnux =  7.44e-03 Dnuz = -1.19e-01
+%  Q5 : Dnux =  3.27e-02 Dnuz = -4.71e-02
+%  Q6 : Dnux =  2.92e-02 Dnuz = -2.78e-01
+%  Q7 : Dnux =  1.90e-01 Dnuz = -1.63e-01
+%  Q8 : Dnux = -1.40e-01 Dnuz =  4.43e-02
+%  Q9 : Dnux =  7.02e-03 Dnuz = -1.47e-01
+% Q10 : Dnux =  3.31e-02 Dnuz = -3.50e-02
+%    ******** Summary for 'alphaby50_nouveau_modele_dec08_opt_nonlin_1' ********
+% Sextupole change for a change of 1 A 
+%  S1 : Dxix = -9.43e-03 Dxiz =  4.97e-03
+%  S2 : Dxix =  1.08e-03 Dxiz = -4.70e-03
+%  S3 : Dxix =  2.34e-03 Dxiz = -1.06e-02
+%  S4 : Dxix =  8.42e-03 Dxiz = -1.05e-02
+%  S5 : Dxix =  4.41e-04 Dxiz = -1.68e-03
+%  S6 : Dxix =  3.37e-03 Dxiz = -1.70e-03
+%  S7 : Dxix =  4.15e-04 Dxiz = -1.58e-03
+%  S8 : Dxix =  3.27e-03 Dxiz = -1.65e-03
+%  S9 : Dxix =  2.15e-03 Dxiz = -1.47e-02
+% S10 : Dxix =  9.27e-03 Dxiz = -6.16e-03
+%    ******** Summary for 'alphaby50_nouveau_modele_dec08_opt_nonlin_1' ********
+% Quadrupole change for a change of 1 A 
+%   Q1 : Delta MCF1 = -1.81e-06 Delta MCF2 = +1.55e-04
+%   Q2 : Delta MCF1 = -3.98e-06 Delta MCF2 = +3.42e-04
+%   Q3 : Delta MCF1 = -7.79e-07 Delta MCF2 = +6.46e-05
+%   Q4 : Delta MCF1 = -2.85e-06 Delta MCF2 = -1.18e-04
+%   Q5 : Delta MCF1 = -1.36e-05 Delta MCF2 = -5.66e-04
+%   Q6 : Delta MCF1 = -4.22e-09 Delta MCF2 = +1.82e-07
+%   Q7 : Delta MCF1 = -5.89e-07 Delta MCF2 = -1.33e-05
+%   Q8 : Delta MCF1 = +8.42e-07 Delta MCF2 = +1.94e-05
+%   Q9 : Delta MCF1 = -2.41e-06 Delta MCF2 = +1.17e-04
+%  Q10 : Delta MCF1 = -1.35e-05 Delta MCF2 = +5.69e-04
+%    ******** Summary for 'alphaby50_nouveau_modele_dec08_opt_nonlin_1' ********
+% Sextupole change for a change of 1 A 
+%   S1 : Delta MCF1 = +3.20e-13 Delta MCF2 = +2.97e-07
+%   S2 : Delta MCF1 = -2.99e-14 Delta MCF2 = -2.67e-08
+%   S3 : Delta MCF1 = -4.76e-13 Delta MCF2 = -5.02e-07
+%   S4 : Delta MCF1 = -1.67e-12 Delta MCF2 = -1.77e-06
+%   S5 : Delta MCF1 = -5.48e-15 Delta MCF2 = -3.64e-10
+%   S6 : Delta MCF1 = -2.78e-14 Delta MCF2 = -8.35e-09
+%   S7 : Delta MCF1 = +5.71e-15 Delta MCF2 = -3.28e-10
+%   S8 : Delta MCF1 = +1.40e-14 Delta MCF2 = -7.80e-09
+%   S9 : Delta MCF1 = -4.21e-13 Delta MCF2 = -4.13e-07
+%  S10 : Delta MCF1 = -1.97e-12 Delta MCF2 = -1.91e-06
+ 
+%%  ******** Summary for 'alphaby60_nouveau_modele_dec08_opt_nonlin_1' ********
+% Quadrupole change for a change of 1 A 
+%  Q1 : Dnux =  2.77e-02 Dnuz = -2.31e-02
+%  Q2 : Dnux =  6.52e-02 Dnuz = -2.98e-02
+%  Q3 : Dnux =  1.42e-02 Dnuz = -3.82e-02
+%  Q4 : Dnux =  7.42e-03 Dnuz = -1.19e-01
+%  Q5 : Dnux =  3.25e-02 Dnuz = -4.71e-02
+%  Q6 : Dnux =  2.91e-02 Dnuz = -2.79e-01
+%  Q7 : Dnux =  1.90e-01 Dnuz = -1.64e-01
+%  Q8 : Dnux =  1.44e-01 Dnuz = -4.54e-02
+%  Q9 : Dnux =  7.01e-03 Dnuz = -1.47e-01
+% Q10 : Dnux =  3.30e-02 Dnuz = -3.50e-02
+%    ******** Summary for 'alphaby60_nouveau_modele_dec08_opt_nonlin_1' ********
+% Sextupole change for a change of 1 A 
+%  S1 : Dxix = -9.42e-03 Dxiz =  4.97e-03
+%  S2 : Dxix =  1.08e-03 Dxiz = -4.71e-03
+%  S3 : Dxix =  2.34e-03 Dxiz = -1.06e-02
+%  S4 : Dxix =  8.39e-03 Dxiz = -1.05e-02
+%  S5 : Dxix =  4.33e-04 Dxiz = -1.66e-03
+%  S6 : Dxix =  3.35e-03 Dxiz = -1.69e-03
+%  S7 : Dxix =  4.03e-04 Dxiz = -1.55e-03
+%  S8 : Dxix =  3.25e-03 Dxiz = -1.64e-03
+%  S9 : Dxix =  2.15e-03 Dxiz = -1.47e-02
+% S10 : Dxix =  9.24e-03 Dxiz = -6.16e-03
+%    ******** Summary for 'alphaby60_nouveau_modele_dec08_opt_nonlin_1' ********
+% Quadrupole change for a change of 1 A 
+%   Q1 : Delta MCF1 = -1.81e-06 Delta MCF2 = +1.56e-04
+%   Q2 : Delta MCF1 = -3.98e-06 Delta MCF2 = +3.44e-04
+%   Q3 : Delta MCF1 = -7.79e-07 Delta MCF2 = +6.52e-05
+%   Q4 : Delta MCF1 = -2.85e-06 Delta MCF2 = -1.19e-04
+%   Q5 : Delta MCF1 = -1.36e-05 Delta MCF2 = -5.70e-04
+%   Q6 : Delta MCF1 = -4.05e-09 Delta MCF2 = +2.07e-07
+%   Q7 : Delta MCF1 = -5.77e-07 Delta MCF2 = -1.29e-05
+%   Q8 : Delta MCF1 = -8.56e-07 Delta MCF2 = -1.96e-05
+%   Q9 : Delta MCF1 = -2.41e-06 Delta MCF2 = +1.17e-04
+%  Q10 : Delta MCF1 = -1.35e-05 Delta MCF2 = +5.69e-04
+%    ******** Summary for 'alphaby60_nouveau_modele_dec08_opt_nonlin_1' ********
+% Sextupole change for a change of 1 A 
+%   S1 : Delta MCF1 = +3.20e-13 Delta MCF2 = +2.97e-07
+%   S2 : Delta MCF1 = -3.02e-14 Delta MCF2 = -2.66e-08
+%   S3 : Delta MCF1 = -4.73e-13 Delta MCF2 = -5.03e-07
+%   S4 : Delta MCF1 = -1.66e-12 Delta MCF2 = -1.77e-06
+%   S5 : Delta MCF1 = -4.88e-15 Delta MCF2 = -3.48e-10
+%   S6 : Delta MCF1 = -3.12e-14 Delta MCF2 = -8.21e-09
+%   S7 : Delta MCF1 = +5.76e-15 Delta MCF2 = -3.14e-10
+%   S8 : Delta MCF1 = +1.72e-14 Delta MCF2 = -7.65e-09
+%   S9 : Delta MCF1 = -4.23e-13 Delta MCF2 = -4.14e-07
+%  S10 : Delta MCF1 = -1.97e-12 Delta MCF2 = -1.91e-06
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_cal_lowalphaMAHER_Linterm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_cal_lowalphaMAHER_Linterm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_cal_lowalphaMAHER_Linterm.m	(revision 17)
@@ -0,0 +1,1013 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        %%%%
+        coeffQ = 0e-3 ; %0e-3  ;     %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602 ; %0.3539 ;    %  0.3696   % 0.3539;   %  0.3695814 ;  %  0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; %0.4917 ;    %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        switch upper(deblank(MagnetCoreType))
+
+             
+            
+            case 'BEND'   
+                % Moyenne des longueurs magnï¿œtiques mesurï¿œes = 1055.548mm
+                % DÃ©calage en champ entre le dipï¿œle de rÃ©fÃ©rence et les
+                % dipï¿œles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'ï¿œtalonnage B(I) effectuï¿œ sur le dipï¿œle de
+                % rï¿œfï¿œrence dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent ï¿œtre affectï¿œs du facteur
+                % (1-1.8e-3) pour passer du dipï¿œle de rï¿œfï¿œrence ï¿œ l'Anneau
+                % et du facteur Leff pour passer ï¿œ l'intï¿œgrale de champ.
+                % 
+                
+                % B=1.7063474 T correspond ï¿œ 2.75 GeV 
+                % ?  longueur magnÃ©tique du model : Leff = 1.052433;
+%                 Leff=1.055548;
+%                 a7= 0.0;
+%                 a6=-0.0;
+%                 a5= 0.0;
+%                 a4=-0.0;
+%                 a3= 0.0;
+%                 a2=-9.7816E-6*(1-1.8e-3)*Leff;
+%                 a1= 1.26066E-02*(1-1.8E-3)*Leff;
+%                 a0= -2.24944*(1-1.8E-3)*Leff;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'Q3','Q4'}  
+                % Familles Q1 et Q6 l= 320 mm 
+                % Etalonnage GL(I) sur 90 - 150 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q1 et Q6 dï¿œfocalisants
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                % Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-coeffQ);
+                % Find the current from the given polynomial for B'Leff
+                Leff=LtotQC;
+                
+                a7=  0.0; % old Q6 Q1 nominal
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.6291E-6*(-1)*(1.003)*bob;
+                a1=  2.7836E-2*(1.003)*bob;
+                a0=  6.4464E-3*(-1)*(1.003)*bob;
+
+  % ancien ï¿œtalonnage               
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -8.6E-7*(-1)*(1.003)*bob;
+%                 a1=  2.7664E-2*(1.003)*bob;
+%                 a0=  -3.3E-3*(-1)*(1.003)*bob;
+
+          
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad';
+                
+             case {'Q6'}  
+                % Familles Q8 et Q9 l= 320 mm 
+                % Etalonnage GL(I) sur 160 - 200 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q8 et Q9 dï¿œfocalisants
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                % Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-coeffQ);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=LtotQC; % old Q9 nominal
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -1.2923E-7*(1.003)*bob;
+                a2=  5.8239E-5*(-1)*(1.003)*bob;
+                a1=  1.8473E-2*(1.003)*bob;
+                a0=  5.0028E-1*(-1)*(1.003)*bob;
+                
+% %                 a7=  0.0;
+% %                 a6=  0.0;
+% %                 a5=  0.0;
+% %                 a4=  0.0;
+% %                 a3=  -8.843E-8*(1.003)*bob;
+% %                 a2=  3.6389E-5*(-1)*(1.003)*bob;
+% %                 a1=  2.2448E-2*(1.003)*bob;
+% %                 a0=  2.382E-1*(-1)*(1.003)*bob;  
+
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad';  
+                
+            case {'Q1'}  
+                % Famille Q3 l= 320 mm 
+                % Etalonnage GL(I) sur 50 - 100 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q3 est dï¿œfocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-coeffQ);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=LtotQC;
+                a7=  0.0; % old Q3
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.;
+                a2=  -1.6947E-7*(-1)*(1.003)*bob;
+                a1=  2.7565E-2*(+1)*(1.003)*bob;
+                a0=  1.9108E-2*(-1)*(1.003)*bob;
+
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.;
+%                 a2=  1.4E-7*(-1)*(1.003)*bob;
+%                 a1=  2.7471E-2*(1.003)*bob;
+%                 a0=  5.83E-3*(-1)*(1.003)*bob;
+
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad'; 
+      
+                case {'Q8'}  
+                % Famille Q3 l= 320 mm 
+                % Etalonnage GL(I) sur 50 - 100 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q3 est dï¿œfocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-coeffQ);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.;
+                a2=  -1.6947E-7*(+1)*(1.003)*bob;
+                a1=  2.7565E-2*(-1)*(1.003)*bob;
+                a0=  1.9108E-2*(+1)*(1.003)*bob;
+
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.;
+%                 a2=  1.4E-7*(-1)*(1.003)*bob;
+%                 a1=  2.7471E-2*(1.003)*bob;
+%                 a0=  5.83E-3*(-1)*(1.003)*bob;
+
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad'; 
+                
+             case {'Q9'}  
+                % Famille Q4 l= 320 mm 
+                % Etalonnage GL(I) sur 120 - 170 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q4 est dï¿œfocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-coeffQ);
+                
+                % Find the current from the given polynomial for B'Leff
+                Leff=LtotQC; % old Q4 nominal
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -4.1218E-8*(1.003)*bob;
+                a2=  1.4210E-5*(-1)*(1.003)*bob;
+                a1=  2.5819E-2*(1.003)*bob;
+                a0=  9.1648E-2*(-1)*(1.003)*bob;
+                
+% %                 a7=  0.0;
+% %                 a6=  0.0;
+% %                 a5=  0.0;
+% %                 a4=  0.0;
+% %                 a3=  -5.2680E-8*(1.003)*bob;
+% %                 a2=  1.9620E-5*(-1)*(1.003)*bob;
+% %                 a1=  2.5016E-2*(1.003)*bob;
+% %                 a0=  1.1046E-1*(-1)*(1.003)*bob;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad'; 
+                
+            case {'Q5','Q10'}   % 320 mm quadrupole
+                 % Familles Q5 et Q10 l= 320 mm 
+                % Etalonnage GL(I) sur 180 - 230 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q5 et Q10 sont
+                % focalisants
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-coeffQ);
+                
+                % Find the current from the given polynomial for B'Leff
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -1.016107E-08*(1.003)*bob;
+                a3=  7.728562E-06*(1.003)*bob;
+                a2=  -2.220046E-03*(1.003)*bob;
+                a1=  3.119852E-01*(1.003)*bob;
+                a0=  -1.367539E+01*(1.003)*bob;
+                
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  -8.0497E-09*(1.003)*bob;
+%                 a3= 6.01284E-06*(1.003)*bob;
+%                 a2=  -1.696898E-03*(1.003)*bob;
+%                 a1=  2.41175E-01*(1.003)*bob;
+%                 a0=  -1.01064E+01*(1.003)*bob;                
+                
+                  A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';    
+                    
+            case {'Q2'}   % l= 460 mm 
+                % quadrupï¿œle focalisant
+                % Etalonnage GL(I) sur 140 - 190 A quadrupï¿œle long
+                
+                
+                %Correction des coefficients des QL de + 1.55 10-2 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-coeffQ);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5= -0.0;
+                a4=  0.0;
+                a3= -2.58099E-7*(1.0155)*bob;
+                a2=  1.070688E-4*(1.0155)*bob;
+                a1=  2.938E-2*(1.0155)*bob;
+                a0=  7.6201E-1*(1.0155)*bob;
+                
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5= -0.0;
+%                 a4=  0.0;
+%                 a3= -2.7609E-7*(1.0155)*bob;
+%                 a2=  1.17098E-4*(1.0155)*bob;
+%                 a1=  2.7718E-2*(1.0155)*bob;
+%                 a0=  8.2470E-1*(1.0155)*bob;                
+                          
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad';
+
+            case {'Q7'}   % l= 460 mm 
+                % quadrupï¿œle focalisant
+                % Etalonnage GL(I) sur 190 - 230 A quadrupï¿œle long
+                
+                %Correction des coefficients des QL de + 1.55 10-2 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-coeffQ);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -3.00540384E-06*(1.0155)*bob;
+                a1=  4.5165446E-02*(1.0155)*bob;
+                a0=  8.27807998E-04*(1.0155)*bob;
+                
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5= 1.50427350E-9*(1.0155)*bob;
+%                 a4=  -1.52722610E-6*(1.0155)*bob;
+%                 a3= 6.16874120E-4*(1.0155)*bob;
+%                 a2=  -1.24044936E-1*(1.0155)*bob;
+%                 a1=  1.24707096E+01*(1.0155)*bob;
+%                 a0=  -4.96304380E+02*(1.0155)*bob;                
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad';
+
+                % Sextupï¿œles : on multiplie les coefficients par 2 car ils
+                % sont exprimï¿œs en B"L et non B"L/2
+                
+            case {'S1'}    
+                % l= 160 mm focalisants
+                % Etalonnage HL(I) sur 40 - 160 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  (-1)*-3.773E-6; % maille MAHER S1 retournï¿œ
+                a1=  (-1)*1.5476E-1;
+                a0=  (-1)*2.36991E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+                
+            case {'S2','S5','S7'}    
+                % l= 160 mm dï¿œfocalisants
+                % Etalonnage HL(I) sur 80 - 250 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -2.6735E-8;   % anciennement intervalle de S3 S9
+                a2=  5.8793E-6*(-1);
+                a1=  1.5364E-1;
+                a0=  2.7867E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+             case {'S6','S8'}    
+                % l= 160 mm focalisant
+                % Etalonnage HL(I) sur 80 - 250 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -2.6735E-8; % anciennement intervalle de S6 seulement
+                a2=  5.8793E-6;
+                a1=  1.5364E-1;
+                a0=  2.7867E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+                
+              case {'S4','S10'}    
+                % l= 160 mm focalisants
+                % Etalonnage HL(I) sur 170 - 300 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -8.8836E-10; % anicennement S4 S8
+                a3=  7.1089E-7;
+                a2=  -2.2277E-4;
+                a1=  1.8501E-1;
+                a0=  -1.329;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+             case {'S3','S9'}    
+                % l= 160 mm dï¿œfocalisants
+                % Etalonnage HL(I) sur 170 - 300 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -8.8836E-10*(-1);  % anciennement S5 S2
+                a3=  7.1089E-7;
+                a2=  -2.2277E-4*(-1);
+                a1=  1.8501E-1;
+                a0=  -1.329*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';    
+        
+%               case {'S7'}    
+%                 % l= 160 mm dï¿œfocalisant
+%                 % Etalonnage HL(I) sur 250 - 350 A
+%                 % Find the current from the given polynomial for B''Leff
+%                 Leff=1e-8; % modeled as thin length;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  -2.613556E-10;
+%                 a4=  3.730258E-7*(-1);
+%                 a3=  -2.1301205E-4;
+%                 a2=  6.077561E-2*(-1);
+%                 a1=  -8.5069349;
+%                 a0=  4.933E+2*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT'; 
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_calib_new_modele_low_alpha_janv2010.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_calib_new_modele_low_alpha_janv2010.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_calib_new_modele_low_alpha_janv2010.m	(revision 17)
@@ -0,0 +1,982 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC =  0.3602 ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q1'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q3','Q4'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=  2.78608E-2*(1.003)*bob;
+                a0=  4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q8'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE - pour le courant MAIS POLARITE + pour le gradient
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(1.003)*bob;
+                a1=  2.78608E-2*(-1)*(1.003)*bob;
+                a0=  4.86245E-3*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q6', 'Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=  3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q10','Q5'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=  4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+               case {'Q2'} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.70168E-6*(1.0155)*bob;
+                a1=  4.55728E-2*(1.0155)*bob;
+                a0=  -2.30870E-2*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                 case {'Q7'} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 80 et 135A
+%                 % POLARITE + 
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -2.55217E-6*(1.0155)*bob;
+                a1=  4.50695E-2*(1.0155)*bob;
+                a0=  6.10246E-3*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.92014E-5*(1.0155)*bob;
+%                 a1=  4.99176E-2*(1.0155)*bob;
+%                 a0=  -3.48990E-1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+              
+%                 case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  -2.41754E-8*(1.0155)*bob;
+%                 a3=  1.69646E-5*(1.0155)*bob;
+%                 a2=  -4.49256E-3*(1.0155)*bob;
+%                 a1=  5.75113E-1*(1.0155)*bob;
+%                 a0=  -2.35068E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+
+            case{'S1', 'S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+                % POLARITE (courant) + mais H - car alimentation sextupole "retournï¿œe"
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  (-1)*-5.7905804E-6;
+                a1=  (-1)* 1.5465642E-1;
+                a0=  (-1)*2.4064497E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S2'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  (-1)*-2.8698688E-6;
+                a1=   1.5442027E-1;
+                a0=  (-1)*2.4480159E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S5','S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S6','S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -6.1567262E-6;
+%                 a1=   1.5520734E-1;
+%                 a0=   1.9694261E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S3','S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.3881816E-5;
+%                 a1=   1.5827135E-1;
+%                 a0=  -1.0713717E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE -
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5*(-1);
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case {'S4','S10'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE +
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5;
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';          
+
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_calib_new_modele_low_alpha_oct2010_auto1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_calib_new_modele_low_alpha_oct2010_auto1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/magnetcoefficients_new_calib_new_modele_low_alpha_oct2010_auto1.m	(revision 17)
@@ -0,0 +1,984 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+% ON A RAJOUTE LA FAMILLE S11 (janvier 2011)
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents déduits de
+% l'étalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentés.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents déduits de
+% l'étalonnage en courant utilisant les vraies valeurs des courants + répartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - répartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliqué sur le premier faisceau
+        LtotQC =  0.3602 ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q1'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q3','Q4'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=  2.78608E-2*(1.003)*bob;
+                a0=  4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q8'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE - pour le courant MAIS POLARITE + pour le gradient
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(1.003)*bob;
+                a1=  2.78608E-2*(-1)*(1.003)*bob;
+                a0=  4.86245E-3*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q6', 'Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=  3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q10','Q5'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=  4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+               case {'Q2'} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.70168E-6*(1.0155)*bob;
+                a1=  4.55728E-2*(1.0155)*bob;
+                a0=  -2.30870E-2*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                 case {'Q7'} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 80 et 135A
+%                 % POLARITE + 
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -2.55217E-6*(1.0155)*bob;
+                a1=  4.50695E-2*(1.0155)*bob;
+                a0=  6.10246E-3*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.92014E-5*(1.0155)*bob;
+%                 a1=  4.99176E-2*(1.0155)*bob;
+%                 a0=  -3.48990E-1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+              
+%                 case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  -2.41754E-8*(1.0155)*bob;
+%                 a3=  1.69646E-5*(1.0155)*bob;
+%                 a2=  -4.49256E-3*(1.0155)*bob;
+%                 a1=  5.75113E-1*(1.0155)*bob;
+%                 a0=  -2.35068E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+                
+                % ON A RAJOUTE LA FAMILLE S11 (janvier 2011)
+
+            case{'S1','S11','S2'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+                % POLARITE (courant) + mais H - car alimentation sextupole "retournée"
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  (-1)*-5.7905804E-6;
+                a1=  (-1)* 1.5465642E-1;
+                a0=  (-1)*2.4064497E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+                % POLARITE -
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  (-1)*-2.8698688E-6;
+%                 a1=   1.5442027E-1;
+%                 a0=  (-1)*2.4480159E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S5','S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S6','S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -6.1567262E-6;
+%                 a1=   1.5520734E-1;
+%                 a0=   1.9694261E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S3','S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case {'S4','S10'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE -
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5*(-1);
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5;
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';          
+
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/toto.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/toto.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowalpha_dec08/toto.m	(revision 17)
@@ -0,0 +1,175 @@
+function run15decembre08
+
+%% DEFINITION DES VALEURS DE COURANT Q ET S
+
+% alphaby10
+
+IQ10 = [  -82.9650  148.9879 -114.2645 -119.1887  201.2604 -175.5612  121.0107   81.7758 -154.9695  217.9303 ];
+
+IS10 = [  24.4811  -99.0941 -229.7569  266.4587 -133.3639  144.5484 -116.8993  132.9682 -218.2526  260.3938];
+
+% alphaby20
+
+IQ20 = [  -84.4498  149.0530 -111.5045 -118.4300  201.4291 -172.7899  107.6342  100.7885 -153.4449  218.3537  ];
+
+IS20 = [  24.4811  -99.0941 -229.7569  266.4587 -133.3639  144.5484 -116.8993  132.9682 -218.2526  260.3938];
+
+% alphaby30
+
+IQ30 = [ -83.8828  149.2383 -113.4019 -118.4225  201.5454 -170.4938  101.9189  108.1872 -153.6022  218.5726 ];
+
+IS30 = [  28.5769  -99.0941 -223.7643  266.4587 -127.4202  140.1915 -116.8993  126.6359 -217.7679  260.3938 ];
+
+% alphaby40
+
+IQ40 = [  -84.5960  149.5563 -113.2614 -118.1814  201.5609 -169.6577   98.8093  112.1658 -153.2026  218.6095 ];
+
+IS40 = [ 31.7265  -99.0941 -223.9622  266.4587 -129.2957  141.8893 -116.8993  125.8615 -214.4666  260.3938 ];
+
+% alphaby50
+
+IQ50 = [ -84.7413  149.6209 -113.2523 -118.0724  201.5714 -169.1231   97.0450  114.3854 -153.0419  218.6456 ];
+
+IS50 = [ 29.3099  -99.0941 -227.1668  266.4587 -133.0502  142.4918 -116.8993  127.7213 -212.5219  260.3938 ];
+
+% alphaby60
+
+IQ60 = [ -84.6258  149.5861 -113.3963 -117.9293  201.5579 -168.7408   95.7023  116.0748 -152.8836  218.6629 ];
+
+IS60 = [ 27.7293  -99.0941 -227.7373  266.4587 -133.5530  142.9736 -116.8993  129.2884 -212.7773  260.3938 ];
+
+QuadMat  = [IQ10; IQ20; IQ30; IQ50; IQ60];
+SextuMat = [IS10; IS20; IS30; IS50; IS60];
+
+%% ACTION
+
+% appliquer_Q(IQ10)
+% appliquer_S(IS10)
+
+%% Scaling with respect to line iLine
+iLine = 2;
+Quad_dRoR  = (QuadMat - repmat(QuadMat(iLine,:),size(QuadMat,1),1))./repmat(QuadMat(iLine,:),size(QuadMat,1),1);
+Sextu_dRoR = (SextuMat - repmat(SextuMat(iLine,:),size(SextuMat,1),1))./repmat(SextuMat(iLine,:),size(SextuMat,1),1);
+
+%Mode and unit selection
+Mode  = 'Online';
+%Mode  = 'Model';
+Units = 'Hardware';
+%Units = 'Physics';
+
+% starting point: this is the reference for the scaling factor.
+% All the quads
+K1i_before  = getsp('Q1',Mode, Units);
+K2i_before  = getsp('Q2',Mode, Units);
+K3i_before  = getsp('Q3',Mode, Units);
+K4i_before  = getsp('Q4',Mode, Units);
+K5i_before  = getsp('Q5',Mode, Units);
+K6i_before  = getsp('Q6',Mode, Units);
+K7i_before  = getsp('Q7',Mode, Units);
+K8i_before  = getsp('Q8',Mode, Units);
+K9i_before  = getsp('Q9',Mode, Units);
+K10i_before = getsp('Q10',Mode, Units);
+
+% All the sextupoles
+S1i_before  = getsp('S1',Mode, Units);
+S2i_before  = getsp('S2',Mode, Units);
+S3i_before  = getsp('S3',Mode, Units);
+S4i_before  = getsp('S4',Mode, Units);
+S5i_before  = getsp('S5',Mode, Units);
+S6i_before  = getsp('S6',Mode, Units);
+S7i_before  = getsp('S7',Mode, Units);
+S8i_before  = getsp('S8',Mode, Units);
+S9i_before  = getsp('S9',Mode, Units);
+S10i_before = getsp('S10',Mode, Units);
+
+%% Selection for the scaling from reference point
+
+k = 1; % scaling factor factor
+Quad_DK = Quad_dRoR(5,:);
+
+setsp('Q1' ,(k* Quad_DK(1)  + 1)*K1i_before, Mode, Units);
+setsp('Q2' ,(k* Quad_DK(2)  + 1)*K2i_before, Mode, Units);
+setsp('Q3' ,(k* Quad_DK(3)  + 1)*K3i_before, Mode, Units);
+setsp('Q4' ,(k* Quad_DK(4)  + 1)*K4i_before, Mode, Units);
+setsp('Q5' ,(k* Quad_DK(5)  + 1)*K5i_before, Mode, Units);
+setsp('Q6' ,(k* Quad_DK(6)  + 1)*K6i_before, Mode, Units);
+setsp('Q7' ,(k* Quad_DK(7)  + 1)*K7i_before, Mode, Units);
+setsp('Q8' ,(k* Quad_DK(8)  + 1)*K8i_before, Mode, Units);
+setsp('Q9' ,(k* Quad_DK(9)  + 1)*K9i_before, Mode, Units);
+setsp('Q10',(k* Quad_DK(10) + 1)*K10i_before, Mode, Units);
+
+%%
+Sextu_DK = Sextu_dRoR(5,:);
+setsp('S1' ,(k* Sextu_DK(1)  + 1)*S1i_before, Mode, Units);
+setsp('S2' ,(k* Sextu_DK(2)  + 1)*S2i_before, Mode, Units);
+setsp('S3' ,(k* Sextu_DK(3)  + 1)*S3i_before, Mode, Units);
+setsp('S4' ,(k* Sextu_DK(4)  + 1)*S4i_before, Mode, Units);
+setsp('S5' ,(k* Sextu_DK(5)  + 1)*S5i_before, Mode, Units);
+setsp('S6' ,(k* Sextu_DK(6)  + 1)*S6i_before, Mode, Units);
+setsp('S7' ,(k* Sextu_DK(7)  + 1)*S7i_before, Mode, Units);
+setsp('S8' ,(k* Sextu_DK(8)  + 1)*S8i_before, Mode, Units);
+setsp('S9' ,(k* Sextu_DK(9)  + 1)*S9i_before, Mode, Units);
+setsp('S10',(k* Sextu_DK(10) + 1)*S10i_before, Mode, Units);
+
+
+%% function sauvegarde
+function IQ_depart = sauvegarde_Q
+for iQ = 1:10
+    Name = ['Q' num2str(iQ)];
+    A = getam((Name),'Online');
+    IQ(iQ) = A(1);
+end
+IQ
+
+IQ_depart = IQ;
+
+function IS_depart = sauvegarde_S
+for iS = 1:10
+    Name = ['S' num2str(iS)];
+    A = getam((Name));
+    IS(iS) = A(1);
+end
+
+IS_depart = IS;
+
+%% fonction appliquer
+function appliquer_Q(IQ)
+for iQ = 1:10
+    iQ
+    Name = ['Q' num2str(iQ)];
+    A = IQ(iQ);
+    %s = getfamilydata((Name));
+    %B = A * ones(length(s.DeviceList),1);
+    setsp((Name),A);
+end
+
+function appliquer_S(IS)
+for iS = 1:10
+    iS
+    Name = ['S' num2str(iS)];
+    A = IS(iS);
+    %s = getfamilydata((Name));
+    %B = A * ones(length(s.DeviceList),1);
+    setsp((Name),A);
+end
+
+%% Vï¿œrification des tendances de variation en courant
+% figure(100);
+% 
+% hold on ; plot(IQ10./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ20./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ30./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ40./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ50./IQ10,'Color',nxtcolor)
+% hold on ; plot(IQ60./IQ10,'Color',nxtcolor)
+% 
+% figure(200);
+% 
+% hold on ; plot(IS10./IS10,'Color',nxtcolor)
+% hold on ; plot(IS20./IS10,'Color',nxtcolor)
+% hold on ; plot(IS30./IS10,'Color',nxtcolor)
+% hold on ; plot(IS40./IS10,'Color',nxtcolor)
+% hold on ; plot(IS50./IS10,'Color',nxtcolor)
+% hold on ; plot(IS60./IS10,'Color',nxtcolor)
+
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/lowbetaxshort_lowbetazlong_fit_non_lin_newLQ.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/lowbetaxshort_lowbetazlong_fit_non_lin_newLQ.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/lowbetaxshort_lowbetazlong_fit_non_lin_newLQ.m	(revision 17)
@@ -0,0 +1,437 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -.9124222E+00*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1661886E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.1242043E+01*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -.8935587E+00*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1632221E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -.1475129E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.2070786E+01*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -.1271203E+01*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1159401E+01*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1740358E+01*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.0276*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -1.4933*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -3.3323*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.7730*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -2.6043*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.2888*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -4.6953*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.1201*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.5602*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.6710*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_from_nomopt_negatif_juin2011_auto.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_from_nomopt_negatif_juin2011_auto.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_from_nomopt_negatif_juin2011_auto.m	(revision 17)
@@ -0,0 +1,1024 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q3'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q6'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q1','Q4','Q9','Q8'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q12'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q7'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  1.34349E-6*(1.0155)*bob;
+                a2=  -1.13030E-3*(1.0155)*bob;
+                a1=  3.35009E-1*(1.0155)*bob;
+                a0=  -2.37155E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+% SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+          
+%                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -5.7905804E-6;
+%                 a1=   1.5465642E-1;
+%                 a0=   2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+           case{'S1','S10','S11'}       
+             % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+             % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -2.8698688E-6;
+                a1=   1.5442027E-1;
+                a0=   2.4480159E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S9'}       
+             % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+             % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -2.8698688E-6*(-1);
+                a1=   1.5442027E-1;
+                a0=   2.4480159E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+            case{'S12','S3','S5'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            % case{'S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.8549355E-6;
+%                 a1=   1.5483805E-1;
+%                 a0=   2.2290378E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+                case{'S6'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6;
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%            case{''}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+%                 % POLARITE -
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -6.1567262E-6*(-1);
+%                 a1=   1.5520734E-1;
+%                 a0=   1.9694261E-1*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+            case{'S2'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%             case{}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE -
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5*(-1);
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5;
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+               case {'S7'}       
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 310 et 330A
+%                 % polarité négative 
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  0.0;
+                a1=  1.422341E-1;
+                a0=  3.4460054E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT'; 
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+              case {'KEMH'}
+                % Horizontal pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMH';
+                SBDL = 0.13e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+             case {'KEMV'}
+                % vertical pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMV';
+                SBDL = 0.055e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_from_nomopt_positif_juin2011.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_from_nomopt_positif_juin2011.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_from_nomopt_positif_juin2011.m	(revision 17)
@@ -0,0 +1,1024 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q3'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q6'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q1','Q4','Q9','Q8'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q12'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q7'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  1.34349E-6*(1.0155)*bob;
+                a2=  -1.13030E-3*(1.0155)*bob;
+                a1=  3.35009E-1*(1.0155)*bob;
+                a0=  -2.37155E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+% SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+          
+%                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -5.7905804E-6;
+%                 a1=   1.5465642E-1;
+%                 a0=   2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+           case{'S1','S10','S11'}       
+             % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+             % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -2.8698688E-6;
+                a1=   1.5442027E-1;
+                a0=   2.4480159E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S9'}       
+             % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+             % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -2.8698688E-6*(-1);
+                a1=   1.5442027E-1;
+                a0=   2.4480159E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+            case{'S12','S3','S5'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            % case{'S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.8549355E-6;
+%                 a1=   1.5483805E-1;
+%                 a0=   2.2290378E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+                case{'S6'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6;
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%            case{''}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+%                 % POLARITE -
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -6.1567262E-6*(-1);
+%                 a1=   1.5520734E-1;
+%                 a0=   1.9694261E-1*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+            case{'S2'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%             case{}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE -
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5*(-1);
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5;
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+               case {'S7'}       
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 310 et 330A
+%                 % polarité négative 
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  0.0;
+                a1=  1.422341E-1;
+                a0=  3.4460054E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT'; 
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+              case {'KEMH'}
+                % Horizontal pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMH';
+                SBDL = 0.13e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+             case {'KEMV'}
+                % vertical pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMV';
+                SBDL = 0.055e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_maher_negatif_juin2011_auto.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_maher_negatif_juin2011_auto.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_alphaby10_maher_negatif_juin2011_auto.m	(revision 17)
@@ -0,0 +1,1042 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents déduits de
+% l'étalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentés.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents déduits de
+% l'étalonnage en courant utilisant les vraies valeurs des courants + répartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - répartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliqué sur le premier faisceau
+        LtotQC =  0.3602 ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q1'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q3','Q4','Q6'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=  2.78608E-2*(1.003)*bob;
+                a0=  4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 case {} 
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE - pour le courant MAIS POLARITE + pour le gradient
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.72242E-6*(1.003)*bob;
+%                 a1=  2.78608E-2*(-1)*(1.003)*bob;
+%                 a0=  4.86245E-3*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+                case {'Q8'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE - pour le courant MAIS POLARITE + pour le gradient
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(1.003)*bob;
+                a1=  3.03524E-2*(-1)*(1.003)*bob;
+                a0=  -1.88248E-1*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad'; 
+                
+                case {'Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=  3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q10','Q5'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=  4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+
+              case {'Q7'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  2.08013E-6*(1.0155)*bob;
+                a1=  4.44797E-2*(1.0155)*bob;
+                a0=  2.79903E-2*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%               case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+%                 case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 80 et 135A
+%                 % POLARITE + 
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -2.55217E-6*(1.0155)*bob;
+%                 a1=  4.50695E-2*(1.0155)*bob;
+%                 a0=  6.10246E-3*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=  4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+%                 case {''} 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  -2.41754E-8*(1.0155)*bob;
+%                 a3=  1.69646E-5*(1.0155)*bob;
+%                 a2=  -4.49256E-3*(1.0155)*bob;
+%                 a1=  5.75113E-1*(1.0155)*bob;
+%                 a0=  -2.35068E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+          case{'S1','S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+                % POLARITE + 
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.7905804E-6;
+                a1=  1.5465642E-1;
+                a0=  2.4064497E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            
+%             case{}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+%                 % POLARITE (courant) + mais H - car alimentation sextupole "retournée"
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  (-1)*-5.7905804E-6;
+%                 a1=  (-1)* 1.5465642E-1;
+%                 a0=  (-1)*2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S2'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  (-1)*-2.8698688E-6;
+                a1=   1.5442027E-1;
+                a0=  (-1)*2.4480159E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S5','S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S6','S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -6.1567262E-6;
+%                 a1=   1.5520734E-1;
+%                 a0=   1.9694261E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S3','S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%             case {'S4','S10'}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+%                 % POLARITE +
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.3881816E-5;
+%                 a1=   1.5827135E-1;
+%                 a0=  -1.0713717E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+%        case {}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE -
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5*(-1);
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case {'S10'} 
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE +
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5;
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+            case {'S4'}
+                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 330 et 350A
+                 % polarité positive 
+                Leff=LtotSX;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  0.0;
+                a1=  1.297980E-1;
+                a0=  7.566478E+0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT'; 
+                
+%          case {}       
+%  %                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 310 et 330A
+%  %                 % polarité positive 
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  0.0;
+%                 a1=  1.422341E-1;
+%                 a0=  3.4460054E+0;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT'; 
+                
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';          
+
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_like_nanoscopium_juin2011.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_like_nanoscopium_juin2011.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_like_nanoscopium_juin2011.m	(revision 17)
@@ -0,0 +1,979 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q3'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q4','Q6'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+               
+                case {'Q1','Q8','Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q7', 'Q12'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+% SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+          
+%                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -5.7905804E-6;
+%                 a1=   1.5465642E-1;
+%                 a0=   2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+           %case{'S1','S10','S11'}       
+             % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+             % POLARITE +
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -2.8698688E-6;
+%                 a1=   1.5442027E-1;
+%                 a0=   2.4480159E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+ 
+            case{'S3'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+             case{'S1','S10','S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+           case{'S6'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6;
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+           case{'S2'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6*(-1);
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S5','S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4','S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5*(-1);
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+              case {'KEMH'}
+                % Horizontal pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMH';
+                SBDL = 0.13e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+             case {'KEMV'}
+                % vertical pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMV';
+                SBDL = 0.055e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_lowalpha.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_lowalpha.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_lowalpha.m	(revision 17)
@@ -0,0 +1,890 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiee par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Ie + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                %                 a4 =  1.49e-6;
+                %                 a3 =  2.59e-5;
+                %                 a2 =  1.93e-4;
+                %                 a1 =  4.98e-2;
+                %                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;
+
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    case 'StorageRing'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % DÃ©calage en champ entre le dipele de rÃ©fÃ©rence et les
+                % dipeles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipele de
+                % reference dans la zone de courant 516 - 558 A
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipele de reference e l'Anneau
+                % et du facteur Leff pour passer e l'integrale de champ.
+                %
+
+                % B=1.7063474 T correspond e 2.75 GeV
+                % ?  longueur magnÃ©tique du model : Leff = 1.052433;
+                %                 Leff=1.055548;
+                %                 a7= 0.0;
+                %                 a6=-0.0;
+                %                 a5= 0.0;
+                %                 a4=-0.0;
+                %                 a3= 0.0;
+                %                 a2=-9.7816E-6*(1-1.8e-3)*Leff;
+                %                 a1= 1.26066E-02*(1-1.8E-3)*Leff;
+                %                 a0= -2.24944*(1-1.8E-3)*Leff;
+                %                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+
+                MagnetType = 'BEND';
+
+            case {'Q1','Q3'}
+                % Familles Q1 et Q6 l= 320 mm
+                % Etalonnage GL(I) sur 70-130 A quadrupole court
+                % le courant remonto est nogatif car Q1 et Q6 dofocalisants
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multiplios par -1.
+
+                % Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06
+                bob=0.9977*(1-8e-3);
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.461E-7*(-1)*(1.003)*bob;
+                a1=  2.759E-2*(1.003)*bob;
+                a0=  5.797E-4*(-1)*(1.003)*bob;
+
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';
+
+            case {'Q8'}
+                % Familles Q8 et Q9 l= 320 mm
+                % Etalonnage GL(I) sur 70-130 A quadrupole court
+                % QUADRUPOLE INVERSE PAR RAPPORT A NOMINAL I>0
+
+                % Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2= -5.461E-7*(1.003)*bob;
+                a1=  2.759E-2*(-1)*(1.003)*bob;
+                a0=  5.797E-4*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';
+
+            case {'Q4', 'Q9'}
+                % Famille Q3 l= 320 mm
+                % Etalonnage GL(I) sur 110-170 A quadrupole court
+                % le courant remonto est nogatif car Q3 est dofocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multiplios par -1.
+
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3= -4.537E-8*(1.003)*bob;
+                a2=  1.637E-5*(-1)*(1.003)*bob;
+                a1=  2.549E-2*(1.003)*bob;
+                a0=  8.715E-2*(-1)*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';
+
+            case {'Q6'}
+                % Famille Q4 l= 320 mm
+                % Etalonnage GL(I) sur 150-190 A quadrupole court
+                % le courant remonto est nogatif car Q4 est dofocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multiplios par -1.
+
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3= -1.694E-7*(1.003)*bob;
+                a2=  7.896E-5*(-1)*(1.003)*bob;
+                a1=  1.499E-2*(1.003)*bob;
+                a0=  6.722E-1*(-1)*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';
+
+            case {'Q5'}   % 320 mm quadrupole
+                % Familles Q5 et Q10 l= 320 mm
+                % Etalonnage GL(I) sur 180 - 220 A quadrupole court
+                % le courant remonto est nogatif car Q5 et Q10 sont
+                % focalisants
+
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4= -1.143E-8*(1.003)*bob;
+                a3=  8.693E-06*(1.003)*bob;
+                a2= -2.491E-03*(1.003)*bob;
+                a1=  3.456E-01*(1.003)*bob;
+                a0= -1.524E+01*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';
+
+            case {'Q10'}   % 320 mm quadrupole
+                % Familles Q5 et Q10 l= 320 mm
+                % Etalonnage GL(I) sur 200-240 A quadrupole court
+                % le courant remonto est nogatif car Q5 et Q10 sont
+                % focalisants
+
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4= -1.105E-7*(1.003)*bob;
+                a3=  9.504E-5*(1.003)*bob;
+                a2= -3.069E-2*(1.003)*bob;
+                a1=  4.435*(1.003)*bob;
+                a0= -2.375E+2*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';
+
+            case {'Q2'}   % l= 460 mm
+                % quadrupole focalisant
+                % Etalonnage GL(I) sur 130-170 A quadrupole long
+
+
+                %Correction des coefficients des QL de + 1.55 10-2 (manque
+                % capteur BMS)
+
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.460;
+                a7=  0.0;
+                a6=  0.0;
+                a5= -0.0;
+                a4=  0.0;
+                a3= -1.618E-7*(1.0155)*bob;
+                a2=  6.22E-5*(1.0155)*bob;
+                a1=  3.645E-2*(1.0155)*bob;
+                a0=  3.624E-1*(1.0155)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'quad';
+
+            case {'Q7'}   % l= 460 mm
+                % quadrupole focalisant
+                % Etalonnage GL(I) sur 90-130 A quadrupole long
+
+                %Correction des coefficients des QL de + 1.55 10-2 (manque
+                % capteur BMS)
+
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.460;
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2= -2.118E-6*(1.0155)*bob;
+                a1=  4.502E-2*(1.0155)*bob;
+                a0= -1.980E-2*(1.0155)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'quad';
+
+                % Sextupoles : on multiplie les coefficients par 2 car ils
+                % sont exprimes en B"L et non B"L/2
+
+            case {'S1'}
+                % l= 160 mm focalisants
+                % Etalonnage HL(I) sur 40 - 160 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2= -3.773E-6;
+                a1=  1.5476E-1*(-1);
+                a0=  2.36991E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+
+            case {'S2','S7','S5'}
+                % l= 160 mm dofocalisants
+                % Etalonnage HL(I) sur 80 - 250 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -2.6735E-8;
+                a2=  5.8793E-6*(-1);
+                a1=  1.5364E-1;
+                a0=  2.7867E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case {'S6', 'S8'}
+                % l= 160 mm focalisant
+                % Etalonnage HL(I) sur 80 - 250 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3= -2.6735E-8;
+                a2=  5.8793E-6;
+                a1=  1.5364E-1;
+                a0=  2.7867E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+
+            case {'S4','S10'}
+                % l= 160 mm focalisants
+                % Etalonnage HL(I) sur 170 - 300 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4= -8.8836E-10;
+                a3=  7.1089E-7;
+                a2= -2.2277E-4;
+                a1=  1.8501E-1;
+                a0= -1.329;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case {'S3','S9'}
+                % l= 160 mm dofocalisants
+                % Etalonnage HL(I) sur 170 - 300 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4= -8.8836E-10*(-1);
+                a3=  7.1089E-7;
+                a2= -2.2277E-4*(-1);
+                a1=  1.8501E-1;
+                a0= -1.329*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupeles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donne par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupeles incluant un CORH.
+                % Efficacite = 8.143 G.m/A
+                % Le signe du courant est donne par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupeles incluant un CORV.
+                % Efficacite = 4.642 G.m/A
+                % Le signe du courant est donne par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+
+            case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff;
+
+            case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';
+                A = [0 SBDL/vmax 0]*Leff;
+
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff;
+
+            case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff;
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja integre)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400;
+                %                 a8 =  0.0;
+                %                 a7 =  0.0;
+                %                 a6 =  0.0;
+                %                 a5 =  0.0;
+                %                 a4 =  0.0;
+                %                 a3 =  0.0;
+                %                 a2 =  0.0;
+                %                 a1 =  0.0517*Leff;
+                %                 a0 =  0.1175*Leff;
+
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+
+
+
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+
+                % environ 32 cm  corrector
+                % Efficacite = 11.06 G.m/A
+                % Le signe du courant est donne par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficient
+
+                MagnetType = 'COR';
+
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_mod_betaz_1m_fevrier2011.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_mod_betaz_1m_fevrier2011.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_mod_betaz_1m_fevrier2011.m	(revision 17)
@@ -0,0 +1,979 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q3'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q1','Q6','Q8'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q4','Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q7', 'Q12'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+% SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+          
+%                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -5.7905804E-6;
+%                 a1=   1.5465642E-1;
+%                 a0=   2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+           case{'S1','S10','S11'}       
+             % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+             % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -2.8698688E-6;
+                a1=   1.5442027E-1;
+                a0=   2.4480159E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+ 
+            case{'S3','S12','S2'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            % case{'S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.8549355E-6;
+%                 a1=   1.5483805E-1;
+%                 a0=   2.2290378E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+                % case{}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE +
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -6.1567262E-6;
+%                 a1=   1.5520734E-1;
+%                 a0=   1.9694261E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+           case{'S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6*(-1);
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S5'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4','S6','S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5*(-1);
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+              case {'KEMH'}
+                % Horizontal pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMH';
+                SBDL = 0.13e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+             case {'KEMV'}
+                % vertical pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMV';
+                SBDL = 0.055e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009.m	(revision 17)
@@ -0,0 +1,962 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiee par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents deduits de
+% l'etalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentes.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents deduits de
+% l'etalonnage en courant utilisant les vraies valeurs des courants + repartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - repartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Ie + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % applique sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q3'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q1','Q6'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q4','Q8','Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q7', 'Q12'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+          
+%                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -5.7905804E-6;
+%                 a1=   1.5465642E-1;
+%                 a0=   2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -2.8698688E-6;
+%                 a1=   1.5442027E-1;
+%                 a0=   2.4480159E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+ 
+            case{'S3', 'S12'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S1','S10', 'S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S6'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6;
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S2','S5','S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4','S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5*(-1);
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupeles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donne par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupeles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupeles incluant un CORH.
+                % Efficacite = 8.143 G.m/A 
+                % Le signe du courant est donne par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupeles incluant un CORV.
+                % Efficacite = 4.642 G.m/A 
+                % Le signe du courant est donne par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+              case {'KEMH'}
+                % Horizontal pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMH';
+                SBDL = 0.13e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+             case {'KEMV'}
+                % vertical pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMV';
+                SBDL = 0.055e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja integre)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacite = 11.06 G.m/A 
+                % Le signe du courant est donne par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70.m	(revision 17)
@@ -0,0 +1,977 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+%                 case {'Q3'}  
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.78428E-7*(-1)*(1.003)*bob;
+%                 a1=  2.75663E-2*(1.003)*bob;
+%                 a0=  1.90367E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';  
+                
+                case {'Q1','Q6','Q3'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q4','Q8','Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q7'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+                
+%           case{'S1'}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -5.7905804E-6;
+%                 a1=   1.5465642E-1;
+%                 a0=   2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+                
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -2.8698688E-6;
+%                 a1=   1.5442027E-1;
+%                 a0=   2.4480159E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+ 
+%             case{'S9'}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE -
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.8549355E-6*(-1);
+%                 a1=   1.5483805E-1;
+%                 a0=   2.2290378E-1*(-1);
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+            case{'S10','S1'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S6'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6;
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+             case{'S3','S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6*(-1);
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';              
+                
+            case{'S2','S5'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4','S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%             case{'S8'}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+%                 % POLARITE +
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.0540578E-5;
+%                 a1=   1.7188604E-1;
+%                 a0=  -1.8459591E+0;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';             
+                
+            case{'S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5*(-1);
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m.m	(revision 17)
@@ -0,0 +1,930 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m(MagnetCoreType, Amps, InputType)
+%magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    %% LT1
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 I^2 + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error('MagnetCoreType %s is not unknown', MagnetCoreType);
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    %% StorageRing
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        % LtotSX = 1E-08;
+        tmp = getleff('S1'); % to be changed later
+        LtotSX = tmp(1)*2; % Leff to be modified to take into account split elements
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+                case {'Q3'}  
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.78428E-7*(-1)*(1.003)*bob;
+                a1=  2.75663E-2*(1.003)*bob;
+                a0=  1.90367E-2*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';  
+                
+                case {'Q1','Q4','Q6'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q8','Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q7', 'Q12'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+          
+%                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -5.7905804E-6;
+%                 a1=   1.5465642E-1;
+%                 a0=   2.4064497E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+             case{'S1', 'S11'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -2.8698688E-6;
+                a1=   1.5442027E-1;
+                a0=   2.4480159E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+ 
+            case{'S3', 'S12'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S10'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S6'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6;
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S2','S5','S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4','S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5*(-1);
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error('MagnetCoreType %s is not unknown', MagnetCoreType);
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+    %% Booster    
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error('MagnetCoreType %s is not unknown', MagnetCoreType);
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+    %% LT2
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le remanent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error('MagnetCoreType %s is not unknown', MagnetCoreType);
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_20_70.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_20_70.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_20_70.m	(revision 17)
@@ -0,0 +1,977 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+%                 case {'Q3'}  
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.78428E-7*(-1)*(1.003)*bob;
+%                 a1=  2.75663E-2*(1.003)*bob;
+%                 a0=  1.90367E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';  
+                
+                case {'Q1','Q6','Q3'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q4','Q8','Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q7'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+                
+          case{'S1'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.7905804E-6;
+                a1=   1.5465642E-1;
+                a0=   2.4064497E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -2.8698688E-6;
+%                 a1=   1.5442027E-1;
+%                 a0=   2.4480159E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+ 
+            case{'S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S10'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%             case{'S6'}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+%                 % POLARITE +
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -6.1567262E-6;
+%                 a1=   1.5520734E-1;
+%                 a0=   1.9694261E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+             case{'S3'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6*(-1);
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';              
+                
+            case{'S2','S5'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4','S6'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5;
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';             
+                
+            case{'S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5*(-1);
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70.m	(revision 17)
@@ -0,0 +1,977 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+
+% 21 octobre 2008 - P. Brunelle - Qpoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants. Les anciens
+% coefficients sont commentï¿œs.
+
+% 7 mai 2009 - P. Brunelle - Spoles anneau - introduction des coefficents dï¿œduits de
+% l'ï¿œtalonnage en courant utilisant les vraies valeurs des courants + rï¿œpartition par intervalle de courant.
+
+% 12 juin 2009 - P. Brunelle - Qpoles anneau - rï¿œpartition par intervalle de courant.
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        % longueur des quadrupoles ajustee a Lintermediaire ente Lmag et Lcalc
+        coeffQ =    0e-3   ;  %0e-3  ;  %  0e-3     %  0e-3 ;   %  0e-3      ;  %  8e-3  ;   % appliquï¿œ sur le premier faisceau
+        LtotQC = 0.3602  ; % 0.3602 ; %0.3539 ;%  0.3696   % 0.3539;   %  0.3695814 ;  % 0.320 ;   % longueur effective Qpole court
+        LtotQL = 0.4962  ; % 0.4962 ; %0.4917 ; %  0.5028   % 0.4917;   %  0.5027758 ;  %  0.460 ;   % longueur effective Qpole long
+        %correction offset capteur BMS -2.310-3 (P. Brunelle 30/05/06) 
+        bob=0.9977*(1-coeffQ);
+        % longueur des sextupoles
+        LtotSX = 1E-08;
+        
+        switch upper(deblank(MagnetCoreType))
+                      
+            case 'BEND'   
+                % Moyenne des longueurs magnetiques mesurees = 1055.548mm
+                % Decalage en champ entre le dipole de reference et les
+                % dipoles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'etalonnage B(I) effectue sur le dipole de
+                % reference dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent etre affectes du facteur
+                % (1-1.8e-3) pour passer du dipole de reference a l'Anneau
+                % et du facteur Leff pour passer a l'integrale de champ.
+                               
+                % B=1.7063474 T correspond a 2.75 GeV 
+                % longueur magnetique du modele : Leff = 1.052433;              
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'BEND';
+
+  % QUADRUPOLES COURTS
+  % Correction des coefficients des QC de + 3 10-3 (manque de longueur du capteur BMS)
+                
+          
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  1.19203E-6*(-1)*(1.003)*bob;
+%                 a1=  2.74719E-2*(1.003)*bob;
+%                 a0=  2.04817E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+    
+%                 case {'Q3'}  
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE -
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.78428E-7*(-1)*(1.003)*bob;
+%                 a1=  2.75663E-2*(1.003)*bob;
+%                 a0=  1.90367E-2*(-1)*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';  
+                
+                case {'Q1','Q6','Q3','Q4'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.72242E-6*(-1)*(1.003)*bob;
+                a1=   2.78608E-2*(1.003)*bob;
+                a0=   4.86245E-3*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q8','Q9'} 
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -9.77342E-6*(-1)*(1.003)*bob;
+                a1=   3.03524E-2*(1.003)*bob;
+                a0=  -1.88248E-1*(-1)*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+                case {'Q5','Q10'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE +
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=  -1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+
+                case {'Q11'}
+                % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 200 et 230A
+                % POLARITE -
+                Leff=LtotQC;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=   5.40235E-5*(1.003)*bob;
+                a1=   4.82385E-2*(1.003)*bob;
+                a0=   1.99661*(1.003)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE COURT DONT LE COURANT EST COMPRIS ENTRE 230 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQC;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -1.51646E-4*(1.003)*bob;
+%                 a1=  9.16800E-2*(1.003)*bob;
+%                 a0=  -6.82533*(1.003)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+   
+% QUADRUPOLES LONGS
+%Correction des coefficients des QL de + 1.55 10-2 (manque de longueur du capteur BMS)
+            
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 0 et 50A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  2.08013E-6*(1.0155)*bob;
+%                 a1=  4.44797E-2*(1.0155)*bob;
+%                 a0=  2.79903E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 50 et 100A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -3.60748E-7*(1.0155)*bob;
+%                 a1=  4.46626E-2*(1.0155)*bob;
+%                 a0=  2.47397E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+%                 
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -4.70168E-6*(1.0155)*bob;
+%                 a1=  4.55728E-2*(1.0155)*bob;
+%                 a0=  -2.30870E-2*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+                
+                case {'Q2'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 150 et 180A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.92014E-5*(1.0155)*bob;
+                a1=   4.99176E-2*(1.0155)*bob;
+                a0=  -3.48990E-1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+              
+                case {'Q7'} 
+                % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 180 et 220A
+                % POLARITE +
+                Leff=LtotQL;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -2.41754E-8*(1.0155)*bob;
+                a3=   1.69646E-5*(1.0155)*bob;
+                a2=  -4.49256E-3*(1.0155)*bob;
+                a1=   5.75113E-1*(1.0155)*bob;
+                a0=  -2.35068E+1*(1.0155)*bob;        
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+                MagnetType = 'quad';
+                
+%                 % CAS DU QUADRUPOLE LONG DONT LE COURANT EST COMPRIS ENTRE 220 et 250A
+%                 % POLARITE +
+%                 Leff=LtotQL;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  1.34349E-6*(1.0155)*bob;
+%                 a2=  -1.13030E-3*(1.0155)*bob;
+%                 a1=  3.35009E-1*(1.0155)*bob;
+%                 a0=  -2.37155E+1*(1.0155)*bob;        
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];                
+%                 MagnetType = 'quad';
+
+ % SEXTUPOLES : on multiplie les coefficients par 2 car ils sont exprimes en B"L et non B"L/2
+                % REPARTITION par intervalle de courant.
+                % les intervalles de courant non utilises sont commentes.
+                
+          case{'S1'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 0 et 60A
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -5.7905804E-6;
+                a1=   1.5465642E-1;
+                a0=   2.4064497E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 60 et 100A
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -2.8698688E-6;
+%                 a1=   1.5442027E-1;
+%                 a0=   2.4480159E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+ 
+            case{'S9'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6*(-1);
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+            case{'S10'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 100 et 150A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.8549355E-6;
+                a1=   1.5483805E-1;
+                a0=   2.2290378E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+%             case{'S6'}
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+%                 % POLARITE +
+%                 Leff=LtotSX; 
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -6.1567262E-6;
+%                 a1=   1.5520734E-1;
+%                 a0=   1.9694261E-1;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+
+             case{'S3'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 150 et 200A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -6.1567262E-6*(-1);
+                a1=   1.5520734E-1;
+                a0=   1.9694261E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';              
+                
+            case{'S2','S5'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5*(-1);
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S4','S6'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 200 et 250A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -1.3881816E-5;
+                a1=   1.5827135E-1;
+                a0=  -1.0713717E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+            case{'S8'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE +
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5;
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';             
+                
+            case{'S7'}
+                % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 250 et 300A
+                % POLARITE -
+                Leff=LtotSX; 
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -4.0540578E-5*(-1);
+                a1=   1.7188604E-1;
+                a0=  -1.8459591E+0*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+%                 % CAS DU SEXTUPOLE DONT LE COURANT EST COMPRIS ENTRE 300 et 350A
+%                 Leff=LtotSX;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  -4.4295939E-6;
+%                 a2=  -4.0682266E-3;
+%                 a1=  -1.0997217E+0;
+%                 a0=   1.2944731E+2;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+%                 MagnetType = 'SEXT';
+%%                
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+
+             case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';                
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+                
+
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'COR';
+
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+        
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/malphaby10_maher_auto.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/malphaby10_maher_auto.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/malphaby10_maher_auto.m	(revision 17)
@@ -0,0 +1,440 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% S11 added january 2011
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.4e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.1199000 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.241900 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+LQC = 0.180100E+00 * 2 ;
+LQL = 0.248100E+00 * 2 ;
+Q1   =  quadrupole('Q1' , LQC,  -.7729734E+00*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1527832E+01*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -.9516947E+00*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -.9794584E+00*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1685867E+01*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -.1237167E+01*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.04559420E+01*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  .1440869E+01*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -.1261555E+01*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1821190E+01*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.03933541*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,  -1.563275*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,  -4.104795*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  5.6*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,  -2.280280*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  2.465097*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,  -2.001529*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  2.292831*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,  -4.172604*F, 'StrMPoleSymplectic4Pass');
+S10  =  sextupole('S10' , Finv,  4.775652*F, 'StrMPoleSymplectic4Pass');
+S11  =  sextupole('S11' , Finv,  0.03933541*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2000_6400.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2000_6400.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2000_6400.m	(revision 17)
@@ -0,0 +1,474 @@
+function varargout = nano_2000_6400
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% December 2009 - Add Nanonscopium
+% Octobre 2010 - S11 added S12 set to 0 close to Q12
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC,  -0.1066163E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1600701E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.6449315E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1258681E+01 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1694322E+01 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1004861E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.2083827E+01 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -0.1548929E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -0.1498343E+01 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1753578E+01 , 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC,  -0.1797987E+01, 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,   0.1775149E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.3438380*F*5, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.8020912*F*5, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.4338700*F*5, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.7209300*F*5, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.7396420*F*5, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  0.6493340*F*5, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -1.0007040*F*5, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  0.8387440*F*5, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.7606068*F*5, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.4475698*F*5, 'StrMPoleSymplectic4Pass');
+S11 =  sextupole('S11', Finv,  0.3438380*F*5, 'StrMPoleSymplectic4Pass');
+S12 =  sextupole('S12', Finv,  0.0000000*F*5, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+SX12  = S12;
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12 SX12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1217913E+01;
+QP2N =  0.1795444E+01;
+QP3N = -0.1071477E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2000_7000.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2000_7000.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2000_7000.m	(revision 17)
@@ -0,0 +1,471 @@
+function varargout = lat_nano_2000_7000
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% December 2009 - Add Nanonscopium
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC,  -0.9511244E+00 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1596755E+01 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.8461094E+00 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1164016E+01 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1678988E+01 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1152619E+01 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   0.2081727E+01 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -0.1464629E+01 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -0.1436643E+01 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   0.1757550E+01 , 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC,  -0.1830775E+01 , 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,   0.1801931E+01 , 'QuadLinearPass');
+
+
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.3438380E+00*F*5, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.7993242E+00*F*5, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.5408313E+00*F*5, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.7209300E+00*F*5, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.7052902E+00*F*5, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  0.6493340E+00*F*5, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.1000704E+01*F*5, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  0.8387440E+00*F*5, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.5224938E+00*F*5, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.3890300E+00*F*5, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1061270E+01 ;
+QP2N =  0.1761332E+01 ;
+QP3N = -0.1221521E+01 ;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2175_3120.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2175_3120.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/nano_2175_3120.m	(revision 17)
@@ -0,0 +1,448 @@
+function varargout = lat_nano_20_30
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Alexandre Loulergue
+% Controlroom: set linearpass for quad (closed orbit)
+%              No cavity; No Radiation PassMethod
+% based on lattice file lat_2020_3170b
+%
+% nux = 18.2177 nuz = 10.3122
+% xix = 2.0 xiz = 2.3
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0968203999998;      % design length [m]
+L0 = 354.0968348667076;      % design length [m] + chicane PX2
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC,  -9.69424e-01 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   1.59347e+00 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -8.09969e-01, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -1.20533e+00, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   1.69175e+00, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -1.09469e+00, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,   2.05285e+00 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC,  -1.41004e+00, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC,  -1.45109e+00 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,   1.76057e+00 , 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC,  -1.88950e+00, 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,   1.86550e+00 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.585e+00*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -3.661e+00*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.169e+00*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.605e+00*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.173e+00*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.111e+00*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -4.716e+00*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  3.952e+00*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.660e+00*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.235e+00*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -1.13720e+00;
+QP2N =  1.76772e+00;
+QP3N = -1.18725e+00 ;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_17_25.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_17_25.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_17_25.m	(revision 17)
@@ -0,0 +1,469 @@
+function varargout = lat_nano_5m_20_30
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% December 2009 - Add Nanonscopium
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC, -0.1162513E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  0.1684635E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC, -0.6900854E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC, -0.1209553E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  0.1699387E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC, -0.1173207E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.2016571E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC, -0.1325158E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC, -0.1377265E+01 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,  0.1735168E+01 , 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC, -0.1695592E+01 , 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,  0.1695717E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.715*5*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.338*5*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.697*5*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.672*5*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  0.667*5*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.992*5*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  0.778*5*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.791*5*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.468*5*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1269903E+01;
+QP2N =  0.1859323E+01;
+QP3N = -0.1143006E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_17_25_S11.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_17_25_S11.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_17_25_S11.m	(revision 17)
@@ -0,0 +1,471 @@
+function varargout = lat_nano_5m_20_30
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% December 2009 - Add Nanonscopium
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC, -0.1162513E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  0.1684635E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC, -0.6900854E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC, -0.1209553E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  0.1699387E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC, -0.1173207E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.2016571E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC, -0.1325158E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC, -0.1377265E+01 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,  0.1735168E+01 , 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC, -0.1695592E+01 , 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,  0.1695717E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.715*5*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.338*5*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.697*5*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.672*5*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  0.667*5*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.992*5*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  0.778*5*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.791*5*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.468*5*F, 'StrMPoleSymplectic4Pass');
+S11 =  sextupole('S11', Finv,  0.300*5*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+SX11  = [S11 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX11     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX11   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1269903E+01;
+QP2N =  0.1859323E+01;
+QP3N = -0.1143006E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_20_30.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_20_30.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/nano_5m_20_30.m	(revision 17)
@@ -0,0 +1,469 @@
+function varargout = lat_nano_5m_20_30
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% December 2009 - Add Nanonscopium
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC,  -0.1160155E+01, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,   0.1685354E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC,  -0.6945082E+00, 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC,  -0.1208482E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,   0.1699720E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC,  -0.1175045E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.2019414E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC, -0.1328200E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC, -0.1383039E+01, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,  0.1736806E+01, 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC, -0.1700926E+01, 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,  0.1700188E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.300*5*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.715*5*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.338*5*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.697*5*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.672*5*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  0.667*5*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.992*5*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  0.778*5*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.791*5*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.468*5*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+% THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+% THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+% THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1267568E+01;
+QP2N =  0.1858845E+01;
+QP3N = -0.1143923E+01;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/nano_8000_7000.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/nano_8000_7000.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/nano_8000_7000.m	(revision 17)
@@ -0,0 +1,469 @@
+function varargout = nano_8000_7000
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+% March 4, 2009
+% FHCOR and FVCOR [1 1] steerer moved 2180 mm upstream, 
+% closed to entrance of vertical kicker
+% March 2009 - New quadrupole model from MAT with intermediate length
+% June 2009 - magnetcoefficient with index June 9 was changed 
+%             for sextupoles calibration
+%             for quadrupole Just all ranges for quad variation with fit are present
+% July 2009 - Add PX2 Chicane
+% December 2009 - Add Nanonscopium
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD2 = drift('SD2',  0.369900, 'DriftPass');
+SD3 = drift('SD3',   0.181900, 'DriftPass');
+SD5 = drift('SD5',  0.179900, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.419900, 'DriftPass');
+SD8 = drift('SD8',  0.1799000, 'DriftPass');
+SD12= drift('SD12', 0.44990, 'DriftPass');
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.38500000, 'DriftPass');
+SD9a = drift('SD9a',  0.204200	, 'DriftPass');
+SD10a = drift('SD10a', 0.172300	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.251240, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.204300, 'DriftPass');
+SD93 = drift('SD93',  0.251300	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD141 = drift('SD141', 0.431900, 'DriftPass');
+SDB1 = drift('SDB1', 0.29100, 'DriftPass');
+SDB2 = drift('SDB2', 0.16680000, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.119800 ,'DriftPass');
+SDB7 = drift('SDB7', 0.166900 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.119800 ,'DriftPass');
+SDB10= drift('SDB10',0.166900 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.119800, 'DriftPass');
+SDB14= drift('SDB14',0.1668000, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18', 0.119900, 'DriftPass');
+SDC1 = drift('SDC1' , 0.241900,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079000,  'DriftPass');
+SDC3 = drift('SDC3' , 0.078450, 'DriftPass');
+SDC4 = drift('SDC4' , 0.335800,  'DriftPass');
+SDC5 = drift('SDC5' , 0.084600,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079000,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342000,  'DriftPass');
+SDC8 = drift('SDC8' , 0.241900,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079000, 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.2419000  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.241900  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.24190  , 'DriftPass');
+SDC20= drift('SDC20',0.241900  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.29090  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+%SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+SDC23e= drift('SDC23a',0.147  , 'DriftPass'); % BPM - FCOR [1 1]
+SDC23f= drift('SDC23a',0.485  , 'DriftPass'); % FCOR [1 1] next SD
+SDPX2a= drift('SDC23a',0.363902, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2b= drift('SDC23a',2.85755, 'DriftPass'); % FCOR [1 1] next SD
+SDPX2c= drift('SDC23a', 0.203902, 'DriftPass'); % FCOR [1 1] next SD
+% nanoscopium
+SDNSC1 = drift('SDNSC', 4.5888, 'DriftPass'); 
+SDNSC2 = drift('SDNSC', 0.4618, 'DriftPass'); 
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+LQC = 0.180100E+00*2;
+LQL = 0.248100E+00*2;
+Q1   =  quadrupole('Q1' , LQC, -0.9527683E+00  , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , LQL,  0.1598928E+01  , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , LQC, -0.8473198E+00  , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , LQC, -0.1150083E+01  , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , LQC,  0.1669337E+01  , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , LQC, -0.1178571E+01  , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , LQL,  0.2052188E+01  , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , LQC, -0.1414855E+01  , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , LQC, -0.1425395E+01  , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', LQC,  0.1743898E+01  , 'QuadLinearPass');
+Q11  =  quadrupole('Q11', LQC, -0.1810631E+01  , 'QuadLinearPass');
+Q12  =  quadrupole('Q12', LQL,  0.1790518E+01  , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  0.1952628e+00*F*5, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -0.7135306e+00*F*5, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -0.5408313e+00*F*5, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  0.7941869e+00*F*5, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -0.7701763e+00*F*5, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  0.6866159e+00*F*5, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -0.9426360e+00*F*5, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  0.8803615e+00*F*5, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -0.5099194e+00*F*5, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  0.3673909e+00*F*5, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+QTPX2    =  skewquad('QTPX2', 1e-10, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+COR  =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% PX2C H-correctors
+PX2 =  corrector('PX2C',0.0,[0 0],'CorrectorPass');
+PX2C= [QTPX2 PX2];
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SDPX2a PX2C SDPX2b PX2C SDPX2b PX2C SDPX2c  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SDNSC1 Q11 SDNSC2 Q12];
+%    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+%SUP4  = [  ...
+%    SD1e  BPM SDC2 FCOR SDC1   ...
+SUP4  = [  ...
+    SDNSC2 Q11 SDNSC1 BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23e  FCOR SDC23f K1 SDC23b ...
+    KEMV SDC23c K2 SDC23d SDC24];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+ATIndexList = atindex;
+% set PX2 chicane
+THERING{ATIndexList.PX2C(1)}.KickAngle(1) =  -2.25e-3; % rad
+THERING{ATIndexList.PX2C(2)}.KickAngle(1) = 2*2.25e-3; % rad
+THERING{ATIndexList.PX2C(3)}.KickAngle(1) =  -2.25e-3; % rad
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+% set nanoscopium triplets upstream and downstream of SDL13
+THERING = setNanoscopium(THERING,ATIndexList);
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
+
+function THERING= setNanoscopium(THERING,ATIndexList)
+
+QP1N = -0.1060290E+01 ;
+QP2N =  0.1758813E+01 ;
+QP3N = -0.1221282E+01 ;
+THERING = setquad(THERING, ATIndexList.Q1(6), QP1N);
+THERING = setquad(THERING, ATIndexList.Q1(7), QP1N);
+THERING = setquad(THERING, ATIndexList.Q2(6), QP2N);
+THERING = setquad(THERING, ATIndexList.Q2(7), QP2N);
+THERING = setquad(THERING, ATIndexList.Q3(6), QP3N);
+THERING = setquad(THERING, ATIndexList.Q3(7), QP3N);
+
+function THERING = setquad(THERING, Idx, K)
+
+THERING{Idx}.K = K;
+THERING{Idx}.PolynomB(2) = K;
+fprintf('%s %03d %+f %+f\n', THERING{Idx}.FamName, Idx, THERING{Idx}.K, THERING{Idx}.PolynomB(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/reglage_nominal.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/reglage_nominal.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/reglage_nominal.m	(revision 17)
@@ -0,0 +1,400 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiées
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452+8.3334e-8	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD créées
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+a=0;
+a1=1+a*5.5e-3;
+a2=1+a*2.9e-3;
+a3=1+a*8.8e-3;
+a4=1+a*4.5e-3;
+a5=1+a*2.7e-3;
+a6=1+a*5.9e-3;
+a7=1+a*1.1e-3;
+a8=1+a*3.3e-3;
+a9=1+a*3.4e-3;
+a10=1+a*2.5e-3;
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917*a1 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124*a2 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*a3 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293*a4 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744*a5 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271*a6 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223070*a7 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227*a8 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.689030*a9 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458*a10 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2.m	(revision 17)
@@ -0,0 +1,249 @@
+function solamor2
+%solamor2 - soleil lattice w/o ID 
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors 
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% 28/12/05, Update with new AT 1.3
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method       
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+               HarmNumber ,'CavityPass');   
+
+%% Marker and apertures
+   SECT1  =  marker('SECT1', 'IdentityPass');
+   SECT2  =  marker('SECT2', 'IdentityPass');
+   SECT3  =  marker('SECT3', 'IdentityPass');
+   SECT4  =  marker('SECT4', 'IdentityPass');
+   DEBUT  =  marker('DEBUT', 'IdentityPass');
+   FIN    =  marker('FIN', 'IdentityPass');
+   
+   INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+   INJ = aperture('INJ',[-0.035 0.035 -0.125 0.125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+ 
+%% BPM   
+   BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+   SD13= drift('SD13', 3.48255, 'DriftPass');
+   SD1 = drift('SD1',  6.00000, 'DriftPass');
+   SD1a = drift('SD1a',  1.4125, 'DriftPass');
+   SD1b = drift('SD1b',  0.7575, 'DriftPass');
+   SD1c = drift('SD1c',  3.002, 'DriftPass');
+   SD1d = drift('SD1d',  0.828, 'DriftPass');
+   SD2 = drift('SD2',  0.39000, 'DriftPass');
+   SD3 = drift('SD3',  0.20000, 'DriftPass');
+   SD4 = drift('SD4',  0.39000, 'DriftPass');
+   SD14= drift('SD14', 0.59000, 'DriftPass');
+   SD5 = drift('SD5',  0.20000, 'DriftPass');
+   SD6 = drift('SD6',  0.79000, 'DriftPass');
+   SD7 = drift('SD7',  0.44000, 'DriftPass');
+   SD8 = drift('SD8',  0.20000, 'DriftPass');
+   SD9 = drift('SD9',  0.47634, 'DriftPass');
+   SD10= drift('SD10', 0.47000, 'DriftPass');
+   SD12= drift('SD12', 0.47000, 'DriftPass');
+   SDAC= drift('SDAC', 1.90468, 'DriftPass');
+   
+%% QUADRUPOLES 
+Q1   =  quadrupole('Q1' , 0.32,  -1.18610 , 'StrMPoleSymplectic4RadPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.71132 , 'StrMPoleSymplectic4RadPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.71729 , 'StrMPoleSymplectic4RadPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.39423 , 'StrMPoleSymplectic4RadPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.89119 , 'StrMPoleSymplectic4RadPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.11831 , 'StrMPoleSymplectic4RadPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.21705 , 'StrMPoleSymplectic4RadPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.70205 , 'StrMPoleSymplectic4RadPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.68903 , 'StrMPoleSymplectic4RadPass');
+Q10  =  quadrupole('Q10', 0.32,   1.96186 , 'StrMPoleSymplectic4RadPass');
+
+
+%% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4RadPass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4RadPass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4RadPass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4RadPass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4RadPass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4RadPass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4RadPass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4RadPass');
+S9  =  sextupole('S9' , Finv, -2.97623*F, 'StrMPoleSymplectic4RadPass');
+S10 =  sextupole('S10', Finv,  1.86108*F, 'StrMPoleSymplectic4RadPass');
+
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR];
+SX2   = [S2  COR];
+SX3   = [S3  COR];
+SX4   = [S4  COR];
+SX5   = [S5  COR];
+SX6   = [S6  COR];
+SX7   = [S7  COR];
+SX8   = [S8  COR];
+SX9   = [S9  COR];
+SX10  = [S10 COR];
+
+%% DIPOLES 
+BEND  =  rbend('BEND'  , 1.05243,  ...
+            0.19635, 0.098175, 0.098175, 0.0,'BndMPoleSymplectic4RadPass');
+      
+%% Lattice
+% Superperiods  
+
+SUP1  = [  ... 
+ SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d         ...
+ BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+ BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+ SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...   
+ SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+ Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+ SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...  
+ Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+ SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+ SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...  
+ BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+ SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+ SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+ SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+ SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+ SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+ FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+ SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+ BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+ SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+ FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...   
+ SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+ BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+ SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+ SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+ FCOR    BPM     SD1  ];
+
+SUP2  = [  ... 
+SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+ BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+ SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...   
+ SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+ Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+ SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...  
+ Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+ SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+ SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...  
+ BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+ SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+ SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+ SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+ SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+ SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+ FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+ SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+ BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+ SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+ FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...   
+ SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+ BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+ SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+ SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+ FCOR    BPM     SD1  ];
+
+SUP3  = [  ... 
+SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+ BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+ SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...   
+ SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+ Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+ SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...  
+ Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+ SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+ SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...  
+ BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+ SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+ SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+ SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+ SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+ SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+ FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+ SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+ BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+ SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+ FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...   
+ SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+ BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+ SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+ SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+ FCOR    BPM     SD1  ];
+
+SUP4  = [  ... 
+SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+ BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+ SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...   
+ SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+ Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+ SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...  
+ Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+ SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+ SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...  
+ BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+ SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+ SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+ SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+ SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+ SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+ FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+ SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+ BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+ SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+ FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...   
+ SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+ BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+ SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+ SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+ FCOR   BPM     SD1  ];
+
+ 
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0); 
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lin.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lin.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lin.m	(revision 17)
@@ -0,0 +1,239 @@
+function soleilamor2lin
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+INJ = aperture('INJ',[-0.035 0.035 -0.125 0.125],'AperturePass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+%% QUADRUPOLES
+Q1   =  quadrupole('Q1' , 0.32,  -1.18610 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.71132 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.71729 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.39423 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.89119 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.11831 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.21705 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.70205 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.68903 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.96186 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -2.97623*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.86108*F, 'StrMPoleSymplectic4Pass');
+
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR];
+SX2   = [S2  COR];
+SX3   = [S3  COR];
+SX4   = [S4  COR];
+SX5   = [S5  COR];
+SX6   = [S6  COR];
+SX7   = [S7  COR];
+SX8   = [S8  COR];
+SX9   = [S9  COR];
+SX10  = [S10 COR];
+
+%% DIPOLES
+BEND  =  rbend('BEND'  , 1.05243,  ...
+    0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% Lattice
+% Superperiods
+
+SUP1  = [ ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP2  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP3  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP4  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR   BPM     SD1];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lin.m_56corr
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lin.m_56corr	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lin.m_56corr	(revision 17)
@@ -0,0 +1,148 @@
+function soleilamor2lin
+%solamor2 - soleil lattice w/o ID 
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors 
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method       
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+               HarmNumber ,'ThinCavityPass');   
+
+%% Marker and apertures
+   SECT1  =  marker('SECT1', 'IdentityPass');
+   SECT2  =  marker('SECT2', 'IdentityPass');
+   SECT3  =  marker('SECT3', 'IdentityPass');
+   SECT4  =  marker('SECT4', 'IdentityPass');
+   DEBUT  =  marker('DEBUT', 'IdentityPass');
+   FIN    =  marker('FIN', 'IdentityPass');
+   
+   INJ = aperture('INJ',[-0.035 0.035 -0.04 0.04],'AperturePass');
+
+% BPM   
+   BPM    =  marker('BPM', 'IdentityPass');
+
+% DRIFT SPACES
+   SD13= drift('SD13', 3.48255, 'DriftPass');
+   SD1 = drift('SD1',  6.00000, 'DriftPass');
+   SD2 = drift('SD2',  0.39000, 'DriftPass');
+   SD3 = drift('SD3',  0.20000, 'DriftPass');
+   SD4 = drift('SD4',  0.39000, 'DriftPass');
+   SD14= drift('SD14', 0.59000, 'DriftPass');
+   SD5 = drift('SD5',  0.20000, 'DriftPass');
+   SD6 = drift('SD6',  0.79000, 'DriftPass');
+   SD7 = drift('SD7',  0.44000, 'DriftPass');
+   SD8 = drift('SD8',  0.20000, 'DriftPass');
+   SD9 = drift('SD9',  0.47634, 'DriftPass');
+   SD10= drift('SD10', 0.47000, 'DriftPass');
+   SD12= drift('SD12', 0.47000, 'DriftPass');
+   SDAC= drift('SDAC', 1.90468, 'DriftPass');
+   
+% QUADRUPOLES 
+Q1   =  quadrupole('Q1' , 0.32,  -1.18610 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.71132 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.71729 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.39423 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.89119 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.11831 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.21705 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.70205 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.68903 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.96186 , 'QuadLinearPass');
+
+
+% SEXTUPOLES for xix=0.4 and xi_y=1.4
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -2.97623*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.86108*F, 'StrMPoleSymplectic4Pass');
+
+% Slow feedback correctors
+HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+
+% Fast feedback correctors
+FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+
+% DIPOLES 
+BEND  =  rbend('BEND'  , 1.05243,  ...
+            0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+% Begin Lattice
+
+%%  Superperiods  
+
+SUP  = [  ... 
+ SD1     FHCOR  FVCOR   BPM     Q1     SD2     S1     HCOR    SD3     Q2  ...
+ BPM     SD14   Q3      SD5     S2     VCOR    SD6    BEND    SD7     Q4  ...
+ SD8     S3     BPM     SD9     Q5     SD12    S4     HCOR    VCOR    BPM  ...   
+ SD10    Q5     SD9     BPM     S3     SD8     Q4     SD7     BEND    SD7  ...
+ Q6      SD5    S5      VCOR    SD4    BPM     Q7     SD3     S6      HCOR ...
+ SD2     Q8     BPM     FHCOR   FVCOR  SD13    SD13   FHCOR   FVCOR   BPM  ...  
+ Q8      SD2    S8      HCOR    SD3    Q7      BPM    SD4     S7      VCOR ...
+ SD5     Q6     SD7     BEND    SD7    Q9      SD8    S9      VCOR    BPM  ...
+ SD9     Q10    SD8     S10     HCOR   BPM     FHCOR  FVCOR   SDAC    SDAC ...  
+ FHCOR   FVCOR  BPM     S10     HCOR   SD8     Q10    SD9     BPM     S9  ...
+ VCOR    SD8    Q9      SD7     BEND   SD7     Q6     SD5     S7      VCOR ...
+ SD4     BPM    Q7      SD3     S8     HCOR    SD2    Q8      BPM     FHCOR...
+ FVCOR   SD13   SD13    FHCOR   FVCOR  BPM     Q8     SD2     S8      HCOR ...
+ SD3     Q7     BPM     SD4     S7     VCOR    SD5    Q6      SD7     BEND...
+ SD7     Q9     SD8     S9      VCOR   BPM     SD9    Q10     SD8     S10 ...
+ HCOR    BPM    FHCOR   FVCOR   SDAC   SDAC    FHCOR  FVCOR   BPM     S10 ...
+ HCOR    SD8    Q10     SD9     BPM    S9      VCOR   SD8     Q9      SD7  ...
+ BEND    SD7    Q6      SD5     S7     SD4     VCOR   BPM     Q7      SD3  ...
+ S8      HCOR   SD2     Q8      BPM    FHCOR   FVCOR  SD13    SD13    FHCOR...
+ FVCOR   BPM    Q8      SD2     S6     HCOR    SD3    Q7      BPM     SD4  ...   
+ S5      VCOR   SD5     Q6      SD7    BEND    SD7    Q4      SD8     S3  ...
+ BPM     SD9    Q5      SD10    BPM    S4      HCOR   VCOR    SD12    Q5  ...
+ SD9     BPM    S3      SD8     Q4     SD7     BEND   SD6     S2      VCOR ...
+ SD5     Q3     SD14    BPM     Q2     SD3     S1     HCOR    SD2     Q1  ...
+ BPM     FHCOR  FVCOR   SD1  ];
+
+ 
+ELIST = [DEBUT INJ SECT1 SUP SECT2 SUP SECT3 SUP SECT4 SUP CAV FIN];
+
+buildlat(ELIST);
+
+%% compute total length and RF frequency
+
+L0_tot=0;
+for i=1:length(THERING)
+   L0_tot=L0_tot+THERING{i}.Length;
+end
+
+fprintf('\nL0_tot=%f m (should be %f m) \nf_RF=%f Hz \n\n',L0_tot,L0,HarmNumber*C0/L0_tot)
+
+%% Compute initial tunes before loading errors
+[InitialTunes, InitialChro] = tunechrom(THERING,0,[18.25, 10.2],'chrom','coupling');
+
+% fprintf('A bit false since radiation and cavity on\n');
+fprintf('Tunes before loading lattice errors: nu_x=%g, nu_y=%g\n',InitialTunes(1),InitialTunes(2));
+fprintf('Chroma before loading lattice errors: xi_x=%g, xi_y=%g\n',InitialChro(1),InitialChro(2));
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+disp('** Finished loading lattice in Accelerator Toolbox');
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb.m	(revision 17)
@@ -0,0 +1,435 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.8e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.311  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223070*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.689030*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_HU640.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_HU640.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_HU640.m	(revision 17)
@@ -0,0 +1,427 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+%
+% October 3rd, 2007, Laurent S. Nadolski
+% HU640: correctors and simulation
+
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifi?es
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD1c1 = drift('SD1e',  0.8410, 'DriftPass');
+SD1c2 = drift('SD1e',  2.161, 'DriftPass');
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC21',0.311  , 'DriftPass');
+SDC23= drift('SDC21',4.310  , 'DriftPass');
+SDC24= drift('SDC21',1.379  , 'DriftPass');
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223070*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.689030*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec dÃ©fauts de focalisation des dip?les
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR      =  corrector('COR',0.0,[0 0],'CorrectorPass');
+KHU640   =  corrector('KHU640',0.0,[0 0],'CorrectorPass');
+
+%% HU640 
+
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR SD1c2     K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM  HU640upstream];
+
+SUP2  = [  ...
+    KHU640 HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23 FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_Lmag_PB.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_Lmag_PB.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_Lmag_PB.m	(revision 17)
@@ -0,0 +1,271 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+dc=0.035/2;
+dl=0.030/2;
+SD13= drift('SD13', 3.48255-dc, 'DriftPass');
+SD1 = drift('SD1',  6.00000-dc, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD1d = drift('SD1d',  0.828, 'DriftPass');
+SD2 = drift('SD2',  0.39000-dc, 'DriftPass');
+SD3 = drift('SD3',  0.20000-dl, 'DriftPass');
+SD4 = drift('SD4',  0.39000-dl, 'DriftPass');
+SD14= drift('SD14', 0.59000-dl-dc, 'DriftPass');
+SD5 = drift('SD5',  0.20000-dc, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000-dc, 'DriftPass');
+SD8 = drift('SD8',  0.20000-dc, 'DriftPass');
+SD9 = drift('SD9',  0.47634-dc, 'DriftPass');
+SD10= drift('SD10', 0.47000-dc, 'DriftPass');
+SD12= drift('SD12', 0.47000-dc, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32+2*dc,  -1.193917 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46+2*dl,   1.712124 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32+2*dc,  -0.7195554 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32+2*dc,  -1.404293 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32+2*dc,   1.895744 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32+2*dc,  -1.117271 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46+2*dl,   2.223070 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32+2*dc,  -1.724227 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32+2*dc,  -1.689030 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32+2*dc,   1.963458 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d         ...
+    BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP2  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP3  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP4  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_original_04-05-06_PB.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_original_04-05-06_PB.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_original_04-05-06_PB.m	(revision 17)
@@ -0,0 +1,269 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD1d = drift('SD1d',  0.828, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223070 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.689030 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d         ...
+    BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP2  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP3  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP4  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_original_15-9-06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_original_15-9-06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_original_15-9-06.m	(revision 17)
@@ -0,0 +1,400 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiées
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD créées
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+a=0;
+a1=1+a*5.5e-3;
+a2=1+a*2.9e-3;
+a3=1+a*8.8e-3;
+a4=1+a*4.5e-3;
+a5=1+a*2.7e-3;
+a6=1+a*5.9e-3;
+a7=1+a*1.1e-3;
+a8=1+a*3.3e-3;
+a9=1+a*3.4e-3;
+a10=1+a*2.5e-3;
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917*a1 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124*a2 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*a3 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293*a4 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744*a5 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271*a6 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223070*a7 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227*a8 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.689030*a9 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458*a10 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.4549*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.091301*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_pascale_04-05-06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_pascale_04-05-06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_pascale_04-05-06.m	(revision 17)
@@ -0,0 +1,344 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiées
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.14155	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD créées
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223070 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.689030 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP3  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+SUP4  = [  ...
+    SD1     BPM    FCOR    Q1     SD2    SX1   SD3     Q2  ...
+    BPM     SD14   Q3      SD5    SX2    SD6   BEND    SD7     Q4  ...
+    SD8     SX3    BPM     SD9    Q5     SD12  SX4     BPM  ...
+    SD10    Q5     SD9     BPM    SX3    SD8   Q4      SD7     BEND    SD7  ...
+    Q6      SD5    SX5     SD4    BPM    Q7    SD3     SX6          ...
+    SD2     Q8     FCOR    BPM    SD13   SD13  BPM     FCOR    ...
+    Q8      SD2    SX8     SD3    Q7     BPM   SD4     SX7          ...
+    SD5     Q6     SD7     BEND   SD7    Q9    SD8     SX9     BPM  ...
+    SD9     Q10    SD8     SX10   FCOR   BPM   SDAC    SDAC ...
+    BPM     FCOR   SX10    SD8    Q10    SD9   BPM     SX9  ...
+    SD8     Q9     SD7     BEND   SD7    Q6    SD5     SX7       ...
+    SD4     BPM    Q7      SD3    SX8    SD2   Q8      FCOR    BPM     ...
+    SD13    SD13   BPM     FCOR   Q8     SD2   SX8      ...
+    SD3     Q7     BPM     SD4    SX7    SD5   Q6      SD7     BEND...
+    SD7     Q9     SD8     SX9    BPM    SD9   Q10     SD8     SX10 ...
+    FCOR    BPM    SDAC    SDAC   BPM    FCOR    SX10    ...
+    SD8     Q10    SD9     BPM    SX9    SD8   Q9      SD7  ...
+    BEND    SD7    Q6      SD5    SX7    SD4   BPM     Q7      SD3  ...
+    SX8     SD2    Q8      FCOR   BPM    SD13  SD13    BPM ...
+    FCOR     Q8     SD2     SX6    SD3    Q7    BPM     SD4  ...
+    SX5     SD5    Q6      SD7    BEND   SD7   Q4      SD8     SX3  ...
+    BPM     SD9    Q5      SD10   BPM    SX4   SD12    Q5  ...
+    SD9     BPM    SX3     SD8    Q4     SD7   BEND    SD6     SX2         ...
+    SD5     Q3     SD14    BPM    Q2     SD3   SX1     SD2     Q1  ...
+    FCOR    BPM     SD1  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_pascale_05-05-06.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_pascale_05-05-06.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_pascale_05-05-06.m	(revision 17)
@@ -0,0 +1,389 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiées
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD créées
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917 , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124 , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293 , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744 , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271 , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223070 , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227 , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.689030 , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458 , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_testLaurent.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_testLaurent.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linb_testLaurent.m	(revision 17)
@@ -0,0 +1,411 @@
+function varargout = solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifi?es
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD1c1 = drift('SD1e',  0.8410, 'DriftPass');
+SD1c2 = drift('SD1e',  2.161, 'DriftPass');
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC21',0.311  , 'DriftPass');
+SDC23= drift('SDC21',4.310  , 'DriftPass');
+SDC24= drift('SDC21',1.379  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223070*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.689030*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec dÃ©fauts de focalisation des dip?les
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+KHU640 =  corrector('KHU640',0.0,[0 0],'CorrectorPass');
+CHU640 =  corrector('CHU640',0.0,[0 0],'CorrectorPass');
+
+ODECOR =  corrector('ODECOR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR SD1c2     K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    ODECOR   BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     CHU640 SD1e  ];
+
+SUP2  = [  ...
+    KHU640 SD1e CHU640  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23 FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linbsplit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linbsplit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linbsplit.m	(revision 17)
@@ -0,0 +1,420 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 1.3e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiï¿œes
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 + 8.3334e-8	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+% Q1   =  quadrupole('Q1' , 0.32,  -1.193917*de , 'QuadLinearPass');
+% Q2   =  quadrupole('Q2' , 0.46,   1.712124*de , 'QuadLinearPass');
+% Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*de , 'QuadLinearPass');
+% Q4   =  quadrupole('Q4' , 0.32,  -1.404293*de , 'QuadLinearPass');
+% Q5   =  quadrupole('Q5' , 0.32,   1.895744*de , 'QuadLinearPass');
+% Q6   =  quadrupole('Q6' , 0.32,  -1.117271*de , 'QuadLinearPass');
+% Q7   =  quadrupole('Q7' , 0.46,   2.223070*de , 'QuadLinearPass');
+% Q8   =  quadrupole('Q8' , 0.32,  -1.724227*de , 'QuadLinearPass');
+% Q9   =  quadrupole('Q9' , 0.32,  -1.689030*de , 'QuadLinearPass');
+% Q10  =  quadrupole('Q10', 0.32,   1.963458*de , 'QuadLinearPass');
+
+Q1s   =  quadrupole('Q1' , 0.32/2,  -1.193917*de , 'QuadLinearPass');
+Q2s   =  quadrupole('Q2' , 0.46/2,   1.712124*de , 'QuadLinearPass');
+Q3s   =  quadrupole('Q3' , 0.32/2,  -0.7195554*de , 'QuadLinearPass');
+Q4s   =  quadrupole('Q4' , 0.32/2,  -1.404293*de , 'QuadLinearPass');
+Q5s   =  quadrupole('Q5' , 0.32/2,   1.895744*de , 'QuadLinearPass');
+Q6s   =  quadrupole('Q6' , 0.32/2,  -1.117271*de , 'QuadLinearPass');
+Q7s   =  quadrupole('Q7' , 0.46/2,   2.223070*de , 'QuadLinearPass');
+Q8s   =  quadrupole('Q8' , 0.32/2,  -1.724227*de , 'QuadLinearPass');
+Q9s   =  quadrupole('Q9' , 0.32/2,  -1.689030*de , 'QuadLinearPass');
+Q10s  =  quadrupole('Q10', 0.32/2,   1.963458*de , 'QuadLinearPass');
+
+Q1 = [Q1s Q1s];
+Q2 = [Q2s Q2s];
+Q3 = [Q3s Q3s];
+Q4 = [Q4s Q4s];
+Q5 = [Q5s Q5s];
+Q6 = [Q6s Q6s];
+Q7 = [Q7s Q7s];
+Q8 = [Q8s Q8s];
+Q9 = [Q9s Q9s];
+Q10 = [Q10s Q10s];
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII 
+%avec dÃ©fauts de focalisation des dipï¿œles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.152295*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.936432*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+% Scrappers
+posScrapH = marker('posScrapH', 'IdentityPass');
+posScrapB = marker('posScrapB', 'IdentityPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linc.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linc.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2linc.m	(revision 17)
@@ -0,0 +1,439 @@
+function varargout = solamor2linc
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis aï¿œ jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+%
+% October 1, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Octobre 27, 2008
+% Lattice with tunes 18.2020 and 10.3170
+% Lattice with chromaticities 2.0 and 2.0
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 2.8e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.311  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.223461*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.691939*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.69431*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.22432*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lind.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lind.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor2lind.m	(revision 17)
@@ -0,0 +1,437 @@
+function varargout = solamor2lind
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis aï¿œ jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+% November 24th 2007, Laurent S. Nadolski
+% Bpms 5 on the wrong side of sextupole in cell 4, 8, 12 and 16
+% December 7th, 2007, Laurent S. Nadolski
+% Added KEM V & H, K1 & K2 markers modelled as thin element
+%
+% Decembre 14, 2008
+% Lattice with tunes 18.2300 and 10.3200
+% Lattice with chromaticities 2.0 and 2.0
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967224000159;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K1 = marker('K1', 'IdentityPass');
+K2 = marker('K2', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+%SD13= drift('SD13', 3.48255, 'DriftPass');
+%SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+%SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+%SD4 = drift('SD4',  0.39000, 'DriftPass');
+%SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+%SD9 = drift('SD9',  0.47634, 'DriftPass');
+%SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+%SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiees
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD created
+SD1c1 = drift('SD1c1',  0.8410, 'DriftPass'); % K3 - FCOR
+SD1c2 = drift('SD1c2',  0.601, 'DriftPass');  % FCOR KEMH
+SD1c3 = drift('SD1c3',  1.560, 'DriftPass');  % KEMH - K4
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+%SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+%SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC22',0.311  , 'DriftPass');
+%SDC23= drift('SDC23',4.310  , 'DriftPass');
+SDC24= drift('SDC24',1.379  , 'DriftPass');
+SDC23a= drift('SDC23a',0.632  , 'DriftPass'); % BPM - K1
+SDC23b= drift('SDC23b',1.983  , 'DriftPass'); % K1 - KEMV
+SDC23c= drift('SDC23c',1.019  , 'DriftPass'); % KEMV - K2
+SDC23d= drift('SDC23d',0.676  , 'DriftPass'); % K2 - FCOR
+
+% HU640 straight section
+SDHU640a = drift('SDHU640a',  1.7394, 'DriftPass');
+SDHU640b = drift('SDHU640b',  0.64, 'DriftPass');
+SDHU640c = drift('SDHU640c',  3.2795, 'DriftPass');
+SDHU640d = drift('SDHU640d',  3.1195, 'DriftPass');
+SDHU640e = drift('SDHU640e',  0.64, 'DriftPass');
+SDHU640f = drift('SDHU640f',  1.8994, 'DriftPass');
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.193917*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.712124*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7195554*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.404293*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.895744*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.117271*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.228167*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.724227*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.695859*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.963458*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII
+%avec defauts de focalisation des dipoles
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.71919*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.10456*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.16938*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.60465*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.69821*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.24667*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.00352*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.19372*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.69431*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.22432*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Machine study kickers
+KEMH =  corrector('KEMH',0.0,[0 0],'CorrectorPass');
+KEMV =  corrector('KEMV',0.0,[0 0],'CorrectorPass');
+
+%% HU640
+HCMHU640 =  corrector('HCMHU640',0.0,[0 0],'CorrectorPass');
+VCMHU640 =  corrector('VCMHU640',0.0,[0 0],'CorrectorPass');
+
+HU640upstream   = [SDHU640a VCMHU640 SDHU640b HCMHU640 SDHU640c];
+HU640downstream = [SDHU640d HCMHU640 SDHU640e VCMHU640 SDHU640f];
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+%BEND  =  rbend('BEND'  , 1.05243,  ...
+% 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b   K3  SD1c1 FCOR  SD1c2  KEMH SD1c3   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SD42     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...
+    BPM   SD42  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4  SDB4  BPM     SD10a Q5     SD93 ...
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     HU640upstream  ];
+
+SUP2  = [  ...
+    HU640downstream  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a   Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...
+    BPM   SDB12  SX9      SD8     Q9     SD7    ...
+    BEND   SD7    Q6    SD5     SX7    SD41   ...
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD12   ...
+    SX4   SDB4  BPM     SD10a    Q5     SD93 ...
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23a K1 SDC23b KEMV SDC23c K2 SDC23d FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_20_10_30.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_20_10_30.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_20_10_30.m	(revision 17)
@@ -0,0 +1,409 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 1.3e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiï¿œes
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 + 8.3334e-8	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+
+Q1   =  quadrupole('Q1' , 0.32,  -1.19278*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.71626*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.73523*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.39066*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.88129*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.15309*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.24564*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.70671*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.67538*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.95238*de , 'QuadLinearPass');
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII 
+%avec dÃ©fauts de focalisation des dipï¿œles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.72600674*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.12083441*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.17798074*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.61894236*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.71287256*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.25954369*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.02335803*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.21034754*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.68397549*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.26830779*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+% Scrappers
+posScrapH = marker('posScrapH', 'IdentityPass');
+posScrapB = marker('posScrapB', 'IdentityPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+DirSpec   =  getfamilydata('Directory','ConfigData');
+FileName = 'CNF_9juillet_160sym_0_2_0_3.mat';
+cnf=load([DirSpec FileName]);
+
+families = findmemberof('QUAD');
+
+config=cnf.ConfigSetpoint;
+
+setmachineconfig(families,config,'Model');
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_40_10_30.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_40_10_30.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_40_10_30.m	(revision 17)
@@ -0,0 +1,399 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 1.3e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiï¿œes
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 + 8.3334e-8	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.1938*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.71199*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.71946*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.40415*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.89559*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.11717*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.23791*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.72690*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.69815*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.96329*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII 
+%avec dÃ©fauts de focalisation des dipï¿œles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.72600674*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.12083441*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.17798074*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.61894236*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.71287256*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.25954369*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.02335803*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.21034754*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.68397549*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.26830779*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+% Scrappers
+posScrapH = marker('posScrapH', 'IdentityPass');
+posScrapB = marker('posScrapB', 'IdentityPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_40_10_30fam.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_40_10_30fam.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/solamor_18_40_10_30fam.m	(revision 17)
@@ -0,0 +1,399 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 1.3e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiï¿œes
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 + 8.3334e-8	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+
+Q1   =  quadrupole('Q1' , 0.32,  -1.19278*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.71626*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.73523*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.39066*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.88129*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.15309*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.24564*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.70671*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.67538*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.95238*de , 'QuadLinearPass');
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII 
+%avec dÃ©fauts de focalisation des dipï¿œles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.72600674*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -4.12083441*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.17798074*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.61894236*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -3.71287256*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.25954369*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -5.02335803*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  4.21034754*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -3.68397549*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  2.26830779*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+% Scrappers
+posScrapH = marker('posScrapH', 'IdentityPass');
+posScrapB = marker('posScrapB', 'IdentityPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/test20linb.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/test20linb.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/test20linb.m	(revision 17)
@@ -0,0 +1,406 @@
+function  varargout = test20linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% mai 2006 : mis Ã  jour vraies cotes BPM, correcteurs, dipole (coins,
+% chamd de fuite et gradient)
+% A. Nadji et P. Brunelle
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+% April 20th 2007, Laurent S. nadolski
+% BPM downstream injection section had wrong location by
+% 30 mm, 2 FCOR in injection straight section was not at their proper
+% location
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.7391e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+%L0 = 354.0967211999983;      % design length [m]
+L0 = 354.0968203999998;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+% CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+%     HarmNumber ,'CavityPass');
+CAV = rfcavity('RF' , 0 , 2.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiï¿œes
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452 + 8.3334e-8	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD crÃ©Ã©es
+SD1c1 = drift('SD1e',  0.8410, 'DriftPass');
+SD1c2 = drift('SD1e',  2.161, 'DriftPass');
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+SDC22= drift('SDC21',0.311  , 'DriftPass');
+SDC23= drift('SDC21',4.310  , 'DriftPass');
+SDC24= drift('SDC21',1.379  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des dÃ©fauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+de=1-4e-3*0;
+Q1   =  quadrupole('Q1' , 0.32,  -1.187598*de , 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   1.715087*de , 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7313051*de , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -1.398635*de , 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   1.891610*de , 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -1.127630*de , 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,   2.220677*de , 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -1.708808*de , 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -1.688424*de , 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,   1.961364*de , 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticitÃ©s nulles dans TracyII 
+%avec dÃ©fauts de focalisation des dipï¿œles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv,  1.413193*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv, -3.676406*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv, -2.379549*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv,  3.826273*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv, -4.528983*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,  3.980921*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv, -4.511492*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,  3.873620*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv, -2.958732*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,  1.894065*F, 'StrMPoleSymplectic4Pass');
+
+%% Skew quadrupoles 
+%QT    =  marker('SkewQuad', 'IdentityPass');
+QT    =  skewquad('SkewQuad', 1e-8, 0.0, 'StrMPoleSymplectic4Pass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+%theta2 = theta/2;
+thetae = theta/2 - 0.6e-3*1;
+thetas = theta/2 + 0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c1 FCOR SD1c2    K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a    SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC22   BPM  SDC23 FCOR  SDC24  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/Lattices/test20linb_pascale.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Lattices/test20linb_pascale.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Lattices/test20linb_pascale.m	(revision 17)
@@ -0,0 +1,389 @@
+function solamor2linb
+%solamor2 - soleil lattice w/o ID
+% Lattice definition file
+% Lattice for SOLEIL: perfect lattice no magnetic errors
+% Compiled by Laurent Nadolski and Amor Nadji
+% 09/01/02, ALS
+% Controlroom : set linearpass for quad (closed orbit)
+%               No cavity; No Radiation PassMethod
+
+global FAMLIST THERING GLOBVAL
+
+GLOBVAL.E0 = 2.75e9; % Ring energy
+GLOBVAL.LatticeFile = mfilename;
+FAMLIST = cell(0);
+
+disp(['** Loading SOLEIL magnet lattice ', mfilename]);
+
+L0 = 354.0967211999983;      % design length [m]
+C0 = 2.99792458e8;           % speed of light [m/s]
+HarmNumber = 416;
+
+%% Cavity
+%              NAME   L     U[V]       f[Hz]          h        method
+CAV = rfcavity('RF' , 0 , 4.0e+6 , HarmNumber*C0/L0, ...
+    HarmNumber ,'CavityPass');
+
+%% Marker and apertures
+SECT1  =  marker('SECT1', 'IdentityPass');
+SECT2  =  marker('SECT2', 'IdentityPass');
+SECT3  =  marker('SECT3', 'IdentityPass');
+SECT4  =  marker('SECT4', 'IdentityPass');
+DEBUT  =  marker('DEBUT', 'IdentityPass');
+FIN    =  marker('FIN', 'IdentityPass');
+
+INJ = aperture('INJ',[-0.035 0.035 -0.0125 0.0125],'AperturePass');
+
+%% Injection section
+PtINJ = marker('PtINJ', 'IdentityPass');
+K3 = marker('K3', 'IdentityPass');
+K4 = marker('K4', 'IdentityPass');
+   
+%% BPM
+BPM    =  marker('BPM', 'IdentityPass');
+
+%% DRIFT SPACES
+
+SD13= drift('SD13', 3.48255, 'DriftPass');
+SD1 = drift('SD1',  6.00000, 'DriftPass');
+SD1a = drift('SD1a',  1.4125, 'DriftPass');
+SD1b = drift('SD1b',  0.7575, 'DriftPass');
+SD1c = drift('SD1c',  3.002, 'DriftPass');
+SD2 = drift('SD2',  0.39000, 'DriftPass');
+SD3 = drift('SD3',  0.20000, 'DriftPass');
+SD4 = drift('SD4',  0.39000, 'DriftPass');
+SD14= drift('SD14', 0.59000, 'DriftPass');
+SD5 = drift('SD5',  0.20000, 'DriftPass');
+SD6 = drift('SD6',  0.79000, 'DriftPass');
+SD7 = drift('SD7',  0.44000, 'DriftPass');
+SD8 = drift('SD8',  0.20000, 'DriftPass');
+SD9 = drift('SD9',  0.47634, 'DriftPass');
+SD10= drift('SD10', 0.47000, 'DriftPass');
+SD12= drift('SD12', 0.47000, 'DriftPass');
+SDAC= drift('SDAC', 1.90468, 'DriftPass');
+
+% SD existantes et modifiées
+SD1d = drift('SD1d',  0.5170, 'DriftPass');
+SD14a = drift('SD14a', 0.4051, 'DriftPass');
+SD9a = drift('SD9a',  0.2243	, 'DriftPass');
+SD10a = drift('SD10a', 0.1924	, 'DriftPass');
+SDAC1 = drift('SDAC1', 1.48428	, 'DriftPass');
+SD13a= drift('SD13a', 3.141452	, 'DriftPass');
+SD1e = drift('SD1e',  5.6589, 'DriftPass');
+
+% SD créées
+SD91 = drift('SD91',  0.27134, 'DriftPass');
+SD41 = drift('SD41',  0.2521, 'DriftPass');
+SD42 = drift('SD42',  0.205, 'DriftPass');
+SD92 = drift('SD92',  0.2244, 'DriftPass');
+SD93 = drift('SD93',  0.2714	, 'DriftPass');
+SD43 = drift('SD43', 0.2051	, 'DriftPass');
+SD101 = drift('SD101', 0.2394, 'DriftPass');
+SD141 = drift('SD141', 0.452, 'DriftPass');
+
+SDB1 = drift('SDB1', 0.3111, 'DriftPass');
+SDB2 = drift('SDB2', 0.1849, 'DriftPass');
+SDB3 = drift('SDB3', 0.252,  'DriftPass');
+SDB4 = drift('SDB4', 0.2776 ,'DriftPass');
+SDB5 = drift('SDB5', 0.205  ,'DriftPass');
+SDB6 = drift('SDB6', 0.1379 ,'DriftPass');
+SDB7 = drift('SDB7', 0.185 , 'DriftPass');
+SDB8 = drift('SDB8', 0.252 , 'DriftPass');
+SDB9 = drift('SDB9', 0.1379 ,'DriftPass');
+SDB10= drift('SDB10',0.185 , 'DriftPass');
+SDB11= drift('SDB11',0.2519, 'DriftPass');
+SDB12= drift('SDB12',0.2049, 'DriftPass');
+SDB13= drift('SDB13',0.1379, 'DriftPass');
+SDB14= drift('SDB14',0.1849, 'DriftPass');
+SDB15= drift('SDB15',0.252 , 'DriftPass');
+SDB16= drift('SDB16',0.2306 , 'DriftPass');
+SDB17= drift('SDB17',0.205 , 'DriftPass');
+SDB18= drift('SDB18',0.138 , 'DriftPass');
+
+SDC1 = drift('SDC1' , 0.262 ,  'DriftPass');
+SDC2 = drift('SDC2' , 0.079 ,  'DriftPass');
+SDC3 = drift('SDC3' , 0.07845, 'DriftPass');
+SDC4 = drift('SDC4' , 0.3358,  'DriftPass');
+SDC5 = drift('SDC5' , 0.0846,  'DriftPass');
+SDC6 = drift('SDC6' , 0.079,   'DriftPass');
+SDC7 = drift('SDC7' , 0.342 ,  'DriftPass');
+SDC8 = drift('SDC8' , 0.262 ,  'DriftPass');
+SDC9 = drift('SDC9' , 0.079  , 'DriftPass');
+SDC10= drift('SDC10',0.07845, 'DriftPass');
+SDC11= drift('SDC11',0.262  , 'DriftPass');
+SDC12= drift('SDC12',0.3358 , 'DriftPass');
+SDC13= drift('SDC13',0.0846 , 'DriftPass');
+SDC14= drift('SDC14',0.0788 , 'DriftPass');
+SDC15= drift('SDC15',0.3422 , 'DriftPass');
+SDC16= drift('SDC16',0.262  , 'DriftPass');
+SDC17= drift('SDC17',0.079  , 'DriftPass');
+SDC18= drift('SDC18',0.07845, 'DriftPass');
+SDC19= drift('SDC19',0.262  , 'DriftPass');
+SDC20= drift('SDC20',0.262  , 'DriftPass');
+SDC21= drift('SDC21',0.079  , 'DriftPass');
+
+
+%% QUADRUPOLES (compensation de l'effet des défauts de focalisation des
+%% dipoles P. Brunelle 02/05/06)
+Q1   =  quadrupole('Q1' , 0.32,  -1.187598, 'QuadLinearPass');
+Q2   =  quadrupole('Q2' , 0.46,   0.1715087E+01, 'QuadLinearPass');
+Q3   =  quadrupole('Q3' , 0.32,  -0.7313051E+00 , 'QuadLinearPass');
+Q4   =  quadrupole('Q4' , 0.32,  -0.1398635E+01, 'QuadLinearPass');
+Q5   =  quadrupole('Q5' , 0.32,   0.1891610E+01, 'QuadLinearPass');
+Q6   =  quadrupole('Q6' , 0.32,  -0.1127630E+01, 'QuadLinearPass');
+Q7   =  quadrupole('Q7' , 0.46,  0.2220677E+01, 'QuadLinearPass');
+Q8   =  quadrupole('Q8' , 0.32,  -0.1708808E+01, 'QuadLinearPass');
+Q9   =  quadrupole('Q9' , 0.32,  -0.1688424E+01, 'QuadLinearPass');
+Q10  =  quadrupole('Q10', 0.32,  0.1961364E+01, 'QuadLinearPass');
+
+
+%% SEXTUPOLES chromaticités nulles dans TracyII 
+%avec défauts de focalisation des dipôles 
+%P. Brunelle 02/05/06
+F = 1e8;
+Finv = 1/F;
+
+S1  =  sextupole('S1' , Finv, 0.1413193E+01*F, 'StrMPoleSymplectic4Pass');
+S2  =  sextupole('S2' , Finv,-0.3676406E+01*F, 'StrMPoleSymplectic4Pass');
+S3  =  sextupole('S3' , Finv,-0.2379549E+01*F, 'StrMPoleSymplectic4Pass');
+S4  =  sextupole('S4' , Finv, 0.3826273E+01*F, 'StrMPoleSymplectic4Pass');
+S5  =  sextupole('S5' , Finv,-0.4528983E+01*F, 'StrMPoleSymplectic4Pass');
+S6  =  sextupole('S6' , Finv,0.3980921E+01*F, 'StrMPoleSymplectic4Pass');
+S7  =  sextupole('S7' , Finv,-0.4511492E+01*F, 'StrMPoleSymplectic4Pass');
+S8  =  sextupole('S8' , Finv,0.3873620E+01*F, 'StrMPoleSymplectic4Pass');
+S9  =  sextupole('S9' , Finv,-0.2958732E+01*F, 'StrMPoleSymplectic4Pass');
+S10 =  sextupole('S10', Finv,0.1894065E+01*F, 'StrMPoleSymplectic4Pass');
+
+%% QT (P. Brunelle 27/04/06)
+QT    =  marker('QT', 'IdentityPass');
+
+%% Slow feedback correctors
+% HCOR =  corrector('HCOR',0.0,[0 0],'CorrectorPass');
+% VCOR =  corrector('VCOR',0.0,[0 0],'CorrectorPass');
+% COR = [HCOR VCOR];
+COR =  corrector('COR',0.0,[0 0],'CorrectorPass');
+
+%% Fast feedback correctors
+% FHCOR =  corrector('FHCOR',0.0,[0 0],'CorrectorPass');
+% FVCOR =  corrector('FVCOR',0.0,[0 0],'CorrectorPass');
+% FCOR = [FHCOR,FVCOR];
+FCOR =  corrector('FCOR',0.0,[0 0],'CorrectorPass');
+
+
+SX1   = [S1  COR  QT];
+SX2   = [S2  COR  QT];
+SX3   = [S3  COR  QT];
+SX4   = [S4  COR  QT];
+SX5   = [S5  COR  QT];
+SX6   = [S6  COR  QT];
+SX7   = [S7  COR  QT];
+SX8   = [S8  COR  QT];
+SX9   = [S9  COR  QT];
+SX10  = [S10 COR  QT];
+
+%% DIPOLES
+ %BEND  =  rbend('BEND'  , 1.05243,  ...
+  % 0.19635, 0.098175, 0.098175, 0.0,'BendLinearPass');
+
+%% DIPOLES
+% {** 1.3815 factor to fit with BETA ??? strange **}
+%theta = 2*pi/32;
+%fullgap = 0.105*0.724*2/6*1.3815*0.;
+% BEND  =  rbend2('BEND', L, theta, theta/2, theta/2, 0.0, ...
+%                 fullgap,'BendLinearFringeTiltPass');
+theta = 2*pi/32;
+theta2 = 2*pi/32/2;
+thetae = 2*pi/32/2-0.6e-3*1;
+thetas = 2*pi/32/2+0.9e-3*1;
+K = 0.00204*1;
+fullgap = 0.037*0.724*2*1;
+BEND  =  rbend2('BEND', 1.05243, theta, thetae, thetas, K,fullgap,'BendLinearPass');
+
+
+%% Lattice
+% Superperiods
+
+SUP1  = [...
+    SD1a   PtINJ   SD1b    K3    SD1c   K4     SD1d ...
+    BPM  SDB1   Q1     SD2    SX1   SD3     Q2 ...
+    SDB2  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD91     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a BPM ...
+    SDC3    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SD42     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB8 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC6  FCOR  SDC7 SX10    SD8    Q10    SD91 ...   
+    BPM   SD42  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB9  Q7      SD3    SX8    SD2   Q8 SDC8 ...      
+    FCOR  SDC9  BPM     SD13a SD13a  ...
+    BPM  SDC10   FCOR  SDC11  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB10  BPM   SD42    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9  SDB11    ...
+    BPM    SD92   Q10     SD8     SX10 SDC12 ...
+    FCOR  SDC13  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB13   Q7      SD3    SX8     SD2    Q8  SDC16 ...     
+    FCOR SDC17  BPM    SD13a SD13a   ...
+    BPM   SDC18  FCOR  SDC19   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB14  BPM    SD43    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB15 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SDB17  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC20 FCOR  SDC21   BPM     SD1e  ];
+
+SUP2  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP3  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+SUP4  = [  ...
+    SD1e  BPM SDC2 FCOR SDC1   ...
+    Q1     SD2    SX1   SD3     Q2 ...
+    SDB7  BPM    SD14a   Q3      SD5    SX2    SD6 ...  
+    BEND    SD7     Q4  SD8     SX3    ...
+    SDB3  BPM     SD9a   Q5     SD12  SX4 ...    
+    SDB4  BPM     SD10a    Q5     SD93     ...
+    BPM  SDB5  SX3    SD8   Q4      SD7     BEND ...   
+    SD7     Q6      SD5    SX5     SD41    ...
+    BPM  SDB6  Q7    SD3     SX6      SD2     Q8 ...    
+    SDC1 FCOR SDC2   BPM    SD13a  SD13a  BPM ...
+    SDC2    FCOR   SDC1 ...
+    Q8      SD2    SX8     SD3    Q7  SDB7 ...   
+    BPM   SDB5     SX7      SD5     Q6     SD7 ...    
+    BEND   SD7    Q9    SD8     SX9  SDB3 ...
+    BPM     SD9a    Q10    SD8     SX10  SDC4  ...
+    FCOR SDC5  BPM   SDAC1    SDAC1 ...
+    BPM   SDC14  FCOR  SDC15 SX10    SD8    Q10    SD93 ...   
+    BPM   SDB12  SX9      SD8     Q9     SD7    ... 
+    BEND   SD7    Q6    SD5     SX7    SD41   ...   
+    BPM  SDB6  Q7      SD3    SX8    SD2   Q8 SDC1 ...      
+    FCOR  SDC2  BPM     SD13a  SD13a  ...
+    BPM  SDC2   FCOR  SDC1  Q8     SD2   SX8   SD3   Q7 ...    
+    SDB7  BPM   SDB5    SX7    SD5   Q6      SD7  ...   
+    BEND    SD7     Q9     SD8     SX9   SDB3    ...
+    BPM    SD9a   Q10     SD8     SX10  SDC4 ...
+    FCOR  SDC5  BPM    SDAC1    SDAC1   ...
+    BPM  SDC14  FCOR   SDC15   SX10   SD8     Q10    SD93 ...    
+    BPM  SDB12  SX9    SD8   Q9      SD7 ...
+    BEND    SD7    Q6      SD5    SX7    SD41 ...   
+    BPM  SDB6   Q7      SD3    SX8     SD2    Q8  SDC1 ...     
+    FCOR SDC2  BPM    SD13a   SD13a   ...
+    BPM   SDC2  FCOR  SDC1   Q8     SD2     SX6    SD3    Q7 ...   
+    SDB7  BPM    SD42    SX5     SD5    Q6      SD7    ...
+    BEND   SD7   Q4      SD8     SX3  SDB3 ...
+    BPM     SD9a   Q5      SD101   ...
+    BPM  SDB16  SX4   SD12    Q5     SD93 ...    
+    BPM  SD42  SX3     SD8    Q4     SD7   ...
+    BEND    SD6     SX2      SD5     Q3     SD141 ...   
+    BPM  SDB18  Q2     SD3   SX1     SD2     Q1 ...
+    SDC1 FCOR  SDC2   BPM     SD1e  ];
+
+
+ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 CAV FIN];
+%ELIST = [DEBUT INJ SECT1 SUP1 SECT2 SUP2 SECT3 SUP3 SECT4 SUP4 FIN];
+
+buildlat(ELIST);
+
+% Set all magnets to same energy
+THERING = setcellstruct(THERING,'Energy',1:length(THERING),GLOBVAL.E0);
+
+evalin('caller','global THERING FAMLIST GLOBVAL');
+
+atsummary;
+
+if nargout
+    varargout{1} = THERING;
+end
Index: /trunk/machine/SOLEIL/StorageRing/PSB/PSB_tempogui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/PSB/PSB_tempogui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/PSB/PSB_tempogui.m	(revision 17)
@@ -0,0 +1,411 @@
+function varargout = PSB_tempogui(varargin)
+% PSB_TEMPOGUI M-file for PSB_tempogui.fig
+%      PSB_TEMPOGUI, by itself, creates a new PSB_TEMPOGUI or raises the existing
+%      singleton*.
+%
+%      H = PSB_TEMPOGUI returns the handle to a new PSB_TEMPOGUI or the handle to
+%      the existing singleton*.
+%
+%      PSB_TEMPOGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in PSB_TEMPOGUI.M with the given input arguments.
+%
+%      PSB_TEMPOGUI('Property','Value',...) creates a new PSB_TEMPOGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before PSB_tempogui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to PSB_tempogui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help PSB_tempogui
+
+% Last Modified by GUIDE v2.5 13-Dec-2010 11:49:59
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @PSB_tempogui_OpeningFcn, ...
+                   'gui_OutputFcn',  @PSB_tempogui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before PSB_tempogui is made visible.
+function PSB_tempogui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to PSB_tempogui (see VARARGIN)
+
+% Choose default command line output for PSB_tempogui
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes PSB_tempogui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+lat_2020_3170_pseudo1
+updateatindex;
+handles.ATIndexList = atindex;
+handles.thetax = 0;
+handles.thetaz = 0;
+handles.Turns = 1;
+
+[betax betaz]   = modelbeta('all');
+[alphax alphaz] = modeltwiss('alpha', 'all');
+
+handles.alphaT = alphax(handles.ATIndexList.TEMPO);
+handles.betaT = betax(handles.ATIndexList.TEMPO);
+handles.gammaT=(1+handles.alphaT*handles.alphaT)/handles.betaT;
+
+handles.HCOR = getsp('HCOR', 'Model');
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = PSB_tempogui_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function edit_KEMV_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_KEMV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_KEMV as text
+%        str2double(get(hObject,'String')) returns contents of edit_KEMV as a double
+handles.thetaz = str2double(get(hObject,'String'))*1e-6; % rad
+% Update handles structure
+guidata(hObject, handles);
+pushbutton_plot_Callback(handles.pushbutton_plot, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_KEMV_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_KEMV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_KEMH_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_KEMH (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_KEMH as text
+%        str2double(get(hObject,'String')) returns contents of edit_KEMH as a double
+
+handles.thetax = str2double(get(hObject,'String'))*1e-6; % rad
+% Update handles structure
+guidata(hObject, handles);
+pushbutton_plot_Callback(handles.pushbutton_plot, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function edit_KEMH_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_KEMH (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_init.
+function pushbutton_init_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_init (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+lat_2020_3170_pseudo1
+
+
+% --- Executes on button press in pushbutton_plot.
+function pushbutton_plot_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plot (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+global THERING
+handles.Turns = get(handles.popupmenu_Nturn ,'Value');
+L = 13.4165; %m Position for point source on diaphragme
+
+if strcmp(get(get(handles.uipanel_plane, 'SelectedObject'), 'Tag'), 'radiobutton_Hplane')
+    hplane = 1;
+else
+    hplane = 0;
+end
+
+if hplane % if KEMH
+    % construct Line for transport from KEMH to end of the ring
+    REFPTS= (handles.ATIndexList.KEMH:length(THERING));
+    LINE = THERING(REFPTS);
+    % transport
+    Rin = [0; handles.thetax; 0; 0; 0; 0];
+    Rout = linepass(LINE,Rin,1:(length(LINE)+1));
+    % now make n turns
+    [x, ATIndex, LostBeam] = getturns(Rout(:,end), handles.Turns, 'All');
+    % construct turn 1
+    htour1 =  [zeros(6,handles.ATIndexList.KEMH-1), Rout(:,:)]*1e3;
+    % purpose ?
+    vtour0 =  [zeros(6,handles.ATIndexList.KEMH-1), Rout(:,:)]*1e3;
+    vtour1(:,:) =  x(:,1,:)*1e3;vtour1 = vtour1';
+    z = x;
+else % KEMV activated
+    Rin = [0;0;0;handles.thetaz;0; 0];
+    LINE = THERING(handles.ATIndexList.KEMV:end);
+    % transport the beam from KEMV to end of RING
+    Rout = LINEPASS(LINE,Rin,1:(length(LINE)+1));
+    % now make n turn by transporting the beam
+    [z, ATIndex, LostBeam] = getturns(Rout(:,end), handles.Turns, 'All');
+    vtour0 =  [zeros(6,handles.ATIndexList.KEMV-1), Rout(:,:)]*1e3;
+    vtour1(:,:) =  z(:,1,:)*1e3;vtour1 = vtour1';
+    htour1(:,:) =  z(:,1,:)*1e3;htour1 = htour1';
+    x = z;
+end
+
+%select low axes
+axes(handles.axes1);cla;
+
+% get position for all points
+spos = findspos(THERING, 1:(length(THERING)+1));
+sposBPM = getspos('BPMx');
+
+if hplane
+    plot(spos, htour1(1,:),'b-'); hold on
+    % SOURCE POINT
+    xTEMPO = htour1(1,handles.ATIndexList.TEMPO);
+    xpTEMPO = htour1(2,handles.ATIndexList.TEMPO);
+    LxTEMPO = xTEMPO+L*xpTEMPO; % at L meters
+else
+    plot(spos, vtour0(1,:),'b-'); hold on
+end
+slegend={'#1'};
+if handles.Turns > 1
+    plot(spos, x(:,1,1)*1e3,'r');
+    xTEMPO  = x(handles.ATIndexList.TEMPO,handles.Turns-1, 1)*1e3;
+    xpTEMPO = x(handles.ATIndexList.TEMPO,handles.Turns-1, 2)*1e3;
+    LxTEMPO  = xTEMPO+L*xpTEMPO; 
+    slegend=[slegend, {'#2'}];
+    if handles.Turns > 2
+        plot(spos, x(:,2,1)*1e3,'g');
+        slegend=[slegend, {'#3'}];
+        if handles.Turns > 3
+            plot(spos, x(:,3,1)*1e3,'c');
+            slegend=[slegend, {'#4'}];
+            if handles.Turns > 4
+                plot(spos, x(:,4,1)*1e3,'k');
+                slegend=[slegend, {'#5'}];
+            end
+        end
+    end
+end
+legend(slegend)
+% Replot BPM position for turn 1
+plot(sposBPM, htour1(1,family2atindex('BPMx')),'b.'); 
+
+% plot positions of kickers
+plot(spos(handles.ATIndexList.KEMH), 0, 'ks'); hold on;
+plot(spos(handles.ATIndexList.KEMV), 0, 'rs');
+
+xlabel('s-position (m)')
+ylabel('x-position (mm)')
+xlim([0 getcircumference])
+% Show position of point TEMPO source
+plot(repmat(findspos(THERING, handles.ATIndexList.TEMPO), 2,1), ...
+    1.1*[-1 1]*max(x(:,1,1)*1e3),'k');
+
+% compute position at BPM and point sources
+%BPMspos = getspos('BPMx', [8 1; 8 2]);
+%diff(BPMspos)
+%xTempo = x(:,1,1);
+
+% Position first time the beam cross TEMPO BL
+fprintf('Turn %d Center SDM08 x = %.3f mm x'' = %.3f mrad  x @ 10m = %.3f mm\n', ...
+    handles.Turns, xTEMPO,xpTEMPO, LxTEMPO); 
+fprintf('Center SDM08 z = %.3f mm z'' = %.3f mrad z @ 10m = %.3f mm\n',...
+    htour1(3,handles.ATIndexList.TEMPO),htour1(4,handles.ATIndexList.TEMPO), ... 
+    htour1(3,handles.ATIndexList.TEMPO)+L*htour1(4,handles.ATIndexList.TEMPO)); 
+
+%ylim([-2 2])
+
+% second axis
+axes(handles.axes2);cla;
+plot(spos, vtour0(3,:)); hold on
+if handles.Turns > 1
+    plot(spos, z(:,1,3)*1e3,'r');
+    if handles.Turns > 2
+        plot(spos, z(:,2,3)*1e3,'g');
+        if handles.Turns > 3
+            plot(spos, z(:,3,3)*1e3,'c');
+            if handles.Turns > 4
+                plot(spos, z(:,4,3)*1e3,'k');
+            end
+        end
+    end
+end
+
+% Compute position at BPM and poitn source first time the beam cross TEMPO
+fprintf('Center SDM08 x = %.3f mm x'' = %.3f mrad\n  x @ 10m = %.3f mm\n', ...
+    htour1(1,handles.ATIndexList.TEMPO),htour1(2,handles.ATIndexList.TEMPO), ...
+    htour1(1,handles.ATIndexList.TEMPO)+L*htour1(2,handles.ATIndexList.TEMPO)); 
+set(handles.text_xTEMPO10m, 'String',...
+    num2str(LxTEMPO));
+
+fprintf('Center SDM08 z = %.3f mm z'' = %.3f mrad\n z @ 10m = %.3f mm\n',...
+    htour1(3,handles.ATIndexList.TEMPO),htour1(4,handles.ATIndexList.TEMPO), ... 
+    htour1(3,handles.ATIndexList.TEMPO)+L*htour1(4,handles.ATIndexList.TEMPO)); 
+legend(slegend)
+xlabel('s-position (m)')
+ylabel('z-position (mm)')
+xlim([0 getcircumference])
+% plot if 2 turn at least
+if size(z,2) > 1
+    plot(repmat(findspos(THERING, handles.ATIndexList.TEMPO), 2,1), ...
+    1.1*[-1 1]*max(z(:,2,3)*1e3),'k');
+end
+%ylim([-2 2])
+
+BPMid = dev2elem('BPMx', [8 1; 8 2]);
+
+set(handles.text_BPM8_1_hposition,'String',num2str(htour1(1,handles.ATIndexList.BPM(BPMid(1)))))
+set(handles.text_BPM8_1_vposition,'String',num2str(vtour1(3,handles.ATIndexList.BPM(BPMid(1)))))
+set(handles.text_BPM8_2_hposition,'String',num2str(htour1(1,handles.ATIndexList.BPM(BPMid(2)))))
+set(handles.text_BPM8_2_vposition,'String',num2str(vtour1(3,handles.ATIndexList.BPM(BPMid(2)))))
+
+set(handles.text_BPM8_1_hangle,'String',num2str(htour1(2,handles.ATIndexList.BPM(BPMid(1)))))
+set(handles.text_BPM8_1_vangle,'String',num2str(vtour1(4,handles.ATIndexList.BPM(BPMid(1)))))
+set(handles.text_BPM8_2_hangle,'String',num2str(htour1(2,handles.ATIndexList.BPM(BPMid(2)))))
+set(handles.text_BPM8_2_vangle,'String',num2str(vtour1(4,handles.ATIndexList.BPM(BPMid(2)))))
+
+% Source point
+set(handles.text_TEMPO_hposition,'String',num2str(htour1(1,handles.ATIndexList.TEMPO)))
+set(handles.text_TEMPO_vposition,'String',num2str(vtour1(3,handles.ATIndexList.TEMPO)))
+set(handles.text_TEMPO_hangle,'String',num2str(htour1(2,handles.ATIndexList.TEMPO)))
+set(handles.text_TEMPO_vangle,'String',num2str(vtour1(4,handles.ATIndexList.TEMPO)))
+
+% Invariant
+x  = htour1(1,handles.ATIndexList.TEMPO) *1e-3;
+xp = htour1(2,handles.ATIndexList.TEMPO) *1e-3;
+A = handles.gammaT*x*x+2*handles.alphaT*x*xp+handles.betaT*xp*xp;
+set(handles.text_TEMPO_xmax,'String',num2str(sqrt(A/handles.gammaT)*1e3));
+
+% --- Executes on selection change in popupmenu_Nturn.
+function popupmenu_Nturn_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Nturn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_Nturn contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_Nturn
+pushbutton_plot_Callback(handles.pushbutton_plot, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_Nturn_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Nturn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in radiobutton_zoom1.
+function radiobutton_zoom1_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton_zoom1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton_zoom1
+if get(hObject,'Value')
+    dragzoom(handles.axes1)
+else
+    dragzoom(handles.axes1)
+end
+
+% --- Executes on button press in radiobutton_zoom2.
+function radiobutton_zoom2_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton_zoom2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton_zoom2
+
+if get(hObject,'Value')
+    dragzoom(handles.axes2)
+else
+    dragzoom(handles.axes2)
+end
+
+
+% --- Executes on button press in pushbutton_SaveHCOR.
+function pushbutton_SaveHCOR_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_SaveHCOR (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.HCOR = getsp('HCOR', 'Model');
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Executes on button press in pushbutton_Restore.
+function pushbutton_Restore_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Restore (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+setsp('HCOR', handles.HCOR, 'Model');
+pushbutton_plot_Callback(handles.pushbutton_plot, eventdata, handles)
+
+function edit_angle_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_angle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_angle as text
+%        str2double(get(hObject,'String')) returns contents of edit_angle as a double
+angle = str2double(get(hObject,'String'));
+
+% 2 BPMs for TEMPO BL
+BPMspos = getspos('BPMx', [8 1; 8 2]);
+
+setorbitbump('BPMx', [8 1; 8 2], [0 diff(BPMspos)*angle],'HCOR', [-2 -1 1 2], 'Model')
+pushbutton_plot_Callback(handles.pushbutton_plot, eventdata, handles)
Index: /trunk/machine/SOLEIL/StorageRing/PSB/TbT_PSBgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/PSB/TbT_PSBgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/PSB/TbT_PSBgui.m	(revision 17)
@@ -0,0 +1,627 @@
+function varargout = TbT_PSBgui(varargin)
+% TBT_PSBGUI MATLAB code for TbT_PSBgui.fig
+%      TBT_PSBGUI, by itself, creates a new TBT_PSBGUI or raises the existing
+%      singleton*.
+%
+%      H = TBT_PSBGUI returns the handle to a new TBT_PSBGUI or the handle to
+%      the existing singleton*.
+%
+%      TBT_PSBGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in TBT_PSBGUI.M with the given input arguments.
+%
+%      TBT_PSBGUI('Property','Value',...) creates a new TBT_PSBGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before TbT_PSBgui_OpeningFcn gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to TbT_PSBgui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help TbT_PSBgui
+
+% Last Modified by GUIDE v2.5 09-Dec-2010 19:31:38
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+    'gui_Singleton',  gui_Singleton, ...
+    'gui_OpeningFcn', @TbT_PSBgui_OpeningFcn, ...
+    'gui_OutputFcn',  @TbT_PSBgui_OutputFcn, ...
+    'gui_LayoutFcn',  [] , ...
+    'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before TbT_PSBgui is made visible.
+function TbT_PSBgui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to TbT_PSBgui (see VARARGIN)
+
+% Choose default command line output for TbT_PSBgui
+handles.output = hObject;
+handles.TimbelBoardName = 'ANS-C01/SY/Timbel';
+handles.KEMHName = cell2mat(family2tangodev('KEMH'));
+handles.KEMVName = cell2mat(family2tangodev('KEMV'));
+handles.BPMId = getfamilydata('BPMx', 'GroupId');
+% Update handles structure
+guidata(hObject, handles);
+
+% if strcmp(family2mode('BPMx'),'Online')
+%     if strcmpi(tango_state2(handles.KEMHName),'ON')
+%         value = 1;
+%     else
+%         value = 0;
+%     end
+%     set(handles.checkbox_KEMH_ON, 'Value', value);
+%     
+%     if strcmpi(tango_state2(handles.KEMVName),'ON')
+%         value = 1;
+%     else
+%         value = 0;
+%     end
+%     set(handles.checkbox_KEMV_ON, 'Value', value);
+%     
+%     if readattribute([handles.TimbelBoardName, '/outputFrequency1']) == 1
+%         value = 0;
+%     else
+%         value = 0;
+%     end
+%     set(handles.checkbox_Timbel_Enable, 'Value', value);
+%     
+%     pushbutton_RefreshData_Callback(handles.pushbutton_RefreshData, eventdata, handles);
+% end
+% UIWAIT makes TbT_PSBgui wait for user response (see UIRESUME)
+% uiwait(handles.TbT_PSB);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = TbT_PSBgui_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_FirstTurn_PlotData.
+function pushbutton_FirstTurn_PlotData_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_FirstTurn_PlotData (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% disable K1 Event is set to 0
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigEvent', int32(0));
+
+% Trigger the beam which will be lost after one turn.
+% Double trigger to be sure that the timePhase delay of the BPMs is taken
+% into account
+burst_trigger;
+pause(1);
+burst_trigger;
+pause(1);
+
+% get the turn by turn data for all BPMs and plot first turn for sum signal
+A = getbpmrawdata('NoDisplay', 'AllData', 'Struct');
+% plot Sum signal
+% TODO number of turn in menu
+%figure; plot(A.Data.Sum(:,1:10)'./max(A.Data.Sum(:,1:10)'))
+figure; plot(A.Data.Sum(:,1:10)'./max(repmat(max(A.Data.Sum(:,1:10)'),1,120)))
+xlabel('Turn #')
+ylabel('Sum signal (a.u)')
+title('Check if all BPM are well synchronized')
+
+%enable K1 Injection Event is to 3
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigEvent', int32(3));
+
+
+function edit_KEMH_SP_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_KEMH_SP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_KEMH_SP as text
+%        str2double(get(hObject,'String')) returns contents of edit_KEMH_SP as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_KEMH_SP_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_KEMH_SP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_Timing_BPM_Injection.
+function pushbutton_Timing_BPM_Injection_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Timing_BPM_Injection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%switchbpm('Injection');
+Set_and_Check_Libera_config_for_USERS;
+% Remove time phase for FOFB
+reset_bpm_timephase;
+pause
+Check_Libera_config;
+
+% --- Executes on button press in pushbutton_Timing_BPM_FMA.
+function pushbutton_Timing_BPM_FMA_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Timing_BPM_FMA (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+text = sprintf('1/ Choisir d''abord bon quart pour l''injection \n2/ Puis mettre les bons retards sur les BPMs');
+Answer = questdlg(text,'Orbit Correction','Oui','Non','Non');
+if strcmp(Answer,'Non')
+    disp('   ********************************');
+    disp('   ** Configuration Aborted      **');
+    disp('   ********************************');
+    fprintf('\n');
+    return
+end
+
+%switchbpm('KEM');
+Set_and_Check_Libera_config_for_FMA;
+% Set the time phase for all BPMs to trig on the same turn
+set_bpm_timephase(20); % 20 is for bunch 1 PSB
+warndlg('Recommencer si message d''erreur TANGO','Attention', 'modal');
+
+% --- Executes on button press in pushbutton_Timing_Board_Injection.
+function pushbutton_Timing_Board_Injection_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Timing_Board_Injection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switchsynchro('Injection');
+
+% --- Executes on button press in pushbutton_Timing_Board_Soft.
+function pushbutton_Timing_Board_Soft_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Timing_Board_Soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switchsynchro('KEM');
+
+% --- Executes on button press in pushbutton_Timing_Trig_Soft.
+function pushbutton_Timing_Trig_Soft_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Timing_Trig_Soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+soft_trigger;
+
+% --- Executes on button press in pushbutton_Timing_Trig_Injection.
+function pushbutton_Timing_Trig_Injection_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Timing_Trig_Injection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ntimes = str2double(get(handles.edit_injection_number,'String'));
+
+for k=1:ntimes,
+    burst_trigger; pause(0.5);
+end
+
+
+% --- Executes on selection change in popupmenu_Timbel_Frequency.
+function popupmenu_Timbel_Frequency_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Timbel_Frequency (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu_Timbel_Frequency contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_Timbel_Frequency
+
+% Write impulsion
+dutyCycle = 0.0036; % to get 10 us pulse length
+writeattribute([handles.TimbelBoardName, '/dutyCycleCh1'], dutyCycle);
+
+% Write Frequency
+contents = cellstr(get(hObject,'String'));
+frequency = str2double(contents{get(hObject,'Value')});
+writeattribute([handles.TimbelBoardName, '/outputFrequency1'], frequency);
+pushbutton_RefreshData_Callback(handles.pushbutton_RefreshData, eventdata, handles);
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_Timbel_Frequency_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Timbel_Frequency (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_HCell8.
+function pushbutton_HCell8_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_HCell8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+soft_trigger
+pause(2); %s
+BPMmeas = getbpmrawdata(getbpmbycell(8), 'NoDisplay', 'AllData', 'Struct', 'NoArchive');
+load('Ref.mat')
+%save('Ref','BPMmeas0')
+%figure(100); plot(BPMmeas.Data.Sum(1,:)')
+%
+%BPMmeas0 = BPMmeas;
+
+figure(101); clf;  iturn = 1:25;
+subplot(2,3,1)
+plot(BPMmeas.Data.X(1,iturn)');
+hold on; plot(BPMmeas0.Data.X(1,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(1,:)))
+
+subplot(2,3,2)
+plot(BPMmeas.Data.X(2,iturn)')
+hold on; plot(BPMmeas0.Data.X(2,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(2,:)))
+
+subplot(2,3,3)
+plot(BPMmeas.Data.X(3,iturn)')
+hold on; plot(BPMmeas0.Data.X(3,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(3,:)))
+
+subplot(2,3,4)
+plot(BPMmeas.Data.X(4,iturn)')
+hold on; plot(BPMmeas0.Data.X(4,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(4,:)))
+
+subplot(2,3,5)
+plot(BPMmeas.Data.X(5,iturn)')
+hold on; plot(BPMmeas0.Data.X(5,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(5,:)))
+
+subplot(2,3,6)
+plot(BPMmeas.Data.X(6,iturn)')
+hold on; plot(BPMmeas0.Data.X(6,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(6,:)))
+
+
+
+% --- Executes on button press in pushbutton_Turn1.
+function pushbutton_Turn1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Turn1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+BPMmeas = getbpmrawdata([], 'NoDisplay', 'AllData', 'Struct', 'NoArchive');
+load('RefAll.mat')
+
+figure(102); clf
+iturn1=15;
+spos = getspos('BPMx');
+plot(spos, BPMmeas.Data.X(:,iturn1)')
+hold on; plot(spos, BPMmeas0All.Data.X(:,iturn1)','r');
+
+% --- Executes on button press in pushbutton_RefreshData.
+function pushbutton_RefreshData_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_RefreshData (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%Refresh data in the table
+%tango_read_attribute2(handles.KEMHName, 'Voltage');
+%tango_read_attribute2(handles.KEMHName, 'Voltage');
+
+if strcmp(family2mode('BPMx'), 'Online'),
+    if strcmpi(tango_state2(handles.KEMHName),'ON')
+        tab{1,1} = 'true';
+    else
+        tab{1,1} = 'false';
+    end
+    
+    tab{1,2} = getam('KEMH');
+    tab{1,3} = 'V';
+    tab{1,4} = readattribute('ANS-C01/SY/LOCAL.EP.1/k-h.trigTimeDelay');
+    
+    if strcmpi(tango_state2(handles.KEMVName),'ON')
+        tab{2,1} = 'true';
+    else
+        tab{2,1} = 'false';
+    end
+    
+    tab{2,2} = getam('KEMV');
+    tab{2,3} = 'V';
+    tab{2,4} = readattribute('ANS-C01/SY/LOCAL.EP.1/k-v.trigTimeDelay');
+    
+    
+    if (readattribute([handles.TimbelBoardName, '/disableChan1']) == 0)
+        tab{3,1} = 'true';
+    else
+        tab{3,1} = 'false';
+    end
+    
+    tab{3,2} = readattribute([handles.TimbelBoardName, '/outputFrequency1']);
+    tab{3,3} = 'Hz';
+    tab{3,4} = readattribute([handles.TimbelBoardName, '/delayChannel1']); %
+    set(handles.uitable_table1, 'Data', tab);
+end
+
+set(handles.text_BPM_Tune_AGC,'String', sprintf('Tune BPM: Gain %d', getbpmagcgain));
+
+
+% --- Executes during object creation, after setting all properties.
+function uitable_table1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to uitable_table1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+%pushbutton_RefreshData_Callback(handles.pushbutton_RefreshData, eventdata, handles);
+
+
+% --- Executes on button press in pushbutton_BPM_BufferSize.
+function pushbutton_BPM_BufferSize_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_BPM_BufferSize (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tango_group_read_attribute2(handles.BPMId,'DDBufferSize');
+figure; bar(tango_group_read_attribute2(handles.BPMId,'DDBufferSize'));
+xlabel('BPM #')
+ylabel('Buffersize')
+
+function edit_BPM_BufferSize_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_BPM_BufferSize (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_BPM_BufferSize as text
+%        str2double(get(hObject,'String')) returns contents of edit_BPM_BufferSize as a double
+
+tango_group_write_attribute2(handles.BPMId,'DDBufferSize', int32(str2double(get(hObject,'String'))));
+pause(3);
+pushbutton_BPM_BufferSize_Callback(handles.pushbutton_BPM_BufferSize, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function edit_BPM_BufferSize_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_BPM_BufferSize (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in checkbox_KEMV_ON.
+function checkbox_KEMV_ON_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_KEMV_ON (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_KEMV_ON
+if get(hObject,'Value')
+    tango_command_inout2(handles.KEMVName,'On')
+else
+    tango_command_inout2(handles.KEMVName,'Off')
+end
+
+pushbutton_RefreshData_Callback(handles.pushbutton_RefreshData, eventdata, handles);
+
+
+% --- Executes on button press in checkbox_Timbel_Enable.
+function checkbox_Timbel_Enable_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Timbel_Enable (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Timbel_Enable
+
+attrName = [handles.TimbelBoardName,'/disableChan1'];
+
+if get(hObject,'Value')
+    writeattribute(attrName,0, 'bool'); % uint8 for bool
+else
+    writeattribute(attrName,1, 'bool'); %
+end
+
+pushbutton_RefreshData_Callback(handles.pushbutton_RefreshData, eventdata, handles);
+
+
+% --- Executes when entered data in editable cell(s) in uitable_table1.
+function uitable_table1_CellEditCallback(hObject, eventdata, handles)
+% hObject    handle to uitable_table1 (see GCBO)
+% eventdata  structure with the following fields (see UITABLE)
+%	Indices: row and column indices of the cell(s) edited
+%	PreviousData: previous data for the cell(s) edited
+%	EditData: string(s) entered by the user
+%	NewData: EditData or its converted form set on the Data property. Empty if Data was not changed
+%	Error: error string when failed to convert EditData to appropriate value for Data
+% handles    structure with handles and user data (see GUIDATA)
+
+%%
+if eventdata.Indices(1) ==  1 && eventdata.Indices(2) ==  2
+    % Set new SP value for KEMH
+    setsp('KEMH', eventdata.NewData)
+elseif  eventdata.Indices(1) ==  2 && eventdata.Indices(2) ==  2
+    % Set new SP value for KEMV
+    setsp('KEMV', eventdata.NewData)
+elseif  eventdata.Indices(1) ==  1 && eventdata.Indices(2) ==  4
+    % Set new delay value for KEMH
+    writeattribute('ANS-C01/SY/LOCAL.EP.1/k-h.trigTimeDelay', eventdata.NewData)
+elseif  eventdata.Indices(1) ==  2 && eventdata.Indices(2) ==  4
+    % Set new delay value for KEMV
+    writeattribute('ANS-C01/SY/LOCAL.EP.1/k-v.trigTimeDelay', eventdata.NewData)
+elseif  eventdata.Indices(1) ==  3 && eventdata.Indices(2) ==  1
+    % Set new frequency value for Timbel
+    writeattribute([handles.TimbelBoardName, '/outputFrequency1'], eventdata.EditData)
+elseif  eventdata.Indices(1) ==  3 && eventdata.Indices(2) ==  4
+    % Set new delay value for Timbel
+    writeattribute([handles.TimbelBoardName, '/delayChannel1'], eventdata.NewData)
+elseif  eventdata.Indices(1) ==  1 && eventdata.Indices(2) ==  1
+    % ON/OFF on KEMH
+    if eventdata.NewData
+        tango_command_inout2(handles.KEMHName,'On')
+    else
+        tango_command_inout2(handles.KEMHName,'Off')
+    end
+elseif  eventdata.Indices(1) ==  2 && eventdata.Indices(2) ==  1
+    % ON/OFF on KEMV
+    if eventdata.NewData
+        tango_command_inout2(handles.KEMVName,'On')
+    else
+        tango_command_inout2(handles.KEMVName,'Off')
+    end
+elseif  eventdata.Indices(1) ==  3 && eventdata.Indices(2) ==  1
+    % TImbel enable/disable output
+    attrName = [handles.TimbelBoardName,'/disableChan1'];
+    if eventdata.NewData
+        writeattribute(attrName,0, 'bool'); % uint8 for bool
+    else
+        writeattribute(attrName,1, 'bool'); %
+    end
+end
+
+
+
+
+% --- Executes on button press in checkbox_Timing_BPM_AGC.
+function checkbox_Timing_BPM_AGC_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Timing_BPM_AGC (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Timing_BPM_AGC
+
+if get(hObject,'Value')
+    %Enable AGC
+    tango_group_write_attribute2(handles.BPMId,'AGCEnabled',uint8(1));
+else
+    % Disable AGC
+    tango_group_write_attribute2(handles.BPMId,'AGCEnabled',uint8(0));
+end
+pause(0.5);
+figure; bar(tango_group_read_attribute2(handles.BPMId,'AGCEnabled'));
+xlabel('BPM #')
+ylabel('Buffersize')
+
+
+
+function edit_injection_number_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_injection_number (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_injection_number as text
+%        str2double(get(hObject,'String')) returns contents of edit_injection_number as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_injection_number_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_injection_number (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_Turn2.
+function pushbutton_Turn2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Turn2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+BPMmeas = getbpmrawdata([], 'NoDisplay', 'AllData', 'Struct', 'NoArchive');
+load('RefAll.mat')
+
+figure(102); clf
+iturn1=16;
+spos = getspos('BPMx');
+plot(spos, BPMmeas.Data.X(:,iturn1)')
+hold on; plot(spos, BPMmeas0All.Data.X(:,iturn1)','r');
+
+
+% --- Executes on button press in pushbutton_VCell8.
+function pushbutton_VCell8_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_VCell8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+soft_trigger
+pause(2); %s
+BPMmeas = getbpmrawdata(getbpmbycell(8), 'NoDisplay', 'AllData', 'Struct', 'NoArchive');
+load('RefZ.mat')
+
+%BPMmeas0 = BPMmeas; save('RefZ','BPMmeas0')
+%figure(100); plot(BPMmeas.Data.Sum(1,:)')
+%
+%BPMmeas0 = BPMmeas;
+
+figure(101); clf;  iturn = 5:35;
+subplot(2,3,1)
+plot(BPMmeas.Data.Z(1,iturn)');
+hold on; plot(BPMmeas0.Data.Z(1,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(1,:)))
+
+subplot(2,3,2)
+plot(BPMmeas.Data.Z(2,iturn)')
+hold on; plot(BPMmeas0.Data.Z(2,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(2,:)))
+
+subplot(2,3,3)
+plot(BPMmeas.Data.Z(3,iturn)')
+hold on; plot(BPMmeas0.Data.Z(3,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(3,:)))
+
+subplot(2,3,4)
+plot(BPMmeas.Data.Z(4,iturn)')
+hold on; plot(BPMmeas0.Data.Z(4,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(4,:)))
+
+subplot(2,3,5)
+plot(BPMmeas.Data.Z(5,iturn)')
+hold on; plot(BPMmeas0.Data.Z(5,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(5,:)))
+
+subplot(2,3,6)
+plot(BPMmeas.Data.Z(6,iturn)')
+hold on; plot(BPMmeas0.Data.Z(6,iturn)','r');
+title(sprintf('BPM[%d,%d]', BPMmeas.DeviceList(6,:)))
+
+
+
+% --- Executes on button press in pushbutton_Timing_BPM_3Hz.
+function pushbutton_Timing_BPM_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Timing_BPM_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switchsynchro('3Hz');
+
+
+% --------------------------------------------------------------------
+function uipushtool1_ClickedCallback(hObject, eventdata, handles)
+% hObject    handle to uipushtool1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+ls
Index: /trunk/machine/SOLEIL/StorageRing/RFPostmortem/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RFPostmortem/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RFPostmortem/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+changes
Index: /trunk/machine/SOLEIL/StorageRing/RFPostmortem/RFPM_LectureLabVIEW.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RFPostmortem/RFPM_LectureLabVIEW.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RFPostmortem/RFPM_LectureLabVIEW.m	(revision 17)
@@ -0,0 +1,1379 @@
+function varargout = RFPM_LectureLabVIEW(varargin)
+%RFPOSTMORTEM121007 M-file for RFPostMortem121007.fig
+%      RFPOSTMORTEM121007, by itself, creates a new RFPOSTMORTEM121007 or raises the existing
+%      singleton*.
+%
+%      H = RFPOSTMORTEM121007 returns the handle to a new RFPOSTMORTEM121007 or the handle to
+%      the existing singleton*.
+%
+%      RFPOSTMORTEM121007('Property','Value',...) creates a new RFPOSTMORTEM121007 using the
+%      given property value pairs. Unrecognized properties are passed via
+%      varargin to RFPostMortem121007_OpeningFcn.  This calling syntax produces a
+%      warning when there is an existing singleton*.
+%
+%      RFPOSTMORTEM121007('CALLBACK') and RFPOSTMORTEM121007('CALLBACK',hObject,...) call the
+%      local function named CALLBACK in RFPOSTMORTEM121007.M with the given input
+%      arguments.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help RFPostMortem121007
+
+% Last Modified by GUIDE v2.5 31-Mar-2008 18:21:40
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @RFPM_LectureLabVIEW_OpeningFcn, ...
+                   'gui_OutputFcn',  @RFPM_LectureLabVIEW_OutputFcn, ...
+                   'gui_LayoutFcn',  [], ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+   gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before RFPostMortem121007 is made visible.
+function RFPM_LectureLabVIEW_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   unrecognized PropertyName/PropertyValue pairs from the
+%            command line (see VARARGIN)
+
+% Choose default command line output for RFPostMortem121007
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes RFPostMortem121007 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = RFPM_LectureLabVIEW_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%                                                       CAVITE 1                                                       %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+% --- Executes on button press in pushbutton1_ACQUISITION.
+function pushbutton1_ACQUISITION_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1_ACQUISITION (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+statusAcquisition_cav1=tango_read_attribute2('ANS-C03/RF/PM.1','Status');
+text=statusAcquisition_cav1.value;
+if findstr(text, 'running')
+    msgbox('Fonctionnement Normal: pas d''acquisition Ã  faire','Info','warn');
+    return;
+    
+else
+
+    set(handles.text4_PR1,'String','Pr1');
+    set(handles.text_PR2,'String','Pr2');
+    set(handles.text_PR3,'String','Pr3');
+    set(handles.text_PR4,'String','Pr4');
+
+    rep = tango_read_attributes2('ANS-C03/RF/AMP.1-DATA', {'reflectedPowerSecurityT1','reflectedPowerSecurityT2',...
+        'reflectedPowerSecurityT3','reflectedPowerSecurityT4'});
+
+    Data.AMP1.reflectedPowerSecurityT1 = rep(1).value;
+    Data.AMP1.reflectedPowerSecurityT2 = rep(2).value;
+    Data.AMP1.reflectedPowerSecurityT3 = rep(3).value;
+    Data.AMP1.reflectedPowerSecurityT4 = rep(4).value;
+   
+    
+    if Data.AMP1.reflectedPowerSecurityT1
+     set(handles.text4_PR1,'BackgroundColor', [0 1 0]); %green
+    else 
+     set(handles.text4_PR1,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP1.reflectedPowerSecurityT2
+     set(handles.text_PR2,'BackgroundColor', [0 1 0]); %green
+    else 
+     set(handles.text_PR2,'BackgroundColor', [1 0 0]); %red
+    end
+
+    if Data.AMP1.reflectedPowerSecurityT3
+     set(handles.text_PR3,'BackgroundColor', [0 1 0]); %green
+    else 
+     set(handles.text_PR3,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP1.reflectedPowerSecurityT4
+     set(handles.text_PR4,'BackgroundColor', [0 1 0]); %green
+    else 
+     set(handles.text_PR4,'BackgroundColor', [1 0 0]); %red
+    end
+    
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+    set(handles.text_Pi,'String','Pi');
+    set(handles.text_PSS,'String','PSS Sec');
+    set(handles.text_uC,'String','uC');
+    
+    repPSS = tango_read_attribute2('ANS-C03/RF/LLE.1','pssSecurity');
+    %rep = tango_read_attributes2('ANS-C03/RF/AMP.1-DATA', {'incidentPowerSecurity','pssSecurity','microcontrollerSecurity'});
+    rep = tango_read_attributes2('ANS-C03/RF/AMP.1-DATA', {'incidentPowerSecurity','microcontrollerSecurity'});
+    
+    Data.AMP1.incidentPowerSecurity = rep(1).value;
+    Data.AMP1.pssSecurity = repPSS.value;
+    Data.AMP1.microcontrollerSecurity=rep(2).value;
+    
+    if Data.AMP1.incidentPowerSecurity
+      set(handles.text_Pi,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_Pi,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP1.pssSecurity
+      set(handles.text_PSS,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_PSS,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP1.microcontrollerSecurity
+      set(handles.text_uC,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_uC,'BackgroundColor', [1 0 0]); %red
+    end
+  
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
+    
+    set(handles.text_InterLCKmach,'String','Interlck MACH');
+    set(handles.text_VAC,'String','VAC');
+    set(handles.text_CRYO,'String','CRYO');
+    
+    
+    repINTER = tango_read_attribute2('ANS-C03/RF/LLE.1','machineSecurity');
+    %rep = tango_read_attributes2('ANS-C03/RF/CAV.1', {'interlock','vacuumSecurity','cryomoduleSecurity'});
+    rep = tango_read_attributes2('ANS-C03/RF/CAV.1', {'vacuumSecurity','cryomoduleSecurity'});
+    
+    Data.CAV1.interlock = repINTER.value;
+    %Data.CAV1.interlock = rep(1).value;
+    Data.CAV1.vacuum    = rep(1).value;
+    Data.CAV1.cryo = rep(2).value;
+
+    if Data.CAV1.interlock
+      set(handles.text_InterLCKmach,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV1.interlock);
+      set(handles.text_InterLCKmach,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.CAV1.vacuum
+        %disp (Data.CAV1.vacuum);
+      set(handles.text_VAC,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV1.vacuum)
+      set(handles.text_VAC,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.CAV1.cryo
+        %disp (Data.CAV1.cryo);
+      set(handles.text_CRYO,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV1.vacuum)
+      set(handles.text_CRYO,'BackgroundColor', [1 0 0]); %red
+    end
+   
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+rep = tango_read_attributes2('ANS-C03/RF/PM.1', {'acqHighResolutionCh1', 'acqHighResolutionCh2', 'acqHighResolutionCh3', ...
+    'acqHighResolutionCh4'});
+Data.PM1.DataHR1 = rep(1).value;
+Data.PM1.DataHR2 = rep(2).value;
+Data.PM1.DataHR3 = rep(3).value;
+Data.PM1.DataHR4 = rep(4).value;
+
+Data.PM1.TimestampHR = tango_shift_time(rep(1).time);
+
+reptrig1 = tango_read_attribute2('ANS-C03/RF/PM.1','triggerTimestamp');
+Data.PM1.triggerTimestamp = reptrig1.value;
+
+[NbrColumn,NbrPoint1] = size (Data.PM1.DataHR1);
+
+axes(handles.graph1);
+    
+    name1='_AcRAPIDE'
+   
+    %pnt=1:10000;
+    pnt=1:NbrPoint1;
+
+
+    hold off;
+    plot(pnt, Data.PM1.DataHR1,'b'); hold on; grid on;
+    plot(pnt, Data.PM1.DataHR2,'r');
+    plot(pnt, Data.PM1.DataHR3,'g');
+    plot(pnt, Data.PM1.DataHR4,'k');
+    legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %text(Data.PM1.triggerTimestamp);
+    xlabel('nombre de points (temps: 1 us par point)');
+    ylabel('Signal');
+
+
+
+%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
+
+DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+%FileName = appendtimestamp('RFdata_CAV1', Data.PM1.TimestampHR);
+%COMMENT% FileName = appendtimestamp('RFdata_CAV1', Data.PM1.triggerTimestamp);
+%FileName = appendtimestamp('RFdata_CAV1', Data.PM1.triggerTimestamp);
+FileName =['RFdata_CAV1_', Data.PM1.triggerTimestamp];
+%FileName = strcat(FileName,name1);
+%button group
+
+[token,remain]=strtok(FileName);
+res=datevec(remain);
+resp1=num2str(res(1));
+resp2=num2str(res(2));
+resp3=num2str(res(3));
+resp4=num2str(res(4));
+resp5=num2str(res(5));
+resp6=num2str(res(6));
+FileNameLAST=strcat('RFdata_CAV1','_',resp1,'-',resp2,'-',resp3,'_',resp4,'h',resp5,'mn',resp6,'s');
+disp (FileNameLAST);
+
+[FileNameLAST, DirectoryName] = uiputfile('*.mat', 'Select File (Cancel to not save to a file)', [DirectoryName FileNameLAST, '.mat']);
+if FileNameLAST == 0
+    disp('   No data saved');
+    return;
+    %RFdata_2007-10-10_13-48-23.mat
+end
+
+DirStart = pwd;
+[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+save(FileNameLAST, 'Data');
+cd(DirStart);
+fprintf('   Data saved to %s\n', [DirectoryName FileNameLAST]);
+
+setappdata(handles.figure1, 'RFdata_CAV1', Data);
+
+end
+%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
+
+
+
+% --- Executes on button press in pushbutton2_CLEA*.matR.
+function pushbutton2_CLEAR_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton2_CLEAR (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure*.mat with handles and user data (see GUIDATA)
+
+axes(handles.graph1);
+hold off;
+plot(NaN);
+
+
+set(handles.text4_PR1,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_PR2,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_PR3,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_PR4,'BackgroundColor', [0.702 0.702 0.702]); %gray
+    
+set(handles.text_Pi,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_PSS,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_uC,'BackgroundColor', [0.702 0.702 0.702]); %gray
+  
+set(handles.text_InterLCKmach,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_VAC,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_CRYO,'BackgroundColor', [0.702 0.702 0.702]); %gray
+    
+
+%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_Open.
+function pushbutton_Open_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Open (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+DirStart = pwd;
+DirectoryName = gotodirectory(DirectoryName);
+[FileName, DirectoryName] = uigetfile('*.mat', 'Select File (Cancel to not save to a file)','RFdata_CAV1*');
+disp (FileName);
+
+global DirectoryNameGlobal;
+DirectoryNameGlobal=DirectoryName;
+global FileNameGlobal;
+FileNameGlobal=FileName;
+
+if FileName == 0
+    msgbox('No file chosen','Info','warn');
+    %disp('   No file chosen');
+    return;
+else
+    load(FileName, 'Data');
+end
+cd(DirStart);
+
+setappdata(handles.figure1, 'RFdata_CAV1', Data);
+
+
+
+if Data.AMP1.reflectedPowerSecurityT1
+    set(handles.text4_PR1,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text4_PR1,'BackgroundColor', [1 0 0]); %red
+end 
+
+if Data.AMP1.reflectedPowerSecurityT2
+    set(handles.text_PR2,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_PR2,'BackgroundColor', [1 0 0]); %red
+end   
+
+if Data.AMP1.reflectedPowerSecurityT3
+    set(handles.text_PR3,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_PR3,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.AMP1.reflectedPowerSecurityT4
+    set(handles.text_PR4,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_PR4,'BackgroundColor', [1 0 0]); %red
+end
+
+
+if Data.AMP1.incidentPowerSecurity
+    set(handles.text_Pi,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_Pi,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP1.pssSecurity
+    set(handles.text_PSS,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_PSS,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP1.microcontrollerSecurity
+    set(handles.text_uC,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_uC,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.CAV1.interlock
+    set(handles.text_InterLCKmach,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_InterLCKmach,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.CAV1.vacuum
+    set(handles.text_VAC,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_VAC,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.CAV1.cryo
+    set(handles.text_CRYO,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_CRYO,'BackgroundColor', [1 0 0]); %red
+end
+
+axes(handles.graph1);
+
+[NbrColumn,NbrPoint2] = size (Data.PM1.DataHR1);
+
+    %%Data.PM1.DataHR1 = -(Data.PM1.DataHR1/5)*10^6;  
+    %disp (Data.PM1.DataHR1(2));
+    %%Data.PM1.DataHR2 = ((0.0361 + 0.2542*Data.PM1.DataHR2 - 0.0112*Data.PM1.DataHR2.^2 + 0.0011*Data.PM1.DataHR2.^3).^2/50)*2.74*10^7; 
+    %%Data.PM1.DataHR3 = ((0.0361 + 0.2542*Data.PM1.DataHR3 - 0.0112*Data.PM1.DataHR3.^2 + 0.0011*Data.PM1.DataHR3.^3).^2/50)*8.2*10^5;
+    %%Data.PM1.DataHR4 = (Data.PM1.DataHR4)*10^4; 
+
+    %global NbrPoint
+    %[NbrColumn,NbrPoint2] = size (Data.PM1.DataHR1);
+    %NbrPoint2=10000;
+
+hold off;
+pnt=[1:NbrPoint2];
+
+    %pnt=1:NbrPoint2;
+
+    %hold on; grid on;
+    %//pnt1=1:200000;
+    %//pnt2=1:200000;
+        %[haxes,hline1,hline2,hline3]=plotyy(pnt,Data.PM1.DataHR1,pnt,Data.PM1.DataHR2,pnt,Data.PM1.DataHR3);
+    %[haxes,hline1,hline2]=plotyy(pnt,Data.PM1.DataHR1,pnt,Data.PM1.DataHR2);
+    %//[haxes,hline1,hline2]=plotyy(pnt1,Data.PM1.DataHR1,pnt2,Data.PM1.DataHR2,'plot');
+    %//set(hline1,'Color','b');
+    %//set(hline2,'Color','r');
+    %//axes(haxes(1));%110108%
+    %110108%axis([valmin valmax minHR1app maxHR1app]);%110108%
+    %110108%set(gca,'YTick',minHR1app:((maxHR1app-minHR1app)/10):maxHR1app);%110108%
+        %[haxes,hline3,hline4]=plotyy(pnt,Data.PM1.DataHR3,pnt,Data.PM1.DataHR4);
+plot(pnt, Data.PM1.DataHR1,'b'); hold on; grid on;
+plot(pnt, Data.PM1.DataHR2,'r');
+plot(pnt, Data.PM1.DataHR3,'g');
+plot(pnt, Data.PM1.DataHR4,'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+%%legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi');
+xlabel('nombre de points (temps: 1 us par point)');
+ 
+    %zoom on; 
+    %//ylabel('Vcav [V]','Color','b');
+ylabel('Signal');
+    %//ylabel('Vcav [V]');
+    %LegVcav=legend('Ac. Rapide CH1: Vcav');
+    %121108 set(LegVcav,'Location','NorthWest');
+    %set(LegVcav,'background','g');
+    %//axes(haxes(2));
+    %110108%axis([valmin valmax minapp1 maxapp1]);%110108%
+    %110108%set(gca,'YTick',minapp1:((maxapp1-minapp1)/10):maxapp1);%110108%
+    %//axis auto;
+    %axes(h,'Color','b');
+    %//ylabel('Power [Watts]');
+    %//hold on; grid on;
+    %//plot(pnt2,Data.PM1.DataHR3,'y');
+
+    %hold on; grid on;
+    %//plot(pnt2, Data.PM1.DataHR4,'k');
+    %//LegPuissance=legend('Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %legend('Ac. Rapide CH4: Ib');
+    %ylabel('Signal');
+text(1000,0.5,Data.PM1.triggerTimestamp);
+
+   
+
+
+
+
+
+
+
+% --- Executes on button press in pushbutton13.
+function pushbutton13_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+valmax=1;
+valmin=0;
+
+valminINIT=get(handles.edit2,'String');
+valmin=str2num(valminINIT{1});
+valmaxINIT=get(handles.edit3,'String');
+valmax=str2num(valmaxINIT{1});
+
+n=valmax-valmin+1;
+i=1;
+
+global DirectoryNameGlobal;
+disp ('DirectoryNameGlobal');
+gotodirectory(DirectoryNameGlobal);
+
+global FileNameGlobal;
+load(FileNameGlobal, 'Data');   
+
+for i=1:n
+    %matAbscisse(i)=valmin+i-1;
+    %matHR1(i)=Data.PM1.DataHR1(i);
+    %matHR1(i)=-(Data.PM1.DataHR1(valmin+i-1)/5)*10^6;
+    Data.PM1.DataHR1(valmin+i-1)=-((Data.PM1.DataHR1(valmin+i-1))/5)*10^2;
+    %Data.PM1.DataHR1=-Data.PM1.DataHR1(1,valmin:valmax)*10;
+    %matHR2(i)=Data.PM1.DataHR2(i);
+    %matHR2(i)=((0.0361 + 0.2542*Data.PM1.DataHR2(valmin+i-1) - 0.0112*Data.PM1.DataHR2(valmin+i-1).^2 + 0.0011*Data.PM1.DataHR2(valmin+i-1).^3).^2/50)*2.74*10^7;
+    Data.PM1.DataHR2(valmin+i-1)=((0.0361 + 0.2542*Data.PM1.DataHR2(valmin+i-1) - 0.0112*Data.PM1.DataHR2(valmin+i-1).^2 + 0.0011*Data.PM1.DataHR2(valmin+i-1).^3).^2/50)*2.74*10^4;
+    %%Data.PM1.DataHR2=Data.PM1.DataHR2*12;
+    %matHR3(i)=Data.PM1.DataHR3(i);
+    %matHR3(i)=((0.0361 + 0.2542*Data.PM1.DataHR3(valmin+i-1) - 0.0112*Data.PM1.DataHR3(valmin+i-1).^2 + 0.0011*Data.PM1.DataHR3(valmin+i-1).^3).^2/50)*8.2*10^5;
+    Data.PM1.DataHR3(valmin+i-1)=((0.0361 + 0.2542*Data.PM1.DataHR3(valmin+i-1) - 0.0112*Data.PM1.DataHR3(valmin+i-1).^2 + 0.0011*Data.PM1.DataHR3(valmin+i-1).^3).^2/50)*8.2*10^2;
+    %%Data.PM1.DataHR3=Data.PM1.DataHR3*14;
+    %matHR4(i)=Data.PM1.DataHR4(i);
+    %matHR4(i)=(Data.PM1.DataHR4(valmin+i-1))*10^3;
+    Data.PM1.DataHR4(valmin+i-1)=(Data.PM1.DataHR4(valmin+i-1))*10^2;
+    %%Data.PM1.DataHR4=Data.PM1.DataHR4*16;
+end
+
+maxHR1=max(Data.PM1.DataHR1);
+maxHR2=max(Data.PM1.DataHR2);
+maxHR3=max(Data.PM1.DataHR3);
+maxHR4=max(Data.PM1.DataHR4);
+minHR1=min(Data.PM1.DataHR1);
+minHR2=min(Data.PM1.DataHR2);
+minHR3=min(Data.PM1.DataHR3);
+minHR4=min(Data.PM1.DataHR4);
+
+if (maxHR2(1)>maxHR3(1))
+    max1=maxHR2(1)
+else max1=maxHR3(1);
+end
+if (max1<maxHR4(1))
+    max1=maxHR4(1);
+end
+
+if (minHR2(1)<minHR3(1))
+   min1=minHR2(1)
+else min1=minHR3(1);
+end
+if (min1>minHR4(1))
+    min1=minHR4(1);
+end
+
+%minapp1=min1;
+%maxapp1=max1;
+minHR1app=minHR1(1);
+maxHR1app=maxHR1(1);
+
+if (minHR1app<min1)
+    mini=minHR1
+else
+    mini=min1
+end
+
+if (maxHR1app>max1)
+    maxi=maxHR1
+else
+    maxi=max1
+end
+
+axes(handles.graph1);
+
+
+hold off;
+pnt=[valmin:valmax];
+axis([valmin valmax mini maxi]);
+set(gca,'XTick',[valmin valmax]);
+plot(Data.PM1.DataHR1,'b'); hold on; grid on;
+axis([valmin valmax mini maxi])
+plot(Data.PM1.DataHR2,'r');
+plot(Data.PM1.DataHR3,'g');
+plot(Data.PM1.DataHR4,'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+xlabel('nombre de points (temps: 1 us par point)');
+ylabel('Signal');
+text(1000,0.5,Data.PM1.triggerTimestamp);
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_RESET_cav1.
+function pushbutton_RESET_cav1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_RESET_cav1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%DirectoryNameESP='/home/operateur/GrpRF/Nicolas';
+%DirectoryNameESP = gotodirectory(DirectoryNameESP);
+%FilenameESP='ESP';
+%load(Filename);
+
+statusAcquisition_cav1=tango_read_attribute2('ANS-C03/RF/PM.1','Status');
+text=statusAcquisition_cav1.value;
+if findstr(text, 'running')
+    msgbox('Un reset a dÃ©jÃ  Ã©tÃ© fait, le device fonctionne Normalement','Info','warn');
+    return;
+else
+    set(handles.pushbutton_RESET_cav1,'Tag','pushbutton_RESET_cav1');
+    %set(handles.pushbutton_RESET_cav1,'String','RESET');
+    %tango_command_inout2('ANS-C03/RF/PM.1','Init');
+    tango_command_inout2('ANS-C03/RF/PM.1','Start');
+    
+    fid=0;
+    filenameRES='/home/operateur/GrpRF/Nicolas/SUIVIreset';
+    %filenameRES='TESTres';
+    fid=fopen(filenameRES,'a+');
+    %disp (fid);
+    %disp ('2');
+    %valeurTEST='test11111';
+    valeurTEST=datestr(clock,0);
+    
+    fprintf(fid,'Reset CAV1 at: %s \n',valeurTEST);
+    fclose(fid);
+    %DateReset = clock;
+end 
+
+%tango_command_inout2('ANS-C03/RF/PM.1','Stop'); %NE PAS OUBLIER D'ENLEVER CETTE LIGNE APRES TEST 
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%               Lecture des fichiers LabVIEW
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% --- Executes on button press in pushbutton16.
+function pushbutton16_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+%DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+cd('/home/matlabML/measdata/SOLEIL/StorageRingdata/Postmortem/RFPostmortem/Labview')
+DirStart = pwd;
+%DirectoryName = gotodirectory(DirectoryName);
+[FileName, DirectoryName] = uigetfile('*.*','Select File (or Cancel)');
+%disp (FileName);
+
+%global DirectoryNameGlobal;
+%DirectoryNameGlobal=DirectoryName;
+%global FileNameGlobal;
+FileNameGlobal=FileName;
+
+if FileName == 0
+    msgbox('No file chosen','Info','warn');
+    %disp('   No file chosen');
+    return;
+else
+    load(FileName);
+end
+cd(DirStart);
+
+%setappdata(handles.figure1, 'RFdata_CAV1', Data);
+
+[fid,message]=fopen(FileName,'r');
+if fid==-1
+    disp(message);
+else
+    load(FileName);
+    whos
+end
+
+table=textscan(fid,'%f %f %f %f', 400000);
+%table{4}(1:10)
+
+NbrPoint=size(table{1});
+
+%[NbrColumn,NbrPoint] = size (Data.PM1.DataHR1);
+
+    %%Data.PM1.DataHR1 = -(Data.PM1.DataHR1/5)*10^6;  
+    %disp (Data.PM1.DataHR1(2));
+    %%Data.PM1.DataHR2 = ((0.0361 + 0.2542*Data.PM1.DataHR2 - 0.0112*Data.PM1.DataHR2.^2 + 0.0011*Data.PM1.DataHR2.^3).^2/50)*2.74*10^7; 
+    %%Data.PM1.DataHR3 = ((0.0361 + 0.2542*Data.PM1.DataHR3 - 0.0112*Data.PM1.DataHR3.^2 + 0.0011*Data.PM1.DataHR3.^3).^2/50)*8.2*10^5;
+    %%Data.PM1.DataHR4 = (Data.PM1.DataHR4)*10^4; 
+
+    %global NbrPoint
+    %[NbrColumn,NbrPoint2] = size (Data.PM1.DataHR1);
+    %NbrPoint2=10000;
+
+%table{1}= -(table{1}/5)*10^2;  
+%table{2} = ((0.0361 + 0.2542*(table{2}) - 0.0112*(table{2}).^2 + 0.0011*(table{2}).^3).^2/50)*2.74*10^4; 
+%table{3} = ((0.0361 + 0.2542*(table{3}) - 0.0112*(table{3}).^2 + 0.0011*(table{3}).^3).^2/50)*8.2*10^2;
+%table{4} = (table{4})*10^2; 
+
+hold off;
+pnt=[1:NbrPoint];
+
+axes(handles.graph1);
+
+%hold off;
+%pnt=[valmin:valmax];
+%axis([valmin valmax mini maxi]);
+%set(gca,'XTick',[valmin valmax]);
+plot(table{1},'b'); hold on; grid on;
+%axis([valmin valmax mini maxi])
+plot(table{2},'r');
+plot(table{3},'g');
+plot(table{4},'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+xlabel('nombre de points (temps: 1 us par point)');
+ylabel('Signal');
+%text(1000,0.5,Data.PM1.triggerTimestamp);
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%                                                       CAVITE 2                                                       %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_cav2_Acquisition.
+function pushbutton_cav2_Acquisition_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_cav2_Acquisition (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+statusAcquisition_cav2=tango_read_attribute2('ANS-C03/RF/PM.2','Status');
+text=statusAcquisition_cav2.value;
+if findstr(text, 'running')
+    msgbox('Fonctionnement Normal: pas d''acquisition Ã  faire','Info','warn');
+    return;
+    
+else
+
+set(handles.text_cav2_PR1,'String','Pr1');
+set(handles.text_cav2_PR2,'String','Pr2');
+set(handles.text_cav2_PR3,'String','Pr3');
+set(handles.text_cav2_PR4,'String','Pr4');
+
+rep = tango_read_attributes2('ANS-C03/RF/AMP.2-DATA', {'reflectedPowerSecurityT1','reflectedPowerSecurityT2',...
+        'reflectedPowerSecurityT3','reflectedPowerSecurityT4'});
+
+%%rep = tango_read_attribute2('ANS-C03/RF/AMP.2-DATA','reflectedPowerSecurityT1')
+
+%%Data.AMP2.reflectedPowerSecurityT1 = rep.value;    
+Data.AMP2.reflectedPowerSecurityT1 = rep(1).value;
+Data.AMP2.reflectedPowerSecurityT2 = rep(2).value;
+Data.AMP2.reflectedPowerSecurityT3 = rep(3).value;
+Data.AMP2.reflectedPowerSecurityT4 = rep(4).value;
+    
+if Data.AMP2.reflectedPowerSecurityT1
+    set(handles.text_cav2_PR1,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR1,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP2.reflectedPowerSecurityT2
+    set(handles.text_cav2_PR2,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR2,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.AMP2.reflectedPowerSecurityT3
+    set(handles.text_cav2_PR3,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR3,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP2.reflectedPowerSecurityT4
+    set(handles.text_cav2_PR4,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR4,'BackgroundColor', [1 0 0]); %red
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+rep = tango_read_attributes2('ANS-C03/RF/PM.2', {'acqHighResolutionCh1', 'acqHighResolutionCh2', 'acqHighResolutionCh3', ...
+    'acqHighResolutionCh4'});
+Data.PM2.DataHR1 = rep(1).value;
+Data.PM2.DataHR2 = rep(2).value;
+Data.PM2.DataHR3 = rep(3).value;
+Data.PM2.DataHR4 = rep(4).value;
+
+Data.PM2.TimestampHR = tango_shift_time(rep(1).time);
+
+reptrig2 = tango_read_attribute2('ANS-C03/RF/PM.2','triggerTimestamp');
+Data.PM2.triggerTimestamp = reptrig2.value;
+
+[NbrColumn,NbrPoint3] = size (Data.PM2.DataHR1);
+
+axes(handles.graph2);
+   
+    name2='_AcRAPIDE'
+    
+    %pnt=1:10000;
+    pnt=1:NbrPoint3;
+
+    hold off;
+    plot(pnt, Data.PM2.DataHR1,'b'); hold on; grid on;
+    plot(pnt, Data.PM2.DataHR2,'r');
+    plot(pnt, Data.PM2.DataHR3,'g');
+    plot(pnt, Data.PM2.DataHR4,'k');
+    legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    xlabel('nombre de points (temps: 1 us par point)');
+    ylabel('Signal');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+set(handles.text_cav2_PI,'String','Pi');
+set(handles.text_cav2_PSS,'String','PSS Sec');
+set(handles.text_cav2_uC,'String','uC');
+    
+repPSS = tango_read_attribute2('ANS-C03/RF/LLE.2','pssSecurity');
+    %rep = tango_read_attributes2('ANS-C03/RF/AMP.2-DATA', {'incidentPowerSecurity','pssSecurity','microcontrollerSecurity'});
+    rep = tango_read_attributes2('ANS-C03/RF/AMP.2-DATA', {'incidentPowerSecurity','microcontrollerSecurity'});
+    
+    Data.AMP2.incidentPowerSecurity = rep(1).value;
+    Data.AMP2.pssSecurity = repPSS.value;
+    Data.AMP2.microcontrollerSecurity=rep(2).value;
+    
+    if Data.AMP2.incidentPowerSecurity
+      set(handles.text_cav2_PI,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_cav2_PI,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP2.pssSecurity
+      set(handles.text_cav2_PSS,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_cav2_PSS,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP2.microcontrollerSecurity
+      set(handles.text_cav2_uC,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_cav2_uC,'BackgroundColor', [1 0 0]); %red
+    end
+    
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ set(handles.text_cav2_InterLCKmach,'String','Interlck MACH');
+ set(handles.text_cav2_VAC,'String','VAC');
+ set(handles.text_cav2_CRYO,'String','CRYO');
+    
+ repINTER = tango_read_attribute2('ANS-C03/RF/LLE.2','machineSecurity');
+    %rep = tango_read_attributes2('ANS-C03/RF/CAV.2', {'interlock','vacuumSecurity','cryomoduleSecurity'});
+    rep = tango_read_attributes2('ANS-C03/RF/CAV.2', {'vacuumSecurity','cryomoduleSecurity'});
+    
+    Data.CAV2.interlock = repINTER.value;
+    %Data.CAV2.interlock = rep(1).value;
+    Data.CAV2.vacuum    = rep(1).value;
+    Data.CAV2.cryo = rep(2).value;
+
+    if Data.CAV2.interlock
+      set(handles.text_cav2_InterLCKmach,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV2.interlock);
+      set(handles.text_cav2_InterLCKmach,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.CAV2.vacuum
+        %disp (Data.CAV2.vacuum);
+      set(handles.text_cav2_VAC,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV2.vacuum)
+      set(handles.text_cav2_VAC,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.CAV2.cryo
+        %disp (Data.CAV2.cryo);
+      set(handles.text_cav2_CRYO,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV2.vacuum)
+      set(handles.text_cav2_CRYO,'BackgroundColor', [1 0 0]); %red
+    end
+    
+%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%    
+
+DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+%FileName = appendtimestamp('RFdata_CAV2', Data.PM2.TimestampHR);
+%comment% FileName = appendtimestamp('RFdata_CAV2', Data.PM2.triggerTimestamp);
+%disp (Data.PM2.triggerTimestamp);
+%disp (datevec(Data.PM2.triggerTimestamp));
+%FileName = appendtimestamp('RFdata_CAV2', Data.PM2.triggerTimestamp);
+FileName =['RFdata_CAV2_', Data.PM2.triggerTimestamp];
+
+[token,remain]=strtok(FileName);
+res=datevec(remain);
+resp1=num2str(res(1));
+resp2=num2str(res(2));
+resp3=num2str(res(3));
+resp4=num2str(res(4));
+resp5=num2str(res(5));
+resp6=num2str(res(6));
+FileNameLAST2=strcat('RFdata_CAV2','_',resp1,'-',resp2,'-',resp3,'_',resp4,'h',resp5,'mn',resp6,'s');
+disp (FileNameLAST2);
+
+%FileName = strcat(FileName,name2);
+%button group
+[FileNameLAST2, DirectoryName] = uiputfile('*.mat', 'Select File (Cancel to not save to a file)', [DirectoryName FileNameLAST2, '.mat']);
+if FileNameLAST2 == 0
+    disp('   No data saved');
+    return;
+    %RFdata_2007-10-10_13-48-23.mat
+end
+
+DirStart = pwd;
+[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+save(FileNameLAST2, 'Data');
+cd(DirStart);
+fprintf('   Data saved to %s\n', [DirectoryName FileNameLAST2]);
+
+setappdata(handles.figure1, 'RFdata_CAV2', Data);    
+
+
+end
+ 
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ 
+% --- Executes on button press in pushbutton_cav2_OPEN.
+function pushbutton_cav2_OPEN_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_cav2_OPEN (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+    
+DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+
+DirStart = pwd;
+DirectoryName = gotodirectory(DirectoryName);
+[FileName, DirectoryName] = uigetfile('*.mat', 'Select File (Cancel to not save to a file)','RFdata_CAV2*');
+
+global DirectoryNameGlobal;
+DirectoryNameGlobal=DirectoryName;
+global FileNameGlobal;
+FileNameGlobal=FileName;
+
+if FileName == 0
+    msgbox('No file chosen','Info','warn');
+    %disp('   No file chosen');
+    return;
+else
+    load(FileName, 'Data');
+end
+cd(DirStart);
+
+setappdata(handles.figure1, 'RFdata_CAV2', Data);
+
+%disp (Data.PM2.DataLR);
+
+
+
+if Data.AMP2.reflectedPowerSecurityT1
+    set(handles.text_cav2_PR1,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR1,'BackgroundColor', [1 0 0]); %red
+end 
+
+if Data.AMP2.reflectedPowerSecurityT2
+    set(handles.text_cav2_PR2,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR2,'BackgroundColor', [1 0 0]); %red
+end   
+
+if Data.AMP2.reflectedPowerSecurityT3
+    set(handles.text_cav2_PR3,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR3,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.AMP2.reflectedPowerSecurityT4
+    set(handles.text_cav2_PR4,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR4,'BackgroundColor', [1 0 0]); %red
+end
+
+
+
+if Data.AMP2.incidentPowerSecurity
+    set(handles.text_cav2_PI,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PI,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP2.pssSecurity
+    set(handles.text_cav2_PSS,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PSS,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP2.microcontrollerSecurity
+    set(handles.text_cav2_uC,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_uC,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.CAV2.interlock
+    set(handles.text_cav2_InterLCKmach,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_InterLCKmach,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.CAV2.vacuum
+    set(handles.text_cav2_VAC,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_VAC,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.CAV2.cryo
+    set(handles.text_cav2_CRYO,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_CRYO,'BackgroundColor', [1 0 0]); %red
+end
+
+axes(handles.graph2);
+
+
+[NbrColumn,NbrPoint4] = size (Data.PM2.DataHR1);
+
+%//Data.PM2.DataHR1 = -(Data.PM2.DataHR1/5)*10^6;    
+%//Data.PM2.DataHR2 = ((0.0361 + 0.2542*Data.PM2.DataHR2 - 0.0112*Data.PM2.DataHR2.^2 + 0.0011*Data.PM2.DataHR2.^3).^2/50)*3.0*10^7; 
+%//Data.PM2.DataHR3 = ((0.0361 + 0.2542*Data.PM2.DataHR3 - 0.0112*Data.PM2.DataHR3.^2 + 0.0011*Data.PM2.DataHR3.^3).^2/50)*10.5*10^5;
+%//Data.PM2.DataHR4 = (Data.PM2.DataHR4)*10^4;     
+
+hold off;
+%hold on; grid on;
+
+pnt=[1:NbrPoint4];
+
+%//pnt1=1:10000;
+%//pnt2=1:10000;
+        %[haxes,hline1,hline2,hline3]=plotyy(pnt,Data.PM2.DataHR1,pnt,Data.PM2.DataHR2,pnt,Data.PM2.DataHR3);
+%[haxes,hline1,hline2]=plotyy(pnt,Data.PM2.DataHR1,pnt,Data.PM2.DataHR2);
+%//[haxes,hline1,hline2]=plotyy(pnt1,Data.PM2.DataHR1,pnt2,Data.PM2.DataHR2,'plot');
+%//set(hline1,'Color','b');
+%//set(hline2,'Color','r');
+        %[haxes,hline3,hline4]=plotyy(pnt,Data.PM2.DataHR3,pnt,Data.PM2.DataHR4);
+plot(pnt, Data.PM2.DataHR1,'b'); hold on; grid on;
+plot(pnt, Data.PM2.DataHR2,'r');
+plot(pnt, Data.PM2.DataHR3,'g');
+plot(pnt, Data.PM2.DataHR4,'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %%legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi');
+xlabel('nombre de points (temps: 1 us par point)');
+    %//axes(haxes(1));
+    %//axis auto;
+    %zoom on; 
+    %ylabel('Vcav [V]','Color','b');
+    %//ylabel('Vcav [V]');
+ylabel('Signal');
+    %//LegVcav=legend('Ac. Rapide CH1: Vcav');
+    %//set(LegVcav,'Location','NorthWest');
+    %set(LegVcav,'background','g');
+    %//axes(haxes(2));
+    %//axis auto;
+    %axes(h,'Color','b');
+    %//ylabel('Power [Watts]');
+    %//hold on; grid on;
+    %//plot(pnt2,Data.PM2.DataHR3,'y');
+
+    %hold on; grid on;
+    %//plot(pnt2, Data.PM2.DataHR4,'k');
+    %//LegPuissance=legend('Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %legend('Ac. Rapide CH4: Ib');
+    %ylabel('Signal');
+text(1000,0.5,Data.PM2.triggerTimestamp);
+    
+    
+    %SAVED
+    %hold off;
+    %pnt=1:10000;
+    %plot(pnt, Data.PM2.DataHR1,'b'); hold on; grid on;
+    %plot(pnt, Data.PM2.DataHR2,'r');
+    %plot(pnt, Data.PM2.DataHR3,'g');
+    %plot(pnt, Data.PM2.DataHR4,'k');
+    %legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %text(1000,0.5,Data.PM2.triggerTimestamp);
+    %xlabel('nombre de points (temps: 1 us par point)');
+    %ylabel('Signal');
+
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_cav2_clear.
+function pushbutton_cav2_clear_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_cav2_clear (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+axes(handles.graph2);
+hold off;
+plot(NaN);
+
+set(handles.text_cav2_PR1,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_PR2,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_PR3,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_PR4,'BackgroundColor', [0.702 0.702 0.702]); %gray
+    
+set(handles.text_cav2_PI,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_PSS,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_uC,'BackgroundColor', [0.702 0.702 0.702]); %gray
+  
+set(handles.text_cav2_InterLCKmach,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_VAC,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_CRYO,'BackgroundColor', [0.702 0.702 0.702]); %gray
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%           Lecture des fichiers LabVIEW
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton17.
+function pushbutton17_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+cd('/home/matlabML/measdata/SOLEIL/StorageRingdata/Postmortem/RFPostmortem/Labview')
+DirStart = pwd;
+
+[FileName, DirectoryName] = uigetfile('*.*','Select File (or Cancel)');
+
+FileNameGlobal=FileName;
+
+if FileName == 0
+    msgbox('No file chosen','Info','warn');
+    return;
+else
+    load(FileName);
+end
+cd(DirStart);
+
+[fid,message]=fopen(FileName,'r');
+if fid==-1
+    disp(message);
+else
+    load(FileName);
+    whos
+end
+
+table=textscan(fid,'%f %f %f %f', 400000);
+
+NbrPoint=size(table{1});
+
+hold off;
+pnt=[1:NbrPoint];
+
+axes(handles.graph2);
+
+plot(table{1},'b'); hold on; grid on;
+plot(table{2},'r');
+plot(table{3},'g');
+plot(table{4},'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+xlabel('nombre de points (temps: 1 us par point)');
+ylabel('Signal');
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_RESET_cav2.
+function pushbutton_RESET_cav2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_RESET_cav2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+statusAcquisition_cav2=tango_read_attribute2('ANS-C03/RF/PM.2','Status');
+text=statusAcquisition_cav2.value;
+if findstr(text, 'running')
+    %%set(handles.pushbutton_RESET_cav2,'String','NO need reset, Device is Running');
+    msgbox('Un reset a dÃ©jÃ  Ã©tÃ© fait, le device fonctionne Normalement','Info','warn');
+    return;
+else
+    set(handles.pushbutton_RESET_cav2,'Tag','pushbutton_RESET_cav2');
+    %tango_command_inout2('ANS-C03/RF/PM.2','Init');
+    tango_command_inout2('ANS-C03/RF/PM.2','Start');
+    
+    fid=0;
+    filenameRES='/home/operateur/GrpRF/Nicolas/SUIVIreset';
+    %filenameRES='TESTres';
+    fid=fopen(filenameRES,'a+');
+    %disp (fid);
+    %disp ('2');
+    %valeurTEST='test11111';
+    valeurTEST=datestr(clock,0);
+    
+    fprintf(fid,'Reset CAV2 at: %s \n',valeurTEST);
+    fclose(fid);
+end 
+
+%tango_command_inout2('ANS-C03/RF/PM.2','Stop'); %NE PAS OUBLIER D'ENLEVER CETTE LIGNE APRES TEST
+
+
+% --- Executes on button press in pushbutton12.
+function pushbutton12_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+function edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit2 as text
+%        str2double(get(hObject,'String')) returns contents of edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit3 as text
+%        str2double(get(hObject,'String')) returns contents of edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit5 as text
+%        str2double(get(hObject,'String')) returns contents of edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit6 as text
+%        str2double(get(hObject,'String')) returns contents of edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton15.
+function pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+valmax=1;
+valmin=0;
+
+valminINIT=get(handles.edit5,'String');
+valmin=str2num(valminINIT{1});
+valmaxINIT=get(handles.edit6,'String');
+valmax=str2num(valmaxINIT{1});
+
+n=valmax-valmin+1;
+i=1;
+
+global DirectoryNameGlobal;
+disp ('DirectoryNameGlobal');
+gotodirectory(DirectoryNameGlobal);
+
+global FileNameGlobal;
+load(FileNameGlobal, 'Data');   
+
+%//Data.PM2.DataHR1 = -(Data.PM2.DataHR1/5)*10^6;    
+%//Data.PM2.DataHR2 = ((0.0361 + 0.2542*Data.PM2.DataHR2 - 0.0112*Data.PM2.DataHR2.^2 + 0.0011*Data.PM2.DataHR2.^3).^2/50)*3.0*10^7; 
+%//Data.PM2.DataHR3 = ((0.0361 + 0.2542*Data.PM2.DataHR3 - 0.0112*Data.PM2.DataHR3.^2 + 0.0011*Data.PM2.DataHR3.^3).^2/50)*10.5*10^5;
+%//Data.PM2.DataHR4 = (Data.PM2.DataHR4)*10^4;  
+
+for i=1:n
+    Data.PM2.DataHR1(valmin+i-1)=-((Data.PM2.DataHR1(valmin+i-1))/5)*10^2;
+    Data.PM2.DataHR2(valmin+i-1)=((0.0361 + 0.2542*Data.PM2.DataHR2(valmin+i-1) - 0.0112*Data.PM2.DataHR2(valmin+i-1).^2 + 0.0011*Data.PM2.DataHR2(valmin+i-1).^3).^2/50)*3.0*10^4;
+    Data.PM2.DataHR3(valmin+i-1)=((0.0361 + 0.2542*Data.PM2.DataHR3(valmin+i-1) - 0.0112*Data.PM2.DataHR3(valmin+i-1).^2 + 0.0011*Data.PM2.DataHR3(valmin+i-1).^3).^2/50)*10.5*10^2;
+    Data.PM2.DataHR4(valmin+i-1)=(Data.PM2.DataHR4(valmin+i-1))*10^2;
+end
+
+maxHR1=max(Data.PM2.DataHR1);
+maxHR2=max(Data.PM2.DataHR2);
+maxHR3=max(Data.PM2.DataHR3);
+maxHR4=max(Data.PM2.DataHR4);
+minHR1=min(Data.PM2.DataHR1);
+minHR2=min(Data.PM2.DataHR2);
+minHR3=min(Data.PM2.DataHR3);
+minHR4=min(Data.PM2.DataHR4);
+
+if (maxHR2(1)>maxHR3(1))
+    max1=maxHR2(1)
+else max1=maxHR3(1);
+end
+if (max1<maxHR4(1))
+    max1=maxHR4(1);
+end
+
+if (minHR2(1)<minHR3(1))
+   min1=minHR2(1)
+else min1=minHR3(1);
+end
+if (min1>minHR4(1))
+    min1=minHR4(1);
+end
+
+minHR1app=minHR1(1);
+maxHR1app=maxHR1(1);
+
+if (minHR1app<min1)
+    mini=minHR1
+else
+    mini=min1
+end
+
+if (maxHR1app>max1)
+    maxi=maxHR1
+else
+    maxi=max1
+end
+
+axes(handles.graph2);
+
+hold off;
+pnt=[valmin:valmax];
+axis([valmin valmax mini maxi])
+plot(Data.PM2.DataHR1,'b'); hold on; grid on;
+axis([valmin valmax mini maxi])
+plot(Data.PM2.DataHR2,'r');
+plot(Data.PM2.DataHR3,'g');
+plot(Data.PM2.DataHR4,'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+xlabel('nombre de points (temps: 1 us par point)');
+ylabel('Signal');
+text(1000,0.5,Data.PM2.triggerTimestamp);
+
+
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/RFPostmortem/RFPostMortem.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RFPostmortem/RFPostMortem.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RFPostmortem/RFPostMortem.m	(revision 17)
@@ -0,0 +1,1241 @@
+function varargout = RFPostMortem(varargin)
+%RFPOSTMORTEM121007 M-file for RFPostMortem121007.fig
+%      RFPOSTMORTEM121007, by itself, creates a new RFPOSTMORTEM121007 or raises the existing
+%      singleton*.
+%
+%      H = RFPOSTMORTEM121007 returns the handle to a new RFPOSTMORTEM121007 or the handle to
+%      the existing singleton*.
+%
+%      RFPOSTMORTEM121007('Property','Value',...) creates a new RFPOSTMORTEM121007 using the
+%      given property value pairs. Unrecognized properties are passed via
+%      varargin to RFPostMortem121007_OpeningFcn.  This calling syntax produces a
+%      warning when there is an existing singleton*.
+%
+%      RFPOSTMORTEM121007('CALLBACK') and RFPOSTMORTEM121007('CALLBACK',hObject,...) call the
+%      local function named CALLBACK in RFPOSTMORTEM121007.M with the given input
+%      arguments.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help RFPostMortem121007
+
+% Last Modified by G+1UIDE v2.5 29-Feb-2008 13:41:07
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @RFPostMortem_OpeningFcn, ...
+                   'gui_OutputFcn',  @RFPostMortem_OutputFcn, ...
+                   'gui_LayoutFcn',  [], ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+   gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before RFPostMortem121007 is made visible.
+function RFPostMortem_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   unrecognized PropertyName/PropertyValue pairs from the
+%            command line (see VARARGIN)
+
+% Choose default command line output for RFPostMortem121007
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes RFPostMortem121007 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = RFPostMortem_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%                                                       CAVITE 1                                                       %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+% --- Executes on button press in pushbutton1_ACQUISITION.
+function pushbutton1_ACQUISITION_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1_ACQUISITION (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+statusAcquisition_cav1=tango_read_attribute2('ANS-C03/RF/PM.1','Status');
+text=statusAcquisition_cav1.value;
+if findstr(text, 'running')
+    msgbox('Fonctionnement Normal: pas d''acquisition Ã  faire','Info','warn');
+    return;
+    
+else
+
+    set(handles.text4_PR1,'String','Pr1');
+    set(handles.text_PR2,'String','Pr2');
+    set(handles.text_PR3,'String','Pr3');
+    set(handles.text_PR4,'String','Pr4');
+
+    rep = tango_read_attributes2('ANS-C03/RF/AMP.1-DATA', {'reflectedPowerSecurityT1','reflectedPowerSecurityT2',...
+        'reflectedPowerSecurityT3','reflectedPowerSecurityT4'});
+
+    Data.AMP1.reflectedPowerSecurityT1 = rep(1).value;
+    Data.AMP1.reflectedPowerSecurityT2 = rep(2).value;
+    Data.AMP1.reflectedPowerSecurityT3 = rep(3).value;
+    Data.AMP1.reflectedPowerSecurityT4 = rep(4).value;
+   
+    
+    if Data.AMP1.reflectedPowerSecurityT1
+     set(handles.text4_PR1,'BackgroundColor', [0 1 0]); %green
+    else 
+     set(handles.text4_PR1,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP1.reflectedPowerSecurityT2
+     set(handles.text_PR2,'BackgroundColor', [0 1 0]); %green
+    else 
+     set(handles.text_PR2,'BackgroundColor', [1 0 0]); %red
+    end
+
+    if Data.AMP1.reflectedPowerSecurityT3
+     set(handles.text_PR3,'BackgroundColor', [0 1 0]); %green
+    else 
+     set(handles.text_PR3,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP1.reflectedPowerSecurityT4
+     set(handles.text_PR4,'BackgroundColor', [0 1 0]); %green
+    else 
+     set(handles.text_PR4,'BackgroundColor', [1 0 0]); %red
+    end
+    
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+    set(handles.text_Pi,'String','Pi');
+    set(handles.text_PSS,'String','PSS Sec');
+    set(handles.text_uC,'String','uC');
+    
+    repPSS = tango_read_attribute2('ANS-C03/RF/LLE.1','pssSecurity');
+    %rep = tango_read_attributes2('ANS-C03/RF/AMP.1-DATA', {'incidentPowerSecurity','pssSecurity','microcontrollerSecurity'});
+    rep = tango_read_attributes2('ANS-C03/RF/AMP.1-DATA', {'incidentPowerSecurity','microcontrollerSecurity'});
+    
+    Data.AMP1.incidentPowerSecurity = rep(1).value;
+    Data.AMP1.pssSecurity = repPSS.value;
+    Data.AMP1.microcontrollerSecurity=rep(2).value;
+    
+    if Data.AMP1.incidentPowerSecurity
+      set(handles.text_Pi,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_Pi,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP1.pssSecurity
+      set(handles.text_PSS,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_PSS,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP1.microcontrollerSecurity
+      set(handles.text_uC,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_uC,'BackgroundColor', [1 0 0]); %red
+    end
+  
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
+    
+    set(handles.text_InterLCKmach,'String','Interlck MACH');
+    set(handles.text_VAC,'String','VAC');
+    set(handles.text_CRYO,'String','CRYO');
+    
+    
+    repINTER = tango_read_attribute2('ANS-C03/RF/LLE.1','machineSecurity');
+    %rep = tango_read_attributes2('ANS-C03/RF/CAV.1', {'interlock','vacuumSecurity','cryomoduleSecurity'});
+    rep = tango_read_attributes2('ANS-C03/RF/CAV.1', {'vacuumSecurity','cryomoduleSecurity'});
+    
+    Data.CAV1.interlock = repINTER.value;
+    %Data.CAV1.interlock = rep(1).value;
+    Data.CAV1.vacuum    = rep(1).value;
+    Data.CAV1.cryo = rep(2).value;
+
+    if Data.CAV1.interlock
+      set(handles.text_InterLCKmach,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV1.interlock);
+      set(handles.text_InterLCKmach,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.CAV1.vacuum
+        %disp (Data.CAV1.vacuum);
+      set(handles.text_VAC,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV1.vacuum)
+      set(handles.text_VAC,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.CAV1.cryo
+        %disp (Data.CAV1.cryo);
+      set(handles.text_CRYO,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV1.vacuum)
+      set(handles.text_CRYO,'BackgroundColor', [1 0 0]); %red
+    end
+   
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+
+rep = tango_read_attributes2('ANS-C03/RF/PM.1', {'acqHighResolutionCh1', 'acqHighResolutionCh2', 'acqHighResolutionCh3', ...
+    'acqHighResolutionCh4'});
+Data.PM1.DataHR1 = rep(1).value;
+Data.PM1.DataHR2 = rep(2).value;
+Data.PM1.DataHR3 = rep(3).value;
+Data.PM1.DataHR4 = rep(4).value;
+
+Data.PM1.TimestampHR = tango_shift_time(rep(1).time);
+
+reptrig1 = tango_read_attribute2('ANS-C03/RF/PM.1','triggerTimestamp');
+Data.PM1.triggerTimestamp = reptrig1.value;
+
+[NbrColumn,NbrPoint1] = size (Data.PM1.DataHR1);
+
+axes(handles.graph1);
+    
+    name1='_AcRAPIDE'
+   
+    %pnt=1:10000;
+    pnt=1:NbrPoint1;
+
+
+    hold off;
+    plot(pnt, Data.PM1.DataHR1,'b'); hold on; grid on;
+    plot(pnt, Data.PM1.DataHR2,'r');
+    plot(pnt, Data.PM1.DataHR3,'g');
+    plot(pnt, Data.PM1.DataHR4,'k');
+    legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %text(Data.PM1.triggerTimestamp);
+    xlabel('nombre de points (temps: 1 us par point)');
+    ylabel('Signal');
+
+
+
+%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
+
+DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+%FileName = appendtimestamp('RFdata_CAV1', Data.PM1.TimestampHR);
+%COMMENT% FileName = appendtimestamp('RFdata_CAV1', Data.PM1.triggerTimestamp);
+%FileName = appendtimestamp('RFdata_CAV1', Data.PM1.triggerTimestamp);
+FileName =['RFdata_CAV1_', Data.PM1.triggerTimestamp];
+%FileName = strcat(FileName,name1);
+%button group
+
+[token,remain]=strtok(FileName);
+res=datevec(remain);
+resp1=num2str(res(1));
+resp2=num2str(res(2));
+resp3=num2str(res(3));
+resp4=num2str(res(4));
+resp5=num2str(res(5));
+resp6=num2str(res(6));
+FileNameLAST=strcat('RFdata_CAV1','_',resp1,'-',resp2,'-',resp3,'_',resp4,'h',resp5,'mn',resp6,'s');
+disp (FileNameLAST);
+
+[FileNameLAST, DirectoryName] = uiputfile('*.mat', 'Select File (Cancel to not save to a file)', [DirectoryName FileNameLAST, '.mat']);
+if FileNameLAST == 0
+    disp('   No data saved');
+    return;
+    %RFdata_2007-10-10_13-48-23.mat
+end
+
+DirStart = pwd;
+[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+save(FileNameLAST, 'Data');
+cd(DirStart);
+fprintf('   Data saved to %s\n', [DirectoryName FileNameLAST]);
+
+setappdata(handles.figure1, 'RFdata_CAV1', Data);
+
+end
+%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
+
+
+
+% --- Executes on button press in pushbutton2_CLEA*.matR.
+function pushbutton2_CLEAR_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton2_CLEAR (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure*.mat with handles and user data (see GUIDATA)
+
+axes(handles.graph1);
+hold off;
+plot(NaN);
+
+
+set(handles.text4_PR1,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_PR2,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_PR3,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_PR4,'BackgroundColor', [0.702 0.702 0.702]); %gray
+    
+set(handles.text_Pi,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_PSS,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_uC,'BackgroundColor', [0.702 0.702 0.702]); %gray
+  
+set(handles.text_InterLCKmach,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_VAC,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_CRYO,'BackgroundColor', [0.702 0.702 0.702]); %gray
+    
+
+%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_Open.
+function pushbutton_Open_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Open (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+DirStart = pwd;
+DirectoryName = gotodirectory(DirectoryName);
+[FileName, DirectoryName] = uigetfile('*.mat', 'Select File (Cancel to not save to a file)','RFdata_CAV1*');
+disp (FileName);
+
+global DirectoryNameGlobal;
+DirectoryNameGlobal=DirectoryName;
+global FileNameGlobal;
+FileNameGlobal=FileName;
+
+if FileName == 0
+    msgbox('No file chosen','Info','warn');
+    %disp('   No file chosen');
+    return;
+else
+    load(FileName, 'Data');
+end
+cd(DirStart);
+
+setappdata(handles.figure1, 'RFdata_CAV1', Data);
+
+
+
+if Data.AMP1.reflectedPowerSecurityT1
+    set(handles.text4_PR1,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text4_PR1,'BackgroundColor', [1 0 0]); %red
+end 
+
+if Data.AMP1.reflectedPowerSecurityT2
+    set(handles.text_PR2,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_PR2,'BackgroundColor', [1 0 0]); %red
+end   
+
+if Data.AMP1.reflectedPowerSecurityT3
+    set(handles.text_PR3,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_PR3,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.AMP1.reflectedPowerSecurityT4
+    set(handles.text_PR4,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_PR4,'BackgroundColor', [1 0 0]); %red
+end
+
+
+if Data.AMP1.incidentPowerSecurity
+    set(handles.text_Pi,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_Pi,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP1.pssSecurity
+    set(handles.text_PSS,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_PSS,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP1.microcontrollerSecurity
+    set(handles.text_uC,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_uC,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.CAV1.interlock
+    set(handles.text_InterLCKmach,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_InterLCKmach,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.CAV1.vacuum
+    set(handles.text_VAC,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_VAC,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.CAV1.cryo
+    set(handles.text_CRYO,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_CRYO,'BackgroundColor', [1 0 0]); %red
+end
+
+axes(handles.graph1);
+
+[NbrColumn,NbrPoint2] = size (Data.PM1.DataHR1);
+
+    %%Data.PM1.DataHR1 = -(Data.PM1.DataHR1/5)*10^6;  
+    %disp (Data.PM1.DataHR1(2));
+    %%Data.PM1.DataHR2 = ((0.0361 + 0.2542*Data.PM1.DataHR2 - 0.0112*Data.PM1.DataHR2.^2 + 0.0011*Data.PM1.DataHR2.^3).^2/50)*2.74*10^7; 
+    %%Data.PM1.DataHR3 = ((0.0361 + 0.2542*Data.PM1.DataHR3 - 0.0112*Data.PM1.DataHR3.^2 + 0.0011*Data.PM1.DataHR3.^3).^2/50)*8.2*10^5;
+    %%Data.PM1.DataHR4 = (Data.PM1.DataHR4)*10^4; 
+
+    %global NbrPoint
+    %[NbrColumn,NbrPoint2] = size (Data.PM1.DataHR1);
+    %NbrPoint2=10000;
+
+hold off;
+pnt=[1:NbrPoint2];
+
+    %pnt=1:NbrPoint2;
+
+    %hold on; grid on;
+    %//pnt1=1:200000;
+    %//pnt2=1:200000;
+        %[haxes,hline1,hline2,hline3]=plotyy(pnt,Data.PM1.DataHR1,pnt,Data.PM1.DataHR2,pnt,Data.PM1.DataHR3);
+    %[haxes,hline1,hline2]=plotyy(pnt,Data.PM1.DataHR1,pnt,Data.PM1.DataHR2);
+    %//[haxes,hline1,hline2]=plotyy(pnt1,Data.PM1.DataHR1,pnt2,Data.PM1.DataHR2,'plot');
+    %//set(hline1,'Color','b');
+    %//set(hline2,'Color','r');
+    %//axes(haxes(1));%110108%
+    %110108%axis([valmin valmax minHR1app maxHR1app]);%110108%
+    %110108%set(gca,'YTick',minHR1app:((maxHR1app-minHR1app)/10):maxHR1app);%110108%
+        %[haxes,hline3,hline4]=plotyy(pnt,Data.PM1.DataHR3,pnt,Data.PM1.DataHR4);
+plot(pnt, Data.PM1.DataHR1,'b'); hold on; grid on;
+plot(pnt, Data.PM1.DataHR2,'r');
+plot(pnt, Data.PM1.DataHR3,'g');
+plot(pnt, Data.PM1.DataHR4,'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+%%legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi');
+xlabel('nombre de points (temps: 1 us par point)');
+ 
+    %zoom on; 
+    %//ylabel('Vcav [V]','Color','b');
+ylabel('Signal');
+    %//ylabel('Vcav [V]');
+    %LegVcav=legend('Ac. Rapide CH1: Vcav');
+    %121108 set(LegVcav,'Location','NorthWest');
+    %set(LegVcav,'background','g');
+    %//axes(haxes(2));
+    %110108%axis([valmin valmax minapp1 maxapp1]);%110108%
+    %110108%set(gca,'YTick',minapp1:((maxapp1-minapp1)/10):maxapp1);%110108%
+    %//axis auto;
+    %axes(h,'Color','b');
+    %//ylabel('Power [Watts]');
+    %//hold on; grid on;
+    %//plot(pnt2,Data.PM1.DataHR3,'y');
+
+    %hold on; grid on;
+    %//plot(pnt2, Data.PM1.DataHR4,'k');
+    %//LegPuissance=legend('Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %legend('Ac. Rapide CH4: Ib');
+    %ylabel('Signal');
+text(1000,0.5,Data.PM1.triggerTimestamp);
+
+   
+
+
+
+
+
+
+
+% --- Executes on button press in pushbutton13.
+function pushbutton13_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+valmax=1;
+valmin=0;
+
+valminINIT=get(handles.edit2,'String');
+valmin=str2num(valminINIT{1});
+valmaxINIT=get(handles.edit3,'String');
+valmax=str2num(valmaxINIT{1});
+
+n=valmax-valmin+1;
+i=1;
+
+global DirectoryNameGlobal;
+disp ('DirectoryNameGlobal');
+gotodirectory(DirectoryNameGlobal);
+
+global FileNameGlobal;
+load(FileNameGlobal, 'Data');   
+
+for i=1:n
+    %matAbscisse(i)=valmin+i-1;
+    %matHR1(i)=Data.PM1.DataHR1(i);
+    %matHR1(i)=-(Data.PM1.DataHR1(valmin+i-1)/5)*10^6;
+    Data.PM1.DataHR1(valmin+i-1)=-((Data.PM1.DataHR1(valmin+i-1))/5)*10^2;
+    %Data.PM1.DataHR1=-Data.PM1.DataHR1(1,valmin:valmax)*10;
+    %matHR2(i)=Data.PM1.DataHR2(i);
+    %matHR2(i)=((0.0361 + 0.2542*Data.PM1.DataHR2(valmin+i-1) - 0.0112*Data.PM1.DataHR2(valmin+i-1).^2 + 0.0011*Data.PM1.DataHR2(valmin+i-1).^3).^2/50)*2.74*10^7;
+    Data.PM1.DataHR2(valmin+i-1)=((0.0361 + 0.2542*Data.PM1.DataHR2(valmin+i-1) - 0.0112*Data.PM1.DataHR2(valmin+i-1).^2 + 0.0011*Data.PM1.DataHR2(valmin+i-1).^3).^2/50)*2.74*10^4;
+    %%Data.PM1.DataHR2=Data.PM1.DataHR2*12;
+    %matHR3(i)=Data.PM1.DataHR3(i);
+    %matHR3(i)=((0.0361 + 0.2542*Data.PM1.DataHR3(valmin+i-1) - 0.0112*Data.PM1.DataHR3(valmin+i-1).^2 + 0.0011*Data.PM1.DataHR3(valmin+i-1).^3).^2/50)*8.2*10^5;
+    Data.PM1.DataHR3(valmin+i-1)=((0.0361 + 0.2542*Data.PM1.DataHR3(valmin+i-1) - 0.0112*Data.PM1.DataHR3(valmin+i-1).^2 + 0.0011*Data.PM1.DataHR3(valmin+i-1).^3).^2/50)*8.2*10^2;
+    %%Data.PM1.DataHR3=Data.PM1.DataHR3*14;
+    %matHR4(i)=Data.PM1.DataHR4(i);
+    %matHR4(i)=(Data.PM1.DataHR4(valmin+i-1))*10^3;
+    Data.PM1.DataHR4(valmin+i-1)=(Data.PM1.DataHR4(valmin+i-1))*10^2;
+    %%Data.PM1.DataHR4=Data.PM1.DataHR4*16;
+end
+
+maxHR1=max(Data.PM1.DataHR1);
+maxHR2=max(Data.PM1.DataHR2);
+maxHR3=max(Data.PM1.DataHR3);
+maxHR4=max(Data.PM1.DataHR4);
+minHR1=min(Data.PM1.DataHR1);
+minHR2=min(Data.PM1.DataHR2);
+minHR3=min(Data.PM1.DataHR3);
+minHR4=min(Data.PM1.DataHR4);
+
+if (maxHR2(1)>maxHR3(1))
+    max1=maxHR2(1)
+else max1=maxHR3(1);
+end
+if (max1<maxHR4(1))
+    max1=maxHR4(1);
+end
+
+if (minHR2(1)<minHR3(1))
+   min1=minHR2(1)
+else min1=minHR3(1);
+end
+if (min1>minHR4(1))
+    min1=minHR4(1);
+end
+
+%minapp1=min1;
+%maxapp1=max1;
+minHR1app=minHR1(1);
+maxHR1app=maxHR1(1);
+
+if (minHR1app<min1)
+    mini=minHR1
+else
+    mini=min1
+end
+
+if (maxHR1app>max1)
+    maxi=maxHR1
+else
+    maxi=max1
+end
+
+axes(handles.graph1);
+
+
+hold off;
+pnt=[valmin:valmax];
+axis([valmin valmax mini maxi]);
+set(gca,'XTick',[valmin valmax]);
+plot(Data.PM1.DataHR1,'b'); hold on; grid on;
+axis([valmin valmax mini maxi])
+plot(Data.PM1.DataHR2,'r');
+plot(Data.PM1.DataHR3,'g');
+plot(Data.PM1.DataHR4,'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+xlabel('nombre de points (temps: 1 us par point)');
+ylabel('Signal');
+text(1000,0.5,Data.PM1.triggerTimestamp);
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_RESET_cav1.
+function pushbutton_RESET_cav1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_RESET_cav1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%DirectoryNameESP='/home/operateur/GrpRF/Nicolas';
+%DirectoryNameESP = gotodirectory(DirectoryNameESP);
+%FilenameESP='ESP';
+%load(Filename);
+
+statusAcquisition_cav1=tango_read_attribute2('ANS-C03/RF/PM.1','Status');
+text=statusAcquisition_cav1.value;
+if findstr(text, 'running')
+    msgbox('Un reset a dÃ©jÃ  Ã©tÃ© fait, le device fonctionne Normalement','Info','warn');
+    return;
+else
+    set(handles.pushbutton_RESET_cav1,'Tag','pushbutton_RESET_cav1');
+    %set(handles.pushbutton_RESET_cav1,'String','RESET');
+    %tango_command_inout2('ANS-C03/RF/PM.1','Init');
+    tango_command_inout2('ANS-C03/RF/PM.1','Start');
+    
+    fid=0;
+    filenameRES='/home/operateur/GrpRF/Nicolas/SUIVIreset';
+    %filenameRES='TESTres';
+    fid=fopen(filenameRES,'a+');
+    %disp (fid);
+    %disp ('2');
+    %valeurTEST='test11111';
+    valeurTEST=datestr(clock,0);
+    
+    fprintf(fid,'Reset CAV1 at: %s \n',valeurTEST);
+    fclose(fid);
+    %DateReset = clock;
+end 
+
+%tango_command_inout2('ANS-C03/RF/PM.1','Stop'); %NE PAS OUBLIER D'ENLEVER CETTE LIGNE APRES TEST 
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%                                                       CAVITE 2                                                       %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_cav2_Acquisition.
+function pushbutton_cav2_Acquisition_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_cav2_Acquisition (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+statusAcquisition_cav2=tango_read_attribute2('ANS-C03/RF/PM.2','Status');
+text=statusAcquisition_cav2.value;
+if findstr(text, 'running')
+    msgbox('Fonctionnement Normal: pas d''acquisition Ã  faire','Info','warn');
+    return;
+    
+else
+
+set(handles.text_cav2_PR1,'String','Pr1');
+set(handles.text_cav2_PR2,'String','Pr2');
+set(handles.text_cav2_PR3,'String','Pr3');
+set(handles.text_cav2_PR4,'String','Pr4');
+
+rep = tango_read_attributes2('ANS-C03/RF/AMP.2-DATA', {'reflectedPowerSecurityT1','reflectedPowerSecurityT2',...
+        'reflectedPowerSecurityT3','reflectedPowerSecurityT4'});
+
+%%rep = tango_read_attribute2('ANS-C03/RF/AMP.2-DATA','reflectedPowerSecurityT1')
+
+%%Data.AMP2.reflectedPowerSecurityT1 = rep.value;    
+Data.AMP2.reflectedPowerSecurityT1 = rep(1).value;
+Data.AMP2.reflectedPowerSecurityT2 = rep(2).value;
+Data.AMP2.reflectedPowerSecurityT3 = rep(3).value;
+Data.AMP2.reflectedPowerSecurityT4 = rep(4).value;
+    
+if Data.AMP2.reflectedPowerSecurityT1
+    set(handles.text_cav2_PR1,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR1,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP2.reflectedPowerSecurityT2
+    set(handles.text_cav2_PR2,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR2,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.AMP2.reflectedPowerSecurityT3
+    set(handles.text_cav2_PR3,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR3,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP2.reflectedPowerSecurityT4
+    set(handles.text_cav2_PR4,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR4,'BackgroundColor', [1 0 0]); %red
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+rep = tango_read_attributes2('ANS-C03/RF/PM.2', {'acqHighResolutionCh1', 'acqHighResolutionCh2', 'acqHighResolutionCh3', ...
+    'acqHighResolutionCh4'});
+Data.PM2.DataHR1 = rep(1).value;
+Data.PM2.DataHR2 = rep(2).value;
+Data.PM2.DataHR3 = rep(3).value;
+Data.PM2.DataHR4 = rep(4).value;
+
+Data.PM2.TimestampHR = tango_shift_time(rep(1).time);
+
+reptrig2 = tango_read_attribute2('ANS-C03/RF/PM.2','triggerTimestamp');
+Data.PM2.triggerTimestamp = reptrig2.value;
+
+[NbrColumn,NbrPoint3] = size (Data.PM2.DataHR1);
+
+axes(handles.graph2);
+   
+    name2='_AcRAPIDE'
+    
+    %pnt=1:10000;
+    pnt=1:NbrPoint3;
+
+    hold off;
+    plot(pnt, Data.PM2.DataHR1,'b'); hold on; grid on;
+    plot(pnt, Data.PM2.DataHR2,'r');
+    plot(pnt, Data.PM2.DataHR3,'g');
+    plot(pnt, Data.PM2.DataHR4,'k');
+    legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    xlabel('nombre de points (temps: 1 us par point)');
+    ylabel('Signal');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+set(handles.text_cav2_PI,'String','Pi');
+set(handles.text_cav2_PSS,'String','PSS Sec');
+set(handles.text_cav2_uC,'String','uC');
+    
+repPSS = tango_read_attribute2('ANS-C03/RF/LLE.2','pssSecurity');
+    %rep = tango_read_attributes2('ANS-C03/RF/AMP.2-DATA', {'incidentPowerSecurity','pssSecurity','microcontrollerSecurity'});
+    rep = tango_read_attributes2('ANS-C03/RF/AMP.2-DATA', {'incidentPowerSecurity','microcontrollerSecurity'});
+    
+    Data.AMP2.incidentPowerSecurity = rep(1).value;
+    Data.AMP2.pssSecurity = repPSS.value;
+    Data.AMP2.microcontrollerSecurity=rep(2).value;
+    
+    if Data.AMP2.incidentPowerSecurity
+      set(handles.text_cav2_PI,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_cav2_PI,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP2.pssSecurity
+      set(handles.text_cav2_PSS,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_cav2_PSS,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.AMP2.microcontrollerSecurity
+      set(handles.text_cav2_uC,'BackgroundColor', [0 1 0]); %green
+    else 
+      set(handles.text_cav2_uC,'BackgroundColor', [1 0 0]); %red
+    end
+    
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ set(handles.text_cav2_InterLCKmach,'String','Interlck MACH');
+ set(handles.text_cav2_VAC,'String','VAC');
+ set(handles.text_cav2_CRYO,'String','CRYO');
+    
+ repINTER = tango_read_attribute2('ANS-C03/RF/LLE.2','machineSecurity');
+    %rep = tango_read_attributes2('ANS-C03/RF/CAV.2', {'interlock','vacuumSecurity','cryomoduleSecurity'});
+    rep = tango_read_attributes2('ANS-C03/RF/CAV.2', {'vacuumSecurity','cryomoduleSecurity'});
+    
+    Data.CAV2.interlock = repINTER.value;
+    %Data.CAV2.interlock = rep(1).value;
+    Data.CAV2.vacuum    = rep(1).value;
+    Data.CAV2.cryo = rep(2).value;
+
+    if Data.CAV2.interlock
+      set(handles.text_cav2_InterLCKmach,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV2.interlock);
+      set(handles.text_cav2_InterLCKmach,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.CAV2.vacuum
+        %disp (Data.CAV2.vacuum);
+      set(handles.text_cav2_VAC,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV2.vacuum)
+      set(handles.text_cav2_VAC,'BackgroundColor', [1 0 0]); %red
+    end
+    
+    if Data.CAV2.cryo
+        %disp (Data.CAV2.cryo);
+      set(handles.text_cav2_CRYO,'BackgroundColor', [0 1 0]); %green
+    else 
+        %disp (Data.CAV2.vacuum)
+      set(handles.text_cav2_CRYO,'BackgroundColor', [1 0 0]); %red
+    end
+    
+%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%    
+
+DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+%FileName = appendtimestamp('RFdata_CAV2', Data.PM2.TimestampHR);
+%comment% FileName = appendtimestamp('RFdata_CAV2', Data.PM2.triggerTimestamp);
+%disp (Data.PM2.triggerTimestamp);
+%disp (datevec(Data.PM2.triggerTimestamp));
+%FileName = appendtimestamp('RFdata_CAV2', Data.PM2.triggerTimestamp);
+FileName =['RFdata_CAV2_', Data.PM2.triggerTimestamp];
+
+[token,remain]=strtok(FileName);
+res=datevec(remain);
+resp1=num2str(res(1));
+resp2=num2str(res(2));
+resp3=num2str(res(3));
+resp4=num2str(res(4));
+resp5=num2str(res(5));
+resp6=num2str(res(6));
+FileNameLAST2=strcat('RFdata_CAV2','_',resp1,'-',resp2,'-',resp3,'_',resp4,'h',resp5,'mn',resp6,'s');
+disp (FileNameLAST2);
+
+%FileName = strcat(FileName,name2);
+%button group
+[FileNameLAST2, DirectoryName] = uiputfile('*.mat', 'Select File (Cancel to not save to a file)', [DirectoryName FileNameLAST2, '.mat']);
+if FileNameLAST2 == 0
+    disp('   No data saved');
+    return;
+    %RFdata_2007-10-10_13-48-23.mat
+end
+
+DirStart = pwd;
+[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+save(FileNameLAST2, 'Data');
+cd(DirStart);
+fprintf('   Data saved to %s\n', [DirectoryName FileNameLAST2]);
+
+setappdata(handles.figure1, 'RFdata_CAV2', Data);    
+
+
+end
+ 
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ 
+% --- Executes on button press in pushbutton_cav2_OPEN.
+function pushbutton_cav2_OPEN_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_cav2_OPEN (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+    
+DirectoryName = getfamilydata('Directory', 'RFPostmortem');
+
+DirStart = pwd;
+DirectoryName = gotodirectory(DirectoryName);
+[FileName, DirectoryName] = uigetfile('*.mat', 'Select File (Cancel to not save to a file)','RFdata_CAV2*');
+
+global DirectoryNameGlobal;
+DirectoryNameGlobal=DirectoryName;
+global FileNameGlobal;
+FileNameGlobal=FileName;
+
+if FileName == 0
+    msgbox('No file chosen','Info','warn');
+    %disp('   No file chosen');
+    return;
+else
+    load(FileName, 'Data');
+end
+cd(DirStart);
+
+setappdata(handles.figure1, 'RFdata_CAV2', Data);
+
+%disp (Data.PM2.DataLR);
+
+
+
+if Data.AMP2.reflectedPowerSecurityT1
+    set(handles.text_cav2_PR1,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR1,'BackgroundColor', [1 0 0]); %red
+end 
+
+if Data.AMP2.reflectedPowerSecurityT2
+    set(handles.text_cav2_PR2,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR2,'BackgroundColor', [1 0 0]); %red
+end   
+
+if Data.AMP2.reflectedPowerSecurityT3
+    set(handles.text_cav2_PR3,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR3,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.AMP2.reflectedPowerSecurityT4
+    set(handles.text_cav2_PR4,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PR4,'BackgroundColor', [1 0 0]); %red
+end
+
+
+
+if Data.AMP2.incidentPowerSecurity
+    set(handles.text_cav2_PI,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PI,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP2.pssSecurity
+    set(handles.text_cav2_PSS,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_PSS,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.AMP2.microcontrollerSecurity
+    set(handles.text_cav2_uC,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_uC,'BackgroundColor', [1 0 0]); %red
+end
+
+if Data.CAV2.interlock
+    set(handles.text_cav2_InterLCKmach,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_InterLCKmach,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.CAV2.vacuum
+    set(handles.text_cav2_VAC,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_VAC,'BackgroundColor', [1 0 0]); %red
+end
+    
+if Data.CAV2.cryo
+    set(handles.text_cav2_CRYO,'BackgroundColor', [0 1 0]); %green
+else 
+    set(handles.text_cav2_CRYO,'BackgroundColor', [1 0 0]); %red
+end
+
+axes(handles.graph2);
+
+
+[NbrColumn,NbrPoint4] = size (Data.PM2.DataHR1);
+
+%//Data.PM2.DataHR1 = -(Data.PM2.DataHR1/5)*10^6;    
+%//Data.PM2.DataHR2 = ((0.0361 + 0.2542*Data.PM2.DataHR2 - 0.0112*Data.PM2.DataHR2.^2 + 0.0011*Data.PM2.DataHR2.^3).^2/50)*3.0*10^7; 
+%//Data.PM2.DataHR3 = ((0.0361 + 0.2542*Data.PM2.DataHR3 - 0.0112*Data.PM2.DataHR3.^2 + 0.0011*Data.PM2.DataHR3.^3).^2/50)*10.5*10^5;
+%//Data.PM2.DataHR4 = (Data.PM2.DataHR4)*10^4;     
+
+hold off;
+%hold on; grid on;
+
+pnt=[1:NbrPoint4];
+
+%//pnt1=1:10000;
+%//pnt2=1:10000;
+        %[haxes,hline1,hline2,hline3]=plotyy(pnt,Data.PM2.DataHR1,pnt,Data.PM2.DataHR2,pnt,Data.PM2.DataHR3);
+%[haxes,hline1,hline2]=plotyy(pnt,Data.PM2.DataHR1,pnt,Data.PM2.DataHR2);
+%//[haxes,hline1,hline2]=plotyy(pnt1,Data.PM2.DataHR1,pnt2,Data.PM2.DataHR2,'plot');
+%//set(hline1,'Color','b');
+%//set(hline2,'Color','r');
+        %[haxes,hline3,hline4]=plotyy(pnt,Data.PM2.DataHR3,pnt,Data.PM2.DataHR4);
+plot(pnt, Data.PM2.DataHR1,'b'); hold on; grid on;
+plot(pnt, Data.PM2.DataHR2,'r');
+plot(pnt, Data.PM2.DataHR3,'g');
+plot(pnt, Data.PM2.DataHR4,'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %%legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi');
+xlabel('nombre de points (temps: 1 us par point)');
+    %//axes(haxes(1));
+    %//axis auto;
+    %zoom on; 
+    %ylabel('Vcav [V]','Color','b');
+    %//ylabel('Vcav [V]');
+ylabel('Signal');
+    %//LegVcav=legend('Ac. Rapide CH1: Vcav');
+    %//set(LegVcav,'Location','NorthWest');
+    %set(LegVcav,'background','g');
+    %//axes(haxes(2));
+    %//axis auto;
+    %axes(h,'Color','b');
+    %//ylabel('Power [Watts]');
+    %//hold on; grid on;
+    %//plot(pnt2,Data.PM2.DataHR3,'y');
+
+    %hold on; grid on;
+    %//plot(pnt2, Data.PM2.DataHR4,'k');
+    %//LegPuissance=legend('Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %legend('Ac. Rapide CH4: Ib');
+    %ylabel('Signal');
+text(1000,0.5,Data.PM2.triggerTimestamp);
+    
+    
+    %SAVED
+    %hold off;
+    %pnt=1:10000;
+    %plot(pnt, Data.PM2.DataHR1,'b'); hold on; grid on;
+    %plot(pnt, Data.PM2.DataHR2,'r');
+    %plot(pnt, Data.PM2.DataHR3,'g');
+    %plot(pnt, Data.PM2.DataHR4,'k');
+    %legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+    %text(1000,0.5,Data.PM2.triggerTimestamp);
+    %xlabel('nombre de points (temps: 1 us par point)');
+    %ylabel('Signal');
+
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_cav2_clear.
+function pushbutton_cav2_clear_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_cav2_clear (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+axes(handles.graph2);
+hold off;
+plot(NaN);
+
+set(handles.text_cav2_PR1,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_PR2,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_PR3,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_PR4,'BackgroundColor', [0.702 0.702 0.702]); %gray
+    
+set(handles.text_cav2_PI,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_PSS,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_uC,'BackgroundColor', [0.702 0.702 0.702]); %gray
+  
+set(handles.text_cav2_InterLCKmach,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_VAC,'BackgroundColor', [0.702 0.702 0.702]); %gray
+set(handles.text_cav2_CRYO,'BackgroundColor', [0.702 0.702 0.702]); %gray
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --- Executes on button press in pushbutton_RESET_cav2.
+function pushbutton_RESET_cav2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_RESET_cav2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+statusAcquisition_cav2=tango_read_attribute2('ANS-C03/RF/PM.2','Status');
+text=statusAcquisition_cav2.value;
+if findstr(text, 'running')
+    %%set(handles.pushbutton_RESET_cav2,'String','NO need reset, Device is Running');
+    msgbox('Un reset a dÃ©jÃ  Ã©tÃ© fait, le device fonctionne Normalement','Info','warn');
+    return;
+else
+    set(handles.pushbutton_RESET_cav2,'Tag','pushbutton_RESET_cav2');
+    %tango_command_inout2('ANS-C03/RF/PM.2','Init');
+    tango_command_inout2('ANS-C03/RF/PM.2','Start');
+    
+    fid=0;
+    filenameRES='/home/operateur/GrpRF/Nicolas/SUIVIreset';
+    %filenameRES='TESTres';
+    fid=fopen(filenameRES,'a+');
+    %disp (fid);
+    %disp ('2');
+    %valeurTEST='test11111';
+    valeurTEST=datestr(clock,0);
+    
+    fprintf(fid,'Reset CAV2 at: %s \n',valeurTEST);
+    fclose(fid);
+end 
+
+%tango_command_inout2('ANS-C03/RF/PM.2','Stop'); %NE PAS OUBLIER D'ENLEVER CETTE LIGNE APRES TEST
+
+
+% --- Executes on button press in pushbutton12.
+function pushbutton12_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+function edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit2 as text
+%        str2double(get(hObject,'String')) returns contents of edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit3 as text
+%        str2double(get(hObject,'String')) returns contents of edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit5_Callback(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit5 as text
+%        str2double(get(hObject,'String')) returns contents of edit5 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit6 as text
+%        str2double(get(hObject,'String')) returns contents of edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton15.
+function pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+valmax=1;
+valmin=0;
+
+valminINIT=get(handles.edit5,'String');
+valmin=str2num(valminINIT{1});
+valmaxINIT=get(handles.edit6,'String');
+valmax=str2num(valmaxINIT{1});
+
+n=valmax-valmin+1;
+i=1;
+
+global DirectoryNameGlobal;
+disp ('DirectoryNameGlobal');
+gotodirectory(DirectoryNameGlobal);
+
+global FileNameGlobal;
+load(FileNameGlobal, 'Data');   
+
+%//Data.PM2.DataHR1 = -(Data.PM2.DataHR1/5)*10^6;    
+%//Data.PM2.DataHR2 = ((0.0361 + 0.2542*Data.PM2.DataHR2 - 0.0112*Data.PM2.DataHR2.^2 + 0.0011*Data.PM2.DataHR2.^3).^2/50)*3.0*10^7; 
+%//Data.PM2.DataHR3 = ((0.0361 + 0.2542*Data.PM2.DataHR3 - 0.0112*Data.PM2.DataHR3.^2 + 0.0011*Data.PM2.DataHR3.^3).^2/50)*10.5*10^5;
+%//Data.PM2.DataHR4 = (Data.PM2.DataHR4)*10^4;  
+
+for i=1:n
+    Data.PM2.DataHR1(valmin+i-1)=-((Data.PM2.DataHR1(valmin+i-1))/5)*10^2;
+    Data.PM2.DataHR2(valmin+i-1)=((0.0361 + 0.2542*Data.PM2.DataHR2(valmin+i-1) - 0.0112*Data.PM2.DataHR2(valmin+i-1).^2 + 0.0011*Data.PM2.DataHR2(valmin+i-1).^3).^2/50)*3.0*10^4;
+    Data.PM2.DataHR3(valmin+i-1)=((0.0361 + 0.2542*Data.PM2.DataHR3(valmin+i-1) - 0.0112*Data.PM2.DataHR3(valmin+i-1).^2 + 0.0011*Data.PM2.DataHR3(valmin+i-1).^3).^2/50)*10.5*10^2;
+    Data.PM2.DataHR4(valmin+i-1)=(Data.PM2.DataHR4(valmin+i-1))*10^2;
+end
+
+maxHR1=max(Data.PM2.DataHR1);
+maxHR2=max(Data.PM2.DataHR2);
+maxHR3=max(Data.PM2.DataHR3);
+maxHR4=max(Data.PM2.DataHR4);
+minHR1=min(Data.PM2.DataHR1);
+minHR2=min(Data.PM2.DataHR2);
+minHR3=min(Data.PM2.DataHR3);
+minHR4=min(Data.PM2.DataHR4);
+
+if (maxHR2(1)>maxHR3(1))
+    max1=maxHR2(1)
+else max1=maxHR3(1);
+end
+if (max1<maxHR4(1))
+    max1=maxHR4(1);
+end
+
+if (minHR2(1)<minHR3(1))
+   min1=minHR2(1)
+else min1=minHR3(1);
+end
+if (min1>minHR4(1))
+    min1=minHR4(1);
+end
+
+minHR1app=minHR1(1);
+maxHR1app=maxHR1(1);
+
+if (minHR1app<min1)
+    mini=minHR1
+else
+    mini=min1
+end
+
+if (maxHR1app>max1)
+    maxi=maxHR1
+else
+    maxi=max1
+end
+
+axes(handles.graph2);
+
+hold off;
+pnt=[valmin:valmax];
+axis([valmin valmax mini maxi])
+plot(Data.PM2.DataHR1,'b'); hold on; grid on;
+axis([valmin valmax mini maxi])
+plot(Data.PM2.DataHR2,'r');
+plot(Data.PM2.DataHR3,'g');
+plot(Data.PM2.DataHR4,'k');
+legend('Ac. Rapide CH1: Vcav', 'Ac. Rapide CH2: Pi','Ac. Rapide CH3: Pr','Ac. Rapide CH4: Ib');
+xlabel('nombre de points (temps: 1 us par point)');
+ylabel('Signal');
+text(1000,0.5,Data.PM2.triggerTimestamp);
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+*.m~
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/DeleteLineRadiaMap.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/DeleteLineRadiaMap.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/DeleteLineRadiaMap.m	(revision 17)
@@ -0,0 +1,73 @@
+function DeleteRadiaMapLine(PathName,FileName,x,Bx,Bz,Lu,forder,funit,deleteLnstr,str)
+
+
+%% find the extension of the file
+exid = strfind(FileName,'.');
+extension = FileName(exid:end);
+%find the main file name
+savefilename = [PathName,FileName(1:exid-1)];
+
+%%  delete the lines from the data
+
+% get the size of Bx and Bz before delete
+    [Pz Px] = size(Bx);  
+    
+if (strncmp(deleteLnstr,'first',5))
+   DLn = 1;
+elseif(strncmp(deleteLnstr,'last',4)&&strncmp(str,'horizontal',10))
+    DLn = Pz;
+elseif(strncmp(deleteLnstr,'last',4)&&strncmp(str,'vertical',8))
+    DLn = Px-1;
+end
+
+   
+    
+switch str  
+    case 'horizontal'
+      Bx(DLn,:) =[];
+      Bz(DLn,:) =[];
+  
+      
+    case 'vertical'
+      Bx(:,DLn+1) =[];    % the first colum of Bx is y cooridinates
+      Bz(:,DLn+1) =[];    % the first colum of Bx is y cooridinates
+   end    
+   
+%% get the size of Bx and Bz
+    [Pz Px] = size(Bx);    
+
+%% save the data into a file
+fid =fopen([savefilename,'_delete',extension],'wt');
+%save the headlines
+fprintf(fid,'%s\n','# Author:  User');
+fprintf(fid,'%s\n',['# ',FileName,' after delete the line' ]);
+fprintf(fid,'%s\n','# Undulator Length [m]');
+fprintf(fid,'%-10.2f\n',Lu);
+fprintf(fid,'%s\n','# Number of Horizontal Points');
+fprintf(fid,'%d\n',Px);
+fprintf(fid,'%s\n','# Number of Vertical Points');
+fprintf(fid,'%d\n',Pz);
+
+
+
+%save the interploted horizontal kick
+fprintf(fid,'%s\n',['# Horizontal ',forder,' Order Kick ',funit]);
+fprintf(fid,'%s\n','START');
+fprintf(fid,'    %10.5e',x); %the first element is non exit
+fprintf(fid,'\n');
+for i=1:Pz
+fprintf(fid,'%10.5e   ',Bz(i,:)); 
+fprintf(fid,'\n');
+end
+
+%save the interploted vertical kick
+fprintf(fid,'%s\n',['# Vertical ',forder,' Order Kick ',funit]);
+fprintf(fid,'%s\n','START');
+fprintf(fid,'    %10.5e',x); %the first element is non exit
+fprintf(fid,'\n');
+for i=1:Pz
+fprintf(fid,'%10.5e   ',Bx(i,:)); 
+fprintf(fid,'\n');
+end
+
+fclose(fid);
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/GenFieldMap.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/GenFieldMap.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/GenFieldMap.m	(revision 17)
@@ -0,0 +1,60 @@
+function GenFieldMap(PathName,FileName,Length)
+% Generate 2D radia map from the 1D map from the magnetic group  
+
+%FileName = 'example_1Dmap.dat';
+%Length = 3; % undulator length
+
+%read the 1D radia map
+fid = fopen([PathName,FileName]);
+[x,Bx,Bz z] = textread(FileName,'%f %f %f %f','headerlines',1);
+fclose(fid);
+
+%change the unit to SI unit
+x = x'*1e-3;   % [mm] --> [m]
+z = z'*1e-3;
+Bx = (Bx)'*1e-4; %[G.m] --> [T.m]
+Bz = (Bz)'*1e-4;
+
+%find the last component of z 
+idx = find(z==0,2,'first');
+z(idx(2):end) = [];
+
+
+%find the extension of the file
+exid = strfind(FileName,'.');
+extension = FileName(exid:end);
+%find the main file name
+savefilename = [PathName,FileName(1:exid-1)];
+
+
+%% generate 2D map, by repeat the field values, then save the data
+fid =fopen([savefilename,'_2Dmap',extension],'wt');
+%save the headlines
+fprintf(fid,'%s\n','# Author:  User');
+fprintf(fid,'%s\n',['# Radia 2nd order map, based on the file: ',FileName]);
+fprintf(fid,'%s\n','# Undulator Length [m]');
+fprintf(fid,'%-10.5f\n',Length);
+fprintf(fid,'%s\n','# Number of Horizontal Points');
+fprintf(fid,'%d\n',length(x));
+fprintf(fid,'%s\n','# Number of Vertical Points');
+fprintf(fid,'%d\n',length(z));
+fprintf(fid,'%s\n','# Horizontal 2nd Order Kick[T2m2]');
+fprintf(fid,'%s\n','START');
+
+%save the horizontal kick
+ fprintf(fid,'  %10.5e',x);
+ fprintf(fid,'\n');
+for i=1:length(z)
+    fprintf(fid,'  %10.5e',[z(i),Bz]);
+    fprintf(fid,'\n');
+end
+%save the vertical kick
+fprintf(fid,'%s\n','# Vertical 2nd Order Kick[T2m2]');
+fprintf(fid,'%s\n','START');
+fprintf(fid,'  %10.5e',x);
+ fprintf(fid,'\n');
+for i=1:length(z)
+    fprintf(fid,'  %10.5e',[z(i),Bx]);
+    fprintf(fid,'\n');
+end
+fclose(fid);
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxx.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxx.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxx.m	(revision 17)
@@ -0,0 +1,16 @@
+function  PlotRadiaMap_Bxx(StartLn,EndLn,x,Bx,forder,funit)
+
+fcolor = ['r','b','g','c','k','m','y'];
+figure(1);
+for i=StartLn:EndLn
+    
+    fci = fcolor(rem(i,7));
+    if (fci == 0) fci = 1;end
+    
+    plot(x,Bx(i,2:end),fci);
+    hold on;
+end
+ xlabel('x[m]');
+ ylabel([forder, ' Bx ',funit]);
+ title([forder,' vertical kick/horizontal field map',funit,'  for lines: ', num2str(StartLn),' to ',num2str(EndLn)]);
+ grid on;
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxxy.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxxy.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxxy.m	(revision 17)
@@ -0,0 +1,8 @@
+function  PlotRadiaMap_Bxxy(x,Bx,forder,funit)
+% 2D (mesh) plot field map
+   figure(3);
+   mesh(x,Bx(:,1),Bx(:,2:end));
+    xlabel('x[m]');
+    ylabel('y[m]');
+    zlabel([forder, ' Bx ',funit]);
+  title([forder,' vertical kick/horizontal field map ',funit]);
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxy.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxy.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Bxy.m	(revision 17)
@@ -0,0 +1,16 @@
+function  PlotRadiaMap_Bxy(StartLn,EndLn,x,Bx,forder,funit)
+
+fcolor = ['r','b','g','c','k','m','y'];
+figure(2);
+for i=StartLn:EndLn
+    
+       fci = fcolor(rem(i,7));
+    if (fci == 0) fci = 1;end
+    
+    plot(Bx(:,1),Bx(:,i),fci);
+    hold on;
+end
+ xlabel('y[m]');
+ ylabel([forder, ' Bx ',funit]);
+ title([forder,' vertical kick/horizontal field map',funit,'  for lines: ', num2str(StartLn),' to ',num2str(EndLn)]);
+ grid on;
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byx.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byx.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byx.m	(revision 17)
@@ -0,0 +1,16 @@
+function  PlotRadiaMap_Byx(StartLn,EndLn,x,Bz,forder,funit)
+
+fcolor = ['r','b','g','c','k','m','y'];
+figure(4);
+for i=StartLn:EndLn
+    
+    fci = fcolor(rem(i,7));
+    if (fci == 0) fci = 1;end
+    
+    plot(x,Bz(i,2:end),fci);
+    hold on;
+end
+ xlabel('x[m]');
+ ylabel([forder, ' By ',funit]);
+ title([forder,' horizontal kick/vertical field map',funit,'  for lines: ', num2str(StartLn),' to ',num2str(EndLn)]);
+ grid on;
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byxy.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byxy.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byxy.m	(revision 17)
@@ -0,0 +1,8 @@
+function  PlotRadiaMap_Byxy(x,Bz,forder,funit)
+% 2D (mesh) plot field map
+   figure(6);
+   mesh(x,Bz(:,1),Bz(:,2:end));
+    xlabel('x[m]');
+    ylabel('y[y]');s
+    zlabel([forder, ' By ',funit]);
+  title([forder,' horizontal kick/vertical field map ',funit]);
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byy.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byy.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotRadiaMap_Byy.m	(revision 17)
@@ -0,0 +1,16 @@
+function  PlotRadiaMap_Byy(StartLn,EndLn,x,Bz,forder,funit)
+
+fcolor = ['r','b','g','c','k','m','y'];
+figure(5);
+for i=StartLn:EndLn
+    
+       fci = fcolor(rem(i,7));
+    if (fci == 0) fci = 1;end
+    
+    plot(Bz(:,1),Bz(:,i),fci);
+    hold on;
+end
+ xlabel('y[m]');
+ ylabel([forder, ' By ',funit]);
+ title([forder,' horizontal kick/vertical field map',funit,'  for lines: ', num2str(StartLn),' to ',num2str(EndLn)]);
+ grid on;
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotSmoothRadiaMap.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotSmoothRadiaMap.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/PlotSmoothRadiaMap.m	(revision 17)
@@ -0,0 +1,26 @@
+function PlotSmoothRadiaMap(Ln,x,Bx,Bz,sx,sBx,sBz,forder,funit)
+% plot the data before and after interpolation
+
+ 
+  figure(11);
+  
+      plot(x,Bx(Ln,2:end),'b-');
+      hold on;
+      plot(sx,sBx(Ln,:),'r-');
+  
+ xlabel('x[m]');
+ ylabel([forder, ' Bx / vertical kick ',funit]);
+ legend('before smooth','after smooth');
+  
+ %title(['spline interpolation, data is amplified by ', num2str(f)]);
+
+  figure(12);
+  
+      plot(x,Bz(Ln,2:end),'b-');
+      hold on;
+      plot(sx,sBz(Ln,:),'r-');
+  
+ xlabel('x[m]');
+ ylabel([forder, ' By / horizontal kick ',funit]);
+ legend('before smooth','after smooth');
+% title(['spline interpolation, data is amplified by ', num2str(f)]);
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/RadiaMapGui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/RadiaMapGui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/RadiaMapGui.m	(revision 17)
@@ -0,0 +1,499 @@
+function varargout = RadiaMapGui(varargin)
+% RADIAMAPGUI M-file for RadiaMapGui.fig
+%      RADIAMAPGUI, by itself, creates a new RADIAMAPGUI or raises the existing
+%      singleton*.
+%
+%      H = RADIAMAPGUI returns the handle to a new RADIAMAPGUI or the handle to
+%      the existing singleton*.
+%
+%      RADIAMAPGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in RADIAMAPGUI.M with the given input arguments.
+%
+%      RADIAMAPGUI('Property','Value',...) creates a new RADIAMAPGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before RadiaMapGui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to RadiaMapGui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help RadiaMapGui
+
+% Last Modified by GUIDE v2.5 07-Jan-2011 15:24:20
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @RadiaMapGui_OpeningFcn, ...
+                   'gui_OutputFcn',  @RadiaMapGui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before RadiaMapGui is made visible.
+function RadiaMapGui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to RadiaMapGui (see VARARGIN)
+
+% Choose default command line output for RadiaMapGui
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes RadiaMapGui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+%set default value for the plot StartLn, plot EndLn, plot data after 
+% smooth Ln, Length of the undulator when generate 2D map from 1D map data
+handles.EndLn = str2double(get(handles.EndLn,'String'));
+handles.StartLn= str2double(get(handles.StartLn,'String'));
+handles.plotsmoothLn = str2double(get(handles.plotsmoothLn,'String'));
+handles.Length = str2double(get(handles.Length,'String'));
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = RadiaMapGui_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+function edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% Hints: get(hObject,'String') returns contents of edit1 as text
+%        str2double(get(hObject,'String')) returns contents of edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on button press in open2Dmap.
+function open2Dmap_Callback(hObject, eventdata, handles)
+% hObject    handle to open2Dmap (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%set the 'smooth finish' display window to its initial value
+h = handles.smoothfinish;
+set(h,'String','finish smooth ???','Foregroundcolor','y');
+
+
+% select the file name to read
+[FileName,PathName,FilterIndex] = uigetfile('*.dat');
+%save the whole path
+handles.openfilename = [PathName,FileName];
+handles.FileName = FileName;
+handles.PathName = PathName;
+
+
+
+% get the file name and read the file
+[x Bx,Bz,Px,Pz,Lu] = ReadRadiaMap(handles.openfilename);
+% save the data the all handles
+handles.x = x;
+handles.Px = Px;
+handles.Pz = Pz;
+handles.Lu = Lu;
+handles.Bx = Bx;
+handles.Bz = Bz;
+handles.forder = '2nd';
+handles.funit = '[T2m2]';
+%pass the file name to all the callbacks
+guidata(hObject,handles);
+
+
+
+%display the open file name in the display text window
+h = handles.displayOpenFile;
+set(h,'String',handles.openfilename);
+
+%display the horizontal and vertical points in the display text window
+h1 = handles.Hpoints;
+set(h1,'String',Px);
+h2 = handles.Vpoints;
+set(h2,'String',Pz);
+
+
+
+% --- Executes on button press in displayOpenFile.
+function displayOpenFile_Callback(hObject, eventdata, handles)
+% hObject    handle to displayOpenFile (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of displayOpenFile
+
+
+
+
+function StartLn_Callback(hObject, eventdata, handles)
+% hObject    handle to StartLn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of StartLn as text
+%        str2double(get(hObject,'String')) returns contents of StartLn as a double
+
+%get the user input start line number
+StartLn = str2double(get(hObject,'String'));
+%save the start line number to all handles
+handles.StartLn = StartLn;
+guidata(hObject,handles);
+
+% --- Executes during object creation, after setting all properties.
+function StartLn_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to StartLn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function EndLn_Callback(hObject, eventdata, handles)
+% hObject    handle to EndLn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of EndLn as text
+%        str2double(get(hObject,'String')) returns contents of EndLn as a double
+
+EndLn = str2double(get(hObject,'String'));
+
+%get the user input end line number
+EndLn = str2double(get(hObject,'String'));
+%save the end line number to all handles
+handles.EndLn = EndLn;
+guidata(hObject,handles);
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function EndLn_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to EndLn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on button press in PlotBxx.
+function PlotBxx_Callback(hObject, eventdata, handles)
+% hObject    handle to PlotBxx (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+PlotRadiaMap_Bxx(handles.StartLn,handles.EndLn,handles.x,handles.Bx,handles.forder,handles.funit);
+
+
+% --- Executes on button press in PlotBxy.
+function PlotBxy_Callback(hObject, eventdata, handles)
+% hObject    handle to PlotBxy (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% plot the radia map Bx versus y
+PlotRadiaMap_Bxy(handles.StartLn,handles.EndLn,handles.x,handles.Bx,handles.forder,handles.funit);
+
+% --- Executes on button press in PlotBxxy.
+function PlotBxxy_Callback(hObject, eventdata, handles)
+% hObject    handle to PlotBxxy (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% plot the 2D mesh of Bx
+ PlotRadiaMap_Bxxy(handles.x,handles.Bx,handles.forder,handles.funit);
+ 
+ 
+ % --- Executes on button press in PlotByx.
+function PlotByx_Callback(hObject, eventdata, handles)
+% hObject    handle to PlotByx (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+PlotRadiaMap_Byx(handles.StartLn,handles.EndLn,handles.x,handles.Bz,handles.forder,handles.funit);
+
+% --- Executes on button press in PlotByy.
+function PlotByy_Callback(hObject, eventdata, handles)
+% hObject    handle to PlotByy (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% plot the radia map By versus y
+PlotRadiaMap_Byy(handles.StartLn,handles.EndLn,handles.x,handles.Bz,handles.forder,handles.funit);
+
+% --- Executes on button press in PlotByxy.
+function PlotByxy_Callback(hObject, eventdata, handles)
+% hObject    handle to PlotByxy (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% plot the 2D mesh of By
+ PlotRadiaMap_Byxy(handles.x,handles.Bz,handles.forder,handles.funit);
+
+
+% --- Executes on button press in closefigure.
+function closefigure_Callback(hObject, eventdata, handles)
+% hObject    handle to closefigure (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%close all figures except figure: GUI
+figs=findobj('Type','Figure');
+close(figs(figs~=gcbf));
+
+
+
+% --- Executes on button press in pushbutton11.
+function pushbutton11_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in Smooth.
+function Smooth_Callback(hObject, eventdata, handles)
+% hObject    handle to Smooth (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%smooth the data and save the data with the file extension: interpolation
+[sx,sBx,sBz] = SmoothRadiaMap(handles.PathName,handles.FileName,handles.x,handles.Bx,handles.Bz,...
+               handles.Px,handles.Pz,handles.Lu,handles.forder,handles.funit);
+
+ handles.sx = sx;
+ handles.sBx = sBx;
+ handles.sBz = sBz;
+ guidata(hObject,handles);
+ 
+%display 'the smooth is finished' in the display text window
+h = handles.smoothfinish;
+set(h,'String','finish smooth !!!','Foregroundcolor','g');
+
+
+% --- Executes on button press in plotsmooth.
+function plotsmooth_Callback(hObject, eventdata, handles)
+% hObject    handle to plotsmooth (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%get the line number to plot
+Ln = handles.plotsmoothLn;
+% plot the radia map after smooth
+PlotSmoothRadiaMap(Ln,handles.x,handles.Bx,handles.Bz,handles.sx,...
+                   handles.sBx,handles.sBz,handles.forder,handles.funit);
+
+% --- Executes on button press in smoothfinish.
+function smoothfinish_Callback(hObject, eventdata, handles)
+% hObject    handle to smoothfinish (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of smoothfinish
+
+
+% --- Executes on button press in open1Dmap.
+function open1Dmap_Callback(hObject, eventdata, handles)
+% hObject    handle to open1Dmap (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% select the file name to read
+[FileName,PathName,FilterIndex] = uigetfile('*.dat');
+setappdata(hObject,'UserFileName',FileName);
+setappdata(hObject,'UserPathName',PathName);
+
+% --- Executes on button press in Gen2Dmap.
+function Gen2Dmap_Callback(hObject, eventdata, handles)
+% hObject    handle to Gen2Dmap (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%get the user opened path name and file name
+PathName = getappdata(handles.open1Dmap,'UserPathName');
+FileName = getappdata(handles.open1Dmap,'UserFileName');
+% get the undulator Length
+Length = handles.Length; 
+
+GenFieldMap(PathName,FileName,Length);
+
+
+
+function Length_Callback(hObject, eventdata, handles)
+% hObject    handle to Length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Length as text
+%        str2double(get(hObject,'String')) returns contents of Length as a double
+
+        handles.Length = str2double(get(hObject,'String'));
+        guidata(hObject,handles); %update the data
+
+      %  setappdata(hObject,'Length',Length);
+
+% --- Executes during object creation, after setting all properties.
+function Length_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function plotsmoothLn_Callback(hObject, eventdata, handles)
+% hObject    handle to plotsmoothLn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of plotsmoothLn as text
+%        str2double(get(hObject,'String')) returns contents of plotsmoothLn as a double
+
+     handles.plotsmoothLn = str2double(get(hObject,'String'));
+     guidata(hObject,handles);
+
+    % setappdata(hObject,'plotsmoothLn',Ln);
+     
+% --- Executes during object creation, after setting all properties.
+function plotsmoothLn_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to plotsmoothLn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in deleteline.
+function deleteline_Callback(hObject, eventdata, handles)
+% hObject    handle to deleteline (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%get the value of str to delete 'horizontal' or 'vertical' line
+str= getappdata(handles.popupmenu1,'str');
+
+% get the value of delete line
+deleteLnstr= getappdata(handles.deleteLn,'str');
+
+% plot the radia map after smooth
+DeleteLineRadiaMap(handles.PathName,handles.FileName,handles.x,handles.Bx,handles.Bz,handles.Lu,...
+                   handles.forder,handles.funit,deleteLnstr,str);
+
+
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+            contents = get(hObject,'String');
+            val = get(hObject,'Value');
+ % Set current data to the selected data set.
+             setappdata(hObject,'str',contents{val}); 
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function deleteLn_Callback(hObject, eventdata, handles)
+% hObject    handle to deleteLn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deleteLn as text
+%        str2double(get(hObject,'String')) returns contents of deleteLn as a double
+
+ contents = get(hObject,'String');
+            val = get(hObject,'Value');
+ % Set current data to the selected data set.
+             setappdata(hObject,'str',contents{val}); 
+     
+
+% --- Executes during object creation, after setting all properties.
+function deleteLn_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deleteLn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/ReadRadiaMap.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/ReadRadiaMap.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/ReadRadiaMap.m	(revision 17)
@@ -0,0 +1,52 @@
+function [x Bx,Bz,Px,Pz,Lu] =  ReadRadiaMap(FileName)
+
+% plot the wiggler field map from radiamap.
+
+%FileName = 'w150g11pole20_fin.dat';
+%FileName = 'w150g11pole20_fin.dat_interpolation';
+
+
+fid = fopen(FileName);
+
+
+
+%% read field map
+fopen(fid);
+%read the undulator length, number of horizontal and vertical points
+par = textscan(fid,'%f',1,'CommentStyle','#');
+Lu = par{1};% undulator length [m]
+par = textscan(fid,'%d',2,'CommentStyle','#');
+Px  = par{1}(1);  % horizontal points
+Pz  = par{1}(2);  % vertical points
+Bx  = zeros(Pz,Px+1);
+Bz  = zeros(Pz,Px+1);
+
+
+%read the 'start' string;
+start = textscan(fid,'%s',1,'CommentStyle','#');
+
+
+% read the first line,the horizontal coordinates when the fields are measured 
+%the number of  points data in this line is only 'Px'
+L = textscan(fid,'%f',Px,'CommentStyle','#');     
+x = L{:};
+
+%%read horiztonal field map    
+for i=1:Pz
+     L = textscan(fid,'%f',Px+1,'CommentStyle','#'); % read the field strength line
+    Bz(i,:) = L{:};  % assign each line values to array Bx 
+end
+
+%read start line
+start = textscan(fid,'%s',1,'CommentStyle','#');
+% skip the horizontal coordinates for the vertical field map
+% since it is read before. 
+L = textscan(fid,'%f',Px,'CommentStyle','#'); 
+  
+%read vertical field map
+for i=1:Pz
+     L = textscan(fid,'%f',Px+1,'CommentStyle','#'); % read the field strength line
+    Bx(i,:) = L{:};  % assign each line values to array Bx 
+end
+
+fclose(fid);
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/SmoothRadiaMap.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/SmoothRadiaMap.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/SmoothRadiaMap.m	(revision 17)
@@ -0,0 +1,80 @@
+function [sx,sBx,sBz] = SmoothRadiaMap(PathName,FileName,x,Bx,Bz,Px,Pz,Lu,forder,funit)
+
+% smooth the Radia Map of interstion device, to make the data more smooth,
+% then can 
+
+%% smooth the data and do spline interpolation
+
+f = 5;
+xn = (x(end)-x(1))/double((Px-1))/f;
+sx = x(1):xn:x(end);
+% smooth the Bx & By
+for i = 1:Pz
+sBx(i,:) = pchip(x,Bx(i,2:end),sx);
+sBz(i,:) = pchip(x,Bz(i,2:end),sx);
+end
+
+% the new horizontal and vertical points
+[sPz sPx] =  size(sBx);
+
+%find the extension of the file
+exid = strfind(FileName,'.');
+extension = FileName(exid:end);
+%find the main file name
+savefilename = [PathName,FileName(1:exid-1)];
+
+%%  save the data after interpolation 
+fid =fopen([savefilename,'_interpolation',extension],'wt');
+%save the headlines
+fprintf(fid,'%s\n','# Author:  User');
+fprintf(fid,'%s\n',['# ',FileName,' (after smooth)']);
+fprintf(fid,'%s\n','# Undulator Length [m]');
+fprintf(fid,'%-10.4f\n',Lu);
+fprintf(fid,'%s\n','# Number of Horizontal Points');
+fprintf(fid,'%d\n',sPx);
+fprintf(fid,'%s\n','# Number of Vertical Points');
+fprintf(fid,'%d\n',sPz);
+
+
+
+%save the interploted horizontal kick
+fprintf(fid,'%s\n',['# Horizontal ',forder,' Order Kick ',funit]);
+fprintf(fid,'%s\n               ','START');
+fprintf(fid,'% 10.5e   ',sx); %the first element is non exit
+fprintf(fid,'\n');
+for i=1:Pz
+    fprintf(fid,'% 10.5e   ',[Bz(i,1),sBz(i,:)]);
+fprintf(fid,'\n');
+end
+
+%save the interploted vertical kick
+fprintf(fid,'%s\n',['# Vertical ',forder,' Order Kick ',funit]);
+fprintf(fid,'%s\n               ','START');
+fprintf(fid,'% 10.5e   ',sx); %the first element is non exit
+fprintf(fid,'\n');
+for i=1:Pz
+    fprintf(fid,'% 10.5e   ',[Bx(i,1),sBx(i,:)]);
+    fprintf(fid,'\n');
+end
+
+fclose(fid);
+
+
+% %% plot the data before and after interpolation
+%  figure(1);
+%  plot(x,Bz(:,2:end),'b-');
+%  hold on;
+%  plot(sx,sBz,'r-');
+%  xlabel('x[m]');
+%  ylabel([forder, ' horizontal kick ',funit]);
+%  legend('before smooth','after smooth');
+%  title(['spline interpolation, data is amplified by ', num2str(f)]);
+%  
+%   figure(2);
+%  plot(x,Bx(:,2:end),'b-');
+%  hold on;
+%  plot(sx,sBx,'r-');
+%  xlabel('x[m]');
+%  ylabel([forder, ' vertical kick ',funit]);
+%  legend('before smooth','after smooth');
+%  title(['spline interpolation, data is amplified by ', num2str(f)]);
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/example_1Dmap.dat
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/example_1Dmap.dat	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/example_1Dmap.dat	(revision 17)
@@ -0,0 +1,162 @@
+x(mm)	IX (G.m)	IZ (G.m)  z(mm)
+-80	0.416507	0.420314       1
+-79	0.403851	0.424463       1
+-78	0.398519	0.4321         0
+-77	0.390415	0.437999       3 
+-76	0.37476	0.440211           4 
+-75	0.361757	0.443953
+-74	0.343031	0.449225
+-73	0.334348	0.455082
+-72	0.312354	0.45463
+-71	0.287218	0.455247
+-70	0.265116	0.457562
+-69	0.238319	0.460312
+-68	0.217222	0.462226
+-67	0.180609	0.460585
+-66	0.142013	0.45901
+-65	0.0986133	0.455864
+-64	0.0621142	0.452957
+-63	0.0222993	0.446549
+-62	-0.0334905	0.43612
+-61	-0.0880019	0.426205
+-60	-0.148965	0.419929
+-59	-0.19755	0.409339
+-58	-0.264267	0.400123
+-57	-0.333535	0.382896
+-56	-0.40601	0.375066
+-55	-0.480434	0.362791
+-54	-0.549558	0.349387
+-53	-0.634663	0.333217
+-52	-0.72091	0.319748
+-51	-0.804163	0.310944
+-50	-0.875629	0.299918
+-49	-0.951582	0.291079
+-48	-1.0213	0.282693
+-47	-1.08212	0.279338
+-46	-1.12742	0.278253
+-45	-1.14726	0.27994
+-44	-1.14511	0.27481
+-43	-1.12588	0.262141
+-42	-1.06666	0.242016
+-41	-0.978452	0.211019
+-40	-0.865638	0.157122
+-39	-0.724268	0.0812165
+-38	-0.597904	-0.0235921
+-37	-0.435427	-0.142637
+-36	-0.303066	-0.272059
+-35	-0.156509	-0.408895
+-34	-0.0663198	-0.558379
+-33	0.000427032	-0.704021
+-32	0.00397283	-0.835994
+-31	-0.0882836	-0.941627
+-30	-0.296362	-1.00386
+-29	-0.614174	-1.00771
+-28	-0.897371	-0.920352
+-27	-0.982076	-0.752811
+-26	-0.786185	-0.549567
+-25	-0.410046	-0.3624
+-24	-0.0375284	-0.240417
+-23	0.229689	-0.198482
+-22	0.375289	-0.212501
+-21	0.385143	-0.265723
+-20	0.30088	-0.334083
+-19	0.157055	-0.385531
+-18	0.021599	-0.40001
+-17	-0.0888966	-0.372222
+-16	-0.133401	-0.314455
+-15	-0.126546	-0.240439
+-14	-0.0554016	-0.158023
+-13	0.0651788	-0.0776204
+-12	0.235441	-0.00119659
+-11	0.460701	0.0618988
+-10	0.733211	0.100871
+-9	1.01498	0.105987
+-8	1.22106	0.0650539
+-7	1.28708	-0.0137431
+-6	1.14352	-0.129777
+-5	0.862801	-0.255328
+-4	0.525076	-0.36534
+-3	0.289147	-0.441574
+-2	0.285315	-0.493972
+-1	0.485914	-0.539026
+0	0.802453	-0.568656
+1	1.02986	-0.616358
+2	1.04585	-0.672184
+3	0.796584	-0.757804
+4	0.32545	-0.845395
+5	-0.203042	-0.891459
+6	-0.686513	-0.879491
+7	-1.02491	-0.814878
+8	-1.18947	-0.704348
+9	-1.17234	-0.563887
+10	-1.00842	-0.408753
+11	-0.760989	-0.261458
+12	-0.461559	-0.132515
+13	-0.193344	-0.0418428
+14	0.0602634	0.0263068
+15	0.224933	0.0622497
+16	0.285001	0.0715596
+17	0.196222	0.0683478
+18	-0.00579279	0.0708412
+19	-0.288811	0.112549
+20	-0.61381	0.180735
+21	-0.915181	0.288606
+22	-1.12633	0.417704
+23	-1.14284	0.561648
+24	-0.917902	0.668744
+25	-0.446116	0.689315
+26	0.106912	0.560006
+27	0.547948	0.277836
+28	0.775251	-0.112066
+29	0.828275	-0.565873
+30	0.874453	-1.02556
+31	0.947389	-1.48584
+32	1.09944	-1.91281
+33	1.28074	-2.31597
+34	1.47715	-2.70438
+35	1.64411	-3.08781
+36	1.81252	-3.44368
+37	1.97544	-3.72863
+38	2.13313	-3.9606
+39	2.25431	-4.14667
+40	2.33631	-4.30393
+41	2.36417	-4.39205
+42	2.32756	-4.39696
+43	2.18575	-4.35453
+44	1.9428	-4.27829
+45	1.61713	-4.15517
+46	1.25152	-3.95386
+47	0.86726	-3.6954
+48	0.510412	-3.42316
+49	0.204823	-3.14143
+50	-0.0203707	-2.84115
+51	-0.173086	-2.52573
+52	-0.264763	-2.22771
+53	-0.317637	-1.96772
+54	-0.327408	-1.72341
+55	-0.30383	-1.48601
+56	-0.268119	-1.25955
+57	-0.223549	-1.0703
+58	-0.183763	-0.90182
+59	-0.13338	-0.740689
+60	-0.080081	-0.588984
+61	-0.036048	-0.460131
+62	0.00308014	-0.351118
+63	0.0386297	-0.249316
+64	0.0722318	-0.153835
+65	0.099537	-0.0685694
+66	0.11907	-3.75E-05
+67	0.133883	0.0590314
+68	0.152472	0.118566
+69	0.170625	0.17411
+70	0.186746	0.214779
+71	0.196123	0.249258
+72	0.203349	0.284185
+73	0.212236	0.316281
+74	0.216218	0.340167
+75	0.222512	0.358839
+76	0.228196	0.374828
+77	0.236916	0.394402
+78	0.236949	0.407051
+79	0.238619	0.415232
+80	0.235426	0.422128
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/w150g11pole20_fin.dat
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/w150g11pole20_fin.dat	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/w150g11pole20_fin.dat	(revision 17)
@@ -0,0 +1,57 @@
+# Author : Radia User
+# W150_G11_P20
+# Undulator Length [m]
+3
+# Number of Horizontal Points
+101
+# Number of Vertical Points
+21
+# Horizontal 2nd Order Kick [T2m2]
+START
+               -5.00000e-002 -4.90000e-002 -4.80000e-002 -4.70000e-002 -4.60000e-002 -4.50000e-002 -4.40000e-002 -4.30000e-002 -4.20000e-002 -4.10000e-002 -4.00000e-002 -3.90000e-002 -3.80000e-002 -3.70000e-002 -3.60000e-002 -3.50000e-002 -3.40000e-002 -3.30000e-002 -3.20000e-002 -3.10000e-002 -3.00000e-002 -2.90000e-002 -2.80000e-002 -2.70000e-002 -2.60000e-002 -2.50000e-002 -2.40000e-002 -2.30000e-002 -2.20000e-002 -2.10000e-002 -2.00000e-002 -1.90000e-002 -1.80000e-002 -1.70000e-002 -1.60000e-002 -1.50000e-002 -1.40000e-002 -1.30000e-002 -1.20000e-002 -1.10000e-002 -1.00000e-002 -9.00000e-003 -8.00000e-003 -7.00000e-003 -6.00000e-003 -5.00000e-003 -4.00000e-003 -3.00000e-003 -2.00000e-003 -1.00000e-003  0.00000e+000  1.00000e-003  2.00000e-003  3.00000e-003  4.00000e-003  5.00000e-003  6.00000e-003  7.00000e-003  8.00000e-003  9.00000e-003  1.00000e-002  1.10000e-002  1.20000e-002  1.30000e-002  1.40000e-002  1.50000e-002  1.60000e-002  1.70000e-002  1.80000e-002  1.90000e-002  2.00000e-002  2.10000e-002  2.20000e-002  2.30000e-002  2.40000e-002  2.50000e-002  2.60000e-002  2.70000e-002  2.80000e-002  2.90000e-002  3.00000e-002  3.10000e-002  3.20000e-002  3.30000e-002  3.40000e-002  3.50000e-002  3.60000e-002  3.70000e-002  3.80000e-002  3.90000e-002  4.00000e-002  4.10000e-002  4.20000e-002  4.30000e-002  4.40000e-002  4.50000e-002  4.60000e-002  4.70000e-002  4.80000e-002  4.90000e-002  5.00000e-002
+  5.00000e-003 -4.50331e-004 -7.67641e-004 -1.49905e-003 -3.58998e-003 -1.19842e-002 -3.26894e-002 -3.73472e-003 -5.99071e-003 -8.71145e-003 -1.09634e-002 -1.28244e-002 -1.43731e-002 -1.56645e-002 -1.67426e-002 -1.76486e-002 -1.84226e-002 -1.91030e-002 -1.97283e-002 -2.03346e-002 -2.09575e-002 -2.16324e-002 -2.23959e-002 -2.32860e-002 -2.43448e-002 -2.56192e-002 -2.71666e-002 -2.90544e-002 -3.13695e-002 -3.42208e-002 -3.77582e-002 -4.21830e-002 -4.77870e-002 -5.50115e-002 -6.45566e-002 -7.76306e-002 -9.64788e-002 -1.25738e-001 -1.76293e-001 -2.78750e-001 -5.48364e-001 -6.54410e-001  1.29087e-001  4.48325e-002  3.51226e-002  3.59774e-003  6.72210e-003 -4.58321e-003 -3.61141e-004 -3.45796e-003 -6.60798e-004  0.00000e+000  6.60798e-004  3.45796e-003  3.61141e-004  4.58321e-003 -6.72210e-003 -3.59774e-003 -3.51226e-002 -4.48325e-002 -1.29088e-001  6.54410e-001  5.48363e-001  2.78750e-001  1.76293e-001  1.25738e-001  9.64787e-002  7.76306e-002  6.45566e-002  5.50115e-002  4.77870e-002  4.21830e-002  3.77582e-002  3.42208e-002  3.13695e-002  2.90544e-002  2.71666e-002  2.56192e-002  2.43444e-002  2.32860e-002  2.23959e-002  2.16324e-002  2.09575e-002  2.03346e-002  1.97283e-002  1.91030e-002  1.84226e-002  1.76486e-002  1.67426e-002  1.56645e-002  1.43731e-002  1.28244e-002  1.09633e-002  8.71145e-003  5.99064e-003  3.73473e-003  3.26894e-002  1.19842e-002  3.58998e-003  1.49905e-003  7.67642e-004  4.50331e-004
+  4.50000e-003 -3.85559e-004 -6.35951e-004 -1.19528e-003 -2.68682e-003 -7.22392e-003 -1.38388e-002 -9.35325e-003 -8.87773e-003 -1.03243e-002 -1.20270e-002 -1.36266e-002 -1.50371e-002 -1.62457e-002 -1.72678e-002 -1.81315e-002 -1.88711e-002 -1.95242e-002 -2.01274e-002 -2.07178e-002 -2.13319e-002 -2.20054e-002 -2.27756e-002 -2.36820e-002 -2.47692e-002 -2.60866e-002 -2.76939e-002 -2.96641e-002 -3.20875e-002 -3.50829e-002 -3.88079e-002 -4.34799e-002 -4.94072e-002 -5.70515e-002 -6.71429e-002 -8.09025e-002 -1.00544e-001 -1.30392e-001 -1.79652e-001 -2.68902e-001 -4.28258e-001 -3.91752e-001 -4.65520e-002 -1.88994e-003  2.17638e-003 -4.74691e-003 -5.10114e-003 -6.78827e-003 -5.22187e-003 -4.14481e-003 -2.00854e-003  0.00000e+000  2.00854e-003  4.14481e-003  5.22187e-003  6.78827e-003  5.10114e-003  4.74691e-003 -2.17639e-003  1.88997e-003  4.65520e-002  3.91750e-001  4.28258e-001  2.68902e-001  1.79652e-001  1.30392e-001  1.00544e-001  8.09025e-002  6.71429e-002  5.70515e-002  4.94072e-002  4.34799e-002  3.88079e-002  3.50829e-002  3.20875e-002  2.96641e-002  2.76935e-002  2.60866e-002  2.47692e-002  2.36820e-002  2.27756e-002  2.20054e-002  2.13319e-002  2.07178e-002  2.01274e-002  1.95241e-002  1.88711e-002  1.81315e-002  1.72678e-002  1.62457e-002  1.50371e-002  1.36266e-002  1.20270e-002  1.03243e-002  8.87773e-003  9.35325e-003  1.38388e-002  7.22392e-003  2.68682e-003  1.19528e-003  6.35950e-004  3.85559e-004
+  4.00000e-003 -3.25347e-004 -5.13484e-004 -9.16810e-004 -1.91402e-003 -4.40240e-003 -7.99450e-003 -8.94670e-003 -9.60919e-003 -1.09820e-002 -1.25725e-002 -1.41080e-002 -1.54831e-002 -1.66683e-002 -1.76706e-002 -1.85150e-002 -1.92361e-002 -1.98717e-002 -2.04603e-002 -2.10397e-002 -2.16472e-002 -2.23208e-002 -2.30983e-002 -2.40211e-002 -2.51346e-002 -2.64909e-002 -2.81532e-002 -3.01965e-002 -3.27199e-002 -3.58438e-002 -3.97367e-002 -4.46253e-002 -5.08263e-002 -5.88109e-002 -6.93016e-002 -8.34678e-002 -1.03317e-001 -1.32451e-001 -1.77377e-001 -2.47607e-001 -3.33417e-001 -2.95790e-001 -1.20334e-001 -4.65044e-002 -2.47987e-002 -1.85786e-002 -1.47542e-002 -1.20224e-002 -9.01307e-003 -6.07529e-003 -3.03663e-003  0.00000e+000  3.03663e-003  6.07529e-003  9.01307e-003  1.20224e-002  1.47542e-002  1.85786e-002  2.47987e-002  4.65044e-002  1.20334e-001  2.95790e-001  3.33417e-001  2.47607e-001  1.77377e-001  1.32451e-001  1.03317e-001  8.34672e-002  6.93016e-002  5.88109e-002  5.08263e-002  4.46253e-002  3.97367e-002  3.58438e-002  3.27199e-002  3.01965e-002  2.81532e-002  2.64909e-002  2.51346e-002  2.40211e-002  2.30985e-002  2.23208e-002  2.16472e-002  2.10397e-002  2.04603e-002  1.98717e-002  1.92361e-002  1.85150e-002  1.76705e-002  1.66684e-002  1.54832e-002  1.41080e-002  1.25725e-002  1.09820e-002  9.60918e-003  8.94669e-003  7.99450e-003  4.40240e-003  1.91402e-003  9.16811e-004  5.13484e-004  3.25347e-004
+  3.50000e-003 -2.71691e-004 -4.06158e-004 -6.83591e-004 -1.33900e-003 -2.85073e-003 -5.30368e-003 -7.47923e-003 -9.22315e-003 -1.09760e-002 -1.27151e-002 -1.43274e-002 -1.57476e-002 -1.69572e-002 -1.79692e-002 -1.88138e-002 -1.95291e-002 -2.01560e-002 -2.07359e-002 -2.13086e-002 -2.19128e-002 -2.25873e-002 -2.33725e-002 -2.43098e-002 -2.54469e-002 -2.68388e-002 -2.85495e-002 -3.06600e-002 -3.32694e-002 -3.65079e-002 -4.05479e-002 -4.56204e-002 -5.20490e-002 -6.02953e-002 -7.10508e-002 -8.53755e-002 -1.04962e-001 -1.32495e-001 -1.71740e-001 -2.24519e-001 -2.72062e-001 -2.45238e-001 -1.45540e-001 -7.74612e-002 -4.64288e-002 -3.19566e-002 -2.34728e-002 -1.74697e-002 -1.25078e-002 -8.09437e-003 -3.98347e-003  0.00000e+000  3.98347e-003  8.09437e-003  1.25078e-002  1.74697e-002  2.34728e-002  3.19566e-002  4.64288e-002  7.74612e-002  1.45540e-001  2.45238e-001  2.72062e-001  2.24519e-001  1.71740e-001  1.32495e-001  1.04962e-001  8.53755e-002  7.10508e-002  6.02953e-002  5.20490e-002  4.56204e-002  4.05479e-002  3.65079e-002  3.32694e-002  3.06600e-002  2.85495e-002  2.68388e-002  2.54469e-002  2.43096e-002  2.33725e-002  2.25873e-002  2.19128e-002  2.13086e-002  2.07359e-002  2.01560e-002  1.95291e-002  1.88138e-002  1.79692e-002  1.69572e-002  1.57476e-002  1.43275e-002  1.27151e-002  1.09760e-002  9.22315e-003  7.47923e-003  5.30368e-003  2.85073e-003  1.33900e-003  6.83591e-004  4.06158e-004  2.71691e-004
+  3.00000e-003 -2.25723e-004 -3.16664e-004 -5.00255e-004 -9.37374e-004 -1.95914e-003 -3.82623e-003 -6.15778e-003 -8.45106e-003 -1.06056e-002 -1.25909e-002 -1.43568e-002 -1.58729e-002 -1.71403e-002 -1.81840e-002 -1.90429e-002 -1.97620e-002 -2.03873e-002 -2.09633e-002 -2.15319e-002 -2.21349e-002 -2.28113e-002 -2.36034e-002 -2.45542e-002 -2.57129e-002 -2.71353e-002 -2.88894e-002 -3.10573e-002 -3.37425e-002 -3.70802e-002 -4.12445e-002 -4.64718e-002 -5.30808e-002 -6.15183e-002 -7.24231e-002 -8.67148e-002 -1.05723e-001 -1.31218e-001 -1.64782e-001 -2.04214e-001 -2.32491e-001 -2.14177e-001 -1.52121e-001 -9.65166e-002 -6.28812e-002 -4.35102e-002 -3.12558e-002 -2.25578e-002 -1.57526e-002 -1.00117e-002 -4.87263e-003  0.00000e+000  4.87263e-003  1.00117e-002  1.57526e-002  2.25578e-002  3.12558e-002  4.35102e-002  6.28812e-002  9.65166e-002  1.52121e-001  2.14177e-001  2.32489e-001  2.04214e-001  1.64782e-001  1.31218e-001  1.05724e-001  8.67148e-002  7.24231e-002  6.15183e-002  5.30808e-002  4.64718e-002  4.12445e-002  3.70802e-002  3.37429e-002  3.10573e-002  2.88894e-002  2.71353e-002  2.57129e-002  2.45542e-002  2.36035e-002  2.28111e-002  2.21349e-002  2.15319e-002  2.09633e-002  2.03873e-002  1.97620e-002  1.90429e-002  1.81840e-002  1.71403e-002  1.58729e-002  1.43568e-002  1.25909e-002  1.06056e-002  8.45106e-003  6.15778e-003  3.82623e-003  1.95914e-003  9.37374e-004  5.00255e-004  3.16665e-004  2.25723e-004
+  2.50000e-003 -1.87816e-004 -2.45152e-004 -3.62275e-004 -6.63474e-004 -1.41839e-003 -2.93405e-003 -5.15337e-003 -7.65195e-003 -1.00943e-002 -1.23227e-002 -1.42655e-002 -1.59011e-002 -1.72442e-002 -1.83324e-002 -1.92150e-002 -1.99448e-002 -2.05729e-002 -2.11482e-002 -2.17154e-002 -2.23180e-002 -2.29970e-002 -2.37954e-002 -2.47582e-002 -2.59352e-002 -2.73844e-002 -2.91749e-002 -3.13920e-002 -3.41417e-002 -3.75620e-002 -4.18304e-002 -4.71807e-002 -5.39311e-002 -6.25000e-002 -7.34669e-002 -8.75979e-002 -1.05869e-001 -1.29267e-001 -1.57881e-001 -1.87928e-001 -2.06265e-001 -1.93607e-001 -1.51944e-001 -1.07548e-001 -7.47813e-002 -5.28801e-002 -3.79172e-002 -2.70639e-002 -1.86628e-002 -1.17424e-002 -5.67480e-003  0.00000e+000  5.67480e-003  1.17424e-002  1.86628e-002  2.70639e-002  3.79172e-002  5.28801e-002  7.47813e-002  1.07548e-001  1.51944e-001  1.93607e-001  2.06265e-001  1.87928e-001  1.57881e-001  1.29268e-001  1.05869e-001  8.75980e-002  7.34669e-002  6.25000e-002  5.39311e-002  4.71807e-002  4.18304e-002  3.75620e-002  3.41417e-002  3.13920e-002  2.91749e-002  2.73844e-002  2.59352e-002  2.47582e-002  2.37957e-002  2.29970e-002  2.23180e-002  2.17156e-002  2.11482e-002  2.05729e-002  1.99448e-002  1.92150e-002  1.83324e-002  1.72442e-002  1.59011e-002  1.42655e-002  1.23227e-002  1.00943e-002  7.65195e-003  5.15337e-003  2.93405e-003  1.41840e-003  6.63474e-004  3.62275e-004  2.45152e-004  1.87816e-004
+  2.00000e-003 -1.57810e-004 -1.90284e-004 -2.61934e-004 -4.78662e-004 -1.07771e-003 -2.36747e-003 -4.42947e-003 -6.96639e-003 -9.58072e-003 -1.20057e-002 -1.41140e-002 -1.58702e-002 -1.72932e-002 -1.84304e-002 -1.93403e-002 -2.00841e-002 -2.07179e-002 -2.12946e-002 -2.18621e-002 -2.24654e-002 -2.31473e-002 -2.39510e-002 -2.49235e-002 -2.61156e-002 -2.75871e-002 -2.94079e-002 -3.16650e-002 -3.44678e-002 -3.79556e-002 -4.23067e-002 -4.77555e-002 -5.46082e-002 -6.32632e-002 -7.42333e-002 -8.81413e-002 -1.05649e-001 -1.27147e-001 -1.51823e-001 -1.75545e-001 -1.88564e-001 -1.79547e-001 -1.49635e-001 -1.13678e-001 -8.30456e-002 -6.01036e-002 -4.33457e-002 -3.08439e-002 -2.11450e-002 -1.32337e-002 -6.37350e-003  0.00000e+000  6.37350e-003  1.32337e-002  2.11450e-002  3.08439e-002  4.33457e-002  6.01036e-002  8.30456e-002  1.13678e-001  1.49635e-001  1.79547e-001  1.88564e-001  1.75545e-001  1.51823e-001  1.27147e-001  1.05649e-001  8.81413e-002  7.42333e-002  6.32632e-002  5.46082e-002  4.77555e-002  4.23067e-002  3.79556e-002  3.44678e-002  3.16650e-002  2.94079e-002  2.75871e-002  2.61156e-002  2.49235e-002  2.39510e-002  2.31473e-002  2.24654e-002  2.18621e-002  2.12946e-002  2.07179e-002  2.00841e-002  1.93404e-002  1.84304e-002  1.72932e-002  1.58702e-002  1.41140e-002  1.20057e-002  9.58073e-003  6.96638e-003  4.42947e-003  2.36747e-003  1.07771e-003  4.78663e-004  2.61934e-004  1.90284e-004  1.57811e-004
+  1.50000e-003 -1.35257e-004 -1.50171e-004 -1.91711e-004 -3.56066e-004 -8.60441e-004 -2.00236e-003 -3.92664e-003 -6.43623e-003 -9.14064e-003 -1.17068e-002 -1.39507e-002 -1.58124e-002 -1.73082e-002 -1.84914e-002 -1.94283e-002 -2.01860e-002 -2.08265e-002 -2.14059e-002 -2.19744e-002 -2.25783e-002 -2.32625e-002 -2.40713e-002 -2.50515e-002 -2.62556e-002 -2.77438e-002 -2.95884e-002 -3.18769e-002 -3.47209e-002 -3.82596e-002 -4.26751e-002 -4.81963e-002 -5.51230e-002 -6.38293e-002 -7.47708e-002 -8.84463e-002 -1.05273e-001 -1.25217e-001 -1.46971e-001 -1.66569e-001 -1.76658e-001 -1.69963e-001 -1.47025e-001 -1.16960e-001 -8.85471e-002 -6.53760e-002 -4.75100e-002 -3.38315e-002 -2.31356e-002 -1.44357e-002 -6.93181e-003  0.00000e+000  6.93181e-003  1.44357e-002  2.31356e-002  3.38315e-002  4.75100e-002  6.53760e-002  8.85471e-002  1.16960e-001  1.47025e-001  1.69963e-001  1.76658e-001  1.66569e-001  1.46970e-001  1.25217e-001  1.05273e-001  8.84463e-002  7.47708e-002  6.38293e-002  5.51230e-002  4.81963e-002  4.26751e-002  3.82596e-002  3.47209e-002  3.18769e-002  2.95884e-002  2.77438e-002  2.62556e-002  2.50515e-002  2.40713e-002  2.32625e-002  2.25783e-002  2.19744e-002  2.14059e-002  2.08265e-002  2.01860e-002  1.94283e-002  1.84914e-002  1.73082e-002  1.58124e-002  1.39507e-002  1.17069e-002  9.14065e-003  6.43623e-003  3.92663e-003  2.00236e-003  8.60441e-004  3.56066e-004  1.91711e-004  1.50171e-004  1.35257e-004
+  1.00000e-003 -1.19627e-004 -1.22977e-004 -1.45638e-004 -2.78474e-004 -7.25919e-004 -1.77425e-003 -3.59785e-003 -6.06561e-003 -8.81151e-003 -1.14689e-002 -1.38107e-002 -1.57531e-002 -1.73063e-002 -1.85266e-002 -1.94858e-002 -2.02555e-002 -2.09020e-002 -2.14838e-002 -2.20533e-002 -2.26585e-002 -2.33443e-002 -2.41566e-002 -2.51423e-002 -2.63555e-002 -2.78558e-002 -2.97173e-002 -3.20286e-002 -3.49013e-002 -3.84769e-002 -4.29366e-002 -4.85085e-002 -5.54847e-002 -6.42166e-002 -7.51205e-002 -8.85995e-002 -1.04897e-001 -1.23706e-001 -1.43478e-001 -1.60522e-001 -1.68998e-001 -1.63722e-001 -1.44880e-001 -1.18631e-001 -9.19947e-002 -6.89402e-002 -5.04435e-002 -3.59787e-002 -2.45843e-002 -1.53128e-002 -7.34689e-003  0.00000e+000  7.34689e-003  1.53128e-002  2.45843e-002  3.59787e-002  5.04435e-002  6.89402e-002  9.19947e-002  1.18631e-001  1.44880e-001  1.63724e-001  1.68998e-001  1.60522e-001  1.43478e-001  1.23706e-001  1.04897e-001  8.85995e-002  7.51205e-002  6.42166e-002  5.54847e-002  4.85085e-002  4.29366e-002  3.84769e-002  3.49013e-002  3.20286e-002  2.97173e-002  2.78558e-002  2.63555e-002  2.51423e-002  2.41566e-002  2.33443e-002  2.26585e-002  2.20533e-002  2.14838e-002  2.09020e-002  2.02555e-002  1.94858e-002  1.85266e-002  1.73063e-002  1.57531e-002  1.38107e-002  1.14690e-002  8.81151e-003  6.06561e-003  3.59785e-003  1.77425e-003  7.25921e-004  2.78474e-004  1.45638e-004  1.22977e-004  1.19627e-004
+  5.00000e-004 -1.10456e-004 -1.07262e-004 -1.19581e-004 -2.35543e-004 -6.52349e-004 -1.64869e-003 -3.41204e-003 -5.84773e-003 -8.60991e-003 -1.13175e-002 -1.37177e-002 -1.57103e-002 -1.73002e-002 -1.85444e-002 -1.95180e-002 -2.02957e-002 -2.09462e-002 -2.15300e-002 -2.21005e-002 -2.27064e-002 -2.33934e-002 -2.42075e-002 -2.51970e-002 -2.64150e-002 -2.79233e-002 -2.97948e-002 -3.21196e-002 -3.50099e-002 -3.86088e-002 -4.30944e-002 -4.86942e-002 -5.56974e-002 -6.44447e-002 -7.53168e-002 -8.86658e-002 -1.04628e-001 -1.22753e-001 -1.41382e-001 -1.57033e-001 -1.64701e-001 -1.60191e-001 -1.43511e-001 -1.19399e-001 -9.38803e-002 -7.09879e-002 -5.21759e-002 -3.72722e-002 -2.54682e-002 -1.58506e-002 -7.59758e-003  0.00000e+000  7.59758e-003  1.58506e-002  2.54682e-002  3.72722e-002  5.21759e-002  7.09879e-002  9.38803e-002  1.19399e-001  1.43511e-001  1.60191e-001  1.64701e-001  1.57033e-001  1.41382e-001  1.22753e-001  1.04628e-001  8.86658e-002  7.53168e-002  6.44447e-002  5.56974e-002  4.86942e-002  4.30944e-002  3.86088e-002  3.50099e-002  3.21196e-002  2.97948e-002  2.79233e-002  2.64150e-002  2.51970e-002  2.42075e-002  2.33934e-002  2.27064e-002  2.21005e-002  2.15300e-002  2.09462e-002  2.02957e-002  1.95180e-002  1.85444e-002  1.73002e-002  1.57103e-002  1.37177e-002  1.13175e-002  8.60991e-003  5.84774e-003  3.41204e-003  1.64869e-003  6.52350e-004  2.35544e-004  1.19581e-004  1.07262e-004  1.10456e-004
+  0.00000e+000 -1.07436e-004 -1.02126e-004 -1.11154e-004 -2.21803e-004 -6.28916e-004 -1.60857e-003 -3.35195e-003 -5.77596e-003 -8.54217e-003 -1.12657e-002 -1.36854e-002 -1.56949e-002 -1.72972e-002 -1.85499e-002 -1.95284e-002 -2.03091e-002 -2.09610e-002 -2.15455e-002 -2.21161e-002 -2.27223e-002 -2.34096e-002 -2.42247e-002 -2.52151e-002 -2.64352e-002 -2.79455e-002 -2.98205e-002 -3.21497e-002 -3.50464e-002 -3.86511e-002 -4.31463e-002 -4.87570e-002 -5.57678e-002 -6.45184e-002 -7.53799e-002 -8.86839e-002 -1.04533e-001 -1.22428e-001 -1.40683e-001 -1.55896e-001 -1.63316e-001 -1.59051e-001 -1.43048e-001 -1.19617e-001 -9.44757e-002 -7.16577e-002 -5.27475e-002 -3.76991e-002 -2.57593e-002 -1.60285e-002 -7.68442e-003  0.00000e+000  7.68442e-003  1.60285e-002  2.57593e-002  3.76991e-002  5.27475e-002  7.16577e-002  9.44757e-002  1.19617e-001  1.43048e-001  1.59051e-001  1.63316e-001  1.55896e-001  1.40683e-001  1.22428e-001  1.04533e-001  8.86839e-002  7.53799e-002  6.45184e-002  5.57678e-002  4.87570e-002  4.31463e-002  3.86511e-002  3.50464e-002  3.21497e-002  2.98205e-002  2.79455e-002  2.64352e-002  2.52151e-002  2.42247e-002  2.34096e-002  2.27223e-002  2.21161e-002  2.15455e-002  2.09610e-002  2.03091e-002  1.95283e-002  1.85499e-002  1.72972e-002  1.56949e-002  1.36854e-002  1.12657e-002  8.54218e-003  5.77596e-003  3.35195e-003  1.60857e-003  6.28915e-004  2.21803e-004  1.11154e-004  1.02126e-004  1.07435e-004
+ -5.00000e-004 -1.10456e-004 -1.07262e-004 -1.19581e-004 -2.35543e-004 -6.52349e-004 -1.64869e-003 -3.41204e-003 -5.84773e-003 -8.60991e-003 -1.13175e-002 -1.37177e-002 -1.57103e-002 -1.73002e-002 -1.85444e-002 -1.95180e-002 -2.02957e-002 -2.09462e-002 -2.15300e-002 -2.21005e-002 -2.27064e-002 -2.33934e-002 -2.42075e-002 -2.51970e-002 -2.64150e-002 -2.79233e-002 -2.97948e-002 -3.21196e-002 -3.50099e-002 -3.86088e-002 -4.30944e-002 -4.86942e-002 -5.56974e-002 -6.44447e-002 -7.53168e-002 -8.86658e-002 -1.04628e-001 -1.22753e-001 -1.41382e-001 -1.57033e-001 -1.64701e-001 -1.60191e-001 -1.43511e-001 -1.19399e-001 -9.38803e-002 -7.09879e-002 -5.21759e-002 -3.72722e-002 -2.54682e-002 -1.58506e-002 -7.59758e-003  0.00000e+000  7.59758e-003  1.58506e-002  2.54682e-002  3.72722e-002  5.21759e-002  7.09879e-002  9.38803e-002  1.19399e-001  1.43511e-001  1.60191e-001  1.64701e-001  1.57033e-001  1.41382e-001  1.22753e-001  1.04628e-001  8.86658e-002  7.53168e-002  6.44447e-002  5.56974e-002  4.86942e-002  4.30944e-002  3.86088e-002  3.50099e-002  3.21196e-002  2.97948e-002  2.79233e-002  2.64150e-002  2.51970e-002  2.42075e-002  2.33934e-002  2.27064e-002  2.21005e-002  2.15300e-002  2.09462e-002  2.02957e-002  1.95180e-002  1.85444e-002  1.73002e-002  1.57103e-002  1.37177e-002  1.13175e-002  8.60991e-003  5.84774e-003  3.41204e-003  1.64869e-003  6.52350e-004  2.35544e-004  1.19581e-004  1.07262e-004  1.10456e-004
+ -1.00000e-003 -1.19627e-004 -1.22977e-004 -1.45638e-004 -2.78474e-004 -7.25919e-004 -1.77425e-003 -3.59785e-003 -6.06561e-003 -8.81151e-003 -1.14689e-002 -1.38107e-002 -1.57531e-002 -1.73063e-002 -1.85266e-002 -1.94858e-002 -2.02555e-002 -2.09020e-002 -2.14838e-002 -2.20533e-002 -2.26585e-002 -2.33443e-002 -2.41566e-002 -2.51423e-002 -2.63555e-002 -2.78558e-002 -2.97173e-002 -3.20286e-002 -3.49013e-002 -3.84769e-002 -4.29366e-002 -4.85085e-002 -5.54847e-002 -6.42166e-002 -7.51205e-002 -8.85995e-002 -1.04897e-001 -1.23706e-001 -1.43478e-001 -1.60522e-001 -1.68998e-001 -1.63722e-001 -1.44880e-001 -1.18631e-001 -9.19947e-002 -6.89402e-002 -5.04435e-002 -3.59787e-002 -2.45843e-002 -1.53128e-002 -7.34689e-003  0.00000e+000  7.34689e-003  1.53128e-002  2.45843e-002  3.59787e-002  5.04435e-002  6.89402e-002  9.19947e-002  1.18631e-001  1.44880e-001  1.63724e-001  1.68998e-001  1.60522e-001  1.43478e-001  1.23706e-001  1.04897e-001  8.85995e-002  7.51205e-002  6.42166e-002  5.54847e-002  4.85085e-002  4.29366e-002  3.84769e-002  3.49013e-002  3.20286e-002  2.97173e-002  2.78558e-002  2.63555e-002  2.51423e-002  2.41566e-002  2.33443e-002  2.26585e-002  2.20533e-002  2.14838e-002  2.09020e-002  2.02555e-002  1.94858e-002  1.85266e-002  1.73063e-002  1.57531e-002  1.38107e-002  1.14690e-002  8.81151e-003  6.06561e-003  3.59785e-003  1.77426e-003  7.25921e-004  2.78474e-004  1.45638e-004  1.22977e-004  1.19627e-004
+ -1.50000e-003 -1.35257e-004 -1.50171e-004 -1.91711e-004 -3.56066e-004 -8.60441e-004 -2.00237e-003 -3.92664e-003 -6.43623e-003 -9.14064e-003 -1.17068e-002 -1.39507e-002 -1.58124e-002 -1.73082e-002 -1.84914e-002 -1.94283e-002 -2.01860e-002 -2.08265e-002 -2.14059e-002 -2.19744e-002 -2.25783e-002 -2.32625e-002 -2.40713e-002 -2.50515e-002 -2.62556e-002 -2.77438e-002 -2.95884e-002 -3.18769e-002 -3.47209e-002 -3.82596e-002 -4.26751e-002 -4.81963e-002 -5.51230e-002 -6.38293e-002 -7.47708e-002 -8.84463e-002 -1.05273e-001 -1.25217e-001 -1.46971e-001 -1.66569e-001 -1.76658e-001 -1.69963e-001 -1.47025e-001 -1.16960e-001 -8.85471e-002 -6.53760e-002 -4.75100e-002 -3.38315e-002 -2.31356e-002 -1.44357e-002 -6.93181e-003  0.00000e+000  6.93181e-003  1.44357e-002  2.31356e-002  3.38315e-002  4.75100e-002  6.53760e-002  8.85471e-002  1.16960e-001  1.47025e-001  1.69963e-001  1.76658e-001  1.66569e-001  1.46970e-001  1.25217e-001  1.05273e-001  8.84463e-002  7.47708e-002  6.38293e-002  5.51230e-002  4.81963e-002  4.26751e-002  3.82596e-002  3.47209e-002  3.18769e-002  2.95884e-002  2.77438e-002  2.62556e-002  2.50515e-002  2.40713e-002  2.32625e-002  2.25783e-002  2.19744e-002  2.14059e-002  2.08265e-002  2.01860e-002  1.94283e-002  1.84914e-002  1.73082e-002  1.58124e-002  1.39507e-002  1.17069e-002  9.14065e-003  6.43623e-003  3.92663e-003  2.00236e-003  8.60441e-004  3.56066e-004  1.91711e-004  1.50171e-004  1.35257e-004
+ -2.00000e-003 -1.57810e-004 -1.90284e-004 -2.61934e-004 -4.78661e-004 -1.07771e-003 -2.36747e-003 -4.42947e-003 -6.96639e-003 -9.58071e-003 -1.20057e-002 -1.41140e-002 -1.58701e-002 -1.72932e-002 -1.84304e-002 -1.93403e-002 -2.00841e-002 -2.07179e-002 -2.12946e-002 -2.18621e-002 -2.24654e-002 -2.31473e-002 -2.39510e-002 -2.49235e-002 -2.61156e-002 -2.75871e-002 -2.94079e-002 -3.16650e-002 -3.44678e-002 -3.79556e-002 -4.23067e-002 -4.77555e-002 -5.46082e-002 -6.32632e-002 -7.42333e-002 -8.81413e-002 -1.05649e-001 -1.27147e-001 -1.51823e-001 -1.75545e-001 -1.88564e-001 -1.79547e-001 -1.49635e-001 -1.13678e-001 -8.30456e-002 -6.01036e-002 -4.33457e-002 -3.08439e-002 -2.11450e-002 -1.32337e-002 -6.37350e-003  0.00000e+000  6.37350e-003  1.32337e-002  2.11450e-002  3.08439e-002  4.33457e-002  6.01036e-002  8.30456e-002  1.13678e-001  1.49635e-001  1.79547e-001  1.88564e-001  1.75545e-001  1.51823e-001  1.27147e-001  1.05649e-001  8.81413e-002  7.42333e-002  6.32632e-002  5.46082e-002  4.77555e-002  4.23067e-002  3.79556e-002  3.44678e-002  3.16650e-002  2.94079e-002  2.75871e-002  2.61156e-002  2.49235e-002  2.39510e-002  2.31473e-002  2.24654e-002  2.18621e-002  2.12946e-002  2.07179e-002  2.00841e-002  1.93404e-002  1.84304e-002  1.72932e-002  1.58702e-002  1.41140e-002  1.20057e-002  9.58073e-003  6.96638e-003  4.42947e-003  2.36747e-003  1.07771e-003  4.78662e-004  2.61934e-004  1.90284e-004  1.57811e-004
+ -2.50000e-003 -1.87816e-004 -2.45152e-004 -3.62275e-004 -6.63475e-004 -1.41839e-003 -2.93405e-003 -5.15337e-003 -7.65195e-003 -1.00943e-002 -1.23227e-002 -1.42655e-002 -1.59011e-002 -1.72442e-002 -1.83324e-002 -1.92150e-002 -1.99448e-002 -2.05729e-002 -2.11482e-002 -2.17156e-002 -2.23180e-002 -2.29970e-002 -2.37954e-002 -2.47582e-002 -2.59352e-002 -2.73844e-002 -2.91749e-002 -3.13920e-002 -3.41417e-002 -3.75620e-002 -4.18304e-002 -4.71807e-002 -5.39311e-002 -6.25000e-002 -7.34669e-002 -8.75979e-002 -1.05869e-001 -1.29267e-001 -1.57881e-001 -1.87929e-001 -2.06265e-001 -1.93607e-001 -1.51946e-001 -1.07548e-001 -7.47813e-002 -5.28801e-002 -3.79172e-002 -2.70639e-002 -1.86628e-002 -1.17424e-002 -5.67480e-003  0.00000e+000  5.67480e-003  1.17424e-002  1.86628e-002  2.70639e-002  3.79172e-002  5.28801e-002  7.47813e-002  1.07548e-001  1.51944e-001  1.93607e-001  2.06265e-001  1.87929e-001  1.57881e-001  1.29268e-001  1.05869e-001  8.75979e-002  7.34669e-002  6.25000e-002  5.39311e-002  4.71807e-002  4.18304e-002  3.75620e-002  3.41417e-002  3.13920e-002  2.91749e-002  2.73844e-002  2.59352e-002  2.47582e-002  2.37957e-002  2.29970e-002  2.23180e-002  2.17156e-002  2.11482e-002  2.05729e-002  1.99448e-002  1.92150e-002  1.83324e-002  1.72442e-002  1.59011e-002  1.42655e-002  1.23227e-002  1.00943e-002  7.65194e-003  5.15337e-003  2.93405e-003  1.41840e-003  6.63474e-004  3.62275e-004  2.45152e-004  1.87816e-004
+ -3.00000e-003 -2.25724e-004 -3.16664e-004 -5.00255e-004 -9.37374e-004 -1.95914e-003 -3.82623e-003 -6.15778e-003 -8.45105e-003 -1.06056e-002 -1.25909e-002 -1.43568e-002 -1.58729e-002 -1.71403e-002 -1.81840e-002 -1.90429e-002 -1.97620e-002 -2.03873e-002 -2.09633e-002 -2.15319e-002 -2.21349e-002 -2.28113e-002 -2.36034e-002 -2.45542e-002 -2.57129e-002 -2.71353e-002 -2.88894e-002 -3.10573e-002 -3.37425e-002 -3.70802e-002 -4.12445e-002 -4.64718e-002 -5.30808e-002 -6.15183e-002 -7.24231e-002 -8.67149e-002 -1.05723e-001 -1.31218e-001 -1.64782e-001 -2.04214e-001 -2.32491e-001 -2.14177e-001 -1.52121e-001 -9.65166e-002 -6.28812e-002 -4.35102e-002 -3.12558e-002 -2.25578e-002 -1.57526e-002 -1.00117e-002 -4.87263e-003  0.00000e+000  4.87263e-003  1.00117e-002  1.57526e-002  2.25578e-002  3.12558e-002  4.35102e-002  6.28812e-002  9.65166e-002  1.52121e-001  2.14177e-001  2.32489e-001  2.04214e-001  1.64782e-001  1.31218e-001  1.05724e-001  8.67148e-002  7.24231e-002  6.15183e-002  5.30808e-002  4.64718e-002  4.12445e-002  3.70802e-002  3.37429e-002  3.10573e-002  2.88894e-002  2.71353e-002  2.57129e-002  2.45542e-002  2.36035e-002  2.28111e-002  2.21349e-002  2.15319e-002  2.09633e-002  2.03873e-002  1.97620e-002  1.90429e-002  1.81840e-002  1.71403e-002  1.58729e-002  1.43568e-002  1.25909e-002  1.06056e-002  8.45106e-003  6.15778e-003  3.82623e-003  1.95914e-003  9.37374e-004  5.00255e-004  3.16665e-004  2.25723e-004
+ -3.50000e-003 -2.71691e-004 -4.06158e-004 -6.83590e-004 -1.33900e-003 -2.85073e-003 -5.30368e-003 -7.47923e-003 -9.22315e-003 -1.09760e-002 -1.27151e-002 -1.43274e-002 -1.57475e-002 -1.69572e-002 -1.79692e-002 -1.88138e-002 -1.95291e-002 -2.01560e-002 -2.07359e-002 -2.13086e-002 -2.19128e-002 -2.25873e-002 -2.33725e-002 -2.43098e-002 -2.54469e-002 -2.68388e-002 -2.85495e-002 -3.06600e-002 -3.32694e-002 -3.65079e-002 -4.05479e-002 -4.56204e-002 -5.20490e-002 -6.02953e-002 -7.10508e-002 -8.53755e-002 -1.04962e-001 -1.32495e-001 -1.71740e-001 -2.24519e-001 -2.72063e-001 -2.45238e-001 -1.45540e-001 -7.74612e-002 -4.64288e-002 -3.19566e-002 -2.34728e-002 -1.74697e-002 -1.25078e-002 -8.09437e-003 -3.98347e-003  0.00000e+000  3.98347e-003  8.09437e-003  1.25078e-002  1.74697e-002  2.34728e-002  3.19566e-002  4.64288e-002  7.74612e-002  1.45540e-001  2.45238e-001  2.72063e-001  2.24519e-001  1.71740e-001  1.32495e-001  1.04962e-001  8.53755e-002  7.10508e-002  6.02953e-002  5.20490e-002  4.56204e-002  4.05479e-002  3.65079e-002  3.32694e-002  3.06600e-002  2.85495e-002  2.68388e-002  2.54469e-002  2.43096e-002  2.33725e-002  2.25873e-002  2.19128e-002  2.13086e-002  2.07359e-002  2.01560e-002  1.95291e-002  1.88138e-002  1.79692e-002  1.69572e-002  1.57476e-002  1.43275e-002  1.27151e-002  1.09760e-002  9.22315e-003  7.47923e-003  5.30368e-003  2.85073e-003  1.33900e-003  6.83591e-004  4.06158e-004  2.71691e-004
+ -4.00000e-003 -3.25347e-004 -5.13484e-004 -9.16810e-004 -1.91402e-003 -4.40240e-003 -7.99450e-003 -8.94670e-003 -9.60918e-003 -1.09820e-002 -1.25725e-002 -1.41080e-002 -1.54832e-002 -1.66683e-002 -1.76706e-002 -1.85150e-002 -1.92361e-002 -1.98717e-002 -2.04603e-002 -2.10397e-002 -2.16472e-002 -2.23208e-002 -2.30983e-002 -2.40211e-002 -2.51346e-002 -2.64909e-002 -2.81532e-002 -3.01965e-002 -3.27199e-002 -3.58438e-002 -3.97367e-002 -4.46253e-002 -5.08263e-002 -5.88109e-002 -6.93016e-002 -8.34678e-002 -1.03317e-001 -1.32451e-001 -1.77377e-001 -2.47607e-001 -3.33417e-001 -2.95790e-001 -1.20334e-001 -4.65044e-002 -2.47987e-002 -1.85786e-002 -1.47542e-002 -1.20224e-002 -9.01307e-003 -6.07529e-003 -3.03663e-003  0.00000e+000  3.03663e-003  6.07529e-003  9.01307e-003  1.20224e-002  1.47542e-002  1.85786e-002  2.47987e-002  4.65044e-002  1.20334e-001  2.95790e-001  3.33417e-001  2.47607e-001  1.77377e-001  1.32451e-001  1.03317e-001  8.34672e-002  6.93016e-002  5.88109e-002  5.08263e-002  4.46253e-002  3.97367e-002  3.58438e-002  3.27199e-002  3.01965e-002  2.81532e-002  2.64909e-002  2.51346e-002  2.40211e-002  2.30985e-002  2.23208e-002  2.16472e-002  2.10397e-002  2.04603e-002  1.98717e-002  1.92361e-002  1.85150e-002  1.76705e-002  1.66684e-002  1.54832e-002  1.41080e-002  1.25725e-002  1.09820e-002  9.60918e-003  8.94669e-003  7.99450e-003  4.40240e-003  1.91402e-003  9.16811e-004  5.13484e-004  3.25347e-004
+ -4.50000e-003 -3.85559e-004 -6.35951e-004 -1.19528e-003 -2.68682e-003 -7.22393e-003 -1.38388e-002 -9.35325e-003 -8.87773e-003 -1.03243e-002 -1.20270e-002 -1.36266e-002 -1.50371e-002 -1.62457e-002 -1.72678e-002 -1.81315e-002 -1.88714e-002 -1.95242e-002 -2.01274e-002 -2.07178e-002 -2.13319e-002 -2.20054e-002 -2.27756e-002 -2.36820e-002 -2.47692e-002 -2.60866e-002 -2.76939e-002 -2.96641e-002 -3.20875e-002 -3.50829e-002 -3.88079e-002 -4.34799e-002 -4.94072e-002 -5.70515e-002 -6.71429e-002 -8.09025e-002 -1.00544e-001 -1.30392e-001 -1.79652e-001 -2.68902e-001 -4.28258e-001 -3.91752e-001 -4.65520e-002 -1.88994e-003  2.17639e-003 -4.74691e-003 -5.10114e-003 -6.78827e-003 -5.22187e-003 -4.14481e-003 -2.00854e-003  0.00000e+000  2.00854e-003  4.14482e-003  5.22187e-003  6.78827e-003  5.10114e-003  4.74691e-003 -2.17639e-003  1.88997e-003  4.65520e-002  3.91750e-001  4.28258e-001  2.68902e-001  1.79652e-001  1.30392e-001  1.00544e-001  8.09025e-002  6.71429e-002  5.70515e-002  4.94072e-002  4.34799e-002  3.88079e-002  3.50829e-002  3.20875e-002  2.96641e-002  2.76935e-002  2.60866e-002  2.47692e-002  2.36820e-002  2.27756e-002  2.20054e-002  2.13319e-002  2.07178e-002  2.01274e-002  1.95242e-002  1.88710e-002  1.81315e-002  1.72678e-002  1.62457e-002  1.50371e-002  1.36266e-002  1.20270e-002  1.03243e-002  8.87773e-003  9.35325e-003  1.38388e-002  7.22392e-003  2.68682e-003  1.19528e-003  6.35950e-004  3.85559e-004
+ -5.00000e-003 -4.50331e-004 -7.67642e-004 -1.49905e-003 -3.58998e-003 -1.19842e-002 -3.26894e-002 -3.73473e-003 -5.99064e-003 -8.71145e-003 -1.09634e-002 -1.28244e-002 -1.43731e-002 -1.56645e-002 -1.67426e-002 -1.76486e-002 -1.84226e-002 -1.91030e-002 -1.97283e-002 -2.03346e-002 -2.09575e-002 -2.16324e-002 -2.23959e-002 -2.32860e-002 -2.43448e-002 -2.56192e-002 -2.71666e-002 -2.90544e-002 -3.13695e-002 -3.42208e-002 -3.77582e-002 -4.21830e-002 -4.77870e-002 -5.50115e-002 -6.45566e-002 -7.76306e-002 -9.64788e-002 -1.25738e-001 -1.76293e-001 -2.78750e-001 -5.48364e-001 -6.54410e-001  1.29087e-001  4.48325e-002  3.51226e-002  3.59774e-003  6.72210e-003 -4.58321e-003 -3.61130e-004 -3.45796e-003 -6.60798e-004  0.00000e+000  6.60798e-004  3.45796e-003  3.61130e-004  4.58321e-003 -6.72210e-003 -3.59774e-003 -3.51226e-002 -4.48325e-002 -1.29088e-001  6.54410e-001  5.48363e-001  2.78750e-001  1.76293e-001  1.25738e-001  9.64787e-002  7.76306e-002  6.45566e-002  5.50115e-002  4.77870e-002  4.21830e-002  3.77582e-002  3.42208e-002  3.13695e-002  2.90544e-002  2.71666e-002  2.56192e-002  2.43444e-002  2.32860e-002  2.23959e-002  2.16324e-002  2.09575e-002  2.03346e-002  1.97283e-002  1.91030e-002  1.84226e-002  1.76486e-002  1.67426e-002  1.56645e-002  1.43731e-002  1.28244e-002  1.09633e-002  8.71145e-003  5.99071e-003  3.73473e-003  3.26894e-002  1.19842e-002  3.58998e-003  1.49905e-003  7.67642e-004  4.50331e-004
+# Vertical 2nd Order Kick [T2m2]
+START
+               -5.00000e-002 -4.90000e-002 -4.80000e-002 -4.70000e-002 -4.60000e-002 -4.50000e-002 -4.40000e-002 -4.30000e-002 -4.20000e-002 -4.10000e-002 -4.00000e-002 -3.90000e-002 -3.80000e-002 -3.70000e-002 -3.60000e-002 -3.50000e-002 -3.40000e-002 -3.30000e-002 -3.20000e-002 -3.10000e-002 -3.00000e-002 -2.90000e-002 -2.80000e-002 -2.70000e-002 -2.60000e-002 -2.50000e-002 -2.40000e-002 -2.30000e-002 -2.20000e-002 -2.10000e-002 -2.00000e-002 -1.90000e-002 -1.80000e-002 -1.70000e-002 -1.60000e-002 -1.50000e-002 -1.40000e-002 -1.30000e-002 -1.20000e-002 -1.10000e-002 -1.00000e-002 -9.00000e-003 -8.00000e-003 -7.00000e-003 -6.00000e-003 -5.00000e-003 -4.00000e-003 -3.00000e-003 -2.00000e-003 -1.00000e-003  0.00000e+000  1.00000e-003  2.00000e-003  3.00000e-003  4.00000e-003  5.00000e-003  6.00000e-003  7.00000e-003  8.00000e-003  9.00000e-003  1.00000e-002  1.10000e-002  1.20000e-002  1.30000e-002  1.40000e-002  1.50000e-002  1.60000e-002  1.70000e-002  1.80000e-002  1.90000e-002  2.00000e-002  2.10000e-002  2.20000e-002  2.30000e-002  2.40000e-002  2.50000e-002  2.60000e-002  2.70000e-002  2.80000e-002  2.90000e-002  3.00000e-002  3.10000e-002  3.20000e-002  3.30000e-002  3.40000e-002  3.50000e-002  3.60000e-002  3.70000e-002  3.80000e-002  3.90000e-002  4.00000e-002  4.10000e-002  4.20000e-002  4.30000e-002  4.40000e-002  4.50000e-002  4.60000e-002  4.70000e-002  4.80000e-002  4.90000e-002  5.00000e-002
+  5.00000e-003 -2.48854e-004 -4.39030e-004 -8.48025e-004 -1.91350e-003 -6.49351e-003 -6.03126e-002 -4.55564e-002 -3.12444e-002 -2.52214e-002 -2.18450e-002 -1.95745e-002 -1.78434e-002 -1.64102e-002 -1.51621e-002 -1.40422e-002 -1.30179e-002 -1.20688e-002 -1.11784e-002 -1.03319e-002 -9.51505e-003 -8.71164e-003 -7.90469e-003 -7.07448e-003 -6.19766e-003 -5.24787e-003 -4.19246e-003 -2.98953e-003 -1.58898e-003  7.37978e-005  2.08328e-003  4.55011e-003  7.62046e-003  1.14900e-002  1.64277e-002  2.28019e-002  3.11017e-002  4.18737e-002  5.50358e-002  6.48753e-002  5.26228e-003 -1.04751e+000 -4.23974e-001 -1.45151e-001 -1.17931e-001 -2.36376e-002 -5.44420e-002  9.61366e-003 -3.01678e-002  2.09066e-002 -2.07270e-002  2.36782e-002 -2.07270e-002  2.09066e-002 -3.01678e-002  9.61366e-003 -5.44420e-002 -2.36376e-002 -1.17931e-001 -1.45151e-001 -4.23974e-001 -1.04751e+000  5.26228e-003  6.48753e-002  5.50358e-002  4.18737e-002  3.11017e-002  2.28019e-002  1.64277e-002  1.14900e-002  7.62046e-003  4.55011e-003  2.08328e-003  7.37978e-005 -1.58898e-003 -2.98953e-003 -4.19246e-003 -5.24787e-003 -6.19765e-003 -7.07448e-003 -7.90469e-003 -8.71164e-003 -9.51505e-003 -1.03319e-002 -1.11784e-002 -1.20688e-002 -1.30179e-002 -1.40422e-002 -1.51621e-002 -1.64102e-002 -1.78434e-002 -1.95744e-002 -2.18450e-002 -2.52214e-002 -3.12443e-002 -4.55564e-002 -6.03127e-002 -6.49352e-003 -1.91350e-003 -8.48025e-004 -4.39031e-004 -2.48854e-004
+  4.50000e-003 -2.31203e-004 -4.13085e-004 -8.08160e-004 -1.83558e-003 -5.61240e-003 -2.06246e-002 -2.67784e-002 -2.32743e-002 -2.05723e-002 -1.87200e-002 -1.73122e-002 -1.61351e-002 -1.50893e-002 -1.41305e-002 -1.32385e-002 -1.24030e-002 -1.16155e-002 -1.08688e-002 -1.01533e-002 -9.45922e-003 -8.77350e-003 -8.08162e-003 -7.36695e-003 -6.60783e-003 -5.78134e-003 -4.85670e-003 -3.79746e-003 -2.55789e-003 -1.07892e-003  7.13664e-004  2.91446e-003  5.64381e-003  9.04989e-003  1.33094e-002  1.85901e-002  2.49418e-002  3.18352e-002  3.62756e-002  2.38626e-002 -8.18295e-002 -4.52109e-001 -3.65270e-001 -1.93135e-001 -1.27023e-001 -7.51462e-002 -6.23235e-002 -3.77146e-002 -3.82871e-002 -2.36259e-002 -2.94050e-002 -1.98632e-002 -2.94050e-002 -2.36259e-002 -3.82871e-002 -3.77146e-002 -6.23235e-002 -7.51462e-002 -1.27023e-001 -1.93135e-001 -3.65271e-001 -4.52109e-001 -8.18311e-002  2.38626e-002  3.62755e-002  3.18352e-002  2.49424e-002  1.85901e-002  1.33094e-002  9.04989e-003  5.64381e-003  2.91446e-003  7.13664e-004 -1.07892e-003 -2.55789e-003 -3.79746e-003 -4.85670e-003 -5.78134e-003 -6.60783e-003 -7.36695e-003 -8.08162e-003 -8.77366e-003 -9.45922e-003 -1.01533e-002 -1.08688e-002 -1.16155e-002 -1.24030e-002 -1.32385e-002 -1.41305e-002 -1.50893e-002 -1.61351e-002 -1.73123e-002 -1.87199e-002 -2.05723e-002 -2.32743e-002 -2.67784e-002 -2.06246e-002 -5.61241e-003 -1.83558e-003 -8.08161e-004 -4.13085e-004 -2.31203e-004
+  4.00000e-003 -2.08588e-004 -3.73344e-004 -7.23706e-004 -1.57456e-003 -4.04558e-003 -1.03196e-002 -1.56518e-002 -1.66091e-002 -1.62418e-002 -1.56338e-002 -1.49702e-002 -1.42813e-002 -1.35803e-002 -1.28806e-002 -1.21939e-002 -1.15281e-002 -1.08872e-002 -1.02707e-002 -9.67471e-003 -9.09252e-003 -8.51489e-003 -7.92862e-003 -7.32012e-003 -6.67170e-003 -5.96082e-003 -5.16148e-003 -4.24068e-003 -3.15782e-003 -1.86222e-003 -2.87161e-004  1.64405e-003  4.02424e-003  6.95667e-003  1.05254e-002  1.47210e-002  1.92187e-002  2.26767e-002  2.04558e-002 -3.27141e-003 -9.65301e-002 -2.74187e-001 -2.79900e-001 -1.89460e-001 -1.30187e-001 -9.05863e-002 -7.01083e-002 -5.36888e-002 -4.66784e-002 -3.92622e-002 -3.80844e-002 -3.53675e-002 -3.80844e-002 -3.92622e-002 -4.66784e-002 -5.36888e-002 -7.01083e-002 -9.05863e-002 -1.30187e-001 -1.89460e-001 -2.79900e-001 -2.74187e-001 -9.65301e-002 -3.27141e-003  2.04558e-002  2.26767e-002  1.92187e-002  1.47210e-002  1.05254e-002  6.95667e-003  4.02424e-003  1.64405e-003 -2.87162e-004 -1.86222e-003 -3.15782e-003 -4.24068e-003 -5.16148e-003 -5.96082e-003 -6.67170e-003 -7.32012e-003 -7.92862e-003 -8.51489e-003 -9.09252e-003 -9.67486e-003 -1.02707e-002 -1.08872e-002 -1.15281e-002 -1.21939e-002 -1.28806e-002 -1.35803e-002 -1.42813e-002 -1.49702e-002 -1.56339e-002 -1.62418e-002 -1.66090e-002 -1.56518e-002 -1.03196e-002 -4.04558e-003 -1.57456e-003 -7.23705e-004 -3.73342e-004 -2.08588e-004
+  3.50000e-003 -1.82691e-004 -3.24970e-004 -6.15893e-004 -1.26140e-003 -2.80782e-003 -6.00410e-003 -9.59982e-003 -1.16643e-002 -1.25049e-002 -1.27256e-002 -1.26142e-002 -1.23069e-002 -1.18830e-002 -1.13948e-002 -1.08772e-002 -1.03530e-002 -9.83452e-003 -9.32761e-003 -8.83225e-003 -8.34507e-003 -7.85852e-003 -7.36313e-003 -6.84712e-003 -6.29479e-003 -5.68653e-003 -4.99966e-003 -4.20544e-003 -3.26825e-003 -2.14432e-003 -7.78747e-004  8.90375e-004  2.93307e-003  5.40845e-003  8.32194e-003  1.15268e-002  1.44323e-002  1.52492e-002  8.98396e-003 -1.73854e-002 -8.79447e-002 -1.88236e-001 -2.10840e-001 -1.67012e-001 -1.23357e-001 -9.16171e-002 -7.15253e-002 -5.76954e-002 -4.95303e-002 -4.38524e-002 -4.13532e-002 -4.00821e-002 -4.13532e-002 -4.38524e-002 -4.95303e-002 -5.76954e-002 -7.15253e-002 -9.16171e-002 -1.23357e-001 -1.67012e-001 -2.10840e-001 -1.88236e-001 -8.79447e-002 -1.73854e-002  8.98388e-003  1.52492e-002  1.44324e-002  1.15268e-002  8.32194e-003  5.40845e-003  2.93307e-003  8.90375e-004 -7.78746e-004 -2.14432e-003 -3.26825e-003 -4.20544e-003 -4.99966e-003 -5.68653e-003 -6.29479e-003 -6.84712e-003 -7.36313e-003 -7.85852e-003 -8.34507e-003 -8.83225e-003 -9.32761e-003 -9.83452e-003 -1.03530e-002 -1.08772e-002 -1.13948e-002 -1.18830e-002 -1.23069e-002 -1.26142e-002 -1.27257e-002 -1.25049e-002 -1.16643e-002 -9.59982e-003 -6.00410e-003 -2.80782e-003 -1.26140e-003 -6.15892e-004 -3.24970e-004 -1.82691e-004
+  3.00000e-003 -1.55146e-004 -2.72932e-004 -5.02893e-004 -9.70445e-004 -1.94754e-003 -3.77863e-003 -6.16362e-003 -8.17362e-003 -9.44917e-003 -1.01161e-002 -1.03595e-002 -1.03221e-002 -1.01065e-002 -9.78402e-003 -9.40362e-003 -8.99672e-003 -8.58211e-003 -8.16909e-003 -7.76090e-003 -7.35649e-003 -6.95081e-003 -6.53611e-003 -6.10208e-003 -5.63641e-003 -5.12182e-003 -4.53894e-003 -3.86433e-003 -3.06587e-003 -2.10704e-003 -9.44791e-004  4.71346e-004  2.18896e-003  4.22963e-003  6.54769e-003  8.89861e-003  1.05538e-002  9.61799e-003  1.59616e-003 -2.27180e-002 -7.38978e-002 -1.36306e-001 -1.58988e-001 -1.39071e-001 -1.09552e-001 -8.48388e-002 -6.73403e-002 -5.53149e-002 -4.75874e-002 -4.26380e-002 -4.00686e-002 -3.91512e-002 -4.00686e-002 -4.26380e-002 -4.75874e-002 -5.53149e-002 -6.73403e-002 -8.48388e-002 -1.09552e-001 -1.39071e-001 -1.58988e-001 -1.36306e-001 -7.38978e-002 -2.27180e-002  1.59616e-003  9.61799e-003  1.05538e-002  8.89861e-003  6.54769e-003  4.22963e-003  2.18896e-003  4.71346e-004 -9.44791e-004 -2.10704e-003 -3.06587e-003 -3.86433e-003 -4.53894e-003 -5.12182e-003 -5.63641e-003 -6.10208e-003 -6.53610e-003 -6.95081e-003 -7.35649e-003 -7.76090e-003 -8.16909e-003 -8.58211e-003 -8.99672e-003 -9.40361e-003 -9.78402e-003 -1.01064e-002 -1.03221e-002 -1.03595e-002 -1.01161e-002 -9.44916e-003 -8.17363e-003 -6.16362e-003 -3.77863e-003 -1.94754e-003 -9.70445e-004 -5.02893e-004 -2.72932e-004 -1.55145e-004
+  2.50000e-003 -1.27270e-004 -2.20969e-004 -3.95757e-004 -7.25774e-004 -1.35496e-003 -2.48023e-003 -4.07891e-003 -5.72357e-003 -7.01421e-003 -7.84225e-003 -8.26855e-003 -8.39736e-003 -8.32525e-003 -8.12723e-003 -7.85616e-003 -7.54727e-003 -7.22182e-003 -6.89168e-003 -6.56209e-003 -6.23242e-003 -5.90054e-003 -5.56036e-003 -5.20317e-003 -4.81875e-003 -4.39348e-003 -3.91082e-003 -3.35081e-003 -2.68650e-003 -1.88983e-003 -9.26344e-004  2.43036e-004  1.64630e-003  3.28309e-003  5.07162e-003  6.72273e-003  7.48610e-003  5.60726e-003 -2.53261e-003 -2.28828e-002 -5.94781e-002 -1.00496e-001 -1.19423e-001 -1.11259e-001 -9.22079e-002 -7.37232e-002 -5.94322e-002 -4.92768e-002 -4.24992e-002 -3.82098e-002 -3.58829e-002 -3.51214e-002 -3.58829e-002 -3.82098e-002 -4.24992e-002 -4.92768e-002 -5.94322e-002 -7.37232e-002 -9.22079e-002 -1.11259e-001 -1.19423e-001 -1.00496e-001 -5.94781e-002 -2.28828e-002 -2.53264e-003  5.60726e-003  7.48610e-003  6.72273e-003  5.07050e-003  3.28309e-003  1.64629e-003  2.43036e-004 -9.26344e-004 -1.88983e-003 -2.68650e-003 -3.35081e-003 -3.91082e-003 -4.39348e-003 -4.81875e-003 -5.20317e-003 -5.56036e-003 -5.90071e-003 -6.23242e-003 -6.56209e-003 -6.89168e-003 -7.22182e-003 -7.54727e-003 -7.85616e-003 -8.12713e-003 -8.32525e-003 -8.39736e-003 -8.26855e-003 -7.84225e-003 -7.01421e-003 -5.72358e-003 -4.07890e-003 -2.48023e-003 -1.35496e-003 -7.25774e-004 -3.95757e-004 -2.20969e-004 -1.27271e-004
+  2.00000e-003 -9.99500e-005 -1.71282e-004 -2.99111e-004 -5.26882e-004 -9.35910e-004 -1.65179e-003 -2.72614e-003 -3.96902e-003 -5.07942e-003 -5.88208e-003 -6.35714e-003 -6.56347e-003 -6.57774e-003 -6.46697e-003 -6.28134e-003 -6.05443e-003 -5.80703e-003 -5.55203e-003 -5.29432e-003 -5.03498e-003 -4.77311e-003 -4.50357e-003 -4.22016e-003 -3.91456e-003 -3.57579e-003 -3.19034e-003 -2.74278e-003 -2.21300e-003 -1.57637e-003 -8.07935e-004  1.19010e-004  1.22255e-003  2.48578e-003  3.81214e-003  4.92050e-003  5.12068e-003  2.94958e-003 -4.28034e-003 -2.01951e-002 -4.59565e-002 -7.34847e-002 -8.80832e-002 -8.54459e-002 -7.35462e-002 -6.02980e-002 -4.92522e-002 -4.10926e-002 -3.55054e-002 -3.19441e-002 -2.99900e-002 -2.93638e-002 -2.99900e-002 -3.19441e-002 -3.55054e-002 -4.10926e-002 -4.92522e-002 -6.02980e-002 -7.35462e-002 -8.54459e-002 -8.80832e-002 -7.34847e-002 -4.59565e-002 -2.01951e-002 -4.28033e-003  2.94958e-003  5.12068e-003  4.92049e-003  3.81271e-003  2.48578e-003  1.22255e-003  1.19010e-004 -8.07935e-004 -1.57636e-003 -2.21300e-003 -2.74278e-003 -3.19034e-003 -3.57579e-003 -3.91456e-003 -4.22016e-003 -4.50340e-003 -4.77312e-003 -5.03498e-003 -5.29432e-003 -5.55203e-003 -5.80703e-003 -6.05443e-003 -6.28134e-003 -6.46696e-003 -6.57774e-003 -6.56347e-003 -6.35714e-003 -5.88206e-003 -5.07941e-003 -3.96903e-003 -2.72614e-003 -1.65179e-003 -9.35912e-004 -5.26882e-004 -2.99111e-004 -1.71282e-004 -9.99500e-005
+  1.50000e-003 -7.36233e-005 -1.24737e-004 -2.13419e-004 -3.64868e-004 -6.26743e-004 -1.08080e-003 -1.78669e-003 -2.66441e-003 -3.51678e-003 -4.18301e-003 -4.61053e-003 -4.82412e-003 -4.87741e-003 -4.82304e-003 -4.70242e-003 -4.54412e-003 -4.36652e-003 -4.18025e-003 -3.99026e-003 -3.79847e-003 -3.60368e-003 -3.40285e-003 -3.19131e-003 -2.96272e-003 -2.70901e-003 -2.42110e-003 -2.08541e-003 -1.68792e-003 -1.21119e-003 -6.37035e-004  5.39264e-005  8.69233e-004  1.78642e-003  2.71770e-003  3.41724e-003  3.32913e-003  1.34138e-003 -4.39224e-003 -1.59790e-002 -3.34747e-002 -5.16593e-002 -6.21673e-002 -6.18912e-002 -5.47238e-002 -4.57258e-002 -3.77416e-002 -3.16355e-002 -2.73727e-002 -2.46229e-002 -2.31064e-002 -2.26240e-002 -2.31064e-002 -2.46229e-002 -2.73727e-002 -3.16355e-002 -3.77416e-002 -4.57258e-002 -5.47238e-002 -6.18911e-002 -6.21673e-002 -5.16593e-002 -3.34747e-002 -1.59790e-002 -4.39224e-003  1.34138e-003  3.32913e-003  3.41724e-003  2.71770e-003  1.78642e-003  8.69233e-004  5.39242e-005 -6.36562e-004 -1.21119e-003 -1.68792e-003 -2.08541e-003 -2.42110e-003 -2.70901e-003 -2.96272e-003 -3.19131e-003 -3.40285e-003 -3.60368e-003 -3.79847e-003 -3.99026e-003 -4.18025e-003 -4.36652e-003 -4.54412e-003 -4.70242e-003 -4.82304e-003 -4.87737e-003 -4.82412e-003 -4.61050e-003 -4.18301e-003 -3.51678e-003 -2.66441e-003 -1.78669e-003 -1.08080e-003 -6.26743e-004 -3.64867e-004 -2.13419e-004 -1.24737e-004 -7.36239e-005
+  1.00000e-003 -4.83584e-005 -8.12182e-005 -1.36912e-004 -2.29339e-004 -3.85568e-004 -6.55481e-004 -1.08444e-003 -1.64167e-003 -2.21189e-003 -2.68064e-003 -2.99679e-003 -3.16662e-003 -3.22248e-003 -3.20019e-003 -3.12873e-003 -3.02907e-003 -2.91460e-003 -2.79251e-003 -2.66764e-003 -2.54089e-003 -2.41167e-003 -2.27864e-003 -2.13795e-003 -1.98567e-003 -1.81686e-003 -1.62518e-003 -1.40079e-003 -1.13576e-003 -8.18412e-004 -4.35775e-004  2.19339e-005  5.58383e-004  1.15463e-003  1.74341e-003  2.14640e-003  1.97445e-003  4.91034e-004 -3.44579e-003 -1.09663e-002 -2.18392e-002 -3.29605e-002 -3.97367e-002 -4.01929e-002 -3.61838e-002 -3.06380e-002 -2.54816e-002 -2.14311e-002 -1.85599e-002 -1.66961e-002 -1.56562e-002 -1.53306e-002 -1.56562e-002 -1.66961e-002 -1.85599e-002 -2.14311e-002 -2.54816e-002 -3.06380e-002 -3.61838e-002 -4.01929e-002 -3.97367e-002 -3.29605e-002 -2.18392e-002 -1.09663e-002 -3.44580e-003  4.91034e-004  1.97445e-003  2.14640e-003  1.74341e-003  1.15463e-003  5.58383e-004  2.19339e-005 -4.35775e-004 -8.18412e-004 -1.13576e-003 -1.40079e-003 -1.62518e-003 -1.81686e-003 -1.98567e-003 -2.13795e-003 -2.27864e-003 -2.41167e-003 -2.54073e-003 -2.66764e-003 -2.79251e-003 -2.91461e-003 -3.02907e-003 -3.12873e-003 -3.20019e-003 -3.22248e-003 -3.16662e-003 -2.99679e-003 -2.68064e-003 -2.21189e-003 -1.64167e-003 -1.08444e-003 -6.55481e-004 -3.85568e-004 -2.29338e-004 -1.36912e-004 -8.12181e-005 -4.83583e-005
+  5.00000e-004 -2.39452e-005 -3.99967e-005 -6.68239e-005 -1.10617e-004 -1.83755e-004 -3.09973e-004 -5.13016e-004 -7.83064e-004 -1.06756e-003 -1.30817e-003 -1.47503e-003 -1.56794e-003 -1.60201e-003 -1.59505e-003 -1.56216e-003 -1.51412e-003 -1.45813e-003 -1.39776e-003 -1.33568e-003 -1.27265e-003 -1.20831e-003 -1.14201e-003 -1.07147e-003 -9.95602e-004 -9.11239e-004 -8.15303e-004 -7.03078e-004 -5.71493e-004 -4.12805e-004 -2.21347e-004  6.83320e-006  2.73080e-004  5.66746e-004  8.51855e-004  1.03345e-003  9.12653e-004  1.27448e-004 -1.86952e-003 -5.56479e-003 -1.07775e-002  1.36370e-001 -1.93822e-002 -8.22533e-002 -1.79855e-002 -6.93499e-002 -1.28247e-002 -4.74601e-002 -9.36208e-003 -2.90089e-002 -7.90084e-003 -2.08850e-002 -7.90084e-003 -2.90089e-002 -9.36208e-003 -4.74601e-002 -1.28247e-002 -6.93499e-002 -1.79855e-002 -8.22533e-002 -1.93822e-002  1.36370e-001 -1.07775e-002 -5.56479e-003 -1.86952e-003  1.27447e-004  9.12652e-004  1.03345e-003  8.51855e-004  5.66746e-004  2.73081e-004  6.83334e-006 -2.21347e-004 -4.12805e-004 -5.71493e-004 -7.03078e-004 -8.15303e-004 -9.11239e-004 -9.95602e-004 -1.07147e-003 -1.14201e-003 -1.20831e-003 -1.27265e-003 -1.33568e-003 -1.39776e-003 -1.45813e-003 -1.51412e-003 -1.56216e-003 -1.59505e-003 -1.60206e-003 -1.56794e-003 -1.47503e-003 -1.30817e-003 -1.06756e-003 -7.83071e-004 -5.13016e-004 -3.09972e-004 -1.83754e-004 -1.10617e-004 -6.68239e-005 -3.99968e-005 -2.39453e-005
+  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000  0.00000e+000
+ -5.00000e-004  2.39452e-005  3.99967e-005  6.68239e-005  1.10617e-004  1.83755e-004  3.09972e-004  5.13016e-004  7.83064e-004  1.06756e-003  1.30817e-003  1.47503e-003  1.56794e-003  1.60201e-003  1.59505e-003  1.56216e-003  1.51412e-003  1.45813e-003  1.39776e-003  1.33568e-003  1.27265e-003  1.20831e-003  1.14201e-003  1.07147e-003  9.95602e-004  9.11239e-004  8.15303e-004  7.03078e-004  5.71493e-004  4.12805e-004  2.21347e-004 -6.83361e-006 -2.73080e-004 -5.66746e-004 -8.51854e-004 -1.03345e-003 -9.12653e-004 -1.27447e-004  1.86952e-003  5.56479e-003  1.07775e-002 -1.36370e-001  1.93822e-002  8.22533e-002  1.79855e-002  6.93499e-002  1.28247e-002  4.74601e-002  9.36208e-003  2.90089e-002  7.90084e-003  2.08850e-002  7.90084e-003  2.90089e-002  9.36208e-003  4.74601e-002  1.28247e-002  6.93498e-002  1.79855e-002  8.22533e-002  1.93822e-002 -1.36370e-001  1.07775e-002  5.56479e-003  1.86952e-003 -1.27446e-004 -9.12653e-004 -1.03345e-003 -8.51855e-004 -5.66747e-004 -2.73080e-004 -6.83361e-006  2.21347e-004  4.12805e-004  5.71493e-004  7.03078e-004  8.15303e-004  9.11239e-004  9.95602e-004  1.07147e-003  1.14201e-003  1.20831e-003  1.27265e-003  1.33568e-003  1.39776e-003  1.45813e-003  1.51412e-003  1.56216e-003  1.59505e-003  1.60206e-003  1.56794e-003  1.47503e-003  1.30817e-003  1.06756e-003  7.83071e-004  5.13016e-004  3.09972e-004  1.83754e-004  1.10617e-004  6.68239e-005  3.99968e-005  2.39453e-005
+ -1.00000e-003  4.83584e-005  8.12182e-005  1.36912e-004  2.29339e-004  3.85568e-004  6.55481e-004  1.08444e-003  1.64167e-003  2.21189e-003  2.68064e-003  2.99679e-003  3.16662e-003  3.22248e-003  3.20019e-003  3.12873e-003  3.02907e-003  2.91460e-003  2.79251e-003  2.66764e-003  2.54089e-003  2.41167e-003  2.27864e-003  2.13794e-003  1.98567e-003  1.81685e-003  1.62518e-003  1.40079e-003  1.13576e-003  8.18412e-004  4.35775e-004 -2.19339e-005 -5.58383e-004 -1.15463e-003 -1.74340e-003 -2.14640e-003 -1.97445e-003 -4.91037e-004  3.44579e-003  1.09663e-002  2.18392e-002  3.29605e-002  3.97367e-002  4.01929e-002  3.61838e-002  3.06380e-002  2.54816e-002  2.14311e-002  1.85599e-002  1.66961e-002  1.56562e-002  1.53306e-002  1.56562e-002  1.66961e-002  1.85599e-002  2.14311e-002  2.54816e-002  3.06380e-002  3.61838e-002  4.01929e-002  3.97367e-002  3.29605e-002  2.18392e-002  1.09663e-002  3.44580e-003 -4.91037e-004 -1.97445e-003 -2.14640e-003 -1.74341e-003 -1.15463e-003 -5.58383e-004 -2.19339e-005  4.35775e-004  8.18412e-004  1.13576e-003  1.40079e-003  1.62518e-003  1.81685e-003  1.98567e-003  2.13794e-003  2.27864e-003  2.41167e-003  2.54073e-003  2.66764e-003  2.79251e-003  2.91461e-003  3.02907e-003  3.12873e-003  3.20019e-003  3.22248e-003  3.16662e-003  2.99679e-003  2.68064e-003  2.21189e-003  1.64167e-003  1.08444e-003  6.55481e-004  3.85568e-004  2.29339e-004  1.36912e-004  8.12181e-005  4.83583e-005
+ -1.50000e-003  7.36233e-005  1.24737e-004  2.13419e-004  3.64868e-004  6.26743e-004  1.08080e-003  1.78669e-003  2.66441e-003  3.51677e-003  4.18301e-003  4.61053e-003  4.82412e-003  4.87741e-003  4.82304e-003  4.70242e-003  4.54412e-003  4.36652e-003  4.18025e-003  3.99026e-003  3.79847e-003  3.60368e-003  3.40285e-003  3.19131e-003  2.96272e-003  2.70901e-003  2.42110e-003  2.08541e-003  1.68792e-003  1.21119e-003  6.37035e-004 -5.39307e-005 -8.69233e-004 -1.78642e-003 -2.71770e-003 -3.41724e-003 -3.32913e-003 -1.34138e-003  4.39224e-003  1.59790e-002  3.34747e-002  5.16593e-002  6.21673e-002  6.18911e-002  5.47238e-002  4.57258e-002  3.77416e-002  3.16355e-002  2.73727e-002  2.46229e-002  2.31064e-002  2.26240e-002  2.31064e-002  2.46229e-002  2.73727e-002  3.16355e-002  3.77416e-002  4.57258e-002  5.47238e-002  6.18911e-002  6.21673e-002  5.16592e-002  3.34747e-002  1.59790e-002  4.39224e-003 -1.34138e-003 -3.32913e-003 -3.41724e-003 -2.71770e-003 -1.78642e-003 -8.69233e-004 -5.39307e-005  6.36562e-004  1.21119e-003  1.68792e-003  2.08541e-003  2.42110e-003  2.70901e-003  2.96272e-003  3.19131e-003  3.40285e-003  3.60368e-003  3.79847e-003  3.99026e-003  4.18025e-003  4.36653e-003  4.54412e-003  4.70242e-003  4.82304e-003  4.87737e-003  4.82412e-003  4.61050e-003  4.18301e-003  3.51678e-003  2.66441e-003  1.78669e-003  1.08080e-003  6.26743e-004  3.64867e-004  2.13419e-004  1.24737e-004  7.36239e-005
+ -2.00000e-003  9.99500e-005  1.71282e-004  2.99111e-004  5.26882e-004  9.35912e-004  1.65179e-003  2.72614e-003  3.96902e-003  5.07942e-003  5.88209e-003  6.35714e-003  6.56347e-003  6.57774e-003  6.46696e-003  6.28134e-003  6.05443e-003  5.80703e-003  5.55203e-003  5.29432e-003  5.03498e-003  4.77312e-003  4.50357e-003  4.22016e-003  3.91456e-003  3.57579e-003  3.19034e-003  2.74278e-003  2.21300e-003  1.57637e-003  8.07937e-004 -1.19010e-004 -1.22255e-003 -2.48578e-003 -3.81214e-003 -4.92050e-003 -5.12067e-003 -2.94958e-003  4.28034e-003  2.01951e-002  4.59565e-002  7.34847e-002  8.80832e-002  8.54459e-002  7.35462e-002  6.02980e-002  4.92522e-002  4.10926e-002  3.55054e-002  3.19441e-002  2.99900e-002  2.93638e-002  2.99900e-002  3.19441e-002  3.55054e-002  4.10926e-002  4.92522e-002  6.02980e-002  7.35462e-002  8.54459e-002  8.80832e-002  7.34847e-002  4.59565e-002  2.01951e-002  4.28031e-003 -2.94958e-003 -5.12068e-003 -4.92050e-003 -3.81271e-003 -2.48578e-003 -1.22255e-003 -1.19009e-004  8.07935e-004  1.57637e-003  2.21300e-003  2.74278e-003  3.19034e-003  3.57579e-003  3.91456e-003  4.22016e-003  4.50340e-003  4.77312e-003  5.03498e-003  5.29432e-003  5.55203e-003  5.80703e-003  6.05443e-003  6.28134e-003  6.46696e-003  6.57774e-003  6.56347e-003  6.35714e-003  5.88206e-003  5.07941e-003  3.96903e-003  2.72614e-003  1.65179e-003  9.35911e-004  5.26882e-004  2.99111e-004  1.71282e-004  9.99500e-005
+ -2.50000e-003  1.27271e-004  2.20969e-004  3.95757e-004  7.25774e-004  1.35496e-003  2.48023e-003  4.07890e-003  5.72357e-003  7.01420e-003  7.84225e-003  8.26855e-003  8.39736e-003  8.32525e-003  8.12723e-003  7.85616e-003  7.54727e-003  7.22182e-003  6.89168e-003  6.56209e-003  6.23242e-003  5.90054e-003  5.56036e-003  5.20317e-003  4.81875e-003  4.39348e-003  3.91082e-003  3.35081e-003  2.68650e-003  1.88982e-003  9.26344e-004 -2.43036e-004 -1.64630e-003 -3.28309e-003 -5.07162e-003 -6.72273e-003 -7.48610e-003 -5.60726e-003  2.53262e-003  2.28828e-002  5.94782e-002  1.00496e-001  1.19423e-001  1.11259e-001  9.22079e-002  7.37232e-002  5.94322e-002  4.92768e-002  4.24992e-002  3.82098e-002  3.58829e-002  3.51214e-002  3.58829e-002  3.82098e-002  4.24992e-002  4.92768e-002  5.94322e-002  7.37232e-002  9.22079e-002  1.11259e-001  1.19423e-001  1.00496e-001  5.94782e-002  2.28828e-002  2.53262e-003 -5.60726e-003 -7.48610e-003 -6.72273e-003 -5.07050e-003 -3.28309e-003 -1.64630e-003 -2.43036e-004  9.26344e-004  1.88983e-003  2.68650e-003  3.35081e-003  3.91082e-003  4.39348e-003  4.81875e-003  5.20299e-003  5.56036e-003  5.90071e-003  6.23242e-003  6.56209e-003  6.89168e-003  7.22182e-003  7.54727e-003  7.85616e-003  8.12713e-003  8.32525e-003  8.39736e-003  8.26855e-003  7.84225e-003  7.01420e-003  5.72358e-003  4.07890e-003  2.48023e-003  1.35496e-003  7.25774e-004  3.95757e-004  2.20969e-004  1.27271e-004
+ -3.00000e-003  1.55146e-004  2.72932e-004  5.02893e-004  9.70445e-004  1.94755e-003  3.77863e-003  6.16362e-003  8.17360e-003  9.44917e-003  1.01161e-002  1.03595e-002  1.03221e-002  1.01065e-002  9.78402e-003  9.40361e-003  8.99672e-003  8.58211e-003  8.16910e-003  7.76090e-003  7.35649e-003  6.95081e-003  6.53610e-003  6.10208e-003  5.63641e-003  5.12182e-003  4.53894e-003  3.86433e-003  3.06587e-003  2.10704e-003  9.44791e-004 -4.71346e-004 -2.18895e-003 -4.22963e-003 -6.54769e-003 -8.89861e-003 -1.05538e-002 -9.61799e-003 -1.59616e-003  2.27180e-002  7.38978e-002  1.36306e-001  1.58988e-001  1.39071e-001  1.09552e-001  8.48388e-002  6.73403e-002  5.53149e-002  4.75874e-002  4.26380e-002  4.00686e-002  3.91512e-002  4.00686e-002  4.26380e-002  4.75874e-002  5.53149e-002  6.73403e-002  8.48388e-002  1.09552e-001  1.39071e-001  1.58988e-001  1.36306e-001  7.38978e-002  2.27180e-002 -1.59616e-003 -9.61799e-003 -1.05538e-002 -8.89861e-003 -6.54769e-003 -4.22963e-003 -2.18896e-003 -4.71346e-004  9.44791e-004  2.10704e-003  3.06587e-003  3.86433e-003  4.53894e-003  5.12182e-003  5.63641e-003  6.10208e-003  6.53610e-003  6.95081e-003  7.35649e-003  7.76090e-003  8.16910e-003  8.58211e-003  8.99672e-003  9.40361e-003  9.78402e-003  1.01064e-002  1.03221e-002  1.03595e-002  1.01161e-002  9.44916e-003  8.17363e-003  6.16362e-003  3.77863e-003  1.94754e-003  9.70445e-004  5.02893e-004  2.72932e-004  1.55145e-004
+ -3.50000e-003  1.82691e-004  3.24970e-004  6.15893e-004  1.26140e-003  2.80782e-003  6.00411e-003  9.59982e-003  1.16643e-002  1.25049e-002  1.27256e-002  1.26142e-002  1.23069e-002  1.18830e-002  1.13948e-002  1.08772e-002  1.03530e-002  9.83452e-003  9.32761e-003  8.83225e-003  8.34508e-003  7.85852e-003  7.36313e-003  6.84712e-003  6.29479e-003  5.68653e-003  4.99966e-003  4.20544e-003  3.26825e-003  2.14432e-003  7.78738e-004 -8.90375e-004 -2.93307e-003 -5.40845e-003 -8.32194e-003 -1.15268e-002 -1.44323e-002 -1.52492e-002 -8.98396e-003  1.73854e-002  8.79447e-002  1.88236e-001  2.10840e-001  1.67012e-001  1.23357e-001  9.16171e-002  7.15253e-002  5.76954e-002  4.95303e-002  4.38524e-002  4.13532e-002  4.00821e-002  4.13532e-002  4.38524e-002  4.95303e-002  5.76954e-002  7.15253e-002  9.16171e-002  1.23357e-001  1.67012e-001  2.10840e-001  1.88236e-001  8.79447e-002  1.73854e-002 -8.98396e-003 -1.52492e-002 -1.44323e-002 -1.15268e-002 -8.32194e-003 -5.40845e-003 -2.93307e-003 -8.90375e-004  7.78737e-004  2.14432e-003  3.26825e-003  4.20544e-003  4.99966e-003  5.68653e-003  6.29479e-003  6.84712e-003  7.36313e-003  7.85852e-003  8.34508e-003  8.83225e-003  9.32761e-003  9.83452e-003  1.03530e-002  1.08772e-002  1.13948e-002  1.18830e-002  1.23069e-002  1.26142e-002  1.27257e-002  1.25049e-002  1.16643e-002  9.59982e-003  6.00410e-003  2.80782e-003  1.26140e-003  6.15892e-004  3.24970e-004  1.82691e-004
+ -4.00000e-003  2.08588e-004  3.73344e-004  7.23706e-004  1.57456e-003  4.04558e-003  1.03196e-002  1.56518e-002  1.66090e-002  1.62418e-002  1.56339e-002  1.49702e-002  1.42813e-002  1.35803e-002  1.28805e-002  1.21939e-002  1.15281e-002  1.08872e-002  1.02707e-002  9.67470e-003  9.09252e-003  8.51489e-003  7.92862e-003  7.32012e-003  6.67170e-003  5.96082e-003  5.16148e-003  4.24068e-003  3.15782e-003  1.86222e-003  2.87161e-004 -1.64405e-003 -4.02424e-003 -6.95667e-003 -1.05253e-002 -1.47210e-002 -1.92187e-002 -2.26768e-002 -2.04559e-002  3.27141e-003  9.65301e-002  2.74187e-001  2.79900e-001  1.89460e-001  1.30187e-001  9.05863e-002  7.01083e-002  5.36888e-002  4.66784e-002  3.92622e-002  3.80844e-002  3.53675e-002  3.80844e-002  3.92622e-002  4.66784e-002  5.36888e-002  7.01083e-002  9.05863e-002  1.30187e-001  1.89460e-001  2.79900e-001  2.74187e-001  9.65301e-002  3.27141e-003 -2.04558e-002 -2.26767e-002 -1.92187e-002 -1.47210e-002 -1.05253e-002 -6.95667e-003 -4.02424e-003 -1.64405e-003  2.87161e-004  1.86222e-003  3.15784e-003  4.24068e-003  5.16148e-003  5.96082e-003  6.67170e-003  7.32012e-003  7.92862e-003  8.51489e-003  9.09252e-003  9.67470e-003  1.02707e-002  1.08872e-002  1.15281e-002  1.21939e-002  1.28806e-002  1.35803e-002  1.42813e-002  1.49702e-002  1.56339e-002  1.62418e-002  1.66090e-002  1.56518e-002  1.03196e-002  4.04558e-003  1.57456e-003  7.23705e-004  3.73342e-004  2.08588e-004
+ -4.50000e-003  2.31203e-004  4.13085e-004  8.08160e-004  1.83558e-003  5.61240e-003  2.06246e-002  2.67784e-002  2.32743e-002  2.05724e-002  1.87200e-002  1.73122e-002  1.61351e-002  1.50893e-002  1.41305e-002  1.32385e-002  1.24030e-002  1.16155e-002  1.08688e-002  1.01533e-002  9.45921e-003  8.77366e-003  8.08161e-003  7.36695e-003  6.60783e-003  5.78134e-003  4.85670e-003  3.79746e-003  2.55789e-003  1.07892e-003 -7.14132e-004 -2.91446e-003 -5.64384e-003 -9.04989e-003 -1.33094e-002 -1.85901e-002 -2.49424e-002 -3.18352e-002 -3.62756e-002 -2.38626e-002  8.18295e-002  4.52109e-001  3.65270e-001  1.93135e-001  1.27023e-001  7.51462e-002  6.23235e-002  3.77146e-002  3.82871e-002  2.36259e-002  2.94050e-002  1.98632e-002  2.94050e-002  2.36259e-002  3.82871e-002  3.77146e-002  6.23235e-002  7.51462e-002  1.27023e-001  1.93135e-001  3.65271e-001  4.52109e-001  8.18311e-002 -2.38626e-002 -3.62756e-002 -3.18352e-002 -2.49424e-002 -1.85901e-002 -1.33094e-002 -9.04989e-003 -5.64381e-003 -2.91446e-003 -7.13664e-004  1.07892e-003  2.55789e-003  3.79746e-003  4.85670e-003  5.78134e-003  6.60783e-003  7.36695e-003  8.08161e-003  8.77366e-003  9.45921e-003  1.01533e-002  1.08688e-002  1.16155e-002  1.24030e-002  1.32385e-002  1.41305e-002  1.50893e-002  1.61351e-002  1.73123e-002  1.87199e-002  2.05723e-002  2.32743e-002  2.67784e-002  2.06246e-002  5.61241e-003  1.83558e-003  8.08161e-004  4.13085e-004  2.31203e-004
+ -5.00000e-003  2.48853e-004  4.39030e-004  8.48024e-004  1.91350e-003  6.49352e-003  6.03127e-002  4.55564e-002  3.12443e-002  2.52214e-002  2.18450e-002  1.95745e-002  1.78434e-002  1.64102e-002  1.51621e-002  1.40422e-002  1.30179e-002  1.20688e-002  1.11784e-002  1.03319e-002  9.51505e-003  8.71164e-003  7.90469e-003  7.07448e-003  6.19766e-003  5.24787e-003  4.19246e-003  2.98954e-003  1.58898e-003 -7.37978e-005 -2.08328e-003 -4.55011e-003 -7.62046e-003 -1.14900e-002 -1.64277e-002 -2.28019e-002 -3.11017e-002 -4.18736e-002 -5.50358e-002 -6.48753e-002 -5.26228e-003  1.04751e+000  4.23974e-001  1.45151e-001  1.17931e-001  2.36376e-002  5.44420e-002 -9.61366e-003  3.01678e-002 -2.09066e-002  2.07270e-002 -2.36803e-002  2.07270e-002 -2.09045e-002  3.01678e-002 -9.61366e-003  5.44420e-002  2.36376e-002  1.17931e-001  1.45151e-001  4.23974e-001  1.04751e+000 -5.26228e-003 -6.48753e-002 -5.50358e-002 -4.18737e-002 -3.11017e-002 -2.28019e-002 -1.64277e-002 -1.14900e-002 -7.62046e-003 -4.55011e-003 -2.08328e-003 -7.37978e-005  1.58898e-003  2.98953e-003  4.19246e-003  5.24787e-003  6.19765e-003  7.07448e-003  7.90469e-003  8.71164e-003  9.51505e-003  1.03319e-002  1.11784e-002  1.20688e-002  1.30179e-002  1.40422e-002  1.51622e-002  1.64102e-002  1.78434e-002  1.95744e-002  2.18450e-002  2.52214e-002  3.12443e-002  4.55564e-002  6.03127e-002  6.49352e-003  1.91350e-003  8.48026e-004  4.39031e-004  2.48854e-004
+
Index: /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/w150g11pole20_fin_interpolation.dat
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/w150g11pole20_fin_interpolation.dat	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RadiaMapGui/w150g11pole20_fin_interpolation.dat	(revision 17)
@@ -0,0 +1,56 @@
+# Author:  User
+# w150g11pole20_fin.dat (after smooth)
+# Undulator Length [m]
+3.00      
+# Number of Horizontal Points
+501
+# Number of Vertical Points
+21
+# Horizontal 2nd Order Kick [T2m2]
+START
+    -5.00000e-02    -4.98000e-02    -4.96000e-02    -4.94000e-02    -4.92000e-02    -4.90000e-02    -4.88000e-02    -4.86000e-02    -4.84000e-02    -4.82000e-02    -4.80000e-02    -4.78000e-02    -4.76000e-02    -4.74000e-02    -4.72000e-02    -4.70000e-02    -4.68000e-02    -4.66000e-02    -4.64000e-02    -4.62000e-02    -4.60000e-02    -4.58000e-02    -4.56000e-02    -4.54000e-02    -4.52000e-02    -4.50000e-02    -4.48000e-02    -4.46000e-02    -4.44000e-02    -4.42000e-02    -4.40000e-02    -4.38000e-02    -4.36000e-02    -4.34000e-02    -4.32000e-02    -4.30000e-02    -4.28000e-02    -4.26000e-02    -4.24000e-02    -4.22000e-02    -4.20000e-02    -4.18000e-02    -4.16000e-02    -4.14000e-02    -4.12000e-02    -4.10000e-02    -4.08000e-02    -4.06000e-02    -4.04000e-02    -4.02000e-02    -4.00000e-02    -3.98000e-02    -3.96000e-02    -3.94000e-02    -3.92000e-02    -3.90000e-02    -3.88000e-02    -3.86000e-02    -3.84000e-02    -3.82000e-02    -3.80000e-02    -3.78000e-02    -3.76000e-02    -3.74000e-02    -3.72000e-02    -3.70000e-02    -3.68000e-02    -3.66000e-02    -3.64000e-02    -3.62000e-02    -3.60000e-02    -3.58000e-02    -3.56000e-02    -3.54000e-02    -3.52000e-02    -3.50000e-02    -3.48000e-02    -3.46000e-02    -3.44000e-02    -3.42000e-02    -3.40000e-02    -3.38000e-02    -3.36000e-02    -3.34000e-02    -3.32000e-02    -3.30000e-02    -3.28000e-02    -3.26000e-02    -3.24000e-02    -3.22000e-02    -3.20000e-02    -3.18000e-02    -3.16000e-02    -3.14000e-02    -3.12000e-02    -3.10000e-02    -3.08000e-02    -3.06000e-02    -3.04000e-02    -3.02000e-02    -3.00000e-02    -2.98000e-02    -2.96000e-02    -2.94000e-02    -2.92000e-02    -2.90000e-02    -2.88000e-02    -2.86000e-02    -2.84000e-02    -2.82000e-02    -2.80000e-02    -2.78000e-02    -2.76000e-02    -2.74000e-02    -2.72000e-02    -2.70000e-02    -2.68000e-02    -2.66000e-02    -2.64000e-02    -2.62000e-02    -2.60000e-02    -2.58000e-02    -2.56000e-02    -2.54000e-02    -2.52000e-02    -2.50000e-02    -2.48000e-02    -2.46000e-02    -2.44000e-02    -2.42000e-02    -2.40000e-02    -2.38000e-02    -2.36000e-02    -2.34000e-02    -2.32000e-02    -2.30000e-02    -2.28000e-02    -2.26000e-02    -2.24000e-02    -2.22000e-02    -2.20000e-02    -2.18000e-02    -2.16000e-02    -2.14000e-02    -2.12000e-02    -2.10000e-02    -2.08000e-02    -2.06000e-02    -2.04000e-02    -2.02000e-02    -2.00000e-02    -1.98000e-02    -1.96000e-02    -1.94000e-02    -1.92000e-02    -1.90000e-02    -1.88000e-02    -1.86000e-02    -1.84000e-02    -1.82000e-02    -1.80000e-02    -1.78000e-02    -1.76000e-02    -1.74000e-02    -1.72000e-02    -1.70000e-02    -1.68000e-02    -1.66000e-02    -1.64000e-02    -1.62000e-02    -1.60000e-02    -1.58000e-02    -1.56000e-02    -1.54000e-02    -1.52000e-02    -1.50000e-02    -1.48000e-02    -1.46000e-02    -1.44000e-02    -1.42000e-02    -1.40000e-02    -1.38000e-02    -1.36000e-02    -1.34000e-02    -1.32000e-02    -1.30000e-02    -1.28000e-02    -1.26000e-02    -1.24000e-02    -1.22000e-02    -1.20000e-02    -1.18000e-02    -1.16000e-02    -1.14000e-02    -1.12000e-02    -1.10000e-02    -1.08000e-02    -1.06000e-02    -1.04000e-02    -1.02000e-02    -1.00000e-02    -9.80000e-03    -9.60000e-03    -9.40000e-03    -9.20000e-03    -9.00000e-03    -8.80000e-03    -8.60000e-03    -8.40000e-03    -8.20000e-03    -8.00000e-03    -7.80000e-03    -7.60000e-03    -7.40000e-03    -7.20000e-03    -7.00000e-03    -6.80000e-03    -6.60000e-03    -6.40000e-03    -6.20000e-03    -6.00000e-03    -5.80000e-03    -5.60000e-03    -5.40000e-03    -5.20000e-03    -5.00000e-03    -4.80000e-03    -4.60000e-03    -4.40000e-03    -4.20000e-03    -4.00000e-03    -3.80000e-03    -3.60000e-03    -3.40000e-03    -3.20000e-03    -3.00000e-03    -2.80000e-03    -2.60000e-03    -2.40000e-03    -2.20000e-03    -2.00000e-03    -1.80000e-03    -1.60000e-03    -1.40000e-03    -1.20000e-03    -1.00000e-03    -8.00000e-04    -6.00000e-04    -4.00000e-04    -2.00000e-04    0.00000e+00    2.00000e-04    4.00000e-04    6.00000e-04    8.00000e-04    1.00000e-03    1.20000e-03    1.40000e-03    1.60000e-03    1.80000e-03    2.00000e-03    2.20000e-03    2.40000e-03    2.60000e-03    2.80000e-03    3.00000e-03    3.20000e-03    3.40000e-03    3.60000e-03    3.80000e-03    4.00000e-03    4.20000e-03    4.40000e-03    4.60000e-03    4.80000e-03    5.00000e-03    5.20000e-03    5.40000e-03    5.60000e-03    5.80000e-03    6.00000e-03    6.20000e-03    6.40000e-03    6.60000e-03    6.80000e-03    7.00000e-03    7.20000e-03    7.40000e-03    7.60000e-03    7.80000e-03    8.00000e-03    8.20000e-03    8.40000e-03    8.60000e-03    8.80000e-03    9.00000e-03    9.20000e-03    9.40000e-03    9.60000e-03    9.80000e-03    1.00000e-02    1.02000e-02    1.04000e-02    1.06000e-02    1.08000e-02    1.10000e-02    1.12000e-02    1.14000e-02    1.16000e-02    1.18000e-02    1.20000e-02    1.22000e-02    1.24000e-02    1.26000e-02    1.28000e-02    1.30000e-02    1.32000e-02    1.34000e-02    1.36000e-02    1.38000e-02    1.40000e-02    1.42000e-02    1.44000e-02    1.46000e-02    1.48000e-02    1.50000e-02    1.52000e-02    1.54000e-02    1.56000e-02    1.58000e-02    1.60000e-02    1.62000e-02    1.64000e-02    1.66000e-02    1.68000e-02    1.70000e-02    1.72000e-02    1.74000e-02    1.76000e-02    1.78000e-02    1.80000e-02    1.82000e-02    1.84000e-02    1.86000e-02    1.88000e-02    1.90000e-02    1.92000e-02    1.94000e-02    1.96000e-02    1.98000e-02    2.00000e-02    2.02000e-02    2.04000e-02    2.06000e-02    2.08000e-02    2.10000e-02    2.12000e-02    2.14000e-02    2.16000e-02    2.18000e-02    2.20000e-02    2.22000e-02    2.24000e-02    2.26000e-02    2.28000e-02    2.30000e-02    2.32000e-02    2.34000e-02    2.36000e-02    2.38000e-02    2.40000e-02    2.42000e-02    2.44000e-02    2.46000e-02    2.48000e-02    2.50000e-02    2.52000e-02    2.54000e-02    2.56000e-02    2.58000e-02    2.60000e-02    2.62000e-02    2.64000e-02    2.66000e-02    2.68000e-02    2.70000e-02    2.72000e-02    2.74000e-02    2.76000e-02    2.78000e-02    2.80000e-02    2.82000e-02    2.84000e-02    2.86000e-02    2.88000e-02    2.90000e-02    2.92000e-02    2.94000e-02    2.96000e-02    2.98000e-02    3.00000e-02    3.02000e-02    3.04000e-02    3.06000e-02    3.08000e-02    3.10000e-02    3.12000e-02    3.14000e-02    3.16000e-02    3.18000e-02    3.20000e-02    3.22000e-02    3.24000e-02    3.26000e-02    3.28000e-02    3.30000e-02    3.32000e-02    3.34000e-02    3.36000e-02    3.38000e-02    3.40000e-02    3.42000e-02    3.44000e-02    3.46000e-02    3.48000e-02    3.50000e-02    3.52000e-02    3.54000e-02    3.56000e-02    3.58000e-02    3.60000e-02    3.62000e-02    3.64000e-02    3.66000e-02    3.68000e-02    3.70000e-02    3.72000e-02    3.74000e-02    3.76000e-02    3.78000e-02    3.80000e-02    3.82000e-02    3.84000e-02    3.86000e-02    3.88000e-02    3.90000e-02    3.92000e-02    3.94000e-02    3.96000e-02    3.98000e-02    4.00000e-02    4.02000e-02    4.04000e-02    4.06000e-02    4.08000e-02    4.10000e-02    4.12000e-02    4.14000e-02    4.16000e-02    4.18000e-02    4.20000e-02    4.22000e-02    4.24000e-02    4.26000e-02    4.28000e-02    4.30000e-02    4.32000e-02    4.34000e-02    4.36000e-02    4.38000e-02    4.40000e-02    4.42000e-02    4.44000e-02    4.46000e-02    4.48000e-02    4.50000e-02    4.52000e-02    4.54000e-02    4.56000e-02    4.58000e-02    4.60000e-02    4.62000e-02    4.64000e-02    4.66000e-02    4.68000e-02    4.70000e-02    4.72000e-02    4.74000e-02    4.76000e-02    4.78000e-02    4.80000e-02    4.82000e-02    4.84000e-02    4.86000e-02    4.88000e-02    4.90000e-02    4.92000e-02    4.94000e-02    4.96000e-02    4.98000e-02    5.00000e-02
+5.00000e-03   -4.50331e-04   -4.83281e-04   -5.35412e-04   -6.02798e-04   -6.81516e-04   -7.67641e-04   -8.65681e-04   -9.84794e-04   -1.12803e-03   -1.29843e-03   -1.49905e-03   -1.74809e-03   -2.06971e-03   -2.47591e-03   -2.97867e-03   -3.58998e-03   -4.50926e-03   -5.88008e-03   -7.63068e-03   -9.68931e-03   -1.19842e-02   -1.56666e-02   -2.09926e-02   -2.65479e-02   -3.09183e-02   -3.26894e-02   -2.96781e-02   -2.24974e-02   -1.39268e-02   -6.74601e-03   -3.73472e-03   -3.89041e-03   -4.29203e-03   -4.84140e-03   -5.44035e-03   -5.99071e-03   -6.51054e-03   -7.06704e-03   -7.63570e-03   -8.19200e-03   -8.71145e-03   -9.19586e-03   -9.66335e-03   -1.01138e-02   -1.05472e-02   -1.09634e-02   -1.13637e-02   -1.17496e-02   -1.21215e-02   -1.24797e-02   -1.28244e-02   -1.31568e-02   -1.34778e-02   -1.37874e-02   -1.40859e-02   -1.43731e-02   -1.46501e-02   -1.49177e-02   -1.51759e-02   -1.54248e-02   -1.56645e-02   -1.58955e-02   -1.61187e-02   -1.63341e-02   -1.65421e-02   -1.67426e-02   -1.69361e-02   -1.71232e-02   -1.73040e-02   -1.74790e-02   -1.76486e-02   -1.78128e-02   -1.79717e-02   -1.81260e-02   -1.82761e-02   -1.84226e-02   -1.85652e-02   -1.87038e-02   -1.88392e-02   -1.89720e-02   -1.91030e-02   -1.92317e-02   -1.93578e-02   -1.94821e-02   -1.96053e-02   -1.97283e-02   -1.98505e-02   -1.99714e-02   -2.00918e-02   -2.02126e-02   -2.03346e-02   -2.04573e-02   -2.05802e-02   -2.07039e-02   -2.08295e-02   -2.09575e-02   -2.10877e-02   -2.12196e-02   -2.13539e-02   -2.14912e-02   -2.16324e-02   -2.17772e-02   -2.19254e-02   -2.20776e-02   -2.22342e-02   -2.23959e-02   -2.25627e-02   -2.27347e-02   -2.29123e-02   -2.30959e-02   -2.32860e-02   -2.34829e-02   -2.36869e-02   -2.38984e-02   -2.41176e-02   -2.43448e-02   -2.45807e-02   -2.48258e-02   -2.50804e-02   -2.53448e-02   -2.56192e-02   -2.59046e-02   -2.62019e-02   -2.65112e-02   -2.68327e-02   -2.71666e-02   -2.75141e-02   -2.78764e-02   -2.82537e-02   -2.86463e-02   -2.90544e-02   -2.94796e-02   -2.99235e-02   -3.03863e-02   -3.08682e-02   -3.13695e-02   -3.18921e-02   -3.24380e-02   -3.30078e-02   -3.36019e-02   -3.42208e-02   -3.48670e-02   -3.55432e-02   -3.62500e-02   -3.69881e-02   -3.77582e-02   -3.85634e-02   -3.94072e-02   -4.02908e-02   -4.12157e-02   -4.21830e-02   -4.31968e-02   -4.42618e-02   -4.53802e-02   -4.65545e-02   -4.77870e-02   -4.90831e-02   -5.04494e-02   -5.18901e-02   -5.34094e-02   -5.50115e-02   -5.67038e-02   -5.84964e-02   -6.03973e-02   -6.24147e-02   -6.45566e-02   -6.68346e-02   -6.92655e-02   -7.18646e-02   -7.46478e-02   -7.76306e-02   -8.08333e-02   -8.42874e-02   -8.80249e-02   -9.20780e-02   -9.64788e-02   -1.01270e-01   -1.06521e-01   -1.12302e-01   -1.18684e-01   -1.25738e-01   -1.33574e-01   -1.42371e-01   -1.52307e-01   -1.63555e-01   -1.76293e-01   -1.90863e-01   -2.07852e-01   -2.27803e-01   -2.51255e-01   -2.78750e-01   -3.20925e-01   -3.80423e-01   -4.45795e-01   -5.05592e-01   -5.48364e-01   -5.78877e-01   -6.07612e-01   -6.31695e-01   -6.48252e-01   -6.54410e-01   -5.72926e-01   -3.78619e-01   -1.46704e-01   4.76033e-02   1.29087e-01   1.20882e-01   1.01101e-01   7.69976e-02   5.58238e-02   4.48325e-02   4.20689e-02   4.03324e-02   3.90068e-02   3.74756e-02   3.51226e-02   2.99436e-02   2.18879e-02   1.32692e-02   6.40123e-03   3.59774e-03   3.92267e-03   4.69751e-03   5.62233e-03   6.39717e-03   6.72210e-03   5.54635e-03   2.74263e-03   -6.03741e-04   -3.40746e-03   -4.58321e-03   -4.14411e-03   -3.09704e-03   -1.84731e-03   -8.00236e-04   -3.61141e-04   -6.83210e-04   -1.45122e-03   -2.36788e-03   -3.13589e-03   -3.45796e-03   -3.20126e-03   -2.57599e-03   -1.79934e-03   -1.08854e-03   -6.60798e-04   -4.76383e-04   -3.37691e-04   -2.25127e-04   -1.19096e-04   0.00000e+00   1.19096e-04   2.25127e-04   3.37691e-04   4.76383e-04   6.60798e-04   1.08854e-03   1.79934e-03   2.57599e-03   3.20126e-03   3.45796e-03   3.13589e-03   2.36788e-03   1.45122e-03   6.83210e-04   3.61141e-04   8.00236e-04   1.84731e-03   3.09704e-03   4.14411e-03   4.58321e-03   3.40746e-03   6.03741e-04   -2.74263e-03   -5.54635e-03   -6.72210e-03   -6.39717e-03   -5.62233e-03   -4.69751e-03   -3.92267e-03   -3.59774e-03   -6.40123e-03   -1.32692e-02   -2.18879e-02   -2.99436e-02   -3.51226e-02   -3.74756e-02   -3.90068e-02   -4.03324e-02   -4.20689e-02   -4.48325e-02   -5.58239e-02   -7.69979e-02   -1.01102e-01   -1.20883e-01   -1.29088e-01   -4.76042e-02   1.46703e-01   3.78619e-01   5.72926e-01   6.54410e-01   6.48252e-01   6.31695e-01   6.07611e-01   5.78876e-01   5.48363e-01   5.05591e-01   4.45794e-01   3.80423e-01   3.20925e-01   2.78750e-01   2.51255e-01   2.27803e-01   2.07852e-01   1.90863e-01   1.76293e-01   1.63555e-01   1.52307e-01   1.42371e-01   1.33574e-01   1.25738e-01   1.18684e-01   1.12302e-01   1.06521e-01   1.01270e-01   9.64787e-02   9.20779e-02   8.80248e-02   8.42873e-02   8.08333e-02   7.76306e-02   7.46478e-02   7.18646e-02   6.92655e-02   6.68346e-02   6.45566e-02   6.24147e-02   6.03973e-02   5.84964e-02   5.67038e-02   5.50115e-02   5.34094e-02   5.18901e-02   5.04494e-02   4.90831e-02   4.77870e-02   4.65545e-02   4.53802e-02   4.42618e-02   4.31968e-02   4.21830e-02   4.12157e-02   4.02908e-02   3.94072e-02   3.85634e-02   3.77582e-02   3.69881e-02   3.62500e-02   3.55432e-02   3.48670e-02   3.42208e-02   3.36019e-02   3.30078e-02   3.24380e-02   3.18921e-02   3.13695e-02   3.08682e-02   3.03863e-02   2.99235e-02   2.94796e-02   2.90544e-02   2.86463e-02   2.82537e-02   2.78764e-02   2.75141e-02   2.71666e-02   2.68327e-02   2.65112e-02   2.62019e-02   2.59046e-02   2.56192e-02   2.53447e-02   2.50802e-02   2.48255e-02   2.45803e-02   2.43444e-02   2.41172e-02   2.38981e-02   2.36868e-02   2.34828e-02   2.32860e-02   2.30960e-02   2.29123e-02   2.27347e-02   2.25627e-02   2.23959e-02   2.22342e-02   2.20776e-02   2.19254e-02   2.17772e-02   2.16324e-02   2.14912e-02   2.13539e-02   2.12196e-02   2.10877e-02   2.09575e-02   2.08295e-02   2.07039e-02   2.05802e-02   2.04573e-02   2.03346e-02   2.02126e-02   2.00918e-02   1.99714e-02   1.98505e-02   1.97283e-02   1.96053e-02   1.94821e-02   1.93578e-02   1.92317e-02   1.91030e-02   1.89720e-02   1.88392e-02   1.87038e-02   1.85652e-02   1.84226e-02   1.82761e-02   1.81260e-02   1.79717e-02   1.78128e-02   1.76486e-02   1.74790e-02   1.73040e-02   1.71232e-02   1.69361e-02   1.67426e-02   1.65421e-02   1.63341e-02   1.61187e-02   1.58955e-02   1.56645e-02   1.54248e-02   1.51759e-02   1.49177e-02   1.46501e-02   1.43731e-02   1.40859e-02   1.37874e-02   1.34778e-02   1.31568e-02   1.28244e-02   1.24797e-02   1.21215e-02   1.17496e-02   1.13636e-02   1.09633e-02   1.05471e-02   1.01138e-02   9.66331e-03   9.19585e-03   8.71145e-03   8.19200e-03   7.63568e-03   7.06700e-03   6.51048e-03   5.99064e-03   5.44029e-03   4.84136e-03   4.29201e-03   3.89041e-03   3.73473e-03   6.74602e-03   1.39268e-02   2.24974e-02   2.96781e-02   3.26894e-02   3.09183e-02   2.65479e-02   2.09926e-02   1.56666e-02   1.19842e-02   9.68931e-03   7.63068e-03   5.88008e-03   4.50926e-03   3.58998e-03   2.97867e-03   2.47591e-03   2.06971e-03   1.74809e-03   1.49905e-03   1.29843e-03   1.12803e-03   9.84795e-04   8.65683e-04   7.67642e-04   6.81517e-04   6.02799e-04   5.35412e-04   4.83282e-04   4.50331e-04   
+4.50000e-03   -3.85559e-04   -4.12808e-04   -4.54301e-04   -5.07208e-04   -5.68701e-04   -6.35951e-04   -7.12365e-04   -8.04545e-04   -9.14451e-04   -1.04404e-03   -1.19528e-03   -1.38270e-03   -1.62193e-03   -1.91661e-03   -2.27037e-03   -2.68682e-03   -3.27381e-03   -4.09045e-03   -5.06731e-03   -6.13495e-03   -7.22392e-03   -8.60082e-03   -1.03274e-02   -1.20271e-02   -1.33231e-02   -1.38388e-02   -1.33998e-02   -1.23424e-02   -1.10560e-02   -9.92981e-03   -9.35325e-03   -9.19373e-03   -9.06204e-03   -8.96256e-03   -8.89967e-03   -8.87773e-03   -8.97812e-03   -9.23676e-03   -9.58986e-03   -9.97364e-03   -1.03243e-02   -1.06488e-02   -1.09905e-02   -1.13403e-02   -1.16888e-02   -1.20270e-02   -1.23565e-02   -1.26837e-02   -1.30060e-02   -1.33211e-02   -1.36266e-02   -1.39235e-02   -1.42140e-02   -1.44971e-02   -1.47718e-02   -1.50371e-02   -1.52940e-02   -1.55437e-02   -1.57858e-02   -1.60199e-02   -1.62457e-02   -1.64638e-02   -1.66751e-02   -1.68795e-02   -1.70771e-02   -1.72678e-02   -1.74520e-02   -1.76301e-02   -1.78026e-02   -1.79696e-02   -1.81315e-02   -1.82882e-02   -1.84400e-02   -1.85874e-02   -1.87309e-02   -1.88711e-02   -1.90077e-02   -1.91407e-02   -1.92706e-02   -1.93982e-02   -1.95242e-02   -1.96481e-02   -1.97696e-02   -1.98894e-02   -2.00084e-02   -2.01274e-02   -2.02459e-02   -2.03634e-02   -2.04806e-02   -2.05984e-02   -2.07178e-02   -2.08382e-02   -2.09590e-02   -2.10810e-02   -2.12051e-02   -2.13319e-02   -2.14612e-02   -2.15925e-02   -2.17265e-02   -2.18639e-02   -2.20054e-02   -2.21508e-02   -2.23000e-02   -2.24536e-02   -2.26119e-02   -2.27756e-02   -2.29448e-02   -2.31197e-02   -2.33005e-02   -2.34878e-02   -2.36820e-02   -2.38835e-02   -2.40927e-02   -2.43099e-02   -2.45353e-02   -2.47692e-02   -2.50124e-02   -2.52655e-02   -2.55287e-02   -2.58024e-02   -2.60866e-02   -2.63824e-02   -2.66909e-02   -2.70122e-02   -2.73465e-02   -2.76939e-02   -2.80559e-02   -2.84337e-02   -2.88276e-02   -2.92377e-02   -2.96641e-02   -3.01086e-02   -3.05729e-02   -3.10573e-02   -3.15621e-02   -3.20875e-02   -3.26357e-02   -3.32089e-02   -3.38076e-02   -3.44321e-02   -3.50829e-02   -3.57627e-02   -3.64743e-02   -3.72186e-02   -3.79962e-02   -3.88079e-02   -3.96572e-02   -4.05477e-02   -4.14808e-02   -4.24578e-02   -4.34799e-02   -4.45515e-02   -4.56777e-02   -4.68609e-02   -4.81033e-02   -4.94072e-02   -5.07785e-02   -5.22244e-02   -5.37491e-02   -5.53567e-02   -5.70515e-02   -5.88419e-02   -6.07386e-02   -6.27492e-02   -6.48814e-02   -6.71429e-02   -6.95464e-02   -7.21094e-02   -7.48466e-02   -7.77727e-02   -8.09025e-02   -8.42584e-02   -8.78722e-02   -9.17720e-02   -9.59865e-02   -1.00544e-01   -1.05491e-01   -1.10894e-01   -1.16807e-01   -1.23288e-01   -1.30392e-01   -1.38242e-01   -1.46990e-01   -1.56740e-01   -1.67593e-01   -1.79652e-01   -1.93398e-01   -2.09225e-01   -2.27104e-01   -2.47006e-01   -2.68902e-01   -3.00121e-01   -3.41472e-01   -3.83149e-01   -4.15346e-01   -4.28258e-01   -4.26574e-01   -4.21747e-01   -4.14110e-01   -4.04000e-01   -3.91752e-01   -3.49930e-01   -2.68326e-01   -1.73113e-01   -9.04635e-02   -4.65520e-02   -3.20220e-02   -2.01574e-02   -1.10916e-02   -4.95798e-03   -1.88994e-03   -5.12933e-04   6.14778e-04   1.46062e-03   1.99201e-03   2.17638e-03   1.47793e-03   -1.95916e-04   -2.21286e-03   -3.94062e-03   -4.74691e-03   -4.85128e-03   -4.91244e-03   -4.95684e-03   -5.01092e-03   -5.10114e-03   -5.35155e-03   -5.77933e-03   -6.25061e-03   -6.63155e-03   -6.78827e-03   -6.66621e-03   -6.35944e-03   -5.95705e-03   -5.54816e-03   -5.22187e-03   -4.99230e-03   -4.79642e-03   -4.60762e-03   -4.39929e-03   -4.14481e-03   -3.80558e-03   -3.38538e-03   -2.92117e-03   -2.44990e-03   -2.00854e-03   -1.59891e-03   -1.19621e-03   -7.97474e-04   -3.99727e-04   0.00000e+00   3.99727e-04   7.97474e-04   1.19621e-03   1.59891e-03   2.00854e-03   2.44990e-03   2.92117e-03   3.38538e-03   3.80558e-03   4.14481e-03   4.39929e-03   4.60762e-03   4.79642e-03   4.99230e-03   5.22187e-03   5.54816e-03   5.95705e-03   6.35944e-03   6.66621e-03   6.78827e-03   6.63155e-03   6.25061e-03   5.77933e-03   5.35155e-03   5.10114e-03   5.01092e-03   4.95684e-03   4.91244e-03   4.85128e-03   4.74691e-03   3.94062e-03   2.21286e-03   1.95910e-04   -1.47793e-03   -2.17639e-03   -1.99202e-03   -1.46062e-03   -6.14772e-04   5.12950e-04   1.88997e-03   4.95802e-03   1.10916e-02   2.01574e-02   3.20220e-02   4.65520e-02   9.04632e-02   1.73112e-01   2.68324e-01   3.49928e-01   3.91750e-01   4.03999e-01   4.14109e-01   4.21746e-01   4.26574e-01   4.28258e-01   4.15346e-01   3.83149e-01   3.41472e-01   3.00121e-01   2.68902e-01   2.47006e-01   2.27104e-01   2.09225e-01   1.93398e-01   1.79652e-01   1.67593e-01   1.56740e-01   1.46990e-01   1.38242e-01   1.30392e-01   1.23288e-01   1.16807e-01   1.10894e-01   1.05491e-01   1.00544e-01   9.59865e-02   9.17720e-02   8.78722e-02   8.42584e-02   8.09025e-02   7.77727e-02   7.48466e-02   7.21094e-02   6.95464e-02   6.71429e-02   6.48814e-02   6.27492e-02   6.07386e-02   5.88419e-02   5.70515e-02   5.53567e-02   5.37491e-02   5.22244e-02   5.07785e-02   4.94072e-02   4.81033e-02   4.68609e-02   4.56777e-02   4.45515e-02   4.34799e-02   4.24578e-02   4.14808e-02   4.05477e-02   3.96572e-02   3.88079e-02   3.79962e-02   3.72186e-02   3.64743e-02   3.57627e-02   3.50829e-02   3.44321e-02   3.38076e-02   3.32089e-02   3.26357e-02   3.20875e-02   3.15621e-02   3.10573e-02   3.05729e-02   3.01086e-02   2.96641e-02   2.92376e-02   2.88274e-02   2.84334e-02   2.80555e-02   2.76935e-02   2.73461e-02   2.70119e-02   2.66908e-02   2.63824e-02   2.60866e-02   2.58024e-02   2.55288e-02   2.52655e-02   2.50124e-02   2.47692e-02   2.45353e-02   2.43099e-02   2.40927e-02   2.38835e-02   2.36820e-02   2.34878e-02   2.33005e-02   2.31197e-02   2.29448e-02   2.27756e-02   2.26119e-02   2.24536e-02   2.23000e-02   2.21508e-02   2.20054e-02   2.18639e-02   2.17265e-02   2.15925e-02   2.14612e-02   2.13319e-02   2.12051e-02   2.10810e-02   2.09590e-02   2.08382e-02   2.07178e-02   2.05984e-02   2.04806e-02   2.03634e-02   2.02459e-02   2.01274e-02   2.00083e-02   1.98893e-02   1.97695e-02   1.96480e-02   1.95241e-02   1.93981e-02   1.92705e-02   1.91406e-02   1.90077e-02   1.88711e-02   1.87309e-02   1.85874e-02   1.84400e-02   1.82882e-02   1.81315e-02   1.79696e-02   1.78026e-02   1.76301e-02   1.74520e-02   1.72678e-02   1.70771e-02   1.68795e-02   1.66751e-02   1.64638e-02   1.62457e-02   1.60199e-02   1.57858e-02   1.55437e-02   1.52940e-02   1.50371e-02   1.47718e-02   1.44971e-02   1.42140e-02   1.39235e-02   1.36266e-02   1.33211e-02   1.30060e-02   1.26837e-02   1.23565e-02   1.20270e-02   1.16888e-02   1.13403e-02   1.09905e-02   1.06488e-02   1.03243e-02   9.97364e-03   9.58986e-03   9.23676e-03   8.97812e-03   8.87773e-03   8.89967e-03   8.96256e-03   9.06204e-03   9.19373e-03   9.35325e-03   9.92981e-03   1.10560e-02   1.23424e-02   1.33998e-02   1.38388e-02   1.33231e-02   1.20271e-02   1.03274e-02   8.60082e-03   7.22392e-03   6.13495e-03   5.06731e-03   4.09045e-03   3.27381e-03   2.68682e-03   2.27037e-03   1.91662e-03   1.62193e-03   1.38270e-03   1.19528e-03   1.04404e-03   9.14451e-04   8.04545e-04   7.12364e-04   6.35950e-04   5.68700e-04   5.07208e-04   4.54301e-04   4.12808e-04   3.85559e-04   
+4.00000e-03   -3.25347e-04   -3.47012e-04   -3.78537e-04   -4.18043e-04   -4.63652e-04   -5.13484e-04   -5.69894e-04   -6.37265e-04   -7.16765e-04   -8.09558e-04   -9.16810e-04   -1.04847e-03   -1.21385e-03   -1.41311e-03   -1.64644e-03   -1.91402e-03   -2.26098e-03   -2.71271e-03   -3.23981e-03   -3.81284e-03   -4.40240e-03   -5.10414e-03   -5.94567e-03   -6.79556e-03   -7.52232e-03   -7.99450e-03   -8.26121e-03   -8.47144e-03   -8.64352e-03   -8.79583e-03   -8.94670e-03   -9.08701e-03   -9.20662e-03   -9.32231e-03   -9.45090e-03   -9.60919e-03   -9.81920e-03   -1.00796e-02   -1.03724e-02   -1.06792e-02   -1.09820e-02   -1.12860e-02   -1.16041e-02   -1.19291e-02   -1.22542e-02   -1.25725e-02   -1.28858e-02   -1.31987e-02   -1.35086e-02   -1.38126e-02   -1.41080e-02   -1.43960e-02   -1.46787e-02   -1.49550e-02   -1.52236e-02   -1.54831e-02   -1.57346e-02   -1.59794e-02   -1.62169e-02   -1.64468e-02   -1.66683e-02   -1.68822e-02   -1.70895e-02   -1.72901e-02   -1.74838e-02   -1.76706e-02   -1.78508e-02   -1.80251e-02   -1.81937e-02   -1.83569e-02   -1.85150e-02   -1.86679e-02   -1.88160e-02   -1.89597e-02   -1.90995e-02   -1.92361e-02   -1.93691e-02   -1.94985e-02   -1.96248e-02   -1.97490e-02   -1.98717e-02   -1.99925e-02   -2.01108e-02   -2.02277e-02   -2.03439e-02   -2.04603e-02   -2.05763e-02   -2.06914e-02   -2.08064e-02   -2.09222e-02   -2.10397e-02   -2.11584e-02   -2.12776e-02   -2.13983e-02   -2.15212e-02   -2.16472e-02   -2.17759e-02   -2.19070e-02   -2.20411e-02   -2.21788e-02   -2.23208e-02   -2.24670e-02   -2.26174e-02   -2.27724e-02   -2.29325e-02   -2.30983e-02   -2.32700e-02   -2.34478e-02   -2.36320e-02   -2.38230e-02   -2.40211e-02   -2.42269e-02   -2.44410e-02   -2.46634e-02   -2.48946e-02   -2.51346e-02   -2.53844e-02   -2.56447e-02   -2.59158e-02   -2.61978e-02   -2.64909e-02   -2.67963e-02   -2.71151e-02   -2.74475e-02   -2.77935e-02   -2.81532e-02   -2.85281e-02   -2.89196e-02   -2.93281e-02   -2.97536e-02   -3.01965e-02   -3.06586e-02   -3.11419e-02   -3.16464e-02   -3.21724e-02   -3.27199e-02   -3.32912e-02   -3.38888e-02   -3.45131e-02   -3.51646e-02   -3.58438e-02   -3.65536e-02   -3.72971e-02   -3.80750e-02   -3.88880e-02   -3.97367e-02   -4.06250e-02   -4.15568e-02   -4.25333e-02   -4.35558e-02   -4.46253e-02   -4.57466e-02   -4.69252e-02   -4.81632e-02   -4.94628e-02   -5.08263e-02   -5.22601e-02   -5.37716e-02   -5.53647e-02   -5.70432e-02   -5.88109e-02   -6.06769e-02   -6.26521e-02   -6.47435e-02   -6.69578e-02   -6.93016e-02   -7.17888e-02   -7.44368e-02   -7.72578e-02   -8.02640e-02   -8.34678e-02   -8.68928e-02   -9.05687e-02   -9.45172e-02   -9.87594e-02   -1.03317e-01   -1.08238e-01   -1.13579e-01   -1.19373e-01   -1.25652e-01   -1.32451e-01   -1.39894e-01   -1.48094e-01   -1.57065e-01   -1.66822e-01   -1.77377e-01   -1.89223e-01   -2.02574e-01   -2.17024e-01   -2.32170e-01   -2.47607e-01   -2.66418e-01   -2.88935e-01   -3.10627e-01   -3.26965e-01   -3.33417e-01   -3.31487e-01   -3.26121e-01   -3.17958e-01   -3.07635e-01   -2.95790e-01   -2.72937e-01   -2.35084e-01   -1.91111e-01   -1.49901e-01   -1.20334e-01   -1.00427e-01   -8.26010e-02   -6.73463e-02   -5.51512e-02   -4.65044e-02   -4.02622e-02   -3.49613e-02   -3.06109e-02   -2.72202e-02   -2.47987e-02   -2.30657e-02   -2.16716e-02   -2.05219e-02   -1.95224e-02   -1.85786e-02   -1.76766e-02   -1.68563e-02   -1.61046e-02   -1.54083e-02   -1.47542e-02   -1.41538e-02   -1.36086e-02   -1.30904e-02   -1.25711e-02   -1.20224e-02   -1.14380e-02   -1.08361e-02   -1.02256e-02   -9.61496e-03   -9.01307e-03   -8.42258e-03   -7.83763e-03   -7.25415e-03   -6.66806e-03   -6.07529e-03   -5.47409e-03   -4.86711e-03   -4.25687e-03   -3.64587e-03   -3.03663e-03   -2.42917e-03   -1.82183e-03   -1.21455e-03   -6.07294e-04   0.00000e+00   6.07294e-04   1.21455e-03   1.82183e-03   2.42917e-03   3.03663e-03   3.64587e-03   4.25687e-03   4.86711e-03   5.47409e-03   6.07529e-03   6.66806e-03   7.25415e-03   7.83763e-03   8.42258e-03   9.01307e-03   9.61496e-03   1.02256e-02   1.08361e-02   1.14380e-02   1.20224e-02   1.25711e-02   1.30904e-02   1.36086e-02   1.41538e-02   1.47542e-02   1.54083e-02   1.61046e-02   1.68563e-02   1.76766e-02   1.85786e-02   1.95224e-02   2.05219e-02   2.16716e-02   2.30657e-02   2.47987e-02   2.72202e-02   3.06109e-02   3.49613e-02   4.02622e-02   4.65044e-02   5.51512e-02   6.73463e-02   8.26010e-02   1.00427e-01   1.20334e-01   1.49901e-01   1.91111e-01   2.35084e-01   2.72937e-01   2.95790e-01   3.07635e-01   3.17958e-01   3.26121e-01   3.31487e-01   3.33417e-01   3.26965e-01   3.10627e-01   2.88935e-01   2.66418e-01   2.47607e-01   2.32170e-01   2.17024e-01   2.02574e-01   1.89223e-01   1.77377e-01   1.66822e-01   1.57065e-01   1.48094e-01   1.39894e-01   1.32451e-01   1.25652e-01   1.19373e-01   1.13579e-01   1.08238e-01   1.03317e-01   9.87593e-02   9.45169e-02   9.05683e-02   8.68922e-02   8.34672e-02   8.02635e-02   7.72574e-02   7.44366e-02   7.17887e-02   6.93016e-02   6.69578e-02   6.47436e-02   6.26522e-02   6.06769e-02   5.88109e-02   5.70432e-02   5.53647e-02   5.37716e-02   5.22601e-02   5.08263e-02   4.94628e-02   4.81632e-02   4.69252e-02   4.57466e-02   4.46253e-02   4.35558e-02   4.25333e-02   4.15568e-02   4.06250e-02   3.97367e-02   3.88880e-02   3.80750e-02   3.72971e-02   3.65536e-02   3.58438e-02   3.51646e-02   3.45131e-02   3.38888e-02   3.32912e-02   3.27199e-02   3.21724e-02   3.16464e-02   3.11419e-02   3.06586e-02   3.01965e-02   2.97536e-02   2.93281e-02   2.89196e-02   2.85281e-02   2.81532e-02   2.77935e-02   2.74475e-02   2.71151e-02   2.67963e-02   2.64909e-02   2.61978e-02   2.59158e-02   2.56447e-02   2.53844e-02   2.51346e-02   2.48945e-02   2.46634e-02   2.44410e-02   2.42269e-02   2.40211e-02   2.38230e-02   2.36321e-02   2.34479e-02   2.32702e-02   2.30985e-02   2.29327e-02   2.27725e-02   2.26175e-02   2.24671e-02   2.23208e-02   2.21788e-02   2.20411e-02   2.19070e-02   2.17759e-02   2.16472e-02   2.15212e-02   2.13983e-02   2.12776e-02   2.11584e-02   2.10397e-02   2.09222e-02   2.08064e-02   2.06914e-02   2.05763e-02   2.04603e-02   2.03439e-02   2.02277e-02   2.01108e-02   1.99925e-02   1.98717e-02   1.97490e-02   1.96248e-02   1.94985e-02   1.93691e-02   1.92361e-02   1.90995e-02   1.89597e-02   1.88160e-02   1.86679e-02   1.85150e-02   1.83569e-02   1.81937e-02   1.80251e-02   1.78508e-02   1.76705e-02   1.74837e-02   1.72900e-02   1.70895e-02   1.68823e-02   1.66684e-02   1.64469e-02   1.62171e-02   1.59795e-02   1.57347e-02   1.54832e-02   1.52236e-02   1.49551e-02   1.46788e-02   1.43960e-02   1.41080e-02   1.38126e-02   1.35086e-02   1.31987e-02   1.28858e-02   1.25725e-02   1.22542e-02   1.19291e-02   1.16041e-02   1.12860e-02   1.09820e-02   1.06792e-02   1.03724e-02   1.00796e-02   9.81919e-03   9.60918e-03   9.45089e-03   9.32230e-03   9.20661e-03   9.08700e-03   8.94669e-03   8.79582e-03   8.64352e-03   8.47143e-03   8.26121e-03   7.99450e-03   7.52232e-03   6.79556e-03   5.94568e-03   5.10414e-03   4.40240e-03   3.81284e-03   3.23981e-03   2.71271e-03   2.26098e-03   1.91402e-03   1.64644e-03   1.41311e-03   1.21385e-03   1.04848e-03   9.16811e-04   8.09559e-04   7.16765e-04   6.37266e-04   5.69894e-04   5.13484e-04   4.63652e-04   4.18043e-04   3.78537e-04   3.47012e-04   3.25347e-04   
+3.50000e-03   -2.71691e-04   -2.87941e-04   -3.10704e-04   -3.38788e-04   -3.71003e-04   -4.06158e-04   -4.45722e-04   -4.92473e-04   -5.47186e-04   -6.10634e-04   -6.83591e-04   -7.72393e-04   -8.82652e-04   -1.01405e-03   -1.16627e-03   -1.33900e-03   -1.55340e-03   -1.82322e-03   -2.13701e-03   -2.48333e-03   -2.85073e-03   -3.27149e-03   -3.76217e-03   -4.28777e-03   -4.81327e-03   -5.30368e-03   -5.76315e-03   -6.21568e-03   -6.65603e-03   -7.07896e-03   -7.47923e-03   -7.85245e-03   -8.20403e-03   -8.54338e-03   -8.87994e-03   -9.22315e-03   -9.57337e-03   -9.92431e-03   -1.02754e-02   -1.06262e-02   -1.09760e-02   -1.13268e-02   -1.16789e-02   -1.20296e-02   -1.23759e-02   -1.27151e-02   -1.30486e-02   -1.33786e-02   -1.37030e-02   -1.40200e-02   -1.43274e-02   -1.46266e-02   -1.49194e-02   -1.52045e-02   -1.54810e-02   -1.57476e-02   -1.60054e-02   -1.62557e-02   -1.64982e-02   -1.67322e-02   -1.69572e-02   -1.71740e-02   -1.73837e-02   -1.75862e-02   -1.77814e-02   -1.79692e-02   -1.81501e-02   -1.83247e-02   -1.84934e-02   -1.86563e-02   -1.88138e-02   -1.89660e-02   -1.91130e-02   -1.92555e-02   -1.93940e-02   -1.95291e-02   -1.96605e-02   -1.97881e-02   -1.99127e-02   -2.00351e-02   -2.01560e-02   -2.02750e-02   -2.03916e-02   -2.05066e-02   -2.06211e-02   -2.07359e-02   -2.08504e-02   -2.09640e-02   -2.10777e-02   -2.11922e-02   -2.13086e-02   -2.14263e-02   -2.15448e-02   -2.16648e-02   -2.17872e-02   -2.19128e-02   -2.20413e-02   -2.21723e-02   -2.23066e-02   -2.24447e-02   -2.25873e-02   -2.27345e-02   -2.28861e-02   -2.30427e-02   -2.32047e-02   -2.33725e-02   -2.35465e-02   -2.37268e-02   -2.39139e-02   -2.41081e-02   -2.43098e-02   -2.45195e-02   -2.47379e-02   -2.49650e-02   -2.52013e-02   -2.54469e-02   -2.57028e-02   -2.59697e-02   -2.62480e-02   -2.65376e-02   -2.68388e-02   -2.71527e-02   -2.74806e-02   -2.78226e-02   -2.81788e-02   -2.85495e-02   -2.89362e-02   -2.93405e-02   -2.97625e-02   -3.02023e-02   -3.06600e-02   -3.11376e-02   -3.16371e-02   -3.21587e-02   -3.27028e-02   -3.32694e-02   -3.38611e-02   -3.44804e-02   -3.51277e-02   -3.58034e-02   -3.65079e-02   -3.72443e-02   -3.80159e-02   -3.88233e-02   -3.96671e-02   -4.05479e-02   -4.14697e-02   -4.24367e-02   -4.34501e-02   -4.45110e-02   -4.56204e-02   -4.67836e-02   -4.80062e-02   -4.92901e-02   -5.06371e-02   -5.20490e-02   -5.35327e-02   -5.50959e-02   -5.67419e-02   -5.84740e-02   -6.02953e-02   -6.22156e-02   -6.42460e-02   -6.63918e-02   -6.86583e-02   -7.10508e-02   -7.35837e-02   -7.62737e-02   -7.91299e-02   -8.21608e-02   -8.53755e-02   -8.87981e-02   -9.24554e-02   -9.63600e-02   -1.00525e-01   -1.04962e-01   -1.09720e-01   -1.14843e-01   -1.20341e-01   -1.26222e-01   -1.32495e-01   -1.39278e-01   -1.46648e-01   -1.54550e-01   -1.62932e-01   -1.71740e-01   -1.81390e-01   -1.91998e-01   -2.03059e-01   -2.14067e-01   -2.24519e-01   -2.35867e-01   -2.48458e-01   -2.60129e-01   -2.68718e-01   -2.72062e-01   -2.70625e-01   -2.66678e-01   -2.60768e-01   -2.53439e-01   -2.45238e-01   -2.32047e-01   -2.11824e-01   -1.88226e-01   -1.64912e-01   -1.45540e-01   -1.29468e-01   -1.14018e-01   -9.97967e-02   -8.74092e-02   -7.74612e-02   -6.94086e-02   -6.22937e-02   -5.61020e-02   -5.08185e-02   -4.64288e-02   -4.27394e-02   -3.95191e-02   -3.66962e-02   -3.41993e-02   -3.19566e-02   -2.99301e-02   -2.81049e-02   -2.64447e-02   -2.49128e-02   -2.34728e-02   -2.21224e-02   -2.08688e-02   -1.96902e-02   -1.85645e-02   -1.74697e-02   -1.64077e-02   -1.53892e-02   -1.44055e-02   -1.34479e-02   -1.25078e-02   -1.15871e-02   -1.06902e-02   -9.81240e-03   -8.94874e-03   -8.09437e-03   -7.25144e-03   -6.42279e-03   -5.60450e-03   -4.79270e-03   -3.98347e-03   -3.17875e-03   -2.38105e-03   -1.58737e-03   -7.94687e-04   0.00000e+00   7.94687e-04   1.58737e-03   2.38105e-03   3.17875e-03   3.98347e-03   4.79270e-03   5.60450e-03   6.42279e-03   7.25144e-03   8.09437e-03   8.94874e-03   9.81240e-03   1.06902e-02   1.15871e-02   1.25078e-02   1.34479e-02   1.44055e-02   1.53892e-02   1.64077e-02   1.74697e-02   1.85645e-02   1.96902e-02   2.08688e-02   2.21224e-02   2.34728e-02   2.49128e-02   2.64447e-02   2.81049e-02   2.99301e-02   3.19566e-02   3.41993e-02   3.66962e-02   3.95191e-02   4.27394e-02   4.64288e-02   5.08185e-02   5.61020e-02   6.22937e-02   6.94086e-02   7.74612e-02   8.74092e-02   9.97967e-02   1.14018e-01   1.29468e-01   1.45540e-01   1.64912e-01   1.88226e-01   2.11824e-01   2.32047e-01   2.45238e-01   2.53439e-01   2.60768e-01   2.66678e-01   2.70625e-01   2.72062e-01   2.68718e-01   2.60129e-01   2.48458e-01   2.35867e-01   2.24519e-01   2.14067e-01   2.03059e-01   1.91998e-01   1.81390e-01   1.71740e-01   1.62932e-01   1.54550e-01   1.46648e-01   1.39278e-01   1.32495e-01   1.26222e-01   1.20341e-01   1.14843e-01   1.09720e-01   1.04962e-01   1.00525e-01   9.63600e-02   9.24554e-02   8.87981e-02   8.53755e-02   8.21608e-02   7.91299e-02   7.62737e-02   7.35837e-02   7.10508e-02   6.86583e-02   6.63918e-02   6.42460e-02   6.22156e-02   6.02953e-02   5.84740e-02   5.67419e-02   5.50959e-02   5.35327e-02   5.20490e-02   5.06371e-02   4.92901e-02   4.80062e-02   4.67836e-02   4.56204e-02   4.45110e-02   4.34501e-02   4.24367e-02   4.14697e-02   4.05479e-02   3.96671e-02   3.88233e-02   3.80159e-02   3.72443e-02   3.65079e-02   3.58034e-02   3.51277e-02   3.44804e-02   3.38611e-02   3.32694e-02   3.27028e-02   3.21587e-02   3.16371e-02   3.11376e-02   3.06600e-02   3.02023e-02   2.97625e-02   2.93405e-02   2.89362e-02   2.85495e-02   2.81788e-02   2.78226e-02   2.74806e-02   2.71527e-02   2.68388e-02   2.65376e-02   2.62480e-02   2.59698e-02   2.57028e-02   2.54469e-02   2.52013e-02   2.49650e-02   2.47377e-02   2.45193e-02   2.43096e-02   2.41080e-02   2.39138e-02   2.37268e-02   2.35464e-02   2.33725e-02   2.32047e-02   2.30427e-02   2.28862e-02   2.27345e-02   2.25873e-02   2.24447e-02   2.23066e-02   2.21723e-02   2.20413e-02   2.19128e-02   2.17872e-02   2.16648e-02   2.15448e-02   2.14263e-02   2.13086e-02   2.11922e-02   2.10777e-02   2.09640e-02   2.08504e-02   2.07359e-02   2.06211e-02   2.05066e-02   2.03916e-02   2.02750e-02   2.01560e-02   2.00351e-02   1.99127e-02   1.97881e-02   1.96605e-02   1.95291e-02   1.93940e-02   1.92555e-02   1.91130e-02   1.89660e-02   1.88138e-02   1.86563e-02   1.84934e-02   1.83247e-02   1.81501e-02   1.79692e-02   1.77814e-02   1.75862e-02   1.73837e-02   1.71740e-02   1.69572e-02   1.67321e-02   1.64981e-02   1.62557e-02   1.60054e-02   1.57476e-02   1.54810e-02   1.52046e-02   1.49194e-02   1.46267e-02   1.43275e-02   1.40201e-02   1.37031e-02   1.33787e-02   1.30487e-02   1.27151e-02   1.23759e-02   1.20296e-02   1.16789e-02   1.13268e-02   1.09760e-02   1.06262e-02   1.02754e-02   9.92431e-03   9.57337e-03   9.22315e-03   8.87994e-03   8.54338e-03   8.20403e-03   7.85245e-03   7.47923e-03   7.07896e-03   6.65603e-03   6.21568e-03   5.76315e-03   5.30368e-03   4.81327e-03   4.28777e-03   3.76217e-03   3.27149e-03   2.85073e-03   2.48333e-03   2.13701e-03   1.82322e-03   1.55340e-03   1.33900e-03   1.16627e-03   1.01405e-03   8.82652e-04   7.72393e-04   6.83591e-04   6.10634e-04   5.47186e-04   4.92473e-04   4.45722e-04   4.06158e-04   3.71003e-04   3.38788e-04   3.10704e-04   2.87941e-04   2.71691e-04   
+3.00000e-03   -2.25723e-04   -2.36999e-04   -2.52482e-04   -2.71421e-04   -2.93065e-04   -3.16664e-04   -3.43052e-04   -3.73980e-04   -4.10072e-04   -4.51956e-04   -5.00255e-04   -5.59220e-04   -6.32576e-04   -7.20161e-04   -8.21814e-04   -9.37374e-04   -1.07975e-03   -1.25841e-03   -1.46807e-03   -1.70341e-03   -1.95914e-03   -2.25602e-03   -2.60748e-03   -2.99720e-03   -3.40889e-03   -3.82623e-03   -4.26014e-03   -4.72356e-03   -5.20318e-03   -5.68569e-03   -6.15778e-03   -6.62115e-03   -7.08469e-03   -7.54587e-03   -8.00217e-03   -8.45106e-03   -8.89339e-03   -9.33101e-03   -9.76292e-03   -1.01881e-02   -1.06056e-02   -1.10168e-02   -1.14226e-02   -1.18213e-02   -1.22113e-02   -1.25909e-02   -1.29616e-02   -1.33250e-02   -1.36797e-02   -1.40241e-02   -1.43568e-02   -1.46791e-02   -1.49929e-02   -1.52970e-02   -1.55907e-02   -1.58729e-02   -1.61448e-02   -1.64079e-02   -1.66619e-02   -1.69061e-02   -1.71403e-02   -1.73652e-02   -1.75821e-02   -1.77908e-02   -1.79915e-02   -1.81840e-02   -1.83689e-02   -1.85469e-02   -1.87183e-02   -1.88835e-02   -1.90429e-02   -1.91965e-02   -1.93445e-02   -1.94877e-02   -1.96266e-02   -1.97620e-02   -1.98935e-02   -2.00209e-02   -2.01451e-02   -2.02669e-02   -2.03873e-02   -2.05056e-02   -2.06215e-02   -2.07357e-02   -2.08493e-02   -2.09633e-02   -2.10770e-02   -2.11897e-02   -2.13024e-02   -2.14162e-02   -2.15319e-02   -2.16491e-02   -2.17672e-02   -2.18870e-02   -2.20093e-02   -2.21349e-02   -2.22635e-02   -2.23948e-02   -2.25293e-02   -2.26680e-02   -2.28113e-02   -2.29594e-02   -2.31122e-02   -2.32702e-02   -2.34338e-02   -2.36034e-02   -2.37795e-02   -2.39623e-02   -2.41521e-02   -2.43493e-02   -2.45542e-02   -2.47675e-02   -2.49899e-02   -2.52214e-02   -2.54624e-02   -2.57129e-02   -2.59740e-02   -2.62467e-02   -2.65310e-02   -2.68272e-02   -2.71353e-02   -2.74568e-02   -2.77928e-02   -2.81435e-02   -2.85090e-02   -2.88894e-02   -2.92863e-02   -2.97014e-02   -3.01349e-02   -3.05868e-02   -3.10573e-02   -3.15484e-02   -3.20622e-02   -3.25991e-02   -3.31591e-02   -3.37425e-02   -3.43520e-02   -3.49902e-02   -3.56574e-02   -3.63540e-02   -3.70802e-02   -3.78392e-02   -3.86346e-02   -3.94669e-02   -4.03366e-02   -4.12445e-02   -4.21947e-02   -4.31916e-02   -4.42362e-02   -4.53293e-02   -4.64718e-02   -4.76691e-02   -4.89272e-02   -5.02475e-02   -5.16315e-02   -5.30808e-02   -5.46026e-02   -5.62048e-02   -5.78899e-02   -5.96602e-02   -6.15183e-02   -6.34743e-02   -6.55392e-02   -6.77166e-02   -7.00100e-02   -7.24231e-02   -7.49708e-02   -7.76688e-02   -8.05222e-02   -8.35359e-02   -8.67148e-02   -9.00832e-02   -9.36644e-02   -9.74623e-02   -1.01481e-01   -1.05723e-01   -1.10235e-01   -1.15051e-01   -1.20162e-01   -1.25554e-01   -1.31218e-01   -1.37257e-01   -1.43724e-01   -1.50528e-01   -1.57577e-01   -1.64782e-01   -1.72471e-01   -1.80722e-01   -1.89072e-01   -1.97058e-01   -2.04214e-01   -2.11371e-01   -2.18910e-01   -2.25699e-01   -2.30604e-01   -2.32491e-01   -2.31491e-01   -2.28759e-01   -2.24696e-01   -2.19702e-01   -2.14177e-01   -2.05980e-01   -1.93891e-01   -1.79696e-01   -1.65177e-01   -1.52121e-01   -1.40172e-01   -1.28126e-01   -1.16494e-01   -1.05788e-01   -9.65166e-02   -8.84400e-02   -8.10011e-02   -7.42370e-02   -6.81847e-02   -6.28812e-02   -5.82003e-02   -5.39637e-02   -5.01305e-02   -4.66596e-02   -4.35102e-02   -4.06398e-02   -3.80117e-02   -3.55933e-02   -3.33522e-02   -3.12558e-02   -2.92932e-02   -2.74621e-02   -2.57423e-02   -2.41142e-02   -2.25578e-02   -2.10719e-02   -1.96607e-02   -1.83118e-02   -1.70132e-02   -1.57526e-02   -1.45319e-02   -1.33556e-02   -1.22156e-02   -1.11036e-02   -1.00117e-02   -8.94312e-03   -7.90201e-03   -6.88127e-03   -5.87384e-03   -4.87263e-03   -3.88151e-03   -2.90490e-03   -1.93660e-03   -9.70376e-04   0.00000e+00   9.70376e-04   1.93660e-03   2.90490e-03   3.88151e-03   4.87263e-03   5.87384e-03   6.88127e-03   7.90201e-03   8.94312e-03   1.00117e-02   1.11036e-02   1.22156e-02   1.33556e-02   1.45319e-02   1.57526e-02   1.70132e-02   1.83118e-02   1.96607e-02   2.10719e-02   2.25578e-02   2.41142e-02   2.57423e-02   2.74621e-02   2.92932e-02   3.12558e-02   3.33522e-02   3.55933e-02   3.80117e-02   4.06398e-02   4.35102e-02   4.66596e-02   5.01305e-02   5.39637e-02   5.82003e-02   6.28812e-02   6.81847e-02   7.42370e-02   8.10011e-02   8.84400e-02   9.65166e-02   1.05788e-01   1.16494e-01   1.28126e-01   1.40172e-01   1.52121e-01   1.65178e-01   1.79696e-01   1.93892e-01   2.05980e-01   2.14177e-01   2.19701e-01   2.24695e-01   2.28758e-01   2.31489e-01   2.32489e-01   2.30602e-01   2.25698e-01   2.18909e-01   2.11370e-01   2.04214e-01   1.97058e-01   1.89073e-01   1.80722e-01   1.72471e-01   1.64782e-01   1.57577e-01   1.50528e-01   1.43724e-01   1.37257e-01   1.31218e-01   1.25554e-01   1.20162e-01   1.15052e-01   1.10236e-01   1.05724e-01   1.01481e-01   9.74629e-02   9.36648e-02   9.00833e-02   8.67148e-02   8.35358e-02   8.05222e-02   7.76688e-02   7.49708e-02   7.24231e-02   7.00100e-02   6.77166e-02   6.55392e-02   6.34743e-02   6.15183e-02   5.96602e-02   5.78899e-02   5.62048e-02   5.46026e-02   5.30808e-02   5.16315e-02   5.02475e-02   4.89272e-02   4.76691e-02   4.64718e-02   4.53293e-02   4.42362e-02   4.31916e-02   4.21947e-02   4.12445e-02   4.03366e-02   3.94668e-02   3.86346e-02   3.78392e-02   3.70802e-02   3.63541e-02   3.56576e-02   3.49905e-02   3.43524e-02   3.37429e-02   3.31594e-02   3.25993e-02   3.20624e-02   3.15485e-02   3.10573e-02   3.05868e-02   3.01349e-02   2.97014e-02   2.92863e-02   2.88894e-02   2.85090e-02   2.81435e-02   2.77928e-02   2.74568e-02   2.71353e-02   2.68272e-02   2.65310e-02   2.62467e-02   2.59740e-02   2.57129e-02   2.54624e-02   2.52214e-02   2.49899e-02   2.47675e-02   2.45542e-02   2.43493e-02   2.41521e-02   2.39623e-02   2.37796e-02   2.36035e-02   2.34338e-02   2.32702e-02   2.31121e-02   2.29593e-02   2.28111e-02   2.26678e-02   2.25292e-02   2.23947e-02   2.22635e-02   2.21349e-02   2.20093e-02   2.18870e-02   2.17672e-02   2.16491e-02   2.15319e-02   2.14162e-02   2.13024e-02   2.11897e-02   2.10770e-02   2.09633e-02   2.08493e-02   2.07357e-02   2.06215e-02   2.05056e-02   2.03873e-02   2.02669e-02   2.01451e-02   2.00209e-02   1.98935e-02   1.97620e-02   1.96266e-02   1.94877e-02   1.93445e-02   1.91965e-02   1.90429e-02   1.88835e-02   1.87183e-02   1.85469e-02   1.83689e-02   1.81840e-02   1.79915e-02   1.77908e-02   1.75821e-02   1.73652e-02   1.71403e-02   1.69061e-02   1.66619e-02   1.64079e-02   1.61448e-02   1.58729e-02   1.55907e-02   1.52970e-02   1.49929e-02   1.46791e-02   1.43568e-02   1.40241e-02   1.36797e-02   1.33250e-02   1.29616e-02   1.25909e-02   1.22113e-02   1.18213e-02   1.14226e-02   1.10168e-02   1.06056e-02   1.01881e-02   9.76292e-03   9.33101e-03   8.89339e-03   8.45106e-03   8.00217e-03   7.54587e-03   7.08469e-03   6.62115e-03   6.15778e-03   5.68569e-03   5.20318e-03   4.72356e-03   4.26014e-03   3.82623e-03   3.40889e-03   2.99720e-03   2.60748e-03   2.25602e-03   1.95914e-03   1.70341e-03   1.46807e-03   1.25841e-03   1.07975e-03   9.37374e-04   8.21814e-04   7.20161e-04   6.32576e-04   5.59220e-04   5.00255e-04   4.51956e-04   4.10073e-04   3.73980e-04   3.43053e-04   3.16665e-04   2.93066e-04   2.71422e-04   2.52483e-04   2.37000e-04   2.25723e-04   
+2.50000e-03   -1.87816e-04   -1.94828e-04   -2.04559e-04   -2.16518e-04   -2.30213e-04   -2.45152e-04   -2.61790e-04   -2.81274e-04   -3.04151e-04   -3.30969e-04   -3.62275e-04   -4.01409e-04   -4.51247e-04   -5.11637e-04   -5.82430e-04   -6.63474e-04   -7.64851e-04   -8.94457e-04   -1.04887e-03   -1.22465e-03   -1.41839e-03   -1.64738e-03   -1.92412e-03   -2.23792e-03   -2.57812e-03   -2.93405e-03   -3.32019e-03   -3.74896e-03   -4.20659e-03   -4.67931e-03   -5.15337e-03   -5.63507e-03   -6.13423e-03   -6.64241e-03   -7.15114e-03   -7.65195e-03   -8.14756e-03   -8.64363e-03   -9.13614e-03   -9.62104e-03   -1.00943e-02   -1.05579e-02   -1.10150e-02   -1.14631e-02   -1.18998e-02   -1.23227e-02   -1.27336e-02   -1.31350e-02   -1.35252e-02   -1.39025e-02   -1.42655e-02   -1.46157e-02   -1.49554e-02   -1.52835e-02   -1.55990e-02   -1.59011e-02   -1.61911e-02   -1.64708e-02   -1.67399e-02   -1.69978e-02   -1.72442e-02   -1.74801e-02   -1.77068e-02   -1.79244e-02   -1.81329e-02   -1.83324e-02   -1.85234e-02   -1.87067e-02   -1.88828e-02   -1.90521e-02   -1.92150e-02   -1.93716e-02   -1.95221e-02   -1.96674e-02   -1.98080e-02   -1.99448e-02   -2.00773e-02   -2.02055e-02   -2.03301e-02   -2.04523e-02   -2.05729e-02   -2.06913e-02   -2.08070e-02   -2.09211e-02   -2.10345e-02   -2.11482e-02   -2.12616e-02   -2.13740e-02   -2.14864e-02   -2.15999e-02   -2.17154e-02   -2.18324e-02   -2.19504e-02   -2.20700e-02   -2.21923e-02   -2.23180e-02   -2.24469e-02   -2.25785e-02   -2.27136e-02   -2.28529e-02   -2.29970e-02   -2.31460e-02   -2.32999e-02   -2.34591e-02   -2.36241e-02   -2.37954e-02   -2.39734e-02   -2.41583e-02   -2.43506e-02   -2.45504e-02   -2.47582e-02   -2.49746e-02   -2.52003e-02   -2.54355e-02   -2.56804e-02   -2.59352e-02   -2.62009e-02   -2.64786e-02   -2.67683e-02   -2.70702e-02   -2.73844e-02   -2.77123e-02   -2.80551e-02   -2.84131e-02   -2.87864e-02   -2.91749e-02   -2.95805e-02   -3.00049e-02   -3.04483e-02   -3.09106e-02   -3.13920e-02   -3.18946e-02   -3.24207e-02   -3.29705e-02   -3.35441e-02   -3.41417e-02   -3.47661e-02   -3.54201e-02   -3.61039e-02   -3.68178e-02   -3.75620e-02   -3.83401e-02   -3.91555e-02   -4.00087e-02   -4.09002e-02   -4.18304e-02   -4.28036e-02   -4.38244e-02   -4.48937e-02   -4.60121e-02   -4.71807e-02   -4.84052e-02   -4.96915e-02   -5.10406e-02   -5.24535e-02   -5.39311e-02   -5.54810e-02   -5.71112e-02   -5.88233e-02   -6.06190e-02   -6.25000e-02   -6.44768e-02   -6.65602e-02   -6.87518e-02   -7.10535e-02   -7.34669e-02   -7.60073e-02   -7.86894e-02   -8.15145e-02   -8.44836e-02   -8.75979e-02   -9.08814e-02   -9.43544e-02   -9.80127e-02   -1.01852e-01   -1.05869e-01   -1.10105e-01   -1.14588e-01   -1.19294e-01   -1.24195e-01   -1.29267e-01   -1.34600e-01   -1.40232e-01   -1.46059e-01   -1.51977e-01   -1.57881e-01   -1.64029e-01   -1.70492e-01   -1.76886e-01   -1.82826e-01   -1.87928e-01   -1.92750e-01   -1.97662e-01   -2.01997e-01   -2.05087e-01   -2.06265e-01   -2.05570e-01   -2.03673e-01   -2.00859e-01   -1.97409e-01   -1.93607e-01   -1.88164e-01   -1.80272e-01   -1.70935e-01   -1.61158e-01   -1.51944e-01   -1.43031e-01   -1.33746e-01   -1.24478e-01   -1.15616e-01   -1.07548e-01   -1.00154e-01   -9.31050e-02   -8.64761e-02   -8.03430e-02   -7.47813e-02   -6.97120e-02   -6.49983e-02   -6.06291e-02   -5.65934e-02   -5.28801e-02   -4.94508e-02   -4.62607e-02   -4.32890e-02   -4.05148e-02   -3.79172e-02   -3.54812e-02   -3.31944e-02   -3.10403e-02   -2.90023e-02   -2.70639e-02   -2.52207e-02   -2.34714e-02   -2.18036e-02   -2.02049e-02   -1.86628e-02   -1.71786e-02   -1.57547e-02   -1.43809e-02   -1.30469e-02   -1.17424e-02   -1.04714e-02   -9.23850e-03   -8.03437e-03   -6.84959e-03   -5.67480e-03   -4.51554e-03   -3.37754e-03   -2.25170e-03   -1.12889e-03   0.00000e+00   1.12889e-03   2.25170e-03   3.37754e-03   4.51554e-03   5.67480e-03   6.84959e-03   8.03437e-03   9.23850e-03   1.04714e-02   1.17424e-02   1.30469e-02   1.43809e-02   1.57547e-02   1.71786e-02   1.86628e-02   2.02049e-02   2.18036e-02   2.34714e-02   2.52207e-02   2.70639e-02   2.90023e-02   3.10403e-02   3.31944e-02   3.54812e-02   3.79172e-02   4.05148e-02   4.32890e-02   4.62607e-02   4.94508e-02   5.28801e-02   5.65934e-02   6.06291e-02   6.49983e-02   6.97120e-02   7.47813e-02   8.03430e-02   8.64761e-02   9.31050e-02   1.00154e-01   1.07548e-01   1.15616e-01   1.24478e-01   1.33746e-01   1.43031e-01   1.51944e-01   1.61158e-01   1.70935e-01   1.80272e-01   1.88164e-01   1.93607e-01   1.97409e-01   2.00859e-01   2.03673e-01   2.05570e-01   2.06265e-01   2.05087e-01   2.01997e-01   1.97662e-01   1.92750e-01   1.87928e-01   1.82826e-01   1.76886e-01   1.70492e-01   1.64029e-01   1.57881e-01   1.51977e-01   1.46060e-01   1.40233e-01   1.34601e-01   1.29268e-01   1.24196e-01   1.19294e-01   1.14589e-01   1.10105e-01   1.05869e-01   1.01852e-01   9.80127e-02   9.43544e-02   9.08814e-02   8.75980e-02   8.44837e-02   8.15145e-02   7.86895e-02   7.60073e-02   7.34669e-02   7.10535e-02   6.87518e-02   6.65602e-02   6.44768e-02   6.25000e-02   6.06190e-02   5.88233e-02   5.71112e-02   5.54810e-02   5.39311e-02   5.24535e-02   5.10406e-02   4.96915e-02   4.84052e-02   4.71807e-02   4.60121e-02   4.48937e-02   4.38244e-02   4.28036e-02   4.18304e-02   4.09002e-02   4.00087e-02   3.91555e-02   3.83401e-02   3.75620e-02   3.68178e-02   3.61039e-02   3.54201e-02   3.47661e-02   3.41417e-02   3.35441e-02   3.29705e-02   3.24207e-02   3.18946e-02   3.13920e-02   3.09106e-02   3.04483e-02   3.00049e-02   2.95805e-02   2.91749e-02   2.87864e-02   2.84131e-02   2.80551e-02   2.77123e-02   2.73844e-02   2.70702e-02   2.67683e-02   2.64786e-02   2.62009e-02   2.59352e-02   2.56804e-02   2.54355e-02   2.52003e-02   2.49746e-02   2.47582e-02   2.45505e-02   2.43507e-02   2.41585e-02   2.39737e-02   2.37957e-02   2.36244e-02   2.34593e-02   2.33000e-02   2.31461e-02   2.29970e-02   2.28529e-02   2.27136e-02   2.25785e-02   2.24468e-02   2.23180e-02   2.21923e-02   2.20701e-02   2.19505e-02   2.18326e-02   2.17156e-02   2.16001e-02   2.14866e-02   2.13741e-02   2.12616e-02   2.11482e-02   2.10345e-02   2.09211e-02   2.08070e-02   2.06913e-02   2.05729e-02   2.04523e-02   2.03301e-02   2.02055e-02   2.00773e-02   1.99448e-02   1.98080e-02   1.96674e-02   1.95221e-02   1.93716e-02   1.92150e-02   1.90521e-02   1.88828e-02   1.87067e-02   1.85234e-02   1.83324e-02   1.81329e-02   1.79244e-02   1.77068e-02   1.74801e-02   1.72442e-02   1.69978e-02   1.67399e-02   1.64708e-02   1.61911e-02   1.59011e-02   1.55990e-02   1.52835e-02   1.49554e-02   1.46157e-02   1.42655e-02   1.39025e-02   1.35252e-02   1.31350e-02   1.27336e-02   1.23227e-02   1.18998e-02   1.14631e-02   1.10150e-02   1.05579e-02   1.00943e-02   9.62104e-03   9.13614e-03   8.64363e-03   8.14756e-03   7.65195e-03   7.15114e-03   6.64241e-03   6.13423e-03   5.63507e-03   5.15337e-03   4.67931e-03   4.20659e-03   3.74896e-03   3.32019e-03   2.93405e-03   2.57812e-03   2.23792e-03   1.92412e-03   1.64739e-03   1.41840e-03   1.22466e-03   1.04887e-03   8.94460e-04   7.64852e-04   6.63474e-04   5.82430e-04   5.11637e-04   4.51247e-04   4.01409e-04   3.62275e-04   3.30969e-04   3.04151e-04   2.81274e-04   2.61790e-04   2.45152e-04   2.30213e-04   2.16518e-04   2.04559e-04   1.94828e-04   1.87816e-04   
+2.00000e-03   -1.57810e-04   -1.61407e-04   -1.66806e-04   -1.73655e-04   -1.81598e-04   -1.90284e-04   -2.00010e-04   -2.11602e-04   -2.25495e-04   -2.42127e-04   -2.61934e-04   -2.88073e-04   -3.23174e-04   -3.66877e-04   -4.18826e-04   -4.78662e-04   -5.55526e-04   -6.56823e-04   -7.79594e-04   -9.20876e-04   -1.07771e-03   -1.26578e-03   -1.49717e-03   -1.76350e-03   -2.05639e-03   -2.36747e-03   -2.71225e-03   -3.10342e-03   -3.52840e-03   -3.97461e-03   -4.42947e-03   -4.90210e-03   -5.40285e-03   -5.92098e-03   -6.44574e-03   -6.96639e-03   -7.48737e-03   -8.01590e-03   -8.54536e-03   -9.06917e-03   -9.58072e-03   -1.00828e-02   -1.05801e-02   -1.10688e-02   -1.15453e-02   -1.20057e-02   -1.24524e-02   -1.28887e-02   -1.33125e-02   -1.37216e-02   -1.41140e-02   -1.44916e-02   -1.48572e-02   -1.52096e-02   -1.55476e-02   -1.58702e-02   -1.61790e-02   -1.64761e-02   -1.67612e-02   -1.70337e-02   -1.72932e-02   -1.75409e-02   -1.77785e-02   -1.80059e-02   -1.82232e-02   -1.84304e-02   -1.86282e-02   -1.88177e-02   -1.89992e-02   -1.91733e-02   -1.93403e-02   -1.95005e-02   -1.96543e-02   -1.98023e-02   -1.99453e-02   -2.00841e-02   -2.02183e-02   -2.03478e-02   -2.04735e-02   -2.05966e-02   -2.07179e-02   -2.08369e-02   -2.09529e-02   -2.10672e-02   -2.11807e-02   -2.12946e-02   -2.14081e-02   -2.15206e-02   -2.16330e-02   -2.17465e-02   -2.18621e-02   -2.19792e-02   -2.20972e-02   -2.22170e-02   -2.23394e-02   -2.24654e-02   -2.25947e-02   -2.27268e-02   -2.28625e-02   -2.30024e-02   -2.31473e-02   -2.32972e-02   -2.34520e-02   -2.36122e-02   -2.37784e-02   -2.39510e-02   -2.41305e-02   -2.43172e-02   -2.45114e-02   -2.47134e-02   -2.49235e-02   -2.51424e-02   -2.53709e-02   -2.56091e-02   -2.58573e-02   -2.61156e-02   -2.63851e-02   -2.66670e-02   -2.69612e-02   -2.72679e-02   -2.75871e-02   -2.79203e-02   -2.82689e-02   -2.86330e-02   -2.90126e-02   -2.94079e-02   -2.98206e-02   -3.02526e-02   -3.07039e-02   -3.11747e-02   -3.16650e-02   -3.21771e-02   -3.27133e-02   -3.32737e-02   -3.38585e-02   -3.44678e-02   -3.51045e-02   -3.57714e-02   -3.64687e-02   -3.71967e-02   -3.79556e-02   -3.87489e-02   -3.95802e-02   -4.04501e-02   -4.13588e-02   -4.23067e-02   -4.32984e-02   -4.43386e-02   -4.54278e-02   -4.65666e-02   -4.77555e-02   -4.90005e-02   -5.03075e-02   -5.16774e-02   -5.31107e-02   -5.46082e-02   -5.61778e-02   -5.78273e-02   -5.95576e-02   -6.13693e-02   -6.32632e-02   -6.52501e-02   -6.73405e-02   -6.95345e-02   -7.18320e-02   -7.42333e-02   -7.67537e-02   -7.94070e-02   -8.21909e-02   -8.51032e-02   -8.81413e-02   -9.13287e-02   -9.46836e-02   -9.81954e-02   -1.01854e-01   -1.05649e-01   -1.09620e-01   -1.13789e-01   -1.18124e-01   -1.22588e-01   -1.27147e-01   -1.31880e-01   -1.36820e-01   -1.41860e-01   -1.46896e-01   -1.51823e-01   -1.56848e-01   -1.62043e-01   -1.67096e-01   -1.71700e-01   -1.75545e-01   -1.79051e-01   -1.82549e-01   -1.85595e-01   -1.87748e-01   -1.88564e-01   -1.88070e-01   -1.86720e-01   -1.84716e-01   -1.82258e-01   -1.79547e-01   -1.75708e-01   -1.70158e-01   -1.63536e-01   -1.56483e-01   -1.49635e-01   -1.42774e-01   -1.35451e-01   -1.27964e-01   -1.20607e-01   -1.13678e-01   -1.07097e-01   -1.00650e-01   -9.44302e-02   -8.85309e-02   -8.30456e-02   -7.79213e-02   -7.30515e-02   -6.84496e-02   -6.41292e-02   -6.01036e-02   -5.63399e-02   -5.27905e-02   -4.94472e-02   -4.63017e-02   -4.33457e-02   -4.05621e-02   -3.79316e-02   -3.54428e-02   -3.30840e-02   -3.08439e-02   -2.87159e-02   -2.66935e-02   -2.47652e-02   -2.29196e-02   -2.11450e-02   -1.94419e-02   -1.78108e-02   -1.62401e-02   -1.47182e-02   -1.32337e-02   -1.17911e-02   -1.03951e-02   -9.03439e-03   -7.69762e-03   -6.37350e-03   -5.06880e-03   -3.79035e-03   -2.52690e-03   -1.26720e-03   0.00000e+00   1.26720e-03   2.52690e-03   3.79035e-03   5.06880e-03   6.37350e-03   7.69762e-03   9.03439e-03   1.03951e-02   1.17911e-02   1.32337e-02   1.47182e-02   1.62401e-02   1.78108e-02   1.94419e-02   2.11450e-02   2.29196e-02   2.47652e-02   2.66935e-02   2.87159e-02   3.08439e-02   3.30840e-02   3.54428e-02   3.79316e-02   4.05621e-02   4.33457e-02   4.63017e-02   4.94472e-02   5.27905e-02   5.63399e-02   6.01036e-02   6.41292e-02   6.84496e-02   7.30515e-02   7.79213e-02   8.30456e-02   8.85309e-02   9.44302e-02   1.00650e-01   1.07097e-01   1.13678e-01   1.20607e-01   1.27964e-01   1.35451e-01   1.42774e-01   1.49635e-01   1.56483e-01   1.63536e-01   1.70158e-01   1.75708e-01   1.79547e-01   1.82258e-01   1.84716e-01   1.86720e-01   1.88070e-01   1.88564e-01   1.87748e-01   1.85595e-01   1.82549e-01   1.79051e-01   1.75545e-01   1.71700e-01   1.67096e-01   1.62043e-01   1.56848e-01   1.51823e-01   1.46896e-01   1.41860e-01   1.36820e-01   1.31880e-01   1.27147e-01   1.22588e-01   1.18124e-01   1.13789e-01   1.09620e-01   1.05649e-01   1.01854e-01   9.81954e-02   9.46836e-02   9.13287e-02   8.81413e-02   8.51032e-02   8.21909e-02   7.94070e-02   7.67537e-02   7.42333e-02   7.18320e-02   6.95345e-02   6.73405e-02   6.52501e-02   6.32632e-02   6.13693e-02   5.95576e-02   5.78273e-02   5.61778e-02   5.46082e-02   5.31107e-02   5.16774e-02   5.03075e-02   4.90005e-02   4.77555e-02   4.65666e-02   4.54278e-02   4.43386e-02   4.32984e-02   4.23067e-02   4.13588e-02   4.04501e-02   3.95802e-02   3.87489e-02   3.79556e-02   3.71967e-02   3.64687e-02   3.57714e-02   3.51045e-02   3.44678e-02   3.38585e-02   3.32737e-02   3.27133e-02   3.21771e-02   3.16650e-02   3.11747e-02   3.07039e-02   3.02526e-02   2.98206e-02   2.94079e-02   2.90126e-02   2.86330e-02   2.82689e-02   2.79203e-02   2.75871e-02   2.72679e-02   2.69612e-02   2.66670e-02   2.63851e-02   2.61156e-02   2.58573e-02   2.56091e-02   2.53709e-02   2.51424e-02   2.49235e-02   2.47134e-02   2.45114e-02   2.43172e-02   2.41305e-02   2.39510e-02   2.37784e-02   2.36122e-02   2.34520e-02   2.32972e-02   2.31473e-02   2.30024e-02   2.28625e-02   2.27268e-02   2.25947e-02   2.24654e-02   2.23394e-02   2.22170e-02   2.20972e-02   2.19792e-02   2.18621e-02   2.17465e-02   2.16330e-02   2.15206e-02   2.14081e-02   2.12946e-02   2.11807e-02   2.10672e-02   2.09529e-02   2.08369e-02   2.07179e-02   2.05966e-02   2.04735e-02   2.03478e-02   2.02183e-02   2.00841e-02   1.99453e-02   1.98023e-02   1.96543e-02   1.95006e-02   1.93404e-02   1.91733e-02   1.89993e-02   1.88177e-02   1.86283e-02   1.84304e-02   1.82232e-02   1.80059e-02   1.77785e-02   1.75409e-02   1.72932e-02   1.70337e-02   1.67612e-02   1.64761e-02   1.61790e-02   1.58702e-02   1.55476e-02   1.52096e-02   1.48572e-02   1.44916e-02   1.41140e-02   1.37216e-02   1.33125e-02   1.28887e-02   1.24524e-02   1.20057e-02   1.15453e-02   1.10689e-02   1.05801e-02   1.00828e-02   9.58073e-03   9.06918e-03   8.54536e-03   8.01589e-03   7.48736e-03   6.96638e-03   6.44573e-03   5.92097e-03   5.40285e-03   4.90210e-03   4.42947e-03   3.97461e-03   3.52840e-03   3.10342e-03   2.71225e-03   2.36747e-03   2.05639e-03   1.76350e-03   1.49717e-03   1.26578e-03   1.07771e-03   9.20877e-04   7.79594e-04   6.56824e-04   5.55527e-04   4.78663e-04   4.18827e-04   3.66878e-04   3.23174e-04   2.88073e-04   2.61934e-04   2.42127e-04   2.25495e-04   2.11602e-04   2.00010e-04   1.90284e-04   1.81599e-04   1.73655e-04   1.66807e-04   1.61407e-04   1.57811e-04   
+1.50000e-03   -1.35257e-04   -1.36311e-04   -1.38630e-04   -1.41914e-04   -1.45862e-04   -1.50171e-04   -1.55178e-04   -1.61587e-04   -1.69646e-04   -1.79604e-04   -1.91711e-04   -2.09359e-04   -2.35313e-04   -2.68879e-04   -3.09361e-04   -3.56066e-04   -4.17865e-04   -5.02136e-04   -6.05945e-04   -7.26358e-04   -8.60441e-04   -1.02290e-03   -1.22556e-03   -1.46118e-03   -1.72253e-03   -2.00236e-03   -2.31624e-03   -2.67698e-03   -3.07321e-03   -3.49356e-03   -3.92664e-03   -4.38315e-03   -4.87377e-03   -5.38709e-03   -5.91171e-03   -6.43623e-03   -6.96645e-03   -7.51025e-03   -8.05939e-03   -8.60560e-03   -9.14064e-03   -9.66799e-03   -1.01933e-02   -1.07116e-02   -1.12177e-02   -1.17068e-02   -1.21815e-02   -1.26461e-02   -1.30977e-02   -1.35335e-02   -1.39507e-02   -1.43517e-02   -1.47398e-02   -1.51136e-02   -1.54716e-02   -1.58124e-02   -1.61380e-02   -1.64509e-02   -1.67507e-02   -1.70366e-02   -1.73082e-02   -1.75669e-02   -1.78146e-02   -1.80512e-02   -1.82768e-02   -1.84914e-02   -1.86959e-02   -1.88913e-02   -1.90783e-02   -1.92571e-02   -1.94283e-02   -1.95921e-02   -1.97490e-02   -1.98998e-02   -2.00452e-02   -2.01860e-02   -2.03220e-02   -2.04530e-02   -2.05801e-02   -2.07042e-02   -2.08265e-02   -2.09463e-02   -2.10630e-02   -2.11777e-02   -2.12917e-02   -2.14059e-02   -2.15197e-02   -2.16324e-02   -2.17450e-02   -2.18587e-02   -2.19744e-02   -2.20916e-02   -2.22097e-02   -2.23296e-02   -2.24521e-02   -2.25783e-02   -2.27079e-02   -2.28404e-02   -2.29765e-02   -2.31170e-02   -2.32625e-02   -2.34131e-02   -2.35689e-02   -2.37301e-02   -2.38975e-02   -2.40713e-02   -2.42521e-02   -2.44402e-02   -2.46359e-02   -2.48396e-02   -2.50515e-02   -2.52725e-02   -2.55032e-02   -2.57438e-02   -2.59946e-02   -2.62556e-02   -2.65280e-02   -2.68130e-02   -2.71105e-02   -2.74208e-02   -2.77438e-02   -2.80811e-02   -2.84342e-02   -2.88031e-02   -2.91878e-02   -2.95884e-02   -3.00067e-02   -3.04446e-02   -3.09022e-02   -3.13796e-02   -3.18769e-02   -3.23964e-02   -3.29405e-02   -3.35092e-02   -3.41026e-02   -3.47209e-02   -3.53669e-02   -3.60435e-02   -3.67510e-02   -3.74896e-02   -3.82596e-02   -3.90647e-02   -3.99085e-02   -4.07914e-02   -4.17135e-02   -4.26751e-02   -4.36808e-02   -4.47353e-02   -4.58391e-02   -4.69926e-02   -4.81963e-02   -4.94563e-02   -5.07787e-02   -5.21637e-02   -5.36117e-02   -5.51230e-02   -5.67057e-02   -5.83677e-02   -6.01090e-02   -6.19295e-02   -6.38293e-02   -6.58194e-02   -6.79100e-02   -7.00997e-02   -7.23871e-02   -7.47708e-02   -7.72663e-02   -7.98867e-02   -8.26268e-02   -8.54818e-02   -8.84463e-02   -9.15435e-02   -9.47897e-02   -9.81700e-02   -1.01669e-01   -1.05273e-01   -1.09018e-01   -1.12924e-01   -1.16952e-01   -1.21063e-01   -1.25217e-01   -1.29483e-01   -1.33892e-01   -1.38342e-01   -1.42735e-01   -1.46971e-01   -1.51222e-01   -1.55560e-01   -1.59732e-01   -1.63486e-01   -1.66569e-01   -1.69323e-01   -1.72038e-01   -1.74385e-01   -1.76035e-01   -1.76658e-01   -1.76293e-01   -1.75296e-01   -1.73812e-01   -1.71986e-01   -1.69963e-01   -1.67083e-01   -1.62894e-01   -1.57851e-01   -1.52410e-01   -1.47025e-01   -1.41502e-01   -1.35500e-01   -1.29252e-01   -1.22994e-01   -1.16960e-01   -1.11082e-01   -1.05202e-01   -9.94194e-02   -9.38344e-02   -8.85471e-02   -8.35156e-02   -7.86520e-02   -7.39871e-02   -6.95515e-02   -6.53760e-02   -6.14313e-02   -5.76693e-02   -5.40932e-02   -5.07057e-02   -4.75100e-02   -4.44883e-02   -4.16164e-02   -3.88876e-02   -3.62948e-02   -3.38315e-02   -3.14896e-02   -2.92590e-02   -2.71298e-02   -2.50920e-02   -2.31356e-02   -2.12605e-02   -1.94651e-02   -1.77372e-02   -1.60648e-02   -1.44357e-02   -1.28545e-02   -1.13258e-02   -9.83737e-03   -8.37680e-03   -6.93181e-03   -5.51029e-03   -4.11953e-03   -2.74635e-03   -1.37757e-03   0.00000e+00   1.37757e-03   2.74635e-03   4.11953e-03   5.51029e-03   6.93181e-03   8.37680e-03   9.83737e-03   1.13258e-02   1.28545e-02   1.44357e-02   1.60648e-02   1.77372e-02   1.94651e-02   2.12605e-02   2.31356e-02   2.50920e-02   2.71298e-02   2.92590e-02   3.14896e-02   3.38315e-02   3.62948e-02   3.88876e-02   4.16164e-02   4.44883e-02   4.75100e-02   5.07057e-02   5.40932e-02   5.76693e-02   6.14313e-02   6.53760e-02   6.95515e-02   7.39871e-02   7.86520e-02   8.35156e-02   8.85471e-02   9.38344e-02   9.94194e-02   1.05202e-01   1.11082e-01   1.16960e-01   1.22994e-01   1.29252e-01   1.35500e-01   1.41502e-01   1.47025e-01   1.52410e-01   1.57851e-01   1.62894e-01   1.67083e-01   1.69963e-01   1.71986e-01   1.73812e-01   1.75296e-01   1.76293e-01   1.76658e-01   1.76035e-01   1.74385e-01   1.72039e-01   1.69323e-01   1.66569e-01   1.63485e-01   1.59731e-01   1.55559e-01   1.51221e-01   1.46970e-01   1.42734e-01   1.38341e-01   1.33891e-01   1.29483e-01   1.25217e-01   1.21063e-01   1.16952e-01   1.12924e-01   1.09018e-01   1.05273e-01   1.01669e-01   9.81700e-02   9.47897e-02   9.15435e-02   8.84463e-02   8.54818e-02   8.26268e-02   7.98867e-02   7.72663e-02   7.47708e-02   7.23871e-02   7.00997e-02   6.79100e-02   6.58194e-02   6.38293e-02   6.19295e-02   6.01090e-02   5.83677e-02   5.67057e-02   5.51230e-02   5.36117e-02   5.21637e-02   5.07787e-02   4.94563e-02   4.81963e-02   4.69926e-02   4.58391e-02   4.47353e-02   4.36808e-02   4.26751e-02   4.17135e-02   4.07914e-02   3.99085e-02   3.90647e-02   3.82596e-02   3.74896e-02   3.67510e-02   3.60435e-02   3.53669e-02   3.47209e-02   3.41026e-02   3.35092e-02   3.29405e-02   3.23964e-02   3.18769e-02   3.13796e-02   3.09022e-02   3.04446e-02   3.00067e-02   2.95884e-02   2.91878e-02   2.88031e-02   2.84342e-02   2.80811e-02   2.77438e-02   2.74208e-02   2.71105e-02   2.68130e-02   2.65280e-02   2.62556e-02   2.59946e-02   2.57438e-02   2.55032e-02   2.52725e-02   2.50515e-02   2.48396e-02   2.46359e-02   2.44402e-02   2.42521e-02   2.40713e-02   2.38975e-02   2.37301e-02   2.35689e-02   2.34131e-02   2.32625e-02   2.31170e-02   2.29765e-02   2.28404e-02   2.27079e-02   2.25783e-02   2.24521e-02   2.23296e-02   2.22097e-02   2.20916e-02   2.19744e-02   2.18587e-02   2.17450e-02   2.16324e-02   2.15197e-02   2.14059e-02   2.12917e-02   2.11777e-02   2.10630e-02   2.09463e-02   2.08265e-02   2.07042e-02   2.05801e-02   2.04530e-02   2.03220e-02   2.01860e-02   2.00452e-02   1.98998e-02   1.97490e-02   1.95921e-02   1.94283e-02   1.92571e-02   1.90783e-02   1.88913e-02   1.86959e-02   1.84914e-02   1.82768e-02   1.80512e-02   1.78146e-02   1.75669e-02   1.73082e-02   1.70366e-02   1.67507e-02   1.64509e-02   1.61380e-02   1.58124e-02   1.54716e-02   1.51136e-02   1.47398e-02   1.43517e-02   1.39507e-02   1.35335e-02   1.30977e-02   1.26461e-02   1.21816e-02   1.17069e-02   1.12178e-02   1.07116e-02   1.01934e-02   9.66802e-03   9.14065e-03   8.60561e-03   8.05939e-03   7.51025e-03   6.96645e-03   6.43623e-03   5.91171e-03   5.38708e-03   4.87376e-03   4.38314e-03   3.92663e-03   3.49355e-03   3.07321e-03   2.67698e-03   2.31624e-03   2.00236e-03   1.72253e-03   1.46118e-03   1.22556e-03   1.02290e-03   8.60441e-04   7.26358e-04   6.05945e-04   5.02136e-04   4.17865e-04   3.56066e-04   3.09361e-04   2.68879e-04   2.35313e-04   2.09359e-04   1.91711e-04   1.79604e-04   1.69646e-04   1.61587e-04   1.55178e-04   1.50171e-04   1.45862e-04   1.41914e-04   1.38630e-04   1.36311e-04   1.35257e-04   
+1.00000e-03   -1.19627e-04   -1.19789e-04   -1.20246e-04   -1.20957e-04   -1.21881e-04   -1.22977e-04   -1.24842e-04   -1.28077e-04   -1.32646e-04   -1.38512e-04   -1.45638e-04   -1.57853e-04   -1.78305e-04   -2.05933e-04   -2.39677e-04   -2.78474e-04   -3.31160e-04   -4.05263e-04   -4.97769e-04   -6.05659e-04   -7.25919e-04   -8.72624e-04   -1.05744e-03   -1.27374e-03   -1.51488e-03   -1.77425e-03   -2.06720e-03   -2.40652e-03   -2.78173e-03   -3.18234e-03   -3.59785e-03   -4.03977e-03   -4.51897e-03   -5.02399e-03   -5.54335e-03   -6.06561e-03   -6.59748e-03   -7.14719e-03   -7.70556e-03   -8.26340e-03   -8.81151e-03   -9.35393e-03   -9.89684e-03   -1.04343e-02   -1.09603e-02   -1.14689e-02   -1.19632e-02   -1.24479e-02   -1.29196e-02   -1.33750e-02   -1.38107e-02   -1.42293e-02   -1.46345e-02   -1.50247e-02   -1.53981e-02   -1.57531e-02   -1.60918e-02   -1.64172e-02   -1.67285e-02   -1.70251e-02   -1.73063e-02   -1.75738e-02   -1.78295e-02   -1.80736e-02   -1.83059e-02   -1.85266e-02   -1.87365e-02   -1.89369e-02   -1.91283e-02   -1.93111e-02   -1.94858e-02   -1.96527e-02   -1.98123e-02   -1.99654e-02   -2.01128e-02   -2.02555e-02   -2.03931e-02   -2.05255e-02   -2.06537e-02   -2.07789e-02   -2.09020e-02   -2.10225e-02   -2.11397e-02   -2.12549e-02   -2.13692e-02   -2.14838e-02   -2.15979e-02   -2.17108e-02   -2.18236e-02   -2.19374e-02   -2.20533e-02   -2.21708e-02   -2.22891e-02   -2.24092e-02   -2.25320e-02   -2.26585e-02   -2.27883e-02   -2.29211e-02   -2.30575e-02   -2.31984e-02   -2.33443e-02   -2.34955e-02   -2.36518e-02   -2.38138e-02   -2.39819e-02   -2.41566e-02   -2.43383e-02   -2.45274e-02   -2.47242e-02   -2.49291e-02   -2.51423e-02   -2.53648e-02   -2.55972e-02   -2.58397e-02   -2.60924e-02   -2.63555e-02   -2.66301e-02   -2.69173e-02   -2.72172e-02   -2.75300e-02   -2.78558e-02   -2.81961e-02   -2.85523e-02   -2.89246e-02   -2.93129e-02   -2.97173e-02   -3.01397e-02   -3.05819e-02   -3.10441e-02   -3.15263e-02   -3.20286e-02   -3.25533e-02   -3.31028e-02   -3.36773e-02   -3.42767e-02   -3.49013e-02   -3.55539e-02   -3.62376e-02   -3.69526e-02   -3.76990e-02   -3.84769e-02   -3.92902e-02   -4.01427e-02   -4.10344e-02   -4.19657e-02   -4.29366e-02   -4.39520e-02   -4.50165e-02   -4.61306e-02   -4.72945e-02   -4.85085e-02   -4.97789e-02   -5.11117e-02   -5.25070e-02   -5.39647e-02   -5.54847e-02   -5.70752e-02   -5.87442e-02   -6.04911e-02   -6.23154e-02   -6.42166e-02   -6.62061e-02   -6.82939e-02   -7.04773e-02   -7.27537e-02   -7.51205e-02   -7.75933e-02   -8.01846e-02   -8.28875e-02   -8.56948e-02   -8.85995e-02   -9.16242e-02   -9.47844e-02   -9.80620e-02   -1.01439e-01   -1.04897e-01   -1.08472e-01   -1.12182e-01   -1.15986e-01   -1.19841e-01   -1.23706e-01   -1.27644e-01   -1.31684e-01   -1.35733e-01   -1.39695e-01   -1.43478e-01   -1.47232e-01   -1.51027e-01   -1.54650e-01   -1.57886e-01   -1.60522e-01   -1.62853e-01   -1.65136e-01   -1.67101e-01   -1.68479e-01   -1.68998e-01   -1.68713e-01   -1.67932e-01   -1.66766e-01   -1.65326e-01   -1.63722e-01   -1.61409e-01   -1.58008e-01   -1.53880e-01   -1.49384e-01   -1.44880e-01   -1.40188e-01   -1.35020e-01   -1.29572e-01   -1.24043e-01   -1.18631e-01   -1.13267e-01   -1.07820e-01   -1.02391e-01   -9.70824e-02   -9.19947e-02   -8.70902e-02   -8.22908e-02   -7.76383e-02   -7.31742e-02   -6.89402e-02   -6.49088e-02   -6.10322e-02   -5.73216e-02   -5.37883e-02   -5.04435e-02   -4.72691e-02   -4.42379e-02   -4.13474e-02   -3.85952e-02   -3.59787e-02   -3.34892e-02   -3.11138e-02   -2.88436e-02   -2.66701e-02   -2.45843e-02   -2.25856e-02   -2.06711e-02   -1.88288e-02   -1.70467e-02   -1.53128e-02   -1.36321e-02   -1.20086e-02   -1.04290e-02   -8.87955e-03   -7.34689e-03   -5.83950e-03   -4.36537e-03   -2.91024e-03   -1.45987e-03   0.00000e+00   1.45987e-03   2.91024e-03   4.36537e-03   5.83950e-03   7.34689e-03   8.87955e-03   1.04290e-02   1.20086e-02   1.36321e-02   1.53128e-02   1.70467e-02   1.88288e-02   2.06711e-02   2.25856e-02   2.45843e-02   2.66701e-02   2.88436e-02   3.11138e-02   3.34892e-02   3.59787e-02   3.85952e-02   4.13474e-02   4.42379e-02   4.72691e-02   5.04435e-02   5.37883e-02   5.73216e-02   6.10322e-02   6.49088e-02   6.89402e-02   7.31742e-02   7.76383e-02   8.22908e-02   8.70902e-02   9.19947e-02   9.70824e-02   1.02391e-01   1.07820e-01   1.13267e-01   1.18631e-01   1.24043e-01   1.29572e-01   1.35020e-01   1.40188e-01   1.44880e-01   1.49384e-01   1.53881e-01   1.58010e-01   1.61411e-01   1.63724e-01   1.65327e-01   1.66767e-01   1.67933e-01   1.68713e-01   1.68998e-01   1.68479e-01   1.67101e-01   1.65136e-01   1.62853e-01   1.60522e-01   1.57886e-01   1.54650e-01   1.51027e-01   1.47232e-01   1.43478e-01   1.39695e-01   1.35733e-01   1.31684e-01   1.27644e-01   1.23706e-01   1.19841e-01   1.15986e-01   1.12182e-01   1.08472e-01   1.04897e-01   1.01439e-01   9.80620e-02   9.47844e-02   9.16242e-02   8.85995e-02   8.56948e-02   8.28875e-02   8.01846e-02   7.75933e-02   7.51205e-02   7.27537e-02   7.04773e-02   6.82939e-02   6.62061e-02   6.42166e-02   6.23154e-02   6.04911e-02   5.87442e-02   5.70752e-02   5.54847e-02   5.39647e-02   5.25070e-02   5.11117e-02   4.97789e-02   4.85085e-02   4.72945e-02   4.61306e-02   4.50165e-02   4.39520e-02   4.29366e-02   4.19657e-02   4.10344e-02   4.01427e-02   3.92902e-02   3.84769e-02   3.76990e-02   3.69526e-02   3.62376e-02   3.55539e-02   3.49013e-02   3.42767e-02   3.36773e-02   3.31028e-02   3.25533e-02   3.20286e-02   3.15263e-02   3.10441e-02   3.05819e-02   3.01397e-02   2.97173e-02   2.93129e-02   2.89246e-02   2.85523e-02   2.81961e-02   2.78558e-02   2.75300e-02   2.72172e-02   2.69173e-02   2.66301e-02   2.63555e-02   2.60924e-02   2.58397e-02   2.55972e-02   2.53648e-02   2.51423e-02   2.49291e-02   2.47242e-02   2.45274e-02   2.43383e-02   2.41566e-02   2.39819e-02   2.38138e-02   2.36518e-02   2.34955e-02   2.33443e-02   2.31984e-02   2.30575e-02   2.29211e-02   2.27883e-02   2.26585e-02   2.25320e-02   2.24092e-02   2.22891e-02   2.21708e-02   2.20533e-02   2.19374e-02   2.18236e-02   2.17108e-02   2.15979e-02   2.14838e-02   2.13692e-02   2.12549e-02   2.11397e-02   2.10225e-02   2.09020e-02   2.07789e-02   2.06537e-02   2.05255e-02   2.03931e-02   2.02555e-02   2.01128e-02   1.99654e-02   1.98123e-02   1.96527e-02   1.94858e-02   1.93111e-02   1.91283e-02   1.89369e-02   1.87365e-02   1.85266e-02   1.83059e-02   1.80736e-02   1.78295e-02   1.75738e-02   1.73063e-02   1.70251e-02   1.67285e-02   1.64172e-02   1.60918e-02   1.57531e-02   1.53981e-02   1.50247e-02   1.46345e-02   1.42293e-02   1.38107e-02   1.33750e-02   1.29196e-02   1.24479e-02   1.19633e-02   1.14690e-02   1.09604e-02   1.04344e-02   9.89688e-03   9.35395e-03   8.81151e-03   8.26339e-03   7.70556e-03   7.14719e-03   6.59748e-03   6.06561e-03   5.54335e-03   5.02399e-03   4.51897e-03   4.03977e-03   3.59785e-03   3.18234e-03   2.78173e-03   2.40652e-03   2.06720e-03   1.77425e-03   1.51488e-03   1.27374e-03   1.05744e-03   8.72626e-04   7.25921e-04   6.05661e-04   4.97770e-04   4.05264e-04   3.31160e-04   2.78474e-04   2.39677e-04   2.05933e-04   1.78305e-04   1.57853e-04   1.45638e-04   1.38512e-04   1.32646e-04   1.28077e-04   1.24842e-04   1.22977e-04   1.21881e-04   1.20957e-04   1.20246e-04   1.19789e-04   1.19627e-04   
+5.00000e-04   -1.10456e-04   -1.08897e-04   -1.07952e-04   -1.07466e-04   -1.07288e-04   -1.07262e-04   -1.07830e-04   -1.09460e-04   -1.12038e-04   -1.15449e-04   -1.19581e-04   -1.28686e-04   -1.46188e-04   -1.70735e-04   -2.00971e-04   -2.35543e-04   -2.83308e-04   -3.51964e-04   -4.38417e-04   -5.39577e-04   -6.52349e-04   -7.90455e-04   -9.65463e-04   -1.17105e-03   -1.40090e-03   -1.64869e-03   -1.92959e-03   -2.25635e-03   -2.61899e-03   -3.00755e-03   -3.41204e-03   -3.84436e-03   -4.31547e-03   -4.81398e-03   -5.32853e-03   -5.84773e-03   -6.37884e-03   -6.93026e-03   -7.49235e-03   -8.05545e-03   -8.60991e-03   -9.16010e-03   -9.71248e-03   -1.02605e-02   -1.07977e-02   -1.13175e-02   -1.18232e-02   -1.23198e-02   -1.28036e-02   -1.32708e-02   -1.37177e-02   -1.41471e-02   -1.45629e-02   -1.49633e-02   -1.53464e-02   -1.57103e-02   -1.60574e-02   -1.63906e-02   -1.67093e-02   -1.70128e-02   -1.73002e-02   -1.75733e-02   -1.78343e-02   -1.80831e-02   -1.83198e-02   -1.85444e-02   -1.87578e-02   -1.89614e-02   -1.91556e-02   -1.93410e-02   -1.95180e-02   -1.96869e-02   -1.98483e-02   -2.00029e-02   -2.01518e-02   -2.02957e-02   -2.04343e-02   -2.05676e-02   -2.06966e-02   -2.08225e-02   -2.09462e-02   -2.10672e-02   -2.11849e-02   -2.13005e-02   -2.14151e-02   -2.15300e-02   -2.16444e-02   -2.17575e-02   -2.18705e-02   -2.19844e-02   -2.21005e-02   -2.22181e-02   -2.23366e-02   -2.24568e-02   -2.25798e-02   -2.27064e-02   -2.28364e-02   -2.29694e-02   -2.31061e-02   -2.32472e-02   -2.33934e-02   -2.35449e-02   -2.37015e-02   -2.38638e-02   -2.40323e-02   -2.42075e-02   -2.43898e-02   -2.45796e-02   -2.47772e-02   -2.49829e-02   -2.51970e-02   -2.54203e-02   -2.56536e-02   -2.58970e-02   -2.61508e-02   -2.64150e-02   -2.66909e-02   -2.69796e-02   -2.72812e-02   -2.75958e-02   -2.79233e-02   -2.82654e-02   -2.86235e-02   -2.89978e-02   -2.93882e-02   -2.97948e-02   -3.02195e-02   -3.06644e-02   -3.11293e-02   -3.16143e-02   -3.21196e-02   -3.26474e-02   -3.32003e-02   -3.37782e-02   -3.43814e-02   -3.50099e-02   -3.56667e-02   -3.63550e-02   -3.70747e-02   -3.78259e-02   -3.86088e-02   -3.94271e-02   -4.02846e-02   -4.11816e-02   -4.21181e-02   -4.30944e-02   -4.41152e-02   -4.51854e-02   -4.63051e-02   -4.74746e-02   -4.86942e-02   -4.99702e-02   -5.13087e-02   -5.27096e-02   -5.41725e-02   -5.56974e-02   -5.72926e-02   -5.89659e-02   -6.07164e-02   -6.25430e-02   -6.44447e-02   -6.64328e-02   -6.85173e-02   -7.06948e-02   -7.29624e-02   -7.53168e-02   -7.77738e-02   -8.03456e-02   -8.30238e-02   -8.58000e-02   -8.86658e-02   -9.16437e-02   -9.47485e-02   -9.79607e-02   -1.01260e-01   -1.04628e-01   -1.08098e-01   -1.11689e-01   -1.15357e-01   -1.19059e-01   -1.22753e-01   -1.26498e-01   -1.30323e-01   -1.34139e-01   -1.37855e-01   -1.41382e-01   -1.44858e-01   -1.48353e-01   -1.51675e-01   -1.54632e-01   -1.57033e-01   -1.59148e-01   -1.61214e-01   -1.62990e-01   -1.64233e-01   -1.64701e-01   -1.64459e-01   -1.63795e-01   -1.62801e-01   -1.61569e-01   -1.60191e-01   -1.58178e-01   -1.55190e-01   -1.51540e-01   -1.47543e-01   -1.43511e-01   -1.39273e-01   -1.34564e-01   -1.29564e-01   -1.24449e-01   -1.19399e-01   -1.14344e-01   -1.09163e-01   -1.03958e-01   -9.88300e-02   -9.38803e-02   -8.90712e-02   -8.43295e-02   -7.97031e-02   -7.52399e-02   -7.09879e-02   -6.69201e-02   -6.29887e-02   -5.92100e-02   -5.56003e-02   -5.21759e-02   -4.89187e-02   -4.57996e-02   -4.28187e-02   -3.99763e-02   -3.72722e-02   -3.46975e-02   -3.22377e-02   -2.98848e-02   -2.76309e-02   -2.54682e-02   -2.33955e-02   -2.14093e-02   -1.94977e-02   -1.76487e-02   -1.58506e-02   -1.41084e-02   -1.24259e-02   -1.07891e-02   -9.18434e-03   -7.59758e-03   -6.03785e-03   -4.51331e-03   -3.00887e-03   -1.50946e-03   0.00000e+00   1.50946e-03   3.00887e-03   4.51331e-03   6.03785e-03   7.59758e-03   9.18434e-03   1.07891e-02   1.24259e-02   1.41084e-02   1.58506e-02   1.76487e-02   1.94977e-02   2.14093e-02   2.33955e-02   2.54682e-02   2.76309e-02   2.98848e-02   3.22377e-02   3.46975e-02   3.72722e-02   3.99763e-02   4.28187e-02   4.57996e-02   4.89187e-02   5.21759e-02   5.56003e-02   5.92100e-02   6.29887e-02   6.69201e-02   7.09879e-02   7.52399e-02   7.97031e-02   8.43295e-02   8.90712e-02   9.38803e-02   9.88300e-02   1.03958e-01   1.09163e-01   1.14344e-01   1.19399e-01   1.24449e-01   1.29564e-01   1.34564e-01   1.39273e-01   1.43511e-01   1.47543e-01   1.51540e-01   1.55190e-01   1.58178e-01   1.60191e-01   1.61569e-01   1.62801e-01   1.63795e-01   1.64459e-01   1.64701e-01   1.64233e-01   1.62990e-01   1.61214e-01   1.59148e-01   1.57033e-01   1.54632e-01   1.51675e-01   1.48353e-01   1.44858e-01   1.41382e-01   1.37855e-01   1.34139e-01   1.30323e-01   1.26498e-01   1.22753e-01   1.19059e-01   1.15357e-01   1.11689e-01   1.08098e-01   1.04628e-01   1.01260e-01   9.79607e-02   9.47485e-02   9.16437e-02   8.86658e-02   8.58000e-02   8.30238e-02   8.03456e-02   7.77738e-02   7.53168e-02   7.29624e-02   7.06948e-02   6.85173e-02   6.64328e-02   6.44447e-02   6.25430e-02   6.07164e-02   5.89659e-02   5.72926e-02   5.56974e-02   5.41725e-02   5.27096e-02   5.13087e-02   4.99702e-02   4.86942e-02   4.74746e-02   4.63051e-02   4.51854e-02   4.41152e-02   4.30944e-02   4.21181e-02   4.11816e-02   4.02846e-02   3.94271e-02   3.86088e-02   3.78259e-02   3.70747e-02   3.63550e-02   3.56667e-02   3.50099e-02   3.43814e-02   3.37782e-02   3.32003e-02   3.26474e-02   3.21196e-02   3.16143e-02   3.11293e-02   3.06644e-02   3.02195e-02   2.97948e-02   2.93882e-02   2.89978e-02   2.86235e-02   2.82654e-02   2.79233e-02   2.75958e-02   2.72812e-02   2.69796e-02   2.66909e-02   2.64150e-02   2.61508e-02   2.58970e-02   2.56536e-02   2.54203e-02   2.51970e-02   2.49829e-02   2.47772e-02   2.45796e-02   2.43898e-02   2.42075e-02   2.40323e-02   2.38638e-02   2.37015e-02   2.35449e-02   2.33934e-02   2.32472e-02   2.31061e-02   2.29694e-02   2.28364e-02   2.27064e-02   2.25798e-02   2.24568e-02   2.23366e-02   2.22181e-02   2.21005e-02   2.19844e-02   2.18705e-02   2.17575e-02   2.16444e-02   2.15300e-02   2.14151e-02   2.13005e-02   2.11849e-02   2.10672e-02   2.09462e-02   2.08225e-02   2.06966e-02   2.05676e-02   2.04343e-02   2.02957e-02   2.01518e-02   2.00029e-02   1.98483e-02   1.96869e-02   1.95180e-02   1.93410e-02   1.91556e-02   1.89614e-02   1.87578e-02   1.85444e-02   1.83198e-02   1.80831e-02   1.78343e-02   1.75733e-02   1.73002e-02   1.70128e-02   1.67093e-02   1.63906e-02   1.60574e-02   1.57103e-02   1.53464e-02   1.49633e-02   1.45629e-02   1.41471e-02   1.37177e-02   1.32708e-02   1.28036e-02   1.23198e-02   1.18232e-02   1.13175e-02   1.07977e-02   1.02605e-02   9.71248e-03   9.16010e-03   8.60991e-03   8.05545e-03   7.49236e-03   6.93027e-03   6.37885e-03   5.84774e-03   5.32854e-03   4.81399e-03   4.31547e-03   3.84436e-03   3.41204e-03   3.00755e-03   2.61899e-03   2.25635e-03   1.92959e-03   1.64869e-03   1.40090e-03   1.17105e-03   9.65464e-04   7.90456e-04   6.52350e-04   5.39578e-04   4.38419e-04   3.51965e-04   2.83309e-04   2.35544e-04   2.00972e-04   1.70735e-04   1.46188e-04   1.28686e-04   1.19581e-04   1.15449e-04   1.12038e-04   1.09460e-04   1.07830e-04   1.07262e-04   1.07288e-04   1.07466e-04   1.07952e-04   1.08897e-04   1.10456e-04   
+0.00000e+00   -1.07436e-04   -1.05286e-04   -1.03770e-04   -1.02797e-04   -1.02279e-04   -1.02126e-04   -1.02531e-04   -1.03701e-04   -1.05572e-04   -1.08078e-04   -1.11154e-04   -1.19230e-04   -1.35802e-04   -1.59400e-04   -1.88557e-04   -2.21803e-04   -2.68009e-04   -3.34945e-04   -4.19489e-04   -5.18520e-04   -6.28916e-04   -7.64283e-04   -9.36158e-04   -1.13831e-03   -1.36453e-03   -1.60857e-03   -1.88555e-03   -2.20818e-03   -2.56666e-03   -2.95118e-03   -3.35195e-03   -3.78096e-03   -4.24920e-03   -4.74534e-03   -5.25803e-03   -5.77596e-03   -6.30655e-03   -6.85825e-03   -7.42127e-03   -7.98584e-03   -8.54217e-03   -9.09473e-03   -9.65008e-03   -1.02015e-02   -1.07423e-02   -1.12657e-02   -1.17751e-02   -1.22757e-02   -1.27635e-02   -1.32347e-02   -1.36854e-02   -1.41184e-02   -1.45377e-02   -1.49416e-02   -1.53280e-02   -1.56949e-02   -1.60448e-02   -1.63807e-02   -1.67019e-02   -1.70076e-02   -1.72972e-02   -1.75723e-02   -1.78351e-02   -1.80857e-02   -1.83240e-02   -1.85499e-02   -1.87645e-02   -1.89692e-02   -1.91644e-02   -1.93506e-02   -1.95284e-02   -1.96980e-02   -1.98601e-02   -2.00154e-02   -2.01648e-02   -2.03091e-02   -2.04481e-02   -2.05817e-02   -2.07110e-02   -2.08370e-02   -2.09610e-02   -2.10822e-02   -2.12001e-02   -2.13158e-02   -2.14305e-02   -2.15455e-02   -2.16599e-02   -2.17731e-02   -2.18860e-02   -2.20000e-02   -2.21161e-02   -2.22338e-02   -2.23523e-02   -2.24726e-02   -2.25956e-02   -2.27223e-02   -2.28524e-02   -2.29854e-02   -2.31221e-02   -2.32633e-02   -2.34096e-02   -2.35612e-02   -2.37181e-02   -2.38806e-02   -2.40493e-02   -2.42247e-02   -2.44072e-02   -2.45971e-02   -2.47949e-02   -2.50008e-02   -2.52151e-02   -2.54387e-02   -2.56724e-02   -2.59163e-02   -2.61705e-02   -2.64352e-02   -2.67115e-02   -2.70006e-02   -2.73025e-02   -2.76175e-02   -2.79455e-02   -2.82882e-02   -2.86470e-02   -2.90219e-02   -2.94131e-02   -2.98205e-02   -3.02460e-02   -3.06917e-02   -3.11574e-02   -3.16434e-02   -3.21497e-02   -3.26787e-02   -3.32328e-02   -3.38121e-02   -3.44166e-02   -3.50464e-02   -3.57044e-02   -3.63937e-02   -3.71145e-02   -3.78669e-02   -3.86511e-02   -3.94710e-02   -4.03304e-02   -4.12293e-02   -4.21679e-02   -4.31463e-02   -4.41693e-02   -4.52416e-02   -4.63636e-02   -4.75354e-02   -4.87570e-02   -5.00348e-02   -5.13750e-02   -5.27774e-02   -5.42417e-02   -5.57678e-02   -5.73641e-02   -5.90385e-02   -6.07898e-02   -6.26168e-02   -6.45184e-02   -6.65059e-02   -6.85893e-02   -7.07650e-02   -7.30297e-02   -7.53799e-02   -7.78314e-02   -8.03964e-02   -8.30660e-02   -8.58314e-02   -8.86839e-02   -9.16459e-02   -9.47320e-02   -9.79222e-02   -1.01196e-01   -1.04533e-01   -1.07967e-01   -1.11518e-01   -1.15140e-01   -1.18791e-01   -1.22428e-01   -1.26109e-01   -1.29863e-01   -1.33602e-01   -1.37239e-01   -1.40683e-01   -1.44070e-01   -1.47470e-01   -1.50698e-01   -1.53568e-01   -1.55896e-01   -1.57944e-01   -1.59944e-01   -1.61662e-01   -1.62864e-01   -1.63316e-01   -1.63088e-01   -1.62461e-01   -1.61522e-01   -1.60357e-01   -1.59051e-01   -1.57133e-01   -1.54274e-01   -1.50773e-01   -1.46931e-01   -1.43048e-01   -1.38953e-01   -1.34390e-01   -1.29532e-01   -1.24550e-01   -1.19617e-01   -1.14663e-01   -1.09571e-01   -1.04442e-01   -9.93764e-02   -9.44757e-02   -8.97022e-02   -8.49842e-02   -8.03711e-02   -7.59124e-02   -7.16577e-02   -6.75802e-02   -6.36322e-02   -5.98319e-02   -5.61976e-02   -5.27475e-02   -4.94633e-02   -4.63153e-02   -4.33046e-02   -4.04322e-02   -3.76991e-02   -3.50962e-02   -3.26083e-02   -3.02279e-02   -2.79475e-02   -2.57593e-02   -2.36623e-02   -2.16525e-02   -1.97181e-02   -1.78474e-02   -1.60285e-02   -1.42668e-02   -1.25657e-02   -1.09111e-02   -9.28879e-03   -7.68442e-03   -6.10706e-03   -4.56511e-03   -3.04341e-03   -1.52676e-03   0.00000e+00   1.52676e-03   3.04341e-03   4.56511e-03   6.10706e-03   7.68442e-03   9.28879e-03   1.09111e-02   1.25657e-02   1.42668e-02   1.60285e-02   1.78474e-02   1.97181e-02   2.16525e-02   2.36623e-02   2.57593e-02   2.79475e-02   3.02279e-02   3.26083e-02   3.50962e-02   3.76991e-02   4.04322e-02   4.33046e-02   4.63153e-02   4.94633e-02   5.27475e-02   5.61976e-02   5.98319e-02   6.36322e-02   6.75802e-02   7.16577e-02   7.59124e-02   8.03711e-02   8.49842e-02   8.97022e-02   9.44757e-02   9.93764e-02   1.04442e-01   1.09571e-01   1.14663e-01   1.19617e-01   1.24550e-01   1.29532e-01   1.34390e-01   1.38953e-01   1.43048e-01   1.46931e-01   1.50773e-01   1.54274e-01   1.57133e-01   1.59051e-01   1.60357e-01   1.61522e-01   1.62461e-01   1.63088e-01   1.63316e-01   1.62864e-01   1.61662e-01   1.59944e-01   1.57944e-01   1.55896e-01   1.53568e-01   1.50698e-01   1.47470e-01   1.44070e-01   1.40683e-01   1.37239e-01   1.33602e-01   1.29863e-01   1.26109e-01   1.22428e-01   1.18791e-01   1.15140e-01   1.11518e-01   1.07967e-01   1.04533e-01   1.01196e-01   9.79222e-02   9.47320e-02   9.16459e-02   8.86839e-02   8.58314e-02   8.30660e-02   8.03964e-02   7.78314e-02   7.53799e-02   7.30297e-02   7.07650e-02   6.85893e-02   6.65059e-02   6.45184e-02   6.26168e-02   6.07898e-02   5.90385e-02   5.73641e-02   5.57678e-02   5.42417e-02   5.27774e-02   5.13750e-02   5.00348e-02   4.87570e-02   4.75354e-02   4.63636e-02   4.52416e-02   4.41693e-02   4.31463e-02   4.21679e-02   4.12293e-02   4.03304e-02   3.94710e-02   3.86511e-02   3.78669e-02   3.71145e-02   3.63937e-02   3.57044e-02   3.50464e-02   3.44166e-02   3.38121e-02   3.32328e-02   3.26787e-02   3.21497e-02   3.16434e-02   3.11574e-02   3.06917e-02   3.02460e-02   2.98205e-02   2.94131e-02   2.90219e-02   2.86470e-02   2.82882e-02   2.79455e-02   2.76175e-02   2.73025e-02   2.70006e-02   2.67115e-02   2.64352e-02   2.61705e-02   2.59163e-02   2.56724e-02   2.54387e-02   2.52151e-02   2.50008e-02   2.47949e-02   2.45971e-02   2.44072e-02   2.42247e-02   2.40493e-02   2.38806e-02   2.37181e-02   2.35612e-02   2.34096e-02   2.32633e-02   2.31221e-02   2.29854e-02   2.28524e-02   2.27223e-02   2.25956e-02   2.24726e-02   2.23523e-02   2.22338e-02   2.21161e-02   2.20000e-02   2.18860e-02   2.17731e-02   2.16599e-02   2.15455e-02   2.14305e-02   2.13158e-02   2.12001e-02   2.10822e-02   2.09610e-02   2.08370e-02   2.07110e-02   2.05817e-02   2.04481e-02   2.03091e-02   2.01647e-02   2.00153e-02   1.98600e-02   1.96979e-02   1.95283e-02   1.93505e-02   1.91643e-02   1.89691e-02   1.87645e-02   1.85499e-02   1.83240e-02   1.80857e-02   1.78352e-02   1.75723e-02   1.72972e-02   1.70076e-02   1.67019e-02   1.63807e-02   1.60448e-02   1.56949e-02   1.53280e-02   1.49416e-02   1.45377e-02   1.41184e-02   1.36854e-02   1.32347e-02   1.27635e-02   1.22757e-02   1.17751e-02   1.12657e-02   1.07423e-02   1.02015e-02   9.65008e-03   9.09474e-03   8.54218e-03   7.98585e-03   7.42128e-03   6.85825e-03   6.30655e-03   5.77596e-03   5.25803e-03   4.74534e-03   4.24920e-03   3.78096e-03   3.35195e-03   2.95118e-03   2.56666e-03   2.20818e-03   1.88555e-03   1.60857e-03   1.36453e-03   1.13831e-03   9.36157e-04   7.64282e-04   6.28915e-04   5.18519e-04   4.19488e-04   3.34945e-04   2.68009e-04   2.21803e-04   1.88557e-04   1.59400e-04   1.35802e-04   1.19230e-04   1.11154e-04   1.08078e-04   1.05572e-04   1.03701e-04   1.02531e-04   1.02126e-04   1.02279e-04   1.02797e-04   1.03769e-04   1.05286e-04   1.07435e-04   
+-5.00000e-04   -1.10456e-04   -1.08897e-04   -1.07952e-04   -1.07466e-04   -1.07288e-04   -1.07262e-04   -1.07830e-04   -1.09460e-04   -1.12038e-04   -1.15449e-04   -1.19581e-04   -1.28686e-04   -1.46188e-04   -1.70735e-04   -2.00971e-04   -2.35543e-04   -2.83308e-04   -3.51964e-04   -4.38417e-04   -5.39577e-04   -6.52349e-04   -7.90455e-04   -9.65463e-04   -1.17105e-03   -1.40090e-03   -1.64869e-03   -1.92959e-03   -2.25635e-03   -2.61899e-03   -3.00755e-03   -3.41204e-03   -3.84436e-03   -4.31547e-03   -4.81398e-03   -5.32853e-03   -5.84773e-03   -6.37884e-03   -6.93026e-03   -7.49235e-03   -8.05545e-03   -8.60991e-03   -9.16010e-03   -9.71248e-03   -1.02605e-02   -1.07977e-02   -1.13175e-02   -1.18232e-02   -1.23198e-02   -1.28036e-02   -1.32708e-02   -1.37177e-02   -1.41471e-02   -1.45629e-02   -1.49633e-02   -1.53464e-02   -1.57103e-02   -1.60574e-02   -1.63906e-02   -1.67093e-02   -1.70128e-02   -1.73002e-02   -1.75733e-02   -1.78343e-02   -1.80831e-02   -1.83198e-02   -1.85444e-02   -1.87578e-02   -1.89614e-02   -1.91556e-02   -1.93410e-02   -1.95180e-02   -1.96869e-02   -1.98483e-02   -2.00029e-02   -2.01518e-02   -2.02957e-02   -2.04343e-02   -2.05676e-02   -2.06966e-02   -2.08225e-02   -2.09462e-02   -2.10672e-02   -2.11849e-02   -2.13005e-02   -2.14151e-02   -2.15300e-02   -2.16444e-02   -2.17575e-02   -2.18705e-02   -2.19844e-02   -2.21005e-02   -2.22181e-02   -2.23366e-02   -2.24568e-02   -2.25798e-02   -2.27064e-02   -2.28364e-02   -2.29694e-02   -2.31061e-02   -2.32472e-02   -2.33934e-02   -2.35449e-02   -2.37015e-02   -2.38638e-02   -2.40323e-02   -2.42075e-02   -2.43898e-02   -2.45796e-02   -2.47772e-02   -2.49829e-02   -2.51970e-02   -2.54203e-02   -2.56536e-02   -2.58970e-02   -2.61508e-02   -2.64150e-02   -2.66909e-02   -2.69796e-02   -2.72812e-02   -2.75958e-02   -2.79233e-02   -2.82654e-02   -2.86235e-02   -2.89978e-02   -2.93882e-02   -2.97948e-02   -3.02195e-02   -3.06644e-02   -3.11293e-02   -3.16143e-02   -3.21196e-02   -3.26474e-02   -3.32003e-02   -3.37782e-02   -3.43814e-02   -3.50099e-02   -3.56667e-02   -3.63550e-02   -3.70747e-02   -3.78259e-02   -3.86088e-02   -3.94271e-02   -4.02846e-02   -4.11816e-02   -4.21181e-02   -4.30944e-02   -4.41152e-02   -4.51854e-02   -4.63051e-02   -4.74746e-02   -4.86942e-02   -4.99702e-02   -5.13087e-02   -5.27096e-02   -5.41725e-02   -5.56974e-02   -5.72926e-02   -5.89659e-02   -6.07164e-02   -6.25430e-02   -6.44447e-02   -6.64328e-02   -6.85173e-02   -7.06948e-02   -7.29624e-02   -7.53168e-02   -7.77738e-02   -8.03456e-02   -8.30238e-02   -8.58000e-02   -8.86658e-02   -9.16437e-02   -9.47485e-02   -9.79607e-02   -1.01260e-01   -1.04628e-01   -1.08098e-01   -1.11689e-01   -1.15357e-01   -1.19059e-01   -1.22753e-01   -1.26498e-01   -1.30323e-01   -1.34139e-01   -1.37855e-01   -1.41382e-01   -1.44858e-01   -1.48353e-01   -1.51675e-01   -1.54632e-01   -1.57033e-01   -1.59148e-01   -1.61214e-01   -1.62990e-01   -1.64233e-01   -1.64701e-01   -1.64459e-01   -1.63795e-01   -1.62801e-01   -1.61569e-01   -1.60191e-01   -1.58178e-01   -1.55190e-01   -1.51540e-01   -1.47543e-01   -1.43511e-01   -1.39273e-01   -1.34564e-01   -1.29564e-01   -1.24449e-01   -1.19399e-01   -1.14344e-01   -1.09163e-01   -1.03958e-01   -9.88300e-02   -9.38803e-02   -8.90712e-02   -8.43295e-02   -7.97031e-02   -7.52399e-02   -7.09879e-02   -6.69201e-02   -6.29887e-02   -5.92100e-02   -5.56003e-02   -5.21759e-02   -4.89187e-02   -4.57996e-02   -4.28187e-02   -3.99763e-02   -3.72722e-02   -3.46975e-02   -3.22377e-02   -2.98848e-02   -2.76309e-02   -2.54682e-02   -2.33955e-02   -2.14093e-02   -1.94977e-02   -1.76487e-02   -1.58506e-02   -1.41084e-02   -1.24259e-02   -1.07891e-02   -9.18434e-03   -7.59758e-03   -6.03785e-03   -4.51331e-03   -3.00887e-03   -1.50946e-03   0.00000e+00   1.50946e-03   3.00887e-03   4.51331e-03   6.03785e-03   7.59758e-03   9.18434e-03   1.07891e-02   1.24259e-02   1.41084e-02   1.58506e-02   1.76487e-02   1.94977e-02   2.14093e-02   2.33955e-02   2.54682e-02   2.76309e-02   2.98848e-02   3.22377e-02   3.46975e-02   3.72722e-02   3.99763e-02   4.28187e-02   4.57996e-02   4.89187e-02   5.21759e-02   5.56003e-02   5.92100e-02   6.29887e-02   6.69201e-02   7.09879e-02   7.52399e-02   7.97031e-02   8.43295e-02   8.90712e-02   9.38803e-02   9.88300e-02   1.03958e-01   1.09163e-01   1.14344e-01   1.19399e-01   1.24449e-01   1.29564e-01   1.34564e-01   1.39273e-01   1.43511e-01   1.47543e-01   1.51540e-01   1.55190e-01   1.58178e-01   1.60191e-01   1.61569e-01   1.62801e-01   1.63795e-01   1.64459e-01   1.64701e-01   1.64233e-01   1.62990e-01   1.61214e-01   1.59148e-01   1.57033e-01   1.54632e-01   1.51675e-01   1.48353e-01   1.44858e-01   1.41382e-01   1.37855e-01   1.34139e-01   1.30323e-01   1.26498e-01   1.22753e-01   1.19059e-01   1.15357e-01   1.11689e-01   1.08098e-01   1.04628e-01   1.01260e-01   9.79607e-02   9.47485e-02   9.16437e-02   8.86658e-02   8.58000e-02   8.30238e-02   8.03456e-02   7.77738e-02   7.53168e-02   7.29624e-02   7.06948e-02   6.85173e-02   6.64328e-02   6.44447e-02   6.25430e-02   6.07164e-02   5.89659e-02   5.72926e-02   5.56974e-02   5.41725e-02   5.27096e-02   5.13087e-02   4.99702e-02   4.86942e-02   4.74746e-02   4.63051e-02   4.51854e-02   4.41152e-02   4.30944e-02   4.21181e-02   4.11816e-02   4.02846e-02   3.94271e-02   3.86088e-02   3.78259e-02   3.70747e-02   3.63550e-02   3.56667e-02   3.50099e-02   3.43814e-02   3.37782e-02   3.32003e-02   3.26474e-02   3.21196e-02   3.16143e-02   3.11293e-02   3.06644e-02   3.02195e-02   2.97948e-02   2.93882e-02   2.89978e-02   2.86235e-02   2.82654e-02   2.79233e-02   2.75958e-02   2.72812e-02   2.69796e-02   2.66909e-02   2.64150e-02   2.61508e-02   2.58970e-02   2.56536e-02   2.54203e-02   2.51970e-02   2.49829e-02   2.47772e-02   2.45796e-02   2.43898e-02   2.42075e-02   2.40323e-02   2.38638e-02   2.37015e-02   2.35449e-02   2.33934e-02   2.32472e-02   2.31061e-02   2.29694e-02   2.28364e-02   2.27064e-02   2.25798e-02   2.24568e-02   2.23366e-02   2.22181e-02   2.21005e-02   2.19844e-02   2.18705e-02   2.17575e-02   2.16444e-02   2.15300e-02   2.14151e-02   2.13005e-02   2.11849e-02   2.10672e-02   2.09462e-02   2.08225e-02   2.06966e-02   2.05676e-02   2.04343e-02   2.02957e-02   2.01518e-02   2.00029e-02   1.98483e-02   1.96869e-02   1.95180e-02   1.93410e-02   1.91556e-02   1.89614e-02   1.87578e-02   1.85444e-02   1.83198e-02   1.80831e-02   1.78343e-02   1.75733e-02   1.73002e-02   1.70128e-02   1.67093e-02   1.63906e-02   1.60574e-02   1.57103e-02   1.53464e-02   1.49633e-02   1.45629e-02   1.41471e-02   1.37177e-02   1.32708e-02   1.28036e-02   1.23198e-02   1.18232e-02   1.13175e-02   1.07977e-02   1.02605e-02   9.71248e-03   9.16010e-03   8.60991e-03   8.05545e-03   7.49236e-03   6.93027e-03   6.37885e-03   5.84774e-03   5.32854e-03   4.81399e-03   4.31547e-03   3.84436e-03   3.41204e-03   3.00755e-03   2.61899e-03   2.25635e-03   1.92959e-03   1.64869e-03   1.40090e-03   1.17105e-03   9.65464e-04   7.90456e-04   6.52350e-04   5.39578e-04   4.38419e-04   3.51965e-04   2.83309e-04   2.35544e-04   2.00972e-04   1.70735e-04   1.46188e-04   1.28686e-04   1.19581e-04   1.15449e-04   1.12038e-04   1.09460e-04   1.07830e-04   1.07262e-04   1.07288e-04   1.07466e-04   1.07952e-04   1.08897e-04   1.10456e-04   
+-1.00000e-03   -1.19627e-04   -1.19789e-04   -1.20246e-04   -1.20957e-04   -1.21881e-04   -1.22977e-04   -1.24842e-04   -1.28077e-04   -1.32646e-04   -1.38512e-04   -1.45638e-04   -1.57853e-04   -1.78305e-04   -2.05933e-04   -2.39677e-04   -2.78474e-04   -3.31160e-04   -4.05263e-04   -4.97769e-04   -6.05659e-04   -7.25919e-04   -8.72624e-04   -1.05744e-03   -1.27374e-03   -1.51488e-03   -1.77425e-03   -2.06720e-03   -2.40652e-03   -2.78173e-03   -3.18234e-03   -3.59785e-03   -4.03977e-03   -4.51897e-03   -5.02399e-03   -5.54335e-03   -6.06561e-03   -6.59748e-03   -7.14719e-03   -7.70556e-03   -8.26340e-03   -8.81151e-03   -9.35393e-03   -9.89684e-03   -1.04343e-02   -1.09603e-02   -1.14689e-02   -1.19632e-02   -1.24479e-02   -1.29196e-02   -1.33750e-02   -1.38107e-02   -1.42293e-02   -1.46345e-02   -1.50247e-02   -1.53981e-02   -1.57531e-02   -1.60918e-02   -1.64172e-02   -1.67285e-02   -1.70251e-02   -1.73063e-02   -1.75738e-02   -1.78295e-02   -1.80736e-02   -1.83059e-02   -1.85266e-02   -1.87365e-02   -1.89369e-02   -1.91283e-02   -1.93111e-02   -1.94858e-02   -1.96527e-02   -1.98123e-02   -1.99654e-02   -2.01128e-02   -2.02555e-02   -2.03931e-02   -2.05255e-02   -2.06537e-02   -2.07789e-02   -2.09020e-02   -2.10225e-02   -2.11397e-02   -2.12549e-02   -2.13692e-02   -2.14838e-02   -2.15979e-02   -2.17108e-02   -2.18236e-02   -2.19374e-02   -2.20533e-02   -2.21708e-02   -2.22891e-02   -2.24092e-02   -2.25320e-02   -2.26585e-02   -2.27883e-02   -2.29211e-02   -2.30575e-02   -2.31984e-02   -2.33443e-02   -2.34955e-02   -2.36518e-02   -2.38138e-02   -2.39819e-02   -2.41566e-02   -2.43383e-02   -2.45274e-02   -2.47242e-02   -2.49291e-02   -2.51423e-02   -2.53648e-02   -2.55972e-02   -2.58397e-02   -2.60924e-02   -2.63555e-02   -2.66301e-02   -2.69173e-02   -2.72172e-02   -2.75300e-02   -2.78558e-02   -2.81961e-02   -2.85523e-02   -2.89246e-02   -2.93129e-02   -2.97173e-02   -3.01397e-02   -3.05819e-02   -3.10441e-02   -3.15263e-02   -3.20286e-02   -3.25533e-02   -3.31028e-02   -3.36773e-02   -3.42767e-02   -3.49013e-02   -3.55539e-02   -3.62376e-02   -3.69526e-02   -3.76990e-02   -3.84769e-02   -3.92902e-02   -4.01427e-02   -4.10344e-02   -4.19657e-02   -4.29366e-02   -4.39520e-02   -4.50165e-02   -4.61306e-02   -4.72945e-02   -4.85085e-02   -4.97789e-02   -5.11117e-02   -5.25070e-02   -5.39647e-02   -5.54847e-02   -5.70752e-02   -5.87442e-02   -6.04911e-02   -6.23154e-02   -6.42166e-02   -6.62061e-02   -6.82939e-02   -7.04773e-02   -7.27537e-02   -7.51205e-02   -7.75933e-02   -8.01846e-02   -8.28875e-02   -8.56948e-02   -8.85995e-02   -9.16242e-02   -9.47844e-02   -9.80620e-02   -1.01439e-01   -1.04897e-01   -1.08472e-01   -1.12182e-01   -1.15986e-01   -1.19841e-01   -1.23706e-01   -1.27644e-01   -1.31684e-01   -1.35733e-01   -1.39695e-01   -1.43478e-01   -1.47232e-01   -1.51027e-01   -1.54650e-01   -1.57886e-01   -1.60522e-01   -1.62853e-01   -1.65136e-01   -1.67101e-01   -1.68479e-01   -1.68998e-01   -1.68713e-01   -1.67932e-01   -1.66766e-01   -1.65326e-01   -1.63722e-01   -1.61409e-01   -1.58008e-01   -1.53880e-01   -1.49384e-01   -1.44880e-01   -1.40188e-01   -1.35020e-01   -1.29572e-01   -1.24043e-01   -1.18631e-01   -1.13267e-01   -1.07820e-01   -1.02391e-01   -9.70824e-02   -9.19947e-02   -8.70902e-02   -8.22908e-02   -7.76383e-02   -7.31742e-02   -6.89402e-02   -6.49088e-02   -6.10322e-02   -5.73216e-02   -5.37883e-02   -5.04435e-02   -4.72691e-02   -4.42379e-02   -4.13474e-02   -3.85952e-02   -3.59787e-02   -3.34892e-02   -3.11138e-02   -2.88436e-02   -2.66701e-02   -2.45843e-02   -2.25856e-02   -2.06711e-02   -1.88288e-02   -1.70467e-02   -1.53128e-02   -1.36321e-02   -1.20086e-02   -1.04290e-02   -8.87955e-03   -7.34689e-03   -5.83950e-03   -4.36537e-03   -2.91024e-03   -1.45987e-03   0.00000e+00   1.45987e-03   2.91024e-03   4.36537e-03   5.83950e-03   7.34689e-03   8.87955e-03   1.04290e-02   1.20086e-02   1.36321e-02   1.53128e-02   1.70467e-02   1.88288e-02   2.06711e-02   2.25856e-02   2.45843e-02   2.66701e-02   2.88436e-02   3.11138e-02   3.34892e-02   3.59787e-02   3.85952e-02   4.13474e-02   4.42379e-02   4.72691e-02   5.04435e-02   5.37883e-02   5.73216e-02   6.10322e-02   6.49088e-02   6.89402e-02   7.31742e-02   7.76383e-02   8.22908e-02   8.70902e-02   9.19947e-02   9.70824e-02   1.02391e-01   1.07820e-01   1.13267e-01   1.18631e-01   1.24043e-01   1.29572e-01   1.35020e-01   1.40188e-01   1.44880e-01   1.49384e-01   1.53881e-01   1.58010e-01   1.61411e-01   1.63724e-01   1.65327e-01   1.66767e-01   1.67933e-01   1.68713e-01   1.68998e-01   1.68479e-01   1.67101e-01   1.65136e-01   1.62853e-01   1.60522e-01   1.57886e-01   1.54650e-01   1.51027e-01   1.47232e-01   1.43478e-01   1.39695e-01   1.35733e-01   1.31684e-01   1.27644e-01   1.23706e-01   1.19841e-01   1.15986e-01   1.12182e-01   1.08472e-01   1.04897e-01   1.01439e-01   9.80620e-02   9.47844e-02   9.16242e-02   8.85995e-02   8.56948e-02   8.28875e-02   8.01846e-02   7.75933e-02   7.51205e-02   7.27537e-02   7.04773e-02   6.82939e-02   6.62061e-02   6.42166e-02   6.23154e-02   6.04911e-02   5.87442e-02   5.70752e-02   5.54847e-02   5.39647e-02   5.25070e-02   5.11117e-02   4.97789e-02   4.85085e-02   4.72945e-02   4.61306e-02   4.50165e-02   4.39520e-02   4.29366e-02   4.19657e-02   4.10344e-02   4.01427e-02   3.92902e-02   3.84769e-02   3.76990e-02   3.69526e-02   3.62376e-02   3.55539e-02   3.49013e-02   3.42767e-02   3.36773e-02   3.31028e-02   3.25533e-02   3.20286e-02   3.15263e-02   3.10441e-02   3.05819e-02   3.01397e-02   2.97173e-02   2.93129e-02   2.89246e-02   2.85523e-02   2.81961e-02   2.78558e-02   2.75300e-02   2.72172e-02   2.69173e-02   2.66301e-02   2.63555e-02   2.60924e-02   2.58397e-02   2.55972e-02   2.53648e-02   2.51423e-02   2.49291e-02   2.47242e-02   2.45274e-02   2.43383e-02   2.41566e-02   2.39819e-02   2.38138e-02   2.36518e-02   2.34955e-02   2.33443e-02   2.31984e-02   2.30575e-02   2.29211e-02   2.27883e-02   2.26585e-02   2.25320e-02   2.24092e-02   2.22891e-02   2.21708e-02   2.20533e-02   2.19374e-02   2.18236e-02   2.17108e-02   2.15979e-02   2.14838e-02   2.13692e-02   2.12549e-02   2.11397e-02   2.10225e-02   2.09020e-02   2.07789e-02   2.06537e-02   2.05255e-02   2.03931e-02   2.02555e-02   2.01128e-02   1.99654e-02   1.98123e-02   1.96527e-02   1.94858e-02   1.93111e-02   1.91283e-02   1.89369e-02   1.87365e-02   1.85266e-02   1.83059e-02   1.80736e-02   1.78295e-02   1.75738e-02   1.73063e-02   1.70251e-02   1.67285e-02   1.64172e-02   1.60918e-02   1.57531e-02   1.53981e-02   1.50247e-02   1.46345e-02   1.42293e-02   1.38107e-02   1.33750e-02   1.29196e-02   1.24479e-02   1.19633e-02   1.14690e-02   1.09604e-02   1.04344e-02   9.89688e-03   9.35395e-03   8.81151e-03   8.26339e-03   7.70556e-03   7.14719e-03   6.59748e-03   6.06561e-03   5.54335e-03   5.02399e-03   4.51897e-03   4.03977e-03   3.59785e-03   3.18234e-03   2.78174e-03   2.40653e-03   2.06721e-03   1.77426e-03   1.51489e-03   1.27374e-03   1.05745e-03   8.72627e-04   7.25921e-04   6.05661e-04   4.97769e-04   4.05264e-04   3.31160e-04   2.78474e-04   2.39677e-04   2.05933e-04   1.78305e-04   1.57853e-04   1.45638e-04   1.38512e-04   1.32646e-04   1.28077e-04   1.24842e-04   1.22977e-04   1.21881e-04   1.20957e-04   1.20246e-04   1.19789e-04   1.19627e-04   
+-1.50000e-03   -1.35257e-04   -1.36311e-04   -1.38630e-04   -1.41914e-04   -1.45862e-04   -1.50171e-04   -1.55178e-04   -1.61587e-04   -1.69646e-04   -1.79604e-04   -1.91711e-04   -2.09359e-04   -2.35313e-04   -2.68879e-04   -3.09361e-04   -3.56066e-04   -4.17865e-04   -5.02136e-04   -6.05945e-04   -7.26358e-04   -8.60441e-04   -1.02290e-03   -1.22556e-03   -1.46119e-03   -1.72254e-03   -2.00237e-03   -2.31625e-03   -2.67699e-03   -3.07322e-03   -3.49356e-03   -3.92664e-03   -4.38315e-03   -4.87377e-03   -5.38709e-03   -5.91171e-03   -6.43623e-03   -6.96645e-03   -7.51025e-03   -8.05939e-03   -8.60560e-03   -9.14064e-03   -9.66799e-03   -1.01933e-02   -1.07116e-02   -1.12177e-02   -1.17068e-02   -1.21815e-02   -1.26461e-02   -1.30977e-02   -1.35335e-02   -1.39507e-02   -1.43517e-02   -1.47398e-02   -1.51136e-02   -1.54716e-02   -1.58124e-02   -1.61380e-02   -1.64509e-02   -1.67507e-02   -1.70366e-02   -1.73082e-02   -1.75669e-02   -1.78146e-02   -1.80512e-02   -1.82768e-02   -1.84914e-02   -1.86959e-02   -1.88913e-02   -1.90783e-02   -1.92571e-02   -1.94283e-02   -1.95921e-02   -1.97490e-02   -1.98998e-02   -2.00452e-02   -2.01860e-02   -2.03220e-02   -2.04530e-02   -2.05801e-02   -2.07042e-02   -2.08265e-02   -2.09463e-02   -2.10630e-02   -2.11777e-02   -2.12917e-02   -2.14059e-02   -2.15197e-02   -2.16324e-02   -2.17450e-02   -2.18587e-02   -2.19744e-02   -2.20916e-02   -2.22097e-02   -2.23296e-02   -2.24521e-02   -2.25783e-02   -2.27079e-02   -2.28404e-02   -2.29765e-02   -2.31170e-02   -2.32625e-02   -2.34131e-02   -2.35689e-02   -2.37301e-02   -2.38975e-02   -2.40713e-02   -2.42521e-02   -2.44402e-02   -2.46359e-02   -2.48396e-02   -2.50515e-02   -2.52725e-02   -2.55032e-02   -2.57438e-02   -2.59946e-02   -2.62556e-02   -2.65280e-02   -2.68130e-02   -2.71105e-02   -2.74208e-02   -2.77438e-02   -2.80811e-02   -2.84342e-02   -2.88031e-02   -2.91878e-02   -2.95884e-02   -3.00067e-02   -3.04446e-02   -3.09022e-02   -3.13796e-02   -3.18769e-02   -3.23964e-02   -3.29405e-02   -3.35092e-02   -3.41026e-02   -3.47209e-02   -3.53669e-02   -3.60435e-02   -3.67510e-02   -3.74896e-02   -3.82596e-02   -3.90647e-02   -3.99085e-02   -4.07914e-02   -4.17135e-02   -4.26751e-02   -4.36808e-02   -4.47353e-02   -4.58391e-02   -4.69926e-02   -4.81963e-02   -4.94563e-02   -5.07787e-02   -5.21637e-02   -5.36117e-02   -5.51230e-02   -5.67057e-02   -5.83677e-02   -6.01090e-02   -6.19295e-02   -6.38293e-02   -6.58194e-02   -6.79100e-02   -7.00997e-02   -7.23871e-02   -7.47708e-02   -7.72663e-02   -7.98867e-02   -8.26268e-02   -8.54818e-02   -8.84463e-02   -9.15435e-02   -9.47897e-02   -9.81700e-02   -1.01669e-01   -1.05273e-01   -1.09018e-01   -1.12924e-01   -1.16952e-01   -1.21063e-01   -1.25217e-01   -1.29483e-01   -1.33892e-01   -1.38342e-01   -1.42735e-01   -1.46971e-01   -1.51222e-01   -1.55560e-01   -1.59732e-01   -1.63486e-01   -1.66569e-01   -1.69323e-01   -1.72038e-01   -1.74385e-01   -1.76035e-01   -1.76658e-01   -1.76293e-01   -1.75296e-01   -1.73812e-01   -1.71986e-01   -1.69963e-01   -1.67083e-01   -1.62894e-01   -1.57851e-01   -1.52410e-01   -1.47025e-01   -1.41502e-01   -1.35500e-01   -1.29252e-01   -1.22994e-01   -1.16960e-01   -1.11082e-01   -1.05202e-01   -9.94194e-02   -9.38344e-02   -8.85471e-02   -8.35156e-02   -7.86520e-02   -7.39871e-02   -6.95515e-02   -6.53760e-02   -6.14313e-02   -5.76693e-02   -5.40932e-02   -5.07057e-02   -4.75100e-02   -4.44883e-02   -4.16164e-02   -3.88876e-02   -3.62948e-02   -3.38315e-02   -3.14896e-02   -2.92590e-02   -2.71298e-02   -2.50920e-02   -2.31356e-02   -2.12605e-02   -1.94651e-02   -1.77372e-02   -1.60648e-02   -1.44357e-02   -1.28545e-02   -1.13258e-02   -9.83737e-03   -8.37680e-03   -6.93181e-03   -5.51029e-03   -4.11953e-03   -2.74635e-03   -1.37757e-03   0.00000e+00   1.37757e-03   2.74635e-03   4.11953e-03   5.51029e-03   6.93181e-03   8.37680e-03   9.83737e-03   1.13258e-02   1.28545e-02   1.44357e-02   1.60648e-02   1.77372e-02   1.94651e-02   2.12605e-02   2.31356e-02   2.50920e-02   2.71298e-02   2.92590e-02   3.14896e-02   3.38315e-02   3.62948e-02   3.88876e-02   4.16164e-02   4.44883e-02   4.75100e-02   5.07057e-02   5.40932e-02   5.76693e-02   6.14313e-02   6.53760e-02   6.95515e-02   7.39871e-02   7.86520e-02   8.35156e-02   8.85471e-02   9.38344e-02   9.94194e-02   1.05202e-01   1.11082e-01   1.16960e-01   1.22994e-01   1.29252e-01   1.35500e-01   1.41502e-01   1.47025e-01   1.52410e-01   1.57851e-01   1.62894e-01   1.67083e-01   1.69963e-01   1.71986e-01   1.73812e-01   1.75296e-01   1.76293e-01   1.76658e-01   1.76035e-01   1.74385e-01   1.72039e-01   1.69323e-01   1.66569e-01   1.63485e-01   1.59731e-01   1.55559e-01   1.51221e-01   1.46970e-01   1.42734e-01   1.38341e-01   1.33891e-01   1.29483e-01   1.25217e-01   1.21063e-01   1.16952e-01   1.12924e-01   1.09018e-01   1.05273e-01   1.01669e-01   9.81700e-02   9.47897e-02   9.15435e-02   8.84463e-02   8.54818e-02   8.26268e-02   7.98867e-02   7.72663e-02   7.47708e-02   7.23871e-02   7.00997e-02   6.79100e-02   6.58194e-02   6.38293e-02   6.19295e-02   6.01090e-02   5.83677e-02   5.67057e-02   5.51230e-02   5.36117e-02   5.21637e-02   5.07787e-02   4.94563e-02   4.81963e-02   4.69926e-02   4.58391e-02   4.47353e-02   4.36808e-02   4.26751e-02   4.17135e-02   4.07914e-02   3.99085e-02   3.90647e-02   3.82596e-02   3.74896e-02   3.67510e-02   3.60435e-02   3.53669e-02   3.47209e-02   3.41026e-02   3.35092e-02   3.29405e-02   3.23964e-02   3.18769e-02   3.13796e-02   3.09022e-02   3.04446e-02   3.00067e-02   2.95884e-02   2.91878e-02   2.88031e-02   2.84342e-02   2.80811e-02   2.77438e-02   2.74208e-02   2.71105e-02   2.68130e-02   2.65280e-02   2.62556e-02   2.59946e-02   2.57438e-02   2.55032e-02   2.52725e-02   2.50515e-02   2.48396e-02   2.46359e-02   2.44402e-02   2.42521e-02   2.40713e-02   2.38975e-02   2.37301e-02   2.35689e-02   2.34131e-02   2.32625e-02   2.31170e-02   2.29765e-02   2.28404e-02   2.27079e-02   2.25783e-02   2.24521e-02   2.23296e-02   2.22097e-02   2.20916e-02   2.19744e-02   2.18587e-02   2.17450e-02   2.16324e-02   2.15197e-02   2.14059e-02   2.12917e-02   2.11777e-02   2.10630e-02   2.09463e-02   2.08265e-02   2.07042e-02   2.05801e-02   2.04530e-02   2.03220e-02   2.01860e-02   2.00452e-02   1.98998e-02   1.97490e-02   1.95921e-02   1.94283e-02   1.92571e-02   1.90783e-02   1.88913e-02   1.86959e-02   1.84914e-02   1.82768e-02   1.80512e-02   1.78146e-02   1.75669e-02   1.73082e-02   1.70366e-02   1.67507e-02   1.64509e-02   1.61380e-02   1.58124e-02   1.54716e-02   1.51136e-02   1.47398e-02   1.43517e-02   1.39507e-02   1.35335e-02   1.30977e-02   1.26461e-02   1.21816e-02   1.17069e-02   1.12178e-02   1.07116e-02   1.01934e-02   9.66802e-03   9.14065e-03   8.60561e-03   8.05939e-03   7.51025e-03   6.96645e-03   6.43623e-03   5.91171e-03   5.38708e-03   4.87376e-03   4.38314e-03   3.92663e-03   3.49355e-03   3.07321e-03   2.67698e-03   2.31624e-03   2.00236e-03   1.72253e-03   1.46118e-03   1.22556e-03   1.02290e-03   8.60441e-04   7.26358e-04   6.05945e-04   5.02136e-04   4.17865e-04   3.56066e-04   3.09361e-04   2.68879e-04   2.35313e-04   2.09359e-04   1.91711e-04   1.79604e-04   1.69646e-04   1.61587e-04   1.55178e-04   1.50171e-04   1.45862e-04   1.41914e-04   1.38630e-04   1.36311e-04   1.35257e-04   
+-2.00000e-03   -1.57810e-04   -1.61407e-04   -1.66806e-04   -1.73655e-04   -1.81598e-04   -1.90284e-04   -2.00010e-04   -2.11602e-04   -2.25495e-04   -2.42127e-04   -2.61934e-04   -2.88073e-04   -3.23173e-04   -3.66877e-04   -4.18825e-04   -4.78661e-04   -5.55525e-04   -6.56822e-04   -7.79593e-04   -9.20876e-04   -1.07771e-03   -1.26578e-03   -1.49717e-03   -1.76350e-03   -2.05639e-03   -2.36747e-03   -2.71225e-03   -3.10342e-03   -3.52840e-03   -3.97461e-03   -4.42947e-03   -4.90210e-03   -5.40285e-03   -5.92098e-03   -6.44574e-03   -6.96639e-03   -7.48737e-03   -8.01589e-03   -8.54535e-03   -9.06916e-03   -9.58071e-03   -1.00828e-02   -1.05801e-02   -1.10688e-02   -1.15453e-02   -1.20057e-02   -1.24524e-02   -1.28887e-02   -1.33125e-02   -1.37216e-02   -1.41140e-02   -1.44916e-02   -1.48571e-02   -1.52095e-02   -1.55475e-02   -1.58701e-02   -1.61789e-02   -1.64761e-02   -1.67612e-02   -1.70337e-02   -1.72932e-02   -1.75409e-02   -1.77785e-02   -1.80059e-02   -1.82232e-02   -1.84304e-02   -1.86282e-02   -1.88177e-02   -1.89992e-02   -1.91733e-02   -1.93403e-02   -1.95005e-02   -1.96543e-02   -1.98023e-02   -1.99453e-02   -2.00841e-02   -2.02183e-02   -2.03478e-02   -2.04735e-02   -2.05966e-02   -2.07179e-02   -2.08369e-02   -2.09529e-02   -2.10672e-02   -2.11807e-02   -2.12946e-02   -2.14081e-02   -2.15206e-02   -2.16330e-02   -2.17465e-02   -2.18621e-02   -2.19792e-02   -2.20972e-02   -2.22170e-02   -2.23394e-02   -2.24654e-02   -2.25947e-02   -2.27268e-02   -2.28625e-02   -2.30024e-02   -2.31473e-02   -2.32972e-02   -2.34520e-02   -2.36122e-02   -2.37784e-02   -2.39510e-02   -2.41305e-02   -2.43172e-02   -2.45114e-02   -2.47134e-02   -2.49235e-02   -2.51424e-02   -2.53709e-02   -2.56091e-02   -2.58573e-02   -2.61156e-02   -2.63851e-02   -2.66670e-02   -2.69612e-02   -2.72679e-02   -2.75871e-02   -2.79203e-02   -2.82689e-02   -2.86330e-02   -2.90126e-02   -2.94079e-02   -2.98206e-02   -3.02526e-02   -3.07039e-02   -3.11747e-02   -3.16650e-02   -3.21771e-02   -3.27133e-02   -3.32737e-02   -3.38585e-02   -3.44678e-02   -3.51045e-02   -3.57714e-02   -3.64687e-02   -3.71967e-02   -3.79556e-02   -3.87489e-02   -3.95802e-02   -4.04501e-02   -4.13588e-02   -4.23067e-02   -4.32984e-02   -4.43386e-02   -4.54278e-02   -4.65666e-02   -4.77555e-02   -4.90005e-02   -5.03075e-02   -5.16774e-02   -5.31107e-02   -5.46082e-02   -5.61778e-02   -5.78273e-02   -5.95576e-02   -6.13693e-02   -6.32632e-02   -6.52501e-02   -6.73405e-02   -6.95345e-02   -7.18320e-02   -7.42333e-02   -7.67537e-02   -7.94070e-02   -8.21909e-02   -8.51032e-02   -8.81413e-02   -9.13287e-02   -9.46836e-02   -9.81954e-02   -1.01854e-01   -1.05649e-01   -1.09620e-01   -1.13789e-01   -1.18124e-01   -1.22588e-01   -1.27147e-01   -1.31880e-01   -1.36820e-01   -1.41860e-01   -1.46896e-01   -1.51823e-01   -1.56848e-01   -1.62043e-01   -1.67096e-01   -1.71700e-01   -1.75545e-01   -1.79051e-01   -1.82549e-01   -1.85595e-01   -1.87748e-01   -1.88564e-01   -1.88070e-01   -1.86720e-01   -1.84716e-01   -1.82258e-01   -1.79547e-01   -1.75708e-01   -1.70158e-01   -1.63536e-01   -1.56483e-01   -1.49635e-01   -1.42774e-01   -1.35451e-01   -1.27964e-01   -1.20607e-01   -1.13678e-01   -1.07097e-01   -1.00650e-01   -9.44302e-02   -8.85309e-02   -8.30456e-02   -7.79213e-02   -7.30515e-02   -6.84496e-02   -6.41292e-02   -6.01036e-02   -5.63399e-02   -5.27905e-02   -4.94472e-02   -4.63017e-02   -4.33457e-02   -4.05621e-02   -3.79316e-02   -3.54428e-02   -3.30840e-02   -3.08439e-02   -2.87159e-02   -2.66935e-02   -2.47652e-02   -2.29196e-02   -2.11450e-02   -1.94419e-02   -1.78108e-02   -1.62401e-02   -1.47182e-02   -1.32337e-02   -1.17911e-02   -1.03951e-02   -9.03439e-03   -7.69762e-03   -6.37350e-03   -5.06880e-03   -3.79035e-03   -2.52690e-03   -1.26720e-03   0.00000e+00   1.26720e-03   2.52690e-03   3.79035e-03   5.06880e-03   6.37350e-03   7.69762e-03   9.03439e-03   1.03951e-02   1.17911e-02   1.32337e-02   1.47182e-02   1.62401e-02   1.78108e-02   1.94419e-02   2.11450e-02   2.29196e-02   2.47652e-02   2.66935e-02   2.87159e-02   3.08439e-02   3.30840e-02   3.54428e-02   3.79316e-02   4.05621e-02   4.33457e-02   4.63017e-02   4.94472e-02   5.27905e-02   5.63399e-02   6.01036e-02   6.41292e-02   6.84496e-02   7.30515e-02   7.79213e-02   8.30456e-02   8.85309e-02   9.44302e-02   1.00650e-01   1.07097e-01   1.13678e-01   1.20607e-01   1.27964e-01   1.35451e-01   1.42774e-01   1.49635e-01   1.56483e-01   1.63536e-01   1.70158e-01   1.75708e-01   1.79547e-01   1.82258e-01   1.84716e-01   1.86720e-01   1.88070e-01   1.88564e-01   1.87748e-01   1.85595e-01   1.82549e-01   1.79051e-01   1.75545e-01   1.71700e-01   1.67096e-01   1.62043e-01   1.56848e-01   1.51823e-01   1.46896e-01   1.41860e-01   1.36820e-01   1.31880e-01   1.27147e-01   1.22588e-01   1.18124e-01   1.13789e-01   1.09620e-01   1.05649e-01   1.01854e-01   9.81954e-02   9.46836e-02   9.13287e-02   8.81413e-02   8.51032e-02   8.21909e-02   7.94070e-02   7.67537e-02   7.42333e-02   7.18320e-02   6.95345e-02   6.73405e-02   6.52501e-02   6.32632e-02   6.13693e-02   5.95576e-02   5.78273e-02   5.61778e-02   5.46082e-02   5.31107e-02   5.16774e-02   5.03075e-02   4.90005e-02   4.77555e-02   4.65666e-02   4.54278e-02   4.43386e-02   4.32984e-02   4.23067e-02   4.13588e-02   4.04501e-02   3.95802e-02   3.87489e-02   3.79556e-02   3.71967e-02   3.64687e-02   3.57714e-02   3.51045e-02   3.44678e-02   3.38585e-02   3.32737e-02   3.27133e-02   3.21771e-02   3.16650e-02   3.11747e-02   3.07039e-02   3.02526e-02   2.98206e-02   2.94079e-02   2.90126e-02   2.86330e-02   2.82689e-02   2.79203e-02   2.75871e-02   2.72679e-02   2.69612e-02   2.66670e-02   2.63851e-02   2.61156e-02   2.58573e-02   2.56091e-02   2.53709e-02   2.51424e-02   2.49235e-02   2.47134e-02   2.45114e-02   2.43172e-02   2.41305e-02   2.39510e-02   2.37784e-02   2.36122e-02   2.34520e-02   2.32972e-02   2.31473e-02   2.30024e-02   2.28625e-02   2.27268e-02   2.25947e-02   2.24654e-02   2.23394e-02   2.22170e-02   2.20972e-02   2.19792e-02   2.18621e-02   2.17465e-02   2.16330e-02   2.15206e-02   2.14081e-02   2.12946e-02   2.11807e-02   2.10672e-02   2.09529e-02   2.08369e-02   2.07179e-02   2.05966e-02   2.04735e-02   2.03478e-02   2.02183e-02   2.00841e-02   1.99453e-02   1.98023e-02   1.96543e-02   1.95006e-02   1.93404e-02   1.91733e-02   1.89993e-02   1.88177e-02   1.86283e-02   1.84304e-02   1.82232e-02   1.80059e-02   1.77785e-02   1.75409e-02   1.72932e-02   1.70337e-02   1.67612e-02   1.64761e-02   1.61790e-02   1.58702e-02   1.55476e-02   1.52096e-02   1.48572e-02   1.44916e-02   1.41140e-02   1.37216e-02   1.33125e-02   1.28887e-02   1.24524e-02   1.20057e-02   1.15453e-02   1.10689e-02   1.05801e-02   1.00828e-02   9.58073e-03   9.06918e-03   8.54536e-03   8.01589e-03   7.48736e-03   6.96638e-03   6.44573e-03   5.92097e-03   5.40285e-03   4.90210e-03   4.42947e-03   3.97461e-03   3.52840e-03   3.10342e-03   2.71225e-03   2.36747e-03   2.05639e-03   1.76350e-03   1.49717e-03   1.26578e-03   1.07771e-03   9.20876e-04   7.79594e-04   6.56823e-04   5.55526e-04   4.78662e-04   4.18826e-04   3.66877e-04   3.23174e-04   2.88073e-04   2.61934e-04   2.42127e-04   2.25495e-04   2.11602e-04   2.00010e-04   1.90284e-04   1.81599e-04   1.73655e-04   1.66807e-04   1.61407e-04   1.57811e-04   
+-2.50000e-03   -1.87816e-04   -1.94828e-04   -2.04559e-04   -2.16518e-04   -2.30213e-04   -2.45152e-04   -2.61790e-04   -2.81274e-04   -3.04151e-04   -3.30969e-04   -3.62275e-04   -4.01409e-04   -4.51247e-04   -5.11638e-04   -5.82431e-04   -6.63475e-04   -7.64852e-04   -8.94458e-04   -1.04887e-03   -1.22465e-03   -1.41839e-03   -1.64738e-03   -1.92412e-03   -2.23792e-03   -2.57812e-03   -2.93405e-03   -3.32019e-03   -3.74896e-03   -4.20659e-03   -4.67931e-03   -5.15337e-03   -5.63507e-03   -6.13423e-03   -6.64241e-03   -7.15114e-03   -7.65195e-03   -8.14756e-03   -8.64363e-03   -9.13614e-03   -9.62104e-03   -1.00943e-02   -1.05579e-02   -1.10150e-02   -1.14631e-02   -1.18998e-02   -1.23227e-02   -1.27336e-02   -1.31350e-02   -1.35252e-02   -1.39025e-02   -1.42655e-02   -1.46157e-02   -1.49554e-02   -1.52835e-02   -1.55990e-02   -1.59011e-02   -1.61911e-02   -1.64708e-02   -1.67399e-02   -1.69978e-02   -1.72442e-02   -1.74801e-02   -1.77068e-02   -1.79244e-02   -1.81329e-02   -1.83324e-02   -1.85234e-02   -1.87067e-02   -1.88828e-02   -1.90521e-02   -1.92150e-02   -1.93716e-02   -1.95221e-02   -1.96674e-02   -1.98080e-02   -1.99448e-02   -2.00773e-02   -2.02055e-02   -2.03301e-02   -2.04523e-02   -2.05729e-02   -2.06913e-02   -2.08070e-02   -2.09211e-02   -2.10345e-02   -2.11482e-02   -2.12616e-02   -2.13741e-02   -2.14866e-02   -2.16001e-02   -2.17156e-02   -2.18326e-02   -2.19505e-02   -2.20701e-02   -2.21923e-02   -2.23180e-02   -2.24468e-02   -2.25785e-02   -2.27136e-02   -2.28529e-02   -2.29970e-02   -2.31460e-02   -2.32999e-02   -2.34591e-02   -2.36241e-02   -2.37954e-02   -2.39734e-02   -2.41583e-02   -2.43506e-02   -2.45504e-02   -2.47582e-02   -2.49746e-02   -2.52003e-02   -2.54355e-02   -2.56804e-02   -2.59352e-02   -2.62009e-02   -2.64786e-02   -2.67683e-02   -2.70702e-02   -2.73844e-02   -2.77123e-02   -2.80551e-02   -2.84131e-02   -2.87864e-02   -2.91749e-02   -2.95805e-02   -3.00049e-02   -3.04483e-02   -3.09106e-02   -3.13920e-02   -3.18946e-02   -3.24207e-02   -3.29705e-02   -3.35441e-02   -3.41417e-02   -3.47661e-02   -3.54201e-02   -3.61039e-02   -3.68178e-02   -3.75620e-02   -3.83401e-02   -3.91555e-02   -4.00087e-02   -4.09002e-02   -4.18304e-02   -4.28036e-02   -4.38244e-02   -4.48937e-02   -4.60121e-02   -4.71807e-02   -4.84052e-02   -4.96915e-02   -5.10406e-02   -5.24535e-02   -5.39311e-02   -5.54810e-02   -5.71112e-02   -5.88233e-02   -6.06190e-02   -6.25000e-02   -6.44768e-02   -6.65602e-02   -6.87518e-02   -7.10535e-02   -7.34669e-02   -7.60073e-02   -7.86894e-02   -8.15145e-02   -8.44836e-02   -8.75979e-02   -9.08814e-02   -9.43544e-02   -9.80127e-02   -1.01852e-01   -1.05869e-01   -1.10105e-01   -1.14588e-01   -1.19294e-01   -1.24195e-01   -1.29267e-01   -1.34600e-01   -1.40232e-01   -1.46059e-01   -1.51977e-01   -1.57881e-01   -1.64029e-01   -1.70493e-01   -1.76887e-01   -1.82827e-01   -1.87929e-01   -1.92751e-01   -1.97663e-01   -2.01997e-01   -2.05087e-01   -2.06265e-01   -2.05570e-01   -2.03673e-01   -2.00859e-01   -1.97409e-01   -1.93607e-01   -1.88164e-01   -1.80273e-01   -1.70937e-01   -1.61160e-01   -1.51946e-01   -1.43033e-01   -1.33748e-01   -1.24479e-01   -1.15616e-01   -1.07548e-01   -1.00154e-01   -9.31049e-02   -8.64760e-02   -8.03430e-02   -7.47813e-02   -6.97120e-02   -6.49983e-02   -6.06291e-02   -5.65934e-02   -5.28801e-02   -4.94508e-02   -4.62607e-02   -4.32890e-02   -4.05148e-02   -3.79172e-02   -3.54812e-02   -3.31944e-02   -3.10403e-02   -2.90023e-02   -2.70639e-02   -2.52207e-02   -2.34714e-02   -2.18036e-02   -2.02049e-02   -1.86628e-02   -1.71786e-02   -1.57547e-02   -1.43809e-02   -1.30469e-02   -1.17424e-02   -1.04714e-02   -9.23850e-03   -8.03437e-03   -6.84959e-03   -5.67480e-03   -4.51554e-03   -3.37754e-03   -2.25170e-03   -1.12889e-03   0.00000e+00   1.12889e-03   2.25170e-03   3.37754e-03   4.51554e-03   5.67480e-03   6.84959e-03   8.03437e-03   9.23850e-03   1.04714e-02   1.17424e-02   1.30469e-02   1.43809e-02   1.57547e-02   1.71786e-02   1.86628e-02   2.02049e-02   2.18036e-02   2.34714e-02   2.52207e-02   2.70639e-02   2.90023e-02   3.10403e-02   3.31944e-02   3.54812e-02   3.79172e-02   4.05148e-02   4.32890e-02   4.62607e-02   4.94508e-02   5.28801e-02   5.65934e-02   6.06291e-02   6.49983e-02   6.97120e-02   7.47813e-02   8.03430e-02   8.64761e-02   9.31050e-02   1.00154e-01   1.07548e-01   1.15616e-01   1.24478e-01   1.33746e-01   1.43031e-01   1.51944e-01   1.61158e-01   1.70935e-01   1.80272e-01   1.88164e-01   1.93607e-01   1.97409e-01   2.00859e-01   2.03673e-01   2.05570e-01   2.06265e-01   2.05087e-01   2.01997e-01   1.97663e-01   1.92751e-01   1.87929e-01   1.82827e-01   1.76887e-01   1.70493e-01   1.64029e-01   1.57881e-01   1.51977e-01   1.46060e-01   1.40233e-01   1.34601e-01   1.29268e-01   1.24196e-01   1.19294e-01   1.14589e-01   1.10105e-01   1.05869e-01   1.01852e-01   9.80127e-02   9.43543e-02   9.08813e-02   8.75979e-02   8.44836e-02   8.15145e-02   7.86894e-02   7.60073e-02   7.34669e-02   7.10535e-02   6.87518e-02   6.65602e-02   6.44768e-02   6.25000e-02   6.06190e-02   5.88233e-02   5.71112e-02   5.54810e-02   5.39311e-02   5.24535e-02   5.10406e-02   4.96915e-02   4.84052e-02   4.71807e-02   4.60121e-02   4.48937e-02   4.38244e-02   4.28036e-02   4.18304e-02   4.09002e-02   4.00087e-02   3.91555e-02   3.83401e-02   3.75620e-02   3.68178e-02   3.61039e-02   3.54201e-02   3.47661e-02   3.41417e-02   3.35441e-02   3.29705e-02   3.24207e-02   3.18946e-02   3.13920e-02   3.09106e-02   3.04483e-02   3.00049e-02   2.95805e-02   2.91749e-02   2.87864e-02   2.84131e-02   2.80551e-02   2.77123e-02   2.73844e-02   2.70702e-02   2.67683e-02   2.64786e-02   2.62009e-02   2.59352e-02   2.56804e-02   2.54355e-02   2.52003e-02   2.49746e-02   2.47582e-02   2.45505e-02   2.43507e-02   2.41585e-02   2.39737e-02   2.37957e-02   2.36244e-02   2.34593e-02   2.33000e-02   2.31461e-02   2.29970e-02   2.28529e-02   2.27136e-02   2.25785e-02   2.24468e-02   2.23180e-02   2.21923e-02   2.20701e-02   2.19505e-02   2.18326e-02   2.17156e-02   2.16001e-02   2.14866e-02   2.13741e-02   2.12616e-02   2.11482e-02   2.10345e-02   2.09211e-02   2.08070e-02   2.06913e-02   2.05729e-02   2.04523e-02   2.03301e-02   2.02055e-02   2.00773e-02   1.99448e-02   1.98080e-02   1.96674e-02   1.95221e-02   1.93716e-02   1.92150e-02   1.90521e-02   1.88828e-02   1.87067e-02   1.85234e-02   1.83324e-02   1.81329e-02   1.79244e-02   1.77068e-02   1.74801e-02   1.72442e-02   1.69978e-02   1.67399e-02   1.64708e-02   1.61911e-02   1.59011e-02   1.55990e-02   1.52835e-02   1.49554e-02   1.46157e-02   1.42655e-02   1.39025e-02   1.35252e-02   1.31350e-02   1.27336e-02   1.23227e-02   1.18998e-02   1.14631e-02   1.10150e-02   1.05579e-02   1.00943e-02   9.62104e-03   9.13613e-03   8.64363e-03   8.14755e-03   7.65194e-03   7.15113e-03   6.64241e-03   6.13423e-03   5.63506e-03   5.15337e-03   4.67931e-03   4.20659e-03   3.74896e-03   3.32019e-03   2.93405e-03   2.57812e-03   2.23792e-03   1.92412e-03   1.64739e-03   1.41840e-03   1.22466e-03   1.04887e-03   8.94460e-04   7.64852e-04   6.63474e-04   5.82430e-04   5.11637e-04   4.51247e-04   4.01409e-04   3.62275e-04   3.30969e-04   3.04151e-04   2.81274e-04   2.61790e-04   2.45152e-04   2.30213e-04   2.16518e-04   2.04559e-04   1.94828e-04   1.87816e-04   
+-3.00000e-03   -2.25724e-04   -2.37000e-04   -2.52483e-04   -2.71421e-04   -2.93065e-04   -3.16664e-04   -3.43052e-04   -3.73979e-04   -4.10072e-04   -4.51956e-04   -5.00255e-04   -5.59220e-04   -6.32576e-04   -7.20161e-04   -8.21814e-04   -9.37374e-04   -1.07975e-03   -1.25841e-03   -1.46807e-03   -1.70341e-03   -1.95914e-03   -2.25602e-03   -2.60748e-03   -2.99720e-03   -3.40889e-03   -3.82623e-03   -4.26014e-03   -4.72356e-03   -5.20318e-03   -5.68569e-03   -6.15778e-03   -6.62115e-03   -7.08469e-03   -7.54586e-03   -8.00216e-03   -8.45105e-03   -8.89338e-03   -9.33100e-03   -9.76292e-03   -1.01881e-02   -1.06056e-02   -1.10168e-02   -1.14226e-02   -1.18213e-02   -1.22113e-02   -1.25909e-02   -1.29616e-02   -1.33250e-02   -1.36797e-02   -1.40241e-02   -1.43568e-02   -1.46791e-02   -1.49929e-02   -1.52970e-02   -1.55907e-02   -1.58729e-02   -1.61448e-02   -1.64079e-02   -1.66619e-02   -1.69061e-02   -1.71403e-02   -1.73652e-02   -1.75821e-02   -1.77908e-02   -1.79915e-02   -1.81840e-02   -1.83689e-02   -1.85469e-02   -1.87183e-02   -1.88835e-02   -1.90429e-02   -1.91965e-02   -1.93445e-02   -1.94877e-02   -1.96266e-02   -1.97620e-02   -1.98935e-02   -2.00209e-02   -2.01451e-02   -2.02669e-02   -2.03873e-02   -2.05056e-02   -2.06215e-02   -2.07357e-02   -2.08493e-02   -2.09633e-02   -2.10770e-02   -2.11897e-02   -2.13024e-02   -2.14162e-02   -2.15319e-02   -2.16491e-02   -2.17672e-02   -2.18870e-02   -2.20093e-02   -2.21349e-02   -2.22635e-02   -2.23948e-02   -2.25293e-02   -2.26680e-02   -2.28113e-02   -2.29594e-02   -2.31122e-02   -2.32702e-02   -2.34338e-02   -2.36034e-02   -2.37795e-02   -2.39623e-02   -2.41521e-02   -2.43493e-02   -2.45542e-02   -2.47675e-02   -2.49899e-02   -2.52214e-02   -2.54624e-02   -2.57129e-02   -2.59740e-02   -2.62467e-02   -2.65310e-02   -2.68272e-02   -2.71353e-02   -2.74568e-02   -2.77928e-02   -2.81435e-02   -2.85090e-02   -2.88894e-02   -2.92863e-02   -2.97014e-02   -3.01349e-02   -3.05868e-02   -3.10573e-02   -3.15484e-02   -3.20622e-02   -3.25991e-02   -3.31591e-02   -3.37425e-02   -3.43520e-02   -3.49902e-02   -3.56574e-02   -3.63540e-02   -3.70802e-02   -3.78392e-02   -3.86346e-02   -3.94669e-02   -4.03366e-02   -4.12445e-02   -4.21947e-02   -4.31916e-02   -4.42362e-02   -4.53293e-02   -4.64718e-02   -4.76691e-02   -4.89272e-02   -5.02475e-02   -5.16315e-02   -5.30808e-02   -5.46026e-02   -5.62048e-02   -5.78899e-02   -5.96602e-02   -6.15183e-02   -6.34743e-02   -6.55392e-02   -6.77166e-02   -7.00100e-02   -7.24231e-02   -7.49708e-02   -7.76689e-02   -8.05223e-02   -8.35360e-02   -8.67149e-02   -9.00833e-02   -9.36645e-02   -9.74623e-02   -1.01481e-01   -1.05723e-01   -1.10235e-01   -1.15051e-01   -1.20162e-01   -1.25554e-01   -1.31218e-01   -1.37257e-01   -1.43724e-01   -1.50528e-01   -1.57577e-01   -1.64782e-01   -1.72471e-01   -1.80722e-01   -1.89072e-01   -1.97058e-01   -2.04214e-01   -2.11371e-01   -2.18910e-01   -2.25699e-01   -2.30604e-01   -2.32491e-01   -2.31491e-01   -2.28759e-01   -2.24696e-01   -2.19702e-01   -2.14177e-01   -2.05980e-01   -1.93891e-01   -1.79696e-01   -1.65177e-01   -1.52121e-01   -1.40172e-01   -1.28126e-01   -1.16494e-01   -1.05788e-01   -9.65166e-02   -8.84400e-02   -8.10011e-02   -7.42370e-02   -6.81847e-02   -6.28812e-02   -5.82003e-02   -5.39637e-02   -5.01305e-02   -4.66596e-02   -4.35102e-02   -4.06398e-02   -3.80117e-02   -3.55933e-02   -3.33522e-02   -3.12558e-02   -2.92932e-02   -2.74621e-02   -2.57423e-02   -2.41142e-02   -2.25578e-02   -2.10719e-02   -1.96607e-02   -1.83118e-02   -1.70132e-02   -1.57526e-02   -1.45319e-02   -1.33556e-02   -1.22156e-02   -1.11036e-02   -1.00117e-02   -8.94312e-03   -7.90201e-03   -6.88127e-03   -5.87384e-03   -4.87263e-03   -3.88151e-03   -2.90490e-03   -1.93660e-03   -9.70376e-04   0.00000e+00   9.70376e-04   1.93660e-03   2.90490e-03   3.88151e-03   4.87263e-03   5.87384e-03   6.88127e-03   7.90201e-03   8.94312e-03   1.00117e-02   1.11036e-02   1.22156e-02   1.33556e-02   1.45319e-02   1.57526e-02   1.70132e-02   1.83118e-02   1.96607e-02   2.10719e-02   2.25578e-02   2.41142e-02   2.57423e-02   2.74621e-02   2.92932e-02   3.12558e-02   3.33522e-02   3.55933e-02   3.80117e-02   4.06398e-02   4.35102e-02   4.66596e-02   5.01305e-02   5.39637e-02   5.82003e-02   6.28812e-02   6.81847e-02   7.42370e-02   8.10011e-02   8.84400e-02   9.65166e-02   1.05788e-01   1.16494e-01   1.28126e-01   1.40172e-01   1.52121e-01   1.65178e-01   1.79696e-01   1.93892e-01   2.05980e-01   2.14177e-01   2.19701e-01   2.24695e-01   2.28758e-01   2.31489e-01   2.32489e-01   2.30602e-01   2.25698e-01   2.18909e-01   2.11370e-01   2.04214e-01   1.97058e-01   1.89073e-01   1.80722e-01   1.72471e-01   1.64782e-01   1.57577e-01   1.50528e-01   1.43724e-01   1.37257e-01   1.31218e-01   1.25554e-01   1.20162e-01   1.15052e-01   1.10236e-01   1.05724e-01   1.01481e-01   9.74629e-02   9.36648e-02   9.00833e-02   8.67148e-02   8.35358e-02   8.05222e-02   7.76688e-02   7.49708e-02   7.24231e-02   7.00100e-02   6.77166e-02   6.55392e-02   6.34743e-02   6.15183e-02   5.96602e-02   5.78899e-02   5.62048e-02   5.46026e-02   5.30808e-02   5.16315e-02   5.02475e-02   4.89272e-02   4.76691e-02   4.64718e-02   4.53293e-02   4.42362e-02   4.31916e-02   4.21947e-02   4.12445e-02   4.03366e-02   3.94668e-02   3.86346e-02   3.78392e-02   3.70802e-02   3.63541e-02   3.56576e-02   3.49905e-02   3.43524e-02   3.37429e-02   3.31594e-02   3.25993e-02   3.20624e-02   3.15485e-02   3.10573e-02   3.05868e-02   3.01349e-02   2.97014e-02   2.92863e-02   2.88894e-02   2.85090e-02   2.81435e-02   2.77928e-02   2.74568e-02   2.71353e-02   2.68272e-02   2.65310e-02   2.62467e-02   2.59740e-02   2.57129e-02   2.54624e-02   2.52214e-02   2.49899e-02   2.47675e-02   2.45542e-02   2.43493e-02   2.41521e-02   2.39623e-02   2.37796e-02   2.36035e-02   2.34338e-02   2.32702e-02   2.31121e-02   2.29593e-02   2.28111e-02   2.26678e-02   2.25292e-02   2.23947e-02   2.22635e-02   2.21349e-02   2.20093e-02   2.18870e-02   2.17672e-02   2.16491e-02   2.15319e-02   2.14162e-02   2.13024e-02   2.11897e-02   2.10770e-02   2.09633e-02   2.08493e-02   2.07357e-02   2.06215e-02   2.05056e-02   2.03873e-02   2.02669e-02   2.01451e-02   2.00209e-02   1.98935e-02   1.97620e-02   1.96266e-02   1.94877e-02   1.93445e-02   1.91965e-02   1.90429e-02   1.88835e-02   1.87183e-02   1.85469e-02   1.83689e-02   1.81840e-02   1.79915e-02   1.77908e-02   1.75821e-02   1.73652e-02   1.71403e-02   1.69061e-02   1.66619e-02   1.64079e-02   1.61448e-02   1.58729e-02   1.55907e-02   1.52970e-02   1.49929e-02   1.46791e-02   1.43568e-02   1.40241e-02   1.36797e-02   1.33250e-02   1.29616e-02   1.25909e-02   1.22113e-02   1.18213e-02   1.14226e-02   1.10168e-02   1.06056e-02   1.01881e-02   9.76292e-03   9.33101e-03   8.89339e-03   8.45106e-03   8.00217e-03   7.54587e-03   7.08469e-03   6.62115e-03   6.15778e-03   5.68569e-03   5.20318e-03   4.72356e-03   4.26014e-03   3.82623e-03   3.40889e-03   2.99720e-03   2.60748e-03   2.25602e-03   1.95914e-03   1.70341e-03   1.46807e-03   1.25841e-03   1.07975e-03   9.37374e-04   8.21814e-04   7.20161e-04   6.32576e-04   5.59220e-04   5.00255e-04   4.51956e-04   4.10073e-04   3.73980e-04   3.43053e-04   3.16665e-04   2.93066e-04   2.71422e-04   2.52483e-04   2.37000e-04   2.25723e-04   
+-3.50000e-03   -2.71691e-04   -2.87941e-04   -3.10704e-04   -3.38788e-04   -3.71003e-04   -4.06158e-04   -4.45722e-04   -4.92473e-04   -5.47186e-04   -6.10633e-04   -6.83590e-04   -7.72392e-04   -8.82651e-04   -1.01405e-03   -1.16627e-03   -1.33900e-03   -1.55340e-03   -1.82322e-03   -2.13701e-03   -2.48333e-03   -2.85073e-03   -3.27149e-03   -3.76217e-03   -4.28777e-03   -4.81327e-03   -5.30368e-03   -5.76315e-03   -6.21568e-03   -6.65603e-03   -7.07896e-03   -7.47923e-03   -7.85245e-03   -8.20403e-03   -8.54338e-03   -8.87994e-03   -9.22315e-03   -9.57337e-03   -9.92431e-03   -1.02754e-02   -1.06262e-02   -1.09760e-02   -1.13268e-02   -1.16789e-02   -1.20296e-02   -1.23759e-02   -1.27151e-02   -1.30486e-02   -1.33786e-02   -1.37031e-02   -1.40200e-02   -1.43274e-02   -1.46266e-02   -1.49193e-02   -1.52045e-02   -1.54809e-02   -1.57475e-02   -1.60053e-02   -1.62557e-02   -1.64981e-02   -1.67321e-02   -1.69572e-02   -1.71740e-02   -1.73837e-02   -1.75862e-02   -1.77814e-02   -1.79692e-02   -1.81501e-02   -1.83247e-02   -1.84934e-02   -1.86563e-02   -1.88138e-02   -1.89660e-02   -1.91130e-02   -1.92555e-02   -1.93940e-02   -1.95291e-02   -1.96605e-02   -1.97881e-02   -1.99127e-02   -2.00351e-02   -2.01560e-02   -2.02750e-02   -2.03916e-02   -2.05066e-02   -2.06211e-02   -2.07359e-02   -2.08504e-02   -2.09640e-02   -2.10777e-02   -2.11922e-02   -2.13086e-02   -2.14263e-02   -2.15448e-02   -2.16648e-02   -2.17872e-02   -2.19128e-02   -2.20413e-02   -2.21723e-02   -2.23066e-02   -2.24447e-02   -2.25873e-02   -2.27345e-02   -2.28861e-02   -2.30427e-02   -2.32047e-02   -2.33725e-02   -2.35465e-02   -2.37268e-02   -2.39139e-02   -2.41081e-02   -2.43098e-02   -2.45195e-02   -2.47379e-02   -2.49650e-02   -2.52013e-02   -2.54469e-02   -2.57028e-02   -2.59697e-02   -2.62480e-02   -2.65376e-02   -2.68388e-02   -2.71527e-02   -2.74806e-02   -2.78226e-02   -2.81788e-02   -2.85495e-02   -2.89362e-02   -2.93405e-02   -2.97625e-02   -3.02023e-02   -3.06600e-02   -3.11376e-02   -3.16371e-02   -3.21587e-02   -3.27028e-02   -3.32694e-02   -3.38611e-02   -3.44804e-02   -3.51277e-02   -3.58034e-02   -3.65079e-02   -3.72443e-02   -3.80159e-02   -3.88233e-02   -3.96671e-02   -4.05479e-02   -4.14697e-02   -4.24367e-02   -4.34501e-02   -4.45110e-02   -4.56204e-02   -4.67836e-02   -4.80062e-02   -4.92901e-02   -5.06371e-02   -5.20490e-02   -5.35327e-02   -5.50959e-02   -5.67419e-02   -5.84740e-02   -6.02953e-02   -6.22156e-02   -6.42460e-02   -6.63918e-02   -6.86583e-02   -7.10508e-02   -7.35837e-02   -7.62737e-02   -7.91299e-02   -8.21608e-02   -8.53755e-02   -8.87981e-02   -9.24554e-02   -9.63600e-02   -1.00525e-01   -1.04962e-01   -1.09720e-01   -1.14843e-01   -1.20341e-01   -1.26222e-01   -1.32495e-01   -1.39278e-01   -1.46648e-01   -1.54550e-01   -1.62932e-01   -1.71740e-01   -1.81390e-01   -1.91998e-01   -2.03059e-01   -2.14067e-01   -2.24519e-01   -2.35867e-01   -2.48458e-01   -2.60130e-01   -2.68719e-01   -2.72063e-01   -2.70626e-01   -2.66679e-01   -2.60768e-01   -2.53439e-01   -2.45238e-01   -2.32047e-01   -2.11824e-01   -1.88226e-01   -1.64912e-01   -1.45540e-01   -1.29468e-01   -1.14018e-01   -9.97967e-02   -8.74092e-02   -7.74612e-02   -6.94086e-02   -6.22937e-02   -5.61020e-02   -5.08185e-02   -4.64288e-02   -4.27394e-02   -3.95191e-02   -3.66962e-02   -3.41993e-02   -3.19566e-02   -2.99301e-02   -2.81049e-02   -2.64447e-02   -2.49128e-02   -2.34728e-02   -2.21224e-02   -2.08688e-02   -1.96902e-02   -1.85645e-02   -1.74697e-02   -1.64077e-02   -1.53892e-02   -1.44055e-02   -1.34479e-02   -1.25078e-02   -1.15871e-02   -1.06902e-02   -9.81240e-03   -8.94874e-03   -8.09437e-03   -7.25144e-03   -6.42279e-03   -5.60450e-03   -4.79270e-03   -3.98347e-03   -3.17875e-03   -2.38105e-03   -1.58737e-03   -7.94687e-04   0.00000e+00   7.94687e-04   1.58737e-03   2.38105e-03   3.17875e-03   3.98347e-03   4.79270e-03   5.60450e-03   6.42279e-03   7.25144e-03   8.09437e-03   8.94874e-03   9.81240e-03   1.06902e-02   1.15871e-02   1.25078e-02   1.34479e-02   1.44055e-02   1.53892e-02   1.64077e-02   1.74697e-02   1.85645e-02   1.96902e-02   2.08688e-02   2.21224e-02   2.34728e-02   2.49128e-02   2.64447e-02   2.81049e-02   2.99301e-02   3.19566e-02   3.41993e-02   3.66962e-02   3.95191e-02   4.27394e-02   4.64288e-02   5.08185e-02   5.61020e-02   6.22937e-02   6.94086e-02   7.74612e-02   8.74092e-02   9.97967e-02   1.14018e-01   1.29468e-01   1.45540e-01   1.64912e-01   1.88226e-01   2.11824e-01   2.32047e-01   2.45238e-01   2.53439e-01   2.60768e-01   2.66679e-01   2.70626e-01   2.72063e-01   2.68719e-01   2.60130e-01   2.48458e-01   2.35867e-01   2.24519e-01   2.14067e-01   2.03059e-01   1.91998e-01   1.81390e-01   1.71740e-01   1.62932e-01   1.54550e-01   1.46648e-01   1.39278e-01   1.32495e-01   1.26222e-01   1.20341e-01   1.14843e-01   1.09720e-01   1.04962e-01   1.00525e-01   9.63600e-02   9.24554e-02   8.87981e-02   8.53755e-02   8.21608e-02   7.91299e-02   7.62737e-02   7.35837e-02   7.10508e-02   6.86583e-02   6.63918e-02   6.42460e-02   6.22156e-02   6.02953e-02   5.84740e-02   5.67419e-02   5.50959e-02   5.35327e-02   5.20490e-02   5.06371e-02   4.92901e-02   4.80062e-02   4.67836e-02   4.56204e-02   4.45110e-02   4.34501e-02   4.24367e-02   4.14697e-02   4.05479e-02   3.96671e-02   3.88233e-02   3.80159e-02   3.72443e-02   3.65079e-02   3.58034e-02   3.51277e-02   3.44804e-02   3.38611e-02   3.32694e-02   3.27028e-02   3.21587e-02   3.16371e-02   3.11376e-02   3.06600e-02   3.02023e-02   2.97625e-02   2.93405e-02   2.89362e-02   2.85495e-02   2.81788e-02   2.78226e-02   2.74806e-02   2.71527e-02   2.68388e-02   2.65376e-02   2.62480e-02   2.59698e-02   2.57028e-02   2.54469e-02   2.52013e-02   2.49650e-02   2.47377e-02   2.45193e-02   2.43096e-02   2.41080e-02   2.39138e-02   2.37268e-02   2.35464e-02   2.33725e-02   2.32047e-02   2.30427e-02   2.28862e-02   2.27345e-02   2.25873e-02   2.24447e-02   2.23066e-02   2.21723e-02   2.20413e-02   2.19128e-02   2.17872e-02   2.16648e-02   2.15448e-02   2.14263e-02   2.13086e-02   2.11922e-02   2.10777e-02   2.09640e-02   2.08504e-02   2.07359e-02   2.06211e-02   2.05066e-02   2.03916e-02   2.02750e-02   2.01560e-02   2.00351e-02   1.99127e-02   1.97881e-02   1.96605e-02   1.95291e-02   1.93940e-02   1.92555e-02   1.91130e-02   1.89660e-02   1.88138e-02   1.86563e-02   1.84934e-02   1.83247e-02   1.81501e-02   1.79692e-02   1.77814e-02   1.75862e-02   1.73837e-02   1.71740e-02   1.69572e-02   1.67321e-02   1.64981e-02   1.62557e-02   1.60054e-02   1.57476e-02   1.54810e-02   1.52046e-02   1.49194e-02   1.46267e-02   1.43275e-02   1.40201e-02   1.37031e-02   1.33787e-02   1.30487e-02   1.27151e-02   1.23759e-02   1.20296e-02   1.16789e-02   1.13268e-02   1.09760e-02   1.06262e-02   1.02754e-02   9.92431e-03   9.57337e-03   9.22315e-03   8.87994e-03   8.54338e-03   8.20403e-03   7.85245e-03   7.47923e-03   7.07896e-03   6.65603e-03   6.21568e-03   5.76315e-03   5.30368e-03   4.81327e-03   4.28777e-03   3.76217e-03   3.27149e-03   2.85073e-03   2.48333e-03   2.13701e-03   1.82322e-03   1.55340e-03   1.33900e-03   1.16627e-03   1.01405e-03   8.82652e-04   7.72393e-04   6.83591e-04   6.10634e-04   5.47186e-04   4.92473e-04   4.45722e-04   4.06158e-04   3.71003e-04   3.38788e-04   3.10704e-04   2.87941e-04   2.71691e-04   
+-4.00000e-03   -3.25347e-04   -3.47012e-04   -3.78537e-04   -4.18043e-04   -4.63652e-04   -5.13484e-04   -5.69894e-04   -6.37265e-04   -7.16765e-04   -8.09558e-04   -9.16810e-04   -1.04847e-03   -1.21385e-03   -1.41311e-03   -1.64644e-03   -1.91402e-03   -2.26098e-03   -2.71271e-03   -3.23981e-03   -3.81284e-03   -4.40240e-03   -5.10414e-03   -5.94567e-03   -6.79556e-03   -7.52232e-03   -7.99450e-03   -8.26121e-03   -8.47144e-03   -8.64353e-03   -8.79583e-03   -8.94670e-03   -9.08701e-03   -9.20661e-03   -9.32230e-03   -9.45089e-03   -9.60918e-03   -9.81919e-03   -1.00796e-02   -1.03724e-02   -1.06792e-02   -1.09820e-02   -1.12860e-02   -1.16041e-02   -1.19291e-02   -1.22542e-02   -1.25725e-02   -1.28858e-02   -1.31987e-02   -1.35086e-02   -1.38126e-02   -1.41080e-02   -1.43960e-02   -1.46788e-02   -1.49551e-02   -1.52237e-02   -1.54832e-02   -1.57347e-02   -1.59794e-02   -1.62170e-02   -1.64468e-02   -1.66683e-02   -1.68822e-02   -1.70895e-02   -1.72901e-02   -1.74838e-02   -1.76706e-02   -1.78508e-02   -1.80251e-02   -1.81937e-02   -1.83569e-02   -1.85150e-02   -1.86679e-02   -1.88160e-02   -1.89597e-02   -1.90995e-02   -1.92361e-02   -1.93691e-02   -1.94985e-02   -1.96248e-02   -1.97490e-02   -1.98717e-02   -1.99925e-02   -2.01108e-02   -2.02277e-02   -2.03439e-02   -2.04603e-02   -2.05763e-02   -2.06914e-02   -2.08064e-02   -2.09222e-02   -2.10397e-02   -2.11584e-02   -2.12776e-02   -2.13983e-02   -2.15212e-02   -2.16472e-02   -2.17759e-02   -2.19070e-02   -2.20411e-02   -2.21788e-02   -2.23208e-02   -2.24670e-02   -2.26174e-02   -2.27724e-02   -2.29325e-02   -2.30983e-02   -2.32700e-02   -2.34478e-02   -2.36320e-02   -2.38230e-02   -2.40211e-02   -2.42269e-02   -2.44410e-02   -2.46634e-02   -2.48946e-02   -2.51346e-02   -2.53844e-02   -2.56447e-02   -2.59158e-02   -2.61978e-02   -2.64909e-02   -2.67963e-02   -2.71151e-02   -2.74475e-02   -2.77935e-02   -2.81532e-02   -2.85281e-02   -2.89196e-02   -2.93281e-02   -2.97536e-02   -3.01965e-02   -3.06586e-02   -3.11419e-02   -3.16464e-02   -3.21724e-02   -3.27199e-02   -3.32912e-02   -3.38888e-02   -3.45131e-02   -3.51646e-02   -3.58438e-02   -3.65536e-02   -3.72971e-02   -3.80750e-02   -3.88880e-02   -3.97367e-02   -4.06250e-02   -4.15568e-02   -4.25333e-02   -4.35558e-02   -4.46253e-02   -4.57466e-02   -4.69252e-02   -4.81632e-02   -4.94628e-02   -5.08263e-02   -5.22601e-02   -5.37716e-02   -5.53647e-02   -5.70432e-02   -5.88109e-02   -6.06769e-02   -6.26521e-02   -6.47435e-02   -6.69578e-02   -6.93016e-02   -7.17888e-02   -7.44368e-02   -7.72578e-02   -8.02640e-02   -8.34678e-02   -8.68928e-02   -9.05687e-02   -9.45172e-02   -9.87594e-02   -1.03317e-01   -1.08238e-01   -1.13579e-01   -1.19373e-01   -1.25652e-01   -1.32451e-01   -1.39894e-01   -1.48094e-01   -1.57065e-01   -1.66822e-01   -1.77377e-01   -1.89223e-01   -2.02574e-01   -2.17024e-01   -2.32170e-01   -2.47607e-01   -2.66418e-01   -2.88935e-01   -3.10627e-01   -3.26965e-01   -3.33417e-01   -3.31487e-01   -3.26121e-01   -3.17958e-01   -3.07635e-01   -2.95790e-01   -2.72937e-01   -2.35084e-01   -1.91111e-01   -1.49901e-01   -1.20334e-01   -1.00427e-01   -8.26010e-02   -6.73463e-02   -5.51512e-02   -4.65044e-02   -4.02622e-02   -3.49613e-02   -3.06109e-02   -2.72202e-02   -2.47987e-02   -2.30657e-02   -2.16716e-02   -2.05219e-02   -1.95224e-02   -1.85786e-02   -1.76766e-02   -1.68563e-02   -1.61046e-02   -1.54083e-02   -1.47542e-02   -1.41538e-02   -1.36086e-02   -1.30904e-02   -1.25711e-02   -1.20224e-02   -1.14380e-02   -1.08361e-02   -1.02256e-02   -9.61496e-03   -9.01307e-03   -8.42258e-03   -7.83763e-03   -7.25415e-03   -6.66806e-03   -6.07529e-03   -5.47409e-03   -4.86711e-03   -4.25687e-03   -3.64587e-03   -3.03663e-03   -2.42917e-03   -1.82183e-03   -1.21455e-03   -6.07294e-04   0.00000e+00   6.07294e-04   1.21455e-03   1.82183e-03   2.42917e-03   3.03663e-03   3.64587e-03   4.25687e-03   4.86711e-03   5.47409e-03   6.07529e-03   6.66806e-03   7.25415e-03   7.83763e-03   8.42258e-03   9.01307e-03   9.61496e-03   1.02256e-02   1.08361e-02   1.14380e-02   1.20224e-02   1.25711e-02   1.30904e-02   1.36086e-02   1.41538e-02   1.47542e-02   1.54083e-02   1.61046e-02   1.68563e-02   1.76766e-02   1.85786e-02   1.95224e-02   2.05219e-02   2.16716e-02   2.30657e-02   2.47987e-02   2.72202e-02   3.06109e-02   3.49613e-02   4.02622e-02   4.65044e-02   5.51512e-02   6.73463e-02   8.26010e-02   1.00427e-01   1.20334e-01   1.49901e-01   1.91111e-01   2.35084e-01   2.72937e-01   2.95790e-01   3.07635e-01   3.17958e-01   3.26121e-01   3.31487e-01   3.33417e-01   3.26965e-01   3.10627e-01   2.88935e-01   2.66418e-01   2.47607e-01   2.32170e-01   2.17024e-01   2.02574e-01   1.89223e-01   1.77377e-01   1.66822e-01   1.57065e-01   1.48094e-01   1.39894e-01   1.32451e-01   1.25652e-01   1.19373e-01   1.13579e-01   1.08238e-01   1.03317e-01   9.87593e-02   9.45169e-02   9.05683e-02   8.68922e-02   8.34672e-02   8.02635e-02   7.72574e-02   7.44366e-02   7.17887e-02   6.93016e-02   6.69578e-02   6.47436e-02   6.26522e-02   6.06769e-02   5.88109e-02   5.70432e-02   5.53647e-02   5.37716e-02   5.22601e-02   5.08263e-02   4.94628e-02   4.81632e-02   4.69252e-02   4.57466e-02   4.46253e-02   4.35558e-02   4.25333e-02   4.15568e-02   4.06250e-02   3.97367e-02   3.88880e-02   3.80750e-02   3.72971e-02   3.65536e-02   3.58438e-02   3.51646e-02   3.45131e-02   3.38888e-02   3.32912e-02   3.27199e-02   3.21724e-02   3.16464e-02   3.11419e-02   3.06586e-02   3.01965e-02   2.97536e-02   2.93281e-02   2.89196e-02   2.85281e-02   2.81532e-02   2.77935e-02   2.74475e-02   2.71151e-02   2.67963e-02   2.64909e-02   2.61978e-02   2.59158e-02   2.56447e-02   2.53844e-02   2.51346e-02   2.48945e-02   2.46634e-02   2.44410e-02   2.42269e-02   2.40211e-02   2.38230e-02   2.36321e-02   2.34479e-02   2.32702e-02   2.30985e-02   2.29327e-02   2.27725e-02   2.26175e-02   2.24671e-02   2.23208e-02   2.21788e-02   2.20411e-02   2.19070e-02   2.17759e-02   2.16472e-02   2.15212e-02   2.13983e-02   2.12776e-02   2.11584e-02   2.10397e-02   2.09222e-02   2.08064e-02   2.06914e-02   2.05763e-02   2.04603e-02   2.03439e-02   2.02277e-02   2.01108e-02   1.99925e-02   1.98717e-02   1.97490e-02   1.96248e-02   1.94985e-02   1.93691e-02   1.92361e-02   1.90995e-02   1.89597e-02   1.88160e-02   1.86679e-02   1.85150e-02   1.83569e-02   1.81937e-02   1.80251e-02   1.78508e-02   1.76705e-02   1.74837e-02   1.72900e-02   1.70895e-02   1.68823e-02   1.66684e-02   1.64469e-02   1.62171e-02   1.59795e-02   1.57347e-02   1.54832e-02   1.52236e-02   1.49551e-02   1.46788e-02   1.43960e-02   1.41080e-02   1.38126e-02   1.35086e-02   1.31987e-02   1.28858e-02   1.25725e-02   1.22542e-02   1.19291e-02   1.16041e-02   1.12860e-02   1.09820e-02   1.06792e-02   1.03724e-02   1.00796e-02   9.81919e-03   9.60918e-03   9.45089e-03   9.32230e-03   9.20661e-03   9.08700e-03   8.94669e-03   8.79582e-03   8.64352e-03   8.47143e-03   8.26121e-03   7.99450e-03   7.52232e-03   6.79556e-03   5.94568e-03   5.10414e-03   4.40240e-03   3.81284e-03   3.23981e-03   2.71271e-03   2.26098e-03   1.91402e-03   1.64644e-03   1.41311e-03   1.21385e-03   1.04848e-03   9.16811e-04   8.09559e-04   7.16765e-04   6.37266e-04   5.69894e-04   5.13484e-04   4.63652e-04   4.18043e-04   3.78537e-04   3.47012e-04   3.25347e-04   
+-4.50000e-03   -3.85559e-04   -4.12808e-04   -4.54301e-04   -5.07208e-04   -5.68701e-04   -6.35951e-04   -7.12365e-04   -8.04545e-04   -9.14451e-04   -1.04404e-03   -1.19528e-03   -1.38270e-03   -1.62193e-03   -1.91661e-03   -2.27037e-03   -2.68682e-03   -3.27381e-03   -4.09045e-03   -5.06732e-03   -6.13496e-03   -7.22393e-03   -8.60083e-03   -1.03274e-02   -1.20271e-02   -1.33231e-02   -1.38388e-02   -1.33998e-02   -1.23424e-02   -1.10560e-02   -9.92981e-03   -9.35325e-03   -9.19373e-03   -9.06204e-03   -8.96256e-03   -8.89967e-03   -8.87773e-03   -8.97812e-03   -9.23676e-03   -9.58986e-03   -9.97364e-03   -1.03243e-02   -1.06488e-02   -1.09905e-02   -1.13403e-02   -1.16888e-02   -1.20270e-02   -1.23565e-02   -1.26837e-02   -1.30060e-02   -1.33211e-02   -1.36266e-02   -1.39235e-02   -1.42140e-02   -1.44971e-02   -1.47718e-02   -1.50371e-02   -1.52940e-02   -1.55437e-02   -1.57858e-02   -1.60199e-02   -1.62457e-02   -1.64638e-02   -1.66751e-02   -1.68795e-02   -1.70771e-02   -1.72678e-02   -1.74520e-02   -1.76301e-02   -1.78026e-02   -1.79696e-02   -1.81315e-02   -1.82883e-02   -1.84401e-02   -1.85876e-02   -1.87312e-02   -1.88714e-02   -1.90080e-02   -1.91409e-02   -1.92707e-02   -1.93982e-02   -1.95242e-02   -1.96481e-02   -1.97695e-02   -1.98893e-02   -2.00084e-02   -2.01274e-02   -2.02459e-02   -2.03634e-02   -2.04806e-02   -2.05984e-02   -2.07178e-02   -2.08382e-02   -2.09590e-02   -2.10810e-02   -2.12051e-02   -2.13319e-02   -2.14612e-02   -2.15925e-02   -2.17265e-02   -2.18639e-02   -2.20054e-02   -2.21508e-02   -2.23000e-02   -2.24536e-02   -2.26119e-02   -2.27756e-02   -2.29448e-02   -2.31197e-02   -2.33005e-02   -2.34878e-02   -2.36820e-02   -2.38835e-02   -2.40927e-02   -2.43099e-02   -2.45353e-02   -2.47692e-02   -2.50124e-02   -2.52655e-02   -2.55287e-02   -2.58024e-02   -2.60866e-02   -2.63824e-02   -2.66909e-02   -2.70122e-02   -2.73465e-02   -2.76939e-02   -2.80559e-02   -2.84337e-02   -2.88276e-02   -2.92377e-02   -2.96641e-02   -3.01086e-02   -3.05729e-02   -3.10573e-02   -3.15621e-02   -3.20875e-02   -3.26357e-02   -3.32089e-02   -3.38076e-02   -3.44321e-02   -3.50829e-02   -3.57627e-02   -3.64743e-02   -3.72186e-02   -3.79962e-02   -3.88079e-02   -3.96572e-02   -4.05477e-02   -4.14808e-02   -4.24578e-02   -4.34799e-02   -4.45515e-02   -4.56777e-02   -4.68609e-02   -4.81033e-02   -4.94072e-02   -5.07785e-02   -5.22244e-02   -5.37491e-02   -5.53567e-02   -5.70515e-02   -5.88419e-02   -6.07386e-02   -6.27492e-02   -6.48814e-02   -6.71429e-02   -6.95464e-02   -7.21094e-02   -7.48466e-02   -7.77727e-02   -8.09025e-02   -8.42584e-02   -8.78722e-02   -9.17720e-02   -9.59865e-02   -1.00544e-01   -1.05491e-01   -1.10894e-01   -1.16807e-01   -1.23288e-01   -1.30392e-01   -1.38242e-01   -1.46990e-01   -1.56740e-01   -1.67593e-01   -1.79652e-01   -1.93398e-01   -2.09225e-01   -2.27104e-01   -2.47006e-01   -2.68902e-01   -3.00121e-01   -3.41472e-01   -3.83149e-01   -4.15346e-01   -4.28258e-01   -4.26574e-01   -4.21747e-01   -4.14110e-01   -4.04000e-01   -3.91752e-01   -3.49930e-01   -2.68326e-01   -1.73113e-01   -9.04635e-02   -4.65520e-02   -3.20220e-02   -2.01574e-02   -1.10916e-02   -4.95799e-03   -1.88994e-03   -5.12930e-04   6.14784e-04   1.46063e-03   1.99202e-03   2.17639e-03   1.47793e-03   -1.95910e-04   -2.21286e-03   -3.94062e-03   -4.74691e-03   -4.85128e-03   -4.91244e-03   -4.95684e-03   -5.01092e-03   -5.10114e-03   -5.35155e-03   -5.77933e-03   -6.25061e-03   -6.63155e-03   -6.78827e-03   -6.66621e-03   -6.35944e-03   -5.95705e-03   -5.54816e-03   -5.22187e-03   -4.99230e-03   -4.79642e-03   -4.60762e-03   -4.39929e-03   -4.14481e-03   -3.80558e-03   -3.38538e-03   -2.92117e-03   -2.44990e-03   -2.00854e-03   -1.59891e-03   -1.19621e-03   -7.97474e-04   -3.99727e-04   0.00000e+00   3.99727e-04   7.97473e-04   1.19621e-03   1.59891e-03   2.00854e-03   2.44990e-03   2.92117e-03   3.38539e-03   3.80559e-03   4.14482e-03   4.39929e-03   4.60762e-03   4.79642e-03   4.99230e-03   5.22187e-03   5.54816e-03   5.95705e-03   6.35943e-03   6.66621e-03   6.78827e-03   6.63155e-03   6.25061e-03   5.77933e-03   5.35155e-03   5.10114e-03   5.01092e-03   4.95684e-03   4.91244e-03   4.85128e-03   4.74691e-03   3.94062e-03   2.21286e-03   1.95910e-04   -1.47793e-03   -2.17639e-03   -1.99202e-03   -1.46062e-03   -6.14772e-04   5.12950e-04   1.88997e-03   4.95802e-03   1.10916e-02   2.01574e-02   3.20220e-02   4.65520e-02   9.04632e-02   1.73112e-01   2.68324e-01   3.49928e-01   3.91750e-01   4.03999e-01   4.14109e-01   4.21746e-01   4.26574e-01   4.28258e-01   4.15346e-01   3.83149e-01   3.41472e-01   3.00121e-01   2.68902e-01   2.47006e-01   2.27104e-01   2.09225e-01   1.93398e-01   1.79652e-01   1.67593e-01   1.56740e-01   1.46990e-01   1.38242e-01   1.30392e-01   1.23288e-01   1.16807e-01   1.10894e-01   1.05491e-01   1.00544e-01   9.59865e-02   9.17720e-02   8.78722e-02   8.42584e-02   8.09025e-02   7.77727e-02   7.48466e-02   7.21094e-02   6.95464e-02   6.71429e-02   6.48814e-02   6.27492e-02   6.07386e-02   5.88419e-02   5.70515e-02   5.53567e-02   5.37491e-02   5.22244e-02   5.07785e-02   4.94072e-02   4.81033e-02   4.68609e-02   4.56777e-02   4.45515e-02   4.34799e-02   4.24578e-02   4.14808e-02   4.05477e-02   3.96572e-02   3.88079e-02   3.79962e-02   3.72186e-02   3.64743e-02   3.57627e-02   3.50829e-02   3.44321e-02   3.38076e-02   3.32089e-02   3.26357e-02   3.20875e-02   3.15621e-02   3.10573e-02   3.05729e-02   3.01086e-02   2.96641e-02   2.92376e-02   2.88274e-02   2.84334e-02   2.80555e-02   2.76935e-02   2.73461e-02   2.70119e-02   2.66908e-02   2.63824e-02   2.60866e-02   2.58024e-02   2.55288e-02   2.52655e-02   2.50124e-02   2.47692e-02   2.45353e-02   2.43099e-02   2.40927e-02   2.38835e-02   2.36820e-02   2.34878e-02   2.33005e-02   2.31197e-02   2.29448e-02   2.27756e-02   2.26119e-02   2.24536e-02   2.23000e-02   2.21508e-02   2.20054e-02   2.18639e-02   2.17265e-02   2.15925e-02   2.14612e-02   2.13319e-02   2.12051e-02   2.10810e-02   2.09590e-02   2.08382e-02   2.07178e-02   2.05984e-02   2.04806e-02   2.03634e-02   2.02459e-02   2.01274e-02   2.00084e-02   1.98894e-02   1.97696e-02   1.96481e-02   1.95242e-02   1.93982e-02   1.92705e-02   1.91406e-02   1.90077e-02   1.88710e-02   1.87308e-02   1.85873e-02   1.84399e-02   1.82882e-02   1.81315e-02   1.79696e-02   1.78026e-02   1.76302e-02   1.74520e-02   1.72678e-02   1.70771e-02   1.68795e-02   1.66751e-02   1.64638e-02   1.62457e-02   1.60199e-02   1.57858e-02   1.55437e-02   1.52940e-02   1.50371e-02   1.47718e-02   1.44971e-02   1.42140e-02   1.39235e-02   1.36266e-02   1.33211e-02   1.30060e-02   1.26837e-02   1.23565e-02   1.20270e-02   1.16888e-02   1.13403e-02   1.09905e-02   1.06488e-02   1.03243e-02   9.97364e-03   9.58986e-03   9.23676e-03   8.97812e-03   8.87773e-03   8.89967e-03   8.96256e-03   9.06204e-03   9.19373e-03   9.35325e-03   9.92981e-03   1.10560e-02   1.23424e-02   1.33998e-02   1.38388e-02   1.33231e-02   1.20271e-02   1.03274e-02   8.60082e-03   7.22392e-03   6.13495e-03   5.06731e-03   4.09045e-03   3.27381e-03   2.68682e-03   2.27037e-03   1.91662e-03   1.62193e-03   1.38270e-03   1.19528e-03   1.04404e-03   9.14451e-04   8.04545e-04   7.12364e-04   6.35950e-04   5.68700e-04   5.07208e-04   4.54301e-04   4.12808e-04   3.85559e-04   
+-5.00000e-03   -4.50331e-04   -4.83282e-04   -5.35412e-04   -6.02799e-04   -6.81517e-04   -7.67642e-04   -8.65683e-04   -9.84795e-04   -1.12803e-03   -1.29843e-03   -1.49905e-03   -1.74809e-03   -2.06971e-03   -2.47591e-03   -2.97867e-03   -3.58998e-03   -4.50926e-03   -5.88008e-03   -7.63068e-03   -9.68931e-03   -1.19842e-02   -1.56666e-02   -2.09926e-02   -2.65479e-02   -3.09183e-02   -3.26894e-02   -2.96781e-02   -2.24974e-02   -1.39268e-02   -6.74602e-03   -3.73473e-03   -3.89041e-03   -4.29201e-03   -4.84136e-03   -5.44029e-03   -5.99064e-03   -6.51048e-03   -7.06699e-03   -7.63567e-03   -8.19199e-03   -8.71145e-03   -9.19587e-03   -9.66335e-03   -1.01138e-02   -1.05472e-02   -1.09634e-02   -1.13637e-02   -1.17496e-02   -1.21215e-02   -1.24797e-02   -1.28244e-02   -1.31568e-02   -1.34778e-02   -1.37874e-02   -1.40859e-02   -1.43731e-02   -1.46501e-02   -1.49177e-02   -1.51759e-02   -1.54248e-02   -1.56645e-02   -1.58955e-02   -1.61187e-02   -1.63341e-02   -1.65421e-02   -1.67426e-02   -1.69361e-02   -1.71232e-02   -1.73040e-02   -1.74790e-02   -1.76486e-02   -1.78128e-02   -1.79717e-02   -1.81260e-02   -1.82761e-02   -1.84226e-02   -1.85652e-02   -1.87038e-02   -1.88392e-02   -1.89720e-02   -1.91030e-02   -1.92317e-02   -1.93578e-02   -1.94821e-02   -1.96053e-02   -1.97283e-02   -1.98505e-02   -1.99714e-02   -2.00918e-02   -2.02126e-02   -2.03346e-02   -2.04573e-02   -2.05802e-02   -2.07039e-02   -2.08295e-02   -2.09575e-02   -2.10877e-02   -2.12196e-02   -2.13539e-02   -2.14912e-02   -2.16324e-02   -2.17772e-02   -2.19254e-02   -2.20776e-02   -2.22342e-02   -2.23959e-02   -2.25627e-02   -2.27347e-02   -2.29123e-02   -2.30959e-02   -2.32860e-02   -2.34829e-02   -2.36869e-02   -2.38984e-02   -2.41176e-02   -2.43448e-02   -2.45807e-02   -2.48258e-02   -2.50804e-02   -2.53448e-02   -2.56192e-02   -2.59046e-02   -2.62019e-02   -2.65112e-02   -2.68327e-02   -2.71666e-02   -2.75141e-02   -2.78764e-02   -2.82537e-02   -2.86463e-02   -2.90544e-02   -2.94796e-02   -2.99235e-02   -3.03863e-02   -3.08682e-02   -3.13695e-02   -3.18921e-02   -3.24380e-02   -3.30078e-02   -3.36019e-02   -3.42208e-02   -3.48670e-02   -3.55432e-02   -3.62500e-02   -3.69881e-02   -3.77582e-02   -3.85634e-02   -3.94072e-02   -4.02908e-02   -4.12157e-02   -4.21830e-02   -4.31968e-02   -4.42618e-02   -4.53802e-02   -4.65545e-02   -4.77870e-02   -4.90831e-02   -5.04494e-02   -5.18901e-02   -5.34094e-02   -5.50115e-02   -5.67038e-02   -5.84964e-02   -6.03973e-02   -6.24147e-02   -6.45566e-02   -6.68346e-02   -6.92655e-02   -7.18646e-02   -7.46478e-02   -7.76306e-02   -8.08333e-02   -8.42874e-02   -8.80249e-02   -9.20780e-02   -9.64788e-02   -1.01270e-01   -1.06521e-01   -1.12302e-01   -1.18684e-01   -1.25738e-01   -1.33574e-01   -1.42371e-01   -1.52307e-01   -1.63555e-01   -1.76293e-01   -1.90863e-01   -2.07852e-01   -2.27803e-01   -2.51255e-01   -2.78750e-01   -3.20925e-01   -3.80423e-01   -4.45795e-01   -5.05592e-01   -5.48364e-01   -5.78877e-01   -6.07612e-01   -6.31695e-01   -6.48252e-01   -6.54410e-01   -5.72926e-01   -3.78619e-01   -1.46704e-01   4.76033e-02   1.29087e-01   1.20882e-01   1.01101e-01   7.69976e-02   5.58238e-02   4.48325e-02   4.20689e-02   4.03324e-02   3.90068e-02   3.74756e-02   3.51226e-02   2.99436e-02   2.18879e-02   1.32692e-02   6.40123e-03   3.59774e-03   3.92267e-03   4.69751e-03   5.62233e-03   6.39717e-03   6.72210e-03   5.54635e-03   2.74263e-03   -6.03741e-04   -3.40746e-03   -4.58321e-03   -4.14411e-03   -3.09704e-03   -1.84730e-03   -8.00226e-04   -3.61130e-04   -6.83200e-04   -1.45121e-03   -2.36788e-03   -3.13589e-03   -3.45796e-03   -3.20126e-03   -2.57599e-03   -1.79934e-03   -1.08854e-03   -6.60798e-04   -4.76383e-04   -3.37691e-04   -2.25127e-04   -1.19096e-04   0.00000e+00   1.19096e-04   2.25127e-04   3.37691e-04   4.76383e-04   6.60798e-04   1.08854e-03   1.79934e-03   2.57599e-03   3.20126e-03   3.45796e-03   3.13589e-03   2.36788e-03   1.45121e-03   6.83200e-04   3.61130e-04   8.00226e-04   1.84730e-03   3.09704e-03   4.14411e-03   4.58321e-03   3.40746e-03   6.03741e-04   -2.74263e-03   -5.54635e-03   -6.72210e-03   -6.39717e-03   -5.62233e-03   -4.69751e-03   -3.92267e-03   -3.59774e-03   -6.40123e-03   -1.32692e-02   -2.18879e-02   -2.99436e-02   -3.51226e-02   -3.74756e-02   -3.90068e-02   -4.03324e-02   -4.20689e-02   -4.48325e-02   -5.58239e-02   -7.69979e-02   -1.01102e-01   -1.20883e-01   -1.29088e-01   -4.76042e-02   1.46703e-01   3.78619e-01   5.72926e-01   6.54410e-01   6.48252e-01   6.31695e-01   6.07611e-01   5.78876e-01   5.48363e-01   5.05591e-01   4.45794e-01   3.80423e-01   3.20925e-01   2.78750e-01   2.51255e-01   2.27803e-01   2.07852e-01   1.90863e-01   1.76293e-01   1.63555e-01   1.52307e-01   1.42371e-01   1.33574e-01   1.25738e-01   1.18684e-01   1.12302e-01   1.06521e-01   1.01270e-01   9.64787e-02   9.20779e-02   8.80248e-02   8.42873e-02   8.08333e-02   7.76306e-02   7.46478e-02   7.18646e-02   6.92655e-02   6.68346e-02   6.45566e-02   6.24147e-02   6.03973e-02   5.84964e-02   5.67038e-02   5.50115e-02   5.34094e-02   5.18901e-02   5.04494e-02   4.90831e-02   4.77870e-02   4.65545e-02   4.53802e-02   4.42618e-02   4.31968e-02   4.21830e-02   4.12157e-02   4.02908e-02   3.94072e-02   3.85634e-02   3.77582e-02   3.69881e-02   3.62500e-02   3.55432e-02   3.48670e-02   3.42208e-02   3.36019e-02   3.30078e-02   3.24380e-02   3.18921e-02   3.13695e-02   3.08682e-02   3.03863e-02   2.99235e-02   2.94796e-02   2.90544e-02   2.86463e-02   2.82537e-02   2.78764e-02   2.75141e-02   2.71666e-02   2.68327e-02   2.65112e-02   2.62019e-02   2.59046e-02   2.56192e-02   2.53447e-02   2.50802e-02   2.48255e-02   2.45803e-02   2.43444e-02   2.41172e-02   2.38981e-02   2.36868e-02   2.34828e-02   2.32860e-02   2.30960e-02   2.29123e-02   2.27347e-02   2.25627e-02   2.23959e-02   2.22342e-02   2.20776e-02   2.19254e-02   2.17772e-02   2.16324e-02   2.14912e-02   2.13539e-02   2.12196e-02   2.10877e-02   2.09575e-02   2.08295e-02   2.07039e-02   2.05802e-02   2.04573e-02   2.03346e-02   2.02126e-02   2.00918e-02   1.99714e-02   1.98505e-02   1.97283e-02   1.96053e-02   1.94821e-02   1.93578e-02   1.92317e-02   1.91030e-02   1.89720e-02   1.88392e-02   1.87038e-02   1.85652e-02   1.84226e-02   1.82761e-02   1.81260e-02   1.79717e-02   1.78128e-02   1.76486e-02   1.74790e-02   1.73040e-02   1.71232e-02   1.69361e-02   1.67426e-02   1.65421e-02   1.63341e-02   1.61187e-02   1.58955e-02   1.56645e-02   1.54248e-02   1.51759e-02   1.49177e-02   1.46501e-02   1.43731e-02   1.40859e-02   1.37874e-02   1.34778e-02   1.31568e-02   1.28244e-02   1.24797e-02   1.21215e-02   1.17496e-02   1.13636e-02   1.09633e-02   1.05471e-02   1.01138e-02   9.66330e-03   9.19585e-03   8.71145e-03   8.19201e-03   7.63571e-03   7.06705e-03   6.51055e-03   5.99071e-03   5.44036e-03   4.84141e-03   4.29204e-03   3.89042e-03   3.73473e-03   6.74602e-03   1.39268e-02   2.24974e-02   2.96781e-02   3.26894e-02   3.09183e-02   2.65479e-02   2.09926e-02   1.56666e-02   1.19842e-02   9.68931e-03   7.63068e-03   5.88008e-03   4.50926e-03   3.58998e-03   2.97867e-03   2.47591e-03   2.06971e-03   1.74809e-03   1.49905e-03   1.29843e-03   1.12803e-03   9.84795e-04   8.65683e-04   7.67642e-04   6.81517e-04   6.02799e-04   5.35412e-04   4.83282e-04   4.50331e-04   
+# Vertical 2nd Order Kick [T2m2]
+START
+    -5.00000e-02    -4.98000e-02    -4.96000e-02    -4.94000e-02    -4.92000e-02    -4.90000e-02    -4.88000e-02    -4.86000e-02    -4.84000e-02    -4.82000e-02    -4.80000e-02    -4.78000e-02    -4.76000e-02    -4.74000e-02    -4.72000e-02    -4.70000e-02    -4.68000e-02    -4.66000e-02    -4.64000e-02    -4.62000e-02    -4.60000e-02    -4.58000e-02    -4.56000e-02    -4.54000e-02    -4.52000e-02    -4.50000e-02    -4.48000e-02    -4.46000e-02    -4.44000e-02    -4.42000e-02    -4.40000e-02    -4.38000e-02    -4.36000e-02    -4.34000e-02    -4.32000e-02    -4.30000e-02    -4.28000e-02    -4.26000e-02    -4.24000e-02    -4.22000e-02    -4.20000e-02    -4.18000e-02    -4.16000e-02    -4.14000e-02    -4.12000e-02    -4.10000e-02    -4.08000e-02    -4.06000e-02    -4.04000e-02    -4.02000e-02    -4.00000e-02    -3.98000e-02    -3.96000e-02    -3.94000e-02    -3.92000e-02    -3.90000e-02    -3.88000e-02    -3.86000e-02    -3.84000e-02    -3.82000e-02    -3.80000e-02    -3.78000e-02    -3.76000e-02    -3.74000e-02    -3.72000e-02    -3.70000e-02    -3.68000e-02    -3.66000e-02    -3.64000e-02    -3.62000e-02    -3.60000e-02    -3.58000e-02    -3.56000e-02    -3.54000e-02    -3.52000e-02    -3.50000e-02    -3.48000e-02    -3.46000e-02    -3.44000e-02    -3.42000e-02    -3.40000e-02    -3.38000e-02    -3.36000e-02    -3.34000e-02    -3.32000e-02    -3.30000e-02    -3.28000e-02    -3.26000e-02    -3.24000e-02    -3.22000e-02    -3.20000e-02    -3.18000e-02    -3.16000e-02    -3.14000e-02    -3.12000e-02    -3.10000e-02    -3.08000e-02    -3.06000e-02    -3.04000e-02    -3.02000e-02    -3.00000e-02    -2.98000e-02    -2.96000e-02    -2.94000e-02    -2.92000e-02    -2.90000e-02    -2.88000e-02    -2.86000e-02    -2.84000e-02    -2.82000e-02    -2.80000e-02    -2.78000e-02    -2.76000e-02    -2.74000e-02    -2.72000e-02    -2.70000e-02    -2.68000e-02    -2.66000e-02    -2.64000e-02    -2.62000e-02    -2.60000e-02    -2.58000e-02    -2.56000e-02    -2.54000e-02    -2.52000e-02    -2.50000e-02    -2.48000e-02    -2.46000e-02    -2.44000e-02    -2.42000e-02    -2.40000e-02    -2.38000e-02    -2.36000e-02    -2.34000e-02    -2.32000e-02    -2.30000e-02    -2.28000e-02    -2.26000e-02    -2.24000e-02    -2.22000e-02    -2.20000e-02    -2.18000e-02    -2.16000e-02    -2.14000e-02    -2.12000e-02    -2.10000e-02    -2.08000e-02    -2.06000e-02    -2.04000e-02    -2.02000e-02    -2.00000e-02    -1.98000e-02    -1.96000e-02    -1.94000e-02    -1.92000e-02    -1.90000e-02    -1.88000e-02    -1.86000e-02    -1.84000e-02    -1.82000e-02    -1.80000e-02    -1.78000e-02    -1.76000e-02    -1.74000e-02    -1.72000e-02    -1.70000e-02    -1.68000e-02    -1.66000e-02    -1.64000e-02    -1.62000e-02    -1.60000e-02    -1.58000e-02    -1.56000e-02    -1.54000e-02    -1.52000e-02    -1.50000e-02    -1.48000e-02    -1.46000e-02    -1.44000e-02    -1.42000e-02    -1.40000e-02    -1.38000e-02    -1.36000e-02    -1.34000e-02    -1.32000e-02    -1.30000e-02    -1.28000e-02    -1.26000e-02    -1.24000e-02    -1.22000e-02    -1.20000e-02    -1.18000e-02    -1.16000e-02    -1.14000e-02    -1.12000e-02    -1.10000e-02    -1.08000e-02    -1.06000e-02    -1.04000e-02    -1.02000e-02    -1.00000e-02    -9.80000e-03    -9.60000e-03    -9.40000e-03    -9.20000e-03    -9.00000e-03    -8.80000e-03    -8.60000e-03    -8.40000e-03    -8.20000e-03    -8.00000e-03    -7.80000e-03    -7.60000e-03    -7.40000e-03    -7.20000e-03    -7.00000e-03    -6.80000e-03    -6.60000e-03    -6.40000e-03    -6.20000e-03    -6.00000e-03    -5.80000e-03    -5.60000e-03    -5.40000e-03    -5.20000e-03    -5.00000e-03    -4.80000e-03    -4.60000e-03    -4.40000e-03    -4.20000e-03    -4.00000e-03    -3.80000e-03    -3.60000e-03    -3.40000e-03    -3.20000e-03    -3.00000e-03    -2.80000e-03    -2.60000e-03    -2.40000e-03    -2.20000e-03    -2.00000e-03    -1.80000e-03    -1.60000e-03    -1.40000e-03    -1.20000e-03    -1.00000e-03    -8.00000e-04    -6.00000e-04    -4.00000e-04    -2.00000e-04    0.00000e+00    2.00000e-04    4.00000e-04    6.00000e-04    8.00000e-04    1.00000e-03    1.20000e-03    1.40000e-03    1.60000e-03    1.80000e-03    2.00000e-03    2.20000e-03    2.40000e-03    2.60000e-03    2.80000e-03    3.00000e-03    3.20000e-03    3.40000e-03    3.60000e-03    3.80000e-03    4.00000e-03    4.20000e-03    4.40000e-03    4.60000e-03    4.80000e-03    5.00000e-03    5.20000e-03    5.40000e-03    5.60000e-03    5.80000e-03    6.00000e-03    6.20000e-03    6.40000e-03    6.60000e-03    6.80000e-03    7.00000e-03    7.20000e-03    7.40000e-03    7.60000e-03    7.80000e-03    8.00000e-03    8.20000e-03    8.40000e-03    8.60000e-03    8.80000e-03    9.00000e-03    9.20000e-03    9.40000e-03    9.60000e-03    9.80000e-03    1.00000e-02    1.02000e-02    1.04000e-02    1.06000e-02    1.08000e-02    1.10000e-02    1.12000e-02    1.14000e-02    1.16000e-02    1.18000e-02    1.20000e-02    1.22000e-02    1.24000e-02    1.26000e-02    1.28000e-02    1.30000e-02    1.32000e-02    1.34000e-02    1.36000e-02    1.38000e-02    1.40000e-02    1.42000e-02    1.44000e-02    1.46000e-02    1.48000e-02    1.50000e-02    1.52000e-02    1.54000e-02    1.56000e-02    1.58000e-02    1.60000e-02    1.62000e-02    1.64000e-02    1.66000e-02    1.68000e-02    1.70000e-02    1.72000e-02    1.74000e-02    1.76000e-02    1.78000e-02    1.80000e-02    1.82000e-02    1.84000e-02    1.86000e-02    1.88000e-02    1.90000e-02    1.92000e-02    1.94000e-02    1.96000e-02    1.98000e-02    2.00000e-02    2.02000e-02    2.04000e-02    2.06000e-02    2.08000e-02    2.10000e-02    2.12000e-02    2.14000e-02    2.16000e-02    2.18000e-02    2.20000e-02    2.22000e-02    2.24000e-02    2.26000e-02    2.28000e-02    2.30000e-02    2.32000e-02    2.34000e-02    2.36000e-02    2.38000e-02    2.40000e-02    2.42000e-02    2.44000e-02    2.46000e-02    2.48000e-02    2.50000e-02    2.52000e-02    2.54000e-02    2.56000e-02    2.58000e-02    2.60000e-02    2.62000e-02    2.64000e-02    2.66000e-02    2.68000e-02    2.70000e-02    2.72000e-02    2.74000e-02    2.76000e-02    2.78000e-02    2.80000e-02    2.82000e-02    2.84000e-02    2.86000e-02    2.88000e-02    2.90000e-02    2.92000e-02    2.94000e-02    2.96000e-02    2.98000e-02    3.00000e-02    3.02000e-02    3.04000e-02    3.06000e-02    3.08000e-02    3.10000e-02    3.12000e-02    3.14000e-02    3.16000e-02    3.18000e-02    3.20000e-02    3.22000e-02    3.24000e-02    3.26000e-02    3.28000e-02    3.30000e-02    3.32000e-02    3.34000e-02    3.36000e-02    3.38000e-02    3.40000e-02    3.42000e-02    3.44000e-02    3.46000e-02    3.48000e-02    3.50000e-02    3.52000e-02    3.54000e-02    3.56000e-02    3.58000e-02    3.60000e-02    3.62000e-02    3.64000e-02    3.66000e-02    3.68000e-02    3.70000e-02    3.72000e-02    3.74000e-02    3.76000e-02    3.78000e-02    3.80000e-02    3.82000e-02    3.84000e-02    3.86000e-02    3.88000e-02    3.90000e-02    3.92000e-02    3.94000e-02    3.96000e-02    3.98000e-02    4.00000e-02    4.02000e-02    4.04000e-02    4.06000e-02    4.08000e-02    4.10000e-02    4.12000e-02    4.14000e-02    4.16000e-02    4.18000e-02    4.20000e-02    4.22000e-02    4.24000e-02    4.26000e-02    4.28000e-02    4.30000e-02    4.32000e-02    4.34000e-02    4.36000e-02    4.38000e-02    4.40000e-02    4.42000e-02    4.44000e-02    4.46000e-02    4.48000e-02    4.50000e-02    4.52000e-02    4.54000e-02    4.56000e-02    4.58000e-02    4.60000e-02    4.62000e-02    4.64000e-02    4.66000e-02    4.68000e-02    4.70000e-02    4.72000e-02    4.74000e-02    4.76000e-02    4.78000e-02    4.80000e-02    4.82000e-02    4.84000e-02    4.86000e-02    4.88000e-02    4.90000e-02    4.92000e-02    4.94000e-02    4.96000e-02    4.98000e-02    5.00000e-02
+5.00000e-03   -2.48854e-04   -2.70662e-04   -3.02502e-04   -3.42455e-04   -3.88604e-04   -4.39030e-04   -4.95883e-04   -5.63638e-04   -6.43866e-04   -7.38138e-04   -8.48025e-04   -9.79173e-04   -1.14223e-03   -1.34625e-03   -1.60032e-03   -1.91350e-03   -2.34097e-03   -2.96421e-03   -3.83171e-03   -4.99198e-03   -6.49351e-03   -1.31712e-02   -2.66534e-02   -4.21787e-02   -5.49855e-02   -6.03126e-02   -5.92429e-02   -5.65134e-02   -5.28430e-02   -4.89510e-02   -4.55564e-02   -4.24793e-02   -3.92401e-02   -3.61081e-02   -3.33531e-02   -3.12444e-02   -2.96713e-02   -2.83189e-02   -2.71507e-02   -2.61304e-02   -2.52214e-02   -2.44033e-02   -2.36705e-02   -2.30091e-02   -2.24052e-02   -2.18450e-02   -2.13242e-02   -2.08434e-02   -2.03959e-02   -1.99752e-02   -1.95745e-02   -1.91932e-02   -1.88328e-02   -1.84900e-02   -1.81613e-02   -1.78434e-02   -1.75363e-02   -1.72412e-02   -1.69563e-02   -1.66799e-02   -1.64102e-02   -1.61474e-02   -1.58921e-02   -1.56433e-02   -1.54003e-02   -1.51621e-02   -1.49288e-02   -1.47006e-02   -1.44771e-02   -1.42578e-02   -1.40422e-02   -1.38302e-02   -1.36222e-02   -1.34176e-02   -1.32163e-02   -1.30179e-02   -1.28225e-02   -1.26301e-02   -1.24406e-02   -1.22536e-02   -1.20688e-02   -1.18864e-02   -1.17064e-02   -1.15286e-02   -1.13527e-02   -1.11784e-02   -1.10059e-02   -1.08353e-02   -1.06663e-02   -1.04986e-02   -1.03319e-02   -1.01664e-02   -1.00024e-02   -9.83942e-03   -9.67709e-03   -9.51505e-03   -9.35357e-03   -9.19290e-03   -9.03262e-03   -8.87233e-03   -8.71164e-03   -8.55084e-03   -8.39022e-03   -8.22929e-03   -8.06760e-03   -7.90469e-03   -7.74088e-03   -7.57648e-03   -7.41096e-03   -7.24380e-03   -7.07448e-03   -6.90330e-03   -6.73056e-03   -6.55573e-03   -6.37827e-03   -6.19766e-03   -6.01416e-03   -5.82801e-03   -5.63863e-03   -5.44545e-03   -5.24787e-03   -5.04611e-03   -4.84033e-03   -4.62989e-03   -4.41415e-03   -4.19246e-03   -3.96485e-03   -3.73137e-03   -3.49139e-03   -3.24432e-03   -2.98953e-03   -2.72686e-03   -2.45613e-03   -2.17667e-03   -1.88784e-03   -1.58898e-03   -1.27967e-03   -9.59436e-04   -6.27584e-04   -2.83407e-04   7.37978e-05   4.44840e-04   8.30561e-04   1.23171e-03   1.64903e-03   2.08328e-03   2.53578e-03   3.00791e-03   3.50047e-03   4.01426e-03   4.55011e-03   5.11003e-03   5.69612e-03   6.30928e-03   6.95042e-03   7.62046e-03   8.32231e-03   9.05905e-03   9.83183e-03   1.06418e-02   1.14900e-02   1.23808e-02   1.33186e-02   1.43048e-02   1.53407e-02   1.64277e-02   1.75722e-02   1.87805e-02   2.00541e-02   2.13941e-02   2.28019e-02   2.42880e-02   2.58617e-02   2.75223e-02   2.92692e-02   3.11017e-02   3.30429e-02   3.51062e-02   3.72759e-02   3.95369e-02   4.18737e-02   4.43987e-02   4.71318e-02   4.99186e-02   5.26047e-02   5.50358e-02   5.75005e-02   6.01209e-02   6.24928e-02   6.42123e-02   6.48753e-02   6.22863e-02   5.47238e-02   4.24945e-02   2.59051e-02   5.26228e-03   -1.18669e-01   -3.81562e-01   -6.87766e-01   -9.41632e-01   -1.04751e+00   -9.94993e-01   -8.65018e-01   -6.98947e-01   -5.38145e-01   -4.23974e-01   -3.47240e-01   -2.75101e-01   -2.13446e-01   -1.68166e-01   -1.45151e-01   -1.37323e-01   -1.32483e-01   -1.28834e-01   -1.24582e-01   -1.17931e-01   -1.02717e-01   -7.86564e-02   -5.27734e-02   -3.20923e-02   -2.36376e-02   -2.68413e-02   -3.44807e-02   -4.35989e-02   -5.12383e-02   -5.44420e-02   -4.77802e-02   -3.18944e-02   -1.29339e-02   2.95187e-03   9.61366e-03   5.47639e-03   -4.38941e-03   -1.61647e-02   -2.60305e-02   -3.01678e-02   -2.48561e-02   -1.21896e-02   2.92841e-03   1.55949e-02   2.09066e-02   1.65767e-02   6.25157e-03   -6.07197e-03   -1.63971e-02   -2.07270e-02   -1.61089e-02   -5.09637e-03   8.04757e-03   1.90601e-02   2.36782e-02   1.90601e-02   8.04757e-03   -5.09637e-03   -1.61089e-02   -2.07270e-02   -1.63971e-02   -6.07197e-03   6.25157e-03   1.65767e-02   2.09066e-02   1.55949e-02   2.92841e-03   -1.21896e-02   -2.48561e-02   -3.01678e-02   -2.60305e-02   -1.61647e-02   -4.38941e-03   5.47639e-03   9.61366e-03   2.95187e-03   -1.29339e-02   -3.18944e-02   -4.77802e-02   -5.44420e-02   -5.12383e-02   -4.35989e-02   -3.44807e-02   -2.68413e-02   -2.36376e-02   -3.20923e-02   -5.27734e-02   -7.86564e-02   -1.02717e-01   -1.17931e-01   -1.24582e-01   -1.28834e-01   -1.32483e-01   -1.37323e-01   -1.45151e-01   -1.68166e-01   -2.13446e-01   -2.75101e-01   -3.47240e-01   -4.23974e-01   -5.38145e-01   -6.98947e-01   -8.65018e-01   -9.94993e-01   -1.04751e+00   -9.41632e-01   -6.87766e-01   -3.81562e-01   -1.18669e-01   5.26228e-03   2.59051e-02   4.24945e-02   5.47238e-02   6.22863e-02   6.48753e-02   6.42123e-02   6.24928e-02   6.01209e-02   5.75005e-02   5.50358e-02   5.26047e-02   4.99186e-02   4.71318e-02   4.43987e-02   4.18737e-02   3.95369e-02   3.72759e-02   3.51062e-02   3.30429e-02   3.11017e-02   2.92692e-02   2.75223e-02   2.58617e-02   2.42880e-02   2.28019e-02   2.13941e-02   2.00541e-02   1.87805e-02   1.75722e-02   1.64277e-02   1.53407e-02   1.43048e-02   1.33186e-02   1.23808e-02   1.14900e-02   1.06418e-02   9.83183e-03   9.05905e-03   8.32231e-03   7.62046e-03   6.95042e-03   6.30928e-03   5.69612e-03   5.11003e-03   4.55011e-03   4.01426e-03   3.50047e-03   3.00791e-03   2.53578e-03   2.08328e-03   1.64903e-03   1.23171e-03   8.30561e-04   4.44840e-04   7.37978e-05   -2.83407e-04   -6.27584e-04   -9.59436e-04   -1.27967e-03   -1.58898e-03   -1.88784e-03   -2.17667e-03   -2.45613e-03   -2.72686e-03   -2.98953e-03   -3.24432e-03   -3.49139e-03   -3.73137e-03   -3.96485e-03   -4.19246e-03   -4.41415e-03   -4.62989e-03   -4.84033e-03   -5.04611e-03   -5.24787e-03   -5.44544e-03   -5.63863e-03   -5.82800e-03   -6.01415e-03   -6.19765e-03   -6.37826e-03   -6.55572e-03   -6.73056e-03   -6.90330e-03   -7.07448e-03   -7.24380e-03   -7.41096e-03   -7.57648e-03   -7.74088e-03   -7.90469e-03   -8.06760e-03   -8.22929e-03   -8.39022e-03   -8.55084e-03   -8.71164e-03   -8.87233e-03   -9.03262e-03   -9.19290e-03   -9.35357e-03   -9.51505e-03   -9.67709e-03   -9.83942e-03   -1.00024e-02   -1.01664e-02   -1.03319e-02   -1.04986e-02   -1.06663e-02   -1.08353e-02   -1.10059e-02   -1.11784e-02   -1.13527e-02   -1.15286e-02   -1.17064e-02   -1.18864e-02   -1.20688e-02   -1.22536e-02   -1.24406e-02   -1.26301e-02   -1.28225e-02   -1.30179e-02   -1.32163e-02   -1.34176e-02   -1.36222e-02   -1.38302e-02   -1.40422e-02   -1.42578e-02   -1.44771e-02   -1.47006e-02   -1.49288e-02   -1.51621e-02   -1.54003e-02   -1.56433e-02   -1.58921e-02   -1.61474e-02   -1.64102e-02   -1.66799e-02   -1.69563e-02   -1.72412e-02   -1.75363e-02   -1.78434e-02   -1.81613e-02   -1.84899e-02   -1.88327e-02   -1.91931e-02   -1.95744e-02   -1.99751e-02   -2.03959e-02   -2.08433e-02   -2.13242e-02   -2.18450e-02   -2.24052e-02   -2.30091e-02   -2.36705e-02   -2.44033e-02   -2.52214e-02   -2.61303e-02   -2.71507e-02   -2.83188e-02   -2.96712e-02   -3.12443e-02   -3.33530e-02   -3.61080e-02   -3.92400e-02   -4.24793e-02   -4.55564e-02   -4.89510e-02   -5.28431e-02   -5.65134e-02   -5.92430e-02   -6.03127e-02   -5.49856e-02   -4.21787e-02   -2.66535e-02   -1.31712e-02   -6.49352e-03   -4.99199e-03   -3.83172e-03   -2.96421e-03   -2.34097e-03   -1.91350e-03   -1.60032e-03   -1.34625e-03   -1.14223e-03   -9.79173e-04   -8.48025e-04   -7.38138e-04   -6.43866e-04   -5.63639e-04   -4.95884e-04   -4.39031e-04   -3.88605e-04   -3.42456e-04   -3.02503e-04   -2.70663e-04   -2.48854e-04   
+4.50000e-03   -2.31203e-04   -2.51784e-04   -2.82154e-04   -3.20421e-04   -3.64695e-04   -4.13085e-04   -4.67794e-04   -5.33233e-04   -6.10826e-04   -7.01994e-04   -8.08160e-04   -9.36368e-04   -1.09691e-03   -1.29610e-03   -1.54022e-03   -1.83558e-03   -2.24201e-03   -2.81825e-03   -3.56896e-03   -4.49879e-03   -5.61240e-03   -7.66685e-03   -1.09278e-02   -1.46627e-02   -1.81391e-02   -2.06246e-02   -2.23819e-02   -2.40478e-02   -2.54503e-02   -2.64177e-02   -2.67784e-02   -2.65116e-02   -2.58379e-02   -2.49471e-02   -2.40293e-02   -2.32743e-02   -2.26731e-02   -2.20948e-02   -2.15470e-02   -2.10370e-02   -2.05723e-02   -2.01495e-02   -1.97574e-02   -1.93914e-02   -1.90471e-02   -1.87200e-02   -1.84099e-02   -1.81172e-02   -1.78388e-02   -1.75715e-02   -1.73122e-02   -1.70611e-02   -1.68196e-02   -1.65858e-02   -1.63583e-02   -1.61351e-02   -1.59166e-02   -1.57035e-02   -1.54952e-02   -1.52907e-02   -1.50893e-02   -1.48911e-02   -1.46965e-02   -1.45050e-02   -1.43165e-02   -1.41305e-02   -1.39470e-02   -1.37663e-02   -1.35880e-02   -1.34121e-02   -1.32385e-02   -1.30671e-02   -1.28980e-02   -1.27310e-02   -1.25661e-02   -1.24030e-02   -1.22418e-02   -1.20826e-02   -1.19252e-02   -1.17696e-02   -1.16155e-02   -1.14631e-02   -1.13124e-02   -1.11633e-02   -1.10155e-02   -1.08688e-02   -1.07234e-02   -1.05794e-02   -1.04365e-02   -1.02945e-02   -1.01533e-02   -1.00130e-02   -9.87375e-03   -9.73523e-03   -9.59716e-03   -9.45922e-03   -9.32164e-03   -9.18463e-03   -9.04783e-03   -8.91090e-03   -8.77350e-03   -8.63588e-03   -8.49827e-03   -8.36028e-03   -8.22153e-03   -8.08162e-03   -7.94086e-03   -7.79949e-03   -7.65703e-03   -7.51301e-03   -7.36695e-03   -7.21909e-03   -7.06970e-03   -6.91832e-03   -6.76452e-03   -6.60783e-03   -6.44851e-03   -6.28674e-03   -6.12198e-03   -5.95369e-03   -5.78134e-03   -5.60505e-03   -5.42497e-03   -5.24056e-03   -5.05132e-03   -4.85670e-03   -4.65671e-03   -4.45133e-03   -4.24002e-03   -4.02224e-03   -3.79746e-03   -3.56549e-03   -3.32611e-03   -3.07877e-03   -2.82289e-03   -2.55789e-03   -2.28330e-03   -1.99867e-03   -1.70343e-03   -1.39703e-03   -1.07892e-03   -7.48262e-04   -4.04222e-04   -4.62529e-05   3.26193e-04   7.13664e-04   1.11748e-03   1.53894e-03   1.97857e-03   2.43690e-03   2.91446e-03   3.41324e-03   3.93516e-03   4.48063e-03   5.05004e-03   5.64381e-03   6.26480e-03   6.91574e-03   7.59679e-03   8.30811e-03   9.04989e-03   9.82650e-03   1.06416e-02   1.14944e-02   1.23840e-02   1.33094e-02   1.42776e-02   1.52936e-02   1.63535e-02   1.74536e-02   1.85901e-02   1.97773e-02   2.10216e-02   2.23076e-02   2.36195e-02   2.49418e-02   2.63321e-02   2.78018e-02   2.92656e-02   3.06385e-02   3.18352e-02   3.29884e-02   3.41760e-02   3.52311e-02   3.59866e-02   3.62756e-02   3.56956e-02   3.40390e-02   3.14312e-02   2.79973e-02   2.38626e-02   1.52891e-02   -7.53495e-04   -2.30786e-02   -5.04995e-02   -8.18295e-02   -1.41388e-01   -2.35848e-01   -3.37557e-01   -4.18862e-01   -4.52109e-01   -4.46772e-01   -4.32624e-01   -4.12461e-01   -3.89078e-01   -3.65270e-01   -3.35649e-01   -2.97226e-01   -2.56401e-01   -2.19571e-01   -1.93135e-01   -1.75892e-01   -1.61688e-01   -1.49495e-01   -1.38283e-01   -1.27023e-01   -1.14844e-01   -1.02365e-01   -9.07868e-02   -8.13131e-02   -7.51462e-02   -7.17201e-02   -6.92902e-02   -6.72909e-02   -6.51572e-02   -6.23235e-02   -5.76061e-02   -5.12333e-02   -4.47584e-02   -3.97344e-02   -3.77146e-02   -3.77741e-02   -3.79161e-02   -3.80856e-02   -3.82276e-02   -3.82871e-02   -3.67623e-02   -3.31264e-02   -2.87866e-02   -2.51507e-02   -2.36259e-02   -2.42269e-02   -2.56601e-02   -2.73708e-02   -2.88040e-02   -2.94050e-02   -2.84127e-02   -2.60463e-02   -2.32219e-02   -2.08555e-02   -1.98632e-02   -2.08555e-02   -2.32219e-02   -2.60463e-02   -2.84127e-02   -2.94050e-02   -2.88040e-02   -2.73708e-02   -2.56601e-02   -2.42269e-02   -2.36259e-02   -2.51507e-02   -2.87866e-02   -3.31264e-02   -3.67623e-02   -3.82871e-02   -3.82276e-02   -3.80856e-02   -3.79161e-02   -3.77741e-02   -3.77146e-02   -3.97344e-02   -4.47584e-02   -5.12333e-02   -5.76061e-02   -6.23235e-02   -6.51572e-02   -6.72909e-02   -6.92902e-02   -7.17201e-02   -7.51462e-02   -8.13131e-02   -9.07868e-02   -1.02365e-01   -1.14844e-01   -1.27023e-01   -1.38283e-01   -1.49495e-01   -1.61688e-01   -1.75891e-01   -1.93135e-01   -2.19571e-01   -2.56401e-01   -2.97227e-01   -3.35650e-01   -3.65271e-01   -3.89078e-01   -4.12461e-01   -4.32624e-01   -4.46772e-01   -4.52109e-01   -4.18862e-01   -3.37558e-01   -2.35849e-01   -1.41389e-01   -8.18311e-02   -5.05007e-02   -2.30794e-02   -7.53869e-04   1.52890e-02   2.38626e-02   2.79973e-02   3.14311e-02   3.40390e-02   3.56955e-02   3.62755e-02   3.59865e-02   3.52310e-02   3.41760e-02   3.29883e-02   3.18352e-02   3.06386e-02   2.92659e-02   2.78022e-02   2.63327e-02   2.49424e-02   2.36200e-02   2.23080e-02   2.10219e-02   1.97774e-02   1.85901e-02   1.74536e-02   1.63535e-02   1.52936e-02   1.42776e-02   1.33094e-02   1.23840e-02   1.14944e-02   1.06416e-02   9.82650e-03   9.04989e-03   8.30811e-03   7.59679e-03   6.91574e-03   6.26480e-03   5.64381e-03   5.05004e-03   4.48063e-03   3.93516e-03   3.41324e-03   2.91446e-03   2.43690e-03   1.97857e-03   1.53894e-03   1.11748e-03   7.13664e-04   3.26193e-04   -4.62529e-05   -4.04222e-04   -7.48262e-04   -1.07892e-03   -1.39703e-03   -1.70343e-03   -1.99867e-03   -2.28330e-03   -2.55789e-03   -2.82289e-03   -3.07877e-03   -3.32611e-03   -3.56549e-03   -3.79746e-03   -4.02224e-03   -4.24002e-03   -4.45133e-03   -4.65671e-03   -4.85670e-03   -5.05132e-03   -5.24056e-03   -5.42497e-03   -5.60505e-03   -5.78134e-03   -5.95369e-03   -6.12198e-03   -6.28674e-03   -6.44851e-03   -6.60783e-03   -6.76452e-03   -6.91832e-03   -7.06970e-03   -7.21909e-03   -7.36695e-03   -7.51301e-03   -7.65703e-03   -7.79948e-03   -7.94085e-03   -8.08162e-03   -8.22156e-03   -8.36035e-03   -8.49838e-03   -8.63602e-03   -8.77366e-03   -8.91105e-03   -9.04794e-03   -9.18470e-03   -9.32167e-03   -9.45922e-03   -9.59715e-03   -9.73522e-03   -9.87374e-03   -1.00130e-02   -1.01533e-02   -1.02945e-02   -1.04365e-02   -1.05794e-02   -1.07234e-02   -1.08688e-02   -1.10155e-02   -1.11633e-02   -1.13124e-02   -1.14631e-02   -1.16155e-02   -1.17696e-02   -1.19252e-02   -1.20826e-02   -1.22418e-02   -1.24030e-02   -1.25661e-02   -1.27310e-02   -1.28980e-02   -1.30671e-02   -1.32385e-02   -1.34121e-02   -1.35880e-02   -1.37663e-02   -1.39470e-02   -1.41305e-02   -1.43165e-02   -1.45050e-02   -1.46965e-02   -1.48911e-02   -1.50893e-02   -1.52907e-02   -1.54951e-02   -1.57035e-02   -1.59166e-02   -1.61351e-02   -1.63583e-02   -1.65859e-02   -1.68196e-02   -1.70612e-02   -1.73123e-02   -1.75716e-02   -1.78388e-02   -1.81172e-02   -1.84098e-02   -1.87199e-02   -1.90470e-02   -1.93913e-02   -1.97573e-02   -2.01495e-02   -2.05723e-02   -2.10370e-02   -2.15470e-02   -2.20948e-02   -2.26731e-02   -2.32743e-02   -2.40293e-02   -2.49471e-02   -2.58379e-02   -2.65116e-02   -2.67784e-02   -2.64177e-02   -2.54503e-02   -2.40478e-02   -2.23819e-02   -2.06246e-02   -1.81391e-02   -1.46627e-02   -1.09278e-02   -7.66686e-03   -5.61241e-03   -4.49880e-03   -3.56896e-03   -2.81825e-03   -2.24201e-03   -1.83558e-03   -1.54022e-03   -1.29610e-03   -1.09692e-03   -9.36369e-04   -8.08161e-04   -7.01994e-04   -6.10826e-04   -5.33234e-04   -4.67794e-04   -4.13085e-04   -3.64695e-04   -3.20421e-04   -2.82154e-04   -2.51784e-04   -2.31203e-04   
+4.00000e-03   -2.08588e-04   -2.27761e-04   -2.55428e-04   -2.89984e-04   -3.29824e-04   -3.73344e-04   -4.22586e-04   -4.81296e-04   -5.50421e-04   -6.30908e-04   -7.23706e-04   -8.35220e-04   -9.73159e-04   -1.14043e-03   -1.33993e-03   -1.57456e-03   -1.88011e-03   -2.28626e-03   -2.78673e-03   -3.37526e-03   -4.04558e-03   -4.96744e-03   -6.21117e-03   -7.62138e-03   -9.04265e-03   -1.03196e-02   -1.15601e-02   -1.28709e-02   -1.40946e-02   -1.50740e-02   -1.56518e-02   -1.59591e-02   -1.62225e-02   -1.64280e-02   -1.65615e-02   -1.66091e-02   -1.65856e-02   -1.65238e-02   -1.64370e-02   -1.63386e-02   -1.62418e-02   -1.61403e-02   -1.60228e-02   -1.58952e-02   -1.57636e-02   -1.56338e-02   -1.55052e-02   -1.53737e-02   -1.52402e-02   -1.51054e-02   -1.49702e-02   -1.48343e-02   -1.46971e-02   -1.45590e-02   -1.44203e-02   -1.42813e-02   -1.41419e-02   -1.40017e-02   -1.38612e-02   -1.37206e-02   -1.35803e-02   -1.34401e-02   -1.32997e-02   -1.31595e-02   -1.30197e-02   -1.28806e-02   -1.27421e-02   -1.26040e-02   -1.24664e-02   -1.23297e-02   -1.21939e-02   -1.20590e-02   -1.19249e-02   -1.17916e-02   -1.16593e-02   -1.15281e-02   -1.13980e-02   -1.12688e-02   -1.11406e-02   -1.10134e-02   -1.08872e-02   -1.07620e-02   -1.06379e-02   -1.05146e-02   -1.03923e-02   -1.02707e-02   -1.01500e-02   -1.00302e-02   -9.91113e-03   -9.79269e-03   -9.67471e-03   -9.55733e-03   -9.44063e-03   -9.32441e-03   -9.20845e-03   -9.09252e-03   -8.97684e-03   -8.86155e-03   -8.74634e-03   -8.63089e-03   -8.51489e-03   -8.39854e-03   -8.28206e-03   -8.16512e-03   -8.04741e-03   -7.92862e-03   -7.80899e-03   -7.68871e-03   -7.56739e-03   -7.44466e-03   -7.32012e-03   -7.19403e-03   -7.06658e-03   -6.93734e-03   -6.80586e-03   -6.67170e-03   -6.53504e-03   -6.39605e-03   -6.25430e-03   -6.10937e-03   -5.96082e-03   -5.80875e-03   -5.65324e-03   -5.49384e-03   -5.33007e-03   -5.16148e-03   -4.98803e-03   -4.80967e-03   -4.62597e-03   -4.43645e-03   -4.24068e-03   -4.03842e-03   -3.82945e-03   -3.61332e-03   -3.38959e-03   -3.15782e-03   -2.91757e-03   -2.66838e-03   -2.40975e-03   -2.14119e-03   -1.86222e-03   -1.57195e-03   -1.26964e-03   -9.54943e-04   -6.27558e-04   -2.87161e-04   6.75366e-05   4.37769e-04   8.23774e-04   1.22579e-03   1.64405e-03   2.08044e-03   2.53668e-03   3.01274e-03   3.50860e-03   4.02424e-03   4.56252e-03   5.12576e-03   5.71311e-03   6.32369e-03   6.95667e-03   7.61649e-03   8.30620e-03   9.02289e-03   9.76360e-03   1.05254e-02   1.13165e-02   1.21409e-02   1.29892e-02   1.38524e-02   1.47210e-02   1.56193e-02   1.65540e-02   1.74893e-02   1.83894e-02   1.92187e-02   2.00788e-02   2.09989e-02   2.18348e-02   2.24422e-02   2.26767e-02   2.25757e-02   2.22849e-02   2.18224e-02   2.12067e-02   2.04558e-02   1.86788e-02   1.51506e-02   1.01381e-02   3.90844e-03   -3.27141e-03   -1.38985e-02   -2.98040e-02   -4.97218e-02   -7.23859e-02   -9.65301e-02   -1.30308e-01   -1.75615e-01   -2.21800e-01   -2.58208e-01   -2.74187e-01   -2.76198e-01   -2.77792e-01   -2.78952e-01   -2.79660e-01   -2.79900e-01   -2.72786e-01   -2.54940e-01   -2.31607e-01   -2.08032e-01   -1.89460e-01   -1.75649e-01   -1.62842e-01   -1.51013e-01   -1.40137e-01   -1.30187e-01   -1.20855e-01   -1.12002e-01   -1.03855e-01   -9.66409e-02   -9.05863e-02   -8.55843e-02   -8.12403e-02   -7.73494e-02   -7.37070e-02   -7.01083e-02   -6.63822e-02   -6.26474e-02   -5.91337e-02   -5.60709e-02   -5.36888e-02   -5.19327e-02   -5.04982e-02   -4.92407e-02   -4.80156e-02   -4.66784e-02   -4.50496e-02   -4.32251e-02   -4.14735e-02   -4.00630e-02   -3.92622e-02   -3.89321e-02   -3.87126e-02   -3.85405e-02   -3.83522e-02   -3.80844e-02   -3.75915e-02   -3.68914e-02   -3.61661e-02   -3.55975e-02   -3.53675e-02   -3.55975e-02   -3.61661e-02   -3.68914e-02   -3.75915e-02   -3.80844e-02   -3.83522e-02   -3.85405e-02   -3.87126e-02   -3.89321e-02   -3.92622e-02   -4.00630e-02   -4.14735e-02   -4.32251e-02   -4.50496e-02   -4.66784e-02   -4.80156e-02   -4.92407e-02   -5.04982e-02   -5.19327e-02   -5.36888e-02   -5.60709e-02   -5.91337e-02   -6.26474e-02   -6.63822e-02   -7.01083e-02   -7.37070e-02   -7.73494e-02   -8.12403e-02   -8.55843e-02   -9.05863e-02   -9.66409e-02   -1.03855e-01   -1.12002e-01   -1.20855e-01   -1.30187e-01   -1.40137e-01   -1.51013e-01   -1.62842e-01   -1.75649e-01   -1.89460e-01   -2.08032e-01   -2.31607e-01   -2.54940e-01   -2.72786e-01   -2.79900e-01   -2.79660e-01   -2.78952e-01   -2.77792e-01   -2.76198e-01   -2.74187e-01   -2.58208e-01   -2.21800e-01   -1.75615e-01   -1.30308e-01   -9.65301e-02   -7.23859e-02   -4.97218e-02   -2.98040e-02   -1.38985e-02   -3.27141e-03   3.90844e-03   1.01381e-02   1.51506e-02   1.86788e-02   2.04558e-02   2.12067e-02   2.18224e-02   2.22849e-02   2.25757e-02   2.26767e-02   2.24422e-02   2.18348e-02   2.09989e-02   2.00788e-02   1.92187e-02   1.83894e-02   1.74893e-02   1.65540e-02   1.56193e-02   1.47210e-02   1.38524e-02   1.29892e-02   1.21409e-02   1.13165e-02   1.05254e-02   9.76360e-03   9.02289e-03   8.30620e-03   7.61649e-03   6.95667e-03   6.32369e-03   5.71311e-03   5.12576e-03   4.56252e-03   4.02424e-03   3.50860e-03   3.01274e-03   2.53668e-03   2.08044e-03   1.64405e-03   1.22579e-03   8.23773e-04   4.37768e-04   6.75357e-05   -2.87162e-04   -6.27559e-04   -9.54943e-04   -1.26964e-03   -1.57195e-03   -1.86222e-03   -2.14119e-03   -2.40975e-03   -2.66838e-03   -2.91757e-03   -3.15782e-03   -3.38959e-03   -3.61332e-03   -3.82945e-03   -4.03842e-03   -4.24068e-03   -4.43645e-03   -4.62597e-03   -4.80967e-03   -4.98803e-03   -5.16148e-03   -5.33007e-03   -5.49384e-03   -5.65324e-03   -5.80875e-03   -5.96082e-03   -6.10937e-03   -6.25430e-03   -6.39605e-03   -6.53504e-03   -6.67170e-03   -6.80586e-03   -6.93734e-03   -7.06658e-03   -7.19403e-03   -7.32012e-03   -7.44466e-03   -7.56739e-03   -7.68871e-03   -7.80899e-03   -7.92862e-03   -8.04741e-03   -8.16512e-03   -8.28206e-03   -8.39854e-03   -8.51489e-03   -8.63089e-03   -8.74633e-03   -8.86154e-03   -8.97683e-03   -9.09252e-03   -9.20847e-03   -9.32447e-03   -9.44074e-03   -9.55746e-03   -9.67486e-03   -9.79283e-03   -9.91124e-03   -1.00302e-02   -1.01500e-02   -1.02707e-02   -1.03923e-02   -1.05146e-02   -1.06379e-02   -1.07620e-02   -1.08872e-02   -1.10134e-02   -1.11406e-02   -1.12688e-02   -1.13980e-02   -1.15281e-02   -1.16593e-02   -1.17916e-02   -1.19249e-02   -1.20590e-02   -1.21939e-02   -1.23297e-02   -1.24664e-02   -1.26040e-02   -1.27421e-02   -1.28806e-02   -1.30197e-02   -1.31595e-02   -1.32997e-02   -1.34401e-02   -1.35803e-02   -1.37206e-02   -1.38612e-02   -1.40017e-02   -1.41419e-02   -1.42813e-02   -1.44203e-02   -1.45590e-02   -1.46971e-02   -1.48343e-02   -1.49702e-02   -1.51055e-02   -1.52403e-02   -1.53738e-02   -1.55053e-02   -1.56339e-02   -1.57637e-02   -1.58953e-02   -1.60228e-02   -1.61403e-02   -1.62418e-02   -1.63386e-02   -1.64370e-02   -1.65237e-02   -1.65855e-02   -1.66090e-02   -1.65614e-02   -1.64279e-02   -1.62225e-02   -1.59591e-02   -1.56518e-02   -1.50740e-02   -1.40946e-02   -1.28709e-02   -1.15601e-02   -1.03196e-02   -9.04265e-03   -7.62138e-03   -6.21117e-03   -4.96744e-03   -4.04558e-03   -3.37526e-03   -2.78673e-03   -2.28626e-03   -1.88011e-03   -1.57456e-03   -1.33993e-03   -1.14043e-03   -9.73159e-04   -8.35219e-04   -7.23705e-04   -6.30907e-04   -5.50419e-04   -4.81294e-04   -4.22584e-04   -3.73342e-04   -3.29823e-04   -2.89983e-04   -2.55427e-04   -2.27760e-04   -2.08588e-04   
+3.50000e-03   -1.82691e-04   -2.00071e-04   -2.24214e-04   -2.53893e-04   -2.87887e-04   -3.24970e-04   -3.66852e-04   -4.16389e-04   -4.74078e-04   -5.40414e-04   -6.15893e-04   -7.05218e-04   -8.13429e-04   -9.41527e-04   -1.09052e-03   -1.26140e-03   -1.47211e-03   -1.73680e-03   -2.05077e-03   -2.40934e-03   -2.80782e-03   -3.29874e-03   -3.90817e-03   -4.59178e-03   -5.30520e-03   -6.00410e-03   -6.72730e-03   -7.50532e-03   -8.28131e-03   -8.99842e-03   -9.59982e-03   -1.01120e-02   -1.05895e-02   -1.10174e-02   -1.13806e-02   -1.16643e-02   -1.18935e-02   -1.20987e-02   -1.22734e-02   -1.24110e-02   -1.25049e-02   -1.25726e-02   -1.26329e-02   -1.26815e-02   -1.27138e-02   -1.27256e-02   -1.27192e-02   -1.27021e-02   -1.26770e-02   -1.26467e-02   -1.26142e-02   -1.25727e-02   -1.25167e-02   -1.24507e-02   -1.23792e-02   -1.23069e-02   -1.22317e-02   -1.21499e-02   -1.20634e-02   -1.19738e-02   -1.18830e-02   -1.17902e-02   -1.16940e-02   -1.15954e-02   -1.14954e-02   -1.13948e-02   -1.12933e-02   -1.11903e-02   -1.10862e-02   -1.09816e-02   -1.08772e-02   -1.07727e-02   -1.06677e-02   -1.05626e-02   -1.04576e-02   -1.03530e-02   -1.02488e-02   -1.01446e-02   -1.00408e-02   -9.93738e-03   -9.83452e-03   -9.73222e-03   -9.63037e-03   -9.52898e-03   -9.42806e-03   -9.32761e-03   -9.22768e-03   -9.12825e-03   -9.02925e-03   -8.93061e-03   -8.83225e-03   -8.73428e-03   -8.63676e-03   -8.53951e-03   -8.44234e-03   -8.34507e-03   -8.24786e-03   -8.15083e-03   -8.05374e-03   -7.95638e-03   -7.85852e-03   -7.76034e-03   -7.66198e-03   -7.56317e-03   -7.46364e-03   -7.36313e-03   -7.26184e-03   -7.15992e-03   -7.05706e-03   -6.95290e-03   -6.84712e-03   -6.73991e-03   -6.63145e-03   -6.52136e-03   -6.40926e-03   -6.29479e-03   -6.17807e-03   -6.05925e-03   -5.93796e-03   -5.81385e-03   -5.68653e-03   -5.55609e-03   -5.42256e-03   -5.28558e-03   -5.14474e-03   -4.99966e-03   -4.85028e-03   -4.69656e-03   -4.53810e-03   -4.37452e-03   -4.20544e-03   -4.03062e-03   -3.84986e-03   -3.66278e-03   -3.46903e-03   -3.26825e-03   -3.05999e-03   -2.84381e-03   -2.61938e-03   -2.38633e-03   -2.14432e-03   -1.89254e-03   -1.63029e-03   -1.35737e-03   -1.07359e-03   -7.78747e-04   -4.71669e-04   -1.51267e-04   1.82508e-04   5.29706e-04   8.90375e-04   1.26634e-03   1.65907e-03   2.06809e-03   2.49291e-03   2.93307e-03   3.39136e-03   3.86977e-03   4.36656e-03   4.88003e-03   5.40845e-03   5.95639e-03   6.52642e-03   7.11383e-03   7.71390e-03   8.32194e-03   8.94840e-03   9.59698e-03   1.02528e-02   1.09010e-02   1.15268e-02   1.21783e-02   1.28660e-02   1.35185e-02   1.40644e-02   1.44323e-02   1.46805e-02   1.49035e-02   1.50841e-02   1.52051e-02   1.52492e-02   1.49216e-02   1.40158e-02   1.26473e-02   1.09315e-02   8.98396e-03   6.17408e-03   1.92952e-03   -3.54704e-03   -1.00529e-02   -1.73854e-02   -2.69868e-02   -3.97981e-02   -5.48647e-02   -7.12318e-02   -8.79447e-02   -1.07798e-01   -1.31634e-01   -1.55573e-01   -1.75734e-01   -1.88236e-01   -1.95309e-01   -2.01505e-01   -2.06425e-01   -2.09670e-01   -2.10840e-01   -2.07682e-01   -1.99612e-01   -1.88738e-01   -1.77169e-01   -1.67012e-01   -1.58049e-01   -1.48875e-01   -1.39817e-01   -1.31202e-01   -1.23357e-01   -1.16139e-01   -1.09254e-01   -1.02804e-01   -9.68916e-02   -9.16171e-02   -8.69021e-02   -8.25741e-02   -7.85945e-02   -7.49244e-02   -7.15253e-02   -6.83186e-02   -6.52838e-02   -6.24694e-02   -5.99238e-02   -5.76954e-02   -5.57463e-02   -5.39857e-02   -5.23832e-02   -5.09082e-02   -4.95303e-02   -4.81935e-02   -4.69003e-02   -4.57078e-02   -4.46728e-02   -4.38524e-02   -4.32022e-02   -4.26347e-02   -4.21424e-02   -4.17178e-02   -4.13532e-02   -4.10053e-02   -4.06631e-02   -4.03678e-02   -4.01604e-02   -4.00821e-02   -4.01604e-02   -4.03678e-02   -4.06631e-02   -4.10053e-02   -4.13532e-02   -4.17178e-02   -4.21424e-02   -4.26347e-02   -4.32022e-02   -4.38524e-02   -4.46728e-02   -4.57078e-02   -4.69003e-02   -4.81935e-02   -4.95303e-02   -5.09082e-02   -5.23832e-02   -5.39857e-02   -5.57463e-02   -5.76954e-02   -5.99238e-02   -6.24694e-02   -6.52838e-02   -6.83186e-02   -7.15253e-02   -7.49244e-02   -7.85945e-02   -8.25741e-02   -8.69021e-02   -9.16171e-02   -9.68916e-02   -1.02804e-01   -1.09254e-01   -1.16139e-01   -1.23357e-01   -1.31202e-01   -1.39817e-01   -1.48875e-01   -1.58049e-01   -1.67012e-01   -1.77169e-01   -1.88738e-01   -1.99612e-01   -2.07682e-01   -2.10840e-01   -2.09670e-01   -2.06425e-01   -2.01505e-01   -1.95309e-01   -1.88236e-01   -1.75734e-01   -1.55573e-01   -1.31634e-01   -1.07798e-01   -8.79447e-02   -7.12318e-02   -5.48647e-02   -3.97981e-02   -2.69868e-02   -1.73854e-02   -1.00529e-02   -3.54709e-03   1.92945e-03   6.17400e-03   8.98388e-03   1.09315e-02   1.26473e-02   1.40158e-02   1.49216e-02   1.52492e-02   1.52051e-02   1.50841e-02   1.49035e-02   1.46806e-02   1.44324e-02   1.40645e-02   1.35186e-02   1.28661e-02   1.21783e-02   1.15268e-02   1.09010e-02   1.02528e-02   9.59697e-03   8.94840e-03   8.32194e-03   7.71390e-03   7.11383e-03   6.52642e-03   5.95639e-03   5.40845e-03   4.88003e-03   4.36656e-03   3.86977e-03   3.39136e-03   2.93307e-03   2.49291e-03   2.06809e-03   1.65907e-03   1.26634e-03   8.90375e-04   5.29706e-04   1.82509e-04   -1.51266e-04   -4.71668e-04   -7.78746e-04   -1.07359e-03   -1.35737e-03   -1.63029e-03   -1.89254e-03   -2.14432e-03   -2.38633e-03   -2.61938e-03   -2.84381e-03   -3.05999e-03   -3.26825e-03   -3.46903e-03   -3.66278e-03   -3.84986e-03   -4.03062e-03   -4.20544e-03   -4.37452e-03   -4.53810e-03   -4.69656e-03   -4.85028e-03   -4.99966e-03   -5.14474e-03   -5.28558e-03   -5.42256e-03   -5.55609e-03   -5.68653e-03   -5.81385e-03   -5.93796e-03   -6.05925e-03   -6.17807e-03   -6.29479e-03   -6.40926e-03   -6.52136e-03   -6.63145e-03   -6.73991e-03   -6.84712e-03   -6.95290e-03   -7.05706e-03   -7.15992e-03   -7.26184e-03   -7.36313e-03   -7.46364e-03   -7.56317e-03   -7.66198e-03   -7.76034e-03   -7.85852e-03   -7.95638e-03   -8.05374e-03   -8.15083e-03   -8.24786e-03   -8.34507e-03   -8.44234e-03   -8.53951e-03   -8.63676e-03   -8.73428e-03   -8.83225e-03   -8.93061e-03   -9.02925e-03   -9.12825e-03   -9.22768e-03   -9.32761e-03   -9.42806e-03   -9.52898e-03   -9.63037e-03   -9.73222e-03   -9.83452e-03   -9.93738e-03   -1.00408e-02   -1.01446e-02   -1.02488e-02   -1.03530e-02   -1.04576e-02   -1.05626e-02   -1.06677e-02   -1.07727e-02   -1.08772e-02   -1.09816e-02   -1.10862e-02   -1.11903e-02   -1.12933e-02   -1.13948e-02   -1.14954e-02   -1.15954e-02   -1.16940e-02   -1.17902e-02   -1.18830e-02   -1.19738e-02   -1.20634e-02   -1.21499e-02   -1.22317e-02   -1.23069e-02   -1.23792e-02   -1.24507e-02   -1.25167e-02   -1.25727e-02   -1.26142e-02   -1.26467e-02   -1.26770e-02   -1.27022e-02   -1.27193e-02   -1.27257e-02   -1.27139e-02   -1.26816e-02   -1.26330e-02   -1.25726e-02   -1.25049e-02   -1.24109e-02   -1.22733e-02   -1.20987e-02   -1.18935e-02   -1.16643e-02   -1.13806e-02   -1.10174e-02   -1.05895e-02   -1.01120e-02   -9.59982e-03   -8.99842e-03   -8.28131e-03   -7.50532e-03   -6.72730e-03   -6.00410e-03   -5.30520e-03   -4.59178e-03   -3.90817e-03   -3.29874e-03   -2.80782e-03   -2.40934e-03   -2.05077e-03   -1.73680e-03   -1.47211e-03   -1.26140e-03   -1.09052e-03   -9.41527e-04   -8.13428e-04   -7.05217e-04   -6.15892e-04   -5.40413e-04   -4.74077e-04   -4.16389e-04   -3.66852e-04   -3.24970e-04   -2.87887e-04   -2.53893e-04   -2.24214e-04   -2.00071e-04   -1.82691e-04   
+3.00000e-03   -1.55146e-04   -1.70308e-04   -1.90536e-04   -2.14962e-04   -2.42717e-04   -2.72932e-04   -3.06923e-04   -3.46715e-04   -3.92508e-04   -4.44501e-04   -5.02893e-04   -5.70741e-04   -6.51149e-04   -7.44388e-04   -8.50730e-04   -9.70445e-04   -1.11224e-03   -1.28313e-03   -1.48083e-03   -1.70306e-03   -1.94754e-03   -2.23478e-03   -2.57670e-03   -2.95809e-03   -3.36380e-03   -3.77863e-03   -4.22203e-03   -4.70704e-03   -5.20885e-03   -5.70264e-03   -6.16362e-03   -6.60195e-03   -7.03545e-03   -7.45079e-03   -7.83462e-03   -8.17362e-03   -8.47802e-03   -8.76327e-03   -9.02387e-03   -9.25434e-03   -9.44917e-03   -9.61923e-03   -9.77582e-03   -9.91407e-03   -1.00291e-02   -1.01161e-02   -1.01871e-02   -1.02531e-02   -1.03081e-02   -1.03456e-02   -1.03595e-02   -1.03577e-02   -1.03525e-02   -1.03444e-02   -1.03341e-02   -1.03221e-02   -1.02998e-02   -1.02618e-02   -1.02135e-02   -1.01600e-02   -1.01065e-02   -1.00511e-02   -9.98928e-03   -9.92299e-03   -9.85397e-03   -9.78402e-03   -9.71236e-03   -9.63760e-03   -9.56063e-03   -9.48234e-03   -9.40362e-03   -9.32412e-03   -9.24320e-03   -9.16134e-03   -9.07903e-03   -8.99672e-03   -8.91427e-03   -8.83136e-03   -8.74821e-03   -8.66505e-03   -8.58211e-03   -8.49933e-03   -8.41655e-03   -8.33387e-03   -8.25136e-03   -8.16909e-03   -8.08708e-03   -8.00529e-03   -7.92367e-03   -7.84222e-03   -7.76090e-03   -7.67980e-03   -7.59893e-03   -7.51816e-03   -7.43739e-03   -7.35649e-03   -7.27558e-03   -7.19474e-03   -7.11379e-03   -7.03254e-03   -6.95081e-03   -6.86876e-03   -6.78649e-03   -6.70379e-03   -6.62040e-03   -6.53611e-03   -6.45106e-03   -6.36539e-03   -6.27884e-03   -6.19116e-03   -6.10208e-03   -6.01179e-03   -5.92040e-03   -5.82760e-03   -5.73304e-03   -5.63641e-03   -5.53780e-03   -5.43735e-03   -5.33473e-03   -5.22966e-03   -5.12182e-03   -5.01125e-03   -4.89797e-03   -4.78170e-03   -4.66212e-03   -4.53894e-03   -4.41213e-03   -4.28163e-03   -4.14707e-03   -4.00809e-03   -3.86433e-03   -3.71556e-03   -3.56161e-03   -3.40219e-03   -3.23704e-03   -3.06587e-03   -2.88825e-03   -2.70377e-03   -2.51221e-03   -2.31338e-03   -2.10704e-03   -1.89252e-03   -1.66918e-03   -1.43687e-03   -1.19546e-03   -9.44791e-04   -6.83772e-04   -4.11495e-04   -1.28114e-04   1.66218e-04   4.71346e-04   7.88993e-04   1.12042e-03   1.46479e-03   1.82125e-03   2.18896e-03   2.57049e-03   2.96750e-03   3.37782e-03   3.79926e-03   4.22963e-03   4.67384e-03   5.13404e-03   5.60395e-03   6.07727e-03   6.54769e-03   7.02882e-03   7.52487e-03   8.01545e-03   8.48016e-03   8.89861e-03   9.31941e-03   9.76098e-03   1.01577e-02   1.04438e-02   1.05538e-02   1.05101e-02   1.03853e-02   1.01888e-02   9.92985e-03   9.61799e-03   8.95521e-03   7.71105e-03   5.99610e-03   3.92093e-03   1.59616e-03   -1.42172e-03   -5.53478e-03   -1.05703e-02   -1.63556e-02   -2.27180e-02   -3.04608e-02   -4.00815e-02   -5.09489e-02   -6.24314e-02   -7.38978e-02   -8.65222e-02   -1.00770e-01   -1.14946e-01   -1.27356e-01   -1.36306e-01   -1.42924e-01   -1.49081e-01   -1.54198e-01   -1.57694e-01   -1.58988e-01   -1.57678e-01   -1.54261e-01   -1.49507e-01   -1.44187e-01   -1.39071e-01   -1.33817e-01   -1.27838e-01   -1.21533e-01   -1.15304e-01   -1.09552e-01   -1.04194e-01   -9.89459e-02   -9.39056e-02   -8.91707e-02   -8.48388e-02   -8.08525e-02   -7.70973e-02   -7.35855e-02   -7.03291e-02   -6.73403e-02   -6.45661e-02   -6.19579e-02   -5.95343e-02   -5.73137e-02   -5.53149e-02   -5.35000e-02   -5.18192e-02   -5.02731e-02   -4.88623e-02   -4.75874e-02   -4.64086e-02   -4.53010e-02   -4.42880e-02   -4.33926e-02   -4.26380e-02   -4.19811e-02   -4.13763e-02   -4.08430e-02   -4.04006e-02   -4.00686e-02   -3.98001e-02   -3.95510e-02   -3.93443e-02   -3.92033e-02   -3.91512e-02   -3.92033e-02   -3.93443e-02   -3.95510e-02   -3.98001e-02   -4.00686e-02   -4.04006e-02   -4.08430e-02   -4.13763e-02   -4.19811e-02   -4.26380e-02   -4.33926e-02   -4.42880e-02   -4.53010e-02   -4.64086e-02   -4.75874e-02   -4.88623e-02   -5.02731e-02   -5.18192e-02   -5.35000e-02   -5.53149e-02   -5.73137e-02   -5.95343e-02   -6.19579e-02   -6.45661e-02   -6.73403e-02   -7.03291e-02   -7.35855e-02   -7.70973e-02   -8.08525e-02   -8.48388e-02   -8.91707e-02   -9.39056e-02   -9.89459e-02   -1.04194e-01   -1.09552e-01   -1.15304e-01   -1.21533e-01   -1.27838e-01   -1.33817e-01   -1.39071e-01   -1.44187e-01   -1.49507e-01   -1.54261e-01   -1.57678e-01   -1.58988e-01   -1.57694e-01   -1.54198e-01   -1.49081e-01   -1.42924e-01   -1.36306e-01   -1.27356e-01   -1.14946e-01   -1.00770e-01   -8.65222e-02   -7.38978e-02   -6.24314e-02   -5.09489e-02   -4.00815e-02   -3.04608e-02   -2.27180e-02   -1.63556e-02   -1.05703e-02   -5.53478e-03   -1.42172e-03   1.59616e-03   3.92093e-03   5.99610e-03   7.71105e-03   8.95521e-03   9.61799e-03   9.92985e-03   1.01888e-02   1.03853e-02   1.05101e-02   1.05538e-02   1.04438e-02   1.01577e-02   9.76098e-03   9.31941e-03   8.89861e-03   8.48016e-03   8.01545e-03   7.52487e-03   7.02882e-03   6.54769e-03   6.07727e-03   5.60395e-03   5.13404e-03   4.67384e-03   4.22963e-03   3.79926e-03   3.37782e-03   2.96750e-03   2.57049e-03   2.18896e-03   1.82125e-03   1.46479e-03   1.12042e-03   7.88993e-04   4.71346e-04   1.66218e-04   -1.28114e-04   -4.11495e-04   -6.83772e-04   -9.44791e-04   -1.19546e-03   -1.43687e-03   -1.66918e-03   -1.89252e-03   -2.10704e-03   -2.31338e-03   -2.51221e-03   -2.70377e-03   -2.88825e-03   -3.06587e-03   -3.23704e-03   -3.40219e-03   -3.56161e-03   -3.71556e-03   -3.86433e-03   -4.00809e-03   -4.14707e-03   -4.28163e-03   -4.41213e-03   -4.53894e-03   -4.66212e-03   -4.78170e-03   -4.89797e-03   -5.01125e-03   -5.12182e-03   -5.22966e-03   -5.33473e-03   -5.43735e-03   -5.53780e-03   -5.63641e-03   -5.73304e-03   -5.82760e-03   -5.92040e-03   -6.01179e-03   -6.10208e-03   -6.19115e-03   -6.27883e-03   -6.36538e-03   -6.45105e-03   -6.53610e-03   -6.62040e-03   -6.70378e-03   -6.78649e-03   -6.86875e-03   -6.95081e-03   -7.03254e-03   -7.11379e-03   -7.19474e-03   -7.27558e-03   -7.35649e-03   -7.43739e-03   -7.51816e-03   -7.59893e-03   -7.67980e-03   -7.76090e-03   -7.84222e-03   -7.92367e-03   -8.00529e-03   -8.08708e-03   -8.16909e-03   -8.25136e-03   -8.33387e-03   -8.41655e-03   -8.49933e-03   -8.58211e-03   -8.66505e-03   -8.74821e-03   -8.83136e-03   -8.91427e-03   -8.99672e-03   -9.07903e-03   -9.16134e-03   -9.24319e-03   -9.32411e-03   -9.40361e-03   -9.48233e-03   -9.56063e-03   -9.63761e-03   -9.71237e-03   -9.78402e-03   -9.85395e-03   -9.92294e-03   -9.98921e-03   -1.00510e-02   -1.01064e-02   -1.01599e-02   -1.02134e-02   -1.02618e-02   -1.02998e-02   -1.03221e-02   -1.03341e-02   -1.03444e-02   -1.03525e-02   -1.03577e-02   -1.03595e-02   -1.03456e-02   -1.03081e-02   -1.02531e-02   -1.01871e-02   -1.01161e-02   -1.00291e-02   -9.91407e-03   -9.77581e-03   -9.61922e-03   -9.44916e-03   -9.25433e-03   -9.02387e-03   -8.76327e-03   -8.47802e-03   -8.17363e-03   -7.83463e-03   -7.45079e-03   -7.03546e-03   -6.60195e-03   -6.16362e-03   -5.70264e-03   -5.20885e-03   -4.70704e-03   -4.22203e-03   -3.77863e-03   -3.36380e-03   -2.95809e-03   -2.57670e-03   -2.23478e-03   -1.94754e-03   -1.70306e-03   -1.48083e-03   -1.28313e-03   -1.11224e-03   -9.70445e-04   -8.50730e-04   -7.44388e-04   -6.51149e-04   -5.70741e-04   -5.02893e-04   -4.44501e-04   -3.92508e-04   -3.46715e-04   -3.06923e-04   -2.72932e-04   -2.42716e-04   -2.14962e-04   -1.90536e-04   -1.70307e-04   -1.55145e-04   
+2.50000e-03   -1.27270e-04   -1.39915e-04   -1.56194e-04   -1.75522e-04   -1.97309e-04   -2.20969e-04   -2.47450e-04   -2.78123e-04   -3.13034e-04   -3.52230e-04   -3.95757e-04   -4.45477e-04   -5.03269e-04   -5.69203e-04   -6.43348e-04   -7.25774e-04   -8.20800e-04   -9.32111e-04   -1.05883e-03   -1.20007e-03   -1.35496e-03   -1.53303e-03   -1.74048e-03   -1.97142e-03   -2.21996e-03   -2.48023e-03   -2.76368e-03   -3.07752e-03   -3.40950e-03   -3.74738e-03   -4.07891e-03   -4.41121e-03   -4.75246e-03   -5.09203e-03   -5.41928e-03   -5.72357e-03   -6.01064e-03   -6.28929e-03   -6.55348e-03   -6.79713e-03   -7.01421e-03   -7.21145e-03   -7.39692e-03   -7.56658e-03   -7.71637e-03   -7.84225e-03   -7.95230e-03   -8.05436e-03   -8.14404e-03   -8.21690e-03   -8.26855e-03   -8.30727e-03   -8.34238e-03   -8.37101e-03   -8.39029e-03   -8.39736e-03   -8.39324e-03   -8.38213e-03   -8.36586e-03   -8.34628e-03   -8.32525e-03   -8.29845e-03   -8.26229e-03   -8.21974e-03   -8.17373e-03   -8.12723e-03   -8.07898e-03   -8.02658e-03   -7.97119e-03   -7.91399e-03   -7.85616e-03   -7.79722e-03   -7.73628e-03   -7.67392e-03   -7.61072e-03   -7.54727e-03   -7.48334e-03   -7.41854e-03   -7.35315e-03   -7.28748e-03   -7.22182e-03   -7.15609e-03   -7.09008e-03   -7.02392e-03   -6.95775e-03   -6.89168e-03   -6.82573e-03   -6.75981e-03   -6.69391e-03   -6.62800e-03   -6.56209e-03   -6.49620e-03   -6.43033e-03   -6.36445e-03   -6.29850e-03   -6.23242e-03   -6.16632e-03   -6.10022e-03   -6.03399e-03   -5.96748e-03   -5.90054e-03   -5.83331e-03   -5.76587e-03   -5.69803e-03   -5.62959e-03   -5.56036e-03   -5.49046e-03   -5.42000e-03   -5.34877e-03   -5.27657e-03   -5.20317e-03   -5.12871e-03   -5.05330e-03   -4.97667e-03   -4.89857e-03   -4.81875e-03   -4.73730e-03   -4.65431e-03   -4.56952e-03   -4.48266e-03   -4.39348e-03   -4.30200e-03   -4.20825e-03   -4.11197e-03   -4.01291e-03   -3.91082e-03   -3.80566e-03   -3.69738e-03   -3.58567e-03   -3.47025e-03   -3.35081e-03   -3.22712e-03   -3.09901e-03   -2.96632e-03   -2.82888e-03   -2.68650e-03   -2.53882e-03   -2.38547e-03   -2.22630e-03   -2.06114e-03   -1.88983e-03   -1.71180e-03   -1.52651e-03   -1.33390e-03   -1.13387e-03   -9.26344e-04   -7.10319e-04   -4.85053e-04   -2.50862e-04   -8.06007e-06   2.43036e-04   5.03910e-04   7.75623e-04   1.05723e-03   1.34777e-03   1.64630e-03   1.95524e-03   2.27595e-03   2.60586e-03   2.94243e-03   3.28309e-03   3.63294e-03   3.99395e-03   4.35889e-03   4.72052e-03   5.07162e-03   5.42971e-03   5.79984e-03   6.15604e-03   6.47232e-03   6.72273e-03   6.93576e-03   7.14178e-03   7.31762e-03   7.44012e-03   7.48610e-03   7.38840e-03   7.11784e-03   6.70824e-03   6.19344e-03   5.60726e-03   4.74204e-03   3.41873e-03   1.71404e-03   -2.95315e-04   -2.53261e-03   -5.30050e-03   -8.85944e-03   -1.30695e-02   -1.77906e-02   -2.28828e-02   -2.87988e-02   -3.58174e-02   -4.35375e-02   -5.15581e-02   -5.94781e-02   -6.78662e-02   -7.69998e-02   -8.60412e-02   -9.41525e-02   -1.00496e-01   -1.05780e-01   -1.10888e-01   -1.15247e-01   -1.18283e-01   -1.19423e-01   -1.18940e-01   -1.17647e-01   -1.15779e-01   -1.13571e-01   -1.11259e-01   -1.08415e-01   -1.04708e-01   -1.00519e-01   -9.62252e-02   -9.22079e-02   -8.83996e-02   -8.45468e-02   -8.07497e-02   -7.71085e-02   -7.37232e-02   -7.05536e-02   -6.75114e-02   -6.46249e-02   -6.19224e-02   -5.94322e-02   -5.71164e-02   -5.49282e-02   -5.28823e-02   -5.09936e-02   -4.92768e-02   -4.76995e-02   -4.62248e-02   -4.48610e-02   -4.36164e-02   -4.24992e-02   -4.14772e-02   -4.05224e-02   -3.96498e-02   -3.88740e-02   -3.82098e-02   -3.76183e-02   -3.70664e-02   -3.65776e-02   -3.61752e-02   -3.58829e-02   -3.56568e-02   -3.54496e-02   -3.52793e-02   -3.51639e-02   -3.51214e-02   -3.51639e-02   -3.52793e-02   -3.54496e-02   -3.56568e-02   -3.58829e-02   -3.61752e-02   -3.65776e-02   -3.70664e-02   -3.76183e-02   -3.82098e-02   -3.88740e-02   -3.96498e-02   -4.05224e-02   -4.14772e-02   -4.24992e-02   -4.36164e-02   -4.48610e-02   -4.62248e-02   -4.76995e-02   -4.92768e-02   -5.09936e-02   -5.28823e-02   -5.49282e-02   -5.71164e-02   -5.94322e-02   -6.19224e-02   -6.46249e-02   -6.75114e-02   -7.05536e-02   -7.37232e-02   -7.71085e-02   -8.07497e-02   -8.45468e-02   -8.83996e-02   -9.22079e-02   -9.62252e-02   -1.00519e-01   -1.04708e-01   -1.08415e-01   -1.11259e-01   -1.13571e-01   -1.15779e-01   -1.17647e-01   -1.18940e-01   -1.19423e-01   -1.18283e-01   -1.15247e-01   -1.10888e-01   -1.05780e-01   -1.00496e-01   -9.41525e-02   -8.60412e-02   -7.69998e-02   -6.78662e-02   -5.94781e-02   -5.15581e-02   -4.35375e-02   -3.58174e-02   -2.87988e-02   -2.28828e-02   -1.77906e-02   -1.30695e-02   -8.85947e-03   -5.30053e-03   -2.53264e-03   -2.95339e-04   1.71402e-03   3.41872e-03   4.74204e-03   5.60726e-03   6.19344e-03   6.70824e-03   7.11784e-03   7.38840e-03   7.48610e-03   7.44013e-03   7.31764e-03   7.14181e-03   6.93579e-03   6.72273e-03   6.47218e-03   6.15562e-03   5.79911e-03   5.42871e-03   5.07050e-03   4.71949e-03   4.35810e-03   3.99348e-03   3.63276e-03   3.28309e-03   2.94249e-03   2.60593e-03   2.27599e-03   1.95525e-03   1.64629e-03   1.34776e-03   1.05722e-03   7.75619e-04   5.03908e-04   2.43036e-04   -8.05954e-06   -2.50861e-04   -4.85053e-04   -7.10319e-04   -9.26344e-04   -1.13387e-03   -1.33390e-03   -1.52651e-03   -1.71180e-03   -1.88983e-03   -2.06114e-03   -2.22630e-03   -2.38547e-03   -2.53882e-03   -2.68650e-03   -2.82888e-03   -2.96632e-03   -3.09901e-03   -3.22712e-03   -3.35081e-03   -3.47025e-03   -3.58567e-03   -3.69738e-03   -3.80566e-03   -3.91082e-03   -4.01291e-03   -4.11197e-03   -4.20825e-03   -4.30200e-03   -4.39348e-03   -4.48266e-03   -4.56952e-03   -4.65431e-03   -4.73730e-03   -4.81875e-03   -4.89857e-03   -4.97667e-03   -5.05330e-03   -5.12871e-03   -5.20317e-03   -5.27656e-03   -5.34876e-03   -5.41998e-03   -5.49045e-03   -5.56036e-03   -5.62962e-03   -5.69810e-03   -5.76599e-03   -5.83346e-03   -5.90071e-03   -5.96763e-03   -6.03411e-03   -6.10029e-03   -6.16635e-03   -6.23242e-03   -6.29849e-03   -6.36444e-03   -6.43033e-03   -6.49619e-03   -6.56209e-03   -6.62800e-03   -6.69391e-03   -6.75981e-03   -6.82573e-03   -6.89168e-03   -6.95775e-03   -7.02392e-03   -7.09008e-03   -7.15609e-03   -7.22182e-03   -7.28748e-03   -7.35315e-03   -7.41854e-03   -7.48334e-03   -7.54727e-03   -7.61073e-03   -7.67393e-03   -7.73629e-03   -7.79723e-03   -7.85616e-03   -7.91397e-03   -7.97114e-03   -8.02650e-03   -8.07889e-03   -8.12713e-03   -8.17365e-03   -8.21968e-03   -8.26226e-03   -8.29844e-03   -8.32525e-03   -8.34628e-03   -8.36586e-03   -8.38213e-03   -8.39324e-03   -8.39736e-03   -8.39029e-03   -8.37101e-03   -8.34238e-03   -8.30727e-03   -8.26855e-03   -8.21690e-03   -8.14404e-03   -8.05436e-03   -7.95230e-03   -7.84225e-03   -7.71637e-03   -7.56658e-03   -7.39692e-03   -7.21145e-03   -7.01421e-03   -6.79714e-03   -6.55348e-03   -6.28930e-03   -6.01065e-03   -5.72358e-03   -5.41929e-03   -5.09203e-03   -4.75246e-03   -4.41120e-03   -4.07890e-03   -3.74737e-03   -3.40949e-03   -3.07751e-03   -2.76368e-03   -2.48023e-03   -2.21996e-03   -1.97142e-03   -1.74048e-03   -1.53303e-03   -1.35496e-03   -1.20007e-03   -1.05883e-03   -9.32111e-04   -8.20800e-04   -7.25774e-04   -6.43348e-04   -5.69203e-04   -5.03269e-04   -4.45477e-04   -3.95757e-04   -3.52230e-04   -3.13034e-04   -2.78123e-04   -2.47449e-04   -2.20969e-04   -1.97310e-04   -1.75522e-04   -1.56195e-04   -1.39915e-04   -1.27271e-04   
+2.00000e-03   -9.99500e-05   -1.09953e-04   -1.22472e-04   -1.37123e-04   -1.53522e-04   -1.71282e-04   -1.91057e-04   -2.13743e-04   -2.39325e-04   -2.67786e-04   -2.99111e-04   -3.34397e-04   -3.74777e-04   -4.20292e-04   -4.70981e-04   -5.26882e-04   -5.90215e-04   -6.63017e-04   -7.45055e-04   -8.36097e-04   -9.35910e-04   -1.04950e-03   -1.18038e-03   -1.32605e-03   -1.48402e-03   -1.65179e-03   -1.83662e-03   -2.04305e-03   -2.26450e-03   -2.49438e-03   -2.72614e-03   -2.96538e-03   -3.21699e-03   -3.47327e-03   -3.72651e-03   -3.96902e-03   -4.20482e-03   -4.43933e-03   -4.66698e-03   -4.88220e-03   -5.07942e-03   -5.26306e-03   -5.43883e-03   -5.60305e-03   -5.75202e-03   -5.88208e-03   -5.99868e-03   -6.10763e-03   -6.20579e-03   -6.29001e-03   -6.35714e-03   -6.41457e-03   -6.46863e-03   -6.51462e-03   -6.54780e-03   -6.56347e-03   -6.56837e-03   -6.57234e-03   -6.57528e-03   -6.57711e-03   -6.57774e-03   -6.57066e-03   -6.55207e-03   -6.52594e-03   -6.49625e-03   -6.46697e-03   -6.43644e-03   -6.40125e-03   -6.36277e-03   -6.32234e-03   -6.28134e-03   -6.23918e-03   -6.19479e-03   -6.14879e-03   -6.10179e-03   -6.05443e-03   -6.00644e-03   -5.95737e-03   -5.90755e-03   -5.85733e-03   -5.80703e-03   -5.75657e-03   -5.70571e-03   -5.65459e-03   -5.60333e-03   -5.55203e-03   -5.50069e-03   -5.44922e-03   -5.39765e-03   -5.34601e-03   -5.29432e-03   -5.24260e-03   -5.19082e-03   -5.13898e-03   -5.08704e-03   -5.03498e-03   -4.98289e-03   -4.93078e-03   -4.87852e-03   -4.82601e-03   -4.77311e-03   -4.71992e-03   -4.66650e-03   -4.61273e-03   -4.55847e-03   -4.50357e-03   -4.44814e-03   -4.39225e-03   -4.33574e-03   -4.27844e-03   -4.22016e-03   -4.16102e-03   -4.10109e-03   -4.04017e-03   -3.97806e-03   -3.91456e-03   -3.84974e-03   -3.78366e-03   -3.71612e-03   -3.64690e-03   -3.57579e-03   -3.50280e-03   -3.42795e-03   -3.35104e-03   -3.27190e-03   -3.19034e-03   -3.10630e-03   -3.01974e-03   -2.93043e-03   -2.83818e-03   -2.74278e-03   -2.64408e-03   -2.54194e-03   -2.43618e-03   -2.32659e-03   -2.21300e-03   -2.09505e-03   -1.97248e-03   -1.84522e-03   -1.71321e-03   -1.57637e-03   -1.43421e-03   -1.28627e-03   -1.13257e-03   -9.73125e-04   -8.07935e-04   -6.36219e-04   -4.57376e-04   -2.71697e-04   -7.94714e-05   1.19010e-04   3.25050e-04   5.39457e-04   7.61198e-04   9.89240e-04   1.22255e-03   1.46330e-03   1.71261e-03   1.96787e-03   2.22646e-03   2.48578e-03   2.75071e-03   3.02307e-03   3.29559e-03   3.56103e-03   3.81214e-03   4.07113e-03   4.34362e-03   4.59745e-03   4.80047e-03   4.92050e-03   4.98473e-03   5.03980e-03   5.08277e-03   5.11071e-03   5.12068e-03   5.00175e-03   4.67704e-03   4.19468e-03   3.60282e-03   2.94958e-03   2.08840e-03   8.78292e-04   -6.24215e-04   -2.36260e-03   -4.28034e-03   -6.57857e-03   -9.42532e-03   -1.27144e-02   -1.63398e-02   -2.01951e-02   -2.45410e-02   -2.95412e-02   -3.49446e-02   -4.05001e-02   -4.59565e-02   -5.16157e-02   -5.76475e-02   -6.36025e-02   -6.90313e-02   -7.34847e-02   -7.74451e-02   -8.13708e-02   -8.47761e-02   -8.71755e-02   -8.80832e-02   -8.79471e-02   -8.75694e-02   -8.69960e-02   -8.62728e-02   -8.54459e-02   -8.40569e-02   -8.18391e-02   -7.91258e-02   -7.62504e-02   -7.35462e-02   -7.09491e-02   -6.82339e-02   -6.54925e-02   -6.28166e-02   -6.02980e-02   -5.79075e-02   -5.55761e-02   -5.33354e-02   -5.12168e-02   -4.92522e-02   -4.74145e-02   -4.56652e-02   -4.40189e-02   -4.24898e-02   -4.10926e-02   -3.98017e-02   -3.85884e-02   -3.74617e-02   -3.64310e-02   -3.55054e-02   -3.46590e-02   -3.38677e-02   -3.31435e-02   -3.24983e-02   -3.19441e-02   -3.14482e-02   -3.09839e-02   -3.05722e-02   -3.02339e-02   -2.99900e-02   -2.98035e-02   -2.96330e-02   -2.94932e-02   -2.93986e-02   -2.93638e-02   -2.93986e-02   -2.94932e-02   -2.96330e-02   -2.98035e-02   -2.99900e-02   -3.02339e-02   -3.05722e-02   -3.09839e-02   -3.14482e-02   -3.19441e-02   -3.24983e-02   -3.31435e-02   -3.38677e-02   -3.46590e-02   -3.55054e-02   -3.64310e-02   -3.74617e-02   -3.85884e-02   -3.98017e-02   -4.10926e-02   -4.24898e-02   -4.40189e-02   -4.56652e-02   -4.74145e-02   -4.92522e-02   -5.12168e-02   -5.33354e-02   -5.55761e-02   -5.79075e-02   -6.02980e-02   -6.28166e-02   -6.54925e-02   -6.82339e-02   -7.09491e-02   -7.35462e-02   -7.62504e-02   -7.91258e-02   -8.18391e-02   -8.40569e-02   -8.54459e-02   -8.62728e-02   -8.69960e-02   -8.75694e-02   -8.79471e-02   -8.80832e-02   -8.71755e-02   -8.47761e-02   -8.13708e-02   -7.74451e-02   -7.34847e-02   -6.90313e-02   -6.36025e-02   -5.76475e-02   -5.16157e-02   -4.59565e-02   -4.05001e-02   -3.49446e-02   -2.95412e-02   -2.45410e-02   -2.01951e-02   -1.63398e-02   -1.27144e-02   -9.42532e-03   -6.57856e-03   -4.28033e-03   -2.36259e-03   -6.24210e-04   8.78295e-04   2.08840e-03   2.94958e-03   3.60282e-03   4.19468e-03   4.67704e-03   5.00175e-03   5.12068e-03   5.11071e-03   5.08277e-03   5.03979e-03   4.98471e-03   4.92049e-03   4.80052e-03   4.59764e-03   4.34397e-03   4.07163e-03   3.81271e-03   3.56157e-03   3.29600e-03   3.02332e-03   2.75081e-03   2.48578e-03   2.22643e-03   1.96783e-03   1.71259e-03   1.46329e-03   1.22255e-03   9.89240e-04   7.61198e-04   5.39457e-04   3.25050e-04   1.19010e-04   -7.94716e-05   -2.71697e-04   -4.57377e-04   -6.36220e-04   -8.07935e-04   -9.73123e-04   -1.13257e-03   -1.28627e-03   -1.43420e-03   -1.57636e-03   -1.71320e-03   -1.84521e-03   -1.97248e-03   -2.09505e-03   -2.21300e-03   -2.32659e-03   -2.43618e-03   -2.54195e-03   -2.64408e-03   -2.74278e-03   -2.83818e-03   -2.93043e-03   -3.01974e-03   -3.10630e-03   -3.19034e-03   -3.27190e-03   -3.35104e-03   -3.42795e-03   -3.50280e-03   -3.57579e-03   -3.64690e-03   -3.71612e-03   -3.78366e-03   -3.84974e-03   -3.91456e-03   -3.97806e-03   -4.04018e-03   -4.10110e-03   -4.16103e-03   -4.22016e-03   -4.27841e-03   -4.33567e-03   -4.39213e-03   -4.44798e-03   -4.50340e-03   -4.55832e-03   -4.61262e-03   -4.66644e-03   -4.71990e-03   -4.77312e-03   -4.82603e-03   -4.87854e-03   -4.93079e-03   -4.98289e-03   -5.03498e-03   -5.08703e-03   -5.13898e-03   -5.19082e-03   -5.24260e-03   -5.29432e-03   -5.34601e-03   -5.39765e-03   -5.44922e-03   -5.50069e-03   -5.55203e-03   -5.60333e-03   -5.65459e-03   -5.70571e-03   -5.75657e-03   -5.80703e-03   -5.85733e-03   -5.90755e-03   -5.95737e-03   -6.00644e-03   -6.05443e-03   -6.10179e-03   -6.14879e-03   -6.19479e-03   -6.23918e-03   -6.28134e-03   -6.32234e-03   -6.36276e-03   -6.40124e-03   -6.43643e-03   -6.46696e-03   -6.49624e-03   -6.52593e-03   -6.55207e-03   -6.57066e-03   -6.57774e-03   -6.57711e-03   -6.57528e-03   -6.57234e-03   -6.56837e-03   -6.56347e-03   -6.54780e-03   -6.51462e-03   -6.46864e-03   -6.41457e-03   -6.35714e-03   -6.29001e-03   -6.20578e-03   -6.10762e-03   -5.99866e-03   -5.88206e-03   -5.75200e-03   -5.60303e-03   -5.43882e-03   -5.26305e-03   -5.07941e-03   -4.88220e-03   -4.66698e-03   -4.43933e-03   -4.20482e-03   -3.96903e-03   -3.72652e-03   -3.47327e-03   -3.21700e-03   -2.96539e-03   -2.72614e-03   -2.49438e-03   -2.26450e-03   -2.04305e-03   -1.83662e-03   -1.65179e-03   -1.48402e-03   -1.32605e-03   -1.18038e-03   -1.04951e-03   -9.35912e-04   -8.36099e-04   -7.45056e-04   -6.63018e-04   -5.90215e-04   -5.26882e-04   -4.70981e-04   -4.20292e-04   -3.74777e-04   -3.34397e-04   -2.99111e-04   -2.67786e-04   -2.39325e-04   -2.13743e-04   -1.91057e-04   -1.71282e-04   -1.53522e-04   -1.37123e-04   -1.22472e-04   -1.09953e-04   -9.99500e-05   
+1.50000e-03   -7.36233e-05   -8.10021e-05   -9.00452e-05   -1.00510e-04   -1.12155e-04   -1.24737e-04   -1.38681e-04   -1.54553e-04   -1.72320e-04   -1.91953e-04   -2.13419e-04   -2.37347e-04   -2.64414e-04   -2.94662e-04   -3.28132e-04   -3.64868e-04   -4.06038e-04   -4.52795e-04   -5.05154e-04   -5.63131e-04   -6.26743e-04   -6.98799e-04   -7.81351e-04   -8.73281e-04   -9.73470e-04   -1.08080e-03   -1.19991e-03   -1.33373e-03   -1.47859e-03   -1.63080e-03   -1.78669e-03   -1.95046e-03   -2.12530e-03   -2.30603e-03   -2.48746e-03   -2.66441e-03   -2.83983e-03   -3.01719e-03   -3.19208e-03   -3.36008e-03   -3.51678e-03   -3.66513e-03   -3.80899e-03   -3.94530e-03   -4.07099e-03   -4.18301e-03   -4.28502e-03   -4.38115e-03   -4.46902e-03   -4.54627e-03   -4.61053e-03   -4.66648e-03   -4.71855e-03   -4.76400e-03   -4.80010e-03   -4.82412e-03   -4.84058e-03   -4.85516e-03   -4.86684e-03   -4.87460e-03   -4.87741e-03   -4.87415e-03   -4.86547e-03   -4.85297e-03   -4.83829e-03   -4.82304e-03   -4.80528e-03   -4.78293e-03   -4.75740e-03   -4.73009e-03   -4.70242e-03   -4.67379e-03   -4.64305e-03   -4.61080e-03   -4.57763e-03   -4.54412e-03   -4.51004e-03   -4.47496e-03   -4.43915e-03   -4.40291e-03   -4.36652e-03   -4.32989e-03   -4.29283e-03   -4.25545e-03   -4.21788e-03   -4.18025e-03   -4.14252e-03   -4.10461e-03   -4.06657e-03   -4.02843e-03   -3.99026e-03   -3.95207e-03   -3.91382e-03   -3.87549e-03   -3.83705e-03   -3.79847e-03   -3.75980e-03   -3.72106e-03   -3.68217e-03   -3.64307e-03   -3.60368e-03   -3.56407e-03   -3.52429e-03   -3.48423e-03   -3.44378e-03   -3.40285e-03   -3.36151e-03   -3.31981e-03   -3.27763e-03   -3.23484e-03   -3.19131e-03   -3.14711e-03   -3.10229e-03   -3.05672e-03   -3.01025e-03   -2.96272e-03   -2.91418e-03   -2.86468e-03   -2.81407e-03   -2.76223e-03   -2.70901e-03   -2.65446e-03   -2.59858e-03   -2.54119e-03   -2.48209e-03   -2.42110e-03   -2.35816e-03   -2.29324e-03   -2.22623e-03   -2.15699e-03   -2.08541e-03   -2.01135e-03   -1.93470e-03   -1.85532e-03   -1.77310e-03   -1.68792e-03   -1.59952e-03   -1.50769e-03   -1.41239e-03   -1.31358e-03   -1.21119e-03   -1.10487e-03   -9.94282e-04   -8.79441e-04   -7.60355e-04   -6.37035e-04   -5.08834e-04   -3.75313e-04   -2.36796e-04   -9.36085e-05   5.39264e-05   2.06838e-04   3.65754e-04   5.29745e-04   6.97881e-04   8.69233e-04   1.04554e-03   1.22767e-03   1.41336e-03   1.60036e-03   1.78642e-03   1.97600e-03   2.17061e-03   2.36356e-03   2.54816e-03   2.71770e-03   2.89272e-03   3.07899e-03   3.24770e-03   3.37005e-03   3.41724e-03   3.41348e-03   3.40242e-03   3.38444e-03   3.35989e-03   3.32913e-03   3.19527e-03   2.88854e-03   2.44997e-03   1.92057e-03   1.34138e-03   6.12697e-04   -3.65516e-04   -1.55275e-03   -2.90850e-03   -4.39224e-03   -6.13307e-03   -8.23710e-03   -1.06294e-02   -1.32350e-02   -1.59790e-02   -1.90123e-02   -2.24330e-02   -2.60865e-02   -2.98186e-02   -3.34747e-02   -3.72224e-02   -4.11650e-02   -4.50523e-02   -4.86339e-02   -5.16593e-02   -5.44570e-02   -5.72761e-02   -5.97471e-02   -6.15007e-02   -6.21673e-02   -6.21556e-02   -6.21212e-02   -6.20650e-02   -6.19880e-02   -6.18912e-02   -6.13331e-02   -6.00577e-02   -5.83447e-02   -5.64735e-02   -5.47238e-02   -5.30374e-02   -5.12198e-02   -4.93455e-02   -4.74892e-02   -4.57258e-02   -4.40339e-02   -4.23613e-02   -4.07363e-02   -3.91870e-02   -3.77416e-02   -3.63815e-02   -3.50778e-02   -3.38435e-02   -3.26917e-02   -3.16355e-02   -3.06565e-02   -2.97330e-02   -2.88726e-02   -2.80833e-02   -2.73727e-02   -2.67214e-02   -2.61110e-02   -2.55514e-02   -2.50521e-02   -2.46229e-02   -2.42384e-02   -2.38779e-02   -2.35579e-02   -2.32953e-02   -2.31064e-02   -2.29625e-02   -2.28312e-02   -2.27235e-02   -2.26507e-02   -2.26240e-02   -2.26507e-02   -2.27235e-02   -2.28312e-02   -2.29625e-02   -2.31064e-02   -2.32953e-02   -2.35579e-02   -2.38779e-02   -2.42384e-02   -2.46229e-02   -2.50521e-02   -2.55514e-02   -2.61110e-02   -2.67214e-02   -2.73727e-02   -2.80833e-02   -2.88726e-02   -2.97330e-02   -3.06565e-02   -3.16355e-02   -3.26917e-02   -3.38435e-02   -3.50778e-02   -3.63815e-02   -3.77416e-02   -3.91870e-02   -4.07363e-02   -4.23613e-02   -4.40339e-02   -4.57258e-02   -4.74893e-02   -4.93455e-02   -5.12198e-02   -5.30374e-02   -5.47238e-02   -5.64735e-02   -5.83446e-02   -6.00576e-02   -6.13329e-02   -6.18911e-02   -6.19879e-02   -6.20649e-02   -6.21211e-02   -6.21556e-02   -6.21673e-02   -6.15007e-02   -5.97471e-02   -5.72761e-02   -5.44570e-02   -5.16593e-02   -4.86339e-02   -4.50523e-02   -4.11650e-02   -3.72224e-02   -3.34747e-02   -2.98186e-02   -2.60865e-02   -2.24330e-02   -1.90123e-02   -1.59790e-02   -1.32350e-02   -1.06294e-02   -8.23710e-03   -6.13307e-03   -4.39224e-03   -2.90850e-03   -1.55275e-03   -3.65516e-04   6.12697e-04   1.34138e-03   1.92057e-03   2.44997e-03   2.88854e-03   3.19527e-03   3.32913e-03   3.35989e-03   3.38444e-03   3.40242e-03   3.41348e-03   3.41724e-03   3.37005e-03   3.24770e-03   3.07899e-03   2.89272e-03   2.71770e-03   2.54816e-03   2.36356e-03   2.17061e-03   1.97600e-03   1.78642e-03   1.60036e-03   1.41336e-03   1.22767e-03   1.04554e-03   8.69233e-04   6.97872e-04   5.29717e-04   3.65713e-04   2.06801e-04   5.39242e-05   -9.35230e-05   -2.36583e-04   -3.74968e-04   -5.08390e-04   -6.36562e-04   -7.59936e-04   -8.79128e-04   -9.94096e-04   -1.10480e-03   -1.21119e-03   -1.31360e-03   -1.41242e-03   -1.50771e-03   -1.59953e-03   -1.68792e-03   -1.77310e-03   -1.85532e-03   -1.93470e-03   -2.01135e-03   -2.08541e-03   -2.15699e-03   -2.22623e-03   -2.29324e-03   -2.35816e-03   -2.42110e-03   -2.48209e-03   -2.54119e-03   -2.59858e-03   -2.65446e-03   -2.70901e-03   -2.76223e-03   -2.81407e-03   -2.86468e-03   -2.91418e-03   -2.96272e-03   -3.01025e-03   -3.05672e-03   -3.10229e-03   -3.14711e-03   -3.19131e-03   -3.23484e-03   -3.27763e-03   -3.31981e-03   -3.36151e-03   -3.40285e-03   -3.44378e-03   -3.48423e-03   -3.52429e-03   -3.56407e-03   -3.60368e-03   -3.64307e-03   -3.68217e-03   -3.72106e-03   -3.75980e-03   -3.79847e-03   -3.83705e-03   -3.87549e-03   -3.91382e-03   -3.95207e-03   -3.99026e-03   -4.02843e-03   -4.06657e-03   -4.10461e-03   -4.14252e-03   -4.18025e-03   -4.21788e-03   -4.25545e-03   -4.29283e-03   -4.32989e-03   -4.36652e-03   -4.40291e-03   -4.43915e-03   -4.47496e-03   -4.51004e-03   -4.54412e-03   -4.57763e-03   -4.61080e-03   -4.64305e-03   -4.67379e-03   -4.70242e-03   -4.73009e-03   -4.75740e-03   -4.78294e-03   -4.80529e-03   -4.82304e-03   -4.83828e-03   -4.85295e-03   -4.86544e-03   -4.87412e-03   -4.87737e-03   -4.87456e-03   -4.86681e-03   -4.85514e-03   -4.84057e-03   -4.82412e-03   -4.80011e-03   -4.76400e-03   -4.71853e-03   -4.66645e-03   -4.61050e-03   -4.54624e-03   -4.46900e-03   -4.38113e-03   -4.28502e-03   -4.18301e-03   -4.07099e-03   -3.94530e-03   -3.80899e-03   -3.66513e-03   -3.51678e-03   -3.36008e-03   -3.19208e-03   -3.01719e-03   -2.83983e-03   -2.66441e-03   -2.48746e-03   -2.30603e-03   -2.12530e-03   -1.95046e-03   -1.78669e-03   -1.63080e-03   -1.47859e-03   -1.33373e-03   -1.19991e-03   -1.08080e-03   -9.73470e-04   -8.73281e-04   -7.81351e-04   -6.98799e-04   -6.26743e-04   -5.63131e-04   -5.05153e-04   -4.52794e-04   -4.06037e-04   -3.64867e-04   -3.28131e-04   -2.94661e-04   -2.64413e-04   -2.37347e-04   -2.13419e-04   -1.91953e-04   -1.72320e-04   -1.54553e-04   -1.38681e-04   -1.24737e-04   -1.12155e-04   -1.00510e-04   -9.00455e-05   -8.10025e-05   -7.36239e-05   
+1.00000e-03   -4.83584e-05   -5.31978e-05   -5.90449e-05   -6.57581e-05   -7.31963e-05   -8.12182e-05   -9.00768e-05   -1.00102e-04   -1.11267e-04   -1.23546e-04   -1.36912e-04   -1.51705e-04   -1.68305e-04   -1.86753e-04   -2.07085e-04   -2.29339e-04   -2.54120e-04   -2.82057e-04   -3.13226e-04   -3.47705e-04   -3.85568e-04   -4.28368e-04   -4.77267e-04   -5.31758e-04   -5.91332e-04   -6.55481e-04   -7.26992e-04   -8.07651e-04   -8.95451e-04   -9.88383e-04   -1.08444e-03   -1.18640e-03   -1.29628e-03   -1.41090e-03   -1.52708e-03   -1.64167e-03   -1.75666e-03   -1.87416e-03   -1.99119e-03   -2.10476e-03   -2.21189e-03   -2.31442e-03   -2.41473e-03   -2.51066e-03   -2.60002e-03   -2.68064e-03   -2.75478e-03   -2.82509e-03   -2.88994e-03   -2.94771e-03   -2.99679e-03   -3.04005e-03   -3.08032e-03   -3.11595e-03   -3.14527e-03   -3.16662e-03   -3.18319e-03   -3.19839e-03   -3.21089e-03   -3.21936e-03   -3.22248e-03   -3.22125e-03   -3.21790e-03   -3.21293e-03   -3.20686e-03   -3.20019e-03   -3.19107e-03   -3.17813e-03   -3.16261e-03   -3.14573e-03   -3.12873e-03   -3.11112e-03   -3.09189e-03   -3.07150e-03   -3.05041e-03   -3.02907e-03   -3.00731e-03   -2.98478e-03   -2.96168e-03   -2.93822e-03   -2.91460e-03   -2.89073e-03   -2.86646e-03   -2.84192e-03   -2.81723e-03   -2.79251e-03   -2.76775e-03   -2.74285e-03   -2.71786e-03   -2.69278e-03   -2.66764e-03   -2.64245e-03   -2.61719e-03   -2.59186e-03   -2.56643e-03   -2.54089e-03   -2.51527e-03   -2.48956e-03   -2.46375e-03   -2.43779e-03   -2.41167e-03   -2.38543e-03   -2.35909e-03   -2.33257e-03   -2.30578e-03   -2.27864e-03   -2.25118e-03   -2.22347e-03   -2.19541e-03   -2.16693e-03   -2.13795e-03   -2.10852e-03   -2.07866e-03   -2.04829e-03   -2.01732e-03   -1.98567e-03   -1.95336e-03   -1.92043e-03   -1.88676e-03   -1.85227e-03   -1.81686e-03   -1.78056e-03   -1.74339e-03   -1.70519e-03   -1.66583e-03   -1.62518e-03   -1.58316e-03   -1.53975e-03   -1.49492e-03   -1.44862e-03   -1.40079e-03   -1.35136e-03   -1.30023e-03   -1.24731e-03   -1.19252e-03   -1.13576e-03   -1.07689e-03   -1.01577e-03   -9.52350e-04   -8.86583e-04   -8.18412e-04   -7.47547e-04   -6.73778e-04   -5.97178e-04   -5.17820e-04   -4.35775e-04   -3.50627e-04   -2.62060e-04   -1.70295e-04   -7.55566e-05   2.19339e-05   1.22879e-04   2.27676e-04   3.35646e-04   4.46109e-04   5.58383e-04   6.73724e-04   7.92710e-04   9.13650e-04   1.03485e-03   1.15463e-03   1.27639e-03   1.40126e-03   1.52414e-03   1.63989e-03   1.74341e-03   1.84657e-03   1.95416e-03   2.05048e-03   2.11980e-03   2.14640e-03   2.13838e-03   2.11546e-03   2.07935e-03   2.03178e-03   1.97445e-03   1.84968e-03   1.61478e-03   1.29391e-03   9.11271e-04   4.91034e-04   -2.88361e-05   -7.08881e-04   -1.52267e-03   -2.44379e-03   -3.44579e-03   -4.60493e-03   -5.98368e-03   -7.53490e-03   -9.21148e-03   -1.09663e-02   -1.28833e-02   -1.50183e-02   -1.72821e-02   -1.95855e-02   -2.18392e-02   -2.41338e-02   -2.65288e-02   -2.88887e-02   -3.10778e-02   -3.29605e-02   -3.47158e-02   -3.64763e-02   -3.80368e-02   -3.91920e-02   -3.97367e-02   -3.98936e-02   -4.00204e-02   -4.01144e-02   -4.01728e-02   -4.01929e-02   -3.99249e-02   -3.92285e-02   -3.82652e-02   -3.71964e-02   -3.61838e-02   -3.51823e-02   -3.40745e-02   -3.29129e-02   -3.17499e-02   -3.06380e-02   -2.95629e-02   -2.84890e-02   -2.74370e-02   -2.64276e-02   -2.54816e-02   -2.45871e-02   -2.37251e-02   -2.29052e-02   -2.21373e-02   -2.14311e-02   -2.07747e-02   -2.01535e-02   -1.95735e-02   -1.90403e-02   -1.85599e-02   -1.81195e-02   -1.77065e-02   -1.73274e-02   -1.69885e-02   -1.66961e-02   -1.64329e-02   -1.61854e-02   -1.59655e-02   -1.57851e-02   -1.56562e-02   -1.55589e-02   -1.54702e-02   -1.53976e-02   -1.53486e-02   -1.53306e-02   -1.53486e-02   -1.53976e-02   -1.54702e-02   -1.55589e-02   -1.56562e-02   -1.57851e-02   -1.59655e-02   -1.61854e-02   -1.64329e-02   -1.66961e-02   -1.69885e-02   -1.73274e-02   -1.77065e-02   -1.81195e-02   -1.85599e-02   -1.90403e-02   -1.95735e-02   -2.01535e-02   -2.07747e-02   -2.14311e-02   -2.21373e-02   -2.29052e-02   -2.37251e-02   -2.45871e-02   -2.54816e-02   -2.64276e-02   -2.74370e-02   -2.84890e-02   -2.95629e-02   -3.06380e-02   -3.17499e-02   -3.29129e-02   -3.40745e-02   -3.51823e-02   -3.61838e-02   -3.71964e-02   -3.82652e-02   -3.92285e-02   -3.99249e-02   -4.01929e-02   -4.01728e-02   -4.01144e-02   -4.00204e-02   -3.98936e-02   -3.97367e-02   -3.91920e-02   -3.80368e-02   -3.64763e-02   -3.47158e-02   -3.29605e-02   -3.10778e-02   -2.88887e-02   -2.65288e-02   -2.41338e-02   -2.18392e-02   -1.95855e-02   -1.72821e-02   -1.50183e-02   -1.28833e-02   -1.09663e-02   -9.21148e-03   -7.53490e-03   -5.98368e-03   -4.60494e-03   -3.44580e-03   -2.44379e-03   -1.52268e-03   -7.08884e-04   -2.88371e-05   4.91034e-04   9.11271e-04   1.29391e-03   1.61478e-03   1.84968e-03   1.97445e-03   2.03178e-03   2.07935e-03   2.11546e-03   2.13838e-03   2.14640e-03   2.11980e-03   2.05048e-03   1.95416e-03   1.84657e-03   1.74341e-03   1.63989e-03   1.52414e-03   1.40126e-03   1.27639e-03   1.15463e-03   1.03485e-03   9.13650e-04   7.92710e-04   6.73724e-04   5.58383e-04   4.46109e-04   3.35646e-04   2.27676e-04   1.22879e-04   2.19339e-05   -7.55566e-05   -1.70295e-04   -2.62060e-04   -3.50627e-04   -4.35775e-04   -5.17820e-04   -5.97178e-04   -6.73778e-04   -7.47547e-04   -8.18412e-04   -8.86583e-04   -9.52350e-04   -1.01577e-03   -1.07689e-03   -1.13576e-03   -1.19252e-03   -1.24731e-03   -1.30023e-03   -1.35136e-03   -1.40079e-03   -1.44862e-03   -1.49492e-03   -1.53975e-03   -1.58316e-03   -1.62518e-03   -1.66583e-03   -1.70519e-03   -1.74339e-03   -1.78056e-03   -1.81686e-03   -1.85227e-03   -1.88676e-03   -1.92043e-03   -1.95336e-03   -1.98567e-03   -2.01732e-03   -2.04829e-03   -2.07866e-03   -2.10852e-03   -2.13795e-03   -2.16693e-03   -2.19541e-03   -2.22347e-03   -2.25118e-03   -2.27864e-03   -2.30579e-03   -2.33258e-03   -2.35911e-03   -2.38544e-03   -2.41167e-03   -2.43777e-03   -2.46368e-03   -2.48945e-03   -2.51512e-03   -2.54073e-03   -2.56628e-03   -2.59175e-03   -2.61713e-03   -2.64242e-03   -2.66764e-03   -2.69279e-03   -2.71787e-03   -2.74286e-03   -2.76775e-03   -2.79251e-03   -2.81723e-03   -2.84193e-03   -2.86647e-03   -2.89074e-03   -2.91461e-03   -2.93823e-03   -2.96169e-03   -2.98478e-03   -3.00731e-03   -3.02907e-03   -3.05041e-03   -3.07150e-03   -3.09189e-03   -3.11112e-03   -3.12873e-03   -3.14573e-03   -3.16261e-03   -3.17813e-03   -3.19107e-03   -3.20019e-03   -3.20686e-03   -3.21293e-03   -3.21790e-03   -3.22125e-03   -3.22248e-03   -3.21936e-03   -3.21089e-03   -3.19839e-03   -3.18319e-03   -3.16662e-03   -3.14527e-03   -3.11595e-03   -3.08032e-03   -3.04005e-03   -2.99679e-03   -2.94771e-03   -2.88994e-03   -2.82509e-03   -2.75478e-03   -2.68064e-03   -2.60002e-03   -2.51066e-03   -2.41473e-03   -2.31442e-03   -2.21189e-03   -2.10476e-03   -1.99119e-03   -1.87416e-03   -1.75666e-03   -1.64167e-03   -1.52708e-03   -1.41090e-03   -1.29628e-03   -1.18640e-03   -1.08444e-03   -9.88383e-04   -8.95451e-04   -8.07651e-04   -7.26992e-04   -6.55481e-04   -5.91332e-04   -5.31758e-04   -4.77268e-04   -4.28368e-04   -3.85568e-04   -3.47704e-04   -3.13226e-04   -2.82056e-04   -2.54119e-04   -2.29338e-04   -2.07084e-04   -1.86752e-04   -1.68305e-04   -1.51704e-04   -1.36912e-04   -1.23546e-04   -1.11267e-04   -1.00102e-04   -9.00767e-05   -8.12181e-05   -7.31962e-05   -6.57580e-05   -5.90447e-05   -5.31977e-05   -4.83583e-05   
+5.00000e-04   -2.39452e-05   -2.63368e-05   -2.92027e-05   -3.24780e-05   -3.60977e-05   -3.99967e-05   -4.42929e-05   -4.91380e-05   -5.45177e-05   -6.04178e-05   -6.68239e-05   -7.38842e-05   -8.17711e-05   -9.05072e-05   -1.00115e-04   -1.10617e-04   -1.22272e-04   -1.35360e-04   -1.49934e-04   -1.66047e-04   -1.83755e-04   -2.03755e-04   -2.26576e-04   -2.52019e-04   -2.79884e-04   -3.09973e-04   -3.43597e-04   -3.81607e-04   -4.23110e-04   -4.67210e-04   -5.13016e-04   -5.61905e-04   -6.14852e-04   -6.70360e-04   -7.26930e-04   -7.83064e-04   -8.39775e-04   -8.98078e-04   -9.56474e-04   -1.01347e-03   -1.06756e-03   -1.11965e-03   -1.17088e-03   -1.22013e-03   -1.26627e-03   -1.30817e-03   -1.34693e-03   -1.38382e-03   -1.41803e-03   -1.44870e-03   -1.47503e-03   -1.49838e-03   -1.52014e-03   -1.53951e-03   -1.55572e-03   -1.56794e-03   -1.57787e-03   -1.58711e-03   -1.59480e-03   -1.60006e-03   -1.60201e-03   -1.60165e-03   -1.60066e-03   -1.59915e-03   -1.59724e-03   -1.59505e-03   -1.59141e-03   -1.58557e-03   -1.57826e-03   -1.57021e-03   -1.56216e-03   -1.55382e-03   -1.54459e-03   -1.53473e-03   -1.52449e-03   -1.51412e-03   -1.50354e-03   -1.49254e-03   -1.48124e-03   -1.46973e-03   -1.45813e-03   -1.44637e-03   -1.43439e-03   -1.42225e-03   -1.41001e-03   -1.39776e-03   -1.38547e-03   -1.37310e-03   -1.36066e-03   -1.34818e-03   -1.33568e-03   -1.32316e-03   -1.31060e-03   -1.29800e-03   -1.28535e-03   -1.27265e-03   -1.25990e-03   -1.24710e-03   -1.23425e-03   -1.22132e-03   -1.20831e-03   -1.19524e-03   -1.18213e-03   -1.16892e-03   -1.15556e-03   -1.14201e-03   -1.12826e-03   -1.11436e-03   -1.10027e-03   -1.08598e-03   -1.07147e-03   -1.05678e-03   -1.04191e-03   -1.02679e-03   -1.01138e-03   -9.95602e-04   -9.79475e-04   -9.63021e-04   -9.46193e-04   -9.28948e-04   -9.11239e-04   -8.93080e-04   -8.74472e-04   -8.55350e-04   -8.35648e-04   -8.15303e-04   -7.94267e-04   -7.72533e-04   -7.50094e-04   -7.26945e-04   -7.03078e-04   -6.78492e-04   -6.53128e-04   -6.26899e-04   -5.99717e-04   -5.71493e-04   -5.42127e-04   -5.11577e-04   -4.79841e-04   -4.46918e-04   -4.12805e-04   -3.77343e-04   -3.40410e-04   -3.02063e-04   -2.62357e-04   -2.21347e-04   -1.78829e-04   -1.34637e-04   -8.88856e-05   -4.16905e-05   6.83320e-06   5.70415e-05   1.09128e-04   1.62736e-04   2.17506e-04   2.73080e-04   3.30111e-04   3.88892e-04   4.48524e-04   5.08108e-04   5.66746e-04   6.26331e-04   6.87467e-04   7.47322e-04   8.03062e-04   8.51855e-04   8.99141e-04   9.47726e-04   9.90828e-04   1.02166e-03   1.03345e-03   1.02759e-03   1.01103e-03   9.85325e-04   9.52017e-04   9.12653e-04   8.40261e-04   7.14321e-04   5.46056e-04   3.46690e-04   1.27448e-04   -1.41549e-04   -4.88895e-04   -9.01439e-04   -1.36603e-03   -1.86952e-03   -2.44731e-03   -3.12844e-03   -3.89020e-03   -4.70988e-03   -5.56479e-03   -6.66048e-03   -8.02243e-03   -9.35780e-03   -1.03738e-02   -1.07775e-02   4.52584e-03   4.10184e-02   8.45741e-02   1.21067e-01   1.36370e-01   1.23038e-01   9.01451e-02   4.83423e-02   8.28247e-03   -1.93822e-02   -3.73872e-02   -5.44126e-02   -6.87225e-02   -7.85813e-02   -8.22533e-02   -7.55694e-02   -5.96310e-02   -4.06078e-02   -2.46694e-02   -1.79855e-02   -2.33274e-02   -3.60658e-02   -5.12696e-02   -6.40080e-02   -6.93499e-02   -6.34713e-02   -4.94530e-02   -3.27216e-02   -1.87033e-02   -1.28247e-02   -1.64268e-02   -2.50164e-02   -3.52684e-02   -4.38580e-02   -4.74601e-02   -4.34979e-02   -3.40496e-02   -2.27726e-02   -1.33243e-02   -9.36208e-03   -1.14053e-02   -1.62778e-02   -2.20932e-02   -2.69656e-02   -2.90089e-02   -2.68137e-02   -2.15789e-02   -1.53309e-02   -1.00961e-02   -7.90084e-03   -9.25119e-03   -1.24713e-02   -1.63146e-02   -1.95346e-02   -2.08850e-02   -1.95346e-02   -1.63146e-02   -1.24713e-02   -9.25119e-03   -7.90084e-03   -1.00961e-02   -1.53309e-02   -2.15789e-02   -2.68137e-02   -2.90089e-02   -2.69656e-02   -2.20932e-02   -1.62778e-02   -1.14053e-02   -9.36208e-03   -1.33243e-02   -2.27726e-02   -3.40496e-02   -4.34979e-02   -4.74601e-02   -4.38580e-02   -3.52684e-02   -2.50164e-02   -1.64268e-02   -1.28247e-02   -1.87033e-02   -3.27216e-02   -4.94530e-02   -6.34713e-02   -6.93499e-02   -6.40080e-02   -5.12696e-02   -3.60658e-02   -2.33274e-02   -1.79855e-02   -2.46694e-02   -4.06078e-02   -5.96310e-02   -7.55694e-02   -8.22533e-02   -7.85813e-02   -6.87225e-02   -5.44126e-02   -3.73872e-02   -1.93822e-02   8.28247e-03   4.83423e-02   9.01451e-02   1.23038e-01   1.36370e-01   1.21067e-01   8.45741e-02   4.10184e-02   4.52584e-03   -1.07775e-02   -1.03738e-02   -9.35780e-03   -8.02243e-03   -6.66048e-03   -5.56479e-03   -4.70988e-03   -3.89020e-03   -3.12844e-03   -2.44731e-03   -1.86952e-03   -1.36603e-03   -9.01440e-04   -4.88896e-04   -1.41550e-04   1.27447e-04   3.46689e-04   5.46055e-04   7.14320e-04   8.40260e-04   9.12652e-04   9.52016e-04   9.85324e-04   1.01103e-03   1.02759e-03   1.03345e-03   1.02166e-03   9.90828e-04   9.47726e-04   8.99141e-04   8.51855e-04   8.03062e-04   7.47322e-04   6.87467e-04   6.26331e-04   5.66746e-04   5.08109e-04   4.48525e-04   3.88893e-04   3.30112e-04   2.73081e-04   2.17507e-04   1.62737e-04   1.09129e-04   5.70418e-05   6.83334e-06   -4.16904e-05   -8.88855e-05   -1.34637e-04   -1.78829e-04   -2.21347e-04   -2.62357e-04   -3.02063e-04   -3.40410e-04   -3.77343e-04   -4.12805e-04   -4.46918e-04   -4.79841e-04   -5.11577e-04   -5.42127e-04   -5.71493e-04   -5.99717e-04   -6.26899e-04   -6.53128e-04   -6.78492e-04   -7.03078e-04   -7.26945e-04   -7.50094e-04   -7.72533e-04   -7.94267e-04   -8.15303e-04   -8.35648e-04   -8.55350e-04   -8.74472e-04   -8.93080e-04   -9.11239e-04   -9.28948e-04   -9.46193e-04   -9.63021e-04   -9.79475e-04   -9.95602e-04   -1.01138e-03   -1.02679e-03   -1.04191e-03   -1.05678e-03   -1.07147e-03   -1.08598e-03   -1.10027e-03   -1.11436e-03   -1.12826e-03   -1.14201e-03   -1.15556e-03   -1.16892e-03   -1.18213e-03   -1.19524e-03   -1.20831e-03   -1.22132e-03   -1.23425e-03   -1.24710e-03   -1.25990e-03   -1.27265e-03   -1.28535e-03   -1.29800e-03   -1.31060e-03   -1.32316e-03   -1.33568e-03   -1.34818e-03   -1.36066e-03   -1.37310e-03   -1.38547e-03   -1.39776e-03   -1.41001e-03   -1.42225e-03   -1.43439e-03   -1.44637e-03   -1.45813e-03   -1.46973e-03   -1.48124e-03   -1.49254e-03   -1.50354e-03   -1.51412e-03   -1.52449e-03   -1.53473e-03   -1.54459e-03   -1.55382e-03   -1.56216e-03   -1.57021e-03   -1.57825e-03   -1.58556e-03   -1.59140e-03   -1.59505e-03   -1.59726e-03   -1.59918e-03   -1.60070e-03   -1.60170e-03   -1.60206e-03   -1.60011e-03   -1.59484e-03   -1.58714e-03   -1.57788e-03   -1.56794e-03   -1.55571e-03   -1.53951e-03   -1.52013e-03   -1.49837e-03   -1.47503e-03   -1.44870e-03   -1.41803e-03   -1.38382e-03   -1.34693e-03   -1.30817e-03   -1.26627e-03   -1.22013e-03   -1.17088e-03   -1.11965e-03   -1.06756e-03   -1.01347e-03   -9.56477e-04   -8.98082e-04   -8.39782e-04   -7.83071e-04   -7.26936e-04   -6.70365e-04   -6.14855e-04   -5.61906e-04   -5.13016e-04   -4.67210e-04   -4.23109e-04   -3.81607e-04   -3.43596e-04   -3.09972e-04   -2.79883e-04   -2.52018e-04   -2.26575e-04   -2.03753e-04   -1.83754e-04   -1.66047e-04   -1.49933e-04   -1.35359e-04   -1.22272e-04   -1.10617e-04   -1.00115e-04   -9.05072e-05   -8.17711e-05   -7.38842e-05   -6.68239e-05   -6.04178e-05   -5.45178e-05   -4.91381e-05   -4.42930e-05   -3.99968e-05   -3.60978e-05   -3.24781e-05   -2.92028e-05   -2.63369e-05   -2.39453e-05   
+0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   0.00000e+00   
+-5.00000e-04   2.39452e-05   2.63368e-05   2.92027e-05   3.24780e-05   3.60977e-05   3.99967e-05   4.42929e-05   4.91380e-05   5.45177e-05   6.04178e-05   6.68239e-05   7.38842e-05   8.17711e-05   9.05072e-05   1.00115e-04   1.10617e-04   1.22272e-04   1.35360e-04   1.49934e-04   1.66047e-04   1.83755e-04   2.03754e-04   2.26575e-04   2.52018e-04   2.79884e-04   3.09972e-04   3.43596e-04   3.81607e-04   4.23109e-04   4.67210e-04   5.13016e-04   5.61905e-04   6.14852e-04   6.70360e-04   7.26930e-04   7.83064e-04   8.39775e-04   8.98078e-04   9.56474e-04   1.01347e-03   1.06756e-03   1.11965e-03   1.17088e-03   1.22013e-03   1.26627e-03   1.30817e-03   1.34693e-03   1.38382e-03   1.41803e-03   1.44870e-03   1.47503e-03   1.49838e-03   1.52014e-03   1.53951e-03   1.55572e-03   1.56794e-03   1.57787e-03   1.58711e-03   1.59480e-03   1.60006e-03   1.60201e-03   1.60165e-03   1.60066e-03   1.59915e-03   1.59724e-03   1.59505e-03   1.59141e-03   1.58557e-03   1.57826e-03   1.57021e-03   1.56216e-03   1.55382e-03   1.54459e-03   1.53473e-03   1.52449e-03   1.51412e-03   1.50354e-03   1.49254e-03   1.48124e-03   1.46973e-03   1.45813e-03   1.44637e-03   1.43439e-03   1.42225e-03   1.41001e-03   1.39776e-03   1.38547e-03   1.37310e-03   1.36066e-03   1.34818e-03   1.33568e-03   1.32316e-03   1.31060e-03   1.29800e-03   1.28535e-03   1.27265e-03   1.25990e-03   1.24710e-03   1.23425e-03   1.22132e-03   1.20831e-03   1.19524e-03   1.18213e-03   1.16892e-03   1.15556e-03   1.14201e-03   1.12826e-03   1.11436e-03   1.10027e-03   1.08598e-03   1.07147e-03   1.05678e-03   1.04191e-03   1.02679e-03   1.01138e-03   9.95602e-04   9.79475e-04   9.63021e-04   9.46193e-04   9.28948e-04   9.11239e-04   8.93080e-04   8.74472e-04   8.55350e-04   8.35648e-04   8.15303e-04   7.94267e-04   7.72533e-04   7.50094e-04   7.26945e-04   7.03078e-04   6.78492e-04   6.53128e-04   6.26899e-04   5.99717e-04   5.71493e-04   5.42127e-04   5.11577e-04   4.79841e-04   4.46918e-04   4.12805e-04   3.77343e-04   3.40410e-04   3.02063e-04   2.62357e-04   2.21347e-04   1.78829e-04   1.34637e-04   8.88853e-05   4.16901e-05   -6.83361e-06   -5.70419e-05   -1.09129e-04   -1.62736e-04   -2.17506e-04   -2.73080e-04   -3.30111e-04   -3.88892e-04   -4.48524e-04   -5.08108e-04   -5.66746e-04   -6.26331e-04   -6.87467e-04   -7.47321e-04   -8.03061e-04   -8.51854e-04   -8.99140e-04   -9.47725e-04   -9.90828e-04   -1.02166e-03   -1.03345e-03   -1.02759e-03   -1.01103e-03   -9.85325e-04   -9.52017e-04   -9.12653e-04   -8.40261e-04   -7.14320e-04   -5.46055e-04   -3.46690e-04   -1.27447e-04   1.41550e-04   4.88896e-04   9.01440e-04   1.36603e-03   1.86952e-03   2.44731e-03   3.12844e-03   3.89020e-03   4.70988e-03   5.56479e-03   6.66048e-03   8.02243e-03   9.35780e-03   1.03738e-02   1.07775e-02   -4.52584e-03   -4.10184e-02   -8.45741e-02   -1.21067e-01   -1.36370e-01   -1.23038e-01   -9.01451e-02   -4.83423e-02   -8.28247e-03   1.93822e-02   3.73872e-02   5.44126e-02   6.87225e-02   7.85813e-02   8.22533e-02   7.55694e-02   5.96310e-02   4.06078e-02   2.46694e-02   1.79855e-02   2.33274e-02   3.60658e-02   5.12696e-02   6.40080e-02   6.93499e-02   6.34713e-02   4.94530e-02   3.27216e-02   1.87033e-02   1.28247e-02   1.64268e-02   2.50164e-02   3.52684e-02   4.38580e-02   4.74601e-02   4.34979e-02   3.40496e-02   2.27726e-02   1.33243e-02   9.36208e-03   1.14053e-02   1.62778e-02   2.20932e-02   2.69656e-02   2.90089e-02   2.68137e-02   2.15789e-02   1.53309e-02   1.00961e-02   7.90084e-03   9.25119e-03   1.24713e-02   1.63146e-02   1.95346e-02   2.08850e-02   1.95346e-02   1.63146e-02   1.24713e-02   9.25119e-03   7.90084e-03   1.00961e-02   1.53309e-02   2.15789e-02   2.68137e-02   2.90089e-02   2.69656e-02   2.20932e-02   1.62778e-02   1.14053e-02   9.36208e-03   1.33243e-02   2.27726e-02   3.40496e-02   4.34979e-02   4.74601e-02   4.38580e-02   3.52684e-02   2.50164e-02   1.64268e-02   1.28247e-02   1.87033e-02   3.27215e-02   4.94530e-02   6.34712e-02   6.93498e-02   6.40079e-02   5.12696e-02   3.60657e-02   2.33274e-02   1.79855e-02   2.46694e-02   4.06078e-02   5.96310e-02   7.55694e-02   8.22533e-02   7.85813e-02   6.87225e-02   5.44126e-02   3.73872e-02   1.93822e-02   -8.28247e-03   -4.83423e-02   -9.01451e-02   -1.23038e-01   -1.36370e-01   -1.21067e-01   -8.45741e-02   -4.10184e-02   -4.52584e-03   1.07775e-02   1.03738e-02   9.35780e-03   8.02243e-03   6.66048e-03   5.56479e-03   4.70988e-03   3.89020e-03   3.12844e-03   2.44731e-03   1.86952e-03   1.36603e-03   9.01440e-04   4.88897e-04   1.41551e-04   -1.27446e-04   -3.46689e-04   -5.46055e-04   -7.14320e-04   -8.40261e-04   -9.12653e-04   -9.52017e-04   -9.85325e-04   -1.01103e-03   -1.02759e-03   -1.03345e-03   -1.02166e-03   -9.90828e-04   -9.47726e-04   -8.99141e-04   -8.51855e-04   -8.03063e-04   -7.47323e-04   -6.87468e-04   -6.26332e-04   -5.66747e-04   -5.08109e-04   -4.48525e-04   -3.88893e-04   -3.30112e-04   -2.73080e-04   -2.17506e-04   -1.62736e-04   -1.09129e-04   -5.70419e-05   -6.83361e-06   4.16901e-05   8.88853e-05   1.34637e-04   1.78829e-04   2.21347e-04   2.62357e-04   3.02063e-04   3.40410e-04   3.77343e-04   4.12805e-04   4.46918e-04   4.79841e-04   5.11577e-04   5.42127e-04   5.71493e-04   5.99717e-04   6.26899e-04   6.53128e-04   6.78492e-04   7.03078e-04   7.26945e-04   7.50094e-04   7.72533e-04   7.94267e-04   8.15303e-04   8.35648e-04   8.55350e-04   8.74472e-04   8.93080e-04   9.11239e-04   9.28948e-04   9.46193e-04   9.63021e-04   9.79475e-04   9.95602e-04   1.01138e-03   1.02679e-03   1.04191e-03   1.05678e-03   1.07147e-03   1.08598e-03   1.10027e-03   1.11436e-03   1.12826e-03   1.14201e-03   1.15556e-03   1.16892e-03   1.18213e-03   1.19524e-03   1.20831e-03   1.22132e-03   1.23425e-03   1.24710e-03   1.25990e-03   1.27265e-03   1.28535e-03   1.29800e-03   1.31060e-03   1.32316e-03   1.33568e-03   1.34818e-03   1.36066e-03   1.37310e-03   1.38547e-03   1.39776e-03   1.41001e-03   1.42225e-03   1.43439e-03   1.44637e-03   1.45813e-03   1.46973e-03   1.48124e-03   1.49254e-03   1.50354e-03   1.51412e-03   1.52449e-03   1.53473e-03   1.54459e-03   1.55382e-03   1.56216e-03   1.57021e-03   1.57825e-03   1.58556e-03   1.59140e-03   1.59505e-03   1.59726e-03   1.59918e-03   1.60070e-03   1.60170e-03   1.60206e-03   1.60011e-03   1.59484e-03   1.58714e-03   1.57788e-03   1.56794e-03   1.55571e-03   1.53951e-03   1.52013e-03   1.49837e-03   1.47503e-03   1.44870e-03   1.41803e-03   1.38382e-03   1.34693e-03   1.30817e-03   1.26627e-03   1.22013e-03   1.17088e-03   1.11965e-03   1.06756e-03   1.01347e-03   9.56477e-04   8.98082e-04   8.39782e-04   7.83071e-04   7.26936e-04   6.70365e-04   6.14855e-04   5.61906e-04   5.13016e-04   4.67210e-04   4.23109e-04   3.81607e-04   3.43596e-04   3.09972e-04   2.79883e-04   2.52018e-04   2.26575e-04   2.03753e-04   1.83754e-04   1.66047e-04   1.49933e-04   1.35359e-04   1.22272e-04   1.10617e-04   1.00115e-04   9.05072e-05   8.17711e-05   7.38842e-05   6.68239e-05   6.04178e-05   5.45178e-05   4.91381e-05   4.42930e-05   3.99968e-05   3.60978e-05   3.24781e-05   2.92028e-05   2.63369e-05   2.39453e-05   
+-1.00000e-03   4.83584e-05   5.31978e-05   5.90449e-05   6.57581e-05   7.31963e-05   8.12182e-05   9.00768e-05   1.00102e-04   1.11267e-04   1.23546e-04   1.36912e-04   1.51705e-04   1.68305e-04   1.86753e-04   2.07085e-04   2.29339e-04   2.54120e-04   2.82057e-04   3.13226e-04   3.47705e-04   3.85568e-04   4.28368e-04   4.77267e-04   5.31758e-04   5.91332e-04   6.55481e-04   7.26992e-04   8.07651e-04   8.95451e-04   9.88383e-04   1.08444e-03   1.18640e-03   1.29628e-03   1.41090e-03   1.52708e-03   1.64167e-03   1.75666e-03   1.87416e-03   1.99119e-03   2.10476e-03   2.21189e-03   2.31442e-03   2.41473e-03   2.51066e-03   2.60002e-03   2.68064e-03   2.75478e-03   2.82509e-03   2.88994e-03   2.94771e-03   2.99679e-03   3.04005e-03   3.08032e-03   3.11595e-03   3.14527e-03   3.16662e-03   3.18319e-03   3.19839e-03   3.21089e-03   3.21936e-03   3.22248e-03   3.22125e-03   3.21790e-03   3.21293e-03   3.20686e-03   3.20019e-03   3.19107e-03   3.17813e-03   3.16261e-03   3.14573e-03   3.12873e-03   3.11112e-03   3.09189e-03   3.07150e-03   3.05041e-03   3.02907e-03   3.00731e-03   2.98478e-03   2.96168e-03   2.93822e-03   2.91460e-03   2.89073e-03   2.86646e-03   2.84192e-03   2.81723e-03   2.79251e-03   2.76775e-03   2.74285e-03   2.71786e-03   2.69278e-03   2.66764e-03   2.64245e-03   2.61719e-03   2.59186e-03   2.56643e-03   2.54089e-03   2.51527e-03   2.48956e-03   2.46375e-03   2.43779e-03   2.41167e-03   2.38543e-03   2.35909e-03   2.33257e-03   2.30578e-03   2.27864e-03   2.25118e-03   2.22346e-03   2.19540e-03   2.16692e-03   2.13794e-03   2.10851e-03   2.07865e-03   2.04829e-03   2.01732e-03   1.98567e-03   1.95336e-03   1.92042e-03   1.88675e-03   1.85226e-03   1.81685e-03   1.78055e-03   1.74338e-03   1.70518e-03   1.66583e-03   1.62518e-03   1.58316e-03   1.53975e-03   1.49492e-03   1.44862e-03   1.40079e-03   1.35136e-03   1.30023e-03   1.24731e-03   1.19252e-03   1.13576e-03   1.07689e-03   1.01577e-03   9.52350e-04   8.86583e-04   8.18412e-04   7.47547e-04   6.73778e-04   5.97178e-04   5.17820e-04   4.35775e-04   3.50627e-04   2.62060e-04   1.70295e-04   7.55566e-05   -2.19339e-05   -1.22879e-04   -2.27676e-04   -3.35646e-04   -4.46109e-04   -5.58383e-04   -6.73724e-04   -7.92710e-04   -9.13651e-04   -1.03485e-03   -1.15463e-03   -1.27639e-03   -1.40126e-03   -1.52413e-03   -1.63988e-03   -1.74340e-03   -1.84656e-03   -1.95416e-03   -2.05048e-03   -2.11980e-03   -2.14640e-03   -2.13838e-03   -2.11546e-03   -2.07935e-03   -2.03178e-03   -1.97445e-03   -1.84968e-03   -1.61478e-03   -1.29391e-03   -9.11273e-04   -4.91037e-04   2.88330e-05   7.08879e-04   1.52267e-03   2.44379e-03   3.44579e-03   4.60494e-03   5.98368e-03   7.53490e-03   9.21148e-03   1.09663e-02   1.28833e-02   1.50183e-02   1.72821e-02   1.95855e-02   2.18392e-02   2.41338e-02   2.65288e-02   2.88887e-02   3.10778e-02   3.29605e-02   3.47158e-02   3.64763e-02   3.80368e-02   3.91920e-02   3.97367e-02   3.98936e-02   4.00204e-02   4.01144e-02   4.01728e-02   4.01929e-02   3.99249e-02   3.92285e-02   3.82652e-02   3.71964e-02   3.61838e-02   3.51823e-02   3.40745e-02   3.29129e-02   3.17499e-02   3.06380e-02   2.95629e-02   2.84890e-02   2.74370e-02   2.64276e-02   2.54816e-02   2.45871e-02   2.37251e-02   2.29052e-02   2.21373e-02   2.14311e-02   2.07747e-02   2.01535e-02   1.95735e-02   1.90403e-02   1.85599e-02   1.81195e-02   1.77065e-02   1.73274e-02   1.69885e-02   1.66961e-02   1.64329e-02   1.61854e-02   1.59655e-02   1.57851e-02   1.56562e-02   1.55589e-02   1.54702e-02   1.53976e-02   1.53486e-02   1.53306e-02   1.53486e-02   1.53976e-02   1.54702e-02   1.55589e-02   1.56562e-02   1.57851e-02   1.59655e-02   1.61854e-02   1.64329e-02   1.66961e-02   1.69885e-02   1.73274e-02   1.77065e-02   1.81195e-02   1.85599e-02   1.90403e-02   1.95735e-02   2.01535e-02   2.07747e-02   2.14311e-02   2.21373e-02   2.29052e-02   2.37251e-02   2.45871e-02   2.54816e-02   2.64276e-02   2.74370e-02   2.84890e-02   2.95629e-02   3.06380e-02   3.17499e-02   3.29129e-02   3.40745e-02   3.51823e-02   3.61838e-02   3.71964e-02   3.82652e-02   3.92285e-02   3.99249e-02   4.01929e-02   4.01728e-02   4.01144e-02   4.00204e-02   3.98936e-02   3.97367e-02   3.91920e-02   3.80368e-02   3.64763e-02   3.47158e-02   3.29605e-02   3.10778e-02   2.88887e-02   2.65288e-02   2.41338e-02   2.18392e-02   1.95855e-02   1.72821e-02   1.50183e-02   1.28833e-02   1.09663e-02   9.21148e-03   7.53490e-03   5.98368e-03   4.60495e-03   3.44580e-03   2.44379e-03   1.52268e-03   7.08882e-04   2.88340e-05   -4.91037e-04   -9.11273e-04   -1.29391e-03   -1.61478e-03   -1.84968e-03   -1.97445e-03   -2.03178e-03   -2.07935e-03   -2.11546e-03   -2.13838e-03   -2.14640e-03   -2.11980e-03   -2.05048e-03   -1.95416e-03   -1.84657e-03   -1.74341e-03   -1.63989e-03   -1.52414e-03   -1.40126e-03   -1.27639e-03   -1.15463e-03   -1.03485e-03   -9.13650e-04   -7.92710e-04   -6.73724e-04   -5.58383e-04   -4.46109e-04   -3.35646e-04   -2.27676e-04   -1.22879e-04   -2.19339e-05   7.55566e-05   1.70295e-04   2.62060e-04   3.50627e-04   4.35775e-04   5.17820e-04   5.97178e-04   6.73778e-04   7.47547e-04   8.18412e-04   8.86583e-04   9.52350e-04   1.01577e-03   1.07689e-03   1.13576e-03   1.19252e-03   1.24731e-03   1.30023e-03   1.35136e-03   1.40079e-03   1.44862e-03   1.49492e-03   1.53975e-03   1.58316e-03   1.62518e-03   1.66583e-03   1.70518e-03   1.74338e-03   1.78055e-03   1.81685e-03   1.85226e-03   1.88675e-03   1.92042e-03   1.95336e-03   1.98567e-03   2.01732e-03   2.04829e-03   2.07865e-03   2.10851e-03   2.13794e-03   2.16692e-03   2.19540e-03   2.22346e-03   2.25118e-03   2.27864e-03   2.30579e-03   2.33258e-03   2.35911e-03   2.38544e-03   2.41167e-03   2.43777e-03   2.46368e-03   2.48945e-03   2.51512e-03   2.54073e-03   2.56628e-03   2.59175e-03   2.61713e-03   2.64242e-03   2.66764e-03   2.69279e-03   2.71787e-03   2.74286e-03   2.76775e-03   2.79251e-03   2.81723e-03   2.84193e-03   2.86647e-03   2.89074e-03   2.91461e-03   2.93823e-03   2.96169e-03   2.98478e-03   3.00731e-03   3.02907e-03   3.05041e-03   3.07150e-03   3.09189e-03   3.11112e-03   3.12873e-03   3.14573e-03   3.16261e-03   3.17813e-03   3.19107e-03   3.20019e-03   3.20686e-03   3.21293e-03   3.21790e-03   3.22125e-03   3.22248e-03   3.21936e-03   3.21089e-03   3.19839e-03   3.18319e-03   3.16662e-03   3.14527e-03   3.11595e-03   3.08032e-03   3.04005e-03   2.99679e-03   2.94771e-03   2.88994e-03   2.82509e-03   2.75478e-03   2.68064e-03   2.60002e-03   2.51066e-03   2.41473e-03   2.31442e-03   2.21189e-03   2.10476e-03   1.99119e-03   1.87416e-03   1.75666e-03   1.64167e-03   1.52708e-03   1.41090e-03   1.29628e-03   1.18640e-03   1.08444e-03   9.88383e-04   8.95451e-04   8.07651e-04   7.26992e-04   6.55481e-04   5.91332e-04   5.31758e-04   4.77267e-04   4.28368e-04   3.85568e-04   3.47705e-04   3.13226e-04   2.82057e-04   2.54120e-04   2.29339e-04   2.07085e-04   1.86753e-04   1.68305e-04   1.51705e-04   1.36912e-04   1.23546e-04   1.11267e-04   1.00102e-04   9.00767e-05   8.12181e-05   7.31962e-05   6.57580e-05   5.90447e-05   5.31977e-05   4.83583e-05   
+-1.50000e-03   7.36233e-05   8.10021e-05   9.00452e-05   1.00510e-04   1.12155e-04   1.24737e-04   1.38681e-04   1.54553e-04   1.72320e-04   1.91953e-04   2.13419e-04   2.37347e-04   2.64414e-04   2.94662e-04   3.28132e-04   3.64868e-04   4.06038e-04   4.52795e-04   5.05154e-04   5.63131e-04   6.26743e-04   6.98799e-04   7.81351e-04   8.73281e-04   9.73470e-04   1.08080e-03   1.19991e-03   1.33373e-03   1.47859e-03   1.63080e-03   1.78669e-03   1.95046e-03   2.12530e-03   2.30603e-03   2.48747e-03   2.66441e-03   2.83982e-03   3.01718e-03   3.19207e-03   3.36007e-03   3.51677e-03   3.66512e-03   3.80898e-03   3.94529e-03   4.07099e-03   4.18301e-03   4.28502e-03   4.38115e-03   4.46902e-03   4.54627e-03   4.61053e-03   4.66648e-03   4.71855e-03   4.76400e-03   4.80010e-03   4.82412e-03   4.84058e-03   4.85516e-03   4.86684e-03   4.87460e-03   4.87741e-03   4.87415e-03   4.86547e-03   4.85297e-03   4.83829e-03   4.82304e-03   4.80528e-03   4.78293e-03   4.75740e-03   4.73009e-03   4.70242e-03   4.67379e-03   4.64305e-03   4.61080e-03   4.57763e-03   4.54412e-03   4.51004e-03   4.47496e-03   4.43915e-03   4.40291e-03   4.36652e-03   4.32989e-03   4.29283e-03   4.25545e-03   4.21788e-03   4.18025e-03   4.14252e-03   4.10461e-03   4.06657e-03   4.02843e-03   3.99026e-03   3.95207e-03   3.91382e-03   3.87549e-03   3.83705e-03   3.79847e-03   3.75980e-03   3.72106e-03   3.68217e-03   3.64307e-03   3.60368e-03   3.56407e-03   3.52429e-03   3.48423e-03   3.44378e-03   3.40285e-03   3.36151e-03   3.31981e-03   3.27763e-03   3.23484e-03   3.19131e-03   3.14711e-03   3.10229e-03   3.05672e-03   3.01025e-03   2.96272e-03   2.91418e-03   2.86468e-03   2.81407e-03   2.76223e-03   2.70901e-03   2.65446e-03   2.59858e-03   2.54119e-03   2.48209e-03   2.42110e-03   2.35816e-03   2.29324e-03   2.22623e-03   2.15699e-03   2.08541e-03   2.01135e-03   1.93470e-03   1.85532e-03   1.77310e-03   1.68792e-03   1.59952e-03   1.50769e-03   1.41239e-03   1.31358e-03   1.21119e-03   1.10487e-03   9.94282e-04   8.79441e-04   7.60355e-04   6.37035e-04   5.08833e-04   3.75311e-04   2.36793e-04   9.36047e-05   -5.39307e-05   -2.06842e-04   -3.65758e-04   -5.29747e-04   -6.97882e-04   -8.69233e-04   -1.04554e-03   -1.22767e-03   -1.41336e-03   -1.60036e-03   -1.78642e-03   -1.97600e-03   -2.17061e-03   -2.36356e-03   -2.54816e-03   -2.71770e-03   -2.89272e-03   -3.07899e-03   -3.24770e-03   -3.37005e-03   -3.41724e-03   -3.41348e-03   -3.40242e-03   -3.38444e-03   -3.35989e-03   -3.32913e-03   -3.19527e-03   -2.88854e-03   -2.44997e-03   -1.92057e-03   -1.34138e-03   -6.12697e-04   3.65516e-04   1.55275e-03   2.90850e-03   4.39224e-03   6.13307e-03   8.23710e-03   1.06294e-02   1.32350e-02   1.59790e-02   1.90123e-02   2.24330e-02   2.60865e-02   2.98186e-02   3.34747e-02   3.72224e-02   4.11650e-02   4.50523e-02   4.86339e-02   5.16593e-02   5.44570e-02   5.72761e-02   5.97471e-02   6.15007e-02   6.21673e-02   6.21556e-02   6.21211e-02   6.20649e-02   6.19879e-02   6.18911e-02   6.13329e-02   6.00576e-02   5.83446e-02   5.64735e-02   5.47238e-02   5.30374e-02   5.12198e-02   4.93455e-02   4.74893e-02   4.57258e-02   4.40339e-02   4.23613e-02   4.07363e-02   3.91870e-02   3.77416e-02   3.63815e-02   3.50778e-02   3.38435e-02   3.26917e-02   3.16355e-02   3.06565e-02   2.97330e-02   2.88726e-02   2.80833e-02   2.73727e-02   2.67214e-02   2.61110e-02   2.55514e-02   2.50521e-02   2.46229e-02   2.42384e-02   2.38779e-02   2.35579e-02   2.32953e-02   2.31064e-02   2.29625e-02   2.28312e-02   2.27235e-02   2.26507e-02   2.26240e-02   2.26507e-02   2.27235e-02   2.28312e-02   2.29625e-02   2.31064e-02   2.32953e-02   2.35579e-02   2.38779e-02   2.42384e-02   2.46229e-02   2.50521e-02   2.55514e-02   2.61110e-02   2.67214e-02   2.73727e-02   2.80833e-02   2.88726e-02   2.97330e-02   3.06565e-02   3.16355e-02   3.26917e-02   3.38435e-02   3.50778e-02   3.63815e-02   3.77416e-02   3.91870e-02   4.07363e-02   4.23613e-02   4.40339e-02   4.57258e-02   4.74893e-02   4.93455e-02   5.12198e-02   5.30374e-02   5.47238e-02   5.64735e-02   5.83446e-02   6.00576e-02   6.13329e-02   6.18911e-02   6.19879e-02   6.20649e-02   6.21211e-02   6.21556e-02   6.21673e-02   6.15007e-02   5.97471e-02   5.72760e-02   5.44569e-02   5.16592e-02   4.86338e-02   4.50523e-02   4.11650e-02   3.72223e-02   3.34747e-02   2.98186e-02   2.60865e-02   2.24330e-02   1.90123e-02   1.59790e-02   1.32350e-02   1.06294e-02   8.23710e-03   6.13307e-03   4.39224e-03   2.90850e-03   1.55275e-03   3.65516e-04   -6.12697e-04   -1.34138e-03   -1.92057e-03   -2.44997e-03   -2.88854e-03   -3.19527e-03   -3.32913e-03   -3.35989e-03   -3.38444e-03   -3.40242e-03   -3.41348e-03   -3.41724e-03   -3.37005e-03   -3.24770e-03   -3.07899e-03   -2.89272e-03   -2.71770e-03   -2.54816e-03   -2.36356e-03   -2.17061e-03   -1.97600e-03   -1.78642e-03   -1.60036e-03   -1.41336e-03   -1.22767e-03   -1.04554e-03   -8.69233e-04   -6.97873e-04   -5.29720e-04   -3.65718e-04   -2.06807e-04   -5.39307e-05   9.35172e-05   2.36579e-04   3.74965e-04   5.08389e-04   6.36562e-04   7.59936e-04   8.79128e-04   9.94096e-04   1.10480e-03   1.21119e-03   1.31360e-03   1.41242e-03   1.50771e-03   1.59953e-03   1.68792e-03   1.77310e-03   1.85532e-03   1.93470e-03   2.01135e-03   2.08541e-03   2.15699e-03   2.22623e-03   2.29324e-03   2.35816e-03   2.42110e-03   2.48209e-03   2.54119e-03   2.59858e-03   2.65446e-03   2.70901e-03   2.76223e-03   2.81407e-03   2.86468e-03   2.91418e-03   2.96272e-03   3.01025e-03   3.05672e-03   3.10229e-03   3.14711e-03   3.19131e-03   3.23484e-03   3.27763e-03   3.31981e-03   3.36151e-03   3.40285e-03   3.44378e-03   3.48423e-03   3.52429e-03   3.56407e-03   3.60368e-03   3.64307e-03   3.68217e-03   3.72106e-03   3.75980e-03   3.79847e-03   3.83705e-03   3.87549e-03   3.91382e-03   3.95207e-03   3.99026e-03   4.02843e-03   4.06656e-03   4.10461e-03   4.14252e-03   4.18025e-03   4.21788e-03   4.25545e-03   4.29283e-03   4.32990e-03   4.36653e-03   4.40292e-03   4.43916e-03   4.47496e-03   4.51004e-03   4.54412e-03   4.57763e-03   4.61080e-03   4.64305e-03   4.67379e-03   4.70242e-03   4.73009e-03   4.75740e-03   4.78294e-03   4.80529e-03   4.82304e-03   4.83828e-03   4.85295e-03   4.86544e-03   4.87412e-03   4.87737e-03   4.87456e-03   4.86681e-03   4.85514e-03   4.84057e-03   4.82412e-03   4.80011e-03   4.76400e-03   4.71853e-03   4.66645e-03   4.61050e-03   4.54624e-03   4.46900e-03   4.38113e-03   4.28502e-03   4.18301e-03   4.07099e-03   3.94530e-03   3.80899e-03   3.66513e-03   3.51678e-03   3.36008e-03   3.19208e-03   3.01719e-03   2.83983e-03   2.66441e-03   2.48746e-03   2.30603e-03   2.12530e-03   1.95046e-03   1.78669e-03   1.63080e-03   1.47859e-03   1.33373e-03   1.19991e-03   1.08080e-03   9.73470e-04   8.73281e-04   7.81351e-04   6.98799e-04   6.26743e-04   5.63131e-04   5.05153e-04   4.52794e-04   4.06037e-04   3.64867e-04   3.28131e-04   2.94661e-04   2.64413e-04   2.37347e-04   2.13419e-04   1.91953e-04   1.72320e-04   1.54553e-04   1.38681e-04   1.24737e-04   1.12155e-04   1.00510e-04   9.00455e-05   8.10025e-05   7.36239e-05   
+-2.00000e-03   9.99500e-05   1.09953e-04   1.22472e-04   1.37123e-04   1.53522e-04   1.71282e-04   1.91057e-04   2.13743e-04   2.39325e-04   2.67786e-04   2.99111e-04   3.34397e-04   3.74777e-04   4.20292e-04   4.70981e-04   5.26882e-04   5.90215e-04   6.63018e-04   7.45056e-04   8.36099e-04   9.35912e-04   1.04951e-03   1.18038e-03   1.32605e-03   1.48402e-03   1.65179e-03   1.83662e-03   2.04305e-03   2.26450e-03   2.49438e-03   2.72614e-03   2.96538e-03   3.21699e-03   3.47327e-03   3.72651e-03   3.96902e-03   4.20482e-03   4.43933e-03   4.66698e-03   4.88220e-03   5.07942e-03   5.26307e-03   5.43884e-03   5.60305e-03   5.75203e-03   5.88209e-03   5.99869e-03   6.10764e-03   6.20579e-03   6.29001e-03   6.35714e-03   6.41457e-03   6.46863e-03   6.51462e-03   6.54780e-03   6.56347e-03   6.56837e-03   6.57234e-03   6.57528e-03   6.57711e-03   6.57774e-03   6.57066e-03   6.55207e-03   6.52593e-03   6.49624e-03   6.46696e-03   6.43643e-03   6.40124e-03   6.36276e-03   6.32234e-03   6.28134e-03   6.23918e-03   6.19479e-03   6.14879e-03   6.10179e-03   6.05443e-03   6.00644e-03   5.95737e-03   5.90755e-03   5.85733e-03   5.80703e-03   5.75657e-03   5.70571e-03   5.65459e-03   5.60333e-03   5.55203e-03   5.50069e-03   5.44922e-03   5.39765e-03   5.34601e-03   5.29432e-03   5.24260e-03   5.19082e-03   5.13898e-03   5.08703e-03   5.03498e-03   4.98289e-03   4.93078e-03   4.87853e-03   4.82602e-03   4.77312e-03   4.71993e-03   4.66651e-03   4.61274e-03   4.55847e-03   4.50357e-03   4.44814e-03   4.39225e-03   4.33574e-03   4.27844e-03   4.22016e-03   4.16102e-03   4.10109e-03   4.04017e-03   3.97806e-03   3.91456e-03   3.84974e-03   3.78366e-03   3.71612e-03   3.64690e-03   3.57579e-03   3.50280e-03   3.42795e-03   3.35104e-03   3.27190e-03   3.19034e-03   3.10630e-03   3.01974e-03   2.93043e-03   2.83818e-03   2.74278e-03   2.64408e-03   2.54194e-03   2.43618e-03   2.32659e-03   2.21300e-03   2.09505e-03   1.97248e-03   1.84522e-03   1.71321e-03   1.57637e-03   1.43421e-03   1.28627e-03   1.13258e-03   9.73127e-04   8.07937e-04   6.36221e-04   4.57378e-04   2.71698e-04   7.94718e-05   -1.19010e-04   -3.25050e-04   -5.39458e-04   -7.61198e-04   -9.89240e-04   -1.22255e-03   -1.46330e-03   -1.71261e-03   -1.96787e-03   -2.22646e-03   -2.48578e-03   -2.75071e-03   -3.02307e-03   -3.29559e-03   -3.56103e-03   -3.81214e-03   -4.07113e-03   -4.34362e-03   -4.59746e-03   -4.80047e-03   -4.92050e-03   -4.98472e-03   -5.03979e-03   -5.08276e-03   -5.11070e-03   -5.12067e-03   -5.00174e-03   -4.67703e-03   -4.19468e-03   -3.60281e-03   -2.94958e-03   -2.08840e-03   -8.78293e-04   6.24214e-04   2.36260e-03   4.28034e-03   6.57857e-03   9.42532e-03   1.27144e-02   1.63398e-02   2.01951e-02   2.45410e-02   2.95412e-02   3.49446e-02   4.05001e-02   4.59565e-02   5.16157e-02   5.76475e-02   6.36025e-02   6.90313e-02   7.34847e-02   7.74451e-02   8.13708e-02   8.47761e-02   8.71755e-02   8.80832e-02   8.79471e-02   8.75694e-02   8.69960e-02   8.62728e-02   8.54459e-02   8.40569e-02   8.18391e-02   7.91258e-02   7.62504e-02   7.35462e-02   7.09491e-02   6.82339e-02   6.54925e-02   6.28166e-02   6.02980e-02   5.79075e-02   5.55761e-02   5.33354e-02   5.12168e-02   4.92522e-02   4.74145e-02   4.56652e-02   4.40189e-02   4.24898e-02   4.10926e-02   3.98017e-02   3.85884e-02   3.74617e-02   3.64310e-02   3.55054e-02   3.46590e-02   3.38677e-02   3.31435e-02   3.24983e-02   3.19441e-02   3.14482e-02   3.09839e-02   3.05722e-02   3.02339e-02   2.99900e-02   2.98035e-02   2.96330e-02   2.94932e-02   2.93986e-02   2.93638e-02   2.93986e-02   2.94932e-02   2.96330e-02   2.98035e-02   2.99900e-02   3.02339e-02   3.05722e-02   3.09839e-02   3.14482e-02   3.19441e-02   3.24983e-02   3.31435e-02   3.38677e-02   3.46590e-02   3.55054e-02   3.64310e-02   3.74617e-02   3.85884e-02   3.98017e-02   4.10926e-02   4.24898e-02   4.40189e-02   4.56652e-02   4.74145e-02   4.92522e-02   5.12168e-02   5.33354e-02   5.55761e-02   5.79075e-02   6.02980e-02   6.28166e-02   6.54925e-02   6.82339e-02   7.09491e-02   7.35462e-02   7.62504e-02   7.91258e-02   8.18391e-02   8.40569e-02   8.54459e-02   8.62728e-02   8.69960e-02   8.75694e-02   8.79471e-02   8.80832e-02   8.71755e-02   8.47761e-02   8.13708e-02   7.74451e-02   7.34847e-02   6.90313e-02   6.36025e-02   5.76475e-02   5.16157e-02   4.59565e-02   4.05001e-02   3.49446e-02   2.95412e-02   2.45410e-02   2.01951e-02   1.63397e-02   1.27144e-02   9.42530e-03   6.57854e-03   4.28031e-03   2.36258e-03   6.24199e-04   -8.78300e-04   -2.08840e-03   -2.94958e-03   -3.60282e-03   -4.19468e-03   -4.67703e-03   -5.00175e-03   -5.12068e-03   -5.11071e-03   -5.08277e-03   -5.03979e-03   -4.98472e-03   -4.92050e-03   -4.80053e-03   -4.59765e-03   -4.34398e-03   -4.07163e-03   -3.81271e-03   -3.56157e-03   -3.29600e-03   -3.02332e-03   -2.75081e-03   -2.48578e-03   -2.22643e-03   -1.96783e-03   -1.71259e-03   -1.46329e-03   -1.22255e-03   -9.89240e-04   -7.61198e-04   -5.39457e-04   -3.25049e-04   -1.19009e-04   7.94723e-05   2.71698e-04   4.57376e-04   6.36219e-04   8.07935e-04   9.73125e-04   1.13257e-03   1.28627e-03   1.43421e-03   1.57637e-03   1.71321e-03   1.84522e-03   1.97248e-03   2.09505e-03   2.21300e-03   2.32659e-03   2.43618e-03   2.54194e-03   2.64408e-03   2.74278e-03   2.83818e-03   2.93043e-03   3.01974e-03   3.10630e-03   3.19034e-03   3.27190e-03   3.35104e-03   3.42795e-03   3.50280e-03   3.57579e-03   3.64690e-03   3.71612e-03   3.78366e-03   3.84974e-03   3.91456e-03   3.97806e-03   4.04018e-03   4.10110e-03   4.16103e-03   4.22016e-03   4.27841e-03   4.33567e-03   4.39213e-03   4.44798e-03   4.50340e-03   4.55832e-03   4.61262e-03   4.66644e-03   4.71990e-03   4.77312e-03   4.82603e-03   4.87854e-03   4.93079e-03   4.98289e-03   5.03498e-03   5.08703e-03   5.13898e-03   5.19082e-03   5.24260e-03   5.29432e-03   5.34601e-03   5.39765e-03   5.44922e-03   5.50069e-03   5.55203e-03   5.60333e-03   5.65459e-03   5.70571e-03   5.75657e-03   5.80703e-03   5.85733e-03   5.90755e-03   5.95737e-03   6.00644e-03   6.05443e-03   6.10179e-03   6.14879e-03   6.19479e-03   6.23918e-03   6.28134e-03   6.32234e-03   6.36276e-03   6.40124e-03   6.43643e-03   6.46696e-03   6.49624e-03   6.52593e-03   6.55207e-03   6.57066e-03   6.57774e-03   6.57711e-03   6.57528e-03   6.57234e-03   6.56837e-03   6.56347e-03   6.54780e-03   6.51462e-03   6.46864e-03   6.41457e-03   6.35714e-03   6.29001e-03   6.20578e-03   6.10762e-03   5.99866e-03   5.88206e-03   5.75200e-03   5.60303e-03   5.43882e-03   5.26305e-03   5.07941e-03   4.88220e-03   4.66698e-03   4.43933e-03   4.20482e-03   3.96903e-03   3.72652e-03   3.47327e-03   3.21700e-03   2.96539e-03   2.72614e-03   2.49438e-03   2.26450e-03   2.04305e-03   1.83662e-03   1.65179e-03   1.48402e-03   1.32605e-03   1.18038e-03   1.04950e-03   9.35911e-04   8.36098e-04   7.45056e-04   6.63017e-04   5.90215e-04   5.26882e-04   4.70981e-04   4.20292e-04   3.74777e-04   3.34397e-04   2.99111e-04   2.67786e-04   2.39325e-04   2.13743e-04   1.91057e-04   1.71282e-04   1.53522e-04   1.37123e-04   1.22472e-04   1.09953e-04   9.99500e-05   
+-2.50000e-03   1.27271e-04   1.39915e-04   1.56195e-04   1.75522e-04   1.97310e-04   2.20969e-04   2.47449e-04   2.78123e-04   3.13034e-04   3.52230e-04   3.95757e-04   4.45477e-04   5.03269e-04   5.69203e-04   6.43348e-04   7.25774e-04   8.20800e-04   9.32111e-04   1.05883e-03   1.20007e-03   1.35496e-03   1.53303e-03   1.74048e-03   1.97142e-03   2.21996e-03   2.48023e-03   2.76368e-03   3.07751e-03   3.40949e-03   3.74737e-03   4.07890e-03   4.41120e-03   4.75245e-03   5.09203e-03   5.41928e-03   5.72357e-03   6.01064e-03   6.28929e-03   6.55347e-03   6.79712e-03   7.01420e-03   7.21144e-03   7.39691e-03   7.56658e-03   7.71637e-03   7.84225e-03   7.95230e-03   8.05436e-03   8.14404e-03   8.21690e-03   8.26855e-03   8.30727e-03   8.34238e-03   8.37101e-03   8.39029e-03   8.39736e-03   8.39324e-03   8.38213e-03   8.36586e-03   8.34628e-03   8.32525e-03   8.29845e-03   8.26229e-03   8.21974e-03   8.17373e-03   8.12723e-03   8.07898e-03   8.02658e-03   7.97119e-03   7.91399e-03   7.85616e-03   7.79722e-03   7.73628e-03   7.67392e-03   7.61072e-03   7.54727e-03   7.48334e-03   7.41854e-03   7.35315e-03   7.28748e-03   7.22182e-03   7.15609e-03   7.09008e-03   7.02392e-03   6.95775e-03   6.89168e-03   6.82573e-03   6.75981e-03   6.69391e-03   6.62800e-03   6.56209e-03   6.49620e-03   6.43033e-03   6.36445e-03   6.29850e-03   6.23242e-03   6.16632e-03   6.10022e-03   6.03399e-03   5.96748e-03   5.90054e-03   5.83331e-03   5.76587e-03   5.69803e-03   5.62959e-03   5.56036e-03   5.49046e-03   5.42000e-03   5.34877e-03   5.27657e-03   5.20317e-03   5.12871e-03   5.05330e-03   4.97667e-03   4.89857e-03   4.81875e-03   4.73730e-03   4.65431e-03   4.56952e-03   4.48266e-03   4.39348e-03   4.30200e-03   4.20825e-03   4.11197e-03   4.01291e-03   3.91082e-03   3.80566e-03   3.69738e-03   3.58567e-03   3.47025e-03   3.35081e-03   3.22712e-03   3.09901e-03   2.96632e-03   2.82888e-03   2.68650e-03   2.53882e-03   2.38547e-03   2.22629e-03   2.06113e-03   1.88982e-03   1.71179e-03   1.52651e-03   1.33389e-03   1.13387e-03   9.26344e-04   7.10320e-04   4.85054e-04   2.50862e-04   8.06026e-06   -2.43036e-04   -5.03910e-04   -7.75623e-04   -1.05723e-03   -1.34777e-03   -1.64630e-03   -1.95524e-03   -2.27595e-03   -2.60586e-03   -2.94243e-03   -3.28309e-03   -3.63294e-03   -3.99395e-03   -4.35889e-03   -4.72052e-03   -5.07162e-03   -5.42971e-03   -5.79984e-03   -6.15604e-03   -6.47232e-03   -6.72273e-03   -6.93576e-03   -7.14178e-03   -7.31762e-03   -7.44012e-03   -7.48610e-03   -7.38840e-03   -7.11784e-03   -6.70824e-03   -6.19344e-03   -5.60726e-03   -4.74204e-03   -3.41873e-03   -1.71403e-03   2.95323e-04   2.53262e-03   5.30050e-03   8.85945e-03   1.30695e-02   1.77906e-02   2.28828e-02   2.87989e-02   3.58174e-02   4.35375e-02   5.15581e-02   5.94782e-02   6.78663e-02   7.69999e-02   8.60412e-02   9.41525e-02   1.00496e-01   1.05780e-01   1.10888e-01   1.15247e-01   1.18283e-01   1.19423e-01   1.18940e-01   1.17647e-01   1.15779e-01   1.13571e-01   1.11259e-01   1.08415e-01   1.04708e-01   1.00519e-01   9.62252e-02   9.22079e-02   8.83996e-02   8.45468e-02   8.07497e-02   7.71085e-02   7.37232e-02   7.05536e-02   6.75114e-02   6.46249e-02   6.19224e-02   5.94322e-02   5.71164e-02   5.49282e-02   5.28823e-02   5.09936e-02   4.92768e-02   4.76995e-02   4.62248e-02   4.48610e-02   4.36164e-02   4.24992e-02   4.14772e-02   4.05224e-02   3.96498e-02   3.88740e-02   3.82098e-02   3.76183e-02   3.70664e-02   3.65776e-02   3.61752e-02   3.58829e-02   3.56568e-02   3.54496e-02   3.52793e-02   3.51639e-02   3.51214e-02   3.51639e-02   3.52793e-02   3.54496e-02   3.56568e-02   3.58829e-02   3.61752e-02   3.65776e-02   3.70664e-02   3.76183e-02   3.82098e-02   3.88740e-02   3.96498e-02   4.05224e-02   4.14772e-02   4.24992e-02   4.36164e-02   4.48610e-02   4.62248e-02   4.76995e-02   4.92768e-02   5.09936e-02   5.28823e-02   5.49282e-02   5.71164e-02   5.94322e-02   6.19224e-02   6.46249e-02   6.75114e-02   7.05536e-02   7.37232e-02   7.71085e-02   8.07497e-02   8.45468e-02   8.83996e-02   9.22079e-02   9.62252e-02   1.00519e-01   1.04708e-01   1.08415e-01   1.11259e-01   1.13571e-01   1.15779e-01   1.17647e-01   1.18940e-01   1.19423e-01   1.18283e-01   1.15247e-01   1.10888e-01   1.05780e-01   1.00496e-01   9.41525e-02   8.60412e-02   7.69999e-02   6.78663e-02   5.94782e-02   5.15581e-02   4.35375e-02   3.58174e-02   2.87989e-02   2.28828e-02   1.77906e-02   1.30695e-02   8.85945e-03   5.30050e-03   2.53262e-03   2.95323e-04   -1.71403e-03   -3.41873e-03   -4.74204e-03   -5.60726e-03   -6.19344e-03   -6.70824e-03   -7.11784e-03   -7.38840e-03   -7.48610e-03   -7.44013e-03   -7.31764e-03   -7.14181e-03   -6.93579e-03   -6.72273e-03   -6.47218e-03   -6.15562e-03   -5.79911e-03   -5.42871e-03   -5.07050e-03   -4.71949e-03   -4.35810e-03   -3.99348e-03   -3.63276e-03   -3.28309e-03   -2.94249e-03   -2.60594e-03   -2.27600e-03   -1.95526e-03   -1.64630e-03   -1.34777e-03   -1.05723e-03   -7.75623e-04   -5.03910e-04   -2.43036e-04   8.06007e-06   2.50862e-04   4.85053e-04   7.10319e-04   9.26344e-04   1.13387e-03   1.33390e-03   1.52651e-03   1.71180e-03   1.88983e-03   2.06114e-03   2.22630e-03   2.38547e-03   2.53882e-03   2.68650e-03   2.82888e-03   2.96632e-03   3.09901e-03   3.22712e-03   3.35081e-03   3.47025e-03   3.58567e-03   3.69738e-03   3.80566e-03   3.91082e-03   4.01291e-03   4.11197e-03   4.20825e-03   4.30200e-03   4.39348e-03   4.48266e-03   4.56953e-03   4.65433e-03   4.73732e-03   4.81875e-03   4.89854e-03   4.97659e-03   5.05317e-03   5.12855e-03   5.20299e-03   5.27640e-03   5.34864e-03   5.41991e-03   5.49042e-03   5.56036e-03   5.62963e-03   5.69812e-03   5.76600e-03   5.83347e-03   5.90071e-03   5.96763e-03   6.03411e-03   6.10029e-03   6.16635e-03   6.23242e-03   6.29849e-03   6.36444e-03   6.43033e-03   6.49619e-03   6.56209e-03   6.62800e-03   6.69391e-03   6.75981e-03   6.82573e-03   6.89168e-03   6.95775e-03   7.02392e-03   7.09008e-03   7.15609e-03   7.22182e-03   7.28748e-03   7.35315e-03   7.41854e-03   7.48334e-03   7.54727e-03   7.61073e-03   7.67393e-03   7.73629e-03   7.79723e-03   7.85616e-03   7.91397e-03   7.97114e-03   8.02650e-03   8.07889e-03   8.12713e-03   8.17365e-03   8.21968e-03   8.26226e-03   8.29844e-03   8.32525e-03   8.34628e-03   8.36586e-03   8.38213e-03   8.39324e-03   8.39736e-03   8.39029e-03   8.37101e-03   8.34238e-03   8.30727e-03   8.26855e-03   8.21690e-03   8.14404e-03   8.05436e-03   7.95230e-03   7.84225e-03   7.71637e-03   7.56658e-03   7.39691e-03   7.21144e-03   7.01420e-03   6.79713e-03   6.55347e-03   6.28930e-03   6.01065e-03   5.72358e-03   5.41929e-03   5.09204e-03   4.75246e-03   4.41120e-03   4.07890e-03   3.74737e-03   3.40949e-03   3.07751e-03   2.76368e-03   2.48023e-03   2.21996e-03   1.97142e-03   1.74048e-03   1.53303e-03   1.35496e-03   1.20007e-03   1.05883e-03   9.32111e-04   8.20800e-04   7.25774e-04   6.43348e-04   5.69203e-04   5.03269e-04   4.45477e-04   3.95757e-04   3.52230e-04   3.13034e-04   2.78123e-04   2.47449e-04   2.20969e-04   1.97310e-04   1.75522e-04   1.56195e-04   1.39915e-04   1.27271e-04   
+-3.00000e-03   1.55146e-04   1.70308e-04   1.90536e-04   2.14962e-04   2.42717e-04   2.72932e-04   3.06923e-04   3.46715e-04   3.92508e-04   4.44501e-04   5.02893e-04   5.70741e-04   6.51149e-04   7.44388e-04   8.50729e-04   9.70445e-04   1.11224e-03   1.28313e-03   1.48083e-03   1.70307e-03   1.94755e-03   2.23479e-03   2.57670e-03   2.95810e-03   3.36380e-03   3.77863e-03   4.22203e-03   4.70704e-03   5.20885e-03   5.70264e-03   6.16362e-03   6.60195e-03   7.03544e-03   7.45077e-03   7.83460e-03   8.17360e-03   8.47800e-03   8.76325e-03   9.02387e-03   9.25434e-03   9.44917e-03   9.61923e-03   9.77582e-03   9.91407e-03   1.00291e-02   1.01161e-02   1.01871e-02   1.02531e-02   1.03081e-02   1.03456e-02   1.03595e-02   1.03577e-02   1.03525e-02   1.03444e-02   1.03341e-02   1.03221e-02   1.02998e-02   1.02618e-02   1.02135e-02   1.01600e-02   1.01065e-02   1.00511e-02   9.98928e-03   9.92299e-03   9.85397e-03   9.78402e-03   9.71236e-03   9.63760e-03   9.56063e-03   9.48233e-03   9.40361e-03   9.32411e-03   9.24319e-03   9.16134e-03   9.07903e-03   8.99672e-03   8.91427e-03   8.83136e-03   8.74821e-03   8.66505e-03   8.58211e-03   8.49933e-03   8.41656e-03   8.33388e-03   8.25137e-03   8.16910e-03   8.08709e-03   8.00529e-03   7.92368e-03   7.84222e-03   7.76090e-03   7.67980e-03   7.59893e-03   7.51816e-03   7.43739e-03   7.35649e-03   7.27558e-03   7.19474e-03   7.11379e-03   7.03254e-03   6.95081e-03   6.86875e-03   6.78649e-03   6.70378e-03   6.62040e-03   6.53610e-03   6.45105e-03   6.36538e-03   6.27883e-03   6.19115e-03   6.10208e-03   6.01179e-03   5.92040e-03   5.82760e-03   5.73304e-03   5.63641e-03   5.53780e-03   5.43735e-03   5.33473e-03   5.22966e-03   5.12182e-03   5.01125e-03   4.89797e-03   4.78170e-03   4.66212e-03   4.53894e-03   4.41213e-03   4.28163e-03   4.14707e-03   4.00809e-03   3.86433e-03   3.71556e-03   3.56161e-03   3.40219e-03   3.23704e-03   3.06587e-03   2.88825e-03   2.70377e-03   2.51221e-03   2.31338e-03   2.10704e-03   1.89252e-03   1.66918e-03   1.43687e-03   1.19546e-03   9.44791e-04   6.83772e-04   4.11494e-04   1.28113e-04   -1.66219e-04   -4.71346e-04   -7.88992e-04   -1.12042e-03   -1.46478e-03   -1.82124e-03   -2.18895e-03   -2.57048e-03   -2.96749e-03   -3.37782e-03   -3.79926e-03   -4.22963e-03   -4.67384e-03   -5.13405e-03   -5.60396e-03   -6.07727e-03   -6.54769e-03   -7.02882e-03   -7.52487e-03   -8.01545e-03   -8.48016e-03   -8.89861e-03   -9.31941e-03   -9.76098e-03   -1.01577e-02   -1.04438e-02   -1.05538e-02   -1.05101e-02   -1.03853e-02   -1.01888e-02   -9.92985e-03   -9.61799e-03   -8.95521e-03   -7.71105e-03   -5.99610e-03   -3.92093e-03   -1.59616e-03   1.42172e-03   5.53478e-03   1.05703e-02   1.63556e-02   2.27180e-02   3.04608e-02   4.00815e-02   5.09489e-02   6.24314e-02   7.38978e-02   8.65222e-02   1.00770e-01   1.14946e-01   1.27356e-01   1.36306e-01   1.42924e-01   1.49081e-01   1.54198e-01   1.57694e-01   1.58988e-01   1.57678e-01   1.54261e-01   1.49507e-01   1.44187e-01   1.39071e-01   1.33817e-01   1.27838e-01   1.21533e-01   1.15304e-01   1.09552e-01   1.04194e-01   9.89459e-02   9.39056e-02   8.91707e-02   8.48388e-02   8.08525e-02   7.70973e-02   7.35855e-02   7.03291e-02   6.73403e-02   6.45661e-02   6.19579e-02   5.95343e-02   5.73137e-02   5.53149e-02   5.35000e-02   5.18192e-02   5.02731e-02   4.88623e-02   4.75874e-02   4.64086e-02   4.53010e-02   4.42880e-02   4.33926e-02   4.26380e-02   4.19811e-02   4.13763e-02   4.08430e-02   4.04006e-02   4.00686e-02   3.98001e-02   3.95510e-02   3.93443e-02   3.92033e-02   3.91512e-02   3.92033e-02   3.93443e-02   3.95510e-02   3.98001e-02   4.00686e-02   4.04006e-02   4.08430e-02   4.13763e-02   4.19811e-02   4.26380e-02   4.33926e-02   4.42880e-02   4.53010e-02   4.64086e-02   4.75874e-02   4.88623e-02   5.02731e-02   5.18192e-02   5.35000e-02   5.53149e-02   5.73137e-02   5.95343e-02   6.19579e-02   6.45661e-02   6.73403e-02   7.03291e-02   7.35855e-02   7.70973e-02   8.08525e-02   8.48388e-02   8.91707e-02   9.39056e-02   9.89459e-02   1.04194e-01   1.09552e-01   1.15304e-01   1.21533e-01   1.27838e-01   1.33817e-01   1.39071e-01   1.44187e-01   1.49507e-01   1.54261e-01   1.57678e-01   1.58988e-01   1.57694e-01   1.54198e-01   1.49081e-01   1.42924e-01   1.36306e-01   1.27356e-01   1.14946e-01   1.00770e-01   8.65222e-02   7.38978e-02   6.24314e-02   5.09489e-02   4.00815e-02   3.04608e-02   2.27180e-02   1.63556e-02   1.05703e-02   5.53478e-03   1.42172e-03   -1.59616e-03   -3.92093e-03   -5.99610e-03   -7.71105e-03   -8.95521e-03   -9.61799e-03   -9.92985e-03   -1.01888e-02   -1.03853e-02   -1.05101e-02   -1.05538e-02   -1.04438e-02   -1.01577e-02   -9.76098e-03   -9.31941e-03   -8.89861e-03   -8.48016e-03   -8.01545e-03   -7.52487e-03   -7.02882e-03   -6.54769e-03   -6.07727e-03   -5.60395e-03   -5.13404e-03   -4.67384e-03   -4.22963e-03   -3.79926e-03   -3.37782e-03   -2.96750e-03   -2.57049e-03   -2.18896e-03   -1.82125e-03   -1.46479e-03   -1.12042e-03   -7.88993e-04   -4.71346e-04   -1.66218e-04   1.28114e-04   4.11495e-04   6.83772e-04   9.44791e-04   1.19546e-03   1.43687e-03   1.66918e-03   1.89252e-03   2.10704e-03   2.31338e-03   2.51221e-03   2.70377e-03   2.88825e-03   3.06587e-03   3.23704e-03   3.40219e-03   3.56161e-03   3.71556e-03   3.86433e-03   4.00809e-03   4.14707e-03   4.28163e-03   4.41213e-03   4.53894e-03   4.66212e-03   4.78170e-03   4.89797e-03   5.01125e-03   5.12182e-03   5.22966e-03   5.33473e-03   5.43735e-03   5.53780e-03   5.63641e-03   5.73304e-03   5.82760e-03   5.92040e-03   6.01179e-03   6.10208e-03   6.19115e-03   6.27883e-03   6.36538e-03   6.45105e-03   6.53610e-03   6.62040e-03   6.70378e-03   6.78649e-03   6.86875e-03   6.95081e-03   7.03254e-03   7.11379e-03   7.19474e-03   7.27558e-03   7.35649e-03   7.43739e-03   7.51816e-03   7.59893e-03   7.67980e-03   7.76090e-03   7.84222e-03   7.92368e-03   8.00529e-03   8.08709e-03   8.16910e-03   8.25137e-03   8.33388e-03   8.41656e-03   8.49933e-03   8.58211e-03   8.66505e-03   8.74821e-03   8.83136e-03   8.91427e-03   8.99672e-03   9.07903e-03   9.16134e-03   9.24319e-03   9.32411e-03   9.40361e-03   9.48233e-03   9.56063e-03   9.63761e-03   9.71237e-03   9.78402e-03   9.85395e-03   9.92294e-03   9.98921e-03   1.00510e-02   1.01064e-02   1.01599e-02   1.02134e-02   1.02618e-02   1.02998e-02   1.03221e-02   1.03341e-02   1.03444e-02   1.03525e-02   1.03577e-02   1.03595e-02   1.03456e-02   1.03081e-02   1.02531e-02   1.01871e-02   1.01161e-02   1.00291e-02   9.91407e-03   9.77581e-03   9.61922e-03   9.44916e-03   9.25433e-03   9.02387e-03   8.76327e-03   8.47802e-03   8.17363e-03   7.83463e-03   7.45079e-03   7.03546e-03   6.60195e-03   6.16362e-03   5.70264e-03   5.20885e-03   4.70704e-03   4.22203e-03   3.77863e-03   3.36380e-03   2.95809e-03   2.57670e-03   2.23478e-03   1.94754e-03   1.70306e-03   1.48083e-03   1.28313e-03   1.11224e-03   9.70445e-04   8.50730e-04   7.44388e-04   6.51149e-04   5.70741e-04   5.02893e-04   4.44501e-04   3.92508e-04   3.46715e-04   3.06923e-04   2.72932e-04   2.42716e-04   2.14962e-04   1.90536e-04   1.70307e-04   1.55145e-04   
+-3.50000e-03   1.82691e-04   2.00071e-04   2.24214e-04   2.53893e-04   2.87887e-04   3.24970e-04   3.66852e-04   4.16389e-04   4.74078e-04   5.40414e-04   6.15893e-04   7.05218e-04   8.13429e-04   9.41527e-04   1.09052e-03   1.26140e-03   1.47211e-03   1.73680e-03   2.05077e-03   2.40934e-03   2.80782e-03   3.29874e-03   3.90818e-03   4.59178e-03   5.30521e-03   6.00411e-03   6.72731e-03   7.50533e-03   8.28131e-03   8.99842e-03   9.59982e-03   1.01120e-02   1.05895e-02   1.10174e-02   1.13806e-02   1.16643e-02   1.18935e-02   1.20987e-02   1.22734e-02   1.24110e-02   1.25049e-02   1.25726e-02   1.26329e-02   1.26815e-02   1.27138e-02   1.27256e-02   1.27192e-02   1.27021e-02   1.26770e-02   1.26467e-02   1.26142e-02   1.25727e-02   1.25167e-02   1.24507e-02   1.23792e-02   1.23069e-02   1.22317e-02   1.21499e-02   1.20634e-02   1.19738e-02   1.18830e-02   1.17902e-02   1.16940e-02   1.15954e-02   1.14954e-02   1.13948e-02   1.12933e-02   1.11903e-02   1.10862e-02   1.09816e-02   1.08772e-02   1.07727e-02   1.06677e-02   1.05626e-02   1.04576e-02   1.03530e-02   1.02488e-02   1.01446e-02   1.00408e-02   9.93738e-03   9.83452e-03   9.73222e-03   9.63037e-03   9.52898e-03   9.42806e-03   9.32761e-03   9.22768e-03   9.12825e-03   9.02925e-03   8.93061e-03   8.83225e-03   8.73429e-03   8.63677e-03   8.53951e-03   8.44234e-03   8.34508e-03   8.24787e-03   8.15083e-03   8.05374e-03   7.95638e-03   7.85852e-03   7.76034e-03   7.66198e-03   7.56317e-03   7.46364e-03   7.36313e-03   7.26184e-03   7.15992e-03   7.05706e-03   6.95290e-03   6.84712e-03   6.73991e-03   6.63145e-03   6.52136e-03   6.40926e-03   6.29479e-03   6.17807e-03   6.05925e-03   5.93796e-03   5.81385e-03   5.68653e-03   5.55609e-03   5.42256e-03   5.28558e-03   5.14474e-03   4.99966e-03   4.85028e-03   4.69656e-03   4.53810e-03   4.37452e-03   4.20544e-03   4.03062e-03   3.84986e-03   3.66278e-03   3.46903e-03   3.26825e-03   3.05999e-03   2.84381e-03   2.61938e-03   2.38633e-03   2.14432e-03   1.89254e-03   1.63029e-03   1.35736e-03   1.07358e-03   7.78738e-04   4.71660e-04   1.51260e-04   -1.82512e-04   -5.29707e-04   -8.90375e-04   -1.26634e-03   -1.65907e-03   -2.06809e-03   -2.49291e-03   -2.93307e-03   -3.39136e-03   -3.86977e-03   -4.36656e-03   -4.88003e-03   -5.40845e-03   -5.95639e-03   -6.52642e-03   -7.11383e-03   -7.71390e-03   -8.32194e-03   -8.94840e-03   -9.59698e-03   -1.02528e-02   -1.09010e-02   -1.15268e-02   -1.21783e-02   -1.28660e-02   -1.35185e-02   -1.40644e-02   -1.44323e-02   -1.46805e-02   -1.49035e-02   -1.50841e-02   -1.52051e-02   -1.52492e-02   -1.49216e-02   -1.40158e-02   -1.26473e-02   -1.09315e-02   -8.98396e-03   -6.17408e-03   -1.92952e-03   3.54704e-03   1.00529e-02   1.73854e-02   2.69868e-02   3.97981e-02   5.48647e-02   7.12318e-02   8.79447e-02   1.07798e-01   1.31634e-01   1.55573e-01   1.75734e-01   1.88236e-01   1.95309e-01   2.01505e-01   2.06425e-01   2.09670e-01   2.10840e-01   2.07682e-01   1.99612e-01   1.88738e-01   1.77169e-01   1.67012e-01   1.58049e-01   1.48875e-01   1.39817e-01   1.31202e-01   1.23357e-01   1.16139e-01   1.09254e-01   1.02804e-01   9.68916e-02   9.16171e-02   8.69021e-02   8.25741e-02   7.85945e-02   7.49244e-02   7.15253e-02   6.83186e-02   6.52838e-02   6.24694e-02   5.99238e-02   5.76954e-02   5.57463e-02   5.39857e-02   5.23832e-02   5.09082e-02   4.95303e-02   4.81935e-02   4.69003e-02   4.57078e-02   4.46728e-02   4.38524e-02   4.32022e-02   4.26347e-02   4.21424e-02   4.17178e-02   4.13532e-02   4.10053e-02   4.06631e-02   4.03678e-02   4.01604e-02   4.00821e-02   4.01604e-02   4.03678e-02   4.06631e-02   4.10053e-02   4.13532e-02   4.17178e-02   4.21424e-02   4.26347e-02   4.32022e-02   4.38524e-02   4.46728e-02   4.57078e-02   4.69003e-02   4.81935e-02   4.95303e-02   5.09082e-02   5.23832e-02   5.39857e-02   5.57463e-02   5.76954e-02   5.99238e-02   6.24694e-02   6.52838e-02   6.83186e-02   7.15253e-02   7.49244e-02   7.85945e-02   8.25741e-02   8.69021e-02   9.16171e-02   9.68916e-02   1.02804e-01   1.09254e-01   1.16139e-01   1.23357e-01   1.31202e-01   1.39817e-01   1.48875e-01   1.58049e-01   1.67012e-01   1.77169e-01   1.88738e-01   1.99612e-01   2.07682e-01   2.10840e-01   2.09670e-01   2.06425e-01   2.01505e-01   1.95309e-01   1.88236e-01   1.75734e-01   1.55573e-01   1.31634e-01   1.07798e-01   8.79447e-02   7.12318e-02   5.48647e-02   3.97981e-02   2.69868e-02   1.73854e-02   1.00529e-02   3.54704e-03   -1.92952e-03   -6.17408e-03   -8.98396e-03   -1.09315e-02   -1.26473e-02   -1.40158e-02   -1.49216e-02   -1.52492e-02   -1.52051e-02   -1.50841e-02   -1.49035e-02   -1.46805e-02   -1.44323e-02   -1.40644e-02   -1.35185e-02   -1.28660e-02   -1.21783e-02   -1.15268e-02   -1.09010e-02   -1.02528e-02   -9.59698e-03   -8.94840e-03   -8.32194e-03   -7.71390e-03   -7.11383e-03   -6.52642e-03   -5.95639e-03   -5.40845e-03   -4.88003e-03   -4.36656e-03   -3.86977e-03   -3.39136e-03   -2.93307e-03   -2.49291e-03   -2.06809e-03   -1.65907e-03   -1.26634e-03   -8.90375e-04   -5.29707e-04   -1.82513e-04   1.51259e-04   4.71659e-04   7.78737e-04   1.07358e-03   1.35736e-03   1.63029e-03   1.89254e-03   2.14432e-03   2.38633e-03   2.61938e-03   2.84381e-03   3.05999e-03   3.26825e-03   3.46903e-03   3.66278e-03   3.84986e-03   4.03062e-03   4.20544e-03   4.37452e-03   4.53810e-03   4.69656e-03   4.85028e-03   4.99966e-03   5.14474e-03   5.28558e-03   5.42256e-03   5.55609e-03   5.68653e-03   5.81385e-03   5.93796e-03   6.05925e-03   6.17807e-03   6.29479e-03   6.40926e-03   6.52136e-03   6.63145e-03   6.73991e-03   6.84712e-03   6.95290e-03   7.05706e-03   7.15992e-03   7.26184e-03   7.36313e-03   7.46364e-03   7.56317e-03   7.66198e-03   7.76034e-03   7.85852e-03   7.95638e-03   8.05374e-03   8.15083e-03   8.24787e-03   8.34508e-03   8.44234e-03   8.53951e-03   8.63677e-03   8.73429e-03   8.83225e-03   8.93061e-03   9.02925e-03   9.12825e-03   9.22768e-03   9.32761e-03   9.42806e-03   9.52898e-03   9.63037e-03   9.73222e-03   9.83452e-03   9.93738e-03   1.00408e-02   1.01446e-02   1.02488e-02   1.03530e-02   1.04576e-02   1.05626e-02   1.06677e-02   1.07727e-02   1.08772e-02   1.09816e-02   1.10862e-02   1.11903e-02   1.12933e-02   1.13948e-02   1.14954e-02   1.15954e-02   1.16940e-02   1.17902e-02   1.18830e-02   1.19738e-02   1.20634e-02   1.21499e-02   1.22317e-02   1.23069e-02   1.23792e-02   1.24507e-02   1.25167e-02   1.25727e-02   1.26142e-02   1.26467e-02   1.26770e-02   1.27022e-02   1.27193e-02   1.27257e-02   1.27139e-02   1.26816e-02   1.26330e-02   1.25726e-02   1.25049e-02   1.24109e-02   1.22733e-02   1.20987e-02   1.18935e-02   1.16643e-02   1.13806e-02   1.10174e-02   1.05895e-02   1.01120e-02   9.59982e-03   8.99842e-03   8.28131e-03   7.50532e-03   6.72730e-03   6.00410e-03   5.30520e-03   4.59178e-03   3.90817e-03   3.29874e-03   2.80782e-03   2.40934e-03   2.05077e-03   1.73680e-03   1.47211e-03   1.26140e-03   1.09052e-03   9.41527e-04   8.13428e-04   7.05217e-04   6.15892e-04   5.40413e-04   4.74077e-04   4.16389e-04   3.66852e-04   3.24970e-04   2.87887e-04   2.53893e-04   2.24214e-04   2.00071e-04   1.82691e-04   
+-4.00000e-03   2.08588e-04   2.27761e-04   2.55428e-04   2.89984e-04   3.29824e-04   3.73344e-04   4.22586e-04   4.81296e-04   5.50421e-04   6.30908e-04   7.23706e-04   8.35220e-04   9.73159e-04   1.14043e-03   1.33993e-03   1.57456e-03   1.88011e-03   2.28626e-03   2.78673e-03   3.37526e-03   4.04558e-03   4.96744e-03   6.21117e-03   7.62138e-03   9.04265e-03   1.03196e-02   1.15601e-02   1.28709e-02   1.40946e-02   1.50740e-02   1.56518e-02   1.59591e-02   1.62225e-02   1.64279e-02   1.65614e-02   1.66090e-02   1.65855e-02   1.65237e-02   1.64370e-02   1.63386e-02   1.62418e-02   1.61403e-02   1.60228e-02   1.58953e-02   1.57637e-02   1.56339e-02   1.55053e-02   1.53738e-02   1.52403e-02   1.51055e-02   1.49702e-02   1.48343e-02   1.46971e-02   1.45590e-02   1.44203e-02   1.42813e-02   1.41419e-02   1.40017e-02   1.38612e-02   1.37206e-02   1.35803e-02   1.34401e-02   1.32997e-02   1.31594e-02   1.30196e-02   1.28805e-02   1.27420e-02   1.26039e-02   1.24664e-02   1.23297e-02   1.21939e-02   1.20590e-02   1.19249e-02   1.17916e-02   1.16593e-02   1.15281e-02   1.13980e-02   1.12688e-02   1.11406e-02   1.10134e-02   1.08872e-02   1.07620e-02   1.06379e-02   1.05147e-02   1.03923e-02   1.02707e-02   1.01500e-02   1.00302e-02   9.91113e-03   9.79268e-03   9.67470e-03   9.55732e-03   9.44063e-03   9.32441e-03   9.20845e-03   9.09252e-03   8.97684e-03   8.86155e-03   8.74634e-03   8.63089e-03   8.51489e-03   8.39854e-03   8.28206e-03   8.16512e-03   8.04741e-03   7.92862e-03   7.80899e-03   7.68871e-03   7.56739e-03   7.44466e-03   7.32012e-03   7.19403e-03   7.06658e-03   6.93734e-03   6.80586e-03   6.67170e-03   6.53504e-03   6.39605e-03   6.25430e-03   6.10937e-03   5.96082e-03   5.80875e-03   5.65324e-03   5.49384e-03   5.33007e-03   5.16148e-03   4.98803e-03   4.80967e-03   4.62597e-03   4.43645e-03   4.24068e-03   4.03842e-03   3.82945e-03   3.61332e-03   3.38959e-03   3.15782e-03   2.91757e-03   2.66838e-03   2.40975e-03   2.14119e-03   1.86222e-03   1.57195e-03   1.26964e-03   9.54943e-04   6.27558e-04   2.87161e-04   -6.75366e-05   -4.37769e-04   -8.23774e-04   -1.22579e-03   -1.64405e-03   -2.08044e-03   -2.53668e-03   -3.01274e-03   -3.50860e-03   -4.02424e-03   -4.56253e-03   -5.12577e-03   -5.71311e-03   -6.32370e-03   -6.95667e-03   -7.61647e-03   -8.30616e-03   -9.02282e-03   -9.76351e-03   -1.05253e-02   -1.13164e-02   -1.21408e-02   -1.29892e-02   -1.38524e-02   -1.47210e-02   -1.56193e-02   -1.65540e-02   -1.74893e-02   -1.83894e-02   -1.92187e-02   -2.00788e-02   -2.09990e-02   -2.18349e-02   -2.24423e-02   -2.26768e-02   -2.25758e-02   -2.22850e-02   -2.18225e-02   -2.12068e-02   -2.04559e-02   -1.86789e-02   -1.51507e-02   -1.01382e-02   -3.90847e-03   3.27141e-03   1.38986e-02   2.98041e-02   4.97218e-02   7.23859e-02   9.65301e-02   1.30308e-01   1.75615e-01   2.21800e-01   2.58208e-01   2.74187e-01   2.76198e-01   2.77792e-01   2.78952e-01   2.79660e-01   2.79900e-01   2.72786e-01   2.54940e-01   2.31607e-01   2.08032e-01   1.89460e-01   1.75649e-01   1.62842e-01   1.51013e-01   1.40137e-01   1.30187e-01   1.20855e-01   1.12002e-01   1.03855e-01   9.66409e-02   9.05863e-02   8.55843e-02   8.12403e-02   7.73494e-02   7.37070e-02   7.01083e-02   6.63822e-02   6.26474e-02   5.91337e-02   5.60709e-02   5.36888e-02   5.19327e-02   5.04982e-02   4.92407e-02   4.80156e-02   4.66784e-02   4.50496e-02   4.32251e-02   4.14735e-02   4.00630e-02   3.92622e-02   3.89321e-02   3.87126e-02   3.85405e-02   3.83522e-02   3.80844e-02   3.75915e-02   3.68914e-02   3.61661e-02   3.55975e-02   3.53675e-02   3.55975e-02   3.61661e-02   3.68914e-02   3.75915e-02   3.80844e-02   3.83522e-02   3.85405e-02   3.87126e-02   3.89321e-02   3.92622e-02   4.00630e-02   4.14735e-02   4.32251e-02   4.50496e-02   4.66784e-02   4.80156e-02   4.92407e-02   5.04982e-02   5.19327e-02   5.36888e-02   5.60709e-02   5.91337e-02   6.26474e-02   6.63822e-02   7.01083e-02   7.37070e-02   7.73494e-02   8.12403e-02   8.55843e-02   9.05863e-02   9.66409e-02   1.03855e-01   1.12002e-01   1.20855e-01   1.30187e-01   1.40137e-01   1.51013e-01   1.62842e-01   1.75649e-01   1.89460e-01   2.08032e-01   2.31607e-01   2.54940e-01   2.72786e-01   2.79900e-01   2.79660e-01   2.78952e-01   2.77792e-01   2.76198e-01   2.74187e-01   2.58208e-01   2.21800e-01   1.75615e-01   1.30308e-01   9.65301e-02   7.23859e-02   4.97218e-02   2.98040e-02   1.38985e-02   3.27141e-03   -3.90844e-03   -1.01381e-02   -1.51506e-02   -1.86788e-02   -2.04558e-02   -2.12067e-02   -2.18224e-02   -2.22849e-02   -2.25757e-02   -2.26767e-02   -2.24422e-02   -2.18348e-02   -2.09989e-02   -2.00788e-02   -1.92187e-02   -1.83894e-02   -1.74893e-02   -1.65540e-02   -1.56193e-02   -1.47210e-02   -1.38524e-02   -1.29892e-02   -1.21408e-02   -1.13164e-02   -1.05253e-02   -9.76351e-03   -9.02282e-03   -8.30616e-03   -7.61647e-03   -6.95667e-03   -6.32370e-03   -5.71311e-03   -5.12577e-03   -4.56253e-03   -4.02424e-03   -3.50860e-03   -3.01274e-03   -2.53668e-03   -2.08044e-03   -1.64405e-03   -1.22579e-03   -8.23774e-04   -4.37769e-04   -6.75366e-05   2.87161e-04   6.27557e-04   9.54942e-04   1.26963e-03   1.57195e-03   1.86222e-03   2.14120e-03   2.40976e-03   2.66839e-03   2.91759e-03   3.15784e-03   3.38961e-03   3.61333e-03   3.82945e-03   4.03842e-03   4.24068e-03   4.43645e-03   4.62597e-03   4.80967e-03   4.98803e-03   5.16148e-03   5.33007e-03   5.49384e-03   5.65324e-03   5.80875e-03   5.96082e-03   6.10937e-03   6.25430e-03   6.39605e-03   6.53504e-03   6.67170e-03   6.80586e-03   6.93734e-03   7.06658e-03   7.19403e-03   7.32012e-03   7.44466e-03   7.56739e-03   7.68871e-03   7.80899e-03   7.92862e-03   8.04741e-03   8.16512e-03   8.28206e-03   8.39854e-03   8.51489e-03   8.63089e-03   8.74634e-03   8.86155e-03   8.97684e-03   9.09252e-03   9.20845e-03   9.32441e-03   9.44063e-03   9.55732e-03   9.67470e-03   9.79268e-03   9.91113e-03   1.00302e-02   1.01500e-02   1.02707e-02   1.03923e-02   1.05147e-02   1.06379e-02   1.07620e-02   1.08872e-02   1.10134e-02   1.11406e-02   1.12688e-02   1.13980e-02   1.15281e-02   1.16593e-02   1.17916e-02   1.19249e-02   1.20590e-02   1.21939e-02   1.23297e-02   1.24664e-02   1.26040e-02   1.27421e-02   1.28806e-02   1.30197e-02   1.31595e-02   1.32997e-02   1.34401e-02   1.35803e-02   1.37206e-02   1.38612e-02   1.40017e-02   1.41419e-02   1.42813e-02   1.44203e-02   1.45590e-02   1.46971e-02   1.48343e-02   1.49702e-02   1.51055e-02   1.52403e-02   1.53738e-02   1.55053e-02   1.56339e-02   1.57637e-02   1.58953e-02   1.60228e-02   1.61403e-02   1.62418e-02   1.63386e-02   1.64370e-02   1.65237e-02   1.65855e-02   1.66090e-02   1.65614e-02   1.64279e-02   1.62225e-02   1.59591e-02   1.56518e-02   1.50740e-02   1.40946e-02   1.28709e-02   1.15601e-02   1.03196e-02   9.04265e-03   7.62138e-03   6.21117e-03   4.96744e-03   4.04558e-03   3.37526e-03   2.78673e-03   2.28626e-03   1.88011e-03   1.57456e-03   1.33993e-03   1.14043e-03   9.73159e-04   8.35219e-04   7.23705e-04   6.30907e-04   5.50419e-04   4.81294e-04   4.22584e-04   3.73342e-04   3.29823e-04   2.89983e-04   2.55427e-04   2.27760e-04   2.08588e-04   
+-4.50000e-03   2.31203e-04   2.51784e-04   2.82154e-04   3.20421e-04   3.64695e-04   4.13085e-04   4.67794e-04   5.33233e-04   6.10826e-04   7.01994e-04   8.08160e-04   9.36368e-04   1.09691e-03   1.29610e-03   1.54022e-03   1.83558e-03   2.24201e-03   2.81825e-03   3.56896e-03   4.49879e-03   5.61240e-03   7.66685e-03   1.09278e-02   1.46627e-02   1.81391e-02   2.06246e-02   2.23819e-02   2.40478e-02   2.54503e-02   2.64177e-02   2.67784e-02   2.65116e-02   2.58379e-02   2.49471e-02   2.40293e-02   2.32743e-02   2.26731e-02   2.20949e-02   2.15471e-02   2.10371e-02   2.05724e-02   2.01496e-02   1.97574e-02   1.93914e-02   1.90471e-02   1.87200e-02   1.84098e-02   1.81172e-02   1.78388e-02   1.75715e-02   1.73122e-02   1.70611e-02   1.68196e-02   1.65858e-02   1.63583e-02   1.61351e-02   1.59166e-02   1.57035e-02   1.54952e-02   1.52907e-02   1.50893e-02   1.48911e-02   1.46965e-02   1.45050e-02   1.43165e-02   1.41305e-02   1.39470e-02   1.37663e-02   1.35880e-02   1.34121e-02   1.32385e-02   1.30671e-02   1.28980e-02   1.27310e-02   1.25661e-02   1.24030e-02   1.22418e-02   1.20826e-02   1.19252e-02   1.17696e-02   1.16155e-02   1.14631e-02   1.13124e-02   1.11633e-02   1.10155e-02   1.08688e-02   1.07234e-02   1.05794e-02   1.04365e-02   1.02945e-02   1.01533e-02   1.00130e-02   9.87373e-03   9.73522e-03   9.59714e-03   9.45921e-03   9.32166e-03   9.18469e-03   9.04794e-03   8.91105e-03   8.77366e-03   8.63602e-03   8.49838e-03   8.36035e-03   8.22155e-03   8.08161e-03   7.94084e-03   7.79947e-03   7.65702e-03   7.51301e-03   7.36695e-03   7.21909e-03   7.06970e-03   6.91832e-03   6.76452e-03   6.60783e-03   6.44851e-03   6.28674e-03   6.12198e-03   5.95369e-03   5.78134e-03   5.60505e-03   5.42497e-03   5.24056e-03   5.05132e-03   4.85670e-03   4.65671e-03   4.45133e-03   4.24002e-03   4.02224e-03   3.79746e-03   3.56549e-03   3.32611e-03   3.07877e-03   2.82289e-03   2.55789e-03   2.28331e-03   1.99869e-03   1.70345e-03   1.39705e-03   1.07892e-03   7.48192e-04   4.04039e-04   4.59451e-05   -3.26607e-04   -7.14132e-04   -1.11792e-03   -1.53928e-03   -1.97878e-03   -2.43699e-03   -2.91446e-03   -3.41321e-03   -3.93513e-03   -4.48062e-03   -5.05006e-03   -5.64384e-03   -6.26483e-03   -6.91576e-03   -7.59680e-03   -8.30812e-03   -9.04989e-03   -9.82650e-03   -1.06416e-02   -1.14944e-02   -1.23840e-02   -1.33094e-02   -1.42776e-02   -1.52936e-02   -1.63535e-02   -1.74536e-02   -1.85901e-02   -1.97774e-02   -2.10219e-02   -2.23080e-02   -2.36200e-02   -2.49424e-02   -2.63327e-02   -2.78022e-02   -2.92659e-02   -3.06386e-02   -3.18352e-02   -3.29884e-02   -3.41760e-02   -3.52311e-02   -3.59866e-02   -3.62756e-02   -3.56956e-02   -3.40390e-02   -3.14312e-02   -2.79973e-02   -2.38626e-02   -1.52891e-02   7.53495e-04   2.30786e-02   5.04995e-02   8.18295e-02   1.41388e-01   2.35848e-01   3.37557e-01   4.18862e-01   4.52109e-01   4.46772e-01   4.32624e-01   4.12461e-01   3.89078e-01   3.65270e-01   3.35649e-01   2.97226e-01   2.56401e-01   2.19571e-01   1.93135e-01   1.75892e-01   1.61688e-01   1.49495e-01   1.38283e-01   1.27023e-01   1.14844e-01   1.02365e-01   9.07868e-02   8.13131e-02   7.51462e-02   7.17201e-02   6.92902e-02   6.72909e-02   6.51572e-02   6.23235e-02   5.76061e-02   5.12333e-02   4.47584e-02   3.97344e-02   3.77146e-02   3.77741e-02   3.79161e-02   3.80856e-02   3.82276e-02   3.82871e-02   3.67623e-02   3.31264e-02   2.87866e-02   2.51507e-02   2.36259e-02   2.42269e-02   2.56601e-02   2.73708e-02   2.88040e-02   2.94050e-02   2.84127e-02   2.60463e-02   2.32219e-02   2.08555e-02   1.98632e-02   2.08555e-02   2.32219e-02   2.60463e-02   2.84127e-02   2.94050e-02   2.88040e-02   2.73708e-02   2.56601e-02   2.42269e-02   2.36259e-02   2.51507e-02   2.87866e-02   3.31264e-02   3.67623e-02   3.82871e-02   3.82276e-02   3.80856e-02   3.79161e-02   3.77741e-02   3.77146e-02   3.97344e-02   4.47584e-02   5.12333e-02   5.76061e-02   6.23235e-02   6.51572e-02   6.72909e-02   6.92902e-02   7.17201e-02   7.51462e-02   8.13131e-02   9.07868e-02   1.02365e-01   1.14844e-01   1.27023e-01   1.38283e-01   1.49495e-01   1.61688e-01   1.75891e-01   1.93135e-01   2.19571e-01   2.56401e-01   2.97227e-01   3.35650e-01   3.65271e-01   3.89078e-01   4.12461e-01   4.32624e-01   4.46772e-01   4.52109e-01   4.18862e-01   3.37558e-01   2.35849e-01   1.41389e-01   8.18311e-02   5.05007e-02   2.30794e-02   7.53892e-04   -1.52890e-02   -2.38626e-02   -2.79973e-02   -3.14312e-02   -3.40390e-02   -3.56956e-02   -3.62756e-02   -3.59866e-02   -3.52311e-02   -3.41760e-02   -3.29884e-02   -3.18352e-02   -3.06386e-02   -2.92659e-02   -2.78022e-02   -2.63327e-02   -2.49424e-02   -2.36200e-02   -2.23080e-02   -2.10219e-02   -1.97774e-02   -1.85901e-02   -1.74536e-02   -1.63535e-02   -1.52936e-02   -1.42776e-02   -1.33094e-02   -1.23840e-02   -1.14944e-02   -1.06416e-02   -9.82650e-03   -9.04989e-03   -8.30811e-03   -7.59679e-03   -6.91574e-03   -6.26480e-03   -5.64381e-03   -5.05004e-03   -4.48063e-03   -3.93516e-03   -3.41324e-03   -2.91446e-03   -2.43690e-03   -1.97857e-03   -1.53894e-03   -1.11748e-03   -7.13664e-04   -3.26193e-04   4.62529e-05   4.04222e-04   7.48262e-04   1.07892e-03   1.39703e-03   1.70343e-03   1.99867e-03   2.28330e-03   2.55789e-03   2.82289e-03   3.07877e-03   3.32611e-03   3.56549e-03   3.79746e-03   4.02224e-03   4.24002e-03   4.45133e-03   4.65671e-03   4.85670e-03   5.05132e-03   5.24056e-03   5.42497e-03   5.60505e-03   5.78134e-03   5.95369e-03   6.12198e-03   6.28674e-03   6.44851e-03   6.60783e-03   6.76452e-03   6.91832e-03   7.06970e-03   7.21909e-03   7.36695e-03   7.51301e-03   7.65702e-03   7.79947e-03   7.94084e-03   8.08161e-03   8.22155e-03   8.36035e-03   8.49838e-03   8.63602e-03   8.77366e-03   8.91105e-03   9.04794e-03   9.18469e-03   9.32166e-03   9.45921e-03   9.59714e-03   9.73522e-03   9.87373e-03   1.00130e-02   1.01533e-02   1.02945e-02   1.04365e-02   1.05794e-02   1.07234e-02   1.08688e-02   1.10155e-02   1.11633e-02   1.13124e-02   1.14631e-02   1.16155e-02   1.17696e-02   1.19252e-02   1.20826e-02   1.22418e-02   1.24030e-02   1.25661e-02   1.27310e-02   1.28980e-02   1.30671e-02   1.32385e-02   1.34121e-02   1.35880e-02   1.37663e-02   1.39470e-02   1.41305e-02   1.43165e-02   1.45050e-02   1.46965e-02   1.48911e-02   1.50893e-02   1.52907e-02   1.54951e-02   1.57035e-02   1.59166e-02   1.61351e-02   1.63583e-02   1.65859e-02   1.68196e-02   1.70612e-02   1.73123e-02   1.75716e-02   1.78388e-02   1.81172e-02   1.84098e-02   1.87199e-02   1.90470e-02   1.93913e-02   1.97573e-02   2.01495e-02   2.05723e-02   2.10370e-02   2.15470e-02   2.20948e-02   2.26731e-02   2.32743e-02   2.40293e-02   2.49471e-02   2.58379e-02   2.65116e-02   2.67784e-02   2.64177e-02   2.54503e-02   2.40478e-02   2.23819e-02   2.06246e-02   1.81391e-02   1.46627e-02   1.09278e-02   7.66686e-03   5.61241e-03   4.49880e-03   3.56896e-03   2.81825e-03   2.24201e-03   1.83558e-03   1.54022e-03   1.29610e-03   1.09692e-03   9.36369e-04   8.08161e-04   7.01994e-04   6.10826e-04   5.33234e-04   4.67794e-04   4.13085e-04   3.64695e-04   3.20421e-04   2.82154e-04   2.51784e-04   2.31203e-04   
+-5.00000e-03   2.48853e-04   2.70662e-04   3.02502e-04   3.42455e-04   3.88604e-04   4.39030e-04   4.95883e-04   5.63638e-04   6.43865e-04   7.38137e-04   8.48024e-04   9.79172e-04   1.14223e-03   1.34625e-03   1.60032e-03   1.91350e-03   2.34097e-03   2.96421e-03   3.83172e-03   4.99199e-03   6.49352e-03   1.31712e-02   2.66535e-02   4.21787e-02   5.49856e-02   6.03127e-02   5.92430e-02   5.65134e-02   5.28431e-02   4.89510e-02   4.55564e-02   4.24793e-02   3.92400e-02   3.61080e-02   3.33530e-02   3.12443e-02   2.96712e-02   2.83188e-02   2.71507e-02   2.61303e-02   2.52214e-02   2.44033e-02   2.36705e-02   2.30091e-02   2.24052e-02   2.18450e-02   2.13242e-02   2.08434e-02   2.03959e-02   1.99752e-02   1.95745e-02   1.91932e-02   1.88328e-02   1.84900e-02   1.81613e-02   1.78434e-02   1.75363e-02   1.72412e-02   1.69563e-02   1.66799e-02   1.64102e-02   1.61474e-02   1.58921e-02   1.56433e-02   1.54003e-02   1.51621e-02   1.49288e-02   1.47006e-02   1.44771e-02   1.42578e-02   1.40422e-02   1.38302e-02   1.36222e-02   1.34176e-02   1.32163e-02   1.30179e-02   1.28225e-02   1.26301e-02   1.24406e-02   1.22536e-02   1.20688e-02   1.18864e-02   1.17064e-02   1.15286e-02   1.13527e-02   1.11784e-02   1.10059e-02   1.08353e-02   1.06663e-02   1.04986e-02   1.03319e-02   1.01664e-02   1.00024e-02   9.83942e-03   9.67709e-03   9.51505e-03   9.35357e-03   9.19290e-03   9.03262e-03   8.87233e-03   8.71164e-03   8.55084e-03   8.39022e-03   8.22929e-03   8.06760e-03   7.90469e-03   7.74088e-03   7.57648e-03   7.41096e-03   7.24380e-03   7.07448e-03   6.90330e-03   6.73056e-03   6.55573e-03   6.37827e-03   6.19766e-03   6.01416e-03   5.82801e-03   5.63863e-03   5.44545e-03   5.24787e-03   5.04611e-03   4.84033e-03   4.62989e-03   4.41414e-03   4.19246e-03   3.96486e-03   3.73137e-03   3.49140e-03   3.24433e-03   2.98954e-03   2.72687e-03   2.45614e-03   2.17667e-03   1.88784e-03   1.58898e-03   1.27967e-03   9.59435e-04   6.27583e-04   2.83407e-04   -7.37978e-05   -4.44840e-04   -8.30561e-04   -1.23171e-03   -1.64903e-03   -2.08328e-03   -2.53578e-03   -3.00791e-03   -3.50047e-03   -4.01426e-03   -4.55011e-03   -5.11003e-03   -5.69612e-03   -6.30928e-03   -6.95042e-03   -7.62046e-03   -8.32231e-03   -9.05905e-03   -9.83183e-03   -1.06418e-02   -1.14900e-02   -1.23808e-02   -1.33186e-02   -1.43048e-02   -1.53407e-02   -1.64277e-02   -1.75722e-02   -1.87805e-02   -2.00541e-02   -2.13941e-02   -2.28019e-02   -2.42880e-02   -2.58617e-02   -2.75223e-02   -2.92692e-02   -3.11017e-02   -3.30429e-02   -3.51061e-02   -3.72759e-02   -3.95368e-02   -4.18736e-02   -4.43986e-02   -4.71317e-02   -4.99185e-02   -5.26047e-02   -5.50358e-02   -5.75005e-02   -6.01209e-02   -6.24928e-02   -6.42123e-02   -6.48753e-02   -6.22863e-02   -5.47238e-02   -4.24945e-02   -2.59051e-02   -5.26228e-03   1.18669e-01   3.81562e-01   6.87766e-01   9.41632e-01   1.04751e+00   9.94993e-01   8.65018e-01   6.98947e-01   5.38145e-01   4.23974e-01   3.47240e-01   2.75101e-01   2.13446e-01   1.68166e-01   1.45151e-01   1.37323e-01   1.32483e-01   1.28834e-01   1.24582e-01   1.17931e-01   1.02717e-01   7.86564e-02   5.27734e-02   3.20923e-02   2.36376e-02   2.68413e-02   3.44807e-02   4.35989e-02   5.12383e-02   5.44420e-02   4.77802e-02   3.18944e-02   1.29339e-02   -2.95187e-03   -9.61366e-03   -5.47639e-03   4.38941e-03   1.61647e-02   2.60305e-02   3.01678e-02   2.48561e-02   1.21896e-02   -2.92841e-03   -1.55949e-02   -2.09066e-02   -1.65767e-02   -6.25157e-03   6.07197e-03   1.63971e-02   2.07270e-02   1.61086e-02   5.09563e-03   -8.04893e-03   -1.90619e-02   -2.36803e-02   -1.90619e-02   -8.04893e-03   5.09563e-03   1.61086e-02   2.07270e-02   1.63973e-02   6.07271e-03   -6.25021e-03   -1.65748e-02   -2.09045e-02   -1.55930e-02   -2.92705e-03   1.21904e-02   2.48563e-02   3.01678e-02   2.60305e-02   1.61647e-02   4.38941e-03   -5.47639e-03   -9.61366e-03   -2.95187e-03   1.29339e-02   3.18944e-02   4.77802e-02   5.44420e-02   5.12383e-02   4.35989e-02   3.44807e-02   2.68413e-02   2.36376e-02   3.20923e-02   5.27734e-02   7.86564e-02   1.02717e-01   1.17931e-01   1.24582e-01   1.28834e-01   1.32483e-01   1.37323e-01   1.45151e-01   1.68166e-01   2.13446e-01   2.75101e-01   3.47240e-01   4.23974e-01   5.38145e-01   6.98947e-01   8.65018e-01   9.94993e-01   1.04751e+00   9.41632e-01   6.87766e-01   3.81562e-01   1.18669e-01   -5.26228e-03   -2.59051e-02   -4.24945e-02   -5.47238e-02   -6.22863e-02   -6.48753e-02   -6.42123e-02   -6.24928e-02   -6.01209e-02   -5.75005e-02   -5.50358e-02   -5.26047e-02   -4.99186e-02   -4.71318e-02   -4.43987e-02   -4.18737e-02   -3.95369e-02   -3.72759e-02   -3.51062e-02   -3.30429e-02   -3.11017e-02   -2.92692e-02   -2.75223e-02   -2.58617e-02   -2.42880e-02   -2.28019e-02   -2.13941e-02   -2.00541e-02   -1.87805e-02   -1.75722e-02   -1.64277e-02   -1.53407e-02   -1.43048e-02   -1.33186e-02   -1.23808e-02   -1.14900e-02   -1.06418e-02   -9.83183e-03   -9.05905e-03   -8.32231e-03   -7.62046e-03   -6.95042e-03   -6.30928e-03   -5.69612e-03   -5.11003e-03   -4.55011e-03   -4.01426e-03   -3.50047e-03   -3.00791e-03   -2.53578e-03   -2.08328e-03   -1.64903e-03   -1.23171e-03   -8.30561e-04   -4.44840e-04   -7.37978e-05   2.83407e-04   6.27584e-04   9.59436e-04   1.27967e-03   1.58898e-03   1.88784e-03   2.17667e-03   2.45613e-03   2.72686e-03   2.98953e-03   3.24432e-03   3.49139e-03   3.73137e-03   3.96485e-03   4.19246e-03   4.41415e-03   4.62989e-03   4.84033e-03   5.04611e-03   5.24787e-03   5.44544e-03   5.63863e-03   5.82800e-03   6.01415e-03   6.19765e-03   6.37826e-03   6.55572e-03   6.73056e-03   6.90330e-03   7.07448e-03   7.24380e-03   7.41096e-03   7.57648e-03   7.74088e-03   7.90469e-03   8.06760e-03   8.22929e-03   8.39022e-03   8.55084e-03   8.71164e-03   8.87233e-03   9.03262e-03   9.19290e-03   9.35357e-03   9.51505e-03   9.67709e-03   9.83942e-03   1.00024e-02   1.01664e-02   1.03319e-02   1.04986e-02   1.06663e-02   1.08353e-02   1.10059e-02   1.11784e-02   1.13527e-02   1.15286e-02   1.17064e-02   1.18864e-02   1.20688e-02   1.22536e-02   1.24406e-02   1.26301e-02   1.28225e-02   1.30179e-02   1.32163e-02   1.34176e-02   1.36221e-02   1.38302e-02   1.40422e-02   1.42579e-02   1.44772e-02   1.47007e-02   1.49289e-02   1.51622e-02   1.54004e-02   1.56434e-02   1.58921e-02   1.61474e-02   1.64102e-02   1.66799e-02   1.69563e-02   1.72412e-02   1.75363e-02   1.78434e-02   1.81613e-02   1.84899e-02   1.88327e-02   1.91931e-02   1.95744e-02   1.99751e-02   2.03959e-02   2.08433e-02   2.13242e-02   2.18450e-02   2.24052e-02   2.30091e-02   2.36705e-02   2.44033e-02   2.52214e-02   2.61303e-02   2.71507e-02   2.83188e-02   2.96712e-02   3.12443e-02   3.33530e-02   3.61080e-02   3.92400e-02   4.24793e-02   4.55564e-02   4.89510e-02   5.28431e-02   5.65134e-02   5.92430e-02   6.03127e-02   5.49856e-02   4.21787e-02   2.66535e-02   1.31712e-02   6.49352e-03   4.99199e-03   3.83172e-03   2.96421e-03   2.34097e-03   1.91350e-03   1.60032e-03   1.34625e-03   1.14223e-03   9.79174e-04   8.48026e-04   7.38139e-04   6.43867e-04   5.63639e-04   4.95884e-04   4.39031e-04   3.88605e-04   3.42456e-04   3.02502e-04   2.70663e-04   2.48854e-04   
Index: /trunk/machine/SOLEIL/StorageRing/RefOrb2Zero.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/RefOrb2Zero.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/RefOrb2Zero.m	(revision 17)
@@ -0,0 +1,15 @@
+%=============================================================
+function varargout=RefOrb2Zero(varargin)
+%=============================================================
+%load zeros into reference orbit and associated fields
+bpm = varargin{1};
+
+for ii=1:2                      %horizontal and vertical
+    ntbpm = length(bpm(ii).name);
+    bpm(ii).iref= (1:ntbpm)';        %indices for reference orbit
+    bpm(ii).ref = zeros(ntbpm,1);    %reference orbit values
+    bpm(ii).des = bpm(ii).ref;       %desired orbit values
+    bpm(ii).abs = bpm(ii).ref;       %used for plotting wrt reference orbit
+end
+
+varargout{1} = bpm;
Index: /trunk/machine/SOLEIL/StorageRing/Ringcycling.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/Ringcycling.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/Ringcycling.m	(revision 17)
@@ -0,0 +1,1225 @@
+function varargout = Ringcycling(varargin)
+% RINGCYCLING M-file for Ringcycling.fig
+%      RINGCYCLING, by itself, creates a new RINGCYCLING or raises the existing
+%      singleton*.
+%
+%      H = RINGCYCLING returns the handle to a new RINGCYCLING or the handle to
+%      the existing singleton*.
+%
+%      RINGCYCLING('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in RINGCYCLING.M with the given input arguments.
+%
+%      RINGCYCLING('Property','Value',...) creates a new RINGCYCLING or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before Ringcycling_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to Ringcycling_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: getcyclecurve, magnetcycle, LT1cycling, setcyclecurve, cyclingcommand
+
+% Edit the above text to modify the response to help Ringcycling
+
+% Last Modified by GUIDE v2.5 21-Mar-2011 15:16:03
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @Ringcycling_OpeningFcn, ...
+                   'gui_OutputFcn',  @Ringcycling_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before Ringcycling is made visible.
+function Ringcycling_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to Ringcycling (see VARARGIN)
+
+% Choose default command line output for Ringcycling
+handles.output = hObject;
+
+% A MODIFIER ULTERIEUREMENT : INACTIVATION DES FONCTIONS
+% CYCLAGE CORRECTEURS / ALL 
+set(handles.checkbox_HCOR,'Value',0);
+set(handles.checkbox_VCOR,'Value',0);
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_all,'Enable','Off');
+%set([handles.checkbox_all,handles.checkbox_HCOR,handles.checkbox_VCOR],...
+%    'Enable','off');
+
+% par defaut type cyclage sur 'full'
+set(handles.popupmenu_type,'Value',2);
+
+% button group sur switch mode simulation ou online 
+h = uibuttongroup('visible','off','Position',[0.56 0.46 .18 .10],...
+    'Title','','TitlePosition','centertop',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u1 = uicontrol('Style','Radio','String','premier element','Tag','radiobutton1',...
+    'pos',[10 25 120 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u2 = uicontrol('Style','Radio','String','toute la famille','Tag','radiobutton2',...
+    'pos',[10 0.95 120 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u1);  % No selection
+set(h,'Visible','on');
+
+% mode de plot
+handles.mode = '1element';
+handles.configmode = 'confignano';
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes Ringcycling wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+list = {'Present', 'Golden', 'UserSelect'};
+set(handles.popupmenu_file,'String',list);
+
+list = {'Simple', 'Full', 'startup'};
+set(handles.popupmenu_type,'String',list);
+
+list = {'Load cycling curve','Start', 'StartOnly', 'Stop', 'Init', 'Pause', 'Resume'};
+set(handles.popupmenu_command,'String',list);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = Ringcycling_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in checkbox_none.
+function checkbox_none_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_none (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_none
+val = get(hObject,'Value');
+
+if val
+    set(handles.checkbox_BEND,'Value',0);
+    set(handles.checkbox_HCOR,'Value',0);
+    set(handles.checkbox_VCOR,'Value',0);
+    set(handles.checkbox_QT,'Value',0);
+    
+    % Quads    
+    for k =1:length(findmemberof('QUAD')), 
+        Name = strcat('Q',num2str(k));
+        set(handles.(['checkbox_',Name]),'Value',0)
+    end
+    
+    % Sextu
+    set(handles.checkbox_S1,'Value',0);
+    set(handles.checkbox_S2,'Value',0);
+    set(handles.checkbox_S3,'Value',0);
+    set(handles.checkbox_S4,'Value',0);
+    set(handles.checkbox_S5,'Value',0);
+    set(handles.checkbox_S6,'Value',0);
+    set(handles.checkbox_S7,'Value',0);
+    set(handles.checkbox_S8,'Value',0);
+    set(handles.checkbox_S9,'Value',0);
+    set(handles.checkbox_S10,'Value',0);
+    set(handles.checkbox_S11,'Value',0);
+    set(handles.checkbox_S12,'Value',0);
+
+    set(handles.checkbox_all,'Value',0);
+    set(handles.checkbox_AllQuad,'Value',0);
+    set(handles.checkbox_AllSextu,'Value',0);
+    set(handles.checkbox_noneQuad,'Value',1);
+    set(handles.checkbox_NoneSextu,'Value',1);
+
+end
+
+% --- Executes on button press in checkbox_all.
+function checkbox_all_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_all
+
+% not used
+disp('checkbox_all_Callback: Not used');
+return;
+val = get(hObject,'Value');
+
+if val
+    set(handles.checkbox_BEND,'Value',1);
+    
+    % Quad
+    
+    for k =1:10, %length(findmemberof('QUAD')), %to avoid nanoscopium 
+        Name = strcat('Q',num2str(k));
+        set(handles.(['checkbox_',Name]),'Value',1)
+    end
+    
+    % Sextu        
+    set(handles.checkbox_S1,'Value',1);
+    set(handles.checkbox_S2,'Value',1);
+    set(handles.checkbox_S3,'Value',1);
+    set(handles.checkbox_S4,'Value',1);
+    set(handles.checkbox_S5,'Value',1);
+    set(handles.checkbox_S6,'Value',1);
+    set(handles.checkbox_S7,'Value',1);
+    set(handles.checkbox_S8,'Value',1);
+    set(handles.checkbox_S9,'Value',1);
+    set(handles.checkbox_S10,'Value',1);
+    % Correctors
+    set(handles.checkbox_HCOR,'Value',1);
+    set(handles.checkbox_VCOR,'Value',1);
+    % none
+    set(handles.checkbox_none,'Value',0);
+end
+
+
+% --- Executes on button press in checkbox_BEND.
+function checkbox_BEND_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BEND (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BEND
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+val = get(handles.checkbox_BEND,'Value');
+valQ1 = get(handles.checkbox_Q1,'Value');valQ2 = get(handles.checkbox_Q2,'Value');
+valQ3 = get(handles.checkbox_Q3,'Value');valQ4 = get(handles.checkbox_Q4,'Value');
+valQ5 = get(handles.checkbox_Q5,'Value');valQ6 = get(handles.checkbox_Q6,'Value');
+valQ7 = get(handles.checkbox_Q7,'Value');valQ8 = get(handles.checkbox_Q8,'Value');
+valQ9 = get(handles.checkbox_Q9,'Value');valQ10 = get(handles.checkbox_Q10,'Value');
+valQtous = get(handles.checkbox_AllQuad,'Value');
+valeurs = [valQ1 valQ2 valQ3 valQ4 valQ5 valQ6 valQ7 valQ8 valQ9 valQ10 valQtous];
+test = ones(11,1)'*0;
+
+if val    
+    if ~isequal(valeurs,test)
+        errordlg('conflit entre Quad et Dipole !','Erreur');
+        set(handles.checkbox_BEND,'Value',0);
+        return
+    end
+    
+    % Disable cycling quadrupole and sextupoles
+    for k = 1:length(findmemberof('QUAD')) % to avoid nanoscopium
+        Name = strcat('Q',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','off')
+    end
+    set(handles.checkbox_AllQuad,'Enable','off');
+
+    set(handles.checkbox_AllSextu,'Enable','off')
+    for k = 1:length(findmemberof('SEXT'))
+        Name = strcat('S',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','off')
+    end    
+
+else
+    val2 = get(handles.checkbox_AllQuad,'Value');
+    if val2==0
+        
+        % Enable cyling of quad and sextu
+        for k = 1:length(findmemberof('QUAD')) % to avoid nanoscopium
+            Name = strcat('Q',num2str(k));
+            set(handles.(['checkbox_',Name]),'Enable','on')
+        end
+        set(handles.checkbox_AllQuad,'Enable','on');
+
+        set(handles.checkbox_AllSextu,'Enable','on')
+        for k = 1:length(findmemberof('SEXT'))
+            Name = strcat('S',num2str(k));
+            set(handles.(['checkbox_',Name]),'Enable','on')
+        end
+
+    end
+end
+
+
+
+% --- Executes on button press in checkbox_Q1.
+function checkbox_Q1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q1
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_HCOR.
+function checkbox_HCOR_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_HCOR (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_HCOR
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_VCOR.
+function checkbox_VCOR_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_VCOR (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_VCOR
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in pushbutton_apply.
+function pushbutton_apply_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_apply (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+contents = get(handles.popupmenu_command,'String');
+command = contents{get(handles.popupmenu_command,'Value')};
+
+switch command
+    case {'Load cycling curve','Start', 'StartOnly', 'Stop','Init','Pause','Resume'}
+        cyclemagnet_local(command,handles);
+    otherwise
+        error('Unknown command name: %s ', command);
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ function cyclemagnet_local(command,handles)
+
+%     [CycleIndex, CycleAO] = isfamily(CycleFamily);
+% 
+%     rep = tango_group_command_inout2(CycleAO.GroupId,'State',1,0);
+
+Family={'QC13','BEND',...
+        'Q1','Q2','Q3','Q4','Q5',...
+        'Q6','Q7','Q8','Q9','Q10',...
+        'Q11', 'Q12', ...
+        'S1','S2','S3','S4','S5',...
+        'S6','S7','S8','S9','S10',...
+        'S11', 'S12', ... 
+        'HCOR','VCOR', 'QT'};    
+    
+Families = {};
+for k =1:length(Family)
+    if get(handles.(['checkbox_',Family{k}]),'Value')
+        Families = {Families{:}, Family{k}};
+    end
+end
+
+% Check if quad ie magnets with offsets used for FFWD on tunes
+quadFlag = 0;
+for k=1:length(Families),
+    if ismemberof(Families{k}, 'QUAD') 
+        quadFlag = 1;
+    end
+end
+
+
+if quadFlag
+    % Disable undulator tune FFWD
+    % tango_write_attribute2('ans/ei/nuffwd', 'booleanResult', uint8(0))
+    % Should give back 0
+    % temp = tango_read_attribute2('ans/ei/nuffwd', 'booleanResult')
+    FFWDFlag = readattribute('ans/ei/nuffwd/booleanResult');
+    if FFWDFlag ~=0
+        errordlg(sprintf('Tune FFWD still active\n Cycling aborted'));
+        return;
+    else
+        Answer = questdlg('Forcing Offsets of quadrupoles to zero (no: cancel)', 'Confirmation box','Yes','No','No');
+        if strcmpi(Answer, 'No')
+            %
+        else
+            setquadoffset2zero
+            pause(1);
+        end
+        % Check Offsets before any cycling
+        % Set offsets to zero
+        lineStr = sprintf('Offsets non zero\n\n');
+        NonZeroOffsetFlag =0; Str1={'yes', 'no'};
+        for k=1:length(Families),
+            if ismemberof(Families{k}, 'QUAD')
+                 % Check offset null
+                 lineStr = [lineStr sprintf('Family % 4s  Offset null ? %s \n', Families{k}, ...
+                     Str1{any(getpv(Families{k}, 'SumOffset') ~= 0)})];
+                 NonZeroOffsetFlag =any(getpv(Families{k}, 'SumOffset') ~= 0) | NonZeroOffsetFlag;
+            end
+        end
+        
+        % Popup menu if nonzero offsets
+        if NonZeroOffsetFlag
+            lineStr = [lineStr sprintf('\n\n Continue ?\n');];
+            Answer = questdlg(lineStr, 'Cycling','Yes','No','No');
+            if strcmpi(Answer, 'No')
+                return;
+            end
+        end
+        % ANS-C10/EI/C-U20_OFFF/nuffCorrectionOuputEnabled
+    end
+end
+
+switch command
+    case {'Start'}
+        % get cycling file
+        contents = get(handles.popupmenu_file,'String');
+        file = contents{get(handles.popupmenu_file,'Value')};
+
+        % get cycling type
+        contents = get(handles.popupmenu_type,'String');
+        type = contents{get(handles.popupmenu_type,'Value')};
+
+        % cycle magnets
+        magnetcycle(type,file,Families,'NoDisplay','Config');
+        
+    case {'StartOnly'}
+        % get cycling file
+        contents = get(handles.popupmenu_file,'String');
+        file = contents{get(handles.popupmenu_file,'Value')};
+
+        % get cycling type
+        contents = get(handles.popupmenu_type,'String');
+        type = contents{get(handles.popupmenu_type,'Value')};
+
+        % Cycle magnet
+        magnetcycle(type,file,Families,'NoDisplay','NoConfig');
+
+    case {'Load cycling curve'}
+        
+        contents = get(handles.popupmenu_file,'String');
+        file = contents{get(handles.popupmenu_file,'Value')};
+
+        % get cycling file
+        contents = get(handles.popupmenu_type,'String');
+        type = contents{get(handles.popupmenu_type,'Value')};
+
+        % Config magnet
+        magnetcycle(type,file,Families,'NoDisplay','Config','NoApply');
+        
+        
+    case {'Stop','Init','Pause','Resume'}
+        for k =1:length(Families)
+            CycleFamily = ['Cycle' Families{k}];
+            cyclingcommand(CycleFamily,command);
+        end
+end
+
+% --- Executes on selection change in popupmenu_command.
+function popupmenu_command_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_command
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_command_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_type.
+function popupmenu_type_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_type (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_type contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_type
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_type_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_type (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_file.
+function popupmenu_file_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_file contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_file
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_file_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+% --- Executes on button press in checkbox_Q2.
+function checkbox_Q2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q2
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_Q3.
+function checkbox_Q3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q3
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_Q4.
+function checkbox_Q4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q4
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_Q5.
+function checkbox_Q5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q5
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_Q6.
+function checkbox_Q6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q6
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_Q7.
+function checkbox_Q7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q7
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_Q8.
+function checkbox_Q8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q8
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_Q9.
+function checkbox_Q9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q9
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_Q10.
+function checkbox_Q10_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q10
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S1.
+function checkbox_S1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S1
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S2.
+function checkbox_S2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S2
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S2.
+function checkbox_S3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S3
+
+
+% --- Executes on button press in checkbox_S4.
+function checkbox_S4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S4
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S5.
+function checkbox_S5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S5
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S6.
+function checkbox_S6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S6
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S7.
+function checkbox_S7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S7
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S8.
+function checkbox_S8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S8
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S9.
+function checkbox_S9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S9
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S11.
+function checkbox_S11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S11
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+
+% --- Executes on button press in checkbox_S12.
+function checkbox_S12_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S12
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_S10.
+function checkbox_S10_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_S10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_S10
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_AllQuad.
+function checkbox_AllQuad_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_AllQuad (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_AllQuad
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+val = get(handles.checkbox_AllQuad,'Value');
+
+% Selection of number for families depending on the config
+switch handles.configmode
+    case 'confignominal'
+        kQmax = 10;
+        kSmax = 10;
+    case 'configS11'
+        kQmax = 10;
+        kSmax = 11;
+    case 'confignano'
+        kQmax = 12;
+        kSmax = 11;
+end
+
+if val
+    set(handles.checkbox_noneQuad,'Value',0);      
+    for k = 1:kQmax, 
+        Name = strcat('Q',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','off')
+        set(handles.(['checkbox_',Name]),'Value',1)
+    end
+    
+    % exclure la montee des dipoles et sextus
+    for k = 1:kSmax
+        Name = strcat('S',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','off')
+    end
+    set(handles.checkbox_AllSextu,'Enable','off');
+    set(handles.checkbox_BEND,'Enable','off');
+end
+
+% --- Executes on button press in checkbox_AllSextu.
+function checkbox_AllSextu_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_AllSextu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_AllSextu
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+val = get(handles.checkbox_AllSextu,'Value');
+
+% Selection of number for families depending on the config
+switch handles.configmode
+    case 'confignominal'
+        kQmax = 10;
+        kSmax = 10;
+    case 'configS11'
+        kQmax = 10;
+        kSmax = 11;
+    case 'confignano'
+        kQmax = 12;
+        kSmax = 11;
+end
+
+if val
+    set(handles.checkbox_NoneSextu,'Value',0);    
+      
+    for k = 1:kSmax,
+        Name = strcat('S',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','off');
+        set(handles.(['checkbox_',Name]),'Value',1)
+    end
+    % Disable cycling on quad and dipole
+    for k = 1:kQmax,
+        Name = strcat('Q',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','off')
+    end
+    set(handles.checkbox_AllQuad,'Enable','off');
+    set(handles.checkbox_BEND,'Enable','off');
+
+else
+    
+    for k = 1:kSmax,
+        Name = strcat('S',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','on')
+    end
+    % rendre possible la montee des dipoles et quad
+    for k = 1:kQmax,
+        Name = strcat('Q',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','on')
+    end
+    set(handles.checkbox_AllQuad,'Enable','on');
+    set(handles.checkbox_BEND,'Enable','on');
+end
+
+
+
+% --- Executes on button press in courbe_pushbutton.
+function courbe_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to courbe_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% valBEND = get(handles.checkbox_BEND,'Value');
+% valQ1 = get(handles.checkbox_Q1,'Value');valQ2 = get(handles.checkbox_Q2,'Value');
+% valQ3 = get(handles.checkbox_Q3,'Value');valQ4 = get(handles.checkbox_Q4,'Value');
+% valQ5 = get(handles.checkbox_Q5,'Value');valQ6 = get(handles.checkbox_Q6,'Value');
+% valQ7 = get(handles.checkbox_Q7,'Value');valQ8 = get(handles.checkbox_Q8,'Value');
+% valQ9 = get(handles.checkbox_Q9,'Value');valQ10 = get(handles.checkbox_Q10,'Value');
+% valQtous = get(handles.checkbox_AllQuad,'Value');
+% valS1 = get(handles.checkbox_S1,'Value');valS2 = get(handles.checkbox_S2,'Value');
+% valQ3 = get(handles.checkbox_S3,'Value');valS4 = get(handles.checkbox_S4,'Value');
+% valS5 = get(handles.checkbox_S5,'Value');valS6 = get(handles.checkbox_S6,'Value');
+% valS7 = get(handles.checkbox_S7,'Value');valS8 = get(handles.checkbox_S8,'Value');
+% valS9 = get(handles.checkbox_S9,'Value');valS10 = get(handles.checkbox_S10,'Value');
+% valStous = get(handles.checkbox_AllSextu,'Value');
+% %valeurs = [valQ1 valQ2 valQ3 valQ4 valQ5 valQ6 valQ7 valQ8 valQ9 valQ10 valQtous];
+% test = ones(11,1)'*0;
+
+%  for i = 1:10
+%       name = strcat('valQ',num2str(i))
+%        if eval(name)
+
+name=['axes' num2str(1)];
+axes(handles.(name));
+
+Family={'BEND', 'HCOR', 'VCOR',...
+    'Q1','Q2','Q3','Q4','Q5',...
+    'Q6','Q7','Q8','Q9','Q10',...
+    'Q11','Q12', ...
+    'S1','S2','S3','S4','S5',...
+    'S6','S7','S8','S9','S10', ...
+    'S11', 'S12'};    
+    
+hold off;
+
+for k =1:length(Family)
+    if get(handles.(['checkbox_',Family{k}]),'Value')
+        Name = strcat('Cycle',Family{k});
+        %Name = Family{k};
+
+        %vect = getfamilydata(Name,'DeviceName');
+        vect = family2tangodev(Name);
+        if ~iscell(vect)
+            vect = {vect};
+        end
+        if strcmp(handles.mode,'1element')
+            jend = 1;
+        elseif strcmp(handles.mode,'lafamille')
+            jend = length(vect);
+        end
+
+        % plot de la courbe de cyclage du premier element magnetique de la
+        % famille)
+        for j = 1:jend
+            curve = getcyclecurve(vect{j});
+
+            if iscell(curve)
+                for k=1:length(curve),
+                    n = size(curve{k}.Data,1);
+                    % time vector
+                    cums = cumsum(curve{k}.Data(:,2))';
+                    x = [cums; cums];
+                    x = reshape(x,1,2*n);
+                    x = [0 x(1:end-1)];
+
+                    % amplitude vector
+                    y = [curve{k}.Data(:,1),curve{k}.Data(:,1)]';
+                    y = reshape(y,1,2*n);
+                    
+                    plot(x,y,'b.-');
+                    xlabel('Temps (s)');
+                    ylabel('Courant [A]');
+                    ylim([min(y) max(y)*1.05]);
+                    title(['Cycling curve for ' curve{k}.DeviceName]);
+                    grid on
+                end
+            else
+                n = size(curve,1);
+                % time vector
+                cums = cumsum(curve(:,2))';
+                x = [cums; cums];
+                x = reshape(x,1,2*n);
+                x = [0 x(1:end-1)];
+
+                % amplitude vector
+                y = [curve(:,1),curve(:,1)]';
+                y = reshape(y,1,2*n);
+
+
+                plot(x,y,'b.-');
+                xlabel('Temps (s)');
+                ylabel('Courant [A]');
+                ylim([min(y)*1.1 max(y)*1.1]);
+                title('Courbe de cyclage');
+                grid on
+            end
+            hold on
+        end
+        hold on
+    end
+end
+
+
+
+% --- Executes on button press in checkbox_QC13.
+function checkbox_QC13_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_QC13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_QC13
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+val = get(handles.checkbox_QC13,'Value');
+
+
+% --- Executes on button press in pushbutton_singledevice.
+function pushbutton_singledevice_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_singledevice (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        % 'Mode' = 'Simulation';
+        handles.mode = '1element';
+       
+    case 'radiobutton2'
+        % code piece when radiobutton_configS11 is selected goes here 
+        % '.Mode' = 'Machine';
+        handles.mode = 'lafamille';
+end
+% Update handles structure
+guidata(hObject, handles);
+
+
+% --- Executes on button press in checkbox_noneQuad.
+function checkbox_noneQuad_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_noneQuad (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_noneQuad
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+val = get(handles.checkbox_noneQuad,'Value');
+
+if val
+    set(handles.checkbox_AllQuad,'Value',0);
+    for k = 1:length(findmemberof('QUAD'))
+        Name = strcat('Q',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','on')
+        set(handles.(['checkbox_',Name]),'Value',0)
+    end
+
+    % rendre possible la montee des dipoles et sextus
+    for k = 1:length(findmemberof('SEXT'))
+        Name = strcat('S',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','on')
+    end
+    set(handles.checkbox_AllSextu,'Enable','on');
+    set(handles.checkbox_BEND,'Enable','on');
+end
+
+
+% --- Executes on button press in checkbox_NoneSextu.
+function checkbox_NoneSextu_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_NoneSextu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_NoneSextu
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+val = get(handles.checkbox_NoneSextu,'Value');
+
+if val
+    set(handles.checkbox_AllSextu,'Value',0);    
+    for k = 1:length(findmemberof('SEXT'))
+        Name = strcat('S',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','on')
+        set(handles.(['checkbox_',Name]),'Value',0)
+    end
+
+    % Enable cycling of quads abd dipole
+    for k = 1:length(findmemberof('QUAD'))
+        Name = strcat('Q',num2str(k));
+        set(handles.(['checkbox_',Name]),'Enable','on')
+    end
+    set(handles.checkbox_AllQuad,'Enable','on');
+    set(handles.checkbox_BEND,'Enable','on');
+end
+
+
+% --- Executes on button press in checkbox_Q11.
+function checkbox_Q11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q11
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+
+% --- Executes on button press in checkbox_Q12.
+function checkbox_Q12_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q12
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+
+
+
+% --- Executes on button press in pushbutton_CyclingStatus.
+function pushbutton_CyclingStatus_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_CyclingStatus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+Families={'BEND', 'HCOR', 'VCOR', 'QT', ...
+    'Q1','Q2','Q3','Q4','Q5',...
+    'Q6','Q7','Q8','Q9','Q10',...
+    'Q11','Q12', ...
+    'S1','S2','S3','S4','S5',...
+    'S6','S7','S8','S9','S10', ...
+    'S11','S12', ...
+    };    
+
+FamilyNumber = length(Families);
+
+totalProgression = zeros(1, FamilyNumber);
+
+for k1=1:FamilyNumber,
+    CycleFamily = ['Cycle' Families{k1}];
+    [CycleIndex, CycleAO] = isfamily(CycleFamily);   
+    totalProgression(k1) =  mean(tango_group_read_attribute2(CycleAO.GroupId,'totalProgression'));
+end
+%
+fprintf('\nCycling state, %s\n',datestr(now))
+for k1=1:FamilyNumber,
+    fprintf('Family %s, cycling state: %03.0f %%\t', Families{k1}, totalProgression(k1))
+    if k1~=1 && mod(k1+1,2) , 
+        fprintf('\n')
+    end
+end
+
+
+% --- Executes on selection change in popupmenu_singledevice.
+function popupmenu_singledevice_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_singledevice (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_singledevice contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_singledevice
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_singledevice_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_singledevice (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+set(hObject, 'String', family2tangodev('Qall'));
+
+
+% --- Executes on button press in pushbutton_FFWD_ON.
+function pushbutton_FFWD_ON_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_FFWD_ON (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+writeattribute('ans/ei/nuffwd/booleanResult', uint8(1));
+pushbutton_FFWDStatus_Callback(hObject, eventdata, handles);
+
+% --- Executes on button press in pushbutton_FFWD_OFF.
+function pushbutton_FFWD_OFF_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_FFWD_OFF (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+writeattribute('ans/ei/nuffwd/booleanResult', uint8(0));
+pushbutton_FFWDStatus_Callback(hObject, eventdata, handles);
+
+% --- Executes on button press in pushbutton_FFWDStatus.
+function pushbutton_FFWDStatus_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_FFWDStatus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.checkbox_FFWD_STATUS, 'Enable', 'Off');
+pause(3)
+FFWDFlag = readattribute('ans/ei/nuffwd/booleanResult');
+% any(getpv({'Q1','Q2', 'Q3', 'Q4', 'Q5', ...
+%     'Q6','Q7', 'Q8', 'Q9', 'Q10'}, 'SumOffset') ~= 0)
+set(handles.checkbox_FFWD_STATUS, 'Value', FFWDFlag);
+set(handles.checkbox_FFWD_STATUS, 'Enable', 'On');
+
+
+% --- Executes on button press in pushbutton_offset2zero.
+function pushbutton_offset2zero_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_offset2zero (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+Answer = questdlg('Forcing Offsets of quadrupole magnets to zero (no: cancel)', 'Confirmation box','Yes','No','No');
+if strcmpi(Answer, 'No')
+    %
+else
+    setquadoffset2zero
+end
+        
+% --- Executes on button press in pushbutton_plotoffset.
+function pushbutton_plotoffset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plotoffset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+plotquad('Offset1','NoMean')
+
+% --- Executes on button press in pushbutton_plotcurrentPM.
+function pushbutton_plotcurrentPM_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plotcurrentPM (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+plotquad('Setpoint','NoMean')
+
+
+% --- Executes on button press in pushbutton_current.
+function pushbutton_current_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_current (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+plotquad('Mean')
+plotquad('NoMean')
+
+
+% --- Executes when selected object is changed in uipanel_gestionConfig.
+function uipanel_gestionConfig_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to the selected object in uipanel_gestionConfig 
+% eventdata  structure with the following fields (see UIBUTTONGROUP)
+%	EventName: string 'SelectionChanged' (read only)
+%	OldValue: handle of the previously selected object or empty if none was selected
+%	NewValue: handle of the currently selected object
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(hObject,'Tag')  % Get Tag of selected object
+    case 'radiobutton_confignominal'
+        % code piece when radiobutton1 is selected goes here
+        handles.configmode = 'confignominal';
+       
+    case 'radiobutton_configS11'
+        % code piece when radiobutton_configS11 is selected goes here 
+        handles.configmode = 'configS11';
+
+    case 'radiobutton_confignano'
+        % code piece when radiobutton_configS11 is selected goes here 
+        handles.configmode = 'confignano';
+end
+% Update handles structure
+guidata(hObject, handles);
+
+
+% --- Executes on button press in checkbox_QT.
+function checkbox_QT_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_QT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_QT
Index: /trunk/machine/SOLEIL/StorageRing/SortBPMs.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/SortBPMs.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/SortBPMs.m	(revision 17)
@@ -0,0 +1,59 @@
+function varargout = sortbpms(varargin)
+%SORTBPMS - Compares vectors for several cases:
+%(1) available electronically (BPM.status)
+%(2) available in reference orbit (BPM.iref)
+%(3) available in response matrix (RSP.ib)
+%*** BPM.avail requires reference, response matrix, status
+%
+% INPUTS
+% 1. Bpm structure
+% 2. Response matrix structure
+%
+% OUTPUTS
+% 1. Updated BPM structure
+
+% 
+% Written by Jeff Corbett
+% Modified by Laurent S. Nadolski
+
+BPM = varargin{1};
+RSP = varargin{2};
+
+% [C,IA,IB] = INTERSECT(A,B) returns index vectors IA and IB
+% such that C = A(IA) and C = B(IB)
+% [C,I] = SETDIFF(...) returns an index vector I such that C = A(I)
+
+for ip = 1:2
+    % compare status with reference orbit
+    [BPM(ip).avail,IA,IB] = intersect(BPM(ip).iref,BPM(ip).status); %BPM.iref and BPM.status are compressed
+    [C,IA] = setdiff(BPM(ip).iref,BPM(ip).iref(IA));                %check for rejected reference BPMs
+    if ~isempty(IA)
+        disp('SortBPMs Warning 1A: BPMs in reference orbit do not have valid status');
+        for ii = IA
+            disp(BPM(ip).name(ii,:));
+        end
+    end
+
+    % compare result with response matrix
+    [BPM(ip).avail,IA,IB] = intersect(BPM(ip).avail,RSP(ip).ib);  %BPM.avail and RSP.ib are compressed
+    [C,IA] = setdiff(BPM(ip).avail,BPM(ip).avail(IA));            %check for rejected available BPMs
+    if ~isempty(IA)
+        disp('SortBPMs Warning 2A: BPMs with valid status and in reference orbit not in response matrix');
+        for ii=IA
+            disp(BPM(ip).name(ii,:));
+        end
+    end
+
+    % compare result with fit selection
+    [BPM(ip).ifit,IA,IB] = intersect(BPM(ip).avail,BPM(ip).ifit); %BPM.avail and BPM.ifit are compressed
+    [C,IA] = setdiff(BPM(ip).avail,BPM(ip).avail(IA));            %check for rejected available BPMs   
+    if ~isempty(IA)
+        disp('SortBPMs Warning 3A: BPMs with valid status, in reference orbit, and in response matrix not in fit');
+        for ii = IA
+            disp(BPM(ip).name(ii,:));
+        end
+    end
+
+end  %end of plane loop
+
+varargout{1} = BPM;
Index: /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/TuneMovePanel.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/TuneMovePanel.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/TuneMovePanel.m	(revision 17)
@@ -0,0 +1,408 @@
+function varargout = TuneMovePanel(varargin)
+% TUNEMOVEPANEL M-file for TuneMovePanel.fig
+%      TUNEMOVEPANEL, by itself, creates a new TUNEMOVEPANEL or raises the existing
+%      singleton*.
+%
+%      H = TUNEMOVEPANEL returns the handle to a new TUNEMOVEPANEL or the handle to
+%      the existing singleton*.
+%
+%      TUNEMOVEPANEL('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in TUNEMOVEPANEL.M with the given input arguments.
+%
+%      TUNEMOVEPANEL('Property','Value',...) creates a new TUNEMOVEPANEL or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before TuneMovePanel_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to TuneMovePanel_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help TuneMovePanel
+
+% Last Modified by GUIDE v2.5 05-Aug-2005 17:18:44
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @TuneMovePanel_OpeningFcn, ...
+                   'gui_OutputFcn',  @TuneMovePanel_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before TuneMovePanel is made visible.
+function TuneMovePanel_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to TuneMovePanel (see VARARGIN)
+
+% Choose default command line output for TuneMovePanel
+handles.output = hObject;
+
+% Update handles structure
+display('Launching Tune Move Panel ....');
+
+theReset(hObject, eventdata, handles)
+
+%tunespaceplot([18 18.5] , [8 8.5], 8, 4, handles.webAxe);
+
+% UIWAIT makes TuneMovePanel wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = TuneMovePanel_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function dqField_Callback(hObject, eventdata, handles)
+% hObject    handle to dqField (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of dqField as text
+%        str2double(get(hObject,'String')) returns contents of dqField as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function dqField_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dqField (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+% --- Executes on button press in qyUpButton.
+function qyUpButton_Callback(hObject, eventdata, handles)
+% hObject    handle to qyUpButton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dQx=0;
+dQy=str2double(get(handles.dqField,'string'));
+thesteptune(dQx,dQy);
+UpdatePlot(hObject, handles);
+% --- Executes on button press in qyDownButton.
+function qyDownButton_Callback(hObject, eventdata, handles)
+% hObject    handle to qyDownButton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dQx=0;
+dQy=str2double(get(handles.dqField,'string'));
+thesteptune(dQx,-dQy);
+UpdatePlot(hObject, handles);
+% --- Executes on button press in qxUpButton.
+function qxUpButton_Callback(hObject, eventdata, handles)
+% hObject    handle to qxUpButton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dQx=str2double(get(handles.dqField,'string'));
+dQy=0;
+thesteptune(dQx,dQy);
+UpdatePlot(hObject, handles);
+
+% --- Executes on button press in qxDownButton.
+function qxDownButton_Callback(hObject, eventdata, handles)
+% hObject    handle to qxDownButton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dQx=str2double(get(handles.dqField,'string'));
+dQy=0;
+thesteptune(-dQx,dQy);
+UpdatePlot(hObject, handles);
+
+%% Update the Plots
+
+function UpdatePlot(hObject, handles)
+
+global THERING;
+handles.THERING = THERING;
+[TD, tune, chrom] = twissring(handles.THERING,0,1:handles.L+1,'chrom', 1e-8);
+BETA = cat(1,TD.beta);
+S    = cat(1,TD.SPos);
+Disp =cat(2,TD.Dispersion);
+
+
+set(handles.betax,'YData',BETA(:,1));
+set(handles.qxText,'String',num2str(tune(1)));
+
+set(handles.betay,'YData',BETA(:,2));
+set(handles.qyText,'String',num2str(tune(2)));
+
+set(handles.dx, 'YData', 10*Disp(1,:)');
+
+delete(handles.QDot);
+
+handles.Qx = tune(1);
+handles.Qy = tune(2);
+handles.QDot = line('parent',handles.webAxe,'XData',handles.Qx,'YData',handles.Qy,'Marker','+','MarkerSize',12.0);
+
+[name, val] = quad_getsetpoint; 
+
+%handles.figure1;
+quad_table('title', name, val, [0.1 0.45 0.2 0.325]);
+set(handles.cxText,'String',num2str(chrom(1)));
+set(handles.cyText,'String',num2str(chrom(2)));
+if handles.emitCalc
+    e=getemit(TD);
+    set(handles.emitText,'String',num2str(e(1)));
+else
+    set(handles.emitText,'String','No Calc');
+end
+guidata(hObject,handles);
+
+
+% --- Executes on button press in summaryButton.
+function summaryButton_Callback(hObject, eventdata, handles)
+% hObject    handle to summaryButton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in emitCheckBox.
+function emitCheckBox_Callback(hObject, eventdata, handles)
+% hObject    handle to emitCheckBox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of emitCheckBox
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    handles.emitCalc=true;
+else
+    % checkbox is not checked-take approriate action
+    handles.emitCalc=false;
+end
+guidata(hObject,handles);
+
+function thesteptune(dqx, dqy)
+%ALBAsteptune(dqx, dqy);
+% original was
+steptune([dqx dqy],'Model'); % Laurent
+
+
+% --------------------------------------------------------------------
+function optionsMeno_Callback(hObject, eventdata, handles)
+% hObject    handle to optionsMeno (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function panelResetMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to panelResetMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+delete(handles.QDot);
+delete(handles.betax);
+delete(handles.betay);
+delete(handles.dx);
+theReset (hObject, eventdata, handles)
+
+% Local reset function
+function theReset(hObject, eventdata, handles)
+global THERING
+
+handles.L    = length(THERING);
+[TD, tune]   = twissring(THERING,0,1:handles.L+1);
+handles.spos = findspos(THERING,1:handles.L+1);
+handles.THERING = THERING;
+handles.betax   =	line('parent',handles.betaAxe,'XData',handles.spos,'YData',0*handles.spos,'Color','r');
+handles.betay   =	line('parent',handles.betaAxe,'XData',handles.spos,'YData',0.*handles.spos,'Color','b');
+handles.dx      =	line('parent',handles.betaAxe,'XData',handles.spos,'YData',0.*handles.spos,'Color','g');
+
+guidata(hObject,handles);
+
+drawlattice_local(handles, -1, 1);
+
+xlabel(handles.betaAxe,'s - position [m]');
+ylabel(handles.betaAxe,'\beta [m]');
+xaxis([0 handles.spos(handles.L+1)/4], handles.betaAxe);
+
+
+handles.Qx = tune(1);
+handles.Qy = tune(2);
+handles.emitCalc = true;
+handles.QDot = line('parent',handles.webAxe,'XData',handles.Qx,'YData',handles.Qy,'Marker','+');
+UpdatePlot(hObject, handles);
+
+
+% resonance diagramme
+handles.webAxe;
+max_order= 5;
+per = 4;
+
+window = [tune(1)-0.255 tune(1)+0.255 tune(2)-0.255 tune(2)+0.255];
+
+for i = max_order:-1:1,
+    [k, tab] = reson(i,per,window);
+end
+
+axis(window);
+
+handles.betaAxe;
+set(handles.emitCheckBox, 'Value',1);
+
+
+function drawlattice_local(hParent, Offset, Scaling)
+%DRAWLATTICE - Draws the AT lattice to a figure
+%  drawlattice(Offset, Scaling)
+%
+
+if nargin < 2
+    Offset = 0;
+end
+Offset = Offset(1);
+if nargin < 3
+    Scaling = 1;
+end
+Scaling = Scaling(1);
+
+global THERING
+
+SPositions = findspos(THERING, 1:length(THERING)+1);
+L = SPositions(end);
+line('parent',hParent.betaAxe,'XData',[0 L],'YData',[0 0]+Offset,'Color','k');
+
+% Remember the hold state then turn hold on
+HoldState = ishold;
+hold on;
+
+% Make default icons for elements of different physical types
+for i = 1:length(THERING)
+    SPos = SPositions(i);
+    if isfield(THERING{i},'BendingAngle') & THERING{i}.BendingAngle
+        % make icons for bending magnets
+        IconHeight = .3;
+        IconColor = [1 1 0];
+        IconWidth = THERING{i}.Length;
+        if IconWidth < .15 % meters
+            IconWidth = .15;
+            SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+        end
+        vx = [SPos SPos+IconWidth SPos+IconWidth SPos];
+        vy = [IconHeight IconHeight -IconHeight -IconHeight];
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-','parent',hParent.betaAxe);
+        %if IconWidth < .1 % meters
+        %    set(h, 'EdgeColor', IconColor);
+        %end
+
+    elseif isfield(THERING{i},'K') & THERING{i}.K
+        % Quadrupole
+        if THERING{i}.K > 0
+            % Focusing quadrupole
+            IconHeight = .6;
+            IconColor = [1 0 0];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < .15 % meters
+                IconWidth = .15;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos SPos+IconWidth/2  SPos+IconWidth SPos+IconWidth/2 SPos];
+            vy = [0          IconHeight               0      -IconHeight    0];
+        else
+            % Defocusing quadrupole
+            IconHeight = .6;
+            IconColor = [0 0 1];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < .15 % meters
+                IconWidth = .15;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos+.4*IconWidth    SPos    SPos+IconWidth  SPos+.6*IconWidth  SPos+IconWidth    SPos      SPos+.4*IconWidth];
+            vy = [     0            IconHeight   IconHeight          0              -IconHeight  -IconHeight    0];
+        end
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-','Parent',hParent.betaAxe);
+        %if IconWidth < .1 % meters
+        %    set(h, 'EdgeColor', IconColor);
+        %end
+
+    elseif isfield(THERING{i},'PolynomB') & length(THERING{i}.PolynomB)>2 & THERING{i}.PolynomB(3)
+        % Sextupole
+        if THERING{i}.PolynomB(3)>0
+            % Focusing sextupole
+            IconHeight = .5;
+            IconColor = [1 0 1];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < .1 % meters
+                IconWidth = .1;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos          SPos+.33*IconWidth  SPos+.66*IconWidth  SPos+IconWidth   SPos+IconWidth   SPos+.66*IconWidth  SPos+.33*IconWidth      SPos          SPos];
+            vy = [IconHeight/3      IconHeight          IconHeight        IconHeight/3    -IconHeight/3      -IconHeight          -IconHeight     -IconHeight/3  IconHeight/3];
+        else
+            % Defocusing sextupole
+            IconHeight = .5;
+            IconColor = [0 1 0];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < .1 % meters
+                IconWidth = .1;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos          SPos+.33*IconWidth  SPos+.66*IconWidth  SPos+IconWidth   SPos+IconWidth   SPos+.66*IconWidth  SPos+.33*IconWidth      SPos          SPos];
+            vy = [IconHeight/3      IconHeight          IconHeight        IconHeight/3    -IconHeight/3      -IconHeight          -IconHeight     -IconHeight/3  IconHeight/3];
+        end
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-');
+        %if IconWidth < .1 % meters
+        %    set(h, 'EdgeColor', IconColor);
+        %end
+
+    elseif isfield(THERING{i},'Frequency') & isfield(THERING{i},'Voltage')
+        % RF cavity
+        IconColor = [1 0.5 0];
+        plot(SPos, 0+Offset, 'o', 'MarkerFaceColor', IconColor, 'Color', IconColor, 'MarkerSize', 4)
+
+    elseif strcmpi(THERING{i}.FamName,'BPM')
+        % BPM
+        IconColor = 'k';
+        plot(SPos, 0+Offset, '.-', 'Color', IconColor)
+        %plot(SPos, 0, 'o', 'MarkerFaceColor', IconColor, 'Color', IconColor, 'MarkerSize', 1.5)
+
+    elseif any(strcmpi(THERING{i}.FamName,{'COR','XCOR','YCOR','HCOR','VCOR'})) | isfield(THERING{i},'KickAngle')
+        % Corrector
+        IconHeight = .8;
+        IconColor = [0 0 0];
+        vx = [SPos   SPos];
+        vy = [-IconHeight IconHeight];
+        %plot(vx, Scaling*vy+Offset, 'Color', IconColor);
+        IconWidth = THERING{i}.Length;
+        vx = [SPos SPos+IconWidth SPos+IconWidth SPos];
+        vy = [IconHeight IconHeight -IconHeight -IconHeight];
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle', '-','parent',hParent.betaAxe);
+        if IconWidth < .1 % meters
+            set(h, 'EdgeColor', IconColor);
+        end
+    end
+end
+
+
+% Leave the hold state as it was at the start
+if ~HoldState
+    hold off
+end
+%yaxis([-3 3]);
Index: /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/quad_getsetpoint.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/quad_getsetpoint.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/quad_getsetpoint.m	(revision 17)
@@ -0,0 +1,20 @@
+function [quadlist val] = quad_getsetpoint
+% QUAD_GETSETPOINT - Read First element of each quadrupole family
+%
+%  OUTPUTS
+%  1. quadlist - qaudrupole family list
+%  2. val      - first value of  quadrupoles
+
+% Written By M. Munoz
+% Modified by Laurent S. Nadolski
+
+
+quadlist = findmemberof('QUAD')';
+imax = size(quadlist,2);
+data = getsp(quadlist,'Model','Physics');
+
+val = cell(1,imax);
+
+for k = 1:imax,
+    val{k} = data{k}(1);
+end
Index: /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/quad_table.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/quad_table.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/TuneMovePanel/quad_table.m	(revision 17)
@@ -0,0 +1,36 @@
+function [handle] = quad_table(title, name, value, position)
+% [handle, b] =  quad_table(title, name, value) title is a string name is a
+% column of strings with the names of the quads value is a column of
+% strings with the values of the quads handle is handle to the mathworks
+% MWFrame b is a handle to mathworks MWListbox b.getSelectedRows => gets
+% you the index of the row currently selected by mouse, beginning with
+% zero!!! -- example: [handle, b] = gui_sheet('nice table', qualist,
+% vallist)
+%
+%
+% requires Java runtime environment installed and mathworks components ver.
+% 0.5
+
+% GPL License (www.google.com), feel free to modify it, if you have any
+% questions or interesting modifications, please send an email. there is a
+% problem with some screen resolutions, you can modify it according to your
+% needs, or add another input parameters you can access: cursor position,
+% data in the table, visibility of the listbox or frame data. this file is
+% far from complete, it is just an example on how to put a table into
+% matlab gui (in this case only external window) if you have any idea on
+% how to put a table into an existing gui window, i`ll be very thankful for
+% hints and tips.
+
+ncol=2;
+nrows=size(name,2);
+data = cell(nrows,2);
+
+for i=1:nrows,
+    data(i,:)=[name(i) value(i)] ;
+end
+
+t = uitable(data,[{'Name'} {'k'}]);
+set(t,'Editable',false);
+set(t,'Units','normalized')
+set(t,'Position',position);
+handle=t;
Index: /trunk/machine/SOLEIL/StorageRing/aoinit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/aoinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/aoinit.m	(revision 17)
@@ -0,0 +1,93 @@
+function aoinit(SubMachineName)
+%AOINIT - Initialization function for the Matlab Middle Layer (MML)
+%
+%
+%  See Also soleilinit, setpathsoleil, updateatindex, setoperationalmode
+
+% Written by Laurent S. Nadolski
+
+if exist('SubMachineName', 'var') && ~strcmpi(SubMachineName, 'StorageRing')
+    error('Wrong SubMachine %s', SubMachineName)
+end
+
+[statuss WHO] = system('whoami');
+% system gives back an visible character: carriage return!
+% so comparison on the number of caracters
+
+% The path should not be modified in standalone mode
+if ~isdeployed_local
+
+    MMLROOT = getmmlroot;
+    %MMLDATAROOT = getmmldataroot;
+    
+    % Make sure mml is high on the path
+    % why is it important
+    % August Test at this place in order not to shadow new BBA
+    addpath(fullfile(MMLROOT, 'mml'),'-begin');
+
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'bpm'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'quad'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'tune'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'feedforward'));
+    
+    if strncmp(WHO, 'operateur',9), % means controlroom
+        addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'fonction_test'));
+        addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'fonction_test','couplage'));
+        addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'fonction_test','photon'));
+    end
+    
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'insertions'));
+    %addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'insertions','proc_emphu'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'loco'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'FOFB'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'KEM'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'orbit'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'PSB'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRingOpsData'));
+    
+    % APPLICATIONS
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'Lattices'));
+    % A. Madur BBA Applicaiton
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing','BBA'));
+    % MML tune BBA application
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing','bba_mml'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing','steerette'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing','energytunette'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing','RFPostmortem'));
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing','diagnostics'));
+    addpath(fullfile(MMLROOT, 'mml', 'setorbitbumpgui'));        
+    addpath(fullfile(MMLROOT, 'mml', 'setorbitgui'));        
+    addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'couplage')); % coupling related functions
+
+    %addpath(fullfile(MMLROOT, 'applications', 'orbit')); % Greg appli
+    %addpath(fullfile(MMLROOT, 'applications', 'orbit', 'lib')); % Greg appli
+    
+   
+    if strncmp(WHO, 'operateur',9), % means controlroom    
+        addpath(fullfile('/home/operateur/GrpDiagnostics/matlab/FOFB', 'GUI'));
+        addpath(fullfile('/home/operateur/GrpPhysiqueMachine/Laurent/matlab', 'FOFB'));
+        disp(['TANGO/MATLAB binding version: ' tango_version])
+    else
+       % Dedicated directory for development (not operation) modes on Hyperion 
+       addpath(fullfile(getdvptdirectory, 'StorageRingDvptData'));
+       addpath(fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'RadiaMapGui'));
+    end
+    
+    disp('Startup file for Matlab Middle Layer read with success');
+
+end
+
+% Initialize the MML for machine
+
+soleilinit;
+
+function RunTimeFlag = isdeployed_local
+% isdeployed is not in matlab 6.5
+V = version;
+if str2double(V(1,1)) < 7
+    RunTimeFlag = 0;
+else
+    RunTimeFlag = isdeployed;
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/bbacentergui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/bbacentergui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/bbacentergui.m	(revision 17)
@@ -0,0 +1,593 @@
+function varargout = bbacentergui(varargin)
+% BBACENTERGUI M-file for bbacentergui.fig
+%      BBACENTERGUI, by itself, creates a new BBACENTERGUI or raises the existing
+%      singleton*.
+%
+%      H = BBACENTERGUI returns the handle to a new BBACENTERGUI or the handle to
+%      the existing singleton*.
+%
+%      BBACENTERGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in BBACENTERGUI.M with the given input arguments.
+%
+%      BBACENTERGUI('Property','Value',...) creates a new BBACENTERGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before bbacentergui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to bbacentergui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help bbacentergui
+
+% Last Modified by GUIDE v2.5 30-Aug-2011 18:35:59
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+    'gui_Singleton',  gui_Singleton, ...
+    'gui_OpeningFcn', @bbacentergui_OpeningFcn, ...
+    'gui_OutputFcn',  @bbacentergui_OutputFcn, ...
+    'gui_LayoutFcn',  [] , ...
+    'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before bbacentergui is made visible.
+function bbacentergui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to bbacentergui (see VARARGIN)
+
+% Choose default command line output for bbacentergui
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes bbacentergui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+initDirectory;
+
+function initDirectory
+% selection the direcotry to save the BBA data
+
+RootDirectory = fileparts(getfamilydata('Directory', 'BBA'));
+DirName = RootDirectory;
+while ~ischar(DirName) || (strcmpi(DirName, RootDirectory) || exist(DirName, 'dir') ~=7)
+    DirName = uigetdir(RootDirectory, 'Select or create a BBA directory');
+    if strcmpi(DirName, RootDirectory)
+        h = warndlg('Abort: Directory is not correct. Choose a subdirectory');
+        uiwait(h)
+    elseif ischar(DirName) && exist(DirName, 'dir') ~=7
+        warndlg('Abort: Directory not selected');
+    end
+end
+cd(DirName); % gotodirectory
+quadsetup(DirName);
+%cd(DirName);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = bbacentergui_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in checkbox_Q1.
+function checkbox_Q1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q1
+
+% --- Executes on button press in checkbox_Q2.
+function checkbox_Q2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q2
+
+
+% --- Executes on button press in checkbox_Q3.
+function checkbox_Q3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q3
+
+
+% --- Executes on button press in checkbox_Q4.
+function checkbox_Q4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q4
+
+
+% --- Executes on button press in checkbox_Q5.
+function checkbox_Q5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q5
+
+
+% --- Executes on button press in checkbox_Q6.
+function checkbox_Q6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q6
+
+
+% --- Executes on button press in checkbox_Q7.
+function checkbox_Q7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q7
+
+
+% --- Executes on button press in checkbox_Q8.
+function checkbox_Q8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q8
+
+
+% --- Executes on button press in checkbox_Q9.
+function checkbox_Q9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q9
+
+
+% --- Executes on button press in checkbox_Q10.
+function checkbox_Q10_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q10
+
+
+% --- Executes on button press in checkbox_Hplane.
+function checkbox_Hplane_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Hplane (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Hplane
+
+% --- Executes on button press in checkbox_Vplane.
+function checkbox_Vplane_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Vplane (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Vplane
+
+
+% --- Executes on selection change in listbox1.
+function listbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox1
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in listbox2.
+function listbox2_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox2
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_Add.
+function pushbutton_Add_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Add (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in pushbutton_Remove.
+function pushbutton_Remove_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Remove (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+function launchBBA(handles)
+% main function for BBA
+
+[tmp WHO] =system('whoami');
+if strncmp(WHO, 'operateur',9),
+    ControlRoomFlag = 1;
+    Mode = 'Online';
+else
+    ControlRoomFlag = 0;
+    Mode = 'Simulator';
+end
+
+%initialization
+HFlag = 0;
+VFlag = 0;
+plane = -1;
+QuadDev = [];
+
+% get flags for planes
+if get(handles.checkbox_Hplane,'Value') == 1
+    HFlag = 1;
+end
+
+% get flags for planes
+if get(handles.checkbox_Vplane,'Value') == 1
+    VFlag = 1;
+end
+
+if (HFlag == 1) && (VFlag == 1)
+    plane = 0;
+    StrPlane = sprintf('\nH and V planes\n');
+elseif (HFlag == 1)
+    plane = 1;
+    StrPlane = sprintf('\nH-plane only\n');
+elseif (VFlag == 1)
+    plane = 2;
+    StrPlane = sprintf('\nV-plane only\n');
+else
+    warndlg('Abort: Select a plane first')
+    return;
+end
+
+
+% get BPM for doing BBA
+
+% Quadrupole Family Selection
+if get(handles.radiobutton_Quad, 'Val') == 1
+    FamilyList = {};
+    for k = 1:12,
+        if get(eval(['handles.checkbox_Q' num2str(k)]),'Value') == 1
+            FamilyList = {FamilyList{:}, ['Q' num2str(k)]};
+        end
+    end
+
+    if isempty(FamilyList)
+        FamilyList = getfamilylist;
+        [tmp,i] = ismemberof(FamilyList,'QUAD');
+        if ~isempty(i)
+            FamilyList = FamilyList(i,:);
+        end
+        if size(FamilyList,1) == 1
+            QuadFamily = deblank(FamilyList);
+        else
+            [i,ok] = listdlg('PromptString', 'Select a quadrupole family:', ...
+                'SelectionMode', 'single', ...
+                'ListString', FamilyList);
+            if ok == 0
+                return
+            else
+                QuadFamily = deblank(FamilyList(i,:));
+            end
+        end
+
+        
+        QuadDev = editlist(getlist(QuadFamily),QuadFamily,zeros(length(getlist(QuadFamily)),1));
+
+        if isempty(QuadDev)
+            warndlg('Abort: No quadrupole selected');
+            return;
+        end
+
+        clear FamilyList;
+        FamilyList{1} = QuadFamily;
+        StringMessage = sprintf('Do you want to start BBA on quadrupoles ?');
+        StringMessage = [StringMessage StrPlane];
+        for k=1:size(QuadDev, 1),
+            StringMessage = [StringMessage, sprintf('\n %s(%d,%d)', FamilyList{1}, QuadDev(k,:))];
+        end
+
+    else
+        StringMessage = sprintf('Do you want to start BBA on All quadrupoles of familyname?');
+        StringMessage = [StringMessage StrPlane];
+        for k=1:size(FamilyList, 2),
+            StringMessage = [StringMessage, sprintf('\n %s', FamilyList{k})];
+        end
+
+    end
+    StartFlag = questdlg(StringMessage, 'BBAgui','Yes','No','No');
+    if strcmp(StartFlag,'No')
+        disp('   ********************************');
+        disp('   **        BBA Aborted         **');
+        disp('   ********************************');
+        fprintf('\n');
+        return
+    end
+    
+    
+    if isempty(QuadDev)
+    %Fullfamily
+    for k = 1:size(FamilyList, 2),
+        % get device list
+        DevList = family2dev(FamilyList{k});
+        % do BBA
+        quadcenter(FamilyList{k}, DevList, plane);
+    end
+    else
+        % individual quadrupoles
+        for k = 1:size(QuadDev, 1),
+            % do BBA
+            quadcenter(FamilyList{1}, QuadDev(k,:), plane);
+        end
+    end
+    h = warndlg('BBA measurement done.');    
+    if ControlRoomFlag
+        tango_giveInformationMessage('BBA fini');
+    end
+    uiwait(h)
+end
+
+
+% if BPM choice list
+% test if BPM list selected
+if get(handles.radiobutton_BPM, 'Val') == 1
+    % Interface start with all or non BPM selected
+    if get(handles.radiobutton_ALLBPM,'Value')
+        newList = editlist(getlist('BPMx'), 'BPMx', ones(size(getlist('BPMx'),1)));
+    else
+        newList = editlist(getlist('BPMx'), 'BPMx', zeros(size(getlist('BPMx'),1)));
+    end
+    if isempty(newList)
+        warndlg('Abort: No BPM selected');
+        return;
+    end
+    Quadstruct = bpm2quad4bba('BPMx', newList );
+
+    StringMessage = sprintf('Do you want to start BBA on all these quadrupoles?');
+    StringMessage = [StringMessage StrPlane];
+    for k=1:size(newList, 1),
+        if rem(k,2) == 1,
+            StringMessage = [StringMessage, sprintf('\n BPM(%2d,%2d) %s(%2d, %2d)', newList(k,:), ...
+                Quadstruct(k).Family1, Quadstruct(k).DevList1)];
+        else
+            StringMessage = [StringMessage, sprintf('\t BPM(%2d,%2d) %s(%2d, %2d)', newList(k,:), ...
+                Quadstruct(k).Family1, Quadstruct(k).DevList1)];
+        end
+        if ~isempty(Quadstruct(k).Family2)
+            StringMessage = [StringMessage, sprintf(' %s(%d, %d)',  ...
+                Quadstruct(k).Family2, Quadstruct(k).DevList2)];
+        end
+    end
+    
+    StringMessage = [StringMessage, sprintf('\n \n .')]; 
+    StartFlag = questdlg(StringMessage, 'BBAgui','Yes','No','No');
+    if strcmp(StartFlag,'No')
+        disp('   ********************************');
+        disp('   **        BBA Aborted         **');
+        disp('   ********************************');
+        fprintf('\n');
+        return
+    end
+
+    for k = 1:length(Quadstruct),
+        quadcenter(Quadstruct(k).Family1, Quadstruct(k).DevList1, plane)
+        if ~isempty(Quadstruct(k).Family2)
+            quadcenter(Quadstruct(k).Family2, Quadstruct(k).DevList2, plane)
+        end
+    end
+    h = warndlg('BBA measurement done.');
+    if ControlRoomFlag
+        tango_command_inout2(devSpeakerName,'DevTalk','BBA fini');
+    end
+    uiwait(h)
+end
+
+% --- Executes on button press in pushbutton_start.
+function pushbutton_start_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_start (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+StartFlag = questdlg(sprintf('Start BBA measurement. First Check\n\nShaker and tune measurement ON\n\nBooster OFF\nFBT OFF\nSOFB & FOFB OFF\n\n Are you sure?'), 'Start Confirmation box','Yes','No','No');
+if strcmp(StartFlag,'No')
+    disp('   ********************************');
+    disp('   **   Start not applied      **');
+    disp('   ********************************');
+    fprintf('\n');
+    return
+end
+
+launchBBA(handles)
+
+% --- Executes on button press in pushbutton_plotRawData.
+function pushbutton_plotRawData_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plotRawData (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Dir0 = pwd;
+cd(getfamilydata('Directory', 'BBAcurrent'))
+quadplot;
+cd(Dir0);
+
+% --- Executes on button press in pushbutton_plotFinalOffset.
+function pushbutton_plotFinalOffset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plotFinalOffset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Dir0 = pwd;
+cd(getfamilydata('Directory', 'BBAcurrent'))
+quadcalcoffset;
+cd(Dir0);
+
+% --- Executes on button press in pushbutton_createFile.
+function pushbutton_createFile_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_createFile (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Dir0 = pwd;
+cd(getfamilydata('Directory', 'BBAcurrent'))
+quadcalcoffset('Write', 'NoDisplay');
+cd(Dir0);
+
+
+% --- Executes on button press in pushbutton_plotAllRawData.
+function pushbutton_plotAllRawData_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plotAllRawData (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Dir0 = pwd;
+cd(getfamilydata('Directory', 'BBAcurrent'))
+quadplotall;
+cd(Dir0);
+
+
+% --- Executes on button press in pushbutton_selectDirectory.
+function pushbutton_selectDirectory_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_selectDirectory (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+initDirectory
+
+
+% --- Executes on button press in pushbutton_applyBBAOffset.
+function pushbutton_applyBBAOffset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_applyBBAOffset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% force computation of offsets
+
+pushbutton_createFile_Callback(handles.pushbutton_createFile, eventdata, handles)
+
+StartFlag = questdlg('Do you want to generate  offset table for jive?', 'Apply Offset','Yes','No','No');
+if strcmp(StartFlag,'No')
+    disp('   ********************************');
+    disp('   **   Offsets not applied      **');
+    disp('   ********************************');
+    fprintf('\n');
+    return
+end
+
+% H and V-plane
+fileNameH = fullfile(getfamilydata('Directory', 'BBAcurrent'), 'tableBBAH.mat');
+fileNameV = fullfile(getfamilydata('Directory', 'BBAcurrent'), 'tableBBAV.mat');
+Dir0 = pwd;
+cd ('/home/operateur/GrpDiagnostics/matlab/DserverBPM');
+
+
+% both plane
+if exist(fileNameH, 'file') == 2 && exist(fileNameV, 'file') == 2
+    Set_BBA_Offsets_planHV('ADD', fileNameH, fileNameV)
+elseif exist(fileNameH, 'file') == 2
+% Only H-plane
+    Set_BBA_Offsets_planH('ADD', fileNameH)
+elseif exist(fileNameV, 'file') == 2
+% Only V-plane
+    Set_BBA_Offsets_planV('ADD', fileNameV)
+end
+
+cd(Dir0)
+
+message = sprintf(['Mise en production des offsets mesures\n', ...
+    '\n 1. Ouvrir jive-rw', ...
+    '\n 2. Remplacer la propriete ''Blockparameters'' dans l''onglet Property/BPM', ...
+    '\n 3. Faire une (plus si besoin) commande ''init'' des BPM avec le bouton ''init on all BPMs'' \n']);
+uiwait(msgbox(message,'Intructions','modal'));
+
+
+% --- Executes on button press in pushbutton_InitBPM.
+function pushbutton_InitBPM_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_InitBPM (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+StartFlag = questdlg('Init on all BPM. Are you sure?', 'Init Confirmation box','Yes','No','No');
+if strcmp(StartFlag,'No')
+    disp('   ********************************');
+    disp('   **   Init not applied      **');
+    disp('   ********************************');
+    fprintf('\n');
+    return
+end
+
+commandName = 'Init';
+tango_group_command_inout2(getfamilydata('BPMx', 'GroupId'),commandName,0,0);
+
+
+% --- Executes on button press in checkbox_Q11.
+function checkbox_Q11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q11
+
+
+% --- Executes on button press in checkbox_Q12.
+function checkbox_Q12_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Q12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Q12
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quad2bpm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quad2bpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quad2bpm.m	(revision 17)
@@ -0,0 +1,141 @@
+function [BPMFamilyOutput, BPMDevOutput, DeltaSpos, PhaseAdvance] = quad2bpm(QUADFamily, QUADDev, LocationFlag)
+%QUAD2BPM - Return the nearest BPM to the specified quadrupole
+%  [BPMFamily, BPMDeviceList, DeltaSpos, PhaseAdvance] = quad2bpm(QUADFamily, QUADDev, LocationFlag)
+%
+%  INPUTS
+%  1. QUADFamily - Quadrupole family (1 family only (row string))
+%  2. QUADDeviceList - Quadrupole device list
+%  3. LocationFlag - Only search BPM positions that are 'UpStream' or 'DownStream' {Default for transport lines} 
+%                    of the quadrupole.  Else no location preference is used {Default for rings}.
+%
+%  OUTPUTS
+%  1. BPMFamily
+%  2. BPMDeviceList
+%  3. DeltaSpos - Distance from the Quad to the BPM   
+%  4. PhaseAdvance - Phase advance from the quadrupole to the BPM (using the model) [radians]
+%
+%  NOTES
+%  1. ThickQuadFlag takes into account quadrupole length since AT give
+%  element position at entrance
+%  2. At SOLEIL, for Q10, the BPM used is not the closest one but the
+%  second closest one. The code is patched for this BBA purpose
+%  3. Patch for BPM [13 8] and [13 9] of Nanoscopium
+%
+%  See Also bpm2quad
+
+%
+%  Written by Gregory J. Portmann
+%  Modified by Laurent S. Nadolski
+
+ThickQuadFlag = 1; % If thick quad, if 1 s-position is true center, else entrance of element
+
+if nargin < 1
+    QUADFamily = '';
+end
+
+% default quad family is the first one
+if isempty(QUADFamily)
+    QUADFamily = findmemberof('QUAD');
+    QUADFamily = QUADFamily{1};
+end
+
+if nargin < 2
+    QUADDev = [];
+end
+
+% Default device list is the first one
+if isempty(QUADDev)
+    QUADDev = family2dev(QUADFamily);
+    QUADDev = QUADDev(1,:);
+end
+
+if nargin < 3
+    LocationFlag = '';
+end
+
+% Location Flag: can be Downstream for lines and any for rings
+if isempty(LocationFlag)
+    if any(strcmpi(getfamilydata('MachineType'), {'Transport','Transportline','Linac'}))
+        LocationFlag = 'DownStream';
+    else
+        LocationFlag = 'Any';
+    end
+end
+
+
+% Get all the BPM families
+BPMFamilyList = getfamilylist;
+[tmp, i] = ismemberof(BPMFamilyList, 'BPM');
+% if empty takes first one
+if ~isempty(i)
+    BPMFamilyList = BPMFamilyList(i,:);
+else
+    BPMFamilyList = [gethbpmfamily,getvbpmfamily];
+end
+
+
+% Find the BPM next to the Quad
+BPMFamilyOutput = [];
+for k = 1:size(QUADDev,1)
+    % get quadrupole s-positions 
+    % (AT gives position at entrance of element)
+    if ThickQuadFlag % then add half of the quad length
+        QUADspos = getspos(QUADFamily, QUADDev(k,:));
+        QUADspos = QUADspos + getleff(QUADFamily, QUADDev(k,:))/2;
+    else
+        QUADspos = getspos(QUADFamily, QUADDev(k,:));
+    end
+    
+    % if asked, compute phase advance at the middle of the quad
+    % The phase is just (phase_entrance+phase_exit)/2
+    if nargout >= 4
+        ATIndex = family2atindex(QUADFamily, QUADDev(k,:));
+        [PhiQx,  PhiQy] = modeltwiss('Phase', 'All');
+        i = findrowindex(ATIndex, (1:length(PhiQx))');
+        PhiQx = (PhiQx(i) + PhiQx(i+1))/2;
+    end
+
+    % search for closest BPM to specified quad
+    Del = inf;
+    for j = 1:size(BPMFamilyList,1)
+        % get BPM s-positions
+        Family = deblank(BPMFamilyList(j,:));
+        BPMDevList = family2dev(Family);
+        BPMspos    = getspos(Family);
+        
+        if strcmpi(LocationFlag, 'DownStream')
+            i = find(abs(BPMspos-QUADspos)==min(abs(BPMspos-QUADspos)) & BPMspos>QUADspos);
+        elseif strcmpi(LocationFlag, 'UpStream')
+            i = find(abs(BPMspos-QUADspos)==min(abs(BPMspos-QUADspos)) & BPMspos<QUADspos);
+        else
+            i = find(abs(BPMspos-QUADspos)==min(abs(BPMspos-QUADspos)));
+        end
+
+        if strcmpi(QUADFamily, 'Q10')
+            % take the second closest BPM
+            tmpBPMspos = BPMspos;
+            tmpBPMspos(i) = Inf;
+            i = find(abs(tmpBPMspos-QUADspos)==min(abs(tmpBPMspos-QUADspos)));
+        end              
+        
+        BPMDev{j} = BPMDevList(i,:);
+        
+        if abs(BPMspos(i)-QUADspos) < Del
+            BPMFamilyMin = Family;
+            BPMDevMin = BPMDev{j};        
+            Del = abs(BPMspos(i)-QUADspos);
+            DelwithSign = BPMspos(i)-QUADspos;
+        end
+    end
+    
+    BPMFamilyOutput = strvcat(BPMFamilyOutput, BPMFamilyMin);
+    BPMDevOutput(k,:) = BPMDevMin;        
+    DeltaSpos(k,1) = DelwithSign;
+    
+    % If asked
+    % Get the phase advance between the BPM and Quad in the model
+    if nargout >= 4
+        [PhiX,   PhiY]  = modeltwiss('Phase', BPMFamilyOutput, BPMDevOutput(k,:));
+        PhaseAdvance = PhiX - PhiQx;
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcalcoffset.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcalcoffset.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcalcoffset.m	(revision 17)
@@ -0,0 +1,351 @@
+function [Offsetx Offsety] = quadcalcoffset(varargin)
+% Compute final BBA offsets, especially for the 40 combined BPMs
+%
+%  INPUTS
+%  Optional
+%  1. 'Write', 'NoWrite' - Create file to be used for application onto Liberas
+%  2. 'Display', 'NoDisplay' - plot computed final offset
+%
+%  See Also quadgetdat, quadplotAll
+
+
+%
+%  NOTES
+%  1. Application
+%     use /home/operateur/GrpDiagnostics/matlab/DserverBPM/Set_BBA_Offsets_planH.m and Set_BBA_Offsets_planV.m
+%     use file tableBBAH.mat and tableBBAV
+%     Set_BBA_Offsets_planH('ADD')
+%     Set_BBA_Offsets_planV('ADD')
+%
+
+%
+% Written by Laurent S. Nadolski
+
+DebugFlag = 0;
+DisplayFlag = 1;
+WriteFlag = 0; % write results for applying to TANGO
+
+for i = length(varargin):-1:1
+    if ~isempty(varargin)
+        if strcmpi(varargin{i}, 'Display')
+            DisplayFlag = 1;
+            varargin(i) = [];
+        elseif strcmpi(varargin{i}, 'NoDisplay')
+            DisplayFlag = 0;
+            varargin(i) = [];
+        elseif strcmpi(varargin{i}, 'Write')
+            WriteFlag = 1;
+            varargin(i) = [];
+        elseif strcmpi(varargin{i}, 'NoWrite')
+            WriteFlag = 0;
+            varargin(i) = [];
+        end
+    end
+end
+
+Offsetx = [];
+Offsety = [];
+
+% List of BPM whose offset is determined by 2 quadrupoles
+doubleBPMListQ2Q3 =[
+    1     3
+    4     7
+    5     3
+    8     7
+    9     3
+    12     7
+    13     3
+    16     7
+    ];
+
+doubleBPMListQ6Q7 = [
+    1     7
+    2     3
+    2     8
+    3     3
+    3     8
+    4     3
+    5     7
+    6     3
+    6     8
+    7     3
+    7     8
+    8     3
+    9     7
+    10     3
+    10     8
+    11     3
+    11     8
+    12     3
+    13     7
+    14     3
+    14     8
+    15     3
+    15     8
+    16     3
+    ];
+
+doubleBPMListQ4Q5=[
+    1     4
+    4     4
+    5     4
+    8     4
+    9     4
+    12     4
+    13     4
+    16     4
+    ];
+
+doubleBPMListQ11Q12=[
+    13    9
+    ];
+
+doubleBPMList = [doubleBPMListQ2Q3 ; doubleBPMListQ4Q5 ; doubleBPMListQ6Q7; doubleBPMListQ11Q12];
+
+% get data from BBA
+[X, Y, BPMxFamily, QUADxFamily, BPMyFamily, QUADyFamily, DateMatX, DateMatY, QUADxDevList, QUADyDevList] = quadgetdata([], 0);
+
+
+DIR0 = pwd;
+cd(getfamilydata('Directory', 'BBAcurrent'));
+
+% Maker saying if offset has been calculated
+% -1 if not enough data
+% -2 if too many files
+%  1 if offset computed
+if ~isempty(X)
+    isDonex=zeros(size(X(:,1)));
+end
+if ~isempty(Y)
+
+    isDoney=zeros(size(Y(:,1)));
+end
+
+if ~isempty(X)
+    % look for double BPM in measdata in H-plane
+    for k=1:size(X(:,1))
+        %isdoubleBPM
+        if isDonex(k) == 0 % offset to be determined
+            if ~isempty(findrowindex(X(k,1:2), doubleBPMList))
+                if DebugFlag
+                    fprintf('BPMx(%d,%d) offset determined by 2 quadrupoles\n', X(k,1), X(k,2));
+                end
+                % look for the 2 set of data on meas data
+                Idx = find(X(:,1) == X(k,1) & X(:,2) == X(k,2));
+                NbOfData = length(Idx);
+                if NbOfData < 2
+                    fprintf('BPMx(%d,%d) only %d data %s(%d,%d): missing data\n', ...
+                        X(k,1), X(k,2), NbOfData, QUADxFamily(k,:), QUADxDevList(k,:));
+                    isDonex(k) = -1;
+                elseif NbOfData > 2
+                    fprintf('BPMx(%d,%d)  %d : too many data\n', X(k,1), X(k,2), NbOfData);
+                    for ik=1:NbOfData,
+                        fprintf('%s(%d,%d)\n', QUADxFamily(Idx(ik),:), QUADxDevList(Idx(ik),:));
+                        str = sprintf(' bba%d%s%dh* ', QUADxDevList(Idx(ik),1), deblank(QUADxFamily(Idx(ik),:)), QUADxDevList(Idx(1),2));
+                        system(['ls -C1 ' str]);
+
+                    end
+                    fprintf('\n')
+                    isDonex(Idx) = -2;
+                else % check data are well from 2 different quadrupoles
+                    if diff(X(Idx,8)) == 0
+                        fprintf('BPMx(%d,%d) not properly determined : same quad %s(%d,%d)\n', X(k,1), X(k,2), QuadxFamily(Idx), X(k,10:11));
+                    else %Compute combined offset
+                        Offsetx = [Offsetx; X(Idx(1),:)];
+                        [tmpOffset tmpSigma]= getCombinedOffset(X(Idx,:), QUADxFamily(Idx,:), QUADxDevList(Idx,:), 1);
+                        Offsetx(end, 3) = tmpOffset;
+                        Offsetx(end, 4) = tmpSigma;
+                        Offsetx(end, 6) = mean(X(Idx,6)); % Mean current
+                        Offsetx(end, 8) = NaN;
+                        Offsetx(end, 9) = NaN;
+                        isDonex(Idx) = 1;
+                    end
+                end
+            else % single BPM-quad offset
+                % Check for too many data
+                Idx = find(X(:,1) == X(k,1) & X(:,2) == X(k,2));
+                NbOfData = length(Idx);
+                if NbOfData > 1
+                    fprintf('BPMx(%d,%d)  too many data (%d)\n', X(k,1), X(k,2), NbOfData);
+                    str = sprintf(' bba%d%s%dh* ', QUADxDevList(Idx(1),1), deblank(QUADxFamily(Idx(1),:)), QUADxDevList(Idx(1),2));
+                    system(['ls -C1 ' str]);
+                    isDonex(Idx) = -2;
+                else
+                    isDonex(k) = 1; % do nothing since computation already done by quadgetdata
+                    Offsetx = [Offsetx; X(k,:)];
+                end
+            end
+        end
+    end
+end
+
+% look for double BPM in measdata in H-plane
+if ~isempty(Y)
+    for k=1:size(Y(:,1))
+        %isdoubleBPM
+        if isDoney(k) == 0 % offset already determined
+            if ~isempty(findrowindex(Y(k,1:2), doubleBPMList))
+                if DebugFlag
+                    fprintf('BPMz(%d,%d) offset determined by 2 quadrupoles\n', Y(k,1), Y(k,2));
+                end
+                % look for the 2 set of data on meas data
+                Idx = find(Y(:,1) == Y(k,1) & Y(:,2) == Y(k,2));
+                NbOfData = length(Idx);
+                if NbOfData < 2
+                    fprintf('BPMz(%d,%d) only %d data %s(%d,%d): missing data\n', ...
+                        Y(k,1), Y(k,2), NbOfData, QUADyFamily(k,:), QUADyDevList(k,:));
+                    isDoney(k) = -1;
+                elseif NbOfData > 2
+                    fprintf('BPMz(%d,%d)  %d: too many data\n', Y(k,1), Y(k,2), NbOfData);
+                    for ik=1:NbOfData,
+                        fprintf('%s(%d,%d)\n', QUADyFamily(Idx(ik),:), QUADyDevList(Idx(ik),:));
+                        str = sprintf(' bba%d%s%dv* ', QUADyDevList(Idx(ik),1), deblank(QUADyFamily(Idx(ik),:)), QUADyDevList(Idx(1),2));
+                        system(['ls -C1 ' str]);
+                    end
+                    
+                    fprintf('\n')
+                    isDoney(Idx) = -2;
+                else % check data are well from 2 different quadrupoles
+                    if diff(Y(Idx,8)) == 0
+                        fprintf('BPMz(%d,%d) not properly determined: same quad %s(%d,%d)\n', Y(k,1), Y(k,2), QUADyFamily(Idx(1),:), QUADyDevList(Idx(1),:));
+                    else %Compute combined offset
+                        Offsety = [Offsety; Y(Idx(1),:)];
+                        [tmpOffset tmpSigma]= getCombinedOffset(Y(Idx,:), QUADyFamily(Idx,:), QUADyDevList(Idx,:), 2);
+                        Offsety(end, 3) = tmpOffset;
+                        Offsety(end, 4) = tmpSigma;
+                        Offsety(end, 6) = mean(Y(Idx,6)); % Mean current
+                        Offsety(end, 8) = NaN;
+                        Offsety(end, 9) = NaN;
+                        isDoney(Idx) = 1;
+                    end
+                end
+            else % single BPM-quad offset
+                % Check for too many data
+                Idx = find(Y(:,1) == Y(k,1) & Y(:,2) == Y(k,2));
+                NbOfData = length(Idx);
+                if NbOfData > 1
+                    fprintf('BPMz(%d,%d)  too many data (%d)\n', Y(k,1), Y(k,2), NbOfData);
+                    str = sprintf(' bba%d%s%dv* ', QUADyDevList(Idx(1),1), deblank(QUADyFamily(Idx(1),:)), QUADyDevList(Idx(1),2));
+                    system(['ls -C1 ' str]);
+                    isDoney(Idx) = -2;
+                else
+                    isDoney(k) = 1; % do nothing since computation already done by quadgetdata
+                    Offsety = [Offsety; Y(k,:)];
+                end
+            end
+        end
+    end
+end
+
+if DisplayFlag
+%     if isempty(Offsetx)
+%         fprintf('Offsetx is empty\n')
+%         return;
+%     end
+%     if isempty(Offsety)
+%         fprintf('Offsety is empty\n')
+%         return;
+%     end
+    % Plot data
+    L = getcircumference;
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        errorbar(Offsetx(:,5), Offsetx(:,3), Offsetx(:,4), '.b');
+    end
+    ylabel('Horizontal [mm]');
+    xaxis([0 L]);
+    title('BPM Offset with BPM determined by 2 quadrupoles');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        errorbar(Offsety(:,5), Offsety(:,3), Offsety(:,4), '.b');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('Vertical [mm]');
+    xaxis([0 L]);
+    
+end
+
+% Write 2 files for applying BBA offsets to TANGO
+
+if WriteFlag
+    if isempty(Offsetx)
+        fprintf('Offsetx is empty\n')
+    else
+        for ik=1:size(Offsetx,1),
+            tableBBAH(ik,1) = dev2tangodev('BPMx', Offsetx(ik,1:2)); tableBBAH{ik,2} = num2str(Offsetx(ik,3), '%+.3f');
+        end
+        save('tableBBAH.mat','tableBBAH')
+    end
+    if isempty(Offsety)
+        fprintf('Offsety is empty\n')
+    else
+        for ik=1:size(Offsety,1),
+            tableBBAV(ik,1) = dev2tangodev('BPMz', Offsety(ik,1:2)); tableBBAV{ik,2} = num2str(Offsety(ik,3), '%+.3f');
+        end
+        save('tableBBAV.mat','tableBBAV')
+    end
+
+    % output result in text format
+    fileName = 'BBAresult.txt';
+    fid = fopen(fileName, 'wt');
+    fprintf(fid, '*************************************************\n');
+    fprintf(fid, '** BBA results:  %s **\n', datestr(now) );
+    fprintf(fid, '*************************************************\n\n');
+    fprintf(fid, '*************** H-plane ******************** \n');
+    if ~isempty(Offsetx)
+        for ih = 1:size(tableBBAH,1)
+            fprintf(fid, '%s # %s  \n', tableBBAH{ih,1:2});
+        end
+    end
+    if ~isempty(Offsety)
+        fprintf(fid, '%s \n', ' ');
+        fprintf(fid, '*************** V-plane ******************** \n');
+        for iv = 1:size(tableBBAV,1)
+            fprintf(fid, '%s # %s  \n', tableBBAV{iv,1:2});
+        end
+    end
+    fclose(fid);
+    system(['nedit ' fileName '&']);
+end
+cd(DIR0);
+
+function [OffsetC SigmaC]= getCombinedOffset(data, Fam, devList, plane)
+%Look for double BPM neigboring two quads
+% plane = 1 H-plane
+% plane = 2 V-plane
+
+DebugFlag = 1;
+
+w = zeros(2,2);
+for k=1:2,
+    w(k,:) = quadgetbetaKL(Fam(k,:), devList(k,:));
+end
+
+OffsetC = (data(1,3)*w(1,plane) + data(2,3)*w(2,plane))/(w(1,plane) + w(2,plane));
+SigmaC = (data(1,4)*w(1,plane) + data(2,4)*w(2,plane))/(w(1,plane) + w(2,plane));
+
+if DebugFlag
+    if plane == 1
+        fprintf('BPMx(%2d,%d) Combined offset: %+f  %s(%2d,%2d) offset: %+f  %s(%2d,%2d) offset: %+f\n', ...
+            data(1,1), data(1,2), OffsetC, Fam(1,:), devList(1,:), data(1,3), Fam(2,:), devList(2,:), data(2,3));
+    else
+        fprintf('BPMz(%2d,%d) Combined offset: %+f  %s(%2d,%2d) offset: %+f  %s(%2d,%2d) offset: %+f\n', ...
+            data(1,1), data(1,2), OffsetC, Fam(1,:), devList(1,:), data(1,3), Fam(2,:), devList(2,:), data(2,3));
+    end
+end
+
+function lambda = getbetaKL(Family, DeviceList)
+
+% Integrated gradient
+KL = getkleff(Family, DeviceList);
+
+lambda = zeros(2,length(KL));
+
+% betax at entrance of magnet
+[bx bz] = modelbeta(Family, DeviceList);
+
+lambda(1,:) = abs(KL).*bx;
+lambda(2,:) = abs(KL).*bz;
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcenter.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcenter.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcenter.m	(revision 17)
@@ -0,0 +1,1029 @@
+function [QMS1, QMS2] = quadcenter(QuadFamily, QuadDev, XYPlane, FigureHandle)
+%QUADCENTER - Measure the magnet center of a quadrupole magnet
+%  [QMS1, QMS2] = quadcenter(QuadFamily, QuadDev, XYPlane, FigureHandle)
+%                     or
+%  [QMS1, QMS2] = quadcenter(QMSstructure, FigureHandle)
+%
+%  Finds the center of an individual quadrupole magnet.
+%  The data is automatically appended to quadcenter.log and 
+%  saved to an individual mat file named by family, sector, and element number
+%
+%  INPUTS 
+%  1. QuadFamily  = Family name
+%  2. QuadDev     = Device list for quadrupole family
+%  3. XYPlane     = 0 -> both horizontal and vertical {default}
+%                   1 -> horizontal only
+%                   2 -> vertical only 
+%  4. FigureHandle can be a figure handle, a vector of 4 axes handles 
+%                 (used by quadplot), or zero for no plots
+%
+%  The QuadFamily and QuadDev input get converted to a QMSstructure using quadcenterinit.  
+%  One can also directly input this data structure.
+%  QMSstructure = 
+%         QuadFamily: Quadrupole family name, like 'QF'
+%            QuadDev: Quadrupole device, like [7 1]
+%          QuadDelta: Modulation amplitude in the quadrupole, like 1
+%          QuadPlane: Horizontal (1) or vertical (2) plane
+%         CorrFamily: Corrector magnet family, like 'HCM'
+%        CorrDevList: Corrector magnet(s) using to vary the orbit in the quadrupole, like [7 1]
+%          CorrDelta: Maximum change in the corrector(s), like 0.5000
+%          BPMFamily: BPM family name, like 'BPMx'
+%             BPMDev: BPM device next to the quadrupole, like [7 1]
+%         BPMDevList: BPM device list used calculate the center and for orbit correction ([nx2 array])
+%   ModulationMethod: Method for changing the quadrupole
+%                         'bipolar' changes the quadrupole by +/- QuadDelta on each step
+%                         'unipolar' changes the quadrupole from 0 to QuadDelta on each step
+%                         'sweep' moves the quadrupole by QuadDelta at each step.  This allows for
+%                                 staying on a given hysteresis branch.
+%     NumberOfPoints: Number of points, like 3
+%      DataDirectory: Directory to store the results.  Leave this field out or '.' will put the data
+%                         in the present directory.
+%       QuadraticFit: 0 = linear fit, else quadratic fit  (used by quadplot)
+%      OutlierFactor: if abs(data - fit) > OutlierFactor, then remove that BPM from the center calculation [mm] (used by quadplot)
+%         ExtraDelay: Extra delay added before reading the BPMs [seconds] {optional}
+%
+%  OUTPUTS
+%  The QMSstructure input structure will get the following output fields appended to it.  
+%  This structure will be output as well as saved to a file which is named based on the 
+%  sector, quadrupole family name, and device number.  A log file will also be updated.
+%  QMSstructure = 
+%          OldCenter: Old quadrupole center (from getoffsetorbit)
+%                 x1: horizonal data at quadrupole value #1
+%                 x2: horizonal data at quadrupole value #2
+%                 y1: vertical data at quadrupole value #1
+%                 y2: vertical data at quadrupole value #2
+%               Xerr: Horizonal BPM starting error
+%               Yerr: Vertical  BPM starting error
+%          TimeStamp: Time stamp as output by clock (6 element vector)
+%          CreatedBy: 'quadcenter'
+%      QMS.BPMStatus: Status of the BPMs
+%         QMS.BPMSTD: Standard deviation of the BPMs (from getsigma)
+%             Center: Mean of the BPM center calculations
+%          CenterSTD: Standard deviation of the BPM center calculations 
+%  For two planes, QMS1 is the horizontal and QMS2 is the vertical.  When only finding
+%  one plane, only the first output is used.  For multiple magnets, the output is a column
+%  vector containing the quadrupole center. 
+%
+%  NOTE
+%  1. It is a good idea to have the global orbit reasonable well corrected at the start
+%  2. If the quadrupole modulation system is not a simple device with one family name then
+%     edit the setquad function (machine specific).
+%  3. For the new BPM offsets to take effect, they must be loaded into the main AO data structure. 
+%  4. This program changes the MML warning level to -2 -> Dialog Box
+%     That way the measurement can be salvaged if something goes wrong
+%
+%  Machine specific setup:
+%  1. setquad and getquad must exist for setting and getting the quadrupole current.
+%     These function are often machine dependent.
+
+%
+%  Written by Greg Portmann
+%
+%  Laurent S. Nadolski, November 2009
+%  Modified Figure handler 1008 in H-plane 1010 in V-plane
+
+
+% Extra delay can be written over by the QMS.ExtraDelay field.  If this
+% does not exist, then the value below is used.
+ExtraDelay = 0; 
+
+
+% Set the waitflag on power supply setpoints to wait for fresh data from the BPMs
+WaitFlag = -2; 
+
+
+% Record the tune at each point.
+% In simulate mode the tunes are always saved unless the TUNE family does not exist.
+GetTuneFlag = 1;
+
+
+% Inputs
+QMS1 = [];
+QMS2 = [];
+if nargin < 1
+    FamilyList = getfamilylist;
+    [tmp,i] = ismemberof(FamilyList,'QUAD');
+    if ~isempty(i)
+        FamilyList = FamilyList(i,:);
+    end
+    if size(FamilyList,1) == 1
+        QuadFamily = deblank(FamilyList);
+    else
+        [i,ok] = listdlg('PromptString', 'Select a quadrupole family:', ...
+            'SelectionMode', 'single', ...
+            'ListString', FamilyList);
+        if ok == 0
+            return
+        else
+            QuadFamily = deblank(FamilyList(i,:));
+        end
+    end
+end
+
+if isstruct(QuadFamily)
+    QMS = QuadFamily;
+    XYPlane = QMS.QuadPlane;
+    if QMS.QuadPlane == 1
+        QMS_Horizontal = QMS;
+        QMS_Vertical   = quadcenterinit(QMS.QuadFamily, QMS.QuadDev, 2);
+        QMS_Vertical.CorrectOrbit = QMS.CorrectOrbit;
+    elseif QMS.QuadPlane == 2
+        QMS_Horizontal = quadcenterinit(QMS.QuadFamily, QMS.QuadDev, 1);
+        QMS_Horizontal.CorrectOrbit = QMS.CorrectOrbit;
+        QMS_Vertical = QMS;
+    else
+        error('QMS.QuadPlane must be 1 or 2 when using a QMS structure input');
+    end
+    if nargin >= 2 
+        FigureHandle = QuadDev;
+    else
+        FigureHandle = [];
+    end
+    QuadFamily = QMS.QuadFamily;
+    QuadDev    = QMS.QuadDev;
+else
+    if ~isfamily(QuadFamily)
+        error(sprintf('Quadrupole family %s does not exist.  Make sure the middle layer had been initialized properly.',QuadFamily));
+    end
+    if nargin < 2
+        QuadDev = editlist(getlist(QuadFamily),QuadFamily,zeros(length(getlist(QuadFamily)),1));
+    end
+    if nargin < 3
+        ButtonNumber = menu('Which Plane?', 'Both','Horizontal Only','Vertical Only','Cancel');  
+        drawnow;
+        switch ButtonNumber
+            case 1
+                XYPlane = 0;
+            case 2
+                XYPlane = 1;
+            case 3
+                XYPlane = 2;
+            otherwise
+                fprintf('   quadcenter cancelled\n');
+                return
+        end
+    end
+    if nargin < 4 
+        FigureHandle = [];
+    end
+    
+    % If QuadDev is a vector
+    if size(QuadDev,1) > 1
+        for i = 1:size(QuadDev,1)
+            if XYPlane == 0
+                [Q1, Q2] = quadcenter(QuadFamily, QuadDev(i,:), XYPlane, FigureHandle);
+                QMS1(i,1) = Q1.Center;
+                QMS2(i,1) = Q2.Center;
+            else
+                [Q1] = quadcenter(QuadFamily, QuadDev(i,:), XYPlane, FigureHandle);
+                QMS1(i,1) = Q1.Center;
+            end
+        end
+        return
+    end
+    
+    
+    % Get QMS structure
+    QMS_Horizontal = quadcenterinit(QuadFamily, QuadDev, 1);
+    QMS_Vertical   = quadcenterinit(QuadFamily, QuadDev, 2);
+end
+
+
+% Change the MML warning level to -2 -> Dialog Box
+% That way the measurement can be salvaged if something goes wrong
+ErrorWarningLevel = getfamilydata('ErrorWarningLevel');
+setfamilydata(-2, 'ErrorWarningLevel');
+
+
+% Initialize variables
+HCMFamily  = QMS_Horizontal.CorrFamily;
+HCMDev     = QMS_Horizontal.CorrDevList;
+DelHCM     = QMS_Horizontal.CorrDelta;
+BPMxFamily = QMS_Horizontal.BPMFamily;
+BPMxDev    = QMS_Horizontal.BPMDev;
+BPMxDevList= QMS_Horizontal.BPMDevList;
+
+VCMFamily  = QMS_Vertical.CorrFamily;
+VCMDev     = QMS_Vertical.CorrDevList;
+DelVCM     = QMS_Vertical.CorrDelta;
+BPMyFamily = QMS_Vertical.BPMFamily;
+BPMyDev    = QMS_Vertical.BPMDev;
+BPMyDevList= QMS_Vertical.BPMDevList;
+
+Xcenter = NaN;
+Ycenter = NaN;
+
+
+% Check status for BPMs next to the quadrupole and correctors used in orbit correction
+HCMStatus = family2status(HCMFamily, HCMDev);
+
+if ~isnan(HCMStatus) && any(HCMStatus==0) 
+    error(sprintf('A %s corrector used in finding the center has a bad status', HCMFamily));
+end
+VCMStatus = family2status(VCMFamily, VCMDev);
+if ~isnan(VCMStatus) && any(VCMStatus==0) 
+    error(sprintf('A %s corrector used in finding the center has a bad status', VCMFamily));
+end
+BPMxStatus = family2status(BPMxFamily, BPMxDev);
+if ~isnan(BPMxStatus) && any(BPMxStatus==0) 
+    error(sprintf('The %s monitor next to the quadrupole has bad status', BPMxFamily));
+end
+BPMyStatus = family2status(BPMxFamily, BPMxDev);
+if ~isnan(BPMyStatus) && any(BPMyStatus==0) 
+    error(sprintf('The %s monitor next to the quadrupole has bad status', BPMxFamily));
+end
+
+    
+% Record start directory
+DirStart = pwd;
+
+% Get the current offset orbit
+Xoffset = getoffset(BPMxFamily, BPMxDev);
+Yoffset = getoffset(BPMyFamily, BPMyDev);
+XoffsetOld = Xoffset;
+YoffsetOld = Yoffset;
+
+% Starting correctors
+HCM00 = getsp(HCMFamily, HCMDev);
+VCM00 = getsp(VCMFamily, VCMDev);
+
+
+% % Global orbit correction
+% CM = getsp('HCM','struct');
+% BPM = getx('struct');
+% BPMWeight = ones(size(BPM.DeviceList,1),1);
+% i = findrowindex(BPMxDev, BPM.DeviceList);
+% 
+% x = getoffset('BPMx');
+% x = .1 * BPMWeight;
+% %x(i) = -.2;
+% BPMWeight(i) = 100;
+% 
+% setorbit(x, BPM, CM, 3, 20, BPMWeight, 'Display');
+
+
+% Correct orbit to the old offsets first
+if strcmpi(QMS_Horizontal.CorrectOrbit, 'yes')
+    fprintf('   Correcting the orbit to the old horizontal center of %s(%d,%d)\n', QuadFamily, QuadDev); pause(0);
+    if ~isnan(Xoffset)
+        OrbitCorrection(Xoffset, BPMxFamily, BPMxDev, HCMFamily, HCMDev, 4);
+    end
+end
+if strcmpi(QMS_Vertical.CorrectOrbit, 'yes')
+    fprintf('   Correcting the orbit to the old vertical center of %s(%d,%d)\n', QuadFamily, QuadDev); pause(0);
+    if ~isnan(Yoffset)
+        OrbitCorrection(Yoffset, BPMyFamily, BPMyDev, VCMFamily, VCMDev, 4);
+    end
+end
+
+%OrbitCorrection(Xoffset, BPMxFamily, BPMxDev, HCMFamily, HCMDev);
+%OrbitCorrection(Yoffset, BPMyFamily, BPMyDev, VCMFamily, VCMDev);
+
+
+
+% Algorithm
+% 1.  Change the horizontal orbit in the quad
+% 2.  Correct the vertical orbit
+% 3.  Record the orbit
+% 4.  Step the quad
+% 5.  Record the orbit
+
+% Start by sollicitating the BPMs in TANGO
+% in order to avoid timeout
+getx; getz;
+
+% FIND HORIZONTAL OFFSET
+if XYPlane==0 || XYPlane==1    
+    FigureHandle = 1008;
+        
+    % BPM processor delay
+    if isfield(QMS_Horizontal, 'ExtraDelay') 
+        ExtraDelay = QMS_Horizontal.ExtraDelay;
+    end
+
+    % Get mode
+    Mode = getmode(QMS_Horizontal.QuadFamily);
+    
+    % Record starting point
+    QUAD0 = getquad(QMS_Horizontal);
+    HCM0  = getsp(HCMFamily, HCMDev);
+    VCM0  = getsp(VCMFamily, VCMDev);
+    Xerr  = getam(BPMxFamily, BPMxDev) - Xoffset;
+    Yerr  = getam(BPMyFamily, BPMyDev) - Yoffset;
+    xstart = getam(BPMxFamily, BPMxDevList);
+    ystart = getam(BPMyFamily, BPMyDevList);
+
+    QMS_Horizontal.Orbit0 = getam(BPMxFamily, BPMxDevList, 'Struct');
+    
+    [tmp, iNotFound] = findrowindex(BPMxDev, BPMxDevList);
+    if ~isempty(iNotFound)
+        setsp(HCMFamily, HCM00, HCMDev, 0);
+        setsp(VCMFamily, VCM00, VCMDev, 0);
+        error('BPM at the quadrupole not found in the BPM device list');
+    end
+      
+    DelQuad = QMS_Horizontal.QuadDelta;
+    N = abs(round(QMS_Horizontal.NumberOfPoints));
+    if N < 1
+        error('The number of points must be 2 or more.');
+    end
+    
+   
+    fprintf('   Finding horizontal center of %s(%d,%d)\n', QuadFamily, QuadDev);
+    fprintf('   Starting orbit error: %s(%d,%d)=%f , %s(%d,%d)=%f %s\n', BPMxFamily, BPMxDev, Xerr, BPMyFamily, BPMyDev, Yerr, QMS_Horizontal.Orbit0.UnitsString);
+    if strcmpi(QMS_Horizontal.ModulationMethod, 'bipolar')
+        fprintf('   Quadrupole starting current = %.3f, modulate by +/- %.3f\n', getquad(QMS_Horizontal), DelQuad);
+    elseif strcmpi(QMS_Horizontal.ModulationMethod, 'unipolar')
+        fprintf('   Quadrupole starting current = %.3f, modulate by 0 to %.3f\n', getquad(QMS_Horizontal), DelQuad);
+    elseif strcmpi(QMS_Horizontal.ModulationMethod, 'sweep')
+        fprintf('   Quadrupole starting current = %.3f, sweep by %.3f on each step\n', getquad(QMS_Horizontal), DelQuad);        
+    else
+        % Reset or error
+        setsp(HCMFamily, HCM00, HCMDev, 0);
+        setsp(VCMFamily, VCM00, VCMDev, 0);
+        setquad(QMS_Horizontal, QUAD0, 0);
+        cd(DirStart);
+        error('Unknown ModulationMethod in the QMS input structure (likely a problem with quadcenterinit)');
+    end
+    pause(0);
+    
+    % Establish a hysteresis loop
+    % Modified to always comes from the same side of hysteresis curve
+    if strcmpi(QMS_Horizontal.ModulationMethod, 'bipolar')
+        fprintf('   Establishing a hysteresis loop on the quadrupole (bi-polar case)\n'); pause(0);
+        setquad(QMS_Horizontal,-DelQuad+QUAD0, -1);
+        setquad(QMS_Horizontal,+DelQuad+QUAD0, -1);
+        setquad(QMS_Horizontal,-DelQuad+QUAD0, -1);
+        setquad(QMS_Horizontal,+DelQuad+QUAD0, -1);
+        setquad(QMS_Horizontal,         QUAD0, -1);
+    elseif strcmpi(QMS_Horizontal.ModulationMethod, 'unipolar')
+        fprintf('   Establishing a hysteresis loop on the quadrupole (uni-polar case)\n'); pause(0);
+        setquad(QMS_Horizontal, DelQuad+QUAD0, -1);
+        setquad(QMS_Horizontal,         QUAD0, -1);
+        setquad(QMS_Horizontal, DelQuad+QUAD0, -1);
+        setquad(QMS_Horizontal,         QUAD0, -1);
+    end
+    
+    
+    % Corrector step size
+    CorrStep = 2 * DelHCM / (N-1);
+
+    
+    % Start the corrector a little lower first for hysteresis reasons 
+    %stepsp(HCMFamily, -1.0*DelHCM, HCMDev, -1);
+    stepsp(HCMFamily, -1.2*DelHCM, HCMDev, -1);
+    stepsp(HCMFamily,   .2*DelHCM, HCMDev, WaitFlag); 
+
+    
+    % Main horizontal data loop
+    clear DCCT
+    for i = 1:N % Loop of corrector steps
+        % Step the horizontal orbit
+        if i ~= 1
+            stepsp(HCMFamily, CorrStep, HCMDev, WaitFlag);
+        end
+        
+        fprintf('   %d. %s(%d,%d) sp/am = %+.4f/%+.4f, %s(%d,%d) = %+.5f %s\n', i, HCMFamily, HCMDev(1,:), getsp(HCMFamily, HCMDev(1,:)), getam(HCMFamily, HCMDev(1,:)),  BPMxFamily, BPMxDev, getam(BPMxFamily, BPMxDev), QMS_Horizontal.Orbit0.UnitsString); pause(0);  
+        
+        % If correcting the orbit, then recorrect the vertical center now
+        if strcmpi(QMS_Horizontal.CorrectOrbit, 'yes')
+           % Correct the vertical orbit
+           OrbitCorrection(Yoffset, BPMyFamily, BPMyDev, VCMFamily, VCMDev, 4);
+        end
+        
+        if strcmpi(QMS_Horizontal.ModulationMethod, 'sweep')
+            % One directional sweep of the quadrupole
+            sleep(ExtraDelay);
+            x1(:,i) = getam(BPMxFamily, BPMxDevList);
+            y1(:,i) = getam(BPMyFamily, BPMyDevList);
+            x0(:,i) = x1(:,i);
+            y0(:,i) = y1(:,i);
+           
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Horizontal.Tune1(:,i) = gettune;
+            end
+
+            setquad(QMS_Horizontal, i*DelQuad+QUAD0, WaitFlag);
+            sleep(ExtraDelay);
+
+            % If correcting the orbit, then recorrect the horizontal center now
+            if strcmpi(QMS_Horizontal.CorrectOrbit, 'yes')
+                % Correct the vertical orbit
+                OrbitCorrection(Yoffset, BPMyFamily, BPMyDev, VCMFamily, VCMDev, 4);
+                sleep(ExtraDelay);
+            end
+
+            x2(:,i) = getam(BPMxFamily, BPMxDevList);
+            y2(:,i) = getam(BPMyFamily, BPMyDevList);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Horizontal.Tune2(:,i) = gettune;
+            end
+   
+        elseif strcmpi(QMS_Horizontal.ModulationMethod, 'bipolar')
+            % Modulate the quadrupole
+            sleep(ExtraDelay);
+            x0(:,i) = getam(BPMxFamily, BPMxDevList);
+            y0(:,i) = getam(BPMyFamily, BPMyDevList);
+            setquad(QMS_Horizontal, -DelQuad+QUAD0, WaitFlag);
+            sleep(ExtraDelay);
+
+            % If correcting the orbit, then recorrect the horizontal center now
+            if strcmpi(QMS_Horizontal.CorrectOrbit, 'yes')
+                % Correct the vertical orbit
+                OrbitCorrection(Yoffset, BPMyFamily, BPMyDev, VCMFamily, VCMDev, 4);
+                sleep(ExtraDelay);
+            end
+
+            x1(:,i) = getam(BPMxFamily, BPMxDevList);
+            y1(:,i) = getam(BPMyFamily, BPMyDevList);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Horizontal.Tune1(:,i) = gettune;
+            end
+
+            setquad(QMS_Horizontal,+DelQuad+QUAD0, WaitFlag);
+            sleep(ExtraDelay);
+
+            % If correcting the orbit, then recorrect the horizontal center now
+            if strcmpi(QMS_Horizontal.CorrectOrbit, 'yes')
+                % Correct the vertical orbit
+                OrbitCorrection(Yoffset, BPMyFamily, BPMyDev, VCMFamily, VCMDev, 4);
+                sleep(ExtraDelay);
+            end
+
+            x2(:,i) = getam(BPMxFamily, BPMxDevList);
+            y2(:,i) = getam(BPMyFamily, BPMyDevList);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Horizontal.Tune2(:,i) = gettune;
+            end
+
+            setquad(QMS_Horizontal, QUAD0, WaitFlag);
+        
+        elseif strcmpi(QMS_Horizontal.ModulationMethod, 'unipolar')
+            % Modulate the quadrupole
+            sleep(ExtraDelay);
+            x1(:,i) = getam(BPMxFamily, BPMxDevList);
+            y1(:,i) = getam(BPMyFamily, BPMyDevList);
+            x0(:,i) = x1(:,i);
+            y0(:,i) = y1(:,i);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Horizontal.Tune1(:,i) = gettune;
+            end
+
+            setquad(QMS_Horizontal, DelQuad+QUAD0, WaitFlag);
+            sleep(ExtraDelay);
+
+            % If correcting the orbit, then recorrect the horizontal center now
+            if strcmpi(QMS_Horizontal.CorrectOrbit, 'yes')
+                % Correct the vertical orbit
+                OrbitCorrection(Yoffset, BPMyFamily, BPMyDev, VCMFamily, VCMDev, 4);
+                sleep(ExtraDelay);
+            end
+
+            x2(:,i) = getam(BPMxFamily, BPMxDevList);
+            y2(:,i) = getam(BPMyFamily, BPMyDevList);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Horizontal.Tune2(:,i) = gettune;
+            end
+
+            setquad(QMS_Horizontal, QUAD0, WaitFlag);
+        end
+
+        DCCT(i) = getdcct;
+    end
+
+    % Get the horizontal data filename and save the data
+    % Append data and time
+    FileName = ['bba', num2str(QuadDev(1,1)), QuadFamily, num2str(QuadDev(1,2)), 'hplane'];
+    FileName = appendtimestamp(FileName, clock);
+
+    % Use a version number
+    %i=1;
+    %FileName = ['s', num2str(QuadDev(1,1)), QuadFamily, num2str(QuadDev(1,2)), 'h', num2str(i)];
+    %while exist([FileName,'.mat'], 'file')
+    %    i = i + 1;
+    %    FileName = ['s', num2str(QuadDev(1,1)), QuadFamily, num2str(QuadDev(1,2)), 'h', num2str(i)];
+    %end
+    
+    QMS = QMS_Horizontal;
+    QMS.QuadPlane = 1;
+    
+    QMS.OldCenter = Xoffset;
+    QMS.XOffsetOld = XoffsetOld;
+    QMS.YOffsetOld = YoffsetOld;
+    
+    QMS.xstart = xstart;
+    QMS.ystart = ystart;
+    
+    QMS.x0 = x0;
+    QMS.x1 = x1;
+    QMS.x2 = x2;
+    QMS.y0 = y0;
+    QMS.y1 = y1;
+    QMS.y2 = y2;
+    QMS.Xerr = Xerr;
+    QMS.Yerr = Yerr;
+    QMS.TimeStamp = clock;
+    QMS.DCCT = DCCT;
+    QMS.DataDescriptor = 'Quadrupole Center';
+    QMS.CreatedBy = 'quadcenter';
+    
+    % Get and store the BPM status and standard deviation (to be used by the center calculation routine)
+    QMS.BPMStatus = family2status(BPMxFamily, BPMxDevList);
+    N = getbpmaverages(BPMxDevList);
+    QMS.BPMSTD = getsigma(BPMxFamily, BPMxDevList, N);
+
+    % Set up figures, plot and find horizontal center
+    try
+        if isempty(FigureHandle)
+            QMS = quadplot(QMS);
+        else
+            QMS = quadplot(QMS, FigureHandle);
+        end
+        drawnow;
+    catch
+        fprintf('\n%s\n', lasterr);
+    end
+    QMS1 = QMS;
+
+    % Save the horizontal data
+    if isfield(QMS_Horizontal, 'DataDirectory')
+        [FinalDir, ErrorFlag] = gotodirectory(QMS_Horizontal.DataDirectory);
+    end
+    QMS.DataDirectory = pwd;
+    save(FileName, 'QMS');
+    fprintf('   Data saved to file %s in directory %s\n\n', FileName, QMS.DataDirectory);
+
+    % Output data to file
+    fid1 = fopen('quadcenter.log','at');
+    time=clock;
+    fprintf(fid1, '%s   %d:%d:%2.0f \n', date, time(4),time(5),time(6));
+    fprintf(fid1, 'Data saved to file %s (%s)\n', FileName, QMS.DataDirectory);
+    fprintf(fid1, '%s(%d,%d) %s(%d,%d) = %f (+/- %f) [%s]\n\n', QuadFamily, QuadDev, BPMxFamily, BPMxDev, QMS.Center, QMS.CenterSTD, QMS_Horizontal.Orbit0.UnitsString);
+    fclose(fid1);
+    cd(DirStart);
+
+    % Change the offset orbit to the new center so that the vertical plane uses it
+    Xoffset = QMS.Center;
+    
+    % Restore magnets their starting points (correctors to values after orbit correction)
+    setsp(HCMFamily, HCM0, HCMDev, WaitFlag);
+    setsp(VCMFamily, VCM0, VCMDev, WaitFlag);
+    setquad(QMS_Horizontal, QUAD0, WaitFlag);
+    
+    if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+        % Print the tune information
+        fprintf('   Tune and tune difference for the 1st points in the merit function (QMS.Tune1): \n');
+        fprintf('   %8.5f', QMS.Tune1(1,:));
+        fprintf('  Horizontal\n');
+        fprintf('   %8.5f', QMS.Tune1(2,:));
+        fprintf('  Vertical\n');
+        fprintf('   ===================================================\n');
+        fprintf('   %8.5f', diff(QMS.Tune1));
+        fprintf('  Difference \n\n');
+        
+        fprintf('   Tune and tune difference for the 2nd points in the merit function (QMS.Tune2): \n');
+        fprintf('   %8.5f', QMS.Tune2(1,:));
+        fprintf('  Horizontal\n');
+        fprintf('   %8.5f', QMS.Tune2(2,:));
+        fprintf('  Vertical\n');
+        fprintf('   ===================================================\n');
+        fprintf('   %8.5f', diff(QMS.Tune2));
+        fprintf('  Difference\n\n');
+
+        dTune1 = diff(QMS.Tune1);
+        dTune2 = diff(QMS.Tune2);
+        
+        if any(sign(dTune1/dTune1(1))==-1)
+            fprintf('   Tune change sign!!!\n');            
+        end
+        
+        if any(abs(dTune1) < .025) || any(abs(dTune2) < .025)
+            fprintf('   Horizontal and vertical tunes seem too close.\n');
+        end
+    end    
+end
+
+
+
+% FIND VERTICAL OFFSET
+if XYPlane==0 || XYPlane==2    
+    FigureHandle = 1010;
+
+    % BPM processor delay
+    if isfield(QMS_Vertical, 'ExtraDelay')
+        ExtraDelay = QMS_Vertical.ExtraDelay;
+    end
+
+    % Get mode
+    Mode = getmode(QMS_Horizontal.QuadFamily);
+    
+    % Record starting point
+    QUAD0 = getquad(QMS_Vertical);
+    HCM0 = getsp(HCMFamily, HCMDev);
+    VCM0 = getsp(VCMFamily, VCMDev);
+    Xerr = getam(BPMxFamily, BPMxDev) - Xoffset;
+    Yerr = getam(BPMyFamily, BPMyDev) - Yoffset;
+    xstart = getam(BPMxFamily, BPMxDevList);
+    ystart = getam(BPMyFamily, BPMyDevList);
+    
+    QMS_Vertical.Orbit0 = getam(BPMxFamily, BPMxDevList, 'Struct');
+
+    [tmp, iNotFound] = findrowindex(BPMyDev, BPMyDevList);
+    if ~isempty(iNotFound)
+        setsp(HCMFamily, HCM00, HCMDev, 0);
+        setsp(VCMFamily, VCM00, VCMDev, 0);
+        error('BPM at the quadrupole not found in the BPM device list');
+    end
+
+    DelQuad = QMS_Vertical.QuadDelta;
+    N = abs(round(QMS_Vertical.NumberOfPoints));
+    if N < 1
+        error('The number of points must be 2 or more.');
+    end
+
+    fprintf('   Finding vertical center of %s(%d,%d)\n', QuadFamily, QuadDev);
+    fprintf('   Starting orbit error: %s(%d,%d)=%f , %s(%d,%d)=%f %s\n', BPMxFamily, BPMxDev, Xerr, BPMyFamily, BPMyDev, Yerr, QMS_Vertical.Orbit0.UnitsString);
+    if strcmpi(QMS_Vertical.ModulationMethod, 'bipolar')
+        fprintf('   Quadrupole starting current = %.3f, modulate by +/- %.3f\n', getquad(QMS_Vertical), DelQuad);
+    elseif strcmpi(QMS_Vertical.ModulationMethod, 'unipolar')
+        fprintf('   Quadrupole starting current = %.3f, modulate by 0 to %.3f\n', getquad(QMS_Vertical), DelQuad);
+    elseif strcmpi(QMS_Vertical.ModulationMethod, 'sweep')
+        fprintf('   Quadrupole starting current = %.3f, sweep by %.3f on each step\n', getquad(QMS_Vertical), DelQuad);
+    else
+        setsp(HCMFamily, HCM00, HCMDev, 0);
+        setsp(VCMFamily, VCM00, VCMDev, 0);
+        setquad(QMS_Vertical, QUAD0, 0);
+        cd(DirStart);
+        error('Unknown ModulationMethod in the QMS input structure (likely a problem with quadcenterinit)');
+    end
+    pause(0);
+    
+    
+    % Establish a hysteresis loop (if not already done, or if the horizontal plane was sweep)
+    if XYPlane == 2 || strcmpi(QMS_Horizontal.ModulationMethod, 'sweep')
+        if strcmpi(QMS_Vertical.ModulationMethod, 'bipolar')
+            fprintf('   Establishing a hysteresis loop on the quadrupole (bi-polar case)\n'); pause(0);
+            setquad(QMS_Vertical,-DelQuad*sign(QUAD0)+QUAD0, -1);
+            setquad(QMS_Vertical,+DelQuad*sign(QUAD0)+QUAD0, -1);
+            setquad(QMS_Vertical,-DelQuad*sign(QUAD0)+QUAD0, -1);
+            setquad(QMS_Vertical,+DelQuad*sign(QUAD0)+QUAD0, -1);
+            setquad(QMS_Vertical,         QUAD0, -1);
+        elseif strcmpi(QMS_Vertical.ModulationMethod, 'unipolar')
+            fprintf('   Establishing a hysteresis loop on the quadrupole (uni-polar case)\n'); pause(0);
+            setquad(QMS_Vertical, DelQuad*sign(QUAD0)+QUAD0, -1);
+            setquad(QMS_Vertical,         QUAD0, -1);
+            setquad(QMS_Vertical, DelQuad*sign(QUAD0)+QUAD0, -1);
+            setquad(QMS_Vertical,         QUAD0, -1);
+        end
+    end
+    
+
+    % Corrector step size
+    CorrStep = 2 * DelVCM / (N-1);
+
+    
+    % Start the corrector a little lower first for hysteresis reasons 
+    stepsp(VCMFamily, -1.2*DelVCM, VCMDev, -1);
+    stepsp(VCMFamily,   .2*DelVCM, VCMDev, WaitFlag);
+
+
+%     Debug
+%     setquad(QMS_Vertical, DelQuad+QUAD0, WaitFlag);
+%     QUAD0 = getquad(QMS_Vertical);
+%     Xstart = getam(BPMxFamily, BPMxDev)
+    
+
+    clear DCCT
+    for i = 1:N
+
+        % Step the vertical orbit
+        if i ~= 1
+            stepsp(VCMFamily, CorrStep, VCMDev, WaitFlag);
+        end
+
+        fprintf('   %d. %s(%d,%d) sp/am = %+.4f/%+.4f, %s(%d,%d) = %+.5f %s\n', i, VCMFamily, VCMDev(1,:), getsp(VCMFamily, VCMDev(1,:)), getam(VCMFamily, VCMDev(1,:)),  BPMyFamily, BPMyDev, getam(BPMyFamily, BPMyDev), QMS_Vertical.Orbit0.UnitsString); pause(0);
+        
+        
+        % If correcting the orbit, then recorrect the horizontal center now
+        if strcmpi(QMS_Vertical.CorrectOrbit, 'yes')
+           % Correct the horizontal orbit
+           OrbitCorrection(Xoffset, BPMxFamily, BPMxDev, HCMFamily, HCMDev, 4);
+        end
+
+               
+        if strcmpi(QMS_Vertical.ModulationMethod, 'sweep')
+            % One dimensional sweep of the quadrupole
+            sleep(ExtraDelay);
+            x1(:,i) = getam(BPMxFamily, BPMxDevList);
+            y1(:,i) = getam(BPMyFamily, BPMyDevList);
+            x0(:,i) = x1(:,i);
+            y0(:,i) = y1(:,i);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Vertical.Tune1(:,i) = gettune;
+            end
+
+            setquad(QMS_Vertical, i*DelQuad*sign(QUAD0)+QUAD0, WaitFlag);
+            sleep(ExtraDelay);
+
+            % If correcting the orbit, then recorrect the horizontal center now
+            if strcmpi(QMS_Vertical.CorrectOrbit, 'yes')
+                % Correct the horizontal orbit
+                OrbitCorrection(Xoffset, BPMxFamily, BPMxDev, HCMFamily, HCMDev, 4);
+                sleep(ExtraDelay);
+            end
+
+            x2(:,i) = getam(BPMxFamily, BPMxDevList);
+            y2(:,i) = getam(BPMyFamily, BPMyDevList);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Vertical.Tune2(:,i) = gettune;
+            end
+
+        elseif strcmpi(QMS_Vertical.ModulationMethod, 'bipolar')
+            % Modulate the quadrupole
+            sleep(ExtraDelay);
+            x0(:,i) = getam(BPMxFamily, BPMxDevList);
+            y0(:,i) = getam(BPMyFamily, BPMyDevList);
+            setquad(QMS_Vertical,-DelQuad*sign(QUAD0)+QUAD0, WaitFlag);
+            sleep(ExtraDelay);
+
+            % If correcting the orbit, then recorrect the horizontal center now
+            if strcmpi(QMS_Vertical.CorrectOrbit, 'yes')
+                % Correct the horizontal orbit
+                OrbitCorrection(Xoffset, BPMxFamily, BPMxDev, HCMFamily, HCMDev, 4);
+                sleep(ExtraDelay);
+            end
+
+            x1(:,i) = getam(BPMxFamily, BPMxDevList);
+            y1(:,i) = getam(BPMyFamily, BPMyDevList);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Vertical.Tune1(:,i) = gettune;
+            end
+
+            setquad(QMS_Vertical,+DelQuad*sign(QUAD0)+QUAD0, WaitFlag);
+            sleep(ExtraDelay);
+
+            % If correcting the orbit, then recorrect the horizontal center now
+            if strcmpi(QMS_Vertical.CorrectOrbit, 'yes')
+                % Correct the horizontal orbit
+                OrbitCorrection(Xoffset, BPMxFamily, BPMxDev, HCMFamily, HCMDev, 4);
+                sleep(ExtraDelay);
+            end
+
+            x2(:,i) = getam(BPMxFamily, BPMxDevList);
+            y2(:,i) = getam(BPMyFamily, BPMyDevList);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Vertical.Tune2(:,i) = gettune;
+            end
+
+            setquad(QMS_Vertical, QUAD0, WaitFlag);
+            
+        elseif strcmpi(QMS_Vertical.ModulationMethod, 'unipolar')
+            % Modulate the quadrupole
+            sleep(ExtraDelay);
+            x1(:,i) = getam(BPMxFamily, BPMxDevList);
+            y1(:,i) = getam(BPMyFamily, BPMyDevList);
+            x0(:,i) = x1(:,i);
+            y0(:,i) = y1(:,i);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Vertical.Tune1(:,i) = gettune;
+            end
+
+            setquad(QMS_Vertical, DelQuad*sign(QUAD0)+QUAD0, WaitFlag);
+            sleep(ExtraDelay);
+
+            % If correcting the orbit, then recorrect the horizontal center now
+            if strcmpi(QMS_Vertical.CorrectOrbit, 'yes')
+                % Correct the horizontal orbit
+                OrbitCorrection(Xoffset, BPMxFamily, BPMxDev, HCMFamily, HCMDev, 4);
+                sleep(ExtraDelay);
+            end
+
+            x2(:,i) = getam(BPMxFamily, BPMxDevList);
+            y2(:,i) = getam(BPMyFamily, BPMyDevList);
+            
+            if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+                QMS_Vertical.Tune2(:,i) = gettune;
+            end
+
+            setquad(QMS_Vertical, QUAD0, WaitFlag);
+        end
+        
+        DCCT(i) = getdcct;
+    end
+
+    setsp(VCMFamily, VCM0, VCMDev, -1);
+
+    
+    % Get the vertical data filename and save the data
+    % Append data and time
+    FileName = ['bba', num2str(QuadDev(1,1)), QuadFamily, num2str(QuadDev(1,2)), 'vplane'];
+    FileName = appendtimestamp(FileName, clock);
+
+    %% Append version number
+    %i=1;
+    %FileName = ['s', num2str(QuadDev(1,1)), QuadFamily, num2str(QuadDev(1,2)), 'v', num2str(i)];
+    %while exist([FileName,'.mat'], 'file')
+    %    i = i + 1;
+    %    FileName = ['s', num2str(QuadDev(1,1)), QuadFamily, num2str(QuadDev(1,2)), 'v', num2str(i)];
+    %end
+
+    QMS = QMS_Vertical;
+    QMS.QuadPlane = 2;
+
+    QMS.OldCenter = Yoffset;
+    QMS.XOffsetOld = XoffsetOld;
+    QMS.YOffsetOld = YoffsetOld;
+    
+    QMS.xstart = xstart;
+    QMS.ystart = ystart;
+    QMS.x0 = x0;
+    QMS.x1 = x1;
+    QMS.x2 = x2;
+    QMS.y0 = y0;
+    QMS.y1 = y1;
+    QMS.y2 = y2;
+    QMS.Xerr = Xerr;
+    QMS.Yerr = Yerr;
+    QMS.TimeStamp = clock;
+    QMS.DCCT = DCCT;
+    QMS.DataDescriptor = 'Quadrupole Center';
+    QMS.CreatedBy = 'quadcenter';
+
+    % Get and store the BPM status and standard deviation (to be used by the center calculation routine)
+    QMS.BPMStatus = family2status(BPMyFamily, BPMyDevList);
+    N = getbpmaverages(BPMyDevList);
+    QMS.BPMSTD = getsigma(BPMyFamily, BPMyDevList, N);
+
+    
+    % Set up figures, plot and find vertical center
+    if isempty(FigureHandle)
+        QMS = quadplot(QMS);
+    else
+        QMS = quadplot(QMS, FigureHandle);
+    end
+    drawnow;
+
+    if XYPlane==0
+        QMS2 = QMS;
+    else
+        QMS1 = QMS;
+    end
+    
+    
+    % Save the vertical data 
+    if isfield(QMS_Vertical,'DataDirectory')  
+        [FinalDir, ErrorFlag] = gotodirectory(QMS_Vertical.DataDirectory);
+    end
+    QMS.DataDirectory = pwd;    
+    save(FileName, 'QMS');
+    fprintf('   Data saved to file %s in directory %s\n\n', FileName, QMS.DataDirectory);
+    
+    % Output data to log file
+    fid1 = fopen('quadcenter.log','at');
+    time=clock;
+    fprintf(fid1, '%s   %d:%d:%2.0f \n', date, time(4),time(5),time(6));
+    fprintf(fid1, 'Data saved to file %s (%s)\n', FileName, QMS.DataDirectory);
+    fprintf(fid1, '%s(%d,%d) %s(%d,%d) = %f (+/- %f) [%s]\n\n', QuadFamily, QuadDev, BPMyFamily, BPMyDev, QMS.Center, QMS.CenterSTD);
+    fclose(fid1);
+    cd(DirStart);
+
+    if (GetTuneFlag || strcmpi(Mode, 'Simulator')) && isfamily('TUNE')
+        % Print the tune information
+        fprintf('   Tune and tune difference for the 1st points in the merit function (QMS.Tune1): \n');
+        fprintf('   %8.5f', QMS.Tune1(1,:));
+        fprintf('  Horizontal\n');
+        fprintf('   %8.5f', QMS.Tune1(2,:));
+        fprintf('  Vertical\n');
+        fprintf('   ===================================================\n');
+        fprintf('   %8.5f', diff(QMS.Tune1));
+        fprintf('  Difference \n\n');
+        
+        fprintf('   Tune and tune difference for the 2nd points in the merit function (QMS.Tune2): \n');
+        fprintf('   %8.5f', QMS.Tune2(1,:));
+        fprintf('  Horizontal\n');
+        fprintf('   %8.5f', QMS.Tune2(2,:));
+        fprintf('  Vertical\n');
+        fprintf('   ===================================================\n');
+        fprintf('   %8.5f', diff(QMS.Tune2));
+        fprintf('  Difference\n\n');
+
+        dTune1 = diff(QMS.Tune1);
+        dTune2 = diff(QMS.Tune2);
+        
+        if any(sign(dTune1/dTune1(1))==-1)
+            fprintf('   Tune change sign!!!\n');            
+        end
+        
+        if any(abs(dTune1) < .025) || any(abs(dTune2) < .025)
+            fprintf('   Horizontal and vertical tunes seem too close.\n');
+        end
+    end
+end
+
+
+% Restore magnets their starting points
+setsp(HCMFamily, HCM00, HCMDev, 0);
+setsp(VCMFamily, VCM00, VCMDev, 0);
+setquad(QMS_Horizontal, QUAD0, 0);
+
+
+% Restore the MML error warning level
+setfamilydata(ErrorWarningLevel, 'ErrorWarningLevel');
+
+
+%%%%%%%%%%%%%%%%%%%%%
+% End Main Function %
+%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%%%%%%%%%%%%%%%%
+% Sub-Functions %
+%%%%%%%%%%%%%%%%%
+
+function OrbitCorrection(GoalOrbit, BPMFamily, BPMDevList, CMFamily, CMDevList, Iter)
+
+WaitFlag = -2;
+
+if nargin < 6
+    Iter = 3;
+end
+
+if size(CMDevList,1) > 1
+    % Pick the corrector based on the most effective corrector in the response matrix
+    % This routine does not handle local bumps at the moment
+    R = getrespmat(BPMFamily, BPMDevList, CMFamily, [], 'Struct', 'Physics');
+    [i, iNotFound] = findrowindex(BPMDevList, R.Monitor.DeviceList);
+    m = R.Data(i,:);
+    [MaxValue, j] = max(abs(m));
+    CMDevList = R.Actuator.DeviceList(j,:);
+end
+
+s = getrespmat(BPMFamily, BPMDevList, CMFamily, CMDevList);
+if any(any(isnan(s)))
+    error('Response matrix has a NaN');
+end
+
+
+for i = 1:Iter
+    x = getam(BPMFamily, BPMDevList) - GoalOrbit;
+    
+    CorrectorSP = -(x./s);
+    CorrectorSP = CorrectorSP(:);
+    
+    % Check limits
+    MinSP = minsp(CMFamily, CMDevList);
+    MaxSP = maxsp(CMFamily, CMDevList);
+    if any(getsp(CMFamily,CMDevList)+CorrectorSP > MaxSP-5) 
+        fprintf('   Orbit not corrected because a maximum power supply limit would have been exceeded!\n');
+        return;
+    end
+    if any(getsp(CMFamily,CMDevList)+CorrectorSP < MinSP+5) 
+        fprintf('   Orbit not corrected because a minimum power supply limit would have been exceeded!\n');
+        return;
+    end
+    
+    stepsp(CMFamily, CorrectorSP, CMDevList, WaitFlag);
+    
+    %x = getam(BPMFamily, BPMDevList) - GoalOrbit
+end
+
+
+
+
+% function AM = getquad(QMS)
+% % AM = getquad(QMS)
+% 
+% QuadFamily = QMS.QuadFamily;
+% QuadDev = QMS.QuadDev;
+% 
+% % Check operational mode
+% %mode = getfamilydata(QuadFamily, 'Setpoint', 'Mode', QuadDev);
+% 
+% AM = getam(QuadFamily, QuadDev);
+
+
+% function setquad(QMS, QuadSetpoint, WaitFlag)
+% % setquad(QMS, QuadSetpoint, WaitFlag)
+%     
+% if nargin < 3
+%     WaitFlag = -2;
+% end
+% 
+% QuadFamily = QMS.QuadFamily;
+% QuadDev = QMS.QuadDev;
+% 
+% setsp(QuadFamily, QuadSetpoint, QuadDev, WaitFlag); 
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcenterinit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcenterinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadcenterinit.m	(revision 17)
@@ -0,0 +1,270 @@
+function QMS = quadcenterinit(QuadFamily, QuadDev, QuadPlane)
+% QMS = quadcenterinit(Family, Device, QuadPlane)
+%
+% QuadFamily = Quadrupole family
+% QuadDev    = Quadrupole device 
+% QuadPlane  = Plane (1=horizontal {default}, 2=vertical)
+%
+% QMS structure contains fields:
+% QMS.QuadFamily
+% QMS.QuadDev
+% QMS.QuadDelta
+% QMS.QuadPlane
+% QMS.BPMFamily
+% QMS.BPMDev
+% QMS.BPMDevList
+% QMS.CorrFamily
+% QMS.CorrDevList             % Often one magnet but bumps or anything else is fine
+% QMS.CorrDelta               % Scale factor for each magnet in CorrDevList
+% QMS.DataDirectory           % From AD or '.'
+% QMS.QuadraticFit = 1;       % 1=quadratic fit, else linear fit
+% QMS.OutlierFactor = 1;      % if abs(data - fit) > OutlierFactor * BPMstd, then remove that BPM [mm]
+% QMS.NumberOfPoints = 3;
+% QMS.ModulationMethod = 'bipolar'
+% QMS.CorrectOrbit 'yes' or 'no'
+% QMS.CreatedBy
+%
+%  NOTES
+%  1. Quad variations are directly put in this file (not lattice
+%  independant)
+%  2. Added Flags for nanoscopium
+%     Step 1 Center of quadrupole upstream of BPM.8 and downstream of BPM.9
+%     Step 2 Center of quadrupole of the triplets. Strategy to be discussed 
+%
+% See Also quadcenter, quad2bpm
+
+% 
+% This file is machine specific
+% Written by Laurent S. Nadolski (adapted from ALS)
+% July 2011, add nanoscopium Q11 and Q12 families
+
+if nargin < 1
+    FamilyList = getfamilylist;
+    [tmp,i] = ismemberof(FamilyList,'QUAD');
+    if ~isempty(i)
+        FamilyList = FamilyList(i,:);
+    end
+    [i,ok] = listdlg('PromptString', 'Select a quadrupole family:', ...
+        'SelectionMode', 'single', ...
+        'ListString', FamilyList);
+    drawnow;
+    if ok == 0
+        return
+    else
+        QuadFamily = deblank(FamilyList(i,:));
+    end
+end
+if ~isfamily(QuadFamily)
+    error(sprintf('Quadrupole family %s does not exist.  Make sure the middle layer had been initialized properly.', ...
+        QuadFamily));
+end
+if nargin < 2
+    QuadDev = editlist(family2dev(QuadFamily),QuadFamily,zeros(length(family2dev(QuadFamily)),1));
+end
+if nargin < 3
+    %QuadPlane = 1;  % Horizontal default
+    ButtonNumber = menu('Which Plane?', 'Horizontal','Vertical','Cancel');  
+    drawnow;
+    switch ButtonNumber
+        case 1
+            QuadPlane = 1;
+        case 2
+            QuadPlane = 2;
+        otherwise
+            fprintf('   quadcenterinit cancelled');
+            return
+    end
+end
+
+% Initialize the QMS structure
+QMS.QuadPlane  = QuadPlane;
+QMS.QuadFamily = QuadFamily;
+QMS.QuadDev    = QuadDev;
+QMS.OutlierFactor = 8;       % BPM Outlier: abs(fit - measured data) > OutlierFactor * std(BPM) 
+QMS.CorrectOrbit  = 'no';    % 'yes' or 'no';  % Only do it if the orbit is reasonably close to the offset orbit 
+if strcmpi(family2mode('BPMx'), 'Online')
+    QMS.ExtraDelay    =  1.5; %s
+else
+    QMS.ExtraDelay    =  0; %s
+end
+%QMS.CorrectOrbit = 'Yes';    % 'yes' or 'no';  % Only do it if the orbit is reasonably close to the offset orbit 
+
+
+% Note: DataDirectory must start with the root of the tree and end with filesep or be '.'
+QMSDirectory = getfamilydata('Directory','BBAcurrent');
+if isempty(QMSDirectory)
+    QMS.DataDirectory = '.';
+else
+    QMS.DataDirectory = QMSDirectory;
+end
+
+if QMS.QuadPlane==1        
+    % Horizontal
+
+    CorrMethod = 'MEC';
+    %CorrMethod = 'LocalBump';
+    %CorrMethod = 'Fixed';
+
+    QMS.BPMFamily  = 'BPMx';
+    QMS.CorrFamily = 'HCOR';
+    QMS.NumberOfPoints = 5;
+    QMS.QuadraticFit = 0;       % 0 = linear fit, else quadratic fit
+       
+    % Use all BPMs in the minimization
+    QMS.BPMDevList = family2dev(QMS.BPMFamily);    
+
+    % Find the BPM closest to the quadrupole
+    [TmpFamily, QMS.BPMDev] = quad2bpm(QMS.QuadFamily, QMS.QuadDev);
+
+    % Pick the quadrupole and corrector delta
+    QMS.ModulationMethod = 'bipolar';
+    
+    switch QMS.QuadFamily
+        case 'Q1'
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.1;
+        case 'Q2' 
+            QMS.QuadDelta = 1.0;
+            QMS.CorrDelta = 0.1;
+        case 'Q3' 
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.1;
+        case 'Q4' 
+            QMS.QuadDelta = 4.0/2;
+            QMS.CorrDelta = 0.1;
+        case 'Q5' 
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.1;
+        case 'Q6' 
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.2;
+        case 'Q7' 
+            QMS.QuadDelta = 3.0/2/2;
+            QMS.CorrDelta = 0.1;
+        case 'Q8' 
+            QMS.QuadDelta = 4.0/2;
+            QMS.CorrDelta = 0.1;
+        case 'Q9' 
+            QMS.QuadDelta = 4.0/2;
+            QMS.CorrDelta = 0.1;
+        case 'Q10' 
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.1;
+        case 'Q11' % to be tested 
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.1;
+        case 'Q12' % to be tested
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.1;
+        otherwise
+            error('Unknown quad');
+    end
+    
+    % Find corrector the bump the beam in the quadrupole
+    switch CorrMethod        
+        case 'MEC' % Most effective corrector
+            % Pick the corrector based on the most effective corrector in the response matrix
+            R = getbpmresp('Struct');
+            [i, iNotFound] = findrowindex(QMS.BPMDev, R(1,1).Monitor.DeviceList);
+            m = R(1,1).Data(i,:);
+            [MaxValue, j] = max(abs(m));
+            QMS.CorrDevList = R(1,1).Actuator.DeviceList(j,:);
+        case 'LocalBump'
+            % Local bump corrector method
+            [OCS, RF, OCS0] = setorbitbump('BPMx',QMS.BPMDev,[.1],'HCOR',[-2 -1 1 2], 'NoSetSP');
+            QMS.CorrDelta = OCS.CM.Data - OCS0.CM.Data;
+            QMS.CorrDevList = OCS.CM.DeviceList;
+        otherwise
+            error('Corrector method unknown.');
+    end
+
+elseif QMS.QuadPlane==2
+    % Vertical
+
+    CorrMethod = 'MEC';
+    %CorrMethod = 'LocalBump';
+    %CorrMethod = 'Fixed';
+
+    QMS.BPMFamily  = 'BPMz';
+    QMS.CorrFamily = 'VCOR';
+    QMS.NumberOfPoints = 5;
+    QMS.QuadraticFit = 0;       % 0 = linear fit, else quadratic fit
+    QMS.ExtraDelay = 2;
+
+    % Use all BPMs in the minimization
+    QMS.BPMDevList = family2dev(QMS.BPMFamily);
+
+    % Find the BPM closest to the quadrupole
+    [TmpFamily, QMS.BPMDev] = quad2bpm(QMS.QuadFamily, QMS.QuadDev);
+
+    % Pick the quadrupole and corrector delta
+    QMS.ModulationMethod = 'bipolar';
+    switch QMS.QuadFamily
+        case 'Q1'
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.3;
+        case 'Q2' 
+            QMS.QuadDelta = 4.0/4;
+            QMS.CorrDelta = 0.2*2;
+        case 'Q3' 
+            QMS.QuadDelta = 3.0;
+            QMS.CorrDelta = 0.3;
+        case 'Q4' 
+            QMS.QuadDelta = 2.0;
+            QMS.CorrDelta = 0.3;
+        case 'Q5' 
+            QMS.QuadDelta = 5.0/2;
+            QMS.CorrDelta = 0.3;
+        case 'Q6' 
+            QMS.QuadDelta = 3.0;
+            QMS.CorrDelta = 0.3;
+        case 'Q7' 
+            QMS.QuadDelta = 4.0/2;
+            QMS.CorrDelta = 0.3*2;
+        case 'Q8' 
+            QMS.QuadDelta = 4.0;
+            QMS.CorrDelta = 0.3;
+        case 'Q9' 
+            QMS.QuadDelta = 3.0*0+2.0;
+            QMS.CorrDelta = 0.3;
+        case 'Q10' 
+            QMS.QuadDelta = 1.5;
+            QMS.CorrDelta = 0.5*2;
+        case 'Q11' % to be tested
+            QMS.QuadDelta = 1.5;
+            QMS.CorrDelta = 0.5*2;
+        case 'Q12' % to be tested
+            QMS.QuadDelta = 1.5;
+            QMS.CorrDelta = 0.5*2;
+        otherwise
+            error('Unknown quad');
+    end
+
+    % Find corrector the bump the beam in the quadrupole
+    switch CorrMethod 
+        case 'MEC'
+            % Pick the corrector based on the most effective corrector in the response matrix
+            R = getbpmresp('Struct','Physics');
+            [i, iNotFound] = findrowindex(QMS.BPMDev, R(2,2).Monitor.DeviceList);
+            m = R(2,2).Data(i,:);
+            [MaxValue, j] = max(abs(m));
+            QMS.CorrDevList = R(2,2).Actuator.DeviceList(j,:);
+        case 'LocalBump'
+            % Local bump corrector method
+            %[OCS, RF, OCS0] = setorbitbump('BPMz',QMS.BPMDev,[1/4],'HCOR',[-2 -1 1 2], 'NoSetSP');
+            %QMS.CorrDelta = OCS.CM.Data - OCS0.CM.Data;
+            [OCS, RF, OCS0] = setorbitbump('BPMz',QMS.BPMDev,[1/4],'VCOR',[-2 -1 1 2], 'Display');
+            setsp(OCS0.CM);
+            QMS.CorrDelta = OCS.CM.Data - OCS0.CM.Data;
+            QMS.CorrDevList = OCS.CM.DeviceList;
+        otherwise
+            error('Corrector method unknown.');
+    end
+
+else
+    error('QMS.QuadPlane must be 1 or 2');
+end
+
+
+QMS.CreatedBy = 'quadcenterinit';
+QMS = orderfields(QMS);
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quaderrors.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quaderrors.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quaderrors.m	(revision 17)
@@ -0,0 +1,196 @@
+function QMS = quaderrors(Input1, FigureHandle, MontiCarloFlag)
+%QUADERRORS - Computes the error bars for quadrupole center measurement
+%  QMS = quaderrors(FileName, FigureHandle, MontiCarloFlag)
+%
+%  See Also quadplot, quadcenter
+
+%
+%% Written by Greg Portmann
+
+
+Buffer = .03;
+HeightBuffer = .08;
+
+    
+% Don't do the monticarlo plot if being called from quadplot
+MontiCarloFlag = 1;
+[ST,I] = dbstack;
+for i = 1:length(ST)
+    if strcmpi(ST(i).file,'quadplot.m')
+        MontiCarloFlag = 0;
+    end
+end
+
+
+% Inputs
+try
+    WarningString = [];
+    if nargin == 0
+        [FileName, PathName] = uigetfile('*.mat', 'Input Quadrupole Center file.');
+        if ~isstr(FileName)
+            return
+        else
+            eval(['load ',PathName,FileName]);
+        end
+    else
+        if isstr(Input1)
+            FileName = Input1;
+            eval(['load ', FileName]);
+        elseif isempty(Input1)
+            [FileName, PathName] = uigetfile('*.mat', 'Input Quadrupole Center file.');
+            if ~isstr(FileName)
+                return
+            else
+                eval(['load ',PathName,FileName]);
+            end
+        else
+            QMS = Input1;
+            FileName = [];
+        end
+    end
+catch
+    error('Problem getting input data');
+end
+
+%QMS = quadplot(QMS);
+
+if nargin < 2
+    FigureHandle = gcf;
+else
+    if all(FigureHandle ~= 0)
+        figure(FigureHandle);
+    end
+end
+
+if all(FigureHandle ~= 0)
+    clf reset
+    if MontiCarloFlag
+        AxesHandles(1) = subplot(3,1,1);
+        AxesHandles(2) = subplot(3,1,2);
+        AxesHandles(3) = subplot(3,1,3);
+    else
+        AxesHandles(1) = subplot(2,1,1);
+        AxesHandles(2) = subplot(2,1,2);
+    end
+
+    if QMS.QuadPlane ~= 1
+        set(FigureHandle,'units','normal','position',[Buffer .25+Buffer .5-Buffer-.003 .75-1.2*Buffer-HeightBuffer]);
+        %set(FigureHandle,'units','normal','position',[0+Buffer .09+Buffer .5-2*Buffer .9-2*Buffer-HeightBuffer]);
+    else
+        set(FigureHandle,'units','normal','position',[.5+.003 .25+Buffer .5-Buffer-.003 .75-1.2*Buffer-HeightBuffer]);
+        %set(FigureHandle,'units','normal','position',[.5+Buffer .09+Buffer .5-2*Buffer .9-2*Buffer-HeightBuffer]);
+    end
+
+    %subplot(3,2,1);
+    axes(AxesHandles(1));
+    errorbar(1:length(QMS.FitParameters(:,1)), QMS.FitParameters(:,1), QMS.FitParametersStd(:,1),'b');
+    hold on;
+    errorbar(1:length(QMS.FitParameters(:,1)), QMS.FitParameters(:,1), QMS.FitParametersStd(:,1),'.r');
+    errorbar(QMS.GoodIndex, QMS.FitParameters(QMS.GoodIndex,1), QMS.FitParametersStd(QMS.GoodIndex,1),'.b');
+    hold off
+    title('Linear Fit');
+    ylabel('Y-Intercept');
+    %xlabel('BPM Number');
+    grid
+    xaxis([0 length(QMS.FitParameters(:,1))+1]);
+
+
+    %subplot(3,1,2);
+    axes(AxesHandles(2));
+    errorbar(1:length(QMS.FitParameters(:,1)), QMS.FitParameters(:,2), QMS.FitParametersStd(:,2),'b');
+    hold on
+    errorbar(1:length(QMS.FitParameters(:,1)), QMS.FitParameters(:,2), QMS.FitParametersStd(:,2),'.r');
+    errorbar(QMS.GoodIndex, QMS.FitParameters(QMS.GoodIndex,2), QMS.FitParametersStd(QMS.GoodIndex,2),'.b');
+    hold off
+    xlabel('BPM Number');
+    ylabel('Slope');
+    %xlabel('BPM Number');
+    grid
+    xaxis([0 length(QMS.FitParameters(:,1))+1]);
+end
+
+
+if MontiCarloFlag
+    % Monte Carlo the mean and standard deviation of all the good offsets
+    N = 20000;
+    QMS.OffsetMean = NaN*ones(length(QMS.FitParameters(:,2)),1);
+    QMS.OffsetStd  = NaN*ones(length(QMS.FitParameters(:,2)),1);
+
+    OffsetMean1 = QMS.OffsetMean;
+    OffsetStd1  = QMS.OffsetStd;
+    NormalRV1 = randn(N,1);
+    NormalRV2 = randn(N,1);
+    if QMS.QuadraticFit == 1
+        NormalRV3 = randn(N,1);
+    end
+    for i = QMS.GoodIndex(:)'   % 1:length(QMS.Offset)
+        rvinter = QMS.FitParameters(i,1) + QMS.FitParametersStd(i,1)*NormalRV1;
+        rvslope = QMS.FitParameters(i,2) + QMS.FitParametersStd(i,2)*NormalRV2;
+        if QMS.QuadraticFit == 1
+            rvquadradic = QMS.FitParameters(i,3) + QMS.FitParametersStd(i,3)*NormalRV3;
+            x = (-rvslope + sqrt(rvslope.^2 - 4*rvquadradic.*rvinter)) ./ (2*rvquadradic);
+        else
+            x = -rvinter ./ rvslope;
+        end
+        OffsetMean1(i) = mean(x);
+        OffsetStd1(i)  = std(x);
+    end
+
+    OffsetMean2 = QMS.OffsetMean;
+    OffsetStd2  = QMS.OffsetStd;
+    NormalRV1 = randn(N,1);
+    NormalRV2 = randn(N,1);
+    if QMS.QuadraticFit == 1
+        NormalRV3 = randn(N,1);
+    end
+    for i = QMS.GoodIndex(:)'   % 1:length(QMS.Offset)
+        rvinter = QMS.FitParameters(i,1) + QMS.FitParametersStd(i,1)*NormalRV1;
+        rvslope = QMS.FitParameters(i,2) + QMS.FitParametersStd(i,2)*NormalRV2;
+        if QMS.QuadraticFit == 1
+            rvquadradic = QMS.FitParameters(i,3) + QMS.FitParametersStd(i,3)*NormalRV3;
+            x = (-rvslope + sqrt(rvslope.^2 - 4*rvquadradic.*rvinter)) ./ (2*rvquadradic);
+        else
+            x = -rvinter ./ rvslope;
+        end
+        OffsetMean2(i) = mean(x);
+        OffsetStd2(i)  = std(x);
+    end
+
+    QMS.OffsetMean(:,1) = [OffsetMean1 + OffsetMean2] / 2;
+    QMS.OffsetStd(:,1)  = [OffsetStd1  + OffsetStd2]  / 2;
+
+
+    if all(FigureHandle ~= 0)
+
+        % plot([OffsetStd1  OffsetStd2  OffsetStd3],'x')
+
+        %subplot(3,1,3);
+        axes(AxesHandles(3));
+        %errorbar(1:length(QMS.Offset), QMS.Offset, QMS.OffsetStd,'.r');
+        %hold on
+        errorbar(QMS.GoodIndex, QMS.Offset(QMS.GoodIndex), QMS.OffsetStd(QMS.GoodIndex),'.b');
+
+
+        % errorbar(1:length(QMS.Offset), QMS.Offset, QMS.OffsetStd,'.b');
+        % hold on
+        % errorbar(1:length(QMS.Offset), QMS.Offset, OffsetStd1,'.r');
+        % errorbar(1:length(QMS.Offset), QMS.Offset, OffsetStd2,'.g');
+        % errorbar(1:length(QMS.Offset), QMS.Offset, OffsetStd3,'.k');
+
+        % errorbar(QMS.GoodIndex, QMS.Offset(QMS.GoodIndex), QMS.OffsetStd(QMS.GoodIndex),'.b');
+        % hold on
+        % errorbar(QMS.GoodIndex, QMS.Offset(QMS.GoodIndex), OffsetStd1(QMS.GoodIndex),'.r');
+        % errorbar(QMS.GoodIndex, QMS.Offset(QMS.GoodIndex), OffsetStd2(QMS.GoodIndex),'.g');
+        % errorbar(QMS.GoodIndex, QMS.Offset(QMS.GoodIndex), OffsetStd3(QMS.GoodIndex),'.k');
+
+        hold off
+        ylabel('X-Intercept = - (Y-Intercept)/Slope');
+        ylabel('Monte Carlo');
+        xlabel('BPM Number');
+        grid
+        xaxis([0 length(QMS.Offset)+1]);
+        %yaxis([-.025 .025]+QMS.Center);
+    end
+
+    QMS.OffsetSTDMontiCarlo = sqrt((sum(QMS.OffsetStd(QMS.GoodIndex).^2))/length(QMS.GoodIndex));
+end
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetbetaKL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetbetaKL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetbetaKL.m	(revision 17)
@@ -0,0 +1,12 @@
+function lambda = getbetaKL(Family, DeviceList)
+
+% Integrated gradient
+KL = getkleff(Family, DeviceList);
+
+lambda = zeros(2,length(KL));
+
+% betax at entrance of magnet
+[bx bz] = modelbeta(Family, DeviceList);
+
+lambda(1,:) = abs(KL).*bx; 
+lambda(2,:) = abs(KL).*bz; 
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetdata.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetdata.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetdata.m	(revision 17)
@@ -0,0 +1,401 @@
+function [X, Y, BPMxFamily, QUADxFamily, BPMyFamily, QUADyFamily, DateMatX, DateMatY QUADxDevList QUADyDevList] = quadgetdata(DirName, PlotFlag)
+%QUADGETDATA - Collect the date from a quadrupole center run.
+%              When all the quadrupole center data files are stored in a directory this function
+%              will go through all the files and pull out some of the important information.
+%
+%  [X, Y, BPMxFamily, QUADxFamily, BPMyFamily, QUADyFamily, XfileDate, YfilesDate] = quadgetdata(DirName)
+%
+%  INPUTS
+%  1. DirName - Directory name to look for quadrupole center files  
+%               [] to browse {Default}
+%  2. PlotFlag - 0 to just get data without plotting results, else, plot results
+%  
+%  OUTPUTS
+%  1. X - Horizontal output matrix (format below)
+%  2. Y - Vertical output matrix (format below)
+%
+%             1&2     3       4        5     6       7         8         9
+%  Output = [BPMDev Center CenterSTD BPMpos DCCT BPMATIndex Quadpos QuadATIndex]
+%
+%  3-6. BPMxFamily, QUADxFamily, BPMyFamily, QUADyFamily - Family name for each center measurement
+%  7-8. XfileDate, YfilesDate - Date string for the file name
+%  9-10 QUADxDevList, QUADyDevList - device list of quad
+%
+%  See Also quadplotall
+
+%
+%%  Written by Greg Portmann
+
+
+if nargin == 0
+    DirName = '';
+end
+
+if nargin < 2
+    PlotFlag = 1;
+end
+
+if isempty(DirName)
+    DirName = [getfamilydata('Directory', 'DataRoot'),'QMS\'];
+    DirName = uigetdir(DirName, 'Select directory where the QMS data are located');
+    if ~ischar(DirName)
+        fprintf('Cancel \n');
+        return;
+    end
+end
+
+StartDir = pwd;
+cd(DirName);
+
+Files = dir;
+
+X = [];
+Y = [];
+BPMxFamily = [];
+QUADxFamily = [];
+BPMyFamily = [];
+QUADyFamily = [];
+QUADxDevList = [];
+QUADyDevList = [];
+DateMatX = [];
+DateMatY = [];
+GoodIndexX = [];
+CorrDeltaX = [];
+QuadDeltaX = [];
+GoodIndexY = [];
+CorrDeltaY = [];
+QuadDeltaY = [];
+OutlierFactorX = [];
+OutlierFactorY = [];
+MaxCorrOrbitVariationX = [];
+MaxQuadOrbitVariationX = [];
+MaxCorrOrbitVariationY = [];
+MaxQuadOrbitVariationY = [];
+MaxTuneY = [];
+MaxTuneX = [];
+MaxHysteresisY = [];
+MaxHysteresisX = [];
+
+% do not forget sorting part !!!
+
+
+for i = 1:length(Files)
+    if exist(Files(i).name) == 2
+        clear QMS DelHCM DelVCM
+        try
+            load(Files(i).name)
+
+            %Files(i).name
+
+            % Old middle layer
+            if exist('DelHCM', 'var')
+                clear q
+                [q.Center, q.CenterSTD, ErrorString] = quadhplt(Files(i).name);
+                q.BPMFamily = 'BPMx';
+                q.BPMDev = BPMnum + [0 1];
+                q.DCCT = NaN;
+                [q.QuadFamily, q.QuadDev] = bpm2quad(q.BPMFamily, q.BPMDev);
+
+                X = [X; q.BPMDev q.Center q.CenterSTD getspos(q.BPMFamily, q.BPMDev) min(q.DCCT) family2atindex(q.BPMFamily, q.BPMDev) getspos(q.QuadFamily, q.QuadDev) family2atindex(q.QuadFamily, q.QuadDev)];
+                BPMxFamily = strvcat(BPMxFamily, q.BPMFamily);
+                QUADxFamily = strvcat(QUADxFamily, q.QuadFamily);
+                DateMatX = [DateMatX; Files(i).date];
+                
+            elseif exist('DelVCM', 'var')
+                clear q
+                [q.Center, q.CenterSTD, ErrorString] = quadvplt(Files(i).name);
+                q.BPMFamily = 'BPMy';
+                q.BPMDev = BPMnum + [0 1];
+                q.DCCT = NaN;
+                [q.QuadFamily, q.QuadDev] = bpm2quad(q.BPMFamily, q.BPMDev);
+
+                Y = [Y; q.BPMDev q.Center q.CenterSTD getspos(q.BPMFamily, q.BPMDev) min(q.DCCT) family2atindex(q.BPMFamily, q.BPMDev) getspos(q.QuadFamily, q.QuadDev) family2atindex(q.QuadFamily, q.QuadDev)];
+                BPMyFamily = strvcat(BPMyFamily, q.BPMFamily);
+                QUADyFamily = strvcat(QUADyFamily, q.QuadFamily);
+                DateMatY = [DateMatY; Files(i).date];
+
+            else
+
+                % New middle layer
+                q = QMS;
+
+                %fprintf('   %d.  %s(%d,%d)\n', i, q.QuadFamily, q.QuadDev);
+
+                if q.QuadPlane == 1 % H-plane
+                    X = [X; q.BPMDev q.Center q.CenterSTD getspos(q.BPMFamily, q.BPMDev) min(q.DCCT) family2atindex(q.BPMFamily, q.BPMDev) getspos(q.QuadFamily, q.QuadDev) family2atindex(q.QuadFamily, q.QuadDev)];
+                    BPMxFamily = strvcat(BPMxFamily, q.BPMFamily);
+                    QUADxFamily = strvcat(QUADxFamily, q.QuadFamily);
+                    QUADxDevList = [QUADxDevList; q.QuadDev];
+                    DateMatX = [DateMatX; Files(i).date];
+                    GoodIndexX = [ GoodIndexX; size(q.GoodIndex,1)];
+                    CorrDeltaX = [ CorrDeltaX; q.CorrDelta];
+                    QuadDeltaX = [ QuadDeltaX; q.QuadDelta];
+                    OutlierFactorX = [OutlierFactorX; q.OutlierFactor];
+                    [BPMelem1, iNotFound] = findrowindex(q.BPMDev, q.BPMDevList);
+                    MaxCorrOrbitVariationX = [MaxCorrOrbitVariationX; max((q.x2(BPMelem1,:)+q.x1(BPMelem1,:))/2) - min((q.x2(BPMelem1,:)+q.x1(BPMelem1,:))/2)];
+                    MaxQuadOrbitVariationX = [MaxQuadOrbitVariationX; max(max(q.x2-q.x1, [], 2))-min(max(q.x2-q.x1, [], 2))];
+                    MaxTuneX = [MaxTuneX; max(abs(q.Tune1 - q.Tune2), [], 2)'];
+                    
+                    
+                else % V-plane
+                    Y = [Y; q.BPMDev q.Center q.CenterSTD getspos(q.BPMFamily, q.BPMDev) min(q.DCCT) family2atindex(q.BPMFamily, q.BPMDev) getspos(q.QuadFamily, q.QuadDev) family2atindex(q.QuadFamily, q.QuadDev)];
+                    BPMyFamily = strvcat(BPMyFamily, q.BPMFamily);
+                    QUADyFamily = strvcat(QUADyFamily, q.QuadFamily);
+                    QUADyDevList = [QUADyDevList; q.QuadDev];
+                    DateMatY = [DateMatY; Files(i).date];
+                    GoodIndexY = [ GoodIndexY; size(q.GoodIndex,1)];
+                    CorrDeltaY = [ CorrDeltaY; q.CorrDelta];
+                    QuadDeltaY = [ QuadDeltaY; q.QuadDelta];
+                    OutlierFactorY= [OutlierFactorY; q.OutlierFactor];
+                    [BPMelem1, iNotFound] = findrowindex(q.BPMDev, q.BPMDevList);
+                    MaxCorrOrbitVariationY = [MaxCorrOrbitVariationY; max((q.y2(BPMelem1,:)+q.y1(BPMelem1,:))/2) - min((q.y2(BPMelem1,:)+q.y1(BPMelem1,:))/2)];
+                    MaxQuadOrbitVariationY = [MaxQuadOrbitVariationY; max(max(q.y2-q.y1, [], 2))-min(max(q.y2-q.y1, [], 2))];
+                    MaxTuneY = [MaxTuneY; max(abs(q.Tune1 - q.Tune2), [], 2)'];
+                end
+                if any(q.DCCT<5)
+                    fprintf('   %s(%d,%d) (%s) shows a beam less than 5 mamps during the experiment!\n', q.BPMFamily, q.BPMDev, Files(i).name);
+                end
+            end
+        catch
+            % not a bba file
+        end
+    end
+end
+
+[DateMatX, iX] = sortrows(DateMatX);
+[DateMatY, iY] = sortrows(DateMatY);
+X = X(iX,:);
+Y = Y(iY,:);
+BPMxFamily = BPMxFamily(iX,:);
+BPMyFamily = BPMyFamily(iY,:);
+QUADxFamily = QUADxFamily(iX,:);
+QUADyFamily = QUADyFamily(iY,:);
+QUADxDevList = QUADxDevList(iX,:);
+QUADyDevList = QUADyDevList(iY,:);
+
+DateMatX = DateMatX(iX,:);
+DateMatY = DateMatY(iY,:);
+GoodIndexX = GoodIndexX(iX,:);
+CorrDeltaX = CorrDeltaX(iX,:);
+QuadDeltaX = QuadDeltaX(iX,:);
+GoodIndexY = GoodIndexY(iY,:);
+CorrDeltaY = CorrDeltaY(iY,:);
+QuadDeltaY = QuadDeltaY(iY,:);
+OutlierFactorX = OutlierFactorX(iX,:);
+OutlierFactorY = OutlierFactorY(iY,:);
+MaxCorrOrbitVariationX = MaxCorrOrbitVariationX(iX,:);
+MaxQuadOrbitVariationX = MaxQuadOrbitVariationX(iX,:);
+MaxCorrOrbitVariationY = MaxCorrOrbitVariationY(iY,:);
+MaxQuadOrbitVariationY = MaxQuadOrbitVariationY(iY,:);
+MaxTuneY = MaxTuneY(iY,:);
+MaxTuneX = MaxTuneX(iX,:);
+% MaxHysteresisY = MaxHysteresisY(iY,:);
+% MaxHysteresisX = MaxHysteresisX(iX,:);
+
+
+
+cd(StartDir);
+
+
+valGoodX = 30;
+SelectIdx = find(GoodIndexX<valGoodX);
+
+fprintf('%3d BPMx with less than %d good BPMs\n', length(SelectIdx), valGoodX);
+for k =1:length(SelectIdx),
+    fprintf('%3s(%2d,%2d): %3d (Center = %+.4f +/- %.4f OutlierFactor=%2d, Dquad= %.3f Dorb=%+.3f Dcorr = %+.3f Dorb =%+.3f |Dnux| = %+.4f |Dnuy| = %+.4f)\n', ...
+        QUADxFamily(SelectIdx(k),:), ...
+        QUADxDevList(SelectIdx(k),:), GoodIndexX(SelectIdx(k)), ...
+        X(SelectIdx(k),3), X(SelectIdx(k),4), OutlierFactorX(SelectIdx(k)), ...
+        QuadDeltaX(SelectIdx(k)), MaxQuadOrbitVariationX(SelectIdx(k)), ...,
+        CorrDeltaX(SelectIdx(k)), MaxCorrOrbitVariationX(SelectIdx(k)), ...
+        MaxTuneX(SelectIdx(k),:));
+end
+
+% BIZARRE 2 April 2011
+%valGoodX = 3e-3;
+SelectIdx = find(X(:,4)>valGoodX);
+
+fprintf('%3d BPMx offsets determined within more than %d mm\n', length(SelectIdx), valGoodX);
+for k =1:length(SelectIdx),
+    fprintf('%3s(%2d,%2d): %3d (Center = %+.4f +/- %.4f OutlierFactor=%2d, Dquad= %.3f Dorb=%+.3f Dcorr = %.3f Dorb =%+.3f |Dnux| = %+.4f |Dnuy| = %+.4f)\n', ...
+        QUADxFamily(SelectIdx(k),:), ...
+        QUADxDevList(SelectIdx(k),:), GoodIndexX(SelectIdx(k)), ...
+        X(SelectIdx(k),3), X(SelectIdx(k),4), OutlierFactorX(SelectIdx(k)), ...
+        QuadDeltaX(SelectIdx(k)), MaxQuadOrbitVariationX(SelectIdx(k)), ...,
+        CorrDeltaX(SelectIdx(k)), MaxCorrOrbitVariationX(SelectIdx(k)), ...
+        MaxTuneX(SelectIdx(k),:));
+end
+
+
+
+valGoodY = 30;
+SelectIdx = find(GoodIndexY<valGoodY);
+
+
+fprintf('%3d BPMy with less than %d good BPMs\n', length(SelectIdx), valGoodY);
+for k =1:length(SelectIdx),
+    fprintf('%3s(%2d,%2d): %3d (Center = %+.4f +/- %.4f OutlierFactor=%2d, Dquad= %.3f Dorb=%+.3f Dcorr = %.3f Dorb =%+.3f |Dnux| = %+.4f |Dnuy| = %+.4f)\n', ...
+        QUADyFamily(SelectIdx(k),:), QUADyDevList(SelectIdx(k),:), GoodIndexY(SelectIdx(k)), ...
+        Y(SelectIdx(k),3), Y(SelectIdx(k),4), OutlierFactorY(SelectIdx(k)), ...
+        QuadDeltaY(SelectIdx(k)), MaxQuadOrbitVariationY(SelectIdx(k)), ...
+        CorrDeltaY(SelectIdx(k)), MaxCorrOrbitVariationY(SelectIdx(k)), ...
+        MaxTuneY(SelectIdx(k),:));
+end
+
+valGoodY = 3e-3;
+SelectIdx = find(Y(:,4)>valGoodY);
+
+fprintf('%3d BPMy offset determined within more than %d mm\n', length(SelectIdx), valGoodY);
+
+for k =1:length(SelectIdx),
+    fprintf('%3s(%2d,%2d): %3d (Center = %+.4f +/- %.4f OutlierFactor=%2d, Dquad= %.3f Dorb=%+.3f Dcorr = %.3f Dorb =%+.3f |Dnux| = %+.4f |Dnuy| = %+.4f)\n', ...
+        QUADyFamily(SelectIdx(k),:), QUADyDevList(SelectIdx(k),:), GoodIndexY(SelectIdx(k)), ...
+        Y(SelectIdx(k),3), Y(SelectIdx(k),4), OutlierFactorY(SelectIdx(k)), ...
+        QuadDeltaY(SelectIdx(k)), MaxQuadOrbitVariationY(SelectIdx(k)), ...
+        CorrDeltaY(SelectIdx(k)), MaxCorrOrbitVariationY(SelectIdx(k)), ...
+        MaxTuneY(SelectIdx(k),:));
+end
+
+if PlotFlag
+
+    % Plot data
+    L = getfamilydata('Circumference');
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        errorbar(X(:,5), X(:,3), X(:,4), '.b');
+    end
+    ylabel('Horizontal [mm]');
+    xaxis([0 L]);
+    title('BPM Offset');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        errorbar(Y(:,5), Y(:,3), Y(:,4), '.b');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('Vertical [mm]');
+    xaxis([0 L]);
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(X(:,5), GoodIndexX,'.');
+    end
+    ylabel('Horizontal Good Index');
+    xaxis([0 L]);
+    title('Good index');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Y(:,5), GoodIndexY,'.');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('Vertical Good Index');
+    xaxis([0 L]);
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(X(:,5), CorrDeltaX,'.');
+    end
+    ylabel('Horizontal corrector current (A)');
+    xaxis([0 L]);
+    title('Corrector strength');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Y(:,5), CorrDeltaY,'.');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('Vertical corrector current (A)');
+    xaxis([0 L]);
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(X(:,5), QuadDeltaX,'.');
+    end
+    ylabel('Horizontal corrector current (A)');
+    xaxis([0 L]);
+    title('Quadrupole strength');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Y(:,5), QuadDeltaY,'.');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('Vertical corrector current (A)');
+    xaxis([0 L]);
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(X(:,5), OutlierFactorX,'.');
+    end
+    ylabel('Horizontal OutlierFactor');
+    xaxis([0 L]);
+    title('OutlierFactor');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Y(:,5), OutlierFactorY,'.');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('Vertical OutlierFactor');
+    xaxis([0 L]);
+    
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(X(:,5), MaxTuneX,'.');
+    end
+    ylabel('H-BBA: tuneshifts');
+    xaxis([0 L]);
+    title('Tune shifts');
+    legend('Dnux', 'Dnuz')
+    
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Y(:,5), MaxTuneY,'.');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('V-BBA: tuneshifts');
+    xaxis([0 L]);
+    legend('Dnux', 'Dnuz')
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(X(:,5), MaxQuadOrbitVariationX,'.');
+    end
+    ylabel('H-BBA: X (mm)');
+    xaxis([0 L]);
+    title('Orbit shift due to quads');
+    
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Y(:,5), MaxQuadOrbitVariationY,'.');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('V-BBA: : Z (mm)');
+    xaxis([0 L]);
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(X(:,5), MaxCorrOrbitVariationX,'.');
+    end
+    ylabel('H-BBA: X (mm)');
+    xaxis([0 L]);
+    title('Orbit shift due to correctors');
+    
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Y(:,5), MaxCorrOrbitVariationY,'.');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('V-BBA: : Z (mm)');
+    xaxis([0 L]);
+end
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetstepPS.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetstepPS.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadgetstepPS.m	(revision 17)
@@ -0,0 +1,65 @@
+function quadgetstepPS
+% Computes  for 1 A shift a quadrupole offset by 100 µm
+
+% load lattice
+solamor2linb
+
+getquadefficiency('Q1', [1 1]);
+getquadefficiency('Q2', [1 1]);
+getquadefficiency('Q3', [1 1]);
+getquadefficiency('Q4', [1 1]);
+getquadefficiency('Q4', [1 2]);
+getquadefficiency('Q5', [1 1]);
+getquadefficiency('Q5', [1 2]);
+getquadefficiency('Q6', [1 1]);
+getquadefficiency('Q6', [2 1]);
+getquadefficiency('Q7', [1 1]);
+getquadefficiency('Q7', [2 1]);
+getquadefficiency('Q8', [1 1]);
+getquadefficiency('Q8', [2 1]);
+getquadefficiency('Q9', [2 1]);
+getquadefficiency('Q10', [2 1]);
+
+function [xmax zmax] = getquadefficiency(Family, DeviceList)
+
+DIQ = 1; %A
+xshift = 100e-6; % um
+zshift = 100e-6; % um
+
+% offset by 100µm in both planes
+atIdx = family2atindex(Family, DeviceList);
+setshift(atIdx, xshift,zshift)
+
+fprintf('Offset dx = %.0f um dz = %.0f um\n', xshift*1e6, zshift*1e6);
+
+% Orbit correction
+for k =1:3,
+    setorbitH;
+    setorbitV;
+end
+
+% get orbit before quadrupole step point
+x0 = getx;
+z0 = getz;
+
+stepsp(Family, DIQ, DeviceList);
+
+% get orbit after quadrupole step point
+x1 = getx;
+z1 = getz;
+
+dx = x1-x0;
+dz = z1-z0;
+
+xmax = max(abs(dx));
+zmax = max(abs(dz));
+fprintf('quadrupole %s(%d, %d) (+%d A) xmax = %.4f mm zmax =%.4f mm\n', Family, DeviceList, DIQ, xmax, zmax)
+
+%
+stepsp(Family, -DIQ, DeviceList);
+
+%reset align
+setsp('HCOR',0);
+setsp('VCOR',0);
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadplot.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadplot.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadplot.m	(revision 17)
@@ -0,0 +1,608 @@
+function [QMS, WarningString] = quadplot(Input1, FigureHandle, sigmaBPM)
+%QUADPLOT - Plots quadrupole centering data
+%  [QMS, WarningString] = quadplot(Input1, Handle, sigmaBPM)
+%
+%  INPUTS
+%  1. Input1 can be a filename for the data or a QMS structure (see help quadcenter for details).
+%     If empty or zero inputs, then a dialog box will be provided to select a file.
+%  2. Handle can be a figure handle or a vector of 4 axes handles 
+%     If Handle=0, no results are plotted
+%  3. Standard deviation of the BPMs (scalar if all BPMs are the same) 
+%     These should be in the data file, but this provides an override if not
+%     found then the default is inf (ie, not used).
+%
+%  OUTPUTS
+%  1. For details of the QMS data structure see help quadcenter
+%     This function added:
+%     QMS.Offset - Offset computed at each BPM
+%     QMS.FitParameters - Fit parameter at each BPM
+%     QMS.FitParametersStd - Sigma of the fit parameter at each BPM
+%     QMS.BPMStd - BPM sigma at each BPM
+%     QMS.OffsetSTDMontiCarlo - Monti Carlo estimate of the sigma of the offset (optional)
+%
+%  2. WarningString = string with warning message if you occurred
+%
+%  See also quadcenter, quaderrors
+
+%
+%%  Written by Greg Portmann
+
+% Laurent Out
+%
+% To Do:
+% 1. It wouldn't be to difficult to added a LS weight based on slope or even the ideal weighting of std(center).
+%    I haven't done it yet because the BPM errors are usually roughly equal at most accelerators.
+
+
+% Remove BPM gain and roll before finding the center
+ModelCoordinates = 0;
+
+% Figure setup
+Buffer = .03;
+HeightBuffer = .08;
+
+
+% Remove BPM if it's slope less than MinSlopeFraction * (the maximum slope)
+MinSlopeFraction = .25;
+
+% # of STD of the center calculation allowed
+CenterOutlierFactor = 1;
+
+
+QMS = [];
+WarningString = '';
+
+
+% Inputs
+try
+    if nargin == 0
+        [FileName, PathName] = uigetfile('*.mat', 'Select a Quadrupole Center File', [getfamilydata('Directory','DataRoot'), 'QMS', filesep]);
+        if ~isstr(FileName)
+            return
+        else
+            load([PathName,FileName]);
+        end
+    else
+        if isempty(Input1)
+            [FileName, PathName] = uigetfile('*.mat', 'Select a Quadrupole Center File');
+            %[FileName, PathName] = uigetfile('*.mat', 'Select a Quadrupole Center File', [getfamilydata('Directory','DataRoot'), 'QMS', filesep]);
+            if ~isstr(FileName)
+                return
+            else
+                load([PathName,FileName]);
+            end
+        elseif isstr(Input1)
+            FileName = Input1;
+            load(FileName);
+        else
+            QMS = Input1;
+            FileName = [];
+        end
+    end
+catch
+    error('Problem getting input data');
+end
+if nargin < 2
+    FigureHandle = [];
+end
+
+[BPMelem1, iNotFound] = findrowindex(QMS.BPMDev, QMS.BPMDevList);
+if ~isempty(iNotFound)
+    error('BPM at the quadrupole not found in the BPM device list');
+end
+
+QuadraticFit  = QMS.QuadraticFit;      % 0 = linear fit, else quadratic fit
+
+% TO SEE
+% At SOLEIL noise is very small, constraint too large
+%OutlierFactor = QMS.OutlierFactor;     % if abs(data - fit) > OutlierFactor*BPMsdt, then remove that BPM
+OutlierFactor =  1e-3;     % if abs(data - fit) > OutlierFactor, then remove that BPM
+
+% Get BPM standard deviation
+if nargin < 3
+    % Get from the data file
+    if isfield(QMS, 'BPMSTD')
+        sigmaBPM = QMS.BPMSTD;
+    else
+        sigmaBPM = inf;
+    end
+end
+if isempty(sigmaBPM)
+    sigmaBPM = inf;
+end
+if isnan(sigmaBPM) | isinf(sigmaBPM)
+    sigmaBPM = inf;
+    fprintf('   WARNING: BPM standard deviation is unknown, hence there is no BPM outlier condition.\n');
+end
+sigmaBPM = sigmaBPM(:);
+QMS.BPMSTD = sigmaBPM;
+
+
+% Get figure handle
+if all(FigureHandle ~= 0) 
+    if isempty(FigureHandle)
+        FigureHandle = figure;
+        clf reset
+        AxesHandles(1) = subplot(4,1,1);
+        AxesHandles(2) = subplot(4,1,2);
+        AxesHandles(3) = subplot(4,1,3);
+        AxesHandles(4) = subplot(4,1,4);    
+    else
+        if length(FigureHandle) == 1
+            FigureHandle = figure(FigureHandle);
+            clf reset
+            AxesHandles(1) = subplot(4,1,1);
+            AxesHandles(2) = subplot(4,1,2);
+            AxesHandles(3) = subplot(4,1,3);
+            AxesHandles(4) = subplot(4,1,4);    
+        elseif length(FigureHandle) == 4
+            FigureHandle = figure;
+            clf reset
+            AxesHandles = FigureHandle;
+        else
+            error('Improper size of input FigureHandle');
+        end
+    end
+end
+
+
+
+% Change the coordinates to model X & Y
+if ModelCoordinates
+    fprintf('   Changing to model coordinates (the final center should be "rotated" back to the raw BPM coordinates).\n');
+    Gx  = getgain('BPMx', QMS.BPMDevList);   % Unfortunately I don't have both families in the QMS structure???
+    Gy  = getgain('BPMy', QMS.BPMDevList);
+    Crunch = getcrunch(QMS.BPMFamily, QMS.BPMDevList);
+    Roll   = getroll(QMS.BPMFamily, QMS.BPMDevList);
+    
+    for i = 1:length(Gx)
+        M = gcr2loco(Gx(i), Gy(i), Crunch(i), Roll(i));
+        invM = inv(M);
+        
+        tmp = invM * [QMS.x0(i,:); QMS.y0(i,:)];
+        QMS.x0(i,:) = tmp(1,:);
+        QMS.y0(i,:) = tmp(2,:);
+        
+        tmp = invM * [QMS.x1(i,:); QMS.y1(i,:)];
+        QMS.x1(i,:) = tmp(1,:);
+        QMS.y1(i,:) = tmp(2,:);
+        
+        tmp = invM * [QMS.x2(i,:); QMS.y2(i,:)];
+        QMS.x2(i,:) = tmp(1,:);
+        QMS.y2(i,:) = tmp(2,:);
+        
+        tmp = invM * [QMS.xstart(i,:); QMS.ystart(i,:)];
+        QMS.xstart(i,:) = tmp(1,:);
+        QMS.ystart(i,:) = tmp(2,:);
+    end
+end
+
+
+% Select the x or y plane
+if QMS.QuadPlane == 1    
+    x0 = QMS.x0;
+    x1 = QMS.x1;
+    x2 = QMS.x2;
+
+    % Plot setup
+    if all(FigureHandle ~= 0) 
+        set(FigureHandle,'units','normal','position',[Buffer .25+Buffer .5-Buffer-.003 .75-1.2*Buffer-HeightBuffer]);
+    end
+else
+    x0 = QMS.y0;
+    x1 = QMS.y1;
+    x2 = QMS.y2;
+        
+    % Plot setup
+    if all(FigureHandle ~= 0) 
+        set(FigureHandle,'units','normal','position',[.503 .25+Buffer .5-Buffer-.003 .75-1.2*Buffer-HeightBuffer]);
+    end
+end
+
+
+
+% Expand sigmaBPM is necessary
+if length(sigmaBPM) == 1
+    sigmaBPM = ones(size(x1,1),1) * sigmaBPM;
+end
+
+N = size(x1,2);
+
+
+% Fit verses the position at the BPM next to the quadrupole
+if strcmpi(QMS.ModulationMethod, 'sweep')
+    % One dimensional sweep of the quadrupole
+    %x = x1(BPMelem1,:)';   
+    x = (x1(BPMelem1,:)' + x2(BPMelem1,:)')/2;     
+elseif strcmpi(QMS.ModulationMethod, 'bipolar')
+    % Modulation of the quadrupole
+    x = (x1(BPMelem1,:)' + x2(BPMelem1,:)')/2;     
+elseif strcmpi(QMS.ModulationMethod, 'unipolar')
+    % Unipolar modulation of the quadrupole
+    %x = x1(BPMelem1,:)';   
+    x = (x1(BPMelem1,:)' + x2(BPMelem1,:)')/2;     
+end
+
+if isfield(QMS, 'Orbit0')
+    BPMUnitsString = QMS.Orbit0.UnitsString;
+else
+    BPMUnitsString = 'mm';
+end
+
+% Figure #1
+if all(FigureHandle ~= 0) 
+        
+    % Plot horizontal raw data
+    axes(AxesHandles(1));
+    plot((QMS.x2(BPMelem1,:)+QMS.x1(BPMelem1,:))/2, (QMS.x2-QMS.x1), '-x');
+    hold on;
+    % just data with corrector value at Inominal - deltaI
+    plot((QMS.x2(BPMelem1,1)+QMS.x1(BPMelem1,1))/2, (QMS.x2(:,1)-QMS.x1(:,1)), 'xb');
+    hold off;
+    xlabel(sprintf('%s(%d,%d), raw values [%s]', 'BPMx', QMS.BPMDev(1), QMS.BPMDev(2), BPMUnitsString));
+    ylabel({sprintf('\\Delta %s [%s]', 'BPMx', BPMUnitsString),'(raw data)'});
+    if isempty(FileName)
+        title(sprintf('Center for %s(%d,%d) %s(%d,%d)', QMS.BPMFamily, QMS.BPMDev(1), QMS.BPMDev(2), QMS.QuadFamily, QMS.QuadDev), 'interpreter', 'none');
+    else
+        title(sprintf('Center for %s(%d,%d) %s(%d,%d) (%s)', QMS.BPMFamily, QMS.BPMDev(1), QMS.BPMDev(2), QMS.QuadFamily, QMS.QuadDev, FileName), 'interpreter', 'none');
+    end
+    grid on
+    axis tight
+
+    if QMS.QuadPlane == 1
+        Axes2Axis = axis;
+    end
+
+    % Plot vertical raw data
+    axes(AxesHandles(2));
+    plot((QMS.y2(BPMelem1,:)+QMS.y1(BPMelem1,:))/2, (QMS.y2-QMS.y1), '-x');
+    hold on;
+    plot((QMS.y2(BPMelem1,1)+QMS.y1(BPMelem1,1))/2, (QMS.y2(:,1)-QMS.y1(:,1)), 'xb');
+    hold off;
+    %plot(x, x2-x1, '-x');
+    %plot(linspace(-DelHCM,DelHCM,3), x2-x1);
+    xlabel(sprintf('%s(%d,%d), raw values [%s]', 'BPMy', QMS.BPMDev(1), QMS.BPMDev(2), BPMUnitsString));
+    ylabel({sprintf('\\Delta %s [%s]', 'BPMy', BPMUnitsString),'(raw data)'});
+    grid on
+    axis tight
+
+    if QMS.QuadPlane == 2
+        Axes2Axis = axis;
+    end
+end
+
+
+if isempty(FileName)
+    fprintf('   Calculating the center of %s(%d,%d) using %s(%d,%d)\n', QMS.QuadFamily, QMS.QuadDev, QMS.BPMFamily, QMS.BPMDev);
+else
+    fprintf('   Calculating the center of %s(%d,%d) using %s(%d,%d) (Data file: %s)\n', QMS.QuadFamily, QMS.QuadDev, QMS.BPMFamily, QMS.BPMDev, FileName);
+end
+fprintf('   Quadrupole modulation delta = %.3f amps, %s(%d,%d) max step = %.3f amps  (%s)\n', QMS.QuadDelta, QMS.CorrFamily, QMS.CorrDevList(1,:), QMS.CorrDelta, QMS.ModulationMethod);
+
+
+        
+% Least squares fit
+merit = x2 - x1;
+if QuadraticFit
+    X = [ones(size(x)) x x.^2];
+    fprintf('   %d point parabolic least squares fit\n', N);
+else
+    X = [ones(size(x)) x];
+    fprintf('   %d point linear least squares fit\n', N);
+end
+
+
+% Axes #3
+if all(FigureHandle ~= 0) 
+    axes(AxesHandles(3));
+    xx = linspace(x(1), x(end), 200);
+end
+
+iBPMOutlier = [];
+invXX   = inv(X'*X);
+invXX_X = invXX * X';
+
+for i = 1:size(x1,1)
+    % least-square fit: m = slope and b = Y-intercept
+    b = invXX_X * merit(i,:)';
+    bhat(i,:) = b';
+    
+    % Should equal
+    %b = X \merit(i,:)';
+    %bhat1(i,:) = b';
+    
+    % Standard deviation
+    bstd = sigmaBPM(i) * invXX; 
+    bhatstd(i,:) = diag(bstd)';  % hopefully cross-correlation terms are small
+    
+    if all(FigureHandle ~= 0)   
+        if QuadraticFit
+            y = b(3)*xx.^2 + b(2)*xx + b(1);
+        else
+            y = b(2)*xx + b(1);
+        end
+%        plot(xx, y); hold on  
+    end
+    
+    % Outlier condition: remove if the error between the fit and the data is greater than OutlierFactor
+    if QuadraticFit
+        y = b(3)*x.^2 + b(2)*x + b(1);
+    else
+        y = b(2)*x + b(1);
+    end
+    if max(abs(y - merit(i,:)')) > OutlierFactor;    % OutlierFactor was absolute max(abs(y - merit(i,:)')) > OutlierFactor
+    %if max(abs(y - merit(i,:)')) > OutlierFactor * sigmaBPM(i) %Laurent
+        iBPMOutlier = [iBPMOutlier;i];
+    end
+    
+    if QuadraticFit
+        % Quadratic fit
+        if b(2) > 0
+            offset(i,1) = (-b(2) + sqrt(b(2)^2 - 4*b(3)*b(1))) / (2*b(3));
+        else
+            offset(i,1) = (-b(2) - sqrt(b(2)^2 - 4*b(3)*b(1))) / (2*b(3));
+        end
+        if ~isreal(offset(i,1))
+            % (b^2-4ac) can be negative but it will only happen if the slope is very small.  The offset 
+            % should just get thrown out later as an outlier but change the solution to the minimum of the parabola.
+            offset(i,1) = -b(2) / b(1) / 2;
+        end
+    else
+        % Linear fit
+        offset(i,1) = -b(1)/b(2); 
+    end
+end
+
+QMS.Offset = offset;
+QMS.FitParameters = bhat;
+QMS.FitParametersStd = bhatstd;
+QMS.BPMStd = sigmaBPM;
+
+
+% % Label axes #2
+% if all(FigureHandle ~= 0) 
+%     xlabel(sprintf('%s(%d,%d), raw values [%s]', QMS.BPMFamily, QMS.BPMDev(1), QMS.BPMDev(2), BPMUnitsString));
+%     ylabel(sprintf('BPM LS Fit [%s]', BPMUnitsString));
+%     grid on
+%     axis tight
+% end
+
+
+% Compute offset for different conditions
+fprintf('   %d total BPMs\n', length(offset));
+fprintf('   BPMs are removed for 1. Bad Status, 2. BPM Outlier, 3. Small Slope, or 4. Center Outlier\n');
+%m1 = mean(offset);
+%s1 = std(offset);
+%fprintf('   0. Mean = %.5f %s, STD = %.5f %s, all %d BPMs\n', m1, BPMUnitsString, s1, BPMUnitsString, length(offset));
+
+
+% Remove bad Status BPMs
+iStatus = find(QMS.BPMStatus==0);
+iBad = iStatus;
+if length(iBad) == length(offset)
+    error('All the BPMs have bad status');
+end
+offset1 = offset;
+offset1(iBad) = [];
+m2 = mean(offset1);
+s2 = std(offset1);
+fprintf('   1. Mean = %+.5f %s, STD = %.5f %s, %2d points with bad status\n', m2, BPMUnitsString, s2, BPMUnitsString, length(iBad));
+
+% Remove bad Status + Outliers
+iBad = unique([iStatus; iBPMOutlier]);
+if length(iBad) == length(offset)
+    error('All BPMs either have bad status or failed the BPM outlier condition');
+end
+offset1 = offset;
+offset1(iBad) = [];
+m2 = mean(offset1);
+s2 = std(offset1);
+%fprintf('   2. Mean = %+.5f %s, STD = %.5f %s, %2d points with condition 1 and abs(fit - measured data) > %.2f std(BPM) (BPM outlier)\n', m2, BPMUnitsString, s2, BPMUnitsString, length(iBad), OutlierFactor);
+fprintf('   2. Mean = %+.5f %s, STD = %.5f %s, %2d points with condition 1 and abs(fit - measured data) > %.4f (BPM outlier)\n', m2, BPMUnitsString, s2, BPMUnitsString, length(iBad), OutlierFactor);
+
+
+% Remove bad Status + Small slopes
+%iSlope = find(abs(bhat(:,2)) < max(abs(bhat(:,2)))*MinSlopeFraction);
+
+% Look for slope outliers
+Slopes = abs(bhat(:,2));
+[Slopes, i] = sort(Slopes);
+Slopes = Slopes(round(end/2):end);  % remove the first half
+if length(Slopes) > 5
+    SlopesMax = Slopes(end-4); 
+else
+    SlopesMax = Slopes(end); 
+end
+%i = find(abs(Slopes-mean(Slopes)) > 2 * std(Slopes));
+%Slopes(i) = [];
+
+iSlope = find(abs(bhat(:,2)) < SlopesMax * MinSlopeFraction);
+iBad = unique([iStatus; iBPMOutlier; iSlope]);
+if length(iBad) == length(offset)
+    error('All BPMs either have bad status, failed the BPM outlier condition, or failed the slope condition');
+end
+offset1 = offset;
+offset1(iBad) = [];
+m2 = mean(offset1);
+s2 = std(offset1);
+fprintf('   3. Mean = %+.5f %s, STD = %.5f %s, %2d points with condition 1, 2, and slope < %.2f max(slope)\n', m2, BPMUnitsString, s2, BPMUnitsString, length(iBad), MinSlopeFraction);
+
+
+% Offset outlier offsets-mean(offsets) greater than 1 std
+itotal = (1:length(offset))';
+iok = itotal;
+
+offset1 = offset;
+offset1(iBad) = [];
+iok(iBad) = [];
+
+i = find(abs(offset1-mean(offset1)) > CenterOutlierFactor * std(offset1));
+iCenterOutlier = iok(i);
+iBad = unique([iBad; iCenterOutlier]);
+if length(iBad) == length(offset)
+    error('All BPMs either have bad status, failed the BPM outlier condition, or failed the slope condition, , or failed the center outlier condition');
+end
+offset1(i) = [];
+iok(i) = [];
+
+m2 = mean(offset1);
+s2 = std(offset1);
+QMS.GoodIndex = iok;
+fprintf('   4. Mean = %+.5f %s, STD = %.5f %s, %2d points with condition 1, 2, 3, and abs(center-mean(center)) > %.2f std(center) (Center outlier)\n', m2, BPMUnitsString, s2, BPMUnitsString, length(iBad), CenterOutlierFactor);
+
+
+NN = length(offset);
+
+% Axes #4
+if all(FigureHandle ~= 0) 
+    axes(AxesHandles(4));
+    [xx1,yy1]=stairs(1:NN,offset);
+    offset1 = offset;
+    offset1(iBad) = NaN*ones(length(iBad),1);
+    [xx2, yy2] = stairs(1:NN, offset1);
+    plot(xx1,yy1,'r', xx2,yy2,'b');
+    xlabel('BPM Number');
+    ylabel(sprintf('%s Center [%s]', QMS.BPMFamily, BPMUnitsString));
+    grid on
+    axis tight
+    %xaxis([0 NN+1]);
+    axis([0 NN+1 min(offset1)-.1e-3 max(offset1)+.1e-3]);
+end
+
+
+% Axes #3
+
+if all(FigureHandle ~= 0) 
+    if 0
+        % Plot red line over the bad lines
+        axes(AxesHandles(3));
+        for j = 1:length(iBad)
+            i = iBad(j);
+            if QuadraticFit
+                y = bhat(i,3)*xx.^2 + bhat(i,2)*xx + bhat(i,1);
+            else
+                y = bhat(i,2)*xx + bhat(i,1);
+            end
+            plot(xx, y,'r'); 
+        end
+        hold off
+        axis tight
+    else
+        % Only plot the good data
+        axes(AxesHandles(3));
+        yy = [];
+        for i = 1:size(x1,1)
+            if ~any(i == iBad)
+                if QuadraticFit
+                    y = bhat(i,3)*xx.^2 + bhat(i,2)*xx + bhat(i,1);
+                else
+                    y = bhat(i,2)*xx + bhat(i,1);
+                end
+                yy = [yy;y];
+            end
+        end
+        plot(xx, yy); 
+        hold off
+        grid on
+        axis tight
+    end
+    xlabel(sprintf('%s(%d,%d), raw values [%s]', QMS.BPMFamily, QMS.BPMDev(1), QMS.BPMDev(2), BPMUnitsString));
+    ylabel({sprintf('\\Delta %s [%s]', QMS.BPMFamily, BPMUnitsString),'(LS fit)'});
+    grid on
+    axis tight
+
+    xaxis(Axes2Axis(1:2));
+end
+
+
+
+if ~isempty(iStatus)
+    if ~isempty(find(iStatus==BPMelem1))
+        fprintf('   WARNING: BPM(%d,%d) has a bad status\n', QMS.BPMDev(1), QMS.BPMDev(2));
+        WarningString = sprintf('BPM(%d,%d) has a bad status', QMS.BPMDev(1), QMS.BPMDev(2));
+    end
+end
+if ~isempty(iBPMOutlier)
+    if ~isempty(find(iBPMOutlier==BPMelem1))
+        fprintf('   WARNING: BPM(%d,%d) removed due to outlier (based on std(BPM))\n', QMS.BPMDev(1), QMS.BPMDev(2));
+        WarningString = sprintf('BPM(%d,%d) removed due to outlier (based on std(BPM))', QMS.BPMDev(1), QMS.BPMDev(2));
+    end
+end
+if ~isempty(iSlope)
+    if ~isempty(find(iSlope==BPMelem1))
+        fprintf('   WARNING: BPM(%d,%d) slope is too small\n', QMS.BPMDev(1), QMS.BPMDev(2));
+        WarningString = sprintf('BPM(%d,%d) slope is too small', QMS.BPMDev(1), QMS.BPMDev(2));
+    end
+end
+if ~isempty(iCenterOutlier)
+    if ~isempty(find(iCenterOutlier==BPMelem1))
+        fprintf('   WARNING: BPM(%d,%d) removed due to outlier (based on all the centers)\n', QMS.BPMDev(1), QMS.BPMDev(2));
+        WarningString = sprintf('BPM(%d,%d) ', QMS.BPMDev(1), QMS.BPMDev(2));
+    end
+end
+
+
+% % Axes #3
+% if all(FigureHandle ~= 0) 
+%     axes(AxesHandles(4));
+%     iii=1:NN;
+%     iii(iBad)=[];
+%     for j = 1:length(iii)
+%         i = iii(j);
+%         
+%         if 1
+%             % Plot fit
+%             if QuadraticFit
+%                 y = bhat(i,3)*xx.^2 + bhat(i,2)*xx + bhat(i,1);
+%             else
+%                 y = bhat(i,2)*xx + bhat(i,1);
+%             end
+%             if all(FigureHandle ~= 0) 
+%                 plot(xx, y,'b'); hold on 
+%             end
+%         else
+%             % Plot error in fit
+%             if QuadraticFit
+%                 y = bhat(i,3)*x.^2 + bhat(i,2)*x + bhat(i,1);
+%             else
+%                 y = bhat(i,2)*x + bhat(i,1);
+%             end
+%             plot(x, y - merit(i,:)','b'); hold on 
+%         end
+%     end
+%     hold off
+%     xlabel(sprintf('%s(%d,%d), raw values [%s]', QMS.BPMFamily, QMS.BPMDev(1), QMS.BPMDev(2), BPMUnitsString));
+%     ylabel(sprintf('Final %s Merit Fun [%s]', QMS.BPMFamily, BPMUnitsString));
+%     grid on
+%     axis tight
+%     orient tall
+% end
+
+
+if ~isempty(QMS.OldCenter)
+    fprintf('   Starting Offset %s(%d,%d) = %+f [%s]\n', QMS.BPMFamily, QMS.BPMDev, QMS.OldCenter, BPMUnitsString);
+end
+fprintf('   New Offset      %s(%d,%d) = %+f [%s]\n', QMS.BPMFamily, QMS.BPMDev, m2, BPMUnitsString);
+
+QMS.Center = m2;
+QMS.CenterSTD = s2;
+
+
+if all(FigureHandle ~= 0)
+    addlabel(1, 0, datestr(QMS.TimeStamp));
+    addlabel(0, 0, sprintf('Offset %s(%d,%d)=%f, {\\Delta}%s(%d,%d)=%f, {\\Delta}%s(%d,%d)=%f', QMS.BPMFamily, QMS.BPMDev, QMS.Center, QMS.QuadFamily, QMS.QuadDev, QMS.QuadDelta, QMS.CorrFamily, QMS.CorrDevList(1,:), QMS.CorrDelta(1)),10);
+end
+
+fprintf('\n');
+
+
+% Get and plot errors
+if all(FigureHandle ~= 0)
+    QMS = quaderrors(QMS, gcf+1);
+else
+    % This is a cluge for now
+    QMS = quaderrors(QMS, 0);
+end
+
+
+%QMS = orderfields(QMS);
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadplotall.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadplotall.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadplotall.m	(revision 17)
@@ -0,0 +1,180 @@
+function [Xnew, Ynew, BPMxFamily, QUADxFamily, BPMyFamily, QUADyFamily, DateMatX, DateMatY] = quadplotall(DirName, PlotFlag)
+%QUADPLOTALL - Collect the date from a quadrupole center run.
+%              When all the quadrupole center data files are stored in a directory this function
+%              will go through all the files and pull out and plot some of the important information.
+%              Note: if more than one quadrupole center file for the same quadrupole is in the directory
+%                    then only the latter file will be returned.  Use quadgetdata to get all the data.
+%
+%  [X, Y, BPMxFamily, QUADxFamily, BPMyFamily, QUADyFamily, XfileDate, YfilesDate] = quadplotall(DirName, PlotFlag)
+%
+%  INPUTS
+%  1. DirName - Directory name to look for quadrupole center files
+%               [] to browse {Default}
+%  2. PlotFlag - 0 to just get data without plotting results, else, plot results
+%
+%  OUTPUTS
+%  1. X - Horizontal output matrix (format below)
+%  2. Y - Vertical output matrix (format below)
+%
+%             1&2     3       4        5     6       7         8         9      10       11      12       13
+%  Output = [BPMDev Center CenterSTD BPMpos DCCT BPMATIndex Quadpos QuadATIndex BPMBeta BPMPhi QuadBeta QuadPhi]
+%
+%  3-6. BPMxFamily, QUADxFamily, BPMyFamily, QUADyFamily - Family name for each center measurement
+%  7-8. XfileDate, YfilesDate - Date string for the file name
+
+%
+%  Written by Greg Portmann
+%  Modified by Laurent S. Nadolski
+
+
+if nargin == 0
+    DirName = '';
+end
+
+if nargin < 2
+    PlotFlag = 1;
+end
+
+
+[X, Y, BPMxFamily, QUADxFamily, BPMyFamily, QUADyFamily, DateMatX, DateMatY] = quadgetdata(DirName, PlotFlag);
+
+
+if ~isempty(X)
+    dx = family2dev('BPMx',0);
+    Xnew = NaN * ones(size(dx,1),size(X,2));
+    Xnew(:,1:2) = dx;
+    i = findrowindex(X(:,1:2), dx);
+    Xnew(i,:) = X;
+end
+
+if ~isempty(Y)
+    dy = family2dev('BPMz',0);
+    Ynew = NaN * ones(size(dy,1),size(Y,2));
+    Ynew(:,1:2) = dy;
+    j = findrowindex(Y(:,1:2), dy);
+    Ynew(j,:) = Y;
+end
+
+% Add to quadgetdata output
+
+
+% Get the average Beta and Phi at all AT indicies
+[BetaX, BetaY] = modeltwiss('Beta');
+BetaX = [(BetaX(1:end-1)+BetaX(2:end))/2; BetaX(end)];
+BetaY = [(BetaY(1:end-1)+BetaY(2:end))/2; BetaY(end)];
+
+[PhiX,  PhiY]  = modeltwiss('Phase');
+PhiX = [(PhiX(1:end-1)+PhiX(2:end))/2; PhiX(end)];
+PhiY = [(PhiY(1:end-1)+PhiY(2:end))/2; PhiY(end)];
+
+if ~isempty(X)
+    i = findrowindex(X(:,1:2), dx);
+    Xnew = [Xnew NaN*ones(size(Xnew,1),4)];
+    Xnew(i,end-3:end) = [BetaX(Xnew(i,7)) PhiX(Xnew(i,7)) BetaX(Xnew(i,9)) PhiX(Xnew(i,9))];
+end
+
+if ~isempty(Y)
+    j = findrowindex(Y(:,1:2), dy);
+    Ynew = [Ynew NaN*ones(size(Ynew,1),4)];
+    Ynew(j,end-3:end) = [BetaY(Ynew(j,7)) PhiY(Ynew(j,7)) BetaY(Ynew(j,9)) PhiY(Ynew(j,9))];
+end
+
+
+if PlotFlag
+    L = getfamilydata('Circumference');
+
+    if ~isempty(X)
+        XOffset = getoffset('BPMx', Xnew(:,1:2));
+    end
+
+    if ~isempty(Y)
+        YOffset = getoffset('BPMy', Ynew(:,1:2));
+    end
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(Xnew(:,5), Xnew(:,3)-XOffset, '.b');
+    end
+    ylabel('Horizontal [mm]');
+    xaxis([0 L]);
+    title('New BPM Offsets Relative to the Present Offset Orbit');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Ynew(:,5), Ynew(:,3)-YOffset, '.b');
+    end
+    xlabel('BPM Position [meters]');
+    ylabel('Vertical [mm]');
+    xaxis([0 L]);
+
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(Xnew(:,5),360*(Xnew(:,11)-Xnew(:,13))/2/pi,'.r');
+    end
+    xaxis([0 L]);
+    ylabel('Horizontal [degrees]');
+    title('Phase Advance Between the BPM and Quadrupole');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Ynew(:,5),360*(Ynew(:,11)-Ynew(:,13))/2/pi,'.r');
+    end
+    xaxis([0 L]);
+    xlabel('BPM Position [meters]');
+    ylabel('Vertical [degrees]');
+
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(Xnew(:,5),Xnew(:,10),'.b', Xnew(:,8),Xnew(:,12),'.r');
+    end
+    xaxis([0 L]);
+    ylabel('Horizontal [meters]');
+    legend('BPM', 'Quadrupole');
+    title('Beta Function at the BPM and Quadrupole');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Ynew(:,5),Ynew(:,10),'.b', Ynew(:,8),Ynew(:,12),'.r');
+    end
+    xaxis([0 L]);
+    xlabel('Position [meters]');
+    ylabel('Vertical [meters]');
+    legend('BPM', 'Quadrupole');
+
+
+    figure;
+    subplot(2,1,1);
+    if ~isempty(X)
+        plot(Xnew(:,5),Xnew(:,6),'.');
+    end
+    xaxis([0 L]);
+    xlabel('Position [meters]');
+    ylabel('DCCT [mamps]');
+    title('Beam Current During the Horizontal Measurement');
+
+    subplot(2,1,2);
+    if ~isempty(Y)
+        plot(Ynew(:,5),Ynew(:,6),'.');
+    end
+    xaxis([0 L]);
+    xlabel('Position [meters]');
+    ylabel('DCCT [mamps]');
+    title('Beam Current During the Vertical Measurement');
+
+
+    % Only return the measure centers
+    if ~isempty(X)
+        i = find(~isnan(Xnew(:,3)));
+        Xnew = Xnew(i,:);
+    end
+
+    if ~isempty(Y)
+        i = find(~isnan(Ynew(:,3)));
+        Ynew = Ynew(i,:);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/quadsetup.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/quadsetup.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/quadsetup.m	(revision 17)
@@ -0,0 +1,16 @@
+function quadsetup(DirName)
+% QUADSETUP - Define directory for BBA measurement
+%
+%  See Also quadcenter
+
+%
+% Written by Laurent S. Nadolski
+
+
+% current BBA root directory
+RootDirectory = getfamilydata('Directory', 'BBA');
+% save data in
+AD = getad;
+AD.Directory.BBAcurrent = DirName;
+fprintf('Current BBA directory: %s\n', AD.Directory.BBAcurrent);
+setad(AD);
Index: /trunk/machine/SOLEIL/StorageRing/bba_mml/testBBA.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bba_mml/testBBA.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bba_mml/testBBA.m	(revision 17)
@@ -0,0 +1,26 @@
+%% test BBA
+
+% 10 families of quad
+
+plane = 1; % both H and V planes
+
+quadcenter('Q1', family2dev('Q1'), plane);
+
+quadcenter('Q2', family2dev('Q2'), plane);
+
+quadcenter('Q3', family2dev('Q3'), plane);
+
+quadcenter('Q4', family2dev('Q4'), plane);
+
+quadcenter('Q5', family2dev('Q5'), plane);
+
+quadcenter('Q6', family2dev('Q6'), plane);
+
+quadcenter('Q7', family2dev('Q7'), plane);
+
+quadcenter('Q8', family2dev('Q8'), plane);
+
+quadcenter('Q9', family2dev('Q9'), plane);
+
+quadcenter('Q10', family2dev('Q10'), plane);
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+changes
Index: /trunk/machine/SOLEIL/StorageRing/bpm/AILES_setorbitbump_22oct07.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/AILES_setorbitbump_22oct07.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/AILES_setorbitbump_22oct07.m	(revision 17)
@@ -0,0 +1,18 @@
+%
+devAILES = 'ans-c03/dg/calc-d1-position-angle';
+devSMIS = 'ans-c02/dg/calc-d1-position-angle';
+
+
+
+% bump AILES
+%%[OCS, OCS0] = setorbitbump('BPMz',[3 3;3 4],[-0.1; -0.1],'VCOR',[-2 -1 1 2],'Display');
+
+
+% bump SMIS
+[OCS, OCS0] = setorbitbump('BPMz',[2 3;2 4],[0.1; 0.1],'VCOR',[-2 -1 1 2],'Display');
+
+
+posZ_AILES = readattribute([devAILES '/positionZ'])
+angZ_AILES = readattribute([devAILES '/angleZ'])
+posZ_SMIS = readattribute([devSMIS '/positionZ'])
+angZ_SMIS = readattribute([devSMIS '/angleZ'])
Index: /trunk/machine/SOLEIL/StorageRing/bpm/BeamLossgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/BeamLossgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/BeamLossgui.m	(revision 17)
@@ -0,0 +1,293 @@
+function BeamLossgui()
+%BeamLossgui: user interface for beam losses when RF is switched off
+%
+%   BeamLossgui() used the GUILayout toolbox.
+%
+% NOTES:
+% Works only with thick sextupoles
+% Warning otherwise divergence in sextupoles !!! 
+
+%
+%% Written by Laurent S. Nadolski
+
+% Data is shared between all child functions by declaring the variables
+% here (they become global to the function). We keep things tidy by putting
+% all GUI stuff in one structure and all data stuff in another. As the app
+% grows, we might consider making these objects rather than structures.
+global THERING;
+
+data = createData();
+gui  = createInterface();
+
+% Now update the GUI with the current data
+%redrawData();
+setradiation('on');
+setcavity('off');
+onCompute();
+
+%-------------------------------------------------------------------------%
+    function data = createData()
+        % Create the shared data-structure for this applicdata.ATion
+        data.Nturn = 100;
+        data.ATi  = atindex;
+        data.spos = findspos(THERING,1:length(THERING)+1);        
+        
+    end % createData
+
+%-------------------------------------------------------------------------%
+    function gui = createInterface
+        % Create the user interface for the applicdata.ATion and return a
+        % structure of handles for global use.
+        
+        orbfig = findobj(allchild(0),'Name','Beam Loss GUI');
+        
+        % if already open, then close it
+        if ~isempty(orbfig)
+            close(orbfig); % IHM already exists
+        end
+        
+        gui = struct();
+        % Open a window and add some menus
+        gui.Window = figure( ...
+            'Name', 'Beam Loss GUI', ...
+            'NumberTitle', 'off', ...
+            'MenuBar', 'none', ...
+            'Toolbar', 'none', ...
+            'Toolbar', 'Figure', ...
+            'HandleVisibility', 'off' );
+        
+        % Set default panel color
+        uiextras.set( gui.Window, 'DefaultBoxPanelTitleColor', [0.7 1.0 0.7] );
+                                
+        % + Help menu
+        helpMenu = uimenu( gui.Window, 'Label', 'Help' );
+        uimenu( helpMenu, 'Label', 'documentation', 'Callback', @onDemoHelp );
+        
+
+        % Arrange the main interface
+        mainLayout = uiextras.HBoxFlex( 'Parent', gui.Window, 'Spacing', 3 );
+        
+        % + Create the panels
+        
+        controlPanel = uiextras.BoxPanel( ...
+            'Parent', mainLayout, ...
+            'Title', 'Select options:' );
+
+        gui.ViewPanel{1} = uiextras.BoxPanel( ...
+            'Parent', mainLayout, ...
+            'Title', 'Tracking data', ...
+            'HelpFcn', @onDemoHelp );
+
+        % + Adjust the main layout
+        set( mainLayout, 'Sizes', [-1,-3]  );
+
+        % + Create the controls
+        controlLayout = uiextras.VBox( 'Parent', controlPanel, ...
+            'Padding', 3, 'Spacing', 3 );
+        
+        % + Create panel
+        TurnPanel = uiextras.BoxPanel( 'Title', 'Number of turns:', 'Parent', controlLayout );        
+        gui.TurnEdit = uicontrol( 'Style', 'edit', ...
+            'BackgroundColor', 'w', ...
+            'Parent', TurnPanel, ...
+            'String', '100', ...
+            'Callback', @onTurnEdit);
+
+        % + Create panel
+        CoordPanel = uiextras.BoxPanel( 'Title', 'Coordinates @ end', 'Parent', controlLayout );        
+        gui.CoordPanel = uicontrol( 'Style', 'text', ...
+            'BackgroundColor', 'w', ...
+            'Parent', CoordPanel, ...
+            'Max', 6, ...
+            'FontName', 'FixedWidth', ...
+            'String', {'x    =0','px   =0','y    =0','py   =0','delta=0','ctau =0'}, ...
+            'Callback', []);
+
+        % + Radiation button
+        gui.RadiationCheckBox = uicontrol( 'Style', 'checkbox', ...
+            'BackgroundColor', 'w', ...
+            'Parent', controlLayout, ...
+            'String', 'Radiation', ...
+            'Value', 1, ...
+            'Callback', @onRadiation);
+        
+        % + Cavity button
+        gui.CavityCheckBox = uicontrol( 'Style', 'checkbox', ...
+            'BackgroundColor', 'w', ...
+            'Parent', controlLayout, ...
+            'String', 'Cavity', ...
+            'Value', 0, ...
+            'Callback', @onCavity);
+        
+        % + Reload Button
+        gui.ReloadButton = uicontrol( 'Style', 'PushButton', ...
+            'Parent', controlLayout, ...
+            'String', 'Reload lattice', ...
+            'Callback', @onReload );
+        
+        % + Compute Button
+        gui.ComputeButton = uicontrol( 'Style', 'PushButton', ...
+            'Parent', controlLayout, ...
+            'String', 'Compute', ...
+            'Callback', @onCompute );
+        
+        % + Help Button
+        gui.HelpButton = uicontrol( 'Style', 'PushButton', ...
+            'Parent', controlLayout, ...
+            'String', 'Help', ...
+            'Callback', @onDemoHelp );
+        set( controlLayout, 'Sizes', [50 3.5*28 28 28 28 28 28] ); % Make the list fill the space
+        
+        %%%%%%%%%%% 
+        PanelLayout = uiextras.TabPanel( 'Parent', gui.ViewPanel{1});
+
+        for k=1:3,
+        % + Create the view
+        AxesTabPanel{k} = uiextras.VBox( 'Parent', PanelLayout, ...
+            'Padding', 40, 'Spacing', 10 );
+        
+        % + Main axes for draw data
+        gui.ViewAxes{k} = axes( 'Parent', AxesTabPanel{k}, ...
+            'ActivePositionProperty', 'Position', ...
+            'xticklabel', []);        
+        
+        % + drawlattice
+        gui.LatticeAxes{k} = axes( 'Parent', AxesTabPanel{k}, ...
+            'ActivePositionProperty', 'Position');
+        
+        % + Drawlattice Axes
+        
+        drawlattice(0,1,gui.LatticeAxes{k});
+        xlabel(gui.LatticeAxes{k}, 's-position (m)');
+        set(gui.LatticeAxes{k},'yticklabel', []);
+        %set(gui.LatticeAxes, 'Position', [0.142 0.122 0.751 1])
+        xlim(gui.ViewAxes{k}, [0 getcircumference]);
+        set(AxesTabPanel{k}, 'Sizes', [-4 -1])
+        end
+        linkaxes([gui.ViewAxes{:} gui.LatticeAxes{:}],'x')
+        set(PanelLayout, 'TabNames', {'x (m)', 'px (rad)', 'delta'}, ...
+            'SelectedChild', 1);
+    end % createInterface
+
+%-------------------------------------------------------------------------%
+    function updateInterface()
+        % Update various parts of the interface in response to the demo
+        % being changed.
+        
+        % Update the help button label
+        demoName = data.DemoNames{ data.SelectedDemo };
+        set( gui.HelpButton, 'String', ['Help for ',demoName] );
+    end % updateInterface
+
+%-------------------------------------------------------------------------%
+    function redrawData()
+        % Draw a demo into the axes provided        
+        coord = [1 2 5];
+        for k=1:3,
+        cla(gui.ViewAxes{k});
+        len = size(data.xAllBPMs,2);
+        
+        % Sampling
+        ivect = [(1:10:len) len-1];
+
+        % plot data
+        plot(gui.ViewAxes{k}, data.spos, data.xAllBPMs(:,ivect,coord(k)),'k');
+        hold(gui.ViewAxes{k},'on');
+        ylimits = [-0.040 0.005];
+        
+        %plot scrapers and mSDC15 if defined
+        
+        plot(gui.ViewAxes{k},[data.spos(data.ATi.HSCRAP(1)) data.spos(data.ATi.HSCRAP(1))], [0.0 ylimits(1)], 'r-.')
+        
+        if isfield(data.ATi, 'mSDC15')
+            plot(gui.ViewAxes{k},[data.spos(data.ATi.mSDC15) data.spos(data.ATi.mSDC15)], [0.0 ylimits(1)], 'r-.')
+        else
+            fprintf('mSDC15 marker not defined \n');
+        end
+        
+        ylim(gui.ViewAxes{k}, ylimits);
+        set(gui.ViewAxes{k},'xticklabel', []);
+        end
+        
+        if isfield(data.ATi, 'mSDC15')
+            xstrTitle = sprintf('Particle lost at turn #%d   H-scraper: %.3f mm SDC15: %.3f mm', ...
+                size(data.xAllBPMs,2), data.xAllBPMs(data.ATi.HSCRAP(1), end,1), ...
+                data.xAllBPMs(data.ATi.mSDC15, end,1));
+        else
+            xstrTitle = '';
+        end
+        
+        title(gui.ViewAxes{1}, xstrTitle)
+        
+        set(gui.CoordPanel, 'String', {...
+            sprintf('x     = % .6f', data.xAllBPMs(1,end,1)), ...
+            sprintf('px    = % .6f', data.xAllBPMs(1,end,2)), ...
+            sprintf('y     = % .6f', data.xAllBPMs(1,end,3)), ...
+            sprintf('py    = % .6f', data.xAllBPMs(1,end,4)), ...
+            sprintf('delta = % .6f', data.xAllBPMs(1,end,5)), ...
+            sprintf('ctau  = % .6f', data.xAllBPMs(1,end,6))});        
+    end % redrawData
+
+%-------------------------------------------------------------------------%
+    function onTurnEdit(hObj,~)
+        % User selected a demo from the list - update "data" and refresh
+        data.Nturn = str2double(get( hObj, 'String' ));
+        set(hObj, 'BackGroundColor', 'w');
+        onCompute();
+    end % onTurnEdit
+
+%-------------------------------------------------------------------------%
+    function onRadiation( hObj, ~ )
+        % User has asked for the documentation
+        val = get( hObj, 'Value' );
+        if val
+            setradiation('on');
+        else
+            setradiation('off');
+        end
+    end % onRadiation
+
+%-------------------------------------------------------------------------%
+    function onCavity( hObj, ~ )
+        % User has asked for the documentation
+        val = get( hObj, 'Value' );
+        if val
+            setcavity('on');
+        else
+            setcavity('off');
+        end
+    end % onCavity
+
+%-------------------------------------------------------------------------%
+    function onCompute( ~, ~ )
+        % Do the tracking
+        [data.xAllBPMs, ATindex, data.LostBeam] = getturns([0.0 0 0 0 0.0 0]', data.Nturn, 'All');        
+        if ~isempty(data.xAllBPMs)
+            redrawData();
+        else
+            set(gui.TurnEdit, 'BackGroundColor', 'red');
+        end        
+    end % onCompute
+
+%-------------------------------------------------------------------------%
+    function onReload( ~, ~ )
+        data.ATi  = atindex;
+        data.spos = findspos(THERING,1:length(THERING)+1);
+        setradiation('on');
+        setcavity('off');
+    end % onReload
+
+
+%-------------------------------------------------------------------------%
+    function onDemoHelp( ~, ~ )
+        % User wants documentation for the current demo
+        help BeamLossgui;
+    end % onDemoHelp
+
+%-------------------------------------------------------------------------%
+    function onExit( ~, ~ )
+        % User wants to quit out of the applicdata.ATion
+        delete( gui.Window );
+    end % onExit
+
+end % EOF
Index: /trunk/machine/SOLEIL/StorageRing/bpm/Check_Libera_config.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/Check_Libera_config.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/Check_Libera_config.m	(revision 17)
@@ -0,0 +1,80 @@
+bpms_group=tango_group_create2('bpms');
+dev_list=family2tangodev('BPMx');
+for i=1:1:size(dev_list,1)
+    tango_group_add(bpms_group,dev_list{i});
+end
+tango_group_ping(bpms_group);
+
+SAEnabled=uint8(1);
+Switches=int16(255);
+SwitchingDelay=int32(0);
+DSCMode=int16(2);
+AGCEnabled=uint8(1);
+TimePhase=int32(0);
+CompensateTune=uint8(1);
+ExternalSwitching=uint8(1);
+OffsetTune=int32(220);
+MCPLLStatus=1;
+HasMAFSupport=0;
+UseLiberaSAData=uint8(1);
+
+attr_list={'SAEnabled','Switches','SwitchingDelay','DSCMode','AGCEnabled','TimePhase', ...
+    'CompensateTune','ExternalSwitching','OffsetTune','UseLiberaSAData','MCPLLStatus','HasMAFSupport'};
+nominal_values_array={SAEnabled Switches SwitchingDelay DSCMode AGCEnabled TimePhase ...
+    CompensateTune ExternalSwitching OffsetTune UseLiberaSAData MCPLLStatus HasMAFSupport};
+result=tango_group_read_attributes2(bpms_group,attr_list);
+
+fprintf('\n');
+fprintf('\n');
+fprintf('***********************************************************************\n');
+fprintf('VÃ©rification de la configuration des LibÃ©ras pour les runs utilisateurs\n');
+fprintf('***********************************************************************\n');
+
+MAF_installed=0;
+MC_not_locked=0;
+erreurs=0;
+for j=1:1:size(attr_list,2)
+    for i=1:1:120
+        if result.dev_replies(i).attr_values(j).value(1)~=nominal_values_array{j}
+            fprintf('L attribut %s est mal configurÃ© sur le BPM: %s, %d au lieu de %d \n', ...
+                result.dev_replies(i).attr_values(j).attr_name, ...
+                result.dev_replies(i).dev_name, ...
+                result.dev_replies(i).attr_values(j).value(1), ...
+                nominal_values_array{j}); 
+            
+            if isequal(attr_list(j),{'MCPLLStatus'})
+                MC_not_locked=MC_not_locked+1;
+            else if isequal(attr_list(j),{'HasMAFSupport'})
+                MAF_installed=MAF_installed+1;
+                else
+                   erreurs=erreurs+1;
+                end
+            end
+        end
+    end
+end
+if erreurs==0 & MAF_installed==0 & MC_not_locked==0
+    fprintf('Les LibÃ©ras sont bien configurÃ©s\n');
+else
+    if erreurs~=0
+        fprintf('%d attributs sont mal configurÃ©s \n',erreurs);
+        reply = input('voulez-vous appliquer la configuration nominale? Y/N [Y]: ', 's');
+        if isempty(reply)
+            reply = 'Y';
+        end
+        if reply == 'Y'
+            for j=1:1:size(attr_list,2)-2
+            tango_group_write_attribute2(bpms_group,attr_list{j},nominal_values_array{j});
+            end
+        end 
+    end
+    if MC_not_locked~=0
+        fprintf('%d LibÃ©ras ne recoivent pas la Machine Clock \n',MC_not_locked);
+    end
+    if MAF_installed~=0
+        fprintf('%d LibÃ©ras ont le filtre MAF installÃ© ce n est pas compatible avec les runs utilisateurs \n',MC_not_locked);
+    end
+
+ end       
+tango_group_kill(bpms_group)     
+        
Index: /trunk/machine/SOLEIL/StorageRing/bpm/IHMorbitFT.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/IHMorbitFT.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/IHMorbitFT.m	(revision 17)
@@ -0,0 +1,54 @@
+orbfig = findobj(allchild(0),'tag','FTsetup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+orbfig = findobj(allchild(0),'tag','FTsetup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+
+kmax = 8; % button number
+
+height = 10 + kmax*30 + 30; %670;
+a = figure('Color',[0.8 0.8 0.8], ...
+    'Interruptible', 'on', ...   
+    'HandleVisibility','off', ...
+    'MenuBar','none', ...
+    'Name', 'First Turn Orbit correction (experimental interface)', ...
+    'NumberTitle','off', ...
+    'Units','pixels', ...
+    'Position',[5 70 210*2 height], ...
+    'Resize','off', ...
+    'Tag','FTsetup');
+
+height = height - 35;
+
+for k = 1:kmax,
+    b1(k) = uicontrol('Parent',a, ...
+        'Position',[3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b2(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+set(b1(1), 'String','H plane','BackGroundColor','b');
+set(b1(2), 'Callback','firstturnscorrection(Xcod,''Horizontal'',''NoDisplay'');', 'String','H Correction (No Display)');
+set(b1(3), 'Callback','firstturnscorrection(Xcod,''Horizontal'');', 'String','H Correction');
+set(b1(4), 'Callback','setsp(''HCOR'',0);disp(''zeroing HCOR'');', 'String','HCOR to zero');
+set(b1(5), 'Callback','HCOR0_ = getam(''HCOR'');disp(''HCOR saved'');', 'String','Save HCOR (1-depth buffer)');
+set(b1(6), 'Callback','setsp(''HCOR'',HCOR0_);disp(''HCOR restored'');', 'String','Set back HCOR (1-depth buffer)');
+set(b1(7), 'Callback','figure; plot(getspos(''BPMx''),Xcod); grid on;', 'String','plot H-cod');
+set(b1(8), 'Callback','', 'String','Compute COD');
+
+set(b2(1), 'String','V plane','BackGroundColor','r');
+set(b2(2), 'Callback','firstturnscorrection(Zcod,''Vertical'',''NoDisplay'');', 'String','V Correction (No Display)');
+set(b2(3), 'Callback','firstturnscorrection(Zcod,''Vertical'');', 'String','V Correction');
+set(b2(4), 'Callback','setsp(''VCOR'',0);disp(''zeroing VCOR'');', 'String','VCOR to zero');
+set(b2(5), 'Callback','VCOR0_ = getam(''VCOR'');disp(''VCOR saved'');', 'String','Save VCOR (1-depth buffer)');
+set(b2(6), 'Callback','setsp(''VCOR'',VCOR0_);disp(''VCOR restored'');', 'String','Set back VCOR (1-depth buffer)');
+set(b2(7), 'Callback','figure; plot(getspos(''BPMz''),Zcod); grid on;', 'String','plot V-cod');
+set(b2(8), 'Callback','', 'String','Compute COD');
Index: /trunk/machine/SOLEIL/StorageRing/bpm/ManipBump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/ManipBump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/ManipBump.m	(revision 17)
@@ -0,0 +1,133 @@
+function ManipBump(X)
+idDevServMainPS1='ans-c05/ei/l-hu640_PS1';
+idDevServCHE='ans-c05/ei/l-hu640_Corr2';
+idDevServCHS='ans-c05/ei/l-hu640_corr1';
+idDevServCVE='ans-c05/ei/l-hu640_corr4';
+idDevServCVS='ans-c05/ei/l-hu640_corr3';
+
+devemit = 'ANS-C02/DG/PHC-EMIT';
+fprintf('%s\n','BUMP[mm]         Current[A]      EpsZ[nm.rd]     EpsX[pm.rd]     Couplage[%]     SigX[mic]       SigZ[mic]         TuneX         TuneZ')
+PS1=0;
+CVE=0;
+CHE=0;
+CVS=0;
+CHS=0;
+
+idSetCurrentSync(idDevServMainPS1, PS1, 0.3);
+idSetCurrentSync(idDevServCVE, CVE, 0.01);
+idSetCurrentSync(idDevServCHE, CHE, 0.01);
+idSetCurrentSync(idDevServCVS, CVS, 0.01);
+idSetCurrentSync(idDevServCHS, CHS, 0.01);
+
+pause(5);
+EmittanceV=readattribute([devemit '/EmittanceV']);
+EmittanceH=readattribute([devemit '/EmittanceH']);
+Couplage=readattribute([devemit '/Coupling']);
+SigH=readattribute([devemit '/SrcPointSigmaH']);
+SigV=readattribute([devemit '/SrcPointSigmaV']);
+Tune=gettune;
+fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X,PS1,EmittanceV,EmittanceH, Couplage, SigH, SigV,Tune(1),Tune(2));
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+PS1=-300;
+CVE=-.0383;
+CHE=-.032;
+CVS=-.0143;
+CHS=-.0685;
+
+idSetCurrentSync(idDevServMainPS1, PS1, 0.3);
+idSetCurrentSync(idDevServCVE, CVE, 0.01);
+idSetCurrentSync(idDevServCHE, CHE, 0.01);
+idSetCurrentSync(idDevServCVS, CVS, 0.01);
+idSetCurrentSync(idDevServCHS, CHS, 0.01);
+
+pause(5);
+EmittanceV=readattribute([devemit '/EmittanceV']);
+EmittanceH=readattribute([devemit '/EmittanceH']);
+Couplage=readattribute([devemit '/Coupling']);
+SigH=readattribute([devemit '/SrcPointSigmaH']);
+SigV=readattribute([devemit '/SrcPointSigmaV']);
+Tune=gettune;
+fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X,PS1,EmittanceV,EmittanceH, Couplage, SigH, SigV,Tune(1),Tune(2));
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+PS1=-600;
+CVE=-.0478;
+CHE=-.0609;
+CVS=-.0072;
+CHS=-.1183;
+
+idSetCurrentSync(idDevServMainPS1, PS1, 0.3);
+idSetCurrentSync(idDevServCVE, CVE, 0.01);
+idSetCurrentSync(idDevServCHE, CHE, 0.01);
+idSetCurrentSync(idDevServCVS, CVS, 0.01);
+idSetCurrentSync(idDevServCHS, CHS, 0.01);
+
+pause(5);
+EmittanceV=readattribute([devemit '/EmittanceV']);
+EmittanceH=readattribute([devemit '/EmittanceH']);
+Couplage=readattribute([devemit '/Coupling']);
+SigH=readattribute([devemit '/SrcPointSigmaH']);
+SigV=readattribute([devemit '/SrcPointSigmaV']);
+Tune=gettune;
+fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X,PS1,EmittanceV,EmittanceH, Couplage, SigH, SigV,Tune(1),Tune(2));
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+PS1=600;
+CVE=.0645;
+CHE=.0772;
+CVS=.0191;
+CHS=.1609;
+idSetCurrentSync(idDevServMainPS1, PS1, 0.3);
+idSetCurrentSync(idDevServCVE, CVE, 0.01);
+idSetCurrentSync(idDevServCHE, CHE, 0.01);
+idSetCurrentSync(idDevServCVS, CVS, 0.01);
+idSetCurrentSync(idDevServCHS, CHS, 0.01);
+
+pause(5);
+EmittanceV=readattribute([devemit '/EmittanceV']);
+EmittanceH=readattribute([devemit '/EmittanceH']);
+Couplage=readattribute([devemit '/Coupling']);
+SigH=readattribute([devemit '/SrcPointSigmaH']);
+SigV=readattribute([devemit '/SrcPointSigmaV']);
+Tune=gettune;
+fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X,PS1,EmittanceV,EmittanceH, Couplage, SigH, SigV,Tune(1),Tune(2));
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+PS1=300;
+CVE=.0388;
+CHE=.0285;
+CVS=.0195;
+CHS=.0898;
+
+idSetCurrentSync(idDevServMainPS1, PS1, 0.3);
+idSetCurrentSync(idDevServCVE, CVE, 0.01);
+idSetCurrentSync(idDevServCHE, CHE, 0.01);
+idSetCurrentSync(idDevServCVS, CVS, 0.01);
+idSetCurrentSync(idDevServCHS, CHS, 0.01);
+
+pause(5);
+EmittanceV=readattribute([devemit '/EmittanceV']);
+EmittanceH=readattribute([devemit '/EmittanceH']);
+Couplage=readattribute([devemit '/Coupling']);
+SigH=readattribute([devemit '/SrcPointSigmaH']);
+SigV=readattribute([devemit '/SrcPointSigmaV']);
+Tune=gettune;
+fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X,PS1,EmittanceV,EmittanceH, Couplage, SigH, SigV,Tune(1),Tune(2));
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+PS1=0;
+CVE=0;
+CHE=0;
+CVS=0;
+CHS=0;
+
+idSetCurrentSync(idDevServMainPS1, 0, 0.3);
+idSetCurrentSync(idDevServCVE, CVE, 0.01);
+idSetCurrentSync(idDevServCHE, CHE, 0.01);
+idSetCurrentSync(idDevServCVS, CVS, 0.01);
+idSetCurrentSync(idDevServCHS, CHS, 0.01);
+
+pause(5);
+EmittanceV=readattribute([devemit '/EmittanceV']);
+EmittanceH=readattribute([devemit '/EmittanceH']);
+Couplage=readattribute([devemit '/Coupling']);
+SigH=readattribute([devemit '/SrcPointSigmaH']);
+SigV=readattribute([devemit '/SrcPointSigmaV']);
+Tune=gettune;
+fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X,PS1,EmittanceV,EmittanceH, Couplage, SigH, SigV,Tune(1),Tune(2));
Index: /trunk/machine/SOLEIL/StorageRing/bpm/Post_Mortem.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/Post_Mortem.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/Post_Mortem.m	(revision 17)
@@ -0,0 +1,922 @@
+function varargout = Post_Mortem(varargin)
+% POST_MORTEM M-file for Post_Mortem.fig
+%      POST_MORTEM, by itself, creates a new POST_MORTEM or raises the existing
+%      singleton*.
+%
+%      H = POST_MORTEM returns the handle to a new POST_MORTEM or the handle to
+%      the existing singleton*.
+%
+%      POST_MORTEM('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in POST_MORTEM.M with the given input arguments.
+%
+%      POST_MORTEM('Property','Value',...) creates a new POST_MORTEM or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before Post_Mortem_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to Post_Mortem_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help Post_Mortem
+
+% Last Modified by GUIDE v2.5 20-Nov-2007 16:03:15
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @Post_Mortem_OpeningFcn, ...
+                   'gui_OutputFcn',  @Post_Mortem_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before Post_Mortem is made visible.
+function Post_Mortem_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to Post_Mortem (see VARARGIN)
+% Choose default command line output for Post_Mortem
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes Post_Mortem wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = Post_Mortem_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton2.
+function pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+uiopen(getfamilydata('Directory','BPMPostmortem'));
+
+%X=[start:1:Endaff];
+ for i=1:1:16000 
+    handles.toto.value(i)=0; 
+ end
+handles.res1=res;
+handles.zoomx=0;
+handles.zoomz=0;
+handles.limitex=10;
+handles.limitez=5;
+handles.start=1;
+handles.Endaff=15000;
+handles.cellule=1;
+guidata(hObject, handles);
+pushbutton3_Callback(hObject, eventdata, handles);
+set(handles.pushbutton19,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton20,'BackgroundColor',[0.831,0.816,0.784]);
+readnotification(handles)
+
+% --- Executes on button press in pushbutton3.
+function pushbutton3_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.cellule=1;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(handles.pushbutton3,'BackgroundColor','green');
+
+
+function affiche(handles);
+
+res=handles.res1;
+cellule = handles.cellule;   
+switch (cellule);
+    case 1
+        affbpm=0;
+    case 2
+        affbpm=7;
+    case 3 
+        affbpm=15;
+    case 4
+        affbpm=23;
+    case 5
+        affbpm=30;
+    case 6
+        affbpm=37;
+    case 7
+        affbpm=45;
+    case 8
+        affbpm=53;
+    case 9
+        affbpm=60;
+    case 10
+        affbpm=67;
+    case 11
+        affbpm=75;
+    case 12
+        affbpm=83;
+    case 13 
+        affbpm=90;
+    case 14
+        affbpm=97;
+    case 15
+        affbpm=105;
+    case 16
+        affbpm=113;
+    otherwise
+        affbpm=0;
+
+end
+
+% cellule 1 (120,1-6), C02 (7-14), C03(15-22), C04 (23-29), C05(30-36), C06(37-44), C07(45-52), C08(53-59)
+% C09 (60-66), C10(67-74), C11 (75-82), C12(83-89), C13(90-96), C14(97-104), C15(105-112), C16(113-119)
+
+X=[1:1:16000];
+toto=0;
+
+axes(handles.axes1);
+if affbpm==0
+  set(handles.text2,'string','BPM.1 (120)');
+  if res.dev_replies(120).attr_values(1).value | toto;
+   [A1,h1,g1]=plotyy(X,res.dev_replies(120).attr_values(2).value,X,res.dev_replies(120).attr_values(4).value);
+   ylim([-handles.limitex handles.limitex])
+   xLim([handles.start handles.Endaff])
+   set(g1,'Color','red');
+   set(A1(2),'YColor','r');
+   xLim(A1(2),[handles.start handles.Endaff]);
+   axes(handles.axes9);
+   [A1,h1,g1]=plotyy(X,res.dev_replies(120).attr_values(3).value,X,res.dev_replies(120).attr_values(4).value);
+   ylim([-handles.limitez handles.limitez])
+   xLim([handles.start handles.Endaff])
+   set(g1,'Color','red');
+   set(A1(2),'YColor','r');
+   xLim(A1(2),[handles.start handles.Endaff]);
+  else
+   plot(handles.toto.value);
+   axes(handles.axes9);
+   plot(handles.toto.value);
+  end    
+else
+  set(handles.text2,'string',['BPM.1 (' num2str(affbpm) ')']);
+  if res.dev_replies(affbpm).attr_values(1).value | toto;
+   [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm).attr_values(2).value,X,res.dev_replies(affbpm).attr_values(4).value);
+   ylim([-handles.limitex handles.limitex])
+   xLim([handles.start handles.Endaff])
+   set(g1,'Color','red');
+   set(A1(2),'YColor','r');
+   xLim(A1(2),[handles.start handles.Endaff]);
+   axes(handles.axes9);
+   if res.dev_replies(affbpm).attr_values(1).value | toto;
+   [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm).attr_values(3).value,X,res.dev_replies(affbpm).attr_values(4).value);
+    ylim([-handles.limitez handles.limitez])
+   xLim([handles.start handles.Endaff])
+   set(g1,'Color','red');
+   set(A1(2),'YColor','r');
+   xLim(A1(2),[handles.start handles.Endaff]);
+  end
+  else
+   plot(handles.toto.value);
+   axes(handles.axes9);
+   plot(handles.toto.value);
+  end    
+end
+axes(handles.axes2);
+set(handles.text3,'string',['BPM.2 (' num2str(affbpm+1) ')']);
+if res.dev_replies(affbpm+1).attr_values(1).value | toto;
+ [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+1).attr_values(2).value,X,res.dev_replies(affbpm+1).attr_values(4).value);
+ ylim([-handles.limitex handles.limitex])
+ xLim([handles.start handles.Endaff])
+ set(g1,'Color','red');
+ set(A1(2),'YColor','r');
+ xLim(A1(2),[handles.start handles.Endaff]);
+ axes(handles.axes10);
+ if res.dev_replies(affbpm+1).attr_values(1).value | toto;
+  [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+1).attr_values(3).value,X,res.dev_replies(affbpm+1).attr_values(4).value);
+  ylim([-handles.limitez handles.limitez])
+  xLim([handles.start handles.Endaff])
+  set(g1,'Color','red');
+  set(A1(2),'YColor','r');
+  xLim(A1(2),[handles.start handles.Endaff]);
+ end
+else
+ plot(handles.toto.value);
+ axes(handles.axes10);
+ plot(handles.toto.value);
+end    
+axes(handles.axes3);
+set(handles.text4,'string',['BPM.3 (' num2str(affbpm+2) ')']);
+if res.dev_replies(affbpm+2).attr_values(1).value | toto;
+ [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+2).attr_values(2).value,X,res.dev_replies(affbpm+2).attr_values(4).value);
+ ylim([-handles.limitex handles.limitex])
+ xLim([handles.start handles.Endaff])
+ set(g1,'Color','red');
+ set(A1(2),'YColor','r');
+ xLim(A1(2),[handles.start handles.Endaff]);
+ axes(handles.axes11);
+ if res.dev_replies(affbpm+2).attr_values(1).value | toto;
+  [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+2).attr_values(3).value,X,res.dev_replies(affbpm+2).attr_values(4).value);
+  ylim([-handles.limitez handles.limitez])
+  xLim([handles.start handles.Endaff])
+  set(g1,'Color','red');
+  set(A1(2),'YColor','r');
+  xLim(A1(2),[handles.start handles.Endaff]);
+ end    
+else
+  plot(handles.toto.value);
+  axes(handles.axes11);
+  plot(handles.toto.value);
+end    
+axes(handles.axes4);
+set(handles.text5,'string',['BPM.4 (' num2str(affbpm+3) ')']);
+if res.dev_replies(affbpm+3).attr_values(1).value | toto;
+ [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+3).attr_values(2).value,X,res.dev_replies(affbpm+3).attr_values(4).value);
+ ylim([-handles.limitex handles.limitex])
+ xLim([handles.start handles.Endaff])
+ set(g1,'Color','red');
+ set(A1(2),'YColor','r');
+ xLim(A1(2),[handles.start handles.Endaff]);
+ axes(handles.axes12);
+ if res.dev_replies(affbpm+3).attr_values(1).value | toto;
+  [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+3).attr_values(3).value,X,res.dev_replies(affbpm+3).attr_values(4).value);
+  ylim([-handles.limitez handles.limitez])
+  xLim([handles.start handles.Endaff])
+  set(g1,'Color','red');
+  set(A1(2),'YColor','r');
+  xLim(A1(2),[handles.start handles.Endaff]);
+ end    
+else
+ plot(handles.toto.value);
+ axes(handles.axes12);
+ plot(handles.toto.value);
+end    
+axes(handles.axes5);
+set(handles.text6,'string',['BPM.5 (' num2str(affbpm+4) ')']);
+if res.dev_replies(affbpm+4).attr_values(1).value | toto;
+ [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+4).attr_values(2).value,X,res.dev_replies(affbpm+4).attr_values(4).value);
+ ylim([-handles.limitex handles.limitex])
+ xLim([handles.start handles.Endaff])
+ set(g1,'Color','red');
+ set(A1(2),'YColor','r');
+ xLim(A1(2),[handles.start handles.Endaff]);
+ axes(handles.axes13);
+ if res.dev_replies(affbpm+4).attr_values(1).value | toto;
+  [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+4).attr_values(3).value,X,res.dev_replies(affbpm+4).attr_values(4).value);
+  ylim([-handles.limitez handles.limitez])
+  xLim([handles.start handles.Endaff])
+  set(g1,'Color','red');
+  set(A1(2),'YColor','r');
+  xLim(A1(2),[handles.start handles.Endaff]);
+ end    
+else
+ plot(handles.toto.value);
+ axes(handles.axes13);
+ plot(handles.toto.value);
+end    
+axes(handles.axes6);
+set(handles.text7,'string',['BPM.6 (' num2str(affbpm+5) ')']);
+if res.dev_replies(affbpm+5).attr_values(1).value | toto;
+ [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+5).attr_values(2).value,X,res.dev_replies(affbpm+5).attr_values(4).value);
+ ylim([-handles.limitex handles.limitex])
+ xLim([handles.start handles.Endaff])
+ set(g1,'Color','red');
+ set(A1(2),'YColor','r');
+ xLim(A1(2),[handles.start handles.Endaff]);
+ axes(handles.axes14);
+ if res.dev_replies(affbpm+5).attr_values(1).value | toto;
+  [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+5).attr_values(3).value,X,res.dev_replies(affbpm+5).attr_values(4).value);
+  ylim([-handles.limitez handles.limitez])
+  xLim([handles.start handles.Endaff])
+  set(g1,'Color','red');
+  set(A1(2),'YColor','r');
+  xLim(A1(2),[handles.start handles.Endaff]);
+ end    
+else
+ plot(handles.toto.value);
+ axes(handles.axes14);
+ plot(handles.toto.value);
+end    
+axes(handles.axes7);
+set(handles.text8,'string',['BPM.7 (' num2str(affbpm+6) ')']);
+if res.dev_replies(affbpm+6).attr_values(1).value | toto;
+ [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+6).attr_values(2).value,X,res.dev_replies(affbpm+6).attr_values(4).value);
+ ylim([-handles.limitex handles.limitex])
+ xLim([handles.start handles.Endaff])
+ set(g1,'Color','red');
+ set(A1(2),'YColor','r');
+ xLim(A1(2),[handles.start handles.Endaff]);
+ axes(handles.axes15);
+ if res.dev_replies(affbpm+6).attr_values(1).value | toto;
+  [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+6).attr_values(3).value,X,res.dev_replies(affbpm+6).attr_values(4).value);
+  ylim([-handles.limitez handles.limitez])
+  xLim([handles.start handles.Endaff])
+  set(g1,'Color','red');
+  set(A1(2),'YColor','r');
+  xLim(A1(2),[handles.start handles.Endaff]);
+ end    
+else
+ plot(handles.toto.value);
+ axes(handles.axes15);
+ plot(handles.toto.value);
+end    
+if ((affbpm==7) | (affbpm==15) | (affbpm==37) | (affbpm==45) | (affbpm==67) | (affbpm==75) | (affbpm==97) | (affbpm==105))
+ axes(handles.axes8);
+ set(handles.text9,'string',['BPM.8 (' num2str(affbpm+7) ')']);
+ if res.dev_replies(affbpm+7).attr_values(1).value | toto;
+  [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+7).attr_values(2).value,X,res.dev_replies(affbpm+7).attr_values(4).value);
+  ylim([-handles.limitex handles.limitex])
+  xLim([handles.start handles.Endaff])
+  set(g1,'Color','red');
+  set(A1(2),'YColor','r');
+  xLim(A1(2),[handles.start handles.Endaff]);
+  axes(handles.axes16);
+  [A1,h1,g1]=plotyy(X,res.dev_replies(affbpm+7).attr_values(3).value,X,res.dev_replies(affbpm+7).attr_values(4).value);
+  ylim([-handles.limitez handles.limitez])
+  xLim([handles.start handles.Endaff])
+  set(g1,'Color','red');
+  set(A1(2),'YColor','r');
+  xLim(A1(2),[handles.start handles.Endaff]);
+ else
+  plot(handles.toto.value);
+ end
+else
+   set(handles.text9,'string',' ');
+   axes(handles.axes8);
+   plot(handles.toto.value);
+   axes(handles.axes16);
+   plot(handles.toto.value);
+ end
+if cellule < 10
+  set(handles.text1,'string',['C0' num2str(cellule)]);
+else
+set(handles.text1,'string',['C' num2str(cellule)]);
+end
+
+% --- Executes on button press in pushbutton4.
+function pushbutton4_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=2;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(handles.pushbutton4,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton5.
+function pushbutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=3;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton6.
+function pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=4;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton7.
+function pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=5;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton8.
+function pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=6;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton9.
+function pushbutton9_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=7;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton10.
+function pushbutton10_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=8;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton11.
+function pushbutton11_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=9;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+% --- Executes on button press in pushbutton12.
+function pushbutton12_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=10;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on 0button press in pushbutton13.
+function pushbutton13_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=11;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton14.
+function pushbutton14_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=12;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton15.
+function pushbutton15_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=13;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton16.
+function pushbutton16_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton16 (see GCBO)
+% eventdata  reservedx - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=14;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton17.
+function pushbutton17_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=15;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+% --- Executes on button press in pushbutton18.
+function pushbutton18_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton18 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+handles.cellule=16;
+guidata(hObject, handles);
+affiche(handles);
+efface_bouton(handles);
+set(hObject,'BackgroundColor','green');
+
+
+function efface_bouton(handles);
+
+set(handles.pushbutton3,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton4,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton5,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton6,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton7,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton8,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton9,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton10,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton11,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton12,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton13,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton14,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton15,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton16,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton17,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton18,'BackgroundColor',[0.831,0.816,0.784]);
+
+
+% --- Executes on button press in pushbutton19.
+function pushbutton19_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+zoom=handles.zoomx;
+if zoom==0;
+   handles.zoomx=1; 
+   handles.start=13000;
+   handles.Endaff=15000;
+   set(hObject,'BackgroundColor','green');
+else
+   handles.zoomx=0;
+   handles.start=1;
+   handles.Endaff=15000;
+   set(hObject,'BackgroundColor',[0.831,0.816,0.784]);
+end
+guidata(hObject, handles);
+affiche(handles)
+
+% --- Executes on button press in pushbutton20.
+function pushbutton20_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+zoom=handles.zoomz;
+if handles.zoomz==0;
+   handles.zoomz=1; 
+   handles.limitex=5;
+   handles.limitez=2;
+   set(hObject,'BackgroundColor','green');
+else
+   handles.zoomz=0;
+   handles.limitex=10;
+   handles.limitez=5;
+   set(hObject,'BackgroundColor',[0.831,0.816,0.784]);
+end
+guidata(hObject, handles);
+affiche(handles);
+
+
+% --- Executes on button press in pushbutton21.
+function pushbutton21_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+N=16000
+start=13000;
+stop=14000;
+orbite=0;
+groupe=tango_group_create2('BPMs_ans');
+for i=1:1:16
+    list=getbpmbyrack(i);
+    dev_list=dev2tango ('BPMx','Monitor',list);
+    for j=1:1:size(dev_list,1)
+        dev_list{j}=dev_list{j}(1:16);
+        tango_group_add(groupe,dev_list{j});
+    end
+    
+
+end
+tango_group_dump(groupe)
+attr_list={'PMNotified','XPosPM','ZPosPM','SumPM'}
+res=tango_group_read_attributes(groupe,attr_list,3)
+filename = [getfamilydata('Directory','BPMPostmortem') 'PM_data_',date];
+uisave('res',filename);
+tango_group_kill(groupe);
+for i=1:1:16000 
+    handles.toto.value(i)=0; 
+end
+handles.res1=res;
+handles.zoomx=0;
+handles.zoomz=0;
+handles.limitex=10;
+handles.limitez=5;
+handles.start=1;
+handles.Endaff=15000;
+handles.cellule=1;
+guidata(hObject, handles);
+pushbutton3_Callback(hObject, eventdata, handles);
+set(handles.pushbutton19,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton20,'BackgroundColor',[0.831,0.816,0.784]);
+readnotification(handles)
+
+% --- Executes on button press in pushbutton22.
+function pushbutton22_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+N=16000
+start=13000;
+stop=14000;
+orbite=0;
+groupe=tango_group_create2('BPMs_ans');
+for i=1:1:16
+    list=getbpmbyrack(i);
+    dev_list=dev2tango ('BPMx','Monitor',list);
+    for j=1:1:size(dev_list,1)
+        dev_list{j}=dev_list{j}(1:16);
+        tango_group_add(groupe,dev_list{j});
+    end
+    
+
+end
+tango_group_dump(groupe)
+attr_list={'PMNotified','XPosPM','ZPosPM','SumPM'}
+res=tango_group_read_attributes(groupe,attr_list,3)
+tango_group_kill(groupe);
+for i=1:1:16000 
+    handles.toto.value(i)=0; 
+end
+handles.res1=res;
+handles.zoomx=0;
+handles.zoomz=0;
+handles.limitex=10;
+handles.limitez=5;
+handles.start=1;
+handles.Endaff=15000;
+handles.cellule=1;
+guidata(hObject, handles);
+pushbutton3_Callback(hObject, eventdata, handles);
+set(handles.pushbutton19,'BackgroundColor',[0.831,0.816,0.784]);
+set(handles.pushbutton20,'BackgroundColor',[0.831,0.816,0.784]);
+readnotification(handles)
+% readinterlocknotification(handles)
+
+% --- Executes on button press in pushbutton23.
+function pushbutton23_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% tango_command_inout2('ans/dg/state-bpm','ResetPMNotificationAll');
+groupe=tango_group_create2('BPMs_ans');
+for i=1:1:16
+    list=getbpmbyrack(i);
+    dev_list=dev2tango ('BPMx','Monitor',list);
+    for j=1:1:size(dev_list,1)
+        dev_list{j}=dev_list{j}(1:16);
+        tango_group_add(groupe,dev_list{j});
+    end
+end
+tango_group_dump(groupe);
+tango_group_command_inout(groupe,'ResetPMNotification',1)
+pause(1);
+attr_list={'PMNotified'};
+res2=tango_group_read_attributes(groupe,attr_list,3)
+tango_group_kill(groupe);
+a=0;
+for b=1:1:120
+  if res2.dev_replies(b).attr_values.value;
+     a=1+a;
+  end
+end
+set(handles.text14,'String',num2str(a));
+
+
+% --- Executes on button press in pushbutton24.
+function pushbutton24_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('ans/dg/state-bpm','ResetInterlockNotification');
+
+
+function readnotification(handles)
+
+res2=handles.res1;
+a=0;
+for b=1:1:120
+  if res2.dev_replies(b).attr_values(1).value;
+    a=a+1;
+  end
+end
+set(handles.text14,'String',num2str(a));
+
+
+
+function readinterlocknotification(handles)
+
+cellule=handles.cellule;
+tango_command_inout2('ans/dg/state-bpm','ResetPMNotificationAll');
+groupe=tango_group_create2('BPMs_ans');
+for i=1:1:16
+    list=getbpmbyrack(i);
+    dev_list=dev2tango ('BPMx','Monitor',list);
+    for j=1:1:size(dev_list,1)
+        dev_list{j}=dev_list{j}(1:16);
+        tango_group_add(groupe,dev_list{j});
+    end
+end
+tango_group_dump(groupe)
+attr_list={'InterlockXNotified','InterlockZNotified','InterlockADCPostFilterNotified'}
+res2=tango_group_read_attributes(groupe,attr_list,3)
+switch (cellule);
+    case 1
+        affbpm=0;
+    case 2
+        affbpm=7;
+    case 3 
+        affbpm=15;
+    case 4
+        affbpm=23;
+    case 5
+        affbpm=30;
+    case 6
+        affbpm=37;
+    case 7
+        affbpm=45;
+    case 8
+        affbpm=53;
+    case 9
+        affbpm=60;
+    case 10
+        affbpm=67;
+    case 11
+        affbpm=75;
+    case 12
+        affbpm=83;
+    case 13 
+        affbpm=90;
+    case 14
+        affbpm=97;
+    case 15
+        affbpm=105;
+    case 16
+        affbpm=113;
+    otherwise
+        affbpm=0;
+
+end
+if affbpm==0;
+    affbpm=120;
+end
+if res2.dev_replies(affbpm).attr_values(1).value;
+   set(handles.text16,'String','InterlockXNotified');
+ else
+    if res2.dev_replies(affbpm).attr_values(2).value;
+     set(handles.text16,'String','InterlockZNotified'); 
+    else
+      if res2.dev_replies(affbpm).attr_values(3).value;
+      set(handles.text16,'String','InterlockADCNotified'); 
+      else
+          set(handles.text16,'String',' '); 
+      end
+    end
+end
+if affbpm==120;
+    affbpm=0;
+end
+if res2.dev_replies(affbpm+1).attr_values(1).value;
+   set(handles.text17,'String','InterlockXNotified');
+ else
+    if res2.dev_replies(affbpm+1).attr_values(2).value;
+     set(handles.text17,'String','InterlockZNotified'); 
+    else
+      if res2.dev_replies(affbpm+1).attr_values(3).value;
+      set(handles.text17,'String','InterlockADCNotified'); 
+      else
+          set(handles.text17,'String',' '); 
+      end
+    end
+end
+if res2.dev_replies(affbpm+1).attr_values(1).value;
+   set(handles.text18,'String','InterlockXNotified');
+ else
+    if res2.dev_replies(affbpm+1).attr_values(2).value;
+     set(handles.text18,'String','InterlockZNotified'); 
+    else
+      if res2.dev_replies(affbpm+1).attr_values(3).value;
+      set(handles.text18,'String','InterlockADCNotified'); 
+      else
+          set(handles.text18,'String',' '); 
+      end
+    end
+end
+if res2.dev_replies(affbpm+1).attr_values(1).value;
+   set(handles.text19,'String','InterlockXNotified');
+ else
+    if res2.dev_replies(affbpm+1).attr_values(2).value;
+     set(handles.text19,'String','InterlockZNotified'); 
+    else
+      if res2.dev_replies(affbpm+1).attr_values(3).value;
+      set(handles.text19,'String','InterlockADCNotified'); 
+      else
+          set(handles.text19,'String',' '); 
+      end
+    end
+end
+if res2.dev_replies(affbpm+1).attr_values(1).value;
+   set(handles.text20,'String','InterlockXNotified');
+ else
+    if res2.dev_replies(affbpm+1).attr_values(2).value;
+     set(handles.text20,'String','InterlockZNotified'); 
+    else
+      if res2.dev_replies(affbpm+1).attr_values(3).value;
+      set(handles.text20,'String','InterlockADCNotified'); 
+      else
+          set(handles.text20,'String',' '); 
+      end
+    end
+end
+if res2.dev_replies(affbpm+1).attr_values(1).value;
+   set(handles.text21,'String','InterlockXNotified');
+ else
+    if res2.dev_replies(affbpm+1).attr_values(2).value;
+     set(handles.text21,'String','InterlockZNotified'); 
+    else
+      if res2.dev_replies(affbpm+1).attr_values(3).value;
+      set(handles.text21,'String','InterlockADCNotified'); 
+      else
+          set(handles.text21,'String',' '); 
+      end
+    end
+end
+if res2.dev_replies(affbpm+1).attr_values(1).value;
+   set(handles.text22,'String','InterlockXNotified');
+ else
+    if res2.dev_replies(affbpm+1).attr_values(2).value;
+     set(handles.text22,'String','InterlockZNotified'); 
+    else
+      if res2.dev_replies(affbpm+1).attr_values(3).value;
+      set(handles.text22,'String','InterlockADCNotified'); 
+      else
+          set(handles.text22,'String',' '); 
+      end
+    end
+end
+if res2.dev_replies(affbpm+1).attr_values(1).value;
+   set(handles.text23,'String','InterlockXNotified');
+ else
+    if res2.dev_replies(affbpm+1).attr_values(2).value;
+     set(handles.text23,'String','InterlockZNotified'); 
+    else
+      if res2.dev_replies(affbpm+1).attr_values(3).value;
+      set(handles.text23,'String','InterlockADCNotified'); 
+      else
+          set(handles.text23,'String',' '); 
+      end
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/Set_and_Check_Libera_config_for_FMA.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/Set_and_Check_Libera_config_for_FMA.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/Set_and_Check_Libera_config_for_FMA.m	(revision 17)
@@ -0,0 +1,133 @@
+%function Set_and_Check_Libera_config_for_FMA
+%
+% See Also Set_and_Check_Libera_config_for_USERS
+
+% CrÃ©ation d'un groupe tango
+bpms_group=family2tangogroup('BPMx');
+
+% get BPM device list 
+dev_list=family2tangodev('BPMx');
+for i=1:size(dev_list,1),
+    tango_group_add(bpms_group,dev_list{i});
+end
+tango_group_ping(bpms_group);
+
+%% liste des parametres libera
+DDEnabled         = uint8(1);
+Switches          = int16(3);
+SwitchingDelay    = int32(0);
+%%%% DSCMode=int16(0);
+AGCEnabled        = uint8(0);
+Gain              = -22; % 1/4 10 mA
+CompensateTune    = uint8(0);
+ExternalSwitching = uint8(1);
+OffsetTune        = int32(0);
+MCPLLStatus       = 1;
+HasMAFSupport     = 0;
+
+%%%%UseLiberaSAData=uint8(1);
+FMABufferSize = int32(2000); % buffersize
+%time phase
+%file = 'liste_bpm_timephase.txt'; % for 120 BPM
+% timephase file
+file = 'liste_bpm_timephase122BPM.txt'; % November 14, 2011
+file = [getfamilydata('Directory','DataRoot'), 'KickerEM/',file];
+fid  = fopen(file,'r');
+entete=fscanf(fid, '%s',[5]); 
+name=[]; TimePhase=[];
+
+% build TimePhase array
+for i=1:length(dev_list),
+    text = fscanf(fid, '%s', [3]) ;
+    name = [name ; {text(1:16)}];
+    TimePhase=[TimePhase ; int32(str2num(text(18:19)))];
+end
+fclose(fid);
+%%
+
+% lecture de la configuration actuelle des liberas
+attr_list={'DDBufferSize','DDEnabled','Switches','SwitchingDelay','AGCEnabled','Gain', ...
+    'CompensateTune','ExternalSwitching','OffsetTune','MCPLLStatus','HasMAFSupport'};
+nominal_values_array={FMABufferSize DDEnabled Switches SwitchingDelay AGCEnabled Gain  ...
+    CompensateTune ExternalSwitching OffsetTune MCPLLStatus HasMAFSupport};
+result=tango_group_read_attributes2(bpms_group,attr_list);
+attr_list1 = {'TimePhase'};
+nominal_values_array1={TimePhase};
+result1=tango_group_read_attributes2(bpms_group,attr_list1);
+
+fprintf('\n');
+fprintf('\n');
+fprintf('***********************************************************************\n');
+fprintf('VÃ©rification de la configuration des LibÃ©ras pour la FMA\n');
+fprintf('***********************************************************************\n');
+
+MAF_installed=0;
+MC_not_locked=0;
+erreurs=0;
+for j=1:1:size(attr_list,2)
+    for i=1:length(dev_list),
+        if result.dev_replies(i).attr_values(j).value(1)~=nominal_values_array{j}
+            fprintf('L attribut %s est mal configurÃ© sur le BPM: %s, %d au lieu de %d \n', ...
+                result.dev_replies(i).attr_values(j).attr_name, ...
+                result.dev_replies(i).dev_name, ...
+                result.dev_replies(i).attr_values(j).value(1), ...
+                nominal_values_array{j}); 
+            
+            if isequal(attr_list(j),{'MCPLLStatus'})
+                MC_not_locked=MC_not_locked+1;
+            else if isequal(attr_list(j),{'HasMAFSupport'})
+                MAF_installed=MAF_installed+1;
+                else
+                   erreurs=erreurs+1;
+                end
+            end
+        end
+    end
+end
+erreur1 = 0; % test timephase
+for j=1:1:size(attr_list1,2)
+    for i=1:length(dev_list),
+
+        if result.dev_replies(i).attr_values(j).value(1)~=nominal_values_array{j}
+            fprintf('L attribut %s est mal configurÃ© sur le BPM: %s, %d au lieu de %d \n', ...
+                result.dev_replies(i).attr_values(j).attr_name, ...
+                result.dev_replies(i).dev_name, ...
+                result.dev_replies(i).attr_values(j).value(1), ...
+                nominal_values_array{j}); 
+            erreur1 = erreur1+1;
+        end
+    end
+end
+
+if erreurs==0 & MAF_installed==0 & MC_not_locked==0 & erreur1==0 
+    fprintf('Les LibÃ©ras sont bien configurÃ©s\n');
+else
+    if erreurs~=0|erreur1~=0
+        fprintf('%d attributs sont mal configurÃ©s \n',erreurs);
+        reply = input('voulez-vous appliquer la configuration FMA ? Y/N [Y]: ', 's');
+        if isempty(reply)
+            reply = 'Y';
+        end
+        if reply == 'Y'
+            if erreurs~=0
+                for j=1:1:size(attr_list,2)-2
+                    tango_group_write_attribute2(bpms_group,attr_list{j},nominal_values_array{j});
+                end
+            end
+            if erreur1~=0  % erreur timephase
+                for j=1:1:size(attr_list1,2)
+                    tango_group_write_attribute2(bpms_group,attr_list1{j},nominal_values_array1{j});
+                end
+            end
+        end
+    end
+    if MC_not_locked~=0
+        fprintf('%d LibÃ©ras ne recoivent pas la Machine Clock \n',MC_not_locked);
+    end
+    if MAF_installed~=0
+        fprintf('%d LibÃ©ras ont le filtre MAF installÃ©. Ce n''est pas compatible avec le run FMA actuellement \n',MC_not_locked);
+    end
+
+ end       
+%tango_group_kill(bpms_group)     
+        
Index: /trunk/machine/SOLEIL/StorageRing/bpm/Set_and_Check_Libera_config_for_USERS.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/Set_and_Check_Libera_config_for_USERS.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/Set_and_Check_Libera_config_for_USERS.m	(revision 17)
@@ -0,0 +1,89 @@
+function Set_and_Check_Libera_config_for_USERS
+%
+% See Also Set_and_Check_Libera_config_for_FMA
+
+% CrÃ©ation d'un groupe tango
+%bpms_group=tango_group_create2('bpms');
+bpms_group=family2tangogroup('BPMx');
+dev_list=family2tangodev('BPMx');
+for i=1:size(dev_list,1),
+    tango_group_add(bpms_group,dev_list{i});
+end
+tango_group_ping(bpms_group);
+
+% liste des paramÃštres libera
+SAEnabled=uint8(1);
+Switches=int16(255);
+SwitchingDelay=int32(0);
+DSCMode=int16(2);
+AGCEnabled=uint8(1);
+TimePhase=int32(0);
+CompensateTune=uint8(1);
+ExternalSwitching=uint8(1);
+OffsetTune=int32(220);
+MCPLLStatus=1;
+HasMAFSupport=0;
+UseLiberaSAData=uint8(1);
+normalBufferSize = int32(1026);
+
+% lecture de la configuration actuelle des liberas
+attr_list={'DDBufferSize','SAEnabled','Switches','SwitchingDelay','DSCMode','AGCEnabled','TimePhase', ...
+    'CompensateTune','ExternalSwitching','OffsetTune','UseLiberaSAData','MCPLLStatus','HasMAFSupport'};
+nominal_values_array={normalBufferSize SAEnabled Switches SwitchingDelay DSCMode AGCEnabled TimePhase ...
+    CompensateTune ExternalSwitching OffsetTune UseLiberaSAData MCPLLStatus HasMAFSupport};
+result=tango_group_read_attributes2(bpms_group,attr_list);
+
+fprintf('\n');
+fprintf('\n');
+fprintf('***********************************************************************\n');
+fprintf('VÃ©rification de la configuration des LibÃ©ras pour les runs utilisateurs\n');
+fprintf('***********************************************************************\n');
+
+MAF_installed=0;
+MC_not_locked=0;
+erreurs=0;
+for j=1:1:size(attr_list,2)
+    for i=1:length(dev_list),
+        if result.dev_replies(i).attr_values(j).value(1)~=nominal_values_array{j}
+            fprintf('L attribut %s est mal configurÃ© sur le BPM: %s, %d au lieu de %d \n', ...
+                result.dev_replies(i).attr_values(j).attr_name, ...
+                result.dev_replies(i).dev_name, ...
+                result.dev_replies(i).attr_values(j).value(1), ...
+                nominal_values_array{j}); 
+            
+            if isequal(attr_list(j),{'MCPLLStatus'})
+                MC_not_locked=MC_not_locked+1;
+            else if isequal(attr_list(j),{'HasMAFSupport'})
+                MAF_installed=MAF_installed+1;
+                else
+                   erreurs=erreurs+1;
+                end
+            end
+        end
+    end
+end
+if erreurs==0 & MAF_installed==0 & MC_not_locked==0
+    fprintf('Les LibÃ©ras sont bien configurÃ©s\n');
+else
+    if erreurs~=0
+        fprintf('%d attributs sont mal configurÃ©s \n',erreurs);
+        reply = input('voulez-vous appliquer la configuration nominale? Y/N [Y]: ', 's');
+        if isempty(reply)
+            reply = 'Y';
+        end
+        if reply == 'Y'
+            for j=1:1:size(attr_list,2)-2
+            tango_group_write_attribute2(bpms_group,attr_list{j},nominal_values_array{j});
+            end
+        end 
+    end
+    if MC_not_locked~=0
+        fprintf('%d LibÃ©ras ne recoivent pas la Machine Clock \n',MC_not_locked);
+    end
+    if MAF_installed~=0
+        fprintf('%d LibÃ©ras ont le filtre MAF installÃ© ce n est pas compatible avec les runs utilisateurs \n',MC_not_locked);
+    end
+
+ end       
+%tango_group_kill(bpms_group)     
+        
Index: /trunk/machine/SOLEIL/StorageRing/bpm/anabetaturnbyturn.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/anabetaturnbyturn.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/anabetaturnbyturn.m	(revision 17)
@@ -0,0 +1,194 @@
+function [bxmeas bzmeas nux nuz] = anabetaturnbyturn(varargin)
+% ANABETATURNBYTURN - Compute beta function at BPM location using turn by turn data
+%
+%  INPUTS
+%  1. Number of turn - Default and maximum value is depth read on BPM
+%  Optional input arguments
+%  1. Optional display
+%     'Display'   - Plot the beta function {Default if no outputs exist}
+%     'NoDisplay' - Bpmdata will not be plotted {Default if outputs exist}
+%  2. 'File'      - Get from File (interactive)
+%                 - if Filename given as a second argument, open the specified file
+%  3. 'Ref'       - Comparison with a Reference File
+%
+%  OUTPUTS
+%  1. bxmeas - Horizontal beta funtion at BPM location
+%  2. bzmeas - Vertical beta funtion at BPM location
+%  3. nux - H-Tune determined by FFT
+%  4. nuz - V-Tune determined by FFT
+%
+%  See Also getbpmrawdata, findfreq, convertBPMData2CERNformat
+
+%
+% Written by Laurent S. Nadolski
+
+FileFlag = 0;   % Get data from a file
+ReferenceFlag = 1;
+DisplayFlag = 1;
+FileName = '';
+imax = 1026; % Default number of turn
+
+
+% if no output variable, display results
+if nargout > 0
+    DisplayFlag = 0;
+end
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Ref')
+        ReferenceFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoRef')
+        ReferenceFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'File')
+        FileFlag = 1;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                varargin(i+1) = [];
+                [pathstr,name,ext] = fileparts(FileName);
+                if isempty(ext)
+                    FileName = [FileName, '.mat'];
+                end
+            end
+        end
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+% Check if data depth (number of turns) is provided by user
+if ~isempty(varargin)
+    imax = varargin{1};
+end
+% Get File by asking users
+    
+if FileFlag
+    if ~isempty(FileName) && exist(FileName, 'file')
+        a = load(FileName);
+        AM = getfield(a, 'AM');
+    else
+        DirectoryName = getfamilydata('Directory','BPMData');
+        pwd_old = pwd;
+        cd(DirectoryName);
+        [Filename PathName] = uigetfile('BPMTurnByTurn*');
+        cd(pwd_old);
+        if  isequal(FileName,0)
+            disp('User pressed cancel')
+            exit(0);
+        else
+            a = load(fullfile(PathName, Filename));
+            AM = getfield(a, 'AM');
+        end
+    end
+else % Online data
+    AM = getbpmrawdata('Struct');
+end
+
+istart = 15;
+iend = min(istart + imax - 1, size(AM.Data.X, 2));
+Xpos = AM.Data.X(:,istart:iend)';
+Zpos = AM.Data.Z(:,istart:iend)';
+
+if DisplayFlag
+    figure
+    subplot(2,1,1)
+    plot(Xpos-repmat(mean(Xpos), size(Xpos,1),1))
+    ylabel('X [mm]')
+    subplot(2,1,2)
+    plot(Zpos-repmat(mean(Zpos), size(Zpos,1),1))
+    ylabel('Z [mm]')
+    xlabel('Turn number');
+    suptitle('Turn by turn data')
+end
+%%
+%refreshthering;
+%steptune([0.005 0.0125],'Model');
+[bxm bzm] = modelbeta('BPMx');
+%%
+ind = (1:120); % All BPMs
+[nux nuz ampx ampz] = findfreq(Xpos(:,ind),Zpos(:,ind));
+
+% fit average beta values to model
+factx  = mean(bxm)/mean(ampx.*ampx);
+factz  = mean(bzm)/mean(ampz.*ampz);
+bxmeas = (ampx.*ampx*factx)';
+bzmeas = (ampz.*ampz*factz)';
+
+if DisplayFlag    
+    figure
+    av = getspos('BPMx');
+    %av = [av(1:30); av(1:30); av(1:30); av(1:30)];
+    h1 = subplot(2,1,1);
+    plot(av,bxmeas,'b*-',av,bxm,'k.-'); hold on;
+    ylabel('betax [m]'); grid on;
+    h2 = subplot(2,1,2);
+    plot(av,bzmeas,'b*-',av,bzm,'k.-')
+    linkaxes([h1 h2], 'x');
+    grid on; ylabel('betaz [m]'); xlabel('s [m]');
+    suptitle('Beta function fitted at BPM position from turn by turn data (blue stars) and theory (black)')
+    %tmp = bxmeas(74);  bxmeas(74) = bxmeas(75) ; bxmeas(75) = tmp;
+    addlabel(sprintf('H-betabeat %3.2f %% rms V-betabeat %3.2f %% rms               %s', ...
+        std((bxmeas - bxm)./bxm)*100,std((bzmeas - bzm)./bzm)*100,AM.TimeStamp));
+
+    figure
+    av = getspos('BPMx');
+    h1 = subplot(5,1,[1 2]);
+    plot(av,nux,'b*-'); hold on;
+    ylabel('nux'); grid on;
+    yaxis([.205 .215])
+    h2 = subplot(5,1,3);
+    drawlattice;
+    h3 = subplot(5,1,[4 5]);
+    plot(av,nuz,'b*-')
+    linkaxes([h1 h2 h3], 'x');
+    grid on; ylabel('nuz'); xlabel('s [m]');
+    yaxis([.315 .325])
+    suptitle(sprintf('Tunes at BPM positions from turn by turn data over %d turns', imax));
+    %tmp = bxmeas(74);  bxmeas(74) = bxmeas(75) ; bxmeas(75) = tmp;
+    addlabel(sprintf('H-betabeat %3.2f %% rms V-betabeat %3.2f %% rms               %s', ...
+        std((bxmeas - bxm)./bxm)*100,std((bzmeas - bzm)./bzm)*100,AM.TimeStamp));
+
+    
+    figure
+    h1 = subplot(5,1,[1 2]);
+    plot(av,(bxmeas-bxm)./bxm*100,'k.-'); hold on;
+    ylabel('betax beating [%]'); grid on;
+    yaxis([-20 20])
+    h2 = subplot(5,1,3);
+    drawlattice;
+    h3 = subplot(5,1,[4 5]);
+    plot(av,(bzmeas-bzm)./bzm*100,'k.-'); hold on;
+    linkaxes([h1 h2 h3], 'x');
+    set([h1 h2 h3],'XGrid','On','YGrid','On');
+    yaxis([-20 20])
+    grid on; ylabel('betaz beating [%]'); xlabel('s [m]');
+    suptitle('Beta beatingfitted at BPM position from turn by turn data (black stars) and reference (red)')
+    
+    addlabel(sprintf('H-betabeat %3.2f %% rms V-betabeat %3.2f %% rms               %s', ...
+        std((bxmeas - bxm)./bxm)*100,std((bzmeas - bzm)./bzm)*100,AM.TimeStamp));
+
+    if ReferenceFlag
+        RefDirName = getfamilydata('Directory', 'BPMData');
+        RefFileName = 'BPMTurnByTurn_2009-03-28_09-32-07_betabeatref.mat';
+        [Refbxmeas Refbzmeas Refnux Refnuz] = anabetaturnbyturn(imax, 'File', fullfile(RefDirName,RefFileName)); 
+        plot(h1, av, (Refbxmeas-bxm)./bxm*100, 'r.-')
+        plot(h3, av, (Refbzmeas-bzm)./bzm*100, 'r.-')
+    end
+    %IDList = getidState;
+    %fprintf('Measurement: I= %4.1f A nux=%5.4f nuz=%5.4f\n',     IDList.current, IDList.tunes)
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/analbpmresp.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/analbpmresp.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/analbpmresp.m	(revision 17)
@@ -0,0 +1,462 @@
+function analbpmresp(Sx, Sy)
+%ANALBPMRESP - Analyses bpm response matrix
+%  analbpmresp(Sx, Sy)
+%               or 
+%  analbpmresp(FileName)
+%
+% Written at SPEAR3
+% Modified Laurent S. Nadolski
+%
+% TODO
+% Need adaptation for SOLEIL
+
+BPMxGain = getgain('BPMx');
+BPMzGain = getgain('BPMz');
+
+SectorLength = 16.40;
+Circumference = 12*SectorLength;
+idbpms = IDBPMs;
+idbpms(1) = idbpms(1)-Circumference;
+
+if nargin == 0
+   Flag = menu('Which S-matrix?','From a file.',sprintf('%.1f GeV Default',GLOBAL_SR_GEV),'     Exit   ');
+   if Flag == 1
+      CurrentDir = pwd;
+      gotodata
+      cd smatrix
+      [FileName, PathName] = uigetfile('*.*', 'Choose the desired S-matrix file.');
+      eval(['cd ',CurrentDir]);
+      if FileName == 0
+         disp('  Function canceled.'); 
+         disp(' ');
+         return
+      else
+         load([PathName, FileName]);
+      end
+   elseif Flag == 2
+      Sx = Sxmat;
+      Sy = Symat;
+   else
+      disp('  Function canceled.'); disp(' ');
+      return
+   end
+elseif nargin == 1
+   FileName = Sx;
+   if isstr(FileName)
+      load(FileName);
+   else
+      error('FileName must be a string.');
+   end
+end
+
+
+if size(Sx) == [96 96]
+   % input OK
+elseif size(Sx) == [96 94]
+   S = zeros(96,96);
+   S(:,HCMelem) = Sx;
+   Sx = S;
+else
+   error('Sx is the wrong size.');
+end
+
+
+if size(Sy) == [96 96]
+   % input OK
+elseif size(Sy) == [96 70]
+   S = zeros(96,96);
+   S(:,VCMelem) = Sy;
+   Sy = S;
+else
+   error('Sy is the wrong size.');
+end
+
+
+% Horizontal
+
+% New S-matrix
+Sxnew=zeros(size(Sxmat));
+for i = HCMelem'
+   %size(BPMxGain)
+   %size(Sx(:,i))
+   % Remove BPM eain effect
+   Sxnew(:,i) = Sx(:,i) .* BPMxGain;
+   
+   % Remove corrector magnet gain effect (convert to mm/mrad)
+   Sxnew(:,i) = Sxnew(:,i) / (1000*amps2rad('HCM',1,i));
+end
+
+
+for Mag = 1:8
+   S=[];
+   Snew=[];
+   
+   if Mag == 1 
+      m = 2;
+   else
+      m = 1;
+   end
+   
+   if Mag == 8
+      n = 11;
+   else
+      n = 12;
+   end
+   
+   for i = m:n
+      S(:,i-m+1) = Sx(rem((BPMelem-1)+8*(i-1),96)+1, Mag+8*(i-1)); 
+      Snew(:,i-m+1) = Sxnew(rem((BPMelem-1)+8*(i-1),96)+1, Mag+8*(i-1));
+      
+      ii = rem(((1:24)'-1)+2*(i-1),24)+1;
+      SID(:,i-m+1) = SIDxmat(ii, Mag+8*(i-1)); 
+      
+      % Set missing IDBPMs to NaN
+      iNaN=find(SID(:,i-m+1)==0);
+      SID(iNaN,i-m+1) = NaN;
+   end
+   
+   if Mag == 9
+      break
+   end
+   
+   if Mag <= 4
+      figure(1);
+      subplot(4,1, Mag);
+      plot(BPMs, S);
+      
+      figure(5);
+      subplot(4,1, Mag);
+      plot(BPMs, Snew);
+      
+      figure(9);
+      subplot(4,1, Mag);
+      plot(idbpms, SID);
+      axis tight      
+   else
+      figure(2);
+      subplot(4,1, Mag-4);
+      plot(BPMs, S);
+      
+      figure(6);
+      subplot(4,1, Mag-4);
+      plot(BPMs, Snew);
+      
+      figure(10);
+      subplot(4,1, Mag-4);
+      plot(idbpms, SID);
+      axis tight
+   end
+end
+
+figure(1); 
+subplot(4,1,1);
+xlabel('BPM Position [meters]');
+ylabel('Mag #1');
+title('Horizontal Corrector Magnets (S-matrix Data: mm/amp)');
+
+subplot(4,1,2);
+xlabel('BPM Position [meters]');
+ylabel('Mag #2');
+
+subplot(4,1,3);
+xlabel('BPM Position [meters]');
+ylabel('Mag #3');
+
+subplot(4,1,4);
+xlabel('BPM Position [meters]');
+ylabel('Mag #4');
+
+figure(2);
+subplot(4,1,1);
+xlabel('BPM Position [meters]');
+ylabel('Mag #5');
+title('Horizontal Corrector Magnets (S-matrix Data: mm/amp)');
+
+subplot(4,1,2);
+xlabel('BPM Position [meters]');
+ylabel('Mag #6');
+
+subplot(4,1,3);
+xlabel('BPM Position [meters]');
+ylabel('Mag #7');
+
+subplot(4,1,4);
+xlabel('BPM Position [meters]');
+ylabel('Mag #8');
+
+
+figure(5); 
+subplot(4,1,1);
+xlabel('BPM Position [meters]');
+ylabel('Mag #1');
+title('Horizontal Corrector Magnets (Calibrated S-matrix Data: mm/mrad)');
+
+subplot(4,1,2);
+xlabel('BPM Position [meters]');
+ylabel('Mag #2');
+
+subplot(4,1,3);
+xlabel('BPM Position [meters]');
+ylabel('Mag #3');
+
+subplot(4,1,4);
+xlabel('BPM Position [meters]');
+ylabel('Mag #4');
+
+figure(6);
+subplot(4,1,1);
+xlabel('BPM Position [meters]');
+ylabel('Mag #5');
+title('Horizontal Corrector Magnets (Calibrated S-matrix Data: mm/mrad)');
+
+subplot(4,1,2);
+xlabel('BPM Position [meters]');
+ylabel('Mag #6');
+
+subplot(4,1,3);
+xlabel('BPM Position [meters]');
+ylabel('Mag #7');
+
+subplot(4,1,4);
+xlabel('BPM Position [meters]');
+ylabel('Mag #8');
+
+
+figure(9); 
+subplot(4,1,1);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #1');
+title('Horizontal Corrector Magnets');
+
+subplot(4,1,2);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #2');
+
+subplot(4,1,3);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #3');
+
+subplot(4,1,4);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #4');
+
+figure(10);
+subplot(4,1,1);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #5');
+title('Horizontal Corrector Magnets');
+
+subplot(4,1,2);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #6');
+
+subplot(4,1,3);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #7');
+
+subplot(4,1,4);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #8');
+
+
+
+% Vertical
+
+% New S-matrix
+Synew=zeros(size(Symat));
+for i = VCMelem'
+   % Remove BPM eain effect
+   Synew(:,i) = Sy(:,i) .* BPMzGain;
+   
+   % Remove corrector magnet gain effect (convert to mm/mrad)
+   Synew(:,i) = Synew(:,i) / (1000*amps2rad('VCM',1,i));
+end
+
+for Mag = [1 2 4 5 7 8]
+   S=[];
+   Snew=[];
+   
+   SID=[];
+   SIDnew=[];
+   
+   if Mag == 1 
+      m = 2;
+   else
+      m = 1;
+   end
+   
+   if Mag == 8
+      n = 11;
+   else
+      n = 12;
+   end
+   
+   for i = m:n
+      S(:,i-m+1) = Sy(rem((BPMelem-1)+8*(i-1),96)+1, Mag+8*(i-1)); 
+      Snew(:,i-m+1) = Synew(rem((BPMelem-1)+8*(i-1),96)+1, Mag+8*(i-1)); 
+      
+      ii = rem(((1:24)'-1)+2*(i-1),24)+1;
+      SID(:,i-m+1) = SIDymat(ii, Mag+8*(i-1)); 
+      
+      % Set missing IDBPMs to NaN
+      iNaN=find(SID(:,i-m+1)==0);
+      SID(iNaN,i-m+1) = NaN;
+   end
+      
+   if Mag == 9
+      break
+   end
+   
+   if Mag <= 4
+      figure(3);
+      subplot(4,1, Mag);
+      plot(BPMs, S);
+      
+      figure(7);
+      subplot(4,1, Mag);
+      plot(BPMs, Snew);
+      
+      figure(11);
+      subplot(4,1, Mag);
+      plot(idbpms, SID);
+      axis tight
+   else
+      figure(4);
+      subplot(4,1, Mag-4);
+      plot(BPMs, S);
+      
+      figure(8);
+      subplot(4,1, Mag-4);
+      plot(BPMs, Snew);
+      
+      figure(12);
+      subplot(4,1, Mag-4);
+      plot(idbpms, SID);
+      axis tight
+   end
+end
+
+
+figure(3); 
+subplot(4,1,1);
+xlabel('BPM Position [meters]');
+ylabel('Mag #1');
+title('Vertical Corrector Magnets (S-matrix Data: mm/amp)');
+
+subplot(4,1,2);
+xlabel('BPM Position [meters]');
+ylabel('Mag #2');
+
+subplot(4,1,3);
+xlabel('BPM Position [meters]');
+ylabel('Mag #3');
+
+subplot(4,1,4);
+xlabel('BPM Position [meters]');
+ylabel('Mag #4');
+
+figure(4);
+subplot(4,1,1);
+xlabel('BPM Position [meters]');
+ylabel('Mag #5');
+title('Vertical Corrector Magnets (S-matrix Data: mm/amp)');
+
+subplot(4,1,2);
+xlabel('BPM Position [meters]');
+ylabel('Mag #6');
+
+subplot(4,1,3);
+xlabel('BPM Position [meters]');
+ylabel('Mag #7');
+
+subplot(4,1,4);
+xlabel('BPM Position [meters]');
+ylabel('Mag #8');
+
+
+
+figure(7); 
+subplot(4,1,1);
+xlabel('BPM Position [meters]');
+ylabel('Mag #1');
+title('Vertical Corrector Magnets (Calibrated S-matrix Data: mm/mrad)');
+
+subplot(4,1,2);
+xlabel('BPM Position [meters]');
+ylabel('Mag #2');
+
+subplot(4,1,3);
+xlabel('BPM Position [meters]');
+ylabel('Mag #3');
+
+subplot(4,1,4);
+xlabel('BPM Position [meters]');
+ylabel('Mag #4');
+
+figure(8);
+subplot(4,1,1);
+xlabel('BPM Position [meters]');
+ylabel('Mag #5');
+title('Vertical Corrector Magnets (Calibrated S-matrix Data: mm/mrad)');
+
+subplot(4,1,2);
+xlabel('BPM Position [meters]');
+ylabel('Mag #6');
+
+subplot(4,1,3);
+xlabel('BPM Position [meters]');
+ylabel('Mag #7');
+
+subplot(4,1,4);
+xlabel('BPM Position [meters]');
+ylabel('Mag #8');
+
+figure(11); 
+subplot(4,1,1);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #1');
+title('Vertical Corrector Magnets');
+
+subplot(4,1,2);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #2');
+
+subplot(4,1,3);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #3');
+
+subplot(4,1,4);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #4');
+
+figure(12);
+subplot(4,1,1);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #5');
+title('Vertical Corrector Magnets');
+
+subplot(4,1,2);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #6');
+
+subplot(4,1,3);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #7');
+
+subplot(4,1,4);
+xlabel('IDBPM Position [meters]');
+ylabel('Mag #8');
+
+
+
+figure(1); orient tall
+figure(2); orient tall
+figure(3); orient tall
+figure(4); orient tall
+figure(5); orient tall
+figure(6); orient tall
+figure(7); orient tall
+figure(8); orient tall
+figure(9); orient tall
+figure(10); orient tall
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/analyse.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/analyse.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/analyse.m	(revision 17)
@@ -0,0 +1,29 @@
+load('BPMData_30tours.mat');
+
+% %%
+% figure
+% mesh(AM.Data.Sum)
+% 
+% %%
+% Sum  = AM.Data.Va + AM.Data.Vd + AM.Data.Va + AM.Data.Vd;
+% Kx = 11.4; Kz = 11.4;
+% XPos = Kx*(AM.Data.Va - AM.Data.Vb + AM.Data.Vd - AM.Data.Vc)./Sum;
+% ZPos = Kz*(AM.Data.Va + AM.Data.Vb - AM.Data.Vc - AM.Data.Vd)./Sum;
+% 
+% 
+% %% Signal 
+% plot([XPos(1,:);AM.Data.X(1,:)]','.-')
+% grid on
+% xlabel('Turn number')
+% ylabel('Sum (u.a.)')
+% legend('Reconstruction','Dserveur')
+
+plotDD(AM,0,0)
+plotDD(AM,4,30)
+plotDD(AM,4*2,30*2)
+plotDD(AM,4*3,30*3)
+
+plotDDraw(AM,0,0)
+plotDDraw(AM,4,30)
+plotDDraw(AM,4*2,30*2)
+plotDDraw(AM,4*3,30*3)
Index: /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst.m	(revision 17)
@@ -0,0 +1,522 @@
+function analyse_reconst
+
+load('BPMData_30tours.mat');
+
+% to be set in startup file
+set(0,'DefaultAxesColorOrder',(colordg(1:15))); 
+
+%%
+Sum  = AM.Data.Va + AM.Data.Vd + AM.Data.Va + AM.Data.Vd;
+Quad  = (AM.Data.Va + AM.Data.Vc - AM.Data.Vb - AM.Data.Vd)./Sum;
+Kx = 11.4; Kz = 11.4;
+XPos = Kx*(AM.Data.Va - AM.Data.Vb + AM.Data.Vd - AM.Data.Vc)./Sum;
+ZPos = Kz*(AM.Data.Va + AM.Data.Vb - AM.Data.Vc - AM.Data.Vd)./Sum;
+
+AM.DataR.Sum = Sum; 
+AM.DataR.Q = Quad; 
+AM.DataR.X = XPos; 
+AM.DataR.Z = ZPos; 
+
+% figure;
+% plot(repmat((1:8),3),'.-')
+% legend('1','2','3','4','5','6','7','8')
+ 
+%% Superperiod 1
+figure
+
+isup = 4;
+ishift = 30; 
+
+
+local_plot(isup,ishift)
+
+function local_plot(isup,ishift)
+
+bpmnum = (1:8)  + ishift;
+turnnum = 4:40;
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum(bpmnum ,turnnum)','.-')
+ylabel('Sum (a.u.)')
+suptitle('Cell 1')
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q(bpmnum ,turnnum)','.-')
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X(bpmnum,turnnum)','.-')
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z(bpmnum,turnnum)','.-')
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum(9:16,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle('Cell 2')
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q(9:16 ,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X(9:16,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z(9:16,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum(17:24,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle('Cell 3')
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q(17:24 ,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X(17:24,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z(17:24,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum(25:31,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle('Cell 4')
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q(25:31 ,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X(25:31,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z(25:31,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+%% Superperiod 2
+isup = 4;
+ishift = 30; 
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((1:8)+ishift ,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',1+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((1:8)+ishift ,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((1:8)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((1:8)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',2+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',3+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((25:31)+ishift,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',4+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((25:31)+ishift,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((25:31)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((25:31)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+%% superperiod 3
+isup = 4*2;
+ishift = 30*2; 
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((1:8)+ishift ,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',1+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((1:8)+ishift ,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((1:8)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((1:8)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',2+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',3+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((25:31)+ishift,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',4+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((25:31)+ishift,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((25:31)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((25:31)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+
+%% Superperiod 4
+isup = 4*3;
+ishift = 30*3; 
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((1:8)+ishift ,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',1+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((1:8)+ishift ,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((1:8)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((1:8)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',2+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((9:16)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',3+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z((17:24)+ishift,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Sum(114:end,turnnum)','.-')
+grid on
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',4+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Q(114:end,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.X(114:end,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Z(114:end,turnnum)','.-')
+grid on
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+%%
+
+
+figure
+
+h1=subplot(2,2,1);
+plot(AM.DataR.Va(114:end,turnnum)','.-')
+grid on
+ylabel('Va (a.u.)')
+suptitle(sprintf('Cell %d',4+isup))
+
+h2=subplot(2,2,2);
+plot(AM.DataR.Vb(114:end,turnnum)','.-')
+grid on
+ylabel('Vb (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.DataR.Vc(114:end,turnnum)','.-')
+grid on
+ylabel('Vc (a.u.)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.DataR.Vd(114:end,turnnum)','.-')
+grid on
+ylabel('Vd (a.u.)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+
+
+%%
+etax = modeldisp('BPMx');
+
+%%
+ZFFT = fft(AM.DataR.Z(1,:));
+figure
+zlin = (1:length(ZFFT))/length(ZFFT);
+plot(zlin,abs(ZFFT))
+%%
+mesh(abs(fft(AM.DataR.Z(:,:))))
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst2.m	(revision 17)
@@ -0,0 +1,32 @@
+function analyse_reconst
+
+load('BPMData_30tours.mat');
+
+% to be set in startup file
+set(0,'DefaultAxesColorOrder',(colordg(1:15))); 
+
+%%
+Sum  = AM.Data.Va + AM.Data.Vd + AM.Data.Va + AM.Data.Vd;
+Quad  = (AM.Data.Va + AM.Data.Vc - AM.Data.Vb - AM.Data.Vd)./Sum;
+Kx = 11.4; Kz = 11.4;
+XPos = Kx*(AM.Data.Va - AM.Data.Vb + AM.Data.Vd - AM.Data.Vc)./Sum;
+ZPos = Kz*(AM.Data.Va + AM.Data.Vb - AM.Data.Vc - AM.Data.Vd)./Sum;
+
+AM.Data.Sum = Sum; 
+AM.Data.Q = Quad; 
+AM.Data.X = XPos; 
+AM.Data.Z = ZPos; 
+
+% figure;
+% plot(repmat((1:8),3),'.-')
+% legend('1','2','3','4','5','6','7','8')
+ 
+%% Superperiod 1
+
+
+plotDD(AM,0,0)
+plotDD(AM,4,30)
+plotDD(AM,4*2,30*2)
+plotDD(AM,4*3,30*3)
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst3.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst3.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst3.m	(revision 17)
@@ -0,0 +1,51 @@
+
+num = 12;
+
+X = AM.Data.X(:,num:num+5)';
+Z = AM.Data.Z(:,num:num+5)';
+
+
+[X1 X2 X3 X4] = deal(X(1,:),X(2,:),X(3,:),X(4,:));
+[Z1 Z2 Z3 Z4] = deal(Z(1,:),Z(2,:),Z(3,:),Z(4,:));
+
+%% Algo 4 turns
+nux = acos((X2-X1+X4-X3)/2./(X3-X2))/2/pi;
+nuz = acos((Z2-Z1+Z4-Z3)/2./(Z3-Z2))/2/pi;
+
+Xcod = (X3.*(X1+X3)-X2.*(X2+X4))./((X1-X4) + 3*(X3-X2));
+Zcod = (Z3.*(Z1+Z3)-Z2.*(Z2+Z4))./((Z1-Z4) + 3*(Z3-Z2));
+
+spos = getspos('BPMx');
+
+figure
+plot(spos,Xcod,'b.-',spos,Zcod,'r.-');
+xlabel('s-position [m]');
+ylabel('Close orbit [mm]');
+legend('Xcod','Zcod');
+grid on
+yaxis([-7 7])
+
+% disregard cplx results
+nux(imag(nux) ~= 0) = NaN;
+nuz(imag(nuz) ~= 0) = NaN;
+
+figure
+subplot(2,2,[1 2])
+plot(spos,nux,'b.',spos,nuz,'r.')
+xlabel('s-position [m]')
+ylabel('tune fractionnal part')
+title('4-turn Algorithm')
+legend(sprintf('nux %f',mean(nux(~isnan(nux)))),sprintf('nuz %f',mean(nuz(~isnan(nuz)))));
+grid on
+yaxis([0 0.5])
+
+subplot(2,2,3)
+hist(nux(~isnan(nux)))
+xlabel('Fractional tune nux')
+grid on
+
+subplot(2,2,4)
+hist(nuz(~isnan(nuz)))
+xlabel('Fractional tune nuz')
+grid on
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/anaphase2bpm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/anaphase2bpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/anaphase2bpm.m	(revision 17)
@@ -0,0 +1,35 @@
+function anaphase2bpm
+
+    DirectoryName = getfamilydata('Directory','BPMData');
+    Filename = uigetfile(DirectoryName);
+ 
+    
+    if  isequal(FileName,0)
+       disp('User pressed cancel')
+       return;
+    else
+        a = load(fullfile(DirectoryName, Filename));
+        AM = getfield(a, 'AM');
+        bpmlist = dev2elem('BPMx',AM.DeviceList);
+    end
+ 
+%%
+  i1=50;
+  i2=200;
+  
+ x1 = AM.Data.X(1,i1:i2);
+ x2 = AM.Data.X(2,i1:i2);
+ 
+ x = x1;
+
+ phi1 = modelphase('BPMx',[12 1]);
+ phi2 = modelphase('BPMx',[14 1]);
+ psi = -(phi2 - phi1); 
+ beta1 = modelbeta('BPMx',[12 1]);
+ beta2 = modelbeta('BPMx',[14 1]);
+ alpha1 = modeltwiss('alpha','BPMx',[12 1]);
+ 
+ xp = x2/sin(psi)/sqrt(beta1*beta2) - (alpha1 + cot(psi))/beta1*x1;
+ plot(x,xp,'.')
+ grid on
+ 
Index: /trunk/machine/SOLEIL/StorageRing/bpm/anaturnbyturndata.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/anaturnbyturndata.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/anaturnbyturndata.m	(revision 17)
@@ -0,0 +1,133 @@
+function [bxmeas bzmeas nux nuz] = anabetaturnbyturn(varargin)
+% ANABETATURNBYTURN - Compute beta function at BPM location using turn by turn data
+%
+%  INPUTS
+%  1. Number of turn - Default and maximum value is depth read on BPM
+%  Optional input arguments
+%  1. Optional display
+%     'Display'   - Plot the beta function {Default if no outputs exist}
+%     'NoDisplay' - Bpmdata will not be plotted {Default if outputs exist}
+%  2. 'File'      - Get from File (interactive)
+%                 - if Filename given as a second argument, open the specified file
+%  3. 'Ref'       - Comparison with a Reference File
+%
+%  OUTPUTS
+%  1. bxmeas - Horizontal beta funtion at BPM location
+%  2. bzmeas - Vertical beta funtion at BPM location
+%  3. nux - H-Tune determined by FFT
+%  4. nuz - V-Tune determined by FFT
+%
+%  See Also getbpmrawdata, findfreq, convertBPMData2CERNformat
+
+%
+% Written by Laurent S. Nadolski
+
+FileFlag = 0;   % Get data from a file
+ReferenceFlag = 1;
+DisplayFlag = 1;
+FileName = '';
+imax = 1026; % Default number of turn
+
+
+% if no output variable, display results
+if nargout > 0
+    DisplayFlag = 0;
+end
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Ref')
+        ReferenceFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoRef')
+        ReferenceFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'File')
+        FileFlag = 1;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                varargin(i+1) = [];
+                [pathstr,name,ext] = fileparts(FileName);
+                if isempty(ext)
+                    FileName = [FileName, '.mat'];
+                end
+            end
+        end
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+% Check if data depth (number of turns) is provided by user
+if ~isempty(varargin)
+    imax = varargin{1};
+end
+% Get File by asking users
+    
+if FileFlag
+    if ~isempty(FileName) && exist(FileName, 'file')
+        a = load(FileName);
+        AM = getfield(a, 'AM');
+    else
+        DirectoryName = getfamilydata('Directory','BPMData');
+        pwd_old = pwd;
+        cd(DirectoryName);
+        [Filename PathName] = uigetfile('BPMTurnByTurn*');
+        cd(pwd_old);
+        if  isequal(FileName,0)
+            disp('User pressed cancel')
+            exit(0);
+        else
+            a = load(fullfile(PathName, Filename));
+            AM = getfield(a, 'AM');
+        end
+    end
+else % Online data
+    AM = getbpmrawdata('Struct');
+end
+
+istart = 15;
+iend = min(istart + imax - 1, size(AM.Data.X, 2));
+Xpos = AM.Data.X(:,istart:iend)';
+Zpos = AM.Data.Z(:,istart:iend)';
+
+XposMean = mean(Xpos);
+ZposMean = mean(Zpos);
+
+Xamp = max(abs(Xpos-repmat(XposMean', 1, size(Xpos,1))'));
+Zamp = max(abs(Zpos-repmat(ZposMean', 1, size(Zpos,1))'));
+
+% XposRef = AMRef.Data.X(:,istart:iend)';
+% ZposRef = AMRef.Data.Z(:,istart:iend)';
+% 
+% XposMeanRef = mean(XposRef);
+% ZposMeanRef = mean(ZposRef);
+% 
+% Xamp = max(abs(Xpos-repmat(XposMean', 1, size(Xpos,1))'));
+% Zamp = max(abs(Zpos-repmat(ZposMean', 1, size(Zpos,1))'));
+
+if DisplayFlag
+    figure
+    subplot(2,1,1)
+    plot(XposMean); hold on;
+    plot(ZposMean, 'r')
+    ylabel('Mean value (mm)')
+    subplot(2,1,2)
+    plot(Xamp); hold on;
+    plot(Zamp, 'r')
+    ylabel('Max amplitude (mm)')
+    xlabel('BPM number');
+    suptitle('Turn by turn data')
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/bpm2quad.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/bpm2quad.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/bpm2quad.m	(revision 17)
@@ -0,0 +1,110 @@
+function [QUADFamilyOutput, QUADDevOutput, DeltaSpos, PhaseAdvance] = bpm2quad(BPMFamily, BPMDev, LocationFlag)
+%BPM2QUAD - Returns the nearest quadrupole to the specified BPM
+%  [QUADFamily, QUADDeviceList, DeltaSpos, PhaseAdvance] = bpm2quad(BPMFamily, BPMDeviceList, LocationFlag)
+%
+%  INPUTS
+%  1. BPMFamily - BPM family (1 family only (row string))
+%  2. BPMDeviceList - BPM device list
+%  3. LocationFlag - Only search quadrupole positions that are 'UpStream' or 'DownStream' {Default for transport lines} 
+%                    of the BPM.  Else no location preference is used {Default for rings}.
+%
+%  OUTPUTS
+%  1. QUADFamily
+%  2. QUADDeviceList
+%  3. DeltaSpos - Distance from the BPM to the Quad  
+%  4. PhaseAdvance - Phase advance from the BPM to the quadrupole (using the model) [radians]
+%
+%  See Also quad2bpm
+
+%
+%  Written by Greg Portmann
+%  Modified by Laurent S. Nadolski
+
+
+if nargin < 1
+    BPMFamily = [];
+end
+if isempty(BPMFamily)
+    BPMFamily = gethbpmfamily;
+end
+
+if nargin < 2
+    BPMDev = [];
+end
+if isempty(BPMFamily)
+    BPMDev = family2dev(BPMFamily);
+    BPMDev = BPMDev(1,:);
+end
+
+if nargin < 3
+    LocationFlag = '';
+end
+if isempty(LocationFlag)
+    if any(strcmpi(getfamilydata('MachineType'), {'Transport','Transportline','Linac'}))
+        LocationFlag = 'UpStream';
+    else
+        LocationFlag = 'Any';
+    end
+end
+
+
+% Get all the quad families
+QUADFamilyList = getfamilylist;
+[tmp, i] = ismemberof(QUADFamilyList, 'QUAD');
+if ~isempty(i)
+    QUADFamilyList = QUADFamilyList(i,:);
+else
+    QUADFamilyList = ['Q7','Q9'];
+end
+
+
+% Find the Quad next to the BPM
+QUADFamilyOutput = [];
+for k = 1:size(BPMDev,1)
+    BPMspos  = getspos(BPMFamily, BPMDev(k,:));
+
+    if nargout >= 4
+        [PhiX,   PhiY]  = modeltwiss('Phase', BPMFamily, BPMDev(k,:));
+    end
+
+    Del = inf;
+    for j = 1:size(QUADFamilyList,1)
+        Family = deblank(QUADFamilyList(j,:));
+        QUADDevList = family2dev(Family);
+        QUADspos  = getspos(Family);
+
+        if strcmpi(LocationFlag, 'DownStream')
+            i = find(abs(QUADspos-BPMspos)==min(abs(QUADspos-BPMspos)) & BPMspos<QUADspos);
+        elseif strcmpi(LocationFlag, 'UpStream')
+            i = find(abs(QUADspos-BPMspos)==min(abs(QUADspos-BPMspos)) & BPMspos>QUADspos);
+
+        else
+            i = find(abs(QUADspos-BPMspos)==min(abs(QUADspos-BPMspos)));
+        end
+
+        QUADDev{j} = QUADDevList(i,:);
+
+        if abs(QUADspos(i)-BPMspos) < Del
+            QUADFamilyMin = Family;
+            QUADDevMin = QUADDev{j};        
+            Del = abs(QUADspos(i)-BPMspos);
+            DelwithSign = QUADspos(i)-BPMspos;
+        end
+    end
+    
+    QUADFamilyOutput = strvcat(QUADFamilyOutput, QUADFamilyMin);
+    QUADDevOutput(k,:) = QUADDevMin;        
+    DeltaSpos(k,1) = DelwithSign;
+
+    
+    % Get the phase advance between the BPM and Quad in the model
+    if nargout >= 4
+        ATIndex = family2atindex(QUADFamilyOutput, QUADDevOutput(k,:));
+        [PhiQx,  PhiQy] = modeltwiss('Phase', 'All');
+        i = findrowindex(ATIndex, (1:length(PhiQx))');
+        PhiQx = (PhiQx(i) + PhiQx(i+1))/2;
+
+        PhaseAdvance = PhiQx - PhiX;
+    end
+end
+ 
Index: /trunk/machine/SOLEIL/StorageRing/bpm/bpm2quad4bba.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/bpm2quad4bba.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/bpm2quad4bba.m	(revision 17)
@@ -0,0 +1,243 @@
+function [Quadstruct] = bpm2quad4bba(BPMFamily, BPMDev, LocationFlag)
+%BPM2QUAD - Returns the nearest quadrupole to the specified BPM
+%  [QUADFamily, QUADDeviceList, DeltaSpos, PhaseAdvance] = bpm2quad(BPMFamily, BPMDeviceList, LocationFlag)
+%
+%  INPUTS
+%  1. BPMFamily - BPM family (1 family only (row string))
+%  2. BPMDeviceList - BPM device list
+%  3. LocationFlag - Only search quadrupole positions that are 'UpStream' or 'DownStream' {Default for transport lines} 
+%                    of the BPM.  Else no location preference is used {Default for rings}.
+%
+%  OUTPUTS
+%  1. QUADFamily
+%  2. QUADDeviceList
+%  3. DeltaSpos - Distance from the BPM to the Quad  
+%
+%  See Also quad2bpm
+
+%
+%  Written by Laurent S. Nadolski
+
+% List device list of BBA BPM sharing same quad
+
+BPM4Q4Q5DevList=[
+    1 4
+    4 4
+    5 4
+    8 4
+    9 4
+    12 4
+    13 4
+    16 4
+    ];
+
+BPM4Q10DevList =[
+   2 4
+   2 7
+   3 4
+   3 7
+   6 4
+   6 7
+   7 4
+   7 7
+  10 4
+  10 7
+  11 4
+  11 7
+  14 4
+  14 7
+  15 4 
+  15 7
+  ];
+
+BPM4Q12DevList =[
+  13 8
+  13 9
+  ];
+
+if nargin < 1
+    BPMFamily = [];
+end
+if isempty(BPMFamily)
+    BPMFamily = gethbpmfamily;
+end
+
+if nargin < 2
+    BPMDev = [];
+end
+if isempty(BPMFamily)
+    BPMDev = family2dev(BPMFamily);
+    BPMDev = BPMDev(1,:);
+end
+
+if nargin < 3
+    LocationFlag = '';
+end
+if isempty(LocationFlag)
+    if any(strcmpi(getfamilydata('MachineType'), {'Transport','Transportline','Linac'}))
+        LocationFlag = 'UpStream';
+    else
+        LocationFlag = 'Any';
+    end
+end
+
+
+% Get all the quad families
+QUADFamilyList = getfamilylist;
+[tmp, i] = ismemberof(QUADFamilyList, 'QUAD');
+if ~isempty(i)
+    QUADFamilyList = QUADFamilyList(i,:);
+else
+    QUADFamilyList = ['QF','QD'];
+end
+
+
+% Find the Quad next to the BPM
+
+% BPMdev  Quad1Fam Quad1dev Quad2 Quad2dev
+% Question: Special field to add to SOLEILinit?
+%  Example: BPM.BBA
+
+Idx = dev2elem('BPMx', BPMDev);
+
+varlist = {
+    [ 1 2] 'Q1 ' [ 1 1] ''    []
+    [ 1 3] 'Q2 ' [ 1 1] 'Q3 ' [1 1]
+    [ 1 4] 'Q4 ' [ 1 1] 'Q5 ' [1 1]
+    [ 1 5] 'Q5 ' [ 1 2] '' []
+    [ 1 6] 'Q4 ' [ 1 2] '' []
+    [ 1 7] 'Q6 ' [ 1 1] 'Q7' [1 1]
+    [ 2 1] 'Q8 ' [ 1 1] '' []
+    [ 2 2] 'Q8 ' [ 2 1] '' []
+    [ 2 3] 'Q7 ' [ 2 1] 'Q6' [2 1]
+    [ 2 4] 'Q9 ' [ 2 1] '' []
+    [ 2 5] 'Q10' [ 2 1] '' []
+    [ 2 6] 'Q10' [ 2 2] '' []
+    [ 2 7] 'Q9 ' [ 2 2] '' []
+    [ 2 8] 'Q6 ' [ 2 2] 'Q7' [2 2]
+    [ 3 1] 'Q8 ' [ 2 2] '' []
+    [ 3 2] 'Q8 ' [ 3 1] '' []
+    [ 3 3] 'Q7 ' [ 3 1] 'Q6' [3 1]
+    [ 3 4] 'Q9 ' [ 3 1] '' []
+    [ 3 5] 'Q10' [ 3 1] '' []
+    [ 3 6] 'Q10' [ 3 2] '' []
+    [ 3 7] 'Q9 ' [ 3 2] '' []
+    [ 3 8] 'Q6 ' [ 3 2] 'Q7' [3 2]
+    [ 4 1] 'Q8 ' [ 3 2] ''    []
+    [ 4 2] 'Q8 ' [ 4 1] ''    []
+    [ 4 3] 'Q7 ' [ 4 1] 'Q6 ' [4 1]
+    [ 4 4] 'Q4 ' [ 4 1] 'Q5 ' [4 1]
+    [ 4 5] 'Q5 ' [ 4 2] '' []
+    [ 4 6] 'Q4 ' [ 4 2] '' []
+    [ 4 7] 'Q3 ' [ 4 1] 'Q2' [4 1]    
+    [ 5 1] 'Q1 ' [ 4 1] ''    []
+    [ 5 2] 'Q1 ' [ 5 1] ''    []
+    [ 5 3] 'Q2 ' [ 5 1] 'Q3 ' [5 1]
+    [ 5 4] 'Q4 ' [ 5 1] 'Q5 ' [5 1]
+    [ 5 5] 'Q5 ' [ 5 2] '' []
+    [ 5 6] 'Q4 ' [ 5 2] '' []
+    [ 5 7] 'Q6 ' [ 5 1] 'Q7' [5 1]
+    [ 6 1] 'Q8 ' [ 5 1] '' []
+    [ 6 2] 'Q8 ' [ 6 1] '' []
+    [ 6 3] 'Q7 ' [ 6 1] 'Q6' [6 1]
+    [ 6 4] 'Q9 ' [ 6 1] '' []
+    [ 6 5] 'Q10' [ 6 1] '' []
+    [ 6 6] 'Q10' [ 6 2] '' []
+    [ 6 7] 'Q9 ' [ 6 2] '' []
+    [ 6 8] 'Q6 ' [ 6 2] 'Q7' [6 2]
+    [ 7 1] 'Q8 ' [ 6 2] '' []
+    [ 7 2] 'Q8 ' [ 7 1] '' []
+    [ 7 3] 'Q7 ' [ 7 1] 'Q6' [7 1]
+    [ 7 4] 'Q9 ' [ 7 1] '' []
+    [ 7 5] 'Q10' [ 7 1] '' []
+    [ 7 6] 'Q10' [ 7 2] '' []
+    [ 7 7] 'Q9 ' [ 7 2] '' []
+    [ 7 8] 'Q6 ' [ 7 2] 'Q7' [7 2]
+    [ 8 1] 'Q8 ' [ 7 2] ''    []
+    [ 8 2] 'Q8 ' [ 8 1] ''    []
+    [ 8 3] 'Q7 ' [ 8 1] 'Q6 ' [8 1]
+    [ 8 4] 'Q4 ' [ 8 1] 'Q5 ' [8 1]
+    [ 8 5] 'Q5 ' [ 8 2] '' []
+    [ 8 6] 'Q4 ' [ 8 2] '' []
+    [ 8 7] 'Q3 ' [ 8 1] 'Q2' [8 1]    
+    [ 9 1] 'Q1 ' [ 8 1] ''    []
+    [ 9 2] 'Q1 ' [ 9 1] ''    []
+    [ 9 3] 'Q2 ' [ 9 1] 'Q3 ' [9 1]
+    [ 9 4] 'Q4 ' [ 9 1] 'Q5 ' [9 1]
+    [ 9 5] 'Q5 ' [ 9 2] '' []
+    [ 9 6] 'Q4 ' [ 9 2] '' []
+    [ 9 7] 'Q6 ' [ 9 1] 'Q7' [9 1]
+    [10 1] 'Q8 ' [ 9 1] '' []
+    [10 2] 'Q8 ' [10 1] '' []
+    [10 3] 'Q7 ' [10 1] 'Q6' [10 1]
+    [10 4] 'Q9 ' [10 1] '' []
+    [10 5] 'Q10' [10 1] '' []
+    [10 6] 'Q10' [10 2] '' []
+    [10 7] 'Q9 ' [10 2] '' []
+    [10 8] 'Q6 ' [10 2] 'Q7' [10 2]
+    [11 1] 'Q8 ' [10 2] '' []
+    [11 2] 'Q8 ' [11 1] '' []
+    [11 3] 'Q7 ' [11 1] 'Q6' [11 1]
+    [11 4] 'Q9 ' [11 1] '' []
+    [11 5] 'Q10' [11 1] '' []
+    [11 6] 'Q10' [11 2] '' []
+    [11 7] 'Q9 ' [11 2] '' []
+    [11 8] 'Q6 ' [11 2] 'Q7' [11 2]
+    [12 1] 'Q8 ' [11 2] ''    []
+    [12 2] 'Q8 ' [12 1] ''    []
+    [12 3] 'Q7 ' [12 1] 'Q6 ' [12 1]
+    [12 4] 'Q4 ' [12 1] 'Q5 ' [12 1]
+    [12 5] 'Q5 ' [12 2] '' []
+    [12 6] 'Q4 ' [12 2] '' []
+    [12 7] 'Q3 ' [12 1] 'Q2' [12 1]    
+    [13 1] 'Q1 ' [12 1] ''    []
+    [13 8] 'Q11' [13 1] ''    []
+    [13 9] 'Q12' [13 1] 'Q11' [13 2]
+    [13 2] 'Q1 ' [13 1] ''    []
+    [13 3] 'Q2 ' [13 1] 'Q3 ' [13 1]
+    [13 4] 'Q4 ' [13 1] 'Q5 ' [13 1]
+    [13 5] 'Q5 ' [13 2] '' []
+    [13 6] 'Q4 ' [13 2] '' []
+    [13 7] 'Q6 ' [13 1] 'Q7' [13 1]
+    [14 1] 'Q8 ' [13 1] '' []
+    [14 2] 'Q8 ' [14 1] '' []
+    [14 3] 'Q7 ' [14 1] 'Q6' [14 1]
+    [14 4] 'Q9 ' [14 1] '' []
+    [14 5] 'Q10' [14 1] '' []
+    [14 6] 'Q10' [14 2] '' []
+    [14 7] 'Q9 ' [14 2] '' []
+    [14 8] 'Q6 ' [14 2] 'Q7' [14 2]
+    [15 1] 'Q8 ' [14 2] '' []
+    [15 2] 'Q8 ' [15 1] '' []
+    [15 3] 'Q7 ' [15 1] 'Q6' [15 1]
+    [15 4] 'Q9 ' [15 1] '' []
+    [15 5] 'Q10' [15 1] '' []
+    [15 6] 'Q10' [15 2] '' []
+    [15 7] 'Q9 ' [15 2] '' []
+    [15 8] 'Q6 ' [15 2] 'Q7' [15 2]
+    [16 1] 'Q8 ' [15 2] ''    []
+    [16 2] 'Q8 ' [16 1] ''    []
+    [16 3] 'Q7 ' [16 1] 'Q6 ' [16 1]
+    [16 4] 'Q4 ' [16 1] 'Q5 ' [16 1]
+    [16 5] 'Q5 ' [16 2] '' []
+    [16 6] 'Q4 ' [16 2] '' []
+    [16 7] 'Q3 ' [16 1] 'Q2' [16 1]    
+    [ 1 1] 'Q1 ' [16 1] ''    []
+    };
+
+% rechecher avec findrowindex
+% idem dan getbpmbycell
+Idx = findrowindex(BPMDev, reshape([varlist{:,1}],[2,length([varlist{:,1}])/2])');
+for k = 1:size(Idx,1)
+    if isempty(varlist{Idx(k),4})
+        fprintf('BPM(%2d,%2d)   %s(%2d,%2d)\n', varlist{Idx(k),1}, varlist{Idx(k),2}, varlist{Idx(k),3});
+    else
+        fprintf('BPM(%2d,%2d)   %s(%2d,%2d)   %s(%2d,%2d)\n', varlist{Idx(k),1}, varlist{Idx(k),2}, varlist{Idx(k),3}, varlist{Idx(k),4}, varlist{Idx(k),5});
+    end  
+        Quadstruct(k).Family1 = deblank(varlist{Idx(k),2});
+        Quadstruct(k).DevList1    = varlist{Idx(k),3};
+        Quadstruct(k).Family2 = deblank(varlist{Idx(k),4});
+        Quadstruct(k).DevList2    = varlist{Idx(k),5};
+end
+ 
+%function contructOutput(1)
Index: /trunk/machine/SOLEIL/StorageRing/bpm/bpm2sext.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/bpm2sext.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/bpm2sext.m	(revision 17)
@@ -0,0 +1,67 @@
+function [SEXTFamilyOutput, SEXTDevOutput, DeltaSpos] = bpm2sext(BPMFamily, BPMDev)
+%BPM2SEXT - Returns the nearest sextupole to the specified BPM
+%  [SEXTFamily, SEXTDeviceList, DeltaSpos] = bpm2sext(BPMFamily, BPMDeviceList)
+%
+%  INPUTS
+%  1. BPMFamily - BPM family (1 family only (row string))
+%  2. BPMDeviceList - BPM device list
+%
+%  OUTPUTS
+%  1. SEXTFamily
+%  2. SEXTDeviceList
+%  3. DeltaSpos - Distance from the BPM to the Quad  
+%
+%  Written by Greg Portmann
+
+
+if nargin < 1
+    BPMFamily = [];
+end
+if isempty(BPMFamily)
+    BPMFamily = gethbpmfamily;
+end
+if nargin < 2
+    BPMDev = [];
+end
+if isempty(BPMFamily)
+    BPMDev = [1 1];  %family2dev(BPMFamily);
+end
+
+
+% Get all the sext families
+SEXTFamilyList = getfamilylist;
+[tmp, i] = ismemberof(SEXTFamilyList, 'SEXT');
+if ~isempty(i)
+    SEXTFamilyList = SEXTFamilyList(i,:);
+else
+    SEXTFamilyList = ['SF','SD'];
+end
+
+
+% Find the Quad next to the BPM
+SEXTFamilyOutput = [];
+for k = 1:size(BPMDev,1)
+    BPMspos  = getspos(BPMFamily, BPMDev(k,:));
+    
+    Del = inf;
+    for j = 1:size(SEXTFamilyList,1)
+        Family = deblank(SEXTFamilyList(j,:));
+        SEXTDevList = getlist(Family);
+        SEXTspos  = getspos(Family);
+        
+        i = find(abs(SEXTspos-BPMspos)==min(abs(SEXTspos-BPMspos)));
+        SEXTDev{j} = SEXTDevList(i,:);
+        
+        if abs(SEXTspos(i)-BPMspos) < Del
+            SEXTFamilyMin = Family;
+            SEXTDevMin = SEXTDev{j};        
+            Del = abs(SEXTspos(i)-BPMspos);
+            DelwithSign = SEXTspos(i)-BPMspos;
+        end
+    end
+    
+    SEXTFamilyOutput = strvcat(SEXTFamilyOutput, SEXTFamilyMin);
+    SEXTDevOutput(k,:) = SEXTDevMin;        
+    DeltaSpos(k,1) = DelwithSign;
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/bump_premier_tour.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/bump_premier_tour.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/bump_premier_tour.m	(revision 17)
@@ -0,0 +1,24 @@
+% NE PAS OUBLIER : switch2sim
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% mode vertical  BUMP FERME  en cellule 3  (20 mai 2006)
+ORB = setorbitbump('BPMz',[ 3 6;3 7],[-0.3  -0.3],'VCOR',[  -2 -1 1 2 ],'Absolute')
+ORB.CM.Delta
+ORB.CM.DeviceList
+stepsp('VCOR',ORB.CM.Delta,ORB.CM.DeviceList,'Online')
+
+%% UNDO sur les correcteurs concernÃ©s par le bump
+% stepsp('VCOR',-ORB.CM.Delta,ORB.CM.DeviceList,'Online')
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% BUMP OUVERT (Pascale)
+% %       coeff = 1 ; 10A sur VCOR [2 6]  
+% %                    4 A         [2 7]
+% %                    -8A         [3 2]
+% %    =>   -7 mm en BPM [3 6]
+% %         -13 mm en BPM [3 7]
+% coeff = 0.3
+% val = coeff * [10  4  -8];
+% DeviceList = [2 6 ; 2 7 ; 3 2]
+% stepsp('VCOR', val , DeviceList ,'Online')
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/convertBPMData2CERNformat.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/convertBPMData2CERNformat.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/convertBPMData2CERNformat.m	(revision 17)
@@ -0,0 +1,142 @@
+function convertBPMData2CERNformat(CERNFileName,varargin)
+%convertBPMData2CERNformat - Convert X and Z BPM data to ASCII file :
+%  0 for H plan, 1 for V plane
+%  BPM number or Device list
+%  Data
+%
+%  INPUTS
+%  1. CERNFileName - output filename
+%  2. BPMStructureName - BPM data structure
+%
+%  OPTIONAL
+%  1. 'File' - Select file with gui
+%  2. 'File' followed by fileNale - Open directly the data file
+%
+%  EXAMPLES
+%  1. convertBPMData2CERNformat('data4cernbis.txt', 'File', 'BPMTurnByTurn_2009-03-16_2kV_horizontal_ 4kV_vertical.mat')
+
+% CERN experiment  the 29th and 30rd of March 2009
+% Written by M.A. Tordeux
+% Modified by Laurent S. Nadolski
+
+DeviceFlag  = 0;
+DisplayFlag = 0;
+FileName = '';
+FileFlag    = 0;
+RawDataFlag = 1;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'RawData')
+        RawDataFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'RealData')
+        RawDataFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'File')
+        FileFlag = 1;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                [a a ext] = fileparts(FileName);
+                if isempty(ext)
+                    FileName = [FileName, '.mat'];
+                end
+                varargin(i+1) = [];
+            end
+        end
+        varargin(i) = [];
+    end
+end
+
+% Reads data structure if given as an input parameter
+if length(varargin) > 1
+    BPMStructureName = varargin{2};
+    FileFlag = 0;
+end
+
+% If filename
+if FileFlag
+    if ~isempty(FileName) && exist(FileName, 'file')
+        a = load(FileName);
+        %BPMStructureName = getfield(a, 'AM');
+        BPMStructureName = getfield(a, 'RawData');
+    else
+        DirectoryName = getfamilydata('Directory','BPMData');
+        pwd_old = pwd;
+        cd(DirectoryName);
+        [Filename PathName] = uigetfile('BPMTurnByTurn*');
+        cd(pwd_old);
+        if  isequal(FileName,0)
+            disp('User pressed cancel')
+            exit(0);
+        else
+            a = load(fullfile(PathName, Filename));
+            %AM = getfield(a, 'AM');
+            AM = getfield(a, 'RawData');
+        end
+    end%
+end
+
+% Check if output file alread exists
+if exist(CERNFileName, 'file')
+    text = sprintf('Filename %s already exists. Continue (y/N) ? \n', CERNFileName);
+    reply = input(text, 's');
+    if isempty(reply) || ~strcmpi(reply, 'Y')
+       fprintf('Action aborted\n')
+        return;
+    end
+end
+
+fid = fopen(CERNFileName, 'wt');
+BPMStructureName.Data;
+BPMStructureName.DeviceList;
+if RawDataFlag
+    DataLength = size(BPMStructureName.Data.X, 2);
+else
+    DataLength = size(BPMStructureName.Data.Xreal, 2);
+end
+%DataLength = 2000;
+BPMListLength = size(BPMStructureName.DeviceList,1); % nombre de lignes (au cas oÃ¹ un seul BPM)
+
+fprintf(fid, '#Synchrotron SOLEIL: %s \n', datestr(clock));  % plan H
+F1 = repmat('% 6.4e ',1, DataLength); % format avec repere des BPM par le numÃ©ro du BPM
+F0 = '%3d ';
+strElemList = [F0 ' bpm%03d %6.3f ' F1 '\n'];
+strDeviceList = [ F0 F0 F0 F1 '\n'];
+
+if DeviceFlag
+    %% format avec repere des BPM par la DeviceList
+    for ibpm = 1:BPMListLength,
+        if RawDataFlag
+            fprintf(fid, strDeviceList, 0, BPMStructureName.DeviceList(ibpm,1), BPMStructureName.DeviceList(ibpm,2),BPMStructureName.Data.X(ibpm,1:DataLength));  % plan H
+            fprintf(fid, strDeviceList, 1, BPMStructureName.DeviceList(ibpm,1), BPMStructureName.DeviceList(ibpm,2),BPMStructureName.Data.Z(ibpm,1:DataLength));  % plan V
+        else
+            fprintf(fid, strDeviceList, 0, BPMStructureName.DeviceList(ibpm,1), BPMStructureName.DeviceList(ibpm,2),BPMStructureName.Data.Xreal(ibpm,1:DataLength));  % plan H
+            fprintf(fid, strDeviceList, 1, BPMStructureName.DeviceList(ibpm,1), BPMStructureName.DeviceList(ibpm,2),BPMStructureName.Data.Zreal(ibpm,1:DataLength));  % plan V
+        end
+    end
+else
+
+    %% format avec repere des BPM par le numÃ©ro du BPM
+    ElementList =  dev2elem('BPMx', BPMStructureName.DeviceList);
+    spos = getspos('BPMx', BPMStructureName.DeviceList);
+    for ibpm = 1:BPMListLength
+        if RawDataFlag
+            fprintf(fid, strElemList, 0, ElementList(ibpm), spos(ibpm), BPMStructureName.Data.X(ibpm, 1:DataLength));  % plan H
+            fprintf(fid, strElemList, 1, ElementList(ibpm), spos(ibpm), BPMStructureName.Data.Z(ibpm, 1:DataLength));  % plan V
+        else
+            fprintf(fid, strElemList, 0, ElementList(ibpm), spos(ibpm), BPMStructureName.Data.Xreal(ibpm, 1:DataLength));  % plan H
+            fprintf(fid, strElemList, 1, ElementList(ibpm), spos(ibpm), BPMStructureName.Data.Zreal(ibpm, 1:DataLength));  % plan V
+        end
+    end
+end
+
+fclose(fid)
+disp('end')
Index: /trunk/machine/SOLEIL/StorageRing/bpm/copybpmresp4FOFBfile.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/copybpmresp4FOFBfile.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/copybpmresp4FOFBfile.m	(revision 17)
@@ -0,0 +1,83 @@
+function copybpmresp4FOFBfile(DataFileName, ToFileName)
+%COPYBPMRESPFILE - Copies a BPM response matrix file to the golden file 
+%  copybpmrespfile(DataFileName, ToFileName)
+%
+%  INPUTS
+%  1. DataFileName
+%  2. toFileName - Default: Golden Filename 
+%
+%  See Also copychrorespfile, copybpmsigmafile, copydispersionfile,
+%  copydisprespfile, copymachineconfigfile, copytunerespfile
+
+%
+%  Written by Gregory J. Portmann
+
+if nargin < 1
+    DataFileName = '';
+end
+
+if nargin < 2
+    ToFileName = 'Golden';
+end
+
+
+% Get the file
+if isempty(DataFileName)
+    DataDirectoryName = getfamilydata('Directory','BPMResponse');
+    if isempty(DataDirectoryName)
+        DataDirectoryName = getfamilydata('Directory','DataRoot');
+    end
+    [DataFileName, DataDirectoryName, FilterIndex] = uigetfile('*.mat','Select the BPM Response Matrix File to Copy', DataDirectoryName);
+    if FilterIndex == 0 
+        fprintf('   File not copied (copybpmrespfile)\n');
+        return;
+    end
+else
+    [DataDirectoryName, DataFileName, ExtName] = fileparts(DataFileName);
+    DataDirectoryName = [DataDirectoryName, filesep];
+    DataFileName = [DataFileName, ExtName];
+end
+
+
+% Where is it going
+if strcmpi(ToFileName, 'Golden')
+    FileName = [getfamilydata('OpsData','BPMResp4FOFBFile'),'.mat'];
+    DirectoryName = getfamilydata('Directory','OpsData');
+    
+    if exist([DirectoryName FileName],'file')
+        AnswerString = questdlg(strvcat(strvcat(strvcat('Are you sure you want to overwrite the default BPM response matrix file?',sprintf('%s',[DirectoryName FileName])),'With file:'),[DataDirectoryName, DataFileName]),'Default BPM Response','Yes','No','No');
+    else
+        AnswerString = 'Yes';
+    end
+
+    if strcmp(AnswerString,'Yes')
+        DirStart = pwd;
+        [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+        cd(DirStart);
+    else
+        fprintf('   File not copied (copybpmrespfile)\n');
+        return;
+    end
+end
+
+
+% Backup first
+BackupDirectoryName = [getfamilydata('Directory','DataRoot') 'Backup' filesep];
+BackupDataFileName  = prependtimestamp(FileName);
+if exist([DirectoryName, FileName],'file')
+    DirStart = pwd;
+    [FinalDir, ErrorFlag] = gotodirectory(BackupDirectoryName);
+    if ~ErrorFlag
+        copyfile([DirectoryName, FileName], [BackupDirectoryName, BackupDataFileName], 'f');
+        fprintf('   File %s backup to %s\n', [DirectoryName, FileName], [BackupDirectoryName, BackupDataFileName]);
+    else
+        fprintf('   Problem finding/creating backup directory, hence backup made to ops directory.\n');
+        copyfile([DirectoryName, FileName], [DirectoryName, BackupDataFileName], 'f');
+    end
+    cd(DirStart);
+end
+
+
+% Do the copy
+copyfile([DataDirectoryName, DataFileName], [DirectoryName, FileName], 'f');
+fprintf('   File %s copied to %s\n', [DataDirectoryName, DataFileName], [DirectoryName, FileName]);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/disablebpm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/disablebpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/disablebpm.m	(revision 17)
@@ -0,0 +1,22 @@
+function disablebpm
+% disablebpm - disable in Tango group BPM with status 0
+%
+
+
+% Laurent S. Nadolski
+
+%%
+familyName = 'BPMx';
+
+GroupId = getfamilydata(familyName, 'GroupId');
+% Full list
+DeviceListFull = family2dev(familyName,0);
+% List with Status 1
+DeviceList = family2dev(familyName);
+% % Find device list with Status 0
+% [iFound, iNotFound] = findrowindex(DeviceListFull, DeviceList);
+%tango_group_disable_device2(GroupID, family2tangodev('BPMx', DeviceListFull(iNotFound,:))',0)
+tango_group_disable_device2(GroupId, dev2tangodev(familyName, DeviceListFull));
+tango_group_enable_device2(GroupId, dev2tangodev(familyName, DeviceList));
+
+size(gethbpmgroup)
Index: /trunk/machine/SOLEIL/StorageRing/bpm/firstturnscorrection.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/firstturnscorrection.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/firstturnscorrection.m	(revision 17)
@@ -0,0 +1,597 @@
+function firstturnscorrection(Xcod,varargin)
+% FIRSTTURNSCORRECTION
+%
+%  INPUTS
+%  1. Xcod - Orbit reading (H or V)
+%  Optionnal
+%  2. Fact - Fractional of correction to apply
+%  Flags
+%  'Display' {Default} 'NoDisplay' - Do not show menu
+%  'Horizontal' {Default} : Horizontal correction
+%  'Vertical' {Default} : Horizontal correction
+%
+
+%
+%% Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+PlaneFlag = 1; % 1 - Horizontal
+% 0 - Vertical
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'Horizontal')
+        PlaneFlag = 1;
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'Vertical')
+        PlaneFlag = 0;
+        varargin(i)   = [];
+    end
+end
+
+if isempty(varargin)
+    Fact = 1; % Percentage of correction to apply
+else
+    Fact = varargin{1};
+end
+
+% Backup measure COD orbit
+XcodOld = Xcod;
+
+
+% BPM Families
+BPMxFamily = 'BPMx';
+BPMyFamily = 'BPMz';
+
+% Corrector Families
+HCMFamily  = 'HCOR';
+VCMFamily  = 'VCOR';
+
+% Get list of BPMs et corrector magnets
+[HCMlist VCMlist BPMlist] = getlocallist;
+
+% SVD orbit correction singular values
+%Xivec = [1:56];
+Xivec = [1:4];
+Yivec = [1:10];
+
+% initialize RFCorrFlag
+RFCorrFlag = 'No';
+
+% Goal orbit
+Xgoal = getgolden(BPMxFamily, BPMlist, 'numeric');
+Ygoal = getgolden(BPMyFamily, BPMlist, 'numeric');
+
+% get Sensitivity matrices
+Sx = getrespmat(BPMxFamily, BPMlist, HCMFamily, HCMlist);
+Sy = getrespmat(BPMyFamily, BPMlist, VCMFamily, VCMlist);
+
+% Compute SVD
+[Ux, SVx, Vx] = svd(Sx);
+[Uy, SVy, Vy] = svd(Sy);
+
+% Remove singular values greater than the actual number of singular values
+i = find(Xivec>length(diag(SVx)));
+if ~isempty(i)
+    disp('   Horizontal singular value vector scaled since there were more elements in the vector than singular values.');
+    pause(0);
+    Xivec(i) = [];
+end
+i = find(Yivec>length(diag(SVy)));
+if ~isempty(i)
+    disp('   Vertical singular value vector scaled since there were more elements in the vector than singular values.');
+    pause(0);
+    Yivec(i) = [];
+end
+
+if DisplayFlag
+    % Display singular value plot
+    %figure(h_fig1);
+    h_fig1 = figure;
+    subplot(2,1,1);
+    semilogy(diag(SVx),'b');
+    hold on;
+    semilogy(diag(SVx(Xivec,Xivec)),'xr');
+    ylabel('Horizontal');
+    title('Response Matrix Singular Values');
+    hold off;
+    subplot(2,1,2);
+    semilogy(diag(SVy),'b');
+    hold on;
+    semilogy(diag(SVy(Yivec,Yivec)),'xr');
+    xlabel('Singular Value Number');
+    ylabel('Vertical');
+    hold off;
+    drawnow;
+
+    EditFlag = -1;
+
+    while EditFlag ~= 6
+        % Build up menu edition
+        EditFlag = menu('Change Parameters?','Singular Values','HCM List','VCM List', ...
+            'BPM List','Change the Goal Orbit', 'Continue');
+
+        % Begin SOFB edition switchyard
+        switch EditFlag
+            case 1
+                prompt = {'Enter the horizontal singular value number (Matlab vector format):', ...
+                    'Enter the vertical singular value numbers (Matlab vector format):'};
+                def = {sprintf('[%d:%d]',1,Xivec(end)),sprintf('[%d:%d]',1,Yivec(end))};
+                titlestr='SVD Orbit Feedback';
+                lineNo=1;
+                answer=inputdlg(prompt,titlestr,lineNo,def);
+                if ~isempty(answer)
+                    XivecNew = fix(str2num(answer{1}));
+                    if isempty(XivecNew)
+                        disp('   Horizontal singular value vector cannot be empty.  No change made.');
+                    else
+                        if any(XivecNew<=0) | max(XivecNew)>length(diag(SVx))
+                            disp('   Error reading horizontal singular value vector.  No change made.');
+                        else
+                            Xivec = XivecNew;
+                        end
+                    end
+                    YivecNew = fix(str2num(answer{2}));
+                    if isempty(YivecNew)
+                        disp('   Vertical singular value vector cannot be empty.  No change made.');
+                    else
+                        if any(YivecNew<=0) | max(YivecNew)>length(diag(SVy))
+                            disp('   Error reading vertical singular value vector.  No change made.');
+                        else
+                            Yivec = YivecNew;
+                        end
+                    end
+                end
+
+
+            case 2 % Horizontal corrector list edition
+                List= getlist(HCMFamily);
+                CheckList = zeros(96,1);
+                Elem = dev2elem(HCMFamily, HCMlist);
+                CheckList(Elem) = ones(size(Elem));
+                CheckList = CheckList(dev2elem(HCMFamily,List));
+
+                newList = editlist(List, HCMFamily, CheckList);
+
+                if isempty(newList)
+                    fprintf('   Horizontal corrector magnet list cannot be empty.  No change made.\n');
+                else
+                    HCMlist = newList;
+                end
+
+
+            case 3 % Vertical corrector list edition
+                List = getlist(VCMFamily);
+                CheckList = zeros(96,1);
+                Elem = dev2elem(VCMFamily, VCMlist);
+                CheckList(Elem) = ones(size(Elem));
+                CheckList = CheckList(dev2elem(VCMFamily,List));
+
+                newList = editlist(List, VCMFamily, CheckList);
+
+                if isempty(newList)
+                    fprintf('   Vertical corrector magnet cannot be empty.  No change made.\n');
+                else
+                    VCMlist = newList;
+                end
+
+
+            case 4 % BPM List edition
+                % Back present BPM list and goal orbit
+                ListOld = BPMlist;
+                XgoalOld = Xgoal;
+                YgoalOld = Ygoal;
+
+                List = family2dev(BPMxFamily);
+
+                %Check BPM already in the list CheckList(i) = 1
+                %      BPM not in the list CheckList(i) = 0
+                CheckList = zeros(size(List,1),1);
+                if ~isempty(BPMlist)
+                    for i = 1:size(List,1)
+                        k = find(List(i,1)==BPMlist(:,1));
+                        l = find(List(i,2)==BPMlist(k,2));
+
+                        if isempty(k) | isempty(l)
+                            % Item not in list
+                        else
+                            CheckList(i) = 1;
+                        end
+                    end
+                end
+
+                % User edition of the BPM list
+                newList = editlist(List, 'BPM', CheckList);
+                if isempty(newList)
+                    fprintf('   BPM list cannot be empty.  No change made.\n');
+                else
+                    BPMlist = newList;
+                end
+
+                % Set the goal orbit to the golden orbit
+                Xgoal = getgolden(BPMxFamily, BPMlist);
+                Ygoal = getgolden(BPMyFamily, BPMlist);
+
+                [a idx]=intersect(family2dev('BPMx'),BPMlist,'rows');
+                Xcod = XcodOld(idx); 
+                %if a new BPM is added, then set the goal orbit to
+                %the golden orbit.
+                % Otherwise keep the present goal orbit
+                for i = 1:size(BPMlist,1)
+
+                    % Is it a new BPM?
+                    k = find(BPMlist(i,1)==ListOld(:,1));
+                    l = find(BPMlist(i,2)==ListOld(k,2));
+
+                    if isempty(k) | isempty(l)
+                        % New BPM
+                    else
+                        % Use the old value for old BPM
+                        Xgoal(i) = XgoalOld(k(l));
+                        Ygoal(i) = YgoalOld(k(l));
+                    end
+                end
+
+            case 5 % Goal orbit edition
+                ChangeList = editlist(BPMlist, 'Change BPM', zeros(size(BPMlist,1),1));
+
+                for i = 1:size(ChangeList,1)
+
+                    k = find(ChangeList(i,1)==BPMlist(:,1));
+                    l = find(ChangeList(i,2)==BPMlist(k,2));
+
+                    prompt={sprintf('Enter the new horizontal goal orbit for BPMx(%d,%d):', ...
+                        BPMlist(k(l),1),BPMlist(k(l),2)), ...
+                        sprintf('Enter the new vertical goal orbit for BPMz(%d,%d):', ...
+                        BPMlist(k(l),1),BPMlist(k(l),2))};
+                    def={sprintf('%f',Xgoal(k(l))),sprintf('%f',Ygoal(k(l)))};
+                    titlestr='CHANGE THE GOAL ORBIT';
+                    lineNo=1;
+                    answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                    if isempty(answer)
+                        % No change
+                        fprintf('   No change was made to the golden orbit.\n');
+                    else
+                        Xgoalnew = str2num(answer{1});
+                        if isempty(Xgoalnew)
+                            fprintf('   No change was made to the horizontal golden orbit.\n');
+                        else
+                            Xgoal(k(l)) = Xgoalnew;
+                        end
+
+                        Ygoalnew = str2num(answer{2});
+                        if isempty(Ygoalnew)
+                            fprintf('   No change was made to the vertical golden orbit.\n');
+                        else
+                            Ygoal(k(l)) = Ygoalnew;
+                        end
+                    end
+                end
+                if ~isempty(ChangeList)
+                    fprintf('   Note:  Changing the goal orbit for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                    fprintf('          Re-running srcontrol will restart the goal orbit to the golden orbit."\n');
+                end
+        end
+    end
+end
+
+%% recompute matrices with final BPM and CM lists
+% get Sensitivity matrices
+Sx = getrespmat(BPMxFamily, BPMlist, HCMFamily, HCMlist);
+Sy = getrespmat(BPMyFamily, BPMlist, VCMFamily, VCMlist);
+
+% Compute SVD
+[Ux, SVx, Vx] = svd(Sx);
+[Uy, SVy, Vy] = svd(Sy);
+
+% Remove singular values greater than the actual number of singular values
+i = find(Xivec>length(diag(SVx)));
+if ~isempty(i)
+    disp('   Horizontal singular value vector scaled since there were more elements in the vector than singular values.');
+    pause(0);
+    Xivec(i) = [];
+end
+i = find(Yivec>length(diag(SVy)));
+if ~isempty(i)
+    disp('   Vertical singular value vector scaled since there were more elements in the vector than singular values.');
+    pause(0);
+    Yivec(i) = [];
+end
+
+if PlaneFlag  % Horizontal plane
+    Smat = Sx;
+    V  = Vx;
+    SVDIndex = Xivec;
+    GoalOrbitVec = Xgoal*0;
+    CMFamily  = HCMFamily;
+    BPMFamily = BPMxFamily;
+    CMlist = HCMlist;
+else % Vertical plane
+    Smat = Sy;
+    V  = Vy;
+    SVDIndex = Yivec;
+    GoalOrbitVec = Ygoal*0;
+    CMFamily  = VCMFamily;
+    BPMFamily = BPMyFamily;
+    CMlist = VCMlist;
+end
+
+Orbit0Vec = Xcod(:);
+BPMWeight = ones(size(BPMlist,1),1);
+
+Smod = Smat * V(:, SVDIndex);  %  Note: SmatMod = U(:,Ivec) * S(Ivec,Ivec) = Smat * V(:,Ivec)
+% T = inv(Smod'*Smod)*Smod';
+% B = T * (BPMWeight .* (GoalOrbitVec - Orbit0Vec));
+B     = Smod\(BPMWeight.*(GoalOrbitVec - Orbit0Vec));
+Delcm = -V(:,SVDIndex)*B;
+
+figure
+subplot(2,1,1)
+bar(Delcm*Fact);
+ylabel('Current Increment (A)')
+subplot(2,1,2)
+bar(Delcm*Fact+getam(CMFamily,CMlist));
+suptitle(CMFamily)
+ylabel('Total Current aftercorrection (A)')
+xlabel('Corrector Number')
+
+tmp = questdlg('Apply orbit correction?','SETORBIT','Yes','No','No');
+if strcmpi(tmp,'No')
+    fprintf('   Orbit not corrected\n');
+else
+    stepsp(CMFamily,Fact*Delcm, CMlist)
+end
+
+
+
+function [HCMlist, VCMlist, BPMlist] = getlocallist
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Edit the following lists to change default configuration of Orbit Correction %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+HCMlist = [
+    1     1
+    1     4
+    1     7
+    2     1
+    2     4
+    2     5
+    2     8
+    3     1
+    3     4
+    3     5
+    3     8
+    4     1
+    4     4
+    4     7
+    5     1
+    5     4
+    5     7
+    6     1
+    6     4
+    6     5
+    6     8
+    7     1
+    7     4
+    7     5
+    7     8
+    8     1
+    8     4
+    8     7
+    9     1
+    9     4
+    9     7
+    10     1
+    10     4
+    10     5
+    10     8
+    11     1
+    11     4
+    11     5
+    11     8
+    12     1
+    12     4
+    12     7
+    13     1
+    13     4
+    13     7
+    14     1
+    14     4
+    14     5
+    14     8
+    15     1
+    15     4
+    15     5
+    15     8
+    16     1
+    16     4
+    16     7];
+
+VCMlist = [
+    1     2
+    1     4
+    1     6
+    2     2
+    2     3
+    2     6
+    2     7
+    3     2
+    3     3
+    3     6
+    3     7
+    4     2
+    4     4
+    4     6
+    5     2
+    5     4
+    5     6
+    6     2
+    6     3
+    6     6
+    6     7
+    7     2
+    7     3
+    7     6
+    7     7
+    8     2
+    8     4
+    8     6
+    9     2
+    9     4
+    9     6
+    10     2
+    10     3
+    10     6
+    10     7
+    11     2
+    11     3
+    11     6
+    11     7
+    12     2
+    12     4
+    12     6
+    13     2
+    13     4
+    13     6
+    14     2
+    14     3
+    14     6
+    14     7
+    15     2
+    15     3
+    15     6
+    15     7
+    16     2
+    16     4
+    16     6
+    ];
+BPMlist = [
+    1     2
+    1     3
+    1     4
+    1     5
+    1     6
+    1     7
+    2     1
+    2     2
+    2     3
+    2     4
+    2     5
+    2     6
+    2     7
+    2     8
+    3     1
+    3     2
+    3     3
+    3     4
+    3     5
+    3     6
+    3     7
+    3     8
+    4     1
+    4     2
+    4     3
+    4     4
+    4     5
+    4     6
+    4     7
+    5     1
+    5     2
+    5     3
+    5     4
+    5     5
+    5     6
+    5     7
+    6     1
+    6     2
+    6     3
+    6     4
+    6     5
+    6     6
+    6     7
+    6     8
+    7     1
+    7     2
+    7     3
+    7     4
+    7     5
+    7     6
+    7     7
+    7     8
+    8     1
+    8     2
+    8     3
+    8     4
+    8     5
+    8     6
+    8     7
+    9     1
+    9     2
+    9     3
+    9     4
+    9     5
+    9     6
+    9     7
+    10     1
+    10     2
+    10     3
+    10     4
+    10     5
+    10     6
+    10     7
+    10     8
+    11     1
+    11     2
+    11     3
+    11     4
+    11     5
+    11     6
+    11     7
+    11     8
+    12     1
+    12     2
+    12     3
+    12     4
+    12     5
+    12     6
+    12     7
+    13     1
+    13     2
+    13     3
+    13     4
+    13     5
+    13     6
+    13     7
+    14     1
+    14     2
+    14     3
+    14     4
+    14     5
+    14     6
+    14     7
+    14     8
+    15     1
+    15     2
+    15     3
+    15     4
+    15     5
+    15     6
+    15     7
+    15     8
+    16     1
+    16     2
+    16     3
+    16     4
+    16     5
+    16     6
+    16     7
+    1     1
+    ];
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/fourturnalgorithm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/fourturnalgorithm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/fourturnalgorithm.m	(revision 17)
@@ -0,0 +1,126 @@
+function [nux nuz Xcod Zcod] = fourturnalgorithm(varargin)
+%FOURTURNALGORITHM - Compute tunes and closed orbit knowing 4 subsequent turn  by turn data
+%
+%  INPUTS
+%  Optional - 'Model', 'Online'
+%           - 'Display', 'NoDisplay'
+%
+%  OUTPUTS
+%  1. nux  - horizontal tune
+%  2. nux  - vertical tune
+%  3. Xcod - horizontal closed orbit
+%  4. Zcod - horizontal closed orbit
+
+%  ALGORITHM
+%  EPAC94, Koscielniak, pp 929-931
+
+%
+%  Written by Laurent S. Nadolski
+
+% Get turn by turn data
+
+OnlineFlag  = 1;
+ArchiveFlag = 0;
+FileFlag    = 0;
+DisplayFlag = 1;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Model')
+        OnlineFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Online')
+        OnlineFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'File')
+        FileFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin2 = [varargin2 varargin{i}];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin2 = [varargin2 varargin{i}];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin2 = [varargin2 varargin{i}];
+        varargin(i) = [];
+    end
+end
+
+BPMindex = family2atindex('BPMx');
+spos = getspos('BPMx');
+
+if ~OnlineFlag  % Model
+    global THERING
+
+    X00 = [1e-3 0 1e-3 0 0 0]';
+    X01 = linepass(THERING, X00(:,end), 1:length(THERING)+1);
+    X02 = linepass(THERING, X01(:,end), 1:length(THERING)+1);
+    X03 = linepass(THERING, X02(:,end), 1:length(THERING)+1);
+    X04 = linepass(THERING, X03(:,end), 1:length(THERING)+1);
+
+    [X1 X2 X3 X4 ] = deal(X01(1,BPMindex)*1e3, X02(1,BPMindex)*1e3, X03(1,BPMindex)*1e3, X04(1,BPMindex)*1e3);
+    [Z1 Z2 Z3 Z4 ] = deal(X01(3,BPMindex)*1e3, X02(3,BPMindex)*1e3, X03(3,BPMindex)*1e3, X04(3,BPMindex)*1e3);
+
+else % Online
+    [X Z] = anabpmnfirstturns([],4,10,'NoDisplay','NoMaxSum');
+    [X1 X2 X3 X4] = deal(X(1,:),X(2,:),X(3,:),X(4,:));
+    [Z1 Z2 Z3 Z4] = deal(Z(1,:),Z(2,:),Z(3,:),Z(4,:));
+end
+
+%% Algo 4 turns
+nux = acos((X2-X1+X4-X3)/2./(X3-X2))/2/pi;
+nuz = acos((Z2-Z1+Z4-Z3)/2./(Z3-Z2))/2/pi;
+
+Xcod = (X3.*(X1+X3)-X2.*(X2+X4))./((X1-X4) + 3*(X3-X2));
+Zcod = (Z3.*(Z1+Z3)-Z2.*(Z2+Z4))./((Z1-Z4) + 3*(Z3-Z2));
+
+% %%
+% figure(77)
+% plot(spos,X1,'.r'); hold on;
+% plot(spos,X2,'.b')
+% plot(spos,X3,'.g')
+% plot(spos,X4,'.k')
+% xlabel('s-position [m]');
+% ylabel('4 turns');
+% grid on
+% %%
+if DisplayFlag
+    figure(78)
+    plot(spos,Xcod,'b',spos,Zcod,'r');
+    xlabel('s-position [m]');
+    ylabel('Close orbit [mm]');
+    legend('Xcod','Zcod');
+    grid on
+
+    figure(79)
+    subplot(2,2,[1 2])
+    plot(spos,nux,'b.',spos,nuz,'r.')
+    xlabel('s-position [m]')
+    ylabel('tune fractionnal part')
+    title('4-turn Algorithm')
+    legend(sprintf('nux %f',mean(nux(~isnan(nux)))),sprintf('nuz %f',mean(nuz(~isnan(nuz)))));
+    grid on
+    yaxis([0 0.5])
+
+    subplot(2,2,3)
+    hist(nux(~isnan(nux)))
+    xlabel('Fractional tune nux')
+    grid on
+
+    subplot(2,2,4)
+    hist(nuz(~isnan(nuz)))
+    xlabel('Fractional tune nuz')
+    grid on
+
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/fullorbitcontrol.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/fullorbitcontrol.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/fullorbitcontrol.m	(revision 17)
@@ -0,0 +1,2642 @@
+function fullorbitcontrol(action, Input2, Input3)
+%fullorbitcontrol - GUI for orbit correction and SOFB
+%
+%  INPUTS
+%  None to launch the programme
+%  1. action - Callback to execute
+%  2. Input2 - First argument for callback function
+%  3. Input3  First argument for callback function
+%
+%  OUPUTS
+%  None
+%
+%  NOTES
+%  1. Settings for SOFB and manual orbit correction are often different
+%  2. Manual Correction : 3 iterations are done in a row
+
+%
+%  See Also setorbit
+
+% For Compiler
+%#function solamor2linb
+%#function gethbpmaverage
+%#function getvbpmaverage
+%#function gethbpmgroup
+%#function getvbpmgroup
+
+
+%
+%  Written by Laurent S. Nadolski (inspired by ALS srcontrol programme)
+%  February, 2008.  Try catch mechanism added when TANGO error on masterclock. Try thrice before stopping the SOFB
+%  TODO
+%  Weight edition ?
+%  HWarnNum, VwarnNum
+%  SOFB seems not interruptable ?? matlab SP2 BUG ???
+%  publisher SOFB as a global variable in the function
+
+% Check if the AO exists
+checkforao;
+devSpeakerName = 'ans/ca/texttalker.2';
+devLockName = 'ANS/CA/SERVICE-LOCKER';
+
+% Arguments
+if nargin < 1
+    action = 'Initialize';
+end
+
+if nargin < 2
+    Input2 = 0;
+end
+
+if nargin < 3
+    Input3 = 0;
+end
+
+% Common variables
+SR_GEV = getenergy('Energy');
+
+% BPM Families
+BPMxFamily = gethbpmfamily;
+BPMyFamily = getvbpmfamily;
+
+% Corrector Families
+HCMFamily  = gethcmfamily;
+VCMFamily  = getvcmfamily;
+
+% Minimum stored current to allow correction
+DCCTMIN = 1; % mA
+
+%%%%%%%%%%%%%%%%
+%% Main Program
+%%%%%%%%%%%%%%%%
+
+switch(action)
+
+    case 'StopOrbitFeedback'
+
+        setappdata(findobj(gcbf,'Tag','ORBITCTRLFig1'),'FEEDBACK_STOP_FLAG', 1);
+        set(findobj(gcbf,'Tag','ORBITCTRLStaticTextInformation'),'String','SOFB STOP');
+        pause(0);
+
+    case 'Initialize'
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % GUI  CONSTRUCTION
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        ButtonWidth   = 200;
+        ButtonHeight  = 25;
+
+        Offset1     = 3*(ButtonHeight+3);            % Frame around Text information
+        Offset2     = Offset1 + 2*(ButtonHeight+3);  % Frame around SOFB
+        Offset3     = Offset2 + 11*(ButtonHeight+3); % Manual Orbit
+        FigWidth    = ButtonWidth + 6;               % Figure width
+        FigHeight   = Offset3 + 6.5*(ButtonHeight+3);% Figure heigth
+        ButtonWidth = 200-6;
+
+        % Change figure position
+        set(0,'Units','pixels');
+        p = get(0,'screensize');
+
+        orbfig = findobj(allchild(0),'tag','ORBITCTRLFig1');
+
+        if ~isempty(orbfig)
+            return; % IHM already exists
+        end
+
+        
+        h0 = figure( ...
+            'Color',[0.8 0.8 0.8], ...
+            'HandleVisibility','Off', ...
+            'Interruptible', 'on', ...
+            'MenuBar','none', ...
+            'Name','SOLEIL ORBIT CONTROL', ...
+            'NumberTitle','off', ...
+            'Units','pixels', ...
+            'Position',[30 p(4)-FigHeight-40 FigWidth*2 FigHeight], ...
+            'Resize','off', ...
+            'HitTest','off', ...
+            'IntegerHandle', 'off', ...
+            'Tag','ORBITCTRLFig1');
+
+        % SOFB part
+        % Frame Box I
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset3 ButtonWidth+6 4.5*ButtonHeight+25], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6 3 + 4*(ButtonHeight+3)+Offset3  ButtonWidth .6*ButtonHeight], ...
+            'String','Manual Orbit Correction', ...
+            'Style','text');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3 + 3*(ButtonHeight+3) + Offset3 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxHcorrection');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+2*(ButtonHeight+3)+Offset3 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxVcorrection');
+
+        uicontrol('Parent',h0, ...
+            'Callback','fullorbitcontrol(''OrbitCorrection'');', ...
+            'Interruptible','Off', ...
+            'Enable','On', ...
+            'Position',[6 3+1*(ButtonHeight+3)+Offset3 ButtonWidth ButtonHeight], ...
+            'String','Correct Orbit', ...
+            'Tag','ORBITCTRLButtonOrbitCorrection');
+
+        uicontrol('Parent',h0, ...
+            'CreateFcn','fullorbitcontrol(''OrbitCorrectionSetup'',1);', ...
+            'callback','fullorbitcontrol(''OrbitCorrectionSetup'',0);', ...
+            'Enable','on', ...
+            'Interruptible', 'off', ...
+            'Position',[6 3+Offset3 ButtonWidth 0.8*ButtonHeight], ...
+            'String','Edit BPM, CM Lists', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','ORBITCTRLButtonOrbitCorrectionSetup');
+
+        % Frame Box II
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset2 ButtonWidth+6 11*ButtonHeight+5], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6 3+9*(ButtonHeight+3)+ Offset2 ButtonWidth .55*ButtonHeight], ...
+            'String','Orbit Feedback', ...
+            'Style','text');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3 + 8*(ButtonHeight+3) + Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxHSOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+7*(ButtonHeight+3)+Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxVSOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+6*(ButtonHeight+3)+Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Slow Orbit Correction', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxSOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+5*(ButtonHeight+3)+Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Fast Orbit Correction (Not implemented)', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Tag','ORBITCTRLCheckboxFOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+4*(ButtonHeight+3)+Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Correct RF Frequency', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxRF');
+
+        uicontrol('Parent',h0, ...
+            'callback','fullorbitcontrol(''Feedback'');', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[8 3+3*(ButtonHeight+3)+ Offset2 .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Start FB', ...
+            'Value',0, ...
+            'Tag','ORBITCTRLPushbuttonStart');
+
+        uicontrol('Parent',h0, ...
+            'callback','fullorbitcontrol(''StopOrbitFeedback'');pause(0);', ...
+            'Enable','off', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 3+3*(ButtonHeight+3)+Offset2 .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Stop FB', ...
+            'Value',0, ...
+            'Tag','ORBITCTRLPushbuttonStop');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','left', ...
+            'ListboxTop',0, ...
+            'Position',[14 3 + 2*(ButtonHeight)+Offset2 ButtonWidth-14 .75*ButtonHeight], ...
+            'String','Horizontal RMS = _____ mm', ...
+            'Style','text', ...
+            'Tag','ORBITCTRLStaticTextHorizontal');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','left', ...
+            'ListboxTop',0, ...
+            'Position',[26 3 + 1*(ButtonHeight) + Offset2 ButtonWidth-26 .75*ButtonHeight], ...
+            'String','Vertical RMS = _____ mm', ...
+            'Style','text', ...
+            'Tag','ORBITCTRLStaticTextVertical');
+
+        uicontrol('Parent',h0, ...
+            'CreateFcn','fullorbitcontrol(''FeedbackSetup'',1);', ...
+            'callback','fullorbitcontrol(''FeedbackSetup'',0);', ...
+            'Enable','on', ...
+            'Interruptible', 'off', ...
+            'Position',[8 3 + Offset2 ButtonWidth-5 .75*ButtonHeight], ...
+            'String','Edit SOFB Setup', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','ORBITCTRLButtonFeedbackSetup');
+
+        % Frame Box III
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset1  ButtonWidth+6 ButtonHeight+12], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6 Offset1 + 0.7*ButtonHeight ButtonWidth .7*ButtonHeight], ...
+            'String','Experimental Interface', ...
+            'Style','text', ...
+            'Tag','ORBITCTRLStaticTextHeader');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ForegroundColor','b', ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6 3 + Offset1 + .05*ButtonHeight ButtonWidth .7*ButtonHeight], ...
+            'String','   Startup', ...
+            'Style','text', ...
+            'Tag','ORBITCTRLStaticTextInformation');
+
+        FOFBhoffset = ButtonWidth + 12;
+        Offset1f     = 3*(ButtonHeight+3);            % Frame around Text information
+        Offset2f     = Offset1f + 2*(ButtonHeight+3);  % Frame around FOFB
+        Offset3f     = Offset2f + 11*(ButtonHeight+3); % Manual Orbit
+
+        % FOFB part
+        % Frame Box I
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.5 0.5 1], ...
+            'ListboxTop',0, ...
+            'Position',[3+FOFBhoffset Offset3f ButtonWidth+6 5.5*ButtonHeight+25], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6+FOFBhoffset 3 + 5*(ButtonHeight+3)+Offset3f  ButtonWidth .6*ButtonHeight], ...
+            'String','Manual Orbit Correction', ...
+            'Style','text');
+
+               uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26+FOFBhoffset 3 + 4*(ButtonHeight+3) + Offset3f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBGUICheckboxHcorrection');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26+FOFBhoffset 3+3*(ButtonHeight+3)+Offset3f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBGUICheckboxVcorrection');
+
+        uicontrol('Parent',h0, ...
+            'Callback','FOFBGUI(''OrbitCorrection'');', ...
+            'Interruptible','Off', ...
+            'Enable','On', ...
+            'Position',[6+FOFBhoffset 3+2*(ButtonHeight+3)+Offset3f ButtonWidth ButtonHeight], ...
+            'String','Correct Orbit', ...
+            'Tag','FOFBGUIButtonOrbitCorrection');
+
+        uicontrol('Parent',h0, ...
+            'CreateFcn','FOFBGUI(''OrbitCorrectionSetup'',1);', ...
+            'callback','FOFBGUI(''OrbitCorrectionSetup'',0);', ...
+            'Enable','on', ...
+            'Interruptible', 'off', ...
+            'Position',[6+FOFBhoffset 3+1*(ButtonHeight+3)+Offset3f ButtonWidth 0.8*ButtonHeight], ...
+            'String','Edit BPM, CM Lists', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','FOFBGUIButtonOrbitCorrectionSetup');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBGUI(''ConvertMatrix4FPGA'',0);', ...
+            'Enable','on', ...
+            'Interruptible', 'off', ...
+            'Position',[6+FOFBhoffset 3+Offset3f ButtonWidth 0.8*ButtonHeight], ...
+            'String','Generate new Matrix for FPGA', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','FOFBGUIButtonConvertMatrix4FPGA');
+
+        % Frame Box II
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.5 0.5 1], ...
+            'ListboxTop',0, ...
+            'Position',[3+FOFBhoffset Offset2f ButtonWidth+6 11*ButtonHeight+5], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6+FOFBhoffset 3+9*(ButtonHeight+3)+ Offset2f ButtonWidth .55*ButtonHeight], ...
+            'String','RF & FOFB Orbit Feedback', ...
+            'Style','text');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26+FOFBhoffset 3 + 8*(ButtonHeight+3) + Offset2f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Tag','FOFBGUICheckboxHSOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26+FOFBhoffset 3+7*(ButtonHeight+3)+Offset2f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Tag','FOFBGUICheckboxVSOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26+FOFBhoffset 3+6*(ButtonHeight+3)+Offset2f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Slow Orbit Correction', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Tag','FOFBGUICheckboxSOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26+FOFBhoffset 3+5*(ButtonHeight+3)+Offset2f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Fast Orbit Correction (Not implemented)', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBGUICheckboxFOFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26+FOFBhoffset 3+4*(ButtonHeight+3)+Offset2f ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Correct RF Frequency', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','FOFBGUICheckboxRF');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBGUI(''Feedback'');', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[8+FOFBhoffset 3+3*(ButtonHeight+3)+ Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Start FB', ...
+            'Value',0, ...
+            'Tag','FOFBGUIPushbuttonStart');
+
+        uicontrol('Parent',h0, ...
+            'callback','FOFBGUI(''StopOrbitFeedback'');pause(0);', ...
+            'Enable','off', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3+FOFBhoffset 3+3*(ButtonHeight+3)+Offset2f .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Stop FB', ...
+            'Value',0, ...
+            'Tag','FOFBGUIPushbuttonStop');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','left', ...
+            'ListboxTop',0, ...
+            'Position',[14+FOFBhoffset 3 + 2*(ButtonHeight)+Offset2f ButtonWidth-14 .75*ButtonHeight], ...
+            'String','Horizontal RMS = _____ mm', ...
+            'Style','text', ...
+            'Tag','FOFBGUIStaticTextHorizontal');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','left', ...
+            'ListboxTop',0, ...
+            'Position',[26+FOFBhoffset 3 + 1*(ButtonHeight) + Offset2f ButtonWidth-26 .75*ButtonHeight], ...
+            'String','Vertical RMS = _____ mm', ...
+            'Style','text', ...
+            'Tag','FOFBGUIStaticTextVertical');
+
+        uicontrol('Parent',h0, ...
+            'CreateFcn','FOFBGUI(''FeedbackSetup'',1);', ...
+            'callback','FOFBGUI(''FeedbackSetup'',0);', ...
+            'Enable','on', ...
+            'Interruptible', 'off', ...
+            'Position',[8+FOFBhoffset 3 + Offset2f ButtonWidth-5 .75*ButtonHeight], ...
+            'String','Edit FOFB Setup', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','FOFBGUIButtonFeedbackSetup');
+
+        % Frame Box III
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.5 0.5 1], ...
+            'ListboxTop',0, ...
+            'Position',[3+FOFBhoffset Offset1f  ButtonWidth+6 ButtonHeight+12], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6 Offset1f + 0.7*ButtonHeight ButtonWidth .7*ButtonHeight], ...
+            'String','Experimental Interface', ...
+            'Style','text', ...
+            'Tag','FOFBGUIStaticTextHeader');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ForegroundColor','b', ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6+FOFBhoffset 3 + Offset1f + .05*ButtonHeight ButtonWidth .7*ButtonHeight], ...
+            'String','   Startup', ...
+            'Style','text', ...
+            'Tag','FOFBGUIStaticTextInformation');
+
+        % Frame Box "Close"
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 8 ButtonWidth+6 ButtonHeight+8], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'Callback', 'close(gcbf);', ...
+            'Enable','On', ...
+            'Interruptible','Off', ...
+            'Position',[6 13 ButtonWidth ButtonHeight], ...
+            'String','Close', ...
+            'Tag','ORBITCTRLClose');
+
+        %setup average data for reading BPMs
+        %setfamilydata('gethbpmaverage','BPMx','Monitor', 'SpecialFunctionGet')
+        %setfamilydata('getvbpmaverage','BPMz','Monitor', 'SpecialFunctionGet')
+
+    case 'OrbitCorrectionSetup'
+        % NOTES setting for SOFB and manual orbit correction are often
+        % different
+
+        InitFlag = Input2;  % Input #2: if InitFlag, then initialize variables
+
+        if InitFlag % just at startup
+
+            % Setup orbit correction elements : DEFAULT configuration
+            %disp('Orbit correction condition: InitFlag=1 -- debugging message');
+
+            % Get list of BPMs et corrector magnets
+            [HCMlist VCMlist BPMlist] = getlocallist;
+
+            % SVD orbit correction singular values
+            Xivec = 1:56;
+            Yivec = 1:56;
+
+            % initialize RFCorrFlag
+            %RFCorrFlag = 'No';
+            RFCorrFlag = 'Yes';
+
+            % Goal orbit
+            Xgoal = getgolden(BPMxFamily, BPMlist, 'numeric');
+            Ygoal = getgolden(BPMyFamily, BPMlist, 'numeric');
+
+            % BPM weights
+            Xweight = ones(size(BPMlist,1), 1);
+            Yweight = ones(size(BPMlist,1), 1);
+
+            % Correctors weights
+            HCMweight = ones(size(HCMlist,1), 1);
+            VCMweight = ones(size(VCMlist,1), 1);
+
+        else % For orbit correction Configuration
+            % Get vector for orbit correction
+            FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Userdata');
+            BPMlist = FB.BPMlist;
+            HCMlist = FB.HCMlist;
+            VCMlist = FB.VCMlist;
+            Xivec = FB.Xivec;
+            Yivec = FB.Yivec;
+            Xgoal = FB.Xgoal;
+            Ygoal = FB.Ygoal;
+            RFCorrFlag = FB.RFCorrFlag;
+
+            HCMweight = FB.OCSx.CMWeight;
+            VCMweight = FB.OCSx.CMWeight;
+            Xweight = FB.OCSx.BPMWeight;
+            Yweight = FB.OCSy.BPMWeight;
+
+            % Add button to change #ivectors, CMs, IDBPMs,
+            EditFlag = 0;
+            h_fig1 = figure;
+
+            while EditFlag ~= 10
+
+                % get Sensitivity matrices
+                Sx = getrespmat(BPMxFamily, BPMlist, HCMFamily, HCMlist, [], SR_GEV);
+                Sy = getrespmat(BPMyFamily, BPMlist, VCMFamily, VCMlist, [], SR_GEV);
+
+                % Computes SVD to get singular values
+                [Ux, SVx, Vx] = svd(Sx);
+                [Uy, SVy, Vy] = svd(Sy);
+
+                % Remove singular values greater than the actual number of singular values
+                i = find(Xivec>length(diag(SVx)));
+                if ~isempty(i)
+                    disp('   Horizontal singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Xivec(i) = [];
+                end
+                i = find(Yivec>length(diag(SVy)));
+                if ~isempty(i)
+                    disp('   Vertical singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Yivec(i) = [];
+                end
+
+                % Display singular value plot for both planes
+
+                figure(h_fig1);
+
+                subplot(2,1,1);
+                semilogy(diag(SVx),'b');
+                hold on;
+                semilogy(diag(SVx(Xivec,Xivec)),'xr');
+                ylabel('Horizontal');
+                title('Response Matrix Singular Values');
+                hold off; grid on;
+
+                subplot(2,1,2);
+                semilogy(diag(SVy),'b');
+                hold on;
+                semilogy(diag(SVy(Yivec,Yivec)),'xr');
+                xlabel('Singular Value Number');
+                ylabel('Vertical');
+                hold off; grid on;
+                drawnow;
+
+                % End of display
+
+                if strcmpi(RFCorrFlag,'No')
+                    RFCorrState = 'NOT CORRECTED';
+                elseif strcmp(RFCorrFlag,'Yes')
+                    RFCorrState = 'CORRECTED';
+                else
+                    RFCorrState = '???';
+                end
+
+                EditFlag = menu('Change Parameters?','Singular Values',  ...
+                    'Horizontal corrector magnet list', 'Horizontal corrector magnet weights', ...
+                    'Vertical corrector magnet list', 'Vertical corrector magnet weights',  ...
+                    'BPM list', 'BPM weights', 'Golden Orbit value',...
+                    sprintf('RF Frequency (currently %s)',RFCorrState),'Return');
+
+                % Edition switchyard for orbit correction
+                switch EditFlag
+                    case 1 % Singular value edition
+
+                        % Build up matlab prompt
+                        prompt = {'Enter the horizontal singular value vector (Matlab vector format):', ...
+                            'Enter the vertical singular value vector (Matlab vector format):'};
+                        % default values
+                        def = {sprintf('[%d:%d]',1,Xivec(end)),sprintf('[%d:%d]',1,Yivec(end))};
+                        titlestr = 'SVD Orbit Correction';
+                        lineNo = 1;
+
+                        answer = inputdlg(prompt,titlestr,lineNo,def);
+
+                        % Answer parsing
+                        if ~isempty(answer)
+                            % Horizontal plane
+                            XivecNew = fix(str2num(answer{1}));
+                            if isempty(XivecNew)
+                                disp('   Horizontal singular value number cannot be empty.  No change made.');
+                            else
+                                if any(XivecNew<=0) || max(XivecNew)>length(diag(SVx))
+                                    disp('   Error reading horizontal singular value vector  No change made.');
+                                else
+                                    Xivec = XivecNew;
+                                end
+                            end
+                            % Vertical plane
+                            YivecNew = fix(str2num(answer{2}));
+                            if isempty(YivecNew)
+                                disp('   Vertical singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(YivecNew<=0) || max(YivecNew)>length(diag(SVy))
+                                    disp('   Error reading vertical singular value vector.  No change made.');
+                                else
+                                    Yivec = YivecNew;
+                                end
+                            end
+                        end
+
+                    case 2 % Horizontal corrector list edition
+                        List = getlist(HCMFamily);
+                        ListOld = HCMlist;
+                        CheckList = zeros(size(List,1));
+                        Elem = dev2elem(HCMFamily, HCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(HCMFamily,List));
+                        newList = editlist(List, HCMFamily, CheckList);
+                        
+                        if isempty(newList)
+                            fprintf('   Horizontal corrector magnet list cannot be empty.  No change made.\n');
+                        else
+                            HCMlist = newList;
+                        end
+
+                        %set correctors weight values
+                        HCMweightOld = HCMweight;
+                        HCMweight = ones(size(HCMlist,1), 1);
+                        
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(HCMlist,1)
+
+                            % Is it a new corrector?
+                            k = find(HCMlist(i,1)==ListOld(:,1));
+                            l = find(HCMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                HCMweight(i) = HCMweightOld(k(l));
+                             end
+                        end
+
+                    case 3 % Horizontal corrector weight edition
+
+                        % Ask user to select HCM for modifying weight
+                        ChangeList = editlist(HCMlist, 'Change HCM', ...
+                            zeros(size(HCMlist,1),1));
+
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == HCMlist(:,1));
+                            l = find(ChangeList(i,2) == HCMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for HCM(%d,%d):', ...
+                                HCMlist(k(l),1), HCMlist(k(l),2))};
+                            def = {sprintf('%f',HCMweight(k(l))),sprintf('%f',HCMweight(k(l)))};
+                            titlestr = 'CHANGE THE HCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                HCMweightnew = str2num(answer{1});
+                                if isempty(HCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    HCMweight(k(l)) = HCMweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the HCM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                        end
+
+                    case 4 % Vertical corrector list edition
+                        List = getlist(VCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = VCMlist;
+                        Elem = dev2elem(VCMFamily, VCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(VCMFamily,List));
+                        newList = editlist(List, VCMFamily, CheckList);
+                        if isempty(newList)
+                            fprintf('   Vertical corrector magnet cannot be empty.  No change made.\n');
+                        else
+                            VCMlist = newList;
+                        end
+
+                        %set correctors weight values
+                        VCMweightOld = VCMweight;
+                        VCMweight = ones(size(VCMlist,1), 1);
+                        
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(VCMlist,1)
+
+                            % Is it a new corrector?
+                            k = find(VCMlist(i,1)==ListOld(:,1));
+                            l = find(VCMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                VCMweight(i) = VCMweightOld(k(l));
+                             end
+                        end
+                    case 5 % Vertical corrector weight edition
+                        % Ask user to select VCM for modifying weight
+                        ChangeList = editlist(VCMlist, 'Change VCM', ...
+                            zeros(size(VCMlist,1),1));
+
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == VCMlist(:,1));
+                            l = find(ChangeList(i,2) == VCMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for VCM(%d,%d):', ...
+                                VCMlist(k(l),1), VCMlist(k(l),2))};
+                            def = {sprintf('%f',VCMweight(k(l))),sprintf('%f',VCMweight(k(l)))};
+                            titlestr = 'CHANGE THE VCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                VCMweightnew = str2num(answer{1});
+                                if isempty(VCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    VCMweight(k(l)) = VCMweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the VCM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                        end
+
+                    case 6 % BPM list edition
+                        % Backup element before edition
+                        ListOld = BPMlist;
+                        XgoalOld = Xgoal;
+                        YgoalOld = Ygoal;
+                        XweightOld = Xweight;
+                        YweightOld = Yweight;
+
+                        % Get full BPM list
+                        List = family2dev(BPMxFamily);
+
+                        % Check BPM already in the list CheckList(i) = 1
+                        %       BPM not in the list CheckList(i) = 0
+                        CheckList = zeros(size(List,1),1);
+                        if ~isempty(BPMlist)
+                            for i = 1:size(List,1)
+                                k = find(List(i,1) == BPMlist(:,1));
+                                l = find(List(i,2) == BPMlist(k,2));
+                                if isempty(k) || isempty(l)
+                                    % Item not in list
+                                else
+                                    CheckList(i) = 1;
+                                end
+                            end
+                        end
+
+                        % User edition of the BPM list
+                        newList = editlist(List, 'BPM', CheckList);
+                        if isempty(newList)
+                            fprintf('   BPM list cannot be empty.  No change made.\n');
+                        else
+                            BPMlist = newList;
+                        end
+
+                        % Set the goal orbit to the golden orbit
+                        Xgoal = getgolden(BPMxFamily, BPMlist);
+                        Ygoal = getgolden(BPMyFamily, BPMlist);
+                        Xweight = ones(size(BPMlist,1),1);
+                        Yweight = ones(size(BPMlist,1),1);
+
+                        % If a new BPM is added, then set the goal orbit to the golden orbit
+                        % For other BPMs, present goal orbit is kept
+                        for i = 1:size(BPMlist,1)
+
+                            % Is it a new BPM?
+                            k = find(BPMlist(i,1) == ListOld(:,1));
+                            l = find(BPMlist(i,2) == ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New BPM
+                            else
+                                % Use the old value for old BPM
+                                Xgoal(i) = XgoalOld(k(l));
+                                Ygoal(i) = YgoalOld(k(l));
+                                Xweight(i) = XweightOld(k(l));
+                                Yweight(i) = YweightOld(k(l));
+                            end
+                        end
+
+                    case 7 % BPM weight edition
+                        % Ask user to select BPM for modifying weight
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+
+                        % Ask the new weight for each selected BPM
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new weight for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xweight(k(l))),sprintf('%f',Yweight(k(l)))};
+                            titlestr = 'CHANGE THE BPM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the BPM weight.\n');
+                            else
+                                Xweightnew = str2num(answer{1});
+                                if isempty(Xweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    Xweight(k(l)) = Xweightnew;
+                                end
+
+                                Yweightnew = str2num(answer{2});
+                                if isempty(Yweightnew)
+                                    fprintf('   No change was made to the vertical BPM weight.\n');
+                                else
+                                    Yweight(k(l)) = Yweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the BPM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                        end
+
+
+                    case 8 % Golden orbit manual edition
+
+                        % Ask user to select BPM for modifying golden orbit
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+
+                        % Ask the new golden orbit for each selected BPM
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+
+                            prompt = {sprintf('Enter the new horizontal goal orbit for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new vertical goal orbit for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xgoal(k(l))),sprintf('%f',Ygoal(k(l)))};
+                            titlestr = 'CHANGE THE GOAL ORBIT';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the golden orbit.\n');
+                            else
+                                Xgoalnew = str2num(answer{1});
+                                if isempty(Xgoalnew)
+                                    fprintf('   No change was made to the horizontal golden orbit.\n');
+                                else
+                                    Xgoal(k(l)) = Xgoalnew;
+                                end
+
+                                Ygoalnew = str2num(answer{2});
+                                if isempty(Ygoalnew)
+                                    fprintf('   No change was made to the vertical golden orbit.\n');
+                                else
+                                    Ygoal(k(l)) = Ygoalnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the goal orbit for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                            fprintf('          Re-running soleilinit will restart the goal orbit to the golden orbit."\n');
+                        end
+
+                    case 9 % RF flag edition
+                        RFCorrFlag = questdlg(sprintf('Set RF Frequency during Orbit Correction?'),'RF Frequency','Yes','No', 'No');
+                        if strcmp(RFCorrFlag,'No')
+                            disp('   RF Frequency will not be included in global orbit correction.');
+                        elseif strcmp(RFCorrFlag,'Yes')
+                            disp('   RF Frequency will be included in global orbit correction.');
+                        end
+                        FB.RFCorrFlag = RFCorrFlag;
+                end
+            end
+            close(h_fig1);
+        end
+        % END of switchyard for orbit correction edition
+
+        % This part is common for case 'orbit correction edition'
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % Build up Orbit correction Structures   %
+        %  for setorbit programme : OCSx and OCSy%
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %  ORBIT CORRECTION STRUCTURE (OCS)
+        %    OCS.BPM (data structure)
+        %    OCS.CM  (data structure)
+        %    OCS.GoalOrbit
+        %    OCS.NIter
+        %    OCS.SVDIndex
+        %    OCS.IncrementalFlag = 'Yes'/'No'
+        %    OCS.BPMWeight
+        %    OCS.Flags = { 'FitRF' , etc.  }
+
+        % Horizontal plane
+        OCSx.BPM = getx(BPMlist, 'struct');
+        OCSx.GoalOrbit = Xgoal;
+        OCSx.CM  = getsp(HCMFamily, HCMlist, 'struct','Model');
+        OCSx.NIter = 1; % Number of iteration
+        OCSx.SVDIndex = Xivec; % number of eigenvectors for correction
+        OCSx.IncrementalFlag = 'No';
+        if strcmp(RFCorrFlag,'Yes')
+            OCSx.FitRF = 1; % take RF as a corrector
+        else
+            OCSx.FitRF = 0;
+        end
+
+        %Default weight for correctores and BPMs
+        OCSx.CMWeight  = HCMweight;
+        OCSx.BPMWeight = Xweight;
+
+        % Vertical plane
+        OCSy.BPM = getz(BPMlist, 'struct');
+        OCSy.CM  = getsp(VCMFamily, VCMlist, 'struct','Model');
+        OCSy.GoalOrbit = Ygoal;
+        OCSy.NIter = 1;
+        OCSy.SVDIndex = Yivec;
+        OCSy.IncrementalFlag = 'No';
+        OCSy.FitRF = 0;
+
+        %Default weight for correctors and BPMs
+        OCSy.CMWeight  = VCMweight;
+        OCSy.BPMWeight = Yweight;
+
+        % Save structures for later orbit correction
+        FB.OCSx = OCSx;
+        FB.OCSy = OCSy;
+
+        % List of BPM et correctors to be used
+        FB.BPMlist = BPMlist;
+        FB.HCMlist = HCMlist;
+        FB.VCMlist = VCMlist;
+
+        % List of singular values
+        FB.Xivec = Xivec;
+        FB.Yivec = Yivec;
+
+        % Goal orbit
+        FB.Xgoal = OCSx.GoalOrbit;
+        FB.Ygoal = OCSy.GoalOrbit;
+
+        % RF corrector flag
+        FB.RFCorrFlag = RFCorrFlag;
+
+        % save FB structure in application
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Userdata',FB);
+
+    case 'OrbitCorrection' % Manual Orbit Correction
+
+        try
+            if strcmp(getmode('BPMx'),'Online') && strcmp(getmode('BPMz'),'Online')
+                %look for already running SOFB
+                val = readattribute('ANS/DG/PUB-SOFB/state');
+                if val == 1
+                    error('SOFB already running. Stop SOFB first!')
+                end
+            end
+            %setup average data for reading BPMs
+            setfamilydata('gethbpmaverage','BPMx','Monitor', 'SpecialFunctionGet')
+            setfamilydata('getvbpmaverage','BPMz','Monitor', 'SpecialFunctionGet')
+
+        catch
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            disp('   ********************************');
+            disp('   **  Orbit Correction Aborted  **');
+            disp('   ********************************');
+            fprintf('\n');
+            return
+        end
+
+        OrbitLoopIter = 3; % a 3 step iteration
+
+        fprintf('\n');
+        fprintf('   *********************************\n');
+        fprintf('   **  Starting Orbit Correction  **\n');
+        fprintf('   *********************************\n');
+        fprintf('   %s \n', datestr(clock));
+
+        StartFlag = questdlg(sprintf('Start orbit correction ?'),'Orbit Correction','Yes','No','No');
+        if strcmp(StartFlag,'No')
+            disp('   ********************************');
+            disp('   **  Orbit Correction Aborted  **');
+            disp('   ********************************');
+            fprintf('\n');
+            return
+        end
+
+        if getdcct < DCCTMIN    % Don't correct the orbit if the current is too small
+            fprintf('   Orbit not corrected due to small current.\n');
+            return
+        end
+
+        % get Structure for correction
+        FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Userdata');
+
+        fprintf('   Starting horizontal and vertical global orbit correction (SVD method).\n');
+
+        % Number of steerer magnet correctors
+        N_HCM = size(FB.HCMlist,1);
+        N_VCM = size(FB.VCMlist,1);
+
+
+        for iloop = 1:OrbitLoopIter,
+            try
+                %%%%%%%%%%%%%%%%%
+                % use the following to get corrector settings in OCS and
+                % check everything seems Ok and gives back predicted correction
+                %% V-plane checks
+                if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHcorrection'),'Value') == 1
+                    HOrbitCorrectionFlag = 1;
+                    FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp');
+                    %FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp','FitRFHCM0');
+
+                    HCMSP = getsp(HCMFamily, FB.HCMlist);  % present corrector values
+                    HCMSP_next = HCMSP + FB.OCSx.CM.Delta(1:N_HCM);       % next corrector values, just slow correctors (no RF)
+
+                    MaxSP = maxsp(HCMFamily,FB.HCMlist);
+                    MinSP = minsp(HCMFamily,FB.HCMlist);
+
+                    if any(MaxSP - HCMSP_next  < 0)
+                        HCMnum = find(HCMSP_next > MaxSP);
+                        % message to screen
+                        fprintf('**One or more of the horizontal correctors is at its maximum positive value!! Stopping orbit feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                        HOrbitCorrectionFlag = 0;
+                    end
+
+                    if any(MinSP - HCMSP_next  > 0)
+                        HCMnum = find(HCMSP_next < MinSP);
+                        % message to screen
+                        fprintf('**One or more of the horizontal correctors is at its maximum negative value!! Stopping orbit feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                        HOrbitCorrectionFlag = 0;
+                    end
+
+                    if any(HCMSP_next > MaxSP - 1)
+                        HCMnum = find(HCMSP_next > MaxSP - 1);
+                        for ik = 1:length(HCMnum)
+                            fprintf('**Horizontal correctors %s is above %f! \n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                MaxSP(HCMnum(ik)) - 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+
+                    if any(HCMSP_next < MinSP + 1)
+                        HCMnum = find(HCMSP_next < MinSP + 1);
+                        for ik = 1:length(HCMnum)
+                            fprintf('**Horizontal correctors %s is below %f! \n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                MinSP(HCMnum(ik)) + 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+
+                end
+
+                %% V-plane checks
+                if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxVcorrection'),'Value') ==1
+                    FB.OCSy = setorbit(FB.OCSy,'Nodisplay','Nosetsp');
+                    VOrbitCorrectionFlag = 1;
+                    VCMSP = getsp(VCMFamily,FB.VCMlist); % Get corrector values before correction
+                    VCMSP_next = VCMSP + FB.OCSy.CM.Delta(1:N_VCM); % New corrector values to be set in
+
+                    MaxSP = maxsp(VCMFamily,FB.VCMlist);
+                    MinSP = minsp(VCMFamily,FB.VCMlist);
+
+                    if any(MaxSP - VCMSP_next  < 0)
+                        VCMnum = find(VCMSP_next > MaxSP);
+                        % message to screen
+                        fprintf('**One or more of the vertical correctors is at its maximum positive value!! Stopping orbit feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                    end
+
+                    if any(MinSP - VCMSP_next  > 0)
+                        VCMnum = find(VCMSP_next < MinSP);
+                        % message to screen
+                        fprintf('**One or more of the vertical correctors is at its maximum negative value!! Stopping orbit feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                    end
+
+                    if any(VCMSP_next > MaxSP - 1)
+                        VCMnum = find(VCMSP_next > MaxSP - 1);
+                        for ik = 1:length(VCMnum)
+                            fprintf('**Vertical correctors %s is above %f! \n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                MaxSP(VCMnum(ik)) - 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+
+                    if any(VCMSP_next < MinSP + 1)
+                        VCMnum = find(VCMSP_next < MinSP + 1);
+                        for ik = 1:length(VCMnum)
+                            fprintf('**Vertical correctors %s is below %f! \n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                MinSP(VCMnum(ik)) + 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+                end
+
+                %%%%%%%%%%%%%%%%%%%%%%
+
+
+                if (get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHcorrection'),'Value') == 1) && HOrbitCorrectionFlag
+                    % Correct horizontal orbit
+                    FB.OCSx = setorbit(FB.OCSx,'NoDisplay');
+                    %FB.OCSx = setorbit(FB.OCSx,'NoDisplay', 'FitRFHCM0');
+                end
+
+                if (get(findobj(gcbf,'Tag','ORBITCTRLCheckboxVcorrection'),'Value') == 1) && VOrbitCorrectionFlag
+                    % Correct vertical orbit
+                    FB.OCSy = setorbit(FB.OCSy,'NoDisplay');
+                end
+
+                % Check for current in machine - stop orbit correction if
+                % DCCT < DCCTMIN
+                if (getdcct < DCCTMIN)
+                    error('**There is less than %d in the machine! Stopping orbit correction.', DCCTMIN);
+                end
+
+                % Residual orbit
+                Horbit = getx(FB.OCSx.BPM.DeviceList);
+                Vorbit = getz(FB.OCSy.BPM.DeviceList);
+
+                x = FB.OCSx.GoalOrbit - Horbit;
+                y = FB.OCSy.GoalOrbit - Vorbit;
+
+                fprintf('   %d. Horizontal RMS = %.3f mm (absolute %.3f mm)\n', iloop, std(x), std(Horbit));
+                fprintf('   %d.   Vertical RMS = %.3f mm (absolute %.3f mm)\n', iloop, std(y), std(Vorbit));
+
+                pause(0);
+
+            catch
+                fprintf('   %s \n',lasterr);
+                fprintf('   Orbit correction failed due to error condition!\n  Fix the problem, reload the lattice (refreshthering), and try again.  \n\n');
+                return
+            end
+        end
+
+        fprintf('   %s \n', datestr(clock));
+        fprintf('   *********************************\n');
+        fprintf('   **  Orbit Correction Complete  **\n');
+        fprintf('   *********************************\n\n');
+
+        %setup manager data for reading BPMs
+        setfamilydata('gethbpmgroup','BPMx','Monitor', 'SpecialFunctionGet')
+        setfamilydata('getvbpmgroup','BPMz','Monitor', 'SpecialFunctionGet')
+
+    case 'FeedbackSetup' % Slow orbit Feedback (SOFB)
+
+        InitFlag = Input2;           % Input #2: if InitFlag, then initialize variables
+
+        if InitFlag % Used only at startup
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+            % Edit the following lists to change default configuration of Orbit Correction %
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+            % WARNING CAN BE DIFFERENT FROM THE ORBIT CORRECTION
+            % To start with same correctors and Bpms are used as in manual
+            % coorection
+            % Corrector magnets
+            [HCMlist VCMlist BPMlist] = getlocallist;
+
+            % Singular value number
+            Xivec = 1:56;
+            Yivec = 1:56;
+
+            % Get goal orbit for SOFB
+            Xgoal = getgolden(BPMxFamily, BPMlist);
+            Ygoal = getgolden(BPMyFamily, BPMlist);
+
+            % BPM weights
+            Xweight = ones(size(BPMlist,1), 1);
+            Yweight = ones(size(BPMlist,1), 1);
+
+            % Correctors weights
+            HCMweight = ones(size(HCMlist,1), 1);
+            VCMweight = ones(size(VCMlist,1), 1);
+
+        else % use for SOFB Edition
+
+            % Get FB structure
+            FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata');
+
+            BPMlist = FB.BPMlist;
+            HCMlist = FB.HCMlist;
+            VCMlist = FB.VCMlist;
+
+            Xivec = FB.Xivec;
+            Yivec = FB.Yivec;
+
+            Xgoal = FB.Xgoal;
+            Ygoal = FB.Ygoal;
+
+            HCMweight = FB.OCSx.CMWeight;
+            VCMweight = FB.OCSy.CMWeight;
+            Xweight = FB.OCSx.BPMWeight;
+            Yweight = FB.OCSy.BPMWeight;
+
+            % Add button to change #ivectors, cm
+            EditFlag = 0;
+            h_fig1 = figure;
+
+            while EditFlag ~= 9
+
+                % get Sensitivity matrices
+                Sx = getrespmat(BPMxFamily, BPMlist, HCMFamily, HCMlist, [], SR_GEV);
+                Sy = getrespmat(BPMyFamily, BPMlist, VCMFamily, VCMlist, [], SR_GEV);
+
+                % Compute SVD
+                [Ux, SVx, Vx] = svd(Sx);
+                [Uy, SVy, Vy] = svd(Sy);
+
+                % Remove singular values greater than the actual number of singular values
+                i = find(Xivec>length(diag(SVx)));
+                if ~isempty(i)
+                    disp('   Horizontal singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Xivec(i) = [];
+                end
+                i = find(Yivec>length(diag(SVy)));
+                if ~isempty(i)
+                    disp('   Vertical singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Yivec(i) = [];
+                end
+
+                % Display singular value plot
+                figure(h_fig1);
+                subplot(2,1,1);
+                semilogy(diag(SVx),'b');
+                hold on;
+                semilogy(diag(SVx(Xivec,Xivec)),'xr');
+                ylabel('Horizontal');
+                title('Response Matrix Singular Values');
+                hold off;
+                subplot(2,1,2);
+                semilogy(diag(SVy),'b');
+                hold on;
+                semilogy(diag(SVy(Yivec,Yivec)),'xr');
+                xlabel('Singular Value Number');
+                ylabel('Vertical');
+                hold off;
+                drawnow;
+
+                % Build up menu edition
+                EditFlag = menu('Change Parameters?','Singular Values','HCM List', 'HCM weight', ...
+                    'VCM List', 'VCM weight', ...
+                    'BPM List', 'BPM weight', 'Change the Goal Orbit', 'Return');
+
+                % Begin SOFB edition switchyard
+                switch EditFlag
+                    case 1
+                        prompt = {'Enter the horizontal singular value number (Matlab vector format):', ...
+                            'Enter the vertical singular value numbers (Matlab vector format):'};
+                        def = {sprintf('[%d:%d]',1,Xivec(end)),sprintf('[%d:%d]',1,Yivec(end))};
+                        titlestr='SVD Orbit Feedback';
+                        lineNo=1;
+                        answer=inputdlg(prompt,titlestr,lineNo,def);
+                        if ~isempty(answer)
+                            XivecNew = fix(str2num(answer{1}));
+                            if isempty(XivecNew)
+                                disp('   Horizontal singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(XivecNew<=0) || max(XivecNew)>length(diag(SVx))
+                                    disp('   Error reading horizontal singular value vector.  No change made.');
+                                else
+                                    Xivec = XivecNew;
+                                end
+                            end
+                            YivecNew = fix(str2num(answer{2}));
+                            if isempty(YivecNew)
+                                disp('   Vertical singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(YivecNew<=0) || max(YivecNew)>length(diag(SVy))
+                                    disp('   Error reading vertical singular value vector.  No change made.');
+                                else
+                                    Yivec = YivecNew;
+                                end
+                            end
+                        end
+
+
+                    case 2 % Horizontal corrector list edition
+                        List= getlist(HCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = HCMlist;
+                        Elem = dev2elem(HCMFamily, HCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(HCMFamily,List));
+
+                        newList = editlist(List, HCMFamily, CheckList);
+
+                        if isempty(newList)
+                            fprintf('   Horizontal corrector magnet list cannot be empty.  No change made.\n');
+                        else
+                            HCMlist = newList;
+                        end
+
+                        %set correctors weight values
+                        HCMweightOld = HCMweight;
+                        HCMweight = ones(size(HCMlist,1), 1);
+                        
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(HCMlist,1)
+
+                            % Is it a new corrector?
+                            k = find(HCMlist(i,1)==ListOld(:,1));
+                            l = find(HCMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                HCMweight(i) = HCMweightOld(k(l));
+                             end
+                        end
+                    case 3 % Horizontal corrector weight edition
+
+                        % Ask user to select HCM for modifying weight
+                        ChangeList = editlist(HCMlist, 'Change HCM', ...
+                            zeros(size(HCMlist,1),1));
+
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == HCMlist(:,1));
+                            l = find(ChangeList(i,2) == HCMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for HCM(%d,%d):', ...
+                                HCMlist(k(l),1), HCMlist(k(l),2))};
+                            def = {sprintf('%f',HCMweight(k(l))),sprintf('%f',HCMweight(k(l)))};
+                            titlestr = 'CHANGE THE HCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                HCMweightnew = str2num(answer{1});
+                                if isempty(HCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    HCMweight(k(l)) = HCMweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the HCM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+
+                    case 4 % Vertical corrector list edition
+                        List = getlist(VCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = VCMlist;
+                        Elem = dev2elem(VCMFamily, VCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(VCMFamily,List));
+
+                        newList = editlist(List, VCMFamily, CheckList);
+
+                        if isempty(newList)
+                            fprintf('   Vertical corrector magnet cannot be empty.  No change made.\n');
+                        else
+                            VCMlist = newList;
+                        end
+
+                        %set correctors weight values
+                        VCMweightOld = VCMweight;
+                        VCMweight = ones(size(VCMlist,1), 1);
+                        
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(VCMlist,1)
+
+                            % Is it a new corrector?
+                            k = find(VCMlist(i,1)==ListOld(:,1));
+                            l = find(VCMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                VCMweight(i) = VCMweightOld(k(l));
+                             end
+                        end
+
+                    case 5 % Vertical corrector weight edition
+                        % Ask user to select VCM for modifying weight
+                        ChangeList = editlist(VCMlist, 'Change VCM', ...
+                            zeros(size(VCMlist,1),1));
+
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == VCMlist(:,1));
+                            l = find(ChangeList(i,2) == VCMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for VCM(%d,%d):', ...
+                                VCMlist(k(l),1), VCMlist(k(l),2))};
+                            def = {sprintf('%f',VCMweight(k(l))),sprintf('%f',VCMweight(k(l)))};
+                            titlestr = 'CHANGE THE VCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                VCMweightnew = str2num(answer{1});
+                                if isempty(VCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    VCMweight(k(l)) = VCMweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the VCM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+
+                    case 6 % BPM List edition
+                        % Back present BPM list and goal orbit
+                        ListOld = BPMlist;
+                        XgoalOld = Xgoal;
+                        YgoalOld = Ygoal;
+                        XweightOld = Xweight;
+                        YweightOld = Yweight;
+
+                        List = family2dev(BPMxFamily);
+
+                        %Check BPM already in the list CheckList(i) = 1
+                        %      BPM not in the list CheckList(i) = 0
+                        CheckList = zeros(size(List,1),1);
+                        if ~isempty(BPMlist)
+                            for i = 1:size(List,1)
+                                k = find(List(i,1)==BPMlist(:,1));
+                                l = find(List(i,2)==BPMlist(k,2));
+
+                                if isempty(k) || isempty(l)
+                                    % Item not in list
+                                else
+                                    CheckList(i) = 1;
+                                end
+                            end
+                        end
+
+                        % User edition of the BPM lsit
+                        newList = editlist(List, 'BPM', CheckList);
+                        if isempty(newList)
+                            fprintf('   BPM list cannot be empty.  No change made.\n');
+                        else
+                            BPMlist = newList;
+                        end
+
+                        % Set the goal orbit to the golden orbit and weight values
+                        Xgoal = getgolden(BPMxFamily, BPMlist);
+                        Ygoal = getgolden(BPMyFamily, BPMlist);
+                        Xweight = ones(size(BPMlist,1),1);
+                        Yweight = ones(size(BPMlist,1),1);
+
+                        %if a new BPM is added, then set the goal orbit to
+                        %the golden orbit.
+                        % Otherwise keep the present goal orbit
+                        for i = 1:size(BPMlist,1)
+
+                            % Is it a new BPM?
+                            k = find(BPMlist(i,1)==ListOld(:,1));
+                            l = find(BPMlist(i,2)==ListOld(k,2));
+
+                            if isempty(k) || isempty(l)
+                                % New BPM
+                            else
+                                % Use the old value for old BPM
+                                Xgoal(i) = XgoalOld(k(l));
+                                Ygoal(i) = YgoalOld(k(l));
+                                Xweight(i) = XweightOld(k(l));
+                                Yweight(i) = YweightOld(k(l));
+                             end
+                        end
+
+                    case 7 % BPM weight edition
+                        % Ask user to select BPM for modifying weight
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+
+                        % Ask the new weight for each selected BPM
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+
+                            prompt = {sprintf('Enter the new weight for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new weight for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xweight(k(l))),sprintf('%f',Yweight(k(l)))};
+                            titlestr = 'CHANGE THE BPM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the BPM weight.\n');
+                            else
+                                Xweightnew = str2num(answer{1});
+                                if isempty(Xweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    Xweight(k(l)) = Xweightnew;
+                                end
+
+                                Yweightnew = str2num(answer{2});
+                                if isempty(Yweightnew)
+                                    fprintf('   No change was made to the vertical BPM weight.\n');
+                                else
+                                    Yweight(k(l)) = Yweightnew;
+                                end
+                            end
+                        end
+
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the BPM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+
+                    case 8 % Goal orbit edition
+                        ChangeList = editlist(BPMlist, 'Change BPM', zeros(size(BPMlist,1),1));
+
+                        for i = 1:size(ChangeList,1)
+
+                            k = find(ChangeList(i,1)==BPMlist(:,1));
+                            l = find(ChangeList(i,2)==BPMlist(k,2));
+
+                            prompt={sprintf('Enter the new horizontal goal orbit for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2)), ...
+                                sprintf('Enter the new vertical goal orbit for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def={sprintf('%f',Xgoal(k(l))),sprintf('%f',Ygoal(k(l)))};
+                            titlestr='CHANGE THE GOAL ORBIT';
+                            lineNo=1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the golden orbit.\n');
+                            else
+                                Xgoalnew = str2num(answer{1});
+                                if isempty(Xgoalnew)
+                                    fprintf('   No change was made to the horizontal golden orbit.\n');
+                                else
+                                    Xgoal(k(l)) = Xgoalnew;
+                                end
+
+                                Ygoalnew = str2num(answer{2});
+                                if isempty(Ygoalnew)
+                                    fprintf('   No change was made to the vertical golden orbit.\n');
+                                else
+                                    Ygoal(k(l)) = Ygoalnew;
+                                end
+                            end
+                        end
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  Changing the goal orbit for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                            fprintf('          Re-running srcontrol will restart the goal orbit to the golden orbit."\n');
+                        end
+                end
+            end
+            close(h_fig1);
+        end
+
+        % End of SOFB edition switchyard
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %         Build up SOFB Structures       %
+        %  for setorbit programme : OCSx and OCSy%
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %  ORBIT CORRECTION STRUCTURE (OCS)
+        %    OCS.BPM (data structure)
+        %    OCS.CM  (data structure)
+        %    OCS.GoalOrbit
+        %    OCS.NIter
+        %    OCS.SVDIndex
+        %    OCS.IncrementalFlag = 'Yes'/'No'
+        %    OCS.BPMWeight
+        %    OCS.Flags = { 'FitRF' , etc.  }
+
+        OCSx.BPM = getx(BPMlist, 'struct');
+        OCSx.CM =  getsp(HCMFamily, HCMlist, 'struct');
+        OCSx.GoalOrbit = Xgoal;
+        OCSx.NIter = 2;
+        OCSx.SVDIndex = Xivec;
+        OCSx.IncrementalFlag = 'No';
+        OCSx.CMWeight  = HCMweight;
+        OCSx.BPMWeight = Xweight;
+        OCSx.FitRF = 0;
+
+        OCSy.BPM = getz(BPMlist, 'struct');
+        OCSy.CM = getsp(VCMFamily, VCMlist, 'struct');
+        OCSy.GoalOrbit = Ygoal;
+        OCSy.NIter = 2;
+        OCSy.SVDIndex = Yivec;
+        OCSy.IncrementalFlag = 'No';
+        OCSy.CMWeight  = VCMweight;
+        OCSy.BPMWeight = Yweight;
+        OCSy.FitRF = 0;
+
+        % Save SOFB strucutre
+        FB.OCSx = OCSx;
+        FB.OCSy = OCSy;
+
+        % BPM and CM list
+        FB.BPMlist = BPMlist;
+        FB.HCMlist = HCMlist;
+        FB.VCMlist = VCMlist;
+
+        % Singular value number
+        FB.Xivec = Xivec;
+        FB.Yivec = Yivec;
+
+        % Goal orbit list
+        FB.Xgoal = Xgoal;
+        FB.Ygoal = Ygoal;
+
+        % save Feedback struture
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata',FB);
+
+    case 'Feedback'
+
+        %FBloopIter = 3; % number of iterations for each loop
+
+        FEEDBACK_STOP_FLAG = 0;
+
+        % Warning Flag for stale correctors
+        HWarnNum = 0;
+        VWarnNum = 0;
+
+        % Feedback loop setup
+        LoopDelay = 10.0;    % Period of feedback loop [seconds], make sure the BPM averaging is correct
+
+        % Percentage of correction to apply at each iteration
+        Xgain  = 0.8;
+        Ygain  = 0.8;
+
+        % Minimum corrector strength for applying correction
+        %dhcmStd = 0.0015/4;
+        %dvcmStd = 0.0005/2;
+
+        % thresholds for multibunch filling pattern
+        dhcmStd = 0.0001;
+        dvcmStd = 0.0001;
+
+        % thresholds for 8 bunch filling pattern
+        %dhcmStd = 0.00; %15/15/10;
+        %dvcmStd = 0.00; % 05/5/10;
+
+        % Maximum allowed frequency shift during a single correction
+        deltaRFmax = 10e-6; % MHz
+        deltaRFmin = 0.3e-6; % MHz ie 0.1 Hz
+
+        % Load lattice set for tune feed forward
+
+        set(0,'showhiddenhandles','on');
+
+        try
+
+            %setup average data for reading BPMs
+            setfamilydata('gethbpmaverage','BPMx','Monitor', 'SpecialFunctionGet')
+            setfamilydata('getvbpmaverage','BPMz','Monitor', 'SpecialFunctionGet')
+
+            fprintf('\n');
+            fprintf('   *******************************\n');
+            fprintf('   **  Starting Orbit Feedback  **\n');
+            fprintf('   *******************************\n');
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   Note: the Matlab command window will be used to display status information.\n');
+            fprintf('         It cannot be used to enter commands during slow orbit feedback.\n');
+
+            % Get SOFB Structure
+            FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata');
+            if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'),'Value') == 1
+                FB.OCSx.FitRF = 1;
+            else
+                FB.OCSx.FitRF = 0;
+            end
+
+            % look for already running SOFB
+            if strcmp(getmode('BPMx'),'Online') && strcmp(getmode('BPMz'),'Online')
+                val = readattribute('ANS/DG/PUB-SOFB/state');
+                val = readattribute([devLockName '/sofb']);
+                if val == 1
+                    error('SOFB already running. Stop other application first!')
+                end
+            end
+        catch
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  Orbit feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+
+        % Confirmation dialogbox
+        StartFlag = questdlg('Start orbit feedback?', 'Orbit Feedback','Yes','No','No');
+        set(findobj(gcbf,'Tag','ORBITCTRLStaticTextInformation'),'String','SOFB Started');
+
+        if strcmp(StartFlag,'No')
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   ***************************\n');
+            fprintf('   **  Orbit Feedback Exit  **\n');
+            fprintf('   ***************************\n\n');
+            pause(0);
+            return
+        end
+
+        set(0,'showhiddenhandles','on');
+
+        % Display information
+
+        if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'),'Value') == 1
+            fprintf('   Using %d singular values horizontally.\n', length(FB.Xivec));
+        end
+        if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxVSOFB'),'Value') == 1
+            fprintf('   Using %d singular values vertically.\n',   length(FB.Yivec));
+        end
+        fprintf('   Starting slow orbit correction every %.1f seconds.\n', LoopDelay);
+
+        try
+            % Compute residual closed orbit
+            x = FB.Xgoal - getx(FB.BPMlist);
+            y = FB.Ygoal - getz(FB.BPMlist);
+
+            %STDx = norm(x)/sqrt(length(x));
+            %STDy = norm(y)/sqrt(length(y));
+            STDx = std(x);
+            STDy = std(y);
+
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextHorizontal'),'String', ...
+                sprintf('Horizontal RMS = %.4f mm',STDx),'ForegroundColor',[0 0 0]);
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextVertical'),'String', ...
+                sprintf('Vertical RMS = %.4f mm',STDy),'ForegroundColor',[0 0 0]);
+
+            if strcmp(getmode('BPMx'),'Online') && strcmp(getmode('BPMz'),'Online')
+                % SOFB Flag set to true in TANGO
+                tango_write_attribute2('ANS/DG/PUB-SOFB','state',uint8(1));
+                % Lock  SOFB service
+                Locktag  = tango_command_inout2(devLockName,'Lock', 'sofb');
+            end
+                pause(0);
+        catch
+
+            fprintf('\n  %s \n',lasterr);
+
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  Orbit feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+
+
+        % Disable buttons in GUI
+        set(0,'showhiddenhandles','on');
+        set(findobj(gcbf,'Tag','ORBITCTRLPushbuttonStart'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLPushbuttonStop'),'Enable','on');
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLClose'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxVSOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxHcorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxVcorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxSOFB'),'Enable','off')
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxFOFB'),'Enable','off')
+        pause(0);
+
+
+        % Initialize feedback loop
+        StartTime = gettime;
+        StartErrorTime = gettime;
+
+        % Get orbit before SOFB startup
+        Xold = getx(FB.BPMlist);
+        Yold = getz(FB.BPMlist);
+        % Stale number
+        RF_frequency_stalenum = 0;
+        %pause(LoopDelay);
+
+        % Number of steerer magnet corrector
+        N_HCM = size(FB.HCMlist,1);
+        N_VCM = size(FB.VCMlist,1);
+
+        % Number of RF actuator
+        N_RFMO = 1;
+
+        %%%%%%%%%%%%%%%%%%%%%%%
+        % Start feedback loop %
+        %%%%%%%%%%%%%%%%%%%%%%%
+
+        setappdata(findobj(gcbf,'Tag','ORBITCTRLFig1'),'FEEDBACK_STOP_FLAG',0);
+
+        while FEEDBACK_STOP_FLAG == 0 % infinite loop
+            try
+                t00 = gettime;
+                fprintf('Iteration time %s\n',datestr(clock));
+
+                % Check if GUI has been closed
+                if isempty(gcbf)
+                    FEEDBACK_STOP_FLAG = 1;
+                    lasterr('SRCONTROL GUI DISAPPEARED!');
+                    error('SRCONTROL GUI DISAPPEARED!');
+                end
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                % Horizontal plane "feedback" %
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+                % Get orbit and check that the BPMs are different from the last update
+                Xnew = getx(FB.BPMlist);
+
+                if any(isnan(Xnew))
+                    FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit feedback stopped due to bad BPMs\n',datestr(now));
+                    BadBPMName = family2tangodev(BPMxFamily, FB.BPMlist(isnan(Xnew),:));
+                    for k=1:size(BadBPMName,1),
+                        fprintf('Bad Horizontal BPM %s\n',BadBPMName{k});
+                    end
+                    tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : problÃšme BPM');
+                    break;
+                end
+
+                if getdcct < DCCTMIN     % Don't feedback if the current is too small
+                    FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                    tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : courant trop bas');
+                    break;
+                end
+
+                x = FB.Xgoal - Xnew;
+                STDx = std(x);
+
+                if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'),'Value') == 1
+                    if any(Xold == Xnew)
+                        N_Stale_Data_Points = find((Xold==Xnew)==1);
+                        for i = N_Stale_Data_Points'
+                            fprintf('   Stale data: BPMx(%2d,%d), feedback step skipped (%s). \n', ...
+                                FB.BPMlist(i,1), FB.BPMlist(i,2), datestr(clock));
+                        end
+                    else
+                        % Compute horizontal correction
+                        FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp');
+                        %FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp','FitRFHCM0');
+
+                        X = Xgain .* FB.OCSx.CM.Delta;
+
+                        % check for corrector values and next step values, warn or stop FB as necessary
+                        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                        HCMSP = getsp(HCMFamily, FB.HCMlist);  % present corrector values
+                        HCMSP_next = HCMSP + X(1:N_HCM);       % next corrector values, just slow correctors (no RF)
+
+                        MaxSP = maxsp(HCMFamily,FB.HCMlist);
+                        MinSP = minsp(HCMFamily,FB.HCMlist);
+
+                        if any(MaxSP - HCMSP_next  < 0)
+                            HCMnum = find(HCMSP_next > MaxSP);
+                            % message to screen
+                            fprintf('**One or more of the horizontal correctors is at its maximum positive value!! Stopping orbit feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                            tango_command_inout2(devSpeakerName,'DevTalk','ProblÃšme de la correction d''orbite');
+                            FEEDBACK_STOP_FLAG = 1;
+                        end
+
+                        if any(MinSP - HCMSP_next  > 0)
+                            HCMnum = find(HCMSP_next < MinSP);
+                            % message to screen
+                            fprintf('**One or more of the horizontal correctors is at its maximum negative value!! Stopping orbit feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                            FEEDBACK_STOP_FLAG = 1;
+                            tango_command_inout2(devSpeakerName,'DevTalk','ProblÃšme de la correction d''orbite');
+                        end
+
+                        pause(0);
+
+                        if any(HCMSP_next > MaxSP - 1)
+                            HCMnum = find(HCMSP_next > MaxSP - 1);
+                            for ik = 1:length(HCMnum)
+                                HWarnNum = HWarnNum+1;
+                                fprintf('**Horizontal correctors %s is above %f! \n', ...
+                                    cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                    MaxSP(HCMnum(ik)) - 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                            tango_command_inout2(devSpeakerName,'DevTalk','ProblÃšme de la correction d''orbite');
+                        end
+
+                        if any(HCMSP_next < MinSP + 1)
+                            HCMnum = find(HCMSP_next < MinSP + 1);
+                            for ik = 1:length(HCMnum)
+                                HWarnNum = HWarnNum+1;
+                                fprintf('**Horizontal correctors %s is below %f! \n', ...
+                                    cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                    MinSP(HCMnum(ik)) + 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                            tango_command_inout2(devSpeakerName,'DevTalk','ProblÃšme de la correction d''orbite');
+                        end
+
+                        if getdcct < DCCTMIN     % Don't feedback if the current is too small
+                            FEEDBACK_STOP_FLAG = 1;
+                            fprintf('%s         Orbit feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                            tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : courant trop bas');
+                            break;
+                        end
+
+                        % Apply new corrector values
+
+                        if N_HCM > 0 && std(X(1:N_HCM)) > dhcmStd
+                            profibus_sync(HCMFamily); pause(0.2);
+                            stepsp(HCMFamily, X(1:N_HCM), FB.HCMlist, 0);
+                            profibus_unsyncall(HCMFamily);
+                        else
+                            fprintf('No horizontal correction  applied, std corrector = %5.4f mA rms < threshold = %5.4f \n', ...
+                                std(X(1:N_HCM)),dhcmStd);
+                        end
+
+                        % Apply RF correction
+
+                        if FB.OCSx.FitRF
+                            deltaRF = Xgain .* FB.OCSx.DeltaRF;
+                            if N_RFMO > 0
+                                try
+                                    RFfrequency_last = getrf;
+                                catch
+                                    fprintf('Warning1: trouble with MasterOscillator\n try again\n')
+                                    try
+                                        pause(0.4);
+                                        RFfrequency_last = getrf;
+                                    catch
+                                        fprintf('Warning2: trouble with MasterOscillator\n try again\n')
+                                        pause(0.4);
+                                        RFfrequency_last = getrf;
+                                    end
+                                end
+                                fprintf('RF frequency shift to be applied is %5.1f Hz \n', hw2physics('RF','Setpoint', deltaRF));
+
+                                if abs(deltaRF) > deltaRFmin % MHz
+                                    if abs(deltaRF) < deltaRFmax % For avoiding too large RF step on orbit
+                                        try
+                                            steprf(deltaRF);
+                                        catch
+                                            fprintf('Warning1: trouble with MasterOscillator\n try again\n')
+                                            try
+                                                pause(0.4);
+                                                steprf(deltaRF);
+                                            catch
+                                                fprintf('Warning2: trouble with MasterOscillator\n try again\n')
+                                                pause(0.4);
+                                                steprf(deltaRF); % if wrong it is catched by the global try catch sequence
+                                            end
+                                        end
+                                        fprintf('RF change applied by %5.1f Hz\n', hw2physics('RF','Setpoint', deltaRF));
+                                    else
+                                        warning('RF change too large: %5.1f Hz (max is %5.1f Hz)', ...
+                                            hw2physics('RF','Setpoint', deltaRF), hw2physics('RF','Setpoint', deltaRFmax));
+                                        try
+                                            steprf(deltaRFmax*sign(deltaRF));
+                                        catch
+                                            fprintf('Warning1: trouble with MasterOscillator\n try again\n')
+                                            try
+                                                pause(0.4);
+                                                steprf(deltaRFmax*sign(deltaRF));
+                                            catch
+                                                fprintf('Warning2: trouble with MasterOscillator\n try again\n')
+                                                pause(0.4);
+                                                steprf(deltaRFmax*sign(deltaRF)); % if wrong it is catched by the global try catch sequence
+                                            end
+                                        end
+                                        fprintf('RF change applied by %5.1f Hz\n', hw2physics('RF','Setpoint', deltaRFmax*sign(deltaRF)));
+                                    end
+
+                                    RFfrequency_now = getrf;
+
+                                    % Check for stale RF feedback
+
+                                    if RFfrequency_last == RFfrequency_now
+                                        RF_frequency_stalenum = RF_frequency_stalenum + 1;
+                                        if RF_frequency_stalenum == 30 % - warn and message if stale for 30 secs
+                                            fprintf('**The RF is not responding to orbit feedback changes! \n');
+                                            fprintf('%s\n',datestr(now));
+                                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                                        end
+                                        if rem(RF_frequency_stalenum,120)==0 % - message to screen every 2 minutes
+                                            fprintf('**The RF is not responding to orbit feedback changes! (%s)\n',datestr(now));
+                                        end
+                                    else
+                                        RF_frequency_stalenum = 0;
+                                    end
+
+                                    fprintf('RF Done: time = %f \n', gettime-t00);
+                                end
+                            end
+                        end
+                    end
+
+                    Xold = Xnew;
+                end % End horizontal correction
+
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                % Vertical plane "feedback" %
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+                % Get orbit and check that the BPMs are different from the last update
+                Ynew = getz(FB.BPMlist);
+
+                if any(isnan(Ynew))
+                    FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit feedback stopped due to bad BPMs\n',datestr(now));
+                    BadBPMName = family2tangodev(BPMxFamily, FB.BPMlist(isnan(Xnew),:));
+                    for k=1:size(BadBPMName,1),
+                        fprintf('Bad Vertical BPM %s\n',BadBPMName{k});
+                    end
+                    tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : problÃšme BPM');
+                    break;
+                end
+
+                if getdcct < DCCTMIN     % Don't feedback if the current is too small
+                    FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit feedback stopped due to low beam current (< %d mA)\n', datestr(now), DCCTMIN);
+                    tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : courant trop bas');
+                    break;
+                end
+
+                y = FB.Ygoal - Ynew;
+                STDy = norm(y)/sqrt(length(y));
+
+
+                if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxVSOFB'),'Value') == 1
+
+                    if any(Yold == Ynew)
+                        fprintf('Info: Stale vertical BPM data, feedback step skipped (%s). \n', datestr(clock));
+                        N_Stale_Data_Points = find((Yold==Ynew)==1);
+                        for i = N_Stale_Data_Points'
+                            fprintf('   Stale data: BPMz(%2d,%d), feedback step skipped (%s). \n', ...
+                                FB.BPMlist(i,1), FB.BPMlist(i,2), datestr(clock));
+                        end
+
+                    else
+
+                        FB.OCSy = setorbit(FB.OCSy,'Nodisplay','Nosetsp');
+
+                        % set to gains for correction
+                        Y = Ygain .* FB.OCSy.CM.Delta;
+
+                        % check for trim values+next step values, warn or stop FB as necessary
+
+                        VCMSP = getsp(VCMFamily,FB.VCMlist); % Get corrector values before correction
+                        VCMSP_next = VCMSP + Y(1:N_VCM); % New corrector values to be set in
+
+
+                        pause(0);
+
+                        if getdcct < DCCTMIN     % Don't feedback if the current is too small
+                            fprintf('%s         Orbit feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                            tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : courant trop bas');
+                            FEEDBACK_STOP_FLAG = 1;
+                            break;
+                        end
+
+                        MaxSP = maxsp(VCMFamily,FB.VCMlist);
+                        MinSP = minsp(VCMFamily,FB.VCMlist);
+
+                        if any(MaxSP - VCMSP_next  < 0)
+                            VCMnum = find(VCMSP_next > MaxSP);
+                            % message to screen
+                            fprintf('**One or more of the vertical correctors is at its maximum positive value!! Stopping orbit feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                            FEEDBACK_STOP_FLAG = 1;
+                        end
+
+                        if any(MinSP - VCMSP_next  > 0)
+                            VCMnum = find(VCMSP_next < MinSP);
+                            % message to screen
+                            fprintf('**One or more of the vertical correctors is at its maximum negative value!! Stopping orbit feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                            FEEDBACK_STOP_FLAG = 1;
+                        end
+
+                        pause(0);
+
+                        if any(VCMSP_next > MaxSP - 1)
+                            VCMnum = find(VCMSP_next > MaxSP - 1);
+                            for ik = 1:length(VCMnum)
+                                VWarnNum = VWarnNum+1;
+                                fprintf('**Vertical correctors %s is above %f! \n', ...
+                                    cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                    MaxSP(VCMnum(ik)) - 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                        end
+
+                        if any(VCMSP_next < MinSP + 1)
+                            VCMnum = find(VCMSP_next < MinSP + 1);
+                            for ik = 1:length(VCMnum)
+                                VWarnNum = VWarnNum+1;
+                                fprintf('**Vertical correctors %s is below %f! \n', ...
+                                    cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                    MinSP(VCMnum(ik)) + 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                        end
+
+                        % Apply vertical correction
+                        if N_VCM > 0 && std(Y(1:N_VCM)) > dvcmStd
+                            profibus_sync(VCMFamily); pause(0.2);
+                            stepsp(VCMFamily, Y(1:N_VCM), FB.VCMlist, 0);
+                            profibus_unsyncall(VCMFamily);
+                        else
+                            fprintf('No vertical correction  applied, std corrector = %5.4f mA rms < threshold = %5.4f \n', ...
+                                std(Y(1:N_VCM)),dvcmStd);
+                        end
+                    end
+                end
+
+                Yold = Ynew;
+
+                % Output info to screen
+                set(findobj(gcbf,'Tag','ORBITCTRLStaticTextHorizontal'), ...
+                    'String',sprintf('Horizontal RMS = %.4f mm',STDx), ...
+                    'ForegroundColor',[0 0 0]);
+                set(findobj(gcbf,'Tag','ORBITCTRLStaticTextVertical'), ...
+                    'String',sprintf('Vertical RMS = %.4f mm',STDy),...
+                    'ForegroundColor',[0 0 0]);
+                pause(0);
+
+                % Wait for next update time or stop request
+                while (gettime-t00) < LoopDelay
+                    pause(.1);
+                    % Check if GUI has been closed
+                    if isempty(gcbf)
+                        FEEDBACK_STOP_FLAG = 1;
+                        lasterr('SRCONTROL GUI DISAPPEARED!');
+                        error('SRCONTROL GUI DISAPPEARED!');
+                    end
+                    if FEEDBACK_STOP_FLAG == 0
+                        FEEDBACK_STOP_FLAG = getappdata(findobj(gcbf,'Tag','ORBITCTRLFig1'),'FEEDBACK_STOP_FLAG');
+                    end
+                end
+
+                StartErrorTime = gettime;
+
+                % Maintain lock on SOFB service
+                argin.svalue={'sofb'};
+                argin.lvalue=int32(Locktag);
+                tango_command_inout2(devLockName,'MaintainLock', argin);
+
+            catch
+                fprintf('\n  %s \n',lasterr);
+                FEEDBACK_STOP_FLAG = 1;
+                tango_command_inout2(devSpeakerName,'DevTalk','Arret de la correction d''orbite : ATTENTION');
+                profibus_unsyncall(VCMFamily); % to be sure that correctors are controllable
+            end
+
+            % Check whether user asked for stopping SOFB
+            if FEEDBACK_STOP_FLAG == 0
+                FEEDBACK_STOP_FLAG = getappdata(findobj(gcbf,'Tag','ORBITCTRLFig1'),'FEEDBACK_STOP_FLAG');
+            end
+
+
+        end  % End of feedback loop
+
+
+        % End feedback, reset all parameters
+        try
+
+            % Enable buttons
+            set(findobj(gcbf,'Tag','ORBITCTRLPushbuttonStart'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLPushbuttonStop'),'Enable','off');
+            set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrection'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLClose'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxVSOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxHcorrection'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxVcorrection'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxSOFB'),'Enable','on')
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxFOFB'),'Enable','on')
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextHorizontal'),'String',sprintf('Horizontal RMS = _____ mm'),'ForegroundColor',[0 0 0]);
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextVertical'),'String',sprintf('Vertical RMS = _____ mm'),'ForegroundColor',[0 0 0]);
+            pause(0);
+
+        catch
+
+            % GUI must have been closed
+
+        end
+
+        fprintf('   %s \n', datestr(clock));
+        fprintf('   ******************************\n');
+        fprintf('   **  Orbit Feedback Stopped  **\n');
+        fprintf('   ******************************\n\n');
+        set(0,'showhiddenhandles','off');
+        pause(0);
+        % SOFB Flag set to false in TANGO
+        tango_write_attribute2('ANS/DG/PUB-SOFB','state',uint8(0));
+        % Unlock SOFB service
+        argin.svalue={'sofb'};
+        argin.lvalue=int32(Locktag);
+        tango_command_inout2(devLockName,'Unlock', argin); 
+        %setup average data for reading BPMs
+        setfamilydata('gethbpmgroup','BPMx','Monitor', 'SpecialFunctionGet')
+        setfamilydata('getvbpmgroup','BPMz','Monitor', 'SpecialFunctionGet')
+
+        
+    otherwise
+        fprintf('   Unknown action name: %s.\n', action);
+
+end
+
+
+function [HCMlist, VCMlist, BPMlist] = getlocallist
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Edit the following lists to change default configuration of Orbit Correction %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% HCMlist = [
+%     1     1
+%     1     4
+%     1     7
+%     2     1
+%     2     4
+%     2     5
+%     2     8
+%     3     1
+%     3     4
+%     3     5
+%     3     8
+%     4     1
+%     4     4
+%     4     7
+%     5     1
+%     5     4
+%     5     7
+%     6     1
+%     6     4
+%     6     5
+%     6     8
+%     7     1
+%     7     4
+%     7     5
+%     7     8
+%     8     1
+%     8     4
+%     8     7
+%     9     1
+%     9     4
+%     9     7
+%     10     1
+%     10     4
+%     10     5
+%     10     8
+%     11     1
+%     11     4
+%     11     5
+%     11     8
+%     12     1
+%     12     4
+%     12     7
+%     13     1
+%     13     4
+%     13     7
+%     14     1
+%     14     4
+%     14     5
+%     14     8
+%     15     1
+%     15     4
+%     15     5
+%     15     8
+%     16     1
+%     16     4
+%     16     7];
+%
+% VCMlist = [
+%     1     2
+%     1     4
+%     1     6
+%     2     2
+%     2     3
+%     2     6
+%     2     7
+%     3     2
+%     3     3
+%     3     6
+%     3     7
+%     4     2
+%     4     4
+%     4     6
+%     5     2
+%     5     4
+%     5     6
+%     6     2
+%     6     3
+%     6     6
+%     6     7
+%     7     2
+%     7     3
+%     7     6
+%     7     7
+%     8     2
+%     8     4
+%     8     6
+%     9     2
+%     9     4
+%     9     6
+%     10     2
+%     10     3
+%     10     6
+%     10     7
+%     11     2
+%     11     3
+%     11     6
+%     11     7
+%     12     2
+%     12     4
+%     12     6
+%     13     2
+%     13     4
+%     13     6
+%     14     2
+%     14     3
+%     14     6
+%     14     7
+%     15     2
+%     15     3
+%     15     6
+%     15     7
+%     16     2
+%     16     4
+%     16     6
+%     ];
+
+HCMlist = family2dev('HCOR');
+VCMlist = family2dev('VCOR');
+
+BPMlist = [
+    1     2
+    1     3
+    1     4
+    1     5
+    1     6
+    1     7
+    2     1
+    2     2
+    2     3
+    2     4
+    2     5
+    2     6
+    2     7
+    2     8
+    3     1
+    3     2
+    3     3
+    3     4
+    3     5
+    3     6
+    3     7
+    3     8
+    4     1
+    4     2
+    4     3
+    4     4
+    4     5
+    4     6
+    4     7
+    5     1
+    5     2
+    5     3
+    5     4
+    5     5
+    5     6
+    5     7
+    6     1
+    6     2
+    6     3
+    6     4
+    6     5
+    6     6
+    6     7
+    6     8
+    7     1
+    7     2
+    7     3
+    7     4
+    7     5
+    7     6
+    7     7
+    7     8
+    8     1
+    8     2
+    8     3
+    8     4
+    8     5
+    8     6
+    8     7
+    9     1
+    9     2
+    9     3
+    9     4
+    9     5
+    9     6
+    9     7
+    10     1
+    10     2
+    10     3
+    10     4
+    10     5
+    10     6
+    10     7
+    10     8
+    11     1
+    11     2
+    11     3
+    11     4
+    11     5
+    11     6
+    11     7
+    11     8
+    12     1
+    12     2
+    12     3
+    12     4
+    12     5
+    12     6
+    12     7
+    13     1
+    13     2
+    13     3
+    13     4
+    13     5
+    13     6
+    13     7
+    14     1
+    14     2
+    14     3
+    14     4
+    14     5
+    14     6
+    14     7
+    14     8
+    15     1
+    15     2
+    15     3
+    15     4
+    15     5
+    15     6
+    15     7
+    15     8
+    16     1
+    16     2
+    16     3
+    16     4
+    16     5
+    16     6
+    16     7
+    1     1
+    ];
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getIDbpm_stat.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getIDbpm_stat.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getIDbpm_stat.m	(revision 17)
@@ -0,0 +1,73 @@
+function [Xpos Zpos Xangle Zangle] = getIDbpm_stat
+% getIDbpm_stat - Show angle and position of beam at center of straight sections
+
+%
+%  Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+
+deviceList = { ...
+    'ANS-C01/DG/CALC-SDL-POSITION-ANGLE', ...
+    'ANS-C02/DG/CALC-SDc-POSITION-ANGLE', ...
+    'ANS-C02/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C03/DG/CALC-SDC-POSITION-ANGLE', ...
+    'ANS-C03/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C04/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C05/DG/CALC-SDL-POSITION-ANGLE', ...
+    'ANS-C06/DG/CALC-SDC-POSITION-ANGLE', ...
+    'ANS-C06/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C07/DG/CALC-SDC-POSITION-ANGLE', ...
+    'ANS-C07/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C08/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C09/DG/CALC-SDL-POSITION-ANGLE', ...
+    'ANS-C10/DG/CALC-SDC-POSITION-ANGLE', ...
+    'ANS-C10/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C11/DG/CALC-SDC-POSITION-ANGLE', ...
+    'ANS-C11/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C12/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C13/DG/CALC-SDL-POSITION-ANGLE', ...
+    'ANS-C14/DG/CALC-SDC-POSITION-ANGLE', ...
+    'ANS-C14/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C15/DG/CALC-SDC-POSITION-ANGLE', ...
+    'ANS-C15/DG/CALC-SDM-POSITION-ANGLE', ...
+    'ANS-C16/DG/CALC-SDM-POSITION-ANGLE'  ...
+    };
+
+Xpos = zeros(size(deviceList,2),1);
+Zpos = Xpos;
+Xangle = Xpos;
+Zangle = Xpos;
+
+for k = 1:size(deviceList,2),
+    rep = tango_read_attributes2(deviceList{k},{'positionX','positionZ','angleX', 'angleZ'});
+    Xpos(k)   = rep(1).value;
+    Zpos(k)   = rep(2).value;
+    Xangle(k) = rep(3).value;
+    Zangle(k) = rep(4).value;
+end
+
+if DisplayFlag
+    figure
+    subplot(2,2,1)
+    bar(Xpos)
+    ylabel('x (Âµm)')
+
+    subplot(2,2,2)
+    bar(Xangle)
+    ylabel('x'' (Âµrad)')
+
+    subplot(2,2,3)
+    bar(Zpos)
+    ylabel('z (Âµm)')
+
+    subplot(2,2,4)
+    bar(Zangle)
+    ylabel('z'' (Âµrad)')
+    suptitle('Angle and position as a function of straigth section number')
+end
+
+% for k = 1:size(deviceList,2),
+%     rep = tango_get_device_property(deviceList{k},'OutputNames');
+%     fprintf('\n%s \n', deviceList{k});
+%     for k=1:4, fprintf('%s \n', rep{1}{k}), end
+% end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/get_bpm_offsets.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/get_bpm_offsets.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/get_bpm_offsets.m	(revision 17)
@@ -0,0 +1,95 @@
+function [libera_RF_offset,block_offset,BBA_offset,survey_offset]=get_bpm_offsets(dev)
+
+X_offset_BBA=0;
+Z_offset_BBA=0;
+libera_RF_offset=0;
+block_offset=0;
+survey_offset=0;
+increment=1;
+Correspondance=tango_get_db_property('BPM','DeviceParameters');
+block_table=tango_get_db_property('BPM','BlockParameters');
+libera_table=tango_get_db_property('BPM','HwParameters');
+       for i=1:1:size(Correspondance,2)
+            index=regexpi(Correspondance{i},dev);     
+            if isempty(index)==0
+                separator=regexpi(Correspondance{i},':');  
+                BPM_name=Correspondance{i}(1:separator(1)-1);
+                block_name=Correspondance{i}(separator(1)+1:separator(2)-1);
+                libera_name=Correspondance{i}(separator(2)+1:size(Correspondance{i},2));
+               for j=1:1:size(block_table,2)
+                    index_block=regexpi(block_table{j},[block_name,':']);
+                    if isempty(index_block)==0
+                        separator=regexpi(block_table{j},':');  
+                        Block_Ka=str2num(block_table{j}(separator(3)+1:separator(4)-1));
+                        Block_Kb=str2num(block_table{j}(separator(4)+1:separator(5)-1));
+                        Block_Kc=str2num(block_table{j}(separator(5)+1:separator(6)-1));
+                        Block_Kd=str2num(block_table{j}(separator(6)+1:separator(7)-1));
+                       
+                        X_survey_offset=str2num(block_table{j}(separator(7)+1:separator(8)-1));
+                        Z_survey_offset=str2num(block_table{j}(separator(9)+1:separator(10)-1));
+                        X_offset_BBA=str2num(block_table{j}(separator(8)+1:separator(9)-1));
+                        Z_offset_BBA=str2num(block_table{j}(separator(10)+1:separator(11)-1));
+                        BPM=BPM_name;
+                    end
+                end
+                for j=1:1:size(libera_table,2)
+                    index_libera=regexpi(libera_table{j},[libera_name,':']);
+                    if isempty(index_libera)==0
+                        separator=regexpi(libera_table{j},':');  
+                        libera_Ka=str2num(libera_table{j}(separator(2)+1:separator(3)-1));
+                        libera_Kb=str2num(libera_table{j}(separator(3)+1:separator(4)-1));
+                        libera_Kc=str2num(libera_table{j}(separator(4)+1:separator(5)-1));
+                        libera_Kd=str2num(libera_table{j}(separator(5)+1:separator(6)-1));
+                       
+                     end
+                end
+            end
+       end
+K=11.4;
+BBA_offset(1)=X_offset_BBA;
+BBA_offset(2)=Z_offset_BBA;
+survey_offset(1)=X_survey_offset;
+survey_offset(2)=Z_survey_offset;
+block_offset(1)=K*(1/Block_Ka+1/Block_Kd-1/Block_Kb-1/Block_Kc)/(1/Block_Ka+1/Block_Kb+1/Block_Kc+1/Block_Kd);
+block_offset(2)=K*(1/Block_Ka+1/Block_Kb-1/Block_Kc-1/Block_Kd)/(1/Block_Ka+1/Block_Kb+1/Block_Kc+1/Block_Kd);
+block_offset(3)=Block_Ka;
+block_offset(4)=Block_Kb;
+block_offset(5)=Block_Kc;
+block_offset(6)=Block_Kd;
+libera_RF_offset(1)=K*(1/libera_Ka+1/libera_Kd-1/libera_Kb-1/libera_Kc)/(1/libera_Ka+1/libera_Kb+1/libera_Kc+1/libera_Kd);
+libera_RF_offset(2)=K*(1/libera_Ka+1/libera_Kb-1/libera_Kc-1/libera_Kd)/(1/libera_Ka+1/libera_Kb+1/libera_Kc+1/libera_Kd);
+libera_RF_offset(3)=libera_Ka;
+libera_RF_offset(4)=libera_Kb;
+libera_RF_offset(5)=libera_Kc;
+libera_RF_offset(6)=libera_Kd;
+% block_offset(1)=K*(Block_Ka+Block_Kc-Block_Kb-Block_Kd)/(Block_Ka+Block_Kb+Block_Kc+Block_Kd);
+% block_offset(2)=K*(Block_Ka+Block_Kb-Block_Kc-Block_Kd)/(Block_Ka+Block_Kb+Block_Kc+Block_Kd);
+% libera_RF_offset(1)=K*(libera_Ka+libera_Kc-libera_Kb-libera_Kd)/(libera_Ka+libera_Kb+libera_Kc+libera_Kd);
+% libera_RF_offset(2)=K*(libera_Ka+libera_Kb-libera_Kc-libera_Kd)/(libera_Ka+libera_Kb+libera_Kc+libera_Kd);
+      %end
+% switch dev
+%     case 'all'
+%  for i=1:1:size(Correspondance,2)
+%      index=regexpi(Correspondance{i},'ANS-C');     
+%     if isempty(index)==0
+%         BPM_name=Correspondance{i}(index:index+15);
+%         block_name=Correspondance{i}(index+17:index+24);
+%   for j=1:1:size(block_table,2)
+%    index=regexpi(block_table{j},[block_name,':']);
+%    if isempty(index)==0
+%         separator=regexpi(block_table{j},':');             
+%         X_offset_BBA(increment)=str2num(block_table{j}(separator(8)+1:separator(9)-1));
+%         Z_offset_BBA(increment)=str2num(block_table{j}(separator(10)+1:separator(11)-1));
+%         BPM(increment,:)=BPM_name;
+%         increment=increment+1; 
+%    end 
+%   end
+% 
+%   otherwise        
+ 
+offsets_X = [X_offset_BBA(2:end) X_offset_BBA(1)]';
+offsets_Z = [Z_offset_BBA(2:end) Z_offset_BBA(1)]';
+
+
+X_offset=block_offset(1)+BBA_offset(1)+survey_offset(1);
+Z_offset=block_offset(2)+BBA_offset(2)+survey_offset(2);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getabcd.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getabcd.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getabcd.m	(revision 17)
@@ -0,0 +1,86 @@
+function [AM, tout, DataTime, ErrorFlag] = getabcd(varargin)
+%getabcd - Returns the horizontal orbit
+%  [AM, tout, DataTime]  = getabcd(DeviceList, t, FreshDataFlag, TimeOutPeriod)
+%         or
+%  [AM, tout, DataTime]  = getabcd(DataStructure, t, FreshDataFlag, TimeOutPeriod)
+%
+%  INPUTS
+%  1. DeviceList or DataStructure  (see help getpv)
+%  2. t  (see help getpv)
+%  3. FreshDataFlag  (see help getpv)
+%  4. TimeOutPeriod  (see help getpv)
+%  5. 'Struct' will return a data structure
+%     'Numeric' will return a vector output {default}
+%  6. 'Archive' will save a BPM data structure to \<DataRoot>\BPM\
+%      with filename BPMy<Date><Time>.mat
+%
+%  OUTPUTS
+%  1. AM = orbit vector or data structure
+%  2. tout  (see help getpv)
+%  3. DataTime
+%  4. ErrorFlag  (see help getpv)
+%
+%  NOTE
+%  1. 'Struct', 'Numeric', and 'Archive' are not case sensitive
+%  2. All inputs are optional
+%
+%  EXAMPLE
+%  1. <a href="matlab: plot(getspos(gethbpmfamily),getabcd); xlabel('BPM Position [meters]'); ylabel('Horizontal Orbit');">plot(getabcd);</a>
+%
+%  See also gety, getbpm, getam, getpv
+%
+%  Written by Greg Portmann
+
+
+%  Family = gethbpmfamily;
+Family = 'BPMx'; % faster
+
+
+% Get input flags
+StructOutputFlag = 0;
+ArchiveFlag = 0;
+for i = length(varargin):-1:1
+    if isstr(varargin{i})
+        if strcmpi(varargin{i},'struct')
+            StructOutputFlag = 1;
+            %varargin(i) = [];
+        elseif strcmpi(varargin{i},'numeric')
+            StructOutputFlag = 0;
+            %varargin(i) = [];
+        elseif strcmpi(varargin{i},'archive')
+            ArchiveFlag = 1;
+            varargin(i) = [];
+        end
+    end
+end
+
+devName = family2tangodev('BPMx', []);
+SwitchingFlag = 1;
+Kx = 11.4; % mm
+Kz = 11.4; % mm
+
+for k=1:length(devName)
+
+    attributes = {'XPosSA', 'ZPosSA', 'VaSA', 'VbSA', 'VcSA', 'VdSA', 'SumSA', 'QuadSA'};
+    rep = tango_read_attributes2(devName{k}, attributes);
+    for ik =1:8,
+        data.(rep(ik).name) = rep(ik).value;
+    end
+
+    % get data from TANGO static database
+    [libera_RF_offset,block_offset,BBA_offset,survey_offset]=get_bpm_offsets(devName{k});
+
+    % Direct Build data
+        Sumbuild = sum([data.(rep(3).name); data.(rep(4).name); data.(rep(5).name); data.(rep(6).name)]);
+
+        Xbuild = Kx*(data.(rep(3).name)-data.(rep(4).name)-data.(rep(5).name)+data.(rep(6).name))./Sumbuild - ...
+            (block_offset(1)+survey_offset(1)+BBA_offset(1));
+        Zbuild = Kz*(data.(rep(3).name)+data.(rep(4).name)-data.(rep(5).name)-data.(rep(6).name))./Sumbuild - ...
+            (block_offset(2)+survey_offset(2)+BBA_offset(2));
+
+        if ~SwitchingFlag
+            Xbuild = Xbuild - libera_RF_offset(1);
+            Zbuild = Zbuild - libera_RF_offset(2);
+        end
+     AM(k) = data;
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmBBAoffsets.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmBBAoffsets.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmBBAoffsets.m	(revision 17)
@@ -0,0 +1,87 @@
+function [offsets_X,offsets_Z, DeviceList] = getbpmBBAoffsets(varargin)
+%GETBPMBBAOFFSETS- Reads the current BBA offset stored int the TANGO static database
+%
+%  OUTPUTS
+%  1. offsets_X - Horizontal BPM BBA offsets
+%  2. offsets_Z - Vertical BPM BBA offsets
+
+%
+%% Written by N. Hubert
+%  Modified June 2009, Add plot Laurent S. Nadolski
+
+% TODO
+% WARNING if BPM added not working. Need to define device list !!!
+
+
+DisplayFlag = 1;
+
+% Switchyard
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 0;
+    end
+end
+
+if ~isempty(varargin)
+    AskedDevList = varargin{1};
+    DisplayFlag = 0;
+end
+
+X_offset_BBA=0;
+Z_offset_BBA=0;
+
+increment=1;
+Correspondance=tango_get_db_property('BPM','DeviceParameters');
+block_table=tango_get_db_property('BPM','BlockParameters');
+
+for i=1:1:size(Correspondance,2)
+    index=regexpi(Correspondance{i},'ANS-C');
+    if ~isempty(index)
+        BPM_name=Correspondance{i}(index:index+15);
+        block_name=Correspondance{i}(index+17:index+24);
+        for j=1:1:size(block_table,2)
+            index3=regexpi(block_table{j},[block_name,':']);
+            if ~isempty(index3)
+                separator=regexpi(block_table{j},':');
+                X_offset_BBA(increment) = str2num(block_table{j}(separator(8)+1:separator(9)-1));
+                Z_offset_BBA(increment) = str2num(block_table{j}(separator(10)+1:separator(11)-1));
+                BPM(increment,:)=BPM_name;
+                DeviceList(increment,:) = tangodev2dev(BPM_name); % Build up device list
+                increment = increment+1;
+            end
+        end
+    end
+end
+
+
+% 3 lines to be removes if calling programmes use the device list
+offsets_X = [X_offset_BBA(2:end) X_offset_BBA(1)]';
+offsets_Z = [Z_offset_BBA(2:end) Z_offset_BBA(1)]';
+DeviceList = [DeviceList(2:end,:); DeviceList(1,:)];
+
+if exist('AskedDevList', 'var')
+   Idx = findrowindex(AskedDevList, DeviceList);
+   offsets_X  = offsets_X(Idx);
+   offsets_Z  = offsets_Z(Idx);
+   DeviceList = DeviceList(Idx,:);
+end
+
+
+if DisplayFlag
+    figure
+    spos = getspos('BPMx');
+    h1 = subplot(5,1,[1 2]);
+    plot(spos, offsets_X, '.-')
+    ylabel('X BBA Offsets (mm)')
+    grid on;
+    h2 = subplot(5,1,3);
+    drawlattice
+    h3 = subplot(5,1,[4 5]);
+    plot(spos, offsets_Z, '.-')
+    ylabel('Z BBA Offsets (mm)')
+    grid on;
+    linkaxes([h1 h2 h3], 'x')
+    addlabel(1,0,sprintf('%s', datestr(clock,0)));
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmagcgain.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmagcgain.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmagcgain.m	(revision 17)
@@ -0,0 +1,20 @@
+function gain = getbpmagcgain
+% GETBPMGAIN - Get automatic Gain from BPM dedicated for tune measurement.
+%
+%  OUPUTS
+%  1. gain : Gain in dBm
+% 
+%  NOTES:
+%  1. The BPM for Tune has alway its AGC set to 1. 
+%  2. 10 Janray 2010. Timing borad (and electronics) is hosted in C08
+%
+
+%% Written by Laurent S.Nadolski
+% 9th December 2010 - Add NaN if not only
+
+
+if strcmp(family2mode('BPMx'), 'Online')
+    gain = readattribute('ANS-C09/DG/BPM.NOD/Gain');
+else
+    gain = NaN;
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmaverages.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmaverages.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmaverages.m	(revision 17)
@@ -0,0 +1,24 @@
+function [N, T] = getbpmaverages(varargin)
+%GETBPMAVERAGES - Gets the BPM averages
+% [N, T] = getbpmaverages
+%  N = Number of averages
+%  T = Sampling period after averaging [seconds]
+
+%
+%  In Simlutor mode, N = 1 and T = 0
+%  Modified by Laurent s. Nadolski
+%  TODO Parametre TANGO a definir pour les moyennes
+%
+% Add varargin for compliance with other codes
+
+Mode = getfamilydata('BPMx','Monitor','Mode');
+if strcmpi(Mode,'Simulator')    
+    N = 1;
+    T = 0;    
+elseif strcmpi(Mode,'Special')
+    N = 1;
+    T = 0;
+else
+    N = 1;
+    T = 0.1;
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmbycell.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmbycell.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmbycell.m	(revision 17)
@@ -0,0 +1,25 @@
+function devlist = getbpmbycell(argin)
+%GETBPMBYCELL - Return devicelist of BPM in a given cell
+%
+%  OUTPUT
+%  1. cell number 
+%
+%  Example:
+%  1. getbpmbycell(4) - Get bpm from cell 4
+%  2. getbpmbycell((1:4)) - Get bpms from cell 1 to 4
+%  3. getbpmbycell([1 5 9 13]) - Get bpms from cell 1 to 4
+%
+%  See Also getbpmbyrack
+
+%
+%  Written by Laurent S. Nadolski
+
+cellNumber = argin;
+
+BPMDevList = family2dev('BPMx');
+
+devlist = [];
+for k = 1:length(cellNumber),
+    Idx = (BPMDevList(:,1) == cellNumber(k));
+    devlist = [devlist; BPMDevList(Idx,:)];
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmbyrack.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmbyrack.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmbyrack.m	(revision 17)
@@ -0,0 +1,54 @@
+function devlist = getbpmlistbyrack(argin)
+%GETBPMLISTBYRACK - Return devicelist of BPM in a given rack
+%
+%  OUTPUT
+%  1. rack number 
+%
+%  See Also getbpmbycell
+
+% TODO
+% This is badly written. It should not use elemlist
+% This will not work when adding BPMs in the SR
+
+%
+%  Written by Laurent S. Nadolski
+
+cellNumber = argin;
+elem = family2elem('BPMx');
+
+switch cellNumber
+    case 1
+        elem = elem(1:7);
+    case 2
+        elem = elem(8:15);
+    case 3
+        elem = elem(16:23);
+    case 4
+        elem = elem(24:30);
+    case 5
+        elem = elem(31:37);
+    case 6
+        elem = elem(38:45);
+    case 7
+        elem = elem(46:53);
+    case 8
+        elem = elem(54:60);
+    case 9
+        elem = elem(61:67);
+    case 10
+        elem = elem(68:75);
+    case 11
+        elem = elem(76:83);
+    case 12
+        elem = elem(84:90);
+    case 13
+        elem = elem(91:97);
+    case 14
+        elem = elem(98:105);
+    case 15
+        elem = elem(106:113);
+    case 16
+        elem = elem(114:120);
+end
+
+devlist = elem2dev('BPMx',elem);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmgroup.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmgroup.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmgroup.m	(revision 17)
@@ -0,0 +1,63 @@
+function [AM, tout, DataTime, ErrorFlag] = getbpmgroup(varargin)
+%GETBPMGROUP - Gets vertical orbit read into valid BPMS using TANGO groups
+%
+%  INPUTS
+%  1. Familyname
+%  2. Field
+%  3. DeviceList - BPM devicelist
+%  4. time
+%
+%  OUTPUTS
+%  1. AM - horizontal beam position
+%
+% NOTES
+% First shot
+
+
+%
+% Written by Laurent S. Nadolski
+
+t0 = clock;  % starting time for getting data
+DataTime = 0;
+ErrorFlag = 1;
+Field = 'Monitor';
+DeviceListTotal = family2dev('BPMz');
+
+if isempty(varargin)
+    DeviceList = DeviceListTotal;
+else
+    DeviceList = varargin{3};
+end
+
+GroupID = getfamilydata('BPMx', 'GroupId');
+
+R = tango_group_read_attributes(GroupID, {'XPosSA', 'ZPosSA'}, 0);
+
+if tango_error
+    tango_print_error_stack;
+    ErrorFlag = 1;
+    tout = etime(clock, t0);
+    return;
+else
+    if R.has_failed > 0
+        ErrorFlag = 1;
+        for k=1:length(R.dev_replies),
+            if R.dev_replies(k).hasfailed
+                fprintf('BPM %s has failed \n', R.dev_replies(k).dev_name)
+            end
+        end
+        ErrorFlag = 1;
+        tout = etime(clock, t0);
+        return;
+    end
+end
+
+% construct data
+for k = 1:length(R.dev_replies),
+    AM(k,1) = R.dev_replies(k).attr_values(1).value(1);
+end
+
+tout = etime(clock, t0);
+DataTime = R.dev_replies(1).attr_values(1).time; %time when data was measured accordint to Tango system
+Status = findrowindex(DeviceList, DeviceListTotal);
+AM = AM(Status);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmrawdata_mat.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmrawdata_mat.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmrawdata_mat.m	(revision 17)
@@ -0,0 +1,306 @@
+function varargout = getbpmrawdata_mat(varargin)
+% GETBPMRAWDATA - Gets turn by turn data for  BPM
+%
+%  INPUTS
+%  1. num - bpm number (scalar or vector) list ([] means all valid BPM)
+%
+%  Optional input arguments
+%  2. Optional display
+%     'Display'   - Plot BPM data X,Z, Sum, Q 
+%     'NoDisplay' - No plotting
+%  3. 'NoArchive' - No file archive {Default}
+%     'Archive'   - Save a dispersion data structure to \<Directory.BPMData>\<DispArchiveFile><Date><Time>.mat
+%                   To change the filename, included the filename after the 'Archive', '' to browse
+%                   Structure output  is forced
+%  4. 'Struct'    - Return out as a structure
+%  5. 'Freezing'  - Buffer freezing mechanism 
+%     'NoFreezing'
+%
+%  OUTPUTS
+%  structure output if 'Struct' precised
+%  AM
+%
+%  vector output
+%  1. X - Horizontal data
+%  2. Z - Vertical data
+%  3. Sum - Sum signal data
+%  4. Q  - Quadrupole signal data
+%  5. Va - electrode data
+%  6. Vb - electrode data
+%  7. Vc - electrode data
+%  8. Vd - electrode data
+%
+%  EXAMPLES
+%  1. Display BPM 18
+%      getbpmrawdata(18)
+%  2. Display all valid BPM and output data as a structure
+%      getbpmrawdata([],'Struct');
+%  3. Output all valid BPM data
+%      [X Z Sum Q Va Vb Vc Vd] = getbpmrawdata([],'NoDisplay');
+%  4. Archives BPM 17 and 18 w/o displaying
+%     getbpmrawdata([17 18],'Archive','NoDisplay');
+%  5. Archives BPM 17 and 18 w/o displaying w/ buffer freezing mechanism
+%     getbpmrawdata([17 18],'Archive','NoDisplay','Freezing');
+%
+% See Also anabpmfirstturn
+
+%
+% Written by Laurent S. Nadolski
+
+% TODO freezing mechanism: introduce group
+
+DisplayFlag = 1;
+ArchiveFlag = 0;
+StructureFlag = 0;
+FreezingFlag = 0;
+FileName='';
+varargin2 = {};
+
+if ~exist('DeviceName','var')
+    DeviceName = [];
+end
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        StructureFlag = 1;
+%        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+%        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Freezing')
+        FreezingFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoFreezing')
+        FreezingFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+AO = getfamilydata('BPMx');
+% if empty select all valid BPM
+
+if isempty(varargin)
+    num = 1:length(AO.DeviceName);
+else
+    num = varargin{1};
+    if isempty(num)
+        num = 1:length(AO.DeviceName);
+    end
+end
+
+% Status one devices
+valid  = find(AO.Status);
+num    = intersect(num,valid);
+
+if isempty(num)
+    disp('All BPM not valid')
+    return;
+end
+
+%
+% % read BPM number of samples
+% % If all not the same stop program and ask action to user
+% for k = 1:length(num)
+%     modestr{k} = char(readattribute([AO.DeviceName{num(k)} '/Mode']));
+% end
+% 
+% for k = 1:length(num)
+%     sampleNumber(k) = readattribute([AO.DeviceName{num(k)} '/NumSamples']);
+% end
+% 
+% notTheSame = sampleNumber-sampleNumber(1);
+% 
+% if ~all(strcmp(modestr,modestr{1}))
+%    disp([mfilename ' STOP!']); 
+%    error('Not all BPM in the same mode')
+%    return;
+% end
+% 
+% if (sum(notTheSame) ~= 0)
+%    disp([mfilename ' STOP!']); 
+%    error('Not all BPM with the same number of samples')
+%    return;
+% end
+
+%% Buffer freezing
+% Enable freezing mechanism
+if (FreezingFlag)
+%     hh = warndlg('BPMmanager must be stop and BPM mode be FT or TT');
+%     uiwait(hh);
+    disp([mfilename ': Enabling freezing mecanism']);
+    for k = 1:length(num)
+        tango_command_inout2(AO.DeviceName{num(k)},'EnableBufferFreezing');
+    end
+    disp([mfilename ': Freezing BPM: pseudo synchronism']);
+    for k = 1:length(num)
+        tango_command_inout2(AO.DeviceName{num(k)},'UnFreezeBuffer');
+    end    
+end
+
+%% loop of bpm list
+if length(num) > 1
+    AM.DeviceList=[];
+    for k = 1:length(num)   
+        
+        AM0 = getbpmrawdata_mat(num(k),varargin2{:},'Struct');
+        try
+            AM.DeviceName{k} = AM0.DeviceName{:};
+            AM.Data.X(k,:) = AM0.Data.X(:); AM.Data.Z(k,:) = AM0.Data.Z(:);
+            AM.Data.Sum(k,:) = AM0.Data.Sum(:); AM.Data.Q(k,:) = AM0.Data.Q(:);
+            AM.Data.Va(k,:) = AM0.Data.Va(:); AM.Data.Vb(k,:) = AM0.Data.Vb(:);
+            AM.Data.Vc(k,:) = AM0.Data.Vc(:); AM.Data.Vd(k,:) = AM0.Data.Vd(:);
+            AM.TimeStamp = datestr(now);
+            AM.DataDescriptor = ['Turn by turn data for ' getfamilydata('SubMachine')];
+            AM.CreatedBy = mfilename;
+            AM.DeviceList = [AM.DeviceList; AM0.DeviceList];
+        catch
+            switch lasterr
+                case 'Subscripted assignment dimension mismatch.'
+                    error('BPM do not have the same number of samples !!!')
+            end
+        end
+    end
+
+    % Disable freezing mechanism
+    if (FreezingFlag)
+        disp([mfilename ': disabling buffer freezing for BPM'])
+        for k = 1:length(num)
+            tango_command_inout2(AO.DeviceName{num(k)},'DisableBufferFreezing');
+        end
+    end
+
+else
+    %% Loop for one BPM
+    AO = getfamilydata('BPMx');
+    AO.DeviceName;
+
+    attr_name = ...
+        {'XPosDD','ZPosDD', 'QuadDD', 'SumDD', ...
+        'VaDD', 'VbDD', 'VcDD', 'VdDD'};
+    
+        
+    rep = tango_read_attributes2(AO.DeviceName{num},attr_name);
+
+    X   = rep(1).value;
+    Z   = rep(2).value;
+    Q   = rep(3).value;
+    Sum = rep(4).value;
+    Va  = rep(5).value;
+    Vb  = rep(6).value;
+    Vc  = rep(7).value;
+    Vd  = rep(8).value;
+
+    %% Display part
+
+    if DisplayFlag
+        figure
+        subplot(2,2,1)
+        plot(X)
+        ylabel('X (mm)')
+        grid on
+
+        subplot(2,2,2)
+        plot(Z)
+        ylabel('Z (mm)')
+        grid on
+
+        subplot(2,2,3)
+        plot(Sum)
+        ylabel('SUM')
+        xlabel('turn number')
+        grid on
+
+        subplot(2,2,4)
+        plot(Q)
+        ylabel('Q')
+        xlabel('turn number')
+        grid on
+        addlabel(1,0,datestr(clock));
+        suptitle(sprintf('Turn by turn data for %s',AO.DeviceName{num}))
+    end
+
+    if StructureFlag
+        AM.DeviceName = AO.DeviceName(num);
+        AM.Data.X   = X;
+        AM.Data.Z   = Z;
+        AM.Data.Sum = Sum;
+        AM.Data.Q   = Q;
+        AM.Data.Va  = Va;
+        AM.Data.Vb  = Vb;
+        AM.Data.Vc  = Vc;
+        AM.Data.Vd  = Vd;
+        %time stamp of recording
+        AM.TimeStamp = datestr(now);
+        AM.DataDescriptor = ['Turn by turn data for ' getfamilydata('Machine')];
+        AM.CreatedBy = mfilename;
+        AM.DeviceList = tango2dev(AO.Monitor.TangoNames{num});
+    end
+
+end
+
+if ArchiveFlag
+    % filling up data
+    % Archive data structure
+    if isempty(FileName)
+        FileName = appendtimestamp(getfamilydata('Default', 'BPMArchiveFile'));
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = fullfile(getfamilydata('Directory','DataRoot'), 'BPM');
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [DirectoryName FileName]
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select Dispersion File', [DirectoryName FileName]);
+        if FileName == 0
+            ArchiveFlag = 0;
+            disp('   BPM measurement canceled.');
+            FileName='';
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    elseif FileName == -1
+        FileName = appendtimestamp(getfamilydata('Default', 'BPMArchiveFile'));
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = fullfile(getfamilydata('Directory','DataRoot'), 'BPM');
+        end
+        FileName = [DirectoryName, FileName];
+    end
+
+    save(FileName,'AM');
+
+end
+
+if StructureFlag
+    varargout{1} = AM;
+else
+    if exist('AM','var') % not nice but it works
+        varargout{1} = AM.Data.X; varargout{2} =   AM.Data.Z;
+        varargout{3} = AM.Data.Sum; varargout{4} =  AM.Data.Q;
+        varargout{5} = AM.Data.Va; varargout{6} =  AM.Data.Vb;
+        varargout{7} = AM.Data.Vc; varargout{8} =  AM.Data.Vd;
+    else
+        varargout{1} = X;   varargout{2} =   Z;
+        varargout{3} = Sum; varargout{4} =  Q;
+        varargout{5} = Va;  varargout{6} =  Vb;
+        varargout{7} = Vc;  varargout{8} =  Vd;
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmresp4FOFB.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmresp4FOFB.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmresp4FOFB.m	(revision 17)
@@ -0,0 +1,57 @@
+function Rmat = getbpmresp4FOFB(varargin)
+%  GETBPMRESP4FOFB - Gets the orbit response matrice for the fast orbit feedback
+%
+%  INPUTS
+%
+%  OUTPUTS
+%
+%  See Also getbpmresp
+
+%
+%%  Written by Laurent S. Nadolski
+
+% Default
+BPMtype  = 'IDBPMonly'; % 'AllBPM';
+fileName = 'BPMRespMat4FOFB_96x96.mat';
+
+for k = length(varargin):-1:1
+    if strcmpi(varargin{k},'IDBPMonly')
+        BPMtype = 'IDBPMonly';
+        varargin(k) = [];
+    elseif strcmpi(varargin{k},'AllBPM')
+        BPMtype = 'AllBPM';
+        varargin(k) = [];
+    elseif strcmpi(varargin{k},'')
+        fileName = '';
+        varargin(k) = [];
+    end
+end
+
+switch BPMtype
+    case 'IDBPMonly'
+        BPMdev = getidbpmlist;
+        fileName = 'BPMRespMat4FOFB_96x96.mat';
+    case 'AllBPM';
+        BPMdev = family2dev('BPMx');
+        fileName = 'BPMRespMat4FOFB_240x96.mat';
+end
+
+if ~strcmp('', fileName)
+    switch BPMtype
+        case 'IDBPMonly'
+            fileName = 'BPMRespMat4FOFB_96x96.mat';
+            % Add fullpath to the filename
+            fileName = [getfamilydata('Directory','BPMResponse') fileName];
+        case 'AllBPM';
+            fileName = 'BPMRespMat4FOFB_240x96.mat';
+            % Add fullpath to the filename
+            fileName = [getfamilydata('Directory','BPMResponse') fileName];
+    end
+end
+
+if isempty(varargin) 
+    Rmat = getbpmresp('BPMx', BPMdev, 'BPMz', BPMdev, 'FHCOR', 'FVCOR', fileName,'Struct');
+else
+    Rmat = getbpmresp(varargin{:}, fileName);
+end
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsnifferoffset.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsnifferoffset.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsnifferoffset.m	(revision 17)
@@ -0,0 +1,12 @@
+function [hoffset voffset] = getbpmsnifferoffset
+% GETBPMSNIFFEROFFSET - get BPM offset between orbit from sniffer and 10 Hz data flow
+%
+%
+% See Also getsnifferoffset
+
+dirName = '/home/operateur/GrpPhysiqueMachine/Laurent/matlab/FOFB/';
+fileName = 'offset_sniffer_10Hz';
+A = load([dirName fileName]);
+
+hoffset = A.hoffset;
+voffset = A.voffset;
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsoleil.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsoleil.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsoleil.m	(revision 17)
@@ -0,0 +1,57 @@
+function [BPM, Error] = getbpmsoleil(varargin)
+%GETBPMSOLEIL - Returns ??? 
+%[BPM, Error] = getbpmsoleil(MeasType, DeviceList)
+%
+% INPUTS
+% 1. MeasType - 'horizontal'
+%               'vertical'   
+% 2. DeviceList - list of bpms
+%
+% OUTPUTS
+% 1. BPM - Values read in BPMs
+% 2. Error - 0 if OK
+%
+% TODO
+% 1. To be rewrite
+
+%
+% Written by Laurent S. Nadolski
+
+Error = 0;
+MeasType = 'Horizontal';
+
+for k = length(varargin):-1:1,
+    if strcmpi(varargin{k}, 'Horizontal')
+        MeasType = 'Horizontal';
+        varargin(k) = [];
+    elseif strcmpi(varargin{1}, 'Vertical')
+        MeasType = 'Vertical';
+        varargin(k) = [];
+    end
+end
+    
+if isempty(varargin)
+    DeviceList = family2dev('BPMx');
+else
+    DeviceList = varargin{1}
+end
+    
+[BPM(:,1) BPM(:,2)] = soleilbpms(DeviceList);
+
+BPM = BPM';
+
+if strcmpi(MeasType, 'Horizontal')
+    BPM = BPM(1,:);  
+elseif strcmpi(MeasType, 'Vertical')
+    BPM = BPM(2,:);
+% case 'sum'
+%     BPM = BPM(3,:);
+% case 'q'
+%     BPM = BPM(4,:);
+%     %case 'A'
+%    % BPM = BPM(4,:).*BPM(4,:);
+else
+    error('BPM measurement unknown');
+end
+
+BPM = BPM(:);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsum.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsum.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmsum.m	(revision 17)
@@ -0,0 +1,96 @@
+function [X Z Sum]=getbpmsum(varargin)
+%GETBPMSUM - Get Sum vector for BPM and display it
+%
+%
+%
+%  See Also getbpmrawdata
+
+%
+%% Written by Laurent S. Nadolski
+
+%% UGLY PATCH 122 by HAND
+
+DisplayFlag = 1;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+% BPM avec status = 1
+indexBPMStatusTo1 = family2status('BPMx') & family2status('BPMz');
+
+% Filtre sur l'index des BPMs (ElementList) avec status = 1  
+BPMlist = getfamilydata('BPMx','ElementList');
+BPMlist = BPMlist(indexBPMStatusTo1);
+
+% Filtre sur le nom des BPMs (DeviceList) avec status = 1
+BPMDlist = getfamilydata('BPMx','DeviceList');
+BPMDlist = BPMDlist(indexBPMStatusTo1,:);
+
+spos = getspos('BPMx');
+Vect = getbpmrawdata(BPMDlist,'Nodisplay','Struct');
+
+Sum = Vect.Data.Sum;
+X = Vect.Data.X;
+Z = Vect.Data.Z;
+[maxSum idx] = max(Sum');
+
+%idx2 = sub2ind(size(AM.Data.Sum), xpos, idx+ishift)
+
+% figure
+% mesh(Vect.Data.Sum)
+
+xdeb=0;
+xfin=350;
+
+xmax=10;
+%xfin=getcircumference;
+
+%&Ã©"idx(1) = 7;
+figure(205)
+h1 = subplot(7,1,[1 2]);
+plot(spos,maxSum,'.-');
+ylabel('Sum Signal Amplitude (u.a.)');
+xaxis([xdeb xfin]);yaxis([0 2*5e08]);
+
+h2 = subplot(7,1,[3 4]);
+plot(spos,X(BPMlist,idx(1)),'.-b');
+% hold on
+% plot(spos,X(1:120,idx(1)+1),'.-r');
+% hold off
+ylabel('X Amplitude (mm)');
+yaxis([-xmax xmax]);xaxis([xdeb xfin]);
+
+h3 = subplot(7,1,[5 6]);
+plot(spos,Z(BPMlist,idx(1)),'.-b');
+% hold on
+% plot(spos,Z(1:120,idx(1))+1,'.-r');
+% hold off
+ylabel('Z Amplitude (mm)');
+yaxis([-xmax xmax]);xaxis([xdeb xfin]);
+
+h4 = subplot(7,1,7);
+drawlattice 
+set(h4,'YTick',[])
+xaxis([xdeb xfin]);
+
+grid on
+xlabel('s [mm]');
+
+linkaxes([h1 h2 h3 h4],'x')
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+%xaxis([0 100])
+
+addlabel(1,0,datestr(clock));
+
+% Output data
+X    = X(BPMlist,idx(1));
+Z    = Z(BPMlist,idx(1));
+Sum  = Sum(BPMlist,idx(1));
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getbpmxsum.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getbpmxsum.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getbpmxsum.m	(revision 17)
@@ -0,0 +1,11 @@
+function [X Z] = getbpmsum
+%GETBPMSUM - Get Sum vector for BPM and display it
+%
+%
+%
+%  See Also getbpmrawdata
+
+%
+%% Written by Laurent S. Nadolski
+
+X =getbpmsum;
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getdipolesourcepoint.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getdipolesourcepoint.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getdipolesourcepoint.m	(revision 17)
@@ -0,0 +1,258 @@
+function  [position angle T] = getdipolesourcepoint(varargin)
+%GETDIPOLESOURCEPOINT - Computes beam position and angle at the entrance of a dipole
+%                       knowing beam position in upstream and downstream BPMs
+%
+%  INPUTS
+%  1. BeamLine - 'ODE', 'DIFFABS', 'SAMBA'
+%  FLAGS
+%  'Physics', 'Hardware'
+%  'DISPLAY'
+%  'Table'
+%
+%  OUTPUTS
+%  1. position - H and V beam position in mm {Default} at Dipole entrance
+%  2. angle - H and V beam divergence in mrad {Default} at dipole entrance
+%  3. T - matrix for computing position [Âµm] and angle [Âµrad]
+%
+%  ALGORITHM
+%  Use transfert matrix formalism
+%  indices : 1 upstream BPM, 2 downstream BPM
+%            (x,x') wanted quantities
+%  x   = R11*x1 + R12*x1'
+%  x'  = R21*x1 + R22*x1'
+%  x2  = U11*x  + R12*x'
+%  x2' = U21*x  + R22*x'
+%
+%
+%  NOTES
+%  1. Results depends on the corrector strength in between the BPMs and the dipole
+%     Firsts estimation shows this can be neglected as a first guess
+%  2. Results are expressed at the entrance of the dipole (as a reference) and not
+%     at exactly the photon exit port.
+%
+
+%
+%  Written by Laurent S. Nadolski
+
+UnitsFlag = 'Hardware';
+DisplayFlag = 0;
+BeamLine = {};
+TableFlag = 0;
+
+FullList = {'ODE', 'SMIS', 'AILES', 'MARS', 'DISCO', 'METRO','SAMBA', 'DIFFABS'};
+
+if isempty(varargin)
+    BeamLine = FullList
+end
+
+for i = length(varargin):-1:1
+    if iscell(varargin{i})
+        BeamLine =  varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Physics')
+        UnitsFlag = varargin(i);
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Hardware')
+        UnitsFlag = varargin(i);
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Table')
+        TableFlag = 1;
+        varargin(i) = [];
+    elseif any(strcmpi(varargin{i},FullList))
+        BeamLine =  [BeamLine, varargin{i}];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i}, 'All')
+        BeamLine =  FullList;
+        varargin(i) = [];
+    end
+end
+
+global THERING
+
+%%
+% ODE     second dipole of cell 01 exit port 1Â°
+% SMIS    first dipole of cell 02
+% AILES   first dipole of cell 03
+% MARS    first dipole of cell 03
+% DISCO   second dipole of cell 04 exit port 1Â°
+% METRO   second dipole of cell 05 exit port 1Â°
+% SAMBA   second dipole of cell 09 exit port 1Â°
+% DIFFABS second dipole of cell 13 exit port 1Â°
+
+% Dipole
+DipoleAtindex = family2atindex('BEND');
+
+for k1 = 1: length(BeamLine),
+    switch BeamLine{k1}
+        case 'ODE'
+            BPMDeviceList = [1 6; 1 7];
+            PortIdx = DipoleAtindex(2);
+        case 'SMIS'
+            BPMDeviceList = [2 3; 2 4];
+            PortIdx = DipoleAtindex(3);
+        case 'MARS'
+            BPMDeviceList = [3 3; 3 4];
+            PortIdx = DipoleAtindex(5);
+        case 'AILES'
+            BPMDeviceList = [3 3; 3 4];
+            PortIdx = DipoleAtindex(5);
+        case 'DISCO'
+            BPMDeviceList = [4 6; 4 7];
+            PortIdx = DipoleAtindex(8);
+        case 'METRO'
+            BPMDeviceList = [5 6; 5 7];
+            PortIdx = DipoleAtindex(10);
+        case 'SAMBA'
+            BPMDeviceList = [9 6; 9 7];
+            PortIdx = DipoleAtindex(18);
+        case 'DIFFABS'
+            BPMDeviceList = [13 6; 13 7];
+            PortIdx = DipoleAtindex(26);
+        otherwise
+            error('Beamline not known')
+    end
+
+    BPMIdx = family2atindex('BPMx', BPMDeviceList);
+
+    % save and zero corrector in the model
+    hcm0 = getsp('HCOR', 'Model');
+    vcm0 = getsp('VCOR', 'Model');
+
+    setsp('HCOR', 0, 'Model');
+    setsp('VCOR', 0, 'Model');
+
+    % Computes Transfer matrix between first BPM and exit port
+    M44full = eye(4);
+    for k = BPMIdx(1):PortIdx-1,
+        R = findelemm44(THERING{k},THERING{k}.PassMethod,[0 0 0 0 0 0]');
+        M44full = R*M44full;
+    end
+    R = M44full;
+
+    % Computes Transfer matrix between both BPMs
+    M44full = eye(4);
+    for k = BPMIdx(1):BPMIdx(2),
+        U = findelemm44(THERING{k},THERING{k}.PassMethod,[0 0 0 0 0 0]');
+        M44full = U*M44full;
+    end
+    U = M44full;
+
+
+    % restore corrector in the model
+    setsp('HCOR', hcm0, 'Model');
+    setsp('VCOR', vcm0, 'Model');
+
+    % Computes Matrix to get position and angle at exit port knowing Position at upstream and downstream BPMs
+    T = eye(4);
+    T(1,1) = (R(1,1) - R(1,2)*U(1,1)/U(1,2));
+    T(3,3) = (R(3,3) - R(3,4)*U(3,3)/U(3,4));
+    T(1,2) = R(1,2)/U(1,2);
+    T(3,4) = R(3,4)/U(3,4);
+    T(2,1) = (R(2,1) - R(2,2)*U(1,1)/U(1,2));
+    T(4,3) = (R(4,3) - R(4,4)*U(3,3)/U(3,4));
+    T(2,2) = R(2,2)/U(1,2);
+    T(4,4) = R(4,4)/U(3,4);
+
+    %
+    PosAngle = T*[getam('BPMx', BPMDeviceList,'Physics'); getam('BPMz', BPMDeviceList,'Physics')];
+
+    % convert back to Physics units per defaults
+    if ~strcmpi(UnitsFlag,'Physics')
+        position(k1, :) = physics2hw('BPMx', 'Monitor', PosAngle([1 3]), BPMDeviceList);
+        angle(k1, :)    = physics2hw('BPMx', 'Monitor', PosAngle([2 4]), BPMDeviceList);
+    end
+
+    % Tables to put into TANGO
+    if TableFlag
+        fprintf('%s Tij  %s and %s \n', BeamLine{k1}, cell2mat(family2tango('BPMx',BPMDeviceList(1,:))), cell2mat(family2tango('BPMx',BPMDeviceList(2,:))));
+        fprintf('T11 = % f T12 = % f\n',   T(1,1)*1e3, T(1,2)*1e3);
+        fprintf('T21 = % f T22 = % f\n',   T(2,1)*1e3, T(2,2)*1e3);
+        fprintf('%s Tij  %s and %s \n', BeamLine{k1}, cell2mat(family2tango('BPMz',BPMDeviceList(1,:))), cell2mat(family2tango('BPMz',BPMDeviceList(2,:))));
+        fprintf('T33 = % f T34 = % f\n',   T(3,3)*1e3, T(3,4)*1e3);
+        fprintf('T43 = % f T44 = % f\n\n', T(4,3)*1e3, T(4,4)*1e3);
+    end
+
+    if DisplayFlag
+        Orbit1 = findorbit4(THERING, 0, BPMIdx(1));
+        Orbit2 = findorbit4(THERING, 0, BPMIdx(2));
+
+        PosAngle = T*[Orbit1(1);  Orbit2(1); Orbit1(3); Orbit2(3)]
+        Orbit    = findorbit4(THERING, 0, PortIdx)
+    end
+end
+
+
+
+end
+
+function validate
+
+
+BPMIdx = family2atindex('BPMx',[1 6; 1 7]);
+
+% get transfer matrix, T, for a given element
+% T = findelemm44(THERING{15},THERING{15}.PassMethod,[0 0 0 0 0 0]')
+
+% from BPM to BPM
+M44full = eye(4);
+
+for k = BPMIdx(1):BPMIdx(2),
+    T = findelemm44(THERING{k},THERING{k}.PassMethod,[0 0 0 0 0 0]');
+    M44full = T*M44full;
+end
+
+%%
+% analytique solution
+[betx betz] = modelbeta('BPMx', [1 6; 1 7]);
+[alpx alpz] = modeltwiss('alpha', 'BPMx', [1 6; 1 7]);
+[phix phiz] = modelphase('BPMx', [1 6; 1 7]);
+
+M44fullana = eye(4);
+
+M44fullana(1,1) =  sqrt(betx(2)/betx(1))*(cos(phix(2)-phix(1)) + alpx(1)*sin(phix(2)-phix(1)));
+M44fullana(1,2) =  sqrt(betx(2)*betx(1))*sin(phix(2)-phix(1));
+M44fullana(2,1) =  -((1+alpx(1)*alpx(2)) * sin(phix(2)-phix(1)) + (alpx(2) - alpx(1))*cos(phix(2)-phix(1)))/sqrt(betx(2)*betx(1));
+M44fullana(2,2) =  (cos(phix(2)-phix(1)) - alpx(2) * sin(phix(2)-phix(1)))/sqrt(betx(2)/betx(1));
+
+M44fullana(3,3) =  sqrt(betz(2)/betz(1))*(cos(phiz(2)-phiz(1)) + alpz(1)*sin(phiz(2)-phiz(1)));
+M44fullana(3,4) =  sqrt(betz(2)*betz(1))*sin(phiz(2)-phiz(1));
+M44fullana(4,3) =  -((1+alpz(1)*alpz(2)) * sin(phiz(2)-phiz(1)) + (alpz(2) - alpz(1))*cos(phiz(2)-phiz(1)))/sqrt(betz(2)*betz(1));
+M44fullana(4,4) =  (cos(phiz(2)-phiz(1)) - alpz(2) * sin(phiz(2)-phiz(1)))/sqrt(betz(2)/betz(1));
+
+det(M44fullana)
+
+%%
+
+M44full
+M44fullana
+
+%%
+Orbit = findorbit4(THERING, 0, PortIdx)
+
+%%
+Orbit = findorbit4(THERING, 0, BPMIdx(1));
+R*Orbit(1:4)
+Orbit = findorbit4(THERING, 0, PortIdx)
+
+%%
+Orbit = findorbit4(THERING, 0, PortIdx);
+U*Orbit(1:4)
+Orbit = findorbit4(THERING, 0, BPMIdx(2))
+
+%%
+Orbit = findorbit4(THERING, 0, BPMIdx(1));
+U*R*Orbit(1:4)
+Orbit = findorbit4(THERING, 0, BPMIdx(2))
+
+%%
+Orbit1 = findorbit4(THERING, 0, BPMIdx(1));
+Orbit2 = findorbit4(THERING, 0, BPMIdx(2));
+PosAngle = T*[Orbit1(1);  Orbit2(1); Orbit1(3); Orbit2(3)]
+Orbit = findorbit4(THERING, 0, PortIdx)
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmaverage.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmaverage.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmaverage.m	(revision 17)
@@ -0,0 +1,40 @@
+function [AM, tout, DataTime, ErrorFlag] = gethbpmaverage(varargin)
+%GETHBPMAVERAGE - Gets horizontal orbit read into valid BPMS using TANGO groups
+%
+%  INPUTS
+%  1. Familyname
+%  2. Field
+%  3. DeviceList - BPM devicelist
+%  4. time
+%
+%  OUTPUTS
+%  1. AM - horizontal beam position
+%
+% NOTES
+% First shot
+
+
+%
+% Written by Laurent S. Nadolski
+
+t0 = clock;  % starting time for getting data
+DataTime = 0;
+ErrorFlag = 1;
+Field = 'Monitor';
+DeviceListTotal = family2dev('BPMx');
+
+if isempty(varargin)
+    DeviceList = DeviceListTotal;
+else
+    DeviceList = varargin{3};
+end
+
+R = tango_read_attribute2('ANS/DG/BPM-MANAGER', 'xMeanOrbit');
+
+% construct data
+AM(:,1) = R.value;
+
+tout = etime(clock, t0);
+DataTime = R.time; %time when data was measured according to Tango system
+Status = findrowindex(DeviceList, DeviceListTotal);
+AM = AM(Status);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmgroup.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmgroup.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmgroup.m	(revision 17)
@@ -0,0 +1,70 @@
+function [AM, tout, DataTime, ErrorFlag] = gethbpmgroup(varargin)
+%GETHBPMGROUP - Gets horizontal orbit read into valid BPMS using TANGO groups
+%
+%  INPUTS
+%  1. Familyname
+%  2. Field
+%  3. DeviceList - BPM devicelist
+%  4. time
+%
+%  OUTPUTS
+%  1. AM - horizontal beam position
+%
+% NOTES
+% First shot, Status flag
+%
+% See Also getvbpmgroup
+ 
+
+%
+% Written by Laurent S. Nadolski
+
+t0 = clock;  % starting time for getting data
+DataTime = 0;
+ErrorFlag = 1;
+Field = 'Monitor';
+DeviceListTotal = family2dev('BPMx');
+
+if isempty(varargin)
+    DeviceList = DeviceListTotal;
+else
+    DeviceList = varargin{3};
+end
+
+GroupID = getfamilydata('BPMx', 'GroupId');
+
+R = tango_group_read_attributes(GroupID, {'XPosSA'}, 0);
+
+if tango_error == -1
+    tango_print_error_stack;
+    ErrorFlag = 1;
+    tout = etime(clock, t0);
+    return;
+else
+    if R.has_failed > 0
+        ErrorFlag = 1;
+        for k=1:length(R.dev_replies),
+            if R.dev_replies(k).has_failed
+                tango_print_error_stack_as_it_is(R.dev_replies(k).attr_values.error);
+            end
+        end
+        ErrorFlag = 1;
+        tout = etime(clock, t0);
+        %return;
+    end
+end
+
+% construct data
+for k = 1:length(R.dev_replies),
+    if ~R.dev_replies(k).has_failed 
+        AM(k,1) = R.dev_replies(k).attr_values(1).value(1);
+    else
+        AM(k,1) = NaN;
+    end
+end
+
+tout = etime(clock, t0);
+DataTime = R.dev_replies(1).attr_values(1).time; %time when data was measured accordint to Tango system
+Status = findrowindex(DeviceList, DeviceListTotal);
+% keep only BPMs with status 1
+AM = AM(Status);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmmanager.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmmanager.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/gethbpmmanager.m	(revision 17)
@@ -0,0 +1,47 @@
+function [AM, tout, DataTime, ErrorFlag] = gethbpmmanager(varargin)
+%GETHBPMMANAGER - Gets horizontal orbit read into valid BPMS using TANGO
+%BPM manager
+%
+%  INPUTS
+%  1. Familyname
+%  2. Field
+%  3. DeviceList - BPM devicelist
+%  4. time
+%
+%  OUTPUTS
+%  1. AM - horizontal beam position
+%
+% NOTES
+% First shot
+
+
+%
+% Written by Laurent S. Nadolski
+
+t0 = clock;  % starting time for getting data
+DataTime = 0;
+ErrorFlag = 1;
+Field = 'Monitor';
+DeviceListTotal = family2dev('BPMx');
+
+if isempty(varargin)
+    DeviceList = DeviceListTotal;
+else
+    DeviceList = varargin{3};
+end
+
+
+R = tango_read_attribute2('ANS/DG/BPM-MANAGER', 'xOrbit');
+% x= zeros(120,1);
+% for k=1:50,
+%   x = x + getx;
+% end
+%  x = x /50;
+
+% construct data
+AM(:,1) = R.value;
+
+tout = etime(clock, t0);
+DataTime = R.time; %time when data was measured accordint to Tango system
+Status = findrowindex(DeviceList, DeviceListTotal);
+AM = AM(Status);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/gethturnbyturn.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/gethturnbyturn.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/gethturnbyturn.m	(revision 17)
@@ -0,0 +1,9 @@
+function [AM, tout, DataTime, ErrorFlag] = gethturnbyturn(varargin)
+
+tout = 0;
+DataTime = 0;
+ErrorFlag =1;
+
+AM = anabpmfirstturn([],varargin,'NoDisplay');
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getidbpmlist.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getidbpmlist.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getidbpmlist.m	(revision 17)
@@ -0,0 +1,81 @@
+function devlist = getidbpmlist(varargin)
+%GETIDPMLIST - Return devicelist of IDBPM
+%
+%  INPUTS
+%  1. CellNumber (optional) - cell number or seet of cell
+%
+%  OUTPUTS
+%  1. devlist - IDBPM devicelist 
+%
+%  EXAMPLES
+%  1. getidpmlist(1) - for cell 1
+%  2. getidpmlist([2 3]) - for cells 2 and 3
+
+%
+%  Written by Laurent S. Nadolski
+
+CellNumber = -1;
+
+if ~isempty(varargin)
+    CellNumber = varargin{1};
+end
+
+
+devlist = [
+1     2
+2     1
+2     2
+2     5
+2     6
+3     1
+3     2
+3     5
+3     6
+4     1
+4     2
+5     1
+5     2
+6     1
+6     2
+6     5
+6     6
+7     1
+7     2
+7     5
+7     6
+8     1
+8     2
+9     1
+9     2
+10     1
+10     2
+10     5
+10     6
+11     1
+11     2
+11     5
+11     6
+12     1
+12     2
+13     1
+13     2
+14     1
+14     2
+14     5
+14     6
+15     1
+15     2
+15     5
+15     6
+16     1
+16     2
+1     1
+];
+
+if CellNumber ~= -1
+    ind = [];
+    for k = 1:length(CellNumber)
+        ind = [ind; find(devlist(:,1) == CellNumber(k))];
+    end
+    devlist = devlist(ind,:);
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getnus.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getnus.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getnus.m	(revision 17)
@@ -0,0 +1,117 @@
+function nus = getnus
+%  Function getnus computes synchroton tune from XBPM
+%
+%  OUTPUTS
+%  1. nus in Hz
+%
+%
+%  Note: LOCUM bandwidth is 2.5 kHz,
+%  So it is not possible to measure the nominal synchrotron tune
+%
+%  See Also measmcf
+
+%%
+
+DisplayFlag = 1;
+XBPMFlag = 1;
+
+if XBPMFlag
+    % Try with first XBPM of PX1 BL
+    deviceName = 'TDL-I10-C/DG/DAQ.1';
+
+
+    rep = tango_read_attributes2(deviceName, {'channel0', 'channel1', 'channel2', 'channel3'});
+
+    % Build up X signal
+    Xsignal = 1.4*((rep(1).value+rep(4).value)-(rep(2).value+rep(3).value))./ ...
+        (rep(1).value+rep(2).value + rep(3).value+rep(4).value);
+
+    %mean(Xsignal)
+
+    XFFT = abs(fft(Xsignal));
+
+    % Build Z signal
+    Zsignal = 1.385*((rep(1).value+rep(2).value)-(rep(3).value+rep(4).value))./ ...
+        (rep(1).value+rep(2).value + rep(3).value+rep(4).value);
+
+    %mean(Zsignal)
+
+    ZFFT = abs(fft(Zsignal));
+
+    % Sampling rate is 10 kHz
+    xval = (0:length(ZFFT)-1); %
+
+    if DisplayFlag
+        figure(44)
+        clf
+        subplot(2,1,1)
+        plot(Xsignal)
+        ylabel('H value')
+        subplot(2,1,2)
+        semilogy(xval, XFFT)
+        ylabel('Amplitude (a.u.)')
+        xlabel('Frequency Hz');
+        ylim([0 max(XFFT(10:end))])
+        xlim([0 length(Xsignal)/2-1])
+    end
+
+    % look for synchrotron tune
+    % should be maximum amplitude (discarding low frequency data)
+
+    skip = 100;
+    [val, idx] = max(XFFT(skip:end-7500)); idx = idx + skip-1;
+    hold on;
+    nus = xval(idx);
+    plot(xval(idx), XFFT(idx), '*r');
+
+    fprintf('Max frequency is: %f Hz \n', nus);
+    title(sprintf('Synchrotron tune: %5.2f Hz',nus))
+
+else
+    % Try with first BPMtest
+    deviceName = 'ANS-C09/DG/BPMTEST.1';
+
+
+    rep = tango_read_attributes2(deviceName, {'XPosDD', 'ZPosDD'})
+
+    % Build up X signal
+    Xsignal = rep(1).value;
+
+    %mean(Xsignal)
+
+    XFFT = abs(fft(Xsignal));
+
+    % Build Z signal
+    Zsignal = rep(2).value;
+
+    %mean(Zsignal)
+
+    ZFFT = abs(fft(Zsignal));
+
+    % Sampling rate is 10 kHz
+    xval = (0:length(ZFFT)-1); %
+
+    if DisplayFlag
+        figure(44)
+        clf
+        subplot(2,1,1)
+        plot(Xsignal)
+        ylabel('H value')
+        subplot(2,1,2)
+        semilogy(xval, XFFT)
+        ylabel('Amplitude (a.u.)')
+        xlabel('Frequency Hz');
+        ylim([0 max(XFFT(10:end))])
+        xlim([0 length(Xsignal)/2-1])
+    end
+
+    % look for synchrotron tune
+    % should be maximum amplitude (discarding low frequency data)
+
+    [val, idx] = max(XFFT(1000:end)); idx = idx + 999;
+    hold on;
+    nus = xval(idx);
+    plot(xval(idx), XFFT(idx), '*r');
+
+    fprintf('Max frequency is: %f Hz \n', nus);
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferdifforbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferdifforbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferdifforbit.m	(revision 17)
@@ -0,0 +1,70 @@
+function [xDiffOrbit zDiffOrbit ErrorFlag] = getsnifferdifforbit(varargin)
+%GETSNIFFERORBIT - read orbit on sniffer
+%
+%  OUPUTS
+%  1.  xDiffOrbit - Horizontal orbit difference
+%  2.  zDiffOrbit - Vertical orbit difference
+%  3.  ErrorFlag  - 0 if OK
+%
+%  NOTES
+%  the sniffer board gives the orbit difference
+%  to get the orbit one needs to retrieve the golden orbit of the sniffer (FOFB)
+%
+%
+%  See Also getsnifferoffset, getsnifferorbit
+
+%
+%% Written by Laurent S. Nadolski
+
+ErrorFlag = 0;
+DisplayFlag = 0;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+% sniffer device server
+dev = 'ANS/DG/fofb-sniffer.2';
+
+len = 1; %s average time on the sniffer board
+% recording time
+tango_write_attribute2(dev,'recordLengthInSecs',len);
+% Start measurement
+tango_command_inout2(dev,'StartRecording');
+
+% pause to wait for measurements
+pause(len+1);
+
+% Check if measurement ready
+isReady = tango_read_attribute(dev,'recordReady');
+
+if isReady.value
+    % read Delta orbit on sniffer board
+    rep = tango_read_attribute2(dev, 'XPosMean');
+    xDiffOrbit = rep.value(2:121)';
+    rep = tango_read_attribute2(dev, 'ZPosMean');
+    zDiffOrbit = rep.value(2:121)';
+    fprintf('Data ready on sniffer board\n')
+
+    if DisplayFlag
+        figure
+        spos = getspos('BPMx');
+        plot(spos, xDiffOrbit*1e-6,'b'); hold on; grid on;
+        plot(spos, zDiffOrbit*1e-6,'r');
+        xlabel('s-position (m)');
+        ylabel('Position (mm)');
+        legend('H-plane', 'V-plane');
+        title('Difference orbit read on orbit sniffer')        
+    end
+else
+    disp('Not ready')
+    xDiffOrbit = -1;
+    zDiffOrbit = -1;
+    ErrorFlag = -1;
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferoffset.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferoffset.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferoffset.m	(revision 17)
@@ -0,0 +1,58 @@
+function [hoffset voffset ErrorFlag] = getsnifferoffset
+%GETSNIFFEROFFSET - Give offset between 10 Hz data and sniffer data
+%
+%  OUTPUTS
+%  1. hoffset - offset in H-plane
+%  2. voffset - offset in V-plane
+%
+%  NOTES
+%  1. sniffer data are corrected by the BBA offsets
+%
+%  See Also getsnifferorbit, getsnifferorbit, getsnifferorbit
+
+%
+%% Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+ErrorFlag = 0;
+
+% orbite du sniffer
+
+[Xsniffer Zsniffer ErrorFlag] = getsnifferorbit;
+
+if ErrorFlag
+    ErrorFlag = -1;
+    hoffset = -1;
+    voffset = -1;
+    return;
+end
+
+% Load recorded offset between 10 Hz data and data build up from sniffer
+data = load('/home/operateur/GrpPhysiqueMachine/Laurent/matlab/FOFB/offset_sniffer_10Hz', 'hoffset', 'voffset');
+
+hoffset = Xsniffer - getx;
+voffset = Zsniffer - getz;
+
+% Display part
+if DisplayFlag
+    spos = getspos('BPMx');
+
+    figure
+    subplot(2,1,1)
+    plot(spos, hoffset*1e3,'k');
+    grid on; hold on;
+    plot(spos, data.hoffset'*1e3,'r');
+    ylabel('H-orbit (micrometer)')
+    subplot(2,1,2)
+    plot(spos, voffset*1e3,'k')
+    grid on; hold on;
+    plot(spos, data.voffset'*1e3,'r');
+    ylabel('V-orbit (micrometer)')
+    xlabel('s-position (m)');
+    suptitle('Offset orbit: reference in red, actual data in black');
+end
+
+%% Save new set of data
+% hoffset = Xsniffer  - getx;
+% voffset = Zsniffer  - getz;
+% save('offset_sniffer_10Hz', 'hoffset', 'voffset');
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferorbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferorbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getsnifferorbit.m	(revision 17)
@@ -0,0 +1,61 @@
+function [xOrbit zOrbit ErrorFlag] = getsnifferorbit(varargin)
+%GETSNIFFERORBIT - read orbit on sniffer and retrieve sniffer golden orbit
+%
+%  OUPUTS
+%  1.  xOrbit - Horizontal orbit 
+%  2.  zOrbit - Vertical orbit 
+%  3.  ErrorFlag  - 0 if OK
+%
+%  NOTES
+%  the sniffer board gives the orbit difference
+%  to get the orbit one needs to retrieve the golden orbit of the sniffer (FOFB)
+%
+%
+%  See Also getsnifferoffset, getsnifferoffset
+
+%  TODO
+%  DisplayFlag
+
+%
+%% Written by Laurent S. Nadolski
+
+ErrorFlag = 0;
+DisplayFlag = 0;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+[xDiffOrbit zDiffOrbit ErrorFlag] = getsnifferdifforbit;
+
+if ~ErrorFlag
+    % Load last golden orbit used by the sniffer board and the FOFB
+    dirName = '/home/operateur/GrpDiagnostics/matlab/FOFB/GUI/golden/';
+    fileName = 'last_golden';
+    A = load([dirName fileName]);
+
+    % Orbit read on the sniffer board expressed in mm without BBA offsets
+    xOrbit = (xDiffOrbit + A.last_goldenX')*1e-6;
+    zOrbit = (zDiffOrbit + A.last_goldenZ')*1e-6;
+
+    if DisplayFlag
+        figure
+        spos = getspos('BPMx');
+        plot(spos,xOrbit,'b'); hold on; grid on;
+        plot(spos,zOrbit,'r');
+        xlabel('s-position (m)');
+        ylabel('Position (mm)');
+        legend('H-plane', 'V-plane');
+        title('Orbit read on orbit sniffer')
+
+    end
+else
+    xOrbit = -1;
+    zOrbit = -1;
+    ErrorFlag = 1;
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmaverage.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmaverage.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmaverage.m	(revision 17)
@@ -0,0 +1,49 @@
+function [AM, tout, DataTime, ErrorFlag] = getvbpmaverage(varargin)
+%GETVBPMAVERAGE - Gets horizontal orbit read into valid BPMS using TANGO
+%BPM average
+%
+%  INPUTS
+%  1. Familyname
+%  2. Field
+%  3. DeviceList - BPM devicelist
+%  4. time
+%
+%  OUTPUTS
+%  1. AM - horizontal beam position
+%
+% NOTES
+% First shot
+
+
+%
+% Written by Laurent S. Nadolski
+
+t0 = clock;  % starting time for getting data
+DataTime = 0;
+ErrorFlag = 1;
+Field = 'Monitor';
+DeviceListTotal = family2dev('BPMz');
+
+if isempty(varargin)
+    DeviceList = DeviceListTotal;
+else
+    DeviceList = varargin{3};
+end
+
+
+R = tango_read_attribute2('ANS/DG/BPM-MANAGER', 'zMeanOrbit');
+
+% x = zeros(120,1);
+% for k=1:50,
+%     x = x + getz;
+% end
+% AM = x /50;
+
+
+% construct data
+AM(:,1) = R.value;
+
+tout = etime(clock, t0);
+DataTime = R.time; %time when data was measured accordint to Tango system
+Status = findrowindex(DeviceList, DeviceListTotal);
+AM = AM(Status);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmgroup.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmgroup.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmgroup.m	(revision 17)
@@ -0,0 +1,67 @@
+function [AM, tout, DataTime, ErrorFlag] = getvbpmgroup(varargin)
+%GETHBPMGROUP - Gets vertical orbit read into valid BPMS using TANGO groups
+%
+%  INPUTS
+%  1. Familyname
+%  2. Field
+%  3. DeviceList - BPM devicelist
+%  4. time
+%
+%  OUTPUTS
+%  1. AM - horizontal beam position
+%
+% NOTES
+% First shot
+
+
+%
+% Written by Laurent S. Nadolski
+
+t0 = clock;  % starting time for getting data
+DataTime = 0;
+ErrorFlag = 1;
+Field = 'Monitor';
+DeviceListTotal = family2dev('BPMz');
+
+if isempty(varargin)
+    DeviceList = DeviceListTotal;
+else
+    DeviceList = varargin{3};
+end
+
+GroupID = getfamilydata('BPMx', 'GroupId');
+
+R = tango_group_read_attributes(GroupID, {'ZPosSA'}, 0);
+
+if tango_error == -1
+    tango_print_error_stack;
+    ErrorFlag = 1;
+    tout = etime(clock, t0);
+    return;
+else
+    if R.has_failed > 0
+        ErrorFlag = 1;
+        for k=1:length(R.dev_replies),
+            if R.dev_replies(k).has_failed
+                tango_print_error_stack_as_it_is(R.dev_replies(k).attr_values.error);
+            end
+        end
+        ErrorFlag = 1;
+        tout = etime(clock, t0);
+        %return;
+    end
+end
+
+% construct data
+for k = 1:length(R.dev_replies),    
+    if ~R.dev_replies(k).has_failed 
+        AM(k,1) = R.dev_replies(k).attr_values(1).value(1);
+    else
+        AM(k,1) = NaN;
+    end
+end
+
+tout = etime(clock, t0);
+DataTime = R.dev_replies(1).attr_values(1).time; %time when data was measured accordint to Tango system
+Status = findrowindex(DeviceList, DeviceListTotal);
+AM = AM(Status);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmmanager.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmmanager.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getvbpmmanager.m	(revision 17)
@@ -0,0 +1,47 @@
+function [AM, tout, DataTime, ErrorFlag] = getvbpmmanager(varargin)
+%GETHBPMMANAGER - Gets horizontal orbit read into valid BPMS using TANGO
+%BPM manager
+%
+%  INPUTS
+%  1. Familyname
+%  2. Field
+%  3. DeviceList - BPM devicelist
+%  4. time
+%
+%  OUTPUTS
+%  1. AM - horizontal beam position
+%
+% NOTES
+% First shot
+
+
+%
+% Written by Laurent S. Nadolski
+
+t0 = clock;  % starting time for getting data
+DataTime = 0;
+ErrorFlag = 1;
+Field = 'Monitor';
+DeviceListTotal = family2dev('BPMz');
+
+if isempty(varargin)
+    DeviceList = DeviceListTotal;
+else
+    DeviceList = varargin{3};
+end
+
+
+R = tango_read_attribute2('ANS/DG/BPM-MANAGER', 'zOrbit');
+% x= zeros(120,1);
+% for k=1:50,
+%   x = x + getx;
+% end
+%  x = x /50;
+
+% construct data
+AM(:,1) = R.value;
+
+tout = etime(clock, t0);
+DataTime = R.time; %time when data was measured accordint to Tango system
+Status = findrowindex(DeviceList, DeviceListTotal);
+AM = AM(Status);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getvturnbyturn.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getvturnbyturn.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getvturnbyturn.m	(revision 17)
@@ -0,0 +1,9 @@
+function [AM, tout, DataTime, ErrorFlag] = getvturnbyturn(varargin)
+
+tout = 0;
+DataTime = 0;
+ErrorFlag =1;
+
+[AM0 AM] = anabpmfirstturn([],varargin,'NoDisplay');
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getx.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getx.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getx.m	(revision 17)
@@ -0,0 +1,87 @@
+function [AM, tout, DataTime, ErrorFlag] = getx(varargin)
+%GETX - Returns the horizontal orbit
+%  [AM, tout, DataTime]  = getx(DeviceList, t, FreshDataFlag, TimeOutPeriod)
+%         or
+%  [AM, tout, DataTime]  = getx(DataStructure, t, FreshDataFlag, TimeOutPeriod)
+%
+%  INPUTS
+%  1. DeviceList or DataStructure  (see help getpv)
+%  2. t  (see help getpv)
+%  3. FreshDataFlag  (see help getpv)
+%  4. TimeOutPeriod  (see help getpv)
+%  5. 'Struct' will return a data structure
+%     'Numeric' will return a vector output {default}
+%  6. 'Archive' will save a BPM data structure to \<DataRoot>\BPM\
+%      with filename BPMy<Date><Time>.mat
+%
+%  OUTPUTS
+%  1. AM = orbit vector or data structure
+%  2. tout  (see help getpv)
+%  3. DataTime
+%  4. ErrorFlag  (see help getpv)
+%
+%  NOTE
+%  1. 'Struct', 'Numeric', and 'Archive' are not case sensitive
+%  2. All inputs are optional
+%
+%  EXAMPLE
+%  1. <a href="matlab: plot(getspos(gethbpmfamily),getx); xlabel('BPM Position [meters]'); ylabel('Horizontal Orbit');">plot(getx);</a>
+%
+%  See also gety, getbpm, getam, getpv
+%
+%  Written by Greg Portmann
+
+
+%  Family = gethbpmfamily;
+Family = 'BPMx'; % faster
+
+
+% Get input flags
+StructOutputFlag = 0;
+ArchiveFlag = 0;
+for i = length(varargin):-1:1
+    if isstr(varargin{i})
+        if strcmpi(varargin{i},'struct')
+            StructOutputFlag = 1;
+            %varargin(i) = [];
+        elseif strcmpi(varargin{i},'numeric')
+            StructOutputFlag = 0;
+            %varargin(i) = [];
+        elseif strcmpi(varargin{i},'archive')
+            ArchiveFlag = 1;
+            varargin(i) = [];
+        end
+    end
+end
+
+
+% Get data
+if isempty(varargin)
+    [AM, tout, DataTime, ErrorFlag] = getpv(Family, 'Monitor');
+elseif isstruct(varargin{1})
+    [AM, tout, DataTime, ErrorFlag] = getpv(varargin{:});
+else
+    [AM, tout, DataTime, ErrorFlag] = getpv(Family, 'Monitor', varargin{:});
+end
+
+if StructOutputFlag
+    % Structure output
+    AM.CreatedBy = 'getx';
+    AM.DataDescriptor = 'Horizontal Orbit';   
+end
+
+
+% Archive data structure
+if ArchiveFlag
+    DirStart = pwd;
+    FileName = appendtimestamp([getfamilydata('Default', 'BPMArchiveFile') 'x'], clock);
+    DirectoryName = getfamilydata('Directory','BPMData');
+    if isempty(DirectoryName)
+        DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM\'];
+    end
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    BPMxData = getx('struct');
+    save(FileName, 'BPMxData');
+    cd(DirStart);
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getxsoleil.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getxsoleil.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getxsoleil.m	(revision 17)
@@ -0,0 +1,13 @@
+function [BPM, Error] = getxsoleil(Family, DeviceList)
+%GETXSOLEIL - Gets horizontal position into BPMs 
+% [BPM, Error] = getxsoleil(Family, DeviceList)
+%  
+% EXAMPLE
+%  getxsoleil('BPMx', [1 2])
+%
+% See also getbpmsoleil, getzsoleil
+
+%
+% Written by Laurent S. Nadolski
+
+[BPM, Error] = getbpmsoleil('Horizontal', DeviceList);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/gety.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/gety.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/gety.m	(revision 17)
@@ -0,0 +1,85 @@
+function [AM, tout, DataTime, ErrorFlag] = getz(varargin)
+%getz - Returns the vertical orbit
+%  [AM, tout, DataTime]  = getz(DeviceList, t, FreshDataFlag, TimeOutPeriod)
+%         or
+%  [AM, tout, DataTime]  = getz(DataStructure, t, FreshDataFlag, TimeOutPeriod)
+%
+%  INPUTS
+%  1. DeviceList or DataStructure  (see help getpv)
+%  2. t  (see help getpv)
+%  3. FreshDataFlag  (see help getpv)
+%  4. TimeOutPeriod  (see help getpv)
+%  5. 'Struct' will return a data structure
+%     'Numeric' will return a vector output {default}
+%  6. 'Archive' will save a BPM data structure to \<DataRoot>\BPM\
+%      with filename BPMz<Date><Time>.mat
+%
+%  OUTPUTS
+%  1. AM = orbit vector or data structure
+%  2. tout  (see help getpv)
+%  3. DataTime
+%  4. ErrorFlag  (see help getpv)
+%
+%  NOTE
+%  1. 'Struct', 'Numeric', and 'Archive' are not case sensitive
+%  2. All inputs are optional
+%
+%  EXAMPLE
+%  1. <a href="matlab: plot(getspos(getvbpmfamily),getz); xlabel('BPM Position [meters]'); ylabel('Vertical Orbit');">plot(getz);</a>
+%
+%  See also getx, getbpm, getam, getpv
+
+%
+%  Written by Gregory J. Portmann
+
+Family = 'BPMz'; %getvbpmfamily; % Too slow with generic name > 0.3 s
+
+
+% Get input flags
+StructOutputFlag = 0;
+ArchiveFlag = 0;
+for i = length(varargin):-1:1
+    if isstr(varargin{i})
+        if strcmpi(varargin{i},'struct')
+            StructOutputFlag = 1;
+            %varargin(i) = [];
+        elseif strcmpi(varargin{i},'numeric')
+            StructOutputFlag = 0;
+            %varargin(i) = [];
+        elseif strcmpi(varargin{i},'archive')
+            ArchiveFlag = 1;
+            varargin(i) = [];
+        end
+    end
+end
+
+
+% Get data
+if isempty(varargin)
+    [AM, tout, DataTime, ErrorFlag] = getpv(Family, 'Monitor');
+elseif isstruct(varargin{1})
+    [AM, tout, DataTime, ErrorFlag] = getpv(varargin{:});
+else
+    [AM, tout, DataTime, ErrorFlag] = getpv(Family, 'Monitor', varargin{:});
+end
+
+if StructOutputFlag
+    % Structure output
+    AM.CreatedBy = 'getz';
+    AM.DataDescriptor = 'Vertical Orbit';
+end
+
+
+% Archive data structure
+if ArchiveFlag
+    DirStart = pwd;
+    FileName = appendtimestamp([getfamilydata('Default', 'BPMArchiveFile') 'z'], clock);
+    DirectoryName = getfamilydata('Directory','BPMData');
+    if isempty(DirectoryName)
+        DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM\'];
+    end
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    BPMyData = getz('struct');
+    save(FileName, 'BPMyData');
+    cd(DirStart);
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getz.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getz.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getz.m	(revision 17)
@@ -0,0 +1,85 @@
+function [AM, tout, DataTime, ErrorFlag] = getz(varargin)
+%getz - Returns the vertical orbit
+%  [AM, tout, DataTime]  = getz(DeviceList, t, FreshDataFlag, TimeOutPeriod)
+%         or
+%  [AM, tout, DataTime]  = getz(DataStructure, t, FreshDataFlag, TimeOutPeriod)
+%
+%  INPUTS
+%  1. DeviceList or DataStructure  (see help getpv)
+%  2. t  (see help getpv)
+%  3. FreshDataFlag  (see help getpv)
+%  4. TimeOutPeriod  (see help getpv)
+%  5. 'Struct' will return a data structure
+%     'Numeric' will return a vector output {default}
+%  6. 'Archive' will save a BPM data structure to \<DataRoot>\BPM\
+%      with filename BPMz<Date><Time>.mat
+%
+%  OUTPUTS
+%  1. AM = orbit vector or data structure
+%  2. tout  (see help getpv)
+%  3. DataTime
+%  4. ErrorFlag  (see help getpv)
+%
+%  NOTE
+%  1. 'Struct', 'Numeric', and 'Archive' are not case sensitive
+%  2. All inputs are optional
+%
+%  EXAMPLE
+%  1. <a href="matlab: plot(getspos(getvbpmfamily),getz); xlabel('BPM Position [meters]'); ylabel('Vertical Orbit');">plot(getz);</a>
+%
+%  See also getx, getbpm, getam, getpv
+
+%
+%  Written by Gregory J. Portmann
+
+Family = 'BPMz'; %getvbpmfamily; % Too slow with generic name > 0.3 s
+
+
+% Get input flags
+StructOutputFlag = 0;
+ArchiveFlag = 0;
+for i = length(varargin):-1:1
+    if isstr(varargin{i})
+        if strcmpi(varargin{i},'struct')
+            StructOutputFlag = 1;
+            %varargin(i) = [];
+        elseif strcmpi(varargin{i},'numeric')
+            StructOutputFlag = 0;
+            %varargin(i) = [];
+        elseif strcmpi(varargin{i},'archive')
+            ArchiveFlag = 1;
+            varargin(i) = [];
+        end
+    end
+end
+
+
+% Get data
+if isempty(varargin)
+    [AM, tout, DataTime, ErrorFlag] = getpv(Family, 'Monitor');
+elseif isstruct(varargin{1})
+    [AM, tout, DataTime, ErrorFlag] = getpv(varargin{:});
+else
+    [AM, tout, DataTime, ErrorFlag] = getpv(Family, 'Monitor', varargin{:});
+end
+
+if StructOutputFlag
+    % Structure output
+    AM.CreatedBy = 'getz';
+    AM.DataDescriptor = 'Vertical Orbit';
+end
+
+
+% Archive data structure
+if ArchiveFlag
+    DirStart = pwd;
+    FileName = appendtimestamp([getfamilydata('Default', 'BPMArchiveFile') 'z'], clock);
+    DirectoryName = getfamilydata('Directory','BPMData');
+    if isempty(DirectoryName)
+        DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM\'];
+    end
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    BPMyData = getz('struct');
+    save(FileName, 'BPMyData');
+    cd(DirStart);
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/getzsoleil.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/getzsoleil.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/getzsoleil.m	(revision 17)
@@ -0,0 +1,13 @@
+function [BPM, Error] = getzsoleil(Family, DeviceList)
+%GETZSOLEIL - Get vertical position tinto BPMs 
+% [BPM, Error] = getzsoleil(Family, DeviceList)
+%  
+% EXAMPLE
+%  getzsoleil('BPMz', [1 2])
+%
+% See also getbpmsoleil, getzsoleil
+
+%
+% Written by Laurent S. Nadolski
+
+[BPM, Error] = getbpmsoleil('Vertical', DeviceList);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/mean_energyloss.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/mean_energyloss.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/mean_energyloss.m	(revision 17)
@@ -0,0 +1,18 @@
+
+%%
+etax = modeldisp('BPMx');
+
+%%
+num = 10
+deltaX = AM.Data.X(:,15+num)-AM.Data.X(:,15);
+
+deltaE = deltaX*1e-3./etax/num;
+
+hist(deltaE)
+xlabel('DeltaE/E')
+legend(sprintf('mean = %2.2e',mean(deltaE)));
+
+%%
+[AX,H1,H2]= plotyy((1:120),deltaE,(1:120),etax);
+grid on
+set(AX(1),'ylim',[-0.5 0.5]*1e-3)
Index: /trunk/machine/SOLEIL/StorageRing/bpm/measbpmphaseadvance.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/measbpmphaseadvance.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/measbpmphaseadvance.m	(revision 17)
@@ -0,0 +1,265 @@
+function measbpmphaseadvance(varargin)
+% BPMPHASEADVANCE - Measure bpmphase advance either from model or from data
+%
+%
+%  EXAMPLES
+%  1. measbpmphaseadvance('file', 'BPMTurnByTurn_2009-03-16_reboot_2kV_4kV.mat')
+%
+%
+%  See Also
+%  anabetaturnbyturn, getbpmrawdata
+
+
+
+%
+%% Written by Laurent S. Nadolski
+
+ModelFlag = 0;
+DisplayFlag = 1;
+FileFlag = 0;
+RadianFlag = 0; % 1 - for angle in radians 0 - for angle in degrees
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'struct')
+        StructOutputFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'numeric')
+        NumericOutputFlag = 1;
+        StructOutputFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'noarchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator') | strcmpi(varargin{i},'Model')
+        ModelFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Online')
+        ModelFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'manual')
+        ModeFlag = varargin(i);
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Degree')
+        RadianFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Radian')
+        RadianFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'File')
+        FileFlag = 1;
+        ModelFlag = 0;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                [a a ext] = fileparts(FileName);
+                if isempty(ext)
+                    FileName = [FileName, '.mat'];
+                end
+                varargin(i+1) = [];
+            end
+        end
+        varargin(i) = [];
+    end
+end
+
+if ModelFlag
+    global THERING
+    %%
+    BPMindex = family2atindex('BPMx');
+    spos = getspos('BPMx');
+
+    %%
+    clear X01;
+    X0 = [1e-3 0 0*1e-3 0 0 0]';
+
+    nb = 1000; % turn number for tracking
+    X01 = zeros(nb, 6, length(THERING)+1);
+
+    for k=1:nb,
+        X01(k,:,:) = linepass(THERING, X0, 1:length(THERING)+1);
+        X0 = X01(k,:,end)';
+    end
+
+    % get positions
+    X = squeeze(X01(:,1,BPMindex))';
+    Z = squeeze(X01(:,3,BPMindex))';
+
+    % get tunes
+    nu = modeltune;
+
+    cosmmux = ones(length(BPMindex),1)*cos((1:nb)*2*pi*nu(1));
+    sinmmux = ones(length(BPMindex),1)*sin((1:nb)*2*pi*nu(1));
+    cosmmuz = ones(length(BPMindex),1)*cos((1:nb)*2*pi*nu(2));
+    sinmmuz = ones(length(BPMindex),1)*sin((1:nb)*2*pi*nu(2));
+
+    Ckx = sum(X.*cosmmux,2);
+    Skx = sum(X.*sinmmux,2);
+    Ckz = sum(Z.*cosmmuz,2);
+    Skz = sum(Z.*sinmmuz,2);
+
+else %Online
+    if FileFlag
+        if ~isempty(FileName) && exist(FileName, 'file')
+            a = load(FileName);
+            AM = getfield(a, 'AM');
+            bpmdevlist = dev2elem('BPMx',AM.DeviceList);
+        else
+            DirectoryName = getfamilydata('Directory','BPMData');
+            DirStart = pwd;
+            cd(DirectoryName);
+            FileName     = uigetfile('BPMTurnByTurn*.mat',DirectoryName);
+            cd(DirStart);
+            if  isequal(FileName,0)
+                disp('User pressed cancel')
+                return;
+            else
+                a = load(fullfile(DirectoryName, FileName));
+                AM = getfield(a, 'AM');
+                bpmdevlist = dev2elem('BPMx',AM.DeviceList);
+            end
+        end
+    else
+        AM = getbpmrawdata([],'Struct');
+    end
+    i1 = 50; i2 = 1000;
+    X = AM.Data.X(:,i1:i2);
+    Z = AM.Data.Z(:,i1:i2);
+
+    %nux = (calcnaff(X(1,:),X(1,:)*0,1,4))/2/pi
+    %nuz = (calcnaff(Z(1,:),Z(1,:)*0,1,4))/2/pi
+    [nux,nuz,ampx,ampz] = findfreq(X(1,:)',Z(1,:)')
+    
+    nu = [nux; nuz];
+    nu = [0.2018; 0.3167];
+    fprintf('Warning tunes used nux=%5.4f nuz=%5.4f\n', nu);
+    
+    nb = i2-i1+1;
+    len = size(X,1);
+    cosmmux = ones(len,1)*cos((1:nb)*2*pi*nu(1));
+    sinmmux = ones(len,1)*sin((1:nb)*2*pi*nu(1));
+    cosmmuz = ones(len,1)*cos((1:nb)*2*pi*nu(2));
+    sinmmuz = ones(len,1)*sin((1:nb)*2*pi*nu(2));
+
+    Ckx = sum(X.*cosmmux,2);
+    Skx = sum(X.*sinmmux,2);
+    Ckz = sum(Z.*cosmmuz,2);
+    Skz = sum(Z.*sinmmuz,2);
+
+end
+
+nb = length(Skx);
+
+% computes phases
+phikxfull = atan2(Skx,Ckx);
+phikzfull = atan2(Skz,Ckz);
+
+% Compute betatron amplitude
+Akx = 2*hypot(Ckx,Skx)/nb;
+Akz = 2*hypot(Ckz,Skz)/nb;
+
+fprintf('Horizontal betatron amplitude estimation Ak= %f mm +/- %f mm\n', ...
+    mean(Akx)*1e3, std(Akx)*1e3);
+
+fprintf('Vertical betatron amplitude estimation Ak= %f mm +/- %f mm\n', ...
+    mean(Akz)*1e3, std(Akz)*1e3);
+
+%% Display part
+if DisplayFlag
+    
+    if ~RadianFlag
+        rad2degree = 180/pi;
+        str1 = 'BPM phase advance [degree]';
+        str2 = 'BPM phase Error [degree]';
+    else
+        str1 = 'BPM phase advance [rad]';
+        str2 = 'BPM phase Error [rad]';
+    end
+
+    if ModelFlag
+        datestring = [datestr(clock,0) '(Model)'];
+    else
+        datestring = datestr(AM.TimeStamp,0);
+    end
+
+    posvect = getspos('BPMx');
+    posvect = posvect(2:end);
+    
+    figure
+    h1 = subplot(7,1,[1 3]);
+    [phiT dphikx] = phi_local(phikxfull);
+
+    plot(posvect, dphikx*rad2degree, 'r.-');hold on
+    [phix phiz] = modelphase('BPMx');
+
+    
+    dphix = diff(phix);
+    plot(posvect, dphix*rad2degree,'b.-')
+    legend('Measure','Theory')
+    ylabel(str1)
+
+    h2 = subplot(7,1,4);
+    drawlattice;
+
+    h3 = subplot(7,1,[5 7]);
+    plot(posvect, (dphikx-dphix)*rad2degree,'r.-')
+    ylabel(str2)
+    xlabel('BPM number')
+    %yaxis([20 40])
+    suptitle('Horizontal plane')
+
+    linkaxes([h1,h2,h3],'x');
+
+    addlabel(1,0,sprintf('%s', datestring));
+
+    figure
+    h1 = subplot(7,1,[1 3]);
+    [phiT dphikz] = phi_local(phikzfull);
+
+    plot(posvect, dphikz*rad2degree, 'r.-');hold on
+
+    dphiz = diff(phiz);
+    plot(posvect, dphiz*rad2degree,'b.-')
+    legend('Measure','Theory')
+    ylabel(str1)
+
+    h2 = subplot(7,1,4);
+    drawlattice;
+
+    h3 = subplot(7,1,[5 7]);
+    plot(posvect, (dphikz-dphiz)*rad2degree,'r.-')
+    ylabel(str2)
+    xlabel('BPM number')
+    suptitle('Vertical plane')
+    linkaxes([h1,h2,h3],'x');
+
+    addlabel(1,0,sprintf('%s', datestring));
+end
+
+
+%%subfunction
+function [phiT dphiT] = phi_local(phikxfull)
+
+phiT = 0;
+dphiT = [];
+for k = 2:length(phikxfull)
+    if phikxfull(k)*phikxfull(k-1) > 0
+        dphi = abs(phikxfull(k)-phikxfull(k-1));
+    else
+        dphi = abs(mod(phikxfull(k-1)-phikxfull(k),2*pi));
+    end
+    phiT = phiT + dphi;
+    dphiT(k-1) = dphi;
+end
+
+dphiT = dphiT(:);
+phiT  = phiT(:);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/measbpmresp4FOFB.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/measbpmresp4FOFB.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/measbpmresp4FOFB.m	(revision 17)
@@ -0,0 +1,39 @@
+function [R0 FileName] = measbpmresp4FOFB(varargin)
+% MEASBPMRESP4FOFB - Measures the BPM to fast corrector response matrix
+%
+%
+%
+%
+%  OUPUTS
+%  1. R0 - Response matrix
+%  2. FileName - saved filenamed if Archive flag is asked
+%
+%  NOTES
+%  1. Mainly an alias to measbpmresp
+%
+%  See Also getidbpmlist, measbpmresp
+
+%
+%% Written by Laurent S. Nadolski
+
+% Default
+BPMtype = 'AllBPM'; % 'IDBPMonly';
+
+for k = length(varargin):-1:1
+    if strcmpi(varargin{k},'IDBPMonly')
+        BPMtype = 'IDBPMonly';
+        varargin(k) = [];
+    elseif strcmpi(varargin{k},'AllBPM')
+        BPMtype = 'AllBPM';
+        varargin(k) = [];
+    end
+end
+
+switch BPMtype
+    case 'IDBPMonly'
+        IDBPM = getidbpmlist;
+    case 'AllBPM';
+        IDBPM = family2dev('BPMx');
+end
+
+[R0 FileName] = measbpmresp('BPMx',IDBPM, 'BPMz', IDBPM, 'FHCOR', 'FVCOR',varargin{:});
Index: /trunk/machine/SOLEIL/StorageRing/bpm/measbpmsigma.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/measbpmsigma.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/measbpmsigma.m	(revision 17)
@@ -0,0 +1,282 @@
+function varargout = measbpmsigma(varargin)
+%MEASBPMSIGMA - Measures the standard deviation of the BPMs
+%  [BPMxSTD, BPMzSTD, BPMx, BPMz, tout, DCCT, FileName] = measbpmsigma(t, BPMxFamily, BPMxList, BPMzFamily, BPMzList, FileName)
+%  [BPMxSTD, BPMzSTD, FileName] = measbpmsigma(... , 'Struct')
+%
+%  INPUTS
+%  1. t = time vector [seconds], or
+%         length of time in seconds to measure data (scalar) 
+%         {default: 3 minute at a sample rate of 2 Hz}
+%  2 and 4. BPMxFamily and BPMzFamily are the family names of the BPM's, {default or []: the entire list}
+%  3 and 5. BPMxList and BPMzList are the device list of BPM's, {default or []: the entire list}
+%  6. 'Struct'  will return data structures instead of vectors
+%     'Numeric' will return vector outputs {default}
+%  7.  FileName = Filename (including directory) where the data was saved (if applicable)
+%  8. 'Archive'   - save a data array structure to \<BPMData Directory>\<BPMSigmaFile><Date><Time>.mat {Default}
+%     'NoArchive' - no data will be saved to file
+%
+%  OUTPUTS
+%  For numeric output:
+%  1-2. BPMxSTD and BPMzSTD are standard deviation of the difference orbits
+%  3-4. BPMx and BPMz are the raw orbit data matrices 
+%  5. DCCT is a row vector containing the beam current
+%  6. tout is a row vector of times as returned by getam           
+%  7. FileName = Filename (including directory) where the data was saved (if applicable)
+%
+%  For structures:
+%  1-2. BPMxSTD and BPMzSTD - the standard deviations are put the Data field and the 
+%     BPMx and BPMz data are put in the RawData field.
+%  3. FileName = Filename (including directory) where the data was saved (if applicable)
+%
+%  NOTE
+%  1. All inputs are optional.  All of the following have the same output:  
+%        measbpmsigma(0:.5:180);
+%        measbpmsigma(0:.5:180, 'BPMx');
+%        measbpmsigma('BPMx');
+%        measbpmsigma('BPMx', 'BPMz');
+%        measbpmsigma('BPMx', [], 'BPMz');
+%  2. To make the measured sigma the default:
+%     First divide by the sqrt(BPMxSigma.NumberOfAverages)
+%     BPMxSigma.Data = BPMxSigma.Data / BPMxSigma.NumberOfAverages;
+%     BPMzSigma.Data = BPMzSigma.Data / BPMzSigma.NumberOfAverages;
+%     [BPMxSigma, BPMzSigma] = measbpmsigma('Struct');
+%     setphysdata(BPMxSigma,'Sigma');
+%     setphysdata(BPMzSigma,'Sigma');
+%  3. Use getsigma to get the default values
+
+%
+% Written by Gregory J. Portmann
+% Modified by Laurent S. Nadolski
+
+% Defaults
+BPMxFamily = 'BPMx';
+BPMzFamily = 'BPMz';
+BPMxList = [];   
+BPMzList = [];   
+T = 3*60; %total monitoring time
+Tsample = .5; % 2Hz by default
+t = []; % t= 0:Tsample:T
+FileName = []; %Filename for archiving
+ArchiveFlag = 1; %Archive by default
+StructOutputFlag = 0;
+OutputFileName = '';
+Navg = getbpmaverages; % number of averages
+
+% Look if 'struct' or 'numeric' in on the input line
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Struct')
+        StructOutputFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Numeric')
+        StructOutputFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+% t input
+if length(varargin) >= 1
+    if isnumeric(varargin{1})
+        t = varargin{1};
+        varargin(1) = [];
+    end
+end
+
+% Look for BPMx family info
+if length(varargin) >= 1
+    if ischar(varargin{1})
+        BPMxFamily = varargin{1};
+        varargin(1) = [];
+        if length(varargin) >= 1
+            if isnumeric(varargin{1})
+                BPMxList = varargin{1};
+                varargin(1) = [];
+            end
+        end
+    else
+        if isnumeric(varargin{1})
+            BPMxList = varargin{1};
+            varargin(1) = [];
+        end
+    end
+end
+
+% Look for BPMz family info
+if length(varargin) >= 1
+    if ischar(varargin{1})
+        BPMzFamily = varargin{1};
+        varargin(1) = [];
+        if length(varargin) >= 1
+            if isnumeric(varargin{1})
+                BPMzList = varargin{1};
+                varargin(1) = [];
+            end
+        end
+    else
+        if isnumeric(varargin{1})
+            BPMzList = varargin{1};
+            varargin(1) = [];
+        end
+    end
+end
+
+% Look for FileName info
+if length(varargin) >= 1
+    if ischar(varargin{1})
+        FileName = varargin{1};
+    end
+end
+
+if isempty(t)
+    t = 0:Tsample:T;
+end
+
+% Make a row vector
+t = t(:)';
+
+% If scalar, create a vector
+if length(t) == 1
+    t = 0:Tsample:t;
+end
+
+%---------------------------Start of process
+fprintf('   Monitoring orbit and current for %.1f seconds\n', t(end)); drawnow;
+
+if isfamily('DCCT')
+    AM = getam({BPMxFamily, BPMzFamily, 'DCCT'}, {BPMxList, BPMzList,[]}, t, 'struct');
+    DCCT = AM{3};
+else
+    AM = getam({BPMxFamily, BPMzFamily}, {BPMxList, BPMzList}, t, 'struct');
+    DCCT = [];
+end
+BPM(1) = AM{1};
+BPM(2) = AM{2};
+
+BPM(1).NumberOfAverages = Navg;
+BPM(1).RawData = BPM(1).Data;
+BPM(1).DCCT = DCCT;
+BPM(1).CreatedBy = 'measbpmsigma';
+BPM(1).DataDescriptor = 'Standard Deviation';
+
+BPM(2).NumberOfAverages = Navg;
+BPM(2).RawData = BPM(2).Data;
+BPM(2).DCCT = DCCT;
+BPM(2).CreatedBy = 'measbpmsigma';
+BPM(2).DataDescriptor = 'Standard Deviation';
+
+
+tout = BPM(1).tout;
+Mx = BPM(1).Data;
+% retrieve first value 
+for i = 1:size(Mx,2)
+    Mx(:,i) = Mx(:,i) - BPM(1).Data(:,1);
+end
+
+clf reset
+subplot(2,2,1);
+plot(tout, Mx);
+grid on;
+%title(sprintf('BPM Data (%s)', datestr(BPM(1).TimeStamp)))
+xlabel('Time [Seconds]');
+ylabel('Horizontal Position [mm]');
+
+tout = BPM(2).tout;
+My = BPM(2).Data;
+for i = 1:size(My,2)
+    My(:,i) = My(:,i) -  BPM(2).Data(:,1);
+end
+
+subplot(2,2,3);
+plot(tout, My);
+grid on;
+xlabel('Time [Seconds]');
+ylabel('Vertical Position [mm]');
+
+% Warn if the measurement did not keep in time step with t
+tmeas = tout-t;
+if any(tmeas(1:end-1) > 1.05*diff(t))
+    fprintf('   WARNING: The time allotted for getting data is too small\n');
+end
+
+% Change the definition of .data to the standard deviation
+BPM(1).t = BPM(1).t(1);
+BPM(1).tout = BPM(1).tout(1);
+BPMx = BPM(1).Data;
+BPMz = BPM(2).Data;
+
+% Compute the standard deviation
+if 1    
+    % Definition of standard deviations
+    BPM(1).Data = std(BPM(1).Data,0,2);
+    BPM(2).Data = std(BPM(2).Data,0,2);    
+else    
+    % Low frequency drifting increases the STD.  For many purposes, like LOCO,
+    % this is not desireable.  Using difference orbits mitigates the drift problem.
+    Mx = BPMx;
+    for i = 1:size(Mx,2)-1
+        Mx(:,i) = Mx(:,i+1) - Mx(:,i);
+    end
+    Mx(:,end) = [];
+     
+    My = BPMz;
+    for i = 1:size(My,2)-1
+        My(:,i) = My(:,i+1) - My(:,i);
+    end
+    My(:,end) = [];
+     
+    BPM(1).Data = std(Mx,0,2) / sqrt(2);   % sqrt(2) comes from substracting 2 random variables
+    BPM(2).Data = std(My,0,2) / sqrt(2);
+    
+end
+
+subplot(2,2,2);
+plot(BPM(1).Data);
+grid on;
+xlabel('BPM Number');
+ylabel('Horizontal STD [mm]');
+
+subplot(2,2,4);
+plot(BPM(2).Data);
+grid on;
+xlabel('BPM Number');
+ylabel('Vertical STD [mm]');
+addlabel(.5,1,sprintf('BPM Data (%s)', datestr(BPM(1).TimeStamp)), 10);
+orient landscape
+
+if ArchiveFlag | ~isempty(FileName)
+    if ~isempty(FileName)
+        FileNameArchive = FileName;
+    else
+        FileNameArchive = appendtimestamp('BPMSigma', BPM(1).TimeStamp);
+        DirectoryName = getfamilydata('Directory','BPMData');
+        FileNameArchive = [DirectoryName FileNameArchive];
+    end
+    fprintf('   BPM sigma data structure saved to %s.mat\n', FileNameArchive);
+    BPMxSigma = BPM(1);
+    BPMzSigma = BPM(2);
+    save(FileNameArchive, 'BPMxSigma', 'BPMzSigma');
+    %save(FileNameArchive, 'BPM');
+else
+    FileNameArchive = [];
+end
+
+if StructOutputFlag
+    % Output variables
+    varargout{1} = BPM(1);    
+    varargout{2} = BPM(2);    
+    varargout{3} = FileNameArchive;
+else
+    % Output variables
+    varargout{1} = BPM(1).Data;
+    varargout{2} = BPM(2).Data;
+    varargout{3} = BPMx;
+    varargout{4} = BPMz;
+    varargout{5} = tout;
+    varargout{6} = DCCT;
+    varargout{7} = FileNameArchive;
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/measmcf.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/measmcf.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/measmcf.m	(revision 17)
@@ -0,0 +1,43 @@
+function measmcf
+%
+%  Measure synchrotron tune in function of RF frequency
+%  
+%
+%  See Also getnus
+
+RF0 = getrf;
+
+% RF frequency variation in MHz !!!
+dFRF = 2*[-3 -2 -1 0 1 2 3]*1e-6;
+
+kmax = length(dFRF);
+nusVect =zeros(1,kmax);
+freqVect=zeros(1,kmax);
+
+for k=1:kmax,
+   fprintf('%d - RF frequency shifted by %f Hz\n', k, dFRF(k)*1e6); 
+   setrf(RF0 + dFRF(k))
+   fprintf('Next measurement press a key ...\n');
+   pause(5)
+   fsVect(k) = getnus;
+   freqVect(k) = getrf;
+end
+
+% Restore RF frequency
+setrf(RF0);
+
+% Plot Data
+%%
+RFVoltage = 4e3; % kV
+Energy = getenergy;
+rho = 5.36;
+cosPhis= cos(physics_synchronousphase(RFVoltage, Energy,rho));
+fs_norm = fsVect/(RF0*1e6*sqrt(RFVoltage/getharmonicnumber*cosPhis/2/pi/Energy*1e-6));
+power(fs_norm,2)
+figure
+plot(dFRF/RF0,power(fs_norm,4)) 
+xlabel('DFRF/RF0')
+ylabel('Normalized synchrotron frequency')
+
+% print data
+[fsVect' dFRF'*1e6]
Index: /trunk/machine/SOLEIL/StorageRing/bpm/monbpm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/monbpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/monbpm.m	(revision 17)
@@ -0,0 +1,404 @@
+function varargout = monbpm(varargin)
+%MONBPM - Monitors the orbit
+%  [BPMx, BPMy, tout, DCCT, BPMxSTD, BPMySTD, FileName] = monbpm(t, BPMxFamily, BPMxList, BPMyFamily, BPMyList, FileName)
+%  [BPMx, BPMy, FileName] = monbpm(... , 'Struct')
+%
+%  INPUTS
+%  1. t = time vector [seconds], or
+%         length of time in seconds to measure data (scalar) 
+%         {Default: 3 minute at a sample rate of 2 Hz}
+%         {If empty, [], prompt for an input}
+%  2 and 4. BPMxFamily and BPMyFamily are the family names of the BPM's, {Default or []: the entire list}
+%  3 and 5. BPMxList and BPMyList are the device list of BPM's, {Default or []: the entire list}
+%  6. 'Struct'  will return data structures instead of vectors
+%     'Numeric' will return vector outputs {Default}
+%  7.  FileName = Filename (including directory) where the data was saved (if applicable)
+%  8. 'Archive'   - save a data array structure to \<BPMData Directory>\<BPMData><Date><Time>.mat  {Default}
+%     'NoArchive' - no data will be saved to file
+%     'Summary' - Sort BPM by decreasind STD value
+%
+%  OUTPUTS
+%  For numeric output:
+%  1-2. BPMx and BPMy are the raw orbit data matrices or structures 
+%  3. DCCT is a row vector containing the beam current
+%  4. tout is a row vector of times as returned by getam           
+%  5-6. BPMxSTD and BPMySTD are standard deviation of the difference orbits
+%  7. FileName = Filename (including directory) where the data was saved (if applicable)
+%
+%  For structures:
+%  BPMxSTD and BPMySTD are the .Sigma field 
+%
+%  NOTE
+%  1. All inputs are optional.  All of the following have the same output:  
+%     [BPMx, BPMz, t] = monbpm(0:.5:180);
+%     [BPMx, BPMz, t] = monbpm(0:.5:180, 'BPMx');
+%     [BPMx, BPMz, t] = monbpm('BPMx');
+%     [BPMx, BPMz, t] = monbpm('BPMx', 'BPMz');
+%     [BPMx, BPMz, t] = monbpm('BPMx', [], 'BPMz');
+%
+%  see Also plotmonbpm
+
+%
+%  Written by Gregory J. Portmann
+%  Adapted by Laurent S. Nadolski
+%  July 1st, 2007 Added New Flag SummaryFlag to sort BPM by STD by descreasing values
+
+% Defaults
+BPMxFamily = 'BPMx'; %gethbpmfamily; too slow
+BPMyFamily = 'BPMz'; %getvbpmfamily; too slow
+BPMxList = [];   
+BPMyList = [];   
+T = 3*60;
+Tsample = .5; % Sampling period
+t = [];
+DisplayFlag = 1;
+FileName = -1;
+ArchiveFlag = 0;
+StructOutputFlag = 0;
+Navg = getbpmaverages;
+SummaryFlag = 1;
+
+% for refreshing BPM data TANGO issue
+getx; getz;
+
+% Look if 'struct' or 'numeric' in on the input line
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Struct')
+        StructOutputFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Numeric')
+        StructOutputFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                varargin(i+1) = [];
+            end
+        end
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Summary')
+        SummaryFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoSummary')
+        SummaryFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+
+% t input
+if length(varargin) >= 1
+    if isnumeric(varargin{1})
+        t = varargin{1};
+        varargin(1) = [];
+
+        if isempty(t)
+            prompt = {'Input the sample period (seconds)', 'Input the total data collection time (seconds)'};
+            answer = inputdlg(prompt,'monbpm',1,{'.5','180'});
+            if isempty(answer)
+                fprintf('   monbpm canceled\n');
+                return
+            end
+            T       = str2num(answer{1});
+            EndTime = str2num(answer{2});
+            t = 0:T:EndTime;
+        end
+    end
+end
+
+% Look for BPMx family info
+if length(varargin) >= 1
+    if ischar(varargin{1})
+        BPMxFamily = varargin{1};
+        varargin(1) = [];
+        if length(varargin) >= 1
+            if isnumeric(varargin{1})
+                BPMxList = varargin{1};
+                varargin(1) = [];
+            end
+        end
+    else
+        if isnumeric(varargin{1})
+            BPMxList = varargin{1};
+            varargin(1) = [];
+        end
+    end
+end
+
+% Look for BPMy family info
+if length(varargin) >= 1
+    if ischar(varargin{1})
+        BPMyFamily = varargin{1};
+        varargin(1) = [];
+        if length(varargin) >= 1
+            if isnumeric(varargin{1})
+                BPMyList = varargin{1};
+                varargin(1) = [];
+            end
+        end
+    else
+        if isnumeric(varargin{1})
+            BPMyList = varargin{1};
+            varargin(1) = [];
+        end
+    end
+end
+
+% Look for FileName info
+if length(varargin) >= 1
+    if ischar(varargin{1})
+        FileName = varargin{1};
+    end
+end
+
+if isempty(t)
+    t = 0:Tsample:T;
+end
+
+% Make a row vector
+t = t(:)';
+
+% If scalar, create a vector
+if length(t) == 1
+    t = 0:Tsample:t;
+end
+
+
+if ArchiveFlag
+    if isempty(FileName)
+        FileName = appendtimestamp('BPMData');
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot'), filesep, 'BPM', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select a BPM Monitor File', [DirectoryName FileName]);
+        if FileName == 0 
+            ArchiveFlag = 0;
+            fprintf('   monbpm canceled\n');
+            varargout{1} = [];
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    elseif FileName == -1
+        FileName = appendtimestamp('BPMData');
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot'), filesep, 'BPM', filesep];
+        end
+        FileName = [DirectoryName, FileName];
+    end
+end
+
+
+if DisplayFlag
+    fprintf('   Monitoring orbit and current for %.1f seconds\n', t(end)); drawnow;
+end
+TimeStart = gettime;
+
+if isfamily('DCCT')
+    AM = getam({BPMxFamily, BPMyFamily, 'DCCT'}, {BPMxList, BPMyList,[]}, t, 'struct');
+    DCCT = AM{3};
+else
+    AM = getam({BPMxFamily, BPMyFamily}, {BPMxList, BPMyList}, t, 'struct');
+    DCCT = [];
+end
+BPM(1) = AM{1};
+BPM(2) = AM{2};
+
+BPM(1).NumberOfAverages = Navg;
+BPM(1).DCCT = DCCT;
+BPM(1).CreatedBy = 'monbpm';
+BPM(1).DataDescriptor = 'Orbit Data';
+
+BPM(2).NumberOfAverages = Navg;
+BPM(2).DCCT = DCCT;
+BPM(2).CreatedBy = 'monbpm';
+BPM(2).DataDescriptor = 'Orbit Data';
+
+
+
+if DisplayFlag
+    tout = BPM(1).tout;
+    Mx = BPM(1).Data;
+    % Orbit compared to first set
+    for i = 1:size(Mx,2)
+        Mx(:,i) = Mx(:,i) - BPM(1).Data(:,1);
+    end
+
+    figure
+    subplot(2,2,1);
+    plot(tout, Mx);
+    grid on;
+    %title(sprintf('BPM Data (%s)', datestr(BPM(1).TimeStamp)))
+    xlabel('Time [Seconds]');
+    ylabel('Horizontal Relative Position [mm]');
+    axis tight
+    
+    tout = BPM(2).tout;
+    % Orbit compared to first set
+    My = BPM(2).Data;
+    for i = 1:size(My,2)
+        My(:,i) = My(:,i) -  BPM(2).Data(:,1);
+    end
+    
+    subplot(2,2,3);
+    plot(tout, My);
+    grid on;
+    xlabel('Time [Seconds]');
+    ylabel(sprintf('Vertical Position [%s]', BPM(2).UnitsString));
+    axis tight
+end
+
+
+% Warn if the measurement did not keep in time step with t
+tmeas = tout-t;
+if any(tmeas(1:end-1) > 1.05*diff(t))
+    fprintf('   WARNING: The time allotted for getting data is too small\n');
+end
+
+
+
+% Compute the standard deviation
+if 0
+    % Definition of standard deviations
+    BPM(1).Sigma = std(BPM(1).Data,0,2);
+    BPM(2).Sigma = std(BPM(2).Data,0,2);
+    
+else
+    
+    % Low frequency drifting increases the STD.  For many purposes, like LOCO,
+    % this is not desireable.  Using difference orbits mitigates the drift problem.
+    Mx = BPM(1).Data;
+    for i = 1:size(Mx,2)-1
+        Mx(:,i) = Mx(:,i+1) - Mx(:,i);
+    end
+    Mx(:,end) = [];
+    
+    My = BPM(2).Data;
+    for i = 1:size(My,2)-1
+        My(:,i) = My(:,i+1) - My(:,i);
+    end
+    My(:,end) = [];
+    
+    BPM(1).Sigma = std(Mx,0,2) / sqrt(2);   % sqrt(2) comes from substracting 2 random variables
+    BPM(2).Sigma = std(My,0,2) / sqrt(2);
+    
+end
+
+if DisplayFlag
+    subplot(2,2,2);
+    List = BPM(1).DeviceList;
+    Nsectors = max(List(:,1));
+    Ndevices = max(List(:,2));
+    Sector = List(:,1) + List(:,2)/Ndevices + 1/Ndevices/2;
+    [Sector Idx] = sort(Sector);
+    plot(Sector, BPM(1).Sigma(Idx));
+    grid on;
+    xaxis([1 Nsectors+1])
+    set(gca,'XTick',1:Nsectors);
+    xlabel('Sector Number');
+    ylabel(sprintf('Horizontal STD [%s]', BPM(1).UnitsString));
+    
+    subplot(2,2,4);
+    List = BPM(2).DeviceList;
+    Nsectors = max(List(:,1));
+    Ndevices = max(List(:,2));
+    Sector = List(:,1) + List(:,2)/Ndevices + 1/Ndevices/2;
+    [Sector Idx] = sort(Sector);    
+    plot(Sector, BPM(2).Sigma(Idx));
+    grid on;
+    xaxis([1 Nsectors+1])
+    set(gca,'XTick',1:Nsectors);
+    xlabel('Sector Number');
+    ylabel(sprintf('Vertical STD [%s]', BPM(2).UnitsString));
+  
+    addlabel(.5,1,sprintf('BPM Data (%s)', datestr(BPM(1).TimeStamp)), 10);
+    orient landscape
+end
+
+
+% Save data in the proper directory
+if ArchiveFlag | ischar(FileName)
+    [DirectoryName, FileName, Ext] = fileparts(FileName);
+    DirStart = pwd;
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    if ErrorFlag
+        fprintf('\n   There was a problem getting to the proper directory!\n\n');
+    end
+    BPMxData = BPM(1);
+    BPMyData = BPM(2);
+    save(FileName, 'BPMxData', 'BPMyData');
+    %save(FileName, 'BPM');
+    cd(DirStart);
+    FileName = [DirectoryName, FileName, '.mat'];
+
+    if DisplayFlag
+        fprintf('   BPM data saved to %s\n', FileName);
+        fprintf('   The total measurement time was %.2f minutes.\n', (gettime-TimeStart)/60);
+    end
+else
+    FileName = '';
+end
+
+
+if SummaryFlag
+    [SortedData1 DataIdx1] = sort(BPM(1).Sigma,'descend');
+    SortedDeviceList1 = BPM(1).DeviceList(DataIdx1,:);
+    [SortedData2 DataIdx2] = sort(BPM(2).Sigma,'descend');
+    SortedDeviceList2 = BPM(2).DeviceList(DataIdx2,:);
+
+    % sort by drift
+    maxBPM1 =  max(abs(Mx),[],2);
+    [SortedData3 DataIdx3] = sort(maxBPM1,'descend');
+    SortedDeviceList3 = BPM(1).DeviceList(DataIdx3,:);
+    maxBPM2 =  max(abs(My),[],2);
+    [SortedData4 DataIdx4] = sort(maxBPM2,'descend');
+    SortedDeviceList4 = BPM(2).DeviceList(DataIdx4,:);
+    
+    fprintf('\n\n BPMxname DevList     Max drift           BPMzname DevList       Max drift\n');
+    for k=1:size(BPM(1).DeviceList,1),
+        fprintf('%s    [%2d %2d]      %6.2e [%s]        %s    [%2d %2d]      %6.2e [%s] \n', ...
+            'BPMx', SortedDeviceList3(k,1), SortedDeviceList3(k,2), SortedData3(k), BPM(1).UnitsString, ...
+            'BPMz', SortedDeviceList4(k,1), SortedDeviceList4(k,2), SortedData4(k), BPM(2).UnitsString);
+    end
+
+    fprintf('\n\n BPMxname DevList     STD value           BPMzname DevList       STD value\n');
+    for k=1:size(BPM(1).DeviceList,1),
+        fprintf('%s    [%2d %2d]      %6.2e [%s]        %s    [%2d %2d]      %6.2e [%s] \n', ...
+            'BPMx', SortedDeviceList1(k,1), SortedDeviceList1(k,2), SortedData1(k), BPM(1).UnitsString, ...
+            'BPMz', SortedDeviceList2(k,1), SortedDeviceList2(k,2), SortedData2(k), BPM(2).UnitsString);
+    end
+end
+
+if StructOutputFlag
+    % Output variables
+    varargout{1} = BPM(1);    
+    varargout{2} = BPM(2);    
+    varargout{3} = FileName;
+else
+    % Output variables
+    varargout{1} = BPM(1).Data;
+    varargout{2} = BPM(2).Data;
+    varargout{3} = tout;
+    varargout{4} = DCCT;
+    varargout{5} = BPM(1).Sigma;
+    varargout{6} = BPM(2).Sigma;
+    varargout{7} = FileName;
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/monbpmFA.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/monbpmFA.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/monbpmFA.m	(revision 17)
@@ -0,0 +1,69 @@
+function [bufferX bufferZ RMSX RMSZ]=monbpmFA(record_length)
+
+%%TODO input parameter to be mapped as for monbpm (choice BPM etc ...)
+
+if record_length > 15
+    warning('Record length too long. Maximumvalue 15 s');    
+    record_length = 15;
+end
+dev='ANS/DG/fofb-sniffer.2';
+
+Nbpm=size(family2tangodev('BPMx'),1);
+h1=waitbar(0,'Recording on sniffer, please wait...');
+tango_write_attribute2(dev,'recordLengthInSecs',record_length)
+pause(1)
+record_length=tango_read_attribute2(dev,'recordLengthInSecs');
+for i=1:(record_length.value(1)+2)
+    pause(1)
+    waitbar(i/record_length.value(1),h1);
+end
+close(h1)
+
+h2=waitbar(0,'Reading on sniffer, please wait...');
+
+for j=1:1:Nbpm
+    bufferX(j,:)=double(tango_command_inout2(dev,'GetXPosData',uint16(j)))./10^3;
+    bufferZ(j,:)=double(tango_command_inout2(dev,'GetZPosData',uint16(j)))./10^3;
+    waitbar(j/Nbpm,h2)
+end
+RMSX=std(bufferX');
+RMSZ=std(bufferZ');
+close(h2)
+
+%% plot
+figure
+subplot(2,2,1)
+plot(bufferX(:,1:100:end)')
+xlabel('FA samples @ 10 kHz')
+ylabel('Âµm')
+title('Position X')
+subplot(2,2,2)
+plot(RMSX')
+xlabel('BPM number')
+ylabel('Âµm rms')
+title('Horizontal noise')
+subplot(2,2,3)
+plot(bufferZ(:,1:100:end)')
+xlabel('FA samples @ 10 kHz')
+ylabel('Âµm')
+title('Position Z')
+subplot(2,2,4)
+plot(RMSZ')
+xlabel('BPM number')
+ylabel('Âµm rms')
+title('Vertical noise')
+
+%% plot fit of the dispersion in the H-plane
+figure
+spos = getspos('BPMx',family2dev('BPMx'));
+etax = modeldisp('BPMx',family2dev('BPMx'));
+% y = disp*delta + y0
+x = lsqr([etax ones(size(RMSX'))], RMSX'*1e-6);
+plot(spos, RMSX); hold on
+plot(spos,(etax*x(1)+x(2))*1e6,'r'); hold on
+legend('Data', 'fit')
+title(sprintf('Noise in H-plane: Delta = %.2e %% (x0 = %.2e um)', x(1)*100, x(2)*1e6));
+xlabel('s-position (m)')
+ylabel('RMS x (um)')
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/monbpmhistory.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/monbpmhistory.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/monbpmhistory.m	(revision 17)
@@ -0,0 +1,243 @@
+function monbpmhistory(varargin)
+% monbpmhistory - Read history buffer of all the BPMs
+%
+%  INPUTS
+%  2 and 4. BPMxFamily and BPMyFamily are the family names of the BPM's, {Default or []: the entire list}
+%  3 and 5. BPMxList and BPMyList are the device list of BPM's, {Default or []: the entire list}
+%  6. 'Struct'  will return data structures instead of vectors
+%     'Numeric' will return vector outputs {Default}
+%  7.  FileName = Filename (including directory) where the data was saved (if applicable)
+%  8. 'Archive'   - save a data array structure to \<BPMData Directory>\<BPMData><Date><Time>.mat  {Default}
+%     'NoArchive' - no data will be saved to file
+%     'Summary' - Sort BPM by decreasind STD value
+%
+%  OUTPUTS
+%  For numeric output:
+%  1-2. BPMx and BPMy are the raw orbit data matrices or structures 
+%  3. DCCT is a row vector containing the beam current
+%  4. tout is a row vector of times as returned by getam           
+%  5-6. BPMxSTD and BPMySTD are standard deviation of the difference orbits
+%  7. FileName = Filename (including directory) where the data was saved (if applicable)
+%
+%  For structures:
+%  BPMxSTD and BPMySTD are the .Sigma field 
+
+% Written by Laurent S. Nadolski
+% TODO Not all options are operational
+
+FileName = -1;
+ArchiveFlag = 0;
+StructOutputFlag = 0;
+DisplayFlag=1;
+SummaryFlag = 1;
+
+% Look if 'struct' or 'numeric' in on the input line
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Struct')
+        StructOutputFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Numeric')
+        StructOutputFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                varargin(i+1) = [];
+            end
+        end
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Summary')
+        SummaryFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoSummary')
+        SummaryFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+%%
+if isempty(varargin)
+    BPM(1).DeviceList = family2dev('BPMx');
+    BPM(2).DeviceList = family2dev('BPMz');
+    devName = family2tangodev('BPMx');
+else
+    BPM(1).DeviceList = varargin{:};
+    BPM(2).DeviceList = varargin{:};
+    devName = family2tangodev('BPMx',varargin{:});
+end
+
+%%
+Xpos = [];
+Zpos = [];
+Xrmspos = [];
+Zrmspos = [];
+
+TimeStart = gettime;
+
+for k = 1:length(devName),
+    %rep = tango_read_attributes(devName{k},{'XPosSAHistory','ZPosSAHistory','XRMSPosSA','ZRMSPosSA'});
+    rep = tango_read_attributes(devName{k},{'XPosSAHistory','ZPosSAHistory'});
+    Xpos(:,k) = rep(1).value;
+    Zpos(:,k) = rep(2).value;
+end
+
+BPM(1).Data = Xpos;
+BPM(2).Data = Zpos;
+BPM(1).Sigma = std(Xpos);
+BPM(2).Sigma = std(Zpos);
+BPM(1).UnitsString = 'mm';
+BPM(2).UnitsString = 'mm';
+
+xtime = (1:size(Xpos,1))/10;
+
+if ArchiveFlag
+    if isempty(FileName)
+        FileName = appendtimestamp('BPMDataHistory');
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot'), filesep, 'BPM', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select a BPM Monitor File', [DirectoryName FileName]);
+        if FileName == 0
+            ArchiveFlag = 0;
+            fprintf('   monbpm canceled\n');
+            varargout{1} = [];
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    elseif FileName == -1
+        FileName = appendtimestamp('BPMDataHistory');
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot'), filesep, 'BPM', filesep];
+        end
+        FileName = [DirectoryName, FileName];
+    end
+end
+
+
+%
+
+if DisplayFlag
+    List = BPM(1).DeviceList;
+    Nsectors = max(List(:,1));
+    Ndevices = max(List(:,2));Sector = List(:,1) + List(:,2)/Ndevices + 1/Ndevices/2;
+    [Sector Idx] = sort(Sector);
+    figure
+    subplot(2,2,1)
+    plot(xtime, BPM(1).Data-repmat(BPM(1).Data(1,:),size(BPM(1).Data,1),1))
+    xaxis([1 size(BPM(1).Data,1)/10])
+    ylabel('DX (mm)')
+    xlabel('time [s]')
+    grid on
+    subplot(2,2,2)
+    plot(Sector,BPM(1).Sigma)
+    xaxis([1 Nsectors+1])
+    set(gca,'XTick',1:Nsectors);
+    xlabel('Sector Number');
+    ylabel(sprintf('Horizontal STD [%s]', BPM(1).UnitsString));
+    grid on
+    subplot(2,2,3)
+    plot(xtime, BPM(2).Data-repmat(BPM(2).Data(1,:),size(BPM(2).Data,1),1))
+    xaxis([1 size(BPM(2).Data,1)/10])
+    ylabel('DZ (mm)')
+    xlabel('time [s]')
+    grid on
+    subplot(2,2,4)
+    plot(Sector,BPM(2).Sigma)
+    xaxis([1 Nsectors+1])
+    set(gca,'XTick',1:Nsectors);
+    xlabel('Sector Number');
+    ylabel(sprintf('Horizontal STD [%s]', BPM(1).UnitsString));
+    grid on
+
+    addlabel(datestr(tango_shift_time(rep(2).time)));
+end
+
+% Save data in the proper directory
+if ArchiveFlag | ischar(FileName)
+    [DirectoryName, FileName, Ext] = fileparts(FileName);
+    DirStart = pwd;
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    if ErrorFlag
+        fprintf('\n   There was a problem getting to the proper directory!\n\n');
+    end
+    BPMxData = BPM(1);
+    BPMyData = BPM(2);
+    save(FileName, 'BPMxData', 'BPMyData');
+    %save(FileName, 'BPM');
+    cd(DirStart);
+    FileName = [DirectoryName, FileName, '.mat'];
+
+    if DisplayFlag
+        fprintf('   BPM data saved to %s\n', FileName);
+        fprintf('   The total measurement time was %.2f minutes.\n', (gettime-TimeStart)/60);
+    end
+else
+    FileName = '';
+end
+
+
+if SummaryFlag
+    % sort by sigmas
+    [SortedData1 DataIdx1] = sort(BPM(1).Sigma,'descend');
+    SortedDeviceList1 = BPM(1).DeviceList(DataIdx1,:);
+    [SortedData2 DataIdx2] = sort(BPM(2).Sigma,'descend');
+    SortedDeviceList2 = BPM(2).DeviceList(DataIdx2,:);
+
+    % sort by drift
+    maxBPM1 = max(abs(BPM(1).Data-repmat(BPM(1).Data(1,:),size(BPM(1).Data,1),1)));
+    [SortedData3 DataIdx3] = sort(maxBPM1,'descend');
+    SortedDeviceList3 = BPM(1).DeviceList(DataIdx1,:);
+    maxBPM2 = max(abs(BPM(2).Data-repmat(BPM(2).Data(1,:),size(BPM(2).Data,1),1)));
+    [SortedData4 DataIdx4] = sort(maxBPM2,'descend');
+    SortedDeviceList4 = BPM(2).DeviceList(DataIdx1,:);
+    
+    fprintf('\n\n BPMxname DevList     Max drift           BPMzname DevList       Max drift\n');
+    for k=1:size(BPM(1).DeviceList,1),
+        fprintf('%s    [%2d %2d]      %6.2e [%s]        %s    [%2d %2d]      %6.2e [%s] \n', ...
+            'BPMx', SortedDeviceList3(k,1), SortedDeviceList3(k,2), SortedData3(k), BPM(1).UnitsString, ...
+            'BPMz', SortedDeviceList4(k,1), SortedDeviceList4(k,2), SortedData4(k), BPM(2).UnitsString);
+    end
+
+    fprintf('\n\n BPMxname DevList     STD value           BPMzname DevList       STD value\n');
+    for k=1:size(BPM(1).DeviceList,1),
+        fprintf('%s    [%2d %2d]      %6.2e [%s]        %s    [%2d %2d]      %6.2e [%s] \n', ...
+            'BPMx', SortedDeviceList1(k,1), SortedDeviceList1(k,2), SortedData1(k), BPM(1).UnitsString, ...
+            'BPMz', SortedDeviceList2(k,1), SortedDeviceList2(k,2), SortedData2(k), BPM(2).UnitsString);
+    end
+end
+
+if StructOutputFlag
+    % Output variables
+    varargout{1} = BPM(1);    
+    varargout{2} = BPM(2);    
+    varargout{3} = FileName;
+else
+    % Output variables
+    varargout{1} = BPM(1).Data;
+    varargout{2} = BPM(2).Data;
+    varargout{3} = 0; % tout
+    varargout{4} = 0; %DCCT;
+    varargout{5} = BPM(1).Sigma;
+    varargout{6} = BPM(2).Sigma;
+    varargout{7} = FileName;
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/monbpmhistory_normbeta.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/monbpmhistory_normbeta.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/monbpmhistory_normbeta.m	(revision 17)
@@ -0,0 +1,59 @@
+function monbpmhistory_normbeta(varargin)
+% monbpmhistory_normbeta - Read historybuffer of all the BPMs
+%
+
+%%
+if isempty(varargin)    
+    devName = family2tangodev('BPMx');
+else
+    devName = family2tangodev('BPMx',varargin{:});
+end
+
+%%
+Xpos = [];
+Zpos = [];
+Xrmspos = [];
+Zrmspos = [];
+
+% recup fonction beta
+[BetaX, BetaY] = modelbeta('BPMx');
+
+for k = 1:length(devName),
+    %rep = tango_read_attributes(devName{k},{'XPosSAHistory','ZPosSAHistory','XRMSPosSA','ZRMSPosSA'});
+    rep = tango_read_attributes(devName{k},{'XPosSAHistory','ZPosSAHistory'});
+    Xpos(:,k) = rep(1).value/sqrt(BetaX(k));
+    Zpos(:,k) = rep(2).value/sqrt(BetaY(k));
+end
+
+Xrmspos = std(Xpos);
+Zrmspos = std(Zpos);
+
+xtime = (1:size(Xpos,1))/10;
+%%
+figure
+subplot(2,2,1)
+plot(xtime, Xpos-repmat(Xpos(1,:),size(Xpos,1),1))
+xaxis([1 size(Xpos,1)/10])
+ylabel('DX (mm)')
+xlabel('time [s]')
+grid on
+subplot(2,2,2)
+plot(Xrmspos)
+xaxis([0 size(Xpos,2)+1])
+ylabel('Xrms (mm)')
+xlabel('BPM number')
+grid on
+subplot(2,2,3)
+plot(xtime, Zpos-repmat(Zpos(1,:),size(Zpos,1),1))
+xaxis([1 size(Xpos,1)/10])
+ylabel('DZ (mm)')
+xlabel('time [s]')
+grid on
+subplot(2,2,4)
+plot(Zrmspos)
+xaxis([0 size(Xpos,2)+1])
+ylabel('Zrms (mm)')
+xlabel('BPM number')
+grid on
+
+addlabel(datestr(tango_shift_time(rep(2).time)))
Index: /trunk/machine/SOLEIL/StorageRing/bpm/mosteffectivecorrector.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/mosteffectivecorrector.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/mosteffectivecorrector.m	(revision 17)
@@ -0,0 +1,90 @@
+function delcm = mosteffectivecorrector(varargin)
+%MOSTEFFECTIVECORRECTOR - Correction using most effective corrector
+%
+%  INPUTS
+%  1. plane of correction - 1 {Default} means Horizontal plane
+%                           2 means vertical planes 
+%
+%  OUTPUTS
+%  2. delcm - Corrector strengths from direct orbit correction
+%
+%  See Also setorbit
+
+%
+%  Written by Laurent S. Nadolski
+
+BPMFamily = {'BPMx', 'BPMz'};
+CMFamily  = {'HCOR', 'VCOR'};
+
+DisplayFlag = 1;
+
+% Input Parser
+if isempty(varargin)
+    plane = 1;
+else
+    plane = varargin{1}
+    if plane > 1
+        plane = 2;
+    else
+        plane = 1;
+    end
+end
+
+%
+Xgoal = getgolden(BPMFamily{plane});
+% A_= load('natural_diff.mat')
+% Xgoal = A_.Xdiff;
+
+%%
+R0 = getbpmresp('Struct');
+
+R = R0(plane,plane).Data;
+HCORlist = R0(plane,plane).Actuator.DeviceList;
+
+Rinv = pinv(R);
+
+%%
+X0 = getam(BPMFamily{plane});
+
+X0std = std(X0);
+
+delcm = -Rinv*(X0-Xgoal);
+
+X = X0(:,ones(56,1));
+
+% get index of most effective corrector and reduction factor
+[val idx] = min(std(X+R*diag(delcm)));
+
+
+if DisplayFlag
+    figure(2001)
+    subplot(2,1,1)
+    bar(delcm)
+    xlabel('Corrector number');
+    ylabel('Corrector Strength [A]');
+    title(sprintf('Most effective corrector using %s Family',CMFamily{plane}));
+    subplot(2,1,2)
+    plot(X0,'b'); hold on;
+    theta = zeros(56,1);
+    theta(idx) = delcm(idx);
+    plot(X0+R*theta,'r'); hold off;
+    xlabel('BPM number')
+    ylabel(' Close orbit [mm]')
+    legend('Before correction','Prediction')
+end
+
+CORlist =  R0(plane,plane).Actuator.DeviceList;
+fprintf('Most effective corrector is HCOR [%d %d] (%f A): orbit reduction by %f mm rms\n', ...
+    CORlist(idx,:), delcm(idx), X0std-val)
+
+reply = input('Do you want to apply correction? Y/N [N]: ', 's');
+
+switch reply
+    case 'Y'
+        stepsp(CMFamily{plane},delcm(idx), CORlist(idx,:));       
+    otherwise
+        return;
+end
+
+
+%%
Index: /trunk/machine/SOLEIL/StorageRing/bpm/nombre_onde_ans.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/nombre_onde_ans.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/nombre_onde_ans.m	(revision 17)
@@ -0,0 +1,710 @@
+function varargout = nombre_onde_ans(varargin)
+% NOMBRE_ONDE_ANS M-file for nombre_onde_ans.fig
+%      NOMBRE_ONDE_ANS, by itself, creates a new NOMBRE_ONDE_ANS or raises the existing
+%      singleton*.
+%
+%      H = NOMBRE_ONDE_ANS returns the handle to a new NOMBRE_ONDE_ANS or the handle to
+%      the existing singleton*.
+%
+%      NOMBRE_ONDE_ANS('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in NOMBRE_ONDE_ANS.M with the given input arguments.
+%
+%      NOMBRE_ONDE_ANS('Property','Value',...) creates a new NOMBRE_ONDE_ANS or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before nombre_onde_ans_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to nombre_onde_ans_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help nombre_onde_ans
+
+% Last Modified by GUIDE v2.5 06-Apr-2006 18:56:30
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @nombre_onde_ans_OpeningFcn, ...
+                   'gui_OutputFcn',  @nombre_onde_ans_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before nombre_onde_ans is made visible.
+function nombre_onde_ans_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to nombre_onde_ans (see VARARGIN)
+
+if ~strcmp(getfamilydata('SubMachine'),'StorageRing')
+    error('Load StorageRing first');
+end
+
+% Choose default command line output for nombre_onde_ans
+handles.Stop_NO = 0;
+handles.output = hObject;
+handles.X_NO   = hObject;
+handles.Z_NO   = hObject;
+handles.X_Pos  = hObject;
+handles.Z_Pos  = hObject;
+%handles.Q=hObject;
+handles.Stop_var=hObject;
+%handles.PQfft=hObject;
+handles.PXfft = hObject;
+handles.PZfft = hObject;
+
+setappdata(handles.figure1, 'hplot1', 0);
+setappdata(handles.figure1, 'hplot2', 0);
+setappdata(handles.figure1, 'hplot3', 0);
+setappdata(handles.figure1, 'hplot4', 0);
+setappdata(handles.figure1, 'hlegend1', 0);
+setappdata(handles.figure1, 'hlegend2', 0);
+
+% Update handles structure
+guidata(hObject, handles);
+
+cla(handles.Onde_X);
+cla(handles.Onde_Z);
+cla(handles.Position_X);
+cla(handles.Position_Z);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = nombre_onde_ans_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+function dev_name_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to dev_name_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of dev_name_NO as text
+%        str2double(get(hObject,'String')) returns contents of dev_name_NO as a double
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+
+if val_dev ~=1
+    tango_set_timeout(dev{val_dev},30000);
+    mode     = tango_read_attribute2(dev{val_dev},'Mode');
+    set(handles.Current_mode_NO,'String',mode.value);
+
+    Nvalues = tango_read_attribute2(dev{val_dev},'NumSamples');
+    set(handles.Nsamples_NO,'String',num2str(Nvalues.value(1)));
+end
+
+% --- Executes during object creation, after setting all properties.
+function dev_name_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dev_name_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function Nsamples_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to profondeur_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of profondeur_NO as text
+%        str2double(get(hObject,'String')) returns contents of profondeur_NO as a double
+Nvaleurs = int32(str2num(get(handles.Nsamples_NO,'String')));
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+
+tango_write_attribute2(dev{val_dev},'DDBufferSize',Nvaleurs);
+
+% --- Executes during object creation, after setting all properties.
+function Nsamples_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to profondeur_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on selection change in Change_mode_NO.
+function Change_mode_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Change_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+disp('No implemented')
+return;
+% Hints: contents = get(hObject,'String') returns Change_mode_NO contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Change_mode_NO
+val     = get(handles.Change_mode_NO,'Value');
+dev     = get(handles.dev_name_NO,'String');
+val_dev = get(handles.dev_name_NO,'value');
+
+switch val
+    case 1
+        tango_write_attribute2(dev{val_dev},'Mode','MODE_FT') 
+    case 2
+        tango_write_attribute2(dev{val_dev},'Mode','MODE_TT') 
+    case 3
+         tango_write_attribute2(dev{val_dev},'Mode','MODE_BN') 
+         set(handles.Current_mode_NO,'String','Boo Normal');
+         set(handles.Nsamples_NO,'string',num2str(10169));
+end;
+
+% Read mod and update GUI
+mode = tango_read_attribute2(dev{val_dev},'Mode');
+set(handles.Current_mode_NO,'String',mode.value);
+
+% --- Executes during object creation, after setting all properties.
+function Change_mode_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Change_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function Current_mode_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Current_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Current_mode_NO as text
+%        str2double(get(hObject,'String')) returns contents of Current_mode_NO as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Current_mode_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Current_mode_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on button press in pushbutton14.
+function Generate_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+val_dev1 = get(handles.dev_name_NO,'value');
+val_dev2 = get(handles.dev_name_Pos,'value');
+
+if val_dev1 == 1 || val_dev2 == 1
+    warndlg('Select BPMs first !');
+    return;
+end
+
+valeur  = get(handles.Aquisition_continue,'Value');
+
+if valeur == 1
+        T=timer('TimerFcn',{@Timer_NO_Callback,hObject, eventdata,handles},'ExecutionMode','fixedSpacing','Period',1);    
+        setappdata(handles.figure1,'Stop_NO',0);
+        start(T);
+else
+    handles = getandplotdata(hObject, eventdata, handles);
+end
+    
+guidata(hObject,handles);
+
+
+function Timer_NO_Callback(obj,event,hObject, eventdata, handles)
+
+handles = getandplotdata(hObject, eventdata, handles);
+
+Stop_NO = getappdata(handles.figure1,'Stop_NO');
+if Stop_NO == 1
+    stop(obj);
+    delete(obj);
+    return
+end
+
+
+function handles = getandplotdata(hObject, eventdata, handles)
+
+%% First panel
+dev     = get(handles.dev_name_NO,'String');
+val_dev = get(handles.dev_name_NO,'value');
+
+Nsamples=int32(str2num(get(handles.Nsamples_NO,'String')));
+
+Attr_name_list={'XPosDD'};
+argout = tango_read_attributes2(dev{val_dev},Attr_name_list);
+
+handles.X = argout(1).value;
+guidata(hObject, handles);
+
+istart   = str2num(get(handles.Start_NO,'String'));
+nbpoints = str2num(get(handles.profondeur_NO,'String'));
+iend     = istart + nbpoints-1;
+Xval(1:nbpoints) = handles.X(istart:iend);
+
+Xfft     = fft(Xval,nbpoints);
+PXfft    = Xfft.* conj(Xfft) / nbpoints;
+
+PXfft([1 2 nbpoints]) = 0; %% ???
+
+% skip points ????
+n1 = nbpoints/10
+n2 = nbpoints-n1
+%%
+frev = 0.84664; % MHz
+
+mx    = max(PXfft(n1:n2));
+nux   = (find(PXfft==max(PXfft(n1:n2)))-1)/ nbpoints;
+fnux  = (1-nux)*frev;
+f352x = (nux)*frev + 352.1968; % Frf
+
+f = (1:nbpoints)/nbpoints;
+
+hplot1   = getappdata(handles.figure1, 'hplot1');
+hlegend1 = getappdata(handles.figure1, 'hlegend1');
+legendstr1 = ['nux=', num2str(1-nux(1)),'   fexc=',num2str(fnux(1)),'   fdetec=',num2str(f352x(1))];
+
+if hplot1 == 0
+    hplot1 = plot(handles.Onde_X,f,PXfft(1:(nbpoints)));
+    hlegend1 = legend(handles.Onde_X,legendstr1);
+    set(hlegend1,'FontSize',20);
+    ylabel(handles.Onde_X,'X')
+    set(handles.Onde_X,'XTick',[]);
+    grid(handles.Onde_X, 'on');
+else
+    set(hplot1,'XData', f, 'YData', PXfft(1:(nbpoints)));
+    set(hlegend1,'String', legendstr1);
+end
+      
+set(handles.Onde_X,'YLim',[0 1.2*mx]);
+
+handles.PXfft = PXfft;
+
+X_display=0;
+X_display=handles.X;
+X_display=X_display(2:size(X_display,2)); 
+
+Echelle = str2num(get(handles.Echelle,'String'));
+
+hplot3   = getappdata(handles.figure1, 'hplot3');
+
+if hplot3 == 0
+    hplot3 = plot(handles.Position_X, X_display);
+    ylabel(handles.Position_X, 'mm');
+    grid(handles.Position_X, 'on')
+else
+    set(hplot3, 'YData', X_display);
+end
+
+set(handles.Position_X,'YLim',[-10 10]);
+set(handles.Position_X,'XLim',[0 Echelle]);
+set(handles.Position_X,'XTick',[]);
+guidata(hObject, handles);
+
+%% Second panel
+dev      = get(handles.dev_name_Pos,'String');
+val_dev  = get(handles.dev_name_Pos,'value');
+Nsamples = int32(str2num(get(handles.Nsamples_Pos,'String')));
+Attr_name_list={'ZPosDD'};
+argout   = tango_read_attributes2(dev{val_dev},Attr_name_list);
+handles.Z=argout(1).value;
+
+Zval(1:nbpoints) = handles.Z(istart:iend);
+
+Zfft     = fft(Zval,nbpoints);
+PZfft    = Zfft.* conj(Zfft) / nbpoints ;
+PZfft(1) = 0;
+PZfft(2) = 0;
+PZfft(nbpoints) = 0;
+mz       = max(PZfft(n1:n2));
+nuz      = (find(PZfft==max(PZfft(n1:n2)))-1)/ nbpoints;
+fnuz     = (1-nuz(1))*1.91414;
+f352z    = (nuz)*frev+352.1968;
+
+hplot2     = getappdata(handles.figure1, 'hplot2');
+hlegend2   = getappdata(handles.figure1, 'hlegend2');
+legendstr2 = ['nuz=', num2str(1-nuz(1)),'  fexc=',num2str(fnuz(1)),'   fdetec=',num2str(f352z(1))];
+
+if hplot2 == 0
+    hplot2 = plot(handles.Onde_Z,f,PZfft(1:(nbpoints)))
+    hlegend2 = legend(handles.Onde_Z,legendstr2);
+    set(hlegend2,'FontSize',20);
+    ylabel(handles.Onde_Z,'Z');
+    xlabel(handles.Onde_Z,'Tune');
+    grid(handles.Onde_Z, 'on');
+else
+    set(hplot2,'XData', f, 'YData', PZfft(1:(nbpoints)));
+    set(hlegend2,'String', legendstr2);
+end
+
+set(handles.Onde_Z,'YLim',[0 1.2*mz]);
+    
+Z_display=0;
+Z_display=handles.Z;
+Z_display=Z_display(2:size(Z_display,2)); 
+
+handles.PZfft=PZfft;
+
+hplot4   = getappdata(handles.figure1, 'hplot4');
+
+if hplot4 == 0
+    hplot4 = plot(handles.Position_Z, Z_display);
+    ylabel(handles.Position_Z, 'mm');
+    xlabel(handles.Position_Z, 'Turn number')
+    grid(handles.Position_Z, 'on')
+else
+    set(hplot4, 'YData', Z_display);
+end
+
+set(handles.Position_Z,'YLim',[-5 5]);
+set(handles.Position_Z,'XLim',[0 Echelle]);
+
+setappdata(handles.figure1, 'hplot1', hplot1);
+setappdata(handles.figure1, 'hplot2', hplot2);
+setappdata(handles.figure1, 'hplot3', hplot3);
+setappdata(handles.figure1, 'hplot4', hplot4);
+setappdata(handles.figure1, 'hlegend1', hlegend1);
+setappdata(handles.figure1, 'hlegend2', hlegend2);
+
+guidata(hObject, handles);
+
+
+% --- Executes on button press in Stop.
+function Stop_Callback(hObject, eventdata, handles)
+% hObject    handle to Stop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+setappdata(handles.figure1,'Stop_NO',1);
+disp('CONTINUOUS LOOP STOPPED')
+
+
+% --- Executes on button press in Aquisition_continue.
+function Aquisition_continue_Callback(hObject, eventdata, handles)
+% hObject    handle to Aquisition_continue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Aquisition_continue
+
+val = get(hObject,'Value');
+
+if val
+    setappdata(handles.figure1,'Stop_NO',0);
+else
+    setappdata(handles.figure1,'Stop_NO',1);
+end
+
+function Filename_Callback(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Filename as text
+%        str2double(get(hObject,'String')) returns contents of Filename as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Filename_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_save.
+function pushbutton_save_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_save (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% global X Z Q PXfft PQfft PZfft;
+
+Nsamples = str2num(get(handles.Nsamples_NO,'String'));
+dev      = get(handles.dev_name_NO,'String');
+val_dev  = get(handles.dev_name_NO,'value');
+mode     = tango_read_attribute2(dev{val_dev},'Mode');
+filename = get(handles.Filename,'String')
+X        = handles.X;
+Z        = handles.Z;
+%Q=handles.Q;
+PXfft   = handles.PXfft;
+PZfft   = handles.PZfft;
+
+% Saving data
+dirname = getfamilydata('Directory','TurnByTurnTune');
+pwd_old = pwd;
+cd(dirname);
+
+if strcmp(filename, 'Filename');
+    filename = tune;
+end
+
+filename = appendtimestamp(filename);
+save(filename,'Nsamples','mode','X','Z','PXfft','PZfft');
+cd(pwd_old);
+
+
+% --- Executes on button press in Detection.
+function Detection_Callback(hObject, eventdata, handles)
+% hObject    handle to Detection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Detection
+
+function Start_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Start_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Start_NO as text
+%        str2double(get(hObject,'String')) returns contents of Start_NO as a double
+
+% --- Executes during object creation, after setting all properties.
+function Start_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Start_NO (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function profondeur_NO_Callback(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Filename as text
+%        str2double(get(hObject,'String')) returns contents of Filename as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function profondeur_NO_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on selection change in dev_name_Pos.
+function dev_name_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to dev_name_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns dev_name_Pos contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from dev_name_Pos
+dev     = get(handles.dev_name_Pos,'String');
+val_dev = get(handles.dev_name_Pos,'value');
+
+if val_dev ~=1
+    tango_set_timeout(dev{val_dev},30000);
+    mode    = tango_read_attribute2(dev{val_dev},'Mode');
+
+    set(handles.Current_mode_Pos,'String',mode.value);
+
+    Nvalues  = tango_read_attribute2(dev{val_dev},'NumSamples');
+    set(handles.Nsamples_Pos,'String',num2str(Nvalues.value(1)));
+end
+
+% --- Executes during object creation, after setting all properties.
+function dev_name_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dev_name_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit19 as text
+%        str2double(get(hObject,'String')) returns contents of edit19 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Echelle_Callback(hObject, eventdata, handles)
+% hObject    handle to Echelle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Echelle as text
+%        str2double(get(hObject,'String')) returns contents of Echelle as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Echelle_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Echelle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in Change_mode_Pos.
+function Change_mode_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Change_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Change_mode_Pos contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Change_mode_Pos
+val     = get(handles.Change_mode_Pos,'Value')
+dev     = get(handles.dev_name_Pos,'String')
+val_dev = get(handles.dev_name_Pos,'value')
+
+switch val
+    case 1
+        tango_write_attribute(dev{val_dev},'Mode','MODE_FT') 
+        %test_erreur_tango;
+    case 2
+        tango_write_attribute(dev{val_dev},'Mode','MODE_TT') 
+        %test_erreur_tango;
+    case 3
+         tango_write_attribute(dev{val_dev},'Mode','MODE_BN') 
+         set(handles.Current_mode_NO,'String','Boo Normal');
+         set(handles.Nsamples_NO,'string',num2str(10169));
+end;
+mode = tango_read_attribute2(dev{val_dev},'Mode');
+set(handles.Current_mode_Pos,'String',mode.value);
+
+
+% --- Executes during object creation, after setting all properties.
+function Change_mode_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Change_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Current_mode_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Current_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Current_mode_Pos as text
+%        str2double(get(hObject,'String')) returns contents of Current_mode_Pos as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Current_mode_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Current_mode_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Nsamples_Pos_Callback(hObject, eventdata, handles)
+% hObject    handle to Nsamples_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Nsamples_Pos as text
+%        str2double(get(hObject,'String')) returns contents of Nsamples_Pos as a double
+Nvaleurs = int32(str2num(get(handles.Nsamples_Pos,'String')));
+dev      = get(handles.dev_name_Pos,'String');
+val_dev  = get(handles.dev_name_Pos,'value');
+
+tango_write_attribute2(dev{val_dev},'NumSamples',Nvaleurs);
+set(handles.Echelle,'String',Nvaleurs); 
+
+% --- Executes during object creation, after setting all properties.
+function Nsamples_Pos_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Nsamples_Pos (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/orbitcontrol.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/orbitcontrol.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/orbitcontrol.m	(revision 17)
@@ -0,0 +1,3384 @@
+function orbitcontrol(action, Input2, Input3)
+%ORBITCONTROL - GUI for orbit correction and SOFB
+%
+%  INPUTS
+%  None to launch the programme
+%  1. action - Callback to execute
+%  2. Input2 - First argument for callback function
+%  3. Input3  First argument for callback function
+%
+%  OUPUTS
+%  None
+%
+%  NOTES
+%  1. Settings for SOFB and manual orbit correction are often different
+%  2. Manual Correction : 3 iterations are done in a row
+%
+%  See Also setorbit
+
+% TODO
+% look for marker TEST LAURENT MASTERCLOCK KO, SOFB
+
+% For Compiler
+%#function lat_2020_3170b
+%#function lat_2020_3170a
+%#function lat_2020_3170e
+%#function lat_2020_3170f
+%#function solamor2linb
+%#function solamor2linc
+%#function gethbpmaverage
+%#function getvbpmaverage
+%#function gethbpmgroup
+%#function getvbpmgroup
+%#function lat_pseudo_nanoscopium_juin2011_122BPM
+%#function lat_nano_176_234_122BPM
+
+%
+%  Written by Laurent S. Nadolski (inspired by ALS srcontrol programme)
+%  28 September 2009. Retry flag added for avoiding direct SOFB stop if communication issue with MasterClock device
+%  TODO
+%  Weight edition ?
+%  HWarnNum, VwarnNum
+%  publisher SOFB as a global variable in the function
+%  Add Flag for FB interaction
+
+
+% FLAG for interaction between FOFB and SOFB
+FB.UPDATE_FOFB = 0; % to be replaced by FOFB.SOFBandFOFB
+
+devFOFBManager = 'ANS/DG/FOFB-MANAGER';
+
+XBPMFlag = 0;
+
+% Check if the AO exists
+checkforao;
+devSpeakerName = getfamilydata('TANGO', 'TEXTTALKERS');
+devLockName = 'ANS/CA/SERVICE-LOCKER';
+
+% Arguments
+if nargin < 1
+    action = 'Initialize';
+end
+
+if nargin < 2
+    Input2 = 0;
+end
+
+if nargin < 3
+    Input3 = 0;
+end
+
+% Common variables
+SR_GEV = getenergy('Energy');
+
+% BPM Families
+BPMxFamily = gethbpmfamily;
+
+if XBPMFlag
+    BPMyFamily = 'PBPMz';
+else
+    BPMyFamily = getvbpmfamily;
+end
+
+% Corrector Families
+HCMFamily  = gethcmfamily;
+VCMFamily  = getvcmfamily;
+
+% Minimum stored current to allow correction
+%DCCTMIN = 0.001; % mA 
+
+
+%%%%%%%%%%%%%%%%
+%% Main Program
+%%%%%%%%%%%%%%%%
+
+switch(action)
+    %% StopOrbitFeedback
+    case 'StopOrbitFeedback'
+        
+        setappdata(findobj(gcbf,'Tag','ORBITCTRLFig1'),'FEEDBACK_STOP_FLAG', 1);
+        set(findobj(gcbf,'Tag','ORBITCTRLStaticTextInformation'),'String','SOFB STOP');
+        pause(0);
+        
+        %% Initialize
+    case 'Initialize'
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % GUI  CONSTRUCTION
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        ButtonWidth   = 200;
+        ButtonHeight  = 25;
+        
+        Offset1     = 3*(ButtonHeight+3);            % Frame around Text information
+        Offset2     = Offset1 + 2*(ButtonHeight+3);  % Frame around SOFB
+        Offset3     = Offset2 + 11*(ButtonHeight+3); % Manual Orbit
+        FigWidth    = ButtonWidth + 6;               % Figure width
+        FigHeight   = Offset3 + 5.5*(ButtonHeight+3);% Figure heigth
+        ButtonWidth = 200-6;
+        
+        % Change figure position
+        set(0,'Units','pixels');
+        p = get(0,'screensize');
+        
+        orbfig = findobj(allchild(0),'tag','ORBITCTRLFig1');
+        
+        if ~isempty(orbfig)
+            return; % IHM already exists
+        end
+        
+        h0 = figure( ...
+            'Color',[0.1 0.1 1], ...
+            'HandleVisibility','Off', ...
+            'Interruptible', 'on', ...
+            'MenuBar','none', ...
+            'Name','SOLEIL ORBIT CONTROL', ...
+            'NumberTitle','off', ...
+            'Units','pixels', ...
+            'Position',[30 p(4)-FigHeight-40 FigWidth FigHeight], ...
+            'Resize','off', ...
+            'HitTest','off', ...
+            'IntegerHandle', 'off', ...
+            'Tag','ORBITCTRLFig1');
+        
+        % Frame Box I
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset3 ButtonWidth+6 4.5*ButtonHeight+25], ...
+            'Style','frame');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6 3 + 4*(ButtonHeight+3)+Offset3  ButtonWidth .6*ButtonHeight], ...
+            'String','Manual Orbit Correction', ...
+            'Style','text');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3 + 3*(ButtonHeight+3) + Offset3 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxHcorrection');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+2*(ButtonHeight+3)+Offset3 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxVcorrection');
+        
+        uicontrol('Parent',h0, ...
+            'Callback','orbitcontrol(''OrbitCorrection'');', ...
+            'Interruptible','Off', ...
+            'Enable','On', ...
+            'Position',[6 3+1*(ButtonHeight+3)+Offset3 ButtonWidth ButtonHeight], ...
+            'String','Correct Orbit', ...
+            'Tag','ORBITCTRLButtonOrbitCorrection');
+        
+        uicontrol('Parent',h0, ...
+            'CreateFcn','orbitcontrol(''OrbitCorrectionSetup'',1);', ...
+            'callback','orbitcontrol(''OrbitCorrectionSetup'',0);', ...
+            'Enable','on', ...
+            'Interruptible', 'off', ...
+            'Position',[6 3+Offset3 ButtonWidth 0.8*ButtonHeight], ...
+            'String','Edit BPM, CM Lists', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','ORBITCTRLButtonOrbitCorrectionSetup');
+        
+        uicontrol('Parent',h0, ...
+            'callback','orbitcontrol(''InteractionMode'',0);', ...
+            'BackgroundColor',[1 0 0], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3 + Offset3 - ButtonHeight ButtonWidth-32 .8*ButtonHeight], ...
+            'String','SOFB + FOFB interaction', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Tag','ORBITCTRLCheckboxInteractionMode');
+        
+        
+        % Frame Box II
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset2 ButtonWidth+6 11*ButtonHeight+5], ...
+            'Style','frame');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6 3+9*(ButtonHeight+3)+ Offset2 ButtonWidth .55*ButtonHeight], ...
+            'String','Orbit Feedback', ...
+            'Style','text');
+        
+           uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6 3+8.4*(ButtonHeight+3)+ Offset2 ButtonWidth-6 .6*ButtonHeight], ...
+            'String','Min Current to Start = ', ...
+            'Style','text',...
+            'Tag','ORBITCTRLStaticTextDCCT');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'callback','orbitcontrol(''SOFBHSelected'');', ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3 + 7.4*(ButtonHeight+3) + Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxHSOFB');
+        
+           uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6 3+6.9*(ButtonHeight+3)+ Offset2 0.5*ButtonWidth-20 .6*ButtonHeight], ...
+            'String','Gain = ', ...
+            'Style','text',...
+            'Tag','ORBITCTRLStaticTextGainH');
+
+           uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[0.5*ButtonWidth-10 3+6.9*(ButtonHeight+3)+ Offset2 0.5*ButtonWidth-6 .6*ButtonHeight], ...
+            'String','Min = ', ...
+            'Style','text',...
+            'Tag','ORBITCTRLStaticTextThresholdH');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+6*(ButtonHeight+3)+Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxVSOFB');
+        
+       
+            uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6 3+5.3*(ButtonHeight+3)+ Offset2 0.5*ButtonWidth-20 .8*ButtonHeight], ...
+            'String','Gain = ', ...
+            'Style','text',...
+            'Tag','ORBITCTRLStaticTextGainV');
+
+           uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[0.5*ButtonWidth-10 3+5.3*(ButtonHeight+3)+ Offset2 0.5*ButtonWidth-6 .8*ButtonHeight], ...
+            'String','Min = ', ...
+            'Style','text',...
+            'Tag','ORBITCTRLStaticTextThresholdV');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+5*(ButtonHeight+3)+Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Fast Orbit Correction (Not implemented)', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Visible', 'Off', ...
+            'Tag','ORBITCTRLCheckboxFOFB');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3+4.6*(ButtonHeight+3)+Offset2 ButtonWidth-32 .8*ButtonHeight], ...
+            'String','Correct RF Frequency', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','ORBITCTRLCheckboxRF');
+        
+          uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[6 3+4*(ButtonHeight+3)+ Offset2 0.5*ButtonWidth-6 .6*ButtonHeight], ...
+            'String','Min = ', ...
+            'Style','text',...
+            'Tag','ORBITCTRLStaticTextMinRF');
+
+             uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[0.5*ButtonWidth+6 3+4*(ButtonHeight+3)+ Offset2 0.5*ButtonWidth-6 .6*ButtonHeight], ...
+            'String','Max = ', ...
+            'Style','text',...
+            'Tag','ORBITCTRLStaticTextMaxRF');
+
+        uicontrol('Parent',h0, ...
+            'callback','orbitcontrol(''Feedback'');', ...
+            'Enable','on', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[8 3+3*(ButtonHeight+3)+ Offset2 .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Start FB', ...
+            'Value',0, ...
+            'Tag','ORBITCTRLPushbuttonStart');
+        
+        uicontrol('Parent',h0, ...
+            'callback','orbitcontrol(''StopOrbitFeedback'');pause(0);', ...
+            'Enable','off', ...
+            'FontSize',12, ...
+            'Interruptible', 'on', ...
+            'ListboxTop',0, ...
+            'Position',[.5*FigWidth+3 3+3*(ButtonHeight+3)+Offset2 .5*ButtonWidth-6 1.0*ButtonHeight], ...
+            'String','Stop FB', ...
+            'Value',0, ...
+            'Tag','ORBITCTRLPushbuttonStop');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','left', ...
+            'ListboxTop',0, ...
+            'Position',[14 3 + 2*(ButtonHeight)+Offset2 ButtonWidth-14 .75*ButtonHeight], ...
+            'String','Horizontal RMS = _____ mm', ...
+            'Style','text', ...
+            'Tag','ORBITCTRLStaticTextHorizontal');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','left', ...
+            'ListboxTop',0, ...
+            'Position',[26 3 + 1*(ButtonHeight) + Offset2 ButtonWidth-26 .75*ButtonHeight], ...
+            'String','Vertical RMS = _____ mm', ...
+            'Style','text', ...
+            'Tag','ORBITCTRLStaticTextVertical');
+        
+        uicontrol('Parent',h0, ...
+            'CreateFcn','orbitcontrol(''FeedbackSetup'',1);', ...
+            'callback','orbitcontrol(''FeedbackSetup'',0);', ...
+            'Enable','on', ...
+            'Interruptible', 'off', ...
+            'Position',[8 3 + Offset2 ButtonWidth-5 .75*ButtonHeight], ...
+            'String','Edit SOFB Setup', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','ORBITCTRLButtonFeedbackSetup');
+        
+        % Frame Box III
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 Offset1  ButtonWidth+6 ButtonHeight+12], ...
+            'Style','frame');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6 Offset1 + 0.7*ButtonHeight ButtonWidth .7*ButtonHeight], ...
+            'String','Experimental Interface', ...
+            'Style','text', ...
+            'Tag','ORBITCTRLStaticTextHeader');
+        
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ForegroundColor','b', ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6 3 + Offset1 + .05*ButtonHeight ButtonWidth .7*ButtonHeight], ...
+            'String','   Startup', ...
+            'Style','text', ...
+            'Tag','ORBITCTRLStaticTextInformation');
+        
+        uicontrol('Parent',h0, ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[26 3 + Offset1 - ButtonHeight ButtonWidth-32 .8*ButtonHeight], ...
+            'String','FOFB ready for interaction', ...
+            'Style','checkbox', ...
+            'Value',0,...
+            'Enable','inactive', ...
+            'Tag','ORBITCTRLCheckboxFB');
+        
+        % Frame Box "Close"
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[3 8 ButtonWidth+6 ButtonHeight+8], ...
+            'Style','frame');
+        
+        uicontrol('Parent',h0, ...
+            'Callback', 'close(gcbf);', ...
+            'Enable','On', ...
+            'Interruptible','Off', ...
+            'Position',[6 13 ButtonWidth ButtonHeight], ...
+            'String','Close', ...
+            'Tag','ORBITCTRLClose');
+        
+        %setup average data for reading BPMs
+        %setfamilydata('gethbpmaverage',BPMxFamily,'Monitor', 'SpecialFunctionGet')
+        %setfamilydata('getvbpmaverage',BPMyFamily,'Monitor', 'SpecialFunctionGet')
+        
+        
+        
+        %% OrbitCorrectionSetup
+    case 'OrbitCorrectionSetup'
+        % NOTES setting for SOFB and manual orbit correction are often
+        % different
+        
+        InitFlag = Input2;  % Input #2: if InitFlag, then initialize variables
+        
+        if InitFlag % just at startup
+            
+            % Setup orbit correction elements : DEFAULT configuration
+            %disp('Orbit correction condition: InitFlag=1 -- debugging message');
+            
+            % Get list of BPMs et corrector magnets
+            [HCMlist VCMlist BPMlist] = getlocallist;
+            
+            % SVD orbit correction singular values
+            Xivec = 1:57;
+            Yivec = 1:57;
+            
+           % Correction Gain values
+            Xgain = 1;
+            Ygain = 1;
+          
+            % Correctors Thresholds
+            dhcmStd=0.0003;
+            dvcmStd=0.0003;
+            
+            %RF Thresholds
+            deltaRFmax=10e-6;
+            deltaRFmin=0.3e-6;
+
+             %DCCT Threshold
+            DCCTMIN=0.001;
+            
+            % initialize RFCorrFlag
+            %RFCorrFlag = 'No';
+            RFCorrFlag = 'Yes';
+            
+            % Goal orbit
+            Xgoal = getgolden(BPMxFamily, BPMlist, 'numeric');
+            Ygoal = getgolden(BPMyFamily, BPMlist, 'numeric');
+            
+            % BPM weights
+            Xweight = ones(size(BPMlist,1), 1);
+            Yweight = ones(size(BPMlist,1), 1);
+            
+            % Correctors weights
+            HCMweight = ones(size(HCMlist,1), 1);
+            VCMweight = ones(size(VCMlist,1), 1);
+            
+        else % For orbit correction Configuration
+            % Get vector for orbit correction
+            FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Userdata');
+            BPMlist = FB.BPMlist;
+            HCMlist = FB.HCMlist;
+            VCMlist = FB.VCMlist;
+            Xivec = FB.Xivec;
+            Yivec = FB.Yivec;
+            Xgoal = FB.Xgoal;
+            Ygoal = FB.Ygoal;
+            
+            Xgain = FB.Xgain;
+            Ygain = FB.Ygain;
+          
+            dhcmStd=FB.dhcmStd;
+            dvcmStd=FB.dvcmStd;
+            
+            deltaRFmax=FB.deltaRFmax;
+            deltaRFmin=FB.deltaRFmin;
+
+            DCCTMIN=FB.DCCTMIN
+            
+            RFCorrFlag = FB.RFCorrFlag;
+            
+            HCMweight = FB.OCSx.CMWeight;
+            VCMweight = FB.OCSx.CMWeight;
+            Xweight = FB.OCSx.BPMWeight;
+            Yweight = FB.OCSy.BPMWeight;
+            
+            % Add button to change #ivectors, CMs, IDBPMs,
+            EditFlag = 0;
+            h_fig1 = figure;
+            
+            while EditFlag ~= 12
+                
+                % get Sensitivity matrices
+                Sx = getrespmat(BPMxFamily, BPMlist, HCMFamily, HCMlist, [], SR_GEV);
+                Sy = getrespmat(BPMyFamily, BPMlist, VCMFamily, VCMlist, [], SR_GEV);
+                
+                % Computes SVD to get singular values
+                [Ux, SVx, Vx] = svd(Sx);
+                [Uy, SVy, Vy] = svd(Sy);
+                
+                % Remove singular values greater than the actual number of singular values
+                i = find(Xivec>length(diag(SVx)));
+                if ~isempty(i)
+                    disp('   Horizontal singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Xivec(i) = [];
+                end
+                i = find(Yivec>length(diag(SVy)));
+                if ~isempty(i)
+                    disp('   Vertical singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Yivec(i) = [];
+                end
+                
+                % Display singular value plot for both planes
+                
+                figure(h_fig1);
+                
+                subplot(2,1,1);
+                semilogy(diag(SVx),'b');
+                hold on;
+                semilogy(diag(SVx(Xivec,Xivec)),'xr');
+                ylabel('Horizontal');
+                title('Response Matrix Singular Values');
+                hold off; grid on;
+                
+                subplot(2,1,2);
+                semilogy(diag(SVy),'b');
+                hold on;
+                semilogy(diag(SVy(Yivec,Yivec)),'xr');
+                xlabel('Singular Value Number');
+                ylabel('Vertical');
+                hold off; grid on;
+                drawnow;
+                
+                % End of display
+                
+                if strcmpi(RFCorrFlag,'No')
+                    RFCorrState = 'NOT CORRECTED';
+                elseif strcmp(RFCorrFlag,'Yes')
+                    RFCorrState = 'CORRECTED';
+                else
+                    RFCorrState = '???';
+                end
+                
+                EditFlag = menu('Change Parameters?','Singular Values','Correction Gains', 'Correction Thresholds', ...
+                    'Horizontal corrector magnet list', 'Horizontal corrector magnet weights', ...
+                    'Vertical corrector magnet list', 'Vertical corrector magnet weights',  ...
+                    'BPM list', 'BPM weights', 'Golden Orbit value',...
+                    sprintf('RF Frequency (currently %s)',RFCorrState),'Return');
+                
+                % Edition switchyard for orbit correction
+                switch EditFlag
+                    case 1 % Singular value edition
+                        
+                        % Build up matlab prompt
+                        prompt = {'Enter the horizontal singular value vector (Matlab vector format):', ...
+                            'Enter the vertical singular value vector (Matlab vector format):'};
+                        % default values
+                        def = {sprintf('[%d:%d]',1,Xivec(end)),sprintf('[%d:%d]',1,Yivec(end))};
+                        titlestr = 'SVD Orbit Correction';
+                        lineNo = 1;
+                        
+                        answer = inputdlg(prompt,titlestr,lineNo,def);
+                        
+                        % Answer parsing
+                        if ~isempty(answer)
+                            % Horizontal plane
+                            XivecNew = fix(str2num(answer{1}));
+                            if isempty(XivecNew)
+                                disp('   Horizontal singular value number cannot be empty.  No change made.');
+                            else
+                                if any(XivecNew<=0) || max(XivecNew)>length(diag(SVx))
+                                    disp('   Error reading horizontal singular value vector  No change made.');
+                                else
+                                    Xivec = XivecNew;
+                                end
+                            end
+                            % Vertical plane
+                            YivecNew = fix(str2num(answer{2}));
+                            if isempty(YivecNew)
+                                disp('   Vertical singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(YivecNew<=0) || max(YivecNew)>length(diag(SVy))
+                                    disp('   Error reading vertical singular value vector.  No change made.');
+                                else
+                                    Yivec = YivecNew;
+                                end
+                            end
+                        end
+                        
+                       
+                    case 2 % Correction Gain edition
+
+                        % Build up matlab prompt1
+                        prompt = {'Enter the horizontal loop gain value :', ...
+                            'Enter the vertical loop gain value :'};
+                        % default values
+                        def = {sprintf('%d',Xgain),sprintf('%d',Ygain)};
+                        titlestr = 'Change loop gain value';
+                        lineNo = 1;
+
+                        answer = inputdlg(prompt,titlestr,lineNo,def);
+
+                        % Answer parsing
+                        if ~isempty(answer)
+                            % Horizontal plane
+                            XgainNew = str2num(answer{1});
+                            if isempty(XgainNew)
+                                disp('   Horizontal gain value cannot be empty.  No change made.');
+                            else
+                                if (XgainNew<=0)
+                                    disp('   Error reading horizontal gain value. No change made.');
+                                else
+                                    Xgain = XgainNew;
+                                    % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','orbitcontrolXgain'),'string',['H-Loop-Gain = ',num2str(Xgain)]);
+                                 end
+                            end
+                            % Vertical plane
+                            YgainNew = str2num(answer{2});
+                            if isempty(YgainNew)
+                                disp('   Vertical gain value cannot be empty.  No change made.');
+                            else
+                                if (YgainNew<=0) 
+                                    disp('   Error reading vertical gain value.  No change made.');
+                                else
+                                    Ygain = YgainNew;
+                                    % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','orbitcontrolgain'),'string',['V-Loop-Gain = ',num2str(Ygain)]);
+                                end
+                            end
+                        end
+                        
+                    case 3 % Correction Threshold edition
+
+                        % Build up matlab prompt
+                        prompt = {'Enter the horizontal corrector threshold value (A):', ...
+                            'Enter the vertical corrector threshold value (A):',...
+                           'Enter the maximum RF correction value (MHz):', ...
+                            'Enter the minimum RF correction value (MHz):',...
+                            'Enter the DCCT Threshold value (A):'};
+                        % default values
+                        def = {sprintf('%d',dhcmStd),sprintf('%d',dvcmStd),sprintf('%d',deltaRFmax),sprintf('%d',deltaRFmin),sprintf('%d',DCCTMIN)};
+                        titlestr = 'Change Correction Threshold values';
+                        lineNo = 1;
+
+                        answer = inputdlg(prompt,titlestr,lineNo,def);
+
+                        % Answer parsing
+                        if ~isempty(answer)
+                            % Horizontal plane
+                            dhcmStdNew = str2num(answer{1});
+                            if isempty(dhcmStdNew)
+                                disp('   Horizontal corrector threshold value cannot be empty.  No change made.');
+                            else
+                                if (dhcmStdNew<=0)
+                                    disp('   Error reading horizontalcorrector threshold value. No change made.');
+                                else
+                                    dhcmStd = dhcmStdNew;
+                                end
+                            end
+                            % Vertical plane
+                            dvcmStdNew = str2num(answer{2});
+                            if isempty(dvcmStdNew)
+                                disp('   Vertical corrector threshold value cannot be empty.  No change made.');
+                            else
+                                if (dvcmStdNew<=0) 
+                                    disp('   Error reading vertical corrector threshold value.  No change made.');
+                                else
+                                    dvcmStd = dvcmStdNew;
+                               end
+                            end
+                            % RF max
+                            deltaRFmaxNew = str2num(answer{3});
+                            if isempty( deltaRFmaxNew)
+                                disp('   Maximum RF threshold value cannot be empty.  No change made.');
+                            else
+                                if ( deltaRFmaxNew<=0)
+                                    disp('   Error reading Maximum RF threshold value. No change made.');
+                                else
+                                     deltaRFmax =  deltaRFmaxNew;
+                                end
+                            end
+                           % RF min
+                            deltaRFminNew = str2num(answer{4});
+                            if isempty( deltaRFminNew)
+                                disp('   Minimum RF threshold value cannot be empty.  No change made.');
+                            else
+                                if ( deltaRFminNew<=0)
+                                    disp('   Error reading Minimum RF threshold value. No change made.');
+                                else
+                                     deltaRFmin =  deltaRFminNew;
+                                end
+                            end
+                          % DCCT min
+                            DCCTMINNew = str2num(answer{5});
+                            if isempty( DCCTMINNew)
+                                disp('   Minimum DCCT threshold value cannot be empty.  No change made.');
+                            else
+                                if ( DCCTMINNew<=0)
+                                    disp('   Error reading Minimum DCCT threshold value. No change made.');
+                                else
+                                     DCCTMIN =  DCCTMINNew;
+                                end
+                            end
+                          end
+                        
+                    case 4 % Horizontal corrector list edition
+                        List = getlist(HCMFamily);
+                        ListOld = HCMlist;
+                        CheckList = zeros(size(List,1));
+                        Elem = dev2elem(HCMFamily, HCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(HCMFamily,List));
+                        newList = editlist(List, HCMFamily, CheckList);
+                        
+                        if isempty(newList)
+                            fprintf('   Horizontal corrector magnet list cannot be empty.  No change made.\n');
+                        else
+                            HCMlist = newList;
+                        end
+                        
+                        %set correctors weight values
+                        HCMweightOld = HCMweight;
+                        HCMweight = ones(size(HCMlist,1), 1);
+                        
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(HCMlist,1)
+                            
+                            % Is it a new corrector?
+                            k = find(HCMlist(i,1)==ListOld(:,1));
+                            l = find(HCMlist(i,2)==ListOld(k,2));
+                            
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                HCMweight(i) = HCMweightOld(k(l));
+                            end
+                        end
+                         
+                    case 5 % Horizontal corrector weight edition
+                        
+                        % Ask user to select HCM for modifying weight
+                        ChangeList = editlist(HCMlist, 'Change HCM', ...
+                            zeros(size(HCMlist,1),1));
+                        
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+                            
+                            k = find(ChangeList(i,1) == HCMlist(:,1));
+                            l = find(ChangeList(i,2) == HCMlist(k,2));
+                            
+                            prompt = {sprintf('Enter the new weight for HCM(%d,%d):', ...
+                                HCMlist(k(l),1), HCMlist(k(l),2))};
+                            def = {sprintf('%f',HCMweight(k(l))),sprintf('%f',HCMweight(k(l)))};
+                            titlestr = 'CHANGE THE HCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+                            
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                HCMweightnew = str2num(answer{1});
+                                if isempty(HCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    HCMweight(k(l)) = HCMweightnew;
+                                end
+                            end
+                        end
+                        
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the HCM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                        end
+                        
+                    case 6 % Vertical corrector list edition
+                        List = getlist(VCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = VCMlist;
+                        Elem = dev2elem(VCMFamily, VCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(VCMFamily,List));
+                        newList = editlist(List, VCMFamily, CheckList);
+                        if isempty(newList)
+                            fprintf('   Vertical corrector magnet cannot be empty.  No change made.\n');
+                        else
+                            VCMlist = newList;
+                        end
+                        
+                        %set correctors weight values
+                        VCMweightOld = VCMweight;
+                        VCMweight = ones(size(VCMlist,1), 1);
+                        
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(VCMlist,1)
+                            
+                            % Is it a new corrector?
+                            k = find(VCMlist(i,1)==ListOld(:,1));
+                            l = find(VCMlist(i,2)==ListOld(k,2));
+                            
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                VCMweight(i) = VCMweightOld(k(l));
+                            end
+                        end
+                    case 7 % Vertical corrector weight edition
+                        % Ask user to select VCM for modifying weight
+                        ChangeList = editlist(VCMlist, 'Change VCM', ...
+                            zeros(size(VCMlist,1),1));
+                        
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+                            
+                            k = find(ChangeList(i,1) == VCMlist(:,1));
+                            l = find(ChangeList(i,2) == VCMlist(k,2));
+                            
+                            prompt = {sprintf('Enter the new weight for VCM(%d,%d):', ...
+                                VCMlist(k(l),1), VCMlist(k(l),2))};
+                            def = {sprintf('%f',VCMweight(k(l))),sprintf('%f',VCMweight(k(l)))};
+                            titlestr = 'CHANGE THE VCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+                            
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                VCMweightnew = str2num(answer{1});
+                                if isempty(VCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    VCMweight(k(l)) = VCMweightnew;
+                                end
+                            end
+                        end
+                        
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the VCM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                        end
+                        
+                    case 8 % BPM list edition
+                        % Backup element before edition
+                        ListOld = BPMlist;
+                        XgoalOld = Xgoal;
+                        YgoalOld = Ygoal;
+                        XweightOld = Xweight;
+                        YweightOld = Yweight;
+                        
+                        % Get full BPM list
+                        List = family2dev(BPMxFamily);
+                        
+                        % Check BPM already in the list CheckList(i) = 1
+                        %       BPM not in the list CheckList(i) = 0
+                        CheckList = zeros(size(List,1),1);
+                        if ~isempty(BPMlist)
+                            for i = 1:size(List,1)
+                                k = find(List(i,1) == BPMlist(:,1));
+                                l = find(List(i,2) == BPMlist(k,2));
+                                if isempty(k) || isempty(l)
+                                    % Item not in list
+                                else
+                                    CheckList(i) = 1;
+                                end
+                            end
+                        end
+                        
+                        % User edition of the BPM list
+                        newList = editlist(List, 'BPM', CheckList);
+                        if isempty(newList)
+                            fprintf('   BPM list cannot be empty.  No change made.\n');
+                        else
+                            BPMlist = newList;
+                        end
+                        
+                        % Set the goal orbit to the golden orbit
+                        Xgoal = getgolden(BPMxFamily, BPMlist);
+                        Ygoal = getgolden(BPMyFamily, BPMlist);
+                        Xweight = ones(size(BPMlist,1),1);
+                        Yweight = ones(size(BPMlist,1),1);
+                        
+                        % If a new BPM is added, then set the goal orbit to the golden orbit
+                        % For other BPMs, present goal orbit is kept
+                        for i = 1:size(BPMlist,1)
+                            
+                            % Is it a new BPM?
+                            k = find(BPMlist(i,1) == ListOld(:,1));
+                            l = find(BPMlist(i,2) == ListOld(k,2));
+                            
+                            if isempty(k) || isempty(l)
+                                % New BPM
+                            else
+                                % Use the old value for old BPM
+                                Xgoal(i) = XgoalOld(k(l));
+                                Ygoal(i) = YgoalOld(k(l));
+                                Xweight(i) = XweightOld(k(l));
+                                Yweight(i) = YweightOld(k(l));
+                            end
+                        end
+                        
+                    case 9 % BPM weight edition
+                        % Ask user to select BPM for modifying weight
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+                        
+                        % Ask the new weight for each selected BPM
+                        for i = 1:size(ChangeList,1)
+                            
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+                            
+                            prompt = {sprintf('Enter the new weight for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new weight for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xweight(k(l))),sprintf('%f',Yweight(k(l)))};
+                            titlestr = 'CHANGE THE BPM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+                            
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the BPM weight.\n');
+                            else
+                                Xweightnew = str2num(answer{1});
+                                if isempty(Xweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    Xweight(k(l)) = Xweightnew;
+                                end
+                                
+                                Yweightnew = str2num(answer{2});
+                                if isempty(Yweightnew)
+                                    fprintf('   No change was made to the vertical BPM weight.\n');
+                                else
+                                    Yweight(k(l)) = Yweightnew;
+                                end
+                            end
+                        end
+                        
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the BPM weight for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                        end
+                        
+                        
+                    case 10 % Golden orbit manual edition
+                        
+                        % Ask user to select BPM for modifying golden orbit
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+                        
+                        % Ask the new golden orbit for each selected BPM
+                        for i = 1:size(ChangeList,1)
+                            
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+                            
+                            prompt = {sprintf('Enter the new horizontal goal orbit for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new vertical goal orbit for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xgoal(k(l))),sprintf('%f',Ygoal(k(l)))};
+                            titlestr = 'CHANGE THE GOAL ORBIT';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+                            
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the golden orbit.\n');
+                            else
+                                Xgoalnew = str2num(answer{1});
+                                if isempty(Xgoalnew)
+                                    fprintf('   No change was made to the horizontal golden orbit.\n');
+                                else
+                                    Xgoal(k(l)) = Xgoalnew;
+                                end
+                                
+                                Ygoalnew = str2num(answer{2});
+                                if isempty(Ygoalnew)
+                                    fprintf('   No change was made to the vertical golden orbit.\n');
+                                else
+                                    Ygoal(k(l)) = Ygoalnew;
+                                end
+                            end
+                        end
+                        
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the goal orbit for "Orbit Correction" does not change the goal orbit for "Slow Orbit Feedback."\n');
+                            fprintf('          Re-running soleilinit will restart the goal orbit to the golden orbit."\n');
+                        end
+                        
+                    case 11 % RF flag edition
+                        RFCorrFlag = questdlg(sprintf('Set RF Frequency during Orbit Correction?'),'RF Frequency','Yes','No', 'No');
+                        if strcmp(RFCorrFlag,'No')
+                            disp('   RF Frequency will not be included in global orbit correction.');
+                        elseif strcmp(RFCorrFlag,'Yes')
+                            disp('   RF Frequency will be included in global orbit correction.');
+                        end
+                        FB.RFCorrFlag = RFCorrFlag;
+                end
+            end
+            close(h_fig1);
+        end
+        % END of switchyard for orbit correction edition
+        
+        % This part is common for case 'orbit correction edition'
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % Build up Orbit correction Structures   %
+        %  for setorbit programme : OCSx and OCSy%
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %  ORBIT CORRECTION STRUCTURE (OCS)
+        %    OCS.BPM (data structure)
+        %    OCS.CM  (data structure)
+        %    OCS.GoalOrbit
+        %    OCS.NIter
+        %    OCS.SVDIndex
+        %    OCS.IncrementalFlag = 'Yes'/'No'
+        %    OCS.BPMWeight
+        %    OCS.Flags = { 'FitRF' , etc.  }
+        
+        
+        % Horizontal plane
+        OCSx.BPM = getx(BPMlist, 'struct');
+        OCSx.GoalOrbit = Xgoal;
+        OCSx.CM  = getsp(HCMFamily, HCMlist, 'struct','Model');
+        OCSx.NIter = 1; % Number of iteration
+        OCSx.SVDIndex = Xivec; % number of eigenvectors for correction
+        OCSx.IncrementalFlag = 'No';
+        if strcmp(RFCorrFlag,'Yes')
+            OCSx.FitRF = 1; % take RF as a corrector
+        else
+            OCSx.FitRF = 0;
+        end
+        
+        %Default weight for correctores and BPMs
+        OCSx.CMWeight  = HCMweight;
+        OCSx.BPMWeight = Xweight;
+        
+        % Vertical plane
+        OCSy.BPM = getz(BPMlist, 'struct');
+        OCSy.CM  = getsp(VCMFamily, VCMlist, 'struct','Model');
+        OCSy.GoalOrbit = Ygoal;
+        OCSy.NIter = 1;
+        OCSy.SVDIndex = Yivec;
+        OCSy.IncrementalFlag = 'No';
+        OCSy.FitRF = 0;
+        
+        %Default weight for correctors and BPMs
+        OCSy.CMWeight  = VCMweight;
+        OCSy.BPMWeight = Yweight;
+        
+        % Save structures for later orbit correction
+        FB.OCSx = OCSx;
+        FB.OCSy = OCSy;
+        
+        % List of BPM et correctors to be used
+        FB.BPMlist = BPMlist;
+        FB.HCMlist = HCMlist;
+        FB.VCMlist = VCMlist;
+        
+        % List of singular values
+        FB.Xivec = Xivec;
+        FB.Yivec = Yivec;
+        
+        % Goal orbit
+        FB.Xgoal = OCSx.GoalOrbit;
+        FB.Ygoal = OCSy.GoalOrbit;
+        
+        % Correction Gain
+        FB.Xgain = Xgain;
+        FB.Ygain = Ygain;
+        
+        % Correction Thresholds
+        FB.dhcmStd = dhcmStd;
+        FB.dvcmStd = dvcmStd;
+        FB.deltaRFmax=deltaRFmax;
+        FB.deltaRFmin=deltaRFmin;       
+        FB.DCCTMIN=DCCTMIN;
+        
+        % RF corrector flag
+        FB.RFCorrFlag = RFCorrFlag;
+        
+        % save FB structure in application
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Userdata',FB);
+        
+        %% OrbitCorrection
+    case 'OrbitCorrection' % Manual Orbit Correction
+        
+        try
+            if strcmp(getmode(BPMxFamily),'Online') && strcmp(getmode(BPMyFamily),'Online')
+                %look for already running SOFB
+                check4feedbackflag(devLockName, FB.UPDATE_FOFB)
+            end
+            %setup average data for reading BPMs
+            setfamilydata('gethbpmaverage',BPMxFamily,'Monitor', 'SpecialFunctionGet')
+            setfamilydata('getvbpmaverage',BPMyFamily,'Monitor', 'SpecialFunctionGet')
+            
+        catch err
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            disp('   ********************************');
+            disp('   **  Orbit Correction Aborted  **');
+            disp('   ********************************');
+            fprintf('\n');
+            return
+        end
+        
+        OrbitLoopIter = 4; % a 4 step iteration
+        
+        fprintf('\n');
+        fprintf('   *********************************\n');
+        fprintf('   **  Starting Orbit Correction  **\n');
+        fprintf('   *********************************\n');
+        fprintf('   %s \n', datestr(clock));
+        
+        StartFlag = questdlg(sprintf('Start orbit correction ?'),'Orbit Correction','Yes','No','No');
+        if strcmp(StartFlag,'No')
+            disp('   ********************************');
+            disp('   **  Orbit Correction Aborted  **');
+            disp('   ********************************');
+            fprintf('\n');
+            return
+        end
+        
+        % get Structure for correction
+        FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Userdata');
+        DCCTMIN=FB.DCCTMIN;
+            
+        if getdcct < DCCTMIN    % Don't correct the orbit if the current is too small
+            fprintf('   Orbit not corrected due to small current.\n');
+            return
+        end
+        
+        
+        fprintf('   Starting horizontal and vertical global orbit correction (SVD method).\n');
+        
+        % Number of steerer magnet correctors
+        N_HCM = size(FB.HCMlist,1);
+        N_VCM = size(FB.VCMlist,1);
+        
+        %Compare OrbitCorrection and feedback BPM lists and display a warning if different
+        OC_BPMlist = FB.BPMlist
+        SOFB = get(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata');
+        FB_BPMlist= SOFB.BPMlist;
+        if size(OC_BPMlist,1)==size(FB_BPMlist,1)
+            for i=1:size(OC_BPMlist,1)
+                k = find(OC_BPMlist(i,1) == FB_BPMlist(:,1));
+                l = find(OC_BPMlist(i,2) == FB_BPMlist(k,2));
+                if isempty(k) || isempty(l)
+                   list_comparison(i)=0;
+                else
+                   list_comparison(i)=1;
+                end
+            end
+            if ~isempty(find(list_comparison==0))
+                BPMlist_difference=1;
+            else
+                BPMlist_difference=0;
+            end
+        else
+            BPMlist_difference=1;
+        end
+        if BPMlist_difference
+            ListFlag = questdlg(sprintf('Manual correction and feedback BPM lists are different.\n Do you want to continue ?'),'Warning','Yes','No','No');
+                if strcmp(ListFlag,'No')
+                    disp('   ********************************');
+                    disp('   **  Orbit Correction Aborted  **');
+                    disp('   ********************************');
+                    fprintf('\n');
+                    return
+                else
+                   fprintf('** Correction started with different BPM list compared to feedback one** \n'); 
+                end
+        end
+
+        
+        for iloop = 1:OrbitLoopIter,
+            try
+                %%%%%%%%%%%%%%%%%
+                % use the following to get corrector settings in OCS and
+                % check everything seems Ok and gives back predicted correction
+                %% H-plane checks
+                if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHcorrection'),'Value') == 1
+                    HOrbitCorrectionFlag = 1;
+                    % Get new corrector values without applying
+                    FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp');
+                    %FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp','FitRFHCM0');
+                                        
+                    HCMSP = getsp(HCMFamily, FB.HCMlist);  % present corrector values
+                    HCMSP_next = HCMSP + FB.OCSx.CM.Delta(1:N_HCM); % next corrector values, just slow correctors (no RF)
+                    
+                    % get max values for the correctors
+                    MaxSP = maxsp(HCMFamily,FB.HCMlist);
+                    MinSP = minsp(HCMFamily,FB.HCMlist);
+                    
+                    % Check values
+                    if any(MaxSP - HCMSP_next  < 0)
+                        HCMnum = find(HCMSP_next > MaxSP);
+                        % message to screen
+                        fprintf('**One or more of the horizontal correctors is at its maximum positive value!! Stopping orbit feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                        HOrbitCorrectionFlag = 0;
+                    end
+                    
+                    if any(MinSP - HCMSP_next  > 0)
+                        HCMnum = find(HCMSP_next < MinSP);
+                        % message to screen
+                        fprintf('**One or more of the horizontal correctors is at its maximum negative value!! Stopping orbit feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                        HOrbitCorrectionFlag = 0;
+                    end
+                    
+                    if any(HCMSP_next > MaxSP - 1)
+                        HCMnum = find(HCMSP_next > MaxSP - 1);
+                        for ik = 1:length(HCMnum)
+                            fprintf('**Horizontal correctors %s is above %f! \n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                MaxSP(HCMnum(ik)) - 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+                    
+                    if any(HCMSP_next < MinSP + 1)
+                        HCMnum = find(HCMSP_next < MinSP + 1);
+                        for ik = 1:length(HCMnum)
+                            fprintf('**Horizontal correctors %s is below %f! \n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                MinSP(HCMnum(ik)) + 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+                end
+                
+                %% V-plane checks
+                if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxVcorrection'),'Value') ==1
+                    FB.OCSy = setorbit(FB.OCSy,'Nodisplay','Nosetsp');
+                    VOrbitCorrectionFlag = 1;
+                    VCMSP = getsp(VCMFamily,FB.VCMlist); % Get corrector values before correction
+                    VCMSP_next = VCMSP + FB.OCSy.CM.Delta(1:N_VCM); % New corrector values to be set in
+                    
+                    MaxSP = maxsp(VCMFamily,FB.VCMlist);
+                    MinSP = minsp(VCMFamily,FB.VCMlist);
+                    
+                    if any(MaxSP - VCMSP_next  < 0)
+                        VCMnum = find(VCMSP_next > MaxSP);
+                        % message to screen
+                        fprintf('**One or more of the vertical correctors is at its maximum positive value!! Stopping orbit feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                    end
+                    
+                    if any(MinSP - VCMSP_next  > 0)
+                        VCMnum = find(VCMSP_next < MinSP);
+                        % message to screen
+                        fprintf('**One or more of the vertical correctors is at its maximum negative value!! Stopping orbit feedback. \n');
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**%s is one of the problem correctors.\n', ...
+                            cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                    end
+                    
+                    if any(VCMSP_next > MaxSP - 1)
+                        VCMnum = find(VCMSP_next > MaxSP - 1);
+                        for ik = 1:length(VCMnum)
+                            fprintf('**Vertical correctors %s is above %f! \n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                MaxSP(VCMnum(ik)) - 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+                    
+                    if any(VCMSP_next < MinSP + 1)
+                        VCMnum = find(VCMSP_next < MinSP + 1);
+                        for ik = 1:length(VCMnum)
+                            fprintf('**Vertical correctors %s is below %f! \n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                MinSP(VCMnum(ik)) + 1);
+                        end
+                        fprintf('%s\n',datestr(now));
+                        fprintf('**The orbit correction is still working but this problem should be investigated. \n');
+                    end
+                end
+                
+                %%%%%%%%%%%%%%%%%%%%%%
+                
+                %                 if FB.UPDATE_FOFB && 1
+                %                     figure;
+                %                     subplot(2,1,1)
+                %                     plot(getspos('BPMx', FB.OCSx.BPM.DeviceList),  FB.OCSx.BPM.PredictedOrbitDelta)
+                %                     grid on;
+                %                     ylabel('Delta X (mm)');
+                %                     title(sprintf('%s RMS', max(abs(FB.OCSx.CM.Delta))));
+                %
+                %                     subplot(2,1,2)
+                %                     plot(getspos('BPMz', FB.OCSy.BPM.DeviceList),  FB.OCSy.BPM.PredictedOrbitDelta)
+                %                     grid on;
+                %                     xlabel('S-position (m)')
+                %                     ylabel('Delta Z (mm)');
+                %                     title(sprintf('%s RMS', max(abs(FB.OCSy.CM.Delta))));
+                %                     suptitle('Orbit Predicted')
+                %                 end
+                
+                %% manual correction and interaction with FOFB
+                if FB.UPDATE_FOFB
+                    %% update reference orbit for FOFB
+                    xRefFOFB = getx(FB.OCSx.BPM.DeviceList) + FB.OCSx.BPM.PredictedOrbitDelta;
+                    tango_write_attribute2(devFOFBManager, 'xRefOrbit', xRefFOFB');
+                    tango_command_inout2(devFOFBManager, 'StartStep04LoadXRefOrbit');
+                    fprintf(' New X-Reference orbit updated for FOFB \n')
+                    
+                    zRefFOFB = getz(FB.OCSy.BPM.DeviceList) + FB.OCSy.BPM.PredictedOrbitDelta;
+                    tango_write_attribute2(devFOFBManager, 'zRefOrbit', zRefFOFB');
+                    tango_command_inout2(devFOFBManager, 'StartStep05LoadZRefOrbit');
+                    fprintf(' New Z-Reference orbit updated for FOFB \n')
+                end
+                
+                
+                if (get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHcorrection'),'Value') == 1) && HOrbitCorrectionFlag
+                    % Correct horizontal orbit
+                    FB.OCSx = setorbit(FB.OCSx,'NoDisplay');
+                    %FB.OCSx = setorbit(FB.OCSx,'NoDisplay', 'FitRFHCM0');
+                end
+                
+                if (get(findobj(gcbf,'Tag','ORBITCTRLCheckboxVcorrection'),'Value') == 1) && VOrbitCorrectionFlag
+                    % Correct vertical orbit
+                    FB.OCSy = setorbit(FB.OCSy,'NoDisplay');
+                end
+                
+                % Check for current in machine - stop orbit correction if
+                % DCCT < DCCTMIN
+                if (getdcct < DCCTMIN)
+                    error('**There is less than %d in the machine! Stopping orbit correction.', DCCTMIN);
+                end
+                
+                % Residual orbit
+                Horbit = getx(FB.OCSx.BPM.DeviceList);
+                Vorbit = getz(FB.OCSy.BPM.DeviceList);
+                
+                % compute new Delta of closed orbit
+                x = FB.OCSx.GoalOrbit - Horbit;
+                y = FB.OCSy.GoalOrbit - Vorbit;
+                
+                fprintf('   %d. Horizontal RMS = %.3f mm (absolute %.3f mm)\n', iloop, std(x), std(Horbit));
+                fprintf('   %d.   Vertical RMS = %.3f mm (absolute %.3f mm)\n', iloop, std(y), std(Vorbit));
+                
+                pause(2);
+                
+            catch err
+                fprintf('   %s \n',lasterr);
+                fprintf('   Orbit correction failed due to error condition!\n  Fix the problem, reload the lattice (refreshthering), and try again.  \n\n');
+                return
+            end
+        end
+        
+        fprintf('   %s \n', datestr(clock));
+        fprintf('   *********************************\n');
+        fprintf('   **  Orbit Correction Complete  **\n');
+        fprintf('   *********************************\n\n');
+        
+        %setup manager data for reading BPMs
+        setfamilydata('gethbpmgroup',BPMxFamily,'Monitor', 'SpecialFunctionGet')
+        setfamilydata('getvbpmgroup',BPMyFamily,'Monitor', 'SpecialFunctionGet')
+        
+        %% FeedbackSetup
+    case 'FeedbackSetup' % Slow orbit Feedback (SOFB)
+        
+        InitFlag = Input2;           % Input #2: if InitFlag, then initialize variables
+        
+        if InitFlag % Used only at startup
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+            % Edit the following lists to change default configuration of Orbit Correction %
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+            
+            % WARNING CAN BE DIFFERENT FROM THE ORBIT CORRECTION
+            % To start with same correctors and Bpms are used as in manual
+            % correction
+            % Corrector magnets
+            
+            
+            if 1 || FB.UPDATE_FOFB
+                [HCMlist VCMlist BPMlist FHCMlist FVCMlist] = getlocallist;
+            else
+                [HCMlist VCMlist BPMlist] = getlocallist;
+            end
+            
+            % Singular value number
+            Xivec = 1:57;
+            Yivec = 1:57;
+
+            % Correction Gain values
+            Xgain = 1;
+            Ygain = 1;
+            % Display default value on main pannel
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextGainH'),'string',['Gain = ',num2str(Xgain)]);
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextGainV'),'string',['Gain = ',num2str(Ygain)]);
+          
+            % Correctors Thresholds
+            dhcmStd=0.0003;
+            dvcmStd=0.0003;
+            % Display default value on main pannel
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextThresholdH'),'string',['Min = ',num2str(dhcmStd),' A']);
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextThresholdV'),'string',['Min = ',num2str(dvcmStd),' A']);
+          
+            %RF Thresholds
+            deltaRFmax=10e-6;
+            deltaRFmin=0.3e-6;
+            % Display new value on main pannel
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextMinRF'),'string',['Min = ',num2str(deltaRFmin),' Hz']);
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextMaxRF'),'string',['Min = ',num2str(deltaRFmax),' Hz']);
+            
+            %DCCT threshold
+            DCCTMIN=0.001;
+            % Display new value on main pannel
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextDCCT'),'string',['Min Current to Start = ',num2str(DCCTMIN),' A']);
+           
+            % Get goal orbit for SOFB
+            Xgoal = getgolden(BPMxFamily, BPMlist);
+            Ygoal = getgolden(BPMyFamily, BPMlist);
+            
+            % BPM weights
+            Xweight = ones(size(BPMlist,1), 1);
+            Yweight = ones(size(BPMlist,1), 1);
+            
+            % Correctors weights
+            HCMweight = ones(size(HCMlist,1), 1);
+            VCMweight = ones(size(VCMlist,1), 1);
+            
+            if 1 || FB.UPDATE_FOFB
+                set(findobj(gcbf,'Tag','ORBITCTRLCheckboxFB'), 'BackgroundColor', [0 1 0], 'Value', 1);
+            else
+                set(findobj(gcbf,'Tag','ORBITCTRLCheckboxFB'), 'BackgroundColor', [0 0 0], 'Value', 0);
+            end
+            
+            if 1 || FB.UPDATE_FOFB
+                % Read configuration of FOFB sotred into a file by FOFB gui
+                FOFBstruct = makeFOFBstruct;
+            end
+            
+        else % use for SOFB Edition
+            
+            % Get FB structure
+            FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata');
+            
+            BPMlist = FB.BPMlist;
+            HCMlist = FB.HCMlist;
+            VCMlist = FB.VCMlist;
+            
+            Xivec = FB.Xivec;
+            Yivec = FB.Yivec;
+            
+            Xgoal = FB.Xgoal;
+            Ygoal = FB.Ygoal;
+          
+            Xgain = FB.Xgain;
+            Ygain = FB.Ygain;
+          
+            dhcmStd=FB.dhcmStd;
+            dvcmStd=FB.dvcmStd;
+            
+            deltaRFmax=FB.deltaRFmax;
+            deltaRFmin=FB.deltaRFmin;
+            
+            DCCTMIN=FB.DCCTMIN;
+            
+            HCMweight = FB.OCSx.CMWeight;
+            VCMweight = FB.OCSy.CMWeight;
+            Xweight = FB.OCSx.BPMWeight;
+            Yweight = FB.OCSy.BPMWeight;
+            
+            % Add button to change #ivectors, cm
+            EditFlag = 0;
+            h_fig1 = figure;
+            
+            while EditFlag ~= 11
+                
+                % get Sensitivity matrices
+                Sx = getrespmat(BPMxFamily, BPMlist, HCMFamily, HCMlist, [], SR_GEV);
+                Sy = getrespmat(BPMyFamily, BPMlist, VCMFamily, VCMlist, [], SR_GEV);
+                
+                % Compute SVD
+                [Ux, SVx, Vx] = svd(Sx);
+                [Uy, SVy, Vy] = svd(Sy);
+                
+                % Remove singular values greater than the actual number of singular values
+                i = find(Xivec>length(diag(SVx)));
+                if ~isempty(i)
+                    disp('   Horizontal singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Xivec(i) = [];
+                end
+                i = find(Yivec>length(diag(SVy)));
+                if ~isempty(i)
+                    disp('   Vertical singular value vector scaled since there were more elements in the vector than singular values.');
+                    pause(0);
+                    Yivec(i) = [];
+                end
+                
+                % Display singular value plot
+                figure(h_fig1);
+                subplot(2,1,1);
+                semilogy(diag(SVx),'b');
+                hold on;
+                semilogy(diag(SVx(Xivec,Xivec)),'xr');
+                ylabel('Horizontal');
+                title('Response Matrix Singular Values');
+                hold off;
+                subplot(2,1,2);
+                semilogy(diag(SVy),'b');
+                hold on;
+                semilogy(diag(SVy(Yivec,Yivec)),'xr');
+                xlabel('Singular Value Number');
+                ylabel('Vertical');
+                hold off;
+                drawnow;
+                
+                % Build up menu edition
+                EditFlag = menu('Change Parameters?','Singular Values',...
+                    'Correction Gains', 'Correction Thresholds',...
+                    'HCM List', 'HCM weight', ...
+                    'VCM List', 'VCM weight', ...
+                    'BPM List', 'BPM weight', 'Change the Goal Orbit', 'Return');
+                
+                % Begin SOFB edition switchyard
+                switch EditFlag
+                    case 1
+                        prompt = {'Enter the horizontal singular value number (Matlab vector format):', ...
+                            'Enter the vertical singular value numbers (Matlab vector format):'};
+                        def = {sprintf('[%d:%d]',1,Xivec(end)),sprintf('[%d:%d]',1,Yivec(end))};
+                        titlestr='SVD Orbit Feedback';
+                        lineNo=1;
+                        answer=inputdlg(prompt,titlestr,lineNo,def);
+                        if ~isempty(answer)
+                            XivecNew = fix(str2num(answer{1}));
+                            if isempty(XivecNew)
+                                disp('   Horizontal singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(XivecNew<=0) || max(XivecNew)>length(diag(SVx))
+                                    disp('   Error reading horizontal singular value vector.  No change made.');
+                                else
+                                    Xivec = XivecNew;
+                                end
+                            end
+                            YivecNew = fix(str2num(answer{2}));
+                            if isempty(YivecNew)
+                                disp('   Vertical singular value vector cannot be empty.  No change made.');
+                            else
+                                if any(YivecNew<=0) || max(YivecNew)>length(diag(SVy))
+                                    disp('   Error reading vertical singular value vector.  No change made.');
+                                else
+                                    Yivec = YivecNew;
+                                end
+                            end
+                        end
+                        
+                        
+                    case 2 % Correction Gain edition
+
+                        % Build up matlab prompt
+                        prompt = {'Enter the horizontal loop gain value :', ...
+                            'Enter the vertical loop gain value :'};
+                        % default values
+                        def = {sprintf('%d',Xgain),sprintf('%d',Ygain)};
+                        titlestr = 'Change loop gain value';
+                        lineNo = 1;
+
+                        answer = inputdlg(prompt,titlestr,lineNo,def);
+
+                        % Answer parsing
+                        if ~isempty(answer)
+                            % Horizontal plane
+                            XgainNew = str2num(answer{1});
+                            if isempty(XgainNew)
+                                disp('   Horizontal gain value cannot be empty.  No change made.');
+                            else
+                                if (XgainNew<=0)
+                                    disp('   Error reading horizontal gain value. No change made.');
+                                else
+                                    Xgain = XgainNew;
+                                    % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','ORBITCTRLStaticTextGainH'),'string',['Gain = ',num2str(Xgain)]);
+                                 end
+                            end
+                            % Vertical plane
+                            YgainNew = str2num(answer{2});
+                            if isempty(YgainNew)
+                                disp('   Vertical gain value cannot be empty.  No change made.');
+                            else
+                                if (YgainNew<=0) 
+                                    disp('   Error reading vertical gain value.  No change made.');
+                                else
+                                    Ygain = YgainNew;
+                                    % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','ORBITCTRLStaticTextGainV'),'string',['Gain = ',num2str(Ygain)]);
+                                end
+                            end
+                        end
+                        
+                    case 3 % Correction Threshold edition
+
+                        % Build up matlab prompt
+                        prompt = {'Enter the horizontal corrector threshold value (A):', ...
+                            'Enter the vertical corrector threshold value (A):',...
+                           'Enter the maximum RF correction value (MHz):', ...
+                            'Enter the minimum RF correction value (MHz):',...
+                            'Enter the DCCT threshold value (mA):'};
+                        % default values
+                        def = {sprintf('%d',dhcmStd),sprintf('%d',dvcmStd),sprintf('%d',deltaRFmax),sprintf('%d',deltaRFmin),sprintf('%d',DCCTMIN)};
+                        titlestr = 'Change Correction Threshold values';
+                        lineNo = 1;
+
+                        answer = inputdlg(prompt,titlestr,lineNo,def);
+
+                        % Answer parsing
+                        if ~isempty(answer)
+                            % Horizontal plane
+                            dhcmStdNew = str2num(answer{1});
+                            if isempty(dhcmStdNew)
+                                disp('   Horizontal corrector threshold value cannot be empty.  No change made.');
+                            else
+                                if (dhcmStdNew<=0)
+                                    disp('   Error reading horizontalcorrector threshold value. No change made.');
+                                else
+                                    dhcmStd = dhcmStdNew;
+                                    % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','ORBITCTRLStaticTextThresholdH'),'string',['Min = ',num2str(dhcmStd),' A']);
+                                 end
+                            end
+                            % Vertical plane
+                            dvcmStdNew = str2num(answer{2});
+                            if isempty(dvcmStdNew)
+                                disp('   Vertical corrector threshold value cannot be empty.  No change made.');
+                            else
+                                if (dvcmStdNew<=0) 
+                                    disp('   Error reading vertical corrector threshold value.  No change made.');
+                                else
+                                    dvcmStd = dvcmStdNew;
+                                     % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','ORBITCTRLStaticTextThresholdV'),'string',['Min = ',num2str(dvcmStd),' A']);
+                              end
+                            end
+                            % RF max
+                            deltaRFmaxNew = str2num(answer{3});
+                            if isempty( deltaRFmaxNew)
+                                disp('   Maximum RF threshold value cannot be empty.  No change made.');
+                            else
+                                if ( deltaRFmaxNew<=0)
+                                    disp('   Error reading Maximum RF threshold value. No change made.');
+                                else
+                                     deltaRFmax =  deltaRFmaxNew;
+                                     % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','ORBITCTRLStaticTextMaxRF'),'string',['Max = ',num2str(deltaRFmax),' Hz']);
+                               end
+                            end
+                           % RF min
+                            deltaRFminNew = str2num(answer{4});
+                            if isempty( deltaRFminNew)
+                                disp('   Minimum RF threshold value cannot be empty.  No change made.');
+                            else
+                                if ( deltaRFminNew<=0)
+                                    disp('   Error reading Minimum RF threshold value. No change made.');
+                                else
+                                     deltaRFmin =  deltaRFminNew;
+                                    % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','ORBITCTRLStaticTextMinRF'),'string',['Min = ',num2str(deltaRFmin),' Hz']);
+                                 end
+                            end
+                            % DCCT min
+                            DCCTMINNew = str2num(answer{5});
+                            if isempty( DCCTMINNew)
+                                disp('   Minimum DCCT threshold value cannot be empty.  No change made.');
+                            else
+                                if ( DCCTMINNew<=0)
+                                    disp('   Error reading Minimum DCCT threshold value. No change made.');
+                                else
+                                     DCCTMIN =  DCCTMINNew;
+                                     % Display new value on main pannel
+                                    set(findobj(gcbf,'Tag','ORBITCTRLStaticTextDCCT'),'string',['Min Current to Start = ',num2str(DCCTMIN),' mA']);
+                                end
+                            end
+    
+                        end
+                        
+                    case 4 % Horizontal corrector list edition
+                        List= getlist(HCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = HCMlist;
+                        Elem = dev2elem(HCMFamily, HCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(HCMFamily,List));
+                        
+                        newList = editlist(List, HCMFamily, CheckList);
+                        
+                        if isempty(newList)
+                            fprintf('   Horizontal corrector magnet list cannot be empty.  No change made.\n');
+                        else
+                            HCMlist = newList;
+                        end
+                        
+                        %set correctors weight values
+                        HCMweightOld = HCMweight;
+                        HCMweight = ones(size(HCMlist,1), 1);
+                        
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(HCMlist,1)
+                            
+                            % Is it a new corrector?
+                            k = find(HCMlist(i,1)==ListOld(:,1));
+                            l = find(HCMlist(i,2)==ListOld(k,2));
+                            
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                HCMweight(i) = HCMweightOld(k(l));
+                            end
+                        end
+                        
+                    case 5 % Horizontal corrector weight edition
+                        
+                        % Ask user to select HCM for modifying weight
+                        ChangeList = editlist(HCMlist, 'Change HCM', ...
+                            zeros(size(HCMlist,1),1));
+                        
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+                            
+                            k = find(ChangeList(i,1) == HCMlist(:,1));
+                            l = find(ChangeList(i,2) == HCMlist(k,2));
+                            
+                            prompt = {sprintf('Enter the new weight for HCM(%d,%d):', ...
+                                HCMlist(k(l),1), HCMlist(k(l),2))};
+                            def = {sprintf('%f',HCMweight(k(l))),sprintf('%f',HCMweight(k(l)))};
+                            titlestr = 'CHANGE THE HCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+                            
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                HCMweightnew = str2num(answer{1});
+                                if isempty(HCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    HCMweight(k(l)) = HCMweightnew;
+                                end
+                            end
+                        end
+                        
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the HCM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+                        
+                    case 6 % Vertical corrector list edition
+                        List = getlist(VCMFamily);
+                        CheckList = zeros(size(List,1));
+                        ListOld = VCMlist;
+                        Elem = dev2elem(VCMFamily, VCMlist);
+                        CheckList(Elem) = ones(size(Elem));
+                        CheckList = CheckList(dev2elem(VCMFamily,List));
+                        
+                        newList = editlist(List, VCMFamily, CheckList);
+                        
+                        if isempty(newList)
+                            fprintf('   Vertical corrector magnet cannot be empty.  No change made.\n');
+                        else
+                            VCMlist = newList;
+                        end
+                        
+                        %set correctors weight values
+                        VCMweightOld = VCMweight;
+                        VCMweight = ones(size(VCMlist,1), 1);
+                        
+                        %if a new corrector is added, then set the weight values to
+                        %one.
+                        % Otherwise keep the present weight values
+                        for i = 1:size(VCMlist,1)
+                            
+                            % Is it a new corrector?
+                            k = find(VCMlist(i,1)==ListOld(:,1));
+                            l = find(VCMlist(i,2)==ListOld(k,2));
+                            
+                            if isempty(k) || isempty(l)
+                                % New corrector
+                            else
+                                % Use the old value for old correctors
+                                VCMweight(i) = VCMweightOld(k(l));
+                            end
+                        end
+                        
+                    case 7 % Vertical corrector weight edition
+                        % Ask user to select VCM for modifying weight
+                        ChangeList = editlist(VCMlist, 'Change VCM', ...
+                            zeros(size(VCMlist,1),1));
+                        
+                        % Ask the new weight for each selected corrector
+                        for i = 1:size(ChangeList,1)
+                            
+                            k = find(ChangeList(i,1) == VCMlist(:,1));
+                            l = find(ChangeList(i,2) == VCMlist(k,2));
+                            
+                            prompt = {sprintf('Enter the new weight for VCM(%d,%d):', ...
+                                VCMlist(k(l),1), VCMlist(k(l),2))};
+                            def = {sprintf('%f',VCMweight(k(l))),sprintf('%f',VCMweight(k(l)))};
+                            titlestr = 'CHANGE THE VCM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+                            
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the VCM weight.\n');
+                            else
+                                VCMweightnew = str2num(answer{1});
+                                if isempty(VCMweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    VCMweight(k(l)) = VCMweightnew;
+                                end
+                            end
+                        end
+                        
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the VCM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+                        
+                    case 8 % BPM List edition
+                        % Back present BPM list and goal orbit
+                        ListOld = BPMlist;
+                        XgoalOld = Xgoal;
+                        YgoalOld = Ygoal;
+                        XweightOld = Xweight;
+                        YweightOld = Yweight;
+                        
+                        List = family2dev(BPMxFamily);
+                        
+                        %Check BPM already in the list CheckList(i) = 1
+                        %      BPM not in the list CheckList(i) = 0
+                        CheckList = zeros(size(List,1),1);
+                        if ~isempty(BPMlist)
+                            for i = 1:size(List,1)
+                                k = find(List(i,1)==BPMlist(:,1));
+                                l = find(List(i,2)==BPMlist(k,2));
+                                
+                                if isempty(k) || isempty(l)
+                                    % Item not in list
+                                else
+                                    CheckList(i) = 1;
+                                end
+                            end
+                        end
+                        
+                        % User edition of the BPM lsit
+                        newList = editlist(List, 'BPM', CheckList);
+                        if isempty(newList)
+                            fprintf('   BPM list cannot be empty.  No change made.\n');
+                        else
+                            BPMlist = newList;
+                        end
+                        
+                        % Set the goal orbit to the golden orbit and weight values
+                        Xgoal = getgolden(BPMxFamily, BPMlist);
+                        Ygoal = getgolden(BPMyFamily, BPMlist);
+                        Xweight = ones(size(BPMlist,1),1);
+                        Yweight = ones(size(BPMlist,1),1);
+                        
+                        %if a new BPM is added, then set the goal orbit to
+                        %the golden orbit.
+                        % Otherwise keep the present goal orbit
+                        for i = 1:size(BPMlist,1)
+                            
+                            % Is it a new BPM?
+                            k = find(BPMlist(i,1)==ListOld(:,1));
+                            l = find(BPMlist(i,2)==ListOld(k,2));
+                            
+                            if isempty(k) || isempty(l)
+                                % New BPM
+                            else
+                                % Use the old value for old BPM
+                                Xgoal(i) = XgoalOld(k(l));
+                                Ygoal(i) = YgoalOld(k(l));
+                                Xweight(i) = XweightOld(k(l));
+                                Yweight(i) = YweightOld(k(l));
+                            end
+                        end
+                        
+                    case 9 % BPM weight edition
+                        % Ask user to select BPM for modifying weight
+                        ChangeList = editlist(BPMlist, 'Change BPM', ...
+                            zeros(size(BPMlist,1),1));
+                        
+                        % Ask the new weight for each selected BPM
+                        for i = 1:size(ChangeList,1)
+                            
+                            k = find(ChangeList(i,1) == BPMlist(:,1));
+                            l = find(ChangeList(i,2) == BPMlist(k,2));
+                            
+                            prompt = {sprintf('Enter the new weight for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1), BPMlist(k(l),2)), ...
+                                sprintf('Enter the new weight for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def = {sprintf('%f',Xweight(k(l))),sprintf('%f',Yweight(k(l)))};
+                            titlestr = 'CHANGE THE BPM WEIGHTS';
+                            lineNo = 1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+                            
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the BPM weight.\n');
+                            else
+                                Xweightnew = str2num(answer{1});
+                                if isempty(Xweightnew)
+                                    fprintf('   No change was made to the horizontal BPM weight.\n');
+                                else
+                                    Xweight(k(l)) = Xweightnew;
+                                end
+                                
+                                Yweightnew = str2num(answer{2});
+                                if isempty(Yweightnew)
+                                    fprintf('   No change was made to the vertical BPM weight.\n');
+                                else
+                                    Yweight(k(l)) = Yweightnew;
+                                end
+                            end
+                        end
+                        
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  changing the BPM weight for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                        end
+                        
+                    case 10 % Goal orbit edition
+                        ChangeList = editlist(BPMlist, 'Change BPM', zeros(size(BPMlist,1),1));
+                        
+                        for i = 1:size(ChangeList,1)
+                            
+                            k = find(ChangeList(i,1)==BPMlist(:,1));
+                            l = find(ChangeList(i,2)==BPMlist(k,2));
+                            
+                            prompt={sprintf('Enter the new horizontal goal orbit for BPMx(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2)), ...
+                                sprintf('Enter the new vertical goal orbit for BPMz(%d,%d):', ...
+                                BPMlist(k(l),1),BPMlist(k(l),2))};
+                            def={sprintf('%f',Xgoal(k(l))),sprintf('%f',Ygoal(k(l)))};
+                            titlestr='CHANGE THE GOAL ORBIT';
+                            lineNo=1;
+                            answer = inputdlg(prompt, titlestr, lineNo, def);
+                            
+                            if isempty(answer)
+                                % No change
+                                fprintf('   No change was made to the golden orbit.\n');
+                            else
+                                Xgoalnew = str2num(answer{1});
+                                if isempty(Xgoalnew)
+                                    fprintf('   No change was made to the horizontal golden orbit.\n');
+                                else
+                                    Xgoal(k(l)) = Xgoalnew;
+                                end
+                                
+                                Ygoalnew = str2num(answer{2});
+                                if isempty(Ygoalnew)
+                                    fprintf('   No change was made to the vertical golden orbit.\n');
+                                else
+                                    Ygoal(k(l)) = Ygoalnew;
+                                end
+                            end
+                        end
+                        
+                        if ~isempty(ChangeList)
+                            fprintf('   Note:  Changing the goal orbit for "Slow Orbit Feedback" does not change the goal orbit for "Orbit Correction."\n');
+                            fprintf('          Re-running srcontrol will restart the goal orbit to the golden orbit."\n');
+                        end
+                end
+            end
+            close(h_fig1);
+        end
+        
+        % End of SOFB edition switchyard
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %         Build up SOFB Structures       %
+        %  for setorbit programme : OCSx and OCSy%
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %  ORBIT CORRECTION STRUCTURE (OCS)
+        %    OCS.BPM (data structure)
+        %    OCS.CM  (data structure)
+        %    OCS.GoalOrbit
+        %    OCS.NIter
+        %    OCS.SVDIndex
+        %    OCS.IncrementalFlag = 'Yes'/'No'
+        %    OCS.BPMWeight
+        %    OCS.Flags = { 'FitRF' , etc.  }
+        
+        OCSx.BPM = getx(BPMlist, 'struct');
+        OCSx.CM =  getsp(HCMFamily, HCMlist, 'struct');
+        OCSx.GoalOrbit = Xgoal;
+        OCSx.NIter = 2;
+        OCSx.SVDIndex = Xivec;
+        OCSx.IncrementalFlag = 'No';
+        OCSx.CMWeight  = HCMweight;
+        OCSx.BPMWeight = Xweight;
+        OCSx.FitRF = 0;
+        
+        OCSy.BPM = getz(BPMlist, 'struct');
+        OCSy.CM = getsp(VCMFamily, VCMlist, 'struct');
+        OCSy.GoalOrbit = Ygoal;
+        OCSy.NIter = 2;
+        OCSy.SVDIndex = Yivec;
+        OCSy.IncrementalFlag = 'No';
+        OCSy.CMWeight  = VCMweight;
+        OCSy.BPMWeight = Yweight;
+        OCSy.FitRF = 0;
+        
+        % Save SOFB strucutre
+        FB.OCSx = OCSx;
+        FB.OCSy = OCSy;
+        
+        % BPM and CM list
+        FB.BPMlist = BPMlist;
+        FB.HCMlist = HCMlist;
+        FB.VCMlist = VCMlist;
+        
+        % Singular value number
+        FB.Xivec = Xivec;
+        FB.Yivec = Yivec;
+        
+        % Goal orbit list
+        FB.Xgoal = Xgoal;
+        FB.Ygoal = Ygoal;
+        
+        % Correction Gain
+        FB.Xgain = Xgain;
+        FB.Ygain = Ygain;
+        
+        % Correction Thresholds
+        FB.dhcmStd = dhcmStd;
+        FB.dvcmStd = dvcmStd;
+        FB.deltaRFmax=deltaRFmax;
+        FB.deltaRFmin=deltaRFmin;
+        
+        FB.DCCTMIN=DCCTMIN;
+        
+        % save Feedback struture
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata',FB);
+        
+        % save configuration data for FOFB into a file!
+        DirName = getfamilydata('Directory', 'FOFBdata');
+        save(fullfile(DirName, 'SOFBconfiguration'), 'FB');
+        
+        % Construction of the data set for FOFB part
+        %         if FB.UPDATE_FOFB
+        %             %FOFBstruct.BPMlist = FBPMlist;
+        %             %FOFBstruct.HCMlist = HCMlist;
+        %             %FOFBstruct.VCMlist= VCMlist;
+        %             %FOFBstruct.Xivec = FXivec;
+        %             %FOFBstruct.Yivec = FYivec;
+        %             set(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'FOFB',FOFB);
+        %         end
+        %
+        
+        %% Feedback
+    case 'Feedback'
+        %FBloopIter = 3; % number of iterations for each loop
+        
+        FEEDBACK_STOP_FLAG = 0;
+        
+        % Warning Flag for stale correctors
+        HWarnNum = 0;
+        VWarnNum = 0;
+        
+        % Feedback loop setup
+        LoopDelay = 10.0;    % Period of feedback loop [seconds], make sure the BPM averaging is correct
+       
+        FB=get(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata');
+        
+        % Percentage of correction to apply at each iteration
+        %Xgain  = 0.8;
+        %Ygain  = 0.8;
+        %Xgain  = 1.0;
+        %Ygain  = 1.0;
+        Xgain = FB.Xgain;  
+        Ygain = FB.Ygain; 
+  
+        % Minimum corrector strength for applying correction
+        %dhcmStd = 0.0015/4;
+        %dvcmStd = 0.0005/2;
+        
+        % thresholds for multibunch filling pattern
+        %dhcmStd = 0.0001;
+        %dvcmStd = 0.0001;
+        
+        % thresholds for multibunch filling pattern FOFB
+        %dhcmStd = 0.0003;
+        %dvcmStd = 0.0003;
+        dhcmStd = FB.dhcmStd;  
+        dvcmStd = FB.dvcmStd; 
+  
+        
+        % thresholds for 8 bunch filling pattern
+        %dhcmStd = 0.00; %15/15/10;
+        %dvcmStd = 0.00; % 05/5/10;
+        
+        % Maximum allowed frequency shift during a single correction
+        %deltaRFmax = 10e-6; % MHz
+        %deltaRFmin = 0.3e-6; % MHz ie 0.1 Hz
+        deltaRFmax = FB.deltaRFmax;
+        deltaRFmin = FB.deltaRFmin; 
+        
+        DCCTMIN=FB.DCCTMIN;
+        
+        % Load lattice set for tune feed forward
+        
+        set(0,'showhiddenhandles','on');
+        BPMxfullList = family2dev('BPMx',0); % included status 0
+        BPMyfullList = family2dev('BPMz',0);
+        
+        try
+            
+            %setup average data for reading BPMs
+            setfamilydata('gethbpmaverage',BPMxFamily,'Monitor', 'SpecialFunctionGet')
+            setfamilydata('getvbpmaverage',BPMyFamily,'Monitor', 'SpecialFunctionGet')
+            
+            fprintf('\n');
+            fprintf('   *******************************\n');
+            fprintf('   **  Starting Orbit Feedback  **\n');
+            fprintf('   *******************************\n');
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   Note: the Matlab command window will be used to display status information.\n');
+            fprintf('         It cannot be used to enter commands during slow orbit feedback.\n');
+            
+            % Get SOFB Structure
+            FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata');
+            if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'),'Value') == 1
+                FB.OCSx.FitRF = 1;
+            else
+                FB.OCSx.FitRF = 0;
+            end
+            
+            % look for already running SOFB
+            if strcmp(getmode(BPMxFamily),'Online') && strcmp(getmode(BPMyFamily),'Online')
+                check4feedbackflag(devLockName, FB.UPDATE_FOFB);
+            end
+        catch
+            fprintf('\n  %s \n',lasterr);
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  Orbit feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+            warndlg('Orbit feedback could not start due to error condition');
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+        
+        %Compare OrbitCorrection and feedback BPM lists and display a warning if different
+        FB_BPMlist = FB.BPMlist
+        OC = get(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Userdata');
+        OC_BPMlist= OC.BPMlist;
+        if size(OC_BPMlist,1)==size(FB_BPMlist,1)
+            for i=1:size(OC_BPMlist,1)
+                k = find(OC_BPMlist(i,1) == FB_BPMlist(:,1));
+                l = find(OC_BPMlist(i,2) == FB_BPMlist(k,2));
+                if isempty(k) || isempty(l)
+                   list_comparison(i)=0;
+                else
+                   list_comparison(i)=1;
+                end
+            end
+            if ~isempty(find(list_comparison==0))
+                BPMlist_difference=1;
+            else
+                BPMlist_difference=0;
+            end
+        else
+            BPMlist_difference=1;
+        end
+        if BPMlist_difference
+            ListFlag = questdlg(sprintf('Manual correction and feedback BPM lists are different.\n Do you want to continue ?'),'Warning','Yes','No','No');
+                if strcmp(ListFlag,'No')
+                    disp('   ********************************');
+                    disp('   **  Orbit Correction Aborted  **');
+                    disp('   ********************************');
+                    fprintf('\n');
+                    return
+                else
+                   fprintf('** Correction started with different BPM list compared to manualorbit correction one** \n'); 
+                end
+        end
+
+        
+        % Confirmation dialogbox
+        StartFlag = questdlg('Start orbit feedback?', 'Orbit Feedback','Yes','No','No');
+        set(findobj(gcbf,'Tag','ORBITCTRLStaticTextInformation'),'String','SOFB Started');
+        
+        % Retrieve FOFB Data
+        if FB.UPDATE_FOFB
+            %FOFBstruct = getappdata(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'), 'FOFBstruct');
+            FOFBstruct = makeFOFBstruct;
+            % test if same BPM in SOFB and FOFB
+            % if not. For now error message
+            % Later if necessary, set to zero the orbit coming from the reconstruction of FOFB steerer values
+            BPMError = 0;
+            [iFound iNotFound] = findrowindex(FOFBstruct.BPMlist,FB.BPMlist);
+            if isempty(iNotFound)
+                [iFound iNotFound] = findrowindex(FB.BPMlist, FOFBstruct.BPMlist);
+                if ~isempty(iNotFound)
+                    for ik=1:length(iNotFound),
+                        fprintf('BPM [%2d %2d] missing in FOFB\n', FB.BPMlist(iNotFound(ik),:))
+                    end
+                    BPMError = 1;
+                end
+            else
+                for ik=1:length(iNotFound),
+                    fprintf('BPM [%2d %2d] missing in SOFB\n', FOFBstruct.BPMlist(iNotFound(ik),:))
+                end
+                BPMError = 1;
+            end
+            
+            if BPMError
+                fprintf('Not same BPM in SOFB anf FOFB. Check configuration first\n');
+                fprintf('SOFB not started\n');
+                StartFlag = 'No';
+            end
+            if FOFBstruct.SOFBandFOFB == 0
+                fprintf('FOFB not set properly\n');
+                fprintf('SOFB not started\n');
+                StartFlag = 'No';
+            end
+        end
+        
+        if strcmp(StartFlag,'No')
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   ***************************\n');
+            fprintf('   **  Orbit Feedback Exit  **\n');
+            fprintf('   ***************************\n\n');
+            pause(0);
+            return
+        end
+        
+        set(0,'showhiddenhandles','on');
+        
+        % Display information
+        
+        if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'),'Value') == 1
+            fprintf('   Using %d singular values horizontally.\n', length(FB.Xivec));
+        end
+        if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxVSOFB'),'Value') == 1
+            fprintf('   Using %d singular values vertically.\n',   length(FB.Yivec));
+        end
+        fprintf('   Starting slow orbit correction every %.1f seconds.\n', LoopDelay);
+        
+        try
+            % Compute residual closed orbit
+            x = FB.Xgoal - getx(FB.BPMlist);
+            y = FB.Ygoal - getz(FB.BPMlist);
+            
+            %STDx = norm(x)/sqrt(length(x));
+            %STDy = norm(y)/sqrt(length(y));
+            STDx = std(x);
+            STDy = std(y);
+            
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextHorizontal'),'String', ...
+                sprintf('Horizontal RMS = %.4f mm',STDx),'ForegroundColor',[0 0 0]);
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextVertical'),'String', ...
+                sprintf('Vertical RMS = %.4f mm',STDy),'ForegroundColor',[0 0 0]);
+            
+            if strcmp(getmode(BPMxFamily),'Online') && strcmp(getmode(BPMyFamily),'Online')
+                % Lock  SOFB service
+                Locktag  = tango_command_inout2(devLockName,'Lock', 'sofb');
+            end
+            pause(0);
+        catch
+            
+            fprintf('\n  %s \n',lasterr);
+            
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   *************************************************************\n');
+            fprintf('   **  Orbit feedback could not start due to error condition  **\n');
+            fprintf('   *************************************************************\n\n');
+            warndlg(' Orbit feedback could not start due to error condition ');
+            set(0,'showhiddenhandles','off');
+            pause(0);
+            return
+        end
+        
+        
+        % Disable buttons in GUI
+        set(0,'showhiddenhandles','on');
+        set(findobj(gcbf,'Tag','ORBITCTRLPushbuttonStart'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLPushbuttonStop'),'Enable','on');
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLClose'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxVSOFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxHcorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxVcorrection'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'),'Enable','off');
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxFOFB'),'Enable','off')
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxInteractionMode'),'Enable','off')
+        pause(0);
+        
+        
+        % Initialize feedback loop
+        StartTime = gettime;
+        StartErrorTime = gettime;
+        
+        % Get orbit before SOFB startup
+        Xold = getx(FB.BPMlist);
+        Yold = getz(FB.BPMlist);
+        % For avoiding stall message for BPM: make a pause
+        pause(0.2);
+        % Stale number
+        RF_frequency_stalenum = 0;
+        
+        % Number of steerer magnet corrector
+        N_HCM = size(FB.HCMlist,1);
+        N_VCM = size(FB.VCMlist,1);
+        
+        % Number of RF actuator
+        N_RFMO = 1;
+        
+        %%%%%%%%%%%%%%%%%%%%%%%
+        % Start feedback loop %
+        %%%%%%%%%%%%%%%%%%%%%%%
+        
+        setappdata(findobj(gcbf,'Tag','ORBITCTRLFig1'),'FEEDBACK_STOP_FLAG',0);
+        
+        %first time
+        %         if FB.UPDATE_FOFB
+        %             %% update reference orbit for FOFB
+        %             tempx = getx(FB.OCSx.BPM.DeviceList);
+        %             tempz = getz(FB.OCSy.BPM.DeviceList);
+        %             xRefFOFB = tempx - OffsetSA_FA.X_offset;
+        %             zRefFOFB = tempz - OffsetSA_FA.Z_offset;
+        %             % load reference orbit in TANGO
+        %             tango_write_attribute2(devFOFBManager, 'xRefOrbit', xRefFOFB');
+        %             tango_write_attribute2(devFOFBManager, 'zRefOrbit', zRefFOFB');
+        %             % update Libera
+        %             tango_command_inout2(devFOFBManager, 'StartStep04LoadXRefOrbit');
+        %             tango_command_inout2(devFOFBManager, 'StartStep05LoadZRefOrbit');
+        %             fprintf(' A startup Golden orbit updated for FOFB \n')
+        %         end
+        
+        
+        while FEEDBACK_STOP_FLAG == 0 % infinite loop
+            try
+                t00 = gettime;
+                fprintf('\nIteration time %s\n',datestr(clock));
+                
+                % Check if GUI has been closed
+                if isempty(gcbf)
+                    FEEDBACK_STOP_FLAG = 1;
+                    lasterr('SRCONTROL GUI DISAPPEARED!');
+                    error('SRCONTROL GUI DISAPPEARED!');
+                end
+                
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                % Horizontal plane "feedback" %
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                
+                % Get orbit and check that the BPMs are different from the last update
+                Xnew = getx(FB.BPMlist);
+                
+                if any(isnan(Xnew))
+                    FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit feedback stopped due to bad BPMs\n',datestr(now));
+                    BadBPMName = family2tangodev(BPMxFamily, FB.BPMlist(isnan(Xnew),:));
+                    for k=1:size(BadBPMName,1),
+                        fprintf('Bad Horizontal BPM (Nan) %s\n',BadBPMName{k});
+                    end
+                    if strcmp(getmode(BPMxFamily),'Online')
+                        strgMessage = 'Arret de la correction d''orbite : problÃšme BPM';
+                        tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    end
+                    warndlg(' Arret de la correction d''orbite : problÃšme BPM ');
+                    break;
+                end
+                
+                if getdcct < DCCTMIN     % Don't feedback if the current is too small
+                    FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                    if strcmp(getmode(BPMxFamily),'Online')
+                        strgMessage = 'Arret de la correction d''orbite : courant trop bas';
+                        tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    end
+                    warndlg(' Arret de la correction d''orbite : courant trop bas ');
+                    break;
+                end
+                
+                x = FB.Xgoal - Xnew;
+                STDx = std(x);
+                
+                if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'),'Value') == 1
+                    if any(Xold == Xnew)
+                        N_Stale_Data_Points = find((Xold==Xnew)==1);
+                        for i = N_Stale_Data_Points'
+                            fprintf('   Stale data: BPMx(%2d,%d), feedback step skipped (%s). \n', ...
+                                FB.BPMlist(i,1), FB.BPMlist(i,2), datestr(clock));
+                        end
+                    else
+                        if FB.UPDATE_FOFB
+                            % recontruction of the orbit from DC part of fast correctors
+                            %dxFOFB = gethorbitFOFB;
+                            % TODO select only valid BPM and correctors
+                            FHCM = getpv('FHCOR' ,'SetpointMean', FOFBstruct.HCMlist);
+                            fprintf('FHCOR I = %4.2f A RMS   I = %4.2f A PEAK   I = %4.2f A PEAK\n', ...
+                                std(FHCM), mean(FHCM), max(abs(FHCM)));
+                            
+                            % building orbit from steerer value
+                            % Alternative use singular values (to be done if required)
+                            FOFBstruct.OCSx.dx = FOFBstruct.OCSx.Rmat*FHCM; % Rmat has only valid BPM and CM
+                            
+                            % Update Goal orbit  by subtracting the rebuild orbit from FOFB steerers
+                            FB.OCSx.GoalOrbit = getgolden('BPMx', FB.BPMlist) + FOFBstruct.OCSx.dx;
+                        end
+                        
+                        % Computes correction only
+                        FB.OCSx = setorbit(FB.OCSx,'Nodisplay','Nosetsp');
+                        
+                        X = Xgain .* FB.OCSx.CM.Delta;
+                        
+                        % check for corrector values and next step values, warn or stop FB as necessary
+                        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                        HCMSP = getsp(HCMFamily, FB.HCMlist);  % present corrector values
+                        HCMSP_next = HCMSP + X(1:N_HCM);       % next corrector values, just slow correctors (no RF)
+                        
+                        MaxSP = maxsp(HCMFamily,FB.HCMlist);
+                        MinSP = minsp(HCMFamily,FB.HCMlist);
+                        
+                        if any(MaxSP - HCMSP_next  < 0)
+                            HCMnum = find(HCMSP_next > MaxSP);
+                            % message to screen
+                            fprintf('**One or more of the horizontal correctors is at its maximum positive value!! Stopping orbit feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                            if strcmp(getmode(BPMxFamily),'Online')
+                                strgMessage = 'ProblÃšme de la correction d''orbite';
+                                tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            end
+                            FEEDBACK_STOP_FLAG = 1;
+                        end
+                        
+                        if any(MinSP - HCMSP_next  > 0)
+                            HCMnum = find(HCMSP_next < MinSP);
+                            % message to screen
+                            fprintf('**One or more of the horizontal correctors is at its maximum negative value!! Stopping orbit feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(1),:))));
+                            FEEDBACK_STOP_FLAG = 1;
+                            if strcmp(getmode(BPMxFamily),'Online')
+                                strgMessage = 'ProblÃšme de la correction d''orbite';
+                                tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            end
+                            warndlg('One or more of the horizontal correctors is at its maximum negative value!! Stopping orbit feedback.')
+                        end
+                        
+                        pause(0);
+                        
+                        if any(HCMSP_next > MaxSP - 1)
+                            HCMnum = find(HCMSP_next > MaxSP - 1);
+                            for ik = 1:length(HCMnum)
+                                HWarnNum = HWarnNum+1;
+                                fprintf('**Horizontal correctors %s is above %f! \n', ...
+                                    cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                    MaxSP(HCMnum(ik)) - 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                            if strcmp(getmode(BPMxFamily),'Online')
+                                strgMessage = 'ProblÃšme de la correction d''orbite';
+                                tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            end
+                        end
+                        
+                        if any(HCMSP_next < MinSP + 1)
+                            HCMnum = find(HCMSP_next < MinSP + 1);
+                            for ik = 1:length(HCMnum)
+                                HWarnNum = HWarnNum+1;
+                                fprintf('**Horizontal correctors %s is below %f! \n', ...
+                                    cell2mat(family2tango(HCMFamily,'Setpoint',FB.HCMlist(HCMnum(ik),:))), ...
+                                    MinSP(HCMnum(ik)) + 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                            if strcmp(getmode(BPMxFamily),'Online')
+                                strgMessage = 'ProblÃšme de la correction d''orbite';
+                                tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            end
+                        end
+                        
+                        if getdcct < DCCTMIN     % Don't feedback if the current is too small
+                            FEEDBACK_STOP_FLAG = 1;
+                            fprintf('%s         Orbit feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                            if strcmp(getmode(BPMxFamily),'Online')
+                                strgMessage = 'Arret de la correction d''orbite : courant trop bas';
+                                tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            end
+                            warndlg(sprintf('%s         Orbit feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN))
+                            break;
+                        end
+                        
+                        
+                        %% interaction with FOFB
+                        % Warning Reference orbit for all BPMs has to be updated
+                        if FB.UPDATE_FOFB
+                            try
+                                isxFOFBRunning = readattribute([devFOFBManager '/xFofbRunning']);
+                                FOFBManagerState = readattribute([devFOFBManager, '/State']);
+                                %FOFBManagerState = 0 if no error and Feedback running at least in one plane
+                            catch
+                                fprintf('UPDATEFOFB  SOFB stopped (H-plane).\n');
+                                if strcmp(getmode(BPMxFamily),'Online')
+                                    strgMessage = 'Arret de la correction d''orbite : problÃšme TANGO';
+                                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                                end
+                                FEEDBACK_STOP_FLAG = 1;
+                                break;
+                            end
+                            
+                            if isxFOFBRunning && ~FOFBManagerState
+                                %% update reference orbit for FOFB
+                                tempx = getx(FB.OCSx.BPM.DeviceList) + FB.OCSx.BPM.PredictedOrbitDelta - FOFBstruct.OCSx.dx;
+                                
+                                % figure;
+                                %  plot(getspos('BPMx'), FB.OCSx.BPM.PredictedOrbitDelta); hold on;
+                                % plot(getspos('BPMx'), FOFBstruct.OCSx.dx, 'r')
+                                
+                                % Keep allvalue for BPM not in the loop
+                                FOFBstruct.OCSx.XRefOrbit = tango_read_attribute2(devFOFBManager, 'xRefOrbit');
+                                FOFBstruct.OCSx.XRefOrbit = FOFBstruct.OCSx.XRefOrbit.value;
+                                
+                                % Check out all BPMs in the loop
+                                BPMxIdx = findrowindex(FOFBstruct.BPMlist, BPMxfullList);
+                                
+                                % Retrieve offsets between FOFB and SOFB
+                                FOFBstruct.OCSx.XRefOrbit(BPMxIdx) = tempx;
+                                
+                                % Chexk delta RF as it is a condition for
+                                % FOFB reference update
+                                if FB.OCSx.FitRF
+                                    deltaRF = Xgain .* FB.OCSx.DeltaRF;
+                                else
+                                    deltaRF=0;
+                                end
+                                % update either RF or corrector correction
+                                % is required
+                                %isupdateFOFB = (N_HCM > 0 && std(X(1:N_HCM)) > dhcmStd) || (FB.OCSx.FitRF && N_RFMO > 0 &&  abs(deltaRF) > deltaRFmin);
+                                %isupdateFOFB = (N_HCM > 0 && std(X(1:N_HCM)) > dhcmStd);
+                                isupdateFOFB = ((N_HCM > 0) && (std(X(1:N_HCM)) > dhcmStd))  || ((FB.OCSx.FitRF && N_RFMO > 0) &&  (abs(deltaRF) > deltaRFmin));
+                                if isupdateFOFB
+                                    if strcmp(getmode(BPMxFamily),'Online')
+                                        % Update reference orbit in TANGO device server
+                                        tango_write_attribute2(devFOFBManager, 'xRefOrbit', FOFBstruct.OCSx.XRefOrbit);
+                                        
+                                        % load reference orbit on all Liberas
+                                        tango_command_inout2(devFOFBManager, 'StartStep04LoadXRefOrbit');
+                                        
+                                        fprintf(' New X-Reference orbit updated for FOFB \n')
+%                                        fprintf(' N_HCM=%f  std=%f   FB.OCSx.FitRF=%f  N_RFMO=%f   deltaRF=%f \n',N_HCM,std(X(1:N_HCM)),FB.OCSx.FitRF,N_RFMO,abs(deltaRF));
+                                    end
+                                else
+                                    fprintf(' No X-Reference update for FOFB \n')
+                                end
+                                
+                            else
+                                fprintf('UPDATEFOFB         Orbit feedback stopped. FOFB stopped in H-plane \n');
+                                fprintf('FOFBmanagerstate is %d (should be O) H-plane is %d (should be 1: running 0: stopped)\n',FOFBManagerState, isxFOFBRunning);
+                                if strcmp(getmode(BPMxFamily),'Online')
+                                    strgMessage = 'Arret de la correction d''orbite : plan horizontal';
+                                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                                end
+                                FEEDBACK_STOP_FLAG = 1;
+                                break;
+                            end
+                        else
+                            isupdateFOFB=0;
+                        end
+                        
+                        
+                        % Apply new corrector values
+ %                       if N_HCM > 0 && std(X(1:N_HCM)) > dhcmStd                     
+                        if ((N_HCM > 0 && std(X(1:N_HCM)) > dhcmStd) || isupdateFOFB)
+                            
+                            fprintf('HCOR: I= %5.4f A RMS I = %5.4f A MEAN I = %5.4f A PEAK\n', std(X(1:N_HCM)), mean(X(1:N_HCM)), max(abs((X(1:N_HCM)))));
+                            if strcmp(getmode(HCMFamily),'Online')
+                                profibus_sync(HCMFamily); pause(0.2);
+                            end
+                            stepsp(HCMFamily, X(1:N_HCM), FB.HCMlist, 0);
+                            if strcmp(getmode(HCMFamily),'Online')
+                                profibus_unsyncall(HCMFamily);
+                            end
+                        else
+                            fprintf('No horizontal correction  applied, std corrector = %5.4f mA rms < threshold = %5.4f \n', ...
+                                std(X(1:N_HCM)),dhcmStd);
+                        end
+                        
+                        % Apply RF correction
+                        
+                        if FB.OCSx.FitRF
+                            deltaRF = Xgain .* FB.OCSx.DeltaRF;
+                            if N_RFMO > 0
+                                RFfrequency_last = getrf('Retry');
+                                fprintf('RF frequency shift computed is %5.1f Hz \n', hw2physics('RF','Setpoint', deltaRF));
+
+                                %if abs(deltaRF) > deltaRFmin % MHz
+                                if ((abs(deltaRF) > deltaRFmin) || isupdateFOFB) % MHz
+                                    if abs(deltaRF) < deltaRFmax % For avoiding too large RF step on orbit
+                                        ErrorFlag = steprf(deltaRF, 'Retry'); % Masterclock locked, Retry 3 times
+                                        fprintf('RF change applied by %5.1f Hz\n', hw2physics('RF','Setpoint', deltaRF));
+                                    else % Apply deltaRFmax only
+                                        % In this case, FOFB ref orbit is
+                                        % updated according to the full RF
+                                        % value -> to be corrected?
+                                        warning('RF change too large: %5.1f Hz (max is %5.1f Hz)', ...
+                                            hw2physics('RF','Setpoint', deltaRF), hw2physics('RF','Setpoint', deltaRFmax));
+                                        ErrorFlag = steprf(deltaRFmax*sign(deltaRF), 'Retry');
+                                        fprintf('RF change changed by %5.1f Hz\n', hw2physics('RF','Setpoint', deltaRFmax*sign(deltaRF)));
+                                    end
+                                    
+                                    % TEST LAURENT MASTERCLOCK KO, SOFB
+                                    % does not stop. This is not normal. To
+                                    % be tested with BEAM
+                                    if (ErrorFlag == -1)  && strcmp(getmode(BPMxFamily),'Online')
+                                        strgMessage = 'Arret de la correction d''orbite : problÃšme RF';
+                                        tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                                        break;
+                                    end
+                                    
+                                    RFfrequency_now = getrf('Retry');
+                                    
+                                    % Check for stale RF feedback
+                                    
+                                    if (RFfrequency_last == RFfrequency_now)
+                                        RF_frequency_stalenum = RF_frequency_stalenum + 1;
+                                        if RF_frequency_stalenum == 30 % - warn and message if stale for 30 secs
+                                            fprintf('**The RF is not responding to orbit feedback changes! \n');
+                                            fprintf('%s\n',datestr(now));
+                                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                                        end
+                                        if rem(RF_frequency_stalenum,120)==0 % - message to screen every 2 minutes
+                                            fprintf('**The RF is not responding to orbit feedback changes! (%s)\n',datestr(now));
+                                        end
+                                    else
+                                        RF_frequency_stalenum = 0;
+                                    end
+                                    
+                                    fprintf('RF Done: time = %f \n', gettime-t00);
+                                end
+                            end
+                        end
+                    end
+                    
+                    Xold = Xnew;
+                end % End horizontal correction
+                
+                
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                % Vertical plane "feedback" %
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                
+                % Get orbit and check that the BPMs are different from the last update
+                Ynew = getz(FB.BPMlist);
+                
+                if any(isnan(Ynew))
+                    FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit feedback stopped due to bad BPMs\n',datestr(now));
+                    BadBPMName = family2tangodev(BPMxFamily, FB.BPMlist(isnan(Xnew),:));
+                    for k=1:size(BadBPMName,1),
+                        fprintf('Bad Vertical BPM %s\n',BadBPMName{k});
+                    end
+                    if strcmp(getmode(BPMxFamily),'Online')
+                        strgMessage = 'Arret de la correction d''orbite : problÃšme BPM';
+                        tango_giveInformationMessage(devSpeakerName,  strgMessage);   
+                    end
+                    break;
+                end
+                
+                if getdcct < DCCTMIN     % Don't feedback if the current is too small
+                    FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         Orbit feedback stopped due to low beam current (< %d mA)\n', datestr(now), DCCTMIN);
+                    if strcmp(getmode(BPMxFamily),'Online')
+                        strgMessage = 'Arret de la correction d''orbite : courant trop bas';
+                        tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    end
+                    break;
+                end
+                
+                y = FB.Ygoal - Ynew;
+                STDy = norm(y)/sqrt(length(y));
+                
+                
+                if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxVSOFB'),'Value') == 1
+                    
+                    if any(Yold == Ynew)
+                        fprintf('Info: Stale vertical BPM data, feedback step skipped (%s). \n', datestr(clock));
+                        N_Stale_Data_Points = find((Yold==Ynew)==1);
+                        for i = N_Stale_Data_Points'
+                            fprintf('   Stale data: BPMz(%2d,%d), feedback step skipped (%s). \n', ...
+                                FB.BPMlist(i,1), FB.BPMlist(i,2), datestr(clock));
+                        end
+                        
+                    else
+                        if FB.UPDATE_FOFB
+                            %reconstruction of the orbit from DC part of fast correctors
+                            %dxFOFB = gethorbitFOFB;
+                            % TODO select only valid BPM and correctors
+                            FVCM = getpv('FVCOR','SetpointMean', FOFBstruct.VCMlist, 'Online');
+                            fprintf('FVCOR I = %4.2f A RMS   I = %4.2f A MEAN   I = %4.2f A PEAK\n', ...
+                                std(FVCM), mean(FVCM), max(abs(FVCM)));
+                            
+                            % building orbit from steerer value
+                            % Alternative use singular values (to be done if required)
+                            FOFBstruct.OCSy.dz = FOFBstruct.OCSy.Rmat*FVCM; % Rmat has only valid BPM and CM
+                            
+                            % Update GoalOrbot by sustracting the rebuild orbit from FOFB steerers
+                            % SOFB correction
+                            FB.OCSy.GoalOrbit = getgolden('BPMz', FB.BPMlist) + FOFBstruct.OCSy.dz;
+                        end
+                        
+                        % Compute correction only
+                        FB.OCSy = setorbit(FB.OCSy,'Nodisplay','Nosetsp');
+                        % set to gains for correction
+                        Y = Ygain .* FB.OCSy.CM.Delta;
+                        
+                        % check for trim values+next step values, warn or stop FB as necessary
+                        
+                        VCMSP = getsp(VCMFamily,FB.VCMlist); % Get corrector values before correction
+                        VCMSP_next = VCMSP + Y(1:N_VCM); % New corrector values to be set in
+                        
+                        pause(0);
+                        
+                        if getdcct < DCCTMIN     % Don't feedback if the current is too small
+                            fprintf('%s         Orbit feedback stopped due to low beam current (<%d mA)\n',datestr(now), DCCTMIN);
+                            if strcmp(getmode(BPMxFamily),'Online')
+                                strgMessage = 'Arret de la correction d''orbite : courant trop bas';
+                                tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            end
+                            FEEDBACK_STOP_FLAG = 1;
+                            break;
+                        end
+                        
+                        MaxSP = maxsp(VCMFamily,FB.VCMlist);
+                        MinSP = minsp(VCMFamily,FB.VCMlist);
+                        
+                        if any(MaxSP - VCMSP_next  < 0)
+                            VCMnum = find(VCMSP_next > MaxSP);
+                            % message to screen
+                            fprintf('**One or more of the vertical correctors is at its maximum positive value!! Stopping orbit feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                            FEEDBACK_STOP_FLAG = 1;
+                        end
+                        
+                        if any(MinSP - VCMSP_next  > 0)
+                            VCMnum = find(VCMSP_next < MinSP);
+                            % message to screen
+                            fprintf('**One or more of the vertical correctors is at its maximum negative value!! Stopping orbit feedback. \n');
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**%s is one of the problem correctors.\n', ...
+                                cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(1),:))));
+                            FEEDBACK_STOP_FLAG = 1;
+                        end
+                        
+                        pause(0);
+                        
+                        if any(VCMSP_next > MaxSP - 1)
+                            VCMnum = find(VCMSP_next > MaxSP - 1);
+                            for ik = 1:length(VCMnum)
+                                VWarnNum = VWarnNum+1;
+                                fprintf('**Vertical correctors %s is above %f! \n', ...
+                                    cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                    MaxSP(VCMnum(ik)) - 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                        end
+                        
+                        if any(VCMSP_next < MinSP + 1)
+                            VCMnum = find(VCMSP_next < MinSP + 1);
+                            for ik = 1:length(VCMnum)
+                                VWarnNum = VWarnNum+1;
+                                fprintf('**Vertical correctors %s is below %f! \n', ...
+                                    cell2mat(family2tango(VCMFamily,'Setpoint',FB.VCMlist(VCMnum(ik),:))), ...
+                                    MinSP(VCMnum(ik)) + 1);
+                            end
+                            fprintf('%s\n',datestr(now));
+                            fprintf('**The orbit feedback is still working but this problem should be investigated. \n');
+                        end
+                        
+                        % Apply vertical correction
+                        
+                        %% interaction with FOFB
+                        % Warning Reference orbit for all BPMs has to be updated
+                        if FB.UPDATE_FOFB
+                            try
+                                iszFOFBRunning = readattribute([devFOFBManager '/zFofbRunning']);
+                                FOFBManagerState = readattribute([devFOFBManager, '/State']);
+                            catch
+                                fprintf('UPDATEFOFB      SOFB stopped.\n');
+                                if strcmp(getmode(BPMxFamily),'Online')
+                                    strgMessage = 'Arret de la correction d''orbite : problÃšme TANGO';
+                                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                                end
+                                FEEDBACK_STOP_FLAG = 1;
+                                break;
+                            end
+                            
+                            if iszFOFBRunning && ~FOFBManagerState
+                                %% update reference orbit for FOFB
+                                tempz = getz(FB.OCSy.BPM.DeviceList) + FB.OCSy.BPM.PredictedOrbitDelta - FOFBstruct.OCSy.dz;
+                                
+                                % figure;
+                                %  plot(getspos('BPMz'), FB.OCSy.BPM.PredictedOrbitDelta); hold on;
+                                % plot(getspos('BPMz'), FOFBstruct.OCSy.dz, 'r')
+                                
+                                % Keep allvalue for BPM not in the loop
+                                FOFBstruct.OCSy.ZRefOrbit = tango_read_attribute2(devFOFBManager, 'zRefOrbit');
+                                FOFBstruct.OCSy.ZRefOrbit = FOFBstruct.OCSy.ZRefOrbit.value;
+                                
+                                % Change all BPM in the loop
+                                BPMyIdx = findrowindex(FOFBstruct.BPMlist, BPMyfullList);
+                                
+                                % Retrieve offsets between FOFB and SOFB
+                                % 21 November Offset disapeared !!!!
+                                FOFBstruct.OCSy.ZRefOrbit(BPMyIdx) = tempz;
+                                
+                                if N_VCM > 0 && std(Y(1:N_VCM)) > dvcmStd
+                                    if strcmp(getmode(BPMxFamily),'Online')
+                                        fprintf('VCOR: I= %5.4f A RMS I = %5.4f A MEAN I = %5.4f A PEAK\n', ...
+                                            std(Y(1:N_VCM)), mean(Y(1:N_VCM)), max(abs((Y(1:N_VCM)))));
+                                        
+                                        % Update reference orbit in TANGO device server
+                                        tango_write_attribute2(devFOFBManager, 'zRefOrbit', FOFBstruct.OCSy.ZRefOrbit);
+                                        
+                                        % load reference orbit on all Liberas
+                                        tango_command_inout2(devFOFBManager, 'StartStep05LoadZRefOrbit');
+                                        
+                                        fprintf(' New Z-Reference orbit updated for FOFB \n');
+                                    end
+                                else
+                                    fprintf('No Z-Reference update for FOFB \n');
+                                end
+                                
+                            else
+                                fprintf('UPDATEFOFB         Orbit feedback stopped. FOFB stopped in V-plane \n');
+                                fprintf('FOFBmanagerstate is %d (should be O) V-plane is %d (should be 1: running 0: stopped)\n',FOFBManagerState, iszFOFBRunning);
+                                if strcmp(getmode(BPMxFamily),'Online')
+                                    strgMessage = 'Arret de la correction d''orbite : plan vertical';
+                                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                                end
+                                FEEDBACK_STOP_FLAG = 1;
+                                break;
+                            end
+                        end
+                        
+                        if N_VCM > 0 && std(Y(1:N_VCM)) > dvcmStd
+                            fprintf('VCOR: I= %5.4f A RMS I = %5.4f A MEAN I = %5.4f A PEAK\n', std(Y(1:N_VCM)), mean(Y(1:N_VCM)), max(abs((Y(1:N_VCM)))));
+                            if strcmp(getmode(VCMFamily),'Online')
+                                profibus_sync(VCMFamily); pause(0.2);
+                            end
+                            stepsp(VCMFamily, Y(1:N_VCM), FB.VCMlist, 0);
+                            if strcmp(getmode(VCMFamily),'Online')
+                                profibus_unsyncall(VCMFamily);
+                            end
+                        else
+                            fprintf('No vertical correction  applied, std corrector = %5.4f mA rms < threshold = %5.4f \n', ...
+                                std(Y(1:N_VCM)),dvcmStd);
+                        end
+                    end
+                end
+                
+                Yold = Ynew;
+                
+                % Output info to screen
+                set(findobj(gcbf,'Tag','ORBITCTRLStaticTextHorizontal'), ...
+                    'String',sprintf('Horizontal RMS = %.4f mm',STDx), ...
+                    'ForegroundColor',[0 0 0]);
+                set(findobj(gcbf,'Tag','ORBITCTRLStaticTextVertical'), ...
+                    'String',sprintf('Vertical RMS = %.4f mm',STDy),...
+                    'ForegroundColor',[0 0 0]);
+                pause(0);
+                
+                % Wait for next update time or stop request
+                while FEEDBACK_STOP_FLAG == 0 && (gettime-t00) < LoopDelay
+                    pause(.1);
+                    % Check if GUI has been closed
+                    if isempty(gcbf)
+                        FEEDBACK_STOP_FLAG = 1;
+                        lasterr('SRCONTROL GUI DISAPPEARED!');
+                        error('SRCONTROL GUI DISAPPEARED!');
+                    end
+                    if FEEDBACK_STOP_FLAG == 0
+                        FEEDBACK_STOP_FLAG = getappdata(findobj(gcbf,'Tag','ORBITCTRLFig1'),'FEEDBACK_STOP_FLAG');
+                    end
+                end
+                
+                StartErrorTime = gettime;
+                
+                if strcmp(getmode(BPMxFamily),'Online')
+                    % Maintain lock on SOFB service
+                    argin.svalue={'sofb'};
+                    argin.lvalue=int32(Locktag);
+                    tango_command_inout2(devLockName,'MaintainLock', argin);
+                end
+            catch
+                fprintf('\n  %s \n',lasterr);
+                FEEDBACK_STOP_FLAG = 1;
+                if strcmp(getmode(BPMxFamily),'Online')
+                    strgMessage = 'Arret de la correction d''orbite : ATTENTION';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    profibus_unsyncall(HCMFamily); % to be sure that correctors are controllable
+                    profibus_unsyncall(VCMFamily); % to be sure that correctors are controllable
+                end
+            end
+            
+            % Check whether user asked for stopping SOFB
+            if FEEDBACK_STOP_FLAG == 0
+                FEEDBACK_STOP_FLAG = getappdata(findobj(gcbf,'Tag','ORBITCTRLFig1'),'FEEDBACK_STOP_FLAG');
+            end
+            
+            
+        end  % End of feedback loop
+        
+        
+        % End feedback, reset all parameters
+        try
+            
+            % Enable buttons
+            set(findobj(gcbf,'Tag','ORBITCTRLPushbuttonStart'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLPushbuttonStop'),'Enable','off');
+            set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrection'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLButtonOrbitCorrectionSetup'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLClose'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxVSOFB'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxHcorrection'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxVcorrection'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'),'Enable','on');
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxFOFB'),'Enable','on')
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxInteractionMode'),'Enable','on')
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextHorizontal'),'String',sprintf('Horizontal RMS = _____ mm'),'ForegroundColor',[0 0 0]);
+            set(findobj(gcbf,'Tag','ORBITCTRLStaticTextVertical'),'String',sprintf('Vertical RMS = _____ mm'),'ForegroundColor',[0 0 0]);
+            pause(0);
+            
+        catch
+            
+            % GUI must have been closed
+            
+        end
+        
+        fprintf('   %s \n', datestr(clock));
+        fprintf('   ******************************\n');
+        fprintf('   **  Orbit Feedback Stopped  **\n');
+        fprintf('   ******************************\n\n');
+        set(0,'showhiddenhandles','off');
+        pause(0);
+        
+        if strcmp(getmode(BPMxFamily),'Online') && strcmp(getmode(BPMyFamily),'Online')
+            % Unlock SOFB service
+            argin.svalue={'sofb'};
+            argin.lvalue=int32(Locktag);
+            tango_command_inout2(devLockName,'Unlock', argin);
+            %setup average data for reading BPMs
+            setfamilydata('gethbpmgroup',BPMxFamily,'Monitor', 'SpecialFunctionGet')
+            setfamilydata('getvbpmgroup',BPMyFamily,'Monitor', 'SpecialFunctionGet')
+        end
+        
+        %% InteractionMode
+    case 'InteractionMode'
+        
+        val = get(findobj(gcbf,'Tag','ORBITCTRLCheckboxInteractionMode'),'Value');
+        
+        FOFBstruct = makeFOFBstruct;
+        
+        if FOFBstruct.SOFBandFOFB == 0
+            val = 0;
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxInteractionMode'),'Value', val);
+            fprintf('FOFB not set properly. Action aborted\n');
+        end
+        
+        set(findobj(gcbf,'Tag','ORBITCTRLCheckboxFB'), 'Value', FOFBstruct.SOFBandFOFB)
+        
+        if val % Interaction between feedbacks
+            set(findobj(gcbf,'Tag','ORBITCTRLFig1'),'Color', [0.84 0 0.89]);
+        else
+            set(findobj(gcbf,'Tag','ORBITCTRLFig1'),'Color', [0.1 0.1 1]);
+        end
+        
+        % Load feedback structure
+        FB = get(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata');
+        
+        % Set interaction flag
+        FB.UPDATE_FOFB = val;
+        
+        % Save feedback structure
+        set(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'),'Userdata',FB);
+
+        %% SOFB H Selected
+    case 'SOFBHSelected'
+        %disable RF correction if plane H is not selected
+         if get(findobj(gcbf,'Tag','ORBITCTRLCheckboxHSOFB'), 'Value')
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'),'Enable','on'); 
+            set(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'), 'Value', 1)
+        else
+           set(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'),'Enable','off');  
+           set(findobj(gcbf,'Tag','ORBITCTRLCheckboxRF'), 'Value', 0)
+         end
+         
+    otherwise
+        fprintf('   Unknown action name: %s.\n', action);
+        
+end
+
+%% getlocallist
+function [HCMlist, VCMlist, BPMlist, FHCMlist, FVCMlist] = getlocallist
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Edit the following lists to change default configuration of Orbit Correction %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%TODO:full list and just remove specific device cf LOCO
+
+HCMlist = family2dev('HCOR');
+VCMlist = family2dev('VCOR');
+
+FHCMlist = family2dev('FHCOR');
+FVCMlist = family2dev('FVCOR');
+
+% BPMlist = [
+%     1     2
+%     1     3
+%     1     4
+%     1     5
+%     1     6
+%     1     7
+%     2     1
+%     2     2
+%     2     3
+%     2     4
+%     2     5
+%     2     6
+%     2     7
+%     2     8
+%     3     1
+%     3     2
+%     3     3
+%     3     4
+%     3     5
+%     3     6
+%     3     7
+%     3     8
+%     4     1
+%     4     2
+%     4     3
+%     4     4
+%     4     5
+%     4     6
+%     4     7
+%     5     1
+%     5     2
+%     5     3
+%     5     4
+%     5     5
+%     5     6
+%     5     7
+%     6     1
+%     6     2
+%     6     3
+%     6     4
+%     6     5
+%     6     6
+%     6     7
+%     6     8
+%     7     1
+%     7     2
+%     7     3
+%     7     4
+%     7     5
+%     7     6
+%     7     7
+%     7     8
+%     8     1
+%     8     2
+%     8     3
+%     8     4
+%     8     5
+%     8     6
+%     8     7
+%     9     1
+%     9     2
+%     9     3
+%     9     4
+%     9     5
+%     9     6
+%     9     7
+%     10     1
+%     10     2
+%     10     3
+%     10     4
+%     10     5
+%     10     6
+%     10     7
+%     10     8
+%     11     1
+%     11     2
+%     11     3
+%     11     4
+%     11     5
+%     11     6
+%     11     7
+%     11     8
+%     12     1
+%     12     2
+%     12     3
+%     12     4
+%     12     5
+%     12     6
+%     12     7
+%     13     1
+%     13     2
+%     13     3
+%     13     4
+%     13     5
+%     13     6
+%     13     7
+%     14     1
+%     14     2
+%     14     3
+%     14     4
+%     14     5
+%     14     6
+%     14     7
+%     14     8
+%     15     1
+%     15     2
+%     15     3
+%     15     4
+%     15     5
+%     15     6
+%     15     7
+%     15     8
+%     16     1
+%     16     2
+%     16     3
+%     16     4
+%     16     5
+%     16     6
+%     16     7
+%     1     1
+%     ];
+
+BPMlist = [
+    1     2
+    1     3
+    1     4
+    1     5
+    1     6
+    1     7
+    2     1
+    2     2
+    2     3
+    2     4
+    2     5
+    2     6
+    2     7
+    2     8
+    3     1
+    3     2
+    3     3
+    3     4
+    3     5
+    3     6
+    3     7
+    3     8
+    4     1
+    4     2
+    4     3
+    4     4
+    4     5
+    4     6
+    4     7
+    5     1
+    5     2
+    5     3
+    5     4
+    5     5
+    5     6
+    5     7
+    6     1
+    6     2
+    6     3
+    6     4
+    6     5
+    6     6
+    6     7
+    6     8
+    7     1
+    7     2
+    7     3
+    7     4
+    7     5
+    7     6
+    7     7
+    7     8
+    8     1
+    8     2
+    8     3
+    8     4
+    8     5
+    8     6
+    8     7
+    9     1
+    9     2
+    9     3
+    9     4
+    9     5
+    9     6
+    9     7
+    10     1
+    10     2
+    10     3
+    10     4
+    10     5
+    10     6
+    10     7
+    10     8
+    11     1
+    11     2
+    11     3
+    11     4
+    11     5
+    11     6
+    11     7
+    11     8
+    12     1
+    12     2
+    12     3
+    12     4
+    12     5
+    12     6
+    12     7
+    13     1
+    13     8
+    13     9
+    13     2
+    13     3
+    13     4
+    13     5
+    13     6
+    13     7
+    14     1
+    14     2
+    14     3
+    14     4
+    14     5
+    14     6
+    14     7
+    14     8
+    15     1
+    15     2
+    15     3
+    15     4
+    15     5
+    15     6
+    15     7
+    15     8
+    16     1
+    16     2
+    16     3
+    16     4
+    16     5
+    16     6
+    16     7
+    1     1
+    ];
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+function check4feedbackflag(devLockName,UPDATE_FOFB)
+
+BPMxFamily = 'BPMx';
+BPMyFamily = 'BPMz';
+devFOFBManager = 'ANS/DG/FOFB-MANAGER';
+devRFFBManager = 'ANS/DG/RFFB-MANAGER';
+
+if strcmp(getmode(BPMxFamily),'Online') && strcmp(getmode(BPMyFamily),'Online')
+    
+    if ~UPDATE_FOFB
+        %look for already running FOFB
+        xval = readattribute([devFOFBManager '/xFofbRunning']);
+        zval = readattribute([devFOFBManager '/zFofbRunning']);
+        if xval == 1 || zval == 1
+            error('FOFB already running. Stop other application first!')
+        end
+    end
+    
+    val = readattribute([devLockName '/rffb']);
+    rfval = readattribute([devRFFBManager '/isRunning']);
+    if val == 1 || rfval == 1
+        error('RF FB already running. Stop other application first!')
+    end
+    val = readattribute([devLockName '/sofb']);
+    if val == 1
+        error('SOFB already running. Stop other application first!')
+    end
+    val = readattribute([devLockName '/dcfb']);
+    if val == 1
+        error('DC FB already running. Stop other application first!')
+    end
+end
+
+% make FOFB strucutre
+function FOFBstruct = makeFOFBstruct
+
+% Read FOFB configuration from a file
+DirName  = getfamilydata('Directory', 'FOFBdata');
+FileName = fullfile(DirName, 'FOFBconfiguration');
+temp = load(FileName, 'FB');
+FOFBstruct = temp.FB;
+
+% Compute Response matrix
+RmatFOFB           = getbpmresp('BPMx', FOFBstruct.BPMlist, 'BPMz', FOFBstruct.BPMlist, 'FHCOR', FOFBstruct.OCSx.CM.DeviceList, 'FVCOR', FOFBstruct.OCSy.CM.DeviceList,  [getfamilydata('Directory','OpsData') getfamilydata('OpsData', 'BPMResp4FOFBFile')], 'Struct');
+
+FOFBstruct.OCSx.Rmat     = RmatFOFB(1,1).Data;
+FOFBstruct.OCSy.Rmat     = RmatFOFB(2,2).Data;
+
+% Offsets from FA and SA sources
+% OffsetSA_FA        = load('/home/operateur/GrpDiagnostics/matlab/FOFB/GUI/golden/offsetSA_FA_02_fevrier_09.mat');
+% 
+% FOFBstruct.OCSx.OffsetSA_FA = OffsetSA_FA.X_offset; %Becareful need all BPM for FPGA
+% FOFBstruct.OCSy.OffsetSA_FA = OffsetSA_FA.Z_offset; %Becareful need all BPM for FPGA
+
+%setappdata(findobj(gcbf,'Tag','ORBITCTRLButtonFeedbackSetup'), 'FOFBstruct',FOFBstruct);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/plotBPMturns.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/plotBPMturns.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/plotBPMturns.m	(revision 17)
@@ -0,0 +1,802 @@
+function varargout = plotBPMturns(varargin)
+% PLOTBPMTURNS M-file for plotBPMturns.fig
+%      PLOTBPMTURNS, by itself, creates a new PLOTBPMTURNS or raises the existing
+%      singleton*.
+%
+%      H = PLOTBPMTURNS returns the handle to a new PLOTBPMTURNS or the handle to
+%      the existing singleton*.
+%
+%      PLOTBPMTURNS('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in PLOTBPMTURNS.M with the given input arguments.
+%
+%      PLOTBPMTURNS('Property','Value',...) creates a new PLOTBPMTURNS or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before plotBPMturns_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to plotBPMturns_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help plotBPMturns
+
+% Last Modified by GUIDE v2.5 08-Aug-2006 14:29:40
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 0;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @plotBPMturns_OpeningFcn, ...
+                   'gui_OutputFcn',  @plotBPMturns_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before plotBPMturns is made visible.
+function plotBPMturns_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to plotBPMturns (see VARARGIN)
+
+% fprintf('%6.2f\n',hObject);
+
+datacursormode on;
+
+% Choose default command line output for plotBPMturns
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% Make figure resizable
+set(hObject,'Resize','off');
+
+% Set default values for the various fields.
+set(handles.turns_input,'String','[1:100]');
+set(handles.FFTturns_input,'String','[1:100]');
+set(handles.fftxaxis,'String','[0 0.5 0 0.2 0.1 0.4]');
+set(handles.fftyaxis,'String','[0 0.5 0 0.1 0.1 0.4]');
+set(handles.FFTturns_input,'String','[1:512]');
+set(handles.BPMdev_input,'String','[1 1]');
+set(handles.sumplot_max,'String','15e5');
+set(handles.sumplot_min,'String','0');
+set(handles.xyplot_max,'String','10');
+set(handles.xyplot_min,'String','-10');
+set(handles.tuneplot_max,'String','0.5');
+set(handles.tuneplot_min,'String','0');
+
+% User data structure to store data
+data.maxturns = 6663;
+data.maxtunesamples = 20;
+data.turnsstr = '[1:100]';
+data.turns = 1:100;
+data.BPMdev = [1 1];
+data.sumplotaxis = [0 15e5];
+data.xyplotaxis = [-10 10];
+data.tuneplotaxis = [0 0.5];
+data.fftturnsstr = '[1:512]';
+data.fftturns = 1:512;
+% The last 2 numbers define the window over which to detect the tune.
+data.fftxaxis = [0 0.5 0 0.2 0.1 0.4];
+data.fftyaxis = [0 0.5 0 0.1 0.1 0.4];
+data.fftaverage = 10;
+data.Pxx = [];   % store power spectrum for averaging
+data.Pyy = [];   % store power spectrum for averaging
+
+% for liftime calculations
+data.prev_sum = NaN;
+data.prev_time = NaN;
+data.lifetime = NaN;
+%data.lifetime_pv = 'CR01:GENERAL_ANALOG_01_MONITOR';
+data.lifetime_handle = getlifetime;
+data.currsumarray = NaN;
+data.currsumarray2 = NaN;
+
+data.tuneind = 1;
+
+data.sum = zeros(data.maxturns,1);
+data.x = zeros(data.maxturns,1);
+data.y = zeros(data.maxturns,1)+1;
+data.xtune = zeros(data.maxtunesamples,1); data.xtune(:) = NaN;
+data.ytune = zeros(data.maxtunesamples,1); data.ytune(:) = NaN;
+
+% Initialise plots
+axes(handles.sum_plot);
+plot(data.sum,'LineWidth',2);
+set(gca,'XLim',[data.turns(1) data.turns(end)]);
+set(gca,'YLim',data.sumplotaxis);
+
+axes(handles.xy_plot);
+plot(data.x,'LineWidth',2,'Color','k','Tag','Horizontal');
+hold on;
+plot(data.y,'LineWidth',2,'Color','b','LineStyle','--','Tag','Vertical');
+hold off;
+set(gca,'XLim',[data.turns(1) data.turns(end)]);
+set(gca,'YLim',data.xyplotaxis);
+
+% Tunes only plot 20 samples/updates worth of tunes
+axes(handles.tune_plot);
+plot(data.xtune,'LineWidth',2,'Color','k','Tag','Htune','Marker','.');
+hold on;
+plot(data.ytune,'LineWidth',2,'Color','b','Tag','Vtune','Marker','.','LineStyle','--');
+hold off;
+set(gca,'XLim',[1 data.maxtunesamples]);
+set(gca,'YLim',data.tuneplotaxis);
+
+% Plots for the FFT. With more points than would be needed.
+axes(handles.fft_x);
+plot(zeros(1,length(data.maxturns/2)),'LineWidth',1,'Color','k','Tag','fftx');
+hold on;
+% Plot the tune window over which to detect the tune
+plot([data.fftxaxis(5) data.fftxaxis(5)],data.fftxaxis(3:4),'--','Color',[1.0 0.7 0.7],'Tag','fftx_lower');
+plot([data.fftxaxis(6) data.fftxaxis(6)],data.fftxaxis(3:4),'--','Color',[1.0 0.7 0.7],'Tag','fftx_upper');
+hold off;
+axis(data.fftxaxis(1:4));
+
+axes(handles.fft_y);
+plot(zeros(1,length(data.maxturns/2)),'LineWidth',1,'Color','k','Tag','ffty');
+hold on;
+% Plot the tune window over which to detect the tune
+plot([data.fftyaxis(5) data.fftyaxis(5)],data.fftyaxis(3:4),'--','Color',[1.0 0.7 0.7],'Tag','ffty_lower');
+plot([data.fftyaxis(6) data.fftyaxis(6)],data.fftyaxis(3:4),'--','Color',[1.0 0.7 0.7],'Tag','ffty_upper');
+hold off;
+axis(data.fftyaxis(1:4));
+
+
+set(handles.main,'UserData',data);
+
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = plotBPMturns_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function turns_input_Callback(hObject, eventdata, handles)
+% hObject    handle to turns_input (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of turns_input as text
+%        str2double(get(hObject,'String')) returns contents of turns_input as a double
+
+data = get(handles.main,'UserData');
+
+turnsstr = get(hObject,'String');
+turns = eval(turnsstr);
+if isnumeric(turns) && turns(end) < data.maxturns
+    data.turnsstr = turnsstr;
+    data.turns = turns;
+else
+    msgbox(sprintf('Invalid turns input. Max turns is < %d',data.maxturns));
+    set(hObject,'String',data.turnsstr);
+end
+    
+set(handles.main,'UserData',data);
+
+
+% --- Executes during object creation, after setting all properties.
+function turns_input_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to turns_input (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function BPMdev_input_Callback(hObject, eventdata, handles)
+% hObject    handle to BPMdev_input (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of BPMdev_input as text
+%        str2double(get(hObject,'String')) returns contents of BPMdev_input as a double
+
+data = get(handles.main,'UserData');
+
+BPMdev = eval(get(hObject,'String'));
+BPMdevlist = family2dev('BPMx',1);
+
+ind = findrowindex(BPMdevlist,BPMdev);
+if isempty(ind)
+    msgbox('Invalid BPM device index');
+    set(hObject,'String',sprintf('[%d %d]',data.BPMdev(1), data.BPMdev(2)));
+else
+    data.BPMdev = BPMdev;
+end
+
+set(handles.main,'UserData',data);
+
+
+% --- Executes during object creation, after setting all properties.
+function BPMdev_input_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to BPMdev_input (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in start_stop.
+function start_stop_Callback(hObject, eventdata, handles)
+% hObject    handle to start_stop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of start_stop
+
+OnFlag = get(handles.start_stop,'Value');
+
+if OnFlag
+    % Turn on updates
+    set(handles.start_stop, 'String', 'Running');    
+    
+    % Turn lattice menu back off
+    %set(handles.('LatticeMenu'),'enable','off');
+    
+    % Setup timer
+    UpdatePeriod = 0.5;
+    t = timer;
+    set(t,'StartDelay',0);
+    set(t,'Period', UpdatePeriod);
+    tagstr = sprintf('PlotBPMTimer_%6.2f',handles.main);
+    set(t,'Tag', tagstr);
+    timerstr = sprintf('plotBPMturns(''single_shot_Callback'', getfield(get(timerfind(''Tag'',''%s''),''Userdata''),''main''), [], get(timerfind(''Tag'',''%s''),''Userdata'')); drawnow;',...
+        tagstr,tagstr);
+    set(t,'TimerFcn', timerstr);
+    set(t,'UserData', handles);
+       
+    set(t,'BusyMode','drop');  %'queue'
+    set(t,'TasksToExecute', 10000000);
+    set(t,'ExecutionMode','FixedRate');
+    start(t);
+    
+else
+    % Turn off updating by deleting timer handle
+    tagstr = sprintf('PlotBPMTimer_%6.2f',handles.main);
+    h = timerfind('Tag',tagstr);
+    for i = 1:length(h)
+        stop(h(i));
+        delete(h(i));
+    end
+
+    % Change OnOff label string
+    set(handles.start_stop, 'String', 'Continuous');
+end
+
+
+
+
+function sumplot_max_Callback(hObject, eventdata, handles)
+% hObject    handle to sumplot_max (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of sumplot_max as text
+%        str2double(get(hObject,'String')) returns contents of sumplot_max as a double
+data = get(handles.main,'UserData');
+
+val = str2double(get(hObject,'String'));
+if ~isnan(val) 
+    data.sumplotaxis(2) = val;
+else
+    msgbox('Invalid number');
+    set(hObject,'String',num2str(data.sumplotaxis(2)));
+end
+
+set(handles.main,'UserData',data);
+    
+
+% --- Executes during object creation, after setting all properties.
+function sumplot_max_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sumplot_max (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function sumplot_min_Callback(hObject, eventdata, handles)
+% hObject    handle to sumplot_min (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of sumplot_min as text
+%        str2double(get(hObject,'String')) returns contents of sumplot_min as a double
+
+data = get(handles.main,'UserData');
+
+val = str2double(get(hObject,'String'));
+if ~isnan(val) 
+    data.sumplotaxis(1) = val;
+else
+    msgbox('Invalid number');
+    set(hObject,'String',num2str(data.sumplotaxis(1)));
+end
+
+set(handles.main,'UserData',data);
+
+% --- Executes during object creation, after setting all properties.
+function sumplot_min_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sumplot_min (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function xyplot_max_Callback(hObject, eventdata, handles)
+% hObject    handle to xyplot_max (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of xyplot_max as text
+%        str2double(get(hObject,'String')) returns contents of xyplot_max as a double
+
+data = get(handles.main,'UserData');
+
+val = str2double(get(hObject,'String'));
+if ~isnan(val) 
+    data.xyplotaxis(2) = val;
+else
+    msgbox('Invalid number');
+    set(hObject,'String',num2str(data.xyplotaxis(2)));
+end
+
+set(handles.main,'UserData',data);
+
+
+% --- Executes during object creation, after setting all properties.
+function xyplot_max_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to xyplot_max (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function xyplot_min_Callback(hObject, eventdata, handles)
+% hObject    handle to xyplot_min (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of xyplot_min as text
+%        str2double(get(hObject,'String')) returns contents of xyplot_min as a double
+
+data = get(handles.main,'UserData');
+
+val = str2double(get(hObject,'String'));
+if ~isnan(val) 
+    data.xyplotaxis(1) = val;
+else
+    msgbox('Invalid number');
+    set(hObject,'String',num2str(data.xyplotaxis(1)));
+end
+
+set(handles.main,'UserData',data);
+
+% --- Executes during object creation, after setting all properties.
+function xyplot_min_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to xyplot_min (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function tuneplot_max_Callback(hObject, eventdata, handles)
+% hObject    handle to tuneplot_max (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of tuneplot_max as text
+%        str2double(get(hObject,'String')) returns contents of tuneplot_max as a double
+
+data = get(handles.main,'UserData');
+
+val = str2double(get(hObject,'String'));
+if ~isnan(val) 
+    data.tuneplotaxis(2) = val;
+else
+    msgbox('Invalid number');
+    set(hObject,'String',num2str(data.tuneplotaxis(2)));
+end
+
+set(handles.main,'UserData',data);
+
+% --- Executes during object creation, after setting all properties.
+function tuneplot_max_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to tuneplot_max (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function tuneplot_min_Callback(hObject, eventdata, handles)
+% hObject    handle to tuneplot_min (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of tuneplot_min as text
+%        str2double(get(hObject,'String')) returns contents of tuneplot_min as a double
+
+data = get(handles.main,'UserData');
+
+val = str2double(get(hObject,'String'));
+if ~isnan(val) 
+    data.tuneplotaxis(1) = val;
+else
+    msgbox('Invalid number');
+    set(hObject,'String',num2str(data.tuneplotaxis(1)));
+end
+
+set(handles.main,'UserData',data);
+
+% --- Executes during object creation, after setting all properties.
+function tuneplot_min_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to tuneplot_min (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in single_shot.
+function single_shot_Callback(hObject, eventdata, handles)
+% hObject    handle to single_shot (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+data = get(handles.main,'UserData');
+
+setlibera('TT_READY_STATUS',0,data.BPMdev);
+setlibera('TT_ARM_CMD',1,data.BPMdev);
+
+ii = 0;
+while ~getlibera('TT_READY_STATUS',data.BPMdev);
+    pause(0.3);
+    ii = ii + 1;
+    if ii > 20
+        msgbox('Problem with this bpm. Maybe not triggering properly. Try another BPM');
+        return
+    end
+end
+
+[data.sum temp datatime] = getlibera('TT_WF_S_MONITOR',data.BPMdev);
+data.x = getlibera('TT_WF_HPOS_MONITOR',data.BPMdev)/1e6; % convert into mm
+data.y = getlibera('TT_WF_VPOS_MONITOR',data.BPMdev)/1e6; % convert into mm
+
+% FFT 
+npoints = 2^(floor(log2(length(data.fftturns))));
+
+% FFT horizontal. Data stack is cleared everytime number of fft_turns is
+% changed
+XX = fft(data.x(data.fftturns) - mean(data.x(data.fftturns)));
+f = [0:npoints/2]/npoints;
+if size(data.Pxx,2) >= data.fftaverage
+    % First In First Out, push data on stack
+    data.Pxx(:,1:end-1) = data.Pxx(:,2:end);
+    data.Pxx(:,end) = XX.*conj(XX)/npoints;
+else
+    data.Pxx(:,end+1) = XX.*conj(XX)/npoints;
+end
+Pxx_mean = mean(data.Pxx(1:npoints/2+1,:),2);
+
+linehandle = get(handles.fft_x,'Children');
+for i=1:length(linehandle)
+    switch get(linehandle(i),'Tag')
+        case 'fftx'
+            set(linehandle(i),'XData',f,'YData',Pxx_mean);
+            set(handles.fft_x,'YLim',data.fftxaxis(3:4),'XLim',data.fftxaxis(1:2));
+        case 'fftx_lower'
+            set(linehandle(i),'XData',[data.fftxaxis(5) data.fftxaxis(5)],'YData',data.fftxaxis(3:4));
+        case 'fftx_upper'
+            set(linehandle(i),'XData',[data.fftxaxis(6) data.fftxaxis(6)],'YData',data.fftxaxis(3:4));
+    end
+end
+
+% Detect peak within window
+indices = find(f > data.fftxaxis(5) & f < data.fftxaxis(6));
+[temp xtuneind] = max(Pxx_mean(indices));
+xtuneind = xtuneind + 3;
+if data.tuneind == data.maxtunesamples + 1
+    data.xtune(1:data.maxtunesamples-1) = data.xtune(2:data.maxtunesamples);
+    data.xtune(data.maxtunesamples) = f(xtuneind+indices(1));
+else
+    data.xtune(data.tuneind) = f(xtuneind+indices(1));
+end
+
+
+% FFT vertical. Data stack is cleared everytime number of fft_turns is
+% changed
+YY = fft(data.y(data.fftturns) - mean(data.y(data.fftturns)));
+f = [0:npoints/2]/npoints;
+if size(data.Pyy,2) >= data.fftaverage
+    % First In First Out, push data on stack
+    data.Pyy(:,1:end-1) = data.Pyy(:,2:end);
+    data.Pyy(:,end) = YY.*conj(YY)/npoints;
+else
+    data.Pyy(:,end+1) = YY.*conj(YY)/npoints;
+end
+Pyy_mean = mean(data.Pyy(1:npoints/2+1,:),2);
+
+
+linehandle = get(handles.fft_y,'Children');
+for i=1:length(linehandle)
+    switch get(linehandle(i),'Tag')
+        case 'ffty'
+            set(linehandle(i),'XData',f,'YData',Pyy_mean);
+            set(handles.fft_y,'YLim',data.fftyaxis(3:4),'XLim',data.fftyaxis(1:2));
+        case 'ffty_lower'
+            set(linehandle(i),'XData',[data.fftyaxis(5) data.fftyaxis(5)],'YData',data.fftyaxis(3:4));
+        case 'ffty_upper'
+            set(linehandle(i),'XData',[data.fftyaxis(6) data.fftyaxis(6)],'YData',data.fftyaxis(3:4));
+    end
+end
+
+% Detect peak within window
+indices = find(f > data.fftyaxis(5) & f < data.fftyaxis(6));
+[temp ytuneind] = max(Pyy_mean(indices));
+ytuneind = ytuneind + 3;
+if data.tuneind == data.maxtunesamples + 1
+    data.ytune(1:data.maxtunesamples-1) = data.ytune(2:data.maxtunesamples);
+    data.ytune(data.maxtunesamples) = f(ytuneind+indices(1));
+else
+    data.ytune(data.tuneind) = f(ytuneind+indices(1));
+    data.tuneind = data.tuneind + 1;
+end
+
+
+    
+
+linehandle = get(handles.sum_plot,'Children');
+set(linehandle,'YData',data.sum);
+set(handles.sum_plot,'XLim',[data.turns(1) data.turns(end)]);
+set(handles.sum_plot,'YLim',data.sumplotaxis);
+
+linehandle = get(handles.xy_plot,'Children');
+for i=1:length(linehandle)
+    switch get(linehandle(i),'Tag')
+        case 'Horizontal'
+            % only set the axis limits once since it should cycle through
+            % both horizontal and vertical
+            set(linehandle(i),'YData',data.x);
+            set(handles.xy_plot,'XLim',[data.turns(1) data.turns(end)]);
+            set(handles.xy_plot,'YLim',data.xyplotaxis);
+        case 'Vertical'
+            set(linehandle(i),'YData',data.y);
+    end
+end
+
+linehandle = get(handles.tune_plot,'Children');
+for i=1:length(linehandle)
+    switch get(linehandle(i),'Tag')
+        case 'Htune'
+            set(linehandle(i),'YData',data.xtune);
+            set(handles.tune_plot,'XLim',[1 data.maxtunesamples]);
+            set(handles.tune_plot,'YLim',data.tuneplotaxis);
+        case 'Vtune'
+            set(linehandle(i),'YData',data.ytune);
+    end
+end
+
+% Calculate Lifetime
+sumindex = 1000:1002;
+%sumindex2 = 5000:6000;
+currsum = mean(data.sum(sumindex));
+%currsum2 = mean(data.sum(sumindex2));
+data.currsumarray = [data.currsumarray currsum];
+%data.currsumarray2 = [data.currsumarray2 currsum2];
+%figure(10);
+%plot(data.currsumarray,'x-');
+%hold on
+%plot(data.currsumarray2,'ro-');
+%axis([1 length(data.currsumarray) 1.525e6 1.535e6]);
+%hold off;
+
+if isnan(data.prev_sum)
+    data.lifetime = NaN;
+else
+    data.lifetime = - currsum/(currsum-data.prev_sum)*(datatime - data.prev_time)*1e5/60;
+    %data.lifetime = - currsum/(currsum-data.prev_sum)*1/60;
+end
+data.prev_sum = currsum;
+data.prev_time = datatime;
+if data.lifetime_handle ~= 0
+    mcaput(data.lifetime_handle,data.lifetime);
+end
+
+set(handles.lifetime_text,'String',sprintf('%+06.3f',data.lifetime));
+
+
+set(handles.main,'UserData',data);
+
+
+
+function FFTturns_input_Callback(hObject, eventdata, handles)
+% hObject    handle to FFTturns_input (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of FFTturns_input as text
+%        str2double(get(hObject,'String')) returns contents of FFTturns_input as a double
+data = get(handles.main,'UserData');
+
+fftturnsstr = get(hObject,'String');
+fftturns = eval(fftturnsstr);
+if isnumeric(fftturns) && fftturns(end) < data.maxturns
+    data.fftturnsstr = fftturnsstr;
+    data.fftturns = fftturns;
+    % If changing fft turns then must reset FFT data structure due to
+    % averaging.
+    data.Pxx = [];
+    data.Pyy = [];
+else
+    msgbox(sprintf('Invalid FFT turns input. Max turns is < %d',data.maxturns));
+    set(hObject,'String',data.fftturnsstr);
+end
+
+set(handles.main,'UserData',data);
+
+
+% --- Executes during object creation, after setting all properties.
+function FFTturns_input_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to FFTturns_input (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+% --- Executes when main is resized.
+function main_ResizeFcn(hObject, eventdata, handles)
+% hObject    handle to main (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+function fftyaxis_Callback(hObject, eventdata, handles)
+% hObject    handle to fftyaxis (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fftyaxis as text
+%        str2double(get(hObject,'String')) returns contents of fftyaxis as a double
+data = get(handles.main,'UserData');
+
+fftystr = get(hObject,'String');
+data.fftyaxis = eval(fftystr);
+
+set(handles.main,'UserData',data);
+
+% --- Executes during object creation, after setting all properties.
+function fftyaxis_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fftyaxis (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function fftxaxis_Callback(hObject, eventdata, handles)
+% hObject    handle to fftxaxis (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fftxaxis as text
+%        str2double(get(hObject,'String')) returns contents of fftxaxis as a double
+data = get(handles.main,'UserData');
+
+fftxstr = get(hObject,'String');
+data.fftxaxis = eval(fftxstr);
+
+set(handles.main,'UserData',data);
+
+% --- Executes during object creation, after setting all properties.
+function fftxaxis_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fftxaxis (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+% --- Executes when user attempts to close main.
+function main_CloseRequestFcn(hObject, eventdata, handles)
+% hObject    handle to main (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: delete(hObject) closes the figure
+
+% If the continuous update still running, then turn off before closing
+% window. Else it will loop and keep creating new figure, new application.
+if get(handles.start_stop,'Value')
+    set(handles.start_stop,'Value',0);
+    start_stop_Callback(handles.start_stop, eventdata, handles)
+end
+
+% Close handle for the PV holding the lifetime values.
+data = get(handles.main,'UserData');
+
+delete(hObject);
+
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/plotDD.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/plotDD.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/plotDD.m	(revision 17)
@@ -0,0 +1,132 @@
+function plotDD(AM,isup,ishift)
+
+figure
+
+bpmnum = (1:7)  + ishift;
+turnnum = 4:40;
+
+h1=subplot(2,2,1);
+plot(AM.Data.Sum(bpmnum ,turnnum)','.-')
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',1+isup))
+
+h2=subplot(2,2,2);
+plot(AM.Data.Q(bpmnum ,turnnum)','.-')
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.Data.X(bpmnum,turnnum)','.-')
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.Data.Z(bpmnum,turnnum)','.-')
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
+
+figure
+
+bpmnum = (8:15)  + ishift;
+
+h1=subplot(2,2,1);
+plot(AM.Data.Sum(bpmnum,turnnum)','.-')
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',2+isup))
+
+h2=subplot(2,2,2);
+plot(AM.Data.Q(bpmnum ,turnnum)','.-')
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.Data.X(bpmnum,turnnum)','.-')
+grid on
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.Data.Z(bpmnum,turnnum)','.-')
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
+
+figure
+
+bpmnum = (16:23)  + ishift;
+
+h1=subplot(2,2,1);
+plot(AM.Data.Sum(bpmnum,turnnum)','.-')
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',3+isup))
+
+h2=subplot(2,2,2);
+plot(AM.Data.Q(bpmnum ,turnnum)','.-')
+grid on
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.Data.X(bpmnum,turnnum)','.-')
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.Data.Z(bpmnum,turnnum)','.-')
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
+
+figure
+
+bpmnum = (24:30)  + ishift;
+
+h1=subplot(2,2,1);
+plot(AM.Data.Sum(bpmnum,turnnum)','.-')
+ylabel('Sum (a.u.)')
+suptitle(sprintf('Cell %d',4+isup))
+
+h2=subplot(2,2,2);
+plot(AM.Data.Q(bpmnum ,turnnum)','.-')
+ylabel('Quad (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.Data.X(bpmnum,turnnum)','.-')
+ylabel('X(mm)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.Data.Z(bpmnum,turnnum)','.-')
+ylabel('Z(mm)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
Index: /trunk/machine/SOLEIL/StorageRing/bpm/plotDDraw.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/plotDDraw.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/plotDDraw.m	(revision 17)
@@ -0,0 +1,132 @@
+function plotDD(AM,isup,ishift)
+
+figure
+
+bpmnum = (1:7)  + ishift;
+turnnum = 4:40;
+
+h1=subplot(2,2,1);
+plot(AM.Data.Va(bpmnum ,turnnum)','.-')
+ylabel('Va (a.u.)')
+suptitle(sprintf('Cell %d',1+isup))
+
+h2=subplot(2,2,2);
+plot(AM.Data.Vb(bpmnum ,turnnum)','.-')
+ylabel('Vb (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.Data.Vc(bpmnum,turnnum)','.-')
+ylabel('Vc (a.u.)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.Data.Vd(bpmnum,turnnum)','.-')
+ylabel('Vd (a.u.)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
+
+figure
+
+bpmnum = (8:15)  + ishift;
+
+h1=subplot(2,2,1);
+plot(AM.Data.Va(bpmnum,turnnum)','.-')
+ylabel('Va (a.u.)')
+suptitle(sprintf('Cell %d',2+isup))
+
+h2=subplot(2,2,2);
+plot(AM.Data.Vb(bpmnum ,turnnum)','.-')
+ylabel('Vb (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.Data.Vc(bpmnum,turnnum)','.-')
+grid on
+ylabel('Vc (a.u.)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.Data.Vd(bpmnum,turnnum)','.-')
+ylabel('Vd (a.u.)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
+
+figure
+
+bpmnum = (16:23)  + ishift;
+
+h1=subplot(2,2,1);
+plot(AM.Data.Va(bpmnum,turnnum)','.-')
+ylabel('Va (a.u.)')
+suptitle(sprintf('Cell %d',3+isup))
+
+h2=subplot(2,2,2);
+plot(AM.Data.Vb(bpmnum ,turnnum)','.-')
+grid on
+ylabel('Vb (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.Data.Vc(bpmnum,turnnum)','.-')
+ylabel('Vc (a.u.)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.Data.Vd(bpmnum,turnnum)','.-')
+ylabel('Vd (a.u.)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
+
+figure
+
+bpmnum = (24:30)  + ishift;
+
+h1=subplot(2,2,1);
+plot(AM.Data.Va(bpmnum,turnnum)','.-')
+ylabel('Va (a.u.)')
+suptitle(sprintf('Cell %d',4+isup))
+
+h2=subplot(2,2,2);
+plot(AM.Data.Vb(bpmnum ,turnnum)','.-')
+ylabel('Vb (a.u.)')
+
+h3=subplot(2,2,3);
+plot(AM.Data.Vc(bpmnum,turnnum)','.-')
+ylabel('Vc (a.u.)')
+xlabel('BPM number')
+
+h4=subplot(2,2,4);
+plot(AM.Data.Vd(bpmnum,turnnum)','.-')
+ylabel('Vd (a.u.)')
+xlabel('BPM number')
+
+linkaxes([h1 h2 h3 h4],'x');
+set([h1 h2 h3 h4],'XGrid','On','YGrid','On');
+legendstr = eval(['{', sprintf('''BPM[%2d %d]'',',AM.DeviceList(bpmnum,:)'), '}']);
+legend1 = legend(...
+  legendstr,...
+  'LineWidth',1,...
+  'Position',[0.3202 0.4961 0.4257 0.02956],...
+  'Orientation','horizontal');
Index: /trunk/machine/SOLEIL/StorageRing/bpm/plotmonbpm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/plotmonbpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/plotmonbpm.m	(revision 17)
@@ -0,0 +1,216 @@
+function BPM = plotmonbpm(varargin)
+%PLOTMONBPM - plot BPM noise data archived
+%
+%  INPUTS
+%  1. FileName
+%
+%  See Also monbpm
+
+%
+% Written by Laurent S. Nadolski
+
+SummaryFlag = 1;
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Summary')
+        SummaryFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoSummary')
+        SummaryFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+if length(varargin) <1
+    FileName = '';
+else
+    FileName = varargin{1};
+end
+
+
+if isempty(FileName)
+    DirectoryName = getfamilydata('Directory','BPMData');
+    if isempty(DirectoryName)
+        DirectoryName = [getfamilydata('Directory','DataRoot'), filesep, 'BPM', filesep];
+    else
+        % Make sure default directory exists
+        DirStart = pwd;
+        [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+        cd(DirStart);
+    end
+    [FileName, DirectoryName] = uigetfile('*.mat', 'Select a BPM Monitor File', [DirectoryName FileName]);
+    FileName = fullfile(DirectoryName, FileName);
+elseif FileName == -1
+    FileName = appendtimestamp('BPMData');
+    DirectoryName = getfamilydata('Directory','BPMData');
+    if isempty(DirectoryName)
+        DirectoryName = [getfamilydata('Directory','DataRoot'), filesep, 'BPM', filesep];
+    end
+    FileName = [DirectoryName, FileName];
+end
+
+if exist(FileName, 'file') ~=2
+    error('File does not exist');
+end
+
+A = load(FileName);
+if ~isfield(A, 'BPMxData') || ~isfield(A, 'BPMxData')
+    error('Wrong file, no BPM data')
+end
+
+BPM(1) = A.BPMxData;
+BPM(2) = A.BPMyData;
+
+% Compute the standard deviation
+
+% Low frequency drifting increases the STD.  For many purposes, like LOCO,
+% this is not desireable.  Using difference orbits mitigates the drift problem.
+
+
+
+% plot part
+figure
+subplot(2,2,1);
+
+tout = BPM(1).tout;
+Mx = BPM(1).Data;
+% Orbit compared to first set
+for i = 1:size(Mx,2)
+    Mx(:,i) = Mx(:,i) - BPM(1).Data(:,1);
+end
+
+plot(tout, Mx);
+grid on;
+%title(sprintf('BPM Data (%s)', datestr(BPM(1).TimeStamp)))
+xlabel('Time [Seconds]');
+ylabel('Horizontal Relative Position [mm]');
+
+
+tout = BPM(2).tout;
+% Orbit compared to first set
+My = BPM(2).Data;
+for i = 1:size(My,2)
+    My(:,i) = My(:,i) -  BPM(2).Data(:,1);
+end
+
+subplot(2,2,3);
+plot(tout, My);
+grid on;
+xlabel('Time [Seconds]');
+ylabel(sprintf('Vertical Position [%s]', BPM(2).UnitsString));
+
+subplot(2,2,2);
+List = BPM(1).DeviceList;
+Nsectors = max(List(:,1));
+Ndevices = max(List(:,2));
+Sector = List(:,1) + List(:,2)/Ndevices + 1/Ndevices/2;
+[Sector Idx] = sort(Sector);
+plot(Sector, BPM(1).Sigma(Idx));
+grid on;
+xaxis([1 Nsectors+1])
+set(gca,'XTick',1:Nsectors);
+xlabel('Sector Number');
+ylabel(sprintf('Horizontal STD [%s]', BPM(1).UnitsString));
+
+subplot(2,2,4);
+List = BPM(2).DeviceList;
+Nsectors = max(List(:,1));
+Ndevices = max(List(:,2));
+Sector = List(:,1) + List(:,2)/Ndevices + 1/Ndevices/2;
+[Sector Idx] = sort(Sector);
+plot(Sector, BPM(2).Sigma(Idx));
+grid on;
+xaxis([1 Nsectors+1])
+set(gca,'XTick',1:Nsectors);
+xlabel('Sector Number');
+ylabel(sprintf('Vertical STD [%s]', BPM(2).UnitsString));
+
+addlabel(.5,1,sprintf('BPM Data (%s)', datestr(BPM(1).TimeStamp)), 10);
+orient landscape
+
+%plot fit of the dispersion in the H-plane
+figure
+spos = getspos('BPMx',BPM(1).DeviceList);
+etax = modeldisp('BPMx',BPM(1).DeviceList);
+% y = disp*delta + y0
+x = lsqr([etax ones(size(BPM(1).Sigma))], BPM(1).Sigma*1e-3); % m
+plot(spos, BPM(1).Sigma); hold on
+plot(spos,(etax*x(1)+x(2))*1e3,'r'); hold on
+legend('Data', 'fit')
+title(sprintf('Noise in H-plane: Delta = %.2f %% (x0=%.2e mm)', x(1)*100, x(2)*1e3));
+xlabel('s-position (m)')
+ylabel('RMS x (mm)')
+
+if SummaryFlag
+    % Low frequency drifting increases the STD.  For many purposes, like LOCO,
+    % this is not desireable.  Using difference orbits mitigates the drift problem.
+    Mx = BPM(1).Data;
+    for i = 1:size(Mx,2)-1
+        Mx(:,i) = Mx(:,i+1) - Mx(:,i);
+    end
+    Mx(:,end) = [];
+
+    My = BPM(2).Data;
+    for i = 1:size(My,2)-1
+        My(:,i) = My(:,i+1) - My(:,i);
+    end
+    My(:,end) = [];
+
+    BPM(1).Sigma = std(Mx,0,2) / sqrt(2);   % sqrt(2) comes from substracting 2 random variables
+    BPM(2).Sigma = std(My,0,2) / sqrt(2);
+
+
+    [SortedData1 DataIdx1] = sort(BPM(1).Sigma,'descend');
+    SortedDeviceList1 = BPM(1).DeviceList(DataIdx1,:);
+    [SortedData2 DataIdx2] = sort(BPM(2).Sigma,'descend');
+    SortedDeviceList2 = BPM(2).DeviceList(DataIdx2,:);
+
+    % sort by drift
+    maxBPM1 =  max(abs(Mx),[],2);
+    [SortedData3 DataIdx3] = sort(maxBPM1,'descend');
+    SortedDeviceList3 = BPM(1).DeviceList(DataIdx3,:);
+    maxBPM2 =  max(abs(My),[],2);
+    [SortedData4 DataIdx4] = sort(maxBPM2,'descend');
+    SortedDeviceList4 = BPM(2).DeviceList(DataIdx4,:);
+
+    fprintf('\n\n BPMxname DevList     Max drift           BPMzname DevList       Max drift\n');
+    for k=1:size(BPM(1).DeviceList,1),
+        fprintf('%s    [%2d %2d]      %6.2e [%s]        %s    [%2d %2d]      %6.2e [%s] \n', ...
+            'BPMx', SortedDeviceList3(k,1), SortedDeviceList3(k,2), SortedData3(k), BPM(1).UnitsString, ...
+            'BPMz', SortedDeviceList4(k,1), SortedDeviceList4(k,2), SortedData4(k), BPM(2).UnitsString);
+    end
+
+    fprintf('\n\n BPMxname DevList     STD value           BPMzname DevList       STD value\n');
+
+    for k=1:size(BPM(1).DeviceList,1),
+        fprintf('%s    [%2d %2d]      %6.2e [%s]        %s    [%2d %2d]      %6.2e [%s] \n', ...
+            'BPMx', SortedDeviceList1(k,1), SortedDeviceList1(k,2), SortedData1(k), BPM(1).UnitsString, ...
+            'BPMz', SortedDeviceList2(k,1), SortedDeviceList2(k,2), SortedData2(k), BPM(2).UnitsString);
+    end
+    [SortedData1 DataIdx1] = sort(BPM(1).Sigma,'descend');
+    SortedDeviceList1 = BPM(1).DeviceList(DataIdx1,:);
+    [SortedData2 DataIdx2] = sort(BPM(2).Sigma,'descend');
+    SortedDeviceList2 = BPM(2).DeviceList(DataIdx2,:);
+
+    % sort by drift
+    maxBPM1 =  max(abs(Mx),[],2);
+    [SortedData3 DataIdx3] = sort(maxBPM1,'descend');
+    SortedDeviceList3 = BPM(1).DeviceList(DataIdx3,:);
+    maxBPM2 =  max(abs(My),[],2);
+    [SortedData4 DataIdx4] = sort(maxBPM2,'descend');
+    SortedDeviceList4 = BPM(2).DeviceList(DataIdx4,:);
+
+    fprintf('\n\n BPMxname DevList     Max drift           BPMzname DevList       Max drift\n');
+    for k=1:size(BPM(1).DeviceList,1),
+        fprintf('%s    [%2d %2d]      %6.2e [%s]        %s    [%2d %2d]      %6.2e [%s] \n', ...
+            'BPMx', SortedDeviceList3(k,1), SortedDeviceList3(k,2), SortedData3(k), BPM(1).UnitsString, ...
+            'BPMz', SortedDeviceList4(k,1), SortedDeviceList4(k,2), SortedData4(k), BPM(2).UnitsString);
+    end
+
+    fprintf('\n\n BPMxname DevList     STD value           BPMzname DevList       STD value\n');
+    for k=1:size(BPM(1).DeviceList,1),
+        fprintf('%s    [%2d %2d]      %6.2e [%s]        %s    [%2d %2d]      %6.2e [%s] \n', ...
+            'BPMx', SortedDeviceList1(k,1), SortedDeviceList1(k,2), SortedData1(k), BPM(1).UnitsString, ...
+            'BPMz', SortedDeviceList2(k,1), SortedDeviceList2(k,2), SortedData2(k), BPM(2).UnitsString);
+    end
+
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/plotoffsetorbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/plotoffsetorbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/plotoffsetorbit.m	(revision 17)
@@ -0,0 +1,82 @@
+function plotoffsetorbit(varargin)
+%PLOTOFFSETORBIT - Plots the offset orbit 
+%  plotoffsetorbit(XAxisFlag)
+%
+%  INPUTS
+%  1. XAxisFlag - 'Position' in meters {Default} or 'Phase'
+%
+%  See also plotgoldenorbit
+%
+% See also plotgoldenorbit, setoffset, getoffset, saveoffsetorbit
+
+%
+% Written by Gregory J. Portmann
+% Modifed by Laurent S. Nadolski
+
+XAxisFlag = 'Position';
+
+% Input parsing
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignor structures
+    elseif iscell(varargin{i})
+        % Ignor cells
+    elseif strcmpi(varargin{i},'struct')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'numeric')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Position')
+        XAxisFlag = 'Position';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Phase')
+        XAxisFlag = 'Phase';
+        varargin(i) = [];
+    end
+end
+
+BPMxFamily = gethbpmfamily;
+BPMyFamily = getvbpmfamily;
+
+if strcmpi(XAxisFlag, 'Phase')
+    [BPMxspos, BPMyspos, Sx, Sy, Tune] = modeltwiss('Phase', BPMxFamily, [], BPMyFamily, []);
+    BPMxspos = BPMxspos/2/pi;
+    BPMyspos = BPMyspos/2/pi;
+    XLabel = 'BPM Phase';
+else
+    BPMxspos = getspos(BPMxFamily,family2dev(BPMxFamily));
+    BPMyspos = getspos(BPMyFamily,family2dev(BPMyFamily));
+    XLabel = 'BPM Position [meters]';
+end
+
+
+% Get data
+Xoffset = getoffset(BPMxFamily);
+Yoffset = getoffset(BPMyFamily);
+
+
+% Change to physics units
+if any(strcmpi('Physics',varargin))
+    Xoffset = hw2physics(BPMxFamily, 'Monitor', Xoffset, family2dev(BPMxFamily));
+    Yoffset = hw2physics(BPMyFamily, 'Monitor', Yoffset, family2dev(BPMyFamily));
+end
+
+UnitsString = getfamilydata('BPMx','Monitor','HWUnits');
+
+figure
+clf reset
+subplot(2,1,1);
+plot(BPMxspos, Xoffset, '.-');
+ylabel(sprintf('Horizontal [%s]',UnitsString));
+title('Offset Orbit');
+grid on
+
+subplot(2,1,2);
+plot(BPMyspos, Yoffset, '.-');
+xlabel(XLabel);
+ylabel(sprintf('Vertical [%s]',UnitsString));
+grid on
+
+orient tall
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/reset_bpm_timephase.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/reset_bpm_timephase.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/reset_bpm_timephase.m	(revision 17)
@@ -0,0 +1,20 @@
+function reset_bpm_timephase
+% reset_bpm_time_phase - Reset bpm time phse to 0
+%
+% See Also set_bpm_timephase, plot_bpm_timephase
+
+% Modified by Laurent S. Nadolski, December 2010
+
+% Ecriture
+GroupId = getfamilydata('BPMx', 'GroupId');
+
+tango_group_write_attribute2(GroupId, 'TimePhase', int32(0));
+pause(1);
+tango_group_command_inout2(GroupId, 'SetTimeOnNextTrigger');
+pause(0.5);
+
+disp('Time phase set to 0')
+
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/bpm/set4correctorbump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/set4correctorbump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/set4correctorbump.m	(revision 17)
@@ -0,0 +1,175 @@
+function set4correctorbump(varargin)
+%function set4correctorbump(IDnum,plane) - Set an orbit bump using 4 correctors in H or V
+%  on the top of the present orbit
+%
+%  INPUTS
+%  1. IDnum straight section number  1 is injection straigth
+%  2. plane  1 for horizontal {default}
+%            2 for vertical
+%  3. pos bump size in mm Default : 0.5 mm
+%  4. percent percent to apply 100% {default}
+%  5. Bump type - 'Position' {default} or 'Angle'
+%
+%  NOTES
+%  1. use orbit golden response matrix
+%  2. Straight list
+%     1 injection straight section
+%  3. In model, should use fixed momentum Orbit response matrix
+
+%  Maximum aplitude possible in straigth sections
+%  Long = circa 3 mm (H) -
+%  Medium = circa 2 mm (H) - 1.2 mm (V)
+%  Short = circa 4 mm (H) -
+%
+%  See Also setbump4, setangle4
+
+% 11 january 2006
+%% Written by Laurent S. Nadolski
+
+PositionFlag = 1;
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Position')
+        PositionFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Angle')
+        PositionFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+if isempty(varargin)
+    error('At least bump ID has to be specified')
+else
+    IDnum = varargin{1};
+    if IDnum < 0 || IDnum > 24
+        error('Bump does not exist')
+    end
+end
+
+if length(varargin) < 2
+    plane = 1; % Default plane
+else
+    plane = varargin{2};
+end
+
+if length(varargin) < 3
+    pos = 0.5; % mm Default bump
+else
+    pos = varargin{3};
+end
+
+if length(varargin) < 4 % percentage of correction to apply
+    percent = 1;
+else
+    percent = varargin{4};
+    if percent > 1 || percent <0
+        error('percentage has to be between 0 (0%)  or 1 (100%)')
+    end
+end
+
+if PositionFlag == 1  % Position bump
+    Z = [0 pos pos 0]';
+else % Angle Bump
+    Z = [0 pos -pos 0]';
+end
+
+switch plane
+    case 1 % Horizontal
+        ActuatorFamily = gethcmfamily;
+        BPMFamily = gethbpmfamily;
+        %% Insertion
+        % ID straigth  Correctors   BPM
+        tab = {
+            01    [16  4]   [16  7]   [ 1  1]   [ 1  4]   [16  5]   [ 1  1]   [ 1  2]   [ 1  5]
+            02    [ 1  4]   [ 1  7]   [ 2  1]   [ 2  4]   [ 1  4]   [ 2  1]   [ 2  2]   [ 2  5]
+            03    [ 2  1]   [ 2  4]   [ 2  5]   [ 2  8]   [ 2  2]   [ 2  5]   [ 2  6]   [ 3  1]
+            04    [ 2  5]   [ 2  8]   [ 3  1]   [ 3  4]   [ 2  7]   [ 3  1]   [ 3  2]   [ 3  5]
+            05    [ 3  1]   [ 3  4]   [ 3  5]   [ 3  8]   [ 3  2]   [ 3  5]   [ 3  6]   [ 4  1]
+            06    [ 3  5]   [ 3  8]   [ 4  1]   [ 4  4]   [ 3  6]   [ 4  1]   [ 4  2]   [ 4  6]
+            07    [ 4  4]   [ 4  7]   [ 5  1]   [ 5  4]   [ 4  5]   [ 5  1]   [ 5  2]   [ 5  5]
+            08    [ 5  4]   [ 5  7]   [ 6  1]   [ 6  4]   [ 5  4]   [ 6  1]   [ 6  2]   [ 6  5]
+            09    [ 6  1]   [ 6  4]   [ 6  5]   [ 6  8]   [ 6  2]   [ 6  5]   [ 6  6]   [ 7  1]
+            10    [ 6  5]   [ 6  8]   [ 7  1]   [ 7  4]   [ 6  7]   [ 7  1]   [ 7  2]   [ 7  5]
+            11    [ 7  1]   [ 7  4]   [ 7  5]   [ 7  8]   [ 7  2]   [ 7  5]   [ 7  6]   [ 8  1]
+            12    [ 7  5]   [ 7  8]   [ 8  1]   [ 8  4]   [ 7  6]   [ 8  1]   [ 8  2]   [ 8  6]
+            13    [ 8  4]   [ 8  7]   [ 9  1]   [ 9  4]   [ 8  5]   [ 9  1]   [ 9  2]   [ 9  5]
+            14    [ 9  4]   [ 9  7]   [10  1]   [10  4]   [ 9  4]   [10  1]   [10  2]   [10  5]
+            15    [10  1]   [10  4]   [10  5]   [10  8]   [10  2]   [10  5]   [10  6]   [11  1]
+            16    [10  5]   [10  8]   [11  1]   [11  4]   [10  6]   [11  1]   [11  2]   [11  5]
+            17    [11  1]   [11  4]   [11  5]   [11  8]   [11  2]   [11  5]   [11  6]   [12  1]
+            18    [11  5]   [11  8]   [12  1]   [12  4]   [11  6]   [12  1]   [12  2]   [12  6]
+            19    [12  4]   [12  7]   [13  1]   [13  4]   [12  5]   [13  1]   [13  2]   [13  5]
+            20    [13  4]   [13  7]   [14  1]   [14  4]   [13  4]   [14  1]   [14  2]   [14  5]
+            21    [14  1]   [14  4]   [14  5]   [14  8]   [14  2]   [14  5]   [14  6]   [15  1]
+            22    [14  5]   [14  8]   [15  1]   [15  4]   [14  6]   [15  1]   [15  2]   [15  5]
+            23    [15  1]   [15  4]   [15  5]   [15  8]   [15  2]   [15  5]   [15  6]   [16  1]
+            24    [15  5]   [15  8]   [16  1]   [16  4]   [15  6]   [16  1]   [16  2]   [16  6]
+            };
+
+    case 2 % Vertical
+        ActuatorFamily = getvcmfamily;
+        BPMFamily = getvbpmfamily;
+        %% Insertion
+        % ID straigth  Correctors   BPM
+        tab = { ...
+            01    [16  4]   [16  6]   [ 1  2]   [ 1  4]   [16  5]   [ 1  1]   [ 1  2]   [ 1  5]
+            02    [ 1  4]   [ 1  6]   [ 2  2]   [ 2  3]   [ 1  4]   [ 2  1]   [ 2  2]   [ 2  5]
+            03    [ 2  2]   [ 2  3]   [ 2  6]   [ 2  7]   [ 2  2]   [ 2  5]   [ 2  6]   [ 3  1]
+            04    [ 2  6]   [ 2  7]   [ 3  2]   [ 3  3]   [ 2  7]   [ 3  1]   [ 3  2]   [ 3  5]
+            05    [ 3  2]   [ 3  3]   [ 3  6]   [ 3  7]   [ 3  2]   [ 3  5]   [ 3  6]   [ 4  1]
+            06    [ 3  6]   [ 3  7]   [ 4  2]   [ 4  4]   [ 3  6]   [ 4  1]   [ 4  2]   [ 4  6]
+            07    [ 4  4]   [ 4  6]   [ 5  2]   [ 5  4]   [ 4  5]   [ 5  1]   [ 5  2]   [ 5  5]
+            08    [ 5  4]   [ 5  6]   [ 6  2]   [ 6  3]   [ 5  4]   [ 6  1]   [ 6  2]   [ 6  5]
+            09    [ 6  2]   [ 6  3]   [ 6  6]   [ 6  7]   [ 6  2]   [ 6  5]   [ 6  6]   [ 7  1]
+            10    [ 6  6]   [ 6  7]   [ 7  2]   [ 7  3]   [ 6  7]   [ 7  1]   [ 7  2]   [ 7  5]
+            11    [ 7  2]   [ 7  3]   [ 7  6]   [ 7  7]   [ 7  2]   [ 7  5]   [ 7  6]   [ 8  1]
+            12    [ 7  6]   [ 7  7]   [ 8  2]   [ 8  4]   [ 7  6]   [ 8  1]   [ 8  2]   [ 8  6]
+            13    [ 8  4]   [ 8  6]   [ 9  2]   [ 9  4]   [ 8  5]   [ 9  1]   [ 9  2]   [ 9  5]
+            14    [ 9  4]   [ 9  6]   [10  2]   [10  3]   [ 9  4]   [10  1]   [10  2]   [10  5]
+            15    [10  2]   [10  3]   [10  6]   [10  7]   [10  2]   [10  5]   [10  6]   [11  1]
+            16    [10  6]   [10  7]   [11  2]   [11  3]   [10  6]   [11  1]   [11  2]   [11  5]
+            17    [11  2]   [11  3]   [11  6]   [11  7]   [11  2]   [11  5]   [11  6]   [12  1]
+            18    [11  6]   [11  7]   [12  2]   [12  4]   [11  6]   [12  1]   [12  2]   [12  6]
+            19    [12  4]   [12  6]   [13  2]   [13  4]   [12  5]   [13  1]   [13  2]   [13  5]
+            20    [13  4]   [13  6]   [14  2]   [14  3]   [13  4]   [14  1]   [14  2]   [14  5]
+            21    [14  2]   [14  3]   [14  6]   [14  7]   [14  2]   [14  5]   [14  6]   [15  1]
+            22    [14  6]   [14  7]   [15  2]   [15  3]   [14  6]   [15  1]   [15  2]   [15  5]
+            23    [15  2]   [15  3]   [15  6]   [15  7]   [15  2]   [15  5]   [15  6]   [16  1]
+            24    [15  6]   [15  7]   [16  2]   [16  4]   [15  6]   [16  1]   [16  2]   [16  6]
+            };
+
+    otherwise
+        error('Unknown plane see help');
+end
+
+%%
+
+ActuatorDeviceList = cell2mat(tab(IDnum,2:5)');
+BPMDeviceList = cell2mat(tab(IDnum,6:9)');
+
+% get Response matrix
+R = getrespmat(BPMFamily,BPMDeviceList, ActuatorFamily, ActuatorDeviceList);
+
+% Delta Setpoints to apply
+DeltaSP = R\Z;
+
+%% Check whether strength too large
+% Get current Setpoints
+SP = getam(ActuatorFamily,ActuatorDeviceList);
+NewSP = SP + percent*DeltaSP;
+MaxVal = getmaxsp(ActuatorFamily,ActuatorDeviceList);
+index = [];
+index = find(MaxVal < abs(NewSP));
+if ~isempty(index)
+    fprintf('name      actual   required     max\n')
+    name = dev2common(ActuatorFamily,ActuatorDeviceList);
+    for k = 1:4,
+        fprintf('%s %f %f %f \n', name(k,:), SP(k), NewSP(k), MaxVal(k));
+    end
+    warning('max current too large: command not applied');
+    return;
+end
+% end
+
+%% Relative bump
+stepsp(ActuatorFamily, DeltaSP*percent, ActuatorDeviceList);
Index: /trunk/machine/SOLEIL/StorageRing/bpm/setBPMAttenuator.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/setBPMAttenuator.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/setBPMAttenuator.m	(revision 17)
@@ -0,0 +1,6 @@
+function setBPMAttenuator(att1,att2,groupID)
+%groupID = tango_group_create('BPM'); 
+%tango_group_add(groupID,family2tangodev('BPMx')');
+
+tango_group_write_attribute(groupID,'Attenuator1',0,int16(att1));
+tango_group_write_attribute(groupID,'Attenuator2',0,int16(att2));
Index: /trunk/machine/SOLEIL/StorageRing/bpm/set_bpm_timephase.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/set_bpm_timephase.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/set_bpm_timephase.m	(revision 17)
@@ -0,0 +1,51 @@
+function  set_bpm_timephase(timeshift)
+% set_bpm_time_phase -  Set bpm time phases from list bpm time phase
+% All BPMs should then trig on the same turn
+%
+% See Also reset_bpm_timephase
+
+%
+% Modified by Laurent S. Nadolski, 6 December 2010
+
+if nargin < 1
+    timeshift = 0;
+end
+
+%% Open filename
+%file = 'liste_bpm_timephase.txt';
+file = 'liste_bpm_timephase122BPM.txt';
+file = [getfamilydata('Directory','DataRoot'), 'KickerEM/',file];
+
+fid  = fopen(file,'r');
+entete=fscanf(fid, '%s',[5]); 
+name=[];
+
+nBPM = 122; % Total Number of BPM
+
+% Intialization
+timephase = zeros(1,nBPM);
+
+for i=1:nBPM
+    text = fscanf(fid, '%s', [3]) ;
+    name = [name ; {text(1:16)}];
+    timephase(i) = str2double(text(18:19));
+end
+fclose(fid);
+timephase = int32(timephase);
+
+%save list_bpm.mat name % To save data
+
+% If need to shift data
+% 128 means 1 ring turn
+% time phase is defined modulo 128
+ timephase = mod(timephase+int32(20),128);
+
+% Write data
+h = waitbar(0,'Time Phase loading, please wait');
+
+for i=1:nBPM,
+    waitbar(i/nBPM,h)
+    tango_write_attribute2(name{i},'TimePhase',timephase(i)); pause(0.01)
+    tango_command_inout2(name{i},'SetTimeOnNextTrigger'); pause(0.01)
+end
+close(h)
Index: /trunk/machine/SOLEIL/StorageRing/bpm/setangle4.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/setangle4.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/setangle4.m	(revision 17)
@@ -0,0 +1,30 @@
+function setangle4(varargin)
+%SETANGLE4 - Set an orbit angle using 4 correctors in H or V
+%  in the middle of the straigth on the top of the present orbit
+%
+%  INPUTS
+%  1. IDnum straight section number  1 is injection straigth
+%  2. plane  1 for horizontal {default}
+%           2 for vertical
+%  3. angle  size in mrad Default : 0.5 mrad
+%  4. percent percent to apply 100% {default}
+%                 
+%  OUPUTS
+%
+%  NOTES
+%  1. use orbit golden response matrix
+%  2. Straight list
+%     1 injection straight section
+%
+%  See Also setbump4, set4correctorbump
+
+% Maximum aplitude possible in straigth sections
+% Long = circa 0.5 mrad H - 0.28 mrad V
+% Medium = circa 0.6 mrad H - 0.3 mrad V
+% Short = circa 1.1 mrad H  - 0.4 mrad V 
+% 
+
+% 10 septembre 2004
+% Written Laurent S. Nadolski
+
+set4correctorbump(varargin{:},'Angle');
Index: /trunk/machine/SOLEIL/StorageRing/bpm/setbump4.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/setbump4.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/setbump4.m	(revision 17)
@@ -0,0 +1,29 @@
+function setbump4(varargin)
+%SETBUMP4 - Set an orbit bump using 4 correctors in H or V
+%  on the top of the present orbit
+%
+%  INPUTS
+%  1. IDnum straight section number  1 is injection straigth
+%  2. plane  1 for horizontal {default}
+%            2 for vertical
+%  3. pos bump size in mm Default : 0.5 mm
+%  4. percent percent to apply 100% {default}
+%                 
+%  NOTES
+%  1. use orbit golden response matrix
+%  2. Straight list
+%     1 injection straight section
+%  3. In model, should use fixed momentum Orbit response matrix
+%
+%  See Also setangle4, set4correctorbump
+
+%  Maximum aplitude possible in straigth sections
+%  Long = circa 3 mm (H) -
+%  Medium = circa 2 mm (H) - 1.2 mm (V)
+%  Short = circa 4 mm (H) -
+% 
+
+% 7 septembre 2004
+% Written by Laurent S. Nadolski
+
+set4correctorbump(varargin{:},'Position');
Index: /trunk/machine/SOLEIL/StorageRing/bpm/setorbitH.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/setorbitH.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/setorbitH.m	(revision 17)
@@ -0,0 +1,229 @@
+function OCS = setorbitH(varargin)
+%SETORBITH - Correct the horizontal orbit
+%
+%  INPUTS
+%  1. GoalOrbit - Goal orbit (vector or cell array (if BPM is a cell array))
+%                'Golden' for the golden orbit {Default}
+%                'Offset' for the offset orbit
+%  2. BPM - BPMDevList
+%  3. CM - CMDevList
+%  4. SVDIndex - vector, maximum number, 'All', or
+%                base on a threshold of min/max singular value {Default: 1e-3}
+%  5. NIter - Number of iterations  {Default: 1}
+%            (NIter can be 0, see note 1 below)
+%  6. BPMWeight - Weight applied to the BPMs (OCS.BPMWeight)
+%  7. FLAGS  - 'Abs' or 'Absolute' - GoalOrbit is an absolute orbit {Default}
+%              'Inc' or 'Incremental' - GoalOrbit is a incremental change
+%              'ModelResp' - calculate the model response matrix {Default: measured response matrix}
+%              'SetSP' - Make the setpoint change {Default}
+%              'NoSetSP' - Don't set the magnets, just return the OCS
+%              'Display' - plot orbit information before applying the correction
+%              'FitRF' - Fit and change the RF frequency (use rmdisp before
+%                        calling this function to remove the dispersion orbit)
+%              'MeasDisp' - measure the dispersion  {Default}
+%              'ModelDisp' - calculate the model dispersion
+%              'GoldenDisp' - use the golden dispersion
+%              'TypeFlag' - 'SOFB' {Default} or 'FOFB'
+%              And the usual Units and Mode flags
+%
+%  OUTPUTS
+%  1. OCS    - New orbit correction structure (OCS)
+%
+%  See Also setorbit, setorbitV
+
+%
+%% Written by Laurent S. Nadolski
+
+TypeFlag = 'SOFB';
+GoldenFlag = 0;
+% Default BPM Family
+BPMFamily = 'BPMx';
+BPMlist = [];
+
+% Default corrector
+CMlist = [];
+
+OCSFlags    = [];
+InputFlags  = [];
+
+% Defaults values
+OCS.NIter           = 1; % Number of iteration
+OCS.SVDIndex        = 57; % number of eigenvector for correction
+OCS.IncrementalFlag = 'No';
+OCS.FitRF       = 0; % take RF as a corrector
+
+% Input parsing
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'Golden')
+        % Use the golden orbit
+        GoldenFlag    = 1;
+        OCS.GoalOrbit = 'Golden';
+        OCSFlags      = [OCSFlags varargin(i)];
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'Offset')
+        % Use the offset orbit
+        OCS.GoalOrbit = 'Offset';
+        OCSFlags      = [OCSFlags varargin(i)];
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'Display')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay') || ...
+            strcmpi(varargin{i},'No Display')
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'ModelResp')
+        OCSFlags      = [OCSFlags varargin(i)];
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'FitRF')
+        OCSFlags    = [OCSFlags varargin(i)];
+        OCS.SVDIndex =  OCS.SVDIndex + 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'ModelDisp')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'MeasDisp')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'GoldenDisp')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Inc') || strcmpi(varargin{i},'Incremental')
+        OCSFlags        = [OCSFlags varargin(i)];
+        varargin(i)     = [];
+    elseif strcmpi(varargin{i},'Abs') || strcmpi(varargin{i},'Absolute')
+        OCSFlags        = [OCSFlags varargin(i)];
+    elseif strcmpi(varargin{i},'SetSP')
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoSetSP')
+        InputFlags  = [InputFlags varargin{i}];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator') || strcmpi(varargin{i},'Model')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Online')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Manual')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Physics')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Hardware')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'noarchive')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'struct')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'numeric')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'FOFB')
+        TypeFlag = 'FOFB';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'SOFB')
+        TypeFlag = 'SOFB';
+        varargin(i) = [];
+    end
+end
+
+% switchard for typical orbit correction at SOLEIL
+switch TypeFlag
+    case 'FOFB'
+        % number of eigenvector for correction
+        OCS.SVDIndex        = 40; 
+        % Default corrector Family
+        CMFamily  = 'FHCOR';
+    case 'SOFB'
+        % number of eigenvector for correction
+        OCS.SVDIndex        = 57; 
+        % Default corrector Family
+        CMFamily  = 'HCOR';
+    otherwise
+        error('TypeFlag invalid')
+end
+
+% Get Goal orbit
+if length(varargin) >= 1 && ~GoldenFlag
+    OCS.GoalOrbit = varargin{1};
+    varargin(1) = [];
+end
+
+% Get BPM knobs
+if length(varargin) >= 1
+    BPMlist = varargin{1};
+    varargin(1) = [];
+end
+
+% Get CM knobs
+if length(varargin) >= 1
+    CMlist = varargin{1};
+    varargin(1) = [];
+end
+
+% Get SVDIndex
+if length(varargin) >= 1
+    OCS.SVDIndex = varargin{1};
+    varargin(1) = [];
+end
+
+% Get NIter
+if length(varargin) >= 1
+    OCS.NIter = varargin{1};
+    varargin(1) = [];
+end
+
+% Get BPMWeight
+if length(varargin) >= 1
+    OCS.BPMWeight = varargin{1};
+    varargin(1) = [];
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Build up Orbit correction Structures   %
+%  for setorbit programme : OCSx and OCSy%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%  ORBIT CORRECTION STRUCTURE (OCS)
+%    OCS.BPM (data structure)
+%    OCS.CM  (data structure)
+%    OCS.GoalOrbit
+%    OCS.NIter
+%    OCS.SVDIndex
+%    OCS.IncrementalFlag = 'Yes'/'No'
+%    OCS.BPMWeight
+%    OCS.Flags = { 'FitRF' , etc.  }
+
+% Horizontal plane
+OCS.BPM = getx(BPMlist, 'struct');
+
+if ~isfield(OCS, 'GoalOrbit')|| any(isnan(OCS.GoalOrbit))
+    Xgoal = getgolden(BPMFamily, BPMlist);
+    OCS.GoalOrbit = Xgoal;
+end
+
+OCS.CM = getsp(CMFamily, CMlist, 'struct');
+OCS.Flags = OCSFlags;
+
+if isempty(InputFlags)
+    OCS = setorbit(OCS);
+else
+    OCS = setorbit(OCS,InputFlags);
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/setorbitV.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/setorbitV.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/setorbitV.m	(revision 17)
@@ -0,0 +1,221 @@
+function OCS = setorbitV(varargin)
+%SETORBITV - Correct the horizontal orbit
+%
+%  INPUTS
+%  1. GoalOrbit - Goal orbit (vector or cell array (if BPM is a cell array))
+%                'Golden' for the golden orbit {Default}
+%                'Offset' for the offset orbit
+%  2. BPM - BPMDevList
+%  3. CM - CMDevList
+%  4. SVDIndex - vector, maximum number, 'All', or
+%                base on a threshold of min/max singular value {Default: 1e-3}
+%  5. NIter - Number of iterations  {Default: 1}
+%            (NIter can be 0, see note 1 below)
+%  6. BPMWeight - Weight applied to the BPMs (OCS.BPMWeight)
+%  7. FLAGS  - 'Abs' or 'Absolute' - GoalOrbit is an absolute orbit {Default}
+%              'Inc' or 'Incremental' - GoalOrbit is a incremental change
+%              'ModelResp' - calculate the model response matrix {Default: measured response matrix}
+%              'SetSP' - Make the setpoint change {Default}
+%              'NoSetSP' - Don't set the magnets, just return the OCS
+%              'Display' - plot orbit information before applying the correction
+%              'FitRF' - Fit and change the RF frequency (use rmdisp before
+%                        calling this function to remove the dispersion orbit)
+%              'MeasDisp' - measure the dispersion  {Default}
+%              'ModelDisp' - calculate the model dispersion
+%              'GoldenDisp' - use the golden dispersion
+%              And the usual Units and Mode flags
+%
+%  OUTPUTS
+%  1. OCS    - New orbit correction structure (OCS)
+%
+%  See Also setorbit, setorbitV
+
+%
+%% Written by Laurent S. Nadolski
+
+TypeFlag = 'SOFB';
+GoldenFlag = 0;
+% Default BPM Family
+BPMFamily = getvbpmfamily;
+BPMlist = [];
+
+% Default corrector Family
+CMlist = [];
+
+OCSFlags    = [];
+InputFlags  = [];
+
+% Defaults values
+OCS.NIter           = 1; % Number of iteration
+OCS.SVDIndex        = 56; % number of eigenvector for correction
+OCS.IncrementalFlag = 'No';
+OCS.FitRF       = 0; % take RF as a corrector
+
+% Input parsing
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'Golden')
+        % Use the golden orbit
+        OCS.GoalOrbit = 'Golden';
+        OCSFlags      = [OCSFlags varargin(i)];
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'Offset')
+        % Use the offset orbit
+        OCS.GoalOrbit = 'Offset';
+        OCSFlags      = [OCSFlags varargin(i)];
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'Display')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay') || ...
+            strcmpi(varargin{i},'No Display')
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'ModelResp')
+        OCSFlags      = [OCSFlags varargin(i)];
+        varargin(i)   = [];
+    elseif strcmpi(varargin{i},'FitRF')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'ModelDisp')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'MeasDisp')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'GoldenDisp')
+        OCSFlags    = [OCSFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Inc') || strcmpi(varargin{i},'Incremental')
+        OCSFlags        = [OCSFlags varargin(i)];
+        varargin(i)     = [];
+    elseif strcmpi(varargin{i},'Abs') || strcmpi(varargin{i},'Absolute')
+        OCSFlags        = [OCSFlags varargin(i)];
+    elseif strcmpi(varargin{i},'SetSP')
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoSetSP')
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator') || strcmpi(varargin{i},'Model')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Online')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Manual')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Physics')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Hardware')
+        OCSFlags    = [OCSFlags varargin(i)];
+        InputFlags  = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'noarchive')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'struct')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'numeric')
+        % Just remove
+        varargin(i) = [];
+            elseif strcmpi(varargin{i},'FOFB')
+        TypeFlag = 'FOFB';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'SOFB')
+        TypeFlag = 'SOFB';
+        varargin(i) = [];
+    end
+end
+
+% switchard for typical orbit correction at SOLEIL
+switch TypeFlag
+    case 'FOFB'
+        % number of eigenvector for correction
+        OCS.SVDIndex        = 40; 
+        % Default corrector Family
+        CMFamily  = 'FVCOR';
+    case 'SOFB'
+        % number of eigenvector for correction
+        OCS.SVDIndex        = 56; 
+        % Default corrector Family
+        CMFamily  = 'VCOR';
+    otherwise
+        error('TypeFlag invalid')
+end
+% Get Goal orbit
+if length(varargin) >= 1
+    OCS.GoalOrbit = varargin{1};
+    varargin(1) = [];
+end
+
+% Get BPM knobs
+if length(varargin) >= 1
+    BPMlist = varargin{1};
+    varargin(1) = [];
+end
+
+% Get CM knobs
+if length(varargin) >= 1
+    CMlist = varargin{1};
+    varargin(1) = [];
+end
+
+% Get SVDIndex
+if length(varargin) >= 1
+    OCS.SVDIndex = varargin{1};
+    varargin(1) = [];
+end
+
+% Get NIter
+if length(varargin) >= 1
+    OCS.NIter = varargin{1};
+    varargin(1) = [];
+end
+
+% Get BPMWeight
+if length(varargin) >= 1
+    OCS.BPMWeight = varargin{1};
+    varargin(1) = [];
+end
+
+Zgoal = getgolden(BPMFamily, BPMlist);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Build up Orbit correction Structures   %
+%  for setorbit programme : OCSx and OCSy%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%  ORBIT CORRECTION STRUCTURE (OCS)
+%    OCS.BPM (data structure)
+%    OCS.CM  (data structure)
+%    OCS.GoalOrbit
+%    OCS.NIter
+%    OCS.SVDIndex
+%    OCS.IncrementalFlag = 'Yes'/'No'
+%    OCS.BPMWeight
+%    OCS.Flags = { 'FitRF' , etc.  }
+
+% Horizontal plane
+OCS.BPM             = getz(BPMlist, 'struct');
+OCS.GoalOrbit       = Zgoal;
+OCS.CM              = getsp(CMFamily, CMlist, 'struct');
+OCS.Flags = OCSFlags;
+
+if isempty(InputFlags)
+    OCS = setorbit(OCS);
+else
+    OCS = setorbit(OCS,InputFlags{:});
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/soleilbpmcheck.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/soleilbpmcheck.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/soleilbpmcheck.m	(revision 17)
@@ -0,0 +1,22 @@
+function [varargout] = soleilbpmcheck
+%SOLEILBPMCHECK - Checks for bad bpm entries
+%create BPM.status vector with valid indices contained in total bpm vector itbpm
+
+%
+% Modified by Laurent Nadolski
+
+mode = getfamilydata('BPMx','Monitor','Mode');
+
+if strcmpi(mode,'ONLINE') %...system is ONLINE - look for bad BPM readings
+    xstat = find(getfamilydata('BPMx','Status'));
+    ystat = find(getfamilydata('BPMz','Status'));   
+elseif strcmpi(mode,'SIMULATOR')
+    xstat = find(getfamilydata('BPMx','Status'));
+    ystat = find(getfamilydata('BPMz','Status'));
+elseif strcmpi(mode,'Special')
+    xstat = find(getfamilydata('BPMx','Status'));
+    ystat = find(getfamilydata('BPMz','Status'));    
+end  %end of mode condition
+
+varargout{1} = xstat;
+varargout{2} = ystat;
Index: /trunk/machine/SOLEIL/StorageRing/bpm/soleilbpms.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/soleilbpms.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/soleilbpms.m	(revision 17)
@@ -0,0 +1,54 @@
+function [XData,ZData] = soleilbpms
+%SOLEIBPMS - Gets horizontal and vertical orbit read into valid BPMS
+% [x,z] = soleilbpms
+%
+% OUTPUTS
+% 1. x - horizontal beam position
+% 2. z - vertical beam position
+%
+% NOTES
+% To be modified to get X and Z at once
+% To get all bpm at once
+
+%
+% Written by Laurent S. Nadolski
+
+BPMFamily = {gethbpmfamily, getvbpmfamily};
+
+% %read horizontal orbit for status ==1 bpms
+% TangoNames = getfamilydata('BPMx','Monitor','TangoNames');
+% status     = find(getfamilydata('BPMx','Status'));
+% x          = getam(char(TangoNames(status,:)));
+% 
+% %read horizontal orbit for status ==1 bpms
+% TangoNames = getfamilydata('BPMz','Monitor','TangoNames');
+% status     = find(getfamilydata('BPMz','Status'));
+% z          = getam(char(TangoNames(status,:)));
+
+GroupID = getfamilydata('BPMx','GroupId');
+R = tango_group_read_attribute(GroupID, 'XPosSA', 0);
+
+if tango_error
+    tango_print_error_stack
+    return;
+end
+
+for k = 1:length(R.replies)
+    XData(k,1) = R.replies(k).value(1);
+end
+Status = getfamilydata(BPMFamily{1},'Status');
+XData = XData(find(Status));
+
+R = tango_group_read_attribute(GroupID, 'ZPosSA', 0);
+
+if tango_error
+    tango_print_error_stack
+    return;
+end
+
+for k = 1:length(R.replies)
+    ZData(k,1) = R.replies(k).value(1);
+end
+
+Status = getfamilydata(BPMFamily{2},'Status');
+ZData = ZData(find(Status));
Index: /trunk/machine/SOLEIL/StorageRing/bpm/tango_getbpmtimeout.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/tango_getbpmtimeout.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/tango_getbpmtimeout.m	(revision 17)
@@ -0,0 +1,22 @@
+function timeout = tango_getbpmtimeout
+% tango_setbpmtimeout - set timeout (10s) for bpm
+%
+% 
+% 
+
+%
+%  Written by Laurent S. Nadolski
+
+
+devList = family2tangodev('BPMx');
+timeout = zeros(1,size(devList,1));
+for k=1:length(devList),
+    timeout(k) = tango_get_timeout(devList{k});
+    if tango_error == 1
+        tango_print_error_stack;
+    end
+end
+
+if mean(timeout) ~= timeout(1)
+    fprintf('A least one BPM is not configured as others\n');
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/tango_setbpmtimeout.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/tango_setbpmtimeout.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/tango_setbpmtimeout.m	(revision 17)
@@ -0,0 +1,39 @@
+function tango_setbpmtimeout(varargin)
+% tango_setbpmtimeout - set timeout (10s) for bpm
+%
+
+%
+%  Written by Laurent S. Nadolski
+
+checkFlag = 0;
+
+if isempty(varargin)
+    timeout = 10000; % ms
+else
+    timeout = varargin{1};
+end
+
+devList = family2tangodev('BPMx');
+
+for k=1:length(devList),
+    tango_set_timeout(devList{k}, timeout);
+    if tango_error == 1
+        tango_print_error_stack;
+    end
+end
+
+
+% Checking factorys
+if checkFlag
+    data= [];
+    for k=1:length(devList),
+        data(k) = tango_get_timeout(devList{k});
+        if tango_error == 1
+            tango_print_error_stack;
+        end
+        if mean(data) ~= data(1)
+            printf('At least one BPM is not set properly')
+        end
+
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/bpm/test_threshold.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/test_threshold.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/test_threshold.m	(revision 17)
@@ -0,0 +1,58 @@
+%%
+
+Threshold = 1.5e7;
+
+[ir ic] = find(AM.Data.Sum > Threshold);
+
+irfirst = [];
+icfirst = [];
+for k=1:120,
+  val = min(find(ir==k));
+  if isempty(val)
+      fprintf('BPM number %d with no data\n', k);
+  else
+      irfirst(k) = ir(val) ;
+      icfirst(k) = ic(val) ;
+  end
+end
+
+figure
+plot(ir,ic,'.'); hold on;
+plot(irfirst,icfirst,'xr'); hold off
+grid on
+xlabel('BPM number')
+ylabel('Turn number above Threshold');
+title(sprintf('Threshold is %e',Threshold));
+
+%%
+figure
+h1 = subplot(7,1,[1 3]);
+plot(spos, AM.Data.X(sub2ind(size(AM.Data.X),irfirst,icfirst)),'Color',nxtcolor)
+hold on
+
+nturn = 10;
+for k=2:nturn,
+    plot(spos, AM.Data.X(sub2ind(size(AM.Data.X),irfirst,icfirst+k)),'Color',nxtcolor)
+end
+ylabel('X (mm)')
+
+h2 = subplot(7,1,[5 7]);
+plot(spos, AM.Data.Z(sub2ind(size(AM.Data.Z),irfirst,icfirst)),'Color',nxtcolor)
+hold on
+
+for k=2:nturn,
+    plot(spos, AM.Data.Z(sub2ind(size(AM.Data.Z),irfirst,icfirst+k)),'Color',nxtcolor)
+end
+
+str = eval(['{', sprintf('''Turn # %d'',',(1:nturn)), '}']);
+
+legend(str,'Position',[0.915 0.4514 0.08195 0.1244])
+xlabel('s (m)')
+ylabel('Z (mm)')
+
+h3 = subplot(7,1,4);
+drawlattice;
+
+linkaxes([h1,h2,h3],'x');
+set([h1,h2,h3],'Xgrid','On', 'Ygrid','On');
+addlabel(1,0,datestr(AM.TimeStamp,21));
Index: /trunk/machine/SOLEIL/StorageRing/bpm/test_transport.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/bpm/test_transport.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/bpm/test_transport.m	(revision 17)
@@ -0,0 +1,28 @@
+% Mode transport
+
+% 19 mai 2006
+% Written by Laurent S. Nadolski
+
+global THERING
+BPMindex = family2atindex('BPMx');
+spos = getspos('BPMx');
+X00 = [0 0 0 0 0 0]';
+X01 = linepass(THERING, X00(:,end), 1:length(THERING)+1);
+
+h1 = subplot(5,1,[1 2]);
+plot(spos,X01(1,BPMindex)*1e3,'.-');
+ylabel('X (mm)')
+
+h2 = subplot(5,1,[4 5]);
+plot(spos,X01(3,BPMindex)*1e3,'.-');
+ylabel('Z (mm)') 
+
+h3 = subplot(5,1,3);
+drawlattice
+% xaxis([1 getcircumference]);
+xaxis([42 82]);
+    
+
+linkaxes([h1 h2 h3],'x')
+set([h1 h2 h3],'XGrid','On','YGrid','On');
+ 
Index: /trunk/machine/SOLEIL/StorageRing/calctuneTFB.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/calctuneTFB.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/calctuneTFB.m	(revision 17)
@@ -0,0 +1,226 @@
+function calctuneTFB(action)
+% CALCTUNEFBT
+% T=timer('TimerFcn',@gettune_FBT, 'Period', 1.0);
+%%
+
+StartFlag = 0;
+%setappdata(h,'FEEDBACK_STOP_FLAG',0)
+
+% Devicelock configuration
+devLockName = 'ANS/CA/SERVICE-LOCKER';
+argin.svalue={'tunemeas'};
+
+% Arguments
+if nargin < 1
+    action = 'Initialize';
+end
+
+switch action
+    case 'Initialize'
+        val = readattribute([devLockName '/' argin.svalue{:}]);
+
+        if val == 1
+            fprintf('Tune measurement already running. Stop other application first!\n')
+            return;
+        end
+
+        ButtonHeight = 50;
+        ButtonWidth=50;
+        offset = 100;
+
+        h=figure('Tag', 'TuneFig');
+        uicontrol('Parent',h, ...
+            'callback','calctuneTFB(''Start'');', ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[2 offset+2*(ButtonHeight+1) ButtonWidth 0.8*ButtonHeight], ...
+            'String','Start', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','Start');
+
+        uicontrol('Parent',h, ...
+            'callback','calctuneTFB(''Stop'');', ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[2 offset+1*(ButtonHeight+1) ButtonWidth 0.8*ButtonHeight], ...
+            'String','Stop', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','Stop');
+
+        %%
+        % Locktag  = tango_command_inout2(devLockName,'Lock', argin.svalue{:});
+        % argin.lvalue = int32(Locktag);
+
+        % Get data
+        [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT;
+
+        len1= length(dataFFT1);
+        len2= length(dataFFT2);
+
+        subplot(2,1,1);
+        xdata1 = (0:len1-1)/len1;
+        setappdata(h,'xdata1', xdata1);
+
+        H1 = num2str(xdata1(idx1-1+5),'%6.4f');
+        %H1_var = xdata1(idx1-1+5);
+        V1 = num2str(xdata1(idx2-1+floor(len1/4)),'%6.4f');
+        f1 = semilogy(xdata1, dataFFT1, 'Tag', 'ydata1');
+        title ('FBT1');
+        xlim([0 0.5])
+        setappdata(h,'yaxis1', f1);
+
+        subplot(2,1,2);
+        xdata2 = (0:len2-1)/len2;
+        setappdata(h,'xdata2', xdata2);
+        H2 =  num2str(xdata2(idx3-1+5),'%6.4f');
+        V2 =  xdata2(idx4-1+floor(len2/4));
+        f2 = semilogy(xdata2, (dataFFT2),'Tag', 'ydata1');
+        title ('FBT2');
+        xlim([0 0.5])
+        setappdata(h,'yaxis2', f2);
+
+        anno1 = annotation('textbox',...
+            'Position',[0.14 0.83 0.12 0.08],...
+            'FitHeightToText','off',...
+            'String',{H1}, 'Tag', 'box1');
+        setappdata(h,'anno1', anno1);
+
+        anno2 = annotation('textbox',...
+            'Position',[0.14 0.35 0.12 0.08],...
+            'FitHeightToText','off',...
+            'String',{H2}, 'Tag', 'box2');
+        setappdata(h,'anno2', anno2);
+
+    case 'Start'
+        setappdata(findobj(gcbf,'Tag','TuneFig'),'FEEDBACK_STOP_FLAG',0);
+        Locktag  = tango_command_inout2(devLockName,'Lock', argin.svalue{:});
+        argin.lvalue = int32(Locktag);
+        setappdata(findobj(gcbf,'Tag','TuneFig'),'Locktag',Locktag);
+
+        % loop
+        while ~getappdata(findobj(gcbf,'Tag','TuneFig'),'FEEDBACK_STOP_FLAG')
+
+            [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT;
+            xdata1 = getappdata(findobj(gcbf,'Tag','TuneFig'),'xdata1');
+            xdata2 = getappdata(findobj(gcbf,'Tag','TuneFig'),'xdata2');
+            len1 = length(xdata1);
+            len2 = length(xdata2);
+
+            if idx1 ~= -1
+                tunex1 = xdata1(idx1-1+5);
+                tunez1 = xdata1(idx2-1+floor(len1/4));
+                set(getappdata(findobj(gcbf,'Tag','TuneFig'),'anno1'),'String',' ');
+                set(getappdata(findobj(gcbf,'Tag','TuneFig'),'anno1'),'String', ...
+                    sprintf('H = %5.4f \nV = %5.4f', tunex1, tunez1))
+                set(getappdata(findobj(gcbf,'Tag','TuneFig'),'yaxis1'), 'Ydata', dataFFT1)
+                tango_write_attribute2('ANS/DG/PUB-TUNE','tunex',tunex1);
+                tango_write_attribute2('ANS/DG/PUB-TUNE','tunez',tunez1);
+            end
+            if idx2 ~= -1
+                tunex2 = xdata2(idx3-1+5);
+                tunez2 = xdata2(idx4-1+floor(len2/4));
+                set(getappdata(findobj(gcbf,'Tag','TuneFig'),'anno2'),'String',' ');
+                set(getappdata(findobj(gcbf,'Tag','TuneFig'),'anno2'), ...
+                    'String',sprintf('H = %5.4f \nV = %5.4f', tunex2, tunez2))
+                set(getappdata(findobj(gcbf,'Tag','TuneFig'),'yaxis2'), 'Ydata', dataFFT2)
+                tango_write_attribute2('ANS/DG/PUB-TUNE','tunex2',tunex2);
+                tango_write_attribute2('ANS/DG/PUB-TUNE','tunez2',tunez2);
+            end
+            pause(0.5);
+            % Maintain lock on SOFB service
+            tango_command_inout2(devLockName,'MaintainLock', argin);
+        end
+
+    case 'Stop'
+        % Unlock SOFB service
+        Locktag = getappdata(findobj(gcbf,'Tag','TuneFig'),'Locktag');
+        argin.lvalue=int32(Locktag);
+        tango_command_inout2(devLockName,'Unlock', argin);
+        setappdata(findobj(gcbf,'Tag','TuneFig'),'FEEDBACK_STOP_FLAG', 1);
+end
+
+
+% while(1)
+%     [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT;
+%     if idx1 ~= -1
+%         tunex1 = xdata1(idx1-1+5);
+%         tunez1 = xdata1(idx2-1+floor(len1/4));
+%         set(anno1,'String',' ');
+%         set(anno1,'String',sprintf('H = %5.4f \nV = %5.4f', tunex1, tunez1))
+%         set(f1, 'Ydata', dataFFT1)
+%         tango_write_attribute2('ANS/DG/PUB-TUNE','tunex',tunex1);
+%         tango_write_attribute2('ANS/DG/PUB-TUNE','tunez',tunez1);
+%     end
+%     if idx2 ~= -1
+%         tunex2 = xdata2(idx3-1+5);
+%         tunez2 = xdata2(idx4-1+floor(len2/4));
+%         set(anno2,'String',' ');
+%         set(anno2,'String',sprintf('H = %5.4f \nV = %5.4f', tunex2, tunez2))
+%         set(f2, 'Ydata', dataFFT2)
+%         tango_write_attribute2('ANS/DG/PUB-TUNE','tunex2',tunex2);
+%         tango_write_attribute2('ANS/DG/PUB-TUNE','tunez2',tunez2);
+%     end
+%     pause(0.5);
+%     % Maintain lock on SOFB service
+%     tango_command_inout2(devLockName,'MaintainLock', argin);
+% end
+
+
+%subfunctions
+
+function [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT
+
+rep1 = tango_read_attribute2('ANS/RF/BBFDataViewer.1', 'excitedBunchData');
+if ~isstruct(rep1) && rep1 == -1
+    pause(1)
+    rep1 = tango_read_attribute2('ANS/RF/BBFDataViewer.1', 'excitedBunchData');
+    if ~isstruct(rep1) && rep1 == -1
+        pause(2)
+        rep1 = tango_read_attribute2('ANS/RF/BBFDataViewer.1', 'excitedBunchData');
+    else
+        rep1 = -1;
+    end
+end
+
+rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.1', 'selectedBunchData');
+%rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.2', 'excitedBunchData');
+if ~isstruct(rep2) && rep2 == -1
+    pause(1)
+    rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.1', 'selectedBunchData');
+    %rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.2', 'excitedBunchData');
+    if ~isstruct(rep2) && rep2 == -1
+
+        pause(2)
+        rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.1', 'selectedBunchData');
+        %rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.2', 'excitedBunchData');
+    else
+        rep2 = -1;
+    end
+end
+
+if isstruct(rep1)
+    data1 = double(rep1.value);
+    dataFFT1 = abs(fft(data1));
+    len1 = length(dataFFT1);
+    [MNO1_h,idx1] = max (dataFFT1(5:floor(len1/4)));
+    [MNO1_v,idx2] = max (dataFFT1(floor(len1/4):floor(len1/2)));
+else
+    idx1 = -1;
+    idx2 = -1;
+    dataFFT1 = 0;
+end
+
+if isstruct(rep2)
+    data2 = double(rep2.value);
+    dataFFT2 = abs(fft(data2));
+
+    len2 = length(dataFFT2);
+    [MNO2_h,idx3] = max (dataFFT2(5:floor(len2/4)));
+    [MNO2_v,idx4] = max (dataFFT2(floor(len2/4):floor(len2/2)));
+else
+    idx3 = -1;
+    idx4 = -1;
+    dataFFT2 = 0;
+end
Index: /trunk/machine/SOLEIL/StorageRing/couplage/BeamSizeTunette.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/couplage/BeamSizeTunette.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/couplage/BeamSizeTunette.m	(revision 17)
@@ -0,0 +1,246 @@
+function varargout = BeamSizeTunette(varargin)
+% BEAMSIZETUNETTE M-file for BeamSizeTunette.fig
+%      BEAMSIZETUNETTE, by itself, creates a new BEAMSIZETUNETTE or raises the existing
+%      singleton*.
+%
+%      H = BEAMSIZETUNETTE returns the handle to a new BEAMSIZETUNETTE or the handle to
+%      the existing singleton*.
+%
+%      BEAMSIZETUNETTE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in BEAMSIZETUNETTE.M with the given input arguments.
+%
+%      BEAMSIZETUNETTE('Property','Value',...) creates a new BEAMSIZETUNETTE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before BeamSizeTunette_OpeningFcn gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to BeamSizeTunette_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help BeamSizeTunette
+
+% Last Modified by GUIDE v2.5 02-Jun-2012 09:04:15
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @BeamSizeTunette_OpeningFcn, ...
+                   'gui_OutputFcn',  @BeamSizeTunette_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before BeamSizeTunette is made visible.
+function BeamSizeTunette_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to BeamSizeTunette (see VARARGIN)
+
+% Choose default command line output for BeamSizeTunette
+handles.output = hObject;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+k0 = uibuttongroup('visible','on','Position',[0.05 0.05 .90 .50],...
+    'Title','','TitlePosition','lefttop','FontSize',14,...
+    'BackgroundColor',[.651 0.855 0.924]);
+
+v1 = uicontrol('Style','Radio','String','  Non expert','Tag','radiobutton1',...
+    'pos',[70 160 200 20],'parent',k0,'HandleVisibility','off','FontSize',14,...
+    'BackgroundColor',[.651 0.855 0.924]);
+v2 = uicontrol('Style','Radio','String','  Expert','Tag','radiobutton2','FontSize',14,...
+    'pos',[250. 160 150 20],'parent',k0,'HandleVisibility','off',...
+    'BackgroundColor',[.651 0.855 0.924]);
+set(k0,'SelectedObject',v1);  % Non expert par dÃ©faut
+set(handles.pourcentage,'Enable','Off')
+set(handles.dispersion_verticale,'Enable','Off')
+set(handles.fichier,'Enable','Off')
+set(k0,'Visible','on');
+set(k0,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_expert,handles});
+pourcentage = 5;
+FileName = '/home/matlabML/measdata/SOLEIL/StorageRingdata/SkewQuad/solution_QT/Nanoscopium/QT_Dipersion_verticale_pure_Nanoscopium';
+setappdata(handles.figure1,'pourcentage','pourcentage');
+setappdata(handles.figure1,'fichier','FileName');
+ModeFlag = 'Online'; % DANGER !!
+setappdata(handles.figure1,'ModeFlag',ModeFlag);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes BeamSizeTunette wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = BeamSizeTunette_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in Augmenter.
+function Augmenter_Callback(hObject, eventdata, handles)
+% hObject    handle to Augmenter (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+pourcentage = str2double(get(handles.pourcentage,'String'));
+FileName = get(handles.fichier,'String');  % fichier de dispersion verticale
+ModeFlag = getappdata(handles.figure1,'ModeFlag'); 
+S = load(FileName);
+stepsp('QT',pourcentage*1e-2*S.Deltaskewquad,ModeFlag); % SUPERPOSITION du jeu de QT
+
+
+
+% --- Executes on button press in Diminuer.
+function Diminuer_Callback(hObject, eventdata, handles)
+% hObject    handle to Diminuer (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+pourcentage = str2double(get(handles.pourcentage,'String'));
+FileName = get(handles.fichier,'String');  % fichier de dispersion verticale
+ModeFlag = getappdata(handles.figure1,'ModeFlag'); 
+S = load(FileName);
+stepsp('QT',-pourcentage*1e-2*S.Deltaskewquad,ModeFlag); % SUPERPOSITION du jeu de QT
+
+
+function Titre_Callback(hObject, eventdata, handles)
+% hObject    handle to Titre (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Titre as text
+%        str2double(get(hObject,'String')) returns contents of Titre as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Titre_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Titre (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function pourcentage_Callback(hObject, eventdata, handles)
+% hObject    handle to pourcentage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pourcentage as text
+%        str2double(get(hObject,'String')) returns contents of pourcentage as a double
+pourcentage = str2double(get(hObject,'String'));
+setappdata(handles.figure1,'pourcentage','pourcentage');
+
+
+% --- Executes during object creation, after setting all properties.
+function pourcentage_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pourcentage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+% --- Executes on button press in dispersion_verticale.
+function dispersion_verticale_Callback(hObject, eventdata, handles)
+% hObject    handle to dispersion_verticale (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+DirectoryName = getfamilydata('Directory', 'Coupling');
+if isempty(DirectoryName)
+    %             DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+else
+    % Make sure default directory exists
+    DirStart = pwd;
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    cd(DirStart);
+end
+%[FileName, DirectoryName] = uigetfile('*.mat', 'Select a Skew corrector list ("Save" starts measurement)', [DirectoryName FileName]);
+
+[FileName, DirectoryName] = uigetfile('*.mat', 'Select a new Dispersion Wave ("Save" starts measurement)',DirectoryName);
+if FileName == 0
+    ArchiveFlag = 0;
+    disp('   Skew correction canceled.');
+    return
+end
+FileName = [DirectoryName, FileName];
+set(handles.fichier,'String',FileName)
+
+
+
+function uibuttongroup_SelectionChangeFcn_expert(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here
+        %setappdata(handles.figure1,'Correction','fichier'); %
+        set(handles.pourcentage,'Enable','On')
+        set(handles.dispersion_verticale,'Enable','On')
+        set(handles.fichier,'Enable','Off')
+
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        set(handles.pourcentage,'Enable','Off')
+        set(handles.dispersion_verticale,'Enable','Off')
+        set(handles.fichier,'Enable','Off')
+        
+end
+
+
+
+function fichier_Callback(hObject, eventdata, handles)
+% hObject    handle to fichier (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fichier as text
+%        str2double(get(hObject,'String')) returns contents of fichier as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function fichier_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fichier (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
Index: /trunk/machine/SOLEIL/StorageRing/couplage/couplage.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/couplage/couplage.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/couplage/couplage.m	(revision 17)
@@ -0,0 +1,437 @@
+function varargout = couplage(varargin)
+% COUPLAGE M-file for couplage.fig
+%      COUPLAGE, by itself, creates a new COUPLAGE or raises the existing
+%      singleton*.
+%
+%      H = COUPLAGE returns the handle to a new COUPLAGE or the handle to
+%      the existing singleton*.
+%
+%      COUPLAGE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in COUPLAGE.M with the given input arguments.
+%
+%      COUPLAGE('Property','Value',...) creates a new COUPLAGE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before couplage_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to couplage_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help couplage
+
+% Last Modified by GUIDE v2.5 03-Jan-2012 15:41:28
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @couplage_OpeningFcn, ...
+                   'gui_OutputFcn',  @couplage_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before couplage is made visible.
+function couplage_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to couplage (see VARARGIN)
+
+% Choose default command line output for couplage
+handles.output = hObject;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+k0 = uibuttongroup('visible','on','Position',[0.03 0.63 .95 .16],...
+    'Title','','TitlePosition','lefttop','FontSize',14,...
+    'BackgroundColor',[.651 0.855 0.924]);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%[.651 0.855 0.924]); % couleur bleu layette
+k1 = uibuttongroup('visible','on','Position',[0.01 0.01 .98 .60],...
+    'Title','','TitlePosition','lefttop','FontSize',14,...
+    'BackgroundColor',[.5 0.5 1]);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%[0.03 0.05 .95 .48]
+g0 = uibuttongroup('visible','on','Position',[0.03 0.02 .95 .21],...
+    'Title','','TitlePosition','lefttop','FontSize',14,...
+    'BackgroundColor',[.5 0.5 1]);
+
+h1 = uicontrol('Style','Radio','String','  diaphonie DIAG','Tag','radiobutton1',...
+    'pos',[50 80 150 20],'parent',g0,'HandleVisibility','off','FontSize',14,...
+    'BackgroundColor',[.5 0.5 1]);
+h2 = uicontrol('Style','Radio','String','  diaphonie LOCO','Tag','radiobutton2','FontSize',14,...
+    'pos',[300. 80 150 20],'parent',g0,'HandleVisibility','off',...
+    'BackgroundColor',[.5 0.5 1]);
+set(g0,'SelectedObject',h2);  % No selection
+set(g0,'Visible','on');
+set(g0,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_diaphonie,handles});
+setappdata(handles.figure1,'Diaphonie','LOCO'); % LOCO par dÃ©faut
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%[0.03 0.05 .45 .18]
+g2 = uibuttongroup('visible','on','Position',[0.33 0.30 .65 .28],...
+    'Title','','TitlePosition','lefttop','FontSize',14,...
+    'BackgroundColor',[.5 0.5 1]);
+
+
+q2 = uicontrol('Style','Radio','String','  Ã  partir d''une mesure de couplage','Tag','radiobutton1','FontSize',14,...
+    'pos',[15. 120 280 20],'parent',g2,'HandleVisibility','off',...
+    'BackgroundColor',[.5 0.5 1]);
+q3 = uicontrol('Style','Radio','String','  par un jeu de correcteurs QT connu','Tag','radiobutton2','FontSize',14,...
+    'pos',[15 55 350 20],'parent',g2,'HandleVisibility','off',...
+    'BackgroundColor',[.5 0.5 1]);
+q1 = uicontrol('Style','Radio','String','  en superposant un jeu de correcteurs QT connu','Tag','radiobutton3',...
+     'pos',[15 16 380 20],'parent',g2,'HandleVisibility','off','FontSize',14,...
+     'BackgroundColor',[.5 0.5 1]);
+set(g2,'SelectedObject',q3);  % No selection
+set(handles.edit_poids,'Enable','Off')
+set(handles.edit_nbvp,'Enable','Off')
+set(g2,'Visible','on');
+set(g2,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_correction,handles});
+setappdata(handles.figure1,'Correction','jeu'); % un jeu connu par dÃ©faut
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+g = uibuttongroup('visible','off','Position',[0.658 0.8 .32 .17],...
+    'Title','SÃ©lection mode','TitlePosition','centertop','FontSize',14,...
+    'BackgroundColor',[.651 0.855 0.924]);
+v1 = uicontrol('Style','Radio','String','  Online','Tag','radiobutton1',...
+    'pos',[10 30 80 20],'parent',g,'HandleVisibility','off','FontSize',14,...
+    'BackgroundColor',[.651 0.855 0.924]);
+v2 = uicontrol('Style','Radio','String','  Model','Tag','radiobutton2','FontSize',14,...
+    'pos',[110. 30 80 20],'parent',g,'HandleVisibility','off',...
+    'BackgroundColor',[.651 0.855 0.924]);
+set(g,'SelectedObject',v2);  % No selection
+set(g,'Visible','on');
+set(g,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+setappdata(handles.figure1,'Mode','Model'); % Model par dÃ©faut
+
+%% paramÃštres par dÃ©faut de la mesure et de la correction du couplage
+
+M.Param1 = 0.2;  % Delta I corr H = 0.2 A
+M.Param2 = 4;    % Pause aprÃšs consigne delta I = 4 secondes
+setappdata(handles.figure1,'M',M);
+
+S.Param1 = 1e3;
+S.Param2 = 32;
+S.Param3 = 100 ; % ParamÃštres par dÃ©faut de la correction
+% Param1 : poids Dz
+% Param2 : nb de valeurs propres de la matrice efficacite QT
+% Param3 : pourcentage de correction appliquÃ©
+setappdata(handles.figure1,'S',S);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes couplage wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = couplage_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_mesure.
+function pushbutton_mesure_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_mesure (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+M = getappdata(handles.figure1,'M');
+Mode = getappdata(handles.figure1,'Mode');
+setskewcorrection(Mode,'Archive','Measurement','NoCorrection',handles) %[M.Param1 M.Param2])
+
+% --- Executes on button press in pushbutton_correction.
+function pushbutton_correction_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_correction (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+type_corr = getappdata(handles.figure1,'Correction');
+Mode = getappdata(handles.figure1,'Mode');
+
+if strcmp(type_corr,'fichier')
+    
+    S = getappdata(handles.figure1,'S');
+    
+    setskewcorrection(Mode,'Archive','NoMeasurement','Correction',handles) %[S.Param1 S.Param2 S.Param3])
+    
+else
+    
+    DirectoryName = getfamilydata('Directory', 'Coupling');
+    if isempty(DirectoryName)
+        %             DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+    else
+        % Make sure default directory exists
+        DirStart = pwd;
+        [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+        cd(DirStart);
+    end
+        %[FileName, DirectoryName] = uigetfile('*.mat', 'Select a Skew corrector list ("Save" starts measurement)', [DirectoryName FileName]);
+
+    [FileName, DirectoryName] = uigetfile('*.mat', 'Select a Skew corrector list ("Save" starts measurement)',DirectoryName);
+    if FileName == 0
+        ArchiveFlag = 0;
+        disp('   Skew correction canceled.');
+        return
+    end
+    FileName = [DirectoryName, FileName];
+    
+    S = load(FileName);
+    Sparam = getappdata(handles.figure1,'S'); % on va cherche le pourcentage d'aplication
+    pourcentage = Sparam.Param3;
+
+    if strcmp(type_corr,'jeu')
+        setsp('QT',pourcentage*1e-2*S.Deltaskewquad,Mode);
+    elseif strcmp(type_corr,'superposition')
+        stepsp('QT',pourcentage*1e-2*S.Deltaskewquad,Mode);
+    else
+        disp('pb avec les options !')
+    end
+    disp('Skew correction applied');
+    disp(FileName)
+    disp(['Pourcentage applied = ' num2str(pourcentage) '%' ])
+end
+
+function edit_poids_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_poids (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_poids as text
+%        str2double(get(hObject,'String')) returns contents of edit_poids as a double
+
+S.Param1 = str2double(get(hObject,'String'));
+S.Param2 = str2double(get(handles.edit_nbvp,'String'));
+S.Param3 = str2double(get(handles.edit_pourcentage,'String'));
+%% sauvegarde de la structure S
+setappdata(handles.figure1,'S',S);
+
+% --- Executes during object creation, after setting all properties.
+function edit_poids_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_poids (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_nbvp_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_nbvp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_nbvp as text
+%        str2double(get(hObject,'String')) returns contents of edit_nbvp as a double
+
+S.Param1 = str2double(get(handles.edit_poids,'String'));
+S.Param2 = str2double(get(hObject,'String'));
+S.Param3 = str2double(get(handles.edit_pourcentage,'String'));
+%% sauvegarde de la structure S
+setappdata(handles.figure1,'S',S);
+
+% --- Executes during object creation, after setting all properties.
+function edit_nbvp_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_nbvp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_pourcentage_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_pourcentage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_pourcentage as text
+%        str2double(get(hObject,'String')) returns contents of edit_pourcentage as a double
+S.Param1 = str2double(get(handles.edit_poids,'String'));
+S.Param2 = str2double(get(handles.edit_nbvp,'String'));
+S.Param3 = str2double(get(hObject,'String'));
+%% sauvegarde de la structure S
+setappdata(handles.figure1,'S',S);
+
+% --- Executes during object creation, after setting all properties.
+function edit_pourcentage_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_pourcentage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_nbvp.
+function pushbutton_nbvp_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_nbvp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        %handles.energie = 'min';
+        setappdata(handles.figure1,'Mode','Online'); %
+
+
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here
+        %handles.energie = 'max';
+        setappdata(handles.figure1,'Mode','Model'); %
+end
+
+function uibuttongroup_SelectionChangeFcn_diaphonie(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        %handles.energie = 'min';
+        setappdata(handles.figure1,'Diaphonie','DIAG'); %
+
+
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here
+        %handles.energie = 'max';
+        setappdata(handles.figure1,'Diaphonie','LOCO'); %
+end
+
+function uibuttongroup_SelectionChangeFcn_correction(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+%     case 'radiobutton1'
+%         % code piece when radiobutton1 is selected goes here
+%         %handles.energie = 'min';
+%         setappdata(handles.figure1,'Correction','actuel'); %       
+
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        setappdata(handles.figure1,'Correction','fichier'); %
+        set(handles.edit_poids,'Enable','On')
+        set(handles.edit_nbvp,'Enable','On')
+
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here
+        %handles.energie = 'max';
+        setappdata(handles.figure1,'Correction','jeu'); %
+        set(handles.edit_poids,'Enable','Off')
+        set(handles.edit_nbvp,'Enable','Off')
+        
+    case 'radiobutton3'
+        % code piece when radiobutton2 is selected goes here
+        %handles.energie = 'max';
+        setappdata(handles.figure1,'Correction','superposition'); %
+        set(handles.edit_poids,'Enable','Off')
+        set(handles.edit_nbvp,'Enable','Off')
+        
+end
+
+function edit_deltaIcorr_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_deltaIcorr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_deltaIcorr as text
+%        str2double(get(hObject,'String')) returns contents of edit_deltaIcorr as a double
+M.Param1 = str2double(get(handles.edit_deltaIcorr,'String'));
+M.Param2 = str2double(get(handles.edit_pause,'String'));
+%% sauvegarde de la structure M
+setappdata(handles.figure1,'M',M);
+
+% --- Executes during object creation, after setting all properties.
+function edit_deltaIcorr_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_deltaIcorr (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_pause_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_pause (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_pause as text
+%        str2double(get(hObject,'String')) returns contents of edit_pause as a double
+
+M.Param1 = str2double(get(handles.edit_deltaIcorr,'String'));
+M.Param2 = str2double(get(handles.edit_pause,'String'));
+%% sauvegarde de la structure M
+setappdata(handles.figure1,'M',M);
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_pause_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_pause (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_RAZ_QT.
+function pushbutton_RAZ_QT_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_RAZ_QT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+setsp('QT',0)
Index: /trunk/machine/SOLEIL/StorageRing/couplage/couplage_2012.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/couplage/couplage_2012.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/couplage/couplage_2012.m	(revision 17)
@@ -0,0 +1,437 @@
+function varargout = couplage_2012(varargin)
+% COUPLAGE_2012 M-file for couplage_2012.fig
+%      COUPLAGE_2012, by itself, creates a new COUPLAGE_2012 or raises the existing
+%      singleton*.
+%
+%      H = COUPLAGE_2012 returns the handle to a new COUPLAGE_2012 or the handle to
+%      the existing singleton*.
+%
+%      COUPLAGE_2012('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in COUPLAGE_2012.M with the given input arguments.
+%
+%      COUPLAGE_2012('Property','Value',...) creates a new COUPLAGE_2012 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before couplage_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to couplage_2012_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help couplage_2012
+
+% Last Modified by GUIDE v2.5 13-Dec-2011 10:09:17
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @couplage_2012_OpeningFcn, ...
+                   'gui_OutputFcn',  @couplage_2012_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before couplage_2012 is made visible.
+function couplage_2012_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to couplage_2012 (see VARARGIN)
+
+% Choose default command line output for couplage_2012
+handles.output = hObject;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+k0 = uibuttongroup('visible','on','Position',[0.01 0.62 .98 .16],...
+    'Title','','TitlePosition','lefttop','FontSize',14,...
+    'BackgroundColor',[.651 0.855 0.924]);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%[.651 0.855 0.924]); % couleur bleu layette
+k1 = uibuttongroup('visible','on','Position',[0.01 0.01 .98 .60],...
+    'Title','','TitlePosition','lefttop','FontSize',14,...
+    'BackgroundColor',[.5 0.5 1]);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+% %[0.03 0.05 .95 .48]
+% g0 = uibuttongroup('visible','on','Position',[0.03 0.02 .95 .21],...
+%     'Title','','TitlePosition','lefttop','FontSize',14,...
+%     'BackgroundColor',[.5 0.5 1]);
+% 
+% h1 = uicontrol('Style','Radio','String','  diaphonie DIAG','Tag','radiobutton1',...
+%     'pos',[50 80 150 20],'parent',g0,'HandleVisibility','off','FontSize',14,...
+%     'BackgroundColor',[.5 0.5 1]);
+% h2 = uicontrol('Style','Radio','String','  diaphonie LOCO','Tag','radiobutton2','FontSize',14,...
+%     'pos',[300. 80 150 20],'parent',g0,'HandleVisibility','off',...
+%     'BackgroundColor',[.5 0.5 1]);
+% set(g0,'SelectedObject',h2);  % No selection
+% set(g0,'Visible','on');
+% set(g0,'SelectionChangeFcn',...
+%     {@uibuttongroup_SelectionChangeFcn_diaphonie,handles});
+% setappdata(handles.figure1,'Diaphonie','LOCO'); % LOCO par dÃ©faut
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%[0.03 0.05 .45 .18]
+g2 = uibuttongroup('visible','on','Position',[0.04 0.05 .90 .42],...
+    'Title','','TitlePosition','lefttop','FontSize',14,...
+    'BackgroundColor',[.5 0.5 1]);
+
+
+q2 = uicontrol('Style','Radio','String','  Ã  partir d''une mesure de couplage','Tag','radiobutton1','FontSize',14,...
+    'pos',[15. 190 280 20],'parent',g2,'HandleVisibility','off',...
+    'BackgroundColor',[.5 0.5 1]);
+q3 = uicontrol('Style','Radio','String','  par un jeu de correcteurs QT connu','Tag','radiobutton2','FontSize',14,...
+    'pos',[15 75 350 20],'parent',g2,'HandleVisibility','off',...
+    'BackgroundColor',[.5 0.5 1]);
+q1 = uicontrol('Style','Radio','String','  en superposant un jeu de correcteurs QT connu','Tag','radiobutton3',...
+     'pos',[15 16 380 20],'parent',g2,'HandleVisibility','off','FontSize',14,...
+     'BackgroundColor',[.5 0.5 1]);
+set(g2,'SelectedObject',q3);  % No selection
+set(handles.edit_poids,'Enable','Off')
+set(handles.edit_nbvp,'Enable','Off')
+set(g2,'Visible','on');
+set(g2,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_correction,handles});
+setappdata(handles.figure1,'Correction','jeu'); % un jeu connu par dÃ©faut
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+g = uibuttongroup('visible','off','Position',[0.658 0.8 .32 .17],...
+    'Title','SÃ©lection mode','TitlePosition','centertop','FontSize',14,...
+    'BackgroundColor',[.651 0.855 0.924]);
+v1 = uicontrol('Style','Radio','String','  Online','Tag','radiobutton1',...
+    'pos',[10 30 80 20],'parent',g,'HandleVisibility','off','FontSize',14,...
+    'BackgroundColor',[.651 0.855 0.924]);
+v2 = uicontrol('Style','Radio','String','  Model','Tag','radiobutton2','FontSize',14,...
+    'pos',[110. 30 80 20],'parent',g,'HandleVisibility','off',...
+    'BackgroundColor',[.651 0.855 0.924]);
+set(g,'SelectedObject',v2);  % No selection
+set(g,'Visible','on');
+set(g,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+setappdata(handles.figure1,'Mode','Model'); % Model par dÃ©faut
+
+%% paramÃštres par dÃ©faut de la mesure et de la correction du couplage_2012
+
+M.Param1 = 0.2;  % Delta I corr H = 0.2 A : ne sera utile que pour tester les orbites fermées croisées après correction
+M.Param2 = 4;    % Pause aprÃšs consigne delta I = 4 secondes
+setappdata(handles.figure1,'M',M);
+
+S.Param1 = 3e4;  % changement 3 janvier 2012 % avant 3 janv 2012 : 1e3;
+S.Param2 = 32;
+S.Param3 = 100 ; % ParamÃštres par dÃ©faut de la correction
+% Param1 : poids Dz
+% Param2 : nb de valeurs propres de la matrice efficacite QT
+% Param3 : pourcentage de correction appliquÃ©
+setappdata(handles.figure1,'S',S);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes couplage_2012 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = couplage_2012_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_mesure.
+function pushbutton_mesure_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_mesure (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+M = getappdata(handles.figure1,'M');
+Mode = getappdata(handles.figure1,'Mode');
+setskewcorrection_2012(Mode,'Archive','Measurement','NoCorrection',handles) %[M.Param1 M.Param2])
+
+% --- Executes on button press in pushbutton_correction.
+function pushbutton_correction_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_correction (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+type_corr = getappdata(handles.figure1,'Correction');
+Mode = getappdata(handles.figure1,'Mode');
+
+if strcmp(type_corr,'fichier')
+    
+    S = getappdata(handles.figure1,'S');
+    
+    setskewcorrection_2012(Mode,'Archive','NoMeasurement','Correction',handles) %[S.Param1 S.Param2 S.Param3])
+    
+else
+    
+    DirectoryName = getfamilydata('Directory', 'Coupling');
+    if isempty(DirectoryName)
+        %             DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+    else
+        % Make sure default directory exists
+        DirStart = pwd;
+        [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+        cd(DirStart);
+    end
+        %[FileName, DirectoryName] = uigetfile('*.mat', 'Select a Skew corrector list ("Save" starts measurement)', [DirectoryName FileName]);
+
+    [FileName, DirectoryName] = uigetfile('*.mat', 'Select a Skew corrector list ("Save" starts measurement)',DirectoryName);
+    if FileName == 0
+        ArchiveFlag = 0;
+        disp('   Skew correction canceled.');
+        return
+    end
+    FileName = [DirectoryName, FileName];
+    
+    S = load(FileName);
+    Sparam = getappdata(handles.figure1,'S'); % on va cherche le pourcentage d'aplication
+    pourcentage = Sparam.Param3;
+
+    if strcmp(type_corr,'jeu')
+        setsp('QT',pourcentage*1e-2*S.Deltaskewquad,Mode);
+    elseif strcmp(type_corr,'superposition')
+        stepsp('QT',pourcentage*1e-2*S.Deltaskewquad,Mode);
+    else
+        disp('pb avec les options !')
+    end
+    disp('Skew correction applied');
+    disp(FileName)
+    disp(['Pourcentage applied = ' num2str(pourcentage) '%' ])
+end
+
+function edit_poids_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_poids (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_poids as text
+%        str2double(get(hObject,'String')) returns contents of edit_poids as a double
+
+S.Param1 = str2double(get(hObject,'String'));
+S.Param2 = str2double(get(handles.edit_nbvp,'String'));
+S.Param3 = str2double(get(handles.edit_pourcentage,'String'));
+%% sauvegarde de la structure S
+setappdata(handles.figure1,'S',S);
+
+% --- Executes during object creation, after setting all properties.
+function edit_poids_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_poids (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_nbvp_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_nbvp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_nbvp as text
+%        str2double(get(hObject,'String')) returns contents of edit_nbvp as a double
+
+S.Param1 = str2double(get(handles.edit_poids,'String'));
+S.Param2 = str2double(get(hObject,'String'));
+S.Param3 = str2double(get(handles.edit_pourcentage,'String'));
+%% sauvegarde de la structure S
+setappdata(handles.figure1,'S',S);
+
+% --- Executes during object creation, after setting all properties.
+function edit_nbvp_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_nbvp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_pourcentage_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_pourcentage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_pourcentage as text
+%        str2double(get(hObject,'String')) returns contents of edit_pourcentage as a double
+S.Param1 = str2double(get(handles.edit_poids,'String'));
+S.Param2 = str2double(get(handles.edit_nbvp,'String'));
+S.Param3 = str2double(get(hObject,'String'));
+%% sauvegarde de la structure S
+setappdata(handles.figure1,'S',S);
+
+% --- Executes during object creation, after setting all properties.
+function edit_pourcentage_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_pourcentage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_nbvp.
+function pushbutton_nbvp_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_nbvp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        %handles.energie = 'min';
+        setappdata(handles.figure1,'Mode','Online'); %
+
+
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here
+        %handles.energie = 'max';
+        setappdata(handles.figure1,'Mode','Model'); %
+end
+
+% function uibuttongroup_SelectionChangeFcn_diaphonie(hObject,eventdata,handles)
+% % hObject    handle to uipanel1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+%     case 'radiobutton1'
+%         % code piece when radiobutton1 is selected goes here
+%         %handles.energie = 'min';
+%         setappdata(handles.figure1,'Diaphonie','DIAG'); %
+% 
+% 
+%     case 'radiobutton2'
+%         % code piece when radiobutton2 is selected goes here
+%         %handles.energie = 'max';
+%         setappdata(handles.figure1,'Diaphonie','LOCO'); %
+% end
+
+function uibuttongroup_SelectionChangeFcn_correction(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+%     case 'radiobutton1'
+%         % code piece when radiobutton1 is selected goes here
+%         %handles.energie = 'min';
+%         setappdata(handles.figure1,'Correction','actuel'); %       
+
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        setappdata(handles.figure1,'Correction','fichier'); %
+        set(handles.edit_poids,'Enable','On')
+        set(handles.edit_nbvp,'Enable','On')
+
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here
+        %handles.energie = 'max';
+        setappdata(handles.figure1,'Correction','jeu'); %
+        set(handles.edit_poids,'Enable','Off')
+        set(handles.edit_nbvp,'Enable','Off')
+        
+    case 'radiobutton3'
+        % code piece when radiobutton2 is selected goes here
+        %handles.energie = 'max';
+        setappdata(handles.figure1,'Correction','superposition'); %
+        set(handles.edit_poids,'Enable','Off')
+        set(handles.edit_nbvp,'Enable','Off')
+        
+end
+
+% function edit_deltaIcorr_Callback(hObject, eventdata, handles)
+% % hObject    handle to edit_deltaIcorr (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hints: get(hObject,'String') returns contents of edit_deltaIcorr as text
+% %        str2double(get(hObject,'String')) returns contents of edit_deltaIcorr as a double
+% M.Param1 = str2double(get(handles.edit_deltaIcorr,'String'));
+% M.Param2 = str2double(get(handles.edit_pause,'String'));
+% %% sauvegarde de la structure M
+% setappdata(handles.figure1,'M',M);
+
+% --- Executes during object creation, after setting all properties.
+% function edit_deltaIcorr_CreateFcn(hObject, eventdata, handles)
+% % hObject    handle to edit_deltaIcorr (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    empty - handles not created until after all CreateFcns called
+% 
+% % Hint: edit controls usually have a white background on Windows.
+% %       See ISPC and COMPUTER.
+% if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+%     set(hObject,'BackgroundColor','white');
+% end
+
+
+
+% function edit_pause_Callback(hObject, eventdata, handles)
+% % hObject    handle to edit_pause (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hints: get(hObject,'String') returns contents of edit_pause as text
+% %        str2double(get(hObject,'String')) returns contents of edit_pause as a double
+% 
+% M.Param1 = str2double(get(handles.edit_deltaIcorr,'String'));
+% M.Param2 = str2double(get(handles.edit_pause,'String'));
+% %% sauvegarde de la structure M
+% setappdata(handles.figure1,'M',M);
+% 
+% 
+% % --- Executes during object creation, after setting all properties.
+% function edit_pause_CreateFcn(hObject, eventdata, handles)
+% % hObject    handle to edit_pause (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    empty - handles not created until after all CreateFcns called
+% 
+% % Hint: edit controls usually have a white background on Windows.
+% %       See ISPC and COMPUTER.
+% if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+%     set(hObject,'BackgroundColor','white');
+% end
+
+
+% --- Executes on button press in pushbutton_RAZ_QT.
+function pushbutton_RAZ_QT_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_RAZ_QT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+setsp('QT',0,'ModeFlag')
Index: /trunk/machine/SOLEIL/StorageRing/couplage/getpinhole.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/couplage/getpinhole.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/couplage/getpinhole.m	(revision 17)
@@ -0,0 +1,238 @@
+function [FileName eps_x eps_z rms_x_source rms_z_source rms_x_convavantdec rms_z_convavantdec] = getpinhole(varargin)
+% GETPINHOLE enregistre les images de la camÃ©ra pinhole avec les paramÃštres
+% environnants.
+% ATTENTION les devices emittance et Image Analyser doivent etre opÃ©rationnels
+% et la "Region Of Interest" de l'image analyser optimisÃ©e
+% INPUTS
+% 'Display' affiche l'image enregistrÃ©e (par dÃ©faut)
+% 'NoDisplay' le contraire..
+% 'Archive' sauvegarde la structure matlab (par dÃ©faut)
+% 'NoArchive' le contraire..
+%
+%  OUTPUTS
+%  1. eps_x - Horizontal emittance
+%  2. eps_z - Vertical emittance
+%  3. rms_x_source - Horizontal beam size at the source point
+%  4. rms_z_source - Horizontal beam size at the source point
+
+%
+% Written By Marie-Agnes Tordeux and Laurent S. Nadolski
+% Modification Laurent S. Nadolski, May 25th, 2007
+%   output variable to be used in scripts with no graphical interface.
+%   Update new Tango interface for PHC-IMAGEANALYZER
+
+% update 26 avril 2012 : rÃ©tro calcul des tailles aux points source
+
+DisplayFlag = 1;
+ScriptFlag  = 0; % no message to be used within script
+
+ArchiveFlag = 1;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Script')
+        ScriptFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoScript')
+        ScriptFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+% Starting time
+t0 = clock;
+FileName = '';
+dev = 'ANS-C02/DG/PHC-VG';
+devAna = 'ANS-C02/DG/PHC-IMAGEANALYZER';
+devatt = 'ANS-C02/DG/PHC-M.ATT';
+devpoint = 'ANS-C02/DG/PHC-M.CAM1.VERT';
+devposH     = 'ANS-C02/DG/PHC-M.CAM2_HORZ';
+devposV     = 'ANS-C02/DG/PHC-M.CAM2_HORZ2';
+devpinholeH = 'ANS-C02/DG/PHC-M.PH_HORZ';
+devpinholeV = 'ANS-C02/DG/PHC-M.PH_VERT';
+devpinholegonio = 'ANS-C02/DG/PHC-M.PH_GONIO';
+devpinholerot = 'ANS-C02/DG/PHC-M.PH_ROT';
+devemit = 'ANS-C02/DG/PHC-EMIT';
+
+temp=tango_read_attribute2(dev,'Image');
+ImagePHC = temp.value';
+rep.image = ImagePHC;
+rep.current = getdcct;
+
+rep.growth = readattribute([devAna '/OpticalMagnification']);
+a=tango_get_property(devemit,'DistPinholeH2Convert') ; rep.DistPinholeH2Convert = str2num(a.value{:}) ;	
+a=tango_get_property(devemit,'DistPinholeV2Convert') ; rep.DistPinholeV2Convert = str2num(a.value{:})	;
+a=tango_get_property(devemit,'DistSource2PinholeH') ; rep.DistSource2PinholeH = str2num(a.value{:});
+a=tango_get_property(devemit,'DistSource2PinholeV') ; rep.DistSource2PinholeV = str2num(a.value{:});
+
+rep.pixelsizex = readattribute([devAna '/PixelSizeX']);
+rep.pixelsizez = readattribute([devAna '/PixelSizeY']);
+rep.betaX = readattribute([devemit '/BetaX']);
+rep.betaZ = readattribute([devemit '/BetaZ']);
+rep.etaX = readattribute([devemit '/EtaX']);
+rep.etaZ = readattribute([devemit '/EtaZ']);
+rep.gamma = readattribute([devAna '/GammaCorrection']);
+rep.sigmax = readattribute([devAna '/XProjFitSigma']);
+rep.magnitudex = readattribute([devAna '/XProjFitMag']);
+rep.sigmaz = readattribute([devAna '/YProjFitSigma']);
+rep.magnitudez = readattribute([devAna '/YProjFitMag']);
+rep.attenuateur = readattribute([devatt '/position']);
+rep.pos_H_pinhole =  readattribute([devpinholeH '/position']); % position H de la pinhole
+rep.pos_V_pinhole =  readattribute([devpinholeV '/position']); % position V de la pinhole
+rep.pos_gonio_pinhole = readattribute([devpinholegonio '/position']); % position gonio de la pinhole
+rep.pos_rot_pinhole = readattribute([devpinholerot '/position']); % position rotation de la pinhole
+rep.point = readattribute([devpoint '/position']); % mise au point camera 2
+rep.posH = readattribute([devposH '/position']); % position horizontale camera 2
+rep.posV = readattribute([devposV '/position']); % position verticale (vis Ã  vis du convertisseur) camera 2
+rep.X = tango_read_attribute2(devAna,'XProj');
+rep.Z = tango_read_attribute2(devAna,'YProj');
+rep.fitX = tango_read_attribute2(devAna,'XProjFitted');
+rep.fitZ = tango_read_attribute2(devAna,'YProjFitted');
+rep.GaussianFitTilt = readattribute([devAna '/GaussianFitTilt']);
+rep.pinholesizeV = readattribute([devemit '/PinholeSizeV']);
+rep.pinholesizeH = readattribute([devemit '/PinholeSizeH']);
+rep.emittanceX = readattribute([devemit '/EmittanceH']);
+rep.emittanceZ = readattribute([devemit '/EmittanceV']);
+%rep.QT1 = getam('QT', [1 1])
+
+if DisplayFlag
+    %figure(101);
+    figure
+    image(ImagePHC,'CDataMapping','scaled','Parent',gca)
+    %figure(105);
+    figure
+    plot(rep.fitX.value,'k') ; hold on ; plot(rep.X.value,'r') ;
+    xlabel('numero de pixel')
+    plot(rep.fitZ.value,'p') ; hold on ; plot(rep.Z.value,'b') ; legend('fit H de l''ImageAnalyser','DonnÃ©es brutes H','fit V de l''ImageAnalyser','DonnÃ©es brutes V')
+    xlabel('numero de pixel')
+    title('Profils H et V projetÃ©s dans la rÃ©gion d''interet (ROI)');
+    hold off
+    %%%%%%%%%%%%%%% WARNING
+
+end
+
+%%% test du gamma
+if rep.gamma ~= 1
+    disp('gamma camÃ©ra n''est pas Ã  sa valeur correcte') % test sur la valeur de gamma
+    return
+end
+
+%%% pixel intensitÃ© max
+Max_image_brute = max(max(ImagePHC));
+warning_intensite = 0;
+if Max_image_brute>4000
+    disp('l''image est saturÃ©e - modifier l''attÃ©nuateur') % test sur la saturation de l'image
+    RES = [double(Max_image_brute)];
+    fprintf('max pixel =  %13.2f \n',RES )
+    %return
+elseif Max_image_brute<300
+    warning_intensite = 1;
+end
+
+
+if ArchiveFlag
+    toto = 0;
+    if isempty(FileName)
+        FileName = appendtimestamp(getfamilydata('Default', 'PINHOLEArchiveFile'));
+        DirectoryName = getfamilydata('Directory', 'PINHOLE');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+        else
+            % Make sure default directory e('l''image est saturÃ©e - modifier l''attÃ©nuateur')xists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select a Pinhole File ("Save" starts measurement)', [DirectoryName FileName]);
+        if FileName == 0
+            ArchiveFlag = 0;
+            disp('   Pinhole registration canceled.');
+            toto = 1;
+            %return
+        else
+            FileName = [DirectoryName, FileName];
+        end
+
+    elseif FileName == -1
+        FileName = appendtimestamp(getfamilydata('Default', 'QUADArchiveFile'));
+        DirectoryName = getfamilydata('Directory', 'QUAD');
+        FileName = [DirectoryName, FileName];
+    end
+
+    rep.CreatedBy = 'getpinhole';
+    rep.t         = t0;
+    rep.tout      = etime(clock,t0);
+    rep.TimeStamp = datestr(clock);
+    if toto == 0
+        save(FileName,'rep');
+    end
+    fprintf('Data save in filename %s \n', FileName);
+    %fprintf('***************************************************************** \n');
+
+end
+
+if ~ScriptFlag
+
+fprintf('*********** paramÃštres instrumentation pinhole **************** \n');
+fprintf('attÃ©nuateur (nb pas) %22.2f \n',rep.attenuateur);
+fprintf('position H de la pinhole %18.2f \n',rep.pos_H_pinhole);
+fprintf('position V de la pinhole %18.2f \n',rep.pos_V_pinhole);
+fprintf('position gonio de la pinhole %14.2f \n',rep.pos_gonio_pinhole);
+fprintf('position rotation de la pinhole %11.2f \n',rep.pos_rot_pinhole);
+fprintf('position H de la camera  %12.2f \n',rep.posH);
+fprintf('position V de la camera  %12.2f \n',rep.posV);
+fprintf('mise au point de la camera  %9.2f \n',rep.point);
+fprintf('Grandissement de la partie visible %12.2f \n',rep.growth);
+fprintf('Distance Pinhole - Convertisseur plan H :%10.4f \n', rep.DistPinholeH2Convert);	
+fprintf('Distance Pinhole - Convertisseur plan V :%10.4f \n', rep.DistPinholeV2Convert);	
+fprintf('Distance source - Pinhole plan H :%10.4f \n', rep.DistSource2PinholeH);	
+fprintf('Distance source - Pinhole plan V :%10.4f \n', rep.DistSource2PinholeV);	
+fprintf('Taille des pinholes en microns: %12.2f  H et %5.2f V\n',rep.pinholesizeH,rep.pinholesizeV);
+
+
+fprintf('*********** paramÃštres faisceau gÃ©nÃ©raux ********************** \n');
+fprintf('courant dcct %20.2f \n', rep.current);
+fprintf('IntensitÃ© maximale sur la CCD %20.2f \n',Max_image_brute);
+
+fprintf('***** paramÃštres faisceau sur convertisseur X-> visible ******* \n');
+fprintf('sigmax au convertisseur en Âµm %14.2f \n', rep.sigmax);
+fprintf('sigmaz au convertisseur en Âµm %14.2f \n', rep.sigmaz);
+
+fprintf('********* paramÃštres faisceau au point source ***************** \n');
+% fprintf('sigmax au point source en Âµm %14.2f \n', rep.sigmax/(rep.DistPinholeH2Convert/rep.DistSource2PinholeH));
+% fprintf('sigmaz au point source en Âµm %14.2f \n', rep.sigmaz/(rep.DistPinholeV2Convert/rep.DistSource2PinholeV));
+sigmax_point_source = 1e6*sqrt(rep.emittanceX*1e-9*rep.betaX + rep.etaX*rep.etaX*1.01e-3*1.01e-3);
+sigmaz_point_source = 1e6*sqrt(rep.emittanceZ*1e-12*rep.betaZ + rep.etaZ*rep.etaZ*1.01e-3*1.01e-3);
+
+fprintf('sigmax au point source en Âµm %14.2f \n', sigmax_point_source);
+fprintf('sigmaz au point source en Âµm %14.2f \n', sigmaz_point_source);
+fprintf('tilt de l''ellipse  %15.1f \n', rep.GaussianFitTilt);
+
+fprintf('******************************************************************************************************* \n');
+fprintf('---I dcct (mA)-----Emittance X(nm)---Emittance Z(pm)----Couplage (10-2) \n')
+RES = [rep.current rep.emittanceX rep.emittanceZ (rep.emittanceZ/rep.emittanceX)/10]; % modif 7 sept 2008 -> == DSERVER EMITTANCE
+fprintf('   %8.2f         %8.2f         %8.2f            %8.2f  \n',RES)
+fprintf('******************************************************************************************************* \n');
+
+end
+
+if warning_intensite == 1
+        disp('   Attention l''illumination de la camera est faible ');
+        disp('   veillez Ã  recommencer en diminuant l''attÃ©nuateur ');
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/couplage/setskewcorrection.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/couplage/setskewcorrection.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/couplage/setskewcorrection.m	(revision 17)
@@ -0,0 +1,664 @@
+function setskewcorrection(varargin)
+% setskewcorrection - coupling correction with CTCO and dispersion measurement method
+%  setskewcorrection('Online')
+
+%  INPUT
+%  Optional
+%  'Archive', 'Display'
+%  Optional override of the mode:
+%     'Online'    - Set/Get data online
+%     'Model'     - Get the model chromaticity directly from AT (uses modelchro, DeltaRF is ignored)
+%     'Simulator' - Set/Get data on the simulated accelerator using AT (ie, same commands as 'Online')
+%
+%  OUPUTS
+%
+%
+%  ALGORITHM
+
+%
+%  See Also
+
+%
+%  Written by M-A. Tordeux
+
+DisplayFlag = 1;
+ArchiveFlag = 1;
+FileName = '';
+ModeFlag = 'Model';  % model, online, manual, 'Model' for default mode
+waittime = 0.5; %seconds taken into account for simulator and Online
+OutputFlag = 1;
+
+MeasurementFlag = 0 ; % s
+CorrectionFlag = 1 ; % Si Ã  zÃ©ro pas de correction
+PostMeasurementFlag = 1 % Mesure aprÃšs correction du couplage
+Params = [1e3 32 100] ; % ParamÃštres par dÃ©faut de la correction
+% Params(1) : poids Dz
+% Params(2) : nb de valeurs propres de lamatrice efficacite QT
+% Params(3) : pourcentage de correction appliquÃ©
+
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+        handles.caller = varargin{i}.figure1;
+        M = getappdata(handles.caller,'M'); % paramÃštres mesure
+        S = getappdata(handles.caller,'S'); % paramÃštres correction
+        Diaphonie = getappdata(handles.caller,'Diaphonie'); %
+        DeltaI_HCOR = M.Param1 ;
+        waittime = M.Param2 ;
+        PoidsDz = S.Param1 ;
+        nbvp = S.Param2 ;
+        pourcentage = S.Param3 ;             
+    elseif iscell(varargin{i})
+        % Ignore cells
+        % store handle from caller
+        handles.caller = varargin{i}.figure1;
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator') || strcmpi(varargin{i},'Model') ...
+            || strcmpi(varargin{i},'Online') || strcmpi(varargin{i},'Manual')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Measurement')
+        MeasurementFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoMeasurement')
+        MeasurementFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Correction')
+        CorrectionFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoCorrection')
+        CorrectionFlag = 0;
+        varargin(i) = [];    
+%     elseif isnumeric(varargin{i})
+%         Params = varargin{i};
+%         varargin(i) = []; 
+    end
+end
+
+
+
+if strcmpi(ModeFlag,'Model')
+    waittime = -1;
+    OutputFlag = 0;
+elseif strcmpi(ModeFlag,'Online')
+    %waittime = 2.8;  % 5 secondes car pb alim correcteurs % 2.8 s 24 octobre 08
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% en attente de mettre dans un fichier
+CT_DIAG = 0.01* [    -0.7000   -3.1700   -2.6800   -3.0200   -0.1500   -3.2000   -4.0300    2.7100   -3.3500   -0.6200   -2.4000    1.0000   -2.4000   -1.1600   -2.4100    0.8100   -1.4600   -2.8500   -4.2300...
+    0.9200   -0.9600   -3.4100    0.3100    1.4600   -4.9700   -3.1100   -1.5700   -3.3600   -5.6000   -4.7800    3.2300   -4.9300   -4.2700   -3.5100   -6.6700   -2.3700   -3.2000   -0.3800   -3.5000...
+   -3.8600   -4.0300    0.0800   -2.9000   -5.0300   -3.0300    1.5300   -6.5200   -4.3900   -1.7500    1.0700   -5.1400   -3.1300   -4.5200   -1.4500   -1.9800    3.4100    0.9100   -2.3100   -0.0800...
+   -0.5400    1.2200   -3.3600   -2.9100   -3.5900   -3.6500   -4.5700   -2.5200    2.2800   -2.4200   -1.1400   -4.4900    2.2900   -5.9800   -4.2700   -3.1300   -0.1500   -4.5700   -4.8700   -2.9700...
+    1.1400    0.9100   -2.2000   -0.3800   -2.9600   -1.2900   -0.3800   -0.2300   -0.3800   -0.4900   -3.5700   -0.3500   -1.4700   -1.4800   -1.6800   -3.5300   -0.6300   -4.1500    1.5400   -2.3200...
+   -1.7300   -2.0200    3.1500   -0.6100   -3.9200   -3.8300    1.9500   -1.8900    2.5400   -2.3900    1.0500   -0.3500   -1.6100   -3.3000    1.7100    0.6200    0.1500   -2.2500   -0.080    -0.080  -3.1900];
+% crosstalk mesurÃ© par groupe diag avril 2007
+% attention premier BPM mml = [1 2] d'ou  la permutation du premier crosstalk (-3.19%)
+
+CT_LOCO =  [ ...
+   -0.0088   -0.0268   -0.0133   -0.0200   -0.0190   -0.0218   -0.0527   -0.0073   -0.0127   -0.0153   -0.0272    0.0026   -0.0284 ...
+   -0.0157   -0.0215    0.0055   -0.0463   -0.0139   -0.0532   -0.0046   -0.0466   -0.0357   -0.0174    0.0165   -0.0249   -0.0296 ...
+   -0.0364   -0.0327   -0.0387   -0.0445    0.0209   -0.0416   -0.0342   -0.0286   -0.0317   -0.0417   -0.0284   -0.0219   -0.0455 ...
+   -0.0267   -0.0280   -0.0051   -0.0402   -0.0641   -0.0442   -0.0018   -0.0523   -0.0252   -0.0314    0.0074   -0.0301   -0.0320 ...
+   -0.0298    0.0068   -0.0126   -0.0137   -0.0180   -0.0174   -0.0157    0.0011   -0.0015   -0.0292   -0.0256   -0.0393   -0.0419 ...
+   -0.0405   -0.0453    0.0055   -0.0254   -0.0120   -0.0349    0.0092   -0.0165   -0.0133   -0.0368   -0.0108   -0.0199   -0.0276 ...
+   -0.0259    0.0076   -0.0147   -0.0408   -0.0077   -0.0158   -0.0049   -0.0190   -0.0135   -0.0082   -0.0212   -0.0499    0.0004 ...
+   -0.0194   -0.0123   -0.0155   -0.0115   -0.0200   -0.0487    0.0081   -0.0325   -0.0099   -0.0343    0.0147   -0.0063   -0.0149 ...
+   -0.0323    0.0099   -0.0183   -0.0058   -0.0205    0.0131   -0.0121   -0.0042   -0.0342    0.0116   -0.0189   -0.0176   -0.0033 ...
+   -0.0186   -0.0287   -0.0273...
+   ];  % !!!!! fausses valeurs !!
+CT_LOCO_bis_H = [ ...
+ -0.0132   -0.0003   -0.0043   -0.0171   -0.0233    0.0112   -0.0297   -0.0180    0.0071   -0.0046 ...
+ -0.0217   -0.0112   -0.0054    0.0040   -0.0264   -0.0127   -0.0262   -0.0096   -0.0279   -0.0195 ...
+ -0.0338   -0.0141   -0.0124   -0.0080   -0.0157   -0.0093   -0.0132    0.0022   -0.0168   -0.0246 ...
+ -0.0029   -0.0151   -0.0166   -0.0304   -0.0181   -0.0067   -0.0060   -0.0136   -0.0156   -0.0233 ...
+ -0.0168   -0.0102   -0.0234   -0.0313   -0.0225   -0.0107   -0.0158   -0.0205   -0.0201   -0.0049 ...
+ -0.0150   -0.0086   -0.0151   -0.0014    0.0028    0.0041   -0.0164   -0.0002   -0.0021   -0.0018 ...
+ -0.0060   -0.0176   -0.0171   -0.0244   -0.0175   -0.0093   -0.0234   -0.0114   -0.0024   -0.0041 ...
+ -0.0224    0.0073   -0.0086   -0.0041   -0.0197   -0.0115    0.0148   -0.0245   -0.0254    0.0009 ...
+  0.0021   -0.0159   -0.0096   -0.0171   -0.0195   -0.0284   -0.0160   -0.0085   -0.0152   -0.0242 ...
+ -0.0115   -0.0138   -0.0090   -0.0212   -0.0091   -0.0147   -0.0310   -0.0124   -0.0122   -0.0028 ...
+ -0.0250   -0.0100   -0.0186   -0.0078   -0.0109   -0.0068    0.0045   -0.0062   -0.0239   -0.0009 ...
+  -0.0036   -0.0083   -0.0196   -0.0074   -0.0207   -0.0096    0.0086    0.0095   -0.0165   -0.0090 ...
+   ]; % 14 dÃ©cembre 2009
+CT_LOCO_bis_V = [...
+   -0.0015   -0.0240   -0.0121   -0.0192   -0.0196   -0.0173   -0.0528   -0.0049   -0.0123   -0.0176 ...
+ -0.0323    0.0035   -0.0300   -0.0137   -0.0177    0.0040   -0.0423   -0.0166   -0.0563   -0.0058 ...
+ -0.0485   -0.0287   -0.0082    0.0141   -0.0255   -0.0333   -0.0386   -0.0217   -0.0382   -0.0430 ...
+  0.0161   -0.0375   -0.0347   -0.0291   -0.0293   -0.0398   -0.0239   -0.0178   -0.0371   -0.0317 ...
+ -0.0309   -0.0072   -0.0466   -0.0580   -0.0340   -0.0038   -0.0454   -0.0289   -0.0248    0.0088 ...
+ -0.0359   -0.0300   -0.0252    0.0101   -0.0089   -0.0151   -0.0220   -0.0217   -0.0173    0.0005 ...
+  -0.0004   -0.0215   -0.0283   -0.0419   -0.0468   -0.0388   -0.0440    0.0032   -0.0216   -0.0130 ...
+ -0.0368    0.0121   -0.0191   -0.0125   -0.0332   -0.0076   -0.0178   -0.0315   -0.0302    0.0115 ...
+  -0.0163   -0.0332   -0.0033   -0.0170   -0.0053   -0.0230   -0.0130   -0.0104   -0.0203   -0.0505 ...
+ -0.0011   -0.0198   -0.0124   -0.0142   -0.0120   -0.0195   -0.0467    0.0060   -0.0325   -0.0165 ...
+ -0.0412    0.0144   -0.0213   -0.0182   -0.0314    0.0084   -0.0164   -0.0097   -0.0208    0.0189 ...
+  -0.0102   -0.0004   -0.0286    0.0142   -0.0236   -0.0203   -0.0064   -0.0192   -0.0323   -0.0344 ...
+ ];
+
+if isequal(Diaphonie,'LOCO')
+    %CT = CT_LOCO;
+    disp('Diaphonie calculÃ©e par LOCO')
+else
+    %CT = CT_DIAG;
+    disp('Diaphonie mesurÃ©e en labo')
+end
+
+%% RÃ©sultats fit LOCO redÃ©marrage run 2 2009
+if strcmpi(ModeFlag,'Online')
+    %load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2009-03-06a/160quad.mat') % LOCO/2009-03-06a
+    load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2009-11-22/160quad.mat')
+    iter = 3;
+    HBPMgain = BPMData(iter).HBPMGain;
+    VBPMgain = BPMData(iter).VBPMGain;
+    HBPMcoupling = BPMData(iter).HBPMCoupling;
+    VBPMcoupling = BPMData(iter).VBPMCoupling;
+    HCMkick = CMData(iter).HCMKicks;
+    meanHCMkick = mean(HCMkick);
+
+    C = zeros(120,2,2);
+    for ik =1:120,
+        C(ik,:,:)= [ HBPMgain(ik)       HBPMcoupling(ik) 
+                     VBPMcoupling(ik)   VBPMgain(ik)      ];
+        Cinv(ik,:,:) = inv(squeeze(C(ik,:,:)));
+    end
+end
+%%
+
+if MeasurementFlag
+    %Indexskewquad = family2atindex('QT');% Index of skew quadrupoles
+    %Meffskewquad_CTO = zeros(120,120,32); % premiÃšre matrice : efficacitÃ© vis Ã  vis des orbites fermÃ©es croisÃ©es
+    %Etalonnage = zeros(2,120,32);
+    DeviceNumber_HCOR = 0;
+    
+    % graphe
+    lim = 0.10* DeltaI_HCOR / 0.6; % en mm, valeur max estimÃ©e des CTCO pour graphe
+
+
+    if ArchiveFlag  % enregistrement de la matrice reponse dispersion
+        if isempty(FileName)
+            FileName = appendtimestamp('SkewMeasurement');
+            DirectoryName = getfamilydata('Directory', 'SkewResponse');
+            if isempty(DirectoryName)
+                %             DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+            else
+                % Make sure default directory exists
+                DirStart = pwd;
+                [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+                cd(DirStart);
+            end
+            [FileName, DirectoryName] = uiputfile('*.mat', 'Select a Skew File ("Save" starts measurement)', [DirectoryName FileName]);
+            if FileName == 0
+                ArchiveFlag = 0;
+                disp('   Skew efficiency measurement canceled.');
+                return
+            end
+            FileName = [DirectoryName, FileName];
+        elseif FileName == -1
+            FileName = appendtimestamp(getfamilydata('Default', 'SkewArchiveFile'));
+            DirectoryName = getfamilydata('Directory', 'SkewResponse');
+            FileName = [DirectoryName, FileName];
+        end
+    end
+
+    % Starting time
+    t0 = clock;
+
+    %for k1 = 1:length(QuadFam),
+
+    if ~isfamily('QT')
+        error('%s is not a valid Family \n', 'QT');
+        return;
+    end
+
+    DeviceList_QT = family2dev('QT');
+    DeviceList_HCOR = family2dev('HCOR');
+
+   if strcmpi(ModeFlag,'Online') 
+    %%%%
+    temp=tango_read_attribute2('ANS-C02/DG/PHC-EMIT','EmittanceH'); pinhole.emitH= temp.value;
+    temp=tango_read_attribute2('ANS-C02/DG/PHC-EMIT','EmittanceV'); pinhole.emitV= temp.value;
+    temp=tango_read_attribute2('ANS-C02/DG/PHC-EMIT','Coupling'); pinhole.coupling= temp.value;
+    temp=tango_read_attribute2('ANS-C02/DG/PHC-IMAGEANALYZER','XProjFitSigma'); pinhole.XProjFitSigma=temp.value;
+    temp=tango_read_attribute2('ANS-C02/DG/PHC-IMAGEANALYZER','YProjFitSigma'); pinhole.YProjFitSigma= temp.value;
+    temp=tango_read_attribute2('ANS-C02/DG/PHC-IMAGEANALYZER','GaussianFitCovarianceXY'); pinhole.GaussianFitCovarianceXY=temp.value;
+    temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');   pinhole.cur=temp.value;
+    %%%%%%
+   end
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % dispersion measurement
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if strcmpi(ModeFlag,'Online')
+    FileName_DISP = appendtimestamp('Dispersion_V')
+    FileName_DISP = ['/home/matlabML/machine/SOLEIL/StorageRing/fonction_test/couplage/'   FileName_DISP];
+    measdisp('Archive',FileName_DISP,'NoDisplay'); % on sauvegarde les mesures brutes cette fois
+    Dx_Meas = getdisp('BPMx',FileName_DISP,'Physics');
+    Dy_Meas = getdisp('BPMz',FileName_DISP,'Physics');
+        
+    figure(304);plot(Dy_Meas,'bo-'),title('Mesures brutes')
+    Dy_plot = Dx_Meas.*Cinv(:,2,1) + Dy_Meas.*Cinv(:,2,2);
+    figure(305);plot(Dy_plot,'ro-'),title('Mesures corrigÃ©es')
+    sleep(waittime*2)
+else
+    [Dx_Meas Dy_Meas] = modeldisp('BPMx');
+    figure(689);plot(Dy_Meas,'o-');ylabel('Dispersion V (m)')
+    figure(690);plot(Dx_Meas,'o-');ylabel('Dispersion H (m)')
+end
+%     if strcmpi(ModeFlag,'Online')
+%         Dy_Meas = Dy_Meas - Dx_Meas.*CT';
+%     end
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % CrossTalk closed orbit measurement
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+    for k2 = 1:length(DeviceList_HCOR),
+
+        Xof0 = getx(ModeFlag); % Horizontal reference orbit
+        Zof0 = getz(ModeFlag); % Vertical reference orbit
+        if strcmpi(ModeFlag,'Online')
+            Zof0 = Zof0 - Xof0.*CT_DIAG';
+        end
+
+        DeviceNumber_HCOR = DeviceNumber_HCOR + 1;
+        Ic_HCOR = getam('HCOR', DeviceList_HCOR(k2,:), ModeFlag);
+        if OutputFlag
+                    fprintf('Measuring %s [%d %d] actual current %f A : ... \n', ...
+                        'HCOR', DeviceList_HCOR(k2,:),Ic_HCOR)  % pour suivi
+        end
+
+        %DeltaI_HCOR = 0.6*1.; % 0.6 Amp : choix d'une orbite infÃ©rieure Ã  1 mm
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        stepsp('HCOR', DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Step value
+        sleep(waittime) % wait for HCOR reaching new setpoint value
+
+        Xof1 = getx(ModeFlag) ; orbiteX1(:,DeviceNumber_HCOR) = Xof1;
+        Zof1 = getz(ModeFlag) ; orbiteZ1(:,DeviceNumber_HCOR) = Zof1;
+        if strcmpi(ModeFlag,'Online')
+            Zof1 = Zof1 - Xof1.*CT_DIAG';
+        end
+        DevMaxX = max(Xof0-Xof1);
+        fprintf('-     DÃ©viation maximale induite : %4.3f mm  \n',DevMaxX) % pour tester la validitÃ© de DeltaI
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        stepsp('HCOR', -2*DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Step value
+        sleep(waittime) % wait for HCOR reaching new setpoint value
+
+        Xof2 = getx(ModeFlag) ;  orbiteX2(:,DeviceNumber_HCOR) = Xof2;
+        Zof2 = getz(ModeFlag) ;  orbiteZ2(:,DeviceNumber_HCOR) = Zof2;
+        if strcmpi(ModeFlag,'Online')
+            Zof2 = Zof2 - Xof2.*CT_DIAG';
+        end
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        stepsp('HCOR', DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Initial value
+        sleep(waittime) % wait for HCOR reaching new setpoint value
+
+        
+        %% computation part
+
+        DeltaZof = Zof2-Zof1 ; % HCOR induced Orbit shift 
+        figure(13) ; plot(getspos('BPMz'),DeltaZof) ; grid on ;
+        title('orbite verticale induite par le kick horizontal');
+        ylabel('diffÃ©rence d''orbite V en mm');
+        xlabel('abscisse machine (m)')
+        ylim([-0.05 0.05])
+        DevMaxZ = max(DeltaZof);
+        
+        CTCO_Meas(:,DeviceNumber_HCOR) = DeltaZof/(-2*DeltaI_HCOR) ; % mm/A
+        CTCO_Etalonnage(1,DeviceNumber_HCOR) = DevMaxX;
+        CTCO_Etalonnage(2,DeviceNumber_HCOR) = DevMaxZ ; % Amplitude test
+
+    end
+
+    
+
+    %     if DisplayFlag
+    %
+    %     end
+
+    if ArchiveFlag
+        directory_actuelle = pwd;
+        cd(DirectoryName)
+       if strcmpi(ModeFlag,'Online')
+        save(FileName,'CTCO_Meas','CTCO_Etalonnage','Dx_Meas','Dy_Meas',...
+            'orbiteX1','orbiteX2','orbiteZ1','orbiteZ2','DeltaI_HCOR','pinhole','-mat');
+       else
+           save(FileName,'CTCO_Meas','CTCO_Etalonnage','Dx_Meas','Dy_Meas',...
+            'orbiteX1','orbiteX2','orbiteZ1','orbiteZ2','DeltaI_HCOR','-mat');
+        end
+        %save(FileName,'CTCO_Meas','CTCO_Etalonnage','-mat'); % cas ou DCCT pb communication
+        cd(directory_actuelle);
+    end
+
+    disp('Registration ended')
+
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Coupling correction
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+if CorrectionFlag
+    if ~MeasurementFlag
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % Measurement loading
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %%%%%%%%%%%%%%%%%%%%%%%%% model
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewRespMat_2007-06-05_19-33-04.mat')
+        %         S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-06-07_15-22-51.mat') % dÃ©fauts = QT=[1 -1 1 -1,etc..
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-06-08_11-27-15_tirage_defauts.mat') % tirage dÃ©fauts
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-06-18_15-40-27_graine_n9.mat')
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-10_15-32-57_graine_DIPOLE+-5mrad.mat')
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-11_10-29-00_graine_dipole+-5mrad.mat')
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-11_10-54-56_graine_dipoles_++5mrad.mat')
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-11_11-21-19_graine_n18.mat')
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-13_14-32-22_graine_+1-1AcorrV.mat')
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-13_17-45-18_graine18.mat')
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-16_18-34-14_orbite_non_moyennee.mat');
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-16_20-42-47_orbite_non_moyennee_iter2.mat');
+        %S = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-07-18_17-23-38_graine_n9bis.mat')
+        %S = load('-mat','/home/matlabML/measdata/SOLEIL/Ringdata/Response/Skew/SkewMeasurement_2007-09-02_14-28-06_HU640_-600A_nux-2600_avant_corr.mat')
+        %S = load('-mat','/home/matlabML/measdata/SOLEIL/Ringdata/Response/Skew/SkewMeasurement_2007-09-10_11-50-11_HU640_p600A_nux_-26.mat')
+
+        DirectoryName = getfamilydata('Directory', 'SkewResponse');
+        if isempty(DirectoryName)
+            %             DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [FileName, DirectoryName] = uigetfile('*.mat', 'Select a Skew File ("Save" starts measurement)', [DirectoryName FileName]);
+        if FileName == 0
+            ArchiveFlag = 0;
+            disp('   Skew efficiency measurement canceled.');
+            return
+        end
+        FileName = [DirectoryName, FileName];
+
+        S = load(FileName);
+        %         Dy_Meas = S.Dy_Meas;
+        %         CTCO_Meas = S.CTCO_Meas;
+        
+        if strcmpi(ModeFlag,'Model')
+            Dy_Meas = S.Dy_Meas;
+            DeviceList_HCOR = family2dev('HCOR');
+            CTCO_Meas = S.CTCO_Meas;
+            disp('?')
+
+        else
+
+            if strcmp(Diaphonie,'DIAG')   % Diaphonie mesurÃ©e en labo
+                if isfield(S,'DeltaI_HCOR') % alors on a enregistrÃ© les mesures brutes
+                    Dy_Meas = S.Dy_Meas - S.Dx_Meas.*CT_DIAG';
+                else % anciennes mesures : on avait corrigÃ© les mesures brutes avant de les enregistrer
+                    Dy_Meas = S.Dy_Meas;
+                end
+
+                CTCO_Meas = S.CTCO_Meas;
+            else    % Diaphonie calculÃ©e par LOCO
+
+                DeviceList_HCOR = family2dev('HCOR');
+                if isfield(S,'orbiteX1')
+
+                    for k = 1:length(DeviceList_HCOR)
+                        %Zof1(:,k) = S.orbiteZ1(:,k) - S.orbiteX1(:,k).*CT';
+                        Zof1(:,k) = S.orbiteX1(:,k).*Cinv(:,2,1) +S.orbiteZ1(:,k).*Cinv(:,2,2);
+                    end
+
+
+                    for k = 1:length(DeviceList_HCOR)
+                        %Zof2(:,k) = S.orbiteZ2(:,k) - S.orbiteX2(:,k).*CT';
+                        Zof2(:,k) = S.orbiteX2(:,k).*Cinv(:,2,1) +S.orbiteZ2(:,k).*Cinv(:,2,2);
+
+                    end
+
+                    DeltaZof = Zof2-Zof1 ;
+
+                    if isfield(S,'DeltaI_HCOR')
+                        CTCO_Meas = DeltaZof/(-2*S.DeltaI_HCOR) ;
+                    else
+                        DeltaI_HCOR = 0.2 ; % A VERIFIER !!!!!
+                        CTCO_Meas = DeltaZof/(-2*DeltaI_HCOR) ;
+                    end
+                    % s.CTCO_Meas./DeltaZof % verification
+
+                    if isfield(S,'DeltaI_HCOR')
+                        Dy_Meas = S.Dx_Meas.*Cinv(:,2,1) + S.Dy_Meas.*Cinv(:,2,2); % Dy mesurï¿œ est brut puisqu'on a enregistrï¿œ DeltaI_HCOR
+                        figure(302); plot(Dy_Meas,'ro-');title(' CHECK !! reconstitution de la dispersion verticale')
+                    else
+                        Dy_Measbrut = S.Dy_Meas + S.Dx_Meas.*CT_DIAG'; % retour au Dz originel car oubli dans  script enregistrement
+                        %%Dy_Meas = S.Dy_Measbrut - S.Dx_Meas.*CT'; %
+                        Dy_Meas = S.Dx_Meas.*Cinv(:,2,1) + Dy_Measbrut.*Cinv(:,2,2);
+                    end
+                else
+                    disp('l''enregistrement ne contiens pas les valeurs orbiteX1, etc..')
+                    return
+                end
+
+            end
+        end
+        %%%%%%%%%%%%%%%%%%%%%%%%% online
+        %         S1 = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-06-11_12-53-30.mat') % mesure sur machine du lundi 11 juin
+        %         Dy_Meas = S1.Dy_Meas;
+        %         S2 = load('-mat','/home/matlabML/measdata/Ringdata/Response/Skew/SkewMeasurement_2007-06-11_12-25-27.mat') % mesure sur machine du lundi 11 juin
+        %         CTCO_Meas = S2.CTCO_Meas;
+    end
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Efficiency Matrix loading
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %pourcentage = 100 ; % 100% de la correction proposÃ©e sera appliquÃ©e
+    %S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2007-03-09_16-46-16_deuxieme_test.mat')
+    %S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2010-06-17_13-41-00_DISP_nano_20_64.mat')
+    %%% S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-10_13-47-38_alphaby10_maher_opt_32QT_DISP')
+%     S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-14_10-36-42_alphaby10_maher_opt_DISP_BIS')
+%S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-21_19-02-21_32QT_optique_nanoscopiumLIKE_DISP')
+%S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-09-23_11-18-19_lat_nanoscopiumLIKE_122BPM_DISP')
+%S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-10-06_09-23-22_lat_nano_17_25_chicane_0_disp')
+     
+     S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-10-11_17-51-37_lat_nano_17_25_disp')
+%     S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-09-22_15-46-11_lat_nano_17_25_bis_DISP')
+    %S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-13_13-27-54_betax5m_32QT_DISP')
+    % run 27 octobre 08
+    %S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2008-10-24_15-03-20_DISP_nux_0-27_nuz_0-32.mat')
+    Meffskewquad_D = S_D.Meffskewquad_D;
+    %Meffskewquad_D = [Meffskewquad_D(:,1:23) Meffskewquad_D(:,25:32)] % exclure le Skew montÃ© en Quad
+    % S_CTCO =
+    % load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2007-06-03_23-13-56_CTCO_theorique.mat') nominal
+    %%%% S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-10_11-52-51_alphaby10_maher_opt_32QT_CTCO')
+%     S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-13_14-30-15_alphaby10_maher_opt_32QT_CTCO_DeltaH0_2A')
+% S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-21_18-03-17_32QT_optique_NanoscopiumLIKE_CTCO')
+%S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-09-23_09-18-24_lat_nanoscopiumLIKE_122BPM_CTCO')
+%S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-10-05_18-30-43_lat_nano_17_25_chicane_0_CTCO')
+    S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-10-11_18-08-11_lat_nano_17_25_CTCO')
+    
+    
+%     S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-09-22_13-58-13_lat_nano_17_25_CTCO_bis_CTCO')
+    %S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-13_11-06-05_betax5m_32QT_CTCO')
+    %S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2010-06-17_12-13-58_CTCO_lat_nano_20_64.mat')
+    % run 27 octobre 08
+    %S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2008-10-24_09-19-19_CTCO_nux_0-27_nuz_0-32.mat')
+    Meffskewquad_CTCO = S_CTCO.Meffskewquad_CTCO;
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Coupling Matrix construction (depending on Relative Dispersion correction weigth)
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    %PoidsDz = Params(1)*ones(1,120);  % 1e3*ones(1,120); %  Relative Dispersion correction weigth
+    
+
+    DeviceList_QT = family2dev('QT');
+    DeviceList_HCOR = family2dev('HCOR');
+    DeviceList_BPMz = family2dev('BPMz');
+    
+    nb = length(DeviceList_BPMz);
+    PoidsDz = PoidsDz*ones(1,nb);  % 1e3*ones(1,120); %  Relative Dispersion correction weigth
+
+    for l = 1:length(DeviceList_QT)
+        for k = 1:length(DeviceList_QT)
+            A_Dz(l,k) = sum(PoidsDz'.*Meffskewquad_D(:,l).*Meffskewquad_D(:,k)); % VÃ©rifier dimension de PoidsDz
+        end
+    end
+    for l = 1:length(DeviceList_QT)
+        for k = 1:length(DeviceList_QT)
+            for j = 1:length(DeviceList_HCOR)
+                T(j) = sum(Meffskewquad_CTCO(:,j,l).*Meffskewquad_CTCO(:,j,k));
+            end
+            A_CTCO(l,k) = sum(T(:));
+        end
+    end
+    MeffSkewQuad =   A_Dz +   A_CTCO;
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Second member vector evaluation ( also depending on Relative Dispersion correction weigth !!)
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    for l = 1:length(DeviceList_QT)
+        B_Dz(l) = sum(PoidsDz'.*Meffskewquad_D(:,l).*Dy_Meas(:)); % VÃ©rifier dimension de PoidsDz
+    end
+    for l = 1:length(DeviceList_QT)
+
+        for j = 1:length(DeviceList_HCOR)
+            T(j) = sum(Meffskewquad_CTCO(:,j,l).*CTCO_Meas(:,j));
+        end
+        B_CTCO(l) = sum(T(:));
+
+    end
+    coeff_Dz = -1; coeff_CTCO = 0 ;   % coeff_Dz / coeff_CTCO = -1 -> annulation du couplage dispersion / orbites croisÃ©es (betatron)
+    SecondMember =   + coeff_Dz * B_Dz + coeff_CTCO *  B_CTCO;
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Correction ( also depending on Relative Dispersion correction weigth !!)
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    couleur = 'k-o' % changer la couleur pour chaque valeur de nbvp (sauf blue)
+    [U,S,V] = svd(MeffSkewQuad);
+    figure(4) ; semilogy(diag(S));title('MeffSkewQuad  -  PoidsDz = 0');xlabel('No EigenValue');
+    DiagS = diag(S);
+    %nbvp = Params(2) ; % 32  %  length(DiagS);  % NOMBRE DE VALEURS PROPRES
+    Rmod1 = MeffSkewQuad * V(:,1:nbvp);
+    B1 = Rmod1\ (SecondMember' ); % SeconMember en ?
+    Deltaskewquad = V(:,1:nbvp) * B1
+    %figure(20) ; hold on ; plot(Deltaskewquad,couleur) ; title('Valeur des QT en A')
+    figure(20) ; hold on ; plot(Deltaskewquad,'Color',nxtcolor) ; title('Valeur des QT en A')
+    consigne = getsp('QT',ModeFlag);
+    %consigne = [consigne(1:23)' consigne(25:32)']'
+
+    %pourcentage = Params(3) % 100;  % POURCENTAGE DE LA CORRECTION
+    val_max = 7 ; val_min = -7 ;
+    if all((consigne + Deltaskewquad* pourcentage*0.01)<val_max)*all((consigne +Deltaskewquad* pourcentage*0.01)>val_min);
+        %Deltaskewquad = [Deltaskewquad(1:23)' 0 Deltaskewquad(24:31)']'
+%%
+      
+        stepsp('QT',Deltaskewquad* pourcentage*0.01,ModeFlag); %
+        correction = getam('QT',ModeFlag)
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%% mesure sur la machine aprÃšs correction
+        if PostMeasurementFlag
+            [Dxapres,Dyapres] = measdisp('Physics',ModeFlag)
+            if strcmpi(ModeFlag,'Online')
+                Dyapres = Dxapres.*Cinv(:,2,1) + Dyapres.*Cinv(:,2,2); % 
+            end
+            sleep(waittime)
+            figure(25) ; hold on ; plot(getspos('BPMz'),Dy_Meas,'bo-') ;
+            hold on ; plot(getspos('BPMz'),Dyapres,couleur );legend('Dispersion V avant correction','apres correction')
+
+            DeviceNumber_HCOR = 0;
+            for k2 =1:3
+                DeviceNumber_HCOR = DeviceNumber_HCOR + 1;
+                Ic_HCOR = getam('HCOR', DeviceList_HCOR(k2,:), ModeFlag);
+                if OutputFlag
+                    fprintf('Measuring %s [%d %d] actual current %f A : ... \n', ...
+                        'HCOR', DeviceList_HCOR(k2,:),Ic_HCOR)  % pour suivi
+                end
+
+                %DeltaI_HCOR = 0.6*1.; % 0.6 Amp : choix d'une orbite infÃ©rieure Ã  1 mm
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                stepsp('HCOR', DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Step value
+                sleep(waittime) % wait for HCOR reaching new setpoint value
+
+                Xof1 = getx(ModeFlag) ;
+                Zof1 = getz(ModeFlag) ;
+                if strcmpi(ModeFlag,'Online')
+                    Zof1(:,k) = Xof1(:,k).*Cinv(:,2,1) +Zof1(:,k).*Cinv(:,2,2);    
+                end
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                stepsp('HCOR', -2*DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Step value
+                sleep(waittime) % wait for HCOR reaching new setpoint value
+
+                Xof2 = getx(ModeFlag) ;
+                Zof2 = getz(ModeFlag) ;
+                if strcmpi(ModeFlag,'Online')
+                    Zof2(:,k) = Xof2(:,k).*Cinv(:,2,1) +Zof2(:,k).*Cinv(:,2,2); 
+                end
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                stepsp('HCOR', DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Initial value
+                sleep(waittime) % wait for HCOR reaching new setpoint value
+
+                %% computation part
+
+                DeltaZof = Zof2-Zof1 ; % HCOR induced Orbit shift
+
+                if k2 == 1
+                    figure(21) ; hold on ; plot(getspos('BPMz'),DeltaZof,couleur) ; 
+                    if exist('lim') ylim([-lim lim])
+                    end; % CTCO aprÃšs correction
+                    hold on ; plot(getspos('BPMz'),-CTCO_Meas(:,1)*2*DeltaI_HCOR,'bo-') % rÃ©ference avant correction
+                    title('HCOR [1 1]') ; legend('CTCO aprÃšs correction','CTCO avant correction')
+                elseif k2 == 2
+                    figure(22) ; hold on ; plot(getspos('BPMz'),DeltaZof,couleur) ;
+                    if exist('lim') ylim([-lim lim])
+                    end ; % CTCO aprÃšs correction
+                    hold on ; plot(getspos('BPMz'),-CTCO_Meas(:,2)*2*DeltaI_HCOR,'bo-') % rÃ©ference avant correction
+                    title('HCOR [1 4]') ; legend('CTCO aprÃšs correction','CTCO avant correction')
+                elseif k2 == 3
+                    figure(23) ; hold on ; plot(getspos('BPMz'),DeltaZof,couleur) ;
+                    if exist('lim') ylim([-lim lim])
+                    end ; % CTCO aprÃšs correction
+                    hold on ; plot(getspos('BPMz'),-CTCO_Meas(:,3)*2*DeltaI_HCOR,'bo-') % rÃ©ference avant correction
+                    title('HCOR [1 7]') ; legend('CTCO aprÃšs correction','CTCO avant correction')
+                end
+            end
+        end
+
+
+        if ~strcmpi(ModeFlag,'Online')
+            E = modelemit;
+            fprintf('EmittanceX =  %4.2f nm , EmittanceZ = %4.2f pm \n',E(1),E(2)*1e3 )
+            fprintf('Couplage =  %4.2f % \n',100*E(2)/E(1) )
+            disp('contente ?!')
+            %setsp('QT',consigne,ModeFlag);
+        else
+            % prendre mesure pinhole
+            emit = tango_read_attributes('ANS-C02/DG/PHC-EMIT',{'EmittanceH','EmittanceV'});
+            fprintf('EmittanceX =  %4.2f nm , EmittanceZ = %4.2f pm \n',emit(1).value,emit(2).value )
+        end
+        %%
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+        disp('eh oui')
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        %%% Ã  faire Ã  la main sur demande : setsp('QT',consigne,'Model') % go back to initial value for QT
+    else
+        consigne-Deltaskewquad
+        errordlg('un QT  au moins dÃ©passe les valeurs admises !','Attention');
+        return
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/couplage/setskewcorrection_2012.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/couplage/setskewcorrection_2012.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/couplage/setskewcorrection_2012.m	(revision 17)
@@ -0,0 +1,719 @@
+function setskewcorrection(varargin)
+% setskewcorrection - coupling correction with CTCO and dispersion measurement method
+%  setskewcorrection('Online')
+
+%  INPUT
+%  Optional
+%  'Archive', 'Display'
+%  Optional override of the mode:
+%     'Online'    - Set/Get data online
+%     'Model'     - Get the model chromaticity directly from AT (uses modelchro, DeltaRF is ignored)
+%     'Simulator' - Set/Get data on the simulated accelerator using AT (ie, same commands as 'Online')
+%
+%  OUPUTS
+%
+%
+%  ALGORITHM
+
+%
+%  See Also
+
+%
+%  Written by M-A. Tordeux
+
+DisplayFlag = 1;
+ArchiveFlag = 1;
+FileName = '';
+ModeFlag = 'Model';  % model, online, manual, 'Model' for default mode
+waittime = 0.5; %seconds taken into account for simulator and Online
+OutputFlag = 1;
+
+MeasurementFlag = 0 ; % s
+CorrectionFlag = 1 ; % Si Ã  zÃ©ro pas de correction
+PostMeasurementFlag = 1 % Mesure aprÃšs correction du couplage
+Params = [1e3 32 100] ; % ParamÃštres par dÃ©faut de la correction
+% Params(1) : poids Dz
+% Params(2) : nb de valeurs propres de lamatrice efficacite QT
+% Params(3) : pourcentage de correction appliquÃ©
+
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+        handles.caller = varargin{i}.figure1;
+        M = getappdata(handles.caller,'M'); % paramÃštres mesure
+        S = getappdata(handles.caller,'S'); % paramÃštres correction
+        Diaphonie = getappdata(handles.caller,'Diaphonie'); %
+        DeltaI_HCOR = M.Param1 ;
+        waittime = M.Param2 ;
+        PoidsDz = S.Param1 ;
+        nbvp = S.Param2 ;
+        pourcentage = S.Param3 ;
+    elseif iscell(varargin{i})
+        % Ignore cells
+        % store handle from caller
+        handles.caller = varargin{i}.figure1;
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator') || strcmpi(varargin{i},'Model') ...
+            || strcmpi(varargin{i},'Online') || strcmpi(varargin{i},'Manual')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Measurement')
+        MeasurementFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoMeasurement')
+        MeasurementFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Correction')
+        CorrectionFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoCorrection')
+        CorrectionFlag = 0;
+        varargin(i) = [];
+        %     elseif isnumeric(varargin{i})
+        %         Params = varargin{i};
+        %         varargin(i) = [];
+    end
+end
+
+if strcmpi(ModeFlag,'Model')
+    waittime = -1;
+    OutputFlag = 0;
+elseif strcmpi(ModeFlag,'Online')
+    PostMeasurementFlag = 0
+    %waittime = 2.8;  % 5 secondes car pb alim correcteurs % 2.8 s 24 octobre 08
+end
+
+
+
+%% RÃ©sultats fit LOCO redÃ©marrage juillet 2011
+% if strcmpi(ModeFlag,'Online') % juste pour la visualisation immédiate de la dispersion
+%     %load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2009-03-06a/160quad.mat') % LOCO/2009-03-06a
+%     load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-09-01/160quad.mat')
+%     iter = 3;
+%     HBPMgain = BPMData(iter).HBPMGain;
+%     VBPMgain = BPMData(iter).VBPMGain;
+%     HBPMcoupling = BPMData(iter).HBPMCoupling;
+%     VBPMcoupling = BPMData(iter).VBPMCoupling;
+%     HCMkick = CMData(iter).HCMKicks;
+%     meanHCMkick = mean(HCMkick);
+%     
+%     C = zeros(120,2,2);
+%     for ik =1:120,
+%         C(ik,:,:)= [ HBPMgain(ik)       HBPMcoupling(ik)
+%             VBPMcoupling(ik)   VBPMgain(ik)      ];
+%         Cinv(ik,:,:) = inv(squeeze(C(ik,:,:)));
+%     end
+% end
+%%
+
+if MeasurementFlag
+    %Indexskewquad = family2atindex('QT');% Index of skew quadrupoles
+    %Meffskewquad_CTO = zeros(120,120,32); % premiÃšre matrice : efficacitÃ© vis Ã  vis des orbites fermÃ©es croisÃ©es
+    %Etalonnage = zeros(2,120,32);
+    DeviceNumber_HCOR = 0;
+    
+    % graphe
+    lim = 0.10* DeltaI_HCOR / 0.6; % en mm, valeur max estimÃ©e des CTCO pour graphe
+    
+    
+%    if ArchiveFlag  % enregistrement de la matrice reponse dispersion
+%         if isempty(FileName)
+%             FileName = appendtimestamp('SkewMeasurement');
+%             DirectoryName = getfamilydata('Directory', 'SkewResponse');
+%             if isempty(DirectoryName)
+%                 %             DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+%             else
+%                 % Make sure default directory exists
+%                 DirStart = pwd;
+%                 [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+%                 cd(DirStart);
+%             end
+%             [FileName, DirectoryName] = uiputfile('*.mat', 'Select a Skew File ("Save" starts measurement)', [DirectoryName FileName]);
+%             if FileName == 0
+%                 ArchiveFlag = 0;
+%                 disp('   Skew efficiency measurement canceled.');
+%                 return
+%             end
+%             FileName = [DirectoryName, FileName];
+%         elseif FileName == -1
+%             FileName = appendtimestamp(getfamilydata('Default', 'SkewArchiveFile'));
+%             DirectoryName = getfamilydata('Directory', 'SkewResponse');
+%             FileName = [DirectoryName, FileName];
+%         end
+%    end
+    
+    % Starting time
+    t0 = clock;
+    
+    %for k1 = 1:length(QuadFam),
+    
+    if ~isfamily('QT')
+        error('%s is not a valid Family \n', 'QT');
+        return;
+    end
+    
+    DeviceList_QT = family2dev('QT');
+    DeviceList_HCOR = family2dev('HCOR');
+    
+    if strcmpi(ModeFlag,'Online')
+        %%%%
+        temp=tango_read_attribute2('ANS-C02/DG/PHC-EMIT','EmittanceH'); pinhole.emitH= temp.value;
+        temp=tango_read_attribute2('ANS-C02/DG/PHC-EMIT','EmittanceV'); pinhole.emitV= temp.value;
+        temp=tango_read_attribute2('ANS-C02/DG/PHC-EMIT','Coupling'); pinhole.coupling= temp.value;
+        temp=tango_read_attribute2('ANS-C02/DG/PHC-IMAGEANALYZER','XProjFitSigma'); pinhole.XProjFitSigma=temp.value;
+        temp=tango_read_attribute2('ANS-C02/DG/PHC-IMAGEANALYZER','YProjFitSigma'); pinhole.YProjFitSigma= temp.value;
+        temp=tango_read_attribute2('ANS-C02/DG/PHC-IMAGEANALYZER','GaussianFitCovarianceXY'); pinhole.GaussianFitCovarianceXY=temp.value;
+        temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');   pinhole.cur=temp.value;
+        %%%%%%
+    end
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % dispersion measurement
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    if strcmpi(ModeFlag,'Online')  % MODIFIER LE REPERTOIRE D ENREGISTREMENT
+        FileName_DISP = appendtimestamp('Dispersion_V')
+        FileName_DISP = ['/home/matlabML/machine/SOLEIL/StorageRing/fonction_test/couplage/'   FileName_DISP];
+        measdisp('Archive',FileName_DISP,'NoDisplay'); % on sauvegarde les mesures brutes cette fois
+        Dx_Meas = getdisp('BPMx',FileName_DISP,'Physics');
+        Dy_Meas = getdisp('BPMz',FileName_DISP,'Physics');
+        
+        % visualisation
+        figure(304);plot(Dy_Meas,'bo-'),title('Mesures brutes')
+        load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-09-01_pseudo_nano/160quad.mat'); % à actualiser
+        iter = 3;
+        HBPMgain = BPMData(iter).HBPMGain;
+        VBPMgain = BPMData(iter).VBPMGain;
+        HBPMcoupling = BPMData(iter).HBPMCoupling;
+        VBPMcoupling = BPMData(iter).VBPMCoupling;
+        HCMkick = CMData(iter).HCMKicks;
+        meanHCMkick = mean(HCMkick);      
+        C = zeros(120,2,2);
+        for ik =1:120,
+            C(ik,:,:)= [ HBPMgain(ik)       HBPMcoupling(ik)
+                VBPMcoupling(ik)   VBPMgain(ik)      ];
+            Cinv(ik,:,:) = inv(squeeze(C(ik,:,:)));
+        end
+        Dy_plot = Dx_Meas.*Cinv(:,2,1) + Dy_Meas.*Cinv(:,2,2);
+        figure(305);plot(Dy_plot,'ro-'),title('Mesures corrigées')
+        sleep(waittime*2)
+    else
+        DirectoryName = getfamilydata('Directory', 'DispData');
+        FileName = appendtimestamp('Disp');%[];
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Save a Dispersion File', [DirectoryName FileName]);
+        FileName_DISP = fullfile(DirectoryName,FileName);
+        [Dx_Meas Dy_Meas] = modeldisp('BPMx','Archive',FileName_DISP);
+        disp('Dispersion Registration ended')
+        figure(689);plot(Dy_Meas,'o-');ylabel('Dispersion V (m)')
+        figure(690);plot(Dx_Meas,'o-');ylabel('Dispersion H (m)')
+    end
+    %     if strcmpi(ModeFlag,'Online')
+    %         Dy_Meas = Dy_Meas - Dx_Meas.*CT';
+    %     end
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % CrossTalk closed orbit measurement
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    if strcmpi(ModeFlag,'Online')
+        measbpmresp('Archive',Mode);
+    else
+        DirectoryName = getfamilydata('Directory', 'BPMResponse');
+        FileName = appendtimestamp('BPMRespMat');%[];
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Save a BPM Response File', [DirectoryName FileName]);
+        FileName_Resp = fullfile(DirectoryName,FileName);
+        measbpmresp('Archive',FileName_Resp,ModeFlag);
+        disp('Response Matrix Registration ended')
+    end
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Coupling correction
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+if CorrectionFlag
+    if ~MeasurementFlag  % si on  n'a pas préalablement mesuré de matrice réponse
+        
+        %% chargement d'une matrice réponse BPM déjà enregistrée
+        FileName = [];
+        DirectoryName = '/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO'; % ??? modifier par un getfamilydata('Directory', '????');
+        %DirectoryName = getfamilydata('Directory', 'BPMResponse');
+        if isempty(DirectoryName)
+            %             DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        FileName = [];
+        [FileName, DirectoryName] = uigetfile('*.mat', 'Select a BPM Response File', [DirectoryName FileName]);
+        if FileName == 0
+            %ArchiveFlag = 0;
+            disp('   User selected CANCEL ');
+            return
+        else
+            disp(['User selected  ',fullfile(DirectoryName,FileName)])
+            % enregistrer le repertoire LOCO choisi
+            LOCODirectory = DirectoryName;
+        end
+        FileName_BPMresp = [DirectoryName, FileName];
+        
+        load(FileName_BPMresp);
+        % la matrice se présente sous cette forme :
+        % R(BPM Plane, Corrector Plane) - 2x2 struct array
+        %     R(1,1).Data=xx;  % Kick x, look x
+        %     R(2,1).Data=yx;  % Kick x, look y
+        %     R(1,2).Data=xy;  % Kick y, look x
+        %     R(2,2).Data=yy;  % Kick y, look y
+        % on s'interesse aux mesure kick x.
+        
+        if ~isequal(size((Rmat(2,1).Data),2),length(family2dev('HCOR')))
+            disp('WARNING : vous n''avez pas sélectionné un matrice réponse de correcteurs lents')
+            return
+        end
+        
+        %% chargement d'une dispersion déjà enregistrée
+        FileName = [];
+        DirectoryName = LOCODirectory ; % '/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO'; % ??? modifier par un getfamilydata('Directory', '????');
+        %DirectoryName = getfamilydata('Directory','DispData');
+        [FileName, DirectoryName] = uigetfile('*.mat', 'Select a dispersion file', [DirectoryName FileName]);
+        if FileName == 0
+            %ArchiveFlag = 0;
+            disp('   User selected CANCEL ');
+            return
+        else
+            disp(['User selected  ',fullfile(DirectoryName,FileName)])
+            
+        end  
+        FileName_disp = [DirectoryName, FileName];
+            %load(FileName_disp);
+        
+        Dx = getdisp('BPMx',FileName_disp,'Physics');
+        Dy = getdisp('BPMz',FileName_disp,'Physics');
+        
+        %% construction de la matrice réponse complète pour la correction de couplage
+        
+        if strcmpi(ModeFlag,'Model')
+            CTCO_Meas = Rmat(2,1).Data;
+            Dy_Meas = Dy;
+            disp('?')
+            
+        else % online
+            
+            %% chargement des gains et couplage des BPM (LOCO) déjà enregistrés  attention à choisir une mesure LOCO avec 122 BPM
+            
+            FileName = [];
+            DirectoryName = LOCODirectory ; % '/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO'; % ??? modifier par un getfamilydata('Directory', '????');
+            [FileName, DirectoryName] = uigetfile('*.mat', 'Select BPM gains from a 160quad LOCO file', [DirectoryName FileName]);
+            if FileName == 0
+                %ArchiveFlag = 0;
+                disp('   User selected CANCEL ');
+                return
+            else
+                disp(['User selected  ',fullfile(DirectoryName,FileName)])
+            end
+            FileName_LOCO = [DirectoryName, FileName];
+            
+            load(FileName_LOCO);
+            
+            iter = length(BPMData); % on choisit la dernière itération de LOCO (OK ???)
+           
+            HBPMgain = BPMData(iter).HBPMGain;
+            if ~isequal(length(HBPMgain),length(dev2elem('BPMx')))
+                disp('!!! la matrice 160quad de LOCO selectionnée n''a pas le nombre correct de BPM')
+                return
+            end
+            VBPMgain = BPMData(iter).VBPMGain;
+            HBPMcoupling = BPMData(iter).HBPMCoupling;
+            VBPMcoupling = BPMData(iter).VBPMCoupling;
+            HCMkick = CMData(iter).HCMKicks;
+            meanHCMkick = mean(HCMkick);
+            
+            C = zeros(length(dev2elem('BPMx')),2,2);
+            for ik =1:length(dev2elem('BPMx')),
+                C(ik,:,:)= [ HBPMgain(ik)       HBPMcoupling(ik)
+                    VBPMcoupling(ik)   VBPMgain(ik)      ];
+                Cinv(ik,:,:) = inv(squeeze(C(ik,:,:)));
+            end
+            
+            Oz = Rmat(2,1).Data ; % orbite z
+            Ox = Rmat(1,1).Data ;  % orbite x
+            CTCO_Meas = 0*ones(length(dev2elem('BPMx')), length(dev2elem('HCOR')));
+            for k=1:length(dev2elem('HCOR'))
+                CTCO_Meas(:,k) = Oz(:,k).*Cinv(:,2,2) + Ox(:,k).*Cinv(:,2,1);
+                Dy_Meas = Dx.*Cinv(:,2,1) + Dy.*Cinv(:,2,2);
+            end
+            
+            figure(304);plot(Dy,'bo-')
+            figure(304);hold on;plot(Dy_Meas,'ro-');
+            set(gca,'Fontsize',14)
+            xlabel('s (m)');ylabel('dispersion (m)');
+            legend('Mesures brutes','Mesures corrigées de la diaphonie')
+            title('Vérification de la dispersion et des gains BPM selectionnés')
+            
+        end
+
+    end
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Efficiency Matrix loading
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %% chargement des matrices d'efficacité des quadrupoles tournés QT
+    
+    FileName = [];
+    DirectoryName = getfamilydata('Directory', 'SkewResponse');
+    [FileName, DirectoryName] = uigetfile('*.mat', 'Select a skew efficiency matrix SKEWRESPMAT CTCO', [DirectoryName FileName]);
+    if FileName == 0
+        %ArchiveFlag = 0;
+        disp('   User selected CANCEL ');
+        return
+    else
+        disp(['User selected  ',fullfile(DirectoryName,FileName)])       
+    end    
+    FileName_CTCO = [DirectoryName, FileName];
+    S_CTCO = load(FileName_CTCO);
+    Meffskewquad_CTCO = S_CTCO.Meffskewquad_CTCO;
+    
+    FileName = [];
+    DirectoryName = getfamilydata('Directory', 'SkewResponse');
+    [FileName, DirectoryName] = uigetfile('*.mat', 'Select a skew efficiency matrix SKEWRESPMAT DISP', [DirectoryName FileName]);
+    if FileName == 0
+        %ArchiveFlag = 0;
+        disp('   User selected CANCEL ');
+        return
+    else
+        disp(['User selected  ',fullfile(DirectoryName,FileName)])      
+    end    
+    FileName_disp = [DirectoryName, FileName];
+    S_D = load(FileName_disp);
+    Meffskewquad_D = S_D.Meffskewquad_D;
+    if ~isequal(size(Meffskewquad_D,1),length(dev2elem('BPMx')))
+        disp('!!! la matrice DISP selectionnée n''a pas le nombre correct de BPM')
+        return
+    end
+    if ~isequal(size(Meffskewquad_CTCO,1),length(dev2elem('BPMx')))
+        disp('!!! la matrice CTCO selectionnée n''a pas le nombre correct de BPM')
+        return
+    end
+   
+   %%% matrice en cours en décembre 2011
+   % S_D = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-10-11_17-51-37_lat_nano_17_25_disp')
+   
+   %%% matrice en cours en décembre 2011
+   %S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-10-11_18-08-11_lat_nano_17_25_CTCO')
+    
+    
+    %     S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-09-22_13-58-13_lat_nano_17_25_CTCO_bis_CTCO')
+    %S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2011-06-13_11-06-05_betax5m_32QT_CTCO')
+    %S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2010-06-17_12-13-58_CTCO_lat_nano_20_64.mat')
+    % run 27 octobre 08
+    %S_CTCO = load('-mat','/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/SkewRespMat_2008-10-24_09-19-19_CTCO_nux_0-27_nuz_0-32.mat')
+    
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Coupling Matrix construction (depending on Relative Dispersion correction weigth)
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    %PoidsDz = Params(1)*ones(1,120);  % 1e3*ones(1,120); %  Relative Dispersion correction weigth
+    if isequal(size(Meffskewquad_CTCO,3),length(family2dev('SQ')))&isequal(size(Meffskewquad_D,2),length(family2dev('SQ')))
+        VirtualQT = 1 ;
+    elseif isequal(size(Meffskewquad_CTCO,3),length(family2dev('QT')))&isequal(size(Meffskewquad_D,2),length(family2dev('QT')))
+        VirtualQT = 0 ;       
+    else
+        disp('!! Il y a une incohérence de dimension entre vos 2 matrices d''efficacité')
+        return
+    end
+    
+    if VirtualQT
+        DeviceList_QT = family2dev('SQ');
+    else
+        DeviceList_QT = family2dev('QT');
+    end
+    DeviceList_HCOR = family2dev('HCOR');
+    DeviceList_BPMz = family2dev('BPMz');
+    
+    nb = length(DeviceList_BPMz);
+    PoidsDz = PoidsDz*ones(1,nb);  % 1e3*ones(1,120); %  Relative Dispersion correction weigth
+    
+    for l = 1:length(DeviceList_QT)
+        for k = 1:length(DeviceList_QT)
+            A_Dz(l,k) = sum(PoidsDz'.*Meffskewquad_D(:,l).*Meffskewquad_D(:,k)); % VÃ©rifier dimension de PoidsDz
+        end
+    end
+    for l = 1:length(DeviceList_QT)
+        for k = 1:length(DeviceList_QT)
+            for j = 1:length(DeviceList_HCOR)
+                T(j) = sum(Meffskewquad_CTCO(:,j,l).*Meffskewquad_CTCO(:,j,k));
+            end
+            A_CTCO(l,k) = sum(T(:));
+        end
+    end
+    MeffSkewQuad =   A_Dz +   A_CTCO;
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Second member vector evaluation ( also depending on Relative Dispersion correction weigth !!)
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    for l = 1:length(DeviceList_QT)
+        B_Dz(l) = sum(PoidsDz'.*Meffskewquad_D(:,l).*Dy_Meas(:)); % VÃ©rifier dimension de PoidsDz
+    end
+    for l = 1:length(DeviceList_QT)
+        
+        for j = 1:length(DeviceList_HCOR)
+            T(j) = sum(Meffskewquad_CTCO(:,j,l).*CTCO_Meas(:,j));
+        end
+        B_CTCO(l) = sum(T(:));
+        
+    end
+    coeff_Dz = -1; coeff_CTCO = -1 ;   % coeff_Dz / coeff_CTCO = -1 -> annulation du couplage dispersion / orbites croisÃ©es (betatron)
+    SecondMember =   + coeff_Dz * B_Dz + coeff_CTCO *  B_CTCO;
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Correction ( also depending on Relative Dispersion correction weigth !!)
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    couleur = 'k-o'; % changer la couleur pour chaque valeur de nbvp (sauf blue)
+    [U,S,V] = svd(MeffSkewQuad);
+    figure(4) ; semilogy(diag(S));title('MeffSkewQuad  -  PoidsDz = 0');xlabel('No EigenValue');
+    DiagS = diag(S);
+    %nbvp = Params(2) ; % 32  %  length(DiagS);  % NOMBRE DE VALEURS PROPRES
+    Rmod1 = MeffSkewQuad * V(:,1:nbvp);
+    B1 = Rmod1\ (SecondMember' ); % SeconMember en ?
+    Deltaskewquad = V(:,1:nbvp) * B1;
+    %figure(20) ; hold on ; plot(Deltaskewquad,couleur) ; title('Valeur des QT en A')
+    figure(21) ; hold on ; bar(Deltaskewquad) ; title('Valeur des QT en A')
+    
+    if isequal(VirtualQT,-1) % 32 QT
+        figure(20) ; hold on ; plot(Deltaskewquad,'Color',nxtcolor) ; title('Valeur des QT en A')
+        consigne = getam('QT',ModeFlag); % getsp('QT',ModeFlag); % decembre 2011 getsp ni getam ne fonctionnent en mode online sur metis
+        %consigne = [consigne(1:23)' consigne(25:32)']'
+        
+        %pourcentage = Params(3) % 100;  % POURCENTAGE DE LA CORRECTION
+        val_max = 7 ; val_min = -7 ;
+        if all((consigne + Deltaskewquad* pourcentage*0.01)<val_max)*all((consigne +Deltaskewquad* pourcentage*0.01)>val_min);
+            %Deltaskewquad = [Deltaskewquad(1:23)' 0 Deltaskewquad(24:31)']'
+            %%
+            
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%% application de la correction
+            stepsp('QT',Deltaskewquad* pourcentage*0.01,ModeFlag); %
+            correction = getam('QT',ModeFlag)
+            
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%% mesure sur la machine après correction
+            if PostMeasurementFlag
+                [Dxapres,Dyapres] = measdisp('Physics',ModeFlag)
+                if strcmpi(ModeFlag,'Online')
+                    Dyapres = Dxapres.*Cinv(:,2,1) + Dyapres.*Cinv(:,2,2); %
+                end
+                sleep(waittime)
+                figure(25) ; hold on ; plot(getspos('BPMz'),Dy_Meas,'bo-') ;
+                hold on ; plot(getspos('BPMz'),Dyapres,couleur );legend('Dispersion V avant correction','apres correction')
+                
+                DeviceNumber_HCOR = 0;
+                for k2 =1:3
+                    DeviceNumber_HCOR = DeviceNumber_HCOR + 1;
+                    Ic_HCOR = getam('HCOR', DeviceList_HCOR(k2,:), ModeFlag);
+                    if OutputFlag
+                        fprintf('Measuring %s [%d %d] actual current %f A : ... \n', ...
+                            'HCOR', DeviceList_HCOR(k2,:),Ic_HCOR)  % pour suivi
+                    end
+                    
+                    %DeltaI_HCOR = 0.6*1.; % 0.6 Amp : choix d'une orbite infÃ©rieure Ã  1 mm
+                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                    stepsp('HCOR', DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Step value
+                    sleep(waittime) % wait for HCOR reaching new setpoint value
+                    
+                    Xof1 = getx(ModeFlag) ;
+                    Zof1 = getz(ModeFlag) ;
+                    if strcmpi(ModeFlag,'Online')
+                        Zof1(:,k) = Xof1(:,k).*Cinv(:,2,1) +Zof1(:,k).*Cinv(:,2,2);
+                    end
+                    
+                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                    stepsp('HCOR', -2*DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Step value
+                    sleep(waittime) % wait for HCOR reaching new setpoint value
+                    
+                    Xof2 = getx(ModeFlag) ;
+                    Zof2 = getz(ModeFlag) ;
+                    if strcmpi(ModeFlag,'Online')
+                        Zof2(:,k) = Xof2(:,k).*Cinv(:,2,1) +Zof2(:,k).*Cinv(:,2,2);
+                    end
+                    
+                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                    stepsp('HCOR', DeltaI_HCOR, DeviceList_HCOR(k2,:), ModeFlag); % Initial value
+                    sleep(waittime) % wait for HCOR reaching new setpoint value
+                    
+                    %% computation part
+                    
+                    DeltaZof = Zof2-Zof1 ; % HCOR induced Orbit shift
+                    
+                    if k2 == 1
+                        figure(21) ; hold on ; plot(getspos('BPMz'),DeltaZof,couleur) ;
+                        if exist('lim') ylim([-lim lim])
+                        end; % CTCO aprÃšs correction
+                        hold on ; plot(getspos('BPMz'),-CTCO_Meas(:,1)*2*DeltaI_HCOR,'bo-') % rÃ©ference avant correction
+                        title('HCOR [1 1]') ; legend('CTCO aprÃšs correction','CTCO avant correction')
+                    elseif k2 == 2
+                        figure(22) ; hold on ; plot(getspos('BPMz'),DeltaZof,couleur) ;
+                        if exist('lim') ylim([-lim lim])
+                        end ; % CTCO aprÃšs correction
+                        hold on ; plot(getspos('BPMz'),-CTCO_Meas(:,2)*2*DeltaI_HCOR,'bo-') % rÃ©ference avant correction
+                        title('HCOR [1 4]') ; legend('CTCO aprÃšs correction','CTCO avant correction')
+                    elseif k2 == 3
+                        figure(23) ; hold on ; plot(getspos('BPMz'),DeltaZof,couleur) ;
+                        if exist('lim') ylim([-lim lim])
+                        end ; % CTCO aprÃšs correction
+                        hold on ; plot(getspos('BPMz'),-CTCO_Meas(:,3)*2*DeltaI_HCOR,'bo-') % rÃ©ference avant correction
+                        title('HCOR [1 7]') ; legend('CTCO aprÃšs correction','CTCO avant correction')
+                    end
+                end
+            end
+            
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%% mesure des émittances après correction du couplage
+            if ~strcmpi(ModeFlag,'Online')
+                E = modelemit;
+                fprintf('EmittanceX =  %4.2f nm , EmittanceZ = %4.2f pm \n',E(1),E(2)*1e3 )
+                fprintf('Couplage =  %4.2f % \n',100*E(2)/E(1) )
+                disp('contente ?!')
+                %setsp('QT',consigne,ModeFlag);
+            else
+                % prendre mesure pinhole
+                emit = tango_read_attributes('ANS-C02/DG/PHC-EMIT',{'EmittanceH','EmittanceV'});
+                fprintf('EmittanceX =  %4.2f nm , EmittanceZ = %4.2f pm \n',emit(1).value,emit(2).value )
+            end
+            %%
+            
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+            
+            disp('eh oui')
+            
+            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+            %%% Ã  faire Ã  la main sur demande : setsp('QT',consigne,'Model') % go back to initial value for QT
+        else
+            consigne=Deltaskewquad
+            errordlg('un QT  au moins dépasse les valeurs admises !','Attention');
+            return
+        end
+    end
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%% tracé des résultats
+    if VirtualQT
+        X = getspos('SQ');    
+    else
+        X = getspos('QT');  
+    end
+    Y(:,1) = Deltaskewquad;
+    %Y(:,2) = Deltaskewquad;
+    
+    for k=1:3
+        nfig = 100+k;
+        if k==1  % plot en courant
+            titre = 'Distribution des défauts de couplage';
+            xlab = 'position s (m)';
+            if VirtualQT
+                ylab = 'I_Q_T_ _v_i_r_t_u_e_l_s (A)';
+            else
+                ylab = 'I_Q_T (A)';
+            end
+            Yplot = -Y ;
+            
+        elseif k==2  % plot en gradient tourné integré en Tesla
+            titre = 'Coupling Error distribution';
+            coeff = 93.83/1e4 ; % Tesla/A
+            Yplot = -Y*coeff; % 
+            ylab = 'Integrated Skew Gradient (T)';
+            xlab = 'longitudinal position (m)';
+            
+        else  % plot en delta z sur les sextupôles
+            % trouver les positions dse SQ
+            F = 1e3;
+            posSQ = (1/F)*floor(getspos('SQ')*F);
+            % trouver les positions des sextupôles
+            global THERING;
+            localspos = findspos(THERING,1:length(THERING)+1);
+            ATi= atindex;
+            posS = 0*ones(11,8);
+            coeff = 93.83/1e4 ; % Tesla/A étalonnage en gradient tourné intégré
+            Y1 = -Y*coeff; 
+            for iS = 1:11
+                Name = ['S' num2str(iS)];
+                A = getam((Name));
+                IS(iS) = A(1);     % courant du sextupôle        
+                posS = (1/F)*floor(localspos(ATi.(Name)(:))*F); % position du sextupôle
+                [C,IA,IB] = INTERSECT(posS,posSQ');
+                ISQ(IB) = IS(iS);
+                Yplot(IB) = 1e3*Y1(IB,1)./(2*hw2physics('S1','Setpoint',IS(iS))*1e-8) % deplacement vertical équivalent du sextupole en mm
+            end
+            ylab = 'Vertical sextupole displacement (mm) ';
+            xlab = 'longitudinal position (m)';
+        end
+        
+        figure(nfig);
+        h1 = subplot(4,1,1:3);bar(X,Yplot,1.5);
+        set(gca,'FontSize',14)
+        ylabel(ylab); title(titre)
+        % echelle
+        M = max(abs(Yplot(:,1)));
+        M = M*1.1;
+        L = 354.09;
+        ylim([-M M]);xlim([0 L]);
+        
+        h2 = subplot(4,1,4);drawlattice;ylim([-3 3]);
+        xlabel(xlab,'FontSize',14);
+        linkaxes([h1 h2],'x')
+        set(gca,'FontSize',14)
+        
+        %         % idem en gradient tourné integré (Tesla)
+        %         figure(104);
+        %         coeff = 93.83/1e4 ; % Tesla/A
+        %         Y = Y*coeff;
+        %         h1 = subplot(4,1,1:3);bar(X,-Y,1.5);
+        %         set(gca,'FontSize',14)
+        %         ylabel('Integrated Skew Gradient (T)'); title('Coupling Error distribution')
+        %
+        %         % legende
+        %         %legend('Location','SouthEast')
+        %         %legend('boxoff');legend('Location','SouthWest')
+        %
+        %         % echelle
+        %         M = max(abs(Y(:,1)*coeff));
+        %         M = M*(1+.01);
+        %         L = 354.09;
+        %         ylim([-M M]);xlim([0 L]);
+        %
+        %         h2 = subplot(4,1,4);drawlattice;ylim([-3 3]);
+        %         xlabel('longitudinal position (m)','FontSize',14);
+        %         linkaxes([h1 h2],'x')
+        %         set(gca,'FontSize',14)
+    end
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%% sauvegarde des résultats à la demande
+    choice = questdlg('Please choose if you want to save the skew quad solution :','Save solution','Yes','No','Yes')
+    switch choice
+        case 'Yes'
+            DirStart = pwd;
+            DirectoryName = '/home/matlabML/measdata/SOLEIL/StorageRingdata/Response/Skew/solution_QT'; % A MODIFIER ??
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            FileName = [];
+            [FileName, DirectoryName] = uiputfile('*.mat', 'Choose a filename for saving skew quad list', [DirectoryName FileName]);
+            if FileName == 0
+                disp('   User selected CANCEL ');
+                return
+            else
+                save(FileName,'Deltaskewquad')
+            end
+            cd(DirStart);
+        case 'No'
+            disp('Pas de sauvegarde')
+    end
+    
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
+end
Index: /trunk/machine/SOLEIL/StorageRing/dacquantization.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/dacquantization.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/dacquantization.m	(revision 17)
@@ -0,0 +1,4 @@
+function b = dacquantization(a, q)
+
+
+b = a + sign(a) .* q/2 - rem( a+sign(a).*q/2 , q );
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/Comparaison_enregistrements.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/Comparaison_enregistrements.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/Comparaison_enregistrements.m	(revision 17)
@@ -0,0 +1,505 @@
+function varargout = Comparaison_enregistrements(varargin)
+% COMPARAISON_ENREGISTREMENTS M-file for Comparaison_enregistrements.fig
+%      COMPARAISON_ENREGISTREMENTS, by itself, creates a new COMPARAISON_ENREGISTREMENTS or raises the existing
+%      singleton*.
+%
+%      H = COMPARAISON_ENREGISTREMENTS returns the handle to a new COMPARAISON_ENREGISTREMENTS or the handle to
+%      the existing singleton*.
+%
+%      COMPARAISON_ENREGISTREMENTS('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in COMPARAISON_ENREGISTREMENTS.M with the given input arguments.
+%
+%      COMPARAISON_ENREGISTREMENTS('Property','Value',...) creates a new COMPARAISON_ENREGISTREMENTS or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before Comparaison_enregistrements_OpeningFcn gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to Comparaison_enregistrements_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help Comparaison_enregistrements
+
+% Last Modified by GUIDE v2.5 15-Sep-2011 15:41:57
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @Comparaison_enregistrements_OpeningFcn, ...
+                   'gui_OutputFcn',  @Comparaison_enregistrements_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before Comparaison_enregistrements is made visible.
+function Comparaison_enregistrements_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to Comparaison_enregistrements (see VARARGIN)
+
+% Choose default command line output for Comparaison_enregistrements
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes Comparaison_enregistrements wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+pathname='/home/operateur/GrpDiagnostics/matlab/data/';
+setappdata(handles.figure1,'pathname',pathname);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = Comparaison_enregistrements_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in load1.
+function load1_Callback(hObject, eventdata, handles)
+% hObject    handle to load1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+pathname=getappdata(handles.figure1,'pathname');
+[filename, pathname, filterindex] = uigetfile('*.mat', 'Pick an MAT-file',pathname);
+if isequal(filename,0) || isequal(pathname,0)
+       disp('Loading cancelled by user')
+else
+    setappdata(handles.figure1,'pathname',pathname);
+    set(handles.courbe1,'string',[pathname filename]);
+    load([pathname filename],'bufferX','bufferZ','BPM_list');
+    
+        
+    [selection ok]=listdlg('liststring',BPM_list,'Name','Select BPM(s)');
+    if ok
+        amplitude=max(bufferX(selection(1),:))-min(bufferX(selection(1),:))
+        if amplitude<500
+            figure
+            subplot(2,1,1)
+            plot(bufferX(selection(1),:));
+            subplot(2,1,2)
+            plot(bufferZ(selection(1),:));
+            ButtonName = questdlg('Data loaded seems to be in Âµm and must be converted to nm', ...
+                         'Warning', ...
+                         'Convert', 'Ignore','Convert');
+            switch ButtonName,
+            case 'Convert',
+                bufferX=bufferX.*1000;
+                bufferZ=bufferZ.*1000;
+            case 'Ignore',
+  
+
+            end % switch
+        end
+        N_BPM=size(BPM_list,1);
+        %Nsamples=size(bufferX(j,:),2);
+        fech=10079;
+        index=regexp(filename,'_');
+        filename(index)=' ';
+        struct1.filename=filename;
+        struct1.pathname=pathname;
+        struct1.BPM_list=BPM_list(selection);
+        tic
+        [pxfftaff_all,pzfftaff_all,Xintegrale_all,Zintegrale_all,f_bpm]=fft_and_noise_calcul_group(bufferX,bufferZ,fech);
+        toc
+        struct1.f_bpm=f_bpm;
+        struct1.Xintegrale_all=Xintegrale_all(selection,2:size(Xintegrale_all,2));
+        struct1.Zintegrale_all=Zintegrale_all(selection,2:size(Zintegrale_all,2));
+        struct1.pxfftaff_all=pxfftaff_all(selection,2:size(pxfftaff_all,2));
+        struct1.pzfftaff_all=pzfftaff_all(selection,2:size(pzfftaff_all,2));
+          if size(selection,2)==1
+            struct1.Xintegrale_mean=(struct1.Xintegrale_all(:,:));
+            struct1.Zintegrale_mean=(struct1.Zintegrale_all(:,:));
+            struct1.pxfftaff_mean=(struct1.pxfftaff_all(:,:));
+            struct1.pzfftaff_mean=(struct1.pzfftaff_all(:,:));
+          else
+            struct1.Xintegrale_mean=mean(struct1.Xintegrale_all(:,:));
+            struct1.Zintegrale_mean=mean(struct1.Zintegrale_all(:,:));
+            struct1.pxfftaff_mean=mean(struct1.pxfftaff_all(:,:));
+            struct1.pzfftaff_mean=mean(struct1.pzfftaff_all(:,:));
+          end
+        setappdata(handles.figure1,'struct1',struct1);
+        struct2=getappdata(handles.figure1,'struct2');
+
+        affichage(hObject, eventdata, handles);
+    end
+end
+
+
+
+    
+% --- Executes on button press in load2.
+function load2_Callback(hObject, eventdata, handles)
+% hObject    handle to load2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+pathname=getappdata(handles.figure1,'pathname');
+[filename, pathname, filterindex] = uigetfile('*.mat', 'Pick an MAT-file',pathname);
+if isequal(filename,0) || isequal(pathname,0)
+       disp('Loading cancelled by user')
+else
+    setappdata(handles.figure1,'pathname',pathname);
+    set(handles.courbe2,'string',[pathname filename]);
+    load([pathname filename],'bufferX','bufferZ','BPM_list');
+    
+        
+    [selection ok]=listdlg('liststring',BPM_list,'Name','Select BPM(s)');
+    if ok
+        N_BPM=size(BPM_list,1);
+        %Nsamples=size(bufferX(j,:),2);
+        fech=10079;
+        index=regexp(filename,'_');
+        filename(index)=' ';
+        struct2.filename=filename;
+        struct2.pathname=pathname;
+        struct2.BPM_list=BPM_list(selection);
+        tic
+        [pxfftaff_all,pzfftaff_all,Xintegrale_all,Zintegrale_all,f_bpm]=fft_and_noise_calcul_group(bufferX,bufferZ,fech);
+        toc
+        struct2.f_bpm=f_bpm;
+        struct2.Xintegrale_all=Xintegrale_all(selection,2:size(Xintegrale_all,2));
+        struct2.Zintegrale_all=Zintegrale_all(selection,2:size(Zintegrale_all,2));
+        struct2.pxfftaff_all=pxfftaff_all(selection,2:size(pxfftaff_all,2));
+        struct2.pzfftaff_all=pzfftaff_all(selection,2:size(pzfftaff_all,2));
+        if size(selection)==1
+            struct2.Xintegrale_mean=(struct2.Xintegrale_all(:,:));
+            struct2.Zintegrale_mean=(struct2.Zintegrale_all(:,:));
+            struct2.pxfftaff_mean=(struct2.pxfftaff_all(:,:));
+            struct2.pzfftaff_mean=(struct2.pzfftaff_all(:,:));
+        else
+            struct2.Xintegrale_mean=mean(struct2.Xintegrale_all(:,:));
+            struct2.Zintegrale_mean=mean(struct2.Zintegrale_all(:,:));
+            struct2.pxfftaff_mean=mean(struct2.pxfftaff_all(:,:));
+            struct2.pzfftaff_mean=mean(struct2.pzfftaff_all(:,:));
+        end
+        setappdata(handles.figure1,'struct2',struct2);
+        struct1=getappdata(handles.figure1,'struct1');
+
+        affichage(hObject, eventdata, handles);
+    end
+end
+
+% --- Executes on selection change in plan.
+function plan_Callback(hObject, eventdata, handles)
+% hObject    handle to plan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = cellstr(get(hObject,'String')) returns plan contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from plan
+affichage(hObject, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function plan_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to plan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function fstart_Callback(hObject, eventdata, handles)
+% hObject    handle to fstart (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fstart as text
+%        str2double(get(hObject,'String')) returns contents of fstart as a double
+affichage(hObject, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function fstart_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fstart (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function fstop_Callback(hObject, eventdata, handles)
+% hObject    handle to fstop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fstop as text
+%        str2double(get(hObject,'String')) returns contents of fstop as a double
+affichage(hObject, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function fstop_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fstop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function affichage(hObject, eventdata, handles)
+
+struct1=getappdata(handles.figure1,'struct1');
+struct2=getappdata(handles.figure1,'struct2');
+
+plan=get(handles.plan,'value');
+fstart=str2num(get(handles.fstart,'string'));
+fstop=str2num(get(handles.fstop,'string'));
+bruit_integre1=0;
+bruit_integre2=0;
+filename1='';
+filename2='';
+
+
+if plan==1
+    if isempty(struct1)==0
+        set(handles.courbe1,'string',[struct1.pathname struct1.filename]);
+        semilogy(handles.spectre,struct1.f_bpm,struct1.pxfftaff_mean,'b','LineWidth',2);
+        hold(handles.spectre,'on');       
+        semilogy(handles.bruit,struct1.f_bpm,struct1.Xintegrale_mean,'b','LineWidth',3);
+        hold(handles.bruit,'on');
+        filename1=struct1.filename;
+        index=find(struct1.f_bpm>fstop);
+        bruit_integre1=struct1.Xintegrale_mean(index(1));
+    end
+    if isempty(struct2)==0
+        set(handles.courbe2,'string',[struct2.pathname struct2.filename]);
+        semilogy(handles.spectre,struct2.f_bpm,struct2.pxfftaff_mean,'r','LineWidth',2);      
+        semilogy(handles.bruit,struct2.f_bpm,struct2.Xintegrale_mean,'r','LineWidth',3);
+        filename2=struct2.filename;
+        index=find(struct2.f_bpm>fstop);
+        bruit_integre2=struct2.Xintegrale_mean(index(1));
+     end
+else
+    if isempty(struct1)==0
+        semilogy(handles.spectre,struct1.f_bpm,struct1.pzfftaff_mean,'b','LineWidth',2);
+        hold(handles.spectre,'on');       
+        semilogy(handles.bruit,struct1.f_bpm,struct1.Zintegrale_mean,'b','LineWidth',3);
+        hold(handles.bruit,'on');
+        filename1=struct1.filename;
+        index=find(struct1.f_bpm>fstop);
+        bruit_integre1=struct1.Zintegrale_mean(index(1));
+     end
+    if isempty(struct2)==0
+        semilogy(handles.spectre,struct2.f_bpm,struct2.pzfftaff_mean,'r','LineWidth',2);      
+        semilogy(handles.bruit,struct2.f_bpm,struct2.Zintegrale_mean,'r','LineWidth',3);
+        filename2=struct2.filename;
+        index=find(struct2.f_bpm>fstop);
+        bruit_integre2=struct2.Zintegrale_mean(index(1));
+     end
+end
+xlim(handles.spectre,[fstart fstop]);
+ylim(handles.spectre,[10^-3 10^2]);
+xlabel(handles.spectre,'frequency (Hz)','fontsize',16,'fontangle','italic','FontWeight','Bold');
+ylabel(handles.spectre,'Âµm/sqrt(Hz)','FontWeight','Bold');
+title(handles.spectre,'Averaged fft amplitude','FontWeight','Bold');
+
+legend(handles.spectre,filename1,filename2);
+set(handles.spectre,'XGrid','on','YGrid','on');
+hold(handles.spectre,'off');
+
+
+xlim(handles.bruit,[fstart fstop]);
+ylim(handles.bruit,[2*10^-2 5*10^2]);
+xlabel(handles.bruit,'frequency (Hz)','fontsize',16,'fontangle','italic','FontWeight','Bold');
+ylabel(handles.bruit,'Âµm','FontWeight','Bold');
+title(handles.bruit,'Averaged noise','FontWeight','Bold');
+
+
+legend(handles.bruit,[num2str(bruit_integre1),' Âµm'],[num2str(bruit_integre2),' Âµm'],'Location','SouthEast');
+set(handles.bruit,'XGrid','on','YGrid','on');
+hold(handles.bruit,'off');
+
+% figure
+% loglog(struct1.f_bpm,struct1.pxfftaff_mean,'r--','LineWidth',2);
+% hold on; 
+% loglog(struct2.f_bpm,struct2.pxfftaff_mean,'r','LineWidth',2);      
+% loglog(struct1.f_bpm,struct1.pzfftaff_mean,'b--','LineWidth',2);
+% loglog(struct1.f_bpm,struct2.pzfftaff_mean,'b','LineWidth',2);
+%   
+% figure
+% loglog(struct1.f_bpm,struct1.Xintegrale_mean,'r--','LineWidth',3);
+% hold on;
+% loglog(struct2.f_bpm,struct2.Xintegrale_mean,'r','LineWidth',3);
+% loglog(struct1.f_bpm,struct1.Zintegrale_mean,'b--','LineWidth',3);
+% loglog(struct1.f_bpm,struct2.Zintegrale_mean,'b','LineWidth',3);
+
+
+
+        
+% --- Executes on button press in measure.
+function measure_Callback(hObject, eventdata, handles)
+% hObject    handle to measure (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+%spectres_GUI
+record_length=str2num(get(handles.record_length,'string'));
+save2xls=0;
+fmin=str2num(get(handles.fstart,'string'));
+fmax=str2num(get(handles.fstop,'string'));
+source=get(handles.source,'value');
+switch source
+    case 1
+       [BPM_list bufferX bufferZ pxfftaff_all pzfftaff_all Xintegrale_all Zintegrale_all f_bpm]=Compute_FFT_on_FA_data(record_length,fmin,fmax,save2xls);
+    case 2
+        %Compute_FFT_on_XBPM_data(fmin,fmax,save2xls);
+        warndlg('Record on XBPM disabled at the moment', 'Warning');
+    case 3  
+        %Compute_FFT_on_Libera_Photon_FA_data(fmin,fmax,save2xls);
+        warndlg('Record on Libera Photon disabled at the moment', 'Warning');
+end
+ButtonName = questdlg('Do you want to display this measurement?', 'Display', 'Plot1', 'Plot2','No', 'No');
+switch ButtonName
+    case 'Plot1'
+        N_BPM=size(BPM_list,1);
+        %index=regexp(filename,'_');
+        %filename(index)=' ';
+        %struct1.filename=filename;
+        %struct1.pathname=pathname;
+        struct1.filename='unknown';
+        struct1.pathname='unknown';
+        struct1.BPM_list=BPM_list;
+        struct1.f_bpm=f_bpm;
+        struct1.Xintegrale_all=Xintegrale_all(:,2:size(Xintegrale_all,2));
+        struct1.Zintegrale_all=Zintegrale_all(:,2:size(Zintegrale_all,2));
+        struct1.pxfftaff_all=pxfftaff_all(:,2:size(pxfftaff_all,2));
+        struct1.pzfftaff_all=pzfftaff_all(:,2:size(pzfftaff_all,2));
+          if N_BPM==1
+            struct1.Xintegrale_mean=(struct1.Xintegrale_all(:,:));
+            struct1.Zintegrale_mean=(struct1.Zintegrale_all(:,:));
+            struct1.pxfftaff_mean=(struct1.pxfftaff_all(:,:));
+            struct1.pzfftaff_mean=(struct1.pzfftaff_all(:,:));
+          else
+            struct1.Xintegrale_mean=mean(struct1.Xintegrale_all(:,:));
+            struct1.Zintegrale_mean=mean(struct1.Zintegrale_all(:,:));
+            struct1.pxfftaff_mean=mean(struct1.pxfftaff_all(:,:));
+            struct1.pzfftaff_mean=mean(struct1.pzfftaff_all(:,:));
+          end
+            setappdata(handles.figure1,'struct1',struct1);
+    case 'Plot2'
+        N_BPM=size(BPM_list,1);
+        %index=regexp(filename,'_');
+        %filename(index)=' ';
+        %struct2.filename=filename;
+        %struct2.pathname=pathname;
+        struct2.filename='unknown';
+        struct2.pathname='unknown';
+        struct2.BPM_list=BPM_list;
+        struct2.f_bpm=f_bpm;
+        struct2.Xintegrale_all=Xintegrale_all(:,2:size(Xintegrale_all,2));
+        struct2.Zintegrale_all=Zintegrale_all(:,2:size(Zintegrale_all,2));
+        struct2.pxfftaff_all=pxfftaff_all(:,2:size(pxfftaff_all,2));
+        struct2.pzfftaff_all=pzfftaff_all(:,2:size(pzfftaff_all,2));
+          if N_BPM==1
+            struct2.Xintegrale_mean=(struct2.Xintegrale_all(:,:));
+            struct2.Zintegrale_mean=(struct2.Zintegrale_all(:,:));
+            struct2.pxfftaff_mean=(struct2.pxfftaff_all(:,:));
+            struct2.pzfftaff_mean=(struct2.pzfftaff_all(:,:));
+          else
+            struct2.Xintegrale_mean=mean(struct2.Xintegrale_all(:,:));
+            struct2.Zintegrale_mean=mean(struct2.Zintegrale_all(:,:));
+            struct2.pxfftaff_mean=mean(struct2.pxfftaff_all(:,:));
+            struct2.pzfftaff_mean=mean(struct2.pzfftaff_all(:,:));
+          end
+            setappdata(handles.figure1,'struct2',struct2);
+    case 'No'
+end
+affichage(hObject, eventdata, handles);
+
+% --- Executes on button press in switch_plots.
+function switch_plots_Callback(hObject, eventdata, handles)
+% hObject    handle to switch_plots (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+struct1=getappdata(handles.figure1,'struct1');
+struct2=getappdata(handles.figure1,'struct2');
+
+setappdata(handles.figure1,'struct2',struct1);
+setappdata(handles.figure1,'struct1',struct2);
+
+affichage(hObject, eventdata, handles);
+
+
+
+function record_length_Callback(hObject, eventdata, handles)
+% hObject    handle to record_length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of record_length as text
+%        str2double(get(hObject,'String')) returns contents of record_length as a double
+record_length=str2num(get(handles.record_length,'string'));
+if record_length>10
+    f = warndlg('Record Length is limited to 10s', 'Warning');
+    set(handles.record_length,'string',num2str(10));
+end
+
+% --- Executes during object creation, after setting all properties.
+function record_length_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to record_length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in source.
+function source_Callback(hObject, eventdata, handles)
+% hObject    handle to source (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = cellstr(get(hObject,'String')) returns source contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from source
+
+
+% --- Executes during object creation, after setting all properties.
+function source_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to source (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/Compute_FFT_on_FA_data.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/Compute_FFT_on_FA_data.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/Compute_FFT_on_FA_data.m	(revision 17)
@@ -0,0 +1,137 @@
+function [BPM_list bufferX bufferZ pxfftaff_all pzfftaff_all Xintegrale_all Zintegrale_all f_bpm]=Compute_FFT_on_FA_data(buffer_length,fmin,fmax,save2xls)
+
+clk=clock;
+year=num2str(clk(1));
+month=num2str(clk(2),'%.2d');
+day=num2str(clk(3),'%.2d');
+hour=[num2str(clk(4),'%.2d'),'h'];
+min=[num2str(clk(5),'%.2d'),'mn'];
+date=['_',year,'_',month,'_',day,'_',hour,'_',min];
+filename=['/home/operateur/GrpDiagnostics/matlab/data/Enregistrement',date,'.mat'];
+
+
+dev='ANS/DG/fofb-sniffer.2';
+fech=10079;
+fmin_display=fmin;
+fmax_display=fmax;
+fmax_record=2000;
+
+[selection ok]=listdlg('liststring',family2tangodev('BPMx'),'Name','Select BPM(s)')
+if ok
+    Nbpm=size(selection,2);
+    h1=waitbar(0,'please wait...');
+    tango_write_attribute2(dev,'recordLengthInSecs',buffer_length)
+    pause(1)
+    record_length=tango_read_attribute2(dev,'recordLengthInSecs');
+    for i=1:buffer_length+2
+        pause(1)
+        waitbar(i/buffer_length,h1);
+    end
+    close(h1)
+    %tango_command_inout2(dev,'StartRecording');
+    %pause(record_length.value(1)+3);
+    h2=waitbar(0,'please wait...');
+    
+    for j=1:1:Nbpm
+        bufferX(j,:)=(tango_command_inout2(dev,'GetXPosData',uint16(selection(j))));
+        bufferZ(j,:)=(tango_command_inout2(dev,'GetZPosData',uint16(selection(j))));
+        waitbar(j/Nbpm,h2)
+    end
+    Nsamples=size(bufferX(j,:),2);
+    [pxfftaff,pzfftaff,Xintegrale_bpm,Zintegrale_bpm,f_bpm]=fft_and_noise_calcul_group(bufferX(:,1:Nsamples),bufferZ(:,1:Nsamples),fech);
+    pxfftaff_all=pxfftaff;
+    pzfftaff_all=pzfftaff;
+    Xintegrale_all(:,1:Nsamples)=Xintegrale_bpm;
+    Zintegrale_all(:,1:Nsamples)=Zintegrale_bpm;
+
+    
+    end
+    close(h2)
+%     answer=questdlg(['Display FFT and noise for ',num2str(Nbpm),' BPMs?']);
+%     switch answer
+%         case 'Yes'
+%            for j=1:1:Nbpm
+%                 figure
+%                 
+%                 subplot(2,2,1)
+%                 semilogy(f_bpm,pxfftaff_all(j,2:Nsamples));
+%                 xlim([fmin_display fmax_display]);
+%                 ylim([10^-3 10^2]);
+%                 xlabel('frequency (Hz)')
+%                 ylabel('Âµm/sqrt(Hz)')
+%                 title(family2tangodev('BPMx',selection(j)));
+%                 legend('fft plan H');
+%                 grid on;
+% 
+%                 subplot(2,2,2)
+%                 semilogy(f_bpm,pzfftaff_all(j,2:Nsamples));
+%                 xlim([fmin_display fmax_display]);
+%                 ylim([10^-3 10^1]);
+%                 xlabel('frequency (Hz)')
+%                 ylabel('Âµm/sqrt(Hz)')
+%                 title(family2tangodev('BPMx',selection(j)));
+%                 legend('fft plan V');
+%                 grid on;
+% 
+%                 subplot(2,2,3)
+%                 plot(f_bpm,Xintegrale_all(j,2:Nsamples));
+%                 xlim([fmin_display fmax_display]);
+%                 xlabel('frequence (Hz)');
+%                 ylabel('Âµm');
+%                 legend('bruit integrÃ© plan H');
+%                 grid on;
+% 
+%                 subplot(2,2,4)
+%                 plot(f_bpm,Zintegrale_all(j,2:Nsamples))
+%                 xlim([fmin_display fmax_display]);
+%                 xlabel('frequence (Hz)');
+%                 ylabel('Âµm');
+%                 legend('bruit integrÃ© plan V');
+%                 grid on;
+% 
+%            end
+%         otherwise
+%     end
+            
+    BPM_list=family2tangodev('BPMx',selection(:));
+    %uisave({'BPM_list','bufferX','bufferZ','pxfftaff_all','pzfftaff_all','Xintegrale_all','Zintegrale_all','f_bpm'},filename)
+    uisave({'BPM_list','bufferX','bufferZ'},filename)
+    if save2xls
+        filename_xls={['Enregistrement',date]};
+        answer = inputdlg('Filename:','Save results in an exel file?',1,filename_xls,'on');
+        if isempty(answer)
+        else
+            index=max(find(f_bpm<fmax_record));
+
+            for i=1:1:Nbpm
+                bpm_name=BPM_list{i};
+                bpm_name(8)='_';
+                bpm_name(11)='_';
+                bpm_name(15)='_'
+
+                filename=[answer{1},'_',bpm_name,'.xls'];
+                fid=fopen(filename,'w');
+                first_line='frequence:Spectre_X:Spectre_Z\n';
+                fprintf(fid,first_line);
+                for j=1:1:index-1
+                    fprintf(fid,'%d:%d:%d\n',f_bpm(j),pxfftaff_all(i,j+1),pzfftaff_all(i,j+1));
+                end
+                fclose(fid)
+                fprintf('Le fichier %s est bien enregistrÃ©\n',filename);
+            end
+        end
+    end
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/Config_Dserver_BPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/Config_Dserver_BPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/Config_Dserver_BPM.m	(revision 17)
@@ -0,0 +1,1317 @@
+function varargout = Config_Dserver_BPM(varargin)
+% CONFIG_DSERVER_BPM M-file for Config_Dserver_BPM.fig
+%      CONFIG_DSERVER_BPM, by itself, creates a new CONFIG_DSERVER_BPM or raises the existing
+%      singleton*.
+%
+%      H = CONFIG_DSERVER_BPM returns the handle to a new CONFIG_DSERVER_BPM or the handle to
+%      the existing singleton*.
+%
+%      CONFIG_DSERVER_BPM('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in CONFIG_DSERVER_BPM.M with the given input arguments.
+%
+%      CONFIG_DSERVER_BPM('Property','Value',...) creates a new CONFIG_DSERVER_BPM or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before Config_Dserver_BPM_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to Config_Dserver_BPM_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help Config_Dserver_BPM
+
+% Last Modified by GUIDE v2.5 01-Dec-2006 16:56:56
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @Config_Dserver_BPM_OpeningFcn, ...
+                   'gui_OutputFcn',  @Config_Dserver_BPM_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before Config_Dserver_BPM is made visible.
+function Config_Dserver_BPM_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+for i=1:1:16
+handles.table(i)=0;
+end
+% varargin   command line arguments to Config_Dserver_BPM (see VARARGIN)
+
+% Choose default command line output for Config_Dserver_BPM
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes Config_Dserver_BPM wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = Config_Dserver_BPM_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in Booster.
+function Booster_Callback(hObject, eventdata, handles)
+% hObject    handle to Booster (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Booster
+set(handles.Tune_BPM,'value',0);
+set(handles.LT2,'value',0);
+set(handles.Baie_test,'value',0);
+    set(handles.All,'value',0);
+    set(handles.Baie1,'value',0);
+    set(handles.Baie2,'value',0);
+    set(handles.Baie3,'value',0);
+    set(handles.Baie4,'value',0);
+    set(handles.Baie5,'value',0);
+    set(handles.Baie6,'value',0);
+    set(handles.Baie7,'value',0);
+    set(handles.Baie8,'value',0);
+    set(handles.Baie9,'value',0);
+    set(handles.Baie10,'value',0);
+    set(handles.Baie11,'value',0);
+    set(handles.Baie12,'value',0);
+    set(handles.Baie13,'value',0);
+    set(handles.Baie14,'value',0);
+    set(handles.Baie15,'value',0);
+    set(handles.Baie16,'value',0);
+    for i=1:1:16
+        handles.table(i)=0;
+        guidata(hObject, handles);
+    end
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+List=Get_Dev_List('Booster');
+for j=1:1:size(List,1)
+    Dev_List(Index+j,:)=List(j,:);
+end
+set(handles.Devices_list,'string',Dev_List); 
+current_list=get(handles.Devices_list,'string');
+Index=size(current_list,1);
+
+% --- Executes on button press in LT2.
+function LT2_Callback(hObject, eventdata, handles)
+% hObject    handle to LT2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of LT2
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+    set(handles.All,'value',0);
+    set(handles.Baie1,'value',0);
+    set(handles.Baie2,'value',0);
+    set(handles.Baie3,'value',0);
+    set(handles.Baie4,'value',0);
+    set(handles.Baie5,'value',0);
+    set(handles.Baie6,'value',0);
+    set(handles.Baie7,'value',0);
+    set(handles.Baie8,'value',0);
+    set(handles.Baie9,'value',0);
+    set(handles.Baie10,'value',0);
+    set(handles.Baie11,'value',0);
+    set(handles.Baie12,'value',0);
+    set(handles.Baie13,'value',0);
+    set(handles.Baie14,'value',0);
+    set(handles.Baie15,'value',0);
+    set(handles.Baie16,'value',0);
+    for i=1:1:16
+        handles.table(i)=0;
+        guidata(hObject, handles);
+    end
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+List=Get_Dev_List('LT2');
+for j=1:1:size(List,1)
+    Dev_List(Index+j,:)=List(j,:);
+end
+set(handles.Devices_list,'string',Dev_List); 
+current_list=get(handles.Devices_list,'string');
+Index=size(current_list,1);
+
+% --- Executes on button press in Baie_test.
+function Baie_test_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie_test (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Baie_test
+    set(handles.Tune_BPM,'value',0);
+    set(handles.LT2,'value',0);
+    set(handles.Booster,'value',0);
+    set(handles.All,'value',0);
+    set(handles.Baie1,'value',0);
+    set(handles.Baie2,'value',0);
+    set(handles.Baie3,'value',0);
+    set(handles.Baie4,'value',0);
+    set(handles.Baie5,'value',0);
+    set(handles.Baie6,'value',0);
+    set(handles.Baie7,'value',0);
+    set(handles.Baie8,'value',0);
+    set(handles.Baie9,'value',0);
+    set(handles.Baie10,'value',0);
+    set(handles.Baie11,'value',0);
+    set(handles.Baie12,'value',0);
+    set(handles.Baie13,'value',0);
+    set(handles.Baie14,'value',0);
+    set(handles.Baie15,'value',0);
+    set(handles.Baie16,'value',0);
+    for i=1:1:16
+        handles.table(i)=0;
+        guidata(hObject, handles);
+    end
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+List=Get_Dev_List('test');
+for j=1:1:size(List,1)
+    Dev_List(Index+j,:)=List(j,:);
+end
+set(handles.Devices_list,'string',Dev_List); 
+current_list=get(handles.Devices_list,'string');
+Index=size(current_list,1);
+
+% --- Executes on button press in Tune_BPM.
+function Tune_BPM_Callback(hObject, eventdata, handles)
+% hObject    handle to Tune_BPM (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Tune_BPM
+set(handles.LT2,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+    set(handles.All,'value',0);
+    set(handles.Baie1,'value',0);
+    set(handles.Baie2,'value',0);
+    set(handles.Baie3,'value',0);
+    set(handles.Baie4,'value',0);
+    set(handles.Baie5,'value',0);
+    set(handles.Baie6,'value',0);
+    set(handles.Baie7,'value',0);
+    set(handles.Baie8,'value',0);
+    set(handles.Baie9,'value',0);
+    set(handles.Baie10,'value',0);
+    set(handles.Baie11,'value',0);
+    set(handles.Baie12,'value',0);
+    set(handles.Baie13,'value',0);
+    set(handles.Baie14,'value',0);
+    set(handles.Baie15,'value',0);
+    set(handles.Baie16,'value',0);
+    for i=1:1:16
+        handles.table(i)=0;
+        guidata(hObject, handles);
+    end
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+List=Get_Dev_List('Tune_BPM');
+for j=1:1:size(List,1)
+    Dev_List(Index+j,:)=List(j,:);
+end
+set(handles.Devices_list,'string',Dev_List); 
+current_list=get(handles.Devices_list,'string');
+Index=size(current_list,1);
+
+
+% --- Executes on button press in All.
+function All_Callback(hObject, eventdata, handles)
+% hObject    handle to All (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of All
+
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+all=get(handles.All,'value');
+set(handles.Baie_test,'value',0);
+    set(handles.Baie1,'value',all);
+    set(handles.Baie2,'value',all);
+    set(handles.Baie3,'value',all);
+    set(handles.Baie4,'value',all);
+    set(handles.Baie5,'value',all);
+    set(handles.Baie6,'value',all);
+    set(handles.Baie7,'value',all);
+    set(handles.Baie8,'value',all);
+    set(handles.Baie9,'value',all);
+    set(handles.Baie10,'value',all);
+    set(handles.Baie11,'value',all);
+    set(handles.Baie12,'value',all);
+    set(handles.Baie13,'value',all);
+    set(handles.Baie14,'value',all);
+    set(handles.Baie15,'value',all);
+    set(handles.Baie16,'value',all);
+    for i=1:1:16
+        handles.table(i)=all;
+        guidata(hObject, handles);
+    end
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+
+
+if all
+    List=Get_Dev_List('ANS');
+    for j=1:1:size(List,1)
+     Dev_List(Index+j,:)=List(j,:);
+    end
+    set(handles.Devices_list,'string',Dev_List); 
+    current_list=get(handles.Devices_list,'string');
+    Index=size(current_list,1);
+end  
+
+if all==0
+    set(handles.Devices_list,'string','');
+end
+    
+
+% --- Executes on button press in Baie1.
+function Baie1_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(1)=get(handles.Baie1,'value');
+val=handles.table
+guidata(hObject, handles);
+% Hint: get(hObject,'Value') returns toggle state of Baie1
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i))
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List) 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie2.
+function Baie2_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(2)=get(handles.Baie2,'value');
+guidata(hObject, handles);
+% Hint: get(hObject,'Value') returns toggle state of Baie2
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie3.
+function Baie3_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(3)=get(handles.Baie3,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie3
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie4.
+function Baie4_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(4)=get(handles.Baie4,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie4
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie5.
+function Baie5_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(5)=get(handles.Baie5,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie5
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie6.
+function Baie6_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(6)=get(handles.Baie6,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie6
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie7.
+function Baie7_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(7)=get(handles.Baie7,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie7
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie8.
+function Baie8_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(8)=get(handles.Baie8,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie8
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie9.
+function Baie9_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(9)=get(handles.Baie9,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie9
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie10.
+function Baie10_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(10)=get(handles.Baie10,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie10
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie11.
+function Baie11_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(11)=get(handles.Baie11,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie11
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie12.
+function Baie12_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(12)=get(handles.Baie12,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie12
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie13.
+function Baie13_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(13)=get(handles.Baie13,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie13
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie14.
+function Baie14_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(14)=get(handles.Baie14,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie14
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie15.
+function Baie15_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(15)=get(handles.Baie15,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie15
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+% --- Executes on button press in Baie16.
+function Baie16_Callback(hObject, eventdata, handles)
+% hObject    handle to Baie16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.LT2,'value',0);
+set(handles.Tune_BPM,'value',0);
+set(handles.Booster,'value',0);
+set(handles.Baie_test,'value',0);
+handles.table(16)=get(handles.Baie16,'value');
+guidata(hObject, handles);
+
+% Hint: get(hObject,'Value') returns toggle state of Baie16
+List=0;
+Index=0;
+handles.table
+set(handles.Devices_list,'value',1)
+for i=1:1:16
+    if handles.table(i)==1
+        List=Get_Dev_List(num2str(i));
+        for j=1:1:size(List,1)
+         Dev_List(Index+j,:)=List(j,:);
+        end
+        set(handles.Devices_list,'string',Dev_List); 
+        current_list=get(handles.Devices_list,'string');
+        Index=size(current_list,1);
+    end  
+end
+
+
+
+
+% --- Executes on selection change in Devices_list.
+function Devices_list_Callback(hObject, eventdata, handles)
+% hObject    handle to Devices_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Devices_list contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Devices_list
+
+
+% --- Executes during object creation, after setting all properties.
+function Devices_list_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Devices_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in attribute_list.
+function attribute_list_Callback(hObject, eventdata, handles)
+% hObject    handle to attribute_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns attribute_list contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from attribute_list
+Val=get(handles.attribute_list,'value');
+String=get(handles.attribute_list,'string');
+attribute=String{Val};
+
+switch attribute
+    case{'DDTriggerCounter','DDBufferFreezingEnabled','DDBufferFrozen','ExternalTriggerEnabled','PMNotified','XHigh','XLow','ZHigh','ZLow','MC locked','XRMSPosSA','ZRMSPosSA','State','Status'}
+        set(handles.Write_attribute,'Enable','off')
+    otherwise
+        set(handles.Write_attribute,'Enable','on')
+end
+
+% --- Executes during object creation, after setting all properties.
+function attribute_list_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to attribute_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Read_attribute.
+function Read_attribute_Callback(hObject, eventdata, handles)
+% hObject    handle to Read_attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+Val=get(handles.attribute_list,'value');
+String=get(handles.attribute_list,'string');
+attribute=String{Val};
+
+list=get(handles.Devices_list,'string');
+index=get(handles.Devices_list,'value');
+Dev_List=list(index,:)
+switch attribute
+    case {'XPosDD','ZPosDD','QuadDD','SumDD','VaDD','VbDD','VcDD','VdDD','XPosSAHistory','ZPosSAHistory','XPosPM','ZPosPM','QuadPM','SumPM','VaPM','VbPM','VcPM','VdPM','InterlockConfiguration','ADCChannelA','ADCChannelB','ADCChannelC','ADCChannelD'}
+         if(size(Dev_List,1)~=1)
+         warndlg('You can not select more than 1 Dserver to display an attribute that is a vector') 
+         else
+         res=tango_read_attribute2(Dev_List(1,:),attribute);
+         axes(handles.graph);
+         plot(res.value);
+         ylabel('mm');
+         title(attribute);
+         end
+    otherwise
+%h = waitbar(0,'Please wait...');
+groupe=create_bpm_group(Dev_List);
+result=tango_group_read_attribute(groupe,attribute,1)
+tango_group_kill(groupe);
+for i=1:1:size(Dev_List,1)
+val_list(i)=result.replies(i).value(1);
+%     switch attribute
+%         case 'MC locked'
+%             if i==1
+%                MCstatus_file=fopen('MC_Locked_satus.txt','wt');
+%             end 
+%             libera_ip=tango_get_property2(Dev_List(i,:),'LiberaIpAddr');
+%             fid=fopen('liste-IP-libera-test.txt','wt');
+%             fprintf(fid,libera_ip.value{1});
+%             fclose(fid);
+%             command='./Read_MC_lock_anneau.sh liste-IP-libera-test.txt';
+%             [status,result]=unix(command,'-echo');
+%             lmtd_index=regexp(result,'lmtd');
+%             if isempty(lmtd_index)
+%                 ligne=[Dev_List(i,:),' ',libera_ip.value{1},'  no locked message\n'];
+%                 val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' not locked'];
+%             else
+%             return_index_array=regexp(result,'\n');
+%             return_index=find(return_index_array>lmtd_index,1)-1;
+%             start_line_index=return_index_array(return_index)+1;
+%             stop_line_index=return_index_array(return_index+1);
+%             ligne=[Dev_List(i,:),' ',result(start_line_index:stop_line_index)];
+%             if isempty(regexp(ligne,' locked'))
+%             val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),'   unlocked'];
+%             else
+%             val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),'     locked'];   
+%             end
+%             end
+%             fprintf(MCstatus_file,ligne);
+%             if(i==size(Dev_List,1))
+%             fclose(MCstatus_file);
+%             %   edit('MC_Locked_satus.txt');
+%             end
+%            
+%         otherwise
+ 
+            
+%             res=tango_read_attribute2(Dev_List(i,:),attribute);
+%             val_list(i)=res.value(1); 
+    
+%   waitbar(i/size(Dev_List,1)); 
+end
+
+set(handles.Attribute_current_value_list,'value',1)
+set(handles.Attribute_current_value_list,'string',val_list);
+%close(h);
+end
+% --- Executes on button press in Write_attribute.
+function Write_attribute_Callback(hObject, eventdata, handles)
+% hObject    handle to Write_attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+Val=get(handles.attribute_list,'value');
+String=get(handles.attribute_list,'string');
+attribute=String{Val};
+switch attribute
+    case {'DDBufferSize','ADCBufferSize','RMSSamples','TimePhase','OffsetTune','MAFDelay','MAFLength','SwitchingDelay','SAStatNumSamples','DDTriggerOffset','PMOffset'}
+        disp('toto')
+        New_value=int32(str2num(get(handles.Attribute_next_value,'string')));
+    case {'DDEnabled', 'SAEnabled','ADCEnabled','AGCEnabled','CompensateTune','ExternalSwitching','HasMAFSupport','UseLiberaSAData'}
+        New_value=uint8(str2num(get(handles.Attribute_next_value,'string')));
+    case {'Switches','DSCMode'}
+        New_value=int16(str2num(get(handles.Attribute_next_value,'string')));
+    case 'DDDecimationFactor'
+        New_value=uint16(str2num(get(handles.Attribute_next_value,'string')));
+    case 'Gain'
+         New_value=(str2num(get(handles.Attribute_next_value,'string')));
+    case {'MachineTime','SystemTime','MaxIncoherence','MaxIncoherenceDrift'}
+         New_value=double(str2num(get(handles.Attribute_next_value,'string')));
+    otherwise
+end
+
+list=get(handles.Devices_list,'string');
+index=get(handles.Devices_list,'value');
+Dev_List=list(index,:);
+
+groupe=create_bpm_group(Dev_List);
+tango_group_write_attribute(groupe,attribute,1,New_value)
+% 
+% for i=1:1:size(Dev_List,1)
+%     tango_write_attribute2(Dev_List(i,:),attribute,New_value);  
+% end
+
+% Val=get(handles.attribute_list,'value');
+% String=get(handles.attribute_list,'string');
+% attribute=String{Val};
+%groupe=create_bpm_group(Dev_List);
+pause(1.3);
+result=tango_group_read_attribute(groupe,attribute,1)
+tango_group_kill(groupe);
+if result.has_failed==0
+    for i=1:1:size(Dev_List,1)
+%     res=tango_read_attribute2(Dev_List(i,:),attribute);
+%     val_list(i)=res.value(1); 
+    val_list(i)=result.replies(i).value(1);   
+    end
+set(handles.Attribute_current_value_list,'string',val_list);
+else
+    errordlg('read faild on at least one BPM');
+end;
+
+function Attribute_next_value_Callback(hObject, eventdata, handles)
+% hObject    handle to Attribute_next_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Attribute_next_value as text
+%        str2double(get(hObject,'String')) returns contents of Attribute_next_value as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Attribute_next_value_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Attribute_next_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in Attribute_current_value_list.
+function Attribute_current_value_list_Callback(hObject, eventdata, handles)
+% hObject    handle to Attribute_current_value_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Attribute_current_value_list contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Attribute_current_value_list
+
+% list=get(handles.Devices_list,'string');
+% index=get(handles.Devices_list,'value');
+% Dev_List=list(index,:);
+% 
+% index_attributs=get(handles.Attribute_current_value_list,'value')
+% corresponding_device=Dev_List(index_attributs,:)
+% index(1)-1+index_attributs
+% set(handles.Devices_list,'value',index-1+index_attributs)
+
+% --- Executes during object creation, after setting all properties.
+function Attribute_current_value_list_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Attribute_current_value_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in Commands_list.
+function Commands_list_Callback(hObject, eventdata, handles)
+% hObject    handle to Commands_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Commands_list contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Commands_list
+
+
+% --- Executes during object creation, after setting all properties.
+function Commands_list_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Commands_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Apply_command.
+function Apply_command_Callback(hObject, eventdata, handles)
+% hObject    handle to Apply_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Val=get(handles.Commands_list,'value');
+String=get(handles.Commands_list,'string');
+commande=String{Val};
+
+list=get(handles.Devices_list,'string');
+index=get(handles.Devices_list,'value');
+Dev_List=list(index,:);
+
+switch commande
+    case {'Detune','Retune','Design'}
+         h = waitbar(0,'Please wait...');
+       for i=1:1:size(Dev_List,1)          
+            waitbar(i/size(Dev_List,1));
+            libera_ip=tango_get_property2(Dev_List(i,:),'LiberaIpAddr')
+            fid=fopen('liste-IP-libera-test.txt','wt');
+            fprintf(fid,libera_ip.value{1});
+            fclose(fid);
+            if commande=='Detune'
+                command='./Detune_liste.sh liste-IP-libera-test.txt';
+                [status,result]=unix(command,'-echo');
+                detune_index=regexp(result,' -o ');
+                if isempty(detune_index)
+                    val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' no detuning'];
+                else
+                    ligne=[result(detune_index+1:detune_index+5),'      '];
+                    val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' ',ligne]; 
+                end
+            end
+            if commande=='Retune'
+                command='./Retune_liste.sh liste-IP-libera-test.txt';          
+                [status,result]=unix(command,'-echo');
+                detune_index=regexp(result,' -o ');
+                if isempty(detune_index)
+                    val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' no detuning'];
+                else
+                    ligne=[result(detune_index+1:detune_index+5),'      '];
+                    val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' ',ligne]; 
+                end
+            end
+             if commande=='Design'
+                command='./get_FPGA_design.sh liste-IP-libera-test.txt';      
+                [status,result]=unix(command,'-echo');
+                index=regexp(result,'->');
+                if isempty(index)
+                    val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' error'];
+                else
+                    ligne=[result(index+15:index+27)];
+                    val_list(i,:)=[Dev_List(i,12:16),' ',ligne]; 
+                end
+              end    
+         end
+
+       set(handles.Attribute_current_value_list,'string',val_list);
+       close(h)
+    otherwise
+
+        groupe=create_bpm_group(Dev_List);
+        tango_group_command_inout2(groupe,commande,0,1)
+        tango_group_kill(groupe);
+end
+% for i=1:1:size(Dev_List,1)
+%     switch commande
+%     case 'Set_Time(synchro sur MC)'
+%         libera_ip='0';
+%         Correspondance=tango_get_db_property('BPM','DeviceParameters');
+%         for j=1:1:size(Correspondance,2)
+%                 ligne=regexpi(Correspondance{j},Dev_List(i,:));
+%                 if isempty(ligne)==0
+%                    if size(Correspondance{j},2)==36
+%                         libera_ip=[Correspondance{j}(34),Correspondance{j}(35),Correspondance{j}(36)];
+%                    elseif size(Correspondance{j},2)==35
+%                          libera_ip=[Correspondance{j}(34),Correspondance{j}(35)]  ;
+%                    elseif size(Correspondance{j},2)==34
+%                          libera_ip=Correspondance{j}(34) ;
+%                    end
+%                 end
+%         end
+%         set_time_command=['./net-libera -x 0: 172.17.15.',libera_ip]
+%         
+%         unix(set_time_command)
+%         
+%         case 'Detune'
+%             libera_ip=tango_get_property2(Dev_List(i,:),'LiberaIpAddr')
+%             fid=fopen('liste-IP-libera-test.txt','wt');
+%             fprintf(fid,libera_ip.value{1});
+%             fclose(fid);
+%             command='./Detune_liste.sh liste-IP-libera-test.txt';
+%             [status,result]=unix(command,'-echo');
+%             detune_index=regexp(result,' -f ');
+%             if isempty(detune_index)
+%                 val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' no detuning'];
+%             else
+%                 ligne=[result(detune_index+1:detune_index+5),'      '];
+%                 val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' ',ligne]; 
+%             end
+%    
+%         case 'Retune'
+%             libera_ip=tango_get_property2(Dev_List(i,:),'LiberaIpAddr')
+%             fid=fopen('liste-IP-libera-test.txt','wt');
+%             fprintf(fid,libera_ip.value{1});
+%             fclose(fid);
+%             command='./Retune_liste.sh liste-IP-libera-test.txt';
+%             [status,result]=unix(command,'-echo');
+%             detune_index=regexp(result,' -f ');
+%             if isempty(detune_index)
+%                 val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' no detuning'];
+%             else
+%                 ligne=[result(detune_index+1:detune_index+5),'      '];
+%                 val_list(i,:)=[Dev_List(i,5:8),Dev_List(i,12:16),' ',ligne];
+%             end
+%         otherwise
+        
+%     tango_command_inout2(Dev_List(i,:),commande);  
+%     end
+%     waitbar(i/size(Dev_List,1));
+% end
+% switch commande
+%     case {'Detune','Retune'}
+%     set(handles.Attribute_current_value_list,'string',val_list);
+%     otherwise
+% end
+% close(h)
+
+% --- Executes on selection change in property_list.
+function property_list_Callback(hObject, eventdata, handles)
+% hObject    handle to property_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns property_list contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from property_list
+
+
+% --- Executes during object creation, after setting all properties.
+function property_list_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to property_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in property_current_value_list.
+function property_current_value_list_Callback(hObject, eventdata, handles)
+% hObject    handle to property_current_value_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns property_current_value_list contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from property_current_value_list
+
+
+% --- Executes during object creation, after setting all properties.
+function property_current_value_list_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to property_current_value_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Read_property.
+function Read_property_Callback(hObject, eventdata, handles)
+% hObject    handle to Read_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Val=get(handles.property_list,'value');
+propertylist=get(handles.property_list,'string');
+list=get(handles.Devices_list,'string');
+index=get(handles.Devices_list,'value');
+Dev_List=list(index,:);
+switch Val
+    case {1, 2, 3, 4, 5, 6, 7, 8}
+        Val
+        for i=1:1:size(Dev_List,1)
+            res=tango_get_property2(Dev_List(i,:),'InterlockConfiguration');
+            val_list(i)=res.value(Val) ; 
+        end
+
+    otherwise
+         for i=1:1:size(Dev_List,1)
+            propertyname=propertylist{Val};
+            res=tango_get_property2(Dev_List(i,:),propertyname);
+            val_list(i)=res.value;
+         end
+end
+set(handles.property_current_value_list,'string',val_list);
+
+
+% --- Executes on button press in Write_property.
+function Write_property_Callback(hObject, eventdata, handles)
+% hObject    handle to Write_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+confirmation=questdlg('Modifier certaines properties peut dÃ©clencher l interlock. Voulez-vous continuer?','Avertissement','Oui','Non','Oui');
+switch confirmation
+    case 'Oui'
+      
+    Val=get(handles.property_list,'value');
+    String=get(handles.property_list,'string');
+    property_name=String{Val};    
+    list=get(handles.Devices_list,'string');
+    index=get(handles.Devices_list,'value');
+    Dev_List=list(index,:);
+    % String=get(handles.property_list,'string');
+    % property=String{Val};
+    New_Value=(get(handles.property_next_value,'string'));
+    h = waitbar(0,'Please wait...');
+    for i=1:1:size(Dev_List,1)
+        if Val<9 
+            res=tango_get_property2(Dev_List(i,:),'UserDefinedStartupEnvParameters');
+            res.value{Val+10}=New_Value;
+            tango_put_property2(Dev_List(i,:),res.name,res.value);
+            verif=tango_get_property2(Dev_List(i,:),'UserDefinedStartupEnvParameters');
+
+         val_list(i)=verif.value(Val+10) ;
+         
+        else
+            res=tango_get_property2(Dev_List(i,:),property_name);
+            res.value={New_Value};
+           tango_put_property2(Dev_List(i,:),res.name,res.value);
+            verif=tango_get_property2(Dev_List(i,:),property_name);
+            val_list(i,:)=verif.value;
+        end
+        waitbar(i/size(Dev_List,1));
+    end
+    set(handles.property_current_value_list,'string',val_list);
+    otherwise
+end
+close(h);
+
+function property_next_value_Callback(hObject, eventdata, handles)
+% hObject    handle to property_next_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of property_next_value as text
+%        str2double(get(hObject,'String')) returns contents of property_next_value as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function property_next_value_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to property_next_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in ssh.
+function ssh_Callback(hObject, eventdata, handles)
+% hObject    handle to ssh (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+list=get(handles.Devices_list,'string');
+index=get(handles.Devices_list,'value');
+Dev_List=list(index,:);
+if(size(Dev_List,1)~=1)
+warndlg('You can not select more than 1 Dserver to connect to a libera') 
+else
+    commandwindow
+    IP_address=tango_get_property2(Dev_List(1,:),'LiberaIPAddr');
+    command=['ssh root@',IP_address.value{1}]
+    unix(command,'-echo')
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/Config_FOFB.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/Config_FOFB.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/Config_FOFB.m	(revision 17)
@@ -0,0 +1,1689 @@
+function varargout = Config_FOFB(varargin)
+% CONFIG_FOFB M-file for Config_FOFB.fig
+%      CONFIG_FOFB, by itself, creates a new CONFIG_FOFB or raises the existing
+%      singleton*.
+%
+%      H = CONFIG_FOFB returns the handle to a new CONFIG_FOFB or the handle to
+%      the existing singleton*.
+%
+%      CONFIG_FOFB('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in CONFIG_FOFB.M with the given input arguments.
+%
+%      CONFIG_FOFB('Property','Value',...) creates a new CONFIG_FOFB or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before Config_FOFB_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to Config_FOFB_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help Config_FOFB
+
+% Last Modified by GUIDE v2.5 15-Jul-2011 10:42:55
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @Config_FOFB_OpeningFcn, ...
+                   'gui_OutputFcn',  @Config_FOFB_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before Config_FOFB is made visible.
+function Config_FOFB_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to Config_FOFB (see VARARGIN)
+
+% Choose default command line output for Config_FOFB
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes Config_FOFB wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = Config_FOFB_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on selection change in Device_name.
+function Device_name_Callback(hObject, eventdata, handles)
+% hObject    handle to Device_name (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Device_name contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Device_name
+
+
+% --- Executes during object creation, after setting all properties.
+function Device_name_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Device_name (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Read_fofb_status.
+function Read_fofb_status_Callback(hObject, eventdata, handles)
+% hObject    handle to Read_fofb_status (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dev=get(handles.Device_name,'String');
+val_dev=get(handles.Device_name,'value');
+device_name=dev{val_dev}
+[CC_conf_reg,CC_Status_reg,RAM_X,RAM_Z]=fofb_read_cfg_memory(device_name)
+set(handles.CC_version,'string',CC_Status_reg.CC_version)
+set(handles.CC_status,'string',CC_Status_reg.CC_status)
+set(handles.Partner_1,'string',CC_Status_reg.lp1)
+set(handles.Partner_2,'string',CC_Status_reg.lp2)
+set(handles.Partner_3,'string',CC_Status_reg.lp3)
+set(handles.Partner_4,'string',CC_Status_reg.lp4)
+set(handles.Link_RX_1,'value',str2num(CC_Status_reg.status_RX1))
+set(handles.Link_RX_2,'value',str2num(CC_Status_reg.status_RX2))
+set(handles.Link_RX_3,'value',str2num(CC_Status_reg.status_RX3))
+set(handles.Link_RX_4,'value',str2num(CC_Status_reg.status_RX4))
+set(handles.Link_TX_1,'value',str2num(CC_Status_reg.status_TX1))
+set(handles.Link_TX_2,'value',str2num(CC_Status_reg.status_TX2))
+set(handles.Link_TX_3,'value',str2num(CC_Status_reg.status_TX3))
+set(handles.Link_TX_4,'value',str2num(CC_Status_reg.status_TX4))
+set(handles.Time_frame_cnt,'string',CC_Status_reg.time_frame_count)
+set(handles.H_error_1,'string',CC_Status_reg.hard_error_cnt_1)
+set(handles.H_error_2,'string',CC_Status_reg.hard_error_cnt_2)
+set(handles.H_error_3,'string',CC_Status_reg.hard_error_cnt_3)
+set(handles.H_error_4,'string',CC_Status_reg.hard_error_cnt_4)
+set(handles.S_error_1,'string',CC_Status_reg.soft_error_cnt_1)
+set(handles.S_error_2,'string',CC_Status_reg.soft_error_cnt_2)
+set(handles.S_error_3,'string',CC_Status_reg.soft_error_cnt_3)
+set(handles.S_error_4,'string',CC_Status_reg.soft_error_cnt_4)
+set(handles.F_error_1,'string',CC_Status_reg.frame_error_cnt_1)
+set(handles.F_error_2,'string',CC_Status_reg.frame_error_cnt_2)
+set(handles.F_error_3,'string',CC_Status_reg.frame_error_cnt_3)
+set(handles.F_error_4,'string',CC_Status_reg.frame_error_cnt_4)
+set(handles.RX_cnt_1,'string',CC_Status_reg.rx_pck_cnt_1)
+set(handles.RX_cnt_2,'string',CC_Status_reg.rx_pck_cnt_2)
+set(handles.RX_cnt_3,'string',CC_Status_reg.rx_pck_cnt_3)
+set(handles.RX_cnt_4,'string',CC_Status_reg.rx_pck_cnt_4)
+set(handles.TX_cnt_1,'string',CC_Status_reg.tx_pck_cnt_1)
+set(handles.TX_cnt_2,'string',CC_Status_reg.tx_pck_cnt_2)
+set(handles.TX_cnt_3,'string',CC_Status_reg.tx_pck_cnt_3)
+set(handles.TX_cnt_4,'string',CC_Status_reg.tx_pck_cnt_4)
+set(handles.process_time,'string',CC_Status_reg.process_time)
+set(handles.bpm_involved,'string',CC_Status_reg.bpm_involved)
+
+CC_conf_reg
+set(handles.BPM_id,'String',num2str(CC_conf_reg.bpm_id))
+set(handles.time_frame_length,'String',num2str(CC_conf_reg.time_frame_length))
+set(handles.MGT_powerdown,'String',num2str(CC_conf_reg.MGT_powerdown))
+set(handles.MGT_loopback,'String',num2str(CC_conf_reg.MGT_loopback))
+set(handles.Buf_clr_dly,'String',num2str(CC_conf_reg.buf_clr_dly))
+set(handles.Golden_X,'String',num2str(CC_conf_reg.Golden_X))
+set(handles.Golden_Z,'String',num2str(CC_conf_reg.Golden_Z))
+
+
+for j=1:1:256
+    size_addr=size(num2str(j-1),2);
+    size_X=size(num2str(RAM_X(j)),2);
+    size_Z=size(num2str(RAM_Z(j)),2);
+    switch size_addr
+        case 1
+            addr(j,:)=['00',num2str(j-1)];
+        case 2
+            addr(j,:)=['0',num2str(j-1)];
+        case 3
+            addr(j,:)=num2str(j-1);
+    end
+    switch size_X
+        case 1
+            X(j,:)=['         ',num2str(RAM_X(j))];
+        case 2
+             X(j,:)=['        ',num2str(RAM_X(j))];
+        case 3
+             X(j,:)=['       ',num2str(RAM_X(j))];
+         case 4
+             X(j,:)=['      ',num2str(RAM_X(j))];
+         case 5
+             X(j,:)=['     ',num2str(RAM_X(j))];
+         case 6
+             X(j,:)=['    ',num2str(RAM_X(j))];
+         case 7
+             X(j,:)=['   ',num2str(RAM_X(j))];
+          case 8
+             X(j,:)=['  ',num2str(RAM_X(j))];
+           case 9
+             X(j,:)=[' ',num2str(RAM_X(j))];
+          case 10
+             X(j,:)=['',num2str(RAM_X(j))];
+    end
+
+    switch size_Z
+        case 1
+            Z(j,:)=['         ',num2str(RAM_Z(j))];
+        case 2
+             Z(j,:)=['        ',num2str(RAM_Z(j))];
+        case 3
+             Z(j,:)=['       ',num2str(RAM_Z(j))];
+         case 4
+             Z(j,:)=['      ',num2str(RAM_Z(j))];
+         case 5
+             Z(j,:)=['     ',num2str(RAM_Z(j))];
+         case 6
+             Z(j,:)=['    ',num2str(RAM_Z(j))];
+         case 7
+             Z(j,:)=['   ',num2str(RAM_Z(j))];
+         case 8
+             Z(j,:)=['  ',num2str(RAM_Z(j))];
+          case 9
+             Z(j,:)=[' ',num2str(RAM_Z(j))];
+         case 10
+             Z(j,:)=['',num2str(RAM_Z(j))];
+    end
+ 
+    aff_RAM_X(j,:)=[addr(j,:),'     ',X(j,:)];
+    aff_RAM_Z(j,:)=[addr(j,:),'     ',Z(j,:)];
+    
+end
+set(handles.RAM_X,'string',aff_RAM_X); 
+set(handles.RAM_Z,'string',aff_RAM_Z); 
+
+
+% --- Executes on button press in Init_CC.
+function Init_CC_Callback(hObject, eventdata, handles)
+% hObject    handle to Init_CC (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% handles    structure with handles and user data (see GUIDATA)
+dev=get(handles.Device_name,'String');
+val_dev=get(handles.Device_name,'value');
+device_name=dev{val_dev}
+answer=(inputdlg('choose BPM id'))
+id=str2num(answer{1})
+set(handles.BPM_id,'String',answer)
+time_frame_lenght=str2num(get(handles.time_frame_length,'String'))
+MGT_powerdown=str2num(get(handles.MGT_powerdown,'String'))
+MGT_loopback=str2num(get(handles.MGT_loopback,'String'))
+buf_clr_dly=str2num(get(handles.Buf_clr_dly,'String'))
+Golden_X=str2num(get(handles.Golden_X,'String'))
+Golden_Z=str2num(get(handles.Golden_Z,'String'))
+
+fofb_init_CC(device_name,id,time_frame_lenght,MGT_powerdown,MGT_loopback,buf_clr_dly,Golden_X,Golden_Z)
+
+%configure_fofb('write',device_name,'init_CC',id,time_frame_lenght,MGT_powerdown,MGT_loopback,buf_clr_dly,Golden_X,Golden_Z)
+
+% --- Executes on button press in Stop_CC.
+function Stop_CC_Callback(hObject, eventdata, handles)
+% hObject    handle to Stop_CC (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dev=get(handles.Device_name,'String');
+val_dev=get(handles.Device_name,'value');
+device_alim_list=dev(val_dev,:)
+groupe=create_group_from_list(device_alim_list);
+fofb_stop_CC(groupe)
+tango_group_kill(groupe)
+
+% --- Executes on button press in Arm_CC.
+function Arm_CC_Callback(hObject, eventdata, handles)
+% hObject    handle to Arm_CC (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dev=get(handles.Device_name,'String');
+val_dev=get(handles.Device_name,'value');
+device_alim_list=dev(val_dev,:)
+groupe=create_group_from_list(device_alim_list);
+data_selection=get(handles.radiobutton2,'value');
+time_frame_cnt_limit_value=str2num(get(handles.time_frame_count_limit_value,'String'))
+fofb_arm_CC(groupe,time_frame_cnt_limit_value,data_selection)
+tango_group_kill(groupe)
+
+
+
+function CC_version_Callback(hObject, eventdata, handles)
+% hObject    handle to CC_version (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CC_version as text
+%        str2double(get(hObject,'String')) returns contents of CC_version as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CC_version_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CC_version (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+
+function CC_status_Callback(hObject, eventdata, handles)
+% hObject    handle to CC_status (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CC_status as text
+%        str2double(get(hObject,'String')) returns contents of CC_status as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CC_status_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CC_status (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Partner_1_Callback(hObject, eventdata, handles)
+% hObject    handle to Partner_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Partner_1 as text
+%        str2double(get(hObject,'String')) returns contents of Partner_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Partner_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Partner_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Partner_2_Callback(hObject, eventdata, handles)
+% hObject    handle to Partner_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Partner_2 as text
+%        str2double(get(hObject,'String')) returns contents of Partner_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Partner_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Partner_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Partner_3_Callback(hObject, eventdata, handles)
+% hObject    handle to Partner_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Partner_3 as text
+%        str2double(get(hObject,'String')) returns contents of Partner_3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Partner_3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Partner_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Partner_4_Callback(hObject, eventdata, handles)
+% hObject    handle to Partner_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Partner_4 as text
+%        str2double(get(hObject,'String')) returns contents of Partner_4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Partner_4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Partner_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H_error_1_Callback(hObject, eventdata, handles)
+% hObject    handle to H_error_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H_error_1 as text
+%        str2double(get(hObject,'String')) returns contents of H_error_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function H_error_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H_error_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H_error_2_Callback(hObject, eventdata, handles)
+% hObject    handle to H_error_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H_error_2 as text
+%        str2double(get(hObject,'String')) returns contents of H_error_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function H_error_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H_error_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H_error_3_Callback(hObject, eventdata, handles)
+% hObject    handle to H_error_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H_error_3 as text
+%        str2double(get(hObject,'String')) returns contents of H_error_3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function H_error_3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H_error_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function H_error_4_Callback(hObject, eventdata, handles)
+% hObject    handle to H_error_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of H_error_4 as text
+%        str2double(get(hObject,'String')) returns contents of H_error_4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function H_error_4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to H_error_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function S_error_1_Callback(hObject, eventdata, handles)
+% hObject    handle to S_error_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of S_error_1 as text
+%        str2double(get(hObject,'String')) returns contents of S_error_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function S_error_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to S_error_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function S_error_2_Callback(hObject, eventdata, handles)
+% hObject    handle to S_error_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of S_error_2 as text
+%        str2double(get(hObject,'String')) returns contents of S_error_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function S_error_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to S_error_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function S_error_3_Callback(hObject, eventdata, handles)
+% hObject    handle to S_error_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of S_error_3 as text
+%        str2double(get(hObject,'String')) returns contents of S_error_3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function S_error_3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to S_error_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function S_error_4_Callback(hObject, eventdata, handles)
+% hObject    handle to S_error_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of S_error_4 as text
+%        str2double(get(hObject,'String')) returns contents of S_error_4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function S_error_4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to S_error_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function F_error_1_Callback(hObject, eventdata, handles)
+% hObject    handle to F_error_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of F_error_1 as text
+%        str2double(get(hObject,'String')) returns contents of F_error_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function F_error_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to F_error_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function F_error_2_Callback(hObject, eventdata, handles)
+% hObject    handle to F_error_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of F_error_2 as text
+%        str2double(get(hObject,'String')) returns contents of F_error_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function F_error_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to F_error_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function F_error_3_Callback(hObject, eventdata, handles)
+% hObject    handle to F_error_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of F_error_3 as text
+%        str2double(get(hObject,'String')) returns contents of F_error_3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function F_error_3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to F_error_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function F_error_4_Callback(hObject, eventdata, handles)
+% hObject    handle to F_error_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of F_error_4 as text
+%        str2double(get(hObject,'String')) returns contents of F_error_4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function F_error_4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to F_error_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function RX_cnt_1_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of RX_cnt_1 as text
+%        str2double(get(hObject,'String')) returns contents of RX_cnt_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function RX_cnt_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to RX_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function RX_cnt_2_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of RX_cnt_2 as text
+%        str2double(get(hObject,'String')) returns contents of RX_cnt_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function RX_cnt_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to RX_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function RX_cnt_3_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_cnt_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of RX_cnt_3 as text
+%        str2double(get(hObject,'String')) returns contents of RX_cnt_3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function RX_cnt_3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to RX_cnt_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function RX_cnt_4_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_cnt_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of RX_cnt_4 as text
+%        str2double(get(hObject,'String')) returns contents of RX_cnt_4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function RX_cnt_4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to RX_cnt_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function TX_cnt_1_Callback(hObject, eventdata, handles)
+% hObject    handle to TX_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of TX_cnt_1 as text
+%        str2double(get(hObject,'String')) returns contents of TX_cnt_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function TX_cnt_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to TX_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function TX_cnt_2_Callback(hObject, eventdata, handles)
+% hObject    handle to TX_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of TX_cnt_2 as text
+%        str2double(get(hObject,'String')) returns contents of TX_cnt_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function TX_cnt_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to TX_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function TX_cnt_3_Callback(hObject, eventdata, handles)
+% hObject    handle to TX_cnt_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of TX_cnt_3 as text
+%        str2double(get(hObject,'String')) returns contents of TX_cnt_3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function TX_cnt_3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to TX_cnt_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function TX_cnt_4_Callback(hObject, eventdata, handles)
+% hObject    handle to TX_cnt_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of TX_cnt_4 as text
+%        str2double(get(hObject,'String')) returns contents of TX_cnt_4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function TX_cnt_4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to TX_cnt_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Link_RX_1.
+function Link_RX_1_Callback(hObject, eventdata, handles)
+% hObject    handle to Link_RX_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Link_RX_1
+
+
+% --- Executes on button press in Link_RX_2.
+function Link_RX_2_Callback(hObject, eventdata, handles)
+% hObject    handle to Link_RX_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Link_RX_2
+
+
+% --- Executes on button press in Link_RX_3.
+function Link_RX_3_Callback(hObject, eventdata, handles)
+% hObject    handle to Link_RX_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Link_RX_3
+
+
+% --- Executes on button press in Link_RX_4.
+function Link_RX_4_Callback(hObject, eventdata, handles)
+% hObject    handle to Link_RX_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Link_RX_4
+
+
+% --- Executes on button press in checkbox5.
+function checkbox5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox5
+
+
+% --- Executes on button press in checkbox6.
+function checkbox6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox6
+
+
+% --- Executes on button press in checkbox7.
+function checkbox7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox7
+
+
+% --- Executes on button press in checkbox8.
+function checkbox8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox8
+
+
+
+function Time_frame_cnt_Callback(hObject, eventdata, handles)
+% hObject    handle to Time_frame_cnt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Time_frame_cnt as text
+%        str2double(get(hObject,'String')) returns contents of Time_frame_cnt as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Time_frame_cnt_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Time_frame_cnt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Link_TX_1.
+function Link_TX_1_Callback(hObject, eventdata, handles)
+% hObject    handle to Link_TX_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Link_TX_1
+
+
+% --- Executes on button press in Link_TX_2.
+function Link_TX_2_Callback(hObject, eventdata, handles)
+% hObject    handle to Link_TX_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Link_TX_2
+
+
+% --- Executes on button press in Link_TX_3.
+function Link_TX_3_Callback(hObject, eventdata, handles)
+% hObject    handle to Link_TX_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Link_TX_3
+
+
+% --- Executes on button press in Link_TX_4.
+function Link_TX_4_Callback(hObject, eventdata, handles)
+% hObject    handle to Link_TX_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Link_TX_4
+
+
+% --- Executes on button press in init_CC_all.
+function init_CC_all_Callback(hObject, eventdata, handles)
+% hObject    handle to init_CC_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+time_frame_lenght=str2num(get(handles.time_frame_length,'String'))
+MGT_powerdown=str2num(get(handles.MGT_powerdown,'String'))
+MGT_loopback=str2num(get(handles.MGT_loopback,'String'))
+buf_clr_dly=str2num(get(handles.Buf_clr_dly,'String'))
+
+dev=get(handles.Device_name,'String');
+%clear new_goldenX
+%clear new_goldenZ
+clear last_goldenX
+clear last_goldenZ
+uiopen('load')
+h = waitbar(0,'Please wait...');
+for (i=1:1:120)
+device_name=dev{i}
+id=Get_index(device_name)
+fofb_init_CC(device_name,id,time_frame_lenght,MGT_powerdown,MGT_loopback,buf_clr_dly,new_goldenX(id),new_goldenZ(id));
+waitbar(i/120,h); 
+end
+last_goldenX=new_goldenX;
+last_goldenZ=new_goldenZ;
+
+variables(1)={'last_goldenX'}
+variables(2)={'last_goldenZ'}
+
+save('golden/last_golden','last_goldenX','last_goldenZ')
+
+close(h);
+
+% --- Executes on button press in Stop_CC_all.
+function Stop_CC_all_Callback(hObject, eventdata, handles)
+% hObject    handle to Stop_CC_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h=waitbar(0,'please wait.....');
+dev=get(handles.Device_name,'String');
+device_alim_list=dev(1:120,:);
+groupe=create_group_from_list(device_alim_list);
+waitbar(1/2,h);
+fofb_stop_CC(groupe);
+tango_group_kill(groupe);
+waitbar(1,h);
+close(h)
+
+% --- Executes on button press in Arm_CC_all.
+function Arm_CC_all_Callback(hObject, eventdata, handles)
+% hObject    handle to Arm_CC_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h=waitbar(0,'please wait.....');
+dev=get(handles.Device_name,'String');
+device_alim_list=dev(1:120,:)
+groupe=create_group_from_list(device_alim_list);
+waitbar(1/2,h);
+data_selection=get(handles.radiobutton2,'value')
+time_frame_cnt_limit_value=str2num(get(handles.time_frame_count_limit_value,'String'));
+fofb_arm_CC(groupe,time_frame_cnt_limit_value,data_selection);
+tango_group_kill(groupe);
+waitbar(1,h);
+close(h)
+
+function BPM_id_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM_id (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of BPM_id as text
+%        str2double(get(hObject,'String')) returns contents of BPM_id as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function BPM_id_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to BPM_id (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in RAM_X.
+function RAM_X_Callback(hObject, eventdata, handles)
+% hObject    handle to RAM_X (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns RAM_X contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from RAM_X
+
+
+% --- Executes during object creation, after setting all properties.
+function RAM_X_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to RAM_X (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in RAM_Z.
+function RAM_Z_Callback(hObject, eventdata, handles)
+% hObject    handle to RAM_Z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns RAM_Z contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from RAM_Z
+
+
+% --- Executes during object creation, after setting all properties.
+function RAM_Z_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to RAM_Z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function time_frame_length_Callback(hObject, eventdata, handles)
+% hObject    handle to time_frame_length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of time_frame_length as text
+%        str2double(get(hObject,'String')) returns contents of time_frame_length as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function time_frame_length_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to time_frame_length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function MGT_powerdown_Callback(hObject, eventdata, handles)
+% hObject    handle to MGT_powerdown (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of MGT_powerdown as text
+%        str2double(get(hObject,'String')) returns contents of MGT_powerdown as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function MGT_powerdown_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to MGT_powerdown (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function MGT_loopback_Callback(hObject, eventdata, handles)
+% hObject    handle to MGT_loopback (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of MGT_loopback as text
+%        str2double(get(hObject,'String')) returns contents of MGT_loopback as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function MGT_loopback_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to MGT_loopback (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Buf_clr_dly_Callback(hObject, eventdata, handles)
+% hObject    handle to Buf_clr_dly (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Buf_clr_dly as text
+%        str2double(get(hObject,'String')) returns contents of Buf_clr_dly as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Buf_clr_dly_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Buf_clr_dly (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Golden_X_Callback(hObject, eventdata, handles)
+% hObject    handle to Golden_X (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Golden_X as text
+%        str2double(get(hObject,'String')) returns contents of Golden_X as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Golden_X_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Golden_X (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Golden_Z_Callback(hObject, eventdata, handles)
+% hObject    handle to Golden_Z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Golden_Z as text
+%        str2double(get(hObject,'String')) returns contents of Golden_Z as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Golden_Z_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Golden_Z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function time_frame_count_limit_value_Callback(hObject, eventdata, handles)
+% hObject    handle to time_frame_count_limit_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of time_frame_count_limit_value as text
+%        str2double(get(hObject,'String')) returns contents of time_frame_count_limit_value as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function time_frame_count_limit_value_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to time_frame_count_limit_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Synchronize_all.
+function Synchronize_all_Callback(hObject, eventdata, handles)
+% hObject    handle to Synchronize_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h=waitbar(0,'please wait.....');
+dev=get(handles.Device_name,'String');
+device_alim_list=dev(1:120,:)
+groupe=create_group_from_list(device_alim_list);
+waitbar(1/2,h);
+tango_group_command_inout2(groupe,'SetTimeOnNextTrigger',1,1)
+tango_group_kill(groupe);
+waitbar(1,h);
+close(h)
+
+
+% --- Executes on button press in Trig_all.
+function Trig_all_Callback(hObject, eventdata, handles)
+% hObject    handle to Trig_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h=waitbar(0,'please wait.....');
+dev=get(handles.Device_name,'String');
+device_alim_list=dev(1:120,:)
+groupe=create_group_from_list(device_alim_list);
+waitbar(1/2,h);
+soft_trig_bpm;
+tango_group_kill(groupe);
+waitbar(1,h);
+close(h)
+
+
+% --- Executes on button press in RX_all.
+function RX_all_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dev=get(handles.Device_name,'String');
+val_dev=get(handles.Device_name,'value');
+h=waitbar(0,'please wait.....')
+for i=1:1:120
+    waitbar(i/120,h);
+    device_name=dev{i};
+    [CC_conf_reg,CC_Status_reg,RAM_X,RAM_Z]=fofb_read_cfg_memory(device_name);
+    RX_array(i,1)=CC_conf_reg.bpm_id;
+    RX_array(i,2)=CC_Status_reg.rx_pck_cnt_1;
+    RX_array(i,3)=CC_Status_reg.rx_pck_cnt_2;
+    RX_array(i,4)=CC_Status_reg.tx_pck_cnt_1;
+    RX_array(i,5)=CC_Status_reg.tx_pck_cnt_2;
+    RX_array(i,6)=CC_Status_reg.process_time;
+    RX_array(i,7)=CC_Status_reg.frame_error_cnt_1;
+    RX_array(i,8)=CC_Status_reg.frame_error_cnt_2;
+    RX_array(i,9)=CC_Status_reg.soft_error_cnt_1;
+    RX_array(i,10)=CC_Status_reg.soft_error_cnt_2;
+    
+end
+%msgbox(num2str(RX_array),'toto')
+RX_array
+max(RX_array(:,6))
+close(h)
+
+
+
+function X_value_Callback(hObject, eventdata, handles)
+% hObject    handle to X_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of X_value as text
+%        str2double(get(hObject,'String')) returns contents of X_value as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function X_value_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to X_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Z_value_Callback(hObject, eventdata, handles)
+% hObject    handle to Z_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Z_value as text
+%        str2double(get(hObject,'String')) returns contents of Z_value as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Z_value_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Z_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Xon.
+function Xon_Callback(hObject, eventdata, handles)
+% hObject    handle to Xon (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Xon
+
+
+% --- Executes on button press in Zon.
+function Zon_Callback(hObject, eventdata, handles)
+% hObject    handle to Zon (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Zon
+
+
+% --- Executes on button press in apply_ram.
+function apply_ram_Callback(hObject, eventdata, handles)
+% hObject    handle to apply_ram (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+coeff_X=str2num(get(handles.X_value,'string'))
+coeff_Z=str2num(get(handles.Z_value,'string'))
+on_X=(get(handles.Xon,'value'))
+on_Z=(get(handles.Zon,'value'))
+
+dev=get(handles.Device_name,'String');
+val_dev=get(handles.Device_name,'value');
+device_name=dev{val_dev}
+all_bpm=get(handles.all_bpm,'value');
+if all_bpm==1
+    device_alim_list=dev(1:120,:);
+else
+    device_alim_list=dev(val_dev,:);
+end;
+groupe=create_group_from_list(device_alim_list);
+fofb_write_matrix(groupe,coeff_X,coeff_Z,on_X,on_Z);
+% k=1
+% for i=1:1:10000
+%     fofb_write_matrix(groupe,1000,0,on_X,on_Z);
+%     i
+%     pause(k)
+%     fofb_write_matrix(groupe,1000,10,on_X,on_Z);
+%     pause(k)
+% end
+tango_group_kill(groupe);
+% --- Executes on button press in all_bpm.
+function all_bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to all_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of all_bpm
+
+
+% --- Executes on button press in load_matrix.
+function load_matrix_Callback(hObject, eventdata, handles)
+% hObject    handle to load_matrix (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dev=get(handles.dev_list_for_matrix,'String')
+clear matrixX
+clear matrixZ
+uiopen('load')
+h = waitbar(0,'Please wait...');
+
+for (i=1:1:48)
+device_name=dev{i};
+fofb_load_matrix(device_name,matrixX(i,:),matrixZ(i,:));
+waitbar(i/48,h); 
+id=Get_index(device_name)
+end
+close(h);
+
+
+% --- Executes on button press in fofb_config.
+function fofb_config_Callback(hObject, eventdata, handles)
+% hObject    handle to fofb_config (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+comm_X=(get(handles.comm_x,'value'))
+comm_Z=(get(handles.comm_z,'value'))
+bypass_fir_X=(get(handles.enable_fofb_x,'value'))
+bypass_fir_Z=(get(handles.enable_fofb_z,'value'))
+trig_enable_X=(get(handles.trig_enable_x,'value'))
+trig_enable_Z=(get(handles.trig_enable_z,'value'))
+mux_conf0_X=(get(handles.mux_conf0_x,'value'))
+mux_conf0_Z=(get(handles.mux_conf0_z,'value'))
+mux_conf1_X=(get(handles.mux_conf1_x,'value'))
+mux_conf1_Z=(get(handles.mux_conf1_z,'value'))
+
+coeff1_x=int32(str2num(get(handles.coeff1_x,'string'))*2^14)
+coeff1_z=int32(str2num(get(handles.coeff1_z,'string'))*2^14)
+
+coeff1_x*(2^16)
+X_conf=comm_X+2*bypass_fir_X+4*trig_enable_X+8*mux_conf0_X+16*mux_conf1_X+2^16*coeff1_x
+Z_conf=comm_Z+2*bypass_fir_Z+4*trig_enable_Z+8*mux_conf0_Z+16*mux_conf1_Z+2^16*coeff1_z
+
+
+dev=get(handles.dev_list_for_matrix,'String');
+val_dev=get(handles.dev_list_for_matrix,'value');
+device_name=dev{val_dev};
+all_bpm=get(handles.all_bpm,'value');
+if all_bpm==1
+    device_alim_list=dev(1:48,:);
+else
+    device_alim_list=dev(val_dev,:);
+end;
+groupe=create_group_from_list(device_alim_list);
+
+
+fofb_config(groupe,X_conf,Z_conf);
+
+tango_group_kill(groupe);
+
+% --- Executes on selection change in dev_list_for_matrix.
+function dev_list_for_matrix_Callback(hObject, eventdata, handles)
+% hObject    handle to dev_list_for_matrix (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns dev_list_for_matrix contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from dev_list_for_matrix
+
+
+% --- Executes during object creation, after setting all properties.
+function dev_list_for_matrix_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dev_list_for_matrix (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in comm_x.
+function comm_x_Callback(hObject, eventdata, handles)
+% hObject    handle to comm_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of comm_x
+
+
+% --- Executes on button press in comm_z.
+function comm_z_Callback(hObject, eventdata, handles)
+% hObject    handle to comm_z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of comm_z
+
+
+% --- Executes on button press in enable_fofb_x.
+function enable_fofb_x_Callback(hObject, eventdata, handles)
+% hObject    handle to enable_fofb_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of enable_fofb_x
+
+
+% --- Executes on button press in enable_fofb_z.
+function enable_fofb_z_Callback(hObject, eventdata, handles)
+% hObject    handle to enable_fofb_z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of enable_fofb_z
+
+
+% --- Executes on button press in trig_enable_x.
+function trig_enable_x_Callback(hObject, eventdata, handles)
+% hObject    handle to trig_enable_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of trig_enable_x
+
+
+% --- Executes on button press in trig_enable_z.
+function trig_enable_z_Callback(hObject, eventdata, handles)
+% hObject    handle to trig_enable_z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of trig_enable_z
+
+
+% --- Executes on button press in mux_conf0_x.
+function mux_conf0_x_Callback(hObject, eventdata, handles)
+% hObject    handle to mux_conf0_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of mux_conf0_x
+
+
+% --- Executes on button press in mux_conf0_z.
+function mux_conf0_z_Callback(hObject, eventdata, handles)
+% hObject    handle to mux_conf0_z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of mux_conf0_z
+
+
+% --- Executes on button press in mux_conf1_x.
+function mux_conf1_x_Callback(hObject, eventdata, handles)
+% hObject    handle to mux_conf1_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of mux_conf1_x
+
+
+% --- Executes on button press in mux_conf1_z.
+function mux_conf1_z_Callback(hObject, eventdata, handles)
+% hObject    handle to mux_conf1_z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of mux_conf1_z
+
+
+
+function coeff1_x_Callback(hObject, eventdata, handles)
+% hObject    handle to coeff1_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of coeff1_x as text
+%        str2double(get(hObject,'String')) returns contents of coeff1_x as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function coeff1_x_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to coeff1_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function coeff1_z_Callback(hObject, eventdata, handles)
+% hObject    handle to coeff1_z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of coeff1_z as text
+%        str2double(get(hObject,'String')) returns contents of coeff1_z as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function coeff1_z_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to coeff1_z (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in LP_Delay.
+function LP_Delay_Callback(hObject, eventdata, handles)
+% hObject    handle to LP_Delay (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+LP_ComDly
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/Get_Dev_List.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/Get_Dev_List.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/Get_Dev_List.m	(revision 17)
@@ -0,0 +1,93 @@
+function Dev_List=Get_Dev_List(n)    
+
+ Dev_List=0;
+ switch n
+
+
+     case 'LT2'
+         for i=1:1:3
+             dev_name(i,:)=['LT2/DG/BPM.',num2str(i)];
+         end
+
+     case 'LT1'
+         for i=1:1:1
+             dev_name(i,:)=['LT1/DG/BPM'];
+         end
+
+     case 'Tune_BPM'
+         dev_name(1,:)='ANS-C09/DG/BPM.NOD';
+    
+     case 'test'
+         dev_name(1,:)='ANS-C07/DG/BPMtest.01';
+        dev_name(2,:)='ANS-C07/DG/BPMtest.02';
+        dev_name(3,:)='ANS-C07/DG/BPMtest.03';
+        dev_name(4,:)='ANS-C07/DG/BPMtest.04';
+        dev_name(5,:)='ANS-C07/DG/BPMtest.05';
+        dev_name(6,:)='ANS-C07/DG/BPMtest.06';
+        dev_name(7,:)='ANS-C07/DG/BPMtest.07';
+        dev_name(8,:)='ANS-C07/DG/BPMtest.08';
+        dev_name(9,:)='ANS-C07/DG/BPMtest.09';
+        dev_name(10,:)='ANS-C07/DG/BPMtest.10';
+        
+     case 'Booster'
+     dev_name(1,:)='BOO-C01/DG/BPM.01';
+     dev_name(2,:)='BOO-C03/DG/BPM.02';
+     dev_name(3,:)='BOO-C03/DG/BPM.03';
+     dev_name(4,:)='BOO-C05/DG/BPM.04';
+     dev_name(5,:)='BOO-C05/DG/BPM.05';
+     dev_name(6,:)='BOO-C06/DG/BPM.06';
+     dev_name(7,:)='BOO-C07/DG/BPM.07';
+     dev_name(8,:)='BOO-C08/DG/BPM.08';
+     dev_name(9,:)='BOO-C09/DG/BPM.09';
+     dev_name(10,:)='BOO-C10/DG/BPM.10';
+     dev_name(11,:)='BOO-C11/DG/BPM.11';
+     dev_name(12,:)='BOO-C12/DG/BPM.12';
+     dev_name(13,:)='BOO-C14/DG/BPM.13';
+     dev_name(14,:)='BOO-C14/DG/BPM.14';
+     dev_name(15,:)='BOO-C16/DG/BPM.15';
+     dev_name(16,:)='BOO-C16/DG/BPM.16';
+     dev_name(17,:)='BOO-C17/DG/BPM.17';
+     dev_name(18,:)='BOO-C18/DG/BPM.18';
+     dev_name(19,:)='BOO-C19/DG/BPM.19';
+     dev_name(20,:)='BOO-C20/DG/BPM.20';
+     dev_name(21,:)='BOO-C21/DG/BPM.21';
+     dev_name(22,:)='BOO-C22/DG/BPM.22';
+     
+     case 'ANS'
+          list=dev2tangodev('BPMx',family2dev('BPMx'));
+         for i=1:size(list,1)
+             dev_name(i,:)=list{i};
+         end
+
+     otherwise
+         list=dev2tangodev('BPMx',family2devcell('BPMx',str2num(n)));
+         for i=1:size(list,1)
+             dev_name(i,:)=list{i};
+         end
+         
+%          text1='ANS-C';
+%          text3='/DG/BPM.';
+%           if str2num(n)<10
+%             text2=['0',n];
+%          else text2=n;
+%          end 
+%          switch n
+%              
+%             case {'1', '4', '5', '8', '9', '12', '13', '16'}
+%                 for j=1:1:7
+%                 text4=num2str(j); 
+%                 dev_name(j,:)=[text1,text2,text3,text4]  ;   
+%                 end
+%             case {'2', '3', '6', '7', '10', '11', '14', '15'}
+%                 for j=1:1:8
+%                 text4=num2str(j); 
+%                 dev_name(j,:)=[text1,text2,text3,text4]  ;   
+%                 end
+%               otherwise
+%                 
+%           end
+ end
+         
+  Dev_List=dev_name;
+ 
+    
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/LP_ComDly.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/LP_ComDly.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/LP_ComDly.m	(revision 17)
@@ -0,0 +1,420 @@
+function varargout = LP_ComDly(varargin)
+% LP_COMDLY M-file for LP_ComDly.fig
+%      LP_COMDLY, by itself, creates a new LP_COMDLY or raises the existing
+%      singleton*.
+%
+%      H = LP_COMDLY returns the handle to a new LP_COMDLY or the handle to
+%      the existing singleton*.
+%
+%      LP_COMDLY('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in LP_COMDLY.M with the given input arguments.
+%
+%      LP_COMDLY('Property','Value',...) creates a new LP_COMDLY or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before LP_ComDly_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to LP_ComDly_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help LP_ComDly
+
+% Last Modified by GUIDE v2.5 01-Jul-2008 11:58:46
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @LP_ComDly_OpeningFcn, ...
+                   'gui_OutputFcn',  @LP_ComDly_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before LP_ComDly is made visible.
+function LP_ComDly_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to LP_ComDly (see VARARGIN)
+set(handles.Device_name,'String',family2tangodev('BPMx'));
+dev=get(handles.Device_name,'String');
+%device_list=dev(1:120,:)
+groupe=create_group_from_list(dev);
+%fofb_read_LP_Delay(groupe);
+
+CC_status=768*4;
+read_array=int32([CC_status,4,256]);
+
+result=(tango_group_command_inout2(groupe,'ReadFAData',1,read_array));
+for i=1:1:size(dev,1)
+    BPM_index(i)=i;
+    Delay(i)=result.replies(i).data(29)/106;
+    involved(i)=result.replies(i).data(30);
+    for j=1:1:3        
+        LP_array(i,j)=result.replies(i).data(j+2);
+    end
+end
+%BPM_index(1)=size(dev,1);
+tango_group_kill(groupe);
+Full_array=[BPM_index' Delay' involved' LP_array];
+sorted_array=sortrows(Full_array,2);
+set(handles.index,'string',num2str(BPM_index'));
+set(handles.involved,'string',num2str(involved'));
+set(handles.LP1,'string',num2str(LP_array(:,1)));
+set(handles.LP2,'string',num2str(LP_array(:,2)));
+set(handles.LP3,'string',num2str(LP_array(:,3)));
+set(handles.Comm_dly,'string',num2str(Delay'));
+disp('BPMindex  seen    Com_dly        LP1        LP2        LP3')
+disp(sorted_array)
+% Choose default command line output for LP_ComDly
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes LP_ComDly wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = LP_ComDly_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on selection change in Device_name.
+function Device_name_Callback(hObject, eventdata, handles)
+% hObject    handle to Device_name (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Device_name contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Device_name
+
+val=get(handles.Device_name,'value');
+top=get(handles.Device_name,'ListboxTop')
+set(handles.index,'value',val)
+set(handles.index,'ListboxTop',top)
+set(handles.involved,'value',val)
+set(handles.involved,'ListboxTop',top)
+set(handles.LP1,'value',val)
+set(handles.LP1,'ListboxTop',top)
+set(handles.LP2,'value',val)
+set(handles.LP2,'ListboxTop',top)
+set(handles.LP3,'value',val)
+set(handles.LP3,'ListboxTop',top)
+set(handles.Comm_dly,'value',val)
+set(handles.Comm_dly,'ListboxTop',top)
+
+% --- Executes during object creation, after setting all properties.
+function Device_name_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Device_name (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in LP1.
+function LP1_Callback(hObject, eventdata, handles)
+% hObject    handle to LP1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns LP1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from LP1
+val=get(handles.LP1,'value');
+top=get(handles.LP1,'ListboxTop')
+set(handles.index,'value',val)
+set(handles.index,'ListboxTop',top)
+set(handles.involved,'value',val)
+set(handles.involved,'ListboxTop',top)
+set(handles.Device_name,'value',val)
+set(handles.Device_name,'ListboxTop',top)
+set(handles.LP2,'value',val)
+set(handles.LP2,'ListboxTop',top)
+set(handles.LP3,'value',val)
+set(handles.LP3,'ListboxTop',top)
+set(handles.Comm_dly,'value',val)
+set(handles.Comm_dly,'ListboxTop',top)
+
+
+% --- Executes during object creation, after setting all properties.
+function LP1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LP1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in index.
+function index_Callback(hObject, eventdata, handles)
+% hObject    handle to index (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns index contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from index
+val=get(handles.index,'value');
+top=get(handles.index,'ListboxTop')
+set(handles.Device_name,'value',val)
+set(handles.Device_name,'ListboxTop',top)
+set(handles.involved,'value',val)
+set(handles.involved,'ListboxTop',top)
+set(handles.LP1,'value',val)
+set(handles.LP1,'ListboxTop',top)
+set(handles.LP2,'value',val)
+set(handles.LP2,'ListboxTop',top)
+set(handles.LP3,'value',val)
+set(handles.LP3,'ListboxTop',top)
+set(handles.Comm_dly,'value',val)
+set(handles.Comm_dly,'ListboxTop',top)
+
+
+% --- Executes during object creation, after setting all properties.
+function index_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to index (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in LP3.
+function LP3_Callback(hObject, eventdata, handles)
+% hObject    handle to LP3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns LP3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from LP3
+val=get(handles.LP3,'value');
+top=get(handles.LP3,'ListboxTop')
+set(handles.index,'value',val)
+set(handles.index,'ListboxTop',top)
+set(handles.involved,'value',val)
+set(handles.involved,'ListboxTop',top)
+set(handles.LP1,'value',val)
+set(handles.LP1,'ListboxTop',top)
+set(handles.LP2,'value',val)
+set(handles.LP2,'ListboxTop',top)
+set(handles.Device_name,'value',val)
+set(handles.Device_name,'ListboxTop',top)
+set(handles.Comm_dly,'value',val)
+set(handles.Comm_dly,'ListboxTop',top)
+
+
+% --- Executes during object creation, after setting all properties.
+function LP3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LP3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in LP2.
+function LP2_Callback(hObject, eventdata, handles)
+% hObject    handle to LP2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns LP2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from LP2
+val=get(handles.LP2,'value');
+top=get(handles.LP2,'ListboxTop')
+set(handles.index,'value',val)
+set(handles.index,'ListboxTop',top)
+set(handles.involved,'value',val)
+set(handles.involved,'ListboxTop',top)
+set(handles.LP1,'value',val)
+set(handles.LP1,'ListboxTop',top)
+set(handles.Device_name,'value',val)
+set(handles.Device_name,'ListboxTop',top)
+set(handles.LP3,'value',val)
+set(handles.LP3,'ListboxTop',top)
+set(handles.Comm_dly,'value',val)
+set(handles.Comm_dly,'ListboxTop',top)
+
+
+% --- Executes during object creation, after setting all properties.
+function LP2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LP2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in involved.
+function involved_Callback(hObject, eventdata, handles)
+% hObject    handle to involved (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns involved contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from involved
+val=get(handles.involved,'value');
+top=get(handles.involved,'ListboxTop')
+set(handles.index,'value',val)
+set(handles.index,'ListboxTop',top)
+set(handles.Device_name,'value',val)
+set(handles.Device_name,'ListboxTop',top)
+set(handles.LP1,'value',val)
+set(handles.LP1,'ListboxTop',top)
+set(handles.LP2,'value',val)
+set(handles.LP2,'ListboxTop',top)
+set(handles.LP3,'value',val)
+set(handles.LP3,'ListboxTop',top)
+set(handles.Comm_dly,'value',val)
+set(handles.Comm_dly,'ListboxTop',top)
+
+
+% --- Executes during object creation, after setting all properties.
+function involved_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to involved (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in Comm_dly.
+function Comm_dly_Callback(hObject, eventdata, handles)
+% hObject    handle to Comm_dly (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Comm_dly contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Comm_dly
+val=get(handles.Comm_dly,'value');
+top=get(handles.Comm_dly,'ListboxTop')
+set(handles.index,'value',val)
+set(handles.index,'ListboxTop',top)
+set(handles.involved,'value',val)
+set(handles.involved,'ListboxTop',top)
+set(handles.LP1,'value',val)
+set(handles.LP1,'ListboxTop',top)
+set(handles.LP2,'value',val)
+set(handles.LP2,'ListboxTop',top)
+set(handles.LP3,'value',val)
+set(handles.LP3,'ListboxTop',top)
+set(handles.Device_name,'value',val)
+set(handles.Device_name,'ListboxTop',top)
+
+
+% --- Executes during object creation, after setting all properties.
+function Comm_dly_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Comm_dly (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in update.
+function update_Callback(hObject, eventdata, handles)
+% hObject    handle to update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dev=get(handles.Device_name,'String');
+device_list=dev;
+groupe=create_group_from_list(device_list);
+%fofb_read_LP_Delay(groupe);
+
+CC_status=768*4;
+CC_index=0;
+read_array=int32([CC_status,4,256]);
+index_array=int32([CC_index,4,1]);
+
+result=(tango_group_command_inout2(groupe,'ReadFAData',1,read_array));
+index_result=(tango_group_command_inout2(groupe,'ReadFAData',1,index_array));
+for i=1:1:size(dev,1)
+    BPM_index(i)=index_result.replies(i).data;
+    Delay(i)=single(result.replies(i).data(29)/10.6)/10;
+    involved(i)=result.replies(i).data(30);
+    for j=1:1:3        
+        LP_array(i,j)=result.replies(i).data(j+2);
+    end
+end
+
+tango_group_kill(groupe);
+
+is_index=get(handles.sort_index,'value');
+if is_index
+   [sorted_array,I]=sortrows(BPM_index');
+else
+   [sorted_array,I]=sortrows(Delay',-1); 
+end
+
+set(handles.Device_name,'string',device_list(I,:));
+set(handles.index,'string',num2str(BPM_index(I)'));
+set(handles.involved,'string',num2str(involved(I)'));
+set(handles.LP1,'string',num2str(LP_array(I,1)));
+set(handles.LP2,'string',num2str(LP_array(I,2)));
+set(handles.LP3,'string',num2str(LP_array(I,3)));
+set(handles.Comm_dly,'string',num2str(Delay(I)'));
+
+% --- Executes on button press in sort_index.
+function sort_index_Callback(hObject, eventdata, handles)
+% hObject    handle to sort_index (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in sort_delay.
+function sort_delay_Callback(hObject, eventdata, handles)
+% hObject    handle to sort_delay (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/Lifetime_with_Liberas.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/Lifetime_with_Liberas.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/Lifetime_with_Liberas.m	(revision 17)
@@ -0,0 +1,538 @@
+function varargout = Lifetime_with_Liberas(varargin)
+% LIFETIME_WITH_LIBERAS M-file for Lifetime_with_Liberas.fig
+%      LIFETIME_WITH_LIBERAS, by itself, creates a new LIFETIME_WITH_LIBERAS or raises the existing
+%      singleton*.
+%
+%      H = LIFETIME_WITH_LIBERAS returns the handle to a new LIFETIME_WITH_LIBERAS or the handle to
+%      the existing singleton*.
+%
+%      LIFETIME_WITH_LIBERAS('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in LIFETIME_WITH_LIBERAS.M with the given input arguments.
+%
+%      LIFETIME_WITH_LIBERAS('Property','Value',...) creates a new LIFETIME_WITH_LIBERAS or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before Lifetime_with_Liberas_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to Lifetime_with_Liberas_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help Lifetime_with_Liberas
+
+% Last Modified by GUIDE v2.5 11-Jul-2011 11:59:21
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @Lifetime_with_Liberas_OpeningFcn, ...
+                   'gui_OutputFcn',  @Lifetime_with_Liberas_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before Lifetime_with_Liberas is made visible.
+function Lifetime_with_Liberas_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to Lifetime_with_Liberas (see VARARGIN)
+
+% Choose default command line output for Lifetime_with_Liberas
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes Lifetime_with_Liberas wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+Red=0.877;
+Green=0.889;
+Blue=1.000;
+BackgroundColor=[Red Green Blue];
+setappdata(handles.figure1,'BackGroundColor',BackgroundColor);
+
+set(handles.figure1,'Color',BackgroundColor);
+set(handles.text_buff_length,'BackgroundColor',BackgroundColor);
+set(handles.text_seuil_1,'BackgroundColor',BackgroundColor);
+set(handles.text_seuil_2,'BackgroundColor',BackgroundColor);
+set(handles.text_NLib2valid,'BackgroundColor',BackgroundColor);
+set(handles.text_historic_size,'BackgroundColor',BackgroundColor);
+set(handles.text_LT_Libera,'BackgroundColor',BackgroundColor);
+set(handles.text_LT_DCCT,'BackgroundColor',BackgroundColor);
+set(handles.text_title,'BackgroundColor',BackgroundColor);
+set(handles.N_Liberas,'BackgroundColor',BackgroundColor);
+set(handles.Process_Time,'BackgroundColor',BackgroundColor);
+set(handles.start_stop,'BackgroundColor','Green');
+
+text_color=[0.824 0.824 0.895]
+set(handles.Lib_list,'BackgroundColor',text_color);
+
+
+N_samples=1000;
+setappdata(handles.figure1,'N_samples',N_samples);
+set(handles.N_samples,'string',num2str(N_samples));
+
+historic_size=10000;
+setappdata(handles.figure1,'historic_size',historic_size);
+set(handles.historic_size,'string',num2str(historic_size));
+
+seuil_1=0.2;
+setappdata(handles.figure1,'seuil_1',seuil_1);
+set(handles.seuil_1,'string',num2str(seuil_1));
+
+seuil_2=0.06;
+setappdata(handles.figure1,'seuil_2',seuil_2);
+set(handles.seuil_2,'string',num2str(seuil_2));
+
+NLib2valid=60;
+setappdata(handles.figure1,'NLib2valid',NLib2valid);
+set(handles.NLib2valid,'string',num2str(NLib2valid));
+
+NBPM=size(family2tangodev('BPMx'),1)
+previous_LT_Lib(1:NBPM)=0;
+setappdata(handles.figure1,'previous_LT_Lib',previous_LT_Lib);
+
+N_lib_valid(1:historic_size)=NaN;
+setappdata(handles.figure1,'N_lib_valid',N_lib_valid);
+
+N_lib_valid_first_sort(1:historic_size)=NaN;
+setappdata(handles.figure1,'N_lib_valid_first_sort',N_lib_valid_first_sort);
+
+N_lib_valid_second_sort(1:historic_size)=NaN;
+setappdata(handles.figure1,'N_lib_valid_second_sort',N_lib_valid_second_sort);
+
+LT_lib_mean(1:historic_size)=NaN;
+setappdata(handles.figure1,'LT_lib_mean',LT_lib_mean);
+
+LT_lib_by_quarter(1:4,1:historic_size)=NaN;
+setappdata(handles.figure1,'LT_lib_by_quarter',LT_lib_by_quarter);
+
+LT_DCCT(1:historic_size)=NaN;
+setappdata(handles.figure1,'LT_DCCT',LT_DCCT);
+
+Time_history(1:historic_size)=NaN;
+setappdata(handles.figure1,'Time_history',Time_history);
+
+DCCT_history(1:historic_size)=NaN;
+setappdata(handles.figure1,'DCCT_history',DCCT_history);
+
+
+
+bpm_group=tango_group_create('bpms')
+dev_list=family2tangodev('BPMx')
+for i=1:1:size(dev_list,1)
+    tango_group_add(bpm_group,dev_list{i})
+    BPM_index(i)=i;
+end
+tango_group_dump(bpm_group)
+tango_group_ping(bpm_group)
+N_BPM=tango_group_size(bpm_group);
+setappdata(handles.figure1,'dev_list',dev_list);
+setappdata(handles.figure1,'N_BPM',N_BPM);
+setappdata(handles.figure1,'BPM_index',BPM_index);
+setappdata(handles.figure1,'bpm_group',bpm_group);
+
+timer_id=timer('Period', 2.0,'ExecutionMode','fixedSpacing');
+timer_id.TimerFcn = {@LT_Process,handles,hObject,eventdata};
+%timer_id.StopFcn = {@stop_fofb,handles,hObject,eventdata};
+setappdata(handles.figure1,'timer_id',timer_id);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = Lifetime_with_Liberas_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+function LT_Process(obj, event, handles,hObject,eventdata)
+
+previous_LT_Lib=getappdata(handles.figure1,'previous_LT_Lib');
+N_lib_valid=getappdata(handles.figure1,'N_lib_valid');
+N_lib_valid_first_sort=getappdata(handles.figure1,'N_lib_valid_first_sort');
+N_lib_valid_second_sort=getappdata(handles.figure1,'N_lib_valid_second_sort');
+LT_lib_mean=getappdata(handles.figure1,'LT_lib_mean');
+LT_lib_by_quarter=getappdata(handles.figure1,'LT_lib_by_quarter');
+LT_DCCT=getappdata(handles.figure1,'LT_DCCT');
+N_BPM=getappdata(handles.figure1,'N_BPM');
+BPM_index=getappdata(handles.figure1,'BPM_index');
+bpm_group=getappdata(handles.figure1,'bpm_group');
+N_samples=str2num(get(handles.N_samples,'string'));
+historic_size=str2num(get(handles.historic_size,'string'));
+seuil_1=str2num(get(handles.seuil_1,'string'));
+seuil_2=str2num(get(handles.seuil_2,'string'));
+NLib2valid=str2num(get(handles.NLib2valid,'string'));
+setappdata(handles.figure1,'NLib2valid',NLib2valid);
+BackgroundColor=getappdata(handles.figure1,'BackGroundColor');
+
+Time_history=getappdata(handles.figure1,'Time_history');
+DCCT_history=getappdata(handles.figure1,'DCCT_history');
+old_historic_size=getappdata(handles.figure1,'historic_size');
+if old_historic_size<historic_size
+    fill(1:historic_size-old_historic_size)=NaN;
+    fill4(4,1:historic_size-old_historic_size)=NaN;
+    N_lib_valid=[fill N_lib_valid];
+    N_lib_valid_first_sort=[fill N_lib_valid_first_sort];
+    N_lib_valid_second_sort=[fill N_lib_valid_second_sort];
+    LT_lib_mean=[fill LT_lib_mean];
+    LT_lib_by_quarter=[fill4 LT_lib_by_quarter];
+    LT_DCCT=[fill LT_DCCT];
+    Time_history=[fill Time_history];
+    DCCT_history=[fill DCCT_history];
+elseif old_historic_size>historic_size
+    N_lib_valid=N_lib_valid(old_historic_size-historic_size+1:old_historic_size);
+    N_lib_valid_first_sort=N_lib_valid_first_sort(old_historic_size-historic_size+1:old_historic_size);
+    N_lib_valid_second_sort=N_lib_valid_second_sort(old_historic_size-historic_size+1:old_historic_size);
+    LT_lib_mean=LT_lib_mean(old_historic_size-historic_size+1:old_historic_size);
+    LT_lib_by_quarter=LT_lib_by_quarter(:,old_historic_size-historic_size+1:old_historic_size);
+
+   LT_DCCT=LT_DCCT(old_historic_size-historic_size+1:old_historic_size);
+    Time_history=Time_history(old_historic_size-historic_size+1:old_historic_size);
+    DCCT_history=DCCT_history(old_historic_size-historic_size+1:old_historic_size);
+end
+tic  
+h=now;
+[previous_LT_Lib,LT_lib_mean,LT_lib_by_quarter,N_lib_valid,N_lib_valid_first_sort,N_lib_valid_second_sort,LT_DCCT,index_seuil_1,index_seuil_2,Time_history, DCCT_history]=...
+    get_LT(bpm_group,BPM_index,N_samples,previous_LT_Lib,LT_lib_mean,LT_lib_by_quarter,N_lib_valid,...
+            N_lib_valid_first_sort,N_lib_valid_second_sort,LT_DCCT,seuil_1,seuil_2,NLib2valid,Time_history,DCCT_history);
+t=toc;
+set(handles.Liberas_LT,'string',[num2str(LT_lib_mean(size(LT_lib_mean,2)),'%3.2f'),' Hrs']);
+set(handles.DCCT_LT,'string',[num2str(LT_DCCT(size(LT_DCCT,2)),'%3.2f'),' Hrs']);
+set(handles.N_Liberas,'string',['Number of valid Liberas = ',num2str(N_lib_valid_second_sort(size(N_lib_valid_second_sort,2)))]);
+if N_lib_valid_second_sort(size(N_lib_valid_second_sort,2))<NLib2valid
+    set(handles.N_Liberas,'BackgroundColor','Red');
+else
+    set(handles.N_Liberas,'BackgroundColor',BackgroundColor);
+end    
+
+set(handles.Process_Time,'string',['Process Time = ',num2str(t,'%2.1f'),' sec']);
+
+axes(handles.LT_Libera)
+plot(handles.LT_Libera,previous_LT_Lib,'bo','LineWidth',2)
+xlabel(handles.LT_Libera,'BPM Number')
+ylabel(handles.LT_Libera,'Hours')
+title(handles.LT_Libera,'Last LT measurment for each Libera')
+hold(handles.LT_Libera,'on')
+plot(handles.LT_Libera,index_seuil_2,previous_LT_Lib(index_seuil_2),'gx','LineWidth',3,'MarkerSize',20)
+plot(handles.LT_Libera,index_seuil_1,previous_LT_Lib(index_seuil_1),'rx','LineWidth',3,'MarkerSize',20)
+hold(handles.LT_Libera,'off')
+
+dev_list=getappdata(handles.figure1,'dev_list');
+
+text=datestr(now);
+text=strvcat(text,'First Sort:');
+[Y1,I1]=sort(previous_LT_Lib(index_seuil_1));
+for k=1:1:size(index_seuil_1,2)    
+    next_line=[dev_list{index_seuil_1(I1(k))},': ',num2str(Y1(k),'%3.2f'),' hours'];
+    text=strvcat(text,next_line);
+end
+text=strvcat(text,'Second Sort:');
+[Y2,I2]=sort(previous_LT_Lib(index_seuil_2));
+for k=1:1:size(index_seuil_2,2) 
+    if isempty(find(I1==I2(k)))
+    next_line=[dev_list{index_seuil_2(I2(k))},': ',num2str(Y2(k),'%3.2f'),' hours'];
+    text=strvcat(text,next_line);
+    end
+end
+set(handles.Lib_list,'string',text);
+
+formatstr= 'HH:MM';
+
+axes(handles.N_Libera_remaining)
+if get(handles.is_stats,'value')
+    plot(handles.N_Libera_remaining,Time_history,N_lib_valid,'b')
+    hold(handles.N_Libera_remaining,'on')
+    plot(handles.N_Libera_remaining,Time_history,N_lib_valid_first_sort,'r')
+    plot(handles.N_Libera_remaining,Time_history,N_lib_valid_second_sort,'g')
+    hold(handles.N_Libera_remaining,'off')
+    legend(handles.N_Libera_remaining,'valid buffer length','first sort','second sort','Location','NorthWest')
+    title(handles.N_Libera_remaining,'History of valid Libera measurments number')
+else
+    plot(handles.N_Libera_remaining,Time_history,DCCT_history,'b')
+end
+datetick(handles.N_Libera_remaining,'x',formatstr);
+
+
+axes(handles.LT_History)
+plot(handles.LT_History,Time_history,LT_lib_mean,'b','LineWidth',3)
+hold(handles.LT_History,'on')
+plot(handles.LT_History,Time_history,LT_DCCT,'r','LineWidth',3)
+if get(handles.disp_quarter,'value')
+    plot(handles.LT_History,Time_history,LT_lib_by_quarter(1,:),'k');
+    plot(handles.LT_History,Time_history,LT_lib_by_quarter(2,:),'g');
+    plot(handles.LT_History,Time_history,LT_lib_by_quarter(3,:),'m');
+    plot(handles.LT_History,Time_history,LT_lib_by_quarter(4,:),'c');
+    legend(handles.LT_History,'Libera all','DCCT','Libera Q1','Libera Q2','Libera Q3','Libera Q4','Location','NorthWest')
+else
+    legend(handles.LT_History,'Libera all','DCCT','Location','NorthWest')
+end
+hold(handles.LT_History,'off')
+ylabel(handles.LT_History,'Hours')
+title(handles.LT_History,'Lifetime History')
+datetick(handles.LT_History,'x',formatstr);
+
+setappdata(handles.figure1,'previous_LT_Lib',previous_LT_Lib);
+setappdata(handles.figure1,'N_lib_valid',N_lib_valid);
+setappdata(handles.figure1,'N_lib_valid_first_sort',N_lib_valid_first_sort);
+setappdata(handles.figure1,'N_lib_valid_second_sort',N_lib_valid_second_sort);
+setappdata(handles.figure1,'LT_lib_mean',LT_lib_mean);
+setappdata(handles.figure1,'LT_lib_by_quarter',LT_lib_by_quarter);
+setappdata(handles.figure1,'LT_DCCT',LT_DCCT);
+setappdata(handles.figure1,'N_BPM',N_BPM);
+setappdata(handles.figure1,'BPM_index',BPM_index);
+setappdata(handles.figure1,'bpm_group',bpm_group);
+
+setappdata(handles.figure1,'N_samples',N_samples);
+setappdata(handles.figure1,'historic_size',historic_size);
+setappdata(handles.figure1,'seuil_1',seuil_1);
+setappdata(handles.figure1,'seuil_2',seuil_2);
+setappdata(handles.figure1,'NLib2valid',NLib2valid);
+
+setappdata(handles.figure1,'Time_history',Time_history);
+setappdata(handles.figure1,'DCCT_history',DCCT_history);
+
+
+function N_samples_Callback(hObject, eventdata, handles)
+% hObject    handle to N_samples (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of N_samples as text
+%        str2double(get(hObject,'String')) returns contents of N_samples as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function N_samples_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to N_samples (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function DCCT_LT_Callback(hObject, eventdata, handles)
+% hObject    handle to DCCT_LT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of DCCT_LT as text
+%        str2double(get(hObject,'String')) returns contents of DCCT_LT as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function DCCT_LT_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to DCCT_LT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Liberas_LT_Callback(hObject, eventdata, handles)
+% hObject    handle to Liberas_LT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Liberas_LT as text
+%        str2double(get(hObject,'String')) returns contents of Liberas_LT as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Liberas_LT_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Liberas_LT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in start_stop.
+function start_stop_Callback(hObject, eventdata, handles)
+% hObject    handle to start_stop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+state=get(handles.start_stop,'string');
+switch state
+    case 'Stop'
+       set(handles.start_stop,'string','Start');
+       set(handles.start_stop,'BackgroundColor','Green');
+       %stop timer
+       timer_id=getappdata(handles.figure1,'timer_id');
+       stop(timer_id);
+    case 'Start'
+       set(handles.start_stop,'string','Stop');   
+       set(handles.start_stop,'BackgroundColor','Red');
+      %start timer
+       timer_id=getappdata(handles.figure1,'timer_id');
+       start(timer_id);
+
+end
+
+
+% --- Executes on selection change in Lib_list.
+function Lib_list_Callback(hObject, eventdata, handles)
+% hObject    handle to Lib_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Lib_list contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Lib_list
+
+
+% --- Executes during object creation, after setting all properties.
+function Lib_list_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Lib_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function historic_size_Callback(hObject, eventdata, handles)
+% hObject    handle to historic_size (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of historic_size as text
+%        str2double(get(hObject,'String')) returns contents of historic_size as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function historic_size_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to historic_size (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function seuil_1_Callback(hObject, eventdata, handles)
+% hObject    handle to seuil_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of seuil_1 as text
+%        str2double(get(hObject,'String')) returns contents of seuil_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function seuil_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to seuil_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function seuil_2_Callback(hObject, eventdata, handles)
+% hObject    handle to seuil_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of seuil_2 as text
+%        str2double(get(hObject,'String')) returns contents of seuil_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function seuil_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to seuil_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function NLib2valid_Callback(hObject, eventdata, handles)
+% hObject    handle to NLib2valid (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of NLib2valid as text
+%        str2double(get(hObject,'String')) returns contents of NLib2valid as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function NLib2valid_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to NLib2valid (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in disp_quarter.
+function disp_quarter_Callback(hObject, eventdata, handles)
+% hObject    handle to disp_quarter (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of disp_quarter
+
+
+% --- Executes on button press in save.
+function save_Callback(hObject, eventdata, handles)
+% hObject    handle to save (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+struct.LT_lib_mean=getappdata(handles.figure1,'LT_lib_mean');
+struct.LT_lib_by_quarter=getappdata(handles.figure1,'LT_lib_by_quarter');
+struct.LT_DCCT=getappdata(handles.figure1,'LT_DCCT');
+struct.Time_history=getappdata(handles.figure1,'Time_history');
+struct.DCCT_history=getappdata(handles.figure1,'DCCT_history');
+uisave('struct','/home/operateur/GrpDiagnostics/matlab/data/');
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/Noise_source_GUI.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/Noise_source_GUI.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/Noise_source_GUI.m	(revision 17)
@@ -0,0 +1,735 @@
+function varargout = Noise_source_GUI(varargin)
+% NOISE_SOURCE_GUI M-file for Noise_source_GUI.fig
+%      NOISE_SOURCE_GUI, by itself, creates a new NOISE_SOURCE_GUI or raises the existing
+%      singleton*.
+%
+%      H = NOISE_SOURCE_GUI returns the handle to a new NOISE_SOURCE_GUI or the handle to
+%      the existing singleton*.
+%
+%      NOISE_SOURCE_GUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in NOISE_SOURCE_GUI.M with the given input arguments.
+%
+%      NOISE_SOURCE_GUI('Property','Value',...) creates a new NOISE_SOURCE_GUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before Noise_source_GUI_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to Noise_source_GUI_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help Noise_source_GUI
+
+% Last Modified by GUIDE v2.5 20-Feb-2012 11:05:38
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @Noise_source_GUI_OpeningFcn, ...
+                   'gui_OutputFcn',  @Noise_source_GUI_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before Noise_source_GUI is made visible.
+function Noise_source_GUI_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to Noise_source_GUI (see VARARGIN)
+
+% Choose default command line output for Noise_source_GUI
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% UIWAIT makes Noise_source_GUI wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = Noise_source_GUI_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on selection change in frequency_list.
+function frequency_list_Callback(hObject, eventdata, handles)
+% hObject    handle to frequency_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns frequency_list contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from frequency_list
+
+h2=waitbar(0,'please wait...');
+
+FHCORspos = getspos('FHCOR',family2dev('FHCOR'));
+FVCORspos = getspos('FVCOR',family2dev('FVCOR'));
+HCORspos = getspos('HCOR',family2dev('HCOR'));
+VCORspos = getspos('VCOR',family2dev('VCOR'));
+BPMspos = getspos('BPMx',family2dev('BPMx'));
+BPM_list=dev2tangodev('BPMx',family2dev('BPMx'));
+Nbpm=size(BPM_list,1);
+RF=1;
+
+selection=get(handles.frequency_list,'value')
+
+is_frequency_domain=get(handles.frequency_domain,'value');
+
+if is_frequency_domain
+    
+    xfftamp=getappdata(handles.figure1,'xfftamp');
+    xfftphase=getappdata(handles.figure1,'xfftphase');
+    zfftamp=getappdata(handles.figure1,'zfftamp');
+    zfftphase=getappdata(handles.figure1,'zfftphase');
+    f_bpm=getappdata(handles.figure1,'f_bpm');
+    mean_xfftamp=getappdata(handles.figure1,'mean_xfftamp');
+    mean_zfftamp=getappdata(handles.figure1,'mean_zfftamp');
+    orbitX=xfftamp(:,selection).*sign(xfftphase(:,selection));
+    orbitZ=zfftamp(:,selection).*sign(zfftphase(:,selection));
+else
+    bufferX=getappdata(handles.figure1,'bufferX');
+    bufferZ=getappdata(handles.figure1,'bufferZ');
+    orbitX=bufferX(:,selection);
+    orbitZ=bufferZ(:,selection);
+   
+end
+
+waitbar(1/5,h2);
+[strengthX_slow,slow_corr_orbit_x,idx_sx,efficiency_sx]=mosteffectivecorrector2(orbitX,'HCOR',RF);
+waitbar(2/5,h2);
+[strengthZ_slow,slow_corr_orbit_z,idx_sz,efficiency_sz]=mosteffectivecorrector2(orbitZ,'VCOR',RF);
+waitbar(3/5,h2);
+[strengthX_fast,fast_corr_orbit_x,idx_fx,efficiency_fx]=mosteffectivecorrector2(orbitX,'FHCOR',RF);
+waitbar(4/5,h2);
+[strengthZ_fast,fast_corr_orbit_z,idx_fz,efficiency_fz]=mosteffectivecorrector2(orbitZ,'FVCOR',RF);
+waitbar(5/5,h2);
+
+max_fast_X=max(abs(strengthX_fast));
+max_fast_Z=max(abs(strengthZ_fast));
+%max_fast=max(max_fast_X,max_fast_Z);
+max_slow_X=max(abs(strengthX_slow));
+max_slow_Z=max(abs(strengthZ_slow));
+%max_slow=max(max_slow_X,max_slow_Z);
+
+
+strengthX_slow=strengthX_slow./max_slow_X;
+strengthZ_slow=strengthZ_slow./max_slow_Z;
+strengthX_fast=strengthX_fast./max_fast_X;
+strengthZ_fast=strengthZ_fast./max_fast_Z;
+
+
+plot(handles.Xorbit,BPMspos,orbitX,'k','Linewidth',2)
+set(handles.Xorbit,'XGrid','on','YGrid','on');
+hold(handles.Xorbit,'on')
+plot(handles.Xorbit,BPMspos,slow_corr_orbit_x,'b')
+plot(handles.Xorbit,BPMspos,fast_corr_orbit_x,'r')
+hold(handles.Xorbit,'off')
+xlabel(handles.Xorbit,'position (meters)','fontsize',8,'fontangle','italic')
+title(handles.Xorbit,'Horizontal orbit at selected frequency','FontWeight','Bold');
+legend2=['HCOR [',num2str(idx_sx),']'];
+legend3=['FHCOR [',num2str(idx_fx),']'];
+legend(handles.Xorbit,'Xorbit',legend2,legend3);
+
+disp_corr_strength=get(handles.strength,'value');
+disp_orbit_reduction=get(handles.orbit_reduction,'value');
+
+if disp_orbit_reduction
+        bar(handles.HCOR,HCORspos,efficiency_sx(1:size(efficiency_sx,2)-1),1,'b')
+        hold(handles.HCOR,'on')
+        bar(handles.HCOR,FHCORspos,efficiency_fx(1:size(efficiency_fx,2)-1),0.6,'r')
+        hold(handles.HCOR,'off')
+        ylim(handles.HCOR,[0 100]);
+        title(handles.HCOR,'Horizontal correctors response to correct selected frequency','FontWeight','Bold');
+        set(handles.HCOR,'XGrid','on','YGrid','on');
+        xlabel(handles.HCOR,'position (meters)','fontsize',8,'fontangle','italic')
+        text2=['FHCOR [',num2str(idx_fx),']'];
+        text1=['HCOR [',num2str(idx_sx),']'];
+        legend(handles.HCOR,text1,text2);
+
+        bar(handles.RFCOR,1,efficiency_sx(size(efficiency_sx,2)),'g')
+        ylim(handles.RFCOR,[0 100]);
+         xlim(handles.RFCOR,[0 2]);
+         set(handles.RFCOR,'XGrid','on','YGrid','on');
+        legend(handles.RFCOR,'RF');
+        
+        bar(handles.VCOR,VCORspos,efficiency_sz,1,'b')
+        set(handles.VCOR,'XGrid','on','YGrid','on');
+        hold(handles.VCOR,'on')
+        bar(handles.VCOR,FVCORspos,efficiency_fz,0.6,'r')
+        hold(handles.VCOR,'off')
+        ylim(handles.VCOR,[0 100]);
+        xlabel(handles.VCOR,'position (meters)','fontsize',8,'fontangle','italic')
+        title(handles.VCOR,'Vertical correctors response to correct selected frequency','FontWeight','Bold');
+        legend2=['FVCOR [',num2str(idx_fz),']'];
+        legend1=['VCOR [',num2str(idx_sz),']'];
+        legend(handles.VCOR,legend1,legend2);
+
+else if disp_corr_strength
+        bar(handles.HCOR,HCORspos,strengthX_slow(1:size(strengthX_slow,1)-1),1,'b')
+        hold(handles.HCOR,'on')
+        bar(handles.HCOR,FHCORspos,strengthX_fast(1:size(strengthX_fast,1)-1),0.6,'r')
+        hold(handles.HCOR,'off')
+        ylim(handles.HCOR,[-1 1]);
+        title(handles.HCOR,'Horizontal correctors response to correct selected frequency','FontWeight','Bold');
+        set(handles.HCOR,'XGrid','on','YGrid','on');
+        xlabel(handles.HCOR,'position (meters)','fontsize',8,'fontangle','italic')
+        text2=['FHCOR [',num2str(idx_fx),']'];
+        text1=['HCOR [',num2str(idx_sx),']'];
+        legend(handles.HCOR,text1,text2);
+
+        bar(handles.RFCOR,1,strengthX_slow(size(strengthX_slow,2)),'g')
+        ylim(handles.RFCOR,[-1 1]);
+        xlim(handles.RFCOR,[0 2]);
+        set(handles.RFCOR,'XGrid','on','YGrid','on');
+        legend(handles.RFCOR,'RF');
+        
+        bar(handles.VCOR,VCORspos,strengthZ_slow,1,'b')
+        set(handles.VCOR,'XGrid','on','YGrid','on');
+        hold(handles.VCOR,'on')
+        bar(handles.VCOR,FVCORspos,strengthZ_fast,0.6,'r')
+        hold(handles.VCOR,'off')
+        ylim(handles.VCOR,[-1 1]);
+        xlabel(handles.VCOR,'position (meters)','fontsize',8,'fontangle','italic')
+        title(handles.VCOR,'Vertical correctors response to correct selected frequency','FontWeight','Bold');
+        legend2=['FVCOR [',num2str(idx_fz),']'];
+        legend1=['VCOR [',num2str(idx_sz),']'];
+        legend(handles.VCOR,legend1,legend2);
+
+end
+
+end
+
+
+plot(handles.Zorbit,BPMspos,orbitZ,'k','Linewidth',2)
+set(handles.Zorbit,'XGrid','on','YGrid','on');
+hold(handles.Zorbit,'on')
+plot(handles.Zorbit,BPMspos,slow_corr_orbit_z,'b')
+plot(handles.Zorbit,BPMspos,fast_corr_orbit_z,'r')
+hold(handles.Zorbit,'off')
+xlabel(handles.Zorbit,'position (meters)','fontsize',8,'fontangle','italic')
+title(handles.Zorbit,'Vertical orbit at selected frequency','FontWeight','Bold');
+legend2=['VCOR [',num2str(idx_sz),']'];
+legend3=['FVCOR [',num2str(idx_fz),']'];
+legend(handles.Zorbit,'Zorbit',legend2,legend3);
+
+
+
+x_scale=get(handles.spectrum,'xlim');
+
+if is_frequency_domain
+    semilogy(handles.spectrum,f_bpm,mean(xfftamp(:,:)),'r');
+    hold(handles.spectrum,'on');
+    semilogy(handles.spectrum,f_bpm,mean(zfftamp(:,:)));
+    xlim(handles.spectrum,x_scale);
+    %ylim(handles.spectrum,[10^-3 10^1]);
+    xlabel(handles.spectrum,'frequency (Hz)','fontsize',8,'fontangle','italic')
+    %ylabel(handles.spectrum,'Âµm/sqrt(Hz)')
+    title(handles.spectrum,'Averaged fft amplitude','FontWeight','Bold');
+    legend(handles.spectrum,'plan H','plan V');
+    set(handles.spectrum,'XGrid','on','YGrid','on');
+    plot(handles.spectrum,f_bpm(selection),mean_xfftamp(selection),'ro','LineWidth',3,'MarkerSize',10)
+    plot(handles.spectrum,f_bpm(selection),mean_zfftamp(selection),'bo','LineWidth',3,'MarkerSize',10)
+    hold(handles.spectrum,'off');
+
+end    
+
+setappdata(handles.figure1,'strengthX_slow',strengthX_slow)
+setappdata(handles.figure1,'strengthZ_slow',strengthZ_slow)
+setappdata(handles.figure1,'strengthX_fast',strengthX_fast)
+setappdata(handles.figure1,'strengthZ_fast',strengthZ_fast)
+setappdata(handles.figure1,'efficiency_sx',efficiency_sx)
+setappdata(handles.figure1,'efficiency_fx',efficiency_fx)
+setappdata(handles.figure1,'efficiency_sz',efficiency_sz)
+setappdata(handles.figure1,'efficiency_fz',efficiency_fz)
+setappdata(handles.figure1,'idx_sx',idx_sx)
+setappdata(handles.figure1,'idx_fx',idx_fx)
+setappdata(handles.figure1,'idx_sz',idx_sz)
+setappdata(handles.figure1,'idx_fz',idx_fz)
+setappdata(handles.figure1,'orbitX',orbitX)
+setappdata(handles.figure1,'orbitZ',orbitZ)
+setappdata(handles.figure1,'BPM_list',BPM_list)
+
+set(handles.save_orbit,'Enable','on');
+
+close(h2)
+
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function frequency_list_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to frequency_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in aquisition.
+function aquisition_Callback(hObject, eventdata, handles)
+% hObject    handle to aquisition (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dev='ANS/DG/fofb-sniffer.2';
+fech=10079;
+fmin_display=0;
+fmax_display=2100;
+fmax_memory=2000;
+
+BPM_list=dev2tangodev('BPMx',family2dev('BPMx'));
+Nbpm=size(BPM_list,1);
+
+buff_length=(get(handles.record_length,'String'));
+buffer_length=str2num(buff_length);
+
+tic
+h1=waitbar(0,'please wait...');
+tango_write_attribute2(dev,'recordLengthInSecs',buffer_length)
+pause(1)
+record_length=tango_read_attribute2(dev,'recordLengthInSecs');
+for i=1:buffer_length+2
+    pause(1)
+    waitbar(i/buffer_length,h1);
+end
+data_record_time=toc;
+fprintf('data record time = %f seconds\n',toc)
+
+tic
+for j=1:1:Nbpm
+    bufferX(j,:)=tango_command_inout2(dev,'GetXPosData',uint16((j)));
+    bufferZ(j,:)=tango_command_inout2(dev,'GetZPosData',uint16((j)));
+    Nsamples=size(bufferX(j,:),2);
+end
+data_reading_time=toc;
+fprintf('data download time = %f seconds\n',toc)
+ 
+tic
+[xfftamp,zfftamp,xfftphase,zfftphase,f_bpm]=fft_amp_phase_calcul(bufferX,bufferZ,fech);
+fft_computation_time=toc;
+fprintf('fft computation time = %f seconds\n',toc)
+        
+        
+
+
+semilogy(handles.spectrum,f_bpm,mean(xfftamp(:,:)),'r');
+hold(handles.spectrum,'on');
+semilogy(handles.spectrum,f_bpm,mean(zfftamp(:,:)));
+xlim(handles.spectrum,[fmin_display fmax_display]);
+%ylim(handles.spectrum,[10^-3 10^1]);
+xlabel(handles.spectrum,'frequency (Hz)','fontsize',8,'fontangle','italic')
+%ylabel(handles.spectrum,'Âµm/sqrt(Hz)')
+title(handles.spectrum,'Averaged fft amplitude','FontWeight','Bold');
+legend(handles.spectrum,'plan H','plan V');
+set(handles.spectrum,'XGrid','on','YGrid','on');
+hold(handles.spectrum,'off');
+
+setappdata(handles.figure1,'bufferX', bufferX);
+setappdata(handles.figure1,'bufferZ', bufferZ);
+setappdata(handles.figure1,'xfftamp',xfftamp);
+setappdata(handles.figure1,'xfftphase',xfftphase);
+setappdata(handles.figure1,'zfftamp',zfftamp);
+setappdata(handles.figure1,'zfftphase',zfftphase);
+setappdata(handles.figure1,'f_bpm',f_bpm);
+setappdata(handles.figure1,'mean_xfftamp',mean(xfftamp(:,:)));
+setappdata(handles.figure1,'mean_zfftamp',mean(zfftamp(:,:)));
+
+mean_xfftamp=getappdata(handles.figure1,'mean_xfftamp');
+mean_zfftamp=getappdata(handles.figure1,'mean_zfftamp');
+
+for i=1:size(f_bpm,2)/2
+    list{i}=[num2str(f_bpm(i),'%10.2f'),' Hz    X=',num2str(mean_xfftamp(i),'%10.1f'),'    Z=',num2str(mean_zfftamp(i),'%10.1f')];
+end
+
+set(handles.frequency_list,'string',list)
+
+cla(handles.HCOR)
+cla(handles.VCOR)
+cla(handles.Xorbit)
+cla(handles.Zorbit)
+
+set(handles.strength,'Enable','on');
+set(handles.orbit_reduction,'Enable','on');
+set(handles.save,'Enable','on');
+
+close(h1)
+
+function record_length_Callback(hObject, eventdata, handles)
+% hObject    handle to record_length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of record_length as text
+%        str2double(get(hObject,'String')) returns contents of record_length as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function record_length_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to record_length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in load.
+function load_Callback(hObject, eventdata, handles)
+% hObject    handle to load (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+fmin_display=0;
+fmax_display=2100;
+fech=10079;
+pathname='/home/operateur/GrpDiagnostics/matlab/data';
+[filename, pathname, filterindex] = uigetfile('*.mat', 'Pick an MAT-file',pathname);
+if isequal(filename,0) || isequal(pathname,0)
+       disp('Loading cancelled by user')
+else
+load([pathname filename],'bufferX','bufferZ','BPM_list');
+end
+
+is_frequency_domain=get(handles.frequency_domain,'value');
+
+if is_frequency_domain
+    [xfftamp,zfftamp,xfftphase,zfftphase,f_bpm]=fft_amp_phase_calcul(bufferX,bufferZ,fech);
+
+    semilogy(handles.spectrum,f_bpm,mean(xfftamp(:,:)),'r');
+    hold(handles.spectrum,'on');
+    semilogy(handles.spectrum,f_bpm,mean(zfftamp(:,:)));
+    xlim(handles.spectrum,[fmin_display fmax_display]);
+    %ylim(handles.spectrum,[10^-3 10^1]);
+    xlabel(handles.spectrum,'frequency (Hz)','fontsize',8,'fontangle','italic')
+    %ylabel(handles.spectrum,'Âµm/sqrt(Hz)')
+    title(handles.spectrum,'Averaged fft amplitude','FontWeight','Bold');
+    legend(handles.spectrum,'plan H','plan V');
+    set(handles.spectrum,'XGrid','on','YGrid','on');
+    hold(handles.spectrum,'off');
+
+    setappdata(handles.figure1,'xfftamp',xfftamp);
+    setappdata(handles.figure1,'xfftphase',xfftphase);
+    setappdata(handles.figure1,'zfftamp',zfftamp);
+    setappdata(handles.figure1,'zfftphase',zfftphase);
+    setappdata(handles.figure1,'f_bpm',f_bpm);
+    setappdata(handles.figure1,'mean_xfftamp',mean(xfftamp(:,:)));
+    setappdata(handles.figure1,'mean_zfftamp',mean(zfftamp(:,:)));
+    setappdata(handles.figure1,'BPM_list',BPM_list)
+
+    mean_xfftamp=getappdata(handles.figure1,'mean_xfftamp');
+    mean_zfftamp=getappdata(handles.figure1,'mean_zfftamp');
+    for i=1:size(f_bpm,2)/2
+        list{i}=[num2str(f_bpm(i),'%10.2f'),' Hz    X=',num2str(mean_xfftamp(i),'%10.1f'),'    Z=',num2str(mean_zfftamp(i),'%10.1f')];
+    end
+else
+    plot(handles.spectrum,bufferX');
+    hold(handles.spectrum,'on');
+    plot(handles.spectrum,bufferZ');
+    xlabel(handles.spectrum,'position (meters)','fontsize',8,'fontangle','italic')
+    ylabel(handles.spectrum,'BPM(nm)')
+    title(handles.spectrum,'Position','FontWeight','Bold');
+    set(handles.spectrum,'XGrid','on','YGrid','on');
+    hold(handles.spectrum,'off');
+
+    setappdata(handles.figure1,'bufferX',bufferX);
+    setappdata(handles.figure1,'bufferZ',bufferZ);
+
+    for i=1:size(bufferX,2)
+       list{i}=[num2str((i),'%10.2f'),'   X=',num2str(std(bufferX(:,i)),'%10.1f'),'    Z=',num2str(std(bufferZ(:,i)),'%10.1f')];
+    end
+end
+set(handles.frequency_list,'string',list)
+
+cla(handles.HCOR)
+cla(handles.VCOR)
+cla(handles.Xorbit)
+cla(handles.Zorbit)
+
+set(handles.strength,'Enable','on');
+set(handles.orbit_reduction,'Enable','on');
+set(handles.save_orbit,'Enable','off');
+
+
+
+
+
+% --- Executes on button press in save.
+function save_Callback(hObject, eventdata, handles)
+% hObject    handle to save (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+BPM_list=dev2tangodev('BPMx',family2dev('BPMx'));
+bufferX=getappdata(handles.figure1,'bufferX');
+bufferZ=getappdata(handles.figure1,'bufferZ');
+
+clk=clock;
+year=num2str(clk(1));
+month=num2str(clk(2),'%.2d');
+day=num2str(clk(3),'%.2d');
+hour=[num2str(clk(4),'%.2d'),'h'];
+min=[num2str(clk(5),'%.2d'),'mn'];
+date=['_',year,'_',month,'_',day,'_',hour,'_',min];
+filename=['/home/operateur/GrpDiagnostics/matlab/data/Enregistrement',date,'.mat'];
+
+uisave({'BPM_list','bufferX','bufferZ'},filename)
+        
+
+
+% --- Executes on button press in orbit_reduction.
+function orbit_reduction_Callback(hObject, eventdata, handles)
+% hObject    handle to orbit_reduction (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of orbit_reduction
+
+value=get(handles.strength,'value');
+if value
+    set(handles.strength,'value',0);
+else
+    set(handles.strength,'value',1);
+end
+disp_corr(hObject, eventdata, handles)
+%frequency_list_Callback(hObject, eventdata, handles)
+
+% --- Executes on button press in strength.
+function strength_Callback(hObject, eventdata, handles)
+% hObject    handle to strength (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of strength
+value=get(handles.orbit_reduction,'value');
+if value
+    set(handles.orbit_reduction,'value',0);
+else
+    set(handles.orbit_reduction,'value',1);
+end
+disp_corr(hObject, eventdata, handles)
+%frequency_list_Callback(hObject, eventdata, handles)
+
+
+
+function disp_corr(hObject, eventdata, handles)
+
+FHCORspos = getspos('FHCOR',family2dev('FHCOR'));
+FVCORspos = getspos('FVCOR',family2dev('FVCOR'));
+HCORspos = getspos('HCOR',family2dev('HCOR'));
+VCORspos = getspos('VCOR',family2dev('VCOR'));
+
+strengthX_slow=getappdata(handles.figure1,'strengthX_slow');
+strengthZ_slow=getappdata(handles.figure1,'strengthZ_slow');
+strengthX_fast=getappdata(handles.figure1,'strengthX_fast');
+strengthZ_fast=getappdata(handles.figure1,'strengthZ_fast');
+efficiency_sx=getappdata(handles.figure1,'efficiency_sx');
+efficiency_fx=getappdata(handles.figure1,'efficiency_fx');
+efficiency_sz=getappdata(handles.figure1,'efficiency_sz');
+efficiency_fz=getappdata(handles.figure1,'efficiency_fz');
+idx_sx=getappdata(handles.figure1,'idx_sx');
+idx_fx=getappdata(handles.figure1,'idx_fx');
+idx_sz=getappdata(handles.figure1,'idx_sz');
+idx_fz=getappdata(handles.figure1,'idx_fz');
+
+disp_corr_strength=get(handles.strength,'value')
+disp_orbit_reduction=get(handles.orbit_reduction,'value')
+
+if disp_orbit_reduction
+        bar(handles.HCOR,HCORspos,efficiency_sx(1:size(efficiency_sx,2)-1),1,'b')
+        hold(handles.HCOR,'on')
+        bar(handles.HCOR,FHCORspos,efficiency_fx(1:size(efficiency_fx,2)-1),0.6,'r')
+        hold(handles.HCOR,'off')
+        ylim(handles.HCOR,[0 100]);
+        title(handles.HCOR,'Horizontal correctors response to correct selected frequency','FontWeight','Bold');
+        set(handles.HCOR,'XGrid','on','YGrid','on');
+        xlabel(handles.HCOR,'position (meters)','fontsize',8,'fontangle','italic')
+        text2=['FHCOR [',num2str(idx_fx),']'];
+        text1=['HCOR [',num2str(idx_sx),']'];
+        legend(handles.HCOR,text1,text2);
+
+        bar(handles.RFCOR,1,efficiency_sx(size(efficiency_sx,2)),'g')
+        ylim(handles.RFCOR,[0 100]);
+         xlim(handles.RFCOR,[0 2]);
+         set(handles.RFCOR,'XGrid','on','YGrid','on');
+        legend(handles.RFCOR,'RF');
+        
+        bar(handles.VCOR,VCORspos,efficiency_sz,1,'b')
+        set(handles.VCOR,'XGrid','on','YGrid','on');
+        hold(handles.VCOR,'on')
+        bar(handles.VCOR,FVCORspos,efficiency_fz,0.6,'r')
+        hold(handles.VCOR,'off')
+        ylim(handles.VCOR,[0 100]);
+        xlabel(handles.VCOR,'position (meters)','fontsize',8,'fontangle','italic')
+        title(handles.VCOR,'Vertical correctors response to correct selected frequency','FontWeight','Bold');
+        legend2=['FVCOR [',num2str(idx_fz),']'];
+        legend1=['VCOR [',num2str(idx_sz),']'];
+        legend(handles.VCOR,legend1,legend2);
+
+else if disp_corr_strength
+        bar(handles.HCOR,HCORspos,strengthX_slow(1:size(strengthX_slow,1)-1),1,'b')
+        hold(handles.HCOR,'on')
+        bar(handles.HCOR,FHCORspos,strengthX_fast(1:size(strengthX_fast,1)-1),0.6,'r')
+        hold(handles.HCOR,'off')
+        ylim(handles.HCOR,[-1 1]);
+        title(handles.HCOR,'Horizontal correctors response to correct selected frequency','FontWeight','Bold');
+        set(handles.HCOR,'XGrid','on','YGrid','on');
+        xlabel(handles.HCOR,'position (meters)','fontsize',8,'fontangle','italic')
+        text2=['FHCOR [',num2str(idx_fx),']'];
+        text1=['HCOR [',num2str(idx_sx),']'];
+        legend(handles.HCOR,text1,text2);
+
+        bar(handles.RFCOR,1,strengthX_slow(size(strengthX_slow,2)),'g')
+        ylim(handles.RFCOR,[-1 1]);
+        xlim(handles.RFCOR,[0 2]);
+        set(handles.RFCOR,'XGrid','on','YGrid','on');
+        legend(handles.RFCOR,'RF');
+        
+        bar(handles.VCOR,VCORspos,strengthZ_slow,1,'b')
+        set(handles.VCOR,'XGrid','on','YGrid','on');
+        hold(handles.VCOR,'on')
+        bar(handles.VCOR,FVCORspos,strengthZ_fast,0.6,'r')
+        hold(handles.VCOR,'off')
+        ylim(handles.VCOR,[-1 1]);
+        xlabel(handles.VCOR,'position (meters)','fontsize',8,'fontangle','italic')
+        title(handles.VCOR,'Vertical correctors response to correct selected frequency','FontWeight','Bold');
+        legend2=['FVCOR [',num2str(idx_fz),']'];
+        legend1=['VCOR [',num2str(idx_sz),']'];
+        legend(handles.VCOR,legend1,legend2);
+
+end
+
+end
+
+
+plot(handles.Zorbit,BPMspos,orbitZ,'k','Linewidth',2)
+set(handles.Zorbit,'XGrid','on','YGrid','on');
+hold(handles.Zorbit,'on')
+plot(handles.Zorbit,BPMspos,slow_corr_orbit_z,'b')
+plot(handles.Zorbit,BPMspos,fast_corr_orbit_z,'r')
+hold(handles.Zorbit,'off')
+xlabel(handles.Zorbit,'position (meters)','fontsize',8,'fontangle','italic')
+title(handles.Zorbit,'Vertical orbit at selected frequency','FontWeight','Bold');
+legend2=['MESC'];
+legend3=['MEFC'];
+legend(handles.Zorbit,'Zorbit',legend2,legend3);
+
+
+
+x_scale=get(handles.spectrum,'xlim');
+
+
+semilogy(handles.spectrum,f_bpm,mean(xfftamp(:,:)),'r');
+hold(handles.spectrum,'on');
+semilogy(handles.spectrum,f_bpm,mean(zfftamp(:,:)));
+xlim(handles.spectrum,x_scale);
+%ylim(handles.spectrum,[10^-3 10^1]);
+xlabel(handles.spectrum,'frequency (Hz)','fontsize',8,'fontangle','italic')
+%ylabel(handles.spectrum,'Âµm/sqrt(Hz)')
+title(handles.spectrum,'Averaged fft amplitude','FontWeight','Bold');
+legend(handles.spectrum,'plan H','plan V');
+set(handles.spectrum,'XGrid','on','YGrid','on');
+plot(handles.spectrum,f_bpm(selection),mean_xfftamp(selection),'ro','LineWidth',3,'MarkerSize',10)
+plot(handles.spectrum,f_bpm(selection),mean_zfftamp(selection),'bo','LineWidth',3,'MarkerSize',10)
+hold(handles.spectrum,'off');
+
+setappdata(handles.figure1,'strengthX_slow',strengthX_slow)
+setappdata(handles.figure1,'strengthZ_slow',strengthZ_slow)
+setappdata(handles.figure1,'strengthX_fast',strengthX_fast)
+setappdata(handles.figure1,'strengthZ_fast',strengthZ_fast)
+setappdata(handles.figure1,'efficiency_sx',efficiency_sx)
+setappdata(handles.figure1,'efficiency_fx',efficiency_fx)
+setappdata(handles.figure1,'efficiency_sz',efficiency_sz)
+setappdata(handles.figure1,'efficiency_fz',efficiency_fz)
+setappdata(handles.figure1,'idx_sx',idx_sx)
+setappdata(handles.figure1,'idx_fx',idx_fx)
+setappdata(handles.figure1,'idx_sz',idx_sz)
+setappdata(handles.figure1,'idx_fz',idx_fz)
+setappdata(handles.figure1,'orbitX',orbitX)
+setappdata(handles.figure1,'orbitZ',orbitZ)
+setappdata(handles.figure1,'BPM_list',BPM_list)
+
+set(handles.save_orbit,'Enable','on');
+
+close(h2)
+
+
+% --- Executes on button press in save_orbit.
+function save_orbit_Callback(hObject, eventdata, handles)
+% hObject    handle to save_orbit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+orbitX=getappdata(handles.figure1,'orbitX')
+orbitZ=getappdata(handles.figure1,'orbitZ')
+BPM_list=dev2tangodev('BPMx',family2dev('BPMx'));
+
+clk=clock;
+year=num2str(clk(1));
+month=num2str(clk(2),'%.2d');
+day=num2str(clk(3),'%.2d');
+hour=[num2str(clk(4),'%.2d'),'h'];
+min=[num2str(clk(5),'%.2d'),'mn'];
+date=['_',year,'_',month,'_',day,'_',hour,'_',min];
+filename=['/home/operateur/GrpDiagnostics/matlab/data/Enregistrement',date,'.mat'];
+
+uisave({'BPM_list','orbitX','orbitZ'},filename)
+        
+
+
+% --- Executes on button press in frequency_domain.
+function frequency_domain_Callback(hObject, eventdata, handles)
+% hObject    handle to frequency_domain (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of frequency_domain
+value=get(handles.time_domain,'value');
+if value
+    set(handles.time_domain,'value',0);
+else
+    set(handles.time_domain,'value',1);
+end
+
+
+% --- Executes on button press in time_domain.
+function time_domain_Callback(hObject, eventdata, handles)
+% hObject    handle to time_domain (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of time_domain
+value=get(handles.frequency_domain,'value');
+if value
+    set(handles.frequency_domain,'value',0);
+else
+    set(handles.frequency_domain,'value',1);
+end
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/create_bpm_group.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/create_bpm_group.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/create_bpm_group.m	(revision 17)
@@ -0,0 +1,12 @@
+function result=create_bpm_group(device_list)
+groupe=tango_group_create2('BPMs_ans')
+device_list
+for i=1:1:size(device_list,1)
+dev_list{i}=device_list(i,:)
+end
+tango_group_add(groupe,dev_list);
+tango_group_dump(groupe)
+%  attr_list={'DDBufferSize','DDTriggerCounter'}
+%  result=tango_group_write_attribute(groupe,'DDBufferSize',1,int32(100))
+result=groupe;
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/create_group_from_list.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/create_group_from_list.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/create_group_from_list.m	(revision 17)
@@ -0,0 +1,13 @@
+function result=create_bpm_group(device_list)
+groupe=tango_group_create2('BPMs_ans');
+device_list
+for i=1:1:size(device_list,1)
+dev_list(i,:)=device_list{i};
+tango_group_add(groupe,dev_list(i,:));
+end
+
+tango_group_dump(groupe)
+%  attr_list={'DDBufferSize','DDTriggerCounter'}
+%  result=tango_group_write_attribute(groupe,'DDBufferSize',1,int32(100))
+result=groupe;
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/duree_vie.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/duree_vie.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/duree_vie.m	(revision 17)
@@ -0,0 +1,40 @@
+function [LT,is_valid,valid_samples]=duree_vie(bpm_group,N_samples)
+fSA=9.8428;
+attr_list={'SumSAHistory'};
+
+
+result=tango_group_read_attributes2(bpm_group,attr_list);
+N_bpm=size(result.dev_replies,2);
+LT(N_bpm)=0;
+for j=1:1:N_bpm
+    stop_scan=0;
+    buffer_length=size(result.dev_replies(j).attr_values.value,2);
+    index=buffer_length;
+    while stop_scan==0
+%        if result.dev_replies(j).attr_values.value(index)>1.0003*result.dev_replies(j).attr_values.value(index-1)
+        if result.dev_replies(j).attr_values.value(index)>1.003*result.dev_replies(j).attr_values.value(index-1)
+            start=index+5;
+            stop_scan=1;
+%            fprintf('scan stopped at sample %d for bpm %d \n', index,j)
+        else
+            index=index-1;
+        end
+        if index==buffer_length-N_samples
+            stop_scan=1;
+            start=buffer_length-N_samples;
+        end
+    end
+    new_sum=result.dev_replies(j).attr_values.value(start:buffer_length);
+     valid_samples(j)=buffer_length-start;
+    if(valid_samples(j)<70)
+        is_valid(j)=0;
+        LT(j)=NaN;
+    else
+        is_valid(j)=1;
+        LT(j)=-((0-double(int16(valid_samples(j)/2)))/(3600*fSA))/(log(mean(new_sum(1:double(uint16(valid_samples(j)/2))))/(mean(new_sum(double(uint16(valid_samples(j)/2)+1):valid_samples(j))))));
+    end
+
+
+end
+% figure(1)
+% plot(LT)
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fa_load.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fa_load.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fa_load.m	(revision 17)
@@ -0,0 +1,69 @@
+% fa_load
+%
+% Grab bpm data from the fa archiver for the last 36 hours or so.
+%
+% d = fa_load(tse, mask [, type [,server]])
+%
+% Input:
+%   tse = [start_time end_time]
+%   mask = vector containing bmps [1 2 3], or [78 79] etc.
+%   type = 'F' for full data
+%          'd' for 10072/64 decimated
+%          'D' for 10072/16384 decimated
+%
+% Output:
+%   d = object containing all of the data
+function d = fa_load(tse, mask, type, server)
+    fa_capture = 'fa-capture';
+    if nargin < 3
+        type = 'F';
+    end
+    if nargin < 4
+        server = '';
+    else
+        server = ['-S' server];
+    end
+
+
+    % Create temporary file to capture into
+    [r, famat] = system('mktemp');
+    if r ~= 0; error('mktemp failed'); end
+    famat = famat(1:end-1);     % Remove \n from returned filename
+
+    % Use fa-capture utility to read required data into temporary file
+    maskstr = sprintf('%d,', mask);
+    [r, o] = system([ ...
+        fa_capture ' -ka -s' format_time(tse(1)) '~' format_time(tse(2)) ...
+        ' -o' famat ' -f' type ' ' server ' ' maskstr(1:end-1)]);
+    if r ~= 0
+        delete(famat);
+        error(o)
+    end
+
+    % Load the read data into memory
+    d = load('-mat', famat);
+    delete(famat);
+
+    % Compute the timestamps
+    g = [d.gapix length(d.data)] + 1;
+    for n = 1:(length(g)-1);
+        d.t(g(n):g(n+1)-1) = ...
+            d.gaptimes(n) + (0:diff(g([n n+1]))-1)/d.f_s/3600/24;
+    end
+    d.day = floor(d.t(1));
+    d.t = d.t - d.day;
+end
+
+
+% Converts matlab timestamp into ISO 8601 format as expected by fa-capture.
+function str = format_time(time)
+    format = 'yyyy-mm-ddTHH:MM:SS';
+    str = datestr(time, format);
+    % Work out the remaining unformatted fraction of a second
+    delta_s = 3600 * 24 * (time - datenum(str, format));
+    if delta_s > 0.9999; delta_s = 0.9999; end      % Fudge for last fraction
+    if 0 < delta_s
+        nano = sprintf('%.4f', delta_s);
+        str = [str nano(2:end)];
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fa_zoomer.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fa_zoomer.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fa_zoomer.m	(revision 17)
@@ -0,0 +1,279 @@
+% fa_zoomer([server])
+%
+% Investigate and zoom into archive data for the last day.
+function fa_zoomer(server)
+    % h is used to store all persistent state that is not part of the generated
+    % data.
+    h = {};
+
+    if nargin == 0
+        h.server = 'ac7b727-pc1';
+    else
+        h.server = server;
+    end
+
+    % Create figure with the standard toolbar but no menubar
+    fig = figure('MenuBar', 'none', 'Toolbar', 'figure', ...
+        'Position', [0 0 900 600]);
+    global data;
+    data = {};
+
+    % Create the controls.
+    global h_pos;
+    h_pos = 10;
+    h.bpm_list = control('edit', '4', 60, 'List of BPM FA ids');
+    h.bpm_name_list = control('popup', ...
+        dev2tangodev('BPMx',family2dev('BPMx')), 130, ...
+        'Choose decimated data type to display', 'Value', 1, ...
+        'Callback', protect(@bpm_name_callback));
+    control('pushbutton', 'Back', 40, 'Return to previous zoom', ...
+        'Callback', protect(@back_callback));
+    control('pushbutton', 'Full', 40, 'View entire archive history', ...
+        'Callback', protect(@full_archive_callback));
+    control('pushbutton', '24h', 40, 'View last 24 hours', ...
+        'Callback', protect(@last_day_callback));
+    control('pushbutton', 'Zoom', 60, 'Update zoomed area from archive', ...
+        'Callback', protect(@zoom_in_callback));
+    control('pushbutton', 'Spectrogram', 100, 'Show as spectrogram', ...
+        'Callback', protect(@spectrogram_callback));
+    h.message = control('text', '', 150, ...
+        'Error message or [bpm count] samples/decimation');
+    h.maxpts = control('edit', num2str(1e6), 80, ...
+        'Maximum number of sample points');
+    h.ylim = control('checkbox', 'Zoomed', 70, ...
+        'Limit vertical scale to +-100um', 'Value', 0, ...
+        'Callback', protect(@reload_plot));
+    h.data_type = control('popup', {'min/max', 'std', 'mean'}, 90, ...
+        'Choose decimated data type to display', 'Value', 1, ...
+        'Callback', protect(@reload_plot));
+    control('pushbutton', 'Save', 40, 'Save Position data currently displayed', ...
+        'Callback', protect(@save_data_callback));
+    clear global h_pos;
+    h.history = cell(0, 2);
+
+    % Hang onto the controls we need to reference later
+    guidata(fig, h);
+
+    last_day_callback(fig, 0);
+end
+
+
+% Places control with specified style, value, width  and tooltip.
+function result = control(style, value, width, tooltip, varargin)
+    global h_pos;
+    position = [h_pos 10 width 20];
+    h_pos = h_pos + width + 5;
+    result = uicontrol( ...
+        'Style', style, 'String', value, 'Position', position, ...
+        'TooltipString', tooltip, varargin{:});
+end
+
+
+function prot = protect(func)
+    function protected(fig, event)
+        try
+            func(fig, event)
+        catch
+            message('Error: see console')
+            rethrow(lasterror)
+        end
+    end
+    prot = @protected;
+end
+
+
+function back_callback(fig, event)
+    h = guidata(fig);
+    if size(h.history, 1) > 1
+        h.history = h.history(1:end-1, :);
+        range = h.history{end, 1};
+        type  = h.history{end, 2};
+        guidata(fig, h)
+        load_data(fig, range, type, false);
+    end
+end
+
+
+function full_archive_callback(fig, event)
+    load_data(fig, [now-2000 now], 'D', true);    % Go back as far as possible!
+end
+
+
+% Loads data for the last 24 hours
+function last_day_callback(fig, event)
+    load_data(fig, [now-1 now], 'D', true);
+end
+
+
+% Loads data enclosed by the current zoom selection, returned by xlim.
+function zoom_in_callback(fig, event)
+    h = guidata(fig);
+    global data;
+
+    maxdata = str2num(get(h.maxpts,   'String'));
+    pvs     = str2num(get(h.bpm_list, 'String'));
+    points = diff(xlim) * 24 * 3600 * 10079 * length(pvs);
+
+    type = 'F';
+    if points > maxdata
+        type = 'd';
+        points = points / 64;
+        if points > maxdata
+            type = 'D';
+        end
+    end
+
+    load_data(fig, xlim + data.day, type, true);
+end
+
+
+function reload_plot(fig, event)
+    h = guidata(fig);
+    global data;
+    plotfa(h, data);
+end
+
+
+% Loads the requested range of data.
+function load_data(fig, range, type, save)
+    h = guidata(fig);
+    if save
+        h.history(end+1, :) = {range, type};
+        guidata(fig, h)
+    end
+    global data;
+
+    pvs = str2num(get(h.bpm_list, 'String'));
+
+    busy;
+    data = fa_load(range, pvs, type, h.server);
+    plotfa(h, data);
+    describe;
+end
+
+
+function spectrogram_callback(fig, event)
+    global data;
+    %len=1024;
+    len=20480;
+
+    if length(size(data.data)) == 3
+        busy;
+        for n = 1:2
+        subplot(2, 1, n)
+            e = squeeze(data.data(n, 1, :));
+            cols = floor(length(e)/len);
+            sg = log10(abs(fft(reshape(e(1:(len*cols)), len, cols))));
+            imagesc(data.t, [0 data.f_s/10], sg(1:(round(len/10)), :));
+
+            set(gca, 'Ydir', 'normal');
+            %caxis([2 6])
+            caxis('auto');
+            label_axis(n)
+        end
+        describe;
+    else
+        message('Decimated data');
+    end
+end
+
+function save_data_callback(fig, event)
+    h = guidata(fig);
+    global data;
+    if length(size(data.data)) == 4
+            % decimated data can not be saved 
+    else
+        BPM_list=family2tangodev('BPMx',data.ids')
+        bufferX=squeeze(data.data(1, :, :));
+        bufferZ=squeeze(data.data(2, :, :));
+        if size(BPM_list,1)==1
+            bufferX=bufferX';
+            bufferZ=bufferZ';
+        end
+        
+        date=datestr(data.timestamp,30)
+        date=[date(1:4),'_',date(5:6),'_',date(7:8),'_',date(10:11),'h_',date(12:13),'mn']
+        filename=['/home/operateur/GrpDiagnostics/matlab/data/Enregistrement_',date,'.mat'];
+
+        uisave({'BPM_list','bufferX','bufferZ'},filename)
+    end
+    
+    
+end
+
+function plotfa(h, d)
+    data_type = get(h.data_type, 'Value');
+    if get(h.ylim, 'Value')
+        if length(size(d.data)) == 4
+            switch data_type
+                case 1;     set_ylim = [-100 100];
+                case 2;     set_ylim = [0 10];
+                case 3;     set_ylim = [-10 10];
+            end
+        else
+            set_ylim = [-100 100];
+        end
+    else
+        set_ylim = [];
+    end
+
+    for n = 1:2
+        subplot(2, 1, n)
+        if length(size(d.data)) == 4
+            switch data_type
+                case 1
+                    plot(d.t, 1e-3 * squeeze(d.data(n, 2, :, :))); hold on
+                    plot(d.t, 1e-3 * squeeze(d.data(n, 3, :, :))); hold off
+                case 2
+                    plot(d.t, 1e-3 * squeeze(d.data(n, 4, :, :)));
+                case 3
+                    plot(d.t, 1e-3 * squeeze(d.data(n, 1, :, :)));
+            end
+        else
+            plot(d.t, 1e-3 * squeeze(d.data(n, :, :)))
+        end
+
+        xlim([d.t(1) d.t(end)]);
+        if length(set_ylim) > 0; ylim(set_ylim); end
+        label_axis(n)
+    end
+end
+
+
+function label_axis(n)
+    axes = {'X'; 'Y'};
+    global data;
+    ylabel(gca, 'Âµm');
+    if diff(data.t([1 end])) <= 2/(24*3600)
+        title([datestr(data.timestamp) ' ' axes{n}])
+        set(gca, 'XTickLabel', num2str( ...
+            get(gca,'XTick').'*24*3600-60*floor(data.t(1)*24*60),'%.4f'))
+    else
+        title([datestr(data.day) ' ' axes{n}])
+        datetick('keeplimits')
+    end
+end
+
+function message(msg)
+    h = guidata(gcf);
+    set(h.message, 'String', msg);
+end
+
+function busy
+    message('Busy');
+    drawnow;
+end
+
+% Prints description of currently plotted data
+function describe
+    global data;
+    message(sprintf('[%d] %d/%d', ...
+        length(data.ids), length(data.data), data.decimation))
+end
+
+% Gives id from selected BPM Name
+function bpm_name_callback(fig, event)
+    h = guidata(gcf);
+    index = get(h.bpm_name_list, 'Value');
+    set(h.bpm_list, 'String', num2str(index));
+end
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fft_amp_phase_calcul.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fft_amp_phase_calcul.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fft_amp_phase_calcul.m	(revision 17)
@@ -0,0 +1,40 @@
+function [xfftamp,zfftamp,xfftphase,zfftphase,f_bpm]=fft_amp_phase_calcul(bufferX,bufferZ,fech)
+
+Nbpm=size(bufferX,1);
+Nsamples=size(bufferX,2);
+f_bpm=(1:Nsamples)*fech/Nsamples;
+
+% xfft(1:Nbpm,1:Nsamples)=0;
+% zfft(1:Nbpm,1:Nsamples)=0; 
+
+% tic
+% for j=1:1:Nbpm
+%     xfft(j,:)=fft(double(bufferX(j,:)))/Nsamples;
+%     zfft(j,:)=fft(double(bufferZ(j,:)))/Nsamples;
+%     xfftamp(j,:)=abs(xfft(j,:));
+%     zfftamp(j,:)=abs(zfft(j,:));
+%     xfftphase(j,:)=angle(xfft(j,:));
+%     zfftphase(j,:)=angle(zfft(j,:));
+%     
+% end
+% toc
+
+    xfft2=fft(double(bufferX'))/Nsamples;
+    zfft2=fft(double(bufferZ'))/Nsamples;
+    xfftamp2=abs(xfft2);
+    zfftamp2=abs(zfft2);
+    xfftphase2=angle(xfft2);
+    zfftphase2=angle(zfft2);
+
+xfftamp=xfftamp2(2:int32(Nsamples/2),:)';
+zfftamp=zfftamp2(2:int32(Nsamples/2),:)';
+xfftphase=xfftphase2(2:int32(Nsamples/2),:)';
+zfftphase=zfftphase2(2:int32(Nsamples/2),:)';
+    
+% xfftamp=xfftamp(:,2:int32(Nsamples/2));
+% zfftamp=zfftamp(:,2:int32(Nsamples/2));
+% xfftphase=xfftphase(:,2:int32(Nsamples/2));
+% zfftphase=zfftphase(:,2:int32(Nsamples/2));
+f_bpm=f_bpm(2:int32(Nsamples/2));
+
+  
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fft_and_noise_calcul_group.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fft_and_noise_calcul_group.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fft_and_noise_calcul_group.m	(revision 17)
@@ -0,0 +1,52 @@
+function [pxfft,pzfft,Xintegrale_bpm,Zintegrale_bpm,f_bpm]=fft_and_noise_calcul_group(bufferX,bufferZ,fech)
+
+Nbpm=size(bufferX,1);
+Nsamples=size(bufferX,2);
+f_bpm=(1:Nsamples-1)*fech/Nsamples;
+
+xfft(1:Nbpm,1:Nsamples)=0;
+zfft(1:Nbpm,1:Nsamples)=0; 
+pxfft(1:Nbpm,1:Nsamples)=0;
+pzfft(1:Nbpm,1:Nsamples)=0; 
+%pxfftaff(1:Nbpm,1:Nsamples)=0;
+%pzfftaff(1:Nbpm,1:Nsamples)=0; 
+%PXintegrale_bpm(1:Nbpm,1:Nsamples)=0;
+%PZintegrale_bpm(1:Nbpm,1:Nsamples)=0;
+Xintegrale_bpm(1:Nbpm,1:Nsamples)=0;
+Zintegrale_bpm(1:Nbpm,1:Nsamples)=0;
+
+
+xfft=fft(double(bufferX)./1000,[],2)/Nsamples;
+zfft=fft(double(bufferZ)./1000,[],2)/Nsamples;
+%xfft=fft(double(bufferX),[],2)/Nsamples;
+%zfft=fft(double(bufferZ),[],2)/Nsamples;
+
+
+
+pxfft=2*xfft.*conj(xfft);
+pzfft=2*zfft.*conj(zfft);
+
+
+
+%on normalise pour afficher la dsp en Âµm^2/Hz et non pas en Âµm^2/largeur de bande entre 2 Ã©chantillons
+%pxfftaff(j,:)=sqrt(pxfft(j,:)*Nsamples/fech);
+%pzfftaff(j,:)=sqrt(pzfft(j,:)*Nsamples/fech);
+%pxfftaff=sqrt(pxfft);
+%pzfftaff=sqrt(pzfft);
+
+
+
+for step=2:Nsamples
+    Xintegrale_bpm(:,step)=Xintegrale_bpm(:,step-1) + pxfft(:,step);
+    Zintegrale_bpm(:,step)=Zintegrale_bpm(:,step-1) + pzfft(:,step);
+end
+
+
+
+pxfft=sqrt(pxfft);
+pzfft=sqrt(pzfft);
+Xintegrale_bpm=sqrt((Xintegrale_bpm));
+Zintegrale_bpm=sqrt((Zintegrale_bpm));
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_arm_CC.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_arm_CC.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_arm_CC.m	(revision 17)
@@ -0,0 +1,16 @@
+function fofb_arm_CC(groupe,time_frame_cnt_limit_value,data_selection)
+
+
+fai_cfg_reg=2048*4;
+if data_selection==1
+    reg=time_frame_cnt_limit_value*2^4+10;
+else
+    reg=time_frame_cnt_limit_value*2^4+8;
+end    
+Enable_user_fai=int32([(fai_cfg_reg) 4 1 reg]);
+Enable_Itech_fai=int32([(fai_cfg_reg+4) 4 1 1]);
+
+tango_group_command_inout2(groupe,'WriteFAData',1,Enable_user_fai) 
+
+tango_group_command_inout2(groupe,'WriteFAData',1,Enable_Itech_fai) 
+   
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_config.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_config.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_config.m	(revision 17)
@@ -0,0 +1,28 @@
+function fofb_config(groupe,X_conf,Z_conf)
+% coeffx=512*4-4;
+% coeffz=768*4-4;
+coeffx=512*4-4;
+coeffz=768*4-4;
+fai_cfg_reg=2048*4;
+ack_rise=int32([fai_cfg_reg 4 1 9]);
+ack_fall=int32([fai_cfg_reg 4 1 8]);
+N=1;
+
+
+conf_array_X=int32([coeffx 4 N X_conf]);
+conf_array_Z=int32([coeffz 4 N Z_conf]);
+
+
+
+tango_group_command_inout2(groupe,'WriteFAData',1,conf_array_X)
+tango_group_command_inout2(groupe,'WriteFAData',1,conf_array_Z)
+tango_group_command_inout2(groupe,'WriteFAData',1,ack_rise)
+tango_group_command_inout2(groupe,'WriteFAData',1,ack_fall)
+
+    
+
+% tango_command_inout2(bpm,'WriteFAData',conf_array_X)
+% tango_command_inout2(bpm,'WriteFAData',conf_array_Z)
+% 
+% tango_command_inout2(bpm,'WriteFAData',ack_rise)
+% tango_command_inout2(bpm,'WriteFAData',ack_fall)
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_init_CC.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_init_CC.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_init_CC.m	(revision 17)
@@ -0,0 +1,12 @@
+function fofb_init_CC(bpm,id,time_frame_lenght,MGT_powerdown,MGT_loopback,buf_clr_dly,Golden_X,Golden_Z)
+CC_cfg=0;
+fai_cfg_reg=2048*4;
+ack_rise=int32([fai_cfg_reg 4 1 9]);
+ack_fall=int32([fai_cfg_reg 4 1 8]);
+
+
+conf_array=int32([CC_cfg 4 7 id time_frame_lenght MGT_powerdown MGT_loopback buf_clr_dly,Golden_X,Golden_Z]);
+tango_command_inout2(bpm,'WriteFAData',conf_array)
+tango_command_inout2(bpm,'WriteFAData',ack_rise)
+tango_command_inout2(bpm,'WriteFAData',ack_fall)
+      
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_load_matrix.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_load_matrix.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_load_matrix.m	(revision 17)
@@ -0,0 +1,26 @@
+function fofb_write_matrix(bpm,matrixLineX,matrixLineZ)
+coeffx=256*4+4;
+coeffz=512*4+4;
+fai_cfg_reg=2048*4;
+ack_rise=int32([fai_cfg_reg 4 1 9]);
+ack_fall=int32([fai_cfg_reg 4 1 8]);
+N=120;
+
+
+conf_array_X=int32([coeffx 4 N matrixLineX]);
+conf_array_Z=int32([coeffz 4 N matrixLineZ]);
+
+
+
+% tango_group_command_inout2(groupe,'WriteFAData',1,conf_array_X)
+% tango_group_command_inout2(groupe,'WriteFAData',1,conf_array_Z)
+% tango_group_command_inout2(groupe,'WriteFAData',1,ack_rise)
+% tango_group_command_inout2(groupe,'WriteFAData',1,ack_fall)
+
+    
+
+tango_command_inout2(bpm,'WriteFAData',conf_array_X);
+tango_command_inout2(bpm,'WriteFAData',conf_array_Z);
+
+tango_command_inout2(bpm,'WriteFAData',ack_rise);
+tango_command_inout2(bpm,'WriteFAData',ack_fall);
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_CC_status.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_CC_status.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_CC_status.m	(revision 17)
@@ -0,0 +1,125 @@
+function [CC_version,CC_status,lp1,lp2,lp3,lp4,status_RX1,status_RX2,status_RX3,status_RX4,status_TX1,status_TX2,status_TX3,status_TX4,time_frame_count,hard_error_cnt_1,hard_error_cnt_2,hard_error_cnt_3,hard_error_cnt_4,soft_error_cnt_1,soft_error_cnt_2,soft_error_cnt_3,soft_error_cnt_4,frame_error_cnt_1,frame_error_cnt_2,frame_error_cnt_3,frame_error_cnt_4,rx_pck_cnt_1,rx_pck_cnt_2,rx_pck_cnt_3,rx_pck_cnt_4,tx_pck_cnt_1,tx_pck_cnt_2,tx_pck_cnt_3,tx_pck_cnt_4]=configure_fofb(bpm)
+dev=bpm;
+CC_cfg=0;
+matrix_x=256*4;
+matrix_z=512*4;
+CC_status=768*4;
+fai_cfg_reg=2048*4;
+ack_rise=int32([fai_cfg_reg 4 1 9]);
+ack_fall=int32([fai_cfg_reg 4 1 8]);
+Disable_Itech_fai=int32([(fai_cfg_reg+4) 4 1 0]);
+Soft_stop=int32([(fai_cfg_reg+8) 4 1 0]);
+Reset_user_fai=int32([(fai_cfg_reg) 4 1 0]);
+Enable_user_fai=int32([(fai_cfg_reg) 4 1 10]);
+Enable_Itech_fai=int32([(fai_cfg_reg+4) 4 1 1]);
+
+switch mode
+    case 'read_RAM'
+        RAM_X_array=int32([matrix_x,4,256])
+        result=uint32(tango_command_inout2(dev,'ReadFAData',RAM_X_array))
+        for i=1:1:256
+            RAM_X(i)=result(i);
+        end
+        RAM_X
+        
+    case 'read'
+        CC_status_array=int32([CC_status,4,32])
+        result=uint32(tango_command_inout2(dev,'ReadFAData',CC_status_array))
+        addr=1;
+        CC_version= dec2hex(result(addr));
+        addr=addr+1;
+        CC_status=result(addr);
+        addr=addr+1;
+        lp1=result(addr);
+        addr=addr+1;
+        lp2=result(addr)
+        addr=addr+1;
+        lp3=result(addr);
+        addr=addr+1;
+        lp4=result(addr);
+        addr=addr+1;
+        link_up_down_status=dec2bin(result(addr),8)
+        status_RX1=link_up_down_status(8)
+        status_RX2=link_up_down_status(7)
+        status_RX3=link_up_down_status(6)
+        status_RX4=link_up_down_status(5)
+        status_TX1=link_up_down_status(4)
+        status_TX2=link_up_down_status(3)
+        status_TX3=link_up_down_status(2)
+        status_TX4=link_up_down_status(1)
+        addr=addr+1;
+        time_frame_count=result(addr);
+        addr=addr+1;
+        hard_error_cnt_1=result(addr);
+        addr=addr+1;
+        hard_error_cnt_2=result(addr);
+        addr=addr+1;
+        hard_error_cnt_3=result(addr);
+        addr=addr+1;
+        hard_error_cnt_4=result(addr);
+        addr=addr+1;
+        soft_error_cnt_1=result(addr);
+        addr=addr+1;
+        soft_error_cnt_2=result(addr);
+        addr=addr+1;
+        soft_error_cnt_3=result(addr);
+        addr=addr+1;
+        soft_error_cnt_4=result(addr);
+        addr=addr+1;
+        frame_error_cnt_1=result(addr);
+        addr=addr+1;
+        frame_error_cnt_2=result(addr);
+        addr=addr+1;
+        frame_error_cnt_3=result(addr);
+        addr=addr+1;
+        frame_error_cnt_4=result(addr);
+        addr=addr+1;
+        rx_pck_cnt_1=result(addr);
+        addr=addr+1;
+        rx_pck_cnt_2=result(addr);
+        addr=addr+1;
+        rx_pck_cnt_3=result(addr);
+        addr=addr+1;
+        rx_pck_cnt_4=result(addr);
+        addr=addr+1;
+        tx_pck_cnt_1=result(addr);
+        addr=addr+1;
+        tx_pck_cnt_2=result(addr);
+        addr=addr+1;
+        tx_pck_cnt_3=result(addr);
+        addr=addr+1;
+        tx_pck_cnt_4=result(addr);
+        
+        RAM_XZ_array=int32([matrix_x,4,512])
+        result_ram=uint32(tango_command_inout2(dev,'ReadFAData',RAM_XZ_array))
+        for i=1:1:256
+            RAM_X(i)=result_ram(i);
+
+        end
+        for i=1:1:256
+            RAM_Z(i)=result_ram((i+256));
+        end
+        RAM_X
+        RAM_Z
+             
+    case 'write'
+        switch commande
+             case 'init_CC'
+              conf_array=int16([CC_cfg 4 5 id 0 time_frame_lenght 0 MGT_powerdown 0 MGT_loopback 0 buf_clr_dly 0]);
+              tango_command_inout2(dev,'WriteFAData',conf_array)
+              tango_command_inout2(dev,'WriteFAData',ack_rise)
+              tango_command_inout2(dev,'WriteFAData',ack_fall)
+            case 'stop_CC'
+               tango_command_inout2(dev,'WriteFAData',Disable_Itech_fai) 
+               tango_command_inout2(dev,'WriteFAData',Soft_stop) 
+               tango_command_inout2(dev,'WriteFAData',Reset_user_fai) 
+            case 'arm_CC'
+                tango_command_inout2(dev,'WriteFAData',Enable_user_fai) 
+               tango_command_inout2(dev,'WriteFAData',Enable_Itech_fai) 
+            otherwise
+                display('command name is not valid')
+        end;
+    otherwise
+        display('mode is not valid') 
+end;
+      
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_LP_Delay.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_LP_Delay.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_LP_Delay.m	(revision 17)
@@ -0,0 +1,24 @@
+function [Comm_delay,Link_partners]=fofb_read_LP_Delay(groupe)
+
+
+
+CC_status=768*4;
+LP1=CC_status+2*4
+
+read_array=int32([CC_status,4,256]);
+
+result=(tango_group_command_inout2(groupe,'ReadFAData',1,read_array));
+for i=1:1:120
+    BPM_index(i)=i;
+    Delay(i)=result.replies(mod(i,120)+1).data(29);
+    involved(i)=result.replies(mod(i,120)+1).data(30);
+    for j=1:1:3        
+        LP_array(i,j)=result.replies(mod(i,120)+1).data(j+2);
+    end
+end
+
+Full_array=[BPM_index' Delay' involved' LP_array];
+sorted_array=sortrows(Full_array,2);
+
+disp('BPMindex  seen    Com_dly        LP1        LP2        LP3')
+disp(sorted_array)
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_cfg_memory.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_cfg_memory.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_cfg_memory.m	(revision 17)
@@ -0,0 +1,133 @@
+function [CC_conf_reg,CC_Status_reg,RAM_X,RAM_Z]=fofb_read_cfg_memory(bpm)
+dev=bpm;
+CC_cfg=0;
+matrix_x=256;
+matrix_z=512;
+CC_status=768;
+fai_cfg_reg=2048;
+ack_rise=int32([fai_cfg_reg 4 1 9]);
+ack_fall=int32([fai_cfg_reg 4 1 8]);
+Disable_Itech_fai=int32([(fai_cfg_reg+4) 4 1 0]);
+Soft_stop=int32([(fai_cfg_reg+8) 4 1 0]);
+Reset_user_fai=int32([(fai_cfg_reg) 4 1 0]);
+Enable_user_fai=int32([(fai_cfg_reg) 4 1 10]);
+Enable_Itech_fai=int32([(fai_cfg_reg+4) 4 1 1]);
+
+
+        read_array=int32([0,4,1024]);
+        CC_status_array=int32([0,4,1024]);
+        result=int32(tango_command_inout2(dev,'ReadFAData',read_array));
+        
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% read configuration register%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+        addr=1;
+        CC_conf_reg.bpm_id=result(addr);
+        addr=addr+1;
+        CC_conf_reg.time_frame_length=result(addr);
+        addr=addr+1;
+        CC_conf_reg.MGT_powerdown=result(addr);
+        addr=addr+1;
+        CC_conf_reg.MGT_loopback=result(addr);
+        addr=addr+1;
+        CC_conf_reg.buf_clr_dly=result(addr);
+        addr=addr+1;
+        CC_conf_reg.Golden_X=result(addr);
+        addr=addr+1;
+        CC_conf_reg.Golden_Z=result(addr);
+        
+        
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%% read CC status%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+      
+       
+        
+        addr=768+1;
+        CC_Status_reg.CC_version= dec2hex(result(addr));
+        addr=addr+1;
+        CC_Status_reg.CC_status=result(addr);
+        addr=addr+1;
+        CC_Status_reg.lp1=result(addr);
+        addr=addr+1;
+        CC_Status_reg.lp2=result(addr);
+        addr=addr+1;
+        CC_Status_reg.lp3=result(addr);
+        addr=addr+1;
+        CC_Status_reg.lp4=result(addr);
+        addr=addr+1;
+        CC_Status_reg.link_up_down_status=dec2bin(result(addr),8);
+        CC_Status_reg.status_RX1=CC_Status_reg.link_up_down_status(8);
+        CC_Status_reg.status_RX2=CC_Status_reg.link_up_down_status(7);
+        CC_Status_reg.status_RX3=CC_Status_reg.link_up_down_status(6);
+        CC_Status_reg.status_RX4=CC_Status_reg.link_up_down_status(5);
+        CC_Status_reg.status_TX1=CC_Status_reg.link_up_down_status(4);
+        CC_Status_reg.status_TX2=CC_Status_reg.link_up_down_status(3);
+        CC_Status_reg.status_TX3=CC_Status_reg.link_up_down_status(2);
+        CC_Status_reg.status_TX4=CC_Status_reg.link_up_down_status(1);
+        addr=addr+1;
+        CC_Status_reg.time_frame_count=result(addr);
+        addr=addr+1;
+        CC_Status_reg.hard_error_cnt_1=result(addr);
+        addr=addr+1;
+        CC_Status_reg.hard_error_cnt_2=result(addr);
+        addr=addr+1;
+        CC_Status_reg.hard_error_cnt_3=result(addr);
+        addr=addr+1;
+        CC_Status_reg.hard_error_cnt_4=result(addr);
+        addr=addr+1;
+        CC_Status_reg.soft_error_cnt_1=result(addr);
+        addr=addr+1;
+        CC_Status_reg.soft_error_cnt_2=result(addr);
+        addr=addr+1;
+        CC_Status_reg.soft_error_cnt_3=result(addr);
+        addr=addr+1;
+        CC_Status_reg.soft_error_cnt_4=result(addr);
+        addr=addr+1;
+        CC_Status_reg.frame_error_cnt_1=result(addr);
+        addr=addr+1;
+        CC_Status_reg.frame_error_cnt_2=result(addr);
+        addr=addr+1;
+        CC_Status_reg.frame_error_cnt_3=result(addr);
+        addr=addr+1;
+        CC_Status_reg.frame_error_cnt_4=result(addr);
+        addr=addr+1;
+        CC_Status_reg.rx_pck_cnt_1=result(addr);
+        addr=addr+1;
+        CC_Status_reg.rx_pck_cnt_2=result(addr);
+        addr=addr+1;
+        CC_Status_reg.rx_pck_cnt_3=result(addr);
+        addr=addr+1;
+        CC_Status_reg.rx_pck_cnt_4=result(addr);
+        addr=addr+1;
+        CC_Status_reg.tx_pck_cnt_1=result(addr);
+        addr=addr+1;
+        CC_Status_reg.tx_pck_cnt_2=result(addr);
+        addr=addr+1;
+        CC_Status_reg.tx_pck_cnt_3=result(addr);
+        addr=addr+1;
+        CC_Status_reg.tx_pck_cnt_4=result(addr);
+        addr=addr+1;
+        CC_Status_reg.process_time=result(addr);
+        addr=addr+1;
+        CC_Status_reg.bpm_involved=result(addr);
+
+          
+        
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%% read coeff RAM %%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        
+    
+        for i=1:1:256
+            RAM_X(i)=result((i+256));
+
+        end
+        for i=1:1:256
+            RAM_Z(i)=result((i+512));
+        end
+        RAM_X;
+        RAM_Z;
+             
+    
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_cfg_memory_group.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_cfg_memory_group.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_read_cfg_memory_group.m	(revision 17)
@@ -0,0 +1,128 @@
+function [CC_conf_reg,CC_Status_reg,RAM_X,RAM_Z]=fofb_read_cfg_memory(groupe)
+CC_cfg=0;
+matrix_x=256*4;
+matrix_z=512*4;
+CC_status=768*4;
+fai_cfg_reg=2048*4;
+ack_rise=int16([fai_cfg_reg 4 1 9 0]);
+ack_fall=int16([fai_cfg_reg 4 1 8 0]);
+Disable_Itech_fai=int16([(fai_cfg_reg+4) 4 1 0 0]);
+Soft_stop=int16([(fai_cfg_reg+8) 4 1 0 0]);
+Reset_user_fai=int16([(fai_cfg_reg) 4 1 0 0]);
+Enable_user_fai=int16([(fai_cfg_reg) 4 1 10 0]);
+Enable_Itech_fai=int16([(fai_cfg_reg+4) 4 1 1 0]);
+
+
+        read_array=int16([0,4,1024])
+        CC_status_array=int16([0,4,1024])
+        result=uint16(tango_group_command_inout2(dev,'ReadFAData',read_array))
+        
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% read configuration register%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+        addr=1;
+        CC_conf_reg.bpm_id=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_conf_reg.time_frame_length=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_conf_reg.MGT_powerdown=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_conf_reg.MGT_loopback=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_conf_reg.buf_clr_dly=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_conf_reg.Golden_X=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_conf_reg.Golden_Z=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        
+        
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%% read CC status%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+      
+       
+        
+        addr=4*768+1;
+        CC_Status_reg.CC_version= dec2hex(result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3))
+        addr=addr+4;
+        CC_Status_reg.CC_status=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.lp1=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.lp2=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.lp3=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.lp4=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.link_up_down_status=dec2bin(result(addr),8)
+        CC_Status_reg.status_RX1=CC_Status_reg.link_up_down_status(8)
+        CC_Status_reg.status_RX2=CC_Status_reg.link_up_down_status(7)
+        CC_Status_reg.status_RX3=CC_Status_reg.link_up_down_status(6)
+        CC_Status_reg.status_RX4=CC_Status_reg.link_up_down_status(5)
+        CC_Status_reg.status_TX1=CC_Status_reg.link_up_down_status(4)
+        CC_Status_reg.status_TX2=CC_Status_reg.link_up_down_status(3)
+        CC_Status_reg.status_TX3=CC_Status_reg.link_up_down_status(2)
+        CC_Status_reg.status_TX4=CC_Status_reg.link_up_down_status(1)
+        addr=addr+4;
+        CC_Status_reg.time_frame_count=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.hard_error_cnt_1=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.hard_error_cnt_2=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.hard_error_cnt_3=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.hard_error_cnt_4=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.soft_error_cnt_1=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.soft_error_cnt_2=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.soft_error_cnt_3=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.soft_error_cnt_4=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.frame_error_cnt_1=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.frame_error_cnt_2=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.frame_error_cnt_3=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.frame_error_cnt_4=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.rx_pck_cnt_1=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.rx_pck_cnt_2=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.rx_pck_cnt_3=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.rx_pck_cnt_4=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.tx_pck_cnt_1=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.tx_pck_cnt_2=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.tx_pck_cnt_3=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+        addr=addr+4;
+        CC_Status_reg.tx_pck_cnt_4=result(addr)+2^8*result(addr+1)+2^16*result(addr+2)+2^24*result(addr+3)
+
+          
+        
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%% read coeff RAM %%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        
+    
+        for i=0:1:255
+            RAM_X(i+1)=result(4*(i+256)+1)+2^8*result(4*(i+256)+2)+2^16*result(4*(i+256)+3)+2^24*result(4*(i+256)+4);
+
+        end
+        for i=0:1:255
+            RAM_Z(i+1)=result(4*(i+512)+1)+2^8*result(4*(i+512)+2)+2^16*result(4*(i+512)+3)+2^24*result(4*(i+512)+4);
+        end
+        RAM_X
+        RAM_Z
+             
+    
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_stop_CC.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_stop_CC.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_stop_CC.m	(revision 17)
@@ -0,0 +1,12 @@
+function fofb_stop_CC(groupe)
+fai_cfg_reg=2048*4;
+Disable_Itech_fai=int32([(fai_cfg_reg+4) 4 1 0]);
+Soft_stop=int32([(fai_cfg_reg+8) 4 1 0]);
+Reset_user_fai=int32([(fai_cfg_reg) 4 1 0]);
+
+tango_group_command_inout2(groupe,'WriteFAData',1,Disable_Itech_fai) 
+
+tango_group_command_inout2(groupe,'WriteFAData',1,Soft_stop) 
+
+tango_group_command_inout2(groupe,'WriteFAData',1,Reset_user_fai) 
+      
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_write_cfg_memory.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_write_cfg_memory.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_write_cfg_memory.m	(revision 17)
@@ -0,0 +1,19 @@
+function fofb_write_cfg_memory(bpm,RAM_X,RAM_Z)
+dev=bpm;
+RAM_X_start=256*4;
+RAM_Z_start=512*4;
+fai_cfg_reg=2048*4;
+ack_rise=int16([fai_cfg_reg 4 1 9 0]);
+ack_fall=int16([fai_cfg_reg 4 1 8 0]);
+
+for i=2:2:512
+    RAM_X(i)=0;
+    RAM_Z(i)=0;
+end
+
+RAM_X_array=int16([RAM_X_start 4 256 RAM_X]);
+RAM_Z_array=int16([RAM_Z_start 4 256 RAM_Z]);
+tango_command_inout2(dev,'WriteFAData',RAM_X_array)     
+tango_command_inout2(dev,'WriteFAData',RAM_Z_array)     
+tango_command_inout2(dev,'WriteFAData',ack_rise)
+tango_command_inout2(dev,'WriteFAData',ack_fall)
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_write_matrix.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_write_matrix.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_write_matrix.m	(revision 17)
@@ -0,0 +1,40 @@
+function fofb_write_matrix(groupe,X_value,Z_value,onX,onZ)
+coeffx=256*4;
+coeffz=512*4;
+fai_cfg_reg=2048*4;
+ack_rise=int32([fai_cfg_reg 4 1 9]);
+ack_fall=int32([fai_cfg_reg 4 1 8]);
+N=256;
+
+X_array=X_value*ones(1,N)
+Z_array=Z_value*ones(1,N)
+
+if onX==1
+    X_array(256)=1;
+else
+  	X_array(256)=0; 
+end;
+if onZ==1
+    Z_array(256)=1;
+else
+  	Z_array(256)=0; 
+end;
+ 
+
+conf_array_X=int32([coeffx 4 N X_array]);
+conf_array_Z=int32([coeffz 4 N Z_array]);
+
+
+
+tango_group_command_inout2(groupe,'WriteFAData',1,conf_array_X)
+tango_group_command_inout2(groupe,'WriteFAData',1,conf_array_Z)
+tango_group_command_inout2(groupe,'WriteFAData',1,ack_rise)
+tango_group_command_inout2(groupe,'WriteFAData',1,ack_fall)
+
+    
+
+% tango_command_inout2(bpm,'WriteFAData',conf_array_X)
+% tango_command_inout2(bpm,'WriteFAData',conf_array_Z)
+% 
+% tango_command_inout2(bpm,'WriteFAData',ack_rise)
+% tango_command_inout2(bpm,'WriteFAData',ack_fall)
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/get_LT.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/get_LT.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/get_LT.m	(revision 17)
@@ -0,0 +1,148 @@
+function [previous_LT_Lib,LT_lib_mean,LT_lib_by_quarter,N_lib_valid,N_lib_valid_first_sort,N_lib_valid_second_sort,LT_DCCT,index_seuil_1,index_seuil_2,Time_history,DCCT_history]=...
+            get_LT(bpm_group,BPM_index,N_samples,previous_LT_Lib,LT_lib_mean,LT_lib_by_quarter,N_lib_valid,...
+            N_lib_valid_first_sort,N_lib_valid_second_sort,LT_DCCT,seuil_1,seuil_2,NLib2valid,Time_history,DCCT_history)
+
+historic_size=size(LT_lib_mean,2);
+N_BPM=tango_group_size(bpm_group);
+
+tic
+h=now;
+fprintf('*********  %s ***********\n',datestr(h))
+attr_list={'current','lifeTime'};
+result_DCCT=tango_read_attributes2('ANS/DG/DCCT-CTRL',attr_list);
+
+[LT_lib,is_valid,valid_samples]=duree_vie(bpm_group,N_samples); 
+valid_Nb=size(find(is_valid),2);
+fprintf('%d Libera have long enough buffer, averaged size is %1.0f\n',valid_Nb,mean(valid_samples))
+N_lib_valid=circshift(N_lib_valid',-1)';
+N_lib_valid(historic_size)=valid_Nb;
+
+
+%first sort
+for j=1:N_BPM
+    if is_valid(j)
+        LT_Lib_valid(j)=LT_lib(j);
+    else
+        LT_Lib_valid(j)=previous_LT_Lib(j);
+        %LT_Lib_valid(j)=0;
+    end
+end
+previous_LT_Lib=LT_Lib_valid;
+ma1=mean(LT_Lib_valid);
+seuil_1_high=(1+seuil_1)*ma1;
+seuil_1_low=(1-seuil_1)*ma1;
+fover=find(LT_Lib_valid>seuil_1_high);
+funder=find(LT_Lib_valid<seuil_1_low);    
+f=[fover,funder];fs=sort(f);    
+for j=1:length(fs)
+    rido=fs(j);
+    LT_Lib_valid(rido-j+1)=[];
+end;
+fprintf('%d Libera remaining after first sort\n',size(LT_Lib_valid,2))
+N_lib_valid_first_sort=circshift(N_lib_valid_first_sort',-1)';    
+N_lib_valid_first_sort(historic_size)=size(LT_Lib_valid,2);
+
+%second sort
+ma2=mean(LT_Lib_valid);
+seuil_2_high=(1+seuil_2)*ma2;
+seuil_2_low=(1-seuil_2)*ma2;
+fover=find(LT_Lib_valid>seuil_2_high);
+funder=find(LT_Lib_valid<seuil_2_low);
+f=[fover,funder];fs=sort(f);
+for j=1:length(fs)
+    rido=fs(j);
+    LT_Lib_valid(rido-j+1)=[];
+end;
+fprintf('%d Libera remaining after second sort\n',size(LT_Lib_valid,2))
+fprintf('LT with Libera= %d \n',mean(LT_Lib_valid))
+N_lib_valid_second_sort=circshift(N_lib_valid_second_sort',-1)';    
+N_lib_valid_second_sort(historic_size)=size(LT_Lib_valid,2);
+LT_lib_mean=circshift(LT_lib_mean',-1)';
+for i=1:4
+    LT_lib_by_quarter(i,:)=circshift(LT_lib_by_quarter(i,:)',-1)';
+end
+
+if size(LT_Lib_valid,2)<NLib2valid
+    LT_lib_mean(historic_size)=LT_lib_mean(historic_size-1); 
+    LT_lib_by_quarter(:,historic_size)=LT_lib_by_quarter(:,historic_size-1);
+else
+    LT_lib_mean(historic_size)=mean(LT_Lib_valid);
+    quarter_size=floor(N_lib_valid_second_sort(historic_size)/4);
+    for i=1:4
+    LT_lib_by_quarter(i,historic_size)=mean(LT_Lib_valid(quarter_size*(i-1)+1:quarter_size*(i)));
+    end
+end
+
+LT_DCCT=circshift(LT_DCCT',-1)';
+LT_DCCT(historic_size)=result_DCCT(2).value;
+
+DCCT_history=circshift(DCCT_history',-1)';
+DCCT_history(historic_size)=result_DCCT(1).value;
+
+Time_history=circshift(Time_history',-1)';
+Time_history(historic_size)=h;
+
+
+index_over=find(previous_LT_Lib>seuil_2_high);
+index_under=find(previous_LT_Lib<seuil_2_low);
+index_seuil_2=[index_over index_under];
+index_over=find(previous_LT_Lib>seuil_1_high);
+index_under=find(previous_LT_Lib<seuil_1_low);
+index_seuil_1=[index_over index_under];
+
+
+
+%figure(2)
+
+% subplot(3,1,1)
+% plot(LT_lib,'bo','LineWidth',2)
+% xlabel('BPM Number')
+% ylabel('Hours')
+% title('Last LT measurment for each Libera')
+% hold on
+% ma1(1:N_BPM)=ma1;
+% plot(BPM_index,ma1,'r')
+% index_over=find(LT_lib>seuil_2_high);
+% index_under=find(LT_lib<seuil_2_low);
+% index_seuil2=[index_over index_under];
+% plot(index_seuil2,LT_lib(index_seuil2),'gx','LineWidth',3,'MarkerSize',20)
+% ma2(1:N_BPM)=ma2;
+% plot(BPM_index,ma2,'g')
+% index_over=find(LT_lib>seuil_1_high);
+% index_under=find(LT_lib<seuil_1_low);
+% index_seuil_1=[index_over index_under];
+% plot(index_seuil_1,LT_lib(index_seuil_1),'rx','LineWidth',3,'MarkerSize',20)
+% plot(BPM_index,LT_lib_mean(historic_size),'b');
+% hold off
+% [Y,I]=sort(LT_lib(index_seuil_1));
+% for k=1:1:size(index_seuil_1,2)    
+%     %fprintf('%s: %3.1f hours\n',dev_list{index(I(k))},Y(k));
+% end
+% subplot(3,1,2)
+% plot(N_lib_valid,'b')
+% hold on
+% plot(N_lib_valid_first_sort,'r')
+% plot(N_lib_valid_second_sort,'g')
+% hold off
+% legend('valid buffer length','first sort','second sort')
+% title('History of valid Libera measurments number')
+% subplot(3,1,3)
+% plot(LT_lib_mean)
+% hold on
+% % plot(LT_Lib_by_quarter(:,1),'c--')
+% % plot(LT_Lib_by_quarter(:,2),'m--')
+% % plot(LT_Lib_by_quarter(:,3),'y--')
+% % plot(LT_Lib_by_quarter(:,4),'k--')
+% 
+% % plot(LT_DCCT_instant,'r')
+% plot(LT_DCCT,'c')
+% hold off
+% grid on
+% %legend('Libera all','Libera quart 1','Libera quart 2','Libera quart 3','Libera quart 4','DCCT')
+% legend('Libera all','DCCT')
+% ylabel('Hours')
+% title('Lifetime History')
+% t=toc;
+% fprintf('processing time = %2.1f s\n',t)
+
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/menu_diag.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/menu_diag.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/menu_diag.m	(revision 17)
@@ -0,0 +1,147 @@
+function varargout = menu_diag(varargin)
+% MENU_DIAG M-file for menu_diag.fig
+%      MENU_DIAG, by itself, creates a new MENU_DIAG or raises the existing
+%      singleton*.
+%
+%      H = MENU_DIAG returns the handle to a new MENU_DIAG or the handle to
+%      the existing singleton*.
+%
+%      MENU_DIAG('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in MENU_DIAG.M with the given input arguments.
+%
+%      MENU_DIAG('Property','Value',...) creates a new MENU_DIAG or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before menu_diag_OpeningFcn gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to menu_diag_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help menu_diag
+
+% Last Modified by GUIDE v2.5 05-Jul-2012 14:44:09
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @menu_diag_OpeningFcn, ...
+                   'gui_OutputFcn',  @menu_diag_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+        gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before menu_diag is made visible.
+function menu_diag_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to menu_diag (see VARARGIN)
+
+% Choose default command line output for menu_diag
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes menu_diag wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = menu_diag_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in sniffer_classique.
+function sniffer_classique_Callback(hObject, eventdata, handles)
+% hObject    handle to sniffer_classique (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+sniffer_interface
+
+% --- Executes on button press in Config_FOFB.
+function Config_FOFB_Callback(hObject, eventdata, handles)
+% hObject    handle to Config_FOFB (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Config_FOFB
+
+% --- Executes on button press in BPMs_GUI.
+function BPMs_GUI_Callback(hObject, eventdata, handles)
+% hObject    handle to BPMs_GUI (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Config_Dserver_BPM;
+
+% --- Executes on button press in Check_Libera_Config.
+function Check_Libera_Config_Callback(hObject, eventdata, handles)
+% hObject    handle to Check_Libera_Config (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Check_Libera_config;
+
+% --- Executes on button press in sniffer_archiver.
+function sniffer_archiver_Callback(hObject, eventdata, handles)
+% hObject    handle to sniffer_archiver (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+fa_zoomer;
+
+% --- Executes on button press in spectres.
+function spectres_Callback(hObject, eventdata, handles)
+% hObject    handle to spectres (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Comparaison_enregistrements;
+
+% --- Executes on button press in update_IP_list.
+function update_IP_list_Callback(hObject, eventdata, handles)
+% hObject    handle to update_IP_list (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+update_listes_IP_libera;
+
+
+% --- Executes on button press in lifetime.
+function lifetime_Callback(hObject, eventdata, handles)
+% hObject    handle to lifetime (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Lifetime_with_Liberas;
+
+
+% --- Executes on button press in localisation_bruit.
+function localisation_bruit_Callback(hObject, eventdata, handles)
+% hObject    handle to localisation_bruit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Noise_source_GUI;
+
+
+% --- Executes on button press in sofb_xbpm.
+function sofb_xbpm_Callback(hObject, eventdata, handles)
+% hObject    handle to sofb_xbpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+SOFB_XBPM_initalization_script;
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/mosteffectivecorrector2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/mosteffectivecorrector2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/mosteffectivecorrector2.m	(revision 17)
@@ -0,0 +1,111 @@
+function [delcm corr_orbit MEC orbit_reduction] = mosteffectivecorrector2(orbit,correctors,RF)
+%MOSTEFFECTIVECORRECTOR - Correction using most effective corrector
+%
+%  INPUTS
+%  1. plane of correction - 1 {Default} means Horizontal plane
+%                           2 means vertical planes 
+%
+%  OUTPUTS
+%  2. delcm - Corrector strengths from direct orbit correction
+%
+%  See Also setorbit
+
+%
+%  Written by Laurent S. Nadolski
+
+CMFamily  = {'HCOR', 'VCOR'};
+
+
+switch correctors
+    case {'HCOR','FHCOR'}
+        plane=1;
+    case {'VCOR','FVCOR'}
+        plane=2;
+end
+        
+
+%%
+switch correctors
+    case {'FHCOR','FVCOR'}
+        R0 = getbpmresp4FOFB('Struct');
+
+        R = R0(plane,plane).Data;
+        CORlist = R0(plane,plane).Actuator.DeviceList;
+        N_corr=50;
+    case {'HCOR','VCOR'}
+        R0 = getbpmresp('Struct');
+
+        R = R0(plane,plane).Data;
+        CORlist = R0(plane,plane).Actuator.DeviceList;
+        N_corr=57;
+end
+%%
+if RF
+    switch correctors
+        case{'FHCOR','HCOR'}
+            Eta = modeldisp('BPMx', 'Hardware');
+            RFWeight = 10 * mean(std(R)) / std(Eta);
+            R = [R0(1,1).Data RFWeight*Eta];
+            N_corr=N_corr+1
+    end
+end   
+%%    
+Rinv = pinv(R);
+
+
+
+X0 = orbit;
+
+X0std = std(X0);
+
+delcm = Rinv*(X0);
+
+X = X0(:,ones(N_corr,1));
+
+% get index of most effective corrector and reduction factor
+[val idx] = min(std(X-R*diag(delcm)));
+
+efficiency=val/std(X0)*100;
+
+orbit_diff=std(X-R*diag(delcm));
+for i=1:N_corr
+    if orbit_diff(i) >X0std
+        orbit_reduction(i)=0;
+    else
+        orbit_reduction(i)=(1-(orbit_diff(i)./X0std))*100;
+    end
+end
+efficiency_array=std(X-R*diag(delcm));
+
+% if DisplayFlag
+%     figure(2001)
+%     subplot(2,1,1)
+%     bar(delcm)
+%     xlabel('Corrector number');
+%     ylabel('Corrector Strength [A]');
+%     title(sprintf('Most effective corrector using %s Family',CMFamily{plane}));
+%     subplot(2,1,2)
+%     plot(X0,'b'); hold on;
+    theta = zeros(N_corr,1);
+    theta(idx) = delcm(idx);
+    corr_orbit=R*theta;
+%     plot(corr_orbit,'r'); hold off;
+%     xlabel('BPM number')
+%     ylabel(' Close orbit [mm]')
+%     legend('Before correction','Prediction')
+% end
+
+CORlist =  R0(plane,plane).Actuator.DeviceList;
+%  fprintf('Most effective corrector is %s [%d %d] (%f A): orbit reduction by %f mm rms\n', ...
+%     correctors, CORlist(idx,:), delcm(idx), X0std-val)
+if RF && idx==N_corr && plane==1
+    fprintf('Most effective corrector is %s RF (%f Hz): orbit reduction by %f percent\n', ...
+        correctors, delcm(idx), orbit_reduction(idx))
+    MEC='RF';
+ 
+else
+    fprintf('Most effective corrector is %s [%d %d] (%f A): orbit reduction by %f percent\n', ...
+        correctors, CORlist(idx,:), delcm(idx), orbit_reduction(idx))
+    MEC=CORlist(idx,:);
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/sniffer_interface.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/sniffer_interface.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/sniffer_interface.m	(revision 17)
@@ -0,0 +1,1464 @@
+function varargout = sniffer_interface(varargin)
+% SNIFFER_INTERFACE M-file for sniffer_interface.fig
+%      SNIFFER_INTERFACE, by itself, creates a new SNIFFER_INTERFACE or raises the existing
+%      singleton*.
+%
+%      H = SNIFFER_INTERFACE returns the handle to a new SNIFFER_INTERFACE or the handle to
+%      the existing singleton*.
+%
+%      SNIFFER_INTERFACE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in SNIFFER_INTERFACE.M with the given input arguments.
+%
+%      SNIFFER_INTERFACE('Property','Value',...) creates a new SNIFFER_INTERFACE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before sniffer_interface_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to sniffer_interface_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help sniffer_interface
+
+% Last Modified by GUIDE v2.5 29-Sep-2008 14:38:57
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @sniffer_interface_OpeningFcn, ...
+                   'gui_OutputFcn',  @sniffer_interface_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before sniffer_interface is made visible.
+function sniffer_interface_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to sniffer_interface (see VARARGIN)
+
+% Choose default command line output for sniffer_interface
+handles.output = hObject;
+global continuous;
+continuous=0;
+dev='ANS/DG/fofb-sniffer.1';
+tango_set_timeout(dev,10000)
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes sniffer_interface wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = sniffer_interface_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function selection_Callback(hObject, eventdata, handles)
+% hObject    handle to selection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of selection as text
+%        str2double(get(hObject,'String')) returns contents of selection as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function selection_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to selection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in RX_link_up_1.
+function RX_link_up_1_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_link_up_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of RX_link_up_1
+
+
+% --- Executes on button press in RX_link_up_2.
+function RX_link_up_2_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_link_up_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of RX_link_up_2
+
+
+% --- Executes on button press in TX_link_up_1.
+function TX_link_up_1_Callback(hObject, eventdata, handles)
+% hObject    handle to TX_link_up_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of TX_link_up_1
+
+
+% --- Executes on button press in TX_link_up_2.
+function TX_link_up_2_Callback(hObject, eventdata, handles)
+% hObject    handle to TX_link_up_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of TX_link_up_2
+
+
+
+function sniffer_firmware_Callback(hObject, eventdata, handles)
+% hObject    handle to sniffer_firmware (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of sniffer_firmware as text
+%        str2double(get(hObject,'String')) returns contents of sniffer_firmware as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function sniffer_firmware_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sniffer_firmware (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function CC_firmware_Callback(hObject, eventdata, handles)
+% hObject    handle to CC_firmware (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CC_firmware as text
+%        str2double(get(hObject,'String')) returns contents of CC_firmware as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CC_firmware_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CC_firmware (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function link_partner_2_Callback(hObject, eventdata, handles)
+% hObject    handle to link_partner_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of link_partner_2 as text
+%        str2double(get(hObject,'String')) returns contents of link_partner_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function link_partner_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to link_partner_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit6_Callback(hObject, eventdata, handles)
+% hObject    handle to edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit6 as text
+%        str2double(get(hObject,'String')) returns contents of edit6 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function RX_count_2_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_count_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of RX_count_2 as text
+%        str2double(get(hObject,'String')) returns contents of RX_count_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function RX_count_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to RX_count_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function RX_count_1_Callback(hObject, eventdata, handles)
+% hObject    handle to RX_count_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of RX_count_1 as text
+%        str2double(get(hObject,'String')) returns contents of RX_count_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function RX_count_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to RX_count_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function TX_count_2_Callback(hObject, eventdata, handles)
+% hObject    handle to TX_count_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of TX_count_2 as text
+%        str2double(get(hObject,'String')) returns contents of TX_count_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function TX_count_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to TX_count_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function TX_count_1_Callback(hObject, eventdata, handles)
+% hObject    handle to TX_count_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of TX_count_1 as text
+%        str2double(get(hObject,'String')) returns contents of TX_count_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function TX_count_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to TX_count_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function hard_err_cnt_2_Callback(hObject, eventdata, handles)
+% hObject    handle to hard_err_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of hard_err_cnt_2 as text
+%        str2double(get(hObject,'String')) returns contents of hard_err_cnt_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function hard_err_cnt_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to hard_err_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function hard_err_cnt_1_Callback(hObject, eventdata, handles)
+% hObject    handle to hard_err_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of hard_err_cnt_1 as text
+%        str2double(get(hObject,'String')) returns contents of hard_err_cnt_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function hard_err_cnt_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to hard_err_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function soft_err_cnt_2_Callback(hObject, eventdata, handles)
+% hObject    handle to soft_err_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of soft_err_cnt_2 as text
+%        str2double(get(hObject,'String')) returns contents of soft_err_cnt_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function soft_err_cnt_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to soft_err_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function soft_err_cnt_1_Callback(hObject, eventdata, handles)
+% hObject    handle to soft_err_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of soft_err_cnt_1 as text
+%        str2double(get(hObject,'String')) returns contents of soft_err_cnt_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function soft_err_cnt_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to soft_err_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function frame_err_cnt_2_Callback(hObject, eventdata, handles)
+% hObject    handle to frame_err_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of frame_err_cnt_2 as text
+%        str2double(get(hObject,'String')) returns contents of frame_err_cnt_2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function frame_err_cnt_2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to frame_err_cnt_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function frame_err_cnt_1_Callback(hObject, eventdata, handles)
+% hObject    handle to frame_err_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of frame_err_cnt_1 as text
+%        str2double(get(hObject,'String')) returns contents of frame_err_cnt_1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function frame_err_cnt_1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to frame_err_cnt_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit17 as text
+%        str2double(get(hObject,'String')) returns contents of edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function CC_process_time_Callback(hObject, eventdata, handles)
+% hObject    handle to CC_process_time (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CC_process_time as text
+%        str2double(get(hObject,'String')) returns contents of CC_process_time as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CC_process_time_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CC_process_time (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function bpm_involved_Callback(hObject, eventdata, handles)
+% hObject    handle to bpm_involved (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of bpm_involved as text
+%        str2double(get(hObject,'String')) returns contents of bpm_involved as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function bpm_involved_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to bpm_involved (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in rd_fifo_full.
+function rd_fifo_full_Callback(hObject, eventdata, handles)
+% hObject    handle to rd_fifo_full (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of rd_fifo_full
+
+
+% --- Executes on button press in rd_fifo_empty.
+function rd_fifo_empty_Callback(hObject, eventdata, handles)
+% hObject    handle to rd_fifo_empty (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of rd_fifo_empty
+
+
+% --- Executes on button press in wt_fifo_full.
+function wt_fifo_full_Callback(hObject, eventdata, handles)
+% hObject    handle to wt_fifo_full (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of wt_fifo_full
+
+
+% --- Executes on button press in wt_fifo_empty.
+function wt_fifo_empty_Callback(hObject, eventdata, handles)
+% hObject    handle to wt_fifo_empty (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of wt_fifo_empty
+
+
+
+function rd_fifo_data_cnt_Callback(hObject, eventdata, handles)
+% hObject    handle to rd_fifo_data_cnt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of rd_fifo_data_cnt as text
+%        str2double(get(hObject,'String')) returns contents of rd_fifo_data_cnt as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function rd_fifo_data_cnt_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to rd_fifo_data_cnt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function sniffer_id_Callback(hObject, eventdata, handles)
+% hObject    handle to sniffer_id (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of sniffer_id as text
+%        str2double(get(hObject,'String')) returns contents of sniffer_id as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function sniffer_id_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sniffer_id (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function time_frame_lenght_Callback(hObject, eventdata, handles)
+% hObject    handle to time_frame_lenght (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of time_frame_lenght as text
+%        str2double(get(hObject,'String')) returns contents of time_frame_lenght as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function time_frame_lenght_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to time_frame_lenght (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mgt_powerdown_Callback(hObject, eventdata, handles)
+% hObject    handle to mgt_powerdown (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mgt_powerdown as text
+%        str2double(get(hObject,'String')) returns contents of mgt_powerdown as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mgt_powerdown_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mgt_powerdown (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function mgt_loopback_Callback(hObject, eventdata, handles)
+% hObject    handle to mgt_loopback (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of mgt_loopback as text
+%        str2double(get(hObject,'String')) returns contents of mgt_loopback as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function mgt_loopback_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to mgt_loopback (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function buf_clr_dly_Callback(hObject, eventdata, handles)
+% hObject    handle to buf_clr_dly (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of buf_clr_dly as text
+%        str2double(get(hObject,'String')) returns contents of buf_clr_dly as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function buf_clr_dly_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to buf_clr_dly (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function data_rate_Callback(hObject, eventdata, handles)
+% hObject    handle to data_rate (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of data_rate as text
+%        str2double(get(hObject,'String')) returns contents of data_rate as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function data_rate_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to data_rate (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lost_frames_Callback(hObject, eventdata, handles)
+% hObject    handle to lost_frames (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lost_frames as text
+%        str2double(get(hObject,'String')) returns contents of lost_frames as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function lost_frames_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lost_frames (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function fifo_overruns_Callback(hObject, eventdata, handles)
+% hObject    handle to fifo_overruns (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fifo_overruns as text
+%        str2double(get(hObject,'String')) returns contents of fifo_overruns as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function fifo_overruns_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fifo_overruns (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function frame_offset_in_DMA_Callback(hObject, eventdata, handles)
+% hObject    handle to frame_offset_in_DMA (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of frame_offset_in_DMA as text
+%        str2double(get(hObject,'String')) returns contents of frame_offset_in_DMA as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function frame_offset_in_DMA_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to frame_offset_in_DMA (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function frame_offset_between_DMA_Callback(hObject, eventdata, handles)
+% hObject    handle to frame_offset_between_DMA (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of frame_offset_between_DMA as text
+%        str2double(get(hObject,'String')) returns contents of frame_offset_between_DMA as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function frame_offset_between_DMA_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to frame_offset_between_DMA (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lost_frame_ratio_Callback(hObject, eventdata, handles)
+% hObject    handle to lost_frame_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lost_frame_ratio as text
+%        str2double(get(hObject,'String')) returns contents of lost_frame_ratio as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function lost_frame_ratio_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lost_frame_ratio (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in refresh.
+function refresh_Callback(hObject, eventdata, handles)
+% hObject    handle to refresh (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+attr_list={'inputDataRate','lostFrames','fifoOverruns','frameOffsetInDMA','frameOffsetBetweenDMA','firmwareType','comConfig','comProcessTime','bpmCount','rdFIFOContent','rdFIFOFull','wtFIFOFull','rdFIFOEmpty','wtFIFOEmpty','comFirmwareType','comStatus','comLinkPartner1','comLinkPartner2','comLinkUp','comHwErrCont1','comHwErrCont2','comSwErrCont1','comSwErrCont2','comFrameErrCont1','comFrameErrCont2','comRxPacketsCont1','comRxPacketsCont2','comTxPacketsCont1','comTxPacketsCont2','cfgSnifferID','cfgTimeFrameLength','cfgMgtPowerDown','cfgMgtLoopBack','cfgBufferClearDelay','lostFramesRatio'};
+dev_list=get(handles.sniffer_dev,'string');
+dev_value=get(handles.sniffer_dev,'value');    
+dev=dev_list{dev_value};
+result=tango_read_attributes(dev,attr_list)
+set(handles.data_rate,'string',num2str(result(1).value));
+set(handles.lost_frames,'string',num2str(result(2).value));
+set(handles.fifo_overruns,'string',num2str(result(3).value));
+set(handles.frame_offset_in_DMA,'string',num2str(result(4).value));
+set(handles.frame_offset_between_DMA,'string',num2str(result(5).value));
+set(handles.sniffer_firmware,'string',num2str(result(6).value));
+set(handles.CC_process_time,'string',num2str(result(8).value));
+set(handles.bpm_involved,'string',num2str(result(9).value));
+set(handles.rd_fifo_data_cnt,'string',num2str(result(10).value));
+set(handles.rd_fifo_full,'value',(result(11).value));
+set(handles.wt_fifo_full,'value',(result(12).value));
+set(handles.rd_fifo_empty,'value',(result(13).value));
+set(handles.wt_fifo_empty,'value',(result(14).value));
+set(handles.CC_firmware,'string',num2str(result(15).value));
+set(handles.link_partner_1,'string',num2str(result(17).value));
+set(handles.link_partner_2,'string',num2str(result(18).value));
+link_up=dec2bin(result(19).value,8);
+set(handles.RX_link_up_1,'value',str2num(link_up(8)));
+set(handles.RX_link_up_2,'value',str2num(link_up(7)));
+set(handles.TX_link_up_1,'value',str2num(link_up(4)));
+set(handles.TX_link_up_2,'value',str2num(link_up(3)));
+set(handles.hard_err_cnt_1,'string',num2str(result(20).value));
+set(handles.hard_err_cnt_2,'string',num2str(result(21).value));
+set(handles.soft_err_cnt_1,'string',num2str(result(22).value));
+set(handles.soft_err_cnt_2,'string',num2str(result(23).value));
+set(handles.frame_err_cnt_1,'string',num2str(result(24).value));
+set(handles.frame_err_cnt_2,'string',num2str(result(25).value));
+set(handles.RX_count_1,'string',num2str(result(26).value));
+set(handles.RX_count_2,'string',num2str(result(27).value));
+set(handles.TX_count_1,'string',num2str(result(28).value));
+set(handles.TX_count_2,'string',num2str(result(29).value));
+set(handles.sniffer_id,'string',num2str(result(30).value));
+set(handles.time_frame_lenght,'string',num2str(result(31).value));
+set(handles.mgt_powerdown,'string',num2str(result(32).value));
+set(handles.mgt_loopback,'string',num2str(result(33).value));
+set(handles.buf_clr_dly,'string',num2str(result(34).value));
+set(handles.lost_frame_ratio,'string',num2str(result(35).value));
+
+
+% --- Executes on button press in display.
+function display_Callback(hObject, eventdata, handles)
+% hObject    handle to display (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%attr_list={'xPosData','zPosData','firstTimeFrame','lastTimeFrame'};
+dev_list=get(handles.sniffer_dev,'string');
+dev_value=get(handles.sniffer_dev,'value');    
+dev=dev_list{dev_value};
+
+%while continuous==1
+%Nsamples=4096*Nbuffer;
+
+% for i=1:1:Nbuffer
+%     result{i}=tango_read_attributes(dev,attr_list);
+%     delai=.8 + sqrt(0.5) * randn
+%     pause(delai)
+%     waitbar(i/Nbuffer,h); 
+% end
+
+axes(handles.graph)
+
+if get(handles.is_orbit,'value')
+    attr_list={'XPosMean','ZPosMean'};
+    result=tango_read_attributes2(dev,attr_list)
+    plot(double(result(2).value(2:121))./1000)
+    hold on
+    plot(double(result(1).value(2:121))./1000,'r')
+    xlabel('bpm number')
+    ylabel('Âµm')
+    title('orbit display')
+    legend('Vertical','Horizontal');
+    hold off
+    grid on
+
+
+else if get(handles.is_buffer,'value')
+    dataX=0;
+    dataZ=0;
+    bpm=str2num(get(handles.selection,'string'))
+    dataX=tango_command_inout2(dev,'GetXPosData',uint16(bpm));
+    dataZ=tango_command_inout2(dev,'GetZPosData',uint16(bpm));
+
+%         for j=2:1:121
+%         [toto tata]=find(result{i}(1).value(j,:)==0);
+%         if isempty(find(result{i}(2).value(j,tata)==0))==0
+%             bpm_nul=bpm_nul+1;
+%             frame_nulle(tata)=frame_nulle(tata)+1;
+%          end
+%         
+%         end
+
+%     index=find(frame_nulle)
+%     frame_nulle(index)
+%     dataX=dataX(2:size(dataX,2));
+%     dataZ=dataZ(2:size(dataZ,2));
+    plot(double(dataX)./1000.0)
+    hold on
+    plot(double(dataZ)./1000.0,'r')
+    xlabel('sample number (at 10 kHz)')
+    ylabel('Âµm')
+    title(['buffer display bpm ',num2str(bpm)])
+    legend('Horizontal','Vertical');
+    hold off
+    grid on
+%     (result{Nbuffer}(4).value-result{1}(3).value)/4096;
+    
+%     
+%     set(handles.ff_cnt,'string',num2str(result(3).value));
+%     set(handles.lf_cnt,'string',num2str(result(4).value));
+%     
+   
+else if get(handles.is_fft,'value')
+    dataX=0;
+    dataZ=0;
+    bpm=str2num(get(handles.selection,'string'))
+    dataX=tango_command_inout2(dev,'GetXPosData',uint16(bpm));
+    dataZ=tango_command_inout2(dev,'GetZPosData',uint16(bpm));
+    Nsamples=size(dataX,2)
+    xfft=0;
+    pxfft=0;
+    pxfftaff=0;
+%      for i=1:1:Nbuffer
+%         dataX=[dataX result{i}(1).value(bpm+1,:)];
+%         dataZ=[dataZ result{i}(2).value(bpm+1,:)];
+% 
+%     end
+%     dataX=dataX(2:size(dataX,2));
+%     dataZ=dataZ(2:size(dataZ,2));
+
+    fech=10079;
+    fmax=100;
+    Nfft=1000*Nsamples;
+    xfft=fft(double(dataX./10^3),Nsamples)/Nsamples;
+    zfft=fft(double(dataZ./10^3),Nsamples)/Nsamples;
+    pxfft=2*xfft.*conj(xfft);
+    pzfft=2*zfft.*conj(zfft);
+    %on normalise pour afficher la dsp en Âµm^2/Hz et non pas en Âµm^2/largeur de bande entre 2 Ã©chantillons
+    pxfftaff=sqrt(pxfft*Nsamples/fech);
+    pzfftaff=sqrt(pzfft*Nsamples/fech);
+    f_bpm=(1:Nsamples-1)*fech/Nsamples;
+    n_bpm=(1:120);
+    semilogy(f_bpm,pxfftaff(1,2:Nsamples),'r');
+    hold on;
+    semilogy(f_bpm,pzfftaff(1,2:Nsamples),'b');
+    %xlim([0 fmax]);
+    fmin=str2num(get(handles.fmin,'string'));
+    fmax=str2num(get(handles.fmax,'string'));
+    xlim([fmin fmax]);
+ %   xlim([0 90]);
+    ylim([10^-3 10^2]);
+    xlabel('frequency (Hz)')
+    ylabel('Âµm/sqrt(Hz)')
+    title(['fft on bpm ',num2str(bpm)])
+    legend('Horizontal','Vertical');
+    hold off
+     grid on;
+    axes(handles.graph2)
+    PXintegrale_bpm(1:Nsamples)=0;
+    PZintegrale_bpm(1:Nsamples)=0;
+
+    for step=2:Nsamples
+        PXintegrale_bpm(step)=PXintegrale_bpm(step-1) + pxfft(step);
+        PZintegrale_bpm(step)=PZintegrale_bpm(step-1) + pzfft(step);
+    end
+    Xintegrale_bpm=sqrt((PXintegrale_bpm));
+    Zintegrale_bpm=sqrt((PZintegrale_bpm));
+    bruitX_bpm = Xintegrale_bpm(floor(Nsamples/2))
+    bruitZ_bpm = Zintegrale_bpm(floor(Nsamples/2))
+    plot(f_bpm,Xintegrale_bpm(2:Nsamples),'r')
+    hold on
+    plot(f_bpm,Zintegrale_bpm(2:Nsamples),'b')
+    %xlim([0 fmax]);
+    xlim([fmin fmax]);
+    %xlim([0 90]);
+    xlabel('frequence (Hz)');
+    ylabel('Âµm');
+    legend('Horizontal','Vertical');
+    hold off
+    grid on;
+    end
+    end
+
+end
+% close(h);
+%end
+% first_frame=result{1}(3).value;
+%     last_frame=result{Nbuffer}(4).value;
+%     if last_frame<first_frame
+%         last_frame=last_frame+2^16;
+%     end
+%     last_frame-first_frame
+%     if ((last_frame-first_frame)+1==Nsamples)
+%         set(handles.record_done,'value',1)
+%     else
+%          set(handles.record_done,'value',0)
+%     end
+%  
+function edit32_Callback(hObject, eventdata, handles)
+% hObject    handle to edit32 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit32 as text
+%        str2double(get(hObject,'String')) returns contents of edit32 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit32_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit32 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+% --- Executes on selection change in command.
+function command_Callback(hObject, eventdata, handles)
+% hObject    handle to command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns command contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from command
+button=questdlg('Apply command ?','Confirm','Yes');
+switch button
+    case 'Yes'
+    command_list=get(handles.command,'string')
+    command_line=get(handles.command,'value')
+    command=command_list{command_line}
+    dev_list=get(handles.sniffer_dev,'string');
+    dev_value=get(handles.sniffer_dev,'value');    
+    dev=dev_list{dev_value};
+    result=tango_command_inout2(dev,command)   
+    otherwise
+end
+
+% --- Executes during object creation, after setting all properties.
+function command_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+% --- Executes on button press in is_fft_3d.
+function fft_3d_Callback(hObject, eventdata, handles)
+% hObject    handle to is_fft_3d (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+attr_list={'xPosData','zPosData'};
+dev_list=get(handles.sniffer_dev,'string');
+dev_value=get(handles.sniffer_dev,'value');    
+dev=dev_list{dev_value};
+result=tango_read_attributes(dev,attr_list)
+
+xfft=0;
+pxfft=0;
+pxfftaff=0;
+Nsamples=4096;
+fech=10079
+
+xfft=fft((double(transpose(result(1).value(2:121,:)./1000))))./Nsamples;
+zfft=fft((double(transpose(result(2).value(2:121,:)./1000))))./Nsamples;
+pxfft=2*xfft.*conj(xfft);
+pzfft=2*zfft.*conj(zfft);
+pxfftaff=pxfft*Nsamples/fech;
+pzfftaff=pzfft*Nsamples/fech;
+f_bpm=(0:Nsamples-1)*fech/Nsamples;
+n_bpm=(1:120);
+
+figure(1)
+surf(n_bpm,f_bpm(2:Nsamples),log(pxfftaff(2:Nsamples,:)))
+ylim([0 1000])
+xlabel('bpm number');
+ylabel('frequency (Hz)');
+zlabel('log de la densite spectrale de puissance')
+title('densitÃ© spectrale de puissance mesurÃ©e sur les donnÃ©es FA (@10 kHz) sur les 120 BPMs dans le plan horizontal');
+figure(2)
+surf(n_bpm,f_bpm(2:Nsamples),log(pzfftaff(2:Nsamples,:)))
+ylim([0 1000])
+xlabel('bpm number');
+ylabel('frequency (Hz)');
+zlabel('log de la densite spectrale de puissance')
+title('densitÃ© spectrale de puissance mesurÃ©e sur les donnÃ©es FA (@10 kHz) sur les 120 BPMs dans le plan vertical');
+
+
+
+% --- Executes on button press in is_fft.
+function is_fft_Callback(hObject, eventdata, handles)
+% hObject    handle to is_fft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in integrated_noise.
+function integrated_noise_Callback(hObject, eventdata, handles)
+% hObject    handle to integrated_noise (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+attr_list={'xPosData','zPosData'};
+dev_list=get(handles.sniffer_dev,'string');
+dev_value=get(handles.sniffer_dev,'value');    
+dev=dev_list{dev_value};
+result=tango_read_attributes(dev,attr_list)
+xfft=0;
+pxfft=0;
+pxfftaff=0;
+Nsamples=4096;
+fech=10079
+fmax=1200;
+xfft=fft((double(transpose(result(1).value(2:121,:)./1000))))./Nsamples;
+zfft=fft((double(transpose(result(2).value(2:121,:)./1000))))./Nsamples;
+pxfft=2*xfft.*conj(xfft);
+pzfft=2*zfft.*conj(zfft);
+pxfftaff=pxfft*Nsamples/fech;
+pzfftaff=pzfft*Nsamples/fech;
+f_bpm=(0:Nsamples-1)*fech/Nsamples;
+n_bpm=(1:120);
+
+PXintegrale_bpm(1:4096,1:120)=0;
+PZintegrale_bpm(1:4096,1:120)=0;
+
+for j=1:1:120
+    for step=2:Nsamples
+        PXintegrale_bpm(step,j)=PXintegrale_bpm(step-1,j) + pxfft(step,j);
+        PZintegrale_bpm(step,j)=PZintegrale_bpm(step-1,j) + pzfft(step,j);
+    end
+end
+Xintegrale_bpm=sqrt((PXintegrale_bpm));
+Zintegrale_bpm=sqrt((PZintegrale_bpm));
+bruitX_bpm = Xintegrale_bpm(Nsamples/2)
+bruitZ_bpm = Zintegrale_bpm(Nsamples/2)
+
+figure(1)
+subplot(3,2,1)
+semilogy(f_bpm(2:Nsamples),pxfftaff(2:Nsamples,:));
+xlim([0 fmax]);
+ylim([10^-6 10^2])
+title('densitÃ© spectrale de puissance horizontale sur les 120 bpms');
+xlabel('frequence (Hz)');
+ylabel('Âµm^2/Hz');
+grid on;
+
+subplot(3,2,2)
+semilogy(f_bpm(2:Nsamples),pzfftaff(2:Nsamples,:));
+xlim([0 fmax]);
+ylim([10^-6 10^2])
+title('densitÃ© spectrale de puissance verticale sur les 120 bpms');
+xlabel('frequence (Hz)');
+ylabel('Âµm^2/Hz');
+grid on;
+
+subplot(3,2,3)
+plot(f_bpm,Xintegrale_bpm)
+xlim([0 fmax]);
+title('bruit integrÃ© horizontal en fonction de la frequence sur les 120 bpms');
+xlabel('frequence (Hz)');
+ylabel('Âµm');
+grid on;
+
+subplot(3,2,4)
+plot(f_bpm,Zintegrale_bpm)
+xlim([0 fmax]);
+title('bruit integrÃ© vertical en fonction de la frequence sur les 120 bpms');
+xlabel('frequence (Hz)');
+ylabel('Âµm');
+grid on;
+
+index=find(f_bpm>=fmax)
+
+subplot(3,2,5)
+plot(Xintegrale_bpm(index(1),:))
+xlim([0 120]);
+title(['bruit integrÃ© horizontal dans la bande 0-',num2str(fmax),' Hz en fonction de la position sur les 120 bpms']);
+xlabel('numÃ©ro du bpm');
+ylabel('Âµm');
+grid on;
+
+subplot(3,2,6)
+plot(Zintegrale_bpm(index(1),:))
+xlim([0 120]);
+title(['bruit integrÃ© vertical dans la bande 0-',num2str(fmax),' Hz en fonction de la position sur les 120 bpms']);
+xlabel('numÃ©ro du bpm');
+ylabel('Âµm');   
+grid on;
+
+save bruit_integre pxfftaff pzfftaff Xintegrale_bpm Zintegrale_bpm f_bpm
+
+
+% --- Executes on button press in continuous.
+function continuous_Callback(hObject, eventdata, handles)
+% hObject    handle to continuous (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of continuous
+% global continuous;
+% 
+% continuous=get(handles.continuous,'value')
+
+
+
+function ff_cnt_Callback(hObject, eventdata, handles)
+% hObject    handle to ff_cnt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ff_cnt as text
+%        str2double(get(hObject,'String')) returns contents of ff_cnt as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function ff_cnt_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ff_cnt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lf_cnt_Callback(hObject, eventdata, handles)
+% hObject    handle to lf_cnt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lf_cnt as text
+%        str2double(get(hObject,'String')) returns contents of lf_cnt as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function lf_cnt_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lf_cnt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+
+function Buffer_length_Callback(hObject, eventdata, handles)
+% hObject    handle to Buffer_length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Buffer_length as text
+%        str2double(get(hObject,'String')) returns contents of Buffer_length as a double
+duree=get(handles.Buffer_length,'string')
+dev_list=get(handles.sniffer_dev,'string');
+dev_value=get(handles.sniffer_dev,'value');    
+dev=dev_list{dev_value};
+tango_write_attribute2(dev,'recordLengthInSecs',str2num(duree))
+
+
+% --- Executes during object creation, after setting all properties.
+function Buffer_length_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Buffer_length (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+% --- Executes on button press in record_done.
+function record_done_Callback(hObject, eventdata, handles)
+% hObject    handle to record_done (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of record_done
+
+
+
+
+
+function fmax_Callback(hObject, eventdata, handles)
+% hObject    handle to fmax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fmax as text
+%        str2double(get(hObject,'String')) returns contents of fmax as a double
+axes(handles.graph)
+fmin=str2num(get(handles.fmin,'string'));
+fmax=str2num(get(handles.fmax,'string'));
+xlim([fmin fmax]);
+axes(handles.graph2)
+xlim([fmin fmax]);
+
+% --- Executes during object creation, after setting all properties.
+function fmax_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fmax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function fmin_Callback(hObject, eventdata, handles)
+% hObject    handle to fmin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fmin as text
+%        str2double(get(hObject,'String')) returns contents of fmin as a double
+axes(handles.graph)
+fmin=str2num(get(handles.fmin,'string'));
+fmax=str2num(get(handles.fmax,'string'));
+xlim([fmin fmax]);
+axes(handles.graph2)
+xlim([fmin fmax]);
+
+% --- Executes during object creation, after setting all properties.
+function fmin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fmin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+% --- Executes on button press in start_record.
+function start_record_Callback(hObject, eventdata, handles)
+% hObject    handle to start_record (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+dev_list=get(handles.sniffer_dev,'string');
+dev_value=get(handles.sniffer_dev,'value');    
+dev=dev_list{dev_value};
+set(handles.record_done,'value',0)
+record_done=0;
+result_duree=tango_read_attribute2(dev,'recordLengthInSecs');
+duree=result_duree.value(1)
+set(handles.Buffer_length,'string',num2str(duree));
+tango_command_inout2(dev,'StartRecording');
+h = waitbar(0,'Please wait...');
+for i=1:10,
+pause(duree/10) 
+% computation here %
+waitbar(i/10,h)
+end
+while record_done==0
+    result=tango_read_attribute2(dev,'recordReady')
+    if result.value==1
+        set(handles.record_done,'value',1)
+        close(h)
+        record_done=1;
+    else
+        pause(1)
+    end
+end
+
+
+% --- Executes on selection change in sniffer_dev.
+function sniffer_dev_Callback(hObject, eventdata, handles)
+% hObject    handle to sniffer_dev (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns sniffer_dev contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from sniffer_dev
+
+
+% --- Executes during object creation, after setting all properties.
+function sniffer_dev_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sniffer_dev (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/soft_trig_bpm.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/soft_trig_bpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/soft_trig_bpm.m	(revision 17)
@@ -0,0 +1,51 @@
+function soft_trig_bpm
+
+%tmp_adress=int32(18);
+tmp_adress=int32(16);
+
+
+%%% Store old bpm soft event adress %%%%%
+local='ANS-C01/SY/LOCAL.DG.2';
+old_adress=tango_read_attribute2(local,'bpm.trigEvent')
+
+
+%%%% Change bpm soft event adress %%%%%%
+local='ANS-C01/SY/LOCAL.DG.2';
+tango_write_attribute2(local,'bpm.trigEvent',tmp_adress);
+tango_read_attribute2(local,'bpm.trigEvent')
+for i=2:1:9
+    local=['ANS-C0',num2str(i),'/SY/LOCAL.DG.1'];
+    tango_write_attribute2(local,'bpm.trigEvent',tmp_adress);
+    tango_read_attribute2(local,'bpm.trigEvent')
+end
+for i=10:1:16
+    local=['ANS-C',num2str(i),'/SY/LOCAL.DG.1'];
+    tango_write_attribute2(local,'bpm.trigEvent',tmp_adress);
+    tango_read_attribute2(local,'bpm.trigEvent')
+end
+
+%%%% Change Central soft event adress %%%%%%
+central='ANS/SY/CENTRAL';
+ old_adress_central=tango_read_attribute2(central,'softEventAdress');
+ tango_write_attribute2(central,'softEventAdress',tmp_adress);
+ pause(1)
+ tango_command_inout2(central,'FireSoftEvent');
+ pause(1)
+ tango_write_attribute2(central,'softEventAdress',old_adress_central.value(1));
+%tango_command_inout2(central,'FirePostMortemEvent');
+
+%%%%% Apply old bpm soft adress %%%%%%
+local='ANS-C01/SY/LOCAL.DG.2';
+tango_write_attribute2(local,'bpm.trigEvent',old_adress.value(1));
+tango_read_attribute2(local,'bpm.trigEvent')
+for i=2:1:9
+    local=['ANS-C0',num2str(i),'/SY/LOCAL.DG.1'];
+    tango_write_attribute2(local,'bpm.trigEvent',old_adress.value(1));
+    tango_read_attribute2(local,'bpm.trigEvent')
+end
+for i=10:1:16
+    local=['ANS-C',num2str(i),'/SY/LOCAL.DG.1'];
+    tango_write_attribute2(local,'bpm.trigEvent',old_adress.value(1));
+    tango_read_attribute2(local,'bpm.trigEvent')
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/diagnostics/update_listes_IP_libera.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/diagnostics/update_listes_IP_libera.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/diagnostics/update_listes_IP_libera.m	(revision 17)
@@ -0,0 +1,61 @@
+path='/home/operateur/GrpDiagnostics/BPM/Upgrade/Liste_IP_Libera/'
+fid_sr=fopen([path,'liste-IP-libera-SR.txt'],'wt');
+for j=1:1:16
+    if j<10
+        n=['0',num2str(j)];
+    else n=num2str(j);
+    end     
+    liste=Get_Dev_List(num2str(j))
+    fid=fopen([path,'liste-IP-libera-cellule',n,'.txt'],'wt');
+    for i=1:1:size(liste)
+        IP=tango_get_property2(liste(i,:),'LiberaIpAddr');
+        IP.value{1}
+        fprintf(fid,[num2str(IP.value{1}),'\n']);
+        fprintf(fid_sr,[num2str(IP.value{1}),'\n']);    
+    end
+    fclose(fid)
+end
+fclose(fid_sr)
+
+ liste=Get_Dev_List('LT2')
+    fid=fopen([path,'liste-IP-libera-LT2.txt'],'wt');
+    for i=1:1:size(liste)
+        IP=tango_get_property2(liste(i,:),'LiberaIpAddr');
+        IP.value{1}
+        fprintf(fid,[num2str(IP.value{1}),'\n']);
+    end
+    fclose(fid)
+    
+ liste=Get_Dev_List('Booster')
+    fid=fopen([path,'liste-IP-libera-Booster.txt'],'wt');
+    for i=1:1:size(liste)
+        IP=tango_get_property2(liste(i,:),'LiberaIpAddr');
+        IP.value{1}
+        fprintf(fid,[num2str(IP.value{1}),'\n']);
+    end
+    fclose(fid)
+    
+    
+fid_dev_fofb=fopen([path,'liste-dev-libera-fofb.txt'],'r')
+fid_dev_com=fopen([path,'liste-dev-libera-com.txt'],'r')
+fid_IP_fofb=fopen([path,'liste-IP-libera-fofb.txt'],'wt')
+fid_IP_com=fopen([path,'liste-IP-libera-com.txt'],'wt')
+
+dev=fgetl(fid_dev_com)
+while (dev~=-1)
+    IP=tango_get_property2(dev,'LiberaIpAddr');
+    fprintf(fid_IP_com,[num2str(IP.value{1}),'\n']);
+    dev=fgetl(fid_dev_com)
+end
+dev=fgetl(fid_dev_fofb)
+while (dev~=-1)
+    IP=tango_get_property2(dev,'LiberaIpAddr');
+    fprintf(fid_IP_fofb,[num2str(IP.value{1}),'\n']);
+    dev=fgetl(fid_dev_fofb)
+end
+fclose(fid_dev_fofb)
+fclose(fid_dev_com)
+fclose(fid_IP_fofb)
+fclose(fid_IP_com)
+
+    
Index: /trunk/machine/SOLEIL/StorageRing/energytunette/energytunette.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/energytunette/energytunette.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/energytunette/energytunette.m	(revision 17)
@@ -0,0 +1,2773 @@
+
+function varargout = energytunette(varargin)
+% ENERGYTUNETTE M-file for energytunette.fig
+%      ENERGYTUNETTE, by itself, creates a new ENERGYTUNETTE or raises the existing
+%      singleton*.
+%
+%      H = ENERGYTUNETTE returns the handle to a new ENERGYTUNETTE or the handle to
+%      the existing singleton*.
+%
+%      ENERGYTUNETTE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ENERGYTUNETTE.M with the given input arguments.
+%
+%      ENERGYTUNETTE('Property','Value',...) creates a new ENERGYTUNETTE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before energytunette_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to energytunette_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help energytunette
+
+% Last Modified by GUIDE v2.5 27-Apr-2006 17:56:10
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @energytunette_OpeningFcn, ...
+                   'gui_OutputFcn',  @energytunette_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before energytunette is made visible.
+function energytunette_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to energytunette (see VARARGIN)
+
+% Choose default command line output for energytunette
+handles.output = hObject;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% etalonnage correcteurs LT2 (hors soleilinit)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+etalonnage_V_LT2 = (110.6e-4/10)/getbrho('Model');
+setappdata(handles.figure1,'etalonnage_V_LT2',etalonnage_V_LT2);
+
+% position du septum passif
+handles.pos_septum = -15;
+
+% efficite des kickers exprimï¿œe en mrad / mm de bump
+handles.eff_K = 0.3331; 
+
+% button group for kickers
+h = uibuttongroup('visible','off','Position',[0.05 0.84 .41 .12],...
+    'Title','bump mode','TitlePosition','centertop',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u1 = uicontrol('Style','Radio','String','bump symetrique','Tag','radiobutton1',...
+    'pos',[10 55 140 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+% u2 = uicontrol('Style','Radio','String','bum dissymetrique couple 2 a 2','Tag','radiobutton2',...
+%     'pos',[10. 30. 220 25],'parent',h,'HandleVisibility','off',...
+%     'BackgroundColor',[0.696 1.0 0.924]);
+u2 = uicontrol('Style','Radio','String','bum fermÃ©','Tag','radiobutton2',...
+    'pos',[10. 30. 220 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u3 = uicontrol('Style','Radio','String','bump quelconque','Tag','radiobutton3',...
+    'pos',[10. 5.00 140 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+
+handles.sym = u1;
+handles.dissym = u2;
+handles.quelconque = u3;
+
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u1);  % No selection
+set(h,'Visible','on');
+
+set([handles.K1_edit1,handles.K1_slider1,...
+            handles.K2_edit2,handles.K2_slider2,...
+            handles.K3_edit3,handles.K3_slider3,...
+            handles.K4_edit4,handles.K4_slider4,...
+            handles.K1_U_edit,handles.K1_U_slider,...
+            handles.K2_U_edit,handles.K2_U_slider,...
+            handles.K3_U_edit,handles.K3_U_slider,...
+            handles.K4_U_edit,handles.K4_U_slider,...
+            ],'Enable','off')
+
+%%%%%%%
+% BPM       
+%%%%%%%
+
+BPMxFamily = 'BPMx';
+BPMzFamily = 'BPMz';
+
+% limitation du nombre de BPM concernÃ©s par la mesure en Ã©nergie
+nbmaxBPM = 10;
+
+% on tiend compte d'Ã©ventuels BPM au status = 0
+% TOUT NOUVEAU BPM MIS AU STATUS 0 DEMANDE UNE REINITIALISATION DE
+% L'INTERFACE
+
+BPMxList = family2dev(BPMxFamily, 1 ); % liste BPM actifs
+BPMxListtotal = family2dev(BPMxFamily, 0 ); % liste totale
+% la lsite totale est utilisÃ©e pour pouvoir avoir ne liste de numÃ©ro fixe
+% de 1 Ã  10
+BPMxList = intersect(BPMxList(1:nbmaxBPM,:),BPMxListtotal(1:nbmaxBPM,:),'rows');
+
+BPMzList = family2dev(BPMzFamily, 1 );
+BPMzListtotal = family2dev(BPMzFamily, 0 );
+BPMzList = intersect(BPMzList(1:nbmaxBPM,:),BPMzListtotal(1:nbmaxBPM,:),'rows');
+
+% les Ã©ventuels BPMs au status = 0 sont inactivÃ©s et checkbox value = 0
+val_status = 1 - getfamilydata('BPMx','Status',BPMxListtotal(1:nbmaxBPM,:));
+num_BPM_actif = [];
+for k = 1:nbmaxBPM
+    name = strcat('BPM',num2str(k),'_checkbox');
+    if val_status(k)   
+        set(handles.(name),'Enable','off');
+        set(handles.(name),'Value',0);
+        val = 0;
+    else
+        set(handles.(name),'Value',1);
+        val = 1;
+    end
+    num_BPM_actif =[num_BPM_actif  val];
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+
+
+% initialisation des BPM estimï¿œs actifs pour la mesrue d'ï¿œnergie
+% fonction num_BPM_actif = 1 lorsque le BPM est selectionnï¿œ, 0 sinon
+% on active par dï¿œfaut les 5 premiers
+% num_BPM_actif = [1 1 1 1 1 0 0 0 0 0 ];
+% setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+% 
+% set(handles.BPM1_checkbox,'Value',1);
+% set(handles.BPM2_checkbox,'Value',1);
+% set(handles.BPM3_checkbox,'Value',1);
+% set(handles.BPM4_checkbox,'Value',1);
+% set(handles.BPM5_checkbox,'Value',1);
+% set(handles.BPM6_checkbox,'Value',0);
+% set(handles.BPM7_checkbox,'Value',0);
+% set(handles.BPM8_checkbox,'Value',0);
+% set(handles.BPM9_checkbox,'Value',0);
+% set(handles.BPM10_checkbox,'Value',0);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%  matrice transport : 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+enregistrement = 0;
+if enregistrement
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % enregistrement de la matrice transport
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    global THERING
+
+    % mise a zero des courants quadrupoles
+    %     setsp({'Q1','Q2','Q3',...
+    %         'Q4','Q5','Q6','Q7','Q8','Q9','Q10'},0,'Model');
+
+    tmp = family2atindex(findmemberof('QUAD'));
+    for k1= 1: length(tmp)
+        for k2=1:length(tmp{k1})
+            ATIndex= tmp{k1}(k2);
+            THERING{ATIndex}.K = 0;
+            THERING{ATIndex}.PolynomB(2) = 0;
+        end
+    end
+
+    % index des BPM
+    index_BPM = family2atindex('BPMx');
+    %index_premier_element = family2atindex('K4');
+    index_premier_element = family2atindex('PtINJ');
+
+    % calcul de chaque matrice 6x6 du point d'injection jusqu'au BPM considï¿œrï¿œ
+    %  position en metre
+    % angle en radian
+    % energie [-]
+    for jBPM = 1:nbmaxBPM
+        M66 = eye(6);
+        for i = index_premier_element:index_BPM(jBPM)
+            elem = THERING{i};
+            Melem66 = findelemm66(elem,elem.PassMethod,[0 0 0 0 0 0]');
+            M66 = Melem66 * M66;
+        end
+        R11(jBPM) = M66(1,1);
+        R12(jBPM) = M66(1,2);
+        R15(jBPM) = M66(1,5);
+        R33(jBPM) = M66(3,3);
+        R34(jBPM) = M66(3,4);
+    end
+
+    % enregistrement
+    directory = getfamilydata('Directory','BPMTransport');
+    directory_actuelle = pwd;
+    
+    cd(directory)
+    %Name = 'solamor2linb_Mtransport10BPM';
+    % nouvelle maille avec champ de fuite dans les dipoles
+    Name = 'solamor2linb_new_13mai_Mtransport10BPM';
+    save(Name,'R11','R12','R15','R33','R34','-mat');
+    
+    cd(directory_actuelle);
+    
+else
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % chargement de la matrice transport
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    directory = getfamilydata('Directory','BPMTransport');
+    Name = 'solamor2linb_Mtransport10BPM';
+    filename = strcat(directory,Name);
+    S = load('-mat',filename);
+    R11 = S.R11 ; R12 = S.R12 ; R15 = S.R15 ; R33 = S.R33 ; R34 = S.R34 ;
+      
+end
+
+setappdata(handles.figure1,'R11',R11);
+setappdata(handles.figure1,'R12',R12);
+setappdata(handles.figure1,'R15',R15);
+setappdata(handles.figure1,'R33',R33);
+setappdata(handles.figure1,'R34',R34);
+
+% position des BPM acitvÃ©s
+s = getspos(BPMxFamily, BPMxList);
+Xmax = max(s);
+setappdata(handles.figure1, 'SPosX', s);
+L = getfamilydata('Circumference');
+if isempty(L)
+    setappdata(handles.figure1, 'AxisRange1X', [min(s) max(s)]);
+else
+    setappdata(handles.figure1, 'AxisRange1X', [0 Xmax]);
+end
+setappdata(handles.figure1,'nbmaxBPM',nbmaxBPM);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% position des elements V et H pour les bumps
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position des correcteurs verticaux : LT2 init getspos('CV') getspos('BPM')
+posBPM_SP = 41.9159 ; posCV4 = 32.4109 ; posCV5 = 35.5859 ;
+L1_V = posCV5 - posCV4 ;                % distance centre V4 centre V5
+L2_V = posBPM_SP - posCV5 ;             % distance centre V5 point d'injection
+L1_H = (50 + 500 + 800 + 300) * 1e-3;   % distance centre SA centre SP
+L2_H = 1e-3 * 600/2;                    % distance centre SP point d'injection
+setappdata(handles.figure1,'L1_V',L1_V);
+setappdata(handles.figure1,'L2_V',L2_V);
+setappdata(handles.figure1,'L1_H',L1_H);
+setappdata(handles.figure1,'L2_H',L2_H);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% affichage des valeurs septa et correcteurs LT2
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+set(handles.septum_actif_a_slider,'Min',-2,'Max',135);
+set(handles.septum_actif_U_slider,'Min',-2,'Max',120);
+set(handles.septum_passif_a_slider,'Min',-2,'Max',29);
+set(handles.septum_passif_U_slider,'Min',-2,'Max',560);
+set(handles.CV4_a_slider,'Min',-1,'Max',1);
+set(handles.CV5_a_slider,'Min',-1,'Max',1);
+set(handles.CV4_I_slider,'Min',-8,'Max',8);
+set(handles.CV5_I_slider,'Min',-8,'Max',8);
+
+val_HWSP =  getsp('SEP_P');
+val_HWSA =  getsp('SEP_A');
+set(handles.septum_passif_U_edit,'String',num2str2(val_HWSP));
+set(handles.septum_actif_U_edit,'String',num2str2(val_HWSA));
+set(handles.septum_passif_U_slider,'Value',val_HWSP);
+set(handles.septum_actif_U_slider,'Value',val_HWSA);
+
+val_phSP = hw2physics('SEP_P','Setpoint',val_HWSP);
+val_phSA = hw2physics('SEP_A','Setpoint',val_HWSA);
+set(handles.septum_passif_a_edit,'String',num2str2(val_phSP*1e3));
+set(handles.septum_actif_a_edit,'String',num2str2(val_phSA*1e3));
+set(handles.septum_passif_a_slider,'Value',val_phSP*1e3);
+set(handles.septum_actif_a_slider,'Value',val_phSA*1e3);
+
+val_HWCV4 = readattribute('LT2/AE/CV.4/current');
+val_HWCV5 = readattribute('LT2/AE/CV.5/current');
+set(handles.CV4_I_edit,'String',num2str2(val_HWCV4));
+set(handles.CV5_I_edit,'String',num2str2(val_HWCV5));
+set(handles.CV4_I_slider,'Value',val_HWCV4);
+set(handles.CV5_I_slider,'Value',val_HWCV5);
+
+val_phCV4 = etalonnage_V_LT2 * val_HWCV4;
+val_phCV5 = etalonnage_V_LT2 * val_HWCV5;
+set(handles.CV4_a_edit,'String',num2str2(val_phCV4*1e3));
+set(handles.CV5_a_edit,'String',num2str2(val_phCV5*1e3));
+set(handles.CV4_a_slider,'Value',val_phCV4*1e3);
+set(handles.CV5_a_slider,'Value',val_phCV5*1e3);
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% affichage des valeurs kickers
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% tous les angles sont positifs en affichage
+% ils sont inversÃ©s dans les fonctions pour K1 et K4
+set(handles.K1_slider1,'Min',-0.1);set(handles.K1_slider1,'Max',8.4);
+set(handles.K2_slider2,'Min',-0.1);set(handles.K2_slider2,'Max',8.4);
+set(handles.K3_slider3,'Min',-0.1);set(handles.K3_slider3,'Max',8.4);
+set(handles.K4_slider4,'Min',-0.1);set(handles.K4_slider4,'Max',8.4);
+
+set(handles.K1_U_slider,'Min',-1);set(handles.K1_U_slider,'Max',7700);
+set(handles.K2_U_slider,'Min',-1);set(handles.K2_U_slider,'Max',7700);
+set(handles.K3_U_slider,'Min',-1);set(handles.K3_U_slider,'Max',7700);
+set(handles.K4_U_slider,'Min',-1);set(handles.K4_U_slider,'Max',7700);
+
+val_HW14 = getsp('K_INJ1');
+val_HW23 = getsp('K_INJ2');
+val_ph14 = hw2physics('K_INJ1','Setpoint',val_HW14);
+val_ph23 = hw2physics('K_INJ2','Setpoint',val_HW23);
+set(handles.K1_U_edit,'String',num2str2(val_HW14(1)));
+set(handles.K4_U_edit,'String',num2str2(val_HW14(2)));
+set(handles.K2_U_edit,'String',num2str2(val_HW23(1)));
+set(handles.K3_U_edit,'String',num2str2(val_HW23(2)));
+
+set(handles.K1_edit1,'String',num2str2(-val_ph14(1)*1e3));
+set(handles.K4_edit4,'String',num2str2(-val_ph14(2)*1e3));
+set(handles.K2_edit2,'String',num2str2(val_ph23(1)*1e3));
+set(handles.K3_edit3,'String',num2str2(val_ph23(2)*1e3));
+
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,handles.figure1});
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+% This sets up the initial plot - only do when we are invisible
+% so window can get raised using energytunette.
+if strcmp(get(hObject,'Visible'),'off')
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % AXE 1
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    % lire les valeurs courantes des kickers 
+
+    teta1 = val_ph14(1)*1e3; % mrad
+    teta2 = val_ph23(1)*1e3;
+    teta3 = val_ph23(2)*1e3;
+    teta4 = val_ph14(2)*1e3;
+    
+    %(on se teste sur correcteurs)
+    %     teta1 = -4e-3;teta2 = 4.5e-3;teta3 = 8e-3;teta4 = -8e-3
+% %     val_HW = getsp('HCOR');
+% %     val_ph = 100 * hw2physics('HCOR','Setpoint',val_HW); 
+% %     teta1 = - abs(val_ph(1));
+% %     teta2 = abs(val_ph(2));
+% %     teta3 = abs(val_ph(3));
+% %     teta4 = - abs(val_ph(4));
+    
+    % plot du bump kicker
+    name=['axes' num2str(1)];
+    axes(handles.(name));
+
+   % pas gÃ©nial, il vaudrait mieux utiliser THERING en reperant les elements et
+   % deduire les espaces entre equipements
+    X1 = 0;X2 = 1;X3 = 4.002;X4 = 8.227;X5 = 11.229;X6 = 13;
+    Ymax = 20;Ymin = -25;
+    Xdata = [ X1 X2 X3 X4 X5 X6];
+    V1 = [0 0]';
+    V2 = [1 (X2-X1);0 1]*V1 + [0 teta1]';
+    V3 = [1 (X3-X2);0 1]*V2 + [0 teta2]';
+    V4 = [1 (X4-X3);0 1]*V3 + [0 teta3]';
+    V5 = [1 (X5-X4);0 1]*V4 + [0 teta4]';
+    V6 = [1 (X6-X5);0 1]*V5;
+    Ydata = [V1(1) V2(1) V3(1) V4(1) V5(1) V6(1)];
+    plot(Xdata,Ydata,'rs-','Tag','line1');
+    %hold on
+    %plot(Xdata,Ydata*cos(30*pi/180),'bs-','Tag','line2');
+    set(handles.(name), 'YGrid','On');
+    set(handles.(name), 'XGrid','On');
+    set(gca, 'YMinorTick','On');
+    %set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'s (m)');
+    ylabel(handles.(name),'X (mm)');
+    xlim([0 X6]);
+    ylim([Ymin Ymax]);
+    
+    % plot du septum
+    hold on
+    Xs = 6.8695;ls = 0.6;
+    Ys = handles.pos_septum;eps = 3.5;
+    rectangle('Position',[Xs,Ys-eps,ls,eps],...
+       'FaceColor','r')
+          %'Curvature',[0.4],'FaceColor','r')
+    hold on
+    
+    % plot des kickers
+    l = 0.6;XK1 = X2-l/2;XK2 = X3-l/2;
+    XK3 = X4-l/2;XK4 = X5-l/2;
+    Y = Ymin + 1;ep = Ymax - Ymin - 2;
+    rectangle('Position',[XK1,Y,l,ep],...
+        'LineWidth',0.5,'LineStyle','--')
+    hold on
+    rectangle('Position',[XK2,Y,l,ep],...
+        'LineWidth',0.5,'LineStyle','--')
+    hold on
+    rectangle('Position',[XK3,Y,l,ep],...
+        'LineWidth',0.5,'LineStyle','--')
+    hold on
+    rectangle('Position',[XK4,Y,l,ep],...
+        'LineWidth',0.5,'LineStyle','--')
+    hold on
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % plot de la maille
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    drawlattice;
+    a = getappdata(gcf, 'AxisRange1X');
+    axis([a -1 1]);
+    set(gca,'XTick',[-10 600]); % to erase tick labels
+    set(gca,'YTick',[-10 10]);
+    set(gca,'Box','off')
+    
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % AXE 2
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    % entrer lecture BPM tour par tour :selectionner le premier tour
+    % test anneau
+    %BPMxList = [1     3;1     4;1     5;1     6]
+    [X Z Sum] = anabpmfirstturn( BPMxList ,'MaxSum','NoDisplay');
+    orbite_x = X';
+    orbite_z = Z';
+    setappdata(handles.figure1,'orbite_x',orbite_x);
+    setappdata(handles.figure1,'orbite_z',orbite_z);
+    
+    % plot des orbites premiers tours
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    %xdata = BPMx.Position;
+    plot(s,orbite_x,'r.-','Tag','line1');
+    hold on
+    %ydata = BPMz.Position;
+    axis([a -10 10]);
+    plot(s,orbite_z,'b.-','Tag','line2');
+    set(handles.(name), 'Nextplot','Add');
+    set(handles.(name), 'YGrid','On');
+    set(gca, 'YMinorTick','On');
+    set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'position du BPM');
+    ylabel(handles.(name),'orbites (mm)');
+    
+end
+% afficher la position du septum
+set(handles.pos_septum_text48,'String',num2str(handles.pos_septum));
+
+% UIWAIT makes energytunette wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = energytunette_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in fit_pushbutton1.
+function fit_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to fit_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+% constitution de la liste des BPM actifs
+liste_BPM_actif = [];
+for i = 1: length(num_BPM_actif)
+    if num_BPM_actif(i)
+        liste_BPM_actif = [liste_BPM_actif i];
+    end
+end
+
+% constitution de la matrice de transport avec les BPM actifs
+R11 = getappdata(handles.figure1,'R11');
+R12 = getappdata(handles.figure1,'R12');
+R15 = getappdata(handles.figure1,'R15');
+R33 = getappdata(handles.figure1,'R33');
+R34 = getappdata(handles.figure1,'R34');
+
+M11 = [];M12 = [];M15 = [];M33 = [];M34 = [];
+for i = 1:length(liste_BPM_actif)
+    M11 = [M11 R11(liste_BPM_actif(i))];
+    M12 = [M12 R12(liste_BPM_actif(i))];
+    M15 = [M15 R15(liste_BPM_actif(i))];
+    M33 = [M33 R33(liste_BPM_actif(i))];
+    M34 = [M34 R34(liste_BPM_actif(i))];
+end
+Matrice_BPM_actif_x = [M11' M12' M15'];
+Matrice_BPM_actif_z = [M33' M34'];
+disp('j''suis contente - pour l''instant')
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+orbite_x = getappdata(handles.figure1,'orbite_x'); % orbite en mm
+orbite_z = getappdata(handles.figure1,'orbite_z');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% plan H
+%test
+%XBPM = [1 2 3 4 5 6 7 8 9 10]';
+%XBPM = [5.59 6.96 10.86 12.13 13.40]';
+[U,S,V] = svd(Matrice_BPM_actif_x);
+% ici toutes les valeurs propres sont utilisees- ??
+diago = diag(S);
+seuil = 0.01;
+for k = 1:length(diag(S))
+    if diago(k)<seuil
+        % on suppose que le premier est toujours superieur au seuil
+        jseuil = k-1;
+        break
+    else
+        jseuil = length(diag(S));
+    end
+end
+nombre_de_valeur_propres_x = jseuil;
+Rmod = Matrice_BPM_actif_x * V(:,1:jseuil);
+B = Rmod \ (orbite_x*0.001); % orbite en metre
+Xpos = V(:,1:jseuil)*B; % rÃ©sultats en m rad [-]
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% plan V
+[U,S,V] = svd(Matrice_BPM_actif_z);
+% ici toutes les valeurs propres sont utilisees- ??
+diago = diag(S);
+seuil = 0.01;
+for k = 1:length(diag(S))
+    if diago(k)<seuil
+        % on suppose que le premier est toujours superieur au seuil
+        jseuil = k-1;
+        break
+    else
+        jseuil = length(diag(S));
+    end
+end
+nombre_de_valeur_propres_z = jseuil;
+Rmod = Matrice_BPM_actif_z * V(:,1:jseuil);
+B = Rmod \ (orbite_z*0.001); % orbite en metre
+Zpos = V(:,1:jseuil)*B;% rÃ©sultats en m rad [-]
+
+% afficher Xpos et Zpos en mm, mrad, pourcent
+set(handles.deltax_text50,'String',sprintf('%3.2f',Xpos(1)*1e3));
+set(handles.deltaxp_text51,'String',sprintf('%3.2f',Xpos(2)*1e3));
+set(handles.deltaE_text52,'String',sprintf('%3.2f',Xpos(3)*1e2));
+set(handles.deltaz_text,'String',sprintf('%3.2f',Zpos(1)*1e3));
+set(handles.deltazp_text,'String',sprintf('%3.2f',Zpos(2)*1e3));
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+
+function K1_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to K1_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K1_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of K1_edit1 as a double
+
+%% kicker K1
+
+val_ph = -str2double(get(hObject,'String'));
+val_HW14 = physics2hw('K_INJ1','Setpoint',val_ph*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ1',val_HW14(1),[1 1]);
+% rafraichir le slider 
+set(handles.K1_slider1,'Value',-val_ph);
+% refraichir la tension
+set(handles.K1_U_edit,'String',num2str2(val_HW14(1)));
+% rafraichir le slider tension
+set(handles.K1_U_slider,'Value',val_HW14(1));
+
+if get(handles.dissym,'Value')
+    % valeur d'angle identique dans K2
+    val_HW23 = physics2hw('K_INJ2','Setpoint',-val_ph*1e-3);
+    % appliquer Ã  l'Ã©lÃ©ment
+    setsp('K_INJ2',val_HW23(1),[1 2]);
+    % tester les signes !!!!!
+    % rafraichir le slider angle
+    set(handles.K2_slider2,'Value',-val_ph);
+    % rafraichir l'Ã©diteur angle
+    set(handles.K2_edit2,'String',num2str2(-val_ph));
+    % rafraichir le slider tension
+    set(handles.K2_U_slider,'Value',val_HW23(1));
+    % rafraichir l'Ã©diteur tension
+    set(handles.K2_U_edit,'String',num2str2(val_HW23(1)));
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K1_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K1_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K1_slider1_Callback(hObject, eventdata, handles)
+% hObject    handle to K1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+%% kicker K1
+
+% afficher dans l'editeur angle
+ set(handles.K1_edit1,'String',...
+             num2str(get(handles.K1_slider1,'Value')));
+
+
+val_ph = str2double(handles.K1_edit1,'String');
+val_HW14 = physics2hw('K_INJ1','Setpoint',val_ph*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ1',val_HW14(1),[1 1]);
+% rafraichir l'Ã©diteur tension
+set(handles.K1_U_edit,'String',num2str2(val_HW14(1)));
+% rafraichir le slider tension
+set(handles.K1_U_slider,'Value',val_HW14(1));
+
+if get(handles.dissym,'Value')
+    % valeur d'angle identique dans K2
+    val_HW23 = physics2hw('K_INJ2','Setpoint',-val_ph*1e-3);
+    % appliquer Ã  l'Ã©lÃ©ment
+    setsp('K_INJ2',val_HW23(1),[1 2]);
+    % tester les signes !!!!!
+    % rafraichir le slider angle
+    set(handles.K2_slider2,'Value',-val_ph);
+    % rafraichir l'Ã©diteur angle
+    set(handles.K2_slider2,'String',num2str2(-val_ph));
+    % rafraichir le slider tension
+    set(handles.K2_U_slider,'Value',val_HW23(1));
+    % rafraichir l'Ã©diteur tension
+    set(handles.K2_U_slider,'String',num2str2(val_HW23(1)));
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K1_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K2_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to K2_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K2_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of K2_edit2 as a double
+
+%% kicker K2
+
+% afficher dans le slider angle
+ set(handles.K2_slider2,'Value',...
+             str2double(get(hObject,'String')));
+
+
+val_ph = str2double(get(handles.K2_edit2,'String'));
+val_HW23 = physics2hw('K_INJ2','Setpoint',val_ph*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ2',val_HW23(1),[1 2]);
+% rafraichir l'Ã©diteur tension
+set(handles.K2_U_edit,'String',num2str2(val_HW23(1)));
+% rafraichir le slider tension
+set(handles.K2_U_slider,'Value',val_HW23(1));
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function K2_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K2_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K2_slider2_Callback(hObject, eventdata, handles)
+% hObject    handle to K2_slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+%% kicker K2
+
+% afficher dans l'editeur angle
+ set(handles.K2_edit2,'String',...
+             num2str(get(handles.K2_slider2,'Value')));
+
+
+val_ph = str2double(handles.K2_edit2,'String');
+val_HW23 = physics2hw('K_INJ2','Setpoint',val_ph*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ2',val_HW23(1),[1 2]);
+% rafraichir l'Ã©diteur tension
+set(handles.K2_U_edit,'String',num2str2(val_HW23(1)));
+% rafraichir le slider tension
+set(handles.K2_U_slider,'Value',val_HW23(1));
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function K2_slider2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K2_slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K3_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to K3_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K3_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of K3_edit3 as a double
+
+%% kicker K3
+
+% afficher dans le slider angle
+ set(handles.K3_slider3,'Value',...
+             str2double(get(hObject,'String')));
+
+
+val_ph = str2num(get(handles.K3_edit3,'String'));
+val_HW23 = physics2hw('K_INJ2','Setpoint',val_ph*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ2',val_HW23(2),[1 3]);
+% rafraichir l'Ã©diteur tension
+set(handles.K3_U_edit,'String',num2str2(val_HW23(2)));
+% rafraichir le slider tension
+set(handles.K3_U_slider,'Value',val_HW23(2));
+
+if get(handles.dissym,'Value')
+    % valeur d'angle identique dans K4
+    val_HW14 = physics2hw('K_INJ1','Setpoint',-val_ph*1e-3);
+    % appliquer Ã  l'Ã©lÃ©ment
+    setsp('K_INJ1',val_HW14(2),[1 4]);
+    % tester les signes !!!!!
+    % rafraichir le slider angle
+    set(handles.K4_slider4,'Value',val_ph);
+    % rafraichir l'Ã©diteur angle
+    set(handles.K4_edit4,'String',num2str2(val_ph));
+    % rafraichir le slider tension
+    set(handles.K4_U_slider,'Value',val_HW14(2));
+    % rafraichir l'Ã©diteur tension
+    set(handles.K4_U_edit,'String',num2str2(val_HW14(2)));
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K3_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K3_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K3_slider3_Callback(hObject, eventdata, handles)
+% hObject    handle to K3_slider3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+%% kicker K3
+
+% afficher dans l'editeur angle
+ set(handles.K3_edit3,'String',...
+             num2str(get(handles.K3_slider3,'Value')));
+
+
+val_ph = str2double(handles.K3_edit3,'String');
+val_HW23 = physics2hw('K_INJ2','Setpoint',val_ph*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ2',val_HW23(1),[1 3]);
+% rafraichir l'Ã©diteur tension
+set(handles.K3_U_edit,'String',num2str2(val_HW23(1)));
+% rafraichir le slider tension
+set(handles.K3_U_slider,'Value',val_HW23(1));
+
+if get(handles.dissym,'Value')
+    % valeur d'angle identique dans K4
+    val_HW14 = physics2hw('K_INJ1','Setpoint',-val_ph*1e-3);
+    % appliquer Ã  l'Ã©lÃ©ment
+    setsp('K_INJ1',val_HW14(2),[1 4]);
+    % tester les signes !!!!!
+    % rafraichir le slider angle
+    set(handles.K4_slider4,'Value',-val_ph);
+    % rafraichir l'Ã©diteur angle
+    set(handles.K4_slider4,'String',num2str2(-val_ph));
+    % rafraichir le slider tension
+    set(handles.K4_U_slider,'Value',val_HW14(2));
+    % rafraichir l'Ã©diteur tension
+    set(handles.K4_U_slider,'String',num2str2(val_HW14(2)));
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K3_slider3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K3_slider3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K4_edit4_Callback(hObject, eventdata, handles)
+% hObject    handle to K4_edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K4_edit4 as text
+%        str2double(get(hObject,'String')) returns contents of K4_edit4 as a double
+
+%% kicker K4
+
+val_ph = -str2double(get(hObject,'String'));
+val_HW14 = physics2hw('K_INJ1','Setpoint',val_ph*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ1',val_HW14(2),[1 4]);
+% rafraichir le slider 
+set(handles.K4_slider4,'Value',-val_ph);
+% refraichir la tension
+set(handles.K4_U_edit,'String',num2str2(val_HW14(1)));
+% rafraichir le slider tension
+set(handles.K4_U_slider,'Value',val_HW14(1));
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K4_edit4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K4_edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K4_slider4_Callback(hObject, eventdata, handles)
+% hObject    handle to K4_slider4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+%% kicker K4
+
+% afficher dans l'editeur angle
+ set(handles.K4_edit4,'String',...
+             num2str(get(handles.K4_slider4,'Value')));
+
+
+val_ph = str2double(handles.K4_edit4,'String');
+val_HW14 = physics2hw('K_INJ1','Setpoint',val_ph*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ1',val_HW14(2),[1 4]);
+% rafraichir l'Ã©diteur tension
+set(handles.K4_U_edit,'String',num2str2(val_HW14(2)));
+% rafraichir le slider tension
+set(handles.K4_U_slider,'Value',val_HW14(2));
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K4_slider4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K4_slider4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function deltax_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to deltax_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deltax_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of deltax_edit13 as a double
+
+L1_H = getappdata(handles.figure1,'L1_H');
+L2_H = getappdata(handles.figure1,'L2_H');
+
+
+deltax = str2num(get(handles.deltax_edit13,'String'));  %mm
+
+% positionner le slider Ã  cette valeur de bump
+set(handles.deltax_slider13,'Value',deltax);
+
+deltax = deltax * 1e-3 ;                                % m
+
+% % % L1_H = (50 + 500 + 800 + 300) * 1e-3; % distance centre SA centre SP
+% % % L2_H = 1e-3 * 600/2;                  % distance centre SP point d'injection
+
+% % calcul angles septa actifs et septum passif
+val_HW_sa = getsp('SEP_A');
+val_HW_sp = getsp('SEP_P');
+
+val_ph_sa =  - deltax / L1_H;
+val_ph_sp = - val_ph_sa;
+
+val_HW_sa = val_HW_sa + physics2HW('SEP_A','Setpoint',val_ph_sa);
+val_HW_sp = val_HW_sp + physics2HW('SEP_P','Setpoint',val_ph_sp);
+
+% appliquer
+setsp('SEP_P',val_HW_sp);
+setsp('SEP_A',val_HW_sa);
+
+val_ph_sa = HW2physics('SEP_A','Setpoint',val_HW_sa);
+val_ph_sp = HW2physics('SEP_P','Setpoint',val_HW_sp);
+
+% rafraichir les edit et slider Ã©quipements
+set(handles.septum_actif_a_slider,'Value',val_ph_sa*1e3);
+set(handles.septum_passif_a_slider,'Value',val_ph_sp*1e3);
+set(handles.septum_actif_U_slider,'Value',val_HW_sa);
+set(handles.septum_passif_U_slider,'Value',val_HW_sp);
+set(handles.septum_actif_a_edit,'String',num2str2(val_ph_sa*1e3));
+set(handles.septum_passif_a_edit,'String',num2str2(val_ph_sp*1e3));
+set(handles.septum_passif_U_edit,'String',num2str2(val_HW_sp));
+set(handles.septum_actif_U_edit,'String',num2str2(val_HW_sa));
+
+%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function deltax_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltax_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function deltax_slider13_Callback(hObject, eventdata, handles)
+% hObject    handle to deltax_slider13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+L1_H = getappdata(handles.figure1,'L1_H');
+L2_H = getappdata(handles.figure1,'L2_H');
+
+% afficher dans l'editeur cette valeur de bump
+set(handles.deltax_edit13,'String',num2str(get(handles.deltax_slider13,'Value')));
+
+% lire la valeur affichï¿œe
+deltax = get(handles.deltax_slider13,'Value');          % mm
+deltax = deltax * 1e-3 ;                                % m
+
+% % % L1_H = (50 + 500 + 800 + 300) * 1e-3; % distance centre SA centre SP
+% % % L2_H = 1e-3 * 600/2;                  % distance centre SP point d'injection
+
+% % calcul angles septa actifs et septum passif
+val_HW_sa = getsp('SEP_A');
+val_HW_sp = getsp('SEP_P');
+
+val_ph_sa = -  deltax / L1_H;
+val_ph_sp = - val_ph_sa;
+
+val_HW_sa = val_HW_sa + physics2HW('SEP_A','Setpoint',val_ph_sa);
+val_HW_sp = val_HW_sp + physics2HW('SEP_P','Setpoint',val_ph_sp);
+
+setsp('SEP_P','Setpoint',val_HW_sp);
+setsp('SEP_A','Setpoint',val_HW_sa);
+
+val_ph_sa = HW2physics('SEP_A','Setpoint',val_HW_sa);
+val_ph_sp = HW2physics('SEP_P','Setpoint',val_HW_sp);
+
+% rafraichir les edit et slider Ã©quipements
+set(handles.septum_actif_a_slider,'Value',val_ph_sa*1e3);
+set(handles.septum_passif_a_slider,'Value',val_ph_sp*1e3);
+set(handles.septum_actif_U_slider,'Value',val_HW_sa);
+set(handles.septum_passif_U_slider,'Value',val_HW_sp);
+set(handles.septum_actif_a_edit,'String',num2str2(val_ph_sa*1e3));
+set(handles.septum_passif_a_edit,'String',num2str2(val_ph_sp*1e3));
+set(handles.septum_passif_U_edit,'String',num2str2(val_HW_sp));
+set(handles.septum_actif_U_edit,'String',num2str2(val_HW_sa));
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function deltax_slider13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltax_slider13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function deltaxp_edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to deltaxp_edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deltaxp_edit14 as text
+%        str2double(get(hObject,'String')) returns contents of deltaxp_edit14 as a double
+
+L1_H = getappdata(handles.figure1,'L1_H');
+L2_H = getappdata(handles.figure1,'L2_H');
+
+deltaxp = str2num(get(handles.deltaxp_edit14,'String'));  %mm
+
+% positionner le slider Ã  cette valeur de bump
+set(handles.deltaxp_slider14,'Value',deltaxp);
+
+deltaxp = deltaxp * 1e-3 ;                                % m
+
+% pour point d'injection = point fixe, rapport entre les angles septum
+% passif et les septa actifs : RAP
+% % % L1_H = (50 + 500 + 800 + 300) * 1e-3;
+% % % L2_H = 1e-3 * 600/2;
+RAP = (L1_H-L2_H) / L2_H;
+
+val_HW_sp = getsp('SEP_P');
+val_HW_sa = getsp('SEP_A');
+
+val_ph_sp = deltaxp 
+val_ph_sa = -deltaxp /RAP 
+
+val_HW_sp = val_HW_sp + physics2HW('SEP_P','Setpoint',val_ph_sp);
+val_HW_sa = val_HW_sa + physics2HW('SEP_A','Setpoint',val_ph_sa);
+setsp('SEP_P',val_HW_sp);
+setsp('SEP_A',val_HW_sa);
+
+val_ph_sa = HW2physics('SEP_A','Setpoint',val_HW_sa);
+val_ph_sp = HW2physics('SEP_P','Setpoint',val_HW_sp);
+
+% rafraichir les edit et slider Ã©quipements
+set(handles.septum_actif_a_slider,'Value',val_ph_sa*1e3);
+set(handles.septum_passif_a_slider,'Value',val_ph_sp*1e3);
+set(handles.septum_actif_U_slider,'Value',val_HW_sa);
+set(handles.septum_passif_U_slider,'Value',val_HW_sp);
+set(handles.septum_actif_a_edit,'String',num2str2(val_ph_sa*1e3));
+set(handles.septum_passif_a_edit,'String',num2str2(val_ph_sp*1e3));
+set(handles.septum_passif_U_edit,'String',num2str2(val_HW_sp));
+set(handles.septum_actif_U_edit,'String',num2str2(val_HW_sa));
+
+%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function deltaxp_edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltaxp_edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function deltaxp_slider14_Callback(hObject, eventdata, handles)
+% hObject    handle to deltaxp_slider14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+L1_H = getappdata(handles.figure1,'L1_H');
+L2_H = getappdata(handles.figure1,'L2_H');
+
+% afficher dans l'editeur la valeur de courant
+ set(handles.deltaxp_edit14,'String',...
+             num2str(get(handles.deltaxp_slider14,'Value')));
+
+% lire la valeur affichï¿œe
+deltaxp = get(handles.deltaxp_slider14,'Value');
+deltaxp = deltaxp * 1e-3;
+
+% pour point d'injection = point fixe, rapport entre les angles septum
+% passif et les septa actifs : RAP
+% % % L1_H = (50 + 500 + 800 + 300) * 1e-3;
+% % % L2_H = 1e-3 * 600/2;
+RAP = (L1_H-L2_H) / L2;
+
+val_HW_sp = getsp('SEP_P');
+val_HW_sa = getsp('SEP_A');
+
+val_ph_sp = deltaxp 
+val_ph_sa = -deltaxp /RAP 
+
+val_HW_sp = val_HW_sp + physics2HW('SEP_P','Setpoint',val_ph_sp);
+val_HW_sa = val_HW_sa + physics2HW('SEP_A','Setpoint',val_ph_sa);
+setsp('SEP_P','Setpoint',val_HW_sp);
+setsp('SEP_A','Setpoint',val_HW_sa);
+
+val_ph_sa = HW2physics('SEP_A','Setpoint',val_HW_sa);
+val_ph_sp = HW2physics('SEP_P','Setpoint',val_HW_sp);
+
+% rafraichir les edit et slider Ã©quipements
+set(handles.septum_actif_a_slider,'Value',val_ph_sa*1e3);
+set(handles.septum_passif_a_slider,'Value',val_ph_sp*1e3);
+set(handles.septum_actif_U_slider,'Value',val_HW_sa);
+set(handles.septum_passif_U_slider,'Value',val_HW_sp);
+set(handles.septum_actif_a_edit,'String',num2str2(val_ph_sa*1e3));
+set(handles.septum_passif_a_edit,'String',num2str2(val_ph_sp*1e3));
+set(handles.septum_passif_U_edit,'String',num2str2(val_HW_sp));
+set(handles.septum_actif_U_edit,'String',num2str2(val_HW_sa));
+
+%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function deltaxp_slider14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltaxp_slider14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function deltaz_edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to deltaz_edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deltaz_edit15 as text
+%        str2double(get(hObject,'String')) returns contents of deltaz_edit15 as a double
+
+L1_V = getappdata(handles.figure1,'L1_V');
+L2_V = getappdata(handles.figure1,'L2_V');
+coeff = getappdata(handles.figure1,'etalonnage_V_LT2');
+
+deltaz = str2num(get(handles.deltaz_edit15,'String'));  %mm
+
+% positionner le slider Ã  cette valeur de bump
+set(handles.deltaz_slider15,'Value',deltaz);
+
+deltaz = deltaz * 1e-3 ;                                % m
+
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % % % % Position des correcteurs verticaux : LT2 init getspos('CV') getspos('BPM')
+% % % % posBPM_SP = 41.9159 ; posCV4 = 32.4109 ; posCV5 = 35.5859 ;
+% % % % 
+% % % % L1_V = posCV5 - posCV4 ;                      % distance centre V4 centre V5
+% % % % L2 = posBPM_SP - posCV5 ;                   % distance centre V5 point d'injection
+
+% % calcul angles 
+val_HW_v4 = getam('LT2/AE/CV.4/current');
+val_HW_v5 = getam('LT2/AE/CV.5/current');
+
+val_ph_v4 = deltaz / L1_V;
+val_ph_v5 = - val_ph_v4;
+
+val_HW_v4 = val_HW_v4 + val_ph_v4/coeff;
+val_HW_v5 = val_HW_v5 + val_ph_v5/coeff;
+
+% TEST si  les valeurs de courant sont infÃ©rieures aux valeurs max
+val_max = [8 8]';
+val_min = [-8 -8]';
+consigne = [val_HW_v4 val_HW_v5]';
+if all(consigne<val_max)*all(consigne>val_min);
+
+    setsp('LT2/AE/CV.4/current',val_HW_v4);
+    setsp('LT2/AE/CV.5/current',val_HW_v5);
+
+    val_ph_v4 = val_HW_v4*coeff;
+    val_ph_v5 = val_HW_v5*coeff;
+
+    % rafraichir les edit et slider Ã©quipements
+    set(handles.CV4_a_slider,'Value',val_ph_v4*1e3);
+    set(handles.CV5_a_slider,'Value',val_ph_v5*1e3);
+    set(handles.CV4_I_slider,'Value',val_HW_v4);
+    set(handles.CV5_I_slider,'Value',val_HW_v5);
+    set(handles.CV4_a_edit,'String',num2str2(val_ph_v4*1e3));
+    set(handles.CV5_a_edit,'String',num2str2(val_ph_v5*1e3));
+    set(handles.CV4_I_edit,'String',num2str2(val_HW_v4));
+    set(handles.CV5_I_edit,'String',num2str2(val_HW_v5));
+
+else
+    errordlg('un correcteur au moins dÃ©passe les valeurs admises !','Attention');
+    consigne = consigne
+end
+%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function deltaz_edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltaz_edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function deltaz_slider15_Callback(hObject, eventdata, handles)
+% hObject    handle to deltaz_slider15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+L1_V = getappdata(handles.figure1,'L1_V');
+L2_V = getappdata(handles.figure1,'L2_V');
+coeff = getappdata(handles.figure1,'etalonnage_V_LT2');
+
+% afficher dans l'editeur cette valeur de bump
+set(handles.deltaz_edit15,'String',num2str(get(handles.deltaz_slider15,'Value')));
+
+% lire la valeur affichï¿œe
+deltaz = get(handles.deltaz_slider15,'Value');          % mm
+deltaz = deltaz * 1e-3 ; 
+
+
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % % % % Position des correcteurs verticaux : LT2 init getspos('CV') getspos('BPM')
+% % % % posBPM_SP = 41.9159 ; posCV4 = 32.4109 ; posCV5 = 35.5859 ;
+% % % % 
+% % % % L1_V = posCV5 - posCV4 ;                      % distance centre V4 centre V5
+% % % % L2 = posBPM_SP - posCV5 ;                   % distance centre V5 point d'injection
+
+% % calcul angles 
+val_HW_v4 = getam('LT2/AE/CV.4/current');
+val_HW_v5 = getam('LT2/AE/CV.5/current');
+
+val_ph_v4 = deltaz / L1_V;
+val_ph_v5 = - val_ph_v4;
+
+val_HW_v4 = val_HW_v4 + val_ph_v4/coeff;
+val_HW_v5 = val_HW_v5 + val_ph_v5/coeff;
+
+
+% TEST si  les valeurs de courant sont infÃ©rieures aux valeurs max
+val_max = [8 8]';
+val_min = [-8 -8]';
+consigne = [val_HW_v4 val_HW_v5]';
+if all(consigne<val_max)*all(consigne>val_min);
+    setsp('LT2/AE/CV.4/current',val_HW_v4);
+    setsp('LT2/AE/CV.5/current',val_HW_v5);
+
+    val_ph_v4 = val_HW_v4*coeff;
+    val_ph_v5 = val_HW_v5*coeff;
+
+    % rafraichir les edit et slider Ã©quipements
+    set(handles.CV4_a_slider,'Value',val_ph_v4*1e3);
+    set(handles.CV5_a_slider,'Value',val_ph_v5*1e3);
+    set(handles.CV4_I_slider,'Value',val_HW_v4);
+    set(handles.CV5_I_slider,'Value',val_HW_v5);
+    set(handles.CV4_a_edit,'String',num2str2(val_ph_v4*1e3));
+    set(handles.CV5_a_edit,'String',num2str2(val_ph_v5*1e3));
+    set(handles.CV4_I_edit,'String',num2str2(val_HW_v4));
+    set(handles.CV5_I_edit,'String',num2str2(val_HW_v5));
+
+else
+    errordlg('un correcteur au moins dÃ©passe les valeurs admises !','Attention');
+    consigne = consigne
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function deltaz_slider15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltaz_slider15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function deltazp_edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to deltazp_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deltazp_edit16 as text
+%        str2double(get(hObject,'String')) returns contents of deltazp_edit16 as a double
+
+L1_V = getappdata(handles.figure1,'L1_V');
+L2_V = getappdata(handles.figure1,'L2_V');
+coeff = getappdata(handles.figure1,'etalonnage_V_LT2');
+
+deltazp = str2num(get(handles.deltazp_edit16,'String'));  %mm
+
+% positionner le slider Ã  cette valeur de bump
+set(handles.deltazp_slider16,'Value',deltazp);
+
+deltazp = deltazp * 1e-3 ;                                % m
+
+RAP = (L1_V-L2_V) / L2_V;
+
+% % calcul angles 
+val_HW_v4 = getam('LT2/AE/CV.4/current');
+val_HW_v5 = getam('LT2/AE/CV.5/current');
+
+
+val_ph_v5 = deltazp 
+val_ph_v4 = -deltazp /RAP 
+
+val_HW_v4 = val_HW_v4 + val_ph_v4/coeff;
+val_HW_v5 = val_HW_v5 + val_ph_v5/coeff;
+
+% TEST si  les valeurs de courant sont infÃ©rieures aux valeurs max
+val_max = [8 8]';
+val_min = [-8 -8]';
+consigne = [val_HW_v4 val_HW_v5]';
+if all(consigne<val_max)*all(consigne>val_min);
+    setsp('LT2/AE/CV.4/current',val_HW_v4);
+    setsp('LT2/AE/CV.5/current',val_HW_v5);
+
+    val_ph_v4 = val_HW_v4*coeff;
+    val_ph_v5 = val_HW_v5*coeff;
+
+    % rafraichir les edit et slider Ã©quipements
+    set(handles.CV4_a_slider,'Value',val_ph_v4*1e3);
+    set(handles.CV5_a_slider,'Value',val_ph_v5*1e3);
+    set(handles.CV4_I_slider,'Value',val_HW_v4);
+    set(handles.CV5_I_slider,'Value',val_HW_v5);
+    set(handles.CV4_a_edit,'String',num2str2(val_ph_v4*1e3));
+    set(handles.CV5_a_edit,'String',num2str2(val_ph_v5*1e3));
+    set(handles.CV4_I_edit,'String',num2str2(val_HW_v4));
+    set(handles.CV5_I_edit,'String',num2str2(val_HW_v5));
+else
+    errordlg('un correcteur au moins dÃ©passe les valeurs admises !','Attention');
+    consigne = consigne
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function deltazp_edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltazp_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function deltazp_slider16_Callback(hObject, eventdata, handles)
+% hObject    handle to deltazp_slider16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+L1_V = getappdata(handles.figure1,'L1_V');
+L2_V = getappdata(handles.figure1,'L2_V');
+coeff = getappdata(handles.figure1,'etalonnage_V_LT2');
+
+% afficher dans l'editeur cette valeur de bump
+set(handles.deltazp_edit16,'String',num2str(get(handles.deltazp_slider16,'Value')));
+
+% lire la valeur affichï¿œe
+deltazp = get(handles.deltazp_slider16,'Value');          % mm
+deltazp = deltazp * 1e-3;
+
+RAP = (L1_V-L2_V) / L2_V;
+
+% % calcul angles 
+val_HW_v4 = getam('LT2/AE/CV.4/current');
+val_HW_v5 = getam('LT2/AE/CV.5/current');
+
+val_ph_v5 = deltazp 
+val_ph_v4 = -deltazp /RAP 
+
+val_HW_v4 = val_HW_v4 + val_ph_v4/coeff;
+val_HW_v5 = val_HW_v5 + val_ph_v5/coeff;
+
+% TEST si  les valeurs de courant sont infÃ©rieures aux valeurs max
+val_max = [8 8]';
+val_min = [-8 -8]';
+consigne = [val_HW_v4 val_HW_v5]';
+if all(consigne<val_max)*all(consigne>val_min);
+
+    setsp('LT2/AE/CV.4/current',val_HW_v4);
+    setsp('LT2/AE/CV.5/current',val_HW_v5);
+
+    val_ph_v4 = val_HW_v4*coeff;
+    val_ph_v5 = val_HW_v5*coeff;
+
+    % rafraichir les edit et slider Ã©quipements
+    set(handles.CV4_a_slider,'Value',val_ph_v4*1e3);
+    set(handles.CV5_a_slider,'Value',val_ph_v5*1e3);
+    set(handles.CV4_I_slider,'Value',val_HW_v4);
+    set(handles.CV5_I_slider,'Value',val_HW_v5);
+    set(handles.CV4_a_edit,'String',num2str2(val_ph_v4*1e3));
+    set(handles.CV5_a_edit,'String',num2str2(val_ph_v5*1e3));
+    set(handles.CV4_I_edit,'String',num2str2(val_HW_v4));
+    set(handles.CV5_I_edit,'String',num2str2(val_HW_v5));
+else
+    errordlg('un correcteur au moins dÃ©passe les valeurs admises !','Attention');
+    consigne = consigne
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function deltazp_slider16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltazp_slider16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        % 
+        set([handles.K1_edit1,handles.K1_slider1,...
+            handles.K2_edit2,handles.K2_slider2,...
+            handles.K3_edit3,handles.K3_slider3,...
+            handles.K4_edit4,handles.K4_slider4,...
+            handles.K1_U_edit,handles.K1_U_slider,...
+            handles.K2_U_edit,handles.K2_U_slider,...
+            handles.K3_U_edit,handles.K3_U_slider,...
+            handles.K4_U_edit,handles.K4_U_slider,...
+            ],'Enable','off')
+       
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        % 
+        set([...
+            handles.K2_edit2,handles.K2_slider2,...
+            ...
+            handles.K4_edit4,handles.K4_slider4,...
+            ...
+            handles.K2_U_edit,handles.K2_U_slider,...
+            ...
+            handles.K4_U_edit,handles.K4_U_slider,...
+            ],'Enable','off');
+        set([handles.K1_edit1,handles.K1_slider1,...
+            ...
+            handles.K3_edit3,handles.K3_slider3,...
+            ...
+            handles.K1_U_edit,handles.K1_U_slider,...
+            ...
+            handles.K3_U_edit,handles.K3_U_slider,...
+            ...
+            ],'Enable','on')
+    case 'radiobutton3'
+        % code piece when radiobutton1 is selected goes here
+        % 
+        set([handles.K1_edit1,handles.K1_slider1,...
+            handles.K2_edit2,handles.K2_slider2,...
+            handles.K3_edit3,handles.K3_slider3,...
+            handles.K4_edit4,handles.K4_slider4,...
+            handles.K1_U_edit,handles.K1_U_slider,...
+            handles.K2_U_edit,handles.K2_U_slider,...
+            handles.K3_U_edit,handles.K3_U_slider,...
+            handles.K4_U_edit,handles.K4_U_slider,...
+            ],'Enable','on')
+        
+end
+
+
+
+function bump_edit21_Callback(hObject, eventdata, handles)
+% hObject    handle to bump_edit21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of bump_edit21 as text
+%        str2double(get(hObject,'String')) returns contents of bump_edit21 as a double
+bump = str2num(get(handles.bump_edit21,'String'));
+% valeur 4 kickers en rad
+val_ph_K = bump * handles.eff_K * 1e-3;
+% % valeurs 4 kickers en tension
+val_HW14 = physics2HW('K_INJ1','Setpoint',-val_ph_K);
+val_HW23 = physics2HW('K_INJ2','Setpoint',val_ph_K);
+% % appliquer les 4 valeurs 
+setsp('K_INJ1',val_HW14(1));
+setsp('K_INJ2',val_HW23(1));
+
+% afficher dans edit angles des kickers
+set(handles.K1_edit1,'String',num2str2(val_ph_K*1e3)); 
+set(handles.K4_edit4,'String',num2str2(val_ph_K*1e3)); 
+set(handles.K2_edit2,'String',num2str2(val_ph_K*1e3)); 
+set(handles.K3_edit3,'String',num2str2(val_ph_K*1e3)); 
+
+% re-initaliser les sliders angles
+set(handles.K1_slider1,'Value',val_ph_K*1e3);
+set(handles.K2_slider2,'Value',val_ph_K*1e3);
+set(handles.K3_slider3,'Value',val_ph_K*1e3);
+set(handles.K4_slider4,'Value',val_ph_K*1e3);
+
+% afficher dans edit tension des kickers
+set(handles.K1_U_edit,'String',num2str2(val_HW14(1))); 
+set(handles.K4_U_edit,'String',num2str2(val_HW14(2))); 
+set(handles.K2_U_edit,'String',num2str2(val_HW23(1))); 
+set(handles.K3_U_edit,'String',num2str2(val_HW23(2)));
+
+% re-initaliser les sliders tension
+set(handles.K1_U_slider,'Value',val_HW14(1));
+set(handles.K2_U_slider,'Value',val_HW14(2));
+set(handles.K3_U_slider,'Value',val_HW23(1));
+set(handles.K4_U_slider,'Value',val_HW23(2));
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function bump_edit21_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to bump_edit21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in BPM1_checkbox.
+function BPM1_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM1_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM1_checkbox
+
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(1) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(1) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+% --- Executes on button press in BPM2_checkbox.
+function BPM2_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM2_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM2_checkbox
+
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(2) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(2) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+% --- Executes on button press in BPM3_checkbox.
+function BPM3_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM3_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM3_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(3) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(3) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+
+% --- Executes on button press in BPM4_checkbox.
+function BPM4_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM4_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM4_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(4) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(4) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+% --- Executes on button press in BPM5_checkbox.
+function BPM5_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM5_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM5_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(5) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(5) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM6_checkbox.
+function BPM6_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM6_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM6_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(6) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(6) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM7_checkbox.
+function BPM7_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM7_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM7_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(7) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(7) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM8_checkbox.
+function BPM8_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM8_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM8_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(8) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(8) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM9_checkbox.
+function BPM9_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM9_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM9_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(9) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(9) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM10_checkbox.
+function BPM10_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM10_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM10_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+% mettre Ã  jour d'Ã©ventue
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(10) = 1;
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(10) = 0; 
+    BPMxList = BPMxListtotal(find(num_BPM_actif),:);
+    %BPMxList = intersect(BPMxList,BPMxListtotal([(1:8),(10:nbmaxBPM)],:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+function K1_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to K1_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K1_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of K1_U_edit as a double
+
+% afficher dans le slider angle
+ set(handles.K1_U_slider,'Value',...
+             str2double(get(hObject,'String')));
+
+ val_HW14 = str2num(get(handles.K1_U_edit,'String'));
+ val_ph =  1000*hw2physics('K_INJ1','Setpoint',val_HW14);  
+ % appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ1',val_HW14,[1 1]);
+% rafraichir l'Ã©diteur angle
+set(handles.K1_edit1,'String',num2str2(-val_ph(1)));
+% rafraichir le slider angle
+set(handles.K1_slider1,'Value',-val_ph(1));
+
+if get(handles.dissym,'Value')
+    % valeur d'angle identique dans K2
+    val_HW23 = physics2hw('K_INJ2','Setpoint',-val_ph(1)*1e-3);
+    % appliquer Ã  l'Ã©lÃ©ment
+    setsp('K_INJ2',val_HW23(2),[1 2]);
+    % tester les signes !!!!!
+    % rafraichir le slider angle
+    set(handles.K2_slider2,'Value',-val_ph(1));
+    % rafraichir l'Ã©diteur angle
+    set(handles.K2_edit2,'String',num2str2(-val_ph(1)));
+    % rafraichir le slider tension
+    set(handles.K2_U_slider,'Value',val_HW23(2));
+    % rafraichir l'Ã©diteur tension
+    set(handles.K2_U_edit,'String',num2str2(val_HW23(2)));
+end
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K1_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K1_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K1_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to K1_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K1_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K1_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K2_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to K2_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K2_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of K2_U_edit as a double
+
+set(handles.K2_U_slider,'Value',...
+             str2double(get(hObject,'String')));
+
+ val_HW23 = str2num(get(handles.K2_U_edit,'String'));
+ val_ph =  1000*hw2physics('K_INJ2','Setpoint',val_HW23);  
+ % appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ2',val_HW23,[1 2]);
+% rafraichir l'Ã©diteur angle
+set(handles.K2_edit2,'String',num2str2(val_ph(1)));
+% rafraichir le slider angle
+set(handles.K2_slider2,'Value',val_ph(1));
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K2_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K2_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K2_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to K2_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K2_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K2_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K3_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to K3_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K3_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of K3_U_edit as a double
+
+% afficher dans le slider angle
+
+ set(handles.K3_U_slider,'Value',...
+             str2double(get(hObject,'String')));
+
+ val_HW23 = str2num(get(handles.K3_U_edit,'String'));
+ val_ph =  1000*hw2physics('K_INJ2','Setpoint',val_HW23);  
+ % appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ2',val_HW23,[1 3]);
+% rafraichir l'Ã©diteur angle
+set(handles.K3_edit3,'String',num2str2(val_ph(1)));
+% rafraichir le slider angle
+set(handles.K3_slider3,'Value',val_ph(1));
+
+if get(handles.dissym,'Value')
+    % valeur d'angle identique dans K4
+    val_HW14 = physics2hw('K_INJ1','Setpoint',-val_ph(1)*1e-3);
+    % appliquer Ã  l'Ã©lÃ©ment
+    setsp('K_INJ1',val_HW14(2),[1 4]);
+    % tester les signes !!!!!
+    % rafraichir le slider angle
+    set(handles.K4_slider4,'Value',val_ph(1));
+    % rafraichir l'Ã©diteur angle
+    set(handles.K4_edit4,'String',num2str2(val_ph(1)));
+    % rafraichir le slider tension
+    set(handles.K4_U_slider,'Value',val_HW14(2));
+    % rafraichir l'Ã©diteur tension
+    set(handles.K4_U_edit,'String',num2str2(val_HW14(2)));
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir l'orbite
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+%%%%%%%%%%%%%%%%%%%%%%%%%% rafraichir le bump kicker
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function K3_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K3_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K3_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to K3_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K3_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K3_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+
+
+function K4_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to K4_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K4_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of K4_U_edit as a double
+
+% afficher dans le slider angle
+ set(handles.K4_U_slider,'Value',...
+             str2double(get(hObject,'String')));
+
+ val_HW14 = str2num(get(handles.K4_U_edit,'String'));
+ val_ph =  1000*hw2physics('K_INJ1','Setpoint',val_HW14);  
+ % appliquer Ã  l'Ã©lÃ©ment
+setsp('K_INJ1',val_HW14,[1 4]);
+% rafraichir l'Ã©diteur angle
+set(handles.K4_edit4,'String',num2str2(-val_ph(1)));
+% rafraichir le slider angle
+set(handles.K4_slider4,'Value',-val_ph(1));
+
+mycallbackenergytunette_kicker(1,1,hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function K4_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K4_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K4_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to K4_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K4_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K4_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function septum_actif_a_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_actif_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of septum_actif_a_edit as text
+%        str2double(get(hObject,'String')) returns contents of septum_actif_a_edit as a double
+
+% valeur d'angle
+val_phSA = str2double(get(hObject,'String'));
+val_HWSA = physics2hw('SEP_A','Setpoint',val_phSA*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('SEP_A',val_HWSA);
+% rafraichir le slider 
+set(handles.septum_actif_a_slider,'Value',val_phSA);
+% rafraichir l'Ã©lÃ©ment tension
+set(handles.septum_actif_U_slider,'Value',val_HWSA);
+set(handles.septum_actif_U_edit,'String',num2str2(val_HWSA));
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_actif_a_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_actif_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function septum_actif_a_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_actif_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_actif_a_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_actif_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function septum_passif_a_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_passif_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of septum_passif_a_edit as text
+%        str2double(get(hObject,'String')) returns contents of septum_passif_a_edit as a double
+
+% valeur d'angle
+val_phSP = str2double(get(hObject,'String'));
+val_HWSP = physics2hw('SEP_P','Setpoint',val_phSP*1e-3);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('SEP_P',val_HWSP);
+% rafraichir le slider 
+set(handles.septum_passif_a_slider,'Value',val_phSP);
+% rafraichir l'Ã©lÃ©ment tension
+%set(handles.septum_passif_U_slider,'Value',val_HWSPA);
+set(handles.septum_passif_U_edit,'String',num2str2(val_HWSP));
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_passif_a_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_passif_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function septum_passif_a_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_passif_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_passif_a_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_passif_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function CV4_a_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to CV4_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CV4_a_edit as text
+%        str2double(get(hObject,'String')) returns contents of CV4_a_edit as a double
+
+coeff = getappdata(handles.figure1,'etalonnage_V_LT2');
+val_ph_v4 = str2double(get(hObject,'String'));
+val_HW_v4 = val_ph_v4*1e-3 / coeff;
+setsp('LT2/AE/CV.4/current',val_HW_v4);
+% rafraichir les edit et slider Ã©quipements
+set(handles.CV4_a_slider,'Value',val_ph_v4);
+set(handles.CV4_I_slider,'Value',val_HW_v4);
+set(handles.CV4_I_edit,'String',num2str2(val_HW_v4));
+
+
+% --- Executes during object creation, after setting all properties.
+function CV4_a_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV4_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function CV4_a_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to CV4_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function CV4_a_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV4_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function CV5_a_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to CV5_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CV5_a_edit as text
+%        str2double(get(hObject,'String')) returns contents of CV5_a_edit as a double
+
+coeff = getappdata(handles.figure1,'etalonnage_V_LT2');
+val_ph_v5 = str2double(get(hObject,'String'));
+val_HW_v5 = val_ph_v5*1e-3 / coeff;
+setsp('LT2/AE/CV.5/current',val_HW_v5);
+% rafraichir les edit et slider Ã©quipements
+set(handles.CV5_a_slider,'Value',val_ph_v5);
+set(handles.CV5_I_slider,'Value',val_HW_v5);
+set(handles.CV5_I_edit,'String',num2str2(val_HW_v5));
+
+
+
+% --- Executes during object creation, after setting all properties.
+function CV5_a_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV5_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function CV5_a_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to CV5_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function CV5_a_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV5_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function septum_actif_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_actif_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_actif_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_actif_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function septum_passif_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_passif_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of septum_passif_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of septum_passif_U_edit as a double
+
+% valeur d'angle
+val_HWSP = str2double(get(hObject,'String'));
+val_phSP = hw2physics('SEP_P','Setpoint',val_HWSP);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('SEP_P',val_HWSP);
+% rafraichir le slider 
+set(handles.septum_passif_U_slider,'Value',val_HWSP);
+% rafraichir l'Ã©lÃ©ment angle
+set(handles.septum_passif_a_slider,'Value',val_phSP*1000);
+set(handles.septum_passif_a_edit,'String',num2str2(val_phSP*1000));
+
+% --- Executes during object creation, after setting all properties.
+function septum_passif_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_passif_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function septum_passif_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_passif_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_passif_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_passif_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function CV4_I_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to CV4_I_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CV4_I_edit as text
+%        str2double(get(hObject,'String')) returns contents of CV4_I_edit as a double
+
+coeff = getappdata(handles.figure1,'etalonnage_V_LT2');
+val_HW_v4 = str2double(get(hObject,'String'));
+val_ph_v4 = val_HW_v4*1e3 * coeff;
+setsp('LT2/AE/CV.4/current',val_HW_v4);
+% rafraichir les edit et slider Ã©quipements
+set(handles.CV4_a_slider,'Value',val_ph_v4);
+set(handles.CV4_I_slider,'Value',val_HW_v4);
+set(handles.CV4_a_edit,'String',num2str2(val_ph_v4));
+
+
+% --- Executes during object creation, after setting all properties.
+function CV4_I_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV4_I_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function CV4_I_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to CV4_I_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function CV4_I_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV4_I_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function CV5_I_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to CV5_I_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CV5_I_edit as text
+%        str2double(get(hObject,'String')) returns contents of CV5_I_edit as a double
+
+coeff = getappdata(handles.figure1,'etalonnage_V_LT2');
+val_HW_v5 = str2double(get(hObject,'String'));
+val_ph_v5 = val_HW_v5*1e3 * coeff;
+setsp('LT2/AE/CV.5/current',val_HW_v5);
+% rafraichir les edit et slider Ã©quipements
+set(handles.CV5_a_slider,'Value',val_ph_v5);
+set(handles.CV5_I_slider,'Value',val_HW_v5);
+set(handles.CV5_a_edit,'String',num2str2(val_ph_v5));
+
+% --- Executes during object creation, after setting all properties.
+function CV5_I_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV5_I_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function CV5_I_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to CV5_I_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function CV5_I_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV5_I_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function septum_actif_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_actif_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of septum_actif_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of septum_actif_U_edit as a double
+
+% valeur d'angle
+val_HWSA = str2double(get(hObject,'String'));
+val_phSA = hw2physics('SEP_A','Setpoint',val_HWSA);
+% appliquer Ã  l'Ã©lÃ©ment
+setsp('SEP_A',val_HWSA);
+% rafraichir le slider 
+set(handles.septum_actif_U_slider,'Value',val_HWSA);
+% rafraichir l'Ã©lÃ©ment angle
+set(handles.septum_actif_a_slider,'Value',val_phSA*1000);
+set(handles.septum_actif_a_edit,'String',num2str2(val_phSA*1000));
+
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_actif_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_actif_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% bugs
+% --- Executes during object creation, after setting all properties.
+function edit56_CreateFcn(hObject, eventdata, handles)
+function edit57_CreateFcn(hObject, eventdata, handles)
+function slider55_CreateFcn(hObject, eventdata, handles)
+function slider56_CreateFcn(hObject, eventdata, handles)
+
+function value = num2str2(val)
+
+value = num2str(val,'%6.2f');
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+%device_name = getappdata(handles.figure1,'device_name');
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Energytunette ?',...
+    'Exit Programme Energytunette',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+        %% extraire l'Ã©cran YAG
+        %tango_command_inout(device_name.ecran,'Extract');
+        %fonction_error;
+    otherwise
+        disp('Closing aborted')
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/energytunette/mycallbackenergytunette.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/energytunette/mycallbackenergytunette.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/energytunette/mycallbackenergytunette.m	(revision 17)
@@ -0,0 +1,23 @@
+function mycallbackenergytunette(arg1,arg2,hObject, eventdata, handles)
+
+%BPMx = getappdata(handles.figure1,'BPMx');
+%BPMz = getappdata(handles.figure1,'BPMz');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+
+% replot des orbites
+h     = get(handles.axes2,'Children');
+hline = findobj(h,'-regexp','Tag','line[1,2]');
+
+s  = getspos('BPMx',BPMxList);
+[X Z Sum] = anabpmfirstturn( BPMxList ,'MaxSum','NoDisplay');
+orbite_x = X'; % mm
+orbite_z = Z'; % en mm
+setappdata(handles.figure1,'orbite_x',orbite_x);
+setappdata(handles.figure1,'orbite_z',orbite_z);
+
+
+% linegraphes
+set(hline(2),'XData',s,'YData',orbite_x,'Visible','On');
+set(hline(1),'XData',s,'YData',orbite_z,'Visible','On');
+
+
Index: /trunk/machine/SOLEIL/StorageRing/energytunette/mycallbackenergytunette_kicker.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/energytunette/mycallbackenergytunette_kicker.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/energytunette/mycallbackenergytunette_kicker.m	(revision 17)
@@ -0,0 +1,34 @@
+function mycallbackenergytunette_kicker(arg1,arg2,hObject, eventdata, handles)
+
+% replot du bump kicker
+h     = get(handles.axes1,'Children');
+hline = findobj(h,'-regexp','Tag','line[1]');
+
+val_HW14 = getsp('K_INJ1');
+val_HW23 = getsp('K_INJ2');
+val_ph1 = hw2physics('K_INJ1','Setpoint',val_HW14(1));
+val_ph4 = hw2physics('K_INJ1','Setpoint',val_HW14(2));
+val_ph2 = hw2physics('K_INJ2','Setpoint',val_HW23(1));
+val_ph3 = hw2physics('K_INJ2','Setpoint',val_HW23(2));
+teta1 = val_ph1(1)*1e3; % mrad
+teta2 = val_ph2(1)*1e3;
+teta3 = val_ph3(1)*1e3;
+teta4 = val_ph4(1)*1e3;
+% pas gÃ©nial, il vaudrait mieux utiliser THERING en reperant les elements et
+% deduire les espaces entre equipements
+X1 = 0;X2 = 1;X3 = 4.002;X4 = 8.227;X5 = 11.229;X6 = 13;
+Ymax = 20;Ymin = -25;
+Xdata = [ X1 X2 X3 X4 X5 X6];
+V1 = [0 0]';
+V2 = [1 (X2-X1);0 1]*V1 + [0 teta1]';
+V3 = [1 (X3-X2);0 1]*V2 + [0 teta2]';
+V4 = [1 (X4-X3);0 1]*V3 + [0 teta3]';
+V5 = [1 (X5-X4);0 1]*V4 + [0 teta4]';
+V6 = [1 (X6-X5);0 1]*V5;
+Ydata = [V1(1) V2(1) V3(1) V4(1) V5(1) V6(1)];
+refreshdata(handles.axes1);
+
+% linegraphes
+set(hline(1),'XData',Xdata,'YData',Ydata,'Visible','On');
+
+
Index: /trunk/machine/SOLEIL/StorageRing/feedforward/ffanal.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/feedforward/ffanal.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/feedforward/ffanal.m	(revision 17)
@@ -0,0 +1,302 @@
+function FigureHandles = ffanal(Sector, GeVnum, DirStr)
+%FFANAL - Analyses an existing feedforward table
+% function FigureHandles = ffanal(Sector, GeV, Directory)
+%            or
+% function FigureHandles = ffanal
+%
+%    This function plots various information about the feed forward tables.
+%
+%    Sector    = the storage ring sector number for that insertion device
+%    GeV       = the storage ring energy (1.0, 1.3, 1.5, 1.9)
+%    Directory = the directory location where the files are located.  To directory "tree"
+%                from the root or w:\public\matlab\gaptrack.
+%
+%    For example, ffanal(7,1.5) analyzes the most recently generated table for sector 7
+%    at 1.5 GeV.
+%    
+%    If no input auguments are used, a dialog box will allow one
+%    to choose any feed forward table.  Table are grouped in directories
+%    according and energy and the date the file was generated.  The most
+%    recent table is located in w:\public\matlab\gaptrack.
+%
+
+%
+% Written By ALS people
+
+% TODO
+% Adpation for SOLEIL
+
+global BPMs IDBPMs IDXgolden IDYgolden
+
+BLeffHCM = 410;  % gauss cm / amp;
+BLeffVCM = 171;  % gauss cm / amp; 
+Leff = 55;       % cm
+
+%disp(' ');
+
+if nargin == 0
+   % Load the data tables
+   CurrentDir = pwd;
+   
+   gotodata
+   cd gaptrack
+   [filename, pathname] = uigetfile('id*.mat', 'Choose the desired feed forward file.');
+   if filename==0
+      eval(['cd ',CurrentDir]);
+      disp('  Function canceled.'); disp(' ');
+      return
+   end
+   
+   eval(['cd ', pathname]);
+   Datafn = filename;
+   
+   Sector = str2num(filename(3:4));
+   GeVnum = str2num(filename(6)) + .1*str2num(filename(7));
+elseif nargin == 2 | nargin == 3 
+   GeVstr = num2str(GeVnum);
+   
+   CurrentDir = pwd;
+   gotodata
+   cd gaptrack
+   
+   if nargin == 3
+      eval(['cd ', DirStr]);
+   end
+   
+   Datafn = sprintf('id%02de%c%c.mat', Sector, GeVstr(1), GeVstr(3));
+else 
+   error('ffanal requires 0, 2, or 3 input arguments.');
+end
+
+
+Datafn = lower(Datafn);
+if exist(Datafn)==2
+   % OK
+else
+   Datafn = upper(Datafn);
+   if exist(Datafn)==2
+      % OK
+   else
+      disp('  File not found.'); disp(' ');
+      return
+   end
+end
+
+eval(['load ', Datafn]);
+eval(['cd ', CurrentDir]);
+
+% IDBPM starting point
+% Find the IDBPMs in the sector where the ID is located.
+ii = dev2elem('IDBPMx',getlist('IDBPMx',Sector));
+IDBPMgoalx = IDXgolden(ii);
+IDBPMgoaly = IDYgolden(ii);
+
+ii=find(idbpmlist(:,1)==Sector);
+IDBPM210ax = IDx210a(ii);
+IDBPM210ay = IDy210a(ii);
+IDBPM210bx = IDx210b(ii);
+IDBPM210by = IDy210b(ii);
+
+if exist('BPMFlag')==1
+   if BPMFlag == 1
+      disp('  Arc sector BPMs were used to generation the feed forward tables.');
+   elseif BPMFlag == 2
+      disp('  IDBPMs were used to generation the feed forward tables.');;
+   end
+end
+
+fprintf('                Golden    Starting   Error     Ending    Error\n');
+fprintf('  IDBPMx(%2d,1): %6.3f     %6.3f   %6.3f     %6.3f   %6.3f  [mm]\n',   Sector, IDBPMgoalx(1), IDBPM210ax(1), IDBPM210ax(1)-IDBPMgoalx(1), IDBPM210bx(1), IDBPM210bx(1)-IDBPMgoalx(1));
+fprintf('  IDBPMx(%2d,2): %6.3f     %6.3f   %6.3f     %6.3f   %6.3f  [mm]\n',   Sector, IDBPMgoalx(2), IDBPM210ax(2), IDBPM210ax(2)-IDBPMgoalx(2), IDBPM210bx(2), IDBPM210bx(2)-IDBPMgoalx(2));
+fprintf('  IDBPMz(%2d,1): %6.3f     %6.3f   %6.3f     %6.3f   %6.3f  [mm]\n',   Sector, IDBPMgoaly(1), IDBPM210ay(1), IDBPM210ay(1)-IDBPMgoaly(1), IDBPM210by(1), IDBPM210by(1)-IDBPMgoaly(1));
+fprintf('  IDBPMz(%2d,2): %6.3f     %6.3f   %6.3f     %6.3f   %6.3f  [mm]\n\n', Sector, IDBPMgoaly(2), IDBPM210ay(2), IDBPM210ay(2)-IDBPMgoaly(2), IDBPM210by(2), IDBPM210by(2)-IDBPMgoaly(2));
+pause(0);
+
+% Plot tables
+Buffer = .01;
+HeightBuffer = .05;
+
+h1=figure;
+subplot(2,1,1);
+plot(tableX(:,1),tableX(:,2),'-', tableX(:,1),tableX(:,3),'--');
+%xlabel('Gap Position [mm]');
+ylabel('Corrector Strength [amps]');
+title(['Insertion Device Feedfoward Table for Sector ', num2str(Sector)]);      
+legend(['HCM4, Sector ',num2str(Sector-1),'  '], ...
+       ['HCM1, Sector ',num2str(Sector),  '  '],0);
+%[hl,hl1] = legend(['HCM4, Sector ',num2str(Sector-1),'  '], ...
+%                  ['HCM1, Sector ',num2str(Sector),  '  ']);
+%set(hl1(1,2),'FontUnits','points','FontSize',10);
+%set(hl1(2,2),'FontUnits','points','FontSize',10);
+axis tight;
+
+subplot(2,1,2);
+plot(tableY(:,1),tableY(:,2),'-', tableY(:,1),tableY(:,3),'--');
+xlabel('Gap Position [mm]');
+ylabel('Corrector Strength [amps]');
+axis tight;
+legend(['VCM4, Sector ',num2str(Sector-1),'  '], ...
+       ['VCM1, Sector ',num2str(Sector),  '  '],0);
+set(h1,'units','normal','position',[.0+Buffer .5+Buffer .5-2*Buffer .5-2*Buffer-HeightBuffer]);
+addlabel(1,0,[num2str(GeVnum),' GeV, ', FFDate]);
+orient tall
+
+
+h2=figure;
+if exist('IDXrms') == 1     
+   subplot(2,1,1);
+end
+plot(tableX(:,1),1000*Xrms,'-', tableX(:,1),1000*Yrms,'--');
+title(['RMS Orbit Change During Table Generation for Sector ', num2str(Sector)]);
+ylabel('BPM Error [microns]');
+axis tight;
+legend(['Horizontal  '],['Vertical    '],0);
+
+if exist('IDXrms') == 1     
+   subplot(2,1,2);
+   plot(tableX(:,1),1000*IDXrms,'-', tableX(:,1),1000*IDYrms,'--');
+   ylabel('IDBPM Error [microns]');
+   legend(['Horizontal  '],['Vertical    '],0);
+end 
+xlabel('GAP Position [mm]');
+axis tight;
+set(h2,'units','normal','position',[.5+Buffer .5+Buffer .5-2*Buffer .5-2*Buffer-HeightBuffer]);
+addlabel(1,0,[num2str(GeVnum),' GeV, ', FFDate]);
+orient tall
+
+
+h3=figure;
+if exist('IDx210a') == 1     
+   subplot(2,1,1);
+end
+plot(BPMs,1000*(x210a-x210b),'-', BPMs,1000*(y210a-y210b),'--');
+title(['Drift in the Orbit During Table Generation for Sector ', num2str(Sector)]);
+xlabel('BPM Position [meters]');
+ylabel('BPM Drift [microns]');
+axis tight;
+xaxis([0 200]);
+legend(['Horizontal  '],['Vertical    '],0);
+
+if exist('IDx210a') == 1     
+   subplot(2,1,2);
+   idbpmelem = dev2elem('IDBPMx',idbpmlist);
+   plot(IDBPMs(idbpmelem),1000*(IDx210a-IDx210b),'-', IDBPMs(idbpmelem),1000*(IDy210a-IDy210b),'--');
+   xlabel('IDBPM Position [meters]');
+   ylabel('IDBPM Drift [microns]');
+   legend(['Horizontal  '],['Vertical    '],0);
+   axis tight;
+   xaxis([0 200]);
+end
+
+set(h3,'units','normal','position',[.5+Buffer .1+Buffer .5-2*Buffer .5-2*Buffer-HeightBuffer]);
+addlabel(1,0,[num2str(GeVnum),' GeV, ', FFDate]);
+orient tall
+
+
+% Rate of change
+ExtraPlots = 1;
+if ExtraPlots == 1 
+   % Rate of change
+   N = size(tableX,1);
+   h4=figure;
+   subplot(2,1,1);
+   plot(tableX(2:N,1),diff(tableX(:,2))./diff(tableX(:,1)),'-', tableX(2:N,1),diff(tableX(:,3))./diff(tableX(:,1)),'--');
+   %xlabel('Gap Position [mm]');
+   ylabel('Horizontal [amps/mm]');
+   title(['Corrector Magnet Rates for Sector ', num2str(Sector)]);
+   axis tight;
+   legend(['HCM4, Sector ',num2str(Sector-1),'  '], ['HCM1, Sector ',num2str(Sector),'  '],0);
+      
+   subplot(2,1,2); hold off
+   plot(tableY(2:N,1),diff(tableY(:,2))./diff(tableY(:,1)),'-', tableY(2:N,1),diff(tableY(:,3))./diff(tableY(:,1)),'--');
+   xlabel('Gap Position [mm]');
+   ylabel('Vertical [amps/mm]'); 
+   axis tight;
+   legend(['VCM4, Sector ',num2str(Sector-1),'  '], ['VCM1, Sector ',num2str(Sector),'  '],0);
+   set(h4,'units','normal','position',[.0+Buffer .1+Buffer .5-2*Buffer .5-2*Buffer-HeightBuffer]);
+   addlabel(1,0,[num2str(GeVnum),' GeV, ', FFDate]);
+   orient tall
+      
+   FigureHandles = [h1;h2;h3;h4];
+else
+   FigureHandles = [h1;h2;h3];       
+end
+
+
+if 0
+   figure
+   subplot(2,1,1);
+   plot(tableX(:,1),tableX(:,2)*407,'-', tableX(:,1),tableX(:,3)*407,'--');
+   %xlabel('Gap Position [mm]');
+   ylabel('Corrector Strength [Gauss CM]');
+   title(['Insertion Device Feedfoward Table for Sector ', num2str(Sector)]);      
+   axis tight;
+   legend(['HCM4, Sector ',num2str(Sector-1),'  '], ...
+          ['HCM1, Sector ',num2str(Sector),  '  '],0);
+   
+   subplot(2,1,2);
+   plot(tableY(:,1),tableY(:,2)*171,'-', tableY(:,1),tableY(:,3)*171,'--');
+   xlabel('Gap Position [mm]');
+   ylabel('Corrector Strength [Gauss CM]');
+   legend(['VCM4, Sector ',num2str(Sector-1),'  '], ...
+          ['VCM1, Sector ',num2str(Sector),  '  '],0);
+   axis tight;
+   set(h1,'units','normal','position',[.0+Buffer .5+Buffer .5-2*Buffer .5-2*Buffer-HeightBuffer]);
+   addlabel(1,0,[num2str(GeVnum),' GeV, ', FFDate]);
+   orient tall
+end
+
+
+%  figure(2); clf;
+%  subplot(2,1,1); hold off
+%  plot(h1(:,1),h1(:,2)*BLeffHCM,'-r', h1(:,1),h1(:,3)*BLeffHCM,'--r');
+%  xlabel('Gap Position [mm]');
+%  ylabel('Horizontal Corrector Strength [G cm]');
+%
+%  if GeVnum == 1.9
+%    title(['Insertion Device Feedfoward Table for Sector ', num2str(Sector),' at 1.9 GeV']);
+%  elseif GeVnum == 1.5
+%    title(['Insertion Device Feedfoward Table for Sector ', num2str(Sector),' at 1.5 GeV']);
+%  elseif GeVnum == 1.0
+%    title(['Insertion Device Feedfoward Table for Sector ', num2str(Sector),' at 1.0 GeV']);
+%  end
+%
+%  legend('-r',  ['HCM4, Sector ',num2str(Sector-1),'  '], ...
+%         '--r', ['HCM1, Sector ',num2str(Sector),'  ']);
+%
+%  subplot(2,1,2); hold off
+%  plot(v1(:,1),v1(:,2)*BLeffVCM,'-r', v1(:,1),v1(:,3)*BLeffVCM,'--r');
+%  xlabel('Gap Position [mm]');
+%  ylabel('Vertical Corrector Strength [G cm]');
+%
+%  legend('-r',  ['VCM4, Sector ',num2str(Sector-1),'  '], ...
+%         '--r', ['VCM1, Sector ',num2str(Sector),'  ']);
+
+
+%%  Plot integrated kick stuff
+%  figure(7); clf;
+%  subplot(2,1,1); 
+%  plot(h1(:,1),h1(:,2)*BLeffHCM+h1(:,3)*BLeffHCM,'-r'); hold on;
+%  plot(v1(:,1),v1(:,2)*BLeffVCM+v1(:,3)*BLeffVCM,'--g'); hold off;
+%  xlabel('Gap Position [mm]');
+%  ylabel('Integrated B dl [G cm]');
+%
+%  if GeVnum == 1.9
+%    title(['Insertion Device Feedfoward Table for Sector ', num2str(Sector),' at 1.9 GeV']);
+%  elseif GeVnum == 1.5
+%    title(['Insertion Device Feedfoward Table for Sector ', num2str(Sector),' at 1.5 GeV']);
+%  elseif GeVnum == 1.0
+%    title(['Insertion Device Feedfoward Table for Sector ', num2str(Sector),' at 1.0 GeV']);
+%  end
+%
+%  legend('Horizontal','Vertical');
+%
+%  subplot(2,1,2);
+%  plot(h1(:,1),Leff*(h1(:,2)*BLeffHCM/Leff).^2+Leff*(h1(:,3)*BLeffHCM/Leff).^2,'-r'); hold on;
+%  plot(v1(:,1),Leff*(v1(:,2)*BLeffVCM/Leff).^2+Leff*(v1(:,3)*BLeffVCM/Leff).^2,'--g'); hold off;
+%  xlabel('Gap Position [mm]');
+%  ylabel('Integrated (B^2 dl) [G^2 cm]');
+%
+%  legend('Horizontal','Vertical');
+
+
Index: /trunk/machine/SOLEIL/StorageRing/feedforward/ffcompare.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/feedforward/ffcompare.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/feedforward/ffcompare.m	(revision 17)
@@ -0,0 +1,184 @@
+function ffcompare
+
+
+BLeffHCM = 410;  % gauss cm / amp;
+BLeffVCM = 171;  % gauss cm / amp; 
+Leff = 55;       % cm
+labelmat = [];
+
+DirStart = pwd;
+gotodata
+cd gaptrack
+cd archive
+
+figure
+ha=subplot(2,2,1);
+hb=subplot(2,2,2);
+hc=subplot(2,2,3);
+hd=subplot(2,2,4);
+
+SectorIn = menu('Which Sector?','4','5','7','8','9','10','12','Cancel');   
+if SectorIn == 1
+   Sector = 4;
+elseif SectorIn == 2
+   Sector = 5;
+elseif SectorIn == 3
+   Sector = 7;
+elseif SectorIn == 4
+   Sector = 8;
+elseif SectorIn == 5
+   Sector = 9;
+elseif SectorIn == 6
+   Sector = 10;
+elseif SectorIn == 7
+   Sector = 12;
+elseif SectorIn == 8
+   return
+end
+if Sector == 0
+   return;
+end
+
+for i = 1:100000
+   % Load the table1
+   [Datafn, DirStr] = uigetfile(sprintf('id%02d*.mat', Sector), 'Choose the desired feed forward file (Cancel to stop).');
+   if Datafn == 0
+      % Return of original directory
+      eval(['cd ', DirStart]);
+      
+      %subplot(2,2,1);
+      axes(ha);
+      title('');
+      hold off
+      axis tight
+      %subplot(2,2,2);
+      axes(hb);
+      title('');
+      hold off
+      axis tight
+      %subplot(2,2,3);
+      axes(hc);
+      title('');
+      hold off
+      axis tight
+      %subplot(2,2,4);
+      axes(hd);
+      title('');
+      hold off
+      axis tight
+      orient landscape
+      
+      h=addlabel(.5,1,sprintf('Sector %d Feed Forward Tables', Sector1),12);
+      set(h,'HorizontalAlignment','center');
+      
+      for j = 1:size(labelmat,1)
+         h=addlabel(1,1-.02*(j-1),labelmat(j,:),7);
+         set(h,'color',labelcmat(j,:));
+         %set(h(j),'EraseMode','background');
+         %set(h(j),'EraseMode','Normal');
+         %set(h(j),'EraseMode','xor');
+      end
+      
+      return
+   end
+   
+   
+   eval(['load ', DirStr, Datafn]);
+   h1 = tableX;
+   v1 = tableY;
+   Sector1 = str2num(Datafn(3:4));
+   GeVnum1 = str2num(Datafn(6:7))/10;
+   
+   
+   cmat = get(gca,'ColorOrder');
+   icolor=rem(i-1,size(cmat,1))+1;
+   
+   %ha=subplot(2,2,1);
+   axes(ha);
+   plot(h1(:,1),h1(:,2),'color',cmat(icolor,:));
+   xlabel('Gap Position [mm]');
+   ylabel(sprintf('HCM(%d,%d) [amps]',Sector1-1,4));
+   title(sprintf('Sector %d Table at %.1f GeV', Sector1, GeVnum1));
+   hold on
+   
+   %hb=subplot(2,2,3);
+   axes(hb);
+   plot(h1(:,1),h1(:,3),'color',cmat(icolor,:));
+   xlabel('Gap Position [mm]');
+   ylabel(sprintf('HCM(%d,%d) [amps]',Sector1,1));
+   title(sprintf('Sector %d Table at %.1f GeV', Sector1, GeVnum1));
+   hold on
+   
+   %hc=subplot(2,2,2);
+   axes(hc);
+   plot(v1(:,1),v1(:,2),'color',cmat(icolor,:));
+   xlabel('Gap Position [mm]');
+   ylabel(sprintf('VCM(%d,%d) [amps]',Sector1-1,4));
+   title(sprintf('Sector %d Table at %.1f GeV', Sector1, GeVnum1));
+   hold on
+   
+   %hd=subplot(2,2,4);
+   axes(hd);
+   plot(v1(:,1),v1(:,3),'color',cmat(icolor,:));
+   xlabel('Gap Position [mm]');
+   ylabel(sprintf('VCM(%d,%d) [amps]',Sector1,1));
+   title(sprintf('Sector %d Table at %.1f GeV', Sector1, GeVnum1));
+   hold on
+   
+   fprintf('  %d.  %s  Sector %d  %.1f GeV\n', i, FFDate, Sector1, GeVnum1);
+   
+   labelmat = strvcat(labelmat, sprintf('%s, Sector %d, %.1f GeV', FFDate, Sector1, GeVnum1));
+   labelcmat(i,:) = cmat(icolor,:);
+   %h(i)=addlabel(1,1-.03*i,sprintf('%s  Sector %d  %.1f GeV', FFDate, Sector1, GeVnum1),7);
+   %set(h(i),'color',cmat(icolor,:));
+   
+   for j = 1:i
+      h=addlabel(1,1-.02*(j-1),labelmat(j,:),7);
+      set(h,'color',labelcmat(j,:));
+      %set(h(j),'EraseMode','background');
+      %set(h(j),'EraseMode','Normal');
+      %set(h(j),'EraseMode','xor');
+   end
+   
+   drawnow
+end
+
+
+
+return
+
+
+
+
+
+% Load the table2
+[Datafn, DirStr] = uigetfile('*.mat', 'Choose the desired feed forward file.');
+eval(['load ', DirStr, Datafn]);
+h1 = tableX;
+v1 = tableY;
+Sector2 = str2num(Datafn(3:4));
+GeVnum2 = str2num(Datafn(6:7))/10;
+
+
+subplot(2,1,1);
+plot(h1(:,1),h1(:,2),'-.r', h1(:,1),h1(:,3),':g');
+hold off;
+xlabel('Gap Position [mm]');
+ylabel('Horizontal Corrector Strength [amps]');
+title(['Insertion Device Feedfoward Tables']);
+legend(['HCM4, Sector ',num2str(Sector1-1),'  ', num2str(GeVnum1), ' GeV'], ...
+       ['HCM1, Sector ',num2str(Sector1),'  ',   num2str(GeVnum1), ' GeV'], ...
+       ['HCM4, Sector ',num2str(Sector2-1),'  ', num2str(GeVnum2), ' GeV'], ...
+       ['HCM1, Sector ',num2str(Sector2),'  ',   num2str(GeVnum2), ' GeV']);
+
+
+subplot(2,1,2);
+plot(v1(:,1),v1(:,2),'-.r', v1(:,1),v1(:,3),':g');
+hold off;
+xlabel('Gap Position [mm]');
+ylabel('Vertical Corrector Strength [amps]');
+title(['Insertion Device Feedfoward Tables']);
+legend(['VCM4, Sector ',num2str(Sector1-1),'  ', num2str(GeVnum1), ' GeV'], ...
+       ['VCM1, Sector ',num2str(Sector1),'  ',   num2str(GeVnum1), ' GeV'], ...
+       ['VCM4, Sector ',num2str(Sector2-1),'  ', num2str(GeVnum2), ' GeV'], ...
+       ['VCM1, Sector ',num2str(Sector2),'  ',   num2str(GeVnum2), ' GeV']);
Index: /trunk/machine/SOLEIL/StorageRing/feedforward/ffgettbl.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/feedforward/ffgettbl.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/feedforward/ffgettbl.m	(revision 17)
@@ -0,0 +1,571 @@
+function ffgettbl(Sector, BPMFlag, QUADGenFlag)
+%FFGETBL - Gets a new insertion device feedforward table
+% ffgettbl(Sector, BPMFlag(1=BPM, 2=IDBPM), QUADGenFlag (0-take the old quad table, else){0})
+%
+% This function generates the feed forward tables necessary for insertion device compensation.
+%
+% See also fftest, ffanal
+
+%
+% Written by ALS people
+
+% TODO
+% Needs adaptation for SOLEIL
+
+alsglobe
+
+% Initialize
+if nargin < 3
+   QUADGenFlag = 0;  % 0 -> Do not compute a quadrupole table 
+end
+
+% Check bpm sample rate
+checkbpmavg(2);
+checkidbpmavg(2);
+sca_sleep(.5);
+
+% Initialization
+BPMTol = .005;
+BPMIter = 5;
+IDBPMTol = .0003;
+IDBPMIter = 5;
+
+Navg = 1;
+IDVel = 3.33;
+FFDate = date;
+FFClock = clock;
+FFGeV = GeV;
+
+gap=[];
+hcm=[];
+vcm=[];
+
+
+% Check/Get inputs 
+if isempty(GLOBAL_SR_GEV)
+	disp('  Storage ring energy is unknown.  Run alsinit then run ffgettbl.'); disp(' ');
+	return;
+end
+
+
+disp([' ']); disp(' '); 
+disp(['       INSERTION DEVICE FEED FORWARD TABLE GENERATION APPLICATION']);
+disp([' ']);
+disp(['  This program will generate a feed forward table at ',num2str(GeV), ' GeV.  If this is']);
+disp('  not the correct beam energy, exit (enter 0 for Sector) and run alsinit.');
+disp('  Before continuing, make sure the following conditions are true.  ');
+disp('                    1.  Multi-bunch mode.');
+disp('                    2.  FF disabled.');
+disp('                    3.  Gap Control disabled.');
+disp('                    4.  Current range: typically 35-45 mAmps, but any current should be OK.');
+disp('                    5.  Production corrector magnet set.');
+disp('                    6.  Bumps off and BTS 3 and 4 set to zero current.');
+disp('                    7.  BPMs calibrated.');
+disp('                    8.  Set the insertion device Velocity Profiling off (0) (just for speed).');
+disp('                    9.  Slow orbit feedback off.');
+
+if QUADGenFlag
+   disp('                   10.  Tune measure system must be on (time between updates < 5 seconds).');
+end
+
+if nargin < 1
+   %Sector = input('                    Sector (0-exit, 4, 5, 7, 8, 9, 12) = ');
+   SectorIn = menu(str2mat(sprintf('%.1f GeV Feed Forward Generation',GeV),'Feed forward must be off!',' ','Which insertion device?'),'4-vertical','4-longitudinal','5','7','8','9','10','12','Cancel');   
+   if SectorIn == 1
+      % Sector 4 vertical using new feedforward method
+      Sector = 4;
+      ffgettblepugap;
+      return
+   elseif SectorIn == 2
+      % Sector 4 longitudinal using new feedforward method
+      Sector = 4;
+      ffgettblepushift;
+      %ffgettblepu;  % old method
+      return
+   elseif SectorIn == 3
+      Sector = 5;
+   elseif SectorIn == 4
+      Sector = 7;
+   elseif SectorIn == 5
+      Sector = 8;
+   elseif SectorIn == 6
+      Sector = 9;
+   elseif SectorIn == 7
+      Sector = 10;
+   elseif SectorIn == 8
+      Sector = 12;
+   elseif SectorIn == 9
+      disp('  ffgettbl aborted.  No changes to correctors or insertion device.');
+     	return
+	end
+end
+disp(' ');
+
+if Sector == 0
+   disp('  ffgettbl aborted.  No changes to correctors or insertion device.');
+   return;
+end
+
+if Sector == 5
+   QUADFlag = 1;     % 1 -> use quadrupoles   
+else
+   QUADFlag = 0;     % 0 -> no not use quadrupoles 
+end
+
+if size(Sector) == [1 1]
+   % input ok
+else
+   disp('  ffgettbl aborted.  Input must to a scalar.');
+   return;
+end
+
+
+% Minimum and maximum gap
+[GAPmin, GAPmax] = gaplimit(Sector);
+
+
+disp(['  The insertion device for sector ',num2str(Sector),' has been selected.']);
+disp(['                    Maximum Gap = ',num2str(GAPmax),' mm']);
+disp(['                    Mimimum Gap = ',num2str(GAPmin),' mm']);
+
+if nargin < 2
+   BPMFlag = 2; %menu1('Which BPM family to use for table generation?','96 arc sector BPMs only.','Straight section IDBPMs only.','Exit program.');
+end
+if isempty(BPMFlag)
+   BPMFlag = 2; 
+end
+
+if BPMFlag > 2
+   disp('  ffgettbl aborted, BPMFlag > 2.  No changes to correctors or insertion device.');
+   return;
+end
+
+disp(['  Data collection started.  Figures 1 and 2 show the difference orbits between the maximum']);
+disp(['  gap and the current gap position after the feed forward correction has been applied. ']);
+disp(['  Ideally, these plots should be a straight line thru zero, however, due to orbit drift, BPM']);
+disp(['  noise, and feed forward imperfections one can expect 10 or 20 microns of combined errors']);
+disp(['  to accumulate before minimum gap is reached (hopefully not any more than that).']);
+disp([' ']);
+
+
+% Change to physics data directory
+DirStart = pwd;
+gotodata
+cd gaptrack
+
+
+if QUADGenFlag==0 & QUADFlag
+   disp('  Reading the old feed forward table for quadrupole compensation.');
+   [tableXold, tableYold, tableQold] = fftable(Sector, GeV);
+end
+
+
+% Create output file names
+tmp = clock;
+year   = tmp(1);
+month  = tmp(2);
+day    = tmp(3);
+hour   = tmp(4);
+minute = tmp(5);
+seconds= tmp(6);
+matfn1   = sprintf('id%02de%.0f', Sector, 10*GeV);
+matfn2   = sprintf('id%02de%.0f_%4d-%02d-%02d', Sector, 10*GeV, year, month, day);
+textfn1 = sprintf('id%02de%.0f.txt', Sector, 10*GeV);
+textfn2 = sprintf('id%02de%.0f_%4d-%02d-%02d.txt', Sector, 10*GeV, year, month, day);
+
+
+% Setup figures
+Buffer = .01;
+HeightBuffer = .05;
+
+h1=figure;
+set(h1,'units','normal','position',[.0+Buffer .5+Buffer .5-2*Buffer .5-2*Buffer-HeightBuffer]);
+
+h2=figure(h1+1);
+set(h2,'units','normal','position',[.5+Buffer .5+Buffer .5-2*Buffer .5-2*Buffer-HeightBuffer]);
+
+
+% Corrector magnet and BPM lists
+HCMlist1 = [Sector-1 8;
+            Sector   1];
+
+VCMlist1 = [Sector-1 8;
+            Sector   1];
+
+HCMlistQuad = [Sector-1 2;
+               Sector   7];
+
+VCMlistQuad = [Sector-1 2;
+               Sector   7];
+
+IDBPMlist1 = IDBPMlist;   % Remove the IDBPMs in the sector where the ID is located.
+RemoveElem = find(Sector==IDBPMlist(:,1));
+IDBPMlist1(RemoveElem,:) = [];
+
+
+% Set gap to maximum, set velocity to maximum, velocity profile off, FF off
+setff([], 0, 0); 
+setid(Sector, GAPmax, IDVel, 1, 0);  
+scasleep(1);
+
+
+% Setbumps
+setbumps(Sector, 1);  % No sextupole correctors
+scasleep(1);
+
+
+% Starting orbit and corrector magnet
+[x210a, y210a] = getbpm(1, Navg);
+[IDx210a, IDy210a] = getidbpm(1, Navg);
+HCM0 = getsp('HCM', HCMlist1);
+VCM0 = getsp('VCM', VCMlist1);
+HCMQuad0 = getsp('HCM', HCMlistQuad);
+VCMQuad0 = getsp('VCM', VCMlistQuad);
+QF0 = getsp('QF', [Sector-1 1;Sector 2]);
+QD0 = getsp('QD', [Sector-1 1;Sector 2]);
+
+
+% Main loop
+i=1;
+gap(i,1) = getid(Sector);
+hcm(i,:) = (getsp('HCM', HCMlist1)-HCM0)';
+vcm(i,:) = (getsp('VCM', VCMlist1)-VCM0)';
+
+if QUADFlag
+   hcmquad = [];
+   vcmquad = [];
+   qf = [];
+   qd = [];
+   
+   hcmquad(i,:) = (getsp('HCM', HCMlistQuad)-HCMQuad0)';
+   vcmquad(i,:) = (getsp('VCM', VCMlistQuad)-VCMQuad0)';
+   
+   qf(i,:) = (getsp('QF', [Sector-1 1;Sector 2])-QF0)';
+   qd(i,:) = (getsp('QD', [Sector-1 1;Sector 2])-QD0)';
+   
+   if QUADGenFlag
+      scasleep(5);
+      tune(i,:) = gettune';
+   end
+end
+
+[X(:,i), Y(:,i)] = getbpm(1, Navg);
+[IDX(:,i), IDY(:,i)] = getidbpm(1, Navg);
+Xrms(i) = std(x210a-X(:,i));
+Yrms(i) = std(y210a-Y(:,i));
+XrmsGoal(i) = std(x210a-X(:,i));
+YrmsGoal(i) = std(y210a-Y(:,i));
+IterOut(i) = 1;
+
+if GAPmin < 17
+   Gaps = [(GAPmax-10):-10:60 56:-4:36 34.5:-1.5:19.5 19:-.5:GAPmin];
+elseif GAPmin < 34
+   Gaps = [(GAPmax-10):-10:60 56:-4:36 34.5:-1.5:GAPmin];
+elseif GAPmin < 55
+   Gaps = [(GAPmax-10):-10:60 56:-4:GAPmin];   
+else
+   Gaps = [(GAPmax-10):-10:GAPmin];   
+end
+
+
+for i = 2:length(Gaps)+1
+   g = Gaps(i-1);
+   
+   % Set gap   
+   setid(Sector, g, IDVel);
+   
+   % Set to old table first
+   %setsp('HCM', HCM0+tableXold(i,2:3)', HCMlist1);  % this does not seem to be a good idea
+   %setsp('VCM', VCM0+tableYold(i,2:3)', VCMlist1);  % need to linear fit the data if you do use this???
+   
+   scasleep(1);
+   
+   % Correct orbit 
+   if BPMFlag == 1
+      % BPM least squares
+      [STDfinal, IterOut(i)] = setbpm('HCM', x210a, HCMlist1, BPMelem, ...
+                                      'VCM', y210a, VCMlist1, BPMelem, BPMIter, BPMTol);
+      IDXrmsGoal(i) = STDfinal(1);
+      IDYrmsGoal(i) = STDfinal(2);
+   else
+      % IDBPM least squares
+      IDxGoal = IDx210a;
+      IDxGoal(RemoveElem) = [];
+      
+      IDyGoal = IDy210a;
+      IDyGoal(RemoveElem) = [];
+      
+      [STDfinal, IterOut(i)] = setidbpm('HCM', IDxGoal, HCMlist1, IDBPMlist1, ...
+                                        'VCM', IDyGoal, VCMlist1, IDBPMlist1, IDBPMIter, IDBPMTol);
+      IDXrmsGoal(i) = STDfinal(1);
+      IDYrmsGoal(i) = STDfinal(2);
+   end     
+   
+   
+   % Record the gap AM
+   gap(i,1) = getid(Sector);
+   
+   
+   % Correct tune
+   if QUADFlag
+      IDxGoal = getidx;
+      IDyGoal = getidy;
+      
+      if QUADGenFlag
+         % Generate a new quadrupole table
+         scasleep(5);
+         settunew(Sector, tune(1,:)', 1);
+         scasleep(1);
+         
+         % Correct orbit using IDBPM least squares
+         [STDfinal, IterOut] = setidbpm('HCM', IDxGoal, HCMlistQuad, IDBPMlist, ...
+                                        'VCM', IDyGoal, VCMlistQuad, IDBPMlist, IDBPMIter, IDBPMTol);
+         
+         scasleep(5);
+         tune(i,:) = gettune';
+         fprintf('  Gap=%.3f mm, TuneX=%.5f, TuneY=%.5f\n', gap(i), 14+tune(i,1), 8+tune(i,2));
+         pause(0);
+         
+      else
+         % Base quadrupole setting on the old table
+         tmpgap = gap(i);
+         
+         % just to make table1 work
+         if tmpgap >= tableQold(1,1)
+            tmpgap = tableQold(1,1);
+         end
+         if tmpgap <= tableQold(size(tableQold,1),1)
+            tmpgap = tableQold(size(tableQold,1),1);
+         end
+         DelQF1 = table1([tableQold(:,1) tableQold(:,2)], tmpgap);
+         DelQF2 = table1([tableQold(:,1) tableQold(:,3)], tmpgap);
+         DelQD1 = table1([tableQold(:,1) tableQold(:,4)], tmpgap);
+         DelQD2 = table1([tableQold(:,1) tableQold(:,5)], tmpgap);
+         
+         setsp('QF', QF0 + [DelQF1; DelQF2], [Sector-1 1; Sector 2]);
+         setsp('QD', QD0 + [DelQD1; DelQD2], [Sector-1 1; Sector 2]);
+         
+         if all([DelQF1 DelQF2 DelQD1 DelQD2] == [0 0 0 0])
+            % Don't correct the orbit
+         else
+            scasleep(1);
+            % Correct orbit using IDBPM least squares
+            [STDfinal, IterOut] = setidbpm('HCM', IDxGoal, HCMlistQuad, IDBPMlist, ...
+                                           'VCM', IDyGoal, VCMlistQuad, IDBPMlist, IDBPMIter, IDBPMTol);
+         end
+         
+         % Since the tune measurement system is probably not on, fill with zeros
+         tune(i,:) = [0 0];   %gettune';   
+      end
+            
+      qf(i,:) = (getsp('QF', [Sector-1 1;Sector 2])-QF0)';
+      qd(i,:) = (getsp('QD', [Sector-1 1;Sector 2])-QD0)';
+      
+      hcmquad(i,:) = (getsp('HCM', HCMlistQuad)-HCMQuad0)';
+      vcmquad(i,:) = (getsp('VCM', VCMlistQuad)-VCMQuad0)';
+   end
+   
+   
+   % Record data
+   hcm(i,:) = (getsp('HCM', HCMlist1)-HCM0)';
+   vcm(i,:) = (getsp('VCM', VCMlist1)-VCM0)';
+   [X(:,i), Y(:,i)] = getbpm(1, Navg);
+   [IDX(:,i), IDY(:,i)] = getidbpm(1, Navg);
+   
+   
+   % Statistics
+   Xrms(i) = std(x210a-X(:,i));
+   Yrms(i) = std(y210a-Y(:,i));
+   IDXrms(i) = std(IDx210a-IDX(:,i));
+   IDYrms(i) = std(IDy210a-IDY(:,i));
+
+   
+   % plot results
+   figure(h1); % BPMs
+   plot(BPMs,(X(:,i)-x210a)*1000,'r', BPMs,(Y(:,i)-y210a)*1000,'g');
+   title(['BPM Orbit Error at a ', num2str(gap(i,1)),' mm Gap']);
+   ylabel('X (red), Y (grn) Error [microns]');  
+   xlabel('BPM Position [meters]');
+   
+   figure(h2); % IDBPMs
+   plot(IDBPMs(IDBPMelem),(IDX(:,i)-IDx210a)*1000,'r', IDBPMs(IDBPMelem),(IDY(:,i)-IDy210a)*1000,'g');
+   title(['IDBPM Orbit Error at a ', num2str(gap(i,1)),' mm Gap']);
+   ylabel('X (red), Y (grn) Error [microns]');  
+   xlabel('IDBPM Position [meters]');   
+   
+   drawnow
+end
+
+
+% Minimum gap orbits
+[xmin, ymin] = getbpm(1, Navg);
+[IDxmin, IDymin] = getidbpm(1, Navg);
+
+
+% Make the FF-tables
+if QUADFlag
+   % Tables
+   tableX = [gap hcm(:,1)-hcm(1,1) hcm(:,2)-hcm(1,2) hcmquad];
+   tableY = [gap vcm(:,1)-vcm(1,1) vcm(:,2)-vcm(1,2) vcmquad];
+   tableQ = [gap qf qd tune];
+else
+   % Tables
+   tableX = [gap hcm(:,1)-hcm(1,1) hcm(:,2)-hcm(1,2)];
+   tableY = [gap vcm(:,1)-vcm(1,1) vcm(:,2)-vcm(1,2)];
+   tableQ = [];
+end
+
+
+%  Reset gap and correctors
+disp('  The insertion device gap and the correctors are being reset.'); 
+disp(' ');
+
+
+if QUADFlag
+   % Reset the quadrupole in steps (or the beam will dump)
+   i = length(gap)-2;
+   setid(Sector, gap(i), IDVel);
+   setsp('QF', QF0+qf(i,:)', [Sector-1 1;Sector 2]);
+   setsp('QD', QD0+qd(i,:)', [Sector-1 1;Sector 2]);
+   setsp('HCM', HCMQuad0+hcmquad(i,:)', HCMlistQuad);
+   setsp('VCM', VCMQuad0+vcmquad(i,:)', VCMlistQuad);
+
+   i = length(gap)-6;
+   setid(Sector, gap(i), IDVel);
+   setsp('QF', QF0+qf(i,:)', [Sector-1 1;Sector 2]);
+   setsp('QD', QD0+qd(i,:)', [Sector-1 1;Sector 2]);
+   setsp('HCM', HCMQuad0+hcmquad(i,:)', HCMlistQuad);
+   setsp('VCM', VCMQuad0+vcmquad(i,:)', VCMlistQuad);
+
+   i = length(gap)-10;
+   setid(Sector, gap(i), IDVel);
+   setsp('QF', QF0+qf(i,:)', [Sector-1 1;Sector 2]);
+   setsp('QD', QD0+qd(i,:)', [Sector-1 1;Sector 2]);
+   setsp('HCM', HCMQuad0+hcmquad(i,:)', HCMlistQuad);
+   setsp('VCM', VCMQuad0+vcmquad(i,:)', VCMlistQuad);
+   
+   % Reset to max gap values
+   setsp('QF', QF0, [Sector-1 1;Sector 2]);
+   setsp('QD', QD0, [Sector-1 1;Sector 2]);    
+   setsp('HCM', HCMQuad0, HCMlistQuad);
+   setsp('VCM', VCMQuad0, VCMlistQuad);
+end
+
+
+% Go to max gap
+setid(Sector, GAPmax, IDVel);
+setsp('HCM', HCM0, HCMlist1);
+setsp('VCM', VCM0, VCMlist1);
+
+
+% Ending orbits
+scasleep(2);
+[x210b, y210b] = getbpm(1, Navg);
+[IDx210b, IDy210b] = getidbpm(1, Navg);
+
+
+% Save in matlab/srdata/gaptrack
+% Save in Matlab format (binary format)
+CreatedGeV = GLOBAL_SR_GEV;
+CreatedDateStr = date;
+CreatedClock = clock;
+CreatedByStr = 'ffgettbl';
+ReadmeStr = sprintf('%.1f GeV feed forward table saved to %s.mat in directory %s', GLOBAL_SR_GEV, matfn1, pwd);
+idbpmlist = IDBPMlist;
+eval(['save ', matfn1,' CreatedGeV CreatedDateStr CreatedClock CreatedByStr ReadmeStr BPMFlag X Y IDX IDY x210a y210a x210b y210b IDx210a IDy210a IDx210b IDy210b xmin ymin IDxmin IDymin idbpmlist tableX tableY tableQ Xrms Yrms IDXrms IDYrms IDXrmsGoal IDYrmsGoal IterOut FFDate FFClock FFGeV']);
+
+
+% Save in text format
+fid = fopen(textfn1,'wt');
+if BPMFlag == 1
+	fprintf(fid,'#SR%02d %.1f GeV %02.0f-%02.0f-%.0f %02.0f:%02.0f:%02.0f BPM\n', Sector, GeV, month, day, year, hour, minute, seconds);
+else
+	fprintf(fid,'#SR%02d %.1f GeV %02.0f-%02.0f-%.0f %02.0f:%02.0f:%02.0f IDBPM\n', Sector, GeV, month, day, year, hour, minute, seconds);
+end
+
+if QUADFlag
+   fprintf(fid,'#Gap HCM(S-1,8) HCM(S,1) VCM(S-1,8) VCM(S,1) HCM(S-1,2) HCM(S,7) VCM(S-1,2) VCM(S,7) QF(S-1,1) QF(S,2)  QD(S-1,1) QD(S,2)\n');
+   for i=1:size(tableX,1)
+      fprintf(fid,'%.4f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f\n', tableX(i,1), tableX(i,2), tableX(i,3), tableY(i,2), tableY(i,3), hcmquad(i,1), hcmquad(i,2), vcmquad(i,1), vcmquad(i,2), qf(i,1), qf(i,2), qd(i,1), qd(i,2));
+   end
+   fclose(fid);
+else
+   % Normal FF
+   fprintf(fid,'#Gap     HCM4   HCM1   VCM4   VCM1\n');
+   for i=1:size(tableX,1)
+     fprintf(fid,'%.4f %.3f %.3f %.3f %.3f\n', tableX(i,1), tableX(i,2), tableX(i,3), tableY(i,2), tableY(i,3));
+   end
+   fclose(fid);
+end
+fprintf('  Data saved to %s\n', [pwd, '/', textfn1]);
+
+
+% Save in w:\public\matlab\gaptrack\archive with the date in the file name
+% Save in Matlab format (binary format)
+cd archive
+eval(['save ', matfn2,' CreatedGeV CreatedDateStr CreatedClock CreatedByStr ReadmeStr BPMFlag X Y IDX IDY x210a y210a x210b y210b IDx210a IDy210a IDx210b IDy210b xmin ymin IDxmin IDymin idbpmlist tableX tableY tableQ Xrms Yrms IDXrms IDYrms IDXrmsGoal IDYrmsGoal IterOut FFDate FFClock FFGeV']);
+
+% Save in text format
+fid = fopen(textfn2,'wt');
+if BPMFlag == 1
+	fprintf(fid,'#SR%02d %.1f GeV %02.0f-%02.0f-%.0f %02.0f:%02.0f:%02.0f BPM\n', Sector, GeV, month, day, year, hour, minute, seconds);
+else
+	fprintf(fid,'#SR%02d %.1f GeV %02.0f-%02.0f-%.0f %02.0f:%02.0f:%02.0f IDBPM\n', Sector, GeV, month, day, year, hour, minute, seconds);
+end
+
+if QUADFlag
+   fprintf(fid,'#Gap HCM(S-1,8) HCM(S,1) VCM(S-1,8) VCM(S,1) HCM(S-1,2) HCM(S,7) VCM(S-1,2) VCM(S,7) QF(S-1,1) QF(S,2)  QD(S-1,1) QD(S,2)\n');
+   for i=1:size(tableX,1)
+      fprintf(fid,'%.4f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f\n', tableX(i,1), tableX(i,2), tableX(i,3), tableY(i,2), tableY(i,3), hcmquad(i,1), hcmquad(i,2), vcmquad(i,1), vcmquad(i,2), qf(i,1), qf(i,2), qd(i,1), qd(i,2));
+   end
+   fclose(fid);
+else
+   % Normal FF
+   fprintf(fid,'#Gap     HCM4   HCM1   VCM4   VCM1\n');
+   for i=1:size(tableX,1)
+     fprintf(fid,'%.4f %.3f %.3f %.3f %.3f\n', tableX(i,1), tableX(i,2), tableX(i,3), tableY(i,2), tableY(i,3));
+   end
+   fclose(fid);
+end
+fprintf('  Data saved to %s\n', [pwd, '/', textfn2]);
+cd ..
+
+% Close figures then ffanal
+close(h1); 
+close(h2);
+FigureHandles = ffanal(Sector, GeV);
+
+
+disp(['  Measurement complete.  The gap position and correctors have been set back to their original setpoints.']);
+disp(['  A new table has been generated and saved to directory /home/als/physdata/matlab/srdata/gaptrack.']);
+disp(['  If the table has been successfully generated, the RMS error over the full range of gap positions will be']);
+disp(['  below 10 microns (see Fig. 2), however it is probably OK to except a table with up to 25 microns of error.']);
+disp(['           Figure ', num2str(FigureHandles(1)),'  ->  Corrector strength verses gap position.']);
+disp(['           Figure ', num2str(FigureHandles(2)),'  ->  RMS orbit distortion verses gap position.']);
+disp(['           Figure ', num2str(FigureHandles(3)),'  ->  Orbit drift during table generation verses BPM position.']);
+disp(['           Figure ', num2str(FigureHandles(4)),'  ->  Rate of Change of the Corrector Magnets.']);
+
+
+CPTableFlag = questdlg(sprintf('Copy %.1f GeV Table to the IOC?',GeV),'Feed Forward Table Complete','Yes','No','No');
+if strcmp(CPTableFlag,'No')
+   fprintf('  Use ffcopy(%d,%.1f) to copy the table over to the feed forward program.\n', Sector, GeV);
+   fprintf('  Use ffread(%d) (or the "Undulator Server" application) to force the IOC to read the new table.\n', Sector);
+else
+   ffcopy(textfn1);
+   fprintf('  For the IOC to read the new table use the "Undulator Server"\n');
+   fprintf('  application or run ffread(%d) from Matlab.\n', Sector);
+end
+
+
+% Return of original directory
+eval(['cd ', DirStart]);
+
+
+% Close figures
+%for i = 1:length(FigureHandles)
+%   close(FigureHandles(i));
+%end
+
+
+fprintf('  ffgettbl function complete.\n');
+
Index: /trunk/machine/SOLEIL/StorageRing/fonction_test/alphas/set_bump_test9_2011.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/fonction_test/alphas/set_bump_test9_2011.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/fonction_test/alphas/set_bump_test9_2011.m	(revision 17)
@@ -0,0 +1,47 @@
+function set_bump_test9_2010
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+fprintf('Kicker delay read\n')
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+fprintf('Kicker voltage read\n')
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage');  % 5.8064e+03
+fprintf('K1=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+fprintf('K2=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+fprintf('K3=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+fprintf('K4=%10.1f\n',temp.value(2))
+
+
+
+% New values 
+% REGLAGE LOW ALPHA : AJOUTER OU RETRANCHER 40 PAS
+delai0 =5621670-40-40;
+r=1.0;    % ratio global
+r1=1.02 ;   % ratio 2 derniers kicker
+k=-0;
+
+% 1 pas = 5.8 ns
+% Avec +100 NanoFarad K4
+%
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0 -1  -2  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0 +6  +2  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0 -2  +3  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0 +2  -1  + k);
+
+return
+%
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5566+20-0 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5644+20+0 )*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5543+40 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5619-30 )*r); 
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/get_alpha12.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/get_alpha12.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/get_alpha12.m	(revision 17)
@@ -0,0 +1,43 @@
+function get_alpha12
+% calcul a1 a2
+% on fit :
+% a1^2 - 4a2*df/f=(2*pi*E0/h/V/cc)^2/F0^4 * f^4
+% sur mesure de f : frï¿œquence synchrotron
+
+
+V=2.8; % tension RF
+E0=2750;
+U0=0.944;
+cc=1; %U0/V; % synchronous phase
+h=416;
+frf=getrf*1e6;
+F0=frf/416;
+A=(2*pi*E0/h/V/cc)^2/F0^4;
+
+
+% regression lineaire
+load scan_freq.mat df fs
+% df : scan en frequence RF en Hz
+% fs ; mesure du frequence sybchrotron en Hz
+
+x =df/frf;
+y =A*fs.^4;
+p = polyfit(x,y,2);
+x1 =(min(x):(max(x)-min(x))/100  :max(x));
+yval = polyval(p,x1)
+a2=p(2)/4;
+a1=sqrt(p(3));
+
+figure(2)
+%plot(df,fs,'-ob'); hold on
+plot(x,y,'ob'); hold on
+plot(x1,yval,'-r'); hold off
+grid on
+title(sprintf('alpha1 = %1.2e alpha2=%1.2e', a1,a2));
+
+
+fprintf('Alpha fit : \n')
+fprintf('   Alpha1 = %d \n',a1)
+fprintf('   Alpha2 = %d \n',a2)
+
+
Index: /trunk/machine/SOLEIL/StorageRing/get_alpha_bucket_data.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/get_alpha_bucket_data.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/get_alpha_bucket_data.m	(revision 17)
@@ -0,0 +1,49 @@
+function get_alpha_bucket_data
+% just get setpoint and MRSV and pinhole
+
+% ans setpoint
+for iQ = 1:10
+    Name = ['Q' num2str(iQ)];
+    A = getam((Name),'Online');
+    IQ(iQ) = A(1);
+end
+for iS = 1:10
+    Name = ['S' num2str(iS)];
+    A = getam((Name),'Online');
+    IS(iS) = A(1);
+end
+IHCOR=getam('HCOR');
+IVCOR=getam('VCOR');
+machine.QP=IQ;
+machine.SX=IS;
+machine.CH=IHCOR;
+machine.CV=IVCOR;
+
+
+% ans data
+cur=getdcct;
+tune=gettune;
+Frf =getrf;
+X=getx;
+Z=getz;
+beam.cur=cur;
+beam.tune=tune;
+beam.Frf=Frf;
+beam.X=X;
+beam.Z=Z;
+
+
+% MRSV
+temp=tango_read_attribute2('ANS-C01/DG/MRSV-IMAGEANALYZER ','XProj');MRSV_XProj=temp.value;
+temp=tango_read_attribute2('ANS-C01/DG/MRSV-IMAGEANALYZER ','InputImage');MRSV_Image=temp.value;
+MRSV.Xproj=MRSV_XProj;
+MRSV.image=MRSV_Image;
+
+
+%save data
+file=[appendtimestamp('alpha') '.mat'];
+save(file, 'machine' ,'beam' ,'MRSV')
+
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/getall.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/getall.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/getall.m	(revision 17)
@@ -0,0 +1,57 @@
+function getall
+%GETALL - Creates proxy for all magnet (typically used once at initialization)
+%
+
+% 
+% Written by Laurent S. Nadolski, April 2004
+%
+% TODO
+% Where are stored the Proxies ? see with handles (location for storing w/ EPICS)
+
+%getam(cellstr(liste(1:end-4,:)))
+
+liste = cellstr(getfamilylist);
+
+%% BPM
+figure
+subplot(2,1,1)
+plot(getam(liste{1}));
+title('BPM')
+subplot(2,1,2)
+plot(getam(liste{2}));
+
+pause(0.2)
+%% CORRECTOR
+figure
+subplot(2,1,1)
+bar(getam(liste{3}));
+title('Correctors')
+subplot(2,1,2)
+bar(getam(liste{4}));
+pause(0.2)
+
+%% FAST CORRECTOR
+figure
+subplot(2,1,1)
+bar(getam(liste{5}));
+title('Fast correctors')
+subplot(2,1,2)
+bar(getam(liste{6}));
+pause(0.2)
+
+
+figure
+for k = 9:18 
+    subplot(5,2,k-8)
+    bar(getam(liste{k}))
+end
+suptitle('QUAD')
+pause(0.2)
+
+figure
+for k = 19:28 
+    subplot(5,2,k-18)
+    bar(getam(liste{k}))
+end
+suptitle('SEXTU')
+pause(0.2)
Index: /trunk/machine/SOLEIL/StorageRing/getbpmrawdata_mat.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/getbpmrawdata_mat.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/getbpmrawdata_mat.m	(revision 17)
@@ -0,0 +1,306 @@
+function varargout = getbpmrawdata_mat(varargin)
+% GETBPMRAWDATA - Gets turn by turn data for  BPM
+%
+%  INPUTS
+%  1. num - bpm number (scalar or vector) list ([] means all valid BPM)
+%
+%  Optional input arguments
+%  2. Optional display
+%     'Display'   - Plot BPM data X,Z, Sum, Q 
+%     'NoDisplay' - No plotting
+%  3. 'NoArchive' - No file archive {Default}
+%     'Archive'   - Save a dispersion data structure to \<Directory.BPMData>\<DispArchiveFile><Date><Time>.mat
+%                   To change the filename, included the filename after the 'Archive', '' to browse
+%                   Structure output  is forced
+%  4. 'Struct'    - Return out as a structure
+%  5. 'Freezing'  - Buffer freezing mechanism 
+%     'NoFreezing'
+%
+%  OUTPUTS
+%  structure output if 'Struct' precised
+%  AM
+%
+%  vector output
+%  1. X - Horizontal data
+%  2. Z - Vertical data
+%  3. Sum - Sum signal data
+%  4. Q  - Quadrupole signal data
+%  5. Va - electrode data
+%  6. Vb - electrode data
+%  7. Vc - electrode data
+%  8. Vd - electrode data
+%
+%  EXAMPLES
+%  1. Display BPM 18
+%      getbpmrawdata(18)
+%  2. Display all valid BPM and output data as a structure
+%      getbpmrawdata([],'Struct');
+%  3. Output all valid BPM data
+%      [X Z Sum Q Va Vb Vc Vd] = getbpmrawdata([],'NoDisplay');
+%  4. Archives BPM 17 and 18 w/o displaying
+%     getbpmrawdata([17 18],'Archive','NoDisplay');
+%  5. Archives BPM 17 and 18 w/o displaying w/ buffer freezing mechanism
+%     getbpmrawdata([17 18],'Archive','NoDisplay','Freezing');
+%
+% See Also anabpmfirstturn
+
+%
+% Written by Laurent S. Nadolski
+
+% TODO freezing mechanism: introduce group
+
+DisplayFlag = 1;
+ArchiveFlag = 0;
+StructureFlag = 0;
+FreezingFlag = 0;
+FileName='';
+varargin2 = {};
+
+if ~exist('DeviceName','var')
+    DeviceName = [];
+end
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        StructureFlag = 1;
+%        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+%        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Freezing')
+        FreezingFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoFreezing')
+        FreezingFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+AO = getfamilydata('BPMx');
+% if empty select all valid BPM
+
+if isempty(varargin)
+    num = 1:length(AO.DeviceName);
+else
+    num = varargin{1};
+    if isempty(num)
+        num = 1:length(AO.DeviceName);
+    end
+end
+
+% Status one devices
+valid  = find(AO.Status);
+num    = intersect(num,valid);
+
+if isempty(num)
+    disp('All BPM not valid')
+    return;
+end
+
+%
+% % read BPM number of samples
+% % If all not the same stop program and ask action to user
+% for k = 1:length(num)
+%     modestr{k} = char(readattribute([AO.DeviceName{num(k)} '/Mode']));
+% end
+% 
+% for k = 1:length(num)
+%     sampleNumber(k) = readattribute([AO.DeviceName{num(k)} '/NumSamples']);
+% end
+% 
+% notTheSame = sampleNumber-sampleNumber(1);
+% 
+% if ~all(strcmp(modestr,modestr{1}))
+%    disp([mfilename ' STOP!']); 
+%    error('Not all BPM in the same mode')
+%    return;
+% end
+% 
+% if (sum(notTheSame) ~= 0)
+%    disp([mfilename ' STOP!']); 
+%    error('Not all BPM with the same number of samples')
+%    return;
+% end
+
+%% Buffer freezing
+% Enable freezing mechanism
+if (FreezingFlag)
+%     hh = warndlg('BPMmanager must be stop and BPM mode be FT or TT');
+%     uiwait(hh);
+    disp([mfilename ': Enabling freezing mecanism']);
+    for k = 1:length(num)
+        tango_command_inout2(AO.DeviceName{num(k)},'EnableBufferFreezing');
+    end
+    disp([mfilename ': Freezing BPM: pseudo synchronism']);
+    for k = 1:length(num)
+        tango_command_inout2(AO.DeviceName{num(k)},'UnFreezeBuffer');
+    end    
+end
+
+%% loop of bpm list
+if length(num) > 1
+    AM.DeviceList=[];
+    for k = 1:length(num)   
+        
+        AM0 = getbpmrawdata_mat(num(k),varargin2{:},'Struct');
+        try
+            AM.DeviceName{k} = AM0.DeviceName{:};
+            AM.Data.X(k,:) = AM0.Data.X(:); AM.Data.Z(k,:) = AM0.Data.Z(:);
+            AM.Data.Sum(k,:) = AM0.Data.Sum(:); AM.Data.Q(k,:) = AM0.Data.Q(:);
+            AM.Data.Va(k,:) = AM0.Data.Va(:); AM.Data.Vb(k,:) = AM0.Data.Vb(:);
+            AM.Data.Vc(k,:) = AM0.Data.Vc(:); AM.Data.Vd(k,:) = AM0.Data.Vd(:);
+            AM.TimeStamp = datestr(now);
+            AM.DataDescriptor = ['Turn by turn data for ' getfamilydata('Machine')];
+            AM.CreatedBy = mfilename;
+            AM.DeviceList = [AM.DeviceList; AM0.DeviceList];
+        catch
+            switch lasterr
+                case 'Subscripted assignment dimension mismatch.'
+                    error('BPM do not have the same number of samples !!!')
+            end
+        end
+    end
+
+    % Disable freezing mechanism
+    if (FreezingFlag)
+        disp([mfilename ': disabling buffer freezing for BPM'])
+        for k = 1:length(num)
+            tango_command_inout2(AO.DeviceName{num(k)},'DisableBufferFreezing');
+        end
+    end
+
+else
+    %% Loop for one BPM
+    AO = getfamilydata('BPMx');
+    AO.DeviceName;
+
+    attr_name = ...
+        {'XPosDD','ZPosDD', 'QuadDD', 'SumDD', ...
+        'VaDD', 'VbDD', 'VcDD', 'VdDD'};
+    
+        
+    rep = tango_read_attributes2(AO.DeviceName{num},attr_name);
+
+    X   = rep(1).value;
+    Z   = rep(2).value;
+    Q   = rep(3).value;
+    Sum = rep(4).value;
+    Va  = rep(5).value;
+    Vb  = rep(6).value;
+    Vc  = rep(7).value;
+    Vd  = rep(8).value;
+
+    %% Display part
+
+    if DisplayFlag
+        figure
+        subplot(2,2,1)
+        plot(X)
+        ylabel('X (mm)')
+        grid on
+
+        subplot(2,2,2)
+        plot(Z)
+        ylabel('Z (mm)')
+        grid on
+
+        subplot(2,2,3)
+        plot(Sum)
+        ylabel('SUM')
+        xlabel('turn number')
+        grid on
+
+        subplot(2,2,4)
+        plot(Q)
+        ylabel('Q')
+        xlabel('turn number')
+        grid on
+        addlabel(1,0,datestr(clock));
+        suptitle(sprintf('Turn by turn data for %s',AO.DeviceName{num}))
+    end
+
+    if StructureFlag
+        AM.DeviceName = AO.DeviceName(num);
+        AM.Data.X   = X;
+        AM.Data.Z   = Z;
+        AM.Data.Sum = Sum;
+        AM.Data.Q   = Q;
+        AM.Data.Va  = Va;
+        AM.Data.Vb  = Vb;
+        AM.Data.Vc  = Vc;
+        AM.Data.Vd  = Vd;
+        %time stamp of recording
+        AM.TimeStamp = datestr(now);
+        AM.DataDescriptor = ['Turn by turn data for ' getfamilydata('Machine')];
+        AM.CreatedBy = mfilename;
+        AM.DeviceList = tango2dev(AO.Monitor.TangoNames{num});
+    end
+
+end
+
+if ArchiveFlag
+    % filling up data
+    % Archive data structure
+    if isempty(FileName)
+        FileName = appendtimestamp(getfamilydata('Default', 'BPMArchiveFile'));
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [DirectoryName FileName]
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select Dispersion File', [DirectoryName FileName]);
+        if FileName == 0
+            ArchiveFlag = 0;
+            disp('   BPM measurement canceled.');
+            FileName='';
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    elseif FileName == -1
+        FileName = appendtimestamp(getfamilydata('Default', 'BPMArchiveFile'));
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM', filesep];
+        end
+        FileName = [DirectoryName, FileName];
+    end
+
+    save(FileName,'AM');
+
+end
+
+if StructureFlag
+    varargout{1} = AM;
+else
+    if exist('AM','var') % not nice but it works
+        varargout{1} = AM.Data.X; varargout{2} =   AM.Data.Z;
+        varargout{3} = AM.Data.Sum; varargout{4} =  AM.Data.Q;
+        varargout{5} = AM.Data.Va; varargout{6} =  AM.Data.Vb;
+        varargout{7} = AM.Data.Vc; varargout{8} =  AM.Data.Vd;
+    else
+        varargout{1} = X;   varargout{2} =   Z;
+        varargout{3} = Sum; varargout{4} =  Q;
+        varargout{5} = Va;  varargout{6} =  Vb;
+        varargout{7} = Vc;  varargout{8} =  Vd;
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/getlifetime.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/getlifetime.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/getlifetime.m	(revision 17)
@@ -0,0 +1,10 @@
+function Lifetime = getlifetime  
+% GETLIFETIME - Returns lifetime
+%
+%  OUTPUTS
+%  1. Lifetime in hours
+
+%
+%  Written by Laurent S. Nadolski
+
+Lifetime = getam('LifeTime');
Index: /trunk/machine/SOLEIL/StorageRing/getrmn.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/getrmn.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/getrmn.m	(revision 17)
@@ -0,0 +1,29 @@
+function [RMN, tout, DataTime, ErrorFlag] = getrmn(varargin)
+%GETDCCT - returns the beam current
+%  [RMN, tout, DataTime, ErrorFlag] = getdcct(t, InputFlags)
+%
+%  OUTPUTS
+%  1. RMN = storage ring electron beam current
+%  
+%  INPUTS
+%  1. 'Struct' will return a data structure
+%     'Numeric' will return numeric outputs {Defaul}
+%  2. 'Physics'  - Use physics  units (optional override of units)
+%     'Hardware' - Use hardware units (optional override of units)
+%  3. 'Online' - Get data online (optional override of the mode)
+%     'Model'  - Get data from the model (optional override of the mode)
+%     'Manual' - Get data manually (optional override of the mode)
+%
+%  NOTE
+%  1. This function is just an alias for getam('RMN', ...)
+
+%
+%  Written by Laurent S. Nadolski
+
+
+if nargout > 2
+    [RMN, tout, DataTime, ErrorFlag] = getpv('RMN', 'Monitor', [], varargin{:});
+else
+    [RMN, tout] = getpv('RMN', 'Monitor', [], varargin{:});
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/gotobba.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/gotobba.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/gotobba.m	(revision 17)
@@ -0,0 +1,3 @@
+function gotobba
+
+cd(getfamilydata('Directory','BBA'))
Index: /trunk/machine/SOLEIL/StorageRing/gotoloco.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/gotoloco.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/gotoloco.m	(revision 17)
@@ -0,0 +1,3 @@
+function gotoloco
+
+cd(getfamilydata('Directory','LOCOData'))
Index: /trunk/machine/SOLEIL/StorageRing/hwinit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/hwinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/hwinit.m	(revision 17)
@@ -0,0 +1,13 @@
+function hwinit(varargin)
+%HWINIT - This function initializes the storage ring parameters the user operation
+
+
+DisplayFlag = 1;
+
+fprintf('   Initializing storage ring parameters (srinit)\n')
+
+% put here stuffs for  a good startup with user
+
+fprintf('\n');
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/.cvsignore	(revision 17)
@@ -0,0 +1,2 @@
+changes
+Old_COD
Index: /trunk/machine/SOLEIL/StorageRing/insertions/ANALYSE_INTEGRALES.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/ANALYSE_INTEGRALES.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/ANALYSE_INTEGRALES.m	(revision 17)
@@ -0,0 +1,273 @@
+function varargout = ANALYSE_INTEGRALES(varargin)
+% ANALYSE_INTEGRALES M-file for ANALYSE_INTEGRALES.fig
+%      ANALYSE_INTEGRALES, by itself, creates a new ANALYSE_INTEGRALES or raises the existing
+%      singleton*.
+%
+%      H = ANALYSE_INTEGRALES returns the handle to a new ANALYSE_INTEGRALES or the handle to
+%      the existing singleton*.
+%
+%      ANALYSE_INTEGRALES('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ANALYSE_INTEGRALES.M with the given input arguments.
+%
+%      ANALYSE_INTEGRALES('Property','Value',...) creates a new ANALYSE_INTEGRALES or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before ANALYSE_INTEGRALES_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to ANALYSE_INTEGRALES_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help ANALYSE_INTEGRALES
+
+% Last Modified by GUIDE v2.5 06-Jul-2010 17:17:35
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @ANALYSE_INTEGRALES_OpeningFcn, ...
+                   'gui_OutputFcn',  @ANALYSE_INTEGRALES_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before ANALYSE_INTEGRALES is made visible.
+function ANALYSE_INTEGRALES_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to ANALYSE_INTEGRALES (see VARARGIN)
+
+% Choose default command line output for ANALYSE_INTEGRALES
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes ANALYSE_INTEGRALES wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = ANALYSE_INTEGRALES_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function edit_IDName_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_IDName (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_IDName as text
+%        str2double(get(hObject,'String')) returns contents of edit_IDName as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_IDName_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_IDName (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_SESSION_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_SESSION (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_SESSION as text
+%        str2double(get(hObject,'String')) returns contents of edit_SESSION as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_SESSION_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_SESSION (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Xmin_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Xmin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Xmin as text
+%        str2double(get(hObject,'String')) returns contents of edit_Xmin as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Xmin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Xmin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Xmax_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Xmax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Xmax as text
+%        str2double(get(hObject,'String')) returns contents of edit_Xmax as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Xmax_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Xmax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_gap_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_gap (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_gap as text
+%        str2double(get(hObject,'String')) returns contents of edit_gap as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_gap_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_gap (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Step_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Step (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Step as text
+%        str2double(get(hObject,'String')) returns contents of edit_Step as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Step_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Step (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_gapmax_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_gapmax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_gapmax as text
+%        str2double(get(hObject,'String')) returns contents of edit_gapmax as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_gapmax_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_gapmax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_BPMtoSkip_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_BPMtoSkip (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_BPMtoSkip as text
+%        str2double(get(hObject,'String')) returns contents of edit_BPMtoSkip as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_BPMtoSkip_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_BPMtoSkip (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+% --- Executes on button press in APPLY.
+function APPLY_Callback(hObject, eventdata, handles)
+% hObject    handle to APPLY (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+IDName=get(handles.edit_IDName,'String');
+SESSION=get(handles.edit_SESSION,'String');
+BPMtoSkip=get(handles.edit_BPMtoSkip,'String');
+Xmin=str2double(get(handles.edit_Xmin,'String'));
+Xmax=str2double(get(handles.edit_Xmax,'String'));
+Step=str2double(get(handles.edit_Step,'String'));
+gap=str2double(get(handles.edit_gap,'String'));
+gapmax=str2double(get(handles.edit_gapmax,'String'));
+
+Analyse_Bump_InVac(IDName,SESSION,Xmin,Xmax,Step,gap,gapmax,BPMtoSkip)
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/AnalyseOnAxisIntegralAndFixTheGapStep.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/AnalyseOnAxisIntegralAndFixTheGapStep.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/AnalyseOnAxisIntegralAndFixTheGapStep.m	(revision 17)
@@ -0,0 +1,25 @@
+function AnalyseOrbitAndFixTheGapStep(SESSION,CellName,SSType,UndType,TableName,OrbitMax)
+UndNameAndPath=['/usr/Local/configFiles/InsertionFFTables/' CellName '-' UndType '/' TableName]
+ID_param=importdata(UndNameAndPath);
+param_length=length(ID_param);
+t0=1; % time between points
+
+% ID_param(i,j):
+%               ID_param(1,j): line corresponding to the gap for any value of j
+%               ID_param(2,j): line corresponding to CHE for any value of j
+%               ID_param(3,j): line corresponding to CHS for any value of j
+%               ID_param(4,j): line corresponding to CVE for any value of j
+%               ID_param(5,j): line corresponding to CVS for any value of j
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ATTRIBUTE OF THE INSERTION DEVICE
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+idDevServGap=[CellName '/ei/' SSType '-' UndType '/gap'];
+idDevServDiag=[CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionX']
+for j=param_length:-1:1
+    Gap(j)=ID_param(1,j)
+%    writeattribute(idDevServGap,Gap(j));
+    pause(t0);
+    readattribute(idDevServDiag,PosX(j));
+end
+Gradient=diff(PosX)./diff(Gap);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/AnalyseOrbitAndFixTheGapStep.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/AnalyseOrbitAndFixTheGapStep.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/AnalyseOrbitAndFixTheGapStep.m	(revision 17)
@@ -0,0 +1,69 @@
+function AnalyseOrbitAndFixTheGapStep(NewTable,CellName,SSType,UndType,TableName,OrbitMax)
+% SESSION: Folder where the data are stored: must be created previously
+% CellName: name of the cell in the SR: for ex. ANS-C11
+% SSType: Type of Straight Section: C or M or L
+% UndType: Type of ID: U18 (CRYO), U20, U24 or WSV50
+% TableName : Name of the FF Table: for ex. FF_SIXS.txt. This table must
+% previously exists, otherwise use GenerateFFtableWithZeros which creates a
+% FF tables containing zeros with linear or exponential step
+% OrbitMax: Maximum acceptable value of the Orbit in microns
+% Example:
+% AnalyseOrbitAndFixTheGapStep('FF_TEST.txt','ANS-C03','C','WSV50','FF_PSICHE.txt',5)
+UndNameAndPath=['/usr/Local/configFiles/InsertionFFTables/' CellName '-' UndType '/' TableName]
+ID_param=importdata(UndNameAndPath);
+param_length=length(ID_param);
+t0=25; % time between points
+
+% ID_param(i,j):
+%               ID_param(1,j): line corresponding to the gap for any value of j
+%               ID_param(2,j): line corresponding to CHE for any value of j
+%               ID_param(3,j): line corresponding to CHS for any value of j
+%               ID_param(4,j): line corresponding to CVE for any value of j
+%               ID_param(5,j): line corresponding to CVS for any value of j
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ATTRIBUTE OF THE INSERTION DEVICE
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+idDevServGap=[CellName '/ei/' SSType '-' UndType '/gap'];
+idDevServDiagX=[CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionX'];
+idDevServDiagZ=[CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionZ'];
+fprintf('%s\t %s\t %s\n','X [microns]','Z [microns]', 'Entrefer [mm]');
+for j=param_length:-1:1
+    Gap(j)=ID_param(1,j);
+end
+
+for j=param_length:-1:1
+    writeattribute(idDevServGap,Gap(j));
+    pause(t0)
+    PosX(j)=readattribute(idDevServDiagX);
+    PosZ(j)=readattribute(idDevServDiagZ);
+    fprintf('%8.4f\t %8.4f\t %8.4f\n',PosX(j),PosZ(j),Gap(j));
+end
+Pos=(PosX.*PosX+PosZ.*PosZ).^(0.5);
+GapNew=AddPointsToStayUnderFixedValue(PosX,Gap,OrbitMax)
+fid= fopen(['/usr/Local/configFiles/InsertionFFTables/' CellName '-' UndType '/' NewTable], 'w');
+for N=1:length(GapNew)
+    fprintf(fid,'%8.1f\t',GapNew(N));
+end
+fprintf(fid,'\n'); 
+for N=1:length(GapNew)
+    CHE(N)=0;
+    fprintf(fid,'%8.4f\t',CHE(N));
+end
+fprintf(fid,'\n'); 
+for N=1:length(GapNew)
+    CHS(N)=0;
+    fprintf(fid,'%8.4f\t',CHS(N));
+end
+fprintf(fid,'\n'); 
+for N=1:length(GapNew)
+    CVE(N)=0;
+    fprintf(fid,'%8.4f\t',CVE(N));
+end
+fprintf(fid,'\n'); 
+for N=1:length(GapNew)
+    CVS(N)=0;
+    fprintf(fid,'%8.4f\t',CVS(N));
+end
+fprintf(fid,'\n'); 
+fclose(fid);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/Analyse_Bump_InVac.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/Analyse_Bump_InVac.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/Analyse_Bump_InVac.m	(revision 17)
@@ -0,0 +1,41 @@
+function Analyse_Bump_InVac(IDName,SESSION,Xmin,Xmax,Step,gap,gapmax,BPMtoSkip)
+% Calculate the field Integrals (Ix and Iz) for Horizontal Bumps inside the ID from the orbits previously stored
+% in the folder SESSION. The data in the folder SESSION must be saved in the following format: "BUMP_Xmm_GY.mat"
+% IDName: Name of the ID including the name of the BL
+% SESSION: Folder where the orbit data are saved
+% Xmin, Xmax, Step: extrema values and step of the Bumps in X (mm)
+% gap: gap of the ID 
+% gapmax: maximum gap of the ID (Background gap) 
+% BPMtoSkip: BPMs to  be skipped: ex: '[19,20]' or '[]' (default)
+% Example: Analyse_Bump_InVac('U20_GALAXIES','SESSION_27_06_10/BUMP_Gap55_Neg',-22,0,2,5.5,30, '[49,50]')
+% Analyse_Bump_InVac('WSV50_PSICHE','SESSION_28_06_10/BUMP_Gap55',-20,13,1,5.5,70,'[9,11,12,16,17,18,19,20,21,22,23,26,27,29,30,49,50,59,79,80,89,109,112]')
+
+fprintf ('%s\n','----------------------------------------------')
+fprintf ('%s\n','Entrefer[mm]      Bump[mm]         IX[G.m]         IZ[G.m]')
+i=1;
+Path=['/home/operateur/GrpGMI/' IDName '/' SESSION];
+fid= fopen([Path '/RESULTS_INTEGRALS_G' Num2Str(10*gap) '.txt'], 'w');
+fprintf (fid,'%s\n','Entrefer[mm]      Bump[mm]         IX[G.m]         IZ[G.m]')
+for X=Xmin:Step:Xmax
+    FileName=['BUMP_' Num2Str(X) 'mm_G' Num2Str(10*gap)];
+    Bckg=['BUMP_' Num2Str(X) 'mm_G' Num2Str(10*gapmax)];
+    PathAndFileName=[Path '/' FileName];
+    PathAndBckg=[Path '/' Bckg];
+    st =idCalcFldIntFromElecBeamMeasForUndSOLEIL_1(IDName,Path,PathAndFileName,PathAndBckg,'',BPMtoSkip,0,0);
+    IntegralX=st.I1X;
+    IntegralZ=st.I1Z;
+    XBump(i)=X;
+    IX(i)=IntegralX;
+    IZ(i)=IntegralZ;
+    fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\n',gap,X,IntegralX,IntegralZ);
+    fprintf(fid,'%8.4f\t %8.4f\t %8.4f\t %8.4f\n',gap,X,IntegralX,IntegralZ);
+    i=i+1;
+end
+fprintf ('%s\n','----------------------------------------------')
+plot(XBump,IX,'-or',XBump,IZ,'-ob');
+Xlabel('VALEUR DU BUMP [mm]')
+Ylabel('INTEGRALE DE CHAMP [G.m]')
+grid on
+legend('IX','IZ')
+fclose(fid)
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/Analyse_Bump_InVac_chams.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/Analyse_Bump_InVac_chams.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/Analyse_Bump_InVac_chams.m	(revision 17)
@@ -0,0 +1,26 @@
+function Analyse_Bump_InVac_chams(IDName,SESSION,Xmin,Xmax,Step,gap,gapmax,BPMtoskip)
+% Calculate the field Integrals (Ix and Iz) for Horizontal Bumps inside the ID from the orbits previously stored
+% in the folder SESSION. The data in the folder SESSION must be saved in the following format: "BUMP_Xmm_GY.mat"
+% IDName: Name of the ID including the name of the BL
+% SESSION: Folder where the orbit data are saved
+% Xmin, Xmax, Step: extrema values and step of the Bumps in X (mm)
+% gap: gap of the ID 
+% gapmax: maximum gap of the ID (Background gap) 
+% Example: Analyse_Bump_InVac('U20_SWING','SESSION_22_03_2010',-3,3,1,5.5,30, [49,50])
+
+fprintf ('%s\n','----------------------------------------------')
+fprintf ('%s\n','Entrefer[mm]      Bump[mm]         IX[G.m]         IZ[G.m]')
+for X=Xmin:Step:Xmax
+    FileName=['BUMP_' Num2Str(X) 'mm_G' Num2Str(10*gap)];
+    Bckg=['BUMP_' Num2Str(X) 'mm_G' Num2Str(10*gapmax)];
+    Path=['/home/operateur/GrpGMI/' IDName '/' SESSION];
+    PathAndFileName=[Path '/' FileName];
+    PathAndBckg=[Path '/' Bckg];
+    st =idCalcFldIntFromElecBeamMeasForUndSOLEIL_1(IDName,Path,PathAndFileName,PathAndBckg,'',BPMtoskip,0,0);
+    IntegralX=st.I1X;
+    IntegralZ=st.I1Z;
+
+    fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\n',gap,X,IntegralX,IntegralZ);
+end
+fprintf ('%s\n','----------------------------------------------')
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/CODandCorrectionTableHU640.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/CODandCorrectionTableHU640.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/CODandCorrectionTableHU640.m	(revision 17)
@@ -0,0 +1,8 @@
+
+[resFileNames, resErrorFlag]=idMeasElecBeamVsUndParam('HU640_DESIRS', {{'currentPS1', [0,600,-600,0], 0.1}}, {{'currentPS1', 0, 0.1}}, 1, 0, 'COD_PS1', 1)
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU640_DESIRS', resFileNames.params, resFileNames.filenames_meas_bkg, '', '', -1)
+
+
+idMeasElecBeamUnd('HU640_DESIRS', 0, '/home/operateur/GrpGMI/HU640_DESIRS/PS1_0_0_0', 1)
+idMeasElecBeamUnd('HU640_DESIRS', 0, '/home/operateur/GrpGMI/HU640_DESIRS/PS1_600_0_0', 1)
+Result=HU640_CalculateCorrCur('/home/operateur/GrpGMI/HU640_DESIRS/PS1_600_0_0.mat', '/home/operateur/GrpGMI/HU640_DESIRS/PS1_0_0_0.mat')
Index: /trunk/machine/SOLEIL/StorageRing/insertions/FFTABLE_INVAC.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/FFTABLE_INVAC.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/FFTABLE_INVAC.m	(revision 17)
@@ -0,0 +1,522 @@
+function varargout = FFTABLE_INVAC(varargin)
+%FFTABLE_INVAC M-file for FFTABLE_INVAC.fig
+%      FFTABLE_INVAC, by itself, creates a new FFTABLE_INVAC or raises the existing
+%      singleton*.
+%
+%      H = FFTABLE_INVAC returns the handle to a new FFTABLE_INVAC or the handle to
+%      the existing singleton*.
+%
+%      FFTABLE_INVAC('Property','Value',...) creates a new FFTABLE_INVAC using the
+%      given property value pairs. Unrecognized properties are passed via
+%      varargin to FFTABLE_INVAC_OpeningFcn.  This calling syntax produces a
+%      warning when there is an existing singleton*.
+%
+%      FFTABLE_INVAC('CALLBACK') and FFTABLE_INVAC('CALLBACK',hObject,...) call the
+%      local function named CALLBACK in FFTABLE_INVAC.M with the given input
+%      arguments.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help FFTABLE_INVAC
+
+% Last Modified by GUIDE v2.5 22-Dec-2010 04:17:52
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @FFTABLE_INVAC_OpeningFcn, ...
+                   'gui_OutputFcn',  @FFTABLE_INVAC_OutputFcn, ...
+                   'gui_LayoutFcn',  [], ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+   gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before FFTABLE_INVAC is made visible.
+function FFTABLE_INVAC_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   unrecognized PropertyName/PropertyValue pairs from the
+%            command line (see VARARGIN)
+
+% Choose default command line output for FFTABLE_INVAC
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes FFTABLE_INVAC wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = FFTABLE_INVAC_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function CellName_Callback(hObject, eventdata, handles)
+% hObject    handle to CellName (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CellName as text
+%        str2double(get(hObject,'String')) returns contents of CellName as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CellName_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CellName (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function SSType_Callback(hObject, eventdata, handles)
+% hObject    handle to SSType (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of SSType as text
+%        str2double(get(hObject,'String')) returns contents of SSType as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function SSType_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to SSType (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function UndType_Callback(hObject, eventdata, handles)
+% hObject    handle to UndType (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of UndType as text
+%        str2double(get(hObject,'String')) returns contents of UndType as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function UndType_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to UndType (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function TableName_Callback(hObject, eventdata, handles)
+% hObject    handle to TableName (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of TableName as text
+%        str2double(get(hObject,'String')) returns contents of TableName as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function TableName_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to TableName (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function SESSION_Callback(hObject, eventdata, handles)
+% hObject    handle to SESSION (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of SESSION as text
+%        str2double(get(hObject,'String')) returns contents of SESSION as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function SESSION_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to SESSION (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in APPLY.
+function APPLY_Callback(hObject, eventdata, handles)
+% hObject    handle to APPLY (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+CellName=get(handles.CellName,'String');
+SSType=get(handles.SSType,'String');
+UndType=get(handles.UndType,'String');
+TableName=get(handles.TableName,'String');
+SESSION=get(handles.SESSION,'String');
+fprintf('%s\t %s\t %s\t %s\t %s\n',SESSION,CellName,SSType,UndType,TableName)
+Update_InVacID(SESSION,CellName,SSType,UndType,TableName)
+
+
+function CurMin_Callback(hObject, eventdata, handles)
+% hObject    handle to CurMin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CurMin as text
+%        str2double(get(hObject,'String')) returns contents of CurMin as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CurMin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CurMin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function CurMax_Callback(hObject, eventdata, handles)
+% hObject    handle to CurMax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CurMax as text
+%        str2double(get(hObject,'String')) returns contents of CurMax as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CurMax_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CurMax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function CurStep_Callback(hObject, eventdata, handles)
+% hObject    handle to CurStep (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CurStep as text
+%        str2double(get(hObject,'String')) returns contents of CurStep as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CurStep_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CurStep (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function BLName_Callback(hObject, eventdata, handles)
+% hObject    handle to BLName (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of BLName as text
+%        str2double(get(hObject,'String')) returns contents of BLName as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function BLName_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to BLName (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in CorCalib.
+function CorCalib_Callback(hObject, eventdata, handles)
+% hObject    handle to CorCalib (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+CellName=get(handles.CellName,'String');
+SSType=get(handles.SSType,'String');
+UndType=get(handles.UndType,'String');
+CurMin=str2double(get(handles.CurMin,'String'));
+CurMax=str2double(get(handles.CurMax,'String'));
+CurStep=str2double(get(handles.CurStep,'String'));
+TableName=get(handles.TableName,'String');
+BLName=TableName(4:findstr(TableName,'.')-1);
+DeviceServerName=[CellName '/EI/' SSType '-' UndType ]
+FullUndName=[UndType '_' BLName]
+IdCorCalibInVac(FullUndName,DeviceServerName,CurMin,CurMax,CurStep)
+
+
+
+function edit19_Callback(hObject, eventdata, handles)
+% hObject    handle to edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit19 as text
+%        str2double(get(hObject,'String')) returns contents of edit19 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit19_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function LinExp_Callback(hObject, eventdata, handles)
+% hObject    handle to LinExp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of LinExp as text
+%        str2double(get(hObject,'String')) returns contents of LinExp as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function LinExp_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to LinExp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit21_Callback(hObject, eventdata, handles)
+% hObject    handle to edit21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit21 as text
+%        str2double(get(hObject,'String')) returns contents of edit21 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit21_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function GapMin_Callback(hObject, eventdata, handles)
+% hObject    handle to GapMin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of GapMin as text
+%        str2double(get(hObject,'String')) returns contents of GapMin as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function GapMin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to GapMin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function GapMax_Callback(hObject, eventdata, handles)
+% hObject    handle to GapMax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of GapMax as text
+%        str2double(get(hObject,'String')) returns contents of GapMax as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function GapMax_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to GapMax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Npts_Callback(hObject, eventdata, handles)
+% hObject    handle to Npts (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Npts as text
+%        str2double(get(hObject,'String')) returns contents of Npts as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Npts_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Npts (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in ZeroCurrentTable.
+function ZeroCurrentTable_Callback(hObject, eventdata, handles)
+% hObject    handle to ZeroCurrentTable (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+LinExp=str2double(get(handles.LinExp,'String'));
+CellName=get(handles.CellName,'String');
+UndType=get(handles.UndType,'String');
+GapMin=str2double(get(handles.GapMin,'String'));
+GapMax=str2double(get(handles.GapMax,'String'));
+Npts=str2double(get(handles.Npts,'String'));
+FolderAndFFTableName=['/usr/Local/configFiles/InsertionFFTables/' CellName '-' UndType '/FF_TEST.txt'];
+GenerateFFTableWithZeros(FolderAndFFTableName,GapMin,GapMax,Npts,LinExp)
+
+
+
+function edit_TABLE_AFTER_ANALYSE_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_TABLE_AFTER_ANALYSE (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_TABLE_AFTER_ANALYSE as text
+%        str2double(get(hObject,'String')) returns contents of edit_TABLE_AFTER_ANALYSE as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_TABLE_AFTER_ANALYSE_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_TABLE_AFTER_ANALYSE (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_OrbitMax_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_OrbitMax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_OrbitMax as text
+%        str2double(get(hObject,'String')) returns contents of edit_OrbitMax as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_OrbitMax_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_OrbitMax (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton6.
+function pushbutton6_Callback(hObject, eventdata, handles)
+CellName=get(handles.CellName,'String');
+SSType=get(handles.SSType,'String');
+UndType=get(handles.UndType,'String');
+TableName=get(handles.TableName,'String');
+OrbitMax=str2double(get(handles.edit_OrbitMax,'String'));
+NewTable=get(handles.edit_TABLE_AFTER_ANALYSE,'String');
+AnalyseOrbitAndFixTheGapStep(NewTable,CellName,SSType,UndType,TableName,OrbitMax)
+% hObject    handle to pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
Index: /trunk/machine/SOLEIL/StorageRing/insertions/Failure in getx or getz; trying again...
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/Failure in getx or getz; trying again...	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/Failure in getx or getz; trying again...	(revision 17)
@@ -0,0 +1,444 @@
+%!PS-Adobe-3.0 
+%%Creator: MATLAB, The Mathworks, Inc. Version 7.4.0.336 (R2007a). Operating System: Linux 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686.
+%%Title: ./Failure in getx or getz; trying again...
+%%CreationDate: 01/19/2009  14:13:27
+%%DocumentNeededFonts: Helvetica
+%%DocumentProcessColors: Cyan Magenta Yellow Black
+%%LanguageLevel: 2
+%%Pages: (atend)
+%%BoundingBox: (atend)
+%%EndComments
+
+%%BeginProlog
+% MathWorks dictionary
+/MathWorks 160 dict begin
+% definition operators
+/bdef {bind def} bind def
+/ldef {load def} bind def
+/xdef {exch def} bdef
+/xstore {exch store} bdef
+% operator abbreviations
+/c  /clip ldef
+/cc /concat ldef
+/cp /closepath ldef
+/gr /grestore ldef
+/gs /gsave ldef
+/mt /moveto ldef
+/np /newpath ldef
+/cm /currentmatrix ldef
+/sm /setmatrix ldef
+/rm /rmoveto ldef
+/rl /rlineto ldef
+/s {show newpath} bdef
+/sc {setcmykcolor} bdef
+/sr /setrgbcolor ldef
+/sg /setgray ldef
+/w /setlinewidth ldef
+/j /setlinejoin ldef
+/cap /setlinecap ldef
+/rc {rectclip} bdef
+/rf {rectfill} bdef
+% page state control
+/pgsv () def
+/bpage {/pgsv save def} bdef
+/epage {pgsv restore} bdef
+/bplot /gsave ldef
+/eplot {stroke grestore} bdef
+% orientation switch
+/portraitMode 0 def /landscapeMode 1 def /rotateMode 2 def
+% coordinate system mappings
+/dpi2point 0 def
+% font control
+/FontSize 0 def
+/FMS {/FontSize xstore findfont [FontSize 0 0 FontSize neg 0 0]
+  makefont setfont} bdef
+/reencode {exch dup where {pop load} {pop StandardEncoding} ifelse
+  exch dup 3 1 roll findfont dup length dict begin
+  { 1 index /FID ne {def}{pop pop} ifelse } forall
+  /Encoding exch def currentdict end definefont pop} bdef
+/isroman {findfont /CharStrings get /Agrave known} bdef
+/FMSR {3 1 roll 1 index dup isroman {reencode} {pop pop} ifelse
+  exch FMS} bdef
+/csm {1 dpi2point div -1 dpi2point div scale neg translate
+ dup landscapeMode eq {pop -90 rotate}
+  {rotateMode eq {90 rotate} if} ifelse} bdef
+% line types: solid, dotted, dashed, dotdash
+/SO { [] 0 setdash } bdef
+/DO { [.5 dpi2point mul 4 dpi2point mul] 0 setdash } bdef
+/DA { [6 dpi2point mul] 0 setdash } bdef
+/DD { [.5 dpi2point mul 4 dpi2point mul 6 dpi2point mul 4
+  dpi2point mul] 0 setdash } bdef
+% macros for lines and objects
+/L {lineto stroke} bdef
+/MP {3 1 roll moveto 1 sub {rlineto} repeat} bdef
+/AP {{rlineto} repeat} bdef
+/PDlw -1 def
+/W {/PDlw currentlinewidth def setlinewidth} def
+/PP {closepath eofill} bdef
+/DP {closepath stroke} bdef
+/MR {4 -2 roll moveto dup  0 exch rlineto exch 0 rlineto
+  neg 0 exch rlineto closepath} bdef
+/FR {MR stroke} bdef
+/PR {MR fill} bdef
+/L1i {{currentfile picstr readhexstring pop} image} bdef
+/tMatrix matrix def
+/MakeOval {newpath tMatrix currentmatrix pop translate scale
+0 0 1 0 360 arc tMatrix setmatrix} bdef
+/FO {MakeOval stroke} bdef
+/PO {MakeOval fill} bdef
+/PD {currentlinewidth 2 div 0 360 arc fill
+   PDlw -1 eq not {PDlw w /PDlw -1 def} if} def
+/FA {newpath tMatrix currentmatrix pop translate scale
+  0 0 1 5 -2 roll arc tMatrix setmatrix stroke} bdef
+/PA {newpath tMatrix currentmatrix pop	translate 0 0 moveto scale
+  0 0 1 5 -2 roll arc closepath tMatrix setmatrix fill} bdef
+/FAn {newpath tMatrix currentmatrix pop translate scale
+  0 0 1 5 -2 roll arcn tMatrix setmatrix stroke} bdef
+/PAn {newpath tMatrix currentmatrix pop translate 0 0 moveto scale
+  0 0 1 5 -2 roll arcn closepath tMatrix setmatrix fill} bdef
+/vradius 0 def /hradius 0 def /lry 0 def
+/lrx 0 def /uly 0 def /ulx 0 def /rad 0 def
+/MRR {/vradius xdef /hradius xdef /lry xdef /lrx xdef /uly xdef
+  /ulx xdef newpath tMatrix currentmatrix pop ulx hradius add uly
+  vradius add translate hradius vradius scale 0 0 1 180 270 arc 
+  tMatrix setmatrix lrx hradius sub uly vradius add translate
+  hradius vradius scale 0 0 1 270 360 arc tMatrix setmatrix
+  lrx hradius sub lry vradius sub translate hradius vradius scale
+  0 0 1 0 90 arc tMatrix setmatrix ulx hradius add lry vradius sub
+  translate hradius vradius scale 0 0 1 90 180 arc tMatrix setmatrix
+  closepath} bdef
+/FRR {MRR stroke } bdef
+/PRR {MRR fill } bdef
+/MlrRR {/lry xdef /lrx xdef /uly xdef /ulx xdef /rad lry uly sub 2 div def
+  newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
+  rad rad scale 0 0 1 90 270 arc tMatrix setmatrix lrx rad sub lry rad
+  sub translate rad rad scale 0 0 1 270 90 arc tMatrix setmatrix
+  closepath} bdef
+/FlrRR {MlrRR stroke } bdef
+/PlrRR {MlrRR fill } bdef
+/MtbRR {/lry xdef /lrx xdef /uly xdef /ulx xdef /rad lrx ulx sub 2 div def
+  newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
+  rad rad scale 0 0 1 180 360 arc tMatrix setmatrix lrx rad sub lry rad
+  sub translate rad rad scale 0 0 1 0 180 arc tMatrix setmatrix
+  closepath} bdef
+/FtbRR {MtbRR stroke } bdef
+/PtbRR {MtbRR fill } bdef
+/stri 6 array def /dtri 6 array def
+/smat 6 array def /dmat 6 array def
+/tmat1 6 array def /tmat2 6 array def /dif 3 array def
+/asub {/ind2 exch def /ind1 exch def dup dup
+  ind1 get exch ind2 get sub exch } bdef
+/tri_to_matrix {
+  2 0 asub 3 1 asub 4 0 asub 5 1 asub
+  dup 0 get exch 1 get 7 -1 roll astore } bdef
+/compute_transform {
+  dmat dtri tri_to_matrix tmat1 invertmatrix 
+  smat stri tri_to_matrix tmat2 concatmatrix } bdef
+/ds {stri astore pop} bdef
+/dt {dtri astore pop} bdef
+/db {2 copy /cols xdef /rows xdef mul dup string
+  currentfile 
+  3 index 0 eq {/ASCIIHexDecode filter}
+  {/ASCII85Decode filter 3 index 2 eq {/RunLengthDecode filter} if }
+  ifelse exch readstring pop
+  /bmap xdef pop pop} bdef
+/it {gs np dtri aload pop moveto lineto lineto cp c
+  cols rows 8 compute_transform 
+  {bmap} image gr}bdef
+/il {newpath moveto lineto stroke}bdef
+currentdict end def
+%%EndProlog
+
+%%BeginSetup
+MathWorks begin
+
+0 cap
+
+end
+%%EndSetup
+
+%%Page: 1 1
+%%BeginPageSetup
+%%PageBoundingBox:    67   179   598   602
+MathWorks begin
+bpage
+%%EndPageSetup
+
+%%BeginObject: obj1
+bplot
+
+/dpi2point 12 def
+portraitMode 0216 7344 csm
+
+  599   110  6369  5077 rc
+92 dict begin %Colortable dictionary
+/c0 { 0.000000 0.000000 0.000000 sr} bdef
+/c1 { 1.000000 1.000000 1.000000 sr} bdef
+/c2 { 0.900000 0.000000 0.000000 sr} bdef
+/c3 { 0.000000 0.820000 0.000000 sr} bdef
+/c4 { 0.000000 0.000000 0.800000 sr} bdef
+/c5 { 0.910000 0.820000 0.320000 sr} bdef
+/c6 { 1.000000 0.260000 0.820000 sr} bdef
+/c7 { 0.000000 0.820000 0.820000 sr} bdef
+c0
+1 j
+1 sg
+   0    0 6921 5188 rf
+6 w
+0 4227 5363 0 0 -4227 900 4616 4 MP
+PP
+-5363 0 0 4227 5363 0 0 -4227 900 4616 5 MP stroke
+4 w
+DO
+SO
+6 w
+0 sg
+ 900 4616 mt 6263 4616 L
+ 900  389 mt 6263  389 L
+ 900 4616 mt  900  389 L
+6263 4616 mt 6263  389 L
+ 900 4616 mt 6263 4616 L
+ 900 4616 mt  900  389 L
+ 900 4616 mt  900 4562 L
+ 900  389 mt  900  442 L
+%%IncludeResource: font Helvetica
+/Helvetica /ISOLatin1Encoding 120 FMSR
+
+ 867 4761 mt 
+(0) s
+1436 4616 mt 1436 4562 L
+1436  389 mt 1436  442 L
+1370 4761 mt 
+(20) s
+1972 4616 mt 1972 4562 L
+1972  389 mt 1972  442 L
+1906 4761 mt 
+(40) s
+2508 4616 mt 2508 4562 L
+2508  389 mt 2508  442 L
+2442 4761 mt 
+(60) s
+3045 4616 mt 3045 4562 L
+3045  389 mt 3045  442 L
+2979 4761 mt 
+(80) s
+3581 4616 mt 3581 4562 L
+3581  389 mt 3581  442 L
+3481 4761 mt 
+(100) s
+4117 4616 mt 4117 4562 L
+4117  389 mt 4117  442 L
+4017 4761 mt 
+(120) s
+4654 4616 mt 4654 4562 L
+4654  389 mt 4654  442 L
+4554 4761 mt 
+(140) s
+5190 4616 mt 5190 4562 L
+5190  389 mt 5190  442 L
+5090 4761 mt 
+(160) s
+5726 4616 mt 5726 4562 L
+5726  389 mt 5726  442 L
+5626 4761 mt 
+(180) s
+6263 4616 mt 6263 4562 L
+6263  389 mt 6263  442 L
+6163 4761 mt 
+(200) s
+ 900 4616 mt  953 4616 L
+6263 4616 mt 6209 4616 L
+ 799 4660 mt 
+(0) s
+ 900 3770 mt  953 3770 L
+6263 3770 mt 6209 3770 L
+ 665 3814 mt 
+(500) s
+ 900 2925 mt  953 2925 L
+6263 2925 mt 6209 2925 L
+ 599 2969 mt 
+(1000) s
+ 900 2079 mt  953 2079 L
+6263 2079 mt 6209 2079 L
+ 599 2123 mt 
+(1500) s
+ 900 1234 mt  953 1234 L
+6263 1234 mt 6209 1234 L
+ 599 1278 mt 
+(2000) s
+ 900  389 mt  953  389 L
+6263  389 mt 6209  389 L
+ 599  433 mt 
+(2500) s
+ 900 4616 mt 6263 4616 L
+ 900  389 mt 6263  389 L
+ 900 4616 mt  900  389 L
+6263 4616 mt 6263  389 L
+gs 900 389 5364 4228 rc
+27 0 27 0 27 0 27 0 26 0 27 0 27 0 27 0 
+27 0 27 0 26 0 27 0 27 0 27 0 27 0 26 0 
+27 0 27 0 27 0 27 1 27 0 26 0 27 0 27 1 
+27 0 27 1 26 1 27 1 27 1 27 1 27 1 26 2 
+27 2 27 3 27 3 27 3 27 4 26 4 27 6 27 6 
+27 7 27 8 26 10 27 10 27 13 27 14 27 15 27 18 
+26 20 27 22 27 25 27 28 27 30 26 34 27 38 27 40 
+27 45 27 49 26 53 27 57 27 62 27 66 27 71 27 76 
+26 80 27 85 27 89 27 94 27 97 26 102 27 105 27 109 
+27 111 27 114 27 115 26 117 27 118 27 117 27 117 27 115 
+26 113 27 110 27 106 27 102 27 96 26 90 27 84 27 76 
+27 68 27 60 27 50 26 41 27 31 27 21 27 11 27 0 
+26 -10 27 -21 27 -30 27 -41 27 -50 27 -59 26 -68 27 -76 
+27 -83 27 -90 27 -97 26 -101 27 -106 27 -110 27 -113 27 -115 
+26 -116 27 -118 27 -117 27 -117 27 -115 27 -114 26 -112 27 -108 
+27 -106 27 -102 27 -98 26 -93 27 -90 27 -85 27 -80 27 -76 
+27 -71 26 -66 27 -62 27 -58 27 -53 27 -49 26 -45 27 -41 
+27 -37 27 -34 27 -31 26 -28 27 -25 27 -22 27 -20 27 -18 
+27 -16 26 -14 27 -12 27 -11 27 -9 27 -9 26 -7 27 -6 
+27 -5 27 -5 27 -4 27 -3 26 -3 27 -3 27 -2 27 -2 
+27 -1 26 -1 27 -1 27 -1 27 -1 27 -1 26 0 27 -1 
+27 0 27 0 27 0 27 -1 26 0 27 0 27 0 27 0 
+27 0 26 0 27 0 27 0 27 0 27 0 27 0 26 0 
+27 0 27 0 27 0 27 0 26 0 27 0 27 0 27 0 
+27 0 926 4546 194 MP stroke
+27 5 27 -8 27 -10 27 7 26 13 27 -11 27 5 27 3 
+27 -5 27 5 26 -6 27 1 27 8 27 -6 27 -3 26 13 
+27 -11 27 5 27 5 27 -1 27 -3 26 -1 27 3 27 -3 
+27 13 27 0 26 -4 27 -5 27 7 27 3 27 -2 26 12 
+27 -2 27 -1 27 6 27 5 27 -5 26 11 27 8 27 5 
+27 6 27 2 26 19 27 9 27 11 27 13 27 19 27 8 
+26 30 27 12 27 24 27 32 27 17 26 44 27 19 27 55 
+27 32 27 45 26 47 27 56 27 54 27 67 27 65 27 66 
+26 97 27 62 27 120 27 67 27 93 26 103 27 110 27 96 
+27 121 27 117 27 75 26 167 27 83 27 149 27 102 27 136 
+26 110 27 104 27 135 27 80 27 80 26 99 27 102 27 90 
+27 67 27 44 27 50 26 92 27 -12 27 48 27 -14 27 -45 
+26 45 27 -46 27 -38 27 -5 27 -56 27 -63 26 -76 27 -78 
+27 -70 27 -116 27 -97 26 -90 27 -128 27 -104 27 -102 27 -114 
+26 -147 27 -100 27 -135 27 -114 27 -102 27 -118 26 -107 27 -100 
+27 -128 27 -78 27 -110 26 -96 27 -94 27 -67 27 -84 27 -72 
+27 -62 26 -68 27 -77 27 -30 27 -51 27 -53 26 -34 27 -44 
+27 -40 27 -36 27 -17 26 -36 27 -20 27 -30 27 -13 27 -22 
+27 -20 26 -7 27 3 27 -25 27 -8 27 -1 26 -14 27 -7 
+27 1 27 -8 27 1 27 -11 26 -2 27 2 27 1 27 -6 
+27 -10 26 -4 27 8 27 0 27 -5 27 1 26 -2 27 4 
+27 -9 27 2 27 -5 27 2 26 -3 27 8 27 -10 27 1 
+27 9 26 -6 27 1 27 -1 27 1 27 -2 27 -8 26 -1 
+27 4 27 1 27 -6 27 4 26 3 27 1 27 -4 27 2 
+27 -2 926 4531 194 MP stroke
+gr
+
+3156 4904 mt 
+(numero de pixel) s
+gs 900 389 5364 4228 rc
+gr
+
+gs 853 3229 657 1071 rc
+0 j
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 891 4214 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 918 4125 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 945 4024 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 972 3914 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 999 3798 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1025 3680 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1052 3568 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1079 3468 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1106 3385 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1133 3325 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1159 3293 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1186 3290 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1213 3317 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1240 3372 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1267 3451 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1294 3549 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1320 3660 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1347 3776 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1374 3893 11 MP
+DP
+-21 -16 8 -25 -22 15 -21 -15 8 25 -21 16 26 0 8 24 
+9 -24 26 0 1401 4005 11 MP
+DP
+gr
+
+gs 900 389 5364 4228 rc
+27 110 27 115 27 117 26 114 27 108 27 87 27 56 27 25 
+27 -3 26 -39 27 -68 27 -97 27 -104 27 -114 26 -111 27 -104 
+27 -100 27 -80 27 -73 926 4183 20 MP stroke
+gr
+
+2116  294 mt 
+(Profils H et V projet\303\251s dans la r\303\251gion d'interet \(ROI\)) s
+ 883 4659 mt 
+( ) s
+6247  431 mt 
+( ) s
+1 sg
+0 812 0 0 0 -812 -32768 5680 4 MP
+PP
+-1900 0 0 812 1900 0 0 -812 75435 5680 5 MP stroke
+4 w
+DO
+SO
+6 w
+0 sg
+-32768 5680 mt -32768 5680 L
+-32768 4868 mt -32768 4868 L
+-32768 5680 mt -32768 4868 L
+-32768 5680 mt -32768 4868 L
+-32768 5680 mt -32768 5680 L
+-32768 5680 mt -32768 4868 L
+-32768 5680 mt -32768 5680 L
+-32768 4868 mt -32768 4868 L
+-32768 5680 mt -32768 4868 L
+-32768 5680 mt -32768 4868 L
+
+end %%Color Dict
+
+eplot
+%%EndObject
+
+epage
+end
+
+showpage
+
+%%Trailer
+%%BoundingBox:    67   179   598   602
+%%Pages: 001
+%%EOF
Index: /trunk/machine/SOLEIL/StorageRing/insertions/GenerateFFTableWithZeros.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/GenerateFFTableWithZeros.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/GenerateFFTableWithZeros.m	(revision 17)
@@ -0,0 +1,45 @@
+function GenerateFFTableWithZeros(FolderAndFFTableName,GapMin,GapMax,Npts,LinExp)
+% Generate A table with 0A for the correctors CHE, CVE, CHS and CVS. The Gap values are generated with linear or exponential step 
+% between values.
+% FolderAndFFTableName: Full Name and Path of FF table 
+% GapMin: minimum gap
+% GapMax: maximum gap
+% Npts: Number of points
+% LinExp:0 if the points are linearly spaced, 1 if they are exponentially
+% spaced
+% ex: GenerateFFTableWithZeros('/usr/Local/configFiles/InsertionFFTables/ANS-C03-WSV50/FF_TEST.txt',5.5,70,50,0)
+fid= fopen(FolderAndFFTableName, 'w');
+A=GapMin;
+B=(1/(Npts-1))*log(GapMax/GapMin);
+for N=1:Npts
+    if (LinExp==0)
+        Gap(N)=GapMin+(GapMax-GapMin)*(N-1)/(Npts-1);
+    end
+    if (LinExp==1)
+        Gap(N)=A*exp(B*(N-1));
+    end
+    fprintf(fid,'%8.1f\t',Gap(N));
+end
+fprintf(fid,'\n'); 
+for N=1:Npts
+    CHE(N)=0;
+    fprintf(fid,'%8.4f\t',CHE(N));
+end
+fprintf(fid,'\n'); 
+for N=1:Npts
+    CHS(N)=0;
+    fprintf(fid,'%8.4f\t',CHS(N));
+end
+fprintf(fid,'\n'); 
+for N=1:Npts
+    CVE(N)=0;
+    fprintf(fid,'%8.4f\t',CVE(N));
+end
+fprintf(fid,'\n'); 
+for N=1:Npts
+    CVS(N)=0;
+    fprintf(fid,'%8.4f\t',CVS(N));
+end
+fprintf(fid,'\n'); 
+fclose(fid);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/AutomaticCurrentScan.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/AutomaticCurrentScan.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/AutomaticCurrentScan.m	(revision 17)
@@ -0,0 +1,3 @@
+function CurrentScan(Imin,Imax,Istep)
+
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/CODandCorrectionTableHU640.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/CODandCorrectionTableHU640.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/CODandCorrectionTableHU640.m	(revision 17)
@@ -0,0 +1,8 @@
+
+[resFileNames, resErrorFlag]=idMeasElecBeamVsUndParam('HU640_DESIRS', {{'currentPS1', [0,600,-600,0], 0.1}}, {{'currentPS1', 0, 0.1}}, 1, 0, 'COD_PS1', 1)
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU640_DESIRS', resFileNames.params, resFileNames.filenames_meas_bkg, '', '', -1)
+
+
+idMeasElecBeamUnd('HU640_DESIRS', 0, '/home/operateur/GrpGMI/HU640_DESIRS/PS1_0_0_0', 1)
+idMeasElecBeamUnd('HU640_DESIRS', 0, '/home/operateur/GrpGMI/HU640_DESIRS/PS1_600_0_0', 1)
+Result=HU640_CalculateCorrCur('/home/operateur/GrpGMI/HU640_DESIRS/PS1_600_0_0.mat', '/home/operateur/GrpGMI/HU640_DESIRS/PS1_0_0_0.mat')
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/PutCurrentAndSaveOrbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/PutCurrentAndSaveOrbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/PutCurrentAndSaveOrbit.m	(revision 17)
@@ -0,0 +1,82 @@
+function PutCurrentAndSaveOrbit(IPS1_ref,IPS2_ref,IPS3_ref,IPS1,IPS2,IPS3,SESSION)
+%
+%Example
+%PutCurrentAndSaveOrbit(0,0,0,1,2,3,'SESSION_06_10_06')
+%
+
+FileNameRefStart=['HU640_PS1_' Num2Str(IPS1_ref) '_PS2_' Num2Str(IPS2_ref) '_PS3_' Num2Str(IPS3_ref) '_' Num2Str(IPS1) '_' Num2Str(IPS2) '_' Num2Str(IPS3) '_Start']
+FileName=['HU640_PS1_' Num2Str(IPS1) '_PS2_' Num2Str(IPS2) '_PS3_' Num2Str(IPS3)]
+FileNameRefEnd=['HU640_PS1_' Num2Str(IPS1_ref) '_PS2_' Num2Str(IPS2_ref) '_PS3_' Num2Str(IPS3_ref) '_' Num2Str(IPS1) '_' Num2Str(IPS2) '_' Num2Str(IPS3) '_End']
+
+PathAndFileNameRefStart=['/home/matlabML/measdata/Ringdata/insertions/HU640_DESIRS/' SESSION  '/DataInMatlabFormat/' FileNameRefStart];
+PathAndFileNameRefEnd=['/home/matlabML/measdata/Ringdata/insertions/HU640_DESIRS/' SESSION  '/DataInMatlabFormat/' FileNameRefEnd];
+PathAndFileName=['/home/matlabML/measdata/Ringdata/insertions/HU640_DESIRS/' SESSION  '/DataInMatlabFormat/' FileName];
+idDevServMain01 = 'ans-c05/ei/l-hu640_ps1';
+idDevServMain02 = 'ans-c05/ei/l-hu640_ps2';
+idDevServMain03 = 'ans-c05/ei/l-hu640_ps3';
+
+%Put the Start Reference Current and Save In Matlab Format
+idSetCurrentSync(idDevServMain01, IPS1_ref, 0.1);
+idSetCurrentSync(idDevServMain02, IPS2_ref, 0.1);
+idSetCurrentSync(idDevServMain03, IPS3_ref, 0.1);
+
+pause(20)
+
+Orbit_RefStart=idMeasElecBeamUnd('HU640_DESIRS', 1, PathAndFileNameRefStart, 1);
+
+
+
+
+%Put the Nominal Current and Save In Matlab Format
+idSetCurrentSync(idDevServMain01, IPS1, 0.1);
+idSetCurrentSync(idDevServMain02, IPS2, 0.1);
+idSetCurrentSync(idDevServMain03, IPS3, 0.1);
+
+pause(20)
+
+Orbit=idMeasElecBeamUnd('HU640_DESIRS', 1, PathAndFileName, 1);
+
+
+%Put the End Reference Current and Save In Matlab Format
+idSetCurrentSync(idDevServMain01, IPS1_ref, 0.1);
+idSetCurrentSync(idDevServMain02, IPS2_ref, 0.1);
+idSetCurrentSync(idDevServMain03, IPS3_ref, 0.1);
+
+pause(20)
+
+Orbit_RefEnd=idMeasElecBeamUnd('HU640_DESIRS', 1, PathAndFileNameRefEnd, 1);
+
+%Evaluation of the orbit Distortion
+dOrbit_X=Orbit.X-0.5*(Orbit_RefStart.X+Orbit_RefEnd.X);
+dOrbit_Z=Orbit.Z-0.5*(Orbit_RefStart.Z+Orbit_RefEnd.Z);
+
+% Plot Orbit Distortion
+
+BPMx.Position = getspos('BPMx');
+xdata = BPMx.Position;
+
+
+figure(10)
+plot(xdata,(dOrbit_X),'r.-')
+title('DÃ©placement relatif d''orbite horizontal')
+xlabel('position des BPM (m)')
+
+figure(11)  
+plot(xdata,(dOrbit_Z),'b.-')
+title('DÃ©placement relatif d''orbite verticale')
+xlabel('position des BPM (m)')  
+
+% Plot Orbit before and after nominal current change
+
+figure(12)
+plot(xdata,(Orbit_RefStart.X),'b-',xdata,(Orbit_RefEnd.X),'r-')
+title('DÃ©placement relatif d''orbite horizontal')
+legend('Before nominal current change','After nominal current change')
+xlabel('position des BPM (m)')
+
+
+figure(13)
+plot(xdata,(Orbit_RefStart.Z),'b-',xdata,(Orbit_RefEnd.Z),'r-')
+title('DÃ©placement relatif d''orbite verticale')
+legend('Before nominal current change','After nominal current change')
+xlabel('position des BPM (m)')
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxAddFeedForwardCorTables2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxAddFeedForwardCorTables2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxAddFeedForwardCorTables2D.m	(revision 17)
@@ -0,0 +1,6 @@
+function [res_mCHE_with_arg, res_mCVE_with_arg, res_mCHS_with_arg, res_mCVS_with_arg] = idAuxAddFeedForwardCorTables2D(mCHE_with_arg, mCVE_with_arg, mCHS_with_arg, mCVS_with_arg, mCHE_add_with_arg, mCVE_add_with_arg, mCHS_add_with_arg, mCVS_add_with_arg)
+
+res_mCHE_with_arg = idAuxAddTable2D(mCHE_with_arg, mCHE_add_with_arg);
+res_mCVE_with_arg = idAuxAddTable2D(mCVE_with_arg, mCVE_add_with_arg);
+res_mCHS_with_arg = idAuxAddTable2D(mCHS_with_arg, mCHS_add_with_arg);
+res_mCVS_with_arg = idAuxAddTable2D(mCVS_with_arg, mCVS_add_with_arg);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxAddTable2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxAddTable2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxAddTable2D.m	(revision 17)
@@ -0,0 +1,44 @@
+function new_m_with_arg = idAuxAddTable2D(m_orig_with_arg, m_add_with_arg)
+%Adds content of m_add_with_arg table to m_orig_with_arg, preserving format: 1s column and 1st row of
+%each table keep argument values.
+%Requires that mesh point of m_add_with_arg coinside with mesh point of m_orig_with_arg
+
+numOrigArg1 = size(m_orig_with_arg, 1) - 1;
+numOrigArg2 = size(m_orig_with_arg, 2) - 1;
+vOrigArg1 = zeros(numOrigArg1, 1);
+vOrigArg2 = zeros(numOrigArg2, 1);
+for i = 1:numOrigArg1
+	vOrigArg1(i) = m_orig_with_arg(i+1,1);
+end
+for j = 1:numOrigArg2
+	vOrigArg2(j) = m_orig_with_arg(1,j+1);
+end
+
+numAddArg1 = size(m_add_with_arg, 1) - 1;
+numAddArg2 = size(m_add_with_arg, 2) - 1;
+vAddArg1 = zeros(numAddArg1, 1);
+vAddArg2 = zeros(numAddArg2, 1);
+for i = 1:numAddArg1
+	vAddArg1(i) = m_add_with_arg(i+1,1);
+end
+for j = 1:numAddArg2
+	vAddArg2(j) = m_add_with_arg(1,j+1);
+end
+
+new_m_with_arg = m_orig_with_arg;
+
+for j = 1:numAddArg2
+	valAddArg2 = vAddArg2(j);
+    indOrigArg2_p_1 = idAuxFindClosestElemInd(valAddArg2, vOrigArg2) + 1;
+    if(indOrigArg2_p_1 <= 1)
+        continue;
+    end
+    for i = 1:numAddArg1
+        valAddArg1 = vAddArg1(i);
+        indOrigArg1_p_1 = idAuxFindClosestElemInd(valAddArg1, vOrigArg1) + 1;
+        if(indOrigArg1_p_1 <= 1)
+            continue;
+        end
+        new_m_with_arg(indOrigArg1_p_1, indOrigArg2_p_1) = new_m_with_arg(indOrigArg1_p_1, indOrigArg2_p_1) + m_add_with_arg(i+1,j+1);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCalcIndMeasAtGivenUndParams.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCalcIndMeasAtGivenUndParams.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCalcIndMeasAtGivenUndParams.m	(revision 17)
@@ -0,0 +1,67 @@
+function absIndFound = idAuxCalcIndMeasAtGivenUndParams(allUndParams, undParamsToFind)
+%Calculates absolute flat index of element in multi-dim. array of undulator parameters
+%list of all un. params to look through: allUndParams = {{'phase', [-40, -20, 0, 20, 40]}, {'gap', [15.5, 25]}}
+%undulator parameters to find: undParamsToFind = {{'gap', 15.5}, {'phase', 40}}
+
+numAllParams = length(allUndParams);
+numParamsToFind = length(undParamsToFind);
+
+%maxNumParams = 3;
+if(numAllParams <= 0) %|| (numAllParams > maxNumParams))
+    absIndFound = -1;
+    return;
+end
+if(numParamsToFind <= 0) %|| (numParamsToFind > maxNumParams))
+    absIndFound = -1;
+    return;
+end
+if(numAllParams ~= numParamsToFind)
+    absIndFound = -1;
+    return;    
+end
+
+arPerInd = zeros(numAllParams, 1);
+%fill-in array of periods
+arPerInd(numAllParams) = 1;
+prodSizes = 1;
+for i = 1:(numAllParams - 1)
+	curParamInf = allUndParams{numAllParams - i + 1};
+    curParamValues = curParamInf{2};
+    prodSizes = prodSizes*length(curParamValues);
+    arPerInd(numAllParams - i) = prodSizes;
+end
+
+absIndFound = -1;
+absIndCount = 0;
+%prevRelInd = -1;
+for i = 1:numAllParams
+    curParamInf = allUndParams{i};
+    curParamName = curParamInf{1};
+    
+    carParamValueToFind = 1e+23;
+    for j = 1:numParamsToFind
+        curParamToFindInf = undParamsToFind{j};
+        curParamNameToFind = curParamToFindInf{1};
+        if(strcmp(curParamName, curParamNameToFind))
+            carParamValueToFind = curParamToFindInf{2};
+            break;
+        end
+    end
+    if(carParamValueToFind == 1e+23)
+       return; 
+    end
+    curParamValues = curParamInf{2};
+    numCurParamValues = length(curParamValues);
+    absMinDif = 1e+23;
+    indMinDif = -1;
+    for k = 1:numCurParamValues
+        curAbsDif = abs(curParamValues(k) - carParamValueToFind);
+        if(absMinDif > curAbsDif)
+            absMinDif = curAbsDif;
+            indMinDif = k;
+        end
+    end
+    %prevRelInd = indMinDif;
+    absIndCount = absIndCount + (indMinDif - 1)*arPerInd(i);
+end
+absIndFound = absIndCount + 1;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCombMatrCols.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCombMatrCols.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCombMatrCols.m	(revision 17)
@@ -0,0 +1,27 @@
+function mRes = idAuxCombMatrCols(m1, m2)
+%Combines 2 matrices by columns
+
+numCols_m1 = size(m1, 2);
+numCols_m2 = size(m2, 2);
+numColsRes = numCols_m1 + numCols_m2;
+
+numRows_m1 = size(m1, 1);
+numRows_m2 = size(m2, 1);
+if(numRows_m1 ~= numRows_m2)
+    sprintf('Inconsistent numbers of rows in the matrices');
+    return;
+end
+numRowsRes = numRows_m1;
+
+mRes = zeros(numRowsRes, numColsRes);
+
+for i2 = 1:numCols_m1
+    for i1 = 1:numRowsRes
+        mRes(i1, i2) = m1(i1, i2);
+    end
+end
+for i2 = 1:numCols_m2
+    for i1 = 1:numRowsRes
+        mRes(i1, numCols_m1 + i2) = m2(i1, i2);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCombMatrWeighted.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCombMatrWeighted.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxCombMatrWeighted.m	(revision 17)
@@ -0,0 +1,54 @@
+function mRes = idAuxCombMatrWeighted(m1, w1, m2, w2, startInd1, endInd1, startInd2, endInd2)
+
+wNormInv = 1./sqrt(w1*w1 + w2*w2);
+w1 = w1*wNormInv;
+w2 = w2*wNormInv;
+
+sizeDim1 = size(m1, 1);
+sizeDim2 = size(m1, 2);
+sizeDim1_m2 = size(m2, 1);
+sizeDim2_m2 = size(m2, 2);
+
+if(sizeDim1 > sizeDim1_m2)
+	sizeDim1 = sizeDim1_m2;
+end
+if(sizeDim2 > sizeDim2_m2)
+	sizeDim2 = sizeDim2_m2;
+end
+
+mRes = m1;
+if(startInd1 <= 0)
+    startInd1 = 1;
+end
+if(endInd1 <= 0)
+    endInd1 = sizeDim1;
+end
+if(startInd2 <= 0)
+    startInd2 = 1;
+end
+if(endInd2 <= 0)
+    endInd2 = sizeDim2;
+end
+
+if(startInd1 > sizeDim1)
+    sprintf('Inconsistent start value of Index 1');
+    return;
+end
+if(startInd2 > sizeDim2)
+    sprintf('Inconsistent start value of Index 2');
+    return;
+end
+if(endInd1 > sizeDim1)
+    sprintf('Inconsistent end value of Index 1');
+    endInd1 = sizeDim1;
+end
+if(endInd2 > sizeDim2)
+    sprintf('Inconsistent end value of Index 2');
+    endInd2 = sizeDim2;
+end
+
+for i1 = startInd1:endInd1
+    for i2 = startInd2:endInd2
+        mRes(i1, i2) = w1*m1(i1, i2) + w2*m2(i1, i2);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxFindClosestElemInd.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxFindClosestElemInd.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxFindClosestElemInd.m	(revision 17)
@@ -0,0 +1,12 @@
+function indClosestElem = idAuxFindClosestElemInd(valElem, vToCheck)
+
+numElem = length(vToCheck);
+minAbsDif = 1e+23;
+indClosestElem = -1;
+for i = 1:numElem
+    curAbsDif = abs(vToCheck(i) - valElem);
+    if(minAbsDif > curAbsDif)
+        minAbsDif = curAbsDif;
+        indClosestElem = i;
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxInterpolTable2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxInterpolTable2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxInterpolTable2D.m	(revision 17)
@@ -0,0 +1,46 @@
+function new_m_with_arg = idAuxInterpolTable2D(m_with_arg, vNewArg1, vNewArg2, interpMeth)
+%Interpolates 2D table (matrix), preserving format: 1s column and 1st row of
+%the matrix m_with_arg keep the argument values
+%vNewArg1, vNewArg2 are the new arguments, in the format, e.g.:
+%   vNewArg1 = [15.5,16,17,18,19,20,22.5, ...]; 
+%   vNewArg2 = [-40,-37.5,-35,-32.5,-30, ...]
+
+numOldArg1 = size(m_with_arg, 1) - 1;
+numOldArg2 = size(m_with_arg, 2) - 1;
+
+vOldArg1 = zeros(numOldArg1, 1);
+vOldArg2 = zeros(numOldArg2, 1);
+mOld = zeros(numOldArg1, numOldArg2);
+for i = 1:numOldArg1
+	vOldArg1(i) = m_with_arg(i+1,1);
+end
+for j = 1:numOldArg2
+	vOldArg2(j) = m_with_arg(1,j+1);
+    for i = 1:numOldArg1
+        mOld(i,j) = m_with_arg(i+1,j+1);
+    end
+end
+%mNew = interp2(vOldArg1, vOldArg2, mOld, vNewArg1', vNewArg2', interpMeth);
+%mNew = interp2(vOldArg1, vOldArg2', mOld, vNewArg1', vNewArg2, interpMeth);
+if((size(vNewArg2, 1) > 1) && (size(vNewArg2, 2) == 1))
+	vNewArg2 = vNewArg2';
+end
+if((size(vNewArg1, 1) > 1) && (size(vNewArg1, 2) == 1))
+	vNewArg1 = vNewArg1';
+end
+mNew = interp2(vOldArg2', vOldArg1, mOld, vNewArg2, vNewArg1', interpMeth);
+
+numNewArg1 = length(vNewArg1);
+numNewArg2 = length(vNewArg2);
+new_m_with_arg = zeros(numNewArg1 + 1, numNewArg2 + 1);
+new_m_with_arg(1,1) = 0;
+for i = 1:numNewArg1
+    new_m_with_arg(i+1,1) = vNewArg1(i);
+end
+for j = 1:numNewArg2
+    new_m_with_arg(1,j+1) = vNewArg2(j);
+    for i = 1:numNewArg1
+        new_m_with_arg(i+1,j+1) = mNew(i,j);
+    end
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMatrResize.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMatrResize.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMatrResize.m	(revision 17)
@@ -0,0 +1,21 @@
+function mRes = idAuxMatrResize(m, newSizeDim1, newSizeDim2)
+
+sizeDim1 = size(m, 1);
+sizeDim2 = size(m, 2);
+
+sizeDim1_min = sizeDim1;
+sizeDim2_min = sizeDim2;
+
+if(sizeDim1_min > newSizeDim1)
+	sizeDim1_min = newSizeDim1;
+end
+if(sizeDim2_min > newSizeDim2)
+	sizeDim2_min = newSizeDim2;
+end
+
+mRes = zeros(newSizeDim1, newSizeDim2);
+for i1 = 1:sizeDim1_min
+    for i2 = 1:sizeDim2_min
+        mRes(i1, i2) = m(i1, i2);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMatrResizeExt.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMatrResizeExt.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMatrResizeExt.m	(revision 17)
@@ -0,0 +1,35 @@
+function mRes = idAuxMatrResizeExt(m, newSizeDim1, newSizeDim2, iStartDim1, iStartDim2)
+
+sizeDim1 = size(m, 1);
+sizeDim2 = size(m, 2);
+
+if((iStartDim1 < 1) || (iStartDim1 > sizeDim1))
+    fprintf('Incorrect start index value');
+end
+if((iStartDim2 < 1) || (iStartDim2 > sizeDim2))
+    fprintf('Incorrect start index value');
+end
+
+sizeDim1_min = sizeDim1;
+sizeDim2_min = sizeDim2;
+
+if(sizeDim1_min > newSizeDim1)
+	sizeDim1_min = newSizeDim1;
+end
+if(sizeDim2_min > newSizeDim2)
+	sizeDim2_min = newSizeDim2;
+end
+
+mRes = zeros(newSizeDim1, newSizeDim2);
+
+for i1 = iStartDim1:(iStartDim1 + sizeDim1_min)
+    for i2 = iStartDim2:(iStartDim2 + sizeDim2_min)
+        mRes(i1 - iStartDim1 + 1, i2 - iStartDim2 + 1) = m(i1, i2);
+    end
+end
+
+%for i1 = 1:sizeDim1_min
+%    for i2 = 1:sizeDim2_min%
+%        mRes(i1, i2) = m(i1, i2);
+%    end
+%end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMergeCorTableWithArg2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMergeCorTableWithArg2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMergeCorTableWithArg2D.m	(revision 17)
@@ -0,0 +1,24 @@
+function mRes = idAuxMergeCorTableWithArg2D(vArg1, vArg2, mCor)
+
+sizeArg1 = size(mCor, 1);
+sizeArg2 = size(mCor, 2);
+
+lenArg1 = length(vArg1);
+lenArg2 = length(vArg2);
+
+if((sizeArg1 ~= lenArg1) || (sizeArg2 ~= lenArg2))
+    sprintf('Inconsistent lengths of the matrix and the argument vectors');
+end
+
+mRes = zeros(lenArg1 + 1, lenArg2 + 1);
+mRes(1, 1) = 0;
+for i = 1:lenArg1
+    mRes(i + 1, 1) = vArg1(i);
+end
+
+for j = 1:lenArg2
+    mRes(1, j + 1) = vArg2(j);
+    for i = 1:lenArg1
+        mRes(i + 1, j + 1) = mCor(i, j);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMergeFeedForwardCorTablesWithArgForAppleII.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMergeFeedForwardCorTablesWithArgForAppleII.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxMergeFeedForwardCorTablesWithArgForAppleII.m	(revision 17)
@@ -0,0 +1,21 @@
+function [mCHE_with_arg, mCVE_with_arg, mCHS_with_arg, mCVS_with_arg] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHE, mCVE, mCHS, mCVS, undParams)
+%expected undulator parameters: undParams = {{'phase', vPhase}, {'gap', vGap}}
+
+numUndParam = length(undParams);
+if(numUndParam < 2)
+	fprintf('Two undulator parameters (gap, phase) are expected. Aborting.\n');
+	return;
+end
+
+vGap = undParams{1}{2};
+vPhase = undParams{2}{2};
+if(strcmp(undParams{1}{1}, 'phase') || strcmp(undParams{1}{1}, 'PHASE') || strcmp(undParams{1}{1}, 'Phase'))
+	if(strcmp(undParams{2}{1}, 'gap') || strcmp(undParams{2}{1}, 'GAP') || strcmp(undParams{2}{1}, 'Gap'))
+        vGap = undParams{2}{2};
+        vPhase = undParams{1}{2};
+	end
+end
+mCHE_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHE);
+mCVE_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVE);
+mCHS_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHS);
+mCVS_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVS);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxNum2FileNameStr.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxNum2FileNameStr.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxNum2FileNameStr.m	(revision 17)
@@ -0,0 +1,25 @@
+function resStr = idAuxNum2FileNameStr(num)
+%Encodes decimal number in string, which can then be used as a part of file name
+
+strParamValue = sprintf('%f', num);
+strParamValue = strrep(strParamValue, '.', '_');
+lenOrigStrParamValue = length(strParamValue);
+numTrailZeros = 0; %removing trailing zeros
+for k = 1:lenOrigStrParamValue
+	if(strcmp(strParamValue(lenOrigStrParamValue - k + 1), '0'))
+    	numTrailZeros = numTrailZeros + 1;
+    else
+    	if(numTrailZeros > 0) && strcmp(strParamValue(lenOrigStrParamValue - k + 1), '_')
+        	numTrailZeros = numTrailZeros + 1;
+    	end
+        break;
+	end
+end
+if(numTrailZeros > 0)
+	resStr = '';
+	for k = 1:lenOrigStrParamValue - numTrailZeros
+    	resStr = strcat(resStr, strParamValue(k));
+	end
+else
+    resStr = strParamValue;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxPrepFileNameListMeasAndBkg.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxPrepFileNameListMeasAndBkg.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxPrepFileNameListMeasAndBkg.m	(revision 17)
@@ -0,0 +1,14 @@
+function resFileNames = idAuxPrepFileNameListMeasAndBkg(origFileNameList, perMeasWithoutBkg)
+
+numCycles = floor(length(origFileNameList)/(perMeasWithoutBkg + 1));
+
+i0 = 0;
+i0r = 0;
+for i = 1:numCycles
+    iBkg = i0 + (perMeasWithoutBkg + 1);
+    for j = 1:perMeasWithoutBkg
+        resFileNames{i0r + j} = {origFileNameList{i0 + j}, origFileNameList{iBkg}};
+    end
+    i0r = i0r + perMeasWithoutBkg;
+    i0 = i0 + (perMeasWithoutBkg + 1);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxScript.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxScript.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idAuxScript.m	(revision 17)
@@ -0,0 +1,30 @@
+
+%i0=176; j=17;
+%stMeasBkgExtraII{i0+1} = {stListG15_5.filelist{j}, stListG15_5.filelist{18}};
+%stMeasBkgExtraII{i0+2} = {stListG16.filelist{j}, stListG16.filelist{18}};
+%stMeasBkgExtraII{i0+3} = {stListG18.filelist{j}, stListG18.filelist{18}};
+%stMeasBkgExtraII{i0+4} = {stListG20.filelist{j}, stListG20.filelist{18}};
+%stMeasBkgExtraII{i0+5} = {stListG22_5.filelist{j}, stListG22_5.filelist{18}};
+%stMeasBkgExtraII{i0+6} = {stListG25.filelist{j}, stListG25.filelist{18}};
+%stMeasBkgExtraII{i0+7} = {stListG27_5.filelist{j}, stListG27_5.filelist{18}};
+%stMeasBkgExtraII{i0+8} = {stListG30.filelist{j}, stListG30.filelist{18}};
+%stMeasBkgExtraII{i0+9} = {stListG35.filelist{j}, stListG35.filelist{18}};
+%stMeasBkgExtraII{i0+10} = {stListG40.filelist{j}, stListG40.filelist{18}};
+%stMeasBkgExtraII{i0+11} = {stListG50.filelist{j}, stListG50.filelist{18}};
+
+
+lineToStartCopy = 1;
+lineToEndCopy = 11;
+
+%colToStartCop
+numCols = 17;
+for i = lineToStartCopy:lineToEndCopy
+    for j = 1:numCols
+        mCHE_new_parts(i, j) = mCHE_ext(i, j);
+        mCHS_new_parts(i, j) = mCHS_ext(i, j);
+        mCVE_new_parts(i, j) = mCVE_ext(i, j);
+        mCVS_new_parts(i, j) = mCVS_ext(i, j);
+    end
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idBPMIndConvForSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idBPMIndConvForSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idBPMIndConvForSOLEIL.m	(revision 17)
@@ -0,0 +1,45 @@
+function convIndBPM = idBPMIndConvForSOLEIL(indBPM)
+%Converts 1-based absolute BPM number (1 - 120) to its section and rel.
+%number, and the other way around, depending on length(indBPM)
+
+arBPM = {...
+    [1 1],[1 2],[1 3],[1 4],[1 5],[1 6],[1 7],...
+	[2 1],[2 2],[2 3],[2 4],[2 5],[2 6],[2 7],[2 8],...
+	[3 1],[3 2],[3 3],[3 4],[3 5],[3 6],[3 7],[3 8],...
+    [4 1],[4 2],[4 3],[4 4],[4 5],[4 6],[4 7],...
+    [5 1],[5 2],[5 3],[5 4],[5 5],[5 6],[5 7],...
+	[6 1],[6 2],[6 3],[6 4],[6 5],[6 6],[6 7],[6 8],...
+	[7 1],[7 2],[7 3],[7 4],[7 5],[7 6],[7 7],[7 8],...
+    [8 1],[8 2],[8 3],[8 4],[8 5],[8 6],[8 7],...
+    [9 1],[9 2],[9 3],[9 4],[9 5],[9 6],[9 7],...
+	[10 1],[10 2],[10 3],[10 4],[10 5],[10 6],[10 7],[10 8],...
+	[11 1],[11 2],[11 3],[11 4],[11 5],[11 6],[11 7],[11 8],...
+	[12 1],[12 2],[12 3],[12 4],[12 5],[12 6],[12 7],...
+	[13 1],[13 2],[13 3],[13 4],[13 5],[13 6],[13 7],...
+	[14 1],[14 2],[14 3],[14 4],[14 5],[14 6],[14 7],[14 8],...
+	[15 1],[15 2],[15 3],[15 4],[15 5],[15 6],[15 7],[15 8],...
+	[16 1],[16 2],[16 3],[16 4],[16 5],[16 6],[16 7],...
+};
+
+mode = length(indBPM);
+if(mode < 1)
+    convIndBPM = 0;
+    return;
+elseif(mode == 1)
+    convIndBPM = arBPM{indBPM};
+    return;
+end
+
+numBPMs = length(arBPM);
+convIndBPM = 0;
+for i = 1:numBPMs
+    curRelBPM = arBPM{i};
+    if(indBPM(1) == curRelBPM(1))
+        if(indBPM(2) == curRelBPM(2))
+            convIndBPM = i;
+            return;
+        end
+    end
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcCorRespMatr.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcCorRespMatr.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcCorRespMatr.m	(revision 17)
@@ -0,0 +1,90 @@
+function [mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, gap, dirMeas)
+% Modified by Fabien on December 4th : the correctors current values are
+% not an argument of the function anymore. See idCalcCorRespMatr_old in
+% case of problem!
+
+
+[arElecBeamMeasCHE, arElecBeamMeasBkgrCHE, vCurValsCHE] = idReadCorElecBeamMeasData(idName, gap, 'CHE');
+[arElecBeamMeasCVE, arElecBeamMeasBkgrCVE, vCurValsCVE] = idReadCorElecBeamMeasData(idName, gap, 'CVE');
+[arElecBeamMeasCHS, arElecBeamMeasBkgrCHS, vCurValsCHS] = idReadCorElecBeamMeasData(idName, gap, 'CHS');
+[arElecBeamMeasCVS, arElecBeamMeasBkgrCVS, vCurValsCVS] = idReadCorElecBeamMeasData(idName, gap, 'CVS');
+
+dirStart = pwd;
+if strcmp(dirMeas, '')
+    dirMeas = getfamilydata('Directory',idName);
+end
+
+cd(dirMeas);
+stMeas = load(char(arElecBeamMeasCHE(1)));
+cd(dirStart);
+
+numCurValsCHE = length(vCurValsCHE);
+numCurValsCVE = length(vCurValsCVE);
+numCurValsCHS = length(vCurValsCHS);
+numCurValsCVS = length(vCurValsCVS);
+numBPMs = length(stMeas.X);
+mCorRespX = zeros(numBPMs, 2);
+mCorRespZ = zeros(numBPMs, 2);
+
+arStMeasCHE = cell(1, numCurValsCHE);
+arStMeasCVE = cell(1, numCurValsCVE);
+arStMeasCHS = cell(1, numCurValsCHS);
+arStMeasCVS = cell(1, numCurValsCVS);
+arStMeasBkgrCHE = cell(1, numCurValsCHE);
+arStMeasBkgrCVE = cell(1, numCurValsCVE);
+arStMeasBkgrCHS = cell(1, numCurValsCHS);
+arStMeasBkgrCVS = cell(1, numCurValsCVS);
+
+cd(dirMeas);
+for j = 1:numCurValsCHE
+	arStMeasCHE{j} = load(char(arElecBeamMeasCHE(j)));
+    arStMeasBkgrCHE{j} = load(char(arElecBeamMeasBkgrCHE(j)));
+end
+for j = 1:numCurValsCVE
+    arStMeasCVE{j} = load(char(arElecBeamMeasCVE(j)));
+    arStMeasBkgrCVE{j} = load(char(arElecBeamMeasBkgrCVE(j)));
+end
+for j = 1:numCurValsCHS
+    arStMeasCHS{j} = load(char(arElecBeamMeasCHS(j)));
+	arStMeasBkgrCHS{j} = load(char(arElecBeamMeasBkgrCHS(j)));
+end
+for j = 1:numCurValsCVS
+    arStMeasCVS{j} = load(char(arElecBeamMeasCVS(j)));
+	arStMeasBkgrCVS{j} = load(char(arElecBeamMeasBkgrCVS(j)));
+end
+cd(dirStart);
+
+arAuxCHE = zeros(numCurValsCHE, 1);
+arAuxCVE = zeros(numCurValsCVE, 1);
+arAuxCHS = zeros(numCurValsCHS, 1);
+arAuxCVS = zeros(numCurValsCVS, 1);
+
+for i = 1:numBPMs
+    for j = 1:numCurValsCHE
+        stMeasCHE = arStMeasCHE{j};
+        stMeasBkgrCHE = arStMeasBkgrCHE{j};
+        arAuxCHE(j) = stMeasCHE.X(i) - stMeasBkgrCHE.X(i);
+    end
+    for j = 1:numCurValsCVE
+        stMeasCVE = arStMeasCVE{j};
+        stMeasBkgrCVE = arStMeasBkgrCVE{j};
+        arAuxCVE(j) = stMeasCVE.Z(i) - stMeasBkgrCVE.Z(i);
+    end
+    for j = 1:numCurValsCHS
+        stMeasCHS = arStMeasCHS{j};
+        stMeasBkgrCHS = arStMeasBkgrCHS{j};
+        arAuxCHS(j) = stMeasCHS.X(i) - stMeasBkgrCHS.X(i);
+    end
+    for j = 1:numCurValsCVS
+        stMeasCVS = arStMeasCVS{j};
+        stMeasBkgrCVS = arStMeasBkgrCVS{j};
+        arAuxCVS(j) = stMeasCVS.Z(i) - stMeasBkgrCVS.Z(i);
+    end
+    
+    mCorRespX(i, 1) = idLeastSqLineTilt(vCurValsCHE, arAuxCHE);
+    mCorRespX(i, 2) = idLeastSqLineTilt(vCurValsCHS, arAuxCHS);
+    mCorRespZ(i, 1) = idLeastSqLineTilt(vCurValsCVE, arAuxCVE);
+    mCorRespZ(i, 2) = idLeastSqLineTilt(vCurValsCVS, arAuxCVS);
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFeedForwardCorTables.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFeedForwardCorTables.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFeedForwardCorTables.m	(revision 17)
@@ -0,0 +1,107 @@
+function [mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables(idName, idParams, fileNamesMeasCOD, dirMeasCOD, dirMeasCorResp, arIndsBPMsToSkip)
+%Calculate Feed-Forward Correction Tables vs Undulator Parameters for 2 Horizontal and 2 Vertical correctors.
+%NOTE: Horizontal correctors are those displacing electron orbit in Horizontal direction (by means of Vertical magnetic field)
+
+mCHE = []; mCVE = []; mCHS = []; mCVS = [];
+
+numUndParams = length(idParams);
+if((numUndParams < 0) || (numUndParams > 2))
+    sprintf('Number of ID parameters for the correction tables should be 1 or 2');
+    return;
+end
+
+numValsUndParam1 = length(idParams{1}{2});
+undParamName1 = idParams{1}{1};
+
+numValsUndParam2 = 1;
+undParamName2 = '';
+if(numUndParams > 1)
+    numValsUndParam2 = length(idParams{2}{2});
+    undParamName2 = idParams{2}{1};
+end
+
+if((numValsUndParam2 <= 1) && (strcmp(undParamName2, '') ~= 0))
+    numValsUndParam2 = 1;
+    undParamName2 = 'dummy';
+end
+
+mCHE = zeros(numValsUndParam2, numValsUndParam1);
+mCVE = zeros(numValsUndParam2, numValsUndParam1);
+mCHS = zeros(numValsUndParam2, numValsUndParam1);
+mCVS = zeros(numValsUndParam2, numValsUndParam1);
+
+mCorRespX = zeros(120, 2);
+mCorRespZ = zeros(120, 2);
+
+corEfficiencyDependsOnUndParam = 1;
+if((strcmp(undParamName1, 'gap') == 0) && (strcmp(undParamName2, 'gap') == 0))
+	[mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, 0, dirMeasCorResp);
+	corEfficiencyDependsOnUndParam = 0;
+elseif((strcmp(undParamName1, 'gap') ~= 0) && (strcmp(undParamName2, '') ~= 0))
+	[mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, 0, dirMeasCorResp);
+    mCorRespXgl = zeros(120, 2);
+    mCorRespZgl = zeros(120, 2);
+	[mCorRespXgl, mCorRespZgl] = idCalcCorRespMatr(idName, 250, dirMeasCorResp);
+    corEfficiencyDependsOnUndParam = 0;
+    for i = 1:length(mCorRespX)
+        if((mCorRespXgl(i,1) ~= mCorRespX(i,1)) || (mCorRespXgl(i,2) ~= mCorRespX(i,2)))
+            corEfficiencyDependsOnUndParam = 1;
+            break;
+        end
+        if((mCorRespZgl(i,1) ~= mCorRespZ(i,1)) || (mCorRespZgl(i,2) ~= mCorRespZ(i,2)))
+            corEfficiencyDependsOnUndParam = 1;
+            break;
+        end
+    end
+end
+
+indMeasCOD = 1; 
+for i = 1:numValsUndParam1
+    undParam1 = idParams{1}{2}(i);
+    if(corEfficiencyDependsOnUndParam)
+        if(strcmp(undParamName1, 'gap'))
+            [mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, undParam1, dirMeasCorResp);
+        end
+    end
+
+    for j = 1:numValsUndParam2
+        undParam2 = 0;
+        if(numUndParams > 1)
+            undParam2 = idParams{2}{2}(j);
+        end
+        if(corEfficiencyDependsOnUndParam)
+            if(strcmp(undParamName2, 'gap'))
+                [mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, undParam2, dirMeasCorResp);
+            end
+        end
+
+        fileNameMeasMain = char(fileNamesMeasCOD{indMeasCOD}{1});
+        fileNameMeasBkg = char(fileNamesMeasCOD{indMeasCOD}{2});
+
+        dirStart = pwd;
+        if strcmp(dirMeasCOD, '')
+            dirMeasCOD = getfamilydata('Directory',idName);
+        end
+        cd(dirMeasCOD);
+        stMeasMain = load(fileNameMeasMain);
+        stMeasBkg = load(fileNameMeasBkg);
+        cd(dirStart);
+
+        vCODx = stMeasMain.X - stMeasBkg.X;
+        curCorX = idLeastSqLinFit(mCorRespX, vCODx, arIndsBPMsToSkip);
+
+        vCODz = stMeasMain.Z - stMeasBkg.Z;
+        curCorZ = idLeastSqLinFit(mCorRespZ, vCODz, arIndsBPMsToSkip);
+
+        mCHE(j, i) = -curCorX(1);
+        mCVE(j, i) = -curCorZ(1);
+        mCHS(j, i) = -curCorX(2);
+        mCVS(j, i) = -curCorZ(2);
+        indMeasCOD = indMeasCOD + 1;
+    end
+end
+
+if(numUndParams > 1)
+    fprintf('VERTICAL dimension in tables (i.e. row no. is variable; column no. is const) corresponds to variation of  %s\n', undParamName2);
+    fprintf('HORIZONTAL dimension in tables (i.e. row no. is const; column no. is variable) corresponds to variation of  %s\n', undParamName1);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeas.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeas.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeas.m	(revision 17)
@@ -0,0 +1,8 @@
+function [i1x, i2x, i1z, i2z] = idCalcFldIntFromElecBeamMeas(ElecBeamDataMain, ElecBeamDataBkg, mCODx, mCODz, arIndsBPMsToSkip, idLen, idKickOfst, elecEn_GeV)
+
+vDX = 0.001*(ElecBeamDataMain.X - ElecBeamDataBkg.X);
+vDZ = 0.001*(ElecBeamDataMain.Z - ElecBeamDataBkg.Z);
+vKicksX = idLeastSqLinFit(mCODx, vDX, arIndsBPMsToSkip);
+vKicksZ = idLeastSqLinFit(mCODz, vDZ, arIndsBPMsToSkip);
+[i1z, i2z] = idKicks2FldInt(vKicksX, 'x', idLen, idKickOfst, elecEn_GeV);
+[i1x, i2x] = idKicks2FldInt(vKicksZ, 'z', idLen, idKickOfst, elecEn_GeV);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForMode.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForMode.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForMode.m	(revision 17)
@@ -0,0 +1,13 @@
+function [arI1x, arI2x, arI1z, arI2z] = idCalcFldIntFromElecBeamMeasForMode(folder, mode, numMeas, mCODx, mCODz, idLen, idKickOfst, elecEn_GeV)
+
+%mCOD = idCreateModelOrbDistMatr('x', ElecBeamModel, 8, 1.3325, idLen, idKickOfst);
+
+arI1x = zeros(1, numMeas);
+arI2x = zeros(1, numMeas);
+arI1z = zeros(1, numMeas);
+arI2z = zeros(1, numMeas);
+
+for i = 1:numMeas
+    [MeasMain, MeasBkgr] = idReadMeasElecBeamData(folder, mode, i);
+    [arI1x(i), arI2x(i), arI1z(i), arI2z(i)] = idCalcFldIntFromElecBeamMeas(MeasMain, MeasBkgr, mCODx, mCODz, idLen, idKickOfst, elecEn_GeV);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForUndSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForUndSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForUndSOLEIL.m	(revision 17)
@@ -0,0 +1,58 @@
+function [vI1x, vI2x, vI1z, vI2z, vKickX1, vKickX2, vKickZ1, vKickZ2] = idCalcFldIntFromElecBeamMeasForUndSOLEIL(idName, dirMeasData, fileNamesMeasMain, fileNamesMeasBkgr, dirModel, arIndsBPMsToSkip)
+
+%Calculates effective first and second horizontal and vertical field
+%integrals of SOLEIL undulators from COD
+
+GeomParUnd = idGetGeomParamForUndSOLEIL(idName);
+
+ElecBeamModelData = idReadElecBeamModel(dirModel);
+mCODx = idCreateModelOrbDistMatr('x', ElecBeamModelData, GeomParUnd);
+mCODz = idCreateModelOrbDistMatr('z', ElecBeamModelData, GeomParUnd);
+
+numMeas = length(fileNamesMeasMain);
+numMeasBkgr = length(fileNamesMeasBkgr);
+if(numMeas ~= numMeasBkgr)
+    sprintf('Inconsistent numbers of the main and background measurements\n');
+    return;
+end
+
+vI1x = zeros(numMeas, 1);
+vI2x = zeros(numMeas, 1);
+vI1z = zeros(numMeas, 1);
+vI2z = zeros(numMeas, 1);
+vKickX1 = zeros(numMeas, 1);
+vKickX2 = zeros(numMeas, 1);
+vKickZ1 = zeros(numMeas, 1);
+vKickZ2 = zeros(numMeas, 1);
+
+if strcmp(dirMeasData, '')
+    dirMeasData = getfamilydata('Directory',idName);
+end
+
+for i = 1:numMeas
+    dirStart = pwd;
+        
+    %if strcmp(dirMeasData, '') == 0
+	cd(dirMeasData);
+    %end
+    
+	%ElecBeamMeasMain = load(char(fileNamesMeasMain(i)));
+	%ElecBeamMeasBkgr = load(char(fileNamesMeasBkgr(i)));
+	ElecBeamMeasMain = load(fileNamesMeasMain{i});
+	ElecBeamMeasBkgr = load(fileNamesMeasBkgr{i});
+
+	cd(dirStart);
+    
+    [vI1x(i), vI2x(i), vI1z(i), vI2z(i)] = idCalcFldIntFromElecBeamMeas(ElecBeamMeasMain, ElecBeamMeasBkgr, mCODx, mCODz, arIndsBPMsToSkip, GeomParUnd.idLen, GeomParUnd.idKickOfst, ElecBeamModelData.E);
+
+	DX_Meas = ElecBeamMeasMain.X - ElecBeamMeasBkgr.X;
+	DZ_Meas = ElecBeamMeasMain.Z - ElecBeamMeasBkgr.Z;
+	KicksX = idLeastSqLinFit(mCODx, DX_Meas, arIndsBPMsToSkip);
+	KicksZ = idLeastSqLinFit(mCODz, DZ_Meas, arIndsBPMsToSkip);
+    vKickX1(i) = KicksX(1);
+    vKickX2(i) = KicksX(2);
+    vKickZ1(i) = KicksZ(1);
+    vKickZ2(i) = KicksZ(2);
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForUndSOLEIL_1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForUndSOLEIL_1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForUndSOLEIL_1.m	(revision 17)
@@ -0,0 +1,31 @@
+function outStruct = idCalcFldIntFromElecBeamMeasForUndSOLEIL_1(idName, dirMeasData, fileNameMeasMain, fileNameMeasBkgr, dirModel, arIndsBPMsToSkip)
+
+%Calculates effective first and second horizontal and vertical field
+%integrals of SOLEIL undulators from COD 
+%for one measurement of the COD (read from the files: fileNameMeasMain, fileNameMeasBkgr)
+
+GeomParUnd = idGetGeomParamForUndSOLEIL(idName);
+
+ElecBeamModelData = idReadElecBeamModel(dirModel);
+mCODx = idCreateModelOrbDistMatr('x', ElecBeamModelData, GeomParUnd);
+mCODz = idCreateModelOrbDistMatr('z', ElecBeamModelData, GeomParUnd);
+
+dirStart = pwd;
+if strcmp(dirMeasData, '') == 0
+	cd(dirMeasData);
+end
+ElecBeamMeasMain = load(char(fileNameMeasMain));
+ElecBeamMeasBkgr = load(char(fileNameMeasBkgr));
+cd(dirStart);
+
+[outStruct.I1X, outStruct.I2X, outStruct.I1Z, outStruct.I2Z] = idCalcFldIntFromElecBeamMeas(ElecBeamMeasMain, ElecBeamMeasBkgr, mCODx, mCODz, arIndsBPMsToSkip, GeomParUnd.idLen, GeomParUnd.idKickOfst, ElecBeamModelData.E);
+
+outStruct.DX_Meas = ElecBeamMeasMain.X - ElecBeamMeasBkgr.X;
+outStruct.DZ_Meas = ElecBeamMeasMain.Z - ElecBeamMeasBkgr.Z;
+outStruct.KicksX = idLeastSqLinFit(mCODx, outStruct.DX_Meas, arIndsBPMsToSkip);
+outStruct.KicksZ = idLeastSqLinFit(mCODz, outStruct.DZ_Meas, arIndsBPMsToSkip);
+outStruct.DX_Fit = mCODx*outStruct.KicksX;
+outStruct.DZ_Fit = mCODz*outStruct.KicksZ;
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL.m	(revision 17)
@@ -0,0 +1,83 @@
+function [vI1x, vI2x, vI1z, vI2z, vPosBump, vKickX1, vKickX2, vKickZ1, vKickZ2, dNuX, dNuZ] = idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL(idName, dirMeasData, fileNamesBumpInf, undParam, dirModel, arIndsBPMsToSkip)
+%Calculates dependences I1x vs x (position bump), I1z vs x, etc., for given
+%undulator parameters, e.g. undParam = {{'gap', 15.5}, {'phase', 40}}
+%fileNamesBumpInf is the result of idMeasElecBeamVsUndParamVsBump
+%arIndsBPMsToSkip can be either [1, 2, 3, 7,...] or {[1 1],[1 2],[1 3],[1 7],...}
+
+%Convert list of BPMs to skip to absolute format
+if(iscell(arIndsBPMsToSkip))
+    numBPMsToSkip = length(arIndsBPMsToSkip);
+	if(numBPMsToSkip > 0)
+        arAbsIndsBPMsToSkip = zeros(numBPMsToSkip, 1);
+        for i = 1:numBPMsToSkip
+            arAbsIndsBPMsToSkip = idBPMIndConvForSOLEIL(i);
+        end
+    else
+        arAbsIndsBPMsToSkip = -1;
+	end
+else
+	arAbsIndsBPMsToSkip = arIndsBPMsToSkip;
+end
+
+%Extract necessary data from fileNamesBumpInf
+numBumps = length(fileNamesBumpInf);
+if(numBumps <= 0)
+	fprintf('No position bump data was found\n');
+	return;
+end
+
+GeomParUnd = idGetGeomParamForUndSOLEIL(idName);
+ElecBeamModelData = idReadElecBeamModel(dirModel);
+mCODx = idCreateModelOrbDistMatr('x', ElecBeamModelData, GeomParUnd);
+mCODz = idCreateModelOrbDistMatr('z', ElecBeamModelData, GeomParUnd);
+
+vPosBump = zeros(numBumps, 1);
+vI1x = zeros(numBumps, 1);
+vI2x = zeros(numBumps, 1);
+vI1z = zeros(numBumps, 1);
+vI2z = zeros(numBumps, 1);
+vKickX1 = zeros(numBumps, 1);
+vKickX2 = zeros(numBumps, 1);
+vKickZ1 = zeros(numBumps, 1);
+vKickZ2 = zeros(numBumps, 1);
+dNuX = zeros(numBumps, 1);
+dNuZ = zeros(numBumps, 1);
+
+if strcmp(dirMeasData, '')
+    dirMeasData = getfamilydata('Directory',idName);
+end
+
+absIndMeas = -1;
+for i = 1:numBumps
+    curFileNamesBumpInf = fileNamesBumpInf{i};
+    curBumpInf = curFileNamesBumpInf{1};
+    curFileNamesStruct = curFileNamesBumpInf{2};
+    vPosBump(i) = 0.5*(curBumpInf(1) + curBumpInf(2));
+    
+    curUndParamsMeas = curFileNamesStruct.params;
+    if(absIndMeas < 0)
+        absIndMeas = idAuxCalcIndMeasAtGivenUndParams(curUndParamsMeas, undParam);
+    end
+    curFileNamesMeasBkg = curFileNamesStruct.filenames_meas_bkg{absIndMeas};
+    curFileNameMeas = curFileNamesMeasBkg{1};
+    curFileNameBkg = curFileNamesMeasBkg{2};
+    
+    dirStart = pwd;
+    cd(dirMeasData);
+	ElecBeamMeasMain = load(curFileNameMeas);
+	ElecBeamMeasBkgr = load(curFileNameBkg);
+	cd(dirStart);
+    
+    [vI1x(i), vI2x(i), vI1z(i), vI2z(i)] = idCalcFldIntFromElecBeamMeas(ElecBeamMeasMain, ElecBeamMeasBkgr, mCODx, mCODz, arAbsIndsBPMsToSkip, GeomParUnd.idLen, GeomParUnd.idKickOfst, ElecBeamModelData.E);
+
+	DX_Meas = ElecBeamMeasMain.X - ElecBeamMeasBkgr.X;
+	DZ_Meas = ElecBeamMeasMain.Z - ElecBeamMeasBkgr.Z;
+	KicksX = idLeastSqLinFit(mCODx, DX_Meas, arAbsIndsBPMsToSkip);
+	KicksZ = idLeastSqLinFit(mCODz, DZ_Meas, arAbsIndsBPMsToSkip);
+    vKickX1(i) = KicksX(1);
+    vKickX2(i) = KicksX(2);
+    vKickZ1(i) = KicksZ(1);
+    vKickZ2(i) = KicksZ(2);
+	dNuX(i) = ElecBeamMeasMain.tune(1) - ElecBeamMeasBkgr.tune(1);
+	dNuZ(i) = ElecBeamMeasMain.tune(2) - ElecBeamMeasBkgr.tune(2);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcVirtKickAngles.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcVirtKickAngles.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcVirtKickAngles.m	(revision 17)
@@ -0,0 +1,9 @@
+function [outKicksX, outKicksZ] = idCalcVirtKickAngles(mOrbDistX, mOrbDistZ, vOrigX, vOrigZ)
+
+vCurX = getx;
+vCurZ = getz;
+vDelX = vCurX - vOrigX;
+vDelZ = vCurZ - vOrigZ;
+
+outKicksX = idLeastSqLinFit(mOrbDistX, vDelX);
+outKicksZ = idLeastSqLinFit(mOrbDistZ, vDelZ);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCreateModelOrbDistMatr.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCreateModelOrbDistMatr.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCreateModelOrbDistMatr.m	(revision 17)
@@ -0,0 +1,80 @@
+%function outM = idCreateModelOrbDistMatr(x_or_z, ModelData, indUpstrBPM, sectLenBwBPMs, idCenPos, idLen, idKickOfst)
+function outM = idCreateModelOrbDistMatr(x_or_z, ModelData, GeomParUnd)
+
+% Creates orbit distortion matrix to simulate effect of an ID on e-beam
+% transverse positions along the ring
+
+indDownstrBPM = GeomParUnd.indUpstrBPM + 1; % To precise this
+if indDownstrBPM == 121
+    indDownstrBPM = 1;
+end
+
+ringCircum = ModelData.circ; %354; % [m]
+alpMomCompact = ModelData.alp1; %0.0004; % Ask Laurent or Pascale
+
+%numBPMsToSkip = length(arIndsBPMsToSkip);
+
+%[Btx, Btz] = modelbeta(strBPM);
+%[Alpx, Alpz] = modeltwiss('alpha', strBPM);
+%[Etax, Etaz] = modeldisp(strBPM); % Ask Laurent or Pascale
+%[Phx, Phz] = modelphase(strBPM);
+%Nuxz = modeltune;
+
+Bt = ModelData.Btx; Alp = ModelData.Alpx; Eta = ModelData.Etax; Ph = ModelData.Phx; Nu = ModelData.Nuxz(1);
+if strcmp(x_or_z, 'z') ~= 0
+	Bt = ModelData.Btz; Alp = ModelData.Alpz; Eta = ModelData.Etaz; Ph = ModelData.Phz; Nu = ModelData.Nuxz(2);
+end
+
+distUpstrBPM_Kick1 = GeomParUnd.idCenPos - 0.5*GeomParUnd.sectLenBwBPMs - 0.5*GeomParUnd.idLen + GeomParUnd.idKickOfst;
+distUpstrBPM_Kick2 = GeomParUnd.idCenPos - 0.5*GeomParUnd.sectLenBwBPMs + 0.5*GeomParUnd.idLen - GeomParUnd.idKickOfst;
+btUpstr = Bt(GeomParUnd.indUpstrBPM);
+alpUpstr = Alp(GeomParUnd.indUpstrBPM);
+etaUpstr = Eta(GeomParUnd.indUpstrBPM);
+etaDownstr = Eta(indDownstrBPM);
+phUpstr = Ph(GeomParUnd.indUpstrBPM);
+%phDownstr = Ph(indDownstrBPM);
+
+gamUpstr = (1 + alpUpstr*alpUpstr)/btUpstr;
+twoAlpUpstr = 2*alpUpstr;
+btKick1 = btUpstr - distUpstrBPM_Kick1*twoAlpUpstr + distUpstrBPM_Kick1*distUpstrBPM_Kick1*gamUpstr;
+btKick2 = btUpstr - distUpstrBPM_Kick2*twoAlpUpstr + distUpstrBPM_Kick2*distUpstrBPM_Kick2*gamUpstr;
+
+etaDifBwBPMs = etaDownstr - etaUpstr;
+etaKick1 = etaUpstr + (distUpstrBPM_Kick1/GeomParUnd.sectLenBwBPMs)*etaDifBwBPMs; % Ask Laurent or Pascale
+etaKick2 = etaUpstr + (distUpstrBPM_Kick2/GeomParUnd.sectLenBwBPMs)*etaDifBwBPMs;
+
+%phDifBwBPMs = phDownstr - phUpstr;
+%phKick1 = phUpstr + (distUpstrBPM_Kick1/GeomParUnd.sectLenBwBPMs)*phDifBwBPMs; % Ask Laurent or Pascale
+%phKick2 = phUpstr + (distUpstrBPM_Kick2/GeomParUnd.sectLenBwBPMs)*phDifBwBPMs;
+phKick1 = phUpstr + atan(alpUpstr) + atan(gamUpstr*distUpstrBPM_Kick1 - alpUpstr);
+phKick2 = phUpstr + atan(alpUpstr) + atan(gamUpstr*distUpstrBPM_Kick2 - alpUpstr);
+
+invTwoSinPiNu = 1./(2.*sin(pi*Nu));
+invAlpCircum = 1./(alpMomCompact*ringCircum);
+numBPMsAr = size(Bt);
+numBPMs = numBPMsAr(1);
+%outM = zeros(numBPMs - numBPMsToSkip, 2);
+outM = zeros(numBPMs, 2);
+
+%countBPM = 1;
+for i = 1:numBPMs
+    %if(numBPMsToSkip > 0)
+    %    skipThisBPM = 0;
+    %    for j = 1:numBPMsToSkip
+    %        if(i == arIndsBPMsToSkip(j))
+    %            skipThisBPM = 1;
+    %            break;
+    %    	end
+    %    end
+    %    if(skipThisBPM ~= 0)
+    %        continue;
+    %    end
+    %end
+    
+    %outM(countBPM, 1) = invTwoSinPiNu*sqrt(Bt(i)*btKick1)*cos(abs(Ph(i) - phKick1) - pi*Nu) + invAlpCircum*Eta(i)*etaKick1;
+    %outM(countBPM, 2) = invTwoSinPiNu*sqrt(Bt(i)*btKick2)*cos(abs(Ph(i) - phKick2) - pi*Nu) + invAlpCircum*Eta(i)*etaKick2;
+    %countBPM = countBPM + 1; 
+    
+    outM(i, 1) = invTwoSinPiNu*sqrt(Bt(i)*btKick1)*cos(abs(Ph(i) - phKick1) - pi*Nu) + invAlpCircum*Eta(i)*etaKick1;
+    outM(i, 2) = invTwoSinPiNu*sqrt(Bt(i)*btKick2)*cos(abs(Ph(i) - phKick2) - pi*Nu) + invAlpCircum*Eta(i)*etaKick2;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetCorCurForOrbitBump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetCorCurForOrbitBump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetCorCurForOrbitBump.m	(revision 17)
@@ -0,0 +1,35 @@
+function [CM_DeviceList, CM_CurSP, ErrorFlag] = idGetCorCurForOrbitBump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList)
+%Determines a vector of relative current values [A] in a given set of correctors,
+%which are necessary to provide a given incremental bump in storage ring
+
+[OCS, OCS0, V, S, ErrorFlag] = setorbitbump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList, 'NoSetSP');
+if(ErrorFlag)
+    return;
+end
+CM_DeviceList = OCS.CM.DeviceList;
+CM_CurSP = OCS.CM.Delta;
+
+%Get "normal" setpoints for corrector currents
+%[CM_OrigCurSP, tout, DataTime, ErrorFlag] = getam(CM_Family, CM_DeviceList);
+%if(ErrorFlag ~= 0)
+%    return;
+%end
+
+%Do the bump ('incremental' by default ?)
+%[OCS, OCS0, V, S, ErrorFlag] = setorbitbump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList);
+%if(ErrorFlag)
+%    return;
+%end
+%CM_DeviceList = OCS.CM.DeviceList;
+
+%Get setpoints
+%[CM_CurSP, tout, DataTime, ErrorFlag] = getam(CM_Family, CM_DeviceList);
+%if(ErrorFlag)
+%    return;
+%end
+
+%We need relative currents:
+%CM_CurSP = CM_CurSP - CM_OrigCurSP;
+
+%Removing the bump - do we need to do that?
+%[OCS, OCS0, V, S, ErrorFlag] = setorbitbump(BPM_Family, BPM_DeviceList, -GoalOrbit, CM_Family, CM_IncrementList);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetDServerForUndSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetDServerForUndSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetDServerForUndSOLEIL.m	(revision 17)
@@ -0,0 +1,31 @@
+function [DServName, StandByStr] = idGetDServerForUndSOLEIL(idName)
+
+DServName = '';
+StandByStr = ''; %String to search in the return of "Status" command of DServer
+
+if strcmp(idName, 'HU80_TEMPO')
+    DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY'; 
+elseif strcmp(idName, 'HU80_PLEIADES')
+    %DServName = 'ANS-C04/EI/M-HU80.2'; %Name of Level 2 DServer
+    %StandByStr = 'ANS-C04/EI/M-HU80.2_MotorsControl : STANDBY'; 
+    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C04/EI/M-HU80.1_MotorsControl : STANDBY'; 
+elseif strcmp(idName, 'HU80_CASSIOPEE')
+    DServName = 'ANS-C15/EI/M-HU80.1'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C15/EI/M-HU80.1_MotorsControl : STANDBY'; 
+elseif strcmp(idName, 'U20_PROXIMA1')
+    DServName = 'ANS-C10/EI/C-U20'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C10/EI/C-U20_MOTORSCONTROL: 	STANDBY'; 
+elseif strcmp(idName, 'U20_SWING')
+    DServName = 'ANS-C11/EI/C-U20'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C11/EI/C-U20_MOTORSCONTROL: 	STANDBY'; 
+elseif strcmp(idName, 'U20_CRISTAL')
+    DServName = 'ANS-C06/EI/C-U20'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C06/EI/C-U20_MOTORSCONTROL: 	STANDBY';
+elseif strcmp(idName, 'HU640_DESIRS')
+    DServName = 'ANS-C05/EI/L-HU640'; %Name of Level 2 DServer
+    %StandByStr = '- ANS-C05/EI/L-HU640_PS1: 	ON\n- ANS-C05/EI/L-HU640_PS2: 	ON\n- ANS-C05/EI/L-HU640_PS3: 	ON'; 
+    StandByStr = '- ANS-C05/EI/L-HU640_PS1: 	ON'; %to correct later!!!
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetGeomParamForUndSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetGeomParamForUndSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetGeomParamForUndSOLEIL.m	(revision 17)
@@ -0,0 +1,69 @@
+function outStruct = idGetGeomParamForUndSOLEIL(idName)
+
+outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+outStruct.idCenPos = 1.333; %[m] center longitudinal position of the ID with respect to the straight section center
+outStruct.idLen = 1.8; %[m] ID length
+outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+outStruct.indUpstrBPM = 54; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+outStruct.indRelBPMs = [8 1;8 2]; %relative indexes of upstream and downstream BPMs of the straight section where the ID is located
+
+if strncmp(idName, 'U20', 3)
+    %To be checked by Chams and Pascale B.
+	outStruct.sectLenBwBPMs = 2.4; %[m] straight section length between BPMs
+	outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+	outStruct.idLen = 2; %[m] ID length
+	outStruct.idKickOfst = 0.1; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'U20_PROXIMA1')
+        outStruct.indUpstrBPM = 72; %to check ! absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [10 5;10 6];
+    elseif strcmp(idName, 'U20_SWING')
+        outStruct.indUpstrBPM = 80; %to check ! absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [11 5;11 6];
+    elseif strcmp(idName, 'U20_CRISTAL')
+        outStruct.indUpstrBPM = 42; %to check ! absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [6 5;6 6];        
+    end
+elseif strncmp(idName, 'HU80', 4)
+    outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+    outStruct.idCenPos = 1.333; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 1.8; %[m] ID length
+    outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'HU80_TEMPO')
+        outStruct.indUpstrBPM = 54; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 1.333; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [8 1;8 2];
+    elseif strcmp(idName, 'HU80_PLEIADES')
+        outStruct.indUpstrBPM = 24; %to check ! absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = -1.8; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [4 1;4 2];
+    elseif strcmp(idName, 'HU80_CASSIOPEE')
+        outStruct.indUpstrBPM = 106; %to check ! absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = -1.8; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [15 1;15 2];
+    end
+elseif strncmp(idName, 'HU256', 5)
+    outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+    outStruct.idCenPos = 0.8945; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 3.392; %[m] ID length
+	outStruct.idKickOfst = 0; %[m] offset from ID edge to effective position of a "kick"
+    if strcmp(idName, 'HU256_CASSIOPEE')
+        outStruct.indUpstrBPM = 106; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [15 1;15 2];
+    elseif strcmp(idName, 'HU256_PLEIADES')
+        outStruct.indUpstrBPM = 24;
+        outStruct.indRelBPMs = [4 1;4 2];
+    elseif strcmp(idName, 'HU256_ANTARES')
+        outStruct.indUpstrBPM = 84;
+        outStruct.indRelBPMs = [12 1;12 2];
+    end
+elseif strcmp(idName, 'HU640_DESIRS')
+    %To be checked by Olivier and Pascale B.
+	outStruct.sectLenBwBPMs = 11.318; %to check ! [m] straight section length between BPMs
+    outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 10.4; %to check ! [m] ID length
+    outStruct.idKickOfst = 0.32; %[m] offset from ID edge to effective position of a "kick"
+	outStruct.indUpstrBPM = 30; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+	outStruct.indRelBPMs = [5 1;5 2];
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetUndDServer.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetUndDServer.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetUndDServer.m	(revision 17)
@@ -0,0 +1,31 @@
+function [DServName, StandByStr] = idGetUndDServer(idName)
+
+DServName = '';
+StandByStr = ''; %String to search in the return of "Status" command of DServer
+
+if strcmp(idName, 'HU80_TEMPO')
+    DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY'; 
+elseif strcmp(idName, 'HU80_PLEIADES')
+    %DServName = 'ANS-C04/EI/M-HU80.2'; %Name of Level 2 DServer
+    %StandByStr = 'ANS-C04/EI/M-HU80.2_MotorsControl : STANDBY'; 
+    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C04/EI/M-HU80.1_MotorsControl : STANDBY'; 
+elseif strcmp(idName, 'HU80_CASSIOPEE')
+    DServName = 'ANS-C15/EI/M-HU80.1'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C15/EI/M-HU80.1_MotorsControl : STANDBY'; 
+elseif strcmp(idName, 'U20_PROXIMA1')
+    DServName = 'ANS-C10/EI/C-U20'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C10/EI/C-U20_MOTORSCONTROL: 	STANDBY'; 
+elseif strcmp(idName, 'U20_SWING')
+    DServName = 'ANS-C11/EI/C-U20'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C11/EI/C-U20_MOTORSCONTROL: 	STANDBY'; 
+elseif strcmp(idName, 'U20_CRISTAL')
+    DServName = 'ANS-C06/EI/C-U20'; %Name of Level 2 DServer
+    StandByStr = 'ANS-C06/EI/C-U20_MOTORSCONTROL: 	STANDBY';
+elseif strcmp(idName, 'HU640_DESIRS')
+    DServName = 'ANS-C05/EI/L-HU640'; %Name of Level 2 DServer
+    %StandByStr = '- ANS-C05/EI/L-HU640_PS1: 	ON\n- ANS-C05/EI/L-HU640_PS2: 	ON\n- ANS-C05/EI/L-HU640_PS3: 	ON'; 
+    StandByStr = '- ANS-C05/EI/L-HU640_PS1: 	ON'; %to correct later!!!
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetUndParam.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetUndParam.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetUndParam.m	(revision 17)
@@ -0,0 +1,19 @@
+function param = idGetUndParam(idName, attrName)
+
+param = 0;
+DServName = '';
+StandByStr = ''; %String to search in the return of "Status" command of DServer
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+if strcmp(DServName, '') ~= 0
+    fprintf('Device Server name can not be found\n');
+    param = -1; return;
+end
+
+attr_name_list = {attrName};
+attr_val_list = tango_read_attributes(DServName, attr_name_list);
+if (tango_error == -1) %handle error 
+    tango_print_error_stack; param = -1; return;
+end
+param = attr_val_list(1).value(1); %check why (1)
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idInterpolFeedForwardCorTables2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idInterpolFeedForwardCorTables2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idInterpolFeedForwardCorTables2D.m	(revision 17)
@@ -0,0 +1,6 @@
+function [new_mCHE_with_arg, new_mCVE_with_arg, new_mCHS_with_arg, new_mCVS_with_arg] = idInterpolFeedForwardCorTables2D(mCHE_with_arg, mCVE_with_arg, mCHS_with_arg, mCVS_with_arg, vNewArg1, vNewArg2, interpMeth)
+
+new_mCHE_with_arg = idAuxInterpolTable2D(mCHE_with_arg, vNewArg1, vNewArg2, interpMeth);
+new_mCVE_with_arg = idAuxInterpolTable2D(mCVE_with_arg, vNewArg1, vNewArg2, interpMeth);
+new_mCHS_with_arg = idAuxInterpolTable2D(mCHS_with_arg, vNewArg1, vNewArg2, interpMeth);
+new_mCVS_with_arg = idAuxInterpolTable2D(mCVS_with_arg, vNewArg1, vNewArg2, interpMeth);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idKicks2FldInt.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idKicks2FldInt.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idKicks2FldInt.m	(revision 17)
@@ -0,0 +1,18 @@
+function [i1, i2] = idKicks2FldInt(vKicks, x_or_z_pos, idLen, idKickOfst, elecEn_GeV)
+
+m = 9.10953447E-31; % Mass of electron in kg
+e = 1.602189246E-19; % Charge of electron in Coulomb
+c = 2.99792458E+08; % Speed of light in m/s
+
+gam = elecEn_GeV/(0.511e-03);
+
+cf = 10000.*m*c*gam/e; % To obtain results in [G*m], [G*m^2]
+if strcmp(x_or_z_pos, 'z') ~= 0
+    cf = -cf;
+end
+
+i1 = cf*(vKicks(1) + vKicks(2));
+
+distBwKicks = idLen - 2*idKickOfst;
+i2 = 0.5*cf*((idLen + distBwKicks)*vKicks(1) + (idLen - distBwKicks)*vKicks(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idLeastSqLinFit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idLeastSqLinFit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idLeastSqLinFit.m	(revision 17)
@@ -0,0 +1,36 @@
+function resV = idLeastSqLinFit(M, V, arIndsBPMsToSkip)
+
+numBPMs = length(V);
+numBPMsToSkip = length(arIndsBPMsToSkip);
+actNumBPMs = numBPMs - numBPMsToSkip;
+if(numBPMsToSkip <= 0)
+    workM = M;
+    workV = V;
+else
+    workM = zeros(actNumBPMs, 2);
+    workV = zeros(actNumBPMs, 1);
+    countBPM = 1;
+    for i = 1:numBPMs
+        skipThisBPM = 0;
+        for j = 1:numBPMsToSkip
+            if(i == arIndsBPMsToSkip(j))
+                skipThisBPM = 1;
+                break;
+        	end
+        end
+        if(skipThisBPM ~= 0)
+            continue;
+        end
+        
+        workV(countBPM) = V(i);
+        workM(countBPM, 1) = M(i, 1);
+        workM(countBPM, 2) = M(i, 2);
+        countBPM = countBPM + 1; 
+    end
+end
+
+transpM = workM';
+squareM = transpM*workM;
+invSquareM = inv(squareM);
+finM = invSquareM*transpM;
+resV = finM*workV;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idLeastSqLineTilt.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idLeastSqLineTilt.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idLeastSqLineTilt.m	(revision 17)
@@ -0,0 +1,18 @@
+function k = idLeastSqLineTilt(arArg, arFunc)
+
+k = 0;
+numArg = length(arArg);
+numFunc = length(arFunc);
+
+if (numArg ~= numFunc)
+    sprintf('Inconsistent numbers of points in the argument and function values arrays');
+    return;
+end
+
+s1 = 0;
+s2 = 0;
+for i = 1:numArg
+    s1 = s1 + arArg(i)*arFunc(i);
+    s2 = s2 + arArg(i)*arArg(i);
+end
+k = s1/s2;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasCorEffic.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasCorEffic.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasCorEffic.m	(revision 17)
@@ -0,0 +1,59 @@
+function [strAllFileNames, res] = idMeasCorEffic(idName, tableCorCur, inclPerturbMeas, fileNameCore, dispData)
+res = -1;
+
+numMeas = length(tableCorCur);
+timeStandBy = 10; 
+curAbsTol = 0.001;
+curToSetCHE = 0;
+curToSetCVE = 0; 
+curToSetCHS = 0;
+curToSetCVS = 0;
+fileNameCoreWithCor = fileNameCore;
+strCor = '';
+%strAllFileNames = {};
+strAllFileNames = '';
+
+for i = 1:numMeas
+    curToSetCHE = tableCorCur(i, 1);
+    curToSetCVE = tableCorCur(i, 2);
+	curToSetCHS = tableCorCur(i, 3);
+    curToSetCVS = tableCorCur(i, 4);
+    
+	if (dispData ~= 0)
+        fprintf('\nCurrents: CHE = %f, CVE = %f, CHS = %f, CVS = %f\n', curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS);
+    end
+
+    res = idSetCorCurSync(idName, curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS, curAbsTol);
+    if (res ~= 0)
+        fprintf('Failed to set the current values:  %f  %f  %f  %f\nLoop on the current values has stopped abnormally\n', curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS);
+        return;
+    end
+    
+    strCor = sprintf('_he%i_ve%i_hs%i_vs%i', curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS);
+    fileNameCoreWithCor = strcat(fileNameCore, strCor);
+    
+    pause(timeStandBy);
+    
+	EIaux = idMeasElecBeamUnd(idName, inclPerturbMeas, fileNameCoreWithCor, dispData);
+    
+    if (strcmp(EIaux.file, '') == 0)
+        if(length(strAllFileNames) > 0)
+            strAllFileNames = strcat(strAllFileNames, '\n');
+        end
+        strAllFileNames = strcat(strAllFileNames, EIaux.file);
+        strAllFileNames = sprintf(strAllFileNames);
+        %strAllFileNames{i} = EIaux.file;
+    end
+end
+
+res = idSetCorCurSync(idName, 0, 0, 0, 0, curAbsTol);
+if (res ~= 0)
+	fprintf('Failed to set the current values:  0  0  0  0\n');
+end
+
+if (strcmp(strAllFileNames, '') == 0)
+%if (length(strAllFileNames) > 0)
+    auxListStruct.file = strAllFileNames;
+    fileNameCoreList = strcat(fileNameCore, '_cor_meas_list');
+    idSaveStruct(auxListStruct, fileNameCoreList, idName, 0);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam.m	(revision 17)
@@ -0,0 +1,81 @@
+function outStructElecBeam = idMeasElecBeam(inStructElecBeam, inclPerturbMeas, dispData)
+
+%On and Off e-beam size meas.:
+inclSizeMeas = 0; %1;
+
+% Pause duration between eventual measurements of the dispersion functions and chromatisities:
+pauseTime_s = 5;
+
+% H orbit
+inStructElecBeam.X = getx;
+% V orbit
+inStructElecBeam.Z = getz;
+% Stored electron beam current
+inStructElecBeam.current = getdcct;
+% Tunes
+inStructElecBeam.tune = gettune;
+% Beam lifetime
+%temp = tango_read_attribute2('ANS/DG/PUB-LifeTime','double_scalar');
+%inStructElecBeam.tau = temp.value(1);
+
+if inclPerturbMeas ~= 0
+	% Measure dispersion functions. ATTENTION, it perturbes e-beam !
+	[dx dz] = measdisp('Physics');
+	inStructElecBeam.dx = dx;
+	inStructElecBeam.dz = dz;
+    %inStructElecBeam,
+    pause(pauseTime_s);
+
+	% Measure chromaticities. ATTENTION, it perturbes e-beam !
+	inStructElecBeam.ksi = measchro('Physics');
+else
+	inStructElecBeam.dx = 0;
+	inStructElecBeam.dz = 0;
+    inStructElecBeam.ksi = [0, 0];
+end
+
+%E-Beam Size / Emittance measurements 
+if inclSizeMeas ~= 0
+    devemit = 'ANS-C02/DG/PHC-EMIT';
+
+    numPinholeMeas = 20;
+    pauseTimePinhole_s = 1;
+    sumSigX = 0;
+    sumSigZ = 0;
+    sumEmitX = 0;
+    sumEmitZ = 0;
+    sumCoupling = 0;
+    for j = 1:numPinholeMeas
+    	sumSigX = sumSigX + readattribute([devemit '/SrcPointSigmaH']);
+        sumSigZ = sumSigZ + readattribute([devemit '/SrcPointSigmaV']);
+        sumEmitX = sumEmitX + readattribute([devemit '/EmittanceH']);
+        sumEmitZ = sumEmitZ + readattribute([devemit '/EmittanceV']);
+        sumCoupling = sumCoupling + readattribute([devemit '/Coupling']);
+        pause(pauseTimePinhole_s);
+    end
+    inStructElecBeam.SigX = sumSigX/numPinholeMeas;
+    inStructElecBeam.SigZ = sumSigZ/numPinholeMeas;
+    inStructElecBeam.EmitX = sumEmitX/numPinholeMeas;
+    inStructElecBeam.EmitZ = sumEmitZ/numPinholeMeas;
+    inStructElecBeam.Coupling = sumCoupling/numPinholeMeas;
+end
+
+inStructElecBeam.date = datestr(now); % convert date to string
+outStructElecBeam = inStructElecBeam;
+
+if dispData ~= 0
+	fprintf('I = %f\n', outStructElecBeam.current);
+    %fprintf('Tau = %f\n', outStructElecBeam.tau);
+    %fprintf('P=%d\n',pres)
+    fprintf('nux = %f\n', outStructElecBeam.tune(1));
+    fprintf('nuz = %f\n', outStructElecBeam.tune(2));
+    fprintf('ksix = %f\n', outStructElecBeam.ksi(1));
+    fprintf('ksiz = %f\n', outStructElecBeam.ksi(2));
+    
+    if inclSizeMeas ~= 0
+    	fprintf('SigX = %f;  EmitX = %f\n', inStructElecBeam.SigX, inStructElecBeam.EmitX);
+        fprintf('SigZ = %f;  EmitZ = %f\n', inStructElecBeam.SigZ, inStructElecBeam.EmitZ);
+        fprintf('Coupling = %f\n', inStructElecBeam.Coupling);
+    end
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamUnd.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamUnd.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamUnd.m	(revision 17)
@@ -0,0 +1,10 @@
+function outStruct = idMeasElecBeamUnd(idName, inclPerturbMeas, fileNameCore, dispData)
+
+outStruct.X = 0;
+outStruct = idMeasElecBeam(outStruct, inclPerturbMeas, dispData);
+if strcmp(idName, '') == 0
+    outStruct = idReadUndState(outStruct, idName, dispData);
+end
+if strcmp(fileNameCore, '') == 0
+    outStruct.file = idSaveStruct(outStruct, fileNameCore, idName, dispData);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamVsUndParam.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamVsUndParam.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamVsUndParam.m	(revision 17)
@@ -0,0 +1,153 @@
+function [resFileNamesStruct, resErrorFlag] = idMeasElecBeamVsUndParam(idName, undParams, undParamsBkg, freqBkgMeas, inclPerturbMeas, fileNameCore, dispData)
+% Measure e-beam COD at different undulator parameters (gap, phase or currents in main coils)
+% if(freqBkgMeas == 1) - measure bakground once each time after passing the in-most loop
+% if(freqBkgMeas == n) - measure bakground once after passing n nested loops
+
+resFileNames = {};
+resErrorFlag = 0;
+numUndParams = length(undParams);
+resUnd = 0;
+
+%"Nested For" algorithm
+curParamName = undParams{1}{1};
+curParamValues = undParams{1}{2};
+curParamAbsTol = undParams{1}{3};
+numCurParamValues = length(curParamValues);
+
+nextFileNameCoreBase = strcat(fileNameCore, '_');
+nextFileNameCoreBase = strcat(nextFileNameCoreBase, curParamName);
+
+for j = 1:numCurParamValues
+    
+	curParamValue = curParamValues(j);
+    
+    strParamValue = sprintf('%f', curParamValue);
+    strParamValue = strrep(strParamValue, '.', '_');
+    lenOrigStrParamValue = length(strParamValue);
+    numTrailZeros = 0; %removing trailing zeros
+    for k = 1:lenOrigStrParamValue
+        if strcmp(strParamValue(lenOrigStrParamValue - k + 1), '0')
+            numTrailZeros = numTrailZeros + 1;
+        else
+            if (numTrailZeros > 0) && strcmp(strParamValue(lenOrigStrParamValue - k + 1), '_')
+                numTrailZeros = numTrailZeros + 1;
+            end
+            break;
+        end
+    end
+    if(numTrailZeros > 0)
+        strParamValueFin = '';
+        for k = 1:lenOrigStrParamValue - numTrailZeros
+            strParamValueFin = strcat(strParamValueFin, strParamValue(k));
+        end
+    else
+        strParamValueFin = strParamValue; %OC fix(?)
+    end
+    nextFileNameCore = strcat(nextFileNameCoreBase, strParamValueFin);
+    
+    %%%%%%%%%%%Change Undulator parameter (gap, phase or current)
+	resUnd = idSetUndParamSync(idName, curParamName, curParamValue, curParamAbsTol);
+    if(resUnd ~= 0)
+        fprintf('Execution terminated since Undulator Parameter can not be set\n');
+        resErrorFlag = -1; return;
+    end
+    
+	if(numUndParams > 1)
+        %Preparing arguments for nested call
+        nextUndParams = {};
+        for k = 1:(numUndParams - 1)
+            for i = 1:3
+                nextUndParams{k}{i} = undParams{k + 1}{i};
+            end
+            nextUndParams{k}{4} = 'nested'; %marking the set of params as for the nested call
+        end
+        
+        %%%%%%%%%%%Do nested call
+        [resNextFileNamesStruct, resNextErrorFlag] = idMeasElecBeamVsUndParam(idName, nextUndParams, undParamsBkg, freqBkgMeas, inclPerturbMeas, nextFileNameCore, dispData);
+        resNextFileNames = resNextFileNamesStruct.filelist;
+        numNextFileNames = length(resNextFileNames);
+        
+        if(resNextErrorFlag ~= 0)
+            fprintf('Execution terminated because of error in the inner loop\n');
+            resErrorFlag = resNextErrorFlag; return;
+        end
+
+        numCurFileNames = length(resFileNames);
+        for k = 1:numNextFileNames
+        	resFileNames{numCurFileNames + k} = resNextFileNames{k};
+        end
+
+    else
+        %%%%%%%%%%%Measure e-beam COD
+        outStruct = idMeasElecBeamUnd(idName, inclPerturbMeas, nextFileNameCore, dispData);
+        numCurFileNames = length(resFileNames);
+        resFileNames{numCurFileNames + 1} = outStruct.file;
+	end
+end
+resFileNamesStruct.filelist = resFileNames;
+
+numUndParamsBkg = length(undParamsBkg);
+if((numUndParams == freqBkgMeas) && (numUndParamsBkg > 0)) %Measure Background if necessary
+    %numUndParamsBkg = length(undParamsBkg);
+
+    if(numUndParamsBkg > 0)
+    	nextFileNameCore = strcat(fileNameCore, '_bkg');
+    	undParamsBeforeBkgMeas = {};
+        for k = 1:numUndParamsBkg
+            curParamName = undParamsBkg{k}{1};
+            curParamValue = undParamsBkg{k}{2};
+            curParamAbsTol = undParamsBkg{k}{3};
+            undParamsBeforeBkgMeas{k} = idGetUndParam(idName, curParamName);
+            
+            %%%%%%%%%%%Change Undulator parameter (gap, phase or current) to prepare for background measurement
+            resUnd = idSetUndParamSync(idName, curParamName, curParamValue, curParamAbsTol);
+            if(resUnd ~= 0)
+                fprintf('Execution terminated since Undulator Parameter can not be set\n');
+                resErrorFlag = -1; return;
+            end
+        end
+
+        %%%%%%%%%%%Measure e-beam COD background
+        outStruct = idMeasElecBeamUnd(idName, inclPerturbMeas, nextFileNameCore, dispData);
+        numCurFileNames = length(resFileNames);
+        resFileNames{numCurFileNames + 1} = outStruct.file;
+        resFileNamesStruct.filelist = resFileNames;
+
+        %Returning to the state before background measurement, only in the case of nested call
+        if(length(undParams{1}) > 3)
+            if strcmp(undParams{1}{4}, 'nested')
+                for k = 1:numUndParamsBkg
+                    curParamName = undParamsBkg{k}{1};
+                    curParamAbsTol = undParamsBkg{k}{3};
+                    curParamValue = undParamsBeforeBkgMeas{k};
+            
+                    %%%%%%%%%%%Change Undulator parameter (gap, phase or current) - return to the last state before background measurement
+                    resUnd = idSetUndParamSync(idName, curParamName, curParamValue, curParamAbsTol);
+                    if(resUnd ~= 0)
+                        fprintf('Execution terminated since Undulator Parameter can not be set\n');
+                        resErrorFlag = -1; return;
+                    end
+                end
+            end
+        end
+    end
+end
+
+if((length(undParams{1}) <= 3) || (strcmp(undParams{1}{4}, 'nested') == 0)) %i.e. this is not a nested call
+%iall job is done, writing and saving the summary structure
+
+	lastParamAr = undParams{numUndParams}{2};
+	perMeasBkg = length(lastParamAr);
+	if(freqBkgMeas > 1)
+        for k = 1:(numUndParams - 1)
+            perMeasBkg = perMeasBkg*length(undParams{numUndParams - k}{2});
+        end
+	end
+
+    resFileNamesStruct.filelist = resFileNames;
+	resFileNamesStruct.params = undParams;
+	resFileNamesStruct.filenames_meas_bkg = idAuxPrepFileNameListMeasAndBkg(resFileNames, perMeasBkg);
+    
+	fileNameCoreSummary = strcat(fileNameCore, '_summary');
+	idSaveStruct(resFileNamesStruct, fileNameCoreSummary, idName, 0);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamVsUndParamVsBump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamVsUndParamVsBump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeamVsUndParamVsBump.m	(revision 17)
@@ -0,0 +1,73 @@
+function [resFileNamesBumpInf, ErrorFlag] = idMeasElecBeamVsUndParamVsBump(idName, undParams, undParamsBkg, freqBkgMeas, inclPerturbMeas, fileNameCore, dispData, bumpPlane, bumpValues, CM_IncrementList)
+%Measure e-beam COD at different undulator parameters (gap, phase or currents in main coils)
+%at different orbit bumps in the straight section where the ID is located,
+%assuming that there is no bump in the beginning
+%bumpPlane: 'H' or 'V'
+%bumpValues: {[x1 x2],[k1,k2,k3,...}}
+%   [x1 x2] indicates direction/quanta of e-beam displacement (should be small enaugh to ensure correct bump directly from setorbitbump); 
+%   the actual bumps will be then k1*[x1 x2], k2*[x1 x2], k3*[x1 x2], ...
+%CM_IncrementList: e.g. [-2 -1 1 2] - will go directly to setorbitbump
+
+sleepTimeAfterBump_s = 20; %To steer
+resFileNamesBumpInf = {};
+BPM_Family = 'BPMx';
+CM_Family = 'HCOR';
+if(strcmp(bumpPlane, 'V') || strcmp(bumpPlane, 'Z') || strcmp(bumpPlane, 'Y'))
+    BPM_Family = 'BPMz';
+    CM_Family = 'VCOR';
+end
+
+undParStruct = idGetGeomParamForUndSOLEIL(idName);
+BPM_DeviceList = undParStruct.indRelBPMs;
+
+[CM_DeviceList, CM_QuantaSP, ErrorFlag] = idGetCorCurForOrbitBump(BPM_Family, BPM_DeviceList, bumpValues{1}, CM_Family, CM_IncrementList);
+if(ErrorFlag)
+    return;
+end
+
+arMultSP = bumpValues{2};
+numSP = length(arMultSP);
+
+%[CM_OrigSP, tout, DataTime, ErrorFlag] = getam(CM_Family, CM_DeviceList);
+%if(ErrorFlag)
+%    return;
+%end
+
+%Save correctors at the beginning (print to )
+CM_OrigSP = getsp(CM_Family, CM_DeviceList);
+CM_OrigSP_abs = getsp(CM_Family);
+
+
+CM_PrevSP = CM_OrigSP;
+CM_PrevSP = CM_PrevSP - CM_OrigSP; %To make "0"
+
+for i = 1:numSP
+    CM_NextSP = CM_QuantaSP*arMultSP(i);
+    %Relative bump:
+    if(stepsp(CM_Family, CM_NextSP - CM_PrevSP, CM_DeviceList))
+    	return;
+    end
+    pause(sleepTimeAfterBump_s);
+    CM_PrevSP = CM_NextSP;
+    
+    %Decorating filename core with bump information
+    fileNameCoreBump = strcat(fileNameCore, '_bump');
+    fileNameCoreBump = strcat(fileNameCoreBump, bumpPlane);
+	fileNameCoreBump = strcat(fileNameCoreBump, '_');
+    pairPos = arMultSP(i)*bumpValues{1};
+	fileNameCoreBump = strcat(fileNameCoreBump, idAuxNum2FileNameStr(pairPos(1)));
+    if(pairPos(2) ~= pairPos(1))
+        fileNameCoreBump = strcat(fileNameCoreBump, '_');
+        fileNameCoreBump = strcat(fileNameCoreBump, idAuxNum2FileNameStr(pairPos(2)));
+    end
+    
+	[curFileNameStruct, ErrorFlag] = idMeasElecBeamVsUndParam(idName, undParams, undParamsBkg, freqBkgMeas, inclPerturbMeas, fileNameCoreBump, dispData);
+    if(ErrorFlag)
+        return;
+    end
+    resFileNamesBumpInf{i} = {pairPos, curFileNameStruct};
+end
+
+%Returning to the original state
+%stepsp(CM_Family, CM_OrigSP - CM_PrevSP, CM_DeviceList);
+setsp(CM_Family, CM_OrigSP_abs);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam_HU640.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam_HU640.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam_HU640.m	(revision 17)
@@ -0,0 +1,69 @@
+function outStructElecBeam = idMeasElecBeam(inStructElecBeam, inclPerturbMeas, fileNameCore)
+
+% Pause duration between eventual measurements of the dispersion functions and
+% chromatisities:
+pauseTime_s = 5;
+
+% H orbit
+inStructElecBeam.X = getx;
+% V orbit
+inStructElecBeam.Z = getz;
+% Stored electron beam current
+inStructElecBeam.current = getdcct;
+% Tunes
+inStructElecBeam.tune = gettune;
+
+if inclPerturbMeas ~= 0
+	% Measure dispersion functions. ATTENTION, it perturbes e-beam !
+	[dx dz] = measdisp('Physics');
+	inStructElecBeam.dx = dx;
+	inStructElecBeam.dz = dz;
+    inStructElecBeam,
+    pause(pauseTime_s);
+
+	% Measure chromaticities. ATTENTION, it perturbes e-beam !
+	inStructElecBeam.ksi = measchro('Physics');
+end
+
+inStructElecBeam.date = datestr(now); % convert date to string
+
+outStructElecBeam = inStructElecBeam;
+
+% Save the structure into a file, if necessary
+%if saveRes ~= 0
+if strcmp(fileNameCore, '') == 0
+    %idSaveStruct(structNameToSave, fileNameCore, idName)
+    %idSaveStruct(structNameToSave, 'HU80_TEMPO', 'HU80')
+    
+	FileName = appendtimestamp(fileNameCore);
+	DirectoryName = getfamilydata('Directory','HU640/SESSION_01_10_06');
+	DirStart = pwd;
+	[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+	save(FileName,'-struct', 'outStructElecBeam');
+    %save(FileName, inStructElecBeam);
+	cd(DirStart);
+end
+
+%temp=tango_read_attribute2('ANS-C08/EI/M-HU80.2','gap');
+%gap=temp.value(1)/1.e4;
+IPS1=0;IPS2=0;IPS3=0;
+
+%temp=tango_read_attribute2('TDL-I08-M/VI/JBA.1','pressure');
+pres=temp.value(1);
+temp=tango_read_attribute2('ANS/DG/PUB-LifeTime','double_scalar');
+tau=temp.value(1);
+fprintf('Courant PS1=%f\n','A %s\n')
+fprintf('Courant PS2=%f\n','A %s\n')
+fprintf('Courant PS3=%f\n','A %s\n')
+fprintf('I=%f\n',inStructElecBeam.current)
+fprintf('Tau=%f\n',tau)
+fprintf('P=%d\n',pres)
+fprintf('nux= %f\n',inStructElecBeam.tune(1))
+fprintf('nuz= %f\n',inStructElecBeam.tune(2))
+fprintf('ksix= %f\n',inStructElecBeam.ksi(1))
+fprintf('ksiz= %f\n',inStructElecBeam.ksi(2))
+fprintf('Sauvegarde  %s\n',FileName)
+
+
+% Encoder #1
+%inElecBeamStruct.encoder2= readattribute([devM, '/encoder2Position']);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam_u20.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam_u20.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idMeasElecBeam_u20.m	(revision 17)
@@ -0,0 +1,68 @@
+function outStructElecBeam = idMeasElecBeam(inStructElecBeam, inclPerturbMeas, fileNameCore)
+
+% Pause duration between eventual measurements of the dispersion functions and
+% chromatisities:
+pauseTime_s = 5;
+
+% H orbit
+inStructElecBeam.X = getx;
+% V orbit
+inStructElecBeam.Z = getz;
+% Stored electron beam current
+inStructElecBeam.current = getdcct;
+% Tunes
+inStructElecBeam.tune = gettune;
+
+if inclPerturbMeas ~= 0
+	% Measure dispersion functions. ATTENTION, it perturbes e-beam !
+	[dx dz] = measdisp('Physics');
+	inStructElecBeam.dx = dx;
+	inStructElecBeam.dz = dz;
+    inStructElecBeam,
+    pause(pauseTime_s);
+
+	% Measure chromaticities. ATTENTION, it perturbes e-beam !
+	%inStructElecBeam.ksi = measchro('Physics');
+end
+
+inStructElecBeam.date = datestr(now); % convert date to string
+
+outStructElecBeam = inStructElecBeam;
+
+% Save the structure into a file, if necessary
+%if saveRes ~= 0
+if strcmp(fileNameCore, '') == 0
+    %idSaveStruct(structNameToSave, fileNameCore, idName)
+    %idSaveStruct(structNameToSave, 'HU80_TEMPO', 'HU80')
+    
+	FileName = appendtimestamp(fileNameCore);
+	DirectoryName = getfamilydata('Directory','U20_PROXIMA1');
+	DirStart = pwd;
+	[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+	save(FileName,'-struct', 'outStructElecBeam');
+    %save(FileName, inStructElecBeam);
+	cd(DirStart);
+end
+
+%temp=tango_read_attribute2('ANS-C08/EI/M-HU80.2','gap');
+%gap=temp.value(1)/1.e4;
+gap=0;
+Phase=0;
+temp=tango_read_attribute2('ANS-C10/VI/PI.16','pressure');
+pres=temp.value(1);
+temp=tango_read_attribute2('ANS/DG/PUB-LifeTime','double_scalar');
+tau=temp.value(1);
+fprintf('GAP=%f\n',gap)
+%fprintf('PHASE=%f\n',Phase)
+fprintf('I=%f\n',inStructElecBeam.current)
+fprintf('Tau=%f\n',tau)
+fprintf('P=%d\n',pres)
+fprintf('nux= %f\n',inStructElecBeam.tune(1))
+fprintf('nuz= %f\n',inStructElecBeam.tune(2))
+fprintf('ksix= %f\n',inStructElecBeam.ksi(1))
+fprintf('ksiz= %f\n',inStructElecBeam.ksi(2))
+fprintf('Sauvegarde  %s\n',FileName)
+
+
+% Encoder #1
+%inElecBeamStruct.encoder2= readattribute([devM, '/encoder2Position']);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadCorElecBeamMeasData.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadCorElecBeamMeasData.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadCorElecBeamMeasData.m	(revision 17)
@@ -0,0 +1,2735 @@
+function [fnMeasMain, fnMeasBkgr, vCurVals] = idReadCorElecBeamMeasData(idName, gap, corName)
+
+if strncmp(idName, 'U20', 3)
+	if strcmp(idName, 'U20_PROXIMA1')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_gap30_ofm350_ch1_m6_2006-12-20_11-20-43'; 
+                                  'U20_gap30_ofm350_ch1_m4_2006-12-20_11-20-16'; 
+                                  'U20_gap30_ofm350_ch1_m2_2006-12-20_11-19-56'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27 '; 
+                                  'U20_gap30_ofm350_ch1_2_2006-12-20_11-18-19 ';
+                                  'U20_gap30_ofm350_ch1_4_2006-12-20_11-19-01 ';
+                                  'U20_gap30_ofm350_ch1_6_2006-12-20_11-19-30 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27';
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27';
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27']);
+        elseif strcmp(corName, 'CVE')                            
+            fnMeasMain = cellstr(['U20_gap30_ofm350_ch2_m6_2006-12-20_11-24-02'; 
+                                  'U20_gap30_ofm350_ch2_m4_2006-12-20_11-23-42'; 
+                                  'U20_gap30_ofm350_ch2_m2_2006-12-20_11-23-16'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13 '; 
+                                  'U20_gap30_ofm350_ch2_2_2006-12-20_11-21-54 ';
+                                  'U20_gap30_ofm350_ch2_4_2006-12-20_11-22-17 ';
+                                  'U20_gap30_ofm350_ch2_6_2006-12-20_11-22-43 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13';
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13';
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13']);                             
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_gap30_ofm350_ch3_m6_2006-12-20_11-28-09'; 
+                                  'U20_gap30_ofm350_ch3_m4_2006-12-20_11-27-48'; 
+                                  'U20_gap30_ofm350_ch3_m2_2006-12-20_11-27-28'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35 '; 
+                                  'U20_gap30_ofm350_ch3_2_2006-12-20_11-26-26 ';
+                                  'U20_gap30_ofm350_ch3_4_2006-12-20_11-26-46 ';
+                                  'U20_gap30_ofm350_ch3_6_2006-12-20_11-27-09 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35';
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35';
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_gap30_ofm350_ch4_m6_2006-12-20_11-31-15'; 
+                                  'U20_gap30_ofm350_ch4_m4_2006-12-20_11-30-43'; 
+                                  'U20_gap30_ofm350_ch4_m2_2006-12-20_11-30-28'; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40 '; 
+                                  'U20_gap30_ofm350_ch4_2_2006-12-20_11-29-01 ';
+                                  'U20_gap30_ofm350_ch4_4_2006-12-20_11-29-20 ';
+                                  'U20_gap30_ofm350_ch4_6_2006-12-20_11-29-43 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ;
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ;
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40']); 
+        end
+        
+	elseif strcmp(idName, 'U20_SWING')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_gap30_ofm400_ch1_m6_2006-12-20_09-35-37'; 
+                                  'U20_gap30_ofm400_ch1_m4_2006-12-20_09-35-13'; 
+                                  'U20_gap30_ofm400_ch1_m2_2006-12-20_09-34-52'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57 '; 
+                                  'U20_gap30_ofm400_ch1_2_2006-12-20_09-33-26 ';
+                                  'U20_gap30_ofm400_ch1_4_2006-12-20_09-33-50 ';
+                                  'U20_gap30_ofm400_ch1_6_2006-12-20_09-34-11 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57';
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57';
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57']);
+        elseif strcmp(corName, 'CVE')                            
+            fnMeasMain = cellstr(['U20_gap30_ofm400_ch2_m6_2006-12-20_09-41-18'; 
+                                  'U20_gap30_ofm400_ch2_m4_2006-12-20_09-40-42'; 
+                                  'U20_gap30_ofm400_ch2_m2_2006-12-20_09-39-55'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47 '; 
+                                  'U20_gap30_ofm400_ch2_2_2006-12-20_09-38-22 ';
+                                  'U20_gap30_ofm400_ch2_4_2006-12-20_09-38-51 ';
+                                  'U20_gap30_ofm400_ch2_6_2006-12-20_09-39-20 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47';
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47';
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47']);                             
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_gap30_ofm400_ch4_m6_2006-12-20_10-52-05'; 
+                                  'U20_gap30_ofm400_ch4_m4_2006-12-20_10-51-34'; 
+                                  'U20_gap30_ofm400_ch4_m2_2006-12-20_10-51-11'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16 '; 
+                                  'U20_gap30_ofm400_ch4_2_2006-12-20_10-49-35 ';
+                                  'U20_gap30_ofm400_ch4_4_2006-12-20_10-50-19 ';
+                                  'U20_gap30_ofm400_ch4_6_2006-12-20_10-50-42 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16';
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16';
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_gap30_ofm400_ch3_m6_2006-12-20_10-56-00'; 
+                                  'U20_gap30_ofm400_ch3_m4_2006-12-20_10-55-28'; 
+                                  'U20_gap30_ofm400_ch3_m2_2006-12-20_10-54-50'; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41 '; 
+                                  'U20_gap30_ofm400_ch3_2_2006-12-20_10-53-25 ';
+                                  'U20_gap30_ofm400_ch3_4_2006-12-20_10-53-49 ';
+                                  'U20_gap30_ofm400_ch3_6_2006-12-20_10-54-15 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ;
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ;
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41']); 
+        
+        end 
+	elseif strcmp(idName, 'U20_CRISTAL')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_gap30_of0_ch2_m6_2007-03-06_11-14-03'; 
+                                  'U20_gap30_of0_ch2_m4_2007-03-06_11-13-41'; 
+                                  'U20_gap30_of0_ch2_m2_2007-03-06_11-13-19'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49 '; 
+                                  'U20_gap30_of0_ch2_2_2007-03-06_11-02-34 ';
+                                  'U20_gap30_of0_ch2_4_2007-03-06_11-03-07 ';
+                                  'U20_gap30_of0_ch2_6_2007-03-06_11-09-37 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49';
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49';
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49']);
+        elseif strcmp(corName, 'CVE')                            
+            fnMeasMain = cellstr(['U20_gap30_of0_ch1_m6_2007-03-06_11-20-13'; 
+                                  'U20_gap30_of0_ch1_m4_2007-03-06_11-19-42'; 
+                                  'U20_gap30_of0_ch1_m2_2007-03-06_11-19-20'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55 '; 
+                                  'U20_gap30_of0_ch1_2_2007-03-06_11-16-39 ';
+                                  'U20_gap30_of0_ch1_4_2007-03-06_11-16-57 ';
+                                  'U20_gap30_of0_ch1_6_2007-03-06_11-18-38 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55';
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55';
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55']);                             
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_gap30_of0_ch4_m6_2007-03-06_11-37-18'; 
+                                  'U20_gap30_of0_ch4_m4_2007-03-06_11-37-05'; 
+                                  'U20_gap30_of0_ch4_m2_2007-03-06_11-36-42'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21 '; 
+                                  'U20_gap30_of0_ch4_2_2007-03-06_11-35-19 ';
+                                  'U20_gap30_of0_ch4_4_2007-03-06_11-35-35 ';
+                                  'U20_gap30_of0_ch4_6_2007-03-06_11-36-04 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21';
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21';
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_gap30_of0_ch3_m6_2007-03-06_11-42-59'; 
+                                  'U20_gap30_of0_ch3_m4_2007-03-06_11-42-40'; 
+                                  'U20_gap30_of0_ch3_m2_2007-03-06_11-40-23'; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08 '; 
+                                  'U20_gap30_of0_ch3_2_2007-03-06_11-39-09 ';
+                                  'U20_gap30_of0_ch3_4_2007-03-06_11-39-26 ';
+                                  'U20_gap30_of0_ch3_6_2007-03-06_11-39-50 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ;
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ;
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08']); 
+        end
+    end
+elseif strncmp(idName, 'HU80', 4)
+    
+    if strcmp(idName, 'HU80_PLEIADES')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap < 0.5*(15.5 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2007-03-25_10-28-48';
+                                      'C1G15_5_he-5_ve0_hs0_vs0_2007-03-25_10-29-07 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  ';
+                                      'C1G15_5_he5_ve0_hs0_vs0_2007-03-25_10-29-44  ';
+                                      'C1G15_5_he10_ve0_hs0_vs0_2007-03-25_10-30-02 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  ']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2007-03-25_10-30-24';
+                                      'C1G15_5_he0_ve-5_hs0_vs0_2007-03-25_10-30-42 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01  ';
+                                      'C1G15_5_he0_ve5_hs0_vs0_2007-03-25_10-31-20  ';
+                                      'C1G15_5_he0_ve10_hs0_vs0_2007-03-25_10-31-38 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2007-03-25_10-31-59';
+                                      'C1G15_5_he0_ve0_hs-5_vs0_2007-03-25_10-32-18 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36  ';
+                                      'C1G15_5_he0_ve0_hs5_vs0_2007-03-25_10-32-55  ';
+                                      'C1G15_5_he0_ve0_hs10_vs0_2007-03-25_10-33-13 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2007-03-25_10-33-35';
+                                      'C1G15_5_he0_ve0_hs0_vs-5_2007-03-25_10-33-54 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11  ';
+                                      'C1G15_5_he0_ve0_hs0_vs5_2007-03-25_10-34-30  ';
+                                      'C1G15_5_he0_ve0_hs0_vs10_2007-03-25_10-34-48 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2007-03-25_10-41-14';
+                                      'C1G18_he-5_ve0_hs0_vs0_2007-03-25_10-41-33 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52  ';
+                                      'C1G18_he5_ve0_hs0_vs0_2007-03-25_10-42-10  ';
+                                      'C1G18_he10_ve0_hs0_vs0_2007-03-25_10-42-29 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2007-03-25_10-42-50';
+                                      'C1G18_he0_ve-5_hs0_vs0_2007-03-25_10-43-09 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27  ';
+                                      'C1G18_he0_ve5_hs0_vs0_2007-03-25_10-43-46  ';
+                                      'C1G18_he0_ve10_hs0_vs0_2007-03-25_10-44-03 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2007-03-25_10-44-23';
+                                      'C1G18_he0_ve0_hs-5_vs0_2007-03-25_10-44-41 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59  ';
+                                      'C1G18_he0_ve0_hs5_vs0_2007-03-25_10-45-18  ';
+                                      'C1G18_he0_ve0_hs10_vs0_2007-03-25_10-45-36 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2007-03-25_10-45-59';
+                                      'C1G18_he0_ve0_hs0_vs-5_2007-03-25_10-46-16 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35  ';
+                                      'C1G18_he0_ve0_hs0_vs5_2007-03-25_10-46-53  ';
+                                      'C1G18_he0_ve0_hs0_vs10_2007-03-25_10-47-12 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35']);
+            end
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2007-03-25_10-51-00';
+                                      'C1G20_he-5_ve0_hs0_vs0_2007-03-25_10-51-19 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38  ';
+                                      'C1G20_he5_ve0_hs0_vs0_2007-03-25_10-51-56  ';
+                                      'C1G20_he10_ve0_hs0_vs0_2007-03-25_10-52-15 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2007-03-25_10-52-36';
+                                      'C1G20_he0_ve-5_hs0_vs0_2007-03-25_10-52-55 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13  ';
+                                      'C1G20_he0_ve5_hs0_vs0_2007-03-25_10-53-32  ';
+                                      'C1G20_he0_ve10_hs0_vs0_2007-03-25_10-53-50 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2007-03-25_10-54-10';
+                                      'C1G20_he0_ve0_hs-5_vs0_2007-03-25_10-54-27 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46  ';
+                                      'C1G20_he0_ve0_hs5_vs0_2007-03-25_10-55-05  ';
+                                      'C1G20_he0_ve0_hs10_vs0_2007-03-25_10-55-23 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2007-03-25_10-55-45';
+                                      'C1G20_he0_ve0_hs0_vs-5_2007-03-25_10-56-03 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21  ';
+                                      'C1G20_he0_ve0_hs0_vs5_2007-03-25_10-56-40  ';
+                                      'C1G20_he0_ve0_hs0_vs10_2007-03-25_10-56-58 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21']);
+            end
+        elseif (gap < 0.5*(25 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2007-03-25_11-04-48';
+                                      'C1G25_he-5_ve0_hs0_vs0_2007-03-25_11-05-06 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25  ';
+                                      'C1G25_he5_ve0_hs0_vs0_2007-03-25_11-05-43  ';
+                                      'C1G25_he10_ve0_hs0_vs0_2007-03-25_11-06-02 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2007-03-25_11-06-24';
+                                      'C1G25_he0_ve-5_hs0_vs0_2007-03-25_11-06-42 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01  ';
+                                      'C1G25_he0_ve5_hs0_vs0_2007-03-25_11-07-19  ';
+                                      'C1G25_he0_ve10_hs0_vs0_2007-03-25_11-07-38 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2007-03-25_11-07-57';
+                                      'C1G25_he0_ve0_hs-5_vs0_2007-03-25_11-08-16 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34  ';
+                                      'C1G25_he0_ve0_hs5_vs0_2007-03-25_11-08-52  ';
+                                      'C1G25_he0_ve0_hs10_vs0_2007-03-25_11-09-11 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2007-03-25_11-09-34';
+                                      'C1G25_he0_ve0_hs0_vs-5_2007-03-25_11-09-51 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09  ';
+                                      'C1G25_he0_ve0_hs0_vs5_2007-03-25_11-10-28  ';
+                                      'C1G25_he0_ve0_hs0_vs10_2007-03-25_11-10-46 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09']);
+            end
+        elseif (gap < 0.5*(30 + 35))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2007-03-25_11-13-09';
+                                      'C1G30_he-5_ve0_hs0_vs0_2007-03-25_11-13-28 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46  ';
+                                      'C1G30_he5_ve0_hs0_vs0_2007-03-25_11-14-04  ';
+                                      'C1G30_he10_ve0_hs0_vs0_2007-03-25_11-14-22 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2007-03-25_11-14-44';
+                                      'C1G30_he0_ve-5_hs0_vs0_2007-03-25_11-15-01 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20  ';
+                                      'C1G30_he0_ve5_hs0_vs0_2007-03-25_11-15-39  ';
+                                      'C1G30_he0_ve10_hs0_vs0_2007-03-25_11-15-57 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2007-03-25_11-16-17';
+                                      'C1G30_he0_ve0_hs-5_vs0_2007-03-25_11-16-36 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54  ';
+                                      'C1G30_he0_ve0_hs5_vs0_2007-03-25_11-17-12  ';
+                                      'C1G30_he0_ve0_hs10_vs0_2007-03-25_11-17-30 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2007-03-25_11-17-52';
+                                      'C1G30_he0_ve0_hs0_vs-5_2007-03-25_11-18-11 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29  ';
+                                      'C1G30_he0_ve0_hs0_vs5_2007-03-25_11-18-48  ';
+                                      'C1G30_he0_ve0_hs0_vs10_2007-03-25_11-19-05 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29']);
+            end
+        elseif (gap < 0.5*(35 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2007-03-25_11-23-34';
+                                      'C1G35_he-5_ve0_hs0_vs0_2007-03-25_11-23-53 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12  ';
+                                      'C1G35_he5_ve0_hs0_vs0_2007-03-25_11-24-30  ';
+                                      'C1G35_he10_ve0_hs0_vs0_2007-03-25_11-24-49 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2007-03-25_11-25-10';
+                                      'C1G35_he0_ve-5_hs0_vs0_2007-03-25_11-25-29 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47  ';
+                                      'C1G35_he0_ve5_hs0_vs0_2007-03-25_11-26-06  ';
+                                      'C1G35_he0_ve10_hs0_vs0_2007-03-25_11-26-25 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2007-03-25_11-26-44';
+                                      'C1G35_he0_ve0_hs-5_vs0_2007-03-25_11-27-02 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19  ';
+                                      'C1G35_he0_ve0_hs5_vs0_2007-03-25_11-27-38  ';
+                                      'C1G35_he0_ve0_hs10_vs0_2007-03-25_11-27-55 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2007-03-25_11-28-18';
+                                      'C1G35_he0_ve0_hs0_vs-5_2007-03-25_11-28-37 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54  ';
+                                      'C1G35_he0_ve0_hs0_vs5_2007-03-25_11-29-13  ';
+                                      'C1G35_he0_ve0_hs0_vs10_2007-03-25_11-29-30 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54']);
+            end
+        elseif (gap < 0.5*(40 + 45))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2007-03-25_11-31-57';
+                                      'C1G40_he-5_ve0_hs0_vs0_2007-03-25_11-32-15 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34  ';
+                                      'C1G40_he5_ve0_hs0_vs0_2007-03-25_11-32-52  ';
+                                      'C1G40_he10_ve0_hs0_vs0_2007-03-25_11-33-11 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2007-03-25_11-33-32';
+                                      'C1G40_he0_ve-5_hs0_vs0_2007-03-25_11-33-51 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10  ';
+                                      'C1G40_he0_ve5_hs0_vs0_2007-03-25_11-34-29  ';
+                                      'C1G40_he0_ve10_hs0_vs0_2007-03-25_11-34-47 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2007-03-25_11-35-07';
+                                      'C1G40_he0_ve0_hs-5_vs0_2007-03-25_11-35-25 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44  ';
+                                      'C1G40_he0_ve0_hs5_vs0_2007-03-25_11-36-01  ';
+                                      'C1G40_he0_ve0_hs10_vs0_2007-03-25_11-36-20 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2007-03-25_11-36-43';
+                                      'C1G40_he0_ve0_hs0_vs-5_2007-03-25_11-37-01 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19  ';
+                                      'C1G40_he0_ve0_hs0_vs5_2007-03-25_11-37-37  ';
+                                      'C1G40_he0_ve0_hs0_vs10_2007-03-25_11-37-55 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19']);
+            end
+        elseif (gap < 0.5*(45 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G45_he-10_ve0_hs0_vs0_2007-03-25_11-41-26';
+                                      'C1G45_he-5_ve0_hs0_vs0_2007-03-25_11-41-45 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03  ';
+                                      'C1G45_he5_ve0_hs0_vs0_2007-03-25_11-42-22  ';
+                                      'C1G45_he10_ve0_hs0_vs0_2007-03-25_11-42-41 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G45_he0_ve-10_hs0_vs0_2007-03-25_11-43-03';
+                                      'C1G45_he0_ve-5_hs0_vs0_2007-03-25_11-43-22 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40  ';
+                                      'C1G45_he0_ve5_hs0_vs0_2007-03-25_11-43-59  ';
+                                      'C1G45_he0_ve10_hs0_vs0_2007-03-25_11-44-17 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs-10_vs0_2007-03-25_11-44-38';
+                                      'C1G45_he0_ve0_hs-5_vs0_2007-03-25_11-44-57 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15  ';
+                                      'C1G45_he0_ve0_hs5_vs0_2007-03-25_11-45-34  ';
+                                      'C1G45_he0_ve0_hs10_vs0_2007-03-25_11-45-53 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs0_vs-10_2007-03-25_11-46-15';
+                                      'C1G45_he0_ve0_hs0_vs-5_2007-03-25_11-46-34 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52  ';
+                                      'C1G45_he0_ve0_hs0_vs5_2007-03-25_11-47-10  ';
+                                      'C1G45_he0_ve0_hs0_vs10_2007-03-25_11-47-28 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2007-03-25_11-49-56';
+                                      'C1G50_he-5_ve0_hs0_vs0_2007-03-25_11-50-15 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33  ';
+                                      'C1G50_he5_ve0_hs0_vs0_2007-03-25_11-50-52  ';
+                                      'C1G50_he10_ve0_hs0_vs0_2007-03-25_11-51-11 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2007-03-25_11-51-33';
+                                      'C1G50_he0_ve-5_hs0_vs0_2007-03-25_11-51-52 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10  ';
+                                      'C1G50_he0_ve5_hs0_vs0_2007-03-25_11-52-28  ';
+                                      'C1G50_he0_ve10_hs0_vs0_2007-03-25_11-52-45 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2007-03-25_11-53-05';
+                                      'C1G50_he0_ve0_hs-5_vs0_2007-03-25_11-53-23 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42  ';
+                                      'C1G50_he0_ve0_hs5_vs0_2007-03-25_11-54-00  ';
+                                      'C1G50_he0_ve0_hs10_vs0_2007-03-25_11-54-19 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2007-03-25_11-54-41';
+                                      'C1G50_he0_ve0_hs0_vs-5_2007-03-25_11-54-59 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18  ';
+                                      'C1G50_he0_ve0_hs0_vs5_2007-03-25_11-55-36  ';
+                                      'C1G50_he0_ve0_hs0_vs10_2007-03-25_11-55-55 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18']);
+            end
+        elseif (gap < 0.5*(60 + 70))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2007-03-25_12-00-45';
+                                      'C1G60_he-5_ve0_hs0_vs0_2007-03-25_12-01-04 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22  ';
+                                      'C1G60_he5_ve0_hs0_vs0_2007-03-25_12-01-41  ';
+                                      'C1G60_he10_ve0_hs0_vs0_2007-03-25_12-01-59 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2007-03-25_12-02-21';
+                                      'C1G60_he0_ve-5_hs0_vs0_2007-03-25_12-02-39 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58  ';
+                                      'C1G60_he0_ve5_hs0_vs0_2007-03-25_12-03-16  ';
+                                      'C1G60_he0_ve10_hs0_vs0_2007-03-25_12-03-34 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2007-03-25_12-03-54';
+                                      'C1G60_he0_ve0_hs-5_vs0_2007-03-25_12-04-12 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30  ';
+                                      'C1G60_he0_ve0_hs5_vs0_2007-03-25_12-04-47  ';
+                                      'C1G60_he0_ve0_hs10_vs0_2007-03-25_12-05-06 ']);
+                 fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
+                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
+                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
+                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
+                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2007-03-25_12-05-27';
+                                      'C1G60_he0_ve0_hs0_vs-5_2007-03-25_12-05-46 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04  ';
+                                      'C1G60_he0_ve0_hs0_vs5_2007-03-25_12-06-23  ';
+                                      'C1G60_he0_ve0_hs0_vs10_2007-03-25_12-06-41 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04']);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2007-03-25_12-09-28';
+                                      'C1G70_he-5_ve0_hs0_vs0_2007-03-25_12-09-46 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05  ';
+                                      'C1G70_he5_ve0_hs0_vs0_2007-03-25_12-10-24  ';
+                                      'C1G70_he10_ve0_hs0_vs0_2007-03-25_12-10-42 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2007-03-25_12-11-05';
+                                      'C1G70_he0_ve-5_hs0_vs0_2007-03-25_12-11-23 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42  ';
+                                      'C1G70_he0_ve5_hs0_vs0_2007-03-25_12-12-00  ';
+                                      'C1G70_he0_ve10_hs0_vs0_2007-03-25_12-12-19 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2007-03-25_12-12-39';
+                                      'C1G70_he0_ve0_hs-5_vs0_2007-03-25_12-12-58 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17  ';
+                                      'C1G70_he0_ve0_hs5_vs0_2007-03-25_12-13-34  ';
+                                      'C1G70_he0_ve0_hs10_vs0_2007-03-25_12-13-52 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2007-03-25_12-14-15';
+                                      'C1G70_he0_ve0_hs0_vs-5_2007-03-25_12-14-33 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52  ';
+                                      'C1G70_he0_ve0_hs0_vs5_2007-03-25_12-15-09  ';
+                                      'C1G70_he0_ve0_hs0_vs10_2007-03-25_12-15-27 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2007-03-25_12-20-26';
+                                      'C1G80_he-5_ve0_hs0_vs0_2007-03-25_12-20-45 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03  ';
+                                      'C1G80_he5_ve0_hs0_vs0_2007-03-25_12-21-22  ';
+                                      'C1G80_he10_ve0_hs0_vs0_2007-03-25_12-21-40 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2007-03-25_12-22-02';
+                                      'C1G80_he0_ve-5_hs0_vs0_2007-03-25_12-22-20 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39  ';
+                                      'C1G80_he0_ve5_hs0_vs0_2007-03-25_12-22-57  ';
+                                      'C1G80_he0_ve10_hs0_vs0_2007-03-25_12-23-16 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2007-03-25_12-23-35';
+                                      'C1G80_he0_ve0_hs-5_vs0_2007-03-25_12-23-53 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10  ';
+                                      'C1G80_he0_ve0_hs5_vs0_2007-03-25_12-24-28  ';
+                                      'C1G80_he0_ve0_hs10_vs0_2007-03-25_12-24-47 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2007-03-25_12-25-09';
+                                      'C1G80_he0_ve0_hs0_vs-5_2007-03-25_12-25-27 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45  ';
+                                      'C1G80_he0_ve0_hs0_vs5_2007-03-25_12-26-03  ';
+                                      'C1G80_he0_ve0_hs0_vs10_2007-03-25_12-26-21 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2007-03-25_12-28-21';
+                                      'C1G90_he-5_ve0_hs0_vs0_2007-03-25_12-28-39 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58  ';
+                                      'C1G90_he5_ve0_hs0_vs0_2007-03-25_12-29-16  ';
+                                      'C1G90_he10_ve0_hs0_vs0_2007-03-25_12-29-35 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2007-03-25_12-29-56';
+                                      'C1G90_he0_ve-5_hs0_vs0_2007-03-25_12-30-15 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33  ';
+                                      'C1G90_he0_ve5_hs0_vs0_2007-03-25_12-30-52  ';
+                                      'C1G90_he0_ve10_hs0_vs0_2007-03-25_12-31-10 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2007-03-25_12-31-30';
+                                      'C1G90_he0_ve0_hs-5_vs0_2007-03-25_12-31-48 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05  ';
+                                      'C1G90_he0_ve0_hs5_vs0_2007-03-25_12-32-23  ';
+                                      'C1G90_he0_ve0_hs10_vs0_2007-03-25_12-32-41 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2007-03-25_12-33-04';
+                                      'C1G90_he0_ve0_hs0_vs-5_2007-03-25_12-33-22 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40  ';
+                                      'C1G90_he0_ve0_hs0_vs5_2007-03-25_12-33-57  ';
+                                      'C1G90_he0_ve0_hs0_vs10_2007-03-25_12-34-16 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2007-03-25_12-36-41';
+                                      'C1G100_he-5_ve0_hs0_vs0_2007-03-25_12-36-59 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18  ';
+                                      'C1G100_he5_ve0_hs0_vs0_2007-03-25_12-37-37  ';
+                                      'C1G100_he10_ve0_hs0_vs0_2007-03-25_12-37-55 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2007-03-25_12-38-18';
+                                      'C1G100_he0_ve-5_hs0_vs0_2007-03-25_12-38-36 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55  ';
+                                      'C1G100_he0_ve5_hs0_vs0_2007-03-25_12-39-12  ';
+                                      'C1G100_he0_ve10_hs0_vs0_2007-03-25_12-39-31 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2007-03-25_12-39-50';
+                                      'C1G100_he0_ve0_hs-5_vs0_2007-03-25_12-40-09 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26  ';
+                                      'C1G100_he0_ve0_hs5_vs0_2007-03-25_12-40-44  ';
+                                      'C1G100_he0_ve0_hs10_vs0_2007-03-25_12-41-01 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2007-03-25_12-41-24';
+                                      'C1G100_he0_ve0_hs0_vs-5_2007-03-25_12-41-42 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01  ';
+                                      'C1G100_he0_ve0_hs0_vs5_2007-03-25_12-42-20  ';
+                                      'C1G100_he0_ve0_hs0_vs10_2007-03-25_12-42-38 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01']);
+            end
+        elseif (gap < 0.5*(110 + 120))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2007-03-25_12-44-51';
+                                      'C1G110_he-5_ve0_hs0_vs0_2007-03-25_12-45-10 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29  ';
+                                      'C1G110_he5_ve0_hs0_vs0_2007-03-25_12-45-48  ';
+                                      'C1G110_he10_ve0_hs0_vs0_2007-03-25_12-46-06 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2007-03-25_12-46-28';
+                                      'C1G110_he0_ve-5_hs0_vs0_2007-03-25_12-46-46 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04  ';
+                                      'C1G110_he0_ve5_hs0_vs0_2007-03-25_12-47-23  ';
+                                      'C1G110_he0_ve10_hs0_vs0_2007-03-25_12-47-41 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2007-03-25_12-48-01';
+                                      'C1G110_he0_ve0_hs-5_vs0_2007-03-25_12-48-20 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04  ';
+                                      'C1G110_he0_ve0_hs5_vs0_2007-03-25_12-48-56  ';
+                                      'C1G110_he0_ve0_hs10_vs0_2007-03-25_12-49-13 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2007-03-25_12-49-35';
+                                      'C1G110_he0_ve0_hs0_vs-5_2007-03-25_12-49-54 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13  ';
+                                      'C1G110_he0_ve0_hs0_vs5_2007-03-25_12-50-32  ';
+                                      'C1G110_he0_ve0_hs0_vs10_2007-03-25_12-50-50 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13']);
+            end
+        elseif (gap < 0.5*(120 + 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G120_he-10_ve0_hs0_vs0_2007-03-25_12-52-30';
+                                      'C1G120_he-5_ve0_hs0_vs0_2007-03-25_12-52-49 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07  ';
+                                      'C1G120_he5_ve0_hs0_vs0_2007-03-25_12-53-27  ';
+                                      'C1G120_he10_ve0_hs0_vs0_2007-03-25_12-53-46 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G120_he0_ve-10_hs0_vs0_2007-03-25_12-54-07';
+                                      'C1G120_he0_ve-5_hs0_vs0_2007-03-25_12-54-26 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44  ';
+                                      'C1G120_he0_ve5_hs0_vs0_2007-03-25_12-55-03  ';
+                                      'C1G120_he0_ve10_hs0_vs0_2007-03-25_12-55-21 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs-10_vs0_2007-03-25_12-55-41';
+                                      'C1G120_he0_ve0_hs-5_vs0_2007-03-25_12-55-59 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18  ';
+                                      'C1G120_he0_ve0_hs5_vs0_2007-03-25_12-56-36  ';
+                                      'C1G120_he0_ve0_hs10_vs0_2007-03-25_12-56-54 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs0_vs-10_2007-03-25_12-57-16';
+                                      'C1G120_he0_ve0_hs0_vs-5_2007-03-25_12-57-34 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53  ';
+                                      'C1G120_he0_ve0_hs0_vs5_2007-03-25_12-58-13  ';
+                                      'C1G120_he0_ve0_hs0_vs10_2007-03-25_12-58-31 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53']);
+            end
+        elseif (gap < 0.5*(130 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2007-03-25_13-00-11';
+                                      'C1G130_he-5_ve0_hs0_vs0_2007-03-25_13-00-30 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48  ';
+                                      'C1G130_he5_ve0_hs0_vs0_2007-03-25_13-01-07  ';
+                                      'C1G130_he10_ve0_hs0_vs0_2007-03-25_13-01-25 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2007-03-25_13-01-48';
+                                      'C1G130_he0_ve-5_hs0_vs0_2007-03-25_13-02-06 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25  ';
+                                      'C1G130_he0_ve5_hs0_vs0_2007-03-25_13-02-43  ';
+                                      'C1G130_he0_ve10_hs0_vs0_2007-03-25_13-03-02 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2007-03-25_13-03-21';
+                                      'C1G130_he0_ve0_hs-5_vs0_2007-03-25_13-03-40 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59  ';
+                                      'C1G130_he0_ve0_hs5_vs0_2007-03-25_13-04-16  ';
+                                      'C1G130_he0_ve0_hs10_vs0_2007-03-25_13-04-35 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2007-03-25_13-04-57';
+                                      'C1G130_he0_ve0_hs0_vs-5_2007-03-25_13-05-15 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34  ';
+                                      'C1G130_he0_ve0_hs0_vs5_2007-03-25_13-05-52  ';
+                                      'C1G130_he0_ve0_hs0_vs10_2007-03-25_13-06-11 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34']);
+            end
+        elseif (gap < 0.5*(150 + 170))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2007-03-25_13-08-03';
+                                      'C1G150_he-5_ve0_hs0_vs0_2007-03-25_13-08-21 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39  ';
+                                      'C1G150_he5_ve0_hs0_vs0_2007-03-25_13-08-58  ';
+                                      'C1G150_he10_ve0_hs0_vs0_2007-03-25_13-09-16 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2007-03-25_13-09-38';
+                                      'C1G150_he0_ve-5_hs0_vs0_2007-03-25_13-09-56 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39  ';
+                                      'C1G150_he0_ve5_hs0_vs0_2007-03-25_13-10-33  ';
+                                      'C1G150_he0_ve10_hs0_vs0_2007-03-25_13-10-52 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2007-03-25_13-11-11';
+                                      'C1G150_he0_ve0_hs-5_vs0_2007-03-25_13-11-30 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48  ';
+                                      'C1G150_he0_ve0_hs5_vs0_2007-03-25_13-12-07  ';
+                                      'C1G150_he0_ve0_hs10_vs0_2007-03-25_13-12-25 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2007-03-25_13-12-47';
+                                      'C1G150_he0_ve0_hs0_vs-5_2007-03-25_13-13-01 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18  ';
+                                      'C1G150_he0_ve0_hs0_vs5_2007-03-25_13-13-37  ';
+                                      'C1G150_he0_ve0_hs0_vs10_2007-03-25_13-13-54 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18']);
+            end
+        elseif (gap < 0.5*(170 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G170_he-10_ve0_hs0_vs0_2007-03-25_13-16-49';
+                                      'C1G170_he-5_ve0_hs0_vs0_2007-03-25_13-17-08 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26  ';
+                                      'C1G170_he5_ve0_hs0_vs0_2007-03-25_13-17-45  ';
+                                      'C1G170_he10_ve0_hs0_vs0_2007-03-25_13-18-03 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G170_he0_ve-10_hs0_vs0_2007-03-25_13-18-26';
+                                      'C1G170_he0_ve-5_hs0_vs0_2007-03-25_13-18-44 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03  ';
+                                      'C1G170_he0_ve5_hs0_vs0_2007-03-25_13-19-21  ';
+                                      'C1G170_he0_ve10_hs0_vs0_2007-03-25_13-19-40 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs-10_vs0_2007-03-25_13-19-59';
+                                      'C1G170_he0_ve0_hs-5_vs0_2007-03-25_13-20-17 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34  ';
+                                      'C1G170_he0_ve0_hs5_vs0_2007-03-25_13-20-53  ';
+                                      'C1G170_he0_ve0_hs10_vs0_2007-03-25_13-21-12 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs0_vs-10_2007-03-25_13-21-33';
+                                      'C1G170_he0_ve0_hs0_vs-5_2007-03-25_13-21-52 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10  ';
+                                      'C1G170_he0_ve0_hs0_vs5_2007-03-25_13-22-27  ';
+                                      'C1G170_he0_ve0_hs0_vs10_2007-03-25_13-22-46 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10']);
+            end
+        elseif (gap >= 0.5*(170 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2007-03-25_13-25-05';
+                                      'C1G200_he-5_ve0_hs0_vs0_2007-03-25_13-25-23 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42  ';
+                                      'C1G200_he5_ve0_hs0_vs0_2007-03-25_13-26-00  ';
+                                      'C1G200_he10_ve0_hs0_vs0_2007-03-25_13-26-19 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2007-03-25_13-26-41';
+                                      'C1G200_he0_ve-5_hs0_vs0_2007-03-25_13-27-00 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18  ';
+                                      'C1G200_he0_ve5_hs0_vs0_2007-03-25_13-27-36  ';
+                                      'C1G200_he0_ve10_hs0_vs0_2007-03-25_13-27-54 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2007-03-25_13-28-13';
+                                      'C1G200_he0_ve0_hs-5_vs0_2007-03-25_13-28-32 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51  ';
+                                      'C1G200_he0_ve0_hs5_vs0_2007-03-25_13-29-10  ';
+                                      'C1G200_he0_ve0_hs10_vs0_2007-03-25_13-29-30 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2007-03-25_13-29-52';
+                                      'C1G200_he0_ve0_hs0_vs-5_2007-03-25_13-30-12 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30  ';
+                                      'C1G200_he0_ve0_hs0_vs5_2007-03-25_13-30-49  ';
+                                      'C1G200_he0_ve0_hs0_vs10_2007-03-25_13-31-08 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30']);
+            end
+        end
+    elseif strcmp(idName, 'HU80_TEMPO')
+        vCurVals = [-10, -5, 0, 5, 10];
+        %if (gap == 15.5)
+        if (gap < 0.5*(15.5 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G15_5_he-10_ve0_hs0_vs0_2006-10-01_13-23-59'; 
+                                      'C2G15_5_he-5_ve0_hs0_vs0_2006-10-01_13-25-02 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he5_ve0_hs0_vs0_2006-10-01_13-27-04  '; 
+                                      'C2G15_5_he10_ve0_hs0_vs0_2006-10-01_13-28-07 ']);                                  
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-22-52  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-22-52  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  ']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve-10_hs0_vs0_2006-10-01_13-30-20'; 
+                                      'C2G15_5_he0_ve-5_hs0_vs0_2006-10-01_13-31-23 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25  '; 
+                                      'C2G15_5_he0_ve5_hs0_vs0_2006-10-01_13-33-29  '; 
+                                      'C2G15_5_he0_ve10_hs0_vs0_2006-10-01_13-34-31 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs-10_vs0_2006-10-01_13-36-42'; 
+                                      'C2G15_5_he0_ve0_hs-5_vs0_2006-10-01_13-37-37 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33  '; 
+                                      'C2G15_5_he0_ve0_hs5_vs0_2006-10-01_13-39-27  '; 
+                                      'C2G15_5_he0_ve0_hs10_vs0_2006-10-01_13-40-23 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs0_vs-10_2006-10-01_13-42-36'; 
+                                      'C2G15_5_he0_ve0_hs0_vs-5_2006-10-01_13-43-30 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs5_2006-10-01_13-45-23  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs10_2006-10-01_13-46-18 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25']);
+            end
+        %elseif (gap == 20)
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G20_he-10_ve0_hs0_vs0_2006-10-01_13-58-32'; 
+                                      'C2G20_he-5_ve0_hs0_vs0_2006-10-01_13-59-36 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40  '; 
+                                      'C2G20_he5_ve0_hs0_vs0_2006-10-01_14-01-42  '; 
+                                      'C2G20_he10_ve0_hs0_vs0_2006-10-01_14-02-45 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G20_he0_ve-10_hs0_vs0_2006-10-01_14-04-58'; 
+                                      'C2G20_he0_ve-5_hs0_vs0_2006-10-01_14-06-01 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02  '; 
+                                      'C2G20_he0_ve5_hs0_vs0_2006-10-01_14-08-06  '; 
+                                      'C2G20_he0_ve10_hs0_vs0_2006-10-01_14-09-11 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G20_he0_ve0_hs-10_vs0_2006-10-01_14-11-25'; 
+                                      'C2G20_he0_ve0_hs-5_vs0_2006-10-01_14-12-18 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12  '; 
+                                      'C2G20_he0_ve0_hs5_vs0_2006-10-01_14-14-10  '; 
+                                      'C2G20_he0_ve0_hs10_vs0_2006-10-01_14-15-03 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G20_he0_ve0_hs0_vs-10_2006-10-01_14-17-13'; 
+                                      'C2G20_he0_ve0_hs0_vs-5_2006-10-01_14-18-06 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00  '; 
+                                      'C2G20_he0_ve0_hs0_vs5_2006-10-01_14-19-55  '; 
+                                      'C2G20_he0_ve0_hs0_vs10_2006-10-01_14-20-50 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00']);
+            end
+        %elseif (gap == 25)
+        elseif (gap < 0.5*(25 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G25_he-10_ve0_hs0_vs0_2006-10-01_14-24-13'; 
+                                      'C2G25_he-5_ve0_hs0_vs0_2006-10-01_14-25-16 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19  '; 
+                                      'C2G25_he5_ve0_hs0_vs0_2006-10-01_14-27-21  '; 
+                                      'C2G25_he10_ve0_hs0_vs0_2006-10-01_14-28-22 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G25_he0_ve-10_hs0_vs0_2006-10-01_14-30-36'; 
+                                      'C2G25_he0_ve-5_hs0_vs0_2006-10-01_14-31-39 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42  '; 
+                                      'C2G25_he0_ve5_hs0_vs0_2006-10-01_14-33-45  '; 
+                                      'C2G25_he0_ve10_hs0_vs0_2006-10-01_14-34-47 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G25_he0_ve0_hs-10_vs0_2006-10-01_14-36-56'; 
+                                      'C2G25_he0_ve0_hs-5_vs0_2006-10-01_14-37-52 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46  '; 
+                                      'C2G25_he0_ve0_hs5_vs0_2006-10-01_14-39-43  '; 
+                                      'C2G25_he0_ve0_hs10_vs0_2006-10-01_14-40-39 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G25_he0_ve0_hs0_vs-10_2006-10-01_14-42-52'; 
+                                      'C2G25_he0_ve0_hs0_vs-5_2006-10-01_14-43-47 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41  '; 
+                                      'C2G25_he0_ve0_hs0_vs5_2006-10-01_14-45-33  '; 
+                                      'C2G25_he0_ve0_hs0_vs10_2006-10-01_14-46-27 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41']);
+            end
+        %elseif (gap == 30)
+        elseif (gap < 0.5*(30 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G30_he-10_ve0_hs0_vs0_2006-10-01_14-49-26'; 
+                                      'C2G30_he-5_ve0_hs0_vs0_2006-10-01_14-50-29 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32  '; 
+                                      'C2G30_he5_ve0_hs0_vs0_2006-10-01_14-52-36  '; 
+                                      'C2G30_he10_ve0_hs0_vs0_2006-10-01_14-53-40 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G30_he0_ve-10_hs0_vs0_2006-10-01_14-55-58'; 
+                                      'C2G30_he0_ve-5_hs0_vs0_2006-10-01_14-57-02 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04  '; 
+                                      'C2G30_he0_ve5_hs0_vs0_2006-10-01_14-59-08  '; 
+                                      'C2G30_he0_ve10_hs0_vs0_2006-10-01_15-00-11 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-01-17']); %'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G30_he0_ve0_hs-10_vs0_2006-10-01_15-02-20'; 
+                                      'C2G30_he0_ve0_hs-5_vs0_2006-10-01_15-03-13 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09  '; 
+                                      'C2G30_he0_ve0_hs5_vs0_2006-10-01_15-05-07  '; 
+                                      'C2G30_he0_ve0_hs10_vs0_2006-10-01_15-06-02 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G30_he0_ve0_hs0_vs-10_2006-10-01_15-08-12'; 
+                                      'C2G30_he0_ve0_hs0_vs-5_2006-10-01_15-09-08 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02  '; 
+                                      'C2G30_he0_ve0_hs0_vs5_2006-10-01_15-10-55  '; 
+                                      'C2G30_he0_ve0_hs0_vs10_2006-10-01_15-11-48 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02']);
+            end
+        %elseif (gap == 40)
+        elseif (gap < 0.5*(40 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G40_he-10_ve0_hs0_vs0_2006-10-06_07-54-22'; 
+                                      'C3G40_he-5_ve0_hs0_vs0_2006-10-06_07-55-51 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24  ';
+                                      'C3G40_he5_ve0_hs0_vs0_2006-10-06_07-58-26  ';
+                                      'C3G40_he10_ve0_hs0_vs0_2006-10-06_07-59-30 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_07-52-40'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-52-40'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24']);
+            elseif strcmp(corName, 'CVE')
+                                fnMeasMain = cellstr(['C3G40_he0_ve-10_hs0_vs0_2006-10-06_08-01-47';
+                                      'C3G40_he0_ve-5_hs0_vs0_2006-10-06_08-02-49 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54  ';
+                                      'C3G40_he0_ve5_hs0_vs0_2006-10-06_08-04-57  ';
+                                      'C3G40_he0_ve10_hs0_vs0_2006-10-06_08-05-58 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-00-37'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-00-37'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G40_he0_ve0_hs-10_vs0_2006-10-06_08-08-07';
+                                      'C3G40_he0_ve0_hs-5_vs0_2006-10-06_08-09-02 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58  ';
+                                      'C3G40_he0_ve0_hs5_vs0_2006-10-06_08-10-57  ';
+                                      'C3G40_he0_ve0_hs10_vs0_2006-10-06_08-11-51 ']);
+                 fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-07-03'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-07-03'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G40_he0_ve0_hs0_vs-10_2006-10-06_08-14-08';
+                                      'C3G40_he0_ve0_hs0_vs-5_2006-10-06_08-15-02 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00  ';
+                                      'C3G40_he0_ve0_hs0_vs5_2006-10-06_08-16-58  ';
+                                      'C3G40_he0_ve0_hs0_vs10_2006-10-06_08-17-52 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-12-59'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-12-59'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00']);
+            end
+        %elseif (gap == 50)
+        elseif (gap < 0.5*(50 + 60))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G50_he-10_ve0_hs0_vs0_2006-10-06_08-24-59';
+                                      'C3G50_he-5_ve0_hs0_vs0_2006-10-06_08-25-29 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58  ';
+                                      'C3G50_he5_ve0_hs0_vs0_2006-10-06_08-26-28  ';
+                                      'C3G50_he10_ve0_hs0_vs0_2006-10-06_08-26-59 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-24-24'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-24-24'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G50_he0_ve-10_hs0_vs0_2006-10-06_08-28-09';
+                                      'C3G50_he0_ve-5_hs0_vs0_2006-10-06_08-28-39 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08  ';
+                                      'C3G50_he0_ve5_hs0_vs0_2006-10-06_08-29-38  ';
+                                      'C3G50_he0_ve10_hs0_vs0_2006-10-06_08-30-09 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-27-33'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-27-33'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G50_he0_ve0_hs-10_vs0_2006-10-06_08-31-16';
+                                      'C3G50_he0_ve0_hs-5_vs0_2006-10-06_08-31-37 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59  ';
+                                      'C3G50_he0_ve0_hs5_vs0_2006-10-06_08-32-24  ';
+                                      'C3G50_he0_ve0_hs10_vs0_2006-10-06_08-32-45 ']);
+                 fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-30-45'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-30-45'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G50_he0_ve0_hs0_vs-10_2006-10-06_08-33-53';
+                                      'C3G50_he0_ve0_hs0_vs-5_2006-10-06_08-34-14 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35  ';
+                                      'C3G50_he0_ve0_hs0_vs5_2006-10-06_08-35-00  ';
+                                      'C3G50_he0_ve0_hs0_vs10_2006-10-06_08-35-22 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-33-19'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-33-19'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35']);
+            end
+        %elseif (gap == 60)
+        elseif (gap < 0.5*(60 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G60_he-10_ve0_hs0_vs0_2006-10-06_08-38-12';
+                                      'C3G60_he-5_ve0_hs0_vs0_2006-10-06_08-38-42 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12  ';
+                                      'C3G60_he5_ve0_hs0_vs0_2006-10-06_08-39-43  ';
+                                      'C3G60_he10_ve0_hs0_vs0_2006-10-06_08-40-13 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-37-38'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-37-38'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G60_he0_ve-10_hs0_vs0_2006-10-06_08-41-23';
+                                      'C3G60_he0_ve-5_hs0_vs0_2006-10-06_08-41-53 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21  ';
+                                      'C3G60_he0_ve5_hs0_vs0_2006-10-06_08-42-51  ';
+                                      'C3G60_he0_ve10_hs0_vs0_2006-10-06_08-43-21 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-40-48'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-40-48'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G60_he0_ve0_hs-10_vs0_2006-10-06_08-44-26';
+                                      'C3G60_he0_ve0_hs-5_vs0_2006-10-06_08-44-47 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08  ';
+                                      'C3G60_he0_ve0_hs5_vs0_2006-10-06_08-45-36  ';
+                                      'C3G60_he0_ve0_hs10_vs0_2006-10-06_08-45-57 ']);
+                 fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-43-57'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-43-57'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G60_he0_ve0_hs0_vs-10_2006-10-06_08-47-00';
+                                      'C3G60_he0_ve0_hs0_vs-5_2006-10-06_08-47-22 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42  ';
+                                      'C3G60_he0_ve0_hs0_vs5_2006-10-06_08-48-08  ';
+                                      'C3G60_he0_ve0_hs0_vs10_2006-10-06_08-48-30 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-46-26'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-46-26'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42']);
+            end
+        %elseif (gap == 80)
+        elseif (gap < 0.5*(80 + 110))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G80_he-10_ve0_hs0_vs0_2006-10-06_09-07-47';
+                                      'C3G80_he-5_ve0_hs0_vs0_2006-10-06_09-08-17 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47  ';
+                                      'C3G80_he5_ve0_hs0_vs0_2006-10-06_09-09-17  ';
+                                      'C3G80_he10_ve0_hs0_vs0_2006-10-06_09-09-47 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-07-09'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-07-09'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G80_he0_ve-10_hs0_vs0_2006-10-06_09-10-55';
+                                      'C3G80_he0_ve-5_hs0_vs0_2006-10-06_09-11-25 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56  ';
+                                      'C3G80_he0_ve5_hs0_vs0_2006-10-06_09-12-26  ';
+                                      'C3G80_he0_ve10_hs0_vs0_2006-10-06_09-12-56 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-10-22'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-10-22'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G80_he0_ve0_hs-10_vs0_2006-10-06_09-14-03';
+                                      'C3G80_he0_ve0_hs-5_vs0_2006-10-06_09-14-24 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45  ';
+                                      'C3G80_he0_ve0_hs5_vs0_2006-10-06_09-15-09  ';
+                                      'C3G80_he0_ve0_hs10_vs0_2006-10-06_09-15-32 ']);
+                 fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-13-32'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-13-32'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G80_he0_ve0_hs0_vs-10_2006-10-06_09-16-42';
+                                      'C3G80_he0_ve0_hs0_vs-5_2006-10-06_09-17-04 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24  ';
+                                      'C3G80_he0_ve0_hs0_vs5_2006-10-06_09-17-48  ';
+                                      'C3G80_he0_ve0_hs0_vs10_2006-10-06_09-18-10 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-16-08'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-16-08'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24']);
+            end
+        %elseif (gap == 110)
+        elseif (gap >= 0.5*(80 + 110))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G110_he-10_ve0_hs0_vs0_2006-10-06_09-42-19';
+                                      'C3G110_he-5_ve0_hs0_vs0_2006-10-06_09-42-50 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18  ';
+                                      'C3G110_he5_ve0_hs0_vs0_2006-10-06_09-43-46  ';
+                                      'C3G110_he10_ve0_hs0_vs0_2006-10-06_09-44-16 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-41-45'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-41-45'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G110_he0_ve-10_hs0_vs0_2006-10-06_09-45-26';
+                                      'C3G110_he0_ve-5_hs0_vs0_2006-10-06_09-45-57 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26  ';
+                                      'C3G110_he0_ve5_hs0_vs0_2006-10-06_09-46-57  ';
+                                      'C3G110_he0_ve10_hs0_vs0_2006-10-06_09-47-26 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-44-52'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-44-52'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G110_he0_ve0_hs-10_vs0_2006-10-06_09-48-34';
+                                      'C3G110_he0_ve0_hs-5_vs0_2006-10-06_09-48-55 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17  ';
+                                      'C3G110_he0_ve0_hs5_vs0_2006-10-06_09-49-42  ';
+                                      'C3G110_he0_ve0_hs10_vs0_2006-10-06_09-50-04 ']);
+                 fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-48-02'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-48-02'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G110_he0_ve0_hs0_vs-10_2006-10-06_09-51-12';
+                                      'C3G110_he0_ve0_hs0_vs-5_2006-10-06_09-51-33 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55  ';
+                                      'C3G110_he0_ve0_hs0_vs5_2006-10-06_09-52-19  ';
+                                      'C3G110_he0_ve0_hs0_vs10_2006-10-06_09-52-41 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-50-37'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-50-37'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55']);
+            end
+        end
+    elseif strcmp(idName, 'HU80_CASSIOPEE')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap < 0.5*(15.5 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2007-05-02_08-57-51';
+                                      'C1G15_5_he-5_ve0_hs0_vs0_2007-05-02_08-58-09 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-58-28  ';
+                                      'C1G15_5_he5_ve0_hs0_vs0_2007-05-02_08-58-47  ';
+                                      'C1G15_5_he10_ve0_hs0_vs0_2007-05-02_08-59-05 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-57-30'
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-57-30';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-58-28';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-58-28';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-58-28']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2007-05-02_08-59-47';
+                                      'C1G15_5_he0_ve-5_hs0_vs0_2007-05-02_09-00-06 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-00-24  ';
+                                      'C1G15_5_he0_ve5_hs0_vs0_2007-05-02_09-00-44  ';
+                                      'C1G15_5_he0_ve10_hs0_vs0_2007-05-02_09-01-02 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-59-25';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-59-25';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-00-24';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-00-24';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-00-24']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2007-05-02_09-01-45';
+                                      'C1G15_5_he0_ve0_hs-5_vs0_2007-05-02_09-02-04 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-02-22  ';
+                                      'C1G15_5_he0_ve0_hs5_vs0_2007-05-02_09-02-41  ';
+                                      'C1G15_5_he0_ve0_hs10_vs0_2007-05-02_09-02-59 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-01-23';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-01-23';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-02-22';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-02-22';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-02-22']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2007-05-02_09-03-39';
+                                      'C1G15_5_he0_ve0_hs0_vs-5_2007-05-02_09-03-58 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-04-16  ';
+                                      'C1G15_5_he0_ve0_hs0_vs5_2007-05-02_09-04-35  ';
+                                      'C1G15_5_he0_ve0_hs0_vs10_2007-05-02_09-04-53 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-03-20';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-03-20';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-04-16';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-04-16';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-04-16']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2007-05-02_09-08-03';
+                                      'C1G18_he-5_ve0_hs0_vs0_2007-05-02_09-08-21 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-08-41  ';
+                                      'C1G18_he5_ve0_hs0_vs0_2007-05-02_09-08-59  ';
+                                      'C1G18_he10_ve0_hs0_vs0_2007-05-02_09-09-18 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-05-02_09-07-43';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-07-43';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-08-41';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-08-41';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-08-41']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2007-05-02_09-09-57';
+                                      'C1G18_he0_ve-5_hs0_vs0_2007-05-02_09-10-16 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-10-34  ';
+                                      'C1G18_he0_ve5_hs0_vs0_2007-05-02_09-10-53  ';
+                                      'C1G18_he0_ve10_hs0_vs0_2007-05-02_09-11-11 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-05-02_09-09-37';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-09-37';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-10-34';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-10-34';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-10-34']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2007-05-02_09-11-51';
+                                      'C1G18_he0_ve0_hs-5_vs0_2007-05-02_09-12-09 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-12-28  ';
+                                      'C1G18_he0_ve0_hs5_vs0_2007-05-02_09-12-47  ';
+                                      'C1G18_he0_ve0_hs10_vs0_2007-05-02_09-13-05 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-05-02_09-11-31';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-11-31';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-12-28';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-12-28';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-12-28']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2007-05-02_09-13-44';
+                                      'C1G18_he0_ve0_hs0_vs-5_2007-05-02_09-14-03 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-14-21  ';
+                                      'C1G18_he0_ve0_hs0_vs5_2007-05-02_09-14-40  ';
+                                      'C1G18_he0_ve0_hs0_vs10_2007-05-02_09-14-58 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-05-02_09-13-25';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-13-25';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-14-21';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-14-21';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-14-21']);
+            end
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2007-05-02_09-27-54';
+                                      'C1G20_he-5_ve0_hs0_vs0_2007-05-02_09-28-13 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-28-31  ';
+                                      'C1G20_he5_ve0_hs0_vs0_2007-05-02_09-28-50  ';
+                                      'C1G20_he10_ve0_hs0_vs0_2007-05-02_09-29-09 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-05-02_09-27-35';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-27-35';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-28-31';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-28-31';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-28-31']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2007-05-02_09-29-48';
+                                      'C1G20_he0_ve-5_hs0_vs0_2007-05-02_09-30-06 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-30-25  ';
+                                      'C1G20_he0_ve5_hs0_vs0_2007-05-02_09-30-43  ';
+                                      'C1G20_he0_ve10_hs0_vs0_2007-05-02_09-31-02 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-05-02_09-29-28';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-29-28';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-30-25';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-30-25';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-30-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2007-05-02_09-31-42';
+                                      'C1G20_he0_ve0_hs-5_vs0_2007-05-02_09-32-01 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-32-20  ';
+                                      'C1G20_he0_ve0_hs5_vs0_2007-05-02_09-32-39  ';
+                                      'C1G20_he0_ve0_hs10_vs0_2007-05-02_09-32-57 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-05-02_09-31-23';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-31-23';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-32-20';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-32-20';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-32-20']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2007-05-02_09-33-37';
+                                      'C1G20_he0_ve0_hs0_vs-5_2007-05-02_09-33-55 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-34-14  ';
+                                      'C1G20_he0_ve0_hs0_vs5_2007-05-02_09-34-32  ';
+                                      'C1G20_he0_ve0_hs0_vs10_2007-05-02_09-34-51 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-05-02_09-33-17';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-33-17';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-34-14';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-34-14';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-34-14']);
+            end
+        elseif (gap < 0.5*(25 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2007-05-02_09-40-05';
+                                      'C1G25_he-5_ve0_hs0_vs0_2007-05-02_09-40-23 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-40-42  ';
+                                      'C1G25_he5_ve0_hs0_vs0_2007-05-02_09-41-01  ';
+                                      'C1G25_he10_ve0_hs0_vs0_2007-05-02_09-41-19 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-05-02_09-39-45';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-39-45';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-40-42';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-40-42';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-40-42']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2007-05-02_09-42-00';
+                                      'C1G25_he0_ve-5_hs0_vs0_2007-05-02_09-42-19 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-42-37  ';
+                                      'C1G25_he0_ve5_hs0_vs0_2007-05-02_09-42-56  ';
+                                      'C1G25_he0_ve10_hs0_vs0_2007-05-02_09-43-15 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-05-02_09-41-39';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-41-39';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-42-37';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-42-37';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-42-37']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2007-05-02_09-43-54';
+                                      'C1G25_he0_ve0_hs-5_vs0_2007-05-02_09-44-12 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-44-31  ';
+                                      'C1G25_he0_ve0_hs5_vs0_2007-05-02_09-44-50  ';
+                                      'C1G25_he0_ve0_hs10_vs0_2007-05-02_09-45-08 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-05-02_09-43-34';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-43-34';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-44-31';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-44-31';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-44-31']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2007-05-02_09-45-48';
+                                      'C1G25_he0_ve0_hs0_vs-5_2007-05-02_09-46-07 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-46-25  ';
+                                      'C1G25_he0_ve0_hs0_vs5_2007-05-02_09-46-44  ';
+                                      'C1G25_he0_ve0_hs0_vs10_2007-05-02_09-47-03 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-05-02_09-45-29';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-45-29';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-46-25';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-46-25';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-46-25']);
+            end
+        elseif (gap < 0.5*(30 + 35))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2007-05-02_09-55-29';
+                                      'C1G30_he-5_ve0_hs0_vs0_2007-05-02_09-55-48 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-56-06  ';
+                                      'C1G30_he5_ve0_hs0_vs0_2007-05-02_09-56-25  ';
+                                      'C1G30_he10_ve0_hs0_vs0_2007-05-02_09-56-43 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-05-02_09-55-10';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-55-10';
+                                      'C1G30_he5_ve0_hs0_vs0_2007-05-02_09-56-25';
+                                      'C1G30_he5_ve0_hs0_vs0_2007-05-02_09-56-25';
+                                      'C1G30_he5_ve0_hs0_vs0_2007-05-02_09-56-25']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2007-05-02_09-57-22';
+                                      'C1G30_he0_ve-5_hs0_vs0_2007-05-02_09-57-41 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-00  ';
+                                      'C1G30_he0_ve5_hs0_vs0_2007-05-02_09-58-18  ';
+                                      'C1G30_he0_ve10_hs0_vs0_2007-05-02_09-58-37 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-05-02_09-57-03';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-57-03';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-00';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-00';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-00']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2007-05-02_09-59-16';
+                                      'C1G30_he0_ve0_hs-5_vs0_2007-05-02_09-59-34 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-59-53  ';
+                                      'C1G30_he0_ve0_hs5_vs0_2007-05-02_10-00-12  ';
+                                      'C1G30_he0_ve0_hs10_vs0_2007-05-02_10-00-30 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-56';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-56';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-59-53';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-59-53';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-59-53']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2007-05-02_10-01-10';
+                                      'C1G30_he0_ve0_hs0_vs-5_2007-05-02_10-01-28 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-01-46  ';
+                                      'C1G30_he0_ve0_hs0_vs5_2007-05-02_10-02-05  ';
+                                      'C1G30_he0_ve0_hs0_vs10_2007-05-02_10-02-24 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-05-02_10-00-49';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-00-49';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-01-46';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-01-46';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-01-46']);
+            end
+        elseif (gap < 0.5*(35 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2007-05-02_10-05-05';
+                                      'C1G35_he-5_ve0_hs0_vs0_2007-05-02_10-05-24 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-05-42  ';
+                                      'C1G35_he5_ve0_hs0_vs0_2007-05-02_10-06-01  ';
+                                      'C1G35_he10_ve0_hs0_vs0_2007-05-02_10-06-19 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-05-02_10-04-45';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-04-45';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-05-42';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-05-42';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-05-42']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2007-05-02_10-06-58';
+                                      'C1G35_he0_ve-5_hs0_vs0_2007-05-02_10-07-17 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-07-35  ';
+                                      'C1G35_he0_ve5_hs0_vs0_2007-05-02_10-07-54  ';
+                                      'C1G35_he0_ve10_hs0_vs0_2007-05-02_10-08-12 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-05-02_10-06-39';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-06-39';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-07-35';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-07-35';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-07-35']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2007-05-02_10-08-52';
+                                      'C1G35_he0_ve0_hs-5_vs0_2007-05-02_10-09-10 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-09-29  ';
+                                      'C1G35_he0_ve0_hs5_vs0_2007-05-02_10-09-47  ';
+                                      'C1G35_he0_ve0_hs10_vs0_2007-05-02_10-10-06 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-05-02_10-08-32';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-08-32';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-09-29';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-09-29';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-09-29']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2007-05-02_10-10-45';
+                                      'C1G35_he0_ve0_hs0_vs-5_2007-05-02_10-11-03 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-11-22  ';
+                                      'C1G35_he0_ve0_hs0_vs5_2007-05-02_10-11-41  ';
+                                      'C1G35_he0_ve0_hs0_vs10_2007-05-02_10-11-59 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-05-02_10-10-25';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-10-25';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-11-22';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-11-22';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-11-22']);
+            end
+        elseif (gap < 0.5*(40 + 45))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2007-05-02_10-21-19';
+                                      'C1G40_he-5_ve0_hs0_vs0_2007-05-02_10-21-37 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-21-56  ';
+                                      'C1G40_he5_ve0_hs0_vs0_2007-05-02_10-22-14  ';
+                                      'C1G40_he10_ve0_hs0_vs0_2007-05-02_10-22-33 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-05-02_10-20-59';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-20-59';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-21-56';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-21-56';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-21-56']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2007-05-02_10-23-12';
+                                      'C1G40_he0_ve-5_hs0_vs0_2007-05-02_10-23-31 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-23-49  ';
+                                      'C1G40_he0_ve5_hs0_vs0_2007-05-02_10-24-07  ';
+                                      'C1G40_he0_ve10_hs0_vs0_2007-05-02_10-24-26 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-05-02_10-22-52';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-22-52';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-23-49';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-23-49';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-23-49']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2007-05-02_10-25-06';
+                                      'C1G40_he0_ve0_hs-5_vs0_2007-05-02_10-25-25 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-25-43  ';
+                                      'C1G40_he0_ve0_hs5_vs0_2007-05-02_10-26-02  ';
+                                      'C1G40_he0_ve0_hs10_vs0_2007-05-02_10-26-21 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-05-02_10-24-46';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-24-46';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-25-43';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-25-43';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-25-43']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2007-05-02_10-27-00';
+                                      'C1G40_he0_ve0_hs0_vs-5_2007-05-02_10-27-18 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-27-37  ';
+                                      'C1G40_he0_ve0_hs0_vs5_2007-05-02_10-27-55  ';
+                                      'C1G40_he0_ve0_hs0_vs10_2007-05-02_10-28-14 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-05-02_10-26-40';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-26-40';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-27-37';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-27-37';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-27-37']);
+            end
+        elseif (gap < 0.5*(45 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G45_he-10_ve0_hs0_vs0_2007-05-02_10-32-01';
+                                      'C1G45_he-5_ve0_hs0_vs0_2007-05-02_10-32-19 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-32-38  ';
+                                      'C1G45_he5_ve0_hs0_vs0_2007-05-02_10-32-56  ';
+                                      'C1G45_he10_ve0_hs0_vs0_2007-05-02_10-33-15 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-05-02_10-31-42';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-31-42';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-32-38';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-32-38';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-32-38']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G45_he0_ve-10_hs0_vs0_2007-05-02_10-33-56';
+                                      'C1G45_he0_ve-5_hs0_vs0_2007-05-02_10-34-15 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-34-33  ';
+                                      'C1G45_he0_ve5_hs0_vs0_2007-05-02_10-34-52  ';
+                                      'C1G45_he0_ve10_hs0_vs0_2007-05-02_10-35-10 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-05-02_10-33-36';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-33-36';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-34-33';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-34-33';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-34-33']);
+                                  
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs-10_vs0_2007-05-02_10-35-50';
+                                      'C1G45_he0_ve0_hs-5_vs0_2007-05-02_10-36-08 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-36-27  ';
+                                      'C1G45_he0_ve0_hs5_vs0_2007-05-02_10-36-46  ';
+                                      'C1G45_he0_ve0_hs10_vs0_2007-05-02_10-37-04 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-05-02_10-35-30';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-35-30';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-36-27';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-36-27';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-36-27']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs0_vs-10_2007-05-02_10-37-44';
+                                      'C1G45_he0_ve0_hs0_vs-5_2007-05-02_10-38-02 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-38-21  ';
+                                      'C1G45_he0_ve0_hs0_vs5_2007-05-02_10-38-40  ';
+                                      'C1G45_he0_ve0_hs0_vs10_2007-05-02_10-38-58 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-05-02_10-37-24';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-37-24';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-38-21';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-38-21';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-38-21']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2007-05-02_10-44-26';
+                                      'C1G50_he-5_ve0_hs0_vs0_2007-05-02_10-44-44 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-03  ';
+                                      'C1G50_he5_ve0_hs0_vs0_2007-05-02_10-45-21  ';
+                                      'C1G50_he10_ve0_hs0_vs0_2007-05-02_10-45-40 ';]);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-05-02_10-44-05';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-44-05';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-03';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-03';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-03';]);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2007-05-02_10-46-19';
+                                      'C1G50_he0_ve-5_hs0_vs0_2007-05-02_10-46-37 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-46-56  ';
+                                      'C1G50_he0_ve5_hs0_vs0_2007-05-02_10-47-14  ';
+                                      'C1G50_he0_ve10_hs0_vs0_2007-05-02_10-47-33 ';]);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-59';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-59';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-46-56';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-46-56';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-46-56';]);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2007-05-02_10-48-13';
+                                      'C1G50_he0_ve0_hs-5_vs0_2007-05-02_10-48-32 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-48-50  ';
+                                      'C1G50_he0_ve0_hs5_vs0_2007-05-02_10-49-09  ';
+                                      'C1G50_he0_ve0_hs10_vs0_2007-05-02_10-49-28 ';]);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-05-02_10-47-54';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-47-54';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-48-50';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-48-50';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-48-50';]);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2007-05-02_10-50-08';
+                                      'C1G50_he0_ve0_hs0_vs-5_2007-05-02_10-50-26 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-50-45  ';
+                                      'C1G50_he0_ve0_hs0_vs5_2007-05-02_10-51-04  ';
+                                      'C1G50_he0_ve0_hs0_vs10_2007-05-02_10-51-22 ';]);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-05-02_10-49-48';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-49-48';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-50-45';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-50-45';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-50-45';]);
+            end
+        elseif (gap < 0.5*(60 + 70))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2007-05-02_10-57-33';
+                                      'C1G60_he-5_ve0_hs0_vs0_2007-05-02_10-57-51 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-58-10  ';
+                                      'C1G60_he5_ve0_hs0_vs0_2007-05-02_10-58-29  ';
+                                      'C1G60_he10_ve0_hs0_vs0_2007-05-02_10-58-47 ';]);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-05-02_10-57-13';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-57-13';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-58-10';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-58-10';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-58-10';]);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2007-05-02_10-59-27';
+                                      'C1G60_he0_ve-5_hs0_vs0_2007-05-02_10-59-46 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-00-04  ';
+                                      'C1G60_he0_ve5_hs0_vs0_2007-05-02_11-00-23  ';
+                                      'C1G60_he0_ve10_hs0_vs0_2007-05-02_11-00-41 ';]);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-05-02_10-59-07';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-59-07';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-00-04';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-00-04';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-00-04';]);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2007-05-02_11-01-20';
+                                      'C1G60_he0_ve0_hs-5_vs0_2007-05-02_11-01-39 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-58  ';
+                                      'C1G60_he0_ve0_hs5_vs0_2007-05-02_11-02-17  ';
+                                      'C1G60_he0_ve0_hs10_vs0_2007-05-02_11-02-36 ';]);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-01';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-01';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-58';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-58';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-58';]);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2007-05-02_11-03-16';
+                                      'C1G60_he0_ve0_hs0_vs-5_2007-05-02_11-03-35 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-03-53  ';
+                                      'C1G60_he0_ve0_hs0_vs5_2007-05-02_11-04-11  ';
+                                      'C1G60_he0_ve0_hs0_vs10_2007-05-02_11-04-31 ';]);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-05-02_11-02-55';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-02-55';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-03-53';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-03-53';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-03-53';]);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2007-05-02_11-07-48';
+                                      'C1G70_he-5_ve0_hs0_vs0_2007-05-02_11-08-07 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-08-25  ';
+                                      'C1G70_he5_ve0_hs0_vs0_2007-05-02_11-08-44  ';
+                                      'C1G70_he10_ve0_hs0_vs0_2007-05-02_11-09-02 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-05-02_11-07-29';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-07-29';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-08-25';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-08-25';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-08-25']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2007-05-02_11-09-41';
+                                      'C1G70_he0_ve-5_hs0_vs0_2007-05-02_11-09-59 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-10-18  ';
+                                      'C1G70_he0_ve5_hs0_vs0_2007-05-02_11-10-37  ';
+                                      'C1G70_he0_ve10_hs0_vs0_2007-05-02_11-10-55 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-05-02_11-09-21';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-09-21';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-10-18';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-10-18';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-10-18']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2007-05-02_11-11-34';
+                                      'C1G70_he0_ve0_hs-5_vs0_2007-05-02_11-11-53 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-12-11  ';
+                                      'C1G70_he0_ve0_hs5_vs0_2007-05-02_11-12-30  ';
+                                      'C1G70_he0_ve0_hs10_vs0_2007-05-02_11-12-49 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-05-02_11-11-15';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-11-15';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-12-11';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-12-11';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-12-11']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2007-05-02_11-13-28';
+                                      'C1G70_he0_ve0_hs0_vs-5_2007-05-02_11-13-46 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-14-05  ';
+                                      'C1G70_he0_ve0_hs0_vs5_2007-05-02_11-14-24  ';
+                                      'C1G70_he0_ve0_hs0_vs10_2007-05-02_11-14-42 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-05-02_11-13-08';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-13-08';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-14-05';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-14-05';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-14-05']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2007-05-02_11-19-04';
+                                      'C1G80_he-5_ve0_hs0_vs0_2007-05-02_11-19-23 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-19-42  ';
+                                      'C1G80_he5_ve0_hs0_vs0_2007-05-02_11-20-00  ';
+                                      'C1G80_he10_ve0_hs0_vs0_2007-05-02_11-20-20 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-05-02_11-18-44';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-18-44';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-19-42';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-19-42';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-19-42']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2007-05-02_11-20-59';
+                                      'C1G80_he0_ve-5_hs0_vs0_2007-05-02_11-21-17 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-21-36  ';
+                                      'C1G80_he0_ve5_hs0_vs0_2007-05-02_11-21-54  ';
+                                      'C1G80_he0_ve10_hs0_vs0_2007-05-02_11-22-13 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-05-02_11-20-39';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-20-39';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-21-36';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-21-36';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-21-36']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2007-05-02_11-22-52';
+                                      'C1G80_he0_ve0_hs-5_vs0_2007-05-02_11-23-10 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-23-29  ';
+                                      'C1G80_he0_ve0_hs5_vs0_2007-05-02_11-23-48  ';
+                                      'C1G80_he0_ve0_hs10_vs0_2007-05-02_11-24-06 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-05-02_11-22-32';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-22-32';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-23-29';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-23-29';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-23-29']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2007-05-02_11-24-46';
+                                      'C1G80_he0_ve0_hs0_vs-5_2007-05-02_11-25-04 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-25-23  ';
+                                      'C1G80_he0_ve0_hs0_vs5_2007-05-02_11-25-42  ';
+                                      'C1G80_he0_ve0_hs0_vs10_2007-05-02_11-26-00 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-05-02_11-24-26';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-24-26';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-25-23';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-25-23';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-25-23']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2007-05-02_12-10-14';
+                                      'C1G90_he-5_ve0_hs0_vs0_2007-05-02_12-10-33 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-10-51  ';
+                                      'C1G90_he5_ve0_hs0_vs0_2007-05-02_12-11-10  ';
+                                      'C1G90_he10_ve0_hs0_vs0_2007-05-02_12-11-28 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-05-02_12-09-53';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-09-53';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-10-51';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-10-51';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-10-51']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2007-05-02_12-12-08';
+                                      'C1G90_he0_ve-5_hs0_vs0_2007-05-02_12-12-26 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-12-45  ';
+                                      'C1G90_he0_ve5_hs0_vs0_2007-05-02_12-13-03  ';
+                                      'C1G90_he0_ve10_hs0_vs0_2007-05-02_12-13-22 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-05-02_12-11-48';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-11-48';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-12-45';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-12-45';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-12-45']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2007-05-02_12-14-01';
+                                      'C1G90_he0_ve0_hs-5_vs0_2007-05-02_12-14-20 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-14-38  ';
+                                      'C1G90_he0_ve0_hs5_vs0_2007-05-02_12-14-57  ';
+                                      'C1G90_he0_ve0_hs10_vs0_2007-05-02_12-15-16 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-05-02_12-13-41';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-13-41';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-14-38';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-14-38';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-14-38']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2007-05-02_12-15-55';
+                                      'C1G90_he0_ve0_hs0_vs-5_2007-05-02_12-16-14 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-16-33  ';
+                                      'C1G90_he0_ve0_hs0_vs5_2007-05-02_12-16-51  ';
+                                      'C1G90_he0_ve0_hs0_vs10_2007-05-02_12-17-10 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-05-02_12-15-35';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-15-35';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-16-33';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-16-33';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-16-33']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2007-05-02_12-20-22';
+                                      'C1G100_he-5_ve0_hs0_vs0_2007-05-02_12-20-41 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-59  ';
+                                      'C1G100_he5_ve0_hs0_vs0_2007-05-02_12-21-18  ';
+                                      'C1G100_he10_ve0_hs0_vs0_2007-05-02_12-21-37 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-03';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-03';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-59';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-59';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-59']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2007-05-02_12-22-17';
+                                      'C1G100_he0_ve-5_hs0_vs0_2007-05-02_12-22-35 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-22-54  ';
+                                      'C1G100_he0_ve5_hs0_vs0_2007-05-02_12-23-13  ';
+                                      'C1G100_he0_ve10_hs0_vs0_2007-05-02_12-23-31 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-05-02_12-21-57';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-21-57';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-22-54';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-22-54';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-22-54']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2007-05-02_12-24-10';
+                                      'C1G100_he0_ve0_hs-5_vs0_2007-05-02_12-24-29 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-24-47  ';
+                                      'C1G100_he0_ve0_hs5_vs0_2007-05-02_12-25-06  ';
+                                      'C1G100_he0_ve0_hs10_vs0_2007-05-02_12-25-24 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-05-02_12-23-51';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-23-51';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-24-47';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-24-47';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-24-47']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2007-05-02_12-26-04';
+                                      'C1G100_he0_ve0_hs0_vs-5_2007-05-02_12-26-23 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-26-41  ';
+                                      'C1G100_he0_ve0_hs0_vs5_2007-05-02_12-27-00  ';
+                                      'C1G100_he0_ve0_hs0_vs10_2007-05-02_12-27-18 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-05-02_12-25-44';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-25-44';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-26-41';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-26-41';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-26-41']);
+            end
+        elseif (gap < 0.5*(110 + 120))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2007-05-02_12-30-53';
+                                      'C1G110_he-5_ve0_hs0_vs0_2007-05-02_12-31-11 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-31-30  ';
+                                      'C1G110_he5_ve0_hs0_vs0_2007-05-02_12-31-49  ';
+                                      'C1G110_he10_ve0_hs0_vs0_2007-05-02_12-32-07 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-05-02_12-30-33';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-30-33';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-31-30';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-31-30';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-31-30']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2007-05-02_12-32-46';
+                                      'C1G110_he0_ve-5_hs0_vs0_2007-05-02_12-33-05 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-33-24  ';
+                                      'C1G110_he0_ve5_hs0_vs0_2007-05-02_12-33-42  ';
+                                      'C1G110_he0_ve10_hs0_vs0_2007-05-02_12-34-01 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-05-02_12-32-27';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-32-27';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-33-24';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-33-24';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-33-24']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2007-05-02_12-34-41';
+                                      'C1G110_he0_ve0_hs-5_vs0_2007-05-02_12-34-59 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-35-18  ';
+                                      'C1G110_he0_ve0_hs5_vs0_2007-05-02_12-35-36  ';
+                                      'C1G110_he0_ve0_hs10_vs0_2007-05-02_12-35-56 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-05-02_12-34-20';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-34-20';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-35-18';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-35-18';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-35-18']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2007-05-02_12-36-35';
+                                      'C1G110_he0_ve0_hs0_vs-5_2007-05-02_12-36-54 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-37-12  ';
+                                      'C1G110_he0_ve0_hs0_vs5_2007-05-02_12-37-31  ';
+                                      'C1G110_he0_ve0_hs0_vs10_2007-05-02_12-37-49 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-05-02_12-36-15';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-36-15';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-37-12';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-37-12';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-37-12']);
+            end
+        elseif (gap < 0.5*(120 + 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G120_he-10_ve0_hs0_vs0_2007-05-02_12-40-03';
+                                      'C1G120_he-5_ve0_hs0_vs0_2007-05-02_12-40-22 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-40-40  ';
+                                      'C1G120_he5_ve0_hs0_vs0_2007-05-02_12-40-59  ';
+                                      'C1G120_he10_ve0_hs0_vs0_2007-05-02_12-41-17 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-05-02_12-39-44';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-39-44';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-40-40';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-40-40';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-40-40']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G120_he0_ve-10_hs0_vs0_2007-05-02_12-41-58';
+                                      'C1G120_he0_ve-5_hs0_vs0_2007-05-02_12-42-16 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-42-35  ';
+                                      'C1G120_he0_ve5_hs0_vs0_2007-05-02_12-42-54  ';
+                                      'C1G120_he0_ve10_hs0_vs0_2007-05-02_12-43-12 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-05-02_12-41-38';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-41-38';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-42-35';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-42-35';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-42-35']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs-10_vs0_2007-05-02_12-43-53';
+                                      'C1G120_he0_ve0_hs-5_vs0_2007-05-02_12-44-11 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-44-30  ';
+                                      'C1G120_he0_ve0_hs5_vs0_2007-05-02_12-44-48  ';
+                                      'C1G120_he0_ve0_hs10_vs0_2007-05-02_12-45-08 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-05-02_12-43-33';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-43-33';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-44-30';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-44-30';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-44-30']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs0_vs-10_2007-05-02_12-45-47';
+                                      'C1G120_he0_ve0_hs0_vs-5_2007-05-02_12-46-06 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-46-25  ';
+                                      'C1G120_he0_ve0_hs0_vs5_2007-05-02_12-46-43  ';
+                                      'C1G120_he0_ve0_hs0_vs10_2007-05-02_12-47-03 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-05-02_12-45-27';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-45-27';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-46-25';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-46-25';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-46-25']);
+            end
+        elseif (gap < 0.5*(130 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2007-05-02_12-49-21';
+                                      'C1G130_he-5_ve0_hs0_vs0_2007-05-02_12-49-39 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-58  ';
+                                      'C1G130_he5_ve0_hs0_vs0_2007-05-02_12-50-17  ';
+                                      'C1G130_he10_ve0_hs0_vs0_2007-05-02_12-50-35 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-01';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-01';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-58';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-58';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2007-05-02_12-51-16';
+                                      'C1G130_he0_ve-5_hs0_vs0_2007-05-02_12-51-34 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-51-53  ';
+                                      'C1G130_he0_ve5_hs0_vs0_2007-05-02_12-52-12  ';
+                                      'C1G130_he0_ve10_hs0_vs0_2007-05-02_12-52-30 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-05-02_12-50-56';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-50-56';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-51-53';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-51-53';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-51-53']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2007-05-02_12-53-09';
+                                      'C1G130_he0_ve0_hs-5_vs0_2007-05-02_12-53-28 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-53-46  ';
+                                      'C1G130_he0_ve0_hs5_vs0_2007-05-02_12-54-05  ';
+                                      'C1G130_he0_ve0_hs10_vs0_2007-05-02_12-54-24 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-05-02_12-52-50';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-52-50';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-53-46';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-53-46';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-53-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2007-05-02_12-55-04';
+                                      'C1G130_he0_ve0_hs0_vs-5_2007-05-02_12-55-23 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-55-41  ';
+                                      'C1G130_he0_ve0_hs0_vs5_2007-05-02_12-56-00  ';
+                                      'C1G130_he0_ve0_hs0_vs10_2007-05-02_12-56-19 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-05-02_12-54-45';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-54-45';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-55-41';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-55-41';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-55-41']);
+            end
+        elseif (gap < 0.5*(150 + 170))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2007-05-02_12-58-20';
+                                      'C1G150_he-5_ve0_hs0_vs0_2007-05-02_12-58-39 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-58-57  ';
+                                      'C1G150_he5_ve0_hs0_vs0_2007-05-02_12-59-16  ';
+                                      'C1G150_he10_ve0_hs0_vs0_2007-05-02_12-59-35 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-05-02_12-57-59';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-57-59';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-58-57';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-58-57';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-58-57']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2007-05-02_13-00-14';
+                                      'C1G150_he0_ve-5_hs0_vs0_2007-05-02_13-00-33 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-00-51  ';
+                                      'C1G150_he0_ve5_hs0_vs0_2007-05-02_13-01-10  ';
+                                      'C1G150_he0_ve10_hs0_vs0_2007-05-02_13-01-28 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-05-02_12-59-53';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-59-53';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-00-51';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-00-51';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-00-51']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2007-05-02_13-02-07';
+                                      'C1G150_he0_ve0_hs-5_vs0_2007-05-02_13-02-26 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-02-45  ';
+                                      'C1G150_he0_ve0_hs5_vs0_2007-05-02_13-03-03  ';
+                                      'C1G150_he0_ve0_hs10_vs0_2007-05-02_13-03-22 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-05-02_13-01-47';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-01-47';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-02-45';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-02-45';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-02-45']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2007-05-02_13-04-02';
+                                      'C1G150_he0_ve0_hs0_vs-5_2007-05-02_13-04-21 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-04-40  ';
+                                      'C1G150_he0_ve0_hs0_vs5_2007-05-02_13-04-58  ';
+                                      'C1G150_he0_ve0_hs0_vs10_2007-05-02_13-05-17 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-05-02_13-03-42';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-03-42';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-04-40';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-04-40';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-04-40']);
+            end
+        elseif (gap < 0.5*(170 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G170_he-10_ve0_hs0_vs0_2007-05-02_13-08-41';
+                                      'C1G170_he-5_ve0_hs0_vs0_2007-05-02_13-09-00 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-09-18  ';
+                                      'C1G170_he5_ve0_hs0_vs0_2007-05-02_13-09-37  ';
+                                      'C1G170_he10_ve0_hs0_vs0_2007-05-02_13-09-55 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-05-02_13-08-20';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-08-20';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-09-18';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-09-18';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-09-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G170_he0_ve-10_hs0_vs0_2007-05-02_13-10-34';
+                                      'C1G170_he0_ve-5_hs0_vs0_2007-05-02_13-10-53 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-11-11  ';
+                                      'C1G170_he0_ve5_hs0_vs0_2007-05-02_13-11-30  ';
+                                      'C1G170_he0_ve10_hs0_vs0_2007-05-02_13-11-49 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-05-02_13-10-15';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-10-15';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-11-11';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-11-11';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-11-11']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs-10_vs0_2007-05-02_13-12-29';
+                                      'C1G170_he0_ve0_hs-5_vs0_2007-05-02_13-12-47 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-13-06  ';
+                                      'C1G170_he0_ve0_hs5_vs0_2007-05-02_13-13-24  ';
+                                      'C1G170_he0_ve0_hs10_vs0_2007-05-02_13-13-43 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-05-02_13-12-09';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-12-09';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-13-06';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-13-06';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-13-06']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs0_vs-10_2007-05-02_13-14-24';
+                                      'C1G170_he0_ve0_hs0_vs-5_2007-05-02_13-14-42 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-15-00  ';
+                                      'C1G170_he0_ve0_hs0_vs5_2007-05-02_13-15-19  ';
+                                      'C1G170_he0_ve0_hs0_vs10_2007-05-02_13-15-38 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-05-02_13-14-04';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-14-04';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-15-00';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-15-00';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-15-00']);
+            end
+        elseif (gap < 0.5*(200 + 250))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2007-05-02_13-17-19';
+                                      'C1G200_he-5_ve0_hs0_vs0_2007-05-02_13-17-38 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-17-56  ';
+                                      'C1G200_he5_ve0_hs0_vs0_2007-05-02_13-18-15  ';
+                                      'C1G200_he10_ve0_hs0_vs0_2007-05-02_13-18-33 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-05-02_13-16-59';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-16-59';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-17-56';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-17-56';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-17-56']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2007-05-02_13-19-15';
+                                      'C1G200_he0_ve-5_hs0_vs0_2007-05-02_13-19-34 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-19-52  ';
+                                      'C1G200_he0_ve5_hs0_vs0_2007-05-02_13-20-11  ';
+                                      'C1G200_he0_ve10_hs0_vs0_2007-05-02_13-20-28 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-05-02_13-18-54';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-18-54';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-19-52';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-19-52';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-19-52']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2007-05-02_13-21-07';
+                                      'C1G200_he0_ve0_hs-5_vs0_2007-05-02_13-21-25 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-21-44  ';
+                                      'C1G200_he0_ve0_hs5_vs0_2007-05-02_13-22-02  ';
+                                      'C1G200_he0_ve0_hs10_vs0_2007-05-02_13-22-21 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-05-02_13-20-47';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-20-47';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-21-44';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-21-44';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-21-44']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2007-05-02_13-23-01';
+                                      'C1G200_he0_ve0_hs0_vs-5_2007-05-02_13-23-19 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-23-38  ';
+                                      'C1G200_he0_ve0_hs0_vs5_2007-05-02_13-23-56  ';
+                                      'C1G200_he0_ve0_hs0_vs10_2007-05-02_13-24-15 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-05-02_13-22-41';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-22-41';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-23-38';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-23-38';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-23-38']);
+            end
+        elseif (gap >= 0.5*(200 + 250))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G250_he-10_ve0_hs0_vs0_2007-05-02_13-26-01';
+                                      'C1G250_he-5_ve0_hs0_vs0_2007-05-02_13-26-20 ';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-26-39  ';
+                                      'C1G250_he5_ve0_hs0_vs0_2007-05-02_13-26-56  ';
+                                      'C1G250_he10_ve0_hs0_vs0_2007-05-02_13-27-15 ']);
+                fnMeasBkgr = cellstr(['C1G250_he0_ve0_hs0_vs0_2007-05-02_13-25-42';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-25-42';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-26-39';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-26-39';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-26-39']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G250_he0_ve-10_hs0_vs0_2007-05-02_13-27-55';
+                                      'C1G250_he0_ve-5_hs0_vs0_2007-05-02_13-28-13 ';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-28-32  ';
+                                      'C1G250_he0_ve5_hs0_vs0_2007-05-02_13-28-51  ';
+                                      'C1G250_he0_ve10_hs0_vs0_2007-05-02_13-29-09 ']);
+                fnMeasBkgr = cellstr(['C1G250_he0_ve0_hs0_vs0_2007-05-02_13-27-35';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-27-35';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-28-32';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-28-32';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-28-32']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G250_he0_ve0_hs-10_vs0_2007-05-02_13-29-47';
+                                      'C1G250_he0_ve0_hs-5_vs0_2007-05-02_13-30-06 ';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-30-24  ';
+                                      'C1G250_he0_ve0_hs5_vs0_2007-05-02_13-30-43  ';
+                                      'C1G250_he0_ve0_hs10_vs0_2007-05-02_13-31-01 ']);
+                fnMeasBkgr = cellstr(['C1G250_he0_ve0_hs0_vs0_2007-05-02_13-29-28';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-29-28';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-30-24';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-30-24';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-30-24']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G250_he0_ve0_hs0_vs-10_2007-05-02_13-31-40';
+                                      'C1G250_he0_ve0_hs0_vs-5_2007-05-02_13-32-00 ';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-32-19  ';
+                                      'C1G250_he0_ve0_hs0_vs5_2007-05-02_13-32-37  ';
+                                      'C1G250_he0_ve0_hs0_vs10_2007-05-02_13-32-55 ']);
+                fnMeasBkgr = cellstr(['C1G250_he0_ve0_hs0_vs0_2007-05-02_13-31-21';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-31-21';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-32-19';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-32-19';
+                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-32-19']);
+            end
+        end
+    end %if strcmp(corName, 'HU80_CASSIOPEE')
+    
+elseif strncmp(idName, 'HU256', 5)
+    if strcmp(idName, 'HU256_CASSIOPEE')
+        %vCurVals = [-10, -5, 0, 5, 10];
+        
+        if strcmp(corName, 'CHE')
+            vCurVals = [-2 -1, 0, 1, 2];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bzc1_m2A_2006-10-13_14-33-23            '; 
+                                  'HU256_CASSIOPEE_Bzc1_m1A_2006-10-13_14-32-47            '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bzc1_1A_2006-10-13_14-32-06             '; 
+                                  'HU256_CASSIOPEE_Bzc1_2A_2006-10-13_14-31-44             ']);                                  
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CVE')
+            vCurVals = [-6, -3, 0, 3, 6];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bxc1_m6A_2006-10-13_14-38-58            '; 
+                                  'HU256_CASSIOPEE_Bxc1_m3A_2006-10-13_14-38-37            '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bxc1_3A_2006-10-13_14-37-06             '; 
+                                  'HU256_CASSIOPEE_Bxc1_6A_2006-10-13_14-37-49             ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CHS')
+            vCurVals = [-2, -1, 0, 1, 2];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bzc27_m2A_2006-10-13_14-36-00           '; 
+                                  'HU256_CASSIOPEE_Bzc27_m1A_2006-10-13_14-35-00           '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bzc27_1A_2006-10-13_14-34-11            '; 
+                                  'HU256_CASSIOPEE_Bzc27_2A_2006-10-13_14-34-33            ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CVS')
+            vCurVals = [-6, -3, 0, 3, 6];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bxc28_m6A_2006-10-13_14-40-51           '; 
+                                  'HU256_CASSIOPEE_Bxc28_m3A_2006-10-13_14-40-30           '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bxc28_3A_2006-10-13_14-39-46            '; 
+                                  'HU256_CASSIOPEE_Bxc28_6A_2006-10-13_14-40-07            ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        end
+    elseif (strcmp(idName, 'HU256_PLEIADES'))
+
+        if strcmp(corName, 'CHE')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CHE_m2_2007-04-27_11-35-38   ';
+									'HU256_PLEIADES_CHE_m1_2007-04-27_11-35-54   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_CHE_1_2007-04-27_11-36-10    ';
+									'HU256_PLEIADES_CHE_2_2007-04-27_11-36-26    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23']);
+		elseif strcmp(corName, 'CHS')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CHS_m2_2007-04-27_11-36-58   ';
+									'HU256_PLEIADES_CHS_m1_2007-04-27_11-37-14   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_CHS_1_2007-04-27_11-37-30    ';
+									'HU256_PLEIADES_CHS_2_2007-04-27_11-37-46    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42']);
+		elseif strcmp(corName, 'CVE')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CVE_m6_2007-04-27_11-38-18   ';
+									'HU256_PLEIADES_CVE_m3_2007-04-27_11-38-34   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_CVE_3_2007-04-27_11-38-50    ';
+									'HU256_PLEIADES_CVE_6_2007-04-27_11-39-06    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02']);
+		elseif strcmp(corName, 'CVS')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CVS_m6_2007-04-27_11-39-37   ';
+									'HU256_PLEIADES_CVS_m3_2007-04-27_11-39-53   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_CVS_3_2007-04-27_11-40-08    ';
+									'HU256_PLEIADES_CVS_6_2007-04-27_11-40-24    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21']);
+        end     % end of HU256_PLEIADES
+    elseif strcmp(idName, 'HU256_ANTARES')
+
+		if strcmp(corName, 'CHE')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_ANTARES_CHE_m2_2007-06-07_12-38-13   ';
+									'HU256_ANTARES_CHE_m1_2007-06-07_12-38-28   ';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_CHE_1_2007-06-07_12-38-43    ';
+									'HU256_ANTARES_CHE_2_2007-06-07_12-38-58    ']);
+			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57']);
+		elseif strcmp(corName, 'CHS')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_ANTARES_CHS_m2_2007-06-07_12-39-29   ';
+									'HU256_ANTARES_CHS_m1_2007-06-07_12-39-44   ';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_CHS_1_2007-06-07_12-39-59    ';
+									'HU256_ANTARES_CHS_2_2007-06-07_12-40-15    ']);
+			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14']);
+		elseif strcmp(corName, 'CVE')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_ANTARES_CVE_m6_2007-06-07_12-40-45   ';
+									'HU256_ANTARES_CVE_m3_2007-06-07_12-41-00   ';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_CVE_3_2007-06-07_12-41-16    ';
+									'HU256_ANTARES_CVE_6_2007-06-07_12-41-31    ']);
+			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30']);
+		elseif strcmp(corName, 'CVS')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_ANTARES_CVS_m6_2007-06-07_12-42-01   ';
+									'HU256_ANTARES_CVS_m3_2007-06-07_12-42-17   ';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_CVS_3_2007-06-07_12-42-32    ';
+									'HU256_ANTARES_CVS_6_2007-06-07_12-42-47    ']);
+			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46']);
+		end
+	end	% end of HU256_ANTARES
+    %end % end HU256
+
+elseif strncmp(idName, 'HU640', 5)
+    if strcmp(idName, 'HU640_DESIRS')
+        vCurVals = [-4,-2, 0, 2, 4];
+        if strcmp(corName, 'CVE')
+
+            fnMeasMain = cellstr(['HU640_Corr4_m4A';
+                                  'HU640_Corr4_m2A'; 
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_p2A'
+                                  'HU640_Corr4_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A']);
+        elseif strcmp(corName, 'CHE')
+
+            fnMeasMain = cellstr(['HU640_Corr2_m4A';
+                                  'HU640_Corr2_m2A'; 
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_p2A'
+                                  'HU640_Corr2_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A']);
+        elseif strcmp(corName, 'CVS')
+
+            fnMeasMain = cellstr(['HU640_Corr3_m4A';
+                                  'HU640_Corr3_m2A'; 
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_p2A'
+                                  'HU640_Corr3_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A']);
+        elseif strcmp(corName, 'CHS')
+
+            fnMeasMain = cellstr(['HU640_Corr1_m4A';
+                                  'HU640_Corr1_m2A'; 
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_p2A'
+                                  'HU640_Corr1_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A']);
+        end
+    end % HU640_DESIRS
+
+end 
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadCorElecBeamMeasData_tests.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadCorElecBeamMeasData_tests.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadCorElecBeamMeasData_tests.m	(revision 17)
@@ -0,0 +1,1718 @@
+function [fnMeasMain, fnMeasBkgr, vCurVals] = idReadCorElecBeamMeasData_tests(idName, gap, corName)
+
+if strncmp(idName, 'U20', 3)
+	if strcmp(idName, 'U20_PROXIMA1')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_gap30_ofm350_ch1_m6_2006-12-20_11-20-43'; 
+                                  'U20_gap30_ofm350_ch1_m4_2006-12-20_11-20-16'; 
+                                  'U20_gap30_ofm350_ch1_m2_2006-12-20_11-19-56'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27 '; 
+                                  'U20_gap30_ofm350_ch1_2_2006-12-20_11-18-19 ';
+                                  'U20_gap30_ofm350_ch1_4_2006-12-20_11-19-01 ';
+                                  'U20_gap30_ofm350_ch1_6_2006-12-20_11-19-30 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27';
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27';
+                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27']);
+        elseif strcmp(corName, 'CVE')                            
+            fnMeasMain = cellstr(['U20_gap30_ofm350_ch2_m6_2006-12-20_11-24-02'; 
+                                  'U20_gap30_ofm350_ch2_m4_2006-12-20_11-23-42'; 
+                                  'U20_gap30_ofm350_ch2_m2_2006-12-20_11-23-16'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13 '; 
+                                  'U20_gap30_ofm350_ch2_2_2006-12-20_11-21-54 ';
+                                  'U20_gap30_ofm350_ch2_4_2006-12-20_11-22-17 ';
+                                  'U20_gap30_ofm350_ch2_6_2006-12-20_11-22-43 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13';
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13';
+                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13']);                             
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_gap30_ofm350_ch3_m6_2006-12-20_11-28-09'; 
+                                  'U20_gap30_ofm350_ch3_m4_2006-12-20_11-27-48'; 
+                                  'U20_gap30_ofm350_ch3_m2_2006-12-20_11-27-28'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35 '; 
+                                  'U20_gap30_ofm350_ch3_2_2006-12-20_11-26-26 ';
+                                  'U20_gap30_ofm350_ch3_4_2006-12-20_11-26-46 ';
+                                  'U20_gap30_ofm350_ch3_6_2006-12-20_11-27-09 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35';
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35';
+                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_gap30_ofm350_ch4_m6_2006-12-20_11-31-15'; 
+                                  'U20_gap30_ofm350_ch4_m4_2006-12-20_11-30-43'; 
+                                  'U20_gap30_ofm350_ch4_m2_2006-12-20_11-30-28'; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40 '; 
+                                  'U20_gap30_ofm350_ch4_2_2006-12-20_11-29-01 ';
+                                  'U20_gap30_ofm350_ch4_4_2006-12-20_11-29-20 ';
+                                  'U20_gap30_ofm350_ch4_6_2006-12-20_11-29-43 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ;
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ;
+                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40']); 
+        end
+        
+	elseif strcmp(idName, 'U20_SWING')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_gap30_ofm400_ch1_m6_2006-12-20_09-35-37'; 
+                                  'U20_gap30_ofm400_ch1_m4_2006-12-20_09-35-13'; 
+                                  'U20_gap30_ofm400_ch1_m2_2006-12-20_09-34-52'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57 '; 
+                                  'U20_gap30_ofm400_ch1_2_2006-12-20_09-33-26 ';
+                                  'U20_gap30_ofm400_ch1_4_2006-12-20_09-33-50 ';
+                                  'U20_gap30_ofm400_ch1_6_2006-12-20_09-34-11 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57';
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57';
+                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57']);
+        elseif strcmp(corName, 'CVE')                            
+            fnMeasMain = cellstr(['U20_gap30_ofm400_ch2_m6_2006-12-20_09-41-18'; 
+                                  'U20_gap30_ofm400_ch2_m4_2006-12-20_09-40-42'; 
+                                  'U20_gap30_ofm400_ch2_m2_2006-12-20_09-39-55'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47 '; 
+                                  'U20_gap30_ofm400_ch2_2_2006-12-20_09-38-22 ';
+                                  'U20_gap30_ofm400_ch2_4_2006-12-20_09-38-51 ';
+                                  'U20_gap30_ofm400_ch2_6_2006-12-20_09-39-20 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47';
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47';
+                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47']);                             
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_gap30_ofm400_ch4_m6_2006-12-20_10-52-05'; 
+                                  'U20_gap30_ofm400_ch4_m4_2006-12-20_10-51-34'; 
+                                  'U20_gap30_ofm400_ch4_m2_2006-12-20_10-51-11'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16 '; 
+                                  'U20_gap30_ofm400_ch4_2_2006-12-20_10-49-35 ';
+                                  'U20_gap30_ofm400_ch4_4_2006-12-20_10-50-19 ';
+                                  'U20_gap30_ofm400_ch4_6_2006-12-20_10-50-42 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16';
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16';
+                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_gap30_ofm400_ch3_m6_2006-12-20_10-56-00'; 
+                                  'U20_gap30_ofm400_ch3_m4_2006-12-20_10-55-28'; 
+                                  'U20_gap30_ofm400_ch3_m2_2006-12-20_10-54-50'; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41 '; 
+                                  'U20_gap30_ofm400_ch3_2_2006-12-20_10-53-25 ';
+                                  'U20_gap30_ofm400_ch3_4_2006-12-20_10-53-49 ';
+                                  'U20_gap30_ofm400_ch3_6_2006-12-20_10-54-15 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ;
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ;
+                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41']); 
+        
+        end 
+	elseif strcmp(idName, 'U20_CRISTAL')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_gap30_of0_ch2_m6_2007-03-06_11-14-03'; 
+                                  'U20_gap30_of0_ch2_m4_2007-03-06_11-13-41'; 
+                                  'U20_gap30_of0_ch2_m2_2007-03-06_11-13-19'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49 '; 
+                                  'U20_gap30_of0_ch2_2_2007-03-06_11-02-34 ';
+                                  'U20_gap30_of0_ch2_4_2007-03-06_11-03-07 ';
+                                  'U20_gap30_of0_ch2_6_2007-03-06_11-09-37 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49';
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49';
+                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49']);
+        elseif strcmp(corName, 'CVE')                            
+            fnMeasMain = cellstr(['U20_gap30_of0_ch1_m6_2007-03-06_11-20-13'; 
+                                  'U20_gap30_of0_ch1_m4_2007-03-06_11-19-42'; 
+                                  'U20_gap30_of0_ch1_m2_2007-03-06_11-19-20'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55 '; 
+                                  'U20_gap30_of0_ch1_2_2007-03-06_11-16-39 ';
+                                  'U20_gap30_of0_ch1_4_2007-03-06_11-16-57 ';
+                                  'U20_gap30_of0_ch1_6_2007-03-06_11-18-38 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55';
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55';
+                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55']);                             
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_gap30_of0_ch4_m6_2007-03-06_11-37-18'; 
+                                  'U20_gap30_of0_ch4_m4_2007-03-06_11-37-05'; 
+                                  'U20_gap30_of0_ch4_m2_2007-03-06_11-36-42'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21 '; 
+                                  'U20_gap30_of0_ch4_2_2007-03-06_11-35-19 ';
+                                  'U20_gap30_of0_ch4_4_2007-03-06_11-35-35 ';
+                                  'U20_gap30_of0_ch4_6_2007-03-06_11-36-04 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21';
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21';
+                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_gap30_of0_ch3_m6_2007-03-06_11-42-59'; 
+                                  'U20_gap30_of0_ch3_m4_2007-03-06_11-42-40'; 
+                                  'U20_gap30_of0_ch3_m2_2007-03-06_11-40-23'; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08 '; 
+                                  'U20_gap30_of0_ch3_2_2007-03-06_11-39-09 ';
+                                  'U20_gap30_of0_ch3_4_2007-03-06_11-39-26 ';
+                                  'U20_gap30_of0_ch3_6_2007-03-06_11-39-50 ']);
+            fnMeasBkgr = cellstr(['U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ;
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ;
+                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08']); 
+        end
+    end
+elseif strncmp(idName, 'HU80', 4)
+    
+    if strcmp(idName, 'HU80_PLEIADES')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap < 0.5*(15.5 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2007-03-25_10-28-48';
+                                      'C1G15_5_he-5_ve0_hs0_vs0_2007-03-25_10-29-07 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  ';
+                                      'C1G15_5_he5_ve0_hs0_vs0_2007-03-25_10-29-44  ';
+                                      'C1G15_5_he10_ve0_hs0_vs0_2007-03-25_10-30-02 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  ']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2007-03-25_10-30-24';
+                                      'C1G15_5_he0_ve-5_hs0_vs0_2007-03-25_10-30-42 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01  ';
+                                      'C1G15_5_he0_ve5_hs0_vs0_2007-03-25_10-31-20  ';
+                                      'C1G15_5_he0_ve10_hs0_vs0_2007-03-25_10-31-38 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2007-03-25_10-31-59';
+                                      'C1G15_5_he0_ve0_hs-5_vs0_2007-03-25_10-32-18 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36  ';
+                                      'C1G15_5_he0_ve0_hs5_vs0_2007-03-25_10-32-55  ';
+                                      'C1G15_5_he0_ve0_hs10_vs0_2007-03-25_10-33-13 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2007-03-25_10-33-35';
+                                      'C1G15_5_he0_ve0_hs0_vs-5_2007-03-25_10-33-54 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11  ';
+                                      'C1G15_5_he0_ve0_hs0_vs5_2007-03-25_10-34-30  ';
+                                      'C1G15_5_he0_ve0_hs0_vs10_2007-03-25_10-34-48 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
+                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2007-03-25_10-41-14';
+                                      'C1G18_he-5_ve0_hs0_vs0_2007-03-25_10-41-33 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52  ';
+                                      'C1G18_he5_ve0_hs0_vs0_2007-03-25_10-42-10  ';
+                                      'C1G18_he10_ve0_hs0_vs0_2007-03-25_10-42-29 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2007-03-25_10-42-50';
+                                      'C1G18_he0_ve-5_hs0_vs0_2007-03-25_10-43-09 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27  ';
+                                      'C1G18_he0_ve5_hs0_vs0_2007-03-25_10-43-46  ';
+                                      'C1G18_he0_ve10_hs0_vs0_2007-03-25_10-44-03 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2007-03-25_10-44-23';
+                                      'C1G18_he0_ve0_hs-5_vs0_2007-03-25_10-44-41 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59  ';
+                                      'C1G18_he0_ve0_hs5_vs0_2007-03-25_10-45-18  ';
+                                      'C1G18_he0_ve0_hs10_vs0_2007-03-25_10-45-36 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2007-03-25_10-45-59';
+                                      'C1G18_he0_ve0_hs0_vs-5_2007-03-25_10-46-16 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35  ';
+                                      'C1G18_he0_ve0_hs0_vs5_2007-03-25_10-46-53  ';
+                                      'C1G18_he0_ve0_hs0_vs10_2007-03-25_10-47-12 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
+                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35']);
+            end
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2007-03-25_10-51-00';
+                                      'C1G20_he-5_ve0_hs0_vs0_2007-03-25_10-51-19 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38  ';
+                                      'C1G20_he5_ve0_hs0_vs0_2007-03-25_10-51-56  ';
+                                      'C1G20_he10_ve0_hs0_vs0_2007-03-25_10-52-15 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2007-03-25_10-52-36';
+                                      'C1G20_he0_ve-5_hs0_vs0_2007-03-25_10-52-55 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13  ';
+                                      'C1G20_he0_ve5_hs0_vs0_2007-03-25_10-53-32  ';
+                                      'C1G20_he0_ve10_hs0_vs0_2007-03-25_10-53-50 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2007-03-25_10-54-10';
+                                      'C1G20_he0_ve0_hs-5_vs0_2007-03-25_10-54-27 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46  ';
+                                      'C1G20_he0_ve0_hs5_vs0_2007-03-25_10-55-05  ';
+                                      'C1G20_he0_ve0_hs10_vs0_2007-03-25_10-55-23 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2007-03-25_10-55-45';
+                                      'C1G20_he0_ve0_hs0_vs-5_2007-03-25_10-56-03 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21  ';
+                                      'C1G20_he0_ve0_hs0_vs5_2007-03-25_10-56-40  ';
+                                      'C1G20_he0_ve0_hs0_vs10_2007-03-25_10-56-58 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
+                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21']);
+            end
+        elseif (gap < 0.5*(25 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2007-03-25_11-04-48';
+                                      'C1G25_he-5_ve0_hs0_vs0_2007-03-25_11-05-06 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25  ';
+                                      'C1G25_he5_ve0_hs0_vs0_2007-03-25_11-05-43  ';
+                                      'C1G25_he10_ve0_hs0_vs0_2007-03-25_11-06-02 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2007-03-25_11-06-24';
+                                      'C1G25_he0_ve-5_hs0_vs0_2007-03-25_11-06-42 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01  ';
+                                      'C1G25_he0_ve5_hs0_vs0_2007-03-25_11-07-19  ';
+                                      'C1G25_he0_ve10_hs0_vs0_2007-03-25_11-07-38 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2007-03-25_11-07-57';
+                                      'C1G25_he0_ve0_hs-5_vs0_2007-03-25_11-08-16 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34  ';
+                                      'C1G25_he0_ve0_hs5_vs0_2007-03-25_11-08-52  ';
+                                      'C1G25_he0_ve0_hs10_vs0_2007-03-25_11-09-11 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2007-03-25_11-09-34';
+                                      'C1G25_he0_ve0_hs0_vs-5_2007-03-25_11-09-51 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09  ';
+                                      'C1G25_he0_ve0_hs0_vs5_2007-03-25_11-10-28  ';
+                                      'C1G25_he0_ve0_hs0_vs10_2007-03-25_11-10-46 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
+                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09']);
+            end
+        elseif (gap < 0.5*(30 + 35))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2007-03-25_11-13-09';
+                                      'C1G30_he-5_ve0_hs0_vs0_2007-03-25_11-13-28 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46  ';
+                                      'C1G30_he5_ve0_hs0_vs0_2007-03-25_11-14-04  ';
+                                      'C1G30_he10_ve0_hs0_vs0_2007-03-25_11-14-22 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2007-03-25_11-14-44';
+                                      'C1G30_he0_ve-5_hs0_vs0_2007-03-25_11-15-01 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20  ';
+                                      'C1G30_he0_ve5_hs0_vs0_2007-03-25_11-15-39  ';
+                                      'C1G30_he0_ve10_hs0_vs0_2007-03-25_11-15-57 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2007-03-25_11-16-17';
+                                      'C1G30_he0_ve0_hs-5_vs0_2007-03-25_11-16-36 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54  ';
+                                      'C1G30_he0_ve0_hs5_vs0_2007-03-25_11-17-12  ';
+                                      'C1G30_he0_ve0_hs10_vs0_2007-03-25_11-17-30 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2007-03-25_11-17-52';
+                                      'C1G30_he0_ve0_hs0_vs-5_2007-03-25_11-18-11 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29  ';
+                                      'C1G30_he0_ve0_hs0_vs5_2007-03-25_11-18-48  ';
+                                      'C1G30_he0_ve0_hs0_vs10_2007-03-25_11-19-05 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
+                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29']);
+            end
+        elseif (gap < 0.5*(35 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2007-03-25_11-23-34';
+                                      'C1G35_he-5_ve0_hs0_vs0_2007-03-25_11-23-53 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12  ';
+                                      'C1G35_he5_ve0_hs0_vs0_2007-03-25_11-24-30  ';
+                                      'C1G35_he10_ve0_hs0_vs0_2007-03-25_11-24-49 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2007-03-25_11-25-10';
+                                      'C1G35_he0_ve-5_hs0_vs0_2007-03-25_11-25-29 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47  ';
+                                      'C1G35_he0_ve5_hs0_vs0_2007-03-25_11-26-06  ';
+                                      'C1G35_he0_ve10_hs0_vs0_2007-03-25_11-26-25 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2007-03-25_11-26-44';
+                                      'C1G35_he0_ve0_hs-5_vs0_2007-03-25_11-27-02 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19  ';
+                                      'C1G35_he0_ve0_hs5_vs0_2007-03-25_11-27-38  ';
+                                      'C1G35_he0_ve0_hs10_vs0_2007-03-25_11-27-55 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2007-03-25_11-28-18';
+                                      'C1G35_he0_ve0_hs0_vs-5_2007-03-25_11-28-37 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54  ';
+                                      'C1G35_he0_ve0_hs0_vs5_2007-03-25_11-29-13  ';
+                                      'C1G35_he0_ve0_hs0_vs10_2007-03-25_11-29-30 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
+                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54']);
+            end
+        elseif (gap < 0.5*(40 + 45))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2007-03-25_11-31-57';
+                                      'C1G40_he-5_ve0_hs0_vs0_2007-03-25_11-32-15 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34  ';
+                                      'C1G40_he5_ve0_hs0_vs0_2007-03-25_11-32-52  ';
+                                      'C1G40_he10_ve0_hs0_vs0_2007-03-25_11-33-11 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2007-03-25_11-33-32';
+                                      'C1G40_he0_ve-5_hs0_vs0_2007-03-25_11-33-51 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10  ';
+                                      'C1G40_he0_ve5_hs0_vs0_2007-03-25_11-34-29  ';
+                                      'C1G40_he0_ve10_hs0_vs0_2007-03-25_11-34-47 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2007-03-25_11-35-07';
+                                      'C1G40_he0_ve0_hs-5_vs0_2007-03-25_11-35-25 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44  ';
+                                      'C1G40_he0_ve0_hs5_vs0_2007-03-25_11-36-01  ';
+                                      'C1G40_he0_ve0_hs10_vs0_2007-03-25_11-36-20 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2007-03-25_11-36-43';
+                                      'C1G40_he0_ve0_hs0_vs-5_2007-03-25_11-37-01 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19  ';
+                                      'C1G40_he0_ve0_hs0_vs5_2007-03-25_11-37-37  ';
+                                      'C1G40_he0_ve0_hs0_vs10_2007-03-25_11-37-55 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
+                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19']);
+            end
+        elseif (gap < 0.5*(45 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G45_he-10_ve0_hs0_vs0_2007-03-25_11-41-26';
+                                      'C1G45_he-5_ve0_hs0_vs0_2007-03-25_11-41-45 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03  ';
+                                      'C1G45_he5_ve0_hs0_vs0_2007-03-25_11-42-22  ';
+                                      'C1G45_he10_ve0_hs0_vs0_2007-03-25_11-42-41 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G45_he0_ve-10_hs0_vs0_2007-03-25_11-43-03';
+                                      'C1G45_he0_ve-5_hs0_vs0_2007-03-25_11-43-22 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40  ';
+                                      'C1G45_he0_ve5_hs0_vs0_2007-03-25_11-43-59  ';
+                                      'C1G45_he0_ve10_hs0_vs0_2007-03-25_11-44-17 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs-10_vs0_2007-03-25_11-44-38';
+                                      'C1G45_he0_ve0_hs-5_vs0_2007-03-25_11-44-57 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15  ';
+                                      'C1G45_he0_ve0_hs5_vs0_2007-03-25_11-45-34  ';
+                                      'C1G45_he0_ve0_hs10_vs0_2007-03-25_11-45-53 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs0_vs-10_2007-03-25_11-46-15';
+                                      'C1G45_he0_ve0_hs0_vs-5_2007-03-25_11-46-34 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52  ';
+                                      'C1G45_he0_ve0_hs0_vs5_2007-03-25_11-47-10  ';
+                                      'C1G45_he0_ve0_hs0_vs10_2007-03-25_11-47-28 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
+                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2007-03-25_11-49-56';
+                                      'C1G50_he-5_ve0_hs0_vs0_2007-03-25_11-50-15 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33  ';
+                                      'C1G50_he5_ve0_hs0_vs0_2007-03-25_11-50-52  ';
+                                      'C1G50_he10_ve0_hs0_vs0_2007-03-25_11-51-11 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2007-03-25_11-51-33';
+                                      'C1G50_he0_ve-5_hs0_vs0_2007-03-25_11-51-52 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10  ';
+                                      'C1G50_he0_ve5_hs0_vs0_2007-03-25_11-52-28  ';
+                                      'C1G50_he0_ve10_hs0_vs0_2007-03-25_11-52-45 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2007-03-25_11-53-05';
+                                      'C1G50_he0_ve0_hs-5_vs0_2007-03-25_11-53-23 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42  ';
+                                      'C1G50_he0_ve0_hs5_vs0_2007-03-25_11-54-00  ';
+                                      'C1G50_he0_ve0_hs10_vs0_2007-03-25_11-54-19 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2007-03-25_11-54-41';
+                                      'C1G50_he0_ve0_hs0_vs-5_2007-03-25_11-54-59 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18  ';
+                                      'C1G50_he0_ve0_hs0_vs5_2007-03-25_11-55-36  ';
+                                      'C1G50_he0_ve0_hs0_vs10_2007-03-25_11-55-55 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
+                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18']);
+            end
+        elseif (gap < 0.5*(60 + 70))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2007-03-25_12-00-45';
+                                      'C1G60_he-5_ve0_hs0_vs0_2007-03-25_12-01-04 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22  ';
+                                      'C1G60_he5_ve0_hs0_vs0_2007-03-25_12-01-41  ';
+                                      'C1G60_he10_ve0_hs0_vs0_2007-03-25_12-01-59 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2007-03-25_12-02-21';
+                                      'C1G60_he0_ve-5_hs0_vs0_2007-03-25_12-02-39 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58  ';
+                                      'C1G60_he0_ve5_hs0_vs0_2007-03-25_12-03-16  ';
+                                      'C1G60_he0_ve10_hs0_vs0_2007-03-25_12-03-34 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2007-03-25_12-03-54';
+                                      'C1G60_he0_ve0_hs-5_vs0_2007-03-25_12-04-12 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30  ';
+                                      'C1G60_he0_ve0_hs5_vs0_2007-03-25_12-04-47  ';
+                                      'C1G60_he0_ve0_hs10_vs0_2007-03-25_12-05-06 ']);
+                 fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
+                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
+                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
+                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
+                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2007-03-25_12-05-27';
+                                      'C1G60_he0_ve0_hs0_vs-5_2007-03-25_12-05-46 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04  ';
+                                      'C1G60_he0_ve0_hs0_vs5_2007-03-25_12-06-23  ';
+                                      'C1G60_he0_ve0_hs0_vs10_2007-03-25_12-06-41 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
+                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04']);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2007-03-25_12-09-28';
+                                      'C1G70_he-5_ve0_hs0_vs0_2007-03-25_12-09-46 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05  ';
+                                      'C1G70_he5_ve0_hs0_vs0_2007-03-25_12-10-24  ';
+                                      'C1G70_he10_ve0_hs0_vs0_2007-03-25_12-10-42 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2007-03-25_12-11-05';
+                                      'C1G70_he0_ve-5_hs0_vs0_2007-03-25_12-11-23 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42  ';
+                                      'C1G70_he0_ve5_hs0_vs0_2007-03-25_12-12-00  ';
+                                      'C1G70_he0_ve10_hs0_vs0_2007-03-25_12-12-19 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2007-03-25_12-12-39';
+                                      'C1G70_he0_ve0_hs-5_vs0_2007-03-25_12-12-58 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17  ';
+                                      'C1G70_he0_ve0_hs5_vs0_2007-03-25_12-13-34  ';
+                                      'C1G70_he0_ve0_hs10_vs0_2007-03-25_12-13-52 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2007-03-25_12-14-15';
+                                      'C1G70_he0_ve0_hs0_vs-5_2007-03-25_12-14-33 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52  ';
+                                      'C1G70_he0_ve0_hs0_vs5_2007-03-25_12-15-09  ';
+                                      'C1G70_he0_ve0_hs0_vs10_2007-03-25_12-15-27 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
+                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2007-03-25_12-20-26';
+                                      'C1G80_he-5_ve0_hs0_vs0_2007-03-25_12-20-45 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03  ';
+                                      'C1G80_he5_ve0_hs0_vs0_2007-03-25_12-21-22  ';
+                                      'C1G80_he10_ve0_hs0_vs0_2007-03-25_12-21-40 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2007-03-25_12-22-02';
+                                      'C1G80_he0_ve-5_hs0_vs0_2007-03-25_12-22-20 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39  ';
+                                      'C1G80_he0_ve5_hs0_vs0_2007-03-25_12-22-57  ';
+                                      'C1G80_he0_ve10_hs0_vs0_2007-03-25_12-23-16 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2007-03-25_12-23-35';
+                                      'C1G80_he0_ve0_hs-5_vs0_2007-03-25_12-23-53 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10  ';
+                                      'C1G80_he0_ve0_hs5_vs0_2007-03-25_12-24-28  ';
+                                      'C1G80_he0_ve0_hs10_vs0_2007-03-25_12-24-47 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2007-03-25_12-25-09';
+                                      'C1G80_he0_ve0_hs0_vs-5_2007-03-25_12-25-27 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45  ';
+                                      'C1G80_he0_ve0_hs0_vs5_2007-03-25_12-26-03  ';
+                                      'C1G80_he0_ve0_hs0_vs10_2007-03-25_12-26-21 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
+                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2007-03-25_12-28-21';
+                                      'C1G90_he-5_ve0_hs0_vs0_2007-03-25_12-28-39 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58  ';
+                                      'C1G90_he5_ve0_hs0_vs0_2007-03-25_12-29-16  ';
+                                      'C1G90_he10_ve0_hs0_vs0_2007-03-25_12-29-35 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2007-03-25_12-29-56';
+                                      'C1G90_he0_ve-5_hs0_vs0_2007-03-25_12-30-15 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33  ';
+                                      'C1G90_he0_ve5_hs0_vs0_2007-03-25_12-30-52  ';
+                                      'C1G90_he0_ve10_hs0_vs0_2007-03-25_12-31-10 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2007-03-25_12-31-30';
+                                      'C1G90_he0_ve0_hs-5_vs0_2007-03-25_12-31-48 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05  ';
+                                      'C1G90_he0_ve0_hs5_vs0_2007-03-25_12-32-23  ';
+                                      'C1G90_he0_ve0_hs10_vs0_2007-03-25_12-32-41 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2007-03-25_12-33-04';
+                                      'C1G90_he0_ve0_hs0_vs-5_2007-03-25_12-33-22 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40  ';
+                                      'C1G90_he0_ve0_hs0_vs5_2007-03-25_12-33-57  ';
+                                      'C1G90_he0_ve0_hs0_vs10_2007-03-25_12-34-16 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
+                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2007-03-25_12-36-41';
+                                      'C1G100_he-5_ve0_hs0_vs0_2007-03-25_12-36-59 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18  ';
+                                      'C1G100_he5_ve0_hs0_vs0_2007-03-25_12-37-37  ';
+                                      'C1G100_he10_ve0_hs0_vs0_2007-03-25_12-37-55 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2007-03-25_12-38-18';
+                                      'C1G100_he0_ve-5_hs0_vs0_2007-03-25_12-38-36 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55  ';
+                                      'C1G100_he0_ve5_hs0_vs0_2007-03-25_12-39-12  ';
+                                      'C1G100_he0_ve10_hs0_vs0_2007-03-25_12-39-31 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2007-03-25_12-39-50';
+                                      'C1G100_he0_ve0_hs-5_vs0_2007-03-25_12-40-09 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26  ';
+                                      'C1G100_he0_ve0_hs5_vs0_2007-03-25_12-40-44  ';
+                                      'C1G100_he0_ve0_hs10_vs0_2007-03-25_12-41-01 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2007-03-25_12-41-24';
+                                      'C1G100_he0_ve0_hs0_vs-5_2007-03-25_12-41-42 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01  ';
+                                      'C1G100_he0_ve0_hs0_vs5_2007-03-25_12-42-20  ';
+                                      'C1G100_he0_ve0_hs0_vs10_2007-03-25_12-42-38 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
+                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01']);
+            end
+        elseif (gap < 0.5*(110 + 120))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2007-03-25_12-44-51';
+                                      'C1G110_he-5_ve0_hs0_vs0_2007-03-25_12-45-10 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29  ';
+                                      'C1G110_he5_ve0_hs0_vs0_2007-03-25_12-45-48  ';
+                                      'C1G110_he10_ve0_hs0_vs0_2007-03-25_12-46-06 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2007-03-25_12-46-28';
+                                      'C1G110_he0_ve-5_hs0_vs0_2007-03-25_12-46-46 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04  ';
+                                      'C1G110_he0_ve5_hs0_vs0_2007-03-25_12-47-23  ';
+                                      'C1G110_he0_ve10_hs0_vs0_2007-03-25_12-47-41 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2007-03-25_12-48-01';
+                                      'C1G110_he0_ve0_hs-5_vs0_2007-03-25_12-48-20 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04  ';
+                                      'C1G110_he0_ve0_hs5_vs0_2007-03-25_12-48-56  ';
+                                      'C1G110_he0_ve0_hs10_vs0_2007-03-25_12-49-13 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2007-03-25_12-49-35';
+                                      'C1G110_he0_ve0_hs0_vs-5_2007-03-25_12-49-54 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13  ';
+                                      'C1G110_he0_ve0_hs0_vs5_2007-03-25_12-50-32  ';
+                                      'C1G110_he0_ve0_hs0_vs10_2007-03-25_12-50-50 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
+                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13']);
+            end
+        elseif (gap < 0.5*(120 + 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G120_he-10_ve0_hs0_vs0_2007-03-25_12-52-30';
+                                      'C1G120_he-5_ve0_hs0_vs0_2007-03-25_12-52-49 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07  ';
+                                      'C1G120_he5_ve0_hs0_vs0_2007-03-25_12-53-27  ';
+                                      'C1G120_he10_ve0_hs0_vs0_2007-03-25_12-53-46 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G120_he0_ve-10_hs0_vs0_2007-03-25_12-54-07';
+                                      'C1G120_he0_ve-5_hs0_vs0_2007-03-25_12-54-26 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44  ';
+                                      'C1G120_he0_ve5_hs0_vs0_2007-03-25_12-55-03  ';
+                                      'C1G120_he0_ve10_hs0_vs0_2007-03-25_12-55-21 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs-10_vs0_2007-03-25_12-55-41';
+                                      'C1G120_he0_ve0_hs-5_vs0_2007-03-25_12-55-59 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18  ';
+                                      'C1G120_he0_ve0_hs5_vs0_2007-03-25_12-56-36  ';
+                                      'C1G120_he0_ve0_hs10_vs0_2007-03-25_12-56-54 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs0_vs-10_2007-03-25_12-57-16';
+                                      'C1G120_he0_ve0_hs0_vs-5_2007-03-25_12-57-34 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53  ';
+                                      'C1G120_he0_ve0_hs0_vs5_2007-03-25_12-58-13  ';
+                                      'C1G120_he0_ve0_hs0_vs10_2007-03-25_12-58-31 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
+                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53']);
+            end
+        elseif (gap < 0.5*(130 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2007-03-25_13-00-11';
+                                      'C1G130_he-5_ve0_hs0_vs0_2007-03-25_13-00-30 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48  ';
+                                      'C1G130_he5_ve0_hs0_vs0_2007-03-25_13-01-07  ';
+                                      'C1G130_he10_ve0_hs0_vs0_2007-03-25_13-01-25 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2007-03-25_13-01-48';
+                                      'C1G130_he0_ve-5_hs0_vs0_2007-03-25_13-02-06 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25  ';
+                                      'C1G130_he0_ve5_hs0_vs0_2007-03-25_13-02-43  ';
+                                      'C1G130_he0_ve10_hs0_vs0_2007-03-25_13-03-02 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2007-03-25_13-03-21';
+                                      'C1G130_he0_ve0_hs-5_vs0_2007-03-25_13-03-40 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59  ';
+                                      'C1G130_he0_ve0_hs5_vs0_2007-03-25_13-04-16  ';
+                                      'C1G130_he0_ve0_hs10_vs0_2007-03-25_13-04-35 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2007-03-25_13-04-57';
+                                      'C1G130_he0_ve0_hs0_vs-5_2007-03-25_13-05-15 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34  ';
+                                      'C1G130_he0_ve0_hs0_vs5_2007-03-25_13-05-52  ';
+                                      'C1G130_he0_ve0_hs0_vs10_2007-03-25_13-06-11 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
+                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34']);
+            end
+        elseif (gap < 0.5*(150 + 170))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2007-03-25_13-08-03';
+                                      'C1G150_he-5_ve0_hs0_vs0_2007-03-25_13-08-21 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39  ';
+                                      'C1G150_he5_ve0_hs0_vs0_2007-03-25_13-08-58  ';
+                                      'C1G150_he10_ve0_hs0_vs0_2007-03-25_13-09-16 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2007-03-25_13-09-38';
+                                      'C1G150_he0_ve-5_hs0_vs0_2007-03-25_13-09-56 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39  ';
+                                      'C1G150_he0_ve5_hs0_vs0_2007-03-25_13-10-33  ';
+                                      'C1G150_he0_ve10_hs0_vs0_2007-03-25_13-10-52 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2007-03-25_13-11-11';
+                                      'C1G150_he0_ve0_hs-5_vs0_2007-03-25_13-11-30 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48  ';
+                                      'C1G150_he0_ve0_hs5_vs0_2007-03-25_13-12-07  ';
+                                      'C1G150_he0_ve0_hs10_vs0_2007-03-25_13-12-25 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2007-03-25_13-12-47';
+                                      'C1G150_he0_ve0_hs0_vs-5_2007-03-25_13-13-01 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18  ';
+                                      'C1G150_he0_ve0_hs0_vs5_2007-03-25_13-13-37  ';
+                                      'C1G150_he0_ve0_hs0_vs10_2007-03-25_13-13-54 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
+                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18']);
+            end
+        elseif (gap < 0.5*(170 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G170_he-10_ve0_hs0_vs0_2007-03-25_13-16-49';
+                                      'C1G170_he-5_ve0_hs0_vs0_2007-03-25_13-17-08 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26  ';
+                                      'C1G170_he5_ve0_hs0_vs0_2007-03-25_13-17-45  ';
+                                      'C1G170_he10_ve0_hs0_vs0_2007-03-25_13-18-03 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G170_he0_ve-10_hs0_vs0_2007-03-25_13-18-26';
+                                      'C1G170_he0_ve-5_hs0_vs0_2007-03-25_13-18-44 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03  ';
+                                      'C1G170_he0_ve5_hs0_vs0_2007-03-25_13-19-21  ';
+                                      'C1G170_he0_ve10_hs0_vs0_2007-03-25_13-19-40 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs-10_vs0_2007-03-25_13-19-59';
+                                      'C1G170_he0_ve0_hs-5_vs0_2007-03-25_13-20-17 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34  ';
+                                      'C1G170_he0_ve0_hs5_vs0_2007-03-25_13-20-53  ';
+                                      'C1G170_he0_ve0_hs10_vs0_2007-03-25_13-21-12 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs0_vs-10_2007-03-25_13-21-33';
+                                      'C1G170_he0_ve0_hs0_vs-5_2007-03-25_13-21-52 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10  ';
+                                      'C1G170_he0_ve0_hs0_vs5_2007-03-25_13-22-27  ';
+                                      'C1G170_he0_ve0_hs0_vs10_2007-03-25_13-22-46 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
+                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10']);
+            end
+        elseif (gap >= 0.5*(170 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2007-03-25_13-25-05';
+                                      'C1G200_he-5_ve0_hs0_vs0_2007-03-25_13-25-23 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42  ';
+                                      'C1G200_he5_ve0_hs0_vs0_2007-03-25_13-26-00  ';
+                                      'C1G200_he10_ve0_hs0_vs0_2007-03-25_13-26-19 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2007-03-25_13-26-41';
+                                      'C1G200_he0_ve-5_hs0_vs0_2007-03-25_13-27-00 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18  ';
+                                      'C1G200_he0_ve5_hs0_vs0_2007-03-25_13-27-36  ';
+                                      'C1G200_he0_ve10_hs0_vs0_2007-03-25_13-27-54 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2007-03-25_13-28-13';
+                                      'C1G200_he0_ve0_hs-5_vs0_2007-03-25_13-28-32 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51  ';
+                                      'C1G200_he0_ve0_hs5_vs0_2007-03-25_13-29-10  ';
+                                      'C1G200_he0_ve0_hs10_vs0_2007-03-25_13-29-30 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2007-03-25_13-29-52';
+                                      'C1G200_he0_ve0_hs0_vs-5_2007-03-25_13-30-12 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30  ';
+                                      'C1G200_he0_ve0_hs0_vs5_2007-03-25_13-30-49  ';
+                                      'C1G200_he0_ve0_hs0_vs10_2007-03-25_13-31-08 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
+                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30']);
+            end
+        end
+    elseif strcmp(idName, 'HU80_TEMPO')
+        vCurVals = [-10, -5, 0, 5, 10];
+        %if (gap == 15.5)
+        if (gap < 0.5*(15.5 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G15_5_he-10_ve0_hs0_vs0_2006-10-01_13-23-59'; 
+                                      'C2G15_5_he-5_ve0_hs0_vs0_2006-10-01_13-25-02 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he5_ve0_hs0_vs0_2006-10-01_13-27-04  '; 
+                                      'C2G15_5_he10_ve0_hs0_vs0_2006-10-01_13-28-07 ']);                                  
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-22-52  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-22-52  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  ']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve-10_hs0_vs0_2006-10-01_13-30-20'; 
+                                      'C2G15_5_he0_ve-5_hs0_vs0_2006-10-01_13-31-23 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25  '; 
+                                      'C2G15_5_he0_ve5_hs0_vs0_2006-10-01_13-33-29  '; 
+                                      'C2G15_5_he0_ve10_hs0_vs0_2006-10-01_13-34-31 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs-10_vs0_2006-10-01_13-36-42'; 
+                                      'C2G15_5_he0_ve0_hs-5_vs0_2006-10-01_13-37-37 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33  '; 
+                                      'C2G15_5_he0_ve0_hs5_vs0_2006-10-01_13-39-27  '; 
+                                      'C2G15_5_he0_ve0_hs10_vs0_2006-10-01_13-40-23 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs0_vs-10_2006-10-01_13-42-36'; 
+                                      'C2G15_5_he0_ve0_hs0_vs-5_2006-10-01_13-43-30 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs5_2006-10-01_13-45-23  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs10_2006-10-01_13-46-18 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25']);
+            end
+        %elseif (gap == 20)
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G20_he-10_ve0_hs0_vs0_2006-10-01_13-58-32'; 
+                                      'C2G20_he-5_ve0_hs0_vs0_2006-10-01_13-59-36 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40  '; 
+                                      'C2G20_he5_ve0_hs0_vs0_2006-10-01_14-01-42  '; 
+                                      'C2G20_he10_ve0_hs0_vs0_2006-10-01_14-02-45 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G20_he0_ve-10_hs0_vs0_2006-10-01_14-04-58'; 
+                                      'C2G20_he0_ve-5_hs0_vs0_2006-10-01_14-06-01 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02  '; 
+                                      'C2G20_he0_ve5_hs0_vs0_2006-10-01_14-08-06  '; 
+                                      'C2G20_he0_ve10_hs0_vs0_2006-10-01_14-09-11 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G20_he0_ve0_hs-10_vs0_2006-10-01_14-11-25'; 
+                                      'C2G20_he0_ve0_hs-5_vs0_2006-10-01_14-12-18 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12  '; 
+                                      'C2G20_he0_ve0_hs5_vs0_2006-10-01_14-14-10  '; 
+                                      'C2G20_he0_ve0_hs10_vs0_2006-10-01_14-15-03 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G20_he0_ve0_hs0_vs-10_2006-10-01_14-17-13'; 
+                                      'C2G20_he0_ve0_hs0_vs-5_2006-10-01_14-18-06 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00  '; 
+                                      'C2G20_he0_ve0_hs0_vs5_2006-10-01_14-19-55  '; 
+                                      'C2G20_he0_ve0_hs0_vs10_2006-10-01_14-20-50 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00']);
+            end
+        %elseif (gap == 25)
+        elseif (gap < 0.5*(25 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G25_he-10_ve0_hs0_vs0_2006-10-01_14-24-13'; 
+                                      'C2G25_he-5_ve0_hs0_vs0_2006-10-01_14-25-16 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19  '; 
+                                      'C2G25_he5_ve0_hs0_vs0_2006-10-01_14-27-21  '; 
+                                      'C2G25_he10_ve0_hs0_vs0_2006-10-01_14-28-22 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G25_he0_ve-10_hs0_vs0_2006-10-01_14-30-36'; 
+                                      'C2G25_he0_ve-5_hs0_vs0_2006-10-01_14-31-39 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42  '; 
+                                      'C2G25_he0_ve5_hs0_vs0_2006-10-01_14-33-45  '; 
+                                      'C2G25_he0_ve10_hs0_vs0_2006-10-01_14-34-47 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G25_he0_ve0_hs-10_vs0_2006-10-01_14-36-56'; 
+                                      'C2G25_he0_ve0_hs-5_vs0_2006-10-01_14-37-52 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46  '; 
+                                      'C2G25_he0_ve0_hs5_vs0_2006-10-01_14-39-43  '; 
+                                      'C2G25_he0_ve0_hs10_vs0_2006-10-01_14-40-39 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G25_he0_ve0_hs0_vs-10_2006-10-01_14-42-52'; 
+                                      'C2G25_he0_ve0_hs0_vs-5_2006-10-01_14-43-47 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41  '; 
+                                      'C2G25_he0_ve0_hs0_vs5_2006-10-01_14-45-33  '; 
+                                      'C2G25_he0_ve0_hs0_vs10_2006-10-01_14-46-27 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41']);
+            end
+        %elseif (gap == 30)
+        elseif (gap < 0.5*(30 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G30_he-10_ve0_hs0_vs0_2006-10-01_14-49-26'; 
+                                      'C2G30_he-5_ve0_hs0_vs0_2006-10-01_14-50-29 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32  '; 
+                                      'C2G30_he5_ve0_hs0_vs0_2006-10-01_14-52-36  '; 
+                                      'C2G30_he10_ve0_hs0_vs0_2006-10-01_14-53-40 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G30_he0_ve-10_hs0_vs0_2006-10-01_14-55-58'; 
+                                      'C2G30_he0_ve-5_hs0_vs0_2006-10-01_14-57-02 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04  '; 
+                                      'C2G30_he0_ve5_hs0_vs0_2006-10-01_14-59-08  '; 
+                                      'C2G30_he0_ve10_hs0_vs0_2006-10-01_15-00-11 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-01-17']); %'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G30_he0_ve0_hs-10_vs0_2006-10-01_15-02-20'; 
+                                      'C2G30_he0_ve0_hs-5_vs0_2006-10-01_15-03-13 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09  '; 
+                                      'C2G30_he0_ve0_hs5_vs0_2006-10-01_15-05-07  '; 
+                                      'C2G30_he0_ve0_hs10_vs0_2006-10-01_15-06-02 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G30_he0_ve0_hs0_vs-10_2006-10-01_15-08-12'; 
+                                      'C2G30_he0_ve0_hs0_vs-5_2006-10-01_15-09-08 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02  '; 
+                                      'C2G30_he0_ve0_hs0_vs5_2006-10-01_15-10-55  '; 
+                                      'C2G30_he0_ve0_hs0_vs10_2006-10-01_15-11-48 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02']);
+            end
+        %elseif (gap == 40)
+        elseif (gap < 0.5*(40 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G40_he-10_ve0_hs0_vs0_2006-10-06_07-54-22'; 
+                                      'C3G40_he-5_ve0_hs0_vs0_2006-10-06_07-55-51 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24  ';
+                                      'C3G40_he5_ve0_hs0_vs0_2006-10-06_07-58-26  ';
+                                      'C3G40_he10_ve0_hs0_vs0_2006-10-06_07-59-30 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_07-52-40'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-52-40'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24']);
+            elseif strcmp(corName, 'CVE')
+                                fnMeasMain = cellstr(['C3G40_he0_ve-10_hs0_vs0_2006-10-06_08-01-47';
+                                      'C3G40_he0_ve-5_hs0_vs0_2006-10-06_08-02-49 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54  ';
+                                      'C3G40_he0_ve5_hs0_vs0_2006-10-06_08-04-57  ';
+                                      'C3G40_he0_ve10_hs0_vs0_2006-10-06_08-05-58 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-00-37'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-00-37'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G40_he0_ve0_hs-10_vs0_2006-10-06_08-08-07';
+                                      'C3G40_he0_ve0_hs-5_vs0_2006-10-06_08-09-02 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58  ';
+                                      'C3G40_he0_ve0_hs5_vs0_2006-10-06_08-10-57  ';
+                                      'C3G40_he0_ve0_hs10_vs0_2006-10-06_08-11-51 ']);
+                 fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-07-03'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-07-03'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G40_he0_ve0_hs0_vs-10_2006-10-06_08-14-08';
+                                      'C3G40_he0_ve0_hs0_vs-5_2006-10-06_08-15-02 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00  ';
+                                      'C3G40_he0_ve0_hs0_vs5_2006-10-06_08-16-58  ';
+                                      'C3G40_he0_ve0_hs0_vs10_2006-10-06_08-17-52 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-12-59'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-12-59'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00']);
+            end
+        %elseif (gap == 50)
+        elseif (gap < 0.5*(50 + 60))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G50_he-10_ve0_hs0_vs0_2006-10-06_08-24-59';
+                                      'C3G50_he-5_ve0_hs0_vs0_2006-10-06_08-25-29 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58  ';
+                                      'C3G50_he5_ve0_hs0_vs0_2006-10-06_08-26-28  ';
+                                      'C3G50_he10_ve0_hs0_vs0_2006-10-06_08-26-59 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-24-24'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-24-24'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G50_he0_ve-10_hs0_vs0_2006-10-06_08-28-09';
+                                      'C3G50_he0_ve-5_hs0_vs0_2006-10-06_08-28-39 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08  ';
+                                      'C3G50_he0_ve5_hs0_vs0_2006-10-06_08-29-38  ';
+                                      'C3G50_he0_ve10_hs0_vs0_2006-10-06_08-30-09 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-27-33'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-27-33'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G50_he0_ve0_hs-10_vs0_2006-10-06_08-31-16';
+                                      'C3G50_he0_ve0_hs-5_vs0_2006-10-06_08-31-37 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59  ';
+                                      'C3G50_he0_ve0_hs5_vs0_2006-10-06_08-32-24  ';
+                                      'C3G50_he0_ve0_hs10_vs0_2006-10-06_08-32-45 ']);
+                 fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-30-45'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-30-45'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G50_he0_ve0_hs0_vs-10_2006-10-06_08-33-53';
+                                      'C3G50_he0_ve0_hs0_vs-5_2006-10-06_08-34-14 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35  ';
+                                      'C3G50_he0_ve0_hs0_vs5_2006-10-06_08-35-00  ';
+                                      'C3G50_he0_ve0_hs0_vs10_2006-10-06_08-35-22 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-33-19'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-33-19'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35']);
+            end
+        %elseif (gap == 60)
+        elseif (gap < 0.5*(60 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G60_he-10_ve0_hs0_vs0_2006-10-06_08-38-12';
+                                      'C3G60_he-5_ve0_hs0_vs0_2006-10-06_08-38-42 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12  ';
+                                      'C3G60_he5_ve0_hs0_vs0_2006-10-06_08-39-43  ';
+                                      'C3G60_he10_ve0_hs0_vs0_2006-10-06_08-40-13 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-37-38'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-37-38'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G60_he0_ve-10_hs0_vs0_2006-10-06_08-41-23';
+                                      'C3G60_he0_ve-5_hs0_vs0_2006-10-06_08-41-53 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21  ';
+                                      'C3G60_he0_ve5_hs0_vs0_2006-10-06_08-42-51  ';
+                                      'C3G60_he0_ve10_hs0_vs0_2006-10-06_08-43-21 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-40-48'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-40-48'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G60_he0_ve0_hs-10_vs0_2006-10-06_08-44-26';
+                                      'C3G60_he0_ve0_hs-5_vs0_2006-10-06_08-44-47 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08  ';
+                                      'C3G60_he0_ve0_hs5_vs0_2006-10-06_08-45-36  ';
+                                      'C3G60_he0_ve0_hs10_vs0_2006-10-06_08-45-57 ']);
+                 fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-43-57'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-43-57'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G60_he0_ve0_hs0_vs-10_2006-10-06_08-47-00';
+                                      'C3G60_he0_ve0_hs0_vs-5_2006-10-06_08-47-22 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42  ';
+                                      'C3G60_he0_ve0_hs0_vs5_2006-10-06_08-48-08  ';
+                                      'C3G60_he0_ve0_hs0_vs10_2006-10-06_08-48-30 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-46-26'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-46-26'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42']);
+            end
+        %elseif (gap == 80)
+        elseif (gap < 0.5*(80 + 110))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G80_he-10_ve0_hs0_vs0_2006-10-06_09-07-47';
+                                      'C3G80_he-5_ve0_hs0_vs0_2006-10-06_09-08-17 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47  ';
+                                      'C3G80_he5_ve0_hs0_vs0_2006-10-06_09-09-17  ';
+                                      'C3G80_he10_ve0_hs0_vs0_2006-10-06_09-09-47 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-07-09'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-07-09'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G80_he0_ve-10_hs0_vs0_2006-10-06_09-10-55';
+                                      'C3G80_he0_ve-5_hs0_vs0_2006-10-06_09-11-25 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56  ';
+                                      'C3G80_he0_ve5_hs0_vs0_2006-10-06_09-12-26  ';
+                                      'C3G80_he0_ve10_hs0_vs0_2006-10-06_09-12-56 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-10-22'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-10-22'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G80_he0_ve0_hs-10_vs0_2006-10-06_09-14-03';
+                                      'C3G80_he0_ve0_hs-5_vs0_2006-10-06_09-14-24 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45  ';
+                                      'C3G80_he0_ve0_hs5_vs0_2006-10-06_09-15-09  ';
+                                      'C3G80_he0_ve0_hs10_vs0_2006-10-06_09-15-32 ']);
+                 fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-13-32'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-13-32'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G80_he0_ve0_hs0_vs-10_2006-10-06_09-16-42';
+                                      'C3G80_he0_ve0_hs0_vs-5_2006-10-06_09-17-04 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24  ';
+                                      'C3G80_he0_ve0_hs0_vs5_2006-10-06_09-17-48  ';
+                                      'C3G80_he0_ve0_hs0_vs10_2006-10-06_09-18-10 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-16-08'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-16-08'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24']);
+            end
+        %elseif (gap == 110)
+        elseif (gap >= 0.5*(80 + 110))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G110_he-10_ve0_hs0_vs0_2006-10-06_09-42-19';
+                                      'C3G110_he-5_ve0_hs0_vs0_2006-10-06_09-42-50 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18  ';
+                                      'C3G110_he5_ve0_hs0_vs0_2006-10-06_09-43-46  ';
+                                      'C3G110_he10_ve0_hs0_vs0_2006-10-06_09-44-16 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-41-45'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-41-45'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G110_he0_ve-10_hs0_vs0_2006-10-06_09-45-26';
+                                      'C3G110_he0_ve-5_hs0_vs0_2006-10-06_09-45-57 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26  ';
+                                      'C3G110_he0_ve5_hs0_vs0_2006-10-06_09-46-57  ';
+                                      'C3G110_he0_ve10_hs0_vs0_2006-10-06_09-47-26 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-44-52'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-44-52'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G110_he0_ve0_hs-10_vs0_2006-10-06_09-48-34';
+                                      'C3G110_he0_ve0_hs-5_vs0_2006-10-06_09-48-55 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17  ';
+                                      'C3G110_he0_ve0_hs5_vs0_2006-10-06_09-49-42  ';
+                                      'C3G110_he0_ve0_hs10_vs0_2006-10-06_09-50-04 ']);
+                 fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-48-02'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-48-02'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G110_he0_ve0_hs0_vs-10_2006-10-06_09-51-12';
+                                      'C3G110_he0_ve0_hs0_vs-5_2006-10-06_09-51-33 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55  ';
+                                      'C3G110_he0_ve0_hs0_vs5_2006-10-06_09-52-19  ';
+                                      'C3G110_he0_ve0_hs0_vs10_2006-10-06_09-52-41 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-50-37'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-50-37'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55']);
+            end
+        end
+    end
+    
+elseif strncmp(idName, 'HU256', 5)
+    if strcmp(idName, 'HU256_CASSIOPEE')
+        %vCurVals = [-10, -5, 0, 5, 10];
+        
+        if strcmp(corName, 'CHE')
+            vCurVals = [-2 -1, 0, 1, 2];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bzc1_m2A_2006-10-13_14-33-23            '; 
+                                  'HU256_CASSIOPEE_Bzc1_m1A_2006-10-13_14-32-47            '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bzc1_1A_2006-10-13_14-32-06             '; 
+                                  'HU256_CASSIOPEE_Bzc1_2A_2006-10-13_14-31-44             ']);                                  
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CVE')
+            vCurVals = [-6, -3, 0, 3, 6];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bxc1_m6A_2006-10-13_14-38-58            '; 
+                                  'HU256_CASSIOPEE_Bxc1_m3A_2006-10-13_14-38-37            '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bxc1_3A_2006-10-13_14-37-06             '; 
+                                  'HU256_CASSIOPEE_Bxc1_6A_2006-10-13_14-37-49             ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CHS')
+            vCurVals = [-2, -1, 0, 1, 2];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bzc27_m2A_2006-10-13_14-36-00           '; 
+                                  'HU256_CASSIOPEE_Bzc27_m1A_2006-10-13_14-35-00           '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bzc27_1A_2006-10-13_14-34-11            '; 
+                                  'HU256_CASSIOPEE_Bzc27_2A_2006-10-13_14-34-33            ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CVS')
+            vCurVals = [-6, -3, 0, 3, 6];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bxc28_m6A_2006-10-13_14-40-51           '; 
+                                  'HU256_CASSIOPEE_Bxc28_m3A_2006-10-13_14-40-30           '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bxc28_3A_2006-10-13_14-39-46            '; 
+                                  'HU256_CASSIOPEE_Bxc28_6A_2006-10-13_14-40-07            ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        end
+    elseif (strcmp(idName, 'HU256_PLEIADES'))
+
+		if strcmp(corName, 'CHE')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CHE_m2_2007-04-27_11-35-38   ';
+									'HU256_PLEIADES_CHE_m1_2007-04-27_11-35-54   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_CHE_1_2007-04-27_11-36-10    ';
+									'HU256_PLEIADES_CHE_2_2007-04-27_11-36-26    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23']);
+		elseif strcmp(corName, 'CHS')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CHS_m2_2007-04-27_11-36-58   ';
+									'HU256_PLEIADES_CHS_m1_2007-04-27_11-37-14   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_CHS_1_2007-04-27_11-37-30    ';
+									'HU256_PLEIADES_CHS_2_2007-04-27_11-37-46    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42']);
+		elseif strcmp(corName, 'CVE')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CVE_m6_2007-04-27_11-38-18   ';
+									'HU256_PLEIADES_CVE_m3_2007-04-27_11-38-34   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_CVE_3_2007-04-27_11-38-50    ';
+									'HU256_PLEIADES_CVE_6_2007-04-27_11-39-06    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02']);
+		elseif strcmp(corName, 'CVS')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CVS_m6_2007-04-27_11-39-37   ';
+									'HU256_PLEIADES_CVS_m3_2007-04-27_11-39-53   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_CVS_3_2007-04-27_11-40-08    ';
+									'HU256_PLEIADES_CVS_6_2007-04-27_11-40-24    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21']);
+		end
+	%end	% end of HU256_PLEIADES
+
+
+        
+    elseif (strcmp(idName, 'HU256_ANTARES'))
+    end % end HU256
+
+elseif strncmp(idName, 'HU640', 5)
+    if strcmp(idName, 'HU640_DESIRS')
+        vCurVals = [-4,-2, 0, 2, 4];
+        if strcmp(corName, 'CVE')
+
+            fnMeasMain = cellstr(['HU640_Corr4_m4A';
+                                  'HU640_Corr4_m2A'; 
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_p2A'
+                                  'HU640_Corr4_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A']);
+        elseif strcmp(corName, 'CHE')
+
+            fnMeasMain = cellstr(['HU640_Corr2_m4A';
+                                  'HU640_Corr2_m2A'; 
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_p2A'
+                                  'HU640_Corr2_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A']);
+        elseif strcmp(corName, 'CVS')
+
+            fnMeasMain = cellstr(['HU640_Corr3_m4A';
+                                  'HU640_Corr3_m2A'; 
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_p2A'
+                                  'HU640_Corr3_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A']);
+        elseif strcmp(corName, 'CHS')
+
+            fnMeasMain = cellstr(['HU640_Corr1_m4A';
+                                  'HU640_Corr1_m2A'; 
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_p2A'
+                                  'HU640_Corr1_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A']);
+        end
+    end % HU640_DESIRS
+
+end 
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadElecBeamModel.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadElecBeamModel.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadElecBeamModel.m	(revision 17)
@@ -0,0 +1,40 @@
+function outModelData = idReadElecBeamModel(dir)
+
+if(strcmp(dir, '') == 0) %read the data from disk
+    dirStart = pwd;
+	cd(dir);
+
+    load('BtX');
+    load('BtZ');
+    load('AlpX');
+    load('AlpZ');
+    load('EtaX');
+    load('EtaZ');
+    load('PhX');
+    load('PhZ');
+    load('NuXZ');
+
+    cd(dirStart);
+else
+%recalculate (?) or extract data from Laurent's functions
+%assuming you're in Control Room and soleilinit was executed
+    [Btx, Btz] = modelbeta('BPMx');
+    [Alpx, Alpz] = modeltwiss('alpha', 'BPMx');
+    [Etax, Etaz] = modeldisp('BPMx');
+    [Phx, Phz] = modelphase('BPMx');
+    Nuxz = modeltune;
+end
+
+outModelData.Btx = Btx;
+outModelData.Btz = Btz;
+outModelData.Alpx = Alpx;
+outModelData.Alpz = Alpz;
+outModelData.Etax = Etax;
+outModelData.Etaz = Etaz;
+outModelData.Phx = Phx;
+outModelData.Phz = Phz;
+outModelData.Nuxz = Nuxz;
+
+outModelData.circ = 354;  %how to read this from the model?
+outModelData.alp1 = 0.0004;
+outModelData.E = 2.75; 
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadFeedForwardCorTable.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadFeedForwardCorTable.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadFeedForwardCorTable.m	(revision 17)
@@ -0,0 +1,7 @@
+function [oldTableWithArg] = idReadFeedForwardCorTable(idName, tabName)
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+%Reading existing cor. table
+rep = tango_read_attribute2(DServName, tabName);
+oldTableWithArg = rep.value;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadMeasElecBeamBPM.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadMeasElecBeamBPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadMeasElecBeamBPM.m	(revision 17)
@@ -0,0 +1,88 @@
+function [MeasMainPos, MeasBkgrPos] = idReadMeasElecBeamBPM(folder, mode, indMeasGap, x_or_z)
+
+MeasMain_LH = cellstr(['G15_5_P0_C0_a_2006-09-14_14-47-08'; 
+                       'G18_P0_2006-09-14_12-02-30       '; 
+                       'G20_P0_a_2006-09-14_11-56-30     '; 
+                       'G25_P0_2006-09-14_11-32-27       '; 
+                       'G30_P0_2006-09-14_11-25-30       '; 
+                       'G50_P0_2006-09-14_11-21-40       '; 
+                       'G80_P0_2006-09-14_11-07-01       '; 
+                       'G110_P0_2006-09-14_10-57-10      ']);
+MeasBkgr_LH = cellstr(['G250_P0_C0_a_2006-09-14_14-51-53'; 
+                       'G250_P0_2006-09-14_10-55-27     '; 
+                       'G250_P0_2006-09-14_10-55-27     '; 
+                       'G250_P0_2006-09-14_10-55-27     '; 
+                       'G250_P0_2006-09-14_10-55-27     '; 
+                       'G250_P0_2006-09-14_10-55-27     '; 
+                       'G250_P0_2006-09-14_10-55-27     '; 
+                       'G250_P0_2006-09-14_10-55-27     ']);
+%MeasGaps_LH = [15.5, 18, 20, 25, 30, 50, 80, 110];
+%MeasPhases_LH = [0, 0, 0, 0, 0, 0, 0, 0];
+
+MeasMain_LV = cellstr(['G15_5_P40_C0_a_2006-09-14_17-36-44'; 
+                       'G18_P40_C0_a_2006-09-14_17-25-22  '; 
+                       'G20_P40_C0_b_2006-09-14_17-16-12  '; 
+                       'G25_P40_C0_a_2006-09-14_17-07-23  '; 
+                       'G30_P40_C0_a_2006-09-14_16-56-37  '; 
+                       'G50_P40_C0_a_2006-09-14_16-53-50  '; 
+                       'G80_P40_C0_a_2006-09-14_16-47-10  '; 
+                       'G250_P44_C0_a_2006-09-14_16-39-59 ']);
+MeasBkgr_LV = cellstr(['G250_P40_C0_a_2006-09-14_17-29-23'; 
+                       'G250_P40_C0_a_2006-09-14_17-29-23'; 
+                       'G250_P40_C0_c_2006-09-14_17-21-35'; 
+                       'G250_P40_C0_b_2006-09-14_17-11-00'; 
+                       'G250_P40_C0_b_2006-09-14_17-11-00'; 
+                       'G250_P40_C0_b_2006-09-14_17-11-00'; 
+                       'G250_P44_C0_a_2006-09-14_16-30-28'; 
+                       'G250_P44_C0_a_2006-09-14_16-30-28']);
+%MeasGaps_LV = [15.5, 18, 20, 25, 30, 50, 80, 110];
+%MeasPhases_LV = [40, 40, 40, 40, 40, 40, 40, 40];
+
+MeasMain_HE = cellstr(['G15_5_P20_C0_a_2006-09-14_19-19-41'; 
+                       'G18_P20_C0_a_2006-09-14_20-51-24  '; 
+                       'G20_P30_C0_a_2006-09-14_20-47-06  '; 
+                       'G25_P30_C0_a_2006-09-14_20-32-56  '; 
+                       'G30_P30_C0_a_2006-09-14_20-23-33  '; 
+                       'G50_P30_C0_a_2006-09-14_20-02-20  '; 
+                       'G80_P30_C0_a_2006-09-14_20-05-51  '; 
+                       'G110_P30_C0_a_2006-09-14_20-19-06 ']);
+MeasBkgr_HE = cellstr(['G250_P0_C0_a_2006-09-14_19-29-51'; 
+                       'G250_P0_C0_a_2006-09-14_20-56-58'; 
+                       'G250_P0_C0_a_2006-09-14_20-56-58'; 
+                       'G250_P0_C0_a_2006-09-14_20-37-40'; 
+                       'G250_P0_C0_a_2006-09-14_20-27-56'; 
+                       'G250_P0_C0_a_2006-09-14_20-14-55'; 
+                       'G250_P0_C0_a_2006-09-14_20-14-55'; 
+                       'G250_P0_C0_a_2006-09-14_20-14-55']);
+%MeasGaps_HE = [15.5, 18, 20, 25, 30, 50, 80, 110];
+%MeasPhases_HE = [20, 20, 30, 30, 30, 30, 30, 30];
+
+MeasMainNameAr = MeasMain_LH;
+MeasBkgrNameAr = MeasBkgr_LH;
+if strcmp(mode, 'LV') ~= 0
+    MeasMainNameAr = MeasMain_LV;
+    MeasBkgrNameAr = MeasBkgr_LV;
+end
+if strcmp(mode, 'HE') ~= 0
+    MeasMainNameAr = MeasMain_HE;
+    MeasBkgrNameAr = MeasBkgr_HE;
+end
+
+dirStart = pwd;
+if strcmp(folder, '') == 0
+    cd(folder);
+end
+
+%MeasFileName = char(MeasMainNameAr(indMeasGap));
+ElecBeamDataMain = load(char(MeasMainNameAr(indMeasGap)));
+ElecBeamDataBkgr = load(char(MeasBkgrNameAr(indMeasGap)));
+cd(dirStart);
+
+if strcmp(x_or_z, 'x') ~= 0
+	MeasMainPos = ElecBeamDataMain.X;
+    MeasBkgrPos = ElecBeamDataBkgr.X;
+end
+if strcmp(x_or_z, 'z') ~= 0
+	MeasMainPos = ElecBeamDataMain.Z;
+    MeasBkgrPos = ElecBeamDataBkgr.Z;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadMeasElecBeamData.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadMeasElecBeamData.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadMeasElecBeamData.m	(revision 17)
@@ -0,0 +1,91 @@
+function [MeasMain, MeasBkgr] = idReadMeasElecBeamData(folder, mode, indMeasGap)
+
+MeasMain_LH = cellstr(['G15_5_P0_C0_a_2006-09-14_14-47-08'; 
+                       'G18_P0_2006-09-14_12-02-30       '; 
+                       'G20_P0_a_2006-09-14_11-56-30     '; 
+                       'G25_P0_2006-09-14_11-32-27s      '; 
+                       'G30_P0_2006-09-14_11-25-30s      '; 
+                       'G50_P0_2006-09-14_11-21-40s      '; 
+                       'G80_P0_2006-09-14_11-07-01s      '; 
+                       'G110_P0_2006-09-14_10-57-10s     ']);
+MeasBkgr_LH = cellstr(['G250_P0_C0_a_2006-09-14_14-51-53'; 
+                       'G250_P0_2006-09-14_10-55-27s    '; 
+                       'G250_P0_2006-09-14_10-55-27s    '; 
+                       'G250_P0_2006-09-14_10-55-27s    '; 
+                       'G250_P0_2006-09-14_10-55-27s    '; 
+                       'G250_P0_2006-09-14_10-55-27s    '; 
+                       'G250_P0_2006-09-14_10-55-27s    '; 
+                       'G250_P0_2006-09-14_10-55-27s    ']);
+%MeasGaps_LH = [15.5, 18, 20, 25, 30, 50, 80, 110];
+%MeasPhases_LH = [0, 0, 0, 0, 0, 0, 0, 0];
+
+MeasMain_LV = cellstr(['G15_5_P40_C0_a_2006-09-14_17-36-44'; 
+                       'G18_P40_C0_a_2006-09-14_17-25-22  '; 
+                       'G20_P40_C0_b_2006-09-14_17-16-12  '; 
+                       'G25_P40_C0_a_2006-09-14_17-07-23  '; 
+                       'G30_P40_C0_a_2006-09-14_16-56-37  '; 
+                       'G50_P40_C0_a_2006-09-14_16-53-50  '; 
+                       'G80_P40_C0_a_2006-09-14_16-47-10  '; 
+                       'G250_P44_C0_a_2006-09-14_16-39-59 ']);
+MeasBkgr_LV = cellstr(['G250_P40_C0_a_2006-09-14_17-29-23'; 
+                       'G250_P40_C0_a_2006-09-14_17-29-23'; 
+                       'G250_P40_C0_c_2006-09-14_17-21-35'; 
+                       'G250_P40_C0_b_2006-09-14_17-11-00'; 
+                       'G250_P40_C0_b_2006-09-14_17-11-00'; 
+                       'G250_P40_C0_b_2006-09-14_17-11-00'; 
+                       'G250_P44_C0_a_2006-09-14_16-30-28'; 
+                       'G250_P44_C0_a_2006-09-14_16-30-28']);
+%MeasGaps_LV = [15.5, 18, 20, 25, 30, 50, 80, 110];
+%MeasPhases_LV = [40, 40, 40, 40, 40, 40, 40, 40];
+
+MeasMain_HE = cellstr(['G15_5_P20_C0_a_2006-09-14_19-19-41'; 
+                       'G18_P20_C0_a_2006-09-14_20-51-24  '; 
+                       'G20_P30_C0_a_2006-09-14_20-47-06  '; 
+                       'G25_P30_C0_a_2006-09-14_20-32-56  '; 
+                       'G30_P30_C0_a_2006-09-14_20-23-33  '; 
+                       'G50_P30_C0_a_2006-09-14_20-02-20  '; 
+                       'G80_P30_C0_a_2006-09-14_20-05-51  '; 
+                       'G110_P30_C0_a_2006-09-14_20-19-06 ']);
+MeasBkgr_HE = cellstr(['G250_P0_C0_a_2006-09-14_19-29-51'; 
+                       'G250_P0_C0_a_2006-09-14_20-56-58'; 
+                       'G250_P0_C0_a_2006-09-14_20-56-58'; 
+                       'G250_P0_C0_a_2006-09-14_20-37-40'; 
+                       'G250_P0_C0_a_2006-09-14_20-27-56'; 
+                       'G250_P0_C0_a_2006-09-14_20-14-55'; 
+                       'G250_P0_C0_a_2006-09-14_20-14-55'; 
+                       'G250_P0_C0_a_2006-09-14_20-14-55']);
+%MeasGaps_HE = [15.5, 18, 20, 25, 30, 50, 80, 110];
+%MeasPhases_HE = [20, 20, 30, 30, 30, 30, 30, 30];
+
+MeasMainNameAr = MeasMain_LH;
+MeasBkgrNameAr = MeasBkgr_LH;
+if strcmp(mode, 'LV') ~= 0
+    MeasMainNameAr = MeasMain_LV;
+    MeasBkgrNameAr = MeasBkgr_LV;
+end
+if strcmp(mode, 'HE') ~= 0
+    MeasMainNameAr = MeasMain_HE;
+    MeasBkgrNameAr = MeasBkgr_HE;
+end
+
+dirStart = pwd;
+if strcmp(folder, '') == 0
+    cd(folder);
+end
+
+%MeasFileName = char(MeasMainNameAr(indMeasGap));
+%ElecBeamDataMain = load(char(MeasMainNameAr(indMeasGap)));
+%ElecBeamDataBkgr = load(char(MeasBkgrNameAr(indMeasGap)));
+
+MeasMain = load(char(MeasMainNameAr(indMeasGap)));
+MeasBkgr = load(char(MeasBkgrNameAr(indMeasGap)));
+cd(dirStart);
+
+%if strcmp(x_or_z, 'x') ~= 0
+%	MeasMainPos = ElecBeamDataMain.X;
+%    MeasBkgrPos = ElecBeamDataBkgr.X;
+%end
+%if strcmp(x_or_z, 'z') ~= 0
+%	MeasMainPos = ElecBeamDataMain.Z;
+%    MeasBkgrPos = ElecBeamDataBkgr.Z;
+%end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadUndState.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadUndState.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idReadUndState.m	(revision 17)
@@ -0,0 +1,128 @@
+function outStruct = idReadUndState(inStruct, idType, dispData)
+
+% Reading-in insertion device state, according to its type
+% idType is expected to be: 'HU80_TEMPO', 'U20_PROXIMA1', 'HU640_DESIRS', ...
+
+idDevServMain01 = '';
+idDevServMain02 = '';
+idDevServMain03 = '';
+idDevServCor01 = '';
+idDevServCor02 = '';
+idDevServCor03 = '';
+idDevServCor04 = '';
+idDevServVac01 = '';
+
+if strncmp(idType, 'U20', 3)
+    if strcmp(idType, 'U20_PROXIMA1')
+        idDevServMain01 = 'ans-c10/ei/c-u20_motorscontrol'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';
+    elseif strcmp(idType, 'U20_SWING')
+        idDevServMain01 = 'ans-c11/ei/c-u20_motorscontrol'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';
+    elseif strcmp(idType, 'U20_CRISTAL')
+        idDevServMain01 = 'ans-c06/ei/c-u20_motorscontrol'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';    
+    end
+    % Gap encoders
+	inStruct.encoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+	inStruct.encoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    % Currents in the correction channels
+    %inStruct.curCorCh1 = readattribute([idDevServCor, '/...']);
+    %inStruct.curCorCh2 = readattribute([idDevServCor, '/...']);
+
+elseif strncmp(idType, 'HU80', 4)
+    if strcmp(idType, 'HU80_TEMPO')
+        idDevServMain01 = 'ans-c08/ei/m-hu80.2_motorscontrol';
+        idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        idDevServVac01 = 'tdl-i08-m/vi/jba.1';
+    elseif strcmp(idType, 'HU80_PLEIADES')
+        idDevServMain01 = 'ans-c04/ei/m-hu80.1_motorscontrol';
+        idDevServCor01 = 'ans-c04/ei/m-hu80.1_chan1';
+        idDevServCor02 = 'ans-c04/ei/m-hu80.1_chan2';
+        idDevServCor03 = 'ans-c04/ei/m-hu80.1_chan3';
+        idDevServCor04 = 'ans-c04/ei/m-hu80.1_chan4';
+        idDevServVac01 = 'ans-c04/vi/pi.02'; %to change to tdl when it' installed !!!
+    elseif strcmp(idType, 'HU80_CASSIOPEE')
+        idDevServMain01 = 'ans-c15/ei/m-hu80.1_motorscontrol';
+        idDevServCor01 = 'ans-c15/ei/m-hu80.1_chan1';
+        idDevServCor02 = 'ans-c15/ei/m-hu80.1_chan2';
+        idDevServCor03 = 'ans-c15/ei/m-hu80.1_chan3';
+        idDevServCor04 = 'ans-c15/ei/m-hu80.1_chan4';
+        idDevServVac01 = 'tdl-i15-m/vi/pi.1';
+    end
+    
+    % Gap encoders
+    inStruct.idEncoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+    %inStruct.idEncoder1 = tango_read_attribute2(idDevServMain01, 'encoder1Position');
+    inStruct.idEncoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    %inStruct.idEncoder2 = tango_read_attribute2(idDevServMain01, 'encoder2Position');
+    inStruct.idEncoder3 = readattribute([idDevServMain01, '/encoder3Position']);
+    %inStruct.idEncoder3 = tango_read_attribute2(idDevServMain01, 'encoder3Position');
+	inStruct.idEncoder4 = readattribute([idDevServMain01, '/encoder4Position']);
+    %inStruct.idEncoder4 = tango_read_attribute2(idDevServMain01, 'encoder4Position');
+    
+    % Phase encoders
+    inStruct.idEncoder5 = readattribute([idDevServMain01, '/encoder5Position']);
+    %inStruct.idEncoder5 = tango_read_attribute2(idDevServMain01, 'encoder5Position');
+    inStruct.idEncoder6 = readattribute([idDevServMain01, '/encoder6Position']);
+    %inStruct.idEncoder6 = tango_read_attribute2(idDevServMain01, 'encoder6Position');
+    
+    % Currents in the correction channels
+	inStruct.idCurCorCh1 = readattribute([idDevServCor01, '/current']);
+	inStruct.idCurCorCh2 = readattribute([idDevServCor02, '/current']);
+	inStruct.idCurCorCh3 = readattribute([idDevServCor03, '/current']);
+	inStruct.idCurCorCh4 = readattribute([idDevServCor04, '/current']);
+    
+    % Pressure in the ring in the proximity of the SR spot made by the undulator
+    inStruct.ringPres = readattribute([idDevServVac01, '/pressure']);
+    
+    if dispData ~= 0
+        fprintf('pressure = %d\n', inStruct.ringPres);
+        fprintf('idEncoder1 = %f\n', inStruct.idEncoder1);
+        fprintf('idEncoder2 = %f\n', inStruct.idEncoder2);
+        fprintf('idEncoder3 = %f\n', inStruct.idEncoder3);
+        fprintf('idEncoder4 = %f\n', inStruct.idEncoder4);
+        fprintf('idEncoder5 = %f\n', inStruct.idEncoder5);
+        fprintf('idEncoder6 = %f\n', inStruct.idEncoder6);
+        fprintf('idCurCorCh1 = %f\n', inStruct.idCurCorCh1);       
+        fprintf('idCurCorCh2 = %f\n', inStruct.idCurCorCh2);       
+        fprintf('idCurCorCh3 = %f\n', inStruct.idCurCorCh3);       
+        fprintf('idCurCorCh4 = %f\n', inStruct.idCurCorCh4);       
+    end
+elseif strncmp(idType, 'HU256', 5)
+
+elseif strcmp(idType, 'HU640_DESIRS')
+	idDevServMain01 = 'ans-c05/ei/l-hu640_ps1';
+	idDevServMain02 = 'ans-c05/ei/l-hu640_ps2';
+	idDevServMain03 = 'ans-c05/ei/l-hu640_ps3';
+
+    % Currents in the main coils
+	inStruct.idCurMain1 = readattribute([idDevServMain01, '/current']);
+	inStruct.idCurMain2 = readattribute([idDevServMain02, '/current']);
+    inStruct.idCurMain3 = readattribute([idDevServMain03, '/current']);
+
+    if dispData ~= 0
+        % Display on screen
+        fprintf('RMS ecart orbite X = \n')
+        fprintf('RMS ecart orbite Z = \n' )
+        fprintf('PS1 = %f\n', inStruct.idCurMain1)
+        fprintf('PS2 = %f\n', inStruct.idCurMain2)
+        fprintf('PS3 = %f\n', inStruct.idCurMain3)
+    end
+end
+outStruct = inStruct;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSaveStruct.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSaveStruct.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSaveStruct.m	(revision 17)
@@ -0,0 +1,34 @@
+function res = idSaveStruct(structToSave, fileNameCore, idName, dispData)
+% Before saving, this calls functions written by L.N. and performing the
+% file name decorations 
+
+res = '';
+% If the filename contains a directory then make sure it exists
+
+% Save the structure into a file, if necessary
+if strcmp(fileNameCore, '') ~= 0
+    % Claim error
+    printf('File name is not specified');
+end
+
+FileName = appendtimestamp(fileNameCore);
+%DirectoryName = getfamilydata('Directory','HU80_TEMPO');
+DirectoryName = getfamilydata('Directory',idName);
+DirStart = pwd;
+[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+
+if ErrorFlag == 0
+    save(FileName,'-struct', 'structToSave');
+    res = FileName;
+else
+    % Claim error
+    errStr = strcat('Can not locate the directory ', DirectoryName);
+    printf(errStr);
+end
+cd(DirStart);
+
+if dispData ~= 0
+	fprintf('Sauvegarde:  %s\n', FileName);
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCorCurSync.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCorCurSync.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCorCurSync.m	(revision 17)
@@ -0,0 +1,106 @@
+function res = idSetCorCurSync(idName, curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS, curAbsTol)
+
+res = 0;
+DServName = '';
+attr_name_list = {'', '', '', ''};
+
+numLoopsWaitRes = 20;
+sleepTime = 1; %[s]
+
+%idDevServCor01 = '';
+%idDevServCor02 = '';
+%idDevServCor03 = '';
+%idDevServCor04 = '';
+curCh01 = 0;
+curCh02 = 0;
+curCh03 = 0;
+curCh04 = 0;
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+if strncmp(idName, 'HU80', 3)
+    
+%First call after turning on the correctors should be: idSetCorCurSync('HU80_TEMPO', 0., 0.1, 0, 0.1, 0.001)
+
+%Names of Level 1 DServers of coils (no longer used)
+	%idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+	%idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+	%idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+	%idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+    
+%Formulae used for the Virtual Correctors:
+	curCh01 = 0.5*(-curToSetCVE - curToSetCHE);
+	curCh02 = 0.5*(-curToSetCVE + curToSetCHE);
+	curCh03 = 0.5*(-curToSetCVS - curToSetCHS);
+	curCh04 = 0.5*(-curToSetCVS + curToSetCHS);
+    
+    fprintf('Expected current values in primary channels: #1: %f, #2: %f, #3: %f, #4: %f\n', curCh01, curCh02, curCh03, curCh04);
+
+    attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE;
+    attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE;
+    attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS;
+    attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS;   
+    
+    %if strcmp(idName, 'HU80_TEMPO')
+    %    DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    %    attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE;
+    %    attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE;
+    %    attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS;
+    %    attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS;
+    %elseif strcmp(idName, 'HU80_PLEIADES')
+    %    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
+    %    attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE;
+    %    attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE;
+    %    attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS;
+    %    attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS;
+    %elseif strcmp(idName, 'HU80_CASSIOPEE')
+    %    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
+    %    attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE;
+    %    attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE;
+    %    attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS;
+    %    attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS;        
+    %end
+    
+    attr_name_list = {attr_name_val_list(1).name, attr_name_val_list(2).name, attr_name_val_list(3).name, attr_name_val_list(4).name};
+end
+
+%for i = 1:4
+%    attr_name_list(i) = attr_name_val_list(i).name;
+%end
+
+if strcmp(DServName, '') ~= 0
+    fprintf('Device Server name is not specified\n');
+    res = -1;
+    return;
+end
+
+tango_write_attributes(DServName, attr_name_val_list);
+if (tango_error == -1) %handle error 
+    tango_print_error_stack; return;
+end
+
+%Waiting until the current values are set
+for i = 1:numLoopsWaitRes
+    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack; return;
+    end
+
+    canQuit = 1;
+    for j = 1:4
+        valRequested = attr_name_val_list(j).value;
+        valSet = attr_val_list(j).value(1); %check why (1)
+        %if(abs(attr_name_val_list(j).value - attr_val_list(j)) > curAbsTol)
+        if(abs(valRequested - valSet) > curAbsTol)
+            canQuit = 0; break;
+        end
+    end
+    
+    if(canQuit == 1)
+        return; %Normal exit
+    end
+    pause(sleepTime);
+end
+
+res = -1;
+fprintf('Failed to set requested current values\n');
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCorCurSync_OLD.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCorCurSync_OLD.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCorCurSync_OLD.m	(revision 17)
@@ -0,0 +1,50 @@
+function res = idSetCorCurSync(idName, curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS, curAbsTol)
+
+res = 0;
+idDevServCor01 = '';
+idDevServCor02 = '';
+idDevServCor03 = '';
+idDevServCor04 = '';
+curCh01 = 0;
+curCh02 = 0;
+curCh03 = 0;
+curCh04 = 0;
+
+if strcmp(idName, 'HU80_TEMPO')
+    
+%First call after turning on the correctors should be: idSetCorCurSync('HU80_TEMPO', 0., 0.1, 0, 0.1, 0.001)
+
+	idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+	idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+	idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+	idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+    
+	%curCh01 = 0.5*(curToSetCHE + curToSetCVE);
+	%curCh02 = 0.5*(curToSetCHE - curToSetCVE);
+	%curCh03 = 0.5*(curToSetCHS + curToSetCVS);
+	%curCh04 = 0.5*(curToSetCHS - curToSetCVS);
+    
+	curCh01 = 0.5*(-curToSetCVE - curToSetCHE);
+	curCh02 = 0.5*(-curToSetCVE + curToSetCHE);
+	curCh03 = 0.5*(-curToSetCVS - curToSetCHS);
+	curCh04 = 0.5*(-curToSetCVS + curToSetCHS);
+
+end
+
+res = idSetCurrentSync(idDevServCor01, curCh01, curAbsTol);
+if res ~= 0
+    return;
+end
+res = idSetCurrentSync(idDevServCor02, curCh02, curAbsTol);
+if res ~= 0
+    return;
+end
+res = idSetCurrentSync(idDevServCor03, curCh03, curAbsTol);
+if res ~= 0
+    return;
+end
+res = idSetCurrentSync(idDevServCor04, curCh04, curAbsTol);
+if res ~= 0
+    return;
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCurrentSync.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCurrentSync.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetCurrentSync.m	(revision 17)
@@ -0,0 +1,41 @@
+function res = idSetCurrentSync(idDevServ, currentToSet, currentAbsTol)
+
+maxDelay_s = 20; %to edit
+testTimePeriod_s = 1; %to edit
+res = -1;
+
+maxNumTests = round(maxDelay_s/testTimePeriod_s);
+
+on_or_off = tango_command_inout2(idDevServ, 'State');
+if(strcmp(on_or_off, 'ON') == 0)
+    tango_command_inout2(idDevServ, 'On');
+    for i = 1:maxNumTests
+        on_or_off = tango_command_inout2(idDevServ, 'State');
+        if(strcmp(on_or_off, 'ON'))
+            break;
+        end
+        pause(testTimePeriod_s);
+    end
+    if(strcmp(on_or_off, 'ON') == 0)
+        fprintf('Failed to set the device ON');
+        return;
+    end
+end
+
+attrCurrent = strcat(idDevServ, '/currentPM');
+writeattribute(attrCurrent, currentToSet);
+actCur = 0;
+for i = 1:maxNumTests
+	actCur = readattribute([idDevServ, '/current']);
+    if(abs(currentToSet - actCur) <= currentAbsTol)
+        res = 0;
+        return;
+    end
+	pause(testTimePeriod_s);
+end
+
+if(abs(currentToSet - actCur) > currentAbsTol)
+	res = -1;
+	fprintf('Failed to set the requested current\n');
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetOrbitBump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetOrbitBump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetOrbitBump.m	(revision 17)
@@ -0,0 +1,28 @@
+function ErrorFlag = idSetOrbitBump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList)
+%Makes an accurate incremental bump, by walking around the problem of eventual
+%saturation of BPMs
+
+BPM_LinearLimitPos = 1; %[mm] max. abs. value of position after which the BMPs start to saturate
+
+numPos = length(GoalOrbit);
+maxAbsPos = 0;
+for i = 1:numPos
+    curAbsPos = abs(GoalOrbit(i));
+    if(maxAbsPos < curAbsPos)
+        maxAbsPos = curAbsPos;
+    end
+end
+
+if(maxAbsPos <= BPM_LinearLimitPos)
+    setorbitbump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList);
+	return;
+end
+
+[OCS, OCS0, V, S, ErrorFlag] = setorbitbump(BPM_Family, BPM_DeviceList, GoalOrbit*(BPM_LinearLimitPos/maxAbsPos), CM_Family, CM_IncrementList, 'NoSetSP');
+if(ErrorFlag)
+    return;
+end
+CM_DeviceList = OCS.CM.DeviceList;
+CM_DeltaSP = OCS.CM.Delta;
+
+stepsp(CM_Family, CM_DeltaSP*(maxAbsPos/BPM_LinearLimitPos), CM_DeviceList);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetUndParamSeq.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetUndParamSeq.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetUndParamSeq.m	(revision 17)
@@ -0,0 +1,27 @@
+function resErrorFlag = idSetUndParamSeq(idName, idParamVals)
+%Expected: idParamVals = {'phase', -40, 40, 1, 0.01}
+
+resErrorFlag = 0;
+resUnd = 0;
+
+paramName = idParamVals{1};
+paramStart = idParamVals{2};
+paramEnd = idParamVals{3};
+paramStepApprox = idParamVals{4};
+paramAbsTol = idParamVals{5};
+
+numParamVals = abs(round((paramEnd - paramStart)/paramStepApprox)) + 1;
+paramStep = 0;
+if(numParamVals > 1)
+    paramStep = (paramEnd - paramStart)/(numParamVals - 1);
+end
+
+curParamVal = paramStart;
+for k = 1:numParamVals
+	resUnd = idSetUndParamSync(idName, paramName, curParamVal, paramAbsTol);
+	if(resUnd ~= 0)
+        fprintf('Execution terminated since Undulator Parameter can not be set\n');
+        resErrorFlag = -1; return;
+    end
+    curParamVal = curParamVal + paramStep;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetUndParamSync.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetUndParamSync.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idSetUndParamSync.m	(revision 17)
@@ -0,0 +1,120 @@
+function res = idSetUndParamSync(idName, attrName, attrValue, attrAbsTol)
+
+res = 0;
+%DServName = '';
+%StandByStr = ''; %String to search in the return of "Status" command of DServer
+ActStatusStr = '';
+attr_name_list = {''};
+
+numLoopsWaitRes = 300;
+sleepTime = 3; %[s]
+%attrNameIsRecognized = 0;
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+if strcmp(idName, 'HU80_TEMPO')
+    %DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    %StandByStr = 'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY'; 
+    
+    %if strcmp(attrName, 'gap')
+    %    attrNameIsRecognized = 1;
+    %elseif strcmp(attrName, 'phase')
+    %    attrNameIsRecognized = 1;
+    %end
+    %if attrNameIsRecognized == 0
+    %    fprintf('Undulator Parameter / Device Server Attribute name is not recognized\n');
+    %    res = -1; return;
+    %end
+     
+	if strcmp(attrName, 'mode')
+       attrValue = int16(attrValue);
+	end
+    
+    %Debug
+    %    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    %    if (tango_error == -1) %handle error 
+    %        tango_print_error_stack; return;
+    %    end
+    %End Debug
+end
+
+if strcmp(DServName, '') ~= 0
+    fprintf('Device Server name is not specified\n');
+    res = -1; return;
+end
+
+attr_name_val_list(1).name = attrName; attr_name_val_list(1).value = attrValue;
+attr_name_list = {attr_name_val_list(1).name};
+
+tango_write_attributes(DServName, attr_name_val_list);
+if (tango_error == -1) %handle error 
+    tango_print_error_stack;
+    
+    pause(sleepTime);
+    fprintf('Trying to repeat writing attributes after pause...\n');
+    tango_write_attributes(DServName, attr_name_val_list);
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack;
+        fprintf('Failed again. Returning from the function abnormally.\n');
+        %res = -1; %hoping that it could still recover
+        return;
+    else
+        fprintf('Succeeded writing attributes from 2nd attempt. Continuing execution of the function.\n');
+    end
+end
+
+%Waiting until the parameter is actually set
+for i = 1:numLoopsWaitRes
+    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack; 
+        
+        pause(sleepTime);
+        fprintf('Trying to repeat reading attributes after pause...\n');
+        attr_val_list = tango_read_attributes(DServName, attr_name_list);
+        if (tango_error == -1) %handle error 
+            tango_print_error_stack;
+            fprintf('Failed again. Returning from the function abnormally.\n');
+            %res = -1; %hoping that it could still recover
+            return;
+        else
+            fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+        end
+    end
+
+    valRequested = attr_name_val_list(1).value;
+    valSet = attr_val_list(1).value(1); %check why (1)
+    if(abs(valRequested - valSet) <= attrAbsTol)
+        
+        if strcmp(StandByStr, '') == 0
+            attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+            if (tango_error == -1) %handle error 
+                tango_print_error_stack; 
+                
+                pause(sleepTime);
+                fprintf('Trying to repeat reading attributes after pause...\n');
+                attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+                if (tango_error == -1) %handle error 
+                    tango_print_error_stack;
+                    fprintf('Failed again. Returning from the function abnormally.\n');
+                    %res = -1; %hoping that it could still recover
+                    return;
+                else
+                    fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+                end
+            end
+            ActStatusStr = attr_val_list_status.value;
+            if strncmp(ActStatusStr, StandByStr, length(StandByStr))
+                pause(sleepTime);
+                return; %Normal exit
+            end
+        else
+            pause(sleepTime);
+            return; %Normal exit
+        end
+    end
+    pause(sleepTime);
+end
+
+res = -1;
+fprintf('Failed to set requested Undulator Parameter value\n');
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idTestWriteCorrectionTable.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idTestWriteCorrectionTable.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idTestWriteCorrectionTable.m	(revision 17)
@@ -0,0 +1,40 @@
+dev = 'ANS-C08/EI/M-HU80.2';
+
+rep = tango_read_attribute2(dev,'parallelModeCHE')
+matCHE0 = rep.value;
+rep = tango_read_attribute2(dev,'parallelModeCVE')
+matCVE0 = rep.value;
+rep = tango_read_attribute2(dev,'parallelModeCHS')
+matCHS0 = rep.value;
+rep = tango_read_attribute2(dev,'parallelModeCVS')
+matCVS0 = rep.value;
+%%
+
+vPhase = [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40];
+vGap = [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 250];
+
+mCHE_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHE_HU80_TEMPO_upd_p0);
+mCVE_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVE_HU80_TEMPO_upd_p0);
+mCHS_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHS_HU80_TEMPO_upd_p0);
+mCVS_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVS_HU80_TEMPO_upd_p0);
+
+tango_write_attribute2(dev,'parallelModeCHE', mCHE_with_arg);
+tango_write_attribute2(dev,'parallelModeCVE', mCVE_with_arg);
+tango_write_attribute2(dev,'parallelModeCHS', mCHS_with_arg);
+tango_write_attribute2(dev,'parallelModeCVS', mCVS_with_arg);
+
+
+%matCHE = matCHE0;
+%matCHE(2:end,2:end) = 0;
+%matCHE(2:end,1) = [15.5 20 25 30 40 50 80 110];
+%matCVE = matCHE;
+%matCHS = matCHE;
+%matCVS = matCHE;
+
+%id = 1;
+%matCHE(2:end,6) = [CX_G15_5(id); CX_G20(id); CX_G25(id); CX_G30(id); CX_G40(id); CX_G50(id); CX_G80(id); CX_G110(id)]
+%matCVE(2:end,6) = [CZ_G15_5(id); CZ_G20(id); CZ_G25(id); CZ_G30(id); CZ_G40(id); CZ_G50(id); CZ_G80(id); CZ_G110(id)]
+
+%id = 2;
+%matCHS(2:end,6) = [CX_G15_5(id); CX_G20(id); CX_G25(id); CX_G30(id); CX_G40(id); CX_G50(id); CX_G80(id); CX_G110(id)]
+%matCVS(2:end,6) = [CZ_G15_5(id); CZ_G20(id); CZ_G25(id); CZ_G30(id); CZ_G40(id); CZ_G50(id); CZ_G80(id); CZ_G110(id)]
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idUpdateFeedForwardCorTables2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idUpdateFeedForwardCorTables2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idUpdateFeedForwardCorTables2D.m	(revision 17)
@@ -0,0 +1,91 @@
+function res = idUpdateFeedForwardCorTables2D(idName, tabNameDataCHE, tabNameDataCVE, tabNameDataCHS, tabNameDataCVS, vArgVert, vArgHor, updateMode)
+%tabNameDataCHE = {'parallelModeCHE', mCHE}
+%tabNameDataCVE = {'parallelModeCVE', mCVE}
+%vArgVert = [15.5,16,18,...] - gap values
+%vArgHor = [-40,-35,-30,...] - phase values
+%updateMode: 
+%   0- set zero in all tables; 1- overwrite values in all tables; 2- add
+%   new tables to existing tables
+
+res = 0;
+
+if((length(vArgVert) > 1) && (length(vArgVert) > 1)) %assume tabNameDataCHE{2} etc. is without arguments
+    mCHE_with_arg = idAuxMergeCorTableWithArg2D(vArgVert, vArgHor, tabNameDataCHE{2});
+    mCVE_with_arg = idAuxMergeCorTableWithArg2D(vArgVert, vArgHor, tabNameDataCVE{2});
+    mCHS_with_arg = idAuxMergeCorTableWithArg2D(vArgVert, vArgHor, tabNameDataCHS{2});
+    mCVS_with_arg = idAuxMergeCorTableWithArg2D(vArgVert, vArgHor, tabNameDataCVS{2});
+else %assume tabNameDataCHE{2} etc. is with arguments
+    mCHE_with_arg = tabNameDataCHE{2};
+    mCVE_with_arg = tabNameDataCVE{2};
+    mCHS_with_arg = tabNameDataCHS{2};
+    mCVS_with_arg = tabNameDataCVS{2};
+end
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+%Reading previous cor. tables
+rep = tango_read_attribute2(DServName, tabNameDataCHE{1});
+stOldTablesFF.mCHE_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameDataCVE{1});
+stOldTablesFF.mCVE_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameDataCHS{1});
+stOldTablesFF.mCHS_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameDataCVS{1});
+stOldTablesFF.mCVS_with_arg = rep.value;
+
+numArgVert = length(vArgVert);
+numArgHor = length(vArgHor);
+numArgVert_p_1 = numArgVert;
+numArgHor_p_1 = numArgHor;
+if(updateMode == 0)
+    for i = 2:numArgVert_p_1
+        for j = 2:numArgHor_p_1
+            mCHE_with_arg(i,j) = 0;
+            mCVE_with_arg(i,j) = 0;
+            mCHS_with_arg(i,j) = 0;
+            mCVS_with_arg(i,j) = 0;
+        end
+    end
+end
+
+if(updateMode == 2)
+    strIncompatSizes = 'Incompatible dimensions od mesh of existing and new tables. Incremental update can not be performed.';
+    if((size(stOldTablesFF.mCHE_with_arg, 1) ~= numArgVert_p_1) || (size(stOldTablesFF.mCVE_with_arg, 1) ~= numArgVert_p_1) || (size(stOldTablesFF.mCHS_with_arg, 1) ~= numArgVert_p_1) || (size(stOldTablesFF.mCVS_with_arg, 1) ~= numArgVert_p_1))
+    	fprintf(strIncompatSizes);
+        return;
+    end
+    if((size(stOldTablesFF.mCHE_with_arg, 2) ~= numArgHor_p_1) || (size(stOldTablesFF.mCVE_with_arg, 2) ~= numArgHor_p_1) || (size(stOldTablesFF.mCHS_with_arg, 2) ~= numArgHor_p_1) || (size(stOldTablesFF.mCVS_with_arg, 2) ~= numArgHor_p_1))
+    	fprintf(strIncompatSizes);
+        return;
+    end
+    
+	for i = 2:numArgVert_p_1
+        if((mCHE_with_arg(i,1) ~= stOldTablesFF.mCHE_with_arg(i,1)) || (mCVE_with_arg(i,1) ~= stOldTablesFF.mCVE_with_arg(i,1)) || (mCHS_with_arg(i,1) ~= stOldTablesFF.mCHS_with_arg(i,1)) || (mCVS_with_arg(i,1) ~= stOldTablesFF.mCVS_with_arg(i,1)))
+            fprintf(strIncompatSizes);
+            return;
+        end
+    end
+	for j = 2:numArgHor_p_1
+        if((mCHE_with_arg(1,j) ~= stOldTablesFF.mCHE_with_arg(1,j)) || (mCVE_with_arg(1,j) ~= stOldTablesFF.mCVE_with_arg(1,j)) || (mCHS_with_arg(1,j) ~= stOldTablesFF.mCHS_with_arg(1,j)) || (mCVS_with_arg(1,j) ~= stOldTablesFF.mCVS_with_arg(1,j)))
+            fprintf(strIncompatSizes);
+            return;
+        end
+	end
+    for i = 2:numArgVert_p_1
+        for j = 2:numArgHor_p_1
+            mCHE_with_arg(i,j) = mCHE_with_arg(i,j) + stOldTablesFF.mCHE_with_arg(i,j);
+            mCVE_with_arg(i,j) = mCVE_with_arg(i,j) + stOldTablesFF.mCVE_with_arg(i,j);
+            mCHS_with_arg(i,j) = mCHS_with_arg(i,j) + stOldTablesFF.mCHS_with_arg(i,j);
+            mCVS_with_arg(i,j) = mCVS_with_arg(i,j) + stOldTablesFF.mCVS_with_arg(i,j);
+        end
+    end
+end
+
+%saving previous ff tables
+fileNameCoreOldFF = 'old_ff_tab';
+idSaveStruct(fileNameCoreOldFF, stOldTablesFF, idName, 0);
+
+tango_write_attribute2(DServName, tabNameDataCHE{1}, mCHE_with_arg);
+tango_write_attribute2(DServName, tabNameDataCVE{1}, mCVE_with_arg);
+tango_write_attribute2(DServName, tabNameDataCHS{1}, mCHS_with_arg);
+tango_write_attribute2(DServName, tabNameDataCVS{1}, mCVS_with_arg);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/premiertests.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/premiertests.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/premiertests.m	(revision 17)
@@ -0,0 +1,250 @@
+soleilinit
+getx
+plot(getx)
+family2dev('BPMx')
+family2tango('BPMx')
+help getx
+help family2tango
+doc tango
+tango_command_inout('ANS-C08/EI/M-HU80.2_CHAN1', 'State')
+tango_error
+dev = 'ANS-C08/EI/M-HU80.2_CHAN1';
+class(dev)
+a=2
+class(a)
+tango_state(dev)
+tango_status(dev)
+devM='ans-c08/ei/m-hu80.2_motorscontrol'
+tango_command_inout('ANS-C08/EI/M-HU80.2_CHAN1', 'State')
+tango_command_inout(devM, 'State')
+tango_command_inout2(devM, 'State')
+tango_command_inout(devM, 'State4')
+tango_command_inout2(devM, 'State4')
+tango_command_inout2(devM, 'ON')
+tango_command_inout2(devM, 'On')
+tango_command_inout2(devM, 'Status')
+tango_command_inout2(devM, 'State')
+pp = tango_command_inout2(devM, 'State')
+tango_command_inout2(devM, 'State')
+print(ans)
+printf('%s\n', ans)
+fprintf('%s\n', ans)
+ans
+a=2
+ans
+2
+ans
+tango_read_attribute2(devM, 'encoder1Position')
+a = tango_read_attribute2(devM, 'encoder1Position')
+a
+a.value
+datestr(a.time)
+readattribute([devM, 'encoder1Position'])
+[devM, 'encoder1Position'])
+[devM, 'encoder1Position']
+[devM, '/encoder1Position']
+readattribute([devM, '/encoder1Position'])
+[a z ] = readattribute([devM, '/encoder1Position'])
+help readattribute
+[a z t] = readattribute([devM, '/encoder1Position'])
+edit readattribute.m
+datestr(t)
+[a z t] = readattribute([devM, '/encoder2Position'])
+[a z t] = readattribute([devM, '/encoder3Position'])
+[a z t] = readattribute([devM, '/encoder4Position'])
+[a z t] = readattribute([devM, '/encoder5Position'])
+[a z t] = readattribute([devM, '/encoder6Position'])
+tango_command_inout2(devM, 'GotoGap', 2400000)
+tango_command_inout2(devM, 'GotoGap', int32(2400000))
+[a z t] = readattribute([devM, '/encoder2Position'])
+tango_command_inout2(devM, 'Init')
+tango_command_inout2(devM, 'State')
+tango_command_inout2(devM, 'On')
+tango_command_inout2(devM, 'ResetError')
+tango_command_inout2(devM, 'Reset')
+tango_command_inout2(devM, 'GotoGap', int32(2100000))
+tango_command_inout2(devM, 'GotoPhase', int32(50000), int32(50000))
+tango_command_inout2(devM, 'GotoPhase', {int32(50000), int32(50000)})
+tango_command_inout2(devM, 'GotoPhase', [int32(50000), int32(50000)])
+tango_command_inout2(devM, 'Init')
+tango_command_inout2(devM, 'GotoPhase', [int32(0), int32(0)])
+tango_command_inout2(devM, 'GotoPhase', [int32(100000), int32(-100000)])
+tango_command_inout2(devM, 'GotoPhase', [int32(0), int32(0)])
+tango_command_inout2(devM, 'GotoGap', int32(2500000))
+
+getx
+getz
+getam('BPMx')
+getam('BPMx',[1 1])
+getam('BPMx',[1 1; 1 2])
+getam('BPMx',[5 1; 5 2])
+family2tangodev('BPMx',[5 1; 5 2])
+family2dev('BPMx')
+family2status('BPMx')
+modelbeta
+solorbit
+getx
+X = getx
+I=getdcct
+
+/home/matlabML/mmlcontrol/Ringspecific/insertions
+
+/home/matlabML/measdata/Ringdata/insertions/HU80_TEMPO/
+
+% H orbit
+EI.X = getx;
+% V orbit
+EI.Z = getz;
+% encoder #2
+EI.encoder2= readattribute([devM, '/encoder2Position']);
+% stored current
+EI.current = getdcct;
+% tunes
+EI.tune = gettune;
+
+% measure dispersion functions
+[dx dz] = measdisp('Physics');
+
+EI.dx = dx;
+EI.dz = dz;
+
+EI.date = datestr(now); % convert date to string
+
+pause(1); % 1 second pause
+
+% measure chromaticities
+EI.ksi = measchro('Physics');
+
+%%%%%%%%%%%%%% ARchiving
+
+% If the filename contains a directory then make sure it exists
+Filename = 'exemple4Oleg';
+
+FileName = appendtimestamp('G20_P0');
+DirectoryName = getfamilydata('Directory','HU80_TEMPO');
+DirStart = pwd;
+[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+save(FileName, 'EI_G20_P0');
+cd(DirStart);
+
+
+edit soleilinit
+Filename = 'exemple4Oleg'
+FileName = appendtimestamp(Filename)
+getfamilydata('Directory','HU80_TEMPO')
+ls
+rm HU80_2006-09-12_17-24-36
+remove HU80_2006-09-12_17-24-36
+delete HU80_2006-09-12_17-24-36.mat
+ls
+dir
+help save
+doc save
+getmcf
+pwd
+save 'toto' EI
+
+%%%%%%%%%%%%%% Calculating theoretical Beta values at the positions of BPMs
+modelbeta('BPMx')
+[bx bz]=modelbeta('BPMx')
+bx
+[phx, phz] = modelphase('BPMx')
+phx
+modeltune
+[nux nuz] = modeltune
+nu = modeltune
+
+%%%%%%%%%%%%%% Measuring COD vs Corrector Currents (to estimate corrector efficiency)
+tableCurInCor = [0 0 0 0; -10 0 0 0; -5 0 0 0; 0 0 0 0; 5 0 0 0; 10 0 0 0; 0 0 0 0; 0 -10 0 0; 0 -5 0 0; 0 0 0 0; 0 5 0 0; 0 10 0 0; 0 0 0 0; 0 0 -10 0; 0 0 -5 0; 0 0 0 0; 0 0 5 0; 0 0 10 0; 0 0 0 0; 0 0 0 -10; 0 0 0 -5; 0 0 0 0; 0 0 0 5; 0 0 0 10]
+[fileNames, res] = idMeasCorEffic('HU80_PLEIADES', tableCurInCor, 0, 'C1G200', 1)
+
+%To measure electron beam and read undulator state, and save the data
+%structure to a file
+stMeas = idMeasElecBeamUnd('U20_PROXIMA1', 0, 'test_for_chams', 1)
+
+%to estimate effective field integrals of U20
+st = idCalcFldIntFromElecBeamMeasForUndSOLEIL_1('U20_PROXIMA1', '/home/matlabML/measdata/Ringdata/insertions/U20_PROXIMA1', 'u20_g5_5_2006-09-29_12-29-58', 'u20_g30_2006-09-29_11-59-57', '', -1)
+
+% Write a table : attributename to be changed
+A=[0 1 2 3;
+      10 0.2 0.4 0.5;
+      20 0.5 0.21 0.45];
+  
+tango_write_attribute2(dev,'correctionCHEParallelMode',A);  
+
+% how to write at the same time all the correctors
+dev= 'ANS-C08/EI/M-HU80.2';
+attr_name_val_list(1).value = 0
+attr_name_val_list(2).value = 0
+attr_name_val_list(3).value = 0
+attr_name_val_list(4).value = 0
+attr_name_val_list(1).name='currentCHE'
+attr_name_val_list(2).name='currentCVE'
+attr_name_val_list(4).name='currentCVS'
+attr_name_val_list(3).name='currentCHS'
+
+tango_write_attributes(dev,attr_name_val_list);
+
+% to calculate correction tables for feed-forward
+%HU80:
+stFileNamesMeasCOD = load('/home/operateur/GrpGMI/HU80_TEMPO/cod_II_filelist_2006-12-10_13-11-12');
+vPhase = [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40];
+vGap = [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150];
+fileNamesMeasBkg = idAuxPrepFileNameListMeasAndBkg(stFileNamesMeasCOD.filelist, length(vGap));
+arBPM2Skip = [58];
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU80_TEMPO', {{'phase', vPhase}, {'gap', vGap}}, fileNamesMeasBkg, '', '', arBPM2Skip);
+mCHE_with_Arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHE);
+mCVE_with_Arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVE);
+mCHS_with_Arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHS);
+mCVS_with_Arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVS);
+
+
+
+%U20:
+stFileNamesMeasCOD = load('/home/operateur/GrpGMI/U20_PROXIMA1/test_cod_filelist_2007-01-24_13-17-20.mat');
+vGap = [30, 27];
+fileNamesMeasBkg = idAuxPrepFileNameListMeasAndBkg(stFileNamesMeasCOD.filename, length(vGap))
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('U20_PROXIMA1', {{'gap', vGap}}, fileNamesMeasBkg, '', '', -1)
+
+%%
+dev = 'ANS-C04/EI/M-HU80.1';
+
+tango_write_attribute2(dev,'parallelModeCHE', mCHE_res_with_arg);
+tango_write_attribute2(dev,'parallelModeCVE', mCVE_res_with_arg);
+tango_write_attribute2(dev,'parallelModeCHS', mCHS_res_with_arg);
+tango_write_attribute2(dev,'parallelModeCVS', mCVS_res_with_arg);
+
+%%To measure COD vs Undulator Param(s) automatically:
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('HU80_TEMPO', {{'phase', [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40]}, {'gap', [15.5]}}, {}, inclPerturbMeas, fileNameCore, dispData)
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('HU80_TEMPO', {{'phase', [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40], 0.01}, {'gap', [15.5], 0.01}}, {{'gap', 250, 0.01}, {'phase', 0, 0.01}}, 2, 0, 'test', 1)
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('HU80_TEMPO', {{'phase', [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150], 0.01}}, {{'gap', 250, 0.01}, {'phase', 0, 0.01}}, 1, 0, 'cod_X_01_07', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_PLEIADES', {{'phase', [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40], 0.01}, {'gap', [15.5, 16, 18, 20], 0.01}}, {{'gap', 250, 0.01}, {'phase', 0, 0.01}}, 1, 0, 'cod_extra_II', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_CASSIOPEE', {{'phase', [-40,-37.5, -35,-32.5, -30,-27.5, -25,-22.5, -20,-17.5, -15,-12.5, -10,-7.5, -5,-2.5, 0,2.5, 5,7.5, 10,12.5, 15,17.5, 20,22.5, 25,27.5, 30,32.5, 35, 37.5,40], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 250], 0.01}}, {{'phase', 0, 0.01}, {'gap', 250, 0.01}}, 1, 0, 'cod_1st_test', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_CASSIOPEE', {{'phase', [-40,-37.5, -35,-32.5, -30,-27.5, -25,-22.5, -20,-17.5, -15,-12.5, -10,-7.5, -5,-2.5, 0,2.5, 5,7.5, 10,12.5, 15,17.5, 20,22.5, 25,27.5, 30,32.5, 35, 37.5,40], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 250], 0.01}}, {{'phase', 0, 0.01}, {'gap', 250, 0.01}}, 1, 0, 'cod_gen_X', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_CASSIOPEE', {{'phase', [40], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150], 0.01}}, {{'phase', 0, 0.01}, {'gap', 250, 0.01}}, 1, 0, 'cod_1st_test', 1)
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('U20_PROXIMA1', {{'gap', [5.5, 6, 10], 0.01}}, {{'gap', 30, 0.01}}, 1, 0, 'test_cod', 1)
+
+%U20 COD meas. and calc. of cor. tables:
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('U20_PROXIMA1', {{'gap', [5.5, 6, 10], 0.01}}, {{'gap', 30, 0.01}}, 1, 0, 'test_cod', 1)
+%st.filelist = resFileNames; idSaveStruct(st, 'test_cod_filelist', 'U20_PROXIMA1', 0)
+    %do something else...
+%ls /home/operateur/GrpGMI/U20_PROXIMA1
+%stFileNamesMeasCOD = load('/home/operateur/GrpGMI/U20_PROXIMA1/test_cod_filelist_2007-01-24_14-20-54.mat');
+%vGap = [5.5, 6, 10];
+%fileNamesMeasBkg = idAuxPrepFileNameListMeasAndBkg(stFileNamesMeasCOD.filelist, length(vGap));
+%[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('U20_PROXIMA1', {{'gap', vGap}}, fileNamesMeasBkg, '', '', -1);
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('U20_PROXIMA1', resFileNames.params, resFileNames.filenames_meas_bkg, '', '', -1)
+
+%CHAMS, I've tested the COD meas. using idMeasElecBeamVsUndParam. It seems to work fine now. 03/02/2007 OC
+[resFNames, resErrorFlag] = idMeasElecBeamVsUndParam('U20_PROXIMA1', {{'gap', [29.5, 29.7], 0.01}}, {{'gap', 30, 0.01}}, 1, 0, 'test_cod_to_delete', 1)
+
+
+%Make Bump walking aroung eventual saturation of BPMs:
+idSetOrbitBump('BPMx', [4 1;4 2], [4.5,4.5], 'HCOR', [-4,-3,-2,-1,1,2,3,4]);
+%Measurement of COD vs Horizontal Bump:
+[resBumpMeasPLEIADES, ErrorFlag] = idMeasElecBeamVsUndParamVsBump('HU80_PLEIADES', {{'phase', [-40,-20,0,20,40], 0.01}, {'gap', [15.5], 0.01}}, {{'gap', 250, 0.01}, {'phase', 0, 0.01}}, 2, 0, 'inj_problem', 1, 'H', {[1,1],[-4.5,-4,-3.5,-3,-2.5,-2,-1.5,-1,-0.5,0,0.5,1,1.5,2,2.5,3,3.5,4,4.5]}, [-4,-3,-2,-1,1,2,3,4]);
+%Calculation of Field Integrals and other characteristics vs Horizontal Bump:
+[vI1x, vI2x, vI1z, vI2z, vPosBump, vKickX1, vKickX2, vKickZ1, vKickZ2, dNuX, dNuZ] = idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL('HU80_PLEIADES', '/home/operateur/GrpGMI/GrpGMI/HU80_PLEIADES', resBumpMeasPLEIADES, {{'phase', -40}, {'gap', 15.5}}, '', {[3 3],[3 4],[3 5],[3 6],[3 7],[3 8],[4 1],[4 2],[4 3],[4 4],[4 5],[4 6],[4 7],    [5.3]});
+
+ [vI1xP0c, vI2xP0c, vI1zP0c, vI2zP0c, vPosBumpC, vKickX1P0c, vKickX2P0c, vKickZ1P0c, vKickZ2P0c, dNuXP0c, dNuZP0c] = idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL('HU80_CASSIOPEE', '/home/operateur/GrpGMI/HU80_CASSIOPEE', stBumpCAS.resBumpMeas, {{'phase', 0}, {'gap', 15.5}}, '', {[8 1],[8 2],[8 3],[8 4],[8 5],[8 6],[8 7],[9 1],[9 2],[9 3],[9 4],[9 5],[9 6],[9 7]})
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/test_TCT.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/test_TCT.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/test_TCT.m	(revision 17)
@@ -0,0 +1,54 @@
+cvG15_5_X = idLeastSqLinFit(G15_5_mCorRespX, -G15_5_X, -1);
+cvG15_5_Z = idLeastSqLinFit(G15_5_mCorRespZ, -G15_5_Z, -1);
+
+cvG20_X = idLeastSqLinFit(G20_mCorRespX, -G20_X, -1)
+cvG20_Z = idLeastSqLinFit(G20_mCorRespZ, -G20_Z, -1)
+
+cvG25_X = idLeastSqLinFit(G25_mCorRespX, -G25_X, -1)
+cvG25_Z = idLeastSqLinFit(G25_mCorRespZ, -G25_Z, -1)
+
+cvG30_X = idLeastSqLinFit(G30_mCorRespX, -G30_X, -1)
+cvG30_Z = idLeastSqLinFit(G30_mCorRespZ, -G30_Z, -1)
+
+cvG50_X = idLeastSqLinFit(G50_mCorRespX, -G50_X, -1)
+cvG50_Z = idLeastSqLinFit(G50_mCorRespZ, -G50_Z, -1)
+
+cvG80_X = idLeastSqLinFit(G80_mCorRespX, -G80_X, -1)
+cvG80_Z = idLeastSqLinFit(G80_mCorRespZ, -G80_Z, -1)
+
+cvG110_X = idLeastSqLinFit(G110_mCorRespX, -G110_X, -1)
+cvG110_Z = idLeastSqLinFit(G110_mCorRespZ, -G110_Z, -1)
+
+% 	curCh01 = 0.5*(-curToSetCVE - curToSetCHE);
+% 	curCh02 = 0.5*(-curToSetCVE + curToSetCHE);
+% 	curCh03 = 0.5*(-curToSetCVS - curToSetCHS);
+% 	curCh04 = 0.5*(-curToSetCVS + curToSetCHS);
+
+tab1=zeros(9,10);
+tab1(1,:)=[0 -0.4018 -0.3 -0.2 -0.1 0  0.1 0.2 0.3 0.4018]'*1e6;
+tab1(:,1)=[0 110 80 50 30 25 20 18 15.5]*1e4;
+tab2=tab1;
+tab3=tab1;
+tab4=tab1;
+
+curToSetCVE = [cvG15_5_Z(1) cvG15_5_Z(1) cvG20_Z(1) cvG25_Z(1) cvG30_Z(1) cvG50_Z(1) cvG80_Z(1) cvG110_Z(1)];
+curToSetCHE = [cvG15_5_X(1) cvG15_5_X(1) cvG20_X(1) cvG25_X(1) cvG30_X(1) cvG50_X(1) cvG80_X(1) cvG110_X(1)];
+curToSetCVS = [cvG15_5_Z(2) cvG15_5_Z(2) cvG20_Z(2) cvG25_Z(2) cvG30_Z(2) cvG50_Z(2) cvG80_Z(2) cvG110_Z(2)];
+curToSetCHS = [cvG15_5_X(2) cvG15_5_X(2) cvG20_X(2) cvG25_X(2) cvG30_X(2) cvG50_X(2) cvG80_X(2) cvG110_X(2)];
+
+tab1(end:-1:2,6) = 0.5*(-curToSetCVE - curToSetCHE);
+tab2(end:-1:2,6) = 0.5*(-curToSetCVE + curToSetCHE);
+tab3(end:-1:2,6) = 0.5*(-curToSetCVS - curToSetCHS);
+tab4(end:-1:2,6) = 0.5*(-curToSetCVS + curToSetCHS);
+
+dev='ANS-C08/EI/M-HU80.2';
+tab1t = tab1';
+tango_write_attribute2(dev,'correction1ParallelMode',tab1);
+temp = tango_read_attribute2(dev,'correction1ParallelMode'); tab1r = temp.value
+
+
+tango_write_attribute2(dev,'correction2ParallelMode',tab2);
+
+tango_write_attribute2(dev,'correction3ParallelMode',tab3);
+
+tango_write_attribute2(dev,'correction4ParallelMode',tab4);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/untitled.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/untitled.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/untitled.m	(revision 17)
@@ -0,0 +1,13 @@
+
+i0=176; j=17;
+stMeasBkgExtraII{i0+1} = {stListG15_5.filelist{j}, stListG15_5.filelist{18}};
+stMeasBkgExtraII{i0+2} = {stListG16.filelist{j}, stListG16.filelist{18}};
+stMeasBkgExtraII{i0+3} = {stListG18.filelist{j}, stListG18.filelist{18}};
+stMeasBkgExtraII{i0+4} = {stListG20.filelist{j}, stListG20.filelist{18}};
+stMeasBkgExtraII{i0+5} = {stListG22_5.filelist{j}, stListG22_5.filelist{18}};
+stMeasBkgExtraII{i0+6} = {stListG25.filelist{j}, stListG25.filelist{18}};
+stMeasBkgExtraII{i0+7} = {stListG27_5.filelist{j}, stListG27_5.filelist{18}};
+stMeasBkgExtraII{i0+8} = {stListG30.filelist{j}, stListG30.filelist{18}};
+stMeasBkgExtraII{i0+9} = {stListG35.filelist{j}, stListG35.filelist{18}};
+stMeasBkgExtraII{i0+10} = {stListG40.filelist{j}, stListG40.filelist{18}};
+stMeasBkgExtraII{i0+11} = {stListG50.filelist{j}, stListG50.filelist{18}};
Index: /trunk/machine/SOLEIL/StorageRing/insertions/ID_RegisterBumpParmeters_MV.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/ID_RegisterBumpParmeters_MV.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/ID_RegisterBumpParmeters_MV.m	(revision 17)
@@ -0,0 +1,111 @@
+function ID_RegisterBumpParmeters_MV(Created,TxtFileNameWithoutExt,Section,BPM_E,BPM_S,xBPM_E,xBPM_S,Plane,EntPosValue,ExPosValue,NbBPMs,Arg1,Arg2)
+%%Arg1,Arg2 can be what we want Nï¿œ of spectrum or diagon or 0
+%%Plane must be 'H' or 'V'
+%%Section,BPM_E,BPM_S : used to build the BPM Matrix
+%%EntPosValue,ExPosValue : used to settle the bump
+
+    %%
+%%Chargement et creation du fichier de sauvegarde
+    if (strcmp(Plane, 'H')==1)
+        Plan = 0;
+        BpmStr = 'BPMx';
+        CorrStr = 'HCOR';
+            BumpZ_Ent = 0;
+            BumpZ_Ex = 0;
+            BumpX_Ent = EntPosValue;
+            BumpX_Ex = ExPosValue;
+    elseif (strcmp(Plane, 'V')==1)
+        Plan = 1;
+        BpmStr = 'BPMz';
+        CorrStr = 'VCOR';
+            BumpX_Ent = 0;
+            BumpX_Ex = 0;
+            BumpZ_Ent = EntPosValue;
+            BumpZ_Ex = ExPosValue;
+    else
+        error('Plane must be H or V')
+    end
+    
+   FileName = strcat(TxtFileNameWithoutExt,'.txt');
+   ResultMatrix = 0;
+   
+   if (Created==0)
+      %crÃ©e le fichier avec l'entete
+      %Entete = 'Nb \t BPM1x \t BPM1z \t BPM2x \t BPM2z \t xBPM1x \t xBPM1z \t xBPM2x \t xBPM2z \t BumpX_Ent \t BumpZ_Ent \t BumpX_Ex \t BumpZ_Ex \t Nux \t Nuz \t I \t LifeTime \t Arg1 \t Arg2';
+      save(FileName,'ResultMatrix','-ASCII')
+      msgbox('The file were bumps parameters are saved has successfully been created...','This is not an error message !!!!!!!!','help');
+      return
+   end
+         
+   ResultMatrix = load(FileName,'-ASCII');
+   fprintf('File loaded...')
+    PosMatrix = [EntPosValue ExPosValue];
+    NbBpmMatrixPos = [1:1:NbBPMs];
+    NbBpmMatrixNeg = sort(-NbBpmMatrixPos);
+    NbBpmMatrix =  [NbBpmMatrixNeg NbBpmMatrixPos];
+    BpmMatrix = [Section BPM_E;Section BPM_S];
+    
+    SetOrbitBump(BpmStr,BpmMatrix,PosMatrix,CorrStr,NbBpmMatrix);
+    sleep(5)
+
+    %%
+%%Lecture des BPMs entrÃ©e et sortie
+fprintf ('\nBPMs values :')
+CellValue = sprintf('%d',Section);
+   BumpNb = size(ResultMatrix,1)+1;
+
+   %%
+%%Construction des diffÃ©rents parametres pour fabriquer le bump
+EntBPMValue = sprintf('%d',BPM_E);
+ExBPMValue = sprintf('%d',BPM_S);
+BPM1_DServName = strcat('ans-c',CellValue,'/dg/bpm.',EntBPMValue);
+BPM2_DServName = strcat('ans-c',CellValue,'/dg/bpm.',ExBPMValue);
+    BPM1x = tango_read_attribute(BPM1_DServName, 'XPosSA');
+        fprintf('\n\tEntrance X position : %f',BPM1x.value)
+    BPM1z = tango_read_attribute(BPM1_DServName, 'ZPosSA');
+        fprintf('\n\tEntrance Z position : %f',BPM1z.value)
+    BPM2x = tango_read_attribute(BPM2_DServName, 'XPosSA');
+        fprintf('\n\tExit X position : %f',BPM2x.value)
+    BPM2z = tango_read_attribute(BPM2_DServName, 'ZPosSA');
+        fprintf('\n\tExit Z position : %f',BPM2z.value)
+
+    %%
+%%Lecture des xBPMs
+fprintf ('\nxBPMs values :')
+xEntBPMValue = sprintf('%d',xBPM_E);
+xExBPMValue = sprintf('%d',xBPM_S);
+xBPM1_DServName = strcat('tdl-i',CellValue,'-m/dg/xbpm.',xEntBPMValue);
+xBPM2_DServName = strcat('tdl-i',CellValue,'-m/dg/xbpm.',xExBPMValue);   
+    xBPM1x = tango_read_attribute(xBPM1_DServName, 'xPos');
+        fprintf('\n\tEntrance X position : %f',xBPM1x.value)
+    xBPM1z = tango_read_attribute(xBPM1_DServName, 'zPos');
+        fprintf('\n\tEntrance Z position : %f',xBPM1z.value)
+    xBPM2x = tango_read_attribute(xBPM2_DServName, 'xPos');
+        fprintf('\n\tExit X position : %f',xBPM2x.value)
+    xBPM2z = tango_read_attribute(xBPM2_DServName, 'zPos');
+        fprintf('\n\tExit Z position : %f',xBPM2z.value)
+
+    %%
+%%Lecture des nombres d'onde, courant,...
+Nux =      tango_read_attribute('ans/dg/bpm-tunex', 'Nu');
+        fprintf('\nNux : %f',Nux.value)
+Nuz =      tango_read_attribute('ans/dg/bpm-tunez', 'Nu');
+        fprintf('\nNuz : %f',Nuz.value)
+I =        tango_read_attribute('ans/dg/dcct-ctrl', 'current');
+        fprintf('\nI : %f',I.value)
+Lifetime = tango_read_attribute('ans/dg/dcct-ctrl', 'lifeTime');
+        fprintf('\nLifeTime : %f',Lifetime.value)
+         
+    %%
+%%Sauvegarde des rÃ©sultats dans le fichier crÃ©e
+            ResultMatrix(BumpNb,1) = BumpNb;
+            ResultMatrix(BumpNb,2) = BPM1x.value;ResultMatrix(BumpNb,3) = BPM1z.value;ResultMatrix(BumpNb,4) = BPM2x.value;ResultMatrix(BumpNb,5) = BPM2z.value;
+            ResultMatrix(BumpNb,6) = xBPM1x.value;ResultMatrix(BumpNb,7) = xBPM1z.value;ResultMatrix(BumpNb,8) = xBPM2x.value;ResultMatrix(BumpNb,9) = xBPM2z.value;
+            ResultMatrix(BumpNb,10) = BumpX_Ent;ResultMatrix(BumpNb,11) = BumpZ_Ent;ResultMatrix(BumpNb,12) = BumpX_Ex;ResultMatrix(BumpNb,13) = BumpZ_Ex;
+            ResultMatrix(BumpNb,14) = Nux.value;ResultMatrix(BumpNb,15) = Nuz.value;ResultMatrix(BumpNb,16) = I.value;ResultMatrix(BumpNb,17) = Lifetime.value;
+            ResultMatrix(BumpNb,18) = Arg1;ResultMatrix(BumpNb,19) = Arg2;
+
+    save(FileName,'ResultMatrix','-ASCII');
+    fprintf ('\nFile saved...\n')
+            
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/IdCorCalibInVac.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/IdCorCalibInVac.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/IdCorCalibInVac.m	(revision 17)
@@ -0,0 +1,59 @@
+function IdCorCalibInVac(UndName,DeviceServerName,CurMin,CurMax,CurStep)
+% UndName: Full name of the undulator: for example 'U24_PROXIMA2'
+% DeviceServerName: Full path of the DeviceServer name: for example 'ANS-C11/EI/M-U24'
+% CurMin, CurMax, CurStep: Minimum, maximum Current and current step of each Corrector
+% Example: IdCorCalibInVac('U24_PROXIMA2','ANS-C11/EI/M-U24',-6,6,2)
+%          IdCorCalibInVac('U20_GALAXIES','ANS-C07/EI/C-U20',-6,6,2)
+%          IdCorCalibInVac('WSV50_PSICHE','ANS-C03/EI/C-WSV50',-6,6,2)
+%          IdCorCalibInVac('U20_NANO','ANS-C13/EI/L-U20.2',-6,6,2)
+
+t0=15;
+CellName=DeviceServerName(1:7)
+SSType=DeviceServerName(11:11)
+Position_SourceX=[CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionX'];
+Position_SourceZ=[CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionZ'];
+Date=datestr(clock,'mmm-dd-yyyy HH:MM:SS')
+CalibrationFolder=['/home/operateur/GrpGMI/' UndName '/CALIBRATION-' Date]
+mkdir(CalibrationFolder)
+idDevServCHEAttr=[DeviceServerName '_CHAN1']
+idDevServCVEAttr=[DeviceServerName '_CHAN2']
+idDevServCHSAttr=[DeviceServerName '_CHAN3']
+idDevServCVSAttr=[DeviceServerName '_CHAN4']
+i=1;
+for Cur=CurMin:CurStep:CurMax
+    idSetCurrentSync(idDevServCHEAttr, Cur, 0.01);
+    pause(t0)
+    stMeas=idMeasElecBeamUnd(UndName,0,['/home/operateur/GrpGMI/' UndName '/' UndName '_CHE_' num2str(Cur)],0,0)
+    copyfile(['/home/operateur/GrpGMI/' UndName '/' UndName '_CHE_' num2str(Cur) '.mat'],[CalibrationFolder '/' UndName '_CHE_' num2str(Cur) '.mat'])
+    fprintf ('%8.4f\n',Cur)
+end
+idSetCurrentSync(idDevServCHEAttr, 0, 0.01);
+pause(t0)
+for Cur=CurMin:CurStep:CurMax
+    idSetCurrentSync(idDevServCHSAttr, Cur, 0.01);
+    pause(t0)
+    stMeas=idMeasElecBeamUnd(UndName,0,['/home/operateur/GrpGMI/' UndName '/' UndName '_CHS_' num2str(Cur)],0,0)
+    copyfile(['/home/operateur/GrpGMI/' UndName '/' UndName '_CHS_' num2str(Cur) '.mat'],[CalibrationFolder '/' UndName '_CHS_' num2str(Cur) '.mat'])
+    fprintf ('%8.4f\n',Cur)
+end
+idSetCurrentSync(idDevServCHSAttr, 0, 0.01);
+pause(t0)
+for Cur=CurMin:CurStep:CurMax
+    idSetCurrentSync(idDevServCVEAttr, Cur, 0.01);
+    pause(t0)
+    stMeas=idMeasElecBeamUnd(UndName,0,['/home/operateur/GrpGMI/' UndName '/' UndName '_CVE_' num2str(Cur)],0,0)
+    copyfile(['/home/operateur/GrpGMI/' UndName '/' UndName '_CVE_' num2str(Cur) '.mat'],[CalibrationFolder '/' UndName '_CVE_' num2str(Cur) '.mat'])
+    fprintf ('%8.4f\n',Cur)
+end
+idSetCurrentSync(idDevServCVEAttr, 0, 0.01);
+pause(t0)
+for Cur=CurMin:CurStep:CurMax
+    idSetCurrentSync(idDevServCVSAttr, Cur, 0.01);
+    pause(t0)
+    stMeas=idMeasElecBeamUnd(UndName,0,['/home/operateur/GrpGMI/' UndName '/' UndName '_CVS_' num2str(Cur)],0,0)
+    copyfile(['/home/operateur/GrpGMI/' UndName '/' UndName '_CVS_' num2str(Cur) '.mat'],[CalibrationFolder '/' UndName '_CVS_' num2str(Cur) '.mat'])    
+    fprintf ('%8.4f\n',Cur)
+end
+idSetCurrentSync(idDevServCVSAttr, 0, 0.01);
+pause(t0)
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/InVacBump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/InVacBump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/InVacBump.m	(revision 17)
@@ -0,0 +1,69 @@
+function InVacBump(IdName,BLName,SESSION,CellName,SSType,BPMEntrance,BPMExit, IdGap, IdGapBckg,Xmin,Xmax,XStep)
+% IdName: name of the ID: ex: 'WSV50'
+% SESSION: Name of the folder wher the bumps will be stored
+% CellName: Name of the cell: 'ANS-C03'
+% SSType: Tyep of straight section: 'L', 'M' or 'C'
+% BPMEntrance: Number of the Entrance BPM:  5
+% BPMExit: Number of the Exit BPM: 6
+% IdGap: gap of the ID
+% IdGapBckg: Background gap
+% Xmin, Xmax: min value and max value of the horizontal bump
+% XStep: Step between X values
+% Example: InVacBump('WSV50','PSICHE','SESSION_test','ANS-C03','C',5,6, 5.5, 70,-22,10,1)
+getx
+CellNumber=str2num(CellName(6:7));
+idDevServGap=[CellName '/ei/' SSType '-' IdName '/gap'];
+Path=['/home/operateur/GrpGMI/' IdName '_' BLName '/' SESSION];
+fid= fopen([Path '/BUMP_TUNES_NomGap' Num2Str(10*IdGap) '_BckgGap' Num2Str(10*IdGapBckg) '.txt'], 'w');
+Xin=readattribute([CellName '/DG/BPM.' Num2Str(BPMEntrance) '/XPosSA']);
+Zin=readattribute([CellName '/DG/BPM.' Num2Str(BPMEntrance) '/ZPosSA']);
+Xout=readattribute([CellName '/DG/BPM.' Num2Str(BPMExit) '/XPosSA']);
+Zout=readattribute([CellName '/DG/BPM.' Num2Str(BPMExit) '/ZPosSA']);
+% CANCEL THE ORBIT IN THE STRAIGHT SECTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+setorbitbump('BPMx',[CellNumber BPMEntrance;CellNumber BPMExit],-1*[Xin;Xout],'HCOR',[-8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8],'FitRF');
+%setorbitbump('BPMz',[CellNumber BPMEntrance;CellNumber BPMExit],-1*[Zin;Zout],'VCOR',[-8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8]);
+% GO TO THE MINIMUM BUMP %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+for X=0:-1:Xmin+1
+setorbitbump('BPMx',[CellNumber BPMEntrance;CellNumber BPMExit],-1*[1;1],'HCOR',[-8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8],'FitRF');
+pause(2)
+end
+
+fprintf ('%s\n','----------------------------------------------')
+fprintf ('%s\n','Bump[mm]         NuX at Nom. gap         NuZ at Nom. gap        NuX at Bckg gap         NuZ at Bckg. gap')
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+for X=Xmin:2*XStep:Xmax
+Orbit=idMeasElecBeamUnd(IdName, 0, [Path '/BUMP_' Num2Str(X) 'mm_G' Num2Str(10*IdGapBckg)], 0, 0);
+pause(2)
+TuneBckgGap=gettune;
+pause(2)
+writeattribute(idDevServGap,IdGap);
+pause(120)
+Orbit=idMeasElecBeamUnd(IdName, 0, [Path '/BUMP_' Num2Str(X) 'mm_G' Num2Str(10*IdGap)], 0, 0);
+pause(2)
+TuneGap=gettune;
+pause(2)
+fprintf (fid,'%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X,TuneGap(1),TuneGap(2),TuneBckgGap(1),TuneBckgGap(2));
+fprintf ('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X,TuneGap(1),TuneGap(2),TuneBckgGap(1),TuneBckgGap(2));
+setorbitbump('BPMx',[CellNumber BPMEntrance;CellNumber BPMExit],XStep*[1;1],'HCOR',[-8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8],'FitRF');
+pause(2)
+Orbit=idMeasElecBeamUnd(IdName, 0, [Path '/BUMP_' Num2Str(X+XStep) 'mm_G' Num2Str(10*IdGap)], 0, 0);
+pause(2)
+TuneGap=gettune;
+pause(2)
+writeattribute(idDevServGap,IdGapBckg);
+pause(120)
+Orbit=idMeasElecBeamUnd(IdName, 0, [Path '/BUMP_' Num2Str(X+XStep) 'mm_G' Num2Str(10*IdGapBckg)], 0, 0);
+pause(2)
+TuneBckgGap=gettune;
+pause(2)
+fprintf (fid,'%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X+XStep,TuneGap(1),TuneGap(2),TuneBckgGap(1),TuneBckgGap(2));
+fprintf ('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',X+XStep,TuneGap(1),TuneGap(2),TuneBckgGap(1),TuneBckgGap(2));
+setorbitbump('BPMx',[CellNumber BPMEntrance;CellNumber BPMExit],XStep*[1;1],'HCOR',[-8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8],'FitRF');
+pause(2)
+end
+
+for X=Xmax:-XStep:0
+setorbitbump('BPMx',[CellNumber BPMEntrance;CellNumber BPMExit],-1*[1;1],'HCOR',[-8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8],'FitRF');
+
+pause(2)
+end    
Index: /trunk/machine/SOLEIL/StorageRing/insertions/InVacCalcCor.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/InVacCalcCor.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/InVacCalcCor.m	(revision 17)
@@ -0,0 +1,2 @@
+function InVacCalcCor(UndName,SESSION)
+Bckg=load(['/home/operateur/GrpGMI/' UndName '/' SESSION '/Bckg.mat'];
Index: /trunk/machine/SOLEIL/StorageRing/insertions/InVac_CalcCorRespMatr.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/InVac_CalcCorRespMatr.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/InVac_CalcCorRespMatr.m	(revision 17)
@@ -0,0 +1,89 @@
+function [mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, gap, dirMeas)
+% Modified by Fabien on December 4th 2006: the correctors current values are
+% not an argument of the function anymore. See idCalcCorRespMatr_old in
+% case of problem!
+
+[arElecBeamMeasCHE, arElecBeamMeasBkgrCHE, vCurValsCHE] = idReadCorElecBeamMeasData(idName, gap, 'CHE');
+[arElecBeamMeasCVE, arElecBeamMeasBkgrCVE, vCurValsCVE] = idReadCorElecBeamMeasData(idName, gap, 'CVE');
+[arElecBeamMeasCHS, arElecBeamMeasBkgrCHS, vCurValsCHS] = idReadCorElecBeamMeasData(idName, gap, 'CHS');
+[arElecBeamMeasCVS, arElecBeamMeasBkgrCVS, vCurValsCVS] = idReadCorElecBeamMeasData(idName, gap, 'CVS');
+
+dirStart = pwd;
+if strcmp(dirMeas, '')
+    dirMeas = getfamilydata('Directory',idName);
+end
+
+cd(dirMeas);
+stMeas = load(char(arElecBeamMeasCHE(1)));
+cd(dirStart);
+
+numCurValsCHE = length(vCurValsCHE);
+numCurValsCVE = length(vCurValsCVE);
+numCurValsCHS = length(vCurValsCHS);
+numCurValsCVS = length(vCurValsCVS);
+numBPMs = length(stMeas.X);
+mCorRespX = zeros(numBPMs, 2);
+mCorRespZ = zeros(numBPMs, 2);
+
+arStMeasCHE = cell(1, numCurValsCHE);
+arStMeasCVE = cell(1, numCurValsCVE);
+arStMeasCHS = cell(1, numCurValsCHS);
+arStMeasCVS = cell(1, numCurValsCVS);
+arStMeasBkgrCHE = cell(1, numCurValsCHE);
+arStMeasBkgrCVE = cell(1, numCurValsCVE);
+arStMeasBkgrCHS = cell(1, numCurValsCHS);
+arStMeasBkgrCVS = cell(1, numCurValsCVS);
+
+cd(dirMeas);
+for j = 1:numCurValsCHE
+	arStMeasCHE{j} = load(char(arElecBeamMeasCHE(j)));
+    arStMeasBkgrCHE{j} = load(char(arElecBeamMeasBkgrCHE(j)));
+end
+for j = 1:numCurValsCVE
+    arStMeasCVE{j} = load(char(arElecBeamMeasCVE(j)));
+    arStMeasBkgrCVE{j} = load(char(arElecBeamMeasBkgrCVE(j)));
+end
+for j = 1:numCurValsCHS
+    arStMeasCHS{j} = load(char(arElecBeamMeasCHS(j)));
+	arStMeasBkgrCHS{j} = load(char(arElecBeamMeasBkgrCHS(j)));
+end
+for j = 1:numCurValsCVS
+    arStMeasCVS{j} = load(char(arElecBeamMeasCVS(j)));
+	arStMeasBkgrCVS{j} = load(char(arElecBeamMeasBkgrCVS(j)));
+end
+cd(dirStart);
+
+arAuxCHE = zeros(numCurValsCHE, 1);
+arAuxCVE = zeros(numCurValsCVE, 1);
+arAuxCHS = zeros(numCurValsCHS, 1);
+arAuxCVS = zeros(numCurValsCVS, 1);
+
+for i = 1:numBPMs
+    for j = 1:numCurValsCHE
+        stMeasCHE = arStMeasCHE{j};
+        stMeasBkgrCHE = arStMeasBkgrCHE{j};
+        arAuxCHE(j) = stMeasCHE.X(i) - stMeasBkgrCHE.X(i);
+    end
+    for j = 1:numCurValsCVE
+        stMeasCVE = arStMeasCVE{j};
+        stMeasBkgrCVE = arStMeasBkgrCVE{j};
+        arAuxCVE(j) = stMeasCVE.Z(i) - stMeasBkgrCVE.Z(i);
+    end
+    for j = 1:numCurValsCHS
+        stMeasCHS = arStMeasCHS{j};
+        stMeasBkgrCHS = arStMeasBkgrCHS{j};
+        arAuxCHS(j) = stMeasCHS.X(i) - stMeasBkgrCHS.X(i);
+    end
+    for j = 1:numCurValsCVS
+        stMeasCVS = arStMeasCVS{j};
+        stMeasBkgrCVS = arStMeasBkgrCVS{j};
+        arAuxCVS(j) = stMeasCVS.Z(i) - stMeasBkgrCVS.Z(i);
+    end
+    
+    mCorRespX(i, 1) = idLeastSqLineTilt(vCurValsCHE, arAuxCHE);
+    mCorRespX(i, 2) = idLeastSqLineTilt(vCurValsCHS, arAuxCHS);
+    mCorRespZ(i, 1) = idLeastSqLineTilt(vCurValsCVE, arAuxCVE);
+    mCorRespZ(i, 2) = idLeastSqLineTilt(vCurValsCVS, arAuxCVS);
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/InVac_CalculateCorrCur.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/InVac_CalculateCorrCur.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/InVac_CalculateCorrCur.m	(revision 17)
@@ -0,0 +1,26 @@
+function Result=InVac_CalculateCorrCur(UndName,OrbitStructFullName, RefStName)
+
+
+    
+    BPMToSkip = -1;
+    global CHE
+    global CHS
+    global CVE
+    global CVS
+    [mCorRespX, mCorRespZ] = InVac_CalcCorRespMatr(UndName, 0, ['/home/operateur/GrpGMI/' UndName]);
+
+    %[mCorRespX, mCorRespZ] = idCalcCorRespMatr('HU640_DESIRS', 0, '/home/operateur/GrpGMI/HU640_DESIRS/CORRECTEURS_ACTIFS');
+    StMeas=load(OrbitStructFullName);
+    X=StMeas.X;
+    Z=StMeas.Z;
+    RefStMeas=load(RefStName);
+    XR=RefStMeas.X;
+    ZR=RefStMeas.Z;
+    ResV=-idLeastSqLinFit(mCorRespZ, Z-ZR, BPMToSkip);
+    CVE=ResV(1);
+    CVS=ResV(2);
+    ResV=-idLeastSqLinFit(mCorRespX, X-XR, BPMToSkip);
+    CHE=ResV(1);
+    CHS= ResV(2);
+    
+    Result=[CHE, CHS, CVE, CVS];
Index: /trunk/machine/SOLEIL/StorageRing/insertions/OpenTrend.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/OpenTrend.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/OpenTrend.m	(revision 17)
@@ -0,0 +1,3 @@
+function OpenTrend()
+unix 'Trend_InVac.sh';
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/PutCurrentAndSaveOrbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/PutCurrentAndSaveOrbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/PutCurrentAndSaveOrbit.m	(revision 17)
@@ -0,0 +1,82 @@
+function PutCurrentAndSaveOrbit(IPS1_ref,IPS2_ref,IPS3_ref,IPS1,IPS2,IPS3,SESSION)
+%
+%Example
+%PutCurrentAndSaveOrbit(0,0,0,1,2,3,'SESSION_06_10_06')
+%
+
+FileNameRefStart=['HU640_PS1_' Num2Str(IPS1_ref) '_PS2_' Num2Str(IPS2_ref) '_PS3_' Num2Str(IPS3_ref) '_' Num2Str(IPS1) '_' Num2Str(IPS2) '_' Num2Str(IPS3) '_Start']
+FileName=['HU640_PS1_' Num2Str(IPS1) '_PS2_' Num2Str(IPS2) '_PS3_' Num2Str(IPS3)]
+FileNameRefEnd=['HU640_PS1_' Num2Str(IPS1_ref) '_PS2_' Num2Str(IPS2_ref) '_PS3_' Num2Str(IPS3_ref) '_' Num2Str(IPS1) '_' Num2Str(IPS2) '_' Num2Str(IPS3) '_End']
+
+PathAndFileNameRefStart=['/home/matlabML/measdata/Ringdata/insertions/HU640_DESIRS/' SESSION  '/DataInMatlabFormat/' FileNameRefStart];
+PathAndFileNameRefEnd=['/home/matlabML/measdata/Ringdata/insertions/HU640_DESIRS/' SESSION  '/DataInMatlabFormat/' FileNameRefEnd];
+PathAndFileName=['/home/matlabML/measdata/Ringdata/insertions/HU640_DESIRS/' SESSION  '/DataInMatlabFormat/' FileName];
+idDevServMain01 = 'ans-c05/ei/l-hu640_ps1';
+idDevServMain02 = 'ans-c05/ei/l-hu640_ps2';
+idDevServMain03 = 'ans-c05/ei/l-hu640_ps3';
+
+%Put the Start Reference Current and Save In Matlab Format
+idSetCurrentSync(idDevServMain01, IPS1_ref, 0.1);
+idSetCurrentSync(idDevServMain02, IPS2_ref, 0.1);
+idSetCurrentSync(idDevServMain03, IPS3_ref, 0.1);
+
+pause(20)
+
+Orbit_RefStart=idMeasElecBeamUnd('HU640_DESIRS', 1, PathAndFileNameRefStart, 1);
+
+
+
+
+%Put the Nominal Current and Save In Matlab Format
+idSetCurrentSync(idDevServMain01, IPS1, 0.1);
+idSetCurrentSync(idDevServMain02, IPS2, 0.1);
+idSetCurrentSync(idDevServMain03, IPS3, 0.1);
+
+pause(20)
+
+Orbit=idMeasElecBeamUnd('HU640_DESIRS', 1, PathAndFileName, 1);
+
+
+%Put the End Reference Current and Save In Matlab Format
+idSetCurrentSync(idDevServMain01, IPS1_ref, 0.1);
+idSetCurrentSync(idDevServMain02, IPS2_ref, 0.1);
+idSetCurrentSync(idDevServMain03, IPS3_ref, 0.1);
+
+pause(20)
+
+Orbit_RefEnd=idMeasElecBeamUnd('HU640_DESIRS', 1, PathAndFileNameRefEnd, 1);
+
+%Evaluation of the orbit Distortion
+dOrbit_X=Orbit.X-0.5*(Orbit_RefStart.X+Orbit_RefEnd.X);
+dOrbit_Z=Orbit.Z-0.5*(Orbit_RefStart.Z+Orbit_RefEnd.Z);
+
+% Plot Orbit Distortion
+
+BPMx.Position = getspos('BPMx');
+xdata = BPMx.Position;
+
+
+figure(10)
+plot(xdata,(dOrbit_X),'r.-')
+title('DÃ©placement relatif d''orbite horizontal')
+xlabel('position des BPM (m)')
+
+figure(11)  
+plot(xdata,(dOrbit_Z),'b.-')
+title('DÃ©placement relatif d''orbite verticale')
+xlabel('position des BPM (m)')  
+
+% Plot Orbit before and after nominal current change
+
+figure(12)
+plot(xdata,(Orbit_RefStart.X),'b-',xdata,(Orbit_RefEnd.X),'r-')
+title('DÃ©placement relatif d''orbite horizontal')
+legend('Before nominal current change','After nominal current change')
+xlabel('position des BPM (m)')
+
+
+figure(13)
+plot(xdata,(Orbit_RefStart.Z),'b-',xdata,(Orbit_RefEnd.Z),'r-')
+title('DÃ©placement relatif d''orbite verticale')
+legend('Before nominal current change','After nominal current change')
+xlabel('position des BPM (m)')
Index: /trunk/machine/SOLEIL/StorageRing/insertions/ReadTrendParam.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/ReadTrendParam.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/ReadTrendParam.m	(revision 17)
@@ -0,0 +1,32 @@
+function ReadTrendParam(CellName,SSType,IDName)
+% CellName: Name of Cell: ex: 'ANS-C03'
+% SSType: Type of Cell: 'C', 'M' or 'L'
+% example: ReadTrendParam('ANS-C03','C','WSV50')
+File='/home/operateur/GrpGMI/Trend_InVac.txt';
+File1='/home/operateur/GrpGMI/Trend_InVac_test.txt';
+fidread = fopen(File,'r');
+fidwrite = fopen(File1,'w');
+for j=1:1:116
+    A = fgetl(fidread);
+    if (j==60)
+        A=['dv0_name:'CellName '/EI/' SSType '-' IDName '/gap']
+    end
+    if (j==79)
+        A=['dv1_name:' CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionX']
+    end
+    if (j==98)
+        A=['dv2_name:'CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionZ']
+    end
+
+    fprintf(fidwrite,'%s\n', A);
+end
+fclose(fidread);
+fclose(fidwrite);
+
+
+%Trend_param(60)=['dv0_name:'CellName '/EI/' SSType '-' IDName '/gap']
+%Trend_param(79)=['dv1_name:' CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionX']
+%Trend_param(98)=['dv2_name:'CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionZ']
+
+end
+    
Index: /trunk/machine/SOLEIL/StorageRing/insertions/SaveBumpOrbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/SaveBumpOrbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/SaveBumpOrbit.m	(revision 17)
@@ -0,0 +1,27 @@
+function ReadTrendParam(CellName,SSType,IDName)
+% CellName: Name of Cell: ex: 'ANS-C03'
+% SSType: Type of Cell: 'C', 'M' or 'L'
+% example: ReadTrendParam('ANS-C03','C','WSV50')
+File='/home/operateur/GrpGMI/Trend_InVac.txt';
+File1='/home/operateur/GrpGMI/Trend_InVac_test.txt';
+fidread = fopen(File,'r');
+fidwrite = fopen(File1,'w');
+for j=1:1:116
+    A = fgetl(fidread);
+    if (j==60)
+        A=
+    end
+
+    if j=60
+    fprintf(fidwrite,'%s\n', A);
+end
+fclose(fidread);
+fclose(fidwrite);
+
+
+%Trend_param(60)=['dv0_name:'CellName '/EI/' SSType '-' IDName '/gap']
+%Trend_param(79)=['dv1_name:' CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionX']
+%Trend_param(98)=['dv2_name:'CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionZ']
+
+end
+    
Index: /trunk/machine/SOLEIL/StorageRing/insertions/Update_InVacID.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/Update_InVacID.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/Update_InVacID.m	(revision 17)
@@ -0,0 +1,137 @@
+function Update_InVacID(SESSION,CellName,SSType,UndType,TableName,SufUndName)
+% SESSION: Folder where the data are stored: must be created previously
+% CellName: name of the cell in the SR: for ex. ANS-C11
+% SSType: Type of Straight Section: C or M or L
+% UndType: Type of ID: U18 (CRYO), U20, U24 or WSV50
+% TableName : Name of the FF Table: for ex. FF_SIXS.txt. This table must
+% previously exists, otherwise use GenerateFFtableWithZeros which creates a
+% FF tables containing zeros with exponential step
+% SufUndName is the suffix which indicates the position of the ID in the
+% Straight Section: SufUndName can be:
+%   '': when no other ID is installed in the SS
+%   '.1','.2' ...: when the ID is installed at the position 1,2 ...
+% Example:  Update_InVacID('SESSION_24_01_10','ANS-C11','M','U24','FF_PROXIMA2.txt','')
+% Example:  Update_InVacID('SESSION_24_01_10','ANS-C07','C','U20','FF_GALAXIES.txt','')
+% Example:  Update_InVacID('SESSION_26_06_10','ANS-C03','C','WSV50','FF_PSICHE.txt','')
+% Example:  Update_InVacID('SESSION_23_09_11','ANS-C13','L','U18','FF_TOMO.txt','.1')
+% Example:  Update_InVacID('SESSION_06_11_11','ANS-C13','L','U20','FF_NANO.txt','.2')
+
+    global CHE
+    global CHS
+    global CVE
+    global CVS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
+% PARAMETERS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+getx % avoid NaN Values due to Timeout BPMs reading
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% READ THE CORRECTORS CURRENT IN THE PREVIOUS FF TABLE
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+UndNameAndPath=['/usr/Local/configFiles/InsertionFFTables/' CellName '-' UndType '/' TableName]
+ID_param=importdata(UndNameAndPath);
+param_length=length(ID_param);
+t0=10; % time between points
+
+% ID_param(i,j):
+%               ID_param(1,j): line corresponding to the gap for any value of j
+%               ID_param(2,j): line corresponding to CHE for any value of j
+%               ID_param(3,j): line corresponding to CVE for any value of j
+%               ID_param(4,j): line corresponding to CHS for any value of j
+%               ID_param(5,j): line corresponding to CVS for any value of j
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ATTRIBUTE OF THE INSERTION DEVICE
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+idDevServGap=[CellName '/ei/' SSType '-' UndType SufUndName '/gap']
+idDevServCHE=[CellName '/ei/' SSType '-' UndType SufUndName '_CHAN1'];
+idDevServCVE=[CellName '/ei/' SSType '-' UndType SufUndName '_CHAN2'];
+idDevServCHS=[CellName '/ei/' SSType '-' UndType SufUndName '_CHAN3'];
+idDevServCVS=[CellName '/ei/' SSType '-' UndType SufUndName '_CHAN4'];
+
+str1 = strrep(TableName, 'FF', UndType);
+UndName=strrep(str1, '.txt', '')
+GrpGMIUndFolder =['/home/operateur/GrpGMI/' UndName]
+GrpGMIUndFolderAndSessionName=[GrpGMIUndFolder '/' SESSION]
+PathAndBckgFileName=[GrpGMIUndFolder '/' SESSION '/Bckg']
+Date=datestr(clock,'mmm-dd-yyyy HH:MM:SS')
+%Position_SourceX=[CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionX'];
+%Position_SourceZ=[CellName '/DG/CALC-SD' SSType '-POSITION-ANGLE/positionZ'];
+Orbit=idMeasElecBeamUnd(UndName, 0,PathAndBckgFileName, 0, 0);
+fprintf('%s\t %s\t %s\t %s\t %s\n','ENTREFER','CHE [A]', 'CHS [A]', 'CVE [A]', 'CVS [A]');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% FEEDFORWARD TABLE CONSTRUCTION
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+for j=param_length:-1:1
+
+    UndFileName=[GrpGMIUndFolderAndSessionName '_' Num2Str(1000*ID_param(1,j))];
+    writeattribute(idDevServGap,ID_param(1,j));
+    pause(t0)
+    idSetCurrentSync(idDevServCHE, ID_param(2,j), 0.01);
+    idSetCurrentSync(idDevServCVE, ID_param(3,j), 0.01);
+    idSetCurrentSync(idDevServCHS, ID_param(4,j), 0.01);
+    idSetCurrentSync(idDevServCVS, ID_param(5,j), 0.01);
+    pause(t0)
+    Orbit=idMeasElecBeamUnd(UndName, 0,UndFileName, 0, 0);
+    Result=InVac_CalculateCorrCur(UndName,UndFileName, PathAndBckgFileName);
+    NewCHE(j)=ID_param(2,j)+CHE;
+    NewCVE(j)=ID_param(3,j)+CVE;
+    NewCHS(j)=ID_param(4,j)+CHS;
+    NewCVS(j)=ID_param(5,j)+CVS;
+
+    fprintf('%8.4f\t %8.4f\t %8.4f\t %8.4f\t %8.4f\n',ID_param(1,j),NewCHE(j), NewCHS(j), NewCVE(j), NewCVS(j));
+    idSetCurrentSync(idDevServCHE, NewCHE(j), 0.01);
+    idSetCurrentSync(idDevServCHS, NewCHS(j), 0.01);
+    idSetCurrentSync(idDevServCVE, NewCVE(j), 0.01);
+    idSetCurrentSync(idDevServCVS, NewCVS(j), 0.01);
+    pause(t0)
+end
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% SAVE THE NEW FEEDFORWARD TABLE
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Date=datestr(clock,'mmm-dd-yyyy HH:MM:SS')
+fidNew= fopen([GrpGMIUndFolder '/' SESSION '/' UndName '_' Date '.txt'], 'w');
+for j=1:param_length
+ fprintf(fidNew,'%8.4f\t',ID_param(1,j));   
+end   
+fprintf(fidNew,'\n'); 
+
+
+% The order of storage of corrector values must be CHE, CHS, CVE, CVS. But in the Device Server CVE and CHS are reversed
+for j=1:param_length
+ fprintf(fidNew,'%8.4f\t',NewCHE(j));   
+end   
+fprintf(fidNew,'\n'); 
+
+for j=1:param_length
+ fprintf(fidNew,'%8.4f\t',NewCVE(j));   
+end   
+fprintf(fidNew,'\n'); 
+
+for j=1:param_length
+ fprintf(fidNew,'%8.4f\t',NewCHS(j));   
+end   
+fprintf(fidNew,'\n'); 
+
+for j=1:param_length
+ fprintf(fidNew,'%8.4f\t',NewCVS(j));   
+end   
+fprintf(fidNew,'\n'); 
+
+copyfile([GrpGMIUndFolder '/' SESSION '/' UndName '_' Date '.txt'] ,['/usr/Local/configFiles/InsertionFFTables/' CellName '-' UndType '/FF.txt'])
+copyfile([GrpGMIUndFolder '/' SESSION '/' UndName '_' Date '.txt'] ,['/usr/Local/configFiles/InsertionFFTables/' CellName '-' UndType '/FF_' Date '.txt'])
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% GAP OPENING
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+for j=1:param_length
+    writeattribute(idDevServGap,ID_param(1,j));
+    pause(t0)
+    idSetCurrentSync(idDevServCHE, NewCHE(j), 0.01);
+    idSetCurrentSync(idDevServCHS, NewCHS(j), 0.01);
+    idSetCurrentSync(idDevServCVE, NewCVE(j), 0.01);
+    idSetCurrentSync(idDevServCVS, NewCVS(j), 0.01);
+end
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+fclose(fidNew);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/hs_err_pid4512.log
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/hs_err_pid4512.log	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/hs_err_pid4512.log	(revision 17)
@@ -0,0 +1,303 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0e92c9, pid=4512, tid=3604
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
+# Problematic frame:
+# C  [awt.dll+0xe92c9]
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x0eea6df0):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3604]
+
+siginfo: ExceptionCode=0xc0000005, reading address 0x00000019
+
+Registers:
+EAX=0x0efc55d8, EBX=0x00000000, ECX=0x0ef7ef58, EDX=0x00000001
+ESP=0x0f64f5ec, EBP=0x0f64f618, ESI=0x0d17a458, EDI=0x0eea6eac
+EIP=0x6d0e92c9, EFLAGS=0x00010246
+
+Top of Stack: (sp=0x0f64f5ec)
+0x0f64f5ec:   0d17a458 6d0ea30d 00000001 0f64f604
+0x0f64f5fc:   0eea6df0 0d17a458 00000000 00000000
+0x0f64f60c:   00000000 00000000 0eeabf48 0f64f648
+0x0f64f61c:   04dd826f 0ee08f0a 0f64f65c 00000001
+0x0f64f62c:   0f64f62c 00000000 0f64f65c 0d17b8f0
+0x0f64f63c:   00000000 0d17a458 0f64f658 0f64f67c
+0x0f64f64c:   04dd29fa 00000000 04dd6453 00000001
+0x0f64f65c:   07b19ca0 0f64f660 0d17a4d0 0f64f684 
+
+Instructions: (pc=0x6d0e92c9)
+0x6d0e92b9:   4f fc ff 8b 4c 24 08 8b 14 88 8b 0d 6c ff 12 6d
+0x6d0e92c9:   8b 72 18 e8 af 4f fc ff 8b c6 5e c3 90 90 90 90 
+
+
+Stack: [0x0f5d0000,0x0f650000),  sp=0x0f64f5ec,  free space=509k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  [awt.dll+0xe92c9]
+j  sun.awt.Win32GraphicsConfig.getBounds(I)Ljava/awt/Rectangle;+0
+j  sun.awt.Win32GraphicsConfig.getBounds()Ljava/awt/Rectangle;+8
+j  com.mathworks.mwswing.MJUtilities.getVirtualScreenBounds()Ljava/awt/Rectangle;+48
+j  com.mathworks.mwswing.text.TokenMatchPopup.outOfScreenBounds(Ljava/awt/Rectangle;ZZ)Z+0
+j  com.mathworks.mwswing.text.TokenMatchPopup.showIfNecessary(Ljavax/swing/text/JTextComponent;IZ)V+350
+j  com.mathworks.mde.cmdwin.TokenMatcher.mark(IILcom/mathworks/mde/cmdwin/TokenMatcher$SearchData;)V+90
+j  com.mathworks.mde.cmdwin.TokenMatcher.access$100(Lcom/mathworks/mde/cmdwin/TokenMatcher;IILcom/mathworks/mde/cmdwin/TokenMatcher$SearchData;)V+4
+j  com.mathworks.mde.cmdwin.TokenMatcher$DeferredMarker.run()V+19
+J  java.awt.event.InvocationEvent.dispatch()V
+J  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
+J  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
+J  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V
+v  ~OSRAdapter
+j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
+j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
+j  java.awt.EventDispatchThread.run()V+9
+v  ~StubRoutines::call_stub
+V  [jvm.dll+0x8168d]
+V  [jvm.dll+0xd4179]
+V  [jvm.dll+0x8155e]
+V  [jvm.dll+0x812bb]
+V  [jvm.dll+0x9bbe9]
+V  [jvm.dll+0xfe77f]
+V  [jvm.dll+0xfe74d]
+C  [msvcrt.dll+0x2a3b0]
+C  [kernel32.dll+0xb683]
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  sun.awt.Win32GraphicsConfig.getBounds(I)Ljava/awt/Rectangle;+0
+j  sun.awt.Win32GraphicsConfig.getBounds()Ljava/awt/Rectangle;+8
+j  com.mathworks.mwswing.MJUtilities.getVirtualScreenBounds()Ljava/awt/Rectangle;+48
+j  com.mathworks.mwswing.text.TokenMatchPopup.outOfScreenBounds(Ljava/awt/Rectangle;ZZ)Z+0
+j  com.mathworks.mwswing.text.TokenMatchPopup.showIfNecessary(Ljavax/swing/text/JTextComponent;IZ)V+350
+j  com.mathworks.mde.cmdwin.TokenMatcher.mark(IILcom/mathworks/mde/cmdwin/TokenMatcher$SearchData;)V+90
+j  com.mathworks.mde.cmdwin.TokenMatcher.access$100(Lcom/mathworks/mde/cmdwin/TokenMatcher;IILcom/mathworks/mde/cmdwin/TokenMatcher$SearchData;)V+4
+j  com.mathworks.mde.cmdwin.TokenMatcher$DeferredMarker.run()V+19
+J  java.awt.event.InvocationEvent.dispatch()V
+J  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
+J  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
+J  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V
+v  ~OSRAdapter
+j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
+j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
+j  java.awt.EventDispatchThread.run()V+9
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x0ef67838 JavaThread "Thread-49" [_thread_blocked, id=3044]
+  0x0ef88ca8 JavaThread "Thread-48" [_thread_blocked, id=5688]
+  0x0ee56610 JavaThread "Thread-47" [_thread_blocked, id=3040]
+  0x0ee68908 JavaThread "Thread-46" [_thread_blocked, id=3760]
+  0x0ee807c0 JavaThread "Thread-45" [_thread_blocked, id=1256]
+  0x0ee6ab08 JavaThread "Prefs Updater" [_thread_blocked, id=3172]
+  0x0f819e40 JavaThread "Text-Layout" [_thread_blocked, id=1360]
+  0x0f7b38d0 JavaThread "Thread-38" [_thread_blocked, id=5496]
+  0x0f7b1ca0 JavaThread "Thread-37" [_thread_blocked, id=5096]
+  0x0f7b0b60 JavaThread "Thread-36" [_thread_blocked, id=5504]
+  0x0f7c0c68 JavaThread "Thread-35" [_thread_blocked, id=6028]
+  0x0f7c06f0 JavaThread "Thread-34" [_thread_blocked, id=6020]
+  0x0f7abc50 JavaThread "Thread-33" [_thread_blocked, id=5284]
+  0x0ee61418 JavaThread "Thread-32" [_thread_blocked, id=4088]
+  0x0ee611e0 JavaThread "Thread-31" [_thread_blocked, id=6012]
+  0x0f7a6868 JavaThread "Thread-29" [_thread_blocked, id=1580]
+  0x0f79f0e8 JavaThread "Thread-28" [_thread_blocked, id=5908]
+  0x0f7a1e18 JavaThread "Thread-27" [_thread_blocked, id=724]
+  0x0f7a0a08 JavaThread "Thread-26" [_thread_blocked, id=4544]
+  0x0f79c838 JavaThread "Thread-25" [_thread_blocked, id=1028]
+  0x0f79b538 JavaThread "Thread-24" [_thread_blocked, id=4752]
+  0x0f793278 JavaThread "Thread-23" [_thread_blocked, id=5984]
+  0x0f78f5f0 JavaThread "Thread-22" [_thread_blocked, id=4292]
+  0x0f78e370 JavaThread "Thread-21" [_thread_blocked, id=5264]
+  0x0f78d120 JavaThread "Thread-20" [_thread_blocked, id=2248]
+  0x0ee858d0 JavaThread "Thread-19" [_thread_blocked, id=6036]
+  0x0ee85718 JavaThread "Thread-18" [_thread_blocked, id=5388]
+  0x0f783098 JavaThread "Thread-17" [_thread_blocked, id=5912]
+  0x0f77ccb0 JavaThread "Thread-16" [_thread_blocked, id=4392]
+  0x0f77bcf0 JavaThread "Thread-15" [_thread_blocked, id=5864]
+  0x0f7755b0 JavaThread "Thread-14" [_thread_blocked, id=5028]
+  0x0f770868 JavaThread "Thread-13" [_thread_blocked, id=3212]
+  0x0f76ffd0 JavaThread "Thread-12" [_thread_blocked, id=5792]
+  0x0f753a70 JavaThread "Thread-11" [_thread_blocked, id=1136]
+  0x0f741d50 JavaThread "Thread-10" [_thread_blocked, id=1036]
+  0x0f740bf0 JavaThread "Thread-9" [_thread_blocked, id=2580]
+  0x0f7576f8 JavaThread "Thread-8" [_thread_blocked, id=5736]
+  0x0f738008 JavaThread "Thread-7" [_thread_blocked, id=1024]
+  0x0f695c38 JavaThread "Thread-6" [_thread_blocked, id=3672]
+  0x0f6e6568 JavaThread "Timer-2" daemon [_thread_blocked, id=2712]
+  0x0eeb1dd0 JavaThread "Timer-1" [_thread_blocked, id=2992]
+  0x0eefe298 JavaThread "TimerQueue" daemon [_thread_blocked, id=5472]
+=>0x0eea6df0 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3604]
+  0x0ee29758 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5704]
+  0x0edefb80 JavaThread "Timer-0" [_thread_blocked, id=3932]
+  0x0edf38c0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4108]
+  0x043940d0 JavaThread "AWT-Shutdown" [_thread_blocked, id=4160]
+  0x03e05350 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5332]
+  0x03e03f28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4924]
+  0x03e032b0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4268]
+  0x03dfa6b0 JavaThread "Finalizer" daemon [_thread_blocked, id=3092]
+  0x03df9220 JavaThread "Reference Handler" daemon [_thread_blocked, id=4712]
+  0x002aac30 JavaThread "main" [_thread_in_native, id=4600]
+
+Other Threads:
+  0x03df50f0 VMThread [id=5364]
+  0x03e06528 WatcherThread [id=2640]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 15872K, used 14269K [0x06dd0000, 0x07f00000, 0x085d0000)
+  eden space 14144K,  97% used [0x06dd0000, 0x07b377c0, 0x07ba0000)
+  from space 1728K,  31% used [0x07d50000, 0x07dd7d08, 0x07f00000)
+  to   space 1728K,   0% used [0x07ba0000, 0x07ba0000, 0x07d50000)
+ tenured generation   total 52136K, used 43071K [0x085d0000, 0x0b8ba000, 0x0cdd0000)
+   the space 52136K,  82% used [0x085d0000, 0x0afdffc8, 0x0afe0000, 0x0b8ba000)
+ compacting perm gen  total 20736K, used 20591K [0x0cdd0000, 0x0e210000, 0x0edd0000)
+   the space 20736K,  99% used [0x0cdd0000, 0x0e1ebe50, 0x0e1ec000, 0x0e210000)
+No shared spaces configured.
+
+Dynamic libraries:
+0x00400000 - 0x00506000 	E:\Matlab2006a\bin\win32\MATLAB.exe
+0x7c910000 - 0x7c9c7000 	C:\WINDOWS\system32\ntdll.dll
+0x7c800000 - 0x7c905000 	C:\WINDOWS\system32\kernel32.dll
+0x78740000 - 0x78aa7000 	E:\Matlab2006a\bin\win32\m_interpreter.dll
+0x78290000 - 0x78430000 	E:\Matlab2006a\bin\win32\xerces-c_2_6.dll
+0x781f0000 - 0x78284000 	E:\Matlab2006a\bin\win32\icuuc32.dll
+0x77da0000 - 0x77e4c000 	C:\WINDOWS\system32\ADVAPI32.dll
+0x77e50000 - 0x77ee1000 	C:\WINDOWS\system32\RPCRT4.dll
+0x10000000 - 0x10005000 	E:\Matlab2006a\bin\win32\icudt32.dll
+0x7c340000 - 0x7c396000 	E:\Matlab2006a\bin\win32\MSVCR71.dll
+0x78d20000 - 0x78d9b000 	E:\Matlab2006a\bin\win32\mlib.dll
+0x78440000 - 0x784fa000 	E:\Matlab2006a\bin\win32\libut.dll
+0x78100000 - 0x781aa000 	E:\Matlab2006a\bin\win32\icuin32.dll
+0x781b0000 - 0x781bb000 	E:\Matlab2006a\bin\win32\icuio32.dll
+0x7c3a0000 - 0x7c41b000 	E:\Matlab2006a\bin\win32\MSVCP71.dll
+0x76c40000 - 0x76c68000 	C:\WINDOWS\system32\imagehlp.dll
+0x77be0000 - 0x77c38000 	C:\WINDOWS\system32\msvcrt.dll
+0x7e390000 - 0x7e420000 	C:\WINDOWS\system32\USER32.dll
+0x77ef0000 - 0x77f37000 	C:\WINDOWS\system32\GDI32.dll
+0x774a0000 - 0x775dd000 	C:\WINDOWS\system32\ole32.dll
+0x770e0000 - 0x7716c000 	C:\WINDOWS\system32\OLEAUT32.dll
+0x78dc0000 - 0x78fe1000 	E:\Matlab2006a\bin\win32\libmwservices.dll
+0x76340000 - 0x7638a000 	C:\WINDOWS\system32\comdlg32.dll
+0x77f40000 - 0x77fb6000 	C:\WINDOWS\system32\SHLWAPI.dll
+0x58b50000 - 0x58bea000 	C:\WINDOWS\system32\COMCTL32.dll
+0x7c9d0000 - 0x7d1f3000 	C:\WINDOWS\system32\SHELL32.dll
+0x78500000 - 0x78540000 	E:\Matlab2006a\bin\win32\libmx.dll
+0x78430000 - 0x7843e000 	E:\Matlab2006a\bin\win32\libz.dll
+0x00220000 - 0x0027e000 	E:\Matlab2006a\bin\win32\libmwmathutil.dll
+0x78570000 - 0x7858a000 	E:\Matlab2006a\bin\win32\mpath.dll
+0x6fee0000 - 0x6ff34000 	C:\WINDOWS\system32\NETAPI32.dll
+0x719f0000 - 0x71a07000 	C:\WINDOWS\system32\WS2_32.dll
+0x719e0000 - 0x719e8000 	C:\WINDOWS\system32\WS2HELP.dll
+0x78cd0000 - 0x78ce4000 	E:\Matlab2006a\bin\win32\m_pcodegen.dll
+0x78c50000 - 0x78ccc000 	E:\Matlab2006a\bin\win32\m_ir.dll
+0x78540000 - 0x7854f000 	E:\Matlab2006a\bin\win32\libmex.dll
+0x786d0000 - 0x78740000 	E:\Matlab2006a\bin\win32\m_dispatcher.dll
+0x78da0000 - 0x78db6000 	E:\Matlab2006a\bin\win32\datasvcs.dll
+0x78560000 - 0x7856e000 	E:\Matlab2006a\bin\win32\mvalue.dll
+0x78cf0000 - 0x78d04000 	E:\Matlab2006a\bin\win32\m_pcodeio.dll
+0x78ab0000 - 0x78c47000 	E:\Matlab2006a\bin\win32\m_parser.dll
+0x78d10000 - 0x78d1d000 	E:\Matlab2006a\bin\win32\ir_xfmr.dll
+0x78590000 - 0x78632000 	E:\Matlab2006a\bin\win32\mcos.dll
+0x78550000 - 0x7855e000 	E:\Matlab2006a\bin\win32\libmat.dll
+0x793f0000 - 0x7940d000 	E:\Matlab2006a\bin\win32\mcr.dll
+0x79ce0000 - 0x79d1b000 	E:\Matlab2006a\bin\win32\comcli.dll
+0x79cb0000 - 0x79cdb000 	E:\Matlab2006a\bin\win32\jmi.dll
+0x79d70000 - 0x79d90000 	E:\Matlab2006a\bin\win32\bridge.dll
+0x78640000 - 0x786c3000 	E:\Matlab2006a\bin\win32\udd.dll
+0x790e0000 - 0x79158000 	E:\Matlab2006a\bin\win32\uiw.dll
+0x79160000 - 0x79183000 	E:\Matlab2006a\bin\win32\libuij.dll
+0x791a0000 - 0x7923d000 	E:\Matlab2006a\bin\win32\libmwgui.dll
+0x79190000 - 0x79199000 	E:\Matlab2006a\bin\win32\uinone.dll
+0x793c0000 - 0x793eb000 	E:\Matlab2006a\bin\win32\libmwhardcopy.dll
+0x7c140000 - 0x7c243000 	E:\Matlab2006a\bin\win32\MFC71.DLL
+0x72f50000 - 0x72f76000 	C:\WINDOWS\system32\WINSPOOL.DRV
+0x7c120000 - 0x7c139000 	E:\Matlab2006a\bin\win32\ATL71.DLL
+0x79c40000 - 0x79c50000 	E:\Matlab2006a\bin\win32\mwoles05.dll
+0x79c50000 - 0x79ca5000 	E:\Matlab2006a\bin\win32\udd_mi.dll
+0x79d20000 - 0x79d29000 	E:\Matlab2006a\bin\win32\mlautoregister.dll
+0x79240000 - 0x79397000 	E:\Matlab2006a\bin\win32\hg.dll
+0x79410000 - 0x79582000 	E:\Matlab2006a\bin\win32\numerics.dll
+0x79b80000 - 0x79b87000 	E:\Matlab2006a\bin\win32\libmwamd.dll
+0x79b90000 - 0x79bc9000 	E:\Matlab2006a\bin\win32\libmwcholmod.dll
+0x79bd0000 - 0x79bd6000 	E:\Matlab2006a\bin\win32\libmwcolamd.dll
+0x79590000 - 0x795b3000 	E:\Matlab2006a\bin\win32\libmwlapack.dll
+0x795f0000 - 0x79676000 	E:\Matlab2006a\bin\win32\libfftw3.dll
+0x79680000 - 0x79701000 	E:\Matlab2006a\bin\win32\libfftw3f.dll
+0x79be0000 - 0x79c35000 	E:\Matlab2006a\bin\win32\libmwumfpack.dll
+0x77390000 - 0x77493000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
+0x7c300000 - 0x7c30f000 	E:\Matlab2006a\bin\win32\MFC71FRA.DLL
+0x795c0000 - 0x795e8000 	E:\Matlab2006a\bin\win32\mkl.dll
+0x79710000 - 0x79b7f000 	E:\Matlab2006a\bin\win32\lapack.dll
+0x01e20000 - 0x01eca000 	E:\Matlab2006a\bin\win32\libifcoremd.dll
+0x01ed0000 - 0x02100000 	E:\Matlab2006a\bin\win32\libmmd.dll
+0x741e0000 - 0x741e4000 	C:\WINDOWS\system32\icmp.Dll
+0x76d10000 - 0x76d29000 	C:\WINDOWS\system32\iphlpapi.dll
+0x77fc0000 - 0x77fd1000 	C:\WINDOWS\system32\Secur32.dll
+0x74cd0000 - 0x74cee000 	C:\WINDOWS\system32\wshbth.dll
+0x778e0000 - 0x779d8000 	C:\WINDOWS\system32\SETUPAPI.dll
+0x71990000 - 0x719d0000 	C:\WINDOWS\System32\mswsock.dll
+0x76ed0000 - 0x76ef7000 	C:\WINDOWS\system32\DNSAPI.dll
+0x76f60000 - 0x76f68000 	C:\WINDOWS\System32\winrnr.dll
+0x76f10000 - 0x76f3d000 	C:\WINDOWS\system32\WLDAP32.dll
+0x5b090000 - 0x5b0c8000 	C:\WINDOWS\system32\uxtheme.dll
+0x76f70000 - 0x76f76000 	C:\WINDOWS\system32\rasadhlp.dll
+0x20b00000 - 0x20b4b000 	C:\WINDOWS\system32\imon.dll
+0x71a10000 - 0x71a1a000 	C:\WINDOWS\system32\WSOCK32.dll
+0x20c00000 - 0x20c0d000 	C:\Program Files\Eset\pr_imon.dll
+0x62e40000 - 0x62e99000 	C:\WINDOWS\system32\hnetcfg.dll
+0x719d0000 - 0x719d8000 	C:\WINDOWS\System32\wshtcpip.dll
+0x74690000 - 0x746db000 	C:\WINDOWS\system32\MSCTF.dll
+0x04440000 - 0x0446b000 	C:\Program Files\ScanSoft\OmniPageSE\ophook32.dll
+0x77bd0000 - 0x77bd8000 	C:\WINDOWS\system32\VERSION.dll
+0x6d640000 - 0x6d7c5000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\client\jvm.dll
+0x76ae0000 - 0x76b0f000 	C:\WINDOWS\system32\WINMM.dll
+0x6d280000 - 0x6d288000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\hpi.dll
+0x76ba0000 - 0x76bab000 	C:\WINDOWS\system32\PSAPI.DLL
+0x6d610000 - 0x6d61c000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\verify.dll
+0x6d300000 - 0x6d31d000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\java.dll
+0x6d630000 - 0x6d63f000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\zip.dll
+0x79d90000 - 0x79da2000 	E:\Matlab2006a\bin\win32\jmi_mi.dll
+0x6d000000 - 0x6d166000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\awt.dll
+0x76320000 - 0x7633d000 	C:\WINDOWS\system32\IMM32.dll
+0x7ac00000 - 0x7ac0c000 	E:\Matlab2006a\bin\win32\nativejava.dll
+0x6d240000 - 0x6d27d000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\fontmanager.dll
+0x6d4c0000 - 0x6d4d3000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\net.dll
+0x6d4e0000 - 0x6d4e9000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\nio.dll
+0x043c0000 - 0x043c5000 	E:\Matlab2006a\bin\win32\nativeservices.dll
+0x7ac10000 - 0x7ac1c000 	E:\Matlab2006a\bin\win32\nativelex.dll
+0x043e0000 - 0x043e9000 	E:\Matlab2006a\bin\win32\nativemlint.dll
+0x0ff50000 - 0x0ff75000 	E:\Matlab2006a\bin\win32\mwmlint.dll
+0x60600000 - 0x6064a000 	C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\hpzntp07.dll
+0x6d1c0000 - 0x6d1e3000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\dcpr.dll
+0x78ff0000 - 0x790d8000 	E:\Matlab2006a\bin\win32\libmwbuiltins.dll
+0x04a20000 - 0x04a73000 	E:\Matlab2006a\bin\win32\xmlcore.dll
+0x04c00000 - 0x04c05000 	E:\Matlab2006a\toolbox\matlab\timefun\datenummx.mexw32
+0x20000000 - 0x202da000 	C:\WINDOWS\system32\xpsp2res.dll
+
+VM Arguments:
+jvm_args: -Xss512k -XX:PermSize=16M -Xms64m -Xmx96m -XX:NewRatio=3 -XX:MaxPermSize=32M -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Xshare:off -Djava.library.path=E:\Matlab2006a\bin\win32 vfprintf abort
+java_command: <unknown>
+
+Environment Variables:
+CLASSPATH=C:\Program Files\Java\j2re1.4.2\lib\ext\QTJava.zip
+PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;c:\program files\ati technologies\ati control panel;c:\program files\quicktime\qtsystem\;c:\program files\microsoft sql server\90\tools\binn\;E:\Matlab2006a\bin\win32;
+USERNAME=chubar
+OS=Windows_NT
+PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
+
+
+---------------  S Y S T E M  ---------------
+
+OS: Windows XP Build 2600 Service Pack 2
+
+CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2
+
+Memory: 4k page, physical 1047952k(341092k free), swap 2519756k(1698616k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for windows-x86, built on Sep 15 2004 03:00:31 by "java_re" with MS VC++ 6.0
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/hs_err_pid484.log
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/hs_err_pid484.log	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/hs_err_pid484.log	(revision 17)
@@ -0,0 +1,324 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0e92c9, pid=484, tid=4680
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
+# Problematic frame:
+# C  [awt.dll+0xe92c9]
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x0ee775a8):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4680]
+
+siginfo: ExceptionCode=0xc0000005, reading address 0x0000006b
+
+Registers:
+EAX=0x0f674f68, EBX=0x00000000, ECX=0x0f76cb80, EDX=0x00000053
+ESP=0x0f61f3c8, EBP=0x0f61f3f4, ESI=0x0cbca458, EDI=0x0ee77664
+EIP=0x6d0e92c9, EFLAGS=0x00010246
+
+Top of Stack: (sp=0x0f61f3c8)
+0x0f61f3c8:   0cbca458 6d0ea30d 00000001 0f61f3e0
+0x0f61f3d8:   0ee775a8 0cbca458 00000000 00000000
+0x0f61f3e8:   00000000 00000000 0ee77bc8 0f61f424
+0x0f61f3f8:   0482826f 0ee61a22 0f61f438 00000001
+0x0f61f408:   0f61f408 00000000 0f61f438 0cbcb8f0
+0x0f61f418:   00000000 0cbca458 0f61f434 0f61f458
+0x0f61f428:   048229fa 00000000 04826453 00000001
+0x0f61f438:   06ba97f8 0f61f43c 0cbca4d0 0f61f460 
+
+Instructions: (pc=0x6d0e92c9)
+0x6d0e92b9:   4f fc ff 8b 4c 24 08 8b 14 88 8b 0d 6c ff 12 6d
+0x6d0e92c9:   8b 72 18 e8 af 4f fc ff 8b c6 5e c3 90 90 90 90 
+
+
+Stack: [0x0f5a0000,0x0f620000),  sp=0x0f61f3c8,  free space=508k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  [awt.dll+0xe92c9]
+j  sun.awt.Win32GraphicsConfig.getBounds(I)Ljava/awt/Rectangle;+0
+j  sun.awt.Win32GraphicsConfig.getBounds()Ljava/awt/Rectangle;+8
+j  com.mathworks.mwswing.MJUtilities.getVirtualScreenBounds()Ljava/awt/Rectangle;+48
+j  com.mathworks.mwswing.text.TokenMatchPopup.outOfScreenBounds(Ljava/awt/Rectangle;ZZ)Z+0
+j  com.mathworks.mwswing.text.TokenMatchPopup.showIfNecessary(Ljavax/swing/text/JTextComponent;IZ)V+350
+j  com.mathworks.widgets.text.MWCaret.doTokenMatchPopup(IZ)V+42
+j  com.mathworks.widgets.text.MWCaret.drawNewMarks(ZZ[II)V+116
+j  com.mathworks.widgets.text.MWCaret.updateMatchBrace(ZI)V+402
+j  com.mathworks.widgets.text.MWCaret.updateMatchBrace(Z)V+6
+j  com.mathworks.widgets.text.MWCaret.mousePressed(Ljava/awt/event/MouseEvent;)V+79
+j  com.mathworks.mwswing.datatransfer.MWMouseDragGestureRecognizer.mousePressed(Ljava/awt/event/MouseEvent;)V+43
+j  java.awt.AWTEventMulticaster.mousePressed(Ljava/awt/event/MouseEvent;)V+21
+j  java.awt.AWTEventMulticaster.mousePressed(Ljava/awt/event/MouseEvent;)V+8
+J  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V
+J  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V
+J  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V
+J  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V
+J  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V
+J  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
+J  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V
+J  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z
+J  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z
+J  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
+J  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V
+J  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
+J  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
+J  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V
+v  ~OSRAdapter
+j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
+j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
+j  java.awt.EventDispatchThread.run()V+9
+v  ~StubRoutines::call_stub
+V  [jvm.dll+0x8168d]
+V  [jvm.dll+0xd4179]
+V  [jvm.dll+0x8155e]
+V  [jvm.dll+0x812bb]
+V  [jvm.dll+0x9bbe9]
+V  [jvm.dll+0xfe77f]
+V  [jvm.dll+0xfe74d]
+C  [msvcrt.dll+0x2a3b0]
+C  [kernel32.dll+0xb683]
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  sun.awt.Win32GraphicsConfig.getBounds(I)Ljava/awt/Rectangle;+0
+j  sun.awt.Win32GraphicsConfig.getBounds()Ljava/awt/Rectangle;+8
+j  com.mathworks.mwswing.MJUtilities.getVirtualScreenBounds()Ljava/awt/Rectangle;+48
+j  com.mathworks.mwswing.text.TokenMatchPopup.outOfScreenBounds(Ljava/awt/Rectangle;ZZ)Z+0
+j  com.mathworks.mwswing.text.TokenMatchPopup.showIfNecessary(Ljavax/swing/text/JTextComponent;IZ)V+350
+j  com.mathworks.widgets.text.MWCaret.doTokenMatchPopup(IZ)V+42
+j  com.mathworks.widgets.text.MWCaret.drawNewMarks(ZZ[II)V+116
+j  com.mathworks.widgets.text.MWCaret.updateMatchBrace(ZI)V+402
+j  com.mathworks.widgets.text.MWCaret.updateMatchBrace(Z)V+6
+j  com.mathworks.widgets.text.MWCaret.mousePressed(Ljava/awt/event/MouseEvent;)V+79
+j  com.mathworks.mwswing.datatransfer.MWMouseDragGestureRecognizer.mousePressed(Ljava/awt/event/MouseEvent;)V+43
+j  java.awt.AWTEventMulticaster.mousePressed(Ljava/awt/event/MouseEvent;)V+21
+j  java.awt.AWTEventMulticaster.mousePressed(Ljava/awt/event/MouseEvent;)V+8
+J  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V
+J  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V
+J  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V
+J  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V
+J  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V
+J  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
+J  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V
+J  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z
+J  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z
+J  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
+J  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V
+J  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
+J  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
+J  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V
+v  ~OSRAdapter
+j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
+j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
+j  java.awt.EventDispatchThread.run()V+9
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x0f692198 JavaThread "Thread-38" [_thread_blocked, id=5868]
+  0x0f117df8 JavaThread "Thread-35" [_thread_blocked, id=4448]
+  0x0efb3ed0 JavaThread "Thread-32" [_thread_blocked, id=6044]
+  0x0f675290 JavaThread "Thread-30" [_thread_blocked, id=5024]
+  0x0efdc680 JavaThread "Thread-29" [_thread_blocked, id=3264]
+  0x0ee3aa68 JavaThread "Prefs Updater" [_thread_blocked, id=1080]
+  0x0f0644a0 JavaThread "Text-Layout" [_thread_blocked, id=3128]
+  0x0f018840 JavaThread "Timer queue for AWT thread" daemon [_thread_blocked, id=5996]
+  0x0f00f6c8 JavaThread "Thread-19" [_thread_blocked, id=6060]
+  0x0ede8868 JavaThread "Thread-18" [_thread_blocked, id=3736]
+  0x0f00e4e0 JavaThread "Thread-17" [_thread_blocked, id=4328]
+  0x0f007c90 JavaThread "Thread-16" [_thread_blocked, id=4804]
+  0x0f006e60 JavaThread "Thread-15" [_thread_blocked, id=5248]
+  0x0f003e58 JavaThread "Thread-14" [_thread_blocked, id=3296]
+  0x0effcb30 JavaThread "Thread-13" [_thread_blocked, id=5072]
+  0x0effc378 JavaThread "Thread-12" [_thread_blocked, id=2312]
+  0x0efd44f0 JavaThread "Thread-11" [_thread_blocked, id=2424]
+  0x0efce818 JavaThread "Thread-10" [_thread_blocked, id=6112]
+  0x0efcdf58 JavaThread "Thread-9" [_thread_blocked, id=748]
+  0x0efcc1c8 JavaThread "Thread-8" [_thread_blocked, id=2212]
+  0x0ef16b78 JavaThread "Thread-7" [_thread_blocked, id=4400]
+  0x0ee23870 JavaThread "Thread-6" [_thread_blocked, id=3084]
+  0x047b6d50 JavaThread "Timer-2" daemon [_thread_blocked, id=1700]
+  0x0f63a200 JavaThread "Timer-1" [_thread_blocked, id=3860]
+  0x0eebabe8 JavaThread "TimerQueue" daemon [_thread_blocked, id=3724]
+=>0x0ee775a8 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4680]
+  0x0ee7b378 JavaThread "AWT-Shutdown" [_thread_blocked, id=3604]
+  0x0edfcda0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4468]
+  0x0ec25068 JavaThread "Timer-0" [_thread_blocked, id=5152]
+  0x0ede8c60 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2836]
+  0x047e5340 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5912]
+  0x047e3f18 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5148]
+  0x047e32a0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3588]
+  0x047da6c0 JavaThread "Finalizer" daemon [_thread_blocked, id=1824]
+  0x047d9230 JavaThread "Reference Handler" daemon [_thread_blocked, id=1164]
+  0x002aac18 JavaThread "main" [_thread_in_native, id=5288]
+
+Other Threads:
+  0x047d5100 VMThread [id=2560]
+  0x047e6520 WatcherThread [id=4284]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 14912K, used 4432K [0x06820000, 0x07840000, 0x08020000)
+  eden space 13312K,  28% used [0x06820000, 0x06bc5d38, 0x07520000)
+  from space 1600K,  43% used [0x076b0000, 0x0775e540, 0x07840000)
+  to   space 1600K,   0% used [0x07520000, 0x07520000, 0x076b0000)
+ tenured generation   total 49152K, used 41721K [0x08020000, 0x0b020000, 0x0c820000)
+   the space 49152K,  84% used [0x08020000, 0x0a8de508, 0x0a8de600, 0x0b020000)
+ compacting perm gen  total 22272K, used 22235K [0x0c820000, 0x0dde0000, 0x0e820000)
+   the space 22272K,  99% used [0x0c820000, 0x0ddd6d40, 0x0ddd6e00, 0x0dde0000)
+No shared spaces configured.
+
+Dynamic libraries:
+0x00400000 - 0x00506000 	E:\Matlab2006a\bin\win32\MATLAB.exe
+0x7c910000 - 0x7c9c7000 	C:\WINDOWS\system32\ntdll.dll
+0x7c800000 - 0x7c905000 	C:\WINDOWS\system32\kernel32.dll
+0x78740000 - 0x78aa7000 	E:\Matlab2006a\bin\win32\m_interpreter.dll
+0x78290000 - 0x78430000 	E:\Matlab2006a\bin\win32\xerces-c_2_6.dll
+0x781f0000 - 0x78284000 	E:\Matlab2006a\bin\win32\icuuc32.dll
+0x77da0000 - 0x77e4c000 	C:\WINDOWS\system32\ADVAPI32.dll
+0x77e50000 - 0x77ee1000 	C:\WINDOWS\system32\RPCRT4.dll
+0x10000000 - 0x10005000 	E:\Matlab2006a\bin\win32\icudt32.dll
+0x7c340000 - 0x7c396000 	E:\Matlab2006a\bin\win32\MSVCR71.dll
+0x78d20000 - 0x78d9b000 	E:\Matlab2006a\bin\win32\mlib.dll
+0x78440000 - 0x784fa000 	E:\Matlab2006a\bin\win32\libut.dll
+0x78100000 - 0x781aa000 	E:\Matlab2006a\bin\win32\icuin32.dll
+0x781b0000 - 0x781bb000 	E:\Matlab2006a\bin\win32\icuio32.dll
+0x7c3a0000 - 0x7c41b000 	E:\Matlab2006a\bin\win32\MSVCP71.dll
+0x76c40000 - 0x76c68000 	C:\WINDOWS\system32\imagehlp.dll
+0x77be0000 - 0x77c38000 	C:\WINDOWS\system32\msvcrt.dll
+0x7e390000 - 0x7e420000 	C:\WINDOWS\system32\USER32.dll
+0x77ef0000 - 0x77f37000 	C:\WINDOWS\system32\GDI32.dll
+0x774a0000 - 0x775dd000 	C:\WINDOWS\system32\ole32.dll
+0x770e0000 - 0x7716c000 	C:\WINDOWS\system32\OLEAUT32.dll
+0x78dc0000 - 0x78fe1000 	E:\Matlab2006a\bin\win32\libmwservices.dll
+0x76340000 - 0x7638a000 	C:\WINDOWS\system32\comdlg32.dll
+0x77f40000 - 0x77fb6000 	C:\WINDOWS\system32\SHLWAPI.dll
+0x58b50000 - 0x58bea000 	C:\WINDOWS\system32\COMCTL32.dll
+0x7c9d0000 - 0x7d1f3000 	C:\WINDOWS\system32\SHELL32.dll
+0x78500000 - 0x78540000 	E:\Matlab2006a\bin\win32\libmx.dll
+0x78430000 - 0x7843e000 	E:\Matlab2006a\bin\win32\libz.dll
+0x00220000 - 0x0027e000 	E:\Matlab2006a\bin\win32\libmwmathutil.dll
+0x78570000 - 0x7858a000 	E:\Matlab2006a\bin\win32\mpath.dll
+0x6fee0000 - 0x6ff34000 	C:\WINDOWS\system32\NETAPI32.dll
+0x719f0000 - 0x71a07000 	C:\WINDOWS\system32\WS2_32.dll
+0x719e0000 - 0x719e8000 	C:\WINDOWS\system32\WS2HELP.dll
+0x78cd0000 - 0x78ce4000 	E:\Matlab2006a\bin\win32\m_pcodegen.dll
+0x78c50000 - 0x78ccc000 	E:\Matlab2006a\bin\win32\m_ir.dll
+0x78540000 - 0x7854f000 	E:\Matlab2006a\bin\win32\libmex.dll
+0x786d0000 - 0x78740000 	E:\Matlab2006a\bin\win32\m_dispatcher.dll
+0x78da0000 - 0x78db6000 	E:\Matlab2006a\bin\win32\datasvcs.dll
+0x78560000 - 0x7856e000 	E:\Matlab2006a\bin\win32\mvalue.dll
+0x78cf0000 - 0x78d04000 	E:\Matlab2006a\bin\win32\m_pcodeio.dll
+0x78ab0000 - 0x78c47000 	E:\Matlab2006a\bin\win32\m_parser.dll
+0x78d10000 - 0x78d1d000 	E:\Matlab2006a\bin\win32\ir_xfmr.dll
+0x78590000 - 0x78632000 	E:\Matlab2006a\bin\win32\mcos.dll
+0x78550000 - 0x7855e000 	E:\Matlab2006a\bin\win32\libmat.dll
+0x793f0000 - 0x7940d000 	E:\Matlab2006a\bin\win32\mcr.dll
+0x79ce0000 - 0x79d1b000 	E:\Matlab2006a\bin\win32\comcli.dll
+0x79cb0000 - 0x79cdb000 	E:\Matlab2006a\bin\win32\jmi.dll
+0x79d70000 - 0x79d90000 	E:\Matlab2006a\bin\win32\bridge.dll
+0x78640000 - 0x786c3000 	E:\Matlab2006a\bin\win32\udd.dll
+0x790e0000 - 0x79158000 	E:\Matlab2006a\bin\win32\uiw.dll
+0x79160000 - 0x79183000 	E:\Matlab2006a\bin\win32\libuij.dll
+0x791a0000 - 0x7923d000 	E:\Matlab2006a\bin\win32\libmwgui.dll
+0x79190000 - 0x79199000 	E:\Matlab2006a\bin\win32\uinone.dll
+0x793c0000 - 0x793eb000 	E:\Matlab2006a\bin\win32\libmwhardcopy.dll
+0x7c140000 - 0x7c243000 	E:\Matlab2006a\bin\win32\MFC71.DLL
+0x72f50000 - 0x72f76000 	C:\WINDOWS\system32\WINSPOOL.DRV
+0x7c120000 - 0x7c139000 	E:\Matlab2006a\bin\win32\ATL71.DLL
+0x79c40000 - 0x79c50000 	E:\Matlab2006a\bin\win32\mwoles05.dll
+0x79c50000 - 0x79ca5000 	E:\Matlab2006a\bin\win32\udd_mi.dll
+0x79d20000 - 0x79d29000 	E:\Matlab2006a\bin\win32\mlautoregister.dll
+0x79240000 - 0x79397000 	E:\Matlab2006a\bin\win32\hg.dll
+0x79410000 - 0x79582000 	E:\Matlab2006a\bin\win32\numerics.dll
+0x79b80000 - 0x79b87000 	E:\Matlab2006a\bin\win32\libmwamd.dll
+0x79b90000 - 0x79bc9000 	E:\Matlab2006a\bin\win32\libmwcholmod.dll
+0x79bd0000 - 0x79bd6000 	E:\Matlab2006a\bin\win32\libmwcolamd.dll
+0x79590000 - 0x795b3000 	E:\Matlab2006a\bin\win32\libmwlapack.dll
+0x795f0000 - 0x79676000 	E:\Matlab2006a\bin\win32\libfftw3.dll
+0x79680000 - 0x79701000 	E:\Matlab2006a\bin\win32\libfftw3f.dll
+0x79be0000 - 0x79c35000 	E:\Matlab2006a\bin\win32\libmwumfpack.dll
+0x77390000 - 0x77493000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
+0x7c300000 - 0x7c30f000 	E:\Matlab2006a\bin\win32\MFC71FRA.DLL
+0x795c0000 - 0x795e8000 	E:\Matlab2006a\bin\win32\mkl.dll
+0x79710000 - 0x79b7f000 	E:\Matlab2006a\bin\win32\lapack.dll
+0x01e20000 - 0x01eca000 	E:\Matlab2006a\bin\win32\libifcoremd.dll
+0x01ed0000 - 0x02100000 	E:\Matlab2006a\bin\win32\libmmd.dll
+0x741e0000 - 0x741e4000 	C:\WINDOWS\system32\icmp.Dll
+0x76d10000 - 0x76d29000 	C:\WINDOWS\system32\iphlpapi.dll
+0x77fc0000 - 0x77fd1000 	C:\WINDOWS\system32\Secur32.dll
+0x74cd0000 - 0x74cee000 	C:\WINDOWS\system32\wshbth.dll
+0x778e0000 - 0x779d8000 	C:\WINDOWS\system32\SETUPAPI.dll
+0x71990000 - 0x719d0000 	C:\WINDOWS\System32\mswsock.dll
+0x76ed0000 - 0x76ef7000 	C:\WINDOWS\system32\DNSAPI.dll
+0x76f60000 - 0x76f68000 	C:\WINDOWS\System32\winrnr.dll
+0x76f10000 - 0x76f3d000 	C:\WINDOWS\system32\WLDAP32.dll
+0x5b090000 - 0x5b0c8000 	C:\WINDOWS\system32\uxtheme.dll
+0x76f70000 - 0x76f76000 	C:\WINDOWS\system32\rasadhlp.dll
+0x20b00000 - 0x20b4b000 	C:\WINDOWS\system32\imon.dll
+0x71a10000 - 0x71a1a000 	C:\WINDOWS\system32\WSOCK32.dll
+0x20c00000 - 0x20c0d000 	C:\Program Files\Eset\pr_imon.dll
+0x62e40000 - 0x62e99000 	C:\WINDOWS\system32\hnetcfg.dll
+0x719d0000 - 0x719d8000 	C:\WINDOWS\System32\wshtcpip.dll
+0x74690000 - 0x746db000 	C:\WINDOWS\system32\MSCTF.dll
+0x04440000 - 0x0446b000 	C:\Program Files\ScanSoft\OmniPageSE\ophook32.dll
+0x77bd0000 - 0x77bd8000 	C:\WINDOWS\system32\VERSION.dll
+0x6d640000 - 0x6d7c5000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\client\jvm.dll
+0x76ae0000 - 0x76b0f000 	C:\WINDOWS\system32\WINMM.dll
+0x6d280000 - 0x6d288000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\hpi.dll
+0x76ba0000 - 0x76bab000 	C:\WINDOWS\system32\PSAPI.DLL
+0x6d610000 - 0x6d61c000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\verify.dll
+0x6d300000 - 0x6d31d000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\java.dll
+0x6d630000 - 0x6d63f000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\zip.dll
+0x79d90000 - 0x79da2000 	E:\Matlab2006a\bin\win32\jmi_mi.dll
+0x6d000000 - 0x6d166000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\awt.dll
+0x76320000 - 0x7633d000 	C:\WINDOWS\system32\IMM32.dll
+0x7ac00000 - 0x7ac0c000 	E:\Matlab2006a\bin\win32\nativejava.dll
+0x6d240000 - 0x6d27d000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\fontmanager.dll
+0x6d4c0000 - 0x6d4d3000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\net.dll
+0x6d4e0000 - 0x6d4e9000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\nio.dll
+0x04710000 - 0x04715000 	E:\Matlab2006a\bin\win32\nativeservices.dll
+0x7ac10000 - 0x7ac1c000 	E:\Matlab2006a\bin\win32\nativelex.dll
+0x0ffd0000 - 0x0ffd9000 	E:\Matlab2006a\bin\win32\nativemlint.dll
+0x10010000 - 0x10035000 	E:\Matlab2006a\bin\win32\mwmlint.dll
+0x60600000 - 0x6064a000 	C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\hpzntp07.dll
+0x6d1c0000 - 0x6d1e3000 	E:\Matlab2006a\sys\java\jre\win32\jre1.5.0\bin\dcpr.dll
+0x78ff0000 - 0x790d8000 	E:\Matlab2006a\bin\win32\libmwbuiltins.dll
+0x04110000 - 0x04163000 	E:\Matlab2006a\bin\win32\xmlcore.dll
+0x042e0000 - 0x042e5000 	E:\Matlab2006a\toolbox\matlab\timefun\datenummx.mexw32
+0x20000000 - 0x202da000 	C:\WINDOWS\system32\xpsp2res.dll
+0x77b50000 - 0x77b72000 	C:\WINDOWS\system32\appHelp.dll
+0x76f80000 - 0x76fff000 	C:\WINDOWS\system32\CLBCATQ.DLL
+0x77000000 - 0x770d4000 	C:\WINDOWS\system32\COMRes.dll
+0x765b0000 - 0x76606000 	C:\WINDOWS\System32\cscui.dll
+0x76590000 - 0x765ad000 	C:\WINDOWS\System32\CSCDLL.dll
+0x76930000 - 0x76956000 	C:\WINDOWS\system32\ntshrui.dll
+0x76ac0000 - 0x76ad1000 	C:\WINDOWS\system32\ATL.DLL
+0x76960000 - 0x76a15000 	C:\WINDOWS\system32\USERENV.dll
+
+VM Arguments:
+jvm_args: -Xss512k -XX:PermSize=16M -Xms64m -Xmx96m -XX:NewRatio=3 -XX:MaxPermSize=32M -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Xshare:off -Djava.library.path=E:\Matlab2006a\bin\win32 vfprintf abort
+java_command: <unknown>
+
+Environment Variables:
+CLASSPATH=C:\Program Files\Java\j2re1.4.2\lib\ext\QTJava.zip
+PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;c:\program files\ati technologies\ati control panel;c:\program files\quicktime\qtsystem\;c:\program files\microsoft sql server\90\tools\binn\;E:\Matlab2006a\bin\win32;
+USERNAME=chubar
+OS=Windows_NT
+PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
+
+
+---------------  S Y S T E M  ---------------
+
+OS: Windows XP Build 2600 Service Pack 2
+
+CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2
+
+Memory: 4k page, physical 1047952k(397284k free), swap 2519756k(1529796k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for windows-x86, built on Sep 15 2004 03:00:31 by "java_re" with MS VC++ 6.0
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxAddFeedForwardCorTables2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxAddFeedForwardCorTables2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxAddFeedForwardCorTables2D.m	(revision 17)
@@ -0,0 +1,6 @@
+function [res_mCHE_with_arg, res_mCVE_with_arg, res_mCHS_with_arg, res_mCVS_with_arg] = idAuxAddFeedForwardCorTables2D(mCHE_with_arg, mCVE_with_arg, mCHS_with_arg, mCVS_with_arg, mCHE_add_with_arg, mCVE_add_with_arg, mCHS_add_with_arg, mCVS_add_with_arg)
+
+res_mCHE_with_arg = idAuxAddTable2D(mCHE_with_arg, mCHE_add_with_arg);
+res_mCVE_with_arg = idAuxAddTable2D(mCVE_with_arg, mCVE_add_with_arg);
+res_mCHS_with_arg = idAuxAddTable2D(mCHS_with_arg, mCHS_add_with_arg);
+res_mCVS_with_arg = idAuxAddTable2D(mCVS_with_arg, mCVS_add_with_arg);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxAddTable2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxAddTable2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxAddTable2D.m	(revision 17)
@@ -0,0 +1,44 @@
+function new_m_with_arg = idAuxAddTable2D(m_orig_with_arg, m_add_with_arg)
+%Adds content of m_add_with_arg table to m_orig_with_arg, preserving format: 1s column and 1st row of
+%each table keep argument values.
+%Requires that mesh point of m_add_with_arg coinside with mesh point of m_orig_with_arg
+
+numOrigArg1 = size(m_orig_with_arg, 1) - 1;
+numOrigArg2 = size(m_orig_with_arg, 2) - 1;
+vOrigArg1 = zeros(numOrigArg1, 1);
+vOrigArg2 = zeros(numOrigArg2, 1);
+for i = 1:numOrigArg1
+	vOrigArg1(i) = m_orig_with_arg(i+1,1);
+end
+for j = 1:numOrigArg2
+	vOrigArg2(j) = m_orig_with_arg(1,j+1);
+end
+
+numAddArg1 = size(m_add_with_arg, 1) - 1;
+numAddArg2 = size(m_add_with_arg, 2) - 1;
+vAddArg1 = zeros(numAddArg1, 1);
+vAddArg2 = zeros(numAddArg2, 1);
+for i = 1:numAddArg1
+	vAddArg1(i) = m_add_with_arg(i+1,1);
+end
+for j = 1:numAddArg2
+	vAddArg2(j) = m_add_with_arg(1,j+1);
+end
+
+new_m_with_arg = m_orig_with_arg;
+
+for j = 1:numAddArg2
+	valAddArg2 = vAddArg2(j);
+    indOrigArg2_p_1 = idAuxFindClosestElemInd(valAddArg2, vOrigArg2) + 1;
+    if(indOrigArg2_p_1 <= 1)
+        continue;
+    end
+    for i = 1:numAddArg1
+        valAddArg1 = vAddArg1(i);
+        indOrigArg1_p_1 = idAuxFindClosestElemInd(valAddArg1, vOrigArg1) + 1;
+        if(indOrigArg1_p_1 <= 1)
+            continue;
+        end
+        new_m_with_arg(indOrigArg1_p_1, indOrigArg2_p_1) = new_m_with_arg(indOrigArg1_p_1, indOrigArg2_p_1) + m_add_with_arg(i+1,j+1);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCalcIndMeasAtGivenUndParams.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCalcIndMeasAtGivenUndParams.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCalcIndMeasAtGivenUndParams.m	(revision 17)
@@ -0,0 +1,67 @@
+function absIndFound = idAuxCalcIndMeasAtGivenUndParams(allUndParams, undParamsToFind)
+%Calculates absolute flat index of element in multi-dim. array of undulator parameters
+%list of all un. params to look through: allUndParams = {{'phase', [-40, -20, 0, 20, 40]}, {'gap', [15.5, 25]}}
+%undulator parameters to find: undParamsToFind = {{'gap', 15.5}, {'phase', 40}}
+
+numAllParams = length(allUndParams);
+numParamsToFind = length(undParamsToFind);
+
+%maxNumParams = 3;
+if(numAllParams <= 0) %|| (numAllParams > maxNumParams))
+    absIndFound = -1;
+    return;
+end
+if(numParamsToFind <= 0) %|| (numParamsToFind > maxNumParams))
+    absIndFound = -1;
+    return;
+end
+if(numAllParams ~= numParamsToFind)
+    absIndFound = -1;
+    return;    
+end
+
+arPerInd = zeros(numAllParams, 1);
+%fill-in array of periods
+arPerInd(numAllParams) = 1;
+prodSizes = 1;
+for i = 1:(numAllParams - 1)
+	curParamInf = allUndParams{numAllParams - i + 1};
+    curParamValues = curParamInf{2};
+    prodSizes = prodSizes*length(curParamValues);
+    arPerInd(numAllParams - i) = prodSizes;
+end
+
+absIndFound = -1;
+absIndCount = 0;
+%prevRelInd = -1;
+for i = 1:numAllParams
+    curParamInf = allUndParams{i};
+    curParamName = curParamInf{1};
+    
+    carParamValueToFind = 1e+23;
+    for j = 1:numParamsToFind
+        curParamToFindInf = undParamsToFind{j};
+        curParamNameToFind = curParamToFindInf{1};
+        if(strcmp(curParamName, curParamNameToFind))
+            carParamValueToFind = curParamToFindInf{2};
+            break;
+        end
+    end
+    if(carParamValueToFind == 1e+23)
+       return; 
+    end
+    curParamValues = curParamInf{2};
+    numCurParamValues = length(curParamValues);
+    absMinDif = 1e+23;
+    indMinDif = -1;
+    for k = 1:numCurParamValues
+        curAbsDif = abs(curParamValues(k) - carParamValueToFind);
+        if(absMinDif > curAbsDif)
+            absMinDif = curAbsDif;
+            indMinDif = k;
+        end
+    end
+    %prevRelInd = indMinDif;
+    absIndCount = absIndCount + (indMinDif - 1)*arPerInd(i);
+end
+absIndFound = absIndCount + 1;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCombMatrCols.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCombMatrCols.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCombMatrCols.m	(revision 17)
@@ -0,0 +1,27 @@
+function mRes = idAuxCombMatrCols(m1, m2)
+%Combines 2 matrices by columns
+
+numCols_m1 = size(m1, 2);
+numCols_m2 = size(m2, 2);
+numColsRes = numCols_m1 + numCols_m2;
+
+numRows_m1 = size(m1, 1);
+numRows_m2 = size(m2, 1);
+if(numRows_m1 ~= numRows_m2)
+    sprintf('Inconsistent numbers of rows in the matrices');
+    return;
+end
+numRowsRes = numRows_m1;
+
+mRes = zeros(numRowsRes, numColsRes);
+
+for i2 = 1:numCols_m1
+    for i1 = 1:numRowsRes
+        mRes(i1, i2) = m1(i1, i2);
+    end
+end
+for i2 = 1:numCols_m2
+    for i1 = 1:numRowsRes
+        mRes(i1, numCols_m1 + i2) = m2(i1, i2);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCombMatrWeighted.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCombMatrWeighted.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCombMatrWeighted.m	(revision 17)
@@ -0,0 +1,54 @@
+function mRes = idAuxCombMatrWeighted(m1, w1, m2, w2, startInd1, endInd1, startInd2, endInd2)
+
+wNormInv = 1./sqrt(w1*w1 + w2*w2);
+w1 = w1*wNormInv;
+w2 = w2*wNormInv;
+
+sizeDim1 = size(m1, 1);
+sizeDim2 = size(m1, 2);
+sizeDim1_m2 = size(m2, 1);
+sizeDim2_m2 = size(m2, 2);
+
+if(sizeDim1 > sizeDim1_m2)
+	sizeDim1 = sizeDim1_m2;
+end
+if(sizeDim2 > sizeDim2_m2)
+	sizeDim2 = sizeDim2_m2;
+end
+
+mRes = m1;
+if(startInd1 <= 0)
+    startInd1 = 1;
+end
+if(endInd1 <= 0)
+    endInd1 = sizeDim1;
+end
+if(startInd2 <= 0)
+    startInd2 = 1;
+end
+if(endInd2 <= 0)
+    endInd2 = sizeDim2;
+end
+
+if(startInd1 > sizeDim1)
+    sprintf('Inconsistent start value of Index 1');
+    return;
+end
+if(startInd2 > sizeDim2)
+    sprintf('Inconsistent start value of Index 2');
+    return;
+end
+if(endInd1 > sizeDim1)
+    sprintf('Inconsistent end value of Index 1');
+    endInd1 = sizeDim1;
+end
+if(endInd2 > sizeDim2)
+    sprintf('Inconsistent end value of Index 2');
+    endInd2 = sizeDim2;
+end
+
+for i1 = startInd1:endInd1
+    for i2 = startInd2:endInd2
+        mRes(i1, i2) = w1*m1(i1, i2) + w2*m2(i1, i2);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCommonVector.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCommonVector.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxCommonVector.m	(revision 17)
@@ -0,0 +1,19 @@
+function idAuxCommonVector(Vector1, Vector2)
+% NOT FINISHED!!!!
+N1=length(Vector1);
+N2=length(Vector2);
+    
+for i=1:N1-1
+    if (Vector1(i)>Vector1(i+1))
+        fprintf ('Error in ''idAuxCommonVector'' : Vector1 must be increasing monotonic\n');
+        return
+    end
+end
+for i=1:N2-1
+    if (Vector2(i)>Vector2(i+1))
+        fprintf ('Error in ''idAuxCommonVector'' : Vector2 must be increasing monotonic\n');
+        return
+    end
+end
+if (Vector1(1)<Vector2(1)
+    
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFindClosestElemInd.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFindClosestElemInd.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFindClosestElemInd.m	(revision 17)
@@ -0,0 +1,12 @@
+function indClosestElem = idAuxFindClosestElemInd(valElem, vToCheck)
+
+numElem = length(vToCheck);
+minAbsDif = 1e+23;
+indClosestElem = -1;
+for i = 1:numElem
+    curAbsDif = abs(vToCheck(i) - valElem);
+    if(minAbsDif > curAbsDif)
+        minAbsDif = curAbsDif;
+        indClosestElem = i;
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatElecBeamMeasDataAfterEfficiency.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatElecBeamMeasDataAfterEfficiency.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatElecBeamMeasDataAfterEfficiency.m	(revision 17)
@@ -0,0 +1,102 @@
+function res=idAuxFormatElecBeamMeasDataAfterEfficiency(EfficiencyResutlStructure, displayOnScreen)
+% F. Briquez 05/03/2011
+    res=-1;
+                
+    %% LOADING INPUT EFFICIENCY RESULT STRUCTURE
+    idName=EfficiencyResutlStructure.idName;
+    cellGaps=EfficiencyResutlStructure.gaps;
+    cellAllFileNames=EfficiencyResutlStructure.fileNames;
+    vectorCorCurrents=EfficiencyResutlStructure.corCurrents;
+    numberOfCorCurrents=length(vectorCorCurrents);
+    OutputString='';
+    
+    %% WRITING PREFIX PART
+    CorCurrentsString='[';
+    for i=1:numberOfCorCurrents
+        tempCorCurrent=vectorCorCurrents(i);
+        tempString=num2str(tempCorCurrent);
+        if (i~=numberOfCorCurrents)
+            tempString=[tempString, ', '];
+        end
+        CorCurrentsString=[CorCurrentsString, tempString];
+    end
+    CorCurrentsString=[CorCurrentsString, ']'];
+    OutputStringPrefix=sprintf('\n\n%%%%%%%% %s\n\tif strcmp(idName, ''%s'')\n\t\tvCurVals = %s;\n\n', idName, idName, CorCurrentsString);
+    
+    %% WRITING MAIN PART
+    numberOfGaps=length(cellGaps);
+    if (numberOfGaps~=length(cellAllFileNames))
+        fprintf ('Bad input!\n');
+        return
+    end
+    OutputStringMainPart='';
+    for gapIndex=1:numberOfGaps
+        gapValue=cellGaps{gapIndex};
+        if (gapIndex~=numberOfGaps)
+            nextGapValue=cellGaps{gapIndex+1};
+        end
+        stringOfFileNames=cellAllFileNames{gapIndex};
+        sRes = idAuxFormatPartCorElecBeamMeasData(stringOfFileNames);
+        if (gapIndex==1)
+            if (gapIndex==numberOfGaps)
+                tempMainString=sprintf('if(gap == %g)', gapValue);
+            else
+                tempMainString=sprintf('if(gap < 0.5*(%g+ %g))', gapValue, nextGapValue);
+            end
+        elseif (gapIndex~=numberOfGaps)
+            tempMainString=sprintf('elseif(gap < 0.5*(%g+ %g))', gapValue, nextGapValue);
+        else
+            tempMainString=sprintf('else\t%%%% Gap > %g',cellGaps{numberOfGaps});
+        end
+        tempMainString=['\t\t', tempMainString, '\n\n', sRes];
+        OutputStringMainPart=[OutputStringMainPart, tempMainString];
+    end
+        
+    %% WRITING SUFFIX PART
+    OutputStringSuffix=sprintf('\tend\t%%%% End of %s', idName); 
+    
+    %% WRITING AND WHOLE TEXT PRINTING IT ON SCREEN
+    OutputString=[OutputStringPrefix, OutputStringMainPart, '\n', OutputStringSuffix, '\n\n'];    
+    stringToCopy=sprintf(OutputString);
+    clipboard('copy',stringToCopy);
+    if (displayOnScreen)
+        fprintf (OutputString);
+    else
+        fprintf('Text is copied in the clipboard => just past it in the ''idReadCorElecBeamMeasData'' file\n');
+    end
+    
+    res=0;
+    return
+    
+
+    
+end    
+    
+    
+function outputString=idAuxAddTabulationsInString(inputString, numberOfTabsToAdd, endingLineString)
+    outputString='';
+    % endingLineString=char(10) or '\n'
+    % tabulationCharacter=char(9) (corresponds to '\t')
+    n=length(inputString);
+    nEndingLineString=length(endingLineString);
+    outputString=inputString;
+    tabulationString=zeros(1, numberOfTabsToAdd);
+    tabulationString(:)=9;
+    tabulationString=char(tabulationString);
+
+    i=1;
+    while(i<n)
+        if (i~=1)
+            lastLineLastCharacters=outputString(i-nEndingLineString:i-1);
+            conditionOnBeginOfLine=strcmp(lastLineLastCharacters, endingLineString);
+        else
+            conditionOnBeginOfLine=1;
+        end
+        if (conditionOnBeginOfLine==1)
+            outputString=[outputString(1:i-1), tabulationString, outputString(i:n)];
+            n=length(outputString);
+        end
+        i=i+1;
+    end
+    return
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatPartCorElecBeamMeasData.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatPartCorElecBeamMeasData.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatPartCorElecBeamMeasData.m	(revision 17)
@@ -0,0 +1,87 @@
+function sRes = idAuxFormatPartCorElecBeamMeasData(sOrig)
+%err = 0;
+% endLineInds = strfind(sOrig, '\n');
+% if(length(endLineInds) <= 0)
+%     err = 1;
+%     fprintf('Incorrect input string format');
+% end
+
+dlm = char(10);
+ 
+[sBkgHE1, remain] = strtok(sOrig, dlm);
+[sHE01, remain] = strtok(remain, dlm);
+[sHE02, remain] = strtok(remain, dlm);
+[sHE03, remain] = strtok(remain, dlm);
+sBkgHE2 = sHE03;
+[sHE04, remain] = strtok(remain, dlm);
+[sHE05, remain] = strtok(remain, dlm);
+
+[sBkgVE1, remain] = strtok(remain, dlm);
+[sVE01, remain] = strtok(remain, dlm);
+[sVE02, remain] = strtok(remain, dlm);
+[sVE03, remain] = strtok(remain, dlm);
+sBkgVE2 = sVE03;
+[sVE04, remain] = strtok(remain, dlm);
+[sVE05, remain] = strtok(remain, dlm);
+
+[sBkgHS1, remain] = strtok(remain, dlm);
+[sHS01, remain] = strtok(remain, dlm);
+[sHS02, remain] = strtok(remain, dlm);
+[sHS03, remain] = strtok(remain, dlm);
+sBkgHS2 = sHS03;
+[sHS04, remain] = strtok(remain, dlm);
+[sHS05, remain] = strtok(remain, dlm);
+
+[sBkgVS1, remain] = strtok(remain, dlm);
+[sVS01, remain] = strtok(remain, dlm);
+[sVS02, remain] = strtok(remain, dlm);
+[sVS03, remain] = strtok(remain, dlm);
+sBkgVS2 = sVS03;
+[sVS04, remain] = strtok(remain, dlm);
+sVS05 = strtok(remain, dlm);
+
+sRes = '            if strcmp(corName, ''CHE'')\n';
+sRes = strcat(sRes, '                fnMeasMain = cellstr([''', sHE01, ''';\n');
+sRes = strcat(sRes, '                                      ''', sHE02, ' '';\n');
+sRes = strcat(sRes, '                                      ''', sHE03, '  '';\n');
+sRes = strcat(sRes, '                                      ''', sHE04, '  '';\n');
+sRes = strcat(sRes, '                                      ''', sHE05, ' '']);\n');
+sRes = strcat(sRes, '                fnMeasBkgr = cellstr([''', sBkgHE1, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgHE1, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgHE2, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgHE2, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgHE2, ''']);\n');
+sRes = strcat(sRes, '            elseif strcmp(corName, ''CVE'')\n');
+sRes = strcat(sRes, '                fnMeasMain = cellstr([''', sVE01, ''';\n');
+sRes = strcat(sRes, '                                      ''', sVE02, ' '';\n');
+sRes = strcat(sRes, '                                      ''', sVE03, '  '';\n');
+sRes = strcat(sRes, '                                      ''', sVE04, '  '';\n');
+sRes = strcat(sRes, '                                      ''', sVE05, ' '']);\n');
+sRes = strcat(sRes, '                fnMeasBkgr = cellstr([''', sBkgVE1, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgVE1, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgVE2, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgVE2, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgVE2, ''']);\n');
+sRes = strcat(sRes, '            elseif strcmp(corName, ''CHS'')\n');
+sRes = strcat(sRes, '                fnMeasMain = cellstr([''', sHS01, ''';\n');
+sRes = strcat(sRes, '                                      ''', sHS02, ' '';\n');
+sRes = strcat(sRes, '                                      ''', sHS03, '  '';\n');
+sRes = strcat(sRes, '                                      ''', sHS04, '  '';\n');
+sRes = strcat(sRes, '                                      ''', sHS05, ' '']);\n');
+sRes = strcat(sRes, '                fnMeasBkgr = cellstr([''', sBkgHS1, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgHS1, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgHS2, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgHS2, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgHS2, ''']);\n');
+sRes = strcat(sRes, '            elseif strcmp(corName, ''CVS'')\n');
+sRes = strcat(sRes, '                fnMeasMain = cellstr([''', sVS01, ''';\n');
+sRes = strcat(sRes, '                                      ''', sVS02, ' '';\n');
+sRes = strcat(sRes, '                                      ''', sVS03, '  '';\n');
+sRes = strcat(sRes, '                                      ''', sVS04, '  '';\n');
+sRes = strcat(sRes, '                                      ''', sVS05, ' '']);\n');
+sRes = strcat(sRes, '                fnMeasBkgr = cellstr([''', sBkgVS1, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgVS1, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgVS2, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgVS2, ''';\n');
+sRes = strcat(sRes, '                                      ''', sBkgVS2, ''']);\n');
+sRes = strcat(sRes, '            end\n');
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatPartCorElecBeamMeasDataFromFile.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatPartCorElecBeamMeasDataFromFile.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxFormatPartCorElecBeamMeasDataFromFile.m	(revision 17)
@@ -0,0 +1,4 @@
+function sRes = idAuxFormatPartCorElecBeamMeasDataFromFile(Directory, FileName)
+    FileFullName=[Directory '/' FileName '.mat'];
+    TempStruct=load(FileFullName);
+    fprintf(idAuxFormatPartCorElecBeamMeasData(TempStruct.file))
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxInterpolTable2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxInterpolTable2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxInterpolTable2D.m	(revision 17)
@@ -0,0 +1,58 @@
+function new_m_with_arg = idAuxInterpolTable2D(m_with_arg, vNewArg1, vNewArg2, interpMeth)
+%Interpolates 2D table (matrix), preserving format: 1s column and 1st row of
+%the matrix m_with_arg keeps the argument values
+%vNewArg1, vNewArg2 are the new arguments, in the format, e.g.:
+%   vNewArg1 = [15.5,16,17,18,19,20,22.5, ...], i.e. gap values
+%   vNewArg2 = [-40,-37.5,-35,-32.5,-30, ...], i.e. phase values
+%interpMeth:
+% = 'nearest' %Nearest neighbor interpolation
+% = 'linear' %Linear interpolation (default)
+% = 'spline' %Cubic spline interpolation
+% = 'cubic' %Cubic interpolation, as long as data is uniformly-spaced. Otherwise, this method is the same as 'spline'
+
+numOldArg1 = size(m_with_arg, 1) - 1;
+numOldArg2 = size(m_with_arg, 2) - 1;
+
+vOldArg1 = zeros(numOldArg1, 1);
+vOldArg2 = zeros(numOldArg2, 1);
+mOld = zeros(numOldArg1, numOldArg2);
+for i = 1:numOldArg1
+	vOldArg1(i) = m_with_arg(i+1,1);
+end
+for j = 1:numOldArg2
+	vOldArg2(j) = m_with_arg(1,j+1);
+    for i = 1:numOldArg1
+        mOld(i,j) = m_with_arg(i+1,j+1);
+    end
+end
+%mNew = interp2(vOldArg1, vOldArg2, mOld, vNewArg1', vNewArg2', interpMeth);
+%mNew = interp2(vOldArg1, vOldArg2', mOld, vNewArg1', vNewArg2, interpMeth);
+if((size(vNewArg2, 1) > 1) && (size(vNewArg2, 2) == 1))
+	vNewArg2 = vNewArg2';
+end
+if((size(vNewArg1, 1) > 1) && (size(vNewArg1, 2) == 1))
+	vNewArg1 = vNewArg1';
+end
+
+if(length(vOldArg1) == 1)
+    mNew = interp1(vOldArg2', mOld, vNewArg2, interpMeth);
+elseif(length(vOldArg2) == 1)
+    mNew = interp1(vOldArg1, mOld, vNewArg1', interpMeth);
+else
+    mNew = interp2(vOldArg2', vOldArg1, mOld, vNewArg2, vNewArg1', interpMeth);
+end
+
+numNewArg1 = length(vNewArg1);
+numNewArg2 = length(vNewArg2);
+new_m_with_arg = zeros(numNewArg1 + 1, numNewArg2 + 1);
+new_m_with_arg(1,1) = 0;
+for i = 1:numNewArg1
+    new_m_with_arg(i+1,1) = vNewArg1(i);
+end
+for j = 1:numNewArg2
+    new_m_with_arg(1,j+1) = vNewArg2(j);
+    for i = 1:numNewArg1
+        new_m_with_arg(i+1,j+1) = mNew(i,j);
+    end
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxLargestIntersectionOfVectors.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxLargestIntersectionOfVectors.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxLargestIntersectionOfVectors.m	(revision 17)
@@ -0,0 +1,30 @@
+function OutputVector=idAuxLargestIntersectionOfVectors(Vector1, Vector2)
+%% Written by F.Briquez     25/04/2011
+% Returns the outter limits of the vector included in both Vector1 and
+% Vector2
+% 1) Inputs :   Vector1 : (1xN1) array. Must be increasing monotonic!
+%               Vector2 : (1xN2) array. Must be increasing monotonic!
+% 2) Output :   Vector (1x2) = [lower limit, upper limit]
+% 3) Returns empty array [] if failed
+
+%%
+OutputVector=[];
+
+N1=length(Vector1);
+N2=length(Vector2);
+    
+for i=1:N1-1
+    if (Vector1(i)>Vector1(i+1))
+        fprintf ('Error in ''idAuxLargestIntersectionOfVectors'' : Vector1 must be increasing monotonic\n');
+        return
+    end
+end
+for i=1:N2-1
+    if (Vector2(i)>Vector2(i+1))
+        fprintf ('Error in ''idAuxLargestIntersectionOfVectors'' : Vector2 must be increasing monotonic\n');
+        return
+    end
+end
+ResultStart=max(Vector1(1), Vector2(1));
+ResultEnd=min(Vector1(length(Vector1)), Vector2(length(Vector2)));
+OutputVector=[ResultStart, ResultEnd];
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMatrResize.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMatrResize.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMatrResize.m	(revision 17)
@@ -0,0 +1,21 @@
+function mRes = idAuxMatrResize(m, newSizeDim1, newSizeDim2)
+
+sizeDim1 = size(m, 1);
+sizeDim2 = size(m, 2);
+
+sizeDim1_min = sizeDim1;
+sizeDim2_min = sizeDim2;
+
+if(sizeDim1_min > newSizeDim1)
+	sizeDim1_min = newSizeDim1;
+end
+if(sizeDim2_min > newSizeDim2)
+	sizeDim2_min = newSizeDim2;
+end
+
+mRes = zeros(newSizeDim1, newSizeDim2);
+for i1 = 1:sizeDim1_min
+    for i2 = 1:sizeDim2_min
+        mRes(i1, i2) = m(i1, i2);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMatrResizeExt.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMatrResizeExt.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMatrResizeExt.m	(revision 17)
@@ -0,0 +1,41 @@
+function mRes = idAuxMatrResizeExt(m, newSizeDim1, newSizeDim2, iStartDim1, iStartDim2)
+
+sizeDim1 = size(m, 1);
+sizeDim2 = size(m, 2);
+
+if((iStartDim1 < 1) || (iStartDim1 > sizeDim1))
+    fprintf('Incorrect start index value');
+end
+if((iStartDim2 < 1) || (iStartDim2 > sizeDim2))
+    fprintf('Incorrect start index value');
+end
+
+sizeDim1_min = sizeDim1;
+sizeDim2_min = sizeDim2;
+
+if(sizeDim1_min > newSizeDim1)
+	sizeDim1_min = newSizeDim1;
+end
+if(sizeDim2_min > newSizeDim2)
+	sizeDim2_min = newSizeDim2;
+end
+
+mRes = zeros(newSizeDim1, newSizeDim2);
+
+for i1 = iStartDim1:sizeDim1_min
+    for i2 = iStartDim2:sizeDim2_min
+        mRes(i1 - iStartDim1 + 1, i2 - iStartDim2 + 1) = m(i1, i2);
+    end
+end
+
+%for i1 = iStartDim1:(iStartDim1 + sizeDim1_min)
+%    for i2 = iStartDim2:(iStartDim2 + sizeDim2_min)
+%        mRes(i1 - iStartDim1 + 1, i2 - iStartDim2 + 1) = m(i1, i2);
+%    end
+%end
+
+%for i1 = 1:sizeDim1_min
+%    for i2 = 1:sizeDim2_min%
+%        mRes(i1, i2) = m(i1, i2);
+%    end
+%end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMergeCorTableWithArg2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMergeCorTableWithArg2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMergeCorTableWithArg2D.m	(revision 17)
@@ -0,0 +1,24 @@
+function mRes = idAuxMergeCorTableWithArg2D(vArg1, vArg2, mCor)
+
+sizeArg1 = size(mCor, 1);
+sizeArg2 = size(mCor, 2);
+
+lenArg1 = length(vArg1);
+lenArg2 = length(vArg2);
+
+if((sizeArg1 ~= lenArg1) || (sizeArg2 ~= lenArg2))
+    sprintf('Inconsistent lengths of the matrix and the argument vectors');
+end
+
+mRes = zeros(lenArg1 + 1, lenArg2 + 1);
+mRes(1, 1) = 0;
+for i = 1:lenArg1
+    mRes(i + 1, 1) = vArg1(i);
+end
+
+for j = 1:lenArg2
+    mRes(1, j + 1) = vArg2(j);
+    for i = 1:lenArg1
+        mRes(i + 1, j + 1) = mCor(i, j);
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMergeFeedForwardCorTablesWithArgForAppleII.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMergeFeedForwardCorTablesWithArgForAppleII.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxMergeFeedForwardCorTablesWithArgForAppleII.m	(revision 17)
@@ -0,0 +1,21 @@
+function [mCHE_with_arg, mCVE_with_arg, mCHS_with_arg, mCVS_with_arg] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHE, mCVE, mCHS, mCVS, undParams)
+%expected undulator parameters: undParams = {{'phase', vPhase}, {'gap', vGap}}
+
+numUndParam = length(undParams);
+if(numUndParam < 2)
+	fprintf('Two undulator parameters (gap, phase) are expected. Aborting.\n');
+	return;
+end
+
+vGap = undParams{1}{2};
+vPhase = undParams{2}{2};
+if(strcmp(undParams{1}{1}, 'phase') || strcmp(undParams{1}{1}, 'PHASE') || strcmp(undParams{1}{1}, 'Phase'))
+	if(strcmp(undParams{2}{1}, 'gap') || strcmp(undParams{2}{1}, 'GAP') || strcmp(undParams{2}{1}, 'Gap'))
+        vGap = undParams{2}{2};
+        vPhase = undParams{1}{2};
+	end
+end
+mCHE_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHE);
+mCVE_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVE);
+mCHS_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHS);
+mCVS_with_arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVS);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxNum2FileNameStr.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxNum2FileNameStr.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxNum2FileNameStr.m	(revision 17)
@@ -0,0 +1,25 @@
+function resStr = idAuxNum2FileNameStr(num)
+%Encodes decimal number in string, which can then be used as a part of file name
+
+strParamValue = sprintf('%f', num);
+strParamValue = strrep(strParamValue, '.', '_');
+lenOrigStrParamValue = length(strParamValue);
+numTrailZeros = 0; %removing trailing zeros
+for k = 1:lenOrigStrParamValue
+	if(strcmp(strParamValue(lenOrigStrParamValue - k + 1), '0'))
+    	numTrailZeros = numTrailZeros + 1;
+    else
+    	if(numTrailZeros > 0) && strcmp(strParamValue(lenOrigStrParamValue - k + 1), '_')
+        	numTrailZeros = numTrailZeros + 1;
+    	end
+        break;
+	end
+end
+if(numTrailZeros > 0)
+	resStr = '';
+	for k = 1:lenOrigStrParamValue - numTrailZeros
+    	resStr = strcat(resStr, strParamValue(k));
+	end
+else
+    resStr = strParamValue;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idAuxPrepFileNameListMeasAndBkg.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idAuxPrepFileNameListMeasAndBkg.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idAuxPrepFileNameListMeasAndBkg.m	(revision 17)
@@ -0,0 +1,14 @@
+function resFileNames = idAuxPrepFileNameListMeasAndBkg(origFileNameList, perMeasWithoutBkg)
+
+numCycles = floor(length(origFileNameList)/(perMeasWithoutBkg + 1));
+
+i0 = 0;
+i0r = 0;
+for i = 1:numCycles
+    iBkg = i0 + (perMeasWithoutBkg + 1);
+    for j = 1:perMeasWithoutBkg
+        resFileNames{i0r + j} = {origFileNameList{i0 + j}, origFileNameList{iBkg}};
+    end
+    i0r = i0r + perMeasWithoutBkg;
+    i0 = i0 + (perMeasWithoutBkg + 1);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idBPMIndConvForSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idBPMIndConvForSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idBPMIndConvForSOLEIL.m	(revision 17)
@@ -0,0 +1,45 @@
+function convIndBPM = idBPMIndConvForSOLEIL(indBPM)
+%Converts 1-based absolute BPM number (1 - 120) to its section and rel.
+%number, and the other way around, depending on length(indBPM)
+
+arBPM = {...
+    [1 1],[1 2],[1 3],[1 4],[1 5],[1 6],[1 7],...
+	[2 1],[2 2],[2 3],[2 4],[2 5],[2 6],[2 7],[2 8],...
+	[3 1],[3 2],[3 3],[3 4],[3 5],[3 6],[3 7],[3 8],...
+    [4 1],[4 2],[4 3],[4 4],[4 5],[4 6],[4 7],...
+    [5 1],[5 2],[5 3],[5 4],[5 5],[5 6],[5 7],...
+	[6 1],[6 2],[6 3],[6 4],[6 5],[6 6],[6 7],[6 8],...
+	[7 1],[7 2],[7 3],[7 4],[7 5],[7 6],[7 7],[7 8],...
+    [8 1],[8 2],[8 3],[8 4],[8 5],[8 6],[8 7],...
+    [9 1],[9 2],[9 3],[9 4],[9 5],[9 6],[9 7],...
+	[10 1],[10 2],[10 3],[10 4],[10 5],[10 6],[10 7],[10 8],...
+	[11 1],[11 2],[11 3],[11 4],[11 5],[11 6],[11 7],[11 8],...
+	[12 1],[12 2],[12 3],[12 4],[12 5],[12 6],[12 7],...
+	[13 1],[13 2],[13 3],[13 4],[13 5],[13 6],[13 7],...
+	[14 1],[14 2],[14 3],[14 4],[14 5],[14 6],[14 7],[14 8],...
+	[15 1],[15 2],[15 3],[15 4],[15 5],[15 6],[15 7],[15 8],...
+	[16 1],[16 2],[16 3],[16 4],[16 5],[16 6],[16 7],...
+};
+
+mode = length(indBPM);
+if(mode < 1)
+    convIndBPM = 0;
+    return;
+elseif(mode == 1)
+    convIndBPM = arBPM{indBPM};
+    return;
+end
+
+numBPMs = length(arBPM);
+convIndBPM = 0;
+for i = 1:numBPMs
+    curRelBPM = arBPM{i};
+    if(indBPM(1) == curRelBPM(1))
+        if(indBPM(2) == curRelBPM(2))
+            convIndBPM = i;
+            return;
+        end
+    end
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idBackupFFWDTableFile.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idBackupFFWDTableFile.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idBackupFFWDTableFile.m	(revision 17)
@@ -0,0 +1,81 @@
+function [UpdateFileFullName, BackupState]=idBackupFFWDTableFile(idName, CorrectorName, idMode)
+% Written by F. Briquez 30/03/2011
+% Saves a backup of a FFWD table used by the device server.
+% The backup is made in a directory called as idBackupDirectoryName in the
+% id directory (created if necessary).
+%
+% 1) Inputs : - idName : such as 'HU36_SIRIUS'
+%           : - CorrectorName : 'CHE', 'CHS', 'CVE' or 'CVS'
+%           : - idMode : 'ii' or 'x' for parallel or anti-parallel modes.
+%               (Not case-sensitive)
+% 2) Output : - UpdateFileFullName : String containing the full name where to copy the updated
+%               table, in the backup directory.
+%           : - BackupState : -1 : backup necessary (existing old table) but failed
+%                             1  : backup necessary and succeeded
+%                             0  : backup unnecessary (no existing old table)
+
+%% Initialisation
+idBackupDirectoryName='Backup_Of_FFWD_Tables';
+BackupFileSuffix='Backup';
+UpdateFileSuffix='Update';
+
+UpdateFileFullName='';
+BackupState=-1;
+%% Get name of the table used by the device
+FFWDTableFullFileName=idGetFFWDTableFullFileName(idName, CorrectorName, idMode);
+if (strcmp(FFWDTableFullFileName, ''))
+   fprintf('Error in ''idBackupFFWDTableFile'' : could not construct table file name\n');
+    return
+end
+
+%% Get name of the directory of the id
+idDirectoryName=getfamilydata('Directory',idName);
+if (exist(idDirectoryName, 'dir')~=7)
+   fprintf('Error in ''idBackupFFWDTableFile'' : could not find directory ''%s''\n', idDirectoryName);
+    return
+end
+
+%% Create the backup directory of the id if does not exist yet
+idBackupDirectoryFullName=fullfile(idDirectoryName, idBackupDirectoryName);
+if (exist(idBackupDirectoryFullName, 'dir')~=7)
+    Status=mkdir(idBackupDirectoryFullName);
+    if (Status==0)
+       fprintf('Error in ''idBackupFFWDTableFile'' : could not create backup directory ''%s''\n', idBackupDirectoryFullName);
+        return
+    end
+    if (exist(idBackupDirectoryFullName, 'dir')~=7)
+        fprintf('Error in ''idBackupFFWDTableFile'' : could not create backup directory ''%s''\n', idBackupDirectoryFullName);
+        return
+    end
+end
+
+[~, FFWDTableFileCoreName, ext, ~] = fileparts(FFWDTableFullFileName);
+
+%% If table exists, duplicates it to backup directory
+if (exist(FFWDTableFullFileName, 'file')==2) % Existing former table file => it is duplicated
+    BackupFileCoreName=[FFWDTableFileCoreName '_' BackupFileSuffix];
+    BackupFileName=appendtimestamp(BackupFileCoreName);
+    BackupFileName=[BackupFileName ext];
+    BackupFileFullName=fullfile(idBackupDirectoryFullName, BackupFileName);
+    Status=copyfile(FFWDTableFullFileName, BackupFileFullName);
+    if (Status==0)
+        fprintf('Error in ''idBackupFFWDTableFile'' : could not create backup file ''%s''\n', BackupFileFullName);
+        return
+    else
+        fprintf ('Old table copied in ''%s''\n', BackupFileFullName);
+        BackupState=1;
+    end
+else
+    fprintf('''idBackupFFWDTableFile'' : no existing previous table file ''%s'' to backup\n', FFWDTableFullFileName);
+    BackupState=0;
+end
+
+%% Construct and return full name of the new file
+UpdateFileCoreName=[FFWDTableFileCoreName '_' UpdateFileSuffix];
+UpdateFileName=appendtimestamp(UpdateFileCoreName);
+UpdateFileName=[UpdateFileName ext];
+UpdateFileFullName=fullfile(idBackupDirectoryFullName, UpdateFileName);
+
+    
+    
+    
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCalcCorRespMatr.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCalcCorRespMatr.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCalcCorRespMatr.m	(revision 17)
@@ -0,0 +1,90 @@
+function [mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, gap, dirMeas)
+% Modified by Fabien on December 4th : the correctors current values are
+% not an argument of the function anymore. See idCalcCorRespMatr_old in
+% case of problem!
+
+
+[arElecBeamMeasCHE, arElecBeamMeasBkgrCHE, vCurValsCHE] = idReadCorElecBeamMeasData(idName, gap, 'CHE');
+[arElecBeamMeasCVE, arElecBeamMeasBkgrCVE, vCurValsCVE] = idReadCorElecBeamMeasData(idName, gap, 'CVE');
+[arElecBeamMeasCHS, arElecBeamMeasBkgrCHS, vCurValsCHS] = idReadCorElecBeamMeasData(idName, gap, 'CHS');
+[arElecBeamMeasCVS, arElecBeamMeasBkgrCVS, vCurValsCVS] = idReadCorElecBeamMeasData(idName, gap, 'CVS');
+
+dirStart = pwd;
+if strcmp(dirMeas, '')
+    dirMeas = getfamilydata('Directory',idName);
+end
+
+cd(dirMeas);
+stMeas = load(char(arElecBeamMeasCHE(1)));
+cd(dirStart);
+
+numCurValsCHE = length(vCurValsCHE);
+numCurValsCVE = length(vCurValsCVE);
+numCurValsCHS = length(vCurValsCHS);
+numCurValsCVS = length(vCurValsCVS);
+numBPMs = length(stMeas.X);
+mCorRespX = zeros(numBPMs, 2);
+mCorRespZ = zeros(numBPMs, 2);
+
+arStMeasCHE = cell(1, numCurValsCHE);
+arStMeasCVE = cell(1, numCurValsCVE);
+arStMeasCHS = cell(1, numCurValsCHS);
+arStMeasCVS = cell(1, numCurValsCVS);
+arStMeasBkgrCHE = cell(1, numCurValsCHE);
+arStMeasBkgrCVE = cell(1, numCurValsCVE);
+arStMeasBkgrCHS = cell(1, numCurValsCHS);
+arStMeasBkgrCVS = cell(1, numCurValsCVS);
+
+cd(dirMeas);
+for j = 1:numCurValsCHE
+	arStMeasCHE{j} = load(char(arElecBeamMeasCHE(j)));
+    arStMeasBkgrCHE{j} = load(char(arElecBeamMeasBkgrCHE(j)));
+end
+for j = 1:numCurValsCVE
+    arStMeasCVE{j} = load(char(arElecBeamMeasCVE(j)));
+    arStMeasBkgrCVE{j} = load(char(arElecBeamMeasBkgrCVE(j)));
+end
+for j = 1:numCurValsCHS
+    arStMeasCHS{j} = load(char(arElecBeamMeasCHS(j)));
+	arStMeasBkgrCHS{j} = load(char(arElecBeamMeasBkgrCHS(j)));
+end
+for j = 1:numCurValsCVS
+    arStMeasCVS{j} = load(char(arElecBeamMeasCVS(j)));
+	arStMeasBkgrCVS{j} = load(char(arElecBeamMeasBkgrCVS(j)));
+end
+cd(dirStart);
+
+arAuxCHE = zeros(numCurValsCHE, 1);
+arAuxCVE = zeros(numCurValsCVE, 1);
+arAuxCHS = zeros(numCurValsCHS, 1);
+arAuxCVS = zeros(numCurValsCVS, 1);
+
+for i = 1:numBPMs
+    for j = 1:numCurValsCHE
+        stMeasCHE = arStMeasCHE{j};
+        stMeasBkgrCHE = arStMeasBkgrCHE{j};
+        arAuxCHE(j) = stMeasCHE.X(i) - stMeasBkgrCHE.X(i);
+    end
+    for j = 1:numCurValsCVE
+        stMeasCVE = arStMeasCVE{j};
+        stMeasBkgrCVE = arStMeasBkgrCVE{j};
+        arAuxCVE(j) = stMeasCVE.Z(i) - stMeasBkgrCVE.Z(i);
+    end
+    for j = 1:numCurValsCHS
+        stMeasCHS = arStMeasCHS{j};
+        stMeasBkgrCHS = arStMeasBkgrCHS{j};
+        arAuxCHS(j) = stMeasCHS.X(i) - stMeasBkgrCHS.X(i);
+    end
+    for j = 1:numCurValsCVS
+        stMeasCVS = arStMeasCVS{j};
+        stMeasBkgrCVS = arStMeasBkgrCVS{j};
+        arAuxCVS(j) = stMeasCVS.Z(i) - stMeasBkgrCVS.Z(i);
+    end
+    
+    mCorRespX(i, 1) = idLeastSqLineTilt(vCurValsCHE, arAuxCHE);
+    mCorRespX(i, 2) = idLeastSqLineTilt(vCurValsCHS, arAuxCHS);
+    mCorRespZ(i, 1) = idLeastSqLineTilt(vCurValsCVE, arAuxCVE);
+    mCorRespZ(i, 2) = idLeastSqLineTilt(vCurValsCVS, arAuxCVS);
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFeedForwardCorTables.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFeedForwardCorTables.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFeedForwardCorTables.m	(revision 17)
@@ -0,0 +1,107 @@
+function [mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables(idName, idParams, fileNamesMeasCOD, dirMeasCOD, dirMeasCorResp, arIndsBPMsToSkip)
+%Calculate Feed-Forward Correction Tables vs Undulator Parameters for 2 Horizontal and 2 Vertical correctors.
+%NOTE: Horizontal correctors are those displacing electron orbit in Horizontal direction (by means of Vertical magnetic field)
+
+mCHE = []; mCVE = []; mCHS = []; mCVS = [];
+
+numUndParams = length(idParams);
+if((numUndParams < 0) || (numUndParams > 2))
+    sprintf('Number of ID parameters for the correction tables should be 1 or 2');
+    return;
+end
+
+numValsUndParam1 = length(idParams{1}{2});
+undParamName1 = idParams{1}{1};
+
+numValsUndParam2 = 1;
+undParamName2 = '';
+if(numUndParams > 1)
+    numValsUndParam2 = length(idParams{2}{2});
+    undParamName2 = idParams{2}{1};
+end
+
+if((numValsUndParam2 <= 1) && (strcmp(undParamName2, '') ~= 0))
+    numValsUndParam2 = 1;
+    undParamName2 = 'dummy';
+end
+
+mCHE = zeros(numValsUndParam2, numValsUndParam1);
+mCVE = zeros(numValsUndParam2, numValsUndParam1);
+mCHS = zeros(numValsUndParam2, numValsUndParam1);
+mCVS = zeros(numValsUndParam2, numValsUndParam1);
+
+mCorRespX = zeros(120, 2);
+mCorRespZ = zeros(120, 2);
+
+corEfficiencyDependsOnUndParam = 1;
+if((strcmp(undParamName1, 'gap') == 0) && (strcmp(undParamName2, 'gap') == 0))
+	[mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, 0, dirMeasCorResp);
+	corEfficiencyDependsOnUndParam = 0;
+elseif((strcmp(undParamName1, 'gap') ~= 0) && (strcmp(undParamName2, '') ~= 0))
+	[mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, 0, dirMeasCorResp);
+    mCorRespXgl = zeros(120, 2);
+    mCorRespZgl = zeros(120, 2);
+	[mCorRespXgl, mCorRespZgl] = idCalcCorRespMatr(idName, 250, dirMeasCorResp);
+    corEfficiencyDependsOnUndParam = 0;
+    for i = 1:length(mCorRespX)
+        if((mCorRespXgl(i,1) ~= mCorRespX(i,1)) || (mCorRespXgl(i,2) ~= mCorRespX(i,2)))
+            corEfficiencyDependsOnUndParam = 1;
+            break;
+        end
+        if((mCorRespZgl(i,1) ~= mCorRespZ(i,1)) || (mCorRespZgl(i,2) ~= mCorRespZ(i,2)))
+            corEfficiencyDependsOnUndParam = 1;
+            break;
+        end
+    end
+end
+
+indMeasCOD = 1; 
+for i = 1:numValsUndParam1
+    undParam1 = idParams{1}{2}(i);
+    if(corEfficiencyDependsOnUndParam)
+        if(strcmp(undParamName1, 'gap'))
+            [mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, undParam1, dirMeasCorResp);
+        end
+    end
+
+    for j = 1:numValsUndParam2
+        undParam2 = 0;
+        if(numUndParams > 1)
+            undParam2 = idParams{2}{2}(j);
+        end
+        if(corEfficiencyDependsOnUndParam)
+            if(strcmp(undParamName2, 'gap'))
+                [mCorRespX, mCorRespZ] = idCalcCorRespMatr(idName, undParam2, dirMeasCorResp);
+            end
+        end
+
+        fileNameMeasMain = char(fileNamesMeasCOD{indMeasCOD}{1});
+        fileNameMeasBkg = char(fileNamesMeasCOD{indMeasCOD}{2});
+
+        dirStart = pwd;
+        if strcmp(dirMeasCOD, '')
+            dirMeasCOD = getfamilydata('Directory',idName);
+        end
+        cd(dirMeasCOD);
+        stMeasMain = load(fileNameMeasMain);
+        stMeasBkg = load(fileNameMeasBkg);
+        cd(dirStart);
+
+        vCODx = stMeasMain.X - stMeasBkg.X;
+        curCorX = idLeastSqLinFit(mCorRespX, vCODx, arIndsBPMsToSkip);
+
+        vCODz = stMeasMain.Z - stMeasBkg.Z;
+        curCorZ = idLeastSqLinFit(mCorRespZ, vCODz, arIndsBPMsToSkip);
+
+        mCHE(j, i) = -curCorX(1);
+        mCVE(j, i) = -curCorZ(1);
+        mCHS(j, i) = -curCorX(2);
+        mCVS(j, i) = -curCorZ(2);
+        indMeasCOD = indMeasCOD + 1;
+    end
+end
+
+if(numUndParams > 1)
+    fprintf('VERTICAL dimension in tables (i.e. row no. is variable; column no. is const) corresponds to variation of  %s\n', undParamName2);
+    fprintf('HORIZONTAL dimension in tables (i.e. row no. is const; column no. is variable) corresponds to variation of  %s\n', undParamName1);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeas.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeas.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeas.m	(revision 17)
@@ -0,0 +1,22 @@
+function [i1x, i2x, i1z, i2z] = idCalcFldIntFromElecBeamMeas(ElecBeamDataMain, ElecBeamDataBkg, mCODx, mCODz, arIndsBPMsToSkip, idLen, idKickOfst, elecEn_GeV, kick2x_rad, kick2z_rad, vR0x, vR0z)
+%Returns 1st and 2nd horizontal and vertical field integrals in [G*m] and [G*m^2] respectively,
+%assuming: ...
+
+vDX = 0.001*(ElecBeamDataMain.X - ElecBeamDataBkg.X); %rel. hor. COD in [m] - vector of 120 (= number of BPMs) elements
+vDZ = 0.001*(ElecBeamDataMain.Z - ElecBeamDataBkg.Z); %rel. vert. COD in [m] - vector of 120 elements
+
+if(kick2x_rad ~= 0) %Subtracting 2nd order effect
+    if(size(vR0x, 1) > 1)
+        vDX = vDX - kick2x_rad*vR0x;
+    end
+end
+if(kick2z_rad ~= 0) %Subtracting 2nd order effect
+    if(size(vR0z, 1) > 1)
+        vDZ = vDZ - kick2z_rad*vR0z;
+    end
+end
+
+vKicksX = idLeastSqLinFit(mCODx, vDX, arIndsBPMsToSkip); %vector of 2 (= number of kicks) elements
+vKicksZ = idLeastSqLinFit(mCODz, vDZ, arIndsBPMsToSkip); %vector of 2 (= number of kicks) elements
+[i1z, i2z] = idKicks2FldInt(vKicksX, 'x', idLen, idKickOfst, elecEn_GeV);
+[i1x, i2x] = idKicks2FldInt(vKicksZ, 'z', idLen, idKickOfst, elecEn_GeV);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForMode.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForMode.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForMode.m	(revision 17)
@@ -0,0 +1,13 @@
+function [arI1x, arI2x, arI1z, arI2z] = idCalcFldIntFromElecBeamMeasForMode(folder, mode, numMeas, mCODx, mCODz, idLen, idKickOfst, elecEn_GeV)
+
+%mCOD = idCreateModelOrbDistMatr('x', ElecBeamModel, 8, 1.3325, idLen, idKickOfst);
+
+arI1x = zeros(1, numMeas);
+arI2x = zeros(1, numMeas);
+arI1z = zeros(1, numMeas);
+arI2z = zeros(1, numMeas);
+
+for i = 1:numMeas
+    [MeasMain, MeasBkgr] = idReadMeasElecBeamData(folder, mode, i);
+    [arI1x(i), arI2x(i), arI1z(i), arI2z(i)] = idCalcFldIntFromElecBeamMeas(MeasMain, MeasBkgr, mCODx, mCODz, idLen, idKickOfst, elecEn_GeV);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForUndSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForUndSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForUndSOLEIL.m	(revision 17)
@@ -0,0 +1,58 @@
+function [vI1x, vI2x, vI1z, vI2z, vKickX1, vKickX2, vKickZ1, vKickZ2] = idCalcFldIntFromElecBeamMeasForUndSOLEIL(idName, dirMeasData, fileNamesMeasMain, fileNamesMeasBkgr, dirModel, arIndsBPMsToSkip, kick2x_rad, kick2z_rad)
+
+%Calculates effective first and second horizontal and vertical field
+%integrals of SOLEIL undulators from COD
+
+GeomParUnd = idGetGeomParamForUndSOLEIL(idName);
+
+ElecBeamModelData = idReadElecBeamModel(dirModel);
+[mCODx, vR0x] = idCreateModelOrbDistMatr('x', ElecBeamModelData, GeomParUnd);
+[mCODz, vR0z] = idCreateModelOrbDistMatr('z', ElecBeamModelData, GeomParUnd);
+
+numMeas = length(fileNamesMeasMain);
+numMeasBkgr = length(fileNamesMeasBkgr);
+if(numMeas ~= numMeasBkgr)
+    sprintf('Inconsistent numbers of the main and background measurements\n');
+    return;
+end
+
+vI1x = zeros(numMeas, 1);
+vI2x = zeros(numMeas, 1);
+vI1z = zeros(numMeas, 1);
+vI2z = zeros(numMeas, 1);
+vKickX1 = zeros(numMeas, 1);
+vKickX2 = zeros(numMeas, 1);
+vKickZ1 = zeros(numMeas, 1);
+vKickZ2 = zeros(numMeas, 1);
+
+if strcmp(dirMeasData, '')
+    dirMeasData = getfamilydata('Directory',idName);
+end
+
+for i = 1:numMeas
+    dirStart = pwd;
+        
+    %if strcmp(dirMeasData, '') == 0
+	cd(dirMeasData);
+    %end
+    
+	%ElecBeamMeasMain = load(char(fileNamesMeasMain(i)));
+	%ElecBeamMeasBkgr = load(char(fileNamesMeasBkgr(i)));
+	ElecBeamMeasMain = load(fileNamesMeasMain{i});
+	ElecBeamMeasBkgr = load(fileNamesMeasBkgr{i});
+
+	cd(dirStart);
+    
+    [vI1x(i), vI2x(i), vI1z(i), vI2z(i)] = idCalcFldIntFromElecBeamMeas(ElecBeamMeasMain, ElecBeamMeasBkgr, mCODx, mCODz, arIndsBPMsToSkip, GeomParUnd.idLen, GeomParUnd.idKickOfst, ElecBeamModelData.E, kick2x_rad, kick2z_rad, vR0x, vR0z);
+
+	DX_Meas = ElecBeamMeasMain.X - ElecBeamMeasBkgr.X;
+	DZ_Meas = ElecBeamMeasMain.Z - ElecBeamMeasBkgr.Z;
+	KicksX = idLeastSqLinFit(mCODx, DX_Meas, arIndsBPMsToSkip);
+	KicksZ = idLeastSqLinFit(mCODz, DZ_Meas, arIndsBPMsToSkip);
+    vKickX1(i) = KicksX(1);
+    vKickX2(i) = KicksX(2);
+    vKickZ1(i) = KicksZ(1);
+    vKickZ2(i) = KicksZ(2);
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForUndSOLEIL_1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForUndSOLEIL_1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntFromElecBeamMeasForUndSOLEIL_1.m	(revision 17)
@@ -0,0 +1,27 @@
+function outStruct = idCalcFldIntFromElecBeamMeasForUndSOLEIL_1(idName, dirMeasData, fileNameMeasMain, fileNameMeasBkgr, dirModel, arIndsBPMsToSkip, kick2x_rad, kick2z_rad)
+
+%Calculates effective first and second horizontal and vertical field
+%integrals of SOLEIL undulator from one measurement of COD (read from the files: fileNameMeasMain, fileNameMeasBkgr)
+
+GeomParUnd = idGetGeomParamForUndSOLEIL(idName);
+
+ElecBeamModelData = idReadElecBeamModel(dirModel);
+[mCODx, vR0x] = idCreateModelOrbDistMatr('x', ElecBeamModelData, GeomParUnd);
+[mCODz, vR0z] = idCreateModelOrbDistMatr('z', ElecBeamModelData, GeomParUnd);
+
+dirStart = pwd;
+if strcmp(dirMeasData, '') == 0
+	cd(dirMeasData);
+end
+ElecBeamMeasMain = load(char(fileNameMeasMain));
+ElecBeamMeasBkgr = load(char(fileNameMeasBkgr));
+cd(dirStart);
+
+[outStruct.I1X, outStruct.I2X, outStruct.I1Z, outStruct.I2Z] = idCalcFldIntFromElecBeamMeas(ElecBeamMeasMain, ElecBeamMeasBkgr, mCODx, mCODz, arIndsBPMsToSkip, GeomParUnd.idLen, GeomParUnd.idKickOfst, ElecBeamModelData.E, kick2x_rad, kick2z_rad, vR0x, vR0z);
+
+outStruct.DX_Meas = ElecBeamMeasMain.X - ElecBeamMeasBkgr.X;
+outStruct.DZ_Meas = ElecBeamMeasMain.Z - ElecBeamMeasBkgr.Z;
+outStruct.KicksX = idLeastSqLinFit(mCODx, outStruct.DX_Meas, arIndsBPMsToSkip);
+outStruct.KicksZ = idLeastSqLinFit(mCODz, outStruct.DZ_Meas, arIndsBPMsToSkip);
+outStruct.DX_Fit = mCODx*outStruct.KicksX;
+outStruct.DZ_Fit = mCODz*outStruct.KicksZ;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL.m	(revision 17)
@@ -0,0 +1,83 @@
+function [vI1x, vI2x, vI1z, vI2z, vPosBump, vKickX1, vKickX2, vKickZ1, vKickZ2, dNuX, dNuZ] = idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL(idName, dirMeasData, fileNamesBumpInf, undParam, dirModel, arIndsBPMsToSkip, vKick2x_rad, vKick2z_rad)
+%Calculates dependences I1x vs x (position bump), I1z vs x, etc., for given
+%undulator parameters, e.g. undParam = {{'gap', 15.5}, {'phase', 40}}
+%fileNamesBumpInf is the result of idMeasElecBeamVsUndParamVsBump
+%arIndsBPMsToSkip can be either [1, 2, 3, 7,...] or {[1 1],[1 2],[1 3],[1 7],...}
+
+%Convert list of BPMs to skip to absolute format
+if(iscell(arIndsBPMsToSkip))
+    numBPMsToSkip = length(arIndsBPMsToSkip);
+	if(numBPMsToSkip > 0)
+        arAbsIndsBPMsToSkip = zeros(numBPMsToSkip, 1);
+        for i = 1:numBPMsToSkip
+            arAbsIndsBPMsToSkip = idBPMIndConvForSOLEIL(i);
+        end
+    else
+        arAbsIndsBPMsToSkip = -1;
+	end
+else
+	arAbsIndsBPMsToSkip = arIndsBPMsToSkip;
+end
+
+%Extract necessary data from fileNamesBumpInf
+numBumps = length(fileNamesBumpInf);
+if(numBumps <= 0)
+	fprintf('No position bump data was found\n');
+	return;
+end
+
+GeomParUnd = idGetGeomParamForUndSOLEIL(idName);
+ElecBeamModelData = idReadElecBeamModel(dirModel);
+[mCODx, vR0x] = idCreateModelOrbDistMatr('x', ElecBeamModelData, GeomParUnd);
+[mCODz, vR0z] = idCreateModelOrbDistMatr('z', ElecBeamModelData, GeomParUnd);
+
+vPosBump = zeros(numBumps, 1);
+vI1x = zeros(numBumps, 1);
+vI2x = zeros(numBumps, 1);
+vI1z = zeros(numBumps, 1);
+vI2z = zeros(numBumps, 1);
+vKickX1 = zeros(numBumps, 1);
+vKickX2 = zeros(numBumps, 1);
+vKickZ1 = zeros(numBumps, 1);
+vKickZ2 = zeros(numBumps, 1);
+dNuX = zeros(numBumps, 1);
+dNuZ = zeros(numBumps, 1);
+
+if strcmp(dirMeasData, '')
+    dirMeasData = getfamilydata('Directory',idName);
+end
+
+absIndMeas = -1;
+for i = 1:numBumps
+    curFileNamesBumpInf = fileNamesBumpInf{i};
+    curBumpInf = curFileNamesBumpInf{1};
+    curFileNamesStruct = curFileNamesBumpInf{2};
+    vPosBump(i) = 0.5*(curBumpInf(1) + curBumpInf(2));
+    
+    curUndParamsMeas = curFileNamesStruct.params;
+    if(absIndMeas < 0)
+        absIndMeas = idAuxCalcIndMeasAtGivenUndParams(curUndParamsMeas, undParam);
+    end
+    curFileNamesMeasBkg = curFileNamesStruct.filenames_meas_bkg{absIndMeas};
+    curFileNameMeas = curFileNamesMeasBkg{1};
+    curFileNameBkg = curFileNamesMeasBkg{2};
+    
+    dirStart = pwd;
+    cd(dirMeasData);
+	ElecBeamMeasMain = load(curFileNameMeas);
+	ElecBeamMeasBkgr = load(curFileNameBkg);
+	cd(dirStart);
+    
+    [vI1x(i), vI2x(i), vI1z(i), vI2z(i)] = idCalcFldIntFromElecBeamMeas(ElecBeamMeasMain, ElecBeamMeasBkgr, mCODx, mCODz, arAbsIndsBPMsToSkip, GeomParUnd.idLen, GeomParUnd.idKickOfst, ElecBeamModelData.E, vKick2x_rad(i), vKick2z_rad(i), vR0x, vR0z);
+
+	DX_Meas = ElecBeamMeasMain.X - ElecBeamMeasBkgr.X;
+	DZ_Meas = ElecBeamMeasMain.Z - ElecBeamMeasBkgr.Z;
+	KicksX = idLeastSqLinFit(mCODx, DX_Meas, arAbsIndsBPMsToSkip);
+	KicksZ = idLeastSqLinFit(mCODz, DZ_Meas, arAbsIndsBPMsToSkip);
+    vKickX1(i) = KicksX(1);
+    vKickX2(i) = KicksX(2);
+    vKickZ1(i) = KicksZ(1);
+    vKickZ2(i) = KicksZ(2);
+	dNuX(i) = ElecBeamMeasMain.tune(1) - ElecBeamMeasBkgr.tune(1);
+	dNuZ(i) = ElecBeamMeasMain.tune(2) - ElecBeamMeasBkgr.tune(2);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCalcVirtKickAngles.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCalcVirtKickAngles.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCalcVirtKickAngles.m	(revision 17)
@@ -0,0 +1,9 @@
+function [outKicksX, outKicksZ] = idCalcVirtKickAngles(mOrbDistX, mOrbDistZ, vOrigX, vOrigZ)
+
+vCurX = getx;
+vCurZ = getz;
+vDelX = vCurX - vOrigX;
+vDelZ = vCurZ - vOrigZ;
+
+outKicksX = idLeastSqLinFit(mOrbDistX, vDelX);
+outKicksZ = idLeastSqLinFit(mOrbDistZ, vDelZ);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCheckFFWDTableStructure.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCheckFFWDTableStructure.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCheckFFWDTableStructure.m	(revision 17)
@@ -0,0 +1,26 @@
+function CheckResult=idCheckFFWDTableStructure(FFWDTableStructure)
+%% Written by F. Briquez    26/04/2011
+% Checks if input FFWD table structure contains all the appropriate fields
+% contained in CellOfStructureFields
+
+%%
+CheckResult=-1;
+
+CellOfStructureFields=cell(7, 1);
+CellOfStructureFields{1}='vPhases';
+CellOfStructureFields{2}='vGaps';
+CellOfStructureFields{3}='Table';
+CellOfStructureFields{4}='TableWithArgs';
+CellOfStructureFields{5}='idName';
+CellOfStructureFields{6}='idMode';
+CellOfStructureFields{7}='CorrectorName';
+
+for i=1:size(CellOfStructureFields, 1)
+    CurrentField=CellOfStructureFields{i};
+    if (isfield(FFWDTableStructure, CurrentField)==0)
+        return
+    end
+end
+
+CheckResult=1;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idCreateModelOrbDistMatr.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idCreateModelOrbDistMatr.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idCreateModelOrbDistMatr.m	(revision 17)
@@ -0,0 +1,101 @@
+%function outM = idCreateModelOrbDistMatr(x_or_z, ModelData, indUpstrBPM, sectLenBwBPMs, idCenPos, idLen, idKickOfst)
+function [outM, outR0] = idCreateModelOrbDistMatr(x_or_z, ModelData, GeomParUnd)
+
+% Creates orbit distortion matrix to simulate effect of an ID on e-beam
+% transverse positions along the ring
+
+%indDownstrBPM = GeomParUnd.indUpstrBPM + 1; % To precise this
+%if indDownstrBPM == 121
+%    indDownstrBPM = 1;
+%end
+
+ringCircum = ModelData.circ; %354; % [m]
+alpMomCompact = ModelData.alp1; %0.0004 @Soleil
+
+%numBPMsToSkip = length(arIndsBPMsToSkip);
+
+%[Btx, Btz] = modelbeta(strBPM);
+%[Alpx, Alpz] = modeltwiss('alpha', strBPM);
+%[Etax, Etaz] = modeldisp(strBPM); % Ask Laurent or Pascale
+%[Phx, Phz] = modelphase(strBPM);
+%Nuxz = modeltune;
+
+Bt = ModelData.Btx; Alp = ModelData.Alpx; Eta = ModelData.Etax; Ph = ModelData.Phx; Nu = ModelData.Nuxz(1);
+if strcmp(x_or_z, 'z') ~= 0
+	Bt = ModelData.Btz; Alp = ModelData.Alpz; Eta = ModelData.Etaz; Ph = ModelData.Phz; Nu = ModelData.Nuxz(2);
+end
+
+numBPMsAr = size(Bt);
+numBPMs = numBPMsAr(1);
+
+indDownstrBPM = GeomParUnd.indUpstrBPM + 1; % To precise this
+if indDownstrBPM > numBPMs
+    indDownstrBPM = 1;
+end
+
+%distUpstrBPM_Kick1 = GeomParUnd.idCenPos - 0.5*GeomParUnd.sectLenBwBPMs - 0.5*GeomParUnd.idLen + GeomParUnd.idKickOfst;
+%distUpstrBPM_Kick2 = GeomParUnd.idCenPos - 0.5*GeomParUnd.sectLenBwBPMs + 0.5*GeomParUnd.idLen - GeomParUnd.idKickOfst;
+%distUpstrBPM_Kick0 = GeomParUnd.idCenPos;
+% modifiÃ© le 24/10/08 par Pascale et Fabrice avec accord Oleg
+distUpstrBPM_Kick1 = GeomParUnd.idCenPos + 0.5*GeomParUnd.sectLenBwBPMs - 0.5*GeomParUnd.idLen + GeomParUnd.idKickOfst;
+distUpstrBPM_Kick2 = GeomParUnd.idCenPos + 0.5*GeomParUnd.sectLenBwBPMs + 0.5*GeomParUnd.idLen - GeomParUnd.idKickOfst;
+distUpstrBPM_Kick0 = GeomParUnd.idCenPos + 0.5*GeomParUnd.sectLenBwBPMs;
+
+btUpstr = Bt(GeomParUnd.indUpstrBPM);
+alpUpstr = Alp(GeomParUnd.indUpstrBPM);
+etaUpstr = Eta(GeomParUnd.indUpstrBPM);
+etaDownstr = Eta(indDownstrBPM);
+phUpstr = Ph(GeomParUnd.indUpstrBPM);
+%phDownstr = Ph(indDownstrBPM);
+
+gamUpstr = (1 + alpUpstr*alpUpstr)/btUpstr;
+twoAlpUpstr = 2*alpUpstr;
+btKick1 = btUpstr - distUpstrBPM_Kick1*twoAlpUpstr + distUpstrBPM_Kick1*distUpstrBPM_Kick1*gamUpstr;
+btKick2 = btUpstr - distUpstrBPM_Kick2*twoAlpUpstr + distUpstrBPM_Kick2*distUpstrBPM_Kick2*gamUpstr;
+btKick0 = btUpstr - distUpstrBPM_Kick0*twoAlpUpstr + distUpstrBPM_Kick0*distUpstrBPM_Kick0*gamUpstr;
+
+etaDifBwBPMs = etaDownstr - etaUpstr;
+etaKick1 = etaUpstr + (distUpstrBPM_Kick1/GeomParUnd.sectLenBwBPMs)*etaDifBwBPMs; % Ask Laurent or Pascale
+etaKick2 = etaUpstr + (distUpstrBPM_Kick2/GeomParUnd.sectLenBwBPMs)*etaDifBwBPMs;
+etaKick0 = etaUpstr + (distUpstrBPM_Kick0/GeomParUnd.sectLenBwBPMs)*etaDifBwBPMs;
+
+%phDifBwBPMs = phDownstr - phUpstr;
+%phKick1 = phUpstr + (distUpstrBPM_Kick1/GeomParUnd.sectLenBwBPMs)*phDifBwBPMs; % Ask Laurent or Pascale
+%phKick2 = phUpstr + (distUpstrBPM_Kick2/GeomParUnd.sectLenBwBPMs)*phDifBwBPMs;
+atan_alpUpstr = atan(alpUpstr);
+phKick1 = phUpstr + atan_alpUpstr + atan(gamUpstr*distUpstrBPM_Kick1 - alpUpstr);
+phKick2 = phUpstr + atan_alpUpstr + atan(gamUpstr*distUpstrBPM_Kick2 - alpUpstr);
+phKick0 = phUpstr + atan_alpUpstr + atan(gamUpstr*distUpstrBPM_Kick0 - alpUpstr);
+
+invTwoSinPiNu = 1./(2.*sin(pi*Nu));
+invAlpCircum = 1./(alpMomCompact*ringCircum);
+
+%numBPMsAr = size(Bt);
+%numBPMs = numBPMsAr(1);
+%outM = zeros(numBPMs - numBPMsToSkip, 2);
+
+outM = zeros(numBPMs, 2); %Main matrix for 2 virual kicks located (roughly) at undulator extremities and simulating 1st order effects
+outR0 = zeros(numBPMs, 1); %Vector for 1 virtual kick located in the middle of the undulator and simulating 2nd order effect
+
+%countBPM = 1;
+for i = 1:numBPMs
+    %if(numBPMsToSkip > 0)
+    %    skipThisBPM = 0;
+    %    for j = 1:numBPMsToSkip
+    %        if(i == arIndsBPMsToSkip(j))
+    %            skipThisBPM = 1;
+    %            break;
+    %    	end
+    %    end
+    %    if(skipThisBPM ~= 0)
+    %        continue;
+    %    end
+    %end
+    %outM(countBPM, 1) = invTwoSinPiNu*sqrt(Bt(i)*btKick1)*cos(abs(Ph(i) - phKick1) - pi*Nu) + invAlpCircum*Eta(i)*etaKick1;
+    %outM(countBPM, 2) = invTwoSinPiNu*sqrt(Bt(i)*btKick2)*cos(abs(Ph(i) - phKick2) - pi*Nu) + invAlpCircum*Eta(i)*etaKick2;
+    %countBPM = countBPM + 1; 
+    
+	outM(i, 1) = invTwoSinPiNu*sqrt(Bt(i)*btKick1)*cos(abs(Ph(i) - phKick1) - pi*Nu) + invAlpCircum*Eta(i)*etaKick1;
+	outM(i, 2) = invTwoSinPiNu*sqrt(Bt(i)*btKick2)*cos(abs(Ph(i) - phKick2) - pi*Nu) + invAlpCircum*Eta(i)*etaKick2;
+	outR0(i, 1) = invTwoSinPiNu*sqrt(Bt(i)*btKick0)*cos(abs(Ph(i) - phKick0) - pi*Nu) + invAlpCircum*Eta(i)*etaKick0;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idDownloadFFWDTableStructureOfOneCorrectorFromDevice.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idDownloadFFWDTableStructureOfOneCorrectorFromDevice.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idDownloadFFWDTableStructureOfOneCorrectorFromDevice.m	(revision 17)
@@ -0,0 +1,76 @@
+function FFWDTableStructure=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, CorrectorName, idMode)
+%% Written by F. Briquez 30/03/2011
+% 1) Inputs : idName : such as 'HU36_SIRIUS'
+%           : CorrectorName : 'CHE', 'CHS', 'CVE' or 'CVS'
+%           : idMode : 'ii', 'x', 'i2' or 'x2' for parallel or anti-parallel normal/advanced modes.
+%               (Not case-sensitive)
+% 2) Output : Structure with fields :
+%               - vPhases       : 1xNphases vector containing phase values
+%               - vGaps         : 1xNgaps vector containing gap values
+%               - Table         : NphasesxNgaps matrix containing correction current values
+%               - TableWithArgs : (Nphases+1)x(Ngaps+1) matrix containing
+%                                   correction current values, with headers
+%               - idName        : idName
+%               - CorrectorName : CorrectorName
+%               - idMode        : idMode
+% 3) Returns empty structure (0x0 without field) in case of inexisting file
+%    or wrong input.
+
+%% Create empty structure
+    FFWDTableStructure=struct;
+
+%% Check the name of ID
+    Directory=idGetFFWDTableDirectory(idName);
+    if (isempty(Directory))
+            fprintf ('Error in ''idDownloadFFWDTableStructureOfOneCorrectorFromDevice'' : wrong idName ''%s''\n', idName);
+            return
+    end
+
+%% Check the corrector name
+    if (strcmpi(CorrectorName, 'CVE')==0&&strcmpi(CorrectorName, 'CHE')==0&&strcmpi(CorrectorName, 'CVS')==0&&strcmpi(CorrectorName, 'CHS')==0)
+        fprintf('Error in ''idDownloadFFWDTableStructureOfOneCorrectorFromDevice'' : Wrong corrector name\n')
+        return
+    end
+
+%% Check the mode of ID
+    if strcmpi(idMode, 'II')
+    %     idMode='PARALLEL';
+    elseif strcmpi(idMode, 'X')
+    %     idMode='ANTIPARALLEL';
+    elseif strcmpi(idMode, 'I2')
+    %     idMode='PARALLEL 2';
+    elseif strcmpi(idMode, 'X2')
+    %     idMode='ANTIPARALLEL 2';
+    else fprintf('Error in ''idDownloadFFWDTableStructureOfOneCorrectorFromDevice'' : Wrong mode. It should be ''II'', ''X'', ''I2'' or ''X2''\n')
+        return
+    end
+
+%% Check that FFWD table file exists
+    FileFullName=idGetFFWDTableFullFileName(idName, CorrectorName, idMode);
+
+    if (exist(FileFullName, 'file')~=2)
+        fprintf('Error in ''idDownloadFFWDTableStructureOfOneCorrectorFromDevice'' : could not find table file ''%s''\n', FileFullName);
+        return
+    end
+
+%% Extracts data from FFWD table file and puts in output structure fields
+    FFWDTableWithArgs=load('-ascii', FileFullName);
+
+    NumberOfPhaseValues=size(FFWDTableWithArgs, 2);
+    NumberOfGapValues=size(FFWDTableWithArgs, 1);
+    FFWDTable=FFWDTableWithArgs(2:NumberOfGapValues, 2:NumberOfPhaseValues);
+    vPhases=FFWDTableWithArgs(1,2:NumberOfPhaseValues);
+    vGaps=FFWDTableWithArgs(2:NumberOfGapValues, 1);
+    vPhases=transpose(vPhases);
+
+    FFWDTableStructure=idGetFFWDTableStructureFromTable(idName, FFWDTable, vPhases, vGaps, idMode, CorrectorName);
+    
+%     FFWDTableStructure.vPhases=vPhases;
+%     FFWDTableStructure.vGaps=vGaps;
+%     FFWDTableStructure.Table=FFWDTable;
+%     FFWDTableStructure.TableWithArgs=FFWDTableWithArgs;
+%     FFWDTableStructure.idName=idName;
+%     FFWDTableStructure.CorrectorName=CorrectorName;
+%     FFWDTableStructure.idMode=idMode;
+    return
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idDownloadTableStructuresFromDevice.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idDownloadTableStructuresFromDevice.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idDownloadTableStructuresFromDevice.m	(revision 17)
@@ -0,0 +1,17 @@
+function [stCHEii, stCHSii, stCVEii, stCVSii, stCHEx, stCHSx, stCVEx, stCVSx, stCHEx2, stCHSx2, stCVEx2, stCVSx2]=idDownloadTableStructuresFromDevice(idName)
+% Written by F. Briquez 30/03/2011
+
+stCHEii=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CHE', 'II');
+stCHSii=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CHS', 'II');
+stCVEii=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CVE', 'II');
+stCVSii=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CVS', 'II');
+
+stCHEx=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CHE', 'X');
+stCHSx=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CHS', 'X');
+stCVEx=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CVE', 'X');
+stCVSx=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CVS', 'X');
+
+stCHEx2=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CHE', 'X2');
+stCHSx2=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CHS', 'X2');
+stCVEx2=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CVE', 'X2');
+stCVSx2=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, 'CVS', 'X2');
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idGetCorCurForOrbitBump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idGetCorCurForOrbitBump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idGetCorCurForOrbitBump.m	(revision 17)
@@ -0,0 +1,35 @@
+function [CM_DeviceList, CM_CurSP, ErrorFlag] = idGetCorCurForOrbitBump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList)
+%Determines a vector of relative current values [A] in a given set of correctors,
+%which are necessary to provide a given incremental bump in storage ring
+
+[OCS, OCS0, V, S, ErrorFlag] = setorbitbump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList, 'NoSetSP');
+if(ErrorFlag)
+    return;
+end
+CM_DeviceList = OCS.CM.DeviceList;
+CM_CurSP = OCS.CM.Delta;
+
+%Get "normal" setpoints for corrector currents
+%[CM_OrigCurSP, tout, DataTime, ErrorFlag] = getam(CM_Family, CM_DeviceList);
+%if(ErrorFlag ~= 0)
+%    return;
+%end
+
+%Do the bump ('incremental' by default ?)
+%[OCS, OCS0, V, S, ErrorFlag] = setorbitbump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList);
+%if(ErrorFlag)
+%    return;
+%end
+%CM_DeviceList = OCS.CM.DeviceList;
+
+%Get setpoints
+%[CM_CurSP, tout, DataTime, ErrorFlag] = getam(CM_Family, CM_DeviceList);
+%if(ErrorFlag)
+%    return;
+%end
+
+%We need relative currents:
+%CM_CurSP = CM_CurSP - CM_OrigCurSP;
+
+%Removing the bump - do we need to do that?
+%[OCS, OCS0, V, S, ErrorFlag] = setorbitbump(BPM_Family, BPM_DeviceList, -GoalOrbit, CM_Family, CM_IncrementList);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idGetFFWDTableDirectory.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idGetFFWDTableDirectory.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idGetFFWDTableDirectory.m	(revision 17)
@@ -0,0 +1,30 @@
+function Result=idGetFFWDTableDirectory(idName)
+%% Written by F. Briquez
+% 1) Input : idName. Such as 'HU36_SIRIUS'
+% 2) Output : the name of the directory where FFWD tables are stored. It should be something like:
+% '/usr/Local/configFiles/InsertionFFTables/ANS-C08-HU44'
+% 3) If idName is unknown, returned Result is empty string.
+%%
+    DeviceServer=idGetUndDServer(idName);
+    if (isempty(DeviceServer))
+        fprintf ('Error in ''idGetFFWDTableDirectory'': idName ''%s'' is unknown''\n', idName);
+        Result='';
+        return
+    end
+    % DeviceServer is something like 'ANS-C08/EI/M-HU44.1'
+    SeparatorPositions=strfind(DeviceServer, '/');
+    if size(SeparatorPositions, 2)~=2
+        fprintf('Error in ''idGetFFWDTableDirectory'' : Wrong format of DeviceServer\n');
+    end
+    FirstSeparatorPosition=SeparatorPositions(1);
+    SecondSeparatorPosition=SeparatorPositions(2);
+    Cell=DeviceServer(1:FirstSeparatorPosition-1);
+    UndulatorNameWithStraightSectiontype=DeviceServer(SecondSeparatorPosition+1:size(DeviceServer, 2));
+    SeparatorPositions=strfind(idName, '_');
+    if size(SeparatorPositions, 2)~=1
+        fprintf('Error in ''idGetFFWDTableDirectory'' : Wrong format of idName\n');
+    end
+    UndulatorName=idName(1:SeparatorPositions(1)-1);
+    Result=['/usr/Local/configFiles/InsertionFFTables/', Cell, '-', UndulatorName];
+    return
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idGetFFWDTableFullFileName.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idGetFFWDTableFullFileName.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idGetFFWDTableFullFileName.m	(revision 17)
@@ -0,0 +1,36 @@
+function FileName=idGetFFWDTableFullFileName(idName, CorrectorName, idMode)
+% Written by F. Briquez 30/03/2011
+% 1) Inputs : idName : such as 'HU36_SIRIUS'
+%           : CorrectorName : 'CHE', 'CHS', 'CVE' or 'CVS'
+%           : idMode : 'ii', 'x', 'i2' or 'x2'  for parallel or anti-parallel normal/advanced modes.
+%               (Not case-sensitive)
+% 2) Output : String containing full file name of FFWD table used by the device
+%              such as :
+%               '/usr/Local/configFiles/InsertionFFTables/ANS-C15-HU36/FF_PARALLEL_CHE_TABLE.txt'
+% 3) Returns empty string '' in case of wrong input.
+
+FileName='';
+
+Directory=idGetFFWDTableDirectory(idName);
+if (isempty(Directory))
+        fprintf ('Error in ''idGetFFWDTableFullFileName'' : wrong idName ''%s''\n', idName);
+        return
+end
+if (strcmpi(CorrectorName, 'CVE')==0&&strcmpi(CorrectorName, 'CHE')==0&&strcmpi(CorrectorName, 'CVS')==0&&strcmpi(CorrectorName, 'CHS')==0)
+    fprintf('Error in ''idGetFFWDTableFullFileName'' : Wrong corrector name\n')
+    return
+end
+if strcmpi(idMode, 'II')
+    idMode='PARALLEL';
+elseif strcmpi(idMode, 'X')
+    idMode='ANTIPARALLEL';
+elseif strcmpi(idMode, 'I2')
+    idMode='PARALLEL2';
+elseif strcmpi(idMode, 'X2')
+    idMode='ANTIPARALLEL2';
+else fprintf('Error in ''idGetFFWDTableFullFileName'' : Wrong mode. It should be ''ii'' or ''x'' (not case-sensitive)\n')
+    return
+end
+FileName=sprintf('FF_%s_%s_TABLE.txt', idMode, CorrectorName);
+FileName=fullfile(Directory, FileName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idGetGeomParamForUndSOLEIL.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idGetGeomParamForUndSOLEIL.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idGetGeomParamForUndSOLEIL.m	(revision 17)
@@ -0,0 +1,196 @@
+function outStruct = idGetGeomParamForUndSOLEIL(idName)
+%This should be updated for each new undulator
+ 
+outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+outStruct.idCenPos = 1.333; %[m] center longitudinal position of the ID with respect to the straight section center
+outStruct.idLen = 1.8; %[m] ID length
+outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+outStruct.indUpstrBPM = 54; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+outStruct.indRelBPMs = [8 1;8 2]; %relative indexes of upstream and downstream BPMs of the straight section where the ID is located
+
+if strncmp(idName, 'WSV50', 3)
+    %To be checked by Chams and Pascale B.
+	outStruct.sectLenBwBPMs = 2.4; %[m] straight section length between BPMs
+	outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+	outStruct.idLen = 2; %[m] ID length
+	outStruct.idKickOfst = 0.1; %[m] offset from ID edge to effective position of a "kick"
+    outStruct.indUpstrBPM = 19; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+    outStruct.indRelBPMs = [3 5;3 6];
+end
+
+if strncmp(idName, 'U20', 3)
+    %To be checked by Chams and Pascale B.
+	outStruct.sectLenBwBPMs = 2.4; %[m] straight section length between BPMs
+	outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+	outStruct.idLen = 2; %[m] ID length
+	outStruct.idKickOfst = 0.1; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'U20_PROXIMA1')
+        outStruct.indUpstrBPM = 71; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [10 5;10 6];
+    elseif strcmp(idName, 'U20_SWING')
+        outStruct.indUpstrBPM = 79; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [11 5;11 6];
+    elseif strcmp(idName, 'U20_CRISTAL')
+        outStruct.indUpstrBPM = 41; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [6 5;6 6];
+    elseif strcmp(idName, 'U20_SIXS')
+        outStruct.indUpstrBPM = 101; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [14 5;14 6];        
+    elseif strcmp(idName, 'U20_GALAXIES')
+        outStruct.indUpstrBPM = 49; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [7 5;7 6];        
+    end
+elseif strncmp(idName, 'U24', 3)
+    %To be checked by Chams and Pascale B.
+	outStruct.sectLenBwBPMs = 2.*3.14155; %2.4; modified the 12/11/08 % [m] straight section length between BPMs, modified the 12/11/08
+	outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+	outStruct.idLen = 2; %[m] ID length
+	outStruct.idKickOfst = 0.1; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'U24_PROXIMA2-A')
+        outStruct.indUpstrBPM = 75; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+% position de l'onduleur a determiner par Olivier
+        outStruct.idCenPos = 1.52; % 1.8; modified the 12/11/08 %[m] center longitudinal position of the ID with respect to the straight section center
+%------------------------------------------------
+        outStruct.indRelBPMs = [11 5;11 6];
+    elseif strcmp(idName, 'Uxx_PROXIMA2-B')
+        outStruct.indUpstrBPM = 75; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+ % position de l'onduleur a determiner par Olivier
+        outStruct.idCenPos = -1.360 ; %-1.8; modified the 12/11/08; %[m] center longitudinal position of the ID with respect to the straight section center
+%------------------------------------------------
+        outStruct.indRelBPMs = [11 5;11 6];
+    end
+elseif strncmp(idName, 'HU80', 4)
+    outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+    outStruct.idCenPos = 1.3325;% 1.333; modified the 12/11/08 %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 1.8; %[m] ID length
+    outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'HU80_TEMPO')
+        outStruct.indUpstrBPM = 53; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 1.3325; % modified the 12/11/081.333; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [8 1;8 2];
+    elseif strcmp(idName, 'HU80_PLEIADES')
+        outStruct.indUpstrBPM = 23; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = -1.83; % modified the 12/11/08 -1.8; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [4 1;4 2];
+     elseif strcmp(idName, 'HU80_SEXTANTS')
+        outStruct.indUpstrBPM = 97; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = -1.8; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [14 1;14 2];
+    end
+   % elseif strcmp(idName, 'HU80_MICROFOC')
+   %     outStruct.indUpstrBPM = 97; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+   %     outStruct.idCenPos = -1.8; %[m] center longitudinal position of the ID with respect to the straight section center
+   %     outStruct.indRelBPMs = [14 1;14 2];
+   % end
+elseif strncmp(idName, 'HU52', 4)
+    outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+    outStruct.idCenPos =  1.3325; % modified the 12/11/08 1.333; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 1.8; %[m] ID length
+    outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'HU52_DEIMOS')
+        outStruct.indUpstrBPM = 45; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 0.0; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [7 1;7 2];
+    elseif strcmp(idName, 'HU52_LUCIA')
+        outStruct.indUpstrBPM = 113; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [16 1;16 2];
+    end
+elseif strncmp(idName, 'HU44', 4)
+    outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+    outStruct.idCenPos = 1.3325; % modified the 12/11/08 1.333; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 1.8; %[m] ID length
+    outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'HU44_MICROFOC')
+        outStruct.indUpstrBPM = 97; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [14 1;14 2];
+    elseif strcmp(idName, 'HU44_TEMPO')
+        outStruct.indUpstrBPM = 53; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 0.4165; % modified the 12/11/08 -0.4165; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [8 1;8 2];
+    end
+elseif strncmp(idName, 'HU36', 4)
+    outStruct.sectLenBwBPMs = 2.9686; %[m] straight section length between BPMs
+    outStruct.idLen = 1.65; %[m] ID length
+    outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'HU36_SIRIUS')
+        outStruct.indUpstrBPM = 111; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [15 5;15 6];
+    end
+elseif strncmp(idName, 'HU42', 4)
+    outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+    outStruct.idCenPos =  1.3325; % modified the 12/11/08 1.333; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 1.8; %[m] ID length
+    outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'HU42_HERMES')
+        outStruct.indUpstrBPM = 67; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 0.0; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [10 1;10 2];
+    elseif strcmp(idName, 'HU42_xxx')
+        outStruct.indUpstrBPM = 113; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [16 1;16 2];
+    end
+elseif strncmp(idName, 'HU60', 4)
+    outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+    outStruct.idCenPos = 1.333; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 1.8; %[m] ID length
+    outStruct.idKickOfst = 0.2; %[m] offset from ID edge to effective position of a "kick"
+
+    if strcmp(idName, 'HU60_CASSIOPEE')
+        outStruct.indUpstrBPM = 105; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = -1.80; %[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [15 1;15 2];
+    elseif strcmp(idName, 'HU60_ANTARES')
+        outStruct.indUpstrBPM = 83; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.idCenPos = -1.83; % modified the 12/11/08 -1.80; % a verifier lors de l'installation[m] center longitudinal position of the ID with respect to the straight section center
+        outStruct.indRelBPMs = [12 1;12 2];
+    end
+
+elseif strncmp(idName, 'HU256', 5)
+    outStruct.sectLenBwBPMs = 2.*3.14155; %[m] straight section length between BPMs
+    outStruct.idCenPos = 0.8945; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 3.392; %[m] ID length
+	outStruct.idKickOfst = 0; %[m] offset from ID edge to effective position of a "kick"
+    if strcmp(idName, 'HU256_CASSIOPEE')
+        outStruct.indUpstrBPM = 105; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [15 1;15 2];
+    elseif strcmp(idName, 'HU256_PLEIADES')
+        outStruct.indUpstrBPM = 23;
+        outStruct.indRelBPMs = [4 1;4 2];
+    elseif strcmp(idName, 'HU256_ANTARES')
+        outStruct.indUpstrBPM = 83;
+        outStruct.indRelBPMs = [12 1;12 2];
+    end
+elseif strcmp(idName, 'HU640_DESIRS')
+    %To be checked by Olivier and Pascale B.
+	outStruct.sectLenBwBPMs = 11.318; %to check ! [m] straight section length between BPMs
+    outStruct.idCenPos = 0; %[m] center longitudinal position of the ID with respect to the straight section center
+    outStruct.idLen = 10.4; %to check ! [m] ID length
+    outStruct.idKickOfst = 0.32; %[m] offset from ID edge to effective position of a "kick"
+	outStruct.indUpstrBPM = 30; %absolute index of BPM at the upstream edge of the straight section where the ID is located
+	outStruct.indRelBPMs = [5 1;5 2];
+elseif strcmp(idName, 'U18_TOMO')
+    outStruct.sectLenBwBPMs = 4.267; %[m] straight section length between BPMs
+	outStruct.idCenPos = 3.3062; %[m] center longitudinal position of the ID with respect to the straight section center
+	outStruct.idLen = 2; %[m] ID length
+	outStruct.idKickOfst = 0.1; %[m] offset from ID edge to effective position of a "kick"   
+    outStruct.indUpstrBPM = 92; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [13 9;13 2];
+elseif strcmp(idName, 'U20_NANO')
+    outStruct.sectLenBwBPMs = 4.3062; %[m] straight section length between BPMs
+	outStruct.idCenPos = 3.373; %[m] center longitudinal position of the ID with respect to the straight section center
+	outStruct.idLen = 2; %[m] ID length
+	outStruct.idKickOfst = 0.1; %[m] offset from ID edge to effective position of a "kick"   
+    outStruct.indUpstrBPM = 92; % absolute index of BPM at the upstream edge of the straight section where the ID is located
+        outStruct.indRelBPMs = [13 9;13 2];        
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idGetListOfOrbitsWithNaN.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idGetListOfOrbitsWithNaN.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idGetListOfOrbitsWithNaN.m	(revision 17)
@@ -0,0 +1,53 @@
+function Result=idGetListOfOrbitsWithNaN(Directory, CoreFileName, GetAllFileNames)
+% Written by F. Briquez 03/11/2011
+% CoreFileName should contain an '*' character. If not, the '*' character
+% is added at the end of CoreFileName, assuming the constant part of the
+% name is its begining.
+% Prints names of .mat files in which X or Z orbits contain at least one NaN
+% GetAllFileNames=1 => reminds also the name of a file not containing NaN
+    
+    AsteriskPosition=findstr(CoreFileName, '*');
+    if (isempty(AsteriskPosition)==1)
+        CoreFileName=[CoreFileName, '*'];
+    end
+    if (size(CoreFileName, 2)>4)
+        EndOfName=CoreFileName(size(CoreFileName,2)-4:size(CoreFileName, 2));
+        if (strcmp(EndOfName, '.mat')==0)
+            CoreFileName=[CoreFileName, '.mat'];
+        end
+    else
+        CoreFileName=[CoreFileName, '.mat'];
+    end
+    ListOfFiles=dir([Directory, filesep, CoreFileName]);
+    NumberOfFiles=size(ListOfFiles, 1);
+       
+    for i=1:NumberOfFiles
+%     i=1;
+        File=ListOfFiles(i);
+        FileName=File.name;
+        FullFileName=[Directory, filesep, FileName];
+        Structure=load(FullFileName);
+        if (isstruct(Structure))
+            if (isfield(Structure, 'X')&&isfield(Structure, 'Z'))
+                OrbitX=Structure.X;
+                OrbitZ=Structure.Z;
+                if (sum(isnan(OrbitX))~=0)
+                    fprintf('File %s : Orbit X\n', FileName)
+                else
+                    if (GetAllFileNames)
+                        fprintf('NO PROBLEM WITH File %s : Orbit X\n', FileName)
+                    end
+                end
+                if (sum(isnan(OrbitZ))~=0)
+                    fprintf('File %s : Orbit Z\n', FileName)
+                else
+                    if (GetAllFileNames)
+                        fprintf('NO PROBLEM WITH File %s : Orbit Z\n', FileName)
+                    end
+                end
+            end
+        end
+    end
+    return
+end
+        
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idGetUndDServer.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idGetUndDServer.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idGetUndDServer.m	(revision 17)
@@ -0,0 +1,105 @@
+function [DServName, StandByStr, CorCurAttr] = idGetUndDServer(idName)
+
+DServName = '';
+StandByStr = ''; %String to search in the return of "Status" command of DServer
+CorCurAttr = {};
+
+if strcmp(idName, 'HU80_TEMPO')
+    DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY';
+    CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU80_PLEIADES')
+    %DServName = 'ANS-C04/EI/M-HU80.2';
+    %StandByStr = 'ANS-C04/EI/M-HU80.2_MotorsControl : STANDBY'; 
+    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C04/EI/M-HU80.1_MotorsControl : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU80_SEXTANTS')  % elseif strcmp(idName, 'HU80_MICROFOC')
+    DServName = 'ANS-C14/EI/M-HU80.2';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C15/EI/M-HU60.1_MotorsControl : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU60_CASSIOPEE')
+    DServName = 'ANS-C15/EI/M-HU60.1';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C15/EI/M-HU60.1_MotorsControl : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'U20_PROXIMA1')
+    DServName = 'ANS-C10/EI/C-U20';
+    StandByStr = 'ANS-C10/EI/C-U20_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check
+elseif strcmp(idName, 'U20_SWING')
+    DServName = 'ANS-C11/EI/C-U20';
+    StandByStr = 'ANS-C11/EI/C-U20_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check
+elseif strcmp(idName, 'U20_CRISTAL')
+    DServName = 'ANS-C06/EI/C-U20';
+    StandByStr = 'ANS-C06/EI/C-U20_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check    
+elseif strcmp(idName, 'U20_SIXS')
+    DServName = 'ANS-C14/EI/C-U20';
+    StandByStr = 'ANS-C14/EI/C-U20_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check
+elseif strcmp(idName, 'U20_GALAXIES')
+    DServName = 'ANS-C07/EI/C-U20';
+    StandByStr = 'ANS-C07/EI/C-U20_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check 
+elseif strcmp(idName, 'U24_PXIIA')
+    DServName = 'ANS-C11/EI/M-U24';
+    StandByStr = 'ANS-C11/EI/M-U24_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check 
+elseif strcmp(idName, 'WSV50_PSICHE')
+    DServName = 'ANS-C03/EI/C-WSV50';
+    StandByStr = 'ANS-C03/EI/C-WSV50_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check 
+elseif strcmp(idName, 'HU640_DESIRS')
+    DServName = 'ANS-C05/EI/L-HU640';
+    %StandByStr = '- ANS-C05/EI/L-HU640_PS1: 	ON\n- ANS-C05/EI/L-HU640_PS2: 	ON\n- ANS-C05/EI/L-HU640_PS3: 	ON'; 
+    StandByStr = '- ANS-C05/EI/L-HU640_PS1: 	ON'; %to correct later!!!
+elseif strcmp(idName, 'HU52_DEIMOS')
+    %DServName = 'ANS-C07/EI/M-HU80.1_MotorsControl'; %TEMPORARY!!!!! Name of Level 1 DServer
+    DServName = 'ANS-C07/EI/M-HU52.1';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C07/EI/M-HU52.1_MotorsControl : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU44_TEMPO')
+    DServName = 'ANS-C08/EI/M-HU44.1';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C08/EI/M-HU44.1_MotorsControl : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU52_LUCIA')
+    DServName = 'ANS-C16/EI/M-HU52.1';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C16/EI/M-HU52.1_MotorsControl : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU44_SEXTANTS')  %elseif strcmp(idName, 'HU44_MICROFOC')
+    DServName = 'ANS-C14/EI/M-HU44.1';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C14/EI/M-HU44.1_MotorsControl : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU60_ANTARES')
+    DServName = 'ANS-C12/EI/M-HU60.1';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C12/EI/M-HU60.1_MotorsControl : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU36_SIRIUS')
+    DServName = 'ANS-C15/EI/C-HU36';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C15/EI/C-HU36 : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU42_HERMES')
+    DServName = 'ANS-C10/EI/M-HU42.1';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C10/EI/M-HU42.1 : STANDBY'; 
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU64_HERMES')
+    DServName = 'ANS-C10/EI/M-HU64.2';
+    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
+elseif strcmp(idName, 'HU256_PLEIADES')
+    DServName = 'ANS-C04/EI/M-HU256.2';
+elseif strcmp(idName, 'HU256_ANTARES')
+    DServName = 'ANS-C12/EI/M-HU256.2';
+elseif strcmp(idName, 'HU256_CASSIOPEE')
+    DServName = 'ANS-C12/EI/M-HU256.2';
+elseif strcmp(idName, 'U18_TOMO')
+    DServName = 'ANS-C13/EI/L-U18.1';
+    StandByStr = 'ANS-C13/EI/L-U18.1_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check
+elseif strcmp(idName, 'U20_NANO')
+    DServName = 'ANS-C13/EI/L-U20.2';
+    StandByStr = 'ANS-C13/EI/L-U20.2_MOTORSCONTROL: 	STANDBY';
+	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check       
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idGetUndParam.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idGetUndParam.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idGetUndParam.m	(revision 17)
@@ -0,0 +1,75 @@
+function param = idGetUndParam(idName, attrName)
+
+param = 0;
+DServName = '';
+StandByStr = ''; %String to search in the return of "Status" command of DServer
+useAppleIIDServerLevel1 = 0;
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+if strcmp(DServName, '') ~= 0
+    fprintf('Device Server name can not be found\n');
+    param = -1;
+    return;
+end
+
+if strcmpi(attrName, 'Mode')
+    TempStruct=tango_read_attribute2(DServName, 'phaseCtrlMode');
+    if tango_error==-1
+        fprintf('Problem while checking mode\n')
+        param = -1;
+        return;
+    else
+        TempValue=TempStruct.value;
+        TempValue=TempValue(1);
+        if TempValue==0
+            param='ii';
+        elseif TempValue==1
+            param='x';
+        elseif TempValue==2
+            param='i2';
+        elseif TempValue==3
+            param='x2';
+        else
+            fprintf 'Wrong mode number\n')
+            return
+        end
+        return
+    end
+end
+if strcmp(idName, 'HU52_DEIMOS')
+    useAppleIIDServerLevel1 = 1;
+end
+
+attr_name_list = {attrName};
+
+if useAppleIIDServerLevel1
+    %special case: controlling via DServer of Level 1
+    
+    if (strcmpi(attrName, 'gap'))
+        attr_name_list = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+    elseif (strcmpi(attrName, 'phase'))
+        attr_name_list = {'encoder5Position','encoder6Position'};
+    end
+    
+end
+
+attr_val_list = tango_read_attributes(DServName, attr_name_list);
+
+if (tango_error == -1) %handle error 
+    tango_print_error_stack; param = -1; return;
+end
+param = attr_val_list(1).value(1); %check why (1)
+
+if useAppleIIDServerLevel1
+    %special case: controlling via DServer of Level 1
+    
+	if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+        param = 0.5*(attr_val_list(1).value + attr_val_list(2).value + attr_val_list(3).value + attr_val_list(4).value);
+    elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+        param = 0.5*(abs(attr_val_list(1).value) + abs(attr_val_list(2).value))*sign(attr_val_list(1).value);
+        if(sign(attr_val_list(1).value) ~= sign(attr_val_list(2).value))
+            param = param + i;
+        end
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idInterpolFeedForwardCorTables2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idInterpolFeedForwardCorTables2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idInterpolFeedForwardCorTables2D.m	(revision 17)
@@ -0,0 +1,13 @@
+function [new_mCHE_with_arg, new_mCVE_with_arg, new_mCHS_with_arg, new_mCVS_with_arg] = idInterpolFeedForwardCorTables2D(mCHE_with_arg, mCVE_with_arg, mCHS_with_arg, mCVS_with_arg, vNewArg1, vNewArg2, interpMeth)
+%   vNewArg1 = [15.5,16,17,18,19,20,22.5, ...], i.e. gap values
+%   vNewArg2 = [-40,-37.5,-35,-32.5,-30, ...], i.e. phase values
+%interpMeth:
+% = 'nearest' %Nearest neighbor interpolation
+% = 'linear' %Linear interpolation (default)
+% = 'spline' %Cubic spline interpolation
+% = 'cubic' %Cubic interpolation, as long as data is uniformly-spaced. Otherwise, this method is the same as 'spline'
+
+new_mCHE_with_arg = idAuxInterpolTable2D(mCHE_with_arg, vNewArg1, vNewArg2, interpMeth);
+new_mCVE_with_arg = idAuxInterpolTable2D(mCVE_with_arg, vNewArg1, vNewArg2, interpMeth);
+new_mCHS_with_arg = idAuxInterpolTable2D(mCHS_with_arg, vNewArg1, vNewArg2, interpMeth);
+new_mCVS_with_arg = idAuxInterpolTable2D(mCVS_with_arg, vNewArg1, vNewArg2, interpMeth);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idKicks2FldInt.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idKicks2FldInt.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idKicks2FldInt.m	(revision 17)
@@ -0,0 +1,25 @@
+function [i1, i2] = idKicks2FldInt(vKicks, x_or_z_pos, idLen, idKickOfst, elecEn_GeV)
+%Returns 1st and 2nd field integrals in [G*m] and [G*m^2] respectively,
+%assuming:
+%   vKicks(1), vKicks(2) - two (virtual) kick values in [rad]
+%   idLen - undulator length in [m]
+%   idKickOfst - offset of position of virtual kicks with respect to
+%   undulator extremities (== 0 means that kicks are located exactly at the extremities)
+%   elecEn_GeV - electron energy in [GeV]
+
+m = 9.10953447E-31; % Mass of electron in kg
+e = 1.602189246E-19; % Charge of electron in Coulomb
+c = 2.99792458E+08; % Speed of light in m/s
+
+gam = elecEn_GeV/(0.5109989e-03);
+
+cf = 10000.*m*c*gam/e; % To obtain results in [G*m], [G*m^2]
+if strcmp(x_or_z_pos, 'z') ~= 0
+    cf = -cf;
+end
+
+i1 = cf*(vKicks(1) + vKicks(2));
+
+distBwKicks = idLen - 2*idKickOfst;
+i2 = 0.5*cf*((idLen + distBwKicks)*vKicks(1) + (idLen - distBwKicks)*vKicks(2));
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idLeastSqLinFit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idLeastSqLinFit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idLeastSqLinFit.m	(revision 17)
@@ -0,0 +1,36 @@
+function resV = idLeastSqLinFit(M, V, arIndsBPMsToSkip)
+
+numBPMs = length(V);
+numBPMsToSkip = length(arIndsBPMsToSkip);
+actNumBPMs = numBPMs - numBPMsToSkip;
+if(numBPMsToSkip <= 0)
+    workM = M;
+    workV = V;
+else
+    workM = zeros(actNumBPMs, 2);
+    workV = zeros(actNumBPMs, 1);
+    countBPM = 1;
+    for i = 1:numBPMs
+        skipThisBPM = 0;
+        for j = 1:numBPMsToSkip
+            if(i == arIndsBPMsToSkip(j))
+                skipThisBPM = 1;
+                break;
+        	end
+        end
+        if(skipThisBPM ~= 0)
+            continue;
+        end
+        
+        workV(countBPM) = V(i);
+        workM(countBPM, 1) = M(i, 1);
+        workM(countBPM, 2) = M(i, 2);
+        countBPM = countBPM + 1; 
+    end
+end
+
+transpM = workM';
+squareM = transpM*workM;
+invSquareM = inv(squareM);
+finM = invSquareM*transpM;
+resV = finM*workV;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idLeastSqLineTilt.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idLeastSqLineTilt.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idLeastSqLineTilt.m	(revision 17)
@@ -0,0 +1,18 @@
+function k = idLeastSqLineTilt(arArg, arFunc)
+
+k = 0;
+numArg = length(arArg);
+numFunc = length(arFunc);
+
+if (numArg ~= numFunc)
+    sprintf('Inconsistent numbers of points in the argument and function values arrays');
+    return;
+end
+
+s1 = 0;
+s2 = 0;
+for i = 1:numArg
+    s1 = s1 + arArg(i)*arFunc(i);
+    s2 = s2 + arArg(i)*arArg(i);
+end
+k = s1/s2;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasCorEffic.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasCorEffic.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasCorEffic.m	(revision 17)
@@ -0,0 +1,59 @@
+function [strAllFileNames, res] = idMeasCorEffic(idName, tableCorCur, inclPerturbMeas, fileNameCore, dispData)
+res = -1;
+
+numMeas = length(tableCorCur);
+timeStandBy = 10; 
+curAbsTol = 0.05; %0.01;
+curToSetCHE = 0;
+curToSetCVE = 0; 
+curToSetCHS = 0;
+curToSetCVS = 0;
+fileNameCoreWithCor = fileNameCore;
+strCor = '';
+%strAllFileNames = {};
+strAllFileNames = '';
+
+for i = 1:numMeas
+    curToSetCHE = tableCorCur(i, 1);
+    curToSetCVE = tableCorCur(i, 2);
+	curToSetCHS = tableCorCur(i, 3);
+    curToSetCVS = tableCorCur(i, 4);
+    
+	if (dispData ~= 0)
+        fprintf('\nCurrents: CHE = %f, CVE = %f, CHS = %f, CVS = %f\n', curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS);
+    end
+
+    res = idSetCorCurSync(idName, curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS, curAbsTol);
+    if (res ~= 0)
+        fprintf('Failed to set the current values:  %f  %f  %f  %f\nLoop on the current values has stopped abnormally\n', curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS);
+        return;
+    end
+    
+    strCor = sprintf('_he%i_ve%i_hs%i_vs%i', curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS);
+    fileNameCoreWithCor = strcat(fileNameCore, strCor);
+    
+    pause(timeStandBy);
+    
+	EIaux = idMeasElecBeamUnd(idName, inclPerturbMeas, fileNameCoreWithCor, 1, dispData);
+    
+    if (strcmp(EIaux.file, '') == 0)
+        if(~isempty(strAllFileNames))
+            strAllFileNames = strcat(strAllFileNames, '\n');
+        end
+        strAllFileNames = strcat(strAllFileNames, EIaux.file);
+        strAllFileNames = sprintf(strAllFileNames);
+        %strAllFileNames{i} = EIaux.file;
+    end
+end
+
+res = idSetCorCurSync(idName, 0, 0, 0, 0, curAbsTol);
+if (res ~= 0)
+	fprintf('Failed to set the current values:  0  0  0  0\n');
+end
+
+if (strcmp(strAllFileNames, '') == 0)
+%if (length(strAllFileNames) > 0)
+    auxListStruct.file = strAllFileNames;
+    fileNameCoreList = strcat(fileNameCore, '_cor_meas_list');
+    idSaveStruct(auxListStruct, fileNameCoreList, idName, 1, 0);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasCorEfficForAllGaps.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasCorEfficForAllGaps.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasCorEfficForAllGaps.m	(revision 17)
@@ -0,0 +1,100 @@
+function [structureAllFileNames, res] = idMeasCorEfficForAllGaps(idName, fileNameCore, maxAbsCorCurrent, vectorOfGaps, dispData)
+% F. Briquez 09/11/2010. Finished 07/03/2011. Tested & works.
+
+inclPerturbMeas=0;
+gapAbsoluteTolerance=0.01; %mm
+phaseAbsoluteTolerance=0.01; %mm
+constantePhaseValue=0;  %mm
+
+if (strcmp(fileNameCore, '')==0)
+    if (strcmp(fileNameCore(length(fileNameCore)), '_')==0)
+        fileNameCore=[fileNameCore, '_'];
+    end
+end
+fileNameCore=['Efficiency_', fileNameCore, idName];
+res=-1;
+
+%% CHECK FFWD, SOFB AND FOFB STATE
+    dServName = idGetUndDServer(idName);
+    if dServName ==-1
+        fprintf('IdName ''%s'' is incorrect\n', idName);
+        return
+    end
+    tempStructure=idGetCorrectionStatus(idName);
+    fFwdState=tempStructure.ffwd;
+    if (fFwdState==1)
+        fprintf ('FFWD is active! Desactive it to continue\n')
+        return
+    end
+ 
+    sOfbIsActive=tempStructure.sofb;
+    if (sOfbIsActive==1)
+        fprintf ('SOFB is active! Desactive it to continue\n')
+        return
+    end
+    
+    fOfbIsActive=tempStructure.fofb;
+    if (fOfbIsActive~=-1)
+        fprintf ('FOFB is active! Desactive it to continue\n')
+        return
+    end
+
+%% DEFINITION OF MATRIX OF CORRECTION CURRENTS TO TEST
+elementaryCorCurVector=[0 -maxAbsCorCurrent:maxAbsCorCurrent/2:maxAbsCorCurrent];
+numberOfCorCurrents=length(elementaryCorCurVector);
+tableCorCur=zeros(4*numberOfCorCurrents, 4);
+for corIndex=1:4
+    tableCorCur((corIndex-1)*numberOfCorCurrents+1:corIndex*numberOfCorCurrents, corIndex)=elementaryCorCurVector;
+end
+
+numberOfGaps=length(vectorOfGaps);
+
+%% PERFORM THE CALIBRATION
+tempRes=idSetUndParamSync(idName, 'phase', constantePhaseValue, phaseAbsoluteTolerance);
+if (tempRes==-1)
+    return
+end
+
+cellAllFileNames=cell(numberOfGaps, 1);
+cellGaps=cell(numberOfGaps, 1);
+structureAllFileNames=struct();
+resultFileNameCore=[fileNameCore '_FileNames'];
+% cellResultFileNames=cell(numberOfGaps); % contains the names of all structures saved => in order to delete them (except the last one, which is complete)
+
+for gapIndex=1:numberOfGaps
+    gapValue=vectorOfGaps(gapIndex);
+    
+    tempRes=idSetUndParamSync(idName, 'gap', gapValue, gapAbsoluteTolerance);
+    if (tempRes==-1)
+        return
+    end
+    tempFileNameCore=[fileNameCore '_G' num2str(gapValue*10)];
+    [strPartOfFileNames, tempRes] = idMeasCorEffic(idName, tableCorCur, inclPerturbMeas, tempFileNameCore, dispData);
+    if (tempRes==-1)
+        return
+    end
+    cellGaps{gapIndex}=gapValue;
+    cellAllFileNames{gapIndex}=strPartOfFileNames;
+    structureAllFileNames.idName=idName;
+    structureAllFileNames.gaps=cellGaps;
+    structureAllFileNames.fileNames=cellAllFileNames;
+%     tempResultFileName=idSaveStruct(structureAllFileNames, resultFileNameCore, idName, dispData)
+%     cellResultFileNames{gapIndex}=tempResultFileNames;
+end
+
+%% SAVE STRUCTURE
+% structure fields:
+% - idName : name of ID
+% - gaps : cell of gap values
+% - fileNames : cell of corresponding file names
+% - corCurrents : vector of correction currents
+structureAllFileNames.corCurrents=elementaryCorCurVector(2:length(elementaryCorCurVector));
+strResultFileName=idSaveStruct(structureAllFileNames, resultFileNameCore, idName, 1, dispData);
+if (strcmp(strResultFileName, ''))
+    fprintf('Empty result!\n');
+else
+    fprintf('File ''%s'' created in directory of ''%s''\n', strResultFileName, idName);
+end
+
+%% COPY TEXT OF IdReadCorElecBeamMeasData IN CLIPBOARD
+res=idAuxFormatElecBeamMeasDataAfterEfficiency(structureAllFileNames, 0);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam.m	(revision 17)
@@ -0,0 +1,105 @@
+function outStructElecBeam = idMeasElecBeam(inStructElecBeam, inclPerturbMeas, dispData)
+% Function called by the idMeasElecBeamUnd function.
+% Adds the following fields to the inStructElecBeam:
+%   - X :       horizontal orbit                        (vector [120 x 1])
+%   - Z :       vertical orbit                          (vector [120 x 1])
+%   - current : stored current                          (scalar)
+%   - tune :    horizontal and vertical tunes           (vector [2 x1]
+%   - dx :      horizontal dispersion function          (scalar)
+%   - dz :      vertical dispersion function            (scalar)
+%   - ksi :     horizontal and vertical chromaticities  (vector [2 x 1])
+%   - date :    date                                    string
+%
+% Modified by F. Briquez on 08/11/2010: orbit measurements since no NaN
+% got.
+
+% On and Off e-beam size meas :
+inclSizeMeas = 0; %1;
+
+% Pause duration between eventual measurements of the dispersion functions and chromatisities:
+pauseTime_s = 5;
+
+% Orbits
+% catched until no NaN in them
+WrongMeasurement=1;
+MaxNumberOfOrbitMeasurements=5;
+OrbitMeasurementIndex=1;
+
+while(WrongMeasurement&&OrbitMeasurementIndex<=MaxNumberOfOrbitMeasurements)
+    inStructElecBeam.X = getx;
+    inStructElecBeam.Z = getz;
+    NumberOfNaNinXorbit=sum(isnan(inStructElecBeam.X));
+    NumberOfNaNinZorbit=sum(isnan(inStructElecBeam.Z));
+    WrongMeasurement=NumberOfNaNinXorbit~=0||NumberOfNaNinZorbit~=0;
+    OrbitMeasurementIndex=OrbitMeasurementIndex+1;
+end
+
+% Stored electron beam current
+inStructElecBeam.current = getdcct;
+% Tunes
+inStructElecBeam.tune = gettune;
+% Beam lifetime
+%temp = tango_read_attribute2('ANS/DG/PUB-LifeTime','double_scalar');
+%inStructElecBeam.tau = temp.value(1);
+
+if inclPerturbMeas ~= 0
+	% Measure dispersion functions. ATTENTION, it perturbes e-beam !
+	[dx dz] = measdisp('Physics');
+	inStructElecBeam.dx = dx;
+	inStructElecBeam.dz = dz;
+    %inStructElecBeam,
+    pause(pauseTime_s);
+
+	% Measure chromaticities. ATTENTION, it perturbes e-beam !
+	inStructElecBeam.ksi = measchro('Physics');
+else
+	inStructElecBeam.dx = 0;
+	inStructElecBeam.dz = 0;
+    inStructElecBeam.ksi = [0, 0];
+end
+
+%E-Beam Size / Emittance measurements 
+if inclSizeMeas ~= 0
+    devemit = 'ANS-C02/DG/PHC-EMIT';
+
+    numPinholeMeas = 20;
+    pauseTimePinhole_s = 1;
+    sumSigX = 0;
+    sumSigZ = 0;
+    sumEmitX = 0;
+    sumEmitZ = 0;
+    sumCoupling = 0;
+    for j = 1:numPinholeMeas
+    	sumSigX = sumSigX + readattribute([devemit '/SrcPointSigmaH']);
+        sumSigZ = sumSigZ + readattribute([devemit '/SrcPointSigmaV']);
+        sumEmitX = sumEmitX + readattribute([devemit '/EmittanceH']);
+        sumEmitZ = sumEmitZ + readattribute([devemit '/EmittanceV']);
+        sumCoupling = sumCoupling + readattribute([devemit '/Coupling']);
+        pause(pauseTimePinhole_s);
+    end
+    inStructElecBeam.SigX = sumSigX/numPinholeMeas;
+    inStructElecBeam.SigZ = sumSigZ/numPinholeMeas;
+    inStructElecBeam.EmitX = sumEmitX/numPinholeMeas;
+    inStructElecBeam.EmitZ = sumEmitZ/numPinholeMeas;
+    inStructElecBeam.Coupling = sumCoupling/numPinholeMeas;
+end
+
+inStructElecBeam.date = datestr(now); % convert date to string
+outStructElecBeam = inStructElecBeam;
+
+if dispData ~= 0
+	fprintf('I = %f\n', outStructElecBeam.current);
+    %fprintf('Tau = %f\n', outStructElecBeam.tau);
+    %fprintf('P=%d\n',pres)
+    fprintf('nux = %f\n', outStructElecBeam.tune(1));
+    fprintf('nuz = %f\n', outStructElecBeam.tune(2));
+    fprintf('ksix = %f\n', outStructElecBeam.ksi(1));
+    fprintf('ksiz = %f\n', outStructElecBeam.ksi(2));
+    
+    if inclSizeMeas ~= 0
+    	fprintf('SigX = %f;  EmitX = %f\n', inStructElecBeam.SigX, inStructElecBeam.EmitX);
+        fprintf('SigZ = %f;  EmitZ = %f\n', inStructElecBeam.SigZ, inStructElecBeam.EmitZ);
+        fprintf('Coupling = %f\n', inStructElecBeam.Coupling);
+    end
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamNoTime.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamNoTime.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamNoTime.m	(revision 17)
@@ -0,0 +1,89 @@
+function outStructElecBeam = idMeasElecBeamNoTime(inStructElecBeam, inclPerturbMeas, dispData)
+
+%On and Off e-beam size meas.:
+inclSizeMeas = 0; %1;
+
+% Pause duration between eventual measurements of the dispersion functions and chromatisities:
+pauseTime_s = 5;
+
+try
+    % H orbit
+    inStructElecBeam.X = getx;
+    % V orbit
+    inStructElecBeam.Z = getz;
+catch
+    lasterror('reset');
+    print 'Failure in getx or getz; trying again...';
+	outStructElecBeam = idMeasElecBeamNoTime(inStructElecBeam, inclPerturbMeas, dispData);
+    return;
+end
+
+% Stored electron beam current
+inStructElecBeam.current = getdcct;
+% Tunes
+inStructElecBeam.tune = gettune;
+% Beam lifetime
+%temp = tango_read_attribute2('ANS/DG/PUB-LifeTime','double_scalar');
+%inStructElecBeam.tau = temp.value(1);
+
+if inclPerturbMeas ~= 0
+	% Measure dispersion functions. ATTENTION, it perturbes e-beam !
+	[dx dz] = measdisp('Physics');
+	inStructElecBeam.dx = dx;
+	inStructElecBeam.dz = dz;
+    %inStructElecBeam,
+    pause(pauseTime_s);
+
+	% Measure chromaticities. ATTENTION, it perturbes e-beam !
+	inStructElecBeam.ksi = measchro('Physics');
+else
+	inStructElecBeam.dx = 0;
+	inStructElecBeam.dz = 0;
+    inStructElecBeam.ksi = [0, 0];
+end
+
+%E-Beam Size / Emittance measurements 
+if inclSizeMeas ~= 0
+    devemit = 'ANS-C02/DG/PHC-EMIT';
+
+    numPinholeMeas = 20;
+    pauseTimePinhole_s = 1;
+    sumSigX = 0;
+    sumSigZ = 0;
+    sumEmitX = 0;
+    sumEmitZ = 0;
+    sumCoupling = 0;
+    for j = 1:numPinholeMeas
+    	sumSigX = sumSigX + readattribute([devemit '/SrcPointSigmaH']);
+        sumSigZ = sumSigZ + readattribute([devemit '/SrcPointSigmaV']);
+        sumEmitX = sumEmitX + readattribute([devemit '/EmittanceH']);
+        sumEmitZ = sumEmitZ + readattribute([devemit '/EmittanceV']);
+        sumCoupling = sumCoupling + readattribute([devemit '/Coupling']);
+        pause(pauseTimePinhole_s);
+    end
+    inStructElecBeam.SigX = sumSigX/numPinholeMeas;
+    inStructElecBeam.SigZ = sumSigZ/numPinholeMeas;
+    inStructElecBeam.EmitX = sumEmitX/numPinholeMeas;
+    inStructElecBeam.EmitZ = sumEmitZ/numPinholeMeas;
+    inStructElecBeam.Coupling = sumCoupling/numPinholeMeas;
+end
+
+inStructElecBeam.date = datestr(now); % convert date to string
+outStructElecBeam = inStructElecBeam;
+
+if dispData ~= 0
+	fprintf('I = %f\n', outStructElecBeam.current);
+    %fprintf('Tau = %f\n', outStructElecBeam.tau);
+    %fprintf('P=%d\n',pres)
+    fprintf('nux = %f\n', outStructElecBeam.tune(1));
+    fprintf('nuz = %f\n', outStructElecBeam.tune(2));
+    fprintf('ksix = %f\n', outStructElecBeam.ksi(1));
+    fprintf('ksiz = %f\n', outStructElecBeam.ksi(2));
+    
+    if inclSizeMeas ~= 0
+    	fprintf('SigX = %f;  EmitX = %f\n', inStructElecBeam.SigX, inStructElecBeam.EmitX);
+        fprintf('SigZ = %f;  EmitZ = %f\n', inStructElecBeam.SigZ, inStructElecBeam.EmitZ);
+        fprintf('Coupling = %f\n', inStructElecBeam.Coupling);
+    end
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUnd.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUnd.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUnd.m	(revision 17)
@@ -0,0 +1,34 @@
+function outStruct = idMeasElecBeamUnd(idName, inclPerturbMeas, fileNameCore, AddTime, dispData)
+%idMeasElecBeamUnd
+%
+%  INPUTS
+%  1. idName - Insertion device name
+%  2. inclPertubMeas - if 1 includes measurement of chromaticities and dispersion functions
+%                      if 0 nothing  
+%  3. fileNameCore - filename core for saving data
+%  4. dispData - Flag. 1 for displaying data, 0 otherwise
+%
+%  OUPUTS
+%  1. outStruct
+%
+%  EXAMPLE
+%  For measuring the corrector efficiency versus orbit
+%  first set the current to CVE to 6 A
+%  then compute the efficiency of CVE as follows:
+%  idMeasElecBeamUnd('U20_PROXIMA1test', 0, 'U20_PROXIMA1_CVE_6', 1)
+
+% outStruct.X = 0;
+outStruct=struct;
+
+% measrures data (orbit, etc.)
+outStruct = idMeasElecBeam(outStruct, inclPerturbMeas, dispData);
+
+% Reads tango state, encoders, correctors of undulator
+if strcmp(idName, '') == 0
+    outStruct = idReadUndState(outStruct, idName, dispData);
+end
+
+% Saves the data to a file
+if strcmp(fileNameCore, '') == 0
+    outStruct.file = idSaveStruct(outStruct, fileNameCore, idName, AddTime, dispData);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUndNoTime.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUndNoTime.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUndNoTime.m	(revision 17)
@@ -0,0 +1,33 @@
+function outStruct = idMeasElecBeamUndNoTime(idName, inclPerturbMeas, fileNameCore, dispData)
+%idMeasElecBeamUnd
+%
+%  INPUTS
+%  1. idName - Insertion device name
+%  2. inclPertubMeas - if 1 includes measurement of chromaticities and dispersion functions
+%                      if 0 nothing  
+%  3. fileNameCore - filename core for saving data
+%  4. dispData - Flag. 1 for displaying data, 0 otherwise
+%
+%  OUPUTS
+%  1. outStruct
+%
+%  EXAMPLE
+%  For measuring the corrector efficiency versus orbit
+%  first set the current to CVE to 6 A
+%  then compute the efficiency of CVE as follows:
+%  idMeasElecBeamUnd('U20_PROXIMA1test', 0, 'U20_PROXIMA1_CVE_6', 1)
+
+outStruct.X = 0;
+
+% measrures data (orbit, etc.)
+outStruct = idMeasElecBeamNoTime(outStruct, inclPerturbMeas, dispData);
+
+% Reads tango state, encoders, correctors of undulator
+if strcmp(idName, '') == 0
+    outStruct = idReadUndState(outStruct, idName, dispData);
+end
+
+% Saves the data to a file
+if strcmp(fileNameCore, '') == 0
+    outStruct.file = idSaveStructNoTime(outStruct, fileNameCore, idName, dispData);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUnd_NoTime.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUnd_NoTime.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamUnd_NoTime.m	(revision 17)
@@ -0,0 +1,33 @@
+function outStruct = idMeasElecBeamUnd_NoTime(idName, inclPerturbMeas, fileNameCore, dispData)
+%idMeasElecBeamUnd
+%
+%  INPUTS
+%  1. idName - Insertion device name
+%  2. inclPertubMeas - if 1 includes measurement of chromaticities and dispersion functions
+%                      if 0 nothing  
+%  3. fileNameCore - filename core for saving data
+%  4. dispData - Flag. 1 for displaying data, 0 otherwise
+%
+%  OUPUTS
+%  1. outStruct
+%
+%  EXAMPLE
+%  For measuring the corrector efficiency versus orbit
+%  first set the current to CVE to 6 A
+%  then compute the efficiency of CVE as follows:
+%  idMeasElecBeamUnd('U20_PROXIMA1test', 0, 'U20_PROXIMA1_CVE_6', 1)
+
+outStruct.X = 0;
+
+% measrures data (orbit, etc.)
+outStruct = idMeasElecBeam_NoTime(outStruct, inclPerturbMeas, dispData);
+
+% Reads tango state, encoders, correctors of undulator
+if strcmp(idName, '') == 0
+    outStruct = idReadUndState(outStruct, idName, dispData);
+end
+
+% Saves the data to a file
+if strcmp(fileNameCore, '') == 0
+    outStruct.file = idSaveStruct_NoTime(outStruct, fileNameCore, idName, dispData);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamVsUndParam.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamVsUndParam.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamVsUndParam.m	(revision 17)
@@ -0,0 +1,214 @@
+function [resFileNamesStruct, resErrorFlag] = idMeasElecBeamVsUndParam(idName, undParams, undParamsBkg, freqBkgMeas, inclPerturbMeas, fileNameCore, dispData)
+% Measure e-beam COD at different undulator parameters (gap, phase or currents in main coils)
+% if(freqBkgMeas == 1) - measure bakground once each time after passing the in-most loop
+% if(freqBkgMeas == n) - measure bakground once after passing n nested loops
+
+%==========================================================================
+UpdateOfCOD=1;  
+% if 0 => no FFWD, no {SOFB + FOFB} : in case of first iteration of tables
+% if 1 => FFWD but no {SOFB + FOFB} : in case of higher iteration
+%==========================================================================
+Debug=1;    % if 1 => no check of SOFB and FOFB
+
+resFileNamesStruct=struct;
+resFileNames = {};
+resErrorFlag = 0;
+numUndParams = length(undParams);
+resUnd = 0;
+absCurrentThreshold=0.01;   % To check if cor currents are zero
+
+%% CHECK FFWD, SOFB AND FOFB STATE
+    dServName = idGetUndDServer(idName);
+    if dServName ==-1
+        fprintf('IdName ''%s'' is incorrect\n', idName);
+        return
+    end
+    tempStructure=idGetCorrectionStatus(idName);
+    fFwdState=tempStructure.ffwd;
+    if (fFwdState==1)
+        if ~UpdateOfCOD
+            fprintf ('FFWD is active! Desactive it to continue\n')
+            return
+        end
+    end
+ 
+    sOfbIsActive=tempStructure.sofb;
+    if (sOfbIsActive==1)
+        if ~Debug
+            fprintf ('SOFB is active! Desactive it to continue\n')
+            return
+        end
+    end
+    
+    fOfbIsActive=tempStructure.fofb;
+    if (fOfbIsActive==1)
+        if ~Debug
+            fprintf ('FOFB is active! Desactive it to continue\n')
+            return
+        end
+    end
+
+%% CHECK FFWD CORRECTION CURRENTS
+
+    CurrentCVE=tango_read_attribute(dServName, 'currentCVE');
+    CurrentCVE=CurrentCVE.value(1);
+    CurrentCHE=tango_read_attribute(dServName, 'currentCHE');
+    CurrentCHE=CurrentCHE.value(1);
+    CurrentCVS=tango_read_attribute(dServName, 'currentCVS');
+    CurrentCVS=CurrentCVS.value(1);
+    CurrentCHS=tango_read_attribute(dServName, 'currentCHS');
+    CurrentCHS=CurrentCHS.value(1);
+    if (abs(CurrentCVE)>absCurrentThreshold||abs(CurrentCHE)>absCurrentThreshold||abs(CurrentCVS)>absCurrentThreshold||abs(CurrentCHS)>absCurrentThreshold)
+        if ~UpdateOfCOD
+            fprintf('Set correction currents to zero to continue\n');
+            return
+        end
+    end
+
+%% Script from Oleg
+%"Nested For" algorithm
+curParamName = undParams{1}{1}; % Parameter name ('gap')
+curParamValues = undParams{1}{2}; % Parameter value [5.5 6 10]
+curParamAbsTol = undParams{1}{3}; % Parameter absolute tolerance {0.01}
+numCurParamValues = length(curParamValues);
+
+% generates filename for saving data
+nextFileNameCoreBase = strcat(fileNameCore, '_');
+nextFileNameCoreBase = strcat(nextFileNameCoreBase, curParamName);
+
+for j = 1:numCurParamValues
+    
+	curParamValue = curParamValues(j);
+    
+    strParamValue = sprintf('%f', curParamValue);
+    strParamValue = strrep(strParamValue, '.', '_');
+    lenOrigStrParamValue = length(strParamValue);
+    numTrailZeros = 0; %removing trailing zeros
+    for k = 1:lenOrigStrParamValue
+        if strcmp(strParamValue(lenOrigStrParamValue - k + 1), '0')
+            numTrailZeros = numTrailZeros + 1;
+        else
+            if (numTrailZeros > 0) && strcmp(strParamValue(lenOrigStrParamValue - k + 1), '_')
+                numTrailZeros = numTrailZeros + 1;
+            end
+            break;
+        end
+    end
+    if(numTrailZeros > 0)
+        strParamValueFin = '';
+        for k = 1:lenOrigStrParamValue - numTrailZeros
+            strParamValueFin = strcat(strParamValueFin, strParamValue(k));
+        end
+    else
+        strParamValueFin = strParamValue; %OC fix(?)
+    end
+    nextFileNameCore = strcat(nextFileNameCoreBase, strParamValueFin);
+    
+    %%%%%%%%%%%Change Undulator parameter (gap, phase or current)
+	resUnd = idSetUndParamSync(idName, curParamName, curParamValue, curParamAbsTol);
+    if(resUnd ~= 0)
+        fprintf('Execution terminated since Undulator Parameter can not be set\n');
+        resErrorFlag = -1; return;
+    end
+    
+	if(numUndParams > 1)
+        %Preparing arguments for nested call
+        nextUndParams = {};
+        for k = 1:(numUndParams - 1)
+            for i = 1:3
+                nextUndParams{k}{i} = undParams{k + 1}{i};
+            end
+            nextUndParams{k}{4} = 'nested'; %marking the set of params as for the nested call
+        end
+        
+        %%%%%%%%%%%Do nested call
+        [resNextFileNamesStruct, resNextErrorFlag] = idMeasElecBeamVsUndParam(idName, nextUndParams, undParamsBkg, freqBkgMeas, inclPerturbMeas, nextFileNameCore, dispData);
+        resNextFileNames = resNextFileNamesStruct.filelist;
+        numNextFileNames = length(resNextFileNames);
+        
+        if(resNextErrorFlag ~= 0)
+            fprintf('Execution terminated because of error in the inner loop\n');
+            resErrorFlag = resNextErrorFlag; return;
+        end
+
+        numCurFileNames = length(resFileNames);
+        for k = 1:numNextFileNames
+        	resFileNames{numCurFileNames + k} = resNextFileNames{k};
+        end
+
+    else
+        %%%%%%%%%%%Measure e-beam COD
+        getx();getz();
+        outStruct = idMeasElecBeamUnd(idName, inclPerturbMeas, nextFileNameCore, 1, dispData);
+        numCurFileNames = length(resFileNames);
+        resFileNames{numCurFileNames + 1} = outStruct.file;
+	end
+end
+resFileNamesStruct.filelist = resFileNames;
+
+numUndParamsBkg = length(undParamsBkg);
+if((numUndParams == freqBkgMeas) && (numUndParamsBkg > 0)) %Measure Background if necessary
+    %numUndParamsBkg = length(undParamsBkg);
+
+    if(numUndParamsBkg > 0)
+    	nextFileNameCore = strcat(fileNameCore, '_bkg');
+    	undParamsBeforeBkgMeas = {};
+        for k = 1:numUndParamsBkg
+            curParamName = undParamsBkg{k}{1};
+            curParamValue = undParamsBkg{k}{2};
+            curParamAbsTol = undParamsBkg{k}{3};
+            undParamsBeforeBkgMeas{k} = idGetUndParam(idName, curParamName);
+            
+            %%%%%%%%%%%Change Undulator parameter (gap, phase or current) to prepare for background measurement
+         %   resUnd = idSetUndParamSync(idName, curParamName, curParamValue, curParamAbsTol);
+          %  if(resUnd ~= 0)
+          %     fprintf('Execution terminated since Undulator Parameter can not be set\n');
+          %      resErrorFlag = -1; return;
+          %  end
+        end
+
+        %%%%%%%%%%%Measure e-beam COD background
+        getx();getz();
+        outStruct = idMeasElecBeamUnd(idName, inclPerturbMeas, nextFileNameCore, 1, dispData);
+        numCurFileNames = length(resFileNames);
+        resFileNames{numCurFileNames + 1} = outStruct.file;
+        resFileNamesStruct.filelist = resFileNames;
+
+        %Returning to the state before background measurement, only in the case of nested call
+        if(length(undParams{1}) > 3)
+            if strcmp(undParams{1}{4}, 'nested')
+                for k = 1:numUndParamsBkg
+                    curParamName = undParamsBkg{k}{1};
+                    curParamAbsTol = undParamsBkg{k}{3};
+                    curParamValue = undParamsBeforeBkgMeas{k};
+            
+                    %%%%%%%%%%%Change Undulator parameter (gap, phase or current) - return to the last state before background measurement
+                %    resUnd = idSetUndParamSync(idName, curParamName, curParamValue, curParamAbsTol);
+                %    if(resUnd ~= 0)
+                %        fprintf('Execution terminated since Undulator Parameter can not be set\n');
+                %        resErrorFlag = -1; return;
+                %   end
+                end
+            end
+        end
+    end
+end
+
+if((length(undParams{1}) <= 3) || (strcmp(undParams{1}{4}, 'nested') == 0)) %i.e. this is not a nested call
+%iall job is done, writing and saving the summary structure
+
+	lastParamAr = undParams{numUndParams}{2};
+	perMeasBkg = length(lastParamAr);
+	if(freqBkgMeas > 1)
+        for k = 1:(numUndParams - 1)
+            perMeasBkg = perMeasBkg*length(undParams{numUndParams - k}{2});
+        end
+	end
+
+    resFileNamesStruct.filelist = resFileNames;
+	resFileNamesStruct.params = undParams;
+	resFileNamesStruct.filenames_meas_bkg = idAuxPrepFileNameListMeasAndBkg(resFileNames, perMeasBkg);
+    
+	fileNameCoreSummary = strcat(fileNameCore, '_summary');
+	idSaveStruct(resFileNamesStruct, fileNameCoreSummary, idName, 1, 0);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamVsUndParamVsBump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamVsUndParamVsBump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeamVsUndParamVsBump.m	(revision 17)
@@ -0,0 +1,72 @@
+function [resFileNamesBumpInf, ErrorFlag] = idMeasElecBeamVsUndParamVsBump(idName, undParams, undParamsBkg, freqBkgMeas, inclPerturbMeas, fileNameCore, dispData, bumpPlane, bumpValues, CM_IncrementList)
+%Measure e-beam COD at different undulator parameters (gap, phase or currents in main coils)
+%at different orbit bumps in the straight section where the ID is located,
+%assuming that there is no bump in the beginning
+%bumpPlane: 'H' or 'V'
+%bumpValues: {[x1 x2],[k1,k2,k3,...}}
+%   [x1 x2] indicates direction/quanta of e-beam displacement (should be small enaugh to ensure correct bump directly from setorbitbump); 
+%   the actual bumps will be then k1*[x1 x2], k2*[x1 x2], k3*[x1 x2], ...
+%CM_IncrementList: e.g. [-2 -1 1 2] - will go directly to setorbitbump
+
+sleepTimeAfterBump_s = 20; %To steer
+resFileNamesBumpInf = {};
+BPM_Family = 'BPMx';
+CM_Family = 'HCOR';
+if(strcmp(bumpPlane, 'V') || strcmp(bumpPlane, 'Z') || strcmp(bumpPlane, 'Y'))
+    BPM_Family = 'BPMz';
+    CM_Family = 'VCOR';
+end
+
+undParStruct = idGetGeomParamForUndSOLEIL(idName);
+BPM_DeviceList = undParStruct.indRelBPMs;
+
+[CM_DeviceList, CM_QuantaSP, ErrorFlag] = idGetCorCurForOrbitBump(BPM_Family, BPM_DeviceList, bumpValues{1}, CM_Family, CM_IncrementList);
+if(ErrorFlag)
+    return;
+end
+
+arMultSP = bumpValues{2};
+numSP = length(arMultSP);
+
+%[CM_OrigSP, tout, DataTime, ErrorFlag] = getam(CM_Family, CM_DeviceList);
+%if(ErrorFlag)
+%    return;
+%end
+
+%Save correctors at the beginning (print to )
+CM_OrigSP = getsp(CM_Family, CM_DeviceList);
+CM_OrigSP_abs = getsp(CM_Family);
+
+CM_PrevSP = CM_OrigSP;
+CM_PrevSP = CM_PrevSP - CM_OrigSP; %To make "0"
+
+for i = 1:numSP
+    CM_NextSP = CM_QuantaSP*arMultSP(i);
+    %Relative bump:
+    if(stepsp(CM_Family, CM_NextSP - CM_PrevSP, CM_DeviceList))
+    	return;
+    end
+    pause(sleepTimeAfterBump_s);
+    CM_PrevSP = CM_NextSP;
+
+    %Decorating filename core with bump information
+    fileNameCoreBump = strcat(fileNameCore, '_bump');
+    fileNameCoreBump = strcat(fileNameCoreBump, bumpPlane);
+	fileNameCoreBump = strcat(fileNameCoreBump, '_');
+    pairPos = arMultSP(i)*bumpValues{1};
+	fileNameCoreBump = strcat(fileNameCoreBump, idAuxNum2FileNameStr(pairPos(1)));
+    if(pairPos(2) ~= pairPos(1))
+        fileNameCoreBump = strcat(fileNameCoreBump, '_');
+        fileNameCoreBump = strcat(fileNameCoreBump, idAuxNum2FileNameStr(pairPos(2)));
+    end
+
+	[curFileNameStruct, ErrorFlag] = idMeasElecBeamVsUndParam(idName, undParams, undParamsBkg, freqBkgMeas, inclPerturbMeas, fileNameCoreBump, dispData);
+    if(ErrorFlag)
+        return;
+    end
+    resFileNamesBumpInf{i} = {pairPos, curFileNameStruct};
+end
+
+%Returning to the original state
+%stepsp(CM_Family, CM_OrigSP - CM_PrevSP, CM_DeviceList);
+setsp(CM_Family, CM_OrigSP_abs);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_HU640.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_HU640.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_HU640.m	(revision 17)
@@ -0,0 +1,69 @@
+function outStructElecBeam = idMeasElecBeam(inStructElecBeam, inclPerturbMeas, fileNameCore)
+
+% Pause duration between eventual measurements of the dispersion functions and
+% chromatisities:
+pauseTime_s = 5;
+
+% H orbit
+inStructElecBeam.X = getx;
+% V orbit
+inStructElecBeam.Z = getz;
+% Stored electron beam current
+inStructElecBeam.current = getdcct;
+% Tunes
+inStructElecBeam.tune = gettune;
+
+if inclPerturbMeas ~= 0
+	% Measure dispersion functions. ATTENTION, it perturbes e-beam !
+	[dx dz] = measdisp('Physics');
+	inStructElecBeam.dx = dx;
+	inStructElecBeam.dz = dz;
+    inStructElecBeam,
+    pause(pauseTime_s);
+
+	% Measure chromaticities. ATTENTION, it perturbes e-beam !
+	inStructElecBeam.ksi = measchro('Physics');
+end
+
+inStructElecBeam.date = datestr(now); % convert date to string
+
+outStructElecBeam = inStructElecBeam;
+
+% Save the structure into a file, if necessary
+%if saveRes ~= 0
+if strcmp(fileNameCore, '') == 0
+    %idSaveStruct(structNameToSave, fileNameCore, idName)
+    %idSaveStruct(structNameToSave, 'HU80_TEMPO', 'HU80')
+    
+	FileName = appendtimestamp(fileNameCore);
+	DirectoryName = getfamilydata('Directory','HU640/SESSION_01_10_06');
+	DirStart = pwd;
+	[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+	save(FileName,'-struct', 'outStructElecBeam');
+    %save(FileName, inStructElecBeam);
+	cd(DirStart);
+end
+
+%temp=tango_read_attribute2('ANS-C08/EI/M-HU80.2','gap');
+%gap=temp.value(1)/1.e4;
+IPS1=0;IPS2=0;IPS3=0;
+
+%temp=tango_read_attribute2('TDL-I08-M/VI/JBA.1','pressure');
+pres=temp.value(1);
+temp=tango_read_attribute2('ANS/DG/PUB-LifeTime','double_scalar');
+tau=temp.value(1);
+fprintf('Courant PS1=%f\n','A %s\n')
+fprintf('Courant PS2=%f\n','A %s\n')
+fprintf('Courant PS3=%f\n','A %s\n')
+fprintf('I=%f\n',inStructElecBeam.current)
+fprintf('Tau=%f\n',tau)
+fprintf('P=%d\n',pres)
+fprintf('nux= %f\n',inStructElecBeam.tune(1))
+fprintf('nuz= %f\n',inStructElecBeam.tune(2))
+fprintf('ksix= %f\n',inStructElecBeam.ksi(1))
+fprintf('ksiz= %f\n',inStructElecBeam.ksi(2))
+fprintf('Sauvegarde  %s\n',FileName)
+
+
+% Encoder #1
+%inElecBeamStruct.encoder2= readattribute([devM, '/encoder2Position']);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_NoTime.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_NoTime.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_NoTime.m	(revision 17)
@@ -0,0 +1,89 @@
+function outStructElecBeam = idMeasElecBeam_NoTime(inStructElecBeam, inclPerturbMeas, dispData)
+
+%On and Off e-beam size meas.:
+inclSizeMeas = 0; %1;
+
+% Pause duration between eventual measurements of the dispersion functions and chromatisities:
+pauseTime_s = 5;
+
+try
+    % H orbit
+    inStructElecBeam.X = getx;
+    % V orbit
+    inStructElecBeam.Z = getz;
+catch
+    lasterror('reset');
+    print 'Failure in getx or getz; trying again...';
+	outStructElecBeam = idMeasElecBeam_NoTime(inStructElecBeam, inclPerturbMeas, dispData);
+    return;
+end
+
+% Stored electron beam current
+inStructElecBeam.current = getdcct;
+% Tunes
+inStructElecBeam.tune = gettune;
+% Beam lifetime
+%temp = tango_read_attribute2('ANS/DG/PUB-LifeTime','double_scalar');
+%inStructElecBeam.tau = temp.value(1);
+
+if inclPerturbMeas ~= 0
+	% Measure dispersion functions. ATTENTION, it perturbes e-beam !
+	[dx dz] = measdisp('Physics');
+	inStructElecBeam.dx = dx;
+	inStructElecBeam.dz = dz;
+    %inStructElecBeam,
+    pause(pauseTime_s);
+
+	% Measure chromaticities. ATTENTION, it perturbes e-beam !
+	inStructElecBeam.ksi = measchro('Physics');
+else
+	inStructElecBeam.dx = 0;
+	inStructElecBeam.dz = 0;
+    inStructElecBeam.ksi = [0, 0];
+end
+
+%E-Beam Size / Emittance measurements 
+if inclSizeMeas ~= 0
+    devemit = 'ANS-C02/DG/PHC-EMIT';
+
+    numPinholeMeas = 20;
+    pauseTimePinhole_s = 1;
+    sumSigX = 0;
+    sumSigZ = 0;
+    sumEmitX = 0;
+    sumEmitZ = 0;
+    sumCoupling = 0;
+    for j = 1:numPinholeMeas
+    	sumSigX = sumSigX + readattribute([devemit '/SrcPointSigmaH']);
+        sumSigZ = sumSigZ + readattribute([devemit '/SrcPointSigmaV']);
+        sumEmitX = sumEmitX + readattribute([devemit '/EmittanceH']);
+        sumEmitZ = sumEmitZ + readattribute([devemit '/EmittanceV']);
+        sumCoupling = sumCoupling + readattribute([devemit '/Coupling']);
+        pause(pauseTimePinhole_s);
+    end
+    inStructElecBeam.SigX = sumSigX/numPinholeMeas;
+    inStructElecBeam.SigZ = sumSigZ/numPinholeMeas;
+    inStructElecBeam.EmitX = sumEmitX/numPinholeMeas;
+    inStructElecBeam.EmitZ = sumEmitZ/numPinholeMeas;
+    inStructElecBeam.Coupling = sumCoupling/numPinholeMeas;
+end
+
+inStructElecBeam.date = datestr(now); % convert date to string
+outStructElecBeam = inStructElecBeam;
+
+if dispData ~= 0
+	fprintf('I = %f\n', outStructElecBeam.current);
+    %fprintf('Tau = %f\n', outStructElecBeam.tau);
+    %fprintf('P=%d\n',pres)
+    fprintf('nux = %f\n', outStructElecBeam.tune(1));
+    fprintf('nuz = %f\n', outStructElecBeam.tune(2));
+    fprintf('ksix = %f\n', outStructElecBeam.ksi(1));
+    fprintf('ksiz = %f\n', outStructElecBeam.ksi(2));
+    
+    if inclSizeMeas ~= 0
+    	fprintf('SigX = %f;  EmitX = %f\n', inStructElecBeam.SigX, inStructElecBeam.EmitX);
+        fprintf('SigZ = %f;  EmitZ = %f\n', inStructElecBeam.SigZ, inStructElecBeam.EmitZ);
+        fprintf('Coupling = %f\n', inStructElecBeam.Coupling);
+    end
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_u20.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_u20.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idMeasElecBeam_u20.m	(revision 17)
@@ -0,0 +1,68 @@
+function outStructElecBeam = idMeasElecBeam(inStructElecBeam, inclPerturbMeas, fileNameCore)
+
+% Pause duration between eventual measurements of the dispersion functions and
+% chromatisities:
+pauseTime_s = 5;
+
+% H orbit
+inStructElecBeam.X = getx;
+% V orbit
+inStructElecBeam.Z = getz;
+% Stored electron beam current
+inStructElecBeam.current = getdcct;
+% Tunes
+inStructElecBeam.tune = gettune;
+
+if inclPerturbMeas ~= 0
+	% Measure dispersion functions. ATTENTION, it perturbes e-beam !
+	[dx dz] = measdisp('Physics');
+	inStructElecBeam.dx = dx;
+	inStructElecBeam.dz = dz;
+    inStructElecBeam,
+    pause(pauseTime_s);
+
+	% Measure chromaticities. ATTENTION, it perturbes e-beam !
+	%inStructElecBeam.ksi = measchro('Physics');
+end
+
+inStructElecBeam.date = datestr(now); % convert date to string
+
+outStructElecBeam = inStructElecBeam;
+
+% Save the structure into a file, if necessary
+%if saveRes ~= 0
+if strcmp(fileNameCore, '') == 0
+    %idSaveStruct(structNameToSave, fileNameCore, idName)
+    %idSaveStruct(structNameToSave, 'HU80_TEMPO', 'HU80')
+    
+	FileName = appendtimestamp(fileNameCore);
+	DirectoryName = getfamilydata('Directory','U20_PROXIMA1');
+	DirStart = pwd;
+	[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+	save(FileName,'-struct', 'outStructElecBeam');
+    %save(FileName, inStructElecBeam);
+	cd(DirStart);
+end
+
+%temp=tango_read_attribute2('ANS-C08/EI/M-HU80.2','gap');
+%gap=temp.value(1)/1.e4;
+gap=0;
+Phase=0;
+temp=tango_read_attribute2('ANS-C10/VI/PI.16','pressure');
+pres=temp.value(1);
+temp=tango_read_attribute2('ANS/DG/PUB-LifeTime','double_scalar');
+tau=temp.value(1);
+fprintf('GAP=%f\n',gap)
+%fprintf('PHASE=%f\n',Phase)
+fprintf('I=%f\n',inStructElecBeam.current)
+fprintf('Tau=%f\n',tau)
+fprintf('P=%d\n',pres)
+fprintf('nux= %f\n',inStructElecBeam.tune(1))
+fprintf('nuz= %f\n',inStructElecBeam.tune(2))
+fprintf('ksix= %f\n',inStructElecBeam.ksi(1))
+fprintf('ksiz= %f\n',inStructElecBeam.ksi(2))
+fprintf('Sauvegarde  %s\n',FileName)
+
+
+% Encoder #1
+%inElecBeamStruct.encoder2= readattribute([devM, '/encoder2Position']);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idPlotCorrectionCurrents.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idPlotCorrectionCurrents.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idPlotCorrectionCurrents.m	(revision 17)
@@ -0,0 +1,68 @@
+function res=idPlotCorrectionCurrents(FFWDTableStructure, idName, CorrectorName, idMode, FixedParameter, FixedValue, Format, NewPlot)
+% Written by F. Briquez 03/11/2010.
+% Modified 22/07/2011 => Uses FFWD table structure
+%                        Allows 1D plot in addition to 2D plot
+% Modified 13/09/2011 => possibility to enter directly FFWDTableStructure
+% (then doesnt't take into account idName, CorrectorName and idMode)
+
+% 18/10/2011 : It doesn't work anymore!!!!
+    res=-1;
+
+    if (isempty(FFWDTableStructure))
+        FFWDTableStructure=idDownloadFFWDTableStructureOfOneCorrectorFromDevice(idName, CorrectorName, idMode);
+    end
+    Table=FFWDTableStructure.Table;
+    vGaps=FFWDTableStructure.vGaps;
+    vPhases=FFWDTableStructure.vPhases;
+    
+    vPhases=transpose(vPhases);
+    vGaps=transpose(vGaps);
+    
+    if (NewPlot~=0)
+        figure(NewPlot);
+        clf
+    end
+    hold on;
+    
+    if isempty(FixedParameter)
+        vPhases=transpose(vPhases);
+        [vPhases, vGaps]=meshgrid(vPhases, vGaps);
+        surfl(vGaps, vPhases, Table);
+        LegendText=CorrectorName;
+
+    else
+        if strcmpi(FixedParameter, 'phase')&&~isempty(FixedValue)
+            PhaseIndex=idAuxFindClosestElemInd(FixedValue, vPhases);
+            if (PhaseIndex==-1)
+                fprintf ('Wrong FixedValue input\n');
+                return
+            end
+            FixedValue=vPhases(PhaseIndex);
+            vX=vGaps;
+            vY=Table(:, PhaseIndex);
+        elseif strcmpi(FixedParameter, 'gap')&&~isempty(FixedValue)
+            GapIndex= idAuxFindClosestElemInd(FixedValue, vGaps);
+            if (GapIndex==-1)
+               fprintf ('Wrong FixedValue input\n');
+               return
+            end
+            FixedValue=vGaps(GapIndex);
+            vX=vPhases;
+            vY=Table(GapIndex, :);
+        else
+            fprintf ('Wrong attributes\n');
+            return
+        end
+        LegendText=[CorrectorName '@ ' FixedParameter '=' num2str(FixedValue) ' mm'];
+        if isempty(Format)
+            plot (vX, vY)
+        else
+            plot (vX, vY, Format)
+        end
+    end
+    legend (LegendText);
+    hold off
+    res=1;
+    return
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idReadCorElecBeamMeasData.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idReadCorElecBeamMeasData.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idReadCorElecBeamMeasData.m	(revision 17)
@@ -0,0 +1,12366 @@
+function [fnMeasMain, fnMeasBkgr, vCurVals] = idReadCorElecBeamMeasData(idName, gap, corName)
+
+%% Order of contents:
+%   - In Vacuum insertion device:
+%         - U20 PROXIMA1
+%         - U20 SWING
+%         - U20 CRISTAL
+%         - U20 SIXS
+%         - U20 GALAXIES
+%         - U20 NANO
+%         - U24 PROXIMA2A
+%         - WSV50 PSICHE
+%         - U18 TOMO
+%   - APPLE 2 undulators:
+%         - HU80 PLEIADES
+%         - HU80 TEMPO
+%         - HU80 SEXTANTS (Ex- MICROFOCUS)
+%         - HU60 CASSIOPEE
+%         - HU60 ANTARES
+%         - HU52 DEIMOS
+%         - HU52 LUCIA
+%         - HU44 TEMPO
+%         - HU44 SEXTANTS (Ex- MICROFOCUS)
+%         - HU36 SIRIUS
+%         - HU42 HERMES
+%         - HU64 HERMES
+%   - Electomagnetic undulators:
+%         - HU256 CASSIOPEE
+%         - HU256 PLEIADES
+%         - HU256 ANTARES
+%         - HU640 DESIRS
+%% Press CTRL-UP or CTRL-DOWN to sweep undulators
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% IN VACUUM UNDULATORS %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+if strncmp(idName, 'U20', 3) || strncmp(idName, 'U24', 3) || strncmp(idName, 'WSV50', 5) || strncmp(idName, 'U18', 3)
+%% U20 PROXIMA1
+    if strcmp(idName, 'U20_PROXIMA1')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_PROXIMA1_CVE_m6_2009-08-30_23-50-23'; 
+                                  'U20_PROXIMA1_CVE_m4_2009-08-30_23-50-03'; 
+                                  'U20_PROXIMA1_CVE_m2_2009-08-30_23-49-43'; 
+                                  'U20_PROXIMA1_CVE_0_2009-08-30_23-49-20 '; 
+                                  'U20_PROXIMA1_CVE_2_2009-08-30_23-48-36 ';
+                                  'U20_PROXIMA1_CVE_4_2009-08-30_23-48-13 ';
+                                  'U20_PROXIMA1_CVE_6_2009-08-30_23-47-50 ']);
+            fnMeasBkgr = cellstr(['U20_PROXIMA1_CVE_0_2009-08-30_23-49-20'; 
+                                  'U20_PROXIMA1_CVE_0_2009-08-30_23-49-20'; 
+                                  'U20_PROXIMA1_CVE_0_2009-08-30_23-49-20'; 
+                                  'U20_PROXIMA1_CVE_0_2009-08-30_23-49-20'; 
+                                  'U20_PROXIMA1_CVE_0_2009-08-30_23-49-20';
+                                  'U20_PROXIMA1_CVE_0_2009-08-30_23-49-20';
+                                  'U20_PROXIMA1_CVE_0_2009-08-30_23-49-20']);
+        elseif strcmp(corName, 'CVE')                            
+            fnMeasMain = cellstr(['U20_PROXIMA1_CHE_m6_2009-08-30_23-54-54'; 
+                                  'U20_PROXIMA1_CHE_m4_2009-08-30_23-54-38'; 
+                                  'U20_PROXIMA1_CHE_m2_2009-08-30_23-54-21'; 
+                                  'U20_PROXIMA1_CHE_0_2009-08-30_23-54-02 '; 
+                                  'U20_PROXIMA1_CHE_2_2009-08-30_23-53-44 ';
+                                  'U20_PROXIMA1_CHE_4_2009-08-30_23-53-27 ';
+                                  'U20_PROXIMA1_CHE_6_2009-08-30_23-53-10 ']);
+            fnMeasBkgr = cellstr(['U20_PROXIMA1_CHE_0_2009-08-30_23-54-02'; 
+                                  'U20_PROXIMA1_CHE_0_2009-08-30_23-54-02'; 
+                                  'U20_PROXIMA1_CHE_0_2009-08-30_23-54-02'; 
+                                  'U20_PROXIMA1_CHE_0_2009-08-30_23-54-02'; 
+                                  'U20_PROXIMA1_CHE_0_2009-08-30_23-54-02';
+                                  'U20_PROXIMA1_CHE_0_2009-08-30_23-54-02';
+                                  'U20_PROXIMA1_CHE_0_2009-08-30_23-54-02']);                             
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_PROXIMA1_CVS_m6_2009-08-30_23-57-29'; 
+                                  'U20_PROXIMA1_CVS_m4_2009-08-30_23-57-13'; 
+                                  'U20_PROXIMA1_CVS_m2_2009-08-30_23-56-57'; 
+                                  'U20_PROXIMA1_CVS_0_2009-08-30_23-56-41 '; 
+                                  'U20_PROXIMA1_CVS_2_2009-08-30_23-56-23 ';
+                                  'U20_PROXIMA1_CVS_4_2009-08-30_23-56-02 ';
+                                  'U20_PROXIMA1_CVS_6_2009-08-30_23-55-40 ']);
+            fnMeasBkgr = cellstr(['U20_PROXIMA1_CVS_0_2009-08-30_23-56-41'; 
+                                  'U20_PROXIMA1_CVS_0_2009-08-30_23-56-41'; 
+                                  'U20_PROXIMA1_CVS_0_2009-08-30_23-56-41'; 
+                                  'U20_PROXIMA1_CVS_0_2009-08-30_23-56-41'; 
+                                  'U20_PROXIMA1_CVS_0_2009-08-30_23-56-41';
+                                  'U20_PROXIMA1_CVS_0_2009-08-30_23-56-41';
+                                  'U20_PROXIMA1_CVS_0_2009-08-30_23-56-41']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_PROXIMA1_CHS_m6_2009-08-30_23-59-47'; 
+                                  'U20_PROXIMA1_CHS_m4_2009-08-30_23-59-26'; 
+                                  'U20_PROXIMA1_CHS_m2_2009-08-30_23-59-09'; 
+                                  'U20_PROXIMA1_CHS_0_2009-08-30_23-58-52 '; 
+                                  'U20_PROXIMA1_CHS_2_2009-08-30_23-58-38 ';
+                                  'U20_PROXIMA1_CHS_4_2009-08-30_23-58-22 ';
+                                  'U20_PROXIMA1_CHS_6_2009-08-30_23-58-04 ']);
+            fnMeasBkgr = cellstr(['U20_PROXIMA1_CHS_0_2009-08-30_23-58-52'  ; 
+                                  'U20_PROXIMA1_CHS_0_2009-08-30_23-58-52'  ; 
+                                  'U20_PROXIMA1_CHS_0_2009-08-30_23-58-52'  ;  
+                                  'U20_PROXIMA1_CHS_0_2009-08-30_23-58-52'  ; 
+                                  'U20_PROXIMA1_CHS_0_2009-08-30_23-58-52'  ;
+                                  'U20_PROXIMA1_CHS_0_2009-08-30_23-58-52'  ;
+                                  'U20_PROXIMA1_CHS_0_2009-08-30_23-58-52']); 
+        end
+        
+%% U20 SWING
+	elseif strcmp(idName, 'U20_SWING')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_SWING_CVE_m6_2009-08-31_00-05-12'; 
+                                  'U20_SWING_CVE_m4_2009-08-31_00-05-02'; 
+                                  'U20_SWING_CVE_m2_2009-08-31_00-04-52'; 
+                                  'U20_SWING_CVE_0_2009-08-31_00-04-38 '; 
+                                  'U20_SWING_CVE_2_2009-08-31_00-04-30 ';
+                                  'U20_SWING_CVE_4_2009-08-31_00-04-17 ';
+                                  'U20_SWING_CVE_6_2009-08-31_00-04-02 ']);
+            fnMeasBkgr = cellstr(['U20_SWING_CVE_0_2009-08-31_00-04-38'; 
+                                  'U20_SWING_CVE_0_2009-08-31_00-04-38'; 
+                                  'U20_SWING_CVE_0_2009-08-31_00-04-38'; 
+                                  'U20_SWING_CVE_0_2009-08-31_00-04-38'; 
+                                  'U20_SWING_CVE_0_2009-08-31_00-04-38';
+                                  'U20_SWING_CVE_0_2009-08-31_00-04-38';
+                                  'U20_SWING_CVE_0_2009-08-31_00-04-38']);
+        elseif strcmp(corName, 'CVE')                            
+            fnMeasMain = cellstr(['U20_SWING_CHE_m6_2009-08-31_00-03-34'; 
+                                  'U20_SWING_CHE_m4_2009-08-31_00-03-24'; 
+                                  'U20_SWING_CHE_m2_2009-08-31_00-03-12'; 
+                                  'U20_SWING_CHE_0_2009-08-31_00-02-57 '; 
+                                  'U20_SWING_CHE_2_2009-08-31_00-02-46 ';
+                                  'U20_SWING_CHE_4_2009-08-31_00-02-34 ';
+                                  'U20_SWING_CHE_6_2009-08-31_00-02-21 ']);
+            fnMeasBkgr = cellstr(['U20_SWING_CHE_0_2009-08-31_00-02-57'; 
+                                  'U20_SWING_CHE_0_2009-08-31_00-02-57'; 
+                                  'U20_SWING_CHE_0_2009-08-31_00-02-57'; 
+                                  'U20_SWING_CHE_0_2009-08-31_00-02-57'; 
+                                  'U20_SWING_CHE_0_2009-08-31_00-02-57';
+                                  'U20_SWING_CHE_0_2009-08-31_00-02-57';
+                                  'U20_SWING_CHE_0_2009-08-31_00-02-57']);                             
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_SWING_CVS_m6_2009-08-31_00-08-17'; 
+                                  'U20_SWING_CVS_m4_2009-08-31_00-08-07'; 
+                                  'U20_SWING_CVS_m2_2009-08-31_00-07-50'; 
+                                  'U20_SWING_CVS_0_2009-08-31_00-07-39 '; 
+                                  'U20_SWING_CVS_2_2009-08-31_00-07-27 ';
+                                  'U20_SWING_CVS_4_2009-08-31_00-07-14 ';
+                                  'U20_SWING_CVS_6_2009-08-31_00-07-01 ']);
+            fnMeasBkgr = cellstr(['U20_SWING_CVS_0_2009-08-31_00-07-39'; 
+                                  'U20_SWING_CVS_0_2009-08-31_00-07-39'; 
+                                  'U20_SWING_CVS_0_2009-08-31_00-07-39'; 
+                                  'U20_SWING_CVS_0_2009-08-31_00-07-39'; 
+                                  'U20_SWING_CVS_0_2009-08-31_00-07-39';
+                                  'U20_SWING_CVS_0_2009-08-31_00-07-39';
+                                  'U20_SWING_CVS_0_2009-08-31_00-07-39']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_SWING_CHS_m6_2009-08-31_00-06-40'; 
+                                  'U20_SWING_CHS_m4_2009-08-31_00-06-29'; 
+                                  'U20_SWING_CHS_m2_2009-08-31_00-06-18'; 
+                                  'U20_SWING_CHS_0_2009-08-31_00-06-09 '; 
+                                  'U20_SWING_CHS_2_2009-08-31_00-05-57 ';
+                                  'U20_SWING_CHS_4_2009-08-31_00-05-48 ';
+                                  'U20_SWING_CHS_6_2009-08-31_00-05-36 ']);
+            fnMeasBkgr = cellstr(['U20_SWING_CHS_0_2009-08-31_00-06-09'  ; 
+                                  'U20_SWING_CHS_0_2009-08-31_00-06-09'  ; 
+                                  'U20_SWING_CHS_0_2009-08-31_00-06-09'  ; 
+                                  'U20_SWING_CHS_0_2009-08-31_00-06-09'  ; 
+                                  'U20_SWING_CHS_0_2009-08-31_00-06-09'  ;
+                                  'U20_SWING_CHS_0_2009-08-31_00-06-09'  ;
+                                  'U20_SWING_CHS_0_2009-08-31_00-06-09']); 
+     
+        end
+%% U20 CRISTAL
+	elseif strcmp(idName, 'U20_CRISTAL')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_CRISTAL_CHE_-6';
+                                  'U20_CRISTAL_CHE_-4';
+                                  'U20_CRISTAL_CHE_-2';
+                                  'U20_CRISTAL_CHE_0 ';
+                                  'U20_CRISTAL_CHE_2 ';
+                                  'U20_CRISTAL_CHE_4 ';
+                                  'U20_CRISTAL_CHE_6 ']);
+            fnMeasBkgr = cellstr(['U20_CRISTAL_CHE_0 ';
+                                  'U20_CRISTAL_CHE_0 ';
+                                  'U20_CRISTAL_CHE_0 ';
+                                  'U20_CRISTAL_CHE_0 ';
+                                  'U20_CRISTAL_CHE_0 ';
+                                  'U20_CRISTAL_CHE_0 ';
+                                  'U20_CRISTAL_CHE_0 ']);
+        elseif strcmp(corName, 'CVE')                           
+            fnMeasMain = cellstr(['U20_CRISTAL_CVE_-6';
+                                  'U20_CRISTAL_CVE_-4';
+                                  'U20_CRISTAL_CVE_-2';
+                                  'U20_CRISTAL_CVE_0 ';
+                                  'U20_CRISTAL_CVE_2 ';
+                                  'U20_CRISTAL_CVE_4 ';
+                                  'U20_CRISTAL_CVE_6 ']);
+            fnMeasBkgr = cellstr(['U20_CRISTAL_CVE_0 ';
+                                  'U20_CRISTAL_CVE_0 ';
+                                  'U20_CRISTAL_CVE_0 ';
+                                  'U20_CRISTAL_CVE_0 ';
+                                  'U20_CRISTAL_CVE_0 ';
+                                  'U20_CRISTAL_CVE_0 ';
+                                  'U20_CRISTAL_CVE_0 ']);
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_CRISTAL_CHS_-6';
+                                  'U20_CRISTAL_CHS_-4';
+                                  'U20_CRISTAL_CHS_-2';
+                                  'U20_CRISTAL_CHS_0 ';
+                                  'U20_CRISTAL_CHS_2 ';
+                                  'U20_CRISTAL_CHS_4 ';
+                                  'U20_CRISTAL_CHS_6 ']);
+            fnMeasBkgr = cellstr(['U20_CRISTAL_CHS_0 ';
+                                  'U20_CRISTAL_CHS_0 ';
+                                  'U20_CRISTAL_CHS_0 ';
+                                  'U20_CRISTAL_CHS_0 ';
+                                  'U20_CRISTAL_CHS_0 ';
+                                  'U20_CRISTAL_CHS_0 ';
+                                  'U20_CRISTAL_CHS_0 ']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_CRISTAL_CVS_-6';
+                                  'U20_CRISTAL_CVS_-4';
+                                  'U20_CRISTAL_CVS_-2';
+                                  'U20_CRISTAL_CVS_0 ';
+                                  'U20_CRISTAL_CVS_2 ';
+                                  'U20_CRISTAL_CVS_4 ';
+                                  'U20_CRISTAL_CVS_6 ']);
+            fnMeasBkgr = cellstr(['U20_CRISTAL_CVS_0 ';
+                                  'U20_CRISTAL_CVS_0 ';
+                                  'U20_CRISTAL_CVS_0 ';
+                                  'U20_CRISTAL_CVS_0 ';
+                                  'U20_CRISTAL_CVS_0 ';
+                                  'U20_CRISTAL_CVS_0 ';
+                                  'U20_CRISTAL_CVS_0 ']);
+       
+        end
+
+%% U20 SIXS    
+    elseif strcmp(idName, 'U20_SIXS')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_SIXS_CVE_m6_2009-07-14_00-06-33';
+                                  'U20_SIXS_CVE_m4_2009-07-14_00-06-25';
+                                  'U20_SIXS_CVE_m2_2009-07-14_00-06-18';
+                                  'U20_SIXS_CVE_0_2009-07-14_00-06-11 ';
+                                  'U20_SIXS_CVE_2_2009-07-14_00-06-04 ';
+                                  'U20_SIXS_CVE_4_2009-07-14_00-05-58 ';
+                                  'U20_SIXS_CVE_6_2009-07-14_00-05-51 ']);
+            fnMeasBkgr = cellstr(['U20_SIXS_CVE_0_2009-07-14_00-06-11 ';
+                                  'U20_SIXS_CVE_0_2009-07-14_00-06-11 ';
+                                  'U20_SIXS_CVE_0_2009-07-14_00-06-11 ';
+                                  'U20_SIXS_CVE_0_2009-07-14_00-06-11 ';
+                                  'U20_SIXS_CVE_0_2009-07-14_00-06-11 ';
+                                  'U20_SIXS_CVE_0_2009-07-14_00-06-11 ';
+                                  'U20_SIXS_CVE_0_2009-07-14_00-06-11 ']);
+        elseif strcmp(corName, 'CVE')                           
+            fnMeasMain = cellstr(['U20_SIXS_CHE_m6_2009-07-14_00-05-33';
+                                  'U20_SIXS_CHE_m4_2009-07-14_00-05-26';
+                                  'U20_SIXS_CHE_m2_2009-07-14_00-05-18';
+                                  'U20_SIXS_CHE_0_2009-07-14_00-05-11 ';
+                                  'U20_SIXS_CHE_2_2009-07-14_00-05-03 ';
+                                  'U20_SIXS_CHE_4_2009-07-14_00-04-54 ';
+                                  'U20_SIXS_CHE_6_2009-07-14_00-04-41 ']);
+            fnMeasBkgr = cellstr(['U20_SIXS_CHE_0_2009-07-14_00-05-11 ';
+                                  'U20_SIXS_CHE_0_2009-07-14_00-05-11 ';
+                                  'U20_SIXS_CHE_0_2009-07-14_00-05-11 ';
+                                  'U20_SIXS_CHE_0_2009-07-14_00-05-11 ';
+                                  'U20_SIXS_CHE_0_2009-07-14_00-05-11 ';
+                                  'U20_SIXS_CHE_0_2009-07-14_00-05-11 ';
+                                  'U20_SIXS_CHE_0_2009-07-14_00-05-11 ']);                            
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_SIXS_CVS_m6_2009-07-14_00-09-15';
+                                  'U20_SIXS_CVS_m4_2009-07-14_00-09-09';
+                                  'U20_SIXS_CVS_m2_2009-07-14_00-09-01';
+                                  'U20_SIXS_CVS_0_2009-07-14_00-08-52 ';
+                                  'U20_SIXS_CVS_2_2009-07-14_00-08-46 ';
+                                  'U20_SIXS_CVS_4_2009-07-14_00-08-38 ';
+                                  'U20_SIXS_CVS_6_2009-07-14_00-08-30 ']);
+            fnMeasBkgr = cellstr(['U20_SIXS_CVS_0_2009-07-14_00-08-52 ';
+                                  'U20_SIXS_CVS_0_2009-07-14_00-08-52 ';
+                                  'U20_SIXS_CVS_0_2009-07-14_00-08-52 ';
+                                  'U20_SIXS_CVS_0_2009-07-14_00-08-52 ';
+                                  'U20_SIXS_CVS_0_2009-07-14_00-08-52 ';
+                                  'U20_SIXS_CVS_0_2009-07-14_00-08-52 ';
+                                  'U20_SIXS_CVS_0_2009-07-14_00-08-52 ']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_SIXS_CHS_m6_2009-07-14_00-08-10';
+                                  'U20_SIXS_CHS_m4_2009-07-14_00-08-01';
+                                  'U20_SIXS_CHS_m2_2009-07-14_00-07-41';
+                                  'U20_SIXS_CHS_0_2009-07-14_00-07-31 ';
+                                  'U20_SIXS_CHS_2_2009-07-14_00-07-25 ';
+                                  'U20_SIXS_CHS_4_2009-07-14_00-07-18 ';
+                                  'U20_SIXS_CHS_6_2009-07-14_00-07-10 ']);
+            fnMeasBkgr = cellstr(['U20_SIXS_CHS_0_2009-07-14_00-07-31 '  ;
+                                  'U20_SIXS_CHS_0_2009-07-14_00-07-31 '  ;
+                                  'U20_SIXS_CHS_0_2009-07-14_00-07-31 '  ;
+                                  'U20_SIXS_CHS_0_2009-07-14_00-07-31 '  ;
+                                  'U20_SIXS_CHS_0_2009-07-14_00-07-31 '  ;
+                                  'U20_SIXS_CHS_0_2009-07-14_00-07-31 '  ;
+                                  'U20_SIXS_CHS_0_2009-07-14_00-07-31 ']);
+       
+        end
+ %  CORRECTOR FILENAMES TO BE CHECKED !!!!       
+ %% U20 NANO       
+    elseif strcmp(idName, 'U20_NANO')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_NANO_CHE_-6';
+                                  'U20_NANO_CHE_-4';
+                                  'U20_NANO_CHE_-2';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_2 ';
+                                  'U20_NANO_CHE_4 ';
+                                  'U20_NANO_CHE_6 ']);
+            fnMeasBkgr = cellstr(['U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ']);
+        elseif strcmp(corName, 'CVE')                           
+            fnMeasMain = cellstr(['U20_NANO_CVE_-6';
+                                  'U20_NANO_CVE_-4';
+                                  'U20_NANO_CVE_-2';
+                                  'U20_NANO_CVE_0 ';
+                                  'U20_NANO_CVE_2 ';
+                                  'U20_NANO_CVE_4 ';
+                                  'U20_NANO_CVE_6 ']);
+            fnMeasBkgr = cellstr(['U20_NANO_CVE_0 ';
+                                  'U20_NANO_CVE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ';
+                                  'U20_NANO_CHE_0 ']);
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_NANO_CHS_-6';
+                                  'U20_NANO_CHS_-4';
+                                  'U20_NANO_CHS_-2';
+                                  'U20_NANO_CHS_0 ';
+                                  'U20_NANO_CHS_2 ';
+                                  'U20_NANO_CHS_4 ';
+                                  'U20_NANO_CHS_6 ']);
+            fnMeasBkgr = cellstr(['U20_NANO_CHS_0 ';
+                                  'U20_NANO_CHS_0 ';
+                                  'U20_NANO_CHS_0 ';
+                                  'U20_NANO_CHS_0 ';
+                                  'U20_NANO_CHS_0 ';
+                                  'U20_NANO_CHS_0 ';
+                                  'U20_NANO_CHS_0 ']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_NANO_CVS_-6';
+                                  'U20_NANO_CVS_-4';
+                                  'U20_NANO_CVS_-2';
+                                  'U20_NANO_CVS_0 ';
+                                  'U20_NANO_CVS_2 ';
+                                  'U20_NANO_CVS_4 ';
+                                  'U20_NANO_CVS_6 ']);
+            fnMeasBkgr = cellstr(['U20_NANO_CVS_0 ';
+                                  'U20_NANO_CVS_0 ';
+                                  'U20_NANO_CVS_0 ';
+                                  'U20_NANO_CVS_0 ';
+                                  'U20_NANO_CVS_0 ';
+                                  'U20_NANO_CVS_0 ';
+                                  'U20_NANO_CVS_0 ']);
+       
+        end
+ %% U20 GALAXIES       
+    elseif strcmp(idName, 'U20_GALAXIES')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U20_GALAXIES_CHE_-6';
+                                  'U20_GALAXIES_CHE_-4';
+                                  'U20_GALAXIES_CHE_-2';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_2 ';
+                                  'U20_GALAXIES_CHE_4 ';
+                                  'U20_GALAXIES_CHE_6 ']);
+            fnMeasBkgr = cellstr(['U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ']);
+        elseif strcmp(corName, 'CVE')                           
+            fnMeasMain = cellstr(['U20_GALAXIES_CVE_-6';
+                                  'U20_GALAXIES_CVE_-4';
+                                  'U20_GALAXIES_CVE_-2';
+                                  'U20_GALAXIES_CVE_0 ';
+                                  'U20_GALAXIES_CVE_2 ';
+                                  'U20_GALAXIES_CVE_4 ';
+                                  'U20_GALAXIES_CVE_6 ']);
+            fnMeasBkgr = cellstr(['U20_GALAXIES_CVE_0 ';
+                                  'U20_GALAXIES_CVE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ';
+                                  'U20_GALAXIES_CHE_0 ']);
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U20_GALAXIES_CHS_-6';
+                                  'U20_GALAXIES_CHS_-4';
+                                  'U20_GALAXIES_CHS_-2';
+                                  'U20_GALAXIES_CHS_0 ';
+                                  'U20_GALAXIES_CHS_2 ';
+                                  'U20_GALAXIES_CHS_4 ';
+                                  'U20_GALAXIES_CHS_6 ']);
+            fnMeasBkgr = cellstr(['U20_GALAXIES_CHS_0 ';
+                                  'U20_GALAXIES_CHS_0 ';
+                                  'U20_GALAXIES_CHS_0 ';
+                                  'U20_GALAXIES_CHS_0 ';
+                                  'U20_GALAXIES_CHS_0 ';
+                                  'U20_GALAXIES_CHS_0 ';
+                                  'U20_GALAXIES_CHS_0 ']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U20_GALAXIES_CVS_-6';
+                                  'U20_GALAXIES_CVS_-4';
+                                  'U20_GALAXIES_CVS_-2';
+                                  'U20_GALAXIES_CVS_0 ';
+                                  'U20_GALAXIES_CVS_2 ';
+                                  'U20_GALAXIES_CVS_4 ';
+                                  'U20_GALAXIES_CVS_6 ']);
+            fnMeasBkgr = cellstr(['U20_GALAXIES_CVS_0 ';
+                                  'U20_GALAXIES_CVS_0 ';
+                                  'U20_GALAXIES_CVS_0 ';
+                                  'U20_GALAXIES_CVS_0 ';
+                                  'U20_GALAXIES_CVS_0 ';
+                                  'U20_GALAXIES_CVS_0 ';
+                                  'U20_GALAXIES_CVS_0 ']);
+       
+        end        
+%% U24 PROXIMA2A
+    elseif strcmp(idName, 'U24_PROXIMA2')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U24_PROXIMA2_CHE_-6';
+                                  'U24_PROXIMA2_CHE_-4';
+                                  'U24_PROXIMA2_CHE_-2';
+                                  'U24_PROXIMA2_CHE_0 ';
+                                  'U24_PROXIMA2_CHE_2 ';
+                                  'U24_PROXIMA2_CHE_4 ';
+                                  'U24_PROXIMA2_CHE_6 ']);
+            fnMeasBkgr = cellstr(['U24_PROXIMA2_CHE_0 ';
+                                  'U24_PROXIMA2_CHE_0 ';
+                                  'U24_PROXIMA2_CHE_0 ';
+                                  'U24_PROXIMA2_CHE_0 ';
+                                  'U24_PROXIMA2_CHE_0 ';
+                                  'U24_PROXIMA2_CHE_0 ';
+                                  'U24_PROXIMA2_CHE_0 ']);
+        elseif strcmp(corName, 'CVE')                           
+            fnMeasMain = cellstr(['U24_PROXIMA2_CVE_-6';
+                                  'U24_PROXIMA2_CVE_-4';
+                                  'U24_PROXIMA2_CVE_-2';
+                                  'U24_PROXIMA2_CVE_0 ';
+                                  'U24_PROXIMA2_CVE_2 ';
+                                  'U24_PROXIMA2_CVE_4 ';
+                                  'U24_PROXIMA2_CVE_6 ']);
+            fnMeasBkgr = cellstr(['U24_PROXIMA2_CVE_0 ';
+                                  'U24_PROXIMA2_CVE_0 ';
+                                  'U24_PROXIMA2_CVE_0 ';
+                                  'U24_PROXIMA2_CVE_0 ';
+                                  'U24_PROXIMA2_CVE_0 ';
+                                  'U24_PROXIMA2_CVE_0 ';
+                                  'U24_PROXIMA2_CVE_0 ']);
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U24_PROXIMA2_CHS_-6';
+                                  'U24_PROXIMA2_CHS_-4';
+                                  'U24_PROXIMA2_CHS_-2';
+                                  'U24_PROXIMA2_CHS_0 ';
+                                  'U24_PROXIMA2_CHS_2 ';
+                                  'U24_PROXIMA2_CHS_4 ';
+                                  'U24_PROXIMA2_CHS_6 ']);
+            fnMeasBkgr = cellstr(['U24_PROXIMA2_CHS_0 ';
+                                  'U24_PROXIMA2_CHS_0 ';
+                                  'U24_PROXIMA2_CHS_0 ';
+                                  'U24_PROXIMA2_CHS_0 ';
+                                  'U24_PROXIMA2_CHS_0 ';
+                                  'U24_PROXIMA2_CHS_0 ';
+                                  'U24_PROXIMA2_CHS_0 ']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U24_PROXIMA2_CVS_-6';
+                                  'U24_PROXIMA2_CVS_-4';
+                                  'U24_PROXIMA2_CVS_-2';
+                                  'U24_PROXIMA2_CVS_0 ';
+                                  'U24_PROXIMA2_CVS_2 ';
+                                  'U24_PROXIMA2_CVS_4 ';
+                                  'U24_PROXIMA2_CVS_6 ']);
+            fnMeasBkgr = cellstr(['U24_PROXIMA2_CVS_0 ';
+                                  'U24_PROXIMA2_CVS_0 ';
+                                  'U24_PROXIMA2_CVS_0 ';
+                                  'U24_PROXIMA2_CVS_0 ';
+                                  'U24_PROXIMA2_CVS_0 ';
+                                  'U24_PROXIMA2_CVS_0 ';
+                                  'U24_PROXIMA2_CVS_0 ']);
+        end
+
+%% WSV50 PSICHE   
+    elseif strcmp(idName, 'WSV50_PSICHE')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CVE')
+            fnMeasMain = cellstr(['WSV50_PSICHE_CVE_-6';
+                                  'WSV50_PSICHE_CVE_-4';
+                                  'WSV50_PSICHE_CVE_-2';
+                                  'WSV50_PSICHE_CVE_0 ';
+                                  'WSV50_PSICHE_CVE_2 ';
+                                  'WSV50_PSICHE_CVE_4 ';
+                                  'WSV50_PSICHE_CVE_6 ']);
+            fnMeasBkgr = cellstr(['WSV50_PSICHE_CVE_0 ';
+                                  'WSV50_PSICHE_CVE_0 ';
+                                  'WSV50_PSICHE_CVE_0 ';
+                                  'WSV50_PSICHE_CVE_0 ';
+                                  'WSV50_PSICHE_CVE_0 ';
+                                  'WSV50_PSICHE_CVE_0 ';
+                                  'WSV50_PSICHE_CVE_0 ']);
+        elseif strcmp(corName, 'CHE')                           
+            fnMeasMain = cellstr(['WSV50_PSICHE_CHE_-6';
+                                  'WSV50_PSICHE_CHE_-4';
+                                  'WSV50_PSICHE_CHE_-2';
+                                  'WSV50_PSICHE_CHE_0 ';
+                                  'WSV50_PSICHE_CHE_2 ';
+                                  'WSV50_PSICHE_CHE_4 ';
+                                  'WSV50_PSICHE_CHE_6 ']);
+            fnMeasBkgr = cellstr(['WSV50_PSICHE_CHE_0 ';
+                                  'WSV50_PSICHE_CHE_0 ';
+                                  'WSV50_PSICHE_CHE_0 ';
+                                  'WSV50_PSICHE_CHE_0 ';
+                                  'WSV50_PSICHE_CHE_0 ';
+                                  'WSV50_PSICHE_CHE_0 ';
+                                  'WSV50_PSICHE_CHE_0 ']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['WSV50_PSICHE_CVS_-6';
+                                  'WSV50_PSICHE_CVS_-4';
+                                  'WSV50_PSICHE_CVS_-2';
+                                  'WSV50_PSICHE_CVS_0 ';
+                                  'WSV50_PSICHE_CVS_2 ';
+                                  'WSV50_PSICHE_CVS_4 ';
+                                  'WSV50_PSICHE_CVS_6 ']);
+            fnMeasBkgr = cellstr(['WSV50_PSICHE_CVS_0 ';
+                                  'WSV50_PSICHE_CVS_0 ';
+                                  'WSV50_PSICHE_CVS_0 ';
+                                  'WSV50_PSICHE_CVS_0 ';
+                                  'WSV50_PSICHE_CVS_0 ';
+                                  'WSV50_PSICHE_CVS_0 ';
+                                  'WSV50_PSICHE_CVS_0 ']);
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['WSV50_PSICHE_CHS_-6';
+                                  'WSV50_PSICHE_CHS_-4';
+                                  'WSV50_PSICHE_CHS_-2';
+                                  'WSV50_PSICHE_CHS_0 ';
+                                  'WSV50_PSICHE_CHS_2 ';
+                                  'WSV50_PSICHE_CHS_4 ';
+                                  'WSV50_PSICHE_CHS_6 ']);
+            fnMeasBkgr = cellstr(['WSV50_PSICHE_CHS_0 ';
+                                  'WSV50_PSICHE_CHS_0 ';
+                                  'WSV50_PSICHE_CHS_0 ';
+                                  'WSV50_PSICHE_CHS_0 ';
+                                  'WSV50_PSICHE_CHS_0 ';
+                                  'WSV50_PSICHE_CHS_0 ';
+                                  'WSV50_PSICHE_CHS_0 ']);
+       
+        end     
+        
+        %% U18 TOMO
+	elseif strcmp(idName, 'U18_TOMO')
+        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
+        if strcmp(corName, 'CHE')
+            fnMeasMain = cellstr(['U18_TOMO_CHE_-6';
+                                  'U18_TOMO_CHE_-4';
+                                  'U18_TOMO_CHE_-2';
+                                  'U18_TOMO_CHE_0 ';
+                                  'U18_TOMO_CHE_2 ';
+                                  'U18_TOMO_CHE_4 ';
+                                  'U18_TOMO_CHE_6 ']);
+            fnMeasBkgr = cellstr(['U18_TOMO_CHE_0 ';
+                                  'U18_TOMO_CHE_0 ';
+                                  'U18_TOMO_CHE_0 ';
+                                  'U18_TOMO_CHE_0 ';
+                                  'U18_TOMO_CHE_0 ';
+                                  'U18_TOMO_CHE_0 ';
+                                  'U18_TOMO_CHE_0 ']);
+        elseif strcmp(corName, 'CVE')                           
+            fnMeasMain = cellstr(['U18_TOMO_CVE_-6';
+                                  'U18_TOMO_CVE_-4';
+                                  'U18_TOMO_CVE_-2';
+                                  'U18_TOMO_CVE_0 ';
+                                  'U18_TOMO_CVE_2 ';
+                                  'U18_TOMO_CVE_4 ';
+                                  'U18_TOMO_CVE_6 ']);
+            fnMeasBkgr = cellstr(['U18_TOMO_CVE_0 ';
+                                  'U18_TOMO_CVE_0 ';
+                                  'U18_TOMO_CVE_0 ';
+                                  'U18_TOMO_CVE_0 ';
+                                  'U18_TOMO_CVE_0 ';
+                                  'U18_TOMO_CVE_0 ';
+                                  'U18_TOMO_CVE_0 ']);
+        elseif strcmp(corName, 'CHS')
+            fnMeasMain = cellstr(['U18_TOMO_CHS_-6';
+                                  'U18_TOMO_CHS_-4';
+                                  'U18_TOMO_CHS_-2';
+                                  'U18_TOMO_CHS_0 ';
+                                  'U18_TOMO_CHS_2 ';
+                                  'U18_TOMO_CHS_4 ';
+                                  'U18_TOMO_CHS_6 ']);
+            fnMeasBkgr = cellstr(['U18_TOMO_CHS_0 ';
+                                  'U18_TOMO_CHS_0 ';
+                                  'U18_TOMO_CHS_0 ';
+                                  'U18_TOMO_CHS_0 ';
+                                  'U18_TOMO_CHS_0 ';
+                                  'U18_TOMO_CHS_0 ';
+                                  'U18_TOMO_CHS_0 ']);
+        elseif strcmp(corName, 'CVS')
+            fnMeasMain = cellstr(['U18_TOMO_CVS_-6';
+                                  'U18_TOMO_CVS_-4';
+                                  'U18_TOMO_CVS_-2';
+                                  'U18_TOMO_CVS_0 ';
+                                  'U18_TOMO_CVS_2 ';
+                                  'U18_TOMO_CVS_4 ';
+                                  'U18_TOMO_CVS_6 ']);
+            fnMeasBkgr = cellstr(['U18_TOMO_CVS_0 ';
+                                  'U18_TOMO_CVS_0 ';
+                                  'U18_TOMO_CVS_0 ';
+                                  'U18_TOMO_CVS_0 ';
+                                  'U18_TOMO_CVS_0 ';
+                                  'U18_TOMO_CVS_0 ';
+                                  'U18_TOMO_CVS_0 ']);
+       
+        end
+    end % End of In vacuum undulators
+
+%%%%%%%%%%%%%%%%%%%%%%%%
+%% APPLE 2 UNDULATORS %%
+%%%%%%%%%%%%%%%%%%%%%%%%
+elseif strncmp(idName, 'HU80', 4)
+%% HU80 PLEIADES    
+    if strcmp(idName, 'HU80_PLEIADES')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap < 0.5*(15.5 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G15_5_he-10_ve0_hs0_vs0_2010-12-06_17-07-49';
+                                      'C2G15_5_he-5_ve0_hs0_vs0_2010-12-06_17-08-01 ';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-08-12  ';
+                                      'C2G15_5_he5_ve0_hs0_vs0_2010-12-06_17-08-23  ';
+                                      'C2G15_5_he10_ve0_hs0_vs0_2010-12-06_17-08-34 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-07-37';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-07-37';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-08-12';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-08-12';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-08-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve-10_hs0_vs0_2010-12-06_17-08-59';
+                                      'C2G15_5_he0_ve-5_hs0_vs0_2010-12-06_17-09-10 ';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-09-21  ';
+                                      'C2G15_5_he0_ve5_hs0_vs0_2010-12-06_17-09-33  ';
+                                      'C2G15_5_he0_ve10_hs0_vs0_2010-12-06_17-09-44 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-08-47';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-08-47';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-09-21';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-09-21';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-09-21']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs-10_vs0_2010-12-06_17-10-09';
+                                      'C2G15_5_he0_ve0_hs-5_vs0_2010-12-06_17-10-20 ';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-10-31  ';
+                                      'C2G15_5_he0_ve0_hs5_vs0_2010-12-06_17-10-43  ';
+                                      'C2G15_5_he0_ve0_hs10_vs0_2010-12-06_17-10-54 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-09-57';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-09-57';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-10-31';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-10-31';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-10-31']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs0_vs-10_2010-12-06_17-11-19';
+                                      'C2G15_5_he0_ve0_hs0_vs-5_2010-12-06_17-11-31 ';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-11-42  ';
+                                      'C2G15_5_he0_ve0_hs0_vs5_2010-12-06_17-11-54  ';
+                                      'C2G15_5_he0_ve0_hs0_vs10_2010-12-06_17-12-06 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-11-07';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-11-07';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-11-42';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-11-42';
+                                      'C2G15_5_he0_ve0_hs0_vs0_2010-12-06_17-11-42']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G18_he-10_ve0_hs0_vs0_2010-12-06_17-14-15';
+                                      'C2G18_he-5_ve0_hs0_vs0_2010-12-06_17-14-26 ';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-14-37  ';
+                                      'C2G18_he5_ve0_hs0_vs0_2010-12-06_17-14-49  ';
+                                      'C2G18_he10_ve0_hs0_vs0_2010-12-06_17-15-00 ']);
+                fnMeasBkgr = cellstr(['C2G18_he0_ve0_hs0_vs0_2010-12-06_17-14-03';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-14-03';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-14-37';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-14-37';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-14-37']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G18_he0_ve-10_hs0_vs0_2010-12-06_17-15-24';
+                                      'C2G18_he0_ve-5_hs0_vs0_2010-12-06_17-15-35 ';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-15-46  ';
+                                      'C2G18_he0_ve5_hs0_vs0_2010-12-06_17-15-58  ';
+                                      'C2G18_he0_ve10_hs0_vs0_2010-12-06_17-16-10 ']);
+                fnMeasBkgr = cellstr(['C2G18_he0_ve0_hs0_vs0_2010-12-06_17-15-12';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-15-12';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-15-46';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-15-46';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-15-46']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G18_he0_ve0_hs-10_vs0_2010-12-06_17-16-33';
+                                      'C2G18_he0_ve0_hs-5_vs0_2010-12-06_17-16-44 ';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-16-55  ';
+                                      'C2G18_he0_ve0_hs5_vs0_2010-12-06_17-17-06  ';
+                                      'C2G18_he0_ve0_hs10_vs0_2010-12-06_17-17-17 ']);
+                fnMeasBkgr = cellstr(['C2G18_he0_ve0_hs0_vs0_2010-12-06_17-16-22';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-16-22';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-16-55';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-16-55';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-16-55']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G18_he0_ve0_hs0_vs-10_2010-12-06_17-17-42';
+                                      'C2G18_he0_ve0_hs0_vs-5_2010-12-06_17-17-53 ';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-18-04  ';
+                                      'C2G18_he0_ve0_hs0_vs5_2010-12-06_17-18-15  ';
+                                      'C2G18_he0_ve0_hs0_vs10_2010-12-06_17-18-26 ']);
+                fnMeasBkgr = cellstr(['C2G18_he0_ve0_hs0_vs0_2010-12-06_17-17-30';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-17-30';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-18-04';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-18-04';
+                                      'C2G18_he0_ve0_hs0_vs0_2010-12-06_17-18-04']);
+            end
+        elseif (gap < 0.5*(20 + 22.5))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G20_he-10_ve0_hs0_vs0_2010-12-06_17-19-21';
+                                      'C2G20_he-5_ve0_hs0_vs0_2010-12-06_17-19-32 ';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-19-44  ';
+                                      'C2G20_he5_ve0_hs0_vs0_2010-12-06_17-19-55  ';
+                                      'C2G20_he10_ve0_hs0_vs0_2010-12-06_17-20-06 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2010-12-06_17-19-09';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-19-09';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-19-44';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-19-44';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-19-44']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G20_he0_ve-10_hs0_vs0_2010-12-06_17-20-29';
+                                      'C2G20_he0_ve-5_hs0_vs0_2010-12-06_17-20-40 ';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-20-52  ';
+                                      'C2G20_he0_ve5_hs0_vs0_2010-12-06_17-21-03  ';
+                                      'C2G20_he0_ve10_hs0_vs0_2010-12-06_17-21-15 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2010-12-06_17-20-18';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-20-18';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-20-52';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-20-52';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-20-52']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G20_he0_ve0_hs-10_vs0_2010-12-06_17-21-39';
+                                      'C2G20_he0_ve0_hs-5_vs0_2010-12-06_17-21-50 ';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-22-01  ';
+                                      'C2G20_he0_ve0_hs5_vs0_2010-12-06_17-22-12  ';
+                                      'C2G20_he0_ve0_hs10_vs0_2010-12-06_17-22-24 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2010-12-06_17-21-27';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-21-27';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-22-01';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-22-01';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-22-01']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G20_he0_ve0_hs0_vs-10_2010-12-06_17-22-49';
+                                      'C2G20_he0_ve0_hs0_vs-5_2010-12-06_17-23-00 ';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-23-11  ';
+                                      'C2G20_he0_ve0_hs0_vs5_2010-12-06_17-23-23  ';
+                                      'C2G20_he0_ve0_hs0_vs10_2010-12-06_17-23-35 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2010-12-06_17-22-37';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-22-37';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-23-11';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-23-11';
+                                      'C2G20_he0_ve0_hs0_vs0_2010-12-06_17-23-11']);
+            end
+        elseif (gap < 0.5*(22.5 + 25))    
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G22_5_he-10_ve0_hs0_vs0_2010-12-06_17-25-11';
+                                      'C2G22_5_he-5_ve0_hs0_vs0_2010-12-06_17-25-22 ';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-25-33  ';
+                                      'C2G22_5_he5_ve0_hs0_vs0_2010-12-06_17-25-44  ';
+                                      'C2G22_5_he10_ve0_hs0_vs0_2010-12-06_17-25-55 ']);
+                fnMeasBkgr = cellstr(['C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-24-59';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-24-59';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-25-33';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-25-33';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-25-33']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G22_5_he0_ve-10_hs0_vs0_2010-12-06_17-26-19';
+                                      'C2G22_5_he0_ve-5_hs0_vs0_2010-12-06_17-26-30 ';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-26-42  ';
+                                      'C2G22_5_he0_ve5_hs0_vs0_2010-12-06_17-26-54  ';
+                                      'C2G22_5_he0_ve10_hs0_vs0_2010-12-06_17-27-05 ']);
+                fnMeasBkgr = cellstr(['C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-26-07';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-26-07';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-26-42';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-26-42';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-26-42']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G22_5_he0_ve0_hs-10_vs0_2010-12-06_17-27-29';
+                                      'C2G22_5_he0_ve0_hs-5_vs0_2010-12-06_17-27-40 ';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-27-51  ';
+                                      'C2G22_5_he0_ve0_hs5_vs0_2010-12-06_17-28-02  ';
+                                      'C2G22_5_he0_ve0_hs10_vs0_2010-12-06_17-28-15 ']);
+                fnMeasBkgr = cellstr(['C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-27-17';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-27-17';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-27-51';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-27-51';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-27-51']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G22_5_he0_ve0_hs0_vs-10_2010-12-06_17-28-39';
+                                      'C2G22_5_he0_ve0_hs0_vs-5_2010-12-06_17-28-51 ';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-29-03  ';
+                                      'C2G22_5_he0_ve0_hs0_vs5_2010-12-06_17-29-14  ';
+                                      'C2G22_5_he0_ve0_hs0_vs10_2010-12-06_17-29-26 ']);
+                fnMeasBkgr = cellstr(['C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-28-27';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-28-27';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-29-03';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-29-03';
+                                      'C2G22_5_he0_ve0_hs0_vs0_2010-12-06_17-29-03']);
+            end            
+        elseif (gap < 0.5*(25 + 27.5))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G25_he-10_ve0_hs0_vs0_2010-12-06_17-30-11';
+                                      'C2G25_he-5_ve0_hs0_vs0_2010-12-06_17-30-23 ';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-30-35  ';
+                                      'C2G25_he5_ve0_hs0_vs0_2010-12-06_17-30-46  ';
+                                      'C2G25_he10_ve0_hs0_vs0_2010-12-06_17-30-58 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2010-12-06_17-29-59';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-29-59';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-30-35';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-30-35';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-30-35']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G25_he0_ve-10_hs0_vs0_2010-12-06_17-31-21';
+                                      'C2G25_he0_ve-5_hs0_vs0_2010-12-06_17-31-32 ';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-31-43  ';
+                                      'C2G25_he0_ve5_hs0_vs0_2010-12-06_17-31-54  ';
+                                      'C2G25_he0_ve10_hs0_vs0_2010-12-06_17-32-06 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2010-12-06_17-31-10';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-31-10';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-31-43';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-31-43';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-31-43']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G25_he0_ve0_hs-10_vs0_2010-12-06_17-32-30';
+                                      'C2G25_he0_ve0_hs-5_vs0_2010-12-06_17-32-41 ';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-32-52  ';
+                                      'C2G25_he0_ve0_hs5_vs0_2010-12-06_17-33-03  ';
+                                      'C2G25_he0_ve0_hs10_vs0_2010-12-06_17-33-15 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2010-12-06_17-32-18';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-32-18';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-32-52';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-32-52';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-32-52']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G25_he0_ve0_hs0_vs-10_2010-12-06_17-33-39';
+                                      'C2G25_he0_ve0_hs0_vs-5_2010-12-06_17-33-50 ';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-34-01  ';
+                                      'C2G25_he0_ve0_hs0_vs5_2010-12-06_17-34-12  ';
+                                      'C2G25_he0_ve0_hs0_vs10_2010-12-06_17-34-24 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2010-12-06_17-33-27';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-33-27';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-34-01';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-34-01';
+                                      'C2G25_he0_ve0_hs0_vs0_2010-12-06_17-34-01']);
+            end
+        elseif (gap < 0.5*(27.5 + 30)) 
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G27_5_he-10_ve0_hs0_vs0_2010-12-06_17-36-07';
+                                      'C2G27_5_he-5_ve0_hs0_vs0_2010-12-06_17-36-18 ';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-36-29  ';
+                                      'C2G27_5_he5_ve0_hs0_vs0_2010-12-06_17-36-40  ';
+                                      'C2G27_5_he10_ve0_hs0_vs0_2010-12-06_17-36-51 ']);
+                fnMeasBkgr = cellstr(['C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-35-56';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-35-56';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-36-29';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-36-29';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-36-29']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G27_5_he0_ve-10_hs0_vs0_2010-12-06_17-37-16';
+                                      'C2G27_5_he0_ve-5_hs0_vs0_2010-12-06_17-37-27 ';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-37-39  ';
+                                      'C2G27_5_he0_ve5_hs0_vs0_2010-12-06_17-37-50  ';
+                                      'C2G27_5_he0_ve10_hs0_vs0_2010-12-06_17-38-01 ']);
+                fnMeasBkgr = cellstr(['C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-37-04';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-37-04';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-37-39';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-37-39';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-37-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G27_5_he0_ve0_hs-10_vs0_2010-12-06_17-38-25';
+                                      'C2G27_5_he0_ve0_hs-5_vs0_2010-12-06_17-38-37 ';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-38-48  ';
+                                      'C2G27_5_he0_ve0_hs5_vs0_2010-12-06_17-38-59  ';
+                                      'C2G27_5_he0_ve0_hs10_vs0_2010-12-06_17-39-10 ']);
+                fnMeasBkgr = cellstr(['C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-38-13';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-38-13';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-38-48';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-38-48';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-38-48']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G27_5_he0_ve0_hs0_vs-10_2010-12-06_17-39-34';
+                                      'C2G27_5_he0_ve0_hs0_vs-5_2010-12-06_17-39-46 ';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-39-57  ';
+                                      'C2G27_5_he0_ve0_hs0_vs5_2010-12-06_17-40-08  ';
+                                      'C2G27_5_he0_ve0_hs0_vs10_2010-12-06_17-40-19 ']);
+                fnMeasBkgr = cellstr(['C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-39-22';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-39-22';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-39-57';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-39-57';
+                                      'C2G27_5_he0_ve0_hs0_vs0_2010-12-06_17-39-57']);
+            end            
+        elseif (gap < 0.5*(30 + 35))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G30_he-10_ve0_hs0_vs0_2010-12-06_17-41-05';
+                                      'C2G30_he-5_ve0_hs0_vs0_2010-12-06_17-41-17 ';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-41-29  ';
+                                      'C2G30_he5_ve0_hs0_vs0_2010-12-06_17-41-41  ';
+                                      'C2G30_he10_ve0_hs0_vs0_2010-12-06_17-41-52 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2010-12-06_17-40-53';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-40-53';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-41-29';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-41-29';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-41-29']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G30_he0_ve-10_hs0_vs0_2010-12-06_17-42-16';
+                                      'C2G30_he0_ve-5_hs0_vs0_2010-12-06_17-42-27 ';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-42-39  ';
+                                      'C2G30_he0_ve5_hs0_vs0_2010-12-06_17-42-51  ';
+                                      'C2G30_he0_ve10_hs0_vs0_2010-12-06_17-43-02 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2010-12-06_17-42-04';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-42-04';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-42-39';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-42-39';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-42-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G30_he0_ve0_hs-10_vs0_2010-12-06_17-43-26';
+                                      'C2G30_he0_ve0_hs-5_vs0_2010-12-06_17-43-38 ';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-43-49  ';
+                                      'C2G30_he0_ve0_hs5_vs0_2010-12-06_17-44-00  ';
+                                      'C2G30_he0_ve0_hs10_vs0_2010-12-06_17-44-13 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2010-12-06_17-43-14';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-43-14';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-43-49';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-43-49';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-43-49']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G30_he0_ve0_hs0_vs-10_2010-12-06_17-44-37';
+                                      'C2G30_he0_ve0_hs0_vs-5_2010-12-06_17-44-48 ';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-44-59  ';
+                                      'C2G30_he0_ve0_hs0_vs5_2010-12-06_17-45-10  ';
+                                      'C2G30_he0_ve0_hs0_vs10_2010-12-06_17-45-21 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2010-12-06_17-44-25';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-44-25';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-44-59';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-44-59';
+                                      'C2G30_he0_ve0_hs0_vs0_2010-12-06_17-44-59']);
+            end
+        elseif (gap < 0.5*(35 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G35_he-10_ve0_hs0_vs0_2010-12-06_17-47-07';
+                                      'C2G35_he-5_ve0_hs0_vs0_2010-12-06_17-47-18 ';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-47-30  ';
+                                      'C2G35_he5_ve0_hs0_vs0_2010-12-06_17-47-42  ';
+                                      'C2G35_he10_ve0_hs0_vs0_2010-12-06_17-47-53 ']);
+                fnMeasBkgr = cellstr(['C2G35_he0_ve0_hs0_vs0_2010-12-06_17-46-55';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-46-55';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-47-30';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-47-30';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-47-30']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G35_he0_ve-10_hs0_vs0_2010-12-06_17-48-17';
+                                      'C2G35_he0_ve-5_hs0_vs0_2010-12-06_17-48-29 ';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-48-41  ';
+                                      'C2G35_he0_ve5_hs0_vs0_2010-12-06_17-48-53  ';
+                                      'C2G35_he0_ve10_hs0_vs0_2010-12-06_17-49-04 ']);
+                fnMeasBkgr = cellstr(['C2G35_he0_ve0_hs0_vs0_2010-12-06_17-48-05';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-48-05';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-48-41';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-48-41';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-48-41']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G35_he0_ve0_hs-10_vs0_2010-12-06_17-49-29';
+                                      'C2G35_he0_ve0_hs-5_vs0_2010-12-06_17-49-41 ';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-49-53  ';
+                                      'C2G35_he0_ve0_hs5_vs0_2010-12-06_17-50-05  ';
+                                      'C2G35_he0_ve0_hs10_vs0_2010-12-06_17-50-16 ']);
+                fnMeasBkgr = cellstr(['C2G35_he0_ve0_hs0_vs0_2010-12-06_17-49-17';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-49-17';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-49-53';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-49-53';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-49-53']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G35_he0_ve0_hs0_vs-10_2010-12-06_17-50-41';
+                                      'C2G35_he0_ve0_hs0_vs-5_2010-12-06_17-50-52 ';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-51-03  ';
+                                      'C2G35_he0_ve0_hs0_vs5_2010-12-06_17-51-15  ';
+                                      'C2G35_he0_ve0_hs0_vs10_2010-12-06_17-51-27 ']);
+                fnMeasBkgr = cellstr(['C2G35_he0_ve0_hs0_vs0_2010-12-06_17-50-29';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-50-29';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-51-03';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-51-03';
+                                      'C2G35_he0_ve0_hs0_vs0_2010-12-06_17-51-03']);
+            end
+        elseif (gap < 0.5*(40 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G40_he-10_ve0_hs0_vs0_2010-12-06_17-52-47';
+                                      'C2G40_he-5_ve0_hs0_vs0_2010-12-06_17-52-58 ';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-53-09  ';
+                                      'C2G40_he5_ve0_hs0_vs0_2010-12-06_17-53-20  ';
+                                      'C2G40_he10_ve0_hs0_vs0_2010-12-06_17-53-31 ']);
+                fnMeasBkgr = cellstr(['C2G40_he0_ve0_hs0_vs0_2010-12-06_17-52-34';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-52-34';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-53-09';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-53-09';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-53-09']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G40_he0_ve-10_hs0_vs0_2010-12-06_17-53-54';
+                                      'C2G40_he0_ve-5_hs0_vs0_2010-12-06_17-54-07 ';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-54-18  ';
+                                      'C2G40_he0_ve5_hs0_vs0_2010-12-06_17-54-29  ';
+                                      'C2G40_he0_ve10_hs0_vs0_2010-12-06_17-54-41 ']);
+                fnMeasBkgr = cellstr(['C2G40_he0_ve0_hs0_vs0_2010-12-06_17-53-43';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-53-43';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-54-18';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-54-18';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-54-18']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G40_he0_ve0_hs-10_vs0_2010-12-06_17-55-04';
+                                      'C2G40_he0_ve0_hs-5_vs0_2010-12-06_17-55-15 ';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-55-26  ';
+                                      'C2G40_he0_ve0_hs5_vs0_2010-12-06_17-55-38  ';
+                                      'C2G40_he0_ve0_hs10_vs0_2010-12-06_17-55-50 ']);
+                fnMeasBkgr = cellstr(['C2G40_he0_ve0_hs0_vs0_2010-12-06_17-54-53';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-54-53';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-55-26';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-55-26';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-55-26']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G40_he0_ve0_hs0_vs-10_2010-12-06_17-56-14';
+                                      'C2G40_he0_ve0_hs0_vs-5_2010-12-06_17-56-25 ';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-56-37  ';
+                                      'C2G40_he0_ve0_hs0_vs5_2010-12-06_17-56-48  ';
+                                      'C2G40_he0_ve0_hs0_vs10_2010-12-06_17-56-59 ']);
+                fnMeasBkgr = cellstr(['C2G40_he0_ve0_hs0_vs0_2010-12-06_17-56-02';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-56-02';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-56-37';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-56-37';
+                                      'C2G40_he0_ve0_hs0_vs0_2010-12-06_17-56-37']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G50_he-10_ve0_hs0_vs0_2010-12-06_17-57-52';
+                                      'C2G50_he-5_ve0_hs0_vs0_2010-12-06_17-58-03 ';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-58-14  ';
+                                      'C2G50_he5_ve0_hs0_vs0_2010-12-06_17-58-26  ';
+                                      'C2G50_he10_ve0_hs0_vs0_2010-12-06_17-58-37 ']);
+                fnMeasBkgr = cellstr(['C2G50_he0_ve0_hs0_vs0_2010-12-06_17-57-40';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-57-40';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-58-14';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-58-14';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-58-14']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G50_he0_ve-10_hs0_vs0_2010-12-06_17-59-02';
+                                      'C2G50_he0_ve-5_hs0_vs0_2010-12-06_17-59-13 ';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-59-25  ';
+                                      'C2G50_he0_ve5_hs0_vs0_2010-12-06_17-59-37  ';
+                                      'C2G50_he0_ve10_hs0_vs0_2010-12-06_17-59-48 ']);
+                fnMeasBkgr = cellstr(['C2G50_he0_ve0_hs0_vs0_2010-12-06_17-58-50';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-58-50';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-59-25';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-59-25';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_17-59-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G50_he0_ve0_hs-10_vs0_2010-12-06_18-00-12';
+                                      'C2G50_he0_ve0_hs-5_vs0_2010-12-06_18-00-24 ';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-00-35  ';
+                                      'C2G50_he0_ve0_hs5_vs0_2010-12-06_18-00-46  ';
+                                      'C2G50_he0_ve0_hs10_vs0_2010-12-06_18-00-57 ']);
+                fnMeasBkgr = cellstr(['C2G50_he0_ve0_hs0_vs0_2010-12-06_18-00-00';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-00-00';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-00-35';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-00-35';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-00-35']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G50_he0_ve0_hs0_vs-10_2010-12-06_18-01-21';
+                                      'C2G50_he0_ve0_hs0_vs-5_2010-12-06_18-01-33 ';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-01-44  ';
+                                      'C2G50_he0_ve0_hs0_vs5_2010-12-06_18-01-55  ';
+                                      'C2G50_he0_ve0_hs0_vs10_2010-12-06_18-02-07 ']);
+                fnMeasBkgr = cellstr(['C2G50_he0_ve0_hs0_vs0_2010-12-06_18-01-09';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-01-09';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-01-44';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-01-44';
+                                      'C2G50_he0_ve0_hs0_vs0_2010-12-06_18-01-44']);
+            end
+        elseif (gap < 0.5*(60 + 70))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G60_he-10_ve0_hs0_vs0_2010-12-06_18-02-39';
+                                      'C2G60_he-5_ve0_hs0_vs0_2010-12-06_18-02-50 ';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-03-02  ';
+                                      'C2G60_he5_ve0_hs0_vs0_2010-12-06_18-03-13  ';
+                                      'C2G60_he10_ve0_hs0_vs0_2010-12-06_18-03-24 ']);
+                fnMeasBkgr = cellstr(['C2G60_he0_ve0_hs0_vs0_2010-12-06_18-02-28';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-02-28';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-03-02';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-03-02';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-03-02']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G60_he0_ve-10_hs0_vs0_2010-12-06_18-03-48';
+                                      'C2G60_he0_ve-5_hs0_vs0_2010-12-06_18-03-59 ';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-04-10  ';
+                                      'C2G60_he0_ve5_hs0_vs0_2010-12-06_18-04-22  ';
+                                      'C2G60_he0_ve10_hs0_vs0_2010-12-06_18-04-33 ']);
+                fnMeasBkgr = cellstr(['C2G60_he0_ve0_hs0_vs0_2010-12-06_18-03-36';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-03-36';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-04-10';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-04-10';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-04-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G60_he0_ve0_hs-10_vs0_2010-12-06_18-04-57';
+                                      'C2G60_he0_ve0_hs-5_vs0_2010-12-06_18-05-10 ';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-05-21  ';
+                                      'C2G60_he0_ve0_hs5_vs0_2010-12-06_18-05-32  ';
+                                      'C2G60_he0_ve0_hs10_vs0_2010-12-06_18-05-43 ']);
+                fnMeasBkgr = cellstr(['C2G60_he0_ve0_hs0_vs0_2010-12-06_18-04-45';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-04-45';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-05-21';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-05-21';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-05-21']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G60_he0_ve0_hs0_vs-10_2010-12-06_18-06-07';
+                                      'C2G60_he0_ve0_hs0_vs-5_2010-12-06_18-06-18 ';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-06-31  ';
+                                      'C2G60_he0_ve0_hs0_vs5_2010-12-06_18-06-42  ';
+                                      'C2G60_he0_ve0_hs0_vs10_2010-12-06_18-06-53 ']);
+                fnMeasBkgr = cellstr(['C2G60_he0_ve0_hs0_vs0_2010-12-06_18-05-55';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-05-55';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-06-31';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-06-31';
+                                      'C2G60_he0_ve0_hs0_vs0_2010-12-06_18-06-31']);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G70_he-10_ve0_hs0_vs0_2010-12-06_18-07-30';
+                                      'C2G70_he-5_ve0_hs0_vs0_2010-12-06_18-07-41 ';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-07-52  ';
+                                      'C2G70_he5_ve0_hs0_vs0_2010-12-06_18-08-03  ';
+                                      'C2G70_he10_ve0_hs0_vs0_2010-12-06_18-08-14 ']);
+                fnMeasBkgr = cellstr(['C2G70_he0_ve0_hs0_vs0_2010-12-06_18-07-18';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-07-18';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-07-52';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-07-52';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-07-52']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G70_he0_ve-10_hs0_vs0_2010-12-06_18-08-39';
+                                      'C2G70_he0_ve-5_hs0_vs0_2010-12-06_18-08-51 ';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-09-03  ';
+                                      'C2G70_he0_ve5_hs0_vs0_2010-12-06_18-09-14  ';
+                                      'C2G70_he0_ve10_hs0_vs0_2010-12-06_18-09-25 ']);
+                fnMeasBkgr = cellstr(['C2G70_he0_ve0_hs0_vs0_2010-12-06_18-08-26';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-08-26';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-09-03';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-09-03';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-09-03']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G70_he0_ve0_hs-10_vs0_2010-12-06_18-09-50';
+                                      'C2G70_he0_ve0_hs-5_vs0_2010-12-06_18-10-01 ';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-10-13  ';
+                                      'C2G70_he0_ve0_hs5_vs0_2010-12-06_18-10-24  ';
+                                      'C2G70_he0_ve0_hs10_vs0_2010-12-06_18-10-36 ']);
+                fnMeasBkgr = cellstr(['C2G70_he0_ve0_hs0_vs0_2010-12-06_18-09-37';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-09-37';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-10-13';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-10-13';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-10-13']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G70_he0_ve0_hs0_vs-10_2010-12-06_18-11-00';
+                                      'C2G70_he0_ve0_hs0_vs-5_2010-12-06_18-11-12 ';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-11-23  ';
+                                      'C2G70_he0_ve0_hs0_vs5_2010-12-06_18-11-34  ';
+                                      'C2G70_he0_ve0_hs0_vs10_2010-12-06_18-11-45 ']);
+                fnMeasBkgr = cellstr(['C2G70_he0_ve0_hs0_vs0_2010-12-06_18-10-48';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-10-48';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-11-23';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-11-23';
+                                      'C2G70_he0_ve0_hs0_vs0_2010-12-06_18-11-23']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G80_he-10_ve0_hs0_vs0_2010-12-06_18-12-22';
+                                      'C2G80_he-5_ve0_hs0_vs0_2010-12-06_18-12-33 ';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-12-44  ';
+                                      'C2G80_he5_ve0_hs0_vs0_2010-12-06_18-12-56  ';
+                                      'C2G80_he10_ve0_hs0_vs0_2010-12-06_18-13-08 ']);
+                fnMeasBkgr = cellstr(['C2G80_he0_ve0_hs0_vs0_2010-12-06_18-12-10';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-12-10';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-12-44';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-12-44';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-12-44']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G80_he0_ve-10_hs0_vs0_2010-12-06_18-13-32';
+                                      'C2G80_he0_ve-5_hs0_vs0_2010-12-06_18-13-44 ';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-13-55  ';
+                                      'C2G80_he0_ve5_hs0_vs0_2010-12-06_18-14-07  ';
+                                      'C2G80_he0_ve10_hs0_vs0_2010-12-06_18-14-18 ']);
+                fnMeasBkgr = cellstr(['C2G80_he0_ve0_hs0_vs0_2010-12-06_18-13-21';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-13-21';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-13-55';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-13-55';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-13-55']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G80_he0_ve0_hs-10_vs0_2010-12-06_18-14-43';
+                                      'C2G80_he0_ve0_hs-5_vs0_2010-12-06_18-14-54 ';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-15-06  ';
+                                      'C2G80_he0_ve0_hs5_vs0_2010-12-06_18-15-18  ';
+                                      'C2G80_he0_ve0_hs10_vs0_2010-12-06_18-15-29 ']);
+                fnMeasBkgr = cellstr(['C2G80_he0_ve0_hs0_vs0_2010-12-06_18-14-30';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-14-30';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-15-06';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-15-06';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-15-06']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G80_he0_ve0_hs0_vs-10_2010-12-06_18-15-53';
+                                      'C2G80_he0_ve0_hs0_vs-5_2010-12-06_18-16-06 ';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-16-17  ';
+                                      'C2G80_he0_ve0_hs0_vs5_2010-12-06_18-16-28  ';
+                                      'C2G80_he0_ve0_hs0_vs10_2010-12-06_18-16-39 ']);
+                fnMeasBkgr = cellstr(['C2G80_he0_ve0_hs0_vs0_2010-12-06_18-15-41';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-15-41';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-16-17';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-16-17';
+                                      'C2G80_he0_ve0_hs0_vs0_2010-12-06_18-16-17']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G90_he-10_ve0_hs0_vs0_2010-12-06_18-17-12';
+                                      'C2G90_he-5_ve0_hs0_vs0_2010-12-06_18-17-23 ';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-17-34  ';
+                                      'C2G90_he5_ve0_hs0_vs0_2010-12-06_18-17-46  ';
+                                      'C2G90_he10_ve0_hs0_vs0_2010-12-06_18-17-57 ']);
+                fnMeasBkgr = cellstr(['C2G90_he0_ve0_hs0_vs0_2010-12-06_18-17-00';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-17-00';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-17-34';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-17-34';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-17-34']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G90_he0_ve-10_hs0_vs0_2010-12-06_18-18-21';
+                                      'C2G90_he0_ve-5_hs0_vs0_2010-12-06_18-18-32 ';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-18-43  ';
+                                      'C2G90_he0_ve5_hs0_vs0_2010-12-06_18-18-55  ';
+                                      'C2G90_he0_ve10_hs0_vs0_2010-12-06_18-19-06 ']);
+                fnMeasBkgr = cellstr(['C2G90_he0_ve0_hs0_vs0_2010-12-06_18-18-08';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-18-08';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-18-43';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-18-43';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-18-43']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G90_he0_ve0_hs-10_vs0_2010-12-06_18-19-30';
+                                      'C2G90_he0_ve0_hs-5_vs0_2010-12-06_18-19-42 ';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-19-54  ';
+                                      'C2G90_he0_ve0_hs5_vs0_2010-12-06_18-20-06  ';
+                                      'C2G90_he0_ve0_hs10_vs0_2010-12-06_18-20-18 ']);
+                fnMeasBkgr = cellstr(['C2G90_he0_ve0_hs0_vs0_2010-12-06_18-19-18';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-19-18';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-19-54';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-19-54';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-19-54']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G90_he0_ve0_hs0_vs-10_2010-12-06_18-20-42';
+                                      'C2G90_he0_ve0_hs0_vs-5_2010-12-06_18-20-54 ';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-21-05  ';
+                                      'C2G90_he0_ve0_hs0_vs5_2010-12-06_18-21-17  ';
+                                      'C2G90_he0_ve0_hs0_vs10_2010-12-06_18-21-29 ']);
+                fnMeasBkgr = cellstr(['C2G90_he0_ve0_hs0_vs0_2010-12-06_18-20-30';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-20-30';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-21-05';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-21-05';
+                                      'C2G90_he0_ve0_hs0_vs0_2010-12-06_18-21-05']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G100_he-10_ve0_hs0_vs0_2010-12-06_18-22-03';
+                                      'C2G100_he-5_ve0_hs0_vs0_2010-12-06_18-22-14 ';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-22-25  ';
+                                      'C2G100_he5_ve0_hs0_vs0_2010-12-06_18-22-36  ';
+                                      'C2G100_he10_ve0_hs0_vs0_2010-12-06_18-22-48 ']);
+                fnMeasBkgr = cellstr(['C2G100_he0_ve0_hs0_vs0_2010-12-06_18-21-51';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-21-51';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-22-25';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-22-25';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-22-25']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G100_he0_ve-10_hs0_vs0_2010-12-06_18-23-13';
+                                      'C2G100_he0_ve-5_hs0_vs0_2010-12-06_18-23-25 ';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-23-36  ';
+                                      'C2G100_he0_ve5_hs0_vs0_2010-12-06_18-23-47  ';
+                                      'C2G100_he0_ve10_hs0_vs0_2010-12-06_18-23-58 ']);
+                fnMeasBkgr = cellstr(['C2G100_he0_ve0_hs0_vs0_2010-12-06_18-23-01';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-23-01';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-23-36';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-23-36';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-23-36']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G100_he0_ve0_hs-10_vs0_2010-12-06_18-24-23';
+                                      'C2G100_he0_ve0_hs-5_vs0_2010-12-06_18-24-35 ';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-24-46  ';
+                                      'C2G100_he0_ve0_hs5_vs0_2010-12-06_18-24-57  ';
+                                      'C2G100_he0_ve0_hs10_vs0_2010-12-06_18-25-09 ']);
+                fnMeasBkgr = cellstr(['C2G100_he0_ve0_hs0_vs0_2010-12-06_18-24-10';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-24-10';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-24-46';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-24-46';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-24-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G100_he0_ve0_hs0_vs-10_2010-12-06_18-25-33';
+                                      'C2G100_he0_ve0_hs0_vs-5_2010-12-06_18-25-46 ';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-25-57  ';
+                                      'C2G100_he0_ve0_hs0_vs5_2010-12-06_18-26-09  ';
+                                      'C2G100_he0_ve0_hs0_vs10_2010-12-06_18-26-21 ']);
+                fnMeasBkgr = cellstr(['C2G100_he0_ve0_hs0_vs0_2010-12-06_18-25-21';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-25-21';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-25-57';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-25-57';
+                                      'C2G100_he0_ve0_hs0_vs0_2010-12-06_18-25-57']);
+            end
+        elseif (gap < 0.5*(110 + 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G110_he-10_ve0_hs0_vs0_2010-12-06_18-26-53';
+                                      'C2G110_he-5_ve0_hs0_vs0_2010-12-06_18-27-04 ';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-27-16  ';
+                                      'C2G110_he5_ve0_hs0_vs0_2010-12-06_18-27-28  ';
+                                      'C2G110_he10_ve0_hs0_vs0_2010-12-06_18-27-40 ']);
+                fnMeasBkgr = cellstr(['C2G110_he0_ve0_hs0_vs0_2010-12-06_18-26-40';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-26-40';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-27-16';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-27-16';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-27-16']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G110_he0_ve-10_hs0_vs0_2010-12-06_18-28-03';
+                                      'C2G110_he0_ve-5_hs0_vs0_2010-12-06_18-28-15 ';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-28-26  ';
+                                      'C2G110_he0_ve5_hs0_vs0_2010-12-06_18-28-38  ';
+                                      'C2G110_he0_ve10_hs0_vs0_2010-12-06_18-28-49 ']);
+                fnMeasBkgr = cellstr(['C2G110_he0_ve0_hs0_vs0_2010-12-06_18-27-51';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-27-51';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-28-26';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-28-26';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-28-26']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G110_he0_ve0_hs-10_vs0_2010-12-06_18-29-14';
+                                      'C2G110_he0_ve0_hs-5_vs0_2010-12-06_18-29-25 ';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-29-37  ';
+                                      'C2G110_he0_ve0_hs5_vs0_2010-12-06_18-29-49  ';
+                                      'C2G110_he0_ve0_hs10_vs0_2010-12-06_18-30-01 ']);
+                fnMeasBkgr = cellstr(['C2G110_he0_ve0_hs0_vs0_2010-12-06_18-29-01';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-29-01';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-29-37';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-29-37';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-29-37']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G110_he0_ve0_hs0_vs-10_2010-12-06_18-30-25';
+                                      'C2G110_he0_ve0_hs0_vs-5_2010-12-06_18-30-37 ';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-30-49  ';
+                                      'C2G110_he0_ve0_hs0_vs5_2010-12-06_18-31-00  ';
+                                      'C2G110_he0_ve0_hs0_vs10_2010-12-06_18-31-11 ']);
+                fnMeasBkgr = cellstr(['C2G110_he0_ve0_hs0_vs0_2010-12-06_18-30-13';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-30-13';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-30-49';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-30-49';
+                                      'C2G110_he0_ve0_hs0_vs0_2010-12-06_18-30-49']);
+            end
+        elseif (gap < 0.5*(130 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G130_he-10_ve0_hs0_vs0_2010-12-06_18-31-46';
+                                      'C2G130_he-5_ve0_hs0_vs0_2010-12-06_18-31-58 ';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-32-10  ';
+                                      'C2G130_he5_ve0_hs0_vs0_2010-12-06_18-32-21  ';
+                                      'C2G130_he10_ve0_hs0_vs0_2010-12-06_18-32-32 ']);
+                fnMeasBkgr = cellstr(['C2G130_he0_ve0_hs0_vs0_2010-12-06_18-31-34';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-31-34';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-32-10';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-32-10';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-32-10']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G130_he0_ve-10_hs0_vs0_2010-12-06_18-32-55';
+                                      'C2G130_he0_ve-5_hs0_vs0_2010-12-06_18-33-08 ';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-33-19  ';
+                                      'C2G130_he0_ve5_hs0_vs0_2010-12-06_18-33-30  ';
+                                      'C2G130_he0_ve10_hs0_vs0_2010-12-06_18-33-42 ']);
+                fnMeasBkgr = cellstr(['C2G130_he0_ve0_hs0_vs0_2010-12-06_18-32-43';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-32-43';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-33-19';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-33-19';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-33-19']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G130_he0_ve0_hs-10_vs0_2010-12-06_18-34-06';
+                                      'C2G130_he0_ve0_hs-5_vs0_2010-12-06_18-34-17 ';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-34-29  ';
+                                      'C2G130_he0_ve0_hs5_vs0_2010-12-06_18-34-40  ';
+                                      'C2G130_he0_ve0_hs10_vs0_2010-12-06_18-34-52 ']);
+                fnMeasBkgr = cellstr(['C2G130_he0_ve0_hs0_vs0_2010-12-06_18-33-54';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-33-54';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-34-29';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-34-29';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-34-29']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G130_he0_ve0_hs0_vs-10_2010-12-06_18-35-16';
+                                      'C2G130_he0_ve0_hs0_vs-5_2010-12-06_18-35-27 ';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-35-38  ';
+                                      'C2G130_he0_ve0_hs0_vs5_2010-12-06_18-35-49  ';
+                                      'C2G130_he0_ve0_hs0_vs10_2010-12-06_18-36-02 ']);
+                fnMeasBkgr = cellstr(['C2G130_he0_ve0_hs0_vs0_2010-12-06_18-35-04';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-35-04';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-35-38';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-35-38';
+                                      'C2G130_he0_ve0_hs0_vs0_2010-12-06_18-35-38']);
+            end
+        elseif (gap < 0.5*(150 + 175))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G150_he-10_ve0_hs0_vs0_2010-12-06_18-36-36';
+                                      'C2G150_he-5_ve0_hs0_vs0_2010-12-06_18-36-48 ';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-36-59  ';
+                                      'C2G150_he5_ve0_hs0_vs0_2010-12-06_18-37-10  ';
+                                      'C2G150_he10_ve0_hs0_vs0_2010-12-06_18-37-22 ']);
+                fnMeasBkgr = cellstr(['C2G150_he0_ve0_hs0_vs0_2010-12-06_18-36-24';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-36-24';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-36-59';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-36-59';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-36-59']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G150_he0_ve-10_hs0_vs0_2010-12-06_18-37-47';
+                                      'C2G150_he0_ve-5_hs0_vs0_2010-12-06_18-37-59 ';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-38-10  ';
+                                      'C2G150_he0_ve5_hs0_vs0_2010-12-06_18-38-21  ';
+                                      'C2G150_he0_ve10_hs0_vs0_2010-12-06_18-38-32 ']);
+                fnMeasBkgr = cellstr(['C2G150_he0_ve0_hs0_vs0_2010-12-06_18-37-34';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-37-34';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-38-10';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-38-10';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-38-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G150_he0_ve0_hs-10_vs0_2010-12-06_18-38-56';
+                                      'C2G150_he0_ve0_hs-5_vs0_2010-12-06_18-39-07 ';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-39-19  ';
+                                      'C2G150_he0_ve0_hs5_vs0_2010-12-06_18-39-30  ';
+                                      'C2G150_he0_ve0_hs10_vs0_2010-12-06_18-39-41 ']);
+                fnMeasBkgr = cellstr(['C2G150_he0_ve0_hs0_vs0_2010-12-06_18-38-44';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-38-44';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-39-19';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-39-19';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-39-19']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G150_he0_ve0_hs0_vs-10_2010-12-06_18-40-05';
+                                      'C2G150_he0_ve0_hs0_vs-5_2010-12-06_18-40-16 ';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-40-28  ';
+                                      'C2G150_he0_ve0_hs0_vs5_2010-12-06_18-40-39  ';
+                                      'C2G150_he0_ve0_hs0_vs10_2010-12-06_18-40-51 ']);
+                fnMeasBkgr = cellstr(['C2G150_he0_ve0_hs0_vs0_2010-12-06_18-39-53';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-39-53';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-40-28';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-40-28';
+                                      'C2G150_he0_ve0_hs0_vs0_2010-12-06_18-40-28']);
+            end
+        elseif (gap < 0.5*(175 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G175_he-10_ve0_hs0_vs0_2010-12-06_18-41-34';
+                                      'C2G175_he-5_ve0_hs0_vs0_2010-12-06_18-41-45 ';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-41-57  ';
+                                      'C2G175_he5_ve0_hs0_vs0_2010-12-06_18-42-09  ';
+                                      'C2G175_he10_ve0_hs0_vs0_2010-12-06_18-42-22 ']);
+                fnMeasBkgr = cellstr(['C2G175_he0_ve0_hs0_vs0_2010-12-06_18-41-22';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-41-22';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-41-57';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-41-57';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-41-57']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G175_he0_ve-10_hs0_vs0_2010-12-06_18-42-45';
+                                      'C2G175_he0_ve-5_hs0_vs0_2010-12-06_18-42-57 ';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-43-09  ';
+                                      'C2G175_he0_ve5_hs0_vs0_2010-12-06_18-43-20  ';
+                                      'C2G175_he0_ve10_hs0_vs0_2010-12-06_18-43-31 ']);
+                fnMeasBkgr = cellstr(['C2G175_he0_ve0_hs0_vs0_2010-12-06_18-42-33';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-42-33';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-43-09';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-43-09';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-43-09']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G175_he0_ve0_hs-10_vs0_2010-12-06_18-43-56';
+                                      'C2G175_he0_ve0_hs-5_vs0_2010-12-06_18-44-08 ';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-44-19  ';
+                                      'C2G175_he0_ve0_hs5_vs0_2010-12-06_18-44-30  ';
+                                      'C2G175_he0_ve0_hs10_vs0_2010-12-06_18-44-41 ']);
+                fnMeasBkgr = cellstr(['C2G175_he0_ve0_hs0_vs0_2010-12-06_18-43-43';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-43-43';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-44-19';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-44-19';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-44-19']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G175_he0_ve0_hs0_vs-10_2010-12-06_18-45-05';
+                                      'C2G175_he0_ve0_hs0_vs-5_2010-12-06_18-45-16 ';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-45-28  ';
+                                      'C2G175_he0_ve0_hs0_vs5_2010-12-06_18-45-39  ';
+                                      'C2G175_he0_ve0_hs0_vs10_2010-12-06_18-45-50 ']);
+                fnMeasBkgr = cellstr(['C2G175_he0_ve0_hs0_vs0_2010-12-06_18-44-53';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-44-53';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-45-28';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-45-28';
+                                      'C2G175_he0_ve0_hs0_vs0_2010-12-06_18-45-28']);
+            end
+        %elseif (gap < 0.5*(200 + 240))
+        elseif (gap >= 187.5)
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G200_he-10_ve0_hs0_vs0_2010-12-06_18-46-45';
+                                      'C2G200_he-5_ve0_hs0_vs0_2010-12-06_18-46-56 ';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-47-07  ';
+                                      'C2G200_he5_ve0_hs0_vs0_2010-12-06_18-47-18  ';
+                                      'C2G200_he10_ve0_hs0_vs0_2010-12-06_18-47-30 ']);
+                fnMeasBkgr = cellstr(['C2G200_he0_ve0_hs0_vs0_2010-12-06_18-46-33';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-46-33';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-47-07';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-47-07';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-47-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G200_he0_ve-10_hs0_vs0_2010-12-06_18-47-53';
+                                      'C2G200_he0_ve-5_hs0_vs0_2010-12-06_18-48-05 ';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-48-16  ';
+                                      'C2G200_he0_ve5_hs0_vs0_2010-12-06_18-48-27  ';
+                                      'C2G200_he0_ve10_hs0_vs0_2010-12-06_18-48-39 ']);
+                fnMeasBkgr = cellstr(['C2G200_he0_ve0_hs0_vs0_2010-12-06_18-47-41';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-47-41';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-48-16';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-48-16';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-48-16']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G200_he0_ve0_hs-10_vs0_2010-12-06_18-49-03';
+                                      'C2G200_he0_ve0_hs-5_vs0_2010-12-06_18-49-14 ';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-49-26  ';
+                                      'C2G200_he0_ve0_hs5_vs0_2010-12-06_18-49-37  ';
+                                      'C2G200_he0_ve0_hs10_vs0_2010-12-06_18-49-49 ']);
+                fnMeasBkgr = cellstr(['C2G200_he0_ve0_hs0_vs0_2010-12-06_18-48-51';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-48-51';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-49-26';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-49-26';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-49-26']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G200_he0_ve0_hs0_vs-10_2010-12-06_18-50-13';
+                                      'C2G200_he0_ve0_hs0_vs-5_2010-12-06_18-50-26 ';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-50-37  ';
+                                      'C2G200_he0_ve0_hs0_vs5_2010-12-06_18-50-49  ';
+                                      'C2G200_he0_ve0_hs0_vs10_2010-12-06_18-51-00 ']);
+                fnMeasBkgr = cellstr(['C2G200_he0_ve0_hs0_vs0_2010-12-06_18-50-01';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-50-01';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-50-37';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-50-37';
+                                      'C2G200_he0_ve0_hs0_vs0_2010-12-06_18-50-37']);
+            end
+        end
+%% HU80 TEMPO        
+    elseif strcmp(idName, 'HU80_TEMPO')
+        vCurVals = [-10, -5, 0, 5, 10];
+        %if (gap == 15.5)
+        if (gap < 0.5*(15.5 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G15_5_he-10_ve0_hs0_vs0_2006-10-01_13-23-59'; 
+                                      'C2G15_5_he-5_ve0_hs0_vs0_2006-10-01_13-25-02 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he5_ve0_hs0_vs0_2006-10-01_13-27-04  '; 
+                                      'C2G15_5_he10_ve0_hs0_vs0_2006-10-01_13-28-07 ']);                                  
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-22-52  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-22-52  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  ']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve-10_hs0_vs0_2006-10-01_13-30-20'; 
+                                      'C2G15_5_he0_ve-5_hs0_vs0_2006-10-01_13-31-23 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25  '; 
+                                      'C2G15_5_he0_ve5_hs0_vs0_2006-10-01_13-33-29  '; 
+                                      'C2G15_5_he0_ve10_hs0_vs0_2006-10-01_13-34-31 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs-10_vs0_2006-10-01_13-36-42'; 
+                                      'C2G15_5_he0_ve0_hs-5_vs0_2006-10-01_13-37-37 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33  '; 
+                                      'C2G15_5_he0_ve0_hs5_vs0_2006-10-01_13-39-27  '; 
+                                      'C2G15_5_he0_ve0_hs10_vs0_2006-10-01_13-40-23 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs0_vs-10_2006-10-01_13-42-36'; 
+                                      'C2G15_5_he0_ve0_hs0_vs-5_2006-10-01_13-43-30 '; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs5_2006-10-01_13-45-23  '; 
+                                      'C2G15_5_he0_ve0_hs0_vs10_2006-10-01_13-46-18 ']);
+                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
+                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25']);
+            end
+        %elseif (gap == 20)
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G20_he-10_ve0_hs0_vs0_2006-10-01_13-58-32'; 
+                                      'C2G20_he-5_ve0_hs0_vs0_2006-10-01_13-59-36 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40  '; 
+                                      'C2G20_he5_ve0_hs0_vs0_2006-10-01_14-01-42  '; 
+                                      'C2G20_he10_ve0_hs0_vs0_2006-10-01_14-02-45 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G20_he0_ve-10_hs0_vs0_2006-10-01_14-04-58'; 
+                                      'C2G20_he0_ve-5_hs0_vs0_2006-10-01_14-06-01 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02  '; 
+                                      'C2G20_he0_ve5_hs0_vs0_2006-10-01_14-08-06  '; 
+                                      'C2G20_he0_ve10_hs0_vs0_2006-10-01_14-09-11 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G20_he0_ve0_hs-10_vs0_2006-10-01_14-11-25'; 
+                                      'C2G20_he0_ve0_hs-5_vs0_2006-10-01_14-12-18 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12  '; 
+                                      'C2G20_he0_ve0_hs5_vs0_2006-10-01_14-14-10  '; 
+                                      'C2G20_he0_ve0_hs10_vs0_2006-10-01_14-15-03 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G20_he0_ve0_hs0_vs-10_2006-10-01_14-17-13'; 
+                                      'C2G20_he0_ve0_hs0_vs-5_2006-10-01_14-18-06 '; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00  '; 
+                                      'C2G20_he0_ve0_hs0_vs5_2006-10-01_14-19-55  '; 
+                                      'C2G20_he0_ve0_hs0_vs10_2006-10-01_14-20-50 ']);
+                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
+                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00']);
+            end
+        %elseif (gap == 25)
+        elseif (gap < 0.5*(25 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G25_he-10_ve0_hs0_vs0_2006-10-01_14-24-13'; 
+                                      'C2G25_he-5_ve0_hs0_vs0_2006-10-01_14-25-16 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19  '; 
+                                      'C2G25_he5_ve0_hs0_vs0_2006-10-01_14-27-21  '; 
+                                      'C2G25_he10_ve0_hs0_vs0_2006-10-01_14-28-22 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G25_he0_ve-10_hs0_vs0_2006-10-01_14-30-36'; 
+                                      'C2G25_he0_ve-5_hs0_vs0_2006-10-01_14-31-39 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42  '; 
+                                      'C2G25_he0_ve5_hs0_vs0_2006-10-01_14-33-45  '; 
+                                      'C2G25_he0_ve10_hs0_vs0_2006-10-01_14-34-47 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G25_he0_ve0_hs-10_vs0_2006-10-01_14-36-56'; 
+                                      'C2G25_he0_ve0_hs-5_vs0_2006-10-01_14-37-52 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46  '; 
+                                      'C2G25_he0_ve0_hs5_vs0_2006-10-01_14-39-43  '; 
+                                      'C2G25_he0_ve0_hs10_vs0_2006-10-01_14-40-39 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G25_he0_ve0_hs0_vs-10_2006-10-01_14-42-52'; 
+                                      'C2G25_he0_ve0_hs0_vs-5_2006-10-01_14-43-47 '; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41  '; 
+                                      'C2G25_he0_ve0_hs0_vs5_2006-10-01_14-45-33  '; 
+                                      'C2G25_he0_ve0_hs0_vs10_2006-10-01_14-46-27 ']);
+                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
+                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41']);
+            end
+        %elseif (gap == 30)
+        elseif (gap < 0.5*(30 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C2G30_he-10_ve0_hs0_vs0_2006-10-01_14-49-26'; 
+                                      'C2G30_he-5_ve0_hs0_vs0_2006-10-01_14-50-29 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32  '; 
+                                      'C2G30_he5_ve0_hs0_vs0_2006-10-01_14-52-36  '; 
+                                      'C2G30_he10_ve0_hs0_vs0_2006-10-01_14-53-40 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C2G30_he0_ve-10_hs0_vs0_2006-10-01_14-55-58'; 
+                                      'C2G30_he0_ve-5_hs0_vs0_2006-10-01_14-57-02 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04  '; 
+                                      'C2G30_he0_ve5_hs0_vs0_2006-10-01_14-59-08  '; 
+                                      'C2G30_he0_ve10_hs0_vs0_2006-10-01_15-00-11 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-01-17']); %'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C2G30_he0_ve0_hs-10_vs0_2006-10-01_15-02-20'; 
+                                      'C2G30_he0_ve0_hs-5_vs0_2006-10-01_15-03-13 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09  '; 
+                                      'C2G30_he0_ve0_hs5_vs0_2006-10-01_15-05-07  '; 
+                                      'C2G30_he0_ve0_hs10_vs0_2006-10-01_15-06-02 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C2G30_he0_ve0_hs0_vs-10_2006-10-01_15-08-12'; 
+                                      'C2G30_he0_ve0_hs0_vs-5_2006-10-01_15-09-08 '; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02  '; 
+                                      'C2G30_he0_ve0_hs0_vs5_2006-10-01_15-10-55  '; 
+                                      'C2G30_he0_ve0_hs0_vs10_2006-10-01_15-11-48 ']);
+                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
+                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02']);
+            end
+        %elseif (gap == 40)
+        elseif (gap < 0.5*(40 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G40_he-10_ve0_hs0_vs0_2006-10-06_07-54-22'; 
+                                      'C3G40_he-5_ve0_hs0_vs0_2006-10-06_07-55-51 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24  ';
+                                      'C3G40_he5_ve0_hs0_vs0_2006-10-06_07-58-26  ';
+                                      'C3G40_he10_ve0_hs0_vs0_2006-10-06_07-59-30 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_07-52-40'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-52-40'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24']);
+            elseif strcmp(corName, 'CVE')
+                                fnMeasMain = cellstr(['C3G40_he0_ve-10_hs0_vs0_2006-10-06_08-01-47';
+                                      'C3G40_he0_ve-5_hs0_vs0_2006-10-06_08-02-49 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54  ';
+                                      'C3G40_he0_ve5_hs0_vs0_2006-10-06_08-04-57  ';
+                                      'C3G40_he0_ve10_hs0_vs0_2006-10-06_08-05-58 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-00-37'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-00-37'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G40_he0_ve0_hs-10_vs0_2006-10-06_08-08-07';
+                                      'C3G40_he0_ve0_hs-5_vs0_2006-10-06_08-09-02 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58  ';
+                                      'C3G40_he0_ve0_hs5_vs0_2006-10-06_08-10-57  ';
+                                      'C3G40_he0_ve0_hs10_vs0_2006-10-06_08-11-51 ']);
+                 fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-07-03'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-07-03'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58'; 
+                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G40_he0_ve0_hs0_vs-10_2006-10-06_08-14-08';
+                                      'C3G40_he0_ve0_hs0_vs-5_2006-10-06_08-15-02 ';
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00  ';
+                                      'C3G40_he0_ve0_hs0_vs5_2006-10-06_08-16-58  ';
+                                      'C3G40_he0_ve0_hs0_vs10_2006-10-06_08-17-52 ']);
+                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-12-59'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-12-59'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00'; 
+                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00']);
+            end
+        %elseif (gap == 50)
+        elseif (gap < 0.5*(50 + 60))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G50_he-10_ve0_hs0_vs0_2006-10-06_08-24-59';
+                                      'C3G50_he-5_ve0_hs0_vs0_2006-10-06_08-25-29 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58  ';
+                                      'C3G50_he5_ve0_hs0_vs0_2006-10-06_08-26-28  ';
+                                      'C3G50_he10_ve0_hs0_vs0_2006-10-06_08-26-59 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-24-24'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-24-24'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G50_he0_ve-10_hs0_vs0_2006-10-06_08-28-09';
+                                      'C3G50_he0_ve-5_hs0_vs0_2006-10-06_08-28-39 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08  ';
+                                      'C3G50_he0_ve5_hs0_vs0_2006-10-06_08-29-38  ';
+                                      'C3G50_he0_ve10_hs0_vs0_2006-10-06_08-30-09 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-27-33'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-27-33'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G50_he0_ve0_hs-10_vs0_2006-10-06_08-31-16';
+                                      'C3G50_he0_ve0_hs-5_vs0_2006-10-06_08-31-37 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59  ';
+                                      'C3G50_he0_ve0_hs5_vs0_2006-10-06_08-32-24  ';
+                                      'C3G50_he0_ve0_hs10_vs0_2006-10-06_08-32-45 ']);
+                 fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-30-45'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-30-45'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59'; 
+                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G50_he0_ve0_hs0_vs-10_2006-10-06_08-33-53';
+                                      'C3G50_he0_ve0_hs0_vs-5_2006-10-06_08-34-14 ';
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35  ';
+                                      'C3G50_he0_ve0_hs0_vs5_2006-10-06_08-35-00  ';
+                                      'C3G50_he0_ve0_hs0_vs10_2006-10-06_08-35-22 ']);
+                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-33-19'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-33-19'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35'; 
+                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35']);
+            end
+        %elseif (gap == 60)
+        elseif (gap < 0.5*(60 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G60_he-10_ve0_hs0_vs0_2006-10-06_08-38-12';
+                                      'C3G60_he-5_ve0_hs0_vs0_2006-10-06_08-38-42 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12  ';
+                                      'C3G60_he5_ve0_hs0_vs0_2006-10-06_08-39-43  ';
+                                      'C3G60_he10_ve0_hs0_vs0_2006-10-06_08-40-13 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-37-38'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-37-38'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G60_he0_ve-10_hs0_vs0_2006-10-06_08-41-23';
+                                      'C3G60_he0_ve-5_hs0_vs0_2006-10-06_08-41-53 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21  ';
+                                      'C3G60_he0_ve5_hs0_vs0_2006-10-06_08-42-51  ';
+                                      'C3G60_he0_ve10_hs0_vs0_2006-10-06_08-43-21 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-40-48'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-40-48'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G60_he0_ve0_hs-10_vs0_2006-10-06_08-44-26';
+                                      'C3G60_he0_ve0_hs-5_vs0_2006-10-06_08-44-47 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08  ';
+                                      'C3G60_he0_ve0_hs5_vs0_2006-10-06_08-45-36  ';
+                                      'C3G60_he0_ve0_hs10_vs0_2006-10-06_08-45-57 ']);
+                 fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-43-57'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-43-57'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08'; 
+                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G60_he0_ve0_hs0_vs-10_2006-10-06_08-47-00';
+                                      'C3G60_he0_ve0_hs0_vs-5_2006-10-06_08-47-22 ';
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42  ';
+                                      'C3G60_he0_ve0_hs0_vs5_2006-10-06_08-48-08  ';
+                                      'C3G60_he0_ve0_hs0_vs10_2006-10-06_08-48-30 ']);
+                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-46-26'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-46-26'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42'; 
+                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42']);
+            end
+        %elseif (gap == 80)
+        elseif (gap < 0.5*(80 + 110))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G80_he-10_ve0_hs0_vs0_2006-10-06_09-07-47';
+                                      'C3G80_he-5_ve0_hs0_vs0_2006-10-06_09-08-17 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47  ';
+                                      'C3G80_he5_ve0_hs0_vs0_2006-10-06_09-09-17  ';
+                                      'C3G80_he10_ve0_hs0_vs0_2006-10-06_09-09-47 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-07-09'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-07-09'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G80_he0_ve-10_hs0_vs0_2006-10-06_09-10-55';
+                                      'C3G80_he0_ve-5_hs0_vs0_2006-10-06_09-11-25 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56  ';
+                                      'C3G80_he0_ve5_hs0_vs0_2006-10-06_09-12-26  ';
+                                      'C3G80_he0_ve10_hs0_vs0_2006-10-06_09-12-56 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-10-22'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-10-22'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G80_he0_ve0_hs-10_vs0_2006-10-06_09-14-03';
+                                      'C3G80_he0_ve0_hs-5_vs0_2006-10-06_09-14-24 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45  ';
+                                      'C3G80_he0_ve0_hs5_vs0_2006-10-06_09-15-09  ';
+                                      'C3G80_he0_ve0_hs10_vs0_2006-10-06_09-15-32 ']);
+                 fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-13-32'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-13-32'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45'; 
+                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G80_he0_ve0_hs0_vs-10_2006-10-06_09-16-42';
+                                      'C3G80_he0_ve0_hs0_vs-5_2006-10-06_09-17-04 ';
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24  ';
+                                      'C3G80_he0_ve0_hs0_vs5_2006-10-06_09-17-48  ';
+                                      'C3G80_he0_ve0_hs0_vs10_2006-10-06_09-18-10 ']);
+                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-16-08'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-16-08'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24'; 
+                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24']);
+            end
+        %elseif (gap == 110)
+        elseif (gap >= 0.5*(80 + 110))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C3G110_he-10_ve0_hs0_vs0_2006-10-06_09-42-19';
+                                      'C3G110_he-5_ve0_hs0_vs0_2006-10-06_09-42-50 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18  ';
+                                      'C3G110_he5_ve0_hs0_vs0_2006-10-06_09-43-46  ';
+                                      'C3G110_he10_ve0_hs0_vs0_2006-10-06_09-44-16 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-41-45'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-41-45'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C3G110_he0_ve-10_hs0_vs0_2006-10-06_09-45-26';
+                                      'C3G110_he0_ve-5_hs0_vs0_2006-10-06_09-45-57 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26  ';
+                                      'C3G110_he0_ve5_hs0_vs0_2006-10-06_09-46-57  ';
+                                      'C3G110_he0_ve10_hs0_vs0_2006-10-06_09-47-26 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-44-52'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-44-52'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C3G110_he0_ve0_hs-10_vs0_2006-10-06_09-48-34';
+                                      'C3G110_he0_ve0_hs-5_vs0_2006-10-06_09-48-55 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17  ';
+                                      'C3G110_he0_ve0_hs5_vs0_2006-10-06_09-49-42  ';
+                                      'C3G110_he0_ve0_hs10_vs0_2006-10-06_09-50-04 ']);
+                 fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-48-02'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-48-02'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17'; 
+                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C3G110_he0_ve0_hs0_vs-10_2006-10-06_09-51-12';
+                                      'C3G110_he0_ve0_hs0_vs-5_2006-10-06_09-51-33 ';
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55  ';
+                                      'C3G110_he0_ve0_hs0_vs5_2006-10-06_09-52-19  ';
+                                      'C3G110_he0_ve0_hs0_vs10_2006-10-06_09-52-41 ']);
+                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-50-37'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-50-37'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55'; 
+                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55']);
+            end
+        end
+        
+%% HU80 SEXTANTS
+    elseif strcmp(idName,'HU80_SEXTANTS')
+        vCurVals = [-10, -5, 0, 5, 10];
+        %if (gap == 15.5)
+        if (gap < 0.5*(15.5 + 16))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G15_5_he-10_ve0_hs0_vs0_2011-03-05_17-08-04';
+                                      'CorrEff_G15_5_he-5_ve0_hs0_vs0_2011-03-05_17-08-20 ';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-08-36  ';
+                                      'CorrEff_G15_5_he5_ve0_hs0_vs0_2011-03-05_17-08-52  ';
+                                      'CorrEff_G15_5_he10_ve0_hs0_vs0_2011-03-05_17-09-09 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-07-48';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-07-48';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-08-36';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-08-36';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-08-36']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G15_5_he0_ve-10_hs0_vs0_2011-03-05_17-09-41';
+                                      'CorrEff_G15_5_he0_ve-5_hs0_vs0_2011-03-05_17-09-57 ';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-10-13  ';
+                                      'CorrEff_G15_5_he0_ve5_hs0_vs0_2011-03-05_17-10-29  ';
+                                      'CorrEff_G15_5_he0_ve10_hs0_vs0_2011-03-05_17-10-45 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-09-25';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-09-25';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-10-13';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-10-13';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-10-13']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G15_5_he0_ve0_hs-10_vs0_2011-03-05_17-11-18';
+                                      'CorrEff_G15_5_he0_ve0_hs-5_vs0_2011-03-05_17-11-34 ';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-11-50  ';
+                                      'CorrEff_G15_5_he0_ve0_hs5_vs0_2011-03-05_17-12-06  ';
+                                      'CorrEff_G15_5_he0_ve0_hs10_vs0_2011-03-05_17-12-22 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-11-01';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-11-01';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-11-50';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-11-50';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-11-50']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G15_5_he0_ve0_hs0_vs-10_2011-03-05_17-12-55';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs-5_2011-03-05_17-13-11 ';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-13-27  ';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs5_2011-03-05_17-13-43  ';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs10_2011-03-05_17-13-59 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-12-39';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-12-39';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-13-27';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-13-27';
+                                      'CorrEff_G15_5_he0_ve0_hs0_vs0_2011-03-05_17-13-27']);
+            end
+        elseif (gap < 0.5*(16 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G18_he-10_ve0_hs0_vs0_2011-03-05_17-16-58';
+                                      'CorrEff_G18_he-5_ve0_hs0_vs0_2011-03-05_17-17-14 ';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-17-30  ';
+                                      'CorrEff_G18_he5_ve0_hs0_vs0_2011-03-05_17-17-46  ';
+                                      'CorrEff_G18_he10_ve0_hs0_vs0_2011-03-05_17-18-02 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-16-42';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-16-42';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-17-30';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-17-30';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-17-30']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G18_he0_ve-10_hs0_vs0_2011-03-05_17-18-35';
+                                      'CorrEff_G18_he0_ve-5_hs0_vs0_2011-03-05_17-18-51 ';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-19-07  ';
+                                      'CorrEff_G18_he0_ve5_hs0_vs0_2011-03-05_17-19-23  ';
+                                      'CorrEff_G18_he0_ve10_hs0_vs0_2011-03-05_17-19-39 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-18-18';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-18-18';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-19-07';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-19-07';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-19-07']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G18_he0_ve0_hs-10_vs0_2011-03-05_17-20-11';
+                                      'CorrEff_G18_he0_ve0_hs-5_vs0_2011-03-05_17-20-27 ';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-20-44  ';
+                                      'CorrEff_G18_he0_ve0_hs5_vs0_2011-03-05_17-21-00  ';
+                                      'CorrEff_G18_he0_ve0_hs10_vs0_2011-03-05_17-21-16 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-19-55';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-19-55';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-20-44';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-20-44';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-20-44']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G18_he0_ve0_hs0_vs-10_2011-03-05_17-21-48';
+                                      'CorrEff_G18_he0_ve0_hs0_vs-5_2011-03-05_17-22-04 ';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-22-20  ';
+                                      'CorrEff_G18_he0_ve0_hs0_vs5_2011-03-05_17-22-37  ';
+                                      'CorrEff_G18_he0_ve0_hs0_vs10_2011-03-05_17-22-53 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-21-32';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-21-32';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-22-20';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-22-20';
+                                      'CorrEff_G18_he0_ve0_hs0_vs0_2011-03-05_17-22-20']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+           if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G20_he-10_ve0_hs0_vs0_2011-03-05_17-26-28';
+                                      'CorrEff_G20_he-5_ve0_hs0_vs0_2011-03-05_17-26-45 ';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-27-01  ';
+                                      'CorrEff_G20_he5_ve0_hs0_vs0_2011-03-05_17-27-17  ';
+                                      'CorrEff_G20_he10_ve0_hs0_vs0_2011-03-05_17-27-33 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-26-12';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-26-12';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-27-01';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-27-01';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-27-01']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G20_he0_ve-10_hs0_vs0_2011-03-05_17-28-05';
+                                      'CorrEff_G20_he0_ve-5_hs0_vs0_2011-03-05_17-28-21 ';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-28-37  ';
+                                      'CorrEff_G20_he0_ve5_hs0_vs0_2011-03-05_17-28-54  ';
+                                      'CorrEff_G20_he0_ve10_hs0_vs0_2011-03-05_17-29-10 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-27-49';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-27-49';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-28-37';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-28-37';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-28-37']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G20_he0_ve0_hs-10_vs0_2011-03-05_17-29-42';
+                                      'CorrEff_G20_he0_ve0_hs-5_vs0_2011-03-05_17-29-58 ';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-30-14  ';
+                                      'CorrEff_G20_he0_ve0_hs5_vs0_2011-03-05_17-30-30  ';
+                                      'CorrEff_G20_he0_ve0_hs10_vs0_2011-03-05_17-30-47 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-29-26';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-29-26';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-30-14';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-30-14';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-30-14']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G20_he0_ve0_hs0_vs-10_2011-03-05_17-31-19';
+                                      'CorrEff_G20_he0_ve0_hs0_vs-5_2011-03-05_17-31-35 ';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-31-51  ';
+                                      'CorrEff_G20_he0_ve0_hs0_vs5_2011-03-05_17-32-07  ';
+                                      'CorrEff_G20_he0_ve0_hs0_vs10_2011-03-05_17-32-23 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-31-03';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-31-03';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-31-51';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-31-51';
+                                      'CorrEff_G20_he0_ve0_hs0_vs0_2011-03-05_17-31-51']);
+           end         
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G25_he-10_ve0_hs0_vs0_2011-03-05_17-35-26';
+                                      'CorrEff_G25_he-5_ve0_hs0_vs0_2011-03-05_17-35-42 ';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-35-59  ';
+                                      'CorrEff_G25_he5_ve0_hs0_vs0_2011-03-05_17-36-15  ';
+                                      'CorrEff_G25_he10_ve0_hs0_vs0_2011-03-05_17-36-31 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-35-10';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-35-10';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-35-59';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-35-59';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-35-59']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G25_he0_ve-10_hs0_vs0_2011-03-05_17-37-03';
+                                      'CorrEff_G25_he0_ve-5_hs0_vs0_2011-03-05_17-37-19 ';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-37-35  ';
+                                      'CorrEff_G25_he0_ve5_hs0_vs0_2011-03-05_17-37-52  ';
+                                      'CorrEff_G25_he0_ve10_hs0_vs0_2011-03-05_17-38-08 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-36-47';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-36-47';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-37-35';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-37-35';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-37-35']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G25_he0_ve0_hs-10_vs0_2011-03-05_17-38-40';
+                                      'CorrEff_G25_he0_ve0_hs-5_vs0_2011-03-05_17-38-56 ';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-39-12  ';
+                                      'CorrEff_G25_he0_ve0_hs5_vs0_2011-03-05_17-39-29  ';
+                                      'CorrEff_G25_he0_ve0_hs10_vs0_2011-03-05_17-39-45 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-38-24';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-38-24';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-39-12';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-39-12';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-39-12']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G25_he0_ve0_hs0_vs-10_2011-03-05_17-40-17';
+                                      'CorrEff_G25_he0_ve0_hs0_vs-5_2011-03-05_17-40-33 ';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-40-49  ';
+                                      'CorrEff_G25_he0_ve0_hs0_vs5_2011-03-05_17-41-05  ';
+                                      'CorrEff_G25_he0_ve0_hs0_vs10_2011-03-05_17-41-22 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-40-01';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-40-01';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-40-49';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-40-49';
+                                      'CorrEff_G25_he0_ve0_hs0_vs0_2011-03-05_17-40-49']);
+            end
+        elseif (gap < 0.5*(25 + 30))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G30_he-10_ve0_hs0_vs0_2011-03-05_17-42-22';
+                                      'CorrEff_G30_he-5_ve0_hs0_vs0_2011-03-05_17-42-38 ';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-42-54  ';
+                                      'CorrEff_G30_he5_ve0_hs0_vs0_2011-03-05_17-43-11  ';
+                                      'CorrEff_G30_he10_ve0_hs0_vs0_2011-03-05_17-43-27 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-42-06';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-42-06';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-42-54';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-42-54';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-42-54']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G30_he0_ve-10_hs0_vs0_2011-03-05_17-43-59';
+                                      'CorrEff_G30_he0_ve-5_hs0_vs0_2011-03-05_17-44-15 ';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-44-31  ';
+                                      'CorrEff_G30_he0_ve5_hs0_vs0_2011-03-05_17-44-47  ';
+                                      'CorrEff_G30_he0_ve10_hs0_vs0_2011-03-05_17-45-04 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-43-43';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-43-43';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-44-31';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-44-31';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-44-31']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G30_he0_ve0_hs-10_vs0_2011-03-05_17-45-36';
+                                      'CorrEff_G30_he0_ve0_hs-5_vs0_2011-03-05_17-45-52 ';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-46-08  ';
+                                      'CorrEff_G30_he0_ve0_hs5_vs0_2011-03-05_17-46-24  ';
+                                      'CorrEff_G30_he0_ve0_hs10_vs0_2011-03-05_17-46-40 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-45-20';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-45-20';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-46-08';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-46-08';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-46-08']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G30_he0_ve0_hs0_vs-10_2011-03-05_17-47-13';
+                                      'CorrEff_G30_he0_ve0_hs0_vs-5_2011-03-05_17-47-29 ';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-47-45  ';
+                                      'CorrEff_G30_he0_ve0_hs0_vs5_2011-03-05_17-48-01  ';
+                                      'CorrEff_G30_he0_ve0_hs0_vs10_2011-03-05_17-48-17 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-46-57';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-46-57';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-47-45';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-47-45';
+                                      'CorrEff_G30_he0_ve0_hs0_vs0_2011-03-05_17-47-45']);
+            end
+        elseif (gap < 0.5*(30 + 35))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G35_he-10_ve0_hs0_vs0_2011-03-05_17-50-13';
+                                      'CorrEff_G35_he-5_ve0_hs0_vs0_2011-03-05_17-50-29 ';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-50-46  ';
+                                      'CorrEff_G35_he5_ve0_hs0_vs0_2011-03-05_17-51-02  ';
+                                      'CorrEff_G35_he10_ve0_hs0_vs0_2011-03-05_17-51-18 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-49-57';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-49-57';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-50-46';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-50-46';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-50-46']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G35_he0_ve-10_hs0_vs0_2011-03-05_17-51-50';
+                                      'CorrEff_G35_he0_ve-5_hs0_vs0_2011-03-05_17-52-06 ';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-52-22  ';
+                                      'CorrEff_G35_he0_ve5_hs0_vs0_2011-03-05_17-52-39  ';
+                                      'CorrEff_G35_he0_ve10_hs0_vs0_2011-03-05_17-52-55 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-51-34';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-51-34';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-52-22';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-52-22';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-52-22']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G35_he0_ve0_hs-10_vs0_2011-03-05_17-53-27';
+                                      'CorrEff_G35_he0_ve0_hs-5_vs0_2011-03-05_17-53-43 ';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-53-59  ';
+                                      'CorrEff_G35_he0_ve0_hs5_vs0_2011-03-05_17-54-15  ';
+                                      'CorrEff_G35_he0_ve0_hs10_vs0_2011-03-05_17-54-32 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-53-11';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-53-11';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-53-59';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-53-59';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-53-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G35_he0_ve0_hs0_vs-10_2011-03-05_17-55-04';
+                                      'CorrEff_G35_he0_ve0_hs0_vs-5_2011-03-05_17-55-20 ';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-55-36  ';
+                                      'CorrEff_G35_he0_ve0_hs0_vs5_2011-03-05_17-55-52  ';
+                                      'CorrEff_G35_he0_ve0_hs0_vs10_2011-03-05_17-56-09 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-54-48';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-54-48';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-55-36';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-55-36';
+                                      'CorrEff_G35_he0_ve0_hs0_vs0_2011-03-05_17-55-36']);
+            end
+        elseif (gap < 0.5*(35 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G40_he-10_ve0_hs0_vs0_2011-03-05_18-00-14';
+                                      'CorrEff_G40_he-5_ve0_hs0_vs0_2011-03-05_18-00-30 ';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-00-46  ';
+                                      'CorrEff_G40_he5_ve0_hs0_vs0_2011-03-05_18-01-02  ';
+                                      'CorrEff_G40_he10_ve0_hs0_vs0_2011-03-05_18-01-18 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_17-59-58';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_17-59-58';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-00-46';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-00-46';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-00-46']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G40_he0_ve-10_hs0_vs0_2011-03-05_18-01-51';
+                                      'CorrEff_G40_he0_ve-5_hs0_vs0_2011-03-05_18-02-07 ';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-02-23  ';
+                                      'CorrEff_G40_he0_ve5_hs0_vs0_2011-03-05_18-02-39  ';
+                                      'CorrEff_G40_he0_ve10_hs0_vs0_2011-03-05_18-02-55 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-01-35';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-01-35';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-02-23';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-02-23';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-02-23']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G40_he0_ve0_hs-10_vs0_2011-03-05_18-03-28';
+                                      'CorrEff_G40_he0_ve0_hs-5_vs0_2011-03-05_18-03-44 ';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-04-00  ';
+                                      'CorrEff_G40_he0_ve0_hs5_vs0_2011-03-05_18-04-16  ';
+                                      'CorrEff_G40_he0_ve0_hs10_vs0_2011-03-05_18-04-33 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-03-12';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-03-12';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-04-00';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-04-00';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-04-00']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G40_he0_ve0_hs0_vs-10_2011-03-05_18-05-05';
+                                      'CorrEff_G40_he0_ve0_hs0_vs-5_2011-03-05_18-05-21 ';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-05-37  ';
+                                      'CorrEff_G40_he0_ve0_hs0_vs5_2011-03-05_18-05-53  ';
+                                      'CorrEff_G40_he0_ve0_hs0_vs10_2011-03-05_18-06-09 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-04-49';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-04-49';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-05-37';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-05-37';
+                                      'CorrEff_G40_he0_ve0_hs0_vs0_2011-03-05_18-05-37']);
+            end 
+        elseif (gap < 0.5*(40 + 45))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G45_he-10_ve0_hs0_vs0_2011-03-05_18-07-13';
+                                      'CorrEff_G45_he-5_ve0_hs0_vs0_2011-03-05_18-07-29 ';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-07-45  ';
+                                      'CorrEff_G45_he5_ve0_hs0_vs0_2011-03-05_18-08-01  ';
+                                      'CorrEff_G45_he10_ve0_hs0_vs0_2011-03-05_18-08-17 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-06-57';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-06-57';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-07-45';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-07-45';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-07-45']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G45_he0_ve-10_hs0_vs0_2011-03-05_18-08-50';
+                                      'CorrEff_G45_he0_ve-5_hs0_vs0_2011-03-05_18-09-06 ';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-09-22  ';
+                                      'CorrEff_G45_he0_ve5_hs0_vs0_2011-03-05_18-09-38  ';
+                                      'CorrEff_G45_he0_ve10_hs0_vs0_2011-03-05_18-09-54 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-08-34';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-08-34';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-09-22';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-09-22';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-09-22']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G45_he0_ve0_hs-10_vs0_2011-03-05_18-10-27';
+                                      'CorrEff_G45_he0_ve0_hs-5_vs0_2011-03-05_18-10-43 ';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-10-59  ';
+                                      'CorrEff_G45_he0_ve0_hs5_vs0_2011-03-05_18-11-15  ';
+                                      'CorrEff_G45_he0_ve0_hs10_vs0_2011-03-05_18-11-31 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-10-10';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-10-10';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-10-59';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-10-59';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-10-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G45_he0_ve0_hs0_vs-10_2011-03-05_18-12-04';
+                                      'CorrEff_G45_he0_ve0_hs0_vs-5_2011-03-05_18-12-21 ';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-12-37  ';
+                                      'CorrEff_G45_he0_ve0_hs0_vs5_2011-03-05_18-12-54  ';
+                                      'CorrEff_G45_he0_ve0_hs0_vs10_2011-03-05_18-13-10 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-11-47';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-11-47';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-12-37';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-12-37';
+                                      'CorrEff_G45_he0_ve0_hs0_vs0_2011-03-05_18-12-37']);
+            end
+        elseif (gap < 0.5*(45 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G50_he-10_ve0_hs0_vs0_2011-03-05_18-15-36';
+                                      'CorrEff_G50_he-5_ve0_hs0_vs0_2011-03-05_18-15-52 ';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-16-09  ';
+                                      'CorrEff_G50_he5_ve0_hs0_vs0_2011-03-05_18-16-25  ';
+                                      'CorrEff_G50_he10_ve0_hs0_vs0_2011-03-05_18-16-41 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-15-20';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-15-20';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-16-09';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-16-09';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-16-09']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G50_he0_ve-10_hs0_vs0_2011-03-05_18-17-13';
+                                      'CorrEff_G50_he0_ve-5_hs0_vs0_2011-03-05_18-17-29 ';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-17-45  ';
+                                      'CorrEff_G50_he0_ve5_hs0_vs0_2011-03-05_18-18-01  ';
+                                      'CorrEff_G50_he0_ve10_hs0_vs0_2011-03-05_18-18-18 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-16-57';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-16-57';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-17-45';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-17-45';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-17-45']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G50_he0_ve0_hs-10_vs0_2011-03-05_18-18-50';
+                                      'CorrEff_G50_he0_ve0_hs-5_vs0_2011-03-05_18-19-06 ';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-19-22  ';
+                                      'CorrEff_G50_he0_ve0_hs5_vs0_2011-03-05_18-19-38  ';
+                                      'CorrEff_G50_he0_ve0_hs10_vs0_2011-03-05_18-19-55 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-18-34';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-18-34';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-19-22';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-19-22';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-19-22']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G50_he0_ve0_hs0_vs-10_2011-03-05_18-20-27';
+                                      'CorrEff_G50_he0_ve0_hs0_vs-5_2011-03-05_18-20-43 ';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-20-59  ';
+                                      'CorrEff_G50_he0_ve0_hs0_vs5_2011-03-05_18-21-15  ';
+                                      'CorrEff_G50_he0_ve0_hs0_vs10_2011-03-05_18-21-31 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-20-11';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-20-11';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-20-59';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-20-59';
+                                      'CorrEff_G50_he0_ve0_hs0_vs0_2011-03-05_18-20-59']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G60_he-10_ve0_hs0_vs0_2011-03-05_18-26-03';
+                                      'CorrEff_G60_he-5_ve0_hs0_vs0_2011-03-05_18-26-19 ';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-26-35  ';
+                                      'CorrEff_G60_he5_ve0_hs0_vs0_2011-03-05_18-26-51  ';
+                                      'CorrEff_G60_he10_ve0_hs0_vs0_2011-03-05_18-27-08 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-25-47';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-25-47';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-26-35';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-26-35';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-26-35']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G60_he0_ve-10_hs0_vs0_2011-03-05_18-27-40';
+                                      'CorrEff_G60_he0_ve-5_hs0_vs0_2011-03-05_18-27-56 ';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-28-12  ';
+                                      'CorrEff_G60_he0_ve5_hs0_vs0_2011-03-05_18-28-28  ';
+                                      'CorrEff_G60_he0_ve10_hs0_vs0_2011-03-05_18-28-44 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-27-24';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-27-24';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-28-12';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-28-12';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-28-12']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G60_he0_ve0_hs-10_vs0_2011-03-05_18-29-17';
+                                      'CorrEff_G60_he0_ve0_hs-5_vs0_2011-03-05_18-29-33 ';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-29-50  ';
+                                      'CorrEff_G60_he0_ve0_hs5_vs0_2011-03-05_18-30-06  ';
+                                      'CorrEff_G60_he0_ve0_hs10_vs0_2011-03-05_18-30-22 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-29-01';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-29-01';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-29-50';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-29-50';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-29-50']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G60_he0_ve0_hs0_vs-10_2011-03-05_18-30-54';
+                                      'CorrEff_G60_he0_ve0_hs0_vs-5_2011-03-05_18-31-11 ';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-31-27  ';
+                                      'CorrEff_G60_he0_ve0_hs0_vs5_2011-03-05_18-31-43  ';
+                                      'CorrEff_G60_he0_ve0_hs0_vs10_2011-03-05_18-31-59 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-30-38';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-30-38';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-31-27';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-31-27';
+                                      'CorrEff_G60_he0_ve0_hs0_vs0_2011-03-05_18-31-27']);
+            end
+        elseif (gap < 0.5*(60 + 70))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G70_he-10_ve0_hs0_vs0_2011-03-05_18-32-49';
+                                      'CorrEff_G70_he-5_ve0_hs0_vs0_2011-03-05_18-33-05 ';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-33-22  ';
+                                      'CorrEff_G70_he5_ve0_hs0_vs0_2011-03-05_18-33-38  ';
+                                      'CorrEff_G70_he10_ve0_hs0_vs0_2011-03-05_18-33-54 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-32-33';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-32-33';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-33-22';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-33-22';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-33-22']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G70_he0_ve-10_hs0_vs0_2011-03-05_18-34-26';
+                                      'CorrEff_G70_he0_ve-5_hs0_vs0_2011-03-05_18-34-42 ';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-34-58  ';
+                                      'CorrEff_G70_he0_ve5_hs0_vs0_2011-03-05_18-35-15  ';
+                                      'CorrEff_G70_he0_ve10_hs0_vs0_2011-03-05_18-35-31 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-34-10';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-34-10';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-34-58';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-34-58';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-34-58']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G70_he0_ve0_hs-10_vs0_2011-03-05_18-36-03';
+                                      'CorrEff_G70_he0_ve0_hs-5_vs0_2011-03-05_18-36-19 ';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-36-35  ';
+                                      'CorrEff_G70_he0_ve0_hs5_vs0_2011-03-05_18-36-51  ';
+                                      'CorrEff_G70_he0_ve0_hs10_vs0_2011-03-05_18-37-08 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-35-47';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-35-47';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-36-35';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-36-35';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-36-35']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G70_he0_ve0_hs0_vs-10_2011-03-05_18-37-40';
+                                      'CorrEff_G70_he0_ve0_hs0_vs-5_2011-03-05_18-37-56 ';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-38-12  ';
+                                      'CorrEff_G70_he0_ve0_hs0_vs5_2011-03-05_18-38-28  ';
+                                      'CorrEff_G70_he0_ve0_hs0_vs10_2011-03-05_18-38-45 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-37-24';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-37-24';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-38-12';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-38-12';
+                                      'CorrEff_G70_he0_ve0_hs0_vs0_2011-03-05_18-38-12']);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G80_he-10_ve0_hs0_vs0_2011-03-05_18-39-56';
+                                      'CorrEff_G80_he-5_ve0_hs0_vs0_2011-03-05_18-40-12 ';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-40-28  ';
+                                      'CorrEff_G80_he5_ve0_hs0_vs0_2011-03-05_18-40-44  ';
+                                      'CorrEff_G80_he10_ve0_hs0_vs0_2011-03-05_18-41-00 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-39-39';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-39-39';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-40-28';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-40-28';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-40-28']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G80_he0_ve-10_hs0_vs0_2011-03-05_18-41-32';
+                                      'CorrEff_G80_he0_ve-5_hs0_vs0_2011-03-05_18-41-49 ';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-42-05  ';
+                                      'CorrEff_G80_he0_ve5_hs0_vs0_2011-03-05_18-42-21  ';
+                                      'CorrEff_G80_he0_ve10_hs0_vs0_2011-03-05_18-42-37 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-41-16';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-41-16';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-42-05';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-42-05';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-42-05']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G80_he0_ve0_hs-10_vs0_2011-03-05_18-43-09';
+                                      'CorrEff_G80_he0_ve0_hs-5_vs0_2011-03-05_18-43-25 ';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-43-42  ';
+                                      'CorrEff_G80_he0_ve0_hs5_vs0_2011-03-05_18-43-58  ';
+                                      'CorrEff_G80_he0_ve0_hs10_vs0_2011-03-05_18-44-14 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-42-53';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-42-53';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-43-42';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-43-42';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-43-42']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G80_he0_ve0_hs0_vs-10_2011-03-05_18-44-46';
+                                      'CorrEff_G80_he0_ve0_hs0_vs-5_2011-03-05_18-45-02 ';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-45-19  ';
+                                      'CorrEff_G80_he0_ve0_hs0_vs5_2011-03-05_18-45-35  ';
+                                      'CorrEff_G80_he0_ve0_hs0_vs10_2011-03-05_18-45-51 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-44-30';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-44-30';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-45-19';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-45-19';
+                                      'CorrEff_G80_he0_ve0_hs0_vs0_2011-03-05_18-45-19']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G90_he-10_ve0_hs0_vs0_2011-03-05_18-46-52';
+                                      'CorrEff_G90_he-5_ve0_hs0_vs0_2011-03-05_18-47-08 ';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-47-24  ';
+                                      'CorrEff_G90_he5_ve0_hs0_vs0_2011-03-05_18-47-40  ';
+                                      'CorrEff_G90_he10_ve0_hs0_vs0_2011-03-05_18-47-56 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-46-36';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-46-36';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-47-24';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-47-24';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-47-24']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G90_he0_ve-10_hs0_vs0_2011-03-05_18-48-29';
+                                      'CorrEff_G90_he0_ve-5_hs0_vs0_2011-03-05_18-48-45 ';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-49-01  ';
+                                      'CorrEff_G90_he0_ve5_hs0_vs0_2011-03-05_18-49-18  ';
+                                      'CorrEff_G90_he0_ve10_hs0_vs0_2011-03-05_18-49-34 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-48-13';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-48-13';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-49-01';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-49-01';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-49-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G90_he0_ve0_hs-10_vs0_2011-03-05_18-50-06';
+                                      'CorrEff_G90_he0_ve0_hs-5_vs0_2011-03-05_18-50-22 ';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-50-38  ';
+                                      'CorrEff_G90_he0_ve0_hs5_vs0_2011-03-05_18-50-54  ';
+                                      'CorrEff_G90_he0_ve0_hs10_vs0_2011-03-05_18-51-11 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-49-50';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-49-50';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-50-38';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-50-38';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-50-38']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G90_he0_ve0_hs0_vs-10_2011-03-05_18-51-44';
+                                      'CorrEff_G90_he0_ve0_hs0_vs-5_2011-03-05_18-52-00 ';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-52-16  ';
+                                      'CorrEff_G90_he0_ve0_hs0_vs5_2011-03-05_18-52-32  ';
+                                      'CorrEff_G90_he0_ve0_hs0_vs10_2011-03-05_18-52-49 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-51-27';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-51-27';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-52-16';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-52-16';
+                                      'CorrEff_G90_he0_ve0_hs0_vs0_2011-03-05_18-52-16']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G100_he-10_ve0_hs0_vs0_2011-03-05_18-54-03';
+                                      'CorrEff_G100_he-5_ve0_hs0_vs0_2011-03-05_18-54-19 ';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-54-36  ';
+                                      'CorrEff_G100_he5_ve0_hs0_vs0_2011-03-05_18-54-52  ';
+                                      'CorrEff_G100_he10_ve0_hs0_vs0_2011-03-05_18-55-08 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-53-47';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-53-47';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-54-36';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-54-36';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-54-36']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G100_he0_ve-10_hs0_vs0_2011-03-05_18-55-40';
+                                      'CorrEff_G100_he0_ve-5_hs0_vs0_2011-03-05_18-55-56 ';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-56-12  ';
+                                      'CorrEff_G100_he0_ve5_hs0_vs0_2011-03-05_18-56-29  ';
+                                      'CorrEff_G100_he0_ve10_hs0_vs0_2011-03-05_18-56-45 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-55-24';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-55-24';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-56-12';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-56-12';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-56-12']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G100_he0_ve0_hs-10_vs0_2011-03-05_18-57-17';
+                                      'CorrEff_G100_he0_ve0_hs-5_vs0_2011-03-05_18-57-33 ';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-57-49  ';
+                                      'CorrEff_G100_he0_ve0_hs5_vs0_2011-03-05_18-58-05  ';
+                                      'CorrEff_G100_he0_ve0_hs10_vs0_2011-03-05_18-58-22 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-57-01';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-57-01';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-57-49';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-57-49';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-57-49']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G100_he0_ve0_hs0_vs-10_2011-03-05_18-58-54';
+                                      'CorrEff_G100_he0_ve0_hs0_vs-5_2011-03-05_18-59-10 ';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-59-26  ';
+                                      'CorrEff_G100_he0_ve0_hs0_vs5_2011-03-05_18-59-42  ';
+                                      'CorrEff_G100_he0_ve0_hs0_vs10_2011-03-05_18-59-58 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-58-38';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-58-38';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-59-26';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-59-26';
+                                      'CorrEff_G100_he0_ve0_hs0_vs0_2011-03-05_18-59-26']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G110_he-10_ve0_hs0_vs0_2011-03-05_19-00-50';
+                                      'CorrEff_G110_he-5_ve0_hs0_vs0_2011-03-05_19-01-06 ';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-01-22  ';
+                                      'CorrEff_G110_he5_ve0_hs0_vs0_2011-03-05_19-01-38  ';
+                                      'CorrEff_G110_he10_ve0_hs0_vs0_2011-03-05_19-01-54 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-00-34';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-00-34';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-01-22';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-01-22';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-01-22']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G110_he0_ve-10_hs0_vs0_2011-03-05_19-02-27';
+                                      'CorrEff_G110_he0_ve-5_hs0_vs0_2011-03-05_19-02-43 ';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-02-59  ';
+                                      'CorrEff_G110_he0_ve5_hs0_vs0_2011-03-05_19-03-15  ';
+                                      'CorrEff_G110_he0_ve10_hs0_vs0_2011-03-05_19-03-31 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-02-11';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-02-11';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-02-59';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-02-59';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-02-59']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G110_he0_ve0_hs-10_vs0_2011-03-05_19-04-04';
+                                      'CorrEff_G110_he0_ve0_hs-5_vs0_2011-03-05_19-04-20 ';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-04-36  ';
+                                      'CorrEff_G110_he0_ve0_hs5_vs0_2011-03-05_19-04-53  ';
+                                      'CorrEff_G110_he0_ve0_hs10_vs0_2011-03-05_19-05-09 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-03-48';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-03-48';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-04-36';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-04-36';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-04-36']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G110_he0_ve0_hs0_vs-10_2011-03-05_19-05-41';
+                                      'CorrEff_G110_he0_ve0_hs0_vs-5_2011-03-05_19-05-57 ';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-06-13  ';
+                                      'CorrEff_G110_he0_ve0_hs0_vs5_2011-03-05_19-06-30  ';
+                                      'CorrEff_G110_he0_ve0_hs0_vs10_2011-03-05_19-06-46 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-05-25';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-05-25';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-06-13';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-06-13';
+                                      'CorrEff_G110_he0_ve0_hs0_vs0_2011-03-05_19-06-13']);
+            end
+        elseif (gap < 0.5*(110 + 130))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G130_he-10_ve0_hs0_vs0_2011-03-05_19-07-46';
+                                      'CorrEff_G130_he-5_ve0_hs0_vs0_2011-03-05_19-08-02 ';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-08-18  ';
+                                      'CorrEff_G130_he5_ve0_hs0_vs0_2011-03-05_19-08-34  ';
+                                      'CorrEff_G130_he10_ve0_hs0_vs0_2011-03-05_19-08-51 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-07-30';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-07-30';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-08-18';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-08-18';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-08-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G130_he0_ve-10_hs0_vs0_2011-03-05_19-09-23';
+                                      'CorrEff_G130_he0_ve-5_hs0_vs0_2011-03-05_19-09-39 ';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-09-55  ';
+                                      'CorrEff_G130_he0_ve5_hs0_vs0_2011-03-05_19-10-11  ';
+                                      'CorrEff_G130_he0_ve10_hs0_vs0_2011-03-05_19-10-28 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-09-07';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-09-07';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-09-55';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-09-55';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-09-55']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G130_he0_ve0_hs-10_vs0_2011-03-05_19-11-00';
+                                      'CorrEff_G130_he0_ve0_hs-5_vs0_2011-03-05_19-11-16 ';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-11-32  ';
+                                      'CorrEff_G130_he0_ve0_hs5_vs0_2011-03-05_19-11-49  ';
+                                      'CorrEff_G130_he0_ve0_hs10_vs0_2011-03-05_19-12-05 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-10-44';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-10-44';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-11-32';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-11-32';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-11-32']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G130_he0_ve0_hs0_vs-10_2011-03-05_19-12-37';
+                                      'CorrEff_G130_he0_ve0_hs0_vs-5_2011-03-05_19-12-53 ';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-13-10  ';
+                                      'CorrEff_G130_he0_ve0_hs0_vs5_2011-03-05_19-13-26  ';
+                                      'CorrEff_G130_he0_ve0_hs0_vs10_2011-03-05_19-13-42 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-12-21';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-12-21';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-13-10';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-13-10';
+                                      'CorrEff_G130_he0_ve0_hs0_vs0_2011-03-05_19-13-10']);
+            end
+        elseif (gap < 0.5*(130 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G150_he-10_ve0_hs0_vs0_2011-03-05_19-14-41';
+                                      'CorrEff_G150_he-5_ve0_hs0_vs0_2011-03-05_19-14-57 ';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-15-13  ';
+                                      'CorrEff_G150_he5_ve0_hs0_vs0_2011-03-05_19-15-29  ';
+                                      'CorrEff_G150_he10_ve0_hs0_vs0_2011-03-05_19-15-45 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-14-25';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-14-25';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-15-13';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-15-13';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-15-13']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G150_he0_ve-10_hs0_vs0_2011-03-05_19-16-18';
+                                      'CorrEff_G150_he0_ve-5_hs0_vs0_2011-03-05_19-16-34 ';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-16-50  ';
+                                      'CorrEff_G150_he0_ve5_hs0_vs0_2011-03-05_19-17-06  ';
+                                      'CorrEff_G150_he0_ve10_hs0_vs0_2011-03-05_19-17-22 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-16-02';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-16-02';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-16-50';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-16-50';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-16-50']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G150_he0_ve0_hs-10_vs0_2011-03-05_19-17-55';
+                                      'CorrEff_G150_he0_ve0_hs-5_vs0_2011-03-05_19-18-11 ';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-18-27  ';
+                                      'CorrEff_G150_he0_ve0_hs5_vs0_2011-03-05_19-18-43  ';
+                                      'CorrEff_G150_he0_ve0_hs10_vs0_2011-03-05_19-18-59 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-17-39';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-17-39';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-18-27';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-18-27';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-18-27']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G150_he0_ve0_hs0_vs-10_2011-03-05_19-19-33';
+                                      'CorrEff_G150_he0_ve0_hs0_vs-5_2011-03-05_19-19-49 ';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-20-05  ';
+                                      'CorrEff_G150_he0_ve0_hs0_vs5_2011-03-05_19-20-21  ';
+                                      'CorrEff_G150_he0_ve0_hs0_vs10_2011-03-05_19-20-37 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-19-15';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-19-15';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-20-05';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-20-05';
+                                      'CorrEff_G150_he0_ve0_hs0_vs0_2011-03-05_19-20-05']);
+            end
+        elseif (gap < 0.5*(150 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G175_he-10_ve0_hs0_vs0_2011-03-05_19-23-25';
+                                      'CorrEff_G175_he-5_ve0_hs0_vs0_2011-03-05_19-23-41 ';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-23-57  ';
+                                      'CorrEff_G175_he5_ve0_hs0_vs0_2011-03-05_19-24-13  ';
+                                      'CorrEff_G175_he10_ve0_hs0_vs0_2011-03-05_19-24-30 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-23-09';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-23-09';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-23-57';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-23-57';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-23-57']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G175_he0_ve-10_hs0_vs0_2011-03-05_19-25-02';
+                                      'CorrEff_G175_he0_ve-5_hs0_vs0_2011-03-05_19-25-18 ';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-25-34  ';
+                                      'CorrEff_G175_he0_ve5_hs0_vs0_2011-03-05_19-25-50  ';
+                                      'CorrEff_G175_he0_ve10_hs0_vs0_2011-03-05_19-26-07 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-24-46';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-24-46';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-25-34';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-25-34';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-25-34']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G175_he0_ve0_hs-10_vs0_2011-03-05_19-26-39';
+                                      'CorrEff_G175_he0_ve0_hs-5_vs0_2011-03-05_19-26-55 ';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-27-11  ';
+                                      'CorrEff_G175_he0_ve0_hs5_vs0_2011-03-05_19-27-27  ';
+                                      'CorrEff_G175_he0_ve0_hs10_vs0_2011-03-05_19-27-44 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-26-23';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-26-23';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-27-11';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-27-11';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-27-11']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G175_he0_ve0_hs0_vs-10_2011-03-05_19-28-16';
+                                      'CorrEff_G175_he0_ve0_hs0_vs-5_2011-03-05_19-28-32 ';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-28-48  ';
+                                      'CorrEff_G175_he0_ve0_hs0_vs5_2011-03-05_19-29-04  ';
+                                      'CorrEff_G175_he0_ve0_hs0_vs10_2011-03-05_19-29-20 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-28-00';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-28-00';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-28-48';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-28-48';
+                                      'CorrEff_G175_he0_ve0_hs0_vs0_2011-03-05_19-28-48']);
+            end
+        else%if (gap < 0.5*(200 + 240))        
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['CorrEff_G240_he-10_ve0_hs0_vs0_2011-03-05_19-38-10';
+                                      'CorrEff_G240_he-5_ve0_hs0_vs0_2011-03-05_19-38-26 ';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-38-42  ';
+                                      'CorrEff_G240_he5_ve0_hs0_vs0_2011-03-05_19-38-58  ';
+                                      'CorrEff_G240_he10_ve0_hs0_vs0_2011-03-05_19-39-14 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-37-54';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-37-54';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-38-42';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-38-42';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-38-42']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['CorrEff_G240_he0_ve-10_hs0_vs0_2011-03-05_19-39-47';
+                                      'CorrEff_G240_he0_ve-5_hs0_vs0_2011-03-05_19-40-03 ';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-40-19  ';
+                                      'CorrEff_G240_he0_ve5_hs0_vs0_2011-03-05_19-40-35  ';
+                                      'CorrEff_G240_he0_ve10_hs0_vs0_2011-03-05_19-40-51 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-39-31';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-39-31';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-40-19';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-40-19';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-40-19']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['CorrEff_G240_he0_ve0_hs-10_vs0_2011-03-05_19-41-24';
+                                      'CorrEff_G240_he0_ve0_hs-5_vs0_2011-03-05_19-41-40 ';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-41-56  ';
+                                      'CorrEff_G240_he0_ve0_hs5_vs0_2011-03-05_19-42-12  ';
+                                      'CorrEff_G240_he0_ve0_hs10_vs0_2011-03-05_19-42-28 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-41-07';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-41-07';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-41-56';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-41-56';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-41-56']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['CorrEff_G240_he0_ve0_hs0_vs-10_2011-03-05_19-43-01';
+                                      'CorrEff_G240_he0_ve0_hs0_vs-5_2011-03-05_19-43-17 ';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-43-33  ';
+                                      'CorrEff_G240_he0_ve0_hs0_vs5_2011-03-05_19-43-49  ';
+                                      'CorrEff_G240_he0_ve0_hs0_vs10_2011-03-05_19-44-05 ']);
+                fnMeasBkgr = cellstr(['CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-42-45';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-42-45';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-43-33';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-43-33';
+                                      'CorrEff_G240_he0_ve0_hs0_vs0_2011-03-05_19-43-33']);
+            end
+        end
+    end % End of HU80 SEXTANTS
+   
+elseif strncmp(idName, 'HU60', 4)
+
+%% HU60 CASSIOPEE
+    if strcmp(idName, 'HU60_CASSIOPEE')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap < 0.5*(15.5 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2008-09-15_02-18-23';
+                                      'C1G15_5_he-5_ve0_hs0_vs0_2008-09-15_02-18-34 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-18-45  ';
+                                      'C1G15_5_he5_ve0_hs0_vs0_2008-09-15_02-18-57  ';
+                                      'C1G15_5_he10_ve0_hs0_vs0_2008-09-15_02-19-10 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-18-10';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-18-10';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-18-45';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-18-45';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-18-45']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2008-09-15_02-19-34';
+                                      'C1G15_5_he0_ve-5_hs0_vs0_2008-09-15_02-19-45 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-19-57  ';
+                                      'C1G15_5_he0_ve5_hs0_vs0_2008-09-15_02-20-09  ';
+                                      'C1G15_5_he0_ve10_hs0_vs0_2008-09-15_02-20-20 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-19-22';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-19-22';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-19-57';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-19-57';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-19-57']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2008-09-15_02-20-44';
+                                      'C1G15_5_he0_ve0_hs-5_vs0_2008-09-15_02-20-56 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-21-07  ';
+                                      'C1G15_5_he0_ve0_hs5_vs0_2008-09-15_02-21-18  ';
+                                      'C1G15_5_he0_ve0_hs10_vs0_2008-09-15_02-21-29 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-20-32';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-20-32';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-21-07';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-21-07';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-21-07']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2008-09-15_02-21-54';
+                                      'C1G15_5_he0_ve0_hs0_vs-5_2008-09-15_02-22-05 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-22-17  ';
+                                      'C1G15_5_he0_ve0_hs0_vs5_2008-09-15_02-22-28  ';
+                                      'C1G15_5_he0_ve0_hs0_vs10_2008-09-15_02-22-39 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-21-41';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-21-41';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-22-17';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-22-17';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-09-15_02-22-17']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2008-09-15_02-10-56';
+                                      'C1G18_he-5_ve0_hs0_vs0_2008-09-15_02-11-07 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-11-19  ';
+                                      'C1G18_he5_ve0_hs0_vs0_2008-09-15_02-11-31  ';
+                                      'C1G18_he10_ve0_hs0_vs0_2008-09-15_02-11-43 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-09-15_02-10-44';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-10-44';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-11-19';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-11-19';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-11-19']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2008-09-15_02-12-07';
+                                      'C1G18_he0_ve-5_hs0_vs0_2008-09-15_02-12-19 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-12-30  ';
+                                      'C1G18_he0_ve5_hs0_vs0_2008-09-15_02-12-42  ';
+                                      'C1G18_he0_ve10_hs0_vs0_2008-09-15_02-12-54 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-09-15_02-11-55';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-11-55';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-12-30';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-12-30';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-12-30']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2008-09-15_02-13-19';
+                                      'C1G18_he0_ve0_hs-5_vs0_2008-09-15_02-13-30 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-13-41  ';
+                                      'C1G18_he0_ve0_hs5_vs0_2008-09-15_02-13-52  ';
+                                      'C1G18_he0_ve0_hs10_vs0_2008-09-15_02-14-04 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-09-15_02-13-07';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-13-07';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-13-41';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-13-41';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-13-41']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2008-09-15_02-14-28';
+                                      'C1G18_he0_ve0_hs0_vs-5_2008-09-15_02-14-39 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-14-50  ';
+                                      'C1G18_he0_ve0_hs0_vs5_2008-09-15_02-15-02  ';
+                                      'C1G18_he0_ve0_hs0_vs10_2008-09-15_02-15-14 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-09-15_02-14-16';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-14-16';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-14-50';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-14-50';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-09-15_02-14-50']);
+            end
+        elseif (gap < 0.5*(20 + 22.5))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2008-09-15_04-13-31';
+                                      'C1G20_he-5_ve0_hs0_vs0_2008-09-15_04-13-42 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-13-53  ';
+                                      'C1G20_he5_ve0_hs0_vs0_2008-09-15_04-14-04  ';
+                                      'C1G20_he10_ve0_hs0_vs0_2008-09-15_04-14-16 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-09-15_04-13-18';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-13-18';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-13-53';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-13-53';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-13-53']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2008-09-15_04-14-40';
+                                      'C1G20_he0_ve-5_hs0_vs0_2008-09-15_04-14-52 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-15-03  ';
+                                      'C1G20_he0_ve5_hs0_vs0_2008-09-15_04-15-14  ';
+                                      'C1G20_he0_ve10_hs0_vs0_2008-09-15_04-15-25 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-09-15_04-14-28';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-14-28';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-15-03';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-15-03';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-15-03']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2008-09-15_04-15-50';
+                                      'C1G20_he0_ve0_hs-5_vs0_2008-09-15_04-16-01 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-16-12  ';
+                                      'C1G20_he0_ve0_hs5_vs0_2008-09-15_04-16-24  ';
+                                      'C1G20_he0_ve0_hs10_vs0_2008-09-15_04-16-35 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-09-15_04-15-38';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-15-38';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-16-12';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-16-12';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-16-12']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2008-09-15_04-17-00';
+                                      'C1G20_he0_ve0_hs0_vs-5_2008-09-15_04-17-11 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-17-22  ';
+                                      'C1G20_he0_ve0_hs0_vs5_2008-09-15_04-17-33  ';
+                                      'C1G20_he0_ve0_hs0_vs10_2008-09-15_04-17-45 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-09-15_04-16-47';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-16-47';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-17-22';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-17-22';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-09-15_04-17-22']);
+            end
+        elseif (gap < 0.5*(22.5 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G22_5_he-10_ve0_hs0_vs0_2008-09-15_01-57-05';
+                                      'C1G22_5_he-5_ve0_hs0_vs0_2008-09-15_01-57-16 ';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-57-29  ';
+                                      'C1G22_5_he5_ve0_hs0_vs0_2008-09-15_01-57-40  ';
+                                      'C1G22_5_he10_ve0_hs0_vs0_2008-09-15_01-57-51 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-56-53';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-56-53';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-57-29';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-57-29';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-57-29']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve-10_hs0_vs0_2008-09-15_01-58-16';
+                                      'C1G22_5_he0_ve-5_hs0_vs0_2008-09-15_01-58-27 ';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-58-38  ';
+                                      'C1G22_5_he0_ve5_hs0_vs0_2008-09-15_01-58-49  ';
+                                      'C1G22_5_he0_ve10_hs0_vs0_2008-09-15_01-59-00 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-58-03';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-58-03';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-58-38';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-58-38';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-58-38']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve0_hs-10_vs0_2008-09-15_01-59-25';
+                                      'C1G22_5_he0_ve0_hs-5_vs0_2008-09-15_01-59-36 ';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-59-47  ';
+                                      'C1G22_5_he0_ve0_hs5_vs0_2008-09-15_01-59-58  ';
+                                      'C1G22_5_he0_ve0_hs10_vs0_2008-09-15_02-00-10 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-59-13';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-59-13';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-59-47';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-59-47';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_01-59-47']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve0_hs0_vs-10_2008-09-15_02-00-34';
+                                      'C1G22_5_he0_ve0_hs0_vs-5_2008-09-15_02-00-45 ';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_02-00-57  ';
+                                      'C1G22_5_he0_ve0_hs0_vs5_2008-09-15_02-01-08  ';
+                                      'C1G22_5_he0_ve0_hs0_vs10_2008-09-15_02-01-19 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2008-09-15_02-00-22';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_02-00-22';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_02-00-57';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_02-00-57';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2008-09-15_02-00-57']);
+            end
+        elseif (gap < 0.5*(25 + 27.5))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2008-09-15_01-51-55';
+                                      'C1G25_he-5_ve0_hs0_vs0_2008-09-15_01-52-07 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-52-18  ';
+                                      'C1G25_he5_ve0_hs0_vs0_2008-09-15_01-52-31  ';
+                                      'C1G25_he10_ve0_hs0_vs0_2008-09-15_01-52-42 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-09-15_01-51-43';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-51-43';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-52-18';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-52-18';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-52-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2008-09-15_01-53-06';
+                                      'C1G25_he0_ve-5_hs0_vs0_2008-09-15_01-53-17 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-53-28  ';
+                                      'C1G25_he0_ve5_hs0_vs0_2008-09-15_01-53-40  ';
+                                      'C1G25_he0_ve10_hs0_vs0_2008-09-15_01-53-51 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-09-15_01-52-54';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-52-54';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-53-28';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-53-28';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-53-28']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2008-09-15_01-54-15';
+                                      'C1G25_he0_ve0_hs-5_vs0_2008-09-15_01-54-27 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-54-38  ';
+                                      'C1G25_he0_ve0_hs5_vs0_2008-09-15_01-54-49  ';
+                                      'C1G25_he0_ve0_hs10_vs0_2008-09-15_01-55-00 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-09-15_01-54-03';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-54-03';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-54-38';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-54-38';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-54-38']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2008-09-15_01-55-25';
+                                      'C1G25_he0_ve0_hs0_vs-5_2008-09-15_01-55-36 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-55-47  ';
+                                      'C1G25_he0_ve0_hs0_vs5_2008-09-15_01-55-58  ';
+                                      'C1G25_he0_ve0_hs0_vs10_2008-09-15_01-56-09 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-09-15_01-55-12';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-55-12';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-55-47';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-55-47';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-09-15_01-55-47']);
+            end
+        elseif (gap < 0.5*(27.5 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G27_5_he-10_ve0_hs0_vs0_2008-09-15_01-46-57';
+                                      'C1G27_5_he-5_ve0_hs0_vs0_2008-09-15_01-47-09 ';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-47-20  ';
+                                      'C1G27_5_he5_ve0_hs0_vs0_2008-09-15_01-47-31  ';
+                                      'C1G27_5_he10_ve0_hs0_vs0_2008-09-15_01-47-42 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-46-45';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-46-45';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-47-20';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-47-20';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-47-20']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve-10_hs0_vs0_2008-09-15_01-48-07';
+                                      'C1G27_5_he0_ve-5_hs0_vs0_2008-09-15_01-48-18 ';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-48-29  ';
+                                      'C1G27_5_he0_ve5_hs0_vs0_2008-09-15_01-48-40  ';
+                                      'C1G27_5_he0_ve10_hs0_vs0_2008-09-15_01-48-51 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-47-54';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-47-54';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-48-29';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-48-29';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-48-29']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve0_hs-10_vs0_2008-09-15_01-49-16';
+                                      'C1G27_5_he0_ve0_hs-5_vs0_2008-09-15_01-49-27 ';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-49-38  ';
+                                      'C1G27_5_he0_ve0_hs5_vs0_2008-09-15_01-49-49  ';
+                                      'C1G27_5_he0_ve0_hs10_vs0_2008-09-15_01-50-01 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-49-04';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-49-04';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-49-38';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-49-38';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-49-38']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve0_hs0_vs-10_2008-09-15_01-50-25';
+                                      'C1G27_5_he0_ve0_hs0_vs-5_2008-09-15_01-50-36 ';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-50-47  ';
+                                      'C1G27_5_he0_ve0_hs0_vs5_2008-09-15_01-50-59  ';
+                                      'C1G27_5_he0_ve0_hs0_vs10_2008-09-15_01-51-10 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-50-13';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-50-13';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-50-47';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-50-47';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2008-09-15_01-50-47']);
+            end
+        elseif (gap < 0.5*(30 + 35))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2008-09-15_01-39-57';
+                                      'C1G30_he-5_ve0_hs0_vs0_2008-09-15_01-40-08 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-40-19  ';
+                                      'C1G30_he5_ve0_hs0_vs0_2008-09-15_01-40-31  ';
+                                      'C1G30_he10_ve0_hs0_vs0_2008-09-15_01-40-42 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-09-15_01-39-44';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-39-44';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-40-19';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-40-19';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-40-19']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2008-09-15_01-41-07';
+                                      'C1G30_he0_ve-5_hs0_vs0_2008-09-15_01-41-18 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-41-29  ';
+                                      'C1G30_he0_ve5_hs0_vs0_2008-09-15_01-41-40  ';
+                                      'C1G30_he0_ve10_hs0_vs0_2008-09-15_01-41-52 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-09-15_01-40-55';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-40-55';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-41-29';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-41-29';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-41-29']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2008-09-15_01-42-16';
+                                      'C1G30_he0_ve0_hs-5_vs0_2008-09-15_01-42-27 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-42-38  ';
+                                      'C1G30_he0_ve0_hs5_vs0_2008-09-15_01-42-50  ';
+                                      'C1G30_he0_ve0_hs10_vs0_2008-09-15_01-43-01 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-09-15_01-42-04';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-42-04';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-42-38';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-42-38';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-42-38']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2008-09-15_01-43-25';
+                                      'C1G30_he0_ve0_hs0_vs-5_2008-09-15_01-43-36 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-43-48  ';
+                                      'C1G30_he0_ve0_hs0_vs5_2008-09-15_01-43-59  ';
+                                      'C1G30_he0_ve0_hs0_vs10_2008-09-15_01-44-10 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-09-15_01-43-13';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-43-13';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-43-48';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-43-48';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-09-15_01-43-48']);
+            end
+        elseif (gap < 0.5*(35 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2008-09-15_01-32-57';
+                                      'C1G35_he-5_ve0_hs0_vs0_2008-09-15_01-33-08 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-33-19  ';
+                                      'C1G35_he5_ve0_hs0_vs0_2008-09-15_01-33-31  ';
+                                      'C1G35_he10_ve0_hs0_vs0_2008-09-15_01-33-42 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-09-15_01-32-45';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-32-45';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-33-19';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-33-19';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-33-19']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2008-09-15_01-34-06';
+                                      'C1G35_he0_ve-5_hs0_vs0_2008-09-15_01-34-19 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-34-30  ';
+                                      'C1G35_he0_ve5_hs0_vs0_2008-09-15_01-34-41  ';
+                                      'C1G35_he0_ve10_hs0_vs0_2008-09-15_01-34-52 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-09-15_01-33-54';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-33-54';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-34-30';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-34-30';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-34-30']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2008-09-15_01-35-17';
+                                      'C1G35_he0_ve0_hs-5_vs0_2008-09-15_01-35-28 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-35-39  ';
+                                      'C1G35_he0_ve0_hs5_vs0_2008-09-15_01-35-50  ';
+                                      'C1G35_he0_ve0_hs10_vs0_2008-09-15_01-36-03 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-09-15_01-35-04';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-35-04';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-35-39';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-35-39';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-35-39']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2008-09-15_01-36-27';
+                                      'C1G35_he0_ve0_hs0_vs-5_2008-09-15_01-36-38 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-36-49  ';
+                                      'C1G35_he0_ve0_hs0_vs5_2008-09-15_01-37-00  ';
+                                      'C1G35_he0_ve0_hs0_vs10_2008-09-15_01-37-12 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-09-15_01-36-15';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-36-15';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-36-49';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-36-49';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-09-15_01-36-49']);
+            end
+        elseif (gap < 0.5*(40 + 50))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2008-09-15_01-26-44';
+                                      'C1G40_he-5_ve0_hs0_vs0_2008-09-15_01-26-55 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-27-07  ';
+                                      'C1G40_he5_ve0_hs0_vs0_2008-09-15_01-27-18  ';
+                                      'C1G40_he10_ve0_hs0_vs0_2008-09-15_01-27-29 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-09-15_01-26-32';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-26-32';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-27-07';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-27-07';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-27-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2008-09-15_01-27-53';
+                                      'C1G40_he0_ve-5_hs0_vs0_2008-09-15_01-28-06 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-28-18  ';
+                                      'C1G40_he0_ve5_hs0_vs0_2008-09-15_01-28-29  ';
+                                      'C1G40_he0_ve10_hs0_vs0_2008-09-15_01-28-41 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-09-15_01-27-41';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-27-41';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-28-18';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-28-18';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-28-18']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2008-09-15_01-29-06';
+                                      'C1G40_he0_ve0_hs-5_vs0_2008-09-15_01-29-17 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-29-28  ';
+                                      'C1G40_he0_ve0_hs5_vs0_2008-09-15_01-29-39  ';
+                                      'C1G40_he0_ve0_hs10_vs0_2008-09-15_01-29-51 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-09-15_01-28-53';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-28-53';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-29-28';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-29-28';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-29-28']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2008-09-15_01-30-15';
+                                      'C1G40_he0_ve0_hs0_vs-5_2008-09-15_01-30-26 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-30-37  ';
+                                      'C1G40_he0_ve0_hs0_vs5_2008-09-15_01-30-49  ';
+                                      'C1G40_he0_ve0_hs0_vs10_2008-09-15_01-31-00 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-09-15_01-30-03';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-30-03';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-30-37';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-30-37';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-09-15_01-30-37']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2008-09-15_01-21-35';
+                                      'C1G50_he-5_ve0_hs0_vs0_2008-09-15_01-21-46 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-21-57  ';
+                                      'C1G50_he5_ve0_hs0_vs0_2008-09-15_01-22-09  ';
+                                      'C1G50_he10_ve0_hs0_vs0_2008-09-15_01-22-20 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-09-15_01-21-23';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-21-23';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-21-57';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-21-57';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-21-57']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2008-09-15_01-22-44';
+                                      'C1G50_he0_ve-5_hs0_vs0_2008-09-15_01-22-55 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-23-07  ';
+                                      'C1G50_he0_ve5_hs0_vs0_2008-09-15_01-23-18  ';
+                                      'C1G50_he0_ve10_hs0_vs0_2008-09-15_01-23-29 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-09-15_01-22-32';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-22-32';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-23-07';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-23-07';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-23-07']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2008-09-15_01-23-54';
+                                      'C1G50_he0_ve0_hs-5_vs0_2008-09-15_01-24-05 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-24-16  ';
+                                      'C1G50_he0_ve0_hs5_vs0_2008-09-15_01-24-27  ';
+                                      'C1G50_he0_ve0_hs10_vs0_2008-09-15_01-24-38 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-09-15_01-23-41';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-23-41';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-24-16';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-24-16';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-24-16']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2008-09-15_01-25-03';
+                                      'C1G50_he0_ve0_hs0_vs-5_2008-09-15_01-25-14 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-25-25  ';
+                                      'C1G50_he0_ve0_hs0_vs5_2008-09-15_01-25-36  ';
+                                      'C1G50_he0_ve0_hs0_vs10_2008-09-15_01-25-47 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-09-15_01-24-51';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-24-51';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-25-25';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-25-25';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-09-15_01-25-25']);
+            end
+        elseif (gap < 0.5*(60 + 70))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2008-09-15_01-16-11';
+                                      'C1G60_he-5_ve0_hs0_vs0_2008-09-15_01-16-22 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-16-34  ';
+                                      'C1G60_he5_ve0_hs0_vs0_2008-09-15_01-16-46  ';
+                                      'C1G60_he10_ve0_hs0_vs0_2008-09-15_01-16-57 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-09-15_01-15-59';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-15-59';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-16-34';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-16-34';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-16-34']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2008-09-15_01-17-21';
+                                      'C1G60_he0_ve-5_hs0_vs0_2008-09-15_01-17-34 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-17-45  ';
+                                      'C1G60_he0_ve5_hs0_vs0_2008-09-15_01-17-56  ';
+                                      'C1G60_he0_ve10_hs0_vs0_2008-09-15_01-18-07 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-09-15_01-17-09';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-17-09';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-17-45';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-17-45';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-17-45']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2008-09-15_01-18-32';
+                                      'C1G60_he0_ve0_hs-5_vs0_2008-09-15_01-18-43 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-18-54  ';
+                                      'C1G60_he0_ve0_hs5_vs0_2008-09-15_01-19-06  ';
+                                      'C1G60_he0_ve0_hs10_vs0_2008-09-15_01-19-17 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-09-15_01-18-19';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-18-19';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-18-54';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-18-54';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-18-54']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2008-09-15_01-19-41';
+                                      'C1G60_he0_ve0_hs0_vs-5_2008-09-15_01-19-52 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-20-04  ';
+                                      'C1G60_he0_ve0_hs0_vs5_2008-09-15_01-20-15  ';
+                                      'C1G60_he0_ve0_hs0_vs10_2008-09-15_01-20-26 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-09-15_01-19-29';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-19-29';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-20-04';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-20-04';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-09-15_01-20-04']);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2008-09-15_01-10-45';
+                                      'C1G70_he-5_ve0_hs0_vs0_2008-09-15_01-10-57 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-11-09  ';
+                                      'C1G70_he5_ve0_hs0_vs0_2008-09-15_01-11-20  ';
+                                      'C1G70_he10_ve0_hs0_vs0_2008-09-15_01-11-31 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-09-15_01-10-33';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-10-33';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-11-09';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-11-09';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-11-09']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2008-09-15_01-11-55';
+                                      'C1G70_he0_ve-5_hs0_vs0_2008-09-15_01-12-07 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-12-18  ';
+                                      'C1G70_he0_ve5_hs0_vs0_2008-09-15_01-12-30  ';
+                                      'C1G70_he0_ve10_hs0_vs0_2008-09-15_01-12-41 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-09-15_01-11-43';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-11-43';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-12-18';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-12-18';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-12-18']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2008-09-15_01-13-06';
+                                      'C1G70_he0_ve0_hs-5_vs0_2008-09-15_01-13-17 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-13-28  ';
+                                      'C1G70_he0_ve0_hs5_vs0_2008-09-15_01-13-39  ';
+                                      'C1G70_he0_ve0_hs10_vs0_2008-09-15_01-13-50 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-09-15_01-12-53';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-12-53';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-13-28';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-13-28';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-13-28']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2008-09-15_01-14-15';
+                                      'C1G70_he0_ve0_hs0_vs-5_2008-09-15_01-14-27 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-14-38  ';
+                                      'C1G70_he0_ve0_hs0_vs5_2008-09-15_01-14-49  ';
+                                      'C1G70_he0_ve0_hs0_vs10_2008-09-15_01-15-01 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-09-15_01-14-03';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-14-03';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-14-38';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-14-38';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-09-15_01-14-38']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2008-09-15_01-04-33';
+                                      'C1G80_he-5_ve0_hs0_vs0_2008-09-15_01-04-44 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-04-55  ';
+                                      'C1G80_he5_ve0_hs0_vs0_2008-09-15_01-05-06  ';
+                                      'C1G80_he10_ve0_hs0_vs0_2008-09-15_01-05-18 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-09-15_01-04-20';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-04-20';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-04-55';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-04-55';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-04-55']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2008-09-15_01-05-42';
+                                      'C1G80_he0_ve-5_hs0_vs0_2008-09-15_01-05-53 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-06-04  ';
+                                      'C1G80_he0_ve5_hs0_vs0_2008-09-15_01-06-16  ';
+                                      'C1G80_he0_ve10_hs0_vs0_2008-09-15_01-06-27 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-09-15_01-05-30';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-05-30';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-06-04';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-06-04';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-06-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2008-09-15_01-06-51';
+                                      'C1G80_he0_ve0_hs-5_vs0_2008-09-15_01-07-02 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-07-15  ';
+                                      'C1G80_he0_ve0_hs5_vs0_2008-09-15_01-07-26  ';
+                                      'C1G80_he0_ve0_hs10_vs0_2008-09-15_01-07-37 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-09-15_01-06-39';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-06-39';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-07-15';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-07-15';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-07-15']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2008-09-15_01-08-01';
+                                      'C1G80_he0_ve0_hs0_vs-5_2008-09-15_01-08-13 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-08-24  ';
+                                      'C1G80_he0_ve0_hs0_vs5_2008-09-15_01-08-35  ';
+                                      'C1G80_he0_ve0_hs0_vs10_2008-09-15_01-08-46 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-09-15_01-07-49';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-07-49';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-08-24';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-08-24';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-09-15_01-08-24']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2008-09-15_00-59-14';
+                                      'C1G90_he-5_ve0_hs0_vs0_2008-09-15_00-59-25 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_00-59-37  ';
+                                      'C1G90_he5_ve0_hs0_vs0_2008-09-15_00-59-48  ';
+                                      'C1G90_he10_ve0_hs0_vs0_2008-09-15_01-00-00 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-09-15_00-59-02';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_00-59-02';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_00-59-37';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_00-59-37';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_00-59-37']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2008-09-15_01-00-24';
+                                      'C1G90_he0_ve-5_hs0_vs0_2008-09-15_01-00-36 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-00-47  ';
+                                      'C1G90_he0_ve5_hs0_vs0_2008-09-15_01-00-58  ';
+                                      'C1G90_he0_ve10_hs0_vs0_2008-09-15_01-01-09 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-09-15_01-00-12';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-00-12';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-00-47';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-00-47';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-00-47']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2008-09-15_01-01-34';
+                                      'C1G90_he0_ve0_hs-5_vs0_2008-09-15_01-01-45 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-01-56  ';
+                                      'C1G90_he0_ve0_hs5_vs0_2008-09-15_01-02-07  ';
+                                      'C1G90_he0_ve0_hs10_vs0_2008-09-15_01-02-19 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-09-15_01-01-22';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-01-22';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-01-56';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-01-56';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-01-56']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2008-09-15_01-02-43';
+                                      'C1G90_he0_ve0_hs0_vs-5_2008-09-15_01-02-54 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-03-05  ';
+                                      'C1G90_he0_ve0_hs0_vs5_2008-09-15_01-03-17  ';
+                                      'C1G90_he0_ve0_hs0_vs10_2008-09-15_01-03-28 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-09-15_01-02-31';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-02-31';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-03-05';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-03-05';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-09-15_01-03-05']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2008-09-15_00-53-22';
+                                      'C1G100_he-5_ve0_hs0_vs0_2008-09-15_00-53-33 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-53-45  ';
+                                      'C1G100_he5_ve0_hs0_vs0_2008-09-15_00-53-57  ';
+                                      'C1G100_he10_ve0_hs0_vs0_2008-09-15_00-54-08 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-09-15_00-53-10';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-53-10';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-53-45';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-53-45';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-53-45']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2008-09-15_00-54-32';
+                                      'C1G100_he0_ve-5_hs0_vs0_2008-09-15_00-54-43 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-54-56  ';
+                                      'C1G100_he0_ve5_hs0_vs0_2008-09-15_00-55-08  ';
+                                      'C1G100_he0_ve10_hs0_vs0_2008-09-15_00-55-20 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-09-15_00-54-20';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-54-20';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-54-56';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-54-56';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-54-56']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2008-09-15_00-55-45';
+                                      'C1G100_he0_ve0_hs-5_vs0_2008-09-15_00-55-56 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-56-07  ';
+                                      'C1G100_he0_ve0_hs5_vs0_2008-09-15_00-56-18  ';
+                                      'C1G100_he0_ve0_hs10_vs0_2008-09-15_00-56-29 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-09-15_00-55-32';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-55-32';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-56-07';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-56-07';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-56-07']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2008-09-15_00-56-54';
+                                      'C1G100_he0_ve0_hs0_vs-5_2008-09-15_00-57-05 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-57-16  ';
+                                      'C1G100_he0_ve0_hs0_vs5_2008-09-15_00-57-27  ';
+                                      'C1G100_he0_ve0_hs0_vs10_2008-09-15_00-57-38 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-09-15_00-56-42';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-56-42';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-57-16';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-57-16';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-09-15_00-57-16']);
+            end
+        elseif (gap < 0.5*(110 + 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2008-09-15_00-48-04';
+                                      'C1G110_he-5_ve0_hs0_vs0_2008-09-15_00-48-15 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-48-27  ';
+                                      'C1G110_he5_ve0_hs0_vs0_2008-09-15_00-48-38  ';
+                                      'C1G110_he10_ve0_hs0_vs0_2008-09-15_00-48-49 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-09-15_00-47-52';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-47-52';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-48-27';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-48-27';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-48-27']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2008-09-15_00-49-13';
+                                      'C1G110_he0_ve-5_hs0_vs0_2008-09-15_00-49-26 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-49-37  ';
+                                      'C1G110_he0_ve5_hs0_vs0_2008-09-15_00-49-48  ';
+                                      'C1G110_he0_ve10_hs0_vs0_2008-09-15_00-49-59 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-09-15_00-49-01';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-49-01';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-49-37';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-49-37';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-49-37']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2008-09-15_00-50-24';
+                                      'C1G110_he0_ve0_hs-5_vs0_2008-09-15_00-50-35 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-50-46  ';
+                                      'C1G110_he0_ve0_hs5_vs0_2008-09-15_00-50-57  ';
+                                      'C1G110_he0_ve0_hs10_vs0_2008-09-15_00-51-09 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-09-15_00-50-11';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-50-11';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-50-46';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-50-46';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-50-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2008-09-15_00-51-33';
+                                      'C1G110_he0_ve0_hs0_vs-5_2008-09-15_00-51-44 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-51-55  ';
+                                      'C1G110_he0_ve0_hs0_vs5_2008-09-15_00-52-07  ';
+                                      'C1G110_he0_ve0_hs0_vs10_2008-09-15_00-52-18 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-09-15_00-51-21';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-51-21';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-51-55';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-51-55';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-09-15_00-51-55']);
+            end
+        elseif (gap < 0.5*(130 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2008-09-15_00-42-27';
+                                      'C1G130_he-5_ve0_hs0_vs0_2008-09-15_00-42-38 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-42-49  ';
+                                      'C1G130_he5_ve0_hs0_vs0_2008-09-15_00-43-00  ';
+                                      'C1G130_he10_ve0_hs0_vs0_2008-09-15_00-43-12 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-09-15_00-42-15';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-42-15';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-42-49';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-42-49';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-42-49']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2008-09-15_00-43-36';
+                                      'C1G130_he0_ve-5_hs0_vs0_2008-09-15_00-43-48 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-43-59  ';
+                                      'C1G130_he0_ve5_hs0_vs0_2008-09-15_00-44-11  ';
+                                      'C1G130_he0_ve10_hs0_vs0_2008-09-15_00-44-23 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-09-15_00-43-24';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-43-24';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-43-59';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-43-59';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-43-59']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2008-09-15_00-44-47';
+                                      'C1G130_he0_ve0_hs-5_vs0_2008-09-15_00-44-59 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-45-10  ';
+                                      'C1G130_he0_ve0_hs5_vs0_2008-09-15_00-45-21  ';
+                                      'C1G130_he0_ve0_hs10_vs0_2008-09-15_00-45-32 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-09-15_00-44-35';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-44-35';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-45-10';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-45-10';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-45-10']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2008-09-15_00-45-57';
+                                      'C1G130_he0_ve0_hs0_vs-5_2008-09-15_00-46-08 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-46-19  ';
+                                      'C1G130_he0_ve0_hs0_vs5_2008-09-15_00-46-30  ';
+                                      'C1G130_he0_ve0_hs0_vs10_2008-09-15_00-46-42 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-09-15_00-45-45';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-45-45';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-46-19';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-46-19';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-09-15_00-46-19']);
+            end
+        elseif (gap < 0.5*(150 + 175))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2008-09-15_00-37-12';
+                                      'C1G150_he-5_ve0_hs0_vs0_2008-09-15_00-37-23 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-37-34  ';
+                                      'C1G150_he5_ve0_hs0_vs0_2008-09-15_00-37-47  ';
+                                      'C1G150_he10_ve0_hs0_vs0_2008-09-15_00-37-59 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-09-15_00-37-00';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-37-00';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-37-34';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-37-34';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-37-34']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2008-09-15_00-38-23';
+                                      'C1G150_he0_ve-5_hs0_vs0_2008-09-15_00-38-34 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-38-46  ';
+                                      'C1G150_he0_ve5_hs0_vs0_2008-09-15_00-38-58  ';
+                                      'C1G150_he0_ve10_hs0_vs0_2008-09-15_00-39-09 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-09-15_00-38-11';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-38-11';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-38-46';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-38-46';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-38-46']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2008-09-15_00-39-33';
+                                      'C1G150_he0_ve0_hs-5_vs0_2008-09-15_00-39-44 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-39-56  ';
+                                      'C1G150_he0_ve0_hs5_vs0_2008-09-15_00-40-07  ';
+                                      'C1G150_he0_ve0_hs10_vs0_2008-09-15_00-40-18 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-09-15_00-39-21';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-39-21';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-39-56';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-39-56';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-39-56']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2008-09-15_00-40-43';
+                                      'C1G150_he0_ve0_hs0_vs-5_2008-09-15_00-40-54 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-41-05  ';
+                                      'C1G150_he0_ve0_hs0_vs5_2008-09-15_00-41-16  ';
+                                      'C1G150_he0_ve0_hs0_vs10_2008-09-15_00-41-27 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-09-15_00-40-30';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-40-30';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-41-05';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-41-05';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-09-15_00-41-05']);
+            end
+        elseif (gap < 0.5*(175 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G175_he-10_ve0_hs0_vs0_2008-09-15_00-32-09';
+                                      'C1G175_he-5_ve0_hs0_vs0_2008-09-15_00-32-21 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-32-32  ';
+                                      'C1G175_he5_ve0_hs0_vs0_2008-09-15_00-32-43  ';
+                                      'C1G175_he10_ve0_hs0_vs0_2008-09-15_00-32-54 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-09-15_00-31-56';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-31-56';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-32-32';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-32-32';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-32-32']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G175_he0_ve-10_hs0_vs0_2008-09-15_00-33-19';
+                                      'C1G175_he0_ve-5_hs0_vs0_2008-09-15_00-33-31 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-33-42  ';
+                                      'C1G175_he0_ve5_hs0_vs0_2008-09-15_00-33-54  ';
+                                      'C1G175_he0_ve10_hs0_vs0_2008-09-15_00-34-06 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-09-15_00-33-07';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-33-07';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-33-42';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-33-42';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-33-42']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G175_he0_ve0_hs-10_vs0_2008-09-15_00-34-30';
+                                      'C1G175_he0_ve0_hs-5_vs0_2008-09-15_00-34-41 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-34-53  ';
+                                      'C1G175_he0_ve0_hs5_vs0_2008-09-15_00-35-04  ';
+                                      'C1G175_he0_ve0_hs10_vs0_2008-09-15_00-35-15 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-09-15_00-34-18';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-34-18';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-34-53';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-34-53';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-34-53']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G175_he0_ve0_hs0_vs-10_2008-09-15_00-35-39';
+                                      'C1G175_he0_ve0_hs0_vs-5_2008-09-15_00-35-51 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-36-02  ';
+                                      'C1G175_he0_ve0_hs0_vs5_2008-09-15_00-36-13  ';
+                                      'C1G175_he0_ve0_hs0_vs10_2008-09-15_00-36-24 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-09-15_00-35-27';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-35-27';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-36-02';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-36-02';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-09-15_00-36-02']);
+            end
+        elseif (gap < 0.5*(200 + 225))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2008-09-15_00-27-05';
+                                      'C1G200_he-5_ve0_hs0_vs0_2008-09-15_00-27-16 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-27-27  ';
+                                      'C1G200_he5_ve0_hs0_vs0_2008-09-15_00-27-38  ';
+                                      'C1G200_he10_ve0_hs0_vs0_2008-09-15_00-27-50 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-09-15_00-26-52';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-26-52';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-27-27';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-27-27';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-27-27']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2008-09-15_00-28-14';
+                                      'C1G200_he0_ve-5_hs0_vs0_2008-09-15_00-28-25 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-28-36  ';
+                                      'C1G200_he0_ve5_hs0_vs0_2008-09-15_00-28-48  ';
+                                      'C1G200_he0_ve10_hs0_vs0_2008-09-15_00-28-59 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-09-15_00-28-02';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-28-02';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-28-36';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-28-36';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-28-36']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2008-09-15_00-29-23';
+                                      'C1G200_he0_ve0_hs-5_vs0_2008-09-15_00-29-35 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-29-47  ';
+                                      'C1G200_he0_ve0_hs5_vs0_2008-09-15_00-29-58  ';
+                                      'C1G200_he0_ve0_hs10_vs0_2008-09-15_00-30-09 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-09-15_00-29-11';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-29-11';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-29-47';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-29-47';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-29-47']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2008-09-15_00-30-33';
+                                      'C1G200_he0_ve0_hs0_vs-5_2008-09-15_00-30-45 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-30-56  ';
+                                      'C1G200_he0_ve0_hs0_vs5_2008-09-15_00-31-07  ';
+                                      'C1G200_he0_ve0_hs0_vs10_2008-09-15_00-31-18 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-09-15_00-30-21';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-30-21';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-30-56';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-30-56';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-09-15_00-30-56']);
+            end
+        elseif (gap < 0.5*(225 + 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G225_he-10_ve0_hs0_vs0_2008-09-15_00-19-54';
+                                      'C1G225_he-5_ve0_hs0_vs0_2008-09-15_00-20-05 ';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-20-17  ';
+                                      'C1G225_he5_ve0_hs0_vs0_2008-09-15_00-20-29  ';
+                                      'C1G225_he10_ve0_hs0_vs0_2008-09-15_00-20-40 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2008-09-15_00-19-42';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-19-42';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-20-17';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-20-17';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-20-17']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G225_he0_ve-10_hs0_vs0_2008-09-15_00-21-04';
+                                      'C1G225_he0_ve-5_hs0_vs0_2008-09-15_00-21-16 ';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-21-27  ';
+                                      'C1G225_he0_ve5_hs0_vs0_2008-09-15_00-21-38  ';
+                                      'C1G225_he0_ve10_hs0_vs0_2008-09-15_00-21-49 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2008-09-15_00-20-52';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-20-52';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-21-27';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-21-27';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-21-27']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G225_he0_ve0_hs-10_vs0_2008-09-15_00-22-14';
+                                      'C1G225_he0_ve0_hs-5_vs0_2008-09-15_00-22-25 ';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-22-36  ';
+                                      'C1G225_he0_ve0_hs5_vs0_2008-09-15_00-22-47  ';
+                                      'C1G225_he0_ve0_hs10_vs0_2008-09-15_00-22-59 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2008-09-15_00-22-01';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-22-01';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-22-36';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-22-36';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-22-36']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G225_he0_ve0_hs0_vs-10_2008-09-15_00-23-23';
+                                      'C1G225_he0_ve0_hs0_vs-5_2008-09-15_00-23-34 ';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-23-45  ';
+                                      'C1G225_he0_ve0_hs0_vs5_2008-09-15_00-23-57  ';
+                                      'C1G225_he0_ve0_hs0_vs10_2008-09-15_00-24-08 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2008-09-15_00-23-11';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-23-11';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-23-45';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-23-45';
+                                      'C1G225_he0_ve0_hs0_vs0_2008-09-15_00-23-45']);
+            end
+        elseif (gap >= 0.5*(225 + 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G240_he-10_ve0_hs0_vs0_2008-09-14_23-52-55';
+                                      'C1G240_he-5_ve0_hs0_vs0_2008-09-14_23-53-05 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-53-15  ';
+                                      'C1G240_he5_ve0_hs0_vs0_2008-09-14_23-53-26  ';
+                                      'C1G240_he10_ve0_hs0_vs0_2008-09-14_23-53-36 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-09-14_23-52-44';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-52-44';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-53-15';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-53-15';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-53-15']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G240_he0_ve-10_hs0_vs0_2008-09-14_23-53-58';
+                                      'C1G240_he0_ve-5_hs0_vs0_2008-09-14_23-54-08 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-54-18  ';
+                                      'C1G240_he0_ve5_hs0_vs0_2008-09-14_23-54-30  ';
+                                      'C1G240_he0_ve10_hs0_vs0_2008-09-14_23-54-41 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-09-14_23-53-48';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-53-48';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-54-18';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-54-18';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-54-18']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs-10_vs0_2008-09-14_23-55-03';
+                                      'C1G240_he0_ve0_hs-5_vs0_2008-09-14_23-55-13 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-55-23  ';
+                                      'C1G240_he0_ve0_hs5_vs0_2008-09-14_23-55-34  ';
+                                      'C1G240_he0_ve0_hs10_vs0_2008-09-14_23-55-45 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-09-14_23-54-53';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-54-53';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-55-23';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-55-23';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-55-23']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs0_vs-10_2008-09-14_23-56-06';
+                                      'C1G240_he0_ve0_hs0_vs-5_2008-09-14_23-56-16 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-56-26  ';
+                                      'C1G240_he0_ve0_hs0_vs5_2008-09-14_23-56-38  ';
+                                      'C1G240_he0_ve0_hs0_vs10_2008-09-14_23-56-48 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-09-14_23-55-56';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-55-56';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-56-26';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-56-26';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-09-14_23-56-26']);
+            end
+        end
+
+%% HU60 ANTARES
+
+    elseif strcmp(idName, 'HU60_ANTARES')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap < 0.5*(15.5 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2009-07-21_07-34-22';
+                                      'C1G15_5_he-5_ve0_hs0_vs0_2009-07-21_07-34-34 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-34-45  ';
+                                      'C1G15_5_he5_ve0_hs0_vs0_2009-07-21_07-34-56  ';
+                                      'C1G15_5_he10_ve0_hs0_vs0_2009-07-21_07-35-08 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-34-09';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-34-09';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-34-45';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-34-45';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-34-45']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2009-07-21_07-35-35';
+                                      'C1G15_5_he0_ve-5_hs0_vs0_2009-07-21_07-35-46 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-35-57  ';
+                                      'C1G15_5_he0_ve5_hs0_vs0_2009-07-21_07-36-09  ';
+                                      'C1G15_5_he0_ve10_hs0_vs0_2009-07-21_07-36-22 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-35-21';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-35-21';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-35-57';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-35-57';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-35-57']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2009-07-21_07-36-48';
+                                      'C1G15_5_he0_ve0_hs-5_vs0_2009-07-21_07-37-00 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-37-12  ';
+                                      'C1G15_5_he0_ve0_hs5_vs0_2009-07-21_07-37-23  ';
+                                      'C1G15_5_he0_ve0_hs10_vs0_2009-07-21_07-37-34 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-36-35';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-36-35';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-37-12';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-37-12';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-37-12']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2009-07-21_07-38-01';
+                                      'C1G15_5_he0_ve0_hs0_vs-5_2009-07-21_07-38-12 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-38-23  ';
+                                      'C1G15_5_he0_ve0_hs0_vs5_2009-07-21_07-38-35  ';
+                                      'C1G15_5_he0_ve0_hs0_vs10_2009-07-21_07-38-47 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-37-47';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-37-47';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-38-23';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-38-23';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2009-07-21_07-38-23']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2009-07-21_07-39-28';
+                                      'C1G18_he-5_ve0_hs0_vs0_2009-07-21_07-39-39 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-39-51  ';
+                                      'C1G18_he5_ve0_hs0_vs0_2009-07-21_07-40-03  ';
+                                      'C1G18_he10_ve0_hs0_vs0_2009-07-21_07-40-14 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2009-07-21_07-39-15';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-39-15';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-39-51';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-39-51';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-39-51']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2009-07-21_07-40-40';
+                                      'C1G18_he0_ve-5_hs0_vs0_2009-07-21_07-40-53 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-41-05  ';
+                                      'C1G18_he0_ve5_hs0_vs0_2009-07-21_07-41-17  ';
+                                      'C1G18_he0_ve10_hs0_vs0_2009-07-21_07-41-28 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2009-07-21_07-40-27';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-40-27';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-41-05';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-41-05';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-41-05']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2009-07-21_07-41-54';
+                                      'C1G18_he0_ve0_hs-5_vs0_2009-07-21_07-42-06 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-42-17  ';
+                                      'C1G18_he0_ve0_hs5_vs0_2009-07-21_07-42-28  ';
+                                      'C1G18_he0_ve0_hs10_vs0_2009-07-21_07-42-40 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2009-07-21_07-41-41';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-41-41';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-42-17';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-42-17';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-42-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2009-07-21_07-43-05';
+                                      'C1G18_he0_ve0_hs0_vs-5_2009-07-21_07-43-17 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-43-28  ';
+                                      'C1G18_he0_ve0_hs0_vs5_2009-07-21_07-43-39  ';
+                                      'C1G18_he0_ve0_hs0_vs10_2009-07-21_07-43-51 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2009-07-21_07-42-52';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-42-52';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-43-28';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-43-28';
+                                      'C1G18_he0_ve0_hs0_vs0_2009-07-21_07-43-28']);
+            end
+        elseif (gap < 0.5*(20 + 22.5))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2009-07-21_07-45-28';
+                                      'C1G20_he-5_ve0_hs0_vs0_2009-07-21_07-45-39 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-45-51  ';
+                                      'C1G20_he5_ve0_hs0_vs0_2009-07-21_07-46-02  ';
+                                      'C1G20_he10_ve0_hs0_vs0_2009-07-21_07-46-14 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2009-07-21_07-45-14';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-45-14';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-45-51';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-45-51';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-45-51']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2009-07-21_07-46-38';
+                                      'C1G20_he0_ve-5_hs0_vs0_2009-07-21_07-46-50 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-47-01  ';
+                                      'C1G20_he0_ve5_hs0_vs0_2009-07-21_07-47-12  ';
+                                      'C1G20_he0_ve10_hs0_vs0_2009-07-21_07-47-24 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2009-07-21_07-46-26';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-46-26';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-47-01';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-47-01';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-47-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2009-07-21_07-47-50';
+                                      'C1G20_he0_ve0_hs-5_vs0_2009-07-21_07-48-02 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-48-13  ';
+                                      'C1G20_he0_ve0_hs5_vs0_2009-07-21_07-48-25  ';
+                                      'C1G20_he0_ve0_hs10_vs0_2009-07-21_07-48-36 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2009-07-21_07-47-37';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-47-37';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-48-13';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-48-13';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-48-13']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2009-07-21_07-49-01';
+                                      'C1G20_he0_ve0_hs0_vs-5_2009-07-21_07-49-13 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-49-24  ';
+                                      'C1G20_he0_ve0_hs0_vs5_2009-07-21_07-49-36  ';
+                                      'C1G20_he0_ve0_hs0_vs10_2009-07-21_07-49-48 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2009-07-21_07-48-48';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-48-48';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-49-24';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-49-24';
+                                      'C1G20_he0_ve0_hs0_vs0_2009-07-21_07-49-24']);
+            end
+        elseif (gap < 0.5*(22.5 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G22_5_he-10_ve0_hs0_vs0_2009-07-21_07-50-46';
+                                      'C1G22_5_he-5_ve0_hs0_vs0_2009-07-21_07-50-58 ';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-51-10  ';
+                                      'C1G22_5_he5_ve0_hs0_vs0_2009-07-21_07-51-21  ';
+                                      'C1G22_5_he10_ve0_hs0_vs0_2009-07-21_07-51-32 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-50-33';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-50-33';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-51-10';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-51-10';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-51-10']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve-10_hs0_vs0_2009-07-21_07-51-58';
+                                      'C1G22_5_he0_ve-5_hs0_vs0_2009-07-21_07-52-10 ';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-52-22  ';
+                                      'C1G22_5_he0_ve5_hs0_vs0_2009-07-21_07-52-35  ';
+                                      'C1G22_5_he0_ve10_hs0_vs0_2009-07-21_07-52-47 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-51-46';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-51-46';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-52-22';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-52-22';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-52-22']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve0_hs-10_vs0_2009-07-21_07-53-12';
+                                      'C1G22_5_he0_ve0_hs-5_vs0_2009-07-21_07-53-24 ';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-53-35  ';
+                                      'C1G22_5_he0_ve0_hs5_vs0_2009-07-21_07-53-46  ';
+                                      'C1G22_5_he0_ve0_hs10_vs0_2009-07-21_07-53-58 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-52-59';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-52-59';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-53-35';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-53-35';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-53-35']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve0_hs0_vs-10_2009-07-21_07-54-24';
+                                      'C1G22_5_he0_ve0_hs0_vs-5_2009-07-21_07-54-36 ';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-54-48  ';
+                                      'C1G22_5_he0_ve0_hs0_vs5_2009-07-21_07-55-00  ';
+                                      'C1G22_5_he0_ve0_hs0_vs10_2009-07-21_07-55-11 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-54-11';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-54-11';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-54-48';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-54-48';
+                                      'C1G22_5_he0_ve0_hs0_vs0_2009-07-21_07-54-48']);
+            end
+        elseif (gap < 0.5*(25 + 27.5))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2009-07-21_07-55-55';
+                                      'C1G25_he-5_ve0_hs0_vs0_2009-07-21_07-56-06 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-56-17  ';
+                                      'C1G25_he5_ve0_hs0_vs0_2009-07-21_07-56-29  ';
+                                      'C1G25_he10_ve0_hs0_vs0_2009-07-21_07-56-41 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2009-07-21_07-55-42';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-55-42';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-56-17';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-56-17';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-56-17']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2009-07-21_07-57-08';
+                                      'C1G25_he0_ve-5_hs0_vs0_2009-07-21_07-57-19 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-57-30  ';
+                                      'C1G25_he0_ve5_hs0_vs0_2009-07-21_07-57-42  ';
+                                      'C1G25_he0_ve10_hs0_vs0_2009-07-21_07-57-54 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2009-07-21_07-56-55';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-56-55';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-57-30';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-57-30';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-57-30']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2009-07-21_07-58-21';
+                                      'C1G25_he0_ve0_hs-5_vs0_2009-07-21_07-58-33 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-58-44  ';
+                                      'C1G25_he0_ve0_hs5_vs0_2009-07-21_07-58-55  ';
+                                      'C1G25_he0_ve0_hs10_vs0_2009-07-21_07-59-07 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2009-07-21_07-58-08';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-58-08';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-58-44';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-58-44';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-58-44']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2009-07-21_07-59-33';
+                                      'C1G25_he0_ve0_hs0_vs-5_2009-07-21_07-59-44 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-59-55  ';
+                                      'C1G25_he0_ve0_hs0_vs5_2009-07-21_08-00-07  ';
+                                      'C1G25_he0_ve0_hs0_vs10_2009-07-21_08-00-18 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2009-07-21_07-59-20';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-59-20';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-59-55';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-59-55';
+                                      'C1G25_he0_ve0_hs0_vs0_2009-07-21_07-59-55']);
+            end
+        elseif (gap < 0.5*(27.5 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G27_5_he-10_ve0_hs0_vs0_2009-07-21_08-01-28';
+                                      'C1G27_5_he-5_ve0_hs0_vs0_2009-07-21_08-01-39 ';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-01-50  ';
+                                      'C1G27_5_he5_ve0_hs0_vs0_2009-07-21_08-02-02  ';
+                                      'C1G27_5_he10_ve0_hs0_vs0_2009-07-21_08-02-14 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-01-14';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-01-14';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-01-50';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-01-50';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-01-50']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve-10_hs0_vs0_2009-07-21_08-02-40';
+                                      'C1G27_5_he0_ve-5_hs0_vs0_2009-07-21_08-02-52 ';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-03-04  ';
+                                      'C1G27_5_he0_ve5_hs0_vs0_2009-07-21_08-03-15  ';
+                                      'C1G27_5_he0_ve10_hs0_vs0_2009-07-21_08-03-28 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-02-27';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-02-27';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-03-04';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-03-04';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-03-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve0_hs-10_vs0_2009-07-21_08-03-53';
+                                      'C1G27_5_he0_ve0_hs-5_vs0_2009-07-21_08-04-05 ';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-04-16  ';
+                                      'C1G27_5_he0_ve0_hs5_vs0_2009-07-21_08-04-27  ';
+                                      'C1G27_5_he0_ve0_hs10_vs0_2009-07-21_08-04-39 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-03-41';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-03-41';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-04-16';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-04-16';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-04-16']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve0_hs0_vs-10_2009-07-21_08-05-06';
+                                      'C1G27_5_he0_ve0_hs0_vs-5_2009-07-21_08-05-18 ';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-05-29  ';
+                                      'C1G27_5_he0_ve0_hs0_vs5_2009-07-21_08-05-41  ';
+                                      'C1G27_5_he0_ve0_hs0_vs10_2009-07-21_08-05-52 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-04-53';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-04-53';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-05-29';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-05-29';
+                                      'C1G27_5_he0_ve0_hs0_vs0_2009-07-21_08-05-29']);
+            end
+        elseif (gap < 0.5*(30 + 35))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2009-07-21_08-06-27';
+                                      'C1G30_he-5_ve0_hs0_vs0_2009-07-21_08-06-38 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-06-50  ';
+                                      'C1G30_he5_ve0_hs0_vs0_2009-07-21_08-07-01  ';
+                                      'C1G30_he10_ve0_hs0_vs0_2009-07-21_08-07-13 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2009-07-21_08-06-15';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-06-15';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-06-50';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-06-50';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-06-50']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2009-07-21_08-07-39';
+                                      'C1G30_he0_ve-5_hs0_vs0_2009-07-21_08-07-51 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-08-03  ';
+                                      'C1G30_he0_ve5_hs0_vs0_2009-07-21_08-08-15  ';
+                                      'C1G30_he0_ve10_hs0_vs0_2009-07-21_08-08-26 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2009-07-21_08-07-26';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-07-26';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-08-03';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-08-03';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-08-03']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2009-07-21_08-08-53';
+                                      'C1G30_he0_ve0_hs-5_vs0_2009-07-21_08-09-05 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-09-17  ';
+                                      'C1G30_he0_ve0_hs5_vs0_2009-07-21_08-09-29  ';
+                                      'C1G30_he0_ve0_hs10_vs0_2009-07-21_08-09-40 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2009-07-21_08-08-40';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-08-40';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-09-17';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-09-17';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-09-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2009-07-21_08-10-06';
+                                      'C1G30_he0_ve0_hs0_vs-5_2009-07-21_08-10-19 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-10-31  ';
+                                      'C1G30_he0_ve0_hs0_vs5_2009-07-21_08-10-42  ';
+                                      'C1G30_he0_ve0_hs0_vs10_2009-07-21_08-10-54 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2009-07-21_08-09-53';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-09-53';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-10-31';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-10-31';
+                                      'C1G30_he0_ve0_hs0_vs0_2009-07-21_08-10-31']);
+            end
+        elseif (gap < 0.5*(35 + 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2009-07-21_08-11-28';
+                                      'C1G35_he-5_ve0_hs0_vs0_2009-07-21_08-11-39 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-11-51  ';
+                                      'C1G35_he5_ve0_hs0_vs0_2009-07-21_08-12-02  ';
+                                      'C1G35_he10_ve0_hs0_vs0_2009-07-21_08-12-13 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2009-07-21_08-11-15';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-11-15';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-11-51';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-11-51';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-11-51']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2009-07-21_08-12-39';
+                                      'C1G35_he0_ve-5_hs0_vs0_2009-07-21_08-12-51 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-13-02  ';
+                                      'C1G35_he0_ve5_hs0_vs0_2009-07-21_08-13-16  ';
+                                      'C1G35_he0_ve10_hs0_vs0_2009-07-21_08-13-27 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2009-07-21_08-12-26';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-12-26';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-13-02';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-13-02';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-13-02']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2009-07-21_08-13-52';
+                                      'C1G35_he0_ve0_hs-5_vs0_2009-07-21_08-14-03 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-14-15  ';
+                                      'C1G35_he0_ve0_hs5_vs0_2009-07-21_08-14-26  ';
+                                      'C1G35_he0_ve0_hs10_vs0_2009-07-21_08-14-40 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2009-07-21_08-13-40';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-13-40';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-14-15';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-14-15';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-14-15']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2009-07-21_08-15-06';
+                                      'C1G35_he0_ve0_hs0_vs-5_2009-07-21_08-15-19 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-15-31  ';
+                                      'C1G35_he0_ve0_hs0_vs5_2009-07-21_08-15-42  ';
+                                      'C1G35_he0_ve0_hs0_vs10_2009-07-21_08-15-53 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2009-07-21_08-14-53';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-14-53';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-15-31';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-15-31';
+                                      'C1G35_he0_ve0_hs0_vs0_2009-07-21_08-15-31']);
+            end
+        elseif (gap < 0.5*(40 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2009-07-21_08-16-44';
+                                      'C1G40_he-5_ve0_hs0_vs0_2009-07-21_08-16-56 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-17-08  ';
+                                      'C1G40_he5_ve0_hs0_vs0_2009-07-21_08-17-19  ';
+                                      'C1G40_he10_ve0_hs0_vs0_2009-07-21_08-17-31 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2009-07-21_08-16-31';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-16-31';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-17-08';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-17-08';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-17-08']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2009-07-21_08-17-57';
+                                      'C1G40_he0_ve-5_hs0_vs0_2009-07-21_08-18-09 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-18-20  ';
+                                      'C1G40_he0_ve5_hs0_vs0_2009-07-21_08-18-32  ';
+                                      'C1G40_he0_ve10_hs0_vs0_2009-07-21_08-18-44 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2009-07-21_08-17-44';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-17-44';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-18-20';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-18-20';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-18-20']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2009-07-21_08-19-10';
+                                      'C1G40_he0_ve0_hs-5_vs0_2009-07-21_08-19-21 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-19-32  ';
+                                      'C1G40_he0_ve0_hs5_vs0_2009-07-21_08-19-44  ';
+                                      'C1G40_he0_ve0_hs10_vs0_2009-07-21_08-19-56 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2009-07-21_08-18-57';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-18-57';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-19-32';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-19-32';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-19-32']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2009-07-21_08-20-21';
+                                      'C1G40_he0_ve0_hs0_vs-5_2009-07-21_08-20-32 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-20-43  ';
+                                      'C1G40_he0_ve0_hs0_vs5_2009-07-21_08-20-55  ';
+                                      'C1G40_he0_ve0_hs0_vs10_2009-07-21_08-21-07 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2009-07-21_08-20-08';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-20-08';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-20-43';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-20-43';
+                                      'C1G40_he0_ve0_hs0_vs0_2009-07-21_08-20-43']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2009-07-21_08-21-45';
+                                      'C1G50_he-5_ve0_hs0_vs0_2009-07-21_08-21-56 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-22-07  ';
+                                      'C1G50_he5_ve0_hs0_vs0_2009-07-21_08-22-19  ';
+                                      'C1G50_he10_ve0_hs0_vs0_2009-07-21_08-22-31 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2009-07-21_08-21-33';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-21-33';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-22-07';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-22-07';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-22-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2009-07-21_08-22-57';
+                                      'C1G50_he0_ve-5_hs0_vs0_2009-07-21_08-23-09 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-23-20  ';
+                                      'C1G50_he0_ve5_hs0_vs0_2009-07-21_08-23-32  ';
+                                      'C1G50_he0_ve10_hs0_vs0_2009-07-21_08-23-43 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2009-07-21_08-22-44';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-22-44';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-23-20';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-23-20';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-23-20']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2009-07-21_08-24-09';
+                                      'C1G50_he0_ve0_hs-5_vs0_2009-07-21_08-24-21 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-24-32  ';
+                                      'C1G50_he0_ve0_hs5_vs0_2009-07-21_08-24-44  ';
+                                      'C1G50_he0_ve0_hs10_vs0_2009-07-21_08-24-56 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2009-07-21_08-23-56';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-23-56';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-24-32';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-24-32';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-24-32']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2009-07-21_08-25-23';
+                                      'C1G50_he0_ve0_hs0_vs-5_2009-07-21_08-25-34 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-25-46  ';
+                                      'C1G50_he0_ve0_hs0_vs5_2009-07-21_08-25-57  ';
+                                      'C1G50_he0_ve0_hs0_vs10_2009-07-21_08-26-09 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2009-07-21_08-25-10';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-25-10';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-25-46';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-25-46';
+                                      'C1G50_he0_ve0_hs0_vs0_2009-07-21_08-25-46']);
+            end
+        elseif (gap < 0.5*(60 + 70))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2009-07-21_08-26-45';
+                                      'C1G60_he-5_ve0_hs0_vs0_2009-07-21_08-26-56 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-27-07  ';
+                                      'C1G60_he5_ve0_hs0_vs0_2009-07-21_08-27-19  ';
+                                      'C1G60_he10_ve0_hs0_vs0_2009-07-21_08-27-30 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2009-07-21_08-26-31';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-26-31';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-27-07';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-27-07';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-27-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2009-07-21_08-27-56';
+                                      'C1G60_he0_ve-5_hs0_vs0_2009-07-21_08-28-08 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-28-19  ';
+                                      'C1G60_he0_ve5_hs0_vs0_2009-07-21_08-28-30  ';
+                                      'C1G60_he0_ve10_hs0_vs0_2009-07-21_08-28-42 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2009-07-21_08-27-43';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-27-43';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-28-19';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-28-19';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-28-19']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2009-07-21_08-29-08';
+                                      'C1G60_he0_ve0_hs-5_vs0_2009-07-21_08-29-19 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-29-30  ';
+                                      'C1G60_he0_ve0_hs5_vs0_2009-07-21_08-29-41  ';
+                                      'C1G60_he0_ve0_hs10_vs0_2009-07-21_08-29-53 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2009-07-21_08-28-55';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-28-55';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-29-30';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-29-30';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-29-30']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2009-07-21_08-30-20';
+                                      'C1G60_he0_ve0_hs0_vs-5_2009-07-21_08-30-31 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-30-43  ';
+                                      'C1G60_he0_ve0_hs0_vs5_2009-07-21_08-30-54  ';
+                                      'C1G60_he0_ve0_hs0_vs10_2009-07-21_08-31-05 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2009-07-21_08-30-06';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-30-06';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-30-43';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-30-43';
+                                      'C1G60_he0_ve0_hs0_vs0_2009-07-21_08-30-43']);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2009-07-21_08-31-39';
+                                      'C1G70_he-5_ve0_hs0_vs0_2009-07-21_08-31-50 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-32-02  ';
+                                      'C1G70_he5_ve0_hs0_vs0_2009-07-21_08-32-13  ';
+                                      'C1G70_he10_ve0_hs0_vs0_2009-07-21_08-32-25 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2009-07-21_08-31-26';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-31-26';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-32-02';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-32-02';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-32-02']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2009-07-21_08-32-51';
+                                      'C1G70_he0_ve-5_hs0_vs0_2009-07-21_08-33-02 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-33-13  ';
+                                      'C1G70_he0_ve5_hs0_vs0_2009-07-21_08-33-24  ';
+                                      'C1G70_he0_ve10_hs0_vs0_2009-07-21_08-33-36 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2009-07-21_08-32-37';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-32-37';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-33-13';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-33-13';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-33-13']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2009-07-21_08-34-02';
+                                      'C1G70_he0_ve0_hs-5_vs0_2009-07-21_08-34-13 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-34-24  ';
+                                      'C1G70_he0_ve0_hs5_vs0_2009-07-21_08-34-36  ';
+                                      'C1G70_he0_ve0_hs10_vs0_2009-07-21_08-34-48 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2009-07-21_08-33-49';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-33-49';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-34-24';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-34-24';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-34-24']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2009-07-21_08-35-13';
+                                      'C1G70_he0_ve0_hs0_vs-5_2009-07-21_08-35-25 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-35-36  ';
+                                      'C1G70_he0_ve0_hs0_vs5_2009-07-21_08-35-47  ';
+                                      'C1G70_he0_ve0_hs0_vs10_2009-07-21_08-35-59 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2009-07-21_08-35-00';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-35-00';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-35-36';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-35-36';
+                                      'C1G70_he0_ve0_hs0_vs0_2009-07-21_08-35-36']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2009-07-21_08-37-03';
+                                      'C1G80_he-5_ve0_hs0_vs0_2009-07-21_08-37-15 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-37-27  ';
+                                      'C1G80_he5_ve0_hs0_vs0_2009-07-21_08-37-38  ';
+                                      'C1G80_he10_ve0_hs0_vs0_2009-07-21_08-37-50 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2009-07-21_08-36-50';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-36-50';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-37-27';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-37-27';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-37-27']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2009-07-21_08-38-16';
+                                      'C1G80_he0_ve-5_hs0_vs0_2009-07-21_08-38-28 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-38-40  ';
+                                      'C1G80_he0_ve5_hs0_vs0_2009-07-21_08-38-51  ';
+                                      'C1G80_he0_ve10_hs0_vs0_2009-07-21_08-39-03 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2009-07-21_08-38-03';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-38-03';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-38-40';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-38-40';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-38-40']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2009-07-21_08-39-29';
+                                      'C1G80_he0_ve0_hs-5_vs0_2009-07-21_08-39-40 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-39-52  ';
+                                      'C1G80_he0_ve0_hs5_vs0_2009-07-21_08-40-03  ';
+                                      'C1G80_he0_ve0_hs10_vs0_2009-07-21_08-40-15 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2009-07-21_08-39-16';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-39-16';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-39-52';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-39-52';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-39-52']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2009-07-21_08-40-42';
+                                      'C1G80_he0_ve0_hs0_vs-5_2009-07-21_08-40-53 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-41-05  ';
+                                      'C1G80_he0_ve0_hs0_vs5_2009-07-21_08-41-16  ';
+                                      'C1G80_he0_ve0_hs0_vs10_2009-07-21_08-41-29 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2009-07-21_08-40-28';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-40-28';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-41-05';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-41-05';
+                                      'C1G80_he0_ve0_hs0_vs0_2009-07-21_08-41-05']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2009-07-21_08-42-04';
+                                      'C1G90_he-5_ve0_hs0_vs0_2009-07-21_08-42-16 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-42-27  ';
+                                      'C1G90_he5_ve0_hs0_vs0_2009-07-21_08-42-38  ';
+                                      'C1G90_he10_ve0_hs0_vs0_2009-07-21_08-42-50 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2009-07-21_08-41-51';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-41-51';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-42-27';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-42-27';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-42-27']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2009-07-21_08-43-17';
+                                      'C1G90_he0_ve-5_hs0_vs0_2009-07-21_08-43-28 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-43-39  ';
+                                      'C1G90_he0_ve5_hs0_vs0_2009-07-21_08-43-51  ';
+                                      'C1G90_he0_ve10_hs0_vs0_2009-07-21_08-44-04 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2009-07-21_08-43-03';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-43-03';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-43-39';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-43-39';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-43-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2009-07-21_08-44-30';
+                                      'C1G90_he0_ve0_hs-5_vs0_2009-07-21_08-44-42 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-44-53  ';
+                                      'C1G90_he0_ve0_hs5_vs0_2009-07-21_08-45-05  ';
+                                      'C1G90_he0_ve0_hs10_vs0_2009-07-21_08-45-17 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2009-07-21_08-44-17';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-44-17';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-44-53';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-44-53';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-44-53']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2009-07-21_08-45-43';
+                                      'C1G90_he0_ve0_hs0_vs-5_2009-07-21_08-45-54 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-46-05  ';
+                                      'C1G90_he0_ve0_hs0_vs5_2009-07-21_08-46-17  ';
+                                      'C1G90_he0_ve0_hs0_vs10_2009-07-21_08-46-29 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2009-07-21_08-45-30';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-45-30';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-46-05';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-46-05';
+                                      'C1G90_he0_ve0_hs0_vs0_2009-07-21_08-46-05']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2009-07-21_08-47-11';
+                                      'C1G100_he-5_ve0_hs0_vs0_2009-07-21_08-47-23 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-47-35  ';
+                                      'C1G100_he5_ve0_hs0_vs0_2009-07-21_08-47-47  ';
+                                      'C1G100_he10_ve0_hs0_vs0_2009-07-21_08-47-58 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2009-07-21_08-46-59';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-46-59';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-47-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-47-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-47-35']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2009-07-21_08-48-24';
+                                      'C1G100_he0_ve-5_hs0_vs0_2009-07-21_08-48-36 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-48-47  ';
+                                      'C1G100_he0_ve5_hs0_vs0_2009-07-21_08-48-59  ';
+                                      'C1G100_he0_ve10_hs0_vs0_2009-07-21_08-49-10 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2009-07-21_08-48-11';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-48-11';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-48-47';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-48-47';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-48-47']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2009-07-21_08-49-36';
+                                      'C1G100_he0_ve0_hs-5_vs0_2009-07-21_08-49-47 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-49-58  ';
+                                      'C1G100_he0_ve0_hs5_vs0_2009-07-21_08-50-11  ';
+                                      'C1G100_he0_ve0_hs10_vs0_2009-07-21_08-50-22 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2009-07-21_08-49-23';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-49-23';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-49-58';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-49-58';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-49-58']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2009-07-21_08-50-48';
+                                      'C1G100_he0_ve0_hs0_vs-5_2009-07-21_08-51-00 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-51-11  ';
+                                      'C1G100_he0_ve0_hs0_vs5_2009-07-21_08-51-22  ';
+                                      'C1G100_he0_ve0_hs0_vs10_2009-07-21_08-51-34 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2009-07-21_08-50-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-50-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-51-11';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-51-11';
+                                      'C1G100_he0_ve0_hs0_vs0_2009-07-21_08-51-11']);
+            end
+        elseif (gap < 0.5*(110 + 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2009-07-21_08-52-10';
+                                      'C1G110_he-5_ve0_hs0_vs0_2009-07-21_08-52-22 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-52-33  ';
+                                      'C1G110_he5_ve0_hs0_vs0_2009-07-21_08-52-45  ';
+                                      'C1G110_he10_ve0_hs0_vs0_2009-07-21_08-52-57 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2009-07-21_08-51-57';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-51-57';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-52-33';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-52-33';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-52-33']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2009-07-21_08-53-23';
+                                      'C1G110_he0_ve-5_hs0_vs0_2009-07-21_08-53-35 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-53-46  ';
+                                      'C1G110_he0_ve5_hs0_vs0_2009-07-21_08-53-58  ';
+                                      'C1G110_he0_ve10_hs0_vs0_2009-07-21_08-54-09 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2009-07-21_08-53-10';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-53-10';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-53-46';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-53-46';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-53-46']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2009-07-21_08-54-36';
+                                      'C1G110_he0_ve0_hs-5_vs0_2009-07-21_08-54-47 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-54-59  ';
+                                      'C1G110_he0_ve0_hs5_vs0_2009-07-21_08-55-11  ';
+                                      'C1G110_he0_ve0_hs10_vs0_2009-07-21_08-55-22 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2009-07-21_08-54-23';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-54-23';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-54-59';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-54-59';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-54-59']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2009-07-21_08-55-48';
+                                      'C1G110_he0_ve0_hs0_vs-5_2009-07-21_08-56-00 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-56-11  ';
+                                      'C1G110_he0_ve0_hs0_vs5_2009-07-21_08-56-23  ';
+                                      'C1G110_he0_ve0_hs0_vs10_2009-07-21_08-56-34 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2009-07-21_08-55-35';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-55-35';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-56-11';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-56-11';
+                                      'C1G110_he0_ve0_hs0_vs0_2009-07-21_08-56-11']);
+            end
+        elseif (gap < 0.5*(130 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2009-07-21_08-57-14';
+                                      'C1G130_he-5_ve0_hs0_vs0_2009-07-21_08-57-25 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-57-36  ';
+                                      'C1G130_he5_ve0_hs0_vs0_2009-07-21_08-57-48  ';
+                                      'C1G130_he10_ve0_hs0_vs0_2009-07-21_08-57-59 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2009-07-21_08-57-01';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-57-01';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-57-36';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-57-36';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-57-36']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2009-07-21_08-58-27';
+                                      'C1G130_he0_ve-5_hs0_vs0_2009-07-21_08-58-38 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-58-50  ';
+                                      'C1G130_he0_ve5_hs0_vs0_2009-07-21_08-59-03  ';
+                                      'C1G130_he0_ve10_hs0_vs0_2009-07-21_08-59-14 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2009-07-21_08-58-12';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-58-12';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-58-50';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-58-50';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-58-50']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2009-07-21_08-59-40';
+                                      'C1G130_he0_ve0_hs-5_vs0_2009-07-21_08-59-52 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-00-04  ';
+                                      'C1G130_he0_ve0_hs5_vs0_2009-07-21_09-00-15  ';
+                                      'C1G130_he0_ve0_hs10_vs0_2009-07-21_09-00-29 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2009-07-21_08-59-27';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_08-59-27';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-00-04';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-00-04';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-00-04']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2009-07-21_09-00-55';
+                                      'C1G130_he0_ve0_hs0_vs-5_2009-07-21_09-01-07 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-01-19  ';
+                                      'C1G130_he0_ve0_hs0_vs5_2009-07-21_09-01-31  ';
+                                      'C1G130_he0_ve0_hs0_vs10_2009-07-21_09-01-43 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2009-07-21_09-00-42';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-00-42';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-01-19';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-01-19';
+                                      'C1G130_he0_ve0_hs0_vs0_2009-07-21_09-01-19']);
+            end
+        elseif (gap < 0.5*(150 + 175))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2009-07-21_09-02-21';
+                                      'C1G150_he-5_ve0_hs0_vs0_2009-07-21_09-02-34 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-02-45  ';
+                                      'C1G150_he5_ve0_hs0_vs0_2009-07-21_09-02-57  ';
+                                      'C1G150_he10_ve0_hs0_vs0_2009-07-21_09-03-09 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2009-07-21_09-02-08';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-02-08';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-02-45';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-02-45';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-02-45']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2009-07-21_09-03-35';
+                                      'C1G150_he0_ve-5_hs0_vs0_2009-07-21_09-03-48 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-03-59  ';
+                                      'C1G150_he0_ve5_hs0_vs0_2009-07-21_09-04-11  ';
+                                      'C1G150_he0_ve10_hs0_vs0_2009-07-21_09-04-22 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2009-07-21_09-03-22';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-03-22';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-03-59';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-03-59';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-03-59']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2009-07-21_09-04-49';
+                                      'C1G150_he0_ve0_hs-5_vs0_2009-07-21_09-05-00 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-05-11  ';
+                                      'C1G150_he0_ve0_hs5_vs0_2009-07-21_09-05-23  ';
+                                      'C1G150_he0_ve0_hs10_vs0_2009-07-21_09-05-36 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2009-07-21_09-04-35';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-04-35';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-05-11';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-05-11';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-05-11']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2009-07-21_09-06-03';
+                                      'C1G150_he0_ve0_hs0_vs-5_2009-07-21_09-06-14 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-06-26  ';
+                                      'C1G150_he0_ve0_hs0_vs5_2009-07-21_09-06-37  ';
+                                      'C1G150_he0_ve0_hs0_vs10_2009-07-21_09-06-49 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2009-07-21_09-05-49';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-05-49';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-06-26';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-06-26';
+                                      'C1G150_he0_ve0_hs0_vs0_2009-07-21_09-06-26']);
+            end
+        elseif (gap < 0.5*(175 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G175_he-10_ve0_hs0_vs0_2009-07-21_09-08-02';
+                                      'C1G175_he-5_ve0_hs0_vs0_2009-07-21_09-08-14 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-08-26  ';
+                                      'C1G175_he5_ve0_hs0_vs0_2009-07-21_09-08-37  ';
+                                      'C1G175_he10_ve0_hs0_vs0_2009-07-21_09-08-48 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2009-07-21_09-07-47';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-07-47';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-08-26';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-08-26';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-08-26']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G175_he0_ve-10_hs0_vs0_2009-07-21_09-09-15';
+                                      'C1G175_he0_ve-5_hs0_vs0_2009-07-21_09-09-26 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-09-38  ';
+                                      'C1G175_he0_ve5_hs0_vs0_2009-07-21_09-09-49  ';
+                                      'C1G175_he0_ve10_hs0_vs0_2009-07-21_09-10-01 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2009-07-21_09-09-01';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-09-01';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-09-38';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-09-38';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-09-38']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G175_he0_ve0_hs-10_vs0_2009-07-21_09-10-27';
+                                      'C1G175_he0_ve0_hs-5_vs0_2009-07-21_09-10-38 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-10-50  ';
+                                      'C1G175_he0_ve0_hs5_vs0_2009-07-21_09-11-01  ';
+                                      'C1G175_he0_ve0_hs10_vs0_2009-07-21_09-11-13 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2009-07-21_09-10-14';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-10-14';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-10-50';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-10-50';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-10-50']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G175_he0_ve0_hs0_vs-10_2009-07-21_09-11-40';
+                                      'C1G175_he0_ve0_hs0_vs-5_2009-07-21_09-11-51 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-12-02  ';
+                                      'C1G175_he0_ve0_hs0_vs5_2009-07-21_09-12-13  ';
+                                      'C1G175_he0_ve0_hs0_vs10_2009-07-21_09-12-25 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2009-07-21_09-11-27';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-11-27';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-12-02';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-12-02';
+                                      'C1G175_he0_ve0_hs0_vs0_2009-07-21_09-12-02']);
+            end
+        elseif (gap < 0.5*(200 + 225))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2009-07-21_09-13-08';
+                                      'C1G200_he-5_ve0_hs0_vs0_2009-07-21_09-13-20 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-13-31  ';
+                                      'C1G200_he5_ve0_hs0_vs0_2009-07-21_09-13-43  ';
+                                      'C1G200_he10_ve0_hs0_vs0_2009-07-21_09-13-54 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2009-07-21_09-12-55';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-12-55';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-13-31';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-13-31';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-13-31']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2009-07-21_09-14-19';
+                                      'C1G200_he0_ve-5_hs0_vs0_2009-07-21_09-14-31 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-14-43  ';
+                                      'C1G200_he0_ve5_hs0_vs0_2009-07-21_09-14-55  ';
+                                      'C1G200_he0_ve10_hs0_vs0_2009-07-21_09-15-06 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2009-07-21_09-14-07';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-14-07';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-14-43';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-14-43';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-14-43']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2009-07-21_09-15-32';
+                                      'C1G200_he0_ve0_hs-5_vs0_2009-07-21_09-15-43 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-15-54  ';
+                                      'C1G200_he0_ve0_hs5_vs0_2009-07-21_09-16-06  ';
+                                      'C1G200_he0_ve0_hs10_vs0_2009-07-21_09-16-19 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2009-07-21_09-15-19';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-15-19';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-15-54';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-15-54';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-15-54']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2009-07-21_09-16-46';
+                                      'C1G200_he0_ve0_hs0_vs-5_2009-07-21_09-16-57 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-17-09  ';
+                                      'C1G200_he0_ve0_hs0_vs5_2009-07-21_09-17-20  ';
+                                      'C1G200_he0_ve0_hs0_vs10_2009-07-21_09-17-31 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2009-07-21_09-16-32';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-16-32';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-17-09';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-17-09';
+                                      'C1G200_he0_ve0_hs0_vs0_2009-07-21_09-17-09']);
+            end
+        elseif (gap < 0.5*(225 + 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G225_he-10_ve0_hs0_vs0_2009-07-21_09-20-54';
+                                      'C1G225_he-5_ve0_hs0_vs0_2009-07-21_09-21-05 ';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-21-17  ';
+                                      'C1G225_he5_ve0_hs0_vs0_2009-07-21_09-21-29  ';
+                                      'C1G225_he10_ve0_hs0_vs0_2009-07-21_09-21-40 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2009-07-21_09-20-40';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-20-40';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-21-17';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-21-17';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-21-17']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G225_he0_ve-10_hs0_vs0_2009-07-21_09-22-07';
+                                      'C1G225_he0_ve-5_hs0_vs0_2009-07-21_09-22-20 ';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-22-32  ';
+                                      'C1G225_he0_ve5_hs0_vs0_2009-07-21_09-22-43  ';
+                                      'C1G225_he0_ve10_hs0_vs0_2009-07-21_09-22-55 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2009-07-21_09-21-54';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-21-54';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-22-32';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-22-32';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-22-32']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G225_he0_ve0_hs-10_vs0_2009-07-21_09-23-21';
+                                      'C1G225_he0_ve0_hs-5_vs0_2009-07-21_09-23-32 ';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-23-44  ';
+                                      'C1G225_he0_ve0_hs5_vs0_2009-07-21_09-23-55  ';
+                                      'C1G225_he0_ve0_hs10_vs0_2009-07-21_09-24-07 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2009-07-21_09-23-08';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-23-08';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-23-44';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-23-44';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-23-44']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G225_he0_ve0_hs0_vs-10_2009-07-21_09-24-33';
+                                      'C1G225_he0_ve0_hs0_vs-5_2009-07-21_09-24-44 ';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-24-56  ';
+                                      'C1G225_he0_ve0_hs0_vs5_2009-07-21_09-25-07  ';
+                                      'C1G225_he0_ve0_hs0_vs10_2009-07-21_09-25-18 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2009-07-21_09-24-19';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-24-19';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-24-56';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-24-56';
+                                      'C1G225_he0_ve0_hs0_vs0_2009-07-21_09-24-56']);
+            end
+        elseif (gap >= 0.5*(225 + 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G240_he-10_ve0_hs0_vs0_2009-07-21_09-26-06';
+                                      'C1G240_he-5_ve0_hs0_vs0_2009-07-21_09-26-17 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-26-29  ';
+                                      'C1G240_he5_ve0_hs0_vs0_2009-07-21_09-26-40  ';
+                                      'C1G240_he10_ve0_hs0_vs0_2009-07-21_09-26-52 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2009-07-21_09-25-53';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-25-53';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-26-29';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-26-29';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-26-29']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G240_he0_ve-10_hs0_vs0_2009-07-21_09-27-18';
+                                      'C1G240_he0_ve-5_hs0_vs0_2009-07-21_09-27-29 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-27-41  ';
+                                      'C1G240_he0_ve5_hs0_vs0_2009-07-21_09-27-52  ';
+                                      'C1G240_he0_ve10_hs0_vs0_2009-07-21_09-28-04 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2009-07-21_09-27-05';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-27-05';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-27-41';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-27-41';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-27-41']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs-10_vs0_2009-07-21_09-28-30';
+                                      'C1G240_he0_ve0_hs-5_vs0_2009-07-21_09-28-41 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-28-53  ';
+                                      'C1G240_he0_ve0_hs5_vs0_2009-07-21_09-29-06  ';
+                                      'C1G240_he0_ve0_hs10_vs0_2009-07-21_09-29-17 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2009-07-21_09-28-17';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-28-17';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-28-53';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-28-53';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-28-53']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs0_vs-10_2009-07-21_09-29-44';
+                                      'C1G240_he0_ve0_hs0_vs-5_2009-07-21_09-29-55 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-30-07  ';
+                                      'C1G240_he0_ve0_hs0_vs5_2009-07-21_09-30-18  ';
+                                      'C1G240_he0_ve0_hs0_vs10_2009-07-21_09-30-32 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2009-07-21_09-29-30';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-29-30';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-30-07';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-30-07';
+                                      'C1G240_he0_ve0_hs0_vs0_2009-07-21_09-30-07']);
+            end
+        end
+
+    end % End of HU60 ANTARES
+
+%% HU52 DEIMOS    
+
+elseif strncmp(idName, 'HU52', 4)
+    if strcmp(idName, 'HU52_DEIMOS')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap < 0.5*(15.5 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2008-04-13_11-40-06';
+                                      'C1G15_5_he-5_ve0_hs0_vs0_2008-04-13_11-40-24 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-40-42  ';
+                                      'C1G15_5_he5_ve0_hs0_vs0_2008-04-13_11-40-53  ';
+                                      'C1G15_5_he10_ve0_hs0_vs0_2008-04-13_11-41-04 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-39-47';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-39-47';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-40-42';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-40-42';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-40-42']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2008-04-13_11-41-29';
+                                      'C1G15_5_he0_ve-5_hs0_vs0_2008-04-13_11-41-41 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-41-52  ';
+                                      'C1G15_5_he0_ve5_hs0_vs0_2008-04-13_11-42-04  ';
+                                      'C1G15_5_he0_ve10_hs0_vs0_2008-04-13_11-42-16 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-41-17';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-41-17';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-41-52';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-41-52';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-41-52']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2008-04-13_11-42-40';
+                                      'C1G15_5_he0_ve0_hs-5_vs0_2008-04-13_11-42-51 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-43-03  ';
+                                      'C1G15_5_he0_ve0_hs5_vs0_2008-04-13_11-43-14  ';
+                                      'C1G15_5_he0_ve0_hs10_vs0_2008-04-13_11-43-25 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-42-28';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-42-28';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-43-03';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-43-03';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-43-03']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2008-04-13_11-43-50';
+                                      'C1G15_5_he0_ve0_hs0_vs-5_2008-04-13_11-44-01 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-44-12  ';
+                                      'C1G15_5_he0_ve0_hs0_vs5_2008-04-13_11-44-23  ';
+                                      'C1G15_5_he0_ve0_hs0_vs10_2008-04-13_11-44-35 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-43-37';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-43-37';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-44-12';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-44-12';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-04-13_11-44-12']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2008-04-13_12-04-40';
+                                      'C1G18_he-5_ve0_hs0_vs0_2008-04-13_12-04-51 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-05-02  ';
+                                      'C1G18_he5_ve0_hs0_vs0_2008-04-13_12-05-15  ';
+                                      'C1G18_he10_ve0_hs0_vs0_2008-04-13_12-05-26 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-04-13_12-04-27';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-04-27';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-05-02';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-05-02';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-05-02']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2008-04-13_12-05-52';
+                                      'C1G18_he0_ve-5_hs0_vs0_2008-04-13_12-06-04 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-06-16  ';
+                                      'C1G18_he0_ve5_hs0_vs0_2008-04-13_12-06-29  ';
+                                      'C1G18_he0_ve10_hs0_vs0_2008-04-13_12-06-40 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-04-13_12-05-39';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-05-39';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-06-16';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-06-16';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-06-16']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2008-04-13_12-07-05';
+                                      'C1G18_he0_ve0_hs-5_vs0_2008-04-13_12-07-17 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-07-28  ';
+                                      'C1G18_he0_ve0_hs5_vs0_2008-04-13_12-07-39  ';
+                                      'C1G18_he0_ve0_hs10_vs0_2008-04-13_12-07-51 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-04-13_12-06-53';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-06-53';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-07-28';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-07-28';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-07-28']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2008-04-13_12-08-15';
+                                      'C1G18_he0_ve0_hs0_vs-5_2008-04-13_12-08-27 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-08-38  ';
+                                      'C1G18_he0_ve0_hs0_vs5_2008-04-13_12-08-50  ';
+                                      'C1G18_he0_ve0_hs0_vs10_2008-04-13_12-09-01 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-04-13_12-08-03';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-08-03';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-08-38';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-08-38';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-04-13_12-08-38']);
+            end
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2008-04-13_12-10-35';
+                                      'C1G20_he-5_ve0_hs0_vs0_2008-04-13_12-10-46 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-10-58  ';
+                                      'C1G20_he5_ve0_hs0_vs0_2008-04-13_12-11-09  ';
+                                      'C1G20_he10_ve0_hs0_vs0_2008-04-13_12-11-21 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-04-13_12-10-23';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-10-23';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-10-58';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-10-58';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-10-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2008-04-13_12-11-46';
+                                      'C1G20_he0_ve-5_hs0_vs0_2008-04-13_12-11-57 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-12-10  ';
+                                      'C1G20_he0_ve5_hs0_vs0_2008-04-13_12-12-22  ';
+                                      'C1G20_he0_ve10_hs0_vs0_2008-04-13_12-12-35 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-04-13_12-11-33';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-11-33';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-12-10';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-12-10';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-12-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2008-04-13_12-12-59';
+                                      'C1G20_he0_ve0_hs-5_vs0_2008-04-13_12-13-10 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-13-21  ';
+                                      'C1G20_he0_ve0_hs5_vs0_2008-04-13_12-13-33  ';
+                                      'C1G20_he0_ve0_hs10_vs0_2008-04-13_12-13-44 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-04-13_12-12-47';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-12-47';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-13-21';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-13-21';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-13-21']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2008-04-13_12-14-09';
+                                      'C1G20_he0_ve0_hs0_vs-5_2008-04-13_12-14-21 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-14-32  ';
+                                      'C1G20_he0_ve0_hs0_vs5_2008-04-13_12-14-44  ';
+                                      'C1G20_he0_ve0_hs0_vs10_2008-04-13_12-14-55 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-04-13_12-13-57';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-13-57';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-14-32';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-14-32';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-04-13_12-14-32']);
+            end
+        elseif (gap < 0.5*(25 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2008-04-13_12-18-01';
+                                      'C1G25_he-5_ve0_hs0_vs0_2008-04-13_12-18-12 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-18-24  ';
+                                      'C1G25_he5_ve0_hs0_vs0_2008-04-13_12-18-35  ';
+                                      'C1G25_he10_ve0_hs0_vs0_2008-04-13_12-18-47 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-04-13_12-17-48';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-17-48';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-18-24';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-18-24';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-18-24']);                  
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2008-04-13_12-19-12';
+                                      'C1G25_he0_ve-5_hs0_vs0_2008-04-13_12-19-23 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-19-34  ';
+                                      'C1G25_he0_ve5_hs0_vs0_2008-04-13_12-19-46  ';
+                                      'C1G25_he0_ve10_hs0_vs0_2008-04-13_12-19-57 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-04-13_12-19-34';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-19-34';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-10';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-10';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2008-04-13_12-20-22';
+                                      'C1G25_he0_ve0_hs-5_vs0_2008-04-13_12-20-34 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-45  ';
+                                      'C1G25_he0_ve0_hs5_vs0_2008-04-13_12-20-56  ';
+                                      'C1G25_he0_ve0_hs10_vs0_2008-04-13_12-21-08 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-10';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-10';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-45';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-45';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-20-45']);               
+            elseif strcmp(corName, 'CVS')                
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2008-04-13_12-21-32';
+                                      'C1G25_he0_ve0_hs0_vs-5_2008-04-13_12-21-43 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-21-55  ';
+                                      'C1G25_he0_ve0_hs0_vs5_2008-04-13_12-22-06  ';
+                                      'C1G25_he0_ve0_hs0_vs10_2008-04-13_12-22-17 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-04-13_12-21-20';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-21-20';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-21-55';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-21-55';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-04-13_12-21-55']);
+            end
+        elseif (gap < 0.5*(30 + 35))
+            if strcmp(corName, 'CHE')
+
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2008-04-13_12-25-34';
+                                      'C1G30_he-5_ve0_hs0_vs0_2008-04-13_12-25-45 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-25-58  ';
+                                      'C1G30_he5_ve0_hs0_vs0_2008-04-13_12-26-09  ';
+                                      'C1G30_he10_ve0_hs0_vs0_2008-04-13_12-26-22 ']);
+
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-04-13_12-25-21';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-25-21';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-25-58';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-25-58';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-25-58']);
+
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2008-04-13_12-26-46';
+                                      'C1G30_he0_ve-5_hs0_vs0_2008-04-13_12-26-58 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-27-09  ';
+                                      'C1G30_he0_ve5_hs0_vs0_2008-04-13_12-27-21  ';
+                                      'C1G30_he0_ve10_hs0_vs0_2008-04-13_12-27-32 ']);
+
+
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-04-13_12-26-34';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-26-34';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-27-09';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-27-09';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-27-09']);
+
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2008-04-13_12-27-57';
+                                      'C1G30_he0_ve0_hs-5_vs0_2008-04-13_12-28-08 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-28-19  ';
+                                      'C1G30_he0_ve0_hs5_vs0_2008-04-13_12-28-31  ';
+                                      'C1G30_he0_ve0_hs10_vs0_2008-04-13_12-28-42 ']);
+
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-04-13_12-27-44';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-27-44';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-28-19';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-28-19';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-28-19']);
+
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2008-04-13_12-29-07';
+                                      'C1G30_he0_ve0_hs0_vs-5_2008-04-13_12-29-19 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-29-31  ';
+                                      'C1G30_he0_ve0_hs0_vs5_2008-04-13_12-29-43  ';
+                                      'C1G30_he0_ve0_hs0_vs10_2008-04-13_12-29-54 ']);
+
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-04-13_12-28-55';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-28-55';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-29-31';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-29-31';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-04-13_12-29-31']);
+
+            end            
+        elseif (gap < 0.5*(35 + 40))
+            if strcmp(corName, 'CHE')
+
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2008-04-13_12-42-37';
+                                      'C1G35_he-5_ve0_hs0_vs0_2008-04-13_12-42-48 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-43-00  ';
+                                      'C1G35_he5_ve0_hs0_vs0_2008-04-13_12-43-11  ';
+                                      'C1G35_he10_ve0_hs0_vs0_2008-04-13_12-43-22 ']);
+
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-04-13_12-42-24';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-42-24';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-43-00';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-43-00';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-43-00']);
+
+            elseif strcmp(corName, 'CVE')
+
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2008-04-13_12-43-47';
+                                      'C1G35_he0_ve-5_hs0_vs0_2008-04-13_12-44-00 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-44-11  ';
+                                      'C1G35_he0_ve5_hs0_vs0_2008-04-13_12-44-23  ';
+                                      'C1G35_he0_ve10_hs0_vs0_2008-04-13_12-44-34 ']);
+
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-04-13_12-43-35';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-43-35';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-44-11';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-44-11';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-44-11']);
+
+            elseif strcmp(corName, 'CHS')
+
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2008-04-13_12-44-59';
+                                      'C1G35_he0_ve0_hs-5_vs0_2008-04-13_12-45-10 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-45-22  ';
+                                      'C1G35_he0_ve0_hs5_vs0_2008-04-13_12-45-34  ';
+                                      'C1G35_he0_ve0_hs10_vs0_2008-04-13_12-45-45 ']);
+
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-04-13_12-44-47';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-44-47';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-45-22';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-45-22';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-45-22']);
+
+            elseif strcmp(corName, 'CVS')
+
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2008-04-13_12-46-10';
+                                      'C1G35_he0_ve0_hs0_vs-5_2008-04-13_12-46-21 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-46-34  ';
+                                      'C1G35_he0_ve0_hs0_vs5_2008-04-13_12-46-45  ';
+                                      'C1G35_he0_ve0_hs0_vs10_2008-04-13_12-46-57 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-04-13_12-45-57';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-45-57';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-46-34';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-46-34';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-04-13_12-46-34']);
+
+            end
+        elseif (gap < 0.5*(40 + 45))
+            if strcmp(corName, 'CHE')
+
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2008-04-13_12-59-45';
+                                      'C1G40_he-5_ve0_hs0_vs0_2008-04-13_12-59-57 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-00-08  ';
+                                      'C1G40_he5_ve0_hs0_vs0_2008-04-13_13-00-19  ';
+                                      'C1G40_he10_ve0_hs0_vs0_2008-04-13_13-00-31 ']);
+
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-04-13_12-59-32';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_12-59-32';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-00-08';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-00-08';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-00-08']);
+
+            elseif strcmp(corName, 'CVE')
+
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2008-04-13_13-00-56';
+                                      'C1G40_he0_ve-5_hs0_vs0_2008-04-13_13-01-08 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-01-19  ';
+                                      'C1G40_he0_ve5_hs0_vs0_2008-04-13_13-01-30  ';
+                                      'C1G40_he0_ve10_hs0_vs0_2008-04-13_13-01-42 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-04-13_13-00-43';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-00-43';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-01-19';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-01-19';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-01-19']);
+
+            elseif strcmp(corName, 'CHS')
+
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2008-04-13_13-02-07';
+                                      'C1G40_he0_ve0_hs-5_vs0_2008-04-13_13-02-18 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-02-30  ';
+                                      'C1G40_he0_ve0_hs5_vs0_2008-04-13_13-02-42  ';
+                                      'C1G40_he0_ve0_hs10_vs0_2008-04-13_13-02-53 ']);
+
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-04-13_13-01-55';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-01-55';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-02-30';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-02-30';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-02-30']);
+
+            elseif strcmp(corName, 'CVS')
+
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2008-04-13_13-03-17';
+                                      'C1G40_he0_ve0_hs0_vs-5_2008-04-13_13-03-29 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-03-41  ';
+                                      'C1G40_he0_ve0_hs0_vs5_2008-04-13_13-03-53  ';
+                                      'C1G40_he0_ve0_hs0_vs10_2008-04-13_13-04-04 ']);
+
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-04-13_13-03-05';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-03-05';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-03-41';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-03-41';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-04-13_13-03-41']);
+
+            end
+        elseif (gap < 0.5*(45 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G45_he-10_ve0_hs0_vs0_2008-04-13_13-08-34';
+                                      'C1G45_he-5_ve0_hs0_vs0_2008-04-13_13-08-46 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-08-57  ';
+                                      'C1G45_he5_ve0_hs0_vs0_2008-04-13_13-09-10  ';
+                                      'C1G45_he10_ve0_hs0_vs0_2008-04-13_13-09-21 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-04-13_13-08-22';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-08-22';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-08-57';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-08-57';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-08-57']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G45_he0_ve-10_hs0_vs0_2008-04-13_13-09-46';
+                                      'C1G45_he0_ve-5_hs0_vs0_2008-04-13_13-09-57 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-10-09  ';
+                                      'C1G45_he0_ve5_hs0_vs0_2008-04-13_13-10-20  ';
+                                      'C1G45_he0_ve10_hs0_vs0_2008-04-13_13-10-31 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-04-13_13-09-33';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-09-33';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-10-09';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-10-09';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-10-09']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs-10_vs0_2008-04-13_13-10-56';
+                                      'C1G45_he0_ve0_hs-5_vs0_2008-04-13_13-11-07 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-11-18  ';
+                                      'C1G45_he0_ve0_hs5_vs0_2008-04-13_13-11-29  ';
+                                      'C1G45_he0_ve0_hs10_vs0_2008-04-13_13-11-41 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-04-13_13-10-44';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-10-44';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-11-18';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-11-18';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-11-18']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs0_vs-10_2008-04-13_13-12-06';
+                                      'C1G45_he0_ve0_hs0_vs-5_2008-04-13_13-12-17 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-12-28  ';
+                                      'C1G45_he0_ve0_hs0_vs5_2008-04-13_13-12-39  ';
+                                      'C1G45_he0_ve0_hs0_vs10_2008-04-13_13-12-51 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-04-13_13-11-53';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-11-53';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-12-28';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-12-28';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-04-13_13-12-28']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+            
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2008-04-13_13-13-59';
+                                      'C1G50_he-5_ve0_hs0_vs0_2008-04-13_13-14-12 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-14-23  ';
+                                      'C1G50_he5_ve0_hs0_vs0_2008-04-13_13-14-35  ';
+                                      'C1G50_he10_ve0_hs0_vs0_2008-04-13_13-14-46 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-04-13_13-13-47';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-13-47';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-14-23';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-14-23';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-14-23']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2008-04-13_13-15-10';
+                                      'C1G50_he0_ve-5_hs0_vs0_2008-04-13_13-15-22 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-15-34  ';
+                                      'C1G50_he0_ve5_hs0_vs0_2008-04-13_13-15-45  ';
+                                      'C1G50_he0_ve10_hs0_vs0_2008-04-13_13-15-57 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-04-13_13-14-58';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-14-58';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-15-34';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-15-34';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-15-34']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2008-04-13_13-16-22';
+                                      'C1G50_he0_ve0_hs-5_vs0_2008-04-13_13-16-34 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-16-46  ';
+                                      'C1G50_he0_ve0_hs5_vs0_2008-04-13_13-16-57  ';
+                                      'C1G50_he0_ve0_hs10_vs0_2008-04-13_13-17-09 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-04-13_13-16-10';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-16-10';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-16-46';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-16-46';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-16-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2008-04-13_13-17-34';
+                                      'C1G50_he0_ve0_hs0_vs-5_2008-04-13_13-17-45 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-17-56  ';
+                                      'C1G50_he0_ve0_hs0_vs5_2008-04-13_13-18-08  ';
+                                      'C1G50_he0_ve0_hs0_vs10_2008-04-13_13-18-19 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-04-13_13-17-21';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-17-21';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-17-56';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-17-56';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-04-13_13-17-56']);
+            end
+        elseif (gap < 0.5*(60 + 70))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2008-04-13_13-21-28';
+                                      'C1G60_he-5_ve0_hs0_vs0_2008-04-13_13-21-39 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-21-51  ';
+                                      'C1G60_he5_ve0_hs0_vs0_2008-04-13_13-22-02  ';
+                                      'C1G60_he10_ve0_hs0_vs0_2008-04-13_13-22-14 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-04-13_13-21-16';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-21-16';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-21-51';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-21-51';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-21-51']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2008-04-13_13-22-38';
+                                      'C1G60_he0_ve-5_hs0_vs0_2008-04-13_13-22-49 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-23-01  ';
+                                      'C1G60_he0_ve5_hs0_vs0_2008-04-13_13-23-12  ';
+                                      'C1G60_he0_ve10_hs0_vs0_2008-04-13_13-23-23 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-04-13_13-22-26';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-22-26';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-23-01';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-23-01';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-23-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2008-04-13_13-23-48';
+                                      'C1G60_he0_ve0_hs-5_vs0_2008-04-13_13-23-59 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-24-11  ';
+                                      'C1G60_he0_ve0_hs5_vs0_2008-04-13_13-24-23  ';
+                                      'C1G60_he0_ve0_hs10_vs0_2008-04-13_13-24-34 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-04-13_13-23-35';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-23-35';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-24-11';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-24-11';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-24-11']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2008-04-13_13-24-58';
+                                      'C1G60_he0_ve0_hs0_vs-5_2008-04-13_13-25-10 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-25-22  ';
+                                      'C1G60_he0_ve0_hs0_vs5_2008-04-13_13-25-33  ';
+                                      'C1G60_he0_ve0_hs0_vs10_2008-04-13_13-25-46 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-04-13_13-24-46';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-24-46';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-25-22';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-25-22';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-04-13_13-25-22']);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2008-04-13_13-27-25';
+                                      'C1G70_he-5_ve0_hs0_vs0_2008-04-13_13-27-37 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-27-48  ';
+                                      'C1G70_he5_ve0_hs0_vs0_2008-04-13_13-28-00  ';
+                                      'C1G70_he10_ve0_hs0_vs0_2008-04-13_13-28-12 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-04-13_13-27-13';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-27-13';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-27-48';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-27-48';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-27-48']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2008-04-13_13-28-37';
+                                      'C1G70_he0_ve-5_hs0_vs0_2008-04-13_13-28-49 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-29-01  ';
+                                      'C1G70_he0_ve5_hs0_vs0_2008-04-13_13-29-13  ';
+                                      'C1G70_he0_ve10_hs0_vs0_2008-04-13_13-29-24 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-04-13_13-28-24';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-28-24';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-29-01';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-29-01';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-29-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2008-04-13_13-29-49';
+                                      'C1G70_he0_ve0_hs-5_vs0_2008-04-13_13-30-00 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-30-11  ';
+                                      'C1G70_he0_ve0_hs5_vs0_2008-04-13_13-30-22  ';
+                                      'C1G70_he0_ve0_hs10_vs0_2008-04-13_13-30-34 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-04-13_13-29-36';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-29-36';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-30-11';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-30-11';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-30-11']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2008-04-13_13-30-58';
+                                      'C1G70_he0_ve0_hs0_vs-5_2008-04-13_13-31-10 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-31-21  ';
+                                      'C1G70_he0_ve0_hs0_vs5_2008-04-13_13-31-32  ';
+                                      'C1G70_he0_ve0_hs0_vs10_2008-04-13_13-31-43 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-04-13_13-30-46';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-30-46';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-31-21';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-31-21';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-04-13_13-31-21']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2008-04-13_13-40-29';
+                                      'C1G80_he-5_ve0_hs0_vs0_2008-04-13_13-40-41 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-40-53  ';
+                                      'C1G80_he5_ve0_hs0_vs0_2008-04-13_13-41-05  ';
+                                      'C1G80_he10_ve0_hs0_vs0_2008-04-13_13-41-17 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-04-13_13-40-16';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-40-16';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-40-53';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-40-53';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-40-53']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2008-04-13_13-41-42';
+                                      'C1G80_he0_ve-5_hs0_vs0_2008-04-13_13-41-54 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-42-05  ';
+                                      'C1G80_he0_ve5_hs0_vs0_2008-04-13_13-42-16  ';
+                                      'C1G80_he0_ve10_hs0_vs0_2008-04-13_13-42-28 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-04-13_13-41-30';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-41-30';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-42-05';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-42-05';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-42-05']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2008-04-13_13-42-52';
+                                      'C1G80_he0_ve0_hs-5_vs0_2008-04-13_13-43-03 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-43-15  ';
+                                      'C1G80_he0_ve0_hs5_vs0_2008-04-13_13-43-27  ';
+                                      'C1G80_he0_ve0_hs10_vs0_2008-04-13_13-43-39 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-04-13_13-42-40';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-42-40';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-43-15';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-43-15';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-43-15']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2008-04-13_13-44-03';
+                                      'C1G80_he0_ve0_hs0_vs-5_2008-04-13_13-44-15 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-44-26  ';
+                                      'C1G80_he0_ve0_hs0_vs5_2008-04-13_13-44-37  ';
+                                      'C1G80_he0_ve0_hs0_vs10_2008-04-13_13-44-48 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-04-13_13-43-51';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-43-51';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-44-26';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-44-26';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-04-13_13-44-26']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2008-04-13_13-45-42';
+                                      'C1G90_he-5_ve0_hs0_vs0_2008-04-13_13-45-55 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-46-06  ';
+                                      'C1G90_he5_ve0_hs0_vs0_2008-04-13_13-46-17  ';
+                                      'C1G90_he10_ve0_hs0_vs0_2008-04-13_13-46-28 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-04-13_13-45-30';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-45-30';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-46-06';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-46-06';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-46-06']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2008-04-13_13-46-53';
+                                      'C1G90_he0_ve-5_hs0_vs0_2008-04-13_13-47-04 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-47-15  ';
+                                      'C1G90_he0_ve5_hs0_vs0_2008-04-13_13-47-27  ';
+                                      'C1G90_he0_ve10_hs0_vs0_2008-04-13_13-47-38 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-04-13_13-46-41';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-46-41';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-47-15';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-47-15';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-47-15']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2008-04-13_13-48-03';
+                                      'C1G90_he0_ve0_hs-5_vs0_2008-04-13_13-48-14 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-48-25  ';
+                                      'C1G90_he0_ve0_hs5_vs0_2008-04-13_13-48-37  ';
+                                      'C1G90_he0_ve0_hs10_vs0_2008-04-13_13-48-48 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-04-13_13-47-50';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-47-50';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-48-25';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-48-25';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-48-25']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2008-04-13_13-49-13';
+                                      'C1G90_he0_ve0_hs0_vs-5_2008-04-13_13-49-25 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-49-36  ';
+                                      'C1G90_he0_ve0_hs0_vs5_2008-04-13_13-49-48  ';
+                                      'C1G90_he0_ve0_hs0_vs10_2008-04-13_13-49-59 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-04-13_13-49-01';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-49-01';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-49-36';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-49-36';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-04-13_13-49-36']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2008-04-13_13-51-03';
+                                      'C1G100_he-5_ve0_hs0_vs0_2008-04-13_13-51-14 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-51-26  ';
+                                      'C1G100_he5_ve0_hs0_vs0_2008-04-13_13-51-37  ';
+                                      'C1G100_he10_ve0_hs0_vs0_2008-04-13_13-51-48 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-04-13_13-50-51';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-50-51';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-51-26';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-51-26';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-51-26']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2008-04-13_13-52-13';
+                                      'C1G100_he0_ve-5_hs0_vs0_2008-04-13_13-52-24 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-52-35  ';
+                                      'C1G100_he0_ve5_hs0_vs0_2008-04-13_13-52-48  ';
+                                      'C1G100_he0_ve10_hs0_vs0_2008-04-13_13-52-59 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-04-13_13-52-00';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-52-00';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-52-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-52-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-52-35']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2008-04-13_13-53-24';
+                                      'C1G100_he0_ve0_hs-5_vs0_2008-04-13_13-53-35 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-53-47  ';
+                                      'C1G100_he0_ve0_hs5_vs0_2008-04-13_13-53-59  ';
+                                      'C1G100_he0_ve0_hs10_vs0_2008-04-13_13-54-10 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-04-13_13-53-12';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-53-12';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-53-47';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-53-47';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-53-47']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2008-04-13_13-54-34';
+                                      'C1G100_he0_ve0_hs0_vs-5_2008-04-13_13-54-46 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-54-57  ';
+                                      'C1G100_he0_ve0_hs0_vs5_2008-04-13_13-55-08  ';
+                                      'C1G100_he0_ve0_hs0_vs10_2008-04-13_13-55-20 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-04-13_13-54-22';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-54-22';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-54-57';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-54-57';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-04-13_13-54-57']);
+            end
+        elseif (gap < 0.5*(110 + 120))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2008-04-13_13-56-10';
+                                      'C1G110_he-5_ve0_hs0_vs0_2008-04-13_13-56-21 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-56-32  ';
+                                      'C1G110_he5_ve0_hs0_vs0_2008-04-13_13-56-44  ';
+                                      'C1G110_he10_ve0_hs0_vs0_2008-04-13_13-56-55 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-04-13_13-55-58';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-55-58';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-56-32';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-56-32';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-56-32']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2008-04-13_13-57-20';
+                                      'C1G110_he0_ve-5_hs0_vs0_2008-04-13_13-57-31 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-57-43  ';
+                                      'C1G110_he0_ve5_hs0_vs0_2008-04-13_13-57-54  ';
+                                      'C1G110_he0_ve10_hs0_vs0_2008-04-13_13-58-05 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-04-13_13-57-08';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-57-08';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-57-43';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-57-43';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-57-43']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2008-04-13_13-58-30';
+                                      'C1G110_he0_ve0_hs-5_vs0_2008-04-13_13-58-42 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-58-53  ';
+                                      'C1G110_he0_ve0_hs5_vs0_2008-04-13_13-59-04  ';
+                                      'C1G110_he0_ve0_hs10_vs0_2008-04-13_13-59-15 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-04-13_13-58-17';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-58-17';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-58-53';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-58-53';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-58-53']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2008-04-13_13-59-40';
+                                      'C1G110_he0_ve0_hs0_vs-5_2008-04-13_13-59-51 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_14-00-02  ';
+                                      'C1G110_he0_ve0_hs0_vs5_2008-04-13_14-00-14  ';
+                                      'C1G110_he0_ve0_hs0_vs10_2008-04-13_14-00-25 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-04-13_13-59-28';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_13-59-28';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_14-00-02';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_14-00-02';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-04-13_14-00-02']);
+            end
+        elseif (gap < 0.5*(120 + 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G120_he-10_ve0_hs0_vs0_2008-04-13_14-23-23';
+                                      'C1G120_he-5_ve0_hs0_vs0_2008-04-13_14-23-34 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-23-45  ';
+                                      'C1G120_he5_ve0_hs0_vs0_2008-04-13_14-23-57  ';
+                                      'C1G120_he10_ve0_hs0_vs0_2008-04-13_14-24-08 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2008-04-13_14-23-10';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-23-10';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-23-45';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-23-45';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-23-45']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G120_he0_ve-10_hs0_vs0_2008-04-13_14-24-33';
+                                      'C1G120_he0_ve-5_hs0_vs0_2008-04-13_14-24-44 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-24-55  ';
+                                      'C1G120_he0_ve5_hs0_vs0_2008-04-13_14-25-07  ';
+                                      'C1G120_he0_ve10_hs0_vs0_2008-04-13_14-25-19 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2008-04-13_14-24-21';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-24-21';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-24-55';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-24-55';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-24-55']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs-10_vs0_2008-04-13_14-25-44';
+                                      'C1G120_he0_ve0_hs-5_vs0_2008-04-13_14-25-55 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-26-07  ';
+                                      'C1G120_he0_ve0_hs5_vs0_2008-04-13_14-26-18  ';
+                                      'C1G120_he0_ve0_hs10_vs0_2008-04-13_14-26-29 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2008-04-13_14-25-31';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-25-31';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-26-07';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-26-07';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-26-07']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs0_vs-10_2008-04-13_14-26-54';
+                                      'C1G120_he0_ve0_hs0_vs-5_2008-04-13_14-27-07 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-27-18  ';
+                                      'C1G120_he0_ve0_hs0_vs5_2008-04-13_14-27-31  ';
+                                      'C1G120_he0_ve0_hs0_vs10_2008-04-13_14-27-42 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2008-04-13_14-26-42';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-26-42';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-27-18';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-27-18';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-04-13_14-27-18']);
+            end
+        elseif (gap < 0.5*(130 + 140))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2008-04-13_14-28-47';
+                                      'C1G130_he-5_ve0_hs0_vs0_2008-04-13_14-28-59 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-29-10  ';
+                                      'C1G130_he5_ve0_hs0_vs0_2008-04-13_14-29-23  ';
+                                      'C1G130_he10_ve0_hs0_vs0_2008-04-13_14-29-35 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-04-13_14-28-35';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-28-35';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-29-10';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-29-10';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-29-10']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2008-04-13_14-30-00';
+                                      'C1G130_he0_ve-5_hs0_vs0_2008-04-13_14-30-12 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-30-23  ';
+                                      'C1G130_he0_ve5_hs0_vs0_2008-04-13_14-30-35  ';
+                                      'C1G130_he0_ve10_hs0_vs0_2008-04-13_14-30-48 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-04-13_14-29-47';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-29-47';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-30-23';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-30-23';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-30-23']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2008-04-13_14-31-12';
+                                      'C1G130_he0_ve0_hs-5_vs0_2008-04-13_14-31-25 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-31-36  ';
+                                      'C1G130_he0_ve0_hs5_vs0_2008-04-13_14-31-47  ';
+                                      'C1G130_he0_ve0_hs10_vs0_2008-04-13_14-31-59 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-04-13_14-31-00';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-31-00';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-31-36';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-31-36';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-31-36']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2008-04-13_14-32-23';
+                                      'C1G130_he0_ve0_hs0_vs-5_2008-04-13_14-32-34 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-32-46  ';
+                                      'C1G130_he0_ve0_hs0_vs5_2008-04-13_14-32-58  ';
+                                      'C1G130_he0_ve0_hs0_vs10_2008-04-13_14-33-10 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-04-13_14-32-11';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-32-11';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-32-46';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-32-46';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-04-13_14-32-46']);
+            end
+        elseif (gap < 0.5*(140 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G140_he-10_ve0_hs0_vs0_2008-04-13_14-34-31';
+                                      'C1G140_he-5_ve0_hs0_vs0_2008-04-13_14-34-43 ';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-34-55  ';
+                                      'C1G140_he5_ve0_hs0_vs0_2008-04-13_14-35-06  ';
+                                      'C1G140_he10_ve0_hs0_vs0_2008-04-13_14-35-19 ']);
+                fnMeasBkgr = cellstr(['C1G140_he0_ve0_hs0_vs0_2008-04-13_14-34-19';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-34-19';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-34-55';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-34-55';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-34-55']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G140_he0_ve-10_hs0_vs0_2008-04-13_14-35-43';
+                                      'C1G140_he0_ve-5_hs0_vs0_2008-04-13_14-35-54 ';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-36-06  ';
+                                      'C1G140_he0_ve5_hs0_vs0_2008-04-13_14-36-18  ';
+                                      'C1G140_he0_ve10_hs0_vs0_2008-04-13_14-36-30 ']);
+                fnMeasBkgr = cellstr(['C1G140_he0_ve0_hs0_vs0_2008-04-13_14-35-31';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-35-31';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-36-06';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-36-06';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-36-06']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G140_he0_ve0_hs-10_vs0_2008-04-13_14-36-54';
+                                      'C1G140_he0_ve0_hs-5_vs0_2008-04-13_14-37-06 ';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-37-19  ';
+                                      'C1G140_he0_ve0_hs5_vs0_2008-04-13_14-37-30  ';
+                                      'C1G140_he0_ve0_hs10_vs0_2008-04-13_14-37-42 ']);
+                fnMeasBkgr = cellstr(['C1G140_he0_ve0_hs0_vs0_2008-04-13_14-36-42';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-36-42';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-37-19';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-37-19';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-37-19']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G140_he0_ve0_hs0_vs-10_2008-04-13_14-38-06';
+                                      'C1G140_he0_ve0_hs0_vs-5_2008-04-13_14-38-18 ';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-38-29  ';
+                                      'C1G140_he0_ve0_hs0_vs5_2008-04-13_14-38-41  ';
+                                      'C1G140_he0_ve0_hs0_vs10_2008-04-13_14-38-52 ']);
+                fnMeasBkgr = cellstr(['C1G140_he0_ve0_hs0_vs0_2008-04-13_14-37-54';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-37-54';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-38-29';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-38-29';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-04-13_14-38-29']);
+            end
+        elseif (gap < 0.5*(150 + 170))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2008-04-13_14-39-55';
+                                      'C1G150_he-5_ve0_hs0_vs0_2008-04-13_14-40-06 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-40-18  ';
+                                      'C1G150_he5_ve0_hs0_vs0_2008-04-13_14-40-29  ';
+                                      'C1G150_he10_ve0_hs0_vs0_2008-04-13_14-40-42 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-04-13_14-39-42';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-39-42';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-40-18';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-40-18';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-40-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2008-04-13_14-41-07';
+                                      'C1G150_he0_ve-5_hs0_vs0_2008-04-13_14-41-18 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-41-30  ';
+                                      'C1G150_he0_ve5_hs0_vs0_2008-04-13_14-41-42  ';
+                                      'C1G150_he0_ve10_hs0_vs0_2008-04-13_14-41-54 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-04-13_14-40-55';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-40-55';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-41-30';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-41-30';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-41-30']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2008-04-13_14-42-19';
+                                      'C1G150_he0_ve0_hs-5_vs0_2008-04-13_14-42-31 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-42-43  ';
+                                      'C1G150_he0_ve0_hs5_vs0_2008-04-13_14-42-54  ';
+                                      'C1G150_he0_ve0_hs10_vs0_2008-04-13_14-43-05 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-04-13_14-42-07';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-42-07';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-42-43';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-42-43';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-42-43']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2008-04-13_14-43-30';
+                                      'C1G150_he0_ve0_hs0_vs-5_2008-04-13_14-43-41 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-43-52  ';
+                                      'C1G150_he0_ve0_hs0_vs5_2008-04-13_14-44-04  ';
+                                      'C1G150_he0_ve0_hs0_vs10_2008-04-13_14-44-15 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-04-13_14-43-18';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-43-18';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-43-52';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-43-52';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-04-13_14-43-52']);
+            end
+        elseif (gap < 0.5*(170 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G170_he-10_ve0_hs0_vs0_2008-04-13_14-45-17';
+                                      'C1G170_he-5_ve0_hs0_vs0_2008-04-13_14-45-30 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-45-42  ';
+                                      'C1G170_he5_ve0_hs0_vs0_2008-04-13_14-45-53  ';
+                                      'C1G170_he10_ve0_hs0_vs0_2008-04-13_14-46-04 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2008-04-13_14-45-05';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-45-05';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-45-42';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-45-42';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-45-42']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G170_he0_ve-10_hs0_vs0_2008-04-13_14-46-29';
+                                      'C1G170_he0_ve-5_hs0_vs0_2008-04-13_14-46-41 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-46-53  ';
+                                      'C1G170_he0_ve5_hs0_vs0_2008-04-13_14-47-05  ';
+                                      'C1G170_he0_ve10_hs0_vs0_2008-04-13_14-47-16 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2008-04-13_14-46-17';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-46-17';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-46-53';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-46-53';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-46-53']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs-10_vs0_2008-04-13_14-47-41';
+                                      'C1G170_he0_ve0_hs-5_vs0_2008-04-13_14-47-52 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-48-03  ';
+                                      'C1G170_he0_ve0_hs5_vs0_2008-04-13_14-48-14  ';
+                                      'C1G170_he0_ve0_hs10_vs0_2008-04-13_14-48-26 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2008-04-13_14-47-28';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-47-28';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-48-03';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-48-03';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-48-03']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs0_vs-10_2008-04-13_14-48-50';
+                                      'C1G170_he0_ve0_hs0_vs-5_2008-04-13_14-49-02 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-49-13  ';
+                                      'C1G170_he0_ve0_hs0_vs5_2008-04-13_14-49-24  ';
+                                      'C1G170_he0_ve0_hs0_vs10_2008-04-13_14-49-36 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2008-04-13_14-48-38';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-48-38';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-49-13';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-49-13';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-04-13_14-49-13']);
+            end
+        elseif (gap < 0.5*(200 + 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2008-04-13_14-50-50';
+                                      'C1G200_he-5_ve0_hs0_vs0_2008-04-13_14-51-02 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-51-13  ';
+                                      'C1G200_he5_ve0_hs0_vs0_2008-04-13_14-51-25  ';
+                                      'C1G200_he10_ve0_hs0_vs0_2008-04-13_14-51-36 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-04-13_14-50-37';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-50-37';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-51-13';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-51-13';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-51-13']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2008-04-13_14-52-01';
+                                      'C1G200_he0_ve-5_hs0_vs0_2008-04-13_14-52-12 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-52-23  ';
+                                      'C1G200_he0_ve5_hs0_vs0_2008-04-13_14-52-34  ';
+                                      'C1G200_he0_ve10_hs0_vs0_2008-04-13_14-52-45 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-04-13_14-51-48';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-51-48';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-52-23';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-52-23';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-52-23']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2008-04-13_14-53-10';
+                                      'C1G200_he0_ve0_hs-5_vs0_2008-04-13_14-53-22 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-53-34  ';
+                                      'C1G200_he0_ve0_hs5_vs0_2008-04-13_14-53-46  ';
+                                      'C1G200_he0_ve0_hs10_vs0_2008-04-13_14-53-57 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-04-13_14-52-58';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-52-58';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-53-34';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-53-34';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-53-34']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2008-04-13_14-54-22';
+                                      'C1G200_he0_ve0_hs0_vs-5_2008-04-13_14-54-34 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-54-45  ';
+                                      'C1G200_he0_ve0_hs0_vs5_2008-04-13_14-54-56  ';
+                                      'C1G200_he0_ve0_hs0_vs10_2008-04-13_14-55-07 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-04-13_14-54-10';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-54-10';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-54-45';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-54-45';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-04-13_14-54-45']);
+            end
+        elseif (gap >= 0.5*(200 + 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G240_he-10_ve0_hs0_vs0_2008-04-13_14-56-37';
+                                      'C1G240_he-5_ve0_hs0_vs0_2008-04-13_14-56-48 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-57-00  ';
+                                      'C1G240_he5_ve0_hs0_vs0_2008-04-13_14-57-12  ';
+                                      'C1G240_he10_ve0_hs0_vs0_2008-04-13_14-57-23 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-04-13_14-56-24';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-56-24';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-57-00';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-57-00';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-57-00']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G240_he0_ve-10_hs0_vs0_2008-04-13_14-57-47';
+                                      'C1G240_he0_ve-5_hs0_vs0_2008-04-13_14-57-59 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-58-10  ';
+                                      'C1G240_he0_ve5_hs0_vs0_2008-04-13_14-58-22  ';
+                                      'C1G240_he0_ve10_hs0_vs0_2008-04-13_14-58-33 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-04-13_14-57-35';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-57-35';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-58-10';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-58-10';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-58-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs-10_vs0_2008-04-13_14-58-58';
+                                      'C1G240_he0_ve0_hs-5_vs0_2008-04-13_14-59-09 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-59-21  ';
+                                      'C1G240_he0_ve0_hs5_vs0_2008-04-13_14-59-32  ';
+                                      'C1G240_he0_ve0_hs10_vs0_2008-04-13_14-59-44 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-04-13_14-58-46';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-58-46';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-59-21';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-59-21';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-59-21']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs0_vs-10_2008-04-13_15-00-08';
+                                      'C1G240_he0_ve0_hs0_vs-5_2008-04-13_15-00-20 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_15-00-31  ';
+                                      'C1G240_he0_ve0_hs0_vs5_2008-04-13_15-00-42  ';
+                                      'C1G240_he0_ve0_hs0_vs10_2008-04-13_15-00-54 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-04-13_14-59-56';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_14-59-56';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_15-00-31';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_15-00-31';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-04-13_15-00-31']);
+            end
+        end % End of HU52 DEIMOS
+
+%% HU52 LUCIA        
+
+    elseif strcmp(idName, 'HU52_LUCIA')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap < 0.5*(15.5 + 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2008-07-21_02-52-29';
+                                      'C1G15_5_he-5_ve0_hs0_vs0_2008-07-21_02-52-42 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-52-53  ';
+                                      'C1G15_5_he5_ve0_hs0_vs0_2008-07-21_02-53-06  ';
+                                      'C1G15_5_he10_ve0_hs0_vs0_2008-07-21_02-53-17 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-52-17';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-52-17';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-52-53';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-52-53';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-52-53']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2008-07-21_02-53-42';
+                                      'C1G15_5_he0_ve-5_hs0_vs0_2008-07-21_02-53-53 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-54-05  ';
+                                      'C1G15_5_he0_ve5_hs0_vs0_2008-07-21_02-54-16  ';
+                                      'C1G15_5_he0_ve10_hs0_vs0_2008-07-21_02-54-27 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-53-29';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-53-29';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-54-05';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-54-05';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-54-05']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2008-07-21_02-54-52';
+                                      'C1G15_5_he0_ve0_hs-5_vs0_2008-07-21_02-55-03 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-55-15  ';
+                                      'C1G15_5_he0_ve0_hs5_vs0_2008-07-21_02-55-26  ';
+                                      'C1G15_5_he0_ve0_hs10_vs0_2008-07-21_02-55-37 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-54-40';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-54-40';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-55-15';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-55-15';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-55-15']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2008-07-21_02-56-02';
+                                      'C1G15_5_he0_ve0_hs0_vs-5_2008-07-21_02-56-14 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-56-25  ';
+                                      'C1G15_5_he0_ve0_hs0_vs5_2008-07-21_02-56-37  ';
+                                      'C1G15_5_he0_ve0_hs0_vs10_2008-07-21_02-56-48 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-55-50';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-55-50';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-56-25';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-56-25';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-21_02-56-25']);
+            end
+        elseif (gap < 0.5*(18 + 20))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2008-07-21_02-57-46';
+                                      'C1G18_he-5_ve0_hs0_vs0_2008-07-21_02-57-58 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-58-09  ';
+                                      'C1G18_he5_ve0_hs0_vs0_2008-07-21_02-58-21  ';
+                                      'C1G18_he10_ve0_hs0_vs0_2008-07-21_02-58-32 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-07-21_02-57-34';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-57-34';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-58-09';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-58-09';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-58-09']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2008-07-21_02-58-57';
+                                      'C1G18_he0_ve-5_hs0_vs0_2008-07-21_02-59-08 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-59-20  ';
+                                      'C1G18_he0_ve5_hs0_vs0_2008-07-21_02-59-31  ';
+                                      'C1G18_he0_ve10_hs0_vs0_2008-07-21_02-59-43 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-07-21_02-58-44';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-58-44';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-59-20';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-59-20';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-59-20']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2008-07-21_03-00-07';
+                                      'C1G18_he0_ve0_hs-5_vs0_2008-07-21_03-00-19 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-00-30  ';
+                                      'C1G18_he0_ve0_hs5_vs0_2008-07-21_03-00-42  ';
+                                      'C1G18_he0_ve0_hs10_vs0_2008-07-21_03-00-53 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-07-21_02-59-55';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_02-59-55';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-00-30';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-00-30';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-00-30']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2008-07-21_03-01-18';
+                                      'C1G18_he0_ve0_hs0_vs-5_2008-07-21_03-01-29 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-01-41  ';
+                                      'C1G18_he0_ve0_hs0_vs5_2008-07-21_03-01-52  ';
+                                      'C1G18_he0_ve0_hs0_vs10_2008-07-21_03-02-03 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-07-21_03-01-05';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-01-05';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-01-41';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-01-41';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-21_03-01-41']);
+             end
+        elseif (gap < 0.5*(20 + 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2008-07-21_03-02-55';
+                                      'C1G20_he-5_ve0_hs0_vs0_2008-07-21_03-03-07 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-03-18  ';
+                                      'C1G20_he5_ve0_hs0_vs0_2008-07-21_03-03-29  ';
+                                      'C1G20_he10_ve0_hs0_vs0_2008-07-21_03-03-41 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-07-21_03-02-42';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-02-42';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-03-18';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-03-18';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-03-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2008-07-21_03-04-06';
+                                      'C1G20_he0_ve-5_hs0_vs0_2008-07-21_03-04-17 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-04-29  ';
+                                      'C1G20_he0_ve5_hs0_vs0_2008-07-21_03-04-40  ';
+                                      'C1G20_he0_ve10_hs0_vs0_2008-07-21_03-04-51 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-07-21_03-03-54';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-03-54';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-04-29';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-04-29';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-04-29']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2008-07-21_03-05-16';
+                                      'C1G20_he0_ve0_hs-5_vs0_2008-07-21_03-05-28 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-05-39  ';
+                                      'C1G20_he0_ve0_hs5_vs0_2008-07-21_03-05-51  ';
+                                      'C1G20_he0_ve0_hs10_vs0_2008-07-21_03-06-02 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-07-21_03-05-04';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-05-04';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-05-39';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-05-39';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-05-39']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2008-07-21_03-06-27';
+                                      'C1G20_he0_ve0_hs0_vs-5_2008-07-21_03-06-38 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-06-50  ';
+                                      'C1G20_he0_ve0_hs0_vs5_2008-07-21_03-07-02  ';
+                                      'C1G20_he0_ve0_hs0_vs10_2008-07-21_03-07-13 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-07-21_03-06-14';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-06-14';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-06-50';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-06-50';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-21_03-06-50']);
+            end
+        elseif (gap < 0.5*(25 + 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2008-07-21_03-07-51';
+                                      'C1G25_he-5_ve0_hs0_vs0_2008-07-21_03-08-03 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-08-15  ';
+                                      'C1G25_he5_ve0_hs0_vs0_2008-07-21_03-08-26  ';
+                                      'C1G25_he10_ve0_hs0_vs0_2008-07-21_03-08-39 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-07-21_03-07-39';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-07-39';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-08-15';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-08-15';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-08-15']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2008-07-21_03-09-03';
+                                      'C1G25_he0_ve-5_hs0_vs0_2008-07-21_03-09-15 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-09-26  ';
+                                      'C1G25_he0_ve5_hs0_vs0_2008-07-21_03-09-38  ';
+                                      'C1G25_he0_ve10_hs0_vs0_2008-07-21_03-09-50 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-07-21_03-08-51';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-08-51';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-09-26';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-09-26';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-09-26']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2008-07-21_03-10-15';
+                                      'C1G25_he0_ve0_hs-5_vs0_2008-07-21_03-10-26 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-10-38  ';
+                                      'C1G25_he0_ve0_hs5_vs0_2008-07-21_03-10-49  ';
+                                      'C1G25_he0_ve0_hs10_vs0_2008-07-21_03-11-01 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-07-21_03-10-02';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-10-02';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-10-38';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-10-38';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-10-38']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2008-07-21_03-11-26';
+                                      'C1G25_he0_ve0_hs0_vs-5_2008-07-21_03-11-37 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-11-49  ';
+                                      'C1G25_he0_ve0_hs0_vs5_2008-07-21_03-12-00  ';
+                                      'C1G25_he0_ve0_hs0_vs10_2008-07-21_03-12-12 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-07-21_03-11-14';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-11-14';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-11-49';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-11-49';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-21_03-11-49']);
+            end
+        elseif (gap < 0.5*(30 + 35))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2008-07-21_03-12-49';
+                                      'C1G30_he-5_ve0_hs0_vs0_2008-07-21_03-13-01 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-13-12  ';
+                                      'C1G30_he5_ve0_hs0_vs0_2008-07-21_03-13-24  ';
+                                      'C1G30_he10_ve0_hs0_vs0_2008-07-21_03-13-36 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-07-21_03-12-37';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-12-37';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-13-12';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-13-12';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-13-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2008-07-21_03-14-01';
+                                      'C1G30_he0_ve-5_hs0_vs0_2008-07-21_03-14-14 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-14-25  ';
+                                      'C1G30_he0_ve5_hs0_vs0_2008-07-21_03-14-37  ';
+                                      'C1G30_he0_ve10_hs0_vs0_2008-07-21_03-14-49 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-07-21_03-13-49';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-13-49';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-14-25';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-14-25';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-14-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2008-07-21_03-15-14';
+                                      'C1G30_he0_ve0_hs-5_vs0_2008-07-21_03-15-25 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-15-37  ';
+                                      'C1G30_he0_ve0_hs5_vs0_2008-07-21_03-15-48  ';
+                                      'C1G30_he0_ve0_hs10_vs0_2008-07-21_03-16-01 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-07-21_03-15-01';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-15-01';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-15-37';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-15-37';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-15-37']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2008-07-21_03-16-26';
+                                      'C1G30_he0_ve0_hs0_vs-5_2008-07-21_03-16-37 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-16-49  ';
+                                      'C1G30_he0_ve0_hs0_vs5_2008-07-21_03-17-00  ';
+                                      'C1G30_he0_ve0_hs0_vs10_2008-07-21_03-17-12 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-07-21_03-16-13';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-16-13';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-16-49';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-16-49';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-21_03-16-49']);
+            end            
+        elseif (gap < 0.5*(35 + 40))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2008-07-21_03-17-49';
+                                      'C1G35_he-5_ve0_hs0_vs0_2008-07-21_03-18-01 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-18-12  ';
+                                      'C1G35_he5_ve0_hs0_vs0_2008-07-21_03-18-24  ';
+                                      'C1G35_he10_ve0_hs0_vs0_2008-07-21_03-18-36 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-07-21_03-17-37';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-17-37';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-18-12';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-18-12';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-18-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2008-07-21_03-19-01';
+                                      'C1G35_he0_ve-5_hs0_vs0_2008-07-21_03-19-13 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-19-24  ';
+                                      'C1G35_he0_ve5_hs0_vs0_2008-07-21_03-19-36  ';
+                                      'C1G35_he0_ve10_hs0_vs0_2008-07-21_03-19-47 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-07-21_03-18-48';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-18-48';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-19-24';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-19-24';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-19-24']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2008-07-21_03-20-12';
+                                      'C1G35_he0_ve0_hs-5_vs0_2008-07-21_03-20-24 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-20-36  ';
+                                      'C1G35_he0_ve0_hs5_vs0_2008-07-21_03-20-47  ';
+                                      'C1G35_he0_ve0_hs10_vs0_2008-07-21_03-20-59 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-07-21_03-20-00';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-20-00';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-20-36';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-20-36';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-20-36']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2008-07-21_03-21-23';
+                                      'C1G35_he0_ve0_hs0_vs-5_2008-07-21_03-21-35 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-21-46  ';
+                                      'C1G35_he0_ve0_hs0_vs5_2008-07-21_03-21-58  ';
+                                      'C1G35_he0_ve0_hs0_vs10_2008-07-21_03-22-10 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-07-21_03-21-11';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-21-11';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-21-46';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-21-46';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-21_03-21-46']);
+            end
+        elseif (gap < 0.5*(40 + 45))
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2008-07-21_03-23-02';
+                                      'C1G40_he-5_ve0_hs0_vs0_2008-07-21_03-23-14 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-23-25  ';
+                                      'C1G40_he5_ve0_hs0_vs0_2008-07-21_03-23-37  ';
+                                      'C1G40_he10_ve0_hs0_vs0_2008-07-21_03-23-49 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-07-21_03-22-49';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-22-49';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-23-25';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-23-25';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-23-25']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2008-07-21_03-24-14';
+                                      'C1G40_he0_ve-5_hs0_vs0_2008-07-21_03-24-26 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-24-38  ';
+                                      'C1G40_he0_ve5_hs0_vs0_2008-07-21_03-24-50  ';
+                                      'C1G40_he0_ve10_hs0_vs0_2008-07-21_03-25-01 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-07-21_03-24-02';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-24-02';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-24-38';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-24-38';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-24-38']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2008-07-21_03-25-26';
+                                      'C1G40_he0_ve0_hs-5_vs0_2008-07-21_03-25-38 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-25-51  ';
+                                      'C1G40_he0_ve0_hs5_vs0_2008-07-21_03-26-02  ';
+                                      'C1G40_he0_ve0_hs10_vs0_2008-07-21_03-26-14 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-07-21_03-25-14';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-25-14';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-25-51';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-25-51';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-25-51']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2008-07-21_03-26-39';
+                                      'C1G40_he0_ve0_hs0_vs-5_2008-07-21_03-26-50 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-27-02  ';
+                                      'C1G40_he0_ve0_hs0_vs5_2008-07-21_03-27-14  ';
+                                      'C1G40_he0_ve0_hs0_vs10_2008-07-21_03-27-25 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-07-21_03-26-26';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-26-26';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-27-02';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-27-02';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-21_03-27-02']);
+            end
+        elseif (gap < 0.5*(45 + 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G45_he-10_ve0_hs0_vs0_2008-07-21_03-30-09';
+                                      'C1G45_he-5_ve0_hs0_vs0_2008-07-21_03-30-21 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-30-33  ';
+                                      'C1G45_he5_ve0_hs0_vs0_2008-07-21_03-30-44  ';
+                                      'C1G45_he10_ve0_hs0_vs0_2008-07-21_03-30-56 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-07-21_03-29-56';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-29-56';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-30-33';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-30-33';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-30-33']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G45_he0_ve-10_hs0_vs0_2008-07-21_03-31-22';
+                                      'C1G45_he0_ve-5_hs0_vs0_2008-07-21_03-31-33 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-31-45  ';
+                                      'C1G45_he0_ve5_hs0_vs0_2008-07-21_03-31-57  ';
+                                      'C1G45_he0_ve10_hs0_vs0_2008-07-21_03-32-08 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-07-21_03-31-09';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-31-09';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-31-45';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-31-45';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-31-45']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs-10_vs0_2008-07-21_03-32-33';
+                                      'C1G45_he0_ve0_hs-5_vs0_2008-07-21_03-32-45 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-32-56  ';
+                                      'C1G45_he0_ve0_hs5_vs0_2008-07-21_03-33-08  ';
+                                      'C1G45_he0_ve0_hs10_vs0_2008-07-21_03-33-19 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-07-21_03-32-21';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-32-21';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-32-56';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-32-56';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-32-56']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs0_vs-10_2008-07-21_03-33-44';
+                                      'C1G45_he0_ve0_hs0_vs-5_2008-07-21_03-33-56 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-34-07  ';
+                                      'C1G45_he0_ve0_hs0_vs5_2008-07-21_03-34-19  ';
+                                      'C1G45_he0_ve0_hs0_vs10_2008-07-21_03-34-30 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-07-21_03-33-32';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-33-32';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-34-07';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-34-07';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-21_03-34-07']);
+            end
+        elseif (gap < 0.5*(50 + 60))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2008-07-21_03-35-03';
+                                      'C1G50_he-5_ve0_hs0_vs0_2008-07-21_03-35-15 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-35-26  ';
+                                      'C1G50_he5_ve0_hs0_vs0_2008-07-21_03-35-38  ';
+                                      'C1G50_he10_ve0_hs0_vs0_2008-07-21_03-35-49 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-07-21_03-34-50';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-34-50';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-35-26';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-35-26';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-35-26']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2008-07-21_03-36-14';
+                                      'C1G50_he0_ve-5_hs0_vs0_2008-07-21_03-36-26 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-36-38  ';
+                                      'C1G50_he0_ve5_hs0_vs0_2008-07-21_03-36-50  ';
+                                      'C1G50_he0_ve10_hs0_vs0_2008-07-21_03-37-01 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-07-21_03-36-02';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-36-02';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-36-38';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-36-38';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-36-38']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2008-07-21_03-37-26';
+                                      'C1G50_he0_ve0_hs-5_vs0_2008-07-21_03-37-38 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-37-49  ';
+                                      'C1G50_he0_ve0_hs5_vs0_2008-07-21_03-38-01  ';
+                                      'C1G50_he0_ve0_hs10_vs0_2008-07-21_03-38-13 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-07-21_03-37-14';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-37-14';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-37-49';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-37-49';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-37-49']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2008-07-21_03-38-38';
+                                      'C1G50_he0_ve0_hs0_vs-5_2008-07-21_03-38-49 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-39-01  ';
+                                      'C1G50_he0_ve0_hs0_vs5_2008-07-21_03-39-12  ';
+                                      'C1G50_he0_ve0_hs0_vs10_2008-07-21_03-39-24 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-07-21_03-38-25';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-38-25';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-39-01';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-39-01';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-21_03-39-01']);
+            end
+        elseif (gap < 0.5*(60 + 70))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2008-07-21_03-40-04';
+                                      'C1G60_he-5_ve0_hs0_vs0_2008-07-21_03-40-16 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-40-28  ';
+                                      'C1G60_he5_ve0_hs0_vs0_2008-07-21_03-40-40  ';
+                                      'C1G60_he10_ve0_hs0_vs0_2008-07-21_03-40-51 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-07-21_03-39-52';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-39-52';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-40-28';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-40-28';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-40-28']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2008-07-21_03-41-16';
+                                      'C1G60_he0_ve-5_hs0_vs0_2008-07-21_03-41-29 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-41-40  ';
+                                      'C1G60_he0_ve5_hs0_vs0_2008-07-21_03-41-52  ';
+                                      'C1G60_he0_ve10_hs0_vs0_2008-07-21_03-42-03 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-07-21_03-41-04';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-41-04';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-41-40';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-41-40';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-41-40']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2008-07-21_03-42-29';
+                                      'C1G60_he0_ve0_hs-5_vs0_2008-07-21_03-42-40 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-42-52  ';
+                                      'C1G60_he0_ve0_hs5_vs0_2008-07-21_03-43-03  ';
+                                      'C1G60_he0_ve0_hs10_vs0_2008-07-21_03-43-15 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-07-21_03-42-16';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-42-16';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-42-52';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-42-52';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-42-52']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2008-07-21_03-43-40';
+                                      'C1G60_he0_ve0_hs0_vs-5_2008-07-21_03-43-52 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-44-03  ';
+                                      'C1G60_he0_ve0_hs0_vs5_2008-07-21_03-44-15  ';
+                                      'C1G60_he0_ve0_hs0_vs10_2008-07-21_03-44-26 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-07-21_03-43-28';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-43-28';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-44-03';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-44-03';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-21_03-44-03']);
+            end
+        elseif (gap < 0.5*(70 + 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2008-07-21_03-45-04';
+                                      'C1G70_he-5_ve0_hs0_vs0_2008-07-21_03-45-15 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-45-28  ';
+                                      'C1G70_he5_ve0_hs0_vs0_2008-07-21_03-45-40  ';
+                                      'C1G70_he10_ve0_hs0_vs0_2008-07-21_03-45-51 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-07-21_03-44-51';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-44-51';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-45-28';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-45-28';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-45-28']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2008-07-21_03-46-16';
+                                      'C1G70_he0_ve-5_hs0_vs0_2008-07-21_03-46-28 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-46-40  ';
+                                      'C1G70_he0_ve5_hs0_vs0_2008-07-21_03-46-53  ';
+                                      'C1G70_he0_ve10_hs0_vs0_2008-07-21_03-47-05 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-07-21_03-46-04';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-46-04';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-46-40';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-46-40';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-46-40']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2008-07-21_03-47-30';
+                                      'C1G70_he0_ve0_hs-5_vs0_2008-07-21_03-47-41 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-47-52  ';
+                                      'C1G70_he0_ve0_hs5_vs0_2008-07-21_03-48-04  ';
+                                      'C1G70_he0_ve0_hs10_vs0_2008-07-21_03-48-15 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-07-21_03-47-17';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-47-17';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-47-52';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-47-52';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-47-52']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2008-07-21_03-48-41';
+                                      'C1G70_he0_ve0_hs0_vs-5_2008-07-21_03-48-52 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-49-04  ';
+                                      'C1G70_he0_ve0_hs0_vs5_2008-07-21_03-49-15  ';
+                                      'C1G70_he0_ve0_hs0_vs10_2008-07-21_03-49-27 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-07-21_03-48-28';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-48-28';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-49-04';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-49-04';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-21_03-49-04']);
+            end
+        elseif (gap < 0.5*(80 + 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2008-07-21_03-50-00';
+                                      'C1G80_he-5_ve0_hs0_vs0_2008-07-21_03-50-11 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-50-24  ';
+                                      'C1G80_he5_ve0_hs0_vs0_2008-07-21_03-50-35  ';
+                                      'C1G80_he10_ve0_hs0_vs0_2008-07-21_03-50-47 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-07-21_03-49-47';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-49-47';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-50-24';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-50-24';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-50-24']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2008-07-21_03-51-11';
+                                      'C1G80_he0_ve-5_hs0_vs0_2008-07-21_03-51-23 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-51-35  ';
+                                      'C1G80_he0_ve5_hs0_vs0_2008-07-21_03-51-47  ';
+                                      'C1G80_he0_ve10_hs0_vs0_2008-07-21_03-51-58 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-07-21_03-50-59';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-50-59';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-51-35';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-51-35';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-51-35']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2008-07-21_03-52-23';
+                                      'C1G80_he0_ve0_hs-5_vs0_2008-07-21_03-52-34 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-52-46  ';
+                                      'C1G80_he0_ve0_hs5_vs0_2008-07-21_03-52-57  ';
+                                      'C1G80_he0_ve0_hs10_vs0_2008-07-21_03-53-09 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-07-21_03-52-11';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-52-11';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-52-46';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-52-46';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-52-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2008-07-21_03-53-34';
+                                      'C1G80_he0_ve0_hs0_vs-5_2008-07-21_03-53-45 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-53-57  ';
+                                      'C1G80_he0_ve0_hs0_vs5_2008-07-21_03-54-08  ';
+                                      'C1G80_he0_ve0_hs0_vs10_2008-07-21_03-54-19 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-07-21_03-53-21';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-53-21';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-53-57';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-53-57';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-21_03-53-57']);
+            end
+        elseif (gap < 0.5*(90 + 100))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2008-07-21_03-54-54';
+                                      'C1G90_he-5_ve0_hs0_vs0_2008-07-21_03-55-06 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-55-17  ';
+                                      'C1G90_he5_ve0_hs0_vs0_2008-07-21_03-55-30  ';
+                                      'C1G90_he10_ve0_hs0_vs0_2008-07-21_03-55-41 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-07-21_03-54-41';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-54-41';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-55-17';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-55-17';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-55-17']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2008-07-21_03-56-06';
+                                      'C1G90_he0_ve-5_hs0_vs0_2008-07-21_03-56-18 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-56-29  ';
+                                      'C1G90_he0_ve5_hs0_vs0_2008-07-21_03-56-41  ';
+                                      'C1G90_he0_ve10_hs0_vs0_2008-07-21_03-56-52 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-07-21_03-55-53';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-55-53';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-56-29';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-56-29';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-56-29']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2008-07-21_03-57-17';
+                                      'C1G90_he0_ve0_hs-5_vs0_2008-07-21_03-57-28 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-57-39  ';
+                                      'C1G90_he0_ve0_hs5_vs0_2008-07-21_03-57-51  ';
+                                      'C1G90_he0_ve0_hs10_vs0_2008-07-21_03-58-03 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-07-21_03-57-04';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-57-04';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-57-39';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-57-39';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-57-39']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2008-07-21_03-58-27';
+                                      'C1G90_he0_ve0_hs0_vs-5_2008-07-21_03-58-39 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-58-50  ';
+                                      'C1G90_he0_ve0_hs0_vs5_2008-07-21_03-59-01  ';
+                                      'C1G90_he0_ve0_hs0_vs10_2008-07-21_03-59-13 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-07-21_03-58-15';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-58-15';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-58-50';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-58-50';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-21_03-58-50']);
+            end
+        elseif (gap < 0.5*(100 + 110))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2008-07-21_03-59-47';
+                                      'C1G100_he-5_ve0_hs0_vs0_2008-07-21_03-59-59 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-00-10  ';
+                                      'C1G100_he5_ve0_hs0_vs0_2008-07-21_04-00-21  ';
+                                      'C1G100_he10_ve0_hs0_vs0_2008-07-21_04-00-33 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-07-21_03-59-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_03-59-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-00-10';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-00-10';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-00-10']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2008-07-21_04-00-57';
+                                      'C1G100_he0_ve-5_hs0_vs0_2008-07-21_04-01-09 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-01-21  ';
+                                      'C1G100_he0_ve5_hs0_vs0_2008-07-21_04-01-34  ';
+                                      'C1G100_he0_ve10_hs0_vs0_2008-07-21_04-01-45 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-07-21_04-00-45';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-00-45';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-01-21';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-01-21';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-01-21']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2008-07-21_04-02-09';
+                                      'C1G100_he0_ve0_hs-5_vs0_2008-07-21_04-02-21 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-02-32  ';
+                                      'C1G100_he0_ve0_hs5_vs0_2008-07-21_04-02-44  ';
+                                      'C1G100_he0_ve0_hs10_vs0_2008-07-21_04-02-56 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-07-21_04-01-57';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-01-57';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-02-32';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-02-32';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-02-32']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2008-07-21_04-03-20';
+                                      'C1G100_he0_ve0_hs0_vs-5_2008-07-21_04-03-31 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-03-43  ';
+                                      'C1G100_he0_ve0_hs0_vs5_2008-07-21_04-03-54  ';
+                                      'C1G100_he0_ve0_hs0_vs10_2008-07-21_04-04-05 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-07-21_04-03-08';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-03-08';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-03-43';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-03-43';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-21_04-03-43']);
+            end
+        elseif (gap < 0.5*(110 + 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2008-07-21_04-04-50';
+                                      'C1G110_he-5_ve0_hs0_vs0_2008-07-21_04-05-02 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-05-13  ';
+                                      'C1G110_he5_ve0_hs0_vs0_2008-07-21_04-05-24  ';
+                                      'C1G110_he10_ve0_hs0_vs0_2008-07-21_04-05-36 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-07-21_04-04-38';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-04-38';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-05-13';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-05-13';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-05-13']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2008-07-21_04-06-00';
+                                      'C1G110_he0_ve-5_hs0_vs0_2008-07-21_04-06-13 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-06-25  ';
+                                      'C1G110_he0_ve5_hs0_vs0_2008-07-21_04-06-37  ';
+                                      'C1G110_he0_ve10_hs0_vs0_2008-07-21_04-06-48 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-07-21_04-05-48';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-05-48';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-06-25';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-06-25';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-06-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2008-07-21_04-07-13';
+                                      'C1G110_he0_ve0_hs-5_vs0_2008-07-21_04-07-24 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-07-36  ';
+                                      'C1G110_he0_ve0_hs5_vs0_2008-07-21_04-07-47  ';
+                                      'C1G110_he0_ve0_hs10_vs0_2008-07-21_04-07-59 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-07-21_04-07-01';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-07-01';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-07-36';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-07-36';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-07-36']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2008-07-21_04-08-24';
+                                      'C1G110_he0_ve0_hs0_vs-5_2008-07-21_04-08-35 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-08-46  ';
+                                      'C1G110_he0_ve0_hs0_vs5_2008-07-21_04-08-57  ';
+                                      'C1G110_he0_ve0_hs0_vs10_2008-07-21_04-09-09 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-07-21_04-08-11';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-08-11';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-08-46';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-08-46';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-21_04-08-46']);
+            end
+        elseif (gap < 0.5*(130 + 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2008-07-21_04-09-48';
+                                      'C1G130_he-5_ve0_hs0_vs0_2008-07-21_04-09-59 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-10-11  ';
+                                      'C1G130_he5_ve0_hs0_vs0_2008-07-21_04-10-22  ';
+                                      'C1G130_he10_ve0_hs0_vs0_2008-07-21_04-10-34 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-07-21_04-09-36';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-09-36';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-10-11';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-10-11';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-10-11']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2008-07-21_04-10-58';
+                                      'C1G130_he0_ve-5_hs0_vs0_2008-07-21_04-11-10 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-11-21  ';
+                                      'C1G130_he0_ve5_hs0_vs0_2008-07-21_04-11-32  ';
+                                      'C1G130_he0_ve10_hs0_vs0_2008-07-21_04-11-44 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-07-21_04-10-46';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-10-46';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-11-21';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-11-21';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-11-21']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2008-07-21_04-12-08';
+                                      'C1G130_he0_ve0_hs-5_vs0_2008-07-21_04-12-20 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-12-32  ';
+                                      'C1G130_he0_ve0_hs5_vs0_2008-07-21_04-12-44  ';
+                                      'C1G130_he0_ve0_hs10_vs0_2008-07-21_04-12-55 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-07-21_04-11-56';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-11-56';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-12-32';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-12-32';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-12-32']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2008-07-21_04-13-20';
+                                      'C1G130_he0_ve0_hs0_vs-5_2008-07-21_04-13-31 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-13-43  ';
+                                      'C1G130_he0_ve0_hs0_vs5_2008-07-21_04-13-54  ';
+                                      'C1G130_he0_ve0_hs0_vs10_2008-07-21_04-14-05 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-07-21_04-13-07';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-13-07';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-13-43';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-13-43';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-21_04-13-43']);
+            end
+        elseif (gap < 0.5*(150 + 175))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2008-07-21_04-14-46';
+                                      'C1G150_he-5_ve0_hs0_vs0_2008-07-21_04-14-58 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-15-09  ';
+                                      'C1G150_he5_ve0_hs0_vs0_2008-07-21_04-15-21  ';
+                                      'C1G150_he10_ve0_hs0_vs0_2008-07-21_04-15-33 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-07-21_04-14-34';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-14-34';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-15-09';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-15-09';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-15-09']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2008-07-21_04-15-58';
+                                      'C1G150_he0_ve-5_hs0_vs0_2008-07-21_04-16-09 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-16-21  ';
+                                      'C1G150_he0_ve5_hs0_vs0_2008-07-21_04-16-32  ';
+                                      'C1G150_he0_ve10_hs0_vs0_2008-07-21_04-16-44 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-07-21_04-15-45';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-15-45';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-16-21';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-16-21';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-16-21']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2008-07-21_04-17-09';
+                                      'C1G150_he0_ve0_hs-5_vs0_2008-07-21_04-17-20 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-17-32  ';
+                                      'C1G150_he0_ve0_hs5_vs0_2008-07-21_04-17-44  ';
+                                      'C1G150_he0_ve0_hs10_vs0_2008-07-21_04-17-55 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-07-21_04-16-57';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-16-57';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-17-32';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-17-32';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-17-32']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2008-07-21_04-18-20';
+                                      'C1G150_he0_ve0_hs0_vs-5_2008-07-21_04-18-31 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-18-42  ';
+                                      'C1G150_he0_ve0_hs0_vs5_2008-07-21_04-18-54  ';
+                                      'C1G150_he0_ve0_hs0_vs10_2008-07-21_04-19-05 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-07-21_04-18-07';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-18-07';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-18-42';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-18-42';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-21_04-18-42']);
+            end
+        elseif (gap < 0.5*(175 + 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G175_he-10_ve0_hs0_vs0_2008-07-21_04-19-53';
+                                      'C1G175_he-5_ve0_hs0_vs0_2008-07-21_04-20-04 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-20-17  ';
+                                      'C1G175_he5_ve0_hs0_vs0_2008-07-21_04-20-28  ';
+                                      'C1G175_he10_ve0_hs0_vs0_2008-07-21_04-20-39 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-07-21_04-19-41';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-19-41';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-20-17';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-20-17';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-20-17']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G175_he0_ve-10_hs0_vs0_2008-07-21_04-21-04';
+                                      'C1G175_he0_ve-5_hs0_vs0_2008-07-21_04-21-16 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-21-27  ';
+                                      'C1G175_he0_ve5_hs0_vs0_2008-07-21_04-21-38  ';
+                                      'C1G175_he0_ve10_hs0_vs0_2008-07-21_04-21-50 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-07-21_04-20-52';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-20-52';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-21-27';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-21-27';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-21-27']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G175_he0_ve0_hs-10_vs0_2008-07-21_04-22-15';
+                                      'C1G175_he0_ve0_hs-5_vs0_2008-07-21_04-22-26 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-22-37  ';
+                                      'C1G175_he0_ve0_hs5_vs0_2008-07-21_04-22-49  ';
+                                      'C1G175_he0_ve0_hs10_vs0_2008-07-21_04-23-00 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-07-21_04-22-02';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-22-02';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-22-37';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-22-37';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-22-37']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G175_he0_ve0_hs0_vs-10_2008-07-21_04-23-25';
+                                      'C1G175_he0_ve0_hs0_vs-5_2008-07-21_04-23-36 ';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-23-48  ';
+                                      'C1G175_he0_ve0_hs0_vs5_2008-07-21_04-23-59  ';
+                                      'C1G175_he0_ve0_hs0_vs10_2008-07-21_04-24-12 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-07-21_04-23-12';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-23-12';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-23-48';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-23-48';
+                                      'C1G175_he0_ve0_hs0_vs0_2008-07-21_04-23-48']);
+            end
+        elseif (gap < 0.5*(200 + 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2008-07-21_04-24-48';
+                                      'C1G200_he-5_ve0_hs0_vs0_2008-07-21_04-25-00 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-25-12  ';
+                                      'C1G200_he5_ve0_hs0_vs0_2008-07-21_04-25-24  ';
+                                      'C1G200_he10_ve0_hs0_vs0_2008-07-21_04-25-35 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-07-21_04-24-36';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-24-36';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-25-12';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-25-12';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-25-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2008-07-21_04-26-00';
+                                      'C1G200_he0_ve-5_hs0_vs0_2008-07-21_04-26-11 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-26-23  ';
+                                      'C1G200_he0_ve5_hs0_vs0_2008-07-21_04-26-34  ';
+                                      'C1G200_he0_ve10_hs0_vs0_2008-07-21_04-26-45 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-07-21_04-25-47';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-25-47';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-26-23';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-26-23';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-26-23']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2008-07-21_04-27-10';
+                                      'C1G200_he0_ve0_hs-5_vs0_2008-07-21_04-27-21 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-27-33  ';
+                                      'C1G200_he0_ve0_hs5_vs0_2008-07-21_04-27-44  ';
+                                      'C1G200_he0_ve0_hs10_vs0_2008-07-21_04-27-55 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-07-21_04-26-58';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-26-58';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-27-33';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-27-33';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-27-33']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2008-07-21_04-28-19';
+                                      'C1G200_he0_ve0_hs0_vs-5_2008-07-21_04-28-31 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-28-42  ';
+                                      'C1G200_he0_ve0_hs0_vs5_2008-07-21_04-28-54  ';
+                                      'C1G200_he0_ve0_hs0_vs10_2008-07-21_04-29-05 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-07-21_04-28-07';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-28-07';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-28-42';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-28-42';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-21_04-28-42']);
+            end
+        elseif (gap >= 0.5*(200 + 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G240_he-10_ve0_hs0_vs0_2008-07-21_04-29-48';
+                                      'C1G240_he-5_ve0_hs0_vs0_2008-07-21_04-30-00 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-30-11  ';
+                                      'C1G240_he5_ve0_hs0_vs0_2008-07-21_04-30-22  ';
+                                      'C1G240_he10_ve0_hs0_vs0_2008-07-21_04-30-34 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-07-21_04-29-36';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-29-36';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-30-11';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-30-11';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-30-11']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G240_he0_ve-10_hs0_vs0_2008-07-21_04-30-58';
+                                      'C1G240_he0_ve-5_hs0_vs0_2008-07-21_04-31-11 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-31-22  ';
+                                      'C1G240_he0_ve5_hs0_vs0_2008-07-21_04-31-34  ';
+                                      'C1G240_he0_ve10_hs0_vs0_2008-07-21_04-31-46 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-07-21_04-30-46';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-30-46';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-31-22';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-31-22';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-31-22']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs-10_vs0_2008-07-21_04-32-10';
+                                      'C1G240_he0_ve0_hs-5_vs0_2008-07-21_04-32-22 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-32-33  ';
+                                      'C1G240_he0_ve0_hs5_vs0_2008-07-21_04-32-45  ';
+                                      'C1G240_he0_ve0_hs10_vs0_2008-07-21_04-32-56 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-07-21_04-31-58';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-31-58';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-32-33';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-32-33';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-32-33']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs0_vs-10_2008-07-21_04-33-21';
+                                      'C1G240_he0_ve0_hs0_vs-5_2008-07-21_04-33-32 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-33-43  ';
+                                      'C1G240_he0_ve0_hs0_vs5_2008-07-21_04-33-55  ';
+                                      'C1G240_he0_ve0_hs0_vs10_2008-07-21_04-34-07 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-07-21_04-33-08';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-33-08';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-33-43';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-33-43';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-21_04-33-43']);
+            end
+        end 
+    end  % End of HU52
+    
+%% HU44 TEMPO
+elseif strncmp(idName, 'HU44', 4)
+
+    if strcmp(idName, 'HU44_TEMPO')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if (gap <0.5*(15.5+ 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2008-07-14_09-09-51';
+                                      'C1G15_5_he-5_ve0_hs0_vs0_2008-07-14_09-10-05 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-10-19  ';
+                                      'C1G15_5_he5_ve0_hs0_vs0_2008-07-14_09-10-32  ';
+                                      'C1G15_5_he10_ve0_hs0_vs0_2008-07-14_09-10-46 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-09-36';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-09-36';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-10-19';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-10-19';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-10-19']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2008-07-14_09-11-17';
+                                      'C1G15_5_he0_ve-5_hs0_vs0_2008-07-14_09-11-30 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-11-44  ';
+                                      'C1G15_5_he0_ve5_hs0_vs0_2008-07-14_09-11-59  ';
+                                      'C1G15_5_he0_ve10_hs0_vs0_2008-07-14_09-12-12 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-11-01';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-11-01';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-11-44';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-11-44';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-11-44']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2008-07-14_09-12-41';
+                                      'C1G15_5_he0_ve0_hs-5_vs0_2008-07-14_09-12-56 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-13-09  ';
+                                      'C1G15_5_he0_ve0_hs5_vs0_2008-07-14_09-13-24  ';
+                                      'C1G15_5_he0_ve0_hs10_vs0_2008-07-14_09-13-39 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-12-27';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-12-27';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-13-09';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-13-09';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-13-09']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2008-07-14_09-14-09';
+                                      'C1G15_5_he0_ve0_hs0_vs-5_2008-07-14_09-14-24 ';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-14-38  ';
+                                      'C1G15_5_he0_ve0_hs0_vs5_2008-07-14_09-14-52  ';
+                                      'C1G15_5_he0_ve0_hs0_vs10_2008-07-14_09-15-06 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-13-54';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-13-54';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-14-38';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-14-38';
+                                      'C1G15_5_he0_ve0_hs0_vs0_2008-07-14_09-14-38']);
+            end
+        elseif (gap <0.5*(18+ 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2008-07-14_10-21-06';
+                                      'C1G18_he-5_ve0_hs0_vs0_2008-07-14_10-21-20 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-21-34  ';
+                                      'C1G18_he5_ve0_hs0_vs0_2008-07-14_10-21-48  ';
+                                      'C1G18_he10_ve0_hs0_vs0_2008-07-14_10-22-02 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-07-14_10-20-51';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-20-51';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-21-34';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-21-34';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-21-34']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2008-07-14_10-22-33';
+                                      'C1G18_he0_ve-5_hs0_vs0_2008-07-14_10-22-47 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-23-00  ';
+                                      'C1G18_he0_ve5_hs0_vs0_2008-07-14_10-23-15  ';
+                                      'C1G18_he0_ve10_hs0_vs0_2008-07-14_10-23-28 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-07-14_10-22-17';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-22-17';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-23-00';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-23-00';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-23-00']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2008-07-14_10-23-59';
+                                      'C1G18_he0_ve0_hs-5_vs0_2008-07-14_10-24-14 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-24-28  ';
+                                      'C1G18_he0_ve0_hs5_vs0_2008-07-14_10-24-42  ';
+                                      'C1G18_he0_ve0_hs10_vs0_2008-07-14_10-24-56 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-07-14_10-23-44';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-23-44';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-24-28';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-24-28';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-24-28']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2008-07-14_10-25-28';
+                                      'C1G18_he0_ve0_hs0_vs-5_2008-07-14_10-25-41 ';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-25-56  ';
+                                      'C1G18_he0_ve0_hs0_vs5_2008-07-14_10-26-11  ';
+                                      'C1G18_he0_ve0_hs0_vs10_2008-07-14_10-26-25 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-07-14_10-25-12';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-25-12';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-25-56';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-25-56';
+                                      'C1G18_he0_ve0_hs0_vs0_2008-07-14_10-25-56']);
+            end
+        elseif (gap <0.5*(20+ 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2008-07-14_10-34-08';
+                                      'C1G20_he-5_ve0_hs0_vs0_2008-07-14_10-34-23 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-34-36  ';
+                                      'C1G20_he5_ve0_hs0_vs0_2008-07-14_10-34-50  ';
+                                      'C1G20_he10_ve0_hs0_vs0_2008-07-14_10-35-03 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-07-14_10-33-53';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-33-53';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-34-36';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-34-36';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-34-36']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2008-07-14_10-35-35';
+                                      'C1G20_he0_ve-5_hs0_vs0_2008-07-14_10-35-49 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-36-04  ';
+                                      'C1G20_he0_ve5_hs0_vs0_2008-07-14_10-36-18  ';
+                                      'C1G20_he0_ve10_hs0_vs0_2008-07-14_10-36-33 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-07-14_10-35-19';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-35-19';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-36-04';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-36-04';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-36-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2008-07-14_10-37-04';
+                                      'C1G20_he0_ve0_hs-5_vs0_2008-07-14_10-37-17 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-37-31  ';
+                                      'C1G20_he0_ve0_hs5_vs0_2008-07-14_10-37-46  ';
+                                      'C1G20_he0_ve0_hs10_vs0_2008-07-14_10-37-59 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-07-14_10-36-48';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-36-48';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-37-31';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-37-31';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-37-31']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2008-07-14_10-38-29';
+                                      'C1G20_he0_ve0_hs0_vs-5_2008-07-14_10-38-43 ';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-38-58  ';
+                                      'C1G20_he0_ve0_hs0_vs5_2008-07-14_10-39-11  ';
+                                      'C1G20_he0_ve0_hs0_vs10_2008-07-14_10-39-26 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-07-14_10-38-14';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-38-14';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-38-58';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-38-58';
+                                      'C1G20_he0_ve0_hs0_vs0_2008-07-14_10-38-58']);
+            end
+        elseif (gap <0.5*(25+ 30))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2008-07-14_10-41-36';
+                                      'C1G25_he-5_ve0_hs0_vs0_2008-07-14_10-41-51 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-42-05  ';
+                                      'C1G25_he5_ve0_hs0_vs0_2008-07-14_10-42-19  ';
+                                      'C1G25_he10_ve0_hs0_vs0_2008-07-14_10-42-34 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-07-14_10-41-20';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-41-20';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-42-05';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-42-05';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-42-05']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2008-07-14_10-43-03';
+                                      'C1G25_he0_ve-5_hs0_vs0_2008-07-14_10-43-17 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-43-30  ';
+                                      'C1G25_he0_ve5_hs0_vs0_2008-07-14_10-43-44  ';
+                                      'C1G25_he0_ve10_hs0_vs0_2008-07-14_10-43-59 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-07-14_10-42-49';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-42-49';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-43-30';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-43-30';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-43-30']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2008-07-14_10-44-31';
+                                      'C1G25_he0_ve0_hs-5_vs0_2008-07-14_10-44-44 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-44-58  ';
+                                      'C1G25_he0_ve0_hs5_vs0_2008-07-14_10-45-13  ';
+                                      'C1G25_he0_ve0_hs10_vs0_2008-07-14_10-45-27 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-07-14_10-44-15';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-44-15';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-44-58';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-44-58';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-44-58']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2008-07-14_10-45-58';
+                                      'C1G25_he0_ve0_hs0_vs-5_2008-07-14_10-46-12 ';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-46-27  ';
+                                      'C1G25_he0_ve0_hs0_vs5_2008-07-14_10-46-41  ';
+                                      'C1G25_he0_ve0_hs0_vs10_2008-07-14_10-46-54 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-07-14_10-45-42';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-45-42';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-46-27';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-46-27';
+                                      'C1G25_he0_ve0_hs0_vs0_2008-07-14_10-46-27']);
+            end
+        elseif (gap <0.5*(30+ 35))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2008-07-14_10-50-52';
+                                      'C1G30_he-5_ve0_hs0_vs0_2008-07-14_10-51-07 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-51-20  ';
+                                      'C1G30_he5_ve0_hs0_vs0_2008-07-14_10-51-35  ';
+                                      'C1G30_he10_ve0_hs0_vs0_2008-07-14_10-51-50 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-07-14_10-50-37';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-50-37';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-51-20';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-51-20';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-51-20']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2008-07-14_10-52-22';
+                                      'C1G30_he0_ve-5_hs0_vs0_2008-07-14_10-52-36 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-52-50  ';
+                                      'C1G30_he0_ve5_hs0_vs0_2008-07-14_10-53-05  ';
+                                      'C1G30_he0_ve10_hs0_vs0_2008-07-14_10-53-18 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-07-14_10-52-05';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-52-05';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-52-50';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-52-50';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-52-50']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2008-07-14_10-53-48';
+                                      'C1G30_he0_ve0_hs-5_vs0_2008-07-14_10-54-02 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-54-16  ';
+                                      'C1G30_he0_ve0_hs5_vs0_2008-07-14_10-54-30  ';
+                                      'C1G30_he0_ve0_hs10_vs0_2008-07-14_10-54-43 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-07-14_10-53-33';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-53-33';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-54-16';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-54-16';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-54-16']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2008-07-14_10-55-13';
+                                      'C1G30_he0_ve0_hs0_vs-5_2008-07-14_10-55-27 ';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-55-42  ';
+                                      'C1G30_he0_ve0_hs0_vs5_2008-07-14_10-55-57  ';
+                                      'C1G30_he0_ve0_hs0_vs10_2008-07-14_10-56-11 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-07-14_10-54-58';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-54-58';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-55-42';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-55-42';
+                                      'C1G30_he0_ve0_hs0_vs0_2008-07-14_10-55-42']);
+            end
+        elseif (gap <0.5*(35+ 40))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2008-07-14_10-57-57';
+                                      'C1G35_he-5_ve0_hs0_vs0_2008-07-14_10-58-13 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-58-28  ';
+                                      'C1G35_he5_ve0_hs0_vs0_2008-07-14_10-58-42  ';
+                                      'C1G35_he10_ve0_hs0_vs0_2008-07-14_10-58-56 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-07-14_10-57-43';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-57-43';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-58-28';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-58-28';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-58-28']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2008-07-14_10-59-26';
+                                      'C1G35_he0_ve-5_hs0_vs0_2008-07-14_10-59-41 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-59-56  ';
+                                      'C1G35_he0_ve5_hs0_vs0_2008-07-14_11-00-11  ';
+                                      'C1G35_he0_ve10_hs0_vs0_2008-07-14_11-00-25 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-07-14_10-59-11';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-59-11';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-59-56';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-59-56';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_10-59-56']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2008-07-14_11-00-56';
+                                      'C1G35_he0_ve0_hs-5_vs0_2008-07-14_11-01-09 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-01-23  ';
+                                      'C1G35_he0_ve0_hs5_vs0_2008-07-14_11-01-37  ';
+                                      'C1G35_he0_ve0_hs10_vs0_2008-07-14_11-01-51 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-07-14_11-00-41';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-00-41';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-01-23';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-01-23';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-01-23']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2008-07-14_11-02-23';
+                                      'C1G35_he0_ve0_hs0_vs-5_2008-07-14_11-02-39 ';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-02-53  ';
+                                      'C1G35_he0_ve0_hs0_vs5_2008-07-14_11-03-07  ';
+                                      'C1G35_he0_ve0_hs0_vs10_2008-07-14_11-03-22 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-07-14_11-02-07';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-02-07';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-02-53';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-02-53';
+                                      'C1G35_he0_ve0_hs0_vs0_2008-07-14_11-02-53']);
+            end
+        elseif (gap <0.5*(40+ 45))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2008-07-14_11-08-30';
+                                      'C1G40_he-5_ve0_hs0_vs0_2008-07-14_11-08-44 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-08-58  ';
+                                      'C1G40_he5_ve0_hs0_vs0_2008-07-14_11-09-11  ';
+                                      'C1G40_he10_ve0_hs0_vs0_2008-07-14_11-09-26 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-07-14_11-08-15';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-08-15';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-08-58';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-08-58';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-08-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2008-07-14_11-09-56';
+                                      'C1G40_he0_ve-5_hs0_vs0_2008-07-14_11-10-10 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-10-23  ';
+                                      'C1G40_he0_ve5_hs0_vs0_2008-07-14_11-10-38  ';
+                                      'C1G40_he0_ve10_hs0_vs0_2008-07-14_11-10-52 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-07-14_11-09-40';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-09-40';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-10-23';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-10-23';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-10-23']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2008-07-14_11-11-23';
+                                      'C1G40_he0_ve0_hs-5_vs0_2008-07-14_11-11-38 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-11-52  ';
+                                      'C1G40_he0_ve0_hs5_vs0_2008-07-14_11-12-08  ';
+                                      'C1G40_he0_ve0_hs10_vs0_2008-07-14_11-12-21 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-07-14_11-11-08';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-11-08';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-11-52';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-11-52';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-11-52']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2008-07-14_11-12-51';
+                                      'C1G40_he0_ve0_hs0_vs-5_2008-07-14_11-13-05 ';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-13-20  ';
+                                      'C1G40_he0_ve0_hs0_vs5_2008-07-14_11-13-35  ';
+                                      'C1G40_he0_ve0_hs0_vs10_2008-07-14_11-13-48 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-07-14_11-12-36';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-12-36';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-13-20';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-13-20';
+                                      'C1G40_he0_ve0_hs0_vs0_2008-07-14_11-13-20']);
+            end
+        elseif (gap <0.5*(45+ 50))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G45_he-10_ve0_hs0_vs0_2008-07-14_11-15-56';
+                                      'C1G45_he-5_ve0_hs0_vs0_2008-07-14_11-16-10 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-16-24  ';
+                                      'C1G45_he5_ve0_hs0_vs0_2008-07-14_11-16-37  ';
+                                      'C1G45_he10_ve0_hs0_vs0_2008-07-14_11-16-52 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-07-14_11-15-41';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-15-41';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-16-24';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-16-24';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-16-24']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G45_he0_ve-10_hs0_vs0_2008-07-14_11-17-22';
+                                      'C1G45_he0_ve-5_hs0_vs0_2008-07-14_11-17-35 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-17-50  ';
+                                      'C1G45_he0_ve5_hs0_vs0_2008-07-14_11-18-04  ';
+                                      'C1G45_he0_ve10_hs0_vs0_2008-07-14_11-18-16 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-07-14_11-17-07';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-17-07';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-17-50';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-17-50';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-17-50']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs-10_vs0_2008-07-14_11-18-47';
+                                      'C1G45_he0_ve0_hs-5_vs0_2008-07-14_11-19-01 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-19-15  ';
+                                      'C1G45_he0_ve0_hs5_vs0_2008-07-14_11-19-30  ';
+                                      'C1G45_he0_ve0_hs10_vs0_2008-07-14_11-19-44 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-07-14_11-18-32';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-18-32';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-19-15';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-19-15';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-19-15']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G45_he0_ve0_hs0_vs-10_2008-07-14_11-20-15';
+                                      'C1G45_he0_ve0_hs0_vs-5_2008-07-14_11-20-30 ';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-20-44  ';
+                                      'C1G45_he0_ve0_hs0_vs5_2008-07-14_11-20-57  ';
+                                      'C1G45_he0_ve0_hs0_vs10_2008-07-14_11-21-12 ']);
+                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2008-07-14_11-20-00';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-20-00';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-20-44';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-20-44';
+                                      'C1G45_he0_ve0_hs0_vs0_2008-07-14_11-20-44']);
+            end
+        elseif (gap <0.5*(50+ 60))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2008-07-14_11-24-46';
+                                      'C1G50_he-5_ve0_hs0_vs0_2008-07-14_11-25-00 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-25-13  ';
+                                      'C1G50_he5_ve0_hs0_vs0_2008-07-14_11-25-28  ';
+                                      'C1G50_he10_ve0_hs0_vs0_2008-07-14_11-25-41 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-07-14_11-24-31';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-24-31';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-25-13';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-25-13';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-25-13']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2008-07-14_11-26-12';
+                                      'C1G50_he0_ve-5_hs0_vs0_2008-07-14_11-26-26 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-26-39  ';
+                                      'C1G50_he0_ve5_hs0_vs0_2008-07-14_11-26-53  ';
+                                      'C1G50_he0_ve10_hs0_vs0_2008-07-14_11-27-07 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-07-14_11-25-57';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-25-57';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-26-39';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-26-39';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-26-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2008-07-14_11-27-39';
+                                      'C1G50_he0_ve0_hs-5_vs0_2008-07-14_11-27-52 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-28-07  ';
+                                      'C1G50_he0_ve0_hs5_vs0_2008-07-14_11-28-20  ';
+                                      'C1G50_he0_ve0_hs10_vs0_2008-07-14_11-28-35 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-07-14_11-27-22';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-27-22';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-28-07';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-28-07';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-28-07']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2008-07-14_11-29-05';
+                                      'C1G50_he0_ve0_hs0_vs-5_2008-07-14_11-29-19 ';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-29-34  ';
+                                      'C1G50_he0_ve0_hs0_vs5_2008-07-14_11-29-49  ';
+                                      'C1G50_he0_ve0_hs0_vs10_2008-07-14_11-30-02 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-07-14_11-28-50';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-28-50';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-29-34';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-29-34';
+                                      'C1G50_he0_ve0_hs0_vs0_2008-07-14_11-29-34']);
+            end
+        elseif (gap <0.5*(60+ 70))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2008-07-14_11-34-22';
+                                      'C1G60_he-5_ve0_hs0_vs0_2008-07-14_11-34-36 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-34-50  ';
+                                      'C1G60_he5_ve0_hs0_vs0_2008-07-14_11-35-03  ';
+                                      'C1G60_he10_ve0_hs0_vs0_2008-07-14_11-35-18 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-07-14_11-34-06';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-34-06';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-34-50';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-34-50';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-34-50']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2008-07-14_11-35-49';
+                                      'C1G60_he0_ve-5_hs0_vs0_2008-07-14_11-36-04 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-36-17  ';
+                                      'C1G60_he0_ve5_hs0_vs0_2008-07-14_11-36-31  ';
+                                      'C1G60_he0_ve10_hs0_vs0_2008-07-14_11-36-45 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-07-14_11-35-34';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-35-34';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-36-17';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-36-17';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-36-17']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2008-07-14_11-37-17';
+                                      'C1G60_he0_ve0_hs-5_vs0_2008-07-14_11-37-31 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-37-46  ';
+                                      'C1G60_he0_ve0_hs5_vs0_2008-07-14_11-38-00  ';
+                                      'C1G60_he0_ve0_hs10_vs0_2008-07-14_11-38-15 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-07-14_11-37-01';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-37-01';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-37-46';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-37-46';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-37-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2008-07-14_11-38-46';
+                                      'C1G60_he0_ve0_hs0_vs-5_2008-07-14_11-39-00 ';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-39-14  ';
+                                      'C1G60_he0_ve0_hs0_vs5_2008-07-14_11-39-29  ';
+                                      'C1G60_he0_ve0_hs0_vs10_2008-07-14_11-39-43 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-07-14_11-38-30';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-38-30';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-39-14';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-39-14';
+                                      'C1G60_he0_ve0_hs0_vs0_2008-07-14_11-39-14']);
+            end
+        elseif (gap <0.5*(70+ 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2008-07-14_11-41-22';
+                                      'C1G70_he-5_ve0_hs0_vs0_2008-07-14_11-41-35 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-41-49  ';
+                                      'C1G70_he5_ve0_hs0_vs0_2008-07-14_11-42-04  ';
+                                      'C1G70_he10_ve0_hs0_vs0_2008-07-14_11-42-17 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-07-14_11-41-06';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-41-06';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-41-49';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-41-49';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-41-49']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2008-07-14_11-42-49';
+                                      'C1G70_he0_ve-5_hs0_vs0_2008-07-14_11-43-02 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-43-17  ';
+                                      'C1G70_he0_ve5_hs0_vs0_2008-07-14_11-43-30  ';
+                                      'C1G70_he0_ve10_hs0_vs0_2008-07-14_11-43-44 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-07-14_11-42-33';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-42-33';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-43-17';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-43-17';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-43-17']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2008-07-14_11-44-14';
+                                      'C1G70_he0_ve0_hs-5_vs0_2008-07-14_11-44-28 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-44-42  ';
+                                      'C1G70_he0_ve0_hs5_vs0_2008-07-14_11-44-56  ';
+                                      'C1G70_he0_ve0_hs10_vs0_2008-07-14_11-45-10 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-07-14_11-43-59';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-43-59';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-44-42';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-44-42';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-44-42']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2008-07-14_11-45-39';
+                                      'C1G70_he0_ve0_hs0_vs-5_2008-07-14_11-45-54 ';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-46-08  ';
+                                      'C1G70_he0_ve0_hs0_vs5_2008-07-14_11-46-21  ';
+                                      'C1G70_he0_ve0_hs0_vs10_2008-07-14_11-46-35 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-07-14_11-45-25';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-45-25';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-46-08';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-46-08';
+                                      'C1G70_he0_ve0_hs0_vs0_2008-07-14_11-46-08']);
+            end
+        elseif (gap <0.5*(80+ 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2008-07-14_11-49-35';
+                                      'C1G80_he-5_ve0_hs0_vs0_2008-07-14_11-49-49 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-50-03  ';
+                                      'C1G80_he5_ve0_hs0_vs0_2008-07-14_11-50-16  ';
+                                      'C1G80_he10_ve0_hs0_vs0_2008-07-14_11-50-30 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-07-14_11-49-20';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-49-20';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-50-03';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-50-03';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-50-03']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2008-07-14_11-51-01';
+                                      'C1G80_he0_ve-5_hs0_vs0_2008-07-14_11-51-14 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-51-29  ';
+                                      'C1G80_he0_ve5_hs0_vs0_2008-07-14_11-51-42  ';
+                                      'C1G80_he0_ve10_hs0_vs0_2008-07-14_11-51-56 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-07-14_11-50-45';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-50-45';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-51-29';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-51-29';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-51-29']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2008-07-14_11-52-26';
+                                      'C1G80_he0_ve0_hs-5_vs0_2008-07-14_11-52-41 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-52-56  ';
+                                      'C1G80_he0_ve0_hs5_vs0_2008-07-14_11-53-10  ';
+                                      'C1G80_he0_ve0_hs10_vs0_2008-07-14_11-53-24 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-07-14_11-52-10';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-52-10';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-52-56';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-52-56';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-52-56']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2008-07-14_11-53-54';
+                                      'C1G80_he0_ve0_hs0_vs-5_2008-07-14_11-54-08 ';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-54-22  ';
+                                      'C1G80_he0_ve0_hs0_vs5_2008-07-14_11-54-36  ';
+                                      'C1G80_he0_ve0_hs0_vs10_2008-07-14_11-54-51 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-07-14_11-53-39';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-53-39';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-54-22';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-54-22';
+                                      'C1G80_he0_ve0_hs0_vs0_2008-07-14_11-54-22']);
+            end
+        elseif (gap <0.5*(90+ 100))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2008-07-14_11-58-30';
+                                      'C1G90_he-5_ve0_hs0_vs0_2008-07-14_11-58-43 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_11-58-58  ';
+                                      'C1G90_he5_ve0_hs0_vs0_2008-07-14_11-59-10  ';
+                                      'C1G90_he10_ve0_hs0_vs0_2008-07-14_11-59-25 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-07-14_11-58-16';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_11-58-16';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_11-58-58';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_11-58-58';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_11-58-58']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2008-07-14_11-59-56';
+                                      'C1G90_he0_ve-5_hs0_vs0_2008-07-14_12-00-09 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-00-24  ';
+                                      'C1G90_he0_ve5_hs0_vs0_2008-07-14_12-00-38  ';
+                                      'C1G90_he0_ve10_hs0_vs0_2008-07-14_12-00-53 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-07-14_11-59-40';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_11-59-40';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-00-24';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-00-24';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-00-24']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2008-07-14_12-01-22';
+                                      'C1G90_he0_ve0_hs-5_vs0_2008-07-14_12-01-37 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-01-51  ';
+                                      'C1G90_he0_ve0_hs5_vs0_2008-07-14_12-02-05  ';
+                                      'C1G90_he0_ve0_hs10_vs0_2008-07-14_12-02-19 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-07-14_12-01-08';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-01-08';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-01-51';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-01-51';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-01-51']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2008-07-14_12-02-51';
+                                      'C1G90_he0_ve0_hs0_vs-5_2008-07-14_12-03-04 ';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-03-18  ';
+                                      'C1G90_he0_ve0_hs0_vs5_2008-07-14_12-03-32  ';
+                                      'C1G90_he0_ve0_hs0_vs10_2008-07-14_12-03-46 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-07-14_12-02-35';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-02-35';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-03-18';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-03-18';
+                                      'C1G90_he0_ve0_hs0_vs0_2008-07-14_12-03-18']);
+            end
+        elseif (gap <0.5*(100+ 110))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2008-07-14_12-04-49';
+                                      'C1G100_he-5_ve0_hs0_vs0_2008-07-14_12-05-03 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-05-17  ';
+                                      'C1G100_he5_ve0_hs0_vs0_2008-07-14_12-05-30  ';
+                                      'C1G100_he10_ve0_hs0_vs0_2008-07-14_12-05-44 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-07-14_12-04-33';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-04-33';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-05-17';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-05-17';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-05-17']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2008-07-14_12-06-16';
+                                      'C1G100_he0_ve-5_hs0_vs0_2008-07-14_12-06-31 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-06-44  ';
+                                      'C1G100_he0_ve5_hs0_vs0_2008-07-14_12-06-58  ';
+                                      'C1G100_he0_ve10_hs0_vs0_2008-07-14_12-07-13 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-07-14_12-05-59';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-05-59';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-06-44';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-06-44';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-06-44']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2008-07-14_12-07-43';
+                                      'C1G100_he0_ve0_hs-5_vs0_2008-07-14_12-07-57 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-08-11  ';
+                                      'C1G100_he0_ve0_hs5_vs0_2008-07-14_12-08-25  ';
+                                      'C1G100_he0_ve0_hs10_vs0_2008-07-14_12-08-38 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-07-14_12-07-27';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-07-27';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-08-11';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-08-11';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-08-11']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2008-07-14_12-09-07';
+                                      'C1G100_he0_ve0_hs0_vs-5_2008-07-14_12-09-21 ';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-09-35  ';
+                                      'C1G100_he0_ve0_hs0_vs5_2008-07-14_12-09-50  ';
+                                      'C1G100_he0_ve0_hs0_vs10_2008-07-14_12-10-04 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-07-14_12-08-52';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-08-52';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-09-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-09-35';
+                                      'C1G100_he0_ve0_hs0_vs0_2008-07-14_12-09-35']);
+            end
+        elseif (gap <0.5*(110+ 120))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2008-07-14_12-12-57';
+                                      'C1G110_he-5_ve0_hs0_vs0_2008-07-14_12-13-13 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-13-27  ';
+                                      'C1G110_he5_ve0_hs0_vs0_2008-07-14_12-13-40  ';
+                                      'C1G110_he10_ve0_hs0_vs0_2008-07-14_12-13-56 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-07-14_12-12-41';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-12-41';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-13-27';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-13-27';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-13-27']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2008-07-14_12-14-25';
+                                      'C1G110_he0_ve-5_hs0_vs0_2008-07-14_12-14-39 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-14-54  ';
+                                      'C1G110_he0_ve5_hs0_vs0_2008-07-14_12-15-08  ';
+                                      'C1G110_he0_ve10_hs0_vs0_2008-07-14_12-15-22 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-07-14_12-14-10';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-14-10';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-14-54';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-14-54';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-14-54']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2008-07-14_12-15-52';
+                                      'C1G110_he0_ve0_hs-5_vs0_2008-07-14_12-16-06 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-16-21  ';
+                                      'C1G110_he0_ve0_hs5_vs0_2008-07-14_12-16-36  ';
+                                      'C1G110_he0_ve0_hs10_vs0_2008-07-14_12-16-51 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-07-14_12-15-37';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-15-37';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-16-21';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-16-21';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-16-21']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2008-07-14_12-17-22';
+                                      'C1G110_he0_ve0_hs0_vs-5_2008-07-14_12-17-37 ';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-17-51  ';
+                                      'C1G110_he0_ve0_hs0_vs5_2008-07-14_12-18-04  ';
+                                      'C1G110_he0_ve0_hs0_vs10_2008-07-14_12-18-19 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-07-14_12-17-07';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-17-07';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-17-51';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-17-51';
+                                      'C1G110_he0_ve0_hs0_vs0_2008-07-14_12-17-51']);
+            end
+        elseif (gap <0.5*(120+ 130))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G120_he-10_ve0_hs0_vs0_2008-07-14_12-19-45';
+                                      'C1G120_he-5_ve0_hs0_vs0_2008-07-14_12-19-59 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-20-13  ';
+                                      'C1G120_he5_ve0_hs0_vs0_2008-07-14_12-20-26  ';
+                                      'C1G120_he10_ve0_hs0_vs0_2008-07-14_12-20-39 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2008-07-14_12-19-30';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-19-30';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-20-13';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-20-13';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-20-13']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G120_he0_ve-10_hs0_vs0_2008-07-14_12-21-10';
+                                      'C1G120_he0_ve-5_hs0_vs0_2008-07-14_12-21-26 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-21-39  ';
+                                      'C1G120_he0_ve5_hs0_vs0_2008-07-14_12-21-53  ';
+                                      'C1G120_he0_ve10_hs0_vs0_2008-07-14_12-22-07 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2008-07-14_12-20-55';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-20-55';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-21-39';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-21-39';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-21-39']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs-10_vs0_2008-07-14_12-22-38';
+                                      'C1G120_he0_ve0_hs-5_vs0_2008-07-14_12-22-52 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-23-05  ';
+                                      'C1G120_he0_ve0_hs5_vs0_2008-07-14_12-23-20  ';
+                                      'C1G120_he0_ve0_hs10_vs0_2008-07-14_12-23-34 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2008-07-14_12-22-22';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-22-22';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-23-05';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-23-05';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-23-05']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G120_he0_ve0_hs0_vs-10_2008-07-14_12-24-05';
+                                      'C1G120_he0_ve0_hs0_vs-5_2008-07-14_12-24-20 ';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-24-35  ';
+                                      'C1G120_he0_ve0_hs0_vs5_2008-07-14_12-24-49  ';
+                                      'C1G120_he0_ve0_hs0_vs10_2008-07-14_12-25-04 ']);
+                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2008-07-14_12-23-49';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-23-49';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-24-35';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-24-35';
+                                      'C1G120_he0_ve0_hs0_vs0_2008-07-14_12-24-35']);
+            end
+        elseif (gap <0.5*(130+ 140))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2008-07-14_12-29-38';
+                                      'C1G130_he-5_ve0_hs0_vs0_2008-07-14_12-29-53 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-30-07  ';
+                                      'C1G130_he5_ve0_hs0_vs0_2008-07-14_12-30-22  ';
+                                      'C1G130_he10_ve0_hs0_vs0_2008-07-14_12-30-36 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-07-14_12-29-23';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-29-23';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-30-07';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-30-07';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-30-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2008-07-14_12-31-08';
+                                      'C1G130_he0_ve-5_hs0_vs0_2008-07-14_12-31-23 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-31-36  ';
+                                      'C1G130_he0_ve5_hs0_vs0_2008-07-14_12-31-50  ';
+                                      'C1G130_he0_ve10_hs0_vs0_2008-07-14_12-32-04 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-07-14_12-30-52';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-30-52';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-31-36';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-31-36';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-31-36']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2008-07-14_12-32-35';
+                                      'C1G130_he0_ve0_hs-5_vs0_2008-07-14_12-32-50 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-33-04  ';
+                                      'C1G130_he0_ve0_hs5_vs0_2008-07-14_12-33-19  ';
+                                      'C1G130_he0_ve0_hs10_vs0_2008-07-14_12-33-34 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-07-14_12-32-20';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-32-20';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-33-04';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-33-04';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-33-04']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2008-07-14_12-34-04';
+                                      'C1G130_he0_ve0_hs0_vs-5_2008-07-14_12-34-19 ';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-34-32  ';
+                                      'C1G130_he0_ve0_hs0_vs5_2008-07-14_12-34-47  ';
+                                      'C1G130_he0_ve0_hs0_vs10_2008-07-14_12-35-00 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-07-14_12-33-49';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-33-49';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-34-32';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-34-32';
+                                      'C1G130_he0_ve0_hs0_vs0_2008-07-14_12-34-32']);
+            end
+        elseif (gap <0.5*(140+ 150))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G140_he-10_ve0_hs0_vs0_2008-07-14_12-41-27';
+                                      'C1G140_he-5_ve0_hs0_vs0_2008-07-14_12-41-40 ';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-41-55  ';
+                                      'C1G140_he5_ve0_hs0_vs0_2008-07-14_12-42-10  ';
+                                      'C1G140_he10_ve0_hs0_vs0_2008-07-14_12-42-23 ']);
+                fnMeasBkgr = cellstr(['C1G140_he0_ve0_hs0_vs0_2008-07-14_12-41-11';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-41-11';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-41-55';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-41-55';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-41-55']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G140_he0_ve-10_hs0_vs0_2008-07-14_12-42-55';
+                                      'C1G140_he0_ve-5_hs0_vs0_2008-07-14_12-43-09 ';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-43-23  ';
+                                      'C1G140_he0_ve5_hs0_vs0_2008-07-14_12-43-38  ';
+                                      'C1G140_he0_ve10_hs0_vs0_2008-07-14_12-43-51 ']);
+                fnMeasBkgr = cellstr(['C1G140_he0_ve0_hs0_vs0_2008-07-14_12-42-39';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-42-39';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-43-23';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-43-23';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-43-23']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G140_he0_ve0_hs-10_vs0_2008-07-14_12-44-22';
+                                      'C1G140_he0_ve0_hs-5_vs0_2008-07-14_12-44-35 ';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-44-50  ';
+                                      'C1G140_he0_ve0_hs5_vs0_2008-07-14_12-45-04  ';
+                                      'C1G140_he0_ve0_hs10_vs0_2008-07-14_12-45-19 ']);
+                fnMeasBkgr = cellstr(['C1G140_he0_ve0_hs0_vs0_2008-07-14_12-44-06';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-44-06';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-44-50';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-44-50';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-44-50']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G140_he0_ve0_hs0_vs-10_2008-07-14_12-45-49';
+                                      'C1G140_he0_ve0_hs0_vs-5_2008-07-14_12-46-05 ';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-46-20  ';
+                                      'C1G140_he0_ve0_hs0_vs5_2008-07-14_12-46-35  ';
+                                      'C1G140_he0_ve0_hs0_vs10_2008-07-14_12-46-49 ']);
+                fnMeasBkgr = cellstr(['C1G140_he0_ve0_hs0_vs0_2008-07-14_12-45-34';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-45-34';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-46-20';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-46-20';
+                                      'C1G140_he0_ve0_hs0_vs0_2008-07-14_12-46-20']);
+            end
+        elseif (gap <0.5*(150+ 170))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2008-07-14_12-49-54';
+                                      'C1G150_he-5_ve0_hs0_vs0_2008-07-14_12-50-07 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-50-21  ';
+                                      'C1G150_he5_ve0_hs0_vs0_2008-07-14_12-50-34  ';
+                                      'C1G150_he10_ve0_hs0_vs0_2008-07-14_12-50-47 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-07-14_12-49-39';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-49-39';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-50-21';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-50-21';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-50-21']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2008-07-14_12-51-18';
+                                      'C1G150_he0_ve-5_hs0_vs0_2008-07-14_12-51-31 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-51-46  ';
+                                      'C1G150_he0_ve5_hs0_vs0_2008-07-14_12-52-00  ';
+                                      'C1G150_he0_ve10_hs0_vs0_2008-07-14_12-52-13 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-07-14_12-51-03';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-51-03';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-51-46';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-51-46';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-51-46']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2008-07-14_12-52-43';
+                                      'C1G150_he0_ve0_hs-5_vs0_2008-07-14_12-52-56 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-53-11  ';
+                                      'C1G150_he0_ve0_hs5_vs0_2008-07-14_12-53-25  ';
+                                      'C1G150_he0_ve0_hs10_vs0_2008-07-14_12-53-39 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-07-14_12-52-28';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-52-28';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-53-11';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-53-11';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-53-11']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2008-07-14_12-54-10';
+                                      'C1G150_he0_ve0_hs0_vs-5_2008-07-14_12-54-24 ';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-54-39  ';
+                                      'C1G150_he0_ve0_hs0_vs5_2008-07-14_12-54-54  ';
+                                      'C1G150_he0_ve0_hs0_vs10_2008-07-14_12-55-08 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-07-14_12-53-54';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-53-54';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-54-39';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-54-39';
+                                      'C1G150_he0_ve0_hs0_vs0_2008-07-14_12-54-39']);
+            end
+        elseif (gap <0.5*(170+ 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G170_he-10_ve0_hs0_vs0_2008-07-14_12-57-59';
+                                      'C1G170_he-5_ve0_hs0_vs0_2008-07-14_12-58-12 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-58-26  ';
+                                      'C1G170_he5_ve0_hs0_vs0_2008-07-14_12-58-39  ';
+                                      'C1G170_he10_ve0_hs0_vs0_2008-07-14_12-58-53 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2008-07-14_12-57-44';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-57-44';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-58-26';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-58-26';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-58-26']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G170_he0_ve-10_hs0_vs0_2008-07-14_12-59-22';
+                                      'C1G170_he0_ve-5_hs0_vs0_2008-07-14_12-59-37 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-59-51  ';
+                                      'C1G170_he0_ve5_hs0_vs0_2008-07-14_13-00-05  ';
+                                      'C1G170_he0_ve10_hs0_vs0_2008-07-14_13-00-18 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2008-07-14_12-59-07';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-59-07';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-59-51';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-59-51';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_12-59-51']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs-10_vs0_2008-07-14_13-00-47';
+                                      'C1G170_he0_ve0_hs-5_vs0_2008-07-14_13-01-02 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-01-17  ';
+                                      'C1G170_he0_ve0_hs5_vs0_2008-07-14_13-01-31  ';
+                                      'C1G170_he0_ve0_hs10_vs0_2008-07-14_13-01-46 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2008-07-14_13-00-33';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-00-33';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-01-17';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-01-17';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-01-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G170_he0_ve0_hs0_vs-10_2008-07-14_13-02-16';
+                                      'C1G170_he0_ve0_hs0_vs-5_2008-07-14_13-02-31 ';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-02-45  ';
+                                      'C1G170_he0_ve0_hs0_vs5_2008-07-14_13-03-00  ';
+                                      'C1G170_he0_ve0_hs0_vs10_2008-07-14_13-03-14 ']);
+                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2008-07-14_13-02-02';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-02-02';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-02-45';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-02-45';
+                                      'C1G170_he0_ve0_hs0_vs0_2008-07-14_13-02-45']);
+            end
+        elseif (gap <0.5*(200+ 240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2008-07-14_13-04-37';
+                                      'C1G200_he-5_ve0_hs0_vs0_2008-07-14_13-04-50 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-05-04  ';
+                                      'C1G200_he5_ve0_hs0_vs0_2008-07-14_13-05-19  ';
+                                      'C1G200_he10_ve0_hs0_vs0_2008-07-14_13-05-33 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-07-14_13-04-22';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-04-22';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-05-04';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-05-04';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-05-04']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2008-07-14_13-06-04';
+                                      'C1G200_he0_ve-5_hs0_vs0_2008-07-14_13-06-17 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-06-31  ';
+                                      'C1G200_he0_ve5_hs0_vs0_2008-07-14_13-06-46  ';
+                                      'C1G200_he0_ve10_hs0_vs0_2008-07-14_13-06-59 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-07-14_13-05-48';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-05-48';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-06-31';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-06-31';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-06-31']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2008-07-14_13-07-29';
+                                      'C1G200_he0_ve0_hs-5_vs0_2008-07-14_13-07-43 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-07-56  ';
+                                      'C1G200_he0_ve0_hs5_vs0_2008-07-14_13-08-10  ';
+                                      'C1G200_he0_ve0_hs10_vs0_2008-07-14_13-08-25 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-07-14_13-07-15';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-07-15';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-07-56';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-07-56';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-07-56']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2008-07-14_13-08-54';
+                                      'C1G200_he0_ve0_hs0_vs-5_2008-07-14_13-09-09 ';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-09-22  ';
+                                      'C1G200_he0_ve0_hs0_vs5_2008-07-14_13-09-36  ';
+                                      'C1G200_he0_ve0_hs0_vs10_2008-07-14_13-09-50 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-07-14_13-08-39';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-08-39';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-09-22';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-09-22';
+                                      'C1G200_he0_ve0_hs0_vs0_2008-07-14_13-09-22']);
+            end
+        %elseif (gap >=240)
+        elseif (gap >= 0.5*(200+240))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G240_he-10_ve0_hs0_vs0_2008-07-14_13-11-19';
+                                      'C1G240_he-5_ve0_hs0_vs0_2008-07-14_13-11-32 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-11-46  ';
+                                      'C1G240_he5_ve0_hs0_vs0_2008-07-14_13-12-01  ';
+                                      'C1G240_he10_ve0_hs0_vs0_2008-07-14_13-12-14 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-07-14_13-11-04';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-11-04';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-11-46';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-11-46';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-11-46']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G240_he0_ve-10_hs0_vs0_2008-07-14_13-12-45';
+                                      'C1G240_he0_ve-5_hs0_vs0_2008-07-14_13-13-00 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-13-13  ';
+                                      'C1G240_he0_ve5_hs0_vs0_2008-07-14_13-13-27  ';
+                                      'C1G240_he0_ve10_hs0_vs0_2008-07-14_13-13-40 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-07-14_13-12-30';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-12-30';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-13-13';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-13-13';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-13-13']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs-10_vs0_2008-07-14_13-14-10';
+                                      'C1G240_he0_ve0_hs-5_vs0_2008-07-14_13-14-24 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-14-39  ';
+                                      'C1G240_he0_ve0_hs5_vs0_2008-07-14_13-14-53  ';
+                                      'C1G240_he0_ve0_hs10_vs0_2008-07-14_13-15-08 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-07-14_13-13-55';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-13-55';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-14-39';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-14-39';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-14-39']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs0_vs-10_2008-07-14_13-15-38';
+                                      'C1G240_he0_ve0_hs0_vs-5_2008-07-14_13-15-53 ';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-16-07  ';
+                                      'C1G240_he0_ve0_hs0_vs5_2008-07-14_13-16-21  ';
+                                      'C1G240_he0_ve0_hs0_vs10_2008-07-14_13-16-35 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-07-14_13-15-24';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-15-24';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-16-07';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-16-07';
+                                      'C1G240_he0_ve0_hs0_vs0_2008-07-14_13-16-07']);
+            end
+        end % End of HU44 TEMPO
+        
+%% HU44 SEXTANTS
+    elseif strcmp(idName, 'HU44_SEXTANTS')
+        vCurVals = [-10, -5, 0, 5, 10];
+        if(gap < 0.5*(15.5+ 18))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2008-10-05_00-31-50';
+                    'C1G15_5_he-5_ve0_hs0_vs0_2008-10-05_00-32-04 ';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-32-18  ';
+                    'C1G15_5_he5_ve0_hs0_vs0_2008-10-05_00-32-32  ';
+                    'C1G15_5_he10_ve0_hs0_vs0_2008-10-05_00-32-45 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-31-34';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-31-34';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-32-18';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-32-18';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-32-18']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2008-10-05_00-33-16';
+                    'C1G15_5_he0_ve-5_hs0_vs0_2008-10-05_00-33-29 ';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-33-42  ';
+                    'C1G15_5_he0_ve5_hs0_vs0_2008-10-05_00-33-56  ';
+                    'C1G15_5_he0_ve10_hs0_vs0_2008-10-05_00-34-09 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-33-01';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-33-01';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-33-42';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-33-42';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-33-42']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2008-10-05_00-34-39';
+                    'C1G15_5_he0_ve0_hs-5_vs0_2008-10-05_00-34-53 ';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-35-07  ';
+                    'C1G15_5_he0_ve0_hs5_vs0_2008-10-05_00-35-22  ';
+                    'C1G15_5_he0_ve0_hs10_vs0_2008-10-05_00-35-36 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-34-24';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-34-24';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-35-07';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-35-07';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-35-07']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2008-10-05_00-36-07';
+                    'C1G15_5_he0_ve0_hs0_vs-5_2008-10-05_00-36-21 ';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-36-35  ';
+                    'C1G15_5_he0_ve0_hs0_vs5_2008-10-05_00-36-50  ';
+                    'C1G15_5_he0_ve0_hs0_vs10_2008-10-05_00-37-04 ']);
+                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-35-51';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-35-51';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-36-35';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-36-35';
+                    'C1G15_5_he0_ve0_hs0_vs0_2008-10-05_00-36-35']);
+            end
+        elseif (gap <0.5*(18+ 20))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2008-10-05_00-40-19';
+                    'C1G18_he-5_ve0_hs0_vs0_2008-10-05_00-40-32 ';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-40-47  ';
+                    'C1G18_he5_ve0_hs0_vs0_2008-10-05_00-41-01  ';
+                    'C1G18_he10_ve0_hs0_vs0_2008-10-05_00-41-15 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-10-05_00-40-04';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-40-04';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-40-47';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-40-47';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-40-47']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2008-10-05_00-41-46';
+                    'C1G18_he0_ve-5_hs0_vs0_2008-10-05_00-42-00 ';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-42-14  ';
+                    'C1G18_he0_ve5_hs0_vs0_2008-10-05_00-42-29  ';
+                    'C1G18_he0_ve10_hs0_vs0_2008-10-05_00-42-42 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-10-05_00-41-31';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-41-31';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-42-14';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-42-14';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-42-14']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2008-10-05_00-43-13';
+                    'C1G18_he0_ve0_hs-5_vs0_2008-10-05_00-43-27 ';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-43-42  ';
+                    'C1G18_he0_ve0_hs5_vs0_2008-10-05_00-43-56  ';
+                    'C1G18_he0_ve0_hs10_vs0_2008-10-05_00-44-10 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-10-05_00-42-57';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-42-57';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-43-42';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-43-42';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-43-42']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2008-10-05_00-44-41';
+                    'C1G18_he0_ve0_hs0_vs-5_2008-10-05_00-44-56 ';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-45-10  ';
+                    'C1G18_he0_ve0_hs0_vs5_2008-10-05_00-45-23  ';
+                    'C1G18_he0_ve0_hs0_vs10_2008-10-05_00-45-37 ']);
+                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2008-10-05_00-44-26';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-44-26';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-45-10';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-45-10';
+                    'C1G18_he0_ve0_hs0_vs0_2008-10-05_00-45-10']);
+            end
+        elseif (gap <0.5*(20+ 22.5))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2008-10-05_00-48-53';
+                    'C1G20_he-5_ve0_hs0_vs0_2008-10-05_00-49-07 ';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-49-21  ';
+                    'C1G20_he5_ve0_hs0_vs0_2008-10-05_00-49-34  ';
+                    'C1G20_he10_ve0_hs0_vs0_2008-10-05_00-49-48 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-10-05_00-48-39';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-48-39';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-49-21';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-49-21';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-49-21']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2008-10-05_00-50-19';
+                    'C1G20_he0_ve-5_hs0_vs0_2008-10-05_00-50-33 ';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-50-47  ';
+                    'C1G20_he0_ve5_hs0_vs0_2008-10-05_00-51-02  ';
+                    'C1G20_he0_ve10_hs0_vs0_2008-10-05_00-51-15 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-10-05_00-50-03';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-50-03';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-50-47';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-50-47';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-50-47']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2008-10-05_00-51-44';
+                    'C1G20_he0_ve0_hs-5_vs0_2008-10-05_00-51-58 ';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-52-11  ';
+                    'C1G20_he0_ve0_hs5_vs0_2008-10-05_00-52-25  ';
+                    'C1G20_he0_ve0_hs10_vs0_2008-10-05_00-52-39 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-10-05_00-51-29';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-51-29';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-52-11';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-52-11';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-52-11']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2008-10-05_00-53-10';
+                    'C1G20_he0_ve0_hs0_vs-5_2008-10-05_00-53-24 ';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-53-39  ';
+                    'C1G20_he0_ve0_hs0_vs5_2008-10-05_00-53-53  ';
+                    'C1G20_he0_ve0_hs0_vs10_2008-10-05_00-54-07 ']);
+                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2008-10-05_00-52-55';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-52-55';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-53-39';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-53-39';
+                    'C1G20_he0_ve0_hs0_vs0_2008-10-05_00-53-39']);
+            end
+        elseif (gap <0.5*(22.5+ 25))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G22_5_he-10_ve0_hs0_vs0_2008-10-05_00-55-20';
+                    'C1G22_5_he-5_ve0_hs0_vs0_2008-10-05_00-55-33 ';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-55-47  ';
+                    'C1G22_5_he5_ve0_hs0_vs0_2008-10-05_00-56-02  ';
+                    'C1G22_5_he10_ve0_hs0_vs0_2008-10-05_00-56-16 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-55-04';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-55-04';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-55-47';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-55-47';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-55-47']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve-10_hs0_vs0_2008-10-05_00-56-46';
+                    'C1G22_5_he0_ve-5_hs0_vs0_2008-10-05_00-57-01 ';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-57-15  ';
+                    'C1G22_5_he0_ve5_hs0_vs0_2008-10-05_00-57-29  ';
+                    'C1G22_5_he0_ve10_hs0_vs0_2008-10-05_00-57-43 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-56-31';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-56-31';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-57-15';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-57-15';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-57-15']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve0_hs-10_vs0_2008-10-05_00-58-14';
+                    'C1G22_5_he0_ve0_hs-5_vs0_2008-10-05_00-58-28 ';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-58-42  ';
+                    'C1G22_5_he0_ve0_hs5_vs0_2008-10-05_00-58-56  ';
+                    'C1G22_5_he0_ve0_hs10_vs0_2008-10-05_00-59-11 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-57-58';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-57-58';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-58-42';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-58-42';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-58-42']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G22_5_he0_ve0_hs0_vs-10_2008-10-05_00-59-42';
+                    'C1G22_5_he0_ve0_hs0_vs-5_2008-10-05_00-59-55 ';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_01-00-08  ';
+                    'C1G22_5_he0_ve0_hs0_vs5_2008-10-05_01-00-22  ';
+                    'C1G22_5_he0_ve0_hs0_vs10_2008-10-05_01-00-36 ']);
+                fnMeasBkgr = cellstr(['C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-59-26';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_00-59-26';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_01-00-08';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_01-00-08';
+                    'C1G22_5_he0_ve0_hs0_vs0_2008-10-05_01-00-08']);
+            end
+        elseif (gap <0.5*(25+ 27.5))  
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2008-10-05_01-01-56';
+                    'C1G25_he-5_ve0_hs0_vs0_2008-10-05_01-02-10 ';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-02-24  ';
+                    'C1G25_he5_ve0_hs0_vs0_2008-10-05_01-02-37  ';
+                    'C1G25_he10_ve0_hs0_vs0_2008-10-05_01-02-51 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-10-05_01-01-41';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-01-41';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-02-24';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-02-24';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-02-24']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2008-10-05_01-03-20';
+                    'C1G25_he0_ve-5_hs0_vs0_2008-10-05_01-03-34 ';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-03-47  ';
+                    'C1G25_he0_ve5_hs0_vs0_2008-10-05_01-04-00  ';
+                    'C1G25_he0_ve10_hs0_vs0_2008-10-05_01-04-14 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-10-05_01-03-06';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-03-06';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-03-47';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-03-47';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-03-47']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2008-10-05_01-04-44';
+                    'C1G25_he0_ve0_hs-5_vs0_2008-10-05_01-04-59 ';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-05-13  ';
+                    'C1G25_he0_ve0_hs5_vs0_2008-10-05_01-05-27  ';
+                    'C1G25_he0_ve0_hs10_vs0_2008-10-05_01-05-42 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-10-05_01-04-29';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-04-29';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-05-13';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-05-13';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-05-13']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2008-10-05_01-06-12';
+                    'C1G25_he0_ve0_hs0_vs-5_2008-10-05_01-06-26 ';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-06-41  ';
+                    'C1G25_he0_ve0_hs0_vs5_2008-10-05_01-06-55  ';
+                    'C1G25_he0_ve0_hs0_vs10_2008-10-05_01-07-08 ']);
+                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2008-10-05_01-05-57';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-05-57';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-06-41';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-06-41';
+                    'C1G25_he0_ve0_hs0_vs0_2008-10-05_01-06-41']);
+            end
+
+        elseif (gap <0.5*(27.5+ 30))    
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G27_5_he-10_ve0_hs0_vs0_2008-10-05_01-09-09';
+                    'C1G27_5_he-5_ve0_hs0_vs0_2008-10-05_01-09-24 ';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-09-38  ';
+                    'C1G27_5_he5_ve0_hs0_vs0_2008-10-05_01-09-51  ';
+                    'C1G27_5_he10_ve0_hs0_vs0_2008-10-05_01-10-05 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-08-55';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-08-55';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-09-38';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-09-38';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-09-38']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve-10_hs0_vs0_2008-10-05_01-10-35';
+                    'C1G27_5_he0_ve-5_hs0_vs0_2008-10-05_01-10-50 ';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-11-04  ';
+                    'C1G27_5_he0_ve5_hs0_vs0_2008-10-05_01-11-19  ';
+                    'C1G27_5_he0_ve10_hs0_vs0_2008-10-05_01-11-33 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-10-20';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-10-20';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-11-04';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-11-04';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-11-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve0_hs-10_vs0_2008-10-05_01-12-04';
+                    'C1G27_5_he0_ve0_hs-5_vs0_2008-10-05_01-12-17 ';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-12-31  ';
+                    'C1G27_5_he0_ve0_hs5_vs0_2008-10-05_01-12-45  ';
+                    'C1G27_5_he0_ve0_hs10_vs0_2008-10-05_01-13-00 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-11-48';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-11-48';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-12-31';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-12-31';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-12-31']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G27_5_he0_ve0_hs0_vs-10_2008-10-05_01-13-30';
+                    'C1G27_5_he0_ve0_hs0_vs-5_2008-10-05_01-13-45 ';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-13-59  ';
+                    'C1G27_5_he0_ve0_hs0_vs5_2008-10-05_01-14-12  ';
+                    'C1G27_5_he0_ve0_hs0_vs10_2008-10-05_01-14-27 ']);
+                fnMeasBkgr = cellstr(['C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-13-15';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-13-15';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-13-59';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-13-59';
+                    'C1G27_5_he0_ve0_hs0_vs0_2008-10-05_01-13-59']);
+            end
+
+        elseif (gap <0.5*(30+ 35))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2008-10-05_01-16-57';
+                    'C1G30_he-5_ve0_hs0_vs0_2008-10-05_01-17-12 ';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-17-26  ';
+                    'C1G30_he5_ve0_hs0_vs0_2008-10-05_01-17-40  ';
+                    'C1G30_he10_ve0_hs0_vs0_2008-10-05_01-17-55 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-10-05_01-16-42';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-16-42';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-17-26';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-17-26';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-17-26']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2008-10-05_01-18-25';
+                    'C1G30_he0_ve-5_hs0_vs0_2008-10-05_01-18-40 ';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-18-54  ';
+                    'C1G30_he0_ve5_hs0_vs0_2008-10-05_01-19-08  ';
+                    'C1G30_he0_ve10_hs0_vs0_2008-10-05_01-19-23 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-10-05_01-18-10';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-18-10';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-18-54';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-18-54';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-18-54']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2008-10-05_01-19-54';
+                    'C1G30_he0_ve0_hs-5_vs0_2008-10-05_01-20-09 ';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-20-23  ';
+                    'C1G30_he0_ve0_hs5_vs0_2008-10-05_01-20-37  ';
+                    'C1G30_he0_ve0_hs10_vs0_2008-10-05_01-20-52 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-10-05_01-19-39';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-19-39';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-20-23';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-20-23';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-20-23']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2008-10-05_01-21-22';
+                    'C1G30_he0_ve0_hs0_vs-5_2008-10-05_01-21-37 ';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-21-51  ';
+                    'C1G30_he0_ve0_hs0_vs5_2008-10-05_01-22-05  ';
+                    'C1G30_he0_ve0_hs0_vs10_2008-10-05_01-22-20 ']);
+                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2008-10-05_01-21-07';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-21-07';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-21-51';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-21-51';
+                    'C1G30_he0_ve0_hs0_vs0_2008-10-05_01-21-51']);
+            end
+
+        elseif (gap <0.5*(35+ 40))  
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2008-10-05_01-23-36';
+                    'C1G35_he-5_ve0_hs0_vs0_2008-10-05_01-23-50 ';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-24-04  ';
+                    'C1G35_he5_ve0_hs0_vs0_2008-10-05_01-24-18  ';
+                    'C1G35_he10_ve0_hs0_vs0_2008-10-05_01-24-31 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-10-05_01-23-20';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-23-20';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-24-04';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-24-04';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-24-04']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2008-10-05_01-25-02';
+                    'C1G35_he0_ve-5_hs0_vs0_2008-10-05_01-25-15 ';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-25-28  ';
+                    'C1G35_he0_ve5_hs0_vs0_2008-10-05_01-25-42  ';
+                    'C1G35_he0_ve10_hs0_vs0_2008-10-05_01-25-56 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-10-05_01-24-46';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-24-46';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-25-28';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-25-28';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-25-28']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2008-10-05_01-26-25';
+                    'C1G35_he0_ve0_hs-5_vs0_2008-10-05_01-26-40 ';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-26-54  ';
+                    'C1G35_he0_ve0_hs5_vs0_2008-10-05_01-27-08  ';
+                    'C1G35_he0_ve0_hs10_vs0_2008-10-05_01-27-23 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-10-05_01-26-11';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-26-11';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-26-54';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-26-54';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-26-54']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2008-10-05_01-27-54';
+                    'C1G35_he0_ve0_hs0_vs-5_2008-10-05_01-28-08 ';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-28-22  ';
+                    'C1G35_he0_ve0_hs0_vs5_2008-10-05_01-28-35  ';
+                    'C1G35_he0_ve0_hs0_vs10_2008-10-05_01-28-48 ']);
+                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2008-10-05_01-27-39';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-27-39';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-28-22';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-28-22';
+                    'C1G35_he0_ve0_hs0_vs0_2008-10-05_01-28-22']);
+            end
+
+        elseif (gap <0.5*(40+ 50))  
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2008-10-05_01-30-38';
+                    'C1G40_he-5_ve0_hs0_vs0_2008-10-05_01-30-52 ';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-31-05  ';
+                    'C1G40_he5_ve0_hs0_vs0_2008-10-05_01-31-20  ';
+                    'C1G40_he10_ve0_hs0_vs0_2008-10-05_01-31-34 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-10-05_01-30-21';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-30-21';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-31-05';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-31-05';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-31-05']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2008-10-05_01-32-05';
+                    'C1G40_he0_ve-5_hs0_vs0_2008-10-05_01-32-18 ';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-32-31  ';
+                    'C1G40_he0_ve5_hs0_vs0_2008-10-05_01-32-44  ';
+                    'C1G40_he0_ve10_hs0_vs0_2008-10-05_01-32-57 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-10-05_01-31-49';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-31-49';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-32-31';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-32-31';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-32-31']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2008-10-05_01-33-27';
+                    'C1G40_he0_ve0_hs-5_vs0_2008-10-05_01-33-40 ';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-33-54  ';
+                    'C1G40_he0_ve0_hs5_vs0_2008-10-05_01-34-09  ';
+                    'C1G40_he0_ve0_hs10_vs0_2008-10-05_01-34-23 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-10-05_01-33-11';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-33-11';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-33-54';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-33-54';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-33-54']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2008-10-05_01-34-54';
+                    'C1G40_he0_ve0_hs0_vs-5_2008-10-05_01-35-08 ';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-35-22  ';
+                    'C1G40_he0_ve0_hs0_vs5_2008-10-05_01-35-37  ';
+                    'C1G40_he0_ve0_hs0_vs10_2008-10-05_01-35-51 ']);
+                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2008-10-05_01-34-38';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-34-38';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-35-22';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-35-22';
+                    'C1G40_he0_ve0_hs0_vs0_2008-10-05_01-35-22']);
+            end
+
+
+        elseif (gap <0.5*(50+ 60))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2008-10-05_01-37-01';
+                    'C1G50_he-5_ve0_hs0_vs0_2008-10-05_01-37-14 ';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-37-29  ';
+                    'C1G50_he5_ve0_hs0_vs0_2008-10-05_01-37-42  ';
+                    'C1G50_he10_ve0_hs0_vs0_2008-10-05_01-37-55 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-10-05_01-36-46';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-36-46';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-37-29';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-37-29';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-37-29']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2008-10-05_01-38-26';
+                    'C1G50_he0_ve-5_hs0_vs0_2008-10-05_01-38-39 ';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-38-54  ';
+                    'C1G50_he0_ve5_hs0_vs0_2008-10-05_01-39-08  ';
+                    'C1G50_he0_ve10_hs0_vs0_2008-10-05_01-39-22 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-10-05_01-38-10';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-38-10';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-38-54';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-38-54';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-38-54']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2008-10-05_01-39-52';
+                    'C1G50_he0_ve0_hs-5_vs0_2008-10-05_01-40-05 ';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-40-20  ';
+                    'C1G50_he0_ve0_hs5_vs0_2008-10-05_01-40-34  ';
+                    'C1G50_he0_ve0_hs10_vs0_2008-10-05_01-40-47 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-10-05_01-39-37';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-39-37';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-40-20';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-40-20';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-40-20']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2008-10-05_01-41-18';
+                    'C1G50_he0_ve0_hs0_vs-5_2008-10-05_01-41-31 ';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-41-45  ';
+                    'C1G50_he0_ve0_hs0_vs5_2008-10-05_01-41-59  ';
+                    'C1G50_he0_ve0_hs0_vs10_2008-10-05_01-42-13 ']);
+                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2008-10-05_01-41-02';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-41-02';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-41-45';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-41-45';
+                    'C1G50_he0_ve0_hs0_vs0_2008-10-05_01-41-45']);
+            end
+
+        elseif (gap <0.5*(60+ 70))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2008-10-05_01-43-40';
+                    'C1G60_he-5_ve0_hs0_vs0_2008-10-05_01-43-54 ';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-44-07  ';
+                    'C1G60_he5_ve0_hs0_vs0_2008-10-05_01-44-21  ';
+                    'C1G60_he10_ve0_hs0_vs0_2008-10-05_01-44-34 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-10-05_01-43-25';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-43-25';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-44-07';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-44-07';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-44-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2008-10-05_01-45-04';
+                    'C1G60_he0_ve-5_hs0_vs0_2008-10-05_01-45-17 ';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-45-32  ';
+                    'C1G60_he0_ve5_hs0_vs0_2008-10-05_01-45-46  ';
+                    'C1G60_he0_ve10_hs0_vs0_2008-10-05_01-46-01 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-10-05_01-44-50';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-44-50';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-45-32';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-45-32';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-45-32']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2008-10-05_01-46-32';
+                    'C1G60_he0_ve0_hs-5_vs0_2008-10-05_01-46-47 ';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-47-01  ';
+                    'C1G60_he0_ve0_hs5_vs0_2008-10-05_01-47-15  ';
+                    'C1G60_he0_ve0_hs10_vs0_2008-10-05_01-47-29 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-10-05_01-46-17';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-46-17';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-47-01';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-47-01';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-47-01']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2008-10-05_01-47-59';
+                    'C1G60_he0_ve0_hs0_vs-5_2008-10-05_01-48-14 ';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-48-27  ';
+                    'C1G60_he0_ve0_hs0_vs5_2008-10-05_01-48-41  ';
+                    'C1G60_he0_ve0_hs0_vs10_2008-10-05_01-48-56 ']);
+                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2008-10-05_01-47-44';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-47-44';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-48-27';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-48-27';
+                    'C1G60_he0_ve0_hs0_vs0_2008-10-05_01-48-27']);
+            end
+
+
+        elseif (gap <0.5*(70+ 80))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2008-10-05_01-50-02';
+                    'C1G70_he-5_ve0_hs0_vs0_2008-10-05_01-50-15 ';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-50-28  ';
+                    'C1G70_he5_ve0_hs0_vs0_2008-10-05_01-50-42  ';
+                    'C1G70_he10_ve0_hs0_vs0_2008-10-05_01-50-56 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-10-05_01-49-46';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-49-46';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-50-28';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-50-28';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-50-28']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2008-10-05_01-51-26';
+                    'C1G70_he0_ve-5_hs0_vs0_2008-10-05_01-51-39 ';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-51-52  ';
+                    'C1G70_he0_ve5_hs0_vs0_2008-10-05_01-52-06  ';
+                    'C1G70_he0_ve10_hs0_vs0_2008-10-05_01-52-20 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-10-05_01-51-11';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-51-11';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-51-52';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-51-52';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-51-52']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2008-10-05_01-52-51';
+                    'C1G70_he0_ve0_hs-5_vs0_2008-10-05_01-53-05 ';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-53-20  ';
+                    'C1G70_he0_ve0_hs5_vs0_2008-10-05_01-53-33  ';
+                    'C1G70_he0_ve0_hs10_vs0_2008-10-05_01-53-46 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-10-05_01-52-36';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-52-36';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-53-20';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-53-20';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-53-20']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2008-10-05_01-54-17';
+                    'C1G70_he0_ve0_hs0_vs-5_2008-10-05_01-54-31 ';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-54-45  ';
+                    'C1G70_he0_ve0_hs0_vs5_2008-10-05_01-54-59  ';
+                    'C1G70_he0_ve0_hs0_vs10_2008-10-05_01-55-13 ']);
+                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2008-10-05_01-54-02';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-54-02';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-54-45';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-54-45';
+                    'C1G70_he0_ve0_hs0_vs0_2008-10-05_01-54-45']);
+            end
+        elseif (gap <0.5*(80+ 90))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2008-10-05_01-56-40';
+                    'C1G80_he-5_ve0_hs0_vs0_2008-10-05_01-56-53 ';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-57-07  ';
+                    'C1G80_he5_ve0_hs0_vs0_2008-10-05_01-57-21  ';
+                    'C1G80_he10_ve0_hs0_vs0_2008-10-05_01-57-35 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-10-05_01-56-24';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-56-24';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-57-07';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-57-07';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-57-07']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2008-10-05_01-58-05';
+                    'C1G80_he0_ve-5_hs0_vs0_2008-10-05_01-58-18 ';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-58-31  ';
+                    'C1G80_he0_ve5_hs0_vs0_2008-10-05_01-58-46  ';
+                    'C1G80_he0_ve10_hs0_vs0_2008-10-05_01-59-00 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-10-05_01-57-50';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-57-50';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-58-31';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-58-31';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-58-31']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2008-10-05_01-59-31';
+                    'C1G80_he0_ve0_hs-5_vs0_2008-10-05_01-59-44 ';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-59-58  ';
+                    'C1G80_he0_ve0_hs5_vs0_2008-10-05_02-00-12  ';
+                    'C1G80_he0_ve0_hs10_vs0_2008-10-05_02-00-26 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-10-05_01-59-15';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-59-15';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-59-58';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-59-58';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_01-59-58']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2008-10-05_02-00-57';
+                    'C1G80_he0_ve0_hs0_vs-5_2008-10-05_02-01-11 ';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_02-01-24  ';
+                    'C1G80_he0_ve0_hs0_vs5_2008-10-05_02-01-38  ';
+                    'C1G80_he0_ve0_hs0_vs10_2008-10-05_02-01-53 ']);
+                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2008-10-05_02-00-42';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_02-00-42';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_02-01-24';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_02-01-24';
+                    'C1G80_he0_ve0_hs0_vs0_2008-10-05_02-01-24']);
+            end
+
+
+        elseif (gap <0.5*(90+ 100))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2008-10-05_02-03-36';
+                    'C1G90_he-5_ve0_hs0_vs0_2008-10-05_02-03-49 ';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-04-03  ';
+                    'C1G90_he5_ve0_hs0_vs0_2008-10-05_02-04-18  ';
+                    'C1G90_he10_ve0_hs0_vs0_2008-10-05_02-04-31 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-10-05_02-03-20';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-03-20';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-04-03';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-04-03';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-04-03']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2008-10-05_02-05-01';
+                    'C1G90_he0_ve-5_hs0_vs0_2008-10-05_02-05-15 ';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-05-28  ';
+                    'C1G90_he0_ve5_hs0_vs0_2008-10-05_02-05-41  ';
+                    'C1G90_he0_ve10_hs0_vs0_2008-10-05_02-05-56 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-10-05_02-04-46';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-04-46';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-05-28';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-05-28';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-05-28']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2008-10-05_02-06-25';
+                    'C1G90_he0_ve0_hs-5_vs0_2008-10-05_02-06-40 ';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-06-54  ';
+                    'C1G90_he0_ve0_hs5_vs0_2008-10-05_02-07-08  ';
+                    'C1G90_he0_ve0_hs10_vs0_2008-10-05_02-07-23 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-10-05_02-06-11';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-06-11';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-06-54';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-06-54';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-06-54']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2008-10-05_02-07-54';
+                    'C1G90_he0_ve0_hs0_vs-5_2008-10-05_02-08-07 ';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-08-21  ';
+                    'C1G90_he0_ve0_hs0_vs5_2008-10-05_02-08-35  ';
+                    'C1G90_he0_ve0_hs0_vs10_2008-10-05_02-08-50 ']);
+                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2008-10-05_02-07-38';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-07-38';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-08-21';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-08-21';
+                    'C1G90_he0_ve0_hs0_vs0_2008-10-05_02-08-21']);
+            end
+
+
+        elseif (gap <0.5*(100+ 110))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2008-10-05_02-10-05';
+                    'C1G100_he-5_ve0_hs0_vs0_2008-10-05_02-10-18 ';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-10-33  ';
+                    'C1G100_he5_ve0_hs0_vs0_2008-10-05_02-10-46  ';
+                    'C1G100_he10_ve0_hs0_vs0_2008-10-05_02-11-00 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-10-05_02-09-49';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-09-49';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-10-33';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-10-33';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-10-33']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2008-10-05_02-11-30';
+                    'C1G100_he0_ve-5_hs0_vs0_2008-10-05_02-11-44 ';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-11-57  ';
+                    'C1G100_he0_ve5_hs0_vs0_2008-10-05_02-12-11  ';
+                    'C1G100_he0_ve10_hs0_vs0_2008-10-05_02-12-26 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-10-05_02-11-15';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-11-15';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-11-57';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-11-57';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-11-57']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2008-10-05_02-12-56';
+                    'C1G100_he0_ve0_hs-5_vs0_2008-10-05_02-13-09 ';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-13-23  ';
+                    'C1G100_he0_ve0_hs5_vs0_2008-10-05_02-13-36  ';
+                    'C1G100_he0_ve0_hs10_vs0_2008-10-05_02-13-49 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-10-05_02-12-41';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-12-41';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-13-23';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-13-23';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-13-23']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2008-10-05_02-14-19';
+                    'C1G100_he0_ve0_hs0_vs-5_2008-10-05_02-14-33 ';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-14-47  ';
+                    'C1G100_he0_ve0_hs0_vs5_2008-10-05_02-15-01  ';
+                    'C1G100_he0_ve0_hs0_vs10_2008-10-05_02-15-15 ']);
+                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2008-10-05_02-14-04';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-14-04';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-14-47';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-14-47';
+                    'C1G100_he0_ve0_hs0_vs0_2008-10-05_02-14-47']);
+            end
+        elseif (gap <0.5*(110+ 130))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2008-10-05_02-19-27';
+                    'C1G110_he-5_ve0_hs0_vs0_2008-10-05_02-19-41 ';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-19-55  ';
+                    'C1G110_he5_ve0_hs0_vs0_2008-10-05_02-20-09  ';
+                    'C1G110_he10_ve0_hs0_vs0_2008-10-05_02-20-23 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-10-05_02-19-11';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-19-11';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-19-55';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-19-55';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-19-55']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2008-10-05_02-20-53';
+                    'C1G110_he0_ve-5_hs0_vs0_2008-10-05_02-21-06 ';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-21-20  ';
+                    'C1G110_he0_ve5_hs0_vs0_2008-10-05_02-21-33  ';
+                    'C1G110_he0_ve10_hs0_vs0_2008-10-05_02-21-48 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-10-05_02-20-38';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-20-38';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-21-20';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-21-20';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-21-20']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2008-10-05_02-22-17';
+                    'C1G110_he0_ve0_hs-5_vs0_2008-10-05_02-22-32 ';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-22-46  ';
+                    'C1G110_he0_ve0_hs5_vs0_2008-10-05_02-23-00  ';
+                    'C1G110_he0_ve0_hs10_vs0_2008-10-05_02-23-15 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-10-05_02-22-03';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-22-03';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-22-46';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-22-46';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-22-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2008-10-05_02-23-45';
+                    'C1G110_he0_ve0_hs0_vs-5_2008-10-05_02-23-59 ';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-24-12  ';
+                    'C1G110_he0_ve0_hs0_vs5_2008-10-05_02-24-27  ';
+                    'C1G110_he0_ve0_hs0_vs10_2008-10-05_02-24-41 ']);
+                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2008-10-05_02-23-30';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-23-30';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-24-12';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-24-12';
+                    'C1G110_he0_ve0_hs0_vs0_2008-10-05_02-24-12']);
+            end
+
+
+        elseif (gap <0.5*(130+ 150))
+
+             if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2008-10-05_02-27-02';
+                    'C1G130_he-5_ve0_hs0_vs0_2008-10-05_02-27-17 ';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-27-31  ';
+                    'C1G130_he5_ve0_hs0_vs0_2008-10-05_02-27-44  ';
+                    'C1G130_he10_ve0_hs0_vs0_2008-10-05_02-27-58 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-10-05_02-26-47';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-26-47';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-27-31';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-27-31';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-27-31']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2008-10-05_02-28-29';
+                    'C1G130_he0_ve-5_hs0_vs0_2008-10-05_02-28-43 ';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-28-57  ';
+                    'C1G130_he0_ve5_hs0_vs0_2008-10-05_02-29-12  ';
+                    'C1G130_he0_ve10_hs0_vs0_2008-10-05_02-29-26 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-10-05_02-28-13';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-28-13';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-28-57';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-28-57';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-28-57']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2008-10-05_02-29-56';
+                    'C1G130_he0_ve0_hs-5_vs0_2008-10-05_02-30-10 ';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-30-24  ';
+                    'C1G130_he0_ve0_hs5_vs0_2008-10-05_02-30-39  ';
+                    'C1G130_he0_ve0_hs10_vs0_2008-10-05_02-30-53 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-10-05_02-29-42';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-29-42';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-30-24';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-30-24';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-30-24']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2008-10-05_02-31-23';
+                    'C1G130_he0_ve0_hs0_vs-5_2008-10-05_02-31-37 ';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-31-52  ';
+                    'C1G130_he0_ve0_hs0_vs5_2008-10-05_02-32-05  ';
+                    'C1G130_he0_ve0_hs0_vs10_2008-10-05_02-32-20 ']);
+                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2008-10-05_02-31-09';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-31-09';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-31-52';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-31-52';
+                    'C1G130_he0_ve0_hs0_vs0_2008-10-05_02-31-52']);
+             end
+
+        elseif (gap <0.5*(150+ 175))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2008-10-05_02-33-22';
+                    'C1G150_he-5_ve0_hs0_vs0_2008-10-05_02-33-36 ';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-33-51  ';
+                    'C1G150_he5_ve0_hs0_vs0_2008-10-05_02-34-05  ';
+                    'C1G150_he10_ve0_hs0_vs0_2008-10-05_02-34-19 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-10-05_02-33-06';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-33-06';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-33-51';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-33-51';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-33-51']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2008-10-05_02-34-50';
+                    'C1G150_he0_ve-5_hs0_vs0_2008-10-05_02-35-05 ';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-35-19  ';
+                    'C1G150_he0_ve5_hs0_vs0_2008-10-05_02-35-33  ';
+                    'C1G150_he0_ve10_hs0_vs0_2008-10-05_02-35-48 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-10-05_02-34-35';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-34-35';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-35-19';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-35-19';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-35-19']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2008-10-05_02-36-19';
+                    'C1G150_he0_ve0_hs-5_vs0_2008-10-05_02-36-32 ';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-36-46  ';
+                    'C1G150_he0_ve0_hs5_vs0_2008-10-05_02-37-00  ';
+                    'C1G150_he0_ve0_hs10_vs0_2008-10-05_02-37-14 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-10-05_02-36-03';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-36-03';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-36-46';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-36-46';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-36-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2008-10-05_02-37-44';
+                    'C1G150_he0_ve0_hs0_vs-5_2008-10-05_02-37-58 ';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-38-13  ';
+                    'C1G150_he0_ve0_hs0_vs5_2008-10-05_02-38-27  ';
+                    'C1G150_he0_ve0_hs0_vs10_2008-10-05_02-38-41 ']);
+                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2008-10-05_02-37-29';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-37-29';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-38-13';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-38-13';
+                    'C1G150_he0_ve0_hs0_vs0_2008-10-05_02-38-13']);
+            end
+        elseif (gap <0.5*(175+ 200))
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G175_he-10_ve0_hs0_vs0_2008-10-05_02-40-47';
+                    'C1G175_he-5_ve0_hs0_vs0_2008-10-05_02-40-59 ';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-41-12  ';
+                    'C1G175_he5_ve0_hs0_vs0_2008-10-05_02-41-25  ';
+                    'C1G175_he10_ve0_hs0_vs0_2008-10-05_02-41-39 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-10-05_02-40-30';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-40-30';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-41-12';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-41-12';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-41-12']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G175_he0_ve-10_hs0_vs0_2008-10-05_02-42-09';
+                    'C1G175_he0_ve-5_hs0_vs0_2008-10-05_02-42-23 ';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-42-37  ';
+                    'C1G175_he0_ve5_hs0_vs0_2008-10-05_02-42-51  ';
+                    'C1G175_he0_ve10_hs0_vs0_2008-10-05_02-43-05 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-10-05_02-41-53';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-41-53';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-42-37';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-42-37';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-42-37']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G175_he0_ve0_hs-10_vs0_2008-10-05_02-43-37';
+                    'C1G175_he0_ve0_hs-5_vs0_2008-10-05_02-43-50 ';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-44-04  ';
+                    'C1G175_he0_ve0_hs5_vs0_2008-10-05_02-44-19  ';
+                    'C1G175_he0_ve0_hs10_vs0_2008-10-05_02-44-33 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-10-05_02-43-21';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-43-21';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-44-04';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-44-04';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-44-04']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G175_he0_ve0_hs0_vs-10_2008-10-05_02-45-05';
+                    'C1G175_he0_ve0_hs0_vs-5_2008-10-05_02-45-18 ';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-45-33  ';
+                    'C1G175_he0_ve0_hs0_vs5_2008-10-05_02-45-47  ';
+                    'C1G175_he0_ve0_hs0_vs10_2008-10-05_02-46-00 ']);
+                fnMeasBkgr = cellstr(['C1G175_he0_ve0_hs0_vs0_2008-10-05_02-44-49';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-44-49';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-45-33';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-45-33';
+                    'C1G175_he0_ve0_hs0_vs0_2008-10-05_02-45-33']);
+            end
+
+
+        elseif (gap <0.5*(200+ 225))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2008-10-05_02-46-57';
+                    'C1G200_he-5_ve0_hs0_vs0_2008-10-05_02-47-11 ';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-47-24  ';
+                    'C1G200_he5_ve0_hs0_vs0_2008-10-05_02-47-38  ';
+                    'C1G200_he10_ve0_hs0_vs0_2008-10-05_02-47-52 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-10-05_02-46-42';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-46-42';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-47-24';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-47-24';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-47-24']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2008-10-05_02-48-23';
+                    'C1G200_he0_ve-5_hs0_vs0_2008-10-05_02-48-37 ';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-48-51  ';
+                    'C1G200_he0_ve5_hs0_vs0_2008-10-05_02-49-04  ';
+                    'C1G200_he0_ve10_hs0_vs0_2008-10-05_02-49-18 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-10-05_02-48-08';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-48-08';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-48-51';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-48-51';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-48-51']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2008-10-05_02-49-49';
+                    'C1G200_he0_ve0_hs-5_vs0_2008-10-05_02-50-02 ';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-50-17  ';
+                    'C1G200_he0_ve0_hs5_vs0_2008-10-05_02-50-31  ';
+                    'C1G200_he0_ve0_hs10_vs0_2008-10-05_02-50-45 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-10-05_02-49-34';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-49-34';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-50-17';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-50-17';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-50-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2008-10-05_02-51-15';
+                    'C1G200_he0_ve0_hs0_vs-5_2008-10-05_02-51-30 ';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-51-43  ';
+                    'C1G200_he0_ve0_hs0_vs5_2008-10-05_02-51-57  ';
+                    'C1G200_he0_ve0_hs0_vs10_2008-10-05_02-52-11 ']);
+                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2008-10-05_02-51-00';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-51-00';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-51-43';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-51-43';
+                    'C1G200_he0_ve0_hs0_vs0_2008-10-05_02-51-43']);
+            end
+
+        elseif (gap <0.5*(225+ 240))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G225_he-10_ve0_hs0_vs0_2008-10-05_02-53-32';
+                    'C1G225_he-5_ve0_hs0_vs0_2008-10-05_02-53-47 ';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-54-00  ';
+                    'C1G225_he5_ve0_hs0_vs0_2008-10-05_02-54-13  ';
+                    'C1G225_he10_ve0_hs0_vs0_2008-10-05_02-54-27 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2008-10-05_02-53-17';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-53-17';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-54-00';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-54-00';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-54-00']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G225_he0_ve-10_hs0_vs0_2008-10-05_02-54-58';
+                    'C1G225_he0_ve-5_hs0_vs0_2008-10-05_02-55-12 ';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-55-26  ';
+                    'C1G225_he0_ve5_hs0_vs0_2008-10-05_02-55-40  ';
+                    'C1G225_he0_ve10_hs0_vs0_2008-10-05_02-55-53 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2008-10-05_02-54-42';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-54-42';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-55-26';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-55-26';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-55-26']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G225_he0_ve0_hs-10_vs0_2008-10-05_02-56-24';
+                    'C1G225_he0_ve0_hs-5_vs0_2008-10-05_02-56-38 ';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-56-53  ';
+                    'C1G225_he0_ve0_hs5_vs0_2008-10-05_02-57-07  ';
+                    'C1G225_he0_ve0_hs10_vs0_2008-10-05_02-57-21 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2008-10-05_02-56-08';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-56-08';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-56-53';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-56-53';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-56-53']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G225_he0_ve0_hs0_vs-10_2008-10-05_02-57-52';
+                    'C1G225_he0_ve0_hs0_vs-5_2008-10-05_02-58-06 ';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-58-20  ';
+                    'C1G225_he0_ve0_hs0_vs5_2008-10-05_02-58-35  ';
+                    'C1G225_he0_ve0_hs0_vs10_2008-10-05_02-58-49 ']);
+                fnMeasBkgr = cellstr(['C1G225_he0_ve0_hs0_vs0_2008-10-05_02-57-36';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-57-36';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-58-20';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-58-20';
+                    'C1G225_he0_ve0_hs0_vs0_2008-10-05_02-58-20']);
+            end
+        elseif (gap >= 0.5*(225+ 240))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['C1G240_he-10_ve0_hs0_vs0_2008-10-05_03-00-21';
+                    'C1G240_he-5_ve0_hs0_vs0_2008-10-05_03-00-36 ';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-00-50  ';
+                    'C1G240_he5_ve0_hs0_vs0_2008-10-05_03-01-04  ';
+                    'C1G240_he10_ve0_hs0_vs0_2008-10-05_03-01-17 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-10-05_03-00-06';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-00-06';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-00-50';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-00-50';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-00-50']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['C1G240_he0_ve-10_hs0_vs0_2008-10-05_03-01-47';
+                    'C1G240_he0_ve-5_hs0_vs0_2008-10-05_03-02-01 ';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-02-15  ';
+                    'C1G240_he0_ve5_hs0_vs0_2008-10-05_03-02-29  ';
+                    'C1G240_he0_ve10_hs0_vs0_2008-10-05_03-02-42 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-10-05_03-01-32';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-01-32';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-02-15';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-02-15';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-02-15']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs-10_vs0_2008-10-05_03-03-13';
+                    'C1G240_he0_ve0_hs-5_vs0_2008-10-05_03-03-27 ';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-03-41  ';
+                    'C1G240_he0_ve0_hs5_vs0_2008-10-05_03-03-56  ';
+                    'C1G240_he0_ve0_hs10_vs0_2008-10-05_03-04-10 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-10-05_03-02-58';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-02-58';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-03-41';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-03-41';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-03-41']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['C1G240_he0_ve0_hs0_vs-10_2008-10-05_03-04-41';
+                    'C1G240_he0_ve0_hs0_vs-5_2008-10-05_03-04-55 ';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-05-09  ';
+                    'C1G240_he0_ve0_hs0_vs5_2008-10-05_03-05-23  ';
+                    'C1G240_he0_ve0_hs0_vs10_2008-10-05_03-05-38 ']);
+                fnMeasBkgr = cellstr(['C1G240_he0_ve0_hs0_vs0_2008-10-05_03-04-26';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-04-26';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-05-09';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-05-09';
+                    'C1G240_he0_ve0_hs0_vs0_2008-10-05_03-05-09']);
+            end
+        end
+    end   % End of HU44 SEXTANTS
+
+
+
+elseif strncmp(idName, 'HU36', 4)
+%% HU36_SIRIUS
+	if strcmp(idName, 'HU36_SIRIUS')
+		vCurVals = [-10, -5, 0, 5, 10];
+
+		if(gap < 0.5*(12+ 12.5))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G120_he-10_ve0_hs0_vs0_2011-10-17_22-33-15.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he-5_ve0_hs0_vs0_2011-10-17_22-33-32.mat ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-33-48.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G120_he5_ve0_hs0_vs0_2011-10-17_22-34-04.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G120_he10_ve0_hs0_vs0_2011-10-17_22-34-21.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-32-58.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-32-58.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-33-48.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-33-48.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-33-48.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G120_he0_ve-10_hs0_vs0_2011-10-17_22-34-53.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve-5_hs0_vs0_2011-10-17_22-35-10.mat ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-35-26.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve5_hs0_vs0_2011-10-17_22-35-42.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve10_hs0_vs0_2011-10-17_22-35-58.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-34-37.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-34-37.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-35-26.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-35-26.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-35-26.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G120_he0_ve0_hs-10_vs0_2011-10-17_22-36-31.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs-5_vs0_2011-10-17_22-36-47.mat ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-37-03.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs5_vs0_2011-10-17_22-37-20.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs10_vs0_2011-10-17_22-37-36.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-36-15.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-36-15.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-37-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-37-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-37-03.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs-10_2011-10-17_22-38-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs-5_2011-10-17_22-38-27.mat ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-38-43.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs5_2011-10-17_22-38-59.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs10_2011-10-17_22-39-16.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-37-52.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-37-52.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-38-43.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-38-43.mat';
+                                      'Efficiency_HU36_SIRIUS_G120_he0_ve0_hs0_vs0_2011-10-17_22-38-43.mat']);
+            end
+		elseif(gap < 0.5*(12.5+ 13))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G125_he-10_ve0_hs0_vs0_2011-10-17_22-40-01.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he-5_ve0_hs0_vs0_2011-10-17_22-40-17.mat ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-40-33.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G125_he5_ve0_hs0_vs0_2011-10-17_22-40-50.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G125_he10_ve0_hs0_vs0_2011-10-17_22-41-06.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-39-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-39-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-40-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-40-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-40-33.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G125_he0_ve-10_hs0_vs0_2011-10-17_22-41-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve-5_hs0_vs0_2011-10-17_22-41-55.mat ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-42-11.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve5_hs0_vs0_2011-10-17_22-42-27.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve10_hs0_vs0_2011-10-17_22-42-44.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-41-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-41-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-42-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-42-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-42-11.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G125_he0_ve0_hs-10_vs0_2011-10-17_22-43-16.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs-5_vs0_2011-10-17_22-43-32.mat ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-43-49.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs5_vs0_2011-10-17_22-44-05.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs10_vs0_2011-10-17_22-44-21.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-43-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-43-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-43-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-43-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-43-49.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs-10_2011-10-17_22-44-54.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs-5_2011-10-17_22-45-10.mat ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-45-27.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs5_2011-10-17_22-45-43.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs10_2011-10-17_22-45-59.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-44-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-44-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-45-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-45-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G125_he0_ve0_hs0_vs0_2011-10-17_22-45-27.mat']);
+            end
+		elseif(gap < 0.5*(13+ 14))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G130_he-10_ve0_hs0_vs0_2011-10-17_22-46-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he-5_ve0_hs0_vs0_2011-10-17_22-47-00.mat ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-47-17.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G130_he5_ve0_hs0_vs0_2011-10-17_22-47-33.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G130_he10_ve0_hs0_vs0_2011-10-17_22-47-49.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-46-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-46-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-47-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-47-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-47-17.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G130_he0_ve-10_hs0_vs0_2011-10-17_22-48-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve-5_hs0_vs0_2011-10-17_22-48-38.mat ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-48-55.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve5_hs0_vs0_2011-10-17_22-49-11.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve10_hs0_vs0_2011-10-17_22-49-27.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-48-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-48-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-48-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-48-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-48-55.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G130_he0_ve0_hs-10_vs0_2011-10-17_22-50-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs-5_vs0_2011-10-17_22-50-16.mat ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-50-32.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs5_vs0_2011-10-17_22-50-49.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs10_vs0_2011-10-17_22-51-05.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-49-43.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-49-43.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-50-32.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-50-32.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-50-32.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs-10_2011-10-17_22-51-37.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs-5_2011-10-17_22-51-54.mat ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-52-10.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs5_2011-10-17_22-52-26.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs10_2011-10-17_22-52-43.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-51-21.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-51-21.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-52-10.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-52-10.mat';
+                                      'Efficiency_HU36_SIRIUS_G130_he0_ve0_hs0_vs0_2011-10-17_22-52-10.mat']);
+            end
+		elseif(gap < 0.5*(14+ 16))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G140_he-10_ve0_hs0_vs0_2011-10-17_22-53-30.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he-5_ve0_hs0_vs0_2011-10-17_22-53-48.mat ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-54-04.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G140_he5_ve0_hs0_vs0_2011-10-17_22-54-21.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G140_he10_ve0_hs0_vs0_2011-10-17_22-54-37.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-53-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-53-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-54-04.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-54-04.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-54-04.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G140_he0_ve-10_hs0_vs0_2011-10-17_22-55-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve-5_hs0_vs0_2011-10-17_22-55-26.mat ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-55-42.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve5_hs0_vs0_2011-10-17_22-55-58.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve10_hs0_vs0_2011-10-17_22-56-15.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-54-53.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-54-53.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-55-42.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-55-42.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-55-42.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G140_he0_ve0_hs-10_vs0_2011-10-17_22-56-47.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs-5_vs0_2011-10-17_22-57-04.mat ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-57-20.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs5_vs0_2011-10-17_22-57-36.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs10_vs0_2011-10-17_22-57-53.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-56-31.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-56-31.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-57-20.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-57-20.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-57-20.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs-10_2011-10-17_22-58-26.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs-5_2011-10-17_22-58-43.mat ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-58-59.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs5_2011-10-17_22-59-15.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs10_2011-10-17_22-59-31.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-58-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-58-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-58-59.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-58-59.mat';
+                                      'Efficiency_HU36_SIRIUS_G140_he0_ve0_hs0_vs0_2011-10-17_22-58-59.mat']);
+            end
+		elseif(gap < 0.5*(16+ 18))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G160_he-10_ve0_hs0_vs0_2011-10-17_23-00-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he-5_ve0_hs0_vs0_2011-10-17_23-00-34.mat ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-00-50.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G160_he5_ve0_hs0_vs0_2011-10-17_23-01-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G160_he10_ve0_hs0_vs0_2011-10-17_23-01-23.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-00-01.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-00-01.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-00-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-00-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-00-50.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G160_he0_ve-10_hs0_vs0_2011-10-17_23-01-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve-5_hs0_vs0_2011-10-17_23-02-12.mat ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-02-28.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve5_hs0_vs0_2011-10-17_23-02-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve10_hs0_vs0_2011-10-17_23-03-01.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-01-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-01-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-02-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-02-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-02-28.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G160_he0_ve0_hs-10_vs0_2011-10-17_23-03-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs-5_vs0_2011-10-17_23-03-50.mat ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-04-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs5_vs0_2011-10-17_23-04-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs10_vs0_2011-10-17_23-04-39.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-03-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-03-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-04-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-04-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-04-06.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs-10_2011-10-17_23-05-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs-5_2011-10-17_23-05-28.mat ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-05-45.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs5_2011-10-17_23-06-01.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs10_2011-10-17_23-06-17.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-04-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-04-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-05-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-05-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G160_he0_ve0_hs0_vs0_2011-10-17_23-05-45.mat']);
+            end
+		elseif(gap < 0.5*(18+ 20))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G180_he-10_ve0_hs0_vs0_2011-10-17_23-07-02.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he-5_ve0_hs0_vs0_2011-10-17_23-07-18.mat ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-07-35.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G180_he5_ve0_hs0_vs0_2011-10-17_23-07-51.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G180_he10_ve0_hs0_vs0_2011-10-17_23-08-07.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-06-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-06-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-07-35.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-07-35.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-07-35.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G180_he0_ve-10_hs0_vs0_2011-10-17_23-08-40.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve-5_hs0_vs0_2011-10-17_23-08-56.mat ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-09-12.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve5_hs0_vs0_2011-10-17_23-09-29.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve10_hs0_vs0_2011-10-17_23-09-45.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-08-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-08-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-09-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-09-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-09-12.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G180_he0_ve0_hs-10_vs0_2011-10-17_23-10-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs-5_vs0_2011-10-17_23-10-34.mat ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-10-50.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs5_vs0_2011-10-17_23-11-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs10_vs0_2011-10-17_23-11-23.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-10-01.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-10-01.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-10-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-10-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-10-50.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs-10_2011-10-17_23-11-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs-5_2011-10-17_23-12-11.mat ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-12-28.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs5_2011-10-17_23-12-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs10_2011-10-17_23-13-01.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-11-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-11-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-12-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-12-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G180_he0_ve0_hs0_vs0_2011-10-17_23-12-28.mat']);
+            end
+		elseif(gap < 0.5*(20+ 22.5))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G200_he-10_ve0_hs0_vs0_2011-10-17_23-13-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he-5_ve0_hs0_vs0_2011-10-17_23-14-02.mat ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-14-18.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G200_he5_ve0_hs0_vs0_2011-10-17_23-14-35.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G200_he10_ve0_hs0_vs0_2011-10-17_23-14-51.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-13-29.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-13-29.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-14-18.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-14-18.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-14-18.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G200_he0_ve-10_hs0_vs0_2011-10-17_23-15-24.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve-5_hs0_vs0_2011-10-17_23-15-41.mat ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-15-57.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve5_hs0_vs0_2011-10-17_23-16-13.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve10_hs0_vs0_2011-10-17_23-16-29.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-15-08.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-15-08.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-15-57.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-15-57.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-15-57.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G200_he0_ve0_hs-10_vs0_2011-10-17_23-17-02.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs-5_vs0_2011-10-17_23-17-18.mat ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-17-34.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs5_vs0_2011-10-17_23-17-51.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs10_vs0_2011-10-17_23-18-07.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-16-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-16-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-17-34.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-17-34.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-17-34.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs-10_2011-10-17_23-18-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs-5_2011-10-17_23-18-57.mat ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-19-13.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs5_2011-10-17_23-19-29.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs10_2011-10-17_23-19-46.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-18-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-18-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-19-13.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-19-13.mat';
+                                      'Efficiency_HU36_SIRIUS_G200_he0_ve0_hs0_vs0_2011-10-17_23-19-13.mat']);
+            end
+		elseif(gap < 0.5*(22.5+ 25))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G225_he-10_ve0_hs0_vs0_2011-10-17_23-20-31.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he-5_ve0_hs0_vs0_2011-10-17_23-20-47.mat ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-21-03.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G225_he5_ve0_hs0_vs0_2011-10-17_23-21-20.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G225_he10_ve0_hs0_vs0_2011-10-17_23-21-36.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-20-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-20-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-21-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-21-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-21-03.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G225_he0_ve-10_hs0_vs0_2011-10-17_23-22-08.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve-5_hs0_vs0_2011-10-17_23-22-25.mat ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-22-41.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve5_hs0_vs0_2011-10-17_23-22-57.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve10_hs0_vs0_2011-10-17_23-23-14.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-21-52.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-21-52.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-22-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-22-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-22-41.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G225_he0_ve0_hs-10_vs0_2011-10-17_23-23-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs-5_vs0_2011-10-17_23-24-03.mat ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-24-19.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs5_vs0_2011-10-17_23-24-36.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs10_vs0_2011-10-17_23-24-52.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-23-30.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-23-30.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-24-19.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-24-19.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-24-19.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs-10_2011-10-17_23-25-24.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs-5_2011-10-17_23-25-41.mat ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-25-57.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs5_2011-10-17_23-26-13.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs10_2011-10-17_23-26-30.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-25-08.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-25-08.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-25-57.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-25-57.mat';
+                                      'Efficiency_HU36_SIRIUS_G225_he0_ve0_hs0_vs0_2011-10-17_23-25-57.mat']);
+            end
+		elseif(gap < 0.5*(25+ 27.5))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G250_he-10_ve0_hs0_vs0_2011-10-17_23-27-16.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he-5_ve0_hs0_vs0_2011-10-17_23-27-33.mat ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-27-50.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G250_he5_ve0_hs0_vs0_2011-10-17_23-28-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G250_he10_ve0_hs0_vs0_2011-10-17_23-28-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-26-59.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-26-59.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-27-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-27-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-27-50.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G250_he0_ve-10_hs0_vs0_2011-10-17_23-28-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve-5_hs0_vs0_2011-10-17_23-29-11.mat ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-29-27.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve5_hs0_vs0_2011-10-17_23-29-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve10_hs0_vs0_2011-10-17_23-30-00.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-28-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-28-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-29-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-29-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-29-27.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G250_he0_ve0_hs-10_vs0_2011-10-17_23-30-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs-5_vs0_2011-10-17_23-30-49.mat ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-31-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs5_vs0_2011-10-17_23-31-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs10_vs0_2011-10-17_23-31-38.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-30-16.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-30-16.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-31-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-31-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-31-06.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs-10_2011-10-17_23-32-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs-5_2011-10-17_23-32-28.mat ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-32-45.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs5_2011-10-17_23-33-01.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs10_2011-10-17_23-33-17.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-31-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-31-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-32-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-32-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G250_he0_ve0_hs0_vs0_2011-10-17_23-32-45.mat']);
+            end
+		elseif(gap < 0.5*(27.5+ 30))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G275_he-10_ve0_hs0_vs0_2011-10-17_23-34-02.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he-5_ve0_hs0_vs0_2011-10-17_23-34-18.mat ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-34-35.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G275_he5_ve0_hs0_vs0_2011-10-17_23-34-51.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G275_he10_ve0_hs0_vs0_2011-10-17_23-35-07.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-33-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-33-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-34-35.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-34-35.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-34-35.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G275_he0_ve-10_hs0_vs0_2011-10-17_23-35-40.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve-5_hs0_vs0_2011-10-17_23-35-56.mat ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-36-12.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve5_hs0_vs0_2011-10-17_23-36-29.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve10_hs0_vs0_2011-10-17_23-36-45.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-35-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-35-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-36-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-36-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-36-12.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G275_he0_ve0_hs-10_vs0_2011-10-17_23-37-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs-5_vs0_2011-10-17_23-37-34.mat ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-37-50.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs5_vs0_2011-10-17_23-38-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs10_vs0_2011-10-17_23-38-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-37-01.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-37-01.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-37-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-37-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-37-50.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs-10_2011-10-17_23-38-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs-5_2011-10-17_23-39-11.mat ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-39-28.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs5_2011-10-17_23-39-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs10_2011-10-17_23-40-00.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-38-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-38-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-39-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-39-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G275_he0_ve0_hs0_vs0_2011-10-17_23-39-28.mat']);
+            end
+		elseif(gap < 0.5*(30+ 35))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G300_he-10_ve0_hs0_vs0_2011-10-17_23-40-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he-5_ve0_hs0_vs0_2011-10-17_23-41-01.mat ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-41-18.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G300_he5_ve0_hs0_vs0_2011-10-17_23-41-34.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G300_he10_ve0_hs0_vs0_2011-10-17_23-41-51.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-40-29.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-40-29.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-41-18.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-41-18.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-41-18.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G300_he0_ve-10_hs0_vs0_2011-10-17_23-42-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve-5_hs0_vs0_2011-10-17_23-42-40.mat ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-42-56.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve5_hs0_vs0_2011-10-17_23-43-12.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve10_hs0_vs0_2011-10-17_23-43-28.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-42-07.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-42-07.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-42-56.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-42-56.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-42-56.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G300_he0_ve0_hs-10_vs0_2011-10-17_23-44-01.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs-5_vs0_2011-10-17_23-44-17.mat ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-44-34.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs5_vs0_2011-10-17_23-44-50.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs10_vs0_2011-10-17_23-45-06.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-43-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-43-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-44-34.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-44-34.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-44-34.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs-10_2011-10-17_23-45-40.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs-5_2011-10-17_23-45-56.mat ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-46-12.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs5_2011-10-17_23-46-28.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs10_2011-10-17_23-46-45.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-45-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-45-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-46-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-46-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G300_he0_ve0_hs0_vs0_2011-10-17_23-46-12.mat']);
+            end
+		elseif(gap < 0.5*(35+ 40))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G350_he-10_ve0_hs0_vs0_2011-10-17_23-47-34.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he-5_ve0_hs0_vs0_2011-10-17_23-47-50.mat ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-48-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G350_he5_ve0_hs0_vs0_2011-10-17_23-48-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G350_he10_ve0_hs0_vs0_2011-10-17_23-48-39.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-47-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-47-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-48-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-48-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-48-06.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G350_he0_ve-10_hs0_vs0_2011-10-17_23-49-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve-5_hs0_vs0_2011-10-17_23-49-28.mat ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-49-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve5_hs0_vs0_2011-10-17_23-50-00.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve10_hs0_vs0_2011-10-17_23-50-16.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-48-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-48-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-49-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-49-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-49-44.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G350_he0_ve0_hs-10_vs0_2011-10-17_23-50-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs-5_vs0_2011-10-17_23-51-05.mat ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-51-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs5_vs0_2011-10-17_23-51-38.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs10_vs0_2011-10-17_23-51-54.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-50-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-50-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-51-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-51-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-51-22.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs-10_2011-10-17_23-52-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs-5_2011-10-17_23-52-44.mat ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-53-00.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs5_2011-10-17_23-53-17.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs10_2011-10-17_23-53-33.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-52-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-52-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-53-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-53-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G350_he0_ve0_hs0_vs0_2011-10-17_23-53-00.mat']);
+            end
+		elseif(gap < 0.5*(40+ 50))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G400_he-10_ve0_hs0_vs0_2011-10-17_23-54-21.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he-5_ve0_hs0_vs0_2011-10-17_23-54-38.mat ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-54-54.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G400_he5_ve0_hs0_vs0_2011-10-17_23-55-10.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G400_he10_ve0_hs0_vs0_2011-10-17_23-55-26.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-54-05.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-54-05.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-54-54.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-54-54.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-54-54.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G400_he0_ve-10_hs0_vs0_2011-10-17_23-55-59.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve-5_hs0_vs0_2011-10-17_23-56-15.mat ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-56-31.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve5_hs0_vs0_2011-10-17_23-56-48.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve10_hs0_vs0_2011-10-17_23-57-04.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-55-43.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-55-43.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-56-31.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-56-31.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-56-31.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G400_he0_ve0_hs-10_vs0_2011-10-17_23-57-37.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs-5_vs0_2011-10-17_23-57-53.mat ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-58-10.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs5_vs0_2011-10-17_23-58-26.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs10_vs0_2011-10-17_23-58-42.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-57-20.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-57-20.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-58-10.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-58-10.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-58-10.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs-10_2011-10-17_23-59-16.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs-5_2011-10-17_23-59-32.mat ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-59-49.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs5_2011-10-18_00-00-05.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs10_2011-10-18_00-00-21.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-58-58.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-58-58.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-59-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-59-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G400_he0_ve0_hs0_vs0_2011-10-17_23-59-49.mat']);
+            end
+		elseif(gap < 0.5*(50+ 60))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G500_he-10_ve0_hs0_vs0_2011-10-18_00-01-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he-5_ve0_hs0_vs0_2011-10-18_00-01-28.mat ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-01-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G500_he5_ve0_hs0_vs0_2011-10-18_00-02-01.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G500_he10_ve0_hs0_vs0_2011-10-18_00-02-17.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-00-56.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-00-56.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-01-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-01-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-01-44.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G500_he0_ve-10_hs0_vs0_2011-10-18_00-02-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve-5_hs0_vs0_2011-10-18_00-03-06.mat ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-03-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve5_hs0_vs0_2011-10-18_00-03-39.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve10_hs0_vs0_2011-10-18_00-03-55.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-02-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-02-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-03-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-03-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-03-22.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G500_he0_ve0_hs-10_vs0_2011-10-18_00-04-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs-5_vs0_2011-10-18_00-04-44.mat ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-05-00.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs5_vs0_2011-10-18_00-05-17.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs10_vs0_2011-10-18_00-05-33.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-04-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-04-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-05-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-05-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-05-00.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs-10_2011-10-18_00-06-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs-5_2011-10-18_00-06-22.mat ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-06-38.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs5_2011-10-18_00-06-54.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs10_2011-10-18_00-07-11.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-05-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-05-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-06-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-06-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G500_he0_ve0_hs0_vs0_2011-10-18_00-06-38.mat']);
+            end
+		elseif(gap < 0.5*(60+ 70))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G600_he-10_ve0_hs0_vs0_2011-10-18_00-08-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he-5_ve0_hs0_vs0_2011-10-18_00-08-19.mat ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-08-36.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G600_he5_ve0_hs0_vs0_2011-10-18_00-08-52.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G600_he10_ve0_hs0_vs0_2011-10-18_00-09-08.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-07-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-07-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-08-36.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-08-36.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-08-36.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G600_he0_ve-10_hs0_vs0_2011-10-18_00-09-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve-5_hs0_vs0_2011-10-18_00-09-58.mat ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-10-14.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve5_hs0_vs0_2011-10-18_00-10-30.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve10_hs0_vs0_2011-10-18_00-10-47.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-09-25.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-09-25.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-10-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-10-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-10-14.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G600_he0_ve0_hs-10_vs0_2011-10-18_00-11-19.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs-5_vs0_2011-10-18_00-11-36.mat ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-11-52.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs5_vs0_2011-10-18_00-12-08.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs10_vs0_2011-10-18_00-12-25.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-11-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-11-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-11-52.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-11-52.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-11-52.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs-10_2011-10-18_00-12-58.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs-5_2011-10-18_00-13-14.mat ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-13-30.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs5_2011-10-18_00-13-47.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs10_2011-10-18_00-14-03.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-12-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-12-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-13-30.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-13-30.mat';
+                                      'Efficiency_HU36_SIRIUS_G600_he0_ve0_hs0_vs0_2011-10-18_00-13-30.mat']);
+            end
+		elseif(gap < 0.5*(70+ 80))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G700_he-10_ve0_hs0_vs0_2011-10-18_00-14-54.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he-5_ve0_hs0_vs0_2011-10-18_00-15-11.mat ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-15-27.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G700_he5_ve0_hs0_vs0_2011-10-18_00-15-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G700_he10_ve0_hs0_vs0_2011-10-18_00-16-00.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-14-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-14-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-15-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-15-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-15-27.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G700_he0_ve-10_hs0_vs0_2011-10-18_00-16-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve-5_hs0_vs0_2011-10-18_00-16-49.mat ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-17-05.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve5_hs0_vs0_2011-10-18_00-17-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve10_hs0_vs0_2011-10-18_00-17-38.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-16-16.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-16-16.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-17-05.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-17-05.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-17-05.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G700_he0_ve0_hs-10_vs0_2011-10-18_00-18-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs-5_vs0_2011-10-18_00-18-27.mat ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-18-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs5_vs0_2011-10-18_00-19-00.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs10_vs0_2011-10-18_00-19-16.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-17-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-17-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-18-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-18-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-18-44.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs-10_2011-10-18_00-19-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs-5_2011-10-18_00-20-05.mat ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-20-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs5_2011-10-18_00-20-39.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs10_2011-10-18_00-20-55.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-19-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-19-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-20-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-20-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G700_he0_ve0_hs0_vs0_2011-10-18_00-20-22.mat']);
+            end
+		elseif(gap < 0.5*(80+ 90))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G800_he-10_ve0_hs0_vs0_2011-10-18_00-21-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he-5_ve0_hs0_vs0_2011-10-18_00-22-02.mat ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-22-19.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G800_he5_ve0_hs0_vs0_2011-10-18_00-22-35.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G800_he10_ve0_hs0_vs0_2011-10-18_00-22-51.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-21-30.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-21-30.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-22-19.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-22-19.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-22-19.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G800_he0_ve-10_hs0_vs0_2011-10-18_00-23-24.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve-5_hs0_vs0_2011-10-18_00-23-40.mat ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-23-57.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve5_hs0_vs0_2011-10-18_00-24-13.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve10_hs0_vs0_2011-10-18_00-24-30.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-23-08.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-23-08.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-23-57.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-23-57.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-23-57.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G800_he0_ve0_hs-10_vs0_2011-10-18_00-25-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs-5_vs0_2011-10-18_00-25-19.mat ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-25-36.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs5_vs0_2011-10-18_00-25-52.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs10_vs0_2011-10-18_00-26-09.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-24-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-24-46.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-25-36.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-25-36.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-25-36.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs-10_2011-10-18_00-26-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs-5_2011-10-18_00-26-58.mat ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-27-14.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs5_2011-10-18_00-27-31.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs10_2011-10-18_00-27-47.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-26-25.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-26-25.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-27-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-27-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G800_he0_ve0_hs0_vs0_2011-10-18_00-27-14.mat']);
+            end
+		elseif(gap < 0.5*(90+ 100))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G900_he-10_ve0_hs0_vs0_2011-10-18_00-28-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he-5_ve0_hs0_vs0_2011-10-18_00-28-55.mat ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-29-11.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G900_he5_ve0_hs0_vs0_2011-10-18_00-29-28.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G900_he10_ve0_hs0_vs0_2011-10-18_00-29-44.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-28-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-28-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-29-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-29-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-29-11.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G900_he0_ve-10_hs0_vs0_2011-10-18_00-30-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve-5_hs0_vs0_2011-10-18_00-30-33.mat ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-30-49.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve5_hs0_vs0_2011-10-18_00-31-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve10_hs0_vs0_2011-10-18_00-31-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-30-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-30-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-30-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-30-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-30-49.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G900_he0_ve0_hs-10_vs0_2011-10-18_00-31-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs-5_vs0_2011-10-18_00-32-11.mat ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-32-28.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs5_vs0_2011-10-18_00-32-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs10_vs0_2011-10-18_00-33-00.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-31-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-31-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-32-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-32-28.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-32-28.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs-10_2011-10-18_00-33-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs-5_2011-10-18_00-33-50.mat ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-34-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs5_2011-10-18_00-34-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs10_2011-10-18_00-34-39.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-33-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-33-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-34-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-34-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G900_he0_ve0_hs0_vs0_2011-10-18_00-34-06.mat']);
+            end
+		elseif(gap < 0.5*(100+ 110))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1000_he-10_ve0_hs0_vs0_2011-10-18_00-35-30.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he-5_ve0_hs0_vs0_2011-10-18_00-35-46.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-36-03.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he5_ve0_hs0_vs0_2011-10-18_00-36-20.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he10_ve0_hs0_vs0_2011-10-18_00-36-36.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-35-13.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-35-13.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-36-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-36-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-36-03.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1000_he0_ve-10_hs0_vs0_2011-10-18_00-37-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve-5_hs0_vs0_2011-10-18_00-37-25.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-37-41.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve5_hs0_vs0_2011-10-18_00-37-58.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve10_hs0_vs0_2011-10-18_00-38-14.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-36-52.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-36-52.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-37-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-37-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-37-41.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs-10_vs0_2011-10-18_00-38-47.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs-5_vs0_2011-10-18_00-39-03.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-39-19.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs5_vs0_2011-10-18_00-39-36.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs10_vs0_2011-10-18_00-39-52.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-38-31.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-38-31.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-39-19.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-39-19.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-39-19.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs-10_2011-10-18_00-40-25.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs-5_2011-10-18_00-40-42.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-40-59.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs5_2011-10-18_00-41-15.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs10_2011-10-18_00-41-31.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-40-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-40-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-40-59.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-40-59.mat';
+                                      'Efficiency_HU36_SIRIUS_G1000_he0_ve0_hs0_vs0_2011-10-18_00-40-59.mat']);
+            end
+		elseif(gap < 0.5*(110+ 130))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1100_he-10_ve0_hs0_vs0_2011-10-18_00-42-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he-5_ve0_hs0_vs0_2011-10-18_00-42-38.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-42-55.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he5_ve0_hs0_vs0_2011-10-18_00-43-11.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he10_ve0_hs0_vs0_2011-10-18_00-43-28.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-42-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-42-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-42-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-42-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-42-55.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1100_he0_ve-10_hs0_vs0_2011-10-18_00-44-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve-5_hs0_vs0_2011-10-18_00-44-17.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-44-33.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve5_hs0_vs0_2011-10-18_00-44-49.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve10_hs0_vs0_2011-10-18_00-45-06.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-43-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-43-44.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-44-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-44-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-44-33.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs-10_vs0_2011-10-18_00-45-39.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs-5_vs0_2011-10-18_00-45-55.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-46-11.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs5_vs0_2011-10-18_00-46-28.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs10_vs0_2011-10-18_00-46-44.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-45-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-45-22.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-46-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-46-11.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-46-11.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs-10_2011-10-18_00-47-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs-5_2011-10-18_00-47-33.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-47-50.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs5_2011-10-18_00-48-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs10_2011-10-18_00-48-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-47-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-47-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-47-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-47-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G1100_he0_ve0_hs0_vs0_2011-10-18_00-47-50.mat']);
+            end
+		elseif(gap < 0.5*(130+ 150))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1300_he-10_ve0_hs0_vs0_2011-10-18_00-49-16.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he-5_ve0_hs0_vs0_2011-10-18_00-49-33.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-49-49.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he5_ve0_hs0_vs0_2011-10-18_00-50-05.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he10_ve0_hs0_vs0_2011-10-18_00-50-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-49-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-49-00.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-49-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-49-49.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-49-49.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1300_he0_ve-10_hs0_vs0_2011-10-18_00-50-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve-5_hs0_vs0_2011-10-18_00-51-11.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-51-27.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve5_hs0_vs0_2011-10-18_00-51-44.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve10_hs0_vs0_2011-10-18_00-52-00.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-50-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-50-38.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-51-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-51-27.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-51-27.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs-10_vs0_2011-10-18_00-52-33.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs-5_vs0_2011-10-18_00-52-49.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-53-06.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs5_vs0_2011-10-18_00-53-22.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs10_vs0_2011-10-18_00-53-38.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-52-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-52-17.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-53-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-53-06.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-53-06.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs-10_2011-10-18_00-54-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs-5_2011-10-18_00-54-29.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-54-45.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs5_2011-10-18_00-55-01.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs10_2011-10-18_00-55-18.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-53-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-53-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-54-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-54-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G1300_he0_ve0_hs0_vs0_2011-10-18_00-54-45.mat']);
+            end
+		elseif(gap < 0.5*(150+ 200))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1500_he-10_ve0_hs0_vs0_2011-10-18_00-56-12.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he-5_ve0_hs0_vs0_2011-10-18_00-56-28.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-56-45.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he5_ve0_hs0_vs0_2011-10-18_00-57-01.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he10_ve0_hs0_vs0_2011-10-18_00-57-17.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-55-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-55-55.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-56-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-56-45.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-56-45.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1500_he0_ve-10_hs0_vs0_2011-10-18_00-57-50.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve-5_hs0_vs0_2011-10-18_00-58-06.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-58-23.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve5_hs0_vs0_2011-10-18_00-58-39.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve10_hs0_vs0_2011-10-18_00-58-56.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-57-34.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-57-34.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-58-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-58-23.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-58-23.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs-10_vs0_2011-10-18_00-59-29.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs-5_vs0_2011-10-18_00-59-45.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-00-02.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs5_vs0_2011-10-18_01-00-18.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs10_vs0_2011-10-18_01-00-35.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-59-13.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_00-59-13.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-00-02.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-00-02.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-00-02.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs-10_2011-10-18_01-01-08.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs-5_2011-10-18_01-01-25.mat ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-01-41.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs5_2011-10-18_01-01-57.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs10_2011-10-18_01-02-13.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-00-51.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-00-51.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-01-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-01-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G1500_he0_ve0_hs0_vs0_2011-10-18_01-01-41.mat']);
+            end
+		else	% Gap > 200
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G2000_he-10_ve0_hs0_vs0_2011-10-18_01-03-25.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he-5_ve0_hs0_vs0_2011-10-18_01-03-41.mat ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-03-58.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he5_ve0_hs0_vs0_2011-10-18_01-04-14.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he10_ve0_hs0_vs0_2011-10-18_01-04-30.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-03-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-03-09.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-03-58.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-03-58.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-03-58.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G2000_he0_ve-10_hs0_vs0_2011-10-18_01-05-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve-5_hs0_vs0_2011-10-18_01-05-20.mat ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-05-36.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve5_hs0_vs0_2011-10-18_01-05-52.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve10_hs0_vs0_2011-10-18_01-06-08.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-04-47.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-04-47.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-05-36.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-05-36.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-05-36.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs-10_vs0_2011-10-18_01-06-41.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs-5_vs0_2011-10-18_01-06-58.mat ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-07-14.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs5_vs0_2011-10-18_01-07-30.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs10_vs0_2011-10-18_01-07-46.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-06-25.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-06-25.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-07-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-07-14.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-07-14.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs-10_2011-10-18_01-08-20.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs-5_2011-10-18_01-08-37.mat ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-08-53.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs5_2011-10-18_01-09-11.mat  ';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs10_2011-10-18_01-09-27.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-08-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-08-03.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-08-53.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-08-53.mat';
+                                      'Efficiency_HU36_SIRIUS_G2000_he0_ve0_hs0_vs0_2011-10-18_01-08-53.mat']);
+            end
+        end
+
+	end	% End of HU36_SIRIUS
+
+elseif strncmp(idName, 'HU42', 4)
+%% HU42_HERMES
+    if strcmp(idName, 'HU42_HERMES')
+		vCurVals = [-10, -5, 0, 5, 10];
+
+        if(gap < 0.5*(15.5+ 18))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G155_he-10_ve0_hs0_vs0_2011-06-13_16-14-05';
+                                      'Efficiency_eff_HU42_HERMES_G155_he-5_ve0_hs0_vs0_2011-06-13_16-14-21 ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-14-37  ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he5_ve0_hs0_vs0_2011-06-13_16-14-53  ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he10_ve0_hs0_vs0_2011-06-13_16-15-09 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-13-48';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-13-48';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-14-37';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-14-37';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-14-37']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G155_he0_ve-10_hs0_vs0_2011-06-13_16-15-42';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve-5_hs0_vs0_2011-06-13_16-15-58 ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-16-14  ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve5_hs0_vs0_2011-06-13_16-16-30  ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve10_hs0_vs0_2011-06-13_16-16-46 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-15-26';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-15-26';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-16-14';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-16-14';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-16-14']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs-10_vs0_2011-06-13_16-17-19';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs-5_vs0_2011-06-13_16-17-35 ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-17-51  ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs5_vs0_2011-06-13_16-18-07  ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs10_vs0_2011-06-13_16-18-23 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-17-02';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-17-02';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-17-51';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-17-51';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-17-51']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs-10_2011-06-13_16-18-55';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs-5_2011-06-13_16-19-12 ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-19-28  ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs5_2011-06-13_16-19-44  ';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs10_2011-06-13_16-20-00 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-18-39';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-18-39';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-19-28';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-19-28';
+                                      'Efficiency_eff_HU42_HERMES_G155_he0_ve0_hs0_vs0_2011-06-13_16-19-28']);
+            end
+		elseif(gap < 0.5*(18+ 20))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G180_he-10_ve0_hs0_vs0_2011-06-13_16-20-49';
+                                      'Efficiency_eff_HU42_HERMES_G180_he-5_ve0_hs0_vs0_2011-06-13_16-21-05 ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-21-21  ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he5_ve0_hs0_vs0_2011-06-13_16-21-37  ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he10_ve0_hs0_vs0_2011-06-13_16-21-53 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-20-33';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-20-33';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-21-21';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-21-21';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-21-21']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G180_he0_ve-10_hs0_vs0_2011-06-13_16-22-26';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve-5_hs0_vs0_2011-06-13_16-22-42 ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-22-58  ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve5_hs0_vs0_2011-06-13_16-23-14  ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve10_hs0_vs0_2011-06-13_16-23-30 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-22-09';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-22-09';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-22-58';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-22-58';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-22-58']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs-10_vs0_2011-06-13_16-24-02';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs-5_vs0_2011-06-13_16-24-19 ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-24-35  ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs5_vs0_2011-06-13_16-24-51  ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs10_vs0_2011-06-13_16-25-07 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-23-46';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-23-46';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-24-35';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-24-35';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-24-35']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs-10_2011-06-13_16-25-39';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs-5_2011-06-13_16-25-55 ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-26-12  ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs5_2011-06-13_16-26-28  ';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs10_2011-06-13_16-26-44 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-25-23';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-25-23';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-26-12';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-26-12';
+                                      'Efficiency_eff_HU42_HERMES_G180_he0_ve0_hs0_vs0_2011-06-13_16-26-12']);
+            end
+		elseif(gap < 0.5*(20+ 22.5))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G200_he-10_ve0_hs0_vs0_2011-06-13_16-27-32';
+                                      'Efficiency_eff_HU42_HERMES_G200_he-5_ve0_hs0_vs0_2011-06-13_16-27-48 ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-28-05  ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he5_ve0_hs0_vs0_2011-06-13_16-28-21  ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he10_ve0_hs0_vs0_2011-06-13_16-28-37 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-27-16';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-27-16';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-28-05';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-28-05';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-28-05']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G200_he0_ve-10_hs0_vs0_2011-06-13_16-29-09';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve-5_hs0_vs0_2011-06-13_16-29-25 ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-29-41  ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve5_hs0_vs0_2011-06-13_16-29-58  ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve10_hs0_vs0_2011-06-13_16-30-14 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-28-53';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-28-53';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-29-41';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-29-41';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-29-41']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs-10_vs0_2011-06-13_16-30-46';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs-5_vs0_2011-06-13_16-31-02 ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-31-18  ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs5_vs0_2011-06-13_16-31-34  ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs10_vs0_2011-06-13_16-31-51 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-30-30';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-30-30';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-31-18';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-31-18';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-31-18']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs-10_2011-06-13_16-32-23';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs-5_2011-06-13_16-32-39 ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-32-56  ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs5_2011-06-13_16-33-12  ';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs10_2011-06-13_16-33-28 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-32-07';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-32-07';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-32-56';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-32-56';
+                                      'Efficiency_eff_HU42_HERMES_G200_he0_ve0_hs0_vs0_2011-06-13_16-32-56']);
+            end
+		elseif(gap < 0.5*(22.5+ 25))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G225_he-10_ve0_hs0_vs0_2011-06-13_16-34-16';
+                                      'Efficiency_eff_HU42_HERMES_G225_he-5_ve0_hs0_vs0_2011-06-13_16-34-32 ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-34-48  ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he5_ve0_hs0_vs0_2011-06-13_16-35-05  ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he10_ve0_hs0_vs0_2011-06-13_16-35-21 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-34-00';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-34-00';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-34-48';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-34-48';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-34-48']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G225_he0_ve-10_hs0_vs0_2011-06-13_16-35-53';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve-5_hs0_vs0_2011-06-13_16-36-09 ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-36-25  ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve5_hs0_vs0_2011-06-13_16-36-41  ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve10_hs0_vs0_2011-06-13_16-36-58 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-35-37';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-35-37';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-36-25';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-36-25';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-36-25']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs-10_vs0_2011-06-13_16-37-30';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs-5_vs0_2011-06-13_16-37-46 ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-38-02  ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs5_vs0_2011-06-13_16-38-18  ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs10_vs0_2011-06-13_16-38-35 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-37-14';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-37-14';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-38-02';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-38-02';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-38-02']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs-10_2011-06-13_16-39-07';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs-5_2011-06-13_16-39-23 ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-39-39  ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs5_2011-06-13_16-39-55  ';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs10_2011-06-13_16-40-11 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-38-51';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-38-51';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-39-39';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-39-39';
+                                      'Efficiency_eff_HU42_HERMES_G225_he0_ve0_hs0_vs0_2011-06-13_16-39-39']);
+            end
+		elseif(gap < 0.5*(25+ 27.5))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G250_he-10_ve0_hs0_vs0_2011-06-13_16-41-00';
+                                      'Efficiency_eff_HU42_HERMES_G250_he-5_ve0_hs0_vs0_2011-06-13_16-41-16 ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-41-32  ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he5_ve0_hs0_vs0_2011-06-13_16-41-48  ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he10_ve0_hs0_vs0_2011-06-13_16-42-04 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-40-44';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-40-44';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-41-32';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-41-32';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-41-32']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G250_he0_ve-10_hs0_vs0_2011-06-13_16-42-37';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve-5_hs0_vs0_2011-06-13_16-42-53 ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-43-09  ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve5_hs0_vs0_2011-06-13_16-43-25  ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve10_hs0_vs0_2011-06-13_16-43-41 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-42-21';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-42-21';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-43-09';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-43-09';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-43-09']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs-10_vs0_2011-06-13_16-44-14';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs-5_vs0_2011-06-13_16-44-30 ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-44-46  ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs5_vs0_2011-06-13_16-45-02  ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs10_vs0_2011-06-13_16-45-18 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-43-57';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-43-57';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-44-46';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-44-46';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-44-46']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs-10_2011-06-13_16-45-50';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs-5_2011-06-13_16-46-07 ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-46-23  ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs5_2011-06-13_16-46-39  ';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs10_2011-06-13_16-46-55 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-45-34';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-45-34';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-46-23';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-46-23';
+                                      'Efficiency_eff_HU42_HERMES_G250_he0_ve0_hs0_vs0_2011-06-13_16-46-23']);
+            end
+		elseif(gap < 0.5*(27.5+ 30))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G275_he-10_ve0_hs0_vs0_2011-06-13_16-47-44';
+                                      'Efficiency_eff_HU42_HERMES_G275_he-5_ve0_hs0_vs0_2011-06-13_16-48-00 ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-48-16  ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he5_ve0_hs0_vs0_2011-06-13_16-48-32  ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he10_ve0_hs0_vs0_2011-06-13_16-48-48 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-47-27';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-47-27';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-48-16';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-48-16';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-48-16']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G275_he0_ve-10_hs0_vs0_2011-06-13_16-49-20';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve-5_hs0_vs0_2011-06-13_16-49-36 ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-49-53  ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve5_hs0_vs0_2011-06-13_16-50-09  ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve10_hs0_vs0_2011-06-13_16-50-25 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-49-04';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-49-04';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-49-53';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-49-53';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-49-53']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs-10_vs0_2011-06-13_16-50-57';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs-5_vs0_2011-06-13_16-51-13 ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-51-30  ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs5_vs0_2011-06-13_16-51-46  ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs10_vs0_2011-06-13_16-52-02 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-50-41';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-50-41';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-51-30';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-51-30';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-51-30']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs-10_2011-06-13_16-52-34';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs-5_2011-06-13_16-52-50 ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-53-07  ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs5_2011-06-13_16-53-23  ';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs10_2011-06-13_16-53-39 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-52-18';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-52-18';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-53-07';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-53-07';
+                                      'Efficiency_eff_HU42_HERMES_G275_he0_ve0_hs0_vs0_2011-06-13_16-53-07']);
+            end
+		elseif(gap < 0.5*(30+ 35))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G300_he-10_ve0_hs0_vs0_2011-06-13_16-54-27';
+                                      'Efficiency_eff_HU42_HERMES_G300_he-5_ve0_hs0_vs0_2011-06-13_16-54-43 ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-55-00  ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he5_ve0_hs0_vs0_2011-06-13_16-55-16  ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he10_ve0_hs0_vs0_2011-06-13_16-55-32 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-54-11';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-54-11';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-55-00';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-55-00';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-55-00']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G300_he0_ve-10_hs0_vs0_2011-06-13_16-56-04';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve-5_hs0_vs0_2011-06-13_16-56-20 ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-56-36  ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve5_hs0_vs0_2011-06-13_16-56-53  ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve10_hs0_vs0_2011-06-13_16-57-09 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-55-48';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-55-48';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-56-36';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-56-36';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-56-36']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs-10_vs0_2011-06-13_16-57-41';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs-5_vs0_2011-06-13_16-57-57 ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-58-13  ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs5_vs0_2011-06-13_16-58-29  ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs10_vs0_2011-06-13_16-58-45 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-57-25';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-57-25';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-58-13';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-58-13';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-58-13']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs-10_2011-06-13_16-59-18';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs-5_2011-06-13_16-59-34 ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-59-50  ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs5_2011-06-13_17-00-06  ';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs10_2011-06-13_17-00-22 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-59-02';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-59-02';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-59-50';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-59-50';
+                                      'Efficiency_eff_HU42_HERMES_G300_he0_ve0_hs0_vs0_2011-06-13_16-59-50']);
+            end
+		elseif(gap < 0.5*(35+ 40))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G350_he-10_ve0_hs0_vs0_2011-06-13_17-01-11';
+                                      'Efficiency_eff_HU42_HERMES_G350_he-5_ve0_hs0_vs0_2011-06-13_17-01-27 ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-01-43  ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he5_ve0_hs0_vs0_2011-06-13_17-01-59  ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he10_ve0_hs0_vs0_2011-06-13_17-02-16 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-00-55';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-00-55';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-01-43';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-01-43';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-01-43']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G350_he0_ve-10_hs0_vs0_2011-06-13_17-02-48';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve-5_hs0_vs0_2011-06-13_17-03-04 ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-03-20  ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve5_hs0_vs0_2011-06-13_17-03-36  ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve10_hs0_vs0_2011-06-13_17-03-52 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-02-32';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-02-32';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-03-20';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-03-20';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-03-20']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs-10_vs0_2011-06-13_17-04-25';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs-5_vs0_2011-06-13_17-04-41 ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-04-57  ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs5_vs0_2011-06-13_17-05-13  ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs10_vs0_2011-06-13_17-05-29 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-04-08';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-04-08';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-04-57';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-04-57';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-04-57']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs-10_2011-06-13_17-06-02';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs-5_2011-06-13_17-06-18 ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-06-34  ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs5_2011-06-13_17-06-50  ';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs10_2011-06-13_17-07-06 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-05-45';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-05-45';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-06-34';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-06-34';
+                                      'Efficiency_eff_HU42_HERMES_G350_he0_ve0_hs0_vs0_2011-06-13_17-06-34']);
+            end
+		elseif(gap < 0.5*(40+ 50))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G400_he-10_ve0_hs0_vs0_2011-06-13_17-07-55';
+                                      'Efficiency_eff_HU42_HERMES_G400_he-5_ve0_hs0_vs0_2011-06-13_17-08-11 ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-08-27  ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he5_ve0_hs0_vs0_2011-06-13_17-08-43  ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he10_ve0_hs0_vs0_2011-06-13_17-08-59 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-07-38';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-07-38';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-08-27';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-08-27';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-08-27']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G400_he0_ve-10_hs0_vs0_2011-06-13_17-09-31';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve-5_hs0_vs0_2011-06-13_17-09-48 ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-10-04  ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve5_hs0_vs0_2011-06-13_17-10-20  ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve10_hs0_vs0_2011-06-13_17-10-36 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-09-15';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-09-15';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-10-04';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-10-04';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-10-04']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs-10_vs0_2011-06-13_17-11-08';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs-5_vs0_2011-06-13_17-11-25 ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-11-41  ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs5_vs0_2011-06-13_17-11-57  ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs10_vs0_2011-06-13_17-12-13 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-10-52';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-10-52';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-11-41';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-11-41';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-11-41']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs-10_2011-06-13_17-12-45';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs-5_2011-06-13_17-13-01 ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-13-18  ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs5_2011-06-13_17-13-34  ';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs10_2011-06-13_17-13-50 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-12-29';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-12-29';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-13-18';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-13-18';
+                                      'Efficiency_eff_HU42_HERMES_G400_he0_ve0_hs0_vs0_2011-06-13_17-13-18']);
+            end
+		elseif(gap < 0.5*(50+ 60))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G500_he-10_ve0_hs0_vs0_2011-06-13_17-14-41';
+                                      'Efficiency_eff_HU42_HERMES_G500_he-5_ve0_hs0_vs0_2011-06-13_17-14-58 ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-15-14  ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he5_ve0_hs0_vs0_2011-06-13_17-15-30  ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he10_ve0_hs0_vs0_2011-06-13_17-15-46 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-14-25';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-14-25';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-15-14';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-15-14';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-15-14']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G500_he0_ve-10_hs0_vs0_2011-06-13_17-16-18';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve-5_hs0_vs0_2011-06-13_17-16-35 ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-16-51  ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve5_hs0_vs0_2011-06-13_17-17-07  ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve10_hs0_vs0_2011-06-13_17-17-23 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-16-02';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-16-02';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-16-51';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-16-51';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-16-51']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs-10_vs0_2011-06-13_17-17-55';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs-5_vs0_2011-06-13_17-18-11 ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-18-28  ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs5_vs0_2011-06-13_17-18-44  ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs10_vs0_2011-06-13_17-19-00 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-17-39';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-17-39';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-18-28';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-18-28';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-18-28']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs-10_2011-06-13_17-19-32';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs-5_2011-06-13_17-19-48 ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-20-04  ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs5_2011-06-13_17-20-21  ';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs10_2011-06-13_17-20-37 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-19-16';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-19-16';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-20-04';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-20-04';
+                                      'Efficiency_eff_HU42_HERMES_G500_he0_ve0_hs0_vs0_2011-06-13_17-20-04']);
+            end
+		elseif(gap < 0.5*(60+ 70))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G600_he-10_ve0_hs0_vs0_2011-06-13_17-21-28';
+                                      'Efficiency_eff_HU42_HERMES_G600_he-5_ve0_hs0_vs0_2011-06-13_17-21-44 ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-22-00  ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he5_ve0_hs0_vs0_2011-06-13_17-22-17  ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he10_ve0_hs0_vs0_2011-06-13_17-22-33 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-21-12';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-21-12';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-22-00';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-22-00';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-22-00']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G600_he0_ve-10_hs0_vs0_2011-06-13_17-23-05';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve-5_hs0_vs0_2011-06-13_17-23-21 ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-23-37  ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve5_hs0_vs0_2011-06-13_17-23-54  ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve10_hs0_vs0_2011-06-13_17-24-10 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-22-49';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-22-49';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-23-37';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-23-37';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-23-37']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs-10_vs0_2011-06-13_17-24-42';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs-5_vs0_2011-06-13_17-24-58 ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-25-14  ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs5_vs0_2011-06-13_17-25-30  ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs10_vs0_2011-06-13_17-25-47 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-24-26';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-24-26';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-25-14';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-25-14';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-25-14']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs-10_2011-06-13_17-26-19';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs-5_2011-06-13_17-26-35 ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-26-51  ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs5_2011-06-13_17-27-07  ';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs10_2011-06-13_17-27-23 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-26-03';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-26-03';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-26-51';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-26-51';
+                                      'Efficiency_eff_HU42_HERMES_G600_he0_ve0_hs0_vs0_2011-06-13_17-26-51']);
+            end
+		elseif(gap < 0.5*(70+ 80))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G700_he-10_ve0_hs0_vs0_2011-06-13_17-28-15';
+                                      'Efficiency_eff_HU42_HERMES_G700_he-5_ve0_hs0_vs0_2011-06-13_17-28-31 ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-28-47  ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he5_ve0_hs0_vs0_2011-06-13_17-29-03  ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he10_ve0_hs0_vs0_2011-06-13_17-29-19 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-27-59';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-27-59';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-28-47';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-28-47';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-28-47']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G700_he0_ve-10_hs0_vs0_2011-06-13_17-29-52';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve-5_hs0_vs0_2011-06-13_17-30-08 ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-30-24  ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve5_hs0_vs0_2011-06-13_17-30-40  ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve10_hs0_vs0_2011-06-13_17-30-56 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-29-36';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-29-36';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-30-24';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-30-24';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-30-24']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs-10_vs0_2011-06-13_17-31-29';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs-5_vs0_2011-06-13_17-31-45 ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-32-01  ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs5_vs0_2011-06-13_17-32-17  ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs10_vs0_2011-06-13_17-32-33 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-31-13';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-31-13';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-32-01';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-32-01';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-32-01']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs-10_2011-06-13_17-33-05';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs-5_2011-06-13_17-33-22 ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-33-38  ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs5_2011-06-13_17-33-54  ';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs10_2011-06-13_17-34-10 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-32-49';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-32-49';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-33-38';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-33-38';
+                                      'Efficiency_eff_HU42_HERMES_G700_he0_ve0_hs0_vs0_2011-06-13_17-33-38']);
+            end
+		elseif(gap < 0.5*(80+ 90))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G800_he-10_ve0_hs0_vs0_2011-06-13_17-35-01';
+                                      'Efficiency_eff_HU42_HERMES_G800_he-5_ve0_hs0_vs0_2011-06-13_17-35-18 ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-35-34  ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he5_ve0_hs0_vs0_2011-06-13_17-35-50  ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he10_ve0_hs0_vs0_2011-06-13_17-36-06 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-34-45';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-34-45';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-35-34';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-35-34';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-35-34']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G800_he0_ve-10_hs0_vs0_2011-06-13_17-36-38';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve-5_hs0_vs0_2011-06-13_17-36-54 ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-37-10  ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve5_hs0_vs0_2011-06-13_17-37-27  ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve10_hs0_vs0_2011-06-13_17-37-43 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-36-22';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-36-22';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-37-10';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-37-10';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-37-10']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs-10_vs0_2011-06-13_17-38-15';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs-5_vs0_2011-06-13_17-38-31 ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-38-48  ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs5_vs0_2011-06-13_17-39-04  ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs10_vs0_2011-06-13_17-39-20 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-37-59';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-37-59';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-38-48';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-38-48';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-38-48']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs-10_2011-06-13_17-39-52';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs-5_2011-06-13_17-40-08 ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-40-24  ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs5_2011-06-13_17-40-41  ';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs10_2011-06-13_17-40-57 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-39-36';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-39-36';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-40-24';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-40-24';
+                                      'Efficiency_eff_HU42_HERMES_G800_he0_ve0_hs0_vs0_2011-06-13_17-40-24']);
+            end
+		elseif(gap < 0.5*(90+ 100))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G900_he-10_ve0_hs0_vs0_2011-06-13_17-41-48';
+                                      'Efficiency_eff_HU42_HERMES_G900_he-5_ve0_hs0_vs0_2011-06-13_17-42-04 ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-42-21  ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he5_ve0_hs0_vs0_2011-06-13_17-42-37  ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he10_ve0_hs0_vs0_2011-06-13_17-42-53 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-41-32';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-41-32';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-42-21';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-42-21';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-42-21']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G900_he0_ve-10_hs0_vs0_2011-06-13_17-43-25';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve-5_hs0_vs0_2011-06-13_17-43-41 ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-43-57  ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve5_hs0_vs0_2011-06-13_17-44-14  ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve10_hs0_vs0_2011-06-13_17-44-30 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-43-09';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-43-09';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-43-57';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-43-57';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-43-57']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs-10_vs0_2011-06-13_17-45-02';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs-5_vs0_2011-06-13_17-45-18 ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-45-34  ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs5_vs0_2011-06-13_17-45-51  ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs10_vs0_2011-06-13_17-46-07 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-44-46';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-44-46';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-45-34';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-45-34';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-45-34']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs-10_2011-06-13_17-46-39';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs-5_2011-06-13_17-46-55 ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-47-11  ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs5_2011-06-13_17-47-28  ';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs10_2011-06-13_17-47-44 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-46-23';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-46-23';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-47-11';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-47-11';
+                                      'Efficiency_eff_HU42_HERMES_G900_he0_ve0_hs0_vs0_2011-06-13_17-47-11']);
+            end
+		elseif(gap < 0.5*(100+ 110))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1000_he-10_ve0_hs0_vs0_2011-06-13_17-48-35';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he-5_ve0_hs0_vs0_2011-06-13_17-48-51 ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-49-08  ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he5_ve0_hs0_vs0_2011-06-13_17-49-24  ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he10_ve0_hs0_vs0_2011-06-13_17-49-40 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-48-19';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-48-19';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-49-08';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-49-08';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-49-08']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1000_he0_ve-10_hs0_vs0_2011-06-13_17-50-12';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve-5_hs0_vs0_2011-06-13_17-50-28 ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-50-45  ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve5_hs0_vs0_2011-06-13_17-51-01  ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve10_hs0_vs0_2011-06-13_17-51-17 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-49-56';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-49-56';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-50-45';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-50-45';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-50-45']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs-10_vs0_2011-06-13_17-51-49';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs-5_vs0_2011-06-13_17-52-05 ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-52-22  ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs5_vs0_2011-06-13_17-52-38  ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs10_vs0_2011-06-13_17-52-54 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-51-33';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-51-33';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-52-22';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-52-22';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-52-22']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs-10_2011-06-13_17-53-26';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs-5_2011-06-13_17-53-42 ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-53-58  ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs5_2011-06-13_17-54-15  ';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs10_2011-06-13_17-54-31 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-53-10';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-53-10';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-53-58';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-53-58';
+                                      'Efficiency_eff_HU42_HERMES_G1000_he0_ve0_hs0_vs0_2011-06-13_17-53-58']);
+            end
+		elseif(gap < 0.5*(110+ 130))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1100_he-10_ve0_hs0_vs0_2011-06-13_17-55-22';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he-5_ve0_hs0_vs0_2011-06-13_17-55-38 ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-55-55  ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he5_ve0_hs0_vs0_2011-06-13_17-56-11  ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he10_ve0_hs0_vs0_2011-06-13_17-56-27 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-55-06';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-55-06';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-55-55';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-55-55';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-55-55']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1100_he0_ve-10_hs0_vs0_2011-06-13_17-56-59';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve-5_hs0_vs0_2011-06-13_17-57-15 ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-57-31  ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve5_hs0_vs0_2011-06-13_17-57-48  ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve10_hs0_vs0_2011-06-13_17-58-04 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-56-43';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-56-43';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-57-31';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-57-31';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-57-31']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs-10_vs0_2011-06-13_17-58-36';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs-5_vs0_2011-06-13_17-58-52 ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-59-08  ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs5_vs0_2011-06-13_17-59-24  ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs10_vs0_2011-06-13_17-59-40 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-58-20';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-58-20';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-59-08';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-59-08';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-59-08']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs-10_2011-06-13_18-00-13';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs-5_2011-06-13_18-00-29 ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_18-00-45  ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs5_2011-06-13_18-01-01  ';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs10_2011-06-13_18-01-17 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-59-57';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_17-59-57';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_18-00-45';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_18-00-45';
+                                      'Efficiency_eff_HU42_HERMES_G1100_he0_ve0_hs0_vs0_2011-06-13_18-00-45']);
+            end
+		elseif(gap < 0.5*(130+ 150))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1300_he-10_ve0_hs0_vs0_2011-06-13_18-02-12';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he-5_ve0_hs0_vs0_2011-06-13_18-02-28 ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-02-44  ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he5_ve0_hs0_vs0_2011-06-13_18-03-00  ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he10_ve0_hs0_vs0_2011-06-13_18-03-16 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-01-56';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-01-56';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-02-44';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-02-44';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-02-44']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1300_he0_ve-10_hs0_vs0_2011-06-13_18-03-49';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve-5_hs0_vs0_2011-06-13_18-04-05 ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-04-21  ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve5_hs0_vs0_2011-06-13_18-04-37  ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve10_hs0_vs0_2011-06-13_18-04-53 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-03-32';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-03-32';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-04-21';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-04-21';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-04-21']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs-10_vs0_2011-06-13_18-05-26';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs-5_vs0_2011-06-13_18-05-42 ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-05-58  ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs5_vs0_2011-06-13_18-06-14  ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs10_vs0_2011-06-13_18-06-30 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-05-09';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-05-09';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-05-58';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-05-58';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-05-58']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs-10_2011-06-13_18-07-03';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs-5_2011-06-13_18-07-19 ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-07-35  ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs5_2011-06-13_18-07-51  ';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs10_2011-06-13_18-08-07 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-06-46';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-06-46';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-07-35';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-07-35';
+                                      'Efficiency_eff_HU42_HERMES_G1300_he0_ve0_hs0_vs0_2011-06-13_18-07-35']);
+            end
+		elseif(gap < 0.5*(150+ 175))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1500_he-10_ve0_hs0_vs0_2011-06-13_18-09-02';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he-5_ve0_hs0_vs0_2011-06-13_18-09-18 ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-09-34  ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he5_ve0_hs0_vs0_2011-06-13_18-09-50  ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he10_ve0_hs0_vs0_2011-06-13_18-10-06 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-08-46';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-08-46';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-09-34';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-09-34';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-09-34']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1500_he0_ve-10_hs0_vs0_2011-06-13_18-10-39';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve-5_hs0_vs0_2011-06-13_18-10-55 ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-11-11  ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve5_hs0_vs0_2011-06-13_18-11-27  ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve10_hs0_vs0_2011-06-13_18-11-43 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-10-22';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-10-22';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-11-11';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-11-11';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-11-11']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs-10_vs0_2011-06-13_18-12-15';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs-5_vs0_2011-06-13_18-12-32 ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-12-48  ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs5_vs0_2011-06-13_18-13-04  ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs10_vs0_2011-06-13_18-13-20 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-11-59';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-11-59';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-12-48';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-12-48';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-12-48']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs-10_2011-06-13_18-13-53';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs-5_2011-06-13_18-14-09 ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-14-25  ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs5_2011-06-13_18-14-41  ';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs10_2011-06-13_18-14-57 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-13-36';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-13-36';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-14-25';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-14-25';
+                                      'Efficiency_eff_HU42_HERMES_G1500_he0_ve0_hs0_vs0_2011-06-13_18-14-25']);
+            end
+		elseif(gap < 0.5*(175+ 200))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1750_he-10_ve0_hs0_vs0_2011-06-13_18-15-52';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he-5_ve0_hs0_vs0_2011-06-13_18-16-08 ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-16-24  ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he5_ve0_hs0_vs0_2011-06-13_18-16-40  ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he10_ve0_hs0_vs0_2011-06-13_18-16-56 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-15-35';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-15-35';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-16-24';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-16-24';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-16-24']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1750_he0_ve-10_hs0_vs0_2011-06-13_18-17-29';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve-5_hs0_vs0_2011-06-13_18-17-45 ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-18-01  ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve5_hs0_vs0_2011-06-13_18-18-17  ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve10_hs0_vs0_2011-06-13_18-18-33 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-17-12';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-17-12';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-18-01';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-18-01';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-18-01']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs-10_vs0_2011-06-13_18-19-05';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs-5_vs0_2011-06-13_18-19-22 ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-19-38  ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs5_vs0_2011-06-13_18-19-54  ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs10_vs0_2011-06-13_18-20-10 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-18-49';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-18-49';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-19-38';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-19-38';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-19-38']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs-10_2011-06-13_18-20-42';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs-5_2011-06-13_18-20-58 ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-21-15  ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs5_2011-06-13_18-21-31  ';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs10_2011-06-13_18-21-47 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-20-26';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-20-26';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-21-15';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-21-15';
+                                      'Efficiency_eff_HU42_HERMES_G1750_he0_ve0_hs0_vs0_2011-06-13_18-21-15']);
+            end
+		elseif(gap < 0.5*(200+ 225))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2000_he-10_ve0_hs0_vs0_2011-06-13_18-22-41';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he-5_ve0_hs0_vs0_2011-06-13_18-22-57 ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-23-14  ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he5_ve0_hs0_vs0_2011-06-13_18-23-30  ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he10_ve0_hs0_vs0_2011-06-13_18-23-46 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-22-25';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-22-25';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-23-14';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-23-14';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-23-14']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2000_he0_ve-10_hs0_vs0_2011-06-13_18-24-18';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve-5_hs0_vs0_2011-06-13_18-24-34 ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-24-50  ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve5_hs0_vs0_2011-06-13_18-25-07  ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve10_hs0_vs0_2011-06-13_18-25-23 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-24-02';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-24-02';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-24-50';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-24-50';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-24-50']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs-10_vs0_2011-06-13_18-25-55';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs-5_vs0_2011-06-13_18-26-11 ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-26-27  ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs5_vs0_2011-06-13_18-26-44  ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs10_vs0_2011-06-13_18-27-00 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-25-39';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-25-39';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-26-27';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-26-27';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-26-27']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs-10_2011-06-13_18-27-32';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs-5_2011-06-13_18-27-48 ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-28-04  ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs5_2011-06-13_18-28-20  ';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs10_2011-06-13_18-28-37 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-27-16';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-27-16';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-28-04';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-28-04';
+                                      'Efficiency_eff_HU42_HERMES_G2000_he0_ve0_hs0_vs0_2011-06-13_18-28-04']);
+            end
+		elseif(gap < 0.5*(225+ 240))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2250_he-10_ve0_hs0_vs0_2011-06-13_18-29-31';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he-5_ve0_hs0_vs0_2011-06-13_18-29-47 ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-30-03  ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he5_ve0_hs0_vs0_2011-06-13_18-30-20  ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he10_ve0_hs0_vs0_2011-06-13_18-30-36 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-29-15';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-29-15';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-30-03';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-30-03';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-30-03']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2250_he0_ve-10_hs0_vs0_2011-06-13_18-31-08';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve-5_hs0_vs0_2011-06-13_18-31-24 ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-31-40  ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve5_hs0_vs0_2011-06-13_18-31-56  ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve10_hs0_vs0_2011-06-13_18-32-13 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-30-52';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-30-52';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-31-40';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-31-40';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-31-40']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs-10_vs0_2011-06-13_18-32-45';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs-5_vs0_2011-06-13_18-33-01 ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-33-17  ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs5_vs0_2011-06-13_18-33-34  ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs10_vs0_2011-06-13_18-33-50 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-32-29';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-32-29';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-33-17';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-33-17';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-33-17']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs-10_2011-06-13_18-34-22';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs-5_2011-06-13_18-34-38 ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-34-55  ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs5_2011-06-13_18-35-11  ';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs10_2011-06-13_18-35-27 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-34-06';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-34-06';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-34-55';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-34-55';
+                                      'Efficiency_eff_HU42_HERMES_G2250_he0_ve0_hs0_vs0_2011-06-13_18-34-55']);
+            end
+		else	% Gap > 240
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2400_he-10_ve0_hs0_vs0_2011-06-13_18-36-18';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he-5_ve0_hs0_vs0_2011-06-13_18-36-34 ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-36-51  ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he5_ve0_hs0_vs0_2011-06-13_18-37-07  ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he10_ve0_hs0_vs0_2011-06-13_18-37-23 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-36-02';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-36-02';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-36-51';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-36-51';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-36-51']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2400_he0_ve-10_hs0_vs0_2011-06-13_18-37-55';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve-5_hs0_vs0_2011-06-13_18-38-11 ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-38-28  ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve5_hs0_vs0_2011-06-13_18-38-44  ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve10_hs0_vs0_2011-06-13_18-39-00 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-37-39';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-37-39';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-38-28';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-38-28';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-38-28']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs-10_vs0_2011-06-13_18-39-32';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs-5_vs0_2011-06-13_18-39-48 ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-40-04  ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs5_vs0_2011-06-13_18-40-21  ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs10_vs0_2011-06-13_18-40-37 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-39-16';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-39-16';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-40-04';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-40-04';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-40-04']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs-10_2011-06-13_18-41-09';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs-5_2011-06-13_18-41-25 ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-41-41  ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs5_2011-06-13_18-41-57  ';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs10_2011-06-13_18-42-14 ']);
+                fnMeasBkgr = cellstr(['Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-40-53';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-40-53';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-41-41';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-41-41';
+                                      'Efficiency_eff_HU42_HERMES_G2400_he0_ve0_hs0_vs0_2011-06-13_18-41-41']);
+            end
+        end
+    end	% End of HU42_HERMES
+
+elseif strncmp(idName, 'HU64', 4)
+%% HU64_HERMES
+	if strcmp(idName, 'HU64_HERMES')
+		vCurVals = [-10, -5, 0, 5, 10];
+
+		if(gap < 0.5*(15.5+ 16))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G155_he-10_ve0_hs0_vs0_2011-09-03_16-09-51.mat';
+                                      'Efficiency_HU64_HERMES_G155_he-5_ve0_hs0_vs0_2011-09-03_16-10-07.mat ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-10-23.mat  ';
+                                      'Efficiency_HU64_HERMES_G155_he5_ve0_hs0_vs0_2011-09-03_16-10-40.mat  ';
+                                      'Efficiency_HU64_HERMES_G155_he10_ve0_hs0_vs0_2011-09-03_16-10-56.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-09-34.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-09-34.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-10-23.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-10-23.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-10-23.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G155_he0_ve-10_hs0_vs0_2011-09-03_16-11-28.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve-5_hs0_vs0_2011-09-03_16-11-45.mat ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-12-01.mat  ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve5_hs0_vs0_2011-09-03_16-12-17.mat  ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve10_hs0_vs0_2011-09-03_16-12-34.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-11-12.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-11-12.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-12-01.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-12-01.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-12-01.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G155_he0_ve0_hs-10_vs0_2011-09-03_16-13-06.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs-5_vs0_2011-09-03_16-13-22.mat ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-13-39.mat  ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs5_vs0_2011-09-03_16-13-55.mat  ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs10_vs0_2011-09-03_16-14-11.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-12-50.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-12-50.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-13-39.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-13-39.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-13-39.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs-10_2011-09-03_16-14-44.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs-5_2011-09-03_16-15-00.mat ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-15-16.mat  ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs5_2011-09-03_16-15-33.mat  ';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs10_2011-09-03_16-15-49.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-14-28.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-14-28.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-15-16.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-15-16.mat';
+                                      'Efficiency_HU64_HERMES_G155_he0_ve0_hs0_vs0_2011-09-03_16-15-16.mat']);
+            end
+		elseif(gap < 0.5*(16+ 18))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G160_he-10_ve0_hs0_vs0_2011-09-03_16-16-34.mat';
+                                      'Efficiency_HU64_HERMES_G160_he-5_ve0_hs0_vs0_2011-09-03_16-16-50.mat ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-17-06.mat  ';
+                                      'Efficiency_HU64_HERMES_G160_he5_ve0_hs0_vs0_2011-09-03_16-17-23.mat  ';
+                                      'Efficiency_HU64_HERMES_G160_he10_ve0_hs0_vs0_2011-09-03_16-17-39.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-16-18.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-16-18.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-17-06.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-17-06.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-17-06.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G160_he0_ve-10_hs0_vs0_2011-09-03_16-18-12.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve-5_hs0_vs0_2011-09-03_16-18-28.mat ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-18-44.mat  ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve5_hs0_vs0_2011-09-03_16-19-01.mat  ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve10_hs0_vs0_2011-09-03_16-19-17.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-17-55.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-17-55.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-18-44.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-18-44.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-18-44.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G160_he0_ve0_hs-10_vs0_2011-09-03_16-19-50.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs-5_vs0_2011-09-03_16-20-06.mat ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-20-22.mat  ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs5_vs0_2011-09-03_16-20-39.mat  ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs10_vs0_2011-09-03_16-20-55.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-19-34.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-19-34.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-20-22.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-20-22.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-20-22.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs-10_2011-09-03_16-21-28.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs-5_2011-09-03_16-21-44.mat ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-22-00.mat  ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs5_2011-09-03_16-22-17.mat  ';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs10_2011-09-03_16-22-33.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-21-11.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-21-11.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-22-00.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-22-00.mat';
+                                      'Efficiency_HU64_HERMES_G160_he0_ve0_hs0_vs0_2011-09-03_16-22-00.mat']);
+            end
+		elseif(gap < 0.5*(18+ 20))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G180_he-10_ve0_hs0_vs0_2011-09-03_16-23-21.mat';
+                                      'Efficiency_HU64_HERMES_G180_he-5_ve0_hs0_vs0_2011-09-03_16-23-37.mat ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-23-53.mat  ';
+                                      'Efficiency_HU64_HERMES_G180_he5_ve0_hs0_vs0_2011-09-03_16-24-10.mat  ';
+                                      'Efficiency_HU64_HERMES_G180_he10_ve0_hs0_vs0_2011-09-03_16-24-26.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-23-04.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-23-04.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-23-53.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-23-53.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-23-53.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G180_he0_ve-10_hs0_vs0_2011-09-03_16-24-59.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve-5_hs0_vs0_2011-09-03_16-25-15.mat ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-25-31.mat  ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve5_hs0_vs0_2011-09-03_16-25-47.mat  ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve10_hs0_vs0_2011-09-03_16-26-04.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-24-42.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-24-42.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-25-31.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-25-31.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-25-31.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G180_he0_ve0_hs-10_vs0_2011-09-03_16-26-36.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs-5_vs0_2011-09-03_16-26-52.mat ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-27-09.mat  ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs5_vs0_2011-09-03_16-27-25.mat  ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs10_vs0_2011-09-03_16-27-41.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-26-20.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-26-20.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-27-09.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-27-09.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-27-09.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs-10_2011-09-03_16-28-14.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs-5_2011-09-03_16-28-30.mat ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-28-47.mat  ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs5_2011-09-03_16-29-03.mat  ';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs10_2011-09-03_16-29-19.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-27-58.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-27-58.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-28-47.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-28-47.mat';
+                                      'Efficiency_HU64_HERMES_G180_he0_ve0_hs0_vs0_2011-09-03_16-28-47.mat']);
+            end
+		elseif(gap < 0.5*(20+ 22.5))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G200_he-10_ve0_hs0_vs0_2011-09-03_16-30-04.mat';
+                                      'Efficiency_HU64_HERMES_G200_he-5_ve0_hs0_vs0_2011-09-03_16-30-20.mat ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-30-36.mat  ';
+                                      'Efficiency_HU64_HERMES_G200_he5_ve0_hs0_vs0_2011-09-03_16-30-53.mat  ';
+                                      'Efficiency_HU64_HERMES_G200_he10_ve0_hs0_vs0_2011-09-03_16-31-09.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-29-48.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-29-48.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-30-36.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-30-36.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-30-36.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G200_he0_ve-10_hs0_vs0_2011-09-03_16-31-42.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve-5_hs0_vs0_2011-09-03_16-31-58.mat ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-32-14.mat  ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve5_hs0_vs0_2011-09-03_16-32-31.mat  ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve10_hs0_vs0_2011-09-03_16-32-47.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-31-25.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-31-25.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-32-14.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-32-14.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-32-14.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G200_he0_ve0_hs-10_vs0_2011-09-03_16-33-20.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs-5_vs0_2011-09-03_16-33-36.mat ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-33-52.mat  ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs5_vs0_2011-09-03_16-34-08.mat  ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs10_vs0_2011-09-03_16-34-25.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-33-03.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-33-03.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-33-52.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-33-52.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-33-52.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs-10_2011-09-03_16-34-57.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs-5_2011-09-03_16-35-14.mat ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-35-30.mat  ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs5_2011-09-03_16-35-46.mat  ';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs10_2011-09-03_16-36-02.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-34-41.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-34-41.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-35-30.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-35-30.mat';
+                                      'Efficiency_HU64_HERMES_G200_he0_ve0_hs0_vs0_2011-09-03_16-35-30.mat']);
+            end
+		elseif(gap < 0.5*(22.5+ 25))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G225_he-10_ve0_hs0_vs0_2011-09-03_16-36-50.mat';
+                                      'Efficiency_HU64_HERMES_G225_he-5_ve0_hs0_vs0_2011-09-03_16-37-07.mat ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-37-23.mat  ';
+                                      'Efficiency_HU64_HERMES_G225_he5_ve0_hs0_vs0_2011-09-03_16-37-39.mat  ';
+                                      'Efficiency_HU64_HERMES_G225_he10_ve0_hs0_vs0_2011-09-03_16-37-55.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-36-34.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-36-34.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-37-23.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-37-23.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-37-23.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G225_he0_ve-10_hs0_vs0_2011-09-03_16-38-28.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve-5_hs0_vs0_2011-09-03_16-38-44.mat ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-39-01.mat  ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve5_hs0_vs0_2011-09-03_16-39-17.mat  ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve10_hs0_vs0_2011-09-03_16-39-33.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-38-12.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-38-12.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-39-01.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-39-01.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-39-01.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G225_he0_ve0_hs-10_vs0_2011-09-03_16-40-06.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs-5_vs0_2011-09-03_16-40-22.mat ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-40-38.mat  ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs5_vs0_2011-09-03_16-40-55.mat  ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs10_vs0_2011-09-03_16-41-11.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-39-49.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-39-49.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-40-38.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-40-38.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-40-38.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs-10_2011-09-03_16-41-43.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs-5_2011-09-03_16-42-00.mat ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-42-16.mat  ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs5_2011-09-03_16-42-32.mat  ';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs10_2011-09-03_16-42-49.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-41-27.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-41-27.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-42-16.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-42-16.mat';
+                                      'Efficiency_HU64_HERMES_G225_he0_ve0_hs0_vs0_2011-09-03_16-42-16.mat']);
+            end
+		elseif(gap < 0.5*(25+ 27.5))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G250_he-10_ve0_hs0_vs0_2011-09-03_16-43-33.mat';
+                                      'Efficiency_HU64_HERMES_G250_he-5_ve0_hs0_vs0_2011-09-03_16-43-50.mat ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-44-06.mat  ';
+                                      'Efficiency_HU64_HERMES_G250_he5_ve0_hs0_vs0_2011-09-03_16-44-22.mat  ';
+                                      'Efficiency_HU64_HERMES_G250_he10_ve0_hs0_vs0_2011-09-03_16-44-38.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-43-17.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-43-17.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-44-06.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-44-06.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-44-06.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G250_he0_ve-10_hs0_vs0_2011-09-03_16-45-11.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve-5_hs0_vs0_2011-09-03_16-45-27.mat ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-45-44.mat  ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve5_hs0_vs0_2011-09-03_16-46-00.mat  ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve10_hs0_vs0_2011-09-03_16-46-16.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-44-55.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-44-55.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-45-44.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-45-44.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-45-44.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G250_he0_ve0_hs-10_vs0_2011-09-03_16-46-49.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs-5_vs0_2011-09-03_16-47-06.mat ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-47-22.mat  ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs5_vs0_2011-09-03_16-47-38.mat  ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs10_vs0_2011-09-03_16-47-54.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-46-33.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-46-33.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-47-22.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-47-22.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-47-22.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs-10_2011-09-03_16-48-27.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs-5_2011-09-03_16-48-43.mat ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-49-00.mat  ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs5_2011-09-03_16-49-16.mat  ';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs10_2011-09-03_16-49-32.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-48-11.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-48-11.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-49-00.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-49-00.mat';
+                                      'Efficiency_HU64_HERMES_G250_he0_ve0_hs0_vs0_2011-09-03_16-49-00.mat']);
+            end
+		elseif(gap < 0.5*(27.5+ 30))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G275_he-10_ve0_hs0_vs0_2011-09-03_16-50-17.mat';
+                                      'Efficiency_HU64_HERMES_G275_he-5_ve0_hs0_vs0_2011-09-03_16-50-33.mat ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-50-50.mat  ';
+                                      'Efficiency_HU64_HERMES_G275_he5_ve0_hs0_vs0_2011-09-03_16-51-06.mat  ';
+                                      'Efficiency_HU64_HERMES_G275_he10_ve0_hs0_vs0_2011-09-03_16-51-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-50-01.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-50-01.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-50-50.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-50-50.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-50-50.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G275_he0_ve-10_hs0_vs0_2011-09-03_16-51-55.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve-5_hs0_vs0_2011-09-03_16-52-11.mat ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-52-27.mat  ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve5_hs0_vs0_2011-09-03_16-52-44.mat  ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve10_hs0_vs0_2011-09-03_16-53-00.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-51-38.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-51-38.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-52-27.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-52-27.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-52-27.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G275_he0_ve0_hs-10_vs0_2011-09-03_16-53-32.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs-5_vs0_2011-09-03_16-53-49.mat ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-54-05.mat  ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs5_vs0_2011-09-03_16-54-21.mat  ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs10_vs0_2011-09-03_16-54-38.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-53-16.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-53-16.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-54-05.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-54-05.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-54-05.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs-10_2011-09-03_16-55-10.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs-5_2011-09-03_16-55-26.mat ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-55-43.mat  ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs5_2011-09-03_16-55-59.mat  ';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs10_2011-09-03_16-56-15.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-54-54.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-54-54.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-55-43.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-55-43.mat';
+                                      'Efficiency_HU64_HERMES_G275_he0_ve0_hs0_vs0_2011-09-03_16-55-43.mat']);
+            end
+		elseif(gap < 0.5*(30+ 35))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G300_he-10_ve0_hs0_vs0_2011-09-03_16-57-00.mat';
+                                      'Efficiency_HU64_HERMES_G300_he-5_ve0_hs0_vs0_2011-09-03_16-57-16.mat ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-57-33.mat  ';
+                                      'Efficiency_HU64_HERMES_G300_he5_ve0_hs0_vs0_2011-09-03_16-57-49.mat  ';
+                                      'Efficiency_HU64_HERMES_G300_he10_ve0_hs0_vs0_2011-09-03_16-58-05.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-56-44.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-56-44.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-57-33.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-57-33.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-57-33.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G300_he0_ve-10_hs0_vs0_2011-09-03_16-58-38.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve-5_hs0_vs0_2011-09-03_16-58-54.mat ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-59-11.mat  ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve5_hs0_vs0_2011-09-03_16-59-27.mat  ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve10_hs0_vs0_2011-09-03_16-59-43.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-58-22.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-58-22.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-59-11.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-59-11.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_16-59-11.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G300_he0_ve0_hs-10_vs0_2011-09-03_17-00-16.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs-5_vs0_2011-09-03_17-00-32.mat ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-00-49.mat  ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs5_vs0_2011-09-03_17-01-05.mat  ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs10_vs0_2011-09-03_17-01-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-00-00.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-00-00.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-00-49.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-00-49.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-00-49.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs-10_2011-09-03_17-01-54.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs-5_2011-09-03_17-02-10.mat ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-02-27.mat  ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs5_2011-09-03_17-02-43.mat  ';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs10_2011-09-03_17-02-59.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-01-38.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-01-38.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-02-27.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-02-27.mat';
+                                      'Efficiency_HU64_HERMES_G300_he0_ve0_hs0_vs0_2011-09-03_17-02-27.mat']);
+            end
+		elseif(gap < 0.5*(35+ 40))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G350_he-10_ve0_hs0_vs0_2011-09-03_17-03-47.mat';
+                                      'Efficiency_HU64_HERMES_G350_he-5_ve0_hs0_vs0_2011-09-03_17-04-04.mat ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-04-20.mat  ';
+                                      'Efficiency_HU64_HERMES_G350_he5_ve0_hs0_vs0_2011-09-03_17-04-36.mat  ';
+                                      'Efficiency_HU64_HERMES_G350_he10_ve0_hs0_vs0_2011-09-03_17-04-53.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-03-31.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-03-31.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-04-20.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-04-20.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-04-20.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G350_he0_ve-10_hs0_vs0_2011-09-03_17-05-25.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve-5_hs0_vs0_2011-09-03_17-05-41.mat ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-05-58.mat  ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve5_hs0_vs0_2011-09-03_17-06-14.mat  ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve10_hs0_vs0_2011-09-03_17-06-30.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-05-09.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-05-09.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-05-58.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-05-58.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-05-58.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G350_he0_ve0_hs-10_vs0_2011-09-03_17-07-03.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs-5_vs0_2011-09-03_17-07-19.mat ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-07-35.mat  ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs5_vs0_2011-09-03_17-07-52.mat  ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs10_vs0_2011-09-03_17-08-08.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-06-47.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-06-47.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-07-35.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-07-35.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-07-35.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs-10_2011-09-03_17-08-41.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs-5_2011-09-03_17-08-57.mat ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-09-13.mat  ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs5_2011-09-03_17-09-29.mat  ';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs10_2011-09-03_17-09-46.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-08-24.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-08-24.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-09-13.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-09-13.mat';
+                                      'Efficiency_HU64_HERMES_G350_he0_ve0_hs0_vs0_2011-09-03_17-09-13.mat']);
+            end
+		elseif(gap < 0.5*(40+ 50))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G400_he-10_ve0_hs0_vs0_2011-09-03_17-10-33.mat';
+                                      'Efficiency_HU64_HERMES_G400_he-5_ve0_hs0_vs0_2011-09-03_17-10-50.mat ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-11-06.mat  ';
+                                      'Efficiency_HU64_HERMES_G400_he5_ve0_hs0_vs0_2011-09-03_17-11-22.mat  ';
+                                      'Efficiency_HU64_HERMES_G400_he10_ve0_hs0_vs0_2011-09-03_17-11-39.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-10-17.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-10-17.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-11-06.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-11-06.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-11-06.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G400_he0_ve-10_hs0_vs0_2011-09-03_17-12-11.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve-5_hs0_vs0_2011-09-03_17-12-27.mat ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-12-44.mat  ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve5_hs0_vs0_2011-09-03_17-13-00.mat  ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve10_hs0_vs0_2011-09-03_17-13-16.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-11-55.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-11-55.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-12-44.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-12-44.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-12-44.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G400_he0_ve0_hs-10_vs0_2011-09-03_17-13-49.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs-5_vs0_2011-09-03_17-14-05.mat ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-14-21.mat  ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs5_vs0_2011-09-03_17-14-38.mat  ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs10_vs0_2011-09-03_17-14-54.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-13-33.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-13-33.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-14-21.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-14-21.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-14-21.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs-10_2011-09-03_17-15-27.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs-5_2011-09-03_17-15-43.mat ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-15-59.mat  ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs5_2011-09-03_17-16-15.mat  ';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs10_2011-09-03_17-16-32.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-15-10.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-15-10.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-15-59.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-15-59.mat';
+                                      'Efficiency_HU64_HERMES_G400_he0_ve0_hs0_vs0_2011-09-03_17-15-59.mat']);
+            end
+		elseif(gap < 0.5*(50+ 60))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G500_he-10_ve0_hs0_vs0_2011-09-03_17-17-20.mat';
+                                      'Efficiency_HU64_HERMES_G500_he-5_ve0_hs0_vs0_2011-09-03_17-17-36.mat ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-17-52.mat  ';
+                                      'Efficiency_HU64_HERMES_G500_he5_ve0_hs0_vs0_2011-09-03_17-18-09.mat  ';
+                                      'Efficiency_HU64_HERMES_G500_he10_ve0_hs0_vs0_2011-09-03_17-18-25.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-17-03.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-17-03.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-17-52.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-17-52.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-17-52.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G500_he0_ve-10_hs0_vs0_2011-09-03_17-18-57.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve-5_hs0_vs0_2011-09-03_17-19-14.mat ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-19-30.mat  ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve5_hs0_vs0_2011-09-03_17-19-46.mat  ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve10_hs0_vs0_2011-09-03_17-20-03.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-18-41.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-18-41.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-19-30.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-19-30.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-19-30.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G500_he0_ve0_hs-10_vs0_2011-09-03_17-20-35.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs-5_vs0_2011-09-03_17-20-52.mat ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-21-08.mat  ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs5_vs0_2011-09-03_17-21-24.mat  ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs10_vs0_2011-09-03_17-21-40.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-20-19.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-20-19.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-21-08.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-21-08.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-21-08.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs-10_2011-09-03_17-22-13.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs-5_2011-09-03_17-22-29.mat ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-22-46.mat  ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs5_2011-09-03_17-23-02.mat  ';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs10_2011-09-03_17-23-18.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-21-57.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-21-57.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-22-46.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-22-46.mat';
+                                      'Efficiency_HU64_HERMES_G500_he0_ve0_hs0_vs0_2011-09-03_17-22-46.mat']);
+            end
+		elseif(gap < 0.5*(60+ 70))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G600_he-10_ve0_hs0_vs0_2011-09-03_17-24-06.mat';
+                                      'Efficiency_HU64_HERMES_G600_he-5_ve0_hs0_vs0_2011-09-03_17-24-23.mat ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-24-39.mat  ';
+                                      'Efficiency_HU64_HERMES_G600_he5_ve0_hs0_vs0_2011-09-03_17-24-55.mat  ';
+                                      'Efficiency_HU64_HERMES_G600_he10_ve0_hs0_vs0_2011-09-03_17-25-11.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-23-50.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-23-50.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-24-39.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-24-39.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-24-39.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G600_he0_ve-10_hs0_vs0_2011-09-03_17-25-44.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve-5_hs0_vs0_2011-09-03_17-26-00.mat ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-26-17.mat  ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve5_hs0_vs0_2011-09-03_17-26-33.mat  ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve10_hs0_vs0_2011-09-03_17-26-49.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-25-28.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-25-28.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-26-17.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-26-17.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-26-17.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G600_he0_ve0_hs-10_vs0_2011-09-03_17-27-22.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs-5_vs0_2011-09-03_17-27-38.mat ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-27-54.mat  ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs5_vs0_2011-09-03_17-28-11.mat  ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs10_vs0_2011-09-03_17-28-27.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-27-06.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-27-06.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-27-54.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-27-54.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-27-54.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs-10_2011-09-03_17-29-00.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs-5_2011-09-03_17-29-16.mat ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-29-32.mat  ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs5_2011-09-03_17-29-48.mat  ';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs10_2011-09-03_17-30-05.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-28-43.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-28-43.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-29-32.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-29-32.mat';
+                                      'Efficiency_HU64_HERMES_G600_he0_ve0_hs0_vs0_2011-09-03_17-29-32.mat']);
+            end
+		elseif(gap < 0.5*(70+ 80))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G700_he-10_ve0_hs0_vs0_2011-09-03_17-30-52.mat';
+                                      'Efficiency_HU64_HERMES_G700_he-5_ve0_hs0_vs0_2011-09-03_17-31-09.mat ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-31-25.mat  ';
+                                      'Efficiency_HU64_HERMES_G700_he5_ve0_hs0_vs0_2011-09-03_17-31-41.mat  ';
+                                      'Efficiency_HU64_HERMES_G700_he10_ve0_hs0_vs0_2011-09-03_17-31-58.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-30-36.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-30-36.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-31-25.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-31-25.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-31-25.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G700_he0_ve-10_hs0_vs0_2011-09-03_17-32-30.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve-5_hs0_vs0_2011-09-03_17-32-46.mat ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-33-03.mat  ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve5_hs0_vs0_2011-09-03_17-33-19.mat  ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve10_hs0_vs0_2011-09-03_17-33-35.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-32-14.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-32-14.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-33-03.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-33-03.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-33-03.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G700_he0_ve0_hs-10_vs0_2011-09-03_17-34-08.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs-5_vs0_2011-09-03_17-34-24.mat ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-34-40.mat  ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs5_vs0_2011-09-03_17-34-57.mat  ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs10_vs0_2011-09-03_17-35-13.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-33-51.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-33-51.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-34-40.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-34-40.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-34-40.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs-10_2011-09-03_17-35-45.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs-5_2011-09-03_17-36-02.mat ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-36-18.mat  ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs5_2011-09-03_17-36-34.mat  ';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs10_2011-09-03_17-36-51.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-35-29.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-35-29.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-36-18.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-36-18.mat';
+                                      'Efficiency_HU64_HERMES_G700_he0_ve0_hs0_vs0_2011-09-03_17-36-18.mat']);
+            end
+		elseif(gap < 0.5*(80+ 90))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G800_he-10_ve0_hs0_vs0_2011-09-03_17-37-38.mat';
+                                      'Efficiency_HU64_HERMES_G800_he-5_ve0_hs0_vs0_2011-09-03_17-37-55.mat ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-38-11.mat  ';
+                                      'Efficiency_HU64_HERMES_G800_he5_ve0_hs0_vs0_2011-09-03_17-38-27.mat  ';
+                                      'Efficiency_HU64_HERMES_G800_he10_ve0_hs0_vs0_2011-09-03_17-38-44.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-37-22.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-37-22.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-38-11.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-38-11.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-38-11.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G800_he0_ve-10_hs0_vs0_2011-09-03_17-39-16.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve-5_hs0_vs0_2011-09-03_17-39-33.mat ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-39-49.mat  ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve5_hs0_vs0_2011-09-03_17-40-05.mat  ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve10_hs0_vs0_2011-09-03_17-40-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-39-00.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-39-00.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-39-49.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-39-49.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-39-49.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G800_he0_ve0_hs-10_vs0_2011-09-03_17-40-54.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs-5_vs0_2011-09-03_17-41-10.mat ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-41-27.mat  ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs5_vs0_2011-09-03_17-41-43.mat  ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs10_vs0_2011-09-03_17-41-59.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-40-38.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-40-38.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-41-27.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-41-27.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-41-27.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs-10_2011-09-03_17-42-32.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs-5_2011-09-03_17-42-48.mat ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-43-04.mat  ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs5_2011-09-03_17-43-21.mat  ';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs10_2011-09-03_17-43-37.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-42-16.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-42-16.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-43-04.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-43-04.mat';
+                                      'Efficiency_HU64_HERMES_G800_he0_ve0_hs0_vs0_2011-09-03_17-43-04.mat']);
+            end
+		elseif(gap < 0.5*(90+ 100))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G900_he-10_ve0_hs0_vs0_2011-09-03_17-44-25.mat';
+                                      'Efficiency_HU64_HERMES_G900_he-5_ve0_hs0_vs0_2011-09-03_17-44-41.mat ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-44-57.mat  ';
+                                      'Efficiency_HU64_HERMES_G900_he5_ve0_hs0_vs0_2011-09-03_17-45-14.mat  ';
+                                      'Efficiency_HU64_HERMES_G900_he10_ve0_hs0_vs0_2011-09-03_17-45-30.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-44-09.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-44-09.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-44-57.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-44-57.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-44-57.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G900_he0_ve-10_hs0_vs0_2011-09-03_17-46-03.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve-5_hs0_vs0_2011-09-03_17-46-19.mat ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-46-35.mat  ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve5_hs0_vs0_2011-09-03_17-46-52.mat  ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve10_hs0_vs0_2011-09-03_17-47-08.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-45-46.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-45-46.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-46-35.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-46-35.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-46-35.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G900_he0_ve0_hs-10_vs0_2011-09-03_17-47-41.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs-5_vs0_2011-09-03_17-47-57.mat ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-48-13.mat  ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs5_vs0_2011-09-03_17-48-29.mat  ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs10_vs0_2011-09-03_17-48-46.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-47-24.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-47-24.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-48-13.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-48-13.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-48-13.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs-10_2011-09-03_17-49-18.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs-5_2011-09-03_17-49-34.mat ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-49-51.mat  ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs5_2011-09-03_17-50-07.mat  ';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs10_2011-09-03_17-50-23.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-49-02.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-49-02.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-49-51.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-49-51.mat';
+                                      'Efficiency_HU64_HERMES_G900_he0_ve0_hs0_vs0_2011-09-03_17-49-51.mat']);
+            end
+		elseif(gap < 0.5*(100+ 125))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1000_he-10_ve0_hs0_vs0_2011-09-03_17-51-11.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he-5_ve0_hs0_vs0_2011-09-03_17-51-28.mat ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-51-44.mat  ';
+                                      'Efficiency_HU64_HERMES_G1000_he5_ve0_hs0_vs0_2011-09-03_17-52-00.mat  ';
+                                      'Efficiency_HU64_HERMES_G1000_he10_ve0_hs0_vs0_2011-09-03_17-52-16.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-50-55.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-50-55.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-51-44.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-51-44.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-51-44.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1000_he0_ve-10_hs0_vs0_2011-09-03_17-52-49.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve-5_hs0_vs0_2011-09-03_17-53-05.mat ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-53-22.mat  ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve5_hs0_vs0_2011-09-03_17-53-38.mat  ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve10_hs0_vs0_2011-09-03_17-53-54.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-52-33.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-52-33.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-53-22.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-53-22.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-53-22.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1000_he0_ve0_hs-10_vs0_2011-09-03_17-54-27.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs-5_vs0_2011-09-03_17-54-43.mat ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-54-59.mat  ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs5_vs0_2011-09-03_17-55-16.mat  ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs10_vs0_2011-09-03_17-55-32.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-54-11.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-54-11.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-54-59.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-54-59.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-54-59.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs-10_2011-09-03_17-56-05.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs-5_2011-09-03_17-56-21.mat ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-56-37.mat  ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs5_2011-09-03_17-56-53.mat  ';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs10_2011-09-03_17-57-10.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-55-48.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-55-48.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-56-37.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-56-37.mat';
+                                      'Efficiency_HU64_HERMES_G1000_he0_ve0_hs0_vs0_2011-09-03_17-56-37.mat']);
+            end
+		elseif(gap < 0.5*(125+ 150))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1250_he-10_ve0_hs0_vs0_2011-09-03_17-58-04.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he-5_ve0_hs0_vs0_2011-09-03_17-58-20.mat ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_17-58-36.mat  ';
+                                      'Efficiency_HU64_HERMES_G1250_he5_ve0_hs0_vs0_2011-09-03_17-58-52.mat  ';
+                                      'Efficiency_HU64_HERMES_G1250_he10_ve0_hs0_vs0_2011-09-03_17-59-09.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_17-57-47.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_17-57-47.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_17-58-36.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_17-58-36.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_17-58-36.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1250_he0_ve-10_hs0_vs0_2011-09-03_17-59-41.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve-5_hs0_vs0_2011-09-03_17-59-58.mat ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-00-14.mat  ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve5_hs0_vs0_2011-09-03_18-00-30.mat  ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve10_hs0_vs0_2011-09-03_18-00-47.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_17-59-25.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_17-59-25.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-00-14.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-00-14.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-00-14.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1250_he0_ve0_hs-10_vs0_2011-09-03_18-01-19.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs-5_vs0_2011-09-03_18-01-35.mat ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-01-52.mat  ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs5_vs0_2011-09-03_18-02-08.mat  ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs10_vs0_2011-09-03_18-02-25.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-01-03.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-01-03.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-01-52.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-01-52.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-01-52.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs-10_2011-09-03_18-02-57.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs-5_2011-09-03_18-03-14.mat ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-03-30.mat  ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs5_2011-09-03_18-03-46.mat  ';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs10_2011-09-03_18-04-03.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-02-41.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-02-41.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-03-30.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-03-30.mat';
+                                      'Efficiency_HU64_HERMES_G1250_he0_ve0_hs0_vs0_2011-09-03_18-03-30.mat']);
+            end
+		elseif(gap < 0.5*(150+ 175))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1500_he-10_ve0_hs0_vs0_2011-09-03_18-04-57.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he-5_ve0_hs0_vs0_2011-09-03_18-05-13.mat ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-05-29.mat  ';
+                                      'Efficiency_HU64_HERMES_G1500_he5_ve0_hs0_vs0_2011-09-03_18-05-45.mat  ';
+                                      'Efficiency_HU64_HERMES_G1500_he10_ve0_hs0_vs0_2011-09-03_18-06-02.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-04-40.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-04-40.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-05-29.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-05-29.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-05-29.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1500_he0_ve-10_hs0_vs0_2011-09-03_18-06-34.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve-5_hs0_vs0_2011-09-03_18-06-51.mat ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-07-07.mat  ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve5_hs0_vs0_2011-09-03_18-07-23.mat  ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve10_hs0_vs0_2011-09-03_18-07-39.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-06-18.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-06-18.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-07-07.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-07-07.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-07-07.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1500_he0_ve0_hs-10_vs0_2011-09-03_18-08-12.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs-5_vs0_2011-09-03_18-08-28.mat ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-08-45.mat  ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs5_vs0_2011-09-03_18-09-01.mat  ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs10_vs0_2011-09-03_18-09-17.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-07-56.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-07-56.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-08-45.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-08-45.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-08-45.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs-10_2011-09-03_18-09-50.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs-5_2011-09-03_18-10-06.mat ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-10-22.mat  ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs5_2011-09-03_18-10-39.mat  ';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs10_2011-09-03_18-10-55.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-09-34.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-09-34.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-10-22.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-10-22.mat';
+                                      'Efficiency_HU64_HERMES_G1500_he0_ve0_hs0_vs0_2011-09-03_18-10-22.mat']);
+            end
+		elseif(gap < 0.5*(175+ 200))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1750_he-10_ve0_hs0_vs0_2011-09-03_18-11-49.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he-5_ve0_hs0_vs0_2011-09-03_18-12-05.mat ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-12-21.mat  ';
+                                      'Efficiency_HU64_HERMES_G1750_he5_ve0_hs0_vs0_2011-09-03_18-12-38.mat  ';
+                                      'Efficiency_HU64_HERMES_G1750_he10_ve0_hs0_vs0_2011-09-03_18-12-54.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-11-32.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-11-32.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-12-21.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-12-21.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-12-21.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1750_he0_ve-10_hs0_vs0_2011-09-03_18-13-27.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve-5_hs0_vs0_2011-09-03_18-13-43.mat ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-13-59.mat  ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve5_hs0_vs0_2011-09-03_18-14-16.mat  ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve10_hs0_vs0_2011-09-03_18-14-32.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-13-10.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-13-10.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-13-59.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-13-59.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-13-59.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1750_he0_ve0_hs-10_vs0_2011-09-03_18-15-04.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs-5_vs0_2011-09-03_18-15-21.mat ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-15-37.mat  ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs5_vs0_2011-09-03_18-15-53.mat  ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs10_vs0_2011-09-03_18-16-10.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-14-48.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-14-48.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-15-37.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-15-37.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-15-37.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs-10_2011-09-03_18-16-42.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs-5_2011-09-03_18-16-59.mat ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-17-15.mat  ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs5_2011-09-03_18-17-31.mat  ';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs10_2011-09-03_18-17-48.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-16-26.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-16-26.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-17-15.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-17-15.mat';
+                                      'Efficiency_HU64_HERMES_G1750_he0_ve0_hs0_vs0_2011-09-03_18-17-15.mat']);
+            end
+		elseif(gap < 0.5*(200+ 225))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2000_he-10_ve0_hs0_vs0_2011-09-03_18-18-42.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he-5_ve0_hs0_vs0_2011-09-03_18-18-58.mat ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-19-14.mat  ';
+                                      'Efficiency_HU64_HERMES_G2000_he5_ve0_hs0_vs0_2011-09-03_18-19-30.mat  ';
+                                      'Efficiency_HU64_HERMES_G2000_he10_ve0_hs0_vs0_2011-09-03_18-19-47.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-18-25.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-18-25.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-19-14.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-19-14.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-19-14.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2000_he0_ve-10_hs0_vs0_2011-09-03_18-20-19.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve-5_hs0_vs0_2011-09-03_18-20-36.mat ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-20-52.mat  ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve5_hs0_vs0_2011-09-03_18-21-08.mat  ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve10_hs0_vs0_2011-09-03_18-21-25.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-20-03.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-20-03.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-20-52.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-20-52.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-20-52.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2000_he0_ve0_hs-10_vs0_2011-09-03_18-21-57.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs-5_vs0_2011-09-03_18-22-13.mat ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-22-30.mat  ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs5_vs0_2011-09-03_18-22-46.mat  ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs10_vs0_2011-09-03_18-23-02.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-21-41.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-21-41.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-22-30.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-22-30.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-22-30.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs-10_2011-09-03_18-23-35.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs-5_2011-09-03_18-23-51.mat ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-24-07.mat  ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs5_2011-09-03_18-24-24.mat  ';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs10_2011-09-03_18-24-40.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-23-19.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-23-19.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-24-07.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-24-07.mat';
+                                      'Efficiency_HU64_HERMES_G2000_he0_ve0_hs0_vs0_2011-09-03_18-24-07.mat']);
+            end
+		elseif(gap < 0.5*(225+ 239))
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2250_he-10_ve0_hs0_vs0_2011-09-03_18-25-34.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he-5_ve0_hs0_vs0_2011-09-03_18-25-50.mat ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-26-07.mat  ';
+                                      'Efficiency_HU64_HERMES_G2250_he5_ve0_hs0_vs0_2011-09-03_18-26-23.mat  ';
+                                      'Efficiency_HU64_HERMES_G2250_he10_ve0_hs0_vs0_2011-09-03_18-26-39.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-25-18.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-25-18.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-26-07.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-26-07.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-26-07.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2250_he0_ve-10_hs0_vs0_2011-09-03_18-27-12.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve-5_hs0_vs0_2011-09-03_18-27-28.mat ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-27-44.mat  ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve5_hs0_vs0_2011-09-03_18-28-01.mat  ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve10_hs0_vs0_2011-09-03_18-28-17.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-26-56.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-26-56.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-27-44.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-27-44.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-27-44.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2250_he0_ve0_hs-10_vs0_2011-09-03_18-28-50.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs-5_vs0_2011-09-03_18-29-06.mat ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-29-22.mat  ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs5_vs0_2011-09-03_18-29-39.mat  ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs10_vs0_2011-09-03_18-29-55.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-28-33.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-28-33.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-29-22.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-29-22.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-29-22.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs-10_2011-09-03_18-30-28.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs-5_2011-09-03_18-30-44.mat ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-31-00.mat  ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs5_2011-09-03_18-31-16.mat  ';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs10_2011-09-03_18-31-33.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-30-11.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-30-11.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-31-00.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-31-00.mat';
+                                      'Efficiency_HU64_HERMES_G2250_he0_ve0_hs0_vs0_2011-09-03_18-31-00.mat']);
+            end
+		else	% Gap > 239
+
+            if strcmp(corName, 'CHE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2390_he-10_ve0_hs0_vs0_2011-09-03_18-32-24.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he-5_ve0_hs0_vs0_2011-09-03_18-32-40.mat ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-32-56.mat  ';
+                                      'Efficiency_HU64_HERMES_G2390_he5_ve0_hs0_vs0_2011-09-03_18-33-13.mat  ';
+                                      'Efficiency_HU64_HERMES_G2390_he10_ve0_hs0_vs0_2011-09-03_18-33-29.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-32-07.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-32-07.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-32-56.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-32-56.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-32-56.mat']);
+            elseif strcmp(corName, 'CVE')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2390_he0_ve-10_hs0_vs0_2011-09-03_18-34-01.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve-5_hs0_vs0_2011-09-03_18-34-18.mat ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-34-34.mat  ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve5_hs0_vs0_2011-09-03_18-34-50.mat  ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve10_hs0_vs0_2011-09-03_18-35-07.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-33-45.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-33-45.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-34-34.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-34-34.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-34-34.mat']);
+            elseif strcmp(corName, 'CHS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2390_he0_ve0_hs-10_vs0_2011-09-03_18-35-39.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs-5_vs0_2011-09-03_18-35-55.mat ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-36-12.mat  ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs5_vs0_2011-09-03_18-36-28.mat  ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs10_vs0_2011-09-03_18-36-44.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-35-23.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-35-23.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-36-12.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-36-12.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-36-12.mat']);
+            elseif strcmp(corName, 'CVS')
+                fnMeasMain = cellstr(['Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs-10_2011-09-03_18-37-17.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs-5_2011-09-03_18-37-33.mat ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-37-50.mat  ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs5_2011-09-03_18-38-06.mat  ';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs10_2011-09-03_18-38-22.mat ']);
+                fnMeasBkgr = cellstr(['Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-37-01.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-37-01.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-37-50.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-37-50.mat';
+                                      'Efficiency_HU64_HERMES_G2390_he0_ve0_hs0_vs0_2011-09-03_18-37-50.mat']);
+            end
+
+	end	% End of HU64_HERMES
+ end
+
+    
+    
+    
+    
+    
+    
+    
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% ELECTRO-MAGNETIC UNDULATORS %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+elseif strncmp(idName, 'HU256', 5)
+%% HU256 CASSIOPEE
+    if strcmp(idName, 'HU256_CASSIOPEE')
+        %vCurVals = [-10, -5, 0, 5, 10];
+        
+        if strcmp(corName, 'CHE')
+            vCurVals = [-2 -1, 0, 1, 2];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bzc1_m2A_2006-10-13_14-33-23            '; 
+                                  'HU256_CASSIOPEE_Bzc1_m1A_2006-10-13_14-32-47            '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bzc1_1A_2006-10-13_14-32-06             '; 
+                                  'HU256_CASSIOPEE_Bzc1_2A_2006-10-13_14-31-44             ']);                                  
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CVE')
+            vCurVals = [-6, -3, 0, 3, 6];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bxc1_m6A_2006-10-13_14-38-58            '; 
+                                  'HU256_CASSIOPEE_Bxc1_m3A_2006-10-13_14-38-37            '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bxc1_3A_2006-10-13_14-37-06             '; 
+                                  'HU256_CASSIOPEE_Bxc1_6A_2006-10-13_14-37-49             ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CHS')
+            vCurVals = [-2, -1, 0, 1, 2];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bzc27_m2A_2006-10-13_14-36-00           '; 
+                                  'HU256_CASSIOPEE_Bzc27_m1A_2006-10-13_14-35-00           '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bzc27_1A_2006-10-13_14-34-11            '; 
+                                  'HU256_CASSIOPEE_Bzc27_2A_2006-10-13_14-34-33            ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        elseif strcmp(corName, 'CVS')
+            vCurVals = [-6, -3, 0, 3, 6];
+
+            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bxc28_m6A_2006-10-13_14-40-51           '; 
+                                  'HU256_CASSIOPEE_Bxc28_m3A_2006-10-13_14-40-30           '; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Bxc28_3A_2006-10-13_14-39-46            '; 
+                                  'HU256_CASSIOPEE_Bxc28_6A_2006-10-13_14-40-07            ']);
+            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
+                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
+        end
+%% HU256 PLEIADES
+    elseif (strcmp(idName, 'HU256_PLEIADES'))
+
+        if strcmp(corName, 'CHE')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CHE_m2_2007-04-27_11-35-38   ';
+									'HU256_PLEIADES_CHE_m1_2007-04-27_11-35-54   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_CHE_1_2007-04-27_11-36-10    ';
+									'HU256_PLEIADES_CHE_2_2007-04-27_11-36-26    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
+									'HU256_PLEIADES_Reference_2007-04-27_11-35-23']);
+		elseif strcmp(corName, 'CHS')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CHS_m2_2007-04-27_11-36-58   ';
+									'HU256_PLEIADES_CHS_m1_2007-04-27_11-37-14   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_CHS_1_2007-04-27_11-37-30    ';
+									'HU256_PLEIADES_CHS_2_2007-04-27_11-37-46    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
+									'HU256_PLEIADES_Reference_2007-04-27_11-36-42']);
+		elseif strcmp(corName, 'CVE')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CVE_m6_2007-04-27_11-38-18   ';
+									'HU256_PLEIADES_CVE_m3_2007-04-27_11-38-34   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_CVE_3_2007-04-27_11-38-50    ';
+									'HU256_PLEIADES_CVE_6_2007-04-27_11-39-06    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
+									'HU256_PLEIADES_Reference_2007-04-27_11-38-02']);
+		elseif strcmp(corName, 'CVS')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_PLEIADES_CVS_m6_2007-04-27_11-39-37   ';
+									'HU256_PLEIADES_CVS_m3_2007-04-27_11-39-53   ';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_CVS_3_2007-04-27_11-40-08    ';
+									'HU256_PLEIADES_CVS_6_2007-04-27_11-40-24    ']);
+			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
+									'HU256_PLEIADES_Reference_2007-04-27_11-39-21']);
+        end     % end of HU256_PLEIADES
+        
+%% HU256 ANTARES
+    elseif strcmp(idName, 'HU256_ANTARES')
+
+        if strcmp(corName, 'CHE')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_ANTARES_CHE_m2_2007-06-07_12-38-13   ';
+									'HU256_ANTARES_CHE_m1_2007-06-07_12-38-28   ';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_CHE_1_2007-06-07_12-38-43    ';
+									'HU256_ANTARES_CHE_2_2007-06-07_12-38-58    ']);
+			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
+									'HU256_ANTARES_Reference_2007-06-07_12-37-57']);
+		elseif strcmp(corName, 'CHS')
+			vCurVals = [-2, -1, 0, 1, 2];
+			fnMeasMain = cellstr([	'HU256_ANTARES_CHS_m2_2007-06-07_12-39-29   ';
+									'HU256_ANTARES_CHS_m1_2007-06-07_12-39-44   ';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_CHS_1_2007-06-07_12-39-59    ';
+									'HU256_ANTARES_CHS_2_2007-06-07_12-40-15    ']);
+			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
+									'HU256_ANTARES_Reference_2007-06-07_12-39-14']);
+		elseif strcmp(corName, 'CVE')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_ANTARES_CVE_m6_2007-06-07_12-40-45   ';
+									'HU256_ANTARES_CVE_m3_2007-06-07_12-41-00   ';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_CVE_3_2007-06-07_12-41-16    ';
+									'HU256_ANTARES_CVE_6_2007-06-07_12-41-31    ']);
+			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
+									'HU256_ANTARES_Reference_2007-06-07_12-40-30']);
+		elseif strcmp(corName, 'CVS')
+			vCurVals = [-6, -3, 0, 3, 6];
+			fnMeasMain = cellstr([	'HU256_ANTARES_CVS_m6_2007-06-07_12-42-01   ';
+									'HU256_ANTARES_CVS_m3_2007-06-07_12-42-17   ';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_CVS_3_2007-06-07_12-42-32    ';
+									'HU256_ANTARES_CVS_6_2007-06-07_12-42-47    ']);
+			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
+									'HU256_ANTARES_Reference_2007-06-07_12-41-46']);
+        end
+    end	% end of HU256_ANTARES
+% end % end HU256
+
+elseif strncmp(idName, 'HU640', 5)
+
+%% HU640 DESIRS
+    if strcmp(idName, 'HU640_DESIRS')
+        vCurVals = [-4,-2, 0, 2, 4];
+        if strcmp(corName, 'CVE')
+
+            fnMeasMain = cellstr(['HU640_Corr4_m4A';
+                                  'HU640_Corr4_m2A'; 
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_p2A'
+                                  'HU640_Corr4_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A';
+                                  'HU640_Corr4_00A']);
+        elseif strcmp(corName, 'CHE')
+
+            fnMeasMain = cellstr(['HU640_Corr2_m4A';
+                                  'HU640_Corr2_m2A'; 
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_p2A'
+                                  'HU640_Corr2_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A';
+                                  'HU640_Corr2_00A']);
+        elseif strcmp(corName, 'CVS')
+
+            fnMeasMain = cellstr(['HU640_Corr3_m4A';
+                                  'HU640_Corr3_m2A'; 
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_p2A'
+                                  'HU640_Corr3_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A';
+                                  'HU640_Corr3_00A']);
+        elseif strcmp(corName, 'CHS')
+
+            fnMeasMain = cellstr(['HU640_Corr1_m4A';
+                                  'HU640_Corr1_m2A'; 
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_p2A'
+                                  'HU640_Corr1_p4A']);                                  
+            fnMeasBkgr = cellstr(['HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A';
+                                  'HU640_Corr1_00A']);
+        end
+    end % HU640_DESIRS
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idReadElecBeamModel.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idReadElecBeamModel.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idReadElecBeamModel.m	(revision 17)
@@ -0,0 +1,45 @@
+function outModelData = idReadElecBeamModel(dir)
+
+%if(strcmp(dir, '') == 0) %read the data from disk
+%    dirStart = pwd;
+%	cd(dir);
+
+    load('BtX');
+    load('BtZ');
+    load('AlpX');
+    load('AlpZ');
+    load('EtaX');
+    load('EtaZ');
+    load('PhX');
+    load('PhZ');
+    load('NuXZ');
+%    Lring = 354.0968;
+%    MCF=4.4976e-4;
+%    NRJ=2.7391;
+%    cd(dirStart);
+%else
+%recalculate (?) or extract data from Laurent's functions
+%assuming you're in Control Room and soleilinit was executed
+%   [Btx, Btz] = modelbeta('BPMx');
+%   [Alpx, Alpz] = modeltwiss('alpha', 'BPMx');
+%   [Etax, Etaz] = modeldisp('BPMx');
+%   [Phx, Phz] = modelphase('BPMx');
+%    Nuxz = modeltune;
+%    Lring = getcircumference;
+%    MCF=getmcf;
+%    NRJ=getenergyModel;
+%end
+
+outModelData.Btx = Btx;
+outModelData.Btz = Btz;
+outModelData.Alpx = Alpx;
+outModelData.Alpz = Alpz;
+outModelData.Etax = Etax;
+outModelData.Etaz = Etaz;
+outModelData.Phx = Phx;
+outModelData.Phz = Phz;
+outModelData.Nuxz = Nuxz;
+
+outModelData.circ = 354.0968;  %how to read this from the model?
+outModelData.alp1 = 4.4976e-4;
+outModelData.E = 2.7391; 
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idReadFeedForwardCorTable.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idReadFeedForwardCorTable.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idReadFeedForwardCorTable.m	(revision 17)
@@ -0,0 +1,7 @@
+function [oldTableWithArg] = idReadFeedForwardCorTable(idName, tabName)
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+%Reading existing cor. table
+rep = tango_read_attribute2(DServName, tabName);
+oldTableWithArg = rep.value;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idReadUndState.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idReadUndState.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idReadUndState.m	(revision 17)
@@ -0,0 +1,468 @@
+function outStruct = idReadUndState(inStruct, idType, dispData)
+
+% Reading-in insertion device state, encoders positions, and current in correctors 
+% according to its type
+% idType is expected to be: 'HU80_TEMPO', 'U20_PROXIMA1', 'HU640_DESIRS', ...
+
+idDevServMain01 = '';
+idDevServMain02 = '';
+idDevServMain03 = '';
+idDevServCor01 = '';
+idDevServCor02 = '';
+idDevServCor03 = '';
+idDevServCor04 = '';
+idDevServVac01 = '';
+
+if strncmp(idType, 'U20', 3)
+    if strcmp(idType, 'U20_PROXIMA1')
+        idDevServMain01 = 'ans-c10/ei/c-u20'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';
+    elseif strcmp(idType, 'U20_SWING')
+        idDevServMain01 = 'ans-c11/ei/c-u20'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';
+    elseif strcmp(idType, 'U20_CRISTAL')
+        idDevServMain01 = 'ans-c06/ei/c-u20'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';    
+    elseif strcmp(idType, 'U20_SIXS')
+        idDevServMain01 = 'ans-c14/ei/c-u20'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';    
+    elseif strcmp(idType, 'U20_GALAXIES')
+        idDevServMain01 = 'ans-c07/ei/c-u20'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';    
+    elseif strcmp(idType, 'U24_PXIIA')
+        idDevServMain01 = 'ans-c11/ei/c-u24'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';    
+    elseif strcmp(idType, 'WSV50_PSICHE')
+        idDevServMain01 = 'ans-c03/ei/c-wsv50'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';  
+        
+        elseif strcmp(idType, 'U18_TOMO')
+        idDevServMain01 = 'ans-c13/ei/l-U18.1'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';    
+
+        elseif strcmp(idType, 'U20_NANO')
+        idDevServMain01 = 'ans-c13/ei/l-U20.2'; %to check the name
+        %idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        %idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        %idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        %idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        %idDevServVac01 = 'tdl-i08-m/vi/jba.1';    
+        
+        
+    end
+    % Gap encoders
+	inStruct.encoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+	inStruct.encoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    % Currents in the correction channels
+    %inStruct.curCorCh1 = readattribute([idDevServCor, '/...']);
+    %inStruct.curCorCh2 = readattribute([idDevServCor, '/...']);
+
+elseif strncmp(idType, 'HU80', 4)
+    if strcmp(idType, 'HU80_TEMPO')
+        idDevServMain01 = 'ans-c08/ei/m-hu80.2';
+        idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+        idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+        idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+        idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+        idDevServVac01 = 'tdl-i08-m/vi/jba.1';
+    elseif strcmp(idType, 'HU80_PLEIADES')
+        idDevServMain01 = 'ans-c04/ei/m-hu80.1';
+        idDevServCor01 = 'ans-c04/ei/m-hu80.1_chan1';
+        idDevServCor02 = 'ans-c04/ei/m-hu80.1_chan2';
+        idDevServCor03 = 'ans-c04/ei/m-hu80.1_chan3';
+        idDevServCor04 = 'ans-c04/ei/m-hu80.1_chan4';
+        idDevServVac01 = 'ans-c04/vi/pi.02'; %to change to tdl when it' installed !!!
+    elseif strcmp(idType, 'HU80_SEXTANTS')
+        idDevServMain01 = 'ans-c14/ei/m-hu80.2';%'ans-c14/ei/m-hu80.1_motorscontrol';
+        idDevServCor01 = 'ans-c14/ei/m-hu80.2_chan1'; %'ans-c14/ei/m-hu80.1_chan1';
+        idDevServCor02 = 'ans-c14/ei/m-hu80.2_chan2'; %'ans-c14/ei/m-hu80.1_chan2';
+        idDevServCor03 = 'ans-c14/ei/m-hu80.2_chan3'; %'ans-c14/ei/m-hu80.1_chan3';
+        idDevServCor04 = 'ans-c14/ei/m-hu80.2_chan4'; %'ans-c14/ei/m-hu80.1_chan4';
+        idDevServVac01 = 'tdl-i14-m/vi/pi.01';
+    end
+    
+    % Gap encoders
+    inStruct.idEncoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+    %inStruct.idEncoder1 = tango_read_attribute2(idDevServMain01, 'encoder1Position');
+    inStruct.idEncoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    %inStruct.idEncoder2 = tango_read_attribute2(idDevServMain01, 'encoder2Position');
+    inStruct.idEncoder3 = readattribute([idDevServMain01, '/encoder3Position']);
+    %inStruct.idEncoder3 = tango_read_attribute2(idDevServMain01, 'encoder3Position');
+	inStruct.idEncoder4 = readattribute([idDevServMain01, '/encoder4Position']);
+    %inStruct.idEncoder4 = tango_read_attribute2(idDevServMain01, 'encoder4Position');
+    
+    % Phase encoders
+    inStruct.idEncoder5 = readattribute([idDevServMain01, '/encoder5Position']);
+    %inStruct.idEncoder5 = tango_read_attribute2(idDevServMain01, 'encoder5Position');
+    inStruct.idEncoder6 = readattribute([idDevServMain01, '/encoder6Position']);
+    %inStruct.idEncoder6 = tango_read_attribute2(idDevServMain01, 'encoder6Position');
+    
+    % Currents in the correction channels
+	inStruct.idCurCorCh1 = readattribute([idDevServCor01, '/current']);
+	inStruct.idCurCorCh2 = readattribute([idDevServCor02, '/current']);
+	inStruct.idCurCorCh3 = readattribute([idDevServCor03, '/current']);
+	inStruct.idCurCorCh4 = readattribute([idDevServCor04, '/current']);
+    
+    % Pressure in the ring in the proximity of the SR spot made by the undulator
+    inStruct.ringPres = readattribute([idDevServVac01, '/pressure']);
+    
+    if dispData ~= 0
+        fprintf('pressure = %d\n', inStruct.ringPres);
+        fprintf('idEncoder1 = %f\n', inStruct.idEncoder1);
+        fprintf('idEncoder2 = %f\n', inStruct.idEncoder2);
+        fprintf('idEncoder3 = %f\n', inStruct.idEncoder3);
+        fprintf('idEncoder4 = %f\n', inStruct.idEncoder4);
+        fprintf('idEncoder5 = %f\n', inStruct.idEncoder5);
+        fprintf('idEncoder6 = %f\n', inStruct.idEncoder6);
+        fprintf('idCurCorCh1 = %f\n', inStruct.idCurCorCh1);       
+        fprintf('idCurCorCh2 = %f\n', inStruct.idCurCorCh2);       
+        fprintf('idCurCorCh3 = %f\n', inStruct.idCurCorCh3);       
+        fprintf('idCurCorCh4 = %f\n', inStruct.idCurCorCh4);       
+    end
+    
+elseif strncmp(idType, 'HU52', 4)
+    if strcmp(idType, 'HU52_DEIMOS')
+        idDevServMain01 = 'ans-c07/ei/m-hu52.1';
+        idDevServCor01 = 'ans-c07/ei/m-hu52.1_chan1';
+        idDevServCor02 = 'ans-c07/ei/m-hu52.1_chan2';
+        idDevServCor03 = 'ans-c07/ei/m-hu52.1_chan3';
+        idDevServCor04 = 'ans-c07/ei/m-hu52.1_chan4';
+        %idDevServVac01 = 'tdl-i07-m/vi/jba.1';
+        idDevServVac01 = 'ans-c07/vi/pi.02';
+    elseif strcmp(idType, 'HU52_LUCIA')
+        idDevServMain01 = 'ans-c16/ei/m-hu52.1';
+        idDevServCor01 = 'ans-c16/ei/m-hu52.1_chan1';
+        idDevServCor02 = 'ans-c16/ei/m-hu52.1_chan2';
+        idDevServCor03 = 'ans-c16/ei/m-hu52.1_chan3';
+        idDevServCor04 = 'ans-c16/ei/m-hu52.1_chan4';
+        idDevServVac01 = 'ans-c16/vi/pi.02'; %to change to tdl when it' installed !!!
+    end
+    
+    % Gap encoders
+    inStruct.idEncoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+    %inStruct.idEncoder1 = tango_read_attribute2(idDevServMain01, 'encoder1Position');
+    inStruct.idEncoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    %inStruct.idEncoder2 = tango_read_attribute2(idDevServMain01, 'encoder2Position');
+    inStruct.idEncoder3 = readattribute([idDevServMain01, '/encoder3Position']);
+    %inStruct.idEncoder3 = tango_read_attribute2(idDevServMain01, 'encoder3Position');
+	inStruct.idEncoder4 = readattribute([idDevServMain01, '/encoder4Position']);
+    %inStruct.idEncoder4 = tango_read_attribute2(idDevServMain01, 'encoder4Position');
+    
+    % Phase encoders
+    inStruct.idEncoder5 = readattribute([idDevServMain01, '/encoder5Position']);
+    %inStruct.idEncoder5 = tango_read_attribute2(idDevServMain01, 'encoder5Position');
+    inStruct.idEncoder6 = readattribute([idDevServMain01, '/encoder6Position']);
+    %inStruct.idEncoder6 = tango_read_attribute2(idDevServMain01, 'encoder6Position');
+    
+    % Currents in the correction channels
+	inStruct.idCurCorCh1 = readattribute([idDevServCor01, '/current']);
+	inStruct.idCurCorCh2 = readattribute([idDevServCor02, '/current']);
+	inStruct.idCurCorCh3 = readattribute([idDevServCor03, '/current']);
+	inStruct.idCurCorCh4 = readattribute([idDevServCor04, '/current']);
+    
+    % Pressure in the ring in the proximity of the SR spot made by the undulator
+    inStruct.ringPres = readattribute([idDevServVac01, '/pressure']);
+    
+    if dispData ~= 0
+        fprintf('pressure = %d\n', inStruct.ringPres);
+        fprintf('idEncoder1 = %f\n', inStruct.idEncoder1);
+        fprintf('idEncoder2 = %f\n', inStruct.idEncoder2);
+        fprintf('idEncoder3 = %f\n', inStruct.idEncoder3);
+        fprintf('idEncoder4 = %f\n', inStruct.idEncoder4);
+        fprintf('idEncoder5 = %f\n', inStruct.idEncoder5);
+        fprintf('idEncoder6 = %f\n', inStruct.idEncoder6);
+        fprintf('idCurCorCh1 = %f\n', inStruct.idCurCorCh1);       
+        fprintf('idCurCorCh2 = %f\n', inStruct.idCurCorCh2);       
+        fprintf('idCurCorCh3 = %f\n', inStruct.idCurCorCh3);       
+        fprintf('idCurCorCh4 = %f\n', inStruct.idCurCorCh4);       
+    end
+    
+elseif strncmp(idType, 'HU44', 4)
+    if strcmp(idType, 'HU44_TEMPO')
+        idDevServMain01 = 'ans-c08/ei/m-hu44.1';
+        idDevServCor01 = 'ans-c08/ei/m-hu44.1_chan1';
+        idDevServCor02 = 'ans-c08/ei/m-hu44.1_chan2';
+        idDevServCor03 = 'ans-c08/ei/m-hu44.1_chan3';
+        idDevServCor04 = 'ans-c08/ei/m-hu44.1_chan4';
+        idDevServVac01 = 'ans-c08/vi/pi.02';      
+        %idDevServVac01 = 'ans-c04/vi/pi.02'; %change it !
+    elseif strcmp(idType, 'HU44_MICROFOC')
+        idDevServMain01 = 'ans-c14/ei/m-hu44.1';
+        idDevServCor01 = 'ans-c14/ei/m-hu44.1_chan1';
+        idDevServCor02 = 'ans-c14/ei/m-hu44.1_chan2';
+        idDevServCor03 = 'ans-c14/ei/m-hu44.1_chan3';
+        idDevServCor04 = 'ans-c14/ei/m-hu44.1_chan4';
+        idDevServVac01 = 'ans-c14/vi/pi.02';      % TO BE CHANGED !!!
+    end
+    
+    % Gap encoders
+    inStruct.idEncoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+    inStruct.idEncoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    inStruct.idEncoder3 = readattribute([idDevServMain01, '/encoder3Position']);
+	inStruct.idEncoder4 = readattribute([idDevServMain01, '/encoder4Position']);
+    
+    % Phase encoders
+    inStruct.idEncoder5 = readattribute([idDevServMain01, '/encoder5Position']);
+    inStruct.idEncoder6 = readattribute([idDevServMain01, '/encoder6Position']);
+    
+    % Currents in the correction channels
+	inStruct.idCurCorCh1 = readattribute([idDevServCor01, '/current']);
+	inStruct.idCurCorCh2 = readattribute([idDevServCor02, '/current']);
+	inStruct.idCurCorCh3 = readattribute([idDevServCor03, '/current']);
+	inStruct.idCurCorCh4 = readattribute([idDevServCor04, '/current']);
+    
+    % Pressure in the ring in the proximity of the SR spot made by the undulator
+    inStruct.ringPres = readattribute([idDevServVac01, '/pressure']);
+    
+    if dispData ~= 0
+        fprintf('pressure = %d\n', inStruct.ringPres);
+        fprintf('idEncoder1 = %f\n', inStruct.idEncoder1);
+        fprintf('idEncoder2 = %f\n', inStruct.idEncoder2);
+        fprintf('idEncoder3 = %f\n', inStruct.idEncoder3);
+        fprintf('idEncoder4 = %f\n', inStruct.idEncoder4);
+        fprintf('idEncoder5 = %f\n', inStruct.idEncoder5);
+        fprintf('idEncoder6 = %f\n', inStruct.idEncoder6);
+        fprintf('idCurCorCh1 = %f\n', inStruct.idCurCorCh1);       
+        fprintf('idCurCorCh2 = %f\n', inStruct.idCurCorCh2);       
+        fprintf('idCurCorCh3 = %f\n', inStruct.idCurCorCh3);       
+        fprintf('idCurCorCh4 = %f\n', inStruct.idCurCorCh4);       
+    end
+elseif strncmp(idType, 'HU60', 4)
+    if strcmp(idType, 'HU60_CASSIOPEE')
+        idDevServMain01 = 'ans-c15/ei/m-hu60.1';
+        idDevServCor01 = 'ans-c15/ei/m-hu60.1_chan1';
+        idDevServCor02 = 'ans-c15/ei/m-hu60.1_chan2';
+        idDevServCor03 = 'ans-c15/ei/m-hu60.1_chan3';
+        idDevServCor04 = 'ans-c15/ei/m-hu60.1_chan4';
+        idDevServVac01 = 'tdl-i15-m/vi/pi.01';
+    elseif strcmp(idType, 'HU60_ANTARES')
+        idDevServMain01 = 'ans-c12/ei/m-hu60.1';
+        idDevServCor01 = 'ans-c12/ei/m-hu60.1_chan1';
+        idDevServCor02 = 'ans-c12/ei/m-hu60.1_chan2';
+        idDevServCor03 = 'ans-c12/ei/m-hu60.1_chan3';
+        idDevServCor04 = 'ans-c12/ei/m-hu60.1_chan4';
+        idDevServVac01 = 'ans-c12/vi/pi.02'; %to change to tdl when it' installed !!!
+    end
+    
+    % Gap encoders
+    inStruct.idEncoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+    %inStruct.idEncoder1 = tango_read_attribute2(idDevServMain01, 'encoder1Position');
+    inStruct.idEncoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    %inStruct.idEncoder2 = tango_read_attribute2(idDevServMain01, 'encoder2Position');
+    inStruct.idEncoder3 = readattribute([idDevServMain01, '/encoder3Position']);
+    %inStruct.idEncoder3 = tango_read_attribute2(idDevServMain01, 'encoder3Position');
+	inStruct.idEncoder4 = readattribute([idDevServMain01, '/encoder4Position']);
+    %inStruct.idEncoder4 = tango_read_attribute2(idDevServMain01, 'encoder4Position');
+    
+    % Phase encoders
+    inStruct.idEncoder5 = readattribute([idDevServMain01, '/encoder5Position']);
+    %inStruct.idEncoder5 = tango_read_attribute2(idDevServMain01, 'encoder5Position');
+    inStruct.idEncoder6 = readattribute([idDevServMain01, '/encoder6Position']);
+    %inStruct.idEncoder6 = tango_read_attribute2(idDevServMain01, 'encoder6Position');
+    
+    % Currents in the correction channels
+        inStruct.idCurCorCh1 = readattribute([idDevServCor01, '/current']);
+        inStruct.idCurCorCh2 = readattribute([idDevServCor02, '/current']);
+        inStruct.idCurCorCh3 = readattribute([idDevServCor03, '/current']);
+        inStruct.idCurCorCh4 = readattribute([idDevServCor04, '/current']);
+    
+    % Pressure in the ring in the proximity of the SR spot made by the undulator
+        inStruct.ringPres = readattribute([idDevServVac01, '/pressure']);
+    
+    if dispData ~= 0
+        fprintf('pressure = %d\n', inStruct.ringPres);
+        fprintf('idEncoder1 = %f\n', inStruct.idEncoder1);
+        fprintf('idEncoder2 = %f\n', inStruct.idEncoder2);
+        fprintf('idEncoder3 = %f\n', inStruct.idEncoder3);
+        fprintf('idEncoder4 = %f\n', inStruct.idEncoder4);
+        fprintf('idEncoder5 = %f\n', inStruct.idEncoder5);
+        fprintf('idEncoder6 = %f\n', inStruct.idEncoder6);
+        fprintf('idCurCorCh1 = %f\n', inStruct.idCurCorCh1);       
+        fprintf('idCurCorCh2 = %f\n', inStruct.idCurCorCh2);       
+        fprintf('idCurCorCh3 = %f\n', inStruct.idCurCorCh3);       
+        fprintf('idCurCorCh4 = %f\n', inStruct.idCurCorCh4);       
+    end
+    
+elseif strncmp(idType, 'HU36', 4)
+    if strcmp(idType, 'HU36_SIRIUS')
+        idDevServMain01 = 'ans-c15/ei/c-hu36';
+        idDevServCor01 = 'ans-c15/ei/c-hu36_chan1';
+        idDevServCor02 = 'ans-c15/ei/c-hu36_chan2';
+        idDevServCor03 = 'ans-c15/ei/c-hu36_chan3';
+        idDevServCor04 = 'ans-c15/ei/c-hu36_chan4';
+        idDevServVac01 = 'tdl-i15-c/vi/pi.01';%to change to tdl when it' installed !!!
+    end
+    
+    % Gap encoders
+    inStruct.idEncoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+    %inStruct.idEncoder1 = tango_read_attribute2(idDevServMain01, 'encoder1Position');
+    inStruct.idEncoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    %inStruct.idEncoder2 = tango_read_attribute2(idDevServMain01, 'encoder2Position');
+    inStruct.idEncoder3 = readattribute([idDevServMain01, '/encoder3Position']);
+    %inStruct.idEncoder3 = tango_read_attribute2(idDevServMain01, 'encoder3Position');
+	inStruct.idEncoder4 = readattribute([idDevServMain01, '/encoder4Position']);
+    %inStruct.idEncoder4 = tango_read_attribute2(idDevServMain01, 'encoder4Position');
+    
+    % Phase encoders
+    inStruct.idEncoder5 = readattribute([idDevServMain01, '/encoder5Position']);
+    %inStruct.idEncoder5 = tango_read_attribute2(idDevServMain01, 'encoder5Position');
+    inStruct.idEncoder6 = readattribute([idDevServMain01, '/encoder6Position']);
+    %inStruct.idEncoder6 = tango_read_attribute2(idDevServMain01, 'encoder6Position');
+    
+    % Currents in the correction channels
+        inStruct.idCurCorCh1 = readattribute([idDevServCor01, '/current']);
+        inStruct.idCurCorCh2 = readattribute([idDevServCor02, '/current']);
+        inStruct.idCurCorCh3 = readattribute([idDevServCor03, '/current']);
+        inStruct.idCurCorCh4 = readattribute([idDevServCor04, '/current']);
+    
+    % Pressure in the ring in the proximity of the SR spot made by the undulator
+        inStruct.ringPres = readattribute([idDevServVac01, '/pressure']);
+    
+    if dispData ~= 0
+        fprintf('pressure = %d\n', inStruct.ringPres);
+        fprintf('idEncoder1 = %f\n', inStruct.idEncoder1);
+        fprintf('idEncoder2 = %f\n', inStruct.idEncoder2);
+        fprintf('idEncoder3 = %f\n', inStruct.idEncoder3);
+        fprintf('idEncoder4 = %f\n', inStruct.idEncoder4);
+        fprintf('idEncoder5 = %f\n', inStruct.idEncoder5);
+        fprintf('idEncoder6 = %f\n', inStruct.idEncoder6);
+        fprintf('idCurCorCh1 = %f\n',inStruct.idCurCorCh1);       
+        fprintf('idCurCorCh2 = %f\n',inStruct.idCurCorCh2);       
+        fprintf('idCurCorCh3 = %f\n',inStruct.idCurCorCh3);       
+        fprintf('idCurCorCh4 = %f\n',inStruct.idCurCorCh4);       
+    end
+ elseif strncmp(idType, 'HU42', 4)
+    if strcmp(idType, 'HU42_HERMES')
+        idDevServMain01 = 'ans-c10/ei/m-hu42.1';
+        idDevServCor01 = 'ans-c10/ei/m-hu42.1_chan1';
+        idDevServCor02 = 'ans-c10/ei/m-hu42.1_chan2';
+        idDevServCor03 = 'ans-c10/ei/m-hu42.1_chan3';
+        idDevServCor04 = 'ans-c10/ei/m-hu42.1_chan4';
+        idDevServVac01 = 'tdl-i10-m/vi/pi.01';%to change to tdl when it' installed !!!
+    end
+    
+    % Gap encoders
+    inStruct.idEncoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+    inStruct.idEncoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    inStruct.idEncoder3 = readattribute([idDevServMain01, '/encoder3Position']);
+	inStruct.idEncoder4 = readattribute([idDevServMain01, '/encoder4Position']);
+    
+    % Phase encoders
+    inStruct.idEncoder5 = readattribute([idDevServMain01, '/encoder5Position']);
+    inStruct.idEncoder6 = readattribute([idDevServMain01, '/encoder6Position']);
+    
+    % Currents in the correction channels
+        inStruct.idCurCorCh1 = readattribute([idDevServCor01, '/current']);
+        inStruct.idCurCorCh2 = readattribute([idDevServCor02, '/current']);
+        inStruct.idCurCorCh3 = readattribute([idDevServCor03, '/current']);
+        inStruct.idCurCorCh4 = readattribute([idDevServCor04, '/current']);
+    
+    % Pressure in the ring in the proximity of the SR spot made by the undulator
+        inStruct.ringPres = readattribute([idDevServVac01, '/pressure']);
+    
+    if dispData ~= 0
+        fprintf('pressure = %d\n', inStruct.ringPres);
+        fprintf('idEncoder1 = %f\n', inStruct.idEncoder1);
+        fprintf('idEncoder2 = %f\n', inStruct.idEncoder2);
+        fprintf('idEncoder3 = %f\n', inStruct.idEncoder3);
+        fprintf('idEncoder4 = %f\n', inStruct.idEncoder4);
+        fprintf('idEncoder5 = %f\n', inStruct.idEncoder5);
+        fprintf('idEncoder6 = %f\n', inStruct.idEncoder6);
+        fprintf('idCurCorCh1 = %f\n',inStruct.idCurCorCh1);       
+        fprintf('idCurCorCh2 = %f\n',inStruct.idCurCorCh2);       
+        fprintf('idCurCorCh3 = %f\n',inStruct.idCurCorCh3);       
+        fprintf('idCurCorCh4 = %f\n',inStruct.idCurCorCh4);       
+    end
+
+    elseif strncmp(idType, 'HU64', 4)
+    if strcmp(idType, 'HU64_HERMES')
+        idDevServMain01 = 'ans-c10/ei/m-hu64.2';
+        idDevServCor01 = 'ans-c10/ei/m-hu64.2_chan1';
+        idDevServCor02 = 'ans-c10/ei/m-hu64.2_chan2';
+        idDevServCor03 = 'ans-c10/ei/m-hu64.2_chan3';
+        idDevServCor04 = 'ans-c10/ei/m-hu64.2_chan4';
+        %idDevServVac01 = 'tdl-i07-m/vi/jba.1';
+        idDevServVac01 = 'ans-c07/vi/pi.02';
+    end
+    
+    % Gap encoders
+    inStruct.idEncoder1 = readattribute([idDevServMain01, '/encoder1Position']);
+    %inStruct.idEncoder1 = tango_read_attribute2(idDevServMain01, 'encoder1Position');
+    inStruct.idEncoder2 = readattribute([idDevServMain01, '/encoder2Position']);
+    %inStruct.idEncoder2 = tango_read_attribute2(idDevServMain01, 'encoder2Position');
+    inStruct.idEncoder3 = readattribute([idDevServMain01, '/encoder3Position']);
+    %inStruct.idEncoder3 = tango_read_attribute2(idDevServMain01, 'encoder3Position');
+	inStruct.idEncoder4 = readattribute([idDevServMain01, '/encoder4Position']);
+    %inStruct.idEncoder4 = tango_read_attribute2(idDevServMain01, 'encoder4Position');
+    
+    % Phase encoders
+    inStruct.idEncoder5 = readattribute([idDevServMain01, '/encoder5Position']);
+    %inStruct.idEncoder5 = tango_read_attribute2(idDevServMain01, 'encoder5Position');
+    inStruct.idEncoder6 = readattribute([idDevServMain01, '/encoder6Position']);
+    %inStruct.idEncoder6 = tango_read_attribute2(idDevServMain01, 'encoder6Position');
+    
+    % Currents in the correction channels
+	inStruct.idCurCorCh1 = readattribute([idDevServCor01, '/current']);
+	inStruct.idCurCorCh2 = readattribute([idDevServCor02, '/current']);
+	inStruct.idCurCorCh3 = readattribute([idDevServCor03, '/current']);
+	inStruct.idCurCorCh4 = readattribute([idDevServCor04, '/current']);
+    
+    % Pressure in the ring in the proximity of the SR spot made by the undulator
+    inStruct.ringPres = readattribute([idDevServVac01, '/pressure']);
+   
+    
+    
+elseif strncmp(idType, 'HU256', 5)
+
+elseif strcmp(idType, 'HU640_DESIRS')
+	idDevServMain01 = 'ans-c05/ei/l-hu640_ps1';
+	idDevServMain02 = 'ans-c05/ei/l-hu640_ps2';
+	idDevServMain03 = 'ans-c05/ei/l-hu640_ps3';
+
+    % Currents in the main coils
+	inStruct.idCurMain1 = readattribute([idDevServMain01, '/current']);
+	inStruct.idCurMain2 = readattribute([idDevServMain02, '/current']);
+    inStruct.idCurMain3 = readattribute([idDevServMain03, '/current']);
+
+    if dispData ~= 0
+        % Display on screen
+        fprintf('RMS ecart orbite X = \n')
+        fprintf('RMS ecart orbite Z = \n' )
+        fprintf('PS1 = %f\n', inStruct.idCurMain1)
+        fprintf('PS2 = %f\n', inStruct.idCurMain2)
+        fprintf('PS3 = %f\n', inStruct.idCurMain3)
+    end
+end
+outStruct = inStruct;
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSaveStruct.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSaveStruct.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSaveStruct.m	(revision 17)
@@ -0,0 +1,68 @@
+function res = idSaveStruct(structToSave, fileNameCore, idName, addTime, dispData)
+%% Description
+%Saves the structure "structToSave" into a .mat file.
+% 1)The name of the file is :   - fileNameCore if addTime=0
+%                               - fileNameCore with time information if addTime=1
+% 2) The directory where the file is stored is defined by idName and  setoperationalmode.m
+% (usually /home/Grp/GMI/HU36_SIRIUS, for instance)
+% 3) if dispData=1, displays the name of the file
+% 4) Returns full name of created file if succeeded, or '' if failed
+
+% Modified by F. Briquez 20/06/2011 : new input arg "addTime" in order to merge former scripts : idSaveStruct, idSaveStructNoTime and idSaveStruct_NoTime 
+
+%% Init
+res = '';
+DirStart = pwd;
+WrongDirectory=0;
+%% Check fileNameCore
+if strcmp(fileNameCore, '')
+	fprintf('idSaveStruct : fileNameCore ''%s'' is not correct\n', fileNameCore);
+end
+
+%% Get directory name and check idName
+DirectoryName = getfamilydata('Directory',idName);
+if isempty(DirectoryName)
+    WrongDirectory=1;
+else
+    [DirectoryName, WrongDirectory] = gotodirectory(DirectoryName);
+end
+if WrongDirectory
+    fprintf('idSaveStruct : idName ''%s'' is incorrect -> check idName or modify ''setoperationalmode.m''\n', idName)
+% 	DirectoryName = '/home/operateur/GrpGMI/';
+    return
+end
+
+%% Add time if necessary
+if addTime
+    FileName=appendtimestamp(fileNameCore);
+else
+    FileName=fileNameCore;
+end
+
+%% Save structure
+save(FileName,'-struct', 'structToSave');
+
+%% Check the file is correctly created
+if (strcmp(FileName(length(FileName)-3:length(FileName)), '.mat')==0)
+    FileName=[FileName '.mat'];
+end
+fileID=fopen(FileName);
+if (fileID==-1)
+    fprintf ('idSaveStruct : file ''%s'' not created\n', FileName);
+    return
+else
+    Status=fclose(fileID);
+    if (Status==-1)
+        fprintf ('idSaveStruct : file ''%s'' could not be closed correctly\n', FileName);
+        return
+    end
+end
+% res = fullfile(DirectoryName, FileName);
+res = FileName;
+%% Go back to initial directory
+cd(DirStart);
+
+%% Display data if necessary
+if dispData ~= 0
+	fprintf('Sauvegarde:  %s\n', FileName);
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetCorCurSync.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetCorCurSync.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetCorCurSync.m	(revision 17)
@@ -0,0 +1,121 @@
+function res = idSetCorCurSync(idName, curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS, curAbsTol)
+
+res = 0;
+DServName = '';
+attr_name_list = {'', '', '', ''};
+
+numLoopsWaitRes = 20;
+sleepTime = 1; %[s]
+
+%idDevServCor01 = '';
+%idDevServCor02 = '';
+%idDevServCor03 = '';
+%idDevServCor04 = '';
+curCh01 = 0;
+curCh02 = 0;
+curCh03 = 0;
+curCh04 = 0;
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+if strncmp(idName, 'HU80', 4) || strncmp(idName, 'HU52', 4) || strncmp(idName, 'HU44', 4)  || strncmp(idName, 'HU60', 4)|| strncmp(idName, 'HU36', 4)|| strncmp(idName, 'HU42', 4)|| strncmp(idName, 'HU64', 4)
+    
+%First call after turning on the correctors should be: idSetCorCurSync('HU80_TEMPO', 0., 0.1, 0, 0.1, 0.001)
+
+%Names of Level 1 DServers of coils (no longer used)
+	%idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+	%idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+	%idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+	%idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+    
+%Formulae used for the Virtual Correctors:
+	curCh01 = 0.5*(-curToSetCVE - curToSetCHE);
+	curCh02 = 0.5*(-curToSetCVE + curToSetCHE);
+	curCh03 = 0.5*(-curToSetCVS - curToSetCHS);
+	curCh04 = 0.5*(-curToSetCVS + curToSetCHS);
+    
+    fprintf('Expected current values in primary channels: #1: %f, #2: %f, #3: %f, #4: %f\n', curCh01, curCh02, curCh03, curCh04);
+
+    %attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE;
+    %attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE;
+    %attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS;
+    %attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS; 
+    
+    
+    
+    attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE; %curCh01; %curToSetCHE;
+    attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE; %curCh02; %curToSetCVE;
+    attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS; %curCh03; %curToSetCHS;
+    attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS; %curCh04; %curToSetCVS;   
+  
+    %if strcmp(idName, 'HU80_TEMPO')
+    %    DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    %    attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE;
+    %    attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE;
+    %    attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS;
+    %    attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS;
+    %elseif strcmp(idName, 'HU80_PLEIADES')
+    %    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
+    %    attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE;
+    %    attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE;
+    %    attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS;
+    %    attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS;
+    %elseif strcmp(idName, 'HU80_CASSIOPEE')
+    %    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
+    %    attr_name_val_list(1).name = 'currentCHE'; attr_name_val_list(1).value = curToSetCHE;
+    %    attr_name_val_list(2).name = 'currentCVE'; attr_name_val_list(2).value = curToSetCVE;
+    %    attr_name_val_list(3).name = 'currentCHS'; attr_name_val_list(3).value = curToSetCHS;
+    %    attr_name_val_list(4).name = 'currentCVS'; attr_name_val_list(4).value = curToSetCVS;        
+    %end
+    
+    attr_name_list = {attr_name_val_list(1).name, attr_name_val_list(2).name, attr_name_val_list(3).name, attr_name_val_list(4).name};
+end
+
+%for i = 1:4
+%    attr_name_list(i) = attr_name_val_list(i).name;
+%end
+
+if strcmp(DServName, '') ~= 0
+    fprintf('Device Server name is not specified\n');
+    res = -1;
+    return;
+end
+
+% tango_write_attributes(DServName, attr_name_val_list);
+for i=1:4
+% i=1;
+    FullAttribute=[DServName '/'  attr_name_val_list(i).name];
+    Value=attr_name_val_list(i).value;
+    writeattribute(FullAttribute,Value)
+    pause(1.5); %% Modified on 05/03/2011 : without it, sepoint is got, but current dosen't move! FB & MV
+end
+
+if (tango_error == -1) %handle error 
+    tango_print_error_stack; return;
+end
+
+%Waiting until the current values are set
+for i = 1:numLoopsWaitRes
+    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack; return;
+    end
+
+    canQuit = 1;
+    for j = 1:4
+        valRequested = attr_name_val_list(j).value;
+        valSet = attr_val_list(j).value(1); %check why (1)
+        %if(abs(attr_name_val_list(j).value - attr_val_list(j)) > curAbsTol)
+        if(abs(valRequested - valSet) > curAbsTol)
+            canQuit = 0; break;
+        end
+    end
+    
+    if(canQuit == 1)
+        return; %Normal exit
+    end
+    pause(sleepTime);
+end
+
+res = -1;
+fprintf('Failed to set requested current values\n');
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetCorCurSync_OLD.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetCorCurSync_OLD.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetCorCurSync_OLD.m	(revision 17)
@@ -0,0 +1,50 @@
+function res = idSetCorCurSync(idName, curToSetCHE, curToSetCVE, curToSetCHS, curToSetCVS, curAbsTol)
+
+res = 0;
+idDevServCor01 = '';
+idDevServCor02 = '';
+idDevServCor03 = '';
+idDevServCor04 = '';
+curCh01 = 0;
+curCh02 = 0;
+curCh03 = 0;
+curCh04 = 0;
+
+if strcmp(idName, 'HU80_TEMPO')
+    
+%First call after turning on the correctors should be: idSetCorCurSync('HU80_TEMPO', 0., 0.1, 0, 0.1, 0.001)
+
+	idDevServCor01 = 'ans-c08/ei/m-hu80.2_chan1';
+	idDevServCor02 = 'ans-c08/ei/m-hu80.2_chan2';
+	idDevServCor03 = 'ans-c08/ei/m-hu80.2_chan3';
+	idDevServCor04 = 'ans-c08/ei/m-hu80.2_chan4';
+    
+	%curCh01 = 0.5*(curToSetCHE + curToSetCVE);
+	%curCh02 = 0.5*(curToSetCHE - curToSetCVE);
+	%curCh03 = 0.5*(curToSetCHS + curToSetCVS);
+	%curCh04 = 0.5*(curToSetCHS - curToSetCVS);
+    
+	curCh01 = 0.5*(-curToSetCVE - curToSetCHE);
+	curCh02 = 0.5*(-curToSetCVE + curToSetCHE);
+	curCh03 = 0.5*(-curToSetCVS - curToSetCHS);
+	curCh04 = 0.5*(-curToSetCVS + curToSetCHS);
+
+end
+
+res = idSetCurrentSync(idDevServCor01, curCh01, curAbsTol);
+if res ~= 0
+    return;
+end
+res = idSetCurrentSync(idDevServCor02, curCh02, curAbsTol);
+if res ~= 0
+    return;
+end
+res = idSetCurrentSync(idDevServCor03, curCh03, curAbsTol);
+if res ~= 0
+    return;
+end
+res = idSetCurrentSync(idDevServCor04, curCh04, curAbsTol);
+if res ~= 0
+    return;
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetCurrentSync.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetCurrentSync.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetCurrentSync.m	(revision 17)
@@ -0,0 +1,47 @@
+function res = idSetCurrentSync(idDevServ, currentToSet, currentAbsTol)
+% Written by Oleg ? Set one current of a power supply, using device of
+% level 1
+% 1) Sets power supply "idServ" ON
+% 2) Sets setpoint "currentToSet" to attribute "idDevServ/currentPM"
+% 3) Waits until current is reached (depending on maxNumTests and
+% currentAbsTol)
+
+maxDelay_s = 20; %to edit
+testTimePeriod_s = 1; %to edit
+res = -1;
+
+maxNumTests = round(maxDelay_s/testTimePeriod_s);
+
+on_or_off = tango_command_inout2(idDevServ, 'State');
+if(strcmp(on_or_off, 'ON') == 0)
+    tango_command_inout2(idDevServ, 'On');
+    for i = 1:maxNumTests
+        on_or_off = tango_command_inout2(idDevServ, 'State');
+        if(strcmp(on_or_off, 'ON'))
+            break;
+        end
+        pause(testTimePeriod_s);
+    end
+    if(strcmp(on_or_off, 'ON') == 0)
+        fprintf('Failed to set the device ON');
+        return;
+    end
+end
+
+attrCurrent = strcat(idDevServ, '/currentPM');
+writeattribute(attrCurrent, currentToSet);
+actCur = 0;
+for i = 1:maxNumTests
+	actCur = readattribute([idDevServ, '/current']);
+    if(abs(currentToSet - actCur) <= currentAbsTol)
+        res = 0;
+        return;
+    end
+	pause(testTimePeriod_s);
+end
+
+if(abs(currentToSet - actCur) > currentAbsTol)
+	res = -1;
+	fprintf('Failed to set the requested current\n');
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetOrbitBump.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetOrbitBump.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetOrbitBump.m	(revision 17)
@@ -0,0 +1,28 @@
+function ErrorFlag = idSetOrbitBump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList)
+%Makes an accurate incremental bump, by walking around the problem of eventual
+%saturation of BPMs
+
+BPM_LinearLimitPos = 1; %[mm] max. abs. value of position after which the BMPs start to saturate
+
+numPos = length(GoalOrbit);
+maxAbsPos = 0;
+for i = 1:numPos
+    curAbsPos = abs(GoalOrbit(i));
+    if(maxAbsPos < curAbsPos)
+        maxAbsPos = curAbsPos;
+    end
+end
+
+if(maxAbsPos <= BPM_LinearLimitPos)
+    setorbitbump(BPM_Family, BPM_DeviceList, GoalOrbit, CM_Family, CM_IncrementList);
+	return;
+end
+
+[OCS, OCS0, V, S, ErrorFlag] = setorbitbump(BPM_Family, BPM_DeviceList, GoalOrbit*(BPM_LinearLimitPos/maxAbsPos), CM_Family, CM_IncrementList, 'NoSetSP');
+if(ErrorFlag)
+    return;
+end
+CM_DeviceList = OCS.CM.DeviceList;
+CM_DeltaSP = OCS.CM.Delta;
+
+stepsp(CM_Family, CM_DeltaSP*(maxAbsPos/BPM_LinearLimitPos), CM_DeviceList);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSeq.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSeq.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSeq.m	(revision 17)
@@ -0,0 +1,27 @@
+function resErrorFlag = idSetUndParamSeq(idName, idParamVals)
+%Expected: idParamVals = {'phase', -40, 40, 1, 0.01}
+
+resErrorFlag = 0;
+resUnd = 0;
+
+paramName = idParamVals{1};
+paramStart = idParamVals{2};
+paramEnd = idParamVals{3};
+paramStepApprox = idParamVals{4};
+paramAbsTol = idParamVals{5};
+
+numParamVals = abs(round((paramEnd - paramStart)/paramStepApprox)) + 1;
+paramStep = 0;
+if(numParamVals > 1)
+    paramStep = (paramEnd - paramStart)/(numParamVals - 1);
+end
+
+curParamVal = paramStart;
+for k = 1:numParamVals
+	resUnd = idSetUndParamSync(idName, paramName, curParamVal, paramAbsTol);
+	if(resUnd ~= 0)
+        fprintf('Execution terminated since Undulator Parameter can not be set\n');
+        resErrorFlag = -1; return;
+    end
+    curParamVal = curParamVal + paramStep;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync.m	(revision 17)
@@ -0,0 +1,224 @@
+function res = idSetUndParamSync(idName, attrName, attrValue, attrAbsTol)
+    res=-1;
+    res= idSetUndParamSync_old(idName, attrName, attrValue, attrAbsTol);
+    if (res==-1)
+        return
+    end
+    if (strcmp(idName, 'HU64_HERMES')&&strcmpi(attrName, 'phase'))
+        res= idSetUndParamSync_old(idName, attrName, attrValue, attrAbsTol);
+    end
+end
+
+function res= idSetUndParamSync_old(idName, attrName, attrValue, attrAbsTol)
+
+    res = 0;
+    %DServName = '';
+    %StandByStr = ''; %String to search in the return of "Status" command of DServer
+    %ActStatusStr = '';
+    %attr_name_list = {''};
+
+    numLoopsWaitRes = 300; %% valeur originale 300
+    sleepTime = 3; %[s]
+    sleepTimeFin = 3; % 7; %[s]
+    useAppleIIDServerLevel1 = 0;
+    %useModeAnti = 0; 
+    %attrNameIsRecognized = 0;
+
+    [DServName, StandByStr] = idGetUndDServer(idName);
+
+%     if strcmp(idName, 'HU80_TEMPO')
+%         %DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+%         %StandByStr = 'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY'; 
+% 
+%         %if strcmp(attrName, 'gap')
+%         %    attrNameIsRecognized = 1;
+%         %elseif strcmp(attrName, 'phase')
+%         %    attrNameIsRecognized = 1;
+%         %end
+%         %if attrNameIsRecognized == 0
+%         %    fprintf('Undulator Parameter / Device Server Attribute name is not recognized\n');
+%         %    res = -1; return;
+%         %end
+% 
+%         if strcmp(attrName, 'mode')
+%            attrValue = int16(attrValue);
+%         end
+% 
+%         %Debug
+%         %    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+%         %    if (tango_error == -1) %handle error 
+%         %        tango_print_error_stack; return;
+%         %    end
+%         %End Debug
+%     end
+
+    if strcmp(DServName, '') ~= 0
+        fprintf('Device Server name is not specified\n');
+        res = -1;
+        return
+    end
+    
+    if strcmpi(attrName, 'Mode')
+    Mode=idGetUndParam(idName, attrName);
+        if ~strcmpi(Mode, attrValue)
+            if strcmp(attrValue, 'ii')
+                attrValue=0;
+            elseif strcmp(attrValue, 'x')
+                attrValue=1;
+            elseif strcmp(attrValue, 'i2')
+                attrValue=2;
+            elseif strcmp(attrValue, 'x2')
+                attrValue=3;
+            else
+                fprintf ('Wrong mode\n')
+                return
+            end
+            attrValue=int16(attrValue);
+            tango_write_attribute2(DServName, 'phaseCtrlMode', attrValue);
+            if tango_error==-1
+                fprintf('Problem while writing mode\n')
+                res = -1;
+                return
+            end
+            res=0;
+            return
+        end
+    end
+%     TempValue=TempStruct.value;
+%     TempValue=TempValue(1);  
+    attr_name_val_list(1).name = attrName;
+    attr_name_val_list(1).value = attrValue;
+    attr_name_list = {attr_name_val_list(1).name};
+    %attr_name_list_AppleIILevel1 = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+
+%     if strcmp(idName, 'HU52_DEIMOS')
+%         useAppleIIDServerLevel1 = 0;
+%     end
+
+%     if useAppleIIDServerLevel1
+%         %special case: controlling via DServer of Level 1
+% 
+%         if (strcmpi(attrName, 'gap'))
+%             attr_name_list = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+%             tango_command_inout2(DServName, 'GotoGap', attrValue);
+%         elseif (strcmpi(attrName, 'phase'))
+%             attr_name_list = {'encoder5Position','encoder6Position'};
+%             multMode = 1;
+%             if(imag(attrValue) ~= 0)
+%                 multMode = -1;
+%             end
+%             tango_command_inout2(DServName, 'GotoPhase', [real(attrValue), multMode*real(attrValue)]);
+%         end
+%     else 
+         tango_write_attributes(DServName, attr_name_val_list);
+%     end
+
+
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack;
+
+        pause(sleepTime);
+        fprintf('Trying to repeat writing attributes after pause...\n');
+
+        if useAppleIIDServerLevel1
+            %special case: controlling via DServer of Level 1
+            if strcmpi(attrName, 'gap')
+                tango_command_inout2(DServName, 'GotoGap', attrValue);
+            elseif strcmpi(attrName, 'phase')
+                multMode = 1;
+                if(imag(attrValue) ~= 0)
+                    multMode = -1;
+                end
+                tango_command_inout2(DServName, 'GotoPhase', [real(attrValue), multMode*real(attrValue)]);
+            end
+        else 
+            tango_write_attributes(DServName, attr_name_val_list);
+        end
+
+        if (tango_error == -1) %handle error 
+            tango_print_error_stack;
+            fprintf('Failed again. Returning from the function abnormally.\n');
+            res = -1; %hoping that it could still recover
+            return;
+        else
+            fprintf('Succeeded writing attributes from 2nd attempt. Continuing execution of the function.\n');
+        end
+    end
+
+    %Waiting until the parameter is actually set
+    for i = 1:numLoopsWaitRes
+
+        attr_val_list = tango_read_attributes(DServName, attr_name_list);
+
+        if (tango_error == -1) %handle error 
+            tango_print_error_stack; 
+
+            pause(sleepTime);
+            fprintf('Trying to repeat reading attributes after pause...\n');
+            attr_val_list = tango_read_attributes(DServName, attr_name_list);
+            if (tango_error == -1) %handle error 
+                tango_print_error_stack;
+                fprintf('Failed again. Returning from the function abnormally.\n');
+                res = -1; %hoping that it could still recover
+                return;
+            else
+                fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+            end
+        end
+
+        %valRequested = attr_name_val_list(1).value;
+        valRequested = real(attrValue);
+%         if (strcmp(idName, 'HU64_HERMES')&&strcmp(attrName, 'phase'))
+%             valSet=tango_read_attribute('ANS-C10/EI/M-HU64.2', 'encoder7Position');
+%             valSet=valSet.value;
+%         else
+            valSet = attr_val_list(1).value(1); %check why (1)
+%         end
+        if useAppleIIDServerLevel1
+            if strcmpi(attrName, 'gap')
+                valSet = 0.5*(attr_val_list(1).value + attr_val_list(2).value + attr_val_list(3).value + attr_val_list(4).value); %check
+            elseif strcmpi(attrName, 'phase')
+                valSet = 0.5*(abs(attr_val_list(1).value) + abs(attr_val_list(2).value))*sign(attr_val_list(1).value); %check
+            end
+        end
+
+        if(abs(valRequested - valSet) <= attrAbsTol)
+            %fprintf('%s',StandByStr )
+            %fprintf('\n' )
+            if strcmp(StandByStr, '') == 0
+                % fprintf('%s', 'STANDBYSTR NON NUL') 
+                attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+                if (tango_error == -1) %handle error 
+                    tango_print_error_stack; 
+
+                    pause(sleepTime);
+                    fprintf('Trying to repeat reading attributes after pause...\n');
+                    attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+                    if (tango_error == -1) %handle error 
+                        tango_print_error_stack;
+                        fprintf('Failed again. Returning from the function abnormally.\n');
+                        res = -1; %hoping that it could still recover
+                        return;
+                    else
+                        fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+                    end
+                end
+                ActStatusStr = attr_val_list_status.value;
+                %fprintf('%s %s',ActStatusStr, 'Number 2')
+                cmpStatus = strfind(ActStatusStr, StandByStr);
+                if (~isempty(cmpStatus))
+                    pause(sleepTimeFin); %to ensure that corrector values are set
+                    return; %Normal exit
+                end
+            else
+                pause(sleepTimeFin); %to ensure that corrector values are set
+                % fprintf('%s', 'STANDBYSTR NUL') 
+                return; %Normal exit
+            end
+        end
+        pause(sleepTime);
+    end
+
+    res = -1;
+    fprintf('Failed to set requested Undulator Parameter value\n');
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_Lev1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_Lev1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_Lev1.m	(revision 17)
@@ -0,0 +1,164 @@
+function res = idSetUndParamSync(idName, attrName, attrValue, attrAbsTol)
+
+res = 0;
+%DServName = '';
+%StandByStr = ''; %String to search in the return of "Status" command of DServer
+%ActStatusStr = '';
+%attr_name_list = {''};
+
+numLoopsWaitRes = 300;
+sleepTime = 3; %[s]
+sleepTimeFin = 7; %[s]
+useAppleIIDServerLevel1 = 0;
+%attrNameIsRecognized = 0;
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+if strcmp(idName, 'HU80_TEMPO')
+    %DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    %StandByStr = 'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY'; 
+    
+    %if strcmp(attrName, 'gap')
+    %    attrNameIsRecognized = 1;
+    %elseif strcmp(attrName, 'phase')
+    %    attrNameIsRecognized = 1;
+    %end
+    %if attrNameIsRecognized == 0
+    %    fprintf('Undulator Parameter / Device Server Attribute name is not recognized\n');
+    %    res = -1; return;
+    %end
+     
+	if strcmp(attrName, 'mode')
+       attrValue = int16(attrValue);
+	end
+    
+    %Debug
+    %    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    %    if (tango_error == -1) %handle error 
+    %        tango_print_error_stack; return;
+    %    end
+    %End Debug
+end
+
+if strcmp(DServName, '') ~= 0
+    fprintf('Device Server name is not specified\n');
+    res = -1; return;
+end
+
+attr_name_val_list(1).name = attrName; attr_name_val_list(1).value = attrValue;
+attr_name_list = {attr_name_val_list(1).name};
+%attr_name_list_AppleIILevel1 = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+
+if strcmp(idName, 'HU52_DEIMOS')
+    useAppleIIDServerLevel1 = 1;
+end
+
+if useAppleIIDServerLevel1
+    %special case: controlling via DServer of Level 1
+    
+    if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+        attr_name_list = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+        tango_command_inout2(DServName, 'GotoGap', attrValue);
+    elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+        attr_name_list = {'encoder5Position','encoder6Position'};
+        tango_command_inout2(DServName, 'GotoPhase', [attrValue, attrValue]);
+    end
+else 
+    tango_write_attributes(DServName, attr_name_val_list);
+end
+
+
+if (tango_error == -1) %handle error 
+    tango_print_error_stack;
+    
+    pause(sleepTime);
+    fprintf('Trying to repeat writing attributes after pause...\n');
+    
+    if useAppleIIDServerLevel1
+        %special case: controlling via DServer of Level 1
+        if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+            tango_command_inout2(DServName, 'GotoGap', attrValue);
+        elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+            tango_command_inout2(DServName, 'GotoPhase', [attrValue, attrValue]);
+        end
+    else 
+        tango_write_attributes(DServName, attr_name_val_list);
+    end
+    
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack;
+        fprintf('Failed again. Returning from the function abnormally.\n');
+        %res = -1; %hoping that it could still recover
+        return;
+    else
+        fprintf('Succeeded writing attributes from 2nd attempt. Continuing execution of the function.\n');
+    end
+end
+
+%Waiting until the parameter is actually set
+for i = 1:numLoopsWaitRes
+    
+    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack; 
+        
+        pause(sleepTime);
+        fprintf('Trying to repeat reading attributes after pause...\n');
+        attr_val_list = tango_read_attributes(DServName, attr_name_list);
+        if (tango_error == -1) %handle error 
+            tango_print_error_stack;
+            fprintf('Failed again. Returning from the function abnormally.\n');
+            %res = -1; %hoping that it could still recover
+            return;
+        else
+            fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+        end
+    end
+
+    %valRequested = attr_name_val_list(1).value;
+	valRequested = attrValue;
+    valSet = attr_val_list(1).value(1); %check why (1)
+    
+	if useAppleIIDServerLevel1
+        if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+            valSet = 0.5*(attr_val_list(1).value + attr_val_list(2).value + attr_val_list(3).value + attr_val_list(4).value); %check
+        elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+            valSet = 0.5*(attr_val_list(1).value + attr_val_list(2).value); %check
+        end
+    end
+    
+    if(abs(valRequested - valSet) <= attrAbsTol)
+        
+        if strcmp(StandByStr, '') == 0
+            attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+            if (tango_error == -1) %handle error 
+                tango_print_error_stack; 
+                
+                pause(sleepTime);
+                fprintf('Trying to repeat reading attributes after pause...\n');
+                attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+                if (tango_error == -1) %handle error 
+                    tango_print_error_stack;
+                    fprintf('Failed again. Returning from the function abnormally.\n');
+                    %res = -1; %hoping that it could still recover
+                    return;
+                else
+                    fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+                end
+            end
+            ActStatusStr = attr_val_list_status.value;
+            if strncmp(ActStatusStr, StandByStr, length(StandByStr))
+                pause(sleepTimeFin); %to ensure that corrector values are set
+                return; %Normal exit
+            end
+        else
+            pause(sleepTimeFin); %to ensure that corrector values are set
+            return; %Normal exit
+        end
+    end
+    pause(sleepTime);
+end
+
+res = -1;
+fprintf('Failed to set requested Undulator Parameter value\n');
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_old2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_old2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_old2.m	(revision 17)
@@ -0,0 +1,178 @@
+function res = idSetUndParamSync(idName, attrName, attrValue, attrAbsTol)
+
+res = 0;
+%DServName = '';
+%StandByStr = ''; %String to search in the return of "Status" command of DServer
+%ActStatusStr = '';
+%attr_name_list = {''};
+
+numLoopsWaitRes = 2; %% valeur originale 300
+sleepTime = 3; %[s]
+sleepTimeFin = 7; %[s]
+useAppleIIDServerLevel1 = 0;
+%useModeAnti = 0; 
+%attrNameIsRecognized = 0;
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+if strcmp(idName, 'HU80_TEMPO')
+    %DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    %StandByStr = 'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY'; 
+    
+    %if strcmp(attrName, 'gap')
+    %    attrNameIsRecognized = 1;
+    %elseif strcmp(attrName, 'phase')
+    %    attrNameIsRecognized = 1;
+    %end
+    %if attrNameIsRecognized == 0
+    %    fprintf('Undulator Parameter / Device Server Attribute name is not recognized\n');
+    %    res = -1; return;
+    %end
+     
+	if strcmp(attrName, 'mode')
+       attrValue = int16(attrValue);
+	end
+    
+    %Debug
+    %    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    %    if (tango_error == -1) %handle error 
+    %        tango_print_error_stack; return;
+    %    end
+    %End Debug
+end
+
+if strcmp(DServName, '') ~= 0
+    fprintf('Device Server name is not specified\n');
+    res = -1; return;
+end
+
+attr_name_val_list(1).name = attrName; attr_name_val_list(1).value = attrValue;
+attr_name_list = {attr_name_val_list(1).name};
+%attr_name_list_AppleIILevel1 = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+
+if strcmp(idName, 'HU52_DEIMOS')
+    useAppleIIDServerLevel1 = 0;
+end
+
+if useAppleIIDServerLevel1
+    %special case: controlling via DServer of Level 1
+    
+    if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+        attr_name_list = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+        tango_command_inout2(DServName, 'GotoGap', attrValue);
+    elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+        attr_name_list = {'encoder5Position','encoder6Position'};
+        multMode = 1;
+        if(imag(attrValue) ~= 0)
+            multMode = -1;
+        end
+        tango_command_inout2(idSetUndParamSyncDServName, 'GotoPhase', [real(attrValue), multMode*real(attrValue)]);
+    end
+else 
+    tango_write_attributes(DServName, attr_name_val_list);
+end
+
+
+if (tango_error == -1) %handle error 
+    tango_print_error_stack;
+    
+    pause(sleepTime);
+    fprintf('Trying to repeat writing attributes after pause...\n');
+    
+    if useAppleIIDServerLevel1
+        %special case: controlling via DServer of Level 1
+        if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+            tango_command_inout2(DServName, 'GotoGap', attrValue);
+        elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+            multMode = 1;
+            if(imag(attrValue) ~= 0)
+                multMode = -1;
+            end
+            tango_command_inout2(DServName, 'GotoPhase', [real(attrValue), multMode*real(attrValue)]);
+        end
+    else 
+        tango_write_attributes(DServName, attr_name_val_list);
+    end
+    
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack;
+        fprintf('Failed again. Returning from the function abnormally.\n');
+        %res = -1; %hoping that it could still recover
+        return;
+    else
+        fprintf('Succeeded writing attributes from 2nd attempt. Continuing execution of the function.\n');
+    end
+end
+
+%Waiting until the parameter is actually set
+for i = 1:numLoopsWaitRes
+    
+    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack; 
+        
+        pause(sleepTime);
+        fprintf('Trying to repeat reading attributes after pause...\n');
+        attr_val_list = tango_read_attributes(DServName, attr_name_list);
+        if (tango_error == -1) %handle error 
+            tango_print_error_stack;
+            fprintf('Failed again. Returning from the function abnormally.\n');
+            %res = -1; %hoping that it could still recover
+            return;
+        else
+            fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+        end
+    end
+
+    %valRequested = attr_name_val_list(1).value;
+	valRequested = real(attrValue);
+    valSet = attr_val_list(1).value(1); %check why (1)
+    
+	if useAppleIIDServerLevel1
+        if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+            valSet = 0.5*(attr_val_list(1).value + attr_val_list(2).value + attr_val_list(3).value + attr_val_list(4).value); %check
+        elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+            valSet = 0.5*(abs(attr_val_list(1).value) + abs(attr_val_list(2).value))*sign(attr_val_list(1).value); %check
+        end
+    end
+    
+    if(abs(valRequested - valSet) <= attrAbsTol)
+        %fprintf('%s',StandByStr )
+        %fprintf('\n' )
+        if strcmp(StandByStr, '') == 0
+            %% fprintf('%s', 'STANDBYSTR NON NUL') 
+            attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+            if (tango_error == -1) %handle error 
+                tango_print_error_stack; 
+                
+                pause(sleepTime);
+                fprintf('Trying to repeat reading attributes after pause...\n');
+                attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+                if (tango_error == -1) %handle error 
+                    tango_print_error_stack;
+                    fprintf('Failed again. Returning from the function abnormally.\n');
+                    %res = -1; %hoping that it could still recover
+                    return;
+                else
+                    fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+                end
+            end
+            ActStatusStr = attr_val_list_status.value;
+            %fprintf('%s %s',ActStatusStr, 'Number 2')
+            cmpStatus = strfind(ActStatusStr, StandByStr)
+            if (length(cmpStatus)>0)
+                pause(sleepTimeFin); %to ensure that corrector values are set
+                return; %Normal exit
+            end
+        else
+            pause(sleepTimeFin); %to ensure that corrector values are set
+            %% fprintf('%s', 'STANDBYSTR NUL') 
+            return; %Normal exit
+        end
+    end
+    pause(sleepTime);
+end
+
+res = -1;
+fprintf('Failed to set requested Undulator Parameter value\n');
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_ori02_05_09.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_ori02_05_09.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSetUndParamSync_ori02_05_09.m	(revision 17)
@@ -0,0 +1,177 @@
+function res = idSetUndParamSync(idName, attrName, attrValue, attrAbsTol)
+
+res = 0;
+%DServName = '';
+%StandByStr = ''; %String to search in the return of "Status" command of DServer
+%ActStatusStr = '';
+%attr_name_list = {''};
+
+numLoopsWaitRes = 2; %% valeur originale 300
+sleepTime = 3; %[s]
+sleepTimeFin = 7; %[s]
+useAppleIIDServerLevel1 = 0;
+%useModeAnti = 0; 
+%attrNameIsRecognized = 0;
+
+[DServName, StandByStr] = idGetUndDServer(idName);
+
+if strcmp(idName, 'HU80_TEMPO')
+    %DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
+    %StandByStr = 'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY'; 
+    
+    %if strcmp(attrName, 'gap')
+    %    attrNameIsRecognized = 1;
+    %elseif strcmp(attrName, 'phase')
+    %    attrNameIsRecognized = 1;
+    %end
+    %if attrNameIsRecognized == 0
+    %    fprintf('Undulator Parameter / Device Server Attribute name is not recognized\n');
+    %    res = -1; return;
+    %end
+     
+	if strcmp(attrName, 'mode')
+       attrValue = int16(attrValue);
+	end
+    
+    %Debug
+    %    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    %    if (tango_error == -1) %handle error 
+    %        tango_print_error_stack; return;
+    %    end
+    %End Debug
+end
+
+if strcmp(DServName, '') ~= 0
+    fprintf('Device Server name is not specified\n');
+    res = -1; return;
+end
+
+attr_name_val_list(1).name = attrName; attr_name_val_list(1).value = attrValue;
+attr_name_list = {attr_name_val_list(1).name};
+%attr_name_list_AppleIILevel1 = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+
+if strcmp(idName, 'HU52_DEIMOS')
+    useAppleIIDServerLevel1 = 0;
+end
+
+if useAppleIIDServerLevel1
+    %special case: controlling via DServer of Level 1
+    
+    if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+        attr_name_list = {'encoder1Position','encoder2Position','encoder3Position','encoder4Position'};
+        tango_command_inout2(DServName, 'GotoGap', attrValue);
+    elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+        attr_name_list = {'encoder5Position','encoder6Position'};
+        multMode = 1;
+        if(imag(attrValue) ~= 0)
+            multMode = -1;
+        end
+        tango_command_inout2(idSetUndParamSyncDServName, 'GotoPhase', [real(attrValue), multMode*real(attrValue)]);
+    end
+else 
+    tango_write_attributes(DServName, attr_name_val_list);
+end
+
+
+if (tango_error == -1) %handle error 
+    tango_print_error_stack;
+    
+    pause(sleepTime);
+    fprintf('Trying to repeat writing attributes after pause...\n');
+    
+    if useAppleIIDServerLevel1
+        %special case: controlling via DServer of Level 1
+        if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+            tango_command_inout2(DServName, 'GotoGap', attrValue);
+        elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+            multMode = 1;
+            if(imag(attrValue) ~= 0)
+                multMode = -1;
+            end
+            tango_command_inout2(DServName, 'GotoPhase', [real(attrValue), multMode*real(attrValue)]);
+        end
+    else 
+        tango_write_attributes(DServName, attr_name_val_list);
+    end
+    
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack;
+        fprintf('Failed again. Returning from the function abnormally.\n');
+        %res = -1; %hoping that it could still recover
+        return;
+    else
+        fprintf('Succeeded writing attributes from 2nd attempt. Continuing execution of the function.\n');
+    end
+end
+
+%Waiting until the parameter is actually set
+for i = 1:numLoopsWaitRes
+    
+    attr_val_list = tango_read_attributes(DServName, attr_name_list);
+    
+    if (tango_error == -1) %handle error 
+        tango_print_error_stack; 
+        
+        pause(sleepTime);
+        fprintf('Trying to repeat reading attributes after pause...\n');
+        attr_val_list = tango_read_attributes(DServName, attr_name_list);
+        if (tango_error == -1) %handle error 
+            tango_print_error_stack;
+            fprintf('Failed again. Returning from the function abnormally.\n');
+            %res = -1; %hoping that it could still recover
+            return;
+        else
+            fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+        end
+    end
+
+    %valRequested = attr_name_val_list(1).value;
+	valRequested = real(attrValue);
+    valSet = attr_val_list(1).value(1); %check why (1)
+    
+	if useAppleIIDServerLevel1
+        if (strcmp(attrName, 'gap') || strcmp(attrName, 'GAP'))
+            valSet = 0.5*(attr_val_list(1).value + attr_val_list(2).value + attr_val_list(3).value + attr_val_list(4).value); %check
+        elseif (strcmp(attrName, 'phase') || strcmp(attrName, 'PHASE'))
+            valSet = 0.5*(abs(attr_val_list(1).value) + abs(attr_val_list(2).value))*sign(attr_val_list(1).value); %check
+        end
+    end
+    
+    if(abs(valRequested - valSet) <= attrAbsTol)
+        fprintf('%s',StandByStr )
+        fprintf('\n' )
+        if strcmp(StandByStr, '') == 0
+            %% fprintf('%s', 'STANDBYSTR NON NUL') 
+            attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+            if (tango_error == -1) %handle error 
+                tango_print_error_stack; 
+                
+                pause(sleepTime);
+                fprintf('Trying to repeat reading attributes after pause...\n');
+                attr_val_list_status = tango_read_attributes(DServName, {'Status'});
+                if (tango_error == -1) %handle error 
+                    tango_print_error_stack;
+                    fprintf('Failed again. Returning from the function abnormally.\n');
+                    %res = -1; %hoping that it could still recover
+                    return;
+                else
+                    fprintf('Succeeded reading attributes from 2nd attempt. Continuing execution of the function.\n');
+                end
+            end
+            ActStatusStr = attr_val_list_status.value;
+            fprintf('%s %s',ActStatusStr, 'Number 2')
+            if strncmp(ActStatusStr, StandByStr, length(StandByStr))
+                pause(sleepTimeFin); %to ensure that corrector values are set
+                return; %Normal exit
+            end
+        else
+            pause(sleepTimeFin); %to ensure that corrector values are set
+            %% fprintf('%s', 'STANDBYSTR NUL') 
+            return; %Normal exit
+        end
+    end
+    pause(sleepTime);
+end
+
+res = -1;
+fprintf('Failed to set requested Undulator Parameter value\n');
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idSumOf2FFWDTableStructures.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idSumOf2FFWDTableStructures.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idSumOf2FFWDTableStructures.m	(revision 17)
@@ -0,0 +1,107 @@
+function OutputFFWDTableStructure=idSumOf2FFWDTableStructures(FFWDTableStructure1, FFWDTableStructure2, PhaseRange, GapRange)
+% Written by F. Briquez. NOT FINISHED!!!!
+OutputFFWDTableStructure=struct([]);
+CheckResult1=idCheckFFWDTableStructure(FFWDTableStructure1);
+CheckResult2=idCheckFFWDTableStructure(FFWDTableStructure2);
+if (CheckResult1==-1)
+    fprintf ('Error in ''idSumOf2FFWDTableStructures'' : FFWDTableStructure1 is incorrect\n');
+end
+if (CheckResult2==-1)
+    fprintf ('Error in ''idSumOf2FFWDTableStructures'' : FFWDTableStructure2 is incorrect\n');
+end
+
+FFWDTableStructure=struct;
+
+vPhases1=FFWDTableStructure1.vPhases;
+vGaps1=FFWDTableStructure1.vGaps;
+FFWDTable1=FFWDTableStructure1.Table;
+FFWDTableWithArgs1=FFWDTableStructure1.TableWithArgs;
+idName1=FFWDTableStructure1.idName;
+CorrectorName1=FFWDTableStructure1.CorrectorName;
+idMode1=FFWDTableStructure1.idMode;
+
+vPhases2=FFWDTableStructure2.vPhases;
+vGaps2=FFWDTableStructure2.vGaps;
+FFWDTable2=FFWDTableStructure2.Table;
+FFWDTableWithArgs2=FFWDTableStructure2.TableWithArgs;
+idName2=FFWDTableStructure2.idName;
+CorrectorName2=FFWDTableStructure2.CorrectorName;
+idMode2=FFWDTableStructure2.idMode;
+
+if (strcmpi(idName1, idName2)==0)
+    fprintf ('WARNING in idSumOf2FFWDTableStructures: not coherent ID names\n=> ''%s'' will be used\n', idName1)
+end
+if (strcmpi(CorrectorName1, CorrectorName2)==0)
+    fprintf ('WARNING in idSumOf2FFWDTableStructures: not coherent corrector names\n=> ''%s'' will be used\n', CorrectorName1)
+end
+if (strcmpi(idMode1, idMode2)==0)
+    fprintf ('WARNING in idSumOf2FFWDTableStructures: not coherent ID modes\n=> ''%s'' will be used\n', idMode1)
+end
+
+if (size(PhaseRange, 1)==1&&size(PhaseRange, 2)==2)
+    PhaseStart=PhaseRange(1);
+    PhaseEnd=PhaseRange(2);
+elseif (size(PhaseRange, 1)==0&&size(PhaseRange, 2)==0)
+    LargestIntersectionVector=idAuxLargestIntersectionOfVectors(vPhases1, vPhases2);
+    PhaseStart=LargestIntersectionVector(1);
+    PhaseEnd=LargestIntersectionVector(2);
+else
+    fprintf ('Error in ''idSumOf2FFWDTableStructures'' : Range of phase is incorrect\n');
+end
+if (PhaseStart<vPhases1(1)||PhaseStart<vPhases2(1))
+    fprintf ('Error in ''idSumOf2FFWDTableStructures'' : Lower limit of phase range outside of table limits\n');
+    return
+end
+if (PhaseEnd>vPhases1(length(vPhases1))||PhaseEnd>vPhases2(length(vPhases2)))
+    fprintf ('Error in ''idSumOf2FFWDTableStructures'' : Upper limit of phase range outside of table limits\n');
+    return
+end
+
+if (size(GapRange, 1)==1&&size(GapRange, 2)==2)
+    GapStart=GapRange(1);
+    GapEnd=GapRange(2);
+elseif (size(GapRange, 1)==0&&size(GapRange, 1)==0)
+    LargestIntersectionVector=idAuxLargestIntersectionOfVectors(vGaps1, vGaps2);
+    GapStart=LargestIntersectionVector(1);
+    GapEnd=LargestIntersectionVector(2);
+else
+    fprintf ('Error in ''idSumOf2FFWDTableStructures'' : Range of gap is incorrect\n');
+    return
+end
+if (GapStart<vGaps1(1)||GapStart<vGaps2(1))
+    fprintf ('Error in ''idSumOf2FFWDTableStructures'' : Lower limit of Gap range outside of table limits\n');
+    return
+end
+if (GapEnd>vGaps1(length(vGaps1))||GapEnd>vGaps2(length(vGaps2)))
+    fprintf ('Error in ''idSumOf2FFWDTableStructures'' : Upper limit of Gap range outside of table limits\n');
+    return
+end
+
+if (length(vPhases1)==length(vPhases2)&&length(vGaps1)==length(vGaps2))
+%     size(vPhases1, 1)
+%     size(vPhases1, 2)
+%     size(vPhases2, 1)
+%     size(vPhases2, 2)
+    sum(vPhases1==vPhases2)
+    length(vPhases1)
+    
+   	sum(vGaps1==vGaps2)
+    length(vGaps1)
+    
+    if (sum(vPhases1==vPhases2)==length(vPhases1)&&sum(vGaps1==vGaps2)==length(vGaps1))
+        OutputTable=FFWDTable1+FFWDTable2;
+        OutputFFWDTableStructure=idGetFFWDTableStructureFromTable(idName1, OutputTable, vPhases1, vGaps1, idMode1, CorrectorName1);
+        
+%         OutputFFWDTableStructure.vPhases=vPhases1;
+%         OutputFFWDTableStructure.vGaps=vGaps1;
+%         OutputFFWDTableStructure.Table=OutputTable;
+%         OutputFFWDTableStructure.TableWithArgs=OutuputTableWithArgs;
+%         OutputFFWDTableStructure.idName=idName1;
+%         OutputFFWDTableStructure.CorrectorName=CorrectorName1;
+%         OutputFFWDTableStructure.idMode=idMode1;
+    else
+        fprintf ('not written yet\n')
+    end
+else
+    fprintf ('not written yet\n')
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idUpdateFeedForwardCorTables2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idUpdateFeedForwardCorTables2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idUpdateFeedForwardCorTables2D.m	(revision 17)
@@ -0,0 +1,202 @@
+function [new_tot_mCHE_with_arg, new_tot_mCVE_with_arg, new_tot_mCHS_with_arg, new_tot_mCVS_with_arg] = idUpdateFeedForwardCorTables2D(idName, tabNameDataCHE, tabNameDataCVE, tabNameDataCHS, tabNameDataCVS, vArgVert, vArgHor, updateMode, interpMeth)
+%Update FF Correction Tables, with interpolation, if necessary
+%tabNameDataCHE = {'parallelModeCHE', mCHE}
+%tabNameDataCVE = {'parallelModeCVE', mCVE}
+%vArgVert = [15.5,16,18,...] - gap values
+%vArgHor = [-40,-35,-30,...] - phase values
+%updateMode: 
+%   0- set zero in all tables; 1- overwrite values in all tables; 2- add values of new tables to existing tables, keeping the mesh
+%   of the existing tables
+
+%res = 0;
+
+numArgVert = length(vArgVert);
+numArgHor = length(vArgHor);
+
+testVar = 0;
+if(updateMode == 1)
+    if((vArgVert ~= -1) && (vArgHor ~= -1))
+        testVar = 1;
+    end
+else
+    if((isempty(vArgVert) == 0) && (isempty(vArgHor) == 0))
+        testVar = 1;
+    end
+end
+
+%if((numArgVert > 1) && (numArgHor > 1)) %assume tabNameDataCHE{2} etc. is without arguments
+%TO CORRECT!!!: make generalÂ§
+%if((isempty(vArgVert) == 0) && (isempty(vArgHor) == 0)) %OC,FM1205008      
+%if((vArgVert ~= -1) && (vArgHor ~= -1)) %OC,FM1205008
+if(testVar ~= 0)
+    mCHE_with_arg = idAuxMergeCorTableWithArg2D(vArgVert, vArgHor, tabNameDataCHE{2});
+    mCVE_with_arg = idAuxMergeCorTableWithArg2D(vArgVert, vArgHor, tabNameDataCVE{2});
+    mCHS_with_arg = idAuxMergeCorTableWithArg2D(vArgVert, vArgHor, tabNameDataCHS{2});
+    mCVS_with_arg = idAuxMergeCorTableWithArg2D(vArgVert, vArgHor, tabNameDataCVS{2});
+else %assume tabNameDataCHE{2} etc. is with arguments
+    mCHE_with_arg = tabNameDataCHE{2};
+    mCVE_with_arg = tabNameDataCVE{2};
+    mCHS_with_arg = tabNameDataCHS{2};
+    mCVS_with_arg = tabNameDataCVS{2};
+    
+    numArgVert = size(mCHE_with_arg, 1) - 1;
+    for i = 1:numArgVert
+        vArgVert(i) = mCHE_with_arg(i+1,1);
+	end
+    numArgHor = size(mCHE_with_arg, 2) - 1;
+    for i = 1:numArgHor
+        vArgHor(i) = mCHE_with_arg(1,i+1);
+	end
+end
+
+minValArgVert = vArgVert(1);
+maxValArgVert = vArgVert(1);
+for i = 1:numArgVert
+    curValArg = vArgVert(i);
+    if(minValArgVert > curValArg)
+        minValArgVert = curValArg;
+    end
+    if(maxValArgVert < curValArg)
+        maxValArgVert = curValArg;
+    end
+end
+minValArgHor = vArgHor(1);
+maxValArgHor = vArgHor(1);
+for i = 1:numArgHor
+    curValArg = vArgHor(i);
+    if(minValArgHor > curValArg)
+        minValArgHor = curValArg;
+    end
+    if(maxValArgHor < curValArg)
+        maxValArgHor = curValArg;
+    end
+end
+
+[DServName] = idGetUndDServer(idName);
+
+%Reading previous cor. tables
+rep = tango_read_attribute2(DServName, tabNameDataCHE{1});
+stOldTablesFF.mCHE_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameDataCVE{1});
+stOldTablesFF.mCVE_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameDataCHS{1});
+stOldTablesFF.mCHS_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameDataCVS{1});
+stOldTablesFF.mCVS_with_arg = rep.value;
+
+new_tot_mCHE_with_arg = stOldTablesFF.mCHE_with_arg;
+new_tot_mCVE_with_arg = stOldTablesFF.mCVE_with_arg;
+new_tot_mCHS_with_arg = stOldTablesFF.mCHS_with_arg;
+new_tot_mCVS_with_arg = stOldTablesFF.mCVS_with_arg;
+
+numArgVert_p_1 = numArgVert + 1;
+numArgHor_p_1 = numArgHor + 1;
+if(updateMode == 0)
+    for i = 2:numArgVert_p_1
+        for j = 2:numArgHor_p_1
+            mCHE_with_arg(i,j) = 0;
+            mCVE_with_arg(i,j) = 0;
+            mCHS_with_arg(i,j) = 0;
+            mCVS_with_arg(i,j) = 0;
+        end
+    end
+end
+
+if((updateMode == 0) || (updateMode == 1))
+    new_tot_mCHE_with_arg = mCHE_with_arg;
+    new_tot_mCVE_with_arg = mCVE_with_arg;
+    new_tot_mCHS_with_arg = mCHS_with_arg;
+    new_tot_mCVS_with_arg = mCVS_with_arg;
+end
+
+if(updateMode == 2)
+    %strIncompatSizes = 'Incompatible dimensions od mesh of existing and new tables. Incremental update can not be performed.';
+    %if((size(stOldTablesFF.mCHE_with_arg, 1) ~= numArgVert_p_1) || (size(stOldTablesFF.mCVE_with_arg, 1) ~= numArgVert_p_1) || (size(stOldTablesFF.mCHS_with_arg, 1) ~= numArgVert_p_1) || (size(stOldTablesFF.mCVS_with_arg, 1) ~= numArgVert_p_1))
+    %	fprintf(strIncompatSizes);
+    %    return;
+    %end
+    %if((size(stOldTablesFF.mCHE_with_arg, 2) ~= numArgHor_p_1) || (size(stOldTablesFF.mCVE_with_arg, 2) ~= numArgHor_p_1) || (size(stOldTablesFF.mCHS_with_arg, 2) ~= numArgHor_p_1) || (size(stOldTablesFF.mCVS_with_arg, 2) ~= numArgHor_p_1))
+    %	fprintf(strIncompatSizes);
+    %    return;
+    %end
+    
+	%for i = 2:numArgVert_p_1
+    %    if((mCHE_with_arg(i,1) ~= stOldTablesFF.mCHE_with_arg(i,1)) || (mCVE_with_arg(i,1) ~= stOldTablesFF.mCVE_with_arg(i,1)) || (mCHS_with_arg(i,1) ~= stOldTablesFF.mCHS_with_arg(i,1)) || (mCVS_with_arg(i,1) ~= stOldTablesFF.mCVS_with_arg(i,1)))
+    %        fprintf(strIncompatSizes);
+    %        return;
+    %    end
+    %end
+	%for j = 2:numArgHor_p_1
+    %    if((mCHE_with_arg(1,j) ~= stOldTablesFF.mCHE_with_arg(1,j)) || (mCVE_with_arg(1,j) ~= stOldTablesFF.mCVE_with_arg(1,j)) || (mCHS_with_arg(1,j) ~= stOldTablesFF.mCHS_with_arg(1,j)) || (mCVS_with_arg(1,j) ~= stOldTablesFF.mCVS_with_arg(1,j)))
+    %        fprintf(strIncompatSizes);
+    %        return;
+    %    end
+	%end
+   
+    %Interpolation of New Tables to the Mesh of Existing Tables
+    numArgVertExist = size(stOldTablesFF.mCHE_with_arg, 1) - 1;
+    argCountVert = 1;
+    iVertStart = 1;
+    for i = 1:numArgVertExist
+        testArg = stOldTablesFF.mCHE_with_arg(i+1,1);
+        if((testArg >= minValArgVert) && (testArg <= maxValArgVert))
+            vArgVertExist(argCountVert) = testArg;
+            if(argCountVert == 1)
+                iVertStart = i;
+            end
+            argCountVert = argCountVert + 1;
+        end
+    end
+    iVertEnd = iVertStart + (argCountVert - 2);
+    numArgVert_p_1 = argCountVert;
+    
+    numArgHorExist = size(stOldTablesFF.mCHE_with_arg, 2) - 1;
+    argCountHor = 1;
+    iHorStart = 1;
+    for i = 1:numArgHorExist
+        testArg = stOldTablesFF.mCHE_with_arg(1,i+1);
+        if((testArg >= minValArgHor) && (testArg <= maxValArgHor))
+            vArgHorExist(argCountHor) = testArg;
+            if(argCountHor == 1)
+                iHorStart = i;
+            end
+            argCountHor = argCountHor + 1;
+        end
+    end
+    iHorEnd = iHorStart + (argCountHor - 2);
+    numArgHor_p_1 = argCountHor;
+
+    [new_mCHE_with_arg, new_mCVE_with_arg, new_mCHS_with_arg, new_mCVS_with_arg] = idInterpolFeedForwardCorTables2D(mCHE_with_arg, mCVE_with_arg, mCHS_with_arg, mCVS_with_arg, vArgVertExist, vArgHorExist, interpMeth);
+    
+	%for i = 2:numArgVert_p_1
+    %    for j = 2:numArgHor_p_1
+    %        new_tot_mCHE_with_arg(i,j) = new_tot_mCHE_with_arg(i,j) + new_mCHE_with_arg(i,j);
+    %        new_tot_mCVE_with_arg(i,j) = new_tot_mCVE_with_arg(i,j) + new_mCVE_with_arg(i,j);
+    %        new_tot_mCHS_with_arg(i,j) = new_tot_mCHS_with_arg(i,j) + new_mCHS_with_arg(i,j);
+    %        new_tot_mCVS_with_arg(i,j) = new_tot_mCVS_with_arg(i,j) + new_mCVS_with_arg(i,j);
+    %    end
+    %end
+	for i = (iVertStart + 1):(iVertEnd + 1)
+        iRel = i - iVertStart + 1;
+        for j = (iHorStart + 1):(iHorEnd + 1)
+            jRel = j - iHorStart + 1;
+            new_tot_mCHE_with_arg(i,j) = new_tot_mCHE_with_arg(i,j) + new_mCHE_with_arg(iRel,jRel);
+            new_tot_mCVE_with_arg(i,j) = new_tot_mCVE_with_arg(i,j) + new_mCVE_with_arg(iRel,jRel);
+            new_tot_mCHS_with_arg(i,j) = new_tot_mCHS_with_arg(i,j) + new_mCHS_with_arg(iRel,jRel);
+            new_tot_mCVS_with_arg(i,j) = new_tot_mCVS_with_arg(i,j) + new_mCVS_with_arg(iRel,jRel);
+        end
+	end
+
+end
+
+%Saving previous FF Tables
+fileNameCoreOldFF = 'old_ff_tab';
+idSaveStruct(stOldTablesFF, fileNameCoreOldFF, idName, 1, 0);
+
+    %return;
+
+%Updating FF Tables
+tango_write_attribute2(DServName, tabNameDataCHE{1}, new_tot_mCHE_with_arg);
+tango_write_attribute2(DServName, tabNameDataCVE{1}, new_tot_mCVE_with_arg);
+tango_write_attribute2(DServName, tabNameDataCHS{1}, new_tot_mCHS_with_arg);
+tango_write_attribute2(DServName, tabNameDataCVS{1}, new_tot_mCVS_with_arg);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idUpdateInterpFeedForwardCorTables2D.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idUpdateInterpFeedForwardCorTables2D.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idUpdateInterpFeedForwardCorTables2D.m	(revision 17)
@@ -0,0 +1,36 @@
+function [new_mCHE_with_arg, new_mCVE_with_arg, new_mCHS_with_arg, new_mCVS_with_arg] = idUpdateInterpFeedForwardCorTables2D(idName, tabNameCHE, tabNameCVE, tabNameCHS, tabNameCVS, vArgVert, vArgHor, interpMeth)
+%tabNameCHE = 'parallelModeCHE'
+%tabNameCVE = 'parallelModeCVE'
+%vArgVert = [15.5,16,18,...] - gap values
+%vArgHor = [-40,-35,-30,...] - phase values
+%interpMeth:
+% = 'nearest' %Nearest neighbor interpolation
+% = 'linear' %Linear interpolation (default)
+% = 'spline' %Cubic spline interpolation
+% = 'cubic' %Cubic interpolation, as long as data is uniformly-spaced. Otherwise, this method is the same as 'spline'
+
+[DServName] = idGetUndDServer(idName);
+
+%Reading previous cor. tables
+rep = tango_read_attribute2(DServName, tabNameCHE);
+stOldTablesFF.mCHE_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameCVE);
+stOldTablesFF.mCVE_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameCHS);
+stOldTablesFF.mCHS_with_arg = rep.value;
+rep = tango_read_attribute2(DServName, tabNameCVS);
+stOldTablesFF.mCVS_with_arg = rep.value;
+
+[new_mCHE_with_arg, new_mCVE_with_arg, new_mCHS_with_arg, new_mCVS_with_arg] = idInterpolFeedForwardCorTables2D(stOldTablesFF.mCHE_with_arg, stOldTablesFF.mCVE_with_arg, stOldTablesFF.mCHS_with_arg, stOldTablesFF.mCVS_with_arg, vArgVert, vArgHor, interpMeth);
+
+%Saving previous ff tables
+fileNameCoreOldFF = 'old_ff_tab';
+idSaveStruct(stOldTablesFF, fileNameCoreOldFF, idName, 1, 0);
+
+    %return;
+    
+%Writing new ff tables
+tango_write_attribute2(DServName, tabNameCHE, new_mCHE_with_arg);
+tango_write_attribute2(DServName, tabNameCVE, new_mCVE_with_arg);
+tango_write_attribute2(DServName, tabNameCHS, new_mCHS_with_arg);
+tango_write_attribute2(DServName, tabNameCVS, new_mCVS_with_arg);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idUploadFFWDTableStructureToDevice.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idUploadFFWDTableStructureToDevice.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idUploadFFWDTableStructureToDevice.m	(revision 17)
@@ -0,0 +1,28 @@
+function UploadState=idUploadFFWDTableStructureToDevice(FFWDTableStructure)
+%% Writen by F. Briquez 25/04/2011
+% Creates the FFWD table file used by the Device Server from the table
+% structure
+% 1) Input :    table structure containing at least fields :
+%               - TableWithArgs
+%               - idName
+%               - idMode
+%               - CorrectorName
+% 2) Output :   -1 if failed. 1 if succeeded
+
+%%
+UploadState=-1;
+
+CheckResult=idCheckFFWDTableStructure(FFWDTableStructure);
+if (CheckResult==-1)
+    fprintf('Error in ''idUploadFFWDTableStructureToDevice'' : wrong FFWD table structure\n')
+end
+
+% vPhases=FFWDTableStructure.vPhases;
+% vGaps=FFWDTableStructure.vGaps;
+% Table=FFWDTableStructure.Table;
+TableWithArgs=FFWDTableStructure.TableWithArgs;
+idName=FFWDTableStructure.idName;
+idMode=FFWDTableStructure.idMode;
+CorrectorName=FFWDTableStructure.CorrectorName;
+
+UploadState=idUploadFFWDTableToDevice(TableWithArgs, idName, CorrectorName, idMode);
Index: /trunk/machine/SOLEIL/StorageRing/insertions/idUploadFFWDTableToDevice.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/idUploadFFWDTableToDevice.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/idUploadFFWDTableToDevice.m	(revision 17)
@@ -0,0 +1,52 @@
+function UploadState=idUploadFFWDTableToDevice(FFWDTableWithArgs, idName, CorrectorName, idMode)
+%% Written by F.Briquez 25/04/2011
+% Creates the FFWD table text file (used by the Device Server) containing the matrix 'FFWDTableWithArgs'
+% - Backup the old file in /home/operateur/GrpGMI/.../Backup_Of_FFWD_Tables
+% - Backup the new file in /home/operateur/GrpGMI/.../Backup_Of_FFWD_Tables
+% - Deletes the old file in /usr/Local/configFiles/InsertionFFTables/...
+% - Creates the new file in /usr/Local/configFiles/InsertionFFTables/...
+% 1) Inputs : FFWDTableWithArgs : matrix containing the FFWD correction currents with headers (phase and gap values as first column and first row)
+%           : idName : such as 'HU36_SIRIUS'
+%           : CorrectorName : 'CHE', 'CHS', 'CVE' or 'CVS'
+%           : idMode : 'ii' or 'x' for parallel or anti-parallel modes.
+%               (Not case-sensitive)
+% 2) Output : -1 if failed. 1 if succeeded
+
+%%
+UploadState=-1;
+
+%% If existing, backup of old FFWD table used by the Device Server
+[UpdateFileFullName, BackupState]=idBackupFFWDTableFile(idName, CorrectorName, idMode);
+if (BackupState==-1)
+    fprintf('Error in ''idUploadFFWDTableToDevice'' : Backup of old FFWD table failed => New table was not uploaded\n');
+    return
+end
+TemporaryFFWDTableToCopyForBackupAndDeviceServer=FFWDTableWithArgs;
+
+%% Create backup of new FFWD table
+save (UpdateFileFullName, 'TemporaryFFWDTableToCopyForBackupAndDeviceServer', '-ascii');
+if (exist(UpdateFileFullName, 'file')~=2)
+    fprintf('Error in ''idUploadFFWDTableToDevice'' : could not create backup of new FFWD table file  ''%s'' => New table was not uploaded\n', UpdateFileFullName);
+    return
+end
+
+%% If existing, delete old FFWD table used by the Device Server
+FFWDTableFileName=idGetFFWDTableFullFileName(idName, CorrectorName, idMode);
+if (exist(FFWDTableFileName, 'file')==2)
+    delete(FFWDTableFileName);
+    if (exist(FFWDTableFileName, 'file')==2)
+        fprintf ('Error in ''idUploadFFWDTableToDevice'' : could not delete old FFWD table used by the Device Server => New table was not uploaded\n');
+        return
+    end
+end
+
+%% Create new FFWD table for Device Server
+
+save (FFWDTableFileName, 'TemporaryFFWDTableToCopyForBackupAndDeviceServer', '-ascii');
+if (exist(FFWDTableFileName, 'file')~=2)
+    fprintf('Error in ''idUploadFFWDTableToDevice'' : could not create new FFWD table file ''%s''\n', FFWDTableFileName);
+    return
+end
+clear('TemporaryFFWDTableToCopyForBackupAndDeviceServer');
+UploadState=1;
+end
Index: /trunk/machine/SOLEIL/StorageRing/insertions/premiertests.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/premiertests.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/premiertests.m	(revision 17)
@@ -0,0 +1,514 @@
+soleilinit
+getx
+plot(getx)
+family2dev('BPMx')
+family2tango('BPMx')
+help getx
+help family2tango
+doc tango
+tango_command_inout('ANS-C08/EI/M-HU80.2_CHAN1', 'State')
+tango_error
+dev = 'ANS-C08/EI/M-HU80.2_CHAN1';
+class(dev)
+a=2
+class(a)
+tango_state(dev)
+tango_status(dev)
+devM='ans-c08/ei/m-hu80.2_motorscontrol'
+tango_command_inout('ANS-C08/EI/M-HU80.2_CHAN1', 'State')
+tango_command_inout(devM, 'State')
+tango_command_inout2(devM, 'State')
+tango_command_inout(devM, 'State4')
+tango_command_inout2(devM, 'State4')
+tango_command_inout2(devM, 'ON')
+tango_command_inout2(devM, 'On')
+tango_command_inout2(devM, 'Status')
+tango_command_inout2(devM, 'State')
+pp = tango_command_inout2(devM, 'State')
+tango_command_inout2(devM, 'State')
+print(ans)
+printf('%s\n', ans)
+fprintf('%s\n', ans)
+ans
+a=2
+ans
+2
+ans
+tango_read_attribute2(devM, 'encoder1Position')
+a = tango_read_attribute2(devM, 'encoder1Position')
+a
+a.value
+datestr(a.time)
+readattribute([devM, 'encoder1Position'])
+[devM, 'encoder1Position'])
+[devM, 'encoder1Position']
+[devM, '/encoder1Position']
+readattribute([devM, '/encoder1Position'])
+[a z ] = readattribute([devM, '/encoder1Position'])
+help readattribute
+[a z t] = readattribute([devM, '/encoder1Position'])
+edit readattribute.m
+datestr(t)
+[a z t] = readattribute([devM, '/encoder2Position'])
+[a z t] = readattribute([devM, '/encoder3Position'])
+[a z t] = readattribute([devM, '/encoder4Position'])
+[a z t] = readattribute([devM, '/encoder5Position'])
+[a z t] = readattribute([devM, '/encoder6Position'])
+tango_command_inout2(devM, 'GotoGap', 2400000)
+tango_command_inout2(devM, 'GotoGap', int32(2400000))
+[a z t] = readattribute([devM, '/encoder2Position'])
+tango_command_inout2(devM, 'Init')
+tango_command_inout2(devM, 'State')
+tango_command_inout2(devM, 'On')
+tango_command_inout2(devM, 'ResetError')
+tango_command_inout2(tangodevM, 'Reset')
+tango_command_inout2(devM, 'GotoGap', int32(2100000))
+tango_command_inout2(devM, 'GotoPhase', int32(50000), int32(50000))
+tango_command_inout2(devM, 'GotoPhase', {int32(50000), int32(50000)})
+tango_command_inout2(devM, 'GotoPhase', [int32(50000), int32(50000)])
+tango_command_inout2(devM, 'Init')
+tango_command_inout2(devM, 'GotoPhase', [int32(0), int32(0)])
+tango_command_inout2(devM, 'GotoPhase', [int32(100000), int32(-100000)])
+tango_command_inout2(devM, 'GotoPhase', [int32(0), int32(0)])
+tango_command_inout2(devM, 'GotoGap', int32(2500000))
+
+getx
+getz
+getam('BPMx')
+getam('BPMx',[1 1])
+getam('BPMx',[1 1; 1 2])
+getam('BPMx',[5 1; 5 2])
+family2tangodev('BPMx',[5 1; 5 2])
+family2dev('BPMx')
+family2status('BPMx')
+modelbeta
+solorbit
+getx
+X = getx
+I=getdcct
+
+/home/matlabML/mmlcontrol/Ringspecific/insertions
+
+/home/matlabML/measdata/Ringdata/insertions/HU80_TEMPO/
+
+% H orbit
+EI.X = getx;
+% V orbit
+EI.Z = getz;
+% encoder #2
+EI.encoder2= readattribute([devM, '/encoder2Position']);
+% stored current
+EI.current = getdcct;
+% tunes
+EI.tune = gettune;
+
+% measure dispersion functions
+[dx dz] = measdisp('Physics');
+
+EI.dx = dx;
+EI.dz = dz;
+
+EI.date = datestr(now); % convert date to string
+
+pause(1); % 1 second pause
+
+% measure chromaticities
+EI.ksi = measchro('Physics');
+
+%%%%%%%%%%%%%% ARchiving
+
+% If the filename contains a directory then make sure it exists
+Filename = 'exemple4Oleg';
+
+FileName = appendtimestamp('G20_P0');
+DirectoryName = getfamilydata('Directory','HU80_TEMPO');
+DirStart = pwd;
+[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+save(FileName, 'EI_G20_P0');
+cd(DirStart);
+
+
+edit soleilinit
+Filename = 'exemple4Oleg'
+FileName = appendtimestamp(Filename)
+getfamilydata('Directory','HU80_TEMPO')
+ls
+rm HU80_2006-09-12_17-24-36
+remove HU80_2006-09-12_17-24-36
+delete HU80_2006-09-12_17-24-36.mat
+ls
+dir
+help save
+doc save
+getmcf
+pwd
+save 'toto' EI
+
+%%%%%%%%%%%%%% Calculating theoretical Beta values at the positions of BPMs
+modelbeta('BPMx')
+[bx bz]=modelbeta('BPMx')
+bx
+[phx, phz] = modelphase('BPMx')
+phx
+modeltune
+[nux nuz] = modeltune
+nu = modeltune
+
+%%%%%%%%%%%%%% Measuring COD vs Corrector Currents (to estimate corrector efficiency)
+tableCurInCor = [0 0 0 0; -10 0 0 0; -5 0 0 0; 0 0 0 0; 5 0 0 0; 10 0 0 0; 0 0 0 0; 0 -10 0 0; 0 -5 0 0; 0 0 0 0; 0 5 0 0; 0 10 0 0; 0 0 0 0; 0 0 -10 0; 0 0 -5 0; 0 0 0 0; 0 0 5 0; 0 0 10 0; 0 0 0 0; 0 0 0 -10; 0 0 0 -5; 0 0 0 0; 0 0 0 5; 0 0 0 10]
+[fileNames, res] = idMeasCorEffic('HU80_PLEIADES', tableCurInCor, 0, 'C1G200', 1)
+[fileNames, res] = idMeasCorEffic('HU52_DEIMOS', tableCurInCor, 0, 'C1G15_5', 1)
+%Formatting corrector efficiency data file names:
+sResFormatted = idAuxFormatPartCorElecBeamMeasData(fileNames)
+
+% Create a Bump with the vert. BPMz (14 1,14 2) of 0.1 mm using 5 VCOR apart from the SS
+setorbitbump('BPMz',[14 1;14 2],0.1*[1;1],'VCOR',[-5 -4 -3 -2 -1 1 2 3 4 5 ])
+%To measure electron beam and read undulator state, and save the data
+%structure to a file
+stMeas = idMeasElecBeamUnd('U20_PROXIMA1', 0, 'test_for_chams', 1)
+
+%to estimate effective field integrals of U20
+st = idCalcFldIntFromElecBeamMeasForUndSOLEIL_1('U20_PROXIMA1', '/home/matlabML/measdata/Ringdata/insertions/U20_PROXIMA1', 'u20_g5_5_2006-09-29_12-29-58', 'u20_g30_2006-09-29_11-59-57', '', -1)
+
+% Write a table : attributename to be changed
+A=[0 1 2 3;
+      10 0.2 0.4 0.5;
+      20 0.5 0.21 0.45];
+  
+tango_write_attribute2(dev,'correctionCHEParallelMode',A);  
+
+% how to write at the same time all the correctors
+dev= 'ANS-C08/EI/M-HU80.2';
+attr_name_val_list(1).value = 0
+attr_name_val_list(2).value = 0
+attr_name_val_list(3).value = 0
+attr_name_val_list(4).value = 0
+attr_name_val_list(1).name='currentCHE'
+attr_name_val_list(2).name='currentCVE'
+attr_name_val_list(4).name='currentCVS'
+attr_name_val_list(3).name='currentCHS'
+
+tango_write_attributes(dev,attr_name_val_list);
+
+% to calculate correction tables for feed-forward
+%HU80:
+stFileNamesMeasCOD = load('/home/operateur/GrpGMI/HU80_TEMPO/cod_II_filelist_2006-12-10_13-11-12');
+vPhase = [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40];
+vGap = [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150];
+fileNamesMeasBkg = idAuxPrepFileNameListMeasAndBkg(stFileNamesMeasCOD.filelist, length(vGap));
+arBPM2Skip = [58];
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU80_TEMPO', {{'phase', vPhase}, {'gap', vGap}}, fileNamesMeasBkg, '', '', arBPM2Skip);
+mCHE_with_Arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHE);
+mCVE_with_Arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVE);
+mCHS_with_Arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCHS);
+mCVS_with_Arg = idAuxMergeCorTableWithArg2D(vGap, vPhase, mCVS);
+
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU80_PLEIADES', st_sum.params, st_sum.filenames_meas_bkg, '', '', -1)
+[mCHE_with_arg, mCVE_with_arg, mCHS_with_arg, mCVS_with_arg] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHE, mCVE, mCHS, mCVS, st_sum.params)
+
+
+%U20:
+stFileNamesMeasCOD = load('/home/operateur/GrpGMI/U20_PROXIMA1/test_cod_filelist_2007-01-24_13-17-20.mat');
+vGap = [30, 27];
+fileNamesMeasBkg = idAuxPrepFileNameListMeasAndBkg(stFileNamesMeasCOD.filename, length(vGap))
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('U20_PROXIMA1', {{'gap', vGap}}, fileNamesMeasBkg, '', '', -1)
+
+%%
+dev = 'ANS-C04/EI/M-HU80.1';
+
+tango_write_attribute2(dev,'parallelModeCHE', mCHE_res_with_arg);
+tango_write_attribute2(dev,'parallelModeCVE', mCVE_res_with_arg);
+tango_write_attribute2(dev,'parallelModeCHS', mCHS_res_with_arg);
+tango_write_attribute2(dev,'parallelModeCVS', mCVS_res_with_arg);
+
+%To try changing ID parameters (gap, phase):
+resUnd = idSetUndParamSync('HU44_TEMPO', 'gap', 239, 0.01);
+
+%%To measure COD vs Undulator Param(s) automatically:
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('HU80_TEMPO', {{'phase', [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40], 0.01}, {'gap', [15.5], 0.01}}, {{'gap', 250, 0.01}, {'phase', 0, 0.01}}, 2, 0, 'test', 1)
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('HU80_TEMPO', {{'phase', [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150], 0.01}}, {{'gap', 250, 0.01}, {'phase', 0, 0.01}}, 1, 0, 'cod_X_01_07', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_PLEIADES', {{'phase', [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40], 0.01}, {'gap', [15.5, 16, 18, 20], 0.01}}, {{'gap', 250, 0.01}, {'phase', 0, 0.01}}, 1, 0, 'cod_extra_II', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_PLEIADES', {{'phase', phVals, 0.01}, {'gap', [15.5], 0.01}}, {{'gap', 239.9, 0.01}, {'phase', 0, 0.01}}, 2, 0, 'cod_II_iter_test01', 1)
+
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_CASSIOPEE', {{'phase', [-40,-37.5, -35,-32.5, -30,-27.5, -25,-22.5, -20,-17.5, -15,-12.5, -10,-7.5, -5,-2.5, 0,2.5, 5,7.5, 10,12.5, 15,17.5, 20,22.5, 25,27.5, 30,32.5, 35, 37.5,40], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 250], 0.01}}, {{'phase', 0, 0.01}, {'gap', 250, 0.01}}, 1, 0, 'cod_1st_test', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_CASSIOPEE', {{'phase', [-40,-37.5, -35,-32.5, -30,-27.5, -25,-22.5, -20,-17.5, -15,-12.5, -10,-7.5, -5,-2.5, 0,2.5, 5,7.5, 10,12.5, 15,17.5, 20,22.5, 25,27.5, 30,32.5, 35, 37.5,40], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 250], 0.01}}, {{'phase', 0, 0.01}, {'gap', 250, 0.01}}, 1, 0, 'cod_gen_X', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_CASSIOPEE', {{'phase', [40], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150], 0.01}}, {{'phase', 0, 0.01}, {'gap', 250, 0.01}}, 1, 0, 'cod_1st_test', 1)
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('U20_PROXIMA1', {{'gap', [5.5, 6, 10], 0.01}}, {{'gap', 30, 0.01}}, 1, 0, 'test_cod', 1)
+% commande pour lucia 21/07/08
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU52_LUCIA', {{'phase',[-26:3.25:26] , 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 239.5], 0.01}}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'cod_1st_test', 1)
+
+%U20 COD meas. and calc. of cor. tables:
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('U20_PROXIMA1', {{'gap', [5.5, 6, 10], 0.01}}, {{'gap', 30, 0.01}}, 1, 0, 'test_cod', 1)
+
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('U20_CRISTAL', {{'gap', [5.5,5.6,5.7,5.8,5.9,6,6.1,6.2,6.3,6.4,6.5,6.6,6.7,6.8,6.9,7,7.1,7.2,7.3,7.4,7.5,7.6,7.7,7.8,7.9,8,8.1,8.2,8.3,8.4,8.5,8.6,8.7,8.8,8.9,9,9.1,9.2,9.3,9.4,9.5,9.6,9.7,9.8,9.9,10,10.2,10.4,10.6,10.8,11,11.2,11.4,11.6,11.8,12,12.2,12.4,12.6,12.8,13,13.2,13.4,13.6,13.8,14,14.2,14.4,14.6,14.8,15,15.2,15.4,15.6,15.8,16,16.2,16.4,16.6,16.8,17,17.2,17.4,17.6,17.8,18,18.2,18.4,18.6,18.8,19,19.2,19.4,19.6,19.8,20,20.5,21,21.5,22,22.5,23,23.5,24,24.5,25,25.5,26,26.5,27,27.5,28,28.5,29,29.5], 0.01}}, {{'gap', 30, 0.01}}, 1, 0, 'test_cod', 1)
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('U20_CRISTAL', resFileNames.params, resFileNames.filenames_meas_bkg, '', '', -1)
+stMeas = idMeasElecBeamUnd('U20_CRISTAL', 0, 'U20_CRISTAL_CVE_6', 1)
+%st.filelist = resFileNames; idSavetangoStruct(st, 'test_cod_filelist', 'U20_PROXIMA1', 0)
+    %do something else...
+%ls /home/operateur/GrpGMI/U20_PROXIMA1
+%stFileNamesMeasCOD = load('/home/operateur/GrpGMI/U20_PROXIMA1/test_cod_filelist_2007-01-24_14-20-54.mat');
+%vGap = [5.5, 6, 10];
+%fileNamesMeasBkg = idAuxPrepFileNameListMeasAndBkg(stFileNamesMeasCOD.filelist, length(vGap));
+%[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('U20_PROXIMA1', {{'gap', vGap}}, fileNamesMeasBkg, '', '', -1);
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('U20_PROXIMA1', resFileNames.params, resFileNames.filenames_meas_bkg, '', '', -1)
+
+%CHAMS, I've tested the COD meas. using idMeasElecBeamVsUndParam. It seems to work fine now. 03/02/2007 OC
+[resFNames, resErrorFlag] = idMeasElecBeamVsUndParam('U20_PROXIMA1', {{'gap', [29.5, 29.7], 0.01}}, {{'gap', 30, 0.01}}, 1, 0, 'test_cod_to_delete', 1)
+
+
+%Make Bump walking aroung eventual saturation of BPMs:
+idSetOrbitBump('BPMx', [4 1;4 2], [4.5,4.5], 'HCOR', [-4,-3,-2,-1,1,2,3,4]);
+%Measurement of COD vs Horizontal Bump:
+[resBumpMeasPLEIADES, ErrorFlag] = idMeasElecBeamVsUndParamVsBump('HU80_PLEIADES', {{'phase', [-40,-20,0,20,40], 0.01}, {'gap', [15.5], 0.01}}, {{'gap', 250, 0.01}, {'phase', 0, 0.01}}, 2, 0, 'inj_problem', 1, 'H', {[1,1],[-4.5,-4,-3.5,-3,-2.5,-2,-1.5,-1,-0.5,0,0.5,1,1.5,2,2.5,3,3.5,4,4.5]}, [-4,-3,-2,-1,1,2,3,4]);
+[resBumpMeasDEIMOS, ErrorFlag] = idMeasElecBeamVsUndParamVsBump('HU52_DEIMOS', {{'phase', [-25.99,-13,0,13,25.99], 0.01}, {'gap', [15.5], 0.01}}, {{'gap', 249, 0.01}, {'phase', 0, 0.01}}, 2, 0, 'bump_test', 1, 'H', {[1,1],[-4.5,-4,-3.5,-3,-2.5,-2,-1.5,-1,-0.5,0,0.5,1,1.5,2,2.5,3,3.5,4,4.5]}, [-4,-3,-2,-1,1,2,3,4]);
+
+%Calculation of Field Integrals and other characteristics vs Horizontal Bump:
+[vI1x, vI2x, vI1z, vI2z, vPosBump, vKickX1, vKickX2, vKickZ1, vKickZ2, dNuX, dNuZ] = idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL('HU80_PLEIADES', '/home/operateur/GrpGMI/GrpGMI/HU80_PLEIADES', resBumpMeasPLEIADES, {{'phase', -40}, {'gap', 15.5}}, '', {[3 3],[3 4],[3 5],[3 6],[3 7],[3 8],[4 1],[4 2],[4 3],[4 4],[4 5],[4 6],[4 7],    [5 3]});
+
+[vI1xP0c, vI2xP0c, vI1zP0c, vI2zP0c, vPosBumpC, vKickX1P0c, vKickX2P0c, vKickZ1P0c, vKickZ2P0c, dNuXP0c, dNuZP0c] = idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL('HU80_CASSIOPEE', '/home/operateur/GrpGMI/HU80_CASSIOPEE', stBumpCAS.resBumpMeas, {{'phase', 0}, {'gap', 15.5}}, '', {[8 1],[8 2],[8 3],[8 4],[8 5],[8 6],[8 7],[9 1],[9 2],[9 3],[9 4],[9 5],[9 6],[9 7]})
+[vI1xPm40_PL, vI2xPm40_PL, vI1zPm40_PL, vI2zPm40_PL, vPosBumpPm40_PL, vKickX1Pm40_PL, vKickX2Pm40_PL, vKickZ1Pm40_PL, vKickZ2Pm40_PL, dNuXPm40_PL, dNuZPm40_PL] = idCalcFldIntVsBumpFromElecBeamMeasForUndSOLEIL('HU80_PLEIADES', 'E:\MagnetsAndSR\InsertionDevices\HU80\Commissioning\from_control_room\july16_2007\HU80_PLEIADES', cod_bump_pleiades.resBumpMeas, {{'gap',15.5}, {'phase',-40}}, 'E:\MagnetsAndSR\InsertionDevices\HU80\Commissioning\IDStarter', {[3 3],[3 4],[3 5],[3 6],[3 7],[3 8],[4 1],[4 2],[4 3],[4 4],[4 5],[4 6],[4 7],[5,1],[5,2],[5 3]}, vKick2x_rad, vKick2z_rad)
+
+[new_mCHE_with_arg, new_mCVE_with_arg, new_mCHS_with_arg, new_mCVS_with_arg] = idUpdateFeedForwardCorTables2D('HU80_PLEIADES', {'antiParallelModeCHE', mCHE_with_arg}, {'antiParallelModeCVE', mCVE_with_arg}, {'antiParallelModeCHS', mCHS_with_arg}, {'antiParallelModeCVS', mCVS_with_arg}, vArgVert, vArgHor, updateMode, interpMeth
+
+%Partial COD measurement and update of FF cor. tables
+vPhase = [-40, -35, -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 40];
+vGap = [15.5];
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_TEMPO', {{'phase', vPhase, 0.01}, {'gap', vGap, 0.01}}, {{'phase', 0, 0.01}, {'gap', 239.5, 0.01}}, 2, 0, 'cod_it1_test', 1);
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU80_TEMPO', {{'phase', vPhase}, {'gap', vGap}}, resFiles.filenames_meas_bkg, '', '', -1);
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idUpdateFeedForwardCorTables2D('HU80_TEMPO', {'parallelModeCHE', mCHE}, {'parallelModeCVE', mCVE}, {'parallelModeCHS', mCHS}, {'parallelModeCVS', mCVS}, vGap, vPhase, 2, 'linear')
+
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU44_TEMPO', {{'phase', [0], 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 239.5], 0.01}}, {{'phase', 0, 0.01}, {'gap', 239.9, 0.01}}, 1, 0, 'codII_it01', 1)
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idUpdateFeedForwardCorTables2D('HU44_TEMPO', {'parallelModeCHE', mCHE_it01}, {'parallelModeCVE', mCVE_it01}, {'parallelModeCHS', mCHS_it01}, {'parallelModeCVS', mCVS_it01}, resFiles.params{2}{2}, resFiles.params{1}{2}, 2, 'linear')
+
+for i = 1:23 vPhasesR(i) = -22 + (i - 1)*2; end
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU44_TEMPO', {{'phase', vPhasesR, 0.01}, {'gap', [15.5], 0.01}}, {{'phase', 0, 0.01}, {'gap', 239.9, 0.01}}, 1, 0, 'codII_it02', 1)
+
+
+%Calculating FF tables for HU52_DEIMOS (semi-manual method):====================================
+%---reading summary structure of COD measurements for II mode:
+st_sum_hu52IIclean = load('/home/operateur/GrpGMI/HU52_DEIMOS/cod04_II_summary_2007-12-05_03-00-56.mat');
+%---calculating FF tables for the mesh vs gap and phase, corresponding to the COD measurements:
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU52_DEIMOS', {{'phase', st_sum_hu52IIclean.params{1}{2}}, {'gap', st_sum_hu52IIclean.params{2}{2}}}, st_sum_hu52IIclean.filenames_meas_bkg, '', '', -1)
+%---optional: removing lines from FF tables for the 175 < gap <= 250, where correctors 
+%are not efficient for horizontal field; and padding zeros for gap = 250 mm:
+mCHEr = idAuxMatrResizeExt(mCHE, 20, 17, 1, 1); mCHEr = idAuxMatrResizeExt(mCHEr, 21, 17, 1, 1);
+mCHSr = idAuxMatrResizeExt(mCHS, 20, 17, 1, 1); mCHSr = idAuxMatrResizeExt(mCHSr, 21, 17, 1, 1);
+mCVEr = idAuxMatrResizeExt(mCVE, 20, 17, 1, 1); mCVEr = idAuxMatrResizeExt(mCVEr, 21, 17, 1, 1);
+mCVSr = idAuxMatrResizeExt(mCVS, 20, 17, 1, 1); mCVSr = idAuxMatrResizeExt(mCVSr, 21, 17, 1, 1);
+%---merging calculated FF tables with arguments, to have exactly the same format as in DServers:
+paramsR = st_sum_hu52IIclean.params;
+paramsR{2}{2} = [15.5, 16.0, 18.0, 20.0, 22.5, 25.0, 27.5, 30.0, 35.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0,100.0,110.0,130.0,150.0,175.0,250];
+[mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHEr, mCVEr, mCHSr, mCVSr, paramsR)
+%---defining new phase values for the interpolated tables:
+for i = 1:33 vPhasesD(i) = -26 + (i - 1)*(52/32); end
+vPhasesD(1) = -25.99; vPhasesD(33) = 25.99;
+%---interpolating the FF tables on a more dense mesh:
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idInterpolFeedForwardCorTables2D(mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa, paramsR{2}{2}, vPhasesD, 'linear')
+%---updating the newly-created FF tables in DServer:
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idUpdateFeedForwardCorTables2D('HU52_DEIMOS', {'parallelModeCHE', new_mCHE_wa}, {'parallelModeCVE', new_mCVE_wa}, {'parallelModeCHS', new_mCHS_wa}, {'parallelModeCVS', new_mCVS_wa}, -1, -1, 1, 'linear')
+%%
+%%----------------Calcul tableFFWD LUCIA mode antiparallele
+%-----------------Ã  executer avant du demi-run avec Charles
+st_sum_hu52Xclean = load('/home/operateur/GrpGMI/HU52_LUCIA/cod_test_1_summary_2008-07-21_02-45-31.mat');
+%---calculating FF tables for the mesh vs gap and phase, corresponding to the COD measurements:
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU52_LUCIA', {{'phase', st_sum_hu52Xclean.params{1}{2}}, {'gap', st_sum_hu52Xclean.params{2}{2}}}, st_sum_hu52Xclean.filenames_meas_bkg, '', '', -1);
+%---optional: removing lines from FF tables for the 175 < gap <= 250, where correctors 
+%are not efficient for horizontal field; and padding zeros for gap = 250 mm:
+mCHEr = idAuxMatrResizeExt(mCHE, 20, 17, 1, 1); mCHEr = idAuxMatrResizeExt(mCHEr, 21, 17, 1, 1);
+mCHSr = idAuxMatrResizeExt(mCHS, 20, 17, 1, 1); mCHSr = idAuxMatrResizeExt(mCHSr, 21, 17, 1, 1);
+mCVEr = idAuxMatrResizeExt(mCVE, 20, 17, 1, 1); mCVEr = idAuxMatrResizeExt(mCVEr, 21, 17, 1, 1);
+mCVSr = idAuxMatrResizeExt(mCVS, 20, 17, 1, 1); mCVSr = idAuxMatrResizeExt(mCVSr, 21, 17, 1, 1);
+%---merging calculated FF tables with arguments, to have exactly the same format as in DServers:
+
+paramsR = st_sum_hu52Xclean.params;
+paramsR{2}{2} = [15.5, 16.0, 18.0, 20.0, 22.5, 25.0, 27.5, 30.0, 35.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0,100.0,110.0,130.0,150.0,175.0,240];
+% idAuxMergeFeedForward..... permet d'ajouter les phases(1ere ligne) et gaps(1ere colonne)
+[mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHE, mCVE, mCHS, mCVS, paramsR);
+for i = 1:33 vPhasesD(i) = -26 + (i - 1)*(52/32); end
+vPhasesD(1) = -26; vPhasesD(33) = 26;
+%---interpolating the FF tables on a more dense mesh:
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idInterpolFeedForwardCorTables2D(mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa, paramsR{2}{2}, vPhasesD, 'linear')
+%---updating the newly-created FF tables in DServer:
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idUpdateFeedForwardCorTables2D('HU52_LUCIA', {'antiParallelModeCHE', new_mCHE_wa}, {'antiParallelModeCVE', new_mCVE_wa}, {'antiParallelModeCHS', new_mCHS_wa}, {'antiParallelModeCVS', new_mCVS_wa}, -1, -1, 1, 'linear')
+
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU44_MICROFOC', {{'phase',[-22:2.75:22] , 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 239], 0.01}}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'cod_X', 1)
+HU44_MICROFOC_Struct_X=resFiles;
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU44_MICROFOC', {{'phase', HU44_MICROFOC_Struct_X.params{1}{2}}, {'gap', HU44_MICROFOC_Struct_X.params{2}{2}}}, HU44_MICROFOC_Struct_X.filenames_meas_bkg, '', '', -1);
+ParamR=HU44_MICROFOC_Struct_X.params;
+ParamR{2}{2}=[15.5000   16.0000   18.0000   20.0000   22.5000   25.0000   27.5000   30.0000   35.0000   40.0000   50.0000   60.0000 70.0000   80.0000   90.0000  100.0000  110.0000  130.0000  150.0000  175.0000  239.0000] % On enlÃšve les valeurs de gaps dÃ©connantes
+mCVEr = idAuxMatrResizeExt(mCVE, 20, 17, 1, 1); mCVEr = idAuxMatrResizeExt(mCVEr, 21, 17, 1, 1); % idem pour les 3 autres
+[mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHEr, mCVEr, mCHSr, mCVSr, ParamR)
+vphaseD=-22:2:22;
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idInterpolFeedForwardCorTables2D(mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa, ParamR{2}{2}, vPhasesD, 'linear')
+
+vPhase = [-4:2:4]
+vgap = [15.5,16,18,20,22.5,25,27.5,30]
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU44_MICROFOC', {{'phase', vPhase, 0.01}, {'gap', vgap, 0.01}}, {{'phase', 0, 0.01}, {'gap', 239.5, 0.01}}, 2, 0, 'cod_Xit1_test', 1);
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU44_MICROFOC', {{'phase', vPhase}, {'gap', vgap}}, resFiles.filenames_meas_bkg, '', '', -1)
+Some "nan" appear in the tables. We load an orbit. The nan is the 2nd value of the vector. => We skipp BPM nÂ°2
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU44_MICROFOC', {{'phase', vPhase}, {'gap', vgap}}, resFiles.filenames_meas_bkg, '', '', 2)
+[mCHEit1, mCVEit1, mCHSit1, mCVSit1] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHE, mCVE, mCHS, mCVS, resFiles.params)
+idUpdateFeedForwardCorTables2D('HU44_MICROFOC', {'antiParallelModeCHE', mCHEit1}, {'antiParallelModeCVE', mCVEit1}, {'antiParallelModeCHS', mCHSit1}, {'antiParallelModeCVS', mCVSit1}, -1, -1, 2, 'linear')    % False!!
+[mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa]=idUpdateFeedForwardCorTables2D('HU44_MICROFOC', {'antiParallelModeCHE', mCHEit1}, {'antiParallelModeCVE', mCVEit1}, {'antiParallelModeCHS', mCHSit1}, {'antiParallelModeCVS', mCVSit1}, vgap, vPhase, 2, 'linear') % Doesn't work : we obtain currents up to 21 A!!!
+% It seems to work to be chexked during the next run
+[new_mCHE1_wa, new_mCVE1_wa, new_mCHS1_wa, new_mCVS1_wa] =idUpdateFeedForwardCorTables2D('HU44_MICROFOC', {'antiParallelModeCHE', mCHE1}, {'antiParallelModeCVE', mCVE1}, {'antiParallelModeCHS', mCHS1}, {'antiParallelModeCVS', mCVS1}, vgap, vPhase, 2, 'linear')% mCVE*, mCHE*, mCHS*, mCVS are not merged but we give as argument the phase and the gap
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%Sauvergarde d'une structure
+save ('/home/operateur/GrpGMI/HU44_MICROFOC/cod_Xit1_test_phase-4_gap15_5_2008-10-21_00-17-07', '-struct',  'toto1')
+tata=load('/home/operateur/GrpGMI/HU44_MICROFOC/cod_Xit1_test_phase-4_gap15_5_2008-10-21_00-17-07')
+
+
+
+%commissioning d'un onduleur sous vide
+
+[resFileNames, resErrorFlag] = idMeasElecBeamVsUndParam('U20_CRISTAL', {{'gap', [5.5,5.6,5.7,5.8,5.9,6,6.1,6.2,6.3,6.4,6.5,6.6,6.7,6.8,6.9,7,7.1,7.2,7.3,7.4,7.5,7.6,7.7,7.8,7.9,8,8.1,8.2,8.3,8.4,8.5,8.6,8.7,8.8,8.9,9,9.1,9.2,9.3,9.4,9.5,9.6,9.7,9.8,9.9,10,10.2,10.4,10.6,10.8,11,11.2,11.4,11.6,11.8,12,12.2,12.4,12.6,12.8,13,13.2,13.4,13.6,13.8,14,14.2,14.4,14.6,14.8,15,15.2,15.4,15.6,15.8,16,16.2,16.4,16.6,16.8,17,17.2,17.4,17.6,17.8,18,18.2,18.4,18.6,18.8,19,19.2,19.4,19.6,19.8,20,20.5,21,21.5,22,22.5,23,23.5,24,24.5,25,25.5,26,26.5,27,27.5,28,28.5,29,29.5], 0.01}}, {{'gap', 30, 0.01}}, 1, 0, 'test_cod', 1)
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('U20_CRISTAL', resFileNames.params, resFileNames.filenames_meas_bkg, '', '', -1)
+stMeas = idMeasElecBeamUnd('U20_CRISTAL', 0, 'U20_CRISTAL_CVE_6', 1)
+
+%commissioning de HU60 antares
+% 14/07/09 F.Marteau
+
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU60_ANTARES', {{'phase',[-30:3.75:30] , 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 239], 0.01}}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'cod_P', 1)
+% commande pour calibration des correcteurs de HU60
+tableCurInCor = [0 0 0 0; -10 0 0 0; -5 0 0 0; 0 0 0 0; 5 0 0 0; 10 0 0 0; 0 0 0 0; 0 -10 0 0; 0 -5 0 0; 0 0 0 0; 0 5 0 0; 0 10 0 0; 0 0 0 0; 0 0 -10 0; 0 0 -5 0; 0 0 0 0; 0 0 5 0; 0 0 10 0; 0 0 0 0; 0 0 0 -10; 0 0 0 -5; 0 0 0 0; 0 0 0 5; 0 0 0 10]
+[fileNames, res] = idMeasCorEffic('HU60_ANTARES', tableCurInCor, 0, 'C1G15_5', 1) % pour gap 15.5
+
+% test FM OTP 31/01/10 sur Hu80 Microfoc
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_MICROFOC', {{'phase',[-0.1,0,0.1] , 0.01}, {'gap', [239.5,239.6], 0.01}}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'test', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_MICROFOC', {{'phase',[-40:4:40] , 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 239], 0.01}}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'COD_P', 1)
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU80_MICROFOC', {{'phase',[4:4:40] , 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 239], 0.01}}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'COD_X_2', 1)
+ % Bump HU60 CASSIOPEE 
+ vPhase = [-30:3:30]
+ setorbitbump('BPMx',[15 1; 15 2], 1.0*[0.5 ; 0.5],'HCOR', [-4 -3 -2 -1 1 2 3 4],'FitRF')
+ [resFiles, resErr] = idMeasElecBeamVsUndParam('HU60_CASSIOPEE', {{'gap', [15.5], 0.01},{'phase',vPhase, 0.01},}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'codX_BP_0mm', 1)
+ 
+  % Bump HU60 ANTARES
+ vPhase = [-30:3:30]
+ setorbitbump('BPMx',[12 1; 12 2], 1.0*[0.5 ; 0.5],'HCOR', [-4 -3 -2 -1 1 2 3 4],'FitRF')
+ [resFiles, resErr] = idMeasElecBeamVsUndParam('HU60_ANTARES', {{'gap', [15.5], 0.01},{'phase',vPhase, 0.01},}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'codX_BP_0mm', 1)
+ 
+ %Mise Ã  jour des tables de HU44 TEMPO FM et LC 27/06/10
+ 
+ 
+ % MAJ HU80 PLEIADES 21/01/2011
+ % Calibration des correcteurs le 06/12/2011
+ % Acquisition des COD ANTI et PARA le 13/12/2011
+ st = load('/home/operateur/GrpGMI/HU80_PLEIADES/cod_HU80_PLEIADES_ANTI_summary_2010-12-14_02-35-52.mat')
+
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU80_PLEIADES', {{'phase', st.params{1}{2},0.01}}, {{'gap', st.params{2}{2},0.01}}, st.filenames_meas_bkg, '', '', -1)
+
+
+hu44_tempo=load('MAJ_2706_P_summary_2010-06-28_01-46-19.mat')
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU44_TEMPO', {{'phase', hu44_tempo.params{1}{2}}, {'gap', hu44_tempo.params{2}{2}}}, hu44_tempo.filenames_meas_bkg, '', '', -1)
+mCHEr = idAuxMatrResizeExt(mCHE, 20, 17, 1, 1) % suppression des valeurs de correcteurs non significatifs entre 175 et 240 mm
+mCHEr = idAuxMatrResizeExt(mCHEr, 21, 17, 1, 1)% ajout de la valeur 0 pour gap 240
+mCHSr = idAuxMatrResizeExt(mCHS, 20, 17, 1, 1); mCHSr = idAuxMatrResizeExt(mCHSr, 21, 17, 1, 1);
+mCVEr = idAuxMatrResizeExt(mCVE, 20, 17, 1, 1); mCVEr = idAuxMatrResizeExt(mCVEr, 21, 17, 1, 1);
+mCVSr = idAuxMatrResizeExt(mCVS, 20, 17, 1, 1); mCVSr = idAuxMatrResizeExt(mCVSr, 21, 17, 1, 1);
+paramsR = hu44_tempo.params;
+paramsR{2}{2} = [15.5, 16.0, 18.0, 20.0, 22.5, 25.0, 27.5, 30.0, 35.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0,100.0,110.0,130.0,150.0,175.0,240];
+%---------------------
+% ajout de la ligne de phase et de la colonne de gap
+%--------------------
+[mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHEr, mCVEr, mCHSr, mCVSr, paramsR);
+%-----------------------------
+for i = 1:45 vPhasesD(i) = -22 + (i - 1)*(44/44); end   % nouvelles valeurs de phases pour interpolation
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idInterpolFeedForwardCorTables2D(mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa, paramsR{2}{2}, vPhasesD, 'linear')
+save('maj_cve.txt','new_mCVE_wa','-ascii')  %sauvegarde au format texte des nouvelles tables
+save('maj_cvs.txt','new_mCVS_wa','-ascii')  % comme les acquisitions des COD ont ete faite avec le FFWD, il faut
+save('maj_chs.txt','new_mCHS_wa','-ascii')  % ajouter ces tables aux tables deja existantes
+save('maj_che.txt','new_mCHE_wa','-ascii')  %--> utilisation de OpenOffice pour faire la somme "Ã  la main"
+
+
+RUN SEXTANTS 05 / 03 / 2011 : Mise Ã  jour des tables !!!
+
+old_mCHS_II=load('/usr/Local/configFiles/InsertionFFTables/ANS-C14-HU80/FF_PARALLEL_CHS_TABLE.txt');
+[old_mCHE_II_int, old_mCVE_II_int, old_mCHS_II_int, old_mCVS_II_int] = idInterpolFeedForwardCorTables2D(old_mCHE_II, old_mCVE_II, old_mCHS_II, old_mCVS_II, [15.5:0.5:240], [-40:1:40], 'linear')
+old_mCVE_II_int=old_mCVE_II_int(1:449, :);
+old_mCHE_II_int=old_mCHE_II_int(1:449, :);
+old_mCHS_II_int=old_mCHS_II_int(1:449, :);
+old_mCVS_II_int=old_mCVS_II_int(1:449, :);
+
+Structure=load('/home/operateur/GrpGMI/HU80_SEXTANTS/cod_HU80_PLEIADES_PARA_summary_2011-01-24_03-18-39.mat')
+idCalcFeedForwardCorTables('HU80_SEXTANTS', {{'phase', BKG.params{1}{2}}, {'gap', BKG.params{2}{2}}}, BKG.filenames_meas_bkg, '', '', -1);
+
+[maj_mCHE, maj_mCVE, maj_mCHS, maj_mCVS] = idCalcFeedForwardCorTables('HU80_SEXTANTS', {{'phase', Structure.params{1}{2}}, {'gap', Structure.params{2}{2}}}, Structure.filenames_meas_bkg, '', '', -1);
+[maj_mCHE_wa, maj_mCVE_wa, maj_mCHS_wa, maj_mCVS_wa] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(maj_mCHE, maj_mCVE, maj_mCHS, maj_mCVS, Structure.params)
+[maj_mCHE_wa_int, maj_mCVE_wa_int, maj_mCHS_wa_int, maj_mCVS_wa_int] = idInterpolFeedForwardCorTables2D(maj_mCHE_wa, maj_mCVE_wa, maj_mCHS_wa, maj_mCVS_wa, [15.5:0.5:240], [-40:1:40], 'linear')
+
+maj_mCHE_wa_int_II=maj_mCHE_wa_int(1:449, :);
+maj_mCVE_wa_int_II=maj_mCVE_wa_int(1:449, :);
+maj_mCVS_wa_int_II=maj_mCVS_wa_int(1:449, :);
+maj_mCHS_wa_int_II=maj_mCHS_wa_int(1:449, :);
+new_mCHS_wa_II=old_mCHS_II_int;
+new_mCVS_wa_II=old_mCVS_II_int;
+new_mCVE_wa_II=old_mCVE_II_int;
+new_mCVE_wa_II(2:449, 2:82)=old_mCVE_II_int(2:449, 2:82)+maj_mCVE_wa_int_II(2:449, 2:82);
+new_mCVS_wa_II(2:449, 2:82)=old_mCVS_II_int(2:449, 2:82)+maj_mCVS_wa_int_II(2:449, 2:82);
+new_mCVS_wa_II(2:449, 2:82)=old_mCVS_II_int(2:449, 2:82)+maj_mCVS_wa_int_II(2:449, 2:82);
+new_mCHS_wa_II(2:449, 2:82)=old_mCHS_II_int(2:449, 2:82)+maj_mCHS_wa_int_II(2:449, 2:82);
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C14-HU80/FF_PARALLEL_CHE_TABLE.txt','new_mCHE_wa_II','-ascii')
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C14-HU80/FF_PARALLEL_CHS_TABLE.txt','new_mCHS_wa_II','-ascii')
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C14-HU80/FF_PARALLEL_CVS_TABLE.txt','new_mCVS_wa_II','-ascii')
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C14-HU80/FF_PARALLEL_CVE_TABLE.txt','new_mCVE_wa_II','-ascii')
+%--------------------------------
+% Acquisition des COD pour HU42
+%------------------------------
+[resFiles, resErr] = idMeasElecBeamVsUndParam('HU42_HERMES', {{'phase',[-21:2.625:21] , 0.01}, {'gap', [15.5, 16, 18, 20, 22.5, 25, 27.5, 30, 35, 40, 50, 60, 70, 80, 90, 100, 110, 130, 150, 175, 200, 225, 239], 0.01}}, {{'phase', 0, 0.01}, {'gap', 240, 0.01}}, 1, 0, 'cod_X', 1)
+%--------------------------------
+%------------------------------
+[structureAllFileNames, res] = idMeasCorEfficForAllGaps('HU42_HERMES', '', 10, [15.5, 16, ...], 1)
+%  [structureAllFileNames, res] = idMeasCorEfficForAllGaps(idName, fileNameCore, maxAbsCorCurrent, vectorOfGaps, dispData)
+ idAuxFormatElecBeamMeasDataAfterEfficiency(structureAllFileNames, 0)
+%  idAuxFormatElecBeamMeasDataAfterEfficiency(EfficiencyResutlStructure, displayOnScreen)
+% calcul des tables de HU42
+st_sum_hu42 = load('/home/operateur/GrpGMI/HU42_HERMES/cod_P_summary_2011-01-24_10-35-01.mat');
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU42_HERMES', {{'phase', st_sum_hu42.params{1}{2}}, {'gap', st_sum_hu42.params{2}{2}}}, st_sum_hu42.filenames_meas_bkg, '', '', -1)
+% j'ai supprimÃ© les lignes a partir de gap 175 (j'ai gardÃ© 150) Ã  240
+% puis j'ai remplacÃ© la ligne de 240 par des zeros
+% voici donc la liste des gaps
+paramsR{2}{2} = [15.5, 16.0, 18.0, 20.0, 22.5, 25.0, 27.5, 30.0, 35.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0,100.0,110.0,130.0,150.0,240]
+% j'ai "redensifier" le mesh des phases
+for i = 1:33 vPhasesD(i) = -21 + (i - 1)*(42/32); end
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idInterpolFeedForwardCorTables2D(mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa, paramsR{2}{2}, vPhasesD, 'linear');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CHE_TABLE.txt','new_mCHE_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CVE_TABLE.txt','new_mCVE_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CHS_TABLE.txt','new_mCHS_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CVS_TABLE.txt','new_mCVS_wa','-ascii');
+% apres l'iteration 2 : calcul des mise a jour de la table mode para:
+st_sum_hu42 = load('/home/operateur/GrpGMI/HU42_HERMES/it2_P_summary_2011-03-22_04-33-16.mat');
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU42_HERMES', {{'phase', st_sum_hu42.params{1}{2}}, {'gap', st_sum_hu42.params{2}{2}}}, st_sum_hu42.filenames_meas_bkg, '', '', -1)
+% reste a mettre en place la nouvelle table... a suivre
+%--------------------------------------------------------------------------
+% 13/06/2011 Calibration des correcteurs de HU42
+%--------------------------------------------------------------------------
+gap_cal=[15.5 18 20 22.5 25 27.5 30 35 40 50 60 70 80 90 100 110 130 150 175 200 225 240];
+[structureAllFileNames, res] = idMeasCorEfficForAllGaps('HU42_HERMES', '', 10, gap_cal, 1);
+% script de Fabien pour generer la sequence Ã  introduire dans 'idReadCorElecBeamMeasData' file
+idAuxFormatElecBeamMeasDataAfterEfficiency(structureAllFileNames, 0)
+st_sum_hu42 = load('/home/operateur/GrpGMI/HU42_HERMES/cod_P_summary_2011-01-24_10-35-01.mat');
+paramsR = st_sum_hu42.params;
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU42_HERMES', {{'phase', st_sum_hu42.params{1}{2}}, {'gap', st_sum_hu42.params{2}{2}}}, st_sum_hu42.filenames_meas_bkg, '', '', -1)
+[mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHE, mCVE, mCHS, mCVS, paramsR);
+for i = 1:33 vPhasesD(i) = -21 + (i - 1)*(42/32); end
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idInterpolFeedForwardCorTables2D(mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa, paramsR{2}{2}, vPhasesD, 'linear')
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CHE_TABLE.txt','new_mCHE_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CVE_TABLE.txt','new_mCVE_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CVS_TABLE.txt','new_mCVS_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CHS_TABLE.txt','new_mCHS_wa','-ascii');
+st_sum_hu42X = load('/home/operateur/GrpGMI/HU42_HERMES/cod_X_summary_2011-01-24_14-23-32.mat');
+paramsR = st_sum_hu42X.params;
+[mCHE, mCVE, mCHS, mCVS] = idCalcFeedForwardCorTables('HU42_HERMES', {{'phase', st_sum_hu42X.params{1}{2}}, {'gap', st_sum_hu42X.params{2}{2}}}, st_sum_hu42X.filenames_meas_bkg, '', '', -1)
+[mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa] = idAuxMergeFeedForwardCorTablesWithArgForAppleII(mCHE, mCVE, mCHS, mCVS, paramsR);
+for i = 1:33 vPhasesD(i) = -21 + (i - 1)*(42/32); end
+[new_mCHE_wa, new_mCVE_wa, new_mCHS_wa, new_mCVS_wa] = idInterpolFeedForwardCorTables2D(mCHE_wa, mCVE_wa, mCHS_wa, mCVS_wa, paramsR{2}{2}, vPhasesD, 'linear')
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CHE_TABLE.txt','new_mCHE_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CVE_TABLE.txt','new_mCVE_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CVS_TABLE.txt','new_mCVS_wa','-ascii');
+save('/usr/Local/configFiles/InsertionFFTables/ANS-C10-HU42/FF_PARALLEL_CHS_TABLE.txt','new_mCHS_wa','-ascii');
+
+
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/insertions/switchHU640Cor.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/insertions/switchHU640Cor.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/insertions/switchHU640Cor.m	(revision 17)
@@ -0,0 +1,34 @@
+function switchHU640Cor(varargin)
+%  SWITCHHU640COR - turn off/on the status of the H640 correctors
+%
+%  INPUTS
+%  1. 'ON', {'OFF'}
+%
+
+%
+% Written by Laurent S. Nadolski
+
+if isempty(varargin)
+    Flag = 'OFF';
+else
+    Flag = upper(deblank(varargin{1}));
+end
+
+if strcmp(Flag,'OFF')
+    % Deactivation of the HU640 correctors
+    setfamilydata(0,'HCOR', 'Status', [5 8])
+    setfamilydata(0,'HCOR', 'Status', [5 9])
+
+    setfamilydata(0,'VCOR', 'Status', [5 8])
+    setfamilydata(0,'VCOR', 'Status', [5 9])
+    
+elseif strcmp(Flag,'ON')
+    % Activation of the HU640 correctors
+    setfamilydata(1,'HCOR', 'Status', [5 8])
+    setfamilydata(1,'HCOR', 'Status', [5 9])
+
+    setfamilydata(1,'VCOR', 'Status', [5 8])
+    setfamilydata(1,'VCOR', 'Status', [5 9])
+else
+    error('Unknown Option. Action Aborted');
+end
Index: /trunk/machine/SOLEIL/StorageRing/loco/LOCOsymgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/LOCOsymgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/LOCOsymgui.m	(revision 17)
@@ -0,0 +1,255 @@
+function varargout = LOCOsymgui(varargin)
+% LOCOSYMGUI M-file for LOCOsymgui.fig
+%      LOCOSYMGUI, by itself, creates a new LOCOSYMGUI or raises the existing
+%      singleton*.
+%
+%      H = LOCOSYMGUI returns the handle to a new LOCOSYMGUI or the handle to
+%      the existing singleton*.
+%
+%      LOCOSYMGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in LOCOSYMGUI.M with the given input arguments.
+%
+%      LOCOSYMGUI('Property','Value',...) creates a new LOCOSYMGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before LOCOsymgui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to LOCOsymgui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help LOCOsymgui
+
+% Last Modified by GUIDE v2.5 21-Jul-2009 20:40:07
+
+% Begin initialization code - DO NOT EDIT
+
+fprintf('Appli HS en optique 163 quadrupoles\n')
+return;
+
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @LOCOsymgui_OpeningFcn, ...
+                   'gui_OutputFcn',  @LOCOsymgui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before LOCOsymgui is made visible.
+function LOCOsymgui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to LOCOsymgui (see VARARGIN)
+
+% Choose default command line output for LOCOsymgui
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes LOCOsymgui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+handles.DK = NaN;
+handles.Mode = 'Online';
+
+handles.K1i_before = NaN;
+handles.K2i_before = NaN;
+handles.K3i_before = NaN;
+handles.K4i_before = NaN;
+handles.K5i_before = NaN;
+handles.K6i_before = NaN;
+handles.K7i_before = NaN;
+handles.K8i_before = NaN;
+handles.K9i_before = NaN;
+handles.K10i_before = NaN;
+handles.QT_before = NaN;
+handles.tune_before = NaN;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = LOCOsymgui_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in pushbutton_storedata.
+function pushbutton_storedata_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_storedata (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+Mode = 'Online';
+
+fprintf('Reading Quad values \n');
+
+try
+    handles.K1i_before=getsp('Q1',handles.Mode,'Physics');
+    handles.K2i_before=getsp('Q2',handles.Mode,'Physics');
+    handles.K3i_before=getsp('Q3',handles.Mode,'Physics');
+    handles.K4i_before=getsp('Q4',handles.Mode,'Physics');
+    handles.K5i_before=getsp('Q5',handles.Mode,'Physics');
+    handles.K6i_before=getsp('Q6',handles.Mode,'Physics');
+    handles.K7i_before=getsp('Q7',handles.Mode,'Physics');
+    handles.K8i_before=getsp('Q8',handles.Mode,'Physics');
+    handles.K9i_before=getsp('Q9',handles.Mode,'Physics');
+    handles.K10i_before=getsp('Q10',handles.Mode,'Physics');
+
+    handles.QT_before = getsp('QT', handles.Mode, 'Physics');
+
+    handles.tune_before = gettune;
+
+    fprintf('Nux = %f Nuz = %f\n', handles.tune_before);
+
+    set(handles.pushbutton_Symmetry,'Enable', 'On')
+    set(handles.pushbutton_Coupling,'Enable', 'On')
+
+catch
+    fprintf('Error \n')
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% --- Executes on button press in pushbutton_Symmetry.
+function pushbutton_Symmetry_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Symmetry (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%% 160 quad % -1 full correctionvehandles.DK
+k = -1;
+setsp('Q1',k* handles.DK(1:8) + handles.K1i_before, handles.Mode,'Physics');
+setsp('Q2',k* handles.DK(9:16) + handles.K2i_before, handles.Mode,'Physics');
+setsp('Q3',k* handles.DK(17:24) + handles.K3i_before, handles.Mode,'Physics');
+setsp('Q4',k* handles.DK(25:40) + handles.K4i_before, handles.Mode,'Physics');
+setsp('Q5',k* handles.DK(41:56) + handles.K5i_before, handles.Mode,'Physics');
+setsp('Q6',k* handles.DK(57:80) + handles.K6i_before, handles.Mode,'Physics');
+setsp('Q7',k* handles.DK(81:104) + handles.K7i_before, handles.Mode,'Physics');
+setsp('Q8',k* handles.DK(105:128) + handles.K8i_before, handles.Mode,'Physics');
+setsp('Q9',k* handles.DK(129:144) + handles.K9i_before, handles.Mode,'Physics');
+setsp('Q10',k* handles.DK(145:160) + handles.K10i_before, handles.Mode,'Physics');
+pause(5);
+tune = gettune;
+fprintf('Tunes variations for iter0 is Dnux = %f Dnuz =%f\n', tune-handles.tune_before);
+
+set(handles.pushbutton_CancelDK, 'Enable', 'on');
+
+% --- Executes on button press in pushbutton_Coupling.
+function pushbutton_Coupling_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Coupling (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% skew quad -1 for full correction
+k =-1;
+setsp('QT',k* handles.DK(161:192) + handles.QT_before, handles.Mode,'Physics');
+
+fprintf('Correction applied on QTs \n');
+
+set(handles.pushbutton_CancelDK, 'Enable', 'on');
+
+% --- Executes on button press in pushbutton_LOCODATA.
+function pushbutton_LOCODATA_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_LOCODATA (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp = evalin('base', 'LOCOstruct');
+
+handles.DK = temp.DK;
+
+% Update handles structure
+guidata(hObject, handles);
+
+set(handles.pushbutton_LOCODATA, 'BackgroundColor', [0 1 0]);
+set(handles.pushbutton_PlotDK, 'Enable', 'on');
+
+
+
+% --- Executes on button press in pushbutton_PlotDK.
+function pushbutton_PlotDK_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_PlotDK (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+analoco('160quad');
+
+
+% --- Executes on button press in pushbutton_CancelDK.
+function pushbutton_CancelDK_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_CancelDK (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% 160 quad % -1 full correctionvehandles.DK
+k = 0;
+QuadFlag = 0;
+QTFlag = 1;
+
+if QuadFlag
+    setsp('Q1',k* handles.DK(1:8) + handles.K1i_before, handles.Mode,'Physics');
+    setsp('Q2',k* handles.DK(9:16) + handles.K2i_before, handles.Mode,'Physics');
+    setsp('Q3',k* handles.DK(17:24) + handles.K3i_before, handles.Mode,'Physics');
+    setsp('Q4',k* handles.DK(25:40) + handles.K4i_before, handles.Mode,'Physics');
+    setsp('Q5',k* handles.DK(41:56) + handles.K5i_before, handles.Mode,'Physics');
+    setsp('Q6',k* handles.DK(57:80) + handles.K6i_before, handles.Mode,'Physics');
+    setsp('Q7',k* handles.DK(81:104) + handles.K7i_before, handles.Mode,'Physics');
+    setsp('Q8',k* handles.DK(105:128) + handles.K8i_before, handles.Mode,'Physics');
+    setsp('Q9',k* handles.DK(129:144) + handles.K9i_before, handles.Mode,'Physics');
+    setsp('Q10',k* handles.DK(145:160) + handles.K10i_before, handles.Mode,'Physics');
+end
+
+if QTFlag
+    setsp('QT',k* handles.DK(161:192) + handles.QT_before, handles.Mode,'Physics');
+end    
+
+pause(5);
+tune = gettune;
+fprintf('Tunes variations for iter0 is Dnux = %f Dnuz =%f\n', tune-handles.tune_before);
+
+set(handles.pushbutton_CancelDK, 'Enable', 'off');
+
+
+% --- Executes on button press in checkbox_Quad.
+function checkbox_Quad_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_Quad (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_Quad
+
+
+% --- Executes on button press in checkbox_QT.
+function checkbox_QT_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_QT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_QT
+
+
Index: /trunk/machine/SOLEIL/StorageRing/loco/analoco.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/analoco.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/analoco.m	(revision 17)
@@ -0,0 +1,99 @@
+function analoco(varargin)
+
+FileName = {};
+PathName='';
+
+if ~isempty(varargin)
+    FileName = varargin{1}
+end
+
+if isempty(FileName)
+    [FileName, PathName] = uigetfile('*.mat', 'Select A LOCO File (cancel to stop)', [getfamilydata('Directory','DataRoot'), 'LOCO', filesep]);
+    drawnow;
+    if ~ischar(FileName)
+        if iFile == 1
+            return;
+        end
+    else
+        FileName = [PathName, FileName];
+    end
+end
+
+load(FileName)
+
+if isempty(PathName)
+    dirName = pwd;
+else
+    dirName = PathName
+    [a FileName] = fileparts(FileName)
+end
+ind = findstr(dirName,'LOCO');
+dirName(1:ind+4) = [];
+    
+%%
+figure
+hold on;
+grid on;
+slegend = {};
+for k=2:length(FitParameters),
+    % dKoK in percent
+    dKoK = (FitParameters(k).Values(1:160) - FitParameters(1).Values(1:160))./ FitParameters(1).Values(1:160) *100;
+    plot(dKoK,'Color',nxtcolor)
+    slegend = {slegend{:}, ['Iteration #' num2str(k-1)]};
+end
+legend(slegend);
+
+xaxis([0 length(dKoK)+1]); grid on; hold on;
+a = axis;
+plot([9 9], [-8 8],'r-.')
+plot([17 17], [-8 8],'r-.')
+plot([25 25], [-8 8],'r-.')
+plot([41 41], [-8 8],'r-.')
+plot([57 57], [-8 8],'r-.')
+plot([81 81], [-8 8],'r-.')
+plot([105 105], [-8 8],'r-.')
+plot([129 129], [-8 8],'r-.')
+plot([145 145], [-8 8],'r-.')
+
+axis(a);
+
+xlabel('Quadrupole number');
+ylabel('dKoK [%]');
+
+title(['Relative quadrupole variations for file ', dirName, filesep, FileName], 'interpreter', 'none');
+
+%%
+figure
+
+% quadrupoles sorted in machine order
+quadpos = [getspos('Q1'); getspos('Q2') ; getspos('Q3') ; getspos('Q4'); ...
+    getspos('Q5') ; getspos('Q6') ; getspos('Q7') ; getspos('Q8'); ...
+    getspos('Q9'); getspos('Q10')];
+
+[y id] = sort(quadpos);
+bar(y,dKoK(id)); grid on
+ylabel('dKoK [%]');
+xlabel('s-position [m]');
+title(['Relative quadrupole variations: ', dirName, filesep, FileName], 'interpreter', 'none');
+
+%%
+figure
+hold;
+grid on;
+slegend = {};
+
+if length(FitParameters(1).Values) > 160
+    for k=2:length(FitParameters),
+        % dKoK in percent
+        dKoK = FitParameters(k).Values(161:end)*1e-8;
+        plot(dKoK,'Color',nxtcolor)
+        slegend = {slegend{:}, ['Iteration #' num2str(k-1)]};
+    end
+    legend(slegend);
+
+    xlabel('Skew Quadrupole number');
+    ylabel('QT [T.m]');
+
+    title(['QT variations for file ', dirName, filesep, FileName], 'interpreter', 'none');
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/loco/applysymmetrisation.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/applysymmetrisation.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/applysymmetrisation.m	(revision 17)
@@ -0,0 +1,116 @@
+% to get data structure from LOCO
+global LOCOstruct;
+
+% gradient variation
+% since we do not have current to gradient conversion
+% we have to convert everything around the working point
+
+%[DK1 DK2 DK3 DK4 DK5 DK6 DK7 DK8 DK9 DK10 DK11 DK12] = LOCOstruct.DK
+
+%A = load('160quad.mat');
+
+DK = LOCOstruct.DK;
+
+%Mode = 'Model';
+Mode = 'Online';
+
+
+% RÃ©cupÃ©rer AO
+AO = getao;
+
+
+%% Index des QpÃŽles
+
+% CrÃ©ation des IndeX Q1 Ã  Q10
+IndexQ1 = AO.Q1.ElementList;
+IndexQ2 = AO.Q2.ElementList + max(IndexQ1);
+IndexQ3 = AO.Q3.ElementList + max(IndexQ2);
+IndexQ4 = AO.Q4.ElementList + max(IndexQ3);
+IndexQ5 = AO.Q5.ElementList + max(IndexQ4);
+IndexQ6 = AO.Q6.ElementList + max(IndexQ5);
+IndexQ7 = AO.Q7.ElementList + max(IndexQ6);
+IndexQ8 = AO.Q8.ElementList + max(IndexQ7);
+IndexQ9 = AO.Q9.ElementList + max(IndexQ8);
+IndexQ10 = AO.Q10.ElementList + max(IndexQ9);
+
+LastIndex = max(IndexQ10);
+
+% CrÃ©ation de l'Index Q11 si Status = 1
+if AO.Q11.Status == 1
+    IndexQ11 = AO.Q11.ElementList + LastIndex;
+    LastIndex = max(IndexQ11);
+end
+
+% CrÃ©ation de l'Index Q12 si Status = 1
+if AO.Q12.Status == 1
+    IndexQ12 = AO.Q12.ElementList + LastIndex;
+    LastIndex = max(IndexQ12);
+end
+
+% CrÃ©ation de l'Index QT des QT avec status = 1
+sizeQT = size(find(AO.QT.Status),1);
+IndexQT = (1:sizeQT) + LastIndex;
+
+
+
+%% getsp Q famille
+K1i_before=getsp('Q1',Mode,'Physics');
+K2i_before=getsp('Q2',Mode,'Physics');
+K3i_before=getsp('Q3',Mode,'Physics');
+K4i_before=getsp('Q4',Mode,'Physics');
+K5i_before=getsp('Q5',Mode,'Physics');
+K6i_before=getsp('Q6',Mode,'Physics');
+K7i_before=getsp('Q7',Mode,'Physics');
+K8i_before=getsp('Q8',Mode,'Physics');
+K9i_before=getsp('Q9',Mode,'Physics');
+K10i_before=getsp('Q10',Mode,'Physics');
+K11i_before=getsp('Q11',Mode,'Physics');
+K12i_before=getsp('Q12',Mode,'Physics');
+
+QT0 = getsp('QT', Mode, 'Physics');
+
+tune0=gettune;
+% %% Famille
+%
+% k = 0;
+% setsp('Q1',k* DK(1) + K1i_before, Mode,'Physics');
+% setsp('Q2',k* DK(2) + K2i_before, Mode,'Physics');
+% setsp('Q3',k* DK(3) + K3i_before, Mode,'Physics');
+% setsp('Q4',k* DK(4) + K4i_before, Mode,'Physics');
+% setsp('Q5',k* DK(5) + K5i_before, Mode,'Physics');
+% setsp('Q6',k* DK(6) + K6i_before, Mode,'Physics');
+% setsp('Q7',k* DK(7) + K7i_before, Mode,'Physics');
+% setsp('Q8',k* DK(8) + K8i_before, Mode,'Physics');
+% setsp('Q9',k* DK(9) + K9i_before, Mode,'Physics');
+% setsp('Q10',k* DK(10) + K10i_before, Mode,'Physics');
+% %modelbeta
+
+%% 160 quad % -1 full correctionveDK
+k = -1;
+setsp('Q1',k* DK(IndexQ1) + K1i_before, Mode,'Physics');
+setsp('Q2',k* DK(IndexQ2) + K2i_before, Mode,'Physics');
+setsp('Q3',k* DK(IndexQ3) + K3i_before, Mode,'Physics');
+setsp('Q4',k* DK(IndexQ4) + K4i_before, Mode,'Physics');
+setsp('Q5',k* DK(IndexQ5) + K5i_before, Mode,'Physics');
+setsp('Q6',k* DK(IndexQ6) + K6i_before, Mode,'Physics');
+setsp('Q7',k* DK(IndexQ7) + K7i_before, Mode,'Physics');
+setsp('Q8',k* DK(IndexQ8) + K8i_before, Mode,'Physics');
+setsp('Q9',k* DK(IndexQ9) + K9i_before, Mode,'Physics');
+setsp('Q10',k* DK(IndexQ10) + K10i_before, Mode,'Physics');
+
+if AO.Q11.Status == 1
+    setsp('Q11',k* DK(IndexQ11) + K11i_before, Mode,'Physics');
+end
+
+if AO.Q12.Status == 1
+    setsp('Q12',k* DK(IndexQ12) + K12i_before, Mode,'Physics');
+end
+
+pause(1)
+gettune - tune0
+
+
+%% skew quad -1 for full correction
+k =-1;
+%QT0 = 0;
+setsp('QT',k* DK(IndexQT) + QT0, Mode,'Physics');
Index: /trunk/machine/SOLEIL/StorageRing/loco/applysymmetrisation_nano.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/applysymmetrisation_nano.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/applysymmetrisation_nano.m	(revision 17)
@@ -0,0 +1,2 @@
+%% Utilisation de la fonction applysymmetrisation
+applysymmetrisation()
Index: /trunk/machine/SOLEIL/StorageRing/loco/bpmrespmatgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/bpmrespmatgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/bpmrespmatgui.m	(revision 17)
@@ -0,0 +1,239 @@
+function varargout = bpmrespmatgui(varargin)
+% BPMRESPMATGUI M-file for bpmrespmatgui.fig
+%      BPMRESPMATGUI, by itself, creates a new BPMRESPMATGUI or raises the existing
+%      singleton*.
+%
+%      H = BPMRESPMATGUI returns the handle to a new BPMRESPMATGUI or the handle to
+%      the existing singleton*.
+%
+%      BPMRESPMATGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in BPMRESPMATGUI.M with the given input arguments.
+%
+%      BPMRESPMATGUI('Property','Value',...) creates a new BPMRESPMATGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before bpmrespmatgui_OpeningFcn gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to bpmrespmatgui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help bpmrespmatgui
+
+% Last Modified by GUIDE v2.5 21-Mar-2011 17:01:17
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @bpmrespmatgui_OpeningFcn, ...
+                   'gui_OutputFcn',  @bpmrespmatgui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before bpmrespmatgui is made visible.
+function bpmrespmatgui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to bpmrespmatgui (see VARARGIN)
+
+% Choose default command line output for bpmrespmatgui
+handles.output = hObject;
+
+% Directory name for saving data
+handles.DirName = '';
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes bpmrespmatgui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = bpmrespmatgui_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_bruit.
+function pushbutton_bruit_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_bruit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch getmode('BPMx')
+    case 'Online'
+        [Rx Ry DCCT tout BPMxStd BPMyStd FileName] = monbpm('Archive',180);
+    otherwise
+        [Rx Ry DCCT tout BPMxStd BPMyStd FileName] = monbpm('Archive',10);
+end
+            
+system(['mv ' FileName ' ' handles.DirName filesep]);
+
+
+% --- Executes on button press in pushbutton_dispersion.
+function pushbutton_dispersion_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_dispersion (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+figure
+[Dx, Dy, FileName] = measdisp('Archive', 'Display');
+system(['mv ' FileName ' ' handles.DirName filesep]);
+
+
+% --- Executes on button press in pushbutton_matSOFB.
+function pushbutton_matSOFB_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_matSOFB (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch getmode('BPMx')
+    case 'Online'
+        [Rmat, OutputFileName] = measbpmresp('Archive');
+        if ~isempty(Rmat)
+            tango_giveInformationMessage('Fin de mesure Matrice rÃ©ponse');
+        end
+    otherwise
+        [Rmat, OutputFileName] = measbpmresp('Archive', 'Model');
+end
+if ~isempty(Rmat)
+    system(['mv ' OutputFileName ' ' handles.DirName filesep]);
+end
+
+% --- Executes on button press in pushbutton_matFOFB.
+function pushbutton_matFOFB_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_matFOFB (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch getmode('BPMx')
+    case 'Online'
+        [Rmat, OutputFileName] = measbpmresp4FOFB('Archive');
+        if ~isempty(Rmat)
+            tango_giveInformationMessage('Fin de mesure Matrice rÃ©ponse');
+        end
+    otherwise
+        [Rmat, OutputFileName] = measbpmresp4FOFB('Archive', 'Model');
+end
+
+if ~isempty(Rmat)
+    system(['mv ' OutputFileName ' ' handles.DirName filesep]);
+end
+        
+% --- Executes on button press in pushbutton_directory.
+function pushbutton_directory_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_directory (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+RootDirectory = fileparts(getfamilydata('Directory', 'LOCOData'));
+DirName = RootDirectory;
+while ~ischar(DirName) || (strcmpi(DirName, RootDirectory) || exist(DirName, 'dir') ~=7)
+    DirName = uigetdir(RootDirectory, 'Select or create a LOC0 directory');
+    if strcmpi(DirName, RootDirectory)
+        h = warndlg('Abort: Directory is not correct. Choose a subdirectory');
+        uiwait(h)
+    elseif ischar(DirName) && exist(DirName, 'dir') ~=7
+        warndlg('Abort: Directory not selected');
+    end
+end
+cd(DirName); % gotodirectory
+
+handles.DirName = DirName;
+% Update handles structure
+guidata(hObject, handles);
+
+ival = regexp(DirName,'/', 'end');
+
+set(handles.text_directory, 'String', DirName(ival(end)+1:end));
+
+
+
+% --- Executes on button press in pushbutton_buildloco.
+function pushbutton_buildloco_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_buildloco (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+buildlocoinput
+
+% --- Executes on button press in pushbutton_locogui.
+function pushbutton_locogui_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_locogui (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+locogui
+
+
+% --- Executes on button press in pushbutton_applysym.
+function pushbutton_applysym_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_applysym (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+LOCOsymgui
+
+
+% --- Executes on button press in pushbutton_directory2.
+function pushbutton_directory2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_directory2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+pushbutton_directory_Callback(hObject, eventdata, handles)
+
+% --- Executes on button press in pushbutton_measdisp2.
+function pushbutton_measdisp2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_measdisp2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+pushbutton_dispersion_Callback
+
+% --- Executes on button press in pushbutton_bpmmon2.
+function pushbutton_bpmmon2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_bpmmon2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+pushbutton_bruit_Callback
+
+
+% --- Executes on button press in pushbutton_applyFOFB.
+function pushbutton_applyFOFB_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_applyFOFB (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in pushbutton_locogui2.
+function pushbutton_locogui2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_locogui2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+locogui
+
+% --- Executes on button press in pushbutton_buildlocoFOFB.
+function pushbutton_buildlocoFOFB_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_buildlocoFOFB (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+buildlocoinput_fofb
Index: /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters.m	(revision 17)
@@ -0,0 +1,389 @@
+function [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocofitparameters(FileName, THERING)
+%BUILDLOCOFITPARAMETERS - SOLEIL LOCO fit parameters
+%
+%  [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocoinput(FileName)
+%
+% See Also buildlocoinput
+
+%
+%% Written By Laurent S. Nadolski
+
+%%%%%%%%%%%%%%
+% Input file %
+%%%%%%%%%%%%%%
+if nargin == 0
+    [FileName, DirectoryName, FilterIndex] = uigetfile('*.mat','Select a LOCO input file');
+    if FilterIndex == 0
+        return;
+    end
+    FileName = [DirectoryName, FileName];
+end
+
+load(FileName);
+
+%%%%%%%%%%%%%%%%%%%%%%
+% Remove bad devices %
+%%%%%%%%%%%%%%%%%%%%%%
+RemoveHCMDeviceList = [];
+RemoveVCMDeviceList = [];
+
+RemoveHBPMDeviceList = [];
+RemoveVBPMDeviceList = [];
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% This function only works on the first iteration %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if exist('BPMData','var') && length(BPMData)>1
+    BPMData = BPMData(1);
+end
+if exist('CMData','var') && length(CMData)>1
+    CMData = CMData(1);
+end
+if exist('FitParameters','var') && length(FitParameters)>1
+    FitParameters = FitParameters(1);
+end
+if exist('LocoFlags','var') && length(LocoFlags)>1
+    LocoFlags = LocoFlags(1);
+end
+if exist('LocoModel','var') && length(LocoModel)>1
+    LocoModel = LocoModel(1);
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make sure the start point in loaded in the AT model %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if ~isempty(FitParameters)
+    for i = 1:length(FitParameters.Params)
+        RINGData = locosetlatticeparam(RINGData, FitParameters.Params{i}, FitParameters.Values(i));
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% LocoFlags to change from the default %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ LocoFlags.Threshold = 1e-6;
+% LocoFlags.OutlierFactor = 10;
+% LocoFlags.SVmethod = 1e-2;
+% LocoFlags.SVmethod = 1:895;
+% LocoFlags.HorizontalDispersionWeight = 12.5;
+% LocoFlags.VerticalDispersionWeight = 12.5;
+% LocoFlags.AutoCorrectDelta = 'Yes';
+% LocoFlags.Coupling = 'No';
+% LocoFlags.Dispersion = 'No';
+% LocoFlags.Normalize = 'Yes';
+% LocoFlags.ResponseMatrixCalculatorFlag1 = 'Linear';
+% LocoFlags.ResponseMatrixCalculatorFlag2 = 'FixedPathLength';
+% LocoFlags.CalculateSigma = 'No';
+% LocoFlags.SinglePrecision = 'Yes';
+LocoFlags.Method.Name = 'Scaled Levenberg-Marquardt'
+
+% CMData.FitKicks    = 'Yes';
+% CMData.FitCoupling = 'No';
+%
+% BPMData.FitGains    = 'Yes';
+% BPMData.FitCoupling = 'No';
+
+
+% Corrector magnets to disable
+j = findrowindex(RemoveHCMDeviceList, LocoMeasData.HCM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),CMData.HCMGoodDataIndex(:));
+    CMData.HCMGoodDataIndex(irm) = [];
+end
+
+j = findrowindex(RemoveVCMDeviceList, LocoMeasData.VCM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),CMData.VCMGoodDataIndex(:));
+    CMData.VCMGoodDataIndex(irm) = [];
+end
+
+
+% BPMs to disable
+j = findrowindex(RemoveHBPMDeviceList, LocoMeasData.HBPM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),BPMData.HBPMGoodDataIndex(:));
+    BPMData.HBPMGoodDataIndex(irm) = [];
+end
+
+j = findrowindex(RemoveVBPMDeviceList, LocoMeasData.VBPM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),BPMData.VBPMGoodDataIndex(:));
+    BPMData.VBPMGoodDataIndex(irm) = [];
+end
+
+%%%%%%%%%%%%%%%%%
+% FitParameters %
+%%%%%%%%%%%%%%%%%
+
+% Individual magnets
+% For each parameter which is fit in the model a numerical response matrix
+% gradient needs to be determined.  The FitParameters data structure determines what
+% parameter in the model get varied and how are they grouped.  For no parameter fits, set
+% FitParameters.Params to an empty vector.
+%     FitParameters.Params = parameter group definition (cell array for AT)
+%     FitParameters.Values = Starting value for the parameter fit
+%     FitParameters.Deltas = change in parameter value used to compute the gradient (NaN forces loco to choose, see auto-correct delta flag below)
+%     FitParameters.FitRFFrequency = ('Yes'/'No') Fit the RF frequency?
+%     FitParameters.DeltaRF = Change in RF frequency when measuring "dispersion".
+%                             If the RF frequency is being fit the output is stored here.
+%
+% The FitParameters structure also contains the standard deviations of the fits:
+%     LocoValuesSTD
+%     FitParameters.DeltaRFSTD
+%
+% Note: FitParameters.DeltaRF is used when including dispersion in the response matrix.
+%       LocoMeasData.DeltaRF is not used directly in loco.  Usually one would set
+%       FitParameters.DeltaRF = LocoMeasData.DeltaRF as a starting point for the RF frequency.
+
+
+ModeCell = {'Fit by family (10 families)', 'Fit magnets by power supply (160)', ...
+    'Fit selected quad', 'Fit magnets by power supply (163) Nanoscopium', ...
+    'Impedance QSD', '163 + Impedance QSD'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString', ...
+    {'Fit Parameter Selection:','(Not including skew quadrupoles)'}, ...
+    'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [350 125], 'InitialValue', 4);
+if OKFlag ~= 1
+    ButtonName = 1;
+end
+drawnow;
+FitParameters = [];
+n = 0;
+
+switch ButtonName
+    case 1  % By family
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        for k=1:10,
+            % Q1 K-values
+            n = n+1;
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            FitParameters.Params{n} = mkparamgroup(THERING, QI, 'K');
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI(1))];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN];
+        end
+
+
+    case 2  % Fit by power supply
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k=1:10,
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+
+    case 3  % Fit by power supply less than 160
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k= [1 2 4 7 9],
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+
+    case 4  % Fit by power supply with Nanoscopium: 163 quads
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k=1:12,
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+        
+    case 5  % Fit by power supply in the middle of straight sections
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k=1:1,
+            QI = findcells(THERING,'FamName','QSD');
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; 1e2 * ones(length(QI),1)];
+        end
+    case 6  % Fit by power supply in the middle of straight sections
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k=1:12,
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+        
+        % K-values
+        for k=1:1,
+            QI = findcells(THERING,'FamName','QSD');
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; 1e2 * ones(length(QI),1)];
+        end
+    otherwise
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%
+% Skew quadrupole fits
+%%%%%%%%%%%%%%%%%%%%%%%
+
+ModeCell = {'Fit at Sextupoles', 'Fit By Power Supply', 'Do Not Fit Skew Quadrupoles'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString','Skew Quadrupole Fits?', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [350 125], 'InitialValue', 2);
+if OKFlag ~= 1
+    ButtonName = length(ModeCell);  % Default
+end
+
+switch ButtonName
+    case 1
+        fprintf('   Skew fit at Sextupoles needs work.\n\n');
+        %     case 1
+        %         % Fit skew quadrupoles in the sextupoles
+        %         SFI = findcells(RINGData.Lattice,'FamName','SF');
+        %         SFn = size(family2dev('SF'),1);
+        %
+        %         for loop = 1:length(SFI)
+        %             if length(SFI) == SFn
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SFI(loop),'s');
+        %             elseif length(SFI) == 2*SFn
+        %                 % Split sextupoles
+        %                 N1 = 2*loop-1;
+        %                 N2 = 2*loop;
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SFI([N1 N2]),'s');
+        %             else
+        %                 error('   Error setting the SF parameter group.');
+        %             end
+        %         end
+        %
+        %         FitParameters.Values = [FitParameters.Values; zeros(SFn,1)];
+        %         FitParameters.Deltas = [FitParameters.Deltas; 0.5e-2 * ones(SFn,1)];  % automatic delta determination does not work if starting value is 0
+        %
+        %
+        %         % Fit skew quadrupoles in the sextupoles
+        %         SDI = findcells(RINGData.Lattice,'FamName','SD');
+        %         SDn = size(family2dev('SD'),1);
+        %
+        %         for loop = 1:length(SDI)
+        %             if length(SDI) == SDn
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SDI(loop),'s');
+        %             elseif length(SDI) == 2*SDn
+        %                 % Split sextupoles
+        %                 N1 = 2*loop-1;
+        %                 N2 = 2*loop;
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SDI([N1 N2]),'s');
+        %             else
+        %                 error('   Error setting the SD parameter group.');
+        %             end
+        %         end
+        %
+        %         FitParameters.Values = [FitParameters.Values; zeros(SDn,1)];
+        %         FitParameters.Deltas = [FitParameters.Deltas; 0.5e-2 * ones(SDn,1)];  % automatic delta determination does not work if starting value is 0
+        %
+    case 2 % 'Fit by Power Supply'
+        % skew quad
+        QTI = family2atindex('QT',family2dev('QT'));
+        for loop=1:length(QTI),
+            n = n + 1;
+            FitParameters.Params{n} = mkparamgroup(THERING, QTI(loop), 'KS1');
+        end
+        FitParameters.Values = [FitParameters.Values; zeros(length(QTI),1)];
+        FitParameters.Deltas = [FitParameters.Deltas; 1 * ones(length(QTI),1)];
+
+    case 3 %'Don't Fit'
+        fprintf('   Skew quadrupole not fit.\n\n');
+
+    otherwise
+        fprintf('   Skew quadrupole not fit.\n\n');
+end
+
+fprintf('\n');
+
+
+% 
+% %%%%%%%%%%%%%%%%%%%%%
+% % Parameter Weights %
+% %%%%%%%%%%%%%%%%%%%%%
+% 
+% % For each cell of FitParameters.Weight.Value, a rows is added to the A matrix
+% % Index of the row of A:  FitParameters.Weight.Index{i}
+% % Value of the weight:    FitParameters.Weight.Value{i} / mean(Mstd)
+% 
+% ModeCell = {'No Parameter Weigths', 'Add Parameter Weights'};
+% [ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString','Weights?', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [200 75], 'InitialValue', 2);
+% if OKFlag ~= 1
+%     ButtonName = 1;  % Default
+% end
+% 
+% switch ButtonName
+%     case 1
+%         % No Weights
+%         if isfield(FitParameters, 'Weight')
+%             FitParameters = rmfield(FitParameters, 'Weight');
+%         end
+%     case 2
+%         %for ii = 1:length(FitParameters.Values)
+%         for ii = 1:160, % specific weight for K-values
+%             FitParameters.Weight.Index{ii,1} = ii;
+%             %FitParameters.Weight.Value{ii,1} = 0.1; % for old BPM noise
+%             FitParameters.Weight.Value{ii,1} = 0.001; % for new BPM noise (sept 07)
+%         end
+% end
+
+
+
+% RF parameter fit setup (There is a flag to actually do the fit)
+if isempty(LocoMeasData.DeltaRF)
+    FitParameters.DeltaRF = 100;  % It's good to have something here so that LOCO will compute a model dispersion
+else
+    FitParameters.DeltaRF = LocoMeasData.DeltaRF;
+end
+
+
+% File check
+[BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData] = locofilecheck({BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData});
+
+
+% Save
+save(FileName, 'LocoModel', 'FitParameters', 'BPMData', 'CMData', 'RINGData', 'LocoMeasData', 'LocoFlags');
+
Index: /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters_new.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters_new.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters_new.m	(revision 17)
@@ -0,0 +1,342 @@
+function [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocofitparameters(FileName)
+%BUILDLOCOFITPARAMETERS - SOLEIL LOCO fit parameters
+%
+%  [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocoinput(FileName)
+
+%
+%% Written By Laurent S. Nadolski
+
+%%%%%%%%%%%%%%
+% Input file %
+%%%%%%%%%%%%%%
+if nargin == 0
+    [FileName, DirectoryName, FilterIndex] = uigetfile('*.mat','Select a LOCO input file');
+    if FilterIndex == 0
+        return;
+    end
+    FileName = [DirectoryName, FileName];
+end
+
+load(FileName);
+
+%%%%%%%%%%%%%%%%%%%%%%
+% Remove bad devices %
+%%%%%%%%%%%%%%%%%%%%%%
+RemoveHCMDeviceList = [];
+RemoveVCMDeviceList = [];
+
+RemoveHBPMDeviceList = [];
+RemoveVBPMDeviceList = [];
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% This function only works on the first iteration %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if exist('BPMData','var') && length(BPMData)>1
+    BPMData = BPMData(1);
+end
+if exist('CMData','var') && length(CMData)>1
+    CMData = CMData(1);
+end
+if exist('FitParameters','var') && length(FitParameters)>1
+    FitParameters = FitParameters(1);
+end
+if exist('LocoFlags','var') && length(LocoFlags)>1
+    LocoFlags = LocoFlags(1);
+end
+if exist('LocoModel','var') && length(LocoModel)>1
+    LocoModel = LocoModel(1);
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make sure the start point in loaded in the AT model %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if ~isempty(FitParameters)
+    for i = 1:length(FitParameters.Params)
+        RINGData = locosetlatticeparam(RINGData, FitParameters.Params{i}, FitParameters.Values(i));
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% LocoFlags to change from the default %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% LocoFlags.Threshold = 1e-5;
+% LocoFlags.OutlierFactor = 10;
+% LocoFlags.SVmethod = 1e-2;
+LocoFlags.SVmethod = 1:895;
+% LocoFlags.HorizontalDispersionWeight = 12.5;
+% LocoFlags.VerticalDispersionWeight = 12.5;
+% LocoFlags.AutoCorrectDelta = 'Yes';
+% LocoFlags.Coupling = 'No';
+% LocoFlags.Dispersion = 'No';
+% LocoFlags.Normalize = 'Yes';
+% LocoFlags.ResponseMatrixCalculatorFlag1 = 'Linear';
+% LocoFlags.ResponseMatrixCalculatorFlag2 = 'FixedPathLength';
+% LocoFlags.CalculateSigma = 'No';
+% LocoFlags.SinglePrecision = 'Yes';
+
+% CMData.FitKicks    = 'Yes';
+% CMData.FitCoupling = 'No';
+%
+% BPMData.FitGains    = 'Yes';
+% BPMData.FitCoupling = 'No';
+
+
+% Corrector magnets to disable
+j = findrowindex(RemoveHCMDeviceList, LocoMeasData.HCM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),CMData.HCMGoodDataIndex(:));
+    CMData.HCMGoodDataIndex(irm) = [];
+end
+
+j = findrowindex(RemoveVCMDeviceList, LocoMeasData.VCM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),CMData.VCMGoodDataIndex(:));
+    CMData.VCMGoodDataIndex(irm) = [];
+end
+
+
+% BPMs to disable
+j = findrowindex(RemoveHBPMDeviceList, LocoMeasData.HBPM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),BPMData.HBPMGoodDataIndex(:));
+    BPMData.HBPMGoodDataIndex(irm) = [];
+end
+
+j = findrowindex(RemoveVBPMDeviceList, LocoMeasData.VBPM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),BPMData.VBPMGoodDataIndex(:));
+    BPMData.VBPMGoodDataIndex(irm) = [];
+end
+
+%%%%%%%%%%%%%%%%%
+% FitParameters %
+%%%%%%%%%%%%%%%%%
+
+% Individual magnets
+% For each parameter which is fit in the model a numerical response matrix
+% gradient needs to be determined.  The FitParameters data structure determines what
+% parameter in the model get varied and how are they grouped.  For no parameter fits, set
+% FitParameters.Params to an empty vector.
+%     FitParameters.Params = parameter group definition (cell array for AT)
+%     FitParameters.Values = Starting value for the parameter fit
+%     FitParameters.Deltas = change in parameter value used to compute the gradient (NaN forces loco to choose, see auto-correct delta flag below)
+%     FitParameters.FitRFFrequency = ('Yes'/'No') Fit the RF frequency?
+%     FitParameters.DeltaRF = Change in RF frequency when measuring "dispersion".
+%                             If the RF frequency is being fit the output is stored here.
+%
+% The FitParameters structure also contains the standard deviations of the fits:
+%     LocoValuesSTD
+%     FitParameters.DeltaRFSTD
+%
+% Note: FitParameters.DeltaRF is used when including dispersion in the response matrix.
+%       LocoMeasData.DeltaRF is not used directly in loco.  Usually one would set
+%       FitParameters.DeltaRF = LocoMeasData.DeltaRF as a starting point for the RF frequency.
+
+
+ModeCell = {'Fit by family', 'Fit magnets by power supply', 'Fit selected quad', 'Fit magnets by power supply Nanoscopium'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString',{'Fit Parameter Selection:','(Not including skew quadrupoles)'}, 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [350 125], 'InitialValue', 2);
+if OKFlag ~= 1
+    ButtonName = 1;
+end
+drawnow;
+FitParameters = [];
+n = 0;
+global THERING; % TODO remove not clean at all
+
+switch ButtonName
+    case 1  % By family
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        for k=1:10,
+            % Q1 K-values
+            n = n+1;
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            FitParameters.Params{n} = mkparamgroup(THERING, QI, 'K');
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI(1))];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN];
+        end
+
+
+    case 2  % Fit by power supply
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k=1:10,
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+
+    case 3  % Fit by power supply less than 160
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k= [1 2 4 7 9],
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+
+    case 4  % Fit by power supply with Nanoscopium: 163 quads
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k=1:12,
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+    otherwise
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%
+% Skew quadrupole fits
+%%%%%%%%%%%%%%%%%%%%%%%
+
+ModeCell = {'Fit at Sextupoles', 'Fit By Power Supply', 'Do Not Fit Skew Quadrupoles'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString','Skew Quadrupole Fits?', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [350 125], 'InitialValue', 2);
+if OKFlag ~= 1
+    ButtonName = length(ModeCell);  % Default
+end
+
+switch ButtonName
+    case 1
+        fprintf('   Skew fit at Sextupoles needs work.\n\n');
+        %     case 1
+        %         % Fit skew quadrupoles in the sextupoles
+        %         SFI = findcells(RINGData.Lattice,'FamName','SF');
+        %         SFn = size(family2dev('SF'),1);
+        %
+        %         for loop = 1:length(SFI)
+        %             if length(SFI) == SFn
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SFI(loop),'s');
+        %             elseif length(SFI) == 2*SFn
+        %                 % Split sextupoles
+        %                 N1 = 2*loop-1;
+        %                 N2 = 2*loop;
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SFI([N1 N2]),'s');
+        %             else
+        %                 error('   Error setting the SF parameter group.');
+        %             end
+        %         end
+        %
+        %         FitParameters.Values = [FitParameters.Values; zeros(SFn,1)];
+        %         FitParameters.Deltas = [FitParameters.Deltas; 0.5e-2 * ones(SFn,1)];  % automatic delta determination does not work if starting value is 0
+        %
+        %
+        %         % Fit skew quadrupoles in the sextupoles
+        %         SDI = findcells(RINGData.Lattice,'FamName','SD');
+        %         SDn = size(family2dev('SD'),1);
+        %
+        %         for loop = 1:length(SDI)
+        %             if length(SDI) == SDn
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SDI(loop),'s');
+        %             elseif length(SDI) == 2*SDn
+        %                 % Split sextupoles
+        %                 N1 = 2*loop-1;
+        %                 N2 = 2*loop;
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SDI([N1 N2]),'s');
+        %             else
+        %                 error('   Error setting the SD parameter group.');
+        %             end
+        %         end
+        %
+        %         FitParameters.Values = [FitParameters.Values; zeros(SDn,1)];
+        %         FitParameters.Deltas = [FitParameters.Deltas; 0.5e-2 * ones(SDn,1)];  % automatic delta determination does not work if starting value is 0
+        %
+    case 2 % 'Fit by Power Supply'
+        % skew quad
+        QTI = family2atindex('QT',family2dev('QT'));
+        for loop=1:length(QTI),
+            n = n + 1;
+            FitParameters.Params{n} = mkparamgroup(THERING, QTI(loop), 'KS1');
+        end
+        FitParameters.Values = [FitParameters.Values; zeros(length(QTI),1)];
+        FitParameters.Deltas = [FitParameters.Deltas; 1 * ones(length(QTI),1)];
+
+    case 3 %'Don't Fit'
+        fprintf('   Skew quadrupole not fit.\n\n');
+
+    otherwise
+        fprintf('   Skew quadrupole not fit.\n\n');
+end
+
+fprintf('\n');
+
+
+% 
+% %%%%%%%%%%%%%%%%%%%%%
+% % Parameter Weights %
+% %%%%%%%%%%%%%%%%%%%%%
+% 
+% % For each cell of FitParameters.Weight.Value, a rows is added to the A matrix
+% % Index of the row of A:  FitParameters.Weight.Index{i}
+% % Value of the weight:    FitParameters.Weight.Value{i} / mean(Mstd)
+% 
+% ModeCell = {'No Parameter Weigths', 'Add Parameter Weights'};
+% [ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString','Weights?', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [200 75], 'InitialValue', 2);
+% if OKFlag ~= 1
+%     ButtonName = 1;  % Default
+% end
+% 
+% switch ButtonName
+%     case 1
+%         % No Weights
+%         if isfield(FitParameters, 'Weight')
+%             FitParameters = rmfield(FitParameters, 'Weight');
+%         end
+%     case 2
+%         %for ii = 1:length(FitParameters.Values)
+%         for ii = 1:160, % specific weight for K-values
+%             FitParameters.Weight.Index{ii,1} = ii;
+%             %FitParameters.Weight.Value{ii,1} = 0.1; % for old BPM noise
+%             FitParameters.Weight.Value{ii,1} = 0.001; % for new BPM noise (sept 07)
+%         end
+% end
+
+
+
+% RF parameter fit setup (There is a flag to actually do the fit)
+if isempty(LocoMeasData.DeltaRF)
+    FitParameters.DeltaRF = 100;  % It's good to have something here so that LOCO will compute a model dispersion
+else
+    FitParameters.DeltaRF = LocoMeasData.DeltaRF;
+end
+
+
+% File check
+[BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData] = locofilecheck({BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData});
+
+
+% Save
+save(FileName, 'LocoModel', 'FitParameters', 'BPMData', 'CMData', 'RINGData', 'LocoMeasData', 'LocoFlags');
+
Index: /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters_old.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters_old.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/buildlocofitparameters_old.m	(revision 17)
@@ -0,0 +1,326 @@
+function [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocofitparameters(FileName)
+%BUILDLOCOFITPARAMETERS - SOLEIL LOCO fit parameters
+%
+%  [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocoinput(FileName)
+
+%
+%% Written By Laurent S. Nadolski
+
+%%%%%%%%%%%%%%
+% Input file %
+%%%%%%%%%%%%%%
+if nargin == 0
+    [FileName, DirectoryName, FilterIndex] = uigetfile('*.mat','Select a LOCO input file');
+    if FilterIndex == 0
+        return;
+    end
+    FileName = [DirectoryName, FileName];
+end
+
+load(FileName);
+
+%%%%%%%%%%%%%%%%%%%%%%
+% Remove bad devices %
+%%%%%%%%%%%%%%%%%%%%%%
+RemoveHCMDeviceList = [];
+RemoveVCMDeviceList = [];
+
+RemoveHBPMDeviceList = [];
+RemoveVBPMDeviceList = [];
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% This function only works on the first iteration %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if exist('BPMData','var') && length(BPMData)>1
+    BPMData = BPMData(1);
+end
+if exist('CMData','var') && length(CMData)>1
+    CMData = CMData(1);
+end
+if exist('FitParameters','var') && length(FitParameters)>1
+    FitParameters = FitParameters(1);
+end
+if exist('LocoFlags','var') && length(LocoFlags)>1
+    LocoFlags = LocoFlags(1);
+end
+if exist('LocoModel','var') && length(LocoModel)>1
+    LocoModel = LocoModel(1);
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make sure the start point in loaded in the AT model %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if ~isempty(FitParameters)
+    for i = 1:length(FitParameters.Params)
+        RINGData = locosetlatticeparam(RINGData, FitParameters.Params{i}, FitParameters.Values(i));
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% LocoFlags to change from the default %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% LocoFlags.Threshold = 1e-5;
+% LocoFlags.OutlierFactor = 10;
+% LocoFlags.SVmethod = 1e-2;
+LocoFlags.SVmethod = 1:895;
+% LocoFlags.HorizontalDispersionWeight = 12.5;
+% LocoFlags.VerticalDispersionWeight = 12.5;
+% LocoFlags.AutoCorrectDelta = 'Yes';
+% LocoFlags.Coupling = 'No';
+% LocoFlags.Dispersion = 'No';
+% LocoFlags.Normalize = 'Yes';
+% LocoFlags.ResponseMatrixCalculatorFlag1 = 'Linear';
+% LocoFlags.ResponseMatrixCalculatorFlag2 = 'FixedPathLength';
+% LocoFlags.CalculateSigma = 'No';
+% LocoFlags.SinglePrecision = 'Yes';
+
+% CMData.FitKicks    = 'Yes';
+% CMData.FitCoupling = 'No';
+%
+% BPMData.FitGains    = 'Yes';
+% BPMData.FitCoupling = 'No';
+
+
+% Corrector magnets to disable
+j = findrowindex(RemoveHCMDeviceList, LocoMeasData.HCM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),CMData.HCMGoodDataIndex(:));
+    CMData.HCMGoodDataIndex(irm) = [];
+end
+
+j = findrowindex(RemoveVCMDeviceList, LocoMeasData.VCM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),CMData.VCMGoodDataIndex(:));
+    CMData.VCMGoodDataIndex(irm) = [];
+end
+
+
+% BPMs to disable
+j = findrowindex(RemoveHBPMDeviceList, LocoMeasData.HBPM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),BPMData.HBPMGoodDataIndex(:));
+    BPMData.HBPMGoodDataIndex(irm) = [];
+end
+
+j = findrowindex(RemoveVBPMDeviceList, LocoMeasData.VBPM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),BPMData.VBPMGoodDataIndex(:));
+    BPMData.VBPMGoodDataIndex(irm) = [];
+end
+
+%%%%%%%%%%%%%%%%%
+% FitParameters %
+%%%%%%%%%%%%%%%%%
+
+% Individual magnets
+% For each parameter which is fit in the model a numerical response matrix
+% gradient needs to be determined.  The FitParameters data structure determines what
+% parameter in the model get varied and how are they grouped.  For no parameter fits, set
+% FitParameters.Params to an empty vector.
+%     FitParameters.Params = parameter group definition (cell array for AT)
+%     FitParameters.Values = Starting value for the parameter fit
+%     FitParameters.Deltas = change in parameter value used to compute the gradient (NaN forces loco to choose, see auto-correct delta flag below)
+%     FitParameters.FitRFFrequency = ('Yes'/'No') Fit the RF frequency?
+%     FitParameters.DeltaRF = Change in RF frequency when measuring "dispersion".
+%                             If the RF frequency is being fit the output is stored here.
+%
+% The FitParameters structure also contains the standard deviations of the fits:
+%     LocoValuesSTD
+%     FitParameters.DeltaRFSTD
+%
+% Note: FitParameters.DeltaRF is used when including dispersion in the response matrix.
+%       LocoMeasData.DeltaRF is not used directly in loco.  Usually one would set
+%       FitParameters.DeltaRF = LocoMeasData.DeltaRF as a starting point for the RF frequency.
+
+
+ModeCell = {'Fit by family', 'Fit magnets by power supply', 'Fit selected quad'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString',{'Fit Parameter Selection:','(Not including skew quadrupoles)'}, 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [350 125], 'InitialValue', 2);
+if OKFlag ~= 1
+    ButtonName = 1;
+end
+drawnow;
+FitParameters = [];
+n = 0;
+switch ButtonName
+    case 1  % By family
+        global THERING; % TODO remove not clean at all
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        for k=1:10,
+            % Q1 K-values
+            n = n+1;
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            FitParameters.Params{n} = mkparamgroup(THERING, QI, 'K');
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI(1))];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN];
+        end
+
+
+    case 2  % Fit by power supply
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        global THERING; % TODO remove not clean at all
+        % K-values
+        for k=1:10,
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+
+    case 3  % Fit by power supply less than 160
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k= [1 2 4 7 9],
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+
+    otherwise
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%
+% Skew quadrupole fits
+%%%%%%%%%%%%%%%%%%%%%%%
+
+ModeCell = {'Fit at Sextupoles', 'Fit By Power Supply', 'Do Not Fit Skew Quadrupoles'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString','Skew Quadrupole Fits?', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [350 125], 'InitialValue', 2);
+if OKFlag ~= 1
+    ButtonName = length(ModeCell);  % Default
+end
+
+switch ButtonName
+    case 1
+        fprintf('   Skew fit at Sextupoles needs work.\n\n');
+        %     case 1
+        %         % Fit skew quadrupoles in the sextupoles
+        %         SFI = findcells(RINGData.Lattice,'FamName','SF');
+        %         SFn = size(family2dev('SF'),1);
+        %
+        %         for loop = 1:length(SFI)
+        %             if length(SFI) == SFn
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SFI(loop),'s');
+        %             elseif length(SFI) == 2*SFn
+        %                 % Split sextupoles
+        %                 N1 = 2*loop-1;
+        %                 N2 = 2*loop;
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SFI([N1 N2]),'s');
+        %             else
+        %                 error('   Error setting the SF parameter group.');
+        %             end
+        %         end
+        %
+        %         FitParameters.Values = [FitParameters.Values; zeros(SFn,1)];
+        %         FitParameters.Deltas = [FitParameters.Deltas; 0.5e-2 * ones(SFn,1)];  % automatic delta determination does not work if starting value is 0
+        %
+        %
+        %         % Fit skew quadrupoles in the sextupoles
+        %         SDI = findcells(RINGData.Lattice,'FamName','SD');
+        %         SDn = size(family2dev('SD'),1);
+        %
+        %         for loop = 1:length(SDI)
+        %             if length(SDI) == SDn
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SDI(loop),'s');
+        %             elseif length(SDI) == 2*SDn
+        %                 % Split sextupoles
+        %                 N1 = 2*loop-1;
+        %                 N2 = 2*loop;
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SDI([N1 N2]),'s');
+        %             else
+        %                 error('   Error setting the SD parameter group.');
+        %             end
+        %         end
+        %
+        %         FitParameters.Values = [FitParameters.Values; zeros(SDn,1)];
+        %         FitParameters.Deltas = [FitParameters.Deltas; 0.5e-2 * ones(SDn,1)];  % automatic delta determination does not work if starting value is 0
+        %
+    case 2 % 'Fit by Power Supply'
+        % skew quad
+        QTI = family2atindex('QT',family2dev('QT'));
+        for loop=1:length(QTI),
+            n = n + 1;
+            FitParameters.Params{n} = mkparamgroup(THERING, QTI(loop), 'KS1');
+        end
+        FitParameters.Values = [FitParameters.Values; zeros(length(QTI),1)];
+        FitParameters.Deltas = [FitParameters.Deltas; 1 * ones(length(QTI),1)];
+
+    case 3 %'Don't Fit'
+        fprintf('   Skew quadrupole not fit.\n\n');
+
+    otherwise
+        fprintf('   Skew quadrupole not fit.\n\n');
+end
+
+fprintf('\n');
+
+
+
+%%%%%%%%%%%%%%%%%%%%%
+% Parameter Weights %
+%%%%%%%%%%%%%%%%%%%%%
+
+% For each cell of FitParameters.Weight.Value, a rows is added to the A matrix
+% Index of the row of A:  FitParameters.Weight.Index{i}
+% Value of the weight:    FitParameters.Weight.Value{i} / mean(Mstd)
+
+ModeCell = {'No Parameter Weigths', 'Add Parameter Weights'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString','Weights?', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [200 75], 'InitialValue', 2);
+if OKFlag ~= 1
+    ButtonName = 1;  % Default
+end
+
+switch ButtonName
+    case 1
+        % No Weights
+        if isfield(FitParameters, 'Weight')
+            FitParameters = rmfield(FitParameters, 'Weight');
+        end
+    case 2
+        %for ii = 1:length(FitParameters.Values)
+        for ii = 1:160, % specific weight for K-values
+            FitParameters.Weight.Index{ii,1} = ii;
+            %FitParameters.Weight.Value{ii,1} = 0.1; % for old BPM noise
+            FitParameters.Weight.Value{ii,1} = 0.001; % for new BPM noise (sept 07)
+        end
+end
+
+
+
+% RF parameter fit setup (There is a flag to actually do the fit)
+if isempty(LocoMeasData.DeltaRF)
+    FitParameters.DeltaRF = 100;  % It's good to have something here so that LOCO will compute a model dispersion
+else
+    FitParameters.DeltaRF = LocoMeasData.DeltaRF;
+end
+
+
+% File check
+[BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData] = locofilecheck({BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData});
+
+
+% Save
+save(FileName, 'LocoModel', 'FitParameters', 'BPMData', 'CMData', 'RINGData', 'LocoMeasData', 'LocoFlags');
+
Index: /trunk/machine/SOLEIL/StorageRing/loco/buildlocoinput_fofb.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/buildlocoinput_fofb.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/buildlocoinput_fofb.m	(revision 17)
@@ -0,0 +1,544 @@
+function [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocoinput(OutputFileName)
+%BUILDLOCOINPUT - Matlab Middlelayer (MML) method for building a LOCO input file.
+%                 Combines response matrix, BPM standard deviation, and 
+%                 dispersion files (or measurements) into a LOCO input file.
+%                 The fit parameters are added if a buildlocofitparameters file is on the path.
+%
+%  [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocoinput(OutputFileName)
+%
+%  Written by Greg Portmann
+
+
+% % In order to iterate loco uses arrays of structures all the fields in the structure must be present
+% LocoFlags = struct('SVmethod',[], 'Dispersion',[], 'Coupling',[], 'Normalize',[], 'Linear',[], 'SVDDataFileName',[]);
+% LocoModel = struct('M',[], 'OutlierIndex',[], 'Eta',[], 'EtaOutlierIndex',[], 'SValues',[], 'SValuesIndex',[], 'ChiSquare',[]);
+% BPMData = struct('FamName',[], 'BPMIndex',[], 'HBPMIndex',[], 'VBPMIndex',[], 'HBPMGoodDataIndex',[], 'VBPMGoodDataIndex',[], 'HBPMGain',[], 'VBPMGain',[], 'HBPMCoupling',[], 'VBPMCoupling',[], 'HBPMGainSTD',[], 'VBPMGainSTD',[],'HBPMCouplingSTD',[],'VBPMCouplingSTD',[],'FitGains',[],'FitCoupling',[]);
+% CMData = struct('FamName',[], 'HCMIndex',[], 'VCMIndex',[], 'HCMGoodDataIndex',[], 'VCMGoodDataIndex',[], 'HCMKicks',[], 'VCMKicks',[], 'HCMCoupling',[], 'VCMCoupling',[], 'HCMKicksSTD',[], 'VCMKicksSTD',[],'HCMCouplingSTD',[],'VCMCouplingSTD',[],'FitKicks',[],'FitCoupling',[]);
+% FitParameters = struct('Params',[], 'Values',[], 'ValuesSTD',[], 'Deltas',[], 'DeltaRF',[], 'FitRFFrequency',[], 'DeltaRFSTD',[]);
+
+FitParameters = [];
+
+
+% Family Setup
+BPMxFamily = gethbpmfamily;
+BPMyFamily = getvbpmfamily;
+
+HCMFamily = 'FHCOR'; 
+VCMFamily = 'FVCOR'; 
+
+
+% Should probably get these from the response matrix???
+if isempty(BPMxFamily)
+    BPMxFamily = 'BPMx';   
+end
+if isempty(BPMyFamily)
+    BPMyFamily = 'BPMy';   
+end
+if isempty(HCMFamily)
+    HCMFamily = 'HCM';   
+end
+if isempty(VCMFamily)
+    VCMFamily = 'VCM';   
+end
+
+
+% BPMs to remove 
+RemoveBPMDeviceList = [];
+RemoveHCMDeviceList = [];
+RemoveVCMDeviceList = [];
+
+
+if nargin == 0
+    [OutputFileName, DirectoryName] = uiputfile('*.mat', 'New LOCO Input File Name?');
+    if OutputFileName == 0
+        return
+    end
+    OutputFileName = [DirectoryName OutputFileName];
+end
+
+DirStart = [getfamilydata('Directory', 'DataRoot'), 'LOCO', filesep];
+
+
+% To start with nominal gains (1) and coupling (0)
+%ButtonName = questdlg('Gains and Coupling?','LOCO STARTING POINT','Use Present Setting','Nominal Gain=1, Coupling=0','Use Present Setting');
+%switch ButtonName,
+%    case 'Nominal Gain=1, Coupling=0'
+        setlocodata('Nominal');
+        fprintf('   May need to run setoperationmode (or aoinit) to restore the proper gains & rolls.\n');
+%end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+% 1. Build the AT MODEL %
+%%%%%%%%%%%%%%%%%%%%%%%%%
+LocoModel = [];
+
+% Save THERING and restore on exit so that this function does not change the model
+global THERING
+THERINGsave = THERING;
+
+AO_ATModel = getfamilydata('ATModel');
+[DirectoryName, ATModel, Ext] = fileparts(which(AO_ATModel));
+[ATModel, DirectoryName] = uigetfile('*.*', 'AT Model (Cancel to use the present model)?', [DirectoryName, filesep, ATModel, Ext]);
+if ATModel == 0
+    if isempty(THERING)
+        fprintf('   No AT model found.  Buildlocoinput canceled.\n');
+        return;
+    end
+else
+    run([DirectoryName, ATModel]);
+    %updateatindex; % Purpose ?
+end
+
+% Cavity and radiation should be off for response and dispersion generation
+setcavity off;
+setradiation off;
+
+% Set the model energy
+setenergymodel(getfamilydata('Energy'));
+
+RINGData.Lattice = THERING;
+RINGData.CavityFrequency  = getrf('Model', 'Physics');
+RINGData.CavityHarmNumber = getharmonicnumber; 
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% 2. MEASURED DATA STRUCTURE                %
+% LocoMeasData.M          [mm]              %
+% LocoMeasData.BPMSTD     [mm]              %
+% LocoMeasData.DeltaAmps  [Amps] (Optional) %
+% LocoMeasData.Eta        [mm]              %
+% LocoMeasData.RF         [Hz]              %
+% LocoMeasData.DeltaRF    [Hz]              %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%
+% BPM Response Matrix %
+%%%%%%%%%%%%%%%%%%%%%%%
+% Rmat(BPM,COR)
+% Rmat(1,1).Data=xx;  %Kick x, look x
+% Rmat(2,1).Data=yx;  %Kick x, look y
+% Rmat(1,2).Data=xy;  %Kick y, look x
+% Rmat(2,2).Data=yy;  %Kick y, look y
+
+ButtonName = questdlg('LOCO response matrix?','RESPONSE MATRIX','Use Default','Measure','Get From File','Get From File');
+drawnow;
+%IDBPM = getidbpmlist;
+
+switch ButtonName,
+    case 'Get From File'
+        [BPMRespFile, BPMRespDirectory] = uigetfile('*.mat','Select a BPM Response Matrix File', DirStart);
+        if BPMRespFile == 0
+            fprintf('   buildlocoinput canceled.\n');
+            return
+        end
+        DirStart = BPMRespDirectory;
+
+        % Variable MachineConfig is the lattice at the time when the response matrix was generated
+        try
+            load([BPMRespDirectory BPMRespFile], 'MachineConfig');
+        catch
+            fprintf('   Lattice configuration not found in the response matrix file.  You don''t need it but it''s nice to have.\n');
+        end
+        
+        Rmat(1,1) = getrespmat(BPMxFamily, [], HCMFamily, [], [BPMRespDirectory BPMRespFile], 'Struct', 'Hardware', 'NoEnergyScaling');
+        Rmat(1,2) = getrespmat(BPMxFamily, [], VCMFamily, [], [BPMRespDirectory BPMRespFile], 'Struct', 'Hardware', 'NoEnergyScaling');
+        Rmat(2,1) = getrespmat(BPMyFamily, [], HCMFamily, [], [BPMRespDirectory BPMRespFile], 'Struct', 'Hardware', 'NoEnergyScaling');
+        Rmat(2,2) = getrespmat(BPMyFamily, [], VCMFamily, [], [BPMRespDirectory BPMRespFile], 'Struct', 'Hardware', 'NoEnergyScaling');
+        
+    case 'Use Default'
+        Rmat(1,1) = getrespmat(BPMxFamily, [], HCMFamily, [], 'Struct', 'Hardware', 'NoEnergyScaling');
+        Rmat(1,2) = getrespmat(BPMxFamily, [], VCMFamily, [], 'Struct', 'Hardware', 'NoEnergyScaling');
+        Rmat(2,1) = getrespmat(BPMyFamily, [], HCMFamily, [], 'Struct', 'Hardware', 'NoEnergyScaling');
+        [Rmat(2,2), FileName] = getrespmat(BPMyFamily, [], VCMFamily, [], 'Struct', 'Hardware', 'NoEnergyScaling');
+        
+        % Variable MachineConfig is the lattice at the time when the response matrix was generated
+        load(FileName,'MachineConfig');
+        
+    case 'Measure'
+        Rmat = measbpmresp('Struct', 'Hardware');
+
+        % Variable MachineConfig is the lattice at the time when the response matrix was generated
+        MachineConfig = getmachineconfig;
+        
+    otherwise
+        fprintf('   LOCO build canceled.\n');
+        return
+end
+
+if exist('MachineConfig','var')
+    LocoMeasData.MachineConfig = MachineConfig;  % Extra (not needed by LOCO but it's often nice to have it)
+end
+
+
+% BPM remove list  
+i = findrowindex(RemoveBPMDeviceList, Rmat(1,1).Monitor.DeviceList);
+Rmat(1,1).Data(i,:) = [];
+Rmat(1,1).Monitor1(i,:) = [];
+Rmat(1,1).Monitor2(i,:) = [];
+Rmat(1,1).Monitor.DeviceList(i,:) = [];
+Rmat(1,1).Monitor.Data(i,:) = [];
+Rmat(1,1).Monitor.Status(i,:) = [];
+
+i = findrowindex(RemoveBPMDeviceList, Rmat(1,2).Monitor.DeviceList);
+Rmat(1,2).Data(i,:) = [];
+Rmat(1,2).Monitor1(i,:) = [];
+Rmat(1,2).Monitor2(i,:) = [];
+Rmat(1,2).Monitor.DeviceList(i,:) = [];
+Rmat(1,2).Monitor.Data(i,:) = [];
+Rmat(1,2).Monitor.Status(i,:) = [];
+
+i = findrowindex(RemoveBPMDeviceList, Rmat(2,1).Monitor.DeviceList);
+Rmat(2,1).Data(i,:) = [];
+Rmat(2,1).Monitor1(i,:) = [];
+Rmat(2,1).Monitor2(i,:) = [];
+Rmat(2,1).Monitor.DeviceList(i,:) = [];
+Rmat(2,1).Monitor.Data(i,:) = [];
+Rmat(2,1).Monitor.Status(i,:) = [];
+
+i = findrowindex(RemoveBPMDeviceList, Rmat(2,2).Monitor.DeviceList);
+Rmat(2,2).Data(i,:) = [];
+Rmat(2,2).Monitor1(i,:) = [];
+Rmat(2,2).Monitor2(i,:) = [];
+Rmat(2,2).Monitor.DeviceList(i,:) = [];
+Rmat(2,2).Monitor.Data(i,:) = [];
+Rmat(2,2).Monitor.Status(i,:) = [];
+
+
+% CM remove list  
+i = findrowindex(RemoveHCMDeviceList, Rmat(1,1).Actuator.DeviceList);
+Rmat(1,1).Data(:,i) = [];
+Rmat(1,1).ActuatorDelta(i,:) = [];
+Rmat(1,1).Actuator.DeviceList(i,:) = [];
+Rmat(1,1).Actuator.Data(i,:) = [];
+Rmat(1,1).Actuator.Status(i,:) = [];
+
+i = findrowindex(RemoveVCMDeviceList, Rmat(1,2).Actuator.DeviceList);
+Rmat(1,2).Data(:,i) = [];
+Rmat(1,2).ActuatorDelta(i,:) = [];
+Rmat(1,2).Actuator.DeviceList(i,:) = [];
+Rmat(1,2).Actuator.Data(i,:) = [];
+Rmat(1,2).Actuator.Status(i,:) = [];
+
+i = findrowindex(RemoveHCMDeviceList, Rmat(2,1).Actuator.DeviceList);
+Rmat(2,1).Data(:,i) = [];
+Rmat(2,1).ActuatorDelta(i,:) = [];
+Rmat(2,1).Actuator.DeviceList(i,:) = [];
+Rmat(2,1).Actuator.Data(i,:) = [];
+Rmat(2,1).Actuator.Status(i,:) = [];
+
+i = findrowindex(RemoveVCMDeviceList, Rmat(2,2).Actuator.DeviceList);
+Rmat(2,2).Data(:,i) = [];
+Rmat(2,2).ActuatorDelta(i,:) = [];
+Rmat(2,2).Actuator.DeviceList(i,:) = [];
+Rmat(2,2).Actuator.Data(i,:) = [];
+Rmat(2,2).Actuator.Status(i,:) = [];
+
+
+% LOCO uses mm, not mm/amp
+R11 = (ones(size(Rmat(1,1).Data,1),1) * Rmat(1,1).ActuatorDelta(:)') .* Rmat(1,1).Data;
+R12 = (ones(size(Rmat(1,2).Data,1),1) * Rmat(1,2).ActuatorDelta(:)') .* Rmat(1,2).Data;
+R21 = (ones(size(Rmat(2,1).Data,1),1) * Rmat(2,1).ActuatorDelta(:)') .* Rmat(2,1).Data;
+R22 = (ones(size(Rmat(2,2).Data,1),1) * Rmat(2,2).ActuatorDelta(:)') .* Rmat(2,2).Data;
+
+
+% Add energy to the RINGData (not needed for LOCO)
+RINGData.Energy = Rmat(1,1).GeV;
+
+% Build non-structure response matrix
+LocoMeasData.M = [R11 R12; R21 R22];   % [mm]
+LocoMeasData.DeltaAmps = [Rmat(1,1).ActuatorDelta(:); Rmat(2,2).ActuatorDelta(:)];
+
+% Extra variables to add to the measured structure
+LocoMeasData.HBPM = Rmat(1,1).Monitor;
+LocoMeasData.VBPM = Rmat(2,2).Monitor;
+LocoMeasData.HCM  = Rmat(1,1).Actuator;
+LocoMeasData.VCM  = Rmat(2,2).Actuator;
+
+% Needed for computing the new gain
+LocoMeasData.HCMGain = getgain(HCMFamily, Rmat(1,1).Actuator.DeviceList);
+LocoMeasData.VCMGain = getgain(VCMFamily, Rmat(2,2).Actuator.DeviceList);
+LocoMeasData.HCMRoll = getroll(HCMFamily, Rmat(1,1).Actuator.DeviceList);
+LocoMeasData.VCMRoll = getroll(VCMFamily, Rmat(2,2).Actuator.DeviceList);
+
+
+if ~exist('RINGData','var')
+    % Kick strength in milliradian
+    HCMKicks = 1000 * hw2physics(HCMFamily, 'Setpoint', Rmat(1,1).ActuatorDelta, Rmat(1,1).Actuator.DeviceList);  
+    VCMKicks = 1000 * hw2physics(VCMFamily, 'Setpoint', Rmat(2,2).ActuatorDelta, Rmat(2,2).Actuator.DeviceList);
+    fprintf('   Note: Without an AT model BPMData and CMData variables cannot be determined.\n');
+    fprintf('         Variables HCMKicks and VCMKicks will be saved to the data file.\n');
+    save(OutputFileName, 'LocoMeasData', 'LocoModel', 'HCMKicks', 'VCMKicks');
+    return
+end
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%
+% GET DISPERSION INFO %
+%%%%%%%%%%%%%%%%%%%%%%%
+ButtonName = questdlg({'LOCO Dispersion & RF Frequency?','(Close dialog box to not include dispersion)'},'DISPERSION','Use Default','Measure','Get From File','Get From File');
+drawnow;
+switch ButtonName
+    case 'Use Default'
+        DISPx = getdisp(BPMxFamily, Rmat(1,1).Monitor.DeviceList, 'Struct', 'Hardware');
+        DISPy = getdisp(BPMyFamily, Rmat(2,2).Monitor.DeviceList, 'Struct', 'Hardware');
+        RF = DISPx.Actuator.Data;
+        DeltaRF = DISPx.ActuatorDelta;
+        DISPx = DeltaRF * DISPx.Data;
+        DISPy = DeltaRF * DISPy.Data;
+
+    case 'Get From File'
+        [DISPFile, DISPDirectory] = uigetfile('*.mat','Select a Dispersion File', DirStart);
+        if DISPFile == 0
+            fprintf('   buildlocoinput canceled.\n');
+            return
+        end
+        DirStart = DISPDirectory;
+
+        DISPx = getrespmat(BPMxFamily, Rmat(1,1).Monitor.DeviceList, 'RF', [], [DISPDirectory DISPFile], 'Struct', 'Hardware', 'NoEnergyScaling');
+        RF = DISPx.Actuator.Data;
+        DeltaRF = DISPx.ActuatorDelta;
+        DISPx = DeltaRF * DISPx.Data;
+        DISPy = DeltaRF * getrespmat(BPMyFamily, Rmat(2,2).Monitor.DeviceList, 'RF', [], [DISPDirectory DISPFile], 'Hardware', 'NoEnergyScaling');
+        
+    case 'Measure'
+        [Dx, Dy] = measdisp(BPMxFamily, Rmat(1,1).Monitor.DeviceList, BPMyFamily, Rmat(2,2).Monitor.DeviceList, 'Struct', 'Archive', 'Hardware');
+        RF = Dx.Actuator.Data;
+        DeltaRF = Dx.ActuatorDelta;
+        DISPx = DeltaRF * Dx.Data;
+        DISPy = DeltaRF * Dy.Data;
+    case ''
+        fprintf('   Dispersion will not be included in the LOCO file.\n');
+end
+
+if isempty(ButtonName)
+    LocoMeasData.RF      = [];
+    LocoMeasData.DeltaRF = [];
+    LocoMeasData.Eta = [];
+else
+    %LocoMeasData.RF      = 1e6 * RF;             % [Hz]
+    %LocoMeasData.DeltaRF = 1e6 * DeltaRF;        % [Hz]
+    LocoMeasData.RF      = hw2physics('RF', 'Setpoint', RF);        % [Hz]
+    LocoMeasData.DeltaRF = hw2physics('RF', 'Setpoint', DeltaRF);   % [Hz]
+    LocoMeasData.DeltaRF = LocoMeasData.DeltaRF(1);
+    LocoMeasData.Eta = [DISPx(:); DISPy(:)];      % [mm]
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
+% GET BPM STANDARD DEVIATION INFO %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ButtonName = questdlg('LOCO BPM Sigma?','BPM SIGMA','Use Default','Measure','Get From File','Get From File');
+drawnow;
+switch ButtonName,
+    case 'Get From File'
+        [BPMSigmaFile, BPMSigmaDirectory] = uigetfile('*.mat','Select a BPM Sigma File', DirStart);
+        drawnow;
+        if BPMSigmaFile == 0
+            fprintf('   buildlocoinput canceled.\n');
+            return
+        end
+        DirStart = BPMSigmaDirectory;
+
+        %BPMxSTD = getdata(BPMxFamily, Rmat(1,1).Monitor.DeviceList, [BPMSigmaDirectory BPMSigmaFile], 'Hardware');
+        %BPMySTD = getdata(BPMyFamily, Rmat(2,2).Monitor.DeviceList, [BPMSigmaDirectory BPMSigmaFile], 'Hardware');
+        BPMxSTD = getsigma(BPMxFamily, Rmat(1,1).Monitor.DeviceList, [], [BPMSigmaDirectory BPMSigmaFile], 'Hardware');
+        BPMySTD = getsigma(BPMyFamily, Rmat(2,2).Monitor.DeviceList, [], [BPMSigmaDirectory BPMSigmaFile], 'Hardware');
+        
+    case 'Use Default'
+        BPMxSTD = getsigma(BPMxFamily, Rmat(1,1).Monitor.DeviceList, 'Hardware');
+        BPMySTD = getsigma(BPMyFamily, Rmat(2,2).Monitor.DeviceList, 'Hardware');
+
+    case 'Measure'
+        [BPMx, BPMy, tout, DCCT, BPMxSTD, BPMySTD] = monbpm(0:.5:60*3, BPMxFamily, Rmat(1,1).Monitor.DeviceList, BPMyFamily, Rmat(2,2).Monitor.DeviceList, 'Archive', 'Hardware');
+end
+
+% sqrt(2) is needed because LOCO standard deviation is for difference orbits
+LocoMeasData.BPMSTD = sqrt(2) * [BPMxSTD(:); BPMySTD(:)];    % [mm]
+
+
+% % Check for a zero standard deviation (this is done in lococheckfile)
+% i = find(BPMxSTD==0);
+% if ~isempty(i)
+%     for k = 1:length(i)
+%         fprintf('   %s(%d,%d) or %s(%d) has a zero standard deviation\n', BPMxFamily, Rmat(1,1).Monitor.DeviceList(i(k),:), BPMxFamily, i(k));
+%     end
+% end
+% 
+% % Check for a zero standard deviation
+% j = find(BPMySTD==0);
+% if ~isempty(j)
+%     for k = 1:length(j)
+%         fprintf('   %s(%d,%d) or %s(%d) has a zero standard deviation\n', BPMyFamily, Rmat(2,2).Monitor.DeviceList(j(k),:), BPMyFamily, j(k));
+%     end
+% end
+% if ~isempty(i) || ~isempty(j)
+%     fprintf('   WARNING:  LOCO can''t handle zero standard deviations.\n');
+% end
+
+
+
+% 3. BPM AND CORRECTOR MAGNET STRUCTURES
+% FamName and BPMIndex tells the findorbitrespm function which BPMs are needed in the response matrix
+% HBPMIndex/VBPMIndex is the sub-index of BPMIndex which correspond to the measured response matrix
+% BPMData.HBPMGain = starting value for the horizontal BPM gains (default: ones)
+% BPMData.VBPMGain = starting value for the vertical   BPM gains (default: ones)
+% BPMData.HBPMCoupling = starting value for the horizontal BPM coupling (default: zeros)
+% BPMData.VBPMCoupling = starting value for the vertical   BPM coupling (default: zeros)
+% BPMData.FitGains    = 'Yes'/'No' to fitting the BPM gain     (set in locogui)
+% BPMData.FitCoupling = 'Yes'/'No' to fitting the BPM coupling (set in locogui)
+% Note that gains and coupling are used all the time (fit or not!)
+
+BPMData.FamName = 'BPM';
+BPMData.FitGains    = 'Yes';
+BPMData.FitCoupling = 'Yes';
+
+if 1
+    % Get the AT indexes from the AT model
+    % The model should have the same number of devices as the total device list in the AO.
+    % Then index based on the DeviceList saved with the response matrix
+    BPMData.BPMIndex = findcells(THERING, 'FamName', BPMData.FamName)';
+    tempindex = BPMData.BPMIndex;
+    
+    BPMxListTotal0 = family2dev(Rmat(1,1).Monitor.FamilyName,0);
+    %BPMxListTotal = getlist(Rmat(1,1).Monitor.FamilyName);
+    BPMxListTotal = Rmat(1,1).Monitor.DeviceList;
+    subindex = findrowindex([BPMxListTotal; zeros(length(BPMxListTotal0)-length(BPMxListTotal),2)],BPMxListTotal0); 
+        
+    BPMData.BPMIndex = BPMData.BPMIndex(subindex);    
+    if length(BPMData.BPMIndex) == size(BPMxListTotal,1)
+        %BPMData.HBPMIndex = 1:length(BPMData.BPMIndex); 
+        
+        % Only include the good BPMs (Status = 1)
+        BPMData.HBPMIndex = findrowindex(Rmat(1,1).Monitor.DeviceList, BPMxListTotal); 
+    else
+        error('BPM family in the AT model has more BPMs then the actual accelerator (horizontally)');
+    end     
+    
+    BPMyListTotal = Rmat(2,2).Monitor.DeviceList;
+    
+    if length(BPMData.BPMIndex) == size(BPMyListTotal,1)
+        % Only include the good BPMs (Status = 1)
+        BPMData.VBPMIndex = findrowindex(Rmat(2,2).Monitor.DeviceList, BPMyListTotal); 
+    else
+        error('BPM family in the AT model has more BPMs then the actual accelerator (vertically)');
+    end     
+    
+else
+    % Get the AT indexes from the AO
+    BPM1Index = family2atindex(Rmat(1,1).Monitor.FamilyName, Rmat(1,1).Monitor.DeviceList);    % Must match the response matrix
+    BPM2Index = family2atindex(Rmat(2,2).Monitor.FamilyName, Rmat(2,2).Monitor.DeviceList);    % Must match the response matrix
+    BPMData.FamName = THERING{BPM1Index(1)};
+    
+    BPMData.BPMIndex = unique([BPM1Index(:); BPM2Index(:)]);
+    BPMData.HBPMIndex = findrowindex(BPM1Index, BPMData.BPMIndex);          % Must match the response matrix
+    BPMData.VBPMIndex = findrowindex(BPM2Index, BPMData.BPMIndex);          % Must match the response matrix
+end
+
+if 1
+    % Starting with the present GCR
+    for i = 1:length(Rmat(1,1).Monitor.DeviceList)
+        m = gcr2loco(getgain(BPMxFamily, Rmat(1,1).Monitor.DeviceList(i,:)), getgain(BPMyFamily, Rmat(1,1).Monitor.DeviceList(i,:)), getcrunch(BPMxFamily, Rmat(1,1).Monitor.DeviceList(i,:)), getroll(BPMxFamily, Rmat(1,1).Monitor.DeviceList(i,:)));
+        BPMData.HBPMGain(i,1) = m(1,1);
+        BPMData.HBPMCoupling(i,1) = m(1,2);
+    end
+
+    for i = 1:length(Rmat(2,2).Monitor.DeviceList)
+        m = gcr2loco(getgain(BPMxFamily, Rmat(2,2).Monitor.DeviceList(i,:)), getgain(BPMyFamily, Rmat(2,2).Monitor.DeviceList(i,:)), getcrunch(BPMyFamily, Rmat(2,2).Monitor.DeviceList(i,:)), getroll(BPMyFamily, Rmat(2,2).Monitor.DeviceList(i,:)));
+        BPMData.VBPMGain(i,1) = m(2,2);
+        BPMData.VBPMCoupling(i,1) = m(2,1);
+    end
+else
+    % Starting with nominal gains
+    BPMData.HBPMGain = ones(length(BPMData.HBPMIndex), 1);
+    BPMData.VBPMGain = ones(length(BPMData.VBPMIndex), 1);
+end
+
+
+
+% FamName and HCMIndex/VCMIndex tells the findorbitrespm function which corrector magnets are in the response matrix
+% CMData.FitKicks = 'Yes'/'No' to fitting the corrector magnet gain (set in locogui)
+% CMData.FitCoupling = 'Yes'/'No' to fitting the corrector magnet coupling (set in locogui)
+% CMData.HCMKicks = starting value for the horizontal kicks in milliradian
+% CMData.VCMKicks = starting value for the vertical   kicks in milliradian
+% CMData.HCMCoupling = starting value for the horizontal coupling (default: zeros)
+% CMData.VCMCoupling = starting value for the vertical   coupling (default: zeros)
+% Note:  The kick strength should match the measured response matrix as best as possible
+% Note:  The kicks and Coupling are used all the time (fit or not!)
+
+% Get the AT indexes from the AT model
+CMData.FitKicks    = 'Yes';
+CMData.FitCoupling = 'Yes';
+CMData.FitHCMEnergyShift = 'No';
+CMData.FitVCMEnergyShift = 'No';
+
+% Get the AT indexes from the AO
+CMData.HCMIndex = family2atindex(Rmat(1,1).Actuator.FamilyName, Rmat(1,1).Actuator.DeviceList);    % Must match the response matrix
+CMData.VCMIndex = family2atindex(Rmat(2,2).Actuator.FamilyName, Rmat(2,2).Actuator.DeviceList);    % Must match the response matrix
+CMData.FamName = THERING{CMData.HCMIndex(1)}.FamName;
+
+% Kick strength in milliradian
+CMData.HCMKicks = 1000 * hw2physics(HCMFamily, 'Setpoint', Rmat(1,1).ActuatorDelta, Rmat(1,1).Actuator.DeviceList);  
+CMData.VCMKicks = 1000 * hw2physics(VCMFamily, 'Setpoint', Rmat(2,2).ActuatorDelta, Rmat(2,2).Actuator.DeviceList);
+
+% The kicks need to be adjusted for roll (model coordinates)
+CMData.HCMKicks = CMData.HCMKicks .* cos(getroll(HCMFamily,Rmat(1,1).Actuator.DeviceList));
+CMData.VCMKicks = CMData.VCMKicks .* cos(getroll(VCMFamily,Rmat(2,2).Actuator.DeviceList));
+
+% Coupling term: Cloco/Gloco  = gain(ML)*sin(Roll)/(gain(ML)*cos(Roll)) = tan(Roll)
+%CMData.HCMCoupling =  getgain(HCMFamily, Rmat(1,1).Actuator.DeviceList) .* sin(getroll(HCMFamily,Rmat(1,1).Actuator.DeviceList));
+%CMData.VCMCoupling = -getgain(VCMFamily, Rmat(2,2).Actuator.DeviceList) .* sin(getroll(VCMFamily,Rmat(2,2).Actuator.DeviceList));
+CMData.HCMCoupling =  tan(getroll(HCMFamily,Rmat(1,1).Actuator.DeviceList));
+CMData.VCMCoupling = -tan(getroll(VCMFamily,Rmat(2,2).Actuator.DeviceList));
+
+
+
+%%%%%%%%%%%%%
+% LocoFlags %
+%%%%%%%%%%%%%
+% LocoFlags can be created or just take the defaults with locogui (or locofilecheck) 
+% LocoFlags = [];   
+LocoFlags.Threshold = 1e-006;
+LocoFlags.OutlierFactor = 10;
+LocoFlags.SVmethod = 1e-005;
+LocoFlags.HorizontalDispersionWeight = 12.5;
+LocoFlags.VerticalDispersionWeight = 12.5;
+LocoFlags.AutoCorrectDelta = 'Yes';
+LocoFlags.Coupling = 'Yes';
+LocoFlags.Normalize = 'Yes';
+LocoFlags.Dispersion = 'Yes';
+LocoFlags.ResponseMatrixCalculatorFlag1 = 'Linear';
+LocoFlags.ResponseMatrixCalculatorFlag2 = 'FixedPathLength';
+
+
+
+%%%%%%%%%%%%%
+% Save file %
+%%%%%%%%%%%%%
+
+% File check
+[BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData] = locofilecheck({BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData});
+
+
+% Save
+save(OutputFileName, 'LocoModel', 'FitParameters', 'BPMData', 'CMData', 'RINGData', 'LocoMeasData', 'LocoFlags');
+
+
+% Restore the old AT model
+THERING = THERINGsave;
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Add the machine dependent stuff %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+if exist('buildlocofitparameters', 'file')
+    buildlocofitparameters(OutputFileName);
+else
+    fprintf('   buildlocofitparameters.m was not found so the FitParameters variable still needs to be created.\n');
+end
+
+
+
Index: /trunk/machine/SOLEIL/StorageRing/loco/changes/buildlocofitparameters_new.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/changes/buildlocofitparameters_new.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/changes/buildlocofitparameters_new.m	(revision 17)
@@ -0,0 +1,326 @@
+function [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocofitparameters(FileName)
+%BUILDLOCOFITPARAMETERS - SOLEIL LOCO fit parameters
+%
+%  [LocoMeasData, BPMData, CMData, RINGData, FitParameters, LocoFlags] = buildlocoinput(FileName)
+
+%
+%% Written By Laurent S. Nadolski
+
+%%%%%%%%%%%%%%
+% Input file %
+%%%%%%%%%%%%%%
+if nargin == 0
+    [FileName, DirectoryName, FilterIndex] = uigetfile('*.mat','Select a LOCO input file');
+    if FilterIndex == 0
+        return;
+    end
+    FileName = [DirectoryName, FileName];
+end
+
+load(FileName);
+
+%%%%%%%%%%%%%%%%%%%%%%
+% Remove bad devices %
+%%%%%%%%%%%%%%%%%%%%%%
+RemoveHCMDeviceList = [];
+RemoveVCMDeviceList = [];
+
+RemoveHBPMDeviceList = [];
+RemoveVBPMDeviceList = [];
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% This function only works on the first iteration %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if exist('BPMData','var') && length(BPMData)>1
+    BPMData = BPMData(1);
+end
+if exist('CMData','var') && length(CMData)>1
+    CMData = CMData(1);
+end
+if exist('FitParameters','var') && length(FitParameters)>1
+    FitParameters = FitParameters(1);
+end
+if exist('LocoFlags','var') && length(LocoFlags)>1
+    LocoFlags = LocoFlags(1);
+end
+if exist('LocoModel','var') && length(LocoModel)>1
+    LocoModel = LocoModel(1);
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make sure the start point in loaded in the AT model %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if ~isempty(FitParameters)
+    for i = 1:length(FitParameters.Params)
+        RINGData = locosetlatticeparam(RINGData, FitParameters.Params{i}, FitParameters.Values(i));
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% LocoFlags to change from the default %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% LocoFlags.Threshold = 1e-5;
+% LocoFlags.OutlierFactor = 10;
+% LocoFlags.SVmethod = 1e-2;
+LocoFlags.SVmethod = 1:895;
+% LocoFlags.HorizontalDispersionWeight = 12.5;
+% LocoFlags.VerticalDispersionWeight = 12.5;
+% LocoFlags.AutoCorrectDelta = 'Yes';
+% LocoFlags.Coupling = 'No';
+% LocoFlags.Dispersion = 'No';
+% LocoFlags.Normalize = 'Yes';
+% LocoFlags.ResponseMatrixCalculatorFlag1 = 'Linear';
+% LocoFlags.ResponseMatrixCalculatorFlag2 = 'FixedPathLength';
+% LocoFlags.CalculateSigma = 'No';
+% LocoFlags.SinglePrecision = 'Yes';
+
+% CMData.FitKicks    = 'Yes';
+% CMData.FitCoupling = 'No';
+%
+% BPMData.FitGains    = 'Yes';
+% BPMData.FitCoupling = 'No';
+
+
+% Corrector magnets to disable
+j = findrowindex(RemoveHCMDeviceList, LocoMeasData.HCM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),CMData.HCMGoodDataIndex(:));
+    CMData.HCMGoodDataIndex(irm) = [];
+end
+
+j = findrowindex(RemoveVCMDeviceList, LocoMeasData.VCM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),CMData.VCMGoodDataIndex(:));
+    CMData.VCMGoodDataIndex(irm) = [];
+end
+
+
+% BPMs to disable
+j = findrowindex(RemoveHBPMDeviceList, LocoMeasData.HBPM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),BPMData.HBPMGoodDataIndex(:));
+    BPMData.HBPMGoodDataIndex(irm) = [];
+end
+
+j = findrowindex(RemoveVBPMDeviceList, LocoMeasData.VBPM.DeviceList);
+if ~isempty(j)
+    irm = findrowindex(j(:),BPMData.VBPMGoodDataIndex(:));
+    BPMData.VBPMGoodDataIndex(irm) = [];
+end
+
+%%%%%%%%%%%%%%%%%
+% FitParameters %
+%%%%%%%%%%%%%%%%%
+
+% Individual magnets
+% For each parameter which is fit in the model a numerical response matrix
+% gradient needs to be determined.  The FitParameters data structure determines what
+% parameter in the model get varied and how are they grouped.  For no parameter fits, set
+% FitParameters.Params to an empty vector.
+%     FitParameters.Params = parameter group definition (cell array for AT)
+%     FitParameters.Values = Starting value for the parameter fit
+%     FitParameters.Deltas = change in parameter value used to compute the gradient (NaN forces loco to choose, see auto-correct delta flag below)
+%     FitParameters.FitRFFrequency = ('Yes'/'No') Fit the RF frequency?
+%     FitParameters.DeltaRF = Change in RF frequency when measuring "dispersion".
+%                             If the RF frequency is being fit the output is stored here.
+%
+% The FitParameters structure also contains the standard deviations of the fits:
+%     LocoValuesSTD
+%     FitParameters.DeltaRFSTD
+%
+% Note: FitParameters.DeltaRF is used when including dispersion in the response matrix.
+%       LocoMeasData.DeltaRF is not used directly in loco.  Usually one would set
+%       FitParameters.DeltaRF = LocoMeasData.DeltaRF as a starting point for the RF frequency.
+
+
+ModeCell = {'Fit by family', 'Fit magnets by power supply', 'Fit selected quad'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString',{'Fit Parameter Selection:','(Not including skew quadrupoles)'}, 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [350 125], 'InitialValue', 2);
+if OKFlag ~= 1
+    ButtonName = 1;
+end
+drawnow;
+FitParameters = [];
+n = 0;
+switch ButtonName
+    case 1  % By family
+        global THERING; % TODO remove not clean at all
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        for k=1:10,
+            % Q1 K-values
+            n = n+1;
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            FitParameters.Params{n} = mkparamgroup(THERING, QI, 'K');
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI(1))];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN];
+        end
+
+
+    case 2  % Fit by power supply
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        global THERING; % TODO remove not clean at all
+        % K-values
+        for k=1:10,
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+
+    case 3  % Fit by power supply less than 160
+
+        n = 0;
+        FitParameters.Deltas = [];
+        FitParameters.Values = [];
+
+        % K-values
+        for k= [1 2 4 7 9],
+            QI = findcells(THERING,'FamName',['Q' num2str(k)]);
+            for loop=1:length(QI)
+                n = n + 1;
+                FitParameters.Params{n} = mkparamgroup(THERING, QI(loop), 'K');
+            end
+            FitParameters.Values = [FitParameters.Values; getcellstruct(THERING, 'K', QI)];
+            FitParameters.Deltas = [FitParameters.Deltas; NaN * ones(length(QI),1)];
+        end
+
+    otherwise
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%
+% Skew quadrupole fits
+%%%%%%%%%%%%%%%%%%%%%%%
+
+ModeCell = {'Fit at Sextupoles', 'Fit By Power Supply', 'Do Not Fit Skew Quadrupoles'};
+[ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString','Skew Quadrupole Fits?', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [350 125], 'InitialValue', 2);
+if OKFlag ~= 1
+    ButtonName = length(ModeCell);  % Default
+end
+
+switch ButtonName
+    case 1
+        fprintf('   Skew fit at Sextupoles needs work.\n\n');
+        %     case 1
+        %         % Fit skew quadrupoles in the sextupoles
+        %         SFI = findcells(RINGData.Lattice,'FamName','SF');
+        %         SFn = size(family2dev('SF'),1);
+        %
+        %         for loop = 1:length(SFI)
+        %             if length(SFI) == SFn
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SFI(loop),'s');
+        %             elseif length(SFI) == 2*SFn
+        %                 % Split sextupoles
+        %                 N1 = 2*loop-1;
+        %                 N2 = 2*loop;
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SFI([N1 N2]),'s');
+        %             else
+        %                 error('   Error setting the SF parameter group.');
+        %             end
+        %         end
+        %
+        %         FitParameters.Values = [FitParameters.Values; zeros(SFn,1)];
+        %         FitParameters.Deltas = [FitParameters.Deltas; 0.5e-2 * ones(SFn,1)];  % automatic delta determination does not work if starting value is 0
+        %
+        %
+        %         % Fit skew quadrupoles in the sextupoles
+        %         SDI = findcells(RINGData.Lattice,'FamName','SD');
+        %         SDn = size(family2dev('SD'),1);
+        %
+        %         for loop = 1:length(SDI)
+        %             if length(SDI) == SDn
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SDI(loop),'s');
+        %             elseif length(SDI) == 2*SDn
+        %                 % Split sextupoles
+        %                 N1 = 2*loop-1;
+        %                 N2 = 2*loop;
+        %                 n = n + 1;
+        %                 FitParameters.Params{n} = mkparamgroup(RINGData.Lattice,SDI([N1 N2]),'s');
+        %             else
+        %                 error('   Error setting the SD parameter group.');
+        %             end
+        %         end
+        %
+        %         FitParameters.Values = [FitParameters.Values; zeros(SDn,1)];
+        %         FitParameters.Deltas = [FitParameters.Deltas; 0.5e-2 * ones(SDn,1)];  % automatic delta determination does not work if starting value is 0
+        %
+    case 2 % 'Fit by Power Supply'
+        % skew quad
+        QTI = family2atindex('QT',family2dev('QT'));
+        for loop=1:length(QTI),
+            n = n + 1;
+            FitParameters.Params{n} = mkparamgroup(THERING, QTI(loop), 'KS1');
+        end
+        FitParameters.Values = [FitParameters.Values; zeros(length(QTI),1)];
+        FitParameters.Deltas = [FitParameters.Deltas; 1 * ones(length(QTI),1)];
+
+    case 3 %'Don't Fit'
+        fprintf('   Skew quadrupole not fit.\n\n');
+
+    otherwise
+        fprintf('   Skew quadrupole not fit.\n\n');
+end
+
+fprintf('\n');
+
+
+% 
+% %%%%%%%%%%%%%%%%%%%%%
+% % Parameter Weights %
+% %%%%%%%%%%%%%%%%%%%%%
+% 
+% % For each cell of FitParameters.Weight.Value, a rows is added to the A matrix
+% % Index of the row of A:  FitParameters.Weight.Index{i}
+% % Value of the weight:    FitParameters.Weight.Value{i} / mean(Mstd)
+% 
+% ModeCell = {'No Parameter Weigths', 'Add Parameter Weights'};
+% [ButtonName, OKFlag] = listdlg('Name','BUILDLOCOINPUT','PromptString','Weights?', 'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [200 75], 'InitialValue', 2);
+% if OKFlag ~= 1
+%     ButtonName = 1;  % Default
+% end
+% 
+% switch ButtonName
+%     case 1
+%         % No Weights
+%         if isfield(FitParameters, 'Weight')
+%             FitParameters = rmfield(FitParameters, 'Weight');
+%         end
+%     case 2
+%         %for ii = 1:length(FitParameters.Values)
+%         for ii = 1:160, % specific weight for K-values
+%             FitParameters.Weight.Index{ii,1} = ii;
+%             %FitParameters.Weight.Value{ii,1} = 0.1; % for old BPM noise
+%             FitParameters.Weight.Value{ii,1} = 0.001; % for new BPM noise (sept 07)
+%         end
+% end
+
+
+
+% RF parameter fit setup (There is a flag to actually do the fit)
+if isempty(LocoMeasData.DeltaRF)
+    FitParameters.DeltaRF = 100;  % It's good to have something here so that LOCO will compute a model dispersion
+else
+    FitParameters.DeltaRF = LocoMeasData.DeltaRF;
+end
+
+
+% File check
+[BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData] = locofilecheck({BPMData, CMData, LocoMeasData, LocoModel, FitParameters, LocoFlags, RINGData});
+
+
+% Save
+save(FileName, 'LocoModel', 'FitParameters', 'BPMData', 'CMData', 'RINGData', 'LocoMeasData', 'LocoFlags');
+
Index: /trunk/machine/SOLEIL/StorageRing/loco/loco_build_BPMmat.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/loco/loco_build_BPMmat.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/loco/loco_build_BPMmat.m	(revision 17)
@@ -0,0 +1,158 @@
+function loco_build_BPMmat
+
+%% Load golden file
+FileName      = getfamilydata('OpsData', 'BPMGainAndCouplingFile');
+DirectoryName = getfamilydata('Directory', 'OpsData');
+FileName       = fullfile(DirectoryName, FileName);
+
+%% Resultats fit LOCO redÃ©marrage run 2 2009
+%load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-05-29_SOFB/160quad.mat')
+
+%% Resultats fit LOCO Nanoscopium run 4 2010
+%load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-10-10_Nano/163quad.mat')
+
+%% Resultats fit LOCO Nanoscopium run 5 2011
+load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-11-04/160quad.mat')
+
+iter = 3;
+HBPMgain = BPMData(iter).HBPMGain;
+VBPMgain = BPMData(iter).VBPMGain;
+HBPMcoupling = BPMData(iter).HBPMCoupling;
+VBPMcoupling = BPMData(iter).VBPMCoupling;
+HCMkick = CMData(iter).HCMKicks;
+meanHCMkick = mean(HCMkick);
+
+C = zeros(120,2,2);
+for ik =1:120,
+    C(ik,:,:)= [ HBPMgain(ik)       HBPMcoupling(ik) 
+                 VBPMcoupling(ik)   VBPMgain(ik)      ];
+    Cinv(ik,:,:) = inv(squeeze(C(ik,:,:)));
+end
+%%
+
+% load loco data
+%load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2010-10-29/LOCO160quad.mat')
+%Ref = load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-05-29_SOFB/160quad.mat');
+Ref = load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-10-10_Nano/163quad.mat')
+% Comparison
+iter = 3;
+figure
+h1 = subplot(2,2,1)
+plot(BPMData(iter).HBPMGain); hold all
+plot(Ref.BPMData(iter).HBPMGain,'r')
+ylabel('HBPM gains')
+h2 = subplot(2,2,2)
+plot(BPMData(iter).VBPMGain); hold all
+plot(Ref.BPMData(iter).VBPMGain,'r')
+ylabel('VBPM gains')
+h3 = subplot(2,2,3)
+plot(BPMData(iter).HBPMCoupling); hold all
+plot(Ref.BPMData(iter).HBPMCoupling,'r')
+ylabel('HBPM coupling')
+h4 = subplot(2,2,4)
+plot(BPMData(iter).VBPMCoupling); hold all
+plot(Ref.BPMData(iter).VBPMCoupling,'r')
+legend(['LOCO data', 'Diag. data'])
+ylabel('VBPM coupling')
+linkaxes([h1 h2 h3 h4], 'x');
+xaxis([0 121])
+
+% Load coupling data measurement by diagnostics group in April 2007
+load(fullfile(getfamilydata('Directory', 'LOCOData'), 'coupling_diag_avril07.mat'));
+
+%%
+iter = 3;
+
+% Remove nanoscopium BPM
+id = dev2elem('BPMx',[13 8; 13 9]);
+idx = [1:id(1)-1 id(2)+1:122];
+
+figure
+h1 = subplot(2,2,1)
+plot(BPMData(iter).HBPMGain(idx))
+ylabel('HBPM gains')
+h2 = subplot(2,2,2)
+plot(BPMData(iter).VBPMGain(idx))
+ylabel('VBPM gains')
+h3 = subplot(2,2,3)
+plot(BPMData(iter).HBPMCoupling(idx))
+ylabel('HBPM coupling')
+h4 = subplot(2,2,4)
+plot(BPMData(iter).VBPMCoupling(idx)); hold on
+plot(CT_DIAG,'k')
+legend('LOCO data', 'Diag. data')
+ylabel('VBPM coupling')
+linkaxes([h1 h2 h3 h4], 'x');
+xaxis([0 121])
+%%
+
+
+etax = getdisp('BPMx', '/home/matlabML/measdata/SOLEIL/StorageRingdata/Dispersion/Disp_2008-04-11_11-33-08.mat', 'Physics');
+etaz = getdisp('BPMz', '/home/matlabML/measdata/SOLEIL/StorageRingdata/Dispersion/Disp_2008-04-11_11-33-08.mat', 'Physics');
+
+FileName = fullfile('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2009-03-06c/', 'Disp_2009-03-06_18-08-44.mat');
+
+etax = getdisp('BPMx', FileName, 'Physics');
+etaz = getdisp('BPMz', FileName, 'Physics');
+%%
+C = zeros(120,2,2);
+for ik =1:120,
+    C(ik,:,:)= [ BPMData(iter).HBPMGain(ik)     BPMData(iter).HBPMCoupling(ik) 
+                 BPMData(iter).VBPMCoupling(ik) BPMData(iter).VBPMGain(ik)      ];
+    Cinv(ik,:,:) = inv(squeeze(C(ik,:,:)));
+end
+%%  
+% etax_new= etax.*BPMData(iter).HBPMGain + etaz.*BPMData(iter).HBPMCoupling;
+% etaz_new= etax.*BPMData(iter).VBPMCoupling + etaz.*BPMData(iter).VBPMGain;
+ 
+eta_new = zeros(120, 2);
+for ik =1:120,
+    eta_new(ik,:)= squeeze(Cinv(ik,:,:))*[etax(ik); etaz(ik)];
+end
+
+%%
+
+figure;
+subplot(2,1,1)
+spos = getspos('BPMx');
+plot(spos, etax); hold on
+plot(spos, eta_new(:,1), 'k');
+subplot(2,1,2)
+plot(spos, etaz); hold on
+plot(spos, eta_new(:,2), 'k');
+
+%% Store data BPM in a file
+% to be put in a dedicated script
+
+%% Resultats fit LOCO redÃ©marrage run 2 2009
+%load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-05-29_SOFB/160quad.mat')
+%% Resultats fit LOCO Nanoscopium run 4 2010
+%load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-10-10_Nano/163quad.mat')
+%% Resultats fit LOCO Nanoscopium run 5 2011
+load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2011-11-04/160quad.mat')
+%% Resultats fit LOCO Nanoscopium run 4 2012
+load('/home/matlabML/measdata/SOLEIL/StorageRingdata/LOCO/2012/2012-05-25_redemarrage2/163quad.mat')
+
+iter = 3;
+HBPMgain = BPMData(iter).HBPMGain;
+VBPMgain = BPMData(iter).VBPMGain;
+HBPMcoupling = BPMData(iter).HBPMCoupling;
+VBPMcoupling = BPMData(iter).VBPMCoupling;
+HCMkick = CMData(iter).HCMKicks;
+meanHCMkick = mean(HCMkick);
+
+C = zeros(122,2,2);
+for ik =1:122,
+    C(ik,:,:)= [ HBPMgain(ik)       HBPMcoupling(ik) 
+                 VBPMcoupling(ik)   VBPMgain(ik)      ];
+    Cinv(ik,:,:) = inv(squeeze(C(ik,:,:)));
+end
+
+clear AM;
+AM.DeviceList = family2dev('BPMx');
+AM.Locodata = 'LOCO_2012-05-25';
+for ik=1: size(AM.DeviceList,1),
+    AM.Cinv{ik,1} = squeeze(Cinv(ik,:,:));
+end
+AM.Description='Matrix for get true value from each BPM [invHGain invHCoupling; invVCoupling invVGain]';
+save('BPM_gain_coupling_LOCO_2012-05-25', 'AM');
Index: /trunk/machine/SOLEIL/StorageRing/measchroFBT.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/measchroFBT.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/measchroFBT.m	(revision 17)
@@ -0,0 +1,522 @@
+function [Chromaticity, FileName] = measchro(varargin)
+%MEASCHRO -  measures the chromaticity function emperically
+%  Chrom         = measchro(DeltaRF, WaitFlag);
+%  ChromHardware = measchro(DeltaRF, WaitFlag, 'Hardware'); 
+%  ChromPhysics  = measchro(DeltaRF, WaitFlag, 'Physics');
+%  ChromStruct   = measchro(DeltaRF, WaitFlag, 'Struct');
+%
+%  INPUTS
+%  1. DeltaRF - Vector of master oscillator values to scan over
+%               {Default:  [-.4% -.2% 0 .2% .4%] energy change}
+%  2. WaitFlag >= 0, WaitFlag seconds before measuring the tune (sec)
+%               = -1, wait until the magnets are done ramping
+%               = -3, wait until the magnets are done ramping + a delay of 2.2*getfamilydata('TuneDelay') {default} 
+%               = -4, wait until keyboard input
+%               = -5, input the tune measurement manually by keyboard input
+%  4. 'Hardware' - Returns chromaticity in hardware units (typically, Tune/MHz or Tune/MHz)
+%     'Physics'  - Returns chromaticity in physics  units (Tune/(dp/p))  {Default}
+%  5. 'Struct'  - Will return a two element dispersion data structure array {Default, unless Mode='Model'}
+%     'Numeric' - Will return vector outputs
+%  6. Optional override of the mode:
+%     'Online'    - Set/Get data online  
+%     'Simulator' - Set/Get data on the simulated accelerator (ie, same commands as 'Online')
+%     'Model'     - Get the model chromaticity directly from the model (uses modelchro, DeltaRF is ignored)
+%     'Manual'    - Set/Get data manually
+%  7. 'Archive'   - Save a chromaticity data structure to \<Directory.ChroData>\Chromaticity\
+%                   with filename <ChroArchiveFile><Date><Time>.mat  {Default, unless Mode='Model'}
+%                   To change the filename, included the filename after the 'Archive', '' to browse
+%     'NoArchive' - No file archive {Default}
+%  8. 'Display'   - Prints status information to the command window {Default, unless Mode='Model'}
+%     'NoDisplay' - Nothing is printed to the command window
+%
+%  
+%  OUTPUT
+%                  | Horizontal Chromaticity |
+%  ChromHardware = |                         |  [Delta Tune / Delta Frequency]
+%                  | Vertical Chromaticity   |       (Hardware Units)
+%
+%  
+%                 | Horizontal Chromaticity |
+%  ChromPhysics = |                         |  [Delta Tune / Delta Energy]
+%                 | Vertical Chromaticity   |       (Physics Units)
+%
+%  When computing physics units the momentum compaction factor is required.  The default MCF is
+%  found using getmcf.  To override the default enter the new value after the 'Physics' input.
+%  For example,  ChromPhysics = measchro(DeltaRF, WaitFlag, 'Physics', .0011);
+%
+%  Tune vs RF frequency or momentum are plotted to the screen
+%
+%  Fields for structure outputs:
+%            Data: [2x1] Chromaticity vector
+%      FamilyName: 'Chromaticity'
+%         Monitor: Tune structure
+%        Actuator: RF frequency structure
+%   DeltaActuator: Vector of frequency shifts in Hz
+%       TimeStamp: Timestamp
+%  DataDescriptor: 'Chromacity'
+%       CreatedBy: 'measchro'
+%             MCF: Momentum compaction factor/linear
+%              RF: Vector of frequency settings in Hz
+%               X: Reference orbit
+%               Y: Reference orbit
+%           Tune0: Initial tune
+%            Tune: Tune change with RF frequency, 2 row vectors
+%              dp: Vector of normalized momentum shifts
+%         PolyFit: Polynomial fit of chromaticity in terms of rf shift or momentum
+%
+%  NOTE
+%  1. 'Hardware', 'Physics', 'Eta', 'Archive', 'Numeric', and 'Struct' are not case sensitive
+%  2. 'Zeta' can be used instead of 'Physics'
+%  3.  All inputs are optional
+%  4.  One reason FamilyName is added to the output structure so that getdata can be 
+%      used to locate archived dispersion measurements.
+%  5.  Units for DeltaRF depend on the 'Physics' or 'Hardware' flags
+%  6. Beware of what units you are working in.  The default units for chromaticity
+%     are physics units.  This is an exception to the normal middle layer convention.
+%     Hardware units for "chromaticity" is in tune change per change in RF frequency.  
+%     Since this is an unusual unit to work with, the default units for chromaticity
+%     is physics units.  Note that goal chromaticity is also stored in physics units.
+%     plotchro can switch between 'Hardware' and 'Physics' after the measurement is taken.
+%     As an example of the difference between the units, at Spear3 1 unit of chromaticity
+%     in physics units corresponds to roughly -1.8 units in hardware units.  
+%
+%  See also plotchro, measdisp
+%
+%  Written by Greg Portmann and Jeff Corbett
+
+%
+%  Written by Gregory J. Portmann
+%  Modified by Laurent S. Nadolski
+
+NRFSteps = 1;
+WaitFlag = 8;
+MCF = [];
+StructOutputFlag = 0;
+FileName = -1;
+ArchiveFlag = 0;
+DisplayFlag = -1;
+ModeFlag  = '';         % model, online, manual, or '' for default mode
+UnitsFlag = 'Physics';  % hardware, physics, or '' for default units
+
+
+% Look if 'struct' or 'numeric' in on the input line
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Struct')
+        StructOutputFlag = 1;
+        varargin(i) = [];
+    elseif iscell(varargin{i})
+        % Ignor cells
+    elseif strcmpi(varargin{i},'Numeric')
+        StructOutputFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                varargin(i+1) = [];
+            end
+        end
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Zeta') || strcmpi(varargin{i},'Physics')
+        UnitsFlag = 'Physics';
+        varargin(i) = [];
+        if length(varargin) >= i
+            if isnumeric(varargin{i})
+                MCF = varargin{i};
+                varargin(i) = [];
+                if any(size(MCF)>1)
+                    error('Input MCF must be a scalar');
+                end
+            end
+        end
+    elseif strcmpi(varargin{i},'Hardware')
+        UnitsFlag = 'Hardware';
+        varargin(i) = [];
+        if length(varargin) >= i
+            if isnumeric(varargin{i})
+                MCF = varargin{i};
+                varargin(i) = [];
+                if any(size(MCF)>1)
+                    error('Input MCF must be a scalar');
+                end
+            end
+        end
+    elseif strcmpi(varargin{i},'Simulator') || strcmpi(varargin{i},'Model') || strcmpi(varargin{i},'Online') || strcmpi(varargin{i},'Manual')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+% Default for Model is no display, no archive
+if DisplayFlag == -1 && strcmpi(ModeFlag,'Model')
+    DisplayFlag = 0;
+end
+if ArchiveFlag == -1 && strcmpi(ModeFlag,'Model')
+    ArchiveFlag = 0;
+end
+
+
+% DeltaRF input
+if length(varargin) >= 1
+    if isnumeric(varargin{1})
+        DeltaRF = varargin{1}; 
+    else
+        DeltaRF = [];
+    end
+else
+    DeltaRF = [];
+end
+
+% WaitFlag input
+if length(varargin) >= 2
+    WaitFlag = varargin{2};
+end
+if isempty(WaitFlag) || WaitFlag == -3
+    WaitFlag = 2.2 * getfamilydata('TuneDelay');
+end
+if isempty(WaitFlag)
+    WaitFlag = input('   Delay for Tune Measurement (Seconds, Keyboard Pause = -4, or Manual Tune Input = -5) = ');
+end
+
+
+% Archive data structure
+if ArchiveFlag
+    if isempty(FileName)
+        FileName = appendtimestamp(getfamilydata('Default', 'ChroArchiveFile'));
+        DirectoryName = getfamilydata('Directory','ChroData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'Chromaticity', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select Chromaticity File', [DirectoryName FileName]);
+        if FileName == 0 
+            ArchiveFlag = 0;
+            disp('   Chromaticity measurement canceled.');
+            Chromaticity=[]; FileName='';
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    elseif FileName == -1
+        FileName = appendtimestamp(getfamilydata('Default', 'ChroArchiveFile'));
+        DirectoryName = getfamilydata('Directory','ChroData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'Chromaticity', filesep];
+        end
+        FileName = [DirectoryName, FileName];
+    end
+end
+
+
+% Get units from the RF frequency
+if isempty(UnitsFlag)
+    UnitsFlag = getfamilydata('RF','Setpoint','Units');
+end
+
+
+if strcmpi(UnitsFlag,'Hardware')
+    RFUnitsString = getfamilydata('RF','Setpoint','HWUnits');
+elseif strcmpi(UnitsFlag,'Physics')
+    RFUnitsString = getfamilydata('RF','Setpoint','PhysicsUnits');
+else
+    error('RF units unknown.  Inputs DeltaRF directly.');
+end
+
+% DeltaRF default 
+if isempty(DeltaRF)
+    % Get the default from the AD is in Hardware units
+    DeltaRF = getfamilydata('DeltaRFChro');
+    
+    % If the default is not in the AD
+    if isempty(DeltaRF)
+        DeltaRF = getrf('Hardware') * getmcf * [-.004 -.002 0 .002 .004] ;  % .2% energy change per step
+    else
+        if strcmpi(UnitsFlag,'Physics')
+            % Since the default from the AO must be in hardware units, change to physics units
+            DeltaRF = hw2physics('RF', 'Setpoint', DeltaRF, [1 1], ModeFlag);
+        end
+    end    
+end
+
+
+% Check DeltaRF for reasonable values
+if strcmpi(RFUnitsString, 'MHz')
+    if abs(max(DeltaRF)-min(DeltaRF)) > .0001;  % .001 MHz
+        tmp = questdlg(sprintf('%f MHz is a large RF change.  Do you want to continue?', abs(max(DeltaRF)-min(DeltaRF))),'Dispersion Measurement','YES','NO','YES');
+        if strcmp(tmp,'NO')
+            Chromaticity=[];
+            return
+        end
+    end
+elseif strcmpi(RFUnitsString, 'kHz')
+    if abs(max(DeltaRF)-min(DeltaRF)) > 1;  % kHz
+        tmp = questdlg(sprintf('%f kHz is a large RF change.  Do you want to continue?', abs(max(DeltaRF)-min(DeltaRF))),'Dispersion Measurement','YES','NO','YES');
+        if strcmp(tmp,'NO')
+            Chromaticity=[];
+            return
+        end
+    end
+elseif strcmpi(RFUnitsString, 'Hz')
+    if abs(max(DeltaRF)-min(DeltaRF)) > 1000;  % Hz
+        tmp = questdlg(sprintf('%f Hz is a large RF change.  Do you want to continue?', abs(max(DeltaRF)-min(DeltaRF))),'Dispersion Measurement','YES','NO','YES');
+        if strcmp(tmp,'NO')
+            Chromaticity=[];
+            return
+        end
+    end
+else
+    % Don't who how to check, hence no check made
+end
+
+% DeltaRF must be in "RFUnitsString" units at this point
+
+
+RFsp = getrf('Struct', UnitsFlag, ModeFlag);
+
+if isempty(MCF)
+    MCF = getmcf(ModeFlag);
+end
+
+
+% Fill the chromaticity structure (response matrix structure + some fields)
+c.Data = [];
+c.FamilyName = 'Chromaticity';
+if isfamily('TUNEFBT')
+    c.Monitor = family2datastruct('TUNEFBT','Monitor',[1 1;1 2]);
+else
+    c.Monitor = gettuneFBT('Struct', 'Model');  % Just to fill the structure
+    c.Monitor.Data = NaN * c.Monitor.Data;
+end
+c.Monitor = gettuneFBT('Struct', ModeFlag);     % Should WaitFlag before to be sure to get a good measurement ?????
+c.Actuator = RFsp;
+c.ActuatorDelta = DeltaRF;
+c.GeV = getenergy(ModeFlag);
+c.DCCT = getam('DCCT', ModeFlag);
+c.ModulationMethod = 'Unipolar';
+c.WaitFlag = WaitFlag;
+c.TimeStamp = clock;
+c.Mode = ModeFlag;
+c.Units = UnitsFlag;
+c.UnitsString = [];
+c.DataDescriptor = 'Chromaticity';
+c.CreatedBy = 'measchro';
+c.OperationalMode = getfamilydata('OperationalMode');
+
+% Nonstandard response matrix fields
+if strcmpi(ModeFlag,'Manual')
+    c.X = NaN;
+    c.Y = NaN;
+else
+    c.X = getx('Struct', UnitsFlag, ModeFlag);
+    c.Y = gety('Struct', UnitsFlag, ModeFlag);
+end
+c.MCF = MCF;
+RF0 = RFsp.Data(1);
+c.dp = -DeltaRF / (RF0*MCF);
+
+
+if strcmpi(ModeFlag,'Model') || strcmpi(ModeFlag,'Simulator')
+    % No need for delays with the model
+    WaitFlag = 0;
+    ExtraDelay = 0; 
+end
+
+
+if strcmpi(ModeFlag,'Model')
+    c.Data = modelchro('Physics');
+    
+    if strcmpi(UnitsFlag,'Physics')
+        TuneUnitsString = getfamilydata('TUNEFBT','Monitor','PhysicsUnits');
+        if isempty(TuneUnitsString)
+            TuneUnitsString = 'Fractional Tune';
+        end
+        c.UnitsString = [TuneUnitsString, '/(dp/p)'];
+    else
+        % Tune Shift vs. RF Frequency 
+        c.Data(1,1) = c.Data(1,1) / (-RF0 * MCF);
+        c.Data(2,1) = c.Data(2,1) / (-RF0 * MCF);       
+        TuneUnitsString = getfamilydata('TUNEFBT','Monitor','HWUnits');
+        if isempty(TuneUnitsString)
+            TuneUnitsString = 'Fractional Tune';
+        end
+        c.UnitsString = [TuneUnitsString, '/',getfamilydata('RF','Setpoint','HWUnits')];
+    end
+    
+else
+    % Online or Simulator
+    % Start measurement
+    if DisplayFlag
+        fprintf('   Begin chromaticity measurement\n');
+    end    
+    for i = 1:length(DeltaRF)
+        %setrf(RF0 + DeltaRF(i), UnitsFlag, ModeFlag);
+        if (isempty(ModeFlag) && strcmpi(getfamilydata('RF','Setpoint','Mode'),'Manual')) || strcmpi(ModeFlag,'Manual')
+            % One shot setting of RF
+            setrf(RF0 + DeltaRF(i), UnitsFlag, ModeFlag);
+        else
+            % Slow setting of RF
+            rf = getrf(UnitsFlag, ModeFlag);
+            for k = 1:NRFSteps
+                setsp('RF', rf + k/NRFSteps * (RF0+DeltaRF(i)-rf), [], -1, UnitsFlag, ModeFlag);
+                pause(0.1);
+            end
+        end
+        
+        RF(:,i) = getrf(UnitsFlag, ModeFlag);
+        if DisplayFlag
+            fprintf('   %d. RF frequency is %.5f\n', i, RF(:,i));
+        end
+
+        % Wait for tune monitor to have fresh data
+        if WaitFlag >= 0
+            if DisplayFlag && ~strcmpi(ModeFlag,'Manual')
+                fprintf('      Pausing %f seconds for the tune measurement\n', WaitFlag); 
+                pause(0);
+            end
+            sleep(WaitFlag);
+            Tune(:,i) = gettuneFBT(ModeFlag);
+        elseif WaitFlag == -4
+            tmp = input('      Hit return when the tune measurement is ready. ');
+            Tune(:,i) = gettuneFBT(ModeFlag);
+        elseif WaitFlag == -5
+            Tune(1,i) = input('      Input the horizontal tune = ');
+            Tune(2,i) = input('      Input the  vertical  tune = ');
+        else
+            error('Tune delay method unknown');
+        end 
+        
+        %if any(isnan(Tune))
+        %    fprintf('   Chromaticity measurement failed.  RF frequency reset.\n');
+        %    setrf(RF0, UnitsFlag, ModeFlag);
+        %    Chromaticity = [NaN; NaN];
+        %    return;
+        %end
+    end
+    
+    
+    % Reset RF
+    %setrf(RF0, UnitsFlag, ModeFlag);
+    if isempty(ModeFlag) && strcmpi(getfamilydata('RF','Setpoint','Mode'),'Manual')
+        % One shot setting of RF
+        setrf(RF0, UnitsFlag, ModeFlag);
+    else
+        % Slow setting of RF
+        rf = getrf(UnitsFlag, ModeFlag);
+        for k = 1:NRFSteps
+            setsp('RF', rf + k/NRFSteps * (RF0-rf), [], -1, UnitsFlag, ModeFlag);
+            pause(0.1);
+        end
+    end
+    
+    
+    % Load Tune measurements into the chromaticy structure
+    c.Tune = Tune;
+    
+    if strcmpi(UnitsFlag,'Physics')
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % Tune Shift vs. Momentum %  
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%
+        
+        % Horizontal tune vs. momentum
+        p = polyfit(c.dp, Tune(1,:), 2);              %2nd order polynomial fit to data    
+        c.PolyFit(1,:) = p;
+        c.Data(1,1) = p(2);
+        
+        % Vertical  tune vs. rf frequency
+        p = polyfit(c.dp, Tune(2,:), 2);
+        c.PolyFit(2,:) = p;
+        c.Data(2,1) = p(2);
+        
+        TuneUnitsString = getfamilydata('TUNEFBT','Monitor','PhysicsUnits');
+        if isempty(TuneUnitsString)
+            c.UnitsString = ['Fractional Tune/(dp/p)'];
+        else
+            c.UnitsString = [TuneUnitsString,'/(dp/p)'];
+        end
+        
+        %fprintf('\n   Horizontal Chromaticity (Un-normalized) = %f \n', c.Data(1));
+        %fprintf('   Vertical   Chromaticity (Un-normalized) = %f \n'  , c.Data(2));
+    else
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % Tune Shift vs. RF Frequency %  
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        
+        % Horizontal tune vs. rf frequency
+        p = polyfit(DeltaRF, Tune(1,:), 2);      % 2nd order polynomial fit to data
+        c.PolyFit(1,:) = p;
+        c.Data(1,1) = p(2);
+        
+        % Vertical  tune vs. rf frequency
+        p = polyfit(DeltaRF, Tune(2,:), 2);
+        c.PolyFit(2,:) = p;
+        c.Data(2,1) = p(2);
+        
+        TuneUnitsString = getfamilydata('TUNEFBT','Monitor','HWUnits');
+        if isempty(TuneUnitsString)
+            c.UnitsString = ['Fractional Tune/',getfamilydata('RF','Setpoint','HWUnits')];
+        else
+            c.UnitsString = [TuneUnitsString,'/',getfamilydata('RF','Setpoint','HWUnits')];
+        end
+    end
+end
+
+if DisplayFlag
+    fprintf('   Chromaticity = %f [%s]\n', c.Data(1), c.UnitsString);
+    fprintf('   Chromaticity = %f [%s]\n', c.Data(2), c.UnitsString);
+end
+
+if DisplayFlag && ~strcmpi(ModeFlag,'Model')
+    figure;
+    plotchro(c);
+end
+
+
+% Archive data structure
+if ArchiveFlag
+    % If the filename contains a directory then make sure it exists
+    [DirectoryName, FileName, Ext] = fileparts(FileName);
+    DirStart = pwd;
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    Chromaticity = c;
+    save(FileName, 'Chromaticity');
+    if DisplayFlag
+        fprintf('   Chromaticity data saved to %s.mat\n', [DirectoryName FileName]);
+        if ErrorFlag
+            fprintf('   Warning: %s was not the desired directory\n', DirectoryName);
+        end
+    end
+    cd(DirStart);
+    FileName = [DirectoryName, FileName, '.mat'];
+end
+if FileName == -1
+    FileName = '';
+end
+
+
+% Load output data
+if StructOutputFlag
+    Chromaticity = c;
+else
+    Chromaticity = c.Data;
+end
+
+
+if DisplayFlag
+    fprintf('   Chromaticity measurement is complete.\n');
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/measchronat.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/measchronat.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/measchronat.m	(revision 17)
@@ -0,0 +1,100 @@
+%function [xix xiz] = measchronat
+% MEASCHRONAT - Measure natural chromaticities by varying dipole fied
+%
+%  INPUTS
+%
+%  OUTPUTS
+%  1. xix - horizontal natural chromaticity
+%  2. xiz - vertical natural chromaticity
+
+%
+% Written by Laurent S. Nadolski
+
+% TODO List
+% Tuning of the time constantes, RMN probe takes around 15 to 20 s to refresh its data
+
+nb = 4;
+tune= [];
+Idip = [];
+Rmn = [];
+itot = 1; % total step for dipole in A
+istep = -itot/nb; % stepsize in A
+
+tune_start = gettune;
+stepsp('BEND',itot);
+fprintf('Dipole current (%f A) is changed by %f\n',getsp('BEND'), itot);
+fprintf('Wait ...');
+pause
+Idip(1) = getsp('BEND');
+% for ik1 = 1:100,
+%     temp(ik1) = getam('BEND'); pause(0.1)
+% end
+%Idip(1) = mean(temp);
+Rmn(1)    = getrmn;
+tune(1,:) = gettune
+
+k1 = 2;
+for k = nb:-1:-nb+1,    
+    stepsp('BEND',istep);    
+    pause(10);
+    %fprintf('Wait ...\n');
+    %pause
+    Idip(k1) = getsp('BEND');
+%     for ik1 = 1:100,
+%         temp(ik1) = getam('BEND'); pause(0.1)
+%     end
+%    Idip(k1) = mean(temp);
+    fprintf('Dipole current (%f A) is changed by %f A\n',Idip(k1), istep);
+    tune(k1,:) = gettune
+    Rmn(k1) = getrmn;
+    k1 = k1 + 1;
+end
+
+stepsp('BEND',itot);
+fprintf('Dipole current (%f A) is changed back to nominal value by %f A\n',getsp('BEND'), itot);
+pause(10);
+
+tune_finish = gettune;
+
+fprintf('Tune variation \n')
+fprintf('begin %f %f\n',tune_start)
+fprintf('end %f %f\n',tune_finish)
+
+% BUG should accept a array
+E = [];
+
+for k = 1:length(Idip),
+    E(k) = bend2gev(Idip(k));
+end
+
+E0 = 2.73913739373611;
+% E = (E-E0)./E0;
+% E = E';
+E = (Rmn-Rmn(nb+1))./Rmn(nb+1);
+E = E';
+
+%%
+p1 = polyfit(E,tune(:,1),1)
+p2 = polyfit(E,tune(:,2),1)
+
+fprintf('natural chromaticity xix = %4.1f xiz = %4.1f\n',p1(1),p2(1));
+
+%%
+figure;
+subplot(2,1,1)
+suptitle(sprintf('Natural chromaticities xix = %4.1f xiz = %4.1f\n',p1(1),p2(1)));
+plot(E*100,tune(:,1),'.-')
+hold on
+plot(E*100,polyval(p1,E), 'k')
+
+ylabel('nux')
+grid on
+subplot(2,1,2)
+plot(E*100,tune(:,2),'.-')
+hold on
+plot(E*100,polyval(p2,E), 'k')
+ylabel('nuz')
+xlabel('Energy deviation [%]');
+grid on
+
+xix = p1(1); xiz = p2(1);
Index: /trunk/machine/SOLEIL/StorageRing/modelalpharesponsemat.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/modelalpharesponsemat.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/modelalpharesponsemat.m	(revision 17)
@@ -0,0 +1,25 @@
+function [DtuneVal DchroVal QuadRmcf1 QuadRmcf2 SextuRmcf2] = modelalpharesponsemat(FileName)
+% Modelalpharesponsemat - save matrices in Operation directory
+%
+% TODO Confirmation message if file already existe
+%      Merge latttice_prep ?
+
+if nargin <1
+    FileName = 'Rmatrix_alpha'; 
+end
+    
+[DKx DKz DtuneVal]   = modeltunesensitivity;
+[DSx DSz DchroVal]   = modelchrosensitivity;
+[QuadRmcf1 QuadRmcf2]= modelmcfsensitivity('Quad');
+[SextuRmcf1 SextuRmcf2]=modelmcfsensitivity('Sextu');
+
+DirectoryName = getfamilydata('Directory', 'OpsData');
+
+DirStart = pwd;
+[DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+if ErrorFlag
+    fprintf('\n   There was a problem getting to the proper directory!\n\n');
+end
+save(FileName, 'DtuneVal', 'DchroVal', 'QuadRmcf1', 'QuadRmcf2', 'SextuRmcf1', 'SextuRmcf2');
+
+cd(DirStart);
Index: /trunk/machine/SOLEIL/StorageRing/modelalphasensitivity.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/modelalphasensitivity.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/modelalphasensitivity.m	(revision 17)
@@ -0,0 +1,142 @@
+function [Rtune Rchro Rmcf1 Rmcf2]=modelalphasensitivity(varargin)
+%modelmcfsensitivity - Computes 1st and 2nd mcf variation with quadrupole
+% and/or sextupole family magnets
+%  INPUTS
+%  'Quad'/'NoQuad'- Compute or not mcf variation versus quadrupoles
+%  'Sextu'/'NoSextu'- Compute or not mcf variation versus quadrupoles
+%
+%  OUTPUTS
+%  1. Rmcf1  - first order mcf response matrix
+%  2. Rmcf2  - second order mcf response matrix
+%
+%  NOTES
+%  1. S11 and S1 are seen as a unique family
+%  2. Value depends on the optics for the moment see below the sextu steps
+%
+%  See Also modeltunesensitivity, modechrosensitivity
+%
+%  Written by Laurent S. Nadolski
+
+QuadFlag  = 1;
+SextuFlag = 1;
+
+% Flag factory parser
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Quad')
+        QuadFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoQuad')
+        QuadFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Sextu')
+        SextuFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoSextu')
+        SextuFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+fprintf('   ******** Summary for ''%s'' ********\n', getlatticename);
+
+
+if QuadFlag
+    quadFamList = findmemberof('QUAD');
+    % remove nanoscopium
+    quadFamList(12) = [];
+    quadFamList(11) = [];
+    % intitialization
+    FamilyNumber= length(quadFamList);
+    Rmcf1 = zeros(1,20);
+    Rmcf2 = zeros(1,20);
+    Rtune = zeros(2,20);
+    Rchro = zeros(2,20);
+    
+    % Quadrupole variation in Ampere
+    StepValue = ones(1,FamilyNumber)*0.1; % A
+    
+    fprintf('Quadrupole change for quadFamList change of %f A \n', StepValue(1));
+    for k = 1:FamilyNumber,
+        
+        Family = quadFamList{k};
+        
+        stepsp(Family, 0.5*StepValue(k), 'Model'); % plus delta
+        
+        
+        % Compute momentum compaction factor
+        [mcf1plus mcf2plus] = physics_mcf('Nodisplay'); %by fitting
+        nuplus   = gettune;
+        chroplus = modelchro;
+        
+        stepsp(Family, -StepValue(k), 'Model'); % minus delta
+        
+        [mcf1minus mcf2minus] = physics_mcf('Nodisplay');
+        numinus   = gettune;
+        chrominus = modelchro;
+            
+    stepsp(Family, 0.5*StepValue(k), 'Model'); % go back to nominal value
+    
+    % first mcf response matrix per Ampere
+    Rmcf1(k)   = (mcf1plus - mcf1minus) / StepValue(k);
+    % second order mcf response matrix per Ampere
+    Rmcf2(k)   = (mcf2plus - mcf2minus) / StepValue(k);
+    Rtune(:,k) = (nuplus-numinus) / StepValue(k);
+    Rchro(:,k) = (chroplus-chrominus) / StepValue(k);
+    fprintf('%4s (1A): Delta MCF1= %+1.2e Delta MCF2= %+1.2e nux=%+1.2e nuz=%+1.2e xix= %+1.2e xiz= %+1.2e\n', ...
+        Family, Rmcf1(k), Rmcf2(k), Rtune(:,k), Rchro(:,k));
+    end
+end
+
+
+if SextuFlag
+    sextuFamList = findmemberof('Sext');
+    sextuFamList(12) = []; % nanoscopium
+    sextuFamList(11) = []; % S11 is linked to S1
+    
+    FamilyNumber= length(sextuFamList);
+    
+    % Sextupole variation in Ampere
+    StepValue = ones(1,FamilyNumber)*0.1; % A
+    
+    fprintf('Sextupole change for sextuFamList change of %f A \n', StepValue(1));
+    for k = 1:FamilyNumber,
+        
+        Family = sextuFamList{k};
+        
+        % step sextupole strength by  plus delta
+        if strcmp(Family, 'S1') % S1 and S11 are linked
+            stepsp('S11', 0.5*StepValue(k), 'Model'); % minus delta
+        end
+        stepsp(Family, 0.5*StepValue(k), 'Model');
+        
+        
+        [mcf1plus mcf2plus] = physics_mcf('Nodisplay');
+        nuplus = gettune;
+        chroplus = modelchro;
+        
+        % step sextupole strength to minus delta
+        if strcmp(Family, 'S1') % S1 and S11 are linked
+            stepsp('S11', -StepValue(k), 'Model'); % minus delta
+        end
+        stepsp(Family, -StepValue(k), 'Model'); % minus delta
+        
+        [mcf1minus mcf2minus] = physics_mcf('Nodisplay');
+        numinus = gettune;
+        chrominus = modelchro;
+        
+        % restore sextupole strength to nominal values
+        if strcmp(Family, 'S1') % S1 and S11 are linked
+            stepsp('S11', 0.5*StepValue(k), 'Model');
+        end
+        stepsp(Family, 0.5*StepValue(k), 'Model'); % come back to nominal value
+        
+        % First order mcf Response matrix per Ampere
+        Rmcf1(k+10) = (mcf1plus - mcf1minus) / StepValue(k);
+        % Second order Response matrix per Ampere
+        Rmcf2(k+10) = (mcf2plus - mcf2minus) / StepValue(k);
+        Rtune(:,k+10) = (nuplus-numinus) / StepValue(k);
+        Rchro(:,k+10) = (chroplus-chrominus) / StepValue(k);
+    fprintf('%4s (1A): Delta MCF1= %+1.2e Delta MCF2= %+1.2e nux=%+1.2e xnuz=%+1.2e xix= %+1.2e xiz=%+1.2e\n', ...
+        Family, Rmcf1(k+10), Rmcf2(k+10), Rtune(:,k+10), Rchro(:,k+10));
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/modelchrosensitivity.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/modelchrosensitivity.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/modelchrosensitivity.m	(revision 17)
@@ -0,0 +1,160 @@
+function [DSx DSz DchroVal] = modelchrosensitivity(varargin)
+%modelchrosensitivity - Computes sextupole change for FamilyList given dxi
+%
+%  INPUTS 
+%  1. dxix - horizontal tune change
+%  2. dxiz - vertical tune change
+%
+%  OUTPUTS
+%  1. DSx - sextupole change to get dxix
+%  2. DSz - sextupole change to get dxiz
+%
+%  NOTES
+%  1. S11 and S1 are seen as a unique family
+%  2. Value depends on the optics for the moment see below the sextu steps  
+%
+%  See Also modeltunesensitivity, modelmcfsensitivity
+
+%
+%  Written by Laurent S. Nadolski
+
+NumericFlag = 1;
+Unit = 'Hardware';
+Mode = 'Model';
+DebugFlag = 0;
+
+timeout = 1; % second
+
+DSx= NaN; DSz=NaN;
+
+% Switchyard factory
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Model')
+        Mode = 'Model';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Online')
+        Mode = 'Online';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator')
+        Mode = 'Simulator';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Physics')
+        Unit = 'Physics';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Hardware')
+        Unit = 'Hardware';
+        varargin(i) = [];
+    end
+end
+
+
+if isempty(varargin)
+    dxix = 1e-1;
+    dxiz = 1e-1;
+elseif nvargin == 1
+    dxix = varargin{1};
+    dxiz = dxix;
+end
+
+fprintf('   ******** Summary for ''%s'' ********\n', getlatticename);
+
+%fprintf('Sextupole change for dxix of %f and dxiz = %f \n',dxix,dxiz);
+
+% get all sextupoles
+FamilyList = findmemberof('SEXT');
+FamilyList(12) = []; % remove nanoscopium
+FamilyList(11) = []; % S11 seen as same family as S1
+FamilyNumber= length(FamilyList);
+
+if ~NumericFlag
+    for k = 1:FamilyNumber,
+
+        Family = FamilyList{k};
+
+        [bx bz] = modeltwiss('beta',Family);
+        [etax etaz] = modeldisp(Family);
+
+        L = getleff(Family);
+        NQ = length(getspos(Family));
+
+        DSx(k) =  2*pi*dxix/bx(1)/etax(1)/NQ/L(1);
+        DSz(k) = -2*pi*dxiz/bz(1)/etax(1)/NQ/L(1);
+
+        fprintf('%s : DSxL = %1.2e DSzL = %1.2e betax = %2.2f m betaz = %2.2f m etax = %2.2f m NQ = %2.0f  L= %1.2e m \n', ...
+            Family, DSx(k)*L(1), DSz(k)*L(1), bx(1), bz(1), etax(1), NQ, L(1));
+    end
+else
+    DchroVal  = zeros(2,FamilyNumber)*NaN;
+
+    % sextupole variation in Ampere
+    % alphaby10_nouveau_modele_dec08_opt_lin_1
+    %            S1 S2 S3 S4 S5 S6 S7 S8 S9 S10
+    StepValue = [10 40 10 10 50 50 50 25 5 10]; % A
+    %StepValue = [1 1 1 1 1 1 1 1 1 1]*0.1; % A
+
+
+    for k = 1:FamilyNumber,
+
+        Family = FamilyList{k};
+
+        if DebugFlag 
+            fprintf('%s changed by %f\n', Family,  0.5*StepValue(k));
+        end
+        
+        % step sextupole strength by plus delta
+        if strcmp(Family, 'S1') % S1 and S11 are linked
+            fprintf('S11 Delta I = %f\n', 0.5*StepValue(k));
+            stepsp('S11', 0.5*StepValue(k), ...
+                Mode, Unit); % plus delta
+        end
+        fprintf('%s Delta I = %f\n', Family, 0.5*StepValue(k));
+        stepsp(Family, 0.5*StepValue(k), Mode, Unit); % plus delta
+        
+        
+        if strcmp(Mode, 'Model')
+            ChroValplus = modelchro(Mode);
+        else
+            pause(timeout);
+            ChroValplus = measchro(Mode, 'NoDisplay');
+        end
+        if DebugFlag 
+            fprintf('Xix = %f Xiz = %f \n', ChroValplus);
+        end        
+
+      
+        % step sextupole strength to minus delta
+        if strcmp(Family, 'S1') % S1 and S11 are linked
+            fprintf('S11 Delta I = %f\n', -StepValue(k));
+            stepsp('S11', -StepValue(k), Mode, Unit); % minus delta
+        end
+        fprintf('%s Delta I = %f\n', Family, -StepValue(k));
+        stepsp(Family, -StepValue(k), Mode, Unit); % minus delta
+        
+        if strcmp(Mode, 'Model')
+            ChroValminus = modelchro;
+        else
+            pause(timeout);
+            ChroValminus = measchro(Mode, 'NoDisplay');
+        end
+
+        if DebugFlag
+            fprintf('Xix = %f Xiz = %f \n', ChroValminus);
+        end
+
+        DchroVal(:,k) = (ChroValplus - ChroValminus) / StepValue(k);
+
+        % restore sextupole strength to nominal value
+        if strcmp(Family, 'S1') % S1 and S11 are linked
+            fprintf('S11 Delta I = %f\n', 0.5*StepValue(k));
+            stepsp('S11', 0.5*StepValue(k), Mode, Unit);
+        end
+        fprintf('%s Delta I = %f\n\n', Family, 0.5*StepValue(k));
+        stepsp(Family, 0.5*StepValue(k), Mode, Unit); % come back to nominal value
+    end
+end
+
+for k = 1:FamilyNumber,
+    fprintf('%3s (%3.1f A): Dxix = % 1.2e Dxiz = % 1.2e\n', ...
+        FamilyList{k}, StepValue(k), DchroVal(1,k)*StepValue(k), ...
+        DchroVal(2,k)*StepValue(k));
+end
Index: /trunk/machine/SOLEIL/StorageRing/modelemit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/modelemit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/modelemit.m	(revision 17)
@@ -0,0 +1,13 @@
+function [emit sigmas] = modelemit
+%MODELEMIT - Returns emittance using Ohmi's enveloppe formalism
+%
+%  INPUTS
+%  1. Display/NoDisplay
+%
+%  OUPUTS
+%  1. emit - emittance vector in nm.rad
+%  2. sigmas - Sigma dimension around the ring
+
+[Tilt, Eta, Ratio, ENV, DP, DL, emit] = calccoupling('NoDisplay');
+sigmas = cat(2,ENV.Sigma);
+emit = emit*1e9;
Index: /trunk/machine/SOLEIL/StorageRing/modelmcfsensitivity.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/modelmcfsensitivity.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/modelmcfsensitivity.m	(revision 17)
@@ -0,0 +1,157 @@
+function [Rmcf1 Rmcf2]=modelmcfsensitivity(varargin)
+%modelmcfsensitivity - Computes 1st and 2nd mcf variation with quadrupole 
+% and/or sextupole family magnets
+%  INPUTS
+%  'Quad'/'NoQuad'- Compute or not mcf variation versus quadrupoles
+%  'Sextu'/'NoSextu'- Compute or not mcf variation versus quadrupoles
+%
+%  OUTPUTS
+%  1. Rmcf1  - first order mcf response matrix
+%  2. Rmcf2  - second order mcf response matrix
+%
+%  NOTES
+%  1. S11 and S1 are seen as a unique family
+%  2. Value depends on the optics for the moment see below the sextu steps  
+%
+%  See Also modeltunesensitivity, modechrosensitivity
+%
+%  Written by Laurent S. Nadolski
+
+FirstOrderFlag = 0;
+QuadFlag  = 0;
+SextuFlag = 0;
+
+% Flag factory parser
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Quad')
+        QuadFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoQuad')
+        QuadFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Sextu')
+        SextuFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoSextu')
+        SextuFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+fprintf('   ******** Summary for ''%s'' ********\n', getlatticename);
+
+quadFamList = findmemberof('QUAD');
+
+if QuadFlag
+    % remove nanoscopium
+    quadFamList(12) = [];
+    quadFamList(11) = [];
+    % intitialization
+    FamilyNumber= length(quadFamList);
+    Rmcf1 = zeros(1,FamilyNumber);
+    Rmcf2 = zeros(1,FamilyNumber);
+
+    % Quadrupole variation in Ampere
+    StepValue = ones(1,FamilyNumber)*0.1; % A
+
+    fprintf('Quadrupole change for quadFamList change of %f A \n', StepValue(1));
+    for k = 1:FamilyNumber,
+
+        Family = quadFamList{k};
+
+        stepsp(Family, 0.5*StepValue(k), 'Model'); % plus delta
+
+        % Compute momentum compaction factor
+        if FirstOrderFlag
+            mcf1plus = getmcf('Model'); %linear value
+
+            stepsp(Family, -StepValue(k), 'Model'); % minus delta
+
+            mcf1minus = getmcf('Model');
+        else
+            [mcf1plus mcf2plus] = physics_mcf('Nodisplay'); %by fitting
+           
+            stepsp(Family, -StepValue(k), 'Model'); % minus delta
+
+            [mcf1minus mcf2minus] = physics_mcf('Nodisplay');
+        end
+
+        stepsp(Family, 0.5*StepValue(k), 'Model'); % go back to nominal value
+
+        % first mcf response matrix per Ampere
+        Rmcf1(k) = (mcf1plus - mcf1minus) / StepValue(k);
+        if ~FirstOrderFlag
+            % second order mcf response matrix per Ampere
+            Rmcf2(k) = (mcf2plus - mcf2minus) / StepValue(k);
+            fprintf('%4s (1A): Delta MCF1 = %+1.2e Delta MCF2 = %+1.2e\n', ...
+                Family, Rmcf1(k), Rmcf2(k));
+        else
+            fprintf('%4s (1A): Delta MCF1 = %1.2e\n', Family, Rmcf1(k));
+        end
+
+    end
+end
+
+if SextuFlag
+
+    sextuFamList = findmemberof('Sext');
+    sextuFamList(12) = []; % nanoscopium
+    sextuFamList(11) = []; % S11 is linked to S1
+
+    FamilyNumber= length(sextuFamList);
+    Rmcf1  = zeros(1,FamilyNumber);
+    Rmcf2 = zeros(1,FamilyNumber);
+
+    % Sextupole variation in Ampere
+    StepValue = ones(1,FamilyNumber)*0.1; % A
+
+    fprintf('Sextupole change for sextuFamList change of %f A \n', StepValue(1));
+    for k = 1:FamilyNumber,
+
+        Family = sextuFamList{k};
+       
+        % step sextupole strength by  plus delta
+        if strcmp(Family, 'S1') % S1 and S11 are linked
+            stepsp('S11', 0.5*StepValue(k), 'Model'); % minus delta
+        end
+        stepsp(Family, 0.5*StepValue(k), 'Model');
+        
+
+        if FirstOrderFlag
+            mcf1plus = getmcf('Model');
+
+            stepsp(Family, -StepValue(k), 'Model'); % minus delta
+
+            mcf1minus = getmcf('Model');
+        else
+            [mcf1plus mcf2plus] = physics_mcf('Nodisplay');           
+
+            % step sextupole strength to minus delta
+            if strcmp(Family, 'S1') % S1 and S11 are linked
+                stepsp('S11', -StepValue(k), 'Model'); % minus delta
+            end
+            stepsp(Family, -StepValue(k), 'Model'); % minus delta
+            
+            [mcf1minus mcf2minus] = physics_mcf('Nodisplay');           
+        end
+
+        % First order mcf Response matrix per Ampere
+        Rmcf1(k) = (mcf1plus - mcf1minus) / StepValue(k);
+
+        % restore sextupole strength to nominal values
+        if strcmp(Family, 'S1') % S1 and S11 are linked
+            stepsp('S11', 0.5*StepValue(k), 'Model'); 
+        end
+        stepsp(Family, 0.5*StepValue(k), 'Model'); % come back to nominal value
+         
+        if FirstOrderFlag
+            fprintf('%4s (1A): Delta MCF1 = %1.2e\n', ...
+                Family, Rmcf1(k));
+        else
+            % Second order Response matrix per Ampere
+            Rmcf2(k) = (mcf2plus - mcf2minus) / StepValue(k);
+            fprintf('%4s (1A) : Delta MCF1 = %+1.2e Delta MCF2 = %+1.2e\n', ...
+                Family, Rmcf1(k), Rmcf2(k));
+        end
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/modelnonlindisp.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/modelnonlindisp.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/modelnonlindisp.m	(revision 17)
@@ -0,0 +1,92 @@
+function modelnonlindisp
+
+%
+%% Written by Laurent S. Nadolski
+
+kmax = 50;
+deltaRF = 50e-6; % Hz
+alpha1 = modelmcf;
+
+hMat(:,:) = zeros((2*kmax+1),length(getx));
+vMat(:,:) = hMat(:,:);
+rfVect = zeros((2*kmax+1),1);
+
+
+steprf(-deltaRF*(kmax+1));
+    
+for k=1:(2*kmax+1),
+    steprf(deltaRF)
+    hMat(k,:) = getx;
+    vMat(k,:) = getz;
+    rfVect(k) = getrf;
+end
+
+steprf(-deltaRF*kmax);
+
+%%
+plot((rfVect-rfVect(kmax+1))*1e6, hMat(:,1)*alpha1*getrf/(2*deltaRF),'.-'); 
+grid on
+
+%%
+
+refreshthering;
+global THERING;
+
+[CavityState, PassMethod, iCavity] = getcavity;
+
+kmax = 50;
+deltaRF = 40; % Hz
+clear hMat rfVect vMat 
+hMat(:,:) = zeros((2*kmax+1),length(THERING)+1);
+vMat(:,:) = hMat(:,:);
+rfVect = zeros((2*kmax+1),1);
+
+CavityFrequency = THERING{iCavity(1)}.Frequency;
+
+for k=1:(2*kmax+1),
+    for kk = 1:length(iCavity)
+        THERING{iCavity(kk)}.Frequency = CavityFrequency + deltaRF*(k - (kmax +1));
+    end
+    rep  = findorbit6(THERING, 1:length(THERING)+1);
+    hMat(k,:) = rep(1,:);
+    vMat(k,:) = rep(3,:);
+    rfVect(k) = deltaRF*(k - (kmax +1));
+end
+
+for kk = 1:length(iCavity)
+    THERING{iCavity(kk)}.Frequency = CavityFrequency;
+end
+
+% for k=1:kmax,
+%   deltahOrbit(k,:) = hMat(end-(k+1),:) - hMat(k,:);
+%   deltaRFVect(k) =   rfVect(end-(k+1)) - rfVect(k);
+% end
+    
+%%
+order = 4;
+order4 = order-3; 
+order3 = order-2;
+order2 = order-1;
+order1 = order;
+
+spos = findspos(THERING,1:length(THERING)+1);
+figure;
+plot(rfVect, hMat(:,1),'.');
+
+clear p;
+for k = 1:length(THERING)+1,
+    p(k,:) = polyfit(rfVect, hMat(:,k), order);
+end
+%%
+
+pdelta = -p*alpha1*CavityFrequency;
+
+figure;
+subplot(4,1,1)
+plot(spos, pdelta(:,order1))
+subplot(4,1,2)
+plot(spos, pdelta(:,order2))
+subplot(4,1,3)
+plot(spos, pdelta(:,order3))
+% subplot(4,1,4)
+% plot(spos, pdelta(:,order4))
Index: /trunk/machine/SOLEIL/StorageRing/modeltunesensitivity.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/modeltunesensitivity.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/modeltunesensitivity.m	(revision 17)
@@ -0,0 +1,94 @@
+function [DKx DKz DtuneVal]=modeltunesensitivity(varargin)
+%TUNESENSITIVITY - Computes quadrupole change for a given tune step
+%
+%  INPUTS
+%  1. dnux - horizontal tune change
+%  2. dnuz - vertical tune change
+%
+%  OUTPUTS
+%  1. DKx - gradient change to get dnux
+%  2. DKz - gradient change to get dnuz
+%
+%  See Also modeltunesensitivity
+
+% TODO
+% Analytic model.
+% Improvements
+%  1. Compute beta by tracking through the quad
+%  2. Fit everything by tracking
+
+%
+%  Written by Laurent S. Nadolski
+
+NumericFlag = 1;
+
+if isempty(varargin)
+    dnux = 1e-2;
+    dnuz = 1e-2;
+elseif nvargin == 1
+    dnux = vararing{1};
+    dnuz = dnux;
+else
+    dnux = vararing{1};
+    dnuz = vararing{2};
+end
+
+global GLOBVAL;
+
+fprintf('   ******** Summary for ''%s'' ********\n', GLOBVAL.LatticeFile);
+
+%fprintf('Quadrupole change for dnux of %f and dnuz = %f \n',dnux,dnuz);
+
+a = findmemberof('QUAD');
+% remove nanoscopium
+a(12) = [];
+a(11) = [];
+
+FamNb= length(a);
+DKx = zeros(1,FamNb);
+DKz = zeros(1,FamNb);
+
+if ~NumericFlag
+    for k = 1:FamNb,
+
+        Family = a{k};
+
+        [betax betaz]= modeltwiss('beta',Family);
+        bx = (betax(1)+betax(2))/2;
+        bz = (betaz(1)+betaz(2))/2;
+
+        L = getleff(Family);
+        NQ = length(getspos(Family));
+
+        DKx(k) = 4*pi*dnux/bx/NQ/L(1);
+        DKz(k) = 4*pi*dnuz/bz/NQ/L(1);
+
+        fprintf('%s : DKx = %1.2e DKz = %1.2e betax = %2.2f m betaz = %2.2f m  NQ = %2.0f  L= %1.2f m \n', ...
+            Family, DKx(k), DKz(k), bx, bz, NQ, L(1));
+    end
+else
+    DtuneVal  = zeros(2,FamNb)*NaN;
+
+    % Quadrupole variation in Ampere
+    StepValue = ones(1,FamNb)*0.1; % A
+
+    fprintf('Quadrupole change for a change of 0.1 A \n');
+
+    for k = 1:FamNb,
+
+        Family = a{k};
+
+        stepsp(Family, 0.5*StepValue(k), 'Model'); % plus delta
+        TuneValplus = modeltune;
+
+        stepsp(Family, -StepValue(k), 'Model'); % minus delta
+        TuneValminus = modeltune;
+
+        stepsp(Family, 0.5*StepValue(k), 'Model'); % come back to nominal value
+
+        DtuneVal(:,k) = (TuneValplus - TuneValminus) / StepValue(k);
+
+        fprintf('%3s : Dnux = % 1.2e Dnuz = % 1.2e\n', ...
+            Family, DtuneVal(1,k), DtuneVal(2,k));
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/operationgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/operationgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/operationgui.m	(revision 17)
@@ -0,0 +1,287 @@
+function varargout = operationgui(varargin)
+% OPERATIONGUI M-file for operationgui.fig
+%      OPERATIONGUI, by itself, creates a new OPERATIONGUI or raises the existing
+%      singleton*.
+%
+%      H = OPERATIONGUI returns the handle to a new OPERATIONGUI or the handle to
+%      the existing singleton*.
+%
+%      OPERATIONGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in OPERATIONGUI.M with the given input arguments.
+%
+%      OPERATIONGUI('Property','Value',...) creates a new OPERATIONGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before operationgui_OpeningFcn gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to operationgui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help operationgui
+
+% Last Modified by GUIDE v2.5 04-Jun-2012 17:12:41
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @operationgui_OpeningFcn, ...
+                   'gui_OutputFcn',  @operationgui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before operationgui is made visible.
+function operationgui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to operationgui (see VARARGIN)
+
+% Choose default command line output for operationgui
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes operationgui wait for user response (see UIRESUME)
+% uiwait(handles.FigMenuGui);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = operationgui_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_plotfamily.
+function pushbutton_plotfamily_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plotfamily (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+plotfamily;
+
+% --- Executes on button press in pushbutton_measdisp.
+function pushbutton_measdisp_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_measdisp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+measdisp;
+
+% --- Executes on button press in pushbutton19.
+function pushbutton19_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton19 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Variation_points_source;
+
+% --- Executes on button press in pushbutton_SOFB.
+function pushbutton_SOFB_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_SOFB (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+orbitcontrol;
+
+% --- Executes on button press in pushbutton_FOFB.
+function pushbutton_FOFB_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_FOFB (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+FOFBguiTango;
+
+% --- Executes on button press in pushbutton_FBNU.
+function pushbutton_FBNU_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_FBNU (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tuneFBgui;
+
+% --- Executes on button press in pushbutton_setoperationalmode.
+function pushbutton_setoperationalmode_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_setoperationalmode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+setoperationalmode
+
+% --- Executes on button press in pushbutton_cyclage.
+function pushbutton_cyclage_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_cyclage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Ringcycling;
+
+% --- Executes on button press in pushbutton_configgui.
+function pushbutton_configgui_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_configgui (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+configgui;
+
+% --- Executes on button press in pushbutton_setchrogolden.
+function pushbutton_setchrogolden_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_setchrogolden (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+setchro('Physics');
+
+% --- Executes on button press in pushbuttonstepchro.
+function pushbuttonstepchro_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbuttonstepchro (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+stepchro('Physics');
+
+% --- Executes on button press in pushbutton_measchro.
+function pushbutton_measchro_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_measchro (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+measchro('Physics');
+
+% --- Executes on button press in pushbutton_settunegolden.
+function pushbutton_settunegolden_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_settunegolden (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+settune;
+
+% --- Executes on button press in pushbutton_steptune.
+function pushbutton_steptune_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_steptune (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+steptune;
+
+% --- Executes on button press in pushbutton_measchroFBT.
+function pushbutton_measchroFBT_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_measchroFBT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+measchroFBT('Physics')
+
+% --- Executes on button press in pushbutton_stepchroFBT.
+function pushbutton_stepchroFBT_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_stepchroFBT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+stepchro('Physics');
+
+% --- Executes on button press in pushbutton_setchroGoldenFBT.
+function pushbutton_setchroGoldenFBT_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_setchroGoldenFBT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+setchro('Physics','FBT');
+
+% --- Executes on button press in pushbutton_settuneGoldenFBT.
+function pushbutton_settuneGoldenFBT_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_settuneGoldenFBT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+settune('FBT');
+
+% --- Executes on button press in pushbutton_steptuneFBT.
+function pushbutton_steptuneFBT_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_steptuneFBT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+steptune;
+
+% --- Executes on button press in pushbutton_getpinhole.
+function pushbutton_getpinhole_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_getpinhole (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+getpinhole('NoArchive')
+
+% --- Executes on button press in pushbutton_lifetime.
+function pushbutton_lifetime_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lifetime (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+measlifetime(30,'Display');
+
+% --- Executes on button press in pushbutton_monbpm.
+function pushbutton_monbpm_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_monbpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+monbpm(60);
+
+% --- Executes on button press in pushbutton_BBA.
+function pushbutton_BBA_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_BBA (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+bbacentergui
+
+% --- Executes on button press in pushbutton_checklibera.
+function pushbutton_checklibera_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_checklibera (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Check_Libera_config
+
+% --- Executes on button press in pushbutton_findrf.
+function pushbutton_findrf_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_findrf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+findrf;
+
+% --- Executes on button press in pushbutton_firstturn.
+function pushbutton_firstturn_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_firstturn (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+getbpmsum;
+
+
+% --- Executes on button press in pushbutton_gettune.
+function pushbutton_gettune_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_gettune (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+gettune
+
+% --- Executes on button press in pushbutton_gettuneFBT.
+function pushbutton_gettuneFBT_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_gettuneFBT (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+gettuneFBT
+
+
+% --- Executes on button press in pushbutton_steprf.
+function pushbutton_steprf_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_steprf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+Step_RF_Progressive;
+
+
+% --- Executes on button press in pushbutton_BeamsizeTunette.
+function pushbutton_BeamsizeTunette_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_BeamsizeTunette (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+BeamSizeTunette
Index: /trunk/machine/SOLEIL/StorageRing/orbit/Contents.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/Contents.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/Contents.m	(revision 17)
@@ -0,0 +1,20 @@
+% ORBIT
+%
+% Files
+%   bpmcortwiss2excel - execute spear3 init
+%   bpmgui            - function varargout = bpmgui(action, varargin)
+%   bpminit_orb       - BPMINIT_Orb - Initialize electron BPM data for ORBIT program
+%   cor2zero          - set horizontal and vertical correctors to zero
+%   corgui            - - controls corrector manipulation and plotting for orbit program
+%   corinit_orb       - - Initializes COR structure for SPEAR ORBIT program
+%   getringparams     - - Fonction reading the storage ring current, beamlifetime, energy
+%   orbgui            - -- contains routines to set up the main orbit control panel
+%   readwrite         - - Multipurpose read/write function for orbit correction applicaiton
+%   reforb2zero       - =============================================================
+%   respgui           - =============================================================
+%   response2rsp      - - Loads middlelayer response matrix data format into orbit program response structure
+%   restoreorbit      - - Reads saved data from file
+%   soleilrestore     - function [sys,bpmx,bpmz,bpm,corx,corz,cor,rsp,bly]=soleilrestore
+%   solorbit          - GUI for orbit correction
+%   sortbpms          - - Compares vectors for several cases:
+%   sortcors          - - Compares vectors for several cases:
Index: /trunk/machine/SOLEIL/StorageRing/orbit/bpmcortwiss2excel.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/bpmcortwiss2excel.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/bpmcortwiss2excel.m	(revision 17)
@@ -0,0 +1,42 @@
+function twiss_excel
+%execute spear3 init
+%load Optics structure from GetTwiss2
+%load bpm and cor structures
+%dump bpm and cor structures to EXCEL
+
+clear bpm cor
+spear3init;                                                    %set up middleware and run sp3v81f deck
+global THERING
+Optics = GetTwiss2(THERING,0,1:length(THERING));               %load structure with optical parameters
+Optics;                                                         %show what Optics contains
+ATindx=ATIndex(THERING);                                       %AATindx has indices for each family
+
+ibpm=ATindx.BPM;                                               %select BPMs
+bpm.name    =Optics.name(ibpm,:);
+bpm.name    =getfamilydata('BPMx','CommonNames');
+bpm.status  =getfamilydata('BPMx','Status');
+bpm.s       =Optics.s(ibpm);
+bpm.phix    =Optics.phix(ibpm);
+bpm.betax   =Optics.betax(ibpm);
+bpm.alfax   =Optics.alfax(ibpm);
+bpm.etax    =Optics.etax(ibpm);
+bpm.phiy    =Optics.phiy(ibpm);
+bpm.betay   =Optics.betay(ibpm);
+bpm.alfay   =Optics.alfay(ibpm);
+struct2excel(bpm)
+
+icor=ATindx.COR;                                               %select CORs
+cor.name    =Optics.name(icor,:);
+cor.x_name  =getfamilydata('HCM','CommonNames');
+cor.x_status=getfamilydata('HCM','Status');
+cor.y_name  =getfamilydata('VCM','CommonNames');
+cor.y_status=getfamilydata('VCM','Status');
+cor.s       =Optics.s(icor);
+cor.phix    =Optics.phix(icor);
+cor.betax   =Optics.betax(icor);
+cor.alfax   =Optics.alfax(icor);
+cor.etax    =Optics.etax(icor);
+cor.phiy    =Optics.phiy(icor);
+cor.betay   =Optics.betay(icor);
+cor.alfay   =Optics.alfay(icor);
+struct2excel(cor)
Index: /trunk/machine/SOLEIL/StorageRing/orbit/bpmgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/bpmgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/bpmgui.m	(revision 17)
@@ -0,0 +1,954 @@
+function bpmgui(action, varargin)
+% function varargout = bpmgui(action, varargin)
+%  bpmgui controls orbit manipulation and plotting
+%  graphics handles
+%
+% INPUT
+% 1. action possible among
+% 
+% GetRef
+% UpdateRef
+% GetAct
+% UpdateAct
+% ylimits
+% PlotRef_Init
+% PlotRef
+% PlotAct_Init
+% PlotAct
+% PlotFit_Init
+% PlotFit
+% PlotDes_Init
+% PlotDes
+% ClearOffsets
+% PlotIcons_Init
+% PlotBPMs
+% PlotResp_Init
+% PlotResp
+% PlotEig_Init
+% PlotEig
+% BPMSelect
+% BPMBar
+% BPMDown
+% ProcessBPM
+% MoveBPM
+% Up
+% EditDesOrb
+% EditBPMWeight
+% SetBPMOff
+% UpdateBPMBox
+% BPMBox
+% RePlot
+% ClearPlots
+% SelectAll
+% SelectNone
+% ToggleMode
+% ToggleMode
+% DragMode
+% ShowBPMState
+% 
+% 
+
+%
+% Written By Jeff Corbett
+% Modified by Laurent S. Nadolski, Soleil, April 2004
+
+global BPM COR RSP SYS
+orbfig = findobj(0,'tag','orbfig');
+plane  = SYS.plane;
+
+% BPMfamilies = {'BPMx','BPMz'};
+
+switch action
+    %...GetRef//YLimits
+    %...PlotRef//PlotAct_Init//PlotAct//PlotFit_Init//PlotFit
+    %...PlotDes_Init//Plot_Des//Plot_BPMs_Init//PlotBPMs
+    %...PlotResp_Init//PlotResp//PlotEig_Init//PlotEig
+    %...BPMDown//ProcessBPM//MoveBPMUp
+    %...EditBPM//SetBPMOff//BPMBox//Up
+    %...RePlot//ClearPlot
+    %...SelectAll//SelectNone
+    %...ToggleMode//DragMode//ShowBPMState
+
+    %=============================================================
+    case 'GetRef'                                 % *** GetRef ***
+        %=============================================================
+        %load present orbit into .ref field of BPM structure
+
+        % H-plane
+        BPM(1).ref = BPM(1).act;
+        % V-plane
+        BPM(2).ref = BPM(2).act;
+        
+        setappdata(0,'BPM',BPM);
+
+        %=============================================================
+    case 'UpdateRef'                           % *** UpdateRef ***
+        %=============================================================
+        %load a simulated or measured reference orbit into BPM structure
+        %load a copy into the .des field
+        bpmgui('GetRef');  
+        %BPM=getappdata(0,'BPM');
+
+        % H-plane
+        BPM(1).act = BPM(1).ref;
+        BPM(1).des = BPM(1).ref;
+        BPM(1).abs = BPM(1).ref;
+        % V-plane
+        BPM(2).act = BPM(2).ref;
+        BPM(2).des = BPM(2).ref;
+        BPM(2).abs = BPM(2).ref;
+
+        if SYS.relative == 1   %absolute mode
+            BPM(1).abs = BPM(1).abs*0;
+            BPM(2).abs = BPM(2).abs*0;
+        end
+
+        setappdata(0,'BPM',BPM);
+
+        orbgui('LBox',' Refresh Reference Orbit: ');
+
+        orbgui('RefreshOrbGUI');
+
+        %=============================================================
+    case 'GetAct'                             % *** GetAct ***
+        %=============================================================
+        %acquire orbit, load into .act field
+
+        % H-plane
+        val = getam(BPM(1).AOFamily,[],SYS.mode);
+        BPM(1).act(BPM(1).status) = val;
+        % V-plane
+        val = getam(BPM(2).AOFamily,[],SYS.mode);
+        BPM(2).act(BPM(2).status) = val;
+
+        %% Variable stored in the workspace memory
+        setappdata(0,'BPM',BPM);     
+
+        %=============================================================
+    case 'UpdateAct'                           % *** UpdateAct ***
+        %=============================================================
+        %read new orbit, update graphics
+
+        orbgui('LBox',' Refresh Orbit ');
+        %         disp('bpm acquisition');
+        %         tic;
+        if ~strcmp(SYS.mode,'Simulator')
+            pause(2);
+        end
+        bpmgui('GetAct');          %loads both planes (300 ms in simulator)
+        %         toc;
+
+        %         disp('Corrector acquisition');
+        %         tic;
+        corgui('GetAct');          %loads both planes (200 ms in simulator)
+        %         toc;
+
+        orbgui('RefreshOrbGUI');
+
+        %=============================================================
+    case 'ylimits'                             % *** ylimits ***
+        %=============================================================
+        
+        %set vertical axis limits for BPM plot
+        if BPM(plane).scalemode == 0
+            return; 
+        end  %manual mode
+
+        orbgui('AutoScaleBPMAxis');
+%         mxref = max(abs(BPM(plane).ref(BPM(plane).status)-BPM(plane).abs(BPM(plane).status)));        %for ylimit calculation
+%         mxdes = max(abs(BPM(plane).des(BPM(plane).status)-BPM(plane).abs(BPM(plane).status)));        %for ylimit calculation
+%         mxact = max(abs(BPM(plane).act(BPM(plane).status)-BPM(plane).abs(BPM(plane).status)));        %for ylimit calculation
+%         mxfit = max(abs((BPM(plane).act(BPM(plane).avail)-BPM(plane).abs(BPM(plane).avail)+...
+%             BPM(plane).fit(BPM(plane).avail))));
+%                
+%         ylim = max([mxref mxdes mxact mxfit])*1.1;
+% 
+%         % TODO if limimit y-scale wanted
+%         %units are mm
+% %         if ylim < 0.01 ylim = 0.01; end
+% 
+%         ylim = ylim *BPM(plane).scale;
+%         
+%         set(SYS.ahbpm,'YLim',ylim*[-1, 1]);
+
+        %==========================================================
+    case 'PlotRef_Init'                        %...PlotRef_Init
+        %==========================================================
+        %red, solid line for reference orbit.
+        %use .iref field
+        set(SYS.ahbpm,'Color',[1 1 1],'NextPlot','add');
+        set(orbfig,'currentaxes',SYS.ahbpm)
+
+        yd = BPM(plane).ref(BPM(plane).iref)-BPM(plane).abs(BPM(plane).iref);
+        yd = yd *BPM(plane).scale;
+        
+        xd = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+        xd = xd(BPM(plane).iref);
+
+        SYS.lhref=	line('parent',SYS.ahbpm,'XData',xd, ...
+            'YData',yd,'Color','r','Tag', 'Ref');
+        set(SYS.lhref,'ButtonDownFcn','bpmgui(''BPMSelect'');');
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'PlotRef'                        %...PlotRef
+        %==========================================================
+        %red, solid, static line for reference orbit.
+        %use .iref field
+        bpmgui('ylimits');
+        set(orbfig,'currentaxes',SYS.ahbpm)
+
+        xd = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+        xd = xd(BPM(plane).iref);
+
+        yd = BPM(plane).ref(BPM(plane).iref) - BPM(plane).abs(BPM(plane).iref);
+        yd = yd*BPM(plane).scale;
+        
+        set(SYS.lhref,'LineWidth',1.25,'XData',xd,'YData',yd);
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'PlotAct_Init'                        %...PlotAct_Init
+        %==========================================================
+        %blue, solid dynamic line for actual orbit.
+        %use .status field
+        bpmgui('ylimits');
+        set(SYS.ahbpm,'Color',[1 1 1],'NextPlot','add');
+        set(orbfig,'currentaxes',SYS.ahbpm)
+
+        SYS.lhact = line('parent',SYS.ahbpm,'XData',[], ...
+            'YData',[],'Color','b','ButtonDownFcn', ...,
+            'bpmgui(''BPMSelect'');','Tag', 'Act');
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'PlotAct'                             %...PlotAct
+        %==========================================================
+        %blue, solid dynamic line for actual orbit.
+        %use .status field
+        bpmgui('ylimits');
+        set(orbfig,'currentaxes',SYS.ahbpm)
+        xd = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+        xd = xd(BPM(plane).status);
+
+        yd = BPM(plane).act(BPM(plane).status)-BPM(plane).abs(BPM(plane).status);
+        yd = yd *BPM(plane).scale;
+        
+        set(SYS.lhact,'LineWidth',1.2,'XData',xd,'YData',yd);
+
+        %==========================================================
+    case 'PlotFit_Init'                        %...PlotFit_Init
+        %==========================================================
+        %blue, dashed line for orbit fit
+        %use .avail field
+        bpmgui('ylimits');
+        set(SYS.ahbpm,'Color',[1,1,1],'NextPlot','add');
+        set(orbfig,'currentaxes',SYS.ahbpm)
+        SYS.lhfit=	line('parent',SYS.ahbpm,'XData',[], ...
+            'YData',[],'Color','b','LineStyle',':','Tag', 'Fit');
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'PlotFit'                             %...PlotFit
+        %==========================================================
+        %blue, dashed line for orbit fit
+        %use .avail field
+        set(orbfig,'currentaxes',SYS.ahbpm)
+
+        %actual orbit plus the fitted solution from corrector change
+        %yields the predicted orbit
+        yd = (BPM(plane).act(BPM(plane).avail) - ...
+              BPM(plane).abs(BPM(plane).avail) + ... %zero if absolute, ref else
+              BPM(plane).fit(BPM(plane).avail) + ...
+              BPM(plane).rffit(BPM(plane).avail));
+        yd = yd*BPM(plane).scale;
+        
+        xd = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+        xd = xd(BPM(plane).avail);
+               
+        %% Update graph
+        set(SYS.lhfit,'XData',xd,'YData',yd);
+        set(SYS.lhfit,'ButtonDownFcn','bpmgui(''BPMSelect'');');
+        bpmgui('ylimits');
+
+        %==========================================================
+    case 'PlotDes_Init'                        %...PlotDes_Init
+        %==========================================================
+        %red, dashed dynamic line for offset orbit
+        %use .avail field
+
+        yd = BPM(plane).des(BPM(plane).avail) - BPM(plane).abs(BPM(plane).avail);
+        yd = yd*BPM(plane).scale;
+        
+        xd = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+        xd = xd(BPM(plane).avail);
+        
+        SYS.lhdes = line('parent',SYS.ahbpm,'XData',xd, ...
+            'YData',yd,'Color','r','LineStyle',':','Tag', 'Des');
+        set(SYS.lhdes,'ButtonDownFcn','bpmgui(''BPMSelect'');');
+
+        setappdata(0,'SYS',SYS);
+
+        bpmgui('ylimits');
+
+        %==========================================================
+    case 'PlotDes'                                  %...PlotDes
+        %==========================================================
+        % %red, dashed dynamic line for offset orbit
+        %use .avail field
+
+        yd = BPM(plane).des(BPM(plane).avail) - BPM(plane).abs(BPM(plane).avail);
+        yd = yd *BPM(plane).scale;
+       
+        xd = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+        xd = xd(BPM(plane).avail);
+     
+        set(SYS.lhdes,'XData',xd,'YData',yd);
+        bpmgui('ylimits');
+
+        %%==========================================================
+    case 'ClearOffsets'                        %...ClearOffsets
+        %==========================================================
+        %remove offsets in plane of interest
+        %use .avail field
+
+        id = BPM(plane).avail(1:length(BPM(plane).avail));
+        BPM(plane).des(id) = BPM(plane).ref(id)-BPM(plane).abs(id);
+        
+        %moves the icon on screen
+        set(BPM(plane).hicon(id),{'YData'},num2cell(BPM(plane).des)); 
+
+%         for ii = 1:length(BPM(plane).avail)
+%             id                 = BPM(plane).avail(ii);
+%             BPM(plane).des(id) = BPM(plane).ref(id)-BPM(plane).abs(id);
+%             b                  = BPM(plane).hicon(id);
+%             set(b,'YData',BPM(plane).des(id));   %moves the icon on screen
+%         end
+
+        setappdata(0,'BPM',BPM);
+
+        orbgui('RefreshOrbGUI');
+
+        %==========================================================
+    case 'PlotIcons_Init'                       %...PlotIcons_Init
+        %==========================================================
+        %draw initial 'hot' circles for each BPM - need to vectorize
+        selectbpm = 'bpmgui(''BPMDown'');';
+
+        %present plane
+        plane = SYS.plane;
+        xd    = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+
+        %black if not in status vector
+        for kk = 1:size(BPM(plane).name,1)
+            BPM(plane).hicon(kk) = line('parent',SYS.ahbpm, ...
+                'Tag', ['b' num2str(kk)],...
+                'XData',xd(kk),...
+                'YData',0,...
+                'Marker','o','MarkerSize',5,'MarkerFaceColor','k',...
+                'ButtonDownFcn',selectbpm);
+        end
+        BPM(plane).hicon          = BPM(plane).hicon(:);
+        BPM(1+mod(plane,2)).hicon = BPM(plane).hicon;
+
+        setappdata(0,'BPM',BPM);
+
+        %draw a vertical black line at selected BPM
+        ylim = get(SYS.ahbpm,'YLim');
+        SYS.lhbid =	line('parent',SYS.ahbpm,...
+            'XData',[xd(BPM(plane).id),xd(BPM(plane).id) + 0.001],...
+            'YData',[ylim(1),ylim(2)],'Color','k','Tag', 'Icons');
+        set(SYS.lhbid, 'ButtonDownFcn','bpmgui(''BPMSelect'');');
+
+        %==========================================================
+    case 'PlotBPMs'                             %...PlotBPMs
+        %==========================================================
+        %green if BPM contained in BPM(plane).ifit, otherwise yellow
+        %red if not available (no response matrix entry or no reference orbit)
+        %default hot bpms to black
+%         yd = BPM(plane).des - BPM(plane).abs;
+        yd = BPM(plane).act(BPM(plane).status) - BPM(plane).abs(BPM(plane).status);
+        yd = yd*BPM(plane).scale;
+        
+        xd = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+
+%         for kk = 1:size(BPM(plane).name,1)
+%             set(BPM(plane).hicon(kk),'Xdata',xd(kk),...
+%                 'YData',0,'MarkerSize',5,'MarkerFaceColor','k');
+%         end
+%         set(BPM(plane).hicon,'YData',0,'MarkerFaceColor','k');
+        
+        nstat = length(BPM(plane).status);
+        kk = (1:nstat)';
+        colorcell = repmat({'g'},nstat,1); %green for fit
+        colorcell(setdiff(kk,BPM(plane).ifit)) = {'y'};  %yellow for no fit
+        colorcell(setdiff(kk,BPM(plane).avail)) = {'r'};  %red for not available
+        
+        % set everything using cell structure instead of for-loop      
+        set(BPM(plane).hicon,{'XData'},num2cell(xd),{'YData'},num2cell(yd), ...
+            {'MarkerFaceColor'},colorcell);
+               
+%         for kk = 1:nstat
+%             k     = BPM(plane).status(kk);   %double index, BPM.status is compressed
+%             color = 'r';                 %red for not available
+%             if ~isempty(find(BPM(plane).avail == k)), color = 'y'; end   %yellow for available
+%             if isempty(BPM(plane).ifit)
+%                 color = 'y'; %yellow for no fit
+%             elseif ~isempty(find(BPM(plane).ifit == k))
+%                 color = 'g'; %green for fit
+%             end
+%             set(BPM(plane).hicon(k),...
+%                 'XData',xd(k),'YData',yd(k),...
+%                 'MarkerSize',5,'MarkerEdgeColor','k','MarkerFaceColor',color);
+%         end
+
+        %==========================================================
+    case 'PlotResp_Init'                      %...PlotResp_Init
+        %==========================================================
+        %black, solid dynamic line for response orbit
+        %use .avail field
+        bpmgui('ylimits');
+        set(SYS.ahbpm,'Color',[1,1,1],'NextPlot','add');
+        set(orbfig,'currentaxes',SYS.ahbpm);
+        SYS.lhrsp =	line('parent',SYS.ahbpm,'XData',[], ...
+            'YData',[],'Color','k','Tag', 'Resp');
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'PlotResp'                             %...PlotResp
+        %==========================================================
+        %black, solid static line for column of response matrix
+        %use .avail field
+
+        id = COR(plane).id;
+
+        set(orbfig,'currentaxes',SYS.ahbpm)
+
+        ylim = get(SYS.ahbpm,'YLim');
+        
+        %scale column of response matrix
+        val  = 0.5*ylim(2)/max(abs(RSP(plane).Data(BPM(plane).avail,id))); 
+                                  
+        yd   = val*RSP(plane).Data(BPM(plane).avail,id);
+        
+        xd   = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+
+        set(SYS.lhrsp,'LineWidth',1.5,'XData',xd,'YData',yd);
+
+        %==========================================================
+    case 'PlotEig_Init'                        %...PlotEig_Init
+        %==========================================================
+        %black, solid dynamic line for eigenvector orbit
+        %use .iavail field for default
+        bpmgui('ylimits');
+        set(SYS.ahbpm,'Color',[1,1,1],'NextPlot','add');
+        set(orbfig,'currentaxes',SYS.ahbpm)
+        SYS.lheig=	line('parent',SYS.ahbpm,'XData',[], ...
+            'YData',[],'Color','k','Tag', 'Eig');
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'PlotEig'                                  %...PlotEig
+        %==========================================================
+        %black, solid static line for eigenvector orbit
+        %use .ifit field
+
+        switch SYS.algo
+
+            case 'SVD'
+                ieig = RSP(plane).nsvd;
+
+                if ieig == 0, return; end
+
+                set(orbfig,'currentaxes',SYS.ahbpm);
+
+                ylim = get(SYS.ahbpm,'YLim');
+                val  = 0.5*ylim(2)/max(abs(RSP(plane).U(ieig,:)));   %columns are .ifit bpms
+                yd   = val*RSP(plane).U(ieig,:);                                
+                xd   = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+                set(SYS.lheig,'LineWidth',1.5,'XData',xd,'YData',yd);                
+
+        end   %end case
+
+        %=============================================================
+    case 'BPMSelect'                          % *** BPMSelect ***
+        %=============================================================
+        %used if mouse clicks anywhere in BPM window
+        % Get mouse position
+        cpa = get(SYS.ahbpm,'CurrentPoint');
+        pos = cpa(1);
+
+        %% Searchs closest BPM
+        
+        switch SYS.xscale
+            case 'meter'
+                id = find(min(abs(BPM(plane).s-pos)) == abs(BPM(plane).s-pos));
+            case 'phase'
+                id = find(min(abs(BPM(plane).phi-pos)) == abs(BPM(plane).phi-pos));
+        end
+
+        BPM(plane).id = id;
+
+        %% Stores updated BPM structure
+        setappdata(0,'BPM',BPM);
+
+        b = BPM(plane).hicon(id); % handle for round symbol
+
+        % Set black cross in the BPM window
+        bpmgui('BPMBar');
+
+        bpmgui('ProcessBPM',id,b);
+
+        %=============================================================
+    case 'BPMBar'                              % *** BPMBar ***
+        %=============================================================
+        %move black line in window to indicate selection
+        id   = BPM(plane).id;
+        ylim = get(SYS.ahbpm,'YLim');
+
+        if isempty(find(BPM(plane).status == id,1))
+            yd = ylim/4*BPM(plane).scale;
+        else
+            yd = (BPM(plane).des(id) - BPM(plane).abs(id))*BPM(plane).scale ...
+                + ylim/4;
+        end
+
+        xd = orbgui('GetAbscissa',SYS,'BPM');  %horizontal coordinates for plotting
+        xd = [xd(id) xd(id) + 0.001];
+       
+        set(SYS.lhbid,'XData',xd,'YData',yd);
+
+        %=============================================================
+    case 'BPMDown'                              % *** BPMDown ***
+        %=============================================================
+        %used if mouse clicks directly on BPM
+        b     = gcbo;
+        bptag = get(b,'tag');
+        id    = str2double(bptag(2:length(bptag))); %strip off 'b' to get the bpm index
+        BPM(plane).id = id;
+
+        setappdata(0,'BPM',BPM);
+
+        bpmgui('ProcessBPM',id,b);
+
+        %=============================================================
+    case 'ProcessBPM'                            % *** ProcessBPM ***
+        %=============================================================
+        %put BPM data into text fields.
+        %if BPM.mode=1, display, toggle
+        %if BPM.mode=2, display, drag
+
+        %identify BPM handle and number
+        id = varargin{1}; %bpm number 'id'
+        b  = varargin{2}; %bpm graphics handle 'b'
+
+        %check to see if bpm available
+        if isempty(find(BPM(plane).avail == id,1)) %put fit value in offset box and in request box
+            bpmgui('UpdateBPMBox');
+            return;
+        end
+
+        %====================
+        %   TOGGLE MODE
+        %====================
+        if BPM(plane).mode == 1                                %BPMs in toggle mode
+
+            if isempty(BPM(plane).ifit)     %no BPMs chosen yet, this is the first one
+                BPM(plane).ifit(1) = id;
+                setappdata(0,'BPM',BPM);
+                set(b,'MarkerFaceColor','g');
+                set(orbfig,'WindowButtonUpFcn','bpmgui(''Up'')');
+                return
+            end
+
+            if ~isempty(find(BPM(plane).ifit == id,1))                   %BPM presently on for fit
+                set(b,'MarkerFaceColor','y');
+                BPM(plane).ifit(find(BPM(plane).ifit==id)) = 0;          %set element in list to zero
+                BPM(plane).ifit=BPM(plane).ifit(find(BPM(plane).ifit));  %compress list
+                BPM(plane).ifit=BPM(plane).ifit(:);                      %create column vector
+                setappdata(0,'BPM',BPM);
+
+            elseif isempty(find(BPM(plane).ifit == id, 1)) && ...
+                    ~isempty(find(BPM(plane).avail == id, 1))     %BPM presently not on for fit
+                set(b,'MarkerFaceColor','g');
+                t=BPM(plane).ifit(:);
+
+                %disp(['ID = ' num2str(id)]);
+                t=sort([t; id]);
+                BPM(plane).ifit=t;
+                setappdata(0,'BPM',BPM);
+            end
+            set(orbfig,'WindowButtonUpFcn','bpmgui(''Up'')')
+
+
+            %====================
+            %   DRAG MODE
+            %====================
+        elseif BPM(plane).mode == 2                                    %BPMs in drag mode
+            selectbpm = ['bpmgui(''MoveBPM'',' num2str(b) ', ' num2str(id) ');'];
+            set(orbfig,'WindowButtonMotionFcn',selectbpm);
+            set(orbfig,'WindowButtonUpFcn','bpmgui(''Up'')');
+        end    %...end mode=2 (drag) condition
+
+        bpmgui('UpdateBPMBox');
+
+        %=============================================================
+    case 'MoveBPM'                              % *** MoveBPM ***
+        %=============================================================
+        %This function is called each time the user moves the mouse in 'down' mode
+
+        %reset the y coordinate of the data point on the dashed plot.
+        %...plot_ydata = get(SYS.desorb, 'YData');
+        %plot_ydata(ind) = pos(1,2);
+        %the catch: note bpm tags have index progressing
+        %linearly from start to finish independent of status.
+        %But plot_ydata has index that skips bpms with bad status.
+        %must look for position in status vector of the
+        %bpm with index ind as chosen by the drag command.
+
+%         b  = varargin{1};
+        id = varargin{2};  
+        b  = BPM(plane).hicon(id);    %doesn't work without this line - round-off?
+
+
+        %reposition icon for BPM
+        pos = get(SYS.ahbpm, 'CurrentPoint');
+        yd  = pos(1,2);
+      
+        % Update ans save desired orbit
+        BPM(plane).des(id) = yd/BPM(plane).scale + BPM(plane).abs(id);
+        setappdata(0,'BPM',BPM);
+
+        set(b, 'YData', yd);  %move the BPM icon to mouse position
+
+        %re-plot red dotted line (desired orbit)
+        bpmgui('PlotDes');
+        bpmgui('BPMBar');
+        bpmgui('UpdateBPMBox');
+
+
+        %=============================================================
+    case 'Up'                                  % *** Up ***
+        %=============================================================
+        %mouse button is let up, don't respond to motion
+        set(orbfig,'WindowButtonMotionFcn','',...
+            'WindowButtonUpFcn','');
+        respgui('SolveSystem');
+        respgui('UpdateFit');
+        bpmgui('UpdateBPMBox');
+
+        %=============================================================
+    case 'EditDesOrb'                         %***	EditDesOrb ***
+        %=============================================================
+        h1 = SYS.bpmedit;   %handle of BPM edit box
+        if isempty(get(SYS.bpmname,'String'))
+            set(SYS.bpmedit,'String',num2str(0.0));
+            return;
+        end
+        id = BPM(plane).id;
+        b  = findobj(orbfig,'tag',['b' num2str(id)]);  %handle of bpm
+        offset = str2double(get(h1,'String'));
+
+        if isnan(offset) || ~isnumeric(offset) || ~length(offset) == 1
+            % flush the bad string out of the edit; replace with current value
+            offset = 0.0;
+            set(h1,'String',num2str(offset));
+            disp('Warning: Invalid offset entry.');
+            orbgui('LBox','Warning: Invalid offset entry');
+        end
+
+        bpmgui('SetBPMOff',id,b,offset);
+
+        orbgui('RefreshOrbGUI');
+
+        %=============================================================
+    case 'EditBPMWeight'                 %***	EditBPMWeight ***
+        %=============================================================
+        %check if no BPM selected
+        h1 = SYS.editbpmweight;   %handle of BPM weight edit box
+        if isempty(get(SYS.bpmname,'String'))
+            set(SYS.editbpmweight,'String',num2str(1.0));
+            return;
+        end
+
+        id     = BPM(plane).id;
+%         b      = findobj(orbfig,'tag',['b' num2str(id)]);  %handle of bpm
+        weight = str2double(get(h1,'String'));
+
+        if isnan(weight) || ~isnumeric(weight) || ~length(weight) == 1
+            % flush the bad string out of the edit; replace with current value
+            weight = 1.0;
+            set(h1,'String',num2str(weight));
+            disp('Warning: Invalid weight entry.');
+            orbgui('LBox','Warning: Invalid weight entry');
+        end
+
+        BPM(plane).wt(id) = weight;
+        setappdata(0,'BPM',BPM);
+
+        orbgui('RefreshOrbGUI');
+
+        %=============================================================
+    case 'SetBPMOff'                         %***	SetBPMOff ***
+        %=============================================================
+        %Callback of the BPM offset edit box.
+        %resets the dashed red line and BPM icon position.
+        %For details, see "BPMmove" above.
+        %calling sequence:bpmgui('SetBPMOff',id,b,offset);
+
+        %identify BPM handle and number
+        id     = varargin{1}; %bpm number 'id' comes through varargin
+        b      = varargin{2}; %bpm handle 'b' comes through varargin
+        offset = varargin{3}; % offset value
+        
+        % update and save BPM
+        BPM(plane).des(id) = BPM(plane).ref(id)-BPM(plane).abs(id) ...
+            + offset/BPM(plane).scale;      
+        setappdata(0,'BPM',BPM); 
+
+        %moves the icon on screen
+        yd = BPM(plane).des(id);        
+        set(b,'YData',yd);   
+
+        % replot Desired orbit
+        bpmgui('PlotDes');
+
+        %=============================================================
+    case 'UpdateBPMBox'                     % *** UpdateBPMBox ***
+        %=============================================================
+        %update BPMBox
+        %called from respgui(SVDSlide),respgui(SVDEdit)
+        id = BPM(plane).id;
+        %check to see if bpm available
+        if isempty(find(BPM(plane).avail == id,1)) %put fit value in offset box and in request box
+            bpmgui('BPMBox',BPM(plane).name(id,:),BPM(plane).act(id),...
+                0,0,0,0,0,0,id);
+            return;
+        else
+            %compute desired offset from reference orbit
+            offset       = BPM(plane).des(id) - BPM(plane).ref(id);
+            %compute predicted fitted value
+            predictedval = BPM(plane).fit(id) + ...
+                (BPM(plane).act(id) - BPM(plane).abs(id));
+            %compute orbit mean
+            meanV = mean(BPM(plane).act(BPM(plane).status)-BPM(plane).abs(BPM(plane).status));
+            %compute orbit rms
+            rms   = std(BPM(plane).act(BPM(plane).status)-BPM(plane).abs(BPM(plane).status));
+            bpmgui('BPMBox',BPM(plane).name(id,:),BPM(plane).act(id),...
+                BPM(plane).ref(id),offset,BPM(plane).wt(id),BPM(plane).des(id),...
+                predictedval, meanV, rms, id)
+        end
+
+        %=============================================================
+    case 'BPMBox'                            % *** BPMBox ***
+        %=============================================================
+        %bpmgui('BPMBox',BPM(plane).name(id,:),BPM(plane).act(id),...
+        %                BPM(plane).ref(id),BPM(plane).des(id),fitval,id);
+        bpmname   = SYS.bpmname;
+        actual    = SYS.bpmact;
+        reference = SYS.bpmref;
+        offedit   = SYS.bpmedit;
+        wtedit    = SYS.editbpmweight;
+        desire    = SYS.bpmdes;
+        measval   = SYS.bpmmeas;
+        rmsval    = SYS.bpmrms;
+        meanval   = SYS.bpmmean;
+
+        name = varargin{1};
+        act  = varargin{2};
+        ref  = varargin{3};
+        off  = varargin{4};
+        wt   = varargin{5};
+        des  = varargin{6};
+        meas = varargin{7};
+        meanV= varargin{8};
+        rms  = varargin{9};
+        id   = varargin{10};
+
+        % conversion in device list
+        dev = elem2dev(BPM(plane).AOFamily,id);
+        
+        set(bpmname,  'String',[name '  [',num2str(dev(1)),' ', ...
+            num2str(dev(2)),']']);
+        set(actual,   'String',num2str(act*BPM(plane).scale,  '%6.3f'));
+        set(reference,'String',num2str(ref*BPM(plane).scale,  '%6.3f'));
+        set(offedit,  'String',num2str(off*BPM(plane).scale,  '%6.3f'));
+        set(wtedit,   'String',num2str(wt,                    '%6.3f'));
+        set(desire,   'String',num2str(des*BPM(plane).scale,  '%6.3f'));
+        set(measval,  'String',num2str(meas*BPM(plane).scale, '%6.3f'));
+        set(rmsval,   'String',num2str(rms*BPM(plane).scale,  '%6.3f'));
+        set(meanval,  'String',num2str(meanV*BPM(plane).scale,'%6.3f'));
+        set(offedit,  'UserData',id);
+
+        %=============================================================
+    case 'RePlot'                                 % *** RePlot ***
+        %=============================================================
+        %plot reference, desired, actual, icons
+        set(orbfig,'currentaxes',SYS.ahbpm)
+        %could replace these calls with PlotRef, PlotAct, etc
+
+        bpmgui('PlotRef');
+        bpmgui('PlotDes');
+        bpmgui('PlotAct');
+        bpmgui('PlotFit');
+        bpmgui('PlotBPMs');  %plots icons
+        bpmgui('ylimits');
+        bpmgui('BPMBar');
+
+        %==========================================================
+    case 'ClearPlots'                        %...ClearPlots
+        %==========================================================
+        %clear columns of response matrix, orbit-eigenvectors and fit plots.
+
+        set(orbfig,'currentaxes',SYS.ahbpm)
+        set(SYS.lhrsp,'XData',[],'YData',[]);
+        set(SYS.lheig,'XData',[],'YData',[]);
+        set(SYS.lhfit,'XData',[],'YData',[]);
+
+        %=============================================================
+    case 'SelectAll'                           % *** SelectAll ***
+        %============================================================
+        BPM(plane).ifit=[];
+        navail = length(BPM(plane).avail);
+        
+        set(BPM(plane).hicon(BPM(plane).avail),'MarkerFaceColor','g');
+        
+        BPM(plane).ifit(1:navail) = BPM(plane).avail(1:navail);
+        
+        
+%         for kk = 1:navail
+%             k    = BPM(plane).avail(kk);
+%             hbpm = BPM(plane).hicon(k);;
+%             set(hbpm,'MarkerFaceColor','g');
+%             BPM(plane).ifit(kk) = k;
+%         end
+
+        setappdata(0,'BPM',BPM);
+
+        orbgui('RefreshOrbGUI');
+
+        %=============================================================
+    case 'SelectNone'                           % *** SelectNone ***
+        %=============================================================
+        BPM(plane).ifit = [];
+        
+        set(BPM(plane).hicon(BPM(plane).avail),'MarkerFaceColor','y');
+                
+%         navail          = length(BPM(plane).avail);
+%         for kk = 1:navail
+%             k    = BPM(plane).avail(kk);
+%             hbpm = BPM(plane).hicon(k);
+%             set(hbpm,'MarkerFaceColor','y');
+%         end
+
+        setappdata(0,'BPM',BPM);
+
+        orbgui('RefreshOrbGUI');
+
+        %respgui('FitOff',num2str(plane));
+
+        %==========================================================
+    case 'ToggleMode'                      % *** ToggleMode ***
+        %==========================================================
+        %callback of the bpm toggle radio button
+        %radio button toggles state and then executes callback
+        %hence, this routine finds the new state
+
+        if get(SYS.togglebpm,'Value') == 0 &&  ...
+                get(SYS.dragbpm,'Value') == 0
+            BPM(plane).mode = 0;           %'0' for display only
+        else
+            set(SYS.dragbpm,'Value',0);
+            BPM(plane).mode = 1;           %'1' for toggle mode
+        end
+
+        setappdata(0,'BPM',BPM);
+
+        %==========================================================
+    case 'DragMode'                          % *** DragMode ***
+        %==========================================================
+        %callback of the bpm drag radio button
+        %radio button toggles state and then executes callback
+        %hence, this routine finds the new state
+
+        if get(SYS.togglebpm,'Value') == 0 &&  ...
+                get(SYS.dragbpm,'Value') == 0
+            BPM(plane).mode = 0;           %'0' for display only
+        else
+            set(SYS.togglebpm,'Value',0);
+            BPM(plane).mode = 2;           %'2' for drag mode
+        end
+
+        setappdata(0,'BPM',BPM);
+
+        %===========================================================
+    case 'ShowBPMState'                    %*** ShowBPMState ***
+        %===========================================================
+        % Show bpm settings
+        len = size(BPM(plane).name,1);
+        tavail  = zeros(len,1);
+        tfit    = zeros(len,1);
+        tstatus = zeros(len,1);
+      
+        idx = intersect(BPM(plane).avail,1:len);
+        tavail(idx) = idx;
+        idx = intersect(BPM(plane).ifit,1:len);
+        tfit(idx) = idx;
+        idx = intersect(BPM(plane).status,1:len);
+        tstatus(idx) = idx;
+      
+%         tic 
+%         for ii = 1:size(BPM(plane).name,1)
+%             if ~isempty(find(BPM(plane).avail == ii))  tavail(ii)  = ii;  end
+%             if ~isempty(find(BPM(plane).ifit == ii))   tfit(ii)    = ii;  end
+%             if ~isempty(find(BPM(plane).status == ii)) tstatus(ii) = ii;  end
+%         end
+%         toc
+
+        ref  = BPM(plane).ref;
+        des  = BPM(plane).des;
+        babs = BPM(plane).abs;
+        act  = BPM(plane).act;
+        fit  = BPM(plane).fit;
+        wt   = BPM(plane).wt;
+
+        %%% BUILD UP CELL TO DISPLAY
+        ivec = (1:len)';        
+        Strcell = cell(11,len);
+        Strcell(1,:) = num2cell(ivec);
+        Strcell(2,:) = cellstr(BPM(plane).name(ivec,:))';
+        Strcell(3:end,:) = num2cell([tstatus(ivec),tavail(ivec),tfit(ivec),ref(ivec), ...
+            des(ivec),babs(ivec),act(ivec),fit(ivec),wt(ivec) ])';
+        
+        %% Speed issue
+        % in a workspace : 2.3s
+        % in a file : 0.04s
+        % in a file and edit in matlab : 0.5s first time then 0.1
+        % in a file and edit in nedit  : 0.06s
+        
+        filename = [SYS.localdata 'bpmdata.txt'];
+        fid = fopen(filename,'w');
+        fprintf(fid,'%s\n','index    name    stat  avail  ifit     ref        des          abs       act         fit       weight');
+        fprintf(fid,'%3d %10s %5d %5d %5d %10.3f %10.3f %12.3f %10.3f %10.3f %10.3f\n',...
+            Strcell{:});
+        fclose(fid)
+        % edit 'bpmdata.txt'        
+        system(['nedit ', filename, ' &']);  % much faster
+            
+%             tic
+%         for ii = 1:size(BPM(plane).name,1)
+%             fprintf(0,'%3d %10s %5d %5d %5d %10.3f %10.3f %12.3f %10.3f %10.3f %10.3f\n',...
+%                 ii, BPM(plane).name(ii,:),tstatus(ii),tavail(ii),tfit(ii),ref(ii), ...
+%                 des(ii),babs(ii),act(ii),fit(ii),wt(ii));
+%         end
+%         toc
+        %===========================================================
+    otherwise
+        disp(['Warning: no CASE found in bpmgui: ' action]);
+end  %end switchyard
Index: /trunk/machine/SOLEIL/StorageRing/orbit/bpminit_orb.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/bpminit_orb.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/bpminit_orb.m	(revision 17)
@@ -0,0 +1,52 @@
+function varargout = bpminit_orb
+% BPMINIT_Orb - Initialize electron BPM data for ORBIT program
+
+%
+% Written by William J. Corbett
+% Adapted by Laurent S. Nadolski
+
+BPMxFamily = 'BPMx';
+BPMzFamily = 'BPMz';
+
+AO = getao;
+
+%horizontal plane ***
+BPM(1).AOFamily = BPMxFamily;
+BPM(1).name = AO.(BPMxFamily).CommonNames;
+BPM(1).s    = AO.(BPMxFamily).Position;   
+ntbpm       = size(BPM(1).name,1);
+BPM(1).mode  = 0;                 %display to show name, toggle for BPM.ifit
+BPM(1).ref   = zeros(ntbpm,1);    %...BPM.ref,des,abs all set in reference read
+BPM(1).des   = zeros(ntbpm,1);    %...initialize array
+BPM(1).act   = zeros(ntbpm,1);    %...initialize array
+BPM(1).rffit = zeros(ntbpm,1);    %...initialize dispersion component
+BPM(1).avail = (1:ntbpm)';        %...initialize all BPMs available
+BPM(1).ifit  = (1:ntbpm)';        %...initialize all BPMs on for fitting
+BPM(1).fit   = zeros(ntbpm,1);    %...initialize fitted solution zero
+BPM(1).wt    = ones(ntbpm,1);     %...SVD fitting weights
+BPM(1).etawt = ones(ntbpm,1);     %...SVD dispersion fitting weights
+BPM(1).id    = 1;                 %...initialize BPM selection
+BPM(1).ATindex = AO.(BPMxFamily).AT.ATIndex;   %load AT indices
+BPM(1).ntbpm = ntbpm;             % number of bpms
+
+
+% vertical plane
+BPM(2).AOFamily= BPMzFamily;
+BPM(2).name = AO.(BPMzFamily).CommonNames;
+BPM(2).s    = AO.(BPMzFamily).Position;   
+ntbpm       = size(BPM(2).name,1);
+BPM(2).mode = 0;                  %display to show name, toggle for BPM.ifit
+BPM(2).ref  = zeros(ntbpm,1);     %...BPM.ref,des,abs all set in reference read
+BPM(2).des  = zeros(ntbpm,1);     %...initialize array
+BPM(2).act  = zeros(ntbpm,1);     %...initialize array
+BPM(2).rffit= zeros(ntbpm,1);     %...initialize dispersion component
+BPM(2).avail= (1:ntbpm)';         %...initialize all BPMs available
+BPM(2).ifit = (1:ntbpm)';         %...initialize all BPMs on for fitting
+BPM(2).fit  = zeros(ntbpm,1);     %...initialize fitted solution zero
+BPM(2).wt   = ones(ntbpm,1);      %...SVD fitting weights
+BPM(2).etawt= ones(ntbpm,1);      %...SVD dispersion fitting weights
+BPM(2).id   = 1;                  %...initialize BPM selection
+BPM(2).ATindex = AO.(BPMxFamily).AT.ATIndex;   %load AT indices
+BPM(2).ntbpm = ntbpm;             %number of bpms  
+
+varargout{1} = BPM;
Index: /trunk/machine/SOLEIL/StorageRing/orbit/corgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/corgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/corgui.m	(revision 17)
@@ -0,0 +1,1203 @@
+function corgui(action, varargin)
+% CORGUI - controls corrector manipulation and plotting for orbit program
+%varargout = corgui(action, varargin)
+%=============================================================
+%
+% INPUT
+%1. action among:
+%   PlotCor_Init
+%   Fract
+%   ApplyCorrection
+%   RemoveCorrection
+%   ApplyFit
+%   UpdateCors
+%   GetAct
+%   UpdateAct
+%   PlotAct
+%   PlotFit
+%   ClearFit
+%   ClearPlots
+%   ShowPlots
+%   HidePlots
+%   RePlot
+%   ylimits
+%   CorSelect
+%   CorDown
+%   ProcessCor
+%   CorBar
+%   UpdateCorBox
+%   CorBox
+%   Up
+%   CORmove
+%   SelectAll
+%   SelectNone
+%   ToggleCor
+%   ShowResp
+%   ShowEig
+%   SaveCors
+%   RestoreCors
+%   CorEdit
+%   ShowCORState
+%   
+
+%
+% Written by William J. Corbett
+% Adapted by Laurent S. Nadolski
+
+%globals
+global COR RSP SYS
+
+% HCORFamily = 'HCOR';
+% VCORFamily = 'VCOR';
+% BPMxFamily = 'BPMx';
+% BPMzFamily = 'BPMz';
+
+orbfig = findobj(0,'tag','orbfig');
+plane  = SYS.plane;
+
+switch action
+    
+    %==========================================================
+    case 'PlotCor_Init'             % *** PlotCor_Init ***
+        %============Replot==============================================
+        %draw patches to create a "bar" plot for the correctors.
+        set(SYS.ahcor,'Xlim',[0 SYS.xlimax]);
+
+        %========================================
+        %initialize for plane that IS NOT default
+        %========================================
+        plane     = 1 + mod(plane,2);
+        SYS.plane = plane;
+
+        xd = orbgui('GetAbscissa',SYS,'COR');  %horizontal coordinates for plotting
+
+        COR(plane).id = 1;        %first corrector selected as default
+
+        for ii = 1:size(COR(plane).name,1)
+            c     = xd(ii);     %horizontal coordinate
+            color = 'k';        %default black if not in status vector
+            if ~isempty(find(COR(plane).status==ii,1)), color='y'; end  %yellow for available
+            if ~isempty(find(COR(plane).ifit==ii,1)),   color='g'; end  %green for fit
+
+            %actual corrector strength (green)
+            COR(plane).hact(ii,1) = line('parent',SYS.ahcor,'XData', ...
+                c,'YData',0,'Marker','diamond',...
+                'MarkerFaceColor',color,'MarkerSize',6,...
+                'tag', ['c' num2str(plane) '_' num2str(ii)],...   %c for corrector
+                'ButtonDownFcn','corgui(''CorSelect'')');
+            %vertical bar to icon
+            COR(plane).hact(ii,2) = line('parent',SYS.ahcor,'XData', ...
+                [c c],'YData',[0 0],'Color','b');
+
+            %actual+fitted strength (red)
+            COR(plane).hfit(ii,1) = line('parent',SYS.ahcor,'XData', ...
+                c,'YData',0,'Marker','o',...
+                'MarkerFaceColor','r','MarkerSize',4,...
+                'tag', ['f' num2str(plane) '_' num2str(ii)],...   %f for fit
+                'ButtonDownFcn','corgui(''CorSelect'')');
+            %vertical bar to icon
+            COR(plane).hfit(ii,2)=line('parent',SYS.ahcor,'XData', ...
+                [c c],'YData',[0 0],'Color','b');
+
+            if strcmp(color,'k')    %if status bad make single black dot
+                set(COR(plane).hact(ii,1),'MarkerSize',4,'Marker','o');
+                set(COR(plane).hfit(ii,1),'MarkerFaceColor','k');
+            end
+
+        end
+        %========================================
+        %initialize for plane that IS default
+        %========================================
+        plane = 1+mod(plane,2);    %return to default plane
+        SYS.plane = plane;
+
+        COR(plane).id = 1;
+
+        xd = orbgui('GetAbscissa',SYS,'COR');  %horizontal coordinates for plotting
+
+        for ii = 1:size(COR(plane).name,1)
+            c = xd(ii);
+            color = 'k';   %black if not in status vector
+            if ~isempty(find(COR(plane).status==ii,1)), color='y'; end  %yellow for for available
+            if ~isempty(find(COR(plane).ifit==ii,1)),   color='g'; end  %green for fit
+
+            %actual corrector strength (green)
+            COR(plane).hact(ii,1)=line('parent',SYS.ahcor,'XData', ...
+                c,'YData',0,'Marker','diamond',...
+                'MarkerFaceColor',color,'MarkerSize',6,...
+                'tag', ['c' num2str(plane) '_' num2str(ii)],...
+                'ButtonDownFcn','corgui(''CorSelect'')');
+            %vertical bar to icon
+            COR(plane).hact(ii,2)=line('parent',SYS.ahcor,'XData', ...
+                [c c],'YData',[0 0]);
+
+            %actual+fitted strength (red)
+            COR(plane).hfit(ii,1)=line('parent',SYS.ahcor,'XData', ...
+                c,'YData',0,'Marker','o',...
+                'MarkerFaceColor','r','MarkerSize',4,...
+                'tag', ['f' num2str(plane) '_' num2str(ii)],...
+                'ButtonDownFcn','corgui(''CorSelect'')');
+            %vertical bar to icon
+            COR(plane).hfit(ii,2)=line('parent',SYS.ahcor,'XData', ...
+                [c c],'YData',[0 0]);
+
+            if strcmp(color,'k')    %if status bad make single black dot
+                set(COR(plane).hact(ii,1),'MarkerSize',4,'Marker','o');
+                set(COR(plane).hfit(ii,1),'MarkerFaceColor','k');
+            end
+        end
+
+
+        %set limits on corrector plot
+        ylim = get(SYS.ahcor,'YLim');
+        
+        %vertical bar on selected corrector
+        SYS.lhcid = line('parent',SYS.ahcor,...
+            'XData',[xd(COR(plane).id),xd(COR(plane).id)+0.001],...
+            'YData',[ylim(1),ylim(2)],'Color','k');
+        set(SYS.lhcid,'ButtonDownFcn','corgui(''CorSelect'')');
+
+        corgui('ylimits');
+
+        %===========================================================
+    case 'Fract'                                 %*** Fract ***
+        %===========================================================
+        %callback of the text box used to set fraction
+        h1    = SYS.fract;
+        fract = str2double(get(h1,'String'));
+
+        if isnan(fract) || ~isnumeric(fract) || ~length(fract) == 1
+            % flush the bad string out of the edit; replace with current value:
+            set(h1,'String',num2str(COR(plane).fract));
+            disp('Warning: Invalid fraction entry.');
+            orbgui('LBox','Warning: Invalid fraction entry');
+            return;
+        else
+            COR(plane).fract = fract;
+            %NOTE: fraction scalar only used at time of corrector application
+            %   respgui('UpdateFit');
+            %   orbgui('RefreshOrbGUI');
+        end
+
+        %===========================================================
+    case 'ApplyCorrection'              %*** ApplyCorrection ***
+        %===========================================================
+        %Apply orbit correction
+        if ~isempty(COR(plane).ifit) || RSP(plane).rfflag
+            orbgui('LBox',' Apply Correction for current plane');
+            corgui('ApplyFit');
+        else
+            orbgui('LBox',' Correction not valid for current plane');
+        end
+
+        %===========================================================
+    case 'RemoveCorrection'            %*** RemoveCorrection ***
+        %===========================================================
+        %restore to corrector pattern prior to 'ApplyFit'
+
+        if ~isempty(COR(plane).ifit) || RSP(plane).rfflag
+            orbgui('LBox',' Removing Correction');
+            
+            if COR(plane).ifit % Corrector magnet part
+                %NOTE: corrector pattern (.act) measured at time of fit in RefreshOrbGUI
+
+                % Select good status correctors
+                status = COR(plane).status;
+                val    = COR(plane).rst(status);
+                %restore values
+                setsp(COR(plane).AOFamily,val,status,SYS.mode);
+            end
+            
+            if RSP(plane).rfflag % RF part
+                stepsp('RF', -SYS.drfrst, SYS.mode);
+            end
+            
+            % Update gui
+            bpmgui('GetAct');
+            corgui('GetAct');
+            orbgui('RefreshOrbGUI');
+        else
+            orbgui('LBox',' Correction not valid for current plane');
+        end
+
+        %===========================================================
+    case 'ApplyFit'                            %*** ApplyFit ***
+        %===========================================================
+        %apply corrector fit pattern scaled by fract
+        %NOTE: corrector pattern (.act) measured at time of fit in RefreshOrbGUI
+        
+        if ~isempty(COR(plane).ifit) % corrector magnet part
+            % Actual value + fitted value
+            val = COR(plane).act(COR(plane).ifit) + ...
+                COR(plane).fract*COR(plane).fit;
+
+            % Test if saturation
+            istoobig = (abs(val) > COR(plane).lim(COR(plane).ifit));
+            if sum(istoobig) ~= 0
+                orbgui('LBox',' Warning: cannot apply correction strength too large');
+                return;
+            end
+
+            %load restore field to enable corrector pattern removal
+            COR(plane).rst = COR(plane).act;
+
+            % Set new current values
+            setsp(COR(plane).AOFamily,val,COR(plane).ifit,SYS.mode);
+            if ~strcmp(SYS.mode,'Simulator')
+                pause(2); % pause for letting correctors reach their final value % (should be a special flag in setsp)
+            end
+        end
+        
+        if RSP(plane).rfflag % Apply RF correction
+            stepsp('RF',COR(plane).fract*SYS.drf, SYS.mode);
+            %load restore field to enable corrector pattern removal
+            SYS.drfrst = COR(plane).fract*SYS.drf;
+        end
+            
+        setappdata(0,'SYS',SYS);
+        bpmgui('GetAct');
+        corgui('GetAct');
+        orbgui('RefreshOrbGUI');
+
+        
+        %==========================================================
+    case 'UpdateCorrs'                  % *** UpdateCorrs ***
+        %==========================================================
+        %callback of the 'refresh corrector' button
+        %acquire corrector readbacks, plot, re-calculate fit
+        corgui('UpdateAct');
+        orbgui('RefreshOrbGUI');
+
+        %==========================================================
+    case 'GetAct'                              % *** GetAct ***
+        %==========================================================
+        %get readback corrector values from database
+        %load values into full length array slots with valid status      
+        
+        % H-correctors
+        status             = COR(1).status;
+        COR(1).act(status) = getam(COR(1).AOFamily,[],SYS.mode);
+        % V-correctors
+        status             = COR(2).status;
+        COR(2).act(status) = getam(COR(2).AOFamily,[],SYS.mode);
+
+        setappdata(0,'COR',COR);
+
+        %==========================================================
+    case 'UpdateAct'                  % *** UpdateAct ***
+        %==========================================================
+        %callback of the 'refresh corrector' button
+        %acquire corrector readbacks and plot
+
+        corgui('GetAct');
+        corgui('PlotAct');
+        corgui('UpdateCorBox');
+        orbgui('LBox',' Refresh Corrector Setpoints');
+
+        %==========================================================
+    case 'PlotAct'                            % *** PlotAct ***
+        %==========================================================
+        %draw stem plot for the actual corrector values.
+        %act contains real values
+
+        %scale start patch
+        ah = get(SYS.ahcor);
+        set(orbfig,'currentaxes',SYS.ahcor)
+
+        xd = orbgui('GetAbscissa',SYS,'COR');
+   
+        nstat = length(COR(plane).act);
+        kk = (1:nstat)';
+        colorcell = repmat({'g'},nstat,1); %green for fit
+        colorcell(setdiff(kk,COR(plane).ifit))  = {'y'};  %yellow for no fit
+        colorcell(setdiff(kk,COR(plane).status)) = {'k'};  %black for not available
+        
+        if strcmpi(COR(plane).units,'Physics') == 1
+            fact = COR(plane).hw2physics;
+        else
+            fact = 1;
+        end
+        
+        yd      = zeros(nstat,1);
+        idx     = intersect(kk,COR(plane).status);
+        yd(idx) = COR(plane).act(idx);
+        yd      = yd*fact;
+        
+        set(COR(plane).hact(:,1),{'XData'},num2cell(xd),{'YData'}, ...
+            num2cell(yd),{'MarkerFaceColor'},colorcell);
+        set(COR(plane).hact(:,2),{'XData'},num2cell([xd xd],2), ...
+            {'YData'},num2cell([0*yd yd],2));
+
+%         for kk = 1:size(COR(plane).name,1)
+%             yd    = 0.0;      %default corrector value
+%             color = 'k';   %default black if not in status vector
+%             if ~isempty(find(COR(plane).status == kk))
+%                 color = 'y';  %yellow for available
+%                 yd    = COR(plane).act(kk);
+%             end
+% 
+%             if ~isempty(COR(plane).ifit);
+%                 if ~isempty(find(COR(plane).ifit == kk)) 
+%                     color = 'g'; 
+%                 end
+%             end
+%             
+%             if strcmpi(COR(plane).units,'Physics') == 1
+%                 fact = COR(plane).hw2physics;
+%             else
+%                 fact = 1;
+%             end
+%             
+%             set(COR(plane).hact(kk,1),'XData',xd(kk),'YData', ...
+%                 yd*fact,'MarkerFaceColor',color);
+%             set(COR(plane).hact(kk,2),'XData',[xd(kk) xd(kk)], ...
+%                 'YData',[0 yd*fact]);            
+%         end  %end loop over all correctors
+
+        corgui('ylimits');
+
+        %==========================================================
+    case 'PlotFit'                      % *** PlotFit ***
+        %==========================================================
+        %draw stem plot for the total predicted corrector values after fitting
+        %note:COR(plane).fit is compressed
+
+        if isempty(COR(plane).fit)
+            return
+        end
+
+        xd = orbgui('GetAbscissa',SYS,'COR');
+
+        len = length(COR(plane).ifit);        
+        idx = COR(plane).ifit(1:len); %get indices
+        xd  = xd(idx);
+        yd  = COR(plane).act(idx) + COR(plane).fit(1:len); % new value
+
+        if strcmpi(COR(plane).units,'Physics') == 1
+            fact = COR(plane).hw2physics;
+        else
+            fact = 1;
+        end
+        yd  = yd *fact;
+
+        set(COR(plane).hfit(idx,1),{'Xdata'}, num2cell(xd), ...
+            {'YData'}, num2cell(yd));
+        set(COR(plane).hfit(idx,2),{'Xdata'},num2cell([xd xd],2), ...
+            {'YData'}, num2cell([0*yd yd],2));
+
+%         for kk = 1:length(COR(plane).ifit)
+%             k  = COR(plane).ifit(kk);
+%             yd = COR(plane).act(k) + COR(plane).fit(kk);
+% 
+%             if strcmpi(COR(plane).units,'Physics') ==1
+%                 fact = COR(plane).hw2physics;
+%             else
+%                 fact = 1;
+%             end
+%             
+%             set(COR(plane).hfit(k,1),'Xdata', xd(k),'YData', yd*fact);
+%             set(COR(plane).hfit(k,2),'Xdata',[xd(k) xd(k)],'YData',[0 yd*fact]);
+%         end
+%         corgui('ylimits');
+
+        %==========================================================
+    case 'ClearFit'                      % *** ClearFit ***
+        %==========================================================
+        
+        %clear horizontal fit        
+        set(COR(1).hfit(:,1),'YData',0);
+        set(COR(1).hfit(:,2),'YData',[0 0]);
+        
+        %clear vertical   fit
+        set(COR(2).hfit(:,1),'YData',0);
+        set(COR(2).hfit(:,2),'YData',[0 0]);
+
+        %==========================================================
+    case 'ClearPlots'                    % *** Clearplots ***
+        %==========================================================
+        corgui('ClearFit');
+
+        %clear horizontal actuals
+        set(COR(1).hact(:,1),'YData',0);
+        set(COR(1).hact(:,2),'YData',[0 0]);
+        %clear vertical   actuals
+        set(COR(2).hact(:,1),'YData',0);
+        set(COR(2).hact(:,2),'YData',[0 0]);
+
+        %==========================================================
+    case 'ShowPlots'                    % *** Showplots ***
+        %==========================================================
+        %hide stem plots for current plane
+        set(COR(plane).hact,'Visible','On');
+        set(COR(plane).hfit,'Visible','On');
+
+        %==========================================================
+    case 'HidePlots'                    % *** Hideplots ***
+        %==========================================================
+        %hide stem plots for current plane
+        set(COR(plane).hact,'Visible','Off');
+        set(COR(plane).hfit,'Visible','Off');
+
+        %=============================================================
+    case 'RePlot'                                  % *** RePlot ***
+        %=============================================================
+        corgui('ClearPlots');
+        set(orbfig,'currentaxes',SYS.ahcor)
+        corgui('PlotAct');                        %plot actual correctors
+        corgui('PlotFit');                        %plot fitted correctors
+        corgui('ylimits');
+        corgui('CorBar');
+        
+        %=============================================================
+    case 'ylimits'                             % *** ylimits ***
+        %=============================================================
+        %compute vertical axes limits for corrector plot
+
+        if COR(plane).scalemode == 0 
+            return;  %manual mode
+        end    
+        
+        orbgui('AutoScaleCorrAxis');
+%         mxfit = 0;
+%         if ~isempty(COR(plane).ifit)
+%             mxfit = max(abs(COR(plane).fit(:) + COR(plane).act(COR(plane).ifit)));
+%         end
+% 
+%         mxact = max(abs(COR(plane).act(COR(plane).status)));
+% 
+%         ylim  = max(mxfit, mxact)*1.1;
+% 
+%         if strcmpi(COR(plane).units,'Physics') == 1
+%             fact = COR(plane).hw2physics;
+%         else
+%             fact = 1;
+%         end
+% 
+%         ylim = ylim*fact;
+%         
+%         %% Saturation @ 10 um
+%         if ylim < 0.01 
+%             ylim = 0.01; 
+%         end
+%         
+%         set(SYS.ahcor,'YLim',ylim*[-1, 1]);
+
+        %=============================================================
+    case 'CorSelect'                          % *** CorSelect ***
+        %=============================================================
+        %used if mouse clicks anywhere in COR window
+        cpa = get(SYS.ahcor,'CurrentPoint');
+        pos = cpa(1); % current position
+
+        switch SYS.xscale
+            case 'meter'
+                id = find(min(abs(COR(plane).s-pos)) == abs(COR(plane).s-pos));
+            case 'phase'
+                id = find(min(abs(COR(plane).phi-pos)) == abs(COR(plane).phi-pos));
+        end
+
+        COR(plane).id = id;
+
+        setappdata(0,'COR',COR);
+
+        c = COR(plane).hact(id,1);  %...get handle
+
+        corgui('ProcessCor',id,c);
+        corgui('CorBar');
+
+        %=============================================================
+    case 'CorDown'                              % *** CorDown ***
+        %=============================================================
+        c    = gcbo;
+        ctag = get(c,'tag');
+        id   = str2double(ctag(4:length(ctag))); %strip off 'c/plane_' to get the cor index
+        corgui('ProcessCor',id,c);
+
+        %=============================================================
+    case 'ProcessCor'                           % *** ProcessCor ***
+        %=============================================================
+        %This function is activated whenever the left mouse button is pressed inside a BPM patch.
+        %It sets up corfig to interpret movement of the mouse and also puts data about the
+        %particular cor into the text fields.
+
+        %identify COR handle and number
+        id = varargin{1}; %corrector index 'id' comes through varargin
+        c  = varargin{2}; %bpm handle 'c' comes through varargin
+        %c = gcbo;
+        %cortag = get(c,'tag');
+        %id = str2num(cortag(2:length(cortag)));         %strip off 'c' to get the cor index
+
+        if COR(plane).mode == 1   %Correctors in toggle mode
+            first = 0;
+            if isempty(COR(plane).ifit)       %no CORs chosen
+                COR(plane).ifit(1) = id;
+                set(c,'MarkerFaceColor','g'); %add to fit list
+                first = 1;
+                setappdata(0,'COR',COR);
+            end
+
+            if ~isempty(find(COR(plane).ifit == id,1)) && first == 0  %presently selected for fit
+                set(c,'MarkerFaceColor','y');
+                COR(plane).ifit(find(COR(plane).ifit == id)) = 0;  %set fit vector to zero
+                COR(plane).ifit = COR(plane).ifit(find(COR(plane).ifit)); % compress data
+%                 nfit = length(COR(plane).ifit);         %compute vector length used ???
+                setappdata(0,'COR',COR);
+
+            elseif isempty(find(COR(plane).ifit == id,1)) && ...
+                    ~isempty(find(COR(plane).avail == id, 1))
+                %Corrector added to OK for fit
+                %elseif ~isempty(find(COR(plane).avail==id))  %corrector is available
+                set(c,'MarkerFaceColor','g');                 
+                t = COR(plane).ifit; 
+                t = t(find(t));       % number 1 to 56 out of 120 for instance
+                t = sort([t; id]);    % add to fit list
+                COR(plane).ifit = t;  % updated corrector list for fit
+%                 nfit            = length(COR(plane).ifit); % used ???
+                setappdata(0,'COR',COR); 
+            end
+
+            orbgui('RefreshOrbGUI');
+        else
+            corgui('UpdateCorBox');
+        end    %end toggle mode condition
+
+        set(orbfig,'WindowButtonUpFcn','corgui(''Up'')');
+
+        %update response matrix column plot
+        if strcmpi(RSP(plane).disp(1:3), 'off')     %Response display mode
+            set(SYS.lhrsp,'XData',[],'YData',[]);
+        else
+            bpmgui('PlotResp');                            %plot matrix column vector
+        end
+
+        %=============================================================
+    case 'CorBar'                              % *** CorBar ***
+        %=============================================================
+        %move black line in window to indicate selection
+        id   = COR(plane).id;
+        ylim = get(SYS.ahcor,'YLim');
+
+
+        if isempty(find(COR(plane).status == id, 1))
+            yd = ylim/4;
+        else
+            yd = COR(plane).act(id) + ylim/4;
+        end
+
+
+        xd = orbgui('GetAbscissa',SYS,'COR');  %horizontal coordinates for plotting
+        xd = [xd(id) xd(id) + 0.001];
+
+        set(SYS.lhcid,'XData',xd,'YData',yd);
+
+        %=============================================================
+    case 'UpdateCorBox'                     % *** UpdateCorBox ***
+        %=============================================================
+        %update UpdateCorBox
+        %called from orbgui(RefreshOrbGUI), corgui(UpdateCorrs),
+        id = COR(plane).id;
+        %put fit value in offset box and in request box
+        fitindx = [];
+        if ~isempty(COR(plane).ifit) 
+            fitindx = find(COR(plane).ifit == id); 
+        end
+
+        if ~isempty(fitindx)
+            offset  = COR(plane).fit(fitindx);
+            request = COR(plane).act(id)+offset;
+        else
+            offset  = 0.0;
+            request = COR(plane).act(id);
+        end
+
+        % mean val
+        meanV = mean(COR(plane).act(COR(plane).status));
+        % rms val
+        sigma = std(COR(plane).act(COR(plane).status));
+        
+        corgui('CorBox',COR(plane).name(id,:),COR(plane).act(id),...
+            COR(plane).save(id),offset,request,...
+            meanV,sigma,id);
+
+        %=============================================================
+    case 'CorBox'                            % *** CorBox ***
+        %=============================================================
+        %called from
+        %corgui('CorBox',COR(plane).name(id,:),COR(plane).act(id),...
+        %                COR(plane).ref(id),id);
+        corname   = SYS.corname;
+        actual    = SYS.coract;
+        reference = SYS.corref;
+        offset    = SYS.coroffset;
+        request   = SYS.correq;
+        rmsval    = SYS.cormean;
+        meanval   = SYS.corrms;
+
+        name = varargin{1};
+        act  = varargin{2};
+        ref  = varargin{3};
+        off  = varargin{4};
+        req  = varargin{5};
+        rms  = varargin{6};
+        meanV= varargin{7};
+        id   = varargin{8};
+
+        if strcmpi(COR(plane).units,'Physics') == 1
+            fact = COR(plane).hw2physics;
+        else
+            fact = 1;
+        end
+            
+        % conversion in device list
+        dev = elem2dev(COR(plane).AOFamily,id);
+        
+        set(corname,  'String',[name '  [',num2str(dev(1)),' ', ...
+            num2str(dev(2)),']']);
+        set(actual,   'String',num2str(act*fact,   '%6.3f'));
+        set(reference,'String',num2str(ref*fact,   '%6.3f'));
+        set(offset,   'String',num2str(off*fact,   '%6.3f'));
+        set(meanval,  'String',num2str(meanV*fact, '%6.3f'));
+        set(rmsval,   'String',num2str(rms*fact,   '%6.3f'));
+        set(request,  'String',num2str(req*fact,   '%6.3f'));
+
+        %=============================================================
+    case 'Up'                                  % *** Up ***
+        %=============================================================
+        %once the mouse button is let up, don't respond to motion any more.
+
+        set(orbfig,'WindowButtonMotionFcn','','WindowButtonUpFcn','');
+
+        %=============================================================
+    case 'CORmove'                      % *** CORmove ***
+        %=============================================================
+        %empty for now: can't drag correctors
+        return;
+        
+        %=============================================================
+    case 'SelectAll'                           % *** SelectAll ***
+        %============================================================
+        %load all available correctors into ifit field
+        COR(plane).ifit = [];
+        
+        set(COR(plane).hact(COR(plane).avail,1),'MarkerFaceColor','g');
+        vavail = 1:length(COR(plane).avail);
+        COR(plane).ifit(vavail) = COR(plane).avail;
+        
+%         for kk = 1:length(COR(plane).avail)
+%             k  = COR(plane).avail(kk);
+%             h1 = COR(plane).hact(k,1);  %k,1 is the icon
+%             set(h1,'MarkerFaceColor','g');
+%             COR(plane).ifit(kk)=k;
+%         end
+
+        COR(plane).ifit = COR(plane).ifit(:);
+        setappdata(0,'COR',COR);
+
+        corgui('ClearFit'); %be sure to remove residual red corrector bars
+        orbgui('RefreshOrbGUI');
+
+        %=============================================================
+    case 'SelectNone'                           % *** SelectNone ***
+        %=============================================================
+        COR(plane).ifit = [];
+        COR(plane).fit  = [];
+
+        set(COR(plane).hact(COR(plane).avail,1),'MarkerFaceColor','y');
+        
+%         for kk = 1:length(COR(plane).avail)
+%             k  = COR(plane).avail(kk);
+%             h1 = COR(plane).hact(k,1);  %k,1 is the icon
+%             set(h1,'MarkerFaceColor','y');
+%         end
+
+        setappdata(0,'COR',COR);
+
+        RSP(plane).nsvd   = 1;
+        RSP(plane).nsvdmax = 1;
+        setappdata(0,'RSP',RSP);
+
+        orbgui('RefreshOrbGUI');
+        %respgui('FitOff',num2str(plane));
+
+        %==========================================================
+    case 'ToggleCor'                              %  ToggleCor
+        %==========================================================
+        h1  = SYS.togglecor;
+        val = get(h1,'Value');
+        if val == 0                        %radio was on, push turned off
+            COR(plane).mode = 0;               %'0' for display
+        elseif val == 1                    %radio was off, push turned on
+            COR(plane).mode = 1;               %'1' for toggle
+        end
+        setappdata(0,'COR',COR);
+
+        %==========================================================
+    case 'ShowResp'                       %  ShowResp
+        %==========================================================
+        %toggle the 'showresp' flag to display columns of response matrix
+        %plotting in bpmgui('PlotResp')
+
+        %first make sure eigenvector display is off
+        val = get(SYS.showeig,'Checked');
+        if strcmpi(val,'On')                        %radio on, turn off
+%             RSP(plane).eig = 'off';
+            setappdata(0,'RSP',RSP);
+            set(SYS.lheig,'XData',[],'YData',[]);
+            set(SYS.showeig,'Checked','Off');
+        end
+
+        val = get(SYS.showresp,'Checked');
+        %RSP=getappdata(0,'RSP');
+        if strcmpi(val,'on')                       %radio was on, push turned off
+%             RSP(plane).disp = 'off';
+            set(SYS.lhrsp,'XData',[],'YData',[]);
+            set(SYS.showresp,'Checked','Off');
+        elseif strcmpi(val,'off')                    %radio was off, push turned on
+%             RSP(plane).disp = 'on';
+            setappdata(0,'RSP',RSP);
+            bpmgui('PlotResp');
+            set(SYS.showresp,'Checked','On');
+        end
+
+        %==========================================================
+    case 'ShowEig'                       %  ShowEig
+        %==========================================================
+        %toggle state to show eigenvectors
+        %first make sure response matrix display is off
+
+        val = get(SYS.showresp,'Checked');
+        if strcmpi(val, 'On')                   %radio on, turn off
+            RSP(plane).disp = 'off';
+            set(SYS.lhrsp,'XData',[],'YData',[]);
+            set(SYS.showresp,'Checked','Off');
+        end
+
+        val = get(SYS.showeig,'Checked');
+        if strcmpi(val, 'On')                       %radio was on, push turned off
+%             RSP(plane).eig = 'off';
+            set(SYS.lheig,'XData',[],'YData',[]);
+            set(SYS.showeig,'Checked','Off');
+        elseif strcmpi(val, 'Off')                    %radio was off, push turned on
+%             RSP(plane).eig = 'on'; 
+            bpmgui('PlotEig');
+            set(SYS.showeig,'Checked','On');
+        end
+
+        %===========================================================
+    case 'SaveCors'                          %*** SaveCors ***
+        %===========================================================
+        %Save Corrector Readbacks for RESET button
+        plane = varargin{1};
+
+        % Corrector magnet part
+              
+        % Read true values for want all correctors
+        val    = getsp(COR(plane).AOFamily, SYS.mode);
+        status = COR(plane).status;
+        COR(plane).save(status) = val;
+        
+        % Set corrector save flag
+        COR(plane).saveflag = 1;
+
+        setappdata(0,'COR',COR);
+        
+        % RF part
+        SYS.rfsave = getrf(SYS.mode);
+        SYS.rfsaveflag = 1;
+        
+        setappdata(0,'SYS',SYS);
+        
+        %update corrector display
+        corgui('UpdateCorBox');
+
+        orbgui('LBox',[' Corrector and RF saved for plane: ' num2str(plane)]);
+
+        %===========================================================
+    case 'RestoreCors'                    %*** RestoreCors ***
+        %===========================================================
+        %restore correctors to saved values
+        if ~COR(plane).saveflag || ~SYS.rfsaveflag
+            orbgui('LBox',[' Corrector pattern not saved for plane: ' ...
+                num2str(plane)]);
+            return
+        end
+
+        if COR(plane).saveflag % Corrector magnet            
+            %Get saved corrector values
+            val    = COR(plane).save;
+            status = COR(plane).status;
+
+            % set back coorector values
+            setsp(COR(plane).AOFamily, val(status), status, SYS.mode);
+
+            orbgui('LBox',[' Corrector pattern restored for plane: ' num2str(plane)]);
+        end
+        
+        if SYS.rfsaveflag % RF part
+            setrf(SYS.rfsave, SYS.mode);
+            orbgui('LBox','RF frequency restored ');
+        end
+            
+        %% Update gui
+        bpmgui('GetAct');
+        corgui('GetAct');
+        orbgui('RefreshOrbGUI');
+
+%         %==============================================================
+%     case 'MakeOrbitSlider'                       %  MakeOrbitSlider
+%         %==============================================================
+%         %figure to create bump sliders and/or write files
+% 
+%         [screen_wide, screen_high]=screensizecm;
+%         fig_start = [0.4*screen_wide 0.5*screen_high];
+%         fig_size  = [0.4*screen_wide 0.25*screen_high];
+% 
+%         h = findobj(0,'tag','makeorbitslider');
+%         if ~isempty(h)
+%             delete(h);
+%         end
+% 
+%         if SYS.plane==1
+%             planestr = 'Horizontal ';
+%         else
+%             planestr = 'Vertical';
+%         end
+% 
+%         figh = figure('units','centimeters',...                %...Figure
+%             'Position',[fig_start fig_size],'tag','makeorbitslider',...
+%             'NumberTitle','off','Doublebuffer','on','Visible','On','Name',[planestr 'corrector bump panel'],...
+%             'PaperPositionMode','Auto','MenuBar','None');
+%         %------------------------------------------------------------------
+%         path     = getfamilydata('Directory','BumpData');
+%         filename = appendtimestamp('bump', clock);
+% 
+%         uicontrol('Style','Text',...	                       %...Header
+%             'units', 'normalize', ...
+%             'Position', [.02 .8 .12 .08],'ForeGroundColor','k','HorizontalAlignment','Left',...
+%             'String','Header:','ToolTipString','Name of slider in gui display',...
+%             'FontSize',8,'FontWeight','demi');
+% 
+%         SYS.bumpheader=uicontrol('Style','Edit',...	   %...Header
+%             'units', 'normalize', ...
+%             'Position', [.2 .8 .4 .08],'ForeGroundColor','k','HorizontalAlignment','Left',...
+%             'String','Bump','ToolTipString','Name of slider in gui display',...
+%             'FontSize',8,'FontWeight','demi');
+% 
+%         uicontrol('Style','Text',...	                       %...File Name
+%             'units', 'normalize', ...
+%             'Position', [.02 .7 .12 .08],'ForeGroundColor','k','HorizontalAlignment','Left',...
+%             'String','File Name:','ToolTipString','Name of file written to disk',...
+%             'FontSize',8,'FontWeight','demi');
+% 
+%         SYS.bumpfile=uicontrol('Style','Edit',...	  %...File Name
+%             'units', 'normalize', ...
+%             'Position', [.2 .7 .5 .08],'ForeGroundColor','k','HorizontalAlignment','Left',...
+%             'String',filename,'ToolTipString','Name of file written to disk',...
+%             'FontSize',8,'FontWeight','demi');
+% 
+%         uicontrol('Style','Text',...	                      %...Save Directory
+%             'units', 'normalize', ...
+%             'Position', [.02 .6 .12 .08],'ForeGroundColor','k','HorizontalAlignment','Left',...
+%             'String','File Path','ToolTipString','Path of file written to disk',...
+%             'FontSize',8,'FontWeight','demi');
+% 
+%         SYS.bumppath=uicontrol('Style','Edit',...	  %...Save Directory
+%             'units', 'normalize', ...
+%             'Position', [.2 .6 .8 .08],'ForeGroundColor','k','HorizontalAlignment','Left',...
+%             'String',path,'ToolTipString','Path of file written to disk',...
+%             'FontSize',8,'FontWeight','demi');
+% 
+%         uicontrol('Style','pushbutton',...	                  %...Save Command
+%             'units', 'normalize', ...
+%             'Position', [.2 .3 .3 .1],'ForeGroundColor','k',...
+%             'String','Save file','ToolTipString','Write bump file to disk (do not launch slider)',...
+%             'FontSize',8,'FontWeight','demi','Callback',['corgui(''WriteBumpFile'');', 'close(''gcf'')']);
+% 
+%         uicontrol('Style','pushbutton',...	                  %...Save & Launch Command
+%             'units', 'normalize', ...
+%             'Position', [.6 .3 .3 .1],'ForeGroundColor','k',...
+%             'String','Save file/Launch Slider','ToolTipString','Write bump file to disk and launch slider',...
+%             'FontSize',8,'FontWeight','demi','Callback','corgui(''LaunchBumpSlider'')');
+% 
+%         uicontrol('Style','pushbutton',...	                  %...cancel
+%             'units', 'normalize','Position', [.8 .08 .1 .1],'ForeGroundColor','k','String','cancel',...
+%             'Callback','delete(gcf)','FontSize',8,'FontWeight','demi');
+% 
+%         %==========================================================
+%     case 'WriteBumpFile'             % *** WriteBumpFile ***
+%         %==========================================================
+%         %call of MakeOrbitSlider
+%         %call function WriteBumpFile with corrector strengths
+% 
+%         if plane == 1
+%             Family = HCORFamily;
+%         elseif plane == 2
+%             Family = VCORFamily;
+%         end
+% 
+%         pv    = common2tango(COR(plane).name(COR(plane).ifit,:),'Setpoint',Family);
+%         delta = zeros(length(COR(plane).ifit),1);
+%         for ii = 1:length(COR(plane).ifit)
+%             jj          = COR(plane).ifit(ii);
+%             delta(ii,1) = COR(plane).fit(ii)-COR(plane).act(jj);
+%         end
+% 
+%         header   = get(SYS.bumpheader,'String');
+%         path     = get(SYS.bumppath,'String');
+%         filename = get(SYS.bumpfile,'String');
+% 
+%         if isempty(header)   header = 'slider'; end
+%         if isempty(path) path = getfamilydata('Directory','BumpFiles'); end
+%         
+%         set(SYS.bumppath,'String',path);       %update so launchbumpslider has correct path
+%         
+%         if isempty(filename) filename = appendtimestamp('bump', clock);
+%             if isempty(findstr(filename,'.m')) filename = [filename '.m']; end
+%             set(SYS.bumpfile,'String',filename);   %update so launchbumpslider has correct filename
+%         end
+% 
+%         writebumpfile(pv,delta,header,path,filename);
+%         orbgui('LBox',[' Bump File Created: ', filename]);
+% 
+%         %==========================================================
+%     case 'LaunchBumpSlider'             % *** LaunchBumpSlider ***
+%         %==========================================================
+%         %call of MakeOrbitSlider 'Save and Launch
+%         %call function SingleSlider with corrector strengths
+% 
+%         corgui('WriteBumpFile');    %first write file
+% 
+%         header=  get(SYS.bumpheader,'String');
+%         path=    get(SYS.bumppath,'String');
+%         filename=get(SYS.bumpfile,'String');
+% 
+%         if isempty(header)   header='slider'; end
+%         if isempty(path)     path=getfamilydata('Directory','BumpFiles'); end
+%         if isempty(filename) filename=appendtimestamp('bump', clock); end
+% 
+%         setappdata(0,'SliderIndex',1);
+%         setappdata(0,'SliderFigHandle',gcf);
+% 
+%         singleslider(path,filename);
+
+
+        %==========================================================
+    case 'CorEdit'                                %...CorEdit
+        %==========================================================
+        %The callback of the single corrector edit box (not implemented)
+        %
+        h1 = SYS.corname;
+        if ~isempty(get(h1,'String'))
+            set(SYS.coredit,'String',num2str(0.0));
+            return
+
+        end
+
+        %===========================================================
+    case 'ShowCORState'              %*** ShowCORState ***
+        %===========================================================
+
+        % Show =corrector settings
+        
+        len = size(COR(plane).name,1);
+        tavail  = zeros(len,1);
+        tfit    = zeros(len,1);
+        tifit   = zeros(len,1);
+        tstatus = zeros(len,1);
+      
+        idx = intersect(COR(plane).avail,1:len);
+        tavail(idx) = idx;
+        idx = intersect(COR(plane).ifit,1:len);
+        tifit(idx) = idx;
+        tfit(idx) = COR(plane).fit;
+        idx = intersect(COR(plane).status,1:len);
+        tstatus(idx) = idx;
+  
+%         findx=1;
+%         for ind=1:length(COR(plane).name)
+%             if ~isempty(find(COR(plane).avail==ind)) tavail(ind)=ind;  end
+%             if ~isempty(find(COR(plane).ifit==ind))
+%                 tifit(ind)=ind;
+%                 tfit(ind)=COR(plane).fit(findx);
+%                 findx=findx+1;
+%             end
+%             if ~isempty(find(COR(plane).status==ind)) tstatus(ind)=ind;  end
+%         end
+
+  %%% BUILD UP CELL TO DISPLAY
+        ivec = (1:len)';        
+        Strcell = cell(8,len);
+        Strcell(1,:) = num2cell(ivec);
+        Strcell(2,:) = cellstr(COR(plane).name(ivec,:))';
+        Strcell(3:end,:) = num2cell([tstatus(ivec),tavail(ivec),tifit(ivec), ...
+            COR(plane).act(ivec),tfit(ivec),COR(plane).wt(ivec) ])';
+        
+        %% Speed issue 
+        %  see bpmgui('ShowBPMState') for more details
+                     
+        filename = [SYS.localdata 'cordata.txt'];
+        fid = fopen(filename,'w');
+        fprintf(fid,'%s\n','index   name     stat  avail ifit      act        fit       weight');
+        fprintf(fid,'%3d %10s %5d %5d %5d %10.3f %10.3f %10.3f\n', Strcell{:});
+        fclose(fid)
+%         edit 'cordata.txt'
+        system(['nedit ', filename, ' &']); %much faster
+        
+%         fprintf('%s\n','index name       stat  avail ifit      act        fit       weight');
+%         for ind=1:length(COR(plane).name)
+%             fprintf('%3d %10s %5d %5d %5d %10.3f %10.3f %10.3f\n',...
+%                 ind, COR(plane).name(ind,:),...
+%                 tstatus(ind),tavail(ind),tifit(ind),COR(plane).act(ind),tfit(ind),COR(plane).wt(ind));
+%         end
+
+%         %==========================================================
+%     case 'MeasureXResp'                  % *** MeasureXResp ***
+%         %==========================================================
+%         %callback of the 'Measure X-Response' menu selection
+% 
+%         orbitfiginvisible;
+% 
+%         disp('Orbit gui visibility turned off while response matrix measurement in progress');
+%         disp(['To re-activate, issue command :  ', 'OrbitFigVisible']);
+% 
+%         % acquire initial orbit
+%         disp('   Acquiring initial orbit')
+%         Xorb                = getx('struct');
+%         Xorb.DataDescriptor = 'ResponseMatrixReference';
+%         Zorb                = getz('struct');
+%         Zorb.DataDescriptor = 'ResponseMatrixReference';
+% 
+%         %acquire machine configuration
+%         disp('   Acquiring machine configuration')
+%         machineconfig = getmachineconfig;
+% 
+%         ad = getad;
+% 
+%         xbpms = BPM(1).status;
+%         ybpms = BPM(2).status;
+% 
+%         xcors = COR(1).status;
+%         xkick = COR(1).ebpm(xcors);
+% 
+%         WaitFlag   = ad.BPMDelay;
+%         ExtraDelay = 0;
+% 
+%         disp('   *** Begin measuring horizontal response matrix ***');
+%         mat = measrespmat({BPMxFamily,BPMzFamily},{xbpms,ybpms},HCORFamily, ...
+%             xcors,xkick,'bipolar',WaitFlag,ExtraDelay,'struct');
+% 
+%         % Make a response matrix array
+%         Rmat(1,1) = mat{1};  % xx
+%         Rmat(2,1) = mat{2};  % zx
+% 
+%         %load xx data
+%         Rmat(1,1).NaNData              = zeros(size(getlist(BPMxFamily,0),1), ...
+%             size(getlist(HCORFamily,0),1));
+%         Rmat(1,1).NaNData(:)           = deal(NaN);
+%         Rmat(1,1).NaNData(xbpms,xcors) = mat{1}.Data;     %Kick x, look x
+%         %
+%         %load zx data
+%         Rmat(2,1).NaNData              = zeros(size(getlist(BPMzFamily,0),1), ...
+%             size(getlist(HCORFamily,0),1));
+%         Rmat(2,1).NaNData(:)           = deal(NaN);
+%         Rmat(2,1).NaNData(ybpms,xcors) = mat{2}.Data;     %Kick x, look z
+% 
+%         for ii = 1:2
+%             Rmat(ii,1).X              = Xorb;
+%             Rmat(ii,1).Y              = Zorb;
+%             Rmat(ii,1).MachineConfig  = machineconfig;
+%         end
+%         Rmat(1,1).Monitor.DataDescriptor  = 'Horizontal Orbit';
+%         Rmat(1,1).Actuator.DataDescriptor = 'Horizontal Correctors';
+%         Rmat(2,1).Monitor.DataDescriptor  = 'Vertical Orbit';
+%         Rmat(2,1).Actuator.DataDescriptor = 'Horizontal Correctors';
+% 
+%         RSP(1) = response2rsp(Rmat(1,1),RSP(1),1);
+% 
+%         orbitfigvisible;
+% 
+%         BPM = SortBPMs(BPM,RSP);
+%         COR = SortCORs(COR,RSP);
+%         orbgui('RefreshOrbGUI');
+% 
+%         orbgui('LBox',' Finished measuring horizontal eBPM response matrix');
+% 
+%         %==========================================================
+%     case 'MeasureZResp'                  % *** MeasureZResp ***
+%         %==========================================================
+% 
+%         %callback of the 'Measure Z-Response' menu selection
+% 
+%         orbitfiginvisible;
+% 
+%         disp('Orbit gui visibility turned off while response matrix measurement in progress');
+%         disp(['To re-activate, issue command :  ', 'OrbitFigVisible']);
+% 
+%         % acquire initial orbit
+%         disp('   Acquiring initial orbit')
+%         Xorb                = getx('struct');
+%         Xorb.DataDescriptor = 'ResponseMatrixReference';
+%         Zorb                = getz('struct');
+%         Zorb.DataDescriptor = 'ResponseMatrixReference';
+% 
+%         %acquire machine configuration
+%         disp('   Acquiring machine configuration')
+%         machineconfig=getmachineconfig;
+% 
+%         ad = getad;
+% 
+%         xbpms = BPM(1).status;
+%         ybpms = BPM(2).status;
+% 
+%         ycors = COR(2).status;
+%         ykick = COR(2).ebpm(ycors);
+% 
+%         WaitFlag   = 0;
+%         ExtraDelay = ad.BPMDelay;
+% 
+%         disp('   *** Begin measuring vertical response matrix ***');
+%         mat = measrespmat({BPMxFamily,BPMzFamily},{xbpms,ybpms}, ...
+%             VCORFamily,ycors,ykick,'bipolar',WaitFlag,ExtraDelay,'struct');
+% 
+%         % Make a response matrix array
+%         Rmat(1,2) = mat{1};  % zx
+%         Rmat(2,2) = mat{2};  % zz
+% 
+%         %load x-y data
+%         Rmat(1,2).NaNData              = zeros(size(getlist(BPMzFamily,0),1), ...
+%             size(getlist(VCORFamily,0),1));
+%         Rmat(1,2).NaNData(:)           = deal(NaN);
+%         Rmat(1,2).NaNData(xbpms,ycors) = mat{1}.Data;     %Kick x, look z
+% 
+%         %load y-y data
+%         Rmat(2,2).NaNData              = zeros(size(getlist(BPMxFamily,0),1), ...
+%             size(getlist(VCORFamily,0),1));
+%         Rmat(2,2).NaNData(:)           = deal(NaN);
+%         Rmat(2,2).NaNData(xbpms,ycors) = mat{2}.Data;     %Kick z, look z
+%         %
+%         for ii = 1:2
+%             Rmat(ii,2).X              = Xorb;
+%             Rmat(ii,2).Y              = Zorb;
+%             Rmat(ii,2).MachineConfig  = machineconfig;
+%         end
+% 
+%         Rmat(1,2).Monitor.DataDescriptor  = 'Horizontal Orbit';
+%         Rmat(1,2).Actuator.DataDescriptor = 'Vertical Correctors';
+%         Rmat(2,2).Monitor.DataDescriptor  = 'Vertical Orbit';
+%         Rmat(2,2).Actuator.DataDescriptor = 'Vertical Correctors';
+% 
+%         RSP(2) = response2rsp(Rmat(2,2),RSP(2),2);
+% 
+%         orbitfigvisible;
+% 
+%         BPM = SortBPMs(BPM,RSP);
+%         COR = SortCORs(COR,RSP);
+%         orbgui('RefreshOrbGUI');
+% 
+%         orbgui('LBox',' Finished measuring vertical eBPM response matrix');
+
+        %==========================================================
+    otherwise
+        disp(['Warning: no CASE found in corgui: ' action]);
+
+end  %end switchyard
Index: /trunk/machine/SOLEIL/StorageRing/orbit/corinit_orb.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/corinit_orb.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/corinit_orb.m	(revision 17)
@@ -0,0 +1,73 @@
+function varargout = corinit_orb(varargin)
+% CORINIT_ORB - Initializes COR structure for SPEAR ORBIT program
+%COR=CORInit_Orb(COR);
+
+%
+% Written by William J. Corbett
+% Adapted by Laurent S. Nadolski
+
+HCORFamily = 'HCOR';
+VCORFamily = 'VCOR';
+
+AO = getao;
+
+%horizontal
+COR(1).name     = AO.(HCORFamily).CommonNames;
+COR(1).s        = AO.(HCORFamily).Position;   
+COR(1).AOFamily = HCORFamily;
+good            = AO.(HCORFamily).Status;
+ntcor           = size(COR(1).name,1);
+COR(1).ntcor    = ntcor;
+COR(1).mode     = 0;                     %...display to show name, toggle for cor.ifit
+COR(1).wt       = ones(ntcor,1);         %...fitting weights
+COR(1).fit      = zeros(ntcor,1);        %...result of fitting
+% COR(1).knob     = zeros(ntcor,1);        %...for corrector knob
+% COR(1).iknob    = zeros(ntcor,1);        %...knob indices
+% COR(1).knobflag = 0;                     %...knob not saved
+COR(1).save     = zeros(ntcor,1);        %...for corrector restore
+COR(1).saveflag = 0;                     %...correctors not saved
+COR(1).fract    = 1.0;                   %...fraction of correction
+COR(1).id       = 1;                     %...initialize cor selection
+COR(1).scalemode= 1;                     %...0=manual mode, 1=autoscale
+COR(1).ylim     = 10.0;                  %...10 amp vertical axis scale
+COR(1).status   = (1:ntcor)'.*good;      %...initial status vector
+COR(1).avail    = COR(1).status;         %...initial availability vector (in response matrix)
+COR(1).ifit     = COR(1).status;         %...initial fitting index vector
+COR(1).ibump    = [];                    %...initial corrrector bump index vector
+% COR(1).bumpref  = [];                    %...initial corrrector values for bump
+COR(1).ATindex  = AO.(HCORFamily).AT.ATIndex;   %load AT indices
+COR(1).act      = zeros(ntcor,1);       %...actual values
+COR(1).ref      = zeros(ntcor,1);       %...reference values
+COR(1).des      = zeros(ntcor,1);       %...desired values
+
+%vertical
+COR(2).AOFamily = VCORFamily;
+COR(2).name     = AO.(VCORFamily).CommonNames;
+COR(2).s        = AO.(VCORFamily).Position;   
+good            = AO.(VCORFamily).Status;
+ntcor           = size(COR(2).name,1);
+COR(2).ntcor    = ntcor;
+COR(2).mode     = 0;                    %...display to show name, toggle for cor.ifit
+COR(2).avail    = zeros(ntcor,1);       %...available bpm 
+COR(2).fit      = zeros(ntcor,1);       %...result of fitting
+COR(2).wt       = ones(ntcor,1);        %...weights for fitting
+% COR(2).knob     = zeros(ntcor,1);       %...forcorrector knob
+% COR(2).iknob    = zeros(ntcor,1);       %...knob indices
+% COR(2).knobflag = 0;                    %...knob not saved
+COR(2).save     = zeros(ntcor,1);       %...for corrector reset
+COR(2).saveflag = 0;                    %...correctors not saved
+COR(2).fract    = 1.0;                  %...fraction of correction
+COR(2).id       = 1;                    %...initialize corrector selection 
+COR(2).scalemode= 1;                    %...0=manual mode, 1=autoscale
+COR(2).ylim     = 10.0;                 %...10 amp vertical axis scale
+COR(2).status   = (1:ntcor)'.*good;     %...initial status vector
+COR(2).avail    = COR(2).status;        %...initial availability vector (in response matrix)
+COR(2).ifit     = COR(2).status;        %...initial fitting index vector
+COR(2).ibump    = [];                   %...initial corrrector bump index vector
+% COR(2).bumpref  = [];                   %...initial corrrector values for bump
+COR(2).ATindex  = AO.(VCORFamily).AT.ATIndex;   %load AT indices
+COR(2).act      = zeros(ntcor,1);       %...actual values
+COR(2).ref      = zeros(ntcor,1);       %...reference values
+COR(2).des      = zeros(ntcor,1);       %...desired values
+
+varargout{1} = COR;
Index: /trunk/machine/SOLEIL/StorageRing/orbit/fofb_data.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/fofb_data.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/fofb_data.m	(revision 17)
@@ -0,0 +1,155 @@
+%% FOFB - data ans small scripts
+
+%%  48x48
+IDBPM = getidbpmlist;
+
+[betax betaz] = modeltwiss('beta', 'BPMx', IDBPM);
+[mux muz] = modeltwiss('mu', 'BPMx', IDBPM);
+R0 = measbpmresp('BPMx',IDBPM, 'BPMz', IDBPM, 'FHCOR', 'FVCOR', 'Model','Struct');
+Rinv0H= inv(R0(1,1).Data);
+Rinv0V= inv(R0(2,2).Data);
+%save 'fofbdata96x96' betax betaz mux muz Rinv
+
+%% 120x48 
+BPM = family2dev('BPMx');
+
+[betax betaz] = modeltwiss('beta', 'BPMx');
+[mux muz] = modeltwiss('mu', 'BPMx');
+R1 = measbpmresp('BPMx',BPM, 'BPMz', BPM, 'FHCOR', 'FVCOR', 'Model','Struct');
+Rinv1H= pinv(R1(1,1).Data);
+Rinv1V= pinv(R1(2,2).Data);
+%Rinv1= pinv(R1);
+
+save 'fofbdata240x96' betax betaz mux muz Rinv
+
+%% SVD
+
+h=figure;
+set(h,'Position',[223 311 1087 420])
+[U, S, V] = svd(R0(1,1).Data, 0);  %'econ');
+S = diag(S);
+
+subplot(1,2,1)
+semilogy(S)
+xlabel('Singular value number')
+ylabel('Singular value amplitude')
+grid on
+xaxis([0 48])
+title('H-plane')
+
+subplot(1,2,2)
+[U, S, V] = svd(R0(2,2).Data, 0);  %'econ');
+S = diag(S);
+semilogy(S)
+xlabel('Singular value number')
+ylabel('Singular value amplitude')
+grid on
+xaxis([0 48])
+title('V-plane')
+
+suptitle('FOFB 96x96')
+
+%% 48 * 48 avec Rf
+    
+Eta = modeldisp('BPMx',IDBPM);
+Smat = R0(1,1).Data;
+
+RFWeight = 10 * mean(std(Smat)) / std(Eta);
+Smat = [R0(1,1).Data RFWeight*Eta];
+
+[U, S, V] = svd(Smat, 0);  %'econ');
+S = diag(S);
+
+subplot(1,2,1)
+semilogy(S)
+xlabel('Singular value number')
+ylabel('Singular value amplitude')
+grid on
+xaxis([0 48]); hold on;
+title('H-plane')
+
+SVDIndex = 1:48;
+RinvH = V(:,SVDIndex)*diag(S(SVDIndex).^(-1)) * U(:,SVDIndex)';
+
+subplot(1,2,2)
+[U, S, V] = svd(R0(2,2).Data, 0);  %'econ');
+S = diag(S);
+semilogy(S)
+xlabel('Singular value number')
+ylabel('Singular value amplitude')
+grid on
+xaxis([0 48])
+title('V-plane')
+
+suptitle('FOFB 96x96 + RF')
+
+
+%% SVD 120x48
+h=figure;
+set(h,'Position',[223 311 1087 420])
+[U, S, V] = svd(R1(1,1).Data, 0);  %'econ');
+S = diag(S);
+
+subplot(1,2,1)
+semilogy(S)
+xlabel('Singular value number')
+ylabel('Singular value amplitude')
+grid on
+xaxis([0 48])
+title('H-plane')
+
+subplot(1,2,2)
+[U, S, V] = svd(R1(2,2).Data, 0);  %'econ');
+S = diag(S);
+semilogy(S)
+xlabel('Singular value number')
+ylabel('Singular value amplitude')
+grid on
+xaxis([0 48])
+title('V-plane')
+
+suptitle('FOFB 96x96')
+
+% Correction with 48 singular values
+%% H-correction
+dI = -pinv(R0(1,1).Data)*(getx(IDBPM)-GoalOrbitVec); stepsp('FHCOR',dI)
+
+%% V-correction
+dI = -pinv(R0(2,2).Data)*(getz(IDBPM) - GoalZOrbitVec); stepsp('FVCOR',dI)
+
+%%
+% Correction with n singular values
+[U, S, V] = svd(R0(1,1).Data, 0);
+S = diag(S);
+%GoalOrbitVec = getgolden('BPMx', IDBPM)*0;
+GoalOrbitVec = getgolden('BPMx', IDBPM);
+
+%% H-correction
+SVDIndex = 1:48;
+
+b = U(:,SVDIndex)' * (GoalOrbitVec - getx(IDBPM));
+b = diag(S(SVDIndex).^(-1)) * b;
+
+% Convert the b vector back to coefficents of response matrix
+Delcm = V(:,SVDIndex) * b;
+
+stepsp('FHCOR', Delcm)
+
+%%
+clf
+plot(getspos('BPMx', IDBPM), getx(IDBPM)); hold on
+plot(getspos('BPMx', IDBPM), GoalOrbitVec,'k');
+
+%%
+clf
+plot(getspos('BPMx', IDBPM), getx(IDBPM)-GoalOrbitVec); hold on
+
+%%
+Rinv = pinv(R0(1,1).Data);
+Rinvfull=zeros(48,120);
+
+Rinvfull(:,dev2elem('BPMx',IDBPM)) = Rinv;
+
+%%
+%A/mm = ÂµA/nm
+%(Rinvfull(4,:)*1714.412*1.77)*(getz - GoalZOrbitVec)/36000*10
Index: /trunk/machine/SOLEIL/StorageRing/orbit/getringparams.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/getringparams.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/getringparams.m	(revision 17)
@@ -0,0 +1,22 @@
+function [energy, current, lifetime] = getringparams
+%GETRINGPARAMS - Fonction reading the storage ring current, beamlifetime, energy
+%
+% OUTPUTS
+%1. energy   = ring energy
+%2. current  = current sored int the ring (DCCT)
+%3. lifetime = actual ring lifetime
+%
+% NOTES
+%1. TODO
+%
+% See also getenergy
+
+%
+% Written by Laurent S. Nadolski
+
+energy   = getenergy;
+%current  = getcurrent;
+lifetime = getlifetime;
+current  = getdcct; %mA
+
+%lifetime = readattribute('ANS-C14/DG/DCCT/lifeTime');  %hours
Index: /trunk/machine/SOLEIL/StorageRing/orbit/hfcm2zero.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/hfcm2zero.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/hfcm2zero.m	(revision 17)
@@ -0,0 +1,72 @@
+function hfcm2zero(varargin)
+%HFCM2ZERO - Set horizontal corrector strengths to zero
+%
+% hfcm2zero(fraction, nstep)
+%
+%  INPUTS
+%  1. fract - fraction of corrector strength to put to zero
+%            {1} means correctors set to zero
+%             0.5 means half of the corrector strength set to zero
+%  2. nstep - number of step for zeroing correctors {Default: 5}
+%  3. Optional - 'Interactive' Wait for user for each step {Default}
+%                'NoInteractive' pause 10 s for each step     
+%
+%  See Also vfcm2zero
+
+%
+%  Written by Gregory J. Portmann
+%  Adapted by Laurent S. Nadolski
+
+InteractiveFlag = 1;
+DefaultNstep = 10;
+iPause = 1;
+
+% Input Parser
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Interactive')
+        InteractiveFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoInteractive')
+        InteractiveFlag = 0;
+        varargin(i) = [];
+    end
+end
+        
+HCORFamily = 'FHCOR';
+
+if length(varargin) < 1
+    fract = 1;
+else
+    fract = varargin{1};
+end
+
+if length(varargin) < 2
+    nstep = DefaultNstep;
+else
+    nstep = varargin{2};
+end
+
+
+fprintf('1/ Verifier que le FOFB est arrÃ©tÃ©\n')
+fprintf('2/ Mettre les alimentations des steerers en controle local  via LabVIEW\n')
+fprintf('3/ Verifier que le SOFB tourne\n')
+fprintf('Si OK presser la touche Entree\n')
+pause
+
+
+fprintf('Lecture des courant des steerers\n')
+setpt = fract * getam(HCORFamily);
+
+for k = 1:nstep,
+    if InteractiveFlag
+        %disp(['   Step ' num2str(k) ' of ' num2str(nstep) ' Hit Return key to continue (Ctrl-C to stop)']);
+        disp(['   Etape ' num2str(k) ' sur ' num2str(nstep) ' Presser Enter pour continuer (Ctrl-C to stop)']);
+        pause;
+        fprintf('Attendre durant l''application des consignes et vÃ©rifier l''orbite ...\n')
+        setsp(HCORFamily, (1-k/nstep)*setpt, [], -1);
+    else
+        fprintf('Pause for %d s\n', iPause)
+        setsp(HCORFamily, (1-k/nstep)*setpt, [], -1);
+        pause(iPause)
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/orbit/hs_err_pid7112.log
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/hs_err_pid7112.log	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/hs_err_pid7112.log	(revision 17)
@@ -0,0 +1,1916 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  Internal Error (53414645504F494E540E43505001C0), pid=7112, tid=145013680
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
+
+---------------  T H R E A D  ---------------
+
+Current thread is native thread
+
+Stack: [0xbfd12000,0xbff12000),  sp=0xbff0e8f0,  free space=2034k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+V  [libjvm.so+0x2dcf73]
+V  [libjvm.so+0x119dd9]
+V  [libjvm.so+0x281716]
+V  [libjvm.so+0x2b1a19]
+V  [libjvm.so+0x17199e]
+C  [libmwjmi.so+0xbca1]  _ZN22mljLocalReferenceFrameC1EP7JNIEnv_i+0x21
+C  [libnativejmi.so+0x9b09]  _ZN18NameEvalIqmRequest15CEvalIqmRequest24DoPostInterpretOperationE17inExecutionStatus+0x49
+C  [libmwiqm.so+0x3c90]
+C  [libmwbridge.so+0xc480]  mnParser+0x4c0
+C  [libmwmcr.so+0x1bf24]  _ZN11mcrInstance8mnParserEv+0x34
+C  [MATLAB+0x11c8]  __gxx_personality_v0+0x2ec
+C  [libmwmcr.so+0x17556]  _Z12mcr_run_mainPFiiPPcEiS0_+0x16
+C  [MATLAB+0x126c]  __gxx_personality_v0+0x390
+C  [libc.so.6+0x14de3]  __libc_start_main+0xd3
+
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x0a015ef8 JavaThread "Thread-47" [_thread_blocked, id=8676]
+  0xa6648a90 JavaThread "Prefs Updater" [_thread_blocked, id=8294]
+  0xa68bba80 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=7190]
+  0xa688fcd8 JavaThread "Timer-1" daemon [_thread_blocked, id=7189]
+  0x0957a6a8 JavaThread "TimerQueue" daemon [_thread_blocked, id=7188]
+  0x0951a9c0 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=7184]
+  0x0951c880 JavaThread "AWT-Shutdown" [_thread_blocked, id=7183]
+  0x0950dd30 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=7182]
+  0x09504810 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=7181]
+  0x09078600 JavaThread "Timer-0" [_thread_blocked, id=7180]
+  0x08f4a8c8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7178]
+  0x08f49328 JavaThread "CompilerThread0" daemon [_thread_blocked, id=7177]
+  0x08f48470 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7176]
+  0x08f3e360 JavaThread "Finalizer" daemon [_thread_blocked, id=7175]
+  0x08f3d648 JavaThread "Reference Handler" daemon [_thread_blocked, id=7174]
+  0x08ee2218 JavaThread "main" [_thread_in_native_trans, id=7112]
+
+Other Threads:
+  0x08f39348 VMThread [id=7173]
+  0x08f4bda8 WatcherThread [id=7179]
+
+VM state:synchronizing (normal execution)
+
+VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
+[0x08ee1660/0x08ee1688] Threads_lock - owner thread: 0x08f39348
+
+Heap
+ def new generation   total 17472K, used 14299K [0xa8840000, 0xa9b30000, 0xaa040000)
+  eden space 15552K,  84% used [0xa8840000, 0xa9522868, 0xa9770000)
+  from space 1920K,  57% used [0xa9770000, 0xa9884638, 0xa9950000)
+  to   space 1920K,   0% used [0xa9950000, 0xa9950000, 0xa9b30000)
+ tenured generation   total 57888K, used 36329K [0xaa040000, 0xad8c8000, 0xae840000)
+   the space 57888K,  62% used [0xaa040000, 0xac3ba470, 0xac3ba600, 0xad8c8000)
+ compacting perm gen  total 25600K, used 25354K [0xae840000, 0xb0140000, 0xb0840000)
+   the space 25600K,  99% used [0xae840000, 0xb01029d0, 0xb0102a00, 0xb0140000)
+No shared spaces configured.
+
+Dynamic libraries:
+00101000-00102000 r-xp 00000000 08:06 303515     /usr/lib/tls/libnvidia-tls.so.1.0.8762
+00102000-00103000 rw-p 00000000 08:06 303515     /usr/lib/tls/libnvidia-tls.so.1.0.8762
+00111000-00144000 r-xp 00000000 08:05 32864      /usr/local/matlab2007a/bin/glnx86/libmwjmi.so
+00144000-0014c000 rw-p 00033000 08:05 32864      /usr/local/matlab2007a/bin/glnx86/libmwjmi.so
+0014c000-0014d000 rw-p 0014c000 00:00 0 
+0014d000-00190000 r-xp 00000000 08:05 32868      /usr/local/matlab2007a/bin/glnx86/libmwm_dispatcher.so
+00190000-00198000 rw-p 00042000 08:05 32868      /usr/local/matlab2007a/bin/glnx86/libmwm_dispatcher.so
+00198000-0058e000 r-xp 00000000 08:05 32870      /usr/local/matlab2007a/bin/glnx86/libmwm_interpreter.so
+0058e000-00651000 rw-p 003f6000 08:05 32870      /usr/local/matlab2007a/bin/glnx86/libmwm_interpreter.so
+00651000-006bf000 rw-p 00651000 00:00 0 
+006bf000-006e0000 r-xp 00000000 08:06 196733     /lib/tls/libm-2.3.4.so
+006e0000-006e1000 r--p 00020000 08:06 196733     /lib/tls/libm-2.3.4.so
+006e1000-006e2000 rw-p 00021000 08:06 196733     /lib/tls/libm-2.3.4.so
+006e2000-006ec000 r-xp 00000000 08:05 98792      /usr/local/matlab2007a/sys/os/glnx86/libgcc_s.so.1
+006ec000-006ed000 rw-p 00009000 08:05 98792      /usr/local/matlab2007a/sys/os/glnx86/libgcc_s.so.1
+006ed000-006f5000 r-xp 00000000 08:06 199146     /lib/tls/librt-2.3.4.so
+006f5000-006f6000 r--p 00007000 08:06 199146     /lib/tls/librt-2.3.4.so
+006f6000-006f7000 rw-p 00008000 08:06 199146     /lib/tls/librt-2.3.4.so
+006f7000-00701000 rw-p 006f7000 00:00 0 
+00701000-00703000 r-xp 00000000 08:06 196734     /lib/libdl-2.3.4.so
+00703000-00704000 r--p 00001000 08:06 196734     /lib/libdl-2.3.4.so
+00704000-00705000 rw-p 00002000 08:06 196734     /lib/libdl-2.3.4.so
+00705000-00706000 r-xp 00000000 08:05 32816      /usr/local/matlab2007a/bin/glnx86/libicudata.so.32.0
+00706000-00707000 rw-p 00000000 08:05 32816      /usr/local/matlab2007a/bin/glnx86/libicudata.so.32.0
+00707000-00711000 r-xp 00000000 08:05 32822      /usr/local/matlab2007a/bin/glnx86/libicuio.so.32.0
+00711000-00712000 rw-p 00009000 08:05 32822      /usr/local/matlab2007a/bin/glnx86/libicuio.so.32.0
+00712000-00727000 r-xp 00000000 08:05 32892      /usr/local/matlab2007a/bin/glnx86/libmwmpath.so
+00727000-0072a000 rw-p 00015000 08:05 32892      /usr/local/matlab2007a/bin/glnx86/libmwmpath.so
+0072a000-0072c000 rw-p 0072a000 00:00 0 
+0072c000-00735000 r-xp 00000000 08:05 32858      /usr/local/matlab2007a/bin/glnx86/libmwiqm.so
+00735000-00737000 rw-p 00008000 08:05 32858      /usr/local/matlab2007a/bin/glnx86/libmwiqm.so
+00737000-00738000 r--p 00737000 00:00 0 
+00738000-00762000 r-xp 00000000 08:05 32886      /usr/local/matlab2007a/bin/glnx86/libmwmcr.so
+00762000-00767000 rw-p 00029000 08:05 32886      /usr/local/matlab2007a/bin/glnx86/libmwmcr.so
+00767000-0076c000 rw-p 00767000 00:00 0 
+0076c000-0082b000 r-xp 00000000 08:05 98797      /usr/local/matlab2007a/sys/os/glnx86/libstdc++.so.6.0.8
+0082b000-00844000 rw-p 000bf000 08:05 98797      /usr/local/matlab2007a/sys/os/glnx86/libstdc++.so.6.0.8
+00844000-00849000 rw-p 00844000 00:00 0 
+00849000-008ba000 r-xp 00000000 08:05 32882      /usr/local/matlab2007a/bin/glnx86/libmwmathutil.so
+008ba000-008bf000 rw-p 00070000 08:05 32882      /usr/local/matlab2007a/bin/glnx86/libmwmathutil.so
+008bf000-008ca000 r-xp 00000000 08:05 32828      /usr/local/matlab2007a/bin/glnx86/libmex.so
+008ca000-008cc000 rw-p 0000b000 08:05 32828      /usr/local/matlab2007a/bin/glnx86/libmex.so
+008cc000-008e5000 r-xp 00000000 08:05 32826      /usr/local/matlab2007a/bin/glnx86/libmat.so
+008e5000-008e9000 rw-p 00019000 08:05 32826      /usr/local/matlab2007a/bin/glnx86/libmat.so
+008e9000-008ed000 r-xp 00000000 08:05 32910      /usr/local/matlab2007a/bin/glnx86/libmwuinone.so
+008ed000-008ee000 rw-p 00004000 08:05 32910      /usr/local/matlab2007a/bin/glnx86/libmwuinone.so
+008ee000-00901000 r-xp 00000000 08:05 32844      /usr/local/matlab2007a/bin/glnx86/libmwdatasvcs.so
+00901000-00905000 rw-p 00012000 08:05 32844      /usr/local/matlab2007a/bin/glnx86/libmwdatasvcs.so
+00905000-0090b000 r-xp 00000000 08:05 32880      /usr/local/matlab2007a/bin/glnx86/libmwmathrng.so
+0090b000-0090c000 rw-p 00005000 08:05 32880      /usr/local/matlab2007a/bin/glnx86/libmwmathrng.so
+0090c000-0090d000 rw-p 0090c000 00:00 0 
+0090d000-00913000 r-xp 00000000 08:05 32894      /usr/local/matlab2007a/bin/glnx86/libmwmtok.so
+00913000-00914000 rw-p 00006000 08:05 32894      /usr/local/matlab2007a/bin/glnx86/libmwmtok.so
+00915000-0096e000 r-xp 00000000 08:05 32918      /usr/local/matlab2007a/bin/glnx86/libmx.so
+0096e000-00976000 rw-p 00059000 08:05 32918      /usr/local/matlab2007a/bin/glnx86/libmx.so
+00976000-00a9b000 r-xp 00000000 08:06 196730     /lib/tls/libc-2.3.4.so
+00a9b000-00a9d000 r--p 00124000 08:06 196730     /lib/tls/libc-2.3.4.so
+00a9d000-00a9f000 rw-p 00126000 08:06 196730     /lib/tls/libc-2.3.4.so
+00a9f000-00aa1000 rw-p 00a9f000 00:00 0 
+00aa1000-00ad1000 r-xp 00000000 08:05 32943      /usr/local/matlab2007a/bin/glnx86/libuij.so
+00ad1000-00ad9000 rw-p 0002f000 08:05 32943      /usr/local/matlab2007a/bin/glnx86/libuij.so
+00ad9000-00b2c000 r-xp 00000000 08:05 32908      /usr/local/matlab2007a/bin/glnx86/libmwudd_mi.so
+00b2c000-00b3a000 rw-p 00053000 08:05 32908      /usr/local/matlab2007a/bin/glnx86/libmwudd_mi.so
+00b3a000-00b3b000 rw-p 00b3a000 00:00 0 
+00b3b000-00b44000 r-xp 00000000 08:05 32888      /usr/local/matlab2007a/bin/glnx86/libmwmlib.so
+00b44000-00b45000 rw-p 00009000 08:05 32888      /usr/local/matlab2007a/bin/glnx86/libmwmlib.so
+00b45000-00b47000 r-xp 00000000 08:05 32957      /usr/local/matlab2007a/bin/glnx86/mklcompat.so
+00b47000-00b48000 rw-p 00001000 08:05 32957      /usr/local/matlab2007a/bin/glnx86/mklcompat.so
+00b49000-00b5e000 r-xp 00000000 08:06 196695     /lib/ld-2.3.4.so
+00b5e000-00b5f000 r--p 00015000 08:06 196695     /lib/ld-2.3.4.so
+00b5f000-00b60000 rw-p 00016000 08:06 196695     /lib/ld-2.3.4.so
+00b60000-00b79000 r-xp 00000000 08:05 32898      /usr/local/matlab2007a/bin/glnx86/libmwprofiler.so
+00b79000-00b7c000 rw-p 00019000 08:05 32898      /usr/local/matlab2007a/bin/glnx86/libmwprofiler.so
+00b7c000-00b8e000 r-xp 00000000 08:05 32878      /usr/local/matlab2007a/bin/glnx86/libmwm_pcodeio.so
+00b8e000-00b90000 rw-p 00012000 08:05 32878      /usr/local/matlab2007a/bin/glnx86/libmwm_pcodeio.so
+00b90000-00b91000 r-xp 00000000 08:06 380251     /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
+00b91000-00b92000 rw-p 00000000 08:06 380251     /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
+00b92000-00b94000 r-xp 00000000 08:05 32924      /usr/local/matlab2007a/bin/glnx86/libnativejava.so
+00b94000-00b95000 rw-p 00001000 08:05 32924      /usr/local/matlab2007a/bin/glnx86/libnativejava.so
+00b95000-00ba7000 r-xp 00000000 08:05 32834      /usr/local/matlab2007a/bin/glnx86/libmwbridge.so
+00ba7000-00bab000 rw-p 00012000 08:05 32834      /usr/local/matlab2007a/bin/glnx86/libmwbridge.so
+00bab000-00bb0000 rw-p 00bab000 00:00 0 
+00bb0000-00bea000 r-xp 00000000 08:05 32872      /usr/local/matlab2007a/bin/glnx86/libmwm_ir.so
+00bea000-00bf3000 rw-p 00039000 08:05 32872      /usr/local/matlab2007a/bin/glnx86/libmwm_ir.so
+00bf3000-00c0a000 r-xp 00000000 08:05 32876      /usr/local/matlab2007a/bin/glnx86/libmwm_pcodegen.so
+00c0a000-00c0d000 rw-p 00016000 08:05 32876      /usr/local/matlab2007a/bin/glnx86/libmwm_pcodegen.so
+00c0d000-00c17000 r-xp 00000000 08:05 32794      /usr/local/matlab2007a/bin/glnx86/libboost_thread-gcc-mt-1_33_1.so.1.33.1
+00c17000-00c19000 rw-p 00009000 08:05 32794      /usr/local/matlab2007a/bin/glnx86/libboost_thread-gcc-mt-1_33_1.so.1.33.1
+00c1b000-00d58000 r-xp 00000000 08:05 32902      /usr/local/matlab2007a/bin/glnx86/libmwservices.so
+00d58000-00d72000 rw-p 0013d000 08:05 32902      /usr/local/matlab2007a/bin/glnx86/libmwservices.so
+00d72000-00d87000 rw-p 00d72000 00:00 0 
+00d87000-00d95000 r-xp 00000000 08:05 32792      /usr/local/matlab2007a/bin/glnx86/libboost_filesystem-gcc-mt-1_33_1.so.1.33.1
+00d95000-00d97000 rw-p 0000e000 08:05 32792      /usr/local/matlab2007a/bin/glnx86/libboost_filesystem-gcc-mt-1_33_1.so.1.33.1
+00d97000-00da1000 r-xp 00000000 08:05 32862      /usr/local/matlab2007a/bin/glnx86/libmwir_xfmr.so
+00da1000-00da2000 rw-p 0000a000 08:05 32862      /usr/local/matlab2007a/bin/glnx86/libmwir_xfmr.so
+00da2000-00daf000 r-xp 00000000 08:06 308319     /usr/X11R6/lib/libXext.so.6.4
+00daf000-00db0000 rw-p 0000c000 08:06 308319     /usr/X11R6/lib/libXext.so.6.4
+00db0000-00db7000 r-xp 00000000 08:06 305110     /usr/X11R6/lib/libXp.so.6.2
+00db7000-00db8000 rw-p 00006000 08:06 305110     /usr/X11R6/lib/libXp.so.6.2
+00db8000-00dbe000 r-xp 00000000 08:05 32842      /usr/local/matlab2007a/bin/glnx86/libmwcolamd.so
+00dbe000-00dbf000 rw-p 00006000 08:05 32842      /usr/local/matlab2007a/bin/glnx86/libmwcolamd.so
+00dbf000-00dc1000 r-xp 00000000 08:05 32932      /usr/local/matlab2007a/bin/glnx86/libnativeservices.so
+00dc1000-00dc2000 rw-p 00001000 08:05 32932      /usr/local/matlab2007a/bin/glnx86/libnativeservices.so
+00dc2000-00dd0000 r-xp 00000000 08:06 196741     /lib/tls/libpthread-2.3.4.so
+00dd0000-00dd1000 r--p 0000d000 08:06 196741     /lib/tls/libpthread-2.3.4.so
+00dd1000-00dd2000 rw-p 0000e000 08:06 196741     /lib/tls/libpthread-2.3.4.so
+00dd2000-00dd4000 rw-p 00dd2000 00:00 0 
+00dd4000-00e5a000 r-xp 00000000 08:05 32906      /usr/local/matlab2007a/bin/glnx86/libmwudd.so
+00e5a000-00e7a000 rw-p 00085000 08:05 32906      /usr/local/matlab2007a/bin/glnx86/libmwudd.so
+00e7a000-00e7d000 rw-p 00e7a000 00:00 0 
+00e7d000-00e80000 r-xp 00000000 08:05 32930      /usr/local/matlab2007a/bin/glnx86/libnativemlint.so
+00e80000-00e81000 rw-p 00002000 08:05 32930      /usr/local/matlab2007a/bin/glnx86/libnativemlint.so
+00e81000-00e8f000 r-xp 00000000 08:05 32954      /usr/local/matlab2007a/bin/glnx86/libz.so.1.1.4
+00e8f000-00e91000 rw-p 0000e000 08:05 32954      /usr/local/matlab2007a/bin/glnx86/libz.so.1.1.4
+00e91000-00e98000 r-xp 00000000 08:05 32830      /usr/local/matlab2007a/bin/glnx86/libmwamd.so
+00e98000-00e99000 rw-p 00006000 08:05 32830      /usr/local/matlab2007a/bin/glnx86/libmwamd.so
+00e99000-00ea1000 r-xp 00000000 08:06 308328     /usr/X11R6/lib/libSM.so.6.0
+00ea1000-00ea2000 rw-p 00007000 08:06 308328     /usr/X11R6/lib/libSM.so.6.0
+00ea2000-00ea4000 r-xp 00000000 08:05 32928      /usr/local/matlab2007a/bin/glnx86/libnativelex.so
+00ea4000-00ea5000 rw-p 00001000 08:05 32928      /usr/local/matlab2007a/bin/glnx86/libnativelex.so
+00ea6000-00f42000 r-xp 00000000 08:05 32945      /usr/local/matlab2007a/bin/glnx86/libut.so
+00f42000-00f57000 rw-p 0009c000 08:05 32945      /usr/local/matlab2007a/bin/glnx86/libut.so
+00f57000-00f88000 rw-p 00f57000 00:00 0 
+00f88000-0105e000 r-xp 00000000 08:05 32825      /usr/local/matlab2007a/bin/glnx86/libicuuc.so.32.0
+0105e000-01065000 rw-p 000d6000 08:05 32825      /usr/local/matlab2007a/bin/glnx86/libicuuc.so.32.0
+01065000-011fc000 r-xp 00000000 08:05 32854      /usr/local/matlab2007a/bin/glnx86/libmwhg.so
+011fc000-01246000 rw-p 00196000 08:05 32854      /usr/local/matlab2007a/bin/glnx86/libmwhg.so
+01246000-0124a000 rw-p 01246000 00:00 0 
+0124a000-0134d000 r-xp 00000000 08:05 32912      /usr/local/matlab2007a/bin/glnx86/libmwuix.so
+0134d000-01367000 rw-p 00103000 08:05 32912      /usr/local/matlab2007a/bin/glnx86/libmwuix.so
+01367000-0136c000 rw-p 01367000 00:00 0 
+0136c000-0149b000 r-xp 00000000 08:05 32813      /usr/local/matlab2007a/bin/glnx86/libhdf5.so.0.0.0
+0149b000-014a8000 rw-p 0012e000 08:05 32813      /usr/local/matlab2007a/bin/glnx86/libhdf5.so.0.0.0
+014a8000-014a9000 rw-p 014a8000 00:00 0 
+014a9000-014be000 r-xp 00000000 08:06 308327     /usr/X11R6/lib/libICE.so.6.3
+014be000-014bf000 rw-p 00014000 08:06 308327     /usr/X11R6/lib/libICE.so.6.3
+014bf000-014c1000 rw-p 014bf000 00:00 0 
+014c1000-014ca000 r-xp 00000000 08:06 196658     /lib/libnss_files-2.3.4.so
+014ca000-014cb000 r--p 00008000 08:06 196658     /lib/libnss_files-2.3.4.so
+014cb000-014cc000 rw-p 00009000 08:06 196658     /lib/libnss_files-2.3.4.so
+014cc000-014d3000 r-xp 00000000 08:06 308320     /usr/X11R6/lib/libXrender.so.1.2.2
+014d3000-014d4000 rw-p 00006000 08:06 308320     /usr/X11R6/lib/libXrender.so.1.2.2
+014d4000-014e7000 r-xp 00000000 08:05 82061      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libzip.so
+014e7000-014e9000 rw-p 00012000 08:05 82061      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libzip.so
+014e9000-014f6000 rwxp 014e9000 00:00 0 
+014f6000-014fa000 rwxp 014f6000 00:00 0 
+014fa000-0150e000 r-xp 00000000 08:05 82056      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnet.so
+0150e000-0150f000 rw-p 00013000 08:05 82056      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnet.so
+0150f000-01515000 r-xp 00000000 08:05 82057      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnio.so
+01515000-01516000 rw-p 00005000 08:05 82057      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnio.so
+01516000-0151a000 r-xp 00000000 08:05 32920      /usr/local/matlab2007a/bin/glnx86/libnativecmdwin.so
+0151a000-0151b000 rw-p 00004000 08:05 32920      /usr/local/matlab2007a/bin/glnx86/libnativecmdwin.so
+0151b000-0151f000 rw-p 0151b000 00:00 0 
+01521000-01583000 r-xp 00000000 08:05 32916      /usr/local/matlab2007a/bin/glnx86/libmwxmlcore.so
+01583000-01592000 rw-p 00062000 08:05 32916      /usr/local/matlab2007a/bin/glnx86/libmwxmlcore.so
+01592000-01620000 r-xp 00000000 08:05 32802      /usr/local/matlab2007a/bin/glnx86/libfftw3f.so.3.1.1
+01620000-01629000 rw-p 0008e000 08:05 32802      /usr/local/matlab2007a/bin/glnx86/libfftw3f.so.3.1.1
+01629000-01646000 rwxp 01629000 00:00 0 
+01646000-016a9000 rwxp 01646000 00:00 0 
+016a9000-016aa000 ---p 016a9000 00:00 0 
+016aa000-0172a000 rwxp 016aa000 00:00 0 
+0172a000-0172d000 ---p 0172a000 00:00 0 
+0172d000-017ab000 rwxp 0172d000 00:00 0 
+017ab000-017e6000 r-xp 00000000 08:05 32890      /usr/local/matlab2007a/bin/glnx86/libmwmlint.so
+017e6000-017ef000 rw-p 0003a000 08:05 32890      /usr/local/matlab2007a/bin/glnx86/libmwmlint.so
+017ef000-01807000 r-xp 00000000 08:05 82033      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libdcpr.so
+01807000-0181a000 rw-p 00018000 08:05 82033      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libdcpr.so
+01823000-018fe000 r-xp 00000000 08:06 308316     /usr/X11R6/lib/libX11.so.6.2
+018fe000-01902000 rw-p 000db000 08:06 308316     /usr/X11R6/lib/libX11.so.6.2
+01902000-0222a000 r-xp 00000000 08:05 32956      /usr/local/matlab2007a/bin/glnx86/mkl.so
+0222a000-0224c000 rw-p 00928000 08:05 32956      /usr/local/matlab2007a/bin/glnx86/mkl.so
+0224c000-0225a000 rw-p 0224c000 00:00 0 
+0225a000-0260e000 r-xp 00000000 08:05 32959      /usr/local/matlab2007a/bin/glnx86/mllapack.so
+0260e000-0260f000 rw-p 003b3000 08:05 32959      /usr/local/matlab2007a/bin/glnx86/mllapack.so
+0260f000-02713000 rw-p 0260f000 00:00 0 
+02738000-02744000 r-xp 00000000 08:05 32856      /usr/local/matlab2007a/bin/glnx86/libmwhgbuiltins.so
+02744000-02747000 rw-p 0000b000 08:05 32856      /usr/local/matlab2007a/bin/glnx86/libmwhgbuiltins.so
+0275a000-02760000 r-xp 00000000 08:05 82065      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads/libhpi.so
+02760000-02761000 rw-p 00006000 08:05 82065      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads/libhpi.so
+02761000-02764000 ---p 02761000 00:00 0 
+02764000-027e2000 rwxp 02764000 00:00 0 
+027e2000-027e5000 ---p 027e2000 00:00 0 
+027e5000-02863000 rwxp 027e5000 00:00 0 
+02863000-02866000 ---p 02863000 00:00 0 
+02866000-028e4000 rwxp 02866000 00:00 0 
+028e4000-028e5000 ---p 028e4000 00:00 0 
+028e5000-02965000 rwxp 028e5000 00:00 0 
+02965000-02968000 ---p 02965000 00:00 0 
+02968000-029e6000 rwxp 02968000 00:00 0 
+029e6000-02a5a000 r-xp 00000000 08:05 82031      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libawt.so
+02a5a000-02a60000 rw-p 00074000 08:05 82031      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libawt.so
+02a60000-02a84000 rw-p 02a60000 00:00 0 
+02a8b000-02a96000 r-xp 00000000 08:05 82060      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libverify.so
+02a96000-02a97000 rw-p 0000b000 08:05 82060      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libverify.so
+02a97000-02b0a000 r-xp 00000000 08:05 82036      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libfontmanager.so
+02b0a000-02b14000 rw-p 00073000 08:05 82036      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libfontmanager.so
+02b14000-02b18000 rw-p 02b14000 00:00 0 
+02b18000-02b1b000 ---p 02b18000 00:00 0 
+02b1b000-02b99000 rwxp 02b1b000 00:00 0 
+02b99000-02b9c000 ---p 02b99000 00:00 0 
+02b9c000-02c1a000 rwxp 02b9c000 00:00 0 
+02c1a000-02c1d000 ---p 02c1a000 00:00 0 
+02c1d000-02c9b000 rwxp 02c1d000 00:00 0 
+02c9b000-02c9e000 ---p 02c9b000 00:00 0 
+02c9e000-02d1c000 rwxp 02c9e000 00:00 0 
+02d20000-02d26000 r-xp 00000000 08:05 32922      /usr/local/matlab2007a/bin/glnx86/libnativehg.so
+02d26000-02d27000 rw-p 00005000 08:05 32922      /usr/local/matlab2007a/bin/glnx86/libnativehg.so
+02d27000-02d2d000 r-xp 00000000 08:05 99166      /usr/local/matlab2007a/toolbox/matlab/graph2d/private/lineseriesmex.mexglx
+02d2d000-02d2e000 rw-p 00006000 08:05 99166      /usr/local/matlab2007a/toolbox/matlab/graph2d/private/lineseriesmex.mexglx
+02d2e000-02d37000 r-xp 00000000 08:06 380254     /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
+02d37000-02d38000 rw-p 00008000 08:06 380254     /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
+02d38000-02d39000 r-xp 00000000 08:05 82047      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjawt.so
+02d39000-02d3a000 rw-p 00000000 08:05 82047      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjawt.so
+02d48000-02d49000 ---p 02d48000 00:00 0 
+02d49000-02d59000 rwxp 02d49000 00:00 0 
+02d59000-02d83000 r-xp 00000000 08:05 32781      /usr/local/matlab2007a/bin/glnx86/glren.so
+02d83000-02d87000 rw-p 0002a000 08:05 32781      /usr/local/matlab2007a/bin/glnx86/glren.so
+02d88000-02da2000 r-xp 00000000 08:06 380247     /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
+02da2000-02da4000 rw-p 0001a000 08:06 380247     /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
+02da4000-02da6000 rwxp 00000000 00:0d 1736       /dev/zero
+02da6000-02da7000 r-xp 00000000 08:06 327881     /usr/lib/gconv/ISO8859-1.so
+02da7000-02da9000 rw-p 00000000 08:06 327881     /usr/lib/gconv/ISO8859-1.so
+02dc7000-02de8000 r-xp 00000000 08:05 82042      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjava.so
+02de8000-02dea000 rw-p 00020000 08:05 82042      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjava.so
+02dea000-02ded000 ---p 02dea000 00:00 0 
+02ded000-02e6b000 rwxp 02ded000 00:00 0 
+02e6b000-02e6e000 rwxp 02e6b000 00:00 0 
+02e6e000-02eec000 rwxp 02e6e000 00:00 0 
+02eec000-02eef000 rwxp 02eec000 00:00 0 
+02eef000-02f6d000 rwxp 02eef000 00:00 0 
+02fa9000-02fdc000 r-xp 00000000 08:05 32866      /usr/local/matlab2007a/bin/glnx86/libmwlapack.so
+02fdc000-02fe1000 rw-p 00032000 08:05 32866      /usr/local/matlab2007a/bin/glnx86/libmwlapack.so
+02fe1000-02fe4000 ---p 02fe1000 00:00 0 
+02fe4000-03062000 rwxp 02fe4000 00:00 0 
+03062000-03065000 ---p 03062000 00:00 0 
+03065000-030e3000 rwxp 03065000 00:00 0 
+030e3000-030e6000 ---p 030e3000 00:00 0 
+030e6000-03164000 rwxp 030e6000 00:00 0 
+03164000-03167000 rwxp 03164000 00:00 0 
+03167000-031e5000 rwxp 03167000 00:00 0 
+031e5000-031e8000 rwxp 031e5000 00:00 0 
+031e8000-03266000 rwxp 031e8000 00:00 0 
+03267000-03386000 r-xp 00000000 08:05 32819      /usr/local/matlab2007a/bin/glnx86/libicui18n.so.32.0
+03386000-0338b000 rw-p 0011e000 08:05 32819      /usr/local/matlab2007a/bin/glnx86/libicui18n.so.32.0
+0338b000-0338e000 rwxp 0338b000 00:00 0 
+0338e000-0340c000 rwxp 0338e000 00:00 0 
+03466000-0348f000 r-xp 00000000 08:05 32852      /usr/local/matlab2007a/bin/glnx86/libmwhardcopy.so
+0348f000-03493000 rw-p 00028000 08:05 32852      /usr/local/matlab2007a/bin/glnx86/libmwhardcopy.so
+034e9000-0355f000 r-xp 00000000 08:05 32838      /usr/local/matlab2007a/bin/glnx86/libmwcholmod.so
+0355f000-03561000 rw-p 00076000 08:05 32838      /usr/local/matlab2007a/bin/glnx86/libmwcholmod.so
+03561000-03564000 rwxp 03561000 00:00 0 
+03564000-035e2000 rwxp 03564000 00:00 0 
+035e2000-035e5000 rwxp 035e2000 00:00 0 
+035e5000-03663000 rwxp 035e5000 00:00 0 
+03663000-03666000 rwxp 03663000 00:00 0 
+03666000-036e4000 rwxp 03666000 00:00 0 
+036e9000-03706000 rwxp 036e9000 00:00 0 
+03706000-0370e000 rwxp 03706000 00:00 0 
+03774000-03802000 r-xp 00000000 08:05 32799      /usr/local/matlab2007a/bin/glnx86/libfftw3.so.3.1.1
+03802000-0380b000 rw-p 0008d000 08:05 32799      /usr/local/matlab2007a/bin/glnx86/libfftw3.so.3.1.1
+0380b000-0380e000 rwxp 0380b000 00:00 0 
+0380e000-0388c000 rwxp 0380e000 00:00 0 
+038af000-03952000 r-xp 00000000 08:05 32914      /usr/local/matlab2007a/bin/glnx86/libmwumfpack.so
+03952000-03955000 rw-p 000a2000 08:05 32914      /usr/local/matlab2007a/bin/glnx86/libmwumfpack.so
+03955000-03958000 rwxp 03955000 00:00 0 
+03958000-039d6000 rwxp 03958000 00:00 0 
+039d6000-039d9000 rwxp 039d6000 00:00 0 
+039d9000-03a57000 rwxp 039d9000 00:00 0 
+03a5f000-03a71000 r-xp 00000000 08:06 196623     /lib/libnsl-2.3.4.so
+03a71000-03a72000 r--p 00011000 08:06 196623     /lib/libnsl-2.3.4.so
+03a72000-03a73000 rw-p 00012000 08:06 196623     /lib/libnsl-2.3.4.so
+03a73000-03a75000 rw-p 03a73000 00:00 0 
+03a75000-03a78000 rwxp 03a75000 00:00 0 
+03a78000-03af6000 rwxp 03a78000 00:00 0 
+03b11000-03b1b000 rwxp 03b11000 00:00 0 
+03b1b000-03b1d000 rwxp 03b1b000 00:00 0 
+03b1d000-03b3a000 rwxp 03b1d000 00:00 0 
+03b3a000-03b41000 rwxp 03b3a000 00:00 0 
+03b41000-03b4e000 rwxp 03b41000 00:00 0 
+03b4e000-03b5b000 rwxp 03b4e000 00:00 0 
+03b5b000-03b5c000 rwxp 03b5b000 00:00 0 
+03b7f000-03c45000 r-xp 00000000 08:05 82054      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libmlib_image.so
+03c45000-03c46000 rw-p 000c5000 08:05 82054      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libmlib_image.so
+03c56000-03c59000 rwxp 03c56000 00:00 0 
+03c59000-03cd7000 rwxp 03c59000 00:00 0 
+03cd7000-03cda000 rwxp 03cd7000 00:00 0 
+03cda000-03d58000 rwxp 03cda000 00:00 0 
+03d58000-03d5b000 rwxp 03d58000 00:00 0 
+03d5b000-03dd9000 rwxp 03d5b000 00:00 0 
+03dd9000-03ddc000 rwxp 03dd9000 00:00 0 
+03ddc000-03e5a000 rwxp 03ddc000 00:00 0 
+03e80000-03ef2000 r-xp 00000000 08:05 98794      /usr/local/matlab2007a/sys/os/glnx86/libgfortran.so.1.0.0
+03ef2000-03ef3000 rw-p 00072000 08:05 98794      /usr/local/matlab2007a/sys/os/glnx86/libgfortran.so.1.0.0
+03ef6000-03f2b000 r-xp 00000000 08:05 32810      /usr/local/matlab2007a/bin/glnx86/libguide.so
+03f2b000-03f2f000 rw-p 00034000 08:05 32810      /usr/local/matlab2007a/bin/glnx86/libguide.so
+03f2f000-03f34000 rw-p 03f2f000 00:00 0 
+03f34000-03f37000 rwxp 03f34000 00:00 0 
+03f37000-03fb5000 rwxp 03f37000 00:00 0 
+03fb5000-03fb8000 rwxp 03fb5000 00:00 0 
+03fb8000-04036000 rwxp 03fb8000 00:00 0 
+04036000-04039000 rwxp 04036000 00:00 0 
+04039000-040b7000 rwxp 04039000 00:00 0 
+040b7000-040ba000 rwxp 040b7000 00:00 0 
+040ba000-04138000 rwxp 040ba000 00:00 0 
+04138000-0413b000 rwxp 04138000 00:00 0 
+0413b000-041b9000 rwxp 0413b000 00:00 0 
+041b9000-041bc000 rwxp 041b9000 00:00 0 
+041bc000-0423a000 rwxp 041bc000 00:00 0 
+0423a000-0423d000 rwxp 0423a000 00:00 0 
+0423d000-042bb000 rwxp 0423d000 00:00 0 
+042bb000-042be000 rwxp 042bb000 00:00 0 
+042be000-0433c000 rwxp 042be000 00:00 0 
+0433c000-043e5000 r-xp 00000000 08:05 32836      /usr/local/matlab2007a/bin/glnx86/libmwbuiltins.so
+043e5000-043fe000 rw-p 000a8000 08:05 32836      /usr/local/matlab2007a/bin/glnx86/libmwbuiltins.so
+043fe000-04400000 rw-p 043fe000 00:00 0 
+04400000-04403000 ---p 04400000 00:00 0 
+04403000-04481000 rwxp 04403000 00:00 0 
+04484000-044d1000 r-xp 00000000 08:06 303060     /usr/X11R6/lib/libXt.so.6.0
+044d1000-044d5000 rw-p 0004c000 08:06 303060     /usr/X11R6/lib/libXt.so.6.0
+044d5000-044d6000 ---p 044d5000 00:00 0 
+044d6000-044d8000 rwxp 044d6000 00:00 0 
+044d8000-04556000 rwxp 044d8000 00:00 0 
+045a3000-045ab000 r-xp 00000000 08:06 308322     /usr/X11R6/lib/libXcursor.so.1.0.2
+045ab000-045ac000 rw-p 00007000 08:06 308322     /usr/X11R6/lib/libXcursor.so.1.0.2
+045bc000-045bf000 rwxp 045bc000 00:00 0 
+045bf000-0463d000 rwxp 045bf000 00:00 0 
+046fb000-046fe000 rwxp 046fb000 00:00 0 
+046fe000-0477c000 rwxp 046fe000 00:00 0 
+04892000-048ca000 r-xp 00000000 08:06 308068     /usr/lib/libncurses.so.5.4
+048ca000-048d3000 rw-p 00037000 08:06 308068     /usr/lib/libncurses.so.5.4
+04cba000-04d57000 r-xp 00000000 08:05 32850      /usr/local/matlab2007a/bin/glnx86/libmwgui.so
+04d57000-04d98000 rw-p 0009d000 08:05 32850      /usr/local/matlab2007a/bin/glnx86/libmwgui.so
+04d98000-04d99000 rw-p 04d98000 00:00 0 
+04d99000-04e0d000 r-xp 00000000 08:06 303518     /usr/lib/libGL.so.1.0.8762
+04e0d000-04e26000 rwxp 00074000 08:06 303518     /usr/lib/libGL.so.1.0.8762
+04e26000-04e28000 rwxp 04e26000 00:00 0 
+04e5e000-04f53000 r-xp 00000000 08:05 32884      /usr/local/matlab2007a/bin/glnx86/libmwmcos.so
+04f53000-04f83000 rw-p 000f5000 08:05 32884      /usr/local/matlab2007a/bin/glnx86/libmwmcos.so
+04f83000-04ff8000 r-xp 00000000 08:06 295211     /usr/X11R6/lib/libGLU.so.1.3
+04ff8000-04ffa000 rw-p 00075000 08:06 295211     /usr/X11R6/lib/libGLU.so.1.3
+0501c000-05051000 r-xp 00000000 08:05 82071      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so
+05051000-05055000 rw-p 00034000 08:05 82071      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so
+05062000-05065000 ---p 05062000 00:00 0 
+05065000-050e3000 rwxp 05065000 00:00 0 
+0524f000-05252000 rwxp 0524f000 00:00 0 
+05252000-052d0000 rwxp 05252000 00:00 0 
+052d0000-052d3000 rwxp 052d0000 00:00 0 
+052d3000-05351000 rwxp 052d3000 00:00 0 
+05374000-05441000 r-xp 00000000 08:05 32874      /usr/local/matlab2007a/bin/glnx86/libmwm_parser.so
+05441000-05572000 rw-p 000cc000 08:05 32874      /usr/local/matlab2007a/bin/glnx86/libmwm_parser.so
+0575e000-058eb000 r-xp 00000000 08:05 98791      /usr/local/matlab2007a/sys/os/glnx86/libXm.so.2.1
+058eb000-058ff000 rw-p 0018c000 08:05 98791      /usr/local/matlab2007a/sys/os/glnx86/libXm.so.2.1
+058ff000-05900000 rw-p 058ff000 00:00 0 
+05900000-05901000 ---p 05900000 00:00 0 
+05901000-06301000 rwxp 05901000 00:00 0 
+0632d000-06341000 r-xp 00000000 08:05 32926      /usr/local/matlab2007a/bin/glnx86/libnativejmi.so
+06341000-06344000 rw-p 00013000 08:05 32926      /usr/local/matlab2007a/bin/glnx86/libnativejmi.so
+06344000-06347000 rwxp 06344000 00:00 0 
+06347000-063c5000 rwxp 06347000 00:00 0 
+063c5000-063c8000 rwxp 063c5000 00:00 0 
+063c8000-06446000 rwxp 063c8000 00:00 0 
+064ae000-066c9000 r-xp 00000000 08:05 32896      /usr/local/matlab2007a/bin/glnx86/libmwnumerics.so
+066c9000-066dd000 rw-p 0021a000 08:05 32896      /usr/local/matlab2007a/bin/glnx86/libmwnumerics.so
+066dd000-066de000 rw-p 066dd000 00:00 0 
+066de000-066df000 ---p 066de000 00:00 0 
+066df000-070df000 rwxp 066df000 00:00 0 
+070df000-073fe000 r-xp 00000000 08:05 82025      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so
+073fe000-0741c000 rw-p 0031e000 08:05 82025      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so
+0741c000-07831000 rw-p 0741c000 00:00 0 
+07831000-07834000 rwxp 07831000 00:00 0 
+07834000-078b2000 rwxp 07834000 00:00 0 
+0792c000-0792f000 rwxp 0792c000 00:00 0 
+0792f000-079ad000 rwxp 0792f000 00:00 0 
+07c41000-07f69000 r-xp 00000000 08:05 32949      /usr/local/matlab2007a/bin/glnx86/libxerces-c.so.26.0
+07f69000-07f9a000 rw-p 00327000 08:05 32949      /usr/local/matlab2007a/bin/glnx86/libxerces-c.so.26.0
+07f9a000-07f9d000 rwxp 07f9a000 00:00 0 
+07f9d000-0801b000 rwxp 07f9d000 00:00 0 
+08048000-0804a000 r-xp 00000000 08:05 32771      /usr/local/matlab2007a/bin/glnx86/MATLAB
+0804a000-0804b000 rw-p 00001000 08:05 32771      /usr/local/matlab2007a/bin/glnx86/MATLAB
+0804b000-0804c000 ---p 0804b000 00:00 0 
+0804c000-08a4c000 rwxp 0804c000 00:00 0 
+08da3000-09985000 rw-p 08da3000 00:00 0 
+09985000-09986000 rwxp 09985000 00:00 0 
+09986000-09b65000 rw-p 09986000 00:00 0 
+09b65000-09b66000 rwxp 09b65000 00:00 0 
+09b66000-09e50000 rw-p 09b66000 00:00 0 
+09e50000-09e51000 rwxp 09e50000 00:00 0 
+09e51000-09e85000 rw-p 09e51000 00:00 0 
+09e85000-09e86000 rwxp 09e85000 00:00 0 
+09e86000-09e93000 rw-p 09e86000 00:00 0 
+09e93000-09e94000 rwxp 09e93000 00:00 0 
+09e94000-09e95000 rw-p 09e94000 00:00 0 
+09e95000-09e97000 rwxp 09e95000 00:00 0 
+09e97000-09e99000 rw-p 09e97000 00:00 0 
+09e99000-09e9d000 rwxp 09e99000 00:00 0 
+09e9d000-09ea6000 rw-p 09e9d000 00:00 0 
+09ea6000-09ea7000 rwxp 09ea6000 00:00 0 
+09ea7000-09ec9000 rw-p 09ea7000 00:00 0 
+09ec9000-09eca000 rwxp 09ec9000 00:00 0 
+09eca000-09eec000 rw-p 09eca000 00:00 0 
+09eec000-09eed000 rwxp 09eec000 00:00 0 
+09eed000-09f36000 rw-p 09eed000 00:00 0 
+09f36000-09f37000 rwxp 09f36000 00:00 0 
+09f37000-09f70000 rw-p 09f37000 00:00 0 
+09f70000-09f72000 rwxp 09f70000 00:00 0 
+09f72000-09f9a000 rw-p 09f72000 00:00 0 
+09f9a000-09f9e000 rwxp 09f9a000 00:00 0 
+09f9e000-09fbe000 rw-p 09f9e000 00:00 0 
+09fbe000-09fbf000 rwxp 09fbe000 00:00 0 
+09fbf000-09fda000 rw-p 09fbf000 00:00 0 
+09fda000-09fdc000 rwxp 09fda000 00:00 0 
+09fdc000-09fef000 rw-p 09fdc000 00:00 0 
+09fef000-09ff0000 rwxp 09fef000 00:00 0 
+09ff0000-0a03b000 rw-p 09ff0000 00:00 0 
+0a03b000-0a03d000 rwxp 0a03b000 00:00 0 
+0a03d000-0a049000 rw-p 0a03d000 00:00 0 
+0a049000-0a04a000 rwxp 0a049000 00:00 0 
+0a04a000-0a051000 rw-p 0a04a000 00:00 0 
+0a051000-0a053000 rwxp 0a051000 00:00 0 
+0a053000-0a077000 rw-p 0a053000 00:00 0 
+0a077000-0a07a000 rwxp 0a077000 00:00 0 
+0a07a000-0a090000 rw-p 0a07a000 00:00 0 
+0a090000-0a092000 rwxp 0a090000 00:00 0 
+0a092000-0a0a1000 rw-p 0a092000 00:00 0 
+0a0a1000-0a0a2000 rwxp 0a0a1000 00:00 0 
+0a0a2000-0a10e000 rw-p 0a0a2000 00:00 0 
+0a10e000-0a10f000 rwxp 0a10e000 00:00 0 
+0a10f000-0a12e000 rw-p 0a10f000 00:00 0 
+0a12e000-0a130000 rwxp 0a12e000 00:00 0 
+0a130000-0a1ca000 rw-p 0a130000 00:00 0 
+0a1ca000-0a1cb000 rwxp 0a1ca000 00:00 0 
+0a1cb000-0a23d000 rw-p 0a1cb000 00:00 0 
+0a23d000-0a23e000 rwxp 0a23d000 00:00 0 
+0a23e000-0a243000 rw-p 0a23e000 00:00 0 
+0a243000-0a245000 rwxp 0a243000 00:00 0 
+0a245000-0a30f000 rw-p 0a245000 00:00 0 
+0a30f000-0a310000 rwxp 0a30f000 00:00 0 
+0a310000-0a35e000 rw-p 0a310000 00:00 0 
+0a35e000-0a361000 rwxp 0a35e000 00:00 0 
+0a361000-0a3a5000 rw-p 0a361000 00:00 0 
+0a3a5000-0a3a7000 rwxp 0a3a5000 00:00 0 
+0a3a7000-0a3aa000 rw-p 0a3a7000 00:00 0 
+0a3aa000-0a3ac000 rwxp 0a3aa000 00:00 0 
+0a3ac000-0a3bb000 rw-p 0a3ac000 00:00 0 
+0a3bb000-0a3bc000 rwxp 0a3bb000 00:00 0 
+0a3bc000-0a3f4000 rw-p 0a3bc000 00:00 0 
+0a3f4000-0a3f5000 rwxp 0a3f4000 00:00 0 
+0a3f5000-0a3f6000 rw-p 0a3f5000 00:00 0 
+0a3f6000-0a3f7000 rwxp 0a3f6000 00:00 0 
+0a3f7000-0a3f8000 rw-p 0a3f7000 00:00 0 
+0a3f8000-0a3fa000 rwxp 0a3f8000 00:00 0 
+0a3fa000-0a411000 rw-p 0a3fa000 00:00 0 
+0a411000-0a412000 rwxp 0a411000 00:00 0 
+0a412000-0a46d000 rw-p 0a412000 00:00 0 
+0a46d000-0a470000 rwxp 0a46d000 00:00 0 
+0a470000-0a473000 rw-p 0a470000 00:00 0 
+0a473000-0a474000 rwxp 0a473000 00:00 0 
+0a474000-0a493000 rw-p 0a474000 00:00 0 
+0a493000-0a494000 rwxp 0a493000 00:00 0 
+0a494000-0a548000 rw-p 0a494000 00:00 0 
+0a548000-0a549000 rwxp 0a548000 00:00 0 
+0a549000-0a55e000 rw-p 0a549000 00:00 0 
+0a55e000-0a55f000 rwxp 0a55e000 00:00 0 
+0a55f000-0a58e000 rw-p 0a55f000 00:00 0 
+0a58e000-0a58f000 rwxp 0a58e000 00:00 0 
+0a58f000-0a5a9000 rw-p 0a58f000 00:00 0 
+0a5a9000-0a5aa000 rwxp 0a5a9000 00:00 0 
+0a5aa000-0a5c2000 rw-p 0a5aa000 00:00 0 
+0a5c2000-0a5c3000 rwxp 0a5c2000 00:00 0 
+0a5c3000-0a5ea000 rw-p 0a5c3000 00:00 0 
+0a5ea000-0a5eb000 rwxp 0a5ea000 00:00 0 
+0a5eb000-0a60b000 rw-p 0a5eb000 00:00 0 
+0a60b000-0a60c000 rwxp 0a60b000 00:00 0 
+0a60c000-0a60e000 rw-p 0a60c000 00:00 0 
+0a60e000-0a612000 rwxp 0a60e000 00:00 0 
+0a612000-0a66e000 rw-p 0a612000 00:00 0 
+0a66e000-0a670000 rwxp 0a66e000 00:00 0 
+0a670000-0a684000 rw-p 0a670000 00:00 0 
+0a684000-0a685000 rwxp 0a684000 00:00 0 
+0a685000-0a6b0000 rw-p 0a685000 00:00 0 
+0a6b0000-0a6b1000 rwxp 0a6b0000 00:00 0 
+0a6b1000-0a6b5000 rw-p 0a6b1000 00:00 0 
+0a6b5000-0a6b7000 rwxp 0a6b5000 00:00 0 
+0a6b7000-0a6ee000 rw-p 0a6b7000 00:00 0 
+0a6ee000-0a6f0000 rwxp 0a6ee000 00:00 0 
+0a6f0000-0a709000 rw-p 0a6f0000 00:00 0 
+0a709000-0a70a000 rwxp 0a709000 00:00 0 
+0a70a000-0a716000 rw-p 0a70a000 00:00 0 
+0a716000-0a718000 rwxp 0a716000 00:00 0 
+0a718000-0a733000 rw-p 0a718000 00:00 0 
+0a733000-0a734000 rwxp 0a733000 00:00 0 
+0a734000-0a786000 rw-p 0a734000 00:00 0 
+0a786000-0a787000 rwxp 0a786000 00:00 0 
+0a787000-0a78e000 rw-p 0a787000 00:00 0 
+0a78e000-0a78f000 rwxp 0a78e000 00:00 0 
+0a78f000-0a81c000 rw-p 0a78f000 00:00 0 
+0a81c000-0a81d000 rwxp 0a81c000 00:00 0 
+0a81d000-0a8e4000 rw-p 0a81d000 00:00 0 
+0a8e4000-0a8e5000 rwxp 0a8e4000 00:00 0 
+0a8e5000-0a92d000 rw-p 0a8e5000 00:00 0 
+0a92d000-0a92e000 rwxp 0a92d000 00:00 0 
+0a92e000-0a995000 rw-p 0a92e000 00:00 0 
+0a995000-0a996000 rwxp 0a995000 00:00 0 
+0a996000-0a9ea000 rw-p 0a996000 00:00 0 
+0a9ea000-0a9eb000 rwxp 0a9ea000 00:00 0 
+0a9eb000-0ac3d000 rw-p 0a9eb000 00:00 0 
+0ac3d000-0ac3e000 rwxp 0ac3d000 00:00 0 
+0ac3e000-0ac44000 rw-p 0ac3e000 00:00 0 
+0ac44000-0ac45000 rwxp 0ac44000 00:00 0 
+0ac45000-0ac54000 rw-p 0ac45000 00:00 0 
+0ac54000-0ac55000 rwxp 0ac54000 00:00 0 
+0ac55000-0ac76000 rw-p 0ac55000 00:00 0 
+0ac76000-0ac77000 rwxp 0ac76000 00:00 0 
+0ac77000-0acaf000 rw-p 0ac77000 00:00 0 
+0acaf000-0acb0000 rwxp 0acaf000 00:00 0 
+0acb0000-0acc9000 rw-p 0acb0000 00:00 0 
+0acc9000-0acca000 rwxp 0acc9000 00:00 0 
+0acca000-0ad1b000 rw-p 0acca000 00:00 0 
+0ad1b000-0ad1c000 rwxp 0ad1b000 00:00 0 
+0ad1c000-0ad43000 rw-p 0ad1c000 00:00 0 
+0ad43000-0ad44000 rwxp 0ad43000 00:00 0 
+0ad44000-0ad51000 rw-p 0ad44000 00:00 0 
+0ad51000-0ad52000 rwxp 0ad51000 00:00 0 
+0ad52000-0ad80000 rw-p 0ad52000 00:00 0 
+0ad80000-0ad81000 rwxp 0ad80000 00:00 0 
+0ad81000-0ad88000 rw-p 0ad81000 00:00 0 
+0ad88000-0ad8b000 rwxp 0ad88000 00:00 0 
+0ad8b000-0ad97000 rw-p 0ad8b000 00:00 0 
+0ad97000-0ad98000 rwxp 0ad97000 00:00 0 
+0ad98000-0adb3000 rw-p 0ad98000 00:00 0 
+0adb3000-0adb5000 rwxp 0adb3000 00:00 0 
+0adb5000-0adf2000 rw-p 0adb5000 00:00 0 
+0adf2000-0adf3000 rwxp 0adf2000 00:00 0 
+0adf3000-0ae22000 rw-p 0adf3000 00:00 0 
+0ae22000-0ae24000 rwxp 0ae22000 00:00 0 
+0ae24000-0ae6d000 rw-p 0ae24000 00:00 0 
+0ae6d000-0ae6e000 rwxp 0ae6d000 00:00 0 
+0ae6e000-0aecb000 rw-p 0ae6e000 00:00 0 
+0aecb000-0aecc000 rwxp 0aecb000 00:00 0 
+0aecc000-0aee8000 rw-p 0aecc000 00:00 0 
+0aee8000-0aee9000 rwxp 0aee8000 00:00 0 
+0aee9000-0af02000 rw-p 0aee9000 00:00 0 
+0af02000-0af03000 rwxp 0af02000 00:00 0 
+0af03000-0af16000 rw-p 0af03000 00:00 0 
+0af16000-0af18000 rwxp 0af16000 00:00 0 
+0af18000-0af99000 rw-p 0af18000 00:00 0 
+0af99000-0af9b000 rwxp 0af99000 00:00 0 
+0af9b000-0affe000 rw-p 0af9b000 00:00 0 
+0affe000-0afff000 rwxp 0affe000 00:00 0 
+0afff000-0b08b000 rw-p 0afff000 00:00 0 
+0b08b000-0b08c000 rwxp 0b08b000 00:00 0 
+0b08c000-0b205000 rw-p 0b08c000 00:00 0 
+0b205000-0b207000 rwxp 0b205000 00:00 0 
+0b207000-0b36c000 rw-p 0b207000 00:00 0 
+0b36c000-0b36d000 rwxp 0b36c000 00:00 0 
+0b36d000-0b49c000 rw-p 0b36d000 00:00 0 
+0b49c000-0b49d000 rwxp 0b49c000 00:00 0 
+0b49d000-0b639000 rw-p 0b49d000 00:00 0 
+0b639000-0b63b000 rwxp 0b639000 00:00 0 
+0b63b000-0b8a5000 rw-p 0b63b000 00:00 0 
+0b8a5000-0b8a7000 rwxp 0b8a5000 00:00 0 
+0b8a7000-0b944000 rw-p 0b8a7000 00:00 0 
+0b944000-0b945000 rwxp 0b944000 00:00 0 
+0b945000-0b9ff000 rw-p 0b945000 00:00 0 
+0b9ff000-0ba00000 rwxp 0b9ff000 00:00 0 
+0ba00000-0ba05000 rw-p 0ba00000 00:00 0 
+0ba05000-0ba06000 rwxp 0ba05000 00:00 0 
+0ba06000-0bb44000 rw-p 0ba06000 00:00 0 
+0bb44000-0bb45000 rwxp 0bb44000 00:00 0 
+0bb45000-0bb7b000 rw-p 0bb45000 00:00 0 
+0bb7b000-0bb7c000 rwxp 0bb7b000 00:00 0 
+0bb7c000-0bc1c000 rw-p 0bb7c000 00:00 0 
+0bc1c000-0bc1d000 rwxp 0bc1c000 00:00 0 
+0bc1d000-0bc36000 rw-p 0bc1d000 00:00 0 
+0bc36000-0bc38000 rwxp 0bc36000 00:00 0 
+0bc38000-0bc67000 rw-p 0bc38000 00:00 0 
+0bc67000-0bc69000 rwxp 0bc67000 00:00 0 
+0bc69000-0bcdd000 rw-p 0bc69000 00:00 0 
+0bcdd000-0bcde000 rwxp 0bcdd000 00:00 0 
+0bcde000-0bd6e000 rw-p 0bcde000 00:00 0 
+0bd6e000-0bd70000 rwxp 0bd6e000 00:00 0 
+0bd70000-0bd85000 rw-p 0bd70000 00:00 0 
+0bd85000-0bd86000 rwxp 0bd85000 00:00 0 
+0bd86000-0be01000 rw-p 0bd86000 00:00 0 
+0be01000-0be02000 rwxp 0be01000 00:00 0 
+0be02000-0be12000 rw-p 0be02000 00:00 0 
+0be12000-0be13000 rwxp 0be12000 00:00 0 
+0be13000-0be25000 rw-p 0be13000 00:00 0 
+0be25000-0be27000 rwxp 0be25000 00:00 0 
+0be27000-0bfe1000 rw-p 0be27000 00:00 0 
+0bfe1000-0bfe2000 rwxp 0bfe1000 00:00 0 
+0bfe2000-0bfe9000 rw-p 0bfe2000 00:00 0 
+0bfe9000-0bfea000 rwxp 0bfe9000 00:00 0 
+0bfea000-0c02d000 rw-p 0bfea000 00:00 0 
+0c02d000-0c02f000 rwxp 0c02d000 00:00 0 
+0c02f000-0c03b000 rw-p 0c02f000 00:00 0 
+0c03b000-0c03c000 rwxp 0c03b000 00:00 0 
+0c03c000-0c067000 rw-p 0c03c000 00:00 0 
+0c067000-0c068000 rwxp 0c067000 00:00 0 
+0c068000-0c54a000 rw-p 0c068000 00:00 0 
+0c54a000-0c54b000 rwxp 0c54a000 00:00 0 
+0c54b000-0c5b5000 rw-p 0c54b000 00:00 0 
+0c5b5000-0c5b6000 rwxp 0c5b5000 00:00 0 
+0c5b6000-121fb000 rw-p 0c5b6000 00:00 0 
+121fb000-121fc000 rwxp 121fb000 00:00 0 
+121fc000-13288000 rw-p 121fc000 00:00 0 
+13288000-1328a000 rwxp 13288000 00:00 0 
+1328a000-13e54000 rw-p 1328a000 00:00 0 
+13e54000-13e55000 rwxp 13e54000 00:00 0 
+13e55000-140bd000 rw-p 13e55000 00:00 0 
+140bd000-140be000 rwxp 140bd000 00:00 0 
+140be000-15b6e000 rw-p 140be000 00:00 0 
+15b6e000-15b6f000 rwxp 15b6e000 00:00 0 
+15b6f000-17908000 rw-p 15b6f000 00:00 0 
+17908000-17909000 rwxp 17908000 00:00 0 
+17909000-1794f000 rw-p 17909000 00:00 0 
+1794f000-17951000 rwxp 1794f000 00:00 0 
+17951000-17b9f000 rw-p 17951000 00:00 0 
+17b9f000-17ba0000 rwxp 17b9f000 00:00 0 
+17ba0000-25f95000 rw-p 17ba0000 00:00 0 
+25f95000-25f97000 rwxp 25f95000 00:00 0 
+25f97000-28fba000 rw-p 25f97000 00:00 0 
+28fba000-28fbc000 rwxp 28fba000 00:00 0 
+28fbc000-2921d000 rw-p 28fbc000 00:00 0 
+2921d000-2921f000 rwxp 2921d000 00:00 0 
+2921f000-2d3bc000 rw-p 2921f000 00:00 0 
+99400000-994c7000 rw-p 99400000 00:00 0 
+994c7000-99500000 ---p 994c7000 00:00 0 
+995c0000-99623000 rw-p 995c0000 00:00 0 
+99623000-99700000 ---p 99623000 00:00 0 
+997d4000-99803000 rw-p 997d4000 00:00 0 
+99803000-99805000 rwxp 99803000 00:00 0 
+99805000-9980e000 rw-p 99805000 00:00 0 
+9980e000-9980f000 rwxp 9980e000 00:00 0 
+9980f000-99814000 rw-p 9980f000 00:00 0 
+99dee000-99df0000 rw-p 99dee000 00:00 0 
+99df0000-99df1000 rwxp 99df0000 00:00 0 
+99df1000-99dfa000 rw-p 99df1000 00:00 0 
+99dfa000-99dfb000 rwxp 99dfa000 00:00 0 
+99dfb000-99dfd000 rw-p 99dfb000 00:00 0 
+99dfd000-99dfe000 rwxp 99dfd000 00:00 0 
+99dfe000-99e14000 rw-p 99dfe000 00:00 0 
+99e14000-99e15000 rwxp 99e14000 00:00 0 
+99e15000-99e2f000 rw-p 99e15000 00:00 0 
+9a000000-9a0fe000 rw-p 9a000000 00:00 0 
+9a0fe000-9a100000 ---p 9a0fe000 00:00 0 
+9a100000-9a200000 rw-p 9a100000 00:00 0 
+9a200000-9a2ff000 rw-p 9a200000 00:00 0 
+9a2ff000-9a300000 ---p 9a2ff000 00:00 0 
+9a300000-9a3ff000 rw-p 9a300000 00:00 0 
+9a3ff000-9a400000 ---p 9a3ff000 00:00 0 
+9a400000-9a4fa000 rw-p 9a400000 00:00 0 
+9a4fa000-9a500000 ---p 9a4fa000 00:00 0 
+9a500000-9a5ff000 rw-p 9a500000 00:00 0 
+9a5ff000-9a600000 ---p 9a5ff000 00:00 0 
+9a600000-9a6fe000 rw-p 9a600000 00:00 0 
+9a6fe000-9a700000 ---p 9a6fe000 00:00 0 
+9a700000-9a7f7000 rw-p 9a700000 00:00 0 
+9a7f7000-9a800000 ---p 9a7f7000 00:00 0 
+9a800000-9a8fd000 rw-p 9a800000 00:00 0 
+9a8fd000-9a900000 ---p 9a8fd000 00:00 0 
+9a900000-9a9fd000 rw-p 9a900000 00:00 0 
+9a9fd000-9aa00000 ---p 9a9fd000 00:00 0 
+9aa00000-9aafd000 rw-p 9aa00000 00:00 0 
+9aafd000-9ab00000 ---p 9aafd000 00:00 0 
+9ab00000-9abff000 rw-p 9ab00000 00:00 0 
+9abff000-9ac00000 ---p 9abff000 00:00 0 
+9ac00000-9acfe000 rw-p 9ac00000 00:00 0 
+9acfe000-9ad00000 ---p 9acfe000 00:00 0 
+9ad00000-9ae00000 rw-p 9ad00000 00:00 0 
+9ae00000-9afff000 rw-p 9ae00000 00:00 0 
+9afff000-9b000000 ---p 9afff000 00:00 0 
+9b000000-9b0fa000 rw-p 9b000000 00:00 0 
+9b0fa000-9b100000 ---p 9b0fa000 00:00 0 
+9b100000-9b1fe000 rw-p 9b100000 00:00 0 
+9b1fe000-9b200000 ---p 9b1fe000 00:00 0 
+9b200000-9b2fd000 rw-p 9b200000 00:00 0 
+9b2fd000-9b300000 ---p 9b2fd000 00:00 0 
+9b300000-9b3ff000 rw-p 9b300000 00:00 0 
+9b3ff000-9b400000 ---p 9b3ff000 00:00 0 
+9b400000-9b4fe000 rw-p 9b400000 00:00 0 
+9b4fe000-9b500000 ---p 9b4fe000 00:00 0 
+9b500000-9b5f8000 rw-p 9b500000 00:00 0 
+9b5f8000-9b600000 ---p 9b5f8000 00:00 0 
+9b600000-9b6fd000 rw-p 9b600000 00:00 0 
+9b6fd000-9b700000 ---p 9b6fd000 00:00 0 
+9b700000-9b7fe000 rw-p 9b700000 00:00 0 
+9b7fe000-9b800000 ---p 9b7fe000 00:00 0 
+9b800000-9b8fe000 rw-p 9b800000 00:00 0 
+9b8fe000-9b900000 ---p 9b8fe000 00:00 0 
+9b900000-9b9fd000 rw-p 9b900000 00:00 0 
+9b9fd000-9ba00000 ---p 9b9fd000 00:00 0 
+9ba00000-9bbfe000 rw-p 9ba00000 00:00 0 
+9bbfe000-9bc00000 ---p 9bbfe000 00:00 0 
+9bc00000-9bcfd000 rw-p 9bc00000 00:00 0 
+9bcfd000-9bd00000 ---p 9bcfd000 00:00 0 
+9bd00000-9bdfe000 rw-p 9bd00000 00:00 0 
+9bdfe000-9be00000 ---p 9bdfe000 00:00 0 
+9be00000-9befd000 rw-p 9be00000 00:00 0 
+9befd000-9bf00000 ---p 9befd000 00:00 0 
+9bf00000-9bffb000 rw-p 9bf00000 00:00 0 
+9bffb000-9c000000 ---p 9bffb000 00:00 0 
+9c000000-9c0fd000 rw-p 9c000000 00:00 0 
+9c0fd000-9c100000 ---p 9c0fd000 00:00 0 
+9c100000-9c1f7000 rw-p 9c100000 00:00 0 
+9c1f7000-9c200000 ---p 9c1f7000 00:00 0 
+9c200000-9c2fc000 rw-p 9c200000 00:00 0 
+9c2fc000-9c300000 ---p 9c2fc000 00:00 0 
+9c300000-9c3f5000 rw-p 9c300000 00:00 0 
+9c3f5000-9c400000 ---p 9c3f5000 00:00 0 
+9c400000-9c4fd000 rw-p 9c400000 00:00 0 
+9c4fd000-9c500000 ---p 9c4fd000 00:00 0 
+9c500000-9c600000 rw-p 9c500000 00:00 0 
+9c600000-9c6fe000 rw-p 9c600000 00:00 0 
+9c6fe000-9c700000 ---p 9c6fe000 00:00 0 
+9c700000-9c800000 rw-p 9c700000 00:00 0 
+9c800000-9c9fd000 rw-p 9c800000 00:00 0 
+9c9fd000-9ca00000 ---p 9c9fd000 00:00 0 
+9ca00000-9cafe000 rw-p 9ca00000 00:00 0 
+9cafe000-9cb00000 ---p 9cafe000 00:00 0 
+9cb00000-9cbfa000 rw-p 9cb00000 00:00 0 
+9cbfa000-9cc00000 ---p 9cbfa000 00:00 0 
+9cc00000-9ccfd000 rw-p 9cc00000 00:00 0 
+9ccfd000-9cd00000 ---p 9ccfd000 00:00 0 
+9cd00000-9cdfd000 rw-p 9cd00000 00:00 0 
+9cdfd000-9ce00000 ---p 9cdfd000 00:00 0 
+9ce00000-9cffc000 rw-p 9ce00000 00:00 0 
+9cffc000-9d000000 ---p 9cffc000 00:00 0 
+9d000000-9d0fe000 rw-p 9d000000 00:00 0 
+9d0fe000-9d100000 ---p 9d0fe000 00:00 0 
+9d100000-9d1fd000 rw-p 9d100000 00:00 0 
+9d1fd000-9d200000 ---p 9d1fd000 00:00 0 
+9d200000-9d2ff000 rw-p 9d200000 00:00 0 
+9d2ff000-9d300000 ---p 9d2ff000 00:00 0 
+9d300000-9d3ff000 rw-p 9d300000 00:00 0 
+9d3ff000-9d400000 ---p 9d3ff000 00:00 0 
+9d400000-9d4fe000 rw-p 9d400000 00:00 0 
+9d4fe000-9d500000 ---p 9d4fe000 00:00 0 
+9d500000-9d5fd000 rw-p 9d500000 00:00 0 
+9d5fd000-9d600000 ---p 9d5fd000 00:00 0 
+9d600000-9d6fd000 rw-p 9d600000 00:00 0 
+9d6fd000-9d700000 ---p 9d6fd000 00:00 0 
+9d700000-9d800000 rw-p 9d700000 00:00 0 
+9d800000-9d8fe000 rw-p 9d800000 00:00 0 
+9d8fe000-9d900000 ---p 9d8fe000 00:00 0 
+9d900000-9d9fe000 rw-p 9d900000 00:00 0 
+9d9fe000-9da00000 ---p 9d9fe000 00:00 0 
+9da00000-9dafd000 rw-p 9da00000 00:00 0 
+9dafd000-9db00000 ---p 9dafd000 00:00 0 
+9db00000-9dc00000 rw-p 9db00000 00:00 0 
+9dc00000-9dcf7000 rw-p 9dc00000 00:00 0 
+9dcf7000-9dd00000 ---p 9dcf7000 00:00 0 
+9dd00000-9ddfa000 rw-p 9dd00000 00:00 0 
+9ddfa000-9de00000 ---p 9ddfa000 00:00 0 
+9de00000-9defe000 rw-p 9de00000 00:00 0 
+9defe000-9df00000 ---p 9defe000 00:00 0 
+9df00000-9e000000 rw-p 9df00000 00:00 0 
+9e000000-9e0ff000 rw-p 9e000000 00:00 0 
+9e0ff000-9e100000 ---p 9e0ff000 00:00 0 
+9e100000-9e1ff000 rw-p 9e100000 00:00 0 
+9e1ff000-9e200000 ---p 9e1ff000 00:00 0 
+9e200000-9e2ff000 rw-p 9e200000 00:00 0 
+9e2ff000-9e300000 ---p 9e2ff000 00:00 0 
+9e300000-9e3fe000 rw-p 9e300000 00:00 0 
+9e3fe000-9e400000 ---p 9e3fe000 00:00 0 
+9e400000-9e4fd000 rw-p 9e400000 00:00 0 
+9e4fd000-9e500000 ---p 9e4fd000 00:00 0 
+9e500000-9e5fe000 rw-p 9e500000 00:00 0 
+9e5fe000-9e600000 ---p 9e5fe000 00:00 0 
+9e600000-9e6fe000 rw-p 9e600000 00:00 0 
+9e6fe000-9e700000 ---p 9e6fe000 00:00 0 
+9e700000-9e7fe000 rw-p 9e700000 00:00 0 
+9e7fe000-9e800000 ---p 9e7fe000 00:00 0 
+9e800000-9e8fe000 rw-p 9e800000 00:00 0 
+9e8fe000-9e900000 ---p 9e8fe000 00:00 0 
+9e900000-9e9ff000 rw-p 9e900000 00:00 0 
+9e9ff000-9ea00000 ---p 9e9ff000 00:00 0 
+9ea00000-9eafb000 rw-p 9ea00000 00:00 0 
+9eafb000-9eb00000 ---p 9eafb000 00:00 0 
+9eb00000-9ebfe000 rw-p 9eb00000 00:00 0 
+9ebfe000-9ec00000 ---p 9ebfe000 00:00 0 
+9ec00000-9edfe000 rw-p 9ec00000 00:00 0 
+9edfe000-9ee00000 ---p 9edfe000 00:00 0 
+9ee00000-9eef6000 rw-p 9ee00000 00:00 0 
+9eef6000-9ef00000 ---p 9eef6000 00:00 0 
+9ef00000-9effd000 rw-p 9ef00000 00:00 0 
+9effd000-9f000000 ---p 9effd000 00:00 0 
+9f000000-9f200000 rw-p 9f000000 00:00 0 
+9f200000-9f2ff000 rw-p 9f200000 00:00 0 
+9f2ff000-9f300000 ---p 9f2ff000 00:00 0 
+9f300000-9f3fe000 rw-p 9f300000 00:00 0 
+9f3fe000-9f400000 ---p 9f3fe000 00:00 0 
+9f400000-9f4fe000 rw-p 9f400000 00:00 0 
+9f4fe000-9f500000 ---p 9f4fe000 00:00 0 
+9f500000-9f5ff000 rw-p 9f500000 00:00 0 
+9f5ff000-9f600000 ---p 9f5ff000 00:00 0 
+9f600000-9f6ff000 rw-p 9f600000 00:00 0 
+9f6ff000-9f700000 ---p 9f6ff000 00:00 0 
+9f700000-9f7fe000 rw-p 9f700000 00:00 0 
+9f7fe000-9f800000 ---p 9f7fe000 00:00 0 
+9f800000-9f9fe000 rw-p 9f800000 00:00 0 
+9f9fe000-9fa00000 ---p 9f9fe000 00:00 0 
+9fa00000-9fa3a000 rw-p 9fa00000 00:00 0 
+9fa3a000-9fa3b000 rwxp 9fa3a000 00:00 0 
+9fa3b000-9fafe000 rw-p 9fa3b000 00:00 0 
+9fafe000-9fb00000 ---p 9fafe000 00:00 0 
+9fb00000-9fbfd000 rw-p 9fb00000 00:00 0 
+9fbfd000-9fc00000 ---p 9fbfd000 00:00 0 
+9fc00000-9fcfb000 rw-p 9fc00000 00:00 0 
+9fcfb000-9fd00000 ---p 9fcfb000 00:00 0 
+9fd00000-9fdfe000 rw-p 9fd00000 00:00 0 
+9fdfe000-9fe00000 ---p 9fdfe000 00:00 0 
+9fe00000-9fefd000 rw-p 9fe00000 00:00 0 
+9fefd000-9ff00000 ---p 9fefd000 00:00 0 
+a0000000-a00fb000 rw-p a0000000 00:00 0 
+a00fb000-a0100000 ---p a00fb000 00:00 0 
+a0100000-a01fe000 rw-p a0100000 00:00 0 
+a01fe000-a0200000 ---p a01fe000 00:00 0 
+a0200000-a02ff000 rw-p a0200000 00:00 0 
+a02ff000-a0300000 ---p a02ff000 00:00 0 
+a0300000-a03f9000 rw-p a0300000 00:00 0 
+a03f9000-a0400000 ---p a03f9000 00:00 0 
+a0400000-a04fe000 rw-p a0400000 00:00 0 
+a04fe000-a0500000 ---p a04fe000 00:00 0 
+a0500000-a05fe000 rw-p a0500000 00:00 0 
+a05fe000-a0600000 ---p a05fe000 00:00 0 
+a0600000-a06fd000 rw-p a0600000 00:00 0 
+a06fd000-a0700000 ---p a06fd000 00:00 0 
+a0700000-a0800000 rw-p a0700000 00:00 0 
+a0800000-a08fd000 rw-p a0800000 00:00 0 
+a08fd000-a0900000 ---p a08fd000 00:00 0 
+a0900000-a09fe000 rw-p a0900000 00:00 0 
+a09fe000-a0a00000 ---p a09fe000 00:00 0 
+a0a00000-a0afe000 rw-p a0a00000 00:00 0 
+a0afe000-a0b00000 ---p a0afe000 00:00 0 
+a0b00000-a0bff000 rw-p a0b00000 00:00 0 
+a0bff000-a0c00000 ---p a0bff000 00:00 0 
+a0c00000-a0cff000 rw-p a0c00000 00:00 0 
+a0cff000-a0d00000 ---p a0cff000 00:00 0 
+a0d00000-a0dfe000 rw-p a0d00000 00:00 0 
+a0dfe000-a0e00000 ---p a0dfe000 00:00 0 
+a0e00000-a0ef5000 rw-p a0e00000 00:00 0 
+a0ef5000-a0f00000 ---p a0ef5000 00:00 0 
+a0f00000-a0ff4000 rw-p a0f00000 00:00 0 
+a0ff4000-a1000000 ---p a0ff4000 00:00 0 
+a1000000-a11fc000 rw-p a1000000 00:00 0 
+a11fc000-a1200000 ---p a11fc000 00:00 0 
+a1200000-a12fe000 rw-p a1200000 00:00 0 
+a12fe000-a1300000 ---p a12fe000 00:00 0 
+a1300000-a13f9000 rw-p a1300000 00:00 0 
+a13f9000-a1400000 ---p a13f9000 00:00 0 
+a1400000-a14f4000 rw-p a1400000 00:00 0 
+a14f4000-a1500000 ---p a14f4000 00:00 0 
+a1500000-a1600000 rw-p a1500000 00:00 0 
+a1600000-a16fe000 rw-p a1600000 00:00 0 
+a16fe000-a1700000 ---p a16fe000 00:00 0 
+a175e000-a17e0000 rw-p a175e000 00:00 0 
+a180e000-a1811000 rw-p a180e000 00:00 0 
+a1811000-a1812000 rwxp a1811000 00:00 0 
+a1812000-a1827000 rw-p a1812000 00:00 0 
+a1827000-a1828000 rwxp a1827000 00:00 0 
+a1828000-a182a000 rw-p a1828000 00:00 0 
+a182a000-a182b000 rwxp a182a000 00:00 0 
+a182b000-a1879000 rw-p a182b000 00:00 0 
+a1879000-a187a000 rwxp a1879000 00:00 0 
+a187a000-a18a4000 rw-p a187a000 00:00 0 
+a18a4000-a18a5000 rwxp a18a4000 00:00 0 
+a18a5000-a18a9000 rw-p a18a5000 00:00 0 
+a18a9000-a18ab000 rwxp a18a9000 00:00 0 
+a18ab000-a18ac000 rw-p a18ab000 00:00 0 
+a18ac000-a18ae000 rwxp a18ac000 00:00 0 
+a18ae000-a18b2000 rw-p a18ae000 00:00 0 
+a18b2000-a18b3000 rwxp a18b2000 00:00 0 
+a18b3000-a18e2000 rw-p a18b3000 00:00 0 
+a18e2000-a18e3000 rwxp a18e2000 00:00 0 
+a18e3000-a18e8000 rw-p a18e3000 00:00 0 
+a18e8000-a18e9000 rwxp a18e8000 00:00 0 
+a18e9000-a18f5000 rw-p a18e9000 00:00 0 
+a18f5000-a18f7000 rwxp a18f5000 00:00 0 
+a18f7000-a18fa000 rw-p a18f7000 00:00 0 
+a18fa000-a18fb000 rwxp a18fa000 00:00 0 
+a18fb000-a1907000 rw-p a18fb000 00:00 0 
+a1907000-a1908000 rwxp a1907000 00:00 0 
+a1908000-a190e000 rw-p a1908000 00:00 0 
+a192f000-a193b000 rw-p a192f000 00:00 0 
+a193b000-a193c000 rwxp a193b000 00:00 0 
+a193c000-a1970000 rw-p a193c000 00:00 0 
+a19bb000-a19fc000 rw-p a19bb000 00:00 0 
+a19fc000-a19fd000 rwxp a19fc000 00:00 0 
+a19fd000-a19ff000 rw-p a19fd000 00:00 0 
+a19ff000-a1a02000 rwxp a19ff000 00:00 0 
+a1a02000-a1a04000 rw-p a1a02000 00:00 0 
+a1a04000-a1a0b000 rwxp a1a04000 00:00 0 
+a1a0b000-a1a0c000 rw-p a1a0b000 00:00 0 
+a1a0c000-a1a0e000 rwxp a1a0c000 00:00 0 
+a1a0e000-a1a0f000 rw-p a1a0e000 00:00 0 
+a1a0f000-a1a10000 rwxp a1a0f000 00:00 0 
+a1a10000-a1a14000 rw-p a1a10000 00:00 0 
+a1a14000-a1a25000 rwxp a1a14000 00:00 0 
+a1a25000-a1a26000 rw-p a1a25000 00:00 0 
+a1a26000-a1a2f000 rwxp a1a26000 00:00 0 
+a1a2f000-a1a54000 rw-p a1a2f000 00:00 0 
+a1a54000-a1a55000 rwxp a1a54000 00:00 0 
+a1a55000-a1a5c000 rw-p a1a55000 00:00 0 
+a1a5c000-a1a5d000 rwxp a1a5c000 00:00 0 
+a1a5d000-a1a7e000 rw-p a1a5d000 00:00 0 
+a1ac0000-a1bfd000 rw-p a1ac0000 00:00 0 
+a1bfd000-a1c00000 ---p a1bfd000 00:00 0 
+a1c05000-a1c20000 rw-p a1c05000 00:00 0 
+a1c20000-a1c21000 rwxp a1c20000 00:00 0 
+a1c21000-a1d1a000 rw-p a1c21000 00:00 0 
+a1d1a000-a1d1b000 rwxp a1d1a000 00:00 0 
+a1d1b000-a1d85000 rw-p a1d1b000 00:00 0 
+a1d85000-a1d86000 ---p a1d85000 00:00 0 
+a1d86000-a2786000 rwxp a1d86000 00:00 0 
+a2786000-a27cb000 rw-p a2786000 00:00 0 
+a27cb000-a27cf000 rwxp a27cb000 00:00 0 
+a27cf000-a27d0000 rw-p a27cf000 00:00 0 
+a27d0000-a27d3000 rwxp a27d0000 00:00 0 
+a27d3000-a27d6000 rw-p a27d3000 00:00 0 
+a27d6000-a27da000 rwxp a27d6000 00:00 0 
+a27da000-a27de000 rw-p a27da000 00:00 0 
+a27de000-a27df000 rwxp a27de000 00:00 0 
+a27df000-a27e1000 rw-p a27df000 00:00 0 
+a27e1000-a27e3000 rwxp a27e1000 00:00 0 
+a27e3000-a27e4000 rw-p a27e3000 00:00 0 
+a27e4000-a27e5000 rwxp a27e4000 00:00 0 
+a27e5000-a27ed000 rw-p a27e5000 00:00 0 
+a27ed000-a27ef000 rwxp a27ed000 00:00 0 
+a27ef000-a27f0000 rw-p a27ef000 00:00 0 
+a27f0000-a27f2000 rwxp a27f0000 00:00 0 
+a27f2000-a27f4000 rw-p a27f2000 00:00 0 
+a27f4000-a27f6000 rwxp a27f4000 00:00 0 
+a27f6000-a27f7000 rw-p a27f6000 00:00 0 
+a27f7000-a27fb000 rwxp a27f7000 00:00 0 
+a27fb000-a27fe000 rw-p a27fb000 00:00 0 
+a27fe000-a2800000 rwxp a27fe000 00:00 0 
+a2800000-a2805000 rw-p a2800000 00:00 0 
+a2805000-a2806000 rwxp a2805000 00:00 0 
+a2806000-a2807000 rw-p a2806000 00:00 0 
+a2825000-a2866000 rw-p a2825000 00:00 0 
+a286d000-a2879000 rw-p a286d000 00:00 0 
+a2879000-a287a000 rwxp a2879000 00:00 0 
+a287a000-a287f000 rw-p a287a000 00:00 0 
+a287f000-a2880000 rwxp a287f000 00:00 0 
+a2880000-a288c000 rw-p a2880000 00:00 0 
+a288c000-a288d000 rwxp a288c000 00:00 0 
+a288d000-a28ee000 rw-p a288d000 00:00 0 
+a28fe000-a29b4000 rw-p a28fe000 00:00 0 
+a29b4000-a29b5000 rwxp a29b4000 00:00 0 
+a29b5000-a2a1c000 rw-p a29b5000 00:00 0 
+a2a1c000-a2a1d000 rwxp a2a1c000 00:00 0 
+a2a1d000-a2a23000 rw-p a2a1d000 00:00 0 
+a2a23000-a2a24000 rwxp a2a23000 00:00 0 
+a2a24000-a2a25000 rw-p a2a24000 00:00 0 
+a2a25000-a2a26000 rwxp a2a25000 00:00 0 
+a2a26000-a2a77000 rw-p a2a26000 00:00 0 
+a2a77000-a2a78000 rwxp a2a77000 00:00 0 
+a2a78000-a2a7e000 rw-p a2a78000 00:00 0 
+a2a7e000-a2a92000 rwxp a2a7e000 00:00 0 
+a2a92000-a2a93000 rw-p a2a92000 00:00 0 
+a2a93000-a2a94000 rwxp a2a93000 00:00 0 
+a2a94000-a2a95000 rw-p a2a94000 00:00 0 
+a2a95000-a2a96000 rwxp a2a95000 00:00 0 
+a2a96000-a2a97000 rw-p a2a96000 00:00 0 
+a2a97000-a2a98000 rwxp a2a97000 00:00 0 
+a2a98000-a2a9a000 rw-p a2a98000 00:00 0 
+a2a9a000-a2a9b000 rwxp a2a9a000 00:00 0 
+a2a9b000-a2a9e000 rw-p a2a9b000 00:00 0 
+a2a9e000-a2a9f000 rwxp a2a9e000 00:00 0 
+a2a9f000-a2aa4000 rw-p a2a9f000 00:00 0 
+a2aa4000-a2aa7000 rwxp a2aa4000 00:00 0 
+a2aa7000-a2aff000 rw-p a2aa7000 00:00 0 
+a2b12000-a2b14000 rw-p a2b12000 00:00 0 
+a2b14000-a2b17000 rwxp a2b14000 00:00 0 
+a2b17000-a2b1c000 rw-p a2b17000 00:00 0 
+a2b1c000-a2b1d000 rwxp a2b1c000 00:00 0 
+a2b1d000-a2b22000 rw-p a2b1d000 00:00 0 
+a2b22000-a2b23000 rwxp a2b22000 00:00 0 
+a2b23000-a2b48000 rw-p a2b23000 00:00 0 
+a2b48000-a2b49000 rwxp a2b48000 00:00 0 
+a2b49000-a2b4f000 rw-p a2b49000 00:00 0 
+a2b4f000-a2b51000 rwxp a2b4f000 00:00 0 
+a2b51000-a2b52000 rw-p a2b51000 00:00 0 
+a312c000-a3130000 rw-p a312c000 00:00 0 
+a3130000-a3132000 rwxp a3130000 00:00 0 
+a3132000-a3154000 rw-p a3132000 00:00 0 
+a3154000-a3155000 rwxp a3154000 00:00 0 
+a3155000-a316d000 rw-p a3155000 00:00 0 
+a316d000-a316e000 rw-s 00000000 00:06 153419800  /SYSV00000000 (deleted)
+a316e000-a316f000 rw-s 00000000 00:06 153387031  /SYSV00000000 (deleted)
+a316f000-a326f000 rw-s 110ef000 00:0d 4934       /dev/nvidia0
+a326f000-a3273000 rw-s 110e8000 00:0d 4934       /dev/nvidia0
+a3273000-a3274000 rw-s d3e7c000 00:0d 4934       /dev/nvidia0
+a3274000-a3275000 rw-s 110e7000 00:0d 4934       /dev/nvidia0
+a3275000-a3276000 rw-s 110e6000 00:0d 4934       /dev/nvidia0
+a3276000-a3277000 rw-s edc00000 00:0d 4934       /dev/nvidia0
+a3277000-a3379000 rw-s 10fde000 00:0d 4934       /dev/nvidia0
+a3379000-a33ba000 rw-p a3379000 00:00 0 
+a33ba000-a341c000 rw-p 00000000 00:0d 1736       /dev/zero
+a341c000-a341d000 rw-s ed001000 00:0d 4934       /dev/nvidia0
+a341d000-a3963000 rw-s d0000000 00:0d 4934       /dev/nvidia0
+a3963000-a397a000 rw-s 00000000 00:06 65537      /SYSV00000000 (deleted)
+a397a000-a39db000 rw-p a397a000 00:00 0 
+a39db000-a41be000 r-xp 00000000 08:06 303511     /usr/lib/libGLcore.so.1.0.8762
+a41be000-a41ee000 rwxp 007e2000 08:06 303511     /usr/lib/libGLcore.so.1.0.8762
+a41ee000-a41f2000 rwxp a41ee000 00:00 0 
+a4209000-a426d000 rw-p a4209000 00:00 0 
+a426d000-a426e000 rwxp a426d000 00:00 0 
+a426e000-a4276000 rw-p a426e000 00:00 0 
+a4276000-a4277000 rwxp a4276000 00:00 0 
+a4277000-a427f000 rw-p a4277000 00:00 0 
+a427f000-a4280000 rwxp a427f000 00:00 0 
+a4280000-a42da000 rw-p a4280000 00:00 0 
+a42da000-a42db000 rwxp a42da000 00:00 0 
+a42db000-a448e000 rw-p a42db000 00:00 0 
+a448e000-a4490000 rwxp a448e000 00:00 0 
+a4490000-a4491000 rw-p a4490000 00:00 0 
+a4491000-a4493000 rwxp a4491000 00:00 0 
+a4493000-a44af000 rw-p a4493000 00:00 0 
+a44af000-a44b0000 rwxp a44af000 00:00 0 
+a44b0000-a44b7000 rw-p a44b0000 00:00 0 
+a44b7000-a44c9000 rwxp a44b7000 00:00 0 
+a44c9000-a44da000 rw-p a44c9000 00:00 0 
+a44da000-a44e0000 rwxp a44da000 00:00 0 
+a44e0000-a4500000 rw-p a44e0000 00:00 0 
+a4500000-a4501000 rwxp a4500000 00:00 0 
+a4501000-a4513000 rw-p a4501000 00:00 0 
+a4513000-a4514000 rwxp a4513000 00:00 0 
+a4514000-a4515000 rw-p a4514000 00:00 0 
+a4515000-a4517000 rwxp a4515000 00:00 0 
+a4517000-a4518000 rw-p a4517000 00:00 0 
+a4518000-a4519000 rwxp a4518000 00:00 0 
+a4519000-a4533000 rw-p a4519000 00:00 0 
+a4533000-a4534000 rwxp a4533000 00:00 0 
+a4534000-a4539000 rw-p a4534000 00:00 0 
+a4539000-a453a000 rwxp a4539000 00:00 0 
+a453a000-a45e2000 rw-p a453a000 00:00 0 
+a45e2000-a45e3000 rwxp a45e2000 00:00 0 
+a45e3000-a45f0000 rw-p a45e3000 00:00 0 
+a4616000-a4699000 rw-p a4616000 00:00 0 
+a4699000-a469b000 rwxp a4699000 00:00 0 
+a469b000-a46a0000 rw-p a469b000 00:00 0 
+a46a0000-a46a2000 rwxp a46a0000 00:00 0 
+a46a2000-a46a8000 rw-p a46a2000 00:00 0 
+a46a8000-a46ad000 rwxp a46a8000 00:00 0 
+a46ad000-a46b7000 rw-p a46ad000 00:00 0 
+a46b7000-a46b9000 rwxp a46b7000 00:00 0 
+a46b9000-a46c8000 rw-p a46b9000 00:00 0 
+a46c8000-a46cb000 rwxp a46c8000 00:00 0 
+a46cb000-a46d3000 rw-p a46cb000 00:00 0 
+a46d3000-a46d4000 rwxp a46d3000 00:00 0 
+a46d4000-a4798000 rw-p a46d4000 00:00 0 
+a4798000-a47b3000 rwxp a4798000 00:00 0 
+a47b3000-a47b4000 rw-p a47b3000 00:00 0 
+a47b4000-a47b8000 rwxp a47b4000 00:00 0 
+a47b8000-a47b9000 rw-p a47b8000 00:00 0 
+a47b9000-a47bb000 rwxp a47b9000 00:00 0 
+a47bb000-a47bd000 rw-p a47bb000 00:00 0 
+a47bd000-a47be000 rwxp a47bd000 00:00 0 
+a47be000-a47d8000 rw-p a47be000 00:00 0 
+a47d8000-a47de000 rwxp a47d8000 00:00 0 
+a47de000-a47e1000 rw-p a47de000 00:00 0 
+a47e1000-a47e6000 rwxp a47e1000 00:00 0 
+a47e6000-a47e7000 rw-p a47e6000 00:00 0 
+a47e7000-a47e8000 rwxp a47e7000 00:00 0 
+a47e8000-a47ea000 rw-p a47e8000 00:00 0 
+a47ea000-a47eb000 rwxp a47ea000 00:00 0 
+a47eb000-a47ef000 rw-p a47eb000 00:00 0 
+a47ef000-a47f0000 rwxp a47ef000 00:00 0 
+a47f0000-a47f2000 rw-p a47f0000 00:00 0 
+a47f2000-a47f3000 rwxp a47f2000 00:00 0 
+a47f3000-a47f4000 rw-p a47f3000 00:00 0 
+a47f4000-a47f5000 rwxp a47f4000 00:00 0 
+a47f5000-a47f8000 rw-p a47f5000 00:00 0 
+a47f8000-a47f9000 rwxp a47f8000 00:00 0 
+a47f9000-a47fd000 rw-p a47f9000 00:00 0 
+a47fd000-a47fe000 rwxp a47fd000 00:00 0 
+a47fe000-a4803000 rw-p a47fe000 00:00 0 
+a4803000-a4804000 rwxp a4803000 00:00 0 
+a4804000-a4805000 rw-p a4804000 00:00 0 
+a4805000-a480b000 rwxp a4805000 00:00 0 
+a480b000-a480c000 rw-p a480b000 00:00 0 
+a480c000-a4818000 rwxp a480c000 00:00 0 
+a4818000-a484c000 rw-p a4818000 00:00 0 
+a484c000-a484d000 rwxp a484c000 00:00 0 
+a484d000-a489a000 rw-p a484d000 00:00 0 
+a48bb000-a48fc000 rw-p a48bb000 00:00 0 
+a48fc000-a48fd000 rwxp a48fc000 00:00 0 
+a48fd000-a48fe000 rw-p a48fd000 00:00 0 
+a48fe000-a48ff000 rwxp a48fe000 00:00 0 
+a48ff000-a4903000 rw-p a48ff000 00:00 0 
+a4903000-a4904000 rwxp a4903000 00:00 0 
+a4904000-a4906000 rw-p a4904000 00:00 0 
+a4906000-a4908000 rwxp a4906000 00:00 0 
+a4908000-a491a000 rw-p a4908000 00:00 0 
+a491a000-a491c000 rwxp a491a000 00:00 0 
+a491c000-a491d000 rw-p a491c000 00:00 0 
+a491d000-a4920000 rwxp a491d000 00:00 0 
+a4920000-a4926000 rw-p a4920000 00:00 0 
+a4926000-a4928000 rwxp a4926000 00:00 0 
+a4928000-a4929000 rw-p a4928000 00:00 0 
+a4929000-a492c000 rwxp a4929000 00:00 0 
+a492c000-a497d000 rw-p a492c000 00:00 0 
+a497d000-a497e000 rwxp a497d000 00:00 0 
+a497e000-a497f000 rw-p a497e000 00:00 0 
+a497f000-a4983000 rwxp a497f000 00:00 0 
+a4983000-a4985000 rw-p a4983000 00:00 0 
+a4985000-a4988000 rwxp a4985000 00:00 0 
+a4988000-a49a2000 rw-p a4988000 00:00 0 
+a49a2000-a49ab000 rwxp a49a2000 00:00 0 
+a49ab000-a49e4000 rw-p a49ab000 00:00 0 
+a49e4000-a49e5000 rwxp a49e4000 00:00 0 
+a49e5000-a49f7000 rw-p a49e5000 00:00 0 
+a49f7000-a49f8000 rwxp a49f7000 00:00 0 
+a49f8000-a4a3c000 rw-p a49f8000 00:00 0 
+a4a5e000-a4aa7000 rw-p a4a5e000 00:00 0 
+a4aa7000-a4aaa000 rwxp a4aa7000 00:00 0 
+a4aaa000-a4ab1000 rw-p a4aaa000 00:00 0 
+a4ab1000-a4ab2000 rwxp a4ab1000 00:00 0 
+a4ab2000-a4ab4000 rw-p a4ab2000 00:00 0 
+a4ab4000-a4ab8000 rwxp a4ab4000 00:00 0 
+a4ab8000-a4ab9000 rw-p a4ab8000 00:00 0 
+a4ab9000-a4aba000 rwxp a4ab9000 00:00 0 
+a4aba000-a4abb000 rw-p a4aba000 00:00 0 
+a4abb000-a4abd000 rwxp a4abb000 00:00 0 
+a4abd000-a4ac2000 rw-p a4abd000 00:00 0 
+a4ac2000-a4ac5000 rwxp a4ac2000 00:00 0 
+a4ac5000-a4ac6000 rw-p a4ac5000 00:00 0 
+a4ac6000-a4ac7000 rwxp a4ac6000 00:00 0 
+a4ac7000-a4acc000 rw-p a4ac7000 00:00 0 
+a4acc000-a4acd000 rwxp a4acc000 00:00 0 
+a4acd000-a4ace000 rw-p a4acd000 00:00 0 
+a4ace000-a4ad0000 rwxp a4ace000 00:00 0 
+a4ad0000-a4ad1000 rw-p a4ad0000 00:00 0 
+a4ad1000-a4ad6000 rwxp a4ad1000 00:00 0 
+a4ad6000-a4ad9000 rw-p a4ad6000 00:00 0 
+a4ad9000-a4ada000 rwxp a4ad9000 00:00 0 
+a4ada000-a4adc000 rw-p a4ada000 00:00 0 
+a4adc000-a4add000 rwxp a4adc000 00:00 0 
+a4add000-a4b20000 rw-p a4add000 00:00 0 
+a4b20000-a4b23000 rwxp a4b20000 00:00 0 
+a4b23000-a4b25000 rw-p a4b23000 00:00 0 
+a4b25000-a4b28000 rwxp a4b25000 00:00 0 
+a4b28000-a4b29000 rw-p a4b28000 00:00 0 
+a4b29000-a4b2e000 rwxp a4b29000 00:00 0 
+a4b2e000-a4b31000 rw-p a4b2e000 00:00 0 
+a4b31000-a4b32000 rwxp a4b31000 00:00 0 
+a4b32000-a4b33000 rw-p a4b32000 00:00 0 
+a4b33000-a4b3b000 rwxp a4b33000 00:00 0 
+a4b3b000-a4b3c000 rw-p a4b3b000 00:00 0 
+a4b3c000-a4b3e000 rwxp a4b3c000 00:00 0 
+a4b3e000-a4b5f000 rw-p a4b3e000 00:00 0 
+a4b5f000-a4b67000 rwxp a4b5f000 00:00 0 
+a4b67000-a4b6d000 rw-p a4b67000 00:00 0 
+a4b6d000-a4b6e000 rwxp a4b6d000 00:00 0 
+a4b6e000-a4b71000 rw-p a4b6e000 00:00 0 
+a4b71000-a4b72000 rwxp a4b71000 00:00 0 
+a4b72000-a4b7b000 rw-p a4b72000 00:00 0 
+a4b7b000-a4b7c000 rwxp a4b7b000 00:00 0 
+a4b7c000-a4b88000 rw-p a4b7c000 00:00 0 
+a4b88000-a4b8a000 rwxp a4b88000 00:00 0 
+a4b8a000-a4b8b000 rw-p a4b8a000 00:00 0 
+a4b8b000-a4b8c000 rwxp a4b8b000 00:00 0 
+a4b8c000-a4b8d000 rw-p a4b8c000 00:00 0 
+a4b8d000-a4b9b000 rwxp a4b8d000 00:00 0 
+a4b9b000-a4b9d000 rw-p a4b9b000 00:00 0 
+a4b9d000-a4b9e000 rwxp a4b9d000 00:00 0 
+a4b9e000-a4bcf000 rw-p a4b9e000 00:00 0 
+a4bcf000-a4bd1000 rwxp a4bcf000 00:00 0 
+a4bd1000-a4be0000 rw-p a4bd1000 00:00 0 
+a4be0000-a4be2000 rwxp a4be0000 00:00 0 
+a4be2000-a4be5000 rw-p a4be2000 00:00 0 
+a4be5000-a4be9000 rwxp a4be5000 00:00 0 
+a4be9000-a4bf0000 rw-p a4be9000 00:00 0 
+a4bf0000-a4bf5000 rwxp a4bf0000 00:00 0 
+a4bf5000-a4bf8000 rw-p a4bf5000 00:00 0 
+a4bf8000-a4bfd000 rwxp a4bf8000 00:00 0 
+a4bfd000-a4bfe000 rw-p a4bfd000 00:00 0 
+a4bfe000-a4c00000 rwxp a4bfe000 00:00 0 
+a4c00000-a4c01000 rw-p a4c00000 00:00 0 
+a4c01000-a4c02000 rwxp a4c01000 00:00 0 
+a4c02000-a4c04000 rw-p a4c02000 00:00 0 
+a4c04000-a4c05000 rwxp a4c04000 00:00 0 
+a4c05000-a4c3b000 rw-p a4c05000 00:00 0 
+a4c3b000-a4c3c000 rwxp a4c3b000 00:00 0 
+a4c3c000-a4c54000 rw-p a4c3c000 00:00 0 
+a4c54000-a4c57000 rwxp a4c54000 00:00 0 
+a4c57000-a4c58000 rw-p a4c57000 00:00 0 
+a4c58000-a4c59000 rwxp a4c58000 00:00 0 
+a4c59000-a4cfa000 rw-p a4c59000 00:00 0 
+a4cfa000-a4cfb000 rwxp a4cfa000 00:00 0 
+a4cfb000-a4d08000 rw-p a4cfb000 00:00 0 
+a4d08000-a4d09000 rwxp a4d08000 00:00 0 
+a4d09000-a4da9000 rw-p a4d09000 00:00 0 
+a4da9000-a4daa000 rwxp a4da9000 00:00 0 
+a4daa000-a4db7000 rw-p a4daa000 00:00 0 
+a4db7000-a4db8000 rwxp a4db7000 00:00 0 
+a4db8000-a4de3000 rw-p a4db8000 00:00 0 
+a4de3000-a4de8000 rwxp a4de3000 00:00 0 
+a4de8000-a4de9000 rw-p a4de8000 00:00 0 
+a4de9000-a4def000 rwxp a4de9000 00:00 0 
+a4def000-a4df0000 rw-p a4def000 00:00 0 
+a4df0000-a4e08000 rwxp a4df0000 00:00 0 
+a4e08000-a4e0a000 rw-p a4e08000 00:00 0 
+a4e0a000-a4e11000 rwxp a4e0a000 00:00 0 
+a4e11000-a4e13000 rw-p a4e11000 00:00 0 
+a4e13000-a4e14000 rwxp a4e13000 00:00 0 
+a4e14000-a4e15000 rw-p a4e14000 00:00 0 
+a4e15000-a4e17000 rwxp a4e15000 00:00 0 
+a4e17000-a4e19000 rw-p a4e17000 00:00 0 
+a4e19000-a4e1b000 rwxp a4e19000 00:00 0 
+a4e1b000-a4e42000 rw-p a4e1b000 00:00 0 
+a4e42000-a4e43000 rwxp a4e42000 00:00 0 
+a4e43000-a4eb6000 rw-p a4e43000 00:00 0 
+a4eb6000-a4eb7000 rwxp a4eb6000 00:00 0 
+a4eb7000-a4eb8000 rw-p a4eb7000 00:00 0 
+a4eb8000-a4ebd000 rwxp a4eb8000 00:00 0 
+a4ebd000-a4f2e000 rw-p a4ebd000 00:00 0 
+a4f2e000-a4f2f000 rwxp a4f2e000 00:00 0 
+a4f2f000-a4f47000 rw-p a4f2f000 00:00 0 
+a4f47000-a4f48000 rwxp a4f47000 00:00 0 
+a4f48000-a4f64000 rw-p a4f48000 00:00 0 
+a4f64000-a4f65000 rwxp a4f64000 00:00 0 
+a4f65000-a4f69000 rw-p a4f65000 00:00 0 
+a4f69000-a4f74000 rwxp a4f69000 00:00 0 
+a4f74000-a4f75000 rw-p a4f74000 00:00 0 
+a4f75000-a4f76000 rwxp a4f75000 00:00 0 
+a4f76000-a4f77000 rw-p a4f76000 00:00 0 
+a4f77000-a4f78000 rwxp a4f77000 00:00 0 
+a4f78000-a4f7a000 rw-p a4f78000 00:00 0 
+a4f7a000-a4f7c000 rwxp a4f7a000 00:00 0 
+a4f7c000-a4f7e000 rw-p a4f7c000 00:00 0 
+a4f7e000-a4f83000 rwxp a4f7e000 00:00 0 
+a4f83000-a4f86000 rw-p a4f83000 00:00 0 
+a4f86000-a4f89000 rwxp a4f86000 00:00 0 
+a4f89000-a4f8a000 rw-p a4f89000 00:00 0 
+a4f8a000-a4f8b000 rwxp a4f8a000 00:00 0 
+a4f8b000-a4f8e000 rw-p a4f8b000 00:00 0 
+a4f8e000-a4f94000 rwxp a4f8e000 00:00 0 
+a4f94000-a4fb1000 rw-p a4f94000 00:00 0 
+a4fb1000-a4fb2000 rwxp a4fb1000 00:00 0 
+a4fb2000-a4fc5000 rw-p a4fb2000 00:00 0 
+a4fc5000-a4fc6000 rwxp a4fc5000 00:00 0 
+a4fc6000-a4fc9000 rw-p a4fc6000 00:00 0 
+a4fc9000-a4fcc000 rwxp a4fc9000 00:00 0 
+a4fcc000-a4fcd000 rw-p a4fcc000 00:00 0 
+a4fcd000-a4fce000 rwxp a4fcd000 00:00 0 
+a4fce000-a5064000 rw-p a4fce000 00:00 0 
+a5064000-a5065000 rwxp a5064000 00:00 0 
+a5065000-a50a6000 rw-p a5065000 00:00 0 
+a50b6000-a50c4000 rw-p a50b6000 00:00 0 
+a50c4000-a50c5000 rwxp a50c4000 00:00 0 
+a50c5000-a50f6000 rw-p a50c5000 00:00 0 
+a51f6000-a5210000 rw-p a51f6000 00:00 0 
+a5210000-a5212000 rwxp a5210000 00:00 0 
+a5212000-a5224000 rw-p a5212000 00:00 0 
+a5224000-a5225000 rwxp a5224000 00:00 0 
+a5225000-a5227000 rw-p a5225000 00:00 0 
+a5227000-a5228000 rwxp a5227000 00:00 0 
+a5228000-a5229000 rw-p a5228000 00:00 0 
+a5229000-a522a000 rwxp a5229000 00:00 0 
+a522a000-a522c000 rw-p a522a000 00:00 0 
+a522c000-a522d000 rwxp a522c000 00:00 0 
+a522d000-a522e000 rw-p a522d000 00:00 0 
+a522e000-a522f000 rwxp a522e000 00:00 0 
+a522f000-a5236000 rw-p a522f000 00:00 0 
+a5236000-a5241000 rwxp a5236000 00:00 0 
+a5241000-a5243000 rw-p a5241000 00:00 0 
+a5243000-a5249000 rwxp a5243000 00:00 0 
+a5249000-a524a000 rw-p a5249000 00:00 0 
+a524a000-a5252000 rwxp a524a000 00:00 0 
+a5252000-a5253000 rw-p a5252000 00:00 0 
+a5253000-a525c000 rwxp a5253000 00:00 0 
+a525c000-a525f000 rw-p a525c000 00:00 0 
+a525f000-a5268000 rwxp a525f000 00:00 0 
+a5268000-a5269000 rw-p a5268000 00:00 0 
+a5269000-a526a000 rwxp a5269000 00:00 0 
+a526a000-a526b000 rw-p a526a000 00:00 0 
+a526b000-a526d000 rwxp a526b000 00:00 0 
+a526d000-a526e000 rw-p a526d000 00:00 0 
+a526e000-a5276000 rwxp a526e000 00:00 0 
+a5276000-a5277000 rw-p a5276000 00:00 0 
+a5278000-a5282000 rw-p a5278000 00:00 0 
+a5282000-a5283000 rwxp a5282000 00:00 0 
+a5283000-a528d000 rw-p a5283000 00:00 0 
+a528d000-a528e000 rwxp a528d000 00:00 0 
+a528e000-a5291000 rw-p a528e000 00:00 0 
+a5291000-a5292000 rwxp a5291000 00:00 0 
+a5292000-a5296000 rw-p a5292000 00:00 0 
+a5296000-a5297000 rwxp a5296000 00:00 0 
+a5297000-a53bf000 rw-p a5297000 00:00 0 
+a53bf000-a53c0000 rwxp a53bf000 00:00 0 
+a53c0000-a53f9000 rw-p a53c0000 00:00 0 
+a5439000-a543a000 rwxp a5439000 00:00 0 
+a543a000-a5440000 rw-p a543a000 00:00 0 
+a5440000-a5441000 rwxp a5440000 00:00 0 
+a5441000-a5448000 rw-p a5441000 00:00 0 
+a5448000-a544b000 rwxp a5448000 00:00 0 
+a544b000-a5453000 rw-p a544b000 00:00 0 
+a5453000-a5454000 rwxp a5453000 00:00 0 
+a5454000-a5458000 rw-p a5454000 00:00 0 
+a5458000-a545c000 rwxp a5458000 00:00 0 
+a545c000-a545e000 rw-p a545c000 00:00 0 
+a545e000-a545f000 rwxp a545e000 00:00 0 
+a545f000-a5460000 rw-p a545f000 00:00 0 
+a5460000-a5464000 rwxp a5460000 00:00 0 
+a5464000-a5466000 rw-p a5464000 00:00 0 
+a5466000-a5467000 rwxp a5466000 00:00 0 
+a5467000-a5469000 rw-p a5467000 00:00 0 
+a5469000-a546b000 rwxp a5469000 00:00 0 
+a546b000-a546c000 rw-p a546b000 00:00 0 
+a546c000-a546d000 rwxp a546c000 00:00 0 
+a546d000-a546e000 rw-p a546d000 00:00 0 
+a546e000-a546f000 rwxp a546e000 00:00 0 
+a546f000-a5470000 rw-p a546f000 00:00 0 
+a5470000-a5473000 rwxp a5470000 00:00 0 
+a5473000-a5474000 rw-p a5473000 00:00 0 
+a5474000-a5475000 rwxp a5474000 00:00 0 
+a5475000-a5479000 rw-p a5475000 00:00 0 
+a5479000-a547a000 rwxp a5479000 00:00 0 
+a547a000-a547f000 rw-p a547a000 00:00 0 
+a547f000-a5482000 rwxp a547f000 00:00 0 
+a5482000-a5499000 rw-p a5482000 00:00 0 
+a5499000-a549b000 rwxp a5499000 00:00 0 
+a549b000-a54a4000 rw-p a549b000 00:00 0 
+a54a4000-a54a5000 rwxp a54a4000 00:00 0 
+a54a5000-a54a6000 rw-p a54a5000 00:00 0 
+a54a6000-a54aa000 rwxp a54a6000 00:00 0 
+a54aa000-a54b7000 rw-p a54aa000 00:00 0 
+a54b7000-a54b8000 rwxp a54b7000 00:00 0 
+a54b8000-a54b9000 rw-p a54b8000 00:00 0 
+a5539000-a5550000 rw-p a5539000 00:00 0 
+a5550000-a5551000 rwxp a5550000 00:00 0 
+a5551000-a555e000 rw-p a5551000 00:00 0 
+a555e000-a555f000 rwxp a555e000 00:00 0 
+a555f000-a556d000 rw-p a555f000 00:00 0 
+a556d000-a556e000 rwxp a556d000 00:00 0 
+a556e000-a5585000 rw-p a556e000 00:00 0 
+a5585000-a5586000 rwxp a5585000 00:00 0 
+a5586000-a55b9000 rw-p a5586000 00:00 0 
+a56b9000-a5718000 rw-p a56b9000 00:00 0 
+a5718000-a5719000 rwxp a5718000 00:00 0 
+a5719000-a5739000 rw-p a5719000 00:00 0 
+a5739000-a573a000 rwxp a5739000 00:00 0 
+a573a000-a5779000 rw-p a573a000 00:00 0 
+a5839000-a583b000 rwxp a5839000 00:00 0 
+a583b000-a5845000 rw-p a583b000 00:00 0 
+a5845000-a5846000 rwxp a5845000 00:00 0 
+a5846000-a5847000 rw-p a5846000 00:00 0 
+a5847000-a584a000 rwxp a5847000 00:00 0 
+a584a000-a5852000 rw-p a584a000 00:00 0 
+a5852000-a5853000 rwxp a5852000 00:00 0 
+a5853000-a5854000 rw-p a5853000 00:00 0 
+a5854000-a5856000 rwxp a5854000 00:00 0 
+a5856000-a5858000 rw-p a5856000 00:00 0 
+a5858000-a585a000 rwxp a5858000 00:00 0 
+a585a000-a5863000 rw-p a585a000 00:00 0 
+a5863000-a5864000 rwxp a5863000 00:00 0 
+a5864000-a586c000 rw-p a5864000 00:00 0 
+a586c000-a586d000 rwxp a586c000 00:00 0 
+a586d000-a586f000 rw-p a586d000 00:00 0 
+a586f000-a5870000 rwxp a586f000 00:00 0 
+a5870000-a5872000 rw-p a5870000 00:00 0 
+a5872000-a5874000 rwxp a5872000 00:00 0 
+a5874000-a5875000 rw-p a5874000 00:00 0 
+a5875000-a5876000 rwxp a5875000 00:00 0 
+a5876000-a5877000 rw-p a5876000 00:00 0 
+a5877000-a5879000 rwxp a5877000 00:00 0 
+a5879000-a587a000 rw-p a5879000 00:00 0 
+a593a000-a5973000 rw-p a593a000 00:00 0 
+a5973000-a5974000 rwxp a5973000 00:00 0 
+a5974000-a59ab000 rw-p a5974000 00:00 0 
+a5a6b000-a5a6f000 rw-p a5a6b000 00:00 0 
+a5a6f000-a5a70000 rwxp a5a6f000 00:00 0 
+a5a70000-a5a8a000 rw-p a5a70000 00:00 0 
+a5a8a000-a5a8b000 rwxp a5a8a000 00:00 0 
+a5a8b000-a5a8d000 rw-p a5a8b000 00:00 0 
+a5a8d000-a5a8e000 rwxp a5a8d000 00:00 0 
+a5a8e000-a5a99000 rw-p a5a8e000 00:00 0 
+a5a99000-a5a9a000 rwxp a5a99000 00:00 0 
+a5a9a000-a5aa8000 rw-p a5a9a000 00:00 0 
+a5aa8000-a5aa9000 rwxp a5aa8000 00:00 0 
+a5aa9000-a5aaa000 rw-p a5aa9000 00:00 0 
+a5aaa000-a5aab000 rwxp a5aaa000 00:00 0 
+a5aab000-a5aac000 rw-p a5aab000 00:00 0 
+a5aac000-a5aae000 rwxp a5aac000 00:00 0 
+a5aae000-a5ab0000 rw-p a5aae000 00:00 0 
+a5ab0000-a5ab2000 rwxp a5ab0000 00:00 0 
+a5ab2000-a5ab4000 rw-p a5ab2000 00:00 0 
+a5ab4000-a5ab5000 rwxp a5ab4000 00:00 0 
+a5ab5000-a5ab6000 rw-p a5ab5000 00:00 0 
+a5ab6000-a5ab7000 rwxp a5ab6000 00:00 0 
+a5ab7000-a5ab9000 rw-p a5ab7000 00:00 0 
+a5ab9000-a5abc000 rwxp a5ab9000 00:00 0 
+a5abc000-a5abd000 rw-p a5abc000 00:00 0 
+a5abd000-a5abe000 rwxp a5abd000 00:00 0 
+a5abe000-a5ac0000 rw-p a5abe000 00:00 0 
+a5ac0000-a5ac8000 rwxp a5ac0000 00:00 0 
+a5ac8000-a5acc000 rw-p a5ac8000 00:00 0 
+a5acc000-a5acd000 rwxp a5acc000 00:00 0 
+a5acd000-a5ad0000 rw-p a5acd000 00:00 0 
+a5ad0000-a5ad2000 rwxp a5ad0000 00:00 0 
+a5ad2000-a5ad6000 rw-p a5ad2000 00:00 0 
+a5ad6000-a5adc000 rwxp a5ad6000 00:00 0 
+a5adc000-a5ade000 rw-p a5adc000 00:00 0 
+a5ade000-a5adf000 rwxp a5ade000 00:00 0 
+a5adf000-a5ae2000 rw-p a5adf000 00:00 0 
+a5ae2000-a5ae3000 rwxp a5ae2000 00:00 0 
+a5ae3000-a5ae5000 rw-p a5ae3000 00:00 0 
+a5ae5000-a5aec000 rwxp a5ae5000 00:00 0 
+a5aec000-a5aed000 rw-p a5aec000 00:00 0 
+a5b38000-a5b39000 rw-p a5b38000 00:00 0 
+a5b39000-a5b3a000 rwxp a5b39000 00:00 0 
+a5b3a000-a5b3b000 rw-p a5b3a000 00:00 0 
+a5b3b000-a5b3c000 rwxp a5b3b000 00:00 0 
+a5b3c000-a5b4c000 rw-p a5b3c000 00:00 0 
+a5b4c000-a5b4d000 rwxp a5b4c000 00:00 0 
+a5b4d000-a5b63000 rw-p a5b4d000 00:00 0 
+a5b63000-a5b64000 rwxp a5b63000 00:00 0 
+a5b64000-a5b75000 rw-p a5b64000 00:00 0 
+a5b75000-a5b76000 rwxp a5b75000 00:00 0 
+a5b76000-a5b79000 rw-p a5b76000 00:00 0 
+a5bba000-a5bd6000 rw-p a5bba000 00:00 0 
+a5bd6000-a5bd7000 rwxp a5bd6000 00:00 0 
+a5bd7000-a5be4000 rw-p a5bd7000 00:00 0 
+a5be4000-a5be5000 rwxp a5be4000 00:00 0 
+a5be5000-a5be6000 rw-p a5be5000 00:00 0 
+a5be6000-a5be7000 rwxp a5be6000 00:00 0 
+a5be7000-a5bec000 rw-p a5be7000 00:00 0 
+a5bec000-a5bed000 rwxp a5bec000 00:00 0 
+a5bed000-a5bf7000 rw-p a5bed000 00:00 0 
+a5bf7000-a5bf8000 rwxp a5bf7000 00:00 0 
+a5bf8000-a5c26000 rw-p a5bf8000 00:00 0 
+a5c26000-a5c27000 rwxp a5c26000 00:00 0 
+a5c27000-a5c3c000 rw-p a5c27000 00:00 0 
+a5c7c000-a5c7d000 rwxp a5c7c000 00:00 0 
+a5c7d000-a5c85000 rw-p a5c7d000 00:00 0 
+a5c85000-a5c86000 rwxp a5c85000 00:00 0 
+a5c86000-a5c8a000 rw-p a5c86000 00:00 0 
+a5c8a000-a5c8b000 rwxp a5c8a000 00:00 0 
+a5c8b000-a5c97000 rw-p a5c8b000 00:00 0 
+a5c97000-a5c98000 rwxp a5c97000 00:00 0 
+a5c98000-a5ca5000 rw-p a5c98000 00:00 0 
+a5ca5000-a5ca6000 rwxp a5ca5000 00:00 0 
+a5ca6000-a5cbb000 rw-p a5ca6000 00:00 0 
+a5cbb000-a5cbc000 rwxp a5cbb000 00:00 0 
+a5cbc000-a5cbd000 rw-p a5cbc000 00:00 0 
+a5cbd000-a5cda000 rwxp a5cbd000 00:00 0 
+a5cda000-a5cdf000 rw-p a5cda000 00:00 0 
+a5cdf000-a5ce1000 rwxp a5cdf000 00:00 0 
+a5ce1000-a5ce2000 rw-p a5ce1000 00:00 0 
+a5ce2000-a5ce8000 rwxp a5ce2000 00:00 0 
+a5ce8000-a5ce9000 rw-p a5ce8000 00:00 0 
+a5ce9000-a5cf0000 rwxp a5ce9000 00:00 0 
+a5cf0000-a5cf1000 rw-p a5cf0000 00:00 0 
+a5cf1000-a5cf2000 rwxp a5cf1000 00:00 0 
+a5cf2000-a5cf3000 rw-p a5cf2000 00:00 0 
+a5cf3000-a5cfe000 rwxp a5cf3000 00:00 0 
+a5d3e000-a5d47000 rw-p a5d3e000 00:00 0 
+a5d47000-a5d48000 rwxp a5d47000 00:00 0 
+a5d48000-a5d6a000 rw-p a5d48000 00:00 0 
+a5d6a000-a5d6b000 rwxp a5d6a000 00:00 0 
+a5d6b000-a5d72000 rw-p a5d6b000 00:00 0 
+a5d72000-a5d73000 rwxp a5d72000 00:00 0 
+a5d73000-a5d7f000 rw-p a5d73000 00:00 0 
+a5dbf000-a5dd6000 rwxp a5dbf000 00:00 0 
+a5dd6000-a5dd7000 rw-p a5dd6000 00:00 0 
+a5dd7000-a5dd9000 rwxp a5dd7000 00:00 0 
+a5dd9000-a5dda000 rw-p a5dd9000 00:00 0 
+a5dda000-a5dff000 rwxp a5dda000 00:00 0 
+a5dff000-a5e45000 rw-p a5dff000 00:00 0 
+a5e45000-a5e46000 rwxp a5e45000 00:00 0 
+a5e46000-a5f00000 rw-p a5e46000 00:00 0 
+a5f21000-a5f3f000 r--p 00000000 08:06 327699     /usr/share/locale/fr/LC_MESSAGES/libc.mo
+a5fbf000-a5ff2000 rw-p a5fbf000 00:00 0 
+a5ff2000-a5ff5000 rwxp a5ff2000 00:00 0 
+a5ff5000-a5ff6000 rw-p a5ff5000 00:00 0 
+a5ff6000-a5ff9000 rwxp a5ff6000 00:00 0 
+a5ff9000-a5ffa000 rw-p a5ff9000 00:00 0 
+a5ffa000-a5ffb000 rwxp a5ffa000 00:00 0 
+a5ffb000-a5ffc000 rw-p a5ffb000 00:00 0 
+a5ffc000-a5fff000 rwxp a5ffc000 00:00 0 
+a5fff000-a6100000 rw-p a5fff000 00:00 0 
+a610e000-a6140000 rw-p a610e000 00:00 0 
+a6140000-a615d000 rwxp a6140000 00:00 0 
+a615d000-a615e000 rw-p a615d000 00:00 0 
+a615e000-a617c000 rwxp a615e000 00:00 0 
+a617c000-a6195000 rw-p a617c000 00:00 0 
+a6195000-a6196000 rwxp a6195000 00:00 0 
+a6196000-a619b000 rw-p a6196000 00:00 0 
+a619b000-a619e000 rwxp a619b000 00:00 0 
+a619e000-a61a8000 rw-p a619e000 00:00 0 
+a61a8000-a61a9000 rwxp a61a8000 00:00 0 
+a61a9000-a61af000 rw-p a61a9000 00:00 0 
+a61af000-a61b0000 rwxp a61af000 00:00 0 
+a61b0000-a61b5000 rw-p a61b0000 00:00 0 
+a61b5000-a61b7000 rwxp a61b5000 00:00 0 
+a61b7000-a61ba000 rw-p a61b7000 00:00 0 
+a61ba000-a61bb000 rwxp a61ba000 00:00 0 
+a61bb000-a6300000 rw-p a61bb000 00:00 0 
+a6307000-a6319000 rw-p a6307000 00:00 0 
+a6319000-a631e000 rwxp a6319000 00:00 0 
+a631e000-a631f000 rw-p a631e000 00:00 0 
+a631f000-a6320000 rwxp a631f000 00:00 0 
+a6320000-a6321000 rw-p a6320000 00:00 0 
+a6321000-a6322000 rwxp a6321000 00:00 0 
+a6322000-a6323000 rw-p a6322000 00:00 0 
+a6323000-a6325000 rwxp a6323000 00:00 0 
+a6325000-a632a000 rw-p a6325000 00:00 0 
+a632a000-a632b000 rwxp a632a000 00:00 0 
+a632b000-a632e000 rw-p a632b000 00:00 0 
+a632e000-a632f000 rwxp a632e000 00:00 0 
+a632f000-a633a000 rw-p a632f000 00:00 0 
+a633a000-a633e000 rwxp a633a000 00:00 0 
+a633e000-a6340000 rw-p a633e000 00:00 0 
+a6340000-a6341000 rwxp a6340000 00:00 0 
+a6341000-a6358000 rw-p a6341000 00:00 0 
+a6358000-a635a000 rwxp a6358000 00:00 0 
+a635a000-a63a3000 rw-p a635a000 00:00 0 
+a63a3000-a63a5000 rwxp a63a3000 00:00 0 
+a63a5000-a6466000 rw-p a63a5000 00:00 0 
+a6466000-a6467000 rwxp a6466000 00:00 0 
+a6467000-a6487000 rw-p a6467000 00:00 0 
+a6488000-a6494000 rw-p a6488000 00:00 0 
+a6494000-a6495000 rwxp a6494000 00:00 0 
+a6495000-a64c8000 rw-p a6495000 00:00 0 
+a6508000-a6546000 rw-p a6508000 00:00 0 
+a6546000-a6547000 rwxp a6546000 00:00 0 
+a6547000-a6548000 rw-p a6547000 00:00 0 
+a6549000-a658e000 rw-p a6549000 00:00 0 
+a658e000-a658f000 rwxp a658e000 00:00 0 
+a658f000-a6592000 rw-p a658f000 00:00 0 
+a6592000-a6594000 rwxp a6592000 00:00 0 
+a6594000-a66fe000 rw-p a6594000 00:00 0 
+a66fe000-a6700000 ---p a66fe000 00:00 0 
+a6700000-a6724000 rw-p a6700000 00:00 0 
+a6724000-a6725000 rwxp a6724000 00:00 0 
+a6725000-a6800000 rw-p a6725000 00:00 0 
+a6800000-a68fd000 rw-p a6800000 00:00 0 
+a68fd000-a6900000 ---p a68fd000 00:00 0 
+a6915000-a691c000 rw-s 00000000 00:06 164003860  /SYSV00000000 (deleted)
+a6922000-a6966000 rw-p a6922000 00:00 0 
+a6966000-a6968000 rwxp a6966000 00:00 0 
+a6968000-a6969000 rw-p a6968000 00:00 0 
+a6969000-a696c000 rwxp a6969000 00:00 0 
+a696c000-a6970000 rw-p a696c000 00:00 0 
+a6970000-a6971000 rwxp a6970000 00:00 0 
+a6971000-a6972000 rw-p a6971000 00:00 0 
+a6972000-a6975000 rwxp a6972000 00:00 0 
+a6975000-a6977000 rw-p a6975000 00:00 0 
+a6977000-a6979000 rwxp a6977000 00:00 0 
+a6979000-a697a000 rw-p a6979000 00:00 0 
+a697a000-a6988000 rwxp a697a000 00:00 0 
+a6988000-a6989000 rw-p a6988000 00:00 0 
+a6989000-a698a000 rwxp a6989000 00:00 0 
+a698a000-a698b000 rw-p a698a000 00:00 0 
+a698b000-a698f000 rwxp a698b000 00:00 0 
+a698f000-a6990000 rw-p a698f000 00:00 0 
+a6990000-a6993000 rwxp a6990000 00:00 0 
+a6993000-a6994000 rw-p a6993000 00:00 0 
+a6994000-a6997000 rwxp a6994000 00:00 0 
+a6997000-a6998000 rw-p a6997000 00:00 0 
+a6998000-a699c000 rwxp a6998000 00:00 0 
+a699c000-a699d000 rw-p a699c000 00:00 0 
+a699d000-a69a0000 rwxp a699d000 00:00 0 
+a69a0000-a69a9000 rw-p a69a0000 00:00 0 
+a69a9000-a69ab000 rwxp a69a9000 00:00 0 
+a69ab000-a69af000 rw-p a69ab000 00:00 0 
+a69af000-a69b1000 rwxp a69af000 00:00 0 
+a69b1000-a69ba000 rw-p a69b1000 00:00 0 
+a69ba000-a69bb000 rwxp a69ba000 00:00 0 
+a69bb000-a69c4000 rw-p a69bb000 00:00 0 
+a69c4000-a69c9000 rwxp a69c4000 00:00 0 
+a69c9000-a69cb000 rw-p a69c9000 00:00 0 
+a69cb000-a69d1000 rwxp a69cb000 00:00 0 
+a69d1000-a69d4000 rw-p a69d1000 00:00 0 
+a69d4000-a69d5000 rwxp a69d4000 00:00 0 
+a69d5000-a69d6000 rw-p a69d5000 00:00 0 
+a69d6000-a69d9000 rwxp a69d6000 00:00 0 
+a69d9000-a69dc000 rw-p a69d9000 00:00 0 
+a69dc000-a69e1000 rwxp a69dc000 00:00 0 
+a69e1000-a69e2000 rw-p a69e1000 00:00 0 
+a69e2000-a6b89000 r--s 00000000 08:05 16982      /usr/local/matlab2007a/java/jarext/xercesImpl.jar
+a6b89000-a6ba4000 r--s 00000000 08:05 16983      /usr/local/matlab2007a/java/jarext/xml-apis.jar
+a6ba4000-a6c82000 r--s 00000000 08:05 16980      /usr/local/matlab2007a/java/jarext/xalan.jar
+a6c82000-a6ca1000 r--s 00000000 08:05 16979      /usr/local/matlab2007a/java/jarext/wsdl4j.jar
+a6ca1000-a6d05000 r--s 00000000 08:05 16977      /usr/local/matlab2007a/java/jarext/webrenderer.jar
+a6d05000-a6d18000 r--s 00000000 08:05 16976      /usr/local/matlab2007a/java/jarext/vb20.jar
+a6d18000-a704f000 r--s 00000000 08:05 16975      /usr/local/matlab2007a/java/jarext/saxon8.jar
+a704f000-a7059000 r--s 00000000 08:05 16974      /usr/local/matlab2007a/java/jarext/saxon8-xpath.jar
+a7059000-a7064000 r--s 00000000 08:05 16973      /usr/local/matlab2007a/java/jarext/saxon8-dom.jar
+a7064000-a70fd000 r--s 00000000 08:05 16971      /usr/local/matlab2007a/java/jarext/saxon.jar
+a70fd000-a7102000 r--s 00000000 08:05 16970      /usr/local/matlab2007a/java/jarext/saaj.jar
+a7102000-a711c000 r--s 00000000 08:05 16969      /usr/local/matlab2007a/java/jarext/nekohtml.jar
+a711c000-a7137000 r--s 00000000 08:05 16968      /usr/local/matlab2007a/java/jarext/mwucarunits.jar
+a7137000-a71e4000 r--s 00000000 08:05 16967      /usr/local/matlab2007a/java/jarext/mail.jar
+a71e4000-a7247000 r--s 00000000 08:05 16966      /usr/local/matlab2007a/java/jarext/lucene-core-2.0.0.jar
+a7247000-a7256000 r--s 00000000 08:05 16965      /usr/local/matlab2007a/java/jarext/lucene-analyzers-2.0.0.jar
+a7256000-a7274000 r--s 00000000 08:05 16964      /usr/local/matlab2007a/java/jarext/junit.jar
+a7274000-a72fc000 r--s 00000000 08:05 16963      /usr/local/matlab2007a/java/jarext/jide/jide-grids.jar
+a72fc000-a731b000 r--s 00000000 08:05 16961      /usr/local/matlab2007a/java/jarext/jide/jide-dialogs.jar
+a731b000-a7350000 r--s 00000000 08:05 16960      /usr/local/matlab2007a/java/jarext/jide/jide-designer.jar
+a7350000-a7372000 r--s 00000000 08:05 16959      /usr/local/matlab2007a/java/jarext/jide/jide-components.jar
+a7372000-a739b000 r--s 00000000 08:05 16962      /usr/local/matlab2007a/java/jarext/jide/jide-dock.jar
+a739b000-a74e0000 r--s 00000000 08:05 16958      /usr/local/matlab2007a/java/jarext/jide/jide-common.jar
+a74e0000-a7501000 r--s 00000000 08:05 16957      /usr/local/matlab2007a/java/jarext/jide/jide-action.jar
+a7501000-a755c000 r--s 00000000 08:05 16955      /usr/local/matlab2007a/java/jarext/jgoodies-looks.jar
+a755c000-a7572000 r--s 00000000 08:05 16954      /usr/local/matlab2007a/java/jarext/jgoodies-forms.jar
+a7572000-a757a000 r--s 00000000 08:05 16953      /usr/local/matlab2007a/java/jarext/jaxrpc.jar
+a757a000-a758a000 r--s 00000000 08:05 16951      /usr/local/matlab2007a/java/jarext/jakarta-oro-2.0.8.jar
+a758a000-a7596000 r--s 00000000 08:05 16950      /usr/local/matlab2007a/java/jarext/jaccess-1_4.jar
+a7596000-a75bd000 r--s 00000000 08:05 16917      /usr/local/matlab2007a/java/jarext/J2PrinterWorks.jar
+a75bd000-a75f8000 r--s 00000000 08:05 16949      /usr/local/matlab2007a/java/jarext/ice/icessl.jar
+a75f8000-a75f9000 r--s 00000000 08:05 16948      /usr/local/matlab2007a/java/jarext/ice/ib6xalan.jar
+a75f9000-a7611000 r--s 00000000 08:05 16947      /usr/local/matlab2007a/java/jarext/ice/ib6util.jar
+a7611000-a7621000 r--s 00000000 08:05 16946      /usr/local/matlab2007a/java/jarext/ice/ib6swing.jar
+a7621000-a7669000 r--s 00000000 08:05 16945      /usr/local/matlab2007a/java/jarext/ice/ib6js.jar
+a7669000-a766a000 r--s 00000000 08:05 16944      /usr/local/matlab2007a/java/jarext/ice/ib6https.jar
+a766a000-a7683000 r--s 00000000 08:05 16943      /usr/local/matlab2007a/java/jarext/ice/ib6http.jar
+a7683000-a7697000 r--s 00000000 08:05 16942      /usr/local/matlab2007a/java/jarext/ice/ib6extra.jar
+a7697000-a7721000 r--s 00000000 08:05 16941      /usr/local/matlab2007a/java/jarext/ice/ib6core.jar
+a7721000-a774e000 r--s 00000000 08:05 16938      /usr/local/matlab2007a/java/jarext/commons-net-1.4.1.jar
+a774e000-a7758000 r--s 00000000 08:05 16936      /usr/local/matlab2007a/java/jarext/commons-logging.jar
+a7758000-a776a000 r--s 00000000 08:05 16934      /usr/local/matlab2007a/java/jarext/commons-discovery.jar
+a776a000-a7779000 r--s 00000000 08:05 16933      /usr/local/matlab2007a/java/jarext/commapi/comm.jar
+a7779000-a77b9000 r--s 00000000 08:05 16931      /usr/local/matlab2007a/java/jarext/collections.jar
+a77b9000-a77e3000 r--s 00000000 08:05 16930      /usr/local/matlab2007a/java/jarext/batik-svggen.jar
+a77e3000-a7972000 r--s 00000000 08:05 16928      /usr/local/matlab2007a/java/jarext/axis.jar
+a7972000-a7982000 r--s 00000000 08:05 16926      /usr/local/matlab2007a/java/jarext/avalon.jar
+a7982000-a7a7f000 r--s 00000000 08:05 16921      /usr/local/matlab2007a/java/jarext/ant.jar
+a7a7f000-a7a9a000 r--s 00000000 08:05 16919      /usr/local/matlab2007a/java/jarext/activation.jar
+a7a9a000-a7aa6000 r--s 00000000 08:05 16918      /usr/local/matlab2007a/java/jarext/access-bridge.jar
+a7aa6000-a7aaa000 r--s 00000000 08:05 16915      /usr/local/matlab2007a/java/jar/xml.jar
+a7aaa000-a7ad2000 r--s 00000000 08:05 16912      /usr/local/matlab2007a/java/jar/toolbox/timeseries.jar
+a7ad2000-a7b01000 r--s 00000000 08:05 16911      /usr/local/matlab2007a/java/jar/toolbox/testmeas.jar
+a7b01000-a7b1c000 r--s 00000000 08:05 16910      /usr/local/matlab2007a/java/jar/toolbox/rptgencore.jar
+a7b1c000-a7b99000 r--s 00000000 08:05 16909      /usr/local/matlab2007a/java/jar/toolbox/matlab/guide.jar
+a7b99000-a7ba0000 r--s 00000000 08:05 16908      /usr/local/matlab2007a/java/jar/toolbox/matlab/audiovideo.jar
+a7ba0000-a7cd3000 r--s 00000000 08:05 16906      /usr/local/matlab2007a/java/jar/toolbox/instrument.jar
+a7cd3000-a7d24000 r--s 00000000 08:05 16905      /usr/local/matlab2007a/java/jar/toolbox/control.jar
+a7d24000-a7d2a000 r--s 00000000 08:05 16903      /usr/local/matlab2007a/java/jar/timer.jar
+a7d2a000-a7d39000 r--s 00000000 08:05 16902      /usr/local/matlab2007a/java/jar/services.jar
+a7d39000-a7de5000 r--s 00000000 08:05 16901      /usr/local/matlab2007a/java/jar/page.jar
+a7de5000-a7df6000 r--s 00000000 08:05 16900      /usr/local/matlab2007a/java/jar/org/openide.jar
+a7df6000-a7f14000 r--s 00000000 08:05 16899      /usr/local/matlab2007a/java/jar/org/netbeans.jar
+a7f14000-a7fd5000 r--s 00000000 08:05 16897      /usr/local/matlab2007a/java/jar/mwt.jar
+a7fd5000-a8126000 r--s 00000000 08:05 16896      /usr/local/matlab2007a/java/jar/mwswing.jar
+a8126000-a826f000 r--s 00000000 08:05 16895      /usr/local/matlab2007a/java/jar/mlwidgets.jar
+a826f000-a8286000 r--s 00000000 08:05 16894      /usr/local/matlab2007a/java/jar/mlwebservices.jar
+a8286000-a8295000 r--s 00000000 08:05 16893      /usr/local/matlab2007a/java/jar/mlservices.jar
+a8295000-a8414000 r--s 00000000 08:05 16892      /usr/local/matlab2007a/java/jar/mde.jar
+a8414000-a844b000 r--s 00000000 08:05 16891      /usr/local/matlab2007a/java/jar/jmi.jar
+a844b000-a845a000 r--s 00000000 08:05 16890      /usr/local/matlab2007a/java/jar/instwiz.jar
+a845a000-a84a0000 r--s 00000000 08:05 16889      /usr/local/matlab2007a/java/jar/ide.jar
+a84a0000-a8549000 r--s 00000000 08:05 16888      /usr/local/matlab2007a/java/jar/ice.jar
+a8549000-a85da000 r--s 00000000 08:05 16887      /usr/local/matlab2007a/java/jar/hg.jar
+a85da000-a85f5000 r--s 00000000 08:05 16886      /usr/local/matlab2007a/java/jar/beans.jar
+a85f5000-a8641000 r--s 00000000 08:05 16885      /usr/local/matlab2007a/java/jar/bde.jar
+a8641000-a870f000 r--s 00000000 08:05 16914      /usr/local/matlab2007a/java/jar/widgets.jar
+a870f000-a872c000 r--s 00000000 08:05 16913      /usr/local/matlab2007a/java/jar/util.jar
+a872c000-a8757000 r--s 00000000 08:05 81987      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/ext/sunpkcs11.jar
+a8757000-a881a000 r--s 00000000 08:05 81985      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/ext/localedata.jar
+a881a000-a8840000 r--s 00000000 08:05 81986      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/ext/sunjce_provider.jar
+a8840000-a9b30000 rwxp a8840000 00:00 0 
+a9b30000-aa040000 rwxp a9b30000 00:00 0 
+aa040000-ad8c8000 rwxp aa040000 00:00 0 
+ad8c8000-ae840000 rwxp ad8c8000 00:00 0 
+ae840000-b0140000 rwxp ae840000 00:00 0 
+b0140000-b2440000 rwxp b0140000 00:00 0 
+b2442000-b2445000 rw-p b2442000 00:00 0 
+b2445000-b2447000 r--s 00000000 08:05 81984      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/ext/dnsns.jar
+b2447000-b2b7f000 rwxp b2447000 00:00 0 
+b2b7f000-b4447000 rwxp b2b7f000 00:00 0 
+b4447000-b4c65000 r--s 00000000 08:05 81973      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/charsets.jar
+b4c65000-b4c79000 r--s 00000000 08:05 82105      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/jce.jar
+b4c79000-b4cf2000 r--s 00000000 08:05 82106      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/jsse.jar
+b4cf2000-b4d5a000 rw-p b4cf2000 00:00 0 
+b4d5a000-b6f15000 r--s 00000000 08:05 82164      /usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/rt.jar
+b6f15000-b6f1d000 rw-s 00000000 08:08 16131      /tmp/hsperfdata_nadolski/7112
+b6f1d000-b6f1e000 ---p b6f1d000 00:00 0 
+b6f1e000-b6f1f000 rw-p b6f1e000 00:00 0 
+b6f1f000-b6f48000 rwxp b6f1f000 00:00 0 
+b6f48000-b6f4a000 rw-p b6f48000 00:00 0 
+b6f4a000-b6f4b000 rwxp b6f4a000 00:00 0 
+b6f4b000-b6f4c000 rw-p b6f4b000 00:00 0 
+b6f4c000-b6f51000 rwxp b6f4c000 00:00 0 
+b6f51000-b6f5f000 rw-p b6f51000 00:00 0 
+b6f5f000-b6f61000 rwxp b6f5f000 00:00 0 
+b6f61000-b6f63000 rw-p b6f61000 00:00 0 
+b6f63000-b6f64000 rwxp b6f63000 00:00 0 
+b6f64000-b6f67000 rw-p b6f64000 00:00 0 
+b6f67000-b6f6a000 rwxp b6f67000 00:00 0 
+b6f6a000-b6f6b000 rw-p b6f6a000 00:00 0 
+b6f6b000-b6f6e000 rwxp b6f6b000 00:00 0 
+b6f6e000-b6f6f000 rw-p b6f6e000 00:00 0 
+b6f6f000-b6f73000 rwxp b6f6f000 00:00 0 
+b6f73000-b6f74000 rw-p b6f73000 00:00 0 
+b6f74000-b6f75000 rwxp b6f74000 00:00 0 
+b6f75000-b6f76000 rw-p b6f75000 00:00 0 
+b6f76000-b6f7a000 rwxp b6f76000 00:00 0 
+b6f7a000-b6f7c000 rw-p b6f7a000 00:00 0 
+b6f7c000-b6f7f000 rwxp b6f7c000 00:00 0 
+b6f7f000-b6fcf000 rw-p b6f7f000 00:00 0 
+b6fcf000-b6fd0000 rwxp b6fcf000 00:00 0 
+b6fd0000-b6fd4000 rw-p b6fd0000 00:00 0 
+b6fd4000-b6fd5000 rwxp b6fd4000 00:00 0 
+b6fd5000-b6fe0000 rw-p b6fd5000 00:00 0 
+b6fe0000-b6fe6000 r--s 00000000 08:06 327956     /usr/lib/gconv/gconv-modules.cache
+b6fe7000-b6ff7000 rw-p b6fe7000 00:00 0 
+b6ff7000-b6ff8000 rwxp b6ff7000 00:00 0 
+b6ff8000-b706b000 rw-p b6ff8000 00:00 0 
+b706b000-b706d000 rwxp b706b000 00:00 0 
+b706d000-b706f000 rw-p b706d000 00:00 0 
+b706f000-b7070000 rwxp b706f000 00:00 0 
+b7070000-b7072000 rw-p b7070000 00:00 0 
+b7072000-b7074000 rwxp b7072000 00:00 0 
+b7074000-b7076000 rw-p b7074000 00:00 0 
+b7076000-b707c000 rwxp b7076000 00:00 0 
+b707c000-b707f000 rw-p b707c000 00:00 0 
+b707f000-b7081000 rwxp b707f000 00:00 0 
+b7081000-b7091000 rw-p b7081000 00:00 0 
+b7091000-b7092000 rwxp b7091000 00:00 0 
+b7092000-b70af000 rw-p b7092000 00:00 0 
+b70af000-b70b1000 rwxp b70af000 00:00 0 
+b70b1000-b70b2000 rw-p b70b1000 00:00 0 
+b70b2000-b70b4000 rwxp b70b2000 00:00 0 
+b70b4000-b70b5000 rw-p b70b4000 00:00 0 
+b70b5000-b70bb000 rwxp b70b5000 00:00 0 
+b70bb000-b70bc000 rw-p b70bb000 00:00 0 
+b70bc000-b70c2000 rwxp b70bc000 00:00 0 
+b70c2000-b70c6000 rw-p b70c2000 00:00 0 
+b70c6000-b70c7000 rwxp b70c6000 00:00 0 
+b70c7000-b70c8000 rw-p b70c7000 00:00 0 
+b70c8000-b70ca000 rwxp b70c8000 00:00 0 
+b70ca000-b70cc000 rw-p b70ca000 00:00 0 
+b70cc000-b70cd000 rwxp b70cc000 00:00 0 
+b70cd000-b70d0000 rw-p b70cd000 00:00 0 
+b70d0000-b70d2000 rwxp b70d0000 00:00 0 
+b70d2000-b70d3000 rw-p b70d2000 00:00 0 
+b70d3000-b70d8000 rwxp b70d3000 00:00 0 
+b70d8000-b70d9000 rw-p b70d8000 00:00 0 
+b70d9000-b70da000 rwxp b70d9000 00:00 0 
+b70da000-b70dc000 rw-p b70da000 00:00 0 
+b70dc000-b70dd000 rwxp b70dc000 00:00 0 
+b70dd000-b70df000 rw-p b70dd000 00:00 0 
+b70df000-b70e4000 rwxp b70df000 00:00 0 
+b70e4000-b70e5000 rw-p b70e4000 00:00 0 
+b70e5000-b70e7000 rwxp b70e5000 00:00 0 
+b70e7000-b70e8000 rw-p b70e7000 00:00 0 
+b70e8000-b70eb000 rwxp b70e8000 00:00 0 
+b70eb000-b70ec000 rw-p b70eb000 00:00 0 
+b70ec000-b70f1000 rwxp b70ec000 00:00 0 
+b70f1000-b70f2000 rw-p b70f1000 00:00 0 
+b70f2000-b7106000 rwxp b70f2000 00:00 0 
+b7106000-b7107000 rw-p b7106000 00:00 0 
+b7107000-b7121000 rwxp b7107000 00:00 0 
+b7121000-b7122000 rw-p b7121000 00:00 0 
+b7122000-b7123000 rwxp b7122000 00:00 0 
+b7123000-b7124000 rw-p b7123000 00:00 0 
+b7124000-b7126000 rwxp b7124000 00:00 0 
+b7126000-b7168000 rw-p b7126000 00:00 0 
+b7168000-b7368000 r--p 00000000 08:06 298128     /usr/lib/locale/locale-archive
+b7368000-b738c000 rw-p b7368000 00:00 0 
+b738c000-b738d000 rwxp b738c000 00:00 0 
+b738d000-b7390000 rw-p b738d000 00:00 0 
+b7390000-b7391000 rwxp b7390000 00:00 0 
+b7391000-b7395000 rw-p b7391000 00:00 0 
+b7395000-b7397000 rwxp b7395000 00:00 0 
+b7397000-b739d000 rw-p b7397000 00:00 0 
+b739d000-b739e000 rwxp b739d000 00:00 0 
+b739e000-b739f000 rw-p b739e000 00:00 0 
+b739f000-b73a0000 rwxp b739f000 00:00 0 
+b73a0000-b73a3000 rw-p b73a0000 00:00 0 
+b73a3000-b73a4000 rwxp b73a3000 00:00 0 
+b73a4000-b73e4000 rw-p b73a4000 00:00 0 
+b73e4000-b73e6000 rwxp b73e4000 00:00 0 
+b73e6000-b742e000 rw-p b73e6000 00:00 0 
+b742e000-b742f000 rwxp b742e000 00:00 0 
+b742f000-b7433000 rw-p b742f000 00:00 0 
+b7433000-b7437000 rwxp b7433000 00:00 0 
+b7437000-b7439000 rw-p b7437000 00:00 0 
+b7439000-b743f000 rwxp b7439000 00:00 0 
+b743f000-b7440000 rw-p b743f000 00:00 0 
+b7440000-b7441000 rwxp b7440000 00:00 0 
+b7441000-b7442000 rw-p b7441000 00:00 0 
+b7442000-b7443000 rwxp b7442000 00:00 0 
+b7443000-b7444000 rw-p b7443000 00:00 0 
+b7444000-b7445000 rwxp b7444000 00:00 0 
+b7445000-b7447000 rw-p b7445000 00:00 0 
+b7447000-b7449000 rwxp b7447000 00:00 0 
+b7449000-b744b000 rw-p b7449000 00:00 0 
+b744b000-b744c000 rwxp b744b000 00:00 0 
+b744c000-b7459000 rw-p b744c000 00:00 0 
+b7459000-b745a000 rwxp b7459000 00:00 0 
+b745a000-b745b000 rw-p b745a000 00:00 0 
+b745b000-b745c000 rwxp b745b000 00:00 0 
+b745c000-b7460000 rw-p b745c000 00:00 0 
+b7460000-b7461000 rwxp b7460000 00:00 0 
+b7461000-b7463000 rw-p b7461000 00:00 0 
+b7463000-b7466000 rwxp b7463000 00:00 0 
+b7466000-b7468000 rw-p b7466000 00:00 0 
+b7468000-b7469000 rwxp b7468000 00:00 0 
+b7469000-b748d000 rw-p b7469000 00:00 0 
+b748d000-b748f000 rwxp b748d000 00:00 0 
+b748f000-b7496000 rw-p b748f000 00:00 0 
+b7496000-b7497000 rwxp b7496000 00:00 0 
+b7497000-b74a8000 rw-p b7497000 00:00 0 
+b74a8000-b74a9000 rwxp b74a8000 00:00 0 
+b74a9000-b762f000 rw-p b74a9000 00:00 0 
+b762f000-b7f81000 r--s 00000000 08:05 32787      /usr/local/matlab2007a/bin/glnx86/icudt32l.dat
+b7f81000-b7f91000 rw-p b7f81000 00:00 0 
+b7fa7000-b7fa9000 rw-p b7fa7000 00:00 0 
+bfd12000-bfd15000 ---p bfd12000 00:00 0 
+bfd15000-bff12000 rwxp bfd15000 00:00 0 
+bff12000-c0000000 rw-p bff12000 00:00 0 
+ffffe000-fffff000 ---p 00000000 00:00 0 
+
+VM Arguments:
+jvm_args: -Xms64m -XX:NewRatio=3 -XX:MaxPermSize=32M -Xmx96m -Djava.util.prefs.PreferencesFactory=com.mathworks.util.DisabledPreferencesFactory -XX:+AllowUserSignalHandlers -Djava.library.path=/usr/local/matlab2007a/bin/glnx86 vfprintf abort
+java_command: <unknown>
+
+Environment Variables:
+JAVA_HOME=/usr/java/j2re1.5.0_11/
+PATH=/usr/NX/bin:/usr/local/tango-soleil/tango/bin:/usr/java/j2sdk/bin:/usr/java/j2re/bin:/usr/share/texmf/tex4ht/base/unix:/usr/NX/bin:/usr/local/tango-soleil/tango/bin:/usr/java/j2sdk/bin:/usr/java/j2re/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/NX/bin:/usr/sbin:.:/home/nadolski/bin:/sbin:/opt/openoffice.org2.0/program/:/usr/local/tango/tango/bin:/usr/java/jre1.5.0_06/bin:/opt/intel/compiler70/ia32/bin:/usr/NX/bin
+LD_LIBRARY_PATH=/usr/local/matlab2007a/sys/os/glnx86:/usr/local/matlab2007a/bin/glnx86:/usr/local/matlab2007a/extern/lib/glnx86:/usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads:/usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/client:/usr/local/matlab2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386::/usr/local/tango-soleil/tango/lib:/usr/local/tango-soleil/omniorb/lib:/usr/local/tango-soleil/bindings/python/python23:/usr/local/tango-soleil/bindings/python/python22
+SHELL=/bin/bash
+DISPLAY=:0.0
+ARCH=glnx86
+
+
+---------------  S Y S T E M  ---------------
+
+OS:CentOS release 4.4 (Final)
+
+uname:Linux 2.6.9-34.0.2.ELsmp #1 SMP Fri Jul 7 10:16:56 CDT 2006 i686
+libc:glibc 2.3.4 NPTL 2.3.4 
+rlimit: STACK 10240k, CORE 0k, NPROC 32744, NOFILE 1024, AS infinity
+load average:0.76 0.29 0.21
+
+CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht
+
+Memory: 4k page, physical 506k(26k free), swap 1023k(1023k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for linux-x86, built on Sep 15 2004 03:56:41 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /trunk/machine/SOLEIL/StorageRing/orbit/localdata/bpmdata.txt
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/localdata/bpmdata.txt	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/localdata/bpmdata.txt	(revision 17)
@@ -0,0 +1,121 @@
+index    name    stat  avail  ifit     ref        des          abs       act         fit       weight
+  1    BPMx001     1     1     1     -0.000     -0.000        0.000     -0.000      0.000      1.000
+  2    BPMx002     2     2     2     -0.000     -0.000        0.000     -0.000      0.000      1.000
+  3    BPMx003     3     3     3      0.000      0.000        0.000     -0.000      0.000      1.000
+  4    BPMx004     4     4     4     -0.000     -0.000        0.000     -0.000      0.000      1.000
+  5    BPMx005     5     5     5     -0.000     -0.000        0.000     -0.000      0.000      1.000
+  6    BPMx006     6     6     6      0.000      0.000        0.000     -0.000      0.000      1.000
+  7    BPMx007     7     7     7      0.000      0.000        0.000     -0.000      0.000      1.000
+  8    BPMx008     8     8     8      0.000      0.000        0.000     -0.000      0.000      1.000
+  9    BPMx009     9     9     9     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 10    BPMx010    10    10    10      0.000      0.000        0.000     -0.000      0.000      1.000
+ 11    BPMx011    11    11    11     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 12    BPMx012    12    12    12      0.000      0.000        0.000     -0.000      0.000      1.000
+ 13    BPMx013    13    13    13      0.000      0.000        0.000     -0.000      0.000      1.000
+ 14    BPMx014    14    14    14      0.000      0.000        0.000     -0.000      0.000      1.000
+ 15    BPMx015    15    15    15      0.000      0.000        0.000     -0.000      0.000      1.000
+ 16    BPMx016    16    16    16     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 17    BPMx017    17    17    17      0.000      0.000        0.000     -0.000      0.000      1.000
+ 18    BPMx018    18    18    18     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 19    BPMx019    19    19    19      0.000      0.000        0.000     -0.000      0.000      1.000
+ 20    BPMx020    20    20    20      0.000      0.000        0.000     -0.000      0.000      1.000
+ 21    BPMx021    21    21    21      0.000      0.000        0.000     -0.000      0.000      1.000
+ 22    BPMx022    22    22    22      0.000      0.000        0.000     -0.000      0.000      1.000
+ 23    BPMx023    23    23    23      0.000      0.000        0.000     -0.000      0.000      1.000
+ 24    BPMx024    24    24    24      0.000      0.000        0.000     -0.000      0.000      1.000
+ 25    BPMx025    25    25    25     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 26    BPMx026    26    26    26      0.000      0.000        0.000     -0.000      0.000      1.000
+ 27    BPMx027    27    27    27      0.000      0.000        0.000     -0.000      0.000      1.000
+ 28    BPMx028    28    28    28     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 29    BPMx029    29    29    29     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 30    BPMx030    30    30    30     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 31    BPMx031    31    31    31     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 32    BPMx032    32    32    32      0.000      0.000        0.000     -0.000      0.000      1.000
+ 33    BPMx033    33    33    33      0.000      0.000        0.000     -0.000      0.000      1.000
+ 34    BPMx034    34    34    34     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 35    BPMx035    35    35    35      0.000      0.000        0.000     -0.000      0.000      1.000
+ 36    BPMx036    36    36    36     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 37    BPMx037    37    37    37     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 38    BPMx038    38    38    38      0.000      0.000        0.000     -0.000      0.000      1.000
+ 39    BPMx039    39    39    39      0.000      0.000        0.000     -0.000      0.000      1.000
+ 40    BPMx040    40    40    40     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 41    BPMx041    41    41    41      0.000      0.000        0.000     -0.000      0.000      1.000
+ 42    BPMx042    42    42    42     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 43    BPMx043    43    43    43     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 44    BPMx044    44    44    44      0.000      0.000        0.000     -0.000      0.000      1.000
+ 45    BPMx045    45    45    45     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 46    BPMx046    46    46    46     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 47    BPMx047    47    47    47     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 48    BPMx048    48    48    48      0.000      0.000        0.000     -0.000      0.000      1.000
+ 49    BPMx049    49    49    49     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 50    BPMx050    50    50    50      0.000      0.000        0.000     -0.000      0.000      1.000
+ 51    BPMx051    51    51    51      0.000      0.000        0.000     -0.000      0.000      1.000
+ 52    BPMx052    52    52    52      0.000      0.000        0.000     -0.000      0.000      1.000
+ 53    BPMx053    53    53    53     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 54    BPMx054    54    54    54     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 55    BPMx055    55    55    55      0.000      0.000        0.000     -0.000      0.000      1.000
+ 56    BPMx056    56    56    56      0.000      0.000        0.000     -0.000      0.000      1.000
+ 57    BPMx057    57    57    57      0.000      0.000        0.000     -0.000      0.000      1.000
+ 58    BPMx058    58    58    58      0.000      0.000        0.000     -0.000      0.000      1.000
+ 59    BPMx059    59    59    59     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 60    BPMx060    60    60    60     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 61    BPMx061    61    61    61     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 62    BPMx062    62    62    62      0.000      0.000        0.000     -0.000      0.000      1.000
+ 63    BPMx063    63    63    63     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 64    BPMx064    64    64    64      0.000      0.000        0.000     -0.000      0.000      1.000
+ 65    BPMx065    65    65    65      0.000      0.000        0.000     -0.000      0.000      1.000
+ 66    BPMx066    66    66    66     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 67    BPMx067    67    67    67      0.000      0.000        0.000     -0.000      0.000      1.000
+ 68    BPMx068    68    68    68      0.000      0.000        0.000     -0.000      0.000      1.000
+ 69    BPMx069    69    69    69     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 70    BPMx070    70    70    70     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 71    BPMx071    71    71    71     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 72    BPMx072    72    72    72     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 73    BPMx073    73    73    73      0.000      0.000        0.000     -0.000      0.000      1.000
+ 74    BPMx074    74    74    74      0.000      0.000        0.000     -0.000      0.000      1.000
+ 75    BPMx075    75    75    75      0.000      0.000        0.000     -0.000      0.000      1.000
+ 76    BPMx076    76    76    76      0.000      0.000        0.000     -0.000      0.000      1.000
+ 77    BPMx077    77    77    77      0.000      0.000        0.000     -0.000      0.000      1.000
+ 78    BPMx078    78    78    78     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 79    BPMx079    79    79    79     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 80    BPMx080    80    80    80      0.000      0.000        0.000     -0.000      0.000      1.000
+ 81    BPMx081    81    81    81     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 82    BPMx082    82    82    82      0.000      0.000        0.000     -0.000      0.000      1.000
+ 83    BPMx083    83    83    83     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 84    BPMx084    84    84    84     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 85    BPMx085    85    85    85      0.000      0.000        0.000     -0.000      0.000      1.000
+ 86    BPMx086    86    86    86      0.000      0.000        0.000     -0.000      0.000      1.000
+ 87    BPMx087    87    87    87     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 88    BPMx088    88    88    88      0.000      0.000        0.000     -0.000      0.000      1.000
+ 89    BPMx089    89    89    89      0.000      0.000        0.000     -0.000      0.000      1.000
+ 90    BPMx090    90    90    90     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 91    BPMx091    91    91    91      0.000      0.000        0.000     -0.000      0.000      1.000
+ 92    BPMx092    92    92    92     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 93    BPMx093    93    93    93      0.000      0.000        0.000     -0.000      0.000      1.000
+ 94    BPMx094    94    94    94     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 95    BPMx095    95    95    95      0.000      0.000        0.000     -0.000      0.000      1.000
+ 96    BPMx096    96    96    96      0.000      0.000        0.000     -0.000      0.000      1.000
+ 97    BPMx097    97    97    97     -0.000     -0.000        0.000     -0.000      0.000      1.000
+ 98    BPMx098    98    98    98      0.000      0.000        0.000     -0.000      0.000      1.000
+ 99    BPMx099    99    99    99     -0.000     -0.000        0.000     -0.000      0.000      1.000
+100    BPMx100   100   100   100      0.000      0.000        0.000     -0.000      0.000      1.000
+101    BPMx101   101   101   101     -0.000     -0.000        0.000     -0.000      0.000      1.000
+102    BPMx102   102   102   102     -0.000     -0.000        0.000     -0.000      0.000      1.000
+103    BPMx103   103   103   103     -0.000     -0.000        0.000     -0.000      0.000      1.000
+104    BPMx104   104   104   104      0.000      0.000        0.000     -0.000      0.000      1.000
+105    BPMx105   105   105   105     -0.000     -0.000        0.000     -0.000      0.000      1.000
+106    BPMx106   106   106   106      0.000      0.000        0.000     -0.000      0.000      1.000
+107    BPMx107   107   107   107     -0.000     -0.000        0.000     -0.000      0.000      1.000
+108    BPMx108   108   108   108     -0.000     -0.000        0.000     -0.000      0.000      1.000
+109    BPMx109   109   109   109     -0.000     -0.000        0.000     -0.000      0.000      1.000
+110    BPMx110   110   110   110      0.000      0.000        0.000     -0.000      0.000      1.000
+111    BPMx111   111   111   111      0.000      0.000        0.000     -0.000      0.000      1.000
+112    BPMx112   112   112   112     -0.000     -0.000        0.000     -0.000      0.000      1.000
+113    BPMx113   113   113   113     -0.000     -0.000        0.000     -0.000      0.000      1.000
+114    BPMx114   114   114   114      0.000      0.000        0.000     -0.000      0.000      1.000
+115    BPMx115   115   115   115     -0.000     -0.000        0.000     -0.000      0.000      1.000
+116    BPMx116   116   116   116      0.000      0.000        0.000     -0.000      0.000      1.000
+117    BPMx117   117   117   117     -0.000     -0.000        0.000     -0.000      0.000      1.000
+118    BPMx118   118   118   118     -0.000     -0.000        0.000     -0.000      0.000      1.000
+119    BPMx119   119   119   119      0.000      0.000        0.000     -0.000      0.000      1.000
+120    BPMx120   120   120   120     -0.000     -0.000        0.000     -0.000      0.000      1.000
Index: /trunk/machine/SOLEIL/StorageRing/orbit/localdata/toto.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/localdata/toto.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/localdata/toto.m	(revision 17)
@@ -0,0 +1,546 @@
+%system parameter save file
+%timestamp: 01-Nov-2004 10:59:27
+%comment: Save System
+sys.machine='Ring';   %machine for control
+sys.mode='Simulator';      %online or simulator
+sys.bpmode='slowacquisition';     %BPM system mode
+sys.bpmslp= 0.1;          %BPM sleep time in sec
+sys.plane=1;            %plane (1=horizontal 2=vertical)
+sys.algo='SVD';         %fitting algorithm
+sys.filepath=  '/home/nadolski/controlroom/applications/orbit/';     %file path in MATLAB
+sys.reffile=  'silver.dat';     %reference orbit file
+sys.etafile= '/home/nadolski/controlroom/measdata/Ringdata/Dispersion/';     %dispersion file
+SYS.relative= 1;        %relative or absolute BPM plot 1=absolute, 2=relative
+sys.maxs= 354.0967;           %maximum ring circumference
+sys.xlimax= 354.0967;        %abcissa plot limit
+sys.maxphi(1)= 10;        %maximum horizontal phase advance
+sys.maxphi(2)= 8;        %maximum vertical phase advance
+sys.xscale='meter';        %abcissa plotting mode (meter or phase)
+ 
+%*=== HORIZONTAL DATA ===*
+bpm(1).dev=10;          %maximum orbit deviation
+bpm(1).id=1;          %BPM selection
+bpm(1).scalemode=1;     %BPM scale mode 0=manual mode, 1=autoscale
+bpm(1).ylim=27.7461;            %BPM vertical axis scale
+cor(1).fract=1;       %fraction of correctors
+cor(1).savfrac =1.0;    %saved fraction of corrector solution (unity)
+rsp(1).disp ='off';     %mode for matrix column display
+rsp(1).eig  ='off';     %mode for eigenvector display
+rsp(1).fit  =0;         %valid fit flag
+rsp(1).rfflag=0;            %rf fitting flag
+rsp(1).savflag=0;       %save solution flag
+rsp(1).nsvd=56;         %number of singular values
+rsp(1).nsvdmax=1;        %default maximum number of singular values
+ 
+%BPM data: name, index, fit,  weight, etaweight
+bpmx={
+{  'BPMx001'     1     1      1.000      0.000 }
+{  'BPMx002'     2     2      1.000      0.000 }
+{  'BPMx003'     3     3      1.000      0.000 }
+{  'BPMx004'     4     4      1.000      0.000 }
+{  'BPMx005'     5     5      1.000      0.000 }
+{  'BPMx006'     6     6      1.000      0.000 }
+{  'BPMx007'     7     7      1.000      0.000 }
+{  'BPMx008'     8     8      1.000      0.000 }
+{  'BPMx009'     9     9      1.000      0.000 }
+{  'BPMx010'    10    10      1.000      0.000 }
+{  'BPMx011'    11    11      1.000      0.000 }
+{  'BPMx012'    12    12      1.000      0.000 }
+{  'BPMx013'    13    13      1.000      0.000 }
+{  'BPMx014'    14    14      1.000      0.000 }
+{  'BPMx015'    15    15      1.000      0.000 }
+{  'BPMx016'    16    16      1.000      0.000 }
+{  'BPMx017'    17    17      1.000      0.000 }
+{  'BPMx018'    18    18      1.000      0.000 }
+{  'BPMx019'    19    19      1.000      0.000 }
+{  'BPMx020'    20    20      1.000      0.000 }
+{  'BPMx021'    21    21      1.000      0.000 }
+{  'BPMx022'    22    22      1.000      0.000 }
+{  'BPMx023'    23    23      1.000      0.000 }
+{  'BPMx024'    24    24      1.000      0.000 }
+{  'BPMx025'    25    25      1.000      0.000 }
+{  'BPMx026'    26    26      1.000      0.000 }
+{  'BPMx027'    27    27      1.000      0.000 }
+{  'BPMx028'    28    28      1.000      0.000 }
+{  'BPMx029'    29    29      1.000      0.000 }
+{  'BPMx030'    30    30      1.000      0.000 }
+{  'BPMx031'    31    31      1.000      0.000 }
+{  'BPMx032'    32    32      1.000      0.000 }
+{  'BPMx033'    33    33      1.000      0.000 }
+{  'BPMx034'    34    34      1.000      0.000 }
+{  'BPMx035'    35    35      1.000      0.000 }
+{  'BPMx036'    36    36      1.000      0.000 }
+{  'BPMx037'    37    37      1.000      0.000 }
+{  'BPMx038'    38    38      1.000      0.000 }
+{  'BPMx039'    39    39      1.000      0.000 }
+{  'BPMx040'    40    40      1.000      0.000 }
+{  'BPMx041'    41    41      1.000      0.000 }
+{  'BPMx042'    42    42      1.000      0.000 }
+{  'BPMx043'    43    43      1.000      0.000 }
+{  'BPMx044'    44    44      1.000      0.000 }
+{  'BPMx045'    45    45      1.000      0.000 }
+{  'BPMx046'    46    46      1.000      0.000 }
+{  'BPMx047'    47    47      1.000      0.000 }
+{  'BPMx048'    48    48      1.000      0.000 }
+{  'BPMx049'    49    49      1.000      0.000 }
+{  'BPMx050'    50    50      1.000      0.000 }
+{  'BPMx051'    51    51      1.000      0.000 }
+{  'BPMx052'    52    52      1.000      0.000 }
+{  'BPMx053'    53    53      1.000      0.000 }
+{  'BPMx054'    54    54      1.000      0.000 }
+{  'BPMx055'    55    55      1.000      0.000 }
+{  'BPMx056'    56    56      1.000      0.000 }
+{  'BPMx057'    57    57      1.000      0.000 }
+{  'BPMx058'    58    58      1.000      0.000 }
+{  'BPMx059'    59    59      1.000      0.000 }
+{  'BPMx060'    60    60      1.000      0.000 }
+{  'BPMx061'    61    61      1.000      0.000 }
+{  'BPMx062'    62    62      1.000      0.000 }
+{  'BPMx063'    63    63      1.000      0.000 }
+{  'BPMx064'    64    64      1.000      0.000 }
+{  'BPMx065'    65    65      1.000      0.000 }
+{  'BPMx066'    66    66      1.000      0.000 }
+{  'BPMx067'    67    67      1.000      0.000 }
+{  'BPMx068'    68    68      1.000      0.000 }
+{  'BPMx069'    69    69      1.000      0.000 }
+{  'BPMx070'    70    70      1.000      0.000 }
+{  'BPMx071'    71    71      1.000      0.000 }
+{  'BPMx072'    72    72      1.000      0.000 }
+{  'BPMx073'    73    73      1.000      0.000 }
+{  'BPMx074'    74    74      1.000      0.000 }
+{  'BPMx075'    75    75      1.000      0.000 }
+{  'BPMx076'    76    76      1.000      0.000 }
+{  'BPMx077'    77    77      1.000      0.000 }
+{  'BPMx078'    78    78      1.000      0.000 }
+{  'BPMx079'    79    79      1.000      0.000 }
+{  'BPMx080'    80    80      1.000      0.000 }
+{  'BPMx081'    81    81      1.000      0.000 }
+{  'BPMx082'    82    82      1.000      0.000 }
+{  'BPMx083'    83    83      1.000      0.000 }
+{  'BPMx084'    84    84      1.000      0.000 }
+{  'BPMx085'    85    85      1.000      0.000 }
+{  'BPMx086'    86    86      1.000      0.000 }
+{  'BPMx087'    87    87      1.000      0.000 }
+{  'BPMx088'    88    88      1.000      0.000 }
+{  'BPMx089'    89    89      1.000      0.000 }
+{  'BPMx090'    90    90      1.000      0.000 }
+{  'BPMx091'    91    91      1.000      0.000 }
+{  'BPMx092'    92    92      1.000      0.000 }
+{  'BPMx093'    93    93      1.000      0.000 }
+{  'BPMx094'    94    94      1.000      0.000 }
+{  'BPMx095'    95    95      1.000      0.000 }
+{  'BPMx096'    96    96      1.000      0.000 }
+{  'BPMx097'    97    97      1.000      0.000 }
+{  'BPMx098'    98    98      1.000      0.000 }
+{  'BPMx099'    99    99      1.000      0.000 }
+{  'BPMx100'   100   100      1.000      0.000 }
+{  'BPMx101'   101   101      1.000      0.000 }
+{  'BPMx102'   102   102      1.000      0.000 }
+{  'BPMx103'   103   103      1.000      0.000 }
+{  'BPMx104'   104   104      1.000      0.000 }
+{  'BPMx105'   105   105      1.000      0.000 }
+{  'BPMx106'   106   106      1.000      0.000 }
+{  'BPMx107'   107   107      1.000      0.000 }
+{  'BPMx108'   108   108      1.000      0.000 }
+{  'BPMx109'   109   109      1.000      0.000 }
+{  'BPMx110'   110   110      1.000      0.000 }
+{  'BPMx111'   111   111      1.000      0.000 }
+{  'BPMx112'   112   112      1.000      0.000 }
+{  'BPMx113'   113   113      1.000      0.000 }
+{  'BPMx114'   114   114      1.000      0.000 }
+{  'BPMx115'   115   115      1.000      0.000 }
+{  'BPMx116'   116   116      1.000      0.000 }
+{  'BPMx117'   117   117      1.000      0.000 }
+{  'BPMx118'   118   118      1.000      0.000 }
+{  'BPMx119'   119   119      1.000      0.000 }
+{  'BPMx120'   120   120      1.000      0.000 }
+};
+ 
+%COR data: name, index, fit,  weight,   limit,      ebpm,      pbpm
+corx={
+{  'HCOR001'     1     1      1.000     10.000      0.250  }
+{  'HCOR002'     2     0      1.000     10.000      0.250  }
+{  'HCOR003'     3     0      1.000     10.000      0.250  }
+{  'HCOR004'     4     4      1.000     10.000      0.250  }
+{  'HCOR005'     5     0      1.000     10.000      0.250  }
+{  'HCOR006'     6     0      1.000     10.000      0.250  }
+{  'HCOR007'     7     7      1.000     10.000      0.250  }
+{  'HCOR008'     8     8      1.000     10.000      0.250  }
+{  'HCOR009'     9     0      1.000     10.000      0.250  }
+{  'HCOR010'    10     0      1.000     10.000      0.250  }
+{  'HCOR011'    11    11      1.000     10.000      0.250  }
+{  'HCOR012'    12    12      1.000     10.000      0.250  }
+{  'HCOR013'    13     0      1.000     10.000      0.250  }
+{  'HCOR014'    14     0      1.000     10.000      0.250  }
+{  'HCOR015'    15    15      1.000     10.000      0.250  }
+{  'HCOR016'    16    16      1.000     10.000      0.250  }
+{  'HCOR017'    17     0      1.000     10.000      0.250  }
+{  'HCOR018'    18     0      1.000     10.000      0.250  }
+{  'HCOR019'    19    19      1.000     10.000      0.250  }
+{  'HCOR020'    20    20      1.000     10.000      0.250  }
+{  'HCOR021'    21     0      1.000     10.000      0.250  }
+{  'HCOR022'    22     0      1.000     10.000      0.250  }
+{  'HCOR023'    23    23      1.000     10.000      0.250  }
+{  'HCOR024'    24    24      1.000     10.000      0.250  }
+{  'HCOR025'    25     0      1.000     10.000      0.250  }
+{  'HCOR026'    26     0      1.000     10.000      0.250  }
+{  'HCOR027'    27    27      1.000     10.000      0.250  }
+{  'HCOR028'    28     0      1.000     10.000      0.250  }
+{  'HCOR029'    29     0      1.000     10.000      0.250  }
+{  'HCOR030'    30    30      1.000     10.000      0.250  }
+{  'HCOR031'    31    31      1.000     10.000      0.250  }
+{  'HCOR032'    32     0      1.000     10.000      0.250  }
+{  'HCOR033'    33     0      1.000     10.000      0.250  }
+{  'HCOR034'    34    34      1.000     10.000      0.250  }
+{  'HCOR035'    35     0      1.000     10.000      0.250  }
+{  'HCOR036'    36     0      1.000     10.000      0.250  }
+{  'HCOR037'    37    37      1.000     10.000      0.250  }
+{  'HCOR038'    38    38      1.000     10.000      0.250  }
+{  'HCOR039'    39     0      1.000     10.000      0.250  }
+{  'HCOR040'    40     0      1.000     10.000      0.250  }
+{  'HCOR041'    41    41      1.000     10.000      0.250  }
+{  'HCOR042'    42    42      1.000     10.000      0.250  }
+{  'HCOR043'    43     0      1.000     10.000      0.250  }
+{  'HCOR044'    44     0      1.000     10.000      0.250  }
+{  'HCOR045'    45    45      1.000     10.000      0.250  }
+{  'HCOR046'    46    46      1.000     10.000      0.250  }
+{  'HCOR047'    47     0      1.000     10.000      0.250  }
+{  'HCOR048'    48     0      1.000     10.000      0.250  }
+{  'HCOR049'    49    49      1.000     10.000      0.250  }
+{  'HCOR050'    50    50      1.000     10.000      0.250  }
+{  'HCOR051'    51     0      1.000     10.000      0.250  }
+{  'HCOR052'    52     0      1.000     10.000      0.250  }
+{  'HCOR053'    53    53      1.000     10.000      0.250  }
+{  'HCOR054'    54    54      1.000     10.000      0.250  }
+{  'HCOR055'    55     0      1.000     10.000      0.250  }
+{  'HCOR056'    56     0      1.000     10.000      0.250  }
+{  'HCOR057'    57    57      1.000     10.000      0.250  }
+{  'HCOR058'    58     0      1.000     10.000      0.250  }
+{  'HCOR059'    59     0      1.000     10.000      0.250  }
+{  'HCOR060'    60    60      1.000     10.000      0.250  }
+{  'HCOR061'    61    61      1.000     10.000      0.250  }
+{  'HCOR062'    62     0      1.000     10.000      0.250  }
+{  'HCOR063'    63     0      1.000     10.000      0.250  }
+{  'HCOR064'    64    64      1.000     10.000      0.250  }
+{  'HCOR065'    65     0      1.000     10.000      0.250  }
+{  'HCOR066'    66     0      1.000     10.000      0.250  }
+{  'HCOR067'    67    67      1.000     10.000      0.250  }
+{  'HCOR068'    68    68      1.000     10.000      0.250  }
+{  'HCOR069'    69     0      1.000     10.000      0.250  }
+{  'HCOR070'    70     0      1.000     10.000      0.250  }
+{  'HCOR071'    71    71      1.000     10.000      0.250  }
+{  'HCOR072'    72    72      1.000     10.000      0.250  }
+{  'HCOR073'    73     0      1.000     10.000      0.250  }
+{  'HCOR074'    74     0      1.000     10.000      0.250  }
+{  'HCOR075'    75    75      1.000     10.000      0.250  }
+{  'HCOR076'    76    76      1.000     10.000      0.250  }
+{  'HCOR077'    77     0      1.000     10.000      0.250  }
+{  'HCOR078'    78     0      1.000     10.000      0.250  }
+{  'HCOR079'    79    79      1.000     10.000      0.250  }
+{  'HCOR080'    80    80      1.000     10.000      0.250  }
+{  'HCOR081'    81     0      1.000     10.000      0.250  }
+{  'HCOR082'    82     0      1.000     10.000      0.250  }
+{  'HCOR083'    83    83      1.000     10.000      0.250  }
+{  'HCOR084'    84    84      1.000     10.000      0.250  }
+{  'HCOR085'    85     0      1.000     10.000      0.250  }
+{  'HCOR086'    86     0      1.000     10.000      0.250  }
+{  'HCOR087'    87    87      1.000     10.000      0.250  }
+{  'HCOR088'    88     0      1.000     10.000      0.250  }
+{  'HCOR089'    89     0      1.000     10.000      0.250  }
+{  'HCOR090'    90    90      1.000     10.000      0.250  }
+{  'HCOR091'    91    91      1.000     10.000      0.250  }
+{  'HCOR092'    92     0      1.000     10.000      0.250  }
+{  'HCOR093'    93     0      1.000     10.000      0.250  }
+{  'HCOR094'    94    94      1.000     10.000      0.250  }
+{  'HCOR095'    95     0      1.000     10.000      0.250  }
+{  'HCOR096'    96     0      1.000     10.000      0.250  }
+{  'HCOR097'    97    97      1.000     10.000      0.250  }
+{  'HCOR098'    98    98      1.000     10.000      0.250  }
+{  'HCOR099'    99     0      1.000     10.000      0.250  }
+{  'HCOR100'   100     0      1.000     10.000      0.250  }
+{  'HCOR101'   101   101      1.000     10.000      0.250  }
+{  'HCOR102'   102   102      1.000     10.000      0.250  }
+{  'HCOR103'   103     0      1.000     10.000      0.250  }
+{  'HCOR104'   104     0      1.000     10.000      0.250  }
+{  'HCOR105'   105   105      1.000     10.000      0.250  }
+{  'HCOR106'   106   106      1.000     10.000      0.250  }
+{  'HCOR107'   107     0      1.000     10.000      0.250  }
+{  'HCOR108'   108     0      1.000     10.000      0.250  }
+{  'HCOR109'   109   109      1.000     10.000      0.250  }
+{  'HCOR110'   110   110      1.000     10.000      0.250  }
+{  'HCOR111'   111     0      1.000     10.000      0.250  }
+{  'HCOR112'   112     0      1.000     10.000      0.250  }
+{  'HCOR113'   113   113      1.000     10.000      0.250  }
+{  'HCOR114'   114   114      1.000     10.000      0.250  }
+{  'HCOR115'   115     0      1.000     10.000      0.250  }
+{  'HCOR116'   116     0      1.000     10.000      0.250  }
+{  'HCOR117'   117   117      1.000     10.000      0.250  }
+{  'HCOR118'   118     0      1.000     10.000      0.250  }
+{  'HCOR119'   119     0      1.000     10.000      0.250  }
+{  'HCOR120'   120   120      1.000     10.000      0.250  }
+};
+ 
+ 
+%*===   VERTICAL DATA ===*
+bpm(2).dev=10;          %maximum orbit deviation
+bpm(2).id=1;          %BPM selection
+bpm(2).scalemode=1;     %BPM scale mode 0=manual mode, 1=autoscale
+bpm(2).ylim=5;            %BPM vertical axis scale
+cor(2).fract=1;       %fraction of correctors
+cor(2).savfrac =1.0;    %saved fraction of corrector solution (unity)
+rsp(2).disp ='off';     %mode for matrix column display
+rsp(2).eig  ='off';     %mode for eigenvector display
+rsp(2).fit  =0;         %valid fit flag
+rsp(2).rfflag=0;            %rf fitting flag
+rsp(2).savflag=0;       %save solution flag
+rsp(2).nsvd=56;         %number of singular values
+rsp(2).nsvdmax=1;        %default maximum number of singular values
+ 
+%BPM data: name, index, fit,  weight, etaweight
+bpmz={
+{  'BPMz001'     1     1      1.000      0.000 }
+{  'BPMz002'     2     2      1.000      0.000 }
+{  'BPMz003'     3     3      1.000      0.000 }
+{  'BPMz004'     4     4      1.000      0.000 }
+{  'BPMz005'     5     5      1.000      0.000 }
+{  'BPMz006'     6     6      1.000      0.000 }
+{  'BPMz007'     7     7      1.000      0.000 }
+{  'BPMz008'     8     8      1.000      0.000 }
+{  'BPMz009'     9     9      1.000      0.000 }
+{  'BPMz010'    10    10      1.000      0.000 }
+{  'BPMz011'    11    11      1.000      0.000 }
+{  'BPMz012'    12    12      1.000      0.000 }
+{  'BPMz013'    13    13      1.000      0.000 }
+{  'BPMz014'    14    14      1.000      0.000 }
+{  'BPMz015'    15    15      1.000      0.000 }
+{  'BPMz016'    16    16      1.000      0.000 }
+{  'BPMz017'    17    17      1.000      0.000 }
+{  'BPMz018'    18    18      1.000      0.000 }
+{  'BPMz019'    19    19      1.000      0.000 }
+{  'BPMz020'    20    20      1.000      0.000 }
+{  'BPMz021'    21    21      1.000      0.000 }
+{  'BPMz022'    22    22      1.000      0.000 }
+{  'BPMz023'    23    23      1.000      0.000 }
+{  'BPMz024'    24    24      1.000      0.000 }
+{  'BPMz025'    25    25      1.000      0.000 }
+{  'BPMz026'    26    26      1.000      0.000 }
+{  'BPMz027'    27    27      1.000      0.000 }
+{  'BPMz028'    28    28      1.000      0.000 }
+{  'BPMz029'    29    29      1.000      0.000 }
+{  'BPMz030'    30    30      1.000      0.000 }
+{  'BPMz031'    31    31      1.000      0.000 }
+{  'BPMz032'    32    32      1.000      0.000 }
+{  'BPMz033'    33    33      1.000      0.000 }
+{  'BPMz034'    34    34      1.000      0.000 }
+{  'BPMz035'    35    35      1.000      0.000 }
+{  'BPMz036'    36    36      1.000      0.000 }
+{  'BPMz037'    37    37      1.000      0.000 }
+{  'BPMz038'    38    38      1.000      0.000 }
+{  'BPMz039'    39    39      1.000      0.000 }
+{  'BPMz040'    40    40      1.000      0.000 }
+{  'BPMz041'    41    41      1.000      0.000 }
+{  'BPMz042'    42    42      1.000      0.000 }
+{  'BPMz043'    43    43      1.000      0.000 }
+{  'BPMz044'    44    44      1.000      0.000 }
+{  'BPMz045'    45    45      1.000      0.000 }
+{  'BPMz046'    46    46      1.000      0.000 }
+{  'BPMz047'    47    47      1.000      0.000 }
+{  'BPMz048'    48    48      1.000      0.000 }
+{  'BPMz049'    49    49      1.000      0.000 }
+{  'BPMz050'    50    50      1.000      0.000 }
+{  'BPMz051'    51    51      1.000      0.000 }
+{  'BPMz052'    52    52      1.000      0.000 }
+{  'BPMz053'    53    53      1.000      0.000 }
+{  'BPMz054'    54    54      1.000      0.000 }
+{  'BPMz055'    55    55      1.000      0.000 }
+{  'BPMz056'    56    56      1.000      0.000 }
+{  'BPMz057'    57    57      1.000      0.000 }
+{  'BPMz058'    58    58      1.000      0.000 }
+{  'BPMz059'    59    59      1.000      0.000 }
+{  'BPMz060'    60    60      1.000      0.000 }
+{  'BPMz061'    61    61      1.000      0.000 }
+{  'BPMz062'    62    62      1.000      0.000 }
+{  'BPMz063'    63    63      1.000      0.000 }
+{  'BPMz064'    64    64      1.000      0.000 }
+{  'BPMz065'    65    65      1.000      0.000 }
+{  'BPMz066'    66    66      1.000      0.000 }
+{  'BPMz067'    67    67      1.000      0.000 }
+{  'BPMz068'    68    68      1.000      0.000 }
+{  'BPMz069'    69    69      1.000      0.000 }
+{  'BPMz070'    70    70      1.000      0.000 }
+{  'BPMz071'    71    71      1.000      0.000 }
+{  'BPMz072'    72    72      1.000      0.000 }
+{  'BPMz073'    73    73      1.000      0.000 }
+{  'BPMz074'    74    74      1.000      0.000 }
+{  'BPMz075'    75    75      1.000      0.000 }
+{  'BPMz076'    76    76      1.000      0.000 }
+{  'BPMz077'    77    77      1.000      0.000 }
+{  'BPMz078'    78    78      1.000      0.000 }
+{  'BPMz079'    79    79      1.000      0.000 }
+{  'BPMz080'    80    80      1.000      0.000 }
+{  'BPMz081'    81    81      1.000      0.000 }
+{  'BPMz082'    82    82      1.000      0.000 }
+{  'BPMz083'    83    83      1.000      0.000 }
+{  'BPMz084'    84    84      1.000      0.000 }
+{  'BPMz085'    85    85      1.000      0.000 }
+{  'BPMz086'    86    86      1.000      0.000 }
+{  'BPMz087'    87    87      1.000      0.000 }
+{  'BPMz088'    88    88      1.000      0.000 }
+{  'BPMz089'    89    89      1.000      0.000 }
+{  'BPMz090'    90    90      1.000      0.000 }
+{  'BPMz091'    91    91      1.000      0.000 }
+{  'BPMz092'    92    92      1.000      0.000 }
+{  'BPMz093'    93    93      1.000      0.000 }
+{  'BPMz094'    94    94      1.000      0.000 }
+{  'BPMz095'    95    95      1.000      0.000 }
+{  'BPMz096'    96    96      1.000      0.000 }
+{  'BPMz097'    97    97      1.000      0.000 }
+{  'BPMz098'    98    98      1.000      0.000 }
+{  'BPMz099'    99    99      1.000      0.000 }
+{  'BPMz100'   100   100      1.000      0.000 }
+{  'BPMz101'   101   101      1.000      0.000 }
+{  'BPMz102'   102   102      1.000      0.000 }
+{  'BPMz103'   103   103      1.000      0.000 }
+{  'BPMz104'   104   104      1.000      0.000 }
+{  'BPMz105'   105   105      1.000      0.000 }
+{  'BPMz106'   106   106      1.000      0.000 }
+{  'BPMz107'   107   107      1.000      0.000 }
+{  'BPMz108'   108   108      1.000      0.000 }
+{  'BPMz109'   109   109      1.000      0.000 }
+{  'BPMz110'   110   110      1.000      0.000 }
+{  'BPMz111'   111   111      1.000      0.000 }
+{  'BPMz112'   112   112      1.000      0.000 }
+{  'BPMz113'   113   113      1.000      0.000 }
+{  'BPMz114'   114   114      1.000      0.000 }
+{  'BPMz115'   115   115      1.000      0.000 }
+{  'BPMz116'   116   116      1.000      0.000 }
+{  'BPMz117'   117   117      1.000      0.000 }
+{  'BPMz118'   118   118      1.000      0.000 }
+{  'BPMz119'   119   119      1.000      0.000 }
+{  'BPMz120'   120   120      1.000      0.000 }
+};
+ 
+%COR data: name, index, fit,  weight,   limit,      ebpm,      pbpm
+corz={
+{  'VCOR001'     1     0      1.000     10.000      0.500  }
+{  'VCOR002'     2     2      1.000     10.000      0.500  }
+{  'VCOR003'     3     0      1.000     10.000      0.500  }
+{  'VCOR004'     4     4      1.000     10.000      0.500  }
+{  'VCOR005'     5     0      1.000     10.000      0.500  }
+{  'VCOR006'     6     6      1.000     10.000      0.500  }
+{  'VCOR007'     7     0      1.000     10.000      0.500  }
+{  'VCOR008'     8     0      1.000     10.000      0.500  }
+{  'VCOR009'     9     9      1.000     10.000      0.500  }
+{  'VCOR010'    10    10      1.000     10.000      0.500  }
+{  'VCOR011'    11     0      1.000     10.000      0.500  }
+{  'VCOR012'    12     0      1.000     10.000      0.500  }
+{  'VCOR013'    13    13      1.000     10.000      0.500  }
+{  'VCOR014'    14    14      1.000     10.000      0.500  }
+{  'VCOR015'    15     0      1.000     10.000      0.500  }
+{  'VCOR016'    16     0      1.000     10.000      0.500  }
+{  'VCOR017'    17    17      1.000     10.000      0.500  }
+{  'VCOR018'    18    18      1.000     10.000      0.500  }
+{  'VCOR019'    19     0      1.000     10.000      0.500  }
+{  'VCOR020'    20     0      1.000     10.000      0.500  }
+{  'VCOR021'    21    21      1.000     10.000      0.500  }
+{  'VCOR022'    22    22      1.000     10.000      0.500  }
+{  'VCOR023'    23     0      1.000     10.000      0.500  }
+{  'VCOR024'    24     0      1.000     10.000      0.500  }
+{  'VCOR025'    25    25      1.000     10.000      0.500  }
+{  'VCOR026'    26     0      1.000     10.000      0.500  }
+{  'VCOR027'    27    27      1.000     10.000      0.500  }
+{  'VCOR028'    28     0      1.000     10.000      0.500  }
+{  'VCOR029'    29    29      1.000     10.000      0.500  }
+{  'VCOR030'    30     0      1.000     10.000      0.500  }
+{  'VCOR031'    31     0      1.000     10.000      0.500  }
+{  'VCOR032'    32    32      1.000     10.000      0.500  }
+{  'VCOR033'    33     0      1.000     10.000      0.500  }
+{  'VCOR034'    34    34      1.000     10.000      0.500  }
+{  'VCOR035'    35     0      1.000     10.000      0.500  }
+{  'VCOR036'    36    36      1.000     10.000      0.500  }
+{  'VCOR037'    37     0      1.000     10.000      0.500  }
+{  'VCOR038'    38     0      1.000     10.000      0.500  }
+{  'VCOR039'    39    39      1.000     10.000      0.500  }
+{  'VCOR040'    40    40      1.000     10.000      0.500  }
+{  'VCOR041'    41     0      1.000     10.000      0.500  }
+{  'VCOR042'    42     0      1.000     10.000      0.500  }
+{  'VCOR043'    43    43      1.000     10.000      0.500  }
+{  'VCOR044'    44    44      1.000     10.000      0.500  }
+{  'VCOR045'    45     0      1.000     10.000      0.500  }
+{  'VCOR046'    46     0      1.000     10.000      0.500  }
+{  'VCOR047'    47    47      1.000     10.000      0.500  }
+{  'VCOR048'    48    48      1.000     10.000      0.500  }
+{  'VCOR049'    49     0      1.000     10.000      0.500  }
+{  'VCOR050'    50     0      1.000     10.000      0.500  }
+{  'VCOR051'    51    51      1.000     10.000      0.500  }
+{  'VCOR052'    52    52      1.000     10.000      0.500  }
+{  'VCOR053'    53     0      1.000     10.000      0.500  }
+{  'VCOR054'    54     0      1.000     10.000      0.500  }
+{  'VCOR055'    55    55      1.000     10.000      0.500  }
+{  'VCOR056'    56     0      1.000     10.000      0.500  }
+{  'VCOR057'    57    57      1.000     10.000      0.500  }
+{  'VCOR058'    58     0      1.000     10.000      0.500  }
+{  'VCOR059'    59    59      1.000     10.000      0.500  }
+{  'VCOR060'    60     0      1.000     10.000      0.500  }
+{  'VCOR061'    61     0      1.000     10.000      0.500  }
+{  'VCOR062'    62    62      1.000     10.000      0.500  }
+{  'VCOR063'    63     0      1.000     10.000      0.500  }
+{  'VCOR064'    64    64      1.000     10.000      0.500  }
+{  'VCOR065'    65     0      1.000     10.000      0.500  }
+{  'VCOR066'    66    66      1.000     10.000      0.500  }
+{  'VCOR067'    67     0      1.000     10.000      0.500  }
+{  'VCOR068'    68     0      1.000     10.000      0.500  }
+{  'VCOR069'    69    69      1.000     10.000      0.500  }
+{  'VCOR070'    70    70      1.000     10.000      0.500  }
+{  'VCOR071'    71     0      1.000     10.000      0.500  }
+{  'VCOR072'    72     0      1.000     10.000      0.500  }
+{  'VCOR073'    73    73      1.000     10.000      0.500  }
+{  'VCOR074'    74    74      1.000     10.000      0.500  }
+{  'VCOR075'    75     0      1.000     10.000      0.500  }
+{  'VCOR076'    76     0      1.000     10.000      0.500  }
+{  'VCOR077'    77    77      1.000     10.000      0.500  }
+{  'VCOR078'    78    78      1.000     10.000      0.500  }
+{  'VCOR079'    79     0      1.000     10.000      0.500  }
+{  'VCOR080'    80     0      1.000     10.000      0.500  }
+{  'VCOR081'    81    81      1.000     10.000      0.500  }
+{  'VCOR082'    82    82      1.000     10.000      0.500  }
+{  'VCOR083'    83     0      1.000     10.000      0.500  }
+{  'VCOR084'    84     0      1.000     10.000      0.500  }
+{  'VCOR085'    85    85      1.000     10.000      0.500  }
+{  'VCOR086'    86     0      1.000     10.000      0.500  }
+{  'VCOR087'    87    87      1.000     10.000      0.500  }
+{  'VCOR088'    88     0      1.000     10.000      0.500  }
+{  'VCOR089'    89    89      1.000     10.000      0.500  }
+{  'VCOR090'    90     0      1.000     10.000      0.500  }
+{  'VCOR091'    91     0      1.000     10.000      0.500  }
+{  'VCOR092'    92    92      1.000     10.000      0.500  }
+{  'VCOR093'    93     0      1.000     10.000      0.500  }
+{  'VCOR094'    94    94      1.000     10.000      0.500  }
+{  'VCOR095'    95     0      1.000     10.000      0.500  }
+{  'VCOR096'    96    96      1.000     10.000      0.500  }
+{  'VCOR097'    97     0      1.000     10.000      0.500  }
+{  'VCOR098'    98     0      1.000     10.000      0.500  }
+{  'VCOR099'    99    99      1.000     10.000      0.500  }
+{  'VCOR100'   100   100      1.000     10.000      0.500  }
+{  'VCOR101'   101     0      1.000     10.000      0.500  }
+{  'VCOR102'   102     0      1.000     10.000      0.500  }
+{  'VCOR103'   103   103      1.000     10.000      0.500  }
+{  'VCOR104'   104   104      1.000     10.000      0.500  }
+{  'VCOR105'   105     0      1.000     10.000      0.500  }
+{  'VCOR106'   106     0      1.000     10.000      0.500  }
+{  'VCOR107'   107   107      1.000     10.000      0.500  }
+{  'VCOR108'   108   108      1.000     10.000      0.500  }
+{  'VCOR109'   109     0      1.000     10.000      0.500  }
+{  'VCOR110'   110     0      1.000     10.000      0.500  }
+{  'VCOR111'   111   111      1.000     10.000      0.500  }
+{  'VCOR112'   112   112      1.000     10.000      0.500  }
+{  'VCOR113'   113     0      1.000     10.000      0.500  }
+{  'VCOR114'   114     0      1.000     10.000      0.500  }
+{  'VCOR115'   115   115      1.000     10.000      0.500  }
+{  'VCOR116'   116     0      1.000     10.000      0.500  }
+{  'VCOR117'   117   117      1.000     10.000      0.500  }
+{  'VCOR118'   118     0      1.000     10.000      0.500  }
+{  'VCOR119'   119   119      1.000     10.000      0.500  }
+{  'VCOR120'   120     0      1.000     10.000      0.500  }
+};
+ 
Index: /trunk/machine/SOLEIL/StorageRing/orbit/localdata/twissdata.txt
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/localdata/twissdata.txt	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/localdata/twissdata.txt	(revision 17)
@@ -0,0 +1,945 @@
+ index   name  length   s     betx   alfx   phixetax   etaxp  betz   alfz   phiz   etaz   etazp    x      xp     z      zp
+   1    DEBUT   0.00   0.00  10.67   0.01   0.00 -50.14   1.34   7.79   0.05   0.00   0.00   0.00  -0.00   0.00   0.00   0.00
+   2      INJ   0.00   0.00  10.67   0.01   0.00 -50.14   1.34   7.79   0.05   0.00   0.00   0.00  -0.00   0.00   0.00   0.00
+   3    SECT1   0.00   0.00  10.67   0.01   0.00 -50.14   1.34   7.79   0.05   0.00   0.00   0.00  -0.00   0.00   0.00   0.00
+   4      SD1   6.00   0.00  10.67   0.01   0.00 -50.14   1.34   7.79   0.05   0.00   0.00   0.00  -0.00   0.00   0.00   0.00
+   5      BPM   0.00   6.00  13.98  -0.56   0.08 -42.09   1.34  11.82  -0.72   0.11   0.00   0.00  -0.00   0.00   0.00   0.00
+   6     FCOR   0.00   6.00  13.98  -0.56   0.08 -42.09   1.34  11.82  -0.72   0.11   0.00   0.00  -0.00   0.00   0.00   0.00
+   7       Q1   0.32   6.00  13.98  -0.56   0.08 -42.09   1.34  11.82  -0.72   0.11   0.00   0.00  -0.00   0.00   0.00   0.00
+   8      SD2   0.39   6.32  16.14  -6.48   0.09 -44.24 -14.88  10.88   3.54   0.11   0.00   0.00  -0.00  -0.00   0.00   0.00
+   9       S1   0.00   6.71  21.60  -7.51   0.09 -50.04 -14.88   8.31   3.06   0.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+  10      COR   0.00   6.71  21.60  -7.52   0.09 -50.04 -14.88   8.31   3.06   0.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+  11      SD3   0.20   6.71  21.60  -7.52   0.09 -50.04 -58.86   8.31   3.06   0.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+  12       Q2   0.46   6.91  24.71  -8.05   0.09 -61.81 -58.86   7.14   2.81   0.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+  13      BPM   0.00   7.37  23.03  11.25   0.09 -76.43  -2.74   7.09  -2.70   0.13   0.00   0.00  -0.00  -0.00   0.00   0.00
+  14     SD14   0.59   7.37  23.03  11.25   0.09 -76.43  -2.74   7.09  -2.70   0.13   0.00   0.00  -0.00  -0.00   0.00   0.00
+  15       Q3   0.32   7.96  11.69   7.98   0.10 -78.05  -2.74  10.68  -3.39   0.14   0.00   0.00  -0.00  -0.00   0.00   0.00
+  16      SD5   0.20   8.28   7.79   4.51   0.10 -81.82 -20.98  12.09  -0.92   0.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+  17       S2   0.00   8.48   6.10   3.96   0.11 -86.01 -20.98  12.47  -0.95   0.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+  18      COR   0.00   8.48   6.10   3.96   0.11 -86.01 -20.95  12.47  -0.96   0.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+  19      SD6   0.79   8.48   6.10   3.96   0.11 -86.01 -20.95  12.47  -0.96   0.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+  20     BEND   1.05   9.27   1.54   1.80   0.15 -102.57 -20.95  14.09  -1.08   0.16   0.00   0.00  -0.00  -0.00   0.00   0.00
+  21      SD7   0.44  10.32   0.78  -1.07   0.45 -124.37 -20.75  15.96  -0.66   0.17   0.00   0.00  -0.00  -0.00   0.00   0.00
+  22       Q4   0.32  10.76   2.25  -2.27   0.50 -133.50 -20.75  16.55  -0.70   0.18   0.00   0.00  -0.00  -0.00   0.00   0.00
+  23      SD8   0.20  11.08   4.48  -5.02   0.52 -149.94 -83.24  14.71   6.17   0.18   0.00   0.00  -0.00  -0.00   0.00   0.00
+  24       S3   0.00  11.28   6.72  -6.19   0.53 -166.59 -83.24  12.35   5.64   0.18   0.00   0.00  -0.00  -0.00   0.00   0.00
+  25      COR   0.00  11.28   6.72  -6.19   0.53 -166.59 -83.18  12.35   5.63   0.18   0.00   0.00  -0.00  -0.00   0.00   0.00
+  26      BPM   0.00  11.28   6.72  -6.19   0.53 -166.59 -83.18  12.35   5.63   0.18   0.00   0.00  -0.00  -0.00   0.00   0.00
+  27      SD9   0.48  11.28   6.72  -6.19   0.53 -166.59 -83.18  12.35   5.63   0.18   0.00   0.00  -0.00  -0.00   0.00   0.00
+  28       Q5   0.32  11.76  13.94  -8.97   0.53 -206.21 -83.18   7.59   4.37   0.19   0.00   0.00  -0.00  -0.00   0.00   0.00
+  29     SD12   0.47  12.08  17.00   0.04   0.54 -212.33  45.55   6.28   0.00   0.20   0.00   0.00  -0.00   0.00   0.00   0.00
+  30       S4   0.00  12.55  16.98   0.01   0.54 -190.92  45.55   6.31  -0.07   0.21   0.00   0.00  -0.00   0.00   0.00   0.00
+  31      COR   0.00  12.55  16.98  -0.01   0.54 -190.92  45.42   6.31  -0.06   0.21   0.00   0.00  -0.00   0.00   0.00   0.00
+  32      BPM   0.00  12.55  16.98  -0.01   0.54 -190.92 208.39   6.31  -0.06   0.21   0.00   0.00  -0.00   0.00   0.00   0.00
+  33     SD10   0.47  12.55  16.98  -0.01   0.54 -190.92 208.39   6.31  -0.06   0.21   0.00   0.00  -0.00   0.00   0.00   0.00
+  34       Q5   0.32  13.02  17.00  -0.04   0.55 -92.98 208.39   6.41  -0.14   0.22   0.00   0.00  -0.00   0.00   0.00   0.00
+  35      SD9   0.48  13.34  13.94   8.97   0.55 -19.57 243.01   7.85  -4.65   0.23   0.00   0.00  -0.00   0.00   0.00   0.00
+  36      BPM   0.00  13.82   6.72   6.19   0.56  96.19 243.01  12.93  -6.03   0.24   0.00   0.00   0.00   0.00   0.00   0.00
+  37       S3   0.00  13.82   6.72   6.19   0.56  96.19 243.01  12.93  -6.03   0.24   0.00   0.00   0.00   0.00   0.00   0.00
+  38      COR   0.00  13.82   6.72   6.18   0.56  96.19 243.03  12.93  -6.02   0.24   0.00   0.00   0.00   0.00   0.00   0.00
+  39      SD8   0.20  13.82   6.72   6.18   0.56  96.19 243.03  12.93  -6.02   0.24   0.00   0.00   0.00   0.00   0.00   0.00
+  40       Q4   0.32  14.02   4.48   5.02   0.56  144.79 243.03  15.46  -6.60   0.24   0.00   0.00   0.00   0.00   0.00   0.00
+  41      SD7   0.44  14.34   2.26   2.27   0.58  234.88 326.73  17.47   0.62   0.24   0.00   0.00   0.00   0.00   0.00   0.00
+  42     BEND   1.05  14.78   0.79   1.07   0.63  378.65 326.73  16.94   0.59   0.25   0.00   0.00   0.00   0.00   0.00   0.00
+  43      SD7   0.44  15.83   1.53  -1.79   0.93  720.41 326.93  15.16   1.06   0.26   0.00   0.00   0.00   0.00   0.00   0.00
+  44       Q6   0.32  16.27   3.63  -2.99   0.96  864.25 326.93  14.26   1.00   0.26   0.00   0.00   0.00   0.00   0.00   0.00
+  45      SD5   0.20  16.59   6.42  -6.04   0.97  1020.84 661.04  12.10   5.46   0.26   0.00   0.00   0.00   0.00   0.00   0.00
+  46       S5   0.00  16.79   9.07  -7.21   0.98  1153.05 661.04  10.02   4.95   0.27   0.00   0.00   0.00   0.00   0.00   0.00
+  47      COR   0.00  16.79   9.07  -7.29   0.98  1153.05 665.96  10.02   5.04   0.27   0.00   0.00   0.00   0.00   0.00   0.00
+  48      SD4   0.39  16.79   9.07  -7.29   0.98  1153.05 665.96  10.02   5.04   0.27   0.00   0.00   0.00   0.00   0.00   0.00
+  49      BPM   0.00  17.18  15.66  -9.61   0.98  1412.77 665.96   6.49   4.01   0.27   0.00   0.00   0.00   0.00   0.00   0.00
+  50       Q7   0.46  17.18  15.66  -9.61   0.98  1412.77 665.96   6.49   4.01   0.27   0.00   0.00   0.00   0.00   0.00   0.00
+  51      SD3   0.20  17.64  16.80   7.54   0.99  1377.09 -815.00   5.74  -2.12   0.29   0.00   0.00   0.00  -0.00   0.00   0.00
+  52       S6   0.00  17.84  13.92   6.85   0.99  1214.09 -815.00   6.63  -2.32   0.29   0.00   0.00   0.00  -0.00   0.00   0.00
+  53      COR   0.00  17.84  13.92   6.96   0.99  1214.09 -819.79   6.63  -2.37   0.29   0.00   0.00   0.00  -0.00   0.00   0.00
+  54      SD2   0.39  17.84  13.92   6.96   0.99  1214.09 -520.70   6.63  -2.37   0.29   0.00   0.00   0.00  -0.00   0.00   0.00
+  55       Q8   0.32  18.23   9.03   5.58   0.99  1011.01 -520.70   8.63  -2.76   0.30   0.00   0.00   0.00  -0.00   0.00   0.00
+  56     FCOR   0.00  18.55   7.08   0.85   1.00  928.89   0.04   8.87   2.04   0.31   0.00   0.00   0.00   0.00   0.00   0.00
+  57      BPM   0.00  18.55   7.08   0.85   1.00  928.89   0.04   8.87   2.04   0.31   0.00   0.00   0.00   0.00   0.00   0.00
+  58     SD13   3.48  18.55   7.08   0.85   1.00  928.89   0.04   8.87   2.04   0.31   0.00   0.00   0.00   0.00   0.00   0.00
+  59     SD13   3.48  22.03   4.11   0.00   1.11  929.05   0.04   1.72   0.01   0.48   0.00   0.00   0.00   0.00   0.00   0.00
+  60      BPM   0.00  25.51   7.04  -0.84   1.22  929.20   0.04   8.67  -2.01   0.66   0.00   0.00   0.00   0.00   0.00   0.00
+  61     FCOR   0.00  25.51   7.04  -0.84   1.22  929.20   0.04   8.67  -2.01   0.66   0.00   0.00   0.00   0.00   0.00   0.00
+  62       Q8   0.32  25.51   7.04  -0.84   1.22  929.20   0.04   8.67  -2.01   0.66   0.00   0.00   0.00   0.00   0.00   0.00
+  63      SD2   0.39  25.83   8.97  -5.54   1.23  1011.38 520.97   8.44   2.68   0.67   0.00   0.00   0.00   0.00   0.00   0.00
+  64       S8   0.00  26.22  13.82  -6.91   1.24  1214.56 520.97   6.50   2.30   0.67   0.00   0.00   0.00   0.00   0.00   0.00
+  65      COR   0.00  26.22  13.82  -6.77   1.24  1214.56 514.79   6.50   2.23   0.67   0.00   0.00   0.00   0.00   0.00   0.00
+  66      SD3   0.20  26.22  13.82  -6.77   1.24  1214.56 792.69   6.50   2.23   0.67   0.00   0.00   0.00   0.00   0.00   0.00
+  67       Q7   0.46  26.42  16.67  -7.45   1.24  1373.09 792.69   5.64   2.05   0.68   0.00   0.00   0.00   0.00   0.00   0.00
+  68      BPM   0.00  26.88  15.51   9.56   1.24  1400.20 -679.48   6.42  -4.01   0.69   0.00   0.00   0.00  -0.00   0.00   0.00
+  69      SD4   0.39  26.88  15.51   9.56   1.24  1400.20 -679.48   6.42  -4.01   0.69   0.00   0.00   0.00  -0.00   0.00   0.00
+  70       S7   0.00  27.27   8.96   7.24   1.25  1135.20 -679.48   9.95  -5.04   0.70   0.00   0.00   0.00  -0.00   0.00   0.00
+  71      COR   0.00  27.27   8.96   7.13   1.25  1135.20 -673.03   9.95  -4.93   0.70   0.00   0.00   0.00  -0.00   0.00   0.00
+  72      SD5   0.20  27.27   8.96   7.13   1.25  1135.20 -673.03   9.95  -4.93   0.70   0.00   0.00   0.00  -0.00   0.00   0.00
+  73       Q6   0.32  27.47   6.34   5.98   1.25  1000.60 -673.03  12.03  -5.44   0.70   0.00   0.00   0.00  -0.00   0.00   0.00
+  74      SD7   0.44  27.79   3.59   2.95   1.26  838.93 -346.99  14.17  -1.01   0.71   0.00   0.00   0.00  -0.00   0.00   0.00
+  75     BEND   1.05  28.23   1.51   1.76   1.29  686.26 -346.99  15.09  -1.07   0.71   0.00   0.00   0.00  -0.00   0.00   0.00
+  76      SD7   0.44  29.29   0.79  -1.07   1.59  323.52 -346.79  16.88  -0.60   0.72   0.00   0.00   0.00  -0.00   0.00   0.00
+  77       Q9   0.32  29.73   2.26  -2.26   1.64  170.93 -346.79  17.42  -0.63   0.73   0.00   0.00   0.00  -0.00   0.00   0.00
+  78      SD8   0.20  30.05   4.59  -5.43   1.66  71.73 -282.14  14.95   7.92   0.73   0.00   0.00   0.00  -0.00   0.00   0.00
+  79       S9   0.00  30.25   7.03  -6.76   1.67  15.30 -282.14  11.95   7.07   0.73   0.00   0.00   0.00  -0.00   0.00   0.00
+  80      COR   0.00  30.25   7.03  -6.76   1.67  15.30 -282.14  11.95   7.07   0.73   0.00   0.00   0.00  -0.00   0.00   0.00
+  81      BPM   0.00  30.25   7.03  -6.76   1.67  15.30 -282.14  11.95   7.07   0.73   0.00   0.00   0.00  -0.00   0.00   0.00
+  82      SD9   0.48  30.25   7.03  -6.76   1.67  15.30 -282.14  11.95   7.07   0.73   0.00   0.00   0.00  -0.00   0.00   0.00
+  83      Q10   0.32  30.72  14.98  -9.93   1.67 -119.10 -282.14   6.19   5.04   0.74   0.00   0.00  -0.00  -0.00   0.00   0.00
+  84      SD8   0.20  31.04  18.34   0.14   1.68 -194.63 -181.98   4.31   1.22   0.75   0.00   0.00  -0.00  -0.00   0.00   0.00
+  85      S10   0.00  31.24  18.28   0.13   1.68 -231.02 -181.98   3.84   1.10   0.76   0.00   0.00  -0.00  -0.00   0.00   0.00
+  86      COR   0.00  31.24  18.28   0.11   1.68 -231.02 -182.08   3.84   1.11   0.76   0.00   0.00  -0.00  -0.00   0.00   0.00
+  87     FCOR   0.00  31.24  18.28   0.11   1.68 -231.02  50.48   3.84   1.11   0.76   0.00   0.00  -0.00   0.00   0.00   0.00
+  88      BPM   0.00  31.24  18.28   0.11   1.68 -231.02  50.48   3.84   1.11   0.76   0.00   0.00  -0.00   0.00   0.00   0.00
+  89     SDAC   1.90  31.24  18.28   0.11   1.68 -231.02  50.48   3.84   1.11   0.76   0.00   0.00  -0.00   0.00   0.00   0.00
+  90     SDAC   1.90  33.15  18.04   0.01   1.69 -134.87  50.48   1.72   0.00   0.89   0.00   0.00  -0.00   0.00   0.00   0.00
+  91      BPM   0.00  35.05  18.21  -0.10   1.71 -38.72  50.48   3.81  -1.10   1.03   0.00   0.00  -0.00   0.00   0.00   0.00
+  92     FCOR   0.00  35.05  18.21  -0.10   1.71 -38.72  50.48   3.81  -1.10   1.03   0.00   0.00  -0.00   0.00   0.00   0.00
+  93      S10   0.00  35.05  18.21  -0.10   1.71 -38.72  50.48   3.81  -1.10   1.03   0.00   0.00  -0.00   0.00   0.00   0.00
+  94      COR   0.00  35.05  18.21  -0.10   1.71 -38.72  50.48   3.81  -1.10   1.03   0.00   0.00  -0.00   0.00   0.00   0.00
+  95      SD8   0.20  35.05  18.21  -0.10   1.71 -38.72 -15.02   3.81  -1.10   1.03   0.00   0.00  -0.00  -0.00   0.00   0.00
+  96      Q10   0.32  35.25  18.25  -0.11   1.71 -41.73 -15.02   4.28  -1.22   1.03   0.00   0.00  -0.00  -0.00   0.00   0.00
+  97      SD9   0.48  35.57  14.89   9.90   1.72 -42.25  11.79   6.15  -5.01   1.04   0.00   0.00  -0.00   0.00   0.00   0.00
+  98      BPM   0.00  36.05   6.97   6.73   1.72 -36.64  11.79  11.88  -7.03   1.05   0.00   0.00  -0.00   0.00   0.00   0.00
+  99       S9   0.00  36.05   6.97   6.73   1.72 -36.64  11.79  11.88  -7.03   1.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 100      COR   0.00  36.05   6.97   6.73   1.72 -36.64  11.80  11.88  -7.03   1.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 101      SD8   0.20  36.05   6.97   6.73   1.72 -36.64  11.80  11.88  -7.03   1.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 102       Q9   0.32  36.25   4.54   5.40   1.73 -34.28  11.80  14.87  -7.88   1.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 103      SD7   0.44  36.57   2.22   2.25   1.75 -33.40  -6.24  17.33   0.62   1.06   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 104     BEND   1.05  37.01   0.77   1.05   1.80 -36.15  -6.24  16.80   0.59   1.06   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 105      SD7   0.44  38.06   1.56  -1.81   2.10 -42.56  -6.04  15.04   1.06   1.07   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 106       Q6   0.32  38.50   3.69  -3.02   2.13 -45.22  -6.04  14.14   1.00   1.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 107      SD5   0.20  38.82   6.50  -6.10   2.14 -49.80 -22.88  12.00   5.42   1.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 108       S7   0.00  39.02   9.17  -7.28   2.14 -54.38 -22.88   9.94   4.91   1.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 109      COR   0.00  39.02   9.17  -7.27   2.14 -54.38 -22.87   9.94   4.91   1.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 110      SD4   0.39  39.02   9.17  -7.27   2.14 -54.38 -22.87   9.94   4.91   1.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 111      BPM   0.00  39.41  15.74  -9.56   2.15 -63.30 -22.87   6.49   3.92   1.09   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 112       Q7   0.46  39.41  15.74  -9.56   2.15 -63.30 -22.87   6.49   3.92   1.09   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 113      SD3   0.20  39.87  16.79   7.64   2.15 -58.74  41.91   5.82  -2.24   1.10   0.00   0.00  -0.00   0.00   0.00   0.00
+ 114       S8   0.00  40.07  13.88   6.93   2.15 -50.35  41.91   6.76  -2.45   1.11   0.00   0.00  -0.00   0.00   0.00   0.00
+ 115      COR   0.00  40.07  13.88   6.93   2.15 -50.35  41.90   6.76  -2.45   1.11   0.00   0.00  -0.00   0.00   0.00   0.00
+ 116      SD2   0.39  40.07  13.88   6.93   2.15 -50.35  22.32   6.76  -2.45   1.11   0.00   0.00  -0.00   0.00   0.00   0.00
+ 117       Q8   0.32  40.46   9.01   5.55   2.16 -41.65  22.32   8.83  -2.85   1.12   0.00   0.00  -0.00   0.00   0.00   0.00
+ 118     FCOR   0.00  40.78   7.08   0.84   2.17 -37.98   0.94   9.10   2.06   1.12   0.00   0.00  -0.00   0.00   0.00   0.00
+ 119      BPM   0.00  40.78   7.08   0.84   2.17 -37.98   0.94   9.10   2.06   1.12   0.00   0.00  -0.00   0.00   0.00   0.00
+ 120     SD13   3.48  40.78   7.08   0.84   2.17 -37.98   0.94   9.10   2.06   1.12   0.00   0.00  -0.00   0.00   0.00   0.00
+ 121     SD13   3.48  44.26   4.16   0.00   2.28 -34.70   0.94   1.74   0.05   1.29   0.00   0.00  -0.00   0.00   0.00   0.00
+ 122      BPM   0.00  47.74   7.07  -0.84   2.39 -31.43   0.94   8.39  -1.96   1.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 123     FCOR   0.00  47.74   7.07  -0.84   2.39 -31.43   0.94   8.39  -1.96   1.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 124       Q8   0.32  47.74   7.07  -0.84   2.39 -31.43   0.94   8.39  -1.96   1.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 125      SD2   0.39  48.06   9.01  -5.55   2.40 -33.90 -16.59   8.18   2.57   1.48   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 126       S8   0.00  48.45  13.87  -6.93   2.40 -40.37 -16.59   6.31   2.21   1.49   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 127      COR   0.00  48.45  13.87  -6.93   2.40 -40.37 -16.60   6.31   2.21   1.49   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 128      SD3   0.20  48.45  13.87  -6.93   2.40 -40.37 -36.19   6.31   2.21   1.49   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 129       Q7   0.46  48.65  16.78  -7.64   2.40 -47.60 -36.19   5.46   2.03   1.50   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 130      BPM   0.00  49.11  15.73   9.56   2.41 -52.24  16.82   6.18  -3.82   1.51   0.00   0.00  -0.00   0.00   0.00   0.00
+ 131      SD4   0.39  49.11  15.73   9.56   2.41 -52.24  16.82   6.18  -3.82   1.51   0.00   0.00  -0.00   0.00   0.00   0.00
+ 132       S7   0.00  49.50   9.17   7.27   2.41 -45.68  16.82   9.54  -4.80   1.52   0.00   0.00  -0.00   0.00   0.00   0.00
+ 133      COR   0.00  49.50   9.17   7.27   2.41 -45.68  16.83   9.54  -4.80   1.52   0.00   0.00  -0.00   0.00   0.00   0.00
+ 134      SD5   0.20  49.50   9.17   7.27   2.41 -45.68  16.83   9.54  -4.80   1.52   0.00   0.00  -0.00   0.00   0.00   0.00
+ 135       Q6   0.32  49.70   6.50   6.10   2.42 -42.32  16.83  11.56  -5.31   1.52   0.00   0.00  -0.00   0.00   0.00   0.00
+ 136      SD7   0.44  50.02   3.69   3.01   2.43 -39.28   2.36  13.68  -1.06   1.53   0.00   0.00  -0.00   0.00   0.00   0.00
+ 137     BEND   1.05  50.46   1.56   1.81   2.46 -38.24   2.36  14.64  -1.13   1.53   0.00   0.00  -0.00   0.00   0.00   0.00
+ 138      SD7   0.44  51.52   0.77  -1.05   2.76 -35.66   2.56  16.58  -0.68   1.54   0.00   0.00  -0.00   0.00   0.00   0.00
+ 139       Q9   0.32  51.96   2.22  -2.25   2.81 -34.54   2.56  17.19  -0.72   1.54   0.00   0.00  -0.00   0.00   0.00   0.00
+ 140      SD8   0.20  52.28   4.54  -5.40   2.83 -36.72 -16.42  14.80   7.75   1.55   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 141       S9   0.00  52.48   6.97  -6.73   2.83 -40.01 -16.42  11.87   6.93   1.55   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 142      COR   0.00  52.48   6.97  -6.73   2.83 -40.01 -16.42  11.87   6.92   1.55   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 143      BPM   0.00  52.48   6.97  -6.73   2.83 -40.01 -16.42  11.87   6.92   1.55   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 144      SD9   0.48  52.48   6.97  -6.73   2.83 -40.01 -16.42  11.87   6.92   1.55   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 145      Q10   0.32  52.95  14.89  -9.90   2.84 -47.83 -16.42   6.21   4.96   1.56   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 146      SD8   0.20  53.27  18.25   0.11   2.84 -48.19  14.23   4.38   1.14   1.57   0.00   0.00  -0.00   0.00   0.00   0.00
+ 147      S10   0.00  53.47  18.21   0.10   2.84 -45.34  14.23   3.94   1.04   1.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 148      COR   0.00  53.47  18.21   0.10   2.84 -45.34  14.23   3.94   1.04   1.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 149     FCOR   0.00  53.47  18.21   0.10   2.84 -45.34  -0.97   3.94   1.04   1.58   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 150      BPM   0.00  53.47  18.21   0.10   2.84 -45.34  -0.97   3.94   1.04   1.58   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 151     SDAC   1.90  53.47  18.21   0.10   2.84 -45.34  -0.97   3.94   1.04   1.58   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 152     SDAC   1.90  55.38  18.04  -0.01   2.86 -47.19  -0.97   1.90   0.03   1.70   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 153      BPM   0.00  57.28  18.28  -0.11   2.88 -49.03  -0.97   3.68  -0.97   1.83   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 154     FCOR   0.00  57.28  18.28  -0.11   2.88 -49.03  -0.97   3.68  -0.97   1.83   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 155      S10   0.00  57.28  18.28  -0.11   2.88 -49.03  -0.97   3.68  -0.97   1.83   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 156      COR   0.00  57.28  18.28  -0.12   2.88 -49.03  -0.97   3.68  -0.97   1.83   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 157      SD8   0.20  57.28  18.28  -0.12   2.88 -49.03 -16.17   3.68  -0.97   1.83   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 158      Q10   0.32  57.48  18.32  -0.13   2.88 -52.27 -16.17   4.09  -1.08   1.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 159      SD9   0.48  57.80  14.96   9.93   2.88 -52.11  17.15   5.81  -4.66   1.85   0.00   0.00  -0.00   0.00   0.00   0.00
+ 160      BPM   0.00  58.28   7.01   6.76   2.89 -43.94  17.15  11.14  -6.52   1.86   0.00   0.00  -0.00   0.00   0.00   0.00
+ 161       S9   0.00  58.28   7.01   6.76   2.89 -43.94  17.15  11.14  -6.52   1.86   0.00   0.00  -0.00   0.00   0.00   0.00
+ 162      COR   0.00  58.28   7.01   6.76   2.89 -43.94  17.16  11.14  -6.52   1.86   0.00   0.00  -0.00   0.00   0.00   0.00
+ 163      SD8   0.20  58.28   7.01   6.76   2.89 -43.94  17.16  11.14  -6.52   1.86   0.00   0.00  -0.00   0.00   0.00   0.00
+ 164       Q9   0.32  58.48   4.57   5.43   2.90 -40.50  17.16  13.90  -7.30   1.86   0.00   0.00  -0.00   0.00   0.00   0.00
+ 165      SD7   0.44  58.80   2.25   2.26   2.91 -38.41  -3.86  16.16   0.65   1.86   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 166     BEND   1.05  59.24   0.78   1.06   2.97 -40.11  -3.86  15.61   0.61   1.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 167      SD7   0.44  60.29   1.54  -1.79   3.26 -44.05  -3.67  13.86   1.03   1.88   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 168       Q6   0.32  60.73   3.64  -2.99   3.29 -45.66  -3.67  12.98   0.96   1.88   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 169      SD5   0.20  61.05   6.42  -6.04   3.30 -49.50 -20.53  10.99   5.01   1.89   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 170       S7   0.00  61.25   9.07  -7.21   3.31 -53.60 -20.53   9.09   4.53   1.89   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 171      COR   0.00  61.25   9.07  -7.20   3.31 -53.60 -20.52   9.09   4.53   1.89   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 172      SD4   0.39  61.25   9.07  -7.20   3.31 -53.60 -20.52   9.09   4.53   1.89   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 173      BPM   0.00  61.64  15.57  -9.48   3.31 -61.60 -20.52   5.92   3.60   1.90   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 174       Q7   0.46  61.64  15.57  -9.48   3.31 -61.60 -20.52   5.92   3.60   1.90   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 175      SD3   0.20  62.10  16.63   7.55   3.32 -56.43  42.14   5.28  -2.02   1.91   0.00   0.00  -0.00   0.00   0.00   0.00
+ 176       S8   0.00  62.30  13.75   6.85   3.32 -48.00  42.14   6.13  -2.21   1.92   0.00   0.00  -0.00   0.00   0.00   0.00
+ 177      COR   0.00  62.30  13.75   6.85   3.32 -48.00  42.13   6.13  -2.21   1.92   0.00   0.00  -0.00   0.00   0.00   0.00
+ 178      SD2   0.39  62.30  13.75   6.85   3.32 -48.00  22.51   6.13  -2.21   1.92   0.00   0.00  -0.00   0.00   0.00   0.00
+ 179       Q8   0.32  62.69   8.94   5.49   3.33 -39.22  22.51   8.00  -2.58   1.93   0.00   0.00  -0.00   0.00   0.00   0.00
+ 180     FCOR   0.00  63.01   7.03   0.81   3.33 -35.28   2.51   8.24   1.86   1.93   0.00   0.00  -0.00   0.00   0.00   0.00
+ 181      BPM   0.00  63.01   7.03   0.81   3.33 -35.28   2.51   8.24   1.86   1.93   0.00   0.00  -0.00   0.00   0.00   0.00
+ 182     SD13   3.48  63.01   7.03   0.81   3.33 -35.28   2.51   8.24   1.86   1.93   0.00   0.00  -0.00   0.00   0.00   0.00
+ 183     SD13   3.48  66.49   4.23  -0.01   3.44 -26.53   2.51   1.85  -0.03   2.11   0.00   0.00  -0.00   0.00   0.00   0.00
+ 184      BPM   0.00  69.98   7.16  -0.83   3.55 -17.79   2.51   8.60  -1.91   2.28   0.00   0.00  -0.00   0.00   0.00   0.00
+ 185     FCOR   0.00  69.98   7.16  -0.83   3.55 -17.79   2.51   8.60  -1.91   2.28   0.00   0.00  -0.00   0.00   0.00   0.00
+ 186       Q8   0.32  69.98   7.16  -0.83   3.55 -17.79   2.51   8.60  -1.91   2.28   0.00   0.00  -0.00   0.00   0.00   0.00
+ 187      SD2   0.39  70.30   9.11  -5.60   3.56 -18.54  -7.24   8.32   2.72   2.28   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 188       S6   0.00  70.69  14.02  -6.98   3.56 -21.36  -7.24   6.35   2.33   2.29   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 189      COR   0.00  70.69  14.02  -6.98   3.56 -21.36  -7.24   6.35   2.33   2.29   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 190      SD3   0.20  70.69  14.02  -6.98   3.56 -21.36 -25.62   6.35   2.33   2.29   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 191       Q7   0.46  70.89  16.95  -7.69   3.57 -26.49 -25.62   5.46   2.12   2.30   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 192      BPM   0.00  71.35  15.87   9.66   3.57 -31.40   5.11   6.08  -3.66   2.31   0.00   0.00  -0.00   0.00   0.00   0.00
+ 193      SD4   0.39  71.35  15.87   9.66   3.57 -31.40   5.11   6.08  -3.66   2.31   0.00   0.00  -0.00   0.00   0.00   0.00
+ 194       S5   0.00  71.74   9.24   7.34   3.58 -29.40   5.11   9.29  -4.58   2.32   0.00   0.00  -0.00   0.00   0.00   0.00
+ 195      COR   0.00  71.74   9.24   7.35   3.58 -29.40   5.11   9.29  -4.59   2.32   0.00   0.00  -0.00   0.00   0.00   0.00
+ 196      SD5   0.20  71.74   9.24   7.35   3.58 -29.40   5.11   9.29  -4.59   2.32   0.00   0.00  -0.00   0.00   0.00   0.00
+ 197       Q6   0.32  71.94   6.54   6.16   3.58 -28.38   5.11  11.22  -5.06   2.32   0.00   0.00  -0.00   0.00   0.00   0.00
+ 198      SD7   0.44  72.26   3.70   3.05   3.59 -28.35  -4.94  13.21  -0.93   2.33   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 199     BEND   1.05  72.70   1.56   1.82   3.62 -30.53  -4.94  14.06  -0.99   2.33   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 200      SD7   0.44  73.75   0.78  -1.08   3.92 -35.60  -4.75  15.73  -0.56   2.34   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 201       Q4   0.32  74.19   2.26  -2.30   3.97 -37.68  -4.75  16.24  -0.60   2.35   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 202      SD8   0.20  74.51   4.52  -5.07   3.99 -41.96 -22.31  14.38   6.12   2.35   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 203       S3   0.00  74.71   6.78  -6.25   4.00 -46.42 -22.31  12.04   5.58   2.35   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 204      COR   0.00  74.71   6.78  -6.25   4.00 -46.42 -22.30  12.04   5.58   2.35   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 205      BPM   0.00  74.71   6.78  -6.25   4.00 -46.42 -22.30  12.04   5.58   2.35   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 206      SD9   0.48  74.71   6.78  -6.25   4.00 -46.42 -22.30  12.04   5.58   2.35   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 207       Q5   0.32  75.19  14.08  -9.07   4.00 -57.04 -22.30   7.33   4.31   2.36   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 208     SD10   0.47  75.51  17.18   0.03   4.01 -58.52  13.24   6.01   0.09   2.37   0.00   0.00  -0.00   0.00   0.00   0.00
+ 209      BPM   0.00  75.98  17.16   0.00   4.01 -52.29  13.24   5.97   0.01   2.38   0.00   0.00  -0.00   0.00   0.00   0.00
+ 210       S4   0.00  75.98  17.16   0.00   4.01 -52.29  13.24   5.97   0.01   2.38   0.00   0.00  -0.00   0.00   0.00   0.00
+ 211      COR   0.00  75.98  17.16  -0.01   4.01 -52.29  13.23   5.97   0.01   2.38   0.00   0.00  -0.00   0.00   0.00   0.00
+ 212     SD12   0.47  75.98  17.16  -0.01   4.01 -52.29 -19.41   5.97   0.01   2.38   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 213       Q5   0.32  76.45  17.18  -0.03   4.02 -61.42 -19.41   6.00  -0.07   2.40   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 214      SD9   0.48  76.77  14.09   9.07   4.02 -61.58  18.42   7.30  -4.27   2.40   0.00   0.00  -0.00   0.00   0.00   0.00
+ 215      BPM   0.00  77.24   6.79   6.25   4.03 -52.81  18.42  11.97  -5.53   2.41   0.00   0.00  -0.00   0.00   0.00   0.00
+ 216       S3   0.00  77.24   6.79   6.25   4.03 -52.81  18.42  11.97  -5.53   2.41   0.00   0.00  -0.00   0.00   0.00   0.00
+ 217      COR   0.00  77.24   6.79   6.26   4.03 -52.81  18.42  11.97  -5.53   2.41   0.00   0.00  -0.00   0.00   0.00   0.00
+ 218      SD8   0.20  77.24   6.79   6.26   4.03 -52.81  18.42  11.97  -5.53   2.41   0.00   0.00  -0.00   0.00   0.00   0.00
+ 219       Q4   0.32  77.44   4.52   5.07   4.03 -49.12  18.42  14.29  -6.06   2.41   0.00   0.00  -0.00   0.00   0.00   0.00
+ 220      SD7   0.44  77.76   2.27   2.30   4.05 -46.63  -2.69  16.13   0.61   2.42   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 221     BEND   1.05  78.20   0.78   1.08   4.10 -47.82  -2.69  15.61   0.57   2.42   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 222      SD6   0.79  79.25   1.55  -1.82   4.40 -50.53  -2.49  13.93   1.00   2.43   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 223       S2   0.00  80.04   6.15  -4.01   4.44 -52.49  -2.49  12.44   0.88   2.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 224      COR   0.00  80.04   6.15  -4.00   4.44 -52.49  -2.48  12.44   0.88   2.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 225      SD5   0.20  80.04   6.15  -4.00   4.44 -52.49  -2.48  12.44   0.88   2.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 226       Q3   0.32  80.24   7.86  -4.56   4.45 -52.99  -2.48  12.10   0.85   2.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 227     SD14   0.59  80.56  11.81  -8.07   4.45 -55.75 -14.88  10.73   3.33   2.45   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 228      BPM   0.00  81.15  23.27 -11.37   4.46 -64.53 -14.88   7.19   2.66   2.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 229       Q2   0.46  81.15  23.27 -11.37   4.46 -64.53 -14.88   7.19   2.66   2.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 230      SD3   0.20  81.61  24.97   8.13   4.46 -59.64  35.52   7.31  -2.95   2.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 231       S1   0.00  81.81  21.83   7.59   4.46 -52.53  35.52   8.54  -3.21   2.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 232      COR   0.00  81.81  21.83   7.59   4.46 -52.53  35.52   8.54  -3.21   2.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 233      SD2   0.39  81.81  21.83   7.59   4.46 -52.53  17.85   8.54  -3.21   2.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 234       Q1   0.32  82.20  16.32   6.54   4.47 -45.57  17.85  11.25  -3.73   2.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 235     FCOR   0.00  82.52  14.13   0.56   4.47 -42.54   1.29  12.27   0.68   2.49   0.00   0.00  -0.00   0.00   0.00   0.00
+ 236      BPM   0.00  82.52  14.13   0.56   4.47 -42.54   1.29  12.27   0.68   2.49   0.00   0.00  -0.00   0.00   0.00   0.00
+ 237      SD1   6.00  82.52  14.13   0.56   4.47 -42.54   1.29  12.27   0.68   2.49   0.00   0.00  -0.00   0.00   0.00   0.00
+ 238    SECT2   0.00  88.52  10.77   0.00   4.55 -34.78   1.29   8.37  -0.03   2.59   0.00   0.00  -0.00   0.00   0.00   0.00
+ 239      SD1   6.00  88.52  10.77   0.00   4.55 -34.78   1.29   8.37  -0.03   2.59   0.00   0.00  -0.00   0.00   0.00   0.00
+ 240      BPM   0.00  94.52  14.10  -0.56   4.63 -27.03   1.29  13.09  -0.75   2.68   0.00   0.00  -0.00   0.00   0.00   0.00
+ 241     FCOR   0.00  94.52  14.10  -0.56   4.63 -27.03   1.29  13.09  -0.75   2.68   0.00   0.00  -0.00   0.00   0.00   0.00
+ 242       Q1   0.32  94.52  14.10  -0.56   4.63 -27.03   1.29  13.09  -0.75   2.68   0.00   0.00  -0.00   0.00   0.00   0.00
+ 243      SD2   0.39  94.84  16.27  -6.52   4.64 -28.26  -9.10  12.01   3.96   2.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 244       S1   0.00  95.23  21.77  -7.57   4.64 -31.81  -9.10   9.14   3.42   2.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 245      COR   0.00  95.23  21.77  -7.57   4.64 -31.81  -9.10   9.14   3.42   2.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 246      SD3   0.20  95.23  21.77  -7.57   4.64 -31.81 -26.77   9.14   3.42   2.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 247       Q2   0.46  95.43  24.90  -8.10   4.64 -37.16 -26.77   7.82   3.14   2.70   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 248      BPM   0.00  95.89  23.20  11.34   4.64 -42.22   5.46   7.70  -2.85   2.71   0.00   0.00  -0.00   0.00   0.00   0.00
+ 249     SD14   0.59  95.89  23.20  11.34   4.64 -42.22   5.46   7.70  -2.85   2.71   0.00   0.00  -0.00   0.00   0.00   0.00
+ 250       Q3   0.32  96.48  11.77   8.04   4.65 -39.00   5.46  11.48  -3.55   2.72   0.00   0.00  -0.00   0.00   0.00   0.00
+ 251      SD5   0.20  96.80   7.84   4.54   4.66 -38.67  -3.40  12.94  -0.90   2.72   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 252       S2   0.00  97.00   6.13   3.99   4.66 -39.35  -3.40  13.31  -0.93   2.72   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 253      COR   0.00  97.00   6.13   3.99   4.66 -39.35  -3.39  13.31  -0.93   2.72   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 254      SD6   0.79  97.00   6.13   3.99   4.66 -39.35  -3.39  13.31  -0.93   2.72   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 255     BEND   1.05  97.79   1.55   1.81   4.70 -42.03  -3.39  14.87  -1.04   2.73   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 256      SD7   0.44  98.85   0.78  -1.08   5.00 -45.48  -3.20  16.60  -0.57   2.74   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 257       Q4   0.32  99.29   2.27  -2.30   5.06 -46.89  -3.20  17.12  -0.61   2.75   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 258      SD8   0.20  99.61   4.52  -5.07   5.07 -51.32 -24.85  15.15   6.46   2.75   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 259       S3   0.00  99.81   6.79  -6.25   5.08 -56.29 -24.85  12.68   5.90   2.75   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 260      COR   0.00  99.81   6.79  -6.25   5.08 -56.29 -24.84  12.68   5.90   2.75   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 261      BPM   0.00  99.81   6.79  -6.25   5.08 -56.29 -24.84  12.68   5.90   2.75   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 262      SD9   0.48  99.81   6.79  -6.25   5.08 -56.29 -24.84  12.68   5.90   2.75   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 263       Q5   0.32 100.28  14.08  -9.06   5.09 -68.12 -24.84   7.70   4.55   2.76   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 264     SD12   0.47 100.60  17.16   0.04   5.09 -69.33  17.43   6.30   0.12   2.77   0.00   0.00  -0.00   0.00   0.00   0.00
+ 265       S4   0.00 101.07  17.14   0.01   5.09 -61.13  17.43   6.22   0.05   2.78   0.00   0.00  -0.00   0.00   0.00   0.00
+ 266      COR   0.00 101.07  17.14   0.00   5.09 -61.13  17.42   6.22   0.05   2.78   0.00   0.00  -0.00   0.00   0.00   0.00
+ 267      BPM   0.00 101.07  17.14   0.00   5.09 -61.13 -15.23   6.22   0.05   2.78   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 268     SD10   0.47 101.07  17.14   0.00   5.09 -61.13 -15.23   6.22   0.05   2.78   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 269       Q5   0.32 101.54  17.15  -0.03   5.10 -68.29 -15.23   6.21  -0.03   2.79   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 270      SD9   0.48 101.86  14.06   9.06   5.10 -66.50  26.23   7.52  -4.36   2.80   0.00   0.00  -0.00   0.00   0.00   0.00
+ 271      BPM   0.00 102.34   6.77   6.25   5.11 -54.01  26.23  12.27  -5.62   2.81   0.00   0.00  -0.00   0.00   0.00   0.00
+ 272       S3   0.00 102.34   6.77   6.25   5.11 -54.01  26.23  12.27  -5.62   2.81   0.00   0.00  -0.00   0.00   0.00   0.00
+ 273      COR   0.00 102.34   6.77   6.25   5.11 -54.01  26.24  12.27  -5.62   2.81   0.00   0.00  -0.00   0.00   0.00   0.00
+ 274      SD8   0.20 102.34   6.77   6.25   5.11 -54.01  26.24  12.27  -5.62   2.81   0.00   0.00  -0.00   0.00   0.00   0.00
+ 275       Q4   0.32 102.54   4.51   5.06   5.11 -48.76  26.24  14.63  -6.15   2.81   0.00   0.00  -0.00   0.00   0.00   0.00
+ 276      SD7   0.44 102.86   2.26   2.30   5.13 -43.68   5.86  16.47   0.67   2.81   0.00   0.00  -0.00   0.00   0.00   0.00
+ 277     BEND   1.05 103.30   0.78   1.07   5.18 -41.10   5.86  15.90   0.63   2.82   0.00   0.00  -0.00   0.00   0.00   0.00
+ 278      SD7   0.44 104.35   1.56  -1.83   5.48 -34.88   6.06  14.08   1.06   2.83   0.00   0.00  -0.00   0.00   0.00   0.00
+ 279       Q6   0.32 104.79   3.71  -3.05   5.51 -32.21   6.06  13.17   1.00   2.83   0.00   0.00  -0.00   0.00   0.00   0.00
+ 280      SD5   0.20 105.11   6.55  -6.16   5.52 -32.10  -5.34  11.14   5.09   2.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 281       S5   0.00 105.31   9.25  -7.35   5.53 -33.17  -5.34   9.20   4.61   2.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 282      COR   0.00 105.31   9.25  -7.35   5.53 -33.17  -5.34   9.20   4.61   2.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 283      SD4   0.39 105.31   9.25  -7.35   5.53 -33.17  -5.34   9.20   4.61   2.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 284      BPM   0.00 105.70  15.89  -9.67   5.53 -35.25  -5.34   5.98   3.67   2.85   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 285       Q7   0.46 105.70  15.89  -9.67   5.53 -35.25  -5.34   5.98   3.67   2.85   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 286      SD3   0.20 106.16  16.97   7.70   5.54 -29.57  29.07   5.31  -2.00   2.86   0.00   0.00  -0.00   0.00   0.00   0.00
+ 287       S6   0.00 106.36  14.03   6.99   5.54 -23.75  29.07   6.15  -2.19   2.87   0.00   0.00  -0.00   0.00   0.00   0.00
+ 288      COR   0.00 106.36  14.03   6.99   5.54 -23.75  29.07   6.15  -2.19   2.87   0.00   0.00  -0.00   0.00   0.00   0.00
+ 289      SD2   0.39 106.36  14.03   6.99   5.54 -23.75  10.69   6.15  -2.19   2.87   0.00   0.00  -0.00   0.00   0.00   0.00
+ 290       Q8   0.32 106.75   9.11   5.60   5.55 -19.58  10.69   8.01  -2.56   2.88   0.00   0.00  -0.00   0.00   0.00   0.00
+ 291     FCOR   0.00 107.07   7.17   0.84   5.55 -17.79   0.66   8.24   1.88   2.88   0.00   0.00  -0.00   0.00   0.00   0.00
+ 292      BPM   0.00 107.07   7.17   0.84   5.55 -17.79   0.66   8.24   1.88   2.88   0.00   0.00  -0.00   0.00   0.00   0.00
+ 293     SD13   3.48 107.07   7.17   0.84   5.55 -17.79   0.66   8.24   1.88   2.88   0.00   0.00  -0.00   0.00   0.00   0.00
+ 294     SD13   3.48 110.55   4.21   0.01   5.66 -15.49   0.66   1.81  -0.04   3.06   0.00   0.00  -0.00   0.00   0.00   0.00
+ 295      BPM   0.00 114.04   7.02  -0.82   5.77 -13.19   0.66   8.79  -1.96   3.23   0.00   0.00  -0.00   0.00   0.00   0.00
+ 296     FCOR   0.00 114.04   7.02  -0.82   5.77 -13.19   0.66   8.79  -1.96   3.23   0.00   0.00  -0.00   0.00   0.00   0.00
+ 297       Q8   0.32 114.04   7.02  -0.82   5.77 -13.19   0.66   8.79  -1.96   3.23   0.00   0.00  -0.00   0.00   0.00   0.00
+ 298      SD2   0.39 114.36   8.93  -5.49   5.78 -14.14  -6.68   8.52   2.78   3.24   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 299       S8   0.00 114.75  13.73  -6.84   5.78 -16.75  -6.68   6.51   2.38   3.25   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 300      COR   0.00 114.75  13.73  -6.85   5.78 -16.75  -6.68   6.51   2.38   3.25   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 301      SD3   0.20 114.75  13.73  -6.85   5.78 -16.75 -26.30   6.51   2.38   3.25   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 302       Q7   0.46 114.95  16.61  -7.54   5.79 -22.01 -26.30   5.60   2.17   3.25   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 303      BPM   0.00 115.41  15.56   9.47   5.79 -28.22   0.36   6.23  -3.75   3.26   0.00   0.00  -0.00   0.00   0.00   0.00
+ 304      SD4   0.39 115.41  15.56   9.47   5.79 -28.22   0.36   6.23  -3.75   3.26   0.00   0.00  -0.00   0.00   0.00   0.00
+ 305       S7   0.00 115.80   9.06   7.19   5.80 -28.08   0.36   9.52  -4.69   3.27   0.00   0.00  -0.00   0.00   0.00   0.00
+ 306      COR   0.00 115.80   9.06   7.20   5.80 -28.08   0.37   9.52  -4.69   3.27   0.00   0.00  -0.00   0.00   0.00   0.00
+ 307      SD5   0.20 115.80   9.06   7.20   5.80 -28.08   0.37   9.52  -4.69   3.27   0.00   0.00  -0.00   0.00   0.00   0.00
+ 308       Q6   0.32 116.00   6.41   6.03   5.80 -28.00   0.37  11.49  -5.18   3.28   0.00   0.00  -0.00   0.00   0.00   0.00
+ 309      SD7   0.44 116.32   3.63   2.98   5.81 -29.50  -9.82  13.53  -0.95   3.28   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 310     BEND   1.05 116.76   1.54   1.78   5.84 -33.83  -9.82  14.39  -1.01   3.28   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 311      SD7   0.44 117.81   0.78  -1.06   6.14 -44.00  -9.63  16.08  -0.56   3.30   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 312       Q9   0.32 118.25   2.24  -2.26   6.19 -48.23  -9.63  16.59  -0.60   3.30   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 313      SD8   0.20 118.57   4.57  -5.42   6.21 -55.63 -37.30  14.23   7.54   3.30   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 314       S9   0.00 118.77   7.00  -6.75   6.21 -63.09 -37.30  11.37   6.73   3.31   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 315      COR   0.00 118.77   7.00  -6.74   6.21 -63.09 -37.29  11.37   6.72   3.31   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 316      BPM   0.00 118.77   7.00  -6.74   6.21 -63.09 -37.29  11.37   6.72   3.31   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 317      SD9   0.48 118.77   7.00  -6.74   6.21 -63.09 -37.29  11.37   6.72   3.31   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 318      Q10   0.32 119.25  14.93  -9.91   6.22 -80.86 -37.29   5.89   4.79   3.31   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 319      SD8   0.20 119.57  18.29   0.13   6.23 -84.41  15.47   4.11   1.15   3.33   0.00   0.00  -0.00   0.00   0.00   0.00
+ 320      S10   0.00 119.77  18.24   0.12   6.23 -81.31  15.47   3.67   1.04   3.33   0.00   0.00  -0.00   0.00   0.00   0.00
+ 321      COR   0.00 119.77  18.24   0.11   6.23 -81.31  15.46   3.67   1.04   3.33   0.00   0.00  -0.00   0.00   0.00   0.00
+ 322     FCOR   0.00 119.77  18.24   0.11   6.23 -81.31   0.27   3.67   1.04   3.33   0.00   0.00  -0.00   0.00   0.00   0.00
+ 323      BPM   0.00 119.77  18.24   0.11   6.23 -81.31   0.27   3.67   1.04   3.33   0.00   0.00  -0.00   0.00   0.00   0.00
+ 324     SDAC   1.90 119.77  18.24   0.11   6.23 -81.31   0.27   3.67   1.04   3.33   0.00   0.00  -0.00   0.00   0.00   0.00
+ 325     SDAC   1.90 121.67  18.01   0.01   6.24 -80.80   0.27   1.77  -0.04   3.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 326      BPM   0.00 123.57  18.18  -0.10   6.26 -80.30   0.27   3.97  -1.12   3.60   0.00   0.00  -0.00   0.00   0.00   0.00
+ 327     FCOR   0.00 123.57  18.18  -0.10   6.26 -80.30   0.27   3.97  -1.12   3.60   0.00   0.00  -0.00   0.00   0.00   0.00
+ 328      S10   0.00 123.57  18.18  -0.10   6.26 -80.30   0.27   3.97  -1.12   3.60   0.00   0.00  -0.00   0.00   0.00   0.00
+ 329      COR   0.00 123.57  18.18  -0.10   6.26 -80.30   0.25   3.97  -1.12   3.60   0.00   0.00  -0.00   0.00   0.00   0.00
+ 330      SD8   0.20 123.57  18.18  -0.10   6.26 -80.30 -14.95   3.97  -1.12   3.60   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 331      Q10   0.32 123.77  18.23  -0.12   6.26 -83.29 -14.95   4.44  -1.23   3.60   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 332      SD9   0.48 124.09  14.87   9.88   6.27 -79.68  37.08   6.35  -5.14   3.61   0.00   0.00  -0.00   0.00   0.00   0.00
+ 333      BPM   0.00 124.57   6.96   6.72   6.27 -62.02  37.08  12.23  -7.19   3.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 334       S9   0.00 124.57   6.96   6.72   6.27 -62.02  37.08  12.23  -7.19   3.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 335      COR   0.00 124.57   6.96   6.73   6.27 -62.02  37.10  12.23  -7.20   3.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 336      SD8   0.20 124.57   6.96   6.73   6.27 -62.02  37.10  12.23  -7.20   3.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 337       Q9   0.32 124.77   4.54   5.40   6.28 -54.60  37.10  15.28  -8.06   3.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 338      SD7   0.44 125.09   2.22   2.25   6.29 -47.17   9.98  17.79   0.68   3.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 339     BEND   1.05 125.53   0.77   1.05   6.35 -42.78   9.98  17.20   0.64   3.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 340      SD7   0.44 126.58   1.56  -1.80   6.65 -32.24  10.18  15.31   1.12   3.64   0.00   0.00  -0.00   0.00   0.00   0.00
+ 341       Q6   0.32 127.02   3.67  -3.00   6.68 -27.77  10.18  14.35   1.06   3.65   0.00   0.00  -0.00   0.00   0.00   0.00
+ 342      SD5   0.20 127.34   6.47  -6.08   6.69 -26.05   0.64  12.15   5.53   3.65   0.00   0.00  -0.00   0.00   0.00   0.00
+ 343       S7   0.00 127.54   9.14  -7.25   6.69 -25.92   0.64  10.05   5.01   3.65   0.00   0.00  -0.00   0.00   0.00   0.00
+ 344      COR   0.00 127.54   9.14  -7.25   6.69 -25.92   0.64  10.05   5.01   3.65   0.00   0.00  -0.00   0.00   0.00   0.00
+ 345      SD4   0.39 127.54   9.14  -7.25   6.69 -25.92   0.64  10.05   5.01   3.65   0.00   0.00  -0.00   0.00   0.00   0.00
+ 346      BPM   0.00 127.93  15.68  -9.53   6.70 -25.67   0.64   6.53   4.00   3.66   0.00   0.00  -0.00   0.00   0.00   0.00
+ 347       Q7   0.46 127.93  15.68  -9.53   6.70 -25.67   0.64   6.53   4.00   3.66   0.00   0.00  -0.00   0.00   0.00   0.00
+ 348      SD3   0.20 128.39  16.73   7.61   6.70 -19.61  24.68   5.81  -2.18   3.67   0.00   0.00  -0.00   0.00   0.00   0.00
+ 349       S8   0.00 128.59  13.83   6.90   6.70 -14.67  24.68   6.72  -2.38   3.68   0.00   0.00  -0.00   0.00   0.00   0.00
+ 350      COR   0.00 128.59  13.83   6.90   6.70 -14.67  24.68   6.72  -2.38   3.68   0.00   0.00  -0.00   0.00   0.00   0.00
+ 351      SD2   0.39 128.59  13.83   6.90   6.70 -14.67   5.09   6.72  -2.38   3.68   0.00   0.00  -0.00   0.00   0.00   0.00
+ 352       Q8   0.32 128.98   8.98   5.53   6.71 -12.69   5.09   8.73  -2.77   3.69   0.00   0.00  -0.00   0.00   0.00   0.00
+ 353     FCOR   0.00 129.30   7.05   0.83   6.72 -12.13  -1.57   8.97   2.08   3.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 354      BPM   0.00 129.30   7.05   0.83   6.72 -12.13  -1.57   8.97   2.08   3.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 355     SD13   3.48 129.30   7.05   0.83   6.72 -12.13  -1.57   8.97   2.08   3.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 356     SD13   3.48 132.79   4.16  -0.00   6.83 -17.60  -1.57   1.68   0.01   3.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 357      BPM   0.00 136.27   7.10  -0.84   6.94 -23.06  -1.57   8.82  -2.06   4.05   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 358     FCOR   0.00 136.27   7.10  -0.84   6.94 -23.06  -1.57   8.82  -2.06   4.05   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 359       Q8   0.32 136.27   7.10  -0.84   6.94 -23.06  -1.57   8.82  -2.06   4.05   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 360      SD2   0.39 136.59   9.04  -5.57   6.94 -25.62 -14.64   8.59   2.71   4.05   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 361       S8   0.00 136.98  13.92  -6.95   6.95 -31.33 -14.64   6.63   2.33   4.06   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 362      COR   0.00 136.98  13.92  -6.95   6.95 -31.33 -14.64   6.63   2.33   4.06   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 363      SD3   0.20 136.98  13.92  -6.95   6.95 -31.33 -34.23   6.63   2.33   4.06   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 364       Q7   0.46 137.18  16.84  -7.66   6.95 -38.18 -34.23   5.73   2.14   4.07   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 365      BPM   0.00 137.64  15.78   9.59   6.96 -44.11   9.45   6.46  -3.97   4.08   0.00   0.00  -0.00   0.00   0.00   0.00
+ 366      SD4   0.39 137.64  15.78   9.59   6.96 -44.11   9.45   6.46  -3.97   4.08   0.00   0.00  -0.00   0.00   0.00   0.00
+ 367       S7   0.00 138.03   9.20   7.29   6.96 -40.42   9.45   9.96  -4.99   4.09   0.00   0.00  -0.00   0.00   0.00   0.00
+ 368      COR   0.00 138.03   9.20   7.30   6.96 -40.42   9.46   9.96  -4.99   4.09   0.00   0.00  -0.00   0.00   0.00   0.00
+ 369      SD5   0.20 138.03   9.20   7.30   6.96 -40.42   9.46   9.96  -4.99   4.09   0.00   0.00  -0.00   0.00   0.00   0.00
+ 370       Q6   0.32 138.23   6.52   6.12   6.96 -38.53   9.46  12.06  -5.51   4.09   0.00   0.00  -0.00   0.00   0.00   0.00
+ 371      SD7   0.44 138.55   3.70   3.02   6.98 -37.67  -4.05  14.25  -1.07   4.09   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 372     BEND   1.05 138.99   1.57   1.82   7.00 -39.45  -4.05  15.22  -1.14   4.10   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 373      SD7   0.44 140.04   0.77  -1.05   7.30 -43.58  -3.85  17.15  -0.66   4.11   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 374       Q9   0.32 140.48   2.23  -2.26   7.36 -45.28  -3.85  17.75  -0.70   4.11   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 375      SD8   0.20 140.80   4.55  -5.42   7.37 -50.52 -29.37  15.26   8.03   4.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 376       S9   0.00 141.00   6.99  -6.76   7.38 -56.39 -29.37  12.22   7.17   4.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 377      COR   0.00 141.00   6.99  -6.75   7.38 -56.39 -29.36  12.22   7.17   4.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 378      BPM   0.00 141.00   6.99  -6.75   7.38 -56.39 -29.36  12.22   7.17   4.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 379      SD9   0.48 141.00   6.99  -6.75   7.38 -56.39 -29.36  12.22   7.17   4.12   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 380      Q10   0.32 141.48  14.94  -9.93   7.39 -70.38 -29.36   6.37   5.13   4.13   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 381      SD8   0.20 141.80  18.31   0.11   7.39 -72.51  16.26   4.46   1.21   4.14   0.00   0.00  -0.00   0.00   0.00   0.00
+ 382      S10   0.00 142.00  18.27   0.10   7.39 -69.26  16.26   4.00   1.10   4.15   0.00   0.00  -0.00   0.00   0.00   0.00
+ 383      COR   0.00 142.00  18.27   0.09   7.39 -69.26  16.25   4.00   1.10   4.15   0.00   0.00  -0.00   0.00   0.00   0.00
+ 384     FCOR   0.00 142.00  18.27   0.09   7.39 -69.26   1.05   4.00   1.10   4.15   0.00   0.00  -0.00   0.00   0.00   0.00
+ 385      BPM   0.00 142.00  18.27   0.09   7.39 -69.26   1.05   4.00   1.10   4.15   0.00   0.00  -0.00   0.00   0.00   0.00
+ 386     SDAC   1.90 142.00  18.27   0.09   7.39 -69.26   1.05   4.00   1.10   4.15   0.00   0.00  -0.00   0.00   0.00   0.00
+ 387     SDAC   1.90 143.90  18.11  -0.01   7.41 -67.27   1.05   1.81   0.05   4.27   0.00   0.00  -0.00   0.00   0.00   0.00
+ 388      BPM   0.00 145.81  18.35  -0.12   7.43 -65.27   1.05   3.64  -1.01   4.40   0.00   0.00  -0.00   0.00   0.00   0.00
+ 389     FCOR   0.00 145.81  18.35  -0.12   7.43 -65.27   1.05   3.64  -1.01   4.40   0.00   0.00  -0.00   0.00   0.00   0.00
+ 390      S10   0.00 145.81  18.35  -0.12   7.43 -65.27   1.05   3.64  -1.01   4.40   0.00   0.00  -0.00   0.00   0.00   0.00
+ 391      COR   0.00 145.81  18.35  -0.12   7.43 -65.27   1.04   3.64  -1.01   4.40   0.00   0.00  -0.00   0.00   0.00   0.00
+ 392      SD8   0.20 145.81  18.35  -0.12   7.43 -65.27 -14.16   3.64  -1.01   4.40   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 393      Q10   0.32 146.01  18.40  -0.13   7.43 -68.10 -14.16   4.06  -1.12   4.41   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 394      SD9   0.48 146.33  15.02   9.97   7.43 -65.75  28.58   5.81  -4.71   4.42   0.00   0.00  -0.00   0.00   0.00   0.00
+ 395      BPM   0.00 146.80   7.04   6.79   7.44 -52.14  28.58  11.20  -6.60   4.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 396       S9   0.00 146.80   7.04   6.79   7.44 -52.14  28.58  11.20  -6.60   4.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 397      COR   0.00 146.80   7.04   6.79   7.44 -52.14  28.59  11.20  -6.61   4.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 398      SD8   0.20 146.80   7.04   6.79   7.44 -52.14  28.59  11.20  -6.61   4.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 399       Q9   0.32 147.00   4.59   5.45   7.44 -46.42  28.59  14.00  -7.40   4.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 400      SD7   0.44 147.32   2.26   2.27   7.46 -41.08   5.28  16.31   0.60   4.44   0.00   0.00  -0.00   0.00   0.00   0.00
+ 401     BEND   1.05 147.76   0.78   1.07   7.51 -38.76   5.28  15.80   0.57   4.44   0.00   0.00  -0.00   0.00   0.00   0.00
+ 402      SD7   0.44 148.82   1.54  -1.79   7.81 -33.14   5.47  14.11   1.00   4.45   0.00   0.00  -0.00   0.00   0.00   0.00
+ 403       Q6   0.32 149.26   3.64  -2.99   7.84 -30.73   5.47  13.26   0.94   4.46   0.00   0.00  -0.00   0.00   0.00   0.00
+ 404      SD5   0.20 149.58   6.43  -6.05   7.85 -30.73  -5.42  11.26   5.08   4.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 405       S7   0.00 149.78   9.08  -7.22   7.86 -31.81  -5.42   9.32   4.60   4.47   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 406      COR   0.00 149.78   9.08  -7.22   7.86 -31.81  -5.42   9.32   4.60   4.47   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 407      SD4   0.39 149.78   9.08  -7.22   7.86 -31.81  -5.42   9.32   4.60   4.47   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 408      BPM   0.00 150.17  15.60  -9.50   7.86 -33.92  -5.42   6.09   3.67   4.47   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 409       Q7   0.46 150.17  15.60  -9.50   7.86 -33.92  -5.42   6.09   3.67   4.47   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 410      SD3   0.20 150.63  16.67   7.56   7.87 -28.57  27.76   5.47  -2.12   4.49   0.00   0.00  -0.00   0.00   0.00   0.00
+ 411       S8   0.00 150.83  13.78   6.86   7.87 -23.02  27.76   6.36  -2.33   4.49   0.00   0.00  -0.00   0.00   0.00   0.00
+ 412      COR   0.00 150.83  13.78   6.86   7.87 -23.02  27.76   6.36  -2.32   4.49   0.00   0.00  -0.00   0.00   0.00   0.00
+ 413      SD2   0.39 150.83  13.78   6.86   7.87 -23.02   8.14   6.36  -2.32   4.49   0.00   0.00  -0.00   0.00   0.00   0.00
+ 414       Q8   0.32 151.22   8.96   5.50   7.87 -19.85   8.14   8.33  -2.72   4.50   0.00   0.00  -0.00   0.00   0.00   0.00
+ 415     FCOR   0.00 151.54   7.05   0.81   7.88 -18.92  -2.27   8.60   1.92   4.51   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 416      BPM   0.00 151.54   7.05   0.81   7.88 -18.92  -2.27   8.60   1.92   4.51   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 417     SD13   3.48 151.54   7.05   0.81   7.88 -18.92  -2.27   8.60   1.92   4.51   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 418     SD13   3.48 155.02   4.24  -0.01   7.99 -26.83  -2.27   1.84   0.02   4.68   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 419      BPM   0.00 158.50   7.15  -0.83   8.10 -34.73  -2.27   8.28  -1.87   4.85   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 420     FCOR   0.00 158.50   7.15  -0.83   8.10 -34.73  -2.27   8.28  -1.87   4.85   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 421       Q8   0.32 158.50   7.15  -0.83   8.10 -34.73  -2.27   8.28  -1.87   4.85   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 422      SD2   0.39 158.82   9.09  -5.58   8.11 -38.55 -21.94   8.03   2.59   4.86   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 423       S6   0.00 159.21  13.98  -6.96   8.11 -47.11 -21.94   6.16   2.22   4.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 424      COR   0.00 159.21  13.98  -6.97   8.11 -47.11 -21.95   6.16   2.22   4.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 425      SD3   0.20 159.21  13.98  -6.97   8.11 -47.11 -40.32   6.16   2.22   4.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 426       Q7   0.46 159.41  16.91  -7.68   8.11 -55.17 -40.32   5.31   2.03   4.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 427      BPM   0.00 159.87  15.84   9.64   8.12 -59.86  20.74   5.95  -3.62   4.89   0.00   0.00  -0.00   0.00   0.00   0.00
+ 428      SD4   0.39 159.87  15.84   9.64   8.12 -59.86  20.74   5.95  -3.62   4.89   0.00   0.00  -0.00   0.00   0.00   0.00
+ 429       S5   0.00 160.26   9.22   7.33   8.12 -51.77  20.74   9.14  -4.55   4.90   0.00   0.00  -0.00   0.00   0.00   0.00
+ 430      COR   0.00 160.26   9.22   7.33   8.12 -51.77  20.75   9.14  -4.55   4.90   0.00   0.00  -0.00   0.00   0.00   0.00
+ 431      SD5   0.20 160.26   9.22   7.33   8.12 -51.77  20.75   9.14  -4.55   4.90   0.00   0.00  -0.00   0.00   0.00   0.00
+ 432       Q6   0.32 160.46   6.52   6.14   8.13 -47.62  20.75  11.05  -5.03   4.90   0.00   0.00  -0.00   0.00   0.00   0.00
+ 433      SD7   0.44 160.78   3.69   3.04   8.14 -43.61   4.58  13.05  -0.97   4.90   0.00   0.00  -0.00   0.00   0.00   0.00
+ 434     BEND   1.05 161.22   1.56   1.82   8.17 -41.59   4.58  13.93  -1.03   4.91   0.00   0.00  -0.00   0.00   0.00   0.00
+ 435      SD7   0.44 162.27   0.78  -1.08   8.47 -36.69   4.78  15.69  -0.61   4.92   0.00   0.00  -0.00   0.00   0.00   0.00
+ 436       Q4   0.32 162.71   2.27  -2.30   8.52 -34.59   4.78  16.24  -0.65   4.92   0.00   0.00  -0.00   0.00   0.00   0.00
+ 437      SD8   0.20 163.03   4.52  -5.07   8.54 -35.52 -10.68  14.42   6.08   4.93   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 438       S3   0.00 163.23   6.78  -6.25   8.54 -37.66 -10.68  12.09   5.55   4.93   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 439      COR   0.00 163.23   6.78  -6.25   8.54 -37.66 -10.68  12.09   5.55   4.93   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 440      BPM   0.00 163.23   6.78  -6.25   8.54 -37.66 -10.68  12.09   5.55   4.93   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 441      SD9   0.48 163.23   6.78  -6.25   8.54 -37.66 -10.68  12.09   5.55   4.93   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 442       Q5   0.32 163.71  14.08  -9.07   8.55 -42.75 -10.68   7.40   4.30   4.94   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 443     SD10   0.47 164.03  17.17   0.03   8.56 -41.98  15.38   6.09   0.04   4.95   0.00   0.00  -0.00   0.00   0.00   0.00
+ 444      BPM   0.00 164.50  17.16   0.00   8.56 -34.75  15.38   6.09  -0.04   4.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 445       S4   0.00 164.50  17.16   0.00   8.56 -34.75  15.38   6.09  -0.04   4.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 446      COR   0.00 164.50  17.16  -0.00   8.56 -34.75  15.38   6.09  -0.04   4.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 447     SD12   0.47 164.50  17.16  -0.00   8.56 -34.75 -17.27   6.09  -0.04   4.96   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 448       Q5   0.32 164.97  17.17  -0.03   8.56 -42.87 -17.27   6.16  -0.11   4.97   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 449      SD9   0.48 165.29  14.08   9.07   8.57 -44.13   9.49   7.54  -4.45   4.98   0.00   0.00  -0.00   0.00   0.00   0.00
+ 450      BPM   0.00 165.77   6.78   6.25   8.58 -39.61   9.49  12.40  -5.77   4.99   0.00   0.00  -0.00   0.00   0.00   0.00
+ 451       S3   0.00 165.77   6.78   6.25   8.58 -39.61   9.49  12.40  -5.77   4.99   0.00   0.00  -0.00   0.00   0.00   0.00
+ 452      COR   0.00 165.77   6.78   6.25   8.58 -39.61   9.49  12.40  -5.77   4.99   0.00   0.00  -0.00   0.00   0.00   0.00
+ 453      SD8   0.20 165.77   6.78   6.25   8.58 -39.61   9.49  12.40  -5.77   4.99   0.00   0.00  -0.00   0.00   0.00   0.00
+ 454       Q4   0.32 165.97   4.52   5.07   8.58 -37.71   9.49  14.82  -6.32   4.99   0.00   0.00  -0.00   0.00   0.00   0.00
+ 455      SD7   0.44 166.29   2.26   2.30   8.60 -37.33  -7.05  16.74   0.60   4.99   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 456     BEND   1.05 166.73   0.78   1.08   8.65 -40.43  -7.05  16.23   0.56   5.00   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 457      SD6   0.79 167.78   1.56  -1.82   8.95 -47.70  -6.85  14.54   1.01   5.01   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 458       S2   0.00 168.57   6.17  -4.01   8.99 -53.11  -6.85  13.02   0.90   5.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 459      COR   0.00 168.57   6.17  -4.01   8.99 -53.11  -6.84  13.02   0.90   5.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 460      SD5   0.20 168.57   6.17  -4.01   8.99 -53.11  -6.84  13.02   0.90   5.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 461       Q3   0.32 168.77   7.89  -4.57   9.00 -54.48  -6.84  12.67   0.87   5.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 462     SD14   0.59 169.09  11.84  -8.08   9.00 -58.71 -19.75  11.25   3.47   5.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 463      BPM   0.00 169.68  23.33 -11.39   9.01 -70.36 -19.75   7.55   2.79   5.03   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 464       Q2   0.46 169.68  23.33 -11.39   9.01 -70.36 -19.75   7.55   2.79   5.03   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 465      SD3   0.20 170.14  25.03   8.15   9.01 -66.55  35.82   7.68  -3.10   5.04   0.00   0.00  -0.00   0.00   0.00   0.00
+ 466       S1   0.00 170.34  21.88   7.61   9.01 -59.38  35.82   8.98  -3.38   5.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 467      COR   0.00 170.34  21.88   7.61   9.01 -59.38  35.82   8.98  -3.37   5.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 468      SD2   0.39 170.34  21.88   7.61   9.01 -59.38  18.15   8.98  -3.37   5.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 469       Q1   0.32 170.73  16.35   6.56   9.02 -52.31  18.15  11.82  -3.91   5.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 470     FCOR   0.00 171.05  14.16   0.56   9.02 -49.59  -0.99  12.88   0.72   5.06   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 471      BPM   0.00 171.05  14.16   0.56   9.02 -49.59  -0.99  12.88   0.72   5.06   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 472      SD1   6.00 171.05  14.16   0.56   9.02 -49.59  -0.99  12.88   0.72   5.06   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 473    SECT3   0.00 177.05  10.75   0.01   9.10 -55.56  -0.99   8.45   0.01   5.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 474      SD1   6.00 177.05  10.75   0.01   9.10 -55.56  -0.99   8.45   0.01   5.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 475      BPM   0.00 183.05  14.04  -0.55   9.18 -61.52  -0.99  12.54  -0.70   5.25   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 476     FCOR   0.00 183.05  14.04  -0.55   9.18 -61.52  -0.99  12.54  -0.70   5.25   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 477       Q1   0.32 183.05  14.04  -0.55   9.18 -61.52  -0.99  12.54  -0.70   5.25   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 478      SD2   0.39 183.37  16.21  -6.50   9.18 -65.62 -24.88  11.50   3.81   5.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 479       S1   0.00 183.76  21.68  -7.54   9.19 -75.32 -24.88   8.73   3.29   5.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 480      COR   0.00 183.76  21.68  -7.54   9.19 -75.32 -24.89   8.73   3.29   5.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 481      SD3   0.20 183.76  21.68  -7.54   9.19 -75.32 -42.56   8.73   3.29   5.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 482       Q2   0.46 183.96  24.80  -8.07   9.19 -83.84 -42.56   7.47   3.02   5.27   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 483      BPM   0.00 184.42  23.12  11.29   9.19 -87.53  27.00   7.34  -2.71   5.28   0.00   0.00  -0.00   0.00   0.00   0.00
+ 484     SD14   0.59 184.42  23.12  11.29   9.19 -87.53  27.00   7.34  -2.71   5.28   0.00   0.00  -0.00   0.00   0.00   0.00
+ 485       Q3   0.32 185.01  11.73   8.01   9.20 -71.60  27.00  10.93  -3.38   5.29   0.00   0.00  -0.00   0.00   0.00   0.00
+ 486      SD5   0.20 185.33   7.81   4.52   9.20 -65.49  11.36  12.31  -0.85   5.29   0.00   0.00  -0.00   0.00   0.00   0.00
+ 487       S2   0.00 185.53   6.11   3.97   9.21 -63.22  11.36  12.66  -0.88   5.30   0.00   0.00  -0.00   0.00   0.00   0.00
+ 488      COR   0.00 185.53   6.11   3.98   9.21 -63.22  11.38  12.66  -0.89   5.30   0.00   0.00  -0.00   0.00   0.00   0.00
+ 489      SD6   0.79 185.53   6.11   3.98   9.21 -63.22  11.38  12.66  -0.89   5.30   0.00   0.00  -0.00   0.00   0.00   0.00
+ 490     BEND   1.05 186.32   1.54   1.80   9.25 -54.23  11.38  14.15  -1.00   5.31   0.00   0.00  -0.00   0.00   0.00   0.00
+ 491      SD7   0.44 187.37   0.78  -1.08   9.55 -42.23  11.58  15.82  -0.56   5.32   0.00   0.00  -0.00   0.00   0.00   0.00
+ 492       Q4   0.32 187.81   2.26  -2.29   9.60 -37.13  11.58  16.33  -0.60   5.32   0.00   0.00  -0.00   0.00   0.00   0.00
+ 493      SD8   0.20 188.13   4.50  -5.05   9.62 -36.02  -4.55  14.46   6.15   5.32   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 494       S3   0.00 188.33   6.76  -6.22   9.63 -36.93  -4.55  12.11   5.61   5.33   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 495      COR   0.00 188.33   6.76  -6.22   9.63 -36.93  -4.55  12.11   5.61   5.33   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 496      BPM   0.00 188.33   6.76  -6.22   9.63 -36.93  -4.55  12.11   5.61   5.33   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 497      SD9   0.48 188.33   6.76  -6.22   9.63 -36.93  -4.55  12.11   5.61   5.33   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 498       Q5   0.32 188.81  14.02  -9.02   9.63 -39.10  -4.55   7.37   4.33   5.33   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 499     SD12   0.47 189.13  17.09   0.04   9.64 -36.78  18.79   6.04   0.09   5.34   0.00   0.00  -0.00   0.00   0.00   0.00
+ 500       S4   0.00 189.60  17.07   0.01   9.64 -27.95  18.79   5.99   0.01   5.35   0.00   0.00  -0.00   0.00   0.00   0.00
+ 501      COR   0.00 189.60  17.07   0.01   9.64 -27.95  18.79   5.99   0.01   5.35   0.00   0.00  -0.00   0.00   0.00   0.00
+ 502      BPM   0.00 189.60  17.07   0.01   9.64 -27.95 -13.86   5.99   0.01   5.35   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 503     SD10   0.47 189.60  17.07   0.01   9.64 -27.95 -13.86   5.99   0.01   5.35   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 504       Q5   0.32 190.07  17.08  -0.02   9.65 -34.47 -13.86   6.01  -0.06   5.37   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 505      SD9   0.48 190.39  14.00   9.02   9.65 -35.47   7.65   7.32  -4.28   5.38   0.00   0.00  -0.00   0.00   0.00   0.00
+ 506      BPM   0.00 190.86   6.74   6.22   9.66 -31.83   7.65  11.99  -5.54   5.38   0.00   0.00  -0.00   0.00   0.00   0.00
+ 507       S3   0.00 190.86   6.74   6.22   9.66 -31.83   7.65  11.99  -5.54   5.38   0.00   0.00  -0.00   0.00   0.00   0.00
+ 508      COR   0.00 190.86   6.74   6.22   9.66 -31.83   7.66  11.99  -5.54   5.38   0.00   0.00  -0.00   0.00   0.00   0.00
+ 509      SD8   0.20 190.86   6.74   6.22   9.66 -31.83   7.66  11.99  -5.54   5.38   0.00   0.00  -0.00   0.00   0.00   0.00
+ 510       Q4   0.32 191.06   4.49   5.04   9.66 -30.30   7.66  14.31  -6.06   5.39   0.00   0.00  -0.00   0.00   0.00   0.00
+ 511      SD7   0.44 191.38   2.25   2.28   9.68 -29.98  -5.63  16.15   0.62   5.39   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 512     BEND   1.05 191.82   0.77   1.07   9.73 -32.46  -5.63  15.62   0.58   5.39   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 513      SD7   0.44 192.88   1.57  -1.83  10.03 -38.24  -5.44  13.92   1.00   5.40   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 514       Q6   0.32 193.32   3.71  -3.04  10.06 -40.64  -5.44  13.07   0.94   5.41   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 515      SD5   0.20 193.64   6.54  -6.15  10.07 -44.76 -20.57  11.09   5.02   5.41   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 516       S5   0.00 193.84   9.24  -7.34  10.08 -48.87 -20.57   9.17   4.55   5.42   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 517      COR   0.00 193.84   9.24  -7.34  10.08 -48.87 -20.56   9.17   4.54   5.42   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 518      SD4   0.39 193.84   9.24  -7.34  10.08 -48.87 -20.56   9.17   4.54   5.42   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 519      BPM   0.00 194.23  15.87  -9.65  10.08 -56.89 -20.56   5.99   3.62   5.43   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 520       Q7   0.46 194.23  15.87  -9.65  10.08 -56.89 -20.56   5.99   3.62   5.43   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 521      SD3   0.20 194.69  16.94   7.70  10.09 -52.80  37.67   5.37  -2.08   5.44   0.00   0.00  -0.00   0.00   0.00   0.00
+ 522       S6   0.00 194.89  14.00   6.99  10.09 -45.27  37.67   6.24  -2.27   5.44   0.00   0.00  -0.00   0.00   0.00   0.00
+ 523      COR   0.00 194.89  14.00   6.98  10.09 -45.27  37.66   6.24  -2.27   5.44   0.00   0.00  -0.00   0.00   0.00   0.00
+ 524      SD2   0.39 194.89  14.00   6.98  10.09 -45.27  19.29   6.24  -2.27   5.44   0.00   0.00  -0.00   0.00   0.00   0.00
+ 525       Q8   0.32 195.28   9.10   5.60  10.09 -37.74  19.29   8.17  -2.66   5.45   0.00   0.00  -0.00   0.00   0.00   0.00
+ 526     FCOR   0.00 195.60   7.15   0.84  10.10 -34.73  -0.17   8.43   1.88   5.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 527      BPM   0.00 195.60   7.15   0.84  10.10 -34.73  -0.17   8.43   1.88   5.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 528     SD13   3.48 195.60   7.15   0.84  10.10 -34.73  -0.17   8.43   1.88   5.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 529     SD13   3.48 199.08   4.20   0.01  10.21 -35.32  -0.17   1.85   0.00   5.63   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 530      BPM   0.00 202.56   7.02  -0.82  10.32 -35.91  -0.17   8.37  -1.88   5.80   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 531     FCOR   0.00 202.56   7.02  -0.82  10.32 -35.91  -0.17   8.37  -1.88   5.80   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 532       Q8   0.32 202.56   7.02  -0.82  10.32 -35.91  -0.17   8.37  -1.88   5.80   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 533      SD2   0.39 202.88   8.94  -5.50  10.33 -39.14 -20.31   8.11   2.63   5.81   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 534       S8   0.00 203.27  13.75  -6.86  10.33 -47.06 -20.31   6.21   2.25   5.82   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 535      COR   0.00 203.27  13.75  -6.86  10.33 -47.06 -20.32   6.21   2.26   5.82   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 536      SD3   0.20 203.27  13.75  -6.86  10.33 -47.06 -39.94   6.21   2.26   5.82   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 537       Q7   0.46 203.47  16.64  -7.56  10.34 -55.05 -39.94   5.34   2.06   5.82   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 538      BPM   0.00 203.93  15.59   9.48  10.34 -59.60  20.92   5.96  -3.61   5.84   0.00   0.00  -0.00   0.00   0.00   0.00
+ 539      SD4   0.39 203.93  15.59   9.48  10.34 -59.60  20.92   5.96  -3.61   5.84   0.00   0.00  -0.00   0.00   0.00   0.00
+ 540       S7   0.00 204.32   9.08   7.21  10.34 -51.45  20.92   9.14  -4.53   5.85   0.00   0.00  -0.00   0.00   0.00   0.00
+ 541      COR   0.00 204.32   9.08   7.21  10.34 -51.45  20.93   9.14  -4.54   5.85   0.00   0.00  -0.00   0.00   0.00   0.00
+ 542      SD5   0.20 204.32   9.08   7.21  10.34 -51.45  20.93   9.14  -4.54   5.85   0.00   0.00  -0.00   0.00   0.00   0.00
+ 543       Q6   0.32 204.52   6.43   6.04  10.35 -47.26  20.93  11.05  -5.01   5.85   0.00   0.00  -0.00   0.00   0.00   0.00
+ 544      SD7   0.44 204.84   3.65   2.99  10.36 -43.16   4.91  13.03  -0.95   5.85   0.00   0.00  -0.00   0.00   0.00   0.00
+ 545     BEND   1.05 205.28   1.55   1.79  10.39 -41.00   4.91  13.89  -1.01   5.86   0.00   0.00  -0.00   0.00   0.00   0.00
+ 546      SD7   0.44 206.33   0.78  -1.06  10.69 -35.77   5.10  15.60  -0.59   5.87   0.00   0.00  -0.00   0.00   0.00   0.00
+ 547       Q9   0.32 206.77   2.23  -2.25  10.74 -33.53   5.10  16.14  -0.62   5.88   0.00   0.00  -0.00   0.00   0.00   0.00
+ 548      SD8   0.20 207.09   4.55  -5.40  10.76 -34.79 -13.10  13.87   7.30   5.88   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 549       S9   0.00 207.29   6.98  -6.73  10.76 -37.41 -13.10  11.10   6.52   5.88   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 550      COR   0.00 207.29   6.98  -6.73  10.76 -37.41 -13.09  11.10   6.52   5.88   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 551      BPM   0.00 207.29   6.98  -6.73  10.76 -37.41 -13.09  11.10   6.52   5.88   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 552      SD9   0.48 207.29   6.98  -6.73  10.76 -37.41 -13.09  11.10   6.52   5.88   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 553      Q10   0.32 207.77  14.89  -9.89  10.77 -43.64 -13.09   5.78   4.65   5.89   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 554      SD8   0.20 208.09  18.24   0.12  10.77 -43.38  14.69   4.06   1.09   5.90   0.00   0.00  -0.00   0.00   0.00   0.00
+ 555      S10   0.00 208.29  18.19   0.11  10.78 -40.44  14.69   3.64   0.98   5.91   0.00   0.00  -0.00   0.00   0.00   0.00
+ 556      COR   0.00 208.29  18.19   0.11  10.78 -40.44  14.69   3.64   0.98   5.91   0.00   0.00  -0.00   0.00   0.00   0.00
+ 557     FCOR   0.00 208.29  18.19   0.11  10.78 -40.44  -0.51   3.64   0.98   5.91   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 558      BPM   0.00 208.29  18.19   0.11  10.78 -40.44  -0.51   3.64   0.98   5.91   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 559     SDAC   1.90 208.29  18.19   0.11  10.78 -40.44  -0.51   3.64   0.98   5.91   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 560     SDAC   1.90 210.19  17.98   0.00  10.79 -41.41  -0.51   1.86  -0.04   6.04   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 561      BPM   0.00 212.10  18.17  -0.10  10.81 -42.38  -0.51   3.99  -1.07   6.16   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 562     FCOR   0.00 212.10  18.17  -0.10  10.81 -42.38  -0.51   3.99  -1.07   6.16   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 563      S10   0.00 212.10  18.17  -0.10  10.81 -42.38  -0.51   3.99  -1.07   6.16   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 564      COR   0.00 212.10  18.17  -0.11  10.81 -42.38  -0.51   3.99  -1.07   6.16   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 565      SD8   0.20 212.10  18.17  -0.11  10.81 -42.38 -15.71   3.99  -1.07   6.16   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 566      Q10   0.32 212.30  18.22  -0.12  10.81 -45.52 -15.71   4.43  -1.18   6.17   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 567      SD9   0.48 212.62  14.87   9.88  10.81 -45.88  13.47   6.30  -5.05   6.18   0.00   0.00  -0.00   0.00   0.00   0.00
+ 568      BPM   0.00 213.10   6.96   6.72  10.82 -39.47  13.47  12.07  -7.05   6.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 569       S9   0.00 213.10   6.96   6.72  10.82 -39.47  13.47  12.07  -7.05   6.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 570      COR   0.00 213.10   6.96   6.72  10.82 -39.47  13.47  12.07  -7.06   6.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 571      SD8   0.20 213.10   6.96   6.72  10.82 -39.47  13.47  12.07  -7.06   6.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 572       Q9   0.32 213.30   4.54   5.39  10.83 -36.77  13.47  15.06  -7.90   6.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 573      SD7   0.44 213.62   2.22   2.25  10.84 -35.56  -5.80  17.50   0.72   6.20   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 574     BEND   1.05 214.06   0.77   1.05  10.90 -38.11  -5.80  16.89   0.68   6.20   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 575      SD7   0.44 215.11   1.55  -1.80  11.20 -44.07  -5.60  14.94   1.14   6.21   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 576       Q6   0.32 215.55   3.66  -3.00  11.23 -46.53  -5.60  13.96   1.07   6.21   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 577      SD5   0.20 215.87   6.45  -6.06  11.24 -51.05 -22.89  11.80   5.41   6.22   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 578       S7   0.00 216.07   9.11  -7.23  11.24 -55.62 -22.89   9.74   4.90   6.22   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 579      COR   0.00 216.07   9.11  -7.23  11.24 -55.62 -22.88   9.74   4.90   6.22   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 580      SD4   0.39 216.07   9.11  -7.23  11.24 -55.62 -22.88   9.74   4.90   6.22   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 581      BPM   0.00 216.46  15.64  -9.50  11.25 -64.55 -22.88   6.31   3.90   6.23   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 582       Q7   0.46 216.46  15.64  -9.50  11.25 -64.55 -22.88   6.31   3.90   6.23   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 583      SD3   0.20 216.92  16.69   7.59  11.25 -59.71  43.08   5.58  -2.07   6.24   0.00   0.00  -0.00   0.00   0.00   0.00
+ 584       S8   0.00 217.12  13.79   6.89  11.25 -51.09  43.08   6.45  -2.26   6.25   0.00   0.00  -0.00   0.00   0.00   0.00
+ 585      COR   0.00 217.12  13.79   6.88  11.25 -51.09  43.07   6.45  -2.26   6.25   0.00   0.00  -0.00   0.00   0.00   0.00
+ 586      SD2   0.39 217.12  13.79   6.88  11.25 -51.09  23.49   6.45  -2.26   6.25   0.00   0.00  -0.00   0.00   0.00   0.00
+ 587       Q8   0.32 217.51   8.96   5.51  11.26 -41.93  23.49   8.36  -2.63   6.26   0.00   0.00  -0.00   0.00   0.00   0.00
+ 588     FCOR   0.00 217.83   7.04   0.83  11.26 -37.91   2.05   8.57   2.01   6.26   0.00   0.00  -0.00   0.00   0.00   0.00
+ 589      BPM   0.00 217.83   7.04   0.83  11.26 -37.91   2.05   8.57   2.01   6.26   0.00   0.00  -0.00   0.00   0.00   0.00
+ 590     SD13   3.48 217.83   7.04   0.83  11.26 -37.91   2.05   8.57   2.01   6.26   0.00   0.00  -0.00   0.00   0.00   0.00
+ 591     SD13   3.48 221.31   4.18  -0.01  11.38 -30.76   2.05   1.71  -0.04   6.44   0.00   0.00  -0.00   0.00   0.00   0.00
+ 592      BPM   0.00 224.79   7.12  -0.84  11.49 -23.61   2.05   9.08  -2.08   6.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 593     FCOR   0.00 224.79   7.12  -0.84  11.49 -23.61   2.05   9.08  -2.08   6.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 594       Q8   0.32 224.79   7.12  -0.84  11.49 -23.61   2.05   9.08  -2.08   6.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 595      SD2   0.39 225.11   9.07  -5.58  11.49 -25.02 -11.00   8.83   2.83   6.62   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 596       S8   0.00 225.50  13.96  -6.97  11.50 -29.31 -11.00   6.78   2.43   6.63   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 597      COR   0.00 225.50  13.96  -6.97  11.50 -29.31 -11.00   6.78   2.43   6.63   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 598      SD3   0.20 225.50  13.96  -6.97  11.50 -29.31 -30.59   6.78   2.43   6.63   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 599       Q7   0.46 225.70  16.89  -7.68  11.50 -35.43 -30.59   5.85   2.23   6.64   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 600      BPM   0.00 226.16  15.83   9.62  11.50 -40.43   9.68   6.54  -3.97   6.65   0.00   0.00  -0.00   0.00   0.00   0.00
+ 601      SD4   0.39 226.16  15.83   9.62  11.50 -40.43   9.68   6.54  -3.97   6.65   0.00   0.00  -0.00   0.00   0.00   0.00
+ 602       S7   0.00 226.55   9.22   7.32  11.51 -36.66   9.68  10.04  -4.98   6.66   0.00   0.00  -0.00   0.00   0.00   0.00
+ 603      COR   0.00 226.55   9.22   7.32  11.51 -36.66   9.69  10.04  -4.98   6.66   0.00   0.00  -0.00   0.00   0.00   0.00
+ 604      SD5   0.20 226.55   9.22   7.32  11.51 -36.66   9.69  10.04  -4.98   6.66   0.00   0.00  -0.00   0.00   0.00   0.00
+ 605       Q6   0.32 226.75   6.53   6.14  11.51 -34.72   9.69  12.13  -5.49   6.66   0.00   0.00  -0.00   0.00   0.00   0.00
+ 606      SD7   0.44 227.07   3.70   3.03  11.52 -33.57  -2.42  14.30  -1.03   6.66   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 607     BEND   1.05 227.51   1.57   1.82  11.55 -34.63  -2.42  15.23  -1.09   6.67   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 608      SD7   0.44 228.57   0.77  -1.06  11.85 -37.06  -2.22  17.06  -0.61   6.68   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 609       Q9   0.32 229.01   2.24  -2.27  11.91 -38.04  -2.22  17.61  -0.65   6.68   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 610      SD8   0.20 229.33   4.57  -5.44  11.92 -42.10 -23.57  15.11   8.00   6.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 611       S9   0.00 229.53   7.02  -6.78  11.93 -46.82 -23.57  12.08   7.14   6.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 612      COR   0.00 229.53   7.02  -6.78  11.93 -46.82 -23.57  12.08   7.14   6.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 613      BPM   0.00 229.53   7.02  -6.78  11.93 -46.82 -23.57  12.08   7.14   6.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 614      SD9   0.48 229.53   7.02  -6.78  11.93 -46.82 -23.57  12.08   7.14   6.69   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 615      Q10   0.32 230.00  15.00  -9.97  11.94 -58.04 -23.57   6.26   5.09   6.70   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 616      SD8   0.20 230.32  18.39   0.11  11.94 -59.60  13.99   4.36   1.23   6.71   0.00   0.00  -0.00   0.00   0.00   0.00
+ 617      S10   0.00 230.52  18.34   0.10  11.94 -56.80  13.99   3.89   1.11   6.71   0.00   0.00  -0.00   0.00   0.00   0.00
+ 618      COR   0.00 230.52  18.34   0.10  11.94 -56.80  13.99   3.89   1.12   6.71   0.00   0.00  -0.00   0.00   0.00   0.00
+ 619     FCOR   0.00 230.52  18.34   0.10  11.94 -56.80  -1.21   3.89   1.12   6.71   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 620      BPM   0.00 230.52  18.34   0.10  11.94 -56.80  -1.21   3.89   1.12   6.71   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 621     SDAC   1.90 230.52  18.34   0.10  11.94 -56.80  -1.21   3.89   1.12   6.71   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 622     SDAC   1.90 232.43  18.18  -0.01  11.96 -59.11  -1.21   1.74   0.02   6.85   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 623      BPM   0.00 234.33  18.41  -0.11  11.97 -61.42  -1.21   3.76  -1.08   6.98   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 624     FCOR   0.00 234.33  18.41  -0.11  11.97 -61.42  -1.21   3.76  -1.08   6.98   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 625      S10   0.00 234.33  18.41  -0.11  11.97 -61.42  -1.21   3.76  -1.08   6.98   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 626      COR   0.00 234.33  18.41  -0.12  11.97 -61.42  -1.22   3.76  -1.08   6.98   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 627      SD8   0.20 234.33  18.41  -0.12  11.97 -61.42 -16.41   3.76  -1.08   6.98   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 628      Q10   0.32 234.53  18.46  -0.13  11.98 -64.70 -16.41   4.21  -1.19   6.99   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 629      SD9   0.48 234.85  15.07  10.00  11.98 -63.39  24.48   6.05  -4.93   7.00   0.00   0.00  -0.00   0.00   0.00   0.00
+ 630      BPM   0.00 235.33   7.06   6.81  11.99 -51.73  24.48  11.70  -6.92   7.01   0.00   0.00  -0.00   0.00   0.00   0.00
+ 631       S9   0.00 235.33   7.06   6.81  11.99 -51.73  24.48  11.70  -6.92   7.01   0.00   0.00  -0.00   0.00   0.00   0.00
+ 632      COR   0.00 235.33   7.06   6.81  11.99 -51.73  24.49  11.70  -6.93   7.01   0.00   0.00  -0.00   0.00   0.00   0.00
+ 633      SD8   0.20 235.33   7.06   6.81  11.99 -51.73  24.49  11.70  -6.93   7.01   0.00   0.00  -0.00   0.00   0.00   0.00
+ 634       Q9   0.32 235.53   4.61   5.47  11.99 -46.83  24.49  14.64  -7.77   7.01   0.00   0.00  -0.00   0.00   0.00   0.00
+ 635      SD7   0.44 235.85   2.26   2.28  12.01 -42.88   0.59  17.07   0.61   7.01   0.00   0.00  -0.00   0.00   0.00   0.00
+ 636     BEND   1.05 236.29   0.78   1.07  12.06 -42.62   0.59  16.55   0.57   7.02   0.00   0.00  -0.00   0.00   0.00   0.00
+ 637      SD7   0.44 237.34   1.54  -1.80  12.36 -41.90   0.79  14.82   1.04   7.03   0.00   0.00  -0.00   0.00   0.00   0.00
+ 638       Q6   0.32 237.78   3.65  -3.01  12.39 -41.55   0.79  13.93   0.98   7.03   0.00   0.00  -0.00   0.00   0.00   0.00
+ 639      SD5   0.20 238.10   6.46  -6.08  12.40 -43.70 -14.32  11.83   5.33   7.04   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 640       S7   0.00 238.30   9.12  -7.25  12.41 -46.56 -14.32   9.80   4.84   7.04   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 641      COR   0.00 238.30   9.12  -7.25  12.41 -46.56 -14.31   9.80   4.83   7.04   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 642      SD4   0.39 238.30   9.12  -7.25  12.41 -46.56 -14.31   9.80   4.83   7.04   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 643      BPM   0.00 238.69  15.67  -9.54  12.41 -52.14 -14.31   6.41   3.86   7.05   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 644       Q7   0.46 238.69  15.67  -9.54  12.41 -52.14 -14.31   6.41   3.86   7.05   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 645      SD3   0.20 239.15  16.74   7.59  12.42 -46.46  38.03   5.75  -2.23   7.06   0.00   0.00  -0.00   0.00   0.00   0.00
+ 646       S8   0.00 239.35  13.84   6.89  12.42 -38.86  38.03   6.69  -2.43   7.06   0.00   0.00  -0.00   0.00   0.00   0.00
+ 647      COR   0.00 239.35  13.84   6.89  12.42 -38.86  38.03   6.69  -2.43   7.06   0.00   0.00  -0.00   0.00   0.00   0.00
+ 648      SD2   0.39 239.35  13.84   6.89  12.42 -38.86  18.41   6.69  -2.43   7.06   0.00   0.00  -0.00   0.00   0.00   0.00
+ 649       Q8   0.32 239.74   9.00   5.52  12.42 -31.68  18.41   8.74  -2.83   7.07   0.00   0.00  -0.00   0.00   0.00   0.00
+ 650     FCOR   0.00 240.06   7.08   0.82  12.43 -28.42   2.27   9.01   2.03   7.08   0.00   0.00  -0.00   0.00   0.00   0.00
+ 651      BPM   0.00 240.06   7.08   0.82  12.43 -28.42   2.27   9.01   2.03   7.08   0.00   0.00  -0.00   0.00   0.00   0.00
+ 652     SD13   3.48 240.06   7.08   0.82  12.43 -28.42   2.27   9.01   2.03   7.08   0.00   0.00  -0.00   0.00   0.00   0.00
+ 653     SD13   3.48 243.54   4.24  -0.00  12.54 -20.50   2.27   1.76   0.05   7.25   0.00   0.00  -0.00   0.00   0.00   0.00
+ 654      BPM   0.00 247.03   7.12  -0.82  12.65 -12.58   2.27   8.31  -1.93   7.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 655     FCOR   0.00 247.03   7.12  -0.82  12.65 -12.58   2.27   8.31  -1.93   7.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 656       Q8   0.32 247.03   7.12  -0.82  12.65 -12.58   2.27   8.31  -1.93   7.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 657      SD2   0.39 247.35   9.06  -5.56  12.66 -12.94  -4.58   8.09   2.56   7.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 658       S6   0.00 247.74  13.93  -6.93  12.66 -14.72  -4.58   6.24   2.20   7.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 659      COR   0.00 247.74  13.93  -6.94  12.66 -14.72  -4.58   6.24   2.20   7.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 660      SD3   0.20 247.74  13.93  -6.94  12.66 -14.72 -22.95   6.24   2.20   7.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 661       Q7   0.46 247.94  16.84  -7.64  12.66 -19.31 -22.95   5.40   2.01   7.45   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 662      BPM   0.00 248.40  15.77   9.60  12.67 -24.71   0.42   6.09  -3.76   7.46   0.00   0.00  -0.00   0.00   0.00   0.00
+ 663      SD4   0.39 248.40  15.77   9.60  12.67 -24.71   0.42   6.09  -3.76   7.46   0.00   0.00  -0.00   0.00   0.00   0.00
+ 664       S5   0.00 248.79   9.18   7.30  12.67 -24.54   0.42   9.41  -4.73   7.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 665      COR   0.00 248.79   9.18   7.30  12.67 -24.54   0.42   9.41  -4.73   7.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 666      SD5   0.20 248.79   9.18   7.30  12.67 -24.54   0.42   9.41  -4.73   7.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 667       Q6   0.32 248.99   6.49   6.12  12.68 -24.46   0.42  11.40  -5.23   7.47   0.00   0.00  -0.00   0.00   0.00   0.00
+ 668      SD7   0.44 249.31   3.68   3.03  12.69 -25.74  -8.48  13.48  -1.04   7.48   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 669     BEND   1.05 249.75   1.55   1.81  12.72 -29.47  -8.48  14.43  -1.11   7.48   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 670      SD7   0.44 250.80   0.78  -1.08  13.02 -38.23  -8.28  16.33  -0.66   7.49   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 671       Q4   0.32 251.24   2.27  -2.29  13.07 -41.87  -8.28  16.93  -0.70   7.50   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 672      SD8   0.20 251.56   4.52  -5.06  13.09 -47.60 -28.00  15.04   6.32   7.50   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 673       S3   0.00 251.76   6.78  -6.24  13.09 -53.21 -28.00  12.62   5.77   7.50   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 674      COR   0.00 251.76   6.78  -6.24  13.09 -53.21 -28.00  12.62   5.77   7.50   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 675      BPM   0.00 251.76   6.78  -6.24  13.09 -53.21 -28.00  12.62   5.77   7.50   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 676      SD9   0.48 251.76   6.78  -6.24  13.09 -53.21 -28.00  12.62   5.77   7.50   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 677       Q5   0.32 252.23  14.06  -9.05  13.10 -66.54 -28.00   7.74   4.48   7.51   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 678     SD10   0.47 252.55  17.14   0.04  13.10 -68.87  13.65   6.39   0.02   7.52   0.00   0.00  -0.00   0.00   0.00   0.00
+ 679      BPM   0.00 253.02  17.12   0.01  13.11 -62.46  13.65   6.40  -0.05   7.53   0.00   0.00  -0.00   0.00   0.00   0.00
+ 680       S4   0.00 253.02  17.12   0.01  13.11 -62.46  13.65   6.40  -0.05   7.53   0.00   0.00  -0.00   0.00   0.00   0.00
+ 681      COR   0.00 253.02  17.12   0.00  13.11 -62.46  13.64   6.40  -0.05   7.53   0.00   0.00  -0.00   0.00   0.00   0.00
+ 682     SD12   0.47 253.02  17.12   0.00  13.11 -62.46 -19.01   6.40  -0.05   7.53   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 683       Q5   0.32 253.49  17.13  -0.03  13.11 -71.39 -19.01   6.48  -0.12   7.54   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 684      SD9   0.48 253.81  14.05   9.05  13.12 -70.48  24.63   7.93  -4.68   7.55   0.00   0.00  -0.00   0.00   0.00   0.00
+ 685      BPM   0.00 254.29   6.76   6.24  13.12 -58.75  24.63  13.04  -6.05   7.56   0.00   0.00  -0.00   0.00   0.00   0.00
+ 686       S3   0.00 254.29   6.76   6.24  13.12 -58.75  24.63  13.04  -6.05   7.56   0.00   0.00  -0.00   0.00   0.00   0.00
+ 687      COR   0.00 254.29   6.76   6.24  13.12 -58.75  24.63  13.04  -6.06   7.56   0.00   0.00  -0.00   0.00   0.00   0.00
+ 688      SD8   0.20 254.29   6.76   6.24  13.12 -58.75  24.63  13.04  -6.06   7.56   0.00   0.00  -0.00   0.00   0.00   0.00
+ 689       Q4   0.32 254.49   4.51   5.06  13.13 -53.82  24.63  15.58  -6.63   7.56   0.00   0.00  -0.00   0.00   0.00   0.00
+ 690      SD7   0.44 254.81   2.26   2.29  13.15 -49.64   1.83  17.59   0.64   7.56   0.00   0.00  -0.00   0.00   0.00   0.00
+ 691     BEND   1.05 255.25   0.78   1.07  13.20 -48.83   1.83  17.04   0.60   7.57   0.00   0.00  -0.00   0.00   0.00   0.00
+ 692      SD6   0.79 256.30   1.56  -1.82  13.50 -46.82   2.02  15.23   1.08   7.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 693       S2   0.00 257.09   6.17  -4.01  13.54 -45.22   2.02  13.61   0.97   7.59   0.00   0.00  -0.00   0.00   0.00   0.00
+ 694      COR   0.00 257.09   6.17  -4.01  13.54 -45.22   2.03  13.61   0.97   7.59   0.00   0.00  -0.00   0.00   0.00   0.00
+ 695      SD5   0.20 257.09   6.17  -4.01  13.54 -45.22   2.03  13.61   0.97   7.59   0.00   0.00  -0.00   0.00   0.00   0.00
+ 696       Q3   0.32 257.29   7.89  -4.56  13.55 -44.82   2.03  13.23   0.94   7.59   0.00   0.00  -0.00   0.00   0.00   0.00
+ 697     SD14   0.59 257.61  11.84  -8.08  13.55 -45.82  -8.31  11.73   3.65   7.59   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 698      BPM   0.00 258.20  23.32 -11.38  13.56 -50.72  -8.31   7.84   2.93   7.60   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 699       Q2   0.46 258.20  23.32 -11.38  13.56 -50.72  -8.31   7.84   2.93   7.60   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 700      SD3   0.20 258.66  25.02   8.15  13.56 -45.40  30.71   7.94  -3.17   7.61   0.00   0.00  -0.00   0.00   0.00   0.00
+ 701       S1   0.00 258.86  21.87   7.61  13.56 -39.26  30.71   9.26  -3.44   7.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 702      COR   0.00 258.86  21.87   7.61  13.56 -39.26  30.71   9.26  -3.44   7.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 703      SD2   0.39 258.86  21.87   7.61  13.56 -39.26  13.04   9.26  -3.44   7.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 704       Q1   0.32 259.25  16.34   6.56  13.56 -34.18  13.04  12.16  -3.98   7.62   0.00   0.00  -0.00   0.00   0.00   0.00
+ 705     FCOR   0.00 259.57  14.15   0.57  13.57 -32.01   0.60  13.23   0.79   7.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 706      BPM   0.00 259.57  14.15   0.57  13.57 -32.01   0.60  13.23   0.79   7.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 707      SD1   6.00 259.57  14.15   0.57  13.57 -32.01   0.60  13.23   0.79   7.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 708    SECT4   0.00 265.57  10.71   0.01  13.65 -28.39   0.60   8.18   0.05   7.72   0.00   0.00  -0.00   0.00   0.00   0.00
+ 709      SD1   6.00 265.57  10.71   0.01  13.65 -28.39   0.60   8.18   0.05   7.72   0.00   0.00  -0.00   0.00   0.00   0.00
+ 710      BPM   0.00 271.57  14.00  -0.55  13.73 -24.76   0.60  11.97  -0.68   7.83   0.00   0.00  -0.00   0.00   0.00   0.00
+ 711     FCOR   0.00 271.57  14.00  -0.55  13.73 -24.76   0.60  11.97  -0.68   7.83   0.00   0.00  -0.00   0.00   0.00   0.00
+ 712       Q1   0.32 271.57  14.00  -0.55  13.73 -24.76   0.60  11.97  -0.68   7.83   0.00   0.00  -0.00   0.00   0.00   0.00
+ 713      SD2   0.39 271.89  16.16  -6.48  13.73 -26.08  -8.95  10.98   3.62   7.83   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 714       S1   0.00 272.28  21.62  -7.52  13.74 -29.58  -8.95   8.35   3.12   7.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 715      COR   0.00 272.28  21.62  -7.52  13.74 -29.58  -8.95   8.35   3.12   7.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 716      SD3   0.20 272.28  21.62  -7.52  13.74 -29.58 -26.62   8.35   3.12   7.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 717       Q2   0.46 272.48  24.73  -8.05  13.74 -34.90 -26.62   7.16   2.86   7.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 718      BPM   0.00 272.94  23.05  11.26  13.74 -40.29   3.90   7.06  -2.64   7.85   0.00   0.00  -0.00   0.00   0.00   0.00
+ 719     SD14   0.59 272.94  23.05  11.26  13.74 -40.29   3.90   7.06  -2.64   7.85   0.00   0.00  -0.00   0.00   0.00   0.00
+ 720       Q3   0.32 273.53  11.69   7.99  13.75 -37.99   3.90  10.57  -3.30   7.86   0.00   0.00  -0.00   0.00   0.00   0.00
+ 721      SD5   0.20 273.85   7.79   4.51  13.75 -38.12  -4.78  11.94  -0.86   7.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 722       S2   0.00 274.05   6.09   3.96  13.76 -39.08  -4.78  12.29  -0.89   7.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 723      COR   0.00 274.05   6.09   3.97  13.76 -39.08  -4.77  12.29  -0.90   7.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 724      SD6   0.79 274.05   6.09   3.97  13.76 -39.08  -4.77  12.29  -0.90   7.87   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 725     BEND   1.05 274.84   1.54   1.80  13.80 -42.85  -4.77  13.80  -1.01   7.88   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 726      SD7   0.44 275.89   0.78  -1.07  14.10 -47.74  -4.58  15.52  -0.60   7.89   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 727       Q4   0.32 276.33   2.26  -2.28  14.15 -49.76  -4.58  16.06  -0.63   7.90   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 728      SD8   0.20 276.65   4.49  -5.03  14.17 -54.85 -27.64  14.25   6.02   7.90   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 729       S3   0.00 276.85   6.74  -6.20  14.17 -60.38 -27.64  11.95   5.50   7.90   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 730      COR   0.00 276.85   6.74  -6.20  14.17 -60.38 -27.63  11.95   5.49   7.90   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 731      BPM   0.00 276.85   6.74  -6.20  14.17 -60.38 -27.63  11.95   5.49   7.90   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 732      SD9   0.48 276.85   6.74  -6.20  14.17 -60.38 -27.63  11.95   5.49   7.90   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 733       Q5   0.32 277.33  13.98  -8.99  14.18 -73.54 -27.63   7.31   4.25   7.91   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 734     SD12   0.47 277.65  17.04   0.04  14.19 -75.09  18.08   6.02   0.04   7.92   0.00   0.00  -0.00   0.00   0.00   0.00
+ 735       S4   0.00 278.12  17.02   0.01  14.19 -66.59  18.08   6.02  -0.04   7.93   0.00   0.00  -0.00   0.00   0.00   0.00
+ 736      COR   0.00 278.12  17.02   0.00  14.19 -66.59  18.07   6.02  -0.03   7.93   0.00   0.00  -0.00   0.00   0.00   0.00
+ 737      BPM   0.00 278.12  17.02   0.00  14.19 -66.59 -14.58   6.02  -0.03   7.93   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 738     SD10   0.47 278.12  17.02   0.00  14.19 -66.59 -14.58   6.02  -0.03   7.93   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 739       Q5   0.32 278.59  17.03  -0.02  14.19 -73.44 -14.58   6.09  -0.11   7.94   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 740      SD9   0.48 278.91  13.96   8.99  14.20 -70.96  29.84   7.44  -4.40   7.95   0.00   0.00  -0.00   0.00   0.00   0.00
+ 741      BPM   0.00 279.39   6.72   6.20  14.20 -56.75  29.84  12.25  -5.70   7.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 742       S3   0.00 279.39   6.72   6.20  14.20 -56.75  29.84  12.25  -5.70   7.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 743      COR   0.00 279.39   6.72   6.20  14.20 -56.75  29.84  12.25  -5.70   7.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 744      SD8   0.20 279.39   6.72   6.20  14.20 -56.75  29.84  12.25  -5.70   7.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 745       Q4   0.32 279.59   4.48   5.03  14.21 -50.78  29.84  14.64  -6.25   7.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 746      SD7   0.44 279.91   2.24   2.28  14.23 -44.67   8.80  16.55   0.59   7.96   0.00   0.00  -0.00   0.00   0.00   0.00
+ 747     BEND   1.05 280.35   0.77   1.06  14.28 -40.80   8.80  16.05   0.55   7.97   0.00   0.00  -0.00   0.00   0.00   0.00
+ 748      SD7   0.44 281.40   1.56  -1.82  14.58 -31.50   9.00  14.38   1.00   7.98   0.00   0.00  -0.00   0.00   0.00   0.00
+ 749       Q6   0.32 281.84   3.70  -3.03  14.61 -27.54   9.00  13.53   0.94   7.98   0.00   0.00  -0.00   0.00   0.00   0.00
+ 750      SD5   0.20 282.16   6.52  -6.13  14.62 -26.20  -0.53  11.50   5.17   7.99   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 751       S5   0.00 282.36   9.21  -7.31  14.63 -26.30  -0.53   9.53   4.69   7.99   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 752      COR   0.00 282.36   9.21  -7.31  14.63 -26.30  -0.53   9.53   4.69   7.99   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 753      SD4   0.39 282.36   9.21  -7.31  14.63 -26.30  -0.53   9.53   4.69   7.99   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 754      BPM   0.00 282.75  15.82  -9.62  14.63 -26.51  -0.53   6.24   3.75   8.00   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 755       Q7   0.46 282.75  15.82  -9.62  14.63 -26.51  -0.53   6.24   3.75   8.00   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 756      SD3   0.20 283.21  16.88   7.67  14.63 -20.75  24.56   5.62  -2.19   8.01   0.00   0.00  -0.00   0.00   0.00   0.00
+ 757       S6   0.00 283.41  13.96   6.96  14.64 -15.84  24.56   6.54  -2.40   8.02   0.00   0.00  -0.00   0.00   0.00   0.00
+ 758      COR   0.00 283.41  13.96   6.96  14.64 -15.84  24.56   6.54  -2.40   8.02   0.00   0.00  -0.00   0.00   0.00   0.00
+ 759      SD2   0.39 283.41  13.96   6.96  14.64 -15.84   6.19   6.54  -2.40   8.02   0.00   0.00  -0.00   0.00   0.00   0.00
+ 760       Q8   0.32 283.80   9.07   5.58  14.64 -13.43   6.19   8.56  -2.80   8.03   0.00   0.00  -0.00   0.00   0.00   0.00
+ 761     FCOR   0.00 284.12   7.12   0.84  14.65 -12.58  -0.79   8.85   1.97   8.03   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 762      BPM   0.00 284.12   7.12   0.84  14.65 -12.58  -0.79   8.85   1.97   8.03   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 763     SD13   3.48 284.12   7.12   0.84  14.65 -12.58  -0.79   8.85   1.97   8.03   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 764     SD13   3.48 287.60   4.19   0.01  14.76 -15.34  -0.79   1.82   0.05   8.20   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 765      BPM   0.00 291.09   7.04  -0.83  14.87 -18.10  -0.79   8.16  -1.87   8.38   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 766     FCOR   0.00 291.09   7.04  -0.83  14.87 -18.10  -0.79   8.16  -1.87   8.38   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 767       Q8   0.32 291.09   7.04  -0.83  14.87 -18.10  -0.79   8.16  -1.87   8.38   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 768      SD2   0.39 291.41   8.96  -5.51  14.88 -19.96 -11.01   7.93   2.53   8.39   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 769       S8   0.00 291.80  13.80  -6.88  14.88 -24.25 -11.01   6.10   2.17   8.39   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 770      COR   0.00 291.80  13.80  -6.88  14.88 -24.25 -11.01   6.10   2.17   8.39   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 771      SD3   0.20 291.80  13.80  -6.88  14.88 -24.25 -30.63   6.10   2.17   8.39   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 772       Q7   0.46 292.00  16.69  -7.58  14.88 -30.37 -30.63   5.27   1.98   8.40   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 773      BPM   0.00 292.46  15.64   9.51  14.89 -36.54   4.89   5.93  -3.64   8.41   0.00   0.00  -0.00   0.00   0.00   0.00
+ 774      SD4   0.39 292.46  15.64   9.51  14.89 -36.54   4.89   5.93  -3.64   8.41   0.00   0.00  -0.00   0.00   0.00   0.00
+ 775       S7   0.00 292.85   9.11   7.23  14.89 -34.63   4.89   9.14  -4.58   8.42   0.00   0.00  -0.00   0.00   0.00   0.00
+ 776      COR   0.00 292.85   9.11   7.23  14.89 -34.63   4.90   9.14  -4.59   8.42   0.00   0.00  -0.00   0.00   0.00   0.00
+ 777      SD5   0.20 292.85   9.11   7.23  14.89 -34.63   4.90   9.14  -4.59   8.42   0.00   0.00  -0.00   0.00   0.00   0.00
+ 778       Q6   0.32 293.05   6.45   6.06  14.90 -33.65   4.90  11.07  -5.07   8.43   0.00   0.00  -0.00   0.00   0.00   0.00
+ 779      SD7   0.44 293.37   3.66   3.00  14.91 -34.00  -7.09  13.09  -1.00   8.43   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 780     BEND   1.05 293.81   1.55   1.80  14.94 -37.12  -7.09  14.00  -1.07   8.44   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 781      SD7   0.44 294.86   0.78  -1.06  15.24 -44.43  -6.90  15.83  -0.64   8.45   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 782       Q9   0.32 295.30   2.23  -2.26  15.29 -47.47  -6.90  16.41  -0.68   8.45   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 783      SD8   0.20 295.62   4.56  -5.41  15.31 -53.90 -33.90  14.13   7.40   8.45   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 784       S9   0.00 295.82   6.99  -6.74  15.31 -60.68 -33.90  11.33   6.61   8.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 785      COR   0.00 295.82   6.99  -6.74  15.31 -60.68 -33.89  11.33   6.60   8.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 786      BPM   0.00 295.82   6.99  -6.74  15.31 -60.68 -33.89  11.33   6.60   8.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 787      SD9   0.48 295.82   6.99  -6.74  15.31 -60.68 -33.89  11.33   6.60   8.46   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 788      Q10   0.32 296.29  14.91  -9.90  15.32 -76.83 -33.89   5.93   4.73   8.47   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 789      SD8   0.20 296.61  18.27   0.12  15.32 -79.73  16.09   4.18   1.08   8.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 790      S10   0.00 296.81  18.23   0.11  15.32 -76.51  16.09   3.77   0.98   8.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 791      COR   0.00 296.81  18.23   0.11  15.32 -76.51  16.08   3.77   0.98   8.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 792     FCOR   0.00 296.81  18.23   0.11  15.32 -76.51   0.88   3.77   0.98   8.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 793      BPM   0.00 296.81  18.23   0.11  15.32 -76.51   0.88   3.77   0.98   8.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 794     SDAC   1.90 296.81  18.23   0.11  15.32 -76.51   0.88   3.77   0.98   8.48   0.00   0.00  -0.00   0.00   0.00   0.00
+ 795     SDAC   1.90 298.72  18.03  -0.00  15.34 -74.83   0.88   1.93  -0.01   8.61   0.00   0.00  -0.00   0.00   0.00   0.00
+ 796      BPM   0.00 300.62  18.23  -0.11  15.36 -73.14   0.88   3.85  -1.00   8.73   0.00   0.00  -0.00   0.00   0.00   0.00
+ 797     FCOR   0.00 300.62  18.23  -0.11  15.36 -73.14   0.88   3.85  -1.00   8.73   0.00   0.00  -0.00   0.00   0.00   0.00
+ 798      S10   0.00 300.62  18.23  -0.11  15.36 -73.14   0.88   3.85  -1.00   8.73   0.00   0.00  -0.00   0.00   0.00   0.00
+ 799      COR   0.00 300.62  18.23  -0.11  15.36 -73.14   0.87   3.85  -1.00   8.73   0.00   0.00  -0.00   0.00   0.00   0.00
+ 800      SD8   0.20 300.62  18.23  -0.11  15.36 -73.14 -14.33   3.85  -1.00   8.73   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 801      Q10   0.32 300.82  18.28  -0.12  15.36 -76.01 -14.33   4.27  -1.10   8.74   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 802      SD9   0.48 301.14  14.92   9.91  15.36 -72.93  33.22   6.04  -4.82   8.75   0.00   0.00  -0.00   0.00   0.00   0.00
+ 803      BPM   0.00 301.62   6.99   6.74  15.37 -57.11  33.22  11.54  -6.72   8.76   0.00   0.00  -0.00   0.00   0.00   0.00
+ 804       S9   0.00 301.62   6.99   6.74  15.37 -57.11  33.22  11.54  -6.72   8.76   0.00   0.00  -0.00   0.00   0.00   0.00
+ 805      COR   0.00 301.62   6.99   6.74  15.37 -57.11  33.23  11.54  -6.73   8.76   0.00   0.00  -0.00   0.00   0.00   0.00
+ 806      SD8   0.20 301.62   6.99   6.74  15.37 -57.11  33.23  11.54  -6.73   8.76   0.00   0.00  -0.00   0.00   0.00   0.00
+ 807       Q9   0.32 301.82   4.56   5.41  15.38 -50.46  33.23  14.39  -7.53   8.76   0.00   0.00  -0.00   0.00   0.00   0.00
+ 808      SD7   0.44 302.14   2.23   2.26  15.39 -43.94   8.08  16.71   0.70   8.77   0.00   0.00  -0.00   0.00   0.00   0.00
+ 809     BEND   1.05 302.58   0.78   1.06  15.45 -40.39   8.08  16.11   0.66   8.77   0.00   0.00  -0.00   0.00   0.00   0.00
+ 810      SD7   0.44 303.63   1.55  -1.79  15.75 -31.83   8.28  14.23   1.09   8.78   0.00   0.00  -0.00   0.00   0.00   0.00
+ 811       Q6   0.32 304.07   3.66  -2.99  15.77 -28.19   8.28  13.29   1.03   8.79   0.00   0.00  -0.00   0.00   0.00   0.00
+ 812      SD5   0.20 304.39   6.45  -6.06  15.79 -27.12  -1.52  11.24   5.16   8.79   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 813       S7   0.00 304.59   9.10  -7.23  15.79 -27.42  -1.52   9.27   4.67   8.79   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 814      COR   0.00 304.59   9.10  -7.23  15.79 -27.42  -1.52   9.27   4.66   8.79   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 815      SD4   0.39 304.59   9.10  -7.23  15.79 -27.42  -1.52   9.27   4.66   8.79   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 816      BPM   0.00 304.98  15.63  -9.51  15.79 -28.01  -1.52   6.01   3.71   8.80   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 817       Q7   0.46 304.98  15.63  -9.51  15.79 -28.01  -1.52   6.01   3.71   8.80   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 818      SD3   0.20 305.44  16.69   7.58  15.80 -22.34  25.21   5.32  -1.98   8.82   0.00   0.00  -0.00   0.00   0.00   0.00
+ 819       S8   0.00 305.64  13.79   6.88  15.80 -17.30  25.21   6.15  -2.17   8.82   0.00   0.00  -0.00   0.00   0.00   0.00
+ 820      COR   0.00 305.64  13.79   6.88  15.80 -17.30  25.21   6.15  -2.17   8.82   0.00   0.00  -0.00   0.00   0.00   0.00
+ 821      SD2   0.39 305.64  13.79   6.88  15.80 -17.30   5.62   6.15  -2.17   8.82   0.00   0.00  -0.00   0.00   0.00   0.00
+ 822       Q8   0.32 306.03   8.96   5.51  15.81 -15.10   5.62   7.98  -2.53   8.83   0.00   0.00  -0.00   0.00   0.00   0.00
+ 823     FCOR   0.00 306.35   7.04   0.82  15.81 -14.59  -2.35   8.20   1.90   8.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 824      BPM   0.00 306.35   7.04   0.82  15.81 -14.59  -2.35   8.20   1.90   8.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 825     SD13   3.48 306.35   7.04   0.82  15.81 -14.59  -2.35   8.20   1.90   8.84   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 826     SD13   3.48 309.83   4.19  -0.01  15.92 -22.76  -2.35   1.79  -0.06   9.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 827      BPM   0.00 313.32   7.13  -0.84  16.03 -30.93  -2.35   9.00  -2.01   9.19   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 828     FCOR   0.00 313.32   7.13  -0.84  16.03 -30.93  -2.35   9.00  -2.01   9.19   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 829       Q8   0.32 313.32   7.13  -0.84  16.03 -30.93  -2.35   9.00  -2.01   9.19   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 830      SD2   0.39 313.64   9.07  -5.58  16.04 -34.44 -19.90   8.71   2.84   9.19   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 831       S8   0.00 314.03  13.96  -6.96  16.05 -42.20 -19.90   6.66   2.43   9.20   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 832      COR   0.00 314.03  13.96  -6.97  16.05 -42.20 -19.90   6.66   2.44   9.20   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 833      SD3   0.20 314.03  13.96  -6.97  16.05 -42.20 -39.49   6.66   2.44   9.20   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 834       Q7   0.46 314.23  16.89  -7.68  16.05 -50.10 -39.49   5.73   2.23   9.20   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 835      BPM   0.00 314.69  15.82   9.62  16.05 -55.58  16.61   6.36  -3.82   9.22   0.00   0.00  -0.00   0.00   0.00   0.00
+ 836      SD4   0.39 314.69  15.82   9.62  16.05 -55.58  16.61   6.36  -3.82   9.22   0.00   0.00  -0.00   0.00   0.00   0.00
+ 837       S7   0.00 315.08   9.22   7.32  16.06 -49.10  16.61   9.72  -4.78   9.23   0.00   0.00  -0.00   0.00   0.00   0.00
+ 838      COR   0.00 315.08   9.22   7.32  16.06 -49.10  16.62   9.72  -4.78   9.23   0.00   0.00  -0.00   0.00   0.00   0.00
+ 839      SD5   0.20 315.08   9.22   7.32  16.06 -49.10  16.62   9.72  -4.78   9.23   0.00   0.00  -0.00   0.00   0.00   0.00
+ 840       Q6   0.32 315.28   6.53   6.14  16.06 -45.78  16.62  11.73  -5.27   9.23   0.00   0.00  -0.00   0.00   0.00   0.00
+ 841      SD7   0.44 315.60   3.70   3.03  16.07 -43.00   0.88  13.80  -0.96   9.23   0.00   0.00  -0.00   0.00   0.00   0.00
+ 842     BEND   1.05 316.04   1.56   1.82  16.10 -42.61   0.88  14.67  -1.02   9.24   0.00   0.00  -0.00   0.00   0.00   0.00
+ 843      SD7   0.44 317.09   0.77  -1.06  16.40 -41.59   1.08  16.36  -0.56   9.25   0.00   0.00  -0.00   0.00   0.00   0.00
+ 844       Q9   0.32 317.53   2.24  -2.28  16.46 -41.11   1.08  16.87  -0.59   9.25   0.00   0.00  -0.00   0.00   0.00   0.00
+ 845      SD8   0.20 317.85   4.59  -5.46  16.47 -44.36 -21.69  14.46   7.68   9.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 846       S9   0.00 318.05   7.04  -6.80  16.48 -48.70 -21.69  11.56   6.85   9.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 847      COR   0.00 318.05   7.04  -6.80  16.48 -48.70 -21.68  11.56   6.85   9.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 848      BPM   0.00 318.05   7.04  -6.80  16.48 -48.70 -21.68  11.56   6.85   9.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 849      SD9   0.48 318.05   7.04  -6.80  16.48 -48.70 -21.68  11.56   6.85   9.26   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 850      Q10   0.32 318.53  15.04 -10.00  16.48 -59.03 -21.68   5.97   4.87   9.27   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 851      SD8   0.20 318.85  18.43   0.11  16.49 -59.91  16.29   4.16   1.18   9.28   0.00   0.00  -0.00   0.00   0.00   0.00
+ 852      S10   0.00 319.05  18.39   0.10  16.49 -56.65  16.29   3.71   1.07   9.29   0.00   0.00  -0.00   0.00   0.00   0.00
+ 853      COR   0.00 319.05  18.39   0.10  16.49 -56.65  16.28   3.71   1.07   9.29   0.00   0.00  -0.00   0.00   0.00   0.00
+ 854     FCOR   0.00 319.05  18.39   0.10  16.49 -56.65   1.08   3.71   1.07   9.29   0.00   0.00  -0.00   0.00   0.00   0.00
+ 855      BPM   0.00 319.05  18.39   0.10  16.49 -56.65   1.08   3.71   1.07   9.29   0.00   0.00  -0.00   0.00   0.00   0.00
+ 856     SDAC   1.90 319.05  18.39   0.10  16.49 -56.65   1.08   3.71   1.07   9.29   0.00   0.00  -0.00   0.00   0.00   0.00
+ 857     SDAC   1.90 320.95  18.21  -0.01  16.51 -54.59   1.08   1.73  -0.03   9.42   0.00   0.00  -0.00   0.00   0.00   0.00
+ 858      BPM   0.00 322.86  18.43  -0.11  16.52 -52.53   1.08   3.95  -1.13   9.55   0.00   0.00  -0.00   0.00   0.00   0.00
+ 859     FCOR   0.00 322.86  18.43  -0.11  16.52 -52.53   1.08   3.95  -1.13   9.55   0.00   0.00  -0.00   0.00   0.00   0.00
+ 860      S10   0.00 322.86  18.43  -0.11  16.52 -52.53   1.08   3.95  -1.13   9.55   0.00   0.00  -0.00   0.00   0.00   0.00
+ 861      COR   0.00 322.86  18.43  -0.11  16.52 -52.53   1.08   3.95  -1.13   9.55   0.00   0.00  -0.00   0.00   0.00   0.00
+ 862      SD8   0.20 322.86  18.43  -0.11  16.52 -52.53 -14.12   3.95  -1.13   9.55   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 863      Q10   0.32 323.06  18.48  -0.13  16.52 -55.35 -14.12   4.43  -1.25   9.56   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 864      SD9   0.48 323.38  15.09  10.02  16.53 -54.25  20.87   6.35  -5.16   9.57   0.00   0.00  -0.00   0.00   0.00   0.00
+ 865      BPM   0.00 323.85   7.07   6.82  16.53 -44.31  20.87  12.25  -7.23   9.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 866       S9   0.00 323.85   7.07   6.82  16.53 -44.31  20.87  12.25  -7.23   9.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 867      COR   0.00 323.85   7.07   6.82  16.53 -44.31  20.88  12.25  -7.23   9.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 868      SD8   0.20 323.85   7.07   6.82  16.53 -44.31  20.88  12.25  -7.23   9.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 869       Q9   0.32 324.05   4.61   5.47  16.54 -40.13  20.88  15.32  -8.10   9.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 870      SD7   0.44 324.37   2.26   2.28  16.56 -36.78   0.39  17.85   0.66   9.58   0.00   0.00  -0.00   0.00   0.00   0.00
+ 871     BEND   1.05 324.81   0.78   1.07  16.61 -36.61   0.39  17.28   0.63   9.59   0.00   0.00  -0.00   0.00   0.00   0.00
+ 872      SD7   0.44 325.86   1.55  -1.80  16.91 -36.10   0.59  15.42   1.11   9.60   0.00   0.00  -0.00   0.00   0.00   0.00
+ 873       Q6   0.32 326.30   3.67  -3.02  16.94 -35.84   0.59  14.47   1.05   9.60   0.00   0.00  -0.00   0.00   0.00   0.00
+ 874      SD5   0.20 326.62   6.48  -6.10  16.95 -37.72 -12.45  12.27   5.56   9.61   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 875       S7   0.00 326.82   9.15  -7.28  16.95 -40.21 -12.45  10.14   5.04   9.61   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 876      COR   0.00 326.82   9.15  -7.27  16.95 -40.21 -12.44  10.14   5.04   9.61   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 877      SD4   0.39 326.82   9.15  -7.27  16.95 -40.21 -12.44  10.14   5.04   9.61   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 878      BPM   0.00 327.21  15.72  -9.57  16.96 -45.06 -12.44   6.61   4.02   9.62   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 879       Q7   0.46 327.21  15.72  -9.57  16.96 -45.06 -12.44   6.61   4.02   9.62   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 880      SD3   0.20 327.67  16.79   7.62  16.96 -40.19  32.81   5.90  -2.24   9.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 881       S8   0.00 327.87  13.88   6.92  16.97 -33.62  32.81   6.83  -2.44   9.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 882      COR   0.00 327.87  13.88   6.91  16.97 -33.62  32.81   6.83  -2.44   9.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 883      SD2   0.39 327.87  13.88   6.91  16.97 -33.62  13.19   6.83  -2.44   9.63   0.00   0.00  -0.00   0.00   0.00   0.00
+ 884       Q8   0.32 328.26   9.03   5.54  16.97 -28.48  13.19   8.88  -2.83   9.64   0.00   0.00  -0.00   0.00   0.00   0.00
+ 885     FCOR   0.00 328.58   7.10   0.82  16.98 -26.66  -1.62   9.13   2.11   9.65   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 886      BPM   0.00 328.58   7.10   0.82  16.98 -26.66  -1.62   9.13   2.11   9.65   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 887     SD13   3.48 328.58   7.10   0.82  16.98 -26.66  -1.62   9.13   2.11   9.65   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 888     SD13   3.48 332.07   4.23   0.00  17.09 -32.28  -1.62   1.68   0.03   9.82   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 889      BPM   0.00 335.55   7.10  -0.82  17.20 -37.91  -1.62   8.67  -2.04  10.00   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 890     FCOR   0.00 335.55   7.10  -0.82  17.20 -37.91  -1.62   8.67  -2.04  10.00   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 891       Q8   0.32 335.55   7.10  -0.82  17.20 -37.91  -1.62   8.67  -2.04  10.00   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 892      SD2   0.39 335.87   9.02  -5.54  17.20 -41.79 -23.01   8.46   2.66  10.01   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 893       S6   0.00 336.26  13.88  -6.91  17.21 -50.77 -23.01   6.54   2.28  10.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 894      COR   0.00 336.26  13.88  -6.92  17.21 -50.77 -23.02   6.54   2.29  10.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 895      SD3   0.20 336.26  13.88  -6.92  17.21 -50.77 -41.38   6.54   2.29  10.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 896       Q7   0.46 336.46  16.79  -7.62  17.21 -59.04 -41.38   5.66   2.10  10.02   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 897      BPM   0.00 336.92  15.72   9.57  17.22 -63.31  23.57   6.40  -3.96  10.04   0.00   0.00  -0.00   0.00   0.00   0.00
+ 898      SD4   0.39 336.92  15.72   9.57  17.22 -63.31  23.57   6.40  -3.96  10.04   0.00   0.00  -0.00   0.00   0.00   0.00
+ 899       S5   0.00 337.31   9.15   7.27  17.22 -54.12  23.57   9.89  -4.97  10.04   0.00   0.00  -0.00   0.00   0.00   0.00
+ 900      COR   0.00 337.31   9.15   7.28  17.22 -54.12  23.58   9.89  -4.97  10.04   0.00   0.00  -0.00   0.00   0.00   0.00
+ 901      SD5   0.20 337.31   9.15   7.28  17.22 -54.12  23.58   9.89  -4.97  10.04   0.00   0.00  -0.00   0.00   0.00   0.00
+ 902       Q6   0.32 337.51   6.48   6.10  17.23 -49.40  23.58  11.98  -5.49  10.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 903      SD7   0.44 337.83   3.67   3.02  17.24 -44.56   6.93  14.17  -1.09  10.05   0.00   0.00  -0.00   0.00   0.00   0.00
+ 904     BEND   1.05 338.27   1.55   1.80  17.27 -41.52   6.93  15.16  -1.16  10.06   0.00   0.00  -0.00   0.00   0.00   0.00
+ 905      SD7   0.44 339.32   0.78  -1.07  17.57 -34.17   7.13  17.13  -0.68  10.07   0.00   0.00  -0.00   0.00   0.00   0.00
+ 906       Q4   0.32 339.76   2.26  -2.28  17.62 -31.03   7.13  17.75  -0.72  10.07   0.00   0.00  -0.00   0.00   0.00   0.00
+ 907      SD8   0.20 340.08   4.50  -5.04  17.64 -30.94  -6.54  15.76   6.64  10.07   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 908       S3   0.00 340.28   6.75  -6.21  17.64 -32.25  -6.54  13.22   6.06  10.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 909      COR   0.00 340.28   6.75  -6.21  17.64 -32.25  -6.54  13.22   6.06  10.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 910      BPM   0.00 340.28   6.75  -6.21  17.64 -32.25  -6.54  13.22   6.06  10.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 911      SD9   0.48 340.28   6.75  -6.21  17.64 -32.25  -6.54  13.22   6.06  10.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 912       Q5   0.32 340.76  14.00  -9.01  17.65 -35.36  -6.54   8.09   4.70  10.08   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 913     SD10   0.47 341.08  17.07   0.03  17.65 -34.02  14.80   6.66   0.05  10.09   0.00   0.00  -0.00   0.00   0.00   0.00
+ 914      BPM   0.00 341.55  17.05   0.01  17.66 -27.06  14.80   6.65  -0.02  10.10   0.00   0.00  -0.00   0.00   0.00   0.00
+ 915       S4   0.00 341.55  17.05   0.01  17.66 -27.06  14.80   6.65  -0.02  10.10   0.00   0.00  -0.00   0.00   0.00   0.00
+ 916      COR   0.00 341.55  17.05   0.00  17.66 -27.06  14.80   6.65  -0.02  10.10   0.00   0.00  -0.00   0.00   0.00   0.00
+ 917     SD12   0.47 341.55  17.05   0.00  17.66 -27.06 -17.95   6.65  -0.02  10.10   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 918       Q5   0.32 342.02  17.06  -0.02  17.66 -35.49 -17.95   6.70  -0.09  10.11   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 919      SD9   0.48 342.34  13.98   9.01  17.66 -37.67   4.55   8.16  -4.78  10.12   0.00   0.00  -0.00   0.00   0.00   0.00
+ 920      BPM   0.00 342.81   6.73   6.21  17.67 -35.50   4.55  13.37  -6.16  10.13   0.00   0.00  -0.00   0.00   0.00   0.00
+ 921       S3   0.00 342.81   6.73   6.21  17.67 -35.50   4.55  13.37  -6.16  10.13   0.00   0.00  -0.00   0.00   0.00   0.00
+ 922      COR   0.00 342.81   6.73   6.21  17.67 -35.50   4.56  13.37  -6.17  10.13   0.00   0.00  -0.00   0.00   0.00   0.00
+ 923      SD8   0.20 342.81   6.73   6.21  17.67 -35.50   4.56  13.37  -6.17  10.13   0.00   0.00  -0.00   0.00   0.00   0.00
+ 924       Q4   0.32 343.01   4.48   5.04  17.68 -34.59   4.56  15.95  -6.75  10.13   0.00   0.00  -0.00   0.00   0.00   0.00
+ 925      SD7   0.44 343.33   2.25   2.28  17.69 -35.60 -10.92  17.99   0.70  10.13   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 926     BEND   1.05 343.77   0.77   1.07  17.75 -40.40 -10.92  17.39   0.66  10.14   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 927      SD6   0.79 344.83   1.56  -1.82  18.05 -51.71 -10.72  15.45   1.15  10.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 928       S2   0.00 345.62   6.17  -4.00  18.09 -60.18 -10.72  13.73   1.03  10.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 929      COR   0.00 345.62   6.17  -4.00  18.09 -60.18 -10.70  13.73   1.02  10.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 930      SD5   0.20 345.62   6.17  -4.00  18.09 -60.18 -10.70  13.73   1.02  10.15   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 931       Q3   0.32 345.82   7.88  -4.55  18.09 -62.32 -10.70  13.33   0.99  10.16   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 932     SD14   0.59 346.14  11.82  -8.06  18.10 -68.09 -25.58  11.78   3.72  10.16   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 933      BPM   0.00 346.73  23.27 -11.36  18.11 -83.19 -25.58   7.83   2.97  10.17   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 934       Q2   0.46 346.73  23.27 -11.36  18.11 -83.19 -25.58   7.83   2.97  10.17   0.00   0.00  -0.00  -0.00   0.00   0.00
+ 935      SD3   0.20 347.19  24.96   8.14  18.11 -79.64  40.52   7.88  -3.10  10.18   0.00   0.00  -0.00   0.00   0.00   0.00
+ 936       S1   0.00 347.39  21.82   7.60  18.11 -71.54  40.52   9.18  -3.36  10.18   0.00   0.00  -0.00   0.00   0.00   0.00
+ 937      COR   0.00 347.39  21.82   7.59  18.11 -71.54  40.51   9.18  -3.36  10.18   0.00   0.00  -0.00   0.00   0.00   0.00
+ 938      SD2   0.39 347.39  21.82   7.59  18.11 -71.54  23.96   9.18  -3.36  10.18   0.00   0.00  -0.00   0.00   0.00   0.00
+ 939       Q1   0.32 347.78  16.30   6.55  18.11 -62.20  23.96  12.00  -3.88  10.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 940     FCOR   0.00 348.10  14.11   0.57  18.12 -58.19   1.34  13.02   0.82  10.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 941      BPM   0.00 348.10  14.11   0.57  18.12 -58.19   1.34  13.02   0.82  10.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 942      SD1   6.00 348.10  14.11   0.57  18.12 -58.19   1.34  13.02   0.82  10.19   0.00   0.00  -0.00   0.00   0.00   0.00
+ 943       RF   0.00 354.10  10.67   0.01  18.20 -50.14   1.34   7.79   0.05  10.30   0.00   0.00  -0.00   0.00   0.00   0.00
+ 944      FIN   0.00 354.10  10.67   0.01  18.20 -50.14   1.34   7.79   0.05  10.30   0.00   0.00  -0.00   0.00   0.00   0.00
Index: /trunk/machine/SOLEIL/StorageRing/orbit/mosteffectivecorrectorgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/mosteffectivecorrectorgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/mosteffectivecorrectorgui.m	(revision 17)
@@ -0,0 +1,506 @@
+function varargout = mosteffectivecorrectorgui(varargin)
+% MOSTEFFECTIVECORRECTORGUI M-file for mosteffectivecorrectorgui.fig
+%      MOSTEFFECTIVECORRECTORGUI, by itself, creates a new MOSTEFFECTIVECORRECTORGUI or raises the existing
+%      singleton*.
+%
+%      H = MOSTEFFECTIVECORRECTORGUI returns the handle to a new MOSTEFFECTIVECORRECTORGUI or the handle to
+%      the existing singleton*.
+%
+%      MOSTEFFECTIVECORRECTORGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in MOSTEFFECTIVECORRECTORGUI.M with the given input arguments.
+%
+%      MOSTEFFECTIVECORRECTORGUI('Property','Value',...) creates a new MOSTEFFECTIVECORRECTORGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before mosteffectivecorrectorgui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to mosteffectivecorrectorgui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help mosteffectivecorrectorgui
+
+% Last Modified by GUIDE v2.5 24-Jan-2008 13:03:58
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+    'gui_Singleton',  gui_Singleton, ...
+    'gui_OpeningFcn', @mosteffectivecorrectorgui_OpeningFcn, ...
+    'gui_OutputFcn',  @mosteffectivecorrectorgui_OutputFcn, ...
+    'gui_LayoutFcn',  [] , ...
+    'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before mosteffectivecorrectorgui is made visible.
+function mosteffectivecorrectorgui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to mosteffectivecorrectorgui (see VARARGIN)
+
+% Choose default command line output for mosteffectivecorrectorgui
+handles.output = hObject;
+
+%
+handles.Rmat = getbpmresp('Struct');
+nBPMx = length(family2dev('BPMx'));
+nHCOR = length(family2dev('HCOR'));
+nBPMy = length(family2dev('BPMz'));
+nVCOR = length(family2dev('VCOR'));
+
+handles.Hdelcm{1} = zeros(nHCOR,1);
+handles.Vdelcm{1} = zeros(nVCOR,1);
+handles.ResidualHOrbit{1} = zeros(nBPMx,nHCOR);
+handles.ResidualVOrbit{1} = zeros(nBPMy,nVCOR);
+handles.HRefOrbit = zeros(nBPMx,nHCOR);
+handles.VRefOrbit = zeros(nBPMy,nVCOR);
+handles.HOrbit = getx;
+handles.VOrbit = getz;
+handles.correctornumber = 1;
+handles.HGoalOrbit = getgolden('BPMx');
+handles.VGoalOrbit = getgolden('BPMz');
+handles.spos = getspos('BPMx');
+handles.Hiter = 1; % Iteration num in H-plane
+handles.Viter = 1; % Iteration num in H-plane
+handles.HCORselect = 1;
+handles.HCORRemove = [];
+handles.VCORselect = 1;
+handles.VCORRemove = [];
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes mosteffectivecorrectorgui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = mosteffectivecorrectorgui_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on selection change in listbox_Hcorrector.
+function listbox_Hcorrector_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_Hcorrector (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_Hcorrector contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_Hcorrector
+
+plotHdata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function listbox_Hcorrector_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_Hcorrector (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_Hfind.
+function pushbutton_Hfind_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Hfind (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+iFam = 'BPMx';
+%set(handles.listbox_Hcorrector,'Value',1);
+
+iterNum = handles.Hiter
+
+if iterNum == 1
+  %handles.HGoalOrbit = getgolden(iFam);
+  handles.HGoalOrbit = handles.HRefOrbit;
+  handles.HCORRemove = [];
+    set(handles.text_HGoldenRMS, 'String', num2str(std(handles.HGoalOrbit), '%3.2e'));
+else
+    handles.HGoalOrbit =  handles.ResidualHOrbit{iterNum-1}(:, handles.HCORselect(iterNum-1));
+end
+
+%handles.HGoalOrbitNew = handles.HGoalOrbit;
+    
+% refreshthering;
+%handles.HOrbit = getx; 
+
+OrbitDiff = handles.HOrbit - handles.HGoalOrbit;
+
+% Loop over all valid correctors
+for k = 1:size(handles.Rmat(1,1).Data,2),
+    Rmat  = handles.Rmat(1,1).Data(:,k);
+    handles.Hdelcm{iterNum}(k,:) = -pinv(Rmat)*OrbitDiff; %-Rmat\OrbitDiff;
+    handles.ResidualHOrbit{iterNum}(:,k) =  handles.Rmat(1,1).Data(:,k)*handles.Hdelcm{iterNum}(k,:) ...
+        + OrbitDiff;
+end
+
+% Look for most effective corrector
+Xrms = std(handles.ResidualHOrbit{iterNum});
+[tmp ind] = sort(Xrms,'Ascend');
+
+% Remove correctors already used in previous iterations
+[tmp1 tmp2] = intersect(handles.Rmat(1,1).Actuator.DeviceList(ind,:), handles.HCORRemove,'rows');
+if ~isempty(tmp1),
+    ind(tmp2) = [];
+end
+
+fprintf('H-corrector [%2d %2d] is set to % 6.2e A or % 6.2e µT.m\n', handles.Rmat(1,1).Actuator.DeviceList(ind(1),:), ...
+    handles.Hdelcm{iterNum}(ind(1)), hw2physics('HCOR', 'Setpoint', handles.Hdelcm{iterNum}(ind(1)), [1 1])*getbrho);
+
+set(handles.text_HRMS, 'String', num2str(std(handles.ResidualHOrbit{iterNum}(:,1)), '%3.2e'));
+
+handles.HCORRemove(iterNum,:) = handles.Rmat(1,1).Actuator.DeviceList(ind(1),:);
+handles.HCORselect(iterNum) = ind(1);
+
+% Update handles structure
+guidata(hObject, handles);
+
+plotHdata(hObject, handles);
+
+% --- Executes as a subfunction
+function plotHdata(hObject, handles)
+
+iterNum = handles.Hiter;
+
+% look whether most effective corrector function already was run for this iteration
+lastIter = size(handles.HCORRemove, 1);
+if isempty(handles.HCORRemove) || lastIter < iterNum
+    if iterNum - lastIter > 1
+        set(handles.popupmenu_Hiter,'Value', lastIter +1);
+        handles.Hiter = lastIter +1;
+    end
+    pushbutton_Hfind_Callback(handles.pushbutton_Hfind , [], handles)    
+end
+
+iterNum = handles.Hiter
+
+Bind = get(handles.listbox_Hcorrector,'Value');
+Hrms = std(handles.ResidualHOrbit{iterNum});
+[tmp ind] = sort(Hrms,'Ascend');
+
+handles.HCORselect(handles.Hiter) = ind(Bind(1));
+%handles.HCORRemove(iterNum,:) = handles.Rmat(1,1).Actuator.DeviceList(ind(1),:);
+%handles.HCORRemove(iterNum,:) = handles.Rmat(1,1).Actuator.DeviceList(ind(Bind(1)),:);
+
+set(handles.text_HRMS, 'String', num2str(std(handles.ResidualHOrbit{iterNum}(:,ind(Bind(1)))), '%3.2e'));
+
+spos = handles.spos;
+
+axes(handles.axes_Horbit)
+cla
+%plot(spos, handles.HGoalOrbit ,'k-*'); hold on
+%plot(spos, handles.ResidualHOrbit{handles.Hiter}(:,ind(Bind(1)))  + handles.HGoalOrbit, 'r')
+plot(spos, handles.HOrbit - handles.HGoalOrbit ,'k-*'); hold on
+plot(spos, handles.ResidualHOrbit{handles.Hiter}(:,ind(Bind(1)))  + (handles.HOrbit - handles.HGoalOrbit), 'r')
+
+grid on;
+xlabel('s-position (m)');
+ylabel('H-orbit (mm)');
+
+% Corrector strenghts
+axes(handles.axes_Hcorrector)
+cla 
+plot(handles.Hdelcm{handles.Hiter});
+hold on; plot(ind(Bind(1)), handles.Hdelcm{handles.Hiter}(ind(Bind(1))), 'k*');
+grid on;
+xlabel('H-corrector number');
+ylabel('Current (A)');
+
+%handles.Hdelcm(ind(1));
+
+% Residual orbit for selected corrector
+axes(handles.axes_Hrmsorbit)
+cla
+plot(Hrms);
+grid on;
+hold on; plot(ind(Bind(1)), Hrms(ind(Bind(1))), 'k*')
+xlabel('H-corrector number');
+ylabel('Delta Orbit rms (mm)');
+
+ListBoxString = [];
+% Remove correctors already used in previous iterations
+% [tmp1 tmp2] = intersect(handles.Rmat(1,1).Actuator.DeviceList(ind,:), handles.HCORRemove,'rows');
+% if ~isempty(tmp1),
+%     ind(tmp2) = [];
+% end
+
+for k=1:size(ind,2),
+    ListBoxString = strvcat(ListBoxString, sprintf('[%2d %2d] = %+6.2e \n', ...
+        handles.Rmat(1,1).Actuator.DeviceList(ind(k),:), handles.Hdelcm{handles.Hiter}(ind(k))));
+end
+
+set(handles.listbox_Hcorrector, 'String', ListBoxString);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Executes as a subfunction
+function plotVdata(handles)
+
+iterNum = handles.Viter;
+
+% look whether most effective corrector function already was run for this iteration
+lastIter = size(handles.VCORRemove, 1);
+if isempty(handles.VCORRemove) || lastIter < iterNum
+    if iterNum - lastIter > 1
+        set(handles.popupmenu_Viter,'Value', lastIter +1);
+        handles.Viter = lastIter +1;
+    end
+    pushbutton_Vfind_Callback(handles.pushbutton_Vfind , [], handles)    
+end
+
+iterNum = handles.Viter
+
+Bind = get(handles.listbox_Vcorrector,'Value');
+Vrms = std(handles.ResidualVOrbit{iterNum});
+[tmp ind] = sort(Vrms,'Ascend');
+
+handles.VCORselect(handles.Viter) = ind(Bind(1));
+% handles.VCORRemove(iterNum,:) = handles.Rmat(2,2).Actuator.DeviceList(ind(1),:);
+
+set(handles.text_VRMS, 'String', num2str(std(handles.ResidualVOrbit{iterNum}(:,ind(Bind(1)))), '%3.2e'));
+spos = handles.spos;
+
+axes(handles.axes_Vorbit)
+cla
+plot(spos, handles.VGoalOrbit ,'k-*'); hold on
+
+plot(spos, handles.ResidualVOrbit{handles.Viter}(:,ind(Bind(1))) +  handles.VGoalOrbit, 'r')
+
+grid on;
+xlabel('s-position (m)');
+ylabel('V-orbit (mm)');
+
+% Corrector strenghts
+axes(handles.axes_Vcorrector)
+cla 
+plot(handles.Vdelcm{handles.Viter});
+hold on; plot(ind(Bind(1)), handles.Vdelcm{handles.Viter}(ind(Bind(1))), 'k*');
+grid on;
+xlabel('V-corrector number');
+ylabel('Current (A)');
+
+% Residual orbit for selected corrector
+axes(handles.axes_Vrmsorbit)
+cla
+plot(Vrms);
+grid on;
+hold on; plot(ind(Bind(1)), Vrms(ind(Bind(1))), 'k*')
+xlabel('V-corrector number');
+ylabel('Delta Orbit rms (mm)');
+
+ListBoxString = [];
+% Remove correctors already used in previous iterations
+% [tmp1 tmp2] = intersect(handles.Rmat(2,2).Actuator.DeviceList(ind,:), handles.VCORRemove,'rows');
+% if ~isempty(tmp1),
+%     ind(tmp2) = [];
+% end
+
+for k=1:size(ind,2),
+    ListBoxString = strvcat(ListBoxString, sprintf('[%2d %2d] = %+6.2e \n', ...
+        handles.Rmat(2,2).Actuator.DeviceList(ind(k),:), handles.Vdelcm{handles.Viter}(ind(k))));
+end
+
+set(handles.listbox_Vcorrector, 'String', ListBoxString);
+
+
+
+% --- Executes on selection change in listbox_Vcorrector.
+function listbox_Vcorrector_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_Vcorrector (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_Vcorrector contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_Vcorrector
+plotVdata(handles);
+
+% --- Executes during object creation, after setting all properties.
+function listbox_Vcorrector_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_Vcorrector (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_Vfind.
+function pushbutton_Vfind_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Vfind (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+iFam = 'BPMz';
+%set(handles.listbox_Hcorrector,'Value',1);
+
+iterNum = handles.Viter
+
+if iterNum == 1
+    handles.VGoalOrbit = getgolden(iFam);
+    handles.VCORRemove = [];
+    set(handles.text_VGoldenRMS, 'String', num2str(std(handles.VGoalOrbit), '%3.2e'));
+else
+    handles.VGoalOrbit =  handles.ResidualVOrbit{iterNum-1}(:, handles.VCORselect(iterNum-1));
+end
+
+handles.VOrbit = getz; 
+
+OrbitDiff = handles.VOrbit - handles.VGoalOrbit;
+
+% Loop over all valid correctors
+for k = 1:size(handles.Rmat(2,2).Data,2),
+    Rmat  = handles.Rmat(2,2).Data(:,k);
+    handles.Vdelcm{iterNum}(k,:) = -Rmat \ OrbitDiff;
+    handles.ResidualVOrbit{iterNum}(:,k) =  handles.Rmat(2,2).Data(:,k)*handles.Vdelcm{iterNum}(k) ...
+    + OrbitDiff;
+end
+
+% Look for most effective corrector
+Vrms = std(handles.ResidualVOrbit{iterNum});
+[tmp ind] = sort(Vrms,'Ascend');
+
+% Remove correctors already used in previous iterations
+[tmp1 tmp2] = intersect(handles.Rmat(1,1).Actuator.DeviceList(ind,:), handles.VCORRemove,'rows');
+if ~isempty(tmp1),
+    ind(tmp2) = [];
+end
+
+fprintf('V-corrector [%2d %2d] is set to % 6.2e A or % 6.2e µT.m\n\n', handles.Rmat(2,2).Actuator.DeviceList(ind(1),:), ...
+    handles.Vdelcm{iterNum}(ind(1)), hw2physics('VCOR', 'Setpoint', handles.Vdelcm{iterNum}(ind(1)),[1 1])*getbrho);
+
+set(handles.text_VRMS, 'String', num2str(std(handles.ResidualVOrbit{iterNum}(:,1)), '%3.2e'));
+
+handles.VCORRemove(iterNum,:) = handles.Rmat(2,2).Actuator.DeviceList(ind(1),:);
+handles.VCORselect(iterNum) = ind(1);
+
+% Update handles structure
+guidata(hObject, handles);
+
+plotVdata(handles);
+
+
+% --------------------------------------------------------------------
+function uimenu_loadHreffile_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_loadHreffile (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+[fileName directoryName] = uigetfile('*.mat','Select H-BPM file as H-reference');
+
+set(handles.text_Hreffilename,'String', fileName);
+
+tmp = load(fileName);
+
+handles.HRefOrbit = tmp.Data1.Data;
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --------------------------------------------------------------------
+function uimenu_loadHfile_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_loadHfile (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+[fileName directoryName] = uigetfile('*.mat','Select H-BPM file as H-reference');
+
+%set(handles.text_Hreffilename,'String', fileName);
+
+tmp = load(fileName);
+
+handles.HOrbit = tmp.Data1.Data;
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% --- Executes on selection change in popupmenu_Hiter.
+function popupmenu_Hiter_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Hiter (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_Hiter contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_Hiter
+
+val = get(hObject,'Value');
+
+handles.Hiter = val;
+% Update handles structure
+guidata(hObject, handles);
+
+pushbutton_Hfind_Callback(handles.pushbutton_Hfind, eventdata, handles);
+% plotHdata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_Hiter_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Hiter (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_Viter.
+function popupmenu_Viter_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Viter (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_Viter contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_Viter
+
+val = get(hObject,'Value');
+
+handles.Viter = val;
+% Update handles structure
+guidata(hObject, handles);
+
+pushbutton_Vfind_Callback(handles.pushbutton_Vfind, eventdata, handles);
+% plotHdata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_Viter_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Viter (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/orbit/orbgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/orbgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/orbgui.m	(revision 17)
@@ -0,0 +1,3079 @@
+function varargout = orbgui(action, varargin)
+%ORBGUI -- Contains routines to set up the main orbit control panel
+%  for the 'orbit' program
+% function varargout = orbgui(action, varargin)
+%  orbgui contains routines to set up the main orbit control panel
+%  for the 'orbit' program
+%  routines contained in orbgui switchyard are:
+%
+% OrbFig
+% BPMAxes
+% LatticeAxes
+% CorAxes
+% MachineParameters
+% UpdateParameters
+% SVDAxes
+% PlotMenu
+% BPMChangeUnits
+% CORChangeUnits
+% LoadRaw2Real
+% AlgorithmMenu
+% SVDAlgo
+% SuperperiodMenu
+% BPMMenu
+% CORMenu
+% EtaMenu
+% SYSMenu
+% Switch2online
+% Switch2sim
+% OptMenu
+% SimMenu
+% Cor2Zero
+% Quad2Zero
+% QuadOffset
+% MakeNewRef
+% PlotAlign
+% SetTune
+% UpdateOptics
+% DisplayOpticsEXCEL
+% DisplayOptics
+% PlotBetaFunctions
+% PlotRingElements
+% RespMenu
+% UIControls
+% BPMbox
+% CorBox
+% SVDBox
+% KnobBox
+% Plane
+% TogglePlane
+% RefreshOrbGUI
+% Relative
+% Abort
+% ScaleBPMAxis
+% AutoScaleBPMAxis
+% AutoScaleCorrAxis
+% ScaleCORAxis
+% BPMPlotScale
+% ProcessBPMScale
+% PlotSPosition
+% PlotPhase
+% BPMScaleType
+% CorPlotScale
+% CORScaleType
+% ProcessCORScale
+% LstBox
+% LBox
+% GetAbscissa
+% InitialSaveSet
+% SaveSet2Initial
+% SaveSet
+% MoveSaveSet
+% RestoreSaveSet
+% UnDrawSaveSet
+% ReDrawSaveSet
+% DeleteSaveSet
+% SelectSaveSet
+% LoadSaveSet
+% RestoreSystem
+% SaveSystem
+% SaveBump
+% CloseMainFigure
+% 
+
+%
+% Written by J. Corbett
+% Adapted by Laurent S. Nadolski
+
+% graphics handles
+
+% globals
+global BPM COR RSP SYS THERING
+orbfig = findobj(0,'tag','orbfig');
+plane  = SYS.plane; % 1 for H and 2 for V
+
+[BPMxFamily, BPMzFamily] = BPM.AOFamily;
+[HCORFamily, VCORFamily] = COR.AOFamily;
+
+switch action
+
+    %==========================================================
+    case 'OrbFig'                               %OrbFig
+    %==========================================================
+        %orbfig sets up the main figure for the Orbit program.
+        %orbit and corrector plots, uicontrols and uimenus fit into orbfig.
+        %to print graphics activate menubar
+        %PaperPosition sets orientation of figure on print page
+
+        %screen size call
+        [screen_wide, screen_high]=screensizecm;
+
+        %fig_start = [0.13*screen_wide 0.16*screen_high];
+        fig_start = [0.1*screen_wide 0.1*screen_high];
+        %fig_size  = [0.78125*screen_wide 0.78125*screen_high];
+        fig_size  = [0.8125*screen_wide 0.8*screen_high];
+        SYS.orbfig = figure('Visible','on',...
+            'units','centimeters',...
+            'NumberTitle','off',...
+            'Doublebuffer','on',...
+            'Tag','orbfig',...
+            'Name','SOLEIL Storage Ring Orbit Correction Interface v.1',...
+            'PaperPositionMode','Auto',...
+            'MenuBar','None', 'Position',[fig_start fig_size], ...
+            'Resize','off', 'CloseRequestFcn', ...
+            'orbgui(''CloseMainFigure'')');
+        %set(SYS.orbfig,'DeleteFcn',['st=fclose(''all'');' 'CloseCAQuery'],'Resize','off');
+
+%         %==========================================================
+%     case 'Axes_1'                               %Axes_1
+%         %==========================================================
+%         %Establish top axes
+% 
+%         [screen_wide, screen_high] = screensizecm;
+% 
+%         x0=0.0478*screen_wide; y0=0.5*screen_high; dx=0.7383*screen_wide; dy=0.2*screen_high;
+% 
+%         % axe handle 1 = ah1
+%         SYS.ahbpm = axes('Units','centimeters',...
+%             'Color', [1 1 1], ...
+%             'Box','on',...
+%             'YGrid','on',...
+%             'Position',[x0 y0 dx dy]);
+% 
+%         set(SYS.ahbpm,'xticklabelmode','manual');
+%         set(SYS.ahbpm,'xticklabel',[]);
+%         varargout{1} = SYS.ahbpm;
+
+        %==========================================================
+    case 'BPMAxes'                               %BPMAxes
+        %==========================================================
+        %BPMAxes is the axes to plot: reference, desired, actual, predicted
+        %columns of response matrix and svd orbit eigenvectors (columns of U: R=UWVt)
+        %need NextPlot add to prevent PLOT from resetting fields to default (incl tag)
+        %DrawMode
+
+        [screen_wide, screen_high] = screensizecm;
+
+        x0=0.0478*screen_wide; y0=0.5*screen_high; 
+        dx=0.7383*screen_wide; dy=0.2*screen_high;
+
+        % axe handle 1 = ah1
+        SYS.ahbpm = axes('Units','centimeters',...
+            'Color', [1 1 1], ...
+            'Box','on',...
+            'YGrid','on',...
+            'Position',[x0 y0 dx dy]);
+
+        set(SYS.ahbpm,'xticklabelmode','manual');
+        set(SYS.ahbpm,'xticklabel',[]);
+
+        set(SYS.ahbpm,'NextPlot','add');
+        set(SYS.ahbpm,'ButtonDownFcn','bpmgui(''BPMSelect'')');
+        set(SYS.ahbpm,'xticklabelmode','manual');
+        set(SYS.ahbpm,'xticklabel',[]);
+
+        label = ['BPM Value  (',  getfamilydata(BPMxFamily,'Monitor','HWUnits'), ')'];
+
+        set(get(SYS.ahbpm,'Ylabel'),'string',label);  %handle for xlabel
+
+%         set(SYS.ahbpm,'NextPlot','add');
+%         set(SYS.ahbpm,'ButtonDownFcn','bpmgui(''BPMSelect'')');
+%         set(SYS.ahbpm,'xticklabelmode','manual');
+%         set(SYS.ahbpm,'xticklabel',[]);
+% 
+%         label = ['BPM Value  (',  getfamilydata(BPMxFamily,'Monitor','HWUnits'), ')'];
+% 
+%         set(get(SYS.ahbpm,'Ylabel'),'string',label);  %handle for xlabel
+
+       %==========================================================
+    case 'LatticeAxes'                                   %ZoomAxes
+        %==========================================================
+        %Position Axes is for slider that controls zoom of display windows
+
+        [screen_wide, screen_high] = screensizecm;
+
+        x0 = 0.0478*screen_wide; y0 = 0.473*screen_high; 
+        dx = 0.7383*screen_wide; dy = 0.025*screen_high;
+
+        SYS.ahpos = axes('Units','centimeters',...
+            'Color', [1 1 1],...
+            'Box','on',...
+            'Position',[x0 y0 dx dy],...
+            'xticklabelmode','manual',...
+            'yticklabelmode','manual',...
+            'xtickmode','manual',...
+            'ytickmode','manual');
+
+        drawlattice;
+        
+        set(SYS.ahpos,'XTick',[],'YTick',[]); % to erase tick labels
+       
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'CorAxes'                               %CorAxes
+        %==========================================================
+        %CorAxes are the axes to plot: actual, fit correctors
+        %and svd corrector eigenvectors (columns of V: R=UWVt)
+
+        [screen_wide, screen_high]=screensizecm;
+
+        x0=0.0478*screen_wide; y0=0.27*screen_high; 
+        dx=0.7383*screen_wide; dy=0.2*screen_high;
+
+        %axe handle for correctors 
+        SYS.ahcor = axes('Units','centimeters',...
+            'NextPlot','add',...
+            'Color', [1 1 1], ...
+            'Box','on',...
+            'YGrid','on',...
+            'Position',[x0 y0 dx dy],...
+            'ButtonDownFcn','corgui(''CorSelect'')');
+
+        label=['Corrector Value  (',  getfamilydata(HCORFamily,'Setpoint','HWUnits'), ')'];
+
+        set(get(SYS.ahcor,'Ylabel'),'string',label);  %handle for xlabel
+        set(get(SYS.ahcor,'Xlabel'),'string','Position in Storage Ring (m)');
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'MachineParameters'              %...MachineParameters
+        %==========================================================
+        %Create field boxes to display beam energy and current
+        [screen_wide, screen_high] = screensizecm;
+
+        x0=0.4*screen_wide; y0=0.76*screen_high; dx=0.08*screen_wide; dy=0.02*screen_high;
+
+        uicontrol('Style','text',...                            %Current Text
+            'units', 'centimeters','Position',[x0+0*dx y0 dx dy],...
+            'HorizontalAlignment','right',...
+            'ToolTipString','Electron Beam Current (A)',...
+            'String','Current (mA)');
+
+        SYS.hcurrent=uicontrol('Style','PushButton',...  %Current Display
+            'units', 'centimeters','Position',[x0+1.1*dx y0+0.005*screen_high dx/1.5 dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'ToolTipString','Electron Beam Current (A)',...
+            'CallBack','orbgui(''UpdateParameters'')',...
+            'String',num2str(SYS.current, '%6.1f'));
+
+        uicontrol('Style','text',...                           %Energy Text
+            'units', 'centimeters','Position',[x0+0*dx y0-dy dx dy],...
+            'HorizontalAlignment','right',...
+            'ToolTipString','Electron Beam Energy (GeV)',...
+            'String','Energy (GeV)');
+
+        SYS.henergy=uicontrol('Style','PushButton',...   %Energy Display
+            'units', 'centimeters','Position',[x0+1.1*dx y0-dy+0.005*screen_high dx/1.5 dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'ToolTipString','Electron Beam Energy (GeV)',...
+            'CallBack','orbgui(''UpdateParameters'')',...
+            'String',num2str(SYS.energy, '%6.4f'));
+
+        uicontrol('Style','text',...                            %Lifetime Text
+            'units', 'centimeters','Position',[x0+1.8*dx y0 dx dy],...
+            'HorizontalAlignment','right',...
+            'ToolTipString','Electron Beam Lifetime (h)',...
+            'String','Lifetime (h)');
+
+        SYS.hlifetime=uicontrol('Style','PushButton',... %Lifetime Display
+            'units', 'centimeters','Position',[x0+3.0*dx y0+0.005*screen_high dx/1.5 dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'ToolTipString','Electron Beam Lifetime (h)',...
+            'CallBack','orbgui(''UpdateParameters'')',...
+            'String',num2str(SYS.lifetime, '%6.1f'));
+
+        uicontrol('Style','text',...                            %Amp-hr Text
+            'units', 'centimeters','Position',[x0+1.8*dx y0-dy dx dy],...
+            'HorizontalAlignment','right',...
+            'ToolTipString','Running mode: online or simulator',...
+            'String','Mode');
+
+        SYS.modecolor = uicontrol('Style','PushButton',...                            %Amp-hr Text
+            'units', 'centimeters','Position',[x0 + 3*dx y0 - dy dx/1.5 dy],...
+            'HorizontalAlignment','center');
+              
+%         uicontrol('Style','text',...                            %Amp-hr Text
+%             'units', 'centimeters','Position',[x0+1.8*dx y0-dy dx dy],...
+%             'HorizontalAlignment','right',...
+%             'ToolTipString','Electron beam amp-hours',...
+%             'String','Amp-hr:');
+% 
+%         SYS.amphr=uicontrol('Style','PushButton',...     %Amp-hr Display
+%             'units', 'centimeters','Position',[x0+3.0*dx y0-dy+0.005*screen_high dx/1.5 dy],...
+%             'BackGroundColor',[0.77 0.91 1.00],...
+%             'ToolTipString','Electron beam amp-hours',...
+%             'CallBack','orbgui(''UpdateParameters'')',...
+%             'String',num2str(SYS.ahr, '%6.1f'));
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'UpdateParameters'              %...UpdateParameters
+        %==========================================================
+        %Update field boxes that display machine parameters
+
+        
+        if strcmpi(SYS.machine,'Ring')
+            [SYS.energy,SYS.current,SYS.lifetime] = getringparams;
+            setappdata(0,'SYS',SYS);
+        end
+        set(SYS.henergy,  'String',num2str(SYS.energy,  '%6.4f'));
+        set(SYS.hcurrent, 'String',num2str(SYS.current, '%6.3f'));        
+        set(SYS.hlifetime,'String',num2str(SYS.lifetime,'%6.3f'));
+
+        %==========================================================
+    case 'SVDAxes'                               %SVDAxes
+        %==========================================================
+        %SVDAxes are the axes to plot singular value spectrum/logarithmic
+
+        %screen size call
+        [screen_wide, screen_high]=screensizecm;
+
+        x0=0.6*screen_wide; dx=0.19*screen_wide; 
+        y0=0.0495*screen_high; dy=0.14*screen_high;
+
+        % axe handle for SVD
+        SYS.ahsvd = axes('Units','centimeters','YScale','log','NextPlot', ...
+            'add','Color', [1 1 1],'Box','On','Position',[x0 y0 dx dy], ...
+            'XminorTick','On','YminorTick','On');
+
+        setappdata(0,'SYS',SYS);
+
+        set(get(SYS.ahsvd,'Ylabel'),'string','Singular Value');
+        set(get(SYS.ahsvd,'Xlabel'),'string','Singular Value Index');
+        
+        %==========================================================
+    case 'PlotMenu'                               %  PlotMenu
+        %==========================================================
+        %*** PLOT MENU ***
+        mh.plot = uimenu('Label','Plot    ');
+        uimenu(mh.plot,'Label','BPM Plot Scale', ...
+            'Callback','orbgui(''BPMPlotScale'')');
+        uimenu(mh.plot,'Label','Corrector Plot Scale', ...
+            'Callback','orbgui(''CorPlotScale'')');
+        mh.r2=uimenu(mh.plot,'Label','BPM Unit Data Display');
+        SYS.BPMPhysicsUnits = ...
+            uimenu(mh.r2,'Label','Physics Units','Callback', ...
+            'orbgui(''BPMChangeUnits'',''Physics'')');
+        SYS.BPMHardwareUnits = ...
+            uimenu(mh.r2,'Label','Hardware Units','Callback', ...
+            'orbgui(''BPMChangeUnits'',''Hardware'')');
+        SYS.BPM1000HardwareUnits = ...
+            uimenu(mh.r2,'Label','1000xHardware Units','Callback', ...
+            'orbgui(''BPMChangeUnits'',''1000xHardware'')');
+        mh.r3=uimenu(mh.plot,'Label','COR Unit Data Display');
+        SYS.CORPhysicsUnits = ...
+            uimenu(mh.r3,'Label','Physics Units','Callback', ...
+            'orbgui(''CORChangeUnits'',''Physics'')');
+        SYS.CORHardwareUnits = ...
+            uimenu(mh.r3,'Label','Hardware Units','Callback', ...
+            'orbgui(''CORChangeUnits'',''Hardware'')');
+%         uimenu(mh.plot,'Label',' ');
+%         mh.r2r=uimenu(mh.plot,'Label','Raw/Real Data Display');
+%         uimenu(mh.r2r,'Label','Display Raw Data','Callback','orbgui('''')');
+%         uimenu(mh.r2r,'Label','Display Real Data','Callback','orbgui('''')');
+%         uimenu(mh.r2r,'Label','Update Raw2Real Coefficients','Callback','orbgui('''')');        
+%         uimenu(mh.plot,'Label','Cross-Hair: Axes Start Location','Callback','orbgui(''StartLoc'')');
+%         uimenu(mh.plot,'Label','Cross-Hair: Axes Stop Location', 'Callback','orbgui(''StopLoc'')');
+%         uimenu(mh.plot,'Label','Reset Horizontal Scale',        'Callback','orbgui(''ResetAxes'')');
+        setappdata(0,'SYS',SYS);
+    
+        %==========================================================
+    case 'BPMChangeUnits'  % BPM Unit data Display
+        %==========================================================
+        
+        BPM(1).units = varargin{1};
+        BPM(2).units = varargin{1};
+        
+        setappdata(0,'BPM',BPM);
+        
+        %% BPM y-axis label
+        label = get(get(SYS.ahbpm,'Ylabel'),'string');       
+        switch varargin{1}
+            case 'Hardware'
+                Unit = 'mm';
+                set(SYS.BPMPhysicsUnits,'Checked','Off');
+                set(SYS.BPMHardwareUnits,'Checked','On');
+                set(SYS.BPM1000HardwareUnits,'Checked','Off');
+                BPM(1).scale = 1; 
+                BPM(2).scale = 1; 
+            case '1000xHardware'
+                Unit = 'um';
+                set(SYS.BPMPhysicsUnits,'Checked','Off');
+                set(SYS.BPMHardwareUnits,'Checked','Off');
+                set(SYS.BPM1000HardwareUnits,'Checked','On');
+                BPM(1).scale = 1000; 
+                BPM(2).scale = 1000; 
+            case 'Physics'
+                Unit = 'm';
+                set(SYS.BPMPhysicsUnits,'Checked','On');
+                set(SYS.BPMHardwareUnits,'Checked','Off');
+                set(SYS.BPM1000HardwareUnits,'Checked','Off');
+                BPM(1).scale = 0.001; 
+                BPM(2).scale = 0.001; 
+        end
+
+        label = [label(1:strfind(label,'(')-1) '(' Unit ')'];
+        set(get(SYS.ahbpm,'Ylabel'),'string',label);
+        
+        setappdata(0,'SYS',SYS);
+
+        bpmgui('RePlot');
+        bpmgui('UpdateBPMBox');
+        
+        %==========================================================
+    case 'CORChangeUnits'  % BPM Unit data Display
+        %==========================================================
+        
+        for plane = 1:2
+            COR(plane).units = varargin{1};
+        end
+        
+        setappdata(0,'COR',COR);
+        
+        %% HCOR y-axis label
+        label = get(get(SYS.ahcor,'Ylabel'),'string');       
+        switch varargin{1}
+            case {'Hardware','1000xHardware'}
+                Unit = 'A';
+                set(SYS.CORPhysicsUnits,'Checked','Off');
+                set(SYS.CORHardwareUnits,'Checked','On');
+            case 'Physics'
+                Unit = 'mrad';
+                set(SYS.CORPhysicsUnits,'Checked','On');
+                set(SYS.CORHardwareUnits,'Checked','Off');
+        end
+        label = [label(1:strfind(label,'(')-1) '(' Unit ')'];
+        set(get(SYS.ahcor,'Ylabel'),'string',label);
+
+        corgui('RePlot')
+        corgui('UpdateCorBox');
+
+        %==========================================================
+    case 'LoadRaw2Real'                         %  LoadRaw2Real
+        %==========================================================
+        %Load Raw2Real Coefficients into AppData
+
+        Families = {BPMxFamily, BPMzFamily, HCORFamily, VCORFamily};
+
+        for k = 1:length(Families)
+            Family     = Families{k};
+            DeviceList = getlist(Family,0);   %0 gives all entries
+            raw2realdata.(Family).Gain    = getphysdata(Family, 'Gain',   DeviceList);
+            raw2realdata.(Family).Offset  = getphysdata(Family, 'Offset', DeviceList);
+        end
+
+        setappdata(0,'raw2realdata',raw2realdata);
+
+%         %==========================================================
+%     case 'AlgorithmMenu'                       %  AlgorithmMenu
+%         %==========================================================
+%         %*** Algorithn MENU ***
+%         mh.algo = uimenu('Label','Fit Algorithm');
+%         uimenu(mh.algo,'Label','SVD','Callback',...
+%             'orbgui(''SVDAlgo'');');
+%         uimenu(mh.algo,'Label','Micado','Callback',...
+%             'orbgui(''MicadoAlgo'');');
+
+        %==========================================================
+    case 'SVDAlgo'                       %  SVDAlgo
+        %==========================================================
+        SYS.algo='SVD';
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+%     case 'MicadoAlgo'                       %  MicadoAlgo
+%         %==========================================================
+%         SYS.algo='Micado';
+%         setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'SuperperiodMenu'                       %  SuperperiodMenu
+        %==========================================================
+        %*** Algorithn MENU ***
+        mh.superperiod = uimenu('Label','Super-period');
+        SYS.allmachine = ...
+            uimenu(mh.superperiod,'Label','All storage ring','Callback',...
+            'orbgui(''plotxaxis'',''allmachine'');','Tag','allmachine');
+        SYS.superperiod1 = ...
+            uimenu(mh.superperiod,'Label','Super period #1','Callback',...
+            'orbgui(''plotxaxis'',''superperiod1'');','Tag','superperiod1');
+        SYS.superperiod2 = ...
+            uimenu(mh.superperiod,'Label','Super period #2','Callback',...
+            'orbgui(''plotxaxis'',''superperiod2'');','Tag','superperiod2');
+        SYS.superperiod3 = ...
+            uimenu(mh.superperiod,'Label','Super period #3','Callback',...
+            'orbgui(''plotxaxis'',''superperiod3'');','Tag','superperiod3');
+        SYS.superperiod4 = ...
+            uimenu(mh.superperiod,'Label','Super period #4','Callback',...
+            'orbgui(''plotxaxis'',''superperiod4'');','Tag','superperiod4');
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'plotxaxis'
+        %==========================================================
+        
+        action = varargin{1};
+        
+        bpm_axe     = axis(SYS.ahbpm);
+        cor_axe     = axis(SYS.ahcor);
+        lattice_axe = axis(SYS.ahpos);
+      
+        switch action
+            case 'allmachine'
+                AxisRange1X = [0 1]*SYS.xlimax;
+            case 'superperiod1'
+                AxisRange1X = [0 0.25]*SYS.xlimax;
+            case 'superperiod2'
+                AxisRange1X = [0.25 0.5]*SYS.xlimax;
+            case 'superperiod3'
+                AxisRange1X = [0.5 0.75]*SYS.xlimax;
+            case 'superperiod4'
+                AxisRange1X = [0.75 1]*SYS.xlimax;
+        end
+
+        axis(SYS.ahbpm,   [AxisRange1X bpm_axe(3:4)]);
+        axis(SYS.ahcor, [AxisRange1X cor_axe(3:4)]);
+        axis(SYS.ahpos, [AxisRange1X lattice_axe(3:4)]);
+
+        setappdata(0, 'xaxe', AxisRange1X);
+
+        set(SYS.allmachine,'Checked','Off');
+        set(SYS.superperiod1,'Checked','Off');
+        set(SYS.superperiod2,'Checked','Off');
+        set(SYS.superperiod3,'Checked','Off');
+        set(SYS.superperiod4,'Checked','Off');
+        set(SYS.(action),'Checked','On');
+
+
+        %==========================================================
+    case 'BPMMenu'                               %  BPMMenu
+        %==========================================================
+        %*** BPM MENU ***
+        mh.bpms = uimenu('Label','BPMs');
+        uimenu(mh.bpms,'Label','Select All BPMs','Callback','bpmgui(''SelectAll'');');
+        uimenu(mh.bpms,'Label','Select No BPM','Callback','bpmgui(''SelectNone'');');
+        uimenu(mh.bpms,'Label','Remove BPM Drag Changes','Callback','bpmgui(''ClearOffsets'');');
+        uimenu(mh.bpms,'Label','Show BPM State','Callback','bpmgui(''ShowBPMState'');');
+        uimenu(mh.bpms,'Label','Archive X-Orbit',          'Callback', ...
+            'readwrite(''ArchiveBPMOrbit'',''X'');','Separator','on');
+        uimenu(mh.bpms,'Label','Archive Z-Orbit',          'Callback', ...
+            'readwrite(''ArchiveBPMOrbit'',''Z'');');
+        uimenu(mh.bpms,'Label','Archive X/Z-Orbit',        'Callback', ...
+            'readwrite(''ArchiveBPMOrbit'',''XZ'');');
+        uimenu(mh.bpms,'Label','Load X-Reference Orbit',   'Callback', ...
+            'readwrite(''ReadBPMReference'',''X'');','Separator','on');
+        uimenu(mh.bpms,'Label','Load Z-Reference Orbit',   'Callback', ...
+            'readwrite(''ReadBPMReference'',''Z'');');
+        uimenu(mh.bpms,'Label','Load X/Z-Reference Orbit', 'Callback', ...
+            'readwrite(''ReadBPMReference'',''XZ'');');
+        uimenu(mh.bpms,'Label','Archive Golden X-Orbit',   'Callback', ...
+            'readwrite(''ArchiveBPMOrbit'',''X'',''Golden'');','Separator','on');
+        uimenu(mh.bpms,'Label','Archive Golden Z-Orbit',   'Callback', ...
+            'readwrite(''ArchiveBPMOrbit'',''Z'',''Golden'');');
+        uimenu(mh.bpms,'Label','Archive Golden X/Z-Orbit', 'Callback', ...
+            'readwrite(''ArchiveBPMOrbit'',''XZ'',''Golden'');');
+        uimenu(mh.bpms,'Label','Load Golden X-Reference',  'Callback', ...
+            'readwrite(''ReadBPMReference'',''X'',''Golden'');','Separator','on');
+        uimenu(mh.bpms,'Label','Load Golden Z-Reference',  'Callback', ...
+            'readwrite(''ReadBPMReference'',''Z'',''Golden'');');
+        uimenu(mh.bpms,'Label','Load Golden X/Z-Reference','Callback', ...
+            'readwrite(''ReadBPMReference'',''XZ'',''Golden'');');
+
+        %Select horizontal BPM weights
+        cback='rload(''GenFig'', BPM(1).name,BPM(1).avail,BPM(1).ifit,BPM(1).wt,';
+        cback=[cback '''Horizontal BPM Weights'',''xbwt'');'];
+        %instructions are used during 'load' procedure of rload window
+        instructions=[...
+            '   global BPM;',...
+            '   tlist = get(gcf,''UserData'');',...
+            '   BPM(1).wt=tlist{4};',...
+            '   setappdata(0,''BPM'',BPM);',...
+            '   orbgui(''RefreshOrbGUI'');'];
+        uimenu(mh.bpms,'Label','Select X-BPM Weights','Callback', ...
+            cback,'Tag','xbwt','Userdata',instructions,'Separator','on');
+
+        %Select vertical BPM weights
+        cback='rload(''GenFig'', BPM(2).name,BPM(2).avail,BPM(2).ifit,BPM(2).wt,';
+        cback=[cback '''Vertical BPM Weights'',''zbwt'');'];
+        %instructions are used during 'load' procedure of rload window
+        instructions=[...
+            '   global BPM;',...
+            '   tlist = get(gcf,''UserData'');',...
+            '   BPM(2).wt=tlist{4};',...
+            '   setappdata(0,''BPM'',BPM);',...
+            '   orbgui(''RefreshOrbGUI'');'];
+
+        uimenu(mh.bpms,'Label','Select Z-BPM Weights','Callback', ...
+            cback,'Tag','zbwt','Userdata',instructions);
+%         uimenu(mh.bpms,'Label','   ');
+%         uimenu(mh.bpms,'Label','Help with BPM Functions','Callback','readwrite(''OpenHelp'');');
+
+        %==========================================================
+    case 'CORMenu'                               %  CORMenu
+        %==========================================================
+        %*** CORRECTOR MENU ***
+        mh.cors = uimenu('Label','Correctors');
+        uimenu(mh.cors,'Label','Update Correctors','Callback', ...
+            'corgui(''UpdateCorrs'');');
+        uimenu(mh.cors,'Label','Corrector strengths to zero (this plane)', ...
+            'Callback','orbgui(''Cor2Zero'')');
+        uimenu(mh.cors,'Label','Select All Correctors','Callback', ...
+            'corgui(''SelectAll'');','Separator','on');
+        uimenu(mh.cors,'Label','Select No Correctors','Callback', ...
+            'corgui(''SelectNone'');');
+        uimenu(mh.cors,'Label','Load Correctors','Callback', ...
+            'readwrite(''DialogBox'',''Read Correctors'',''ReadCorrectors'');','Separator','on');
+        uimenu(mh.cors,'Label','Archive Correctors','Callback', ...
+            'readwrite(''DialogBox'',''Write Correctors'',''WriteCorrectors'');');
+
+        %Select horizontal corrector limits
+        cback='rload(''GenFig'', COR(1).name,COR(1).status,COR(1).avail,COR(1).lim,';
+        cback=[cback '''Horizontal Corrector Limits'',''xclim'');'];
+        %instructions are used during 'load' procedure of rload window
+        instructions=[...
+            '   global COR;',...
+            '   tlist = get(gcf,''UserData'');',...
+            '   COR(1).lim=tlist{4};',...
+            '   setappdata(0,''COR'',COR);'];
+        uimenu(mh.cors,'Label','Select X-Corrector Limits','Callback', ...
+            cback,'Tag','xclim','Userdata',instructions,'Separator','on');
+
+        %Select horizontal corrector weights
+        cback='rload(''GenFig'', COR(1).name,COR(1).status,COR(1).ifit,COR(1).wt,';
+        cback=[cback '''Horizontal Corrector Weights'',''xcwt'');'];
+        %instructions are used during 'load' procedure of rload window
+        instructions=[...
+            '   global COR;',...
+            '   tlist = get(gcf,''UserData'');',...
+            '   COR(1).wt=tlist{4};',...
+            '   setappdata(0,''COR'',COR);',...
+            '   orbgui(''RefreshOrbGUI'');'];
+
+        uimenu(mh.cors,'Label','Select X-Corrector Weights','Callback', ...
+            cback,'Tag','xcwt','Userdata',instructions);
+
+        %Select vertical corrector limits
+        cback='rload(''GenFig'', COR(2).name,COR(2).status,COR(2).avail,COR(2).lim,';
+        cback=[cback '''Vertical Corrector Limits'',''zclim'');'];
+        %instructions are used during 'load' procedure of rload window
+        instructions=[...
+            '   global COR;',...
+            '   tlist = get(gcf,''UserData'');',...
+            '   COR(2).lim=tlist{4};',...
+            '   setappdata(0,''COR'',COR);'];
+        uimenu(mh.cors,'Label','Select Z-Corrector Limits','Callback',cback, ...
+            'Tag','zclim','Userdata',instructions,'Separator','on');
+
+        %Select vertical corrector weights
+        cback='rload(''GenFig'', COR(2).name,COR(2).status,COR(2).ifit,COR(2).wt,';
+        cback=[cback '''Vertical Corrector Weights'',''zcwt'');'];
+        %instructions are used during 'load' procedure of rload window
+        instructions=[...
+            '   global COR;',...
+            '   tlist = get(gcf,''UserData'');',...
+            '   COR(2).wt=tlist{4};',...
+            '   setappdata(0,''COR'',COR);',...
+            '   orbgui(''RefreshOrbGUI'');'];
+
+        uimenu(mh.cors,'Label','Select Z-Corrector Weights','Callback',cback, ...
+            'Tag','zcwt','Userdata',instructions);
+        uimenu(mh.cors,'Label','Show Corrector State','Callback', ...
+            'corgui(''ShowCORState'');','Separator','on');
+%         uimenu(mh.cors,'Label','Help with Corrector Functions','Callback','readwrite(''OpenHelp'');');
+
+        %==========================================================
+    case 'EtaMenu'                               %  EtaMenu
+        %==========================================================
+        %*** Dispersion control MENU ***
+        mh.eta = uimenu('Label','Eta Fit');
+        uimenu(mh.eta,'Label','Load Dispersion Orbit','Callback', ...
+            'readwrite(''DialogBox'',''Load Reference Orbit'',''ReadDispersion'');');
+        uimenu(mh.eta,'Label','Display Dispersion Control Panel','Callback', ...
+            'respgui(''DispersionPanel'')');
+        uimenu(mh.eta,'Label','Display Dispersion Correction','Callback', ...
+            'respgui(''DispersionPlot'')');
+
+        %==========================================================
+    case 'SYSMenu'                               %  SYSMenu
+        %==========================================================
+        %*** SYSTEM MENU ***
+        mh.sys = uimenu('Label','Session');
+        menuh = uimenu(mh.sys,'Label','Mode');
+        SYS.online = uimenu(menuh,'Label','Online','Callback', ...
+            'orbgui(''Switch2online'')');        
+        SYS.sim   = uimenu(menuh,'Label','Simulator','Callback', ...
+            'orbgui(''Switch2sim'')');
+
+        menuh = uimenu(mh.sys,'Label','Do not use this menu', ...
+            'ForegroundColor', 'r', 'Separator','On');
+        uimenu(menuh,'Label','Save Program Parameters','Callback', ...
+            'readwrite(''DialogBox'',''Save System Parameters'',''SaveSystem'');');
+        uimenu(menuh,'Label','Restore Program Parameters','Callback', ...
+            'readwrite(''DialogBox'',''Restore System Parameters'',''RestoreSystem'')');
+        
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'Switch2online'                         %  Switch2online
+        %==========================================================
+                
+        if strcmpi(SYS.mode,'Simulator') % was Simulator turned Online
+            set(SYS.online, 'Checked', 'On');
+            set(SYS.sim,    'Checked', 'Off');
+            set(SYS.orbfig,'Name', ...
+                'SOLEIL Storage Ring Orbit Correction Interface (Online)');
+            set(SYS.modecolor,'BackGroundColor','r','String','Online');
+            orbgui('LBox','Warning: switched to online');
+            SYS.mode = 'Online';
+            setappdata(0,'SYS',SYS);
+        end
+
+        %==========================================================
+    case 'Switch2sim'                         %  Switch2sim
+        %==========================================================
+        
+        if strcmpi(SYS.mode,'Online')
+            set(SYS.online, 'Checked', 'Off');
+            set(SYS.sim,    'Checked', 'On');
+            set(SYS.orbfig,'Name', ...
+                'SOLEIL Storage Ring Orbit Correction Interface (Simulator)');
+            set(SYS.modecolor,'BackGroundColor','g','String','Simulator');
+            orbgui('LBox','Warning: switched to simulator');
+            SYS.mode = 'Simulator';
+            setappdata(0,'SYS',SYS);
+        end
+
+        %==========================================================
+    case 'OptMenu'                               %  OptMenu
+        %==========================================================
+        %*** OPTICS MENU ***
+        mh.opt = uimenu('Label','Optics');
+        uimenu(mh.opt,'Label','Display Optics Parameters','Callback',...
+            'orbgui(''DisplayOptics'')');
+        if ispc
+            uimenu(mh.opt,'Label','Display Optics Parameters in EXCEL', ...
+                'Callback','orbgui(''DisplayOpticsEXCEL'')');
+        end
+        uimenu(mh.opt,'Label','Plot Betafunctions','Callback', ...
+            'orbgui(''PlotBetaFunctions'')');
+        uimenu(mh.opt,'Label','Plot Ring Elements','Callback', ...
+            'orbgui(''PlotRingElements'')');
+
+        %==========================================================
+    case 'SimMenu'                               %  SimMenu
+        %==========================================================
+        % %*** SIMULATION MENU ***
+        mh.sim = uimenu('Label','Simulator');
+        uimenu(mh.sim,'Label','New Quad Alignment (both plane)', ...
+            'Callback', 'orbgui(''QuadOffset'')');
+        uimenu(mh.sim,'Label','Make New Reference Orbit (this plane)', ...
+            'Callback','orbgui(''MakeNewRef'')');
+        uimenu(mh.sim,'Label','Quad alignment to zero (both planes)', ...
+            'Callback','orbgui(''Quad2Zero'')');
+        uimenu(mh.sim,'Label','Update Optics (LinOpt)', ...
+            'Callback','orbgui(''UpdateOptics'')','Separator','on');
+        t   = getphysdata;   
+        str = sprintf('Fit Tunes to %3.2f/%3.2f',t.TUNE.Golden(1),t.TUNE.Golden(2));
+        uimenu(mh.sim,'Label',str,'Callback','orbgui(''SetTune'')');
+
+        %==========================================================
+    case 'Cor2Zero'                             %...Quad2Zero
+        %==========================================================
+        %Callback of Simulator/'Corrector Strengths to Zero'
+
+        %set correctors to zero
+        if plane == 1
+            setsp(HCORFamily,0.0,SYS.mode);   %only sets correctors with valid status
+        elseif plane == 2
+            setsp(VCORFamily,0.0,SYS.mode);
+        end
+
+        bpmgui('GetAct');
+        corgui('GetAct');
+        orbgui('RefreshOrbGUI');
+
+        %==========================================================
+    case 'Quad2Zero'                             %...Quad2Zero
+        %==========================================================
+        %Callback of Simulator/'Quadrupole Strenths to Zero'
+
+        %set quadrupole offsets to zero
+        quadalign(0.0,0.0);
+        bpmgui('GetAct');
+        corgui('GetAct');
+        orbgui('RefreshOrbGUI');
+
+        %==========================================================
+    case 'QuadOffset'                            %...QuadOffset
+        %==========================================================
+        %Callback of Simulator/'New Quad Alignment'
+
+        %apply quadrupole offsets
+        quadalign(0.0001,0.0001);  %units are meters
+        bpmgui('GetAct');
+        corgui('GetAct');
+        orbgui('RefreshOrbGUI')
+
+        %==========================================================
+    case 'MakeNewRef'                            %...MakeNewRef
+        %==========================================================
+        %callback of Simulation 'Make New Reference Orbit'
+
+        %record present quad positions for reset
+
+        AO = getappdata(0,'AcceleratorObjects');
+
+        ATindx = [] ;
+        
+        aofields = fieldnames(AO);
+        
+        %% look for quads in lattice
+        for ii = 1:length(aofields)
+            if strcmpi(AO.(aofields{ii}).FamilyType,'quad')
+                ATindx = [AO.(aofields{ii}).AT.ATIndex];
+            end
+        end
+        
+        ATindx = unique(ATindx)';
+
+        mx0 = getcellstruct(THERING,'T1',ATindx,1);
+        my0 = getcellstruct(THERING,'T1',ATindx,3);
+
+        %set quads to zero
+        quadalign(0.0,0.0);  %units are meters
+
+        %produce a new random orbit
+        quadalign(0.00001,0.00001);  %units are meters, 10 um rms
+
+        %load new reference orbit
+        bpmgui('GetRef');
+        BPM(1).des = BPM(1).ref;
+        BPM(1).abs = BPM(1).ref;
+        BPM(2).des = BPM(2).ref;
+        BPM(2).abs = BPM(2).ref;
+
+        if SYS.relative == 1    %Absolute orbit mode
+            BPM(1).abs = zeros(size(BPM(1).name,1),1);
+            BPM(2).abs = zeros(size(BPM(2).name,1),1);
+        end
+
+        setappdata(0,'BPM',BPM);
+
+        %put quads back to original position
+        setshift(ATindx,-mx0,-my0);
+
+        bpmgui('GetAct');
+        corgui('GetAct');
+        orbgui('RefreshOrbGUI');
+
+        %==========================================================
+    case 'PlotAlign'                            %...PlotAlign
+        %==========================================================
+        %update graphics after alignments changed
+        bpmgui('GetRef');
+        BPM(1).des = BPM(1).ref;
+        BPM(1).abs = BPM(1).ref;
+        BPM(2).des = BPM(2).ref;
+        BPM(2).abs = BPM(2).ref;
+
+        if SYS.relative == 1
+            BPM(1).abs = zeros(size(BPM(1).name,1),1);
+            BPM(2).abs = zeros(size(BPM(2).name,1),1);
+        end
+
+        setappdata(0,'BPM',BPM);
+
+        orbgui('RefreshOrbGUI');
+
+        %==========================================================
+    case 'SetTune'                    %...SetTune
+        %==========================================================
+        %set tune back to nominal values
+        t = getphysdata;
+        
+        TuneFitFamily1 = 'Q7';
+        TuneFitFamily2 = 'Q9';
+        
+        fittune2([t.TUNE.Golden(1),t.TUNE.Golden(2)], TuneFitFamily1, TuneFitFamily2);
+        
+        bpmgui('UpdateAct');
+
+        %==========================================================
+    case 'UpdateOptics'                    %...UpdateOptics
+        %==========================================================
+        %recompute linear optics
+        [LinData, Nu, Ksi] = linopt(THERING ,0.0, 1:length(THERING));
+        disp(['Nux: ' num2str(Nu(1)) '       Nuz: ' num2str(Nu(2))])
+
+        %==========================================================
+    case 'DisplayOpticsEXCEL'            %...DisplayOpticsEXCEL
+        %==========================================================
+        ring2excel
+
+        %==========================================================
+    case 'DisplayOptics'                      %...DisplayOptics
+        %==========================================================
+        %Display Optics to command window
+        NR = length(THERING);
+        orbgui('LBox','Calculating Accelerator Optics...');
+        optics = gettwiss(THERING,0.0);
+        orbit  = findorbit4(THERING,0.0,1:NR);
+        orbgui('LBox','Begin Writing Twiss Parameters');
+ 
+        ivec = (1:NR)';        
+        Strcell = cell(18,NR);
+        Strcell(1,:) = num2cell(ivec);
+        Strcell(2,:) = cellstr(optics.name)';
+        Strcell(3:end,:) = num2cell([optics.len,optics.s, ...
+            optics.betax,optics.alfax, optics.phix, optics.etax, optics.etapx, ...
+            optics.betay,optics.alfay, optics.phiy, optics.etay, optics.etapy, ...
+            orbit(1,:)',orbit(2,:)',orbit(3,:)',orbit(4,:)'])';
+
+        filename = [SYS.localdata 'twissdata.txt'];
+        fid = fopen(filename,'w');
+        fprintf(fid,[' index   name  length   s     betx   alfx   phix' ...
+            'etax   etaxp  betz   alfz   phiz   etaz   etazp    x' ...
+            '      xp     z      zp\n']);
+        fprintf(fid,['%4d %8s %6.2f %6.2f %6.2f %6.2f %6.2f % 6.2f %' ...
+            '6.2f %6.2f %6.2f %6.2f % 6.2f % 6.2f %6.2f %6.2f %6.2f ' ...
+            '%6.2f\n'],...
+            Strcell{:});
+        fclose(fid);
+        system(['nedit ', filename, ' &']);  % much faster
+        
+%         for ii = 1:NR
+%             name = optics.name(ii,:);
+%             len  = optics.len(ii);
+%             s    = optics.s(ii);
+%             betx = optics.betax(ii);
+%             alfx = optics.alfax(ii);
+%             phix = optics.phix(ii);
+%             etax = optics.etax(ii);
+%             etapx= optics.etapx(ii);
+% 
+%             bety = optics.betay(ii);
+%             alfy = optics.alfay(ii);
+%             phiy = optics.phiy(ii);
+%             etay = optics.etay(ii);
+%             etapy= optics.etapy(ii);
+% 
+%             x = orbit(1,ii);  xp = orbit(2,ii);
+%             y = orbit(3,ii);  yp = orbit(4,ii);
+% 
+%             fprintf('%6d %8s %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f %6.2f\n',...
+%                 ii,name,s,len,betx,alfx,phix,etax,etapx,bety,alfy,phiy,etay,etapy,x,xp,y,yp)
+%             %     'one',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
+%         end
+%         disp(['Horizontal Tune ' num2str(phix) 'Vertical Tune ' num2str(phiy)])
+        orbgui('LBox','Finished Writing Twiss Parameters');
+
+        %==========================================================
+    case 'PlotBetaFunctions'               % PlotBetaFunctions
+        %==========================================================
+        %plot betafunctions
+        figure;
+        plotbeta;
+
+        %==========================================================
+    case 'PlotRingElements'                % PlotRingElements
+        %==========================================================
+        %call intlat
+        intlat;
+
+        %==========================================================
+    case 'RespMenu'                               %  RespMenu
+        %==========================================================
+        %response matrix
+        mh.rsp = uimenu('Label','R-Matrix');
+        uimenu(mh.rsp,'Label','Read Response Matrix','Callback', ...
+            'readwrite(''ReadResponse'')');
+
+        % COULD BE NOT LATER
+%         uimenu(mh.rsp,'Label','Write Response Matrix', ...
+%             'Callback','readwrite(''DialogBox'',''Write Response Matrix'',''WriteResponse'')');
+
+%         uimenu(mh.rsp,'Label','    ');
+        SYS.showeig  = uimenu(mh.rsp,'Label','Show Eigenvectors', ...
+            'UserData',0,'Callback','corgui(''ShowEig'')','Separator','on');
+        SYS.showresp = uimenu(mh.rsp,'Label','Show Response', ...
+            'UserData',0,'Callback','corgui(''ShowResp'')');
+
+%         uimenu(mh.rsp,'Label','    ');
+        %Select corrector currents for horizontal response to eBPMs
+%         cback = ['rload(''GenFig'', COR(1).name,COR(1).status,COR(1).ifit,COR(1).ebpm,'];
+%         cback = [cback '''Horizontal Correctors to Electron BPMs'',''hbpm'');'];
+%         %instructions are used during 'load' procedure of rload window
+%         instructions = [...
+%             '   global COR;',...
+%             '   tlist = get(gcf,''UserData'');',...
+%             '   COR(1).ebpm=tlist{4};',...
+%             '   setappdata(0,''COR'',COR);'];
+%         uimenu(mh.rsp,'Label','Select X-Corrector Strengths (BPM)',...
+%             'Callback',cback,...
+%             'Tag','hbpm',...
+%             'Userdata',instructions,'Separator','on');
+
+%         %Measure Horizontal
+%         uimenu(mh.rsp,'Label','Measure Horizontal to BPMs (all valid correctors)',...
+%             'Callback','corgui(''MeasureXResp'')');
+        %==============
+        %VERTICAL PLANE
+        %==============
+%         uimenu(mh.rsp,'Label','    ');
+        %Select corrector currents for vertical response to eBPMs
+%         cback = ['rload(''GenFig'', COR(2).name,COR(2).status,COR(2).ifit,COR(2).ebpm,'];
+%         cback = [cback '''Vertical Correctors to Electron BPMs'',''vbpm'');'];
+%         instructions = [...
+%             '   global COR;',...
+%             '   tlist = get(gcf,''UserData'');',...
+%             '   COR(2).ebpm=tlist{4};',...
+%             '   setappdata(0,''COR'',COR);'];
+%         uimenu(mh.rsp,'Label','Select Z-corrector Strengths (BPM)',...
+%             'Callback',cback,...
+%             'Tag','vbpm',...
+%             'Userdata',instructions,'Separator','on');
+%         %Measure Vertical
+%         uimenu(mh.rsp,'Label','Measure Vertical to BPMs (all valid correctors)',...
+%             'Callback','corgui(''MeasureYResp'')');
+
+        %==========================================================
+    case 'UIControls'                           %  UIControls
+        %==========================================================
+        %pushbuttons located above main orbit display
+        %other pushbuttons in routines OrbBox, CorBox
+
+        [screen_wide, screen_high]=screensizecm;
+
+        x0=0.047*screen_wide; y0=0.7318*screen_high; dx=0.74*screen_wide; dy=0.06378*screen_high;
+        SYS.display = uicontrol('Style','frame',...
+            'units', 'centimeters', ...
+            'Position',[x0 y0 dx dy]);            %main frame
+
+        x0=0.057*screen_wide; y0=0.739*screen_high; dx=0.117*screen_wide; dy=0.021*screen_high;
+        dely=0.03*screen_high;   delx=0.15*screen_wide;
+
+        uicontrol('Style','pushbutton',...
+            'Units', 'centimeters', ...
+            'Position', [x0+0*delx y0+1*dely dx dy], ...
+            'String','Update Display','FontSize',9,'FontWeight','demi',...
+            'ToolTipString','Update Measured Orbit (blue line)',...
+            'Callback','bpmgui(''UpdateAct'')');     %Update Orbit
+        uicontrol('Style','pushbutton',...
+            'units', 'centimeters', ...
+            'Position', [x0+0*delx y0+0*dely dx dy], ...
+            'String','Update Reference','FontSize',9,'FontWeight','demi',...
+            'ToolTipString','Update Reference Orbit, both planes (red line)',...
+            'Callback','bpmgui(''UpdateRef'')');        %Update Reference Orbit
+
+        if plane == 1, val=1; else val=0; end
+        SYS.xplane=uicontrol('Style','checkbox',...
+            'Units', 'centimeters', ...
+            'Position', [0.25*screen_wide y0+1*dely 0.08*screen_wide dy], ...
+            'String','Horizontal','Value',val,...
+            'FontSize',9,'FontWeight','demi',...
+            'ToolTipString','Horizontal Display and Control',...
+            'Callback','orbgui(''Plane'')');  %Toggle Plane-Horizontal
+
+        if plane == 2, val=1; else val=0; end
+        SYS.yplane=uicontrol('Style','checkbox',...
+            'Units', 'centimeters', ...
+            'Position', [0.32*screen_wide y0+1*dely 0.08*screen_wide dy], ...
+            'String','Vertical','Value',val,...
+            'FontSize',9,'FontWeight','demi',...
+            'ToolTipString','Vertical Display and Control',...
+            'Callback','orbgui(''Plane'')');  %Toggle Plane-Vertical
+
+        if SYS.relative==1, val=1; else val=0; end
+        SYS.abs=uicontrol('Style','checkbox','units', 'centimeters', ...
+            'Position', [0.25*screen_wide y0+0*dely 0.06*screen_wide dy], ...
+            'String','Absolute','FontSize',9,'FontWeight','demi','Value',val,...
+            'ToolTipString','Absolute BPM Display',...
+            'Callback','orbgui(''Relative'')');   %Relative/Absolute-Absolute
+
+        if SYS.relative==2, val=1; else val=0; end
+        SYS.rel=uicontrol('Style','checkbox','units', 'centimeters', ...
+            'Position', [0.32*screen_wide y0+0*dely 0.06*screen_wide dy], ...
+            'String','Relative','FontSize',9,'FontWeight','demi','Value',val,...
+            'ToolTipString','Relative BPM Display',...
+            'Callback','orbgui(''Relative'')');   %Relative/Absolute-Relative
+
+        uicontrol('Style','pushbutton',...
+            'units', 'centimeters','ForeGroundColor','k',...
+            'Position', [0.41*screen_wide 0.09*screen_high 0.45*dx dy], ...
+            'String','Apply',...
+            'ToolTipString','Apply Correction: Blue Dash Line = Predicted Orbit',...
+            'FontSize',9,'FontWeight','demi',...
+            'Callback','corgui(''ApplyCorrection'');');                  %Apply Correction
+
+        uicontrol('Style','pushbutton',...
+            'units', 'centimeters','ForeGroundColor','k',...
+            'Position', [0.47*screen_wide 0.09*screen_high 0.45*dx dy], ...
+            'String','Remove',...
+            'ToolTipString','Remove Previous Corrector Solution',...
+            'FontSize',9,'FontWeight','demi',...
+            'Callback','corgui(''RemoveCorrection'');');                 %Remove Correction
+
+        uicontrol('Style','pushbutton',...
+            'units', 'centimeters','ForeGroundColor','k',...
+            'Position', [0.41*screen_wide 0.06*screen_high 0.97*dx dy], ...
+            'String','Refresh Fit',...
+            'ToolTipString','Acquire Orbit, Correctors, Fit, Refresh all Plots & Fields',...
+            'FontSize',9,'FontWeight','demi',...
+            'Callback','orbgui(''RefreshOrbGUI'');');                    %Refresh Fit
+
+        uicontrol('Style','pushbutton',...
+            'units', 'centimeters', ...
+            'Position', [x0+4*delx+0.53*dx        y0+1*dely 0.47*dx dy], ...
+            'ForeGroundColor','k','String','Save',...
+            'FontSize',9,'FontWeight','demi',...
+            'ToolTipString','Save Set - Use to Save Present Working Parameters',...
+            'Callback','orbgui(''SaveSet'');');      %SaveSet
+
+        uicontrol('Style','pushbutton',...
+            'units', 'centimeters', ...
+            'Position', [x0+4*delx+0.53*dx        y0+0*dely 0.47*dx dy], ...
+            'ForeGroundColor','k','String','Restore',...
+            'FontSize',9,'FontWeight','demi',...
+            'ToolTipString','Restore System to Save Set Parameters',...
+            'Callback','orbgui(''RestoreSaveSet'');');     %RestoreSaveSet
+
+        %% Scaling of the BPMs
+            
+        x0=0.788*screen_wide; dx=0.015*screen_wide; dy=0.031*screen_high; y0=0.583*screen_high;
+        SYS.BPMScale=uicontrol('Style','slider','Units','centimeters',...
+            'Position',[x0 y0 dx dy],'Callback','orbgui(''ScaleBPMAxis'');',...
+            'Max',1,'Min',-1,'SliderStep',[5e-1 2e-1],'Value',0);
+
+        SYS.BPMAutoScale=uicontrol('Style','pushbutton', ...
+            'Units','centimeters',...
+            'Position',[x0 y0 - 1.5  dx dy], ...
+            'ForeGroundColor','k','String','A',...
+            'FontSize',9,'FontWeight','demi',...
+            'ToolTipString','Autoscales BPM axis',...
+            'Callback','orbgui(''AutoScaleBPMAxis'');');  %autoscale
+            
+
+        %% Scaling of the correctors
+        
+        y0=0.355*screen_high;
+        SYS.CORScale=uicontrol('Style','slider','Units','centimeters',...
+            'Position',[x0 y0 dx dy],'Callback','orbgui(''ScaleCORAxis'');',...
+            'Max',1,'Min',-1,'SliderStep',[5e-1 5e-1],'Value',0);
+
+        SYS.BPMAutoScale=uicontrol('Style','pushbutton', ...
+            'Units','centimeters',...
+            'Position',[x0 y0 - 1.5  dx dy], ...
+            'ForeGroundColor','k','String','A',...
+            'FontSize',9,'FontWeight','demi',...
+            'ToolTipString','Autoscales Corrector axis',...
+            'Callback','orbgui(''AutoScaleCorrAxis'');');  %autoscale
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'BPMbox'                               %  BPMbox
+        %==========================================================
+        %BPM Dialog Box
+        %located at bottom of main frame
+        [screen_wide, screen_high]=screensizecm;
+
+        x0=0.013*screen_wide; dx=0.1640*screen_wide; y0=0.0158*screen_high; dy=0.17*screen_high;
+        uicontrol('Style','frame','units', 'centimeters','Position',[x0 y0 dx dy]);     %main frame
+
+        %Static BPM text fields (labels)
+%         dx2=0.0888*screen_wide; 
+        dy2=0.017*screen_high; dely=0.0175*screen_high;
+
+        x0=0.7*screen_wide; dx=0.085*screen_wide; y0=0.705*screen_high;
+        
+        uicontrol('Style','Frame','Units','centimeters','Position', ...
+            [x0-0.05 y0-0.05 dx+0.075 dy2+0.075]);  %frame around toggle
+
+        SYS.togglebpm=uicontrol('Style','checkbox',...
+            'units', 'centimeters', ...
+            'Position',[x0 y0 dx dy2],...
+            'String','Toggle BPMs',...
+            'ToolTipString','Toggle BPMs between fit (green) and no-fit (yellow)',...
+            'Callback','bpmgui(''ToggleMode'')');     %Radio BPM: Toggle Mode
+
+        uicontrol('Style','Frame','Units','centimeters','Position', ...
+            [x0-1.5*dx-0.05 y0-0.05 dx+0.075 dy2+0.075]);  %frame around drag
+
+        SYS.dragbpm=uicontrol('Style','checkbox',...
+            'units', 'centimeters', ...
+            'Position', [x0 - 1.5*dx  y0 dx dy2], ...
+            'String','Drag BPMs',...
+            'ToolTipString','Enable BPMs for interactive drag',...
+            'Callback','bpmgui(''DragMode'')');      %Radio BPM: Drag Mode
+
+
+        x0=0.01856*screen_wide; dx=0.0576*screen_wide; y0=0.0247*screen_high; dy=0.01562*screen_high;
+        uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+1.7*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','BPM weight',...
+            'String','Weight:');
+
+        uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+2.7*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Predicted Orbit (blue dash line value at BPM site)',...
+            'String','Prediction:');
+
+        uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+3.7*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Requested orbit (BPM icon value at BPM site)',...
+            'String','Desired:');
+
+        uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+4.7*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Offset from BPM icon to red line at BPM site',...
+            'String','Offset:');
+
+        uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+6*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Reference orbit (red line value at BPM site)',...
+            'String','Reference:');
+
+        uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+7*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Measured orbit (blue line value at BPM site)',...
+            'String','Measured:');
+
+        uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+8*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Selected BPM name',...
+            'String','BPM Name:');
+
+        %Dynamic BPM text fields (data)
+        x0 = 0.09647*screen_wide; dx=0.075*screen_wide; %0.065
+        y0 = 0.0247*screen_high; dy=0.0156*screen_high;
+%         dx2 = 0.00037*screen_wide; 
+        dely=0.0175*screen_high;
+
+        SYS.bpmmeas =uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+2.7*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %BPMmeas
+
+        SYS.bpmdes=uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+3.7*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %BPMdes
+
+        %offset edit box
+        SYS.bpmedit=uicontrol('Style','edit',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+4.7*dely dx 1.2*dy],...
+            'FontName','times','FontSize',8,...
+            'Callback','bpmgui(''EditDesOrb'')',...
+            'String','');                 %EditDesOrb
+
+        SYS.editbpmweight=uicontrol('Style','edit',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+1.7*dely dx 1.2*dy],...
+            'FontName','times','FontSize',8,...
+            'Callback','bpmgui(''EditBPMWeight'')',...
+            'String','');                 %EditBPMWeight
+
+        SYS.bpmref=uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+6*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %BPMref
+
+
+        SYS.bpmact=uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+7*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %BPMact
+
+        SYS.bpmname=uicontrol('Style','text',...
+            'units', 'centimeters',...
+            'Position',[x0 y0+8*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %bpmname
+
+        %RMS Display
+        x0=0.1*screen_wide; dx=0.035*screen_wide; y0=0.705*screen_high; dy=0.0175*screen_high;
+
+        uicontrol('Style','frame','Units','centimeters','Position', ...
+            [x0-0.025 y0-0.025 2.2*dx+0.05 dy+0.05]); %frame around RMS
+
+        uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0 dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','RMS deviation of actual orbit from desired orbit',...
+            'String',' rms:');  %Display RMS static
+
+        x0 = 0.135*screen_wide; dx = 0.04*screen_wide;
+        SYS.bpmrms = uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0 dx dy],...
+            'String','');       %RMS dynamic
+
+        x0=0.23*screen_wide; dx=0.035*screen_wide; y0=0.705*screen_high; dy=0.0175*screen_high;
+
+        uicontrol('Style','frame','Units','centimeters','Position', ...
+            [x0-0.025 y0-0.025 2.4*dx+0.05 dy+0.05]); %frame around mean
+
+        uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0 dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Mean deviation of actual orbit from desired orbit',...
+            'String',' mean:');    %Display mean static
+
+        x0 = 0.27*screen_wide; dx = 0.04*screen_wide;
+        SYS.bpmmean = uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0 dx dy],...
+            'String',''); %mean dynamic
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'CorBox'                      % *** CorrectBox ***
+        %==========================================================
+        %frame for corrector uicontrols
+        %located at bottom of main frame
+        [screen_wide, screen_high]=screensizecm;
+
+        x0 = 0.2*screen_wide; dx=0.1650*screen_wide; 
+        y0=0.016*screen_high; dy=0.17*screen_high;
+        uicontrol('Style','frame','Units','centimeters','Position',[x0 y0 dx dy]);  %main frame
+
+        %Static Corrector text fields (labels)
+        x0=0.21*screen_wide;
+        dx=0.06*screen_wide; y0=0.025*screen_high; dy=0.015*screen_high;
+        dx2=0.1*screen_wide; dely=0.0175*screen_high;
+        %dy2=0.017*screen_high;
+
+        %% Construction from bottom to up
+        uicontrol('Style','pushbutton',...	            %Restore Correctors
+            'Units','centimeters',...
+            'Position',[1.2*x0 y0+0*dely dx2 dy],...
+            'ForeGroundColor','k',...
+            'String','Restore Correctors',...
+            'ToolTipString','Restore corrector strengths in active plane',...
+            'Callback','corgui(''RestoreCors'');');   %Restore Correctors
+
+        uicontrol('Style','pushbutton',...	           %Save Correctors
+            'Units','centimeters',...
+            'Position',[1.2*x0 y0+1.0*dely dx2 dy],...
+            'ForeGroundColor','k',...
+            'String','Save Correctors',...
+            'ToolTipString','Save corrector strengths in active plane',...
+            'Callback','corgui(''SaveCors'',SYS.plane);');   %save correctors for bump generation and restore
+
+       %display rf offset
+        SYS.rftoggle = uicontrol('Style','radio',...
+            'units', 'centimeters', ...
+            'Position', [x0-dy*0.5 y0+dely 0.6*dx 1.2*dy], ...
+            'Callback','respgui(''RFToggle'')','Value',0,...
+            'ToolTipString','Toggle fitting for RF orbit component', ...
+            'String','RF');
+        
+%         uicontrol('Style','pushbutton',...	            %MakeOrbitSlider
+%             'Units','centimeters',...
+%             'Position',[1.1*x0 y0+0.4*dely dx2 dy],...
+%             'ForeGroundColor','k',...
+%             'String','Make Slider',...
+%             'ToolTipString','Create Orbit Slider/Save File to Disk',...
+%             'Callback','corgui(''MakeOrbitSlider'');'); %MakeOrbitSlider
+        
+        uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0+2*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','RF value updated if RF correction',...
+            'String','rf (MHz):');
+
+        uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0+3*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','RF shift if correction',...
+            'String','drf (MHz):');
+
+        uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0+4*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Requested corrector strength (red bar at corrector site)',...
+            'String','Desired:');
+
+        uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0+5*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Incremental corrector strength (red bar - green bar)',...
+            'String','Fit Increment:');
+
+        uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0+6*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Saved corrector value',...
+            'String','Reference:');
+
+        uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0+7*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Measured corrector value (green/yellow bar at corrector site)',...
+            'String','Measured:');
+
+       uicontrol('Style','text',...
+            'Units','centimeters',...
+            'Position',[x0 y0+8*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Selected corrector name',...
+            'String','Corr Name:');
+         
+
+        %Dynamic corrector text fields (data)
+        x0=0.28*screen_wide; dx=0.075*screen_wide; %0.065
+
+        SYS.hrf=uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+2*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %CORreq
+
+        SYS.hdrf=uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+3*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %CORreq
+
+        SYS.correq=uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+4*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %CORreq
+
+        SYS.coroffset=uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+5*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %CORoffset
+
+        SYS.corref=uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+6*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %CORref
+
+        SYS.coract=uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+7*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');                 %CORact
+
+        SYS.corname=uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+8*dely dx dy],...
+            'BackGroundColor',[0.77 0.91 1.00],...
+            'String','');               %CORname
+
+        x0=0.7*screen_wide; dx=0.07*screen_wide; y0=0.445*screen_high; dy=0.0175*screen_high;
+        uicontrol('Style','Frame','Units','centimeters','Position', ...
+            [x0-0.05 y0-0.05 dx+0.075 dy+0.075]);  %frame
+
+        SYS.togglecor=uicontrol('Style','checkbox','units', 'centimeters','Position', [x0 y0 dx dy],...
+            'String','Toggle Corrs',...
+            'ToolTipString','Toggle correctors for fit (green)/nofit (yellow)',...
+            'Callback','corgui(''ToggleCor'')');        %Radio Corr: Toggle
+
+
+        %RMS Display
+        x0=0.055*screen_wide; dx=0.035*screen_wide;
+        uicontrol('Style','frame','Units','centimeters','Position', ...
+            [x0-0.025 y0-0.025 2.2*dx+0.05 dy+0.05]); %frame around RMS
+
+        uicontrol('Style','text','Units','centimeters','Position',[x0 y0 dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','RMS value of correctors used for fit',...
+            'String',' rms:');                          %rms static
+
+        SYS.corrms = uicontrol('Style','text','units','centimeters', ...
+            'Position',[x0+dx y0 dx dy],'String','');   %rms dynamic
+
+        %Mean Display
+        x0=0.16*screen_wide; dx=0.035*screen_wide;
+        uicontrol('Style','frame','Units','centimeters','Position', ...
+            [x0-0.025 y0-0.025 2.4*dx+0.05 dy+0.05]); %frame around mean
+
+        uicontrol('Style','text','Units','centimeters','Position',[x0 y0 dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','RMS value of correctors used for fit',...
+            'String',' mean:');                          %mean static
+
+        SYS.cormean = uicontrol('Style','text','units','centimeters', ...
+            'Position',[x0+dx y0 dx dy],'String','');   %mean dynamic
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'SVDBox'                               %  SVDBox
+        %==========================================================
+        %SVD Dialog Box
+        %located at bottom of main frame
+        [screen_wide, screen_high] = screensizecm;
+
+        x0=0.385*screen_wide; dx=0.16*screen_wide; 
+        y0=0.0158*screen_high; dy=0.17*screen_high;
+
+        uicontrol('Style','frame','Units','centimeters','Position',[x0 y0 dx dy]);     %main frame
+
+        x0=0.39*screen_wide; dx=0.09375*screen_wide; 
+        y0=0.018*screen_high; dy=0.02*screen_high;
+%         dy2=0.022*screen_high; 
+        dely=0.02353*screen_high;
+
+        uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+6*dely dx dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Choose number of singular values for fit',...
+            'String','# Singular Values:');
+
+        uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[x0 y0+5*dely dx*1.2 dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Fractional multiplier applied to all correctors (but not shown in fit)',...
+            'String','Fraction of Correction:');
+
+
+        x0 = 0.50*screen_wide; dx=0.032*screen_wide;
+        default_nsvd = 56;
+        % Edit box for number of singular values
+        SYS.svdedit = uicontrol('Style','edit',...
+            'Units','centimeters',...
+            'Position',[x0+dx/2 y0+6*dely dx/1.5 dy],...
+            'Callback','respgui(''SVDEdit'');',...
+            'String',num2str(default_nsvd));   %default to one singular value
+
+        %Slider for number of singlar values  see %matlab help/slider
+%         SYS.svdslide=uicontrol('Style','slider',...
+%             'Units','centimeters',...
+%             'Position',[x0-dx/2 y0+6*dely dx/1.2 dy],...
+%             'Callback','respgui(''SVDSlider'');',...
+%             'Max',default_nsvd,'Min',1,...
+%             'SliderStep',[1/(default_nsvd-1),1/(default_nsvd-1)],...
+%             'Value',round(default_nsvd/2));
+
+        %Edit box for fraction of correction
+        SYS.fract=uicontrol('Style','edit',...
+            'Units','centimeters',...
+            'Position',[x0+dx/2 y0+5*dely dx/1.5 dy],...
+            'Callback','corgui(''Fract'');',...
+            'String',num2str(1));
+
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'KnobBox'                               %  KnobBox
+        %==========================================================
+
+        [screen_wide, screen_high]=screensizecm;
+
+        x0=0.4170*screen_wide; y0=0.006*screen_high;
+        dy=0.021*screen_high; dely=0.02353*screen_high;
+
+        dx=0.14*screen_wide;
+        SYS.addignknob=uicontrol('Style','pushbutton',...
+            'Units','centimeters',...
+            'Position',[x0 y0+3*dely dx dy],...
+            'ForeGroundColor','k',...
+            'String','Assign Knob',...
+            'ToolTipString','Save knob corrector strengths in active plane',...
+            'Callback','corgui(''AssignKnob'');');   %Assign Knob
+
+        uicontrol('Style','text',...
+            'units','centimeters',...
+            'Position',[1.03*x0 y0+1.8*dely dx/2 dy],...
+            'HorizontalAlignment','left',...
+            'ToolTipString','Edit corrector knob strength',...
+            'String','Knob Amplitude:');
+
+        SYS.knobedit=uicontrol('Style','edit',...
+            'Units','centimeters',...
+            'Position',[1.25*x0 y0+1.9*dely dx/5 dy],...
+            'Callback','corgui(''KnobEdit'');',...
+            'String',num2str(0));
+
+        setappdata(0,'SYS',SYS);
+
+        %=============================================================
+    case 'Plane'                             % *** Plane ***
+        %=============================================================
+        %Toggle the x/y fitting displays
+        corgui('HidePlots');        %Note: separate handles for corrector icons in each plane
+        %hide existing icons before switching planes (visible/off)
+
+        if  get(SYS.xplane,'Value')==0 && SYS.plane==1     %was in horizontal mode, stay in horizontal
+            set(SYS.xplane,'Value',1);
+        elseif get(SYS.yplane,'Value')==0 && SYS.plane==2     %%was in vertical mode, stay in vertical
+            set(SYS.yplane,'Value',1);
+        elseif get(SYS.yplane,'Value')==1 && SYS.plane==1     %%was in horizontal mode, switch to vertical
+            SYS.plane=2;           %horizontal
+            set(SYS.xplane,'Value',0);
+        elseif get(SYS.xplane,'Value')==1 && SYS.plane==2     %%was in vertical mode, switch to horizontal
+            SYS.plane=1;           %horizontal
+            set(SYS.yplane,'Value',0);
+        end
+
+        setappdata(0,'SYS',SYS);
+
+        if RSP(2).rfflag  % disable RF correction for vertical plane
+            respgui('RFToggle');            
+        end
+
+        corgui('ShowPlots');        %visible/on
+        orbgui('RefreshOrbGUI');
+
+        %=============================================================
+    case 'TogglePlane'                       % *** TogglePlane ***
+        %=============================================================
+        %Toggle plane flag
+        SYS.plane=1+mod(SYS.plane,2);
+        setappdata(0,'SYS',SYS);
+
+        %=============================================================
+    case 'RefreshOrbGUI'                   % *** RefreshOrbGUI ***
+        %=============================================================
+
+        respgui('SolveSystem');    %75 ms in simulator
+        respgui('UpdateFit');
+
+        %disp('update fields');    %15 ms in simulator
+        %Set Defaults
+        set(SYS.togglebpm,'Value',0);        %default to display only
+        set(SYS.dragbpm,  'Value',0);        %default to no drag
+        set(SYS.togglecor,'Value',0);        %default to no toggle
+        set(SYS.showresp, 'Checked', 'Off'); %default to no resp display
+        set(SYS.showeig,  'Checked', 'Off'); %default to no eig display
+       
+        %default to no rf orbit subtraction
+        set(SYS.rftoggle, 'Value', 0);
+        set(SYS.hdrf,'String', '0.0');
+        set(SYS.fract,'String', num2str(COR(plane).fract));
+        
+        %re-write text fields
+        if BPM(plane).mode == 1, set(SYS.togglebpm,'Value',1); end;     %toggle
+        if BPM(plane).mode == 2, set(SYS.dragbpm,'Value',1); end;       %drag
+        if COR(plane).mode == 1, set(SYS.togglecor,'Value',1); end;     %toggle
+        if strcmpi(RSP(plane).disp(1:2),'on'), set(SYS.showresp,'Checked', 'on'); end;
+        if strcmpi(RSP(plane).eig(1:2),'on'), set(SYS.showeig, 'Checked', 'on'); end;
+        if RSP(plane).rfflag  == 1 % RF part 
+            set(SYS.rftoggle,'Value',1);
+            set(SYS.hdrf,'String', num2str(SYS.drf)); 
+        end;
+
+        %units for bpm and corrector plot abscissa
+        if strcmp(SYS.xscale,'meter')
+            SYS.xlimax = SYS.maxs;
+        elseif strcmp(SYS.xscale,'phase')
+            SYS.xlimax = SYS.maxphi(plane);
+        end
+
+        setappdata(0,'SYS',SYS);
+
+        %Update BPM Displays (100 ms in simulator)
+        bpmgui('ClearPlots');            %remove eigenvector, response and fit plots
+        if BPM(plane).scalemode == 0     %manual
+            set(SYS.ahbpm,'YLim',[-BPM(plane).ylim,BPM(plane).ylim]);
+        end
+        bpmgui('RePlot');                %ref, des, act, fit, icons, limits, bar
+        bpmgui('UpdateBPMBox');
+
+        %Update Corrector Displays (100 ms in simulator)
+        if COR(plane).scalemode == 0     %manual
+            set(SYS.ahcor,'YLim',[-COR(plane).ylim,COR(plane).ylim]);   end
+        corgui('RePlot');                %clear, actual, fit, bar, limits
+        corgui('UpdateCorBox');
+
+        switch SYS.algo
+            case 'SVD'
+                %Update SVD Displays
+                respgui('PlotSVD');
+                set(SYS.svdedit,'String',num2str(RSP(plane).nsvd));
+
+%                 %slider_step=[arrow_step, trough_step] normalized to range
+%                 if RSP(plane).nsvdmax > 1
+%                     slider_step = [1/(RSP(plane).nsvdmax-1),1/(RSP(plane).nsvdmax-1)];
+%                     set(SYS.svdslide,'Visible','On','Value',RSP(plane).nsvd,'Max',RSP(plane).nsvdmax,'Min',1,'SliderStep',slider_step);
+%                     set(SYS.svdedit,'Value',RSP(plane).nsvd);
+%                 else
+%                     set(SYS.svdslide,'Visible','Off');
+%                 end
+
+        end   %end algo case
+
+        orbgui('UpdateParameters');
+
+        orbgui('LBox',' Finished acquisition and display refresh');
+
+        %=============================================================
+    case 'Relative'                             % *** Relative ***
+        %=============================================================
+        %Toggles orbit display absolute/relative
+        %If reference orbit read from file then subtract
+        %Otherwise reference orbit is zero
+
+        if  get(SYS.abs,'Value') == 0 && SYS.relative == 1     %was in absolute mode, stay in absolute
+            set(SYS.abs,'Value',1);
+        elseif get(SYS.rel,'Value') == 0 && SYS.relative == 2  %was in relative mode, stay in relative
+            set(SYS.rel,'Value',1);
+        elseif get(SYS.rel,'Value') == 1 && SYS.relative == 1  %was in absolute mode, switch to relative
+            SYS.relative = 2;           %relative mode
+            set(SYS.abs,'Value',0);
+            BPM(1).abs = BPM(1).ref;    %BPM.act and BPM.des have BPM.abs subtracted off at plot time
+            BPM(2).abs = BPM(2).ref;
+        elseif get(SYS.abs,'Value') == 1 && SYS.relative == 2  %was in relative mode, switch to absolute
+            SYS.relative = 1;           %absolute mode
+            set(SYS.rel,'Value',0);
+            BPM(1).abs = zeros(size(BPM(1).name,1),1);
+            BPM(2).abs = zeros(size(BPM(2).name,1),1);
+        end
+
+        setappdata(0,'SYS',SYS);
+        setappdata(0,'BPM',BPM);
+
+        bpmgui('RePlot');     %do not replot correctors for relative
+        bpmgui('BPMBar');
+        bpmgui('UpdateBPMBox');
+        
+        %==========================================================
+    case 'Abort'                                % *** Abort ***
+        %==========================================================
+        %callback of corrector menu
+        %in case user aborts response matrix measurement or feedback
+        SYS.abort = 1;
+        setappdata(0,'SYS',SYS);
+
+        %==========================================================
+    case 'ScaleBPMAxis'                  % *** ScaleBPMAxis ***
+        %==========================================================
+        axes(SYS.ahbpm);
+        a = axis;
+        ChangeFactor = 2;
+        
+        if get(SYS.BPMScale,'Value') < 0
+            del = (ChangeFactor-1)*(a(4)-a(3));
+        else
+            del = (1/ChangeFactor-1)*(a(4)-a(3));
+        end
+        axis([a(1) a(2) a(3)-del/2 a(4)+del/2]);
+        set(SYS.BPMScale, 'Value', 0);
+
+        BPM(plane).ylim = a(4)+del/2;
+        setappdata(0,'BPM',BPM);
+
+        %rescale BPMBar
+        yd = [-BPM(plane).ylim/4,BPM(plane).ylim/4];
+        set(SYS.lhbid,'YData',yd);
+
+        %==========================================================
+    case 'AutoScaleBPMAxis'   %  Autoscale BPMaxis
+        %==========================================================
+        
+        % switchoff black cross
+        set(SYS.lhbid,'XData',[],'YData',[]);
+        
+        % Auto-scale y-axis of BPM plot
+        val0 = axis(SYS.ahbpm);
+        axis(SYS.ahbpm, 'tight');
+        val  = axis(SYS.ahbpm);
+        BPM(plane).ylim = max(abs(val(3:4)))*1.2;
+        axis(SYS.ahbpm, [val0(1:2) BPM(plane).ylim*[-1 1]]);
+        setappdata(0,'BPM',BPM);
+        
+        % Set back black cross in the BPM window
+        bpmgui('BPMBar');
+        
+        %==================================================================
+    case 'AutoScaleCorrAxis'                  % *** AutoScaleCORAxis ***
+        %==================================================================
+        
+        % switchoff black cross
+        set(SYS.lhcid,'XData',[],'YData',[]);
+       
+        % Auto-scale y-axis of COR plot
+        val0 = axis(SYS.ahcor);
+        axis(SYS.ahcor, 'tight');
+        val  = axis(SYS.ahcor);
+        COR(plane).ylim = max(abs(val(3:4)))*1.2;
+        axis(SYS.ahcor, [val0(1:2) COR(plane).ylim*[-1 1]]);
+        setappdata(0,'COR',COR);
+         
+        % Set back black cross in the BPM window
+        corgui('CorBar');
+       
+        %==========================================================
+    case 'ScaleCORAxis'                  % *** ScaleCORAxis ***
+        %==========================================================
+        axes(SYS.ahcor);
+        a = axis;
+        ChangeFactor = 2;
+        
+        if get(SYS.CORScale,'Value') < 0
+            del = (ChangeFactor-1)*(a(4)-a(3));
+        else
+            del = (1/ChangeFactor-1)*(a(4)-a(3));
+        end
+        
+        axis([a(1) a(2) a(3)-del/2 a(4)+del/2]);
+        set(SYS.CORScale, 'Value', 0);
+
+        COR(plane).ylim = a(4)+del/2;
+        setappdata(0,'COR',COR);
+
+        %rescale CORBar
+        yd = [-COR(plane).ylim/4, COR(plane).ylim/4];
+        set(SYS.lhcid,'YData',yd);
+
+        %===========================================================
+%     case 'StartLoc'              %*** StartLoc ***
+%         %===========================================================
+%         %cross cursor to select a new start location on Z axis.
+%         %must put bpms into 'Select' mode (display only) so
+%         %bpm nearest cursor will not get toggled or dragged
+%         %NOTE: tried setting mode to zero and then reset after sizing plot but still toggles bpm state.
+% 
+%         mode=BPM(plane).mode;     %save mode for after NewStart
+%         BPM(plane).mode=0;        %put in select mode
+%         setappdata(0,'BPM',BPM);
+% 
+%         set(orbfig,'Pointer','fullcross',...
+%             'WindowButtonDownFcn','orbgui(''NewStart'')');
+%         BPM(plane).mode=mode;     %restore mode
+%         setappdata(0,'BPM',BPM);
+% 
+%         %===========================================================
+%     case 'NewStart'              %*** NewStart ***
+%         %===========================================================
+%         %sets the current cursor position as the new Start Location of the plot.
+%         cpa = get(SYS.ahbpm,'CurrentPoint');
+%         limits = get(SYS.ahbpm,'XLim');
+%         set(SYS.ahbpm,'XLim',[cpa(1,1) limits(1,2)]);   %Change start, leave stop alone
+%         set(SYS.ahcor,'XLim',[cpa(1,1) limits(1,2)]);   %Change start, leave stop alone
+%         set(orbfig, 'Pointer','arrow',...
+%             'WindowButtonDownFcn','');
+% 
+%         %===========================================================
+%     case 'StopLoc'              %*** StopLoc ***
+%         %===========================================================
+%         %creates a cross cursor for the user to select a new stopping location on Z axis.
+%         mode=BPM(plane).mode;     %save mode for after NewStart
+%         BPM(plane).mode=0;        %put in select mode
+%         setappdata(0,'BPM',BPM);
+% 
+%         set(orbfig,'Pointer','fullcross',...
+%             'WindowButtonDownFcn','orbgui(''NewStop'')');
+%         BPM(plane).mode=mode;     %restore mode
+%         setappdata(0,'BPM',BPM);
+% 
+%         %===========================================================
+%     case 'NewStop'              %*** NewStop ***
+%         %===========================================================
+%         %set the current cursor position as the new Stop Location of the plot.
+%         cpa = get(SYS.ahbpm,'CurrentPoint');
+%         limits = get(SYS.ahbpm,'XLim');
+%         set(SYS.ahbpm,'XLim',[limits(1,1) cpa(1,1)]);    %Change stop, leave start alone
+%         set(SYS.ahcor,'XLim',[limits(1,1) cpa(1,1)]);    %Change stop, leave start alone
+%         set(orbfig, 'Pointer','arrow',...
+%             'WindowButtonDownFcn','');
+% 
+        %===========================================================
+    case 'BPMPlotScale'                    %*** BPMPlotScale ***
+        %===========================================================
+        %Select vertical limit for BPM plot
+
+        %Clear previous  figure
+        bpmscalefig = findobj(0,'tag','bpmplotscale');
+        if ~isempty(bpmscalefig), delete(bpmscalefig); end
+
+        figure('Position',[600 600 400 200],...
+            'NumberTitle','off',...
+            'Name','BPM Plot Control',...
+            'Tag','bpmplotscale',...
+            'MenuBar','none');
+
+        val=0;
+        if BPM(plane).scalemode==0; val=1; end              %manual
+        uicontrol('Style','radio',...
+            'Position',[20 150 120 20],...
+            'String','Manual Scale',...
+            'Tag','bpmmanual',...
+            'Value',val,...
+            'ToolTipString','BPM plot scale Manual',...
+            'Callback','orbgui(''BPMScaleType'', ''0'')');
+
+        uicontrol('Style','text',...
+            'String','Vertical Axis Limit: ','HorizontalAlignment','left',...
+            'Position',[150 150 100 20]);
+
+        uicontrol('Style','edit',...
+            'tag','bpmscale',...
+            'String',num2str(BPM(plane).ylim),'HorizontalAlignment','left',...
+            'Position',[250 150 50 20]);
+
+
+        val=0;
+        if BPM(plane).scalemode==1; val=1; end              %auto
+        uicontrol('Style','radio',...
+            'Position',[20 120 120 20],...
+            'String','Auto Scale','HorizontalAlignment','left',...
+            'Tag','bpmauto',...
+            'Value',val,...
+            'ToolTipString','BPM plot scale Auto',...
+            'Callback','orbgui(''BPMScaleType'', ''1'')');
+
+        val=0;
+        if strcmp(SYS.xscale,'meter'); val=1; end           %s-position
+        uicontrol('Style','radio',...
+            'Position',[20 90 150 20],...
+            'String','Plot vs. s-position',...
+            'Tag','plotspos',...
+            'Value',val,...
+            'ToolTipString','Plot BPM vs. the s-position',...
+            'Callback','orbgui(''PlotSPosition'')');
+
+        val=0;
+        if strcmp(SYS.xscale,'phase'); val=1; end          %betatron phase
+        uicontrol('Style','radio',...
+            'Position',[20 60 150 20],...
+            'String','Plot vs. Phase',...
+            'Tag','plotphase',...
+            'Value',val,...
+            'ToolTipString','Plot BPMs vs. the phase',...
+            'Callback','orbgui(''PlotPhase'')');
+
+        uicontrol('Style','pushbutton',...                  %apply
+            'String','Apply',...
+            'Position',[150 20 50 20],...
+            'Callback','orbgui(''ProcessBPMScale'');');
+
+        uicontrol('Style','pushbutton',...                  %cancel
+            'String','Cancel',...
+            'Callback','delete(gcf)',...
+            'Position',[210 20 50 20]);
+
+        %===========================================================
+    case 'ProcessBPMScale'              %*** ProcessBPMScale ***
+        %===========================================================
+        %select vertical limits for BPM axis (symetric limits)
+
+        h    = findobj(0,'Tag','bpmscale');
+        ylim = str2double(get(h,'String'));
+
+        if isempty(ylim)
+            ylim = BPM(plane).ylim;
+        end
+
+        hmanual = findobj(0,'Tag','bpmmanual');
+        set(h,'Value',1);
+        hauto = findobj(0,'Tag','bpmauto');
+        
+        if BPM(plane).scalemode == 0  %manual mode
+            BPM(plane).ylim = ylim;
+
+            set(SYS.ahbpm,'YLim', ylim*[-1, 1]);
+
+            set(hmanual,'Value',1);
+            set(hauto,'Value',0);
+        else                        %auto mode
+            BPM(plane).ylim = ylim;
+
+            set(hmanual,'Value',0);
+            set(hauto,'Value',1);
+        end
+
+        setappdata(0,'BPM',BPM);
+
+        bpmgui('BPMBar');
+
+        delete(gcf);
+
+
+        %===========================================================
+    case 'PlotSPosition'                    %*** PlotSPosition ***
+        %===========================================================
+        %plot BPMs and correctors in terms of s-position
+        h1 = findobj(0,'tag','plotspos');
+        h2 = findobj(0,'tag','plotphase');
+
+        if get(h1,'Value') == 0 && get(h2,'Value') == 0   %...default to meters
+            set(h2,'Value',1);
+            SYS.xscale = 'phase';
+            SYS.xlimax = SYS.maxphi(plane);
+            set(get(SYS.ahcor,'Xlabel'),'string','Betatron Phase (rad/(2pi))');
+        else
+            SYS.xscale = 'meter';
+            set(h1,'Value',1);
+            set(h2,'Value',0);
+            SYS.xlimax = SYS.maxs;
+            set(get(SYS.ahcor,'Xlabel'),'string','Position in Storage Ring (m)');
+        end
+
+        setappdata(0,'SYS',SYS);
+
+        h  = allchild(get(SYS.allmachine,'Parent'));
+        id = strcmpi(get(h,'Checked'),'on');
+        orbgui('plotxaxis',get(h(id),'Tag'));
+        
+        bpmgui('RePlot');
+        corgui('RePlot');
+
+        %===========================================================
+    case 'PlotPhase'                    %*** PlotPhase ***
+        %===========================================================
+        %plot BPMs and correctors in terms of phase
+        h1 = findobj(0,'tag','plotspos');
+        h2 = findobj(0,'tag','plotphase');
+
+        if get(h1,'Value') == 0 && get(h2,'Value') == 0   %...default to meters
+            set(h1,'Value',1);
+            SYS.xscale = 'meter';
+            SYS.xlimax = SYS.maxs;
+            set(get(SYS.ahcor,'Xlabel'),'string','Position in Storage Ring (m)');
+        else % Phase
+            SYS.xscale = 'phase';
+            set(h1,'Value',0);
+            set(h2,'Value',1);
+            SYS.xlimax   = SYS.maxphi(plane);
+            set(get(SYS.ahcor,'Xlabel'),'string','Betatron Phase (rad)');
+        end
+        
+        setappdata(0,'SYS',SYS);
+
+        h  = allchild(get(SYS.allmachine,'Parent'));
+        id = strcmpi(get(h,'Checked'),'on');
+        orbgui('plotxaxis',get(h(id),'Tag'));
+        
+        bpmgui('RePlot');
+        corgui('RePlot');
+
+        %===========================================================
+    case 'BPMScaleType'                    %*** BPMScaleType ***
+        %===========================================================
+        %toggle to manual mode for BPM vertical axis
+        stype = str2double(varargin{1});    % stype=0 for manual,   stype=1 for auto
+
+        %presently in manual mode, toggle to auto
+        if (BPM(plane).scalemode == 0 && stype==0) ||...
+                (BPM(plane).scalemode==0 && stype==1)
+            h=findobj(0,'Tag','bpmmanual');
+            set(h,'Value',0);
+            h=findobj(0,'Tag','bpmauto');
+            set(h,'Value',1);
+            BPM(plane).scalemode = 1;
+            setappdata(0,'BPM',BPM);
+            bpmgui('ylimits');
+            bpmgui('RePlot');
+            return
+        end
+
+        %presently in auto mode, toggle to manual
+        if (BPM(plane).scalemode==1 && stype==0) ||...
+                (BPM(plane).scalemode==1 && stype==1)
+            h=findobj(0,'Tag','bpmmanual');
+            set(h,'Value',1);
+            h=findobj(0,'Tag','bpmauto');
+            set(h,'Value',0);
+            BPM(plane).scalemode=0;
+            setappdata(0,'BPM',BPM);
+            ylim=BPM(plane).ylim;
+            set(SYS.ahbpm,'YLim',[-ylim,ylim]);
+            bpmgui('RePlot');
+            return
+        end
+
+        %===========================================================
+    case 'CorPlotScale'                    %*** CorPlotScale ***
+        %===========================================================
+        %Select vertical limit for Corrector plot
+
+        %Clear previous  figure
+        corscalefig = findobj(0,'tag','corplotscale');
+        if ~isempty(corscalefig), delete(corscalefig); end
+
+        figure('Position',[600 600 400 200],...
+            'NumberTitle','off','Tag','corplotscale',...
+            'Name','COR Vertical Axis Limits',...
+            'MenuBar','none');
+
+        val = 0;
+        if COR(plane).scalemode == 0, val = 1; end   %manual
+        uicontrol('Style','radio',...
+            'Position',[20 150 120 20],...
+            'String','Manual Scale',...
+            'Tag','cormanual',...
+            'Value',val,...
+            'ToolTipString','Corrector plot scale Manual',...
+            'Callback','orbgui(''CORScaleType'', ''0'')');
+
+        val = 0;
+        if COR(plane).scalemode == 1, val = 1; end
+        uicontrol('Style','radio',...
+            'Position',[20 120 120 20],...
+            'String','Auto Scale','HorizontalAlignment','left',...
+            'Tag','corauto',...
+            'Value',val,...
+            'ToolTipString','Corrector plot scale Auto',...
+            'Callback','orbgui(''CORScaleType'', ''1'')');     %auto
+
+        uicontrol('Style','text',...
+            'String','Vertical Axis Limit: ','HorizontalAlignment','left',...
+            'Position',[150 150 100 20]);
+
+        uicontrol('Style','edit',...
+            'tag','corscale',...
+            'String',num2str(COR(plane).ylim),'HorizontalAlignment','left',...
+            'Position',[250 150 50 20]);
+
+        uicontrol('Style','pushbutton',...                    %apply
+            'String','Apply',...
+            'Position',[150 20 50 20],...
+            'Callback','orbgui(''ProcessCORScale'');');
+
+        uicontrol('Style','pushbutton',...                    %cancel
+            'String','Cancel',...
+            'Callback','delete(gcf)',...
+            'Position',[210 20 50 20]);
+
+        %===========================================================
+    case 'CORScaleType'                    %*** CORScaleType ***
+        %===========================================================
+        %toggle to manual mode for COR vertical axis        
+        
+        % stype=0 for manual, stype=1 for auto
+        stype = str2double(varargin{1});    
+
+        hmanual = findobj(0,'Tag','cormanual');
+        hauto   = findobj(0,'Tag','corauto');
+
+        %presently in manual mode, toggle to auto
+        if (COR(plane).scalemode == 0 && stype == 0) ||...
+                (COR(plane).scalemode == 0 && stype == 1)
+            set(hmanual,'Value',0);
+            set(hauto,  'Value',1);
+            COR(plane).scalemode=1;
+            setappdata(0,'COR',COR);
+            corgui('ylimits');
+            corgui('RePlot');
+            return
+        end
+
+        %presently in auto mode, toggle to manual
+        if (COR(plane).scalemode==1 && stype==0) ||...
+                (COR(plane).scalemode==1 && stype==1)
+            set(hmanual,'Value',1);
+            set(hauto,'Value',0);
+            COR(plane).scalemode=0;
+            setappdata(0,'COR',COR);
+            ylim=COR(plane).ylim;
+            set(SYS.ahcor,'YLim',[-ylim,ylim]);
+            corgui('RePlot');
+            return
+        end
+
+        %===========================================================
+    case 'ProcessCORScale'              %*** ProcessCORScale ***
+        %===========================================================
+        h = findobj(0,'Tag','corscale');
+        ylim = str2double(get(h,'String'));
+        if isempty(ylim), ylim = COR(plane).ylim; end
+
+        if COR(plane).scalemode == 0  %manual mode
+            COR(plane).ylim=ylim;
+            setappdata(0,'COR',COR);
+            set(SYS.ahcor,'YLim',[-ylim,ylim]);
+
+            h=findobj(0,'Tag','cormanual');
+            set(h,'Value',1);
+            h=findobj(0,'Tag','corauto');
+            set(h,'Value',0);
+
+
+        else                        %auto mode
+            COR(plane).ylim=ylim;
+            setappdata(0,'COR',COR);
+            h=findobj(0,'Tag','cormanual');
+            set(h,'Value',0);
+            h=findobj(0,'Tag','corauto');
+            set(h,'Value',1);
+        end
+
+        corgui('CorBar');
+
+        delete(gcf);
+
+        %=============================================================
+    case 'LstBox'                               %  ListBox
+        %==========================================================
+        %create list box to display program output dialog
+        ts = ['Program Start-Up: ' datestr(now,0)];
+        [screen_wide, screen_high]=screensizecm;
+
+        x0=0.013*screen_wide; y0=0.2000*screen_high; 
+        dx=0.3061*screen_wide; dy=0.04817*screen_high;
+
+        SYS.lstbox = uicontrol('Style','list','Units','centimeters', ...
+            'Position',[x0 y0 dx dy],'String',{ts});
+
+%         %=============================================================
+%     case 'RestoreFileBox'                        %  RestoreFileBox
+%         %=============================================================
+%         %create list box to display program output dialog
+%         [screen_wide, screen_high]=screensizecm;
+% 
+%         x0=0.63*screen_wide; y0=0.210*screen_high; dx=0.15*screen_wide; dy=0.025*screen_high;
+% 
+%         uicontrol('Style','Text',...
+%             'Units','centimeters',...
+%             'Position',[x0 y0 dx dy],...
+%             'String',' ',...
+%             'tag','restorefile');
+
+        %===========================================================
+    case 'LBox'                          %*** LBox ***
+        %===========================================================
+        %load latest sequence of strings into graphical display listbox
+        comment = varargin{1};
+        ts      = datestr(now,0);
+        addstr  = {[ts  ': ' comment]};
+        h       = SYS.lstbox;
+        str     = get(h,'String');
+        str     = [str; addstr];
+        ione    = size(str,1);
+        nentry  = 50;
+        
+        if ione >= nentry                %keep only top entries
+            str = str(ione-nentry+1:ione,1);
+            ione = size(str,1);
+        end
+        
+        set(h,'String',str,'listboxtop',ione);
+
+        % % % if ~isempty(SYS.SYSLogfid)              %write to log file
+        % % %    str=char(addstr{1});
+        % % %    fprintf(SYS.SYSLogfid,'%s\n',str);
+        % % % end
+
+%         %==========================================================
+%     case 'StartPatchActive'                  % StartPatchActive
+%         %==========================================================
+%         %activate start patch in element icon/zoom bar
+%         set(orbfig,'WindowButtonMotionFcn','orbgui(''MoveStartPatch'')',...
+%             'WindowButtonUpFcn',    'orbgui(''StartPatchUp'')');
+% 
+%         %==========================================================
+%     case 'MoveStartPatch'                    % MoveStartPatch
+%         %==========================================================
+%         xpos=orbgui('GetStartPos',0.02);
+%         orbgui('SetStartPatch',xpos);
+
+        %==========================================================
+%     case 'GetStartPos'                    % GetStartPos
+%         %==========================================================
+%         %find starting position and check agains stop position
+%         stoplim=varargin(1); stoplim=stoplim{1};
+%         %check requested point to right of zero
+%         cpa = get(SYS.ahpos, 'CurrentPoint');
+%         xpos = cpa(1);
+%         if xpos<=0.0055
+%             xpos=0.0055;
+%         end
+% 
+%         %check requested point to left of stop patch
+%         h=findobj(0,'Tag','stoppatch');
+%         xlim=get(h,'XData');   %x-positions of three patch corners
+%         if xpos>=xlim(1)-stoplim;
+%             xpos =xlim(1)-stoplim;
+%         end
+%         varargout{1}=xpos;
+% 
+%         %==========================================================
+%     case 'SetStartPatch'                     % SetStartPatch
+%         %==========================================================
+%         %move the patch to mouse position
+%         xpos=varargin{1};
+%         h=findobj(orbfig,'tag','startpatch');
+%         xdata = [xpos-0.005 xpos+0.005 xpos-0.005];
+%         set(h, 'XData', xdata);
+% 
+%         %==========================================================
+%     case 'StartPatchUp'                       %StartPatchUp
+%         %==========================================================
+%         %sequence to execute when startpatch let up
+%         xpos=orbgui('GetStartPos',0.01);
+%         orbgui('SetStartPatch',xpos);
+% 
+%         %change BPM and corrector plot limits
+%         limits = get(SYS.ahbpm,'XLim');
+%         set(SYS.ahbpm,'XLim',[SYS.xlimax*xpos limits(1,2)]);   %Change start, leave stop alone
+%         set(SYS.ahcor,'XLim',[SYS.xlimax*xpos limits(1,2)]);
+%         corgui('PlotAct');
+%         corgui('PlotFit');
+%         set(orbfig, 'Pointer','arrow',...
+%             'WindowButtonMotionFcn','','WindowButtonUpFcn','');
+% 
+%         %==========================================================
+%     case 'StopPatchActive'                  % StopPatchActive
+%         %==========================================================
+%         set(orbfig,'WindowButtonMotionFcn','orbgui(''MoveStopPatch'')',...
+%             'WindowButtonUpFcn',    'orbgui(''StopPatchUp'')');
+% 
+%         %==========================================================
+%     case 'MoveStopPatch'                    % MoveStopPatch
+%         %==========================================================
+%         xpos=orbgui('GetStopPos',0.01);
+%         orbgui('SetStopPatch',xpos);
+% 
+%         %==========================================================
+%     case 'GetStopPos'                    % GetStopPos
+%         %==========================================================
+%         stoplim=varargin(1); stoplim=stoplim{1};
+%         %check requested point to left of the x-limit
+%         cpa = get(SYS.ahpos, 'CurrentPoint');
+%         xpos = cpa(1);
+%         if xpos>=(1.0 - 0.005)
+%             xpos =(1.0 - 0.005);
+%         end
+% 
+%         %check requested point to right of start patch
+%         h=findobj(orbfig,'tag','startpatch');
+%         xlim=get(h,'XData');   %x-positions of three patch corners
+%         if xpos<=xlim(1)+stoplim
+%             xpos=xlim(1)+stoplim+0.01;
+%         end
+%         varargout{1}=xpos;
+% 
+%         % %check requested point to left of stop patch
+%         % h=findobj(orbfig,'tag','stoppatch');
+%         % xlim=get(h,'XData');   %x-positions of four patch corners
+%         % if xpos>=xlim(1)-stoplim;
+%         %    xpos=xlim(1)-stoplim;
+%         % end
+%         % varargout{1}=xpos;
+% 
+%         %==========================================================
+%     case 'SetStopPatch'                     % SetStopPatch
+%         %==========================================================
+%         xpos=varargin{1};
+%         h=findobj(orbfig,'tag','stoppatch');
+%         xdata = [xpos+0.005 xpos-0.005 xpos+0.005];
+%         set(h, 'XData', xdata);  %move the patch to mouse position
+% 
+%         %==========================================================
+%     case 'StopPatchUp'                       %StopPatchUp
+%         %==========================================================
+%         xpos=orbgui('GetStopPos',0.01);
+%         orbgui('SetStopPatch',xpos);
+% 
+%         %change BPM and corrector plot limits
+%         limits = get(SYS.ahbpm,'XLim');
+%         set(SYS.ahbpm,'XLim',[limits(1,1) SYS.xlimax*xpos]);   %Change stop, leave start alone
+%         set(SYS.ahcor,'XLim',[limits(1,1) SYS.xlimax*xpos]);
+%         corgui('PlotAct');
+%         corgui('PlotFit');
+%         set(orbfig, 'Pointer','arrow',...
+%             'WindowButtonMotionFcn','','WindowButtonUpFcn','');
+
+        %==========================================================
+    case 'GetAbscissa'                          %...GetAbscissa
+        %==========================================================
+        %return coordinates for abscissa (position or phase)
+        SYS   = varargin{1};
+        elem  = varargin{2};
+        plane = SYS.plane;
+        
+        switch SYS.xscale
+            case 'meter'
+                if strcmpi(elem,'BPM'), xd = BPM(plane).s; end
+                if strcmpi(elem,'COR'), xd = COR(plane).s; end
+            case 'phase'
+                if strcmpi(elem,'BPM'), xd = BPM(plane).phi; end
+                if strcmpi(elem,'COR'), xd = COR(plane).phi; end
+        end
+
+        varargout = {xd};
+
+        %=============================================================
+    case 'InitialSaveSet'                 % *** InitialSaveSet ***
+        %=============================================================
+        %used during startup
+        %generate a Save Set and copy to Initial slot
+        SYS.save.max = 5;     %1 slot for Initial, 4 slot for Save Sets
+        setappdata(0,'SYS',SYS);
+        orbgui('SaveSet');
+        SYS.save.ptr = 2;
+        setappdata(0,'SYS',SYS);
+        orbgui('SaveSet2Initial');
+        SYS.save.ptr = 1;
+        setappdata(0,'SYS',SYS);
+
+        %=============================================================
+    case 'SaveSet2Initial'               % *** SaveSet2Initial ***
+        %=============================================================
+        %load selected Save Set into Initial Slot
+        ptr = SYS.save.ptr;
+        orbgui('MoveSaveSet',ptr,1);    %move Save Set from ptr to 1
+        %update figure if it exists
+        if ~isempty(findobj('Tag','savesetfigure'))
+            orbgui('UnDrawSaveSet');
+            orbgui('ReDrawSaveSet');
+        end
+
+        %=============================================================
+    case 'SaveSet'                             % *** SaveSet ***
+        %=============================================================
+        %generate SaveSet of parameters for both planes
+        %bpm selection (ifit,wt)
+        %beamline selection (ifit,wt)
+        %corrector selection (ifit,wt)
+        %bpm offsets (des)
+        %system parameters: mode, bpmode, plane, relative, algorithm, bpmslp
+        %fitting parameters: nsvd, etc
+
+        %initialize buffer depth if necessary
+        if ~isfield(SYS.save,'len'), SYS.save.len = 1;  end  
+
+        %system parameters
+        sys.mode       = SYS.mode;
+        sys.bpmode     = SYS.bpmode;
+        sys.plane      = SYS.plane;
+        SYS.relative   = SYS.relative;
+        sys.machine    = SYS.machine;
+        sys.bpmslp     = SYS.bpmslp;
+        sys.algo       = SYS.algo;
+        sys.maxs       = SYS.maxs;
+        sys.maxphi     = SYS.maxphi;
+        sys.xscale     = SYS.xscale;
+
+        %bpm, corrector and response matrix parameters
+        for ip = 1:2,
+            %BPM
+            bpm(ip).mode     = BPM(ip).mode;
+            bpm(ip).scalemode= BPM(ip).scalemode;
+%             bpm(ip).dev      = BPM(ip).dev;
+            bpm(ip).id       = BPM(ip).id;
+            bpm(ip).ifit     = BPM(ip).ifit;
+            bpm(ip).wt       = BPM(ip).wt;
+            bpm(ip).des      = BPM(ip).des;
+            %Correctors
+            cor(ip).mode     = COR(ip).mode;
+            cor(ip).scalemode= COR(ip).scalemode;
+            cor(ip).fract    = COR(ip).fract;
+            cor(ip).id       = COR(ip).id;
+            cor(ip).ifit     = COR(ip).ifit;
+            cor(ip).wt       = COR(ip).wt;
+            cor(ip).ebpm     = COR(ip).ebpm;
+            %Orbit Response Matrix
+            rsp(ip).nsvd     = RSP(ip).nsvd;
+            rsp(ip).disp     = RSP(ip).disp;
+            rsp(ip).eig      = RSP(ip).eig;
+        end
+
+        %move Save Sets down
+        len = SYS.save.len;    %present length of buffer
+        for ii = len:-1:2      %'Initial' occupies first slot
+            orbgui('MoveSaveSet',ii,ii+1);
+        end
+
+        %load new Save Set slot #2 (slot #1 = Initial)
+        slot = 2;
+        setappdata(orbfig,['sys' num2str(slot)],sys);
+        setappdata(orbfig,['bpm' num2str(slot)],bpm);
+        setappdata(orbfig,['cor' num2str(slot)],cor);
+        setappdata(orbfig,['rsp' num2str(slot)],rsp);
+        
+        %create time stamp
+        SYS.save.ts(slot,:) = datestr(now,0); 
+
+        %increment Save Set buffer length
+        SYS.save.len = SYS.save.len+1;                     
+        
+        if SYS.save.len > SYS.save.max    %stop at maximum
+            SYS.save.len = SYS.save.max;
+            setappdata(0,'SYS',SYS);
+        end
+
+        %update figure if it exists
+        if ~isempty(findobj('Tag','savesetfigure'))
+            orbgui('UnDrawSaveSet');
+            SYS.save.ptr = 2;
+            setappdata(0,'SYS',SYS);
+            %point to most recent selection
+            orbgui('ReDrawSaveSet');
+        end
+
+        orbgui('LBox',' Saved parameter Save Set');
+
+        %=============================================================
+    case 'MoveSaveSet'                       % *** MoveSaveSet ***
+        %=============================================================
+        %moves a Save Set from one location in appdata to another
+        start = varargin{1};  %initial SaveSet location
+        stop  = varargin{2};  %final SaveSet location
+
+        sys = getappdata(orbfig,['sys' num2str(start)] );
+        bpm = getappdata(orbfig,['bpm' num2str(start)] );
+        cor = getappdata(orbfig,['cor' num2str(start)] );
+        rsp = getappdata(orbfig,['rsp' num2str(start)] );
+
+        setappdata(orbfig,['sys' num2str(stop)],sys);
+        setappdata(orbfig,['bpm' num2str(stop)],bpm);
+        setappdata(orbfig,['cor' num2str(stop)],cor);
+        setappdata(orbfig,['rsp' num2str(stop)],rsp);
+
+        SYS.save.ts(stop,:) = SYS.save.ts(start,:);    %move time stamp
+        setappdata(0,'SYS',SYS);
+
+        %===================================================================
+    case 'RestoreSaveSet'                       % *** RestoreSaveSet ***
+        %===================================================================
+        %pop up screen with choices for SaveSet
+
+        %test if Save Set panel already exists
+        h = findobj(0,'tag','savesetfigure');
+        if ~isempty(h)
+            delete(h);
+        end
+
+        [screen_wide, screen_high]=screensizecm;
+
+        % Draw the outside box of the figure
+        x0=0.3545*screen_wide; y0=0.4297*screen_high; dx=0.4014*screen_wide; dy=0.2500*screen_high;
+        figure('Units','centimeters',...
+            'Position',[x0 y0 dx dy],...
+            'NumberTitle','off',...
+            'Name','Save Set Selection',...
+            'Tag','savesetfigure',...
+            'MenuBar','none');
+
+        %pushbuttons for Save Set commands
+        x0=0.025*screen_wide; y0=0.02*screen_high; dx=0.08*screen_wide; dy=0.025*screen_high;
+        uicontrol('Style','pushbutton',...
+            'Units','centimeters',...
+            'String','Load Save Set',...
+            'Position',[x0+0*dx y0 dx dy],...
+            'Callback','orbgui(''LoadSaveSet'');');
+
+        uicontrol('Style','pushbutton',...
+            'Units','centimeters',...
+            'String','Delete Save Set',...
+            'Callback','orbgui(''DeleteSaveSet'');',...
+            'Position',[x0+1.1*dx y0 dx dy]);
+
+        uicontrol('Style','pushbutton',...
+            'Units','centimeters',...
+            'String','Load to Initial',...
+            'Callback','orbgui(''SaveSet2Initial'');',...
+            'Position',[x0+2.2*dx y0 dx dy]);
+
+        uicontrol('Style','pushbutton',...
+            'Units','centimeters',...
+            'String','Cancel',...
+            'Callback','delete(gcf)',...
+            'Position',[x0+3.3*dx y0 dx dy]);
+
+        orbgui('ReDrawSaveSet')
+
+        %=============================================================
+    case 'UnDrawSaveSet'                   % *** UnDrawSaveSet ***
+        %=============================================================
+        %remove radio buttons
+        for ptr = 1:SYS.save.len
+            h=findobj(0,'Tag',['ss' num2str(ptr)]);
+            delete(h);
+        end
+
+        %=============================================================
+    case 'ReDrawSaveSet'                   % *** ReDrawSaveSet ***
+        %=============================================================
+        [screen_wide, screen_high]=screensizecm;
+        x0=0.025*screen_wide; y0=0.02*screen_high; dx=0.08*screen_wide; dy=0.025*screen_high;
+
+        h=findobj('Tag','savesetfigure');
+        figure(h);
+        %List Save Set choices
+        %radio button for initial Save Set
+        uicontrol('Style','radio',...
+            'Units','centimeters',...
+            'Position',[x0 y0+7*dy 4*dx 0.9*dy],...
+            'String',['Initial Save Set  :  ' SYS.save.ts(1,:)],...
+            'Value',0,...
+            'Tag','ss1',...
+            'Callback','orbgui(''SelectSaveSet'');',...
+            'ToolTipString','Restore to Initial Save Set');
+
+        %radio buttons for Save Sets
+        len = SYS.save.len;                      %length of buffer
+        for ii = 2:len
+            tag = ['ss' num2str(ii)];          %add unity since initial in '1' slot
+            ts  = SYS.save.ts(ii,:);
+            uicontrol('Style','radio',...
+                'Units','centimeters',...
+                'Position',[x0 y0+(7-ii)*dy 4*dx 0.9*dy],...
+                'String',['Save Set  ',num2str(ii-1),'         :  ' ts],...
+                'Value',0,...
+                'Tag',tag,...
+                'Callback','orbgui(''SelectSaveSet'');',...
+                'ToolTipString','Restore Save Set');
+        end
+
+        if isfield(SYS.save,'ptr')
+            if ~isempty(SYS.save.ptr)
+                set(findobj('Tag',['ss' num2str(SYS.save.ptr)]),'Value',1);
+            end
+        end
+
+        %=============================================================
+    case 'DeleteSaveSet'               % *** DeleteSaveSet ***
+        %=============================================================
+        %Delete the selected Save Set
+        %first locate Save Set of choice
+        if ~isfield(SYS.save,'ptr') || ~isfield(SYS.save,'len'),return; end
+
+        ptr = SYS.save.ptr;    %pointer to selected Save Set
+        len = SYS.save.len;    %total length of Save Set ring buffer
+
+        if SYS.save.ptr == 1, return; end   %don'td delete Initial
+
+        %shift higher order Save Sets down one slot each
+        for ii = ptr:len-1,
+            sys = getappdata(orbfig,['sys' num2str(ii+1)] );
+            bpm = getappdata(orbfig,['bpm' num2str(ii+1)] );
+            cor = getappdata(orbfig,['cor' num2str(ii+1)] );
+            rsp = getappdata(orbfig,['rsp' num2str(ii+1)] );
+
+            setappdata(orbfig,['sys' num2str(ii)],sys);   %initial in '1' slot
+            setappdata(orbfig,['bpm' num2str(ii)],bpm);
+            setappdata(orbfig,['cor' num2str(ii)],cor);
+            setappdata(orbfig,['rsp' num2str(ii)],rsp);
+            SYS.save.ts(ii,:) = SYS.save.ts(ii+1,:);
+        end
+        orbgui('UnDrawSaveSet');                      %clear drawing before reducing len
+        SYS.save.ptr=[];
+
+        if SYS.save.len>=2
+            SYS.save.len=len-1;
+        end
+
+        setappdata(0,'SYS',SYS);
+
+        orbgui('ReDrawSaveSet')
+
+        %=============================================================
+    case 'SelectSaveSet'               % *** SelectSaveSet ***
+        %=============================================================
+        imax=SYS.save.max+1;   %add '1' to include Initial
+
+        %first turn off all choices
+        for ii=1:imax,
+            set(findobj(0,'Tag',['ss' num2str(ii)]),'Value',0);
+        end
+
+        %turn on selection
+        set(gcbo,'Value',1);
+        ptr=get(gcbo,'Tag');
+        ptr=str2double(ptr(3));
+
+        %load selection into global
+        SYS.save.ptr=ptr;
+        setappdata(0,'SYS',SYS);
+
+        %=============================================================
+    case 'LoadSaveSet'                       % *** LoadSaveSet ***
+        %=============================================================
+        %load parameters
+        %update orbit
+        %update correctors
+        %solvesystem, backsub
+        %replot
+
+        if ~isfield(SYS.save,'ptr')
+            disp('Warning: no Save Set Selected');
+            orbgui('LBox','Warning: no Save Set Selected');
+            return
+        end
+
+        ptr = SYS.save.ptr;
+
+        sys = getappdata(orbfig,['sys' num2str(ptr)] );
+        bpm = getappdata(orbfig,['bpm' num2str(ptr)] );
+        cor = getappdata(orbfig,['cor' num2str(ptr)] );
+        rsp = getappdata(orbfig,['rsp' num2str(ptr)] );
+
+        SYS.mode       = sys.mode;
+        SYS.bpmode     = sys.bpmode;
+        SYS.plane      = sys.plane;
+        SYS.relative   = SYS.relative;
+        SYS.machine    = sys.machine;
+        SYS.bpmslp     = sys.bpmslp;
+        SYS.algo       = sys.algo;
+        SYS.maxs        = sys.maxs;
+        SYS.maxphi      = sys.maxphi;
+        SYS.xscale     = sys.xscale;
+
+        for ip = 1:2
+            % BPM
+            BPM(ip).mode     = bpm(ip).mode;
+            BPM(ip).scalemode= bpm(ip).scalemode;
+%             BPM(ip).dev      = bpm(ip).dev;
+            BPM(ip).id       = bpm(ip).id;
+            BPM(ip).ifit     = bpm(ip).ifit;
+            BPM(ip).wt       = bpm(ip).wt;
+            BPM(ip).des      = bpm(ip).des;
+            %Correctors
+            COR(ip).mode     =cor(ip).mode;
+            COR(ip).scalemode=cor(ip).scalemode;
+            COR(ip).fract    =cor(ip).fract;
+            COR(ip).id       =cor(ip).id;
+            COR(ip).ifit     =cor(ip).ifit;
+            COR(ip).wt       =cor(ip).wt;
+            COR(ip).ebpm     =cor(ip).ebpm;
+            %Orbit response matrix
+            RSP(ip).nsvd     =rsp(ip).nsvd;
+            RSP(ip).disp     =rsp(ip).disp;
+            RSP(ip).eig      =rsp(ip).eig;
+        end
+        
+        setappdata(0,'SYS',SYS);
+        setappdata(0,'BPM',BPM);
+        setappdata(0,'COR',COR);
+        setappdata(0,'RSP',RSP);
+
+        orbgui('RefreshOrbGUI');
+
+        COR(1).rst = COR(1).act;
+        COR(2).rst = COR(2).act;
+        setappdata(0,'COR',COR);
+
+        orbgui('LBox',' Finished restoring system parameters ');
+        %disp(['Save Set Loaded ' num2str(ptr) '  ' SYS.save.ts(ptr,:)]);
+
+        %=============================================================
+    case 'RestoreSystem'                   % *** RestoreSystem ***
+        %=============================================================
+        %restore ORBIT program from file
+        pathname = char(varargin(1)); %file directory
+        filename = char(varargin(2)); %SaveSystem file name
+        auto     = char(varargin(3)); %automatic load flag
+        [SYS BPM COR RSP] = RestoreOrbit(pathname,filename,auto,SYS,BPM,COR,RSP);  %no graphics commands
+
+        %Some code below this line is done in RestoreOrbit
+
+        %Get BPM status, sort for avail, ifit
+        % TODO 
+        [BPM(1).status BPM(2).status] = SPEAR2BPMCheck999(BPM(1).hndl,BPM(2).hndl);
+        BPM(1).avail = BPM(1).status;  %...if status o.k. default to available
+        BPM(2).avail = BPM(2).status;
+        [BPM]        = SortBPMs(BPM,RSP);
+        setappdata(0,'BPM',BPM);
+
+        %Get COR status, sort for avail, ifit
+        [COR] = SortCORs(COR,RSP);
+        setappdata(0,'COR',COR);
+
+
+        %Set up program parameters: both planes
+        for ip = 1:2
+            orbgui('TogglePlane');
+            orbgui('RefreshOrbGUI');        %acquires new orbit, correctors, fits, updates plots
+            %COR=getappdata(0,'COR');
+            COR(ip).ref = COR(ip).act;
+            COR(ip).rst = COR(ip).act;       %for save/restore
+        end
+
+        orbgui('InitialSaveSet');   
+        SYS.save.ptr = 1;   
+        SYS.save.len = 2;   %make save set, clear others
+
+        orbgui('LBox',[' Finished loading Restore File: ' filename]);
+        set(findobj('tag','restorefile'),'String',filename);
+
+        %=============================================================
+    case 'SaveSystem'                         % *** SaveSystem ***
+        %=============================================================
+        %write ORBIT parameters to *.m file
+        
+        filename = char(varargin(1));    %cell array containing file name
+        comment  = char(varargin(2));    %cell array containing file comment
+        
+        [fid,message] = fopen(filename,'w');
+        
+        if fid == -1
+            disp(message);
+            return
+        end
+        
+        % Laurent asks %s\n for windows compatibility ???
+        
+        fprintf(fid,'%s\n','%system parameter save file');
+        ts = datestr(now,0);
+        fprintf(fid,'%s\n',['%timestamp: ' ts]);
+        fprintf(fid,'%s\n',['%comment: ' comment]);
+        %
+        fprintf(fid,'%s',['sys.machine='  ,'''',SYS.machine,''';']);
+        fprintf(fid,'%s\n', '   %machine for control');
+        %
+        fprintf(fid,'%s',['sys.mode='  ,'''',SYS.mode,''';']);
+        fprintf(fid,'%s\n', '      %online or simulator');
+        %
+        fprintf(fid,'%s',['sys.bpmode=' ,'''',SYS.bpmode,''';']);
+        fprintf(fid,'%s\n', '     %BPM system mode');
+        %
+        fprintf(fid,'%s',['sys.bpmslp= ',num2str(SYS.bpmslp),';']);
+        fprintf(fid,'%s\n', '          %BPM sleep time in sec');
+        %
+        fprintf(fid,'%s',['sys.plane='  ,     num2str(SYS.plane),';']);
+        fprintf(fid,'%s\n', '            %plane (1=horizontal 2=vertical)');
+        %
+        fprintf(fid,'%s',['sys.algo=', '''SVD'';']);
+        fprintf(fid,'%s\n', '         %fitting algorithm');
+        %
+%         fprintf(fid,'%s',['sys.pbpm= ' ,num2str(SYS.pbpm),';']);
+%         fprintf(fid,'%s\n', '            %acquisition of photon BPMs');
+        %
+        fprintf(fid,'%s',['sys.filepath=  ' ,'''',SYS.filepath,''';']);
+        fprintf(fid,'%s\n', '     %file path in MATLAB');
+        %
+        fprintf(fid,'%s',['sys.reffile=  ' ,'''',SYS.reffile,''';']);
+        fprintf(fid,'%s\n', '     %reference orbit file');
+        %
+%         fprintf(fid,'%s',['sys.rspfile=  ' ,'''',SYS.rspfile,''';']);
+%         fprintf(fid,'%s\n', '     %response matrix file');
+        %
+%         fprintf(fid,'%s',['sys.brspfile= ','''',SYS.brspfile,''';']);
+%         fprintf(fid,'%s\n', '     %bump response matrix file');
+        %
+        fprintf(fid,'%s',['sys.etafile= ' ,'''',SYS.etafile,''';']);
+        fprintf(fid,'%s\n', '     %dispersion file');
+        %
+        fprintf(fid,'%s',['SYS.relative= ' ,num2str(SYS.relative),';']);
+        fprintf(fid,'%s\n', '        %relative or absolute BPM plot 1=absolute, 2=relative');
+        %
+%         fprintf(fid,'%s',['sys.fdbk= 0;']);
+%         fprintf(fid,'%s\n', '            %no feedback');
+%         %
+%         fprintf(fid,'%s',['sys.abort=0;']);
+%         fprintf(fid,'%s\n', '            %reset abort flag');
+        %
+        fprintf(fid,'%s',['sys.maxs= ',num2str(SYS.maxs),';']);
+        fprintf(fid,'%s\n', '           %maximum ring circumference');
+        %
+        fprintf(fid,'%s',['sys.xlimax= ' ,num2str(SYS.xlimax),';']);
+        fprintf(fid,'%s\n', '        %abcissa plot limit');
+        %
+        fprintf(fid,'%s',['sys.maxphi(1)= ',num2str(SYS.maxphi(1)),';']);
+        fprintf(fid,'%s\n', '        %maximum horizontal phase advance');
+        %
+        fprintf(fid,'%s',['sys.maxphi(2)= ',num2str(SYS.maxphi(2)),';']);
+        fprintf(fid,'%s\n', '        %maximum vertical phase advance');
+        %
+        fprintf(fid,'%s',['sys.xscale=', '''meter'';']);
+        fprintf(fid,'%s\n', '        %abcissa plotting mode (meter or phase)');
+
+        %==============================================================
+        %********   WRITE HORIZONTAL & VERTICAL CONTROL DATA  *********
+        %==============================================================
+        header = ['%*=== HORIZONTAL DATA ===*'; '%*===   VERTICAL DATA ===*';];
+        xy = ['x';'z';];
+        for ip = 1:2,
+            p = num2str(ip);
+            fprintf(fid,'%s\n',' ');
+            fprintf(fid,'%s\n',header(ip,:));
+
+            %BPM
+            fprintf(fid,'%s',[['bpm(',p,').dev=']  ,num2str(10),          ';']);
+            fprintf(fid,'%s\n','          %maximum orbit deviation');
+%             fprintf(fid,'%s',['bpm(',p,').drf=0;']);
+%             fprintf(fid,'%s\n','           %dispersion component zero');
+            fprintf(fid,'%s',[['bpm(',p,').id=']  ,num2str(BPM(ip).id),          ';']);
+            fprintf(fid,'%s\n','          %BPM selection');
+            fprintf(fid,'%s',[['bpm(',p,').scalemode=']  ,num2str(BPM(ip).scalemode),          ';']);
+            fprintf(fid,'%s\n','     %BPM scale mode 0=manual mode, 1=autoscale');
+            fprintf(fid,'%s',[['bpm(',p,').ylim=']  ,num2str(BPM(ip).ylim),          ';']);
+            fprintf(fid,'%s\n','            %BPM vertical axis scale');
+
+            %COR
+            fprintf(fid,'%15s %6.3f',[['cor(',p,').fract='],num2str(COR(ip).fract),';']);
+            fprintf(fid,'%s\n','      %fraction of correctors');
+            fprintf(fid,'%s','cor(',p,').savfrac =1.0;');
+            fprintf(fid,'%s\n' ,'    %saved fraction of corrector solution (unity)');
+
+            %RSP
+            fprintf(fid,'%s',['rsp(',p,').disp =''off'';']);
+            fprintf(fid,'%s\n' ,'     %mode for matrix column display');
+            fprintf(fid,'%s',['rsp(',p,').eig  =''off'';']);
+            fprintf(fid,'%s\n' ,'     %mode for eigenvector display');
+            fprintf(fid,'%s',['rsp(',p,').fit  =0;']);
+            fprintf(fid,'%s\n' ,'         %valid fit flag');
+            fprintf(fid,'%s %d',['rsp(',p,').rfflag=', num2str(RSP(ip).rfflag),';']);
+            fprintf(fid,'%s\n' ,'           %rf fitting flag');
+            fprintf(fid,'%s %d',['rsp(',p,').savflag=0;']);
+            fprintf(fid,'%s\n' ,'      %save solution flag');
+            fprintf(fid,'%s',[['rsp(',p,').nsvd=' ],num2str(RSP(ip).nsvd), ';']);
+            fprintf(fid,'%s\n','         %number of singular values');
+%             fprintf(fid,'%s',[['rsp(',p,').savnsvd=' ],num2str(RSP(ip).savnsvd), ';']);
+%             fprintf(fid,'%s\n','       %saved number of singular values');
+            fprintf(fid,'%s',['rsp(',p,').nsvdmax=1;']);
+            fprintf(fid,'%s\n','        %default maximum number of singular values');
+%             fprintf(fid,'%s',[['rsp(',p,').bmp=' ],num2str(RSP(ip).bmp), ';']);
+%             fprintf(fid,'%s\n','           %bump subtraction flag');
+            fprintf(fid,'%s\n',' ');
+
+
+            %BPM fitting indices, weights
+            fprintf(fid,'%s\n','%BPM data: name, index, fit,  weight, etaweight');
+            fprintf(fid,'%6s\n' ,['bpm',xy(ip,:),'={']);
+
+            for ii = 1:size(BPM(ip).name,1)
+                ifit = ii;
+                if isempty(find(BPM(ip).ifit == ii,1))
+                    ifit = 0;
+                end
+                fprintf(fid,'%1s %10s %5d %5d %10.3f %10.3f %1s\n' ,...
+                    '{',['''',BPM(ip).name(ii,:),''''], ii, ifit, BPM(ip).wt(ii), 0.0, '}');
+            end
+            fprintf(fid,'%2s\n' ,'};');
+            fprintf(fid,'%s\n',' ');
+
+            %Corrector fitting indices, weights, limits, ebpm matrix, pbpm matrix
+            fprintf(fid,'%s\n','%COR data: name, index, fit,  weight,   limit,      ebpm,      pbpm');
+            fprintf(fid,'%6s\n' ,['cor',xy(ip,:),'={']);
+            for ii = 1:size(COR(ip).name,1)
+                ifit = ii;
+                if isempty(find(COR(ip).ifit == ii,1))
+                    ifit = 0;
+                end
+                fprintf(fid,'%1s %10s %5d %5d %10.3f %10.3f %10.3f  %1s\n' ,...
+                    '{',['''',COR(ip).name(ii,:),''''], ii, ifit,  ...
+                    COR(ip).wt(ii), COR(ip).lim(ii), COR(ip).ebpm(ii),'}');
+            end
+            fprintf(fid,'%2s\n' ,'};');
+            fprintf(fid,'%s\n',' ');
+
+        end    %end of plane loop
+
+        %close file, produce binary backup
+        fclose(fid);
+        disp(['Saved system parameters to file... ' filename ]);
+        temp = [filename '_binary'];
+        save(temp, 'BPM', 'COR', 'RSP', 'SYS');
+        disp(['Backup file... ' temp ]);
+
+        %==========================================================
+    case 'SaveBump'                               %  SaveBump
+        %==========================================================
+        %*** Save Bump File ***
+        extype='*.dat';
+        [filename,pathname]=uiputfile(extype,'Select Bump File Name');
+        if isempty(findstr(filename,'.m'))
+            filename = [filename,'.m'];
+        end
+
+        if isequal(filename,0) || isequal(pathname,0)
+            disp('File not open');
+            return
+        else
+            disp(['File ', [pathname filename], ' open']);
+        end
+
+        [fid,message]=fopen([pathname filename],'w');
+        if fid==-1
+            disp(['WARNING: Unable to open file to write bump :' pathname filename]);
+            disp(message);
+            return
+        end
+
+        ncor = length(COR(plane).ifit);
+        fprintf(fid,'%s\n','new bump');
+        fprintf(fid,'%d\n',ncor);
+        for ii = 1:ncor
+            id = COR(plane).ifit(ii);
+            %.name is not compressed   .fit vector is compressed
+            fprintf(fid,'%s %10.3f\n' ,...
+                [COR(plane).name(id,:) '     '], COR(plane).fit(ii));
+        end
+        fclose(fid);
+
+        %==========================================================
+    case 'CloseMainFigure'                    %CloseMainFigure
+        %==========================================================
+
+        answer = questdlg('Close Orbit GUI?',...
+            'Exit Orbit Control Program',...
+            'Yes','No','Yes');
+        switch answer
+
+            case 'Yes'
+
+                %     answer = questdlg('Clear channel access handles?',...
+                %                        'Channel Access handles',...
+                %                        'Yes','No','Yes');
+                %     if strcmp(answer,'Yes')
+                %         disp('   Closing Channel Access SYS...');
+                %         clearmcahandles;
+                %     end
+                delete(findobj('tag','makeorbitslider'));
+                delete(findobj('tag','bpmplotscale'));
+                delete(findobj('tag','corplotscale'));
+
+                delete(findobj('tag','rload_xbwt'));
+                delete(findobj('tag','rload_xclim'));
+                delete(findobj('tag','rload_xcwt'));
+                delete(findobj('tag','rload_hbpm'));
+                delete(findobj('tag','rload_etawtx'));
+
+                delete(findobj('tag','rload_zbwt'));
+                delete(findobj('tag','rload_zclim'));
+                delete(findobj('tag','rload_zcwt'));
+                delete(findobj('tag','rload_ypwt'));
+                delete(findobj('tag','rload_vbpm'));
+                delete(findobj('tag','rload_etawtz'));
+
+                delete(findobj('tag','rload_vbl'));
+                delete(findobj('tag','toggle_blsel'));
+
+                delete(findobj('tag','dispersionpanel'));
+                delete(findobj('tag','orbfig'));
+                return
+
+            case 'No'
+                return
+            otherwise
+                return
+        end
+
+        %===========================================================
+    otherwise
+        disp(['   Warning: CASE not found in ORBGUI: ' action]);
+
+end  %end switchyard
+
Index: /trunk/machine/SOLEIL/StorageRing/orbit/readwrite.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/readwrite.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/readwrite.m	(revision 17)
@@ -0,0 +1,559 @@
+function readwrite(action, varargin)
+%READWRITE - Multipurpose read/write function for orbit correction applicaiton
+% function varargout = readwrite(action, varargin)
+% readwrite supplies a switchyard of routines
+% to read and write data files in solorbit formats
+% 
+% ReadCorrectors
+% WriteCorrectors
+% ReadBPMReference
+% ArchiveBPMOrbit
+% DialogBox
+% ReadResponse
+% ProcessDialog
+% 
+
+
+%
+% Written by William J. Corbett
+% Modified by Laurent S. Nadolski
+
+%% TODO NEED adaption for SOLEIL
+
+% orbfig = findobj(0,'tag','orbfig');  %orbfig "global"
+global BPM COR RSP SYS
+
+[BPMxFamily, BPMzFamily] = BPM.AOFamily;
+
+switch action
+
+%     %=============================================================
+%     case 'LogFdbkData'                       % *** LogFdbkData ***
+%         %=============================================================
+%         if strcmp(SYS.machine,'SPEAR2')
+%             [SYS.energy,SYS.curr,SYS.lt,SYS.ahr] = getset('GetRingParams',SYS.mode);
+%             setappdata(0,'SYS',SYS);
+%         elseif strcmp(SYS.machine,'SOLEIL')
+%            % TODO
+%            disp('LogFdbckData TODO')
+%         end
+% 
+%         BPMLog(SYS,BPM);
+%         CORLog(SYS,COR);
+
+        %=============================================================
+    case 'ReadCorrectors'               % *** ReadCorrectors ***
+        %=============================================================
+        % read corrector strength files produced by this program
+        FileName = char(varargin(1));
+        auto     = char(varargin(2));    %cell array
+        
+        [fid,message] = fopen(FileName,'r');
+        if fid == -1
+            disp(['WARNING: Corrector file not found:' FileName]);
+            disp(message);
+            return
+        end
+
+        header    = fgetl(fid);
+        disp(header);
+        timestamp = fgetl(fid);
+        disp(timestamp);
+        comment   = fgetl(fid);
+        disp(comment);
+
+        if ~strcmp(auto,'auto') == 1
+            answer = input('Read Corrector File? Y/N [Y]: ','s');
+            if isempty(answer), answer = 'n'; end
+            if answer=='n' || answer=='N'
+                disp('WARNING: Corrector File NOT LOADED');
+                fclose(fid);
+                return
+            end
+        end
+
+        disp(['Reading corrector file: ' FileName]);
+        COR(1).ntcor = fscanf(fid,'%d\n',1);
+        COR(2).ntcor = fscanf(fid,'%d\n',1);
+        disp([COR(1).ntcor,COR(2).ntcor]);
+        setappdata(0,'COR',COR);
+
+        fscanf(fid,'%d %f %*s',[3,54]);  %ntbpm rows, 5 columns wide
+        fclose(fid);
+
+        %=============================================================
+    case 'WriteCorrectors'               % *** WriteCorrectors ***
+        %=============================================================
+        % write reference orbit file in format of orbit program       
+        FileName = char(varargin(1));
+        comment  = char(varargin(2));
+
+        [fid,message] = fopen(FileName,'w');
+        if fid == -1
+            disp(['WARNING: Unable to open file to write correctors :' FileName]);
+            disp(message);
+            return
+        end
+        disp(['Writing corrector file: ' FileName]);
+        fprintf(fid,'%s\n','Correctors');
+        fprintf(fid,'%s\n',['timestamp: ' datestr(now,0)]);
+        fprintf(fid,'%s\n', comment);
+        fprintf(fid,'%d %d\n', COR(1).ntcor, COR(2).ntcor);
+      
+        for ii = 1:COR(2).ntcor,
+            fprintf(fid,'%3d %6.3f %s\n',...
+                ii, COR(1).act(ii),COR(1).name(ii,:)); %3 columns wide
+        end
+
+        for ii = 1:COR(2).ntcor,
+            fprintf(fid,'%3d %6.3f %s\n',...
+                ii, COR(2).act(ii),COR(2).name(ii,:)); %3 columns wide
+        end
+        fclose(fid);
+
+%         %=============================================================
+%     case 'WriteResponse'                     % *** WriteResponse ***
+%         %=============================================================
+%         %read in terms of RSP, write in terms of BPM, COR
+%         %readwrite('WriteSPEAR3Response','dummy','auto');
+%         FileName = char(varargin(1));   
+%         comment  = char(varargin(2));
+% %         WriteSPEAR2Response(FileName,comment,BPM,BL,COR,RSP);
+%         disp('WriteResponse TODO')
+
+%         %=============================================================
+%     case 'ReadBPMxReference'         % *** ReadBPMxReference ***
+%         %=============================================================
+%         %read archive orbit as reference
+% 
+%         [X,Z] = loadorbit([],[],'struct');     %select file from browser
+% 
+%         %process for orbit program
+%         if isempty(X)
+%             orbgui('LBox','X-Reference orbit not available');
+%         else
+%             BPM(1).iref = dev2elem(BPMxFamily,X.DeviceList);
+%             BPM(1).ref  = X.Data;
+%             BPM(1).des  = X.Data;
+%             BPM(1).abs  = X.Data;
+%             orbgui('LBox','X-Reference orbit loaded');
+%         end
+% 
+%         if SYS.relative == 1   %absolute mode
+%             ntbpm      = length(BPM(1).name(:,1));
+%             BPM(1).abs = zeros(1,ntbpm)';
+%         end
+% 
+%         [BPM] = SortBPMs(BPM,RSP);
+% 
+%         setappdata(0,'BPM',BPM);
+% 
+%         bpmgui('RePlot');        %reference, desired, absolute
+%         orbgui('RefreshOrbGUI');
+% 
+        %=============================================================
+    case 'ReadBPMReference'             % *** ReadBPMReference ***
+        %=============================================================
+        %read archive orbit as reference
+        refplane = varargin{1};
+        [varargin, GoldenFlag] = findkeyword(varargin,'Golden');
+
+        if GoldenFlag
+            %retrieve data from PhysData Structure
+%             physdatafile = getfamilydata('OpsData', 'PhysDataFile');
+%             datastruct   = load(physdatafile);
+%             X = datastruct.PhysData.BPMx.Golden;
+%             Z = datastruct.PhysData.BPMz.Golden;
+            %datastruct = getphysdata({BPMxFamily,BPMzFamily});
+            %X          = datastruct{1}.Golden;
+            %Z          = datastruct{2}.Golden;            
+             X = getgolden(BPMxFamily,'Struct');
+             Z = getgolden(BPMzFamily, 'Struct');
+            %   DirSpec  = getfamilydata('Directory','OpsData');
+            %   FileName = getfamilydata('OpsData', 'BPMGoldenFile');
+            %   [X,Z] = loadorbit([],[],DirSpec,FileName,'b','Struct','Auto');  %both planes, structure, automatic read
+        else
+            [X,Z] = loadorbit([],[],'struct');     %select file from browser
+        end
+
+        %process for orbit program
+        switch upper(refplane)
+            case 'X' % Horizontal plane
+                if isempty(X)
+                    orbgui('LBox','X-Reference orbit not available');
+                    return
+                else
+                    BPM(1).iref=dev2elem(BPMxFamily,X.DeviceList);
+                    %decompress data
+                    temp        = getfamilydata(BPMxFamily,'Status');
+                    status      = find(temp);
+                    temp(status)= X.Data;
+                    BPM(1).ref  = temp;
+                    BPM(1).des  = temp;
+                    BPM(1).abs  = temp;
+                    orbgui('LBox','X-Reference orbit loaded');
+                    if isfield(X,'FileName'), orbgui('LBox',X.FileName);
+                    else
+                        orbgui('LBox','Horizontal reference orbit loaded');
+                    end
+                end
+
+            case 'Z' % Vertical plane
+                if isempty(Z)
+                    orbgui('LBox','Z-Reference orbit not available');
+                    return
+                else
+                    BPM(2).iref = dev2elem(BPMzFamily,Z.DeviceList);
+                    %decompress data
+                    temp        = getfamilydata(BPMzFamily,'Status');
+                    status      = find(temp);
+                    temp(status)= Z.Data;
+                    BPM(2).ref  = temp;
+                    BPM(2).des  = temp;
+                    BPM(2).abs  = temp;
+                    orbgui('LBox','Z-Reference orbit loaded');
+                    if isfield(Z,'FileName'), orbgui('LBox',Z.FileName);
+                    else
+                        orbgui('LBox','Vertical reference orbit loaded');
+                    end
+                end
+
+            case 'XZ' % both planes
+                if isempty(X)
+                    orbgui('LBox','X-Reference orbit not available');
+                else
+                    BPM(1).iref = dev2elem(BPMxFamily,X.DeviceList);
+                    %decompress data
+                    temp        = getfamilydata(BPMxFamily,'Status');
+                    status      = find(temp);
+                    temp(status)= X.Data;
+                    BPM(1).ref  = temp;
+                    BPM(1).des  = temp;
+                    BPM(1).abs  = temp;
+                    orbgui('LBox','X-Reference orbit loaded');
+                    if isfield(X,'FileName'), orbgui('LBox',X.FileName);
+                    else
+                        orbgui('LBox','Horizontal reference orbit loaded');
+                    end
+                end
+                if isempty(Z)
+                    orbgui('LBox','Z-Reference orbit not available');
+                else
+                    BPM(2).iref = dev2elem(BPMzFamily,Z.DeviceList);
+                    %decompress data
+                    temp        = getfamilydata(BPMzFamily,'Status');
+                    status      = find(temp);
+                    temp(status)= Z.Data;
+                    BPM(2).ref  = temp;
+                    BPM(2).des  = temp;
+                    BPM(2).abs  = temp;
+                    orbgui('LBox','Z-Reference orbit loaded');
+                    if isfield(Z,'FileName'), orbgui('LBox',Z.FileName);
+                    else
+                        orbgui('LBox','Vertical reference orbit loaded');
+                    end
+                end
+
+        end %end case
+
+        if SYS.relative==1   %absolute mode
+            ntbpm      = length(BPM(1).name(:,1));
+            BPM(1).abs = zeros(1,ntbpm)';
+            ntbpm      = length(BPM(2).name(:,1));
+            BPM(2).abs = zeros(1,ntbpm)';
+        end
+
+        [BPM] = SortBPMs(BPM,RSP);
+
+        setappdata(0,'BPM',BPM);
+
+        bpmgui('RePlot');        %reference, desired, absolute
+        orbgui('RefreshOrbGUI');
+
+        %===============================================================
+    case 'ArchiveBPMOrbit'                 % *** ArchiveBPMOrbit ***
+        %===============================================================
+        %archive present orbit as reference orbitref
+        %'X','Z','XZ' options
+        %'Golden' option
+
+        refplane              = varargin{1};
+        [varargin,GoldenFlag] = findkeyword(varargin,'Golden');
+
+        if GoldenFlag
+%             DirectoryName  = getfamilydata('Directory','OpsData');
+%             FileName = getfamilydata('OpsData', 'BPMGoldenFile');
+            tmp = questdlg('Save Golden Reference Orbit (solid blue line)?','Golden Orbit','YES','NO','YES');
+            if strcmp(tmp,'NO')
+                orbgui('LBox', ' Golden orbit save aborted');
+                return
+            end
+        else %search for BPM directory
+            DirStart      = pwd;
+            DirectoryName = getfamilydata('Directory','BPMData');
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+        end
+
+        switch refplane % Select plane to save
+            case 'X' % Horizontal plane
+                BPMxData           = getx('struct');
+                % Modified creator field
+                BPMxData.CreatedBy ='solorbit-readwrite';
+%                 BPMxData.iFit      = BPM(1).ifit;         %on for fitting (contstraint)
+                if GoldenFlag % Golden orbit
+%                     physdatafile   = getfamilydata('OpsData', 'PhysDataFile');
+%                     datastruct     = load(physdatafile); % read old one to get the right format
+%                     PhysData             = getphysdata;
+%                     PhysData.BPMx.Golden = BPMxData;                    
+%                     save GoldenPhysData PhysData
+                    setphysdata(BPMxFamily,'Golden',BPMxData);
+                else % not a golden orbit
+                    FileName = appendtimestamp([getfamilydata('Default', 'BPMArchiveFile'),'x'], clock);
+                    save(FileName, 'BPMxData');
+                end
+                orbgui('LBox', ' BPMx-Reference orbit archived');
+
+            case 'Z' % Vertical plane
+                BPMzData           = getz('struct');
+                BPMzData.CreatedBy = 'solorbit-readwrite';
+%                 BPMzData.iFit      = BPM(2).ifit;         %on for fitting (contstraint)
+                if GoldenFlag
+%                     physdatafile=getfamilydata('OpsData', 'PhysDataFile');
+%                     datastruct=load(physdatafile);
+%                     PhysData             = getphysdata;
+%                     PhysData.BPMz.Golden = BPMzData;                    
+                    setphysdata(BPMzFamily,'Golden',BPMzData);
+%                     datastruct.PhysData.BPMz.Golden=BPMzData;
+%                     PhysData=datastruct.PhysData;
+%                     save GoldenPhysData PhysData
+                else % Not a golden orbit
+                    FileName = appendtimestamp([getfamilydata('Default', 'BPMArchiveFile'),'z'], clock);
+                    save(FileName, 'BPMzData');
+                end
+                orbgui('LBox', ' BPMz-Reference orbit archived');
+
+            case 'XZ' % Both planes
+                BPMxData           = getx('struct');
+                BPMxData.CreatedBy = 'solorbit-readwrite';
+%                 BPMxData.iFit      = BPM(1).ifit;         %on for fitting (contstraint)
+                BPMzData           = getz('struct');
+                BPMzData.CreatedBy = 'solorbit-readwrite';
+%                 BPMzData.iFit      = BPM(2).ifit;
+                if GoldenFlag
+                    setphysdata({BPMxFamily, BPMzFamily},{'Golden', 'Golden'}, {BPMxData, BPMzData});
+%                     physdatafile=getfamilydata('OpsData', 'PhysDataFile');
+%                     datastruct=load(physdatafile);
+%                     datastruct.PhysData.BPMx.Golden=BPMxData;
+%                     datastruct.PhysData.BPMz.Golden=BPMzData;
+%                     PhysData=datastruct.PhysData;
+%                     PhysData             = getphysdata;
+%                     PhysData.BPMx.Golden = BPMxData;                    
+%                     PhysData.BPMx.Golden = BPMzData;                    
+%                     save GoldenPhysData PhysData
+                else % not a golden orbit
+                    FileName = appendtimestamp(getfamilydata('Default', 'BPMArchiveFile'), clock);
+                    save(FileName, 'BPMxData', 'BPMzData');
+                end
+                orbgui('LBox', ' BPMx/z-Reference orbit archived');
+        end
+
+
+        if GoldenFlag, bpmgui('UpdateRef');  %establish new reference orbit, refreshorbgui
+        else
+            cd(DirStart);
+            orbgui('LBox',[' Archive file: ' FileName]);
+        end
+        
+        %=============================================================
+    case 'DialogBox'               % *** DialogBox ***
+        %=============================================================       
+%         figtitle = char(varargin(1));
+        ftype    = char(varargin(2));    %type of file, eg ReadReference: must be case in readwrite
+        
+        %read file options
+        
+        cd(SYS.localdata);
+
+        extype = '*.dat';
+        if strcmp(ftype,'ReadDispersion')  ||...
+           strcmp(ftype,'ReadCorrectors')  ||...
+           strcmp(ftype,'RestoreSystem')
+       
+            if strcmp(ftype,'RestoreSystem')
+                extype = '*.m'; 
+            elseif strcmp(ftype,'ReadDispersion')
+                extype = '*.mat';
+                cd(SYS.etafile);                
+            end
+
+            [FileName,DirSpec] = uigetfile(extype,[ftype, ' - please supply .m extension']);
+
+            ts = datestr(now,0);
+            
+            if isequal(FileName,0) || isequal(DirSpec,0)
+                disp(['File ',[DirSpec FileName],' not found']);
+                orbgui('LBox',[ ts ': File ',[DirSpec FileName],' not found']);
+                return
+            else
+                disp(['File ', [DirSpec FileName], ' found']);
+                orbgui('LBox',['File ', [DirSpec FileName], ' found']);
+                readwrite('ProcessDialog',ftype,DirSpec,FileName);
+                return
+            end
+        end
+
+        %write file options
+        extype = '*.dat';
+        if strcmp(ftype,'WriteCorrectors')  ||...
+                strcmp(ftype,'WriteResponse')    ||...
+                strcmp(ftype,'SaveSystem')
+            if strcmp(ftype,'SaveSystem'), extype = '*.m'; end
+
+            [FileName,DirSpec] = uiputfile(extype,ftype);
+            if isempty(findstr(FileName,'.m')) && strcmpi(ftype,'SaveSystem')
+                FileName = [FileName,'.m'];
+            elseif isempty(findstr(FileName,'.dat')) && ~strcmpi(ftype,'SaveSystem')
+                FileName = [FileName,'.dat'];
+            end
+
+            ts = datestr(now,0);
+            if isequal(FileName,0) || isequal(DirSpec,0)
+                disp('File not open');
+                orbgui('LBox',[ ts ': File not opened...']);
+                return
+            else
+                disp(['File ', [DirSpec FileName], ' open']);
+                orbgui('LBox',['File ', [DirSpec FileName], ' open']);
+                readwrite('ProcessDialog',ftype,DirSpec,FileName);
+                return
+            end
+        end
+
+        %==================
+    case 'ReadResponse'
+        %==================
+
+        FileName =''; %asks user to select Rmatrix
+        
+        temp = getbpmresp(BPM(1).AOFamily, BPM(2).AOFamily, COR(1).AOFamily, ...
+            COR(2).AOFamily,FileName,'struct');
+
+        if isempty(temp)
+            disp('No Response matrix read');
+            return
+        end
+
+        % Fils up matrix reponse structure
+        RSP(1) = response2rsp(temp(1,1),RSP(1),1);
+        RSP(2) = response2rsp(temp(2,2),RSP(2),2);
+
+        BPM = sortbpms(BPM,RSP); %sort for avail, ifit
+        COR = sortcors(COR,RSP); %sort for avail, ifit
+
+        % Updates values into workspace
+        setappdata(0,'BPM',BPM);
+        setappdata(0,'COR',COR);
+        setappdata(0,'RSP',RSP);
+
+        orbgui('RefreshOrbGUI');
+
+        %==============================================================
+    case 'ProcessDialog'                    % *** ProcessDialog ***
+        %==============================================================
+        ftype    = char(varargin(1));
+        DirSpec  = char(varargin(2));
+        FileName = char(varargin(3));
+
+        switch ftype
+
+                %===================
+            case 'ReadDispersion'
+                %===================
+
+                filename = [DirSpec FileName];
+                
+                %% load file
+                temp = load(filename);
+                
+                %% Check data contents
+                if ~isfield(temp,'BPMxDisp') && ~isfield(temp,'BPMyDisp')
+                    disp(['WARNING: Dispersion orbit file not found:' ...
+                        [DirSpec FileName]]);                   
+                    return
+                else % Load data (Dispersion in HW means frequency)
+                    RSP(1).eta = temp.BPMxDisp.Data;
+                    RSP(2).eta = temp.BPMyDisp.Data;
+                end
+
+                %Update RSP
+                setappdata(0,'RSP',RSP);
+
+                %===================
+            case 'ReadCorrectors'
+                %===================
+                [fid,message] = fopen([DirSpec FileName],'r');
+                if fid == -1
+                    disp(['WARNING: Corrector file not found:' [DirSpec FileName]]);
+                    disp(message);
+                    return
+                end
+                fclose(fid);
+
+                readwrite(ftype,[DirSpec FileName],'auto');
+
+                %===================
+            case 'WriteCorrectors'
+                %===================
+                comment = 'Write Correctors';
+                readwrite(ftype,[DirSpec FileName],comment);
+
+                %===================
+            case 'WriteResponse'
+                %===================
+                comment = 'Write Response';
+                readwrite(ftype,[DirSpec FileName],comment);
+
+                %===================
+            case 'RestoreSystem'
+                %===================
+                isok = exist([DirSpec FileName],'file');
+                if ~isok == 2
+                    disp(['WARNING: Restore file not found:' [DirSpec FileName]]);
+                    return
+                end
+                orbgui(ftype,DirSpec,FileName,'auto');
+
+                %===================
+            case 'SaveSystem'
+                %===================
+                comment = 'Save System';
+                orbgui(ftype,[DirSpec FileName],comment);
+
+            otherwise
+                disp(['Warning: no CASE found in readwrite/Dialog Box: ' action]);
+        end   %end of ProcessDialog switch yard
+        %pause(3);    delete(gcf);
+        %=============================================================
+
+%         %=============================================================
+%     case 'OpenHelp'                            % *** OpenHelp ***
+%         %==============================================================
+%         FileName = 'HelpD.m';
+%         fid = fopen(FileName, 'r');
+% 
+%         if fid < 0
+%             disp(['**Warning: Help file "', FileName, '" cannot be found.']);
+%             return
+%         end
+% 
+%         while feof(fid) == 0
+%             t = fgetl(fid);
+%             disp(t);
+%         end
+% 
+%         fclose(fid);
+% 
+        %==============================================================
+    otherwise
+        disp(['Warning: no CASE found in readwrite: ' action]);
+end  %end switchyard
Index: /trunk/machine/SOLEIL/StorageRing/orbit/reforb2zero.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/reforb2zero.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/reforb2zero.m	(revision 17)
@@ -0,0 +1,15 @@
+%=============================================================
+function varargout=RefOrb2Zero(varargin)
+%=============================================================
+%load zeros into reference orbit and associated fields
+bpm = varargin{1};
+
+for ii=1:2                      %horizontal and vertical
+    ntbpm = length(bpm(ii).name(:,ii));
+    bpm(ii).iref= (1:ntbpm)';        %indices for reference orbit
+    bpm(ii).ref = zeros(ntbpm,1);    %reference orbit values
+    bpm(ii).des = bpm(ii).ref;       %desired orbit values
+    bpm(ii).abs = bpm(ii).ref;       %used for plotting wrt reference orbit
+end
+
+varargout{1} = bpm;
Index: /trunk/machine/SOLEIL/StorageRing/orbit/respgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/respgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/respgui.m	(revision 17)
@@ -0,0 +1,667 @@
+function respgui(action, varargin)
+% RESPGUI - Part treating of the response matrice and the correction
+%
+% INPUT
+% 1. action among
+% 
+% PlotSVD_Init
+% SVDotActive
+% MoveDot
+% DotUp
+% PlotSVD
+% SolveSystem
+% BackSubSystem
+% SVDEdit
+% MoveSVDDot
+% DisplayRFFit
+% DisplayNsvd
+% UpdateFit
+% RFToggle
+% ExternalFitOff
+% FitOff
+% DispersionPanel
+% EtaXFlag
+% EtaZFlag
+% 
+
+
+%
+% Written by J. Corbett
+% Adapted by Laurent S. Nadolski
+
+
+% TODO etaflag and rfflag misused
+% rfflag should be for RF correction
+% etaflag should be for Amman factor substraction (to be implemented)
+
+%globals
+global BPM COR RSP SYS
+
+orbfig = findobj(0,'tag','orbfig');
+plane  = SYS.plane;
+
+switch action
+
+    %==========================================================
+    case 'PlotSVD_Init'                  % *** PlotSVD_Init ***
+        %==========================================================
+        %blue, solid dynamic semilog-line for singular value plot.
+        set(SYS.ahsvd,'Color',[1 1 1],'NextPlot','add');
+        %           'ButtonDownFcn','respgui(''SVDotActive'')');
+
+        set(orbfig,'currentaxes',SYS.ahsvd)
+
+        SYS.svdplot = plot(ones(1,RSP(plane).nsvd),'LineStyle','-', ...
+            'Color','b'); %does this tag axes or line?
+        grid on;
+        SYS.lhsvd = SYS.svdplot;
+
+        SYS.lhdot = line('parent',SYS.ahsvd,...
+            'XData',0,'YData',0,...
+            'ButtonDownFcn','respgui(''SVDotActive'');',...
+            'Marker','o','MarkerSize',8,'MarkerFaceColor','r');
+
+
+        %=============================================================
+    case 'SVDotActive'                       % *** SVDotActive ***
+        %=============================================================
+        %used if mouse clicks on SVD plot dot or anywhere in SVD window
+        %activate window-button-motion
+        set(orbfig,'WindowButtonMotionFcn','respgui(''MoveDot'');',...
+            'WindowButtonUpFcn','respgui(''DotUp'')');
+
+        %==========================================================
+    case 'MoveDot'                            % *** MoveDot ***
+        %==========================================================
+        %The callback of the singular value plot dot drag
+        cpa             = get(SYS.ahsvd,'CurrentPoint');
+        RSP(plane).nsvd = round(cpa(1));
+
+        %check for out-of-range drag above
+        if RSP(plane).nsvd > RSP(plane).nsvdmax
+            RSP(plane).nsvd = RSP(plane).nsvdmax;
+        end
+
+        %check for out-of-range drag below
+        if RSP(plane).nsvd <= 0
+            RSP(plane).nsvd = 1;            
+        end
+
+        setappdata(0,'RSP',RSP);
+
+        %re-draw dot
+        % vector of singular values
+        ydat = diag(RSP(plane).S);
+        % index of the dot
+        indx = RSP(plane).nsvd;
+        
+        if indx <= 0, indx = 1; end
+
+        set(SYS.lhdot,'Xdata',RSP(plane).nsvd,'YData',ydat(indx));
+
+        %==========================================================
+    case 'DotUp'                            % *** DotUp ***
+        %==========================================================
+        respgui('MoveDot');
+
+        set(orbfig,'WindowButtonMotionFcn','','WindowButtonUpFcn','');
+        %update edit boxes
+        set(SYS.svdedit,'String',num2str(RSP(plane).nsvd));
+
+        orbgui('RefreshOrbGUI');
+
+        %==========================================================
+    case 'PlotSVD'                             % ***PlotSVD ***
+        %==========================================================
+        %blue, solid dynamic line for singular value plot
+        set(orbfig,'currentaxes',SYS.ahsvd);
+        %...must have fit valid before plotting
+        if RSP(plane).nsvdmax > 1 && RSP(plane).fit == 1 
+            k      = RSP(plane).nsvdmax;
+            ydat   = diag(RSP(plane).S);
+            set(SYS.lhsvd,'Xdata',(1:k),'YData',ydat(1:k));
+            % scale y absciss using log scale
+            axis('tight');
+            %red dot
+            indx = RSP(plane).nsvd;
+            if indx <= 0, indx = 1; end
+            set(SYS.lhdot,'Xdata',RSP(plane).nsvd,'YData',ydat(indx));
+        else %fit not valid
+%             set(SYS.lhsvd,'Xdata',0:10,'YData',ones(1,11));
+%             axis('tight');
+            %no red dot
+            set(SYS.lhdot,'Xdata',[],'YData',[]);
+        end
+
+        %==========================================================
+    case 'SolveSystem'                    % *** SolveSystem ***
+        %==========================================================
+        %solve the system with requested technique (SYS.algo)
+        % 1. check that bpms and correctors selected for fitting
+        % 2. build total response matrix (orbit dispersion)
+        % 3. build total constraint vector (orbit, dispersion)
+        % 4. check dimensions of matrix, constraints
+        % 5. perform inversion
+        % 6. backsubstitute
+        
+        %check for no variables or constraints
+        if isempty(BPM(plane).ifit) || isempty(COR(plane).ifit) 
+            RSP(plane).fit = 0;
+            BPM(plane).fit = zeros(length(BPM(plane).act),1);
+            COR(plane).fit = COR(plane).act;
+            setappdata(0,'RSP',RSP);
+            setappdata(0,'BPM',BPM);
+            setappdata(0,'COR',COR);
+
+            if ~RSP(plane).rfflag %% RF fit only
+                SYS.drf = 0;
+                setappdata(0,'SYS',SYS);
+                orbgui('LBox','Warning: select BPMs and CORs first');
+                disp('Warning: select beam position monitors and correctors first');
+                return
+            end
+        end
+
+        %check for no singular values requested
+        if RSP(plane).nsvd <= 0 && RSP(plane).svdtol <=0
+            disp('   Warning: no singular values or tolerance requested in svdfit');
+            return
+        end
+
+        %========================
+        switch SYS.algo
+            %========================
+            case 'SVD'   %use singular value technique to solve system
+
+                % Index the response matrix
+                %...corrector set
+                ActuatorDeviceList      = elem2dev(COR(plane).AOFamily,COR(plane).ifit);
+                ActuatorDeviceListTotal = elem2dev(COR(plane).AOFamily);
+                [corlist, iNotFound]    = findrowindex(ActuatorDeviceList, ActuatorDeviceListTotal);
+                if ~isempty(iNotFound)
+                    for i = iNotFound(:)',
+                        fprintf('   %s(%d,%d) not found\n', S.Actuator.FamilyName, ...
+                            ActuatorDeviceList(i,1), ActuatorDeviceList(i,2));
+                    end
+                    error('Actuator not found');
+                end
+%                 corwt   = COR(plane).wt(corlist);
+  
+%                 %remove dispersion component if rfflag true
+%                 if RSP(plane).rfflag == 1                             %...subtract rf component
+%                     [BPM] = etaoff(plane,BPM,RSP);                    %...calc dispersion component
+%                 else
+                    BPM(plane).rffit = zeros(length(BPM(plane).s),1); %...initialize to zero
+%                 end
+                setappdata(0,'BPM',BPM);
+
+                %...electron BPM orbit and matrix (compressed)
+%                 eBPMlist = BPM(plane).ifit;                                   %...electron BPM list
+                MonitorDeviceList      = elem2dev(BPM(plane).AOFamily,BPM(plane).ifit);
+                MonitorDeviceListTotal = elem2dev(BPM(plane).AOFamily);
+                [eBPMlist, iNotFound]  = findrowindex(MonitorDeviceList,  MonitorDeviceListTotal);
+                if ~isempty(iNotFound)
+                    for i = iNotFound(:)'
+                        fprintf('   %s(%d,%d) not found\n', S.Monitor.FamilyName, MonitorDeviceList(i,1), MonitorDeviceList(i,2));
+                    end
+                    error('Monitor not found');
+                end
+
+                eBPMval = BPM(plane).act - BPM(plane).des - BPM(plane).rffit;%...actual minus reference orbit
+                eBPMval = BPM(plane).wt.*eBPMval;                            %...apply weights
+                BPMval  = eBPMval(eBPMlist);                                 %...compress residual orbit vector
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                % Build up R-matrix
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                
+                Rmat    = RSP(plane).Data(eBPMlist,corlist);%...use only selected fit indices
+                wt      = diag(BPM(plane).wt(eBPMlist));    %...bpm weights on diagonal
+                Rmat    = wt*Rmat;                          %...weight matrix lines w/ BPM weights before inversion
+
+                %...add dispersion portion of orbit and matrix (compressed)
+                %   NOTE - only electron BPMs selected for orbit fitting used for dispersion fitting
+%                 if RSP(plane).etaflag                                %...check dispersion fitting flag
+%                     etaBPMval = BPM(plane).dsp-BPM(plane).dspref;    %...actual minus reference dispersion
+%                     etaBPMval = diag(BPM(plane).etawt)*etaBPMval(:); %...apply weights
+%                     etaBPMval = etaBPMval(eBPMlist);                 %...compress residual dispersion vector
+%                     BPMval    = [BPMval; etaBPMval];                 %...concatenate electron and dispersion BPM error signals
+% 
+%                     ceta = RSP(plane).eta(eBPMlist,corlist);        %...use only selected fit indices
+%                     wt   = diag(BPM(plane).etawt(eBPMlist));         %...bpm weights on diagonal
+%                     ceta = wt*ceta;                                  %...weight matrix before inversion
+%                     Rmat = [Rmat; ceta];                             %...concatenate dispersion response matrix
+%                 end
+
+                if RSP(plane).etaflag && RSP(plane).rfflag          %...check dispersion fitting flag
+                    eta  = RSP(plane).eta(eBPMlist);            %...use only selected fit indices
+                    %RFWeight = 10*mean(std(Rmat))/std(eta); %...bpm weights on diagonal
+                    RFWeight = 10*mean(std(Rmat))/std(eta); %...bpm weights on diagonal
+                    Rmat = [Rmat RFWeight*eta];             %...concatenate dispersion response matrix
+                end
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                %...perform SVD decomposition
+                %...A=USV'   A-1=VU'/S
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+                [RSP(plane).U , RSP(plane).S, RSP(plane).V] = svd(Rmat,0);    
+                
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                % Determine the singular vector and error check
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                                
+                %... get singular values  
+                S    = diag(RSP(plane).S);
+           
+                %...reject zeros to get nb of nonzero singular values
+                RSP(plane).nsvdmax = length(S(find(S)));      
+                
+                % Check whether singular value number larger than total number 
+                if RSP(plane).nsvd > RSP(plane).nsvdmax
+                    RSP(plane).nsvd = RSP(plane).nsvdmax;
+                    fprintf('Warning: %d zero singular value(s) rejected\n', ...
+                        RSP(plane).nsvd - RSP(plane).nsvdmax)
+                end
+                
+                %...use tolerance method if specified
+                if RSP(plane).svdtol == 0  % user given number
+                    Ivect = 1:RSP(plane).nsvd;
+                else % Tolerance
+                    Ivect = find(S > RSP(plane).svdtol*S(1));
+                    if isempty(Ivect)
+                        disp('   Warning: no singular values requested in svdfit');
+                        RSP(plane).fit = 0; % valid fit flag
+                        return
+                    end
+                end
+
+                %...backsubstitute
+                %Computes first Rmat2=U(1,Ivect)*S(Ivect,Ivect) = Rmat*V(1,:Ivect)
+                Rmat2          =  Rmat*RSP(plane).V(:,Ivect);   
+                SUtBPM         = -Rmat2\BPMval;         
+                Delcm =  RSP(plane).V(:,Ivect)*SUtBPM; %compute actuator values
+                
+                %% Fitted values for correctors
+                if RSP(plane).etaflag && RSP(plane).rfflag % if RF correction
+                    COR(plane).fit = Delcm(1:end-1);
+                    SYS.drf        = RFWeight*Delcm(end);
+                    %% update rf value and rf step for correction
+                    set(SYS.hrf,'String', num2str(getrf(SYS.mode), '%10.7f'));
+                    set(SYS.hdrf,'String',num2str(SYS.drf));
+                else
+                    COR(plane).fit = Delcm;
+                end
+
+                %NOTE: fraction scalar only used at time of corrector application
+
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                %...compute predicted results
+                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%               
+                
+                % Note: use of RSP(plane).Data and not Rmat for orbit
+                % predicted at all BPM required
+                BPM(plane).fit = RSP(plane).Data(eBPMlist,corlist)*COR(plane).fit;
+
+                %% Case of RF correction
+                if RSP(plane).etaflag && RSP(plane).rfflag
+                    BPM(plane).rffit = eta*SYS.drf; 
+                end
+
+                RSP(plane).fit = 1; %...set valid fit flag
+
+                setappdata(0,'BPM',BPM);
+                setappdata(0,'COR',COR);
+                setappdata(0,'RSP',RSP);
+
+            otherwise
+                disp(['Warning: no CASE found in SolveSystem: ' SYS.algo]);
+        end  %end SYS.algo switchyard
+
+        %==========================================================
+%     case 'BackSubSystem'                      % ***BackSubSystem ***
+%         %==========================================================
+%         %backsubstitute to find solution
+%         switch SYS.algo
+% 
+%             case 'SVD'                                % ***BackSubSystem ***
+%                 %callback of svdedit via SVDEdit
+%                 %etaoff has already been called
+% 
+%                 [BPM,BL,COR]      = BackSubSystem(plane,SYS,BPM,BL,COR,RSP);  %also removes eta, bumps
+%                 RSP(plane).nsvdes = RSP(plane).nsvd;
+%                 RSP(plane).nsvd   = SVDMax(SYS,BPM,BL,COR,RSP);
+%                 if RSP(plane).nsvd <= RSP(plane).nsvdes
+%                     [BPM,COR] = BackSubSystem(plane,SYS,BPM,BL,COR,RSP);  %also removes eta, bumps
+%                 end
+% 
+%                 setappdata(0,'BPM',BPM);
+%                 setappdata(0,'COR',COR);
+%                 setappdata(0,'RSP',RSP);
+% 
+%             otherwise
+%                 disp(['Warning: no CASE found in BackSubSystem: ' algorithm]);
+%         end  %end backsubsystem switchyard
+% 
+%         %==========================================================
+    case 'SVDEdit'                            % *** SVDEdit ***
+        %==========================================================
+        %callback of the singular value edit box.
+
+        val = str2double(get(SYS.svdedit,'String'));
+
+        if isnan(val) || ~isnumeric(val) || ~length(val) == 1
+            % flush the bad string out of the edit; replace with current value:
+            set(SYS.svdedit,'String',num2str(RSP(plane).nsvd));
+            orbgui('LBox','Warning: Invalid entry # singular values');
+            disp('Warning: Invalid SVD entry.');
+            return;
+        else
+
+            RSP(plane).nsvd = round(val);
+
+            if RSP(plane).nsvd == 0        %don't allow zero singular values
+                RSP(plane).nsvd = 1;
+                set(SYS.svdedit,'String',num2str(RSP(plane).nsvd));
+            end
+
+            if RSP(plane).nsvd > RSP(plane).nsvdmax
+                orbgui('LBox','Warning: # singular values exceeds maximum');
+                disp(['Warning: number of singular values exceeds maximum: ',num2str(RSP(plane).nsvdmax)])
+                RSP(plane).nsvd=RSP(plane).nsvdmax;
+                set(SYS.svdedit,'String',num2str(RSP(plane).nsvd));
+            end
+
+            setappdata(0,'RSP',RSP);
+
+            respgui('MoveSVDDot');
+            orbgui('RefreshOrbGUI');
+
+        end
+
+%         %============================================================
+%     case 'SVDSlider'                            % *** SVDSlide ***
+%         %============================================================
+%         %The callback of the singular value slider.
+%         %
+%         val = (get(SYS.svdslide,'Value'));
+% 
+%         RSP(plane).nsvd = round(val);
+% 
+% %         if RSP(plane).nsvd == 0
+% %             RSP(plane).nsvd = 1;
+% %         end
+% 
+%         if RSP(plane).nsvd > RSP(plane).nsvdmax
+%             disp(['Warning: number of singular values exceeds maximum: ',num2str(RSP(plane).nsvdmax)])
+%             RSP(plane).nsvd = RSP(plane).nsvdmax;
+%             set(SYS.svdslide,'Value',RSP(plane).nsvd);
+%         end
+% 
+%         setappdata(0,'RSP',RSP);
+% 
+%         set(SYS.svdedit,'String', num2str(RSP(plane).nsvd));
+%         respgui('MoveSVDDot');
+%         orbgui('RefreshOrbGUI');
+% 
+        %==========================================================
+    case 'MoveSVDDot'                       % ***MoveSVDDot ***
+        %==========================================================
+        if isempty(COR(plane).ifit) || RSP(plane).rfflag, return; end
+        
+        % Vector of singular values
+        yd = diag(RSP(plane).S);
+        
+        % default dot is user defined
+        indx = RSP(plane).nsvd;
+
+        if indx <= 0, indx = 1; end
+        
+        % check number of singular values
+        %nb of correctors included RF
+        ncor = length(COR(plane).ifit) + RSP(plane).rfflag; 
+        if RSP(plane).nsvd > ncor 
+            RSP(plane).nsvd = ncor;
+            indx            = ncor;
+        end
+
+        % check fit 
+        if RSP(plane).fit == 1
+            %move the red dot
+            set(SYS.lhdot,'Xdata',RSP(plane).nsvd,'YData',yd(indx));
+        end
+
+        setappdata(0,'RSP',RSP);
+      
+        %==========================================================
+    case 'DisplayRFFit'                         % ***DisplayRFFit ***
+        %==========================================================
+        %update prediction for rf component
+        if RSP(plane).rfflag == 1     %display rf component
+            set(SYS.hdrf,'String', num2str(SYS.drf));
+        end
+
+        %==========================================================
+    case 'DisplayNsvd'                     % ***DisplayNsvd ***
+        %==========================================================
+        %update SVD Slider
+        %                                      'Value',round(RSP(plane).nsvd));
+        %update SVD Edit Field
+        set(SYS.svdedit,'String',num2str(RSP(plane).nsvd));
+
+        %==========================================================
+    case 'UpdateFit'                         % ***UpdateFit ***
+        %==========================================================
+      
+        bpmgui('PlotFit');        %plots orbit fit, updates limits
+        corgui('PlotFit');        %plots corrector fit (don't need to clear), updates ylimits
+        respgui('DisplayRFFit');  %display rf frequency shift
+
+        if strcmp(SYS.algo,'SVD')
+            respgui('PlotSVD');       %...show singular value plot
+            respgui('DisplayNsvd');   %...display number of singular values
+            respgui('MoveSVDDot');    %...move dot to display number of singular values
+            %update eigenvector plot
+            if strcmpi(RSP(plane).eig(1:2), 'of') || RSP(plane).nsvd==0    %Eigenvector display mode
+                set(SYS.lheig,'XData',[],'YData',[]);
+            else
+                bpmgui('PlotEig');                   %plot matrix column vector
+            end
+        end
+
+        %update response matrix plot
+        if strcmpi(RSP(plane).disp(1:2),'of')
+            set(SYS.lhrsp,'XData',[],'YData',[]);
+        else
+            bpmgui('PlotResp');                   %plot matrix column vector
+        end
+
+        %==========================================================
+    case 'RFToggle'                            % ***RFToggle***
+        %==========================================================
+        %callback of the rf component toggle radio button
+        %radio button toggles state and then executes callback
+        %hence, this routine finds the new state
+        h1  = SYS.rftoggle;
+        val = get(h1,'Value');
+        if val == 1                    %state was just toggled 'on'
+            RSP(plane).rfflag = 1;
+            %add RF singular value
+            RSP(plane).nsvdmax = RSP(plane).nsvdmax + 1;
+            RSP(plane).nsvd = RSP(plane).nsvd + 1;
+        else
+            RSP(plane).rfflag = 0;     %state was just toggled 'off'
+            %retrieve RF singular value
+            RSP(plane).nsvdmax = RSP(plane).nsvdmax - 1;
+            RSP(plane).nsvd = RSP(plane).nsvd - 1;
+        end
+
+        setappdata(0,'RSP',RSP);
+
+        respgui('SolveSystem',SYS.algo);
+        respgui('UpdateFit');
+
+        %==========================================================
+    case 'ExternalFitOff'                     %...ExternalFitOff
+        %==========================================================
+        plane = str2double(varargin{1});     %define requested plane
+        RSP(plane).fit = 0;                  %fit not valid
+
+        switch SYS.algo
+            case 'SVD'
+                RSP(plane).nsvd = 0;
+                setappdata(0,'RSP',RSP);
+        end
+
+
+        %==========================================================
+    case 'FitOff'                             %...FitOff
+        %==========================================================
+        %clear graphics because fit invalid
+        plane = str2double(varargin{1});    %define requested plane
+
+        RSP(plane).fit = 0;                 %fit not valid
+        RSP(plane).U   = [];
+        RSP(plane).S   = [];
+        RSP(plane).V   = [];
+        setappdata(0,'RSP',RSP);
+
+        set(SYS.hdrf,'String', '0.0');
+        %zero out fitting variables
+        BPM(plane).fit = zeros(size(BPM(plane).name,1),1);
+        setappdata(0,'BPM',BPM);
+
+        ncor=length(COR(plane).ifit);
+        COR(plane).fit = zeros(ncor,1);   %COR.fit is compressed
+        COR(plane).sav = COR(plane).fit;  %zero out save vector
+        setappdata(0,'COR',COR);
+
+        bpmgui('ClearPlots');          %remove all bpm fitting plots
+        corgui('ClearFit');            %remove all cor fitting plots
+        corgui('ylimits');
+
+        switch SYS.algo
+            case 'SVD'
+                %RSP=getappdata(0,'RSP');
+                RSP(plane).nsvdmax = 1;
+                RSP(plane).nsvd    = 1;      %keep one singular value - all correctors off then one on
+                setappdata(0,'RSP',RSP);
+                set(SYS.svdedit,'String',num2str(1));  %SVD display box
+                respgui('PlotSVD');
+        end
+
+        %==========================================================
+    case 'DispersionPanel'                   %  DispersionPanel
+        %==========================================================
+        %----------------------------------------------------------------
+        %  create figure
+        %----------------------------------------------------------------
+        h = findobj(0,'tag','dispersionpanel');
+        
+        if ~isempty(h)
+            delete(h);
+        end
+
+        [screen_wide, screen_high] = screensizecm;
+        fig_start = [0.4*screen_wide 0.5*screen_high];
+        fig_size  = [0.5*screen_wide 0.25*screen_high];
+        %----------------------------------------------------------------
+        figh = figure('units','centimeters',...  %...Dispersion Control Figure
+            'Position',[fig_start fig_size],...
+            'tag','dispersionpanel',...
+            'NumberTitle','off',...
+            'Doublebuffer','on',...
+            'Visible','On',...
+            'Name','Dispersion Fitting Control Panel',...
+            'PaperPositionMode','Auto');
+        set(figh,'MenuBar','None');
+        %------------------------------------------------------------------
+
+        %Radio Dispersion On/Off
+        uicontrol('Style','radiobutton',...	 %Radio Horizontal Dispersion On/Off
+            'units', 'normalize', ...
+            'Position', [.05 .8 .3 .1], ...
+            'String','Fit Eta-X',...
+            'Tag','etaxflag',...
+            'Value',RSP(1).etaflag,...
+            'ToolTipString','Fit Horizontal Dispersion',...
+            'FontSize',8,'FontWeight','demi',...
+            'Callback','respgui(''EtaXFlag'')');
+
+        uicontrol('Style','radiobutton',...	 %Radio Vertical Dispersion On/Off
+            'units', 'normalize', ...
+            'Position', [.5 .8 .3 .1], ...
+            'String','Fit Eta-Z',...
+            'Tag','etazflag',...
+            'Value',RSP(2).etaflag,...
+            'ToolTipString','Fit Vertical Dispersion',...
+            'FontSize',8,'FontWeight','demi',...
+            'Callback','respgui(''EtaZFlag'')');
+
+        %Select Horizontal Dispersion Weights
+        cback = 'rload(''GenFig'',BPM(1).name,BPM(1).status,BPM(1).ifit,';
+        cback = [cback 'BPM(1).etawt,''Horizontal BPMs for Eta Fitting'',''etaxwt'');'];
+        %instructions are used during 'load' procedure of rload window
+        instructions = [...
+            '   global BPM;',...
+            '   tlist = get(gcf,''UserData'');',...
+            '   BPM(1).etawt=tlist{4};',...
+            '   setappdata(0,''BPM'',BPM);',...
+            '   orbgui(''RefreshOrbGUI'');'];
+
+        uicontrol('Style','pushbutton',...	                       %Select Horizontal Dispersion Weights
+            'units', 'normalize', ...
+            'Position', [.05 .65 .3 .1], ...
+            'String','Select x-BPM Weights',...
+            'tag','etaxwt',...
+            'Callback',cback,...
+            'Userdata',instructions);
+
+        %Select Vertical Dispersion Weights
+        cback='rload(''GenFig'',BPM(2).name,BPM(2).status,BPM(2).ifit,';
+        cback=[cback 'BPM(2).etawt,''Horizontal BPMs for Eta Fitting'',''etaywt'');'];
+        %instructions are used during 'load' procedure of rload window
+        instructions=[...
+            '   global BPM;',...
+            '   tlist = get(gcf,''UserData'');',...
+            '   BPM(2).etawt=tlist{4};',...
+            '   setappdata(0,''BPM'',BPM);',...
+            '   orbgui(''RefreshOrbGUI'');'];
+
+        uicontrol('Style','pushbutton',... %Select Vertical Dispersion Weights
+            'units', 'normalize', ...
+            'Position', [.5 .65 .3 .1], ...
+            'String','Select z-BPM Weights',...
+            'tag','etaywt',...
+            'Callback',cback,...
+            'Userdata',instructions);
+
+        %==========================================================
+    case 'EtaXFlag'                   %  EtaXFlag
+        %==========================================================
+        RSP(1).etaflag = 0;
+        h = findobj(gcf,'tag','etaxflag');
+        val = get(h,'value');
+        if val == 1
+            RSP(1).etaflag = 1;
+            setappdata(0,'RSP',RSP);
+        end
+
+        %% TODO merge ETAXZflag function 
+        
+        %==========================================================
+    case 'EtaZFlag'                   %  EtaZFlag
+        %==========================================================
+        RSP(2).etaflag = 0;
+        h = findobj(gcf,'tag','etazflag');
+        val = get(h,'value');
+        if val == 1
+            RSP(2).etaflag=1;
+            setappdata(0,'RSP',RSP);
+        end
+
+
+        %==========================================================
+    otherwise
+        disp(['Warning: no CASE found in respgui: ' action]);
+end  %end switchyard
Index: /trunk/machine/SOLEIL/StorageRing/orbit/response2rsp.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/response2rsp.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/response2rsp.m	(revision 17)
@@ -0,0 +1,41 @@
+function rsp = response2rsp(datastruct,rsp,plane)
+%RESPONSE2RSP - Loads middlelayer response matrix data format into orbit program response structure
+% 
+% INPUTS
+% 1. rsp = model orbit program response structure
+% 2. datastruct = middlelayer response matrix data format
+%
+% OUTPUTS
+% rsp = modified orbit program response structure
+
+%
+% Written by William J. Corbett
+% Modified by Laurent S. Nadolski
+
+% BPMFamily = {'BPMx', 'BPMz'};
+% CORFamily = {'HCOR' , 'VCOR' };
+global BPM COR
+
+[BPMFamily{1}, BPMFamily{2}] = BPM.AOFamily;
+[CORFamily{1}, CORFamily{2}] = COR.AOFamily;
+
+temp = datastruct;
+
+if iscell(temp)
+    temp = temp{1}
+end
+
+if ~exist('plane','var') % treat both planes
+  for ip = 1:2
+   rsp(ip).ib            = dev2elem(BPMFamily{ip},temp(ip,ip).Monitor.DeviceList);   %BPM index list
+   rsp(ip).ic            = dev2elem(CORFamily{ip},temp(ip,ip).Actuator.DeviceList);  %corrector index list
+   rsp(ip).Data          = temp(ip,ip).Data;                                         %response matrix INCLUDING NaN ENTRIES
+   rsp(ip).ActuatorDelta = temp(ip,ip).ActuatorDelta;                                %corrector currents
+  end
+else % treat one single plane
+   ip                  = plane;
+   rsp.ib              = dev2elem(BPMFamily{ip},temp.Monitor.DeviceList);  %BPM index list
+   rsp.ic              = dev2elem(CORFamily{ip},temp.Actuator.DeviceList); %corrector index list
+   rsp.Data            = temp.Data;                                        %response matrix INCLUDING NaN ENTRIES
+   rsp.ActuatorDelta   = temp.ActuatorDelta;                               %corrector currents
+end
Index: /trunk/machine/SOLEIL/StorageRing/orbit/restoreorbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/restoreorbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/restoreorbit.m	(revision 17)
@@ -0,0 +1,138 @@
+function varargout = restoreorbit(varargin)
+%RESTOREORBIT - Reads saved data from file
+%load structures sys, bpm, cor, rsp for return
+%no graphics in this routine
+%
+% INPUTS
+% 1. Directory name
+% 2. Filename
+% 3. 'auto' - for non interactif
+% 4. SYS structure
+% 5. BPM structure
+% 6. COR structutre
+% 7. RSP strucutre
+%
+% See also soleilrestore, readwrite, orbgui('SaveSet'), orbgui('SaveSystem')
+
+%
+% Written by William J. Corbett
+% Modified by Laurent S. Nadolski
+
+%% Get input arguments
+
+DirSpec = char(varargin(1)); 
+FileName= char(varargin(2)); 
+auto    = char(varargin(3)); 
+sys     = varargin{4};    
+bpm     = varargin{5};    
+cor     = varargin{6};    
+rsp     = varargin{7};    
+
+%=================================
+%% check automatic file load request
+%=================================
+if ~strcmp(auto,'auto') == 1
+    answer = input('Load Restore File? Y/N [Y]: ','s');
+    if isempty(answer), answer ='n'; end
+    if answer =='n' || answer == 'N'
+        disp('WARNING: Restore File NOT LOADED');
+        fclose(fid);
+        return
+    end
+end
+
+%===========================
+%% execute script in save file
+%===========================
+disp(['   Loading restore file... ', FileName]);
+
+%save file is a script - contains sys, bpm, cor, rsp, bpmx, bpmz, corx,
+%corz
+run([DirSpec FileName]);     
+
+if ~strcmpi(filetype,'Restore')
+    disp(['Warning: improper file specification - ' upper(filetype)]);
+    return
+else
+    clear filetype
+end
+
+sys.xlimax = sys.maxs;           %...scaling for abcissa
+
+%=========================================================
+%% load BPM to Corrector response matrices
+%=========================================================
+
+% automatically load golden response
+temp = getbpmresp('struct');    
+
+%% HU640 obsolete
+%temp = getbpmresp('BPMx', 'BPMz', 'HCOR', 'VCOR', [getfamilydata('Directory','BPMResponse') 'BPMRespMat_HU640.mat'],'struct');
+%% end HU640
+
+% Transform to orbit format
+rsp = response2rsp(temp,rsp);
+
+% read golden eta function (HW, frequency units)
+%rsp(1).eta = getphysdata(bpm(1).AOFamily,'Dispersion');
+%rsp(2).eta = getphysdata(bpm(2).AOFamily,'Dispersion');
+
+%read golden lattice
+rsp(1).eta = getdisp;
+rsp(2).eta = rsp(1).eta*0;
+
+%=======================================================================
+%% load BPM and COR data from cell arrays acquired while running save file
+%=======================================================================
+%horizontal BPM
+for ii = 1 : size(bpmx,1),
+    bpm(1).ifit(ii) = bpmx{ii}{3};     %convert from cell to real
+    bpm(1).wt(ii)   = bpmx{ii}{4};
+    bpm(1).etawt(ii)= bpmx{ii}{5};
+end
+bpm(1).ifit = find(bpm(1).ifit);       %compress fitting vector
+
+%horizontal corrector
+for ii = 1:size(corx,1),
+    cor(1).ifit(ii)=corx{ii}{3};       %convert from cell to real
+    cor(1).wt(ii)  =corx{ii}{4};
+end
+cor(1).ifit = find(cor(1).ifit);       %compress fitting vector
+
+%vertical BPM
+for ii = 1:size(bpmz,1),
+    bpm(2).ifit(ii)  = bpmz{ii}{3};    %convert from cell to real
+    bpm(2).wt(ii)    = bpmz{ii}{4};
+    bpm(2).etawt(ii) = bpmz{ii}{5};
+end
+bpm(2).ifit = find(bpm(2).ifit);       %compress fitting vector
+
+%vertical corrector
+for ii = 1:size(corz,1),
+    cor(2).ifit(ii) = corz{ii}{3};     %convert from cell to real
+    cor(2).wt(ii)   = corz{ii}{4};
+end
+cor(2).ifit = find(cor(2).ifit);       %compress fitting vector
+
+%==========================================================
+%% load corrector limits and response matrix kicks via AO
+%==========================================================
+AO = getao;
+
+%good = find(getfamilydata(cor(1).AOFamily,'Status'));
+cor(1).lim = abs(AO.(cor(1).AOFamily).Setpoint.Range(:,1));  %corrector limits
+%cor(1).lim = cor(1).lim(good); 
+cor(1).ebpm=AO.(cor(1).AOFamily).Setpoint.DeltaRespMat;      %kicks for response matrix
+%cor(1).ebpm = cor(1).ebpm(good); 
+
+cor(2).lim =abs(AO.(cor(2).AOFamily).Setpoint.Range(:,1));
+%cor(2).lim = cor(2).lim(good); 
+cor(2).ebpm=AO.(cor(2).AOFamily).Setpoint.DeltaRespMat;
+%cor(2).ebpm = cor(2).ebpm(good); 
+
+disp(['   Finished loading restore file... ',FileName]);
+
+varargout{1} = sys;
+varargout{2} = bpm;
+varargout{3} = cor;
+varargout{4} = rsp;
Index: /trunk/machine/SOLEIL/StorageRing/orbit/rload.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/rload.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/rload.m	(revision 17)
@@ -0,0 +1,295 @@
+function varargout = rload(action, varargin)
+%enter real numbers into field of input structure
+
+switch action
+%...GenFig//ExecPar
+%...DelFigure
+%...getWord//GetElement//num
+%=============================================================
+case 'GenFig'
+%=============================================================
+% This function generates the figure which holds
+% list of elements for real field selection by the user.
+% Only re-draw figure after final OK (DeleteFigure)
+name=varargin(1);    name=name{1};
+avail=varargin(2);   avail=avail{1};
+status=varargin(3);  status=status{1};
+value=varargin(4);   value=value{1};
+title=varargin(5);   title=title{1};
+tag=varargin(6);     tag=tag{1};
+tlist=varargin(1:4);   %temporary lists
+
+%test if toggle panel already exists
+h= findobj(0,'tag',['rload_' tag]);
+if ~isempty(h) 
+    delete(h); 
+end
+
+newFig = figure('Position',[100 400 900 550],...
+		'UserData',tlist,...
+		'NumberTitle','off',...
+        'tag',['rload_' tag],...
+		'Name',['Element Selection: ' title],...
+    'MenuBar','none');
+		
+xpos = 20;   		%initial x and y offsets of the button
+ypos = 530;  %330
+
+for ind = 1:length(name)
+
+	ypos = ypos - 20;
+	if ypos < 50			%go to new column if full
+		ypos = 510;  %310
+		xpos = xpos + 180;
+	end
+
+        color='r';          %default
+        
+        if ~isempty(avail)
+		if ~isempty(find(avail==ind))
+			color = 'y';    %status ok ==> yellow
+		end
+        end
+        
+        if ~isempty(status)
+		if ~isempty(find(status==ind))
+			color = 'g';    %status ok ==> green
+		end
+        end
+        
+	uicontrol('Style','frame',...
+	'Position',[xpos-1 ypos-1 72 22]);            %name frame
+	uicontrol('Style','Text', ...
+		'Position',[xpos ypos 70 20], ...
+		'ForegroundColor','k', ...
+		'BackgroundColor',color, ...
+        'FontSize',9,...
+		'String',name(ind,:));                   %name
+
+	uicontrol('Style','frame',...
+	'Position',[xpos+75-1 ypos-1 72 22]);       %value frames
+
+  uicontrol('Style','Edit', ...                 %Edit boxes
+		'Position',[xpos+75 ypos 70 20], ...
+		'ForegroundColor','k', ...
+		'BackgroundColor',color, ...
+        'FontSize',9,...
+		'tag',['rl' num2str(ind)],...
+		'String',value(ind));
+end   %end loop on elements
+
+uicontrol('Style','pushbutton',...
+          'Position',[10 10 200 30],...
+          'String','Load Values',...
+          'Callback','rload(''LoadValues'')',...
+          'Tag','rload',...
+          'Userdata',tag);                         %Load New Values
+      
+%%%%%%%%
+delta=1.0;
+uicontrol('Style','frame',...
+          'Position',[250-delta 10-delta 80+2*delta 30+2*delta]);                 %All Values Same Frame
+
+      uicontrol('Style','text',...
+          'Position',[250 10 80 30],...
+          'String','All Values Same:');           %All Values Same Text
+      
+uicontrol('Style','edit',...
+          'Position',[350 10 50 30],...
+          'String','NaN',...
+          'Tag','allvalues',...
+          'Callback','rload(''AllValues'')');      %All Values Same
+%%%%%%%%
+
+uicontrol('Style','pushbutton',...
+          'Position',[550 10 60 30],...
+          'String','Cancel',...
+          'Callback','delete(gcf)');               %Cancel button
+
+%=============================================================
+case 'AllValues'                             % *** AllValues ***
+%=============================================================
+h=findobj(gcf,'tag','allvalues');
+
+%retrieve value
+val=get(h,'String');
+val=str2num(val);
+if isnan(val)
+    return
+end
+
+%load value into all fields
+tlist = get(gcf,'UserData');    
+name=tlist{1};
+avail=tlist{2};
+status=tlist{3};
+
+for ind = 1:length(name)
+    if find(ind==avail) & find(ind==status)
+	  rh=findobj(gcf,'tag',['rl' num2str(ind)]);
+      set(rh,'String',num2str(val));
+   end
+end
+
+
+
+
+%=============================================================
+case 'LoadValues'                             % *** LoadValues ***
+%=============================================================
+%Callback of the 'LoadValues' button in the GenFig
+tlist = get(gcf,'UserData');    
+name=tlist{1};
+avail=tlist{2};
+status=tlist{3};
+value=tlist{4};
+
+% for ind = 1:length(name)
+% 	  rh=findobj(gcf,'tag',['rl' num2str(ind)]);
+%       value(ind)=str2num(get(rh,'String'));
+% end   
+for ind = 1:length(name)
+	  rh=findobj(gcf,'tag',['rl' num2str(ind)]);
+      val=str2double(get(rh,'String'));
+      
+      %only load into value array if 'val' is a valid real number
+  if isnan(val) | ~isnumeric(val) | ~length(val)==1
+      %flush the bad string out of the edit; replace with current value
+      set(rh,'String',value(ind));
+      disp(['Warning: Invalid load value entry: ', name(ind,:)]);
+      orbgui('LBox',['Warning: Invalid load value entry: ', name(ind,:)]);
+  else
+      value(ind)=val;
+  end
+      
+
+end   
+tlist=[{tlist{1}} {tlist{2}} {tlist{3}} {value}];
+set(gcf,'UserData',tlist);      
+hload=findobj(0,'Tag','rload'); %get handle of 'load' button
+hload=gco;
+tag=get(hload,'Userdata');      %get tag of caller from load button Userdata
+h=findobj(0,'Tag',tag);         %get handle of caller
+instr=get(h,'Userdata');        %get instruction set from caller
+eval(instr);                    %evaluate instruction set
+
+%=============================================================
+otherwise
+disp('Warning: no CASE found in rload');
+disp(action);
+end   %	End Switchyard
+
+
+
+%********************
+function [word,k] = getWord(line, i)
+%********************
+
+%getWord reads one 'word' or token at a time from a line of char.
+
+%Input: line is the line being read, i is the pointer to the index
+%        within that line.
+
+%Output:word is the token being returned to the main program.
+%       k is the returned value of i for the main to keep track of.
+
+
+word = [];
+
+if ~isempty(line)
+
+while line(i) == ' '
+  i = i + 1;
+end
+
+while line(i) ~= ' ' 
+  word = [word line(i)];
+  i = i+1;
+
+  if i > length(line)
+	break;
+  end
+end
+
+end
+
+k = i;
+
+
+
+%*************************
+function [index,num,k] = getElmnt(line,i)
+%*************************
+
+% getElmnt reads the values stored for a specific element in the file
+% for use in the array.
+
+% Input: line is the line of text from the file being read.
+%        i is the index pointer in that line.
+
+% Output:index and num are data returned to the main program.
+%        index is the element index (ex: ibpmx)
+%        num is the data for that element (ex: 1.83E-01).
+
+%        k is the value of i returned to the main program 
+%        to keep track of things. 
+
+                  
+while line(i) == ' '
+	i = i + 1;
+end
+
+index = [];
+while ~(line(i) == ' ') & ~(line(i) == '-')
+	index = [index line(i)];
+	i = i + 1;
+end
+index = str2num(index);
+
+if line(i) == ' '
+	i = i + 1;
+end
+
+num = [];
+while line(i) ~= ' '
+	num = [num line(i)];
+	i = i + 1;
+
+	if i > length(line)
+		break;
+	end
+end
+num = sci2num(num);
+
+k = i;
+
+
+
+%********************* 
+function num = sci2num(str)
+%*********************
+
+%Transforms a number from scientific notation to standard form 
+%for the program to manipulate.
+
+a = [];
+
+i = 1;
+while str(i) ~= 'E'
+	a = [a str(i)];
+	i = i + 1;
+end
+
+a = str2num(a);
+
+sign = str(i + 1);
+i = i + 2;
+
+p = [str(i) str(i + 1)];
+p = str2num(p);
+
+if sign == '+'
+	num = a*(10^p);
+else
+	num = a*(10^(p * -1));
+end   
Index: /trunk/machine/SOLEIL/StorageRing/orbit/soleilrestore.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/soleilrestore.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/soleilrestore.m	(revision 17)
@@ -0,0 +1,1151 @@
+%function [sys,bpmx,bpmz,bpm,corx,corz,cor,rsp,bly]=soleilrestore
+%system parameter save file
+%timestamp: done by hand
+%comment: Save System
+
+%
+% Modified by Laurent S. Nadolski
+
+%% This file is part of the definition of the interface
+%% Do not edit without mastering the contents.
+%% TODO LAURENT : WARNING QUICK FIX just for a try !!!!!
+
+AD = getad;
+filetype         = 'Restore';      %check to see if correct file type
+sys.machine      = 'Ring';         %machine for control
+% sys.bpmode       = 'slowacquisition'; %BPM system mode
+sys.bpmslp       = 0.1;            %BPM sleep time in sec
+sys.globalperiod = 2.0;            %BPM sleep time in sec
+% sys.silverperiod = 2.0;            %BPM sleep time in sec
+sys.plane        = 1;              %plane (1=horizontal 2=vertical)
+sys.algo         = 'SVD';          %fitting algorithm
+sys.filepath     = AD.Directory.Orbit;       %file path in MATLAB
+% sys.reffile      = [sys.filepath 'soleilsilver.dat']; %reference orbit file
+sys.respfiledir  = AD.Directory.OpsData;             %response matrix directory
+sys.respfilename = AD.OpsData.BPMRespFile;           %response matrix file
+sys.etafile      = AD.Directory.DispData;            %dispersion file
+sys.relative     = 1;              %relative or absolute BPM plot 1=absolute, 2=relative
+% sys.fdbk         = 0;              %no feedback
+% sys.abort        = 0;              %reset abort flag
+sys.maxs          = AD.Circumference; %maximum ring circumference
+sys.xlimax       = sys.maxs;        %abcissa plot limit
+sys.maxphi(1)     = 10;             %maximum horizontal phase ADvance
+sys.maxphi(2)     = 8;              %maximum vertical phase ADvance
+sys.xscale       = 'meter';        %abcissa plotting mode (meter or phase)
+sys.drf          = 0;              %RF in HW units correction if required 
+%*=== HORIZONTAL DATA ===*
+% bpm(1).dev      = 10;              %maximum orbit deviation
+bpm(1).id       = 1;               %BPM selection
+bpm(1).scalemode= 1;               %BPM scale mode 0=manual mode, 1=autoscale
+bpm(1).ylim     = 5;               %BPM vertical axis scale
+bpm(1).units    = '1000xHardware'; %Display Units
+bpm(1).scale    = 1000;            %Scaling factor
+cor(1).fract    = 1.0;             %fraction of correctors
+cor(1).id       = 1;               %COR selection
+cor(1).scalemode= 0;               %COR scale mode 0=manual mode, 1=autoscale
+cor(1).ylim     = maxn(getfamilydata(cor(1).AOFamily,'Setpoint','Range'));  %COR horizontal axis scale (amp)
+cor(1).units    = 'Hardware';      %Display Units
+cor(1).hw2physics = hw2physics(cor(1).AOFamily,'Setpoint',1,1)*1e3; % mrAD
+rsp(1).disp     = 'off';           %mode for matrix column display
+rsp(1).eig      = 'off';           %mode for eigenvector display
+rsp(1).fit      = 0;               %valid fit flag
+rsp(1).rfflag   = 0;               %rf fitting flag
+rsp(1).etaflag  = 1;               %dispersion fitting flag
+rsp(1).savflag  = 0;               %save solution flag
+rsp(1).nsvd     = 56;              %number of singular values
+rsp(1).svdtol   = 0;               %svd tolerance (0 uses number of singular values)
+rsp(1).nsvdmax  = 1;               %default maximum number of singular values
+ 
+%Note: only fit and weight for fitting will be used in orbit program from this array
+%      Name and index are loADed from middleware
+%     name       index  fit (0/1) weight etaweight
+% bpmx={
+% {    '1BPM1    '     1      1      1.000   0.000     }
+
+%%% TO DO ERASE for automatic way if no previous file exist
+
+% A1 = family2common('BPMx');
+% A2 = (1:120)';
+% A3 = ones(120,1);
+% A4 = ones(120,1);
+% A5 = zeros(120,1);
+% 
+% for k = 1:120
+%     bpmx{k} = {A1(k,:),A2(k),A3(k),A4(k),A5(k)};
+% end
+% bpmx = bpmx';
+
+%BPM data: name, index, fit,  weight
+bpmx={
+{  'BPMx001'     1     1      1.000    0.000 }
+{  'BPMx002'     2     2      1.000    0.000 }
+{  'BPMx003'     3     3      1.000    0.000 }
+{  'BPMx004'     4     4      1.000    0.000 }
+{  'BPMx005'     5     5      1.000    0.000 }
+{  'BPMx006'     6     6      1.000    0.000 }
+{  'BPMx007'     7     7      1.000    0.000 }
+{  'BPMx008'     8     8      1.000    0.000 }
+{  'BPMx009'     9     9      1.000    0.000 }
+{  'BPMx010'    10    10      1.000    0.000 }
+{  'BPMx011'    11    11      1.000    0.000 }
+{  'BPMx012'    12    12      1.000    0.000 }
+{  'BPMx013'    13    13      1.000    0.000 }
+{  'BPMx014'    14    14      1.000    0.000 }
+{  'BPMx015'    15    15      1.000    0.000 }
+{  'BPMx016'    16    16      1.000    0.000 }
+{  'BPMx017'    17    17      1.000    0.000 }
+{  'BPMx018'    18    18      1.000    0.000 }
+{  'BPMx019'    19    19      1.000    0.000 }
+{  'BPMx020'    20    20      1.000    0.000 }
+{  'BPMx021'    21    21      1.000    0.000 }
+{  'BPMx022'    22    22      1.000    0.000 }
+{  'BPMx023'    23    23      1.000    0.000 }
+{  'BPMx024'    24    24      1.000    0.000 }
+{  'BPMx025'    25    25      1.000    0.000 }
+{  'BPMx026'    26    26      1.000    0.000 }
+{  'BPMx027'    27    27      1.000    0.000 }
+{  'BPMx028'    28    28      1.000    0.000 }
+{  'BPMx029'    29    29      1.000    0.000 }
+{  'BPMx030'    30    30      1.000    0.000 }
+{  'BPMx031'    31    31      1.000    0.000 }
+{  'BPMx032'    32    32      1.000    0.000 }
+{  'BPMx033'    33    33      1.000    0.000 }
+{  'BPMx034'    34    34      1.000    0.000 }
+{  'BPMx035'    35    35      1.000    0.000 }
+{  'BPMx036'    36    36      1.000    0.000 }
+{  'BPMx037'    37    37      1.000    0.000 }
+{  'BPMx038'    38    38      1.000    0.000 }
+{  'BPMx039'    39    39      1.000    0.000 }
+{  'BPMx040'    40    40      1.000    0.000 }
+{  'BPMx041'    41    41      1.000    0.000 }
+{  'BPMx042'    42    42      1.000    0.000 }
+{  'BPMx043'    43    43      1.000    0.000 }
+{  'BPMx044'    44    44      1.000    0.000 }
+{  'BPMx045'    45    45      1.000    0.000 }
+{  'BPMx046'    46    46      1.000    0.000 }
+{  'BPMx047'    47    47      1.000    0.000 }
+{  'BPMx048'    48    48      1.000    0.000 }
+{  'BPMx049'    49    49      1.000    0.000 }
+{  'BPMx050'    50    50      1.000    0.000 }
+{  'BPMx051'    51    51      1.000    0.000 }
+{  'BPMx052'    52    52      1.000    0.000 }
+{  'BPMx053'    53    53      1.000    0.000 }
+{  'BPMx054'    54    54      1.000    0.000 }
+{  'BPMx055'    55    55      1.000    0.000 }
+{  'BPMx056'    56    56      1.000    0.000 }
+{  'BPMx057'    57    57      1.000    0.000 }
+{  'BPMx058'    58    58      1.000    0.000 }
+{  'BPMx059'    59    59      1.000    0.000 }
+{  'BPMx060'    60    60      1.000    0.000 }
+{  'BPMx061'    61    61      1.000    0.000 }
+{  'BPMx062'    62    62      1.000    0.000 }
+{  'BPMx063'    63    63      1.000    0.000 }
+{  'BPMx064'    64    64      1.000    0.000 }
+{  'BPMx065'    65    65      1.000    0.000 }
+{  'BPMx066'    66    66      1.000    0.000 }
+{  'BPMx067'    67    67      1.000    0.000 }
+{  'BPMx068'    68    68      1.000    0.000 }
+{  'BPMx069'    69    69      1.000    0.000 }
+{  'BPMx070'    70    70      1.000    0.000 }
+{  'BPMx071'    71    71      1.000    0.000 }
+{  'BPMx072'    72    72      1.000    0.000 }
+{  'BPMx073'    73    73      1.000    0.000 }
+{  'BPMx074'    74    74      1.000    0.000 }
+{  'BPMx075'    75    75      1.000    0.000 }
+{  'BPMx076'    76    76      1.000    0.000 }
+{  'BPMx077'    77    77      1.000    0.000 }
+{  'BPMx078'    78    78      1.000    0.000 }
+{  'BPMx079'    79    79      1.000    0.000 }
+{  'BPMx080'    80    80      1.000    0.000 }
+{  'BPMx081'    81    81      1.000    0.000 }
+{  'BPMx082'    82    82      1.000    0.000 }
+{  'BPMx083'    83    83      1.000    0.000 }
+{  'BPMx084'    84    84      1.000    0.000 }
+{  'BPMx085'    85    85      1.000    0.000 }
+{  'BPMx086'    86    86      1.000    0.000 }
+{  'BPMx087'    87    87      1.000    0.000 }
+{  'BPMx088'    88    88      1.000    0.000 }
+{  'BPMx089'    89    89      1.000    0.000 }
+{  'BPMx090'    90    90      1.000    0.000 }
+{  'BPMx091'    91    91      1.000    0.000 }
+{  'BPMx092'    92    92      1.000    0.000 }
+{  'BPMx093'    93    93      1.000    0.000 }
+{  'BPMx094'    94    94      1.000    0.000 }
+{  'BPMx095'    95    95      1.000    0.000 }
+{  'BPMx096'    96    96      1.000    0.000 }
+{  'BPMx097'    97    97      1.000    0.000 }
+{  'BPMx098'    98    98      1.000    0.000 }
+{  'BPMx099'    99    99      1.000    0.000 }
+{  'BPMx100'   100   100      1.000    0.000 }
+{  'BPMx101'   101   101      1.000    0.000 }
+{  'BPMx102'   102   102      1.000    0.000 }
+{  'BPMx103'   103   103      1.000    0.000 }
+{  'BPMx104'   104   104      1.000    0.000 }
+{  'BPMx105'   105   105      1.000    0.000 }
+{  'BPMx106'   106   106      1.000    0.000 }
+{  'BPMx107'   107   107      1.000    0.000 }
+{  'BPMx108'   108   108      1.000    0.000 }
+{  'BPMx109'   109   109      1.000    0.000 }
+{  'BPMx110'   110   110      1.000    0.000 }
+{  'BPMx111'   111   111      1.000    0.000 }
+{  'BPMx112'   112   112      1.000    0.000 }
+{  'BPMx113'   113   113      1.000    0.000 }
+{  'BPMx114'   114   114      1.000    0.000 }
+{  'BPMx115'   115   115      1.000    0.000 }
+{  'BPMx116'   116   116      1.000    0.000 }
+{  'BPMx117'   117   117      1.000    0.000 }
+{  'BPMx118'   118   118      1.000    0.000 }
+{  'BPMx119'   119   119      1.000    0.000 }
+{  'BPMx120'   120   120      1.000    0.000 }
+};
+
+
+%Note: only fit, weight for fitting will be used in orbit program from this array
+%      Name and index are loADed from middleware
+% name    index fit (0/1)  weight
+% corx={
+% {'1CX1    '  1   1   1.0    }
+
+%%% TO DO ERASE for automatic way if no previous file exist
+% family = 'HCOR';
+% good   = getfamilydata(family,'Status');
+% DeviceList = family2dev(family,0);
+% A1 = family2common(family,DeviceList,0);
+% nb = length(good);
+% A2 = (1:nb)';
+% A3 = ones(nb,1).*good;
+% A4 = ones(nb,1);
+% 
+% for k = 1:nb
+%     corx{k} = {A1(k,:),A2(k),A3(k),A4(k)};
+% end
+% corx = corx';
+
+%COR data: name, index, fit,  weight,   limit,      ebpm,      pbpm
+% corx={
+% {  'HCOR001'     1     1      1.000     10.000      0.250  }
+% {  'HCOR002'     2     0      1.000     10.000      0.250  }
+% {  'HCOR003'     3     0      1.000     10.000      0.250  }
+% {  'HCOR004'     4     4      1.000     10.000      0.250  }
+% {  'HCOR005'     5     0      1.000     10.000      0.250  }
+% {  'HCOR006'     6     0      1.000     10.000      0.250  }
+% {  'HCOR007'     7     7      1.000     10.000      0.250  }
+% {  'HCOR008'     8     8      1.000     10.000      0.250  }
+% {  'HCOR009'     9     0      1.000     10.000      0.250  }
+% {  'HCOR010'    10     0      1.000     10.000      0.250  }
+% {  'HCOR011'    11    11      1.000     10.000      0.250  }
+% {  'HCOR012'    12    12      1.000     10.000      0.250  }
+% {  'HCOR013'    13     0      1.000     10.000      0.250  }
+% {  'HCOR014'    14     0      1.000     10.000      0.250  }
+% {  'HCOR015'    15    15      1.000     10.000      0.250  }
+% {  'HCOR016'    16    16      1.000     10.000      0.250  }
+% {  'HCOR017'    17     0      1.000     10.000      0.250  }
+% {  'HCOR018'    18     0      1.000     10.000      0.250  }
+% {  'HCOR019'    19    19      1.000     10.000      0.250  }
+% {  'HCOR020'    20    20      1.000     10.000      0.250  }
+% {  'HCOR021'    21     0      1.000     10.000      0.250  }
+% {  'HCOR022'    22     0      1.000     10.000      0.250  }
+% {  'HCOR023'    23    23      1.000     10.000      0.250  }
+% {  'HCOR024'    24    24      1.000     10.000      0.250  }
+% {  'HCOR025'    25     0      1.000     10.000      0.250  }
+% {  'HCOR026'    26     0      1.000     10.000      0.250  }
+% {  'HCOR027'    27    27      1.000     10.000      0.250  }
+% {  'HCOR028'    28     0      1.000     10.000      0.250  }
+% {  'HCOR029'    29     0      1.000     10.000      0.250  }
+% {  'HCOR030'    30    30      1.000     10.000      0.250  }
+% {  'HCOR031'    31    31      1.000     10.000      0.250  }
+% {  'HCOR032'    32     0      1.000     10.000      0.250  }
+% {  'HCOR033'    33     0      1.000     10.000      0.250  }
+% {  'HCOR034'    34    34      1.000     10.000      0.250  }
+% {  'HCOR035'    35     0      1.000     10.000      0.250  }
+% {  'HCOR036'    36     0      1.000     10.000      0.250  }
+% {  'HCOR037'    37    37      1.000     10.000      0.250  }
+% {  'HCOR038'    38    38      1.000     10.000      0.250  }
+% {  'HCOR039'    39     0      1.000     10.000      0.250  }
+% {  'HCOR040'    40     0      1.000     10.000      0.250  }
+% {  'HCOR041'    41    41      1.000     10.000      0.250  }
+% {  'HCOR042'    42    42      1.000     10.000      0.250  }
+% {  'HCOR043'    43     0      1.000     10.000      0.250  }
+% {  'HCOR044'    44     0      1.000     10.000      0.250  }
+% {  'HCOR045'    45    45      1.000     10.000      0.250  }
+% {  'HCOR046'    46    46      1.000     10.000      0.250  }
+% {  'HCOR047'    47     0      1.000     10.000      0.250  }
+% {  'HCOR048'    48     0      1.000     10.000      0.250  }
+% {  'HCOR049'    49    49      1.000     10.000      0.250  }
+% {  'HCOR050'    50    50      1.000     10.000      0.250  }
+% {  'HCOR051'    51     0      1.000     10.000      0.250  }
+% {  'HCOR052'    52     0      1.000     10.000      0.250  }
+% {  'HCOR053'    53    53      1.000     10.000      0.250  }
+% {  'HCOR054'    54    54      1.000     10.000      0.250  }
+% {  'HCOR055'    55     0      1.000     10.000      0.250  }
+% {  'HCOR056'    56     0      1.000     10.000      0.250  }
+% {  'HCOR057'    57    57      1.000     10.000      0.250  }
+% {  'HCOR058'    58     0      1.000     10.000      0.250  }
+% {  'HCOR059'    59     0      1.000     10.000      0.250  }
+% {  'HCOR060'    60    60      1.000     10.000      0.250  }
+% {  'HCOR061'    61    61      1.000     10.000      0.250  }
+% {  'HCOR062'    62     0      1.000     10.000      0.250  }
+% {  'HCOR063'    63     0      1.000     10.000      0.250  }
+% {  'HCOR064'    64    64      1.000     10.000      0.250  }
+% {  'HCOR065'    65     0      1.000     10.000      0.250  }
+% {  'HCOR066'    66     0      1.000     10.000      0.250  }
+% {  'HCOR067'    67    67      1.000     10.000      0.250  }
+% {  'HCOR068'    68    68      1.000     10.000      0.250  }
+% {  'HCOR069'    69     0      1.000     10.000      0.250  }
+% {  'HCOR070'    70     0      1.000     10.000      0.250  }
+% {  'HCOR071'    71    71      1.000     10.000      0.250  }
+% {  'HCOR072'    72    72      1.000     10.000      0.250  }
+% {  'HCOR073'    73     0      1.000     10.000      0.250  }
+% {  'HCOR074'    74     0      1.000     10.000      0.250  }
+% {  'HCOR075'    75    75      1.000     10.000      0.250  }
+% {  'HCOR076'    76    76      1.000     10.000      0.250  }
+% {  'HCOR077'    77     0      1.000     10.000      0.250  }
+% {  'HCOR078'    78     0      1.000     10.000      0.250  }
+% {  'HCOR079'    79    79      1.000     10.000      0.250  }
+% {  'HCOR080'    80    80      1.000     10.000      0.250  }
+% {  'HCOR081'    81     0      1.000     10.000      0.250  }
+% {  'HCOR082'    82     0      1.000     10.000      0.250  }
+% {  'HCOR083'    83    83      1.000     10.000      0.250  }
+% {  'HCOR084'    84    84      1.000     10.000      0.250  }
+% {  'HCOR085'    85     0      1.000     10.000      0.250  }
+% {  'HCOR086'    86     0      1.000     10.000      0.250  }
+% {  'HCOR087'    87    87      1.000     10.000      0.250  }
+% {  'HCOR088'    88     0      1.000     10.000      0.250  }
+% {  'HCOR089'    89     0      1.000     10.000      0.250  }
+% {  'HCOR090'    90    90      1.000     10.000      0.250  }
+% {  'HCOR091'    91    91      1.000     10.000      0.250  }
+% {  'HCOR092'    92     0      1.000     10.000      0.250  }
+% {  'HCOR093'    93     0      1.000     10.000      0.250  }
+% {  'HCOR094'    94    94      1.000     10.000      0.250  }
+% {  'HCOR095'    95     0      1.000     10.000      0.250  }
+% {  'HCOR096'    96     0      1.000     10.000      0.250  }
+% {  'HCOR097'    97    97      1.000     10.000      0.250  }
+% {  'HCOR098'    98    98      1.000     10.000      0.250  }
+% {  'HCOR099'    99     0      1.000     10.000      0.250  }
+% {  'HCOR100'   100     0      1.000     10.000      0.250  }
+% {  'HCOR101'   101   101      1.000     10.000      0.250  }
+% {  'HCOR102'   102   102      1.000     10.000      0.250  }
+% {  'HCOR103'   103     0      1.000     10.000      0.250  }
+% {  'HCOR104'   104     0      1.000     10.000      0.250  }
+% {  'HCOR105'   105   105      1.000     10.000      0.250  }
+% {  'HCOR106'   106   106      1.000     10.000      0.250  }
+% {  'HCOR107'   107     0      1.000     10.000      0.250  }
+% {  'HCOR108'   108     0      1.000     10.000      0.250  }
+% {  'HCOR109'   109   109      1.000     10.000      0.250  }
+% {  'HCOR110'   110   110      1.000     10.000      0.250  }
+% {  'HCOR111'   111     0      1.000     10.000      0.250  }
+% {  'HCOR112'   112     0      1.000     10.000      0.250  }
+% {  'HCOR113'   113   113      1.000     10.000      0.250  }
+% {  'HCOR114'   114   114      1.000     10.000      0.250  }
+% {  'HCOR115'   115     0      1.000     10.000      0.250  }
+% {  'HCOR116'   116     0      1.000     10.000      0.250  }
+% {  'HCOR117'   117   117      1.000     10.000      0.250  }
+% {  'HCOR118'   118     0      1.000     10.000      0.250  }
+% {  'HCOR119'   119     0      1.000     10.000      0.250  }
+% {  'HCOR120'   120   120      1.000     10.000      0.250  }
+% {  'HCOR121'   121   121      1.000     10.000      0.500  }
+% {  'HCOR122'   122   122      1.000     10.000      0.500  }
+% };
+% 
+
+% HU640 Actif
+% corx={
+% {  'HCOR001'     1     1      1.000     10.000      0.250  }
+% {  'HCOR002'     2     0      1.000     10.000      0.250  }
+% {  'HCOR003'     3     0      1.000     10.000      0.250  }
+% {  'HCOR004'     4     4      1.000     10.000      0.250  }
+% {  'HCOR005'     5     0      1.000     10.000      0.250  }
+% {  'HCOR006'     6     0      1.000     10.000      0.250  }
+% {  'HCOR007'     7     7      1.000     10.000      0.250  }
+% {  'HCOR008'     8     8      1.000     10.000      0.250  }
+% {  'HCOR009'     9     0      1.000     10.000      0.250  }
+% {  'HCOR010'    10     0      1.000     10.000      0.250  }
+% {  'HCOR011'    11    11      1.000     10.000      0.250  }
+% {  'HCOR012'    12    12      1.000     10.000      0.250  }
+% {  'HCOR013'    13     0      1.000     10.000      0.250  }
+% {  'HCOR014'    14     0      1.000     10.000      0.250  }
+% {  'HCOR015'    15    15      1.000     10.000      0.250  }
+% {  'HCOR016'    16    16      1.000     10.000      0.250  }
+% {  'HCOR017'    17     0      1.000     10.000      0.250  }
+% {  'HCOR018'    18     0      1.000     10.000      0.250  }
+% {  'HCOR019'    19    19      1.000     10.000      0.250  }
+% {  'HCOR020'    20    20      1.000     10.000      0.250  }
+% {  'HCOR021'    21     0      1.000     10.000      0.250  }
+% {  'HCOR022'    22     0      1.000     10.000      0.250  }
+% {  'HCOR023'    23    23      1.000     10.000      0.250  }
+% {  'HCOR024'    24    24      1.000     10.000      0.250  }
+% {  'HCOR025'    25     0      1.000     10.000      0.250  }
+% {  'HCOR026'    26     0      1.000     10.000      0.250  }
+% {  'HCOR027'    27    27      1.000     10.000      0.250  }
+% {  'HCOR028'    28     0      1.000     10.000      0.250  }
+% {  'HCOR029'    29     0      1.000     10.000      0.250  }
+% {  'HCOR030'    30    30      1.000     10.000      0.250  }
+% {  'HCOR031'    31    31      1.000     10.000      0.250  }
+% {  'HCOR032'    32    32      1.000     10.000      0.250  }
+% {  'HCOR033'    33    33      1.000     10.000      0.250  }
+% {  'HCOR034'    34     0      1.000     10.000      0.250  }
+% {  'HCOR035'    35     0      1.000     10.000      0.250  }
+% {  'HCOR036'    36    36      1.000     10.000      0.250  }
+% {  'HCOR037'    37     0      1.000     10.000      0.250  }
+% {  'HCOR038'    38     0      1.000     10.000      0.250  }
+% {  'HCOR039'    39    39      1.000     10.000      0.250  }
+% {  'HCOR040'    40    40      1.000     10.000      0.250  }
+% {  'HCOR041'    41     0      1.000     10.000      0.250  }
+% {  'HCOR042'    42     0       1.000     10.000      0.250  }
+% {  'HCOR043'    43    43     1.000     10.000      0.250  }
+% {  'HCOR044'    44    44      1.000     10.000      0.250  }
+% {  'HCOR045'    45     0      1.000     10.000      0.250  }
+% {  'HCOR046'    46     0      1.000     10.000      0.250  }
+% {  'HCOR047'    47    47      1.000     10.000      0.250  }
+% {  'HCOR048'    48    48      1.000     10.000      0.250  }
+% {  'HCOR049'    49     0      1.000     10.000      0.250  }
+% {  'HCOR050'    50     0      1.000     10.000      0.250  }
+% {  'HCOR051'    51    51      1.000     10.000      0.250  }
+% {  'HCOR052'    52    52      1.000     10.000      0.250  }
+% {  'HCOR053'    53     0      1.000     10.000      0.250  }
+% {  'HCOR054'    54     0      1.000     10.000      0.250  }
+% {  'HCOR055'    55    55      1.000     10.000      0.250  }
+% {  'HCOR056'    56    56      1.000     10.000      0.250  }
+% {  'HCOR057'    57     0      1.000     10.000      0.250  }
+% {  'HCOR058'    58     0      1.000     10.000      0.250  }
+% {  'HCOR059'    59    59      1.000     10.000      0.250  }
+% {  'HCOR060'    60     0      1.000     10.000      0.250  }
+% {  'HCOR061'    61     0      1.000     10.000      0.250  }
+% {  'HCOR062'    62    62      1.000     10.000      0.250  }
+% {  'HCOR063'    63    63      1.000     10.000      0.250  }
+% {  'HCOR064'    64     0      1.000     10.000      0.250  }
+% {  'HCOR065'    65     0      1.000     10.000      0.250  }
+% {  'HCOR066'    66    66      1.000     10.000      0.250  }
+% {  'HCOR067'    67     0      1.000     10.000      0.250  }
+% {  'HCOR068'    68     0      1.000     10.000      0.250  }
+% {  'HCOR069'    69    69      1.000     10.000      0.250  }
+% {  'HCOR070'    70    70      1.000     10.000      0.250  }
+% {  'HCOR071'    71     0      1.000     10.000      0.250  }
+% {  'HCOR072'    72     0      1.000     10.000      0.250  }
+% {  'HCOR073'    73    73      1.000     10.000      0.250  }
+% {  'HCOR074'    74    74      1.000     10.000      0.250  }
+% {  'HCOR075'    75     0      1.000     10.000      0.250  }
+% {  'HCOR076'    76     0      1.000     10.000      0.250  }
+% {  'HCOR077'    77    77      1.000     10.000      0.250  }
+% {  'HCOR078'    78    78      1.000     10.000      0.250  }
+% {  'HCOR079'    79     0      1.000     10.000      0.250  }
+% {  'HCOR080'    80     0      1.000     10.000      0.250  }
+% {  'HCOR081'    81    81      1.000     10.000      0.250  }
+% {  'HCOR082'    82    82      1.000     10.000      0.250  }
+% {  'HCOR083'    83     0      1.000     10.000      0.250  }
+% {  'HCOR084'    84     0      1.000     10.000      0.250  }
+% {  'HCOR085'    85    85      1.000     10.000      0.250  }
+% {  'HCOR086'    86    86      1.000     10.000      0.250  }
+% {  'HCOR087'    87     0      1.000     10.000      0.250  }
+% {  'HCOR088'    88     0      1.000     10.000      0.250  }
+% {  'HCOR089'    89    89      1.000     10.000      0.250  }
+% {  'HCOR090'    90     0      1.000     10.000      0.250  }
+% {  'HCOR091'    91     0      1.000     10.000      0.250  }
+% {  'HCOR092'    92    92      1.000     10.000      0.250  }
+% {  'HCOR093'    93    93      1.000     10.000      0.250  }
+% {  'HCOR094'    94     0      1.000     10.000      0.250  }
+% {  'HCOR095'    95     0      1.000     10.000      0.250  }
+% {  'HCOR096'    96    96      1.000     10.000      0.250  }
+% {  'HCOR097'    97     0      1.000     10.000      0.250  }
+% {  'HCOR098'    98     0      1.000     10.000      0.250  }
+% {  'HCOR099'    99    99      1.000     10.000      0.250  }
+% {  'HCOR100'   100   100      1.000     10.000      0.250  }
+% {  'HCOR101'   101     0      1.000     10.000      0.250  }
+% {  'HCOR102'   102     0      1.000     10.000      0.250  }
+% {  'HCOR103'   103   103      1.000     10.000      0.250  }
+% {  'HCOR104'   104   104      1.000     10.000      0.250  }
+% {  'HCOR105'   105     0      1.000     10.000      0.250  }
+% {  'HCOR106'   106     0      1.000     10.000      0.250  }
+% {  'HCOR107'   107   107      1.000     10.000      0.250  }
+% {  'HCOR108'   108   108      1.000     10.000      0.250  }
+% {  'HCOR109'   109     0      1.000     10.000      0.250  }
+% {  'HCOR110'   110     0      1.000     10.000      0.250  }
+% {  'HCOR111'   111   111      1.000     10.000      0.250  }
+% {  'HCOR112'   112   112      1.000     10.000      0.250  }
+% {  'HCOR113'   113     0      1.000     10.000      0.250  }
+% {  'HCOR114'   114     0      1.000     10.000      0.250  }
+% {  'HCOR115'   115   115      1.000     10.000      0.250  }
+% {  'HCOR116'   116   116      1.000     10.000      0.250  }
+% {  'HCOR117'   117     0      1.000     10.000      0.250  }
+% {  'HCOR118'   118     0      1.000     10.000      0.250  }
+% {  'HCOR119'   119   119      1.000     10.000      0.250  }
+% {  'HCOR120'   120     0      1.000     10.000      0.250  }
+% {  'HCOR121'   121     0      1.000     10.000      0.500  }
+% {  'HCOR122'   122   122      1.000     10.000      0.500  }
+% };
+
+
+% HU640 disable
+corx={
+{  'HCOR001'     1     1      1.000     10.000      0.250  }
+{  'HCOR002'     2     0      1.000     10.000      0.250  }
+{  'HCOR003'     3     0      1.000     10.000      0.250  }
+{  'HCOR004'     4     4      1.000     10.000      0.250  }
+{  'HCOR005'     5     0      1.000     10.000      0.250  }
+{  'HCOR006'     6     0      1.000     10.000      0.250  }
+{  'HCOR007'     7     7      1.000     10.000      0.250  }
+{  'HCOR008'     8     8      1.000     10.000      0.250  }
+{  'HCOR009'     9     0      1.000     10.000      0.250  }
+{  'HCOR010'    10     0      1.000     10.000      0.250  }
+{  'HCOR011'    11    11      1.000     10.000      0.250  }
+{  'HCOR012'    12    12      1.000     10.000      0.250  }
+{  'HCOR013'    13     0      1.000     10.000      0.250  }
+{  'HCOR014'    14     0      1.000     10.000      0.250  }
+{  'HCOR015'    15    15      1.000     10.000      0.250  }
+{  'HCOR016'    16    16      1.000     10.000      0.250  }
+{  'HCOR017'    17     0      1.000     10.000      0.250  }
+{  'HCOR018'    18     0      1.000     10.000      0.250  }
+{  'HCOR019'    19    19      1.000     10.000      0.250  }
+{  'HCOR020'    20    20      1.000     10.000      0.250  }
+{  'HCOR021'    21     0      1.000     10.000      0.250  }
+{  'HCOR022'    22     0      1.000     10.000      0.250  }
+{  'HCOR023'    23    23      1.000     10.000      0.250  }
+{  'HCOR024'    24    24      1.000     10.000      0.250  }
+{  'HCOR025'    25     0      1.000     10.000      0.250  }
+{  'HCOR026'    26     0      1.000     10.000      0.250  }
+{  'HCOR027'    27    27      1.000     10.000      0.250  }
+{  'HCOR028'    28     0      1.000     10.000      0.250  }
+{  'HCOR029'    29     0      1.000     10.000      0.250  }
+{  'HCOR030'    30    30      1.000     10.000      0.250  }
+{  'HCOR031'    31     0      1.000     10.000      0.250  }
+{  'HCOR032'    32     0      1.000     10.000      0.250  }
+{  'HCOR033'    33    33      1.000     10.000      0.250  }
+{  'HCOR034'    34     0      1.000     10.000      0.250  }
+{  'HCOR035'    35     0      1.000     10.000      0.250  }
+{  'HCOR036'    36    36      1.000     10.000      0.250  }
+{  'HCOR037'    37     0      1.000     10.000      0.250  }
+{  'HCOR038'    38     0      1.000     10.000      0.250  }
+{  'HCOR039'    39    39      1.000     10.000      0.250  }
+{  'HCOR040'    40    40      1.000     10.000      0.250  }
+{  'HCOR041'    41     0      1.000     10.000      0.250  }
+{  'HCOR042'    42     0       1.000     10.000      0.250  }
+{  'HCOR043'    43    43     1.000     10.000      0.250  }
+{  'HCOR044'    44    44      1.000     10.000      0.250  }
+{  'HCOR045'    45     0      1.000     10.000      0.250  }
+{  'HCOR046'    46     0      1.000     10.000      0.250  }
+{  'HCOR047'    47    47      1.000     10.000      0.250  }
+{  'HCOR048'    48    48      1.000     10.000      0.250  }
+{  'HCOR049'    49     0      1.000     10.000      0.250  }
+{  'HCOR050'    50     0      1.000     10.000      0.250  }
+{  'HCOR051'    51    51      1.000     10.000      0.250  }
+{  'HCOR052'    52    52      1.000     10.000      0.250  }
+{  'HCOR053'    53     0      1.000     10.000      0.250  }
+{  'HCOR054'    54     0      1.000     10.000      0.250  }
+{  'HCOR055'    55    55      1.000     10.000      0.250  }
+{  'HCOR056'    56    56      1.000     10.000      0.250  }
+{  'HCOR057'    57     0      1.000     10.000      0.250  }
+{  'HCOR058'    58     0      1.000     10.000      0.250  }
+{  'HCOR059'    59    59      1.000     10.000      0.250  }
+{  'HCOR060'    60     0      1.000     10.000      0.250  }
+{  'HCOR061'    61     0      1.000     10.000      0.250  }
+{  'HCOR062'    62    62      1.000     10.000      0.250  }
+{  'HCOR063'    63    63      1.000     10.000      0.250  }
+{  'HCOR064'    64     0      1.000     10.000      0.250  }
+{  'HCOR065'    65     0      1.000     10.000      0.250  }
+{  'HCOR066'    66    66      1.000     10.000      0.250  }
+{  'HCOR067'    67     0      1.000     10.000      0.250  }
+{  'HCOR068'    68     0      1.000     10.000      0.250  }
+{  'HCOR069'    69    69      1.000     10.000      0.250  }
+{  'HCOR070'    70    70      1.000     10.000      0.250  }
+{  'HCOR071'    71     0      1.000     10.000      0.250  }
+{  'HCOR072'    72     0      1.000     10.000      0.250  }
+{  'HCOR073'    73    73      1.000     10.000      0.250  }
+{  'HCOR074'    74    74      1.000     10.000      0.250  }
+{  'HCOR075'    75     0      1.000     10.000      0.250  }
+{  'HCOR076'    76     0      1.000     10.000      0.250  }
+{  'HCOR077'    77    77      1.000     10.000      0.250  }
+{  'HCOR078'    78    78      1.000     10.000      0.250  }
+{  'HCOR079'    79     0      1.000     10.000      0.250  }
+{  'HCOR080'    80     0      1.000     10.000      0.250  }
+{  'HCOR081'    81    81      1.000     10.000      0.250  }
+{  'HCOR082'    82    82      1.000     10.000      0.250  }
+{  'HCOR083'    83     0      1.000     10.000      0.250  }
+{  'HCOR084'    84     0      1.000     10.000      0.250  }
+{  'HCOR085'    85    85      1.000     10.000      0.250  }
+{  'HCOR086'    86    86      1.000     10.000      0.250  }
+{  'HCOR087'    87     0      1.000     10.000      0.250  }
+{  'HCOR088'    88     0      1.000     10.000      0.250  }
+{  'HCOR089'    89    89      1.000     10.000      0.250  }
+{  'HCOR090'    90     0      1.000     10.000      0.250  }
+{  'HCOR091'    91     0      1.000     10.000      0.250  }
+{  'HCOR092'    92    92      1.000     10.000      0.250  }
+{  'HCOR093'    93    93      1.000     10.000      0.250  }
+{  'HCOR094'    94     0      1.000     10.000      0.250  }
+{  'HCOR095'    95     0      1.000     10.000      0.250  }
+{  'HCOR096'    96    96      1.000     10.000      0.250  }
+{  'HCOR097'    97     0      1.000     10.000      0.250  }
+{  'HCOR098'    98     0      1.000     10.000      0.250  }
+{  'HCOR099'    99    99      1.000     10.000      0.250  }
+{  'HCOR100'   100   100      1.000     10.000      0.250  }
+{  'HCOR101'   101     0      1.000     10.000      0.250  }
+{  'HCOR102'   102     0      1.000     10.000      0.250  }
+{  'HCOR103'   103   103      1.000     10.000      0.250  }
+{  'HCOR104'   104   104      1.000     10.000      0.250  }
+{  'HCOR105'   105     0      1.000     10.000      0.250  }
+{  'HCOR106'   106     0      1.000     10.000      0.250  }
+{  'HCOR107'   107   107      1.000     10.000      0.250  }
+{  'HCOR108'   108   108      1.000     10.000      0.250  }
+{  'HCOR109'   109     0      1.000     10.000      0.250  }
+{  'HCOR110'   110     0      1.000     10.000      0.250  }
+{  'HCOR111'   111   111      1.000     10.000      0.250  }
+{  'HCOR112'   112   112      1.000     10.000      0.250  }
+{  'HCOR113'   113     0      1.000     10.000      0.250  }
+{  'HCOR114'   114     0      1.000     10.000      0.250  }
+{  'HCOR115'   115   115      1.000     10.000      0.250  }
+{  'HCOR116'   116   116      1.000     10.000      0.250  }
+{  'HCOR117'   117     0      1.000     10.000      0.250  }
+{  'HCOR118'   118     0      1.000     10.000      0.250  }
+{  'HCOR119'   119   119      1.000     10.000      0.250  }
+{  'HCOR120'   120     0      1.000     10.000      0.250  }
+{  'HCOR121'   121     0      1.000     10.000      0.500  }
+{  'HCOR122'   122   122      1.000     10.000      0.500  }
+};
+
+%*===   VERTICAL DATA ===*
+% bpm(2).dev      = 10;              %maximum orbit deviation
+bpm(2).id       = 1;               %BPM selection
+bpm(2).scalemode= 1;               %BPM scale mode 0=manual mode, 1=autoscale
+bpm(2).ylim     = 5;               %BPM vertical axis scale
+bpm(2).units    = '1000xHardware'; %Display units
+bpm(1).scale    = 1000;            %Scaling factor
+cor(2).fract    = 1.0;             %fraction of correctors
+cor(2).id       = 1;               %COR selection
+cor(2).scalemode= 0;               %COR scale mode 0=manual mode, 1=autoscale
+cor(2).ylim     = maxn(getfamilydata(cor(2).AOFamily,'Setpoint','Range'));  %COR horizontal axis scale (amp)
+cor(2).units    = 'Hardware';      %Display Units
+cor(2).hw2physics = hw2physics(cor(2).AOFamily,'Setpoint',1,1)*1e3; % mrAD
+rsp(2).disp     = 'off';           %mode for matrix column display
+rsp(2).eig      = 'off';           %mode for eigenvector display
+rsp(2).fit      = 0;               %valid fit flag
+rsp(2).rfflag   = 0;               %rf fitting flag
+rsp(2).etaflag  = 0;               %dispersion fitting flag
+rsp(2).savflag  = 0;               %save solution flag
+rsp(2).nsvd     = 56;              %number of singular values
+rsp(2).svdtol   = 0;               %svd tolerance (0 uses number of singular values)
+rsp(2).nsvdmax  = 1;               %default maximum number of singular values
+
+%%% TO DO ERASE for automatic way if no previous file exist
+% 
+% %     name       index  fit (0/1) weight   etaweight
+% % bpmz={
+% % {    '1BPM1    '     1      1      1.000     0.000     }
+% bpmz = bpmx;
+
+%BPM data: name, index, fit,  weight
+bpmz={
+{  'BPMz001'     1     1      1.000    0.000 }
+{  'BPMz002'     2     2      1.000    0.000 }
+{  'BPMz003'     3     3      1.000    0.000 }
+{  'BPMz004'     4     4      1.000    0.000 }
+{  'BPMz005'     5     5      1.000    0.000 }
+{  'BPMz006'     6     6      1.000    0.000 }
+{  'BPMz007'     7     7      1.000    0.000 }
+{  'BPMz008'     8     8      1.000    0.000 }
+{  'BPMz009'     9     9      1.000    0.000 }
+{  'BPMz010'    10    10      1.000    0.000 }
+{  'BPMz011'    11    11      1.000    0.000 }
+{  'BPMz012'    12    12      1.000    0.000 }
+{  'BPMz013'    13    13      1.000    0.000 }
+{  'BPMz014'    14    14      1.000    0.000 }
+{  'BPMz015'    15    15      1.000    0.000 }
+{  'BPMz016'    16    16      1.000    0.000 }
+{  'BPMz017'    17    17      1.000    0.000 }
+{  'BPMz018'    18    18      1.000    0.000 }
+{  'BPMz019'    19    19      1.000    0.000 }
+{  'BPMz020'    20    20      1.000    0.000 }
+{  'BPMz021'    21    21      1.000    0.000 }
+{  'BPMz022'    22    22      1.000    0.000 }
+{  'BPMz023'    23    23      1.000    0.000 }
+{  'BPMz024'    24    24      1.000    0.000 }
+{  'BPMz025'    25    25      1.000    0.000 }
+{  'BPMz026'    26    26      1.000    0.000 }
+{  'BPMz027'    27    27      1.000    0.000 }
+{  'BPMz028'    28    28      1.000    0.000 }
+{  'BPMz029'    29    29      1.000    0.000 }
+{  'BPMz030'    30    30      1.000    0.000 }
+{  'BPMz031'    31    31      1.000    0.000 }
+{  'BPMz032'    32    32      1.000    0.000 }
+{  'BPMz033'    33    33      1.000    0.000 }
+{  'BPMz034'    34    34      1.000    0.000 }
+{  'BPMz035'    35    35      1.000    0.000 }
+{  'BPMz036'    36    36      1.000    0.000 }
+{  'BPMz037'    37    37      1.000    0.000 }
+{  'BPMz038'    38    38      1.000    0.000 }
+{  'BPMz039'    39    39      1.000    0.000 }
+{  'BPMz040'    40    40      1.000    0.000 }
+{  'BPMz041'    41    41      1.000    0.000 }
+{  'BPMz042'    42    42      1.000    0.000 }
+{  'BPMz043'    43    43      1.000    0.000 }
+{  'BPMz044'    44    44      1.000    0.000 }
+{  'BPMz045'    45    45      1.000    0.000 }
+{  'BPMz046'    46    46      1.000    0.000 }
+{  'BPMz047'    47    47      1.000    0.000 }
+{  'BPMz048'    48    48      1.000    0.000 }
+{  'BPMz049'    49    49      1.000    0.000 }
+{  'BPMz050'    50    50      1.000    0.000 }
+{  'BPMz051'    51    51      1.000    0.000 }
+{  'BPMz052'    52    52      1.000    0.000 }
+{  'BPMz053'    53    53      1.000    0.000 }
+{  'BPMz054'    54    54      1.000    0.000 }
+{  'BPMz055'    55    55      1.000    0.000 }
+{  'BPMz056'    56    56      1.000    0.000 }
+{  'BPMz057'    57    57      1.000    0.000 }
+{  'BPMz058'    58    58      1.000    0.000 }
+{  'BPMz059'    59    59      1.000    0.000 }
+{  'BPMz060'    60    60      1.000    0.000 }
+{  'BPMz061'    61    61      1.000    0.000 }
+{  'BPMz062'    62    62      1.000    0.000 }
+{  'BPMz063'    63    63      1.000    0.000 }
+{  'BPMz064'    64    64      1.000    0.000 }
+{  'BPMz065'    65    65      1.000    0.000 }
+{  'BPMz066'    66    66      1.000    0.000 }
+{  'BPMz067'    67    67      1.000    0.000 }
+{  'BPMz068'    68    68      1.000    0.000 }
+{  'BPMz069'    69    69      1.000    0.000 }
+{  'BPMz070'    70    70      1.000    0.000 }
+{  'BPMz071'    71    71      1.000    0.000 }
+{  'BPMz072'    72    72      1.000    0.000 }
+{  'BPMz073'    73    73      1.000    0.000 }
+{  'BPMz074'    74    74      1.000    0.000 }
+{  'BPMz075'    75    75      1.000    0.000 }
+{  'BPMz076'    76    76      1.000    0.000 }
+{  'BPMz077'    77    77      1.000    0.000 }
+{  'BPMz078'    78    78      1.000    0.000 }
+{  'BPMz079'    79    79      1.000    0.000 }
+{  'BPMz080'    80    80      1.000    0.000 }
+{  'BPMz081'    81    81      1.000    0.000 }
+{  'BPMz082'    82    82      1.000    0.000 }
+{  'BPMz083'    83    83      1.000    0.000 }
+{  'BPMz084'    84    84      1.000    0.000 }
+{  'BPMz085'    85    85      1.000    0.000 }
+{  'BPMz086'    86    86      1.000    0.000 }
+{  'BPMz087'    87    87      1.000    0.000 }
+{  'BPMz088'    88    88      1.000    0.000 }
+{  'BPMz089'    89    89      1.000    0.000 }
+{  'BPMz090'    90    90      1.000    0.000 }
+{  'BPMz091'    91    91      1.000    0.000 }
+{  'BPMz092'    92    92      1.000    0.000 }
+{  'BPMz093'    93    93      1.000    0.000 }
+{  'BPMz094'    94    94      1.000    0.000 }
+{  'BPMz095'    95    95      1.000    0.000 }
+{  'BPMz096'    96    96      1.000    0.000 }
+{  'BPMz097'    97    97      1.000    0.000 }
+{  'BPMz098'    98    98      1.000    0.000 }
+{  'BPMz099'    99    99      1.000    0.000 }
+{  'BPMz100'   100   100      1.000    0.000 }
+{  'BPMz101'   101   101      1.000    0.000 }
+{  'BPMz102'   102   102      1.000    0.000 }
+{  'BPMz103'   103   103      1.000    0.000 }
+{  'BPMz104'   104   104      1.000    0.000 }
+{  'BPMz105'   105   105      1.000    0.000 }
+{  'BPMz106'   106   106      1.000    0.000 }
+{  'BPMz107'   107   107      1.000    0.000 }
+{  'BPMz108'   108   108      1.000    0.000 }
+{  'BPMz109'   109   109      1.000    0.000 }
+{  'BPMz110'   110   110      1.000    0.000 }
+{  'BPMz111'   111   111      1.000    0.000 }
+{  'BPMz112'   112   112      1.000    0.000 }
+{  'BPMz113'   113   113      1.000    0.000 }
+{  'BPMz114'   114   114      1.000    0.000 }
+{  'BPMz115'   115   115      1.000    0.000 }
+{  'BPMz116'   116   116      1.000    0.000 }
+{  'BPMz117'   117   117      1.000    0.000 }
+{  'BPMz118'   118   118      1.000    0.000 }
+{  'BPMz119'   119   119      1.000    0.000 }
+{  'BPMz120'   120   120      1.000    0.000 }
+};
+
+%%% TO DO ERASE for automatic way if no previous file exist
+
+% % name    index fit (0/1)  weight
+% % corz={
+% % {'1CY1    '  1   1   1.0    }
+% family = 'VCOR';% good = getfamilydata(family,'Status');
+% nb = length(good);
+% DeviceList = family2dev(family,0);
+% A1 = family2common(family,DeviceList,0);
+% A2 = (1:nb)';
+% A3 = ones(nb,1).*good;
+% A4 = ones(nb,1);
+% 
+% for k = 1:nb
+%     corz{k} = {A1(k,:),A2(k),A3(k),A4(k)};
+% end
+% corz = corz';
+
+%COR data: name, index, fit,  weight,   limit,      ebpm,      pbpm
+% corz={
+% {  'VCOR001'     1     0      1.000     10.000      0.500  }
+% {  'VCOR002'     2     2      1.000     10.000      0.500  }
+% {  'VCOR003'     3     0      1.000     10.000      0.500  }
+% {  'VCOR004'     4     4      1.000     10.000      0.500  }
+% {  'VCOR005'     5     0      1.000     10.000      0.500  }
+% {  'VCOR006'     6     6      1.000     10.000      0.500  }
+% {  'VCOR007'     7     0      1.000     10.000      0.500  }
+% {  'VCOR008'     8     0      1.000     10.000      0.500  }
+% {  'VCOR009'     9     9      1.000     10.000      0.500  }
+% {  'VCOR010'    10    10      1.000     10.000      0.500  }
+% {  'VCOR011'    11     0      1.000     10.000      0.500  }
+% {  'VCOR012'    12     0      1.000     10.000      0.500  }
+% {  'VCOR013'    13    13      1.000     10.000      0.500  }
+% {  'VCOR014'    14    14      1.000     10.000      0.500  }
+% {  'VCOR015'    15     0      1.000     10.000      0.500  }
+% {  'VCOR016'    16     0      1.000     10.000      0.500  }
+% {  'VCOR017'    17    17      1.000     10.000      0.500  }
+% {  'VCOR018'    18    18      1.000     10.000      0.500  }
+% {  'VCOR019'    19     0      1.000     10.000      0.500  }
+% {  'VCOR020'    20     0      1.000     10.000      0.500  }
+% {  'VCOR021'    21    21      1.000     10.000      0.500  }
+% {  'VCOR022'    22    22      1.000     10.000      0.500  }
+% {  'VCOR023'    23     0      1.000     10.000      0.500  }
+% {  'VCOR024'    24     0      1.000     10.000      0.500  }
+% {  'VCOR025'    25    25      1.000     10.000      0.500  }
+% {  'VCOR026'    26     0      1.000     10.000      0.500  }
+% {  'VCOR027'    27    27      1.000     10.000      0.500  }
+% {  'VCOR028'    28     0      1.000     10.000      0.500  }
+% {  'VCOR029'    29    29      1.000     10.000      0.500  }
+% {  'VCOR030'    30     0      1.000     10.000      0.500  }
+% {  'VCOR031'    31     0      1.000     10.000      0.500  }
+% {  'VCOR032'    32    32      1.000     10.000      0.500  }
+% {  'VCOR033'    33     0      1.000     10.000      0.500  }
+% {  'VCOR034'    34    34      1.000     10.000      0.500  }
+% {  'VCOR035'    35     0      1.000     10.000      0.500  }
+% {  'VCOR036'    36    36      1.000     10.000      0.500  }
+% {  'VCOR037'    37     0      1.000     10.000      0.500  }
+% {  'VCOR038'    38     0      1.000     10.000      0.500  }
+% {  'VCOR039'    39    39      1.000     10.000      0.500  }
+% {  'VCOR040'    40    40      1.000     10.000      0.500  }
+% {  'VCOR041'    41     0      1.000     10.000      0.500  }
+% {  'VCOR042'    42     0      1.000     10.000      0.500  }
+% {  'VCOR043'    43    43      1.000     10.000      0.500  }
+% {  'VCOR044'    44    44      1.000     10.000      0.500  }
+% {  'VCOR045'    45     0      1.000     10.000      0.500  }
+% {  'VCOR046'    46     0      1.000     10.000      0.500  }
+% {  'VCOR047'    47    47      1.000     10.000      0.500  }
+% {  'VCOR048'    48    48      1.000     10.000      0.500  }
+% {  'VCOR049'    49     0      1.000     10.000      0.500  }
+% {  'VCOR050'    50     0      1.000     10.000      0.500  }
+% {  'VCOR051'    51    51      1.000     10.000      0.500  }
+% {  'VCOR052'    52    52      1.000     10.000      0.500  }
+% {  'VCOR053'    53     0      1.000     10.000      0.500  }
+% {  'VCOR054'    54     0      1.000     10.000      0.500  }
+% {  'VCOR055'    55    55      1.000     10.000      0.500  }
+% {  'VCOR056'    56     0      1.000     10.000      0.500  }
+% {  'VCOR057'    57    57      1.000     10.000      0.500  }
+% {  'VCOR058'    58     0      1.000     10.000      0.500  }
+% {  'VCOR059'    59    59      1.000     10.000      0.500  }
+% {  'VCOR060'    60     0      1.000     10.000      0.500  }
+% {  'VCOR061'    61     0      1.000     10.000      0.500  }
+% {  'VCOR062'    62    62      1.000     10.000      0.500  }
+% {  'VCOR063'    63     0      1.000     10.000      0.500  }
+% {  'VCOR064'    64    64      1.000     10.000      0.500  }
+% {  'VCOR065'    65     0      1.000     10.000      0.500  }
+% {  'VCOR066'    66    66      1.000     10.000      0.500  }
+% {  'VCOR067'    67     0      1.000     10.000      0.500  }
+% {  'VCOR068'    68     0      1.000     10.000      0.500  }
+% {  'VCOR069'    69    69      1.000     10.000      0.500  }
+% {  'VCOR070'    70    70      1.000     10.000      0.500  }
+% {  'VCOR071'    71     0      1.000     10.000      0.500  }
+% {  'VCOR072'    72     0      1.000     10.000      0.500  }
+% {  'VCOR073'    73    73      1.000     10.000      0.500  }
+% {  'VCOR074'    74    74      1.000     10.000      0.500  }
+% {  'VCOR075'    75     0      1.000     10.000      0.500  }
+% {  'VCOR076'    76     0      1.000     10.000      0.500  }
+% {  'VCOR077'    77    77      1.000     10.000      0.500  }
+% {  'VCOR078'    78    78      1.000     10.000      0.500  }
+% {  'VCOR079'    79     0      1.000     10.000      0.500  }
+% {  'VCOR080'    80     0      1.000     10.000      0.500  }
+% {  'VCOR081'    81    81      1.000     10.000      0.500  }
+% {  'VCOR082'    82    82      1.000     10.000      0.500  }
+% {  'VCOR083'    83     0      1.000     10.000      0.500  }
+% {  'VCOR084'    84     0      1.000     10.000      0.500  }
+% {  'VCOR085'    85    85      1.000     10.000      0.500  }
+% {  'VCOR086'    86     0      1.000     10.000      0.500  }
+% {  'VCOR087'    87    87      1.000     10.000      0.500  }
+% {  'VCOR088'    88     0      1.000     10.000      0.500  }
+% {  'VCOR089'    89    89      1.000     10.000      0.500  }
+% {  'VCOR090'    90     0      1.000     10.000      0.500  }
+% {  'VCOR091'    91     0      1.000     10.000      0.500  }
+% {  'VCOR092'    92    92      1.000     10.000      0.500  }
+% {  'VCOR093'    93     0      1.000     10.000      0.500  }
+% {  'VCOR094'    94    94      1.000     10.000      0.500  }
+% {  'VCOR095'    95     0      1.000     10.000      0.500  }
+% {  'VCOR096'    96    96      1.000     10.000      0.500  }
+% {  'VCOR097'    97     0      1.000     10.000      0.500  }
+% {  'VCOR098'    98     0      1.000     10.000      0.500  }
+% {  'VCOR099'    99    99      1.000     10.000      0.500  }
+% {  'VCOR100'   100   100      1.000     10.000      0.500  }
+% {  'VCOR101'   101     0      1.000     10.000      0.500  }
+% {  'VCOR102'   102     0      1.000     10.000      0.500  }
+% {  'VCOR103'   103   103      1.000     10.000      0.500  }
+% {  'VCOR104'   104   104      1.000     10.000      0.500  }
+% {  'VCOR105'   105     0      1.000     10.000      0.500  }
+% {  'VCOR106'   106     0      1.000     10.000      0.500  }
+% {  'VCOR107'   107   107      1.000     10.000      0.500  }
+% {  'VCOR108'   108   108      1.000     10.000      0.500  }
+% {  'VCOR109'   109     0      1.000     10.000      0.500  }
+% {  'VCOR110'   110     0      1.000     10.000      0.500  }
+% {  'VCOR111'   111   111      1.000     10.000      0.500  }
+% {  'VCOR112'   112   112      1.000     10.000      0.500  }
+% {  'VCOR113'   113     0      1.000     10.000      0.500  }
+% {  'VCOR114'   114     0      1.000     10.000      0.500  }
+% {  'VCOR115'   115   115      1.000     10.000      0.500  }
+% {  'VCOR116'   116     0      1.000     10.000      0.500  }
+% {  'VCOR117'   117   117      1.000     10.000      0.500  }
+% {  'VCOR118'   118     0      1.000     10.000      0.500  }
+% {  'VCOR119'   119   119      1.000     10.000      0.500  }
+% {  'VCOR120'   120     0      1.000     10.000      0.500  }
+% {  'VCOR121'    121    121      1.000     10.000      0.500  }
+% {  'VCOR122'    122    122      1.000     10.000      0.500  }
+% };
+
+% % HU640 enable
+% corz={
+% {  'VCOR001'     1     0      1.000     10.000      0.500  }
+% {  'VCOR002'     2     2      1.000     10.000      0.500  }
+% {  'VCOR003'     3     0      1.000     10.000      0.500  }
+% {  'VCOR004'     4     4      1.000     10.000      0.500  }
+% {  'VCOR005'     5     0      1.000     10.000      0.500  }
+% {  'VCOR006'     6     6      1.000     10.000      0.500  }
+% {  'VCOR007'     7     0      1.000     10.000      0.500  }
+% {  'VCOR008'     8     0      1.000     10.000      0.500  }
+% {  'VCOR009'     9     9      1.000     10.000      0.500  }
+% {  'VCOR010'    10    10      1.000     10.000      0.500  }
+% {  'VCOR011'    11     0      1.000     10.000      0.500  }
+% {  'VCOR012'    12     0      1.000     10.000      0.500  }
+% {  'VCOR013'    13    13      1.000     10.000      0.500  }
+% {  'VCOR014'    14    14      1.000     10.000      0.500  }
+% {  'VCOR015'    15     0      1.000     10.000      0.500  }
+% {  'VCOR016'    16     0      1.000     10.000      0.500  }
+% {  'VCOR017'    17    17      1.000     10.000      0.500  }
+% {  'VCOR018'    18    18      1.000     10.000      0.500  }
+% {  'VCOR019'    19     0      1.000     10.000      0.500  }
+% {  'VCOR020'    20     0      1.000     10.000      0.500  }
+% {  'VCOR021'    21    21      1.000     10.000      0.500  }
+% {  'VCOR022'    22    22      1.000     10.000      0.500  }
+% {  'VCOR023'    23     0      1.000     10.000      0.500  }
+% {  'VCOR024'    24     0      1.000     10.000      0.500  }
+% {  'VCOR025'    25    25      1.000     10.000      0.500  }
+% {  'VCOR026'    26     0      1.000     10.000      0.500  }
+% {  'VCOR027'    27    27      1.000     10.000      0.500  }
+% {  'VCOR028'    28     0      1.000     10.000      0.500  }
+% {  'VCOR029'    29    29      1.000     10.000      0.500  }
+% {  'VCOR030'    30     0      1.000     10.000      0.500  }
+% {  'VCOR031'    31    31      1.000     10.000      0.500  }
+% {  'VCOR032'    32    32      1.000     10.000      0.500  }
+% {  'VCOR033'    33     0      1.000     10.000      0.500  }
+% {  'VCOR034'    34    34      1.000     10.000      0.500  }
+% {  'VCOR035'    35     0      1.000     10.000      0.500  }
+% {  'VCOR036'    36    36      1.000     10.000      0.500  }
+% {  'VCOR037'    37     0      1.000     10.000      0.500  }
+% {  'VCOR038'    38    38      1.000     10.000      0.500  }
+% {  'VCOR039'    39     0      1.000     10.000      0.500  }
+% {  'VCOR040'    40     0      1.000     10.000      0.500  }
+% {  'VCOR041'    41    41      1.000     10.000      0.500  }
+% {  'VCOR042'    42    43      1.000     10.000      0.500  }
+% {  'VCOR043'    43     0      1.000     10.000      0.500  }
+% {  'VCOR044'    44     0      1.000     10.000      0.500  }
+% {  'VCOR045'    45    45      1.000     10.000      0.500  }
+% {  'VCOR046'    46    46      1.000     10.000      0.500  }
+% {  'VCOR047'    47     0      1.000     10.000      0.500  }
+% {  'VCOR048'    48     0      1.000     10.000      0.500  }
+% {  'VCOR049'    49    49      1.000     10.000      0.500  }
+% {  'VCOR050'    50    50      1.000     10.000      0.500  }
+% {  'VCOR051'    51     0      1.000     10.000      0.500  }
+% {  'VCOR052'    52     0      1.000     10.000      0.500  }
+% {  'VCOR053'    53    53      1.000     10.000      0.500  }
+% {  'VCOR054'    54    54      1.000     10.000      0.500  }
+% {  'VCOR055'    55     0      1.000     10.000      0.500  }
+% {  'VCOR056'    56     0      1.000     10.000      0.500  }
+% {  'VCOR057'    57    57      1.000     10.000      0.500  }
+% {  'VCOR058'    58     0      1.000     10.000      0.500  }
+% {  'VCOR059'    59    59      1.000     10.000      0.500  }
+% {  'VCOR060'    60     0      1.000     10.000      0.500  }
+% {  'VCOR061'    61    61      1.000     10.000      0.500  }
+% {  'VCOR062'    62     0      1.000     10.000      0.500  }
+% {  'VCOR063'    63     0      1.000     10.000      0.500  }
+% {  'VCOR064'    64    64      1.000     10.000      0.500  }
+% {  'VCOR065'    65     0      1.000     10.000      0.500  }
+% {  'VCOR066'    66    66      1.000     10.000      0.500  }
+% {  'VCOR067'    67     0      1.000     10.000      0.500  }
+% {  'VCOR068'    68    68      1.000     10.000      0.500  }
+% {  'VCOR069'    69     0      1.000     10.000      0.500  }
+% {  'VCOR070'    70     0      1.000     10.000      0.500  }
+% {  'VCOR071'    71    71      1.000     10.000      0.500  }
+% {  'VCOR072'    72    72      1.000     10.000      0.500  }
+% {  'VCOR073'    73     0      1.000     10.000      0.500  }
+% {  'VCOR074'    74     0      1.000     10.000      0.500  }
+% {  'VCOR075'    75    75      1.000     10.000      0.500  }
+% {  'VCOR076'    76    76      1.000     10.000      0.500  }
+% {  'VCOR077'    77     0      1.000     10.000      0.500  }
+% {  'VCOR078'    78     0      1.000     10.000      0.500  }
+% {  'VCOR079'    79    79      1.000     10.000      0.500  }
+% {  'VCOR080'    80    80      1.000     10.000      0.500  }
+% {  'VCOR081'    81     0      1.000     10.000      0.500  }
+% {  'VCOR082'    82     0      1.000     10.000      0.500  }
+% {  'VCOR083'    83    83      1.000     10.000      0.500  }
+% {  'VCOR084'    84    84      1.000     10.000      0.500  }
+% {  'VCOR085'    85     0      1.000     10.000      0.500  }
+% {  'VCOR086'    86     0      1.000     10.000      0.500  }
+% {  'VCOR087'    87    87      1.000     10.000      0.500  }
+% {  'VCOR088'    88     0      1.000     10.000      0.500  }
+% {  'VCOR089'    89    89      1.000     10.000      0.500  }
+% {  'VCOR090'    90     0      1.000     10.000      0.500  }
+% {  'VCOR091'    91    91      1.000     10.000      0.500  }
+% {  'VCOR092'    92     0      1.000     10.000      0.500  }
+% {  'VCOR093'    93     0      1.000     10.000      0.500  }
+% {  'VCOR094'    94    94      1.000     10.000      0.500  }
+% {  'VCOR095'    95     0      1.000     10.000      0.500  }
+% {  'VCOR096'    96    96      1.000     10.000      0.500  }
+% {  'VCOR097'    97     0      1.000     10.000      0.500  }
+% {  'VCOR098'    98    98      1.000     10.000      0.500  }
+% {  'VCOR099'    99     0      1.000     10.000      0.500  }
+% {  'VCOR100'   100     0      1.000     10.000      0.500  }
+% {  'VCOR101'   101   101      1.000     10.000      0.500  }
+% {  'VCOR102'   102   103      1.000     10.000      0.500  }
+% {  'VCOR103'   103     0      1.000     10.000      0.500  }
+% {  'VCOR104'   104     0      1.000     10.000      0.500  }
+% {  'VCOR105'   105   105      1.000     10.000      0.500  }
+% {  'VCOR106'   106   106      1.000     10.000      0.500  }
+% {  'VCOR107'   107     0      1.000     10.000      0.500  }
+% {  'VCOR108'   108     0      1.000     10.000      0.500  }
+% {  'VCOR109'   109   109      1.000     10.000      0.500  }
+% {  'VCOR110'   110   110      1.000     10.000      0.500  }
+% {  'VCOR111'   111     0      1.000     10.000      0.500  }
+% {  'VCOR112'   112     0      1.000     10.000      0.500  }
+% {  'VCOR113'   113   113      1.000     10.000      0.500  }
+% {  'VCOR114'   114   114      1.000     10.000      0.500  }
+% {  'VCOR115'   115     0      1.000     10.000      0.500  }
+% {  'VCOR116'   116     0      1.000     10.000      0.500  }
+% {  'VCOR117'   117   117      1.000     10.000      0.500  }
+% {  'VCOR118'   118     0      1.000     10.000      0.500  }
+% {  'VCOR119'   119   119      1.000     10.000      0.500  }
+% {  'VCOR120'   120     0      1.000     10.000      0.500  }
+% {  'VCOR121'   121   121      1.000     10.000      0.500  }
+% {  'VCOR122'   122     0      1.000     10.000      0.500  }
+% };
+
+corz={
+{  'VCOR001'     1     0      1.000     10.000      0.500  }
+{  'VCOR002'     2     2      1.000     10.000      0.500  }
+{  'VCOR003'     3     0      1.000     10.000      0.500  }
+{  'VCOR004'     4     4      1.000     10.000      0.500  }
+{  'VCOR005'     5     0      1.000     10.000      0.500  }
+{  'VCOR006'     6     6      1.000     10.000      0.500  }
+{  'VCOR007'     7     0      1.000     10.000      0.500  }
+{  'VCOR008'     8     0      1.000     10.000      0.500  }
+{  'VCOR009'     9     9      1.000     10.000      0.500  }
+{  'VCOR010'    10    10      1.000     10.000      0.500  }
+{  'VCOR011'    11     0      1.000     10.000      0.500  }
+{  'VCOR012'    12     0      1.000     10.000      0.500  }
+{  'VCOR013'    13    13      1.000     10.000      0.500  }
+{  'VCOR014'    14    14      1.000     10.000      0.500  }
+{  'VCOR015'    15     0      1.000     10.000      0.500  }
+{  'VCOR016'    16     0      1.000     10.000      0.500  }
+{  'VCOR017'    17    17      1.000     10.000      0.500  }
+{  'VCOR018'    18    18      1.000     10.000      0.500  }
+{  'VCOR019'    19     0      1.000     10.000      0.500  }
+{  'VCOR020'    20     0      1.000     10.000      0.500  }
+{  'VCOR021'    21    21      1.000     10.000      0.500  }
+{  'VCOR022'    22    22      1.000     10.000      0.500  }
+{  'VCOR023'    23     0      1.000     10.000      0.500  }
+{  'VCOR024'    24     0      1.000     10.000      0.500  }
+{  'VCOR025'    25    25      1.000     10.000      0.500  }
+{  'VCOR026'    26     0      1.000     10.000      0.500  }
+{  'VCOR027'    27    27      1.000     10.000      0.500  }
+{  'VCOR028'    28     0      1.000     10.000      0.500  }
+{  'VCOR029'    29    29      1.000     10.000      0.500  }
+{  'VCOR030'    30     0      1.000     10.000      0.500  }
+{  'VCOR031'    31     0     1.000     10.000      0.500  }
+{  'VCOR032'    32     0     1.000     10.000      0.500  }
+{  'VCOR033'    33     0      1.000     10.000      0.500  }
+{  'VCOR034'    34    34      1.000     10.000      0.500  }
+{  'VCOR035'    35     0      1.000     10.000      0.500  }
+{  'VCOR036'    36    36      1.000     10.000      0.500  }
+{  'VCOR037'    37     0      1.000     10.000      0.500  }
+{  'VCOR038'    38    38      1.000     10.000      0.500  }
+{  'VCOR039'    39     0      1.000     10.000      0.500  }
+{  'VCOR040'    40     0      1.000     10.000      0.500  }
+{  'VCOR041'    41    41      1.000     10.000      0.500  }
+{  'VCOR042'    42    43      1.000     10.000      0.500  }
+{  'VCOR043'    43     0      1.000     10.000      0.500  }
+{  'VCOR044'    44     0      1.000     10.000      0.500  }
+{  'VCOR045'    45    45      1.000     10.000      0.500  }
+{  'VCOR046'    46    46      1.000     10.000      0.500  }
+{  'VCOR047'    47     0      1.000     10.000      0.500  }
+{  'VCOR048'    48     0      1.000     10.000      0.500  }
+{  'VCOR049'    49    49      1.000     10.000      0.500  }
+{  'VCOR050'    50    50      1.000     10.000      0.500  }
+{  'VCOR051'    51     0      1.000     10.000      0.500  }
+{  'VCOR052'    52     0      1.000     10.000      0.500  }
+{  'VCOR053'    53    53      1.000     10.000      0.500  }
+{  'VCOR054'    54    54      1.000     10.000      0.500  }
+{  'VCOR055'    55     0      1.000     10.000      0.500  }
+{  'VCOR056'    56     0      1.000     10.000      0.500  }
+{  'VCOR057'    57    57      1.000     10.000      0.500  }
+{  'VCOR058'    58     0      1.000     10.000      0.500  }
+{  'VCOR059'    59    59      1.000     10.000      0.500  }
+{  'VCOR060'    60     0      1.000     10.000      0.500  }
+{  'VCOR061'    61    61      1.000     10.000      0.500  }
+{  'VCOR062'    62     0      1.000     10.000      0.500  }
+{  'VCOR063'    63     0      1.000     10.000      0.500  }
+{  'VCOR064'    64    64      1.000     10.000      0.500  }
+{  'VCOR065'    65     0      1.000     10.000      0.500  }
+{  'VCOR066'    66    66      1.000     10.000      0.500  }
+{  'VCOR067'    67     0      1.000     10.000      0.500  }
+{  'VCOR068'    68    68      1.000     10.000      0.500  }
+{  'VCOR069'    69     0      1.000     10.000      0.500  }
+{  'VCOR070'    70     0      1.000     10.000      0.500  }
+{  'VCOR071'    71    71      1.000     10.000      0.500  }
+{  'VCOR072'    72    72      1.000     10.000      0.500  }
+{  'VCOR073'    73     0      1.000     10.000      0.500  }
+{  'VCOR074'    74     0      1.000     10.000      0.500  }
+{  'VCOR075'    75    75      1.000     10.000      0.500  }
+{  'VCOR076'    76    76      1.000     10.000      0.500  }
+{  'VCOR077'    77     0      1.000     10.000      0.500  }
+{  'VCOR078'    78     0      1.000     10.000      0.500  }
+{  'VCOR079'    79    79      1.000     10.000      0.500  }
+{  'VCOR080'    80    80      1.000     10.000      0.500  }
+{  'VCOR081'    81     0      1.000     10.000      0.500  }
+{  'VCOR082'    82     0      1.000     10.000      0.500  }
+{  'VCOR083'    83    83      1.000     10.000      0.500  }
+{  'VCOR084'    84    84      1.000     10.000      0.500  }
+{  'VCOR085'    85     0      1.000     10.000      0.500  }
+{  'VCOR086'    86     0      1.000     10.000      0.500  }
+{  'VCOR087'    87    87      1.000     10.000      0.500  }
+{  'VCOR088'    88     0      1.000     10.000      0.500  }
+{  'VCOR089'    89    89      1.000     10.000      0.500  }
+{  'VCOR090'    90     0      1.000     10.000      0.500  }
+{  'VCOR091'    91    91      1.000     10.000      0.500  }
+{  'VCOR092'    92     0      1.000     10.000      0.500  }
+{  'VCOR093'    93     0      1.000     10.000      0.500  }
+{  'VCOR094'    94    94      1.000     10.000      0.500  }
+{  'VCOR095'    95     0      1.000     10.000      0.500  }
+{  'VCOR096'    96    96      1.000     10.000      0.500  }
+{  'VCOR097'    97     0      1.000     10.000      0.500  }
+{  'VCOR098'    98    98      1.000     10.000      0.500  }
+{  'VCOR099'    99     0      1.000     10.000      0.500  }
+{  'VCOR100'   100     0      1.000     10.000      0.500  }
+{  'VCOR101'   101   101      1.000     10.000      0.500  }
+{  'VCOR102'   102   103      1.000     10.000      0.500  }
+{  'VCOR103'   103     0      1.000     10.000      0.500  }
+{  'VCOR104'   104     0      1.000     10.000      0.500  }
+{  'VCOR105'   105   105      1.000     10.000      0.500  }
+{  'VCOR106'   106   106      1.000     10.000      0.500  }
+{  'VCOR107'   107     0      1.000     10.000      0.500  }
+{  'VCOR108'   108     0      1.000     10.000      0.500  }
+{  'VCOR109'   109   109      1.000     10.000      0.500  }
+{  'VCOR110'   110   110      1.000     10.000      0.500  }
+{  'VCOR111'   111     0      1.000     10.000      0.500  }
+{  'VCOR112'   112     0      1.000     10.000      0.500  }
+{  'VCOR113'   113   113      1.000     10.000      0.500  }
+{  'VCOR114'   114   114      1.000     10.000      0.500  }
+{  'VCOR115'   115     0      1.000     10.000      0.500  }
+{  'VCOR116'   116     0      1.000     10.000      0.500  }
+{  'VCOR117'   117   117      1.000     10.000      0.500  }
+{  'VCOR118'   118     0      1.000     10.000      0.500  }
+{  'VCOR119'   119   119      1.000     10.000      0.500  }
+{  'VCOR120'   120     0      1.000     10.000      0.500  }
+{  'VCOR121'   121   121      1.000     10.000      0.500  }
+{  'VCOR122'   122     0      1.000     10.000      0.500  }
+};
Index: /trunk/machine/SOLEIL/StorageRing/orbit/soleilrestore_nano.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/soleilrestore_nano.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/soleilrestore_nano.m	(revision 17)
@@ -0,0 +1,693 @@
+%function [sys,bpmx,bpmz,bpm,corx,corz,cor,rsp,bly]=soleilrestore
+%system parameter save file
+%timestamp: done by hand
+%comment: Save System
+
+%
+% Modified by Laurent S. Nadolski
+
+% This file is part of the definition of the interface
+% Do not edit without mastering the contents.
+% TODO LAURENT : WARNING QUICK FIX just for a try !!!!!
+
+AD = getad;
+filetype         = 'Restore';      %check to see if correct file type
+sys.machine      = 'Ring';         %machine for control
+% sys.bpmode       = 'slowacquisition'; %BPM system mode
+sys.bpmslp       = 0.1;            %BPM sleep time in sec
+sys.globalperiod = 2.0;            %BPM sleep time in sec
+% sys.silverperiod = 2.0;            %BPM sleep time in sec
+sys.plane        = 1;              %plane (1=horizontal 2=vertical)
+sys.algo         = 'SVD';          %fitting algorithm
+sys.filepath     = AD.Directory.Orbit;       %file path in MATLAB
+% sys.reffile      = [sys.filepath 'soleilsilver.dat']; %reference orbit file
+sys.respfiledir  = AD.Directory.OpsData;             %response matrix directory
+sys.respfilename = AD.OpsData.BPMRespFile;           %response matrix file
+sys.etafile      = AD.Directory.DispData;            %dispersion file
+sys.relative     = 1;              %relative or absolute BPM plot 1=absolute, 2=relative
+% sys.fdbk         = 0;              %no feedback
+% sys.abort        = 0;              %reset abort flag
+sys.maxs          = AD.Circumference; %maximum ring circumference
+sys.xlimax       = sys.maxs;        %abcissa plot limit
+sys.maxphi(1)     = 10;             %maximum horizontal phase ADvance
+sys.maxphi(2)     = 8;              %maximum vertical phase ADvance
+sys.xscale       = 'meter';        %abcissa plotting mode (meter or phase)
+sys.drf          = 0;              %RF in HW units correction if required 
+%*=== HORIZONTAL DATA ===*
+% bpm(1).dev      = 10;              %maximum orbit deviation
+bpm(1).id       = 1;               %BPM selection
+bpm(1).scalemode= 1;               %BPM scale mode 0=manual mode, 1=autoscale
+bpm(1).ylim     = 5;               %BPM vertical axis scale
+bpm(1).units    = '1000xHardware'; %Display Units
+bpm(1).scale    = 1000;            %Scaling factor
+cor(1).fract    = 1.0;             %fraction of correctors
+cor(1).id       = 1;               %COR selection
+cor(1).scalemode= 0;               %COR scale mode 0=manual mode, 1=autoscale
+cor(1).ylim     = maxn(getfamilydata(cor(1).AOFamily,'Setpoint','Range'));  %COR horizontal axis scale (amp)
+cor(1).units    = 'Hardware';      %Display Units
+cor(1).hw2physics = hw2physics(cor(1).AOFamily,'Setpoint',1,1)*1e3; % mrAD
+rsp(1).disp     = 'off';           %mode for matrix column display
+rsp(1).eig      = 'off';           %mode for eigenvector display
+rsp(1).fit      = 0;               %valid fit flag
+rsp(1).rfflag   = 0;               %rf fitting flag
+rsp(1).etaflag  = 1;               %dispersion fitting flag
+rsp(1).savflag  = 0;               %save solution flag
+rsp(1).nsvd     = 57;              %number of singular values
+rsp(1).svdtol   = 0;               %svd tolerance (0 uses number of singular values)
+rsp(1).nsvdmax  = 1;               %default maximum number of singular values
+ 
+%Note: only fit and weight for fitting will be used in orbit program from this array
+%      Name and index are loaded from middleware
+%     name       index  fit (0/1) weight etaweight
+% bpmx={
+% {    '1BPM1    '     1      1      1.000   0.000     }
+
+%%% TO DO ERASE for automatic way if no previous file exist
+
+% family = 'BPMx';
+% good   = getfamilydata(family,'Status');
+% nb = length(good);
+% A1 = family2common(family);
+% A2 = (1:nb)';
+% A3 = ones(nb,1);
+% A4 = ones(nb,1);
+% A5 = zeros(nb,1);
+% 
+% for k = 1:nb,
+%     bpmx{k} = {A1(k,:),A2(k),A3(k),A4(k),A5(k)};
+%     fprintf('{  ''%7s''   %3d   %3d      %1.3f    %1.3f }\n', ...
+%         A1{k,:},A2(k),A3(k),A4(k),A5(k));
+% end
+% bpmx = bpmx';
+
+%% BPMx
+%BPM data: name, index, fit,  weight
+bpmx={
+{   'BPMx001'     1     1      1.000    0.000 }
+{   'BPMx002'     2     1      1.000    0.000 }
+{   'BPMx003'     3     1      1.000    0.000 }
+{   'BPMx004'     4     1      1.000    0.000 }
+{   'BPMx005'     5     1      1.000    0.000 }
+{   'BPMx006'     6     1      1.000    0.000 }
+{   'BPMx007'     7     1      1.000    0.000 }
+{   'BPMx008'     8     1      1.000    0.000 }
+{   'BPMx009'     9     1      1.000    0.000 }
+{   'BPMx010'    10     1      1.000    0.000 }
+{   'BPMx011'    11     1      1.000    0.000 }
+{   'BPMx012'    12     1      1.000    0.000 }
+{   'BPMx013'    13     1      1.000    0.000 }
+{   'BPMx014'    14     1      1.000    0.000 }
+{   'BPMx015'    15     1      1.000    0.000 }
+{   'BPMx016'    16     1      1.000    0.000 }
+{   'BPMx017'    17     1      1.000    0.000 }
+{   'BPMx018'    18     1      1.000    0.000 }
+{   'BPMx019'    19     1      1.000    0.000 }
+{   'BPMx020'    20     1      1.000    0.000 }
+{   'BPMx021'    21     1      1.000    0.000 }
+{   'BPMx022'    22     1      1.000    0.000 }
+{   'BPMx023'    23     1      1.000    0.000 }
+{   'BPMx024'    24     1      1.000    0.000 }
+{   'BPMx025'    25     1      1.000    0.000 }
+{   'BPMx026'    26     1      1.000    0.000 }
+{   'BPMx027'    27     1      1.000    0.000 }
+{   'BPMx028'    28     1      1.000    0.000 }
+{   'BPMx029'    29     1      1.000    0.000 }
+{   'BPMx030'    30     1      1.000    0.000 }
+{   'BPMx031'    31     1      1.000    0.000 }
+{   'BPMx032'    32     1      1.000    0.000 }
+{   'BPMx033'    33     1      1.000    0.000 }
+{   'BPMx034'    34     1      1.000    0.000 }
+{   'BPMx035'    35     1      1.000    0.000 }
+{   'BPMx036'    36     1      1.000    0.000 }
+{   'BPMx037'    37     1      1.000    0.000 }
+{   'BPMx038'    38     1      1.000    0.000 }
+{   'BPMx039'    39     1      1.000    0.000 }
+{   'BPMx040'    40     1      1.000    0.000 }
+{   'BPMx041'    41     1      1.000    0.000 }
+{   'BPMx042'    42     1      1.000    0.000 }
+{   'BPMx043'    43     1      1.000    0.000 }
+{   'BPMx044'    44     1      1.000    0.000 }
+{   'BPMx045'    45     1      1.000    0.000 }
+{   'BPMx046'    46     1      1.000    0.000 }
+{   'BPMx047'    47     1      1.000    0.000 }
+{   'BPMx048'    48     1      1.000    0.000 }
+{   'BPMx049'    49     1      1.000    0.000 }
+{   'BPMx050'    50     1      1.000    0.000 }
+{   'BPMx051'    51     1      1.000    0.000 }
+{   'BPMx052'    52     1      1.000    0.000 }
+{   'BPMx053'    53     1      1.000    0.000 }
+{   'BPMx054'    54     1      1.000    0.000 }
+{   'BPMx055'    55     1      1.000    0.000 }
+{   'BPMx056'    56     1      1.000    0.000 }
+{   'BPMx057'    57     1      1.000    0.000 }
+{   'BPMx058'    58     1      1.000    0.000 }
+{   'BPMx059'    59     1      1.000    0.000 }
+{   'BPMx060'    60     1      1.000    0.000 }
+{   'BPMx061'    61     1      1.000    0.000 }
+{   'BPMx062'    62     1      1.000    0.000 }
+{   'BPMx063'    63     1      1.000    0.000 }
+{   'BPMx064'    64     1      1.000    0.000 }
+{   'BPMx065'    65     1      1.000    0.000 }
+{   'BPMx066'    66     1      1.000    0.000 }
+{   'BPMx067'    67     1      1.000    0.000 }
+{   'BPMx068'    68     1      1.000    0.000 }
+{   'BPMx069'    69     1      1.000    0.000 }
+{   'BPMx070'    70     1      1.000    0.000 }
+{   'BPMx071'    71     1      1.000    0.000 }
+{   'BPMx072'    72     1      1.000    0.000 }
+{   'BPMx073'    73     1      1.000    0.000 }
+{   'BPMx074'    74     1      1.000    0.000 }
+{   'BPMx075'    75     1      1.000    0.000 }
+{   'BPMx076'    76     1      1.000    0.000 }
+{   'BPMx077'    77     1      1.000    0.000 }
+{   'BPMx078'    78     1      1.000    0.000 }
+{   'BPMx079'    79     1      1.000    0.000 }
+{   'BPMx080'    80     1      1.000    0.000 }
+{   'BPMx081'    81     1      1.000    0.000 }
+{   'BPMx082'    82     1      1.000    0.000 }
+{   'BPMx083'    83     1      1.000    0.000 }
+{   'BPMx084'    84     1      1.000    0.000 }
+{   'BPMx085'    85     1      1.000    0.000 }
+{   'BPMx086'    86     1      1.000    0.000 }
+{   'BPMx087'    87     1      1.000    0.000 }
+{   'BPMx088'    88     1      1.000    0.000 }
+{   'BPMx089'    89     1      1.000    0.000 }
+{   'BPMx090'    90     1      1.000    0.000 }
+{   'BPMx121'    91     1      1.000    0.000 }
+{   'BPMx122'    92     1      1.000    0.000 }
+{   'BPMx091'    93     1      1.000    0.000 }
+{   'BPMx092'    94     1      1.000    0.000 }
+{   'BPMx093'    95     1      1.000    0.000 }
+{   'BPMx094'    96     1      1.000    0.000 }
+{   'BPMx095'    97     1      1.000    0.000 }
+{   'BPMx096'    98     1      1.000    0.000 }
+{   'BPMx097'    99     1      1.000    0.000 }
+{   'BPMx098'   100     1      1.000    0.000 }
+{   'BPMx099'   101     1      1.000    0.000 }
+{   'BPMx100'   102     1      1.000    0.000 }
+{   'BPMx101'   103     1      1.000    0.000 }
+{   'BPMx102'   104     1      1.000    0.000 }
+{   'BPMx103'   105     1      1.000    0.000 }
+{   'BPMx104'   106     1      1.000    0.000 }
+{   'BPMx105'   107     1      1.000    0.000 }
+{   'BPMx106'   108     1      1.000    0.000 }
+{   'BPMx107'   109     1      1.000    0.000 }
+{   'BPMx108'   110     1      1.000    0.000 }
+{   'BPMx109'   111     1      1.000    0.000 }
+{   'BPMx110'   112     1      1.000    0.000 }
+{   'BPMx111'   113     1      1.000    0.000 }
+{   'BPMx112'   114     1      1.000    0.000 }
+{   'BPMx113'   115     1      1.000    0.000 }
+{   'BPMx114'   116     1      1.000    0.000 }
+{   'BPMx115'   117     1      1.000    0.000 }
+{   'BPMx116'   118     1      1.000    0.000 }
+{   'BPMx117'   119     1      1.000    0.000 }
+{   'BPMx118'   120     1      1.000    0.000 }
+{   'BPMx119'   121     1      1.000    0.000 }
+{   'BPMx120'   122     1      1.000    0.000 }
+};
+%Note: only fit, weight for fitting will be used in orbit program from this array
+%      Name and index are loADed from middleware
+% name    index fit (0/1)  weight
+% corx={
+% {'1CX1    '  1   1   1.0    }
+
+%% HCOR
+%%% TO DO ERASE for automatic way if no previous file exist
+clear A1 A2 A3 A4 A5
+family = 'HCOR';
+good   = getfamilydata(family,'Status');
+DeviceList = family2dev(family,0);
+A1 = family2common(family,DeviceList);
+nb = length(good);
+A2 = (1:nb)';
+A2 = getfamilydata(family,'ElementList');
+A3 = ones(nb,1).*good;
+A4 = ones(nb,1);
+A5 = getmaxsp(family,DeviceList);
+
+for k = 1:nb,
+    corx{k} = {A1(k,:),A2(k),A3(k),A4(k),A5(k)};
+    fprintf('{  ''%7s''   %3d   %3d      %1.3f    %1.3f    0.250}\n', ...
+        A1{k,:},A2(k),A3(k),A4(k), A5(k));
+end
+corx = corx';
+
+%COR data: name, index, fit,  weight,   limit,      ebpm,      pbpm
+% corx={
+% {  'HCOR001'     1     1      1.000     10.000      0.250  }
+
+% HU640 disable
+corx={
+{  'HCOR001'     1     1      1.000    11.000    0.250}
+{  'HCOR002'     2     0      1.000    11.000    0.250}
+{  'HCOR003'     3     0      1.000    11.000    0.250}
+{  'HCOR004'     4     1      1.000    11.000    0.250}
+{  'HCOR005'     5     0      1.000    11.000    0.250}
+{  'HCOR006'     6     0      1.000    11.000    0.250}
+{  'HCOR007'     7     1      1.000    11.000    0.250}
+{  'HCOR008'     8     1      1.000    11.000    0.250}
+{  'HCOR009'     9     0      1.000    11.000    0.250}
+{  'HCOR010'    10     0      1.000    11.000    0.250}
+{  'HCOR011'    11     1      1.000    11.000    0.250}
+{  'HCOR012'    12     1      1.000    11.000    0.250}
+{  'HCOR013'    13     0      1.000    11.000    0.250}
+{  'HCOR014'    14     0      1.000    11.000    0.250}
+{  'HCOR015'    15     1      1.000    11.000    0.250}
+{  'HCOR016'    16     1      1.000    11.000    0.250}
+{  'HCOR017'    17     0      1.000    11.000    0.250}
+{  'HCOR018'    18     0      1.000    11.000    0.250}
+{  'HCOR019'    19     1      1.000    11.000    0.250}
+{  'HCOR020'    20     1      1.000    11.000    0.250}
+{  'HCOR021'    21     0      1.000    11.000    0.250}
+{  'HCOR022'    22     0      1.000    11.000    0.250}
+{  'HCOR023'    23     1      1.000    11.000    0.250}
+{  'HCOR024'    24     1      1.000    11.000    0.250}
+{  'HCOR025'    25     0      1.000    11.000    0.250}
+{  'HCOR026'    26     0      1.000    11.000    0.250}
+{  'HCOR027'    27     1      1.000    11.000    0.250}
+{  'HCOR028'    28     0      1.000    11.000    0.250}
+{  'HCOR029'    29     0      1.000    11.000    0.250}
+{  'HCOR030'    30     1      1.000    11.000    0.250}
+{  'HCOR121'    31     0      1.000    5.000    0.250}
+{  'HCOR122'    32     0      1.000    5.000    0.250}
+{  'HCOR031'    33     1      1.000    11.000    0.250}
+{  'HCOR032'    34     0      1.000    11.000    0.250}
+{  'HCOR033'    35     0      1.000    11.000    0.250}
+{  'HCOR034'    36     1      1.000    11.000    0.250}
+{  'HCOR035'    37     0      1.000    11.000    0.250}
+{  'HCOR036'    38     0      1.000    11.000    0.250}
+{  'HCOR037'    39     1      1.000    11.000    0.250}
+{  'HCOR038'    40     1      1.000    11.000    0.250}
+{  'HCOR039'    41     0      1.000    11.000    0.250}
+{  'HCOR040'    42     0      1.000    11.000    0.250}
+{  'HCOR041'    43     1      1.000    11.000    0.250}
+{  'HCOR042'    44     1      1.000    11.000    0.250}
+{  'HCOR043'    45     0      1.000    11.000    0.250}
+{  'HCOR044'    46     0      1.000    11.000    0.250}
+{  'HCOR045'    47     1      1.000    11.000    0.250}
+{  'HCOR046'    48     1      1.000    11.000    0.250}
+{  'HCOR047'    49     0      1.000    11.000    0.250}
+{  'HCOR048'    50     0      1.000    11.000    0.250}
+{  'HCOR049'    51     1      1.000    11.000    0.250}
+{  'HCOR050'    52     1      1.000    11.000    0.250}
+{  'HCOR051'    53     0      1.000    11.000    0.250}
+{  'HCOR052'    54     0      1.000    11.000    0.250}
+{  'HCOR053'    55     1      1.000    11.000    0.250}
+{  'HCOR054'    56     1      1.000    11.000    0.250}
+{  'HCOR055'    57     0      1.000    11.000    0.250}
+{  'HCOR056'    58     0      1.000    11.000    0.250}
+{  'HCOR057'    59     1      1.000    11.000    0.250}
+{  'HCOR058'    60     0      1.000    11.000    0.250}
+{  'HCOR059'    61     0      1.000    11.000    0.250}
+{  'HCOR060'    62     1      1.000    11.000    0.250}
+{  'HCOR061'    63     1      1.000    11.000    0.250}
+{  'HCOR062'    64     0      1.000    11.000    0.250}
+{  'HCOR063'    65     0      1.000    11.000    0.250}
+{  'HCOR064'    66     1      1.000    11.000    0.250}
+{  'HCOR065'    67     0      1.000    11.000    0.250}
+{  'HCOR066'    68     0      1.000    11.000    0.250}
+{  'HCOR067'    69     1      1.000    11.000    0.250}
+{  'HCOR068'    70     1      1.000    11.000    0.250}
+{  'HCOR069'    71     0      1.000    11.000    0.250}
+{  'HCOR070'    72     0      1.000    11.000    0.250}
+{  'HCOR071'    73     1      1.000    11.000    0.250}
+{  'HCOR072'    74     1      1.000    11.000    0.250}
+{  'HCOR073'    75     0      1.000    11.000    0.250}
+{  'HCOR074'    76     0      1.000    11.000    0.250}
+{  'HCOR075'    77     1      1.000    11.000    0.250}
+{  'HCOR076'    78     1      1.000    11.000    0.250}
+{  'HCOR077'    79     0      1.000    11.000    0.250}
+{  'HCOR078'    80     0      1.000    11.000    0.250}
+{  'HCOR079'    81     1      1.000    11.000    0.250}
+{  'HCOR080'    82     1      1.000    11.000    0.250}
+{  'HCOR081'    83     0      1.000    11.000    0.250}
+{  'HCOR082'    84     0      1.000    11.000    0.250}
+{  'HCOR083'    85     1      1.000    11.000    0.250}
+{  'HCOR084'    86     1      1.000    11.000    0.250}
+{  'HCOR085'    87     0      1.000    11.000    0.250}
+{  'HCOR086'    88     0      1.000    11.000    0.250}
+{  'HCOR087'    89     1      1.000    11.000    0.250}
+{  'HCOR088'    90     0      1.000    11.000    0.250}
+{  'HCOR089'    91     0      1.000    11.000    0.250}
+{  'HCOR090'    92     1      1.000    11.000    0.250}
+{  'HCOR123'    93     1      1.000    11.000    0.250}
+{  'HCOR124'    94     0      1.000    11.000    0.250}
+{  'HCOR091'    95     1      1.000    11.000    0.250}
+{  'HCOR092'    96     0      1.000    11.000    0.250}
+{  'HCOR093'    97     0      1.000    11.000    0.250}
+{  'HCOR094'    98     1      1.000    11.000    0.250}
+{  'HCOR095'    99     0      1.000    11.000    0.250}
+{  'HCOR096'   100     0      1.000    11.000    0.250}
+{  'HCOR097'   101     1      1.000    11.000    0.250}
+{  'HCOR098'   102     1      1.000    11.000    0.250}
+{  'HCOR099'   103     0      1.000    11.000    0.250}
+{  'HCOR100'   104     0      1.000    11.000    0.250}
+{  'HCOR101'   105     1      1.000    11.000    0.250}
+{  'HCOR102'   106     1      1.000    11.000    0.250}
+{  'HCOR103'   107     0      1.000    11.000    0.250}
+{  'HCOR104'   108     0      1.000    11.000    0.250}
+{  'HCOR105'   109     1      1.000    11.000    0.250}
+{  'HCOR106'   110     1      1.000    11.000    0.250}
+{  'HCOR107'   111     0      1.000    11.000    0.250}
+{  'HCOR108'   112     0      1.000    11.000    0.250}
+{  'HCOR109'   113     1      1.000    11.000    0.250}
+{  'HCOR110'   114     1      1.000    11.000    0.250}
+{  'HCOR111'   115     0      1.000    11.000    0.250}
+{  'HCOR112'   116     0      1.000    11.000    0.250}
+{  'HCOR113'   117     1      1.000    11.000    0.250}
+{  'HCOR114'   118     1      1.000    11.000    0.250}
+{  'HCOR115'   119     0      1.000    11.000    0.250}
+{  'HCOR116'   120     0      1.000    11.000    0.250}
+{  'HCOR117'   121     1      1.000    11.000    0.250}
+{  'HCOR118'   122     0      1.000    11.000    0.250}
+{  'HCOR119'   123     0      1.000    11.000    0.250}
+{  'HCOR120'   124     1      1.000    11.000    0.250}
+};
+
+%*===   VERTICAL DATA ===*
+% bpm(2).dev      = 10;              %maximum orbit deviation
+bpm(2).id       = 1;               %BPM selection
+bpm(2).scalemode= 1;               %BPM scale mode 0=manual mode, 1=autoscale
+bpm(2).ylim     = 5;               %BPM vertical axis scale
+bpm(2).units    = '1000xHardware'; %Display units
+bpm(1).scale    = 1000;            %Scaling factor
+cor(2).fract    = 1.0;             %fraction of correctors
+cor(2).id       = 1;               %COR selection
+cor(2).scalemode= 0;               %COR scale mode 0=manual mode, 1=autoscale
+cor(2).ylim     = maxn(getfamilydata(cor(2).AOFamily,'Setpoint','Range'));  %COR horizontal axis scale (amp)
+cor(2).units    = 'Hardware';      %Display Units
+cor(2).hw2physics = hw2physics(cor(2).AOFamily,'Setpoint',1,1)*1e3; % mrAD
+rsp(2).disp     = 'off';           %mode for matrix column display
+rsp(2).eig      = 'off';           %mode for eigenvector display
+rsp(2).fit      = 0;               %valid fit flag
+rsp(2).rfflag   = 0;               %rf fitting flag
+rsp(2).etaflag  = 0;               %dispersion fitting flag
+rsp(2).savflag  = 0;               %save solution flag
+rsp(2).nsvd     = 57;              %number of singular values
+rsp(2).svdtol   = 0;               %svd tolerance (0 uses number of singular values)
+rsp(2).nsvdmax  = 1;               %default maximum number of singular values
+
+%% BPMZ
+% TO DO ERASE for automatic way if no previous file exist
+% 
+% %     name       index  fit (0/1) weight   etaweight
+% % bpmz={
+% % {    '1BPM1    '     1      1      1.000     0.000     }
+% bpmz = bpmx;
+
+% family = 'BPMz';
+% good   = getfamilydata(family,'Status');
+% nb = length(good);
+% A1 = family2common(family);
+% A2 = (1:nb)';
+% A3 = ones(nb,1);
+% A4 = ones(nb,1);
+% A5 = zeros(nb,1);
+% 
+% for k = 1:nb,
+%     bpmz{k} = {A1(k,:),A2(k),A3(k),A4(k),A5(k)};
+%     fprintf('{  ''%7s''   %3d   %3d      %1.3f    %1.3f }\n', ...
+%         A1{k,:},A2(k),A3(k),A4(k),A5(k));
+% end
+% bpmz = bpmz';
+
+%%BPMx
+%BPM data: name, index, fit,  weight
+bpmz={
+{  'BPMz001'     1     1      1.000    0.000 }
+{  'BPMz002'     2     1      1.000    0.000 }
+{  'BPMz003'     3     1      1.000    0.000 }
+{  'BPMz004'     4     1      1.000    0.000 }
+{  'BPMz005'     5     1      1.000    0.000 }
+{  'BPMz006'     6     1      1.000    0.000 }
+{  'BPMz007'     7     1      1.000    0.000 }
+{  'BPMz008'     8     1      1.000    0.000 }
+{  'BPMz009'     9     1      1.000    0.000 }
+{  'BPMz010'    10     1      1.000    0.000 }
+{  'BPMz011'    11     1      1.000    0.000 }
+{  'BPMz012'    12     1      1.000    0.000 }
+{  'BPMz013'    13     1      1.000    0.000 }
+{  'BPMz014'    14     1      1.000    0.000 }
+{  'BPMz015'    15     1      1.000    0.000 }
+{  'BPMz016'    16     1      1.000    0.000 }
+{  'BPMz017'    17     1      1.000    0.000 }
+{  'BPMz018'    18     1      1.000    0.000 }
+{  'BPMz019'    19     1      1.000    0.000 }
+{  'BPMz020'    20     1      1.000    0.000 }
+{  'BPMz021'    21     1      1.000    0.000 }
+{  'BPMz022'    22     1      1.000    0.000 }
+{  'BPMz023'    23     1      1.000    0.000 }
+{  'BPMz024'    24     1      1.000    0.000 }
+{  'BPMz025'    25     1      1.000    0.000 }
+{  'BPMz026'    26     1      1.000    0.000 }
+{  'BPMz027'    27     1      1.000    0.000 }
+{  'BPMz028'    28     1      1.000    0.000 }
+{  'BPMz029'    29     1      1.000    0.000 }
+{  'BPMz030'    30     1      1.000    0.000 }
+{  'BPMz031'    31     1      1.000    0.000 }
+{  'BPMz032'    32     1      1.000    0.000 }
+{  'BPMz033'    33     1      1.000    0.000 }
+{  'BPMz034'    34     1      1.000    0.000 }
+{  'BPMz035'    35     1      1.000    0.000 }
+{  'BPMz036'    36     1      1.000    0.000 }
+{  'BPMz037'    37     1      1.000    0.000 }
+{  'BPMz038'    38     1      1.000    0.000 }
+{  'BPMz039'    39     1      1.000    0.000 }
+{  'BPMz040'    40     1      1.000    0.000 }
+{  'BPMz041'    41     1      1.000    0.000 }
+{  'BPMz042'    42     1      1.000    0.000 }
+{  'BPMz043'    43     1      1.000    0.000 }
+{  'BPMz044'    44     1      1.000    0.000 }
+{  'BPMz045'    45     1      1.000    0.000 }
+{  'BPMz046'    46     1      1.000    0.000 }
+{  'BPMz047'    47     1      1.000    0.000 }
+{  'BPMz048'    48     1      1.000    0.000 }
+{  'BPMz049'    49     1      1.000    0.000 }
+{  'BPMz050'    50     1      1.000    0.000 }
+{  'BPMz051'    51     1      1.000    0.000 }
+{  'BPMz052'    52     1      1.000    0.000 }
+{  'BPMz053'    53     1      1.000    0.000 }
+{  'BPMz054'    54     1      1.000    0.000 }
+{  'BPMz055'    55     1      1.000    0.000 }
+{  'BPMz056'    56     1      1.000    0.000 }
+{  'BPMz057'    57     1      1.000    0.000 }
+{  'BPMz058'    58     1      1.000    0.000 }
+{  'BPMz059'    59     1      1.000    0.000 }
+{  'BPMz060'    60     1      1.000    0.000 }
+{  'BPMz061'    61     1      1.000    0.000 }
+{  'BPMz062'    62     1      1.000    0.000 }
+{  'BPMz063'    63     1      1.000    0.000 }
+{  'BPMz064'    64     1      1.000    0.000 }
+{  'BPMz065'    65     1      1.000    0.000 }
+{  'BPMz066'    66     1      1.000    0.000 }
+{  'BPMz067'    67     1      1.000    0.000 }
+{  'BPMz068'    68     1      1.000    0.000 }
+{  'BPMz069'    69     1      1.000    0.000 }
+{  'BPMz070'    70     1      1.000    0.000 }
+{  'BPMz071'    71     1      1.000    0.000 }
+{  'BPMz072'    72     1      1.000    0.000 }
+{  'BPMz073'    73     1      1.000    0.000 }
+{  'BPMz074'    74     1      1.000    0.000 }
+{  'BPMz075'    75     1      1.000    0.000 }
+{  'BPMz076'    76     1      1.000    0.000 }
+{  'BPMz077'    77     1      1.000    0.000 }
+{  'BPMz078'    78     1      1.000    0.000 }
+{  'BPMz079'    79     1      1.000    0.000 }
+{  'BPMz080'    80     1      1.000    0.000 }
+{  'BPMz081'    81     1      1.000    0.000 }
+{  'BPMz082'    82     1      1.000    0.000 }
+{  'BPMz083'    83     1      1.000    0.000 }
+{  'BPMz084'    84     1      1.000    0.000 }
+{  'BPMz085'    85     1      1.000    0.000 }
+{  'BPMz086'    86     1      1.000    0.000 }
+{  'BPMz087'    87     1      1.000    0.000 }
+{  'BPMz088'    88     1      1.000    0.000 }
+{  'BPMz089'    89     1      1.000    0.000 }
+{  'BPMz090'    90     1      1.000    0.000 }
+{  'BPMz121'    91     1      1.000    0.000 }
+{  'BPMz122'    92     1      1.000    0.000 }
+{  'BPMz091'    93     1      1.000    0.000 }
+{  'BPMz092'    94     1      1.000    0.000 }
+{  'BPMz093'    95     1      1.000    0.000 }
+{  'BPMz094'    96     1      1.000    0.000 }
+{  'BPMz095'    97     1      1.000    0.000 }
+{  'BPMz096'    98     1      1.000    0.000 }
+{  'BPMz097'    99     1      1.000    0.000 }
+{  'BPMz098'   100     1      1.000    0.000 }
+{  'BPMz099'   101     1      1.000    0.000 }
+{  'BPMz100'   102     1      1.000    0.000 }
+{  'BPMz101'   103     1      1.000    0.000 }
+{  'BPMz102'   104     1      1.000    0.000 }
+{  'BPMz103'   105     1      1.000    0.000 }
+{  'BPMz104'   106     1      1.000    0.000 }
+{  'BPMz105'   107     1      1.000    0.000 }
+{  'BPMz106'   108     1      1.000    0.000 }
+{  'BPMz107'   109     1      1.000    0.000 }
+{  'BPMz108'   110     1      1.000    0.000 }
+{  'BPMz109'   111     1      1.000    0.000 }
+{  'BPMz110'   112     1      1.000    0.000 }
+{  'BPMz111'   113     1      1.000    0.000 }
+{  'BPMz112'   114     1      1.000    0.000 }
+{  'BPMz113'   115     1      1.000    0.000 }
+{  'BPMz114'   116     1      1.000    0.000 }
+{  'BPMz115'   117     1      1.000    0.000 }
+{  'BPMz116'   118     1      1.000    0.000 }
+{  'BPMz117'   119     1      1.000    0.000 }
+{  'BPMz118'   120     1      1.000    0.000 }
+{  'BPMz119'   121     1      1.000    0.000 }
+{  'BPMz120'   122     1      1.000    0.000 }
+};
+
+%% VCOR
+% TO DO ERASE for automatic way if no previous file exist
+
+% name    index fit (0/1)  weight
+% corz={
+% {'1CY1    '  1   1   1.0    }
+
+% family = 'VCOR';
+% good = getfamilydata(family,'Status');
+% nb = length(good);
+% DeviceList = family2dev(family,0);
+% A1 = family2common(family,DeviceList,0);
+% A2 = (1:nb)';
+% A3 = ones(nb,1).*good;
+% A4 = ones(nb,1);
+% A5 = getmaxsp(family,DeviceList);
+% 
+% for k = 1:nb,
+%     corz{k} = {A1(k,:),A2(k),A3(k),A4(k),A5(k)};
+%     fprintf('{  ''%7s''   %3d   %3d      %1.3f    %1.3f    0.250}\n', ...
+%         A1{k,:},A2(k),A3(k),A4(k), A5(k));
+% end
+% corz = corz';
+
+%COR data: name, index, fit,  weight,   limit,      ebpm,      pbpm
+% corz={
+corz={
+{  'VCOR001'     1     0      1.000    14.000    0.250}
+{  'VCOR002'     2     1      1.000    14.000    0.250}
+{  'VCOR003'     3     0      1.000    14.000    0.250}
+{  'VCOR004'     4     1      1.000    14.000    0.250}
+{  'VCOR005'     5     0      1.000    14.000    0.250}
+{  'VCOR006'     6     1      1.000    14.000    0.250}
+{  'VCOR007'     7     0      1.000    14.000    0.250}
+{  'VCOR008'     8     0      1.000    14.000    0.250}
+{  'VCOR009'     9     1      1.000    14.000    0.250}
+{  'VCOR010'    10     1      1.000    14.000    0.250}
+{  'VCOR011'    11     0      1.000    14.000    0.250}
+{  'VCOR012'    12     0      1.000    14.000    0.250}
+{  'VCOR013'    13     1      1.000    14.000    0.250}
+{  'VCOR014'    14     1      1.000    14.000    0.250}
+{  'VCOR015'    15     0      1.000    14.000    0.250}
+{  'VCOR016'    16     0      1.000    14.000    0.250}
+{  'VCOR017'    17     1      1.000    14.000    0.250}
+{  'VCOR018'    18     1      1.000    14.000    0.250}
+{  'VCOR019'    19     0      1.000    14.000    0.250}
+{  'VCOR020'    20     0      1.000    14.000    0.250}
+{  'VCOR021'    21     1      1.000    14.000    0.250}
+{  'VCOR022'    22     1      1.000    14.000    0.250}
+{  'VCOR023'    23     0      1.000    14.000    0.250}
+{  'VCOR024'    24     0      1.000    14.000    0.250}
+{  'VCOR025'    25     1      1.000    14.000    0.250}
+{  'VCOR026'    26     0      1.000    14.000    0.250}
+{  'VCOR027'    27     1      1.000    14.000    0.250}
+{  'VCOR028'    28     0      1.000    14.000    0.250}
+{  'VCOR029'    29     1      1.000    14.000    0.250}
+{  'VCOR030'    30     0      1.000    14.000    0.250}
+{  'VCOR121'    31     0      1.000    5.000    0.250}
+{  'VCOR122'    32     0      1.000    5.000    0.250}
+{  'VCOR031'    33     0      1.000    14.000    0.250}
+{  'VCOR032'    34     1      1.000    14.000    0.250}
+{  'VCOR033'    35     0      1.000    14.000    0.250}
+{  'VCOR034'    36     1      1.000    14.000    0.250}
+{  'VCOR035'    37     0      1.000    14.000    0.250}
+{  'VCOR036'    38     1      1.000    14.000    0.250}
+{  'VCOR037'    39     0      1.000    14.000    0.250}
+{  'VCOR038'    40     0      1.000    14.000    0.250}
+{  'VCOR039'    41     1      1.000    14.000    0.250}
+{  'VCOR040'    42     1      1.000    14.000    0.250}
+{  'VCOR041'    43     0      1.000    14.000    0.250}
+{  'VCOR042'    44     0      1.000    14.000    0.250}
+{  'VCOR043'    45     1      1.000    14.000    0.250}
+{  'VCOR044'    46     1      1.000    14.000    0.250}
+{  'VCOR045'    47     0      1.000    14.000    0.250}
+{  'VCOR046'    48     0      1.000    14.000    0.250}
+{  'VCOR047'    49     1      1.000    14.000    0.250}
+{  'VCOR048'    50     1      1.000    14.000    0.250}
+{  'VCOR049'    51     0      1.000    14.000    0.250}
+{  'VCOR050'    52     0      1.000    14.000    0.250}
+{  'VCOR051'    53     1      1.000    14.000    0.250}
+{  'VCOR052'    54     1      1.000    14.000    0.250}
+{  'VCOR053'    55     0      1.000    14.000    0.250}
+{  'VCOR054'    56     0      1.000    14.000    0.250}
+{  'VCOR055'    57     1      1.000    14.000    0.250}
+{  'VCOR056'    58     0      1.000    14.000    0.250}
+{  'VCOR057'    59     1      1.000    14.000    0.250}
+{  'VCOR058'    60     0      1.000    14.000    0.250}
+{  'VCOR059'    61     1      1.000    14.000    0.250}
+{  'VCOR060'    62     0      1.000    14.000    0.250}
+{  'VCOR061'    63     0      1.000    14.000    0.250}
+{  'VCOR062'    64     1      1.000    14.000    0.250}
+{  'VCOR063'    65     0      1.000    14.000    0.250}
+{  'VCOR064'    66     1      1.000    14.000    0.250}
+{  'VCOR065'    67     0      1.000    14.000    0.250}
+{  'VCOR066'    68     1      1.000    14.000    0.250}
+{  'VCOR067'    69     0      1.000    14.000    0.250}
+{  'VCOR068'    70     0      1.000    14.000    0.250}
+{  'VCOR069'    71     1      1.000    14.000    0.250}
+{  'VCOR070'    72     1      1.000    14.000    0.250}
+{  'VCOR071'    73     0      1.000    14.000    0.250}
+{  'VCOR072'    74     0      1.000    14.000    0.250}
+{  'VCOR073'    75     1      1.000    14.000    0.250}
+{  'VCOR074'    76     1      1.000    14.000    0.250}
+{  'VCOR075'    77     0      1.000    14.000    0.250}
+{  'VCOR076'    78     0      1.000    14.000    0.250}
+{  'VCOR077'    79     1      1.000    14.000    0.250}
+{  'VCOR078'    80     1      1.000    14.000    0.250}
+{  'VCOR079'    81     0      1.000    14.000    0.250}
+{  'VCOR080'    82     0      1.000    14.000    0.250}
+{  'VCOR081'    83     1      1.000    14.000    0.250}
+{  'VCOR082'    84     1      1.000    14.000    0.250}
+{  'VCOR083'    85     0      1.000    14.000    0.250}
+{  'VCOR084'    86     0      1.000    14.000    0.250}
+{  'VCOR085'    87     1      1.000    14.000    0.250}
+{  'VCOR086'    88     0      1.000    14.000    0.250}
+{  'VCOR087'    89     1      1.000    14.000    0.250}
+{  'VCOR088'    90     0      1.000    14.000    0.250}
+{  'VCOR089'    91     1      1.000    14.000    0.250}
+{  'VCOR090'    92     0      1.000    14.000    0.250}
+{  'VCOR123'    93     0      1.000    14.000    0.250}
+{  'VCOR124'    94     1      1.000    14.000    0.250}
+{  'VCOR091'    95     0      1.000    14.000    0.250}
+{  'VCOR092'    96     1      1.000    14.000    0.250}
+{  'VCOR093'    97     0      1.000    14.000    0.250}
+{  'VCOR094'    98     1      1.000    14.000    0.250}
+{  'VCOR095'    99     0      1.000    14.000    0.250}
+{  'VCOR096'   100     1      1.000    14.000    0.250}
+{  'VCOR097'   101     0      1.000    14.000    0.250}
+{  'VCOR098'   102     0      1.000    14.000    0.250}
+{  'VCOR099'   103     1      1.000    14.000    0.250}
+{  'VCOR100'   104     1      1.000    14.000    0.250}
+{  'VCOR101'   105     0      1.000    14.000    0.250}
+{  'VCOR102'   106     0      1.000    14.000    0.250}
+{  'VCOR103'   107     1      1.000    14.000    0.250}
+{  'VCOR104'   108     1      1.000    14.000    0.250}
+{  'VCOR105'   109     0      1.000    14.000    0.250}
+{  'VCOR106'   110     0      1.000    14.000    0.250}
+{  'VCOR107'   111     1      1.000    14.000    0.250}
+{  'VCOR108'   112     1      1.000    14.000    0.250}
+{  'VCOR109'   113     0      1.000    14.000    0.250}
+{  'VCOR110'   114     0      1.000    14.000    0.250}
+{  'VCOR111'   115     1      1.000    14.000    0.250}
+{  'VCOR112'   116     1      1.000    14.000    0.250}
+{  'VCOR113'   117     0      1.000    14.000    0.250}
+{  'VCOR114'   118     0      1.000    14.000    0.250}
+{  'VCOR115'   119     1      1.000    14.000    0.250}
+{  'VCOR116'   120     0      1.000    14.000    0.250}
+{  'VCOR117'   121     1      1.000    14.000    0.250}
+{  'VCOR118'   122     0      1.000    14.000    0.250}
+{  'VCOR119'   123     1      1.000    14.000    0.250}
+{  'VCOR120'   124     0      1.000    14.000    0.250}
+};
Index: /trunk/machine/SOLEIL/StorageRing/orbit/solorbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/solorbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/solorbit.m	(revision 17)
@@ -0,0 +1,216 @@
+% GUI for orbit correction
+%
+%=============================================================
+% Instruction sequence to launch orbit program for SOLEIL
+% Laurent S. Nadolski 
+% Adaptation from William J. Corbett SPEAR3 application
+%=============================================================
+%
+% TODO Amman's Factor not take off of the R-matrix: to do in the future
+%
+% See Also orbgui, bpmgui, corgui, respgui, sortbpms, soleilrestore, sortcors, restoreorbit
+
+NanoFlag = 1;
+
+disp('   Initializing orbit control panel...');
+
+%Check to see AcceleratorObjects loaded
+global THERING
+if isempty(getao) || ~exist('THERING','var')
+    disp('Warning: Load Accelerator Model and AcceleratorObjects first');
+    return
+end
+
+%Software operates in HW units
+switch2hw;
+
+%change directory to SOLEIL
+vpath = getfamilydata('Directory','Orbit');
+cd(vpath);
+
+%Clear global structures
+clear global SYS BPM COR RSP
+setappdata(0,'SYS',[]);
+setappdata(0,'BPM',[]);
+setappdata(0,'COR',[]);
+setappdata(0,'RSP',[]);
+
+%Declare global structures
+global SYS BPM COR RSP %... in the command window workspace for timer
+
+%Clear previous ORBIT figure
+orbfig = findobj(0,'tag','orbfig');  %orbfig "global"
+if ~isempty(orbfig), delete(orbfig); end
+
+%Initialize Structures for Orbit Program (no control parameters)
+BPM = BPMInit_Orb;
+COR = CORInit_Orb;
+
+%SYS parameters are required for initialization
+SYS.machine    = 'SOLEIL';
+if NanoFlag
+SYS.restorefile= 'soleilrestore_nano';
+else
+    SYS.restorefile= 'soleilrestore';
+end
+SYS.localdata  = [vpath 'localdata/'];
+SYS.reffile    = 'silver.dat';
+SYS.bpmode     = 'slowacquisition'; 
+SYS.plane      = 1;          % H-plane
+SYS.cortype    = COR(SYS.plane).AOFamily; % consistent with SYS.plane=1
+SYS.relative   = 1;          % Absolute mode
+SYS.current    = getdcct;        % Amperes
+SYS.energy     = getenergy;  % In GeV
+SYS.lifetime   = 15;         % Lifetime in hours 
+SYS.units      ='HW';        %default to hardware units
+
+%Draw main figure
+orbgui('OrbFig');               %Figure with tag 'orbfig'
+% SYS.ahbpm = orbgui('Axes_1');   % Create handles for  Axes for BPM
+% setappdata(0,'SYS',SYS);
+orbgui('BPMAxes');              %establish upper axes for BPMs, use ah_1 for BPMs
+orbgui('CorAxes');              %COR axes with tag 'SYS.ahbpm'
+orbgui('SVDAxes');              %SVD axes with tag 'SYS.ahbpm'
+orbgui('BPMbox');               %BPM information display box
+orbgui('CorBox');               %COR information display box
+orbgui('SVDBox');               %SVD information display box
+orbgui('LstBox');               %List Box to display program information
+orbgui('PlotMenu');             %Menu for plot options
+orbgui('BPMMenu');              %Menu for BPM options
+orbgui('CORMenu');              %Menu for COR options
+orbgui('RespMenu');             %Menu for Response Matrix options
+orbgui('EtaMenu');              %Dispersion control panel
+orbgui('OptMenu');              %Menu for Optics options
+orbgui('SimMenu');              %Menu for Simulation options
+orbgui('SuperperiodMenu');      %Menu for Response Matrix options
+orbgui('SYSMenu');              %Menu for System options
+orbgui('UIControls');           %UIControls
+%orbgui('AlgorithmMenu');       %Algo choice
+%orbgui('BumpSlider');          %Bump height adjustment
+orbgui('MachineParameters');    %Text fields for system parameters, load initial values
+
+
+% init maximum x-scale
+SYS.xlimax = getcircumference;
+setappdata(0,'SYS',SYS);
+  
+orbgui('LoadRaw2Real'); %Load Raw2Real coefficients from physdata
+orbgui('LatticeAxes');  %Used to zoom abscissa
+orbgui('plotxaxis','allmachine');   %set default xaxis 
+
+%Read reference orbit (to load iref; .abs and .des=.ref in routine)
+BPM = RefOrb2Zero(BPM);
+
+%Restore user parameters, load response matrices, golden orbit
+[SYS BPM COR RSP] = restoreorbit(vpath,SYS.restorefile,'auto',SYS,BPM,COR,RSP);  %no graphics commands
+
+%% Determine the mode used in the workspace
+switch getmode(COR(1).AOFamily);
+    case 'Online'
+        SYS.mode   = 'Online';
+        set(SYS.online, 'Checked', 'On');
+        set(SYS.orbfig,'Name', ...
+            'SOLEIL Storage Ring Orbit Correction Interface (Online)');
+        set(SYS.modecolor,'BackGroundColor','r','String','Online');       
+    otherwise % Assume simulator mode
+        SYS.mode   = 'Simulator';
+        set(SYS.sim, 'Checked', 'On');
+        set(SYS.orbfig,'Name', ...
+            'SOLEIL Storage Ring Orbit Correction Interface (Simulator)');
+        set(SYS.modecolor,'BackGroundColor','g','String','Simulator');
+end
+
+%% Get phase advanced for machine state
+optics     = gettwiss(THERING,0.0);
+BPM(1).phi = optics.phix(BPM(1).ATindex);
+BPM(2).phi = optics.phix(BPM(2).ATindex);
+COR(1).phi = optics.phix(COR(1).ATindex);
+COR(2).phi = optics.phix(COR(2).ATindex);
+clear optics;
+%NOTE: expect response matrix in hardware units (mm/amp)
+
+%%begin hardware checkouts
+%% BPM checking
+
+disp('   Checking BPMs...');
+[BPM(1).status BPM(2).status] = soleilbpmcheck; %get status from TANGO or sim
+BPM(1).avail = BPM(1).status;    %if status o.k. default to available
+BPM(2).avail = BPM(2).status;
+BPM = SortBPMs(BPM,RSP);         %sort for avail, ifit
+
+% Measure actual orbit
+bpmgui('GetAct');   % mm for hardware, meters for physics
+
+%% Corrector checking
+disp('   Checking corrector magnets...');
+[COR(1).status COR(2).status] = soleilcorcheck;
+COR(1).avail = COR(1).status;     %if status o.k. default to available
+COR(2).avail = COR(2).status;
+COR          = sortcors(COR,RSP); %Get COR status, sort for avail, ifit
+
+%Measure actual correctors
+corgui('GetAct');              %amps for hardware, rad for physics
+COR(1).ref = COR(1).act;
+COR(2).ref = COR(2).act;
+
+%Updates data in workspace
+BPM = orderfields(BPM);
+COR = orderfields(COR);
+setappdata(0,'BPM',BPM);
+setappdata(0,'COR',COR);
+
+%% Plot initial BPM data
+disp('   Initializing Plots...');
+bpmgui('PlotRef_Init');                %...solid red/loaded in BPMInit
+bpmgui('PlotIcons_Init');              %...hot circles
+bpmgui('PlotDes_Init');                %...dashed red line
+bpmgui('PlotAct_Init');                %...initialize blue actual orbit plot
+bpmgui('PlotFit_Init');                %...initialize orbit fit plot
+bpmgui('PlotResp_Init');               %...initialize response matrix plot
+bpmgui('PlotEig_Init');                %...initialize eigenvector plot
+bpmgui('PlotRef');                     %...solid red/loaded in BPMInit
+bpmgui('PlotBPMs');                    %...hot circles/loaded in BPMInit
+bpmgui('PlotAct');                     %...blue line/loaded in BPMInit
+
+%Plot initial cor data
+corgui('PlotCor_Init');                %...initialize corrector patches
+
+%Plot initial SVD data
+respgui('PlotSVD_Init');               %...initialize bpm and corrector eigenvector plots
+
+%Set up program parameters: both planes
+SYS = orderfields(SYS);
+disp('   Setting up program parameters...');
+SYS.plane = 1;                           %start with horizontal plane
+for ip = 1:2
+    orbgui('Plane');                   %switch to vertical
+    corgui('SaveCors',ip);            %saves one plane only, all correctors
+    COR(ip).rst = COR(ip).act;         %default reset field for 'REMOVE' button
+    setappdata(0,'COR',COR);
+end
+
+for ip = 2:-1:1
+    SYS.plane=ip;
+    setappdata(0,'SYS',SYS);
+    corgui('HidePlots');
+end
+corgui('ShowPlots');
+%orbgui('RefreshOrbGUI');
+readwrite('ReadBPMReference','XZ','Golden');  %load golden orbit, calls RefreshOrbGUI
+
+orbgui('InitialSaveSet');              %load data for restore
+orbgui('LBox',' Finished loading Restore File');
+
+% Orbit in micron {default}
+orbgui('BPMChangeUnits','1000xHardware');
+% Corrector in Harware units {default}
+orbgui('CORChangeUnits','Hardware');
+
+%make figure visible
+set(orbfig,'Visible','On');  drawnow;
+% pause(1.0); set(orbfig,'Visible','On');  drawnow;   %why repeat??
+disp('   Finished initializing orbit program');
+set(findobj(0,'Tag','orbfig'),'Visible','On');
+
+%% Cleaning up
+clear ip vpath AO orbfig;
Index: /trunk/machine/SOLEIL/StorageRing/orbit/sortbpms.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/sortbpms.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/sortbpms.m	(revision 17)
@@ -0,0 +1,59 @@
+function varargout = sortbpms(varargin)
+%SORTBPMS - Compares vectors for several cases:
+%(1) available electronically (BPM.status)
+%(2) available in reference orbit (BPM.iref)
+%(3) available in response matrix (RSP.ib)
+%*** BPM.avail requires reference, response matrix, status
+%
+% INPUTS
+% 1. Bpm structure
+% 2. Response matrix structure
+%
+% OUTPUTS
+% 1. Updated BPM structure
+
+% 
+% Written by Jeff Corbett
+% Modified by Laurent S. Nadolski
+
+BPM = varargin{1};
+RSP = varargin{2};
+
+% [C,IA,IB] = INTERSECT(A,B) returns index vectors IA and IB
+% such that C = A(IA) and C = B(IB)
+% [C,I] = SETDIFF(...) returns an index vector I such that C = A(I)
+
+for ip = 1:2
+    % compare status with reference orbit
+    [BPM(ip).avail,IA,IB] = intersect(BPM(ip).iref,BPM(ip).status); %BPM.iref and BPM.status are compressed
+    [C,IA] = setdiff(BPM(ip).iref,BPM(ip).iref(IA));                %check for rejected reference BPMs
+    if ~isempty(IA)
+        disp('SortBPMs Warning 1A: BPMs in reference orbit do not have valid status');
+        for ii = IA
+            disp(BPM(ip).name(ii,:));
+        end
+    end
+
+    % compare result with response matrix
+    [BPM(ip).avail,IA,IB] = intersect(BPM(ip).avail,RSP(ip).ib);  %BPM.avail and RSP.ib are compressed
+    [C,IA] = setdiff(BPM(ip).avail,BPM(ip).avail(IA));            %check for rejected available BPMs
+    if ~isempty(IA)
+        disp('SortBPMs Warning 2A: BPMs with valid status and in reference orbit not in response matrix');
+        for ii=IA
+            disp(BPM(ip).name(ii,:));
+        end
+    end
+
+    % compare result with fit selection
+    [BPM(ip).ifit,IA,IB] = intersect(BPM(ip).avail,BPM(ip).ifit); %BPM.avail and BPM.ifit are compressed
+    [C,IA] = setdiff(BPM(ip).avail,BPM(ip).avail(IA));            %check for rejected available BPMs   
+    if ~isempty(IA)
+        disp('SortBPMs Warning 3A: BPMs with valid status, in reference orbit, and in response matrix not in fit');
+        for ii = IA
+            disp(BPM(ip).name(ii,:));
+        end
+    end
+
+end  %end of plane loop
+
+varargout{1} = BPM;
Index: /trunk/machine/SOLEIL/StorageRing/orbit/sortcors.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/sortcors.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/sortcors.m	(revision 17)
@@ -0,0 +1,48 @@
+function varargout = sortcors(varargin)
+%SORTCORS - Compares vectors for several cases:
+%(1) available electronically     (COR.status)
+%(2) available in response matrix (RSP.ic)
+%(3) check for user selection     (COR.ifit)
+%
+% INPUTS
+% 1. Corrector structure
+% 2. Response matrix structure
+%
+% OUTPUTS
+% 1. Updated Corrector structure
+
+% 
+% Written by William J. Corbett
+% Modified by Laurent S. Nadolski
+
+COR = varargin{1}; 
+RSP = varargin{2}; 
+
+% [C,IA,IB] = INTERSECT(A,B) returns index vectors IA and IB
+% such that C = A(IA) and C = B(IB)
+% [C,I] = SETDIFF(...) returns an index vector I such that C = A(I)
+
+for ip = 1:2 % for each plane
+% compare response matrix with status
+[COR(ip).avail,IA,IB] = intersect(RSP(ip).ic,COR(ip).status); %RSP.ic and COR.status are compressed 
+[C,IA]                = setdiff(RSP(ip).ic,RSP(ip).ic(IA)); %check for rejected response matrix CORs
+if ~isempty(IA)
+    disp('SortCORs Warning 1A: CORs in response matrix do not have valid status');
+    for ii = IA
+        disp(COR(ip).name(ii,:));
+    end
+end
+
+% compare result with fit selection
+[COR(ip).ifit,IA,IB] = intersect(COR(ip).avail,COR(ip).ifit);  %COR.avail and COR.ifit are compressed
+[C,IB]               = setdiff(COR(ip).ifit,COR(ip).ifit(IB)); %check for rejected fit CORs 
+if ~isempty(IB) 
+    disp('SortCORs Warning 2B: CORs in fit not do not have valid status or not in response matrix');
+    for ii = IB
+        disp(COR(ip).name(ii,:));
+    end
+end
+
+end  %end of plane loop
+
+varargout{1} = COR;
Index: /trunk/machine/SOLEIL/StorageRing/orbit/vfcm2zero.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/orbit/vfcm2zero.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/orbit/vfcm2zero.m	(revision 17)
@@ -0,0 +1,70 @@
+function vfcm2zero(varargin)
+%VFCM2ZERO - Set vertical corrector strengths to zero
+%
+% vfcm2zero(fraction, nstep)
+%
+%  INPUTS
+%  1. fract - fraction of corrector strength to put to zero
+%            {1} means correctors set to zero
+%             0.5 means half of the corrector strength set to zero
+%  2. nstep - number of step for zeroing correctors {Default: 5}
+%  3. Optional - 'Interactive' Wait for user for each step {Default}
+%                'NoInteractive' pause 10 s for each step     
+%
+%  See Also vhcm2zero
+
+%
+%  Written by Gregory J. Portmann
+%  Adapted by Laurent S. Nadolski
+
+
+% Input Parser
+InteractiveFlag = 1;
+DefaultNstep = 10;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Interactive')
+        InteractiveFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoInteractive')
+        InteractiveFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+VCORFamily = 'FVCOR';
+
+if length(varargin) < 1
+    fract = 1;
+else
+    fract = varargin{1};
+end
+
+if length(varargin) < 2
+    nstep = DefaultNstep;
+else
+    nstep = varargin{2};
+end
+
+fprintf('1/ Verifier que le FOFB est arrÃ©tÃ©\n')
+fprintf('2/ Mettre les alimentations des steerers en controle local  via LabVIEW\n')
+fprintf('3/ Verifier que le SOFB tourne\n')
+fprintf('Si OK presser la touche Entree\n')
+pause
+
+fprintf('Lecture des courant des steerers\n')
+
+setpt = fract*getam(VCORFamily);
+
+for k=1:nstep
+    if InteractiveFlag
+        %disp(['   Step ' num2str(k) ' of ' num2str(nstep) ' Hit Return key to continue (Ctrl-C to stop)']);
+        disp(['   Etape ' num2str(k) ' sur ' num2str(nstep) ' Presser Enter pour continuer (Ctrl-C to stop)']);
+        pause;
+        fprintf('Attendre durant l''application des consignes et vÃ©rifier l''orbite ...\n')
+        setsp(VCORFamily, (1-k/nstep)*setpt, [], -1);        
+    else
+        setsp(VCORFamily, (1-k/nstep)*setpt, [], -1);        
+        pause(10)
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/physics_RFacceptance.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/physics_RFacceptance.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/physics_RFacceptance.m	(revision 17)
@@ -0,0 +1,29 @@
+function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)
+% PHYSICS_RFACCEPTANCE - Computes RF acceptance
+%
+%  INPUTS
+%  1. VRF - RF voltage in kV
+%  2. alpha - Momentum compaction factor
+%  3. rho - Curvature radius in m
+%  4. E - Energy in GeV  
+%  5. h - Harmonic number
+% 
+%  OUPUTS
+%  1. epsilon_RF - RF acceptance
+%
+%  EXAMPLES
+%  1. physics_RFacceptance(4000,getmcf('Model'),5.36,2.75,416)
+%     is 0.057 for SOLEIL in the linear approximation
+%
+%  See Also  physics_RFacceptance, physics_quatumlifetime,
+%  physics_energyloss
+
+%
+%  Written by Laurent S. Nadolski
+
+
+U0 = physics_energyloss(E,rho); % energyloss per turn in keV
+q = VRF./U0;
+
+epsilon_RF = sqrt(2/(pi*alpha*h)*(U0*1e-6./E).*(sqrt(q.*q-1)-acos(1./q)));
+
Index: /trunk/machine/SOLEIL/StorageRing/physics_booster.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/physics_booster.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/physics_booster.m	(revision 17)
@@ -0,0 +1,74 @@
+function physics_booster
+%
+%
+
+%
+%  Written by Laurent S. Nadolski
+
+%%
+RfAcceptanceFlag = 1;
+EnergyLossFlag = 0;
+
+alpha = 3.19e-2;
+Einj = 0.100; % GeV
+Eext = 2.75; % GeV
+rho = 12.376; % m
+E = (Einj:0.1:Eext)% GeV
+h = 184;
+%%
+if EnergyLossFlag == 1
+    figure
+    plot(E, physics_energyloss(E,rho));
+    grid on
+    xlabel('Energy (GeV)')
+    ylabel('U0 (keV)');
+    title('Energy loss per turn for the Booster ring')
+    U0inj = physics_energyloss(Einj,rho);
+    U0ext = physics_energyloss(Eext,rho);
+    fprintf('U0 = %f keV @ %f GeV\n',U0inj, Einj);
+    fprintf('U0 = %f keV @ %f GeV\n',U0ext, Eext);    
+end
+
+if RfAcceptanceFlag == 1
+    figure
+    VRF = (0:10:1000); % keV
+    epsilon_RF = physics_RFacceptance(VRF,alpha,rho,Eext,h)
+    plot(VRF,epsilon_RF*100);
+    grid on
+    xlabel('RF voltage (kV)')
+    ylabel('RF acceptance (%)');
+    title('RF acceptance for the Booster ring')
+    e_RFinj = physics_RFacceptance(208,alpha,rho,Einj,h)
+    fprintf('RF acceptance = %f %% @ %f GeV\n',e_RFinj*100, Einj);
+end
+
+%%
+VRF = [230 844]; % kV
+E   = [0.11 2.75]; % GeV 
+Trev = 157/3e8; % s
+U0 = physics_energyloss(E,rho)
+
+phis = asin(U0./VRF); 
+nus = sqrt(alpha*h*cos(phis).*VRF*1e-6/2/pi./E);
+sigmaEoE = 6.6e-4*[1/25 1];
+epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)
+tau_epsilon = 3.4e-3;
+tau_q = physics_quantumlifetime(epsilon_RF,sigmaEoE,tau_epsilon)
+
+fprintf('               Injection    |  Extraction\n');
+fprintf('----------------------------------------------\n');
+fprintf('Energy (GeV) |  %4.3f       |     %4.3f \n',E);
+fprintf('U0 (keV)     |  %4.3f       |     %4.1f \n',U0);
+fprintf('Phis (Â°)     |  %4.3f       |     %2.2f \n',phis*180/pi);
+fprintf('VRF (kV)     |  %4.1f       |     %4.1f \n',VRF);
+fprintf('Energy spread|  %6.2e    |     %6.2e \n',sigmaEoE);
+fprintf('e_RF (%%)     |  %4.3f       |     %4.3f \n',epsilon_RF*100);
+fprintf('tau_q(s)     |  %4.3f        |     %4.1f \n',tau_q);
+fprintf('nus          |  %4.3f       |     %4.3f \n',nus);
+fprintf('nus (turn)   |  %4.2f       |     %4.2f \n',1./nus);
+fprintf('nus (kHz)    |  %4.2f       |     %4.2f \n',nus/Trev/1e3);
+fprintf('10 kHz <==> 1e-3 energy shift   \n');
+
+%%
+fRF = 353.202; % MHz
+dfRF = fRF*alpha*0.01
Index: /trunk/machine/SOLEIL/StorageRing/physics_bunchlength.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/physics_bunchlength.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/physics_bunchlength.m	(revision 17)
@@ -0,0 +1,35 @@
+function sigmaL = physics_bunchlength(eVRF,E,rho)
+%  PHYSICS_bunchlength - Compute bunch length
+%
+%  INPUTS
+%  1. E - Energy in GeV
+%  2. eVRF - RF voltage in keV
+%  3. rho - Curvature radius in meters 
+%
+%  OUPUTS
+%  1. sigmaL - bunch length
+%
+%  EXAMPLES
+%  1. physics_bunchlength(4000,2.75,5.36)
+%
+%  See Also  physics_RFacceptance, physics_quantumlifetime,
+%  physics_energyloss, physics_synchronousphase
+
+%
+% Written by Laurent S. NAdolski
+%
+% rho 12.376 m for Booster
+% rho 5.360  m for storage ring
+
+% plot(1000:4000,physics_bunchlength(1000:4000,2.739,5.36)/2.99792458e8*1e12*2.35); grid on
+% xlabel('VRF [kV]')
+% ylabel('sigmaL FWHM (ps)')
+
+h     = getharmonicnumber;
+alpha = 4.5e-4; %getmcf('Model');
+OmegaRF = 2*pi*getrf('Model','Physics');
+OmegaRF2 = OmegaRF*OmegaRF;
+c = 2.99792458e8; 
+sigmaEoE = 1.016e-3;
+cosPhis = cos(physics_synchronousphase(eVRF,E,rho));
+sigmaL = sqrt(2*pi*alpha*h*c*c./cosPhis/OmegaRF2./eVRF/1e-6*E)*sigmaEoE;
Index: /trunk/machine/SOLEIL/StorageRing/physics_energyloss.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/physics_energyloss.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/physics_energyloss.m	(revision 17)
@@ -0,0 +1,22 @@
+function U0 = physics_energyloss(E,rho)
+%  PHYSICS_ENERGYLOSS - Computed energy loss per turn
+%
+%  INPUTS
+%  1. E - Energy in GeV
+%  2. rho - Curvature radius in meters 
+%
+%  OUPUTS
+%  1. U0 - Energy loss per turn in keV
+%
+%  EXAMPLES
+%  1. physics_energyloss(2.75,5.36)
+%
+%  See Also  
+
+%
+% Written by Laurent S. Nadolski
+%
+% rho 12.376 m for Booster
+% rho 5.360 m for storage ring
+
+U0 = 88.5*power(E,4)/rho;
Index: /trunk/machine/SOLEIL/StorageRing/physics_mcf.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/physics_mcf.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/physics_mcf.m	(revision 17)
@@ -0,0 +1,71 @@
+function [alpha1 alpha2 alpha3] = physics_mcf(varargin)
+% PHYSICS_MCF - Computes momentum compaction up to 3rd order
+%
+%  INPUTS
+%  1. Option Flag Display, NoDisplay
+%
+%  OUPUTS
+%  2. pvalue - momentum compaction factor : alpha1, alpha2, alpha3 
+%
+%  See Also mcf2, getmcf 
+
+%
+%% Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+
+global THERING
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin{i} = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin{i} = [];
+    end
+end
+        
+% energy variation for fitting mcf
+deltamin = -1e-4;
+deltamax = -deltamin;
+%delta = deltamin:5e-5:deltamax;
+delta = linspace(deltamin, deltamax, 7);
+delta4eval = linspace(deltamin, deltamax, 21);
+alpha = zeros(size(delta));
+
+for k =1:length(delta)
+    alpha(k) = mcf2(THERING,delta(k));
+end
+
+% fit curve upto 3rd order
+porder =2;
+pvalue = polyfit(delta, alpha, porder);
+palpha = polyval(pvalue, delta4eval);
+
+
+% warning, alpha value are effective mcf, local slope for offmomentum
+% particle, so alpha = alpha1 + 2*alpha2*dp * 2*alpha3*dp^2
+% This is the derivative of DT/T = alpha1*dp + alpha2*dp^2 + alpha3*dp^3;
+alpha1 = pvalue(end);
+alpha2 = pvalue(end-1)/2;
+alpha3 = pvalue(end-2)/3;
+
+if (0) % for debug
+fprintf('Momentum compaction factor \n mcf = %3.2e + 2x %3.2e dp + 3x %3.2e dp**2\n', ...
+        alpha1, alpha2, alpha3)
+fprintf('Momentum compaction factor \n mcf = %3.2e (%3.2e) + %3.2e (%3.2e) dp + %3.2e (%3.2e) dp**2\n', ...
+        [polymodel.Coefficients(end:-1:end-porder); polymodel.ParameterStd(end:-1:end-porder)])
+end
+
+if DisplayFlag
+    figure
+    plot(delta*100,alpha,'k.')
+    grid on; hold on;
+    plot(delta4eval*100,palpha,'r')
+    title(sprintf('Momentum compaction factor \n alpha1= %3.2e alpha2= %3.2e  alpha3= %3.2e', ...
+        alpha1, alpha2, alpha3))
+    xlabel('Energy (%)')
+    ylabel('Momemtum compaction factor');
+    legend('Data', 'polyfit')
+end
Index: /trunk/machine/SOLEIL/StorageRing/physics_quantumlifetime.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/physics_quantumlifetime.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/physics_quantumlifetime.m	(revision 17)
@@ -0,0 +1,19 @@
+function tau_q = physics_quantumlifetime(epsilon_RF,sigma_epsilon,tau_epsilon)
+% physics_quantum_lifetime - computes quantum lifetime
+%
+%  INPUTS
+%  1. epsilon_RF - RF acceptance
+%  2. sigma_epsilon - Energy spread
+%  3. tau_epsilon - Longitudinal damping time
+%
+%  OUPUTS
+%  1. tau_q - Quantum lifetime in s
+%
+%  See Also ...
+
+%
+% Written by Laurent S. Nadolski
+
+xi = power(epsilon_RF,2)/2./power(sigma_epsilon,2);
+
+tau_q = tau_epsilon/2./xi.*exp(xi); 
Index: /trunk/machine/SOLEIL/StorageRing/physics_synchronousphase.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/physics_synchronousphase.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/physics_synchronousphase.m	(revision 17)
@@ -0,0 +1,24 @@
+function phis = physics_synchronousphase(eVRF,E,rho)
+%  PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase
+%
+%  INPUTS
+%  1. eVRF - RF voltage in keV
+%  2. E - Energy in GeV
+%  3. rho - Curvature radius in meters 
+%
+%  OUPUTS
+%  1. phis - synchronous phase
+%
+%  EXAMPLES
+%  1. physics_synchronousphase(4000,2.75,5.36)*180/pi
+%     is 13.65 degrees for Soleil
+%
+%  See Also  physics_RFacceptance, physics_quatumlifetime,
+%  physics_energyloss
+
+%
+% Written by Laurent S. Nadolski
+
+U0 = physics_energyloss(E,rho); % keV
+
+phis = asin(U0./eVRF);
Index: /trunk/machine/SOLEIL/StorageRing/physics_synchrotrontune.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/physics_synchrotrontune.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/physics_synchrotrontune.m	(revision 17)
@@ -0,0 +1,50 @@
+function [fs nus] = physics_synchrotrontune(eVRF,E,rho)
+%  PHYSICS_ENERGYLOSS - Computed synchrotron tune
+%
+%  INPUTS
+%  1. E - Energy in GeV
+%  2. eVRF - RF voltage in keV
+%  3. rho - Curvature radius in meters 
+%
+%  OUPUTS
+%  1. nus - synchrotron tune
+%
+%  EXAMPLES
+%  1. physics_synchrotrontune(4000,2.75,5.36)
+%
+%  See Also  physics_RFacceptance, physics_quantumlifetime,
+%  physics_energyloss, physics_synchronousphase
+
+%
+% Written by Laurent S. NAdolski
+%
+% rho 12.376 m for Booster
+% rho 5.360  m for storagering
+
+DisplayFlag = 1;
+
+if nargin < 3
+    rho = 5.360;
+    if nargin < 2
+        E = getenergy;
+        if nargin < 1
+            eVRF = 4200;
+        end
+    end
+end
+            
+% Analytical formula
+h     = getharmonicnumber;
+alpha = getmcf('Model');
+cosPhis = cos(physics_synchronousphase(eVRF,E,rho));
+% synchrotron tune
+nus = sqrt(alpha*h*cosPhis/2/pi.*eVRF*1e-6/E);
+
+frev = getrf/h*1e6;
+% synchrotron frequency
+fs = nus * frev;
+
+if DisplayFlag
+    fprintf('E = %4.3f MeV, rho = %4.3f m\n', E, rho) 
+    fprintf('fs = %e kHz\n', fs)
+end
Index: /trunk/machine/SOLEIL/StorageRing/plot_synchrotron_tune.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/plot_synchrotron_tune.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/plot_synchrotron_tune.m	(revision 17)
@@ -0,0 +1,240 @@
+function varargout = plot_synchrotron_tune(varargin)
+% PLOT_SYNCHROTRON_TUNE M-file for plot_synchrotron_tune.fig
+%      PLOT_SYNCHROTRON_TUNE, by itself, creates a new PLOT_SYNCHROTRON_TUNE or raises the existing
+%      singleton*.
+%
+%      H = PLOT_SYNCHROTRON_TUNE returns the handle to a new PLOT_SYNCHROTRON_TUNE or the handle to
+%      the existing singleton*.
+%
+%      PLOT_SYNCHROTRON_TUNE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in PLOT_SYNCHROTRON_TUNE.M with the given input arguments.
+%
+%      PLOT_SYNCHROTRON_TUNE('Property','Value',...) creates a new PLOT_SYNCHROTRON_TUNE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before plot_synchrotron_tune_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to plot_synchrotron_tune_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help plot_synchrotron_tune
+
+% Last Modified by GUIDE v2.5 07-May-2008 15:57:55
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @plot_synchrotron_tune_OpeningFcn, ...
+                   'gui_OutputFcn',  @plot_synchrotron_tune_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before plot_synchrotron_tune is made visible.
+function plot_synchrotron_tune_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to plot_synchrotron_tune (see VARARGIN)
+
+% Choose default command line output for plot_synchrotron_tune
+handles.output = hObject;
+
+BPM='ANS-C09/DG/BPM.NOD';
+
+
+% get BPM value
+rep = tango_read_attribute2(BPM,'DDBufferSize');pro=rep.value(1);
+set(handles.edit_profondeur,'String',num2str(pro))
+rep = tango_read_attribute2(BPM,'DDDecimationFactor');dec=rep.value(1);
+set(handles.edit_decimation,'String',num2str(dec))
+rep = tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent');adr=rep.value(1);
+set(handles.edit_adress,'String',num2str(adr))
+
+handles.bpm=BPM;
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes plot_synchrotron_tune wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = plot_synchrotron_tune_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_run.
+function pushbutton_run_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_run (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of pushbutton_run
+BPM=handles.bpm;
+rep = tango_read_attribute2(BPM,'DDDecimationFactor');dec=rep.value(1);
+rep = tango_read_attribute2(BPM,'XPosDD');
+N = length(rep.value);
+
+minfreq=str2double(get(handles.edit_minfreq,'String'));
+maxfreq=str2double(get(handles.edit_maxfreq,'String'));
+
+
+Xvalue = zeros(1,N);
+for ik =1:3, % averaging
+    rep = tango_read_attribute2(BPM,'XPosDD');
+    Xvalue = Xvalue + rep.value;
+    pause(0.3)
+end
+
+Xvalue = Xvalue/3;
+Amp=abs(fft(Xvalue));
+
+frev = getrf/416;
+freq =(1:N)/N*frev*1e6/double(dec);
+len=length(freq);
+
+plot(freq(1:len/2)/1000,Amp(1:len/2))
+xaxis([minfreq maxfreq]); 
+grid on
+xlabel('Frequency kHz')
+
+%[a ind] = max(abs(fft(rep.value)))
+
+    
+    
+function edit_profondeur_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_profondeur (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_profondeur as text
+%        str2double(get(hObject,'String')) returns contents of edit_profondeur as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_profondeur_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_profondeur (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_decimation_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_decimation (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_decimation as text
+%        str2double(get(hObject,'String')) returns contents of edit_decimation as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_decimation_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_decimation (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_adress_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_adress (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_adress as text
+%        str2double(get(hObject,'String')) returns contents of edit_adress as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_adress_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_adress (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_minfreq_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_minfreq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_minfreq as text
+%        str2double(get(hObject,'String')) returns contents of edit_minfreq as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_minfreq_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_minfreq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_maxfreq_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_maxfreq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_maxfreq as text
+%        str2double(get(hObject,'String')) returns contents of edit_maxfreq as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_maxfreq_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_maxfreq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/plot_synchrotron_tune_scan.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/plot_synchrotron_tune_scan.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/plot_synchrotron_tune_scan.m	(revision 17)
@@ -0,0 +1,461 @@
+function varargout = plot_synchrotron_tune_scan(varargin)
+% PLOT_SYNCHROTRON_TUNE_SCAN M-file for plot_synchrotron_tune_scan.fig
+%      PLOT_SYNCHROTRON_TUNE_SCAN, by itself, creates a new PLOT_SYNCHROTRON_TUNE_SCAN or raises the existing
+%      singleton*.
+%
+%      H = PLOT_SYNCHROTRON_TUNE_SCAN returns the handle to a new PLOT_SYNCHROTRON_TUNE_SCAN or the handle to
+%      the existing singleton*.
+%
+%      PLOT_SYNCHROTRON_TUNE_SCAN('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in PLOT_SYNCHROTRON_TUNE_SCAN.M with the given input arguments.
+%
+%      PLOT_SYNCHROTRON_TUNE_SCAN('Property','Value',...) creates a new PLOT_SYNCHROTRON_TUNE_SCAN or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before plot_synchrotron_tune_scan_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to plot_synchrotron_tune_scan_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help plot_synchrotron_tune_scan
+
+% Last Modified by GUIDE v2.5 08-Dec-2008 15:03:31
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @plot_synchrotron_tune_scan_OpeningFcn, ...
+                   'gui_OutputFcn',  @plot_synchrotron_tune_scan_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before plot_synchrotron_tune_scan is made visible.
+function plot_synchrotron_tune_scan_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to plot_synchrotron_tune_scan (see VARARGIN)
+
+% Choose default command line output for plot_synchrotron_tune_scan
+handles.output = hObject;
+
+BPM='ANS-C09/DG/BPM.NOD';
+
+
+% get BPM value
+rep = tango_read_attribute2(BPM,'DDBufferSize');pro=rep.value(1);
+set(handles.edit_profondeur,'String',num2str(pro))
+rep = tango_read_attribute2(BPM,'DDDecimationFactor');dec=rep.value(1);
+set(handles.edit_decimation,'String',num2str(dec))
+rep = tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent');adr=rep.value(1);
+set(handles.edit_adress,'String',num2str(adr))
+
+temp=tango_read_attribute2('ANS/RF/MasterClock','phaseFrequency');freq=temp.value(1);
+set(handles.edit_freq,'String',num2str(freq))
+temp=tango_read_attribute2('ANS/RF/MasterClock','phaseVariation');amp=temp.value(1);
+set(handles.edit_amp,'String',num2str(amp))
+    
+handles.bpm=BPM;
+setappdata(handles.figure1, 'amp_scan', []);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes plot_synchrotron_tune_scan wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = plot_synchrotron_tune_scan_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_plot.
+function pushbutton_plot_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plot (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of pushbutton_plot
+BPM=handles.bpm;
+rep = tango_read_attribute2(BPM,'DDDecimationFactor');dec=rep.value(1);
+rep = tango_read_attribute2(BPM,'XPosDD');
+N = length(rep.value);
+
+minfreq=str2double(get(handles.edit_minfreq,'String'));
+maxfreq=str2double(get(handles.edit_maxfreq,'String'));
+
+
+Xvalue = zeros(1,N);
+for ik =1:3, % averaging
+    rep = tango_read_attribute2(BPM,'XPosDD');
+    Xvalue = Xvalue + rep.value;
+    pause(0.3)
+end
+
+Xvalue = Xvalue/3;
+Amp=abs(fft(Xvalue));
+
+frev = getrf/416;
+freq =(1:N)/N*frev*1e6/double(dec);
+len=length(freq);
+
+plot(freq(1:len/2)/1000,Amp(1:len/2))
+xaxis([minfreq maxfreq]); 
+grid on
+xlabel('Frequency kHz')
+
+% get max on window
+minf=floor(minfreq*1000*N/frev/1e6*double(dec));
+maxf=floor(maxfreq*1000*N/frev/1e6*double(dec));
+max_amp= max(Amp(minf:maxf));
+
+amp_scan= getappdata(handles.figure1, 'amp_scan');
+amp_scan=[amp_scan max_amp];
+setappdata(handles.figure1, 'amp_scan', amp_scan);
+
+
+
+
+function edit_profondeur_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_profondeur (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_profondeur as text
+%        str2double(get(hObject,'String')) returns contents of edit_profondeur as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_profondeur_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_profondeur (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_decimation_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_decimation (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_decimation as text
+%        str2double(get(hObject,'String')) returns contents of edit_decimation as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_decimation_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_decimation (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_adress_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_adress (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_adress as text
+%        str2double(get(hObject,'String')) returns contents of edit_adress as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_adress_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_adress (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+guidata(hObject, handles);
+
+function edit_minfreq_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_minfreq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_minfreq as text
+%        str2double(get(hObject,'String')) returns contents of edit_minfreq as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_minfreq_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_minfreq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_maxfreq_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_maxfreq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_maxfreq as text
+%        str2double(get(hObject,'String')) returns contents of edit_maxfreq as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_maxfreq_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_maxfreq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_scan.
+function pushbutton_scan_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_scan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%amp  =0.0002;
+freq0=str2double(get(handles.edit_freq_min_scan,'String'));
+freqm=str2double(get(handles.edit_freq_max_scan,'String'));
+df   =str2double(get(handles.edit_step_scan,'String'));
+
+ff   = [freq0 :df:freqm];
+
+
+freq_scan=ff;
+setappdata(handles.figure1, 'amp_scan',[]);
+
+tango_write_attribute2('ANS/RF/MasterClock','phaseFrequency',freq0);pause(2)
+
+for fs=ff
+   
+    tango_write_attribute2('ANS/RF/MasterClock','phaseFrequency',fs*1000);
+    
+    pause(2)
+    temp=tango_read_attribute2('ANS/RF/MasterClock','phaseFrequency');freq=temp.value(1);
+    set(handles.edit_freq,'String',num2str(freq))
+    temp=tango_read_attribute2('ANS/RF/MasterClock','phaseVariation');amp=temp.value(1);
+    set(handles.edit_amp,'String',num2str(amp))
+    
+    pushbutton_plot_Callback(hObject, eventdata, handles);
+    
+end
+
+amp_scan= getappdata(handles.figure1, 'amp_scan');
+minfreq=str2double(get(handles.edit_minfreq,'String'));
+maxfreq=str2double(get(handles.edit_maxfreq,'String'));
+
+plot(freq_scan,amp_scan,'-ob')
+%xaxis([minfreq maxfreq]); 
+grid on
+xlabel('Frequency Hz')
+
+[amps,ind]=max(amp_scan);
+tunes=freq_scan(ind);
+set(handles.edit_tune,'String',num2str(tunes))
+
+
+
+% Update handles structure
+guidata(handles.pushbutton_scan, handles);
+
+function edit_freq_min_scan_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_freq_min_scan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_freq_min_scan as text
+%        str2double(get(hObject,'String')) returns contents of edit_freq_min_scan as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_freq_min_scan_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_freq_min_scan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_freq_max_scan_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_freq_max_scan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_freq_max_scan as text
+%        str2double(get(hObject,'String')) returns contents of edit_freq_max_scan as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_freq_max_scan_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_freq_max_scan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_step_scan_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_step_scan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_step_scan as text
+%        str2double(get(hObject,'String')) returns contents of edit_step_scan as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_step_scan_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_step_scan (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_modulationON.
+function pushbutton_modulationON_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_modulationON (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+tango_command_inout2('ANS/RF/MasterClock','PhaseModulationON');
+
+% --- Executes on button press in pushbutton_modulationOFF.
+function pushbutton_modulationOFF_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_modulationOFF (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('ANS/RF/MasterClock','PhaseModulationOFF');
+
+
+
+function edit_amp_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_amp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_amp as text
+%        str2double(get(hObject,'String')) returns contents of edit_amp as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_amp_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_amp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_freq_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_freq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_freq as text
+%        str2double(get(hObject,'String')) returns contents of edit_freq as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_freq_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_freq (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_tune_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_tune (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_tune as text
+%        str2double(get(hObject,'String')) returns contents of edit_tune as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_tune_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_tune (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/plotidfftable2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/plotidfftable2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/plotidfftable2.m	(revision 17)
@@ -0,0 +1,184 @@
+function ffcompare
+
+
+BLeffHCM = 410;  % gauss cm / amp;
+BLeffVCM = 171;  % gauss cm / amp; 
+Leff = 55;       % cm
+labelmat = [];
+
+DirStart = pwd;
+gotodata
+cd gaptrack
+cd archive
+
+figure
+ha=subplot(2,2,1);
+hb=subplot(2,2,2);
+hc=subplot(2,2,3);
+hd=subplot(2,2,4);
+
+SectorIn = menu('Which Sector?','4','5','7','8','9','10','12','Cancel');   
+if SectorIn == 1
+   Sector = 4;
+elseif SectorIn == 2
+   Sector = 5;
+elseif SectorIn == 3
+   Sector = 7;
+elseif SectorIn == 4
+   Sector = 8;
+elseif SectorIn == 5
+   Sector = 9;
+elseif SectorIn == 6
+   Sector = 10;
+elseif SectorIn == 7
+   Sector = 12;
+elseif SectorIn == 8
+   return
+end
+if Sector == 0
+   return;
+end
+
+for i = 1:100000
+   % Load the table1
+   [Datafn, DirStr] = uigetfile(sprintf('id%02d*.mat', Sector), 'Choose the desired feed forward file (Cancel to stop).');
+   if Datafn == 0
+      % Return of original directory
+      eval(['cd ', DirStart]);
+      
+      %subplot(2,2,1);
+      axes(ha);
+      title('');
+      hold off
+      axis tight
+      %subplot(2,2,2);
+      axes(hb);
+      title('');
+      hold off
+      axis tight
+      %subplot(2,2,3);
+      axes(hc);
+      title('');
+      hold off
+      axis tight
+      %subplot(2,2,4);
+      axes(hd);
+      title('');
+      hold off
+      axis tight
+      orient landscape
+      
+      h=addlabel(.5,1,sprintf('Sector %d Feed Forward Tables', Sector1),12);
+      set(h,'HorizontalAlignment','center');
+      
+      for j = 1:size(labelmat,1)
+         h=addlabel(1,1-.02*(j-1),labelmat(j,:),7);
+         set(h,'color',labelcmat(j,:));
+         %set(h(j),'EraseMode','background');
+         %set(h(j),'EraseMode','Normal');
+         %set(h(j),'EraseMode','xor');
+      end
+      
+      return
+   end
+   
+   
+   eval(['load ', DirStr, Datafn]);
+   h1 = tableX;
+   v1 = tableY;
+   Sector1 = str2num(Datafn(3:4));
+   GeVnum1 = str2num(Datafn(6:7))/10;
+   
+   
+   cmat = get(gca,'ColorOrder');
+   icolor=rem(i-1,size(cmat,1))+1;
+   
+   %ha=subplot(2,2,1);
+   axes(ha);
+   plot(h1(:,1),h1(:,2),'color',cmat(icolor,:));
+   xlabel('Gap Position [mm]');
+   ylabel(sprintf('HCM(%d,%d) [amps]',Sector1-1,4));
+   title(sprintf('Sector %d Table at %.1f GeV', Sector1, GeVnum1));
+   hold on
+   
+   %hb=subplot(2,2,3);
+   axes(hb);
+   plot(h1(:,1),h1(:,3),'color',cmat(icolor,:));
+   xlabel('Gap Position [mm]');
+   ylabel(sprintf('HCM(%d,%d) [amps]',Sector1,1));
+   title(sprintf('Sector %d Table at %.1f GeV', Sector1, GeVnum1));
+   hold on
+   
+   %hc=subplot(2,2,2);
+   axes(hc);
+   plot(v1(:,1),v1(:,2),'color',cmat(icolor,:));
+   xlabel('Gap Position [mm]');
+   ylabel(sprintf('VCM(%d,%d) [amps]',Sector1-1,4));
+   title(sprintf('Sector %d Table at %.1f GeV', Sector1, GeVnum1));
+   hold on
+   
+   %hd=subplot(2,2,4);
+   axes(hd);
+   plot(v1(:,1),v1(:,3),'color',cmat(icolor,:));
+   xlabel('Gap Position [mm]');
+   ylabel(sprintf('VCM(%d,%d) [amps]',Sector1,1));
+   title(sprintf('Sector %d Table at %.1f GeV', Sector1, GeVnum1));
+   hold on
+   
+   fprintf('  %d.  %s  Sector %d  %.1f GeV\n', i, FFDate, Sector1, GeVnum1);
+   
+   labelmat = strvcat(labelmat, sprintf('%s, Sector %d, %.1f GeV', FFDate, Sector1, GeVnum1));
+   labelcmat(i,:) = cmat(icolor,:);
+   %h(i)=addlabel(1,1-.03*i,sprintf('%s  Sector %d  %.1f GeV', FFDate, Sector1, GeVnum1),7);
+   %set(h(i),'color',cmat(icolor,:));
+   
+   for j = 1:i
+      h=addlabel(1,1-.02*(j-1),labelmat(j,:),7);
+      set(h,'color',labelcmat(j,:));
+      %set(h(j),'EraseMode','background');
+      %set(h(j),'EraseMode','Normal');
+      %set(h(j),'EraseMode','xor');
+   end
+   
+   drawnow
+end
+
+
+
+return
+
+
+
+
+
+% Load the table2
+[Datafn, DirStr] = uigetfile('*.mat', 'Choose the desired feed forward file.');
+eval(['load ', DirStr, Datafn]);
+h1 = tableX;
+v1 = tableY;
+Sector2 = str2num(Datafn(3:4));
+GeVnum2 = str2num(Datafn(6:7))/10;
+
+
+subplot(2,1,1);
+plot(h1(:,1),h1(:,2),'-.r', h1(:,1),h1(:,3),':g');
+hold off;
+xlabel('Gap Position [mm]');
+ylabel('Horizontal Corrector Strength [amps]');
+title(['Insertion Device Feedfoward Tables']);
+legend(['HCM4, Sector ',num2str(Sector1-1),'  ', num2str(GeVnum1), ' GeV'], ...
+       ['HCM1, Sector ',num2str(Sector1),'  ',   num2str(GeVnum1), ' GeV'], ...
+       ['HCM4, Sector ',num2str(Sector2-1),'  ', num2str(GeVnum2), ' GeV'], ...
+       ['HCM1, Sector ',num2str(Sector2),'  ',   num2str(GeVnum2), ' GeV']);
+
+
+subplot(2,1,2);
+plot(v1(:,1),v1(:,2),'-.r', v1(:,1),v1(:,3),':g');
+hold off;
+xlabel('Gap Position [mm]');
+ylabel('Vertical Corrector Strength [amps]');
+title(['Insertion Device Feedfoward Tables']);
+legend(['VCM4, Sector ',num2str(Sector1-1),'  ', num2str(GeVnum1), ' GeV'], ...
+       ['VCM1, Sector ',num2str(Sector1),'  ',   num2str(GeVnum1), ' GeV'], ...
+       ['VCM4, Sector ',num2str(Sector2-1),'  ', num2str(GeVnum2), ' GeV'], ...
+       ['VCM1, Sector ',num2str(Sector2),'  ',   num2str(GeVnum2), ' GeV']);
Index: /trunk/machine/SOLEIL/StorageRing/profibus_sync.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/profibus_sync.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/profibus_sync.m	(revision 17)
@@ -0,0 +1,41 @@
+function profibus_sync(Family)
+%PROFIBUS_SYNC - Use Sync Profibus mecanism for Family
+%
+%  INPUTS
+%  1. Family to synch
+%
+%  See Also profibus_unsyncall
+
+if isfamily(Family)
+    %
+end
+
+BoardNumber = getfamilydata(Family,'Profibus','BoardNumber');
+Group       = getfamilydata(Family,'Profibus','Group');
+devProfibus = getfamilydata(Family,'Profibus','DeviceName');
+
+tango_command_inout2(devProfibus,'Sync',[BoardNumber, Group]);
+
+
+
+% dev = 'ANS/AE/DP.QP';
+% %dev = 'ANS/AE/DP.COR';
+% 
+% tango_command_inout2(dev,'GetBoardInfo')
+% 
+% groupid = int32(1);
+% boardid = int32(1);
+% 
+% tango_command_inout2(dev,'Sync',[boardid, groupid]);
+% 
+% %%
+% tango_command_inout2(dev,'UnSyncAll');
+% 
+% %%
+% %                                       %boardnumber %DPAddress
+% tango_command_inout2(dev,'GetSlaveDiag',[int32(1),int32(101)])
+% 
+% %
+% end
+
+        
Index: /trunk/machine/SOLEIL/StorageRing/profibus_unsyncall.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/profibus_unsyncall.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/profibus_unsyncall.m	(revision 17)
@@ -0,0 +1,44 @@
+function profibus_unsyncall(Family)
+%PROFIBUS_SYNC - Use UnSync Profibus mecanism for Family
+%
+%  INPUTS
+%  1. Family to synch
+%
+%  NOTES
+%  1. In this version unsynch all groups ANS all Boardnumber for a given
+%  Profibus server
+%
+%  See Also profibus_sync
+
+if isfamily(Family)
+    %
+end
+
+BoardNumber = getfamilydata(Family,'Profibus','BoardNumber');
+Group       = getfamilydata(Family,'Profibus','Group');
+devProfibus = getfamilydata(Family,'Profibus','DeviceName');
+
+tango_command_inout2(devProfibus,'UnSyncAll');
+
+
+% dev = 'ANS/AE/DP.QP';
+% %dev = 'ANS/AE/DP.COR';
+% 
+% tango_command_inout2(dev,'GetBoardInfo')
+% 
+% groupid = int32(1);
+% boardid = int32(1);
+% 
+% tango_command_inout2(dev,'Sync',[boardid, groupid]);
+% 
+% %%
+% tango_command_inout2(dev,'UnSyncAll');
+% 
+% %%
+% %                                       %boardnumber %DPAddress
+% tango_command_inout2(dev,'GetSlaveDiag',[int32(1),int32(101)])
+% 
+% %
+% end
+
+        
Index: /trunk/machine/SOLEIL/StorageRing/quad/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+changes
Index: /trunk/machine/SOLEIL/StorageRing/quad/getquad.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/getquad.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/getquad.m	(revision 17)
@@ -0,0 +1,23 @@
+function [SP, AM] = getquad(QMS, ModeFlag)
+% [SP, AM] = getquad(QMS, ModeFlag)
+% Used by quadcenter
+%
+%  See also getquad
+
+%
+%  Adapted by Laurent S. Nadolski from ALS
+
+if nargin < 1
+    QuadFamily = 'Q1';
+    QuadDev = [1 1];
+else
+    QuadFamily = QMS.QuadFamily;
+    QuadDev    = QMS.QuadDev;
+end
+
+if nargin < 2
+    ModeFlag = getfamilydata(QuadFamily, 'Setpoint', 'Mode');
+end
+
+SP = getsp(QuadFamily, QuadDev, ModeFlag);
+AM = getam(QuadFamily, QuadDev, ModeFlag);
Index: /trunk/machine/SOLEIL/StorageRing/quad/getrespquad.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/getrespquad.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/getrespquad.m	(revision 17)
@@ -0,0 +1,240 @@
+function Meffquad = getrespquad(varargin)
+% getrespquad - Calculates from the model the response matrix of quadrupole relatively to the
+% beta function in every other quadrupole
+% 
+
+%  INPUTS
+%  1. Quadrupole family name {Default : All}
+%  Optional
+%  'Archive', 'Display'
+%
+%  OUPUTS
+%  Meffquad
+%
+%  ALGORITHM
+%  Meffquad( i , j ) = delta beta dans quadrupole nÂ° i / delta courant dans
+%  quadrupole j
+
+%
+%  Written by Mat husalem
+
+%%%%%%%%%%%%%%%%%%%%%%%
+switch2sim
+%%%%%%%%%%%%%%%%%%%%%%%
+
+DisplayFlag = 1;
+ArchiveFlag = 0;
+% % % FileName = '';
+
+
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+% Input parsing
+if isempty(varargin)
+    QuadFam = findmemberof('QUAD');
+elseif ischar(varargin{1})  
+    QuadFam = {varargin{:}};
+else
+    QuadFam = varargin{:}
+end
+
+if ArchiveFlag
+% % %     if isempty(FileName)
+% % %         FileName = appendtimestamp(getfamilydata('Default', 'QUADArchiveFile'));
+% % %         DirectoryName = getfamilydata('Directory', 'QUAD');
+% % %         if isempty(DirectoryName)
+% % %             DirectoryName = [getfamilydata('Directory','DataRoot'), 'Response', filesep, 'BPM', filesep];
+% % %         else
+% % %             % Make sure default directory exists
+% % %             DirStart = pwd;
+% % %             [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+% % %             cd(DirStart);
+% % %         end
+% % %         [FileName, DirectoryName] = uiputfile('*.mat', 'Select a Quad File ("Save" starts measurement)', [DirectoryName FileName]);
+% % %         if FileName == 0 
+% % %             ArchiveFlag = 0;
+% % %             disp('   Quadrupole betatron measurement canceled.');
+% % %             return
+% % %         end
+% % %         FileName = [DirectoryName, FileName];
+% % %     elseif FileName == -1
+% % %         FileName = appendtimestamp(getfamilydata('Default', 'QUADArchiveFile'));
+% % %         DirectoryName = getfamilydata('Directory', 'QUAD');
+% % %         FileName = [DirectoryName, FileName];
+% % %     end    
+end
+
+Indexquad = family2atindex({'Q1','Q2','Q3','Q4','Q5','Q6','Q7','Q8','Q9','Q10'});% Index of quadrupoles
+Meffquad = zeros(160,160);
+DeviceNumber = 0;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mesure de beta comme sur la machine theorique
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% beta_tune = mesure_beta(QuadFam);
+% betatheorX = beta_tune(1,:);
+% betatheorZ = beta_tune(2,:);
+% DirStart = pwd;
+% DirectoryName = '/home/matlabML/measdata/Ringdata/QUAD/';
+% [DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);
+% try
+%     Nomfichier = 'Sauvegarde_beta_theorique_0_2_0_3';
+%     save(Nomfichier,'betatheorX','betatheorZ');
+% catch
+%     cd(DirStart);
+%     return
+% end
+% cd(DirStart);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mesure de la matrice d'effcicaitÃ© comme sur la machine
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+for k1 = 1:length(QuadFam),
+    numero_famille_en_cours = k1 % affichage ecran
+    if ~isfamily(QuadFam{k1})
+        error('%s is not a valid Family \n', QuadFam{k1});
+        return;
+    end   
+    DeviceList = family2dev(QuadFam{k1});  
+    for k2 = 1:length(DeviceList),
+        
+        betaX0= [];betaZ0 = [];betaX1= [];betaZ1 = [];betaX2= [];betaZ2 = [];
+        DeviceNumber = DeviceNumber + 1;
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% State before current change
+        Ic = getam(QuadFam{k1}, DeviceList(k2,:)) ;% get the actual current
+        %K0 = hw2physics(QuadFam{k1}, 'Setpoint', Ic, DeviceList(k2,:));
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + deltaI
+        DeltaI = getfamilydata(QuadFam{k1},'Setpoint','DeltaKBeta')*4; % Amp
+        %fprintf('Current increment of %d A\n', DeltaI);
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:),'Model'); % Step value in Amps
+        %Ic1 = getam(QuadFam{k1}, DeviceList(k2,:),'Model');
+        %K1 = hw2physics(QuadFam{k1}, 'Setpoint', Ic+DeltaI, DeviceList(k2,:));
+        
+        % mesure de beta comme sur la machine delta I 
+        beta_tune = mesure_beta(QuadFam);
+        betaX1 = beta_tune(1,:);
+        betaZ1 = beta_tune(2,:);
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -2 *deltaI
+        %fprintf('Current increment of %d A\n', -2*DeltaI);
+        stepsp(QuadFam{k1}, -2*DeltaI, DeviceList(k2,:),'Model'); % 
+
+        % mesure de beta comme sur la machine -2delta I 
+        beta_tune = mesure_beta(QuadFam);        
+        betaX2 = beta_tune(1,:);
+        betaZ2 = beta_tune(2,:);
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% go back to initial values
+        %fprintf('Current increment of %d A\n', DeltaI);
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:),'Model'); % go back to initial values
+        
+        gettune('Model') % vÃ©rification que la machine est bien "revenue"
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        MeffquadH(:,DeviceNumber) = (betaX2 - betaX1)'/(-2*DeltaI) ;% coefficient deltabeta / deltaI in each quad
+        MeffquadV(:,DeviceNumber) = (betaZ2 - betaZ1)'/(-2*DeltaI) ;
+        Meffquad = [MeffquadH ; MeffquadV];
+        %betaX1
+        %betaX2
+        %Meffquad(:,DeviceNumber)
+    end
+    disp('he oui')
+    
+end
+
+if ArchiveFlag
+% enregistrement
+    directory = '/home/matlabML/mml/machine/Soleil/StorageRing/quad/';
+    directory_actuelle = pwd;
+    cd(directory)
+    %Name = 'Meffquad_Qnoncoupe_4_3_H_V';
+    %Name = 'Meffquad_Qnoncoupe_2_3_H_V';
+    Name = 'Meffquad_beta_tune_2_3_H_V';
+    save(Name,'Meffquad','-mat');
+    cd(directory_actuelle);
+end
+
+if DisplayFlag
+    Meffquad
+end
+disp('c''est fini')
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function beta_tune = mesure_beta(QuadFam)
+
+Indexquad = family2atindex({'Q1','Q2','Q3','Q4','Q5','Q6','Q7','Q8','Q9','Q10'});% Index of quadrupoles
+DeviceNumber = 0;
+beta_tune = [] ; % Initialisation des vecteurs betas X (premiÃšre ligne) 
+                 % et Z (deuxiÃšme ligne) dans tous les quad (toutes les colonnes)
+                 
+for k1 = 1:length(QuadFam),
+    
+    if ~isfamily(QuadFam{k1})
+        error('%s is not a valid Family \n', QuadFam{k1});
+        return;
+    end   
+    DeviceList = family2dev(QuadFam{k1}); 
+    
+    % initialize data to zero
+    tune1 = zeros(length(DeviceList),2);
+    tune2 = zeros(length(DeviceList),2);
+    dtune = zeros(length(DeviceList),2);
+    beta =  zeros(length(DeviceList),2);
+    k3 = 0;
+    
+    for k2 = 1:length(DeviceList),
+        
+        k3 = k3 +1;
+        betaX0= [];betaZ0 = [];betaX1= [];betaZ1 = [];betaX2= [];betaZ2 = [];
+        DeviceNumber = DeviceNumber + 1;
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% State before current change
+        Ic = getam(QuadFam{k1}, DeviceList(k2,:)) ;% get the actual current
+        K = hw2physics(QuadFam{k1}, 'Setpoint', Ic, DeviceList(k2,:)) ;% Calcul du gradient nominal
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + deltaI
+        DeltaI = getfamilydata(QuadFam{k1},'Setpoint','DeltaKBeta')*4; % Amp
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:),'Model'); % Step value in Amps
+        tune1(k3,:) = gettune('Model'); % get new tunes
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -2 *deltaI
+        stepsp(QuadFam{k1}, -2*DeltaI, DeviceList(k2,:),'Model'); % 
+        tune2(k3,:) = gettune('Model') ;% get new tunes
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% go back to initial values
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:),'Model'); % go back to initial values
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        dtune(k3,:) = tune1(k3,:) - tune2(k3,:);
+        Leff = getleff(QuadFam{k1}, DeviceList(k2,:)); % Get effective length
+        DeltaKL =  2*DeltaI/Ic*K*Leff;
+        beta(k3,:) = 4*pi*dtune(k3,:)./DeltaKL.*[1 -1]    ;
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    end
+    beta0 = beta';
+    beta_tune = [beta_tune beta0]; % beta en ligne mesurÃ©s par la mÃ©thode des tunes
+    
+end
Index: /trunk/machine/SOLEIL/StorageRing/quad/getrespquad_tune.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/getrespquad_tune.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/getrespquad_tune.m	(revision 17)
@@ -0,0 +1,214 @@
+function Meffquad = getrespquad_tune(varargin)
+% getrespquad - Calculates from the model the response matrix of quadrupole relatively to the
+% beta function in every other quadrupole
+% 
+
+%  INPUTS
+%  1. Quadrupole family name {Default : All}
+%  Optional
+%  'Archive', 'Display'
+%
+%  OUPUTS
+%  Meffquad
+%
+%  ALGORITHM
+%  Meffquad( i , j ) = delta beta dans quadrupole nÂ° i / delta courant dans
+%  quadrupole j
+
+%
+%  Written by Mat husalem
+
+%%%%%%%%%%%%%%%%%%%%%%%
+switch2sim
+%%%%%%%%%%%%%%%%%%%%%%%
+
+DisplayFlag = 1;
+ArchiveFlag = 0;
+% % % FileName = '';
+
+
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+% Input parsing
+if isempty(varargin)
+    QuadFam = findmemberof('QUAD');
+elseif ischar(varargin{1})  
+    QuadFam = {varargin{:}};
+else
+    QuadFam = varargin{:}
+end
+
+
+Indexquad = family2atindex({'Q1','Q2','Q3','Q4','Q5','Q6','Q7','Q8','Q9','Q10'});% Index of quadrupoles
+Meffquad = zeros(160,160);
+DeviceNumber = 0;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mesure de beta comme sur la machine theorique
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% beta_tune = mesure_beta(QuadFam);
+% betatheorX = beta_tune(1,:);
+% betatheorZ = beta_tune(2,:);
+% DirStart = pwd;
+% DirectoryName = '/home/matlabML/measdata/Ringdata/QUAD/';
+% [DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);
+% try
+%     Nomfichier = 'Sauvegarde_beta_theorique_0_2_0_3';
+%     save(Nomfichier,'betatheorX','betatheorZ');
+% catch
+%     cd(DirStart);
+%     return
+% end
+% cd(DirStart);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mesure de la matrice d'effcicaitÃ© par rapport aux nombre d'onde comme sur la machine
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+for k1 = 1:length(QuadFam),
+    numero_famille_en_cours = k1 % affichage ecran
+    if ~isfamily(QuadFam{k1})
+        error('%s is not a valid Family \n', QuadFam{k1});
+        return;
+    end   
+    DeviceList = family2dev(QuadFam{k1});  
+    for k2 = 1:length(DeviceList),
+        
+        
+        %betaX0= [];betaZ0 = [];betaX1= [];betaZ1 = [];betaX2= [];betaZ2 = [];
+        DeviceNumber = DeviceNumber + 1;
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% State before current change
+        Ic = getam(QuadFam{k1}, DeviceList(k2,:)) ;% get the actual current
+        %K0 = hw2physics(QuadFam{k1}, 'Setpoint', Ic, DeviceList(k2,:));
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + deltaI
+        DeltaI = getfamilydata(QuadFam{k1},'Setpoint','DeltaKBeta')*2; % Amp
+        %fprintf('Current increment of %d A\n', DeltaI);
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:),'Model'); % Step value in Amps
+  
+        % mesure de tune comme sur la machine delta I 
+        tune1 = gettune('Model')
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -2 *deltaI
+        %fprintf('Current increment of %d A\n', -2*DeltaI);
+        stepsp(QuadFam{k1}, -2*DeltaI, DeviceList(k2,:),'Model'); % 
+
+
+        % mesure de tune comme sur la machine delta I 
+        tune2 = gettune('Model')
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% go back to initial values
+        %fprintf('Current increment of %d A\n', DeltaI);
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:),'Model'); % go back to initial values
+        
+        gettune('Model') % vÃ©rification que la machine est bien "revenue"
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%         MeffquadH(:,DeviceNumber) = (betaX2 - betaX1)'/(-2*DeltaI) ;% coefficient deltabeta / deltaI in each quad
+%         MeffquadV(:,DeviceNumber) = (betaZ2 - betaZ1)'/(-2*DeltaI) ;
+%         Meffquad = [MeffquadH ; MeffquadV];
+        %betaX1
+        %betaX2
+        %Meffquad(:,DeviceNumber)
+        Meffquad_tune(:,DeviceNumber) = (tune2-tune1)./(-2*DeltaI)
+        
+    end
+    disp('he oui')
+    
+end
+
+if ArchiveFlag
+% enregistrement    
+    directory = /home/matlabML/mml/machine/Soleil/StorageRing/quad/;
+    directory_actuelle = pwd;
+    cd(directory)
+    %Name = 'Meffquad_Qnoncoupe_4_3_H_V';
+    %Name = 'Meffquad_Qnoncoupe_2_3_H_V';
+%     Name = 'Meffquad_beta_tune_2_3_H_V';
+    Name = 'Meffquad_beta_tune-tune_2_3_H_V';
+    save(Name,'Meffquad_tune','-mat');
+    cd(directory_actuelle);
+end
+
+if DisplayFlag
+    Meffquad
+end
+disp('c''est fini')
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function beta_tune = mesure_beta(QuadFam)
+
+Indexquad = family2atindex({'Q1','Q2','Q3','Q4','Q5','Q6','Q7','Q8','Q9','Q10'});% Index of quadrupoles
+DeviceNumber = 0;
+beta_tune = [] ; % Initialisation des vecteurs betas X (premiÃšre ligne) 
+                 % et Z (deuxiÃšme ligne) dans tous les quad (toutes les colonnes)
+                 
+for k1 = 1:length(QuadFam),
+    
+    if ~isfamily(QuadFam{k1})
+        error('%s is not a valid Family \n', QuadFam{k1});
+        return;
+    end   
+    DeviceList = family2dev(QuadFam{k1}); 
+    
+    % initialize data to zero
+    tune1 = zeros(length(DeviceList),2);
+    tune2 = zeros(length(DeviceList),2);
+    dtune = zeros(length(DeviceList),2);
+    beta =  zeros(length(DeviceList),2);
+    k3 = 0;
+    
+    for k2 = 1:length(DeviceList),
+        
+        k3 = k3 +1;
+        betaX0= [];betaZ0 = [];betaX1= [];betaZ1 = [];betaX2= [];betaZ2 = [];
+        DeviceNumber = DeviceNumber + 1;
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% State before current change
+        Ic = getam(QuadFam{k1}, DeviceList(k2,:)) ;% get the actual current
+        K = hw2physics(QuadFam{k1}, 'Setpoint', Ic, DeviceList(k2,:)) ;% Calcul du gradient nominal
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + deltaI
+        DeltaI = getfamilydata(QuadFam{k1},'Setpoint','DeltaKBeta')*4; % Amp
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:),'Model'); % Step value in Amps
+        tune1(k3,:) = gettune('Model'); % get new tunes
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -2 *deltaI
+        stepsp(QuadFam{k1}, -2*DeltaI, DeviceList(k2,:),'Model'); % 
+        tune2(k3,:) = gettune('Model') ;% get new tunes
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% go back to initial values
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:),'Model'); % go back to initial values
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        dtune(k3,:) = tune1(k3,:) - tune2(k3,:);
+        Leff = getleff(QuadFam{k1}, DeviceList(k2,:)); % Get effective length
+        DeltaKL =  2*DeltaI/Ic*K*Leff;
+        beta(k3,:) = 4*pi*dtune(k3,:)./DeltaKL.*[1 -1]    ;
+        
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    end
+    beta0 = beta';
+    beta_tune = [beta_tune beta0]; % beta en ligne mesurÃ©s par la mÃ©thode des tunes
+    
+end
Index: /trunk/machine/SOLEIL/StorageRing/quad/getshift.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/getshift.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/getshift.m	(revision 17)
@@ -0,0 +1,48 @@
+function [DX DY] = getshift(ELEMINDEX, varargin)
+%GETSHIFT gets the misalignment for elements
+%
+% GETSHIFT(ELEMINDEX) gets the entrance and exit misalignment vectors
+%  of one element or a group of elements in the globally defined lattice THERING.
+%  
+%  DX, DY are displacements of the ELEMENT 
+%  The elements to be modified are given by ELEMINDEX  
+%	Previous stored values are overwritten. 
+%
+% See also SETSHIFT
+
+%
+%% Written by Laurent S. Nadolski
+
+DisplayFlag = 0;
+
+if ~isempty(varargin)
+    if strcmpi(varargin{1}, 'Display')
+        DisplayFlag = 1;
+    elseif strcmpi(varargin{1}, 'NoDisplay')
+        DisplayFlag = 0;
+    end    
+end
+
+global THERING
+numelems = length(ELEMINDEX);
+
+DX = zeros(numelems,1);
+DY = zeros(numelems,1);
+
+for i = 1:length(ELEMINDEX)
+   V = THERING{ELEMINDEX(i)}.T2;
+   DX(i) = V(1);
+   DY(i) = V(3);
+end
+
+if DisplayFlag
+    figure
+    subplot(2,1,1)
+    plot(DX*1e3,'.'); grid on;
+    ylabel('Horizontal (mm)')
+    subplot(2,1,2)
+    plot(DY*1e3,'.'); grid on;
+    ylabel('Vertical (mm)')
+    suptitle('Transverse displacement of quadrupoles')
+    xlabel('Quadrupole number')
+end
Index: /trunk/machine/SOLEIL/StorageRing/quad/measbeta.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/measbeta.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/measbeta.m	(revision 17)
@@ -0,0 +1,228 @@
+function AO = measbeta(varargin)
+%MEASBETA - Measure betatron functions 
+%
+%  INPUTS
+%  1. Quadrupole family name {Default : All}
+%  Optional
+%  'Archive', 'Display'
+%  Optional override of the mode:
+%     'Online'    - Set/Get data online  
+%     'Model'     - Get the model chromaticity directly from AT (uses modelchro, DeltaRF is ignored)
+%     'Simulator' - Set/Get data on the simulated accelerator using AT (ie, same commands as 'Online')
+%
+%  OUPUTS
+%  1. betax - Horizontal beta functions
+%  2. betaz - Vertical beta functions
+%
+%  ALGORITHM
+%  betax =  4*pi*Dtunex/D(KL)
+%  betaz = -4*pi*Dtunez/D(KL)
+%
+%  See Also measbeta
+
+%
+%  Written by Laurent S. Nadolski
+
+DisplayFlag = 1;
+ArchiveFlag = 1;
+FileName = '';
+ModeFlag = '';  % model, online, manual, or '' for default mode
+waittime = 10; %seconds taken into account for simulator and Online
+OutputFlag = 1;
+
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = O;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator') || strcmpi(varargin{i},'Model') ...
+            || strcmpi(varargin{i},'Online') || strcmpi(varargin{i},'Manual')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    end
+end
+
+if strcmpi(ModeFlag,'Model')
+    waittime = -1;
+    OutputFlag = 0;
+end
+
+
+% Input parsing
+if isempty(varargin)
+    QuadFam = findmemberof('QUAD');
+elseif ischar(varargin{1})  
+    QuadFam = {varargin{:}};
+else
+    QuadFam = varargin{:}
+end
+
+if ArchiveFlag
+    if isempty(FileName)
+        FileName = appendtimestamp(getfamilydata('Default', 'QUADArchiveFile'));
+        DirectoryName = getfamilydata('Directory', 'QUAD');
+        if isempty(DirectoryName)
+            DirectoryName = fullfile(getfamilydata('Directory','DataRoot'), 'Response', 'BPM');
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select a Quad File ("Save" starts measurement)', [DirectoryName FileName]);
+        if FileName == 0 
+            ArchiveFlag = 0;
+            disp('   Quadrupole betatron measurement canceled.');
+            return
+        end
+        FileName = fullfile(DirectoryName, FileName);
+    elseif FileName == -1
+        FileName = appendtimestamp(getfamilydata('Default', 'QUADArchiveFile'));
+        DirectoryName = getfamilydata('Directory', 'QUAD');
+        FileName = fullfile(DirectoryName, FileName);
+    end    
+end
+
+% Starting time
+t0 = clock;
+
+nu_start = gettune(ModeFlag);
+
+for k1 = 1:length(QuadFam),
+    
+    if ~isfamily(QuadFam{k1})
+        error('%s is not a valid Family \n', QuadFam{k1});
+        return;
+    end
+        
+    DeviceList = family2dev(QuadFam{k1});
+    
+    % initialize data to zeros
+    beta = zeros(length(DeviceList),2);
+    beta_vrai = beta;
+    tune0 = beta;
+    tune1 = beta;
+    tune2 = beta;
+    dtune = beta;
+    
+    k3 = 0;
+    
+    for k2 = 1:length(DeviceList),
+        Ic = getam(QuadFam{k1}, DeviceList(k2,:), ModeFlag);
+        K = hw2physics(QuadFam{k1}, 'Setpoint', Ic, DeviceList(k2,:));
+
+        if OutputFlag
+            fprintf('Measuring Family %s [%d %d] actual current %f A : ... \n', ...
+                QuadFam{k1}, DeviceList(k2,:),Ic)
+        end
+        
+        k3 = k3 + 1;
+        tune0(k3,:) = gettune(ModeFlag); % Starting time
+        
+        DeltaI = getfamilydata(QuadFam{k1},'Setpoint','DeltaKBeta')*1.; % Amp
+
+        if OutputFlag
+            fprintf('Current increment of %d A\n', DeltaI)
+        end
+        
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:), ModeFlag); % Step value
+        sleep(waittime) % wait for quad reaching new setpoint value
+ 
+        tune1(k3,:) = gettune(ModeFlag); % get new tunes
+
+        if OutputFlag
+            tune1
+            fprintf('Current increment of %d A\n', -2*DeltaI)
+        end
+
+        stepsp(QuadFam{k1}, -2*DeltaI, DeviceList(k2,:), ModeFlag); % go back to initial values
+        sleep(waittime) % wait for quad reaching new setpoint value
+        
+        tune2(k3,:) = gettune(ModeFlag); % get new tunes
+
+        if OutputFlag
+            tune2
+        end
+
+        if OutputFlag
+            fprintf('Current increment of %d A\n', DeltaI)
+        end
+
+        stepsp(QuadFam{k1}, DeltaI, DeviceList(k2,:), ModeFlag); % go back to initial values
+        sleep(waittime) % wait for quad reaching new setpoint value
+
+        %% computation part
+        
+        dtune(k3,:) = tune1(k3,:) - tune2(k3,:);
+        
+        Leff = getleff(QuadFam{k1}, DeviceList(k2,:)); % Get effective length
+        %KL   = hw2physics(QuadFam{k1}, 'Setpoint', DeltaK, DeviceList(k2,:))*Leff;
+        DeltaKL =  2*DeltaI/Ic*K*Leff;
+
+        K1 = hw2physics(QuadFam{k1}, 'Setpoint', Ic+DeltaI, DeviceList(k2,:));
+        K2 = hw2physics(QuadFam{k1}, 'Setpoint', Ic-DeltaI, DeviceList(k2,:));
+        DeltaKL_vrai =  (K1-K2)*Leff;
+        
+        beta(k3,:) = 4*pi*dtune(k3,:)./DeltaKL.*[1 -1];
+        beta_vrai(k3,:) = 4*pi*dtune(k3,:)./DeltaKL_vrai.*[1 -1];
+
+        if OutputFlag
+            dtune
+            beta
+            beta_vrai
+        end
+    end
+    
+    % structure to be saved
+    AO.FamilyName.(QuadFam{k1}).beta = beta;
+    AO.FamilyName.(QuadFam{k1}).beta_vrai = beta_vrai;
+    AO.FamilyName.(QuadFam{k1}).dtune = dtune;
+    AO.FamilyName.(QuadFam{k1}).tune0 = tune0;
+    AO.FamilyName.(QuadFam{k1}).tune1 = tune1;
+    AO.FamilyName.(QuadFam{k1}).tune2 = tune2;
+    AO.FamilyName.(QuadFam{k1}).deltaI = DeltaI;
+    AO.FamilyName.(QuadFam{k1}).DeviceList = DeviceList;
+    %AO.FamilyName.(QuadFam{k1}).Position = getspos(QuadFam{k1},DeviceList);
+end
+
+AO.CreatedBy = 'measbeta';
+AO.GeV       = getenergy;
+AO.t         = t0;
+AO.tout      = etime(clock,t0);
+AO.TimeStamp = datestr(clock);
+
+if ArchiveFlag
+    save(FileName,'AO');
+    fprintf('Data save in filename %s \n', FileName);
+end
+
+%% tune variation during measurement
+nu_end = gettune(ModeFlag);
+
+fprintf('Tunes before mesurement nux = %4.4f nuz = %4.4f \n', nu_start);
+fprintf('Tunes after  mesurement nux = %4.4f nuz = %4.4f \n', nu_end);
+
+%% raw statistics on beta measurement
+dbxobx = (max(beta_vrai(:,1)-min(beta_vrai(:,1))))./min(beta_vrai(:,1))*100;
+dbzobz = (max(beta_vrai(:,2)-min(beta_vrai(:,2))))./min(beta_vrai(:,2))*100;
+fprintf('maximum betabeat dbxobx = %4.1f %% dbzobz = %4.1f %% \n', dbxobx, dbzobz);
+
+rmsbx = std((beta_vrai(:,1)-mean(beta_vrai(:,1)))./mean(beta_vrai(:,1)))*100;
+rmsbz = std((beta_vrai(:,2)-mean(beta_vrai(:,2)))./mean(beta_vrai(:,2)))*100;
+fprintf('rms betabeat bx = %4.1f %% rms bz = %4.1f %% rms \n', rmsbx, rmsbz);
+
+if DisplayFlag
+    plotmeasbeta(AO);
+end
Index: /trunk/machine/SOLEIL/StorageRing/quad/plotmeasbeta.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/plotmeasbeta.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/plotmeasbeta.m	(revision 17)
@@ -0,0 +1,60 @@
+function plotmeasbeta(varargin)
+%PLOTMEASBETA - plot quadrupole betatron function from measurement
+%
+%  INPUTS
+%  None - Ask user to select a file
+%  1. AO - output structure from measbeta programme
+%
+%  See Also measbeta
+
+%
+%  Written by Laurent S. Nadolski
+
+FileName = '';
+
+if isempty(varargin)
+    if isempty(FileName)
+        DirectoryName = getfamilydata('Directory', 'QUAD');
+        DirStart = pwd;
+        cd(DirectoryName);
+        [FileName, DirectoryName] = uigetfile('*.mat', 'Select a Quad File');
+        if FileName == 0 
+            ArchiveFlag = 0;
+            disp('   Quadrupole betatron plotting canceled.');
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    end    
+    % Load from file
+    load(FileName);
+    cd(DirStart);
+else
+    AO = varargin{1};
+end
+
+QuadFam = fieldnames(AO.FamilyName);
+
+spos  = [];
+betax = [];
+betaz = [];
+
+for k = 1:length(QuadFam)
+%     spos  = [spos AO.FamilyName.(QuadFam{k}).Position];
+%     betax = [betax AO.FamilyName.(QuadFam{k}).beta(:,1)];
+%     betaz = [betaz AO.FamilyName.(QuadFam{k}).beta(:,2)];
+     betax = AO.FamilyName.(QuadFam{k}).beta(:,1);
+     betaz = AO.FamilyName.(QuadFam{k}).beta(:,2);
+    
+    figure
+    subplot(2,1,1)
+    bar(betax)
+    xlabel('Quadrupole number')
+    ylabel('\beta_x [m]');
+    title(sprintf('%s quadrupole family', QuadFam{k}))
+
+    subplot(2,1,2)
+    bar(betaz)
+    xlabel('Quadrupole number')
+    ylabel('\beta_z [m]');
+    addlabel(1,0,sprintf('%s', datestr(AO.TimeStamp,0)));
+end
Index: /trunk/machine/SOLEIL/StorageRing/quad/plotquad.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/plotquad.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/plotquad.m	(revision 17)
@@ -0,0 +1,131 @@
+function plotquad(varargin)
+
+MeanFlag = 1;
+MonitorFlag = 1;
+Field = 'Monitor';
+
+% Flag factory
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Mean')
+        MeanFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoMean')
+        MeanFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Setpoint')
+        Field = 'Setpoint';
+    elseif strcmpi(varargin{i},'Offset1')
+        Field = 'Offset1';
+    end
+end
+
+Q1 = getpv('Q1', Field);
+Q1c = Q1-mean(Q1);
+Q2 = getpv('Q2',Field);
+Q2c = Q2-mean(Q2);
+Q3 = getpv('Q3',Field);
+Q3c = Q3-mean(Q3);
+Q4 = getpv('Q4', Field);
+Q4c = Q4-mean(Q4);
+Q5 = getpv('Q5', Field);
+Q5c = Q5-mean(Q5);
+Q6 = getpv('Q6', Field);
+Q6c = Q6-mean(Q6);
+Q7 = getpv('Q7', Field);
+Q7c = Q7-mean(Q7);
+Q8 = getpv('Q8', Field);
+Q8c = Q8-mean(Q8);
+Q9 = getpv('Q9', Field);
+Q9c = Q9-mean(Q9);
+Q10 = getpv('Q10', Field);
+Q10c = Q10-mean(Q10);
+
+
+figure
+if MeanFlag
+    subplot(5,2,1)
+    bar(Q1c)
+    ylabel('Q1')
+
+    subplot(5,2,2)
+    bar(Q2c)
+    ylabel('Q2')
+
+    subplot(5,2,3)
+    bar(Q3c)
+    ylabel('Q3')
+
+    subplot(5,2,4)
+
+    bar(Q4c)
+    ylabel('Q4')
+
+    subplot(5,2,5)
+    bar(Q5c)
+    ylabel('Q5')
+
+    subplot(5,2,6)
+    bar(Q6c)
+    ylabel('Q6')
+
+    subplot(5,2,7)
+    bar(Q7c)
+    ylabel('Q7')
+
+    subplot(5,2,8)
+    bar(Q8c)
+    ylabel('Q8')
+
+    subplot(5,2,9)
+    bar(Q9c)
+    ylabel('Q9')
+
+    subplot(5,2,10)
+    bar(Q10c)
+    ylabel('Q10')
+
+    suptitle(sprintf('Quadrupole %s values around average value for all families', Field))
+else
+
+    subplot(5,2,1)
+    bar(Q1)
+    ylabel('Q1')
+
+    subplot(5,2,2)
+    bar(Q2)
+    ylabel('Q2')
+
+    subplot(5,2,3)
+    bar(Q3)
+    ylabel('Q3')
+
+    subplot(5,2,4)
+    bar(Q4)
+    ylabel('Q4')
+
+    subplot(5,2,5)
+    bar(Q5)
+    ylabel('Q5')
+
+    subplot(5,2,6)
+    bar(Q6)
+    ylabel('Q6')
+
+    subplot(5,2,7)
+    bar(Q7)
+    ylabel('Q7')
+
+    subplot(5,2,8)
+    bar(Q8)
+    ylabel('Q8')
+
+    subplot(5,2,9)
+    bar(Q9)
+    ylabel('Q9')
+
+    subplot(5,2,10)
+    bar(Q10)
+    ylabel('Q10')
+
+    suptitle(sprintf('Quadrupole %s values for all families', Field))
+end
Index: /trunk/machine/SOLEIL/StorageRing/quad/quadcell13.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/quadcell13.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/quadcell13.m	(revision 17)
@@ -0,0 +1,15 @@
+function quadcell13(command)
+
+%%
+dev=family2tangodev('QC13');
+for k = 1:10, 
+    rep = tango_command_inout2(dev{k},command); 
+    switch command
+        case {'Status', 'State'}
+            if ischar(rep)
+                fprintf('Device: %s, State: %s \n',dev{k},rep);
+            end
+        otherwise
+            % does nothing
+    end
+end;
Index: /trunk/machine/SOLEIL/StorageRing/quad/scandispquad.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/scandispquad.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/scandispquad.m	(revision 17)
@@ -0,0 +1,58 @@
+%function QUAD0 = scandispquad
+% function QUAD0 = scandispquad
+
+QUADFamily = 'QFC';
+
+% Master Osillator Starting Point
+QUAD00 = getsp(QUADFamily);
+BPMStraightSection = [];
+
+
+% Get Dispersion
+%[Dx,Dy] = measdisp;
+%Dx=Dx(BPMStraightSection);
+
+
+i = 0; 
+for DeltaAmp=[0 .2 .4 .6 .8 1 1.2 1.4 1.6 1.8 2]
+  i = i + 1;
+  QUADnew = QUAD0+DeltaAmp
+  setsp(QUADFamily, QUADnew);
+  sleep(2);
+  [Dx(:,i), Dy(:,i)] = measdisp;
+  x(:,i) = getx(BPMStraightSection);
+  QUADsp(:,i) = getsp(QUADFamily);
+  save x QUADsp Dx Dy
+end
+
+
+% Set QFA back to starting point
+setsp(QUADFamily, QUAD00);
+
+
+q = QUAD(1,:);
+
+% Find LS fit to the line
+%y = Dxmat; 
+%X = [ones(max(size()),1) q'];
+%b = inv(X'*X)*X'*y;
+%QUAD0 = -b(1)/b(2);
+%
+%qvec = linspace(q(1),q(end),100);
+%yfit = b(1) + b(2)*qvec;
+%
+%figure
+%plot(qvec, yfit, QFA,y,'o'); grid on
+%xlabel('RF Frequency [MHz]');
+%ylabel('Dot product of Dx and Hor. Orbit');
+%fprintf('\n\n                             Zero crossing of QFAF = %f [MHz]\n', rf0);
+
+%save dispquaddata
+
+
+%figure
+i = findrowindex(BPMStraightSection,family2dev('BPMx'));
+plot(q, Dx(i,:)); grid on
+xlabel('QFA [Amps]');
+ylabel('Dispersion');
+
Index: /trunk/machine/SOLEIL/StorageRing/quad/setquad.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/setquad.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/setquad.m	(revision 17)
@@ -0,0 +1,25 @@
+function setquad(QMS, QuadSetpoint, WaitFlag, ModeFlag)
+%  setquad(QMS, QuadSetpoint, WaitFlag, ModeFlag)
+%  Used by quadcenter
+%
+%  See also getquad
+
+% Adapted by Laurent S. Nadolski from ALS
+
+if nargin < 2
+    error('At least 2 inputs required');
+end
+
+if nargin < 3
+    WaitFlag = -2;
+end
+
+QuadFamily = QMS.QuadFamily;
+QuadDev    = QMS.QuadDev;
+
+if nargin < 4
+    ModeFlag = getfamilydata(QuadFamily, 'Setpoint', 'Mode', QuadDev);
+end
+
+% Set the quadrupole
+setsp(QuadFamily, QuadSetpoint, QuadDev, 0, ModeFlag);
Index: /trunk/machine/SOLEIL/StorageRing/quad/setquadoffset2zero.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/quad/setquadoffset2zero.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/quad/setquadoffset2zero.m	(revision 17)
@@ -0,0 +1,46 @@
+function setquadoffset2zero            
+% setquadoffset2zero - Set offsets values to zeros for Q1 to 10 quadrupole magnets
+%
+
+% 22nd July 2010
+%% Written by Laurent S. Nadolski
+
+AO = getao;
+
+tango_group_command_inout2(AO.Q1.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q2.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q3.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q4.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q5.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q6.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q7.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q8.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q9.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q10.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q11.GroupId, 'SetOffsetsToZero');
+tango_group_command_inout2(AO.Q12.GroupId, 'SetOffsetsToZero');
+
+% %%
+% tango_group_write_attribute2(AO.Q1.GroupId,'currentOffset1',-0.1);
+% tango_group_write_attribute2(AO.Q2.GroupId,'currentOffset1',-0.2);
+% tango_group_write_attribute2(AO.Q3.GroupId,'currentOffset1',-0.3);
+% tango_group_write_attribute2(AO.Q4.GroupId,'currentOffset1',-0.4);
+% tango_group_write_attribute2(AO.Q5.GroupId,'currentOffset1',-0.5);
+% tango_group_write_attribute2(AO.Q6.GroupId,'currentOffset1',-0.6);
+% tango_group_write_attribute2(AO.Q7.GroupId,'currentOffset1',-0.7);
+% tango_group_write_attribute2(AO.Q8.GroupId,'currentOffset1',-0.8);
+% tango_group_write_attribute2(AO.Q9.GroupId,'currentOffset1',-0.9);
+% tango_group_write_attribute2(AO.Q10.GroupId,'currentOffset1',-1);
+% 
+% %%
+% tango_group_read_attribute2(AO.Q1.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q2.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q3.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q4.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q5.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q6.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q7.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q8.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q9.GroupId,'currentOffset1')
+% tango_group_read_attribute2(AO.Q10.GroupId,'currentOffset1')
+
Index: /trunk/machine/SOLEIL/StorageRing/rampdownsextu.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/rampdownsextu.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/rampdownsextu.m	(revision 17)
@@ -0,0 +1,25 @@
+%%
+I1 = getsp('S1');
+I2 = getsp('S2');
+I3 = getsp('S3');
+I4 = getsp('S4');
+I5 = getsp('S5');
+I6 = getsp('S6');
+I7 = getsp('S7');
+I8 = getsp('S8');
+I9 = getsp('S9');
+I10 = getsp('S10');
+
+%%
+frac = 0.5;
+
+setsp('S1',I1*frac);
+setsp('S2',I2*frac);
+setsp('S3',I3*frac);
+setsp('S4',I4*frac);
+setsp('S5',I5*frac);
+setsp('S6',I6*frac);
+setsp('S7',I7*frac);
+setsp('S8',I8*frac);
+setsp('S9',I9*frac);
+setsp('S10',I10*frac);
Index: /trunk/machine/SOLEIL/StorageRing/readSOLEILresponse.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/readSOLEILresponse.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/readSOLEILresponse.m	(revision 17)
@@ -0,0 +1,57 @@
+function varargout = ReadSOLEILResponse(DirSpec,FileName,mode)
+% Reads SOLEIL response matrix from file (or .mat file)
+%12/09/03 ib and ic return full complement
+
+%
+% Written by Spear People
+% Adapted by Laurent S. Nadolski
+
+DirSpec=char(DirSpec);
+FileName=char(FileName);
+mode=char(mode);
+
+BPMxFamily = 'BPMx';
+BPMzFamily = 'BPMz';
+HCORFamily = 'HCOR';
+VCORFamily = 'VCOR';
+
+disp(['loading response matrix file ' [DirSpec FileName]]);
+
+temp = getbpmresp(BPMxFamily, BPMzFamily, HCORFamily, VCORFamily, 'Struct');
+
+%=============================  
+%load horizontal rsp structure
+%=============================  
+rsp(1).ib=dev2elem(BPMxFamily,temp(1,1).Monitor.DeviceList);     % horizontal BPM index list
+bpmelem=dev2elem(BPMxFamily,getlist(BPMxFamily,1));              % valid BPM element list
+ntbpm=size(getlist(BPMxFamily,0),1);                             % total number of horizontal BPMs
+
+rsp(1).ic=dev2elem(HCORFamily,temp(1,1).Actuator.DeviceList);    % horizontal corrector index list
+corelem=dev2elem(HCORFamily,getlist(HCORFamily,1));              % valid COR element list
+ntcor=size(getlist(HCORFamily,0),1);                             % total number of horizontal correctors
+
+rsp(1).c=zeros(ntbpm,ntcor);                                     % generate full size matrix
+rsp(1).c(:) = deal(NaN);                                         % load matrix with NaNs
+rsp(1).c(bpmelem,corelem)=temp(1,1).Data;                        % load valid data
+
+rsp(1).cur=temp(1,1).ActuatorDelta;                              % horizontal corrector currents
+
+%=============================  
+%load vertical rsp structure
+%=============================  
+
+rsp(2).ib=dev2elem(BPMzFamily,temp(2,2).Monitor.DeviceList);     % vertical BPM index list
+bpmelem=dev2elem(BPMzFamily,getlist(BPMzFamily,1));              % valid BPM element list
+ntbpm=size(getlist(BPMzFamily,0),1);                             % total number of vertical BPMs
+
+rsp(2).ic=dev2elem(VCORFamily,temp(2,2).Actuator.DeviceList);    % vertical corrector index list
+corelem=dev2elem(VCORFamily,getlist(VCORFamily,1));              % valid COR element list
+ntcor=size(getlist(VCORFamily,0),1);                             % total number of vertical correctors
+
+rsp(2).c=zeros(ntbpm,ntcor);                                     % generate full size matrix
+rsp(2).c(:) = deal(NaN);                                         % load matrix with NaNs
+rsp(2).c(bpmelem,corelem)=temp(2,2).Data;                        % load valid data
+
+rsp(2).cur=temp(2,2).ActuatorDelta;                            %vertical corrector currents
+
+varargout{1}=rsp;
Index: /trunk/machine/SOLEIL/StorageRing/reglage_pos_energie_v3.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/reglage_pos_energie_v3.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/reglage_pos_energie_v3.m	(revision 17)
@@ -0,0 +1,1800 @@
+function varargout = reglage_pos_energie_v3(varargin)
+% REGLAGE_POS_ENERGIE_V3 M-file for reglage_pos_energie_v3.fig
+%      REGLAGE_POS_ENERGIE_V3, by itself, creates a new REGLAGE_POS_ENERGIE_V3 or raises the existing
+%      singleton*.
+%
+%      H = REGLAGE_POS_ENERGIE_V3 returns the handle to a new REGLAGE_POS_ENERGIE_V3 or the handle to
+%      the existing singleton*.
+%
+%      REGLAGE_POS_ENERGIE_V3('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in REGLAGE_POS_ENERGIE_V3.M with the given input arguments.
+%
+%      REGLAGE_POS_ENERGIE_V3('Property','Value',...) creates a new REGLAGE_POS_ENERGIE_V3 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before reglage_pos_energie_v3_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to reglage_pos_energie_v3_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help reglage_pos_energie_v3
+
+% Last Modified by GUIDE v2.5 27-Mar-2006 11:16:06
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @reglage_pos_energie_v3_OpeningFcn, ...
+                   'gui_OutputFcn',  @reglage_pos_energie_v3_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before reglage_pos_energie_v3 is made visible.
+function reglage_pos_energie_v3_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to reglage_pos_energie_v3 (see VARARGIN)
+
+% Choose default command line output for reglage_pos_energie_v3
+handles.output = hObject;
+
+
+% position du septum passif
+handles.pos_septum = -15;
+
+% efficitï¿œ des kickers exprimï¿œe en mrad / mm de bump
+handles.eff_K = 0.3331; 
+
+% button group for kickers
+h = uibuttongroup('visible','off','Position',[0.05 0.84 .41 .12],...
+    'Title','bump mode','TitlePosition','centertop',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u1 = uicontrol('Style','Radio','String','bump symetrique','Tag','radiobutton1',...
+    'pos',[10 55 140 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u2 = uicontrol('Style','Radio','String','bum dissymetrique couple 2 a 2','Tag','radiobutton2',...
+    'pos',[10. 30. 220 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u3 = uicontrol('Style','Radio','String','bump quelconque','Tag','radiobutton3',...
+    'pos',[10. 5.00 140 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u1);  % No selection
+set(h,'Visible','on');
+
+set([handles.K1_edit1,handles.K1_slider1,...
+            handles.K2_edit2,handles.K2_slider2,...
+            handles.K3_edit3,handles.K3_slider3,...
+            handles.K4_edit4,handles.K4_slider4,...
+            handles.K1_U_edit,handles.K1_U_slider,...
+            handles.K2_U_edit,handles.K2_U_slider,...
+            handles.K3_U_edit,handles.K3_U_slider,...
+            handles.K4_U_edit,handles.K4_U_slider,...
+            ],'Enable','off')
+
+%%%%%%%
+% BPM       
+%%%%%%%
+
+BPMxFamily = 'BPMx';
+BPMzFamily = 'BPMz';
+% on limite la liste des BPM au dixiÃšme
+% on tiend compte d'Ã©ventuels BPM au status = 0
+
+nbmaxBPM = 10;
+BPMxList = family2dev(BPMxFamily, 1 );
+BPMxListtotal = family2dev(BPMxFamily, 0 );
+BPMxList = intersect(BPMxList(1:nbmaxBPM,:),BPMxListtotal(1:nbmaxBPM,:),'rows');
+
+BPMzList = family2dev(BPMzFamily, 1 );
+BPMzListtotal = family2dev(BPMzFamily, 0 );
+BPMzList = intersect(BPMzList(1:nbmaxBPM,:),BPMzListtotal(1:nbmaxBPM,:),'rows');
+
+% les Ã©ventuels BPMs au status = 0 sont inactivÃ©s et checkbox value = 0
+val_status = 1 - getfamilydata('BPMx','Status',BPMxListtotal(1:nbmaxBPM,:));
+num_BPM_actif = [];
+for k = 1:nbmaxBPM
+    name = strcat('BPM',num2str(k),'_checkbox');
+    if val_status(k)   
+        set(handles.(name),'Enable','off');
+        set(handles.(name),'Value',0);
+        val = 0;
+    else
+        set(handles.(name),'Value',1);
+        val = 1;
+    end
+    num_BPM_actif =[num_BPM_actif  val];
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+
+
+% initialisation des BPM estimï¿œs actifs pour la mesrue d'ï¿œnergie
+% fonction num_BPM_actif = 1 lorsque le BPM est selectionnï¿œ, 0 sinon
+% on active par dï¿œfaut les 5 premiers
+% num_BPM_actif = [1 1 1 1 1 0 0 0 0 0 ];
+% setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+% 
+% set(handles.BPM1_checkbox,'Value',1);
+% set(handles.BPM2_checkbox,'Value',1);
+% set(handles.BPM3_checkbox,'Value',1);
+% set(handles.BPM4_checkbox,'Value',1);
+% set(handles.BPM5_checkbox,'Value',1);
+% set(handles.BPM6_checkbox,'Value',0);
+% set(handles.BPM7_checkbox,'Value',0);
+% set(handles.BPM8_checkbox,'Value',0);
+% set(handles.BPM9_checkbox,'Value',0);
+% set(handles.BPM10_checkbox,'Value',0);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% enregistrement de la matrice : 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+enregistrement = 1;
+if enregistrement
+
+    global THERING
+
+    % mise ï¿œ zï¿œro des courants quadrupï¿œles
+    %     setsp({'Q1','Q2','Q3',...
+    %         'Q4','Q5','Q6','Q7','Q8','Q9','Q10'},0,'Model');
+
+    tmp = family2atindex(findmemberof('QUAD'));
+    for k1= 1: length(tmp)
+        for k2=1:length(tmp{k1})
+            ATIndex= tmp{k1}(k2);
+            THERING{ATIndex}.K = 0;
+            THERING{ATIndex}.PolynomB(2) = 0;
+        end
+    end
+
+    % index des BPM
+    index_BPM = family2atindex('BPMx');
+    %index_premier_element = family2atindex('K4');
+    index_premier_element = family2atindex('PtINJ');
+
+    % calcul de chaque matrice 6x6 du point Kicker 4 jusqu'au BPM considï¿œrï¿œ
+    for jBPM = 1:nbmaxBPM
+        M66 = eye(6);
+        for i = index_premier_element:index_BPM(jBPM)
+            elem = THERING{i};
+            Melem66 = findelemm66(elem,elem.PassMethod,[0 0 0 0 0 0]');
+            M66 = Melem66 * M66;
+        end
+        R11(jBPM) = M66(1,1);
+        R12(jBPM) = M66(1,2);
+        R15(jBPM) = M66(1,5);
+    end
+    setappdata(handles.figure1,'R11',R11);
+    setappdata(handles.figure1,'R12',R12);
+    setappdata(handles.figure1,'R15',R15);
+
+
+end
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% position des BPM acitvÃ©s
+s = getspos(BPMxFamily, BPMxList);
+Xmax = max(s);
+setappdata(handles.figure1, 'SPosX', s);
+L = getfamilydata('Circumference');
+if isempty(L)
+    setappdata(handles.figure1, 'AxisRange1X', [min(s) max(s)]);
+else
+    setappdata(handles.figure1, 'AxisRange1X', [0 Xmax]);
+end
+setappdata(handles.figure1,'nbmaxBPM',nbmaxBPM);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% This sets up the initial plot - only do when we are invisible
+% so window can get raised using reglage_pos_energie_v3.
+if strcmp(get(hObject,'Visible'),'off')
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % AXE 1
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    % lire les valeurs courantes des kickers 
+%     val_HW14 = getam('K_INJ1');
+%     val_HW23 = getam('K_INJ2');
+%     val_ph14 = hw2physics('K_INJ1','Setpoint',val_HW14);
+%     val_ph23 = hw2physics('K_INJ3','Setpoint',val_HW23);
+%     teta1 = val_ph14(1);
+%     teta2 = val_ph23(1);
+%     teta3 = val_ph23(2);
+%     teta4 = val_ph14(2);
+    
+    %(on se teste sur correcteurs)
+    %     teta1 = -4e-3;teta2 = 4.5e-3;teta3 = 8e-3;teta4 = -8e-3
+    val_HW = getam('HCOR');
+    val_ph = 100 * hw2physics('HCOR','Setpoint',val_HW); 
+    teta1 = - abs(val_ph(1));
+    teta2 = abs(val_ph(2));
+    teta3 = abs(val_ph(3));
+    teta4 = - abs(val_ph(4));
+    
+    % plot du bump kicker
+    name=['axes' num2str(1)];
+    axes(handles.(name));
+
+   % pas gÃ©nial, il vaudrait mieux utiliser THERING en reperant les elements et
+   % deduire les espaces entre equipements
+    X1 = 0;X2 = 1;X3 = 4.002;X4 = 8.227;X5 = 11.229;X6 = 13;
+    Ymax = 20;Ymin = -25;
+    Xdata = [ X1 X2 X3 X4 X5 X6];
+    V1 = [0 0]';
+    V2 = [1 (X2-X1);0 1]*V1 + [0 teta1]';
+    V3 = [1 (X3-X2);0 1]*V2 + [0 teta2]';
+    V4 = [1 (X4-X3);0 1]*V3 + [0 teta3]';
+    V5 = [1 (X5-X4);0 1]*V4 + [0 teta4]';
+    V6 = [1 (X6-X5);0 1]*V5;
+    Ydata = [V1(1) V2(1) V3(1) V4(1) V5(1) V6(1)]*1000;
+    plot(Xdata,Ydata,'rs-','Tag','line1');
+    hold on
+    plot(Xdata,Ydata*cos(30*pi/180),'bs-','Tag','line2');
+    set(handles.(name), 'YGrid','On');
+    set(handles.(name), 'XGrid','On');
+    set(gca, 'YMinorTick','On');
+    %set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'s (m)');
+    ylabel(handles.(name),'X (mm)');
+    xlim([0 X6]);
+    ylim([Ymin Ymax]);
+    
+    % plot du septum
+    hold on
+    Xs = 6.8695;ls = 0.6;
+    Ys = handles.pos_septum;eps = 3.5;
+    rectangle('Position',[Xs,Ys-eps,ls,eps],...
+       'FaceColor','r')
+          %'Curvature',[0.4],'FaceColor','r')
+    hold on
+    
+    % plot des kickers
+    l = 0.6;XK1 = X2-l/2;XK2 = X3-l/2;
+    XK3 = X4-l/2;XK4 = X5-l/2;
+    Y = Ymin + 1;ep = Ymax - Ymin - 2;
+    rectangle('Position',[XK1,Y,l,ep],...
+        'LineWidth',0.5,'LineStyle','--')
+    hold on
+    rectangle('Position',[XK2,Y,l,ep],...
+        'LineWidth',0.5,'LineStyle','--')
+    hold on
+    rectangle('Position',[XK3,Y,l,ep],...
+        'LineWidth',0.5,'LineStyle','--')
+    hold on
+    rectangle('Position',[XK4,Y,l,ep],...
+        'LineWidth',0.5,'LineStyle','--')
+    hold on
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % plot de la maille
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    drawlattice;
+    a = getappdata(gcf, 'AxisRange1X');
+    axis([a -1 1]);
+    set(gca,'XTick',[-10 600]); % to erase tick labels
+    set(gca,'YTick',[-10 10]);
+    set(gca,'Box','off')
+    
+    
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % AXE 2
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+    % entrer lecture BPM tour par tour :selectionner le premier tour
+    % test anneau
+    %BPMxList = [1     3;1     4;1     5;1     6]
+    [X Z Sum] = anabpmfirstturn( BPMxList ,'MaxSum','NoDisplay');
+    orbite_x = X';
+    orbite_z = Z';
+    setappdata(handles.figure1,'orbite_x',orbite_x);
+    setappdata(handles.figure1,'orbite_z',orbite_z);
+    
+    % plot des orbites premiers tours
+    name=['axes' num2str(2)];
+    axes(handles.(name));
+    %xdata = BPMx.Position;
+    plot(s,orbite_x,'r-','Tag','line1');
+    hold on
+    %ydata = BPMz.Position;
+    axis([a -10 10]);
+    plot(s,orbite_z,'b-','Tag','line2');
+    set(handles.(name), 'Nextplot','Add');
+    set(handles.(name), 'YGrid','On');
+    set(gca, 'YMinorTick','On');
+    set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'position du BPM');
+    ylabel(handles.(name),'orbites (mm)');
+    
+end
+% afficher la position du septum
+set(handles.pos_septum_text48,'String',num2str(handles.pos_septum));
+
+% UIWAIT makes reglage_pos_energie_v3 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = reglage_pos_energie_v3_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in fit_pushbutton1.
+function fit_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to fit_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+% constitution de la liste des BPM actifs
+liste_BPM_actif = [];
+for i = 1: length(num_BPM_actif)
+    if num_BPM_actif(i)
+        liste_BPM_actif = [liste_BPM_actif i];
+    end
+end
+
+% constitution de la matrice de transport avec les BPM actifs
+R11 = getappdata(handles.figure1,'R11');
+R12 = getappdata(handles.figure1,'R12');
+R15 = getappdata(handles.figure1,'R15');
+orbite_x = getappdata(handles.figure1,'orbite_x');
+
+M11 = [];M12 = [];M15 = [];
+for i = 1:length(liste_BPM_actif)
+    M11 = [M11 R11(liste_BPM_actif(i))];
+    M12 = [M12 R12(liste_BPM_actif(i))];
+    M15 = [M15 R15(liste_BPM_actif(i))];
+end
+Matrice_BPM_actif = [M11' M12' M15']  
+disp('j''suis contente - pour l''instant')
+
+% lire les N premiers BPM premiers tours
+%test
+%XBPM = [1 2 3 4 5 6 7 8 9 10]';
+%XBPM = [5.59 6.96 10.86 12.13 13.40]';
+[U,S,V] = svd(Matrice_BPM_actif)
+% ici toutes les valeurs propres sont utilisees- ??
+diago = diag(S);
+seuil = 0.01;
+for k = 1:length(diag(S))
+    if diago(k)<seuil
+        % on suppose que le premier est toujours superieur au seuil
+        jseuil = k-1
+        break
+    else
+        jseuil = length(diag(S));
+    end
+end
+Rmod = Matrice_BPM_actif * V(:,1:jseuil);
+B = Rmod \ orbite_x;
+Xpos = V(:,1:jseuil)*B
+
+% afficher Xpos
+set(handles.deltax_text50,'String',sprintf('%3.2f',Xpos(1)));
+set(handles.deltaxp_text51,'String',sprintf('%3.2f',Xpos(2)));
+set(handles.deltaE_text52,'String',sprintf('%3.2f',Xpos(3)/10));
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in popupmenu1.
+function popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+
+function K1_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to K1_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K1_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of K1_edit1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function K1_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K1_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K1_slider1_Callback(hObject, eventdata, handles)
+% hObject    handle to K1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K1_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K1_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K2_edit2_Callback(hObject, eventdata, handles)
+% hObject    handle to K2_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K2_edit2 as text
+%        str2double(get(hObject,'String')) returns contents of K2_edit2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function K2_edit2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K2_edit2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K2_slider2_Callback(hObject, eventdata, handles)
+% hObject    handle to K2_slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K2_slider2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K2_slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K3_edit3_Callback(hObject, eventdata, handles)
+% hObject    handle to K3_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K3_edit3 as text
+%        str2double(get(hObject,'String')) returns contents of K3_edit3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function K3_edit3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K3_edit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K3_slider3_Callback(hObject, eventdata, handles)
+% hObject    handle to K3_slider3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K3_slider3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K3_slider3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K4_edit4_Callback(hObject, eventdata, handles)
+% hObject    handle to K4_edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K4_edit4 as text
+%        str2double(get(hObject,'String')) returns contents of K4_edit4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function K4_edit4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K4_edit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K4_slider4_Callback(hObject, eventdata, handles)
+% hObject    handle to K4_slider4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K4_slider4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K4_slider4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function deltax_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to deltax_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deltax_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of deltax_edit13 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function deltax_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltax_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function deltax_slider13_Callback(hObject, eventdata, handles)
+% hObject    handle to deltax_slider13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+% lire la valeur affichï¿œe
+deltax = num2str(get(handles.deltax_edit13,'String'));
+deltax = deltax * 1e-3 % mm
+
+L1 = (50 + 500 + 800 + 300) * 1e-3;
+L2 = 1e-3 * 600/2;
+
+% % dï¿œduction angles septa actifs et septum passif
+% val_HW_sa = getam('septa actifs...);
+% val_HW_sp = getam('septum passif...);
+% 
+% val_ph_sa = deltax / L1;
+% val_HW_sa = val_HW_sa + physics2HW('sept...','Setpoint',val_ph_sa);
+% val_ph_sp = hw2physics('sept..','Setpoint',val_HW_sp);
+% val_ph_sp = val_ph_sp - val_ph_sa;
+% val_HW_sp = val_HW_sp + physics2HW('sept...','Setpoint',val_ph_sp);
+
+% setsp('sept...','Setpoint',val_HW_sp);
+% setsp('septactif...','Setpoint',val_HW_sa);
+
+% re-initaliser le slider ï¿œ cette valeur de bump
+%set(handles.deltax_slider13,'Value',valeur_corr);
+
+% --- Executes during object creation, after setting all properties.
+function deltax_slider13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltax_slider13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function deltaxp_edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to deltaxp_edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deltaxp_edit14 as text
+%        str2double(get(hObject,'String')) returns contents of deltaxp_edit14 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function deltaxp_edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltaxp_edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function deltaxp_slider14_Callback(hObject, eventdata, handles)
+% hObject    handle to deltaxp_slider14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+% lire la valeur affichï¿œe
+deltaxp = num2str(get(handles.deltaxp_edit14,'String'));
+deltaxp = deltaxp * 1e-3
+
+% pour point d'injection = point fixe, rapport entre les angles septum
+% passif et les septa actifs : RAP
+L1 = (50 + 500 + 800 + 300) * 1e-3;
+L2 = 1e-3 * 600/2;
+RAP = (L1-L2) / L2;
+
+% val_HW_sp = getam('septum...);
+% val_HW_sa = getam('septa actifs...);
+
+% val_ph_sp = deltaxp + hw2physics('sept..','Setpoint',val_HW_sp);
+% val_ph_sa = deltaxp * RAP + hw2physics('sept..','Setpoint',val_HW_sa);
+% val_HW_sp = physics2HW('sept...','Setpoint',val_ph_sp);
+% val_HW_sa = physics2HW('septactif...','Setpoint',val_ph_sa);
+% setsp('sept...','Setpoint',val_HW_sp);
+% setsp('septactif...','Setpoint',val_HW_sa);
+
+% re-initaliser le slider ï¿œ cette valeur de bump
+set(handles.deltaxp_slider14,'Value',valeur_corr);
+
+
+% --- Executes during object creation, after setting all properties.
+function deltaxp_slider14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltaxp_slider14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function deltaz_edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to deltaz_edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deltaz_edit15 as text
+%        str2double(get(hObject,'String')) returns contents of deltaz_edit15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function deltaz_edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltaz_edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function deltaz_slider15_Callback(hObject, eventdata, handles)
+% hObject    handle to deltaz_slider15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function deltaz_slider15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltaz_slider15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function deltazp_edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to deltazp_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of deltazp_edit16 as text
+%        str2double(get(hObject,'String')) returns contents of deltazp_edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function deltazp_edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltazp_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function deltazp_slider16_Callback(hObject, eventdata, handles)
+% hObject    handle to deltazp_slider16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function deltazp_slider16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to deltazp_slider16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        % 
+        set([handles.K1_edit1,handles.K1_slider1,...
+            handles.K2_edit2,handles.K2_slider2,...
+            handles.K3_edit3,handles.K3_slider3,...
+            handles.K4_edit4,handles.K4_slider4,...
+            handles.K1_U_edit,handles.K1_U_slider,...
+            handles.K2_U_edit,handles.K2_U_slider,...
+            handles.K3_U_edit,handles.K3_U_slider,...
+            handles.K4_U_edit,handles.K4_U_slider,...
+            ],'Enable','off')
+       
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        % 
+        set([...
+            handles.K2_edit2,handles.K2_slider2,...
+            ...
+            handles.K4_edit4,handles.K4_slider4,...
+            ...
+            handles.K2_U_edit,handles.K2_U_slider,...
+            ...
+            handles.K4_U_edit,handles.K4_U_slider,...
+            ],'Enable','off');
+        set([handles.K1_edit1,handles.K1_slider1,...
+            ...
+            handles.K3_edit3,handles.K3_slider3,...
+            ...
+            handles.K1_U_edit,handles.K1_U_slider,...
+            ...
+            handles.K3_U_edit,handles.K3_U_slider,...
+            ...
+            ],'Enable','on')
+    case 'radiobutton3'
+        % code piece when radiobutton1 is selected goes here
+        % 
+        set([handles.K1_edit1,handles.K1_slider1,...
+            handles.K2_edit2,handles.K2_slider2,...
+            handles.K3_edit3,handles.K3_slider3,...
+            handles.K4_edit4,handles.K4_slider4,...
+            handles.K1_U_edit,handles.K1_U_slider,...
+            handles.K2_U_edit,handles.K2_U_slider,...
+            handles.K3_U_edit,handles.K3_U_slider,...
+            handles.K4_U_edit,handles.K4_U_slider,...
+            ],'Enable','on')
+        
+end
+
+
+
+function bump_edit21_Callback(hObject, eventdata, handles)
+% hObject    handle to bump_edit21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of bump_edit21 as text
+%        str2double(get(hObject,'String')) returns contents of bump_edit21 as a double
+bump = str2num(get(handles.bump_edit21,'String'));
+
+% valeur 4 kickers en rad
+val_ph_K = bump * handles.eff_K * 1e-3;
+% % valeurs 4 kickers en V
+% val_HW_K = physics2HW('Kick...','Setpoint',val_ph_K);
+% % appliquer les 4 valeurs (transformer peut-ï¿œtre en vecteurs 4 valeurs
+% % alternï¿œes)
+% setsp('Kick...', 'Setpoint',val_HW_K)
+
+% afficher dans edit des kickers
+%set(handles.K1_edit1,'String',num2str(val_HW_K(1))); % etc..
+
+% re-initaliser le slider ï¿œ cette valeur de bump
+%set(handles.K1_slider1,'Value',val_HW_K(1));
+%set(handles.K2_slider2,'Value',val_HW_K(2));  %etc..
+
+
+% --- Executes during object creation, after setting all properties.
+function bump_edit21_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to bump_edit21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in BPM1_checkbox.
+function BPM1_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM1_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM1_checkbox
+
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(1) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(1) = 0;  
+    BPMxList = intersect(BPMxList,BPMxListtotal(2:nbmaxBPM,:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM2_checkbox.
+function BPM2_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM2_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM2_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(2) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(2) = 0;  
+    BPMxList = intersect(BPMxList,[BPMxListtotal(1,:); BPMxListtotal(3:nbmaxBPM,:)],'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+
+
+
+% 
+% 
+% if (get(hObject,'Value') == get(hObject,'Max'))
+%     % then checkbox is checked-take approriate action
+%     num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+%     num_BPM_actif(2) = 1;
+%     setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+% else
+%     % checkbox is not checked-take approriate action
+%     num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+%     num_BPM_actif(2) = 0;
+%     setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+% end
+
+% --- Executes on button press in BPM3_checkbox.
+function BPM3_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM3_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM3_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(3) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(3) = 0;  
+    BPMxList = intersect(BPMxList,[BPMxListtotal(1:2,:); BPMxListtotal(4:nbmaxBPM,:)],'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+
+% --- Executes on button press in BPM4_checkbox.
+function BPM4_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM4_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM4_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(4) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(4) = 0;  
+    BPMxList = intersect(BPMxList,[BPMxListtotal(1:3,:); BPMxListtotal(5:nbmaxBPM,:)],'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+
+% --- Executes on button press in BPM5_checkbox.
+function BPM5_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM5_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM5_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(5) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(5) = 0;  
+    BPMxList = intersect(BPMxList,[BPMxListtotal(1:4,:); BPMxListtotal(6:nbmaxBPM,:)],'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM6_checkbox.
+function BPM6_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM6_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM6_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(6) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(6) = 0;  
+    BPMxList = intersect(BPMxList,[BPMxListtotal(1:5,:); BPMxListtotal(7:nbmaxBPM,:)],'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM7_checkbox.
+function BPM7_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM7_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM7_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(7) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(7) = 0;  
+    BPMxList = intersect(BPMxList,[BPMxListtotal(1:6,:); BPMxListtotal(8:nbmaxBPM,:)],'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM8_checkbox.
+function BPM8_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM8_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM8_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(8) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(8) = 0;  
+    BPMxList = intersect(BPMxList,[BPMxListtotal(1:7,:); BPMxListtotal(9:nbmaxBPM,:)],'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM9_checkbox.
+function BPM9_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM9_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM9_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(9) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(9) = 0;  
+    BPMxList = intersect(BPMxList,[BPMxListtotal(1:8,:); BPMxListtotal(10:nbmaxBPM,:)],'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+% --- Executes on button press in BPM10_checkbox.
+function BPM10_checkbox_Callback(hObject, eventdata, handles)
+% hObject    handle to BPM10_checkbox (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of BPM10_checkbox
+nbmaxBPM = getappdata(handles.figure1,'nbmaxBPM');
+BPMxList = getappdata(handles.figure1,'BPMxList');
+num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');
+BPMxListtotal = family2dev('BPMx', 0 );  
+
+if (get(hObject,'Value') == get(hObject,'Max'))
+    % then checkbox is checked-take approriate action
+    num_BPM_actif(10) = 1;
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),'rows');
+else
+    % checkbox is not checked-take approriate action
+    num_BPM_actif(10) = 0;  
+    BPMxList = intersect(BPMxList,BPMxListtotal(1:9,:),'rows');
+    
+end
+setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);
+setappdata(handles.figure1,'BPMxList',BPMxList);
+mycallbackenergytunette(1,1,hObject, eventdata, handles)
+
+function K1_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to K1_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K1_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of K1_U_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function K1_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K1_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K1_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to K1_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K1_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K1_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K2_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to K2_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K2_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of K2_U_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function K2_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K2_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K2_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to K2_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K2_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K2_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K3_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to K3_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K3_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of K3_U_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function K3_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K3_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K3_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to K3_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K3_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K3_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function K4_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to K4_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of K4_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of K4_U_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function K4_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K4_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function K4_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to K4_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function K4_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to K4_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function septum_actif_a_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_actif_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of septum_actif_a_edit as text
+%        str2double(get(hObject,'String')) returns contents of septum_actif_a_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_actif_a_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_actif_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function septum_actif_a_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_actif_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_actif_a_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_actif_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function septum_passif_a_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_passif_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of septum_passif_a_edit as text
+%        str2double(get(hObject,'String')) returns contents of septum_passif_a_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_passif_a_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_passif_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function septum_passif_a_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_passif_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_passif_a_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_passif_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function CV4_a_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to CV4_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CV4_a_edit as text
+%        str2double(get(hObject,'String')) returns contents of CV4_a_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CV4_a_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV4_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function CV4_a_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to CV4_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function CV4_a_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV4_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function CV5_a_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to CV5_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CV5_a_edit as text
+%        str2double(get(hObject,'String')) returns contents of CV5_a_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CV5_a_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV5_a_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function CV5_a_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to CV5_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function CV5_a_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV5_a_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function septum_actif_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_actif_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_actif_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_actif_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function septum_passif_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_passif_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of septum_passif_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of septum_passif_U_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_passif_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_passif_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function septum_passif_U_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_passif_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_passif_U_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_passif_U_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function CV4_I_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to CV4_I_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CV4_I_edit as text
+%        str2double(get(hObject,'String')) returns contents of CV4_I_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CV4_I_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV4_I_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function CV4_I_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to CV4_I_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function CV4_I_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV4_I_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function CV5_I_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to CV5_I_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of CV5_I_edit as text
+%        str2double(get(hObject,'String')) returns contents of CV5_I_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function CV5_I_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV5_I_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function CV5_I_slider_Callback(hObject, eventdata, handles)
+% hObject    handle to CV5_I_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+
+% --- Executes during object creation, after setting all properties.
+function CV5_I_slider_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV5_I_slider (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function septum_actif_U_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to septum_actif_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of septum_actif_U_edit as text
+%        str2double(get(hObject,'String')) returns contents of septum_actif_U_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function septum_actif_U_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to septum_actif_U_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% bugs
+% --- Executes during object creation, after setting all properties.
+function edit56_CreateFcn(hObject, eventdata, handles)
+function edit57_CreateFcn(hObject, eventdata, handles)
+function slider55_CreateFcn(hObject, eventdata, handles)
+function slider56_CreateFcn(hObject, eventdata, handles)
+
Index: /trunk/machine/SOLEIL/StorageRing/setRFfrequency.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/setRFfrequency.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/setRFfrequency.m	(revision 17)
@@ -0,0 +1,31 @@
+function setRFfrequency(RFvalue)
+% setRFfrequency -Set RF frequency to a given value by steps of 100 Hz 
+%
+%  INPUTS
+%  1. RFvalue input value
+%
+%  See Also
+%  stepref, getrf, setrrf
+
+%
+% Written by Laurent S. Nadolski
+
+RFthreshold = 1e-6; % MHz
+RFstep = 50e-6; % MHz  changement le 30 aout 2009 100Hz/2s-> 50Hz/1s (meme si Ã§a a l'air pareil..)
+RFpause = 1.5; % s changement le 30 aout 2009 100Hz/2s-> 50Hz/1s
+
+RF = getrf;
+DeltaRF = RF - RFvalue;
+
+% loop for changinf RF frequency by step of 100 Hz
+while abs(DeltaRF) > RFthreshold; 
+    if abs(DeltaRF) > RFstep
+        DeltaRF = RFstep*sign(DeltaRF);
+    end
+    steprf(-DeltaRF);
+    pause(RFpause);
+    RF = getrf;
+    DeltaRF = RF - RFvalue;
+end
+
+fprintf('RF frequency set \n');
Index: /trunk/machine/SOLEIL/StorageRing/setlocodata.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/setlocodata.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/setlocodata.m	(revision 17)
@@ -0,0 +1,417 @@
+function setlocodata(CommandInput, FileName)
+%SETLOCODATA - Applies the LOCO calibration data to both the middle layer & the accelerator
+%  setlocodata(CommandInput, FileName)
+%
+%  INPUTS
+%  1. CommandInput
+%     'Nominal'    - Sets nominal gains (1) / rolls (0) to the model.
+%     'SetGains'   - Set gains/coupling from a LOCO file.
+%     'Symmetrize' - Symmetry correction of the lattice based on a LOCO file.
+%     'CorrectCoupling' - Coupling correction of the lattice based on a LOCO file.
+%     'SetModel'   - Set the model from a LOCO file.  But it only changes
+%                    the part of the model that does not get corrected
+%                    in 'Symmetrize' (also does a SetGains).
+%     'LOCO2Model' - Set the model from a LOCO file (also does a 'SetGains').
+%                    This sets all lattice machines fit in the LOCO run to the model.
+%     'EtaWave'    - Set a dispersion wave.
+%  2. FileName - LOCO file name {Default: getfamilydata('OpsData', 'LOCOFile')}
+%                '' to browse for a file
+%
+%  NOTES
+%  How one uses this function depends on how LOCO was setup.
+%  1. Use setlocodata('Nominal') if no model calibration information is known.
+%  2. The most typical situation is to apply:
+%         setlocodata('Symmetrize') to the accelerator
+%         setlocodata('SetModel')   to the middle layer (usually done in setoperationalmode)
+%  3. If a LOCO run was done on the present lattice with no changes made to lattice
+%     after LOCO run, then setting all the LOCO fits to the model makes sense.
+%         setlocodata('LOCO2Model')
+%  4. This function obviously has machine dependent parts.
+%
+% See Also plotlocodata, gcr2loco, getgain, getroll, getcrunch
+
+
+%
+%  Written by Greg Portmann
+
+
+global THERING
+
+if nargin < 1
+    %CommandInput = 'Default';
+    ModeCell = {'Nominal - Set Gain=1 & Rolls=0 in the model', 'SetGains - Set gains/rolls from a LOCO file','Symmetrize - Symmetry correction of the lattice', 'CorrectCoupling - Coupling correction of the lattice', 'SetModel - Set the model from a LOCO file','LOCO2Model - Set the model from a LOCO file (also does a SetGains)', 'see "help setlocodata" for more details'};
+    [ModeNumber, OKFlag] = listdlg('Name','Soleil','PromptString', ...
+        'Select the proper set LOCO data command:', ...
+        'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [500 200]);
+    if OKFlag ~= 1
+        fprintf('   setlocodata cancelled\n');
+        return
+    end
+    if ModeNumber == 1
+        CommandInput = 'Nominal';
+    elseif ModeNumber == 2
+        CommandInput = 'SetGains';
+    elseif ModeNumber == 3
+        CommandInput = 'Symmetrize';
+    elseif ModeNumber == 4
+        CommandInput = 'CorrectCoupling';
+    elseif ModeNumber == 5
+        CommandInput = 'SetModel';
+    elseif ModeNumber == 6
+        CommandInput = 'LOCO2Model';
+    elseif ModeNumber == 7
+        help setlocodata;
+        return
+    end
+end
+
+
+if nargin < 2
+    % Default (Golden) LOCO file
+    % If empty, the user will be prompted if needed.
+    FileName = getfamilydata('OpsData','LOCOFile');
+end
+
+
+% Device list
+BPMxFamily = 'BPMx';
+
+BPMxDeviceList = family2dev(BPMxFamily);
+BPMxDeviceListTotal = family2dev(BPMxFamily,0);
+
+BPMzFamily = 'BPMz';
+BPMzDeviceList = family2dev(BPMzFamily);
+BPMzDeviceListTotal = family2dev(BPMzFamily,0);
+
+HCMFamily = 'HCOR';
+HCMDeviceList = family2dev(HCMFamily);
+HCMDeviceListTotal = family2dev(HCMFamily,0);
+
+VCMFamily = 'VCOR';
+VCMDeviceList = family2dev(VCMFamily);
+VCMDeviceListTotal = family2dev(VCMFamily,0);
+
+
+if any(strcmpi(CommandInput, 'Nominal'))
+    fprintf('   Using nominal BPM and corrector Gain=1 and Roll=0\n');
+
+    % To speed things up, put Gains/Rolls/etc in the AO
+    AO = getao;
+
+    % Zero or one the gains and rolls
+    AO.(BPMxFamily).Gain   = ones(size(BPMxDeviceListTotal,1),1);
+    AO.(BPMzFamily).Gain   = ones(size(BPMzDeviceListTotal,1),1);
+    AO.(BPMxFamily).Roll   = zeros(size(BPMxDeviceListTotal,1),1);
+    AO.(BPMzFamily).Roll   = zeros(size(BPMzDeviceListTotal,1),1);
+    AO.(BPMxFamily).Crunch = zeros(size(BPMxDeviceListTotal,1),1);
+    AO.(BPMzFamily).Crunch = zeros(size(BPMzDeviceListTotal,1),1);
+
+    AO.(VCMFamily).Gain = ones(size(HCMDeviceListTotal,1),1);
+    AO.(HCMFamily).Gain = ones(size(VCMDeviceListTotal,1),1);
+    AO.(VCMFamily).Roll = zeros(size(HCMDeviceListTotal,1),1);
+    AO.(HCMFamily).Roll = zeros(size(VCMDeviceListTotal,1),1);
+
+
+    % Set the roll, crunch to the AT model to be used by getpvmodel, setpvmodel, etc
+    setatfield(BPMxFamily, 'GCR', [AO.(BPMxFamily).Gain AO.(BPMzFamily).Gain AO.(BPMxFamily).Crunch AO.(BPMxFamily).Roll], BPMxDeviceListTotal);
+
+    % Set the gains to the AT model to be used by getpvmodel, setpvmodel, etc
+    % Make sure the Roll field is 1x2 even for single plane correctors
+
+    % First set the cross planes to zero
+    setatfield(HCMFamily, 'Roll', 0*AO.(HCMFamily).Roll, HCMDeviceListTotal, 1, 2);
+    setatfield(VCMFamily, 'Roll', 0*AO.(VCMFamily).Roll, VCMDeviceListTotal, 1, 1);
+
+    % Then set the roll field
+    setatfield(HCMFamily, 'Roll', AO.(HCMFamily).Roll, HCMDeviceListTotal, 1, 1);
+    setatfield(VCMFamily, 'Roll', AO.(VCMFamily).Roll, VCMDeviceListTotal, 1, 2);
+
+    setao(AO);
+
+
+elseif any(strcmpi(CommandInput, 'SetGains'))
+
+    if isempty(FileName) || strcmp(FileName, '.')
+        if isempty(FileName)
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?', [getfamilydata('Directory','DataRoot'), 'LOCO', filesep]);
+        else
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?');
+        end
+        drawnow;
+        if isequal(FileName,0) || isequal(DirectoryName,0)
+            fprintf('   setlocodata canceled\n');
+            return
+        end
+        FileName = [DirectoryName FileName];
+    end
+
+    % Set the model gains
+    setlocodata('Nominal');
+
+    AO = getao;
+
+    % Load the LOCO data
+    fprintf('   Setting BPM and corrector gains and rolls based on %s.\n', FileName);
+    load(FileName);
+
+
+    % Get the device list from the LOCO file
+    try
+        BPMxDeviceList = LocoMeasData.HBPM.DeviceList;
+        BPMzDeviceList = LocoMeasData.VBPM.DeviceList;
+        HCMDeviceList  = LocoMeasData.HCM.DeviceList;
+        VCMDeviceList  = LocoMeasData.VCM.DeviceList;
+    catch
+        % Legacy
+        BPMxDeviceList = LocoMeasData.HBPM.DeviceList;
+        BPMzDeviceList = LocoMeasData.VBPM.DeviceList;
+        HCMDeviceList  = LocoMeasData.HCM.DeviceList;
+        VCMDeviceList  = LocoMeasData.VCM.DeviceList;
+    end
+
+
+    % Change to Gain, Roll, Crunch system (Need to add a logic for single view BPMs???)
+    i = findrowindex(BPMxDeviceList, BPMxDeviceListTotal);
+    for j = 1:length(BPMData(end).HBPMGain)
+        MLOCO = [BPMData(end).HBPMGain(j)     BPMData(end).HBPMCoupling(j)
+            BPMData(end).VBPMCoupling(j) BPMData(end).VBPMGain(j) ];
+
+        [AO.(BPMxFamily).Gain(i(j),:), AO.(BPMzFamily).Gain(i(j),:), AO.(BPMxFamily).Crunch(i(j),:), AO.(BPMxFamily).Roll(i(j),:)] = loco2gcr(MLOCO);
+    end
+    AO.(BPMzFamily).Roll   = AO.(BPMxFamily).Roll;
+    AO.(BPMzFamily).Crunch = AO.(BPMxFamily).Crunch;
+
+    if ~isreal(AO.(BPMxFamily).Gain)
+        error('Horizontal BPM gain is complex.');
+    end
+    if ~isreal(AO.(BPMzFamily).Gain)
+        error('Vertical BPM gain is complex.');
+    end
+    if ~isreal(AO.(BPMxFamily).Crunch)
+        error('BPM Crunch is complex.');
+    end
+    if ~isreal(AO.(BPMxFamily).Roll)
+        error('BPM roll is complex.');
+    end
+
+
+
+    %%%%%%%%%%%%%%
+    % Correctors %
+    %%%%%%%%%%%%%%
+
+    % Kick strength (LOCO is in milliradian)
+    % LOCO is run with the original gain in hw2physics (stored in LocoMeasData.VCMGain/LocoMeasData.HCMGain).
+    % The new gain must combine the new CM gain and the one used in buildlocoinput.
+    % hw2physics:  Rad = G * amps   (original)
+    % LOCO gain:   Gloco = KickNew/KickStart
+    % New hw2physics gain: Gloco * G
+
+    % HCM
+    i = findrowindex(HCMDeviceList, HCMDeviceListTotal);
+
+    HCMGainOldLOCO  = LocoMeasData.HCMGain .* cos(LocoMeasData.HCMRoll);
+    HCMGainLOCO     = HCMGainOldLOCO .* CMData(end).HCMKicks ./ CMData(1).HCMKicks;
+    HCMCouplingLOCO = HCMGainLOCO .* CMData(end).HCMCoupling;
+
+    %AO.(HCMFamily).Roll(i) = atan2(-HCMCouplingLOCO, HCMGainLOCO);
+    AO.(HCMFamily).Roll(i) = atan(HCMCouplingLOCO ./ abs(HCMGainLOCO));
+    AO.(HCMFamily).Gain(i) = sign(HCMGainLOCO) .* sqrt(HCMCouplingLOCO.^2 + HCMGainLOCO.^2);
+
+
+    % VCM
+    i = findrowindex(VCMDeviceList, VCMDeviceListTotal);
+
+    VCMGainOldLOCO  = LocoMeasData.VCMGain .* cos(LocoMeasData.VCMRoll);
+    VCMGainLOCO     = VCMGainOldLOCO .* CMData(end).VCMKicks ./ CMData(1).VCMKicks;
+    VCMCouplingLOCO = VCMGainLOCO .* CMData(end).VCMCoupling;
+
+    %AO.(VCMFamily).Roll(i) = atan2(-VCMCouplingLOCO, VCMGainLOCO);
+    AO.(VCMFamily).Roll(i) = atan(-VCMCouplingLOCO ./ abs(VCMGainLOCO));
+    AO.(VCMFamily).Gain(i) = sign(VCMGainLOCO) .* sqrt(VCMCouplingLOCO.^2 + VCMGainLOCO.^2);
+
+
+    % Set the roll, crunch to the AT model to be used by getpvmodel, setpvmodel, etc
+    setatfield(BPMxFamily, 'GCR', [AO.(BPMxFamily).Gain AO.(BPMzFamily).Gain AO.(BPMxFamily).Crunch AO.(BPMxFamily).Roll], BPMxDeviceListTotal);
+
+    % Set the gains to the AT model to be used by getpvmodel, setpvmodel, etc
+    % Make sure the Roll field is 1x2 even for single plane correctors
+
+    % First set the cross planes to zero
+    setatfield(HCMFamily, 'Roll', 0*AO.(HCMFamily).Roll, HCMDeviceListTotal, 1, 2);
+    setatfield(VCMFamily, 'Roll', 0*AO.(VCMFamily).Roll, VCMDeviceListTotal, 1, 1);
+
+    % Then set the roll field
+    setatfield(HCMFamily, 'Roll', AO.(HCMFamily).Roll, HCMDeviceListTotal, 1, 1);
+    setatfield(VCMFamily, 'Roll', AO.(VCMFamily).Roll, VCMDeviceListTotal, 1, 2);
+
+
+    % If other magnet fits were done (like roll), it should be add to the AT model as well
+
+    setao(AO);
+
+
+elseif any(strcmpi(CommandInput, 'SetModel'))
+
+       % Some LOCO errors are applied to the accelerator 'SetMachine' and some
+    % go to the model.  If errors detected by LOCO are not applied to the accelerator,
+    % then include them in the AT and Middle Layer model.
+
+    % The assumption is that setlocodata('SetMachine') has already been run.
+    % So QF, QD, QFA, QDA, SQSF, SQSD have changed in the accelerator to match
+    % the LOCO run.
+
+    if isempty(FileName) || strcmp(FileName, '.')
+        if isempty(FileName)
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?', [getfamilydata('Directory','DataRoot'), 'LOCO', filesep]);
+        else
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?');
+        end
+        drawnow;
+        if isequal(FileName,0) || isequal(DirectoryName,0)
+            fprintf('   setlocodata canceled\n');
+            return
+        end
+        FileName = [DirectoryName FileName];
+    end
+
+
+    % Load the LOCO data
+    load(FileName);
+
+
+    % Set the model gains
+    setlocodata('SetGains', FileName);
+
+
+elseif any(strcmpi(CommandInput, 'SetMachine'))
+
+    if isempty(FileName) || strcmp(FileName, '.')
+        if isempty(FileName)
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?', [getfamilydata('Directory','DataRoot'), 'LOCO', filesep]);
+        else
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?');
+        end
+        drawnow;
+        if isequal(FileName,0) || isequal(DirectoryName,0)
+            fprintf('   setlocodata canceled\n');
+            return
+        end
+        FileName = [DirectoryName FileName];
+    end
+
+    % Load the LOCO data
+    load(FileName);
+    
+    le = length(FitParameters);
+
+    QFamilies = findmemberof('QUAD');
+
+    ioffset = 0;
+    for k=1:length(QFamilies),
+        ifam = QFamilies{k};
+        if family2status(ifam)
+            nquad = length(family2dev(ifam));
+            iparam = (1:length(family2dev(ifam)))+ioffset;
+            ioffset = iparam(end);
+            Qscale = FitParameters(le).Values(iparam)./FitParameters(1).Values(iparam);
+            setsp(ifam, getsp(ifam).*Qscale);
+        end
+    end
+
+elseif any(strcmpi(CommandInput, 'CorrectCoupling'))
+
+    if isempty(FileName) || strcmp(FileName, '.')
+        if isempty(FileName)
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?', [getfamilydata('Directory','DataRoot'), 'LOCO', filesep]);
+        else
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?');
+        end
+        drawnow;
+        if isequal(FileName,0) || isequal(DirectoryName,0)
+            fprintf('   setlocodata canceled\n');
+            return
+        end
+        FileName = [DirectoryName FileName];
+    end
+
+    
+    % Load the LOCO data
+    load(FileName);
+
+    NQT = size(family2dev('QT'),1); 
+    fprintf('   Correcting the coupling based on LOCO file %s.\n', FileName);
+    fprintf('   It is assumed that the QT are in FitParameters.Values(end-%d:end)\n', NQT-1);
+
+    QT = FitParameters(end).Values(end-(NQT-1):end);
+
+    % Starting point for the skew quadrupoles when LOCO data was measured
+    MachineConfig = LocoMeasData.MachineConfig;
+    setpv(MachineConfig.QT.Setpoint);
+
+    QThw = physics2hw('QT', 'Setpoint', -QT);
+
+    % Maximum setpoint check
+    if any(abs(MachineConfig.QT.Setpoint.Data+QThw)>maxsp('QT'))
+        error('At least one of the QT would go beyond it''s limit ... aborting coupling correction');
+    end
+
+    % Make the setpoint change
+    stepsp('QT', QThw);
+
+    % Keep the change?
+    CorrectFlag = questdlg('Keep the new skew quadrupole setpoints or return to the old values?','SETLOCOGAINS(''CorrectCoupling'')','Keep this lattice','Restore Old Lattice','Keep this lattice');
+    if strcmpi(CorrectFlag, 'Restore Old Lattice') || isempty(CorrectFlag)
+        fprintf('   Changing the skew quadrupole magnets back to the original setpoints.\n');
+        stepsp('QT', QThw);
+    end
+
+
+elseif any(strcmpi(CommandInput, 'LOCO2Model'))
+
+    % LOCO is usually used to correct the model.  If the LOCO fit parameters are
+    % not applied to the accelerator, then the entire model needs to be updated.
+    % Ie, the machine lattice file is the same as it was when the LOCO data was
+    % taken, then put the LOCO output settings in the model.
+
+    if isempty(FileName) || strcmp(FileName, '.')
+        if isempty(FileName)
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?', [getfamilydata('Directory','DataRoot'), 'LOCO', filesep]);
+        else
+            [FileName, DirectoryName] = uigetfile('*.mat', 'LOCO Output File Name?');
+        end
+        drawnow;
+        if isequal(FileName,0) || isequal(DirectoryName,0)
+            fprintf('   setlocodata canceled\n');
+            return
+        end
+        FileName = [DirectoryName FileName];
+    end
+
+
+    % Load the LOCO data
+    load(FileName);
+
+
+    % Use loco file for the lattice and the fit parameter
+    % Using everything in the loco lattice may not be what you want!
+    global THERING
+    RINGData.Lattice = THERING;
+    for i = 1:length(FitParameters(end).Params)
+        RINGData = locosetlatticeparam(RINGData, FitParameters(end).Params{i}, FitParameters(end).Values(i));
+    end
+    THERING = RINGData.Lattice;
+
+
+    % Since the lattice may have changed
+    %updateatindex;
+
+
+    % Set the model gains (this added GCR field to lattice)
+    setlocodata('SetGains', FileName);
+
+else
+
+    error('   ');
+
+end
Index: /trunk/machine/SOLEIL/StorageRing/setoperationalmode.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/setoperationalmode.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/setoperationalmode.m	(revision 17)
@@ -0,0 +1,2158 @@
+function setoperationalmode(ModeNumber)
+%SETOPERATIONALMODE - Switches between the various operational modes
+%  setoperationalmode(ModeNumber)
+%
+%  INPUTS
+%  1. ModeNumber = number
+%        1 '2.7391 GeV, 18.2020 10.3170', ...
+%        2 '2.7391 GeV, 18.20 10.30', ...
+%        3 '2.7391 GeV, Chasmann-Green', ...
+%        4 '2.7391 GeV, Low Alpha nominal alpha1/15 December 2007', ...
+%        5 '2.7391 GeV, alpha1/20 alpha1by20_maher',...
+%        6 '2.7391 GeV, HU640', ...
+%        7 '2.7391 GeV, low alpha1/20  20.3 8.4 December 2008', ...
+%        8 '2.7391 GeV, 18.2020 10.3170 w/ new steerer position', ...
+%        9 '2.7391 GeV, 18.2020 10.3170 w/ new steerer position and new quad model', ...
+%        10 '2.7391 GeV, 18.2020 10.3170 w/ PX2 w/ new steerer position and new quad model', ...
+%        11 '2.7391 GeV, 18.217 10.312 w/ PX2 w/ new steerer position and new quad model, with Nanoscopium', ...
+%        12/ 2.7391 GeV, low alpha_nominal/10  20.3 8.4 December 2008/January 2010', ...
+%        13/ 2.7391 GeV, low alpha1_nominal/100  20.3 8.4 December 2008/January 2010', ...
+%        14/ 2.7391 GeV, 17.80 10.70 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+%        15/ 2.7391 GeV, 18.20 10.70 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+%        16/ 2.7391 GeV, 18.2020 10.3170 w/ betax=5 m new steerer position and new quad model', ...
+%        17/ 2.7391 GeV, 18.2000 10.6400  Nanoscopium', ...
+%        18/ 2.7391 GeV, 18.2000 10.3000 w/ betax=5 m Nanoscopium', ...
+%        19/ 2.7391 GeV, 18.2020 10.3170 w/ S11 new steerer position and new quad model', ...
+%        20/ 2.7391 GeV, 18.2020 10.3170 w/ S11 betax=5 m new steerer position and new quad model', ...
+%        21/ 2.7391 GeV, 18.1700 10.2500 S11 betax=5 m Nanoscopium', ...
+%        22/ 2.7391 GeV, low alpha_nominal/10 AMOR 20.77 9.20 December 2010', ...
+%        23/ 2.7391 GeV, low alpha_nominal/10 MAHER 20.30 8.40 OD optimise (lin_1_auto) December 2010', ...
+%        24/ 2.7391 GeV, betaz=1m et betax=15m dans les sections courtes Fevrier 2011', ...
+%        25/ 2.7391 GeV, lowalpha MAHER, alpha negatif, OD optimisee',...
+%        26/ 2.7391 GeV, lowalpha from nominal optics alpha/200 19.24 10.317 Juin 2011'...
+%        27/ 2.7391 GeV, betax=15m SDC + idem Nanoscopium Juin 2011', ...
+%        28/ 2.7391 GeV, 122 BPMs nominal RUN3 2011 18.2020 10.3170 w/ S11 betax=5m en SDL',...
+%        29/ 2.7391 GeV, 122 BPMs nanoscopium',...
+%        30/ 2.7391 GeV, 122 BPMs nominal RUN4 2011 pseudo-nano betax = 15m SDC + idem Nanoscopium Juin 2011', ...
+%        31/ 2.7391 GeV, 122 BPMs betaz = 1m et betax = 15m dans les sections courtes Fevrier 2011', ...
+%        32/ 2.7391 GeV, 122 BPMs low alpha_nominal/10  20.3 8.4 December 2008/January 2010', ...
+%        33/ 2.7391 GeV, 122 BPMs low alpha_nominal/100  20.3 8.4 December 2008/January 2010', ...
+%        34/ 2.7391 GeV, 122 BPMs low alpha_nominal/10 MAHER 20.30 8.40 OD optimise (lin_1_auto) December 2010', ...
+%        35/ 2.7391 GeV, 122 BPMs lowalpha MAHER, alpha negatif, OD optimise',...
+%        36/ 2.7391 GeV, 122 BPMs  alpha_nominal/25  20.3 8.4 Octobre 2011',...
+%        37/ 2.7391 GeV, 122 BPMs 18.2020 10.3170  User mode - S11 betax=10m till November 2010 ',...
+%        38/ 2.7391 GeV, 122 BPMs nanoscopium run machine .170 .250 ',...
+%        39/ 2.7391 GeV, 122 BPMs low alpha_nominal/25  20.3 8.4 BETAZ = 2.6m CRISTAL' ,...       
+%        40/ 2.7391 GeV, 122 BPMs + 4 XBPM with nanoscopium from March 2012', ...       
+%        41/ 2.7391 GeV, 122 BPMs nanoscopium from January/May 2012 Thick sextupoles',...
+%        100 'Laurent''s Mode'...
+%
+%  See also aoinit, updateatindex, soleilinit, setmmldirectories, lattice_prep
+
+%  NOTES
+% use local_set_config_mode for defining status of S11 et S12;
+
+
+%
+% Written by Laurent S. Nadolski
+% FOR CVS
+% $Header$
+global THERING
+
+% Check if the AO exists
+checkforao;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Dependent Modes %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if nargin < 1
+    ModeNumber = [];
+end
+if isempty(ModeNumber)
+    ModeCell = {...
+        ' 1/ 2.7391 GeV, 18.2020 10.3170', ...
+        ' 2/ 2.7391 GeV, 18.20 10.30', ...
+        ' 3/ 2.7391 GeV, Chasmann-Green', ...
+        ' 4/ 2.7391 GeV, Low Alpha nominal alpha1/15 December 2007', ...
+        ' 5/ 2.7391 GeV, alpha1/20 alpha1by20_maher',...
+        ' 6/ 2.7391 GeV, HU640', ...
+        ' 7/ 2.7391 GeV, low alpha_nominal/20  20.3 8.4 December 2008/January 2010', ...
+        ' 8/ 2.7391 GeV, 18.2020 10.3170 with new steerer position', ...
+        ' 9/ 2.7391 GeV, 18.2020 10.3170 with new steerer position and new quad model', ...
+        '10/ 2.7391 GeV, 18.2020 10.3170 w/ PX2 with new steerer position and new quad model', ...
+        '11/ 2.7391 GeV, 18.217 10.312 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+        '12/ 2.7391 GeV, low alpha_nominal/10  20.3 8.4 December 2008/January 2010', ...
+        '13/ 2.7391 GeV, low alpha1_nominal/100  20.3 8.4 December 2008/January 2010', ...
+        '14/ 2.7391 GeV, 17.80 10.70 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+        '15/ 2.7391 GeV, 18.20 10.70 Nanoscopium w/ PX2 with new steerer position and new quad model', ...
+        '16/ 2.7391 GeV, 18.2020 10.3170 with betax=5m with new steerer position and new quad model', ...
+        '17/ 2.7391 GeV, 18.2000 10.6400  Nanoscopium', ...
+        '18/ 2.7391 GeV, 18.2000 10.3000 betax=5 m Nanoscopium', ...
+        '19/ 2.7391 GeV, 18.2020 10.3170 w/ S11 new steerer position and new quad model', ...
+        '20/ 2.7391 GeV, TO DO 18.2020 10.3170 w/ S11 betax=5 m new steerer position and new quad model', ...
+        '21/ 2.7391 GeV, 18.1700 10.2500 S11 betax=5 m Nanoscopium', ...
+        '22/ 2.7391 GeV, low alpha_nominal/10 AMOR 20.77 9.20 December 2010', ...
+        '23/ 2.7391 GeV, low alpha_nominal/10 MAHER 20.30 8.40 OD optimisï¿œe (lin_1_auto) December 2010', ...
+        '24/ 2.7391 GeV, betaz=1m et betax=15m dans les sections courtes Fevrier 2011', ...
+        '25/ 2.7391 GeV,lowalpha MAHER, alpha negatif, OD optimise',...
+        '26/ 2.7391 GeV,lowalpha from nominal optics alpha/200 19.24 10.317 Juin 2011',...
+        '27/ 2.7391 GeV, betax=15m SDC + idem Nanoscopium Juin 2011', ...
+        '28/ 2.7391 GeV, 122 BPMs nominal RUN3 2011 18.2020 10.3170 w/ S11 betax=5m en SDL',...
+        '29/ 2.7391 GeV, 122 BPMs nanoscopium from January 2012',...
+        '30/ 2.7391 GeV, 122 BPMs nominal RUN4 2011 pseudo-nano betax = 15m SDC + idem Nanoscopium Juin 2011', ...
+        '31/ 2.7391 GeV, 122 BPMs betaz = 1m et betax = 15m dans les sections courtes Fevrier 2011', ...
+        '32/ 2.7391 GeV, 122 BPMs low alpha_nominal/10  20.3 8.4 December 2008/January 2010', ...
+        '33/ 2.7391 GeV, 122 BPMs low alpha_nominal/100  20.3 8.4 December 2008/January 2010', ...
+        '34/ 2.7391 GeV, 122 BPMs low alpha_nominal/10 MAHER 20.30 8.40 OD optimise (lin_1_auto) December 2010', ...
+        '35/ 2.7391 GeV, 122 BPMs lowalpha MAHER, alpha negatif, OD optimise',...
+        '36/ 2.7391 GeV, 122 BPMs  alpha_nominal/25  20.3 8.4 Octobre 2011',...
+        '37/ 2.7391 GeV, 122 BPMs 18.2020 10.3170  User mode - S11 betax=10m till November 2010 ',...
+        '38/ 2.7391 GeV, 122 BPMs nanoscopium run machine .170 .250 ',...
+        '39/ 2.7391 GeV, 122 BPMs low alpha_nominal/25  20.3 8.4 BETAZ = 2.6m CRISTAL' ,...       
+        '40/ 2.7391 GeV, 122 BPMs + 4 XBPM with nanoscopium from March 2012', ...       
+        '41/ 2.7391 GeV, 122 BPMs nanoscopium from January/May 2012 Thick sextupoles',...
+        'Laurent''s Mode'...
+        };
+    [ModeNumber, OKFlag] = listdlg('Name','SOLEIL','PromptString','Select the Operational Mode:', ...
+        'SelectionMode','single', 'ListString', ModeCell, 'ListSize', [450 200], 'InitialValue', 29);
+    if OKFlag ~= 1
+        fprintf('   Operational mode not changed\n');
+        return
+    elseif ModeNumber == length(ModeCell);
+        ModeNumber = 100;  % Laurent
+    end
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Accelerator Data Structure %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+AD = getad;
+AD.Machine = 'SOLEIL';            % Will already be defined if setpathmml was used
+AD.MachineType = 'StorageRing';   % Will already be defined if setpathmml was used
+AD.SubMachine  = 'StorageRing';   % Will already be defined if setpathmml was used
+AD.OperationalMode = '';          % Gets filled in later
+AD.HarmonicNumber = 416;
+
+% Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+AD.DeltaRFDisp = 100e-6;
+AD.DeltaRFChro = [-100 -50 0 50 100] * 1e-6;
+
+% Tune processor delay: delay required to wait
+% to have a fresh tune measurement after changing
+% a variable like the RF frequency.  Setpv will wait
+% 2.2 * TuneDelay to be guaranteed a fresh data point.
+%AD.BPMDelay  = 0.25; % use [N, BPMDelay]=getbpmaverages (AD.BPMDelay will disappear)
+AD.TuneDelay = 1;
+
+% The offset and golden orbits are stored at the end of this file
+% TODO
+%BuildOffsetAndGoldenOrbits;  % Local function
+
+
+% SP-AM Error level
+% AD.ErrorWarningLevel = 0 -> SP-AM errors are Matlab errors {Default}
+%                       -1 -> SP-AM errors are Matlab warnings
+%                       -2 -> SP-AM errors prompt a dialog box
+%                       -3 -> SP-AM errors are ignored (ErrorFlag=-1 is returned)
+AD.ErrorWarningLevel = 0;
+
+%%%%%%%%%%%%%%%%%%%%%
+% Operational Modes %
+%%%%%%%%%%%%%%%%%%%%%
+
+% Mode setup variables (mostly path and file names)
+% AD.OperationalMode - String used in titles
+% ModeName - String used for mode directory name off DataRoot/MachineName
+% OpsFileExtension - string add to default file names
+
+ 
+
+
+%% ModeNumber == 9 bx=10m nominal lattice 2010 until installation of S11 and S12
+if ModeNumber == 9
+    % User mode - nominal lattice 2010 until installation of S11 and S12
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170b';
+    OpsFileExtension = '_lat_2020_3170b';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170b';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    %% ModeNumber == 19 User mode - S11 betax=10m till November 2010
+elseif ModeNumber == 19 
+    % User mode - S11 betax=10m 2010
+    AD.OperationalMode = '2.7391 GeV, 18.202 10.317 S11';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170f';
+    OpsFileExtension = '_lat_2020_3170f';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170f';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2.6];
+
+    % Status factory
+    local_set_config_mode('S11config120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+   
+    %% ModeNumber == 16 User mode - betax = 5m
+elseif ModeNumber == 16
+    % User mode - betax = 5m
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170e';
+    OpsFileExtension = '_lat_2020_3170e';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170e';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    % 18.1990 / 10.3170 April 2011
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.1990
+        0.3100
+        0.00642];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('S11config120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    %% ModeNumber == 10 User mode - with PX2 corrector   
+elseif ModeNumber == 10
+    % User mode - with PX2 corrector
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170bPX2';
+    OpsFileExtension = '_lat_2020_3170bPX2';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170bPX2';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    %% ModeNumber == 11  User mode - Nanoscopium
+elseif ModeNumber == 11 % User mode - Nanoscopium
+    AD.OperationalMode = '2.7391 GeV, 18.2175 10.3120';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_2175_3120a';
+    OpsFileExtension = '_nano_2175_3120a';
+
+    % AT lattice
+    AD.ATModel = 'nano_2175_3120'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2175
+        0.3120
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+  
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    
+    setao(AO);
+
+    %% ModeNumber == 14 % User mode - Nanoscopium
+elseif ModeNumber == 14 % User mode - Nanoscopium
+    AD.OperationalMode = '2.7391 GeV, 18.2175 10.3120';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_8000_7000a';
+    OpsFileExtension = '_nano_8000_7000a';
+
+    % AT lattice
+    AD.ATModel = 'nano_8000_7000'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2175
+        0.3120
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_80_70('Q2');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+
+
+    AO.Q11.Status = [1; 1];
+    AO.Q12.Status = 1;
+
+    setao(AO);
+    
+    %% ModeNumber == 15 User mode - Nanoscopium
+elseif ModeNumber == 15 % User mode - Nanoscopium
+    AD.OperationalMode = '2.7391 GeV, 18.2000 10.7000';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_2000_7000a';
+    OpsFileExtension = '_nano_2000_7000a';
+
+    % AT lattice
+    AD.ATModel = 'nano_2000_7000'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2175
+        0.3120
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+    setao(AO);
+
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano2_20_70('Q7');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+
+    setao(AO);
+
+    %% ModeNumber == 8          
+elseif ModeNumber == 8
+    % User mode 
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170a';
+    OpsFileExtension = '_lat_2020_3170a';
+
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170a';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 17  Nanoscopium : new tune (to be tested)  16 June 2010
+elseif ModeNumber == 17 % Nanoscopium : new tune (to be tested)  16 June 2010
+    % ATTENTION LE MAGNET COEFFICIENT EST CELUI DE LA MAILLE nano_2000_7000
+    % Ã  voir s'il faut le modifier
+    AD.OperationalMode = '2.7391 GeV, 18.20 10.64';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_2000_6400';
+    OpsFileExtension = '_nano_2000_6400';
+
+    % AT lattice
+    AD.ATModel = 'nano_2000_6400'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2175
+        0.3120
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009);
+
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009('Q7');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    setao(AO);
+    
+    
+    %% ModeNumber == 18
+elseif ModeNumber == 18 % User mode - Nanoscopium
+        
+    AD.OperationalMode = '2.7391 GeV, 18.200 10.300  Bx SDL =5m Nanoscopium';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_5m_2000_3000a';
+    OpsFileExtension = '_nano_5m_2000_3000a';
+
+    % AT lattice
+    AD.ATModel = 'nano_5m_20_30'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+   
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    setao(AO);
+ 
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q2');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+
+    setao(AO);
+         
+    
+    %% ModeNumber == 21  % User mode - Nanoscopium betax=5m
+elseif ModeNumber == 21 % User mode - Nanoscopium
+        
+    AD.OperationalMode = '2.7391 GeV, 18.1700 10.2500  S11  Bx SDL =5m Nanoscopium';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano_5m_1700_2500a';
+    OpsFileExtension = '_nano_5m_1700_2500a';
+
+    % AT lattice
+    AD.ATModel = 'nano_5m_17_25_S11'; % new lattice version from Alex
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+   
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2.6];
+
+    local_set_config_mode('nanoscopiumconfig');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    setao(AO);
+ 
+    % triplet upstreams and downstreams of SDL13 for nanoscopium
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q1 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q1');
+    AO.Q1.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    % Q1 downstream
+    AO.Q1.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q1.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q1.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q2 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q2');
+    AO.Q2.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q2 downstream
+    AO.Q2.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q2.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q2.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+    % Q3 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q1');
+    AO.Q3.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    % Q3 downstream
+    AO.Q3.Monitor.HW2PhysicsParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Monitor.Physics2HWParams{1}(7,:)  = HW2PhysicsParams;
+    AO.Q3.Setpoint.HW2PhysicsParams{1}(7,:) = HW2PhysicsParams;
+    AO.Q3.Setpoint.Physics2HWParams{1}(7,:) = HW2PhysicsParams;
+
+    % triplet nanoscopium
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q11');
+    AO.Q11.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.HW2PhysicsParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.HW2PhysicsParams{1}(2,:) = HW2PhysicsParams;
+    AO.Q11.Monitor.Physics2HWParams{1}(2,:)  = HW2PhysicsParams;
+    AO.Q11.Setpoint.Physics2HWParams{1}(2,:) = HW2PhysicsParams;
+
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m('Q2');
+    AO.Q12.Monitor.HW2PhysicsParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.Q12.Monitor.Physics2HWParams{1}(1,:)  = HW2PhysicsParams;
+    AO.Q12.Setpoint.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+
+    setao(AO);
+    
+    %% ModeNumber == 1
+elseif ModeNumber == 1
+    % User mode - 
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'solamor2c';
+    OpsFileExtension = '_solamor2c';
+
+    % AT lattice
+    AD.ATModel = 'solamor2linc';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Golden TUNE is with the TUNE family
+    % 18.2020 / 10.3170
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3170
+        NaN];
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 2
+elseif ModeNumber == 2
+    % User mode - 
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'solamor2';
+    OpsFileExtension = '_solamor2';
+
+    % AT lattice
+    AD.ATModel = 'solamor2linb';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2000
+        0.3000
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 3 Chasmann_green
+elseif ModeNumber == 3
+    % Chasmann_green
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'chasmann_green';
+    OpsFileExtension = '_chasmann_green';
+
+    % AT lattice
+    AD.ATModel = 'chasman_green';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('S11config120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 4 Low Alpha alpha_nominal/15
+elseif ModeNumber == 4
+    % Low Alpha alpha_nominal/15
+    AD.OperationalMode = '2.7391 GeV, 20.72 9.2, lowalpha1/15';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lowalpha1by15';
+    OpsFileExtension = '_lowalpha1by15';
+
+    % AT lattice
+    AD.ATModel = 'lowalpha1by15';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 100e-6/15*3;
+    AD.DeltaRFChro = [-100 -50 0 50 150] * 1e-6/15*3;
+
+    % Golden TUNE is with the TUNE family
+    % 20.72 / 9.20
+    AO = getao;
+
+    AO.TUNE.Monitor.Golden = [
+        0.72
+        0.20
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients);
+    setao(AO);
+
+    %% ModeNumber == 5 Low Alpha alpha1by20_maher
+elseif ModeNumber == 5
+    % Low Alpha alpha1by20_maher
+    AD.OperationalMode = '2.7391 GeV, 20.3 8.4, lowalpha1/20';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha1by20';
+    OpsFileExtension = '_alpha1by20';
+
+    % AT lattice
+    AD.ATModel = 'alpha1by20_maher';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 100e-6/20*3;
+    AD.DeltaRFChro = [-100 -50 0 50 150] * 1e-6/20*3;
+
+    % Golden TUNE is with the TUNE family
+    % 20.40 / 8.40
+    AO = getao;
+
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+    
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_lowalpha);
+    setao(AO);
+
+    %% ModeNumber == 6 User mode - HU640
+elseif ModeNumber == 6
+    % User mode - HU640
+    AD.OperationalMode = '2.7391 GeV HU640, 18.2 10.3';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'solamor2_HU640';
+    OpsFileExtension = '_solamor2_HU640';
+
+    % AT lattice
+    AD.ATModel = 'solamor2linb_HU640';
+    eval(AD.ATModel);  %run model for compilersolamor2linb;
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    % Status factory
+    local_set_config_mode('normalconfig120');
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_lowalpha);
+    setao(AO);
+
+    %% ModeNumber == 7 alpha1/20 new callibration 20.3 8.4
+elseif ModeNumber == 7
+    % December 2008
+    % alpha1/20 new callibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/20 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lowalpha_dec08';
+    OpsFileExtension = '_lowalpha_dec08';
+
+    % AT lattice
+    AD.ATModel = 'alphaby20_nouveau_modele_dec08_opt_nonlin';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('normalconfig120');    
+    % Commented for shift January 2010
+    %AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_cal_lowalphaMAHER_Linterm);
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+    setao(AO);
+  
+
+    %% ModeNumber == 12 alpha1/10 new calibration 20.3 8.4
+elseif ModeNumber == 12
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_10';
+    OpsFileExtension = '_alpha_over_10';
+
+    % AT lattice
+    AD.ATModel = 'alphaby10_nouveau_modele_dec08_opt_lin_1';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('S11config120');    
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+    setao(AO);
+
+    %% ModeNumber == 13 alpha1/1000 new calibration 20.3 8.4
+elseif ModeNumber == 13
+    % February 2010
+    % alpha1/1000 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha_nominal/100 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_100';
+    OpsFileExtension = '_alpha_over_100';
+
+    % AT lattice
+    AD.ATModel = 'alphaby100_nouveau_modele_janvier2010_opt_nonlin_ksi_2_2';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 1e-6;
+    AD.DeltaRFChro = [-1 -0.5 0 0.5 1] * 1e-6;
+
+    % Response matrix
+    devnumber = length(AO.HCOR.Status);
+    AO.HCOR.Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*5e-6; % 2*2.5 urad (half used for kicking)
+    AO.HCOR.Setpoint.DeltaRespMat = physics2hw(AO.HCOR.FamilyName,'Setpoint', ...
+        AO.HCOR.Setpoint.DeltaRespMat, AO.HCOR.DeviceList);
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+    
+    local_set_config_mode('S11config120');    
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+    setao(AO);
+
+
+    %% ModeNumber == 22 alpha1/10 AMOR december 2010 new calibration 20.77 9.2
+elseif ModeNumber == 22
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_10_AMOR';
+    OpsFileExtension = '_alpha_over_10_AMOR';
+
+    % AT lattice
+    AD.ATModel = 'alphaby10_AMOR_new_mod_nov10_lin_auto_0';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_AMOR'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.77 / 9.20
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.77
+        0.20
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [0; 0];
+
+    local_set_config_mode('S11config120');    
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_mod_low_alpha_AMOR_oct10);
+    setao(AO);
+
+    %% ModeNumber == 23 low alpha_nominal/10 MAHER 20.30 8.40 OD optimised (lin_1_auto) December 2010
+elseif ModeNumber == 23
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_10_MAHER_auto';
+    OpsFileExtension = '_alpha_over_10_MAHER_auto';
+
+    % AT lattice
+    AD.ATModel = 'alphaby10_maher_opt_lin_1_auto';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [0; 0];
+
+    local_set_config_mode('S11config120');    
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_modele_low_alpha_oct2010_auto1);
+    setao(AO);
+    
+
+    %% ModeNumber == 24 betaz=1m et betax=15m dans les sections courtes
+    %% Fevrier 2011
+elseif ModeNumber == 24
+    AD.OperationalMode = '2.7391 GeV, betaz=1m SDC';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'betaz_1m_SDC';
+    OpsFileExtension = '_betaz_1m_SDC';
+
+    % AT lattice
+    AD.ATModel = 'lat_betaz_1m_sdc';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.202 / 10.317
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.202
+        0.317
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('S11config120');    
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_mod_betaz_1m_fevrier2011);
+    setao(AO);  
+    
+    %% ModeNumber == 25 low alphaMAHER alpha negatif by 10 20.30 8.40
+    %% OD optimise auto Juin 2011
+elseif ModeNumber == 25
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'malpha_over_10_MAHER_auto';
+    OpsFileExtension = '_malpha_over_10_MAHER_auto';
+
+    % AT lattice 
+    %AD.ATModel = 'malphaby10_from_nominal_optics_step7gbis';
+    AD.ATModel = 'malphaby10_maher_auto';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [0; 0];
+
+    local_set_config_mode('S11config120');    
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_alphaby10_maher_negatif_juin2011_auto);
+    setao(AO);
+   
+    %% ModeNumber == 26 low alpha_nominal/200 from nominal optics 19.24 10.317 Juin 2011
+elseif ModeNumber == 26
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_200_nom_optics';
+    OpsFileExtension = '_alpha_over_200_nom_optics';
+
+    % AT lattice
+    AD.ATModel = 'alphaby200_from_nominal_optics';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [0; 0];
+
+    local_set_config_mode('S11config120');    
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_alphaby10_from_nomopt_positif_juin2011);
+    setao(AO);
+    % commentaire : ce magnet coefficient a bien et verifie 15 juin 2011
+
+    %% ModeNumber == 27 betax=15m dans les sections courtes + idem Nanoscopium juin 2011
+elseif ModeNumber == 27
+    AD.OperationalMode = '2.7391 GeV, betax=15m SDC + idem Nanoscopium';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'like_nanoscopium';
+    OpsFileExtension = '_like_nanoscopium';
+
+    % AT lattice
+    AD.ATModel = 'lat_like_nanoscopium_juin2011';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.202 / 10.317
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.202
+        0.317
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    local_set_config_mode('S11config120');    
+    %AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_mod_betaz_1m_fevrier2011);
+    AO = local_setmagnetcoefficient(AO, @magnetcoefficients_like_nanoscopium_juin2011);
+    setao(AO);  
+    
+    %% ModeNumber == 28 122 BPMs with nominal lattice RUN3 2011 betax=5m en SDL
+elseif ModeNumber == 28
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_1990_3170_122BPM';
+    OpsFileExtension = '_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'lat_1990_3170_122BPM';
+    run(AD.ATModel);
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.1990
+        0.3170
+        NaN];
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    setao(AO);
+    
+    local_set_config_mode('S11config122');
+    AO = getao;
+    %setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    %setfamilydata(ones(length(AO.VCOR.ElementList),1)*5e-6*2, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_juin2009);
+
+   
+    %% ModeNumber == 29 122 BPMs with nanoscopium from January 2012 0.176 0.234 
+elseif ModeNumber == 29
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.176 10.234';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'Nanoscopium';
+    OpsFileExtension = '_nano_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'lat_nano_176_234_122BPM';
+    run(AD.ATModel);
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.176
+        0.234
+        NaN];
+    AO.COUPLING.Golden = 1;
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [1.8; 2.3];
+
+    setao(AO);
+    local_set_config_mode('nanoscopiumconfig122C'); % with correctors
+    %setfamilydata(1, 'BPMx', 'Status');
+    %setfamilydata(1, 'BPMz', 'Status');
+    AO = getao;
+    %setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    %setfamilydata(ones(length(AO.VCOR.ElementList),1)*5e-6*2, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    
+    %% ModeNumber == 38 122 BPMs with nanoscopium lattice run machine 2011 0.170 0.250 
+elseif ModeNumber == 38
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'nano';
+    OpsFileExtension = '_nano_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'lat_nano_17_25_122BPM';
+    run(AD.ATModel);
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2016
+        0.2998
+        NaN];
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    setao(AO);
+    local_set_config_mode('nanoscopiumconfig122C'); % with correctors
+    %setfamilydata(1, 'BPMx', 'Status');
+    %setfamilydata(1, 'BPMz', 'Status');
+    AO = getao;
+    %setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    %setfamilydata(ones(length(AO.VCOR.ElementList),1)*5e-6*2, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    
+%% ModeNumber == 30 122 betax=15m dans les sections courtes + idem Nanoscopium juin 2011 122 BPM
+elseif ModeNumber == 30
+    AD.OperationalMode = '2.7391 GeV, betax=15m SDC + idem Nanoscopium';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'pseudo_nanoscopium';
+    OpsFileExtension = '_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'lat_pseudo_nanoscopium_juin2011_122BPM';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.202 / 10.317
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.2020
+        0.3100
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2.5];
+    setao(AO); 
+    local_set_config_mode('S11config122');    
+    %AO = local_setmagnetcoefficient(AO, @magnetcoefficients_new_calib_new_mod_betaz_1m_fevrier2011);
+    local_setmagnetcoefficient(@magnetcoefficients_like_nanoscopium_juin2011);
+
+%% ModeNumber == 31 122 betaz=1m et betax=15m dans les sections courtes Fevrier 2011 
+elseif ModeNumber == 31
+    AD.OperationalMode = '2.7391 GeV, betaz=1m SDC';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'betaz_1m_SDC';
+    OpsFileExtension = '_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'lat_betaz_1m_sdc_122BPM';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.202 / 10.317
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.202
+        0.317
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    setao(AO);
+    local_set_config_mode('S11config122'); 
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_mod_betaz_1m_fevrier2011);
+    
+%% ModeNumber == 32 122 BPMs alpha1/10 new calibration 20.3 8.4
+elseif ModeNumber == 32
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_10';
+    OpsFileExtension = '_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'alphaby10_nouveau_modele_dec08_opt_lin_1_122BPM';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    setao(AO);
+    local_set_config_mode('S11config122');    
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+
+    %% ModeNumber == 33 122 BPMs alpha1/1000 new calibration 20.3 8.4
+elseif ModeNumber == 33
+    % February 2010
+    % alpha1/1000 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha_nominal/100 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_100';
+    OpsFileExtension = '_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'alphaby100_new_mod_janvier2010_opt_nonlin_ksi_2_2_122BPM';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 1e-6;
+    AD.DeltaRFChro = [-1 -0.5 0 0.5 1] * 1e-6;
+
+    % Response matrix
+    devnumber = length(AO.HCOR.Status);
+    AO.HCOR.Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*5e-6; % 2*2.5 urad (half used for kicking)
+    AO.HCOR.Setpoint.DeltaRespMat = physics2hw(AO.HCOR.FamilyName,'Setpoint', ...
+        AO.HCOR.Setpoint.DeltaRespMat, AO.HCOR.DeviceList);
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+    
+    setao(AO);
+    local_set_config_mode('S11config122');    
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+        
+        %% ModeNumber == 34 122 BPMs low alpha_nominal/10 MAHER 20.30 8.40 OD optimise (lin_1_auto) December 2010
+elseif ModeNumber == 34
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_10_MAHER_auto';
+    OpsFileExtension = '_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'alphaby10_maher_opt_lin_1_auto_122BPM';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [0; 0];
+
+    setao(AO);
+    local_set_config_mode('S11config122');    
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_low_alpha_oct2010_auto1);
+
+    %% ModeNumber == 35 122 BPMs low alphaMAHER alpha negatif by 10 20.30 8.40 
+    % OD optimise auto Juin 2011 122 BPM
+elseif ModeNumber == 35
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'malpha_over_10_MAHER_auto';
+    OpsFileExtension = '_122BPM';
+
+    % AT lattice 
+    %AD.ATModel = 'malphaby10_from_nominal_optics_step7gbis';
+    AD.ATModel = 'malphaby10_maher_auto_122BPM';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [0; 0];
+
+    setao(AO);
+    local_set_config_mode('S11config122');    
+    local_setmagnetcoefficient(@magnetcoefficients_alphaby10_maher_negatif_juin2011_auto);
+
+       %% ModeNumber == 36 pseudo alpha1/25 new calibration 20.3 8.4 122 BPMs
+elseif ModeNumber == 36
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_25';
+    OpsFileExtension = '_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'alphaby25_stepalpha1_new_modele_dec08_opt_lin_1_122BPM';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.40
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    setao(AO);
+    local_set_config_mode('S11config122');    
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_low_alpha_janv2010); 
+    
+%% ModeNumber == 39 122 BPMs alpha1/25 new calibration 20.3 8.4 betaz local CRISTAL augmente ï¿œ 2.6m
+elseif ModeNumber == 39
+    % February 2010
+    % alpha1/10 new calibration 20.3 8.4
+    AD.OperationalMode = '2.7391 GeV, alpha1/10 new calibration';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'alpha_over_25_CRISTAL';
+    OpsFileExtension = '_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'alphaby25_nouveau_modele_opt_lin_122BPM_bz_2p6m_CRISTAL_auto';
+    %AD.ATModel = 'alphaby25_nouveau_modele_opt_lin_122BPM_bz_2p6m_CRISTAL';
+    %AD.ATModel = 'alphaby10_nouveau_modele_dec08_opt_lin_1_122BPM_bz_CRISTAL';
+    addpath(fullfile(getfamilydata('Directory','Lattice'), 'lowalpha_dec08'));
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 20.30 / 8.40
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.30
+        0.38
+        NaN];
+
+    % Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)
+    AD.DeltaRFDisp = 10e-6;
+    AD.DeltaRFChro = [-10 -5 0 5 10] * 1e-6;
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [0; 0];
+
+    setao(AO);
+    local_set_config_mode('S11config122');    
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_mod_low_alpha_CRISTAL);
+
+    % Quad before and after CRISTAL section 
+    % Need to point to another family for magnetcoefficients (other range of current)
+    % Q6 upstream  PROBLEME il n'existe pas de quad dï¿œjï¿œ dans cette gamme
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_mod_low_alpha_CRISTAL('Q6SDC');
+    AO.Q6.Monitor.HW2PhysicsParams{1}(8,:)  = HW2PhysicsParams;
+    AO.Q6.Monitor.Physics2HWParams{1}(8,:)  = HW2PhysicsParams;
+    AO.Q6.Setpoint.HW2PhysicsParams{1}(8,:) = HW2PhysicsParams;
+    AO.Q6.Setpoint.Physics2HWParams{1}(8,:)  = HW2PhysicsParams;
+    % Q6 downstream
+    AO.Q6.Monitor.HW2PhysicsParams{1}(9,:)  = HW2PhysicsParams;
+    AO.Q6.Monitor.Physics2HWParams{1}(9,:)  = HW2PhysicsParams;
+    AO.Q6.Setpoint.HW2PhysicsParams{1}(9,:) = HW2PhysicsParams;
+    AO.Q6.Setpoint.Physics2HWParams{1}(9,:) = HW2PhysicsParams;
+    % Q7 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_mod_low_alpha_CRISTAL('Q2');
+    AO.Q7.Monitor.HW2PhysicsParams{1}(8,:)  = HW2PhysicsParams;
+    AO.Q7.Monitor.Physics2HWParams{1}(8,:)  = HW2PhysicsParams;
+    AO.Q7.Setpoint.HW2PhysicsParams{1}(8,:) = HW2PhysicsParams;
+    AO.Q7.Setpoint.Physics2HWParams{1}(8,:) = HW2PhysicsParams;
+    % Q7 downstream
+    AO.Q7.Monitor.HW2PhysicsParams{1}(9,:)  = HW2PhysicsParams;
+    AO.Q7.Monitor.Physics2HWParams{1}(9,:)  = HW2PhysicsParams;
+    AO.Q7.Setpoint.HW2PhysicsParams{1}(9,:) = HW2PhysicsParams;
+    AO.Q7.Setpoint.Physics2HWParams{1}(9,:) = HW2PhysicsParams;
+    % Q8 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_mod_low_alpha_CRISTAL('Q8SDC');
+    AO.Q8.Monitor.HW2PhysicsParams{1}(8,:)  = HW2PhysicsParams;
+    AO.Q8.Monitor.Physics2HWParams{1}(8,:)  = HW2PhysicsParams;
+    AO.Q8.Setpoint.HW2PhysicsParams{1}(8,:) = HW2PhysicsParams;
+    AO.Q8.Setpoint.Physics2HWParams{1}(8,:) = HW2PhysicsParams;
+    % Q8 downstream
+    AO.Q8.Monitor.HW2PhysicsParams{1}(9,:)  = HW2PhysicsParams;
+    AO.Q8.Monitor.Physics2HWParams{1}(9,:)  = HW2PhysicsParams;
+    AO.Q8.Setpoint.HW2PhysicsParams{1}(9,:) = HW2PhysicsParams;
+    AO.Q8.Setpoint.Physics2HWParams{1}(9,:) = HW2PhysicsParams;
+
+    % Q9 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_mod_low_alpha_CRISTAL('Q9SDC');
+    AO.Q9.Monitor.HW2PhysicsParams{1}(5,:)  = HW2PhysicsParams;
+    AO.Q9.Monitor.Physics2HWParams{1}(5,:)  = HW2PhysicsParams;
+    AO.Q9.Setpoint.HW2PhysicsParams{1}(5,:) = HW2PhysicsParams;
+    AO.Q9.Setpoint.Physics2HWParams{1}(5,:) = HW2PhysicsParams;
+    % Q9 downstream
+    AO.Q9.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q9.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q9.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q9.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+    
+    % Q10 upstream
+    HW2PhysicsParams = magnetcoefficients_new_calib_new_mod_low_alpha_CRISTAL('Q10');
+    AO.Q10.Monitor.HW2PhysicsParams{1}(5,:)  = HW2PhysicsParams;
+    AO.Q10.Monitor.Physics2HWParams{1}(5,:)  = HW2PhysicsParams;
+    AO.Q10.Setpoint.HW2PhysicsParams{1}(5,:) = HW2PhysicsParams;
+    AO.Q10.Setpoint.Physics2HWParams{1}(5,:) = HW2PhysicsParams;
+    % Q10 downstream
+    AO.Q10.Monitor.HW2PhysicsParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q10.Monitor.Physics2HWParams{1}(6,:)  = HW2PhysicsParams;
+    AO.Q10.Setpoint.HW2PhysicsParams{1}(6,:) = HW2PhysicsParams;
+    AO.Q10.Setpoint.Physics2HWParams{1}(6,:) = HW2PhysicsParams;
+
+    setao(AO);    
+
+    %% ModeNumber == 37 122 User mode - S11 betax=10m till November 2010   .202 .317  122 BPMs
+elseif ModeNumber == 37
+    AD.OperationalMode = '2.7391 GeV,18.202 10.317 S11';
+    AD.Energy = 2.7391; % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_2020_3170f';
+    OpsFileExtension = '_122BPMs';
+   
+    % AT lattice
+    AD.ATModel = 'lat_2020_3170f_122BPM';
+    eval(AD.ATModel);  %run model for compiler;
+
+    % Golden TUNE is with the TUNE family
+    % 18.202 / 10.317
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.202
+        0.317
+        NaN];
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2.6];
+
+    setao(AO);
+    local_set_config_mode('S11config122'); 
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_mod_betaz_1m_fevrier2011);
+
+   %% ModeNumber == 40 122 BPMs + 4 XBPM with nanoscopium from March 2012 0.176 0.234 
+elseif ModeNumber == 40
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.176 10.234';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'Nanoscopium_XBPM';
+    OpsFileExtension = '_nano_122BPMs';
+
+    % AT lattice
+    AD.ATModel = 'lat_nano_176_234_122BPM_XBPM';
+    run(AD.ATModel);
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.176
+        0.234
+        NaN];
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [1.8; 2.3];
+
+    setao(AO);
+    local_set_config_mode('nanoscopiumconfig122C'); % with correctors
+    %setfamilydata(1, 'BPMx', 'Status');
+    %setfamilydata(1, 'BPMz', 'Status');
+    AO = getao;
+    %setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    %setfamilydata(ones(length(AO.VCOR.ElementList),1)*5e-6*2, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    
+    %% ModeNumber == 41 122 BPMs/ Thick Sextu with nanoscopium from January/May 2012 0.176 0.234 
+elseif ModeNumber == 41
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.176 10.234';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'lat_nano_176_234_122BPM_thickSextu';
+    OpsFileExtension = '_                                                                                                                                                         thickSextu';
+
+    % AT lattice
+    AD.ATModel = 'lat_nano_176_234_122BPM_thickSextu';
+    run(AD.ATModel);
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.176
+        0.234
+        NaN];
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [1.8; 2.3];
+
+    setao(AO);
+    local_set_config_mode('nanoscopiumconfig122C'); % with correctors
+    %setfamilydata(1, 'BPMx', 'Status');
+    %setfamilydata(1, 'BPMz', 'Status');
+    AO = getao;
+    %setfamilydata(ones(length(AO.HCOR.ElementList),1)*5e-6*2, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    %setfamilydata(ones(length(AO.VCOR.ElementList),1)*5e-6*2, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_juin2009_nano_20_30_5m);
+    
+%% ModeNumber == 100 Laurent
+elseif ModeNumber == 100
+    % User mode - Laurent
+    AD.OperationalMode = '2.7391 GeV, 18.2 10.3';
+    AD.Energy = 2.7391;     % Make sure this is the same as bend2gev at the production lattice!
+    ModeName = 'chasmann_green';
+    OpsFileExtension = '_chasmann_green';
+
+    % AT lattice
+    AD.ATModel = 'chasman_green';
+    chasman_green;
+
+    % Golden TUNE is with the TUNE family
+    % 18.20 / 10.30
+    AO = getao;
+    AO.TUNE.Monitor.Golden = [
+        0.20
+        0.30
+        NaN];
+
+
+    % Golden chromaticity is in the AD (Physics units)
+    AD.Chromaticity.Golden = [2; 2];
+
+    setao(AO);
+    setfamilydata(ones(120,1)*1e-5, 'HCOR', 'Setpoint', 'DeltaRespMat');
+    setfamilydata(ones(120,1)*1e-5, 'VCOR', 'Setpoint', 'DeltaRespMat');
+    % AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(nb,1)*0.5e-4*1; % 2*25 urad (half used for kicking)
+    local_set_config_mode('normalconfig120');    
+    local_setmagnetcoefficient(@magnetcoefficients_new_calib_new_modele_low_alpha_janv2010);
+
+ else
+    error('Operational mode unknown');
+end
+
+% Force units to hardware
+switch2hw;
+
+% Activation of correctors of HU640
+if ModeNumber == 6
+    switchHU640Cor('ON');
+else
+    switchHU640Cor('OFF');
+end
+
+% Set the AD directory path
+setad(AD);
+MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension);
+AD = getad;
+
+% SOLEIL specific path changes
+
+% Top Level Directories
+
+%AD.Directory.DataRoot       = fullfile(MMLROOT, 'measdata', 'SOLEIL', 'StorageRingdata', filesep);
+% RUCHE
+MMLDATAROOT = getmmldataroot;
+AD.Directory.DataRoot       = fullfile(MMLDATAROOT, 'measdata', 'SOLEIL', 'StorageRingdata', filesep);
+AD.Directory.Lattice        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'Lattices', filesep);
+AD.Directory.Orbit          = fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing',  'orbit', filesep);
+
+% Data Archive Directories DO NOT REMOVE LINES
+AD.Directory.BeamUser       = fullfile(AD.Directory.DataRoot, 'BPM', 'BeamUser', filesep); %store saved orbit for operation (every new beam)
+AD.Directory.BPMData        = fullfile(AD.Directory.DataRoot, 'BPM', filesep);
+AD.Directory.TuneData       = fullfile(AD.Directory.DataRoot, 'Tune', filesep);
+AD.Directory.ChroData       = fullfile(AD.Directory.DataRoot, 'Chromaticity', filesep);
+AD.Directory.DispData       = fullfile(AD.Directory.DataRoot, 'Dispersion', filesep);
+AD.Directory.ConfigData     = fullfile(MMLROOT, 'machine', 'SOLEIL', 'StorageRing', 'MachineConfig', filesep);
+AD.Directory.BumpData       = fullfile(AD.Directory.DataRoot, 'Bumps', filesep);
+AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, 'ArchivingData', filesep);
+AD.Directory.QUAD           = fullfile(AD.Directory.DataRoot, 'QUAD', filesep);
+AD.Directory.BBA            = fullfile(AD.Directory.DataRoot, 'BBA', filesep);
+AD.Directory.BBAcurrent     = fullfile(AD.Directory.BBA, 'dafault' ,filesep);
+AD.Directory.PINHOLE        = fullfile(AD.Directory.DataRoot, 'PINHOLE', filesep);
+AD.Directory.Synchro        = fullfile(MMLROOT, 'machine', 'SOLEIL', 'common', 'synchro', filesep);
+AD.Directory.LOCOData       = fullfile(AD.Directory.DataRoot, 'LOCO', filesep);
+
+% Insertion Devices
+HOMEDIR = getenv('HOME');
+AD.Directory.HU80_TEMPO     = fullfile(HOMEDIR, 'GrpGMI', 'HU80_TEMPO', filesep);
+AD.Directory.HU80_PLEIADES  = fullfile(HOMEDIR, 'GrpGMI', 'HU80_PLEIADES', filesep);
+AD.Directory.HU80_SEXTANTS  = fullfile(HOMEDIR, 'GrpGMI', 'HU80_SEXTANTS', filesep);
+AD.Directory.HU60_CASSIOPEE = fullfile(HOMEDIR, 'GrpGMI', 'HU60_CASSIOPEE', filesep);
+AD.Directory.HU60_ANTARES   = fullfile(HOMEDIR, 'GrpGMI', 'HU60_ANTARES', filesep);
+AD.Directory.U20_PROXIMA1   = fullfile(HOMEDIR, 'GrpGMI', 'U20_PROXIMA1', filesep);
+AD.Directory.U20_SWING      = fullfile(HOMEDIR, 'GrpGMI', 'U20_SWING', filesep);
+AD.Directory.U20_CRISTAL    = fullfile(HOMEDIR, 'GrpGMI', 'U20_CRISTAL', filesep);
+AD.Directory.U20_SIXS       = fullfile(HOMEDIR, 'GrpGMI', 'U20_SIXS', filesep);
+AD.Directory.U20_GALAXIES   = fullfile(HOMEDIR, 'GrpGMI', 'U20_GALAXIES', filesep);
+AD.Directory.U24_PXIIA      = fullfile(HOMEDIR, 'GrpGMI', 'U24_PXIIA ', filesep);
+AD.Directory.WSV50_PSICHE   = fullfile(HOMEDIR, 'GrpGMI', 'WSV50_PSICHE ', filesep);
+AD.Directory.HU640_DESIRS   = fullfile(HOMEDIR, 'GrpGMI', 'HU640_DESIRS', filesep);
+AD.Directory.HU256_CASSIOPEE= fullfile(HOMEDIR, 'GrpGMI', 'HU256_CASSIOPEE', filesep);
+AD.Directory.HU256_PLEIADES = fullfile(HOMEDIR, 'GrpGMI', 'HU256_PLEIADES', filesep);
+AD.Directory.HU256_ANTARES  = fullfile(HOMEDIR, 'GrpGMI', 'HU256_ANTARES', filesep);
+AD.Directory.HU42_HERMES    = fullfile(HOMEDIR, 'GrpGMI', 'HU42_HERMES', filesep);
+AD.Directory.HU44_TEMPO     = fullfile(HOMEDIR, 'GrpGMI', 'HU44_TEMPO', filesep);
+AD.Directory.HU44_SEXTANTS  = fullfile(HOMEDIR, 'GrpGMI', 'HU44_SEXTANTS', filesep);
+AD.Directory.HU52_DEIMOS    = fullfile(HOMEDIR, 'GrpGMI', 'HU52_DEIMOS', filesep);
+AD.Directory.HU65_DEIMOS    = fullfile(HOMEDIR, 'GrpGMI', 'HU65_DEIMOS', filesep);
+AD.Directory.HU52_LUCIA     = fullfile(HOMEDIR, 'GrpGMI', 'HU52_LUCIA', filesep);
+AD.Directory.HU36_SIRIUS    = fullfile(HOMEDIR, 'GrpGMI', 'HU36_SIRIUS', filesep);
+AD.Directory.HU64_HERMES    = fullfile(HOMEDIR, 'GrpGMI', 'HU64_HERMES', filesep);
+AD.Directory.U18_TOMO       = fullfile(HOMEDIR, 'GrpGMI', 'U18_TOMO', filesep);
+AD.Directory.U20_NANO       = fullfile(HOMEDIR, 'GrpGMI', 'U20_NANO', filesep);
+
+
+% STANDALONE matlab applications
+AD.Directory.Standalone     = fullfile(MMLROOT, 'machine', 'SOLEIL', 'standalone_applications', filesep);
+
+% FOFB matlab applications
+AD.Directory.FOFBdata     = fullfile(AD.Directory.DataRoot, 'FOFB');
+
+% For coupling correction. Used by coupling.m
+AD.Directory.Coupling     = fullfile(AD.Directory.DataRoot, 'SkewQuad', 'solution_QT');
+
+% AD.Directory.InterlockData  = fullfile(AD.Directory.DataRoot, 'Interlock/'];
+
+%Response Matrix Directories
+AD.Directory.BPMResponse    = fullfile(AD.Directory.DataRoot, 'Response', 'BPM', filesep);
+AD.Directory.TuneResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Tune', filesep);
+AD.Directory.ChroResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Chrom', filesep);
+AD.Directory.DispResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Disp', filesep);
+AD.Directory.SkewResponse   = fullfile(AD.Directory.DataRoot, 'Response', 'Skew', filesep);
+
+% used by energytunette
+AD.Directory.BPMTransport   = fullfile(AD.Directory.DataRoot, 'Transport', 'BPM', filesep);
+% used by MAT's Steerette application
+AD.Directory.Steerette     = fullfile(AD.Directory.DataRoot, 'Transport', 'Steerette', filesep);
+
+% Postmortem DATA
+AD.Directory.BPMPostmortem    = fullfile(AD.Directory.DataRoot, 'Postmortem', 'BPMPostmortem', filesep);
+AD.Directory.RFPostmortem     = fullfile(AD.Directory.DataRoot, 'Postmortem', 'RFPostmortem', filesep);
+
+%Default Data File Prefix
+AD.Default.BPMArchiveFile      = 'BPM';                %file in AD.Directory.BPM               orbit data
+AD.Default.TuneArchiveFile     = 'Tune';               %file in AD.Directory.Tune              tune data
+AD.Default.ChroArchiveFile     = 'Chro';               %file in AD.Directory.Chromaticity       chromaticity data
+AD.Default.DispArchiveFile     = 'Disp';               %file in AD.Directory.Dispersion       dispersion data
+AD.Default.CNFArchiveFile      = 'CNF';                %file in AD.Directory.CNF               configuration data
+AD.Default.QUADArchiveFile     = 'QuadBeta';           %file in AD.Directory.QUAD             betafunction for quadrupoles
+AD.Default.PINHOLEArchiveFile  = 'Pinhole';            %file in AD.Directory.PINHOLE             pinhole data
+AD.Default.SkewArchiveFile     = 'SkewQuad';           %file in AD.Directory.SkewQuad             SkewQuad data
+AD.Default.BBAArchiveFile      = 'BBA_DKmode';         %file in AD.Directory.BBA             BBA DK mode data
+
+%Default Response Matrix File Prefix
+AD.Default.BPMRespFile      = 'BPMRespMat';         %file in AD.Directory.BPMResponse       BPM response matrices
+AD.Default.TuneRespFile     = 'TuneRespMat';        %file in AD.Directory.TuneResponse      tune response matrices
+AD.Default.ChroRespFile     = 'ChroRespMat';        %file in AD.Directory.ChroResponse      chromaticity response matrices
+AD.Default.DispRespFile     = 'DispRespMat';        %file in AD.Directory.DispResponse      dispersion response matrices
+AD.Default.SkewRespFile     = 'SkewRespMat';        %file in AD.Directory.SkewResponse      skew quadrupole response matrices
+
+%Orbit Control and Feedback Files
+AD.Restore.GlobalFeedback   = 'Restore.m';
+
+% Circumference
+AD.Circumference = findspos(THERING,length(THERING)+1);
+setad(AD);
+
+% Updates the AT indices in the MiddleLayer with the present AT lattice
+updateatindex;
+
+% Set the model energy
+setenergymodel(AD.Energy);
+
+
+% Momentum compaction factor
+MCF = getmcf('Model');
+if isnan(MCF)
+    AD.MCF = 4.498325442923014e-04;
+    fprintf('   Model alpha calculation failed, middlelayer alpha set to  %f\n', AD.MCF);
+else
+    AD.MCF = MCF;
+    fprintf('   Middlelayer alpha set to %f (AT model).\n', AD.MCF);
+end
+setad(AD);
+
+
+% Add Gain & Offsets for magnet family
+fprintf('   Setting magnet monitor gains based on the production lattice.\n');
+%setgainsandoffsets;
+
+%% Config texttalker (right location ?)
+AD.TANGO.TEXTTALKERS={'ans/ca/texttalker.1', 'ans/ca/texttalker.2'};
+
+% set LOCO gain and roll to zero
+setlocodata('Nominal');
+
+%%%%%%%%%%%%%%%%%%%%%%
+% Final mode changes %
+%%%%%%%%%%%%%%%%%%%%%%
+if any(ModeNumber == [99])
+    % User mode - 2.75 GeV, Nominal lattice
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % Add LOCO Parameters to AO and AT-Model %
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %     'Nominal'    - Sets nominal gains (1) / rolls (0) to the model.
+    %     'SetGains'   - Set gains/coupling from a LOCO file.
+    %     'SetModel'   - Set the model from a LOCO file.  But it only changes
+    %                    the part of the model that does not get corrected
+    %                    in 'Symmetrize' (also does a SetGains).
+    %     'LOCO2Model' - Set the model from a LOCO file (also does a SetGains).
+    %                    This sets all lattice machines fit in the LOCO run to the model.
+    %
+    % Basically, use 'SetGains' or 'SetModel' if the LOCO run was applied to the accelerator
+    %            use 'LOCO2Model' if the LOCO run was made after the final setup
+
+    % Store the LOCO file in the opsdata directory
+
+    % MCF depends on optics !!!
+
+    AD.OpsData.LOCOFile = [getfamilydata('Directory','OpsData'),'LOCO_163Quads_122BPMs'];
+    
+    try % TO BE DONE LATER IN 2012
+        setlocodata('LOCO2Model', AD.OpsData.LOCOFile);
+    catch
+        fprintf('\n%s\n\n', lasterr);
+        fprintf('   WARNING: there was a problem calibrating the model based on LOCO file %s.\n', AD.OpsData.LOCOFile);
+    end
+
+else
+    setlocodata('Nominal');
+end
+
+fprintf('   lattice files have changed or if the AT lattice has changed.\n');
+fprintf('   Middlelayer setup for operational mode: %s\n', AD.OperationalMode);
+
+setad(orderfields(AD));
+
+end
+
+function local_setmagnetcoefficient(magnetcoeff_function)
+% quadrupole magnet coefficients
+% number of status 1 quadrupole families
+
+AO = getao;
+    
+quadFamList = {'Q1', 'Q2', 'Q3', 'Q4', 'Q5', 'Q6', ...
+         'Q7', 'Q8', 'Q9', 'Q10'};
+    
+if family2status('Q11',1),
+        quadFamList = [quadFamList, {'Q11'}];
+end
+    
+if family2status('Q12',1),
+        quadFamList = [quadFamList, {'Q12'}];
+end
+        
+    
+for k = 1:length(quadFamList),
+        ifam = quadFamList{k};
+
+        HW2PhysicsParams = feval(magnetcoeff_function, AO.(ifam).FamilyName);
+        Physics2HWParams = HW2PhysicsParams;
+
+        nb = size(AO.(ifam).DeviceName,1);
+
+        for ii=1:nb,
+            val = 1.0;
+            AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)                 = HW2PhysicsParams;
+            AO.(ifam).Monitor.HW2PhysicsParams{2}(ii,:)                 = val;
+            AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)                 = Physics2HWParams;
+            AO.(ifam).Monitor.Physics2HWParams{2}(ii,:)                 = val;
+            AO.(ifam).Setpoint.HW2PhysicsParams{1}(ii,:)                = HW2PhysicsParams;
+            AO.(ifam).Setpoint.HW2PhysicsParams{2}(ii,:)                = val;
+            AO.(ifam).Setpoint.Physics2HWParams{1}(ii,:)                = Physics2HWParams;
+            AO.(ifam).Setpoint.Physics2HWParams{2}(ii,:)                = val;
+        end
+end
+
+% sextupole magnet coefficients
+% number of status 1 sextupole families
+sextuFamList = {'S1', 'S2', 'S3', 'S4', 'S5', 'S6', ...
+         'S7', 'S8', 'S9', 'S10'};
+    
+if family2status('S11',1),
+        sextuFamList = [sextuFamList, {'S11'}];
+end
+    
+if family2status('S12',1),
+        sextuFamList = [sextuFamList, {'S12'}];
+end
+
+for k = 1:length(sextuFamList),
+        ifam = sextuFamList{k};
+        
+        HW2PhysicsParams = feval(magnetcoeff_function, AO.(ifam).FamilyName);
+        Physics2HWParams = HW2PhysicsParams;
+        
+        val = 1.0;
+        AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:)                 = HW2PhysicsParams;
+        AO.(ifam).Monitor.HW2PhysicsParams{2}(1,:)                 = val;
+        AO.(ifam).Monitor.Physics2HWParams{1}(1,:)                 = Physics2HWParams;
+        AO.(ifam).Monitor.Physics2HWParams{2}(1,:)                 = val;
+        AO.(ifam).Setpoint.HW2PhysicsParams{1}(1,:)                 = HW2PhysicsParams;
+        AO.(ifam).Setpoint.HW2PhysicsParams{2}(1,:)                 = val;
+        AO.(ifam).Setpoint.Physics2HWParams{1}(1,:)                 = Physics2HWParams;
+        AO.(ifam).Setpoint.Physics2HWParams{2}(1,:)                 = val;
+end
+setao(AO);
+
+end
+
+
+function  local_set_config_mode(configmode)
+% Function for activating new families of quadrupole and sextupoles
+% magnets.
+
+switch(configmode)
+    case 'S11config120' % with S11 120 BPMs to be obsolete
+        setfamilydata(1, 'S11', 'Status')
+        setfamilydata(0, 'S12', 'Status')
+        setfamilydata(0, 'Q11', 'Status')
+        setfamilydata(0, 'Q12', 'Status')
+        setfamilydata(0, 'HCOR', 'Status', [13 8]);
+        setfamilydata(0, 'VCOR', 'Status', [13 9]);
+        setfamilydata(0, 'CycleHCOR', 'Status', [13 8]);
+        setfamilydata(0, 'CycleVCOR', 'Status', [13 9]);
+        setfamilydata(0, 'BPMx', 'Status', [13 8; 13 9]);
+        setfamilydata(0, 'BPMz', 'Status', [13 8; 13 9]);
+    case 'S11config122' % with S11 122 BPMs
+        setfamilydata(1, 'S11', 'Status')
+        setfamilydata(0, 'S12', 'Status')
+        setfamilydata(0, 'Q11', 'Status')
+        setfamilydata(0, 'Q12', 'Status')
+        setfamilydata(1, 'HCOR', 'Status', [13 8]);
+        setfamilydata(1, 'VCOR', 'Status', [13 9]);
+        setfamilydata(1, 'CycleHCOR', 'Status', [13 8]);
+        setfamilydata(1, 'CycleVCOR', 'Status', [13 9]);
+        setfamilydata(1, 'BPMx', 'Status', [13 8; 13 9]);
+        setfamilydata(1, 'BPMz', 'Status', [13 8; 13 9]);
+    case 'normalconfig' % without S11 120 BPMs to be obsolete
+        setfamilydata(0, 'S11', 'Status')
+        setfamilydata(0, 'S12', 'Status')
+        setfamilydata(0, 'Q11', 'Status')
+        setfamilydata(0, 'Q12', 'Status')
+        setfamilydata(0, 'HCOR', 'Status', [13 8]);
+        setfamilydata(0, 'VCOR', 'Status', [13 9]);
+        setfamilydata(0, 'CycleHCOR', 'Status', [13 8]);
+        setfamilydata(0, 'CycleVCOR', 'Status', [13 9]);
+        setfamilydata(0, 'BPMx', 'Status', [13 8; 13 9]);
+        setfamilydata(0, 'BPMz', 'Status', [13 8; 13 9]);
+    case 'nanoscopiumconfig120' % 120 BPMs to be obsolete
+        setfamilydata(1, 'S11', 'Status')
+        setfamilydata(1, 'S12', 'Status')
+        setfamilydata(1, 'Q11', 'Status')
+        setfamilydata(1, 'Q12', 'Status')
+        setfamilydata(0, 'HCOR', 'Status', [13 8]);
+        setfamilydata(0, 'VCOR', 'Status', [13 9]);
+        setfamilydata(0, 'CycleHCOR', 'Status', [13 8]);
+        setfamilydata(0, 'CycleVCOR', 'Status', [13 9]);
+        setfamilydata(0, 'BPMx', 'Status', [13 8; 13 9]);
+        setfamilydata(0, 'BPMz', 'Status', [13 8; 13 9]);
+    case 'nanoscopiumconfig122' % 122 BPMs 
+        setfamilydata(1, 'S11', 'Status')
+        setfamilydata(1, 'S12', 'Status')
+        setfamilydata(1, 'Q11', 'Status')
+        setfamilydata(1, 'Q12', 'Status')
+        setfamilydata(0, 'HCOR', 'Status', [13 8]);
+        setfamilydata(0, 'VCOR', 'Status', [13 9]);
+        setfamilydata(0, 'CycleHCOR', 'Status', [13 8]);
+        setfamilydata(0, 'CycleVCOR', 'Status', [13 9]);
+        setfamilydata(1, 'BPMx', 'Status', [13 8; 13 9]);
+        setfamilydata(1, 'BPMz', 'Status', [13 8; 13 9]);
+    case 'nanoscopiumconfig122C'
+        setfamilydata(1, 'S11', 'Status')
+        setfamilydata(1, 'S12', 'Status')
+        setfamilydata(1, 'Q11', 'Status')
+        setfamilydata(1, 'Q12', 'Status')
+        setfamilydata(1, 'HCOR', 'Status', [13 8]);
+        setfamilydata(1, 'VCOR', 'Status', [13 9]);
+        setfamilydata(1, 'CycleHCOR', 'Status', [13 8]);
+        setfamilydata(1, 'CycleVCOR', 'Status', [13 9]);
+        setfamilydata(1, 'BPMx', 'Status', [13 8; 13 9]);
+        setfamilydata(1, 'BPMz', 'Status', [13 8; 13 9]);
+    otherwise
+        error('Wrong mode')
+end
+
+% switch addition corrector for HU640... TO BE REMOVED LATER
+switchHU640Cor('OFF');
+end
Index: /trunk/machine/SOLEIL/StorageRing/setorbitdefault.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/setorbitdefault.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/setorbitdefault.m	(revision 17)
@@ -0,0 +1,163 @@
+function setorbitdefault(varargin)
+% setorbitdefault - Basic orbit correction for SOLEIL storage ring
+%
+%  OPTIONAL INPUTS
+%  'Display' {'NoDisplay'}
+%  'Struct'
+%  'x' or 'h' or 'Horizontal'
+%  'y' or 'z' or 'v' or 'vertical'
+
+% Defaults
+PlaneFlag = 0;
+Iters = 1;
+Evectors = [];
+RemoveBPMDeviceList = [];   
+RemoveHCMDeviceList = [];   
+RemoveVCMDeviceList = [];   
+DisplayFlag = 'NoDisplay';
+
+HCMFamily = gethcmfamily;
+VCMFamily = getvcmfamily;
+
+
+% Input parsing
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Just remove
+        varargin(i) = [];
+    elseif iscell(varargin{i})
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'struct')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'numeric')
+        % Just remove
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 'Display';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 'NoDisplay';
+        varargin(i) = [];
+    elseif any(strcmpi(varargin{i},{'x', 'h', 'Horizontal'}))
+        PlaneFlag = 1;
+        varargin(i) = [];
+    elseif any(strcmpi(varargin{i},{'y', 'z', 'v', 'Vertical'}))
+        PlaneFlag = 2;
+        varargin(i) = [];
+    end
+end
+
+
+if length(varargin) >= 1
+    if isnumeric(varargin{1})
+        Evectors = varargin{1};
+        varargin(i) = [];
+    end
+end
+if isempty(Evectors)
+    nxcor = 57;
+    nycor = 57;
+    if PlaneFlag == 0
+        % Both planes
+        Evectors = 1:(nxcor + nycor);
+    elseif PlaneFlag == 1
+        % Horizontal
+        Evectors = 1:nxcor;
+    elseif PlaneFlag == 2
+        Evectors = 1:nycor;
+    end
+end
+
+if length(varargin) >= 1
+    if isnumeric(varargin{1})
+        Iters = varargin{1};
+        varargin(i) = [];
+    end
+end
+
+if length(varargin) >= 1
+    if isnumeric(varargin{1})
+        RemoveBPMDeviceList = varargin{1};
+        varargin(i) = [];
+    end
+end
+
+if PlaneFlag == 0
+    % Get BPM and CM structures
+    CM  = {getsp(HCMFamily,'struct'),getsp(VCMFamily,'struct')};
+    BPM = {getx('struct'), gety('struct')};
+    
+    
+    % Remove devices
+    
+    % HCM
+    i = findrowindex(RemoveHCMDeviceList, CM{1}.DeviceList); 
+    CM{1}.DeviceList(i,:) = [];
+    CM{1}.Data(i,:) = [];
+    CM{1}.Status(i,:) = [];
+
+    % VCM
+    i = findrowindex(RemoveVCMDeviceList, CM{2}.DeviceList); 
+    CM{2}.DeviceList(i,:) = [];
+    CM{2}.Data(i,:) = [];
+    CM{2}.Status(i,:) = [];
+
+    % BPMx and BPMy
+    i = findrowindex(RemoveBPMDeviceList, BPM{1}.DeviceList); 
+    BPM{1}.DeviceList(i,:) = [];
+    BPM{1}.Data(i,:) = [];
+    BPM{1}.Status(i,:) = [];
+    
+    i = findrowindex(RemoveBPMDeviceList, BPM{2}.DeviceList); 
+    BPM{2}.DeviceList(i,:) = [];
+    BPM{2}.Data(i,:) = [];
+    BPM{2}.Status(i,:) = [];
+    
+elseif PlaneFlag == 1
+
+    % Get BPM and CM structures
+    CM  = getsp(HCMFamily,'struct');
+    BPM = getx('struct');
+    
+    
+    % Remove devices
+    
+    % HCM
+    i = findrowindex(RemoveHCMDeviceList, CM.DeviceList); 
+    CM.DeviceList(i,:) = [];
+    CM.Data(i,:) = [];
+    CM.Status(i,:) = [];
+
+    % BPMx
+    i = findrowindex(RemoveBPMDeviceList, BPM.DeviceList); 
+    BPM.DeviceList(i,:) = [];
+    BPM.Data(i,:) = [];
+    BPM.Status(i,:) = [];    
+
+elseif PlaneFlag == 2
+    
+    % Get BPM and CM structures
+    CM  = getsp(VCMFamily,'struct');
+    BPM = gety('struct');
+    
+    
+    % Remove devices
+    
+    % VCM
+    i = findrowindex(RemoveVCMDeviceList, CM.DeviceList); 
+    CM.DeviceList(i,:) = [];
+    CM.Data(i,:) = [];
+    CM.Status(i,:) = [];
+    
+    % BPMy
+    i = findrowindex(RemoveBPMDeviceList, BPM.DeviceList);
+    BPM.DeviceList(i,:) = [];
+    BPM.Data(i,:) = [];
+    BPM.Status(i,:) = [];
+end
+
+
+% Corrector orbit
+setorbit('Golden', BPM, CM, Iters, Evectors, DisplayFlag, varargin{:});
Index: /trunk/machine/SOLEIL/StorageRing/soleilcorcheck.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/soleilcorcheck.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/soleilcorcheck.m	(revision 17)
@@ -0,0 +1,24 @@
+function [varargout] = soleilcorcheck
+%SOLEILCORCHECK - Checks for invalid corrector entries
+% [varargout] = soleilcorcheck
+% create COR.status vector with valid indices
+
+%
+% Written by Laurent S. Nadolski, Soleil, April 2004
+
+mode = getfamilydata('HCOR','Monitor','Mode');
+if strcmpi(mode,'ONLINE')          %...system is ONLINE - look for bad correctors readings
+    xstat = find(getfamilydata('HCOR','Status'));
+elseif strcmpi(mode,'SIMULATOR')
+    xstat = find(getfamilydata('HCOR','Status'));
+end  %end of mode condition
+
+mode = getfamilydata('VCOR','Monitor','Mode');
+if strcmpi(mode,'ONLINE')          %...system is ONLINE - look for bad correctors readings
+    zstat = find(getfamilydata('VCOR','Status'));
+elseif strcmpi(mode,'SIMULATOR')
+    zstat = find(getfamilydata('VCOR','Status'));
+end  %end of mode condition
+
+varargout{1} = xstat;
+varargout{2} = zstat;
Index: /trunk/machine/SOLEIL/StorageRing/soleilinit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/soleilinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/soleilinit.m	(revision 17)
@@ -0,0 +1,8243 @@
+function soleilinit(OperationalMode)
+%SOLEILINIT - Initializes params for SOLEIL control in MATLAB
+%
+% Written by Laurent S. Nadolski, Synchrotron SOLEIL
+%
+%==========================
+% Accelerator Family Fields
+%==========================
+% FamilyName            BPMx, HCOR, etc
+% CommonNames           Shortcut name for each element
+% DeviceList            [Sector, Number]
+% ElementList           number in list
+% Position              m, if thick, it is not the magnet center
+%
+% MONITOR FIELD
+% Mode                  online/manual/special/simulator
+% TangoNames            Device Tango Names
+% Units                 Physics or HW
+% HW2PhysicsFcn         function handle used to convert from hardware to physics units ==> inline will not compile, see below
+% HW2PhysicsParams      params used for conversion function
+% Physics2HWFcn         function handle used to convert from physics to hardware units
+% Physics2HWParams      params used for conversion function
+% HWUnits               units for Hardware 'A';
+% PhysicsUnits          units for physics 'Rad';
+% Handles               monitor handle
+%
+% SETPOINT FIELDS
+% Mode                  online/manual/special/simulator
+% TangoNames            Devices tango names
+% Units                 hardware or physics
+% HW2PhysicsFcn         function handle used to convert from hardware to physics units
+% HW2PhysicsParams      params used for conversion function
+% Physics2HWFcn         function handle used to convert from physics to hardware units
+% Physics2HWParams      params used for conversion function
+% HWUnits               units for Hardware 'A';
+% PhysicsUnits          units for physics 'Rad';
+% Range                 minsetpoint, maxsetpoint;
+% Tolerance             setpoint-monitor
+% Handles               setpoint handle
+%
+%=============================================
+% Accelerator Toolbox Simulation Fields
+%=============================================
+% ATType                Quad, Sext, etc
+% ATIndex               index in THERING
+% ATParamGroup      param group
+%
+%============
+% Family List
+%============
+%    BPMx
+%    BPMz
+%    HCOR
+%    VCOR
+%    BEND
+%    Q1 to Q10
+%    S1 to S10
+%    RF
+%    TUNE
+%    DCCT
+%    Machine Params
+%
+% NOTES
+%   All sextupoles have H and V corrector and skew quadrupole windings
+%
+%  See Also setpathsoleil, setpathmml, aoinit, setoperationalmode, updateatindex
+
+%
+%
+% TODO, Deltakick for BPM orbit response matrix  Warning optics dependent cf. Low alpha lattice
+%       to be put into setoperationalmode
+
+% DO NOT REMOVE LSN
+%suppress optimization message
+%#ok<*ASGLU>
+
+% CONTROL ROOM
+% Check for nanoscopium
+% Check for attribute names
+% Check for range value of sextupoles
+
+% If controlromm user is operator and online mode
+
+[statuss WHO] = system('whoami');
+% system gives back an visible character: carriage return!
+% so comparison on the number of caracters
+if strncmp(WHO, 'operateur',9),
+    ControlRoomFlag = 1;
+    Mode = 'Online';
+else
+    ControlRoomFlag = 0;
+    Mode = 'Simulator';
+end
+
+%% Default operation mode (see setoperationalmode)
+if nargin < 1
+    %OperationalMode = 9; % with S11 betax=10m
+    %OperationalMode = 19; % without S11
+    %OperationalMode = 16; % betax=5m 
+    %OperationalMode = 30; % pseudo nanoscopium
+    OperationalMode = 29; % nanoscopium
+end
+
+% Define some global variables
+
+h = waitbar(0,'soleilinit initialization, please wait');
+
+%==============================
+%% load AcceleratorData structure
+%==============================
+
+setad([]);       %clear AcceleratorData memory
+AD.SubMachine = 'StorageRing';   % Will already be defined if setpathmml was used
+AD.Energy        = 2.7391; % Energy in GeV needed for magnet calibration. Do not remove!
+
+setad(AD);
+
+%%%%%%%%%%%%%%%%%%%%
+% ACCELERATOR OBJECT
+%%%%%%%%%%%%%%%%%%%%
+
+if ~isempty(getappdata(0, 'AcceleratorObjects'))
+    AO = getao;
+    % Check if online and AO is from Storagering
+    if ControlRoomFlag && isfield(AO, 'Q10') 
+        local_tango_kill_allgroup(AO); % kill all TANGO group
+    end
+end
+setao([]); AO =[];   %clear previous AcceleratorObjects
+waitbar(0.05,h);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BPM
+% status field designates if BPM in use
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% BPMx Horizontal plane
+ifam = 'BPMx';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'BPM';
+AO.(ifam).MemberOf                 = {'BPM'; 'HBPM'; 'PlotFamily'; 'Archivable'};
+AO.(ifam).Monitor.Mode             = Mode;
+%AO.(ifam).Monitor.Mode             = 'Special';
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'mm';
+AO.(ifam).Monitor.PhysicsUnits     = 'm';
+AO.(ifam).Monitor.SpecialFunctionGet = 'gethbpmgroup';
+AO.(ifam).Simulated.NoiseActivated = 0; %To activate Noise on BPM reading in simulation   
+%AO.(ifam).Monitor.SpecialFunctionGet = 'gethbpmaverage';
+%AO.(ifam).Monitor.SpecialFunctionGet = 'gethturdevnumberyturn';
+
+% ElemList devlist tangoname status common
+varlist = {
+    1 [ 1  2] 'ANS-C01/DG/BPM.2'  1 'BPMx001'
+    2 [ 1  3] 'ANS-C01/DG/BPM.3'  1 'BPMx002'
+    3 [ 1  4] 'ANS-C01/DG/BPM.4'  1 'BPMx003'
+    4 [ 1  5] 'ANS-C01/DG/BPM.5'  1 'BPMx004'
+    5 [ 1  6] 'ANS-C01/DG/BPM.6'  1 'BPMx005'
+    6 [ 1  7] 'ANS-C01/DG/BPM.7'  1 'BPMx006'
+    7 [ 2  1] 'ANS-C02/DG/BPM.1'  1 'BPMx007'
+    8 [ 2  2] 'ANS-C02/DG/BPM.2'  1 'BPMx008'
+    9 [ 2  3] 'ANS-C02/DG/BPM.3'  1 'BPMx009'
+    10 [ 2  4] 'ANS-C02/DG/BPM.4'  1 'BPMx010'
+    11 [ 2  5] 'ANS-C02/DG/BPM.5'  1 'BPMx011'
+    12 [ 2  6] 'ANS-C02/DG/BPM.6'  1 'BPMx012'
+    13 [ 2  7] 'ANS-C02/DG/BPM.7'  1 'BPMx013'
+    14 [ 2  8] 'ANS-C02/DG/BPM.8'  1 'BPMx014'
+    15 [ 3  1] 'ANS-C03/DG/BPM.1'  1 'BPMx015'
+    16 [ 3  2] 'ANS-C03/DG/BPM.2'  1 'BPMx016'
+    17 [ 3  3] 'ANS-C03/DG/BPM.3'  1 'BPMx017'
+    18 [ 3  4] 'ANS-C03/DG/BPM.4'  1 'BPMx018'
+    19 [ 3  5] 'ANS-C03/DG/BPM.5'  1 'BPMx019'
+    20 [ 3  6] 'ANS-C03/DG/BPM.6'  1 'BPMx020'
+    21 [ 3  7] 'ANS-C03/DG/BPM.7'  1 'BPMx021'
+    22 [ 3  8] 'ANS-C03/DG/BPM.8'  1 'BPMx022'
+    23 [ 4  1] 'ANS-C04/DG/BPM.1'  1 'BPMx023'
+    24 [ 4  2] 'ANS-C04/DG/BPM.2'  1 'BPMx024'
+    25 [ 4  3] 'ANS-C04/DG/BPM.3'  1 'BPMx025'
+    26 [ 4  4] 'ANS-C04/DG/BPM.4'  1 'BPMx026'
+    27 [ 4  5] 'ANS-C04/DG/BPM.5'  1 'BPMx027'
+    28 [ 4  6] 'ANS-C04/DG/BPM.6'  1 'BPMx028'
+    29 [ 4  7] 'ANS-C04/DG/BPM.7'  1 'BPMx029'
+    30 [ 5  1] 'ANS-C05/DG/BPM.1'  1 'BPMx030'
+    31 [ 5  2] 'ANS-C05/DG/BPM.2'  1 'BPMx031'
+    32 [ 5  3] 'ANS-C05/DG/BPM.3'  1 'BPMx032'
+    33 [ 5  4] 'ANS-C05/DG/BPM.4'  1 'BPMx033'
+    34 [ 5  5] 'ANS-C05/DG/BPM.5'  1 'BPMx034'
+    35 [ 5  6] 'ANS-C05/DG/BPM.6'  1 'BPMx035'
+    36 [ 5  7] 'ANS-C05/DG/BPM.7'  1 'BPMx036'
+    37 [ 6  1] 'ANS-C06/DG/BPM.1'  1 'BPMx037'
+    38 [ 6  2] 'ANS-C06/DG/BPM.2'  1 'BPMx038'
+    39 [ 6  3] 'ANS-C06/DG/BPM.3'  1 'BPMx039'
+    40 [ 6  4] 'ANS-C06/DG/BPM.4'  1 'BPMx040'
+    41 [ 6  5] 'ANS-C06/DG/BPM.5'  1 'BPMx041'
+    42 [ 6  6] 'ANS-C06/DG/BPM.6'  1 'BPMx042'
+    43 [ 6  7] 'ANS-C06/DG/BPM.7'  1 'BPMx043'
+    44 [ 6  8] 'ANS-C06/DG/BPM.8'  1 'BPMx044'
+    45 [ 7  1] 'ANS-C07/DG/BPM.1'  1 'BPMx045'
+    46 [ 7  2] 'ANS-C07/DG/BPM.2'  1 'BPMx046'
+    47 [ 7  3] 'ANS-C07/DG/BPM.3'  1 'BPMx047'
+    48 [ 7  4] 'ANS-C07/DG/BPM.4'  1 'BPMx048'
+    49 [ 7  5] 'ANS-C07/DG/BPM.5'  1 'BPMx049'
+    50 [ 7  6] 'ANS-C07/DG/BPM.6'  1 'BPMx050'
+    51 [ 7  7] 'ANS-C07/DG/BPM.7'  1 'BPMx051'
+    52 [ 7  8] 'ANS-C07/DG/BPM.8'  1 'BPMx052'
+    53 [ 8  1] 'ANS-C08/DG/BPM.1'  1 'BPMx053'
+    54 [ 8  2] 'ANS-C08/DG/BPM.2'  1 'BPMx054'
+    55 [ 8  3] 'ANS-C08/DG/BPM.3'  1 'BPMx055'
+    56 [ 8  4] 'ANS-C08/DG/BPM.4'  1 'BPMx056'
+    57 [ 8  5] 'ANS-C08/DG/BPM.5'  1 'BPMx057'
+    58 [ 8  6] 'ANS-C08/DG/BPM.6'  1 'BPMx058'
+    59 [ 8  7] 'ANS-C08/DG/BPM.7'  1 'BPMx059'
+    60 [ 9  1] 'ANS-C09/DG/BPM.1'  1 'BPMx060'
+    61 [ 9  2] 'ANS-C09/DG/BPM.2'  1 'BPMx061'
+    62 [ 9  3] 'ANS-C09/DG/BPM.3'  1 'BPMx062'
+    63 [ 9  4] 'ANS-C09/DG/BPM.4'  1 'BPMx063'
+    64 [ 9  5] 'ANS-C09/DG/BPM.5'  1 'BPMx064'
+    65 [ 9  6] 'ANS-C09/DG/BPM.6'  1 'BPMx065'
+    66 [ 9  7] 'ANS-C09/DG/BPM.7'  1 'BPMx066'
+    67 [10  1] 'ANS-C10/DG/BPM.1'  1 'BPMx067'
+    68 [10  2] 'ANS-C10/DG/BPM.2'  1 'BPMx068'
+    69 [10  3] 'ANS-C10/DG/BPM.3'  1 'BPMx069'
+    70 [10  4] 'ANS-C10/DG/BPM.4'  1 'BPMx070'
+    71 [10  5] 'ANS-C10/DG/BPM.5'  1 'BPMx071'
+    72 [10  6] 'ANS-C10/DG/BPM.6'  1 'BPMx072'
+    73 [10  7] 'ANS-C10/DG/BPM.7'  1 'BPMx073'
+    74 [10  8] 'ANS-C10/DG/BPM.8'  1 'BPMx074'
+    75 [11  1] 'ANS-C11/DG/BPM.1'  1 'BPMx075'
+    76 [11  2] 'ANS-C11/DG/BPM.2'  1 'BPMx076'
+    77 [11  3] 'ANS-C11/DG/BPM.3'  1 'BPMx077'
+    78 [11  4] 'ANS-C11/DG/BPM.4'  1 'BPMx078'
+    79 [11  5] 'ANS-C11/DG/BPM.5'  1 'BPMx079'
+    80 [11  6] 'ANS-C11/DG/BPM.6'  1 'BPMx080'
+    81 [11  7] 'ANS-C11/DG/BPM.7'  1 'BPMx081'
+    82 [11  8] 'ANS-C11/DG/BPM.8'  1 'BPMx082'
+    83 [12  1] 'ANS-C12/DG/BPM.1'  1 'BPMx083'
+    84 [12  2] 'ANS-C12/DG/BPM.2'  1 'BPMx084'
+    85 [12  3] 'ANS-C12/DG/BPM.3'  1 'BPMx085'
+    86 [12  4] 'ANS-C12/DG/BPM.4'  1 'BPMx086'
+    87 [12  5] 'ANS-C12/DG/BPM.5'  1 'BPMx087'
+    88 [12  6] 'ANS-C12/DG/BPM.6'  1 'BPMx088'
+    89 [12  7] 'ANS-C12/DG/BPM.7'  1 'BPMx089'
+    90 [13  1] 'ANS-C13/DG/BPM.1'  1 'BPMx090'
+    91 [13  8] 'ANS-C13/DG/BPM.8'  1 'BPMx121'
+    92 [13  9] 'ANS-C13/DG/BPM.9'  1 'BPMx122'
+    93 [13  2] 'ANS-C13/DG/BPM.2'  1 'BPMx091'
+    94 [13  3] 'ANS-C13/DG/BPM.3'  1 'BPMx092'
+    95 [13  4] 'ANS-C13/DG/BPM.4'  1 'BPMx093'
+    96 [13  5] 'ANS-C13/DG/BPM.5'  1 'BPMx094'
+    97 [13  6] 'ANS-C13/DG/BPM.6'  1 'BPMx095'
+    98 [13  7] 'ANS-C13/DG/BPM.7'  1 'BPMx096'
+    99 [14  1] 'ANS-C14/DG/BPM.1'  1 'BPMx097'
+   100 [14  2] 'ANS-C14/DG/BPM.2'  1 'BPMx098'
+   101 [14  3] 'ANS-C14/DG/BPM.3'  1 'BPMx099'
+   102 [14  4] 'ANS-C14/DG/BPM.4'  1 'BPMx100'
+   103 [14  5] 'ANS-C14/DG/BPM.5'  1 'BPMx101'
+   104 [14  6] 'ANS-C14/DG/BPM.6'  1 'BPMx102'
+   105 [14  7] 'ANS-C14/DG/BPM.7'  1 'BPMx103'
+   106 [14  8] 'ANS-C14/DG/BPM.8'  1 'BPMx104'
+   107 [15  1] 'ANS-C15/DG/BPM.1'  1 'BPMx105'
+   108 [15  2] 'ANS-C15/DG/BPM.2'  1 'BPMx106'
+   109 [15  3] 'ANS-C15/DG/BPM.3'  1 'BPMx107'
+   110 [15  4] 'ANS-C15/DG/BPM.4'  1 'BPMx108'
+   111 [15  5] 'ANS-C15/DG/BPM.5'  1 'BPMx109'
+   112 [15  6] 'ANS-C15/DG/BPM.6'  1 'BPMx110'
+   113 [15  7] 'ANS-C15/DG/BPM.7'  1 'BPMx111'
+   114 [15  8] 'ANS-C15/DG/BPM.8'  1 'BPMx112'
+   115 [16  1] 'ANS-C16/DG/BPM.1'  1 'BPMx113'
+   116 [16  2] 'ANS-C16/DG/BPM.2'  1 'BPMx114'
+   117 [16  3] 'ANS-C16/DG/BPM.3'  1 'BPMx115'
+   118 [16  4] 'ANS-C16/DG/BPM.4'  1 'BPMx116'
+   119 [16  5] 'ANS-C16/DG/BPM.5'  1 'BPMx117'
+   120 [16  6] 'ANS-C16/DG/BPM.6'  1 'BPMx118'
+   121 [16  7] 'ANS-C16/DG/BPM.7'  1 'BPMx119'
+   122 [ 1  1] 'ANS-C01/DG/BPM.1'  1 'BPMx120'
+    };
+
+devnumber = length(varlist);
+
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).Gain        = ones(devnumber,1);
+AO.(ifam).Roll        = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(devnumber,1);
+AO.(ifam).Monitor.Physics2HWParams(:,:) = 1e3*ones(devnumber,1);
+AO.(ifam).Monitor.Handles(:,1)          = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType              = 'Scalar';
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames{k}  = strcat(AO.(ifam).DeviceName{k}, '/XPosSA');
+end
+
+% Group
+if ControlRoomFlag
+        AO.(ifam).GroupId = tango_group_create2('BPMx');
+        tango_group_add(AO.(ifam).GroupId,AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = NaN;
+end
+
+AO.(ifam).History = AO.(ifam).Monitor;
+AO.(ifam).History = rmfield(AO.(ifam).History,'SpecialFunctionGet');
+
+dev = AO.(ifam).DeviceName;
+AO.(ifam).History.TangoNames(:,:)       = strcat(dev, '/XPosSAHistory');
+AO.(ifam).History.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Va = AO.(ifam).History;
+AO.(ifam).Va.TangoNames(:,:)       = strcat(dev, '/VaSA');
+AO.(ifam).Va.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Vb = AO.(ifam).History;
+AO.(ifam).Vb.TangoNames(:,:)       = strcat(dev, '/VbSA');
+AO.(ifam).Vb.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Vc = AO.(ifam).History;
+AO.(ifam).Vc.TangoNames(:,:)       = strcat(dev, '/VcSA');
+AO.(ifam).Vc.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Vd = AO.(ifam).History;
+AO.(ifam).Vd.TangoNames(:,:)       = strcat(dev, '/VdSA');
+AO.(ifam).Vd.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Sum = AO.(ifam).History;
+AO.(ifam).Sum.TangoNames(:,:)       = strcat(dev, '/SumSA');
+AO.(ifam).Sum.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Quad = AO.(ifam).History;
+AO.(ifam).Quad.TangoNames(:,:)       = strcat(dev, '/QuadSA');
+AO.(ifam).Quad.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Gaidevnumberpm = AO.(ifam).History;
+AO.(ifam).Gaidevnumberpm.TangoNames(:,:)       = strcat(dev, '/Gain');
+AO.(ifam).Gaidevnumberpm.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Switch = AO.(ifam).History;
+AO.(ifam).Switch.TangoNames(:,:)       = strcat(dev, '/Switches');
+AO.(ifam).Switch.MemberOf = {'Plotfamily'};
+
+%% BPMz Vertical plane
+ifam = 'BPMz';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'BPM';
+AO.(ifam).MemberOf                 = {'BPM'; 'VBPM'; 'PlotFamily'; 'Archivable'};
+AO.(ifam).Monitor.Mode             = Mode;
+%AO.(ifam).Monitor.Mode             = 'Special';
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'mm';
+AO.(ifam).Monitor.PhysicsUnits     = 'm';
+AO.(ifam).Monitor.SpecialFunctionGet = 'getvbpmgroup';
+AO.(ifam).Simulated.NoiseActivated = 0; % To activate Noise on BPM reading in simulation     
+%AO.(ifam).Monitor.SpecialFunctionGet = 'getvbpmaverage';
+%AO.(ifam).Monitor.SpecialFunctionGet = 'getvturdevnumberyturn';
+
+% devliste tangoname status common
+varlist = {
+    1 [ 1  2] 'ANS-C01/DG/BPM.2'  1 'BPMz001'
+    2 [ 1  3] 'ANS-C01/DG/BPM.3'  1 'BPMz002'
+    3 [ 1  4] 'ANS-C01/DG/BPM.4'  1 'BPMz003'
+    4 [ 1  5] 'ANS-C01/DG/BPM.5'  1 'BPMz004'
+    5 [ 1  6] 'ANS-C01/DG/BPM.6'  1 'BPMz005'
+    6 [ 1  7] 'ANS-C01/DG/BPM.7'  1 'BPMz006'
+    7 [ 2  1] 'ANS-C02/DG/BPM.1'  1 'BPMz007'
+    8 [ 2  2] 'ANS-C02/DG/BPM.2'  1 'BPMz008'
+    9 [ 2  3] 'ANS-C02/DG/BPM.3'  1 'BPMz009'
+    10 [ 2  4] 'ANS-C02/DG/BPM.4'  1 'BPMz010'
+    11 [ 2  5] 'ANS-C02/DG/BPM.5'  1 'BPMz011'
+    12 [ 2  6] 'ANS-C02/DG/BPM.6'  1 'BPMz012'
+    13 [ 2  7] 'ANS-C02/DG/BPM.7'  1 'BPMz013'
+    14 [ 2  8] 'ANS-C02/DG/BPM.8'  1 'BPMz014'
+    15 [ 3  1] 'ANS-C03/DG/BPM.1'  1 'BPMz015'
+    16 [ 3  2] 'ANS-C03/DG/BPM.2'  1 'BPMz016'
+    17 [ 3  3] 'ANS-C03/DG/BPM.3'  1 'BPMz017'
+    18 [ 3  4] 'ANS-C03/DG/BPM.4'  1 'BPMz018'
+    19 [ 3  5] 'ANS-C03/DG/BPM.5'  1 'BPMz019'
+    20 [ 3  6] 'ANS-C03/DG/BPM.6'  1 'BPMz020'
+    21 [ 3  7] 'ANS-C03/DG/BPM.7'  1 'BPMz021'
+    22 [ 3  8] 'ANS-C03/DG/BPM.8'  1 'BPMz022'
+    23 [ 4  1] 'ANS-C04/DG/BPM.1'  1 'BPMz023'
+    24 [ 4  2] 'ANS-C04/DG/BPM.2'  1 'BPMz024'
+    25 [ 4  3] 'ANS-C04/DG/BPM.3'  1 'BPMz025'
+    26 [ 4  4] 'ANS-C04/DG/BPM.4'  1 'BPMz026'
+    27 [ 4  5] 'ANS-C04/DG/BPM.5'  1 'BPMz027'
+    28 [ 4  6] 'ANS-C04/DG/BPM.6'  1 'BPMz028'
+    29 [ 4  7] 'ANS-C04/DG/BPM.7'  1 'BPMz029'
+    30 [ 5  1] 'ANS-C05/DG/BPM.1'  1 'BPMz030'
+    31 [ 5  2] 'ANS-C05/DG/BPM.2'  1 'BPMz031'
+    32 [ 5  3] 'ANS-C05/DG/BPM.3'  1 'BPMz032'
+    33 [ 5  4] 'ANS-C05/DG/BPM.4'  1 'BPMz033'
+    34 [ 5  5] 'ANS-C05/DG/BPM.5'  1 'BPMz034'
+    35 [ 5  6] 'ANS-C05/DG/BPM.6'  1 'BPMz035'
+    36 [ 5  7] 'ANS-C05/DG/BPM.7'  1 'BPMz036'
+    37 [ 6  1] 'ANS-C06/DG/BPM.1'  1 'BPMz037'
+    38 [ 6  2] 'ANS-C06/DG/BPM.2'  1 'BPMz038'
+    39 [ 6  3] 'ANS-C06/DG/BPM.3'  1 'BPMz039'
+    40 [ 6  4] 'ANS-C06/DG/BPM.4'  1 'BPMz040'
+    41 [ 6  5] 'ANS-C06/DG/BPM.5'  1 'BPMz041'
+    42 [ 6  6] 'ANS-C06/DG/BPM.6'  1 'BPMz042'
+    43 [ 6  7] 'ANS-C06/DG/BPM.7'  1 'BPMz043'
+    44 [ 6  8] 'ANS-C06/DG/BPM.8'  1 'BPMz044'
+    45 [ 7  1] 'ANS-C07/DG/BPM.1'  1 'BPMz045'
+    46 [ 7  2] 'ANS-C07/DG/BPM.2'  1 'BPMz046'
+    47 [ 7  3] 'ANS-C07/DG/BPM.3'  1 'BPMz047'
+    48 [ 7  4] 'ANS-C07/DG/BPM.4'  1 'BPMz048'
+    49 [ 7  5] 'ANS-C07/DG/BPM.5'  1 'BPMz049'
+    50 [ 7  6] 'ANS-C07/DG/BPM.6'  1 'BPMz050'
+    51 [ 7  7] 'ANS-C07/DG/BPM.7'  1 'BPMz051'
+    52 [ 7  8] 'ANS-C07/DG/BPM.8'  1 'BPMz052'
+    53 [ 8  1] 'ANS-C08/DG/BPM.1'  1 'BPMz053'
+    54 [ 8  2] 'ANS-C08/DG/BPM.2'  1 'BPMz054'
+    55 [ 8  3] 'ANS-C08/DG/BPM.3'  1 'BPMz055'
+    56 [ 8  4] 'ANS-C08/DG/BPM.4'  1 'BPMz056'
+    57 [ 8  5] 'ANS-C08/DG/BPM.5'  1 'BPMz057'
+    58 [ 8  6] 'ANS-C08/DG/BPM.6'  1 'BPMz058'
+    59 [ 8  7] 'ANS-C08/DG/BPM.7'  1 'BPMz059'
+    60 [ 9  1] 'ANS-C09/DG/BPM.1'  1 'BPMz060'
+    61 [ 9  2] 'ANS-C09/DG/BPM.2'  1 'BPMz061'
+    62 [ 9  3] 'ANS-C09/DG/BPM.3'  1 'BPMz062'
+    63 [ 9  4] 'ANS-C09/DG/BPM.4'  1 'BPMz063'
+    64 [ 9  5] 'ANS-C09/DG/BPM.5'  1 'BPMz064'
+    65 [ 9  6] 'ANS-C09/DG/BPM.6'  1 'BPMz065'
+    66 [ 9  7] 'ANS-C09/DG/BPM.7'  1 'BPMz066'
+    67 [10  1] 'ANS-C10/DG/BPM.1'  1 'BPMz067'
+    68 [10  2] 'ANS-C10/DG/BPM.2'  1 'BPMz068'
+    69 [10  3] 'ANS-C10/DG/BPM.3'  1 'BPMz069'
+    70 [10  4] 'ANS-C10/DG/BPM.4'  1 'BPMz070'
+    71 [10  5] 'ANS-C10/DG/BPM.5'  1 'BPMz071'
+    72 [10  6] 'ANS-C10/DG/BPM.6'  1 'BPMz072'
+    73 [10  7] 'ANS-C10/DG/BPM.7'  1 'BPMz073'
+    74 [10  8] 'ANS-C10/DG/BPM.8'  1 'BPMz074'
+    75 [11  1] 'ANS-C11/DG/BPM.1'  1 'BPMz075'
+    76 [11  2] 'ANS-C11/DG/BPM.2'  1 'BPMz076'
+    77 [11  3] 'ANS-C11/DG/BPM.3'  1 'BPMz077'
+    78 [11  4] 'ANS-C11/DG/BPM.4'  1 'BPMz078'
+    79 [11  5] 'ANS-C11/DG/BPM.5'  1 'BPMz079'
+    80 [11  6] 'ANS-C11/DG/BPM.6'  1 'BPMz080'
+    81 [11  7] 'ANS-C11/DG/BPM.7'  1 'BPMz081'
+    82 [11  8] 'ANS-C11/DG/BPM.8'  1 'BPMz082'
+    83 [12  1] 'ANS-C12/DG/BPM.1'  1 'BPMz083'
+    84 [12  2] 'ANS-C12/DG/BPM.2'  1 'BPMz084'
+    85 [12  3] 'ANS-C12/DG/BPM.3'  1 'BPMz085'
+    86 [12  4] 'ANS-C12/DG/BPM.4'  1 'BPMz086'
+    87 [12  5] 'ANS-C12/DG/BPM.5'  1 'BPMz087'
+    88 [12  6] 'ANS-C12/DG/BPM.6'  1 'BPMz088'
+    89 [12  7] 'ANS-C12/DG/BPM.7'  1 'BPMz089'
+    90 [13  1] 'ANS-C13/DG/BPM.1'  1 'BPMz090'
+    91 [13  8] 'ANS-C13/DG/BPM.8'  1 'BPMz121'
+    92 [13  9] 'ANS-C13/DG/BPM.9'  1 'BPMz122'
+    93 [13  2] 'ANS-C13/DG/BPM.2'  1 'BPMz091'
+    94 [13  3] 'ANS-C13/DG/BPM.3'  1 'BPMz092'
+    95 [13  4] 'ANS-C13/DG/BPM.4'  1 'BPMz093'
+    96 [13  5] 'ANS-C13/DG/BPM.5'  1 'BPMz094'
+    97 [13  6] 'ANS-C13/DG/BPM.6'  1 'BPMz095'
+    98 [13  7] 'ANS-C13/DG/BPM.7'  1 'BPMz096'
+    99 [14  1] 'ANS-C14/DG/BPM.1'  1 'BPMz097'
+   100 [14  2] 'ANS-C14/DG/BPM.2'  1 'BPMz098'
+   101 [14  3] 'ANS-C14/DG/BPM.3'  1 'BPMz099'
+   102 [14  4] 'ANS-C14/DG/BPM.4'  1 'BPMz100'
+   103 [14  5] 'ANS-C14/DG/BPM.5'  1 'BPMz101'
+   104 [14  6] 'ANS-C14/DG/BPM.6'  1 'BPMz102'
+   105 [14  7] 'ANS-C14/DG/BPM.7'  1 'BPMz103'
+   106 [14  8] 'ANS-C14/DG/BPM.8'  1 'BPMz104'
+   107 [15  1] 'ANS-C15/DG/BPM.1'  1 'BPMz105'
+   108 [15  2] 'ANS-C15/DG/BPM.2'  1 'BPMz106'
+   109 [15  3] 'ANS-C15/DG/BPM.3'  1 'BPMz107'
+   110 [15  4] 'ANS-C15/DG/BPM.4'  1 'BPMz108'
+   111 [15  5] 'ANS-C15/DG/BPM.5'  1 'BPMz109'
+   112 [15  6] 'ANS-C15/DG/BPM.6'  1 'BPMz110'
+   113 [15  7] 'ANS-C15/DG/BPM.7'  1 'BPMz111'
+   114 [15  8] 'ANS-C15/DG/BPM.8'  1 'BPMz112'
+   115 [16  1] 'ANS-C16/DG/BPM.1'  1 'BPMz113'
+   116 [16  2] 'ANS-C16/DG/BPM.2'  1 'BPMz114'
+   117 [16  3] 'ANS-C16/DG/BPM.3'  1 'BPMz115'
+   118 [16  4] 'ANS-C16/DG/BPM.4'  1 'BPMz116'
+   119 [16  5] 'ANS-C16/DG/BPM.5'  1 'BPMz117'
+   120 [16  6] 'ANS-C16/DG/BPM.6'  1 'BPMz118'
+   121 [16  7] 'ANS-C16/DG/BPM.7'  1 'BPMz119'
+   122 [ 1  1] 'ANS-C01/DG/BPM.1'  1 'BPMz120'
+    };
+
+devnumber = length(varlist);
+
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).Gain        = ones(devnumber,1);
+AO.(ifam).Roll        = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(devnumber,1);
+AO.(ifam).Monitor.Physics2HWParams(:,:) = 1e3*ones(devnumber,1);
+AO.(ifam).Monitor.Handles(:,1)          = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType              = 'Scalar';
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames{k}  = strcat(AO.(ifam).DeviceName{k}, '/ZPosSA');
+end
+
+% Group
+if ControlRoomFlag
+        AO.(ifam).GroupId = tango_group_create2('BPMz');
+        tango_group_add(AO.(ifam).GroupId,AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = NaN;
+end
+
+AO.(ifam).History = AO.(ifam).Monitor;
+AO.(ifam).History = rmfield(AO.(ifam).History,'SpecialFunctionGet');
+
+dev = AO.(ifam).DeviceName;
+AO.(ifam).History.TangoNames(:,:)       = strcat(dev, '/ZPosSAHistory');
+AO.(ifam).History.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Va = AO.(ifam).History;
+AO.(ifam).Va.TangoNames(:,:)       = strcat(dev, '/VaSA');
+AO.(ifam).Va.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Vb = AO.(ifam).History;
+AO.(ifam).Vb.TangoNames(:,:)       = strcat(dev, '/VbSA');
+AO.(ifam).Vb.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Vc = AO.(ifam).History;
+AO.(ifam).Vc.TangoNames(:,:)       = strcat(dev, '/VcSA');
+AO.(ifam).Vc.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Vd = AO.(ifam).History;
+AO.(ifam).Vd.TangoNames(:,:)       = strcat(dev, '/VdSA');
+AO.(ifam).Vd.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Sum = AO.(ifam).History;
+AO.(ifam).Sum.TangoNames(:,:)       = strcat(dev, '/SumSA');
+AO.(ifam).Sum.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Quad = AO.(ifam).History;
+AO.(ifam).Quad.TangoNames(:,:)       = strcat(dev, '/QuadSA');
+AO.(ifam).Quad.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Gaidevnumberpm = AO.(ifam).History;
+AO.(ifam).Gaidevnumberpm.TangoNames(:,:)       = strcat(dev, '/Gain');
+AO.(ifam).Gaidevnumberpm.MemberOf = {'Plotfamily'};
+
+AO.(ifam).Switch = AO.(ifam).History;
+AO.(ifam).Switch.TangoNames(:,:)       = strcat(dev, '/Switches');
+AO.(ifam).Switch.MemberOf = {'Plotfamily'};
+
+%% PBPMz Family BPMz + 4 XBPM
+ifam = 'PBPMz';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'BPM';
+AO.(ifam).MemberOf                 = {'BPM'; 'VBPM'; 'PlotFamily';};
+AO.(ifam).Monitor.Mode             = Mode;
+%AO.(ifam).Monitor.Mode             = 'Special';
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'mm';
+AO.(ifam).Monitor.PhysicsUnits     = 'm';
+AO.(ifam).Monitor.SpecialFunctionGet = 'getzwithXBPM';
+
+% devliste tangoname status common
+varlist = {
+    1 [ 1  2] 'ANS-C01/DG/BPM.2'  1 'BPMz001'
+    2 [ 1  3] 'ANS-C01/DG/BPM.3'  1 'BPMz002'
+    3 [ 1  4] 'ANS-C01/DG/BPM.4'  1 'BPMz003'
+    4 [ 1  5] 'ANS-C01/DG/BPM.5'  1 'BPMz004'
+    5 [ 1  6] 'ANS-C01/DG/BPM.6'  1 'BPMz005'
+  123 [ 1  8] 'ANS-C01/DG/PBPM.6' 1 'BPMz123'
+    6 [ 1  7] 'ANS-C01/DG/BPM.7'  1 'BPMz006'
+    7 [ 2  1] 'ANS-C02/DG/BPM.1'  1 'BPMz007'
+    8 [ 2  2] 'ANS-C02/DG/BPM.2'  1 'BPMz008'
+    9 [ 2  3] 'ANS-C02/DG/BPM.3'  1 'BPMz009'
+    10 [ 2  4] 'ANS-C02/DG/BPM.4'  1 'BPMz010'
+    11 [ 2  5] 'ANS-C02/DG/BPM.5'  1 'BPMz011'
+    12 [ 2  6] 'ANS-C02/DG/BPM.6'  1 'BPMz012'
+    13 [ 2  7] 'ANS-C02/DG/BPM.7'  1 'BPMz013'
+    14 [ 2  8] 'ANS-C02/DG/BPM.8'  1 'BPMz014'
+    15 [ 3  1] 'ANS-C03/DG/BPM.1'  1 'BPMz015'
+    16 [ 3  2] 'ANS-C03/DG/BPM.2'  1 'BPMz016'
+    17 [ 3  3] 'ANS-C03/DG/BPM.3'  1 'BPMz017'
+    18 [ 3  4] 'ANS-C03/DG/BPM.4'  1 'BPMz018'
+    19 [ 3  5] 'ANS-C03/DG/BPM.5'  1 'BPMz019'
+    20 [ 3  6] 'ANS-C03/DG/BPM.6'  1 'BPMz020'
+    21 [ 3  7] 'ANS-C03/DG/BPM.7'  1 'BPMz021'
+    22 [ 3  8] 'ANS-C03/DG/BPM.8'  1 'BPMz022'
+    23 [ 4  1] 'ANS-C04/DG/BPM.1'  1 'BPMz023'
+    24 [ 4  2] 'ANS-C04/DG/BPM.2'  1 'BPMz024'
+    25 [ 4  3] 'ANS-C04/DG/BPM.3'  1 'BPMz025'
+    26 [ 4  4] 'ANS-C04/DG/BPM.4'  1 'BPMz026'
+    27 [ 4  5] 'ANS-C04/DG/BPM.5'  1 'BPMz027'
+    28 [ 4  6] 'ANS-C04/DG/BPM.6'  1 'BPMz028'
+    29 [ 4  7] 'ANS-C04/DG/BPM.7'  1 'BPMz029'
+    30 [ 5  1] 'ANS-C05/DG/BPM.1'  1 'BPMz030'
+    31 [ 5  2] 'ANS-C05/DG/BPM.2'  1 'BPMz031'
+    32 [ 5  3] 'ANS-C05/DG/BPM.3'  1 'BPMz032'
+    33 [ 5  4] 'ANS-C05/DG/BPM.4'  1 'BPMz033'
+    34 [ 5  5] 'ANS-C05/DG/BPM.5'  1 'BPMz034'
+    35 [ 5  6] 'ANS-C05/DG/BPM.6'  1 'BPMz035'
+   124 [ 5  8] 'ANS-C05/DG/PBPM.6' 1 'BPMz124'
+    36 [ 5  7] 'ANS-C05/DG/BPM.7'  1 'BPMz036'
+    37 [ 6  1] 'ANS-C06/DG/BPM.1'  1 'BPMz037'
+    38 [ 6  2] 'ANS-C06/DG/BPM.2'  1 'BPMz038'
+    39 [ 6  3] 'ANS-C06/DG/BPM.3'  1 'BPMz039'
+    40 [ 6  4] 'ANS-C06/DG/BPM.4'  1 'BPMz040'
+    41 [ 6  5] 'ANS-C06/DG/BPM.5'  1 'BPMz041'
+    42 [ 6  6] 'ANS-C06/DG/BPM.6'  1 'BPMz042'
+    43 [ 6  7] 'ANS-C06/DG/BPM.7'  1 'BPMz043'
+    44 [ 6  8] 'ANS-C06/DG/BPM.8'  1 'BPMz044'
+    45 [ 7  1] 'ANS-C07/DG/BPM.1'  1 'BPMz045'
+    46 [ 7  2] 'ANS-C07/DG/BPM.2'  1 'BPMz046'
+    47 [ 7  3] 'ANS-C07/DG/BPM.3'  1 'BPMz047'
+    48 [ 7  4] 'ANS-C07/DG/BPM.4'  1 'BPMz048'
+    49 [ 7  5] 'ANS-C07/DG/BPM.5'  1 'BPMz049'
+    50 [ 7  6] 'ANS-C07/DG/BPM.6'  1 'BPMz050'
+    51 [ 7  7] 'ANS-C07/DG/BPM.7'  1 'BPMz051'
+    52 [ 7  8] 'ANS-C07/DG/BPM.8'  1 'BPMz052'
+    53 [ 8  1] 'ANS-C08/DG/BPM.1'  1 'BPMz053'
+    54 [ 8  2] 'ANS-C08/DG/BPM.2'  1 'BPMz054'
+    55 [ 8  3] 'ANS-C08/DG/BPM.3'  1 'BPMz055'
+    56 [ 8  4] 'ANS-C08/DG/BPM.4'  1 'BPMz056'
+    57 [ 8  5] 'ANS-C08/DG/BPM.5'  1 'BPMz057'
+    58 [ 8  6] 'ANS-C08/DG/BPM.6'  1 'BPMz058'
+    59 [ 8  7] 'ANS-C08/DG/BPM.7'  1 'BPMz059'
+    60 [ 9  1] 'ANS-C09/DG/BPM.1'  1 'BPMz060'
+    61 [ 9  2] 'ANS-C09/DG/BPM.2'  1 'BPMz061'
+    62 [ 9  3] 'ANS-C09/DG/BPM.3'  1 'BPMz062'
+    63 [ 9  4] 'ANS-C09/DG/BPM.4'  1 'BPMz063'
+    64 [ 9  5] 'ANS-C09/DG/BPM.5'  1 'BPMz064'
+    65 [ 9  6] 'ANS-C09/DG/BPM.6'  1 'BPMz065'
+   125 [ 9  8] 'ANS-C09/DG/PBPM.6' 1 'BPMz125'
+    66 [ 9  7] 'ANS-C09/DG/BPM.7'  1 'BPMz066'
+    67 [10  1] 'ANS-C10/DG/BPM.1'  1 'BPMz067'
+    68 [10  2] 'ANS-C10/DG/BPM.2'  1 'BPMz068'
+    69 [10  3] 'ANS-C10/DG/BPM.3'  1 'BPMz069'
+    70 [10  4] 'ANS-C10/DG/BPM.4'  1 'BPMz070'
+    71 [10  5] 'ANS-C10/DG/BPM.5'  1 'BPMz071'
+    72 [10  6] 'ANS-C10/DG/BPM.6'  1 'BPMz072'
+    73 [10  7] 'ANS-C10/DG/BPM.7'  1 'BPMz073'
+    74 [10  8] 'ANS-C10/DG/BPM.8'  1 'BPMz074'
+    75 [11  1] 'ANS-C11/DG/BPM.1'  1 'BPMz075'
+    76 [11  2] 'ANS-C11/DG/BPM.2'  1 'BPMz076'
+    77 [11  3] 'ANS-C11/DG/BPM.3'  1 'BPMz077'
+    78 [11  4] 'ANS-C11/DG/BPM.4'  1 'BPMz078'
+    79 [11  5] 'ANS-C11/DG/BPM.5'  1 'BPMz079'
+    80 [11  6] 'ANS-C11/DG/BPM.6'  1 'BPMz080'
+    81 [11  7] 'ANS-C11/DG/BPM.7'  1 'BPMz081'
+    82 [11  8] 'ANS-C11/DG/BPM.8'  1 'BPMz082'
+    83 [12  1] 'ANS-C12/DG/BPM.1'  1 'BPMz083'
+    84 [12  2] 'ANS-C12/DG/BPM.2'  1 'BPMz084'
+    85 [12  3] 'ANS-C12/DG/BPM.3'  1 'BPMz085'
+    86 [12  4] 'ANS-C12/DG/BPM.4'  1 'BPMz086'
+    87 [12  5] 'ANS-C12/DG/BPM.5'  1 'BPMz087'
+    88 [12  6] 'ANS-C12/DG/BPM.6'  1 'BPMz088'
+    89 [12  7] 'ANS-C12/DG/BPM.7'  1 'BPMz089'
+    90 [13  1] 'ANS-C13/DG/BPM.1'  1 'BPMz090'
+    91 [13  8] 'ANS-C13/DG/BPM.8'  1 'BPMz121'
+    92 [13  9] 'ANS-C13/DG/BPM.9'  1 'BPMz122'
+    93 [13  2] 'ANS-C13/DG/BPM.2'  1 'BPMz091'
+    94 [13  3] 'ANS-C13/DG/BPM.3'  1 'BPMz092'
+    95 [13  4] 'ANS-C13/DG/BPM.4'  1 'BPMz093'
+    96 [13  5] 'ANS-C13/DG/BPM.5'  1 'BPMz094'
+    97 [13  6] 'ANS-C13/DG/BPM.6'  1 'BPMz095'
+   126 [13 10] 'ANS-C13/DG/PBPM.6' 1 'BPMz126'
+    98 [13  7] 'ANS-C13/DG/BPM.7'  1 'BPMz096'
+    99 [14  1] 'ANS-C14/DG/BPM.1'  1 'BPMz097'
+   100 [14  2] 'ANS-C14/DG/BPM.2'  1 'BPMz098'
+   101 [14  3] 'ANS-C14/DG/BPM.3'  1 'BPMz099'
+   102 [14  4] 'ANS-C14/DG/BPM.4'  1 'BPMz100'
+   103 [14  5] 'ANS-C14/DG/BPM.5'  1 'BPMz101'
+   104 [14  6] 'ANS-C14/DG/BPM.6'  1 'BPMz102'
+   105 [14  7] 'ANS-C14/DG/BPM.7'  1 'BPMz103'
+   106 [14  8] 'ANS-C14/DG/BPM.8'  1 'BPMz104'
+   107 [15  1] 'ANS-C15/DG/BPM.1'  1 'BPMz105'
+   108 [15  2] 'ANS-C15/DG/BPM.2'  1 'BPMz106'
+   109 [15  3] 'ANS-C15/DG/BPM.3'  1 'BPMz107'
+   110 [15  4] 'ANS-C15/DG/BPM.4'  1 'BPMz108'
+   111 [15  5] 'ANS-C15/DG/BPM.5'  1 'BPMz109'
+   112 [15  6] 'ANS-C15/DG/BPM.6'  1 'BPMz110'
+   113 [15  7] 'ANS-C15/DG/BPM.7'  1 'BPMz111'
+   114 [15  8] 'ANS-C15/DG/BPM.8'  1 'BPMz112'
+   115 [16  1] 'ANS-C16/DG/BPM.1'  1 'BPMz113'
+   116 [16  2] 'ANS-C16/DG/BPM.2'  1 'BPMz114'
+   117 [16  3] 'ANS-C16/DG/BPM.3'  1 'BPMz115'
+   118 [16  4] 'ANS-C16/DG/BPM.4'  1 'BPMz116'
+   119 [16  5] 'ANS-C16/DG/BPM.5'  1 'BPMz117'
+   120 [16  6] 'ANS-C16/DG/BPM.6'  1 'BPMz118'
+   121 [16  7] 'ANS-C16/DG/BPM.7'  1 'BPMz119'
+   122 [ 1  1] 'ANS-C01/DG/BPM.1'  1 'BPMz120'
+    };
+
+devnumber = length(varlist);
+
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(devnumber,1);
+AO.(ifam).Monitor.Physics2HWParams(:,:) = 1e3*ones(devnumber,1);
+AO.(ifam).Monitor.Handles(:,1)          = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType              = 'Scalar';
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames{k}  = strcat(AO.(ifam).DeviceName{k}, '/ZPosSA');
+end
+
+%===========================================================
+% Corrector data: status field designates if corrector in use
+%===========================================================
+
+%% BLx : Source points
+ifam = 'BeamLine';
+
+AO.(ifam).FamilyName  = ifam;
+AO.(ifam).FamilyType  = 'Diagnostic';
+AO.(ifam).MemberOf    = {'DG'; 'PlotFamily'; 'Archivable'};
+
+% D2 en C08: ASTROPHYSICS
+% AO.(ifam).CommonNames = {'INJECTION';'ODE'; 'CRYOMODULE2'; 'SMIS'; 'SEXTANTS'; ...
+%     'CRYOMODULE1'; 'AILES'; 'PSICHE'; 'PLEIADES'; 'DISCO'; ...
+%     'DESIRS'; 'METRO'; 'SDM06'; 'CRISTAL'; 'DEIMOS'; 'GALAXIES'; 'TEMPO'; ...
+%     'SDL09'; 'SAMBA'; 'MICROXM'; 'PX1'; 'PX2'; 'SWING'; ...
+%     'ANTARES'; 'SDL13'; 'DIFFABS'; 'MICROFOC'; 'SIXS'; 'CASSIOPEE'; 'SIRIUS'; 'LUCIA'}; % to be completed with new dipoles
+% AO.(ifam).DeviceList  = [1 1; 1 2; 2 1; 2 2; 2 3; 3 1; 3 2; 3 3; 4 1; 4 2; ...
+%     5 1; 5 2; 6 1; 6 2; 7 1; 7 2; 8 1; ...
+%     9 1; 9 2; 10 1; 10 2; 11 1; 11 2; 12 1; ...
+%     13 1; 13 2;14 1; 14 2; 15 1; 15 2; 16 1];
+
+% AO.(ifam).DeviceName             = { ...
+%     'ANS-C01/DG/CALC-SDL-POSITION-ANGLE'; ...
+%     'ANS-C01/DG/CALC-D2-POSITION-ANGLE'; ...
+%     'ANS-C02/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C02/DG/CALC-D1-POSITION-ANGLE'; ...
+%     'ANS-C02/DG/CALC-SDC-POSITION-ANGLE'; ...
+%     'ANS-C03/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C03/DG/CALC-D1-POSITION-ANGLE'; ...
+%     'ANS-C03/DG/CALC-SDC-POSITION-ANGLE'; ...
+%     'ANS-C04/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C04/DG/CALC-D2-POSITION-ANGLE'; ...
+%     'ANS-C05/DG/CALC-SDL-POSITION-ANGLE'; ...
+%     'ANS-C05/DG/CALC-D2-POSITION-ANGLE'; ...
+%     'ANS-C06/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C06/DG/CALC-SDC-POSITION-ANGLE'; ...
+%     'ANS-C07/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C07/DG/CALC-SDC-POSITION-ANGLE'; ...
+%     'ANS-C08/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C09/DG/CALC-SDL-POSITION-ANGLE'; ...
+%     'ANS-C09/DG/CALC-D2-POSITION-ANGLE'; ...
+%     'ANS-C10/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C10/DG/CALC-SDC-POSITION-ANGLE'; ...
+%     'ANS-C11/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C11/DG/CALC-SDC-POSITION-ANGLE'; ...
+%     'ANS-C12/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C13/DG/CALC-SDL-POSITION-ANGLE'; ...
+%     'ANS-C13/DG/CALC-D2-POSITION-ANGLE' ; ...
+%     'ANS-C14/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C14/DG/CALC-SDC-POSITION-ANGLE'; ...
+%     'ANS-C15/DG/CALC-SDM-POSITION-ANGLE'; ...
+%     'ANS-C15/DG/CALC-SDC-POSITION-ANGLE'; ...
+%     'ANS-C16/DG/CALC-SDM-POSITION-ANGLE'};
+
+% AO.(ifam).ElementList = (1:size(AO.(ifam).DeviceList,1))';
+% AO.(ifam).Status      = ones(size(AO.(ifam).DeviceList,1),1);
+
+
+% ID based BLs
+%spos = getspos('BPMx',getidbpmlist)
+%spos2 = zeros(24,1);
+%spos2(2:end) = (spos(3:2:end)+spos(2:2:end-1))/2;
+% ODE, SAMBA, DIFFABS, AILES, SMIS
+% dippos = getspos('BEND',[1 1])
+% Position = [spos2(1); dippos(2); spos2(2); dippos(3); spos2(3:4); dippos(5); spos2(5:6); dippos(8); spos2(7);  dippos(10); spos2(8:13); dippos(18); spos2(14:19); dippos(26); spos2(20:end)];
+% AO.(ifam).Position = [
+%     0
+%     14.7752
+%     22.0301
+%     28.2320
+%     33.1454
+%     44.2619
+%     50.4638
+%     55.3772
+%     66.4936
+%     78.2007
+%     88.5230
+%     103.2981
+%     110.5530
+%     121.6689
+%     132.7853
+%     143.9012
+%     155.0177
+%     177.0476
+%     191.8227
+%     199.0776
+%     210.1934
+%     221.3099
+%     232.4258
+%     243.5422
+%     265.5721
+%     280.3473
+%     287.6022
+%     298.7180
+%     309.8345
+%     320.9503
+%     332.0668];
+
+varlist = {
+  1 [ 1  1] 'ANS-C01/DG/CALC-SDL-POSITION-ANGLE '  1 'INJECTION       ' 0.000000e+00
+  2 [ 1  2] 'ANS-C01/DG/CALC-D2-POSITION-ANGLE  '  1 'ODE             ' 1.477520e+01
+  3 [ 2  1] 'ANS-C02/DG/CALC-SDM-POSITION-ANGLE '  1 'CRYOMODULE2     ' 2.203010e+01
+  4 [ 2  2] 'ANS-C02/DG/CALC-D1-POSITION-ANGLE  '  1 'SMIS            ' 2.823200e+01
+  5 [ 2  3] 'ANS-C02/DG/CALC-SDC-POSITION-ANGLE '  1 'ALPHA           ' 3.314540e+01
+  6 [ 3  1] 'ANS-C03/DG/CALC-SDM-POSITION-ANGLE '  1 'CRYOMODULE1     ' 4.426190e+01
+  7 [ 3  2] 'ANS-C03/DG/CALC-D1-POSITION-ANGLE  '  1 'AILES           ' 5.046380e+01
+  8 [ 3  3] 'ANS-C03/DG/CALC-SDC-POSITION-ANGLE '  1 'PSICHE          ' 5.537720e+01
+  9 [ 4  1] 'ANS-C04/DG/CALC-SDM-POSITION-ANGLE '  1 'PLEIADES        ' 6.649360e+01
+ 10 [ 4  2] 'ANS-C04/DG/CALC-D2-POSITION-ANGLE  '  1 'DISCO           ' 7.820070e+01
+ 11 [ 5  1] 'ANS-C05/DG/CALC-SDL-POSITION-ANGLE '  1 'DESIRS          ' 8.852300e+01
+ 12 [ 5  2] 'ANS-C05/DG/CALC-D2-POSITION-ANGLE  '  1 'METRO           ' 1.032981e+02
+ 13 [ 6  1] 'ANS-C06/DG/CALC-SDM-POSITION-ANGLE '  1 'SDM06           ' 1.105530e+02
+ 14 [ 6  2] 'ANS-C06/DG/CALC-SDC-POSITION-ANGLE '  1 'CRISTAL         ' 1.216689e+02
+ 15 [ 7  1] 'ANS-C07/DG/CALC-SDM-POSITION-ANGLE '  1 'DEIMOS          ' 1.327853e+02
+ 16 [ 7  2] 'ANS-C07/DG/CALC-SDC-POSITION-ANGLE '  1 'GALAXIES        ' 1.439012e+02
+ 17 [ 8  1] 'ANS-C08/DG/CALC-SDM-POSITION-ANGLE '  1 'TEMPO           ' 1.550177e+02
+ 18 [ 9  1] 'ANS-C09/DG/CALC-SDL-POSITION-ANGLE '  1 'FBT             ' 1.770476e+02
+ 19 [ 9  2] 'ANS-C09/DG/CALC-D2-POSITION-ANGLE  '  1 'SAMBA           ' 1.918227e+02
+ 20 [10  1] 'ANS-C10/DG/CALC-SDM-POSITION-ANGLE '  1 'MICROXM         ' 1.990776e+02
+ 21 [10  2] 'ANS-C10/DG/CALC-SDC-POSITION-ANGLE '  1 'PX1             ' 2.101934e+02
+ 22 [11  1] 'ANS-C11/DG/CALC-SDM-POSITION-ANGLE '  1 'PX2             ' 2.213099e+02
+ 23 [11  2] 'ANS-C11/DG/CALC-SDC-POSITION-ANGLE '  1 'SWING           ' 2.324258e+02
+ 24 [12  1] 'ANS-C12/DG/CALC-SDM-POSITION-ANGLE '  1 'ANTARES         ' 2.435422e+02
+ 25 [13  1] 'ANS-C13/DG/CALC-SDL-POSITION-ANGLE '  1 'NANOSCOPIUM     ' 2.655721e+02
+ 26 [13  2] 'ANS-C13/DG/CALC-D2-POSITION-ANGLE  '  1 'DIFFABS         ' 2.803473e+02
+ 27 [14  1] 'ANS-C14/DG/CALC-SDM-POSITION-ANGLE '  1 'SEXTANTS        ' 2.876022e+02
+ 28 [14  2] 'ANS-C14/DG/CALC-SDC-POSITION-ANGLE '  1 'SIXS            ' 2.987180e+02
+ 29 [15  1] 'ANS-C15/DG/CALC-SDM-POSITION-ANGLE '  1 'CASSIOPEE       ' 3.098345e+02
+ 30 [15  2] 'ANS-C15/DG/CALC-SDC-POSITION-ANGLE '  1 'SIRIUS          ' 3.209503e+02
+ 31 [16  1] 'ANS-C16/DG/CALC-SDM-POSITION-ANGLE '  1 'LUCIA           ' 3.320668e+02
+};
+
+devnumber = length(varlist);
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Position(k,:)      = varlist{k,6};
+end
+
+AO.(ifam).Monitor.Mode                   = Mode; %'Simulator';  % Mode;
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.TangoNames(:,:)        = strcat(AO.(ifam).DeviceName, '/positionX');
+
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HW2PhysicsParams       = 1e-6;
+AO.(ifam).Monitor.Physics2HWParams       = 1e6;
+AO.(ifam).Monitor.HWUnits                = 'um';
+AO.(ifam).Monitor.PhysicsUnits           = 'm';
+
+
+AO.(ifam).Positionx = AO.(ifam).Monitor;
+AO.(ifam).Positionx.MemberOf            = {'PlotFamily'};
+
+AO.(ifam).Anglex = AO.(ifam).Positionx;
+
+AO.(ifam).Anglex.HWUnits                = 'urad';
+AO.(ifam).Anglex.PhysicsUnits           = 'rad';
+AO.(ifam).Anglex.TangoNames(:,:)        = strcat(AO.(ifam).DeviceName, '/angleX');
+
+AO.(ifam).Positionz = AO.(ifam).Positionx;
+AO.(ifam).Positionz.TangoNames(:,:)     = strcat(AO.(ifam).DeviceName, '/positionZ');
+
+AO.(ifam).Anglez = AO.(ifam).Anglex;
+AO.(ifam).Anglez.TangoNames(:,:)        = strcat(AO.(ifam).DeviceName, '/angleZ');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% SLOW HORIZONTAL CORRECTORS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = 'HCOR';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'COR';
+AO.(ifam).MemberOf                 = {'MachineConfig'; 'HCOR'; 'COR'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+
+AO.(ifam).Monitor.Mode             = Mode;
+AO.(ifam).Monitor.DataType         = 'Scalar';
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'A';
+AO.(ifam).Monitor.PhysicsUnits     = 'rad';
+AO.(ifam).Monitor.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn    = @k2amp;
+
+AO.(ifam).Setpoint.Mode             = Mode;
+AO.(ifam).Setpoint.DataType         = 'Scalar';
+AO.(ifam).Setpoint.Units            = 'Hardware';
+AO.(ifam).Setpoint.HWUnits          = 'A';
+AO.(ifam).Setpoint.PhysicsUnits     = 'rad';
+AO.(ifam).Setpoint.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Setpoint.Physics2HWFcn    = @k2amp;
+
+AO.(ifam).Voltage.Mode             = Mode;
+AO.(ifam).Voltage.DataType         = 'Scalar';
+AO.(ifam).Voltage.Units            = 'Hardware';
+AO.(ifam).Voltage.HWUnits          = 'V';
+AO.(ifam).Voltage.PhysicsUnits     = 'rad';
+AO.(ifam).Voltage.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Voltage.Physics2HWFcn    = @k2amp;
+
+% % Get mapping from TANGO static database
+AO.(ifam).Voltage.PhysicsUnits     = 'rad';
+AO.(ifam).Voltage.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Voltage.Physics2HWFcn    = @k2amp;
+
+% elemlist devlist tangoname       status  common  attR           attW      range
+varlist = {
+     1  [ 1 1] 'ANS-C01/AE/S1-CH      ' 1 'HCOR001' 'current   ' 'currentPM ' [-11.0  11.0]
+     2  [ 1 2] 'ANS-C01/AE/S2-CH      ' 0 'HCOR002' 'current   ' 'currentPM ' [-11.0  11.0]
+     3  [ 1 3] 'ANS-C01/AE/S3.1-CH    ' 0 'HCOR003' 'current   ' 'currentPM ' [-11.0  11.0]
+     4  [ 1 4] 'ANS-C01/AE/S4-CH      ' 1 'HCOR004' 'current   ' 'currentPM ' [-11.0  11.0]
+     5  [ 1 5] 'ANS-C01/AE/S3.2-CH    ' 0 'HCOR005' 'current   ' 'currentPM ' [-11.0  11.0]
+     6  [ 1 6] 'ANS-C01/AE/S5-CH      ' 0 'HCOR006' 'current   ' 'currentPM ' [-11.0  11.0]
+     7  [ 1 7] 'ANS-C01/AE/S6-CH      ' 1 'HCOR007' 'current   ' 'currentPM ' [-11.0  11.0]
+     8  [ 2 1] 'ANS-C02/AE/S8.1-CH    ' 1 'HCOR008' 'current   ' 'currentPM ' [-11.0  11.0]
+     9  [ 2 2] 'ANS-C02/AE/S7.1-CH    ' 0 'HCOR009' 'current   ' 'currentPM ' [-11.0  11.0]
+    10  [ 2 3] 'ANS-C02/AE/S9.1-CH    ' 0 'HCOR010' 'current   ' 'currentPM ' [-11.0  11.0]
+    11  [ 2 4] 'ANS-C02/AE/S10.1-CH   ' 1 'HCOR011' 'current   ' 'currentPM ' [-11.0  11.0]
+    12  [ 2 5] 'ANS-C02/AE/S10.2-CH   ' 1 'HCOR012' 'current   ' 'currentPM ' [-11.0  11.0]
+    13  [ 2 6] 'ANS-C02/AE/S9.2-CH    ' 0 'HCOR013' 'current   ' 'currentPM ' [-11.0  11.0]
+    14  [ 2 7] 'ANS-C02/AE/S7.2-CH    ' 0 'HCOR014' 'current   ' 'currentPM ' [-11.0  11.0]
+    15  [ 2 8] 'ANS-C02/AE/S8.2-CH    ' 1 'HCOR015' 'current   ' 'currentPM ' [-11.0  11.0]
+    16  [ 3 1] 'ANS-C03/AE/S8.1-CH    ' 1 'HCOR016' 'current   ' 'currentPM ' [-11.0  11.0]
+    17  [ 3 2] 'ANS-C03/AE/S7.1-CH    ' 0 'HCOR017' 'current   ' 'currentPM ' [-11.0  11.0]
+    18  [ 3 3] 'ANS-C03/AE/S9.1-CH    ' 0 'HCOR018' 'current   ' 'currentPM ' [-11.0  11.0]
+    19  [ 3 4] 'ANS-C03/AE/S10.1-CH   ' 1 'HCOR019' 'current   ' 'currentPM ' [-11.0  11.0]
+    20  [ 3 5] 'ANS-C03/AE/S10.2-CH   ' 1 'HCOR020' 'current   ' 'currentPM ' [-11.0  11.0]
+    21  [ 3 6] 'ANS-C03/AE/S9.2-CH    ' 0 'HCOR021' 'current   ' 'currentPM ' [-11.0  11.0]
+    22  [ 3 7] 'ANS-C03/AE/S7.2-CH    ' 0 'HCOR022' 'current   ' 'currentPM ' [-11.0  11.0]
+    23  [ 3 8] 'ANS-C03/AE/S8.2-CH    ' 1 'HCOR023' 'current   ' 'currentPM ' [-11.0  11.0]
+    24  [ 4 1] 'ANS-C04/AE/S6-CH      ' 1 'HCOR024' 'current   ' 'currentPM ' [-11.0  11.0]
+    25  [ 4 2] 'ANS-C04/AE/S5-CH      ' 0 'HCOR025' 'current   ' 'currentPM ' [-11.0  11.0]
+    26  [ 4 3] 'ANS-C04/AE/S3.1-CH    ' 0 'HCOR026' 'current   ' 'currentPM ' [-11.0  11.0]
+    27  [ 4 4] 'ANS-C04/AE/S4-CH      ' 1 'HCOR027' 'current   ' 'currentPM ' [-11.0  11.0]
+    28  [ 4 5] 'ANS-C04/AE/S3.2-CH    ' 0 'HCOR028' 'current   ' 'currentPM ' [-11.0  11.0]
+    29  [ 4 6] 'ANS-C04/AE/S2-CH      ' 0 'HCOR029' 'current   ' 'currentPM ' [-11.0  11.0]
+    30  [ 4 7] 'ANS-C04/AE/S1-CH      ' 1 'HCOR030' 'current   ' 'currentPM ' [-11.0  11.0]
+    31  [ 5 8] 'ANS-C05/EI/L-HU640    ' 0 'HCOR121' 'currentCHE' 'currentCHE' [ -5   5]
+    32  [ 5 9] 'ANS-C05/EI/L-HU640    ' 0 'HCOR122' 'currentCHS' 'currentCHS' [ -5   5]
+    33  [ 5 1] 'ANS-C05/AE/S1-CH      ' 1 'HCOR031' 'current   ' 'currentPM ' [-11.0  11.0]
+    34  [ 5 2] 'ANS-C05/AE/S2-CH      ' 0 'HCOR032' 'current   ' 'currentPM ' [-11.0  11.0]
+    35  [ 5 3] 'ANS-C05/AE/S3.1-CH    ' 0 'HCOR033' 'current   ' 'currentPM ' [-11.0  11.0]
+    36  [ 5 4] 'ANS-C05/AE/S4-CH      ' 1 'HCOR034' 'current   ' 'currentPM ' [-11.0  11.0]
+    37  [ 5 5] 'ANS-C05/AE/S3.2-CH    ' 0 'HCOR035' 'current   ' 'currentPM ' [-11.0  11.0]
+    38  [ 5 6] 'ANS-C05/AE/S5-CH      ' 0 'HCOR036' 'current   ' 'currentPM ' [-11.0  11.0]
+    39  [ 5 7] 'ANS-C05/AE/S6-CH      ' 1 'HCOR037' 'current   ' 'currentPM ' [-11.0  11.0]
+    40  [ 6 1] 'ANS-C06/AE/S8.1-CH    ' 1 'HCOR038' 'current   ' 'currentPM ' [-11.0  11.0]
+    41  [ 6 2] 'ANS-C06/AE/S7.1-CH    ' 0 'HCOR039' 'current   ' 'currentPM ' [-11.0  11.0]
+    42  [ 6 3] 'ANS-C06/AE/S9.1-CH    ' 0 'HCOR040' 'current   ' 'currentPM ' [-11.0  11.0]
+    43  [ 6 4] 'ANS-C06/AE/S10.1-CH   ' 1 'HCOR041' 'current   ' 'currentPM ' [-11.0  11.0]
+    44  [ 6 5] 'ANS-C06/AE/S10.2-CH   ' 1 'HCOR042' 'current   ' 'currentPM ' [-11.0  11.0]
+    45  [ 6 6] 'ANS-C06/AE/S9.2-CH    ' 0 'HCOR043' 'current   ' 'currentPM ' [-11.0  11.0]
+    46  [ 6 7] 'ANS-C06/AE/S7.2-CH    ' 0 'HCOR044' 'current   ' 'currentPM ' [-11.0  11.0]
+    47  [ 6 8] 'ANS-C06/AE/S8.2-CH    ' 1 'HCOR045' 'current   ' 'currentPM ' [-11.0  11.0]
+    48  [ 7 1] 'ANS-C07/AE/S8.1-CH    ' 1 'HCOR046' 'current   ' 'currentPM ' [-11.0  11.0]
+    49  [ 7 2] 'ANS-C07/AE/S7.1-CH    ' 0 'HCOR047' 'current   ' 'currentPM ' [-11.0  11.0]
+    50  [ 7 3] 'ANS-C07/AE/S9.1-CH    ' 0 'HCOR048' 'current   ' 'currentPM ' [-11.0  11.0]
+    51  [ 7 4] 'ANS-C07/AE/S10.1-CH   ' 1 'HCOR049' 'current   ' 'currentPM ' [-11.0  11.0]
+    52  [ 7 5] 'ANS-C07/AE/S10.2-CH   ' 1 'HCOR050' 'current   ' 'currentPM ' [-11.0  11.0]
+    53  [ 7 6] 'ANS-C07/AE/S9.2-CH    ' 0 'HCOR051' 'current   ' 'currentPM ' [-11.0  11.0]
+    54  [ 7 7] 'ANS-C07/AE/S7.2-CH    ' 0 'HCOR052' 'current   ' 'currentPM ' [-11.0  11.0]
+    55  [ 7 8] 'ANS-C07/AE/S8.2-CH    ' 1 'HCOR053' 'current   ' 'currentPM ' [-11.0  11.0]
+    56  [ 8 1] 'ANS-C08/AE/S6-CH      ' 1 'HCOR054' 'current   ' 'currentPM ' [-11.0  11.0]
+    57  [ 8 2] 'ANS-C08/AE/S5-CH      ' 0 'HCOR055' 'current   ' 'currentPM ' [-11.0  11.0]
+    58  [ 8 3] 'ANS-C08/AE/S3.1-CH    ' 0 'HCOR056' 'current   ' 'currentPM ' [-11.0  11.0]
+    59  [ 8 4] 'ANS-C08/AE/S4-CH      ' 1 'HCOR057' 'current   ' 'currentPM ' [-11.0  11.0]
+    60  [ 8 5] 'ANS-C08/AE/S3.2-CH    ' 0 'HCOR058' 'current   ' 'currentPM ' [-11.0  11.0]
+    61  [ 8 6] 'ANS-C08/AE/S2-CH      ' 0 'HCOR059' 'current   ' 'currentPM ' [-11.0  11.0]
+    62  [ 8 7] 'ANS-C08/AE/S1-CH      ' 1 'HCOR060' 'current   ' 'currentPM ' [-11.0  11.0]
+    63  [ 9 1] 'ANS-C09/AE/S1-CH      ' 1 'HCOR061' 'current   ' 'currentPM ' [-11.0  11.0]
+    64  [ 9 2] 'ANS-C09/AE/S2-CH      ' 0 'HCOR062' 'current   ' 'currentPM ' [-11.0  11.0]
+    65  [ 9 3] 'ANS-C09/AE/S3.1-CH    ' 0 'HCOR063' 'current   ' 'currentPM ' [-11.0  11.0]
+    66  [ 9 4] 'ANS-C09/AE/S4-CH      ' 1 'HCOR064' 'current   ' 'currentPM ' [-11.0  11.0]
+    67  [ 9 5] 'ANS-C09/AE/S3.2-CH    ' 0 'HCOR065' 'current   ' 'currentPM ' [-11.0  11.0]
+    68  [ 9 6] 'ANS-C09/AE/S5-CH      ' 0 'HCOR066' 'current   ' 'currentPM ' [-11.0  11.0]
+    69  [ 9 7] 'ANS-C09/AE/S6-CH      ' 1 'HCOR067' 'current   ' 'currentPM ' [-11.0  11.0]
+    70  [10 1] 'ANS-C10/AE/S8.1-CH    ' 1 'HCOR068' 'current   ' 'currentPM ' [-11.0  11.0]
+    71  [10 2] 'ANS-C10/AE/S7.1-CH    ' 0 'HCOR069' 'current   ' 'currentPM ' [-11.0  11.0]
+    72  [10 3] 'ANS-C10/AE/S9.1-CH    ' 0 'HCOR070' 'current   ' 'currentPM ' [-11.0  11.0]
+    73  [10 4] 'ANS-C10/AE/S10.1-CH   ' 1 'HCOR071' 'current   ' 'currentPM ' [-11.0  11.0]
+    74  [10 5] 'ANS-C10/AE/S10.2-CH   ' 1 'HCOR072' 'current   ' 'currentPM ' [-11.0  11.0]
+    75  [10 6] 'ANS-C10/AE/S9.2-CH    ' 0 'HCOR073' 'current   ' 'currentPM ' [-11.0  11.0]
+    76  [10 7] 'ANS-C10/AE/S7.2-CH    ' 0 'HCOR074' 'current   ' 'currentPM ' [-11.0  11.0]
+    77  [10 8] 'ANS-C10/AE/S8.2-CH    ' 1 'HCOR075' 'current   ' 'currentPM ' [-11.0  11.0]
+    78  [11 1] 'ANS-C11/AE/S8.1-CH    ' 1 'HCOR076' 'current   ' 'currentPM ' [-11.0  11.0]
+    79  [11 2] 'ANS-C11/AE/S7.1-CH    ' 0 'HCOR077' 'current   ' 'currentPM ' [-11.0  11.0]
+    80  [11 3] 'ANS-C11/AE/S9.1-CH    ' 0 'HCOR078' 'current   ' 'currentPM ' [-11.0  11.0]
+    81  [11 4] 'ANS-C11/AE/S10.1-CH   ' 1 'HCOR079' 'current   ' 'currentPM ' [-11.0  11.0]
+    82  [11 5] 'ANS-C11/AE/S10.2-CH   ' 1 'HCOR080' 'current   ' 'currentPM ' [-11.0  11.0]
+    83  [11 6] 'ANS-C11/AE/S9.2-CH    ' 0 'HCOR081' 'current   ' 'currentPM ' [-11.0  11.0]
+    84  [11 7] 'ANS-C11/AE/S7.2-CH    ' 0 'HCOR082' 'current   ' 'currentPM ' [-11.0  11.0]
+    85  [11 8] 'ANS-C11/AE/S8.2-CH    ' 1 'HCOR083' 'current   ' 'currentPM ' [-11.0  11.0]
+    86  [12 1] 'ANS-C12/AE/S6-CH      ' 1 'HCOR084' 'current   ' 'currentPM ' [-11.0  11.0]
+    87  [12 2] 'ANS-C12/AE/S5-CH      ' 0 'HCOR085' 'current   ' 'currentPM ' [-11.0  11.0]
+    88  [12 3] 'ANS-C12/AE/S3.1-CH    ' 0 'HCOR086' 'current   ' 'currentPM ' [-11.0  11.0]
+    89  [12 4] 'ANS-C12/AE/S4-CH      ' 1 'HCOR087' 'current   ' 'currentPM ' [-11.0  11.0]
+    90  [12 5] 'ANS-C12/AE/S3.2-CH    ' 0 'HCOR088' 'current   ' 'currentPM ' [-11.0  11.0]
+    91  [12 6] 'ANS-C12/AE/S2-CH      ' 0 'HCOR089' 'current   ' 'currentPM ' [-11.0  11.0]
+    92  [12 7] 'ANS-C12/AE/S1-CH      ' 1 'HCOR090' 'current   ' 'currentPM ' [-11.0  11.0]
+    93  [13 8] 'ANS-C13/AE/S12.1-CH   ' 1 'HCOR123' 'current   ' 'currentPM ' [-11.0  11.0]
+    94  [13 9] 'ANS-C13/AE/S12.2-CH   ' 0 'HCOR124' 'current   ' 'currentPM ' [-11.0  11.0]
+    95  [13 1] 'ANS-C13/AE/S1-CH      ' 1 'HCOR091' 'current   ' 'currentPM ' [-11.0  11.0]
+    96  [13 2] 'ANS-C13/AE/S2-CH      ' 0 'HCOR092' 'current   ' 'currentPM ' [-11.0  11.0]
+    97  [13 3] 'ANS-C13/AE/S3.1-CH    ' 0 'HCOR093' 'current   ' 'currentPM ' [-11.0  11.0]
+    98  [13 4] 'ANS-C13/AE/S4-CH      ' 1 'HCOR094' 'current   ' 'currentPM ' [-11.0  11.0]
+    99  [13 5] 'ANS-C13/AE/S3.2-CH    ' 0 'HCOR095' 'current   ' 'currentPM ' [-11.0  11.0]
+   100  [13 6] 'ANS-C13/AE/S5-CH      ' 0 'HCOR096' 'current   ' 'currentPM ' [-11.0  11.0]
+   101  [13 7] 'ANS-C13/AE/S6-CH      ' 1 'HCOR097' 'current   ' 'currentPM ' [-11.0  11.0]
+   102  [14 1] 'ANS-C14/AE/S8.1-CH    ' 1 'HCOR098' 'current   ' 'currentPM ' [-11.0  11.0]
+   103  [14 2] 'ANS-C14/AE/S7.1-CH    ' 0 'HCOR099' 'current   ' 'currentPM ' [-11.0  11.0]
+   104  [14 3] 'ANS-C14/AE/S9.1-CH    ' 0 'HCOR100' 'current   ' 'currentPM ' [-11.0  11.0]
+   105  [14 4] 'ANS-C14/AE/S10.1-CH   ' 1 'HCOR101' 'current   ' 'currentPM ' [-11.0  11.0]
+   106  [14 5] 'ANS-C14/AE/S10.2-CH   ' 1 'HCOR102' 'current   ' 'currentPM ' [-11.0  11.0]
+   107  [14 6] 'ANS-C14/AE/S9.2-CH    ' 0 'HCOR103' 'current   ' 'currentPM ' [-11.0  11.0]
+   108  [14 7] 'ANS-C14/AE/S7.2-CH    ' 0 'HCOR104' 'current   ' 'currentPM ' [-11.0  11.0]
+   109  [14 8] 'ANS-C14/AE/S8.2-CH    ' 1 'HCOR105' 'current   ' 'currentPM ' [-11.0  11.0]
+   110  [15 1] 'ANS-C15/AE/S8.1-CH    ' 1 'HCOR106' 'current   ' 'currentPM ' [-11.0  11.0]
+   111  [15 2] 'ANS-C15/AE/S7.1-CH    ' 0 'HCOR107' 'current   ' 'currentPM ' [-11.0  11.0]
+   112  [15 3] 'ANS-C15/AE/S9.1-CH    ' 0 'HCOR108' 'current   ' 'currentPM ' [-11.0  11.0]
+   113  [15 4] 'ANS-C15/AE/S10.1-CH   ' 1 'HCOR109' 'current   ' 'currentPM ' [-11.0  11.0]
+   114  [15 5] 'ANS-C15/AE/S10.2-CH   ' 1 'HCOR110' 'current   ' 'currentPM ' [-11.0  11.0]
+   115  [15 6] 'ANS-C15/AE/S9.2-CH    ' 0 'HCOR111' 'current   ' 'currentPM ' [-11.0  11.0]
+   116  [15 7] 'ANS-C15/AE/S7.2-CH    ' 0 'HCOR112' 'current   ' 'currentPM ' [-11.0  11.0]
+   117  [15 8] 'ANS-C15/AE/S8.2-CH    ' 1 'HCOR113' 'current   ' 'currentPM ' [-11.0  11.0]
+   118  [16 1] 'ANS-C16/AE/S6-CH      ' 1 'HCOR114' 'current   ' 'currentPM ' [-11.0  11.0]
+   119  [16 2] 'ANS-C16/AE/S5-CH      ' 0 'HCOR115' 'current   ' 'currentPM ' [-11.0  11.0]
+   120  [16 3] 'ANS-C16/AE/S3.1-CH    ' 0 'HCOR116' 'current   ' 'currentPM ' [-11.0  11.0]
+   121  [16 4] 'ANS-C16/AE/S4-CH      ' 1 'HCOR117' 'current   ' 'currentPM ' [-11.0  11.0]
+   122  [16 5] 'ANS-C16/AE/S3.2-CH    ' 0 'HCOR118' 'current   ' 'currentPM ' [-11.0  11.0]
+   123  [16 6] 'ANS-C16/AE/S2-CH      ' 0 'HCOR119' 'current   ' 'currentPM ' [-11.0  11.0]
+   124  [16 7] 'ANS-C16/AE/S1-CH      ' 1 'HCOR120' 'current   ' 'currentPM ' [-11.0  11.0]
+    };
+
+devnumber = length(varlist);
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).Gain        = ones(devnumber,1);
+AO.(ifam).Roll        = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Setpoint.TangoNames = cell(devnumber,1);
+AO.(ifam).Setpoint.Range = zeros(devnumber,2);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames(k)  = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)));
+    AO.(ifam).Setpoint.TangoNames(k) = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,7)));
+    AO.(ifam).Setpoint.Range(k,:)      = varlist{k,8};
+    % information for getrunflag
+    AO.(ifam).Setpoint.RunFlagFcn = @corgetrunflag;
+    AO.(ifam).Setpoint.RampRate = 1;
+end
+
+%Load fields from datablock
+% AT use the "A-coefficients" for correctors plus an offset
+setao(AO);
+[C, Leff, MagnetType, coefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+for ii = 1:devnumber,
+    AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)   = coefficients;
+    AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)   = coefficients;
+    AO.(ifam).Setpoint.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.Physics2HWParams{1}(ii,:)  = coefficients;
+end
+
+
+AO.(ifam).Monitor.HW2PhysicsParams{1}(31,:)   = [0 0 0 0 0 0  2.475e-4 0]; % T.m
+AO.(ifam).Monitor.Physics2HWParams{1}(31,:)   = [0 0 0 0 0 0  2.475e-4 0]; % T.m
+AO.(ifam).Setpoint.HW2PhysicsParams{1}(31,:)  = [0 0 0 0 0 0  2.475e-4 0]; % T.m
+AO.(ifam).Setpoint.Physics2HWParams{1}(31,:)  = [0 0 0 0 0 0  2.475e-4 0]; % T.m
+AO.(ifam).Monitor.HW2PhysicsParams{1}(32,:)   = [0 0 0 0 0 0 -2.443e-4 0]; % T.m
+AO.(ifam).Monitor.Physics2HWParams{1}(32,:)   = [0 0 0 0 0 0 -2.443e-4 0]; % T.m
+AO.(ifam).Setpoint.HW2PhysicsParams{1}(32,:)  = [0 0 0 0 0 0 -2.443e-4 0]; % T.m
+AO.(ifam).Setpoint.Physics2HWParams{1}(32,:)  = [0 0 0 0 0 0 -2.443e-4 0]; % T.m
+
+AO.(ifam).Setpoint.Tolerance(:,:)    = 1e-2*ones(devnumber,1);
+% Warning optics dependent cf. Low alpha lattice
+AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*5e-6*2; % 2*5 urad (half used for kicking)
+%AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*0.5e-4*1; % 2*25 urad (half used for kicking)
+AO.(ifam).Setpoint.DeltaRespMat(31)  = 10e-6; %rad
+AO.(ifam).Setpoint.DeltaRespMat(32)  = 10e-6; %rad
+
+dummy = strcat(AO.(ifam).DeviceName,'/voltage');
+AO.(ifam).Voltage.TangoNames(:,:)     = {dummy{:},'ANS-C05/EI/L-HU640/currentCHE', 'ANS-C05/EI/L-HU640/currentCHS'}';
+
+AO.(ifam).Monitor.MemberOf      = {'PlotFamily'};
+AO.(ifam).Setpoint.MemberOf     = {'PlotFamily'};
+AO.(ifam).Voltage.MemberOf      = {'PlotFamily'};
+
+% Profibus configuration sync/unsync mecanism
+AO.(ifam).Profibus.BoardNumber = int32(0);
+AO.(ifam).Profibus.Group       = int32(1);
+AO.(ifam).Profibus.DeviceName  = 'ANS/AE/DP.CH';
+
+% Group
+if ControlRoomFlag
+        AO.(ifam).GroupId = tango_group_create2(ifam);
+        tango_group_add(AO.(ifam).GroupId,AO.(ifam).DeviceName(find(AO.(ifam).Status),:)');
+else
+    AO.(ifam).GroupId = nan;
+end
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(AO);   %required to make physics2hw function
+AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,'Setpoint', ...
+    AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+
+AO.(ifam).TangoSetpoint = AO.(ifam).Setpoint;
+AO.(ifam).TangoSetpoint.TangoNames(:,:)    = strcat(AO.(ifam).DeviceName,'/currentTotal');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% SLOW VERTICAL CORRECTORS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = 'VCOR';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'COR';
+AO.(ifam).MemberOf                 = {'MachineConfig'; 'VCOR'; 'COR'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+
+AO.(ifam).Monitor.Mode             = Mode;
+AO.(ifam).Monitor.DataType         = 'Scalar';
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'A';
+AO.(ifam).Monitor.PhysicsUnits     = 'meter^-2';
+AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+
+AO.(ifam).Setpoint.Mode             = Mode;
+AO.(ifam).Setpoint.DataType         = 'Scalar';
+AO.(ifam).Setpoint.Units            = 'Hardware';
+AO.(ifam).Setpoint.HWUnits          = 'A';
+AO.(ifam).Setpoint.PhysicsUnits     = 'rad';
+AO.(ifam).Setpoint.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Setpoint.Physics2HWFcn    = @k2amp;
+
+AO.(ifam).Voltage.Mode             = Mode;
+AO.(ifam).Voltage.DataType         = 'Scalar';
+AO.(ifam).Voltage.Units            = 'Hardware';
+AO.(ifam).Voltage.HWUnits          = 'A';
+AO.(ifam).Voltage.PhysicsUnits     = 'rad';
+AO.(ifam).Voltage.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Voltage.Physics2HWFcn    = @k2amp;
+
+varlist = {
+     1 [ 1 1] 'ANS-C01/AE/S1-CV         ' 0 'VCOR001' 'current   ' 'currentPM ' [-14.0  14.0]
+     2 [ 1 2] 'ANS-C01/AE/S2-CV         ' 1 'VCOR002' 'current   ' 'currentPM ' [-14.0  14.0]
+     3 [ 1 3] 'ANS-C01/AE/S3.1-CV       ' 0 'VCOR003' 'current   ' 'currentPM ' [-14.0  14.0]
+     4 [ 1 4] 'ANS-C01/AE/S4-CV         ' 1 'VCOR004' 'current   ' 'currentPM ' [-14.0  14.0]
+     5 [ 1 5] 'ANS-C01/AE/S3.2-CV       ' 0 'VCOR005' 'current   ' 'currentPM ' [-14.0  14.0]
+     6 [ 1 6] 'ANS-C01/AE/S5-CV         ' 1 'VCOR006' 'current   ' 'currentPM ' [-14.0  14.0]
+     7 [ 1 7] 'ANS-C01/AE/S6-CV         ' 0 'VCOR007' 'current   ' 'currentPM ' [-14.0  14.0]
+     8 [ 2 1] 'ANS-C02/AE/S8.1-CV       ' 0 'VCOR008' 'current   ' 'currentPM ' [-14.0  14.0]
+     9 [ 2 2] 'ANS-C02/AE/S7.1-CV       ' 1 'VCOR009' 'current   ' 'currentPM ' [-14.0  14.0]
+    10 [ 2 3] 'ANS-C02/AE/S9.1-CV       ' 1 'VCOR010' 'current   ' 'currentPM ' [-14.0  14.0]
+    11 [ 2 4] 'ANS-C02/AE/S10.1-CV      ' 0 'VCOR011' 'current   ' 'currentPM ' [-14.0  14.0]
+    12 [ 2 5] 'ANS-C02/AE/S10.2-CV      ' 0 'VCOR012' 'current   ' 'currentPM ' [-14.0  14.0]
+    13 [ 2 6] 'ANS-C02/AE/S9.2-CV       ' 1 'VCOR013' 'current   ' 'currentPM ' [-14.0  14.0]
+    14 [ 2 7] 'ANS-C02/AE/S7.2-CV       ' 1 'VCOR014' 'current   ' 'currentPM ' [-14.0  14.0]
+    15 [ 2 8] 'ANS-C02/AE/S8.2-CV       ' 0 'VCOR015' 'current   ' 'currentPM ' [-14.0  14.0]
+    16 [ 3 1] 'ANS-C03/AE/S8.1-CV       ' 0 'VCOR016' 'current   ' 'currentPM ' [-14.0  14.0]
+    17 [ 3 2] 'ANS-C03/AE/S7.1-CV       ' 1 'VCOR017' 'current   ' 'currentPM ' [-14.0  14.0]
+    18 [ 3 3] 'ANS-C03/AE/S9.1-CV       ' 1 'VCOR018' 'current   ' 'currentPM ' [-14.0  14.0]
+    19 [ 3 4] 'ANS-C03/AE/S10.1-CV      ' 0 'VCOR019' 'current   ' 'currentPM ' [-14.0  14.0]
+    20 [ 3 5] 'ANS-C03/AE/S10.2-CV      ' 0 'VCOR020' 'current   ' 'currentPM ' [-14.0  14.0]
+    21 [ 3 6] 'ANS-C03/AE/S9.2-CV       ' 1 'VCOR021' 'current   ' 'currentPM ' [-14.0  14.0]
+    22 [ 3 7] 'ANS-C03/AE/S7.2-CV       ' 1 'VCOR022' 'current   ' 'currentPM ' [-14.0  14.0]
+    23 [ 3 8] 'ANS-C03/AE/S8.2-CV       ' 0 'VCOR023' 'current   ' 'currentPM ' [-14.0  14.0]
+    24 [ 4 1] 'ANS-C04/AE/S6-CV         ' 0 'VCOR024' 'current   ' 'currentPM ' [-14.0  14.0]
+    25 [ 4 2] 'ANS-C04/AE/S5-CV         ' 1 'VCOR025' 'current   ' 'currentPM ' [-14.0  14.0]
+    26 [ 4 3] 'ANS-C04/AE/S3.1-CV       ' 0 'VCOR026' 'current   ' 'currentPM ' [-14.0  14.0]
+    27 [ 4 4] 'ANS-C04/AE/S4-CV         ' 1 'VCOR027' 'current   ' 'currentPM ' [-14.0  14.0]
+    28 [ 4 5] 'ANS-C04/AE/S3.2-CV       ' 0 'VCOR028' 'current   ' 'currentPM ' [-14.0  14.0]
+    29 [ 4 6] 'ANS-C04/AE/S2-CV         ' 1 'VCOR029' 'current   ' 'currentPM ' [-14.0  14.0]
+    30 [ 4 7] 'ANS-C04/AE/S1-CV         ' 0 'VCOR030' 'current   ' 'currentPM ' [-14.0  14.0]
+    31 [ 5 8] 'ANS-C05/EI/L-HU640       ' 0 'VCOR121' 'currentCVE' 'currentCVE' [ -5       5]
+    32 [ 5 9] 'ANS-C05/EI/L-HU640       ' 0 'VCOR122' 'currentCVS' 'currentCVS' [ -5       5]
+    33 [ 5 1] 'ANS-C05/AE/S1-CV         ' 0 'VCOR031' 'current   ' 'currentPM ' [-14.0  14.0]
+    34 [ 5 2] 'ANS-C05/AE/S2-CV         ' 1 'VCOR032' 'current   ' 'currentPM ' [-14.0  14.0]
+    35 [ 5 3] 'ANS-C05/AE/S3.1-CV       ' 0 'VCOR033' 'current   ' 'currentPM ' [-14.0  14.0]
+    36 [ 5 4] 'ANS-C05/AE/S4-CV         ' 1 'VCOR034' 'current   ' 'currentPM ' [-14.0  14.0]
+    37 [ 5 5] 'ANS-C05/AE/S3.2-CV       ' 0 'VCOR035' 'current   ' 'currentPM ' [-14.0  14.0]
+    38 [ 5 6] 'ANS-C05/AE/S5-CV         ' 1 'VCOR036' 'current   ' 'currentPM ' [-14.0  14.0]
+    39 [ 5 7] 'ANS-C05/AE/S6-CV         ' 0 'VCOR037' 'current   ' 'currentPM ' [-14.0  14.0]
+    40 [ 6 1] 'ANS-C06/AE/S8.1-CV       ' 0 'VCOR038' 'current   ' 'currentPM ' [-14.0  14.0]
+    41 [ 6 2] 'ANS-C06/AE/S7.1-CV       ' 1 'VCOR039' 'current   ' 'currentPM ' [-14.0  14.0]
+    42 [ 6 3] 'ANS-C06/AE/S9.1-CV       ' 1 'VCOR040' 'current   ' 'currentPM ' [-14.0  14.0]
+    43 [ 6 4] 'ANS-C06/AE/S10.1-CV      ' 0 'VCOR041' 'current   ' 'currentPM ' [-14.0  14.0]
+    44 [ 6 5] 'ANS-C06/AE/S10.2-CV      ' 0 'VCOR042' 'current   ' 'currentPM ' [-14.0  14.0]
+    45 [ 6 6] 'ANS-C06/AE/S9.2-CV       ' 1 'VCOR043' 'current   ' 'currentPM ' [-14.0  14.0]
+    46 [ 6 7] 'ANS-C06/AE/S7.2-CV       ' 1 'VCOR044' 'current   ' 'currentPM ' [-14.0  14.0]
+    47 [ 6 8] 'ANS-C06/AE/S8.2-CV       ' 0 'VCOR045' 'current   ' 'currentPM ' [-14.0  14.0]
+    48 [ 7 1] 'ANS-C07/AE/S8.1-CV       ' 0 'VCOR046' 'current   ' 'currentPM ' [-14.0  14.0]
+    49 [ 7 2] 'ANS-C07/AE/S7.1-CV       ' 1 'VCOR047' 'current   ' 'currentPM ' [-14.0  14.0]
+    50 [ 7 3] 'ANS-C07/AE/S9.1-CV       ' 1 'VCOR048' 'current   ' 'currentPM ' [-14.0  14.0]
+    51 [ 7 4] 'ANS-C07/AE/S10.1-CV      ' 0 'VCOR049' 'current   ' 'currentPM ' [-14.0  14.0]
+    52 [ 7 5] 'ANS-C07/AE/S10.2-CV      ' 0 'VCOR050' 'current   ' 'currentPM ' [-14.0  14.0]
+    53 [ 7 6] 'ANS-C07/AE/S9.2-CV       ' 1 'VCOR051' 'current   ' 'currentPM ' [-14.0  14.0]
+    54 [ 7 7] 'ANS-C07/AE/S7.2-CV       ' 1 'VCOR052' 'current   ' 'currentPM ' [-14.0  14.0]
+    55 [ 7 8] 'ANS-C07/AE/S8.2-CV       ' 0 'VCOR053' 'current   ' 'currentPM ' [-14.0  14.0]
+    56 [ 8 1] 'ANS-C08/AE/S6-CV         ' 0 'VCOR054' 'current   ' 'currentPM ' [-14.0  14.0]
+    57 [ 8 2] 'ANS-C08/AE/S5-CV         ' 1 'VCOR055' 'current   ' 'currentPM ' [-14.0  14.0]
+    58 [ 8 3] 'ANS-C08/AE/S3.1-CV       ' 0 'VCOR056' 'current   ' 'currentPM ' [-14.0  14.0]
+    59 [ 8 4] 'ANS-C08/AE/S4-CV         ' 1 'VCOR057' 'current   ' 'currentPM ' [-14.0  14.0]
+    60 [ 8 5] 'ANS-C08/AE/S3.2-CV       ' 0 'VCOR058' 'current   ' 'currentPM ' [-14.0  14.0]
+    61 [ 8 6] 'ANS-C08/AE/S2-CV         ' 1 'VCOR059' 'current   ' 'currentPM ' [-14.0  14.0]
+    62 [ 8 7] 'ANS-C08/AE/S1-CV         ' 0 'VCOR060' 'current   ' 'currentPM ' [-14.0  14.0]
+    63 [ 9 1] 'ANS-C09/AE/S1-CV         ' 0 'VCOR061' 'current   ' 'currentPM ' [-14.0  14.0]
+    64 [ 9 2] 'ANS-C09/AE/S2-CV         ' 1 'VCOR062' 'current   ' 'currentPM ' [-14.0  14.0]
+    65 [ 9 3] 'ANS-C09/AE/S3.1-CV       ' 0 'VCOR063' 'current   ' 'currentPM ' [-14.0  14.0]
+    66 [ 9 4] 'ANS-C09/AE/S4-CV         ' 1 'VCOR064' 'current   ' 'currentPM ' [-14.0  14.0]
+    67 [ 9 5] 'ANS-C09/AE/S3.2-CV       ' 0 'VCOR065' 'current   ' 'currentPM ' [-14.0  14.0]
+    68 [ 9 6] 'ANS-C09/AE/S5-CV         ' 1 'VCOR066' 'current   ' 'currentPM ' [-14.0  14.0]
+    69 [ 9 7] 'ANS-C09/AE/S6-CV         ' 0 'VCOR067' 'current   ' 'currentPM ' [-14.0  14.0]
+    70 [10 1] 'ANS-C10/AE/S8.1-CV       ' 0 'VCOR068' 'current   ' 'currentPM ' [-14.0  14.0]
+    71 [10 2] 'ANS-C10/AE/S7.1-CV       ' 1 'VCOR069' 'current   ' 'currentPM ' [-14.0  14.0]
+    72 [10 3] 'ANS-C10/AE/S9.1-CV       ' 1 'VCOR070' 'current   ' 'currentPM ' [-14.0  14.0]
+    73 [10 4] 'ANS-C10/AE/S10.1-CV      ' 0 'VCOR071' 'current   ' 'currentPM ' [-14.0  14.0]
+    74 [10 5] 'ANS-C10/AE/S10.2-CV      ' 0 'VCOR072' 'current   ' 'currentPM ' [-14.0  14.0]
+    75 [10 6] 'ANS-C10/AE/S9.2-CV       ' 1 'VCOR073' 'current   ' 'currentPM ' [-14.0  14.0]
+    76 [10 7] 'ANS-C10/AE/S7.2-CV       ' 1 'VCOR074' 'current   ' 'currentPM ' [-14.0  14.0]
+    77 [10 8] 'ANS-C10/AE/S8.2-CV       ' 0 'VCOR075' 'current   ' 'currentPM ' [-14.0  14.0]
+    78 [11 1] 'ANS-C11/AE/S8.1-CV       ' 0 'VCOR076' 'current   ' 'currentPM ' [-14.0  14.0]
+    79 [11 2] 'ANS-C11/AE/S7.1-CV       ' 1 'VCOR077' 'current   ' 'currentPM ' [-14.0  14.0]
+    80 [11 3] 'ANS-C11/AE/S9.1-CV       ' 1 'VCOR078' 'current   ' 'currentPM ' [-14.0  14.0]
+    81 [11 4] 'ANS-C11/AE/S10.1-CV      ' 0 'VCOR079' 'current   ' 'currentPM ' [-14.0  14.0]
+    82 [11 5] 'ANS-C11/AE/S10.2-CV      ' 0 'VCOR080' 'current   ' 'currentPM ' [-14.0  14.0]
+    83 [11 6] 'ANS-C11/AE/S9.2-CV       ' 1 'VCOR081' 'current   ' 'currentPM ' [-14.0  14.0]
+    84 [11 7] 'ANS-C11/AE/S7.2-CV       ' 1 'VCOR082' 'current   ' 'currentPM ' [-14.0  14.0]
+    85 [11 8] 'ANS-C11/AE/S8.2-CV       ' 0 'VCOR083' 'current   ' 'currentPM ' [-14.0  14.0]
+    86 [12 1] 'ANS-C12/AE/S6-CV         ' 0 'VCOR084' 'current   ' 'currentPM ' [-14.0  14.0]
+    87 [12 2] 'ANS-C12/AE/S5-CV         ' 1 'VCOR085' 'current   ' 'currentPM ' [-14.0  14.0]
+    88 [12 3] 'ANS-C12/AE/S3.1-CV       ' 0 'VCOR086' 'current   ' 'currentPM ' [-14.0  14.0]
+    89 [12 4] 'ANS-C12/AE/S4-CV         ' 1 'VCOR087' 'current   ' 'currentPM ' [-14.0  14.0]
+    90 [12 5] 'ANS-C12/AE/S3.2-CV       ' 0 'VCOR088' 'current   ' 'currentPM ' [-14.0  14.0]
+    91 [12 6] 'ANS-C12/AE/S2-CV         ' 1 'VCOR089' 'current   ' 'currentPM ' [-14.0  14.0]
+    92 [12 7] 'ANS-C12/AE/S1-CV         ' 0 'VCOR090' 'current   ' 'currentPM ' [-14.0  14.0]
+    93 [13 8] 'ANS-C13/AE/S12.1-CV      ' 0 'VCOR123' 'current   ' 'currentPM ' [-14.0  14.0]
+    94 [13 9] 'ANS-C13/AE/S12.2-CV      ' 1 'VCOR124' 'current   ' 'currentPM ' [-14.0  14.0]
+    95 [13 1] 'ANS-C13/AE/S1-CV         ' 0 'VCOR091' 'current   ' 'currentPM ' [-14.0  14.0]
+    96 [13 2] 'ANS-C13/AE/S2-CV         ' 1 'VCOR092' 'current   ' 'currentPM ' [-14.0  14.0]
+    97 [13 3] 'ANS-C13/AE/S3.1-CV       ' 0 'VCOR093' 'current   ' 'currentPM ' [-14.0  14.0]
+    98 [13 4] 'ANS-C13/AE/S4-CV         ' 1 'VCOR094' 'current   ' 'currentPM ' [-14.0  14.0]
+    99 [13 5] 'ANS-C13/AE/S3.2-CV       ' 0 'VCOR095' 'current   ' 'currentPM ' [-14.0  14.0]
+   100 [13 6] 'ANS-C13/AE/S5-CV         ' 1 'VCOR096' 'current   ' 'currentPM ' [-14.0  14.0]
+   101 [13 7] 'ANS-C13/AE/S6-CV         ' 0 'VCOR097' 'current   ' 'currentPM ' [-14.0  14.0]
+   102 [14 1] 'ANS-C14/AE/S8.1-CV       ' 0 'VCOR098' 'current   ' 'currentPM ' [-14.0  14.0]
+   103 [14 2] 'ANS-C14/AE/S7.1-CV       ' 1 'VCOR099' 'current   ' 'currentPM ' [-14.0  14.0]
+   104 [14 3] 'ANS-C14/AE/S9.1-CV       ' 1 'VCOR100' 'current   ' 'currentPM ' [-14.0  14.0]
+   105 [14 4] 'ANS-C14/AE/S10.1-CV      ' 0 'VCOR101' 'current   ' 'currentPM ' [-14.0  14.0]
+   106 [14 5] 'ANS-C14/AE/S10.2-CV      ' 0 'VCOR102' 'current   ' 'currentPM ' [-14.0  14.0]
+   107 [14 6] 'ANS-C14/AE/S9.2-CV       ' 1 'VCOR103' 'current   ' 'currentPM ' [-14.0  14.0]
+   108 [14 7] 'ANS-C14/AE/S7.2-CV       ' 1 'VCOR104' 'current   ' 'currentPM ' [-14.0  14.0]
+   109 [14 8] 'ANS-C14/AE/S8.2-CV       ' 0 'VCOR105' 'current   ' 'currentPM ' [-14.0  14.0]
+   110 [15 1] 'ANS-C15/AE/S8.1-CV       ' 0 'VCOR106' 'current   ' 'currentPM ' [-14.0  14.0]
+   111 [15 2] 'ANS-C15/AE/S7.1-CV       ' 1 'VCOR107' 'current   ' 'currentPM ' [-14.0  14.0]
+   112 [15 3] 'ANS-C15/AE/S9.1-CV       ' 1 'VCOR108' 'current   ' 'currentPM ' [-14.0  14.0]
+   113 [15 4] 'ANS-C15/AE/S10.1-CV      ' 0 'VCOR109' 'current   ' 'currentPM ' [-14.0  14.0]
+   114 [15 5] 'ANS-C15/AE/S10.2-CV      ' 0 'VCOR110' 'current   ' 'currentPM ' [-14.0  14.0]
+   115 [15 6] 'ANS-C15/AE/S9.2-CV       ' 1 'VCOR111' 'current   ' 'currentPM ' [-14.0  14.0]
+   116 [15 7] 'ANS-C15/AE/S7.2-CV       ' 1 'VCOR112' 'current   ' 'currentPM ' [-14.0  14.0]
+   117 [15 8] 'ANS-C15/AE/S8.2-CV       ' 0 'VCOR113' 'current   ' 'currentPM ' [-14.0  14.0]
+   118 [16 1] 'ANS-C16/AE/S6-CV         ' 0 'VCOR114' 'current   ' 'currentPM ' [-14.0  14.0]
+   119 [16 2] 'ANS-C16/AE/S5-CV         ' 1 'VCOR115' 'current   ' 'currentPM ' [-14.0  14.0]
+   120 [16 3] 'ANS-C16/AE/S3.1-CV       ' 0 'VCOR116' 'current   ' 'currentPM ' [-14.0  14.0]
+   121 [16 4] 'ANS-C16/AE/S4-CV         ' 1 'VCOR117' 'current   ' 'currentPM ' [-14.0  14.0]
+   122 [16 5] 'ANS-C16/AE/S3.2-CV       ' 0 'VCOR118' 'current   ' 'currentPM ' [-14.0  14.0]
+   123 [16 6] 'ANS-C16/AE/S2-CV         ' 1 'VCOR119' 'current   ' 'currentPM ' [-14.0  14.0]
+   124 [16 7] 'ANS-C16/AE/S1-CV         ' 0 'VCOR120' 'current   ' 'currentPM ' [-14.0  14.0]
+    };
+
+devnumber = length(varlist);
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).Gain        = ones(devnumber,1);
+AO.(ifam).Roll        = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Setpoint.TangoNames = cell(devnumber,1);
+AO.(ifam).Setpoint.Range = zeros(devnumber,2);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames(k)  = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)));
+    AO.(ifam).Setpoint.TangoNames(k) = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,7)));
+    AO.(ifam).Setpoint.Range(k,:)      = varlist{k,8};
+    % information for getrunflag
+    AO.(ifam).Setpoint.RunFlagFcn = @corgetrunflag;
+    AO.(ifam).Setpoint.RampRate = 1;
+end
+
+
+%Load fields from datablock
+% AT use the "A-coefficients" for correctors plus an offset
+setao(AO);
+[C, Leff, MagnetType, coefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+
+for ii = 1:devnumber,
+    AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)   = coefficients;
+    AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)   = coefficients;
+    AO.(ifam).Setpoint.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.Physics2HWParams{1}(ii,:)  = coefficients;
+end
+
+AO.(ifam).Monitor.HW2PhysicsParams{1}(31,:)   = [0 0 0 0 0 0  2.138e-4 0]; % T.m/A
+AO.(ifam).Monitor.Physics2HWParams{1}(31,:)   = [0 0 0 0 0 0  2.138e-4 0]; % T.m/A
+AO.(ifam).Setpoint.HW2PhysicsParams{1}(31,:)  = [0 0 0 0 0 0  2.138e-4 0]; % T.m/A
+AO.(ifam).Setpoint.Physics2HWParams{1}(31,:)  = [0 0 0 0 0 0  2.138e-4 0]; % T.m/A
+AO.(ifam).Monitor.HW2PhysicsParams{1}(32,:)   = [0 0 0 0 0 0  2.135e-4 0]; % T.m/A
+AO.(ifam).Monitor.Physics2HWParams{1}(32,:)   = [0 0 0 0 0 0  2.135e-4 0]; % T.m/A
+AO.(ifam).Setpoint.HW2PhysicsParams{1}(32,:)  = [0 0 0 0 0 0  2.135e-4 0]; % T.m/A
+AO.(ifam).Setpoint.Physics2HWParams{1}(32,:)  = [0 0 0 0 0 0  2.135e-4 0]; % T.m/A
+
+AO.(ifam).Monitor.MemberOf  = {'PlotFamily'};
+AO.(ifam).Voltage.MemberOf  = {'PlotFamily'};
+AO.(ifam).Setpoint.MemberOf  = {'PlotFamily'};
+
+AO.(ifam).Setpoint.Tolerance(:,:)    = 1e-2*ones(devnumber,1);
+% Warning optics dependent cf. Low alpha lattice
+AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*10e-6*2; % 2*10 urad (half used for kicking)
+%AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*1e-4*2; % 2*25 urad (half used for kicking)
+AO.(ifam).Setpoint.DeltaRespMat(31)  = 10e-6; %rad
+AO.(ifam).Setpoint.DeltaRespMat(32)  = 10e-6; %rad
+
+dummy = strcat(AO.(ifam).DeviceName,'/voltage');
+AO.(ifam).Voltage.TangoNames(:,:)     = {dummy{:},'ANS-C05/EI/L-HU640/currentCVE', 'ANS-C05/EI/L-HU640/currentCVS'}';
+
+
+% Profibus configuration sync/yn=unsync mecanism
+AO.(ifam).Profibus.BoardNumber = int32(0);
+AO.(ifam).Profibus.Group       = int32(1);
+AO.(ifam).Profibus.DeviceName  = 'ANS/AE/DP.CV';
+
+% Group
+if ControlRoomFlag
+        AO.(ifam).GroupId = tango_group_create2(ifam);
+        tango_group_add(AO.(ifam).GroupId,AO.(ifam).DeviceName(find(AO.(ifam).Status),:)');
+else
+    AO.(ifam).GroupId = nan;
+end
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(AO);   %required to make physics2hw function
+AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,'Setpoint', ...
+    AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+AO.(ifam).TangoSetpoint = AO.(ifam).Setpoint;
+AO.(ifam).TangoSetpoint.TangoNames(:,:)    = strcat(AO.(ifam).DeviceName,'/currentTotal');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Skew Quadrupole data
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ifam = 'QT';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'SkewQuad';
+AO.(ifam).MemberOf                 = {'MachineConfig'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+
+AO.(ifam).Monitor.Mode             = Mode;
+AO.(ifam).Monitor.DataType         = 'Scalar';
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'A';
+AO.(ifam).Monitor.PhysicsUnits     = 'meter^-2';
+AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+
+% elemlist devlist tangoname status  common   range
+varlist = {
+     1  [ 1 1] 'ANS-C01/AE/S1-QT         ' 1 'QT001'  [ -7.0   7.0]
+     2  [ 1 2] 'ANS-C01/AE/S2-QT         ' 0 'QT002'  [ -7.0   7.0]
+     3  [ 1 3] 'ANS-C01/AE/S3.1-QT       ' 0 'QT003'  [ -7.0   7.0]
+     4  [ 1 4] 'ANS-C01/AE/S4-QT         ' 1 'QT004'  [ -7.0   7.0]
+     5  [ 1 5] 'ANS-C01/AE/S3.2-QT       ' 0 'QT005'  [ -7.0   7.0]
+     6  [ 1 6] 'ANS-C01/AE/S5-QT         ' 0 'QT006'  [ -7.0   7.0]
+     7  [ 1 7] 'ANS-C01/AE/S6-QT         ' 0 'QT007'  [ -7.0   7.0]
+     8  [ 2 1] 'ANS-C02/AE/S8.1-QT       ' 0 'QT008'  [ -7.0   7.0]
+     9  [ 2 2] 'ANS-C02/AE/S7.1-QT       ' 0 'QT009'  [ -7.0   7.0]
+    10  [ 2 3] 'ANS-C02/AE/S9.1-QT       ' 0 'QT010'  [ -7.0   7.0]
+    11  [ 2 4] 'ANS-C02/AE/S10.1-QT      ' 1 'QT011'  [ -7.0   7.0]
+    12  [ 2 5] 'ANS-C02/AE/S10.2-QT      ' 0 'QT012'  [ -7.0   7.0]
+    13  [ 2 6] 'ANS-C02/AE/S9.2-QT       ' 0 'QT013'  [ -7.0   7.0]
+    14  [ 2 7] 'ANS-C02/AE/S7.2-QT       ' 0 'QT014'  [ -7.0   7.0]
+    15  [ 2 8] 'ANS-C02/AE/S8.2-QT       ' 1 'QT015'  [ -7.0   7.0]
+    16  [ 3 1] 'ANS-C03/AE/S8.1-QT       ' 1 'QT016'  [ -7.0   7.0]
+    17  [ 3 2] 'ANS-C03/AE/S7.1-QT       ' 0 'QT017'  [ -7.0   7.0]
+    18  [ 3 3] 'ANS-C03/AE/S9.1-QT       ' 0 'QT018'  [ -7.0   7.0]
+    19  [ 3 4] 'ANS-C03/AE/S10.1-QT      ' 0 'QT019'  [ -7.0   7.0]
+    20  [ 3 5] 'ANS-C03/AE/S10.2-QT      ' 1 'QT020'  [ -7.0   7.0]
+    21  [ 3 6] 'ANS-C03/AE/S9.2-QT       ' 0 'QT021'  [ -7.0   7.0]
+    22  [ 3 7] 'ANS-C03/AE/S7.2-QT       ' 0 'QT022'  [ -7.0   7.0]
+    23  [ 3 8] 'ANS-C03/AE/S8.2-QT       ' 0 'QT023'  [ -7.0   7.0]
+    24  [ 4 1] 'ANS-C04/AE/S6-QT         ' 0 'QT024'  [ -7.0   7.0]
+    25  [ 4 2] 'ANS-C04/AE/S5-QT         ' 0 'QT025'  [ -7.0   7.0]
+    26  [ 4 3] 'ANS-C04/AE/S3.1-QT       ' 0 'QT026'  [ -7.0   7.0]
+    27  [ 4 4] 'ANS-C04/AE/S4-QT         ' 1 'QT027'  [ -7.0   7.0]
+    28  [ 4 5] 'ANS-C04/AE/S3.2-QT       ' 0 'QT028'  [ -7.0   7.0]
+    29  [ 4 6] 'ANS-C04/AE/S2-QT         ' 0 'QT029'  [ -7.0   7.0]
+    30  [ 4 7] 'ANS-C04/AE/S1-QT         ' 1 'QT030'  [ -7.0   7.0]
+    31  [ 5 1] 'ANS-C05/AE/S1-QT         ' 1 'QT031'  [ -7.0   7.0]
+    32  [ 5 2] 'ANS-C05/AE/S2-QT         ' 0 'QT032'  [ -7.0   7.0]
+    33  [ 5 3] 'ANS-C05/AE/S3.1-QT       ' 0 'QT033'  [ -7.0   7.0]
+    34  [ 5 4] 'ANS-C05/AE/S4-QT         ' 1 'QT034'  [ -7.0   7.0]
+    35  [ 5 5] 'ANS-C05/AE/S3.2-QT       ' 0 'QT035'  [ -7.0   7.0]
+    36  [ 5 6] 'ANS-C05/AE/S5-QT         ' 0 'QT036'  [ -7.0   7.0]
+    37  [ 5 7] 'ANS-C05/AE/S6-QT         ' 0 'QT037'  [ -7.0   7.0]
+    38  [ 6 1] 'ANS-C06/AE/S8.1-QT       ' 0 'QT038'  [ -7.0   7.0]
+    39  [ 6 2] 'ANS-C06/AE/S7.1-QT       ' 0 'QT039'  [ -7.0   7.0]
+    40  [ 6 3] 'ANS-C06/AE/S9.1-QT       ' 0 'QT040'  [ -7.0   7.0]
+    41  [ 6 4] 'ANS-C06/AE/S10.1-QT      ' 1 'QT041'  [ -7.0   7.0]
+    42  [ 6 5] 'ANS-C06/AE/S10.2-QT      ' 0 'QT042'  [ -7.0   7.0]
+    43  [ 6 6] 'ANS-C06/AE/S9.2-QT       ' 0 'QT043'  [ -7.0   7.0]
+    44  [ 6 7] 'ANS-C06/AE/S7.2-QT       ' 0 'QT044'  [ -7.0   7.0]
+    45  [ 6 8] 'ANS-C06/AE/S8.2-QT       ' 1 'QT045'  [ -7.0   7.0]
+    46  [ 7 1] 'ANS-C07/AE/S8.1-QT       ' 1 'QT046'  [ -7.0   7.0]
+    47  [ 7 2] 'ANS-C07/AE/S7.1-QT       ' 0 'QT047'  [ -7.0   7.0]
+    48  [ 7 3] 'ANS-C07/AE/S9.1-QT       ' 0 'QT048'  [ -7.0   7.0]
+    49  [ 7 4] 'ANS-C07/AE/S10.1-QT      ' 0 'QT049'  [ -7.0   7.0]
+    50  [ 7 5] 'ANS-C07/AE/S10.2-QT      ' 1 'QT050'  [ -7.0   7.0]
+    51  [ 7 6] 'ANS-C07/AE/S9.2-QT       ' 0 'QT051'  [ -7.0   7.0]
+    52  [ 7 7] 'ANS-C07/AE/S7.2-QT       ' 0 'QT052'  [ -7.0   7.0]
+    53  [ 7 8] 'ANS-C07/AE/S8.2-QT       ' 0 'QT053'  [ -7.0   7.0]
+    54  [ 8 1] 'ANS-C08/AE/S6-QT         ' 0 'QT054'  [ -7.0   7.0]
+    55  [ 8 2] 'ANS-C08/AE/S5-QT         ' 0 'QT055'  [ -7.0   7.0]
+    56  [ 8 3] 'ANS-C08/AE/S3.1-QT       ' 0 'QT056'  [ -7.0   7.0]
+    57  [ 8 4] 'ANS-C08/AE/S4-QT         ' 1 'QT057'  [ -7.0   7.0]
+    58  [ 8 5] 'ANS-C08/AE/S3.2-QT       ' 0 'QT058'  [ -7.0   7.0]
+    59  [ 8 6] 'ANS-C08/AE/S2-QT         ' 0 'QT059'  [ -7.0   7.0]
+    60  [ 8 7] 'ANS-C08/AE/S1-QT         ' 1 'QT060'  [ -7.0   7.0]
+    61  [ 9 1] 'ANS-C09/AE/S1-QT         ' 1 'QT061'  [ -7.0   7.0]
+    62  [ 9 2] 'ANS-C09/AE/S2-QT         ' 0 'QT062'  [ -7.0   7.0]
+    63  [ 9 3] 'ANS-C09/AE/S3.1-QT       ' 0 'QT063'  [ -7.0   7.0]
+    64  [ 9 4] 'ANS-C09/AE/S4-QT         ' 1 'QT064'  [ -7.0   7.0]
+    65  [ 9 5] 'ANS-C09/AE/S3.2-QT       ' 0 'QT065'  [ -7.0   7.0]
+    66  [ 9 6] 'ANS-C09/AE/S5-QT         ' 0 'QT066'  [ -7.0   7.0]
+    67  [ 9 7] 'ANS-C09/AE/S6-QT         ' 0 'QT067'  [ -7.0   7.0]
+    68  [10 1] 'ANS-C10/AE/S8.1-QT       ' 0 'QT068'  [ -7.0   7.0]
+    69  [10 2] 'ANS-C10/AE/S7.1-QT       ' 0 'QT069'  [ -7.0   7.0]
+    70  [10 3] 'ANS-C10/AE/S9.1-QT       ' 0 'QT070'  [ -7.0   7.0]
+    71  [10 4] 'ANS-C10/AE/S10.1-QT      ' 1 'QT071'  [ -7.0   7.0]
+    72  [10 5] 'ANS-C10/AE/S10.2-QT      ' 0 'QT072'  [ -7.0   7.0]
+    73  [10 6] 'ANS-C10/AE/S9.2-QT       ' 0 'QT073'  [ -7.0   7.0]
+    74  [10 7] 'ANS-C10/AE/S7.2-QT       ' 0 'QT074'  [ -7.0   7.0]
+    75  [10 8] 'ANS-C10/AE/S8.2-QT       ' 1 'QT075'  [ -7.0   7.0]
+    76  [11 1] 'ANS-C11/AE/S8.1-QT       ' 1 'QT076'  [ -7.0   7.0]
+    77  [11 2] 'ANS-C11/AE/S7.1-QT       ' 0 'QT077'  [ -7.0   7.0]
+    78  [11 3] 'ANS-C11/AE/S9.1-QT       ' 0 'QT078'  [ -7.0   7.0]
+    79  [11 4] 'ANS-C11/AE/S10.1-QT      ' 0 'QT079'  [ -7.0   7.0]
+    80  [11 5] 'ANS-C11/AE/S10.2-QT      ' 1 'QT080'  [ -7.0   7.0]
+    81  [11 6] 'ANS-C11/AE/S9.2-QT       ' 0 'QT081'  [ -7.0   7.0]
+    82  [11 7] 'ANS-C11/AE/S7.2-QT       ' 0 'QT082'  [ -7.0   7.0]
+    83  [11 8] 'ANS-C11/AE/S8.2-QT       ' 0 'QT083'  [ -7.0   7.0]
+    84  [12 1] 'ANS-C12/AE/S6-QT         ' 0 'QT084'  [ -7.0   7.0]
+    85  [12 2] 'ANS-C12/AE/S5-QT         ' 0 'QT085'  [ -7.0   7.0]
+    86  [12 3] 'ANS-C12/AE/S3.1-QT       ' 0 'QT086'  [ -7.0   7.0]
+    87  [12 4] 'ANS-C12/AE/S4-QT         ' 1 'QT087'  [ -7.0   7.0]
+    88  [12 5] 'ANS-C12/AE/S3.2-QT       ' 0 'QT088'  [ -7.0   7.0]
+    89  [12 6] 'ANS-C12/AE/S2-QT         ' 0 'QT089'  [ -7.0   7.0]
+    90  [12 7] 'ANS-C12/AE/S1-QT         ' 1 'QT090'  [ -7.0   7.0]
+    91  [13 8] 'ANS-C13/AE/S12.1-QT      ' 0 'QT121'  [ -7.0   7.0]
+    92  [13 9] 'ANS-C13/AE/S12.2-QT      ' 0 'QT122'  [ -7.0   7.0]
+    93  [13 1] 'ANS-C13/AE/S1-QT         ' 1 'QT091'  [ -7.0   7.0]
+    94  [13 2] 'ANS-C13/AE/S2-QT         ' 0 'QT092'  [ -7.0   7.0]
+    95  [13 3] 'ANS-C13/AE/S3.1-QT       ' 0 'QT093'  [ -7.0   7.0]
+    96  [13 4] 'ANS-C13/AE/S4-QT         ' 1 'QT094'  [ -7.0   7.0]
+    97  [13 5] 'ANS-C13/AE/S3.2-QT       ' 0 'QT095'  [ -7.0   7.0]
+    98  [13 6] 'ANS-C13/AE/S5-QT         ' 0 'QT096'  [ -7.0   7.0]
+    99  [13 7] 'ANS-C13/AE/S6-QT         ' 0 'QT097'  [ -7.0   7.0]
+   100  [14 1] 'ANS-C14/AE/S8.1-QT       ' 0 'QT098'  [ -7.0   7.0]
+   101  [14 2] 'ANS-C14/AE/S7.1-QT       ' 0 'QT099'  [ -7.0   7.0]
+   102  [14 3] 'ANS-C14/AE/S9.1-QT       ' 0 'QT100'  [ -7.0   7.0]
+   103  [14 4] 'ANS-C14/AE/S10.1-QT      ' 1 'QT101'  [ -7.0   7.0]
+   104  [14 5] 'ANS-C14/AE/S10.2-QT      ' 0 'QT102'  [ -7.0   7.0]
+   105  [14 6] 'ANS-C14/AE/S9.2-QT       ' 0 'QT103'  [ -7.0   7.0]
+   106  [14 7] 'ANS-C14/AE/S7.2-QT       ' 0 'QT104'  [ -7.0   7.0]
+   107  [14 8] 'ANS-C14/AE/S8.2-QT       ' 1 'QT105'  [ -7.0   7.0]
+   108  [15 1] 'ANS-C15/AE/S8.1-QT       ' 1 'QT106'  [ -7.0   7.0]
+   109  [15 2] 'ANS-C15/AE/S7.1-QT       ' 0 'QT107'  [ -7.0   7.0]
+   110  [15 3] 'ANS-C15/AE/S9.1-QT       ' 0 'QT108'  [ -7.0   7.0]
+   111  [15 4] 'ANS-C15/AE/S10.1-QT      ' 0 'QT109'  [ -7.0   7.0]
+   112  [15 5] 'ANS-C15/AE/S10.2-QT      ' 1 'QT110'  [ -7.0   7.0]
+   113  [15 6] 'ANS-C15/AE/S9.2-QT       ' 0 'QT111'  [ -7.0   7.0]
+   114  [15 7] 'ANS-C15/AE/S7.2-QT       ' 0 'QT112'  [ -7.0   7.0]
+   115  [15 8] 'ANS-C15/AE/S8.2-QT       ' 0 'QT113'  [ -7.0   7.0]
+   116  [16 1] 'ANS-C16/AE/S6-QT         ' 0 'QT114'  [ -7.0   7.0]
+   117  [16 2] 'ANS-C16/AE/S5-QT         ' 0 'QT115'  [ -7.0   7.0]
+   118  [16 3] 'ANS-C16/AE/S3.1-QT       ' 0 'QT116'  [ -7.0   7.0]
+   119  [16 4] 'ANS-C16/AE/S4-QT         ' 1 'QT117'  [ -7.0   7.0]
+   120  [16 5] 'ANS-C16/AE/S3.2-QT       ' 0 'QT118'  [ -7.0   7.0]
+   121  [16 6] 'ANS-C16/AE/S2-QT         ' 0 'QT119'  [ -7.0   7.0]
+   122  [16 7] 'ANS-C16/AE/S1-QT         ' 1 'QT120'  [ -7.0   7.0]
+    };
+
+devnumber = length(varlist);
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).Gain        = ones(devnumber,1);
+AO.(ifam).Roll        = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Setpoint.TangoNames = cell(devnumber,1);
+AO.(ifam).Setpoint.Range = zeros(devnumber,2);
+AO.(ifam).Monitor.Handles(:,1)    = NaN*ones(devnumber,1);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames{k}  = strcat(AO.(ifam).DeviceName{k}, '/currentPM');
+    AO.(ifam).Setpoint.TangoNames{k} = strcat(AO.(ifam).DeviceName{k}, '/currentPM');
+    AO.(ifam).Setpoint.Range(k,:)      = varlist{k,6};
+    % information for getrunflag
+    AO.(ifam).Setpoint.RunFlagFcn = @tangogetrunflag;
+    AO.(ifam).Setpoint.RampRate = 1;
+end
+% Load coeeficients fot thin element
+coefficients = magnetcoefficients(AO.(ifam).FamilyName);
+
+for ii=1:devnumber,
+    AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.Physics2HWParams{1}(ii,:)  = coefficients;
+end
+
+AO.(ifam).Desired = AO.(ifam).Monitor;
+AO.(ifam).Setpoint.MemberOf  = {'PlotFamily'};
+AO.(ifam).Setpoint.TangoNames(:,:)    = strcat(AO.(ifam).DeviceName,'/currentPM');
+
+AO.(ifam).Setpoint.Tolerance(:,:) = 1000*ones(devnumber,1);
+AO.(ifam).Setpoint.DeltaRespMat(:,:) = 3*ones(devnumber,1);
+AO.(ifam).Setpoint.DeltaSkewK = 1; % for SkewQuad efficiency toward dispersion .
+% information for getrunflag
+AO.(ifam).Setpoint.RunFlagFcn = @tangogetrunflag;
+AO.(ifam).Setpoint.RampRate = 1;
+
+% Profibus configuration
+AO.(ifam).Profibus.BoardNumber = int32(0);
+AO.(ifam).Profibus.Group       = int32(1);
+AO.(ifam).Profibus.DeviceName  = 'ANS/AE/DP.QT';
+
+% Group
+if ControlRoomFlag
+        AO.(ifam).GroupId = tango_group_create2(ifam);
+        tango_group_add(AO.(ifam).GroupId,AO.(ifam).DeviceName(find(AO.(ifam).Status),:)');
+else
+    AO.(ifam).GroupId = nan;
+end
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(AO);   %required to make physics2hw function
+AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName, 'Setpoint', ...
+    AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Skew Quadrupole data (virtual QT)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ifam = 'SQ';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'SkewQuad';
+AO.(ifam).MemberOf                 = {'Magnet'; 'PlotFamily'; 'Archivable'};
+%AO.(ifam).MemberOf                 = {'MachineConfig'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+
+AO.(ifam).Monitor.Mode             = Mode;
+AO.(ifam).Monitor.DataType         = 'Scalar';
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'A';
+AO.(ifam).Monitor.PhysicsUnits     = 'meter^-2';
+AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+
+skewquadrupoles = {
+    
+1, 'ANS-C1/AE/QTvirtuel/1', 1,    [1 1],  'VirtualSkewQuad_1'
+2, 'ANS-C1/AE/QTvirtuel/2', 1,    [1 2],  'VirtualSkewQuad_2'
+3, 'ANS-C1/AE/QTvirtuel/3', 1,    [1 3],  'VirtualSkewQuad_3'
+4, 'ANS-C1/AE/QTvirtuel/4', 1,    [1 4],  'VirtualSkewQuad_4'
+5, 'ANS-C1/AE/QTvirtuel/5', 1,    [1 5],  'VirtualSkewQuad_5'
+6, 'ANS-C1/AE/QTvirtuel/6', 1,    [1 6],  'VirtualSkewQuad_6'
+7, 'ANS-C1/AE/QTvirtuel/7', 1,    [1 7],  'VirtualSkewQuad_7'
+
+
+8, 'ANS-C2/AE/QTvirtuel/1', 1,    [2 1],  'VirtualSkewQuad_8'
+9, 'ANS-C2/AE/QTvirtuel/2', 1,    [2 2],  'VirtualSkewQuad_9'
+10, 'ANS-C2/AE/QTvirtuel/3', 1,    [2 3],  'VirtualSkewQuad_10'
+11, 'ANS-C2/AE/QTvirtuel/4', 1,    [2 4],  'VirtualSkewQuad_11'
+12, 'ANS-C2/AE/QTvirtuel/5', 1,    [2 5],  'VirtualSkewQuad_12'
+13, 'ANS-C2/AE/QTvirtuel/6', 1,    [2 6],  'VirtualSkewQuad_13'
+14, 'ANS-C2/AE/QTvirtuel/7', 1,    [2 7],  'VirtualSkewQuad_14'
+15, 'ANS-C2/AE/QTvirtuel/8', 1,    [2 8],  'VirtualSkewQuad_15'
+16, 'ANS-C2/AE/QTvirtuel/9', 1,    [2 9],  'VirtualSkewQuad_16'
+17, 'ANS-C2/AE/QTvirtuel/10', 1,    [2 10],  'VirtualSkewQuad_17'
+
+
+
+18, 'ANS-C3/AE/QTvirtuel/1', 1,    [3 1],  'VirtualSkewQuad_18'
+19, 'ANS-C3/AE/QTvirtuel/2', 1,    [3 2],  'VirtualSkewQuad_19'
+20, 'ANS-C3/AE/QTvirtuel/3', 1,    [3 3],  'VirtualSkewQuad_20'
+21, 'ANS-C3/AE/QTvirtuel/4', 1,    [3 4],  'VirtualSkewQuad_21'
+22, 'ANS-C3/AE/QTvirtuel/5', 1,    [3 5],  'VirtualSkewQuad_22'
+23, 'ANS-C3/AE/QTvirtuel/6', 1,    [3 6],  'VirtualSkewQuad_23'
+24, 'ANS-C3/AE/QTvirtuel/7', 1,    [3 7],  'VirtualSkewQuad_24'
+25, 'ANS-C3/AE/QTvirtuel/8', 1,    [3 8],  'VirtualSkewQuad_25'
+26, 'ANS-C3/AE/QTvirtuel/9', 1,    [3 9],  'VirtualSkewQuad_26'
+27, 'ANS-C3/AE/QTvirtuel/10', 1,    [3 10],  'VirtualSkewQuad_27'
+
+
+28, 'ANS-C4/AE/QTvirtuel/1', 1,    [4 1],  'VirtualSkewQuad_28'
+29, 'ANS-C4/AE/QTvirtuel/2', 1,    [4 2],  'VirtualSkewQuad_29'
+30, 'ANS-C4/AE/QTvirtuel/3', 1,    [4 3],  'VirtualSkewQuad_30'
+31, 'ANS-C4/AE/QTvirtuel/4', 1,    [4 4],  'VirtualSkewQuad_31'
+32, 'ANS-C4/AE/QTvirtuel/5', 1,    [4 5],  'VirtualSkewQuad_32'
+33, 'ANS-C4/AE/QTvirtuel/6', 1,    [4 6],  'VirtualSkewQuad_33'
+34, 'ANS-C4/AE/QTvirtuel/7', 1,    [4 7],  'VirtualSkewQuad_34'
+35, 'ANS-C4/AE/QTvirtuel/8', 1,    [4 8],  'VirtualSkewQuad_35'
+
+
+36, 'ANS-C5/AE/QTvirtuel/1', 1,    [5 1],  'VirtualSkewQuad_36'
+37, 'ANS-C5/AE/QTvirtuel/2', 1,    [5 2],  'VirtualSkewQuad_37'
+38, 'ANS-C5/AE/QTvirtuel/3', 1,    [5 3],  'VirtualSkewQuad_38'
+39, 'ANS-C5/AE/QTvirtuel/4', 1,    [5 4],  'VirtualSkewQuad_39'
+40, 'ANS-C5/AE/QTvirtuel/5', 1,    [5 5],  'VirtualSkewQuad_40'
+41, 'ANS-C5/AE/QTvirtuel/6', 1,    [5 6],  'VirtualSkewQuad_41'
+42, 'ANS-C5/AE/QTvirtuel/7', 1,    [5 7],  'VirtualSkewQuad_42'
+43, 'ANS-C5/AE/QTvirtuel/8', 1,    [5 8],  'VirtualSkewQuad_43'
+44, 'ANS-C5/AE/QTvirtuel/9', 1,    [5 9],  'VirtualSkewQuad_44'
+45, 'ANS-C5/AE/QTvirtuel/10', 1,    [5 10],  'VirtualSkewQuad_45'
+
+
+46, 'ANS-C6/AE/QTvirtuel/1', 1,    [6 1],  'VirtualSkewQuad_46'
+47, 'ANS-C6/AE/QTvirtuel/2', 1,    [6 2],  'VirtualSkewQuad_47'
+48, 'ANS-C6/AE/QTvirtuel/3', 1,    [6 3],  'VirtualSkewQuad_48'
+49, 'ANS-C6/AE/QTvirtuel/4', 1,    [6 4],  'VirtualSkewQuad_49'
+50, 'ANS-C6/AE/QTvirtuel/5', 1,    [6 5],  'VirtualSkewQuad_50'
+51, 'ANS-C6/AE/QTvirtuel/6', 1,    [6 6],  'VirtualSkewQuad_51'
+52, 'ANS-C6/AE/QTvirtuel/7', 1,    [6 7],  'VirtualSkewQuad_52'
+53, 'ANS-C6/AE/QTvirtuel/8', 1,    [6 8],  'VirtualSkewQuad_53'
+54, 'ANS-C6/AE/QTvirtuel/9', 1,    [6 9],  'VirtualSkewQuad_54'
+55, 'ANS-C6/AE/QTvirtuel/10', 1,    [6 10],  'VirtualSkewQuad_55'
+
+
+56, 'ANS-C7/AE/QTvirtuel/1', 1,    [7 1],  'VirtualSkewQuad_56'
+57, 'ANS-C7/AE/QTvirtuel/2', 1,    [7 2],  'VirtualSkewQuad_57'
+58, 'ANS-C7/AE/QTvirtuel/3', 1,    [7 3],  'VirtualSkewQuad_58'
+59, 'ANS-C7/AE/QTvirtuel/4', 1,    [7 4],  'VirtualSkewQuad_59'
+60, 'ANS-C7/AE/QTvirtuel/5', 1,    [7 5],  'VirtualSkewQuad_60'
+61, 'ANS-C7/AE/QTvirtuel/6', 1,    [7 6],  'VirtualSkewQuad_61'
+62, 'ANS-C7/AE/QTvirtuel/7', 1,    [7 7],  'VirtualSkewQuad_62'
+63, 'ANS-C7/AE/QTvirtuel/8', 1,    [7 8],  'VirtualSkewQuad_63'
+64, 'ANS-C7/AE/QTvirtuel/9', 1,    [7 9],  'VirtualSkewQuad_64'
+65, 'ANS-C7/AE/QTvirtuel/10', 1,    [7 10],  'VirtualSkewQuad_65'
+
+
+66, 'ANS-C8/AE/QTvirtuel/1', 1,    [8 1],  'VirtualSkewQuad_66'
+67, 'ANS-C8/AE/QTvirtuel/2', 1,    [8 2],  'VirtualSkewQuad_67'
+68, 'ANS-C8/AE/QTvirtuel/3', 1,    [8 3],  'VirtualSkewQuad_68'
+69, 'ANS-C8/AE/QTvirtuel/4', 1,    [8 4],  'VirtualSkewQuad_69'
+70, 'ANS-C8/AE/QTvirtuel/5', 1,    [8 5],  'VirtualSkewQuad_70'
+71, 'ANS-C8/AE/QTvirtuel/6', 1,    [8 6],  'VirtualSkewQuad_71'
+72, 'ANS-C8/AE/QTvirtuel/7', 1,    [8 7],  'VirtualSkewQuad_72'
+73, 'ANS-C8/AE/QTvirtuel/8', 1,    [8 8],  'VirtualSkewQuad_73'
+
+
+74, 'ANS-C9/AE/QTvirtuel/1', 1,    [9 1],  'VirtualSkewQuad_74'
+75, 'ANS-C9/AE/QTvirtuel/2', 1,    [9 2],  'VirtualSkewQuad_75'
+76, 'ANS-C9/AE/QTvirtuel/3', 1,    [9 3],  'VirtualSkewQuad_76'
+77, 'ANS-C9/AE/QTvirtuel/4', 1,    [9 4],  'VirtualSkewQuad_77'
+78, 'ANS-C9/AE/QTvirtuel/5', 1,    [9 5],  'VirtualSkewQuad_78'
+79, 'ANS-C9/AE/QTvirtuel/6', 1,    [9 6],  'VirtualSkewQuad_79'
+80, 'ANS-C9/AE/QTvirtuel/7', 1,    [9 7],  'VirtualSkewQuad_80'
+
+
+
+81, 'ANS-C10/AE/QTvirtuel/1', 1,    [10 1],  'VirtualSkewQuad_81'
+82, 'ANS-C10/AE/QTvirtuel/2', 1,    [10 2],  'VirtualSkewQuad_82'
+83, 'ANS-C10/AE/QTvirtuel/3', 1,    [10 3],  'VirtualSkewQuad_83'
+84, 'ANS-C10/AE/QTvirtuel/4', 1,    [10 4],  'VirtualSkewQuad_84'
+85, 'ANS-C10/AE/QTvirtuel/5', 1,    [10 5],  'VirtualSkewQuad_85'
+86, 'ANS-C10/AE/QTvirtuel/6', 1,    [10 6],  'VirtualSkewQuad_86'
+87, 'ANS-C10/AE/QTvirtuel/7', 1,    [10 7],  'VirtualSkewQuad_87'
+88, 'ANS-C10/AE/QTvirtuel/8', 1,    [10 8],  'VirtualSkewQuad_88'
+89, 'ANS-C10/AE/QTvirtuel/9', 1,    [10 9],  'VirtualSkewQuad_89'
+90, 'ANS-C10/AE/QTvirtuel/10', 1,    [10 10],  'VirtualSkewQuad_90'
+
+
+91, 'ANS-C11/AE/QTvirtuel/1', 1,    [11 1],  'VirtualSkewQuad_91'
+92, 'ANS-C11/AE/QTvirtuel/2', 1,    [11 2],  'VirtualSkewQuad_92'
+93, 'ANS-C11/AE/QTvirtuel/3', 1,    [11 3],  'VirtualSkewQuad_93'
+94, 'ANS-C11/AE/QTvirtuel/4', 1,    [11 4],  'VirtualSkewQuad_94'
+95, 'ANS-C11/AE/QTvirtuel/5', 1,    [11 5],  'VirtualSkewQuad_95'
+96, 'ANS-C11/AE/QTvirtuel/6', 1,    [11 6],  'VirtualSkewQuad_96'
+97, 'ANS-C11/AE/QTvirtuel/7', 1,    [11 7],  'VirtualSkewQuad_97'
+98, 'ANS-C11/AE/QTvirtuel/8', 1,    [11 8],  'VirtualSkewQuad_98'
+99, 'ANS-C11/AE/QTvirtuel/9', 1,    [11 9],  'VirtualSkewQuad_99'
+100, 'ANS-C11/AE/QTvirtuel/10', 1,    [11 10],  'VirtualSkewQuad_100'
+
+
+101, 'ANS-C12/AE/QTvirtuel/1', 1,    [12 1],  'VirtualSkewQuad_101'
+102, 'ANS-C12/AE/QTvirtuel/2', 1,    [12 2],  'VirtualSkewQuad_102'
+103, 'ANS-C12/AE/QTvirtuel/3', 1,    [12 3],  'VirtualSkewQuad_103'
+104, 'ANS-C12/AE/QTvirtuel/4', 1,    [12 4],  'VirtualSkewQuad_104'
+105, 'ANS-C12/AE/QTvirtuel/5', 1,    [12 5],  'VirtualSkewQuad_105'
+106, 'ANS-C12/AE/QTvirtuel/6', 1,    [12 6],  'VirtualSkewQuad_106'
+107, 'ANS-C12/AE/QTvirtuel/7', 1,    [12 7],  'VirtualSkewQuad_107'
+108, 'ANS-C12/AE/QTvirtuel/8', 1,    [12 8],  'VirtualSkewQuad_108'
+
+109, 'ANS-C13/AE/QTvirtuel/1', 1,    [13 1],  'VirtualSkewQuad_109'
+110, 'ANS-C13/AE/QTvirtuel/2', 1,    [13 2],  'VirtualSkewQuad_110'
+111, 'ANS-C13/AE/QTvirtuel/3', 1,    [13 3],  'VirtualSkewQuad_111'
+112, 'ANS-C13/AE/QTvirtuel/4', 1,    [13 4],  'VirtualSkewQuad_112'
+113, 'ANS-C13/AE/QTvirtuel/5', 1,    [13 5],  'VirtualSkewQuad_113'
+114, 'ANS-C13/AE/QTvirtuel/6', 1,    [13 6],  'VirtualSkewQuad_114'
+115, 'ANS-C13/AE/QTvirtuel/7', 1,    [13 7],  'VirtualSkewQuad_115'
+116, 'ANS-C13/AE/QTvirtuel/8', 1,    [13 8],  'VirtualSkewQuad_116'
+117, 'ANS-C13/AE/QTvirtuel/9', 1,    [13 9],  'VirtualSkewQuad_117'
+118, 'ANS-C13/AE/QTvirtuel/10', 1,    [13 10],  'VirtualSkewQuad_118'
+119, 'ANS-C13/AE/QTvirtuel/10', 1,    [13 11],  'VirtualSkewQuad_119'
+
+120, 'ANS-C14/AE/QTvirtuel/1', 1,    [14 1],  'VirtualSkewQuad_120'
+121, 'ANS-C14/AE/QTvirtuel/2', 1,    [14 2],  'VirtualSkewQuad_121'
+122, 'ANS-C14/AE/QTvirtuel/3', 1,    [14 3],  'VirtualSkewQuad_122'
+123, 'ANS-C14/AE/QTvirtuel/4', 1,    [14 4],  'VirtualSkewQuad_123'
+124, 'ANS-C14/AE/QTvirtuel/5', 1,    [14 5],  'VirtualSkewQuad_124'
+125, 'ANS-C14/AE/QTvirtuel/6', 1,    [14 6],  'VirtualSkewQuad_125'
+126, 'ANS-C14/AE/QTvirtuel/7', 1,    [14 7],  'VirtualSkewQuad_126'
+127, 'ANS-C14/AE/QTvirtuel/8', 1,    [14 8],  'VirtualSkewQuad_127'
+128, 'ANS-C14/AE/QTvirtuel/9', 1,    [14 9],  'VirtualSkewQuad_128'
+129, 'ANS-C14/AE/QTvirtuel/10', 1,    [14 10],  'VirtualSkewQuad_129'
+
+
+130, 'ANS-C15/AE/QTvirtuel/1', 1,    [15 1],  'VirtualSkewQuad_130'
+131, 'ANS-C15/AE/QTvirtuel/2', 1,    [15 2],  'VirtualSkewQuad_131'
+132, 'ANS-C15/AE/QTvirtuel/3', 1,    [15 3],  'VirtualSkewQuad_132'
+133, 'ANS-C15/AE/QTvirtuel/4', 1,    [15 4],  'VirtualSkewQuad_133'
+134, 'ANS-C15/AE/QTvirtuel/5', 1,    [15 5],  'VirtualSkewQuad_134'
+135, 'ANS-C15/AE/QTvirtuel/6', 1,    [15 6],  'VirtualSkewQuad_135'
+136, 'ANS-C15/AE/QTvirtuel/7', 1,    [15 7],  'VirtualSkewQuad_136'
+137, 'ANS-C15/AE/QTvirtuel/8', 1,    [15 8],  'VirtualSkewQuad_137'
+138, 'ANS-C15/AE/QTvirtuel/9', 1,    [15 9],  'VirtualSkewQuad_138'
+139, 'ANS-C15/AE/QTvirtuel/10', 1,    [15 10],  'VirtualSkewQuad_139'
+
+
+140, 'ANS-C16/AE/QTvirtuel/1', 1,    [16 1],  'VirtualSkewQuad_140'
+141, 'ANS-C16/AE/QTvirtuel/2', 1,    [16 2],  'VirtualSkewQuad_141'
+142, 'ANS-C16/AE/QTvirtuel/3', 1,    [16 3],  'VirtualSkewQuad_142'
+143, 'ANS-C16/AE/QTvirtuel/4', 1,    [16 4],  'VirtualSkewQuad_143'
+144, 'ANS-C16/AE/QTvirtuel/5', 1,    [16 5],  'VirtualSkewQuad_144'
+145, 'ANS-C16/AE/QTvirtuel/6', 1,    [16 6],  'VirtualSkewQuad_145'
+146, 'ANS-C16/AE/QTvirtuel/7', 1,    [16 7],  'VirtualSkewQuad_146'
+147, 'ANS-C16/AE/QTvirtuel/8', 1,    [16 8],  'VirtualSkewQuad_147'
+};
+
+% Load coeeficients fot thin element
+coefficients = magnetcoefficients(AO.(ifam).FamilyName);
+%[C, Leff, MagnetType, coefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+for ii = 1:size(skewquadrupoles,1)
+    AO.(ifam).ElementList(ii,:)            = skewquadrupoles{ii,1};
+    AO.(ifam).DeviceName(ii,:)            = skewquadrupoles(ii,2);
+    AO.(ifam).Monitor.TangoNames(ii,:)    = strcat(skewquadrupoles(ii,2),'/current');
+    AO.(ifam).Setpoint.TangoNames(ii,:)    = strcat(skewquadrupoles(ii,2),'/currentPM');
+    AO.(ifam).Status(ii,:)            = skewquadrupoles{ii,3};
+    AO.(ifam).DeviceList(ii,:)            = skewquadrupoles{ii,4};
+    AO.(ifam).CommonName(ii,:)            = skewquadrupoles(ii,5);
+    AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.Physics2HWParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.Range(ii,:) = repmat([-7 7],1,1); % 7 A for
+    AO.(ifam).Monitor.Range(ii,:) = repmat([-7 7],1,1);
+    AO.(ifam).Setpoint.Tolerance(ii,:) = 1000;
+    AO.(ifam).Setpoint.DeltaRespMat(ii,:) = 3*ones(1,1);
+    AO.(ifam).Monitor.Handles(ii,1)    = NaN*ones(1,1);
+    AO.(ifam).Setpoint.Handles(ii,1)    = NaN*ones(1,1);
+    
+end
+AO.(ifam).Status = AO.(ifam).Status(:);
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(AO);   %required to make physics2hw function
+AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName, 'Setpoint', ...
+    AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+AO.(ifam).Setpoint.DeltaSkewK = 1; % for efficiency measurement.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FAST HORIZONTAL CORRECTORS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = 'FHCOR';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'FCOR';
+AO.(ifam).MemberOf                 = {'COR'; 'FCOR'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+
+AO.(ifam).Monitor.Mode              = Mode;
+AO.(ifam).Monitor.DataType          = 'Scalar';
+AO.(ifam).Monitor.Units             = 'Hardware';
+AO.(ifam).Monitor.HWUnits           = 'A';
+AO.(ifam).Monitor.PhysicsUnits      = 'rad';
+AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+
+AO.(ifam).Setpoint.Mode             = Mode;
+AO.(ifam).Setpoint.DataType         = 'Scalar';
+AO.(ifam).Setpoint.Units            = 'Hardware';
+AO.(ifam).Setpoint.HWUnits          = 'A';
+AO.(ifam).Setpoint.PhysicsUnits     = 'rad';
+AO.(ifam).Setpoint.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Setpoint.Physics2HWFcn    = @k2amp;
+
+AO.(ifam).SetpointMean.Mode         = Mode;
+AO.(ifam).SetpointMean.DataType         = 'Scalar';
+AO.(ifam).SetpointMean.Units            = 'Hardware';
+AO.(ifam).SetpointMean.HWUnits          = 'A';
+AO.(ifam).SetpointMean.PhysicsUnits     = 'rad';
+AO.(ifam).SetpointMean.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).SetpointMean.Physics2HWFcn    = @k2amp;
+
+varlist = {
+     1  [ 1 2] 'ANS-C01/DG/CH.2          ' 1 'FHCOR02' 'current   ' 'current   ' [-10  10]
+     2  [ 2 1] 'ANS-C02/DG/CH.1          ' 1 'FHCOR03' 'current   ' 'current   ' [-10  10]
+     3  [ 2 2] 'ANS-C02/DG/CH.2          ' 1 'FHCOR04' 'current   ' 'current   ' [-10  10]
+     4  [ 2 3] 'ANS-C02/DG/CH.3          ' 1 'FHCOR05' 'current   ' 'current   ' [-10  10]
+     5  [ 2 4] 'ANS-C02/DG/CH.4          ' 1 'FHCOR06' 'current   ' 'current   ' [-10  10]
+     6  [ 3 1] 'ANS-C03/DG/CH.1          ' 1 'FHCOR07' 'current   ' 'current   ' [-10  10]
+     7  [ 3 2] 'ANS-C03/DG/CH.2          ' 1 'FHCOR08' 'current   ' 'current   ' [-10  10]
+     8  [ 3 3] 'ANS-C03/DG/CH.3          ' 1 'FHCOR09' 'current   ' 'current   ' [-10  10]
+     9  [ 3 4] 'ANS-C03/DG/CH.4          ' 1 'FHCOR10' 'current   ' 'current   ' [-10  10]
+    10  [ 4 1] 'ANS-C04/DG/CH.1          ' 1 'FHCOR11' 'current   ' 'current   ' [-10  10]
+    11  [ 4 2] 'ANS-C04/DG/CH.2          ' 1 'FHCOR12' 'current   ' 'current   ' [-10  10]
+    12  [ 5 1] 'ANS-C05/DG/CH.1          ' 1 'FHCOR13' 'current   ' 'current   ' [-10  10]
+    13  [ 5 2] 'ANS-C05/DG/CH.2          ' 1 'FHCOR14' 'current   ' 'current   ' [-10  10]
+    14  [ 6 1] 'ANS-C06/DG/CH.1          ' 1 'FHCOR15' 'current   ' 'current   ' [-10  10]
+    15  [ 6 2] 'ANS-C06/DG/CH.2          ' 1 'FHCOR16' 'current   ' 'current   ' [-10  10]
+    16  [ 6 3] 'ANS-C06/DG/CH.3          ' 1 'FHCOR17' 'current   ' 'current   ' [-10  10]
+    17  [ 6 4] 'ANS-C06/DG/CH.4          ' 1 'FHCOR18' 'current   ' 'current   ' [-10  10]
+    18  [ 7 1] 'ANS-C07/DG/CH.1          ' 1 'FHCOR19' 'current   ' 'current   ' [-10  10]
+    19  [ 7 2] 'ANS-C07/DG/CH.2          ' 1 'FHCOR20' 'current   ' 'current   ' [-10  10]
+    20  [ 7 3] 'ANS-C07/DG/CH.3          ' 1 'FHCOR21' 'current   ' 'current   ' [-10  10]
+    21  [ 7 4] 'ANS-C07/DG/CH.4          ' 1 'FHCOR22' 'current   ' 'current   ' [-10  10]
+    22  [ 8 1] 'ANS-C08/DG/CH.1          ' 1 'FHCOR23' 'current   ' 'current   ' [-10  10]
+    23  [ 8 2] 'ANS-C08/DG/CH.2          ' 1 'FHCOR24' 'current   ' 'current   ' [-10  10]
+    24  [ 9 1] 'ANS-C09/DG/CH.1          ' 1 'FHCOR25' 'current   ' 'current   ' [-10  10]
+    25  [ 9 2] 'ANS-C09/DG/CH.2          ' 1 'FHCOR26' 'current   ' 'current   ' [-10  10]
+    26  [10 1] 'ANS-C10/DG/CH.1          ' 1 'FHCOR27' 'current   ' 'current   ' [-10  10]
+    27  [10 2] 'ANS-C10/DG/CH.2          ' 1 'FHCOR28' 'current   ' 'current   ' [-10  10]
+    28  [10 3] 'ANS-C10/DG/CH.3          ' 1 'FHCOR29' 'current   ' 'current   ' [-10  10]
+    29  [10 4] 'ANS-C10/DG/CH.4          ' 1 'FHCOR30' 'current   ' 'current   ' [-10  10]
+    30  [11 1] 'ANS-C11/DG/CH.1          ' 1 'FHCOR31' 'current   ' 'current   ' [-10  10]
+    31  [11 2] 'ANS-C11/DG/CH.2          ' 1 'FHCOR32' 'current   ' 'current   ' [-10  10]
+    32  [11 3] 'ANS-C11/DG/CH.3          ' 1 'FHCOR33' 'current   ' 'current   ' [-10  10]
+    33  [11 4] 'ANS-C11/DG/CH.4          ' 1 'FHCOR34' 'current   ' 'current   ' [-10  10]
+    34  [12 1] 'ANS-C12/DG/CH.1          ' 1 'FHCOR35' 'current   ' 'current   ' [-10  10]
+    35  [12 2] 'ANS-C12/DG/CH.2          ' 1 'FHCOR36' 'current   ' 'current   ' [-10  10]
+    36  [13 1] 'ANS-C13/DG/CH.1          ' 1 'FHCOR37' 'current   ' 'current   ' [-10  10]
+    49  [13 3] 'ANS-C13/DG/CH.3          ' 1 'FHCOR49' 'current   ' 'current   ' [-10  10]
+    50  [13 4] 'ANS-C13/DG/CH.4          ' 1 'FHCOR50' 'current   ' 'current   ' [-10  10]
+    37  [13 2] 'ANS-C13/DG/CH.2          ' 1 'FHCOR38' 'current   ' 'current   ' [-10  10]
+    38  [14 1] 'ANS-C14/DG/CH.1          ' 1 'FHCOR39' 'current   ' 'current   ' [-10  10]
+    39  [14 2] 'ANS-C14/DG/CH.2          ' 1 'FHCOR40' 'current   ' 'current   ' [-10  10]
+    40  [14 3] 'ANS-C14/DG/CH.3          ' 1 'FHCOR41' 'current   ' 'current   ' [-10  10]
+    41  [14 4] 'ANS-C14/DG/CH.4          ' 1 'FHCOR42' 'current   ' 'current   ' [-10  10]
+    42  [15 1] 'ANS-C15/DG/CH.1          ' 1 'FHCOR43' 'current   ' 'current   ' [-10  10]
+    43  [15 2] 'ANS-C15/DG/CH.2          ' 1 'FHCOR44' 'current   ' 'current   ' [-10  10]
+    44  [15 3] 'ANS-C15/DG/CH.3          ' 1 'FHCOR45' 'current   ' 'current   ' [-10  10]
+    45  [15 4] 'ANS-C15/DG/CH.4          ' 1 'FHCOR46' 'current   ' 'current   ' [-10  10]
+    46  [16 1] 'ANS-C16/DG/CH.1          ' 1 'FHCOR47' 'current   ' 'current   ' [-10  10]
+    47  [16 2] 'ANS-C16/DG/CH.2          ' 1 'FHCOR48' 'current   ' 'current   ' [-10  10]
+    48  [ 1 1] 'ANS-C01/DG/CH.1          ' 1 'FHCOR01' 'current   ' 'current   ' [-10  10]
+    };
+
+devnumber = length(varlist);
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).Gain        = ones(devnumber,1);
+AO.(ifam).Roll        = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Setpoint.TangoNames = cell(devnumber,1);
+AO.(ifam).Setpoint.Range = zeros(devnumber,2);
+AO.(ifam).SetpointMean.TangoNames = cell(devnumber,1);
+AO.(ifam).SetpointMean.Range = zeros(devnumber,2);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames(k)  = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)));
+    AO.(ifam).Setpoint.TangoNames(k) = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,7)));
+    AO.(ifam).Setpoint.Range(k,:)      = varlist{k,8};
+    AO.(ifam).SetpointMean.TangoNames(k) = strcat(AO.(ifam).DeviceName{k}, {'/spMean'});
+    AO.(ifam).SetpointMean.Range(k,:)   = varlist{k,8};
+end
+
+%Load fields from datablock
+% AT use the "A-coefficients" for correctors plus an offset
+[C, Leff, MagnetType, coefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+
+for ii = 1:devnumber,
+    AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)   = coefficients;
+    AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)   = coefficients;
+    AO.(ifam).Setpoint.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.Physics2HWParams{1}(ii,:)  = coefficients;
+end
+
+
+AO.(ifam).Monitor.MemberOf      = {'PlotFamily'};
+AO.(ifam).Setpoint.MemberOf     = {'PlotFamily'};
+AO.(ifam).Setpoint.Tolerance(:,:)    = 1e-1*ones(devnumber,1);
+%AO.(ifam).Setpoint.DeltaRespMat(:,:) = 24e-6*ones(devnumber,1); % 2*12 ï¿œurad for 0.2 mm
+AO.(ifam).Setpoint.DeltaRespMat(:,:) = 6e-6*ones(devnumber,1); % 2*3 ï¿œurad for 0.05 mm
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(AO);   %required to make physics2hw function
+AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,'Setpoint', ...
+    AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FAST VERTICAL CORRECTORS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = 'FVCOR';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'FCOR';
+AO.(ifam).MemberOf                 = {'COR'; 'FCOR'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+
+AO.(ifam).Monitor.Mode              = Mode;
+AO.(ifam).Monitor.DataType          = 'Scalar';
+AO.(ifam).Monitor.Units             = 'Hardware';
+AO.(ifam).Monitor.HWUnits           = 'A';
+AO.(ifam).Monitor.PhysicsUnits      = 'rad';
+AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+
+AO.(ifam).Setpoint.Mode             = Mode;
+AO.(ifam).Setpoint.DataType         = 'Scalar';
+AO.(ifam).Setpoint.Units            = 'Hardware';
+AO.(ifam).Setpoint.HWUnits          = 'A';
+AO.(ifam).Setpoint.PhysicsUnits     = 'rad';
+AO.(ifam).Setpoint.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Setpoint.Physics2HWFcn    = @k2amp;
+
+AO.(ifam).SetpointMean.Mode         = Mode;
+AO.(ifam).SetpointMean.DataType         = 'Scalar';
+AO.(ifam).SetpointMean.Units            = 'Hardware';
+AO.(ifam).SetpointMean.HWUnits          = 'A';
+AO.(ifam).SetpointMean.PhysicsUnits     = 'rad';
+AO.(ifam).SetpointMean.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).SetpointMean.Physics2HWFcn    = @k2amp;
+
+
+% devliste tangoname status common attR attW range
+varlist = {
+     1  [ 1 2] 'ANS-C01/DG/CV.2          ' 1 'FVCOR01' 'current   ' 'current   ' [-10  10]
+     2  [ 2 1] 'ANS-C02/DG/CV.1          ' 1 'FVCOR02' 'current   ' 'current   ' [-10  10]
+     3  [ 2 2] 'ANS-C02/DG/CV.2          ' 1 'FVCOR03' 'current   ' 'current   ' [-10  10]
+     4  [ 2 3] 'ANS-C02/DG/CV.3          ' 1 'FVCOR04' 'current   ' 'current   ' [-10  10]
+     5  [ 2 4] 'ANS-C02/DG/CV.4          ' 1 'FVCOR05' 'current   ' 'current   ' [-10  10]
+     6  [ 3 1] 'ANS-C03/DG/CV.1          ' 1 'FVCOR06' 'current   ' 'current   ' [-10  10]
+     7  [ 3 2] 'ANS-C03/DG/CV.2          ' 1 'FVCOR07' 'current   ' 'current   ' [-10  10]
+     8  [ 3 3] 'ANS-C03/DG/CV.3          ' 1 'FVCOR08' 'current   ' 'current   ' [-10  10]
+     9  [ 3 4] 'ANS-C03/DG/CV.4          ' 1 'FVCOR09' 'current   ' 'current   ' [-10  10]
+    10  [ 4 1] 'ANS-C04/DG/CV.1          ' 1 'FVCOR10' 'current   ' 'current   ' [-10  10]
+    11  [ 4 2] 'ANS-C04/DG/CV.2          ' 1 'FVCOR11' 'current   ' 'current   ' [-10  10]
+    12  [ 5 1] 'ANS-C05/DG/CV.1          ' 1 'FVCOR12' 'current   ' 'current   ' [-10  10]
+    13  [ 5 2] 'ANS-C05/DG/CV.2          ' 1 'FVCOR13' 'current   ' 'current   ' [-10  10]
+    14  [ 6 1] 'ANS-C06/DG/CV.1          ' 1 'FVCOR14' 'current   ' 'current   ' [-10  10]
+    15  [ 6 2] 'ANS-C06/DG/CV.2          ' 1 'FVCOR15' 'current   ' 'current   ' [-10  10]
+    16  [ 6 3] 'ANS-C06/DG/CV.3          ' 1 'FVCOR16' 'current   ' 'current   ' [-10  10]
+    17  [ 6 4] 'ANS-C06/DG/CV.4          ' 1 'FVCOR17' 'current   ' 'current   ' [-10  10]
+    18  [ 7 1] 'ANS-C07/DG/CV.1          ' 1 'FVCOR18' 'current   ' 'current   ' [-10  10]
+    19  [ 7 2] 'ANS-C07/DG/CV.2          ' 1 'FVCOR19' 'current   ' 'current   ' [-10  10]
+    20  [ 7 3] 'ANS-C07/DG/CV.3          ' 1 'FVCOR20' 'current   ' 'current   ' [-10  10]
+    21  [ 7 4] 'ANS-C07/DG/CV.4          ' 1 'FVCOR21' 'current   ' 'current   ' [-10  10]
+    22  [ 8 1] 'ANS-C08/DG/CV.1          ' 1 'FVCOR22' 'current   ' 'current   ' [-10  10]
+    23  [ 8 2] 'ANS-C08/DG/CV.2          ' 1 'FVCOR23' 'current   ' 'current   ' [-10  10]
+    24  [ 9 1] 'ANS-C09/DG/CV.1          ' 1 'FVCOR24' 'current   ' 'current   ' [-10  10]
+    25  [ 9 2] 'ANS-C09/DG/CV.2          ' 1 'FVCOR25' 'current   ' 'current   ' [-10  10]
+    26  [10 1] 'ANS-C10/DG/CV.1          ' 1 'FVCOR26' 'current   ' 'current   ' [-10  10]
+    27  [10 2] 'ANS-C10/DG/CV.2          ' 1 'FVCOR27' 'current   ' 'current   ' [-10  10]
+    28  [10 3] 'ANS-C10/DG/CV.3          ' 1 'FVCOR28' 'current   ' 'current   ' [-10  10]
+    29  [10 4] 'ANS-C10/DG/CV.4          ' 1 'FVCOR29' 'current   ' 'current   ' [-10  10]
+    30  [11 1] 'ANS-C11/DG/CV.1          ' 1 'FVCOR30' 'current   ' 'current   ' [-10  10]
+    31  [11 2] 'ANS-C11/DG/CV.2          ' 1 'FVCOR31' 'current   ' 'current   ' [-10  10]
+    32  [11 3] 'ANS-C11/DG/CV.3          ' 1 'FVCOR32' 'current   ' 'current   ' [-10  10]
+    33  [11 4] 'ANS-C11/DG/CV.4          ' 1 'FVCOR33' 'current   ' 'current   ' [-10  10]
+    34  [12 1] 'ANS-C12/DG/CV.1          ' 1 'FVCOR34' 'current   ' 'current   ' [-10  10]
+    35  [12 2] 'ANS-C12/DG/CV.2          ' 1 'FVCOR35' 'current   ' 'current   ' [-10  10]
+    36  [13 1] 'ANS-C13/DG/CV.1          ' 1 'FVCOR36' 'current   ' 'current   ' [-10  10]
+    49  [13 3] 'ANS-C13/DG/CV.3          ' 1 'FVCOR49' 'current   ' 'current   ' [-10  10]
+    50  [13 4] 'ANS-C13/DG/CV.4          ' 1 'FVCOR50' 'current   ' 'current   ' [-10  10]
+    37  [13 2] 'ANS-C13/DG/CV.2          ' 1 'FVCOR37' 'current   ' 'current   ' [-10  10]
+    38  [14 1] 'ANS-C14/DG/CV.1          ' 1 'FVCOR38' 'current   ' 'current   ' [-10  10]
+    39  [14 2] 'ANS-C14/DG/CV.2          ' 1 'FVCOR39' 'current   ' 'current   ' [-10  10]
+    40  [14 3] 'ANS-C14/DG/CV.3          ' 1 'FVCOR40' 'current   ' 'current   ' [-10  10]
+    41  [14 4] 'ANS-C14/DG/CV.4          ' 1 'FVCOR41' 'current   ' 'current   ' [-10  10]
+    42  [15 1] 'ANS-C15/DG/CV.1          ' 1 'FVCOR42' 'current   ' 'current   ' [-10  10]
+    43  [15 2] 'ANS-C15/DG/CV.2          ' 1 'FVCOR43' 'current   ' 'current   ' [-10  10]
+    44  [15 3] 'ANS-C15/DG/CV.3          ' 1 'FVCOR44' 'current   ' 'current   ' [-10  10]
+    45  [15 4] 'ANS-C15/DG/CV.4          ' 1 'FVCOR45' 'current   ' 'current   ' [-10  10]
+    46  [16 1] 'ANS-C16/DG/CV.1          ' 1 'FVCOR46' 'current   ' 'current   ' [-10  10]
+    47  [16 2] 'ANS-C16/DG/CV.2          ' 1 'FVCOR47' 'current   ' 'current   ' [-10  10]
+    48  [ 1 1] 'ANS-C01/DG/CV.1          ' 1 'FVCOR48' 'current   ' 'current   ' [-10  10]
+    };
+
+devnumber = length(varlist);
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).Gain        = ones(devnumber,1);
+AO.(ifam).Roll        = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Setpoint.TangoNames = cell(devnumber,1);
+AO.(ifam).Setpoint.Range = zeros(devnumber,2);
+AO.(ifam).SetpointMean.TangoNames = cell(devnumber,1);
+AO.(ifam).SetpointMean.Range = zeros(devnumber,2);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames(k)  = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)));
+    AO.(ifam).Setpoint.TangoNames(k) = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,7)));
+    AO.(ifam).Setpoint.Range(k,:)      = varlist{k,8};
+    AO.(ifam).SetpointMean.TangoNames(k) = strcat(AO.(ifam).DeviceName{k}, {'/spMean'});
+    AO.(ifam).SetpointMean.Range(k,:)   = varlist{k,8};
+end
+
+%Load fields from datablock
+% AT use the "A-coefficients" for correctors plus an offset
+[C, Leff, MagnetType, coefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+
+for ii = 1:devnumber,
+    AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)   = coefficients;
+    AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)   = coefficients;
+    AO.(ifam).Setpoint.HW2PhysicsParams{1}(ii,:)  = coefficients;
+    AO.(ifam).Setpoint.Physics2HWParams{1}(ii,:)  = coefficients;
+end
+
+
+AO.(ifam).Monitor.MemberOf      = {'PlotFamily'};
+AO.(ifam).Setpoint.MemberOf     = {'PlotFamily'};
+AO.(ifam).Setpoint.Tolerance(:,:)    = 1e-1*ones(devnumber,1);
+%AO.(ifam).Setpoint.DeltaRespMat(:,:) = 24e-6*ones(devnumber,1); % 2*12 ï¿œurad
+AO.(ifam).Setpoint.DeltaRespMat(:,:) = 6e-6*ones(devnumber,1); % 2*3 ï¿œurad
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(AO);   %required to make physics2hw function
+AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,'Setpoint', ...
+    AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% PX2 correctors
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = 'PX2C';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'COR';
+AO.(ifam).MemberOf                 = {'COR'; 'FCOR'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+
+AO.(ifam).Monitor.Mode              = Mode;
+AO.(ifam).Monitor.DataType          = 'Scalar';
+AO.(ifam).Monitor.Units             = 'Hardware';
+AO.(ifam).Monitor.HWUnits           = 'A';
+AO.(ifam).Monitor.PhysicsUnits      = 'rad';
+AO.(ifam).Monitor.HW2PhysicsParams(:,:) = [0.0218; 0.0225; 0.0216]*1e-3/getbrho(2.739);
+AO.(ifam).Monitor.Physics2HWParams(:,:) = 1./AO.(ifam).Monitor.HW2PhysicsParams(:,:);
+
+AO.(ifam).Setpoint.Mode             = Mode;
+AO.(ifam).Setpoint.DataType         = 'Scalar';
+AO.(ifam).Setpoint.Units            = 'Hardware';
+AO.(ifam).Setpoint.HWUnits          = 'A';
+AO.(ifam).Setpoint.PhysicsUnits     = 'rad';
+AO.(ifam).Setpoint.HW2PhysicsParams(:,:) = AO.(ifam).Monitor.HW2PhysicsParams(:,:);
+AO.(ifam).Setpoint.Physics2HWParams(:,:) = AO.(ifam).Monitor.Physics2HWParams(:,:);
+
+% devliste tangoname status common attR attW range
+varlist = {
+    1  [ 11 1] 'ANS-C11/AE/PX2-D.1' 1 'PX2C01' 'current' 'current' [-10  10]
+    2  [ 11 2] 'ANS-C11/AE/PX2-D.2' 1 'PX2C02' 'current' 'current' [-10  10]
+    3  [ 11 3] 'ANS-C11/AE/PX2-D.3' 1 'PX2C03' 'current' 'current' [-10  10]
+    };
+
+devnumber = size(varlist,1);
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Setpoint.TangoNames = cell(devnumber,1);
+AO.(ifam).Setpoint.Range = zeros(devnumber,2);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames(k)  = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)));
+    AO.(ifam).Setpoint.TangoNames(k) = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,7)));
+    AO.(ifam).Setpoint.Range(k,:)      = varlist{k,8};
+end
+
+AO.(ifam).Monitor.MemberOf      = {'PlotFamily'};
+AO.(ifam).Setpoint.MemberOf     = {'PlotFamily'};
+AO.(ifam).Setpoint.Tolerance(:,:)    = 1e-1*ones(devnumber,1);
+AO.(ifam).Setpoint.DeltaRespMat(:,:) = 8e-6*ones(devnumber,1); % 2*2 ï¿œurad
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(AO);   %required to make physics2hw function
+AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,'Setpoint', ...
+    AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% NANOSCOPIUM tuner correctors
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ifam = 'NANOC';
+AO.(ifam).FamilyName               = ifam;
+AO.(ifam).FamilyType               = 'COR';
+AO.(ifam).MemberOf                 = {'COR'; 'FCOR'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+
+AO.(ifam).Monitor.Mode              = Mode;
+AO.(ifam).Monitor.DataType          = 'Scalar';
+AO.(ifam).Monitor.Units             = 'Hardware';
+AO.(ifam).Monitor.HWUnits           = 'A';
+AO.(ifam).Monitor.PhysicsUnits      = 'rad';
+AO.(ifam).Monitor.HW2PhysicsParams(:,:) = [0.234; 0.08; 0.151; 0.077]*1e-3/getbrho(2.739);
+AO.(ifam).Monitor.Physics2HWParams(:,:) = 1./AO.(ifam).Monitor.HW2PhysicsParams(:,:);
+
+AO.(ifam).Setpoint.Mode             = Mode;
+AO.(ifam).Setpoint.DataType         = 'Scalar';
+AO.(ifam).Setpoint.Units            = 'Hardware';
+AO.(ifam).Setpoint.HWUnits          = 'A';
+AO.(ifam).Setpoint.PhysicsUnits     = 'rad';
+AO.(ifam).Setpoint.HW2PhysicsParams(:,:) = AO.(ifam).Monitor.HW2PhysicsParams(:,:);
+AO.(ifam).Setpoint.Physics2HWParams(:,:) = AO.(ifam).Monitor.Physics2HWParams(:,:);
+
+% devliste tangoname status common attR attW range
+varlist = {
+    1  [ 13 1] 'ANS-C13/AE/NANO-CHI.1' 1 'NANOC01' 'current' 'current' [-10  10]
+    2  [ 13 2] 'ANS-C13/AE/NANO-CHI.2' 1 'NANOC02' 'current' 'current' [-10  10]
+    3  [ 13 3] 'ANS-C13/AE/NANO-CHI.3' 1 'NANOC03' 'current' 'current' [-10  10]
+    4  [ 13 4] 'ANS-C13/AE/NANO-CHI.4' 1 'NANOC04' 'current' 'current' [-10  10]
+    };
+
+devnumber = size(varlist,1);
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).Setpoint.TangoNames = cell(devnumber,1);
+AO.(ifam).Setpoint.Range = zeros(devnumber,2);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,5));
+    AO.(ifam).Monitor.TangoNames(k)  = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)));
+    AO.(ifam).Setpoint.TangoNames(k) = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,7)));
+    AO.(ifam).Setpoint.Range(k,:)      = varlist{k,8};
+end
+
+AO.(ifam).Monitor.MemberOf      = {'PlotFamily'};
+AO.(ifam).Setpoint.MemberOf     = {'PlotFamily'};
+AO.(ifam).Setpoint.Tolerance(:,:)    = 1e-1*ones(devnumber,1);
+AO.(ifam).Setpoint.DeltaRespMat(:,:) = 8e-6*ones(devnumber,1); % 2*2 ï¿œurad
+
+%convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+setao(AO);   %required to make physics2hw function
+AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,'Setpoint', ...
+    AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+
+%=============================
+%        MAIN MAGNETS
+%=============================
+
+%==============
+%% DIPOLES
+%==============
+
+varlist={
+     1  [ 1  1] 'ANS/AE/Dipole' 1 'BEND.01' [+0 +560]
+     2  [ 1  2] 'ANS/AE/Dipole' 1 'BEND.02' [+0 +560]
+     3  [ 2  1] 'ANS/AE/Dipole' 1 'BEND.03' [+0 +560]
+     4  [ 2  2] 'ANS/AE/Dipole' 1 'BEND.04' [+0 +560]
+     5  [ 3  1] 'ANS/AE/Dipole' 1 'BEND.05' [+0 +560]
+     6  [ 3  2] 'ANS/AE/Dipole' 1 'BEND.06' [+0 +560]
+     7  [ 4  1] 'ANS/AE/Dipole' 1 'BEND.07' [+0 +560]
+     8  [ 4  2] 'ANS/AE/Dipole' 1 'BEND.08' [+0 +560]
+     9  [ 5  1] 'ANS/AE/Dipole' 1 'BEND.09' [+0 +560]
+     10 [ 5  2] 'ANS/AE/Dipole' 1 'BEND.10' [+0 +560]
+     11 [ 6  1] 'ANS/AE/Dipole' 1 'BEND.11' [+0 +560]
+     12 [ 6  2] 'ANS/AE/Dipole' 1 'BEND.12' [+0 +560]
+     13 [ 7  1] 'ANS/AE/Dipole' 1 'BEND.13' [+0 +560]
+     14 [ 7  2] 'ANS/AE/Dipole' 1 'BEND.14' [+0 +560]
+     15 [ 8  1] 'ANS/AE/Dipole' 1 'BEND.15' [+0 +560]
+     16 [ 8  2] 'ANS/AE/Dipole' 1 'BEND.16' [+0 +560]
+     17 [ 9  1] 'ANS/AE/Dipole' 1 'BEND.17' [+0 +560]
+     18 [ 9  2] 'ANS/AE/Dipole' 1 'BEND.18' [+0 +560]
+     19 [10  1] 'ANS/AE/Dipole' 1 'BEND.19' [+0 +560]
+     20 [10  2] 'ANS/AE/Dipole' 1 'BEND.20' [+0 +560]
+     21 [11  1] 'ANS/AE/Dipole' 1 'BEND.21' [+0 +560]
+     22 [11  2] 'ANS/AE/Dipole' 1 'BEND.22' [+0 +560]
+     23 [12  1] 'ANS/AE/Dipole' 1 'BEND.23' [+0 +560]
+     24 [12  2] 'ANS/AE/Dipole' 1 'BEND.24' [+0 +560]
+     25 [13  1] 'ANS/AE/Dipole' 1 'BEND.25' [+0 +560]
+     26 [13  2] 'ANS/AE/Dipole' 1 'BEND.26' [+0 +560]
+     27 [14  1] 'ANS/AE/Dipole' 1 'BEND.27' [+0 +560]
+     28 [14  2] 'ANS/AE/Dipole' 1 'BEND.28' [+0 +560]
+     29 [15  1] 'ANS/AE/Dipole' 1 'BEND.29' [+0 +560]
+     30 [15  2] 'ANS/AE/Dipole' 1 'BEND.30' [+0 +560]
+     31 [16  1] 'ANS/AE/Dipole' 1 'BEND.31' [+0 +560]
+     32 [16  2] 'ANS/AE/Dipole' 1 'BEND.32' [+0 +560]
+};
+
+% *** BEND ***
+ifam='BEND';
+AO.(ifam).FamilyName                 = ifam;
+AO.(ifam).FamilyType                 = 'BEND';
+AO.(ifam).MemberOf                   = {'MachineConfig'; 'BEND'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+HW2PhysicsParams                    = magnetcoefficients('BEND');
+Physics2HWParams                    = HW2PhysicsParams;
+
+AO.(ifam).Monitor.Mode               = Mode;
+AO.(ifam).Monitor.DataType           = 'Scalar';
+AO.(ifam).Monitor.Units              = 'Hardware';
+AO.(ifam).Monitor.HW2PhysicsFcn      = @bend2gev;
+AO.(ifam).Monitor.Physics2HWFcn      = @gev2bend;
+AO.(ifam).Monitor.HWUnits            = 'A';
+AO.(ifam).Monitor.PhysicsUnits       = 'GeV';
+
+devnumber = size(varlist,1);
+% preallocation
+AO.(ifam).ElementList         = zeros(devnumber,1);
+AO.(ifam).Status              = zeros(devnumber,1);
+AO.(ifam).DeviceName          = cell(devnumber,1);
+AO.(ifam).DeviceName          = cell(devnumber,1);
+AO.(ifam).CommonNames         = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+% make Setpoint structure than specific data
+AO.(ifam).Setpoint            = AO.(ifam).Monitor;
+AO.(ifam).Setpoint.Range      = zeros(devnumber,2);
+
+for ik = 1: devnumber,   
+    AO.(ifam).ElementList(ik)           = varlist{ik,1};
+    AO.(ifam).DeviceList(ik,:)          = varlist{ik,2};
+    AO.(ifam).DeviceName(ik)            = deblank(varlist(ik,3));
+    AO.(ifam).Status(ik)                = varlist{ik,4};
+    AO.(ifam).CommonNames(ik)           = deblank(varlist(ik,5));
+    AO.(ifam).Monitor.TangoNames(ik)    = strcat(AO.(ifam).DeviceName{ik}, {'/current'});   
+    AO.(ifam).Setpoint.TangoNames(ik)   = strcat(AO.(ifam).DeviceName{ik}, {'/currentPM'});
+    AO.(ifam).Status(ik)                = varlist{ik,4};
+    AO.(ifam).Setpoint.Range(ik,:)      = varlist{ik,6};
+end
+
+AO.(ifam).Monitor.Handles(:,1) = NaN*ones(devnumber,1);
+
+HW2PhysicsParams = magnetcoefficients(AO.(ifam).FamilyName);
+Physics2HWParams = magnetcoefficients(AO.(ifam).FamilyName);
+
+val = 1;
+for ii=1:devnumber,
+    AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)                 = HW2PhysicsParams;
+    AO.(ifam).Monitor.HW2PhysicsParams{2}(ii,:)                 = val;
+    AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)                 = Physics2HWParams;
+    AO.(ifam).Monitor.Physics2HWParams{2}(ii,:)                 = val;
+end
+% same configuration for Monitor and Setpoint value concerning hardware to physics units
+AO.(ifam).Setpoint.HW2PhysicsParams = AO.(ifam).Monitor.HW2PhysicsParams;
+AO.(ifam).Setpoint.Physics2HWParams = AO.(ifam).Monitor.Physics2HWParams;
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired  = AO.(ifam).Monitor;
+AO.(ifam).Setpoint.MemberOf  = {'PlotFamily'};
+AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentPM');
+
+AO.(ifam).Setpoint.Tolerance(:,:) = 0.05;
+AO.(ifam).Setpoint.DeltaRespMat(:,:) = 0.05;
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% QUADRUPOLE MAGNETS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+clear varlist;
+varlist.Q1={
+    1 [ 1  1] 'ANS-C01/AE/Q1      ' 1 ' Q1.1' [-250 +0]
+    2 [ 4  1] 'ANS-C04/AE/Q1      ' 1 ' Q1.2' [-250 +0]
+    3 [ 5  1] 'ANS-C05/AE/Q1      ' 1 ' Q1.3' [-250 +0]
+    4 [ 8  1] 'ANS-C08/AE/Q1      ' 1 ' Q1.4' [-250 +0]
+    5 [ 9  1] 'ANS-C09/AE/Q1      ' 1 ' Q1.5' [-250 +0]
+    6 [12  1] 'ANS-C12/AE/Q1      ' 1 ' Q1.6' [-250 +0]
+    7 [13  1] 'ANS-C13/AE/Q1      ' 1 ' Q1.7' [-250 +0]
+    8 [16  1] 'ANS-C16/AE/Q1      ' 1 ' Q1.8' [-250 +0]
+    };
+varlist.Q2={
+    1 [ 1  1] 'ANS-C01/AE/Q2      ' 1 ' Q2.1' [+0 +250]
+    2 [ 4  1] 'ANS-C04/AE/Q2      ' 1 ' Q2.2' [+0 +250]
+    3 [ 5  1] 'ANS-C05/AE/Q2      ' 1 ' Q2.3' [+0 +250]
+    4 [ 8  1] 'ANS-C08/AE/Q2      ' 1 ' Q2.4' [+0 +250]
+    5 [ 9  1] 'ANS-C09/AE/Q2      ' 1 ' Q2.5' [+0 +250]
+    6 [12  1] 'ANS-C12/AE/Q2      ' 1 ' Q2.6' [+0 +250]
+    7 [13  1] 'ANS-C13/AE/Q2      ' 1 ' Q2.7' [+0 +250]
+    8 [16  1] 'ANS-C16/AE/Q2      ' 1 ' Q2.8' [+0 +250]
+    };
+varlist.Q3={
+    1 [ 1  1] 'ANS-C01/AE/Q3      ' 1 ' Q3.1' [-250 +0]
+    2 [ 4  1] 'ANS-C04/AE/Q3      ' 1 ' Q3.2' [-250 +0]
+    3 [ 5  1] 'ANS-C05/AE/Q3      ' 1 ' Q3.3' [-250 +0]
+    4 [ 8  1] 'ANS-C08/AE/Q3      ' 1 ' Q3.4' [-250 +0]
+    5 [ 9  1] 'ANS-C09/AE/Q3      ' 1 ' Q3.5' [-250 +0]
+    6 [12  1] 'ANS-C12/AE/Q3      ' 1 ' Q3.6' [-250 +0]
+    7 [13  1] 'ANS-C13/AE/Q3      ' 1 ' Q3.7' [-250 +0]
+    8 [16  1] 'ANS-C16/AE/Q3      ' 1 ' Q3.8' [-250 +0]
+    };
+varlist.Q4={
+     1 [ 1  1] 'ANS-C01/AE/Q4.1    ' 1 'Q4.01' [-250 +0]
+     2 [ 1  2] 'ANS-C01/AE/Q4.2    ' 1 'Q4.02' [-250 +0]
+     3 [ 4  1] 'ANS-C04/AE/Q4.1    ' 1 'Q4.03' [-250 +0]
+     4 [ 4  2] 'ANS-C04/AE/Q4.2    ' 1 'Q4.04' [-250 +0]
+     5 [ 5  1] 'ANS-C05/AE/Q4.1    ' 1 'Q4.05' [-250 +0]
+     6 [ 5  2] 'ANS-C05/AE/Q4.2    ' 1 'Q4.06' [-250 +0]
+     7 [ 8  1] 'ANS-C08/AE/Q4.1    ' 1 'Q4.07' [-250 +0]
+     8 [ 8  2] 'ANS-C08/AE/Q4.2    ' 1 'Q4.08' [-250 +0]
+     9 [ 9  1] 'ANS-C09/AE/Q4.1    ' 1 'Q4.09' [-250 +0]
+    10 [ 9  2] 'ANS-C09/AE/Q4.2    ' 1 'Q4.10' [-250 +0]
+    11 [12  1] 'ANS-C12/AE/Q4.1    ' 1 'Q4.11' [-250 +0]
+    12 [12  2] 'ANS-C12/AE/Q4.2    ' 1 'Q4.12' [-250 +0]
+    13 [13  1] 'ANS-C13/AE/Q4.1    ' 1 'Q4.13' [-250 +0]
+    14 [13  2] 'ANS-C13/AE/Q4.2    ' 1 'Q4.14' [-250 +0]
+    15 [16  1] 'ANS-C16/AE/Q4.1    ' 1 'Q4.15' [-250 +0]
+    16 [16  2] 'ANS-C16/AE/Q4.2    ' 1 'Q4.16' [-250 +0]
+    };
+varlist.Q5={
+     1 [ 1  1] 'ANS-C01/AE/Q5.1    ' 1 'Q5.01' [+0 +250]
+     2 [ 1  2] 'ANS-C01/AE/Q5.2    ' 1 'Q5.02' [+0 +250]
+     3 [ 4  1] 'ANS-C04/AE/Q5.1    ' 1 'Q5.03' [+0 +250]
+     4 [ 4  2] 'ANS-C04/AE/Q5.2    ' 1 'Q5.04' [+0 +250]
+     5 [ 5  1] 'ANS-C05/AE/Q5.1    ' 1 'Q5.05' [+0 +250]
+     6 [ 5  2] 'ANS-C05/AE/Q5.2    ' 1 'Q5.06' [+0 +250]
+     7 [ 8  1] 'ANS-C08/AE/Q5.1    ' 1 'Q5.07' [+0 +250]
+     8 [ 8  2] 'ANS-C08/AE/Q5.2    ' 1 'Q5.08' [+0 +250]
+     9 [ 9  1] 'ANS-C09/AE/Q5.1    ' 1 'Q5.09' [+0 +250]
+    10 [ 9  2] 'ANS-C09/AE/Q5.2    ' 1 'Q5.10' [+0 +250]
+    11 [12  1] 'ANS-C12/AE/Q5.1    ' 1 'Q5.11' [+0 +250]
+    12 [12  2] 'ANS-C12/AE/Q5.2    ' 1 'Q5.12' [+0 +250]
+    13 [13  1] 'ANS-C13/AE/Q5.1    ' 1 'Q5.13' [+0 +250]
+    14 [13  2] 'ANS-C13/AE/Q5.2    ' 1 'Q5.14' [+0 +250]
+    15 [16  1] 'ANS-C16/AE/Q5.1    ' 1 'Q5.15' [+0 +250]
+    16 [16  2] 'ANS-C16/AE/Q5.2    ' 1 'Q5.16' [+0 +250]
+    };
+varlist.Q6={
+     1 [ 1  1] 'ANS-C01/AE/Q6      ' 1 'Q6.01' [-250 +0]
+     2 [ 2  1] 'ANS-C02/AE/Q6.1    ' 1 'Q6.02' [-250 +0]
+     3 [ 2  2] 'ANS-C02/AE/Q6.2    ' 1 'Q6.03' [-250 +0]
+     4 [ 3  1] 'ANS-C03/AE/Q6.1    ' 1 'Q6.04' [-250 +0]
+     5 [ 3  2] 'ANS-C03/AE/Q6.2    ' 1 'Q6.05' [-250 +0]
+     6 [ 4  1] 'ANS-C04/AE/Q6      ' 1 'Q6.06' [-250 +0]
+     7 [ 5  1] 'ANS-C05/AE/Q6      ' 1 'Q6.07' [-250 +0]
+     8 [ 6  1] 'ANS-C06/AE/Q6.1    ' 1 'Q6.08' [-250 +0]
+     9 [ 6  2] 'ANS-C06/AE/Q6.2    ' 1 'Q6.09' [-250 +0]
+    10 [ 7  1] 'ANS-C07/AE/Q6.1    ' 1 'Q6.10' [-250 +0]
+    11 [ 7  2] 'ANS-C07/AE/Q6.2    ' 1 'Q6.11' [-250 +0]
+    12 [ 8  1] 'ANS-C08/AE/Q6      ' 1 'Q6.12' [-250 +0]
+    13 [ 9  1] 'ANS-C09/AE/Q6      ' 1 'Q6.13' [-250 +0]
+    14 [10  1] 'ANS-C10/AE/Q6.1    ' 1 'Q6.14' [-250 +0]
+    15 [10  2] 'ANS-C10/AE/Q6.2    ' 1 'Q6.15' [-250 +0]
+    16 [11  1] 'ANS-C11/AE/Q6.1    ' 1 'Q6.16' [-250 +0]
+    17 [11  2] 'ANS-C11/AE/Q6.2    ' 1 'Q6.17' [-250 +0]
+    18 [12  1] 'ANS-C12/AE/Q6      ' 1 'Q6.18' [-250 +0]
+    19 [13  1] 'ANS-C13/AE/Q6      ' 1 'Q6.19' [-250 +0]
+    20 [14  1] 'ANS-C14/AE/Q6.1    ' 1 'Q6.20' [-250 +0]
+    21 [14  2] 'ANS-C14/AE/Q6.2    ' 1 'Q6.21' [-250 +0]
+    22 [15  1] 'ANS-C15/AE/Q6.1    ' 1 'Q6.22' [-250 +0]
+    23 [15  2] 'ANS-C15/AE/Q6.2    ' 1 'Q6.23' [-250 +0]
+    24 [16  1] 'ANS-C16/AE/Q6      ' 1 'Q6.24' [-250 +0]
+    };
+varlist.Q7={
+     1 [ 1  1] 'ANS-C01/AE/Q7      ' 1 'Q7.01' [+0 +250]
+     2 [ 2  1] 'ANS-C02/AE/Q7.1    ' 1 'Q7.02' [+0 +250]
+     3 [ 2  2] 'ANS-C02/AE/Q7.2    ' 1 'Q7.03' [+0 +250]
+     4 [ 3  1] 'ANS-C03/AE/Q7.1    ' 1 'Q7.04' [+0 +250]
+     5 [ 3  2] 'ANS-C03/AE/Q7.2    ' 1 'Q7.05' [+0 +250]
+     6 [ 4  1] 'ANS-C04/AE/Q7      ' 1 'Q7.06' [+0 +250]
+     7 [ 5  1] 'ANS-C05/AE/Q7      ' 1 'Q7.07' [+0 +250]
+     8 [ 6  1] 'ANS-C06/AE/Q7.1    ' 1 'Q7.08' [+0 +250]
+     9 [ 6  2] 'ANS-C06/AE/Q7.2    ' 1 'Q7.09' [+0 +250]
+    10 [ 7  1] 'ANS-C07/AE/Q7.1    ' 1 'Q7.10' [+0 +250]
+    11 [ 7  2] 'ANS-C07/AE/Q7.2    ' 1 'Q7.11' [+0 +250]
+    12 [ 8  1] 'ANS-C08/AE/Q7      ' 1 'Q7.12' [+0 +250]
+    13 [ 9  1] 'ANS-C09/AE/Q7      ' 1 'Q7.13' [+0 +250]
+    14 [10  1] 'ANS-C10/AE/Q7.1    ' 1 'Q7.14' [+0 +250]
+    15 [10  2] 'ANS-C10/AE/Q7.2    ' 1 'Q7.15' [+0 +250]
+    16 [11  1] 'ANS-C11/AE/Q7.1    ' 1 'Q7.16' [+0 +250]
+    17 [11  2] 'ANS-C11/AE/Q7.2    ' 1 'Q7.17' [+0 +250]
+    18 [12  1] 'ANS-C12/AE/Q7      ' 1 'Q7.18' [+0 +250]
+    19 [13  1] 'ANS-C13/AE/Q7      ' 1 'Q7.19' [+0 +250]
+    20 [14  1] 'ANS-C14/AE/Q7.1    ' 1 'Q7.20' [+0 +250]
+    21 [14  2] 'ANS-C14/AE/Q7.2    ' 1 'Q7.21' [+0 +250]
+    22 [15  1] 'ANS-C15/AE/Q7.1    ' 1 'Q7.22' [+0 +250]
+    23 [15  2] 'ANS-C15/AE/Q7.2    ' 1 'Q7.23' [+0 +250]
+    24 [16  1] 'ANS-C16/AE/Q7      ' 1 'Q7.24' [+0 +250]
+    };
+varlist.Q8={
+     1 [ 1  1] 'ANS-C01/AE/Q8      ' 1 'Q8.01' [-250 +0]
+     2 [ 2  1] 'ANS-C02/AE/Q8.1    ' 1 'Q8.02' [-250 +0]
+     3 [ 2  2] 'ANS-C02/AE/Q8.2    ' 1 'Q8.03' [-250 +0]
+     4 [ 3  1] 'ANS-C03/AE/Q8.1    ' 1 'Q8.04' [-250 +0]
+     5 [ 3  2] 'ANS-C03/AE/Q8.2    ' 1 'Q8.05' [-250 +0]
+     6 [ 4  1] 'ANS-C04/AE/Q8      ' 1 'Q8.06' [-250 +0]
+     7 [ 5  1] 'ANS-C05/AE/Q8      ' 1 'Q8.07' [-250 +0]
+     8 [ 6  1] 'ANS-C06/AE/Q8.1    ' 1 'Q8.08' [-250 +0]
+     9 [ 6  2] 'ANS-C06/AE/Q8.2    ' 1 'Q8.09' [-250 +0]
+    10 [ 7  1] 'ANS-C07/AE/Q8.1    ' 1 'Q8.10' [-250 +0]
+    11 [ 7  2] 'ANS-C07/AE/Q8.2    ' 1 'Q8.11' [-250 +0]
+    12 [ 8  1] 'ANS-C08/AE/Q8      ' 1 'Q8.12' [-250 +0]
+    13 [ 9  1] 'ANS-C09/AE/Q8      ' 1 'Q8.13' [-250 +0]
+    14 [10  1] 'ANS-C10/AE/Q8.1    ' 1 'Q8.14' [-250 +0]
+    15 [10  2] 'ANS-C10/AE/Q8.2    ' 1 'Q8.15' [-250 +0]
+    16 [11  1] 'ANS-C11/AE/Q8.1    ' 1 'Q8.16' [-250 +0]
+    17 [11  2] 'ANS-C11/AE/Q8.2    ' 1 'Q8.17' [-250 +0]
+    18 [12  1] 'ANS-C12/AE/Q8      ' 1 'Q8.18' [-250 +0]
+    19 [13  1] 'ANS-C13/AE/Q8      ' 1 'Q8.19' [-250 +0]
+    20 [14  1] 'ANS-C14/AE/Q8.1    ' 1 'Q8.20' [-250 +0]
+    21 [14  2] 'ANS-C14/AE/Q8.2    ' 1 'Q8.21' [-250 +0]
+    22 [15  1] 'ANS-C15/AE/Q8.1    ' 1 'Q8.22' [-250 +0]
+    23 [15  2] 'ANS-C15/AE/Q8.2    ' 1 'Q8.23' [-250 +0]
+    24 [16  1] 'ANS-C16/AE/Q8      ' 1 'Q8.24' [-250 +0]
+    };
+varlist.Q9={
+     1 [ 2  1] 'ANS-C02/AE/Q9.1    ' 1 'Q9.01' [-250 +0]
+     2 [ 2  2] 'ANS-C02/AE/Q9.2    ' 1 'Q9.02' [-250 +0]
+     3 [ 3  1] 'ANS-C03/AE/Q9.1    ' 1 'Q9.03' [-250 +0]
+     4 [ 3  2] 'ANS-C03/AE/Q9.2    ' 1 'Q9.04' [-250 +0]
+     5 [ 6  1] 'ANS-C06/AE/Q9.1    ' 1 'Q9.05' [-250 +0]
+     6 [ 6  2] 'ANS-C06/AE/Q9.2    ' 1 'Q9.06' [-250 +0]
+     7 [ 7  1] 'ANS-C07/AE/Q9.1    ' 1 'Q9.07' [-250 +0]
+     8 [ 7  2] 'ANS-C07/AE/Q9.2    ' 1 'Q9.08' [-250 +0]
+     9 [10  1] 'ANS-C10/AE/Q9.1    ' 1 'Q9.09' [-250 +0]
+    10 [10  2] 'ANS-C10/AE/Q9.2    ' 1 'Q9.10' [-250 +0]
+    11 [11  1] 'ANS-C11/AE/Q9.1    ' 1 'Q9.11' [-250 +0]
+    12 [11  2] 'ANS-C11/AE/Q9.2    ' 1 'Q9.12' [-250 +0]
+    13 [14  1] 'ANS-C14/AE/Q9.1    ' 1 'Q9.13' [-250 +0]
+    14 [14  2] 'ANS-C14/AE/Q9.2    ' 1 'Q9.14' [-250 +0]
+    15 [15  1] 'ANS-C15/AE/Q9.1    ' 1 'Q9.15' [-250 +0]
+    16 [15  2] 'ANS-C15/AE/Q9.2    ' 1 'Q9.16' [-250 +0]
+    };
+varlist.Q10={
+     1 [ 2  1] 'ANS-C02/AE/Q10.1   ' 1 'Q10.01' [+0 +250]
+     2 [ 2  2] 'ANS-C02/AE/Q10.2   ' 1 'Q10.02' [+0 +250]
+     3 [ 3  1] 'ANS-C03/AE/Q10.1   ' 1 'Q10.03' [+0 +250]
+     4 [ 3  2] 'ANS-C03/AE/Q10.2   ' 1 'Q10.04' [+0 +250]
+     5 [ 6  1] 'ANS-C06/AE/Q10.1   ' 1 'Q10.05' [+0 +250]
+     6 [ 6  2] 'ANS-C06/AE/Q10.2   ' 1 'Q10.06' [+0 +250]
+     7 [ 7  1] 'ANS-C07/AE/Q10.1   ' 1 'Q10.07' [+0 +250]
+     8 [ 7  2] 'ANS-C07/AE/Q10.2   ' 1 'Q10.08' [+0 +250]
+     9 [10  1] 'ANS-C10/AE/Q10.1   ' 1 'Q10.09' [+0 +250]
+    10 [10  2] 'ANS-C10/AE/Q10.2   ' 1 'Q10.10' [+0 +250]
+    11 [11  1] 'ANS-C11/AE/Q10.1   ' 1 'Q10.11' [+0 +250]
+    12 [11  2] 'ANS-C11/AE/Q10.2   ' 1 'Q10.12' [+0 +250]
+    13 [14  1] 'ANS-C14/AE/Q10.1   ' 1 'Q10.13' [+0 +250]
+    14 [14  2] 'ANS-C14/AE/Q10.2   ' 1 'Q10.14' [+0 +250]
+    15 [15  1] 'ANS-C15/AE/Q10.1   ' 1 'Q10.15' [+0 +250]
+    16 [15  2] 'ANS-C15/AE/Q10.2   ' 1 'Q10.16' [+0 +250]
+    };
+% for nanoscopium
+varlist.Q11={
+    1 [13  1] 'ANS-C13/AE/Q11.1   ' 1 'Q11.1' [-275 +0]
+    2 [13  2] 'ANS-C13/AE/Q11.2   ' 1 'Q11.2' [-275 +0]
+    };
+varlist.Q12={   
+    1 [13  1] 'ANS-C13/AE/Q12     ' 1 'Q12.1' [+0 +275]
+    };
+
+for k = 1:12,
+    ifam = ['Q' num2str(k)];
+    AO.(ifam).FamilyName                 = ifam;
+    AO.(ifam).FamilyType                 = 'QUAD';
+    AO.(ifam).MemberOf                   = {'MachineConfig'; 'QUAD'; 'Magnet'; 'PlotFamily'; 'Archivable'};
+    AO.(ifam).Monitor.Mode               = Mode;
+    AO.(ifam).Monitor.DataType           = 'Scalar';
+    AO.(ifam).Monitor.Units              = 'Hardware';
+    AO.(ifam).Monitor.HWUnits            = 'A';
+    AO.(ifam).Monitor.PhysicsUnits       = 'meter^-2';
+    AO.(ifam).Monitor.HW2PhysicsFcn      = @amp2k;
+    AO.(ifam).Monitor.Physics2HWFcn      = @k2amp;
+    
+    ifam = sprintf('Q%s', num2str(k));
+    devnumber = size(varlist.(ifam),1);
+    % preallocation
+    AO.(ifam).ElementList = zeros(devnumber,1);
+    AO.(ifam).Status      = zeros(devnumber,1);
+    AO.(ifam).DeviceName  = cell(devnumber,1);
+    AO.(ifam).DeviceName  = cell(devnumber,1);
+    AO.(ifam).CommonNames = cell(devnumber,1);
+    AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+    % make Setpoint structure than specific data
+    AO.(ifam).Setpoint = AO.(ifam).Monitor;
+    AO.(ifam).Setpoint.Range = zeros(devnumber,2);
+    
+    for ik = 1: devnumber,
+        AO.(ifam).ElementList(ik)  = varlist.(ifam){ik,1};
+        AO.(ifam).DeviceList(ik,:) = varlist.(ifam){ik,2};
+        AO.(ifam).DeviceName(ik)   = deblank(varlist.(ifam)(ik,3));
+        AO.(ifam).Status(ik)       = varlist.(ifam){ik,4};
+        AO.(ifam).CommonNames(ik)  = deblank(varlist.(ifam)(ik,5));
+        AO.(ifam).Monitor.TangoNames(ik)  = strcat(AO.(ifam).DeviceName{ik}, {'/currentPM'});
+        AO.(ifam).Setpoint.TangoNames(ik) = strcat(AO.(ifam).DeviceName{ik}, {'/currentPM'});
+        AO.(ifam).Setpoint.Range(ik,:)      = varlist.(ifam){ik,6};
+    end
+    
+    %AO.(ifam).Monitor.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,{'/currentPM'});
+    AO.(ifam).Monitor.Handles(:,1) = NaN*ones(devnumber,1);
+    
+    HW2PhysicsParams = magnetcoefficients(AO.(ifam).FamilyName);
+    Physics2HWParams = magnetcoefficients(AO.(ifam).FamilyName);
+    
+    val = 1.0;
+    for ii=1:devnumber,
+        AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)                 = HW2PhysicsParams;
+        AO.(ifam).Monitor.HW2PhysicsParams{2}(ii,:)                 = val;
+        AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)                 = Physics2HWParams;
+        AO.(ifam).Monitor.Physics2HWParams{2}(ii,:)                 = val;
+    end
+    % same configuration for Monitor and Setpoint value concerning hardware to physics units
+    AO.(ifam).Setpoint.HW2PhysicsParams = AO.(ifam).Monitor.HW2PhysicsParams;
+    AO.(ifam).Setpoint.Physics2HWParams = AO.(ifam).Monitor.Physics2HWParams;
+    
+    % Group
+    if ControlRoomFlag
+            AO.(ifam).GroupId = tango_group_create2(ifam);
+            tango_group_add(AO.(ifam).GroupId,AO.(ifam).DeviceName');
+    else
+        AO.(ifam).GroupId = nan;
+    end
+    
+    % to be part of plotfamily
+    AO.(ifam).Setpoint.MemberOf  = {'PlotFamily'};
+    % set tolerance for setting values
+    AO.(ifam).Setpoint.Tolerance(:,:) = 0.02*ones(devnumber,1);
+    % information for getrunflag
+    AO.(ifam).Setpoint.RunFlagFcn = @tangogetrunflag;
+    AO.(ifam).Setpoint.RampRate = 1;
+       
+    AO.(ifam).Desired  = AO.(ifam).Monitor;
+    
+    AO.(ifam).Voltage = AO.(ifam).Monitor;
+    AO.(ifam).Voltage.MemberOf  = {'PlotFamily'};
+    AO.(ifam).Voltage.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/voltage');
+    AO.(ifam).Voltage.HWUnits            = 'V';
+    
+    AO.(ifam).DCCT = AO.(ifam).Monitor;
+    AO.(ifam).DCCT.MemberOf  = {'PlotFamily'};
+    AO.(ifam).DCCT.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/current');
+    
+    AO.(ifam).CurrentTotal = AO.(ifam).Monitor;
+    AO.(ifam).CurrentTotal.MemberOf  = {'PlotFamily'};
+    AO.(ifam).CurrentTotal.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentTotal');
+    
+    AO.(ifam).CurrentSetpoint = AO.(ifam).Monitor;
+    AO.(ifam).CurrentSetpoint.MemberOf  = {'PlotFamily'};
+    AO.(ifam).CurrentSetpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentSetpoint');
+    
+    AO.(ifam).SumOffset = AO.(ifam).Monitor;
+    AO.(ifam).SumOffset.MemberOf  = {'PlotFamily'};
+    AO.(ifam).SumOffset.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/ecart3');
+    
+    AO.(ifam).Offset1 = AO.(ifam).Monitor;
+    AO.(ifam).Offset1.MemberOf  = {'PlotFamily'};
+    AO.(ifam).Offset1.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentOffset1');
+        
+    % Profibus configuration
+    if k < 6
+        AO.(ifam).Profibus.BoardNumber = int32(1);
+        AO.(ifam).Profibus.Group       = int32(k);
+        AO.(ifam).Profibus.DeviceName  = 'ANS/AE/DP.QP';
+    elseif k < 11
+        AO.(ifam).Profibus.BoardNumber = int32(0);
+        AO.(ifam).Profibus.Group       = int32(k-5);
+        AO.(ifam).Profibus.DeviceName  = 'ANS/AE/DP.QP';
+    else % NANOSCOPIUM
+        AO.(ifam).Profibus.BoardNumber = int32(0);
+        AO.(ifam).Profibus.Group       = int32(6);
+        AO.(ifam).Profibus.DeviceName  = 'ANS-C13/AE/DP.NANOSCOPIUM';
+    end
+    %convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+    setao(AO);   %required to make physics2hw function
+    AO.(ifam).Setpoint.DeltaKBeta = 1; % for betatron function measurement.
+end
+
+% TODO : this is lattice dependent !
+% step for tuneshift of 1-e-2 in one of the planes
+AO.Q1.Setpoint.DeltaRespMat = 0.4; %A
+AO.Q2.Setpoint.DeltaRespMat = 0.15;%A
+AO.Q3.Setpoint.DeltaRespMat = 0.5; %A
+AO.Q4.Setpoint.DeltaRespMat = 0.2; %A
+AO.Q5.Setpoint.DeltaRespMat = 0.2; %A
+AO.Q6.Setpoint.DeltaRespMat = 0.2; %A
+AO.Q7.Setpoint.DeltaRespMat = 0.2; %A
+AO.Q8.Setpoint.DeltaRespMat = 0.2; %A
+AO.Q9.Setpoint.DeltaRespMat = 0.2; %A
+AO.Q10.Setpoint.DeltaRespMat = 0.2; %A
+AO.Q11.Setpoint.DeltaRespMat = 0.2; %A to be modified
+AO.Q12.Setpoint.DeltaRespMat = 0.2; %A to be modified
+
+
+
+%% All quadrupoles
+ifam = 'Qall';
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'PlotFamily'};
+AO.(ifam).FamilyType             = 'Qall';
+AO.(ifam).Mode                   = Mode;
+
+AO.(ifam).DeviceName= {};
+
+for k = 1:12, % nanoscopium
+    iquad = sprintf('Q%d',k);
+    AO.(ifam).DeviceName = {AO.(ifam).DeviceName{:} AO.(iquad).DeviceName{:}};
+end
+
+AO.(ifam).DeviceName = AO.(ifam).DeviceName';
+
+AO.(ifam).DeviceList = [];
+
+devnumber = length(AO.(ifam).DeviceName);
+
+% build fake device list in order to use plotfamily
+for k =1:devnumber,
+    AO.(ifam).DeviceList = [AO.(ifam).DeviceList; 1 k];
+end
+
+AO.(ifam).Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(devnumber,1);
+AO.(ifam).Monitor.Physics2HWParams(:,:) = 1e3*ones(devnumber,1);
+
+AO.(ifam).ElementList            = (1:devnumber)';
+AO.(ifam).Status                 = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'meter^-2';
+AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');
+AO.(ifam).Setpoint               = AO.(ifam).Monitor;
+AO.(ifam).Setpoint.MemberOf      = {'PlotFamily'};
+AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentPM');
+
+AO.(ifam).Voltage = AO.(ifam).Monitor;
+AO.(ifam).Voltage.MemberOf  = {'PlotFamily'};
+AO.(ifam).Voltage.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/voltage');
+
+AO.(ifam).DCCT = AO.(ifam).Monitor;
+AO.(ifam).DCCT.MemberOf  = {'PlotFamily'};
+AO.(ifam).DCCT.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/current');
+
+AO.(ifam).CurrentTotal = AO.(ifam).Monitor;
+AO.(ifam).CurrentTotal.MemberOf  = {'PlotFamily'};
+AO.(ifam).CurrentTotal.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentTotal');
+
+AO.(ifam).CurrentSetpoint = AO.(ifam).Monitor;
+AO.(ifam).CurrentSetpoint.MemberOf  = {'PlotFamily'};
+AO.(ifam).CurrentSetpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentSetpoint');
+
+AO.(ifam).SumOffset = AO.(ifam).Monitor;
+AO.(ifam).SumOffset.MemberOf  = {'PlotFamily'};
+AO.(ifam).SumOffset.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/ecart3');
+
+AO.(ifam).Offset1 = AO.(ifam).Monitor;
+AO.(ifam).Offset1.MemberOf  = {'PlotFamily'};
+AO.(ifam).Offset1.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentOffset1');
+
+
+%% QC13
+ifam = 'QC13';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'PlotFamily'};
+AO.(ifam).FamilyType             = 'QUADC13';
+AO.(ifam).Mode                   = Mode;
+AO.(ifam).DeviceName             = {'ANS-C13/AE/Q1'; 'ANS-C13/AE/Q2'; 'ANS-C13/AE/Q3';  'ANS-C13/AE/Q4.1';
+                                    'ANS-C13/AE/Q5.1'; 'ANS-C13/AE/Q5.2'; 'ANS-C13/AE/Q4.2'; 'ANS-C13/AE/Q6';
+                                    'ANS-C13/AE/Q7'; 'ANS-C13/AE/Q8' };
+AO.(ifam).DeviceList             = [13 1; 13 2; 13 3; 13 4; 13 5; 13 6; 13 7; 13 8; 13 9; 13 10];
+devnumber = length(AO.(ifam).DeviceList);
+AO.(ifam).ElementList            = (1:devnumber)';
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'meter^-2';
+AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');
+AO.(ifam).Setpoint               = AO.(ifam).Monitor;
+AO.(ifam).Desired                = AO.(ifam).Monitor;
+AO.(ifam).Setpoint.MemberOf      = {'PlotFamily'};
+AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentPM');
+
+
+clear tune
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% SEXTUPOLE MAGNETS
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% % 343 A for 320 Tm-2
+% S11 et S12 use quadrupole power supplies (nanoscopium)
+clear varlist;
+% varlist.S1 ={
+%   1 [ 1  1] 'ANS/AE/S1     ' 1 'S1 ' [+000 +349]
+%   2 [ 4  1] 'ANS/AE/S1     ' 1 'S1 ' [+000 +349]
+%   3 [ 5  1] 'ANS/AE/S1     ' 1 'S1 ' [+000 +349]
+%   4 [ 7  1] 'ANS/AE/S1     ' 1 'S1 ' [+000 +349]
+%   5 [ 8  1] 'ANS/AE/S1     ' 1 'S1 ' [+000 +349]
+%   6 [16  1] 'ANS/AE/S1     ' 1 'S1 ' [+000 +349]
+% };
+
+
+varlist={
+  1 [ 1  1] 'ANS/AE/S1     ' 1 'S1 ' [+000 +349]
+  1 [ 1  1] 'ANS/AE/S2     ' 1 'S2 ' [-349 +000]
+  1 [ 1  1] 'ANS/AE/S3     ' 1 'S3 ' [-349 +000]
+  1 [ 1  1] 'ANS/AE/S4     ' 1 'S4 ' [+000 +349]
+  1 [ 1  1] 'ANS/AE/S5     ' 1 'S5 ' [-349 +000]
+  1 [ 1  1] 'ANS/AE/S6     ' 1 'S6 ' [+000 +349]
+  1 [ 1  1] 'ANS/AE/S7     ' 1 'S7 ' [-349 +000]
+  1 [ 1  1] 'ANS/AE/S8     ' 1 'S8 ' [+000 +349]
+  1 [ 1  1] 'ANS/AE/S9     ' 1 'S9 ' [-349 +000]
+  1 [ 1  1] 'ANS/AE/S10    ' 1 'S10' [+000 +349]
+  1 [ 1  1] 'ANS/AE/S11    ' 1 'S11' [+000 +274]
+  1 [13  1] 'ANS-C13/AE/S12' 1 'S12' [-274 +000]
+};
+
+for k = 1:length(varlist),
+    %ifam = ['S' num2str(k)];
+    ifam = cell2mat(deblank(varlist(k,5)));
+    
+    AO.(ifam).FamilyName                = ifam;
+    AO.(ifam).FamilyType                = 'SEXT';
+    AO.(ifam).MemberOf                  = {'MachineConfig'; 'SEXT'; 'Magnet'; 'Archivable'};
+    
+    AO.(ifam).Monitor.Mode              = Mode;
+    AO.(ifam).Monitor.DataType          = 'Scalar';
+    AO.(ifam).Monitor.Units             = 'Hardware';
+    AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+    AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+    AO.(ifam).Monitor.HWUnits           = 'A';
+    AO.(ifam).Monitor.PhysicsUnits      = 'meter^-3';
+    AO.(ifam).Monitor.Handles           = NaN;
+    AO.(ifam).Setpoint                  = AO.(ifam).Monitor;
+
+    AO.(ifam).DeviceList                = varlist{k,2};
+    AO.(ifam).ElementList               = varlist{k,1};    
+    AO.(ifam).DeviceName                = deblank(varlist{k,3});
+    AO.(ifam).Status                    = varlist{k,4};
+    AO.(ifam).CommonNames               = deblank(varlist{k,5});
+    AO.(ifam).Setpoint.Range(:,:)       = varlist{k,6};
+    
+    dev = AO.(ifam).DeviceName;
+    AO.(ifam).Monitor.TangoNames  = strcat(dev,'/current');
+   
+    % Configuration of HW to Physics
+    HW2PhysicsParams = magnetcoefficients(AO.(ifam).FamilyName);    
+    val = 1.0; % scaling factor
+    AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = HW2PhysicsParams;
+    AO.(ifam).Monitor.HW2PhysicsParams{2}(1,:) = val;
+    AO.(ifam).Monitor.Physics2HWParams{1}(1,:) = HW2PhysicsParams;
+    AO.(ifam).Monitor.Physics2HWParams{2}(1,:) = val;
+    AO.(ifam).Setpoint.HW2PhysicsParams = AO.(ifam).Monitor.HW2PhysicsParams;
+    AO.(ifam).Setpoint.Physics2HWParams = AO.(ifam).Monitor.Physics2HWParams;
+        
+    AO.(ifam).Setpoint.MemberOf  = {'PlotFamily'};
+    AO.(ifam).Desired  = AO.(ifam).Monitor;
+    AO.(ifam).Setpoint.TangoNames   = strcat(dev,'/currentPM');
+    
+    AO.(ifam).Setpoint.Tolerance     = 0.05;
+    AO.(ifam).Setpoint.DeltaRespMat  = 2e7; % Physics units for a thin sextupole
+    
+    % information for getrunflag
+    AO.(ifam).Setpoint.RunFlagFcn = @tangogetrunflag;
+    AO.(ifam).Setpoint.RampRate = 1;
+    
+    %convert response matrix kicks to HWUnits (after AO is loaded to AppData)
+    setao(AO);   %required to make physics2hw function
+    AO.(ifam).Setpoint.DeltaRespMat=physics2hw(AO.(ifam).FamilyName,'Setpoint',AO.(ifam).Setpoint.DeltaRespMat,AO.(ifam).DeviceList);
+end
+
+% Config profibus not used for sextupoles NANOSCOPIUM
+%         AO.(ifam).Profibus.BoardNumber = int32(0);
+%         AO.(ifam).Profibus.Group       = int32(1);
+%         AO.(ifam).Profibus.DeviceName  = 'ANS-C13/AE/DP.NANOSCOPIUM';
+
+%% All Sextupoles
+ifam = 'Sall';
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'PlotFamily'};
+AO.(ifam).FamilyType             = 'Sall';
+AO.(ifam).Mode                   = Mode;
+
+AO.(ifam).DeviceName= {};
+
+for k = 1:12, % for nanoscopium
+    isext = sprintf('S%d',k);
+    AO.(ifam).DeviceName = {AO.(ifam).DeviceName{:} AO.(isext).DeviceName};
+end
+
+AO.(ifam).DeviceName = AO.(ifam).DeviceName';
+
+AO.(ifam).DeviceList = [];
+
+devnumber = length(AO.(ifam).DeviceName);
+
+% build fake device list in order to use plotfamily
+for k =1:devnumber,
+    AO.(ifam).DeviceList = [AO.(ifam).DeviceList; 1 k];
+end
+
+AO.(ifam).ElementList            = (1:devnumber)';
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'meter^-3';
+AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');
+
+AO.(ifam).Setpoint               = AO.(ifam).Monitor;
+AO.(ifam).Setpoint.MemberOf      = {'PlotFamily'};
+AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentPM');
+
+AO.(ifam).Voltage = AO.(ifam).Monitor;
+AO.(ifam).Voltage.MemberOf  = {'PlotFamily'};
+AO.(ifam).Voltage.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/voltage');
+
+AO.(ifam).DCCT = AO.(ifam).Monitor;
+AO.(ifam).DCCT.MemberOf  = {'PlotFamily'};
+AO.(ifam).DCCT.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/current');
+
+AO.(ifam).CurrentTotal = AO.(ifam).Monitor;
+AO.(ifam).CurrentTotal.MemberOf  = {'PlotFamily'};
+AO.(ifam).CurrentTotal.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentTotal');
+
+AO.(ifam).CurrentSetpoint = AO.(ifam).Monitor;
+AO.(ifam).CurrentSetpoint.MemberOf  = {'PlotFamily'};
+AO.(ifam).CurrentSetpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentSetpoint');
+
+AO.(ifam).SumOffset = AO.(ifam).Monitor;
+AO.(ifam).SumOffset.MemberOf  = {'PlotFamily'};
+AO.(ifam).SumOffset.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/ecart3');
+
+AO.(ifam).Offset1 = AO.(ifam).Monitor;
+AO.(ifam).Offset1.MemberOf  = {'PlotFamily'};
+AO.(ifam).Offset1.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,'/currentOffset1');
+
+% Build up fake poistion for plotfamily
+AO.(ifam).Position = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+
+%%%%%%%%%%%%%%%%%%
+%% Pulsed Magnet
+%%%%%%%%%%%%%%%%%%
+
+%% All Injection kicker
+ifam = 'K_INJ';
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).FamilyType           = ifam;
+AO.(ifam).MemberOf             = {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = ones(4,1);
+AO.(ifam).DeviceName               = ['ANS-C01/EP/AL_K.1'; 'ANS-C01/EP/AL_K.2'; 'ANS-C01/EP/AL_K.3'; 'ANS-C01/EP/AL_K.4'];
+AO.(ifam).CommonNames              = ifam;
+AO.(ifam).ElementList              = [1 2 3 4]';
+AO.(ifam).DeviceList(:,:)          = [1 1; 1 2; 1 3; 1 4];
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(4,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+HW2PhysicsParams                    = magnetcoefficients(ifam);
+Physics2HWParams                    = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+%% K1 and K4 Injection kicker
+ifam = 'K_INJ1';
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).FamilyType           = ifam;
+AO.(ifam).MemberOf             = {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = ones(2,1);
+AO.(ifam).DeviceName               = ['ANS-C01/EP/AL_K.1'; 'ANS-C01/EP/AL_K.4'];
+AO.(ifam).CommonNames              = ifam;
+AO.(ifam).ElementList              = [1 2]';
+AO.(ifam).DeviceList(:,:)          = [1 1;  1 4];
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(2,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+HW2PhysicsParams                    = magnetcoefficients(ifam);
+Physics2HWParams                    = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+%% K2 and K3 Injection kicker
+ifam = 'K_INJ2';
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).FamilyType           = ifam;
+AO.(ifam).MemberOf             = {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = ones(2,1);
+AO.(ifam).DeviceName               = ['ANS-C01/EP/AL_K.2'; 'ANS-C01/EP/AL_K.3'];
+AO.(ifam).CommonNames              = ifam;
+AO.(ifam).ElementList              = [1 2]';
+AO.(ifam).DeviceList(:,:)          = [1 2;  1 3];
+AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(2,1);
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+HW2PhysicsParams                    = magnetcoefficients(ifam);
+Physics2HWParams                    = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+%% Septum Passif
+ifam = 'SEP_P';
+AO.(ifam).FamilyName           =  ifam;
+AO.(ifam).FamilyType           =  ifam;
+AO.(ifam).MemberOf             =  {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         =   Mode;
+AO.(ifam).Monitor.DataType     =  'Scalar';
+
+AO.(ifam).Status                   = 1;
+AO.(ifam).DeviceName               = cellstr('ANS-C01/EP/AL_SEP_P.1');
+AO.(ifam).CommonNames              = ifam;
+AO.(ifam).ElementList              = 1;
+AO.(ifam).DeviceList(:,:)          = [1 1];
+AO.(ifam).Monitor.Handles(:,1)     = NaN;
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/serialVoltage');
+AO.(ifam).Monitor.HW2PhysicsFcn    = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn    = @k2amp;
+HW2PhysicsParams                   = magnetcoefficients(ifam);
+Physics2HWParams                   = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Desired  = AO.(ifam).Monitor;
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+
+
+%% Septum Actif
+ifam = 'SEP_A';
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).FamilyType           = ifam;
+AO.(ifam).MemberOf             = {'Injection';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = 1;
+AO.(ifam).DeviceName               = cellstr('ANS-C01/EP/AL_SEP_A');
+AO.(ifam).CommonNames              = 'SEP_A_INJ';
+AO.(ifam).ElementList              = 1;
+AO.(ifam).DeviceList(:,:)           = [1 1];
+AO.(ifam).Monitor.Handles(:,1)     = NaN;
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+HW2PhysicsParams                    = magnetcoefficients(ifam);
+Physics2HWParams                    = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'mrad';
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired = AO.(ifam).Monitor;
+
+%% KEMH
+ifam = 'KEMH';
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).FamilyType           = ifam;
+AO.(ifam).MemberOf             = {'KEM';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                   = 1;
+AO.(ifam).DeviceName               = cellstr('ANS-C01/EP/AL_KEM_H');
+AO.(ifam).CommonNames              = 'KEM_H';
+AO.(ifam).ElementList              = 1;
+AO.(ifam).DeviceList(:,:)           = [1 1];
+AO.(ifam).Monitor.Handles(:,1)     = NaN;
+AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+HW2PhysicsParams                    = magnetcoefficients(ifam);
+Physics2HWParams                    = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'rad';
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired  = AO.(ifam).Monitor;
+
+%% KEMV
+ifam = 'KEMV';
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).FamilyType           = ifam;
+AO.(ifam).MemberOf             = {'KEM';'Archivable';'EP'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+AO.(ifam).Status                    = 1;
+AO.(ifam).DeviceName                = cellstr('ANS-C01/EP/AL_KEM_V');
+AO.(ifam).CommonNames               = 'KEM_V';
+AO.(ifam).ElementList               = 1;
+AO.(ifam).DeviceList(:,:)           = [1 1];
+AO.(ifam).Monitor.Handles(:,1)      = NaN;
+AO.(ifam).Monitor.TangoNames        = strcat(AO.(ifam).DeviceName, '/voltage');
+AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+HW2PhysicsParams                    = magnetcoefficients(ifam);
+Physics2HWParams                    = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'V';
+AO.(ifam).Monitor.PhysicsUnits     = 'rad';
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired  = AO.(ifam).Monitor;
+
+
+%% tune correctors
+AO.Q7.MemberOf = {AO.Q7.MemberOf{:} 'Tune Corrector'}';
+AO.Q9.MemberOf = {AO.Q9.MemberOf{:} 'Tune Corrector'}';
+
+%% chromaticity correctors
+AO.S9.MemberOf  = {AO.S9.MemberOf{:} 'Chromaticity Corrector'}';
+AO.S10.MemberOf = {AO.S10.MemberOf{:} 'Chromaticity Corrector'}';
+
+%%%%%%%%%%%%%%%%%%
+%% CYCLAGE
+%%%%%%%%%%%%%%%%%
+
+disp('cycling configuration ...');
+
+%% cycleramp For dipole magnet
+ifam = 'CycleBEND';
+
+AO.(ifam).FamilyName             = 'CycleBEND';
+AO.(ifam).MemberOf               = {'CycleBEND'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+
+
+AO.(ifam).DeviceName             = 'ANS/AE/cycleDipole';
+AO.(ifam).DeviceList             = [1 1];
+AO.(ifam).ElementList            = 1;
+AO.(ifam).Inom = 541.789;
+AO.(ifam).Imax = 579.9;
+AO.(ifam).Status = 1;
+
+if ControlRoomFlag
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName);    
+else
+    AO.(ifam).GroupId = nan;
+end
+
+%% cycleramp For H-corrector magnets
+ifam  = 'CycleHCOR';
+ifamQ = 'HCOR';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleCOR'; ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = AO.(ifamQ).DeviceList;
+AO.(ifam).ElementList            = AO.(ifamQ).ElementList;
+
+if ControlRoomFlag
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName(find(AO.(ifamQ).Status),:)')
+else
+    AO.(ifam).GroupId = nan;
+end
+
+devnumber = length(AO.(ifam).DeviceName);
+AO.(ifam).Inom = 1.*ones(1,devnumber);
+AO.(ifam).Imax = 10.99*ones(1,devnumber);
+AO.(ifam).Status = AO.(ifamQ).Status;
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% cycleramp For V-corrector magnets
+ifam = 'CycleVCOR';
+ifamQ = 'VCOR';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleCOR'; ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = AO.(ifamQ).DeviceList;
+AO.(ifam).ElementList            = AO.(ifamQ).ElementList;
+
+
+if ControlRoomFlag
+    AO.(ifam).GroupId                = tango_group_create(ifam);
+    tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName(find(AO.(ifamQ).Status),:)')
+else
+    AO.(ifam).GroupId = nan;
+end
+
+devnumber = length(AO.(ifam).DeviceName);
+AO.(ifam).Inom = 1.*ones(1,devnumber);
+AO.(ifam).Imax = 13.99*ones(1,devnumber);
+AO.(ifam).Status = AO.(ifamQ).Status;
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% cycleramp For QT-corrector magnets
+ifam = 'CycleQT';
+ifamQ = 'QT';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {'CycleCOR'; ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = AO.(ifamQ).DeviceList;
+AO.(ifam).ElementList            = AO.(ifamQ).ElementList;
+
+
+if ControlRoomFlag
+    AO.(ifam).GroupId                = tango_group_create(ifam);
+    tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName(find(AO.(ifamQ).Status),:)')
+else
+    AO.(ifam).GroupId = nan;
+end
+
+devnumber = length(AO.(ifam).DeviceName);
+AO.(ifam).Inom = 1.*ones(1,devnumber);
+AO.(ifam).Imax = 6.99*ones(1,devnumber);
+AO.(ifam).Status = AO.(ifamQ).Status;
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+
+% cycleramp For quadrupoles magnets
+%% CYCLEQ1
+ifam = 'CycleQ1';
+ifamQ = 'Q1';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 200.*ones(1,devnumber);
+AO.(ifam).Imax = -249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ2
+ifam = 'CycleQ2';
+ifamQ = 'Q2';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 150*ones(1,devnumber);
+AO.(ifam).Imax = 249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ3
+ifam = 'CycleQ3';
+ifamQ = 'Q3';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 150*ones(1,devnumber);
+AO.(ifam).Imax = -249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ4
+ifam = 'CycleQ4';
+ifamQ = 'Q4';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 150*ones(1,devnumber);
+AO.(ifam).Imax = -249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ5
+ifam = 'CycleQ5';
+ifamQ = 'Q5';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 150*ones(1,devnumber);
+AO.(ifam).Imax = 249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ6
+ifam = 'CycleQ6';
+ifamQ = 'Q6';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 150*ones(1,devnumber);
+AO.(ifam).Imax = -249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ7
+ifam = 'CycleQ7';
+ifamQ = 'Q7';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 150*ones(1,devnumber);
+AO.(ifam).Imax = 249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ8
+ifam = 'CycleQ8';
+ifamQ = 'Q8';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 150*ones(1,devnumber);
+AO.(ifam).Imax = -249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ9
+ifam = 'CycleQ9';
+ifamQ = 'Q9';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+%AO.(ifam).Inom = 150*ones(1,devnumber);
+AO.(ifam).Imax = -249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ10
+ifam = 'CycleQ10';
+ifamQ = 'Q10';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 249*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ11
+ifam = 'CycleQ11';
+ifamQ = 'Q11';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = 2; %length(AO.(ifam).ElementList);
+AO.(ifam).Imax = -274*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'K';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQ12
+ifam = 'CycleQ12';
+ifamQ = 'Q12';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/Q','/cycleQ');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = 1; % length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 274*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLEQC13
+ifam = 'CycleQC13';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam;'CycleQP'; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+%dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = {'ANS-C13/AE/cycleQ1'; 'ANS-C13/AE/cycleQ2'; 'ANS-C13/AE/cycleQ3';  'ANS-C13/AE/cycleQ4.1';
+    'ANS-C13/AE/cycleQ5.1'; 'ANS-C13/AE/cycleQ5.2'; 'ANS-C13/AE/cycleQ4.2'; ...
+    'ANS-C13/AE/cycleQ6'; 'ANS-C13/AE/cycleQ7'; 'ANS-C13/AE/cycleQ8' };
+AO.(ifam).DeviceList             = [13 1; 13 2; 13 3; 13 4; 13 5; 13 6; 13 7; 13 8; 13 9; 13 10];
+AO.(ifam).ElementList            = (1:10)';
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId                = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 249*[-1 1 -1 -1 1 1 -1 -1 1 -1];
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% cycleramp for sextupole magnets
+%% CYCLES1
+ifam = 'CycleS1';
+ifamQ = 'S1';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES2
+ifam = 'CycleS2';
+ifamQ = 'S2';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = -349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES3
+ifam = 'CycleS3';
+ifamQ = 'S3';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = -349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES4
+ifam = 'CycleS4';
+ifamQ = 'S4';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES5
+ifam = 'CycleS5';
+ifamQ = 'S5';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = -349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES6
+ifam = 'CycleS6';
+ifamQ = 'S6';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES7
+ifam = 'CycleS7';
+ifamQ = 'S7';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = -349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES8
+ifam = 'CycleS8';
+ifamQ = 'S8';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES9
+ifam = 'CycleS9';
+ifamQ = 'S9';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = family2dev(ifamQ);
+AO.(ifam).ElementList            = family2elem(ifamQ);
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = -349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%% CYCLES10
+ifam = 'CycleS10';
+ifamQ = 'S10';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = AO.(ifamQ).DeviceList;
+AO.(ifam).ElementList            = AO.(ifamQ).ElementList;
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 349*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+
+%% CYCLES11
+ifam = 'CycleS11';
+ifamQ = 'S11';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = AO.(ifamQ).DeviceList;
+AO.(ifam).ElementList            = AO.(ifamQ).ElementList;
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = 274*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+
+%% CYCLES12
+ifam = 'CycleS12';
+ifamQ = 'S12';
+
+AO.(ifam).FamilyName             = ifam;
+AO.(ifam).MemberOf               = {ifam; 'Cyclage'};
+AO.(ifam).Mode                   = Mode;
+dev = getfamilydata(ifamQ,'DeviceName');
+AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');
+AO.(ifam).DeviceList             = AO.(ifamQ).DeviceList;
+AO.(ifam).ElementList            = AO.(ifamQ).ElementList;
+if ControlRoomFlag
+        %add devices to group
+        AO.(ifam).GroupId        = tango_group_create(ifam);
+        tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+else
+    AO.(ifam).GroupId = nan;
+end
+devnumber = length(AO.(ifam).ElementList);
+AO.(ifam).Imax = -274*ones(1,devnumber);
+AO.(ifam).Status = ones(devnumber,1);
+AO.(ifam).Monitor.Mode           = Mode;
+AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(devnumber,1);
+AO.(ifam).Monitor.DataType       = 'Scalar';
+AO.(ifam).Monitor.Units          = 'Hardware';
+AO.(ifam).Monitor.HWUnits        = 'ampere';
+AO.(ifam).Monitor.PhysicsUnits   = 'rad';
+AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');
+
+%============
+%% RF System
+%============
+ifam = 'RF';
+AO.(ifam).FamilyName                = ifam;
+AO.(ifam).FamilyType                = 'RF';
+AO.(ifam).MemberOf                  = {'RF','RFSystem'};
+AO.(ifam).Status                    = 1;
+AO.(ifam).CommonNames               = 'RF';
+AO.(ifam).DeviceList                = [1 1];
+AO.(ifam).ElementList               = 1;
+AO.(ifam).DeviceName(:,:)           = {'ANS/RF/MasterClock/'};
+
+%Frequency Readback
+AO.(ifam).Monitor.Mode                = Mode;
+% AO.(ifam).Monitor.Mode                = 'Special';
+% AO.(ifam).Monitor.SpecialFunctionGet = 'getrf2';
+AO.(ifam).Monitor.DataType            = 'Scalar';
+AO.(ifam).Monitor.Units               = 'Hardware';
+AO.(ifam).Monitor.HW2PhysicsParams    = 1e+6;       %no hw2physics function necessary
+AO.(ifam).Monitor.Physics2HWParams    = 1e-6;
+AO.(ifam).Monitor.HWUnits             = 'MHz';
+AO.(ifam).Monitor.PhysicsUnits        = 'Hz';
+AO.(ifam).Monitor.TangoNames          = {'ANS/RF/MasterClock/frequency'};
+AO.(ifam).Monitor.Handles             = NaN;
+AO.(ifam).Monitor.Range               = [351 353];
+
+AO.(ifam).Setpoint = AO.(ifam).Monitor;
+AO.(ifam).Desired  = AO.(ifam).Monitor;
+
+
+%============
+%% Cryomodules System
+%=========
+% ifam = 'CM';
+% %Voltage control
+% AO.(ifam).Monitor.Mode               = Mode;
+% AO.(ifam).Monitor.DataType           = 'Scalar';
+% AO.(ifam).Monitor.Units              = 'Hardware';
+% AO.(ifam).Monitor.HW2PhysicsParams   = 1;
+% AO.(ifam).Monitor.Physics2HWParams   = 1;
+% AO.(ifam).Monitor.HWUnits            = 'Volts';
+% AO.(ifam).Monitor.PhysicsUnits       = 'Volts';
+% AO.(ifam).Monitor.TangoNames          = ['ANS-C03/RF/LLE.1/voltageRF', 'ANS-C03/RF/LLE.2/voltageRF', ...
+%     'ANS-C02/RF/LLE.3/voltageRF', 'ANS-C02/RF/LLE.4/voltageRF'];
+% AO.(ifam).Monitor.Range              = [0 2000];
+% AO.(ifam).Monitor.Tolerance          = inf;
+% AO.(ifam).Monitor.Handles            = NaN;
+
+% %Power Control
+% AO.(ifam).PowerCtrl.Mode               = Mode;
+% AO.(ifam).PowerCtrl.DataType           = 'Scalar';
+% AO.(ifam).PowerCtrl.Units              = 'Hardware';
+% AO.(ifam).PowerCtrl.HW2PhysicsParams   = 1;
+% AO.(ifam).PowerCtrl.Physics2HWParams   = 1;
+% AO.(ifam).PowerCtrl.HWUnits            = 'MWatts';
+% AO.(ifam).PowerCtrl.PhysicsUnits       = 'MWatts';
+% AO.(ifam).PowerCtrl.ChannelNames       = 'SRF1:KLYSDRIVFRWD:POWER:ON';
+% AO.(ifam).PowerCtrl.Range              = [-inf inf];
+% AO.(ifam).PowerCtrl.Tolerance          = inf;
+% AO.(ifam).PowerCtrl.Handles            = NaN;
+%
+% %Power Monitor
+% AO.(ifam).Power.Mode               = Mode;
+% AO.(ifam).Power.DataType           = 'Scalar';
+% AO.(ifam).Power.Units              = 'Hardware';
+% AO.(ifam).Power.HW2PhysicsParams   = 1;
+% AO.(ifam).Power.Physics2HWParams   = 1;
+% AO.(ifam).Power.HWUnits            = 'MWatts';
+% AO.(ifam).Power.PhysicsUnits       = 'MWatts';
+% AO.(ifam).Power.ChannelNames       = 'SRF1:KLYSDRIVFRWD:POWER';
+% AO.(ifam).Power.Range              = [-inf inf];
+% AO.(ifam).Power.Tolerance          = inf;
+% AO.(ifam).Power.Handles            = NaN;
+%
+% %Station Phase Control
+% AO.(ifam).PhaseCtrl.Mode               = Mode;
+% AO.(ifam).PhaseCtrl.DataType           = 'Scalar';
+% AO.(ifam).PhaseCtrl.Units              = 'Hardware';
+% AO.(ifam).PhaseCtrl.HW2PhysicsParams   = 1;
+% AO.(ifam).PhaseCtrl.Physics2HWParams   = 1;
+% AO.(ifam).PhaseCtrl.HWUnits            = 'Degrees';
+% AO.(ifam).PhaseCtrl.PhysicsUnits       = 'Degrees';
+% AO.(ifam).PhaseCtrl.ChannelNames       = 'SRF1:STN:PHASE';
+% AO.(ifam).PhaseCtrl.Range              = [-200 200];
+% AO.(ifam).PhaseCtrl.Tolerance          = inf;
+% AO.(ifam).PhaseCtrl.Handles            = NaN;
+%
+% %Station Phase Monitor
+% AO.(ifam).Phase.Mode               = Mode;
+% AO.(ifam).Phase.DataType           = 'Scalar';
+% AO.(ifam).Phase.Units              = 'Hardware';
+% AO.(ifam).Phase.HW2PhysicsParams   = 1;
+% AO.(ifam).Phase.Physics2HWParams   = 1;
+% AO.(ifam).Phase.HWUnits            = 'Degrees';
+% AO.(ifam).Phase.PhysicsUnits       = 'Degrees';
+% AO.(ifam).Phase.ChannelNames       = 'SRF1:STN:PHASE:CALC';
+% AO.(ifam).Phase.Range              = [-200 200];
+% AO.(ifam).Phase.Tolerance          = inf;
+% AO.(ifam).Phase.Handles            = NaN;
+
+%=======
+%% CHROMATICITIES: Soft Family
+%=======
+ifam = 'CHRO';
+AO.(ifam).FamilyName  = ifam;
+AO.(ifam).FamilyType  = 'Diagnostic';
+AO.(ifam).MemberOf    = {'Diagnostics', 'CHRO'};
+AO.(ifam).CommonNames = ['xix';'xiz'];
+AO.(ifam).DeviceList  = [ 1 1; 1 2;];
+AO.(ifam).ElementList = [1; 2];
+AO.(ifam).Status      = [1; 1];
+
+%======
+%% Dipole B-FIELD from RMN probe
+%======
+ifam = 'RMN';
+AO.(ifam).FamilyName                     = ifam;
+AO.(ifam).FamilyType                     = 'EM';
+AO.(ifam).MemberOf                       = {'EM',ifam};
+AO.(ifam).CommonNames                    = ifam;
+AO.(ifam).DeviceList                     = [1 1];
+AO.(ifam).ElementList                    = 1;
+AO.(ifam).Status                         = AO.(ifam).ElementList;
+
+AO.(ifam).Monitor.Mode                   = Mode;
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.TangoNames             = 'ANS-C13/EM/RMN/magneticField'; %afin de ne pas avoir de bug
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HWUnits                = 'mGauss';
+AO.(ifam).Monitor.PhysicsUnits           = 'T';
+AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+
+%=======
+%% TUNE
+%=======
+ifam = 'TUNE';
+AO.(ifam).FamilyName  = ifam;
+AO.(ifam).FamilyType  = 'Diagnostic';
+AO.(ifam).MemberOf    = {'Diagnostics', 'TUNE'};
+AO.(ifam).CommonNames = ['nux';'nuz';'nus'];
+AO.(ifam).DeviceList  = [1 1; 1 2; 1 3];
+AO.(ifam).ElementList = [1 2 3]';
+AO.(ifam).Status      = [1 1 1]';
+
+AO.(ifam).Monitor.Mode                   = Mode; %'Simulator';  % Mode;
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.DataTypeIndex          = [1 2];
+AO.(ifam).Monitor.TangoNames             = ['ANS/DG/BPM-TUNEX/Nu';'ANS/DG/BPM-TUNEZ/Nu';'ANS/DG/BPM-TUNEZ/Nu'];
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+AO.(ifam).Monitor.HWUnits                = 'fractional tune';
+AO.(ifam).Monitor.PhysicsUnits           = 'fractional tune';
+
+
+%=======
+%% TUNEFBT
+%=======
+ifam = 'TUNEFBT';
+AO.(ifam).FamilyName  = ifam;
+AO.(ifam).FamilyType  = 'Diagnostic';
+AO.(ifam).MemberOf    = {'Diagnostics'};
+AO.(ifam).CommonNames = ['nux';'nuz'];
+AO.(ifam).DeviceList  = [1 1; 1 2];
+AO.(ifam).ElementList = [1 2]';
+AO.(ifam).Status      = [1 1]';
+
+AO.(ifam).Monitor.Mode                   = Mode; %'Simulator';  % Mode;
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.DataTypeIndex          = [1 2];
+AO.(ifam).Monitor.TangoNames             = ['ANS/RF/BBFDataViewer.1-TUNEX/Nu';'ANS/RF/BBFDataViewer.2-TUNEZ/Nu'];
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+AO.(ifam).Monitor.HWUnits                = 'fractional tune';
+AO.(ifam).Monitor.PhysicsUnits           = 'fractional tune';
+
+%=======
+%% Coupling
+%=======
+ifam = 'COUPLING';
+AO.(ifam).FamilyName  = ifam;
+AO.(ifam).FamilyType  = 'Diagnostic';
+AO.(ifam).MemberOf    = {'Diagnostics'};
+AO.(ifam).CommonNames = 'chi';
+AO.(ifam).DeviceList  = [2 1];
+AO.(ifam).ElementList = 1;
+AO.(ifam).Status      = 1;
+
+AO.(ifam).Monitor.Mode                   = Mode; %'Simulator';  % Mode;
+AO.(ifam).Monitor.DataType               = 'Scalar';
+%AO.(ifam).Monitor.DataTypeIndex          = [1 2];
+AO.(ifam).Monitor.TangoNames             = 'ANS-C02/DG/PHC-EMIT/Coupling';
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HW2PhysicsParams       = 0.01;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+AO.(ifam).Monitor.HWUnits                = '%';
+AO.(ifam).Monitor.PhysicsUnits           = 'absolute';
+
+%======
+%% DCCT
+%======
+ifam = 'DCCT';
+AO.(ifam).FamilyName                     = ifam;
+AO.(ifam).FamilyType                     = 'Diagnostic';
+AO.(ifam).MemberOf                       = {'Diagnostics','DCCT'};
+AO.(ifam).CommonNames                    = 'DCCT';
+AO.(ifam).DeviceList                     = [1 1];
+AO.(ifam).ElementList                    = 1;
+AO.(ifam).Status                         = AO.(ifam).ElementList;
+
+AO.(ifam).Monitor.Mode                   = Mode;
+AO.(ifam).FamilyName                     = 'DCCT';
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.TangoNames             = 'ANS/DG/DCCT-CTRL/current'; %afin de ne pas avoir de bug
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HWUnits                = 'mA';
+AO.(ifam).Monitor.PhysicsUnits           = 'A';
+AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+
+% On une famille ???
+ifam = 'DCCT1';
+AO.(ifam).FamilyName                     = ifam;
+AO.(ifam).FamilyType                     = 'Diagnostic';
+AO.(ifam).MemberOf                       = {'Diagnostics','DCCT'};
+AO.(ifam).CommonNames                    = 'DCCT1';
+AO.(ifam).DeviceList                     = [1 1];
+AO.(ifam).ElementList                    = 1;
+AO.(ifam).Status                         = AO.(ifam).ElementList;
+
+AO.(ifam).Monitor.Mode                   = Mode;
+AO.(ifam).FamilyName                     = 'DCCT';
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.TangoNames              = 'ANS-C03/DG/DCCT/current'; %afin de ne pas avoir de bug
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HWUnits                = 'mA';
+AO.(ifam).Monitor.PhysicsUnits           = 'A';
+AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+
+ifam = 'DCCT2';
+AO.(ifam).FamilyName                     = ifam;
+AO.(ifam).FamilyType                     = 'Diagnostic';
+AO.(ifam).MemberOf                       = {'Diagnostics','DCCT'};
+AO.(ifam).CommonNames                    = 'ANS-C14/DG/DCCT';
+AO.(ifam).DeviceList                     = [1 1];
+AO.(ifam).ElementList                    = 1;
+AO.(ifam).Status                         = AO.(ifam).ElementList;
+
+AO.(ifam).Monitor.Mode                   = Mode;
+AO.(ifam).FamilyName                     = 'DCCT';
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.TangoNames             = 'ANS-C03/DG/DCCT/current'; %afin de ne pas avoir de bug
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HWUnits                = 'mA';
+AO.(ifam).Monitor.PhysicsUnits           = 'A';
+AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+
+%======
+%% Lifetime
+%======
+
+ifam = 'LifeTime';
+AO.(ifam).FamilyName                     = ifam;
+AO.(ifam).FamilyType                     = 'Diagnostic';
+AO.(ifam).MemberOf                       = {'Diagnostics','DCCT'};
+AO.(ifam).CommonNames                    = 'LifeTime';
+AO.(ifam).DeviceList                     = [1 1];
+AO.(ifam).ElementList                    = 1;
+AO.(ifam).Status                         = AO.(ifam).ElementList;
+
+AO.(ifam).Monitor.Mode                   = Mode;
+AO.(ifam).FamilyName                     = 'LifeTime';
+AO.(ifam).Monitor.DataType               = 'Scalar';
+AO.(ifam).Monitor.TangoNames             = 'ANS/DG/DCCT-CTRL/lifeTime'; %afin de ne pas avoir de bug
+AO.(ifam).Monitor.Units                  = 'Hardware';
+AO.(ifam).Monitor.Handles                = NaN;
+AO.(ifam).Monitor.HWUnits                = 'Hours';
+AO.(ifam).Monitor.PhysicsUnits           = 'Hours';
+AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+AO.(ifam).Monitor.Physics2HWParams       = 1;
+
+if ControlRoomFlag
+    
+    %%%%%%%%%%%%%%%%%%
+    %% Alignment
+    %%%%%%%%%%%%%%%%%%
+    
+    disp('aligment configuration ...')
+    
+    %% HLS
+    ifam = 'HLS';
+    AO.(ifam).FamilyName           = ifam;
+    AO.(ifam).FamilyType           = ifam;
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'Alignment'; 'HLS'; 'Archivable'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map       = tango_get_db_property('anneau','HLS');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    %numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    % builds up devicelist
+    devnumber = size(map,2);
+    ik = 0; cellnum = 1;
+    for k = 1:devnumber,
+        if cellnum - str2double(map{k}(cellindex(k):cellindex(k)+1)) ~=0
+            ik = 1;
+        else
+            ik = ik+1;
+        end
+        cellnum = str2double(map{k}(cellindex(k):cellindex(k)+1));
+        AO.(ifam).DeviceList(k,:)  = [cellnum ik];
+        AO.(ifam).CommonNames(k,:)      = map{k}(12:17);
+    end
+    
+    AO.(ifam).ElementList = (1:devnumber)';
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/height');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'mm';
+    AO.(ifam).Monitor.PhysicsUnits     = 'm';
+    %AO.(ifam).Position = (1:168)'/168*354;
+    
+    AO.(ifam).Position = [6.000 7.370 9.270 10.323 12.549 14.775 15.828 17.178 18.548 25.512 27.272 28.232 29.284 30.244 31.241 35.051 36.047 37.007 38.059 39.019 40.779 50.262 51.632 53.532 54.585 56.811 59.037 60.090 61.440 62.810 69.774 71.534 72.494 73.546 74.506 75.503 79.313 80.309 81.269 82.322 83.282 85.042 94.524 95.894 97.794 98.847 101.073 103.299 104.352 105.702 107.072 114.036 115.796 116.756 117.809 118.769 119.765 123.575 124.571 125.531 126.584 127.544 129.304 138.786 140.156 142.056 143.109 145.335 147.561 148.614 149.964 151.334 158.298 160.058 161.018 162.071 163.031 164.027 167.837 168.833 169.793 170.846 171.806 173.566 183.049 184.419 186.319 187.371 189.597 191.824 192.876 194.226 195.596 202.560 204.320 205.280 206.333 207.293 208.289 212.099 213.095 214.055 215.108 216.068 217.828 227.311 228.681 230.581 231.633 233.859 236.086 237.138 238.488 239.858 246.822 248.582 249.542 250.595 251.555 252.551 256.361 257.357 258.317 259.370 260.330 262.090 271.573 272.943 274.843 275.895 278.121 280.348 281.400 282.750 284.120 291.085 292.845 293.805 294.857 295.817 296.813 300.623 301.620 302.580 303.632 304.592 306.352 315.835 317.205 319.105 320.157 322.384 324.610 325.662 327.012 328.382 335.347 337.107 338.067 339.119 340.079 341.075 344.885 345.882 346.842 347.894 348.854 350.614];
+    AO.(ifam).Position = AO.(ifam).Position(:);
+    
+    AO.(ifam).Mean = AO.(ifam).Monitor;
+    AO.(ifam).Mean.TangoNames       = strcat(AO.(ifam).DeviceName, '/average');
+    AO.(ifam).Mean.MemberOf = {'Plotfamily'};
+    
+    AO.(ifam).Std = AO.(ifam).Monitor;
+    AO.(ifam).Std.TangoNames       = strcat(AO.(ifam).DeviceName, '/standardDeviation');
+    AO.(ifam).Std.MemberOf = {'Plotfamily'};
+    
+    AO.(ifam).Voltage = AO.(ifam).Monitor;
+    AO.(ifam).Voltage.TangoNames       = strcat(AO.(ifam).DeviceName, '/voltage');
+    AO.(ifam).Voltage.MemberOf = {'Plotfamily'};
+    
+end
+%%%%%%%%%%%%%%%%%%
+%% AVLS GEOPHONES
+%%%%%%%%%%%%%%%%%%
+
+ifam = 'GEO'; % vibration
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).MemberOf             = {'PlotFamily'; 'VIB'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+varlist = {
+    1  [ 1  1] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C09_Q5_X'
+    2  [ 1  2] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C09_Q5_Z'
+    3  [ 1  3] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C09_BPM4_X'
+    4  [ 1  4] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C09_BPM4_Z'
+    5  [ 1  5] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C10_BPM1_X'
+    6  [ 1  6] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C10_BPM1_Z'
+    7  [ 1  7] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_TDL_D09-2_XBPM_Z'
+    8  [ 1  8] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_TDL_I10_XBPM_Z'
+    9  [ 1  9] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_HALL_I10C_X'
+    10  [ 1 10] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_HALL_I10C_Z'
+    11  [ 1 11] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_HALL_I02C_X'
+    12  [ 1 12] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_HALL_I02C_Z'
+    13  [ 1 13] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_EXT_D306_X'
+    14  [ 1 14] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_EXT_D306_Z'
+    15  [ 1 15] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_EXT_T3_X'
+    16  [ 1 16] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_EXT_T3_Z'
+    };
+
+devnumber = length(varlist);
+
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+AO.(ifam).RMS.TangoNames  = cell(devnumber,1);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,6));
+    AO.(ifam).Monitor.TangoNames(k)  = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)), '_PEAK');
+    AO.(ifam).RMS.TangoNames(k)      = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)), '_RMS');
+end
+
+% peak values
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'm';
+AO.(ifam).Monitor.PhysicsUnits     = 'm';
+AO.(ifam).Monitor.MemberOf         = {'Plotfamily'};
+AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+
+%rms values
+AO.(ifam).RMS.HW2PhysicsParams = 1;
+AO.(ifam).RMS.Physics2HWParams = 1;
+AO.(ifam).RMS.Units            = 'Hardware';
+AO.(ifam).RMS.HWUnits          = 'm';
+AO.(ifam).RMS.PhysicsUnits     = 'm';
+AO.(ifam).RMS.MemberOf = {'Plotfamily'};
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% AVLS GEOPHONES PEAK VALUE
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ifam = 'PEAKGEO'; % vibration
+AO.(ifam).FamilyName           = ifam;
+AO.(ifam).MemberOf             = {'PlotFamily'; 'VIB'; 'Archivable'};
+AO.(ifam).Monitor.Mode         = Mode;
+AO.(ifam).Monitor.DataType     = 'Scalar';
+
+varlist = {
+    1  [ 1  1] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C09_Q5_X_PEAK'
+    2  [ 1  2] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C09_Q5_Z_PEAK'
+    3  [ 1  3] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C09_BPM4_X_PEAK'
+    4  [ 1  4] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C09_BPM4_Z_PEAK'
+    5  [ 1  5] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C10_BPM1_X_PEAK'
+    6  [ 1  6] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_C10_BPM1_Z_PEAK'
+    7  [ 1  7] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_TDL_D09-2_XBPM_Z_PEAK'
+    8  [ 1  8] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_TDL_I10_XBPM_Z_PEAK'
+    9  [ 1  9] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_HALL_I10C_X_PEAK'
+    10  [ 1 10] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_HALL_I10C_Z_PEAK'
+    11  [ 1 11] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_HALL_I02C_X_PEAK'
+    12  [ 1 12] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_HALL_I02C_Z_PEAK'
+    13  [ 1 13] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_EXT_D306_X_PEAK'
+    14  [ 1 14] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_EXT_D306_Z_PEAK'
+    15  [ 1 15] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_EXT_T3_X_PEAK'
+    16  [ 1 16] 'ANS/DG/SURVIB_DATA.1' 1 'GEOPH01' 'GEOPHONE_EXT_T3_Z_PEAK'
+    };
+
+devnumber = length(varlist);
+
+% preallocation
+AO.(ifam).ElementList = zeros(devnumber,1);
+AO.(ifam).Status      = zeros(devnumber,1);
+AO.(ifam).DeviceName  = cell(devnumber,1);
+AO.(ifam).CommonNames = cell(devnumber,1);
+AO.(ifam).Monitor.TangoNames  = cell(devnumber,1);
+
+for k = 1: devnumber,
+    AO.(ifam).ElementList(k)  = varlist{k,1};
+    AO.(ifam).DeviceList(k,:) = varlist{k,2};
+    AO.(ifam).DeviceName(k)   = deblank(varlist(k,3));
+    AO.(ifam).Status(k)       = varlist{k,4};
+    AO.(ifam).CommonNames(k)  = deblank(varlist(k,6));
+    AO.(ifam).Monitor.TangoNames(k)  = strcat(AO.(ifam).DeviceName{k}, '/', deblank(varlist(k,6)));
+end
+
+AO.(ifam).Monitor.HW2PhysicsParams = 1;
+AO.(ifam).Monitor.Physics2HWParams = 1;
+AO.(ifam).Monitor.Units            = 'Hardware';
+AO.(ifam).Monitor.HWUnits          = 'm/sqrt(Hz)';
+AO.(ifam).Monitor.PhysicsUnits     = 'm/sqrt(Hz)';
+AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+
+
+
+%%%%%%%%%%%%%%%%%%
+%% VACUUM SYSTEM
+%%%%%%%%%%%%%%%%%%
+if ControlRoomFlag
+    
+    disp('vacuum configuration ...')
+    
+    %% IonPump
+    ifam = 'PI';
+    AO.(ifam).FamilyName           = 'PI';
+    AO.(ifam).FamilyType           = 'PI';
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'IonPump'; 'Pressure'; 'Archivable';};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map       = tango_get_db_property('anneau','pompe_ionique');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).ElementList = (1:devnumber)';
+    
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat('PI',devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'mbar';
+    AO.(ifam).Monitor.PhysicsUnits     = 'mbar';
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %% Penning Gauges
+    ifam = 'JPEN';
+    AO.(ifam).FamilyName           = 'JPEN';
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'PenningGauge'; 'Pressure'; 'Archivable';'PlotFamily'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('anneau','jauge_penning');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).ElementList = (1:devnumber)';
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat('JPEN',devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'mbar';
+    AO.(ifam).Monitor.PhysicsUnits     = 'mbar';
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %% Pirani Gauges
+    ifam = 'JPIR';
+    AO.(ifam).FamilyName           = 'JPIR';
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'PiraniGauge'; 'Pressure'; 'Archivable';'PlotFamily'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('anneau','jauge_piranni');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat('JPIR',devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'mbar';
+    AO.(ifam).Monitor.PhysicsUnits     = 'mbar';
+    
+    %% Bayer Albert Gauges
+    ifam = 'JBA';
+    AO.(ifam).FamilyName           = ifam;
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'PiraniGauge'; 'Pressure'; 'Archivable';'PlotFamily'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('anneau','jauge_bayer_alpert');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat(ifam,devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/pressure');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'mbar';
+    AO.(ifam).Monitor.PhysicsUnits     = 'mbar';
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %% Thermocouples
+    ifam = 'TC';
+    AO.(ifam).FamilyName           = ifam;
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'TC'; 'Archivable';'PlotFamily'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('anneau','thermocouple');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat(ifam,devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/temperature');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'Â°C';
+    AO.(ifam).Monitor.PhysicsUnits     = 'Â°C';
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %% TDL-Thermocouples
+    ifam = 'TDL_TC';
+    AO.(ifam).FamilyName           = ifam;
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'TC'; 'Archivable';'PlotFamily'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('TDL','thermocouple');
+    cellindex = cell2mat(regexpi(map,'[DI][0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat(ifam,devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/temperature');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'ï¿œC';
+    AO.(ifam).Monitor.PhysicsUnits     = 'ï¿œC';
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %% DEBIMETRES
+    ifam = 'DEB';
+    AO.(ifam).FamilyName           = ifam;
+    AO.(ifam).MemberOf             = {'Vaccuum'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('anneau','debitmetre');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat(ifam,devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/temperature');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'au';
+    AO.(ifam).Monitor.PhysicsUnits     = 'au';
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %% VM
+    ifam = 'VM';
+    AO.(ifam).FamilyName           = ifam;
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'Vaccuum'; 'Archivable';'PlotFamily'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('anneau','vanne_manuelle');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat(ifam,devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/temperature');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'au';
+    AO.(ifam).Monitor.PhysicsUnits     = 'au';
+    
+    %% VS
+    ifam = 'VS';
+    AO.(ifam).FamilyName           = ifam;
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'Vaccuum'; 'Archivable';'PlotFamily'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('anneau','vanne_secteur');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat(ifam,devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/temperature');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'au';
+    AO.(ifam).Monitor.PhysicsUnits     = 'au';
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %% Thermocouples GTC
+    ifam = 'GTC_TC';
+    AO.(ifam).FamilyName           = ifam;
+    AO.(ifam).MemberOf             = {'PlotFamily'; 'GTC'; 'Temperature'; 'Archivable';'PlotFamily'};
+    AO.(ifam).Monitor.Mode         = Mode;
+    AO.(ifam).Monitor.DataType     = 'Scalar';
+    
+    map     = tango_get_db_property('anneau','GTC_Tunnel_TC');
+    cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;
+    numindex  = cell2mat(regexpi(map,'MT[0-9]','once'))+2;
+    
+    devnumber = size(map,2);
+    for k = 1:devnumber,
+        AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+    end
+    
+    AO.(ifam).Status                   = ones(devnumber,1);
+    AO.(ifam).DeviceName               = map';
+    AO.(ifam).CommonNames              = [repmat(ifam,devnumber,1) num2str((1:devnumber)','%02d')];
+    AO.(ifam).ElementList              = (1:devnumber)';
+    AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(devnumber,1);
+    AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, '/temperature');
+    AO.(ifam).Monitor.HW2PhysicsParams = 1;
+    AO.(ifam).Monitor.Physics2HWParams = 1;
+    AO.(ifam).Monitor.Units            = 'Hardware';
+    AO.(ifam).Monitor.HWUnits          = 'Â°C';
+    AO.(ifam).Monitor.PhysicsUnits     = 'Â°C';
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    
+    %=====================
+    %% Gamma Monitors DOSE
+    %====================
+    ifam = 'CIGdose';
+    AO.(ifam).FamilyName                     = 'CIGdose';
+    AO.(ifam).FamilyType                     = 'Radioprotection';
+    AO.(ifam).MemberOf                       = {'Radioprotection','Archivable','Plotfamily','PlotFamily'};
+    AO.(ifam).CommonNames                    = 'CIG';
+    
+    map = tango_get_db_property('anneau','gammamonitor_mapping');
+    AO.(ifam).DeviceName = map';
+    
+    AO.(ifam).Monitor.Mode                   = Mode;
+    AO.(ifam).FamilyName                     = 'CIGdose';
+    AO.(ifam).Monitor.DataType               = 'Scalar';
+    
+    devnumber = length(AO.(ifam).DeviceName);
+    AO.(ifam).DeviceList                     = [ones(1,devnumber); (1:devnumber)]';
+    AO.(ifam).ElementList                    = (1:devnumber)';
+    AO.(ifam).Status                         = ones(devnumber,1);
+    
+    AO.(ifam).Monitor.TangoNames            = strcat(AO.(ifam).DeviceName,'/dose');
+    
+    %afin de ne pas avoir de bug
+    AO.(ifam).Monitor.Units                  = 'Hardware';
+    AO.(ifam).Monitor.Handles                = NaN;
+    AO.(ifam).Monitor.HWUnits                = 'uGy';
+    AO.(ifam).Monitor.PhysicsUnits           = 'uGy';
+    AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+    AO.(ifam).Monitor.Physics2HWParams       = 1;
+    AO.(ifam).Position                       = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %=========================
+    %% Gamma Monitors DOSErate
+    %=========================
+    
+    ifam = 'CIGrate';
+    AO.(ifam) = AO.CIGdose;
+    AO.(ifam).FamilyName                     = ifam;
+    AO.(ifam).CommonNames                    = ifam;
+    
+    devnumber = length(AO.(ifam).DeviceName);
+    AO.(ifam).Status                         = ones(devnumber,1);
+    AO.(ifam).DeviceList                     = [ones(1,devnumber); (1:devnumber)]';
+    AO.(ifam).ElementList                    = (1:devnumber)';
+    
+    AO.(ifam).Monitor.TangoNames            = strcat(AO.(ifam).DeviceName,'/doseRate');
+    
+    %afin de ne pas avoir de bug
+    AO.CIG.Monitor.HWUnits                = 'uGy/h';
+    AO.CIG.Monitor.PhysicsUnits           = 'uGy/h';
+    
+    %=====================
+    %% Neutron Monitors DOSE
+    %====================
+    ifam = 'MONdose';
+    AO.(ifam).FamilyName                     = ifam;
+    AO.(ifam).FamilyType                     = 'Radioprotection';
+    AO.(ifam).MemberOf                       = {'Radioprotection','Archivable','Plotfamily','PlotFamily'};
+    AO.(ifam).CommonNames                    = 'MON';
+    
+    map = tango_get_db_property('anneau','neutronmonitor_mapping');
+    AO.(ifam).DeviceName = map';
+    
+    AO.(ifam).Monitor.Mode                   = Mode;
+    AO.(ifam).FamilyName                     = ifam;
+    AO.(ifam).Monitor.DataType               = 'Scalar';
+    
+    devnumber = length(AO.(ifam).DeviceName);
+    AO.(ifam).DeviceList                     = [ones(1,devnumber); (1:devnumber)]';
+    AO.(ifam).ElementList                    = (1:devnumber)';
+    AO.(ifam).Status                         = ones(devnumber,1);
+    
+    AO.(ifam).Monitor.TangoNames            = strcat(AO.(ifam).DeviceName,'/dDoseSinceReset');
+    
+    %afin de ne pas avoir de bug
+    AO.(ifam).Monitor.Units                  = 'Hardware';
+    AO.(ifam).Monitor.Handles                = NaN;
+    AO.(ifam).Monitor.HWUnits                = 'uGy';
+    AO.(ifam).Monitor.PhysicsUnits           = 'uGy';
+    AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+    AO.(ifam).Monitor.Physics2HWParams       = 1;
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+    
+    %============================
+    %% Neutron Monitors DOSE RATE
+    %============================
+    ifam = 'MONrate';
+    AO.(ifam).FamilyName                     = ifam;
+    AO.(ifam).FamilyType                     = 'Radioprotection';
+    AO.(ifam).MemberOf                       = {'Radioprotection','Archivable','Plotfamily','PlotFamily'};
+    AO.(ifam).CommonNames                    = 'MON';
+    
+    map = tango_get_db_property('anneau','neutronmonitor_mapping');
+    AO.(ifam).DeviceName = map';
+    
+    AO.(ifam).Monitor.Mode                   = Mode;
+    AO.(ifam).FamilyName                     = ifam;
+    AO.(ifam).Monitor.DataType               = 'Scalar';
+    
+    devnumber = length(AO.(ifam).DeviceName);
+    AO.(ifam).DeviceList                     = [ones(1,devnumber); (1:devnumber)]';
+    AO.(ifam).ElementList                    = (1:devnumber)';
+    AO.(ifam).Status                         = ones(devnumber,1);
+    
+    AO.(ifam).Monitor.TangoNames            = strcat(AO.(ifam).DeviceName,'/dCountsSinceReset');
+    
+    %afin de ne pas avoir de bug
+    AO.(ifam).Monitor.Units                  = 'Hardware';
+    AO.(ifam).Monitor.Handles                = NaN;
+    AO.(ifam).Monitor.HWUnits                = 'uradGy';
+    AO.(ifam).Monitor.PhysicsUnits           = 'uradGy';
+    AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+    AO.(ifam).Monitor.Physics2HWParams       = 1;
+    AO.(ifam).Position                 = (1:length(AO.(ifam).DeviceName))'*354/length(AO.(ifam).DeviceName);
+end
+
+% %====================
+% %% Machine Parameters
+% %====================
+% AO.MachineParameters.FamilyName                = 'MachineParameters';
+% AO.MachineParameters.FamilyType                = 'Parameter';
+% AO.MachineParameters.MemberOf                  = {'Diagnostics'};
+% AO.MachineParameters.Status                    = [1 1 1 1]';
+%
+% AO.MachineParameters.Monitor.Mode              = Mode;
+% AO.MachineParameters.Monitor.DataType          = 'Scalar';
+% AO.MachineParameters.Monitor.Units             = 'Hardware';
+%
+% %use spear2 process variable names
+% mp={
+%     'mode    '    'SPEAR:BeamStatus  '          [1 1]  1; ...
+%     'energy  '    'SPEAR:Energy      '          [1 2]  2; ...
+%     'current '    'SPEAR:BeamCurrAvg '          [1 3]  3; ...
+%     'lifetime'    'SPEAR:BeamLifetime'          [1 4]  4; ...
+%     };
+% AO.MachineParameters.Monitor.HWUnits          = ' ';
+% AO.MachineParameters.Monitor.PhysicsUnits     = ' ';
+%
+% AO.MachineParameters.Setpoint.HWUnits         = ' ';
+% AO.MachineParameters.Setpoint.PhysicsUnits    = ' ';
+%
+% for ii=1:size(mp,1),
+%     name  =mp(ii,1);    AO.MachineParameters.CommonNames(ii,:)            = char(name{1});
+%     %     name  =mp(ii,2);    AO.MachineParameters.Monitor.ChannelNames(ii,:)   = char(name{1});
+%     %     name  =mp(ii,2);    AO.MachineParameters.Setpoint.ChannelNames(ii,:)  = char(name{1});
+%     val   =mp(ii,3);    AO.MachineParameters.DeviceList(ii,:)             = val{1};
+%     val   =mp(ii,4);    AO.MachineParameters.ElementList(ii,:)            = val{1};
+%
+%     AO.MachineParameters.Monitor.HW2PhysicsParams(ii,:)    = 1;
+%     AO.MachineParameters.Monitor.Physics2HWParams(ii,:)    = 1;
+%     AO.MachineParameters.Monitor.Handles(ii,1)  = NaN;
+%     AO.MachineParameters.Setpoint.HW2PhysicsParams(ii,:)   = 1;
+%     AO.MachineParameters.Setpoint.Physics2HWParams(ii,:)   = 1;
+%     AO.MachineParameters.Setpoint.Handles(ii,1)  = NaN;
+% end
+
+
+%======
+%% Septum
+%======
+% ifam=ifam+1;
+% AO.Septum.FamilyName                  = 'Septum';
+% AO.Septum.FamilyType                  = 'Septum';
+% AO.Septum.MemberOf                    = {'Injection'};
+% AO.Septum.Status                      = 1;
+%
+% AO.Septum.CommonNames                 = 'Septum  ';
+% AO.Septum.DeviceList                  = [3 1];
+% AO.Septum.ElementList                 = [1];
+%
+% AO.Septum.Monitor.Mode                = Mode;
+% AO.Septum.Monitor.DataType            = 'Scalar';
+% AO.Septum.Monitor.Units               = 'Hardware';
+% AO.Septum.Monitor.HWUnits             = 'ampere';
+% AO.Septum.Monitor.PhysicsUnits        = 'rad';
+% AO.Septum.Monitor.ChannelNames        = 'BTS-B9V:Curr';
+% AO.Septum.Monitor.Handles             = NaN;
+%
+% AO.Septum.Setpoint.Mode               = Mode;
+% AO.Septum.Setpoint.DataType           = 'Scalar';
+% AO.Septum.Setpoint.Units              = 'Hardware';
+% AO.Septum.Setpoint.HWUnits            = 'ampere';
+% AO.Septum.Setpoint.PhysicsUnits       = 'rad';
+% AO.Septum.Setpoint.ChannelNames       = 'BTS-B9V:CurrSetpt';
+% AO.Septum.Setpoint.Range              = [0, 249.90];
+% AO.Septum.Setpoint.Tolerance          = 100.0;
+% AO.Septum.Setpoint.Handles            = NaN;
+%
+% AO.Septum.Monitor.HW2PhysicsParams    = 1;
+% AO.Septum.Monitor.Physics2HWParams    = 1;
+% AO.Septum.Setpoint.HW2PhysicsParams   = 1;
+% AO.Septum.Setpoint.Physics2HWParams   = 1;
+
+% Save AO
+setao(AO);
+
+% The operational mode sets the path, filenames, and other important params
+% Run setoperationalmode after most of the AO is built so that the Units and Mode fields
+% can be set in setoperationalmode
+
+waitbar(0.4,h);
+
+setoperationalmode(OperationalMode);
+%run('/home/operateur/GrpPhysiqueMachine/Laurent/matlab/nano/setdevelopmentmode.m')
+%run([getdvptdirectory '/setdevelopmentmode.m']);
+%run('/home/operateur/temp/testMML/setdevelopmentmode.m');
+
+waitbar(0.5,h);
+
+%======================================================================
+%======================================================================
+%% Append Accelerator Toolbox information
+%======================================================================
+%======================================================================
+disp('** Initializing Accelerator Toolbox information');
+
+AO = getao;
+
+%% Machine Params
+ifam = ('MachineParams');
+AO.(ifam).AT.ATType       = 'MachineParams';
+AO.(ifam).AT.ATName(1,:)  = 'Energy  ';
+AO.(ifam).AT.ATName(2,:)  = 'current ';
+AO.(ifam).AT.ATName(3,:)  = 'Lifetime';
+
+% Save AO
+setao(AO);
+
+disp('Setting min max configuration from TANGO static database ...');
+
+waitbar(0.80,h);
+
+disp('Setting gain offset configuration  ...');
+
+setfamilydata([0.20; 0.30; NaN],'TUNE','Golden');
+setfamilydata([0.0; 0.0],'CHRO','Golden');
+setfamilydata_local('BPMx');
+setfamilydata_local('BPMz');
+setfamilydata_local('HCOR');
+setfamilydata_local('VCOR');
+setfamilydata_local('FHCOR');
+setfamilydata_local('FVCOR');
+setfamilydata_local('Q1');
+setfamilydata_local('Q2');
+setfamilydata_local('Q3');
+setfamilydata_local('Q4');
+setfamilydata_local('Q5');
+setfamilydata_local('Q6');
+setfamilydata_local('Q7');
+setfamilydata_local('Q8');
+setfamilydata_local('Q9');
+setfamilydata_local('Q10');
+setfamilydata_local('Q11');
+setfamilydata_local('Q12');
+setfamilydata_local('S1');
+setfamilydata_local('S2');
+setfamilydata_local('S3');
+setfamilydata_local('S4');
+setfamilydata_local('S5');
+setfamilydata_local('S6');
+setfamilydata_local('S7');
+setfamilydata_local('S8');
+setfamilydata_local('S9');
+setfamilydata_local('S10');
+% nanoscopium
+setfamilydata_local('S11');
+%setfamilydata_local('S12');
+setfamilydata_local('BEND');
+
+waitbar(0.95,h);
+
+if iscontrolroom
+    switch2online;
+else
+    switch2sim;
+end
+
+delete(h);
+% set close orbit
+% fprintf('%3d %3d  %10.6f  %10.6f\n', [family2dev('BPMx'), getgolden('BPMx'), getgolden('BPMz')]');
+% fprintf('%3d %3d  %10.6f  %10.6f\n', [family2dev('BPMx'), getam('BPMx'), getam('BPMz')]');
+% fprintf('%3d %3d  %10.6f  %10.6f\n', [family2dev('BPMx'), gethbpmaverage, getvbpmaverage]'); % With averaging
+
+% update getgolden in TANGO BPMmanager
+% tango_write_attribute2('ANS/DG/BPM-MANAGER', 'xRefOrbit',getgolden('BPMx')')
+% tango_write_attribute2('ANS/DG/BPM-MANAGER', 'zRefOrbit',getgolden('BPMz')')
+
+
+%% 1 November 2010, 100 mA, 8 bunches
+% Golden = [
+%   1   2    0.016345    0.032149
+%   1   3    0.016961    0.048611
+%   1   4    0.005294    0.028680
+%   1   5   -0.106745    0.027269
+%   1   6    0.090583    0.064031
+%   1   7   -0.012068    0.161952
+%   2   1   -0.045148   -0.053773
+%   2   2   -0.031657    0.062942
+%   2   3   -0.028058    0.085674
+%   2   4   -0.001069    0.061447
+%   2   5   -0.021188   -0.054335
+%   2   6    0.000233    0.055889
+%   2   7    0.081396    0.027054
+%   2   8    0.047110   -0.127170
+%   3   1   -0.075029    0.047635
+%   3   2   -0.073932    0.170573
+%   3   3    0.036058   -0.156983
+%   3   4    0.043860    0.047354
+%   3   5   -0.116479    0.057157
+%   3   6   -0.027964    0.068107
+%   3   7   -0.022696   -0.009808
+%   3   8    0.019911   -0.034260
+%   4   1   -0.003700    0.094862
+%   4   2    0.023829   -0.022505
+%   4   3    0.021355    0.077993
+%   4   4   -0.132808    0.063380
+%   4   5   -0.032417    0.021840
+%   4   6    0.100986    0.020014
+%   4   7    0.041342   -0.000490
+%   5   1    0.026344    0.048286
+%   5   2   -0.057137   -0.012724
+%   5   3   -0.014899    0.090461
+%   5   4    0.061359    0.017747
+%   5   5   -0.061539    0.030594
+%   5   6   -0.027320    0.044954
+%   5   7   -0.053060   -0.019833
+%   6   1   -0.013820    0.032068
+%   6   2   -0.015491    0.097888
+%   6   3   -0.059813   -0.022452
+%   6   4   -0.110275    0.024518
+%   6   5    0.067538    0.006971
+%   6   6   -0.106836    0.041192
+%   6   7    0.029155    0.022466
+%   6   8    0.009789   -0.124377
+%   7   1    0.002325    0.110398
+%   7   2   -0.056687   -0.056676
+%   7   3    0.007593    0.026913
+%   7   4    0.023821    0.046949
+%   7   5   -0.014372   -0.004262
+%   7   6   -0.080500    0.107662
+%   7   7    0.157559   -0.034857
+%   7   8   -0.011032    0.006873
+%   8   1    0.033792    0.049671
+%   8   2    0.009650   -0.017292
+%   8   3   -0.071568    0.125278
+%   8   4   -0.075801    0.008001
+%   8   5   -0.049135   -0.005426
+%   8   6    0.106108    0.069929
+%   8   7   -0.085924    0.044483
+%   9   1    0.043681   -0.034826
+%   9   2    0.023218    0.029768
+%   9   3   -0.041154    0.038563
+%   9   4    0.015624    0.003208
+%   9   5   -0.006598    0.038795
+%   9   6    0.025799   -0.010056
+%   9   7   -0.027015    0.015066
+%  10   1    0.042671    0.043401
+%  10   2    0.059791   -0.017355
+%  10   3   -0.003680    0.060614
+%  10   4   -0.053241   -0.000351
+%  10   5   -0.014054    0.000681
+%  10   6    0.019173    0.058396
+%  10   7   -0.081427   -0.016236
+%  10   8   -0.038545   -0.153397
+%  11   1    0.052273    0.098443
+%  11   2    0.046001    0.011273
+%  11   3   -0.024048   -0.022239
+%  11   4   -0.020922    0.047930
+%  11   5    0.001203    0.007482
+%  11   6   -0.118557    0.139495
+%  11   7   -0.005381    0.009126
+%  11   8    0.021087   -0.147026
+%  12   1    0.007320    0.152963
+%  12   2   -0.009885   -0.095798
+%  12   3   -0.036567    0.120397
+%  12   4   -0.020770   -0.028452
+%  12   5   -0.068473    0.018120
+%  12   6   -0.035726    0.068041
+%  12   7   -0.035734    0.077598
+%  13   1    0.034521    0.036254
+%  13   2    0.008060   -0.085722
+%  13   3   -0.025867    0.191533
+%  13   4    0.057237    0.065225
+%  13   5    0.031814   -0.038756
+%  13   6   -0.095517    0.061334
+%  13   7   -0.020761    0.075604
+%  14   1    0.041534    0.016812
+%  14   2   -0.035987   -0.065275
+%  14   3   -0.002298    0.126982
+%  14   4   -0.038774   -0.023886
+%  14   5    0.036175    0.011716
+%  14   6   -0.009999    0.071074
+%  14   7    0.024754   -0.020716
+%  14   8   -0.014612    0.036705
+%  15   1   -0.014409    0.053757
+%  15   2    0.009989   -0.110797
+%  15   3   -0.000704    0.139605
+%  15   4   -0.057129    0.046420
+%  15   5    0.037405   -0.034540
+%  15   6   -0.000056   -0.044614
+%  15   7    0.000619    0.051375
+%  15   8    0.045704   -0.148878
+%  16   1   -0.078725    0.120226
+%  16   2   -0.038085   -0.020403
+%  16   3   -0.033360    0.104118
+%  16   4   -0.035493    0.033354
+%  16   5   -0.039215    0.001572
+%  16   6   -0.034544    0.081431
+%  16   7    0.030171    0.094878
+%   1   1   -0.022958   -0.065639
+% ];
+
+% %% 4 November 2011 RUN5, 8mA, 122 BPM, 1/4, nanoscopium
+% Golden = [
+%   1   2   -0.000845    0.008746
+%   1   3   -0.006436    0.017313
+%   1   4    0.000642    0.002620
+%   1   5   -0.096117    0.009496
+%   1   6    0.114532   -0.009587
+%   1   7   -0.010804    0.109794
+%   2   1   -0.011408   -0.087128
+%   2   2    0.030137    0.001554
+%   2   3   -0.024485    0.030033
+%   2   4    0.001982    0.036004
+%   2   5    0.011869   -0.072547
+%   2   6   -0.061678    0.050120
+%   2   7    0.061144   -0.013706
+%   2   8    0.038361   -0.110727
+%   3   1   -0.073880    0.062826
+%   3   2   -0.016803    0.086106
+%   3   3    0.014929   -0.137047
+%   3   4   -0.002604   -0.028809
+%   3   5    0.006147    0.031690
+%   3   6   -0.022669    0.006853
+%   3   7    0.026933   -0.012796
+%   3   8   -0.011859   -0.075586
+%   4   1    0.002787    0.073742
+%   4   2    0.029879   -0.033335
+%   4   3   -0.002428    0.001710
+%   4   4   -0.120834    0.022567
+%   4   5    0.003846   -0.016147
+%   4   6    0.125121   -0.004892
+%   4   7   -0.058924   -0.010057
+%   5   1    0.053864    0.014773
+%   5   2   -0.045246   -0.032896
+%   5   3    0.025144    0.033539
+%   5   4    0.044064   -0.005908
+%   5   5   -0.008701    0.005449
+%   5   6   -0.047686   -0.003498
+%   5   7    0.014172   -0.003207
+%   6   1   -0.012880   -0.001489
+%   6   2    0.015132    0.015397
+%   6   3   -0.002453   -0.015193
+%   6   4   -0.032688    0.031409
+%   6   5    0.036101   -0.051787
+%   6   6   -0.085710    0.022968
+%   6   7    0.081002   -0.003800
+%   6   8   -0.025755   -0.137008
+%   7   1    0.031647    0.139394
+%   7   2   -0.021146   -0.086178
+%   7   3    0.011585    0.040002
+%   7   4    0.022017   -0.008557
+%   7   5   -0.014145   -0.011051
+%   7   6   -0.136035    0.093486
+%   7   7    0.138790   -0.047164
+%   7   8   -0.014969   -0.000036
+%   8   1   -0.001489    0.025528
+%   8   2    0.040659   -0.049638
+%   8   3   -0.014707    0.049900
+%   8   4   -0.083425   -0.021404
+%   8   5   -0.035455   -0.008460
+%   8   6    0.126888    0.013904
+%   8   7   -0.046065    0.035187
+%   9   1    0.040640   -0.050548
+%   9   2    0.010888    0.015418
+%   9   3   -0.006330    0.002697
+%   9   4   -0.033698    0.000816
+%   9   5   -0.009632    0.009086
+%   9   6    0.047848    0.007222
+%   9   7   -0.031651    0.034151
+%  10   1    0.035609    0.007481
+%  10   2    0.020115   -0.070811
+%  10   3   -0.012560    0.076022
+%  10   4   -0.052808   -0.020255
+%  10   5    0.048701    0.016500
+%  10   6    0.026693    0.017384
+%  10   7   -0.031127   -0.010444
+%  10   8   -0.024557   -0.099833
+%  11   1    0.032631    0.103726
+%  11   2    0.054504   -0.041400
+%  11   3   -0.037569    0.012453
+%  11   4   -0.040209   -0.004277
+%  11   5    0.046759   -0.016822
+%  11   6   -0.018602    0.079970
+%  11   7    0.011935   -0.052400
+%  11   8    0.014781   -0.138699
+%  12   1   -0.029048    0.154384
+%  12   2    0.005835   -0.133004
+%  12   3   -0.011736    0.103652
+%  12   4    0.049620   -0.002257
+%  12   5   -0.000609   -0.002360
+%  12   6   -0.045670    0.015006
+%  12   7   -0.020250   -0.012651
+%  13   1    0.037615   -0.010836
+%  13   8   -0.013230    0.041077
+%  13   9    0.005281    0.011719
+%  13   2   -0.005702   -0.129705
+%  13   3    0.004974    0.099639
+%  13   4   -0.022534    0.064241
+%  13   5    0.010698   -0.065714
+%  13   6    0.008886    0.024738
+%  13   7   -0.001276    0.047074
+%  14   1   -0.004690   -0.007330
+%  14   2    0.002954   -0.068540
+%  14   3    0.002866    0.085281
+%  14   4   -0.038408   -0.015983
+%  14   5    0.036800    0.006140
+%  14   6   -0.015999    0.053223
+%  14   7    0.011482   -0.033658
+%  14   8   -0.015367   -0.013384
+%  15   1    0.015648    0.045069
+%  15   2    0.035771   -0.091981
+%  15   3   -0.019055    0.093910
+%  15   4   -0.054365    0.029231
+%  15   5    0.053631   -0.032660
+%  15   6   -0.016352   -0.042111
+%  15   7    0.002096    0.030959
+%  15   8    0.028683   -0.106244
+%  16   1   -0.042939    0.112341
+%  16   2   -0.002254   -0.078772
+%  16   3    0.003215    0.045078
+%  16   4    0.005643    0.005812
+%  16   5    0.030355   -0.034929
+%  16   6   -0.042687    0.039946
+%  16   7   -0.022154    0.080716
+%   1   1    0.040026   -0.070177];
+
+ %% 11 mars 2012, 15mA, 122 BPM, 1/4 RUN2
+Golden = [
+  1   2    0.008921    0.002112
+  1   3   -0.007378    0.015466
+  1   4   -0.004818    0.011988
+  1   5   -0.123191   -0.013960
+  1   6    0.150398    0.000204
+  1   7   -0.010205    0.107909
+  2   1   -0.014296   -0.070298
+  2   2    0.024353   -0.036495
+  2   3   -0.019500    0.072457
+  2   4    0.020971    0.046097
+  2   5   -0.009723   -0.087282
+  2   6   -0.069331    0.059873
+  2   7    0.065437   -0.022898
+  2   8    0.036918   -0.121904
+  3   1   -0.069575    0.066641
+  3   2   -0.020608    0.084282
+  3   3    0.020254   -0.127416
+  3   4   -0.032449   -0.046971
+  3   5    0.031406    0.071485
+  3   6   -0.024830   -0.007104
+  3   7    0.020349   -0.008852
+  3   8   -0.001206   -0.074978
+  4   1   -0.008610    0.073814
+  4   2    0.015982   -0.037686
+  4   3    0.008327   -0.002283
+  4   4   -0.117229    0.031483
+  4   5    0.001269   -0.005640
+  4   6    0.126528   -0.023674
+  4   7   -0.055691   -0.000598
+  5   1    0.055929    0.013152
+  5   2   -0.046048   -0.022447
+  5   3    0.023900    0.028403
+  5   4    0.030646   -0.007946
+  5   5   -0.019155    0.009257
+  5   6   -0.016548   -0.003789
+  5   7   -0.001553   -0.001746
+  6   1    0.002139   -0.002782
+  6   2    0.008601    0.013130
+  6   3   -0.004509   -0.014080
+  6   4   -0.014477    0.001843
+  6   5    0.016989   -0.012319
+  6   6   -0.048344    0.022685
+  6   7    0.048646   -0.012104
+  6   8   -0.008038   -0.132322
+  7   1    0.004099    0.130537
+  7   2   -0.021051   -0.066017
+  7   3    0.012400    0.026465
+  7   4    0.021799   -0.018951
+  7   5   -0.005302    0.001441
+  7   6   -0.151678    0.086418
+  7   7    0.157738   -0.050000
+  7   8   -0.019718   -0.017421
+  8   1    0.002790    0.034773
+  8   2    0.031865   -0.060867
+  8   3   -0.005063    0.064145
+  8   4   -0.098782   -0.003776
+  8   5   -0.048380    0.002055
+  8   6    0.159870   -0.000803
+  8   7   -0.049066    0.066891
+  9   1    0.040272   -0.052278
+  9   2    0.005268    0.001723
+  9   3   -0.001574   -0.001826
+  9   4   -0.042552    0.026327
+  9   5   -0.023706   -0.007085
+  9   6    0.073865   -0.017967
+  9   7   -0.031211    0.029450
+ 10   1    0.030344    0.009284
+ 10   2    0.011574   -0.071186
+ 10   3   -0.001508    0.084606
+ 10   4   -0.080800   -0.019792
+ 10   5    0.079294    0.024781
+ 10   6    0.021929    0.022954
+ 10   7   -0.031368   -0.013853
+ 10   8   -0.018354   -0.106873
+ 11   1    0.024506    0.102371
+ 11   2    0.057832   -0.056398
+ 11   3   -0.039917    0.028140
+ 11   4   -0.027994   -0.005645
+ 11   5    0.038278   -0.017436
+ 11   6   -0.023082    0.075861
+ 11   7    0.017347   -0.045853
+ 11   8    0.009479   -0.153484
+ 12   1   -0.022306    0.170598
+ 12   2    0.030388   -0.124100
+ 12   3   -0.025601    0.082693
+ 12   4    0.037846   -0.015817
+ 12   5    0.006711   -0.005157
+ 12   6   -0.039822    0.024994
+ 12   7   -0.021758   -0.013454
+ 13   1    0.041980   -0.030474
+ 13   8   -0.016457    0.056823
+ 13   9    0.006987    0.018169
+ 13   2   -0.008757   -0.155804
+ 13   3   -0.000013    0.134721
+ 13   4    0.040216    0.042324
+ 13   5    0.024153   -0.057378
+ 13   6   -0.065112    0.023677
+ 13   7   -0.012561    0.045778
+ 14   1    0.034336   -0.004843
+ 14   2   -0.006418   -0.098604
+ 14   3    0.010678    0.121495
+ 14   4   -0.071883   -0.008118
+ 14   5    0.072372    0.004430
+ 14   6   -0.016677    0.040501
+ 14   7    0.007421   -0.024805
+ 14   8    0.001159   -0.027615
+ 15   1   -0.009306    0.063575
+ 15   2    0.038849   -0.114989
+ 15   3   -0.022345    0.114405
+ 15   4   -0.034167    0.023485
+ 15   5    0.039686   -0.033085
+ 15   6   -0.034416   -0.039304
+ 15   7    0.026425    0.026996
+ 15   8    0.021582   -0.099315
+ 16   1   -0.036599    0.110737
+ 16   2   -0.003380   -0.074199
+ 16   3   -0.002287    0.047863
+ 16   4    0.045271   -0.015006
+ 16   5    0.037064   -0.023442
+ 16   6   -0.088553    0.047043
+ 16   7   -0.020758    0.076371
+  1   1    0.044804   -0.078696
+];
+  %% 20 janvier 2012, 9mA, 122 BPM, 1/4 RUN5
+% Golden = [
+%   1   2    0.000462    0.001714
+%   1   3    0.000683    0.004360
+%   1   4    0.003259    0.010443
+%   1   5   -0.106189   -0.004711
+%   1   6    0.114074   -0.007240
+%   1   7   -0.011905    0.108821
+%   2   1   -0.005881   -0.083598
+%   2   2    0.031155    0.004358
+%   2   3   -0.017474    0.028193
+%   2   4    0.001976    0.027237
+%   2   5    0.005740   -0.062871
+%   2   6   -0.069736    0.052117
+%   2   7    0.064316   -0.024942
+%   2   8    0.046315   -0.126757
+%   3   1   -0.076846    0.062136
+%   3   2   -0.020936    0.091880
+%   3   3    0.024093   -0.145290
+%   3   4   -0.008287   -0.029448
+%   3   5    0.003800    0.043179
+%   3   6   -0.025079    0.023823
+%   3   7    0.017450   -0.021252
+%   3   8   -0.008503   -0.085797
+%   4   1    0.012106    0.075765
+%   4   2    0.036026   -0.035605
+%   4   3   -0.006425   -0.003059
+%   4   4   -0.122726    0.020290
+%   4   5    0.006855   -0.011034
+%   4   6    0.114955   -0.008971
+%   4   7   -0.046967   -0.029334
+%   5   1    0.056182    0.029724
+%   5   2   -0.043418   -0.020505
+%   5   3    0.021721    0.035836
+%   5   4    0.034556   -0.027872
+%   5   5   -0.003971    0.019074
+%   5   6   -0.036528    0.005790
+%   5   7    0.012644   -0.008201
+%   6   1   -0.014267   -0.008133
+%   6   2    0.013038    0.018965
+%   6   3   -0.007278   -0.026223
+%   6   4   -0.035354    0.020928
+%   6   5    0.039095   -0.044981
+%   6   6   -0.067409    0.018055
+%   6   7    0.067104   -0.004292
+%   6   8   -0.018463   -0.132604
+%   7   1    0.018956    0.134184
+%   7   2   -0.024049   -0.090231
+%   7   3    0.003201    0.050937
+%   7   4    0.035044   -0.012645
+%   7   5   -0.016165   -0.012127
+%   7   6   -0.149519    0.104112
+%   7   7    0.154237   -0.065606
+%   7   8   -0.023297   -0.020545
+%   8   1    0.002366    0.028225
+%   8   2    0.030264   -0.055382
+%   8   3   -0.011741    0.061531
+%   8   4   -0.074971   -0.014765
+%   8   5   -0.032140    0.006835
+%   8   6    0.124245    0.003363
+%   8   7   -0.049779    0.036874
+%   9   1    0.043804   -0.038704
+%   9   2    0.011960    0.012217
+%   9   3   -0.001527   -0.014242
+%   9   4   -0.035316    0.000966
+%   9   5   -0.008876   -0.002633
+%   9   6    0.047732   -0.006021
+%   9   7   -0.033359    0.032528
+%  10   1    0.031837   -0.000547
+%  10   2    0.011762   -0.080980
+%  10   3   -0.006059    0.096282
+%  10   4   -0.050527   -0.013888
+%  10   5    0.044512    0.017792
+%  10   6    0.017730    0.014879
+%  10   7   -0.021394   -0.014392
+%  10   8   -0.027985   -0.120197
+%  11   1    0.042409    0.105439
+%  11   2    0.064381   -0.045016
+%  11   3   -0.041077    0.005401
+%  11   4   -0.041731   -0.013862
+%  11   5    0.044545   -0.004862
+%  11   6   -0.026293    0.084420
+%  11   7    0.017197   -0.054107
+%  11   8    0.015187   -0.143759
+%  12   1   -0.019752    0.163445
+%  12   2    0.003823   -0.148481
+%  12   3   -0.009378    0.104950
+%  12   4    0.045066   -0.014427
+%  12   5   -0.005582   -0.009825
+%  12   6   -0.039879    0.019595
+%  12   7   -0.019963   -0.015440
+%  13   1    0.046292   -0.022853
+%  13   8   -0.008302    0.045534
+%  13   9    0.000030    0.009327
+%  13   2   -0.005796   -0.118533
+%  13   3   -0.000867    0.098075
+%  13   4    0.000741    0.033276
+%  13   5    0.019309   -0.061751
+%  13   6   -0.017260    0.032903
+%  13   7   -0.029021    0.035976
+%  14   1    0.046398   -0.013163
+%  14   2   -0.002968   -0.083596
+%  14   3   -0.001332    0.103642
+%  14   4   -0.036149   -0.014215
+%  14   5    0.040285    0.010026
+%  14   6   -0.007164    0.046764
+%  14   7    0.009257   -0.029798
+%  14   8   -0.016607   -0.026948
+%  15   1    0.014886    0.055928
+%  15   2    0.039142   -0.105579
+%  15   3   -0.023623    0.095226
+%  15   4   -0.046866    0.028096
+%  15   5    0.053751   -0.039132
+%  15   6   -0.010184   -0.048234
+%  15   7    0.001445    0.031294
+%  15   8    0.026218   -0.110304
+%  16   1   -0.044000    0.115482
+%  16   2   -0.002106   -0.083519
+%  16   3    0.002799    0.048985
+%  16   4    0.009681   -0.002672
+%  16   5    0.021253   -0.044996
+%  16   6   -0.036072    0.047818
+%  16   7   -0.010525    0.046051
+%   1   1    0.017030   -0.056479
+%  ];
+
+% %% 22 janvier 2012, 400 mA en 4/4, 122 BPMs
+% Golden = [
+%   1   2   -0.002752    0.002905
+%   1   3   -0.001339    0.013942
+%   1   4    0.001111    0.007996
+%   1   5   -0.105066   -0.010401
+%   1   6    0.120298    0.000054
+%   1   7   -0.015114    0.108933
+%   2   1   -0.008114   -0.083412
+%   2   2    0.048159   -0.007890
+%   2   3   -0.034851    0.041232
+%   2   4    0.001337    0.026880
+%   2   5    0.009128   -0.055339
+%   2   6   -0.070966    0.055884
+%   2   7    0.061626   -0.023713
+%   2   8    0.041660   -0.112884
+%   3   1   -0.078662    0.064838
+%   3   2   -0.026532    0.077581
+%   3   3    0.022348   -0.120969
+%   3   4   -0.013413   -0.039666
+%   3   5    0.008483    0.045304
+%   3   6   -0.015102    0.029065
+%   3   7    0.012516   -0.027121
+%   3   8   -0.017300   -0.087444
+%   4   1    0.014464    0.082487
+%   4   2    0.040652   -0.033072
+%   4   3   -0.008137    0.000961
+%   4   4   -0.127193    0.012714
+%   4   5    0.003230   -0.013197
+%   4   6    0.133940    0.008363
+%   4   7   -0.056607   -0.026949
+%   5   1    0.054560    0.020526
+%   5   2   -0.032429   -0.022182
+%   5   3    0.013352    0.032160
+%   5   4    0.030433   -0.032514
+%   5   5   -0.004138    0.019563
+%   5   6   -0.039550    0.004898
+%   5   7    0.015338   -0.004252
+%   6   1   -0.019806   -0.004146
+%   6   2    0.003856    0.009212
+%   6   3    0.001864   -0.005023
+%   6   4   -0.033503    0.018974
+%   6   5    0.035588   -0.033579
+%   6   6   -0.064943    0.008734
+%   6   7    0.062550   -0.001785
+%   6   8   -0.015758   -0.135678
+%   7   1    0.012694    0.138486
+%   7   2   -0.011987   -0.090637
+%   7   3    0.004685    0.054599
+%   7   4    0.013771   -0.011541
+%   7   5    0.001412   -0.012319
+%   7   6   -0.142552    0.101946
+%   7   7    0.146914   -0.054830
+%   7   8   -0.023225   -0.010763
+%   8   1    0.008397    0.027025
+%   8   2    0.032538   -0.054435
+%   8   3   -0.010820    0.058274
+%   8   4   -0.079600   -0.012855
+%   8   5   -0.032673    0.008720
+%   8   6    0.122840   -0.003626
+%   8   7   -0.043389    0.042829
+%   9   1    0.036677   -0.040443
+%   9   2    0.013591    0.022961
+%   9   3   -0.010096   -0.009926
+%   9   4   -0.043421   -0.013922
+%   9   5    0.002858    0.002816
+%   9   6    0.043832    0.014951
+%   9   7   -0.035820    0.026556
+%  10   1    0.037120    0.002064
+%  10   2    0.015777   -0.074898
+%  10   3   -0.009147    0.090643
+%  10   4   -0.052840   -0.019125
+%  10   5    0.052515    0.019575
+%  10   6    0.022364    0.014213
+%  10   7   -0.029563   -0.008876
+%  10   8   -0.032257   -0.122014
+%  11   1    0.042476    0.111117
+%  11   2    0.058036   -0.043591
+%  11   3   -0.038649    0.012170
+%  11   4   -0.048148   -0.013066
+%  11   5    0.055327   -0.006034
+%  11   6   -0.025016    0.081919
+%  11   7    0.014168   -0.053555
+%  11   8    0.008376   -0.145145
+%  12   1   -0.022382    0.157601
+%  12   2    0.041906   -0.115066
+%  12   3   -0.033474    0.080734
+%  12   4    0.043142   -0.017462
+%  12   5    0.001191   -0.005693
+%  12   6   -0.042747    0.033820
+%  12   7   -0.029401   -0.015025
+%  13   1    0.055778   -0.027187
+%  13   8   -0.007127    0.054197
+%  13   9   -0.006738   -0.000047
+%  13   2    0.004676   -0.116372
+%  13   3    0.000187    0.101144
+%  13   4   -0.004763    0.033774
+%  13   5    0.021764   -0.064898
+%  13   6   -0.018472    0.041332
+%  13   7   -0.033290    0.033209
+%  14   1    0.053350   -0.002547
+%  14   2    0.010634   -0.082095
+%  14   3   -0.007540    0.102500
+%  14   4   -0.036109   -0.006278
+%  14   5    0.036555   -0.004047
+%  14   6   -0.015228    0.048844
+%  14   7    0.011789   -0.031831
+%  14   8   -0.023705   -0.034253
+%  15   1    0.029879    0.060454
+%  15   2    0.034967   -0.098104
+%  15   3   -0.022987    0.099863
+%  15   4   -0.055654    0.028796
+%  15   5    0.057121   -0.033707
+%  15   6   -0.013497   -0.049437
+%  15   7    0.000229    0.033130
+%  15   8    0.030341   -0.104576
+%  16   1   -0.046519    0.118512
+%  16   2   -0.017860   -0.093321
+%  16   3    0.013345    0.059318
+%  16   4   -0.009782   -0.000020
+%  16   5    0.039149   -0.040901
+%  16   6   -0.039061    0.054655
+%  16   7   -0.016965    0.049564
+%   1   1    0.024941   -0.054625
+% ];
+
+%% 4 November 2011, 9mA, 122 BPM, 1/4 RUN5
+% Golden = [
+%   1   2    0.013992   -0.001084
+%   1   3    0.013358    0.011619
+%   1   4   -0.009057    0.006272
+%   1   5   -0.110988    0.019468
+%   1   6    0.103097    0.007927
+%   1   7   -0.001282    0.131523
+%   2   1   -0.002472   -0.063485
+%   2   2    0.039553   -0.000122
+%   2   3   -0.014114    0.023095
+%   2   4   -0.006748    0.026973
+%   2   5   -0.003030   -0.081144
+%   2   6   -0.074005    0.040684
+%   2   7    0.052027   -0.028188
+%   2   8    0.049940   -0.128270
+%   3   1   -0.064734    0.051357
+%   3   2   -0.018374    0.102595
+%   3   3    0.011464   -0.124190
+%   3   4   -0.006984   -0.003392
+%   3   5   -0.000066    0.050166
+%   3   6   -0.020336    0.012160
+%   3   7    0.031595   -0.010289
+%   3   8   -0.004110   -0.093276
+%   4   1    0.007020    0.064046
+%   4   2    0.023258   -0.012619
+%   4   3   -0.010182    0.023936
+%   4   4   -0.115812    0.049363
+%   4   5    0.009706    0.004161
+%   4   6    0.131908    0.013717
+%   4   7   -0.062247   -0.001488
+%   5   1    0.050221    0.030800
+%   5   2   -0.053278   -0.038765
+%   5   3    0.013951    0.021081
+%   5   4    0.051806   -0.018902
+%   5   5    0.000781   -0.004264
+%   5   6   -0.040608   -0.019348
+%   5   7    0.006141   -0.020910
+%   6   1   -0.019309   -0.012398
+%   6   2    0.010244    0.031649
+%   6   3   -0.007986   -0.001511
+%   6   4   -0.023928    0.045248
+%   6   5    0.043674   -0.044727
+%   6   6   -0.078151    0.018276
+%   6   7    0.086620   -0.015004
+%   6   8   -0.035870   -0.158034
+%   7   1    0.027008    0.124630
+%   7   2   -0.021187   -0.083669
+%   7   3    0.011764    0.049771
+%   7   4    0.026114    0.000768
+%   7   5   -0.012025   -0.002836
+%   7   6   -0.135435    0.099383
+%   7   7    0.139551   -0.040800
+%   7   8   -0.018634    0.001211
+%   8   1   -0.004119    0.028212
+%   8   2    0.045465   -0.064035
+%   8   3   -0.009361    0.038010
+%   8   4   -0.086750   -0.029078
+%   8   5   -0.040843   -0.013212
+%   8   6    0.123786    0.010666
+%   8   7   -0.040107    0.040092
+%   9   1    0.045308   -0.035790
+%   9   2    0.012368    0.032672
+%   9   3   -0.004522    0.006223
+%   9   4   -0.035233    0.006811
+%   9   5   -0.012008    0.017482
+%   9   6    0.046714    0.014916
+%   9   7   -0.027967    0.037077
+%  10   1    0.036973    0.009804
+%  10   2    0.021440   -0.078634
+%  10   3   -0.012421    0.069863
+%  10   4   -0.053860   -0.025770
+%  10   5    0.047284    0.016064
+%  10   6    0.026420    0.022514
+%  10   7   -0.032219   -0.000330
+%  10   8   -0.021261   -0.097166
+%  11   1    0.033860    0.115847
+%  11   2    0.055784   -0.049038
+%  11   3   -0.038509    0.002128
+%  11   4   -0.039602   -0.013836
+%  11   5    0.046076   -0.023555
+%  11   6   -0.018588    0.076793
+%  11   7    0.011460   -0.055958
+%  11   8    0.015849   -0.145827
+%  12   1   -0.028396    0.156639
+%  12   2    0.004195   -0.135563
+%  12   3   -0.015088    0.107196
+%  12   4    0.050243   -0.004509
+%  12   5    0.001624   -0.005847
+%  12   6   -0.043117    0.017292
+%  12   7   -0.017512   -0.002285
+%  13   1    0.034842   -0.005247
+%  13   8   -0.032530    0.035553
+%  13   9    0.025179    0.032963
+%  13   2   -0.007201   -0.128633
+%  13   3   -0.001747    0.087734
+%  13   4   -0.020700    0.055111
+%  13   5    0.013258   -0.068493
+%  13   6    0.011990    0.018859
+%  13   7   -0.000972    0.038697
+%  14   1   -0.004856   -0.011152
+%  14   2   -0.000824   -0.066346
+%  14   3   -0.005526    0.094904
+%  14   4   -0.030676   -0.004358
+%  14   5    0.043778    0.015912
+%  14   6   -0.008480    0.062678
+%  14   7    0.018945   -0.024603
+%  14   8   -0.021168   -0.011616
+%  15   1    0.011959    0.051511
+%  15   2    0.030597   -0.092328
+%  15   3   -0.021064    0.095811
+%  15   4   -0.046444    0.035279
+%  15   5    0.060146   -0.021519
+%  15   6   -0.011057   -0.026917
+%  15   7    0.005531    0.049083
+%  15   8    0.021092   -0.100024
+%  16   1   -0.046253    0.129198
+%  16   2    0.002187   -0.082450
+%  16   3    0.008478    0.038484
+%  16   4    0.008186   -0.010516
+%  16   5    0.031695   -0.050438
+%  16   6   -0.041695    0.021926
+%  16   7   -0.028169    0.064140
+%   1   1    0.036122   -0.097562
+% ];
+
+%% 31 May 2011, 400mA, 120 BPM, 4/4, after 20 min @ 400mA, top-up on
+% Golden = [
+%   1   2   -0.000740   -0.003586
+%   1   3   -0.006158    0.027055
+%   1   4    0.015471    0.019519
+%   1   5   -0.121017   -0.024158
+%   1   6    0.126023    0.012591
+%   1   7   -0.008766    0.115757
+%   2   1   -0.021419   -0.066420
+%   2   2    0.052239   -0.009322
+%   2   3   -0.032168    0.074703
+%   2   4    0.003988    0.045124
+%   2   5    0.005330   -0.076879
+%   2   6   -0.060570    0.055991
+%   2   7    0.054380   -0.016410
+%   2   8    0.040148   -0.123619
+%   3   1   -0.075036    0.053525
+%   3   2   -0.021150    0.071025
+%   3   3    0.021768   -0.134562
+%   3   4   -0.010457   -0.014977
+%   3   5    0.003053    0.041258
+%   3   6   -0.022918    0.014130
+%   3   7    0.016844   -0.007854
+%   3   8    0.001482   -0.074132
+%   4   1   -0.007767    0.076354
+%   4   2    0.023919   -0.034619
+%   4   3    0.006648    0.012755
+%   4   4   -0.124366    0.021143
+%   4   5   -0.003173   -0.015722
+%   4   6    0.125705    0.005141
+%   4   7   -0.052382    0.004289
+%   5   1    0.050728    0.014448
+%   5   2   -0.036113   -0.030910
+%   5   3    0.016565    0.049450
+%   5   4    0.038125   -0.003273
+%   5   5   -0.012785    0.015228
+%   5   6   -0.038019    0.003445
+%   5   7    0.013126    0.011277
+%   6   1   -0.008687   -0.005158
+%   6   2   -0.000395    0.016800
+%   6   3    0.001205   -0.012074
+%   6   4   -0.021010    0.018046
+%   6   5    0.025356   -0.023122
+%   6   6   -0.064866    0.005899
+%   6   7    0.063564    0.004669
+%   6   8   -0.004983   -0.131905
+%   7   1   -0.004074    0.125092
+%   7   2   -0.019656   -0.072916
+%   7   3    0.006443    0.044288
+%   7   4    0.024099   -0.015479
+%   7   5   -0.006976    0.009120
+%   7   6   -0.134535    0.098491
+%   7   7    0.146847   -0.058595
+%   7   8   -0.021822   -0.007387
+%   8   1   -0.001637    0.031415
+%   8   2    0.036268   -0.046049
+%   8   3   -0.009787    0.064913
+%   8   4   -0.088207    0.005777
+%   8   5   -0.042176   -0.004477
+%   8   6    0.141320    0.015148
+%   8   7   -0.046922    0.070028
+%   9   1    0.031526   -0.054345
+%   9   2    0.006658    0.014768
+%   9   3   -0.000487    0.007846
+%   9   4   -0.054519   -0.012766
+%   9   5   -0.002901   -0.003778
+%   9   6    0.061036    0.022349
+%   9   7   -0.031512    0.032555
+%  10   1    0.030762    0.008079
+%  10   2    0.018741   -0.073891
+%  10   3   -0.007454    0.110617
+%  10   4   -0.054282   -0.009704
+%  10   5    0.046573    0.023515
+%  10   6    0.020129    0.017281
+%  10   7   -0.030415   -0.007051
+%  10   8   -0.019349   -0.114164
+%  11   1    0.028484    0.105389
+%  11   2    0.062599   -0.055091
+%  11   3   -0.036174    0.021427
+%  11   4   -0.037074    0.003752
+%  11   5    0.037571   -0.015491
+%  11   6   -0.020609    0.095512
+%  11   7    0.008545   -0.041728
+%  11   8    0.010258   -0.147080
+%  12   1   -0.018870    0.159441
+%  12   2    0.024063   -0.124483
+%  12   3   -0.018034    0.117044
+%  12   4    0.031110   -0.022625
+%  12   5    0.004707   -0.023414
+%  12   6   -0.039393    0.056105
+%  12   7   -0.031821    0.063204
+%  13   1    0.053128   -0.023834
+%  13   8    0.053128   -0.023834
+%  13   9    0.010700   -0.159520
+%  13   2    0.010700   -0.159520
+%  13   3   -0.008381    0.175186
+%  13   4   -0.018354    0.088865
+%  13   5    0.012524   -0.078483
+%  13   6   -0.003196    0.028420
+%  13   7    0.001385    0.046992
+%  14   1    0.001180    0.011945
+%  14   2   -0.004029   -0.077619
+%  14   3    0.003990    0.119867
+%  14   4   -0.041765    0.004302
+%  14   5    0.039532   -0.019451
+%  14   6   -0.019689    0.045067
+%  14   7    0.015427   -0.019291
+%  14   8   -0.006209   -0.017465
+%  15   1    0.002268    0.063393
+%  15   2    0.028071   -0.085708
+%  15   3   -0.015286    0.113889
+%  15   4   -0.056120    0.041550
+%  15   5    0.059026   -0.040382
+%  15   6   -0.025566   -0.055336
+%  15   7    0.015001    0.048204
+%  15   8    0.030399   -0.110570
+%  16   1   -0.056771    0.115203
+%  16   2   -0.015003   -0.096028
+%  16   3    0.008781    0.084066
+%  16   4    0.012492    0.016768
+%  16   5    0.020573   -0.038270
+%  16   6   -0.034205    0.045211
+%  16   7   -0.031538    0.075463
+%   1   1    0.042592   -0.066320
+% ];
+  %% 30 aout, 2010, 400mA, 120 BPM, 4/4, after 1h @ 400mA, top-up on
+% Golden = [
+%   1   2    0.006856   -0.002046
+%   1   3   -0.007166    0.031381
+%   1   4   -0.015442    0.001163
+%   1   5   -0.111951   -0.014862
+%   1   6    0.147278    0.019714
+%   1   7   -0.019939    0.139009
+%   2   1   -0.011475   -0.094653
+%   2   2    0.055081    0.011237
+%   2   3   -0.037250    0.061448
+%   2   4    0.019700    0.045965
+%   2   5   -0.009656   -0.080373
+%   2   6   -0.065788    0.063886
+%   2   7    0.061426   -0.020762
+%   2   8    0.033285   -0.129804
+%   3   1   -0.068102    0.041084
+%   3   2   -0.008265    0.116157
+%   3   3    0.012609   -0.188080
+%   3   4   -0.016128   -0.017910
+%   3   5    0.009898    0.042864
+%   3   6   -0.031271    0.025254
+%   3   7    0.023580   -0.015062
+%   3   8    0.000614   -0.057267
+%   4   1   -0.008317    0.059714
+%   4   2    0.022390   -0.024202
+%   4   3    0.007105    0.011231
+%   4   4   -0.127603    0.011938
+%   4   5   -0.012065   -0.003867
+%   4   6    0.137812    0.000599
+%   4   7   -0.060800   -0.026952
+%   5   1    0.059211    0.037001
+%   5   2   -0.031928   -0.023488
+%   5   3    0.013358    0.032376
+%   5   4    0.028795   -0.001651
+%   5   5   -0.013764    0.019058
+%   5   6   -0.027115   -0.002603
+%   5   7    0.003983   -0.000299
+%   6   1   -0.001273   -0.002330
+%   6   2    0.021005    0.036622
+%   6   3   -0.012890   -0.039734
+%   6   4   -0.034390    0.014097
+%   6   5    0.039591   -0.017175
+%   6   6   -0.064323    0.007359
+%   6   7    0.061640    0.002813
+%   6   8   -0.012456   -0.127135
+%   7   1    0.006525    0.123439
+%   7   2   -0.020262   -0.078069
+%   7   3    0.006598    0.051906
+%   7   4    0.010064   -0.009943
+%   7   5    0.006661   -0.002720
+%   7   6   -0.139337    0.109901
+%   7   7    0.150211   -0.063662
+%   7   8   -0.027520   -0.001287
+%   8   1    0.005109    0.024387
+%   8   2    0.037418   -0.039567
+%   8   3   -0.013181    0.062029
+%   8   4   -0.080459    0.000618
+%   8   5   -0.035821    0.000253
+%   8   6    0.125783    0.014937
+%   8   7   -0.053813    0.047949
+%   9   1    0.043285   -0.037679
+%   9   2    0.006039    0.013197
+%   9   3   -0.004108    0.004239
+%   9   4   -0.036872   -0.010673
+%   9   5   -0.007169    0.006149
+%   9   6    0.046131    0.009260
+%   9   7   -0.033374    0.003034
+%  10   1    0.035716    0.022797
+%  10   2    0.025421   -0.045074
+%  10   3   -0.012046    0.064993
+%  10   4   -0.061350   -0.012028
+%  10   5    0.052221    0.026554
+%  10   6    0.024470    0.020115
+%  10   7   -0.036041   -0.009331
+%  10   8   -0.023796   -0.147465
+%  11   1    0.034842    0.116906
+%  11   2    0.067055   -0.019981
+%  11   3   -0.040301   -0.030616
+%  11   4   -0.036049    0.007173
+%  11   5    0.035995   -0.023059
+%  11   6   -0.021438    0.103816
+%  11   7    0.009998   -0.045482
+%  11   8   -0.001599   -0.156865
+%  12   1   -0.001028    0.165850
+%  12   2    0.016282   -0.122944
+%  12   3   -0.016822    0.120879
+%  12   4    0.039226   -0.042006
+%  12   5   -0.004430   -0.005715
+%  12   6   -0.039647    0.055368
+%  12   7   -0.030623    0.053464
+%  13   1    0.050688   -0.021504
+%  13   2    0.011777   -0.142915
+%  13   3   -0.016364    0.153845
+%  13   4    0.022348    0.086566
+%  13   5    0.026364   -0.067777
+%  13   6   -0.059906    0.018269
+%  13   7   -0.017170    0.065623
+%  14   1    0.041785    0.000809
+%  14   2   -0.001011   -0.077591
+%  14   3   -0.001517    0.125123
+%  14   4   -0.049640   -0.000749
+%  14   5    0.047128   -0.009968
+%  14   6   -0.017230    0.039915
+%  14   7    0.012912   -0.017657
+%  14   8   -0.017499    0.023705
+%  15   1    0.018401    0.039845
+%  15   2    0.031601   -0.104378
+%  15   3   -0.020209    0.149938
+%  15   4   -0.053535    0.041727
+%  15   5    0.056124   -0.038312
+%  15   6   -0.020499   -0.064035
+%  15   7    0.009281    0.053264
+%  15   8    0.031391   -0.143362
+%  16   1   -0.057865    0.136878
+%  16   2   -0.022599   -0.088826
+%  16   3    0.014637    0.061252
+%  16   4    0.000994    0.022685
+%  16   5    0.025738   -0.039009
+%  16   6   -0.031708    0.039920
+%  16   7   -0.029343    0.069699
+%   1   1    0.036023   -0.061148
+%   ];
+
+%% 30 aout, 2010, 15mA, 120 BPM, 3/4, after 1h @ 15mA, top-up off
+% Golden = [
+%       1   2    0.006588   -0.001133
+%   1   3   -0.007887    0.020259
+%   1   4   -0.013064   -0.000158
+%   1   5   -0.109003   -0.011352
+%   1   6    0.140942    0.016984
+%   1   7   -0.018859    0.138771
+%   2   1   -0.007879   -0.096057
+%   2   2    0.031941    0.016589
+%   2   3   -0.023153    0.054283
+%   2   4    0.022222    0.051771
+%   2   5   -0.014391   -0.089246
+%   2   6   -0.065712    0.062526
+%   2   7    0.062101   -0.018480
+%   2   8    0.031155   -0.133693
+%   3   1   -0.062465    0.042200
+%   3   2   -0.021967    0.119712
+%   3   3    0.020168   -0.194052
+%   3   4   -0.009220   -0.015754
+%   3   5    0.000874    0.042220
+%   3   6   -0.021693    0.015171
+%   3   7    0.014338   -0.008911
+%   3   8    0.001921   -0.055672
+%   4   1   -0.008547    0.058844
+%   4   2    0.024373   -0.024240
+%   4   3    0.005069    0.008305
+%   4   4   -0.120490    0.019986
+%   4   5   -0.005520    0.001011
+%   4   6    0.124219   -0.013461
+%   4   7   -0.062820   -0.022391
+%   5   1    0.064569    0.036742
+%   5   2   -0.031672   -0.015715
+%   5   3    0.013026    0.023018
+%   5   4    0.027979   -0.002708
+%   5   5   -0.017098    0.012285
+%   5   6   -0.021109    0.006163
+%   5   7   -0.000263   -0.005705
+%   6   1    0.004970   -0.003124
+%   6   2    0.018927    0.041714
+%   6   3   -0.012663   -0.046511
+%   6   4   -0.028809    0.013478
+%   6   5    0.034833   -0.016684
+%   6   6   -0.064319    0.009906
+%   6   7    0.062784    0.001245
+%   6   8   -0.015248   -0.122565
+%   7   1    0.012245    0.118387
+%   7   2   -0.028624   -0.073137
+%   7   3    0.009653    0.047531
+%   7   4    0.025797   -0.007581
+%   7   5   -0.008477   -0.006964
+%   7   6   -0.144139    0.111972
+%   7   7    0.157087   -0.064198
+%   7   8   -0.026614   -0.002911
+%   8   1    0.002613    0.026800
+%   8   2    0.036058   -0.042966
+%   8   3   -0.012339    0.067016
+%   8   4   -0.078501   -0.002404
+%   8   5   -0.036172   -0.001623
+%   8   6    0.124301    0.020163
+%   8   7   -0.051030    0.050180
+%   9   1    0.039760   -0.040284
+%   9   2    0.006211    0.009295
+%   9   3   -0.001575    0.002340
+%   9   4   -0.052427    0.005818
+%   9   5   -0.002115    0.005543
+%   9   6    0.056713   -0.005754
+%   9   7   -0.033126    0.007263
+%  10   1    0.032634    0.026133
+%  10   2    0.024461   -0.048546
+%  10   3   -0.011519    0.067836
+%  10   4   -0.057527   -0.011072
+%  10   5    0.048997    0.024725
+%  10   6    0.019902    0.020858
+%  10   7   -0.030694   -0.009637
+%  10   8   -0.024079   -0.147010
+%  11   1    0.034588    0.114033
+%  11   2    0.066924   -0.013660
+%  11   3   -0.040786   -0.038153
+%  11   4   -0.030403    0.006405
+%  11   5    0.030948   -0.021894
+%  11   6   -0.023140    0.104433
+%  11   7    0.012747   -0.046253
+%  11   8   -0.000400   -0.160648
+%  12   1   -0.001411    0.163108
+%  12   2    0.002765   -0.110117
+%  12   3   -0.007435    0.100703
+%  12   4    0.035812   -0.035098
+%  12   5   -0.002294   -0.006109
+%  12   6   -0.039689    0.049007
+%  12   7   -0.030368    0.053778
+%  13   1    0.050632   -0.019038
+%  13   2    0.008500   -0.143347
+%  13   3   -0.014398    0.153223
+%  13   4    0.023765    0.086362
+%  13   5    0.025631   -0.068868
+%  13   6   -0.060494    0.019319
+%  13   7   -0.011435    0.065602
+%  14   1    0.033533   -0.000282
+%  14   2   -0.009775   -0.075804
+%  14   3    0.003958    0.123405
+%  14   4   -0.043403   -0.001774
+%  14   5    0.040671   -0.009713
+%  14   6   -0.018253    0.046106
+%  14   7    0.014802   -0.021492
+%  14   8   -0.013441    0.026146
+%  15   1    0.010684    0.038643
+%  15   2    0.036139   -0.105726
+%  15   3   -0.022691    0.152677
+%  15   4   -0.048208    0.043405
+%  15   5    0.051054   -0.041331
+%  15   6   -0.018357   -0.062275
+%  15   7    0.007725    0.052658
+%  15   8    0.029495   -0.151444
+%  16   1   -0.056481    0.137586
+%  16   2   -0.005586   -0.077943
+%  16   3    0.002912    0.047178
+%  16   4    0.010566    0.016929
+%  16   5    0.023262   -0.030738
+%  16   6   -0.036834    0.036158
+%  16   7   -0.029239    0.073402
+%   1   1    0.037958   -0.063636
+%   ];
+
+%% 29 aout, 2010, 15mA, 120 BPM, 3/4, after 1h @ 15mA, top-up off
+% Golden = [
+%    1   2    0.005519   -0.002198
+%   1   3   -0.009473    0.018148
+%   1   4   -0.013281   -0.003514
+%   1   5   -0.108927   -0.011923
+%   1   6    0.141126    0.015744
+%   1   7   -0.018203    0.139160
+%   2   1   -0.008553   -0.097371
+%   2   2    0.028749    0.004221
+%   2   3   -0.022640    0.053672
+%   2   4    0.022460    0.048481
+%   2   5   -0.013749   -0.091944
+%   2   6   -0.065359    0.058096
+%   2   7    0.063013   -0.022042
+%   2   8    0.030027   -0.133682
+%   3   1   -0.062462    0.038741
+%   3   2   -0.022472    0.116882
+%   3   3    0.018485   -0.196273
+%   3   4   -0.003531   -0.021368
+%   3   5   -0.002620    0.033096
+%   3   6   -0.021515    0.010715
+%   3   7    0.016448   -0.011796
+%   3   8    0.001507   -0.058138
+%   4   1   -0.009535    0.053501
+%   4   2    0.024275   -0.030095
+%   4   3    0.004478    0.004816
+%   4   4   -0.119228    0.017415
+%   4   5   -0.004799   -0.000774
+%   4   6    0.122711   -0.015789
+%   4   7   -0.062303   -0.027904
+%   5   1    0.062795    0.035900
+%   5   2   -0.032568   -0.019556
+%   5   3    0.014551    0.020366
+%   5   4    0.028740   -0.008892
+%   5   5   -0.018452    0.006466
+%   5   6   -0.021354    0.001337
+%   5   7   -0.000946   -0.010978
+%   6   1    0.004914   -0.009300
+%   6   2    0.018923    0.036814
+%   6   3   -0.010828   -0.049917
+%   6   4   -0.030086    0.010611
+%   6   5    0.033149   -0.018546
+%   6   6   -0.065427    0.007932
+%   6   7    0.061193   -0.001258
+%   6   8   -0.013623   -0.125057
+%   7   1    0.012414    0.113477
+%   7   2   -0.027153   -0.075772
+%   7   3    0.009945    0.045030
+%   7   4    0.026502   -0.014227
+%   7   5   -0.012510   -0.008229
+%   7   6   -0.147125    0.111980
+%   7   7    0.157779   -0.065769
+%   7   8   -0.025543   -0.003905
+%   8   1    0.003780    0.022444
+%   8   2    0.035876   -0.047778
+%   8   3   -0.013203    0.061467
+%   8   4   -0.079070   -0.009959
+%   8   5   -0.036284   -0.005915
+%   8   6    0.124029    0.015899
+%   8   7   -0.048953    0.051929
+%   9   1    0.037788   -0.050545
+%   9   2    0.002977    0.007222
+%   9   3   -0.001619    0.002287
+%   9   4   -0.047194    0.006677
+%   9   5   -0.004650    0.002850
+%   9   6    0.054801   -0.008421
+%   9   7   -0.032676    0.005829
+%  10   1    0.031674    0.022948
+%  10   2    0.019244   -0.058451
+%  10   3   -0.010067    0.072389
+%  10   4   -0.057173   -0.016819
+%  10   5    0.050360    0.020825
+%  10   6    0.021541    0.018578
+%  10   7   -0.029885   -0.013816
+%  10   8   -0.025528   -0.150772
+%  11   1    0.034284    0.106782
+%  11   2    0.066963   -0.016040
+%  11   3   -0.041072   -0.040030
+%  11   4   -0.030381   -0.000704
+%  11   5    0.030850   -0.026794
+%  11   6   -0.022526    0.098457
+%  11   7    0.012124   -0.055005
+%  11   8   -0.000553   -0.165598
+%  12   1   -0.003691    0.156274
+%  12   2    0.001026   -0.117009
+%  12   3   -0.005375    0.097639
+%  12   4    0.036721   -0.036122
+%  12   5   -0.003059   -0.007160
+%  12   6   -0.041421    0.045407
+%  12   7   -0.029797    0.049173
+%  13   1    0.050341   -0.025589
+%  13   2    0.010158   -0.147299
+%  13   3   -0.013779    0.147450
+%  13   4    0.021467    0.077490
+%  13   5    0.022845   -0.076101
+%  13   6   -0.057039    0.013787
+%  13   7   -0.014202    0.057222
+%  14   1    0.035809   -0.005705
+%  14   2    0.000317   -0.073144
+%  14   3    0.000684    0.112848
+%  14   4   -0.042960   -0.001280
+%  14   5    0.037263   -0.009404
+%  14   6   -0.020858    0.042073
+%  14   7    0.012538   -0.024438
+%  14   8   -0.011211    0.021330
+%  15   1    0.012027    0.034419
+%  15   2    0.037726   -0.112195
+%  15   3   -0.021321    0.148945
+%  15   4   -0.050089    0.040019
+%  15   5    0.048802   -0.045301
+%  15   6   -0.020736   -0.065544
+%  15   7    0.006349    0.049177
+%  15   8    0.032333   -0.154165
+%  16   1   -0.056359    0.136218
+%  16   2   -0.006319   -0.085302
+%  16   3    0.003381    0.039860
+%  16   4    0.006738    0.016729
+%  16   5    0.027736   -0.037876
+%  16   6   -0.040020    0.027953
+%  16   7   -0.026426    0.065566
+%   1   1    0.035265   -0.061654 
+% ];
+
+%%  23 November, 2009, 400mA, 120 BPM, 4/4, after 6h @ 400mA, top-up off
+% Golden = [
+%   1   2    0.002029   -0.008229
+%   1   3   -0.016893    0.026100
+%   1   4   -0.015172   -0.019001
+%   1   5   -0.114024   -0.006831
+%   1   6    0.152653    0.019670
+%   1   7   -0.025143    0.142441
+%   2   1   -0.007858   -0.089854
+%   2   2    0.030861   -0.022048
+%   2   3   -0.019826    0.093670
+%   2   4    0.030907    0.026464
+%   2   5   -0.019382   -0.069930
+%   2   6   -0.070347    0.073769
+%   2   7    0.081850   -0.031747
+%   2   8    0.036344   -0.116644
+%   3   1   -0.081106    0.032058
+%   3   2   -0.014571    0.120384
+%   3   3    0.020284   -0.203138
+%   3   4    0.008848   -0.026130
+%   3   5   -0.021635    0.039991
+%   3   6   -0.017804    0.007987
+%   3   7    0.001855   -0.013802
+%   3   8   -0.005742   -0.048333
+%   4   1    0.000777    0.044010
+%   4   2    0.055459   -0.039893
+%   4   3   -0.009262    0.022676
+%   4   4   -0.133837    0.013747
+%   4   5   -0.009283   -0.018432
+%   4   6    0.132152    0.006566
+%   4   7   -0.067811   -0.026251
+%   5   1    0.057710    0.021284
+%   5   2   -0.021850   -0.007270
+%   5   3    0.020481    0.021295
+%   5   4    0.029735   -0.008168
+%   5   5   -0.022407    0.017295
+%   5   6   -0.042089   -0.003680
+%   5   7    0.005685   -0.010708
+%   6   1   -0.007240   -0.007034
+%   6   2    0.046488    0.031829
+%   6   3   -0.021638   -0.040056
+%   6   4   -0.054686    0.013182
+%   6   5    0.054372   -0.033158
+%   6   6   -0.054305    0.008764
+%   6   7    0.041719   -0.002200
+%   6   8   -0.009685   -0.107517
+%   7   1    0.000980    0.123431
+%   7   2   -0.027138   -0.080044
+%   7   3   -0.006857    0.066786
+%   7   4    0.004198    0.000402
+%   7   5   -0.006952   -0.025075
+%   7   6   -0.106707    0.103219
+%   7   7    0.112809   -0.045282
+%   7   8   -0.023845    0.006732
+%   8   1   -0.009150    0.032298
+%   8   2    0.030902   -0.051337
+%   8   3   -0.020029    0.065809
+%   8   4   -0.053900    0.007747
+%   8   5   -0.044756   -0.014493
+%   8   6    0.114454    0.010274
+%   8   7   -0.069436    0.023371
+%   9   1    0.056108   -0.024845
+%   9   2    0.018738    0.000199
+%   9   3   -0.014617    0.005879
+%   9   4   -0.045680   -0.009865
+%   9   5   -0.004769    0.003346
+%   9   6    0.054530    0.012475
+%   9   7   -0.041639    0.014072
+%  10   1    0.028337    0.026056
+%  10   2    0.016550   -0.056310
+%  10   3   -0.002997    0.087650
+%  10   4   -0.075533   -0.024969
+%  10   5    0.071778    0.034296
+%  10   6    0.014466   -0.002983
+%  10   7   -0.023510   -0.007526
+%  10   8   -0.025012   -0.159753
+%  11   1    0.031167    0.123138
+%  11   2    0.064896   -0.044175
+%  11   3   -0.041487   -0.005483
+%  11   4   -0.034816   -0.006699
+%  11   5    0.025957   -0.005239
+%  11   6   -0.019788    0.086007
+%  11   7    0.012042   -0.054441
+%  11   8    0.004218   -0.159520
+%  12   1   -0.014335    0.156688
+%  12   2    0.005308   -0.145706
+%  12   3   -0.010359    0.122560
+%  12   4    0.027522   -0.021435
+%  12   5   -0.001802   -0.021829
+%  12   6   -0.044313    0.041809
+%  12   7   -0.024854    0.041145
+%  13   1    0.048999   -0.024470
+%  13   2   -0.006526   -0.115663
+%  13   3   -0.006496    0.118086
+%  13   4    0.036219    0.075528
+%  13   5    0.016212   -0.057939
+%  13   6   -0.081271   -0.005013
+%  13   7   -0.004162    0.024156
+%  14   1    0.029248    0.012258
+%  14   2    0.011144   -0.068937
+%  14   3   -0.014571    0.089728
+%  14   4   -0.059358   -0.011430
+%  14   5    0.066404    0.013160
+%  14   6   -0.029031    0.040967
+%  14   7    0.025450   -0.026824
+%  14   8   -0.022484    0.023487
+%  15   1    0.007571    0.039077
+%  15   2    0.013885   -0.113153
+%  15   3   -0.010637    0.151075
+%  15   4   -0.056538    0.032897
+%  15   5    0.069841   -0.041709
+%  15   6    0.007850   -0.065815
+%  15   7   -0.016163    0.049007
+%  15   8    0.038600   -0.137666
+%  16   1   -0.080264    0.128128
+%  16   2   -0.025569   -0.107178
+%  16   3    0.014235    0.059120
+%  16   4    0.007970    0.011004
+%  16   5    0.011226   -0.041107
+%  16   6   -0.024778    0.032385
+%  16   7   -0.018219    0.045577
+%   1   1    0.007766   -0.035362
+% ];
+  
+% %% 30 August 2009 New BBA SMIS Bump removed at 15mA in 3/4 filling pattern
+% Golden = [
+%   1   2    0.001439    0.001652
+%   1   3   -0.007091    0.017834
+%   1   4   -0.006591   -0.011706
+%   1   5   -0.111409   -0.009861
+%   1   6    0.149007    0.019923
+%   1   7   -0.016221    0.140724
+%   2   1   -0.012326   -0.098728
+%   2   2    0.022745    0.002045
+%   2   3   -0.017265    0.057335
+%   2   4    0.030117    0.045905
+%   2   5   -0.014439   -0.092500
+%   2   6   -0.076057    0.073762
+%   2   7    0.078586   -0.030317
+%   2   8    0.032366   -0.122302
+%   3   1   -0.069194    0.027148
+%   3   2   -0.024865    0.128594
+%   3   3    0.023162   -0.209758
+%   3   4    0.005185   -0.022135
+%   3   5   -0.008367    0.032886
+%   3   6   -0.025321    0.009339
+%   3   7    0.022625   -0.009644
+%   3   8    0.004808   -0.045184
+%   4   1   -0.013162    0.040981
+%   4   2    0.024655   -0.024763
+%   4   3    0.009763    0.004499
+%   4   4   -0.120164    0.014080
+%   4   5   -0.007917    0.001188
+%   4   6    0.127279   -0.016816
+%   4   7   -0.059909   -0.017120
+%   5   1    0.067177    0.021188
+%   5   2   -0.033817   -0.014992
+%   5   3    0.020363    0.017370
+%   5   4    0.038278   -0.009647
+%   5   5   -0.015577    0.010705
+%   5   6   -0.035002    0.001076
+%   5   7    0.007233   -0.004009
+%   6   1    0.004876   -0.018708
+%   6   2    0.018958    0.050652
+%   6   3   -0.008517   -0.065843
+%   6   4   -0.037120    0.008628
+%   6   5    0.042010   -0.015112
+%   6   6   -0.062148   -0.000035
+%   6   7    0.061490    0.002638
+%   6   8   -0.013969   -0.117166
+%   7   1    0.017591    0.104004
+%   7   2   -0.038242   -0.065918
+%   7   3    0.013324    0.037782
+%   7   4    0.031001   -0.016255
+%   7   5   -0.008171   -0.007454
+%   7   6   -0.141648    0.112682
+%   7   7    0.162265   -0.068776
+%   7   8   -0.025494    0.010029
+%   8   1    0.000738    0.011495
+%   8   2    0.029703   -0.042968
+%   8   3   -0.010064    0.063031
+%   8   4   -0.073307   -0.011270
+%   8   5   -0.033144   -0.009564
+%   8   6    0.131276    0.022435
+%   8   7   -0.052013    0.041565
+%   9   1    0.036586   -0.043457
+%   9   2    0.006134    0.012435
+%   9   3   -0.004680   -0.003617
+%   9   4   -0.040993    0.003242
+%   9   5   -0.009967    0.007224
+%   9   6    0.069160   -0.014063
+%   9   7   -0.034088    0.021542
+%  10   1    0.030060    0.014328
+%  10   2    0.016756   -0.060234
+%  10   3   -0.007433    0.080666
+%  10   4   -0.049369   -0.015788
+%  10   5    0.047482    0.021982
+%  10   6    0.024118    0.010022
+%  10   7   -0.028365   -0.009081
+%  10   8   -0.023524   -0.141268
+%  11   1    0.033100    0.100282
+%  11   2    0.063702   -0.016999
+%  11   3   -0.037193   -0.035528
+%  11   4   -0.021609   -0.000204
+%  11   5    0.024595   -0.026905
+%  11   6   -0.020315    0.095136
+%  11   7    0.012547   -0.053682
+%  11   8    0.004781   -0.149360
+%  12   1   -0.007228    0.142436
+%  12   2    0.001215   -0.108709
+%  12   3   -0.002472    0.090346
+%  12   4    0.042099   -0.031966
+%  12   5    0.000411   -0.000045
+%  12   6   -0.048330    0.032040
+%  12   7   -0.023035    0.033025
+%  13   1    0.051491   -0.013401
+%  13   2    0.004173   -0.128078
+%  13   3   -0.009898    0.124427
+%  13   4    0.040102    0.071330
+%  13   5    0.025983   -0.069281
+%  13   6   -0.076844    0.012332
+%  13   7   -0.003092    0.041857
+%  14   1    0.032198    0.000741
+%  14   2   -0.002463   -0.065692
+%  14   3   -0.003516    0.097877
+%  14   4   -0.031015   -0.002773
+%  14   5    0.036756   -0.006621
+%  14   6   -0.020060    0.034095
+%  14   7    0.024106   -0.020057
+%  14   8   -0.010341    0.016619
+%  15   1    0.005888    0.034718
+%  15   2    0.025686   -0.110044
+%  15   3   -0.019190    0.145568
+%  15   4   -0.044768    0.039564
+%  15   5    0.059525   -0.043613
+%  15   6   -0.008457   -0.073426
+%  15   7    0.009205    0.051279
+%  15   8    0.027809   -0.128621
+%  16   1   -0.059105    0.121604
+%  16   2   -0.007262   -0.090021
+%  16   3    0.006021    0.055724
+%  16   4    0.010074    0.016936
+%  16   5    0.023634   -0.039754
+%  16   6   -0.025321    0.030519
+%  16   7   -0.023471    0.057133
+%   1   1    0.027700   -0.054217   
+% ];
+
+% Golden du March 31 2009, 56 vp dans les 2 plans, 200 mA 3/4 (AVEC modification BBA)
+% offset for SMIS (-75 ÃÂµm)
+% Golden = [
+%   1   2    0.009517    0.042990
+%   1   3   -0.006912   -0.020981
+%   1   4   -0.008131   -0.020004
+%   1   5   -0.128837    0.013248
+%   1   6    0.153328    0.044941
+%   1   7   -0.015086    0.217996
+%   2   1   -0.008673   -0.059031
+%   2   2    0.064185   -0.055041
+%   2   3   -0.043694   -0.031985
+%   2   4    0.032966   -0.030984
+%   2   5   -0.018060   -0.121653
+%   2   6   -0.079164    0.067819
+%   2   7    0.079500    0.028741
+%   2   8    0.039440   -0.095657
+%   3   1   -0.076281    0.013838
+%   3   2   -0.028893    0.124158
+%   3   3    0.020463   -0.187586
+%   3   4   -0.004275   -0.015461
+%   3   5    0.006217    0.029326
+%   3   6   -0.015080   -0.003430
+%   3   7    0.019742   -0.002939
+%   3   8   -0.010000   -0.038951
+%   4   1    0.003815    0.035406
+%   4   2    0.003631   -0.017151
+%   4   3   -0.001206    0.010410
+%   4   4    0.002572   -0.003328
+%   4   5   -0.079047    0.013685
+%   4   6    0.102416   -0.008571
+%   4   7   -0.053985   -0.032613
+%   5   1    0.049493    0.038489
+%   5   2   -0.038116   -0.021715
+%   5   3    0.022548    0.018919
+%   5   4   -0.010487   -0.006437
+%   5   5   -0.044115    0.014717
+%   5   6    0.056807   -0.007830
+%   5   7    0.029018   -0.015024
+%   6   1   -0.065438   -0.006192
+%   6   2    0.007563    0.057855
+%   6   3    0.004598   -0.077867
+%   6   4   -0.028412    0.027629
+%   6   5    0.031710   -0.032835
+%   6   6   -0.054573   -0.031474
+%   6   7    0.049633    0.022857
+%   6   8   -0.008758   -0.123239
+%   7   1    0.007826    0.114230
+%   7   2   -0.031132   -0.081831
+%   7   3    0.020347    0.056831
+%   7   4    0.025359   -0.022916
+%   7   5   -0.018023    0.001148
+%   7   6   -0.168047    0.153523
+%   7   7    0.172901   -0.092309
+%   7   8   -0.024282    0.014386
+%   8   1    0.008647    0.007565
+%   8   2    0.033849   -0.040678
+%   8   3   -0.017340    0.055864
+%   8   4    0.005713    0.000270
+%   8   5   -0.062488   -0.002284
+%   8   6    0.061882    0.003296
+%   8   7   -0.039267    0.032761
+%   9   1    0.047468   -0.026321
+%   9   2    0.013949    0.008803
+%   9   3    0.002068   -0.019551
+%   9   4   -0.080058    0.049047
+%   9   5    0.001749   -0.025064
+%   9   6    0.072247   -0.012855
+%   9   7   -0.008409   -0.020559
+%  10   1   -0.002844    0.044009
+%  10   2    0.028449   -0.053548
+%  10   3   -0.013310    0.050035
+%  10   4   -0.063004   -0.021360
+%  10   5    0.060199    0.036064
+%  10   6    0.023595   -0.007369
+%  10   7   -0.027561    0.002287
+%  10   8   -0.027888   -0.151662
+%  11   1    0.040506    0.111583
+%  11   2    0.070149   -0.012097
+%  11   3   -0.049883   -0.046897
+%  11   4   -0.027172    0.003815
+%  11   5    0.040897   -0.033778
+%  11   6   -0.011005    0.090152
+%  11   7    0.012352   -0.049901
+%  11   8    0.003093   -0.143565
+%  12   1   -0.014488    0.141303
+%  12   2   -0.023394   -0.100100
+%  12   3   -0.004888    0.096986
+%  12   4   -0.033700    0.022641
+%  12   5    0.049386   -0.059648
+%  12   6   -0.012757    0.053991
+%  12   7   -0.048246    0.024330
+%  13   1    0.057075   -0.015535
+%  13   2    0.021994   -0.146814
+%  13   3   -0.028242    0.130104
+%  13   4    0.042461    0.080305
+%  13   5    0.027648   -0.078012
+%  13   6   -0.068133    0.007657
+%  13   7   -0.019029    0.042027
+%  14   1    0.039834    0.004204
+%  14   2   -0.002020   -0.061227
+%  14   3   -0.000927    0.098654
+%  14   4   -0.000385   -0.004974
+%  14   5    0.001997    0.008001
+%  14   6   -0.000082    0.040959
+%  14   7   -0.002337   -0.027026
+%  14   8   -0.017742    0.028978
+%  15   1    0.012388    0.019261
+%  15   2    0.044181   -0.098953
+%  15   3   -0.015445    0.144318
+%  15   4   -0.069711    0.037561
+%  15   5    0.061587   -0.039499
+%  15   6   -0.001112   -0.043836
+%  15   7   -0.020052    0.035631
+%  15   8    0.019645   -0.134164
+%  16   1   -0.021730    0.135700
+%  16   2   -0.014351   -0.109644
+%  16   3    0.031979    0.062489
+%  16   4   -0.075720    0.082745
+%  16   5    0.047563   -0.086837
+%  16   6    0.012484    0.023260
+%  16   7   -0.039474    0.081965
+%   1   1    0.060349   -0.086699
+%   ];
+
+% Golden du 19 janvier 2009, 56 vp dans les 2 plans, 200 mA 3/4 (AVEC modification BBA)
+% Golden = [
+%   1   2    0.009517    0.043785
+%   1   3   -0.006912   -0.020423
+%   1   4   -0.008131   -0.019617
+%   1   5   -0.128837    0.006179
+%   1   6    0.153328    0.013081
+%   1   7   -0.015086    0.154057
+%   2   1   -0.008673   -0.111905
+%   2   2    0.064185    0.016447
+%   2   3   -0.043694    0.042714
+%   2   4    0.032966    0.043878
+%   2   5   -0.018060   -0.081909
+%   2   6   -0.079164    0.052099
+%   2   7    0.079500   -0.017959
+%   2   8    0.039440   -0.095618
+%   3   1   -0.076281    0.014079
+%   3   2   -0.028893    0.124642
+%   3   3    0.020463   -0.187276
+%   3   4   -0.004275   -0.015337
+%   3   5    0.006217    0.029269
+%   3   6   -0.015080   -0.003917
+%   3   7    0.019742   -0.003768
+%   3   8   -0.010000   -0.039642
+%   4   1    0.003815    0.034818
+%   4   2    0.003631   -0.016422
+%   4   3   -0.001206    0.011188
+%   4   4    0.002572   -0.002472
+%   4   5   -0.079047    0.014327
+%   4   6    0.102416   -0.007792
+%   4   7   -0.053985   -0.032063
+%   5   1    0.049493    0.039000
+%   5   2   -0.038116   -0.022328
+%   5   3    0.022548    0.018285
+%   5   4   -0.010487   -0.007248
+%   5   5   -0.044115    0.014030
+%   5   6    0.056807   -0.008725
+%   5   7    0.029018   -0.015771
+%   6   1   -0.065438   -0.006884
+%   6   2    0.007563    0.058502
+%   6   3    0.004598   -0.077121
+%   6   4   -0.028412    0.028443
+%   6   5    0.031710   -0.032359
+%   6   6   -0.054573   -0.031481
+%   6   7    0.049633    0.022617
+%   6   8   -0.008758   -0.123633
+%   7   1    0.007826    0.113672
+%   7   2   -0.031132   -0.081975
+%   7   3    0.020347    0.056898
+%   7   4    0.025359   -0.022643
+%   7   5   -0.018023    0.001430
+%   7   6   -0.168047    0.153976
+%   7   7    0.172901   -0.091647
+%   7   8   -0.024282    0.014844
+%   8   1    0.008647    0.007849
+%   8   2    0.033849   -0.041430
+%   8   3   -0.017340    0.055167
+%   8   4    0.005713   -0.000393
+%   8   5   -0.062488   -0.002715
+%   8   6    0.061882    0.002824
+%   8   7   -0.039267    0.032556
+%   9   1    0.047468   -0.026376
+%   9   2    0.013949    0.009700
+%   9   3    0.002068   -0.018750
+%   9   4   -0.080058    0.049916
+%   9   5    0.001749   -0.024398
+%   9   6    0.072247   -0.012035
+%   9   7   -0.008409   -0.019966
+%  10   1   -0.002844    0.044461
+%  10   2    0.028449   -0.054310
+%  10   3   -0.013310    0.049275
+%  10   4   -0.063004   -0.022087
+%  10   5    0.060199    0.035701
+%  10   6    0.023595   -0.007130
+%  10   7   -0.027561    0.002881
+%  10   8   -0.027888   -0.151008
+%  11   1    0.040506    0.112322
+%  11   2    0.070149   -0.012328
+%  11   3   -0.049883   -0.047325
+%  11   4   -0.027172    0.003210
+%  11   5    0.040897   -0.034216
+%  11   6   -0.011005    0.089843
+%  11   7    0.012352   -0.050235
+%  11   8    0.003093   -0.143680
+%  12   1   -0.014488    0.141392
+%  12   2   -0.023394   -0.099507
+%  12   3   -0.004888    0.097433
+%  12   4   -0.033700    0.022950
+%  12   5    0.049386   -0.059532
+%  12   6   -0.012757    0.054042
+%  12   7   -0.048246    0.024140
+%  13   1    0.057075   -0.015949
+%  13   2    0.021994   -0.147777
+%  13   3   -0.028242    0.129331
+%  13   4    0.042461    0.079590
+%  13   5    0.027648   -0.078495
+%  13   6   -0.068133    0.007111
+%  13   7   -0.019029    0.041731
+%  14   1    0.039834    0.004103
+%  14   2   -0.002020   -0.060535
+%  14   3   -0.000927    0.099243
+%  14   4   -0.000385   -0.004511
+%  14   5    0.001997    0.008162
+%  14   6   -0.000082    0.040546
+%  14   7   -0.002337   -0.027829
+%  14   8   -0.017742    0.028223
+%  15   1    0.012388    0.018520
+%  15   2    0.044181   -0.098403
+%  15   3   -0.015445    0.145002
+%  15   4   -0.069711    0.038350
+%  15   5    0.061587   -0.039011
+%  15   6   -0.001112   -0.043746
+%  15   7   -0.020052    0.035556
+%  15   8    0.019645   -0.134421
+%  16   1   -0.021730    0.135260
+%  16   2   -0.014351   -0.109934
+%  16   3    0.031979    0.062401
+%  16   4   -0.075720    0.082865
+%  16   5    0.047563   -0.086610
+%  16   6    0.012484    0.023642
+%  16   7   -0.039474    0.082504
+%   1   1    0.060349   -0.085917];
+%   
+ 
+% Golden du 2 septembre 2008, 56 vp dans les 2 plans, 200 mA 3/4 (AVEC modification BBA)
+
+% Golden = [
+%   1   2    0.014080    0.027995
+%   1   3   -0.015017   -0.006834
+%   1   4    0.001339   -0.018215
+%   1   5   -0.098797    0.007590
+%   1   6    0.120840    0.009376
+%   1   7   -0.039947    0.138526
+%   2   1    0.034321   -0.100989
+%   2   2    0.044410    0.011604
+%   2   3   -0.038116    0.041077
+%   2   4    0.037042    0.047169
+%   2   5   -0.021790   -0.087980
+%   2   6   -0.074621    0.050033
+%   2   7    0.076922   -0.015480
+%   2   8    0.034039   -0.116260
+%   3   1   -0.068354    0.026599
+%   3   2   -0.035272    0.123393
+%   3   3    0.028334   -0.196749
+%   3   4   -0.015965   -0.016258
+%   3   5    0.014401    0.027561
+%   3   6   -0.025394   -0.009448
+%   3   7    0.023784    0.002773
+%   3   8    0.005618   -0.056352
+%   4   1   -0.020089    0.046474
+%   4   2    0.010287   -0.020217
+%   4   3   -0.003262   -0.000739
+%   4   4    0.001993    0.003699
+%   4   5   -0.078392    0.022109
+%   4   6    0.097169   -0.029574
+%   4   7   -0.059339    0.007094
+%   5   1    0.062428    0.012735
+%   5   2   -0.041804   -0.029184
+%   5   3    0.026528    0.031903
+%   5   4   -0.014066    0.001641
+%   5   5   -0.040464    0.012282
+%   5   6    0.053852   -0.010373
+%   5   7    0.029335   -0.001039
+%   6   1   -0.060964   -0.014823
+%   6   2    0.012427    0.053094
+%   6   3   -0.001035   -0.072104
+%   6   4   -0.027023    0.016122
+%   6   5    0.030725   -0.022372
+%   6   6   -0.048488   -0.017886
+%   6   7    0.047154    0.015233
+%   6   8   -0.013264   -0.111035
+%   7   1    0.015598    0.106922
+%   7   2   -0.042463   -0.079758
+%   7   3    0.022318    0.056654
+%   7   4    0.013974   -0.017714
+%   7   5   -0.016369   -0.023448
+%   7   6   -0.147282    0.128224
+%   7   7    0.153143   -0.076973
+%   7   8   -0.003325    0.046550
+%   8   1   -0.030410   -0.016153
+%   8   2    0.030121   -0.036981
+%   8   3   -0.016824    0.065006
+%   8   4    0.018036    0.001005
+%   8   5   -0.074179   -0.006329
+%   8   6    0.071340    0.007431
+%   8   7   -0.027189    0.033314
+%   9   1    0.020663   -0.030535
+%   9   2    0.008529    0.010179
+%   9   3    0.002444   -0.028136
+%   9   4   -0.077035    0.051694
+%   9   5   -0.000878   -0.011164
+%   9   6    0.080845   -0.035218
+%   9   7   -0.014411   -0.022028
+%  10   1   -0.002121    0.050543
+%  10   2    0.019680   -0.056096
+%  10   3   -0.005566    0.056126
+%  10   4   -0.049007   -0.006605
+%  10   5    0.045128    0.013208
+%  10   6    0.025164   -0.006298
+%  10   7   -0.030589    0.001936
+%  10   8   -0.023016   -0.143811
+%  11   1    0.034480    0.098620
+%  11   2    0.059635   -0.007838
+%  11   3   -0.037433   -0.046675
+%  11   4   -0.034446    0.001414
+%  11   5    0.039605   -0.027117
+%  11   6   -0.014043    0.090012
+%  11   7    0.007863   -0.049324
+%  11   8    0.004225   -0.135383
+%  12   1   -0.010035    0.133013
+%  12   2   -0.013248   -0.104747
+%  12   3    0.009981    0.076090
+%  12   4   -0.023320    0.016010
+%  12   5    0.038207   -0.061615
+%  12   6   -0.015499    0.057995
+%  12   7   -0.040260    0.028347
+%  13   1    0.056596   -0.019766
+%  13   2    0.008288   -0.132306
+%  13   3   -0.016487    0.129720
+%  13   4    0.042462    0.072296
+%  13   5    0.022989   -0.068868
+%  13   6   -0.066653    0.012322
+%  13   7   -0.022359    0.034639
+%  14   1    0.051999    0.003575
+%  14   2   -0.009229   -0.056179
+%  14   3    0.006565    0.081081
+%  14   4   -0.009191    0.003641
+%  14   5    0.031496    0.017935
+%  14   6   -0.001590    0.053899
+%  14   7   -0.004041   -0.037862
+%  14   8   -0.004698    0.025091
+%  15   1    0.005901    0.014729
+%  15   2    0.027293   -0.079146
+%  15   3   -0.011109    0.113783
+%  15   4   -0.055653    0.034036
+%  15   5    0.052696   -0.039749
+%  15   6    0.008478   -0.036938
+%  15   7   -0.021645    0.029693
+%  15   8    0.025802   -0.129670
+%  16   1   -0.036393    0.124912
+%  16   2   -0.006107   -0.098246
+%  16   3    0.018415    0.045549
+%  16   4   -0.075575    0.079506
+%  16   5    0.046051   -0.083994
+%  16   6    0.022178    0.022794
+%  16   7   -0.018777    0.054936
+%   1   1    0.020838   -0.058082
+%       ];
+% Golden du 22 janvier 2008, 56 vp dans les 2 plans, 200 mA 3/4 (AVEC modification BBA)
+
+% Golden = [
+%   1   2    0.001137    0.020286
+%   1   3   -0.007885   -0.002782
+%   1   4    0.013372   -0.016374
+%   1   5   -0.110741    0.000870
+%   1   6    0.116219    0.014824
+%   1   7   -0.008404    0.151559
+%   2   1   -0.014766   -0.112526
+%   2   2    0.027201    0.015441
+%   2   3   -0.022391    0.042599
+%   2   4    0.035645    0.038730
+%   2   5   -0.024297   -0.074306
+%   2   6   -0.070021    0.051237
+%   2   7    0.070637   -0.018583
+%   2   8    0.033809   -0.101326
+%   3   1   -0.067308    0.014939
+%   3   2   -0.020015    0.129027
+%   3   3    0.019403   -0.198117
+%   3   4   -0.020633   -0.027931
+%   3   5    0.017706    0.045542
+%   3   6   -0.012646   -0.007170
+%   3   7    0.010102   -0.002047
+%   3   8   -0.003212   -0.029679
+%   4   1   -0.001031    0.025833
+%   4   2    0.013636   -0.013470
+%   4   3   -0.003807    0.004624
+%   4   4   -0.023971   -0.002292
+%   4   5   -0.059656    0.014053
+%   4   6    0.098861   -0.012846
+%   4   7   -0.051330   -0.013594
+%   5   1    0.051626    0.024360
+%   5   2   -0.032833   -0.031515
+%   5   3    0.013679    0.030105
+%   5   4    0.039017    0.007369
+%   5   5   -0.010362    0.003347
+%   5   6   -0.031218   -0.006791
+%   5   7   -0.009173    0.013580
+%   6   1    0.021043   -0.020869
+%   6   2    0.016468    0.040772
+%   6   3   -0.010208   -0.049758
+%   6   4   -0.029491    0.010271
+%   6   5    0.034507   -0.015692
+%   6   6   -0.042881   -0.006936
+%   6   7    0.040813    0.007554
+%   6   8   -0.010593   -0.100311
+%   7   1    0.011235    0.094935
+%   7   2   -0.031931   -0.067042
+%   7   3    0.014855    0.044219
+%   7   4    0.023529   -0.015931
+%   7   5   -0.023330   -0.016535
+%   7   6   -0.148193    0.093369
+%   7   7    0.159398   -0.056313
+%   7   8   -0.027269    0.017217
+%   8   1    0.007903    0.002616
+%   8   2    0.028833   -0.033703
+%   8   3   -0.02 
+%   8   4    0.028401   -0.010545
+%   8   5   -0.060420   -0.002266
+%   8   6    0.047888    0.013057
+%   8   7   -0.042725    0.028089
+%   9   1    0.047646   -0.028836
+%   9   2    0.003468    0.003793
+%   9   3    0.004181   -0.011428
+%   9   4   -0.070738    0.030509
+%   9   5    0.008953   -0.009745
+%   9   6    0.066151   -0.016182
+%   9   7   -0.036488    0.002906
+%  10   1    0.036717    0.027358 
+%   1   2    0.014080    0.027995
+%  10   2    0.019544   -0.054169
+%  10   3   -0.009078    0.065518
+%  10   4   -0.058783   -0.019897
+%  10   5    0.054836    0.030392
+%  10   6    0.027918    0.004048
+%  10   7   -0.034062   -0.007499
+%  10   8   -0.026943   -0.140771
+%  11   1    0.041422    0.095041
+%  11   2    0.059925   -0.003561
+%  11   3   -0.039014   -0.049822
+%  11   4   -0.028460    0.001142
+%  11   5    0.034204   -0.027257
+%  11   6   -0.013114    0.092867
+%  11   7    0.009262   -0.052272
+%  11   8   -0.005570   -0.126547
+%  12   1    0.002074    0.121140
+%  12   2    0.019717   -0.092405
+%  12   3   -0.009038    0.071242
+%  12   4   -0.037759   -0.002998
+%  12   5    0.053096   -0.041698
+%  12   6   -0.016625    0.055760
+%  12   7   -0.033902    0.027230
+%  13   1    0.049066   -0.019389
+%  13   2    0.000856   -0.120359
+%  13   3   -0.010566    0.120867
+%  13   4    0.037986    0.056823
+%  13   5    0.023220   -0.059330
+%  13   6   -0.065245    0.012920
+%  13   7   -0.012015    0.024399
+%  14   1    0.032654   -0.000683
+%  14   2    0.000380   -0.034999
+%  14   3   -0.001244    0.053492
+%  14   4    0.006781    0.018426
+%  14   5    0.019530    0.000311
+%  14   6    0.002973    0.038450
+%  14   7   -0.002681   -0.024865
+%  14   8   -0.024247    0.038859
+%  15   1    0.022845    0.002283
+%  15   2    0.045624   -0.081376
+%  15   3   -0.025782    0.123667
+%  15   4   -0.057911    0.037201
+%  15   5    0.059793   -0.037149
+%  15   6    0.003004   -0.066812
+%  15   7   -0.014295    0.047189
+%  15   8    0.023029   -0.115488
+%  16   1   -0.038348    0.108472
+%  16   2    0.007818   -0.080603
+%  16   3    0.006904    0.029538
+%  16   4   -0.073669    0.078677
+%  16   5    0.053688   -0.078394
+%  16   6    0.014573    0.016682
+%  16   7   -0.027156    0.043728
+%   1   1    0.033352   -0.045016
+%      ];
+
+
+% Golden du 16 octobre 2007, 56 vp dans les 2 plans, 200 mA 3/4 (pas de modification BBA)
+% NON APPLIQUEE
+
+% Golden = [
+%   1   2    0.014250   -0.024037
+%   1   3   -0.016639    0.035907
+%   1   4    0.019084    0.002410
+%   1   5   -0.119830   -0.007753
+%   1   6    0.120804    0.007976
+%   1   7   -0.022937    0.137358
+%   2   1    0.008113   -0.084322
+%   2   2    0.023569   -0.011963
+%   2   3   -0.016054    0.069334
+%   2   4   -0.000527   -0.014190
+%   2   5    0.008516    0.008846
+%   2   6   -0.074727    0.028071
+%   2   7    0.068064   -0.026147
+%   2   8    0.048045   -0.117431
+%   3   1   -0.088135    0.022480
+%   3   2   -0.019006    0.131422
+%   3   3    0.017430   -0.196451
+%   3   4    0.013543   -0.021408
+%   3   5   -0.019292    0.051431
+%   3   6    0.001114   -0.035772
+%   3   7   -0.006132    0.008605
+%   3   8    0.022192   -0.049778
+%   4   1   -0.041588    0.030503
+%   4   2    0.024150   -0.010478
+%   4   3   -0.014262    0.002526
+%   4   4    0.014805    0.009626
+%   4   5   -0.085479   -0.001239
+%   4   6    0.081323    0.008092
+%   4   7   -0.051622    0.001162
+%   5   1    0.060193    0.019066
+%   5   2   -0.032265   -0.054699
+%   5   3    0.014591    0.045671
+%   5   4    0.021652    0.031240
+%   5   5    0.009123   -0.038685
+%   5   6   -0.040344    0.005864
+%   5   7   -0.013930    0.024692
+%   6   1    0.028910   -0.031000
+%   6   2    0.037889    0.011368
+%   6   3   -0.020786   -0.013112
+%   6   4   -0.017492   -0.031608
+%   6   5    0.024303    0.057994
+%   6   6   -0.021494   -0.001741
+%   6   7    0.025597   -0.006960
+%   6   8   -0.027287   -0.097723
+%   7   1    0.039144    0.083252
+%   7   2   -0.051188   -0.053537
+%   7   3    0.027552    0.029429
+%   7   4   -0.012157   -0.034078
+%   7   5    0.015645    0.036651
+%   7   6   -0.074393    0.064355
+%   7   7    0.080066   -0.043736
+%   7   8   -0.020104   -0.006878
+%   8   1    0.008852    0.016000
+%   8   2    0.030014   -0.023632
+%   8   3   -0.016238    0.025648
+%   8   4   -0.024379   -0.002892
+%   8   5   -0.047320   -0.012616
+%   8   6    0.083553    0.013076
+%   8   7   -0.051579    0.025949
+%   9   1    0.049475   -0.028640
+%   9   2    0.015032   -0.000843
+%   9   3   -0.004910   -0.006267
+%   9   4   -0.068139    0.032493
+%   9   5    0.024059   -0.017622
+%   9   6    0.044610   -0.007918
+%   9   7   -0.046033    0.003152
+%  10   1    0.053186    0.033896
+%  10   2    0.021647   -0.072365
+%  10   3   -0.007898    0.087325
+%  10   4   -0.085680   -0.033573
+%  10   5    0.074480    0.043470
+%  10   6    0.059256    0.022563
+%  10   7   -0.073918   -0.022859
+%  10   8   -0.013203   -0.127175
+%  11   1    0.027794    0.092758
+%  11   2    0.056501   -0.020985
+%  11   3   -0.031653   -0.020443
+%  11   4   -0.050838   -0.021920
+%  11   5    0.047526    0.018614
+%  11   6    0.018037    0.060469
+%  11   7   -0.028532   -0.042040
+%  11   8   -0.007344   -0.109655
+%  12   1    0.014537    0.112859
+%  12   2    0.026062   -0.106096
+%  12   3   -0.014099    0.095858
+%  12   4   -0.078599    0.011029
+%  12   5    0.080972   -0.049948
+%  12   6   -0.014364    0.054264
+%  12   7   -0.026169    0.005699
+%  13   1    0.039179    0.002087
+%  13   2   -0.001059   -0.113836
+%  13   3   -0.006785    0.102929
+%  13   4    0.008160    0.073502
+%  13   5    0.025690   -0.069686
+%  13   6   -0.045332    0.006245
+%  13   7   -0.007202    0.038880
+%  14   1    0.012483   -0.008307
+%  14   2    0.037463   -0.045823
+%  14   3   -0.019618    0.072928
+%  14   4   -0.062369   -0.008896
+%  14   5    0.068684    0.017848
+%  14   6    0.013944    0.042669
+%  14   7   -0.021869   -0.027130
+%  14   8   -0.009939    0.063369
+%  15   1    0.011146   -0.008930
+%  15   2    0.030784   -0.082335
+%  15   3   -0.014717    0.124281
+%  15   4   -0.075177    0.004151
+%  15   5    0.076417    0.011248
+%  15   6    0.009148   -0.073543
+%  15   7   -0.017132    0.044834
+%  15   8    0.011749   -0.107199
+%  16   1   -0.023594    0.110669
+%  16   2    0.012563   -0.087627
+%  16   3    0.000590    0.035807
+%  16   4   -0.068713    0.081797
+%  16   5    0.052300   -0.084988
+%  16   6    0.007680    0.012223
+%  16   7   -0.020805    0.048784
+%   1   1    0.022075   -0.047247
+%     ];
+
+% Golden du 16 octobre 2007, 56 vp dans les 2 plans, 15 mA 3/4 (pas de modification BBA)
+% Golden = [
+%   1   2   -0.013216   -0.027826
+%   1   3   -0.049346    0.032357
+%   1   4    0.050703   -0.006037
+%   1   5   -0.074755   -0.014606
+%   1   6    0.148497    0.003298
+%   1   7   -0.052060    0.127654
+%   2   1   -0.014701   -0.085177
+%   2   2    0.023663    0.000074
+%   2   3   -0.006484    0.071678
+%   2   4    0.011874   -0.005673
+%   2   5    0.019461    0.007869
+%   2   6   -0.068565    0.021149
+%   2   7    0.069517   -0.033841
+%   2   8    0.035578   -0.130449
+%   3   1   -0.087006    0.015884
+%   3   2   -0.010647    0.135989
+%   3   3    0.035445   -0.195345
+%   3   4    0.008507   -0.015926
+%   3   5   -0.030260    0.057907
+%   3   6   -0.010282   -0.031601
+%   3   7   -0.013055    0.005479
+%   3   8    0.035137   -0.056158
+%   4   1   -0.033174    0.027279
+%   4   2    0.031098   -0.017763
+%   4   3   -0.010996   -0.006689
+%   4   4    0.019148    0.006622
+%   4   5   -0.084048    0.003767
+%   4   6    0.076598    0.005591
+%   4   7   -0.044980   -0.000206
+%   5   1    0.064866    0.032719
+%   5   2   -0.025005   -0.033315
+%   5   3    0.022582    0.048495
+%   5   4    0.022997    0.048236
+%   5   5    0.008154   -0.026770
+%   5   6   -0.042516    0.011748
+%   5   7   -0.015852    0.028418
+%   6   1    0.031012   -0.024116
+%   6   2    0.040578    0.012865
+%   6   3    0.007113   -0.032278
+%   6   4   -0.030506   -0.041209
+%   6   5    0.001968    0.054260
+%   6   6   -0.039713   -0.000211
+%   6   7    0.009709    0.006414
+%   6   8   -0.001258   -0.089711
+%   7   1    0.052483    0.093898
+%   7   2   -0.042973   -0.061011
+%   7   3    0.034399    0.013801
+%   7   4   -0.014947   -0.043601
+%   7   5    0.005552    0.025685
+%   7   6   -0.077666    0.062188
+%   7   7    0.079602   -0.041600
+%   7   8   -0.003175   -0.000261
+%   8   1    0.020052    0.018562
+%   8   2    0.014712   -0.018684
+%   8   3   -0.035658    0.026641
+%   8   4    0.000672   -0.012989
+%   8   5   -0.022225   -0.010046
+%   8   6    0.102277    0.014382
+%   8   7   -0.066952    0.033618
+%   9   1    0.030344   -0.031508
+%   9   2    0.003853    0.007741
+%   9   3   -0.011288   -0.008782
+%   9   4   -0.049365    0.037559
+%   9   5    0.048177   -0.015308
+%   9   6    0.064303   -0.005617
+%   9   7   -0.067421   -0.000845
+%  10   1    0.039831    0.027090
+%  10   2    0.027413   -0.083217
+%  10   3    0.000595    0.074001
+%  10   4   -0.078094   -0.035297
+%  10   5    0.079200    0.039801
+%  10   6    0.062145    0.034037
+%  10   7   -0.069179   -0.006786
+%  10   8   -0.015566   -0.114631
+%  11   1    0.031082    0.106583
+%  11   2    0.068894   -0.032609
+%  11   3   -0.015247   -0.043588
+%  11   4   -0.051730   -0.042036
+%  11   5    0.034355    0.008844
+%  11   6    0.007646    0.063354
+%  11   7   -0.036452   -0.034497
+%  11   8    0.004620   -0.100013
+%  12   1    0.026440    0.125383
+%  12   2    0.029218   -0.096968
+%  12   3    0.001565    0.081549
+%  12   4   -0.082537    0.002749
+%  12   5    0.072557   -0.058901
+%  12   6   -0.019963    0.034992
+%  12   7   -0.008415   -0.013441
+%  13   1    0.053534   -0.023102
+%  13   2    0.017920   -0.137287
+%  13   3    0.016333    0.089404
+%  13   4    0.008133    0.068020
+%  13   5    0.019022   -0.072647
+%  13   6   -0.055726    0.000622
+%  13   7    0.003350    0.043811
+%  14   1    0.021489   -0.009066
+%  14   2    0.053137   -0.040703
+%  14   3    0.006410    0.066762
+%  14   4   -0.081065   -0.018853
+%  14   5    0.045687    0.016346
+%  14   6   -0.005536    0.036588
+%  14   7   -0.035399   -0.029316
+%  14   8    0.017087    0.058026
+%  15   1    0.026831   -0.008883
+%  15   2    0.041477   -0.078628
+%  15   3   -0.013789    0.124641
+%  15   4   -0.077712    0.009852
+%  15   5    0.070393    0.005401
+%  15   6    0.006121   -0.084168
+%  15   7   -0.014306    0.041356
+%  15   8    0.030071   -0.122946
+%  16   1   -0.014704    0.106849
+%  16   2   -0.003412   -0.081677
+%  16   3   -0.020850    0.035052
+%  16   4   -0.043099    0.089381
+%  16   5    0.086417   -0.078506
+%  16   6    0.032080    0.018536
+%  16   7   -0.032215    0.053356
+%   1   1    0.010783   -0.041133
+%   ];
+%   
+  
+% Golden du 4 septembre 2007, 56 vp dans les 2 plans, 180 mA 3/4, appliquÃÂ©e jusqu'au 22 janvier 2008
+
+% Golden = [
+%   1   2   -0.028155   -0.029061
+%   1   3    0.013719    0.043988
+%   1   4    0.019645   -0.004169
+%   1   5   -0.117808   -0.002250
+%   1   6    0.112074    0.006225
+%   1   7   -0.020643    0.148069
+%   2   1    0.005932   -0.095248
+%   2   2    0.028255   -0.010924
+%   2   3   -0.021168    0.072671
+%   2   4    0.011164   -0.008658
+%   2   5   -0.001331    0.005682
+%   2   6   -0.063211    0.029719
+%   2   7    0.060709   -0.019280
+%   2   8    0.033189   -0.135252
+%   3   1   -0.065311    0.043423
+%   3   2   -0.024153    0.112296
+%   3   3    0.018468   -0.192310
+%   3   4    0.003539   -0.032877
+%   3   5   -0.007438    0.058995
+%   3   6   -0.001470   -0.025232
+%   3   7   -0.002557    0.005895
+%   3   8    0.024512   -0.046841
+%   4   1   -0.045051    0.036698
+%   4   2    0.023707   -0.014033
+%   4   3   -0.014549   -0.003107
+%   4   4    0.028023    0.004955
+%   4   5   -0.084968   -0.001111
+%   4   6    0.071732   -0.004056
+%   4   7   -0.054668   -0.009685
+%   5   1    0.060069    0.021312
+%   5   2   -0.026446   -0.051910
+%   5   3    0.011145    0.042668
+%   5   4    0.018607    0.030743
+%   5   5    0.009025   -0.033932
+%   5   6   -0.036105    0.009650
+%   5   7   -0.011373    0.020727
+%   6   1    0.019812   -0.020617
+%   6   2    0.030137    0.015544
+%   6   3   -0.019755   -0.011176
+%   6   4   -0.016814   -0.036279
+%   6   5    0.021300    0.062798
+%   6   6   -0.033869   -0.020496
+%   6   7    0.034157    0.002436
+%   6   8   -0.024706   -0.086970
+%   7   1    0.038440    0.079022
+%   7   2   -0.051158   -0.052581
+%   7   3    0.027865    0.031471
+%   7   4   -0.001103   -0.030264
+%   7   5    0.004723    0.027390
+%   7   6   -0.076856    0.073380
+%   7   7    0.081277   -0.049523
+%   7   8   -0.019911    0.011277
+%   8   1    0.011651   -0.000452
+%   8   2    0.029399   -0.018054
+%   8   3   -0.016106    0.039556
+%   8   4   -0.025132   -0.023986
+%   8   5   -0.040122   -0.023073
+%   8   6    0.071941    0.052647
+%   8   7   -0.034137    0.034574
+%   9   1    0.029582   -0.048160
+%   9   2   -0.001715   -0.004153
+%   9   3    0.006582    0.004567
+%   9   4   -0.063604    0.031046
+%   9   5    0.017825   -0.014763
+%   9   6    0.045621   -0.013067
+%   9   7   -0.043268    0.000884
+%  10   1    0.050019    0.031825
+%  10   2    0.025095   -0.067253
+%  10   3   -0.011250    0.080787
+%  10   4   -0.088504   -0.035593
+%  10   5    0.078382    0.048776
+%  10   6    0.060877    0.027455
+%  10   7   -0.074262   -0.024883
+%  10   8   -0.015045   -0.122232
+%  11   1    0.029280    0.088527
+%  11   2    0.055201   -0.019245
+%  11   3   -0.032614   -0.023472
+%  11   4   -0.051235   -0.016294
+%  11   5    0.049522    0.009738
+%  11   6    0.023537    0.058872
+%  11   7   -0.031031   -0.037680
+%  11   8   -0.015675   -0.105767
+%  12   1    0.028207    0.114489
+%  12   2    0.008420   -0.109706
+%  12   3   -0.001843    0.097681
+%  12   4   -0.072880    0.004150
+%  12   5    0.081682   -0.045407
+%  12   6   -0.020481    0.050915
+%  12   7   -0.029941    0.003168
+%  13   1    0.042475    0.001778
+%  13   2    0.006869   -0.109370
+%  13   3   -0.011521    0.102175
+%  13   4    0.012289    0.065081
+%  13   5    0.022662   -0.059335
+%  13   6   -0.041979    0.005662
+%  13   7   -0.009720    0.033784
+%  14   1    0.015994   -0.003658
+%  14   2    0.039885   -0.039897
+%  14   3   -0.022333    0.060993
+%  14   4   -0.046682   -0.010402
+%  14   5    0.043773    0.008220
+%  14   6    0.022415    0.029266
+%  14   7   -0.028542   -0.019251
+%  14   8   -0.019982    0.066626
+%  15   1    0.033433   -0.007538
+%  15   2    0.019167   -0.089237
+%  15   3   -0.006941    0.137022
+%  15   4   -0.082210    0.005276
+%  15   5    0.077842    0.008922
+%  15   6    0.010460   -0.063753
+%  15   7   -0.024270    0.037617
+%  15   8    0.010000   -0.094053
+%  16   1   -0.016074    0.101962
+%  16   2    0.017409   -0.095570
+%  16   3   -0.003457    0.057132
+%  16   4   -0.067148    0.073524
+%  16   5    0.047710   -0.078498
+%  16   6    0.010775    0.019768
+%  16   7   -0.018920    0.032869
+%   1   1    0.023157   -0.029353
+%   ];
+% Golden du 1 septembre 2007, 56 vp dans les 2 plans
+% Golden = [
+%  1   2   -0.027858   -0.030542
+%   1   3    0.012536    0.044968
+%   1   4    0.021965    0.000777
+%   1   5   -0.116693   -0.000956
+%   1   6    0.108575    0.001924
+%   1   7   -0.019895    0.147664
+%   2   1    0.005398   -0.094941
+%   2   2    0.026499   -0.007051
+%   2   3   -0.020212    0.064585
+%   2   4    0.009811   -0.005104
+%   2   5   -0.000599   -0.000234
+%   2   6   -0.062377    0.023774
+%   2   7    0.059475   -0.014091
+%   2   8    0.029575   -0.138797
+%   3   1   -0.059724    0.048408
+%   3   2   -0.022896    0.108484
+%   3   3    0.016734   -0.189955
+%   3   4    0.006129   -0.033593
+%   3   5   -0.009674    0.056558
+%   3   6   -0.003737   -0.022345
+%   3   7   -0.000599    0.002688
+%   3   8    0.030850   -0.054699
+%   4   1   -0.056047    0.040489
+%   4   2    0.026126   -0.010909
+%   4   3   -0.015521   -0.009685
+%   4   4    0.029599    0.006901
+%   4   5   -0.083594    0.005124
+%   4   6    0.069912   -0.013660
+%   4   7   -0.054640   -0.018080
+%   5   1    0.059450    0.030188
+%   5   2   -0.025639   -0.046117
+%   5   3    0.009803    0.033378
+%   5   4    0.019496    0.025771
+%   5   5    0.009493   -0.028455
+%   5   6   -0.036233    0.005421
+%   5   7   -0.011167    0.019038
+%   6   1    0.020189   -0.022627
+%   6   2    0.021822    0.022987
+%   6   3   -0.015649   -0.020487
+%   6   4   -0.009867   -0.035787
+%   6   5    0.014022    0.063302
+%   6   6   -0.034251   -0.024991
+%   6   7    0.035588    0.004188
+%   6   8   -0.025715   -0.093793
+%   7   1    0.039350    0.080011
+%   7   2   -0.051573   -0.047105
+%   7   3    0.029089    0.022377
+%   7   4   -0.010421   -0.038260
+%   7   5    0.013739    0.040707
+%   7   6   -0.082454    0.070593
+%   7   7    0.085574   -0.050179
+%   7   8   -0.019858    0.010144
+%   8   1    0.010979   -0.000751
+%   8   2    0.024929   -0.017113
+%   8   3   -0.013282    0.039993
+%   8   4   -0.022376   -0.030314
+%   8   5   -0.043184   -0.018109
+%   8   6    0.071274    0.052574
+%   8   7   -0.029894    0.040403
+%   9   1    0.023808   -0.053312
+%   9   2   -0.005289   -0.001243
+%   9   3    0.009312    0.001261
+%   9   4   -0.062275    0.033270
+%   9   5    0.012478   -0.013254
+%   9   6    0.049760   -0.017662
+%   9   7   -0.043038   -0.002186
+%  10   1    0.049126    0.033606
+%  10   2    0.027092   -0.064088
+%  10   3   -0.012791    0.074454
+%  10   4   -0.086155   -0.035600
+%  10   5    0.076398    0.046566
+%  10   6    0.059197    0.031879
+%  10   7   -0.072315   -0.027331
+%  10   8   -0.018011   -0.122009
+%  11   1    0.034009    0.085840
+%  11   2    0.054316   -0.012872
+%  11   3   -0.033359   -0.031390
+%  11   4   -0.045219   -0.018371
+%  11   5    0.043686    0.011151
+%  11   6    0.021998    0.061303
+%  11   7   -0.029207   -0.040006
+%  11   8   -0.014762   -0.109270
+%  12   1    0.027404    0.116932
+%  12   2    0.001844   -0.110700
+%  12   3    0.002366    0.096270
+%  12   4   -0.072004    0.008529
+%  12   5    0.080153   -0.043381
+%  12   6   -0.020794    0.044043
+%  12   7   -0.028838    0.004427
+%  13   1    0.041599    0.003023
+%  13   2    0.004953   -0.111264
+%  13   3   -0.011826    0.100701
+%  13   4    0.016131    0.067533
+%  13   5    0.019653   -0.058397
+%  13   6   -0.042259   -0.000127
+%  13   7   -0.008728    0.037806
+%  14   1    0.015633   -0.009469
+%  14   2    0.034222   -0.031606
+%  14   3   -0.018602    0.053046
+%  14   4   -0.054360   -0.014683
+%  14   5    0.050846    0.016620
+%  14   6    0.023082    0.026700
+%  14   7   -0.030703   -0.019320
+%  14   8   -0.015381    0.073187
+%  15   1    0.025624   -0.013209
+%  15   2    0.020657   -0.088825
+%  15   3   -0.008477    0.139241
+%  15   4   -0.079408    0.010916
+%  15   5    0.075600    0.003128
+%  15   6    0.012343   -0.072734
+%  15   7   -0.024977    0.044762
+%  15   8    0.008240   -0.098319
+%  16   1   -0.014611    0.104539
+%  16   2    0.016501   -0.094690
+%  16   3   -0.002599    0.051623
+%  16   4   -0.065708    0.076135
+%  16   5    0.047496   -0.080684
+%  16   6    0.009583    0.017959
+%  16   7   -0.020536    0.032306
+%   1   1    0.025425   -0.028610
+%   ];
+% Golden du 3 juillet 2007
+% Golden = [
+%   1   2   -0.007594   -0.021714
+%   1   3    0.002187   -0.017964
+%   1   4    0.021211    0.047716
+%   1   5   -0.113478    0.064429
+%   1   6    0.112499    0.073170
+%   1   7   -0.020111    0.145255
+%   2   1    0.008120   -0.115766
+%   2   2    0.024954   -0.044238
+%   2   3   -0.016520    0.050018
+%   2   4    0.016876    0.116967
+%   2   5   -0.005394    0.058243
+%   2   6   -0.075553   -0.029812
+%   2   7    0.074715   -0.122298
+%   2   8    0.039947   -0.077009
+%   3   1   -0.077658    0.059490
+%   3   2    0.004989    0.111802
+%   3   3    0.002775   -0.216281
+%   3   4    0.011065   -0.032990
+%   3   5   -0.011767    0.065500
+%   3   6    0.002669   -0.084588
+%   3   7   -0.004318   -0.142722
+%   3   8    0.031123    0.001873
+%   4   1   -0.052921    0.108021
+%   4   2    0.039392   -0.025069
+%   4   3   -0.022416   -0.018715
+%   4   4    0.032308   -0.051938
+%   4   5   -0.084679   -0.058199
+%   4   6    0.070868   -0.049164
+%   4   7   -0.046716    0.037040
+%   5   1    0.056959    0.076846
+%   5   2   -0.037686   -0.101103
+%   5   3    0.019103    0.007918
+%   5   4    0.024799    0.056612
+%   5   5    0.006841    0.022291
+%   5   6   -0.034068    0.060166
+%   5   7   -0.011246    0.033728
+%   6   1    0.023896   -0.023504
+%   6   2    0.023624   -0.016600
+%   6   3   -0.017607   -0.068162
+%   6   4   -0.003732    0.072421
+%   6   5    0.013229    0.123402
+%   6   6   -0.021602   -0.013558
+%   6   7    0.031255   -0.012124
+%   6   8   -0.029779   -0.054105
+%   7   1    0.046242    0.101884
+%   7   2   -0.050508   -0.097106
+%   7   3    0.029047   -0.007003
+%   7   4   -0.018461    0.041510
+%   7   5    0.034468    0.113356
+%   7   6   -0.119989    0.084767
+%   7   7    0.129120   -0.068006
+%   7   8   -0.008859    0.012006
+%   8   1   -0.017642    0.001583
+%   8   2    0.024293   -0.025482
+%   8   3   -0.005824    0.020921
+%   8   4   -0.022549    0.011018
+%   8   5   -0.048098    0.011870
+%   8   6    0.077986    0.055401
+%   8   7   -0.033353    0.029691
+%   9   1    0.029658   -0.058526
+%   9   2   -0.002483   -0.024911
+%   9   3    0.017211    0.020764
+%   9   4   -0.072618    0.028057
+%   9   5    0.009373   -0.004307
+%   9   6    0.060295   -0.002043
+%   9   7   -0.042154    0.055012
+%  10   1    0.052610    0.078645
+%  10   2    0.024697   -0.151877
+%  10   3   -0.006689    0.006608
+%  10   4   -0.080909    0.085086
+%  10   5    0.067788    0.135524
+%  10   6    0.060652    0.139244
+%  10   7   -0.073424    0.116710
+%  10   8   -0.016015   -0.153248
+%  11   1    0.040074    0.055833
+%  11   2    0.054969   -0.060763
+%  11   3   -0.033153   -0.047759
+%  11   4   -0.035734    0.149436
+%  11   5    0.037102    0.137872
+%  11   6    0.021631    0.082188
+%  11   7   -0.023231   -0.052305
+%  11   8   -0.015020   -0.107837
+%  12   1    0.028622    0.100118
+%  12   2    0.012981   -0.105963
+%  12   3   -0.007092    0.097425
+%  12   4   -0.063902    0.031108
+%  12   5    0.077869   -0.024295
+%  12   6   -0.012544    0.064029
+%  12   7   -0.027216    0.009903
+%  13   1    0.036883    0.000296
+%  13   2   -0.023359   -0.178520
+%  13   3   -0.004168    0.050205
+%  13   4    0.081404    0.137223
+%  13   5   -0.010547    0.045264
+%  13   6   -0.064022    0.113455
+%  13   7   -0.009638    0.030705
+%  14   1    0.022829   -0.018488
+%  14   2    0.029441   -0.101603
+%  14   3   -0.020897    0.016530
+%  14   4   -0.058407    0.157072
+%  14   5    0.065698    0.105188
+%  14   6    0.022049    0.028387
+%  14   7   -0.019035   -0.104373
+%  14   8   -0.020298    0.086102
+%  15   1    0.020547    0.004138
+%  15   2    0.030194   -0.082926
+%  15   3   -0.016974    0.125642
+%  15   4   -0.065261    0.011502
+%  15   5    0.068834   -0.008313
+%  15   6    0.020477   -0.065407
+%  15   7   -0.026192    0.021900
+%  15   8    0.004562   -0.055489
+%  16   1   -0.014757    0.133870
+%  16   2    0.014734   -0.153631
+%  16   3   -0.000427   -0.003731
+%  16   4   -0.066313    0.144939
+%  16   5    0.048631    0.040035
+%  16   6    0.011340    0.106006
+%  16   7   -0.010801   -0.006162
+%   1   1    0.011340   -0.098546
+%   ];
+
+
+
+% Golden = [
+%   1   2   -0.000000   -0.000000
+%   1   3   -0.000000   -0.000000
+%   1   4    0.000000    0.000000
+%   1   5   -0.000000   -0.000000
+%   1   6   -0.000000    0.000000
+%   1   7    0.000000   -0.000000
+%   2   1    0.000000    0.000000
+%   2   2    0.000000    0.000000
+%   2   3   -0.000000   -0.000000
+%   2   4    0.000000   -0.000000
+%   2   5   -0.000000    0.000000
+%   2   6    0.000000   -0.000000
+%   2   7    0.000000   -0.000000
+%   2   8    0.000000   -0.000000
+%   3   1    0.000000    0.000000
+%   3   2   -0.000000   -0.000000
+%   3   3    0.000000    0.000000
+%   3   4   -0.000000   -0.000000
+%   3   5    0.000000   -0.000000
+%   3   6    0.000000    0.000000
+%   3   7    0.000000   -0.000000
+%   3   8    0.000000    0.000000
+%   4   1    0.000000   -0.000000
+%   4   2    0.000000   -0.000000
+%   4   3   -0.000000   -0.000000
+%   4   4    0.000000    0.000000
+%   4   5    0.000000    0.000000
+%   4   6   -0.000000    0.000000
+%   4   7   -0.000000   -0.000000
+%   5   1   -0.000000    0.000000
+%   5   2   -0.000000    0.000000
+%   5   3    0.000000    0.000000
+%   5   4    0.000000   -0.000000
+%   5   5   -0.000000   -0.000000
+%   5   6    0.000000    0.000000
+%   5   7   -0.000000   -0.000000
+%   6   1   -0.000000    0.000000
+%   6   2    0.000000   -0.000000
+%   6   3    0.000000   -0.000000
+%   6   4   -0.000000    0.000000
+%   6   5    0.000000    0.000000
+%   6   6   -0.000000   -0.000000
+%   6   7   -0.000000    0.000000
+%   6   8    0.000000    0.000000
+%   7   1   -0.000000   -0.000000
+%   7   2   -0.000000   -0.000000
+%   7   3   -0.000000    0.000000
+%   7   4    0.000000   -0.000000
+%   7   5   -0.000000   -0.000000
+%   7   6    0.000000   -0.000000
+%   7   7    0.000000    0.000000
+%   7   8    0.000000    0.000000
+%   8   1   -0.000000   -0.000000
+%   8   2   -0.000000    0.000000
+%   8   3    0.000000   -0.000000
+%   8   4    0.000000   -0.000000
+%   8   5    0.000000   -0.000000
+%   8   6    0.000000   -0.000000
+%   8   7   -0.000000   -0.000000
+%   9   1   -0.000000   -0.000000
+%   9   2   -0.000000   -0.000000
+%   9   3    0.000000    0.000000
+%   9   4   -0.000000    0.000000
+%   9   5    0.000000   -0.000000
+%   9   6    0.000000    0.000000
+%   9   7   -0.000000    0.000000
+%  10   1    0.000000   -0.000000
+%  10   2    0.000000   -0.000000
+%  10   3   -0.000000    0.000000
+%  10   4   -0.000000    0.000000
+%  10   5   -0.000000    0.000000
+%  10   6   -0.000000   -0.000000
+%  10   7    0.000000   -0.000000
+%  10   8    0.000000    0.000000
+%  11   1    0.000000   -0.000000
+%  11   2    0.000000   -0.000000
+%  11   3    0.000000    0.000000
+%  11   4   -0.000000    0.000000
+%  11   5   -0.000000   -0.000000
+%  11   6    0.000000   -0.000000
+%  11   7   -0.000000   -0.000000
+%  11   8    0.000000   -0.000000
+%  12   1   -0.000000    0.000000
+%  12   2   -0.000000    0.000000
+%  12   3    0.000000    0.000000
+%  12   4    0.000000   -0.000000
+%  12   5   -0.000000    0.000000
+%  12   6    0.000000   -0.000000
+%  12   7    0.000000    0.000000
+%  13   1   -0.000000   -0.000000
+%  13   2    0.000000   -0.000000
+%  13   3   -0.000000    0.000000
+%  13   4    0.000000    0.000000
+%  13   5   -0.000000   -0.000000
+%  13   6    0.000000   -0.000000
+%  13   7    0.000000    0.000000
+%  14   1   -0.000000    0.000000
+%  14   2    0.000000   -0.000000
+%  14   3   -0.000000   -0.000000
+%  14   4    0.000000    0.000000
+%  14   5   -0.000000    0.000000
+%  14   6   -0.000000    0.000000
+%  14   7   -0.000000   -0.000000
+%  14   8    0.000000    0.000000
+%  15   1   -0.000000    0.000000
+%  15   2    0.000000    0.000000
+%  15   3   -0.000000   -0.000000
+%  15   4   -0.000000    0.000000
+%  15   5   -0.000000   -0.000000
+%  15   6    0.000000   -0.000000
+%  15   7    0.000000    0.000000
+%  15   8   -0.000000   -0.000000
+%  16   1   -0.000000   -0.000000
+%  16   2    0.000000    0.000000
+%  16   3   -0.000000   -0.000000
+%  16   4    0.000000    0.000000
+%  16   5   -0.000000   -0.000000
+%  16   6   -0.000000    0.000000
+%  16   7    0.000000   -0.000000
+%   1   1   -0.000000    0.000000
+% ];
+
+%  Golden = [
+%   1   2   -0.016109   -0.029329
+%   1   3   -0.004005    0.007886
+%   1   4    0.072212    0.062367
+%   1   5   -0.024518    0.055139
+%   1   6   -0.064471    0.013784
+%   1   7    0.013930    0.135550
+%   2   1   -0.011554   -0.070312
+%   2   2   -0.050394   -0.078194
+%   2   3    0.032176    0.082341
+%   2   4   -0.029317    0.117253
+%   2   5    0.015890   -0.007759
+%   2   6    0.016312    0.063036
+%   2   7   -0.032808   -0.177137
+%   2   8    0.039461   -0.045681
+%   3   1   -0.062566   -0.018802
+%   3   2   -0.006602    0.184429
+%   3   3    0.018723   -0.176785
+%   3   4   -0.116008   -0.105529
+%   3   5    0.097402   -0.028190
+%   3   6    0.045757   -0.097066
+%   3   7   -0.066598   -0.175309
+%   3   8   -0.007365    0.036844
+%   4   1    0.019824    0.142689
+%   4   2   -0.000176   -0.068519
+%   4   3   -0.006800   -0.041942
+%   4   4   -0.034004   -0.022842
+%   4   5    0.037034    0.059478
+%   4   6   -0.014433   -0.166529
+%   4   7   -0.061407    0.017149
+%   5   1    0.080897    0.076740
+%   5   2   -0.012038    0.040356
+%   5   3   -0.013179   -0.002226
+%   5   4    0.069290   -0.111001
+%   5   5    0.038943    0.008662
+%   5   6   -0.129630    0.011481
+%   5   7   -0.000920    0.036813
+%   6   1    0.016272   -0.052574
+%   6   2    0.031234    0.061241
+%   6   3   -0.009122   -0.018313
+%   6   4   -0.159022    0.006281
+%   6   5    0.139226   -0.058757
+%   6   6    0.100120   -0.090672
+%   6   7   -0.129504   -0.062824
+%   6   8    0.006805   -0.001487
+%   7   1    0.006808    0.106658
+%   7   2   -0.029256   -0.086426
+%   7   3    0.005422    0.016194
+%   7   4    0.055600    0.003513
+%   7   5   -0.042632   -0.001866
+%   7   6   -0.126872    0.026082
+%   7   7    0.140233   -0.081977
+%   7   8   -0.019330    0.079127
+%   8   1   -0.012088   -0.008979
+%   8   2    0.053612   -0.018187
+%   8   3   -0.014107    0.028316
+%   8   4   -0.157538   -0.013089
+%   8   5   -0.046621   -0.070002
+%   8   6    0.207227    0.065337
+%   8   7   -0.054266    0.021793
+%   9   1    0.017264   -0.015635
+%   9   2    0.030052   -0.042293
+%   9   3   -0.025084    0.007168
+%   9   4   -0.020432    0.075486
+%   9   5    0.110440   -0.049762
+%   9   6   -0.116610   -0.012532
+%   9   7   -0.011486    0.106592
+%  10   1    0.024628    0.050707
+%  10   2    0.021953   -0.143527
+%  10   3   -0.013703   -0.001596
+%  10   4   -0.049724    0.108386
+%  10   5    0.030980    0.098887
+%  10   6    0.108697    0.146079
+%  10   7   -0.121358    0.133295
+%  10   8   -0.033342   -0.219970
+%  11   1    0.062153    0.036616
+%  11   2    0.078471    0.011798
+%  11   3   -0.032535   -0.064236
+%  11   4   -0.225522    0.118926
+%  11   5    0.211643    0.060435
+%  11   6    0.046324    0.023765
+%  11   7   -0.084590   -0.050827
+%  11   8    0.003712   -0.108471
+%  12   1    0.002993    0.105625
+%  12   2    0.004842   -0.084366
+%  12   3   -0.001208    0.108071
+%  12   4   -0.083760   -0.032507
+%  12   5    0.084936   -0.059238
+%  12   6   -0.024508    0.018948
+%  12   7   -0.029985    0.033101
+%  13   1    0.043133    0.026918
+%  13   2   -0.034035   -0.122866
+%  13   3    0.000740    0.025621
+%  13   4    0.095937    0.106642
+%  13   5    0.045263    0.013359
+%  13   6   -0.171956    0.045738
+%  13   7    0.031641    0.052087
+%  14   1   -0.027082   -0.000829
+%  14   2    0.021254   -0.099073
+%  14   3   -0.019560    0.017342
+%  14   4   -0.004520    0.162526
+%  14   5    0.005853    0.059292
+%  14   6    0.008179   -0.047524
+%  14   7   -0.001401   -0.102715
+%  14   8   -0.055800    0.098121
+%  15   1    0.074795    0.023368
+%  15   2    0.038731   -0.095221
+%  15   3   -0.026061    0.115497
+%  15   4   -0.088833   -0.011771
+%  15   5    0.084328    0.015239
+%  15   6    0.037638   -0.097017
+%  15   7   -0.055234   -0.009165
+%  15   8    0.021390   -0.027726
+%  16   1   -0.036755    0.149702
+%  16   2   -0.002163   -0.181339
+%  16   3    0.014132    0.013743
+%  16   4   -0.133713    0.140012
+%  16   5    0.094131    0.004707
+%  16   6    0.016469    0.147084
+%  16   7   -0.008833   -0.018775
+%   1   1    0.001073   -0.109009
+% Golden du 27 mars 2007 100 mA
+
+% Golden = [
+%   1   2   -0.005797   -0.017312
+%   1   3    0.000919   -0.015076
+%   1   4    0.016414    0.026510
+%   1   5   -0.121497    0.059608
+%   1   6    0.119201    0.067078
+%   1   7   -0.010365    0.157920
+%   2   1   -0.013197   -0.098301
+%   2   2    0.027261   -0.062963
+%   2   3   -0.015684    0.035225
+%   2   4    0.012233    0.143302
+%   2   5   -0.009376    0.059353
+%   2   6   -0.071856    0.011451
+%   2   7    0.063409   -0.081142
+%   2   8    0.034665   -0.063435
+%   3   1   -0.066037    0.002726
+%   3   2   -0.000859    0.136815
+%   3   3    0.005278   -0.203492
+%   3   4    0.012004   -0.012404
+%   3   5   -0.019908    0.055614
+%   3   6   -0.002221   -0.089575
+%   3   7   -0.001831   -0.125075
+%   3   8    0.002154    0.032087
+%   4   1   -0.003133    0.071877
+%   4   2    0.014281   -0.002156
+%   4   3   -0.008564   -0.015328
+%   4   4   -0.006155   -0.087721
+%   4   5   -0.072595   -0.035561
+%   4   6    0.089426   -0.031385
+%   4   7   -0.051357    0.030795
+%   5   1    0.052918    0.072909
+%   5   2   -0.030896   -0.097133
+%   5   3    0.008768    0.026373
+%   5   4    0.033223    0.053668
+%   5   5   -0.007694    0.023427
+%   5   6   -0.029986    0.035607
+%   5   7   -0.002398    0.014364
+%   6   1    0.005333   -0.030141
+%   6   2    0.019401    0.023267
+%   6   3   -0.013229   -0.071641
+%   6   4   -0.038290    0.057127
+%   6   5    0.044439    0.032870
+%   6   6   -0.033921   -0.006965
+%   6   7    0.034656    0.009146
+%   6   8   -0.020039   -0.026317
+%   7   1    0.021750    0.100296
+%   7   2   -0.044471   -0.118606
+%   7   3    0.023370   -0.006066
+%   7   4   -0.010557    0.077161
+%   7   5    0.023680    0.111695
+%   7   6   -0.116233    0.089491
+%   7   7    0.124305   -0.080779
+%   7   8   -0.015208    0.036310
+%   8   1   -0.010741   -0.009796
+%   8   2    0.020530   -0.024978
+%   8   3   -0.008444    0.043667
+%   8   4   -0.025326   -0.012376
+%   8   5   -0.035473    0.007320
+%   8   6    0.065758    0.055126
+%   8   7   -0.036453    0.023429
+%   9   1    0.029467   -0.053588
+%   9   2    0.001633   -0.006234
+%   9   3    0.005615    0.007891
+%   9   4   -0.062090   -0.002766
+%   9   5    0.001910    0.010628
+%   9   6    0.058936    0.007838
+%   9   7   -0.042798    0.072547
+%  10   1    0.045262    0.073408
+%  10   2    0.028056   -0.154367
+%  10   3   -0.012088   -0.011784
+%  10   4   -0.073822    0.088175
+%  10   5    0.057591    0.178638
+%  10   6    0.064805    0.124674
+%  10   7   -0.081578    0.138036
+%  10   8   -0.024542   -0.172935
+%  11   1    0.046510    0.017614
+%  11   2    0.062073    0.000009
+%  11   3   -0.037480   -0.060397
+%  11   4   -0.041096    0.146472
+%  11   5    0.032956    0.081438
+%  11   6    0.018984    0.048677
+%  11   7   -0.033127   -0.079176
+%  11   8   -0.010214   -0.112762
+%  12   1    0.024785    0.113373
+%  12   2   -0.004146   -0.072407
+%  12   3    0.005921    0.070591
+%  12   4   -0.068544   -0.015913
+%  12   5    0.069606   -0.052789
+%  12   6   -0.014413    0.044067
+%  12   7   -0.033711    0.029776
+%  13   1    0.049872    0.020370
+%  13   2   -0.026395   -0.149377
+%  13   3    0.003372    0.039093
+%  13   4    0.062395    0.114775
+%  13   5   -0.023654    0.034983
+%  13   6   -0.046041    0.074071
+%  13   7    0.015033    0.025198
+%  14   1   -0.017785    0.007114
+%  14   2    0.014314   -0.103821
+%  14   3   -0.007818    0.005819
+%  14   4   -0.046975    0.152992
+%  14   5    0.040307    0.106990
+%  14   6    0.024887    0.000457
+%  14   7   -0.030497   -0.099698
+%  14   8   -0.015308    0.088554
+%  15   1    0.022300    0.006944
+%  15   2    0.023296   -0.082432
+%  15   3   -0.012034    0.129612
+%  15   4   -0.076630    0.008548
+%  15   5    0.074119   -0.030656
+%  15   6    0.014081   -0.082962
+%  15   7   -0.026948    0.012078
+%  15   8    0.013663   -0.070121
+%  16   1   -0.026518    0.147481
+%  16   2    0.002385   -0.127930
+%  16   3    0.006044   -0.040092
+%  16   4   -0.066371    0.131605
+%  16   5    0.044381    0.027604
+%  16   6    0.013263    0.111982
+%  16   7   -0.018533   -0.015504
+%   1   1    0.014970   -0.090054
+%  ];
+
+% Golden ci dessous orbite su 23 avril 2007
+% Golden = [
+%   1   2   -0.006983   -0.027905
+%   1   3   -0.003142   -0.015461
+%   1   4    0.016421    0.040723
+%   1   5   -0.114860    0.070363
+%   1   6    0.114470    0.077863
+%   1   7   -0.017136    0.142959
+%   2   1   -0.002380   -0.119856
+%   2   2    0.020268   -0.037834
+%   2   3   -0.016944    0.036558
+%   2   4    0.004818    0.125072
+%   2   5    0.003800    0.055701
+%   2   6   -0.067714   -0.020920
+%   2   7    0.064931   -0.124026
+%   2   8    0.030373   -0.049196
+%   3   1   -0.067756    0.042688
+%   3   2    0.005212    0.106980
+%   3   3   -0.000994   -0.206161
+%   3   4    0.008764   -0.040780
+%   3   5   -0.012362    0.065270
+%   3   6    0.008649   -0.071649
+%   3   7   -0.010105   -0.116539
+%   3   8    0.004831    0.033727
+%   4   1   -0.012951    0.069927
+%   4   2    0.018719   -0.016921
+%   4   3   -0.013218   -0.023794
+%   4   4    0.025955   -0.031911
+%   4   5   -0.087577   -0.055929
+%   4   6    0.073246   -0.043108
+%   4   7   -0.051022    0.013304
+%   5   1    0.054389    0.066226
+%   5   2   -0.030216   -0.082380
+%   5   3    0.014207    0.015782
+%   5   4    0.018652    0.040588
+%   5   5    0.007467    0.018579
+%   5   6   -0.035390    0.023740
+%   5   7   -0.011514    0.007948
+%   6   1    0.021412   -0.013609
+%   6   2    0.019742    0.016051
+%   6   3   -0.014610   -0.070518
+%   6   4   -0.012430    0.038418
+%   6   5    0.011704    0.077612
+%   6   6   -0.021676   -0.055172
+%   6   7    0.019028   -0.064592
+%   6   8   -0.017033   -0.085768
+%   7   1    0.027233    0.110291
+%   7   2   -0.044686   -0.035923
+%   7   3    0.025766   -0.035378
+%   7   4   -0.018853   -0.022782
+%   7   5    0.026612    0.040724
+%   7   6   -0.119231    0.069974
+%   7   7    0.122805   -0.064904
+%   7   8   -0.016395    0.040026
+%   8   1   -0.002400   -0.010129
+%   8   2    0.022870   -0.036095
+%   8   3   -0.014112    0.035739
+%   8   4   -0.020547    0.006218
+%   8   5   -0.043064    0.018189
+%   8   6    0.071954    0.071437
+%   8   7   -0.034260    0.040567
+%   9   1    0.028537   -0.064069
+%   9   2   -0.010896   -0.014936
+%   9   3    0.012216   -0.004277
+%   9   4   -0.068464    0.027311
+%   9   5    0.009988    0.010894
+%   9   6    0.063530    0.017090
+%   9   7   -0.053769    0.063549
+%  10   1    0.062576    0.054632
+%  10   2    0.017741   -0.146863
+%  10   3   -0.010410   -0.007074
+%  10   4   -0.074049    0.078694
+%  10   5    0.064659    0.188452
+%  10   6    0.069572    0.152665
+%  10   7   -0.079175    0.118005
+%  10   8   -0.029903   -0.160250
+%  11   1    0.050193    0.037427
+%  11   2    0.055632   -0.042655
+%  11   3   -0.035655   -0.054405
+%  11   4   -0.036151    0.149242
+%  11   5    0.035143    0.116151
+%  11   6    0.028927    0.086803
+%  11   7   -0.035726   -0.064940
+%  11   8   -0.011351   -0.092493
+%  12   1    0.021298    0.086223
+%  12   2    0.018891   -0.081681
+%  12   3   -0.006108    0.093825
+%  12   4   -0.073790   -0.017286
+%  12   5    0.077053   -0.049686
+%  12   6   -0.015203    0.047587
+%  12   7   -0.030149    0.022547
+%  13   1    0.046047    0.008691
+%  13   2   -0.022754   -0.168597
+%  13   3    0.003678    0.050055
+%  13   4    0.056820    0.126502
+%  13   5   -0.025694    0.041400
+%  13   6   -0.039813    0.096348
+%  13   7    0.014860    0.042901
+%  14   1   -0.018464   -0.017584
+%  14   2    0.025080   -0.093626
+%  14   3   -0.012440    0.002405
+%  14   4   -0.057945    0.140560
+%  14   5    0.051345    0.101783
+%  14   6    0.024152    0.011598
+%  14   7   -0.033475   -0.116291
+%  14   8   -0.001281    0.101211
+%  15   1   -0.002106    0.013078
+%  15   2    0.019324   -0.106988
+%  15   3   -0.007300    0.136143
+%  15   4   -0.070168    0.021354
+%  15   5    0.067422   -0.004631
+%  15   6    0.013393   -0.080552
+%  15   7   -0.025907    0.012427
+%  15   8    0.006644   -0.071089
+%  16   1   -0.015333    0.132740
+%  16   2    0.007727   -0.131224
+%  16   3    0.002030   -0.023141
+%  16   4   -0.067771    0.132597
+%  16   5    0.044049    0.024878
+%  16   6    0.014250    0.105506
+%  16   7   -0.017992   -0.006555
+%   1   1    0.017883   -0.087854
+%   ];
+
+
+setfamilydata(Golden(:,3),'BPMx','Golden',Golden(:,1:2));
+setfamilydata(Golden(:,4),'BPMz','Golden',Golden(:,1:2));
+end
+
+%% LOCAL FUNCTIONS
+function local_tango_kill_allgroup(AO)
+% kill all group if exist
+FamilyList = getfamilylist('Cell');
+for k=1:length(FamilyList)
+    if isfield(AO.(FamilyList{k}), 'GroupId'),
+        tango_group_kill(AO.(FamilyList{k}).GroupId);
+    end
+end
+end
+
+function setfamilydata_local(Family)
+% set all data in one command
+
+if ismemberof(Family,'QUAD') || ismemberof(Family,'SEXT') || ...
+         ismemberof(Family,'BEND')
+    setfamilydata(1,Family,'Gain');
+    setfamilydata(0,Family,'Offset');
+    setfamilydata(0,Family,'Coupling');
+end
+
+if ismemberof(Family,'BPM')
+    setfamilydata(0.001,Family,'Sigma');
+    setfamilydata(0.0,Family,'Golden');   
+    %setfamilydata(measdisp(Family,'struct','model'),Family,'Dispersion'); % needed for orbit correction w/ RF
+end
+
+% Order fields for all families
+AO = getao;
+Familylist = getfamilylist;
+for k = 1:length(Familylist),
+    FamilyName = deblank(Familylist(k,:));
+    AO.(FamilyName) = orderfields(AO.(FamilyName));
+    FieldNamelist = fieldnames(AO.(FamilyName));
+    for k1 = 1:length(FieldNamelist);
+        FieldName = FieldNamelist{k1};
+        if isstruct((AO.(FamilyName).(FieldName)))
+            AO.(FamilyName).(FieldName) = orderfields(AO.(FamilyName).(FieldName));
+        end
+    end
+end
+setao(AO)
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/solorbit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/solorbit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/solorbit.m	(revision 17)
@@ -0,0 +1,210 @@
+% GUI for orbit correction
+%
+%=============================================================
+% Instruction sequence to launch orbit program for SOLEIL
+% Laurent S. Nadolski 
+% Adaptation from William J. Corbett SPEAR3 application
+%=============================================================
+%
+% TODO Amman's Factor not take off of the R-matrix: to do in the future
+%
+% See Also orbgui, bpmgui, corgui, respgui, SortBPMs, soleilrestore, sortcors, restoreorbit
+
+disp('   Initializing orbit control panel...');
+
+%Check to see AcceleratorObjects loaded
+global THERING
+if isempty(getao) || ~exist('THERING','var')
+    disp('Warning: Load Accelerator Model and AcceleratorObjects first');
+    return
+end
+
+%Software operates in HW units
+switch2hw;
+
+%change directory to SOLEIL
+vpath = getfamilydata('Directory','Orbit');
+cd(vpath);
+
+%Clear global structures
+clear global SYS BPM COR RSP
+setappdata(0,'SYS',[]);
+setappdata(0,'BPM',[]);
+setappdata(0,'COR',[]);
+setappdata(0,'RSP',[]);
+
+%Declare global structures
+global SYS BPM COR RSP %... in the command window workspace for timer
+
+%Clear previous ORBIT figure
+orbfig = findobj(0,'tag','orbfig');  %orbfig "global"
+if ~isempty(orbfig), delete(orbfig); end
+
+%Initialize Structures for Orbit Program (no control parameters)
+BPM = BPMInit_Orb;
+COR = CORInit_Orb;
+
+%SYS parameters are required for initialization
+SYS.machine    = 'SOLEIL';
+SYS.restorefile= 'soleilrestore';
+SYS.localdata  = [vpath 'localdata/'];
+SYS.reffile    = 'silver.dat';
+SYS.bpmode     = 'slowacquisition'; 
+SYS.plane      = 1;          % H-plane
+SYS.cortype    = COR(SYS.plane).AOFamily; % consistent with SYS.plane=1
+SYS.relative   = 1;          % Absolute mode
+SYS.current    = getdcct;        % Amperes
+SYS.energy     = getenergy;  % In GeV
+SYS.lifetime   = 15;         % Lifetime in hours 
+SYS.units      ='HW';        %default to hardware units
+
+%Draw main figure
+orbgui('OrbFig');               %Figure with tag 'orbfig'
+% SYS.ahbpm = orbgui('Axes_1');   % Create handles for  Axes for BPM
+% setappdata(0,'SYS',SYS);
+orbgui('BPMAxes');              %establish upper axes for BPMs, use ah_1 for BPMs
+orbgui('CorAxes');              %COR axes with tag 'SYS.ahbpm'
+orbgui('SVDAxes');              %SVD axes with tag 'SYS.ahbpm'
+orbgui('BPMbox');               %BPM information display box
+orbgui('CorBox');               %COR information display box
+orbgui('SVDBox');               %SVD information display box
+orbgui('LstBox');               %List Box to display program information
+orbgui('PlotMenu');             %Menu for plot options
+orbgui('BPMMenu');              %Menu for BPM options
+orbgui('CORMenu');              %Menu for COR options
+orbgui('RespMenu');             %Menu for Response Matrix options
+orbgui('EtaMenu');              %Dispersion control panel
+orbgui('OptMenu');              %Menu for Optics options
+orbgui('SimMenu');              %Menu for Simulation options
+orbgui('SuperperiodMenu');      %Menu for Response Matrix options
+orbgui('SYSMenu');              %Menu for System options
+orbgui('UIControls');           %UIControls
+%orbgui('AlgorithmMenu');       %Algo choice
+%orbgui('BumpSlider');          %Bump height adjustment
+orbgui('MachineParameters');    %Text fields for system parameters, load initial values
+
+
+% init maximum x-scale
+SYS.xlimax = getcircumference;
+setappdata(0,'SYS',SYS);
+  
+orbgui('LoadRaw2Real'); %Load Raw2Real coefficients from physdata
+orbgui('LatticeAxes');  %Used to zoom abscissa
+orbgui('plotxaxis','allmachine');   %set default xaxis 
+
+%Read reference orbit (to load iref; .abs and .des=.ref in routine)
+BPM = RefOrb2Zero(BPM);
+
+%Restore user parameters, load response matrices, golden orbit
+[SYS BPM COR RSP] = restoreorbit(vpath,SYS.restorefile,'auto',SYS,BPM,COR,RSP);  %no graphics commands
+
+%% Determine the mode used in the workspace
+switch getmode(COR(1).AOFamily);
+    case 'Online'
+        SYS.mode   = 'Online';
+        set(SYS.online, 'Checked', 'On');
+        set(SYS.orbfig,'Name', ...
+            'SOLEIL Storage Ring Orbit Correction Interface (Online)');
+        set(SYS.modecolor,'BackGroundColor','r','String','Online');       
+    otherwise % Assume simulator mode
+        SYS.mode   = 'Simulator';
+        set(SYS.sim, 'Checked', 'On');
+        set(SYS.orbfig,'Name', ...
+            'SOLEIL Storage Ring Orbit Correction Interface (Simulator)');
+        set(SYS.modecolor,'BackGroundColor','g','String','Simulator');
+end
+
+%% Get phase advanced for machine state
+optics     = gettwiss(THERING,0.0);
+BPM(1).phi = optics.phix(BPM(1).ATindex);
+BPM(2).phi = optics.phix(BPM(2).ATindex);
+COR(1).phi = optics.phix(COR(1).ATindex);
+COR(2).phi = optics.phix(COR(2).ATindex);
+clear optics;
+%NOTE: expect response matrix in hardware units (mm/amp)
+
+%%begin hardware checkouts
+%% BPM checking
+
+disp('   Checking BPMs...');
+[BPM(1).status BPM(2).status] = soleilbpmcheck; %get status from TANGO or sim
+BPM(1).avail = BPM(1).status;    %if status o.k. default to available
+BPM(2).avail = BPM(2).status;
+BPM = SortBPMs(BPM,RSP);         %sort for avail, ifit
+
+% Measure actual orbit
+bpmgui('GetAct');   % mm for hardware, meters for physics
+
+%% Corrector checking
+disp('   Checking corrector magnets...');
+[COR(1).status COR(2).status] = soleilcorcheck;
+COR(1).avail = COR(1).status;     %if status o.k. default to available
+COR(2).avail = COR(2).status;
+COR          = sortcors(COR,RSP); %Get COR status, sort for avail, ifit
+
+%Measure actual correctors
+corgui('GetAct');              %amps for hardware, rad for physics
+COR(1).ref = COR(1).act;
+COR(2).ref = COR(2).act;
+
+%Updates data in workspace
+BPM = orderfields(BPM);
+COR = orderfields(COR);
+setappdata(0,'BPM',BPM);
+setappdata(0,'COR',COR);
+
+%% Plot initial BPM data
+disp('   Initializing Plots...');
+bpmgui('PlotRef_Init');                %...solid red/loaded in BPMInit
+bpmgui('PlotIcons_Init');              %...hot circles
+bpmgui('PlotDes_Init');                %...dashed red line
+bpmgui('PlotAct_Init');                %...initialize blue actual orbit plot
+bpmgui('PlotFit_Init');                %...initialize orbit fit plot
+bpmgui('PlotResp_Init');               %...initialize response matrix plot
+bpmgui('PlotEig_Init');                %...initialize eigenvector plot
+bpmgui('PlotRef');                     %...solid red/loaded in BPMInit
+bpmgui('PlotBPMs');                    %...hot circles/loaded in BPMInit
+bpmgui('PlotAct');                     %...blue line/loaded in BPMInit
+
+%Plot initial cor data
+corgui('PlotCor_Init');                %...initialize corrector patches
+
+%Plot initial SVD data
+respgui('PlotSVD_Init');               %...initialize bpm and corrector eigenvector plots
+
+%Set up program parameters: both planes
+SYS = orderfields(SYS);
+disp('   Setting up program parameters...');
+SYS.plane = 1;                           %start with horizontal plane
+for ip = 1:2
+    orbgui('Plane');                   %switch to vertical
+    corgui('SaveCors',ip);            %saves one plane only, all correctors
+    COR(ip).rst = COR(ip).act;         %default reset field for 'REMOVE' button
+    setappdata(0,'COR',COR);
+end
+
+for ip = 2:-1:1
+    SYS.plane=ip;
+    setappdata(0,'SYS',SYS);
+    corgui('HidePlots');
+end
+corgui('ShowPlots');
+%orbgui('RefreshOrbGUI');
+readwrite('ReadBPMReference','XZ','Golden');  %load golden orbit, calls RefreshOrbGUI
+
+orbgui('InitialSaveSet');              %load data for restore
+orbgui('LBox',' Finished loading Restore File');
+
+% Orbit in micron {default}
+orbgui('BPMChangeUnits','1000xHardware');
+% Corrector in Harware units {default}
+orbgui('CORChangeUnits','Hardware');
+
+%make figure visible
+set(orbfig,'Visible','On');  drawnow;
+% pause(1.0); set(orbfig,'Visible','On');  drawnow;   %why repeat??
+disp('   Finished initializing orbit program');
+set(findobj(0,'Tag','orbfig'),'Visible','On');
+
+%% Cleaning up
+clear ip vpath AO orbfig;
Index: /trunk/machine/SOLEIL/StorageRing/srinit.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/srinit.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/srinit.m	(revision 17)
@@ -0,0 +1,4 @@
+function srinit(varargin)
+%SRINIT - Just an alias to hwinit
+
+hwinit(varargin{:});
Index: /trunk/machine/SOLEIL/StorageRing/srsetup.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/srsetup.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/srsetup.m	(revision 17)
@@ -0,0 +1,179 @@
+function srsetup
+%SRSETUP - GUI for doing storage ring setup
+% GUI for doing storage ring setup
+%
+% Written by Laurent S. Nadolski
+
+checkforao;
+createInterface
+
+function gui = createInterface
+% Create the user interface for the applicdata.ATion and return a
+% structure of handles for global use.
+
+orbfig = findobj(allchild(0),'Name','Expert Menu Control Room');
+
+% if already open, then close it
+if ~isempty(orbfig)
+    close(orbfig); % IHM already exists
+end
+
+gui = struct();
+% Open a window and add some menus
+gui.Window = figure( ...
+    'Name', 'Expert Menu Control Room', ...
+    'NumberTitle', 'off', ...
+    'MenuBar', 'none', ...
+    'Toolbar', 'none', ...
+    'HandleVisibility', 'off' );
+
+% Set default panel color
+uiextras.set(gui.Window, 'DefaultBoxPanelTitleColor', [0.7 1.0 0.7] );
+
+PanelLayout = uiextras.TabPanel( 'Parent', gui.Window);
+
+% Arrange the main interface
+% + MML based functions
+mmlLayout = uiextras.HBox( 'Parent', PanelLayout, 'Spacing', 3);
+% + Genuine AT functions
+ATLayout  = uiextras.HBox( 'Parent', PanelLayout, 'Spacing', 3);
+% + Tests functions
+TestLayout  = uiextras.HBox( 'Parent', PanelLayout, 'Spacing', 3);
+
+set(PanelLayout,'TabNames', {'SDC', 'Model', 'Test functions'}, 'SelectedChild', 1);
+% + Make bigger Tabs
+set(PanelLayout,'TabSize', 100)
+% Colors tab and top bar
+set(PanelLayout,'BackgroundColor', [ 0.7 0.7 1])
+
+% + Create the panels
+
+mmlColumn(1) = uiextras.BoxPanel( ...
+    'Parent', mmlLayout, ...
+    'Title', 'Select options:' );
+mmlColumn(2) = uiextras.BoxPanel( ...
+    'Parent', mmlLayout, ...
+    'Title', 'BPM/orbit functions:' );
+mmlColumn(3) = uiextras.BoxPanel( ...
+    'Parent', mmlLayout, ...
+    'Title', 'Select options:' );
+mmlColumn(4) = uiextras.BoxPanel( ...
+    'Parent', mmlLayout, ...
+    'Title', 'Select options:' );
+
+% + Adjust the main layout
+%set( mmlLayout, 'Sizes', ones(1,4)*-1);
+
+% + Create Layout for First mmlColumn
+mmlColumnLayout{1} = uiextras.VBox( 'Parent', mmlColumn(1), ...
+    'Padding', 3, 'Spacing', 3 );
+uicontrol('Parent',mmlColumnLayout{1}, 'Callback','setpathsoleil(''StorageRing'');', 'String','Soleilinit','BackgroundColor','g');
+uicontrol('Parent',mmlColumnLayout{1}, 'Callback','refreshthering', 'String','Recharger la maille');
+%uicontrol('Parent',mmlColumnLayout{1}, 'Callback','plotfamily', 'String','Plotfamily');
+%uicontrol('Parent',mmlColumnLayout{1}, 'Callback','disp([''   Fichiers de Consignes;'']); configgui;;', 'String','Fichiers de Consignes');
+%uicontrol('Parent',mmlColumnLayout{1}, 'Callback','disp([''   Ringcycling;'']);Ringcycling', 'String','Cyclage');
+%uicontrol('Parent',mmlColumnLayout{1}, 'Callback','disp([''   Timing;'']); synchro_injecteur7_rafale;', 'String','Synchronisation');
+uicontrol('Parent',mmlColumnLayout{1}, 'Callback','steerette', 'String','Steerette', 'BackgroundColor','y');
+uicontrol('Parent',mmlColumnLayout{1}, 'Callback','energytunette', 'String', 'Energytunette', 'BackgroundColor','y');
+uicontrol('Parent',mmlColumnLayout{1}, 'Callback','fourturnalgorithm', 'String', 'Nombres d''onde Algo 4 tours');
+uicontrol('Parent',mmlColumnLayout{1}, 'Callback','kicker_scaling', 'String', 'kicker scaling', 'BackgroundColor','c');
+uicontrol('Parent',mmlColumnLayout{1}, 'Callback','getnus', 'String', 'Synchrotron tune');
+
+% + Create Layout for Second mmlColumn
+%%-------------------------------------------------------
+mmlColumnLayout{2} = uiextras.VBox( 'Parent', mmlColumn(2), ...
+    'Padding', 3, 'Spacing', 3 );
+%%-------------------------------------------------------
+uicontrol('Parent',mmlColumnLayout{2}, 'Callback','figure;plotorbit;', 'String','Plotorbit');
+uicontrol('Parent',mmlColumnLayout{2},  'Callback','solorbit', 'String','solorbit');
+uicontrol('Parent',mmlColumnLayout{2},  'Callback','figure; disp([''   setorbit;'']); setorbit(''Display'');', 'String','Correction d''orbite');
+uicontrol('Parent',mmlColumnLayout{2},  'Callback','figure; disp([''   setorbitbumpgui;'']); setorbitbumpgui;', 'String','Bump d''orbite (IHM)');
+%uicontrol('Parent',mmlColumnLayout{2},  'Callback','disp([''   measbpmresp;'']); measbpmresp;', 'String','Generate BPM Response Matrix');
+%uicontrol('Parent',mmlColumnLayout{2},  'Callback','figure; disp([''   rmdisp;'']); rmdisp(''BPMx'',''Display'');', 'String','Find New RF Frequency (LS Fit)');
+%uicontrol('Parent',mmlColumnLayout{2},  'Callback','figure; disp([''   findrf;'']); findrf;', 'String','Find New RF Frequency (Dot Product)');
+%uicontrol('Parent',mmlColumnLayout{2},  'Callback','disp([''   gettune;'']); gettune(''Display'');', 'String','Get Tunes');
+%uicontrol('Parent',mmlColumnLayout{2},  'Callback','disp([''   settune;'']); settune;', 'String','Set Tunes');
+uicontrol('Parent',mmlColumnLayout{2},  'Callback','getbpmsum;', 'String','Signal Somme (1er tour)', 'BackgroundColor','c');
+uicontrol('Parent',mmlColumnLayout{2},  'Callback','nombre_onde_ans;', 'String','FFT Tour par Tour');
+uicontrol('Parent',mmlColumnLayout{2},  'Callback','bpmconfigurator;', 'String','Configuration BPM', 'BackgroundColor','r');
+uicontrol('Parent',mmlColumnLayout{2}, 'Callback','getbpmagcgain', 'String','BPM gain AGC');
+
+%%-------------------------------------------------------
+mmlColumnLayout{3} = uiextras.VBox( 'Parent', mmlColumn(3), ...
+    'Padding', 3, 'Spacing', 3 );
+%%-------------------------------------------------------
+uicontrol('Parent',mmlColumnLayout{3}, 'Callback','tango_staticdb_config', 'String','DBT config','BackgroundColor','r');
+uicontrol('Parent',mmlColumnLayout{3}, 'Callback','tango_archiving_config', 'String','Archivage');
+uicontrol('Parent',mmlColumnLayout{3}, 'Callback','disp([''   meastuneresp;'']); meastuneresp;', 'String','Generate Tune Response Matrix');
+%uicontrol('Parent',mmlColumnLayout{3}, 'Callback','figure; disp([''   measdisp;'']); measdisp;', 'String','Measure Dispersion');
+%uicontrol('Parent',mmlColumnLayout{3}, 'Callback','figure; disp([''   measchro;'']); measchro(''Physics'');', 'String','Measure The Chromaticity');
+%uicontrol('Parent',mmlColumnLayout{3}, 'Callback','disp([''   stepchro;'']); stepchro(''Physics'');', 'String','Step The Chromaticity');
+%uicontrol('Parent',mmlColumnLayout{3}, 'Callback','figure; disp([''   measchroresp;'']); measchroresp;', 'String','Generate Chromaticity Response Matrix');
+uicontrol('Parent',mmlColumnLayout{3}, 'Callback','disp([''   getmachineconfig;'']); getmachineconfig(''Archive'');', 'String','Save Lattice');
+uicontrol('Parent',mmlColumnLayout{3}, 'Callback','disp([''   setmachineconfig;'']); setmachineconfig;', 'String','Load Lattice');
+
+%%-------------------------------------------------------
+mmlColumnLayout{4} = uiextras.VBox( 'Parent', mmlColumn(4), ...
+    'Padding', 3, 'Spacing', 3 );
+%%-------------------------------------------------------
+%uicontrol('Parent',mmlColumnLayout{4}, 'Callback','couplage_2012', 'String','Couplage 2012 (MAT)','BackgroundColor','c');
+uicontrol('Parent',mmlColumnLayout{4}, 'Callback','geophonegui', 'String','Geophones','BackgroundColor','c');
+uicontrol('Parent',mmlColumnLayout{4}, 'Callback','plotquad;', 'String','Etat QUAD');
+uicontrol('Parent',mmlColumnLayout{4}, 'Callback','bpmrespmatgui;', 'String','LOCO Interface','BackgroundColor','c');
+uicontrol('Parent',mmlColumnLayout{4}, 'Callback','BeamLossgui;', 'String','Beam Loss w/o RF');
+
+% + Create the panels
+%%-------------------------------------------------------
+ATColumn(1) = uiextras.BoxPanel( ...
+    'Parent', ATLayout, ...
+    'Title', 'AT functions:', ...
+    'HelpFcn', 'doc(''at'')' );
+ATColumn(2) = uiextras.BoxPanel( ...
+    'Parent', ATLayout, ...
+    'Title', 'MML functions:', ...
+    'HelpFcn', 'doc(''at'')' );
+ATColumn(3) = uiextras.BoxPanel( ...
+    'Parent', ATLayout, ...
+    'Title', 'Simulation', ...
+    'HelpFcn', 'doc(''at'')' );
+
+for ik=1:length(ATColumn),
+    ATColumnLayout{ik} = uiextras.VBox( 'Parent', ATColumn(ik), ...
+        'Padding', 3, 'Spacing', 3 );
+end
+%%-------------------------------------------------------
+% + For control room
+uicontrol('Parent',ATColumnLayout{1}, 'Callback','plotbeta', 'String','Beta function');
+uicontrol('Parent',ATColumnLayout{1}, 'Callback','plotcod', 'String','Cod function');
+uicontrol('Parent',ATColumnLayout{1}, 'Callback','intlat', 'String','Synoptics');
+
+%+ For model
+uicontrol('Parent',ATColumnLayout{2}, 'Callback','modelalpha', 'String','Alpha function');
+uicontrol('Parent',ATColumnLayout{2}, 'Callback','modelbeamsize', 'String','Beam sizesfunction');
+uicontrol('Parent',ATColumnLayout{2}, 'Callback','modelbeta', 'String','Beta function');
+uicontrol('Parent',ATColumnLayout{2}, 'Callback','modeldisp', 'String','Dispersion function');
+uicontrol('Parent',ATColumnLayout{2}, 'Callback','modeletaprime', 'String','Dispersion'' function');
+uicontrol('Parent',ATColumnLayout{2}, 'Callback','modelemit', 'String','Emittance');
+uicontrol('Parent',ATColumnLayout{2}, 'Callback','modelcurlh', 'String','H-function');
+uicontrol('Parent',ATColumnLayout{2}, 'Callback','modelphase', 'String','Phase function');
+
+%+ For simulation (Office, Hyperion, etc.. )
+uicontrol('Parent',ATColumnLayout{3}, 'Callback','naffgui', 'String','Naff plotting (Tracy)');
+uicontrol('Parent',ATColumnLayout{3}, 'Callback','resongui', 'String','Resonance plot');
+uicontrol('Parent',ATColumnLayout{3}, 'Callback','RadiaMapGui', 'String','Radia maps');
+uicontrol('Parent',ATColumnLayout{3}, 'Callback','mosteffectivecorrectorgui', 'String','MostEffective Corrector');
+
+% + Create the panels
+%%-------------------------------------------------------
+TestColumn(1) = uiextras.BoxPanel( ...
+    'Parent', TestLayout, ...
+    'Title', 'Not validated functions:', ...
+    'HelpFcn', 'doc(''at'')' );
+TestColumnLayout{1} = uiextras.VBox( 'Parent', TestColumn(1), ...
+    'Padding', 3, 'Spacing', 3 );
+uicontrol('Parent',TestColumnLayout{1}, 'Callback','plotBPMturns', 'String','PLot BPM TbT Data');
+uicontrol('Parent',TestColumnLayout{1}, 'Callback','KEMgui', 'String','KEM gui');
+uicontrol('Parent',TestColumnLayout{1}, 'Callback','TbT_PSBgui', 'String','PSB gui');
+
+return;
+
Index: /trunk/machine/SOLEIL/StorageRing/srsetup_op.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/srsetup_op.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/srsetup_op.m	(revision 17)
@@ -0,0 +1,95 @@
+function srsetup_op
+%SRSETUP - GUI for doing storage ring setup
+% GUI for doing storage ring setup
+%
+% Written by Laurent S. Nadolski
+
+checkforao;
+
+%Clear previous ORBIT figure
+orbfig = findobj(allchild(0),'tag','srsetup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+
+kmax = 7; % button number
+
+height = 10 + kmax*30 + 30; %670;
+a = figure('Color',[0.8 0.8 0.8], ...
+    'Interruptible', 'on', ...   
+    'HandleVisibility','off', ...
+    'MenuBar','none', ...
+    'Name', 'Menu ANNEAU SYNCHROTRON SOLEIL', ...
+    'NumberTitle','off', ...
+    'Units','pixels', ...
+    'Position',[5 70 210*4 height], ...
+    'Resize','off', ...
+    'Tag','srsetup');
+
+height = height - 35;
+
+for k = 1:kmax,
+    b1(k) = uicontrol('Parent',a, ...
+        'Position',[3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b2(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b3(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210*2 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b4(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210*3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+bn = uicontrol('Parent',a, ...
+        'Position',[3+310 height-(kmax)*30+5 204 27/2], ...
+        'Interruptible', 'off', ...
+        'Style','text', 'String', 'En rouge : Action sur le faisceau', 'ForegroundColor', 'r');
+
+set(b1(1), 'Callback','setpathsoleil(''StorageRing'');', 'String','Soleilinit','BackgroundColor','g');
+set(b1(2), 'Callback','plotfamily', 'String','Afficher orbite','BackgroundColor','c');
+set(b1(3), 'Callback','disp([''   Fichiers de Consignes;'']); configgui;;', 'String','Fichiers de Consignes');
+set(b1(4), 'Callback','disp([''   Ringcycling;'']);Ringcycling', 'String','Cyclage');
+set(b1(5), 'Callback','bpmconfigurator;', 'String','Configuration BPM');
+set(b1(6), 'Callback','synchro_injecteur8_rafale;', 'String','Synchronisation');
+set(b1(7), 'Callback','getpinhole(''NoArchive'')', 'String','Mesure du couplage (getpinhole)','BackgroundColor','c');
+
+set(b2(1), 'Callback','orbitcontrol', 'String','SOFB (Correction automatique orbite)','ForegroundColor','r');
+set(b2(2), 'Callback','solorbit', 'String','Interface experte Correction Orbite','ForegroundColor','r');
+set(b2(3), 'Callback','setorbitbumpgui', 'String','Orbit bumps','ForegroundColor','r','Enable', 'Off');
+set(b2(4), 'Callback','disp([''   gettune;'']); gettune(''Display'');', 'String','Mesurer nombres d''onde');
+set(b2(5), 'Callback','disp([''   steptune;'']); steptune;', 'String','Changer nombres d''onde','ForegroundColor','r');
+set(b2(6), 'Callback','disp([''   settune;'']); settune;', 'String','Nombres d''onde Golden','ForegroundColor','r');
+set(b2(7), 'Callback','disp([''   bbacentergui;'']); bbacentergui;', 'String','BBA','ForegroundColor','r');
+
+set(b3(1), 'Callback','figure; disp([''   lifetime;'']); measlifetime(30,''Display'');', 'String','Mesurer duree de vie');
+set(b3(2), 'Callback','figure; disp([''   monbpm;'']); monbpm(60);', 'String','Mesurer bruit BPM (60s)','ForegroundColor','k');
+set(b3(3), 'Callback','figure; disp([''   measdisp;'']); measdisp(''Physics'');', 'String','Mesurer dispersion','ForegroundColor','r');
+set(b3(4), 'Callback','figure; disp([''   measchro;'']); measchro(''Physics'');', 'String','Mesurer chromaticites','ForegroundColor','r');
+set(b3(5), 'Callback','disp([''   stepchro;'']); stepchro(''Physics'');', 'String','Changer chromaticites','ForegroundColor','r');
+set(b3(6), 'Callback','disp([''   setchro;'']); setchro(''Physics'');', 'String','Chromaticites Golden','ForegroundColor','r');
+set(b3(7), 'Callback','disp([''   measchroFBT;'']); measchroFBT', 'String','Mesurer chromaticites Fort Courant','ForegroundColor','b');
+
+%set(b4(1), 'Callback','Post_Mortem', 'String','Postmortem BPM','ForegroundColor','k','Enable', 'Off');
+set(b4(1), 'Callback','getbpmsum;', 'String','Signal Somme (1er tour)', 'BackgroundColor','c');
+%set(b4(2), 'Callback','RFPostMortem', 'String','Postmortem RF','ForegroundColor','k','Enable', 'Off');
+set(b4(2), 'Callback','bpmrespmatgui', 'String','Matrice rÃ©ponse d''orbite','BackgroundColor','y');
+set(b4(3), 'Callback','Variation_points_source', 'String','Variation des points source','ForegroundColor','k');
+set(b4(4), 'Callback','calctuneTFB', 'String','Nb d''onde TFB Fort Courant','ForegroundColor','b');
+set(b4(5), 'Callback','FOFBguiTango', 'String','FOFB','ForegroundColor','r');
+set(b4(6), 'Callback','tuneFBgui', 'String','TuneFB','ForegroundColor','r');
+set(b4(7), 'Callback','findrf', 'String','Trouver frequence RF','ForegroundColor','r');
Index: /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_singval.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_singval.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_singval.m	(revision 17)
@@ -0,0 +1,323 @@
+function varargout = correction_tour1_singval(varargin)
+% CORRECTION_TOUR1_SINGVAL M-file for correction_tour1_singval.fig
+%      CORRECTION_TOUR1_SINGVAL, by itself, creates a new CORRECTION_TOUR1_SINGVAL or raises the existing
+%      singleton*.
+%
+%      H = CORRECTION_TOUR1_SINGVAL returns the handle to a new CORRECTION_TOUR1_SINGVAL or the handle to
+%      the existing singleton*.
+%
+%      CORRECTION_TOUR1_SINGVAL('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in CORRECTION_TOUR1_SINGVAL.M with the given input arguments.
+%
+%      CORRECTION_TOUR1_SINGVAL('Property','Value',...) creates a new CORRECTION_TOUR1_SINGVAL or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before correction_tour1_singval_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to correction_tour1_singval_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help correction_tour1_singval
+
+% Last Modified by GUIDE v2.5 17-Mar-2006 15:59:05
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @correction_tour1_singval_OpeningFcn, ...
+                   'gui_OutputFcn',  @correction_tour1_singval_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before correction_tour1_singval is made visible.
+function correction_tour1_singval_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to correction_tour1_singval (see VARARGIN)
+
+% Choose default command line output for correction_tour1_singval
+handles.output = hObject;
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller = varargin{1}.figure1;
+    
+    % Get values from Application-Defined data
+    %handles.energie_edit38=findobj(allchild(handles.caller3),...
+    %    'Tag','energie_edit38');
+    handles.nb_correcteurs_H_edit17 = findobj(allchild(handles.caller),...
+        'Tag','nb_correcteurs_H_edit17');
+    
+    
+    % matrice singular values
+    S = getappdata(handles.caller,'S');
+    V = diag(S);
+    
+    % initalisation popupmenu
+    set(handles.val_sing_H_popupmenu1, 'String',...
+        {'liste valeurs singuliï¿œres', V(:)});
+        %{'liste valeurs singuliï¿œres', sprintf('%3.2f',V(:))});
+    
+    % positionner le popup ï¿œ la derniï¿œre valeur (on prend par dï¿œfaut toutes
+    % les valeurs propres
+    set(handles.val_sing_H_popupmenu1,'Value',length(V)+1);
+    setappdata(handles.caller,'valvp',length(V));
+    k = get(handles.val_sing_H_popupmenu1,'Value') - 1;
+    
+    % plot des valeurs singuliï¿œres
+    name=['axes' num2str(1)];
+    axes(handles.(name));
+    if size(S,2)==0
+        %disp('toto');
+        xdata = 1;
+        V = [0];
+    else
+        xdata = 1:length(V);
+    end
+    plot(xdata,V,'rs-','Tag','line1');
+    hold on
+    set(handles.(name), 'YGrid','On');
+    set(handles.(name), 'XGrid','On');
+    set(gca, 'YMinorTick','On');
+    %set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'no de la valeur singuliï¿œre');
+    ylabel(handles.(name),'valeur singuliï¿œre');
+    if size(S,2)>0
+        xlim([1 xdata(end)]);
+    else
+        
+    end
+    
+    % positionner le curseur ï¿œ la valeur propre choisie
+    if k==0
+        k = 1
+    end
+    plot(k,V(k),'rp','MarkerEdgeColor','k',...
+                    'MarkerFaceColor','r',...
+                    'MarkerSize',14,'Tag','line2');
+    hold off
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% This sets up the initial plot - only do when we are invisible
+% so window can get raised using correction_tour1_singval.
+if strcmp(get(hObject,'Visible'),'off')
+    plot(rand(5));
+end
+
+% UIWAIT makes correction_tour1_singval wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = correction_tour1_singval_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in rafraichir_pushbutton1.
+function rafraichir_pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to rafraichir_pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% axes(handles.axes1);
+% cla;
+
+% recalculer la matrice S
+
+% nbre de correcteurs utilisï¿œs dans la correction SVD
+nbcorrSVD = get(handles.nb_correcteurs_H_edit17,'String');
+nbcorrSVD = str2num(nbcorrSVD);
+% correcteur actuellement selectionnï¿œ
+valCH = getappdata(handles.caller,'n_selection_CH');
+%if isequal(valCH,0)|isequal(valCH,1)
+if valCH<nbcorrSVD
+    errordlg('avancez ï¿œ un nombre adï¿œquat de correecteurs !','Attention');
+    % sortir de la fonction
+    return
+end
+Meff = getappdata(handles.caller,'Meff');
+BPMx = getappdata(handles.caller,'BPMx');
+HCOR = getappdata(handles.caller,'HCOR');
+
+% on tiend compte du status du BPM, eventuellement mis ï¿œ 0 pour cause de
+% lecture non fiable, ou bien ??
+BPMx_status = family2status('BPMx');
+
+% extraire la matrice 
+flag = 0;
+liste_elem_BPM = [];
+for j = 1 : length(BPMx.Position)
+    if BPMx.Position(j)>HCOR.Position(valCH-nbcorrSVD+1)  
+        if valCH~=length(HCOR.Position)&BPMx.Position(j)>HCOR.Position(valCH+1)
+            break
+        end
+        flag = flag + 1;
+        liste_elem_BPM = [liste_elem_BPM j]; 
+        Meffloc(flag,:) = Meff(j,valCH-nbcorrSVD+1:valCH) * BPMx_status(j);
+    end
+end
+% nbBPM  = flag;
+% liste_dev_BPM = elem2dev('BPMx',liste_elem_BPM);
+% HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+% liste_dev_HCOR = HCOR_liste(valCH-nbcorrSVD+1:valCH,:);
+% BPMindex = family2atindex('BPMx',liste_dev_BPM);
+% spos = getspos('BPMx');
+% hcm = getsp('HCOR',liste_dev_HCOR,'struct');
+[U,S,V] = svd(Meffloc);
+setappdata(handles.caller,'S',S);
+
+
+
+
+% matrice singular values
+
+V = diag(S);
+
+% initalisation popupmenu
+set(handles.val_sing_H_popupmenu1, 'String',...
+    {'liste valeurs singuliï¿œres', V(:)});
+    %{'liste valeurs singuliï¿œres', sprintf('%3.2f',V(:))});
+
+% positionner le popup ï¿œ la derniï¿œre valeur (on prend par dï¿œfaut toutes
+% les valeurs propres
+set(handles.val_sing_H_popupmenu1,'Value',length(V)+1);
+setappdata(handles.caller,'valvp',length(V));
+k = get(handles.val_sing_H_popupmenu1,'Value') - 1;
+if k==0
+    k = 1;
+end
+% replot des orbites
+h     = get(handles.axes1,'Children');
+hline = findobj(h,'-regexp','Tag','line[1,2]');
+
+% plot des valeurs singuliï¿œres
+name=['axes' num2str(1)];
+axes(handles.(name));
+xdata = 1:length(V);
+
+%plot(xdata,V,'rs-','Tag','line1');
+if isequal(isempty(xdata),1)
+    xdata = [1];
+    V = [0];
+else
+    xlim([1 xdata(end)]);
+end
+set(hline(2),'XData',xdata,'YData',V,'Visible','On');
+set(hline(1),'XData',k,'YData',V(k),'Visible','On');
+
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in val_sing_H_popupmenu1.
+function val_sing_H_popupmenu1_Callback(hObject, eventdata, handles)
+% hObject    handle to val_sing_H_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns val_sing_H_popupmenu1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from val_sing_H_popupmenu1
+
+
+S = getappdata(handles.caller,'S');
+
+% attribution du numero de la valeur propre (on enlï¿œve le titre)
+valvp = get(hObject,'Value')-1;
+
+setappdata(handles.caller,'valvp',valvp)
+handles.valvp = getappdata(handles.caller,'valvp');
+% % Update handles structure
+guidata(hObject, handles);
+
+h     = get(handles.axes1,'Children');
+hline = findobj(h,'-regexp','Tag','line[2]');
+
+% plot de la valeur singuliï¿œre limite selectionnï¿œe
+name=['axes' num2str(1)];
+axes(handles.(name));
+
+% matrice singular values
+S = getappdata(handles.caller,'S');
+V = diag(S);
+set(hline(1),'XData',valvp,'YData',V(valvp),'Visible','On');
+
+
+disp('hello')
+
+
+% --- Executes during object creation, after setting all properties.
+function val_sing_H_popupmenu1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to val_sing_H_popupmenu1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
Index: /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_singval_V.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_singval_V.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_singval_V.m	(revision 17)
@@ -0,0 +1,405 @@
+function varargout = correction_tour1_singval_V(varargin)
+% CORRECTION_TOUR1_singval_V M-file for correction_tour1_singval_V.fig
+%      CORRECTION_TOUR1_singval_V, by itself, creates a new CORRECTION_TOUR1_singval_V or raises the existing
+%      singleton*.
+%
+%      H = CORRECTION_TOUR1_singval_V returns the handle to a new CORRECTION_TOUR1_singval_V or the handle to
+%      the existing singleton*.
+%
+%      CORRECTION_TOUR1_SINGVAL('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in CORRECTION_TOUR1_SINGVAL.M with the given input arguments.
+%
+%      CORRECTION_TOUR1_SINGVAL('Property','Value',...) creates a new CORRECTION_TOUR1_singval_V or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before correction_tour1_singval_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to correction_tour1_singval_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help correction_tour1_singval
+
+% Last Modified by GUIDE v2.5 06-Apr-2006 13:54:43
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @correction_tour1_singval_V_OpeningFcn, ...
+                   'gui_OutputFcn',  @correction_tour1_singval_V_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before correction_tour1_singval_V is made visible.
+function correction_tour1_singval_V_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to correction_tour1_singval_V (see VARARGIN)
+
+% Choose default command line output for correction_tour1_singval
+handles.output = hObject;
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller = varargin{1}.figure1;
+    
+    % Get values from Application-Defined data
+    %handles.energie_edit38=findobj(allchild(handles.caller3),...
+    %    'Tag','energie_edit38');
+    handles.nb_correcteurs_V_edit = findobj(allchild(handles.caller),...
+        'Tag','nb_correcteurs_V_edit');
+    
+    
+    % matrice singular values
+    S_V = getappdata(handles.caller,'S_V');
+    V = diag(S_V);
+    
+    % initalisation popupmenu
+    set(handles.val_sing_V_popupmenu, 'String',...
+        {'liste valeurs singulières', V(:)});
+        %{'liste valeurs singulières', sprintf('%3.2f',V(:))});
+    
+    % positionner le popup à la dernière valeur (on prend par défaut toutes
+    % les valeurs propres
+    set(handles.val_sing_V_popupmenu,'Value',size(S_V,2)+1);
+    setappdata(handles.caller,'valvp_V',size(S_V,2));
+    k = get(handles.val_sing_V_popupmenu,'Value') - 1;
+    
+    % plot des valeurs singulières
+    name=['axes' num2str(1)];
+    axes(handles.(name));
+    if size(S_V,2)==0
+        %disp('correction_tour1_singval_V');
+        xdata = 1;
+        V = [0];
+    else
+        xdata = 1:size(S_V,2);
+    end
+    plot(xdata,V,'rs-','Tag','line1');
+    hold on
+    set(handles.(name), 'YGrid','On');
+    set(handles.(name), 'XGrid','On');
+    set(gca, 'YMinorTick','On');
+    %set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'no de la valeur singulière');
+    ylabel(handles.(name),'valeur singulière');
+    if size(S_V,2)>0
+        xlim([1 xdata(end)]);
+    else
+        
+    end
+    
+    % positionner le curseur à la valeur propre choisie
+    if k==0
+        k = 1
+    end
+    plot(k,V(k),'rp','MarkerEdgeColor','k',...
+                    'MarkerFaceColor','r',...
+                    'MarkerSize',14,'Tag','line2');
+    hold off
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% This sets up the initial plot - only do when we are invisible
+% so window can get raised using correction_tour1_singval_V.
+%if strcmp(get(hObject,'Visible'),'off')
+%    plot(rand(5));
+%end
+
+% UIWAIT makes correction_tour1_singval_V wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = correction_tour1_singval_V_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in correction_tour1_singval_V.
+function rafraichir_V_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to correction_tour1_singval_V (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% axes(handles.axes1);
+% cla;
+
+% recalculer la matrice S_V
+
+% nbre de correcteurs utilisés dans la correction SVD
+nbcorrSVD_V = get(handles.nb_correcteurs_V_edit,'String');
+nbcorrSVD_V = str2num(nbcorrSVD_V);
+% correcteur actuellement selectionné
+valCV = getappdata(handles.caller,'n_selection_CV');
+%if isequal(valCV,0)|isequal(valCVV,1)
+if valCV<nbcorrSVD_V
+    errordlg('avancez à un nombre adéquat de correcteurs !','Attention');
+    % sortir de la fonction
+    return
+end
+Meff_V = getappdata(handles.caller,'Meff_V');
+BPMz = getappdata(handles.caller,'BPMz');
+VCOR = getappdata(handles.caller,'VCOR');
+% extraire la matrice 
+flag = 0;
+liste_elem_BPM = [];
+for j = 1 : length(BPMz.Position)
+    if BPMz.Position(j)>VCOR.Position(valCV-nbcorrSVD_V+1)  
+        if BPMz.Position(j)>VCOR.Position(valCV+1)
+            break
+        end
+        flag = flag + 1;
+        liste_elem_BPM = [liste_elem_BPM j]; 
+        Meffloc_V(flag,:) = Meff_V(j,valCV-nbcorrSVD_V+1:valCV);
+    end
+end
+% nbBPM  = flag;
+% liste_dev_BPM = elem2dev('BPMx',liste_elem_BPM);
+% HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+% liste_dev_HCOR = HCOR_liste(valCH-nbcorrSVD+1:valCH,:);
+% BPMindex = family2atindex('BPMx',liste_dev_BPM);
+% spos = getspos('BPMx');
+% hcm = getsp('HCOR',liste_dev_HCOR,'struct');
+[U,S_V,V] = svd(Meffloc_V);
+setappdata(handles.caller,'S_V',S_V);
+
+
+
+
+% matrice singular values
+
+V = diag(S_V);
+
+% initalisation popupmenu
+set(handles.val_sing_V_popupmenu, 'String',...
+    {'liste valeurs singulières', V(:)});
+    %{'liste valeurs singulières', sprintf('%3.2f',V(:))});
+
+% positionner le popup à la dernière valeur (on prend par défaut toutes
+% les valeurs propres
+set(handles.val_sing_V_popupmenu,'Value',size(S_V,2)+1);
+setappdata(handles.caller,'valvp_V',size(S_V,2));
+k = get(handles.val_sing_V_popupmenu,'Value') - 1;
+if k==0
+    k = 1;
+end
+% replot des orbites
+h     = get(handles.axes1,'Children');
+hline = findobj(h,'-regexp','Tag','line[1,2]');
+
+% plot des valeurs singulières
+name=['axes' num2str(1)];
+axes(handles.(name));
+xdata = 1:size(S_V,2);
+
+%plot(xdata,V,'rs-','Tag','line1');
+if isequal(isempty(xdata),1)
+    xdata = [1];
+    V = [0];
+else
+    xlim([1 xdata(end)]);
+end
+set(hline(2),'XData',xdata,'YData',V,'Visible','On');
+set(hline(1),'XData',k,'YData',V(k),'Visible','On');
+
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in val_sing_V_popupmenu.
+function val_sing_V_popupmenu_Callback(hObject, eventdata, handles)
+% hObject    handle to val_sing_V_popupmenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns val_sing_V_popupmenu contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from val_sing_V_popupmenu
+
+
+S_V = getappdata(handles.caller,'S_V');
+
+% attribution du numero de la valeur propre (on enlève le titre)
+valvp_V = get(hObject,'Value')-1;
+
+setappdata(handles.caller,'valvp_V',valvp_V)
+handles.valvp_V = getappdata(handles.caller,'valvp_V');
+% % Update handles structure
+guidata(hObject, handles);
+
+h     = get(handles.axes1,'Children');
+hline = findobj(h,'-regexp','Tag','line[2]');
+
+% plot de la valeur singulière limite selectionnée
+name=['axes' num2str(1)];
+axes(handles.(name));
+
+% matrice singular values
+S_V = getappdata(handles.caller,'S_V');
+V = diag(S_V);
+set(hline(1),'XData',valvp_V,'YData',V(valvp_V),'Visible','On');
+
+
+disp('hello')
+
+
+% --- Executes during object creation, after setting all properties.
+function val_sing_V_popupmenu_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to val_sing_V_popupmenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+% % --- Executes on button press in rafraichir_pushbutton1.
+% function rafraichir_V_pushbutton_Callback(hObject, eventdata, handles)
+% % hObject    handle to rafraichir_pushbutton1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % axes(handles.axes1);
+% % cla;
+% 
+% % recalculer la matrice S
+% 
+% % nbre de correcteurs utilisés dans la correction SVD
+% nbcorrSVD_V = get(handles.nb_correcteurs_V_edit,'String');
+% nbcorrSVD_V = str2num(nbcorrSVD_V);
+% % correcteur actuellement selectionné
+% valCV = getappdata(handles.caller,'n_selection_CV');
+% %if isequal(valCV,0)|isequal(valCV,1)
+% if valCV<nbcorrSVD_V
+%     errordlg('avancez à un nombre adéquat de correcteurs !','Attention');
+%     % sortir de la fonction
+%     return
+% end
+% Meff_V = getappdata(handles.caller,'Meff_V');
+% BPMz = getappdata(handles.caller,'BPMz');
+% VCOR = getappdata(handles.caller,'VCOR');
+% % extraire la matrice 
+% flag = 0;
+% liste_elem_BPM = [];
+% for j = 1 : length(BPMz.Position)
+%     if BPMz.Position(j)>VCOR.Position(valCV-nbcorrSVD_V+1)  
+%         if BPMz.Position(j)>VCOR.Position(valCV+1)
+%             break
+%         end
+%         flag = flag + 1;
+%         liste_elem_BPM = [liste_elem_BPM j]; 
+%         Meffloc_V(flag,:) = Meff_V(j,valCV-nbcorrSVD_V+1:valCV);
+%     end
+% end
+% % nbBPM  = flag;
+% % liste_dev_BPM = elem2dev('BPMx',liste_elem_BPM);
+% % HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+% % liste_dev_HCOR = HCOR_liste(valCH-nbcorrSVD+1:valCH,:);
+% % BPMindex = family2atindex('BPMx',liste_dev_BPM);
+% % spos = getspos('BPMx');
+% % hcm = getsp('HCOR',liste_dev_HCOR,'struct');
+% [U,S_V,V] = svd(Meffloc_V);
+% setappdata(handles.caller,'S_V',S_V);
+% 
+% 
+% 
+% 
+% % matrice singular values
+% 
+% V = diag(S_V);
+% 
+% % initalisation popupmenu
+% set(handles.val_sing_V_popupmenu, 'String',...
+%     {'liste valeurs singulières', V(:)});
+%     %{'liste valeurs singulières', sprintf('%3.2f',V(:))});
+% 
+% % positionner le popup à la dernière valeur (on prend par défaut toutes
+% % les valeurs propres
+% set(handles.val_sing_V_popupmenu,'Value',size(S_V,2)+1);
+% setappdata(handles.caller,'valvp_V',size(S_V,2));
+% k = get(handles.val_sing_V_popupmenu,'Value') - 1;
+% if k==0
+%     k = 1;
+% end
+% % replot des orbites
+% h     = get(handles.axes1,'Children');
+% hline = findobj(h,'-regexp','Tag','line[1,2]');
+% 
+% % plot des valeurs singulières
+% name=['axes' num2str(1)];
+% axes(handles.(name));
+% xdata = 1:size(S,2);
+% 
+% %plot(xdata,V,'rs-','Tag','line1');
+% if isequal(isempty(xdata),1)
+%     xdata = [1];
+%     V = [0];
+% else
+%     xlim([1 xdata(end)]);
+% end
+% set(hline(2),'XData',xdata,'YData',V,'Visible','On');
+% set(hline(1),'XData',k,'YData',V(k),'Visible','On');
+% 
Index: /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_v2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_v2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/correction_tour1_v2.m	(revision 17)
@@ -0,0 +1,2015 @@
+function varargout = correction_tour1_v2(varargin)
+% CORRECTION_TOUR1_V2 M-file for correction_tour1_v2.fig
+%      CORRECTION_TOUR1_V2, by itself, creates a new CORRECTION_TOUR1_V2 or raises the existing
+%      singleton*.
+%
+%      H = CORRECTION_TOUR1_V2 returns the handle to a new CORRECTION_TOUR1_V2 or the handle to
+%      the existing singleton*.
+%
+%      CORRECTION_TOUR1_V2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in CORRECTION_TOUR1_V2.M with the given input arguments.
+%
+%      CORRECTION_TOUR1_V2('Property','Value',...) creates a new CORRECTION_TOUR1_V2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before correction_tour1_v2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to correction_tour1_v2_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help correction_tour1_v2
+
+% Last Modified by GUIDE v2.5 06-Apr-2006 09:00:16
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @correction_tour1_v2_OpeningFcn, ...
+                   'gui_OutputFcn',  @correction_tour1_v2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before correction_tour1_v2 is made visible.
+function correction_tour1_v2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to correction_tour1_v2 (see VARARGIN)
+
+% Choose default command line output for correction_tour1_v2
+handles.output = hObject;
+
+
+
+
+% initialisation de la machine
+if isempty(getao) 
+        disp('Warning: CHARGER L''AcceleratorObjects !!!!!!!');
+        return
+else
+        Machine = getfamilydata('SubMachine');
+        switch Machine
+            case 'StorageRing'
+                %% 
+            case 'Booster'
+                %%%
+            otherwise                
+            disp('Warning: Machine not recognized!');
+            return
+        end
+end
+
+% nom nomenclature et positions des correcteurs actifs, positions BPM actifs
+HCOR.DeviceName = getfamilydata('HCOR','DeviceName',family2dev('HCOR'));
+VCOR.DeviceName = getfamilydata('VCOR','DeviceName',family2dev('VCOR'));
+HCOR.Position = getfamilydata('HCOR','Position',family2dev('HCOR'));
+VCOR.Position = getfamilydata('VCOR','Position',family2dev('VCOR'));
+BPMx.Position = getfamilydata('BPMx','Position',family2dev('BPMx'));
+BPMz.Position = getfamilydata('BPMz','Position',family2dev('BPMz'));
+setappdata(handles.figure1,'HCOR',HCOR);
+setappdata(handles.figure1,'VCOR',VCOR);
+setappdata(handles.figure1,'BPMx',BPMx);
+setappdata(handles.figure1,'BPMz',BPMz);
+
+% initalisation popupmenu
+set(handles.CH_popupmenu2, 'String', {'liste correcteurs horizontaux', HCOR.DeviceName{:}});
+set(handles.CV_popupmenu3, 'String', {'liste correcteurs verticaux', VCOR.DeviceName{:}});
+
+% initialisation matrice singular values en H et V
+S = [];S_V = [];
+setappdata(handles.figure1,'S',S);
+setappdata(handles.figure1,'S_V',S_V);
+
+% initialisation nbre de correcteurs utilisï¿œs pour la SVD (ï¿œ 2 !)
+setappdata(handles.nb_correcteurs_H_edit17,'String',num2str(2));
+setappdata(handles.nb_correcteurs_V_edit,'String',num2str(2));
+
+% initialisation du nombre de valeurs propres utilisï¿œes 
+% setappdata(handles.figure1,'valvp',size(S,2));
+% setappdata(handles.figure1,'valvp_V',size(S_V,2));
+DiagS = diag(S); DiagS_V = diag(S_V);
+setappdata(handles.figure1,'valvp',length(DiagS));
+setappdata(handles.figure1,'valvp_V',length(DiagS_V));
+
+
+
+% liste des correcteurs H actifs  type : numero cellule numero correcteur
+% dans la cellule
+HCOR_liste = family2dev('HCOR', 1);
+VCOR_liste = family2dev('VCOR', 1);
+setappdata(handles.figure1,'HCOR_liste',HCOR_liste);
+setappdata(handles.figure1,'VCOR_liste',VCOR_liste);
+
+% nombre max de correcteurs
+setappdata(handles.figure1,'maxvalCH',size(HCOR.DeviceName,1));
+setappdata(handles.figure1,'maxvalCV',size(VCOR.DeviceName,1));
+
+% numero du correcteur courant (initalisation)
+setappdata(handles.figure1,'n_selection_CH',0);
+setappdata(handles.figure1,'n_selection_CV',0);
+
+% desactiver le pushbutton "correcteur precedent"
+set(handles.CH_precedent_pushbutton4,'Enable','off');
+set(handles.CV_precedent_pushbutton23,'Enable','off');
+% desactiver le pushbutton "correcteur suivant"
+set(handles.CH_suivant_pushbutton5,'Enable','off'); 
+set(handles.CV_suivant_pushbutton24,'Enable','off'); 
+
+
+
+
+% button group sur switch mode simulation ou online 
+h = uibuttongroup('visible','off','Position',[0.45 0.94 .22 .045],...
+    'Title','Mode','TitlePosition','centertop',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u1 = uicontrol('Style','Radio','String','MODEL','Tag','radiobutton1',...
+    'pos',[10 0.95 90 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u2 = uicontrol('Style','Radio','String','  ON-LINE','Tag','radiobutton2',...
+    'pos',[90. 0.95 90 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+
+handles.model = u1;
+handles.online = u2;
+handles.mode = 'Model';
+
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+set(h,'SelectedObject',u1);  % No selection
+set(h,'Visible','on');
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',5.,'TasksToExecute',30);
+timer1.TimerFcn = {@mycallback_steerette_new, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+%start(timer1);
+
+
+% button group sur switch timer rafraichissement orbites ON OFF 
+g = uibuttongroup('visible','off','Position',[0.45 0.57 .22 .045],...
+    'Title','Rafraichissement','TitlePosition','centertop',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+v1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[10 0.95 90 25],'parent',g,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+v2 = uicontrol('Style','Radio','String','  OFF','Tag','radiobutton2',...
+    'pos',[90. 0.95 90 25],'parent',g,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+
+handles.on = v1;
+handles.off = v2;
+
+set(g,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_timer,handles});
+
+set(g,'SelectedObject',v2);  % No selection
+set(g,'Visible','on');
+
+% This sets up the initial plot - only do when we are invisible
+% so window can get raised using correction_tour1_v2.
+if strcmp(get(hObject,'Visible'),'off')
+
+    % plot des orbites
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    
+    %a% version anneau
+    %[orbite_x,orbite_z] = getbpm;
+    
+    if handles.mode=='Model'
+    
+        %t% version transport 
+        % gï¿œnï¿œration d'une ellipse 1 sigma et dï¿œcentrement
+        eps = 150e-9;betax = 3 ;betaz = 3 ;alphax = 0;alphaz = 0;
+        deltax = 2e-3;deltaz = 2e-3;deltaxp = 1e-3;deltazp = 1e-3;
+        X0 = [sqrt(eps * betax) + deltax 0 sqrt(eps * betaz) + deltaz 0 0 0 ;...
+              0  sqrt(eps / betax) + deltaxp 0 sqrt(eps / betaz) + deltazp 0 0 ;...
+              -sqrt(eps * betax)+ deltax 0 -sqrt(eps * betaz)+ deltaz 0 0 0 ;...
+              0  -sqrt(eps / betax)+deltaxp 0 -sqrt(eps / betaz)+deltazp 0 0 ]';
+        setappdata(handles.figure1,'orbite_entry',X0);
+
+        % nP = nbre de particules trackees
+        nP = size(X0,2);
+        BPMindex = family2atindex('BPMx');
+        global THERING
+        nbtour = 1;
+        X01 = zeros(nbtour, 6, nP*length(BPMindex));
+
+        for k=1:nbtour,
+            X01(k,:,:) = linepass(THERING, X0, BPMindex);
+            %X0 = X01(k,:,end)';
+        end
+        Xa = squeeze(X01(1,1,:));
+        Za = squeeze(X01(1,3,:));
+        if nP>1
+            X = [];
+            Z = [];
+            for nBPM = 1:length(BPMindex)
+                X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+                Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+            end
+            orbite_x = X'*1000;orbite_z = Z'*1000;
+        else
+            orbite_x = Xa*1000;orbite_z = Za*1000;
+        end
+    else
+        % entrer lecture BPM tour par tour
+    end
+%%%%%%%%%%%%%%%%%%%%%%
+
+%     setappdata(handles.figure1,'orbite_entry',X0);
+%     BPMindex = family2atindex('BPMx');
+%     global THERING
+%     nb = 1;
+%     X01 = zeros(nb, 6, length(THERING)+1);
+%     for k=1:nb,
+%         X01(k,:,:) = linepass(THERING, X0, 1:length(THERING)+1);
+%         %X0 = X01(k,:,end)';
+%     end
+%     orbite_x = squeeze(X01(:,1,BPMindex))'*1000;
+%     orbite_z = squeeze(X01(:,3,BPMindex))'*1000;
+    xdata = 1:length(orbite_x);
+    plot(xdata,orbite_x,'r-','Tag','line1');
+    hold on
+    ydata = 1:length(orbite_z);
+    plot(ydata,orbite_z,'b-','Tag','line2');
+    hold on
+    
+    % plot des BPM initiaux
+    k = 1;
+    %plot(handles.(name),k,orbite_x(k),'rs','MarkerEdgeColor','k',...
+    plot(k,orbite_x(k),'rp','MarkerEdgeColor','k',...
+                    'MarkerFaceColor','r',...
+                    'MarkerSize',6,'Tag','line3');
+    hold on
+    plot(k,orbite_z(k),'rp','MarkerEdgeColor','k',...
+                    'MarkerFaceColor','b',...
+                    'MarkerSize',6,'Tag','line4');
+    hold off
+
+    % Set defaults
+    set(handles.(name), 'Nextplot','Add');
+    set(handles.(name), 'YGrid','On');
+    set(gca, 'YMinorTick','On');
+    set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'no du BPM');
+    ylabel(handles.(name),'orbites (mm)');
+    xlim([xdata(1) xdata(end)]);
+    ylim([-10 10]);
+    
+    % plot des correcteurs
+    name=['axes' num2str(9)];
+    axes(handles.(name));
+    xbar = 1: size(HCOR.DeviceName,1);
+    ybar = 1:size(VCOR.DeviceName,1);
+    liste = getam('HCOR',handles.mode);
+    h0 = bar(xbar,liste,'r','Tag','bar1');
+    xlim(handles.(name),[0 size(HCOR.DeviceName,1)+1]);
+    ylim(handles.(name),[-10 10]);
+    ylabel(handles.(name),'Icorr H (A)');
+    set(h0, 'FaceColor','r');
+
+    name=['axes' num2str(10)];
+    axes(handles.(name));
+    liste = getam('VCOR',handles.mode);
+    h1 = bar(ybar,liste,'b','Tag','bar2');
+    set(h1, 'FaceColor','b');
+    xlim(handles.(name),[0 size(VCOR.DeviceName,1)+1]);
+    ylim(handles.(name),[-13 13]);
+    xlabel(handles.(name),'no du correcteur');
+    ylabel(handles.(name),'Icorr V (A)');
+
+    
+end
+
+% calcul des efficacitï¿œs des correcteurs type transport
+% eff (CORRI, BPMJ) = sqrt( betaI  * betaJ )  * sin ( phase J - phase I)
+% SI BPMJ situï¿œ au delï¿œ de CORRI
+
+% plan H
+[bxHCOR,bzHCOR] = modelbeta('HCOR');
+[bxBPM,bzBPM] = modelbeta('BPMx');
+[phixHCOR,phizHCOR] = modelphase('HCOR');
+[phixBPM,phizBPM] = modelphase('BPMx');
+COEFF = hw2physics('HCOR','Setpoint',1) * 1e3 ;
+
+for k = 1:length(HCOR.Position)
+    for j = 1:length(BPMx.Position)
+        
+        if BPMx.Position(j) > HCOR.Position(k)
+            % calcul de l'efficacitï¿œ
+            Meff(j,k) = sqrt(bxHCOR(k)*bxBPM(j)) * sin(phixBPM(j) - phixHCOR(k))*COEFF(k);
+        else
+            Meff(j,k)= 0;
+        end
+        
+    end
+end
+setappdata(handles.figure1,'Meff',Meff);
+disp('***  Matrice d''efficacitï¿œ H type transport calculï¿œe  ***')
+
+% plan V
+[bxVCOR,bzVCOR] = modelbeta('VCOR');
+[bxBPM,bzBPM] = modelbeta('BPMz');
+[phixVCOR,phizVCOR] = modelphase('VCOR');
+[phixBPM,phizBPM] = modelphase('BPMz');
+COEFF = hw2physics('VCOR','Setpoint',1) * 1e3 ;
+
+for k = 1:length(VCOR.Position)
+    for j = 1:length(BPMz.Position)
+        
+        if BPMz.Position(j) > VCOR.Position(k)
+            % calcul de l'efficacitï¿œ
+            Meff_V(j,k) = sqrt(bzVCOR(k)*bzBPM(j)) * sin(phizBPM(j) - phizVCOR(k))*COEFF(k);
+        else
+            Meff_V(j,k)= 0;
+        end
+        
+    end
+end
+setappdata(handles.figure1,'Meff_V',Meff_V);
+disp('***  Matrice d''efficacitï¿œ V type transport calculï¿œe  ***')
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% UIWAIT makes correction_tour1_v2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = correction_tour1_v2_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% % --------------------------------------------------------------------
+% function CloseMenuItem_Callback(hObject, eventdata, handles)
+% % hObject    handle to CloseMenuItem (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+%                      ['Close ' get(handles.figure1,'Name') '...'],...
+%                      'Yes','No','Yes');
+% if strcmp(selection,'No')
+%     return;
+% end
+% 
+% delete(handles.figure1)
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        % 'Mode' = 'Simulation';
+        handles.mode = 'Model';
+       
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        % '.Mode' = 'Machine';
+        handles.mode = 'Online';
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+function uibuttongroup_SelectionChangeFcn_timer(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+timer1 = getappdata(handles.figure1,'Timer');
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        start(timer1);
+       
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        stop(timer1);
+        
+end
+
+
+% % --- Executes on selection change in popupmenu1.
+% function popupmenu1_Callback(hObject, eventdata, handles)
+% % hObject    handle to popupmenu1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+% %        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% % --- Executes during object creation, after setting all properties.
+% function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% % hObject    handle to popupmenu1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    empty - handles not created until after all CreateFcns called
+% 
+% % Hint: popupmenu controls usually have a white background on Windows.
+% %       See ISPC and COMPUTER.
+% if ispc
+%     set(hObject,'BackgroundColor','white');
+% else
+%     set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+% end
+% 
+% set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in CH_popupmenu2.
+function CH_popupmenu2_Callback(hObject, eventdata, handles)
+% hObject    handle to CH_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns CH_popupmenu2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from CH_popupmenu2
+
+
+HCOR = getappdata(handles.figure1,'HCOR');
+% attribution du numero du correcteur (on enlï¿œve le titre)
+valCH = get(hObject,'Value')-1;
+% attribution du nom du device selectionne dans "device"
+
+switch valCH
+    case 1
+            %device = HCOR.DeviceName(1);
+            % desactiver le pushbutton "correcteur precedent"
+            set(handles.CH_precedent_pushbutton4,'Enable','off');
+            % activer le pushbutton "correcteur suivant"
+            set(handles.CH_suivant_pushbutton5,'Enable','on');
+    case size(HCOR.DeviceName,1)
+            %device = HCOR.DeviceName(size(HCOR.DeviceName,1));
+            % activer le pushbutton "correcteur precedent"
+            set(handles.CH_precedent_pushbutton4,'Enable','on');
+            % desactiver le pushbutton "correcteur suivant"
+            set(handles.CH_suivant_pushbutton5,'Enable','off');
+end
+
+for k = 2:size(HCOR.DeviceName,1)-1
+    switch valCH
+        case k
+            %device = HCOR.DeviceName(k);
+            % activer le pushbutton "correcteur precedent"
+            set(handles.CH_precedent_pushbutton4,'Enable','on');
+            % activer le pushbutton "correcteur suivant"
+            set(handles.CH_suivant_pushbutton5,'Enable','on');
+    end
+end
+
+
+%disp('coucou')
+
+% afficher dans ICH_edit1 la valeur actuelle du courant du correcteur selectionne
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ HCOR]
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+set(handles.HCOR_text18,'String',...
+    strcat(num2str(valCH),'   [',num2str(HCOR_liste(valCH,:)),']'));
+
+if valCH>0
+    % enregistrer le numero du correcteur selectionne
+    setappdata(handles.figure1,'n_selection_CH',valCH);
+%     % enregistrer le nom du correcteur selectionne
+%     setappdata(handles.figure1,'device_CH',device);
+else
+    % initialiser le nom du correcteur
+    setappdata(handles.figure1,'device_CH','');
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','off');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','off');
+end
+
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+
+
+function HCOR_text18_CreateFcn(hObject, eventdata, handles)
+
+function date_et_heure_text20_CreateFcn(hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function CH_popupmenu2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CH_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+% if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+%     set(hObject,'BackgroundColor','white');
+% end
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+%HCOR = getfamilydata('HCOR');
+%HCOR = getappdata(handles.figure1,'HCOR');
+
+% cellule = {};
+% for j = 1:size(HCOR.DeviceName,1)
+%     cellule = {cellule{:},strcat(num2str(HCOR.ElementList(j)),' : ',HCOR.DeviceName{j})};
+% end
+% set(hObject, 'String', {'liste correcteurs horizontaux', cellule{:}});        
+
+
+
+
+    
+% --- Executes on button press in CH_precedent_pushbutton4.
+function CH_precedent_pushbutton4_Callback(hObject, eventdata, handles)
+% hObject    handle to CH_precedent_pushbutton4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nombre max de correcteurs H 
+maxvalCH = getappdata(handles.figure1,'maxvalCH');
+
+% numero du correcteur actuellement selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+%selectionner dans la liste le correcteur precedent
+set(handles.CH_popupmenu2,'Value',valCH);
+% enregistrer le nouveau numero de correcteur de la liste
+valCH = valCH - 1;
+setappdata(handles.figure1,'n_selection_CH',valCH);
+% enregistrer le correcteur 
+%setappdata(handles.figure1,'
+
+if valCH>=maxvalCH
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','on');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','off'); 
+elseif 1>=valCH
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','off');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','on');
+else
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','on');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','on');
+end
+
+
+% afficher dans ICH_edit1 la valeur actuelle du courant du correcteur selectionne
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ HCOR]
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+set(handles.HCOR_text18,'String',...
+    strcat(num2str(valCH),'   [',num2str(HCOR_liste(valCH,:)),']'));
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+
+
+
+% --- Executes on button press in CH_suivant_pushbutton5.
+function CH_suivant_pushbutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to CH_suivant_pushbutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nombre max de correcteurs H + en tete popupmenu
+maxvalCH = getappdata(handles.figure1,'maxvalCH');
+
+% numero du correcteur actuellement selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+%selectionner dans la liste le correcteur suivant
+set(handles.CH_popupmenu2,'Value',valCH+2);
+% enregistrer la nouvelle valeur de la liste
+valCH = valCH + 1;
+setappdata(handles.figure1,'n_selection_CH',valCH);
+if valCH>=maxvalCH
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','on');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','off'); 
+elseif 1>=valCH
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','off');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','on');
+else
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','on');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','on');
+end
+
+
+% afficher dans ICH_edit1 la valeur actuelle du courant du correcteur selectionne
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ HCOR]
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+set(handles.HCOR_text18,'String',...
+    strcat(num2str(valCH),'   [',num2str(HCOR_liste(valCH,:)),']'));
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+
+
+function ICH_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to ICH_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ICH_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of ICH_edit1 as a double
+
+
+% rechercher le numero du correcteur selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+
+% rechercher le nom du correcteur selectionne
+%device = getappdata(handles.figure1,'device_CH');
+
+
+% appliquer le courant entrï¿œ manuellement
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+ICH = get(handles.ICH_edit1,'String');
+setsp('HCOR',str2num(ICH),HCOR_liste(valCH,:),handles.mode);
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',str2num(ICH));
+
+% replot des orbites et point et correcteur H
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+% % 
+% % k = getappdata(handles.figure1,'n_selection_BPMx');
+% % h3     = get(handles.axes3,'Children');
+% % hline2 = findobj(h3,'-regexp','Tag','line[1,2,3]');
+% % h9     = get(handles.axes9,'Children');
+% % hbar9  = findobj(h9,'-regexp','Tag','bar[1]');
+% % %h10     = get(handles.axes10,'Children');
+% % %hbar10  = findobj(h10,'-regexp','Tag','bar[2]');
+% % [orbite_x,orbite_z] = getbpm;
+% % xdata = 1:length(orbite_x);
+% % ydata = 1:length(orbite_z);
+% % zdata = k;
+% % 
+% % liste_HCOR = getam('HCOR');
+% % liste_VCOR = getam('VCOR'); 
+% % 
+% % % linegraphes
+% % set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% % set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% % set(hline2(1),'XData',zdata,'YData',orbite_x(zdata),'Visible','On');
+% % 
+% % % bargraphes
+% % set(hbar9(1),'YData',liste_HCOR,'Visible','On');
+% % %set(hbar10(1),'YData',liste_VCOR,'Visible','On');
+
+%disp('je craque');
+
+
+% --- Executes during object creation, after setting all properties.
+function ICH_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ICH_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function ICH_slider1_Callback(hObject, eventdata, handles)
+% hObject    handle to ICH_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+% afficher dans l'editeur la valeur de courant
+ set(handles.ICH_edit1,'String',...
+             num2str(get(handles.ICH_slider1,'Value')));
+
+% rechercher le numero du correcteur selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+
+% rechercher le nom du correcteur selectionne
+%device = getappdata(handles.figure1,'device_CH');
+
+
+% appliquer le courant entrï¿œ manuellement
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+ICH = get(handles.ICH_edit1,'String');
+setsp('HCOR',str2num(ICH),HCOR_liste(valCH,:),handles.mode);
+
+
+% replot des orbites et point et correcteur H
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+% % % replot des orbites et point
+% % k = getappdata(handles.figure1,'n_selection_BPMx');
+% % h3     = get(handles.axes3,'Children');
+% % hline2 = findobj(h3,'-regexp','Tag','line[1,2,3]');
+% % h9     = get(handles.axes9,'Children');
+% % hbar9  = findobj(h9,'-regexp','Tag','bar[1]');
+% % 
+% % % rafraichir les orbites
+% % [orbite_x,orbite_z] = getbpm;
+% % xdata = 1:length(orbite_x);
+% % ydata = 1:length(orbite_z);
+% % zdata = k;
+% % liste_HCOR = getam('HCOR');
+% % 
+% % set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% % set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% % set(hline2(1),'XData',zdata,'YData',orbite_x(zdata),'Visible','On');
+% % 
+% % % bargraphes
+% % set(hbar9(1),'YData',liste_HCOR,'Visible','On');
+%disp('je craque')
+
+% --- Executes during object creation, after setting all properties.
+function ICH_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ICH_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function fichier_sauvegarde_CH_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to fichier_sauvegarde_CH_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fichier_sauvegarde_CH_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of fichier_sauvegarde_CH_edit13 as a double
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function fichier_sauvegarde_CH_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fichier_sauvegarde_CH_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_CH_pushbutton20.
+function sauvegarder_CH_pushbutton20_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_CH_pushbutton20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Determine file and directory name
+
+FileName = 'H';
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/Ringdata/';
+DirectoryName = '/home/PM/tordeux/matlab/applications/Ring/';
+%% exemple pour le RCM : DirectoryName = getfamilydata('Directory','FAEData');
+
+TimeStamp = clock;
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.fichier_sauvegarde_CH_edit13,'String',FileName);
+
+% Save all data in structure to file
+
+%DirStart = '/home/PM/nadolski/controlroom/measdata/Ringdata/'
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName); 
+xdata = getam('HCOR',handles.mode);
+%ydata = getam('VCOR');
+% xdata = getappdata(handles.figure1,'xdata');
+% ydata = getappdata(handles.figure1,'ydata');
+try
+   
+    save(FileName, 'xdata');
+
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_CH_pushbutton21.
+function restaurer_CH_pushbutton21_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_CH_pushbutton21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/Ringdata/';
+DirectoryName = '/home/PM/tordeux/matlab/applications/Ring';
+%DirectoryName = getfamilydata('Directory','FAEData')
+
+%DirStart = '/home/PM/nadolski/controlroom/measdata/Ringdata/';
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    setsp('HCOR',xdata,handles.mode);
+    %setsp('VCOR',ydata);
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+
+% --- Executes on button press in CH_SVD_pushbutton22.
+function CH_SVD_pushbutton22_Callback(hObject, eventdata, handles)
+% hObject    handle to CH_SVD_pushbutton22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% nbre de correcteurs utilisï¿œs dans la correction SVD
+nbcorrSVD = get(handles.nb_correcteurs_H_edit17,'String');
+nbcorrSVD = str2num(nbcorrSVD);
+
+% relire le pourcentage ï¿œ appliquer sur les valeurs de correcteurs
+pourcentage_H = str2num(get(handles.pourcentage_H_edit16,'String'));
+
+% correcteur actuellement selectionnï¿œ
+valCH = getappdata(handles.figure1,'n_selection_CH');
+%if isequal(valCH,0)|isequal(valCH,1)
+if valCH<nbcorrSVD
+    errordlg('selectionnez un nombre adï¿œquat de correcteurs !','Attention');
+    % sortir de la fonction
+    return
+end
+
+Meff = getappdata(handles.figure1,'Meff'); % matrice d'efficacite
+BPMx = getappdata(handles.figure1,'BPMx'); % Orbit H
+HCOR = getappdata(handles.figure1,'HCOR'); % Correcteurs H
+
+% enregistrement des correcteurs avant correction
+liste = getam('HCOR',handles.mode);
+val_corr_CH = liste(valCH-nbcorrSVD+1:valCH); % Dangerux de pas travailler sur deviceliste
+setappdata(handles.figure1,'val_corr_CH',val_corr_CH);
+
+% correction SVD avec les N correcteurs et...
+% tous les BPM compris entre depuis le valCH-N+1 correcteur et jusqu'au correcteur
+% suivant  valCH + 1
+
+% on tiend compte du status du BPM, eventuellement mis ï¿œ 0 pour cause de
+% lecture non fiable, ou bien ??
+BPMx_status = family2status('BPMx');
+
+% extraire la matrice
+% l'efficacitï¿œ vis ï¿œ vis d'un BPMx "inactif" est mise ï¿œ 0
+flag = 0;
+liste_elem_BPM = [];
+for j = 1 : length(BPMx.Position)
+    if BPMx.Position(j)>HCOR.Position(valCH-nbcorrSVD+1)  
+        if valCH~=length(HCOR.Position)&BPMx.Position(j)>HCOR.Position(valCH+1)
+            break
+        end
+        flag = flag + 1;
+        liste_elem_BPM = [liste_elem_BPM j]; 
+        Meffloc(flag,:) = Meff(j,valCH-nbcorrSVD+1:valCH) * BPMx_status(j);
+    end
+end
+nbBPM  = flag;
+% controle :
+%Meffloc = Meffloc
+%disp('coucou')    ; 
+
+% correction SVD 
+liste_dev_BPM = elem2dev('BPMx',liste_elem_BPM);
+%% tests
+%liste_dev_BPM = liste_dev_BPM(3:4,1:2)
+%Meffloc = Meffloc(3:4,1:2)
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+liste_dev_HCOR = HCOR_liste(valCH-nbcorrSVD+1:valCH,:);
+
+%%%%
+BPMindex = family2atindex('BPMx',liste_dev_BPM);
+spos = getspos('BPMx');
+
+clear X01;
+%X0 = [0.5e-3 0.5e-3 1e-3 1e-3 0 0]';
+% gï¿œnï¿œration d'une ellipse 1 sigma ï¿œventuellement dï¿œcentrï¿œe
+eps = 150e-9;
+betax = 3 ;betaz = 3 ;
+alphax = 0;alphaz = 0;
+deltax = 2e-3;deltaz = 2e-3;
+deltaxp = 1e-3;deltazp = 1e-3;
+%     eps = 0e-9;
+%     betax = 3 ;
+%     alphax = 0;
+%     deltax = 0e-3;
+%     deltaxp = 0e-3;
+X0 = [sqrt(eps * betax) + deltax 0 sqrt(eps * betaz) + deltaz 0 0 0 ;...
+      0  sqrt(eps / betax) + deltaxp 0 sqrt(eps / betaz) + deltazp 0 0 ;...
+      -sqrt(eps * betax)+ deltax 0 -sqrt(eps * betaz)+ deltaz 0 0 0 ;...
+      0  -sqrt(eps / betax)+deltaxp 0 -sqrt(eps / betaz)+deltazp 0 0 ]';
+  
+% nP = nbre de particules trackï¿œes
+nP = size(X0,2);
+setappdata(handles.figure1,'orbite_entry',X0);
+global THERING
+nbtour = 1;
+X01 = zeros(nbtour, 6, nP*length(BPMindex));
+
+for k=1:nbtour,
+    X01(k,:,:) = linepass(THERING, X0, BPMindex);
+    %X0 = X01(k,:,end)';
+end
+Xa = squeeze(X01(1,1,:));
+%Za = squeeze(X01(1,3,:));
+if nP>1
+    X = [];
+    %Z = [];
+    for nBPM = 1:length(BPMindex)
+        X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+        %Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+    end
+    X = X';
+    %Z = Z';
+else
+    X = Xa;
+    %Z = Za;
+end
+% ï¿œcrire ï¿œ l'ï¿œcran
+%X = X
+
+%%%
+
+% % % x = getx(liste_dev_BPM,'struct');
+% % % x.Data
+hcm = getsp('HCOR',liste_dev_HCOR,'struct');
+[U,S,V] = svd(Meffloc);
+setappdata(handles.figure1,'S',S);
+DiagS = diag(S);
+
+% test si le nombre de valeurs propres a ï¿œtï¿œ modifiï¿œ dans l'interface 
+% "valeurs singuliï¿œres"
+nbvp = getappdata(handles.figure1,'valvp');
+
+
+% si le nbre n'a pas ï¿œtï¿œ modifiï¿œ et qu'il est incompatible :
+% if nbvp ==0||nbvp>size(S,2)
+%     nbvp = size(S,2);
+if nbvp ==0||nbvp>length(DiagS)
+    nbvp = length(DiagS);    
+end
+% affichage 
+disp(strcat('nombre de valeurs propres sï¿œlectionnï¿œes :',num2str(nbvp)))
+
+%S = S
+% % test valeurs propres
+% rap = 0.1;
+% nbvp = 1;
+% for p = 2:length(liste_dev_HCOR);
+%     if S(p,p)<rap*S(1,1);
+%         break
+%     end
+%     nbvp = nbvp + 1;
+% end
+
+Rmod = Meffloc * V;
+Rmod1 = Meffloc * V(:,1:nbvp);
+% % % B5 = Rmod5\ (x.Data);
+% % % B1 = Rmod1\ (x.Data);
+B = Rmod\ (X * 1000);
+B1 = Rmod1\ (X * 1000);
+
+%DeltaCM = V * B;
+DeltaCM1 = V(:,1:nbvp) * B1;
+stepsp('HCOR',-DeltaCM1* pourcentage_H*0.01 ,liste_dev_HCOR,handles.mode);
+
+% calcul nouvelles orbites
+for k=1:nbtour,
+    X01(k,:,:) = linepass(THERING, X0, BPMindex);
+    %X0 = X01(k,:,end)';
+end
+Xa = squeeze(X01(1,1,:));
+%Za = squeeze(X01(1,3,:));
+if nP>1
+    X = [];
+    %Z = [];
+    for nBPM = 1:length(BPMindex)
+        X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+        %Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+    end
+    X = X';
+    %Z = Z';
+else
+    X = Xa;
+    %Z = Za;
+end
+% ï¿œcrire ï¿œ l'ï¿œcran
+%X = X
+%Z = Z
+
+%setappdata(handles.figure1,'orbite_H',X*1000);
+%setappdata(handles.figure1,'orbite_V',Z*1000);
+%%%
+
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+
+% ï¿œcrire la nouvelle valeur correcteur nï¿œvalCH dans l'edit
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+disp('eh oui')
+
+% --- Executes on selection change in CV_popupmenu3.
+function CV_popupmenu3_Callback(hObject, eventdata, handles)
+% hObject    handle to CV_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns CV_popupmenu3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from CV_popupmenu3
+
+
+VCOR = getappdata(handles.figure1,'VCOR');
+% attribution du numero du correcteur (on enlï¿œve le titre)
+valCV = get(hObject,'Value')-1;
+% attribution du nom du device selectionne dans "device"
+
+switch valCV
+    case 1
+            %device = HCOR.DeviceName(1);
+            % desactiver le pushbutton "correcteur precedent"
+            set(handles.CV_precedent_pushbutton23,'Enable','off');
+            % activer le pushbutton "correcteur suivant"
+            set(handles.CV_suivant_pushbutton24,'Enable','on');
+    case size(VCOR.DeviceName,1)
+            %device = HCOR.DeviceName(size(HCOR.DeviceName,1));
+            % activer le pushbutton "correcteur precedent"
+            set(handles.CV_precedent_pushbutton23,'Enable','on');
+            % desactiver le pushbutton "correcteur suivant"
+            set(handles.CV_suivant_pushbutton24,'Enable','off');
+end
+
+for k = 2:size(VCOR.DeviceName,1)-1
+    switch valCV
+        case k
+            %device = HCOR.DeviceName(k);
+            % activer le pushbutton "correcteur precedent"
+            set(handles.CV_precedent_pushbutton23,'Enable','on');
+            % activer le pushbutton "correcteur suivant"
+            set(handles.CV_suivant_pushbutton24,'Enable','on');
+    end
+end
+
+
+%disp('coucou')
+
+% afficher dans ICH_edit1 la valeur actuelle du courant du correcteur selectionne
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ VCOR]
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+set(handles.VCOR_text23,'String',...
+    strcat(num2str(valCV),'   [',num2str(VCOR_liste(valCV,:)),']'));
+
+if valCV>0
+    % enregistrer le numero du correcteur selectionne
+    setappdata(handles.figure1,'n_selection_CV',valCV);
+%     % enregistrer le nom du correcteur selectionne
+%     setappdata(handles.figure1,'device_CH',device);
+else
+    % initialiser le nom du correcteur
+    setappdata(handles.figure1,'device_CV','');
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','off');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','off');
+end
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+
+% % rafraichir le BPM consecutif selectionnï¿œ
+% h3     = get(handles.axes3,'Children');
+% hline3 = findobj(h3,'-regexp','Tag','line[4]');
+% BPMz = getappdata(handles.figure1,'BPMz');
+% VCOR = getappdata(handles.figure1,'VCOR');
+% valCV = getappdata(handles.figure1,'n_selection_CV');
+% [orbite_x,orbite_z] = getbpm;
+% if valCV>0
+%     for k = valCV:length(BPMz.Position)
+%         if BPMz.Position(k) > VCOR.Position(valCV)
+%             setappdata(handles.figure1,'n_selection_BPMz',k)
+%             set(hline3(1),'XData', k, 'YData', orbite_z(k),'Visible','On');
+%             break
+%         end
+%     end
+% end
+
+
+function VCOR_text23_CreateFcn(hObject, eventdata, handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function CV_popupmenu3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in CV_precedent_pushbutton23.
+function CV_precedent_pushbutton23_Callback(hObject, eventdata, handles)
+% hObject    handle to CV_precedent_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nombre max de correcteurs V 
+maxvalCV = getappdata(handles.figure1,'maxvalCV');
+
+% numero du correcteur actuellement selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+%selectionner dans la liste le correcteur precedent
+set(handles.CV_popupmenu3,'Value',valCV);
+% enregistrer le nouveau numero de correcteur de la liste
+valCV = valCV - 1;
+setappdata(handles.figure1,'n_selection_CV',valCV);
+% enregistrer le correcteur 
+%setappdata(handles.figure1,'
+
+if valCV>=maxvalCV
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','on');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','off'); 
+elseif 1>=valCV
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','off');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','on');
+else
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','on');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','on');
+end
+
+
+% afficher dans ICV_edit14 la valeur actuelle du courant du correcteur selectionne
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ VCOR]
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+set(handles.VCOR_text23,'String',...
+    strcat(num2str(valCV),'   [',num2str(VCOR_liste(valCV,:)),']'));
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+
+% % % rafraichir le BPM consecutif selectionnï¿œ
+% % h3     = get(handles.axes3,'Children');
+% % hline3 = findobj(h3,'-regexp','Tag','line[4]');
+% % BPMz = getappdata(handles.figure1,'BPMz');
+% % VCOR = getappdata(handles.figure1,'VCOR');
+% % valCV = getappdata(handles.figure1,'n_selection_CV');
+% % [orbite_x,orbite_z] = getbpm;
+% % if valCV>0
+% %     for k = valCV:length(BPMz.Position)
+% %         if BPMz.Position(k) > VCOR.Position(valCV)
+% %             setappdata(handles.figure1,'n_selection_BPMz',k)
+% %             set(hline3(1),'XData', k, 'YData', orbite_z(k),'Visible','On');
+% %             break
+% %         end
+% %     end
+% % end
+
+
+% --- Executes on button press in CV_suivant_pushbutton24.
+function CV_suivant_pushbutton24_Callback(hObject, eventdata, handles)
+% hObject    handle to CV_suivant_pushbutton24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nombre max de correcteurs V + en tete popupmenu
+maxvalCV = getappdata(handles.figure1,'maxvalCV');
+
+% numero du correcteur actuellement selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+%selectionner dans la liste le correcteur suivant
+set(handles.CV_popupmenu3,'Value',valCV+2);
+% enregistrer la nouvelle valeur de la liste
+valCV = valCV + 1;
+setappdata(handles.figure1,'n_selection_CV',valCV);
+if valCV>=maxvalCV
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','on');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','off'); 
+elseif 1>=valCV
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','off');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','on');
+else
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','on');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','on');
+end
+
+
+% afficher dans ICV_edit14 la valeur actuelle du courant du correcteur selectionne
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ VCOR]
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+set(handles.VCOR_text23,'String',...
+    strcat(num2str(valCV),'   [',num2str(VCOR_liste(valCV,:)),']'));
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+
+% % rafraichir le BPM consecutif selectionnï¿œ
+% h3     = get(handles.axes3,'Children');
+% hline3 = findobj(h3,'-regexp','Tag','line[4]');
+% BPMz = getappdata(handles.figure1,'BPMz');
+% VCOR = getappdata(handles.figure1,'VCOR');
+% valCV = getappdata(handles.figure1,'n_selection_CV');
+% [orbite_x,orbite_z] = getbpm;
+% if valCV>0
+%     for k = valCV:length(BPMz.Position)
+%         if BPMz.Position(k) > VCOR.Position(valCV)
+%             setappdata(handles.figure1,'n_selection_BPMz',k)
+%             set(hline3(1),'XData', k, 'YData', orbite_z(k),'Visible','On');
+%             break
+%         end
+%     end
+% end
+
+
+function ICV_edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to ICV_edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ICV_edit14 as text
+%        str2double(get(hObject,'String')) returns contents of ICV_edit14 as a double
+
+
+% rechercher le numero du correcteur selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+
+% rechercher le nom du correcteur selectionne
+%device = getappdata(handles.figure1,'device_CV');
+
+
+% appliquer le courant entrï¿œ manuellement
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+ICV = get(handles.ICV_edit14,'String');
+setsp('VCOR',str2num(ICV),VCOR_liste(valCV,:),handles.mode)
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',str2num(ICV));
+
+% replot des orbites et point et correcteur V
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+% k = getappdata(handles.figure1,'n_selection_BPMz');
+% h3     = get(handles.axes3,'Children');
+% hline2 = findobj(h3,'-regexp','Tag','line[1,2,4]');
+% % h9     = get(handles.axes9,'Children');
+% % hbar9  = findobj(h9,'-regexp','Tag','bar[1]');
+% h10     = get(handles.axes10,'Children');
+% hbar10  = findobj(h10,'-regexp','Tag','bar[2]');
+% [orbite_x,orbite_z] = getbpm;
+% xdata = 1:length(orbite_x);
+% ydata = 1:length(orbite_z);
+% zdata = k;
+% 
+% liste_HCOR = getam('HCOR');
+% liste_VCOR = getam('VCOR'); 
+% 
+% % linegraphes
+% set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% set(hline2(1),'XData',zdata,'YData',orbite_z(zdata),'Visible','On');
+% 
+% 
+% % bargraphes
+% %set(hbar9(1),'YData',liste_HCOR,'Visible','On');
+% set(hbar10(1),'YData',liste_VCOR,'Visible','On');
+
+%disp('je craque');
+
+% --- Executes during object creation, after setting all properties.
+function ICV_edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ICV_edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function ICV_slider2_Callback(hObject, eventdata, handles)
+% hObject    handle to ICV_slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+% afficher dans l'editeur la valeur de courant
+ set(handles.ICV_edit14,'String',...
+             num2str(get(handles.ICV_slider2,'Value')));
+
+% rechercher le numero du correcteur selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+
+% rechercher le nom du correcteur selectionne
+%device = getappdata(handles.figure1,'device_CV');
+
+
+% appliquer le courant entrï¿œ manuellement
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+ICV = get(handles.ICV_edit14,'String');
+setsp('VCOR',str2num(ICV),VCOR_liste(valCV,:),handles.mode);
+
+% replot des orbites et point et correcteur V
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+% % replot des orbites et point
+% k = getappdata(handles.figure1,'n_selection_BPMz');
+% h3     = get(handles.axes3,'Children');
+% hline2 = findobj(h3,'-regexp','Tag','line[1,2,4]');
+% h10     = get(handles.axes10,'Children');
+% hbar10  = findobj(h10,'-regexp','Tag','bar[2]');
+% 
+% % rafraichir les orbites
+% [orbite_x,orbite_z] = getbpm;
+% xdata = 1:length(orbite_x);
+% ydata = 1:length(orbite_z);
+% zdata = k;
+% liste_VCOR = getam('VCOR');
+% 
+% set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% set(hline2(1),'XData',zdata,'YData',orbite_z(zdata),'Visible','On');
+% 
+% % bargraphes
+% set(hbar10(1),'YData',liste_VCOR,'Visible','On');
+% %disp('je craque')
+
+
+
+% --- Executes during object creation, after setting all properties.
+function ICV_slider2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ICV_slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function fichier_sauvegarde_CV_edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to fichier_sauvegarde_CV_edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fichier_sauvegarde_CV_edit15 as text
+%        str2double(get(hObject,'String')) returns contents of fichier_sauvegarde_CV_edit15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function fichier_sauvegarde_CV_edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fichier_sauvegarde_CV_edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_CV_pushbutton25.
+function sauvegarder_CV_pushbutton25_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_CV_pushbutton25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Determine file and directory name
+
+FileName = 'V';
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/Ringdata/';
+DirectoryName = '/home/PM/tordeux/matlab/applications/Ring/';
+%% exemple pour le RCM : DirectoryName = getfamilydata('Directory','FAEData');
+
+TimeStamp = clock;
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.fichier_sauvegarde_CV_edit15,'String',FileName);
+
+% Save all data in structure to file
+
+%DirStart = '/home/PM/nadolski/controlroom/measdata/Ringdata/'
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName); 
+%xdata = getam('HCOR');
+ydata = getam('VCOR',handles.mode);
+% xdata = getappdata(handles.figure1,'xdata');
+% ydata = getappdata(handles.figure1,'ydata');
+try
+   
+    save(FileName, 'ydata');
+
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_CV_pushbutton26.
+function restaurer_CV_pushbutton26_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_CV_pushbutton26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/Ringdata/';
+DirectoryName = '/home/PM/tordeux/matlab/applications/Ring';
+%DirectoryName = getfamilydata('Directory','FAEData')
+
+%DirStart = '/home/PM/nadolski/controlroom/measdata/Ringdata/';
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    %setsp('HCOR',xdata);
+    setsp('VCOR',ydata,handles.mode);
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in CV_SVD_pushbutton.
+function CV_SVD_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to CV_SVD_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nbre de correcteurs utilisï¿œs dans la correction SVD
+nbcorrSVD_V = get(handles.nb_correcteurs_V_edit,'String');
+nbcorrSVD_V = str2num(nbcorrSVD_V);
+
+% relire le pourcentage ï¿œ appliquer sur les valeurs de correcteurs
+pourcentage_V = str2num(get(handles.pourcentage_V_edit,'String'));
+
+% correcteur actuellement selectionnï¿œ
+valCV = getappdata(handles.figure1,'n_selection_CV');
+%if isequal(valCV,0)|isequal(valCV,1)
+if valCV<nbcorrSVD_V
+    errordlg('selectionnez un nombre adï¿œquat de correcteurs !','Attention');
+    % sortir de la fonction
+    return
+end
+
+Meff_V = getappdata(handles.figure1,'Meff_V');
+BPMz = getappdata(handles.figure1,'BPMz');
+VCOR = getappdata(handles.figure1,'VCOR');
+
+% enregistrement des correcteurs avant correction
+liste = getam('VCOR',handles.mode);
+val_corr_CV = liste(valCV-nbcorrSVD_V+1:valCV);
+setappdata(handles.figure1,'val_corr_CV',val_corr_CV);
+
+% correction SVD avec les N correcteurs et...
+% tous les BPM compris entre depuis le valCV-N+1 correcteur et jusqu'au correcteur
+% suivant  valCV + 1
+
+% on tiend compte du status du BPM, eventuellement mis ï¿œ 0 pour cause de
+% lecture non fiable, ou bien ??
+BPMz_status = family2status('BPMz');
+
+% extraire la matrice
+% l'efficacitï¿œ vis ï¿œ vis d'un BPMz "inactif" est mise ï¿œ 0
+flag = 0;
+liste_elem_BPM = [];
+for j = 1 : length(BPMz.Position)
+    if BPMz.Position(j)>VCOR.Position(valCV-nbcorrSVD_V+1)
+        if valCV < length(VCOR.Position)
+            if valCV~=length(VCOR.Position)&BPMz.Position(j)>VCOR.Position(valCV+1)
+                break
+            end
+        end
+        
+        flag = flag + 1;
+        liste_elem_BPM = [liste_elem_BPM j]; 
+        Meffloc_V(flag,:) = Meff_V(j,valCV-nbcorrSVD_V+1:valCV) * BPMz_status(j);
+    end
+end
+nbBPM  = flag;
+
+% correction SVD 
+liste_dev_BPM = elem2dev('BPMz',liste_elem_BPM);
+%% tests
+%liste_dev_BPM = liste_dev_BPM(3:4,1:2)
+%Meffloc = Meffloc(3:4,1:2)
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+liste_dev_VCOR = VCOR_liste(valCV-nbcorrSVD_V+1:valCV,:);
+
+%%%%
+BPMindex = family2atindex('BPMz',liste_dev_BPM);
+spos = getspos('BPMz');
+
+clear X01;
+%X0 = [0.5e-3 0.5e-3 1e-3 1e-3 0 0]';
+% gï¿œnï¿œration d'une ellipse 1 sigma ï¿œventuellement dï¿œcentrï¿œe
+eps = 150e-9;
+betax = 3 ;betaz = 3 ;
+alphax = 0;alphaz = 0;
+deltax = 2e-3;deltaz = 2e-3;
+deltaxp = 1e-3;deltazp = 1e-3;
+%     eps = 0e-9;
+%     betax = 3 ;
+%     alphax = 0;
+%     deltax = 0e-3;
+%     deltaxp = 0e-3;
+X0 = [sqrt(eps * betax) + deltax 0 sqrt(eps * betaz) + deltaz 0 0 0 ;...
+      0  sqrt(eps / betax) + deltaxp 0 sqrt(eps / betaz) + deltazp 0 0 ;...
+      -sqrt(eps * betax)+ deltax 0 -sqrt(eps * betaz)+ deltaz 0 0 0 ;...
+      0  -sqrt(eps / betax)+deltaxp 0 -sqrt(eps / betaz)+deltazp 0 0 ]';
+  
+% nP = nbre de particules trackï¿œes
+nP = size(X0,2);
+setappdata(handles.figure1,'orbite_entry',X0);
+global THERING
+nbtour = 1;
+X01 = zeros(nbtour, 6, nP*length(BPMindex));
+
+for k=1:nbtour,
+    X01(k,:,:) = linepass(THERING, X0, BPMindex);
+    %X0 = X01(k,:,end)';
+end
+%Xa = squeeze(X01(1,1,:));
+Za = squeeze(X01(1,3,:));
+if nP>1
+    %X = [];
+    Z = [];
+    for nBPM = 1:length(BPMindex)
+        %X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+        Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+    end
+    %X = X';
+    Z = Z';
+else
+    %X = Xa;
+    Z = Za;
+end
+
+hcm = getsp('VCOR',liste_dev_VCOR,'struct');
+[U,S_V,V] = svd(Meffloc_V);
+setappdata(handles.figure1,'S_V',S_V);
+DiagS_V = diag(S_V);
+
+% test si le nombre de valeurs propres a ï¿œtï¿œ modifiï¿œ dans l'interface 
+% "valeurs singuliï¿œres"
+nbvp_V = getappdata(handles.figure1,'valvp_V');
+
+
+% si le nbre n'a pas ï¿œtï¿œ modifiï¿œ et qu'il est incompatible :
+% if nbvp_V ==0||nbvp_V>size(S_V,2)
+%     nbvp_V = size(S_V,2);
+% end
+if nbvp_V ==0||nbvp_V>length(DiagS_V)
+    nbvp_V = length(DiagS_V);
+end
+% affichage 
+disp(strcat('nombre de valeurs propres sï¿œlectionnï¿œes :',num2str(nbvp_V)))
+
+%S = S
+% % test valeurs propres
+% rap = 0.1;
+% nbvp = 1;
+% for p = 2:length(liste_dev_HCOR);
+%     if S(p,p)<rap*S(1,1);
+%         break
+%     end
+%     nbvp = nbvp + 1;
+% end
+
+Rmod1 = Meffloc_V * V(:,1:nbvp_V);
+B1 = Rmod1\ (Z * 1000);
+DeltaCM1_V = V(:,1:nbvp_V) * B1;
+stepsp('VCOR',-DeltaCM1_V* pourcentage_V*0.01 ,liste_dev_VCOR);
+
+% calcul nouvelles orbites
+for k=1:nbtour,
+    X01(k,:,:) = linepass(THERING, X0, BPMindex);
+    %X0 = X01(k,:,end)';
+end
+%Xa = squeeze(X01(1,1,:));
+Za = squeeze(X01(1,3,:));
+if nP>1
+    %X = [];
+    Z = [];
+    for nBPM = 1:length(BPMindex)
+        %X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+        Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+    end
+    %X = X';
+    Z = Z';
+else
+    %X = Xa;
+    Z = Za;
+end
+
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+
+% ï¿œcrire la nouvelle valeur correcteur nï¿œvalCV dans l'edit
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+disp('eh oui')
+
+
+
+% --- Executes on button press in Undo_H_pushbutton28.
+function Undo_H_pushbutton28_Callback(hObject, eventdata, handles)
+% hObject    handle to Undo_H_pushbutton28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% rechercher le numero du correcteur selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+val_corr_CH = getappdata(handles.figure1,'val_corr_CH');
+
+% appliquer les courants precedant la correction SVD
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+setsp('HCOR',val_corr_CH,HCOR_liste(valCH-size(val_corr_CH,1)+1:valCH,:),handles.mode)
+
+% ï¿œcrire l'ancienne valeur correcteur nï¿œvalCH dans l'edit
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+disp('nous y re-voilï¿œ')
+
+% replot des orbites et point et correcteur H
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+
+
+function pourcentage_H_edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to pourcentage_H_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pourcentage_H_edit16 as text
+%        str2double(get(hObject,'String')) returns contents of pourcentage_H_edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pourcentage_H_edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pourcentage_H_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nb_correcteurs_H_edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to nb_correcteurs_H_edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nb_correcteurs_H_edit17 as text
+%        str2double(get(hObject,'String')) returns contents of nb_correcteurs_H_edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nb_correcteurs_H_edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nb_correcteurs_H_edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in valeurs_singulieres_H_pushbutton29.
+function valeurs_singulieres_H_pushbutton29_Callback(hObject, eventdata, handles)
+% hObject    handle to valeurs_singulieres_H_pushbutton29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+correction_tour1_singval(handles);
+
+
+% --- Executes on button press in Undo_V_pushbutton.
+function Undo_V_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to Undo_V_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% rechercher le numero du correcteur selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+val_corr_CV = getappdata(handles.figure1,'val_corr_CV');
+
+% appliquer les courants precedant la correction SVD
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+setsp('VCOR',val_corr_CV,VCOR_liste(valCV-size(val_corr_CV,1)+1:valCV,:),handles.mode)
+
+% ï¿œcrire l'ancienne valeur correcteur nï¿œvalCH dans l'edit
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+disp('nous y re-voilï¿œ')
+
+% replot des orbites et point et correcteur H
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+
+function pourcentage_V_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to pourcentage_V_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pourcentage_V_edit as text
+%        str2double(get(hObject,'String')) returns contents of pourcentage_V_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pourcentage_V_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pourcentage_V_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nb_correcteurs_V_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to nb_correcteurs_V_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nb_correcteurs_V_edit as text
+%        str2double(get(hObject,'String')) returns contents of nb_correcteurs_V_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nb_correcteurs_V_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nb_correcteurs_V_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in valeurs_singulieres_V_pushbutton.
+function valeurs_singulieres_V_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to valeurs_singulieres_V_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%correction_tour1_singval_V(handles);
+essai_V(handles);
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+%device_name = getappdata(handles.figure1,'device_name');
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Steerette ?',...
+    'Exit Programme Steerette',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+        %% extraire l'Ã©cran YAG
+        %tango_command_inout(device_name.ecran,'Extract');
+        %fonction_error;
+    otherwise
+        disp('Closing aborted')
+end
Index: /trunk/machine/SOLEIL/StorageRing/steerette/essai_V.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/essai_V.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/essai_V.m	(revision 17)
@@ -0,0 +1,308 @@
+function varargout = essai_V(varargin)
+% ESSAI_V M-file for essai_V.fig
+%      ESSAI_V, by itself, creates a new ESSAI_V or raises the existing
+%      singleton*.
+%
+%      H = ESSAI_V returns the handle to a new ESSAI_V or the handle to
+%      the existing singleton*.
+%
+%      ESSAI_V('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ESSAI_V.M with the given input arguments.
+%
+%      ESSAI_V('Property','Value',...) creates a new ESSAI_V or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before essai_V_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to essai_V_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help essai_V
+
+% Last Modified by GUIDE v2.5 06-Apr-2006 14:22:55
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @essai_V_OpeningFcn, ...
+                   'gui_OutputFcn',  @essai_V_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before essai_V is made visible.
+function essai_V_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to essai_V (see VARARGIN)
+
+% Choose default command line output for essai_V
+handles.output = hObject;
+if iscell(varargin) && ~isempty(varargin)
+    
+    % store handle from caller
+    handles.caller = varargin{1}.figure1;
+    
+    % Get values from Application-Defined data
+    %handles.energie_edit38=findobj(allchild(handles.caller3),...
+    %    'Tag','energie_edit38');
+    handles.nb_correcteurs_V_edit = findobj(allchild(handles.caller),...
+        'Tag','nb_correcteurs_V_edit');
+    
+    
+    % matrice singular values
+    S_V = getappdata(handles.caller,'S_V');
+    V = diag(S_V);
+    
+    % initalisation popupmenu
+    set(handles.val_sing_V_popupmenu, 'String',...
+        {'liste valeurs singulières', V(:)});
+        %{'liste valeurs singulières', sprintf('%3.2f',V(:))});
+    
+    % positionner le popup à la dernière valeur (on prend par défaut toutes
+    % les valeurs propres
+    set(handles.val_sing_V_popupmenu,'Value',size(S_V,2)+1);
+    setappdata(handles.caller,'valvp_V',size(S_V,2));
+    k = get(handles.val_sing_V_popupmenu,'Value') - 1;
+    
+    % plot des valeurs singulières
+    name=['axes' num2str(1)];
+    axes(handles.(name));
+    if size(S_V,2)==0
+        %disp('correction_tour1_singval_V');
+        xdata = 1;
+        V = [0];
+    else
+        xdata = 1:size(S_V,2);
+    end
+    plot(xdata,V,'rs-','Tag','line1');
+    hold on
+    set(handles.(name), 'YGrid','On');
+    set(handles.(name), 'XGrid','On');
+    set(gca, 'YMinorTick','On');
+    %set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'no de la valeur singulière');
+    ylabel(handles.(name),'valeur singulière');
+    if size(S_V,2)>0
+        xlim([1 xdata(end)]);
+    else
+        
+    end
+    
+    % positionner le curseur à la valeur propre choisie
+    if k==0
+        k = 1
+    end
+    plot(k,V(k),'rp','MarkerEdgeColor','k',...
+                    'MarkerFaceColor','r',...
+                    'MarkerSize',14,'Tag','line2');
+    hold off
+end
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% UIWAIT makes essai_V wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = essai_V_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on button press in rafraichir_V_pushbutton.
+function rafraichir_V_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to rafraichir_V_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nbre de correcteurs utilisés dans la correction SVD
+nbcorrSVD_V = get(handles.nb_correcteurs_V_edit,'String');
+nbcorrSVD_V = str2num(nbcorrSVD_V);
+% correcteur actuellement selectionné
+valCV = getappdata(handles.caller,'n_selection_CV');
+%if isequal(valCV,0)|isequal(valCVV,1)
+if valCV<nbcorrSVD_V
+    errordlg('avancez à un nombre adéquat de correcteurs !','Attention');
+    % sortir de la fonction
+    return
+end
+Meff_V = getappdata(handles.caller,'Meff_V');
+BPMz = getappdata(handles.caller,'BPMz');
+VCOR = getappdata(handles.caller,'VCOR');
+% extraire la matrice 
+flag = 0;
+liste_elem_BPM = [];
+for j = 1 : length(BPMz.Position)
+    if BPMz.Position(j)>VCOR.Position(valCV-nbcorrSVD_V+1)  
+        if valCV~=length(VCOR.Position)&BPMz.Position(j)>VCOR.Position(valCV+1)
+            break
+        end
+        flag = flag + 1;
+        liste_elem_BPM = [liste_elem_BPM j]; 
+        Meffloc_V(flag,:) = Meff_V(j,valCV-nbcorrSVD_V+1:valCV);
+    end
+end
+% nbBPM  = flag;
+% liste_dev_BPM = elem2dev('BPMx',liste_elem_BPM);
+% HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+% liste_dev_HCOR = HCOR_liste(valCH-nbcorrSVD+1:valCH,:);
+% BPMindex = family2atindex('BPMx',liste_dev_BPM);
+% spos = getspos('BPMx');
+% hcm = getsp('HCOR',liste_dev_HCOR,'struct');
+[U,S_V,V] = svd(Meffloc_V);
+setappdata(handles.caller,'S_V',S_V);
+
+
+
+
+% matrice singular values
+
+V = diag(S_V);
+
+% initalisation popupmenu
+set(handles.val_sing_V_popupmenu, 'String',...
+    {'liste valeurs singulières', V(:)});
+    %{'liste valeurs singulières', sprintf('%3.2f',V(:))});
+
+% positionner le popup à la dernière valeur (on prend par défaut toutes
+% les valeurs propres
+set(handles.val_sing_V_popupmenu,'Value',size(S_V,2)+1);
+setappdata(handles.caller,'valvp_V',size(S_V,2));
+k = get(handles.val_sing_V_popupmenu,'Value') - 1;
+if k==0
+    k = 1;
+end
+% replot des orbites
+h     = get(handles.axes1,'Children');
+hline = findobj(h,'-regexp','Tag','line[1,2]');
+
+% plot des valeurs singulières
+name=['axes' num2str(1)];
+axes(handles.(name));
+xdata = 1:size(S_V,2);
+
+%plot(xdata,V,'rs-','Tag','line1');
+if isequal(isempty(xdata),1)
+    xdata = [1];
+    V = [0];
+else
+    xlim([1 xdata(end)]);
+end
+set(hline(2),'XData',xdata,'YData',V,'Visible','On');
+set(hline(1),'XData',k,'YData',V(k),'Visible','On');
+
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% --------------------------------------------------------------------
+function CloseMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to CloseMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+                     ['Close ' get(handles.figure1,'Name') '...'],...
+                     'Yes','No','Yes');
+if strcmp(selection,'No')
+    return;
+end
+
+delete(handles.figure1)
+
+
+% --- Executes on selection change in val_sing_V_popupmenu.
+function val_sing_V_popupmenu_Callback(hObject, eventdata, handles)
+% hObject    handle to val_sing_V_popupmenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns val_sing_V_popupmenu contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from val_sing_V_popupmenu
+
+S_V = getappdata(handles.caller,'S_V');
+
+% attribution du numero de la valeur propre (on enlève le titre)
+valvp_V = get(hObject,'Value')-1;
+
+setappdata(handles.caller,'valvp_V',valvp_V)
+handles.valvp_V = getappdata(handles.caller,'valvp_V');
+% % Update handles structure
+guidata(hObject, handles);
+
+h     = get(handles.axes1,'Children');
+hline = findobj(h,'-regexp','Tag','line[2]');
+
+% plot de la valeur singulière limite selectionnée
+name=['axes' num2str(1)];
+axes(handles.(name));
+
+% matrice singular values
+S_V = getappdata(handles.caller,'S_V');
+V = diag(S_V);
+set(hline(1),'XData',valvp_V,'YData',V(valvp_V),'Visible','On');
+
+
+disp('hello')
+
+
+% --- Executes during object creation, after setting all properties.
+function val_sing_V_popupmenu_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to val_sing_V_popupmenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
Index: /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_corr.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_corr.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_corr.m	(revision 17)
@@ -0,0 +1,13 @@
+function mycallback_steerette_corr(arg1,arg2,hObject, eventdata, handles)
+
+% replot correcteur H/V
+h9     = get(handles.axes9,'Children');
+hbar9  = findobj(h9,'-regexp','Tag','bar[1]');
+h10     = get(handles.axes10,'Children');
+hbar10  = findobj(h10,'-regexp','Tag','bar[2]');
+liste_HCOR = getam('HCOR', handles.mode);
+liste_VCOR = getam('VCOR', handles.mode); 
+
+% bargraphes
+set(hbar9(1),'YData',liste_HCOR,'Visible','On');
+set(hbar10(1),'YData',liste_VCOR,'Visible','On');
Index: /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_heure.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_heure.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_heure.m	(revision 17)
@@ -0,0 +1,5 @@
+function mycallback_steerette_heure(arg1,arg2,hObject, eventdata, handles)
+
+set(handles.date_et_heure_text20,'String',datestr(clock,31));
+
+
Index: /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_new.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_new.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_new.m	(revision 17)
@@ -0,0 +1,36 @@
+function mycallback_steerette_new(arg1,arg2,hObject, eventdata, handles)
+
+%set(handles.date_et_heure_text20,'String',datestr(clock,31));
+handles.mode = getappdata(handles.figure1,'Mode');
+% % % % replot des orbites  et correcteur H/V
+% % % k = getappdata(handles.figure1,'n_selection_BPMx');
+% % % h3     = get(handles.axes3,'Children');
+% % % hline2 = findobj(h3,'-regexp','Tag','line[1,2,3]');
+% % % h9     = get(handles.axes9,'Children');
+% % % hbar9  = findobj(h9,'-regexp','Tag','bar[1]');
+% % % h10     = get(handles.axes10,'Children');
+% % % hbar10  = findobj(h10,'-regexp','Tag','bar[2]');
+% % % [orbite_x,orbite_z] = getbpm;
+% % % xdata = 1:length(orbite_x);
+% % % ydata = 1:length(orbite_z);
+% % % zdata = k;
+% % % 
+% % % liste_HCOR = getam('HCOR');
+% % % liste_VCOR = getam('VCOR'); 
+% % % 
+% % % % linegraphes
+% % % set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% % % set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% % % %set(hline2(1),'XData',zdata,'YData',orbite_x(zdata),'Visible','On');
+% % % 
+% % % % bargraphes
+% % % set(hbar9(1),'YData',liste_HCOR,'Visible','On');
+% % % set(hbar10(1),'YData',liste_VCOR,'Visible','On');
+
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+disp('un coup')
+
+
Index: /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_orbites.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_orbites.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_orbites.m	(revision 17)
@@ -0,0 +1,107 @@
+function mycallback_steerette_orbites(arg1,arg2,hObject, eventdata, handles)
+
+
+handles.mode = getappdata(handles.figure1,'Mode');
+
+BPMx = getappdata(handles.figure1,'BPMx');
+BPMz = getappdata(handles.figure1,'BPMz');
+
+% replot des orbites
+h3     = get(handles.axes3,'Children');
+hline2 = findobj(h3,'-regexp','Tag','line[1,2,3]');
+h8     = get(handles.axes8,'Children');
+hline8 = findobj(h8,'-regexp','Tag','line[8]');
+
+if strcmp(handles.mode,'Model')
+
+    % calcul nouvelles orbites
+    X0 = getappdata(handles.figure1,'orbite_entry');
+    nP = size(X0,2);
+    BPMindex = family2atindex('BPMx');
+    global THERING
+    nbtour = 1;
+    X01 = zeros(nbtour, 6, nP*length(BPMindex));
+
+    for k=1:nbtour,
+        X01(k,:,:) = linepass(THERING, X0, BPMindex);
+        %X0 = X01(k,:,end)';
+    end
+    Xa = squeeze(X01(1,1,:));
+    Za = squeeze(X01(1,3,:));
+    if nP>1
+        X = [];
+        Z = [];
+        for nBPM = 1:length(BPMindex)
+            X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+            Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+        end
+        orbite_x = X'*1000;
+        orbite_z = Z'*1000;
+        orbite_sum = 1e6*(0.75 + 0.5*rand(length(BPMindex),1))';
+    else
+        orbite_x = Xa*1000;
+        orbite_z = Za*1000;
+        orbite_sum = 1e6*(0.75 + 0.5*rand(length(BPMindex),1))';
+    end
+    
+    xdata = BPMx.Position;
+    ydata = BPMz.Position;
+    sdata = BPMx.Position;
+    
+else
+        % test anneau
+        %BPMx.DeviceList = [1     2;1     3;1     4;1     5;1     6]
+        
+        sleep(2); % test : attente de 2 seconde pour que les alims 
+        % se mettent Ã  leur valeurs et les BPM rafraichissent
+        %[X Z Sum] = anabpmfirstturn( BPMx.DeviceList,'MaxSum','NoDisplay'); % ancienne version
+        %
+
+        if strcmp(handles.orbite,'transport - max Sum') % orbite Ã  corriger type transport
+            %[X] = anabpmfirstturn( BPMx.DeviceList );
+            %[X] = anabpmfirstturn( liste_dev_BPM,'NoDisplay' ); % X en mm premier tour ANCIENNE VERSION
+            nbturns = 1;
+            [X Z Sum idx] = anabpmnfirstturns( BPMx.DeviceList,nbturns,'NoDisplay2'); % X en mm premier tour
+            idx
+            
+        elseif strcmp(handles.orbite,'transport - tour fixe') % orbite Ã  corriger type transport
+            ifirstturn = str2num(get(handles.tour_fixe_T_edit,'String')); % numero du premier tour
+            nbturns = 1;
+            [X Z Sum] = anabpmnfirstturns( BPMx.DeviceList,nbturns,ifirstturn,'NoDisplay2','NoMaxSum'); % X en mm premier tour
+            
+        else
+            % moyenne de l'orbite Ã  corriger sur n tours
+            ifirstturn = str2num(get(handles.tour_fixe_OF_edit,'String')); % numero du premier tour
+            nturns = str2num(get(handles.Ntours_edit,'String'));
+            [X Z Sum] = anabpmnfirstturns(BPMx.DeviceList,nturns,ifirstturn,'NoDisplay2','NoMaxSum');
+            X = mean(X) ;% moyenne par BPM
+            Z = mean(Z);
+            Sum = mean(Sum);
+            
+        end
+
+        orbite_x = X';
+        orbite_z = Z';
+        orbite_sum = Sum';
+
+        xdata  = getspos('BPMx',BPMx.DeviceList);
+        ydata  = getspos('BPMz',BPMz.DeviceList);
+        sdata  = getspos('BPMx',BPMx.DeviceList);
+
+end
+
+setappdata(handles.figure1,'orbite_x',orbite_x);
+setappdata(handles.figure1,'orbite_z',orbite_z);
+
+% xdata = BPMx.Position;
+% ydata = BPMz.Position;
+% sdata = BPMx.Position;
+% %xdata = 1:length(orbite_x);
+% %ydata = 1:length(orbite_z);
+% %sdata = 1:length(orbite_sum);
+
+
+% linegraphes
+set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+set(hline8(1),'XData',sdata,'YData',orbite_sum,'Visible','On');
Index: /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_orbites_PR.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_orbites_PR.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_orbites_PR.m	(revision 17)
@@ -0,0 +1,75 @@
+function mycallback_steerette_orbites_PR(arg1,arg2,hObject, eventdata, handles)
+
+
+handles.mode = getappdata(handles.figure1,'Mode');
+handles.orbite = getappdata(handles.figure1,'Orbite');
+
+BPMx = getappdata(handles.figure1,'BPMx');
+BPMz = getappdata(handles.figure1,'BPMz');
+BPMxDeviceListPR = getappdata(handles.figure1,'BPMxDeviceListPR');
+
+% replot des orbites
+h11     = get(handles.axes11,'Children');
+hline11 = findobj(h11,'-regexp','Tag','line[1,2]');
+h13     = get(handles.axes13,'Children');
+hline13 = findobj(h13,'-regexp','Tag','line[1,2,3,4]');
+
+if strcmp(handles.orbite,'orbite fermÃ©e')
+    errordlg('changer le mode orbite en "transport" !','Attention');
+    return
+else
+    if strcmp(handles.mode,'Model')
+        errordlg('changer le mode en "online" !','Attention');
+        return
+    else
+        % test anneau
+        %BPMx.DeviceList = [1     2;1     3;1     4;1     5;1     6]
+        %[X Y Sum] = anabpmnfirstturns(BPMxDeviceListPR,2,'NoDisplay2');   % 2 tours ancienne version
+        sleep(2); % test : attente de 2 seconde 
+        if strcmp(handles.orbite,'transport - max Sum') % orbite Ã  corriger type transport
+            %[X] = anabpmfirstturn( BPMx.DeviceList );
+            %[X] = anabpmfirstturn( liste_dev_BPM,'NoDisplay' ); % X en mm premier tour ANCIENNE VERSION
+            nbturns = 2;
+            [X Y Sum idx] = anabpmnfirstturns( BPMxDeviceListPR,nbturns,'NoDisplay2'); % X en mm premier tour
+            idx
+            
+        else strcmp(handles.orbite,'transport - tour fixe') % orbite Ã  corriger type transport
+            ifirstturn = str2num(get(handles.tour_fixe_T_edit,'String')); % numero du premier tour
+            nbturns = 2;
+            [X Y Sum] = anabpmnfirstturns( BPMxDeviceListPR,nbturns,ifirstturn,'NoDisplay2','NoMaxSum'); % X en mm premier tour
+            
+        end
+        
+        %
+        orbite_x_1 = X(1,:)';
+        orbite_z_1 = Y(1,:)';
+        orbite_sum_1 = Sum(1,:)';
+
+        orbite_x_2 = X(2,:)';
+        orbite_z_2 = Y(2,:)';
+        orbite_sum_2 = Sum(2,:)';
+
+        xdata  = getspos('BPMx',BPMxDeviceListPR);
+        ydata  = getspos('BPMz',BPMxDeviceListPR);
+        sdata  = getspos('BPMx',BPMxDeviceListPR);
+
+    end
+
+    %setappdata(handles.figure1,'orbite_x',orbite_x);
+    %setappdata(handles.figure1,'orbite_z',orbite_z);
+
+    % xdata = BPMx.Position;
+    % ydata = BPMz.Position;
+    % sdata = BPMx.Position;
+    % %xdata = 1:length(orbite_x);
+    % %ydata = 1:length(orbite_z);
+    % %sdata = 1:length(orbite_sum);
+
+    % linegraphes
+    set(hline11(2),'XData',xdata,'YData',orbite_sum_1,'Visible','On');
+    set(hline11(1),'XData',xdata,'YData',orbite_sum_2,'Visible','On');
+    set(hline13(4),'XData',xdata,'YData',orbite_x_1,'Visible','On');
+    set(hline13(3),'XData',xdata,'YData',orbite_x_2,'Visible','On');
+    set(hline13(2),'XData',xdata,'YData',orbite_z_1,'Visible','On');
+    set(hline13(1),'XData',xdata,'YData',orbite_z_2,'Visible','On');
+end
Index: /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_point_H.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_point_H.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_point_H.m	(revision 17)
@@ -0,0 +1,70 @@
+function mycallback_steerette_point_H(arg1,arg2,hObject, eventdata, handles)
+
+% replot des points BPM successifs aux correcteurs selectionnï¿œs
+h3     = get(handles.axes3,'Children');
+hline3 = findobj(h3,'-regexp','Tag','line[3]');
+BPMx = getappdata(handles.figure1,'BPMx');
+HCOR = getappdata(handles.figure1,'HCOR');
+valCH = getappdata(handles.figure1,'n_selection_CH');
+
+%a% version anneau
+%[orbite_x,orbite_z] = getbpm;
+
+%t% version transport
+% % % X0 = getappdata(handles.figure1,'orbite_entry');
+% % % BPMindex = family2atindex('BPMx');
+% % % global THERING
+% % % nb = 1;
+% % % X01 = zeros(nb, 6, length(THERING)+1);
+% % % for k=1:nb,
+% % %     X01(k,:,:) = linepass(THERING, X0, 1:length(THERING)+1);
+% % %     %X0 = X01(k,:,end)';
+% % % end
+% % % orbite_x = squeeze(X01(:,1,BPMindex))'*1000;
+% % % orbite_z = squeeze(X01(:,3,BPMindex))'*1000;
+
+orbite_x = getappdata(handles.figure1,'orbite_x');
+orbite_z = getappdata(handles.figure1,'orbite_z');
+
+
+% if strcmp(handles.mode,'Model')
+%     X0 = getappdata(handles.figure1,'orbite_entry');
+%     nP = size(X0,2);
+%     BPMindex = family2atindex('BPMx');
+%     global THERING
+%     nbtour = 1;
+%     X01 = zeros(nbtour, 6, nP*length(BPMindex));
+% 
+%     for k=1:nbtour,
+%         X01(k,:,:) = linepass(THERING, X0, BPMindex);
+%         %X0 = X01(k,:,end)';
+%     end
+%     Xa = squeeze(X01(1,1,:));
+%     Za = squeeze(X01(1,3,:));
+%     if nP>1
+%         X = [];
+%         Z = [];
+%         for nBPM = 1:length(BPMindex)
+%             X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+%             Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+%         end
+%         orbite_x = X'*1000;
+%         orbite_z = Z'*1000;
+%     else
+%         orbite_x = Xa*1000;
+%         orbite_z = Za*1000;
+%     end
+% else
+%     
+%     
+% end
+
+if valCH>0
+    for k = valCH:length(BPMx.Position)
+        if BPMx.Position(k) > HCOR.Position(valCH)
+            setappdata(handles.figure1,'n_selection_BPMx',k)
+            set(hline3(1),'XData', BPMx.Position(k), 'YData', orbite_x(k),'Visible','On');
+            break
+        end
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_point_V.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_point_V.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/mycallback_steerette_point_V.m	(revision 17)
@@ -0,0 +1,67 @@
+function mycallback_steerette_point_V(arg1,arg2,hObject, eventdata, handles)
+
+% replot des points BPM successifs aux correcteurs selectionnï¿œs
+h3     = get(handles.axes3,'Children');
+hline4 = findobj(h3,'-regexp','Tag','line[4]');
+BPMz = getappdata(handles.figure1,'BPMz');
+VCOR = getappdata(handles.figure1,'VCOR');
+valCV = getappdata(handles.figure1,'n_selection_CV');
+
+%a% version anneau
+%[orbite_x,orbite_z] = getbpm;
+
+%t% version transport
+% % % X0 = getappdata(handles.figure1,'orbite_entry');
+% % % BPMindex = family2atindex('BPMx');
+% % % global THERING
+% % % nb = 1;
+% % % X01 = zeros(nb, 6, length(THERING)+1);
+% % % for k=1:nb,
+% % %     X01(k,:,:) = linepass(THERING, X0, 1:length(THERING)+1);
+% % %     %X0 = X01(k,:,end)';
+% % % end
+% % % orbite_x = squeeze(X01(:,1,BPMindex))'*1000;
+% % % orbite_z = squeeze(X01(:,3,BPMindex))'*1000;
+
+
+
+orbite_x = getappdata(handles.figure1,'orbite_x');
+orbite_z = getappdata(handles.figure1,'orbite_z');
+
+
+% X0 = getappdata(handles.figure1,'orbite_entry');
+% nP = size(X0,2);
+% BPMindex = family2atindex('BPMz');
+% global THERING
+% nbtour = 1;
+% X01 = zeros(nbtour, 6, nP*length(BPMindex));
+% 
+% for k=1:nbtour,
+%     X01(k,:,:) = linepass(THERING, X0, BPMindex);
+%     %X0 = X01(k,:,end)';
+% end
+% Xa = squeeze(X01(1,1,:));
+% Za = squeeze(X01(1,3,:));
+% if nP>1
+%     %X = [];
+%     Z = [];
+%     for nBPM = 1:length(BPMindex)
+%         %X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+%         Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+%     end
+%     %orbite_x = X'*1000;
+%     orbite_z = Z'*1000;
+% else
+%     %orbite_x = Xa*1000;
+%     orbite_z = Za*1000;
+% end
+
+if valCV>0
+    for k = valCV:length(BPMz.Position)
+        if BPMz.Position(k) > VCOR.Position(valCV)
+            setappdata(handles.figure1,'n_selection_BPMz',k)
+            set(hline4(1),'XData', BPMz.Position(k), 'YData', orbite_z(k),'Visible','On');
+            break
+        end
+    end
+end
Index: /trunk/machine/SOLEIL/StorageRing/steerette/steerette.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/steerette.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/steerette.m	(revision 17)
@@ -0,0 +1,2999 @@
+function varargout = steerette(varargin)
+% STEERETTE M-file for steerette.fig
+%      STEERETTE, by itself, creates a new STEERETTE or raises the existing
+%      singleton*.
+%
+%      H = STEERETTE returns the handle to a new STEERETTE or the handle to
+%      the existing singleton*.
+%
+%      STEERETTE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in STEERETTE.M with the given input arguments.
+%
+%      STEERETTE('Property','Value',...) creates a new STEERETTE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before steerette_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to steerette_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help steerette
+
+% Last Modified by GUIDE v2.5 30-May-2006 17:40:55
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @steerette_OpeningFcn, ...
+                   'gui_OutputFcn',  @steerette_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before steerette is made visible.
+function steerette_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to steerette (see VARARGIN)
+
+% Choose default command line output for steerette
+handles.output = hObject;
+
+setappdata(handles.figure1, 'BPMxList', family2dev('BPMx'));
+setappdata(handles.figure1, 'BPMzList', family2dev('BPMz'));
+setappdata(handles.figure1,'BPMxDeviceListPR',[]); 
+% orbite premier tour avec  kick pour mesure partie entiere nombre d'onde
+setappdata(handles.figure1,'orbite_x_coup1',0);
+setappdata(handles.figure1,'orbite_z_coup1',0);
+setappdata(handles.figure1,'orbite_x_coup2',0);
+setappdata(handles.figure1,'orbite_z_coup2',0);
+% enregistrement valeur correcteurs fermeture tour
+setappdata(handles.figure1,'val_corr_CH_PR',0);
+setappdata(handles.figure1,'val_corr_CV_PR',0);
+
+% compteur du nombre d'acquisition orbite transport pour calcul nombre d'onde
+setappdata(handles.figure1,'compteur',0);
+
+% initialisation de la machine
+if isempty(getao) 
+        disp('Warning: CHARGER L''AcceleratorObjects !!!!!!!');
+        return
+else
+        Machine = getfamilydata('SubMachine');
+        switch Machine
+            case 'StorageRing'
+                %% 
+            case 'Booster'
+                %%%
+            otherwise                
+            disp('Warning: Machine not recognized!');
+            return
+        end
+end
+
+% nom nomenclature et positions des correcteurs actifs, positions BPM actifs
+HCOR.DeviceName = family2tangodev('HCOR');% getfamilydata('HCOR','DeviceName',family2dev('HCOR'));
+VCOR.DeviceName = family2tangodev('VCOR');% getfamilydata('VCOR','DeviceName',family2dev('VCOR'));
+HCOR.DeviceList = family2dev('HCOR');% getfamilydata('HCOR','DeviceName',family2dev('HCOR'));
+VCOR.DeviceList = family2dev('VCOR');% getfamilydata('VCOR','DeviceName',family2dev('VCOR'));
+HCOR.Position = getspos('HCOR');% getfamilydata('HCOR','Position',family2dev('HCOR'));
+VCOR.Position =  getspos('VCOR');% getfamilydata('VCOR','Position',family2dev('VCOR'));
+BPMx.Position = getspos('BPMx');% getfamilydata('BPMx','Position',family2dev('BPMx'));
+BPMz.Position = getspos('BPMz');% getfamilydata('BPMz','Position',family2dev('BPMz'));
+BPMx.DeviceList = family2dev('BPMx');
+BPMz.DeviceList = family2dev('BPMz');
+setappdata(handles.figure1,'HCOR',HCOR);
+setappdata(handles.figure1,'VCOR',VCOR);
+setappdata(handles.figure1,'BPMx',BPMx);
+setappdata(handles.figure1,'BPMz',BPMz);
+
+% initalisation popupmenu
+set(handles.CH_popupmenu2, 'String', {'liste correcteurs horizontaux', HCOR.DeviceName{:}});
+set(handles.CV_popupmenu3, 'String', {'liste correcteurs verticaux', VCOR.DeviceName{:}});
+
+% initialisation matrice singular values en H et V
+S = [];S_V = [];
+setappdata(handles.figure1,'S',S);
+setappdata(handles.figure1,'S_V',S_V);
+
+% initialisation nbre de correcteurs utilisï¿œs pour la SVD (ï¿œ 2 !)
+setappdata(handles.nb_correcteurs_H_edit17,'String',num2str(2));
+setappdata(handles.nb_correcteurs_V_edit,'String',num2str(2));
+
+% initialisation du nombre de valeurs propres utilisï¿œes 
+% setappdata(handles.figure1,'valvp',size(S,2));
+% setappdata(handles.figure1,'valvp_V',size(S_V,2));
+DiagS = diag(S); DiagS_V = diag(S_V);
+setappdata(handles.figure1,'valvp',length(DiagS));
+setappdata(handles.figure1,'valvp_V',length(DiagS_V));
+
+
+
+% liste des correcteurs H actifs  type : numero cellule numero correcteur
+% dans la cellule
+HCOR_liste = family2dev('HCOR');
+VCOR_liste = family2dev('VCOR');
+setappdata(handles.figure1,'HCOR_liste',HCOR_liste);
+setappdata(handles.figure1,'VCOR_liste',VCOR_liste);
+
+
+% nombre max de correcteurs
+setappdata(handles.figure1,'maxvalCH',size(HCOR.DeviceName,1));
+setappdata(handles.figure1,'maxvalCV',size(VCOR.DeviceName,1));
+
+% numero du correcteur courant (initialisation)
+setappdata(handles.figure1,'n_selection_CH',0);
+setappdata(handles.figure1,'n_selection_CV',0);
+
+% desactiver le pushbutton "correcteur precedent"
+set(handles.CH_precedent_pushbutton4,'Enable','off');
+set(handles.CV_precedent_pushbutton23,'Enable','off');
+% desactiver le pushbutton "correcteur suivant"
+set(handles.CH_suivant_pushbutton5,'Enable','off'); 
+set(handles.CV_suivant_pushbutton24,'Enable','off'); 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% button group sur switch mode transport ou orbite fermÃ©e
+
+set(handles.Ntours_edit,'Enable','on');% rendre impossible le controle du nombre de tours
+set(handles.tour_fixe_OF_edit,'Enable','on');% rendre impossible le controle du 1er tour moyenne OF
+set(handles.tour_fixe_T_edit,'Enable','on');% rendre impossible le controle du 1er tour fixe transport
+
+w = uibuttongroup('visible','off','Position',[0.41 0.945 .55 .045],...
+    'Title','Orbite','TitlePosition','centertop',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+w1 = uicontrol('Style','Radio','String','transport - max Sum','Tag','radiobutton1',...
+    'pos',[10 0.95 120 20],'parent',w,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+w2 = uicontrol('Style','Radio','String','orbite fermÃ©e','Tag','radiobutton2',...
+    'pos',[320. 0.95 90 20],'parent',w,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+w3 = uicontrol('Style','Radio','String','transport - tour fixe','Tag','radiobutton3',...
+    'pos',[140 0.95 120 20],'parent',w,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+
+% handles.orbite = 'transport - tour fixe';
+% setappdata(handles.figure1,'Orbite','transport - tour fixe');
+
+handles.orbite = 'transport - max Sum';
+setappdata(handles.figure1,'Orbite','transport - max Sum');
+
+
+% set(w,'SelectedObject',w3);  % No selection
+
+set(w,'SelectedObject',w1);  % No selection
+set(w,'Visible','on');
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% button group sur switch mode simulation ou online 
+h = uibuttongroup('visible','off','Position',[0.25 0.945 .15 .045],...
+    'Title','Mode','TitlePosition','centertop',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u1 = uicontrol('Style','Radio','String','MODEL','Tag','radiobutton1',...
+    'pos',[10 0.95 70 20],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+u2 = uicontrol('Style','Radio','String','Online','Tag','radiobutton2',...
+    'pos',[70. 0.95 70 20],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+
+%handles.model = u1;
+%handles.online = u2;
+% 2 faÃ§ons d'enregistrer la variable mode : pas propre mais fait pour gÃ©rer pb variable appelÃ©e par timer
+%handles.mode = 'Model';
+%setappdata(handles.figure1,'Mode','Model');
+% TEST RUN !
+handles.mode = 'Online';
+setappdata(handles.figure1,'Mode','Online');
+
+
+
+
+set(h,'SelectedObject',u2);  % No selection
+set(h,'Visible','on');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Creates timer Infinite loop for TIME
+timer2=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',20.,'TasksToExecute',Inf);
+timer2.TimerFcn = {@mycallback_steerette_heure, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer2',timer2);
+start(timer2);
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',4.,'TasksToExecute',Inf);
+timer1.TimerFcn = {@mycallback_steerette_new, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer',timer1);
+
+%start(timer1);
+
+
+% button group sur switch timer rafraichissement orbites ON OFF
+g = uibuttongroup('visible','off','Position',[0.45 0.57 .15 .045],...
+    'Title','Rafraichissement','TitlePosition','centertop',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+v1 = uicontrol('Style','Radio','String','ON','Tag','radiobutton1',...
+    'pos',[10 0.95 60 25],'parent',g,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+v2 = uicontrol('Style','Radio','String','  OFF','Tag','radiobutton2',...
+    'pos',[90. 0.95 60 25],'parent',g,'HandleVisibility','off',...
+    'BackgroundColor',[0.696 1.0 0.924]);
+
+% handles.on  = v1;
+% handles.off = v2;
+
+% Update handles structure
+guidata(hObject, handles); % Ã§a ne mange pas de pain
+
+set(g,'SelectedObject',v2);  % No selection
+set(g,'Visible','on');
+
+% Update handles structure
+guidata(hObject, handles); % Ã§a ne mange pas de pain
+
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+set(w,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_orbite,handles});
+set(g,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn_timer,handles});
+
+% Update handles structure
+guidata(hObject, handles); % Ã§a ne mange pas de pain
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% This sets up the initial plot - only do when we are invisible
+% so window can get raised using steerette.
+if strcmp(get(hObject,'Visible'),'off')
+
+
+    if strcmp(handles.mode,'Model')
+
+        %t% version transport
+        % gï¿œnï¿œration d'une ellipse 1 sigma et dï¿œcentrement
+        eps = 150e-9;betax = 3 ;betaz = 3 ;alphax = 0;alphaz = 0;
+        deltax = 2e-3;deltaz = 2e-3;deltaxp = 1e-3;deltazp = 1e-3;
+        X0 = [sqrt(eps * betax) + deltax 0 sqrt(eps * betaz) + deltaz 0 0 0 ;...
+            0  sqrt(eps / betax) + deltaxp 0 sqrt(eps / betaz) + deltazp 0 0 ;...
+            -sqrt(eps * betax)+ deltax 0 -sqrt(eps * betaz)+ deltaz 0 0 0 ;...
+            0  -sqrt(eps / betax)+deltaxp 0 -sqrt(eps / betaz)+deltazp 0 0 ]';
+        setappdata(handles.figure1,'orbite_entry',X0);
+
+        % nP = nbre de particules trackees
+        nP = size(X0,2);
+        BPMindex = family2atindex('BPMx');
+        global THERING
+        nbtour = 1;
+        X01 = zeros(nbtour, 6, nP*length(BPMindex));
+
+        for k=1:nbtour,
+            X01(k,:,:) = linepass(THERING, X0, BPMindex);
+            %X0 = X01(k,:,end)';
+        end
+        Xa = squeeze(X01(1,1,:));
+        Za = squeeze(X01(1,3,:));
+        if nP>1
+            X = [];
+            Z = [];
+            for nBPM = 1:length(BPMindex)
+                X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+                Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+            end
+            orbite_x = X'*1000;orbite_z = Z'*1000;
+            orbite_sum = 1e6*(0.75 + 0.5*rand(length(BPMindex),1))';
+        else
+            orbite_x = Xa*1000;orbite_z = Za*1000;
+            orbite_sum = 1e6*(0.75 + 0.5*rand(length(BPMindex),1))';
+        end
+
+    else
+        % entrer lecture BPM tour par tour :selectionner le premier tour
+        % sortir un orbite_x et orbite_z
+        % test anneau
+        %BPMx.DeviceList = [1     2;1     3;1     4;1     5;1     6]
+        [X Z Sum] = anabpmnfirstturns( BPMx.DeviceList ,1,7,'NoDisplay', 'NoDisplay2','MaxSum');
+
+        %
+        orbite_x = X';
+        orbite_z = Z';
+        orbite_sum = Sum';
+    end
+
+    setappdata(handles.figure1,'orbite_x',orbite_x);
+    setappdata(handles.figure1,'orbite_z',orbite_z);
+    setappdata(handles.figure1,'orbite_sum',orbite_sum);
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %% graphe 1 : signal somme
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    name=['axes' num2str(8)];
+    axes(handles.(name));
+    xdata = BPMx.Position;
+    %xdata = 1:length(orbite_sum);
+    plot(xdata,orbite_sum,'c.-','Tag','line8');
+    set(handles.(name), 'YGrid','On','Xgrid','On');
+    set(gca, 'YMinorTick','On');
+    set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'position du BPM');
+    ylabel(handles.(name),'signal somme');
+    %xlim([xdata(1) xdata(end)]);
+    %ylim([0 max(orbite_sum)]);
+    %ylim([0 1.e8]);
+    ylim([0 1.e9]);
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %% graphe 2 : orbite x et z
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    name=['axes' num2str(3)];
+    axes(handles.(name));
+    % plot des orbites
+    xdata = BPMx.Position;
+    %xdata = 1:length(orbite_x);
+    plot(xdata,orbite_x,'r.-','Tag','line1');
+    hold on
+    ydata = BPMz.Position;
+    %ydata = 1:length(orbite_z);
+    plot(ydata,orbite_z,'b.-','Tag','line2');
+    hold on
+
+    % plot des BPM initiaux
+    k = 1;
+    plot(xdata(k),orbite_x(k),'rp','MarkerEdgeColor','k',...
+        'MarkerFaceColor','r',...
+        'MarkerSize',12,'Tag','line3');
+    hold on
+    plot(xdata(k),orbite_z(k),'rp','MarkerEdgeColor','k',...
+        'MarkerFaceColor','b',...
+        'MarkerSize',12,'Tag','line4');
+    hold off
+
+    %% Set defaults
+    set(handles.(name), 'Nextplot','Add');
+    set(handles.(name), 'YGrid','On','Xgrid','On');
+    set(gca, 'YMinorTick','On');
+    set(handles.(name), 'XMinorTick','On');
+    xlabel(handles.(name),'position du BPM');
+    ylabel(handles.(name),'orbites (mm)');
+    %xlim([xdata(1) xdata(end)]);
+    %ylim([-10 10]);
+    ylim([-5 5]);
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %% graphe 3 et 4 : correcteurs
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    name=['axes' num2str(9)];
+    axes(handles.(name));
+    xbar = HCOR.Position;
+    %xbar = 1: size(HCOR.DeviceName,1);
+    ybar = VCOR.Position;
+    %ybar = 1:size(VCOR.DeviceName,1);
+    liste = getam('HCOR',handles.mode);
+    h0 = bar(xbar,liste,'r','Tag','bar1');
+    xlim(handles.(name),[0 max(HCOR.Position)]);
+    %xlim(handles.(name),[0 size(HCOR.DeviceName,1)+1]);
+    %ylim([-1.5 1.5]);
+    ylim(handles.(name),[-10 10]);
+    ylabel(handles.(name),'Icorr H (A)');
+    set(h0, 'FaceColor','r');
+
+    name=['axes' num2str(10)];
+    axes(handles.(name));
+    liste = getam('VCOR',handles.mode);
+    h1 = bar(ybar,liste,'b','Tag','bar2');
+    set(h1, 'FaceColor','b');
+    xlim(handles.(name),[0 max(VCOR.Position)]);
+    %xlim(handles.(name),[0 size(VCOR.DeviceName,1)+1]);
+    ylim(handles.(name),[-13 13]);
+    xlabel(handles.(name),'position du correcteur');
+    ylabel(handles.(name),'Icorr V (A)');
+
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %% graphe 11 : signal somme tour 1 et 2
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    name=['axes' num2str(11)];
+    axes(handles.(name));
+
+    % plot le tour 1 et 2 des BPM [1 2] Ã  [1  7]
+    List = getappdata(handles.figure1, 'BPMxList'); % BPM non deselectionnÃ© et status 1
+    BPMxDeviceListPR = [ 1 2; 1 3 ; 1 4; 1 5; 1 6 ; 1 7];
+    % tests !!!!!!!!!!!!!!!!!!!!!!!!!
+    BPMxDeviceListPR = intersect(List,BPMxDeviceListPR,'rows');
+    setappdata(handles.figure1,'BPMxDeviceListPR',BPMxDeviceListPR);
+
+    if strcmp(handles.mode,'Model')
+        disp('nothing')
+        X = zeros(size(BPMxDeviceListPR,1),1);
+        orbite_x_1  = X ;  orbite_x_2  = X;
+        orbite_z_1 = X  ;  orbite_z_2 = X;
+        orbite_sum_1  = X; orbite_sum_2  = X;
+    else
+        % on prÃ©fÃšre chercher les 2 orbites lorsque on appuyera sur
+        % "rafraichir orbites" ce qui supposera qu'elles auront un sens
+        %X  = zeros(size(BPMxDeviceListPR),1)';Z = X;Sum = X;
+        [X Y Sum] = anabpmnfirstturns(BPMxDeviceListPR,2,'NoDisplay2', 'NoDisplay');   % 2 tours
+        
+        %
+        orbite_x_1 = X(1,:)';
+        orbite_z_1 = Y(1,:)';
+        orbite_sum_1 = Sum(1,:)';
+
+        orbite_x_2 = X(2,:)';
+        orbite_z_2 = Y(2,:)';
+        orbite_sum_2 = Sum(2,:)';
+    end
+
+
+    xdata = getspos('BPMx',BPMxDeviceListPR);
+    plot(xdata,orbite_sum_1,'c.--','Tag','line1');
+    hold on
+    plot(xdata,orbite_sum_2,'c.-','Tag','line2');
+    set(handles.(name), 'YGrid','On','Xgrid','On');
+    set(gca, 'YMinorTick','On');
+    set(handles.(name), 'XMinorTick','On');
+
+    ylabel(handles.(name),'signal somme');
+    xlim([xdata(1) xdata(end)]);
+    %ylim([0 max(orbite_sum)]);
+
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %% graphe 13 : orbite x et z
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+    name=['axes' num2str(13)];
+    axes(handles.(name));
+    % plot des orbites
+    xdata =getspos('BPMx',BPMxDeviceListPR);
+    %xdata = 1:length(orbite_x);
+    plot(xdata,orbite_x_1,'r.--','Tag','line1');
+    hold on
+    plot(xdata,orbite_x_2,'r.-','Tag','line2');
+    hold on
+    %ydata = BPMz.Position;
+    %ydata = 1:length(orbite_z);
+    plot(xdata,orbite_z_1,'b.--','Tag','line3');
+    hold on
+    plot(xdata,orbite_z_2,'b.-','Tag','line4');
+    set(handles.(name), 'YGrid','On','Xgrid','On');
+    set(gca, 'YMinorTick','On');
+    set(handles.(name), 'XMinorTick','On');
+
+    xlabel(handles.(name),'position du BPM');
+    ylabel(handles.(name),'orbite (mm)');
+    xlim([xdata(1) xdata(end)]);
+    ylim([-10 10]);
+
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%  matrice efficacite :
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+enregistrement = 1;
+if enregistrement
+    if strcmp(handles.orbite,'transport - max Sum')
+        % calcul des efficacitï¿œs des correcteurs type transport
+        % eff (CORRI, BPMJ) = sqrt( betaI  * betaJ )  * sin ( phase J - phase I)
+        % SI BPMJ situï¿œ au delï¿œ de CORRI
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % plan H
+        [bxHCOR,bzHCOR] = modelbeta('HCOR');
+        [bxBPM,bzBPM] = modelbeta('BPMx');
+        [phixHCOR,phizHCOR] = modelphase('HCOR');
+        [phixBPM,phizBPM] = modelphase('BPMx');
+        COEFF = hw2physics('HCOR','Setpoint',1) * 1e3 ;  % mrad/A
+
+        for k = 1:length(HCOR.Position)
+            for j = 1:length(BPMx.Position)
+
+                if BPMx.Position(j) > HCOR.Position(k)
+                    % calcul de l'efficacitï¿œ
+                    Meff(j,k) = sqrt(bxHCOR(k)*bxBPM(j)) * sin(phixBPM(j) - phixHCOR(k))*COEFF(k); % mm/A
+                else
+                    Meff(j,k)= 0;
+                end
+
+            end
+        end
+
+        disp('***  Matrice d''efficacitï¿œ H type transport calculÃ©e en mm/A ***')
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % plan V
+        [bxVCOR,bzVCOR] = modelbeta('VCOR');
+        [bxBPM,bzBPM] = modelbeta('BPMz');
+        [phixVCOR,phizVCOR] = modelphase('VCOR');
+        [phixBPM,phizBPM] = modelphase('BPMz');
+        COEFF = hw2physics('VCOR','Setpoint',1) * 1e3 ;
+
+        for k = 1:length(VCOR.Position)
+            for j = 1:length(BPMz.Position)
+
+                if BPMz.Position(j) > VCOR.Position(k)
+                    % calcul de l'efficacitï¿œ
+                    Meff_V(j,k) = sqrt(bzVCOR(k)*bzBPM(j)) * sin(phizBPM(j) - phizVCOR(k))*COEFF(k);
+                else
+                    Meff_V(j,k)= 0;
+                end
+
+            end
+        end
+
+        disp('***  Matrice d''efficacitï¿œ V type transport calculÃ©e en mm/A ***')
+
+        % enregistrement
+        directory = getfamilydata('Directory','Steerette');
+        directory_actuelle = pwd;
+
+        cd(directory)
+        % nouvelle maille avec champ de fuite dans les dipoles
+        %Name = 'Maher_alphaover20_5nov07_Meff';
+        Name = 'AMOR_alphaover10_10dec10_Meff';
+        save(Name,'Meff','Meff_V','-mat');
+
+        cd(directory_actuelle);
+    else
+        disp('matrice rÃ©ponse dÃ©jÃ  enregistrÃ©e');
+
+    end
+else
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    % chargement de la matrice efficacite
+    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    if strcmp(handles.orbite,'transport - max Sum')
+        directory = getfamilydata('Directory','Steerette');
+        Name = 'Maher_alphaover20_5nov07_Meff'  ;% 'solamor2linb_new_13mai_Meff';
+        filename = strcat(directory,Name);
+        S = load('-mat',filename);
+        Meff = S.Meff ; Meff_V = S.Meff_V;
+    else
+        M = getbpmresp('Struct'); % matrice rÃ©ponse type anneau
+        Meff = M(1,1).Data ; Meff_V = M(2,2).Data ;
+    end
+end
+setappdata(handles.figure1,'Meff',Meff);
+setappdata(handles.figure1,'Meff_V',Meff_V);
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes steerette wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = steerette_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --------------------------------------------------------------------
+function FileMenu_Callback(hObject, eventdata, handles)
+% hObject    handle to FileMenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function OpenMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to OpenMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+file = uigetfile('*.fig');
+if ~isequal(file, 0)
+    open(file);
+end
+
+% --------------------------------------------------------------------
+function PrintMenuItem_Callback(hObject, eventdata, handles)
+% hObject    handle to PrintMenuItem (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+printdlg(handles.figure1)
+
+% % --------------------------------------------------------------------
+% function CloseMenuItem_Callback(hObject, eventdata, handles)
+% % hObject    handle to CloseMenuItem (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% selection = questdlg(['Close ' get(handles.figure1,'Name') '?'],...
+%                      ['Close ' get(handles.figure1,'Name') '...'],...
+%                      'Yes','No','Yes');
+% if strcmp(selection,'No')
+%     return;
+% end
+% 
+% delete(handles.figure1)
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here       
+        handles.mode = 'Model';
+        setappdata(handles.figure1,'Mode','Model'); % special timer !
+        
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        handles.mode = 'Online';
+        setappdata(handles.figure1,'Mode','Online'); % special timer !
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+function uibuttongroup_SelectionChangeFcn_timer(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+timer1 = getappdata(handles.figure1,'Timer');
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here
+        start(timer1);
+       
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here 
+        stop(timer1);
+        
+end
+
+
+function uibuttongroup_SelectionChangeFcn_orbite(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % code piece when radiobutton1 is selected goes here       
+        handles.orbite = 'transport - max Sum';
+        setappdata(handles.figure1,'Orbite','transport - max Sum'); %
+        % charger la matrice efficacite type transport
+        directory = getfamilydata('Directory','Steerette');
+        Name = 'solamor2linb_new_13mai_Meff';
+        filename = strcat(directory,Name);
+        S = load('-mat',filename);
+        Meff = S.Meff ; Meff_V = S.Meff_V;
+
+        setappdata(handles.figure1,'Meff',Meff);
+        setappdata(handles.figure1,'Meff_V',Meff_V);
+        
+        set(handles.Ntours_edit,'Enable','off');% rendre impossible le controle du nombre de tours
+        set(handles.tour_fixe_OF_edit,'Enable','off');% rendre impossible le controle du 1er tour moyenne OF
+        set(handles.tour_fixe_T_edit,'Enable','off');% rendre impossible le controle du 1er tour fixe transport
+        
+    case 'radiobutton2'
+        % code piece when radiobutton2 is selected goes here
+        handles.orbite = 'orbite fermÃ©e';
+        setappdata(handles.figure1,'Orbite','orbite fermÃ©e'); %
+        set(handles.Ntours_edit,'Enable','on');% rendre possible le controle du nombre de tours
+        % charger la matrice efficacite type anneau
+        M = getbpmresp('Struct'); % matrice rÃ©ponse type anneau
+        Meff = M(1,1).Data ; Meff_V = M(2,2).Data ;
+        setappdata(handles.figure1,'Meff',Meff);
+        setappdata(handles.figure1,'Meff_V',Meff_V);
+        
+        set(handles.Ntours_edit,'Enable','on');% rendre impossible le controle du nombre de tours
+        set(handles.tour_fixe_OF_edit,'Enable','on');% rendre impossible le controle du 1er tour moyenne OF
+        set(handles.tour_fixe_T_edit,'Enable','off');% rendre impossible le controle du 1er tour fixe transport
+        
+   case 'radiobutton3'
+        % code piece when radiobutton3 is selected goes here       
+        handles.orbite = 'transport - tour fixe';
+        setappdata(handles.figure1,'Orbite','transport - tour fixe'); %
+        % charger la matrice efficacite type transport
+        directory = getfamilydata('Directory','Steerette');
+        Name = 'solamor2linb_new_13mai_Meff';
+        filename = strcat(directory,Name);
+        S = load('-mat',filename);
+        Meff = S.Meff ; Meff_V = S.Meff_V;
+
+        setappdata(handles.figure1,'Meff',Meff);
+        setappdata(handles.figure1,'Meff_V',Meff_V);
+        
+        set(handles.Ntours_edit,'Enable','off');% rendre impossible le controle du nombre de tours moyenne OF
+        set(handles.tour_fixe_OF_edit,'Enable','off');% rendre impossible le controle du 1er tour moyenne OF
+        set(handles.tour_fixe_T_edit,'Enable','on');% rendre impossible le controle du 1er tour fixe transport
+end
+
+% Update handles structure
+guidata(hObject, handles);
+disp('eh ben !');
+
+% % --- Executes on selection change in popupmenu1.
+% function popupmenu1_Callback(hObject, eventdata, handles)
+% % hObject    handle to popupmenu1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+% 
+% % Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
+% %        contents{get(hObject,'Value')} returns selected item from popupmenu1
+
+
+% % --- Executes during object creation, after setting all properties.
+% function popupmenu1_CreateFcn(hObject, eventdata, handles)
+% % hObject    handle to popupmenu1 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    empty - handles not created until after all CreateFcns called
+% 
+% % Hint: popupmenu controls usually have a white background on Windows.
+% %       See ISPC and COMPUTER.
+% if ispc
+%     set(hObject,'BackgroundColor','white');
+% else
+%     set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+% end
+% 
+% set(hObject, 'String', {'plot(rand(5))', 'plot(sin(1:0.01:25))', 'bar(1:.5:10)', 'plot(membrane)', 'surf(peaks)'});
+
+
+% --- Executes on selection change in CH_popupmenu2.
+function CH_popupmenu2_Callback(hObject, eventdata, handles)
+% hObject    handle to CH_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns CH_popupmenu2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from CH_popupmenu2
+
+
+HCOR = getappdata(handles.figure1,'HCOR');
+% attribution du numero du correcteur (on enlï¿œve le titre)
+valCH = get(hObject,'Value')-1;
+% attribution du nom du device selectionne dans "device"
+
+switch valCH
+    case 1
+            %device = HCOR.DeviceName(1);
+            % desactiver le pushbutton "correcteur precedent"
+            set(handles.CH_precedent_pushbutton4,'Enable','off');
+            % activer le pushbutton "correcteur suivant"
+            set(handles.CH_suivant_pushbutton5,'Enable','on');
+    case size(HCOR.DeviceName,1)
+            %device = HCOR.DeviceName(size(HCOR.DeviceName,1));
+            % activer le pushbutton "correcteur precedent"
+            set(handles.CH_precedent_pushbutton4,'Enable','on');
+            % desactiver le pushbutton "correcteur suivant"
+            set(handles.CH_suivant_pushbutton5,'Enable','off');
+end
+
+for k = 2:size(HCOR.DeviceName,1)-1
+    switch valCH
+        case k
+            %device = HCOR.DeviceName(k);
+            % activer le pushbutton "correcteur precedent"
+            set(handles.CH_precedent_pushbutton4,'Enable','on');
+            % activer le pushbutton "correcteur suivant"
+            set(handles.CH_suivant_pushbutton5,'Enable','on');
+    end
+end
+
+
+%disp('coucou')
+
+% afficher dans ICH_edit1 la valeur actuelle du courant du correcteur selectionne
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ HCOR]
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+set(handles.HCOR_text18,'String',...
+    strcat(num2str(valCH),'   [',num2str(HCOR_liste(valCH,:)),']'));
+
+if valCH>0
+    % enregistrer le numero du correcteur selectionne
+    setappdata(handles.figure1,'n_selection_CH',valCH);
+%     % enregistrer le nom du correcteur selectionne
+%     setappdata(handles.figure1,'device_CH',device);
+else
+    % initialiser le nom du correcteur
+    setappdata(handles.figure1,'device_CH','');
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','off');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','off');
+end
+
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+disp('hep !')
+
+
+function HCOR_text18_CreateFcn(hObject, eventdata, handles)
+
+function date_et_heure_text20_CreateFcn(hObject, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function CH_popupmenu2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CH_popupmenu2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+% if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+%     set(hObject,'BackgroundColor','white');
+% end
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+%HCOR = getfamilydata('HCOR');
+%HCOR = getappdata(handles.figure1,'HCOR');
+
+% cellule = {};
+% for j = 1:size(HCOR.DeviceName,1)
+%     cellule = {cellule{:},strcat(num2str(HCOR.ElementList(j)),' : ',HCOR.DeviceName{j})};
+% end
+% set(hObject, 'String', {'liste correcteurs horizontaux', cellule{:}});        
+
+
+
+
+    
+% --- Executes on button press in CH_precedent_pushbutton4.
+function CH_precedent_pushbutton4_Callback(hObject, eventdata, handles)
+% hObject    handle to CH_precedent_pushbutton4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nombre max de correcteurs H 
+maxvalCH = getappdata(handles.figure1,'maxvalCH');
+
+% numero du correcteur actuellement selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+%selectionner dans la liste le correcteur precedent
+set(handles.CH_popupmenu2,'Value',valCH);
+% enregistrer le nouveau numero de correcteur de la liste
+valCH = valCH - 1;
+setappdata(handles.figure1,'n_selection_CH',valCH);
+% enregistrer le correcteur 
+%setappdata(handles.figure1,'
+
+if valCH>=maxvalCH
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','on');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','off'); 
+elseif 1>=valCH
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','off');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','on');
+else
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','on');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','on');
+end
+
+
+% afficher dans ICH_edit1 la valeur actuelle du courant du correcteur selectionne
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ HCOR]
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+set(handles.HCOR_text18,'String',...
+    strcat(num2str(valCH),'   [',num2str(HCOR_liste(valCH,:)),']'));
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+
+
+
+% --- Executes on button press in CH_suivant_pushbutton5.
+function CH_suivant_pushbutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to CH_suivant_pushbutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nombre max de correcteurs H + en tete popupmenu
+maxvalCH = getappdata(handles.figure1,'maxvalCH');
+
+% numero du correcteur actuellement selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+%selectionner dans la liste le correcteur suivant
+set(handles.CH_popupmenu2,'Value',valCH+2);
+% enregistrer la nouvelle valeur de la liste
+valCH = valCH + 1;
+setappdata(handles.figure1,'n_selection_CH',valCH);
+if valCH>=maxvalCH
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','on');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','off'); 
+elseif 1>=valCH
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','off');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','on');
+else
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CH_precedent_pushbutton4,'Enable','on');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CH_suivant_pushbutton5,'Enable','on');
+end
+
+
+% afficher dans ICH_edit1 la valeur actuelle du courant du correcteur selectionne
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ HCOR]
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+set(handles.HCOR_text18,'String',...
+    strcat(num2str(valCH),'   [',num2str(HCOR_liste(valCH,:)),']'));
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+
+
+function ICH_edit1_Callback(hObject, eventdata, handles)
+% hObject    handle to ICH_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ICH_edit1 as text
+%        str2double(get(hObject,'String')) returns contents of ICH_edit1 as a double
+
+
+% rechercher le numero du correcteur selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+
+% rechercher le nom du correcteur selectionne
+%device = getappdata(handles.figure1,'device_CH');
+
+
+% appliquer le courant entrï¿œ manuellement
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+ICH = get(handles.ICH_edit1,'String');
+setsp('HCOR',str2num(ICH),HCOR_liste(valCH,:),handles.mode);
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',str2num(ICH));
+
+% replot des orbites et point et correcteur H
+
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+% % 
+% % k = getappdata(handles.figure1,'n_selection_BPMx');
+% % h3     = get(handles.axes3,'Children');
+% % hline2 = findobj(h3,'-regexp','Tag','line[1,2,3]');
+% % h9     = get(handles.axes9,'Children');
+% % hbar9  = findobj(h9,'-regexp','Tag','bar[1]');
+% % %h10     = get(handles.axes10,'Children');
+% % %hbar10  = findobj(h10,'-regexp','Tag','bar[2]');
+% % [orbite_x,orbite_z] = getbpm;
+% % xdata = 1:length(orbite_x);
+% % ydata = 1:length(orbite_z);
+% % zdata = k;
+% % 
+% % liste_HCOR = getam('HCOR');
+% % liste_VCOR = getam('VCOR'); 
+% % 
+% % % linegraphes
+% % set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% % set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% % set(hline2(1),'XData',zdata,'YData',orbite_x(zdata),'Visible','On');
+% % 
+% % % bargraphes
+% % set(hbar9(1),'YData',liste_HCOR,'Visible','On');
+% % %set(hbar10(1),'YData',liste_VCOR,'Visible','On');
+
+%disp('je craque');
+
+
+% --- Executes during object creation, after setting all properties.
+function ICH_edit1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ICH_edit1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function ICH_slider1_Callback(hObject, eventdata, handles)
+% hObject    handle to ICH_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+% afficher dans l'editeur la valeur de courant
+ set(handles.ICH_edit1,'String',...
+             num2str(get(handles.ICH_slider1,'Value')));
+
+% rechercher le numero du correcteur selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+
+% rechercher le nom du correcteur selectionne
+%device = getappdata(handles.figure1,'device_CH');
+
+
+% appliquer le courant entrï¿œ manuellement
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+ICH = get(handles.ICH_edit1,'String');
+setsp('HCOR',str2num(ICH),HCOR_liste(valCH,:),handles.mode);
+
+
+% replot des orbites et point et correcteur H
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+% % % replot des orbites et point
+% % k = getappdata(handles.figure1,'n_selection_BPMx');
+% % h3     = get(handles.axes3,'Children');
+% % hline2 = findobj(h3,'-regexp','Tag','line[1,2,3]');
+% % h9     = get(handles.axes9,'Children');
+% % hbar9  = findobj(h9,'-regexp','Tag','bar[1]');
+% % 
+% % % rafraichir les orbites
+% % [orbite_x,orbite_z] = getbpm;
+% % xdata = 1:length(orbite_x);
+% % ydata = 1:length(orbite_z);
+% % zdata = k;
+% % liste_HCOR = getam('HCOR');
+% % 
+% % set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% % set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% % set(hline2(1),'XData',zdata,'YData',orbite_x(zdata),'Visible','On');
+% % 
+% % % bargraphes
+% % set(hbar9(1),'YData',liste_HCOR,'Visible','On');
+%disp('je craque')
+
+% --- Executes during object creation, after setting all properties.
+function ICH_slider1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ICH_slider1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function fichier_sauvegarde_CH_edit13_Callback(hObject, eventdata, handles)
+% hObject    handle to fichier_sauvegarde_CH_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fichier_sauvegarde_CH_edit13 as text
+%        str2double(get(hObject,'String')) returns contents of fichier_sauvegarde_CH_edit13 as a double
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function fichier_sauvegarde_CH_edit13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fichier_sauvegarde_CH_edit13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_CH_pushbutton20.
+function sauvegarder_CH_pushbutton20_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_CH_pushbutton20 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Determine file and directory name
+FileName = 'H';
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/Ringdata/';
+DirectoryName = getfamilydata('Directory','Steerette');
+%DirectoryName = '/home/PM/tordeux/matlab/applications/Ring/';
+%% exemple pour le RCM : DirectoryName = getfamilydata('Directory','FAEData');
+
+TimeStamp = clock;
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.fichier_sauvegarde_CH_edit13,'String',FileName);
+
+% Save all data in structure to file
+
+%DirStart = '/home/PM/nadolski/controlroom/measdata/Ringdata/'
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName); 
+xdata = getam('HCOR',handles.mode);
+% xdata = getappdata(handles.figure1,'xdata');
+% ydata = getappdata(handles.figure1,'ydata');
+try
+   
+    save(FileName, 'xdata');
+
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_CH_pushbutton21.
+function restaurer_CH_pushbutton21_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_CH_pushbutton21 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%DirectoryName = '/home/PM/nadolski/controlroom/measdata/Ringdata/';
+DirectoryName = getfamilydata('Directory','Steerette');
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+% afficher
+try
+    setsp('HCOR',xdata,handles.mode);
+    %setsp('VCOR',ydata);
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+
+
+% --- Executes on button press in CH_SVD_pushbutton22.
+function CH_SVD_pushbutton22_Callback(hObject, eventdata, handles)
+% hObject    handle to CH_SVD_pushbutton22 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% nbre de correcteurs utilisï¿œs dans la correction SVD
+nbcorrSVD = get(handles.nb_correcteurs_H_edit17,'String');
+nbcorrSVD = str2num(nbcorrSVD);
+
+% relire le pourcentage ï¿œ appliquer sur les valeurs de correcteurs
+pourcentage_H = str2num(get(handles.pourcentage_H_edit16,'String'));
+
+% correcteur actuellement selectionnï¿œ
+valCH = getappdata(handles.figure1,'n_selection_CH');
+%if isequal(valCH,0)|isequal(valCH,1)
+if valCH<nbcorrSVD
+    errordlg('selectionnez un nombre adÃ©quat de correcteurs !','Attention');
+    % sortir de la fonction
+    return
+end
+
+% chargement de la matrice efficacitÃ©. Son type est gÃ©rÃ© par le radiobutton
+% "transport" "orbite fermÃ©e" :
+% % if strcmp(handles.orbite,'transport - max Sum')
+% %     Meff = getappdata(handles.figure1,'Meff'); % matrice d'efficacite type transport
+% % else
+% %     Meff = ones(120,56)*0;% introduire matrice type orbite fermÃ©e
+% % end
+Meff = getappdata(handles.figure1,'Meff');
+handles.mode = getappdata(handles.figure1,'Mode');
+handles.orbite = getappdata(handles.figure1,'Orbite');
+BPMx = getappdata(handles.figure1,'BPMx'); % Orbit H
+HCOR = getappdata(handles.figure1,'HCOR'); % Correcteurs H
+
+% enregistrement des correcteurs avant correction
+liste = getam('HCOR',handles.mode);
+val_corr_CH = liste(valCH-nbcorrSVD+1:valCH); % Dangerux de pas travailler sur deviceliste
+setappdata(handles.figure1,'val_corr_CH',val_corr_CH);
+
+% correction SVD avec les N correcteurs et...
+% tous les BPM compris entre depuis le valCH-N+1 correcteur et jusqu'au correcteur
+% suivant  valCH + 1
+
+% on tiend compte du status du BPM, eventuellement mis ï¿œ 0 pour cause de
+% lecture non fiable, ou bien ??
+BPMxList = getappdata(handles.figure1, 'BPMxList');
+if 1
+    Family = 'BPMx';
+    FullList = family2dev(Family);
+    i = findrowindex(BPMxList, FullList);
+    BPMx_status = family2status(Family)*0;
+    BPMx_status(i) = 1;
+else
+    BPMx_status = family2status('BPMx');
+
+end
+
+% extraire la matrice
+% l'efficacitï¿œ vis ï¿œ vis d'un BPMx "inactif" est mise ï¿œ 0
+flag = 0;
+liste_elem_BPM = [];
+for j = 1 : length(BPMx.Position)
+    if BPMx.Position(j)>HCOR.Position(valCH-nbcorrSVD+1)
+        if valCH~=length(HCOR.Position)&BPMx.Position(j)>HCOR.Position(valCH+1)
+            break
+        end
+        flag = flag + 1;
+        liste_elem_BPM = [liste_elem_BPM j];
+        Meffloc(flag,:) = Meff(j,valCH-nbcorrSVD+1:valCH) * BPMx_status(j);
+    end
+end
+nbBPM  = flag;
+% controle :
+%Meffloc = Meffloc
+%disp('coucou')    ; 
+
+% correction SVD 
+liste_dev_BPM = elem2dev('BPMx',liste_elem_BPM');
+%% tests
+%liste_dev_BPM = liste_dev_BPM(3:4,1:2)
+%Meffloc = Meffloc(3:4,1:2)
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+liste_dev_HCOR = HCOR_liste(valCH-nbcorrSVD+1:valCH,:);
+
+%%%%
+BPMindex = family2atindex('BPMx',liste_dev_BPM);
+spos = getspos('BPMx');
+
+if strcmp(handles.mode,'Model')
+    clear X01;
+    %X0 = [0.5e-3 0.5e-3 1e-3 1e-3 0 0]';
+    % gï¿œnï¿œration d'une ellipse 1 sigma ï¿œventuellement dï¿œcentrï¿œe
+    eps = 150e-9;betax = 3 ;betaz = 3 ;alphax = 0;alphaz = 0;
+    deltax = 2e-3;deltaz = 2e-3;deltaxp = 1e-3;deltazp = 1e-3;
+    X0 = [sqrt(eps * betax) + deltax 0 sqrt(eps * betaz) + deltaz 0 0 0 ;...
+        0  sqrt(eps / betax) + deltaxp 0 sqrt(eps / betaz) + deltazp 0 0 ;...
+        -sqrt(eps * betax)+ deltax 0 -sqrt(eps * betaz)+ deltaz 0 0 0 ;...
+        0  -sqrt(eps / betax)+deltaxp 0 -sqrt(eps / betaz)+deltazp 0 0 ]';
+
+    % nP = nbre de particules trackï¿œes
+    nP = size(X0,2);
+    setappdata(handles.figure1,'orbite_entry',X0);
+    global THERING
+    nbtour = 1;
+    X01 = zeros(nbtour, 6, nP*length(BPMindex));
+
+    for k=1:nbtour,
+        X01(k,:,:) = linepass(THERING, X0, BPMindex);
+        %X0 = X01(k,:,end)';
+    end
+    Xa = squeeze(X01(1,1,:));
+    %Za = squeeze(X01(1,3,:));
+    if nP>1
+        X = [];
+        %Z = [];
+        for nBPM = 1:length(BPMindex)
+            X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+            %Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+        end
+        X = X'; % X en m
+        X = X * 1000; % X en mm
+        %Z = Z';
+    else
+        X = Xa; % X en m
+        X = X * 1000; % X en mm
+        %Z = Za;
+    end
+else % online
+    if strcmp(handles.orbite,'transport - max Sum') % orbite Ã  corriger type transport
+        %[X] = anabpmfirstturn( BPMx.DeviceList );
+        %[X] = anabpmfirstturn( liste_dev_BPM,'NoDisplay' ); % X en mm premier tour ANCIENNE VERSION
+        nbturns = 1;
+        [X Z Sum idx] = anabpmnfirstturns( liste_dev_BPM,nbturns,'NoDisplay2'); % X en mm premier tour
+        idx
+        X = X';
+    elseif strcmp(handles.orbite,'transport - tour fixe') % orbite Ã  corriger type transport
+        ifirstturn = str2num(get(handles.tour_fixe_T_edit,'String')); % numero du premier tour
+        nbturns = 1;
+        X = anabpmnfirstturns( liste_dev_BPM,nbturns,ifirstturn,'NoDisplay2','NoMaxSum'); % X en mm premier tour
+        %X = anabpmnfirstturns( liste_dev_BPM,nbturns,ifirstturn,'NoDisplay2','MaxSum'); % X en mm premier tour
+        X = X';
+    else
+        % moyenne de l'orbite Ã  corriger sur n tours
+        ifirstturn = str2num(get(handles.tour_fixe_OF_edit,'String')); % numero du premier tour
+        nturns = str2num(get(handles.Ntours_edit,'String'));
+        [X] = anabpmnfirstturns(liste_dev_BPM,nturns,ifirstturn,'NoDisplay2','NoMaxSum');
+        X = mean(X) ;% moyenne par BPM
+        X = X'; % ?? VERIFIER
+    end
+end
+%%%
+
+[U,S,V] = svd(Meffloc);
+setappdata(handles.figure1,'S',S);
+DiagS = diag(S);
+
+% test si le nombre de valeurs propres a ï¿œtï¿œ modifiï¿œ dans l'interface 
+% "valeurs singuliï¿œres"
+nbvp = getappdata(handles.figure1,'valvp');
+
+
+% si le nbre n'a pas ï¿œtï¿œ modifiï¿œ et qu'il est incompatible :
+% if nbvp ==0||nbvp>size(S,2)
+%     nbvp = size(S,2);
+if nbvp ==0||nbvp>length(DiagS)
+    nbvp = length(DiagS);    
+end
+% affichage 
+disp(strcat('nombre de valeurs propres sÃ©lectionnees :',num2str(nbvp)))
+
+%Rmod = Meffloc * V;
+Rmod1 = Meffloc * V(:,1:nbvp);
+%B = Rmod\ (X );
+B1 = Rmod1\ (X ); % X en mm
+%DeltaCM = V * B;
+DeltaCM1 = V(:,1:nbvp) * B1;
+consigne = getsp('HCOR',liste_dev_HCOR,handles.mode);
+% test 
+val_max = getmaxsp('HCOR',liste_dev_HCOR);
+val_min = getminsp('HCOR',liste_dev_HCOR);
+if all((consigne-DeltaCM1* pourcentage_H*0.01)<val_max)*all((consigne-DeltaCM1* pourcentage_H*0.01)>val_min);
+    stepsp('HCOR',-DeltaCM1* pourcentage_H*0.01 ,liste_dev_HCOR,handles.mode);
+
+    mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+    mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+    mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+    
+
+    % ï¿œcrire la nouvelle valeur correcteur nï¿œvalCH dans l'edit
+    liste = getam('HCOR',handles.mode);
+    valeur_corr = liste(valCH);
+    set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+    % re-initaliser le slider ï¿œ cette valeur de courant
+    set(handles.ICH_slider1,'Value',valeur_corr);
+
+    disp('eh oui')
+else
+    consigne-DeltaCM1
+    liste_dev_HCOR
+    errordlg('un correcteur au moins dÃ©passe les valeurs admises !','Attention');
+    return
+end
+disp('hep !')
+
+% --- Executes on selection change in CV_popupmenu3.
+function CV_popupmenu3_Callback(hObject, eventdata, handles)
+% hObject    handle to CV_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns CV_popupmenu3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from CV_popupmenu3
+
+
+VCOR = getappdata(handles.figure1,'VCOR');
+% attribution du numero du correcteur (on enlï¿œve le titre)
+valCV = get(hObject,'Value')-1;
+% attribution du nom du device selectionne dans "device"
+
+switch valCV
+    case 1
+            %device = HCOR.DeviceName(1);
+            % desactiver le pushbutton "correcteur precedent"
+            set(handles.CV_precedent_pushbutton23,'Enable','off');
+            % activer le pushbutton "correcteur suivant"
+            set(handles.CV_suivant_pushbutton24,'Enable','on');
+    case size(VCOR.DeviceName,1)
+            %device = HCOR.DeviceName(size(HCOR.DeviceName,1));
+            % activer le pushbutton "correcteur precedent"
+            set(handles.CV_precedent_pushbutton23,'Enable','on');
+            % desactiver le pushbutton "correcteur suivant"
+            set(handles.CV_suivant_pushbutton24,'Enable','off');
+end
+
+for k = 2:size(VCOR.DeviceName,1)-1
+    switch valCV
+        case k
+            %device = HCOR.DeviceName(k);
+            % activer le pushbutton "correcteur precedent"
+            set(handles.CV_precedent_pushbutton23,'Enable','on');
+            % activer le pushbutton "correcteur suivant"
+            set(handles.CV_suivant_pushbutton24,'Enable','on');
+    end
+end
+
+
+%disp('coucou')
+
+% afficher dans ICH_edit1 la valeur actuelle du courant du correcteur selectionne
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ VCOR]
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+set(handles.VCOR_text23,'String',...
+    strcat(num2str(valCV),'   [',num2str(VCOR_liste(valCV,:)),']'));
+
+if valCV>0
+    % enregistrer le numero du correcteur selectionne
+    setappdata(handles.figure1,'n_selection_CV',valCV);
+%     % enregistrer le nom du correcteur selectionne
+%     setappdata(handles.figure1,'device_CH',device);
+else
+    % initialiser le nom du correcteur
+    setappdata(handles.figure1,'device_CV','');
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','off');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','off');
+end
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+
+% % rafraichir le BPM consecutif selectionnï¿œ
+% h3     = get(handles.axes3,'Children');
+% hline3 = findobj(h3,'-regexp','Tag','line[4]');
+% BPMz = getappdata(handles.figure1,'BPMz');
+% VCOR = getappdata(handles.figure1,'VCOR');
+% valCV = getappdata(handles.figure1,'n_selection_CV');
+% [orbite_x,orbite_z] = getbpm;
+% if valCV>0
+%     for k = valCV:length(BPMz.Position)
+%         if BPMz.Position(k) > VCOR.Position(valCV)
+%             setappdata(handles.figure1,'n_selection_BPMz',k)
+%             set(hline3(1),'XData', k, 'YData', orbite_z(k),'Visible','On');
+%             break
+%         end
+%     end
+% end
+
+
+function VCOR_text23_CreateFcn(hObject, eventdata, handles)
+
+
+
+% --- Executes during object creation, after setting all properties.
+function CV_popupmenu3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to CV_popupmenu3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in CV_precedent_pushbutton23.
+function CV_precedent_pushbutton23_Callback(hObject, eventdata, handles)
+% hObject    handle to CV_precedent_pushbutton23 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nombre max de correcteurs V 
+maxvalCV = getappdata(handles.figure1,'maxvalCV');
+
+% numero du correcteur actuellement selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+%selectionner dans la liste le correcteur precedent
+set(handles.CV_popupmenu3,'Value',valCV);
+% enregistrer le nouveau numero de correcteur de la liste
+valCV = valCV - 1;
+setappdata(handles.figure1,'n_selection_CV',valCV);
+% enregistrer le correcteur 
+%setappdata(handles.figure1,'
+
+if valCV>=maxvalCV
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','on');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','off'); 
+elseif 1>=valCV
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','off');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','on');
+else
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','on');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','on');
+end
+
+
+% afficher dans ICV_edit14 la valeur actuelle du courant du correcteur selectionne
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ VCOR]
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+set(handles.VCOR_text23,'String',...
+    strcat(num2str(valCV),'   [',num2str(VCOR_liste(valCV,:)),']'));
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+
+% % % rafraichir le BPM consecutif selectionnï¿œ
+% % h3     = get(handles.axes3,'Children');
+% % hline3 = findobj(h3,'-regexp','Tag','line[4]');
+% % BPMz = getappdata(handles.figure1,'BPMz');
+% % VCOR = getappdata(handles.figure1,'VCOR');
+% % valCV = getappdata(handles.figure1,'n_selection_CV');
+% % [orbite_x,orbite_z] = getbpm;
+% % if valCV>0
+% %     for k = valCV:length(BPMz.Position)
+% %         if BPMz.Position(k) > VCOR.Position(valCV)
+% %             setappdata(handles.figure1,'n_selection_BPMz',k)
+% %             set(hline3(1),'XData', k, 'YData', orbite_z(k),'Visible','On');
+% %             break
+% %         end
+% %     end
+% % end
+
+
+% --- Executes on button press in CV_suivant_pushbutton24.
+function CV_suivant_pushbutton24_Callback(hObject, eventdata, handles)
+% hObject    handle to CV_suivant_pushbutton24 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nombre max de correcteurs V + en tete popupmenu
+maxvalCV = getappdata(handles.figure1,'maxvalCV');
+
+% numero du correcteur actuellement selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+%selectionner dans la liste le correcteur suivant
+set(handles.CV_popupmenu3,'Value',valCV+2);
+% enregistrer la nouvelle valeur de la liste
+valCV = valCV + 1;
+setappdata(handles.figure1,'n_selection_CV',valCV);
+if valCV>=maxvalCV
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','on');
+    % desactiver le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','off'); 
+elseif 1>=valCV
+    % desactiver le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','off');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','on');
+else
+    % activer le pushbutton "correcteur precedent"
+    set(handles.CV_precedent_pushbutton23,'Enable','on');
+    % activer le pushbutton "correcteur suivant"
+    set(handles.CV_suivant_pushbutton24,'Enable','on');
+end
+
+
+% afficher dans ICV_edit14 la valeur actuelle du courant du correcteur selectionne
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+% afficher dans le text l'autre nomenclature type [cell Nï¿œ VCOR]
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+set(handles.VCOR_text23,'String',...
+    strcat(num2str(valCV),'   [',num2str(VCOR_liste(valCV,:)),']'));
+
+% rafraichir le BPM consecutif selectionnï¿œ
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+
+% % rafraichir le BPM consecutif selectionnï¿œ
+% h3     = get(handles.axes3,'Children');
+% hline3 = findobj(h3,'-regexp','Tag','line[4]');
+% BPMz = getappdata(handles.figure1,'BPMz');
+% VCOR = getappdata(handles.figure1,'VCOR');
+% valCV = getappdata(handles.figure1,'n_selection_CV');
+% [orbite_x,orbite_z] = getbpm;
+% if valCV>0
+%     for k = valCV:length(BPMz.Position)
+%         if BPMz.Position(k) > VCOR.Position(valCV)
+%             setappdata(handles.figure1,'n_selection_BPMz',k)
+%             set(hline3(1),'XData', k, 'YData', orbite_z(k),'Visible','On');
+%             break
+%         end
+%     end
+% end
+
+
+function ICV_edit14_Callback(hObject, eventdata, handles)
+% hObject    handle to ICV_edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ICV_edit14 as text
+%        str2double(get(hObject,'String')) returns contents of ICV_edit14 as a double
+
+
+% rechercher le numero du correcteur selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+
+% rechercher le nom du correcteur selectionne
+%device = getappdata(handles.figure1,'device_CV');
+
+
+% appliquer le courant entrï¿œ manuellement
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+ICV = get(handles.ICV_edit14,'String');
+setsp('VCOR',str2num(ICV),VCOR_liste(valCV,:),handles.mode)
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',str2num(ICV));
+
+% replot des orbites et point et correcteur V
+
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+% k = getappdata(handles.figure1,'n_selection_BPMz');
+% h3     = get(handles.axes3,'Children');
+% hline2 = findobj(h3,'-regexp','Tag','line[1,2,4]');
+% % h9     = get(handles.axes9,'Children');
+% % hbar9  = findobj(h9,'-regexp','Tag','bar[1]');
+% h10     = get(handles.axes10,'Children');
+% hbar10  = findobj(h10,'-regexp','Tag','bar[2]');
+% [orbite_x,orbite_z] = getbpm;
+% xdata = 1:length(orbite_x);
+% ydata = 1:length(orbite_z);
+% zdata = k;
+% 
+% liste_HCOR = getam('HCOR');
+% liste_VCOR = getam('VCOR'); 
+% 
+% % linegraphes
+% set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% set(hline2(1),'XData',zdata,'YData',orbite_z(zdata),'Visible','On');
+% 
+% 
+% % bargraphes
+% %set(hbar9(1),'YData',liste_HCOR,'Visible','On');
+% set(hbar10(1),'YData',liste_VCOR,'Visible','On');
+
+%disp('je craque');
+
+% --- Executes during object creation, after setting all properties.
+function ICV_edit14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ICV_edit14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function ICV_slider2_Callback(hObject, eventdata, handles)
+% hObject    handle to ICV_slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+% afficher dans l'editeur la valeur de courant
+ set(handles.ICV_edit14,'String',...
+             num2str(get(handles.ICV_slider2,'Value')));
+
+% rechercher le numero du correcteur selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+
+% rechercher le nom du correcteur selectionne
+%device = getappdata(handles.figure1,'device_CV');
+
+
+% appliquer le courant entrï¿œ manuellement
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+ICV = get(handles.ICV_edit14,'String');
+setsp('VCOR',str2num(ICV),VCOR_liste(valCV,:),handles.mode);
+
+% replot des orbites et point et correcteur V
+
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+% % replot des orbites et point
+% k = getappdata(handles.figure1,'n_selection_BPMz');
+% h3     = get(handles.axes3,'Children');
+% hline2 = findobj(h3,'-regexp','Tag','line[1,2,4]');
+% h10     = get(handles.axes10,'Children');
+% hbar10  = findobj(h10,'-regexp','Tag','bar[2]');
+% 
+% % rafraichir les orbites
+% [orbite_x,orbite_z] = getbpm;
+% xdata = 1:length(orbite_x);
+% ydata = 1:length(orbite_z);
+% zdata = k;
+% liste_VCOR = getam('VCOR');
+% 
+% set(hline2(3),'XData',xdata,'YData',orbite_x,'Visible','On');
+% set(hline2(2),'XData',ydata,'YData',orbite_z,'Visible','On');
+% set(hline2(1),'XData',zdata,'YData',orbite_z(zdata),'Visible','On');
+% 
+% % bargraphes
+% set(hbar10(1),'YData',liste_VCOR,'Visible','On');
+% %disp('je craque')
+
+
+
+% --- Executes during object creation, after setting all properties.
+function ICV_slider2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ICV_slider2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function fichier_sauvegarde_CV_edit15_Callback(hObject, eventdata, handles)
+% hObject    handle to fichier_sauvegarde_CV_edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of fichier_sauvegarde_CV_edit15 as text
+%        str2double(get(hObject,'String')) returns contents of fichier_sauvegarde_CV_edit15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function fichier_sauvegarde_CV_edit15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to fichier_sauvegarde_CV_edit15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in sauvegarder_CV_pushbutton25.
+function sauvegarder_CV_pushbutton25_Callback(hObject, eventdata, handles)
+% hObject    handle to sauvegarder_CV_pushbutton25 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% Determine file and directory name
+
+FileName = 'V';
+DirectoryName = getfamilydata('Directory','Steerette');
+TimeStamp = clock;
+% Append date_Time to FileName
+FileName = sprintf('%s_%s', datestr(TimeStamp,31), FileName);
+FileName(11) = '_';
+FileName(14) = '-';
+FileName(17) = '-';
+
+[FileName, DirectoryName] = uiputfile('*','Save Lattice to ...', [DirectoryName FileName]);
+if FileName == 0 
+    fprintf('   File not saved (getmachineconfig)\n');
+    return;
+end
+
+% afficher le nom du fichier
+set(handles.fichier_sauvegarde_CV_edit15,'String',FileName);
+
+% Save all data in structure to file
+
+%DirStart = '/home/PM/nadolski/controlroom/measdata/Ringdata/'
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName); 
+ydata = getam('VCOR',handles.mode);
+% xdata = getappdata(handles.figure1,'xdata');
+% ydata = getappdata(handles.figure1,'ydata');
+try
+   
+    save(FileName, 'ydata');
+
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in restaurer_CV_pushbutton26.
+function restaurer_CV_pushbutton26_Callback(hObject, eventdata, handles)
+% hObject    handle to restaurer_CV_pushbutton26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+DirectoryName = getfamilydata('Directory','Steerette');
+DirStart = pwd;
+[DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+[FileName, DirectoryName] = uigetfile('*','Select a file ...');
+if FileName == 0 
+    fprintf('  no File picked (getmachineconfig)\n');
+    return;
+else
+    load(FileName)
+end
+
+
+
+% afficher
+try
+    %setsp('HCOR',xdata);
+    setsp('VCOR',ydata,handles.mode);
+    
+    
+catch
+    cd(DirStart);
+    return
+end
+cd(DirStart);
+
+
+% --- Executes on button press in CV_SVD_pushbutton.
+function CV_SVD_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to CV_SVD_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% nbre de correcteurs utilisï¿œs dans la correction SVD
+nbcorrSVD_V = get(handles.nb_correcteurs_V_edit,'String');
+nbcorrSVD_V = str2num(nbcorrSVD_V);
+
+% relire le pourcentage ï¿œ appliquer sur les valeurs de correcteurs
+pourcentage_V = str2num(get(handles.pourcentage_V_edit,'String'));
+
+% correcteur actuellement selectionnï¿œ
+valCV = getappdata(handles.figure1,'n_selection_CV');
+%if isequal(valCV,0)|isequal(valCV,1)
+if valCV<nbcorrSVD_V
+    errordlg('selectionnez un nombre adï¿œquat de correcteurs !','Attention');
+    % sortir de la fonction
+    return
+end
+
+Meff_V = getappdata(handles.figure1,'Meff_V');
+BPMz = getappdata(handles.figure1,'BPMz');
+VCOR = getappdata(handles.figure1,'VCOR');
+
+% enregistrement des correcteurs avant correction
+liste = getam('VCOR',handles.mode);
+val_corr_CV = liste(valCV-nbcorrSVD_V+1:valCV);
+setappdata(handles.figure1,'val_corr_CV',val_corr_CV);
+
+% correction SVD avec les N correcteurs et...
+% tous les BPM compris entre depuis le valCV-N+1 correcteur et jusqu'au correcteur
+% suivant  valCV + 1
+
+% on tiend compte du status du BPM, eventuellement mis ï¿œ 0 pour cause de
+% lecture non fiable, ou bien ??
+BPMz_status = family2status('BPMz');
+
+% extraire la matrice
+% l'efficacitï¿œ vis ï¿œ vis d'un BPMz "inactif" est mise ï¿œ 0
+flag = 0;
+liste_elem_BPM = [];
+for j = 1 : length(BPMz.Position)
+    if BPMz.Position(j)>VCOR.Position(valCV-nbcorrSVD_V+1)
+        if valCV < length(VCOR.Position)
+            if valCV~=length(VCOR.Position)&BPMz.Position(j)>VCOR.Position(valCV+1)
+                break
+            end
+        end
+        
+        flag = flag + 1;
+        liste_elem_BPM = [liste_elem_BPM j]; 
+        Meffloc_V(flag,:) = Meff_V(j,valCV-nbcorrSVD_V+1:valCV) * BPMz_status(j);
+    end
+end
+nbBPM  = flag;
+
+% correction SVD 
+liste_dev_BPM = elem2dev('BPMz',liste_elem_BPM');
+%% tests
+%liste_dev_BPM = liste_dev_BPM(3:4,1:2)
+%Meffloc = Meffloc(3:4,1:2)
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+liste_dev_VCOR = VCOR_liste(valCV-nbcorrSVD_V+1:valCV,:);
+
+%%%%
+BPMindex = family2atindex('BPMz',liste_dev_BPM);
+spos = getspos('BPMz');
+
+if strcmp(handles.mode,'Model')
+    clear X01;
+    %X0 = [0.5e-3 0.5e-3 1e-3 1e-3 0 0]';
+    % gï¿œnï¿œration d'une ellipse 1 sigma ï¿œventuellement dï¿œcentrï¿œe
+    eps = 150e-9;betax = 3 ;betaz = 3 ;alphax = 0;alphaz = 0;
+    deltax = 2e-3;deltaz = 2e-3;deltaxp = 1e-3;deltazp = 1e-3;
+    X0 = [sqrt(eps * betax) + deltax 0 sqrt(eps * betaz) + deltaz 0 0 0 ;...
+        0  sqrt(eps / betax) + deltaxp 0 sqrt(eps / betaz) + deltazp 0 0 ;...
+        -sqrt(eps * betax)+ deltax 0 -sqrt(eps * betaz)+ deltaz 0 0 0 ;...
+        0  -sqrt(eps / betax)+deltaxp 0 -sqrt(eps / betaz)+deltazp 0 0 ]';
+
+    % nP = nbre de particules trackï¿œes
+    nP = size(X0,2);
+    setappdata(handles.figure1,'orbite_entry',X0);
+    global THERING
+    nbtour = 1;
+    X01 = zeros(nbtour, 6, nP*length(BPMindex));
+
+    for k=1:nbtour,
+        X01(k,:,:) = linepass(THERING, X0, BPMindex);
+        %X0 = X01(k,:,end)';
+    end
+    %Xa = squeeze(X01(1,1,:));
+    Za = squeeze(X01(1,3,:));
+    if nP>1
+        %X = [];
+        Z = [];
+        for nBPM = 1:length(BPMindex)
+            %X = [X mean(Xa((nP*(nBPM-1)+1):nP*nBPM))];
+            Z = [Z mean(Za((nP*(nBPM-1)+1):nP*nBPM))];
+        end
+        %X = X';
+        Z = Z';
+        Z = Z * 1000; % z en mm
+    else
+        %X = Xa;
+        Z = Za;
+        Z = Z * 1000; % z en mm
+    end
+else % online
+
+    %[X Z] = anabpmfirstturn( liste_dev_BPM,'NoDisplay' ); % ancienne version
+    %Z = Z';
+    if strcmp(handles.orbite,'transport - max Sum') % orbite Ã  corriger type transport
+        %[X] = anabpmfirstturn( BPMx.DeviceList );
+        %[X] = anabpmfirstturn( liste_dev_BPM,'NoDisplay' ); % X en mm premier tour ANCIENNE VERSION
+        nbturns = 1;
+        [X Z Sum idx] = anabpmnfirstturns( liste_dev_BPM,nbturns,'NoDisplay2'); % X en mm premier tour
+        idx
+        Z = Z';
+    elseif strcmp(handles.orbite,'transport - tour fixe') % orbite Ã  corriger type transport
+        ifirstturn = str2num(get(handles.tour_fixe_T_edit,'String')); % numero du premier tour
+        nbturns = 1;
+        [X Z] = anabpmnfirstturns( liste_dev_BPM,nbturns,ifirstturn,'NoDisplay2','NoMaxSum'); % X en mm premier tour
+        Z = Z';
+    else
+        % moyenne de l'orbite Ã  corriger sur n tours
+        ifirstturn = str2num(get(handles.tour_fixe_OF_edit,'String')); % numero du premier tour
+        nturns = str2num(get(handles.Ntours_edit,'String'));
+        [X Z] = anabpmnfirstturns(liste_dev_BPM,nturns,ifirstturn,'NoDisplay2','NoMaxSum');
+        Z = mean(Z) ;% moyenne par BPM
+        Z = Z'; % ?? VERIFIER
+    end
+end
+%%%
+
+% hcm = getsp('VCOR',liste_dev_VCOR,'struct');
+[U,S_V,V] = svd(Meffloc_V);
+setappdata(handles.figure1,'S_V',S_V);
+DiagS_V = diag(S_V);
+
+% test si le nombre de valeurs propres a ï¿œtï¿œ modifiï¿œ dans l'interface 
+% "valeurs singuliï¿œres"
+nbvp_V = getappdata(handles.figure1,'valvp_V');
+
+
+% si le nbre n'a pas ï¿œtï¿œ modifiï¿œ et qu'il est incompatible :
+if nbvp_V ==0||nbvp_V>length(DiagS_V)
+    nbvp_V = length(DiagS_V);
+end
+% affichage 
+disp(strcat('nombre de valeurs propres sÃ©lectionnÃ©es :',num2str(nbvp_V)))
+
+
+Rmod1 = Meffloc_V * V(:,1:nbvp_V);
+B1 = Rmod1\ (Z ); % Z en mm
+DeltaCM1_V = V(:,1:nbvp_V) * B1;
+consigne = getsp('VCOR',liste_dev_VCOR,handles.mode);
+% test 
+val_max = getmaxsp('VCOR',liste_dev_VCOR);
+val_min = getminsp('VCOR',liste_dev_VCOR);
+if all((consigne-DeltaCM1_V* pourcentage_V*0.01)<val_max)*all((consigne-DeltaCM1_V* pourcentage_V*0.01)>val_min);
+    stepsp('VCOR',-DeltaCM1_V* pourcentage_V*0.01 ,liste_dev_VCOR,handles.mode);
+
+
+    mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+    mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+    mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+    
+
+    % ï¿œcrire la nouvelle valeur correcteur nï¿œvalCV dans l'edit
+    liste = getam('VCOR',handles.mode);
+    valeur_corr = liste(valCV);
+    set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+    % re-initaliser le slider ï¿œ cette valeur de courant
+    set(handles.ICV_slider2,'Value',valeur_corr);
+
+    disp('eh oui')
+else
+    consigne-DeltaCM1_V
+    liste_dev_VCOR
+    errordlg('un correcteur au moins dÃ©passe les valeurs admises !','Attention');
+    return
+end
+
+
+% --- Executes on button press in Undo_H_pushbutton28.
+function Undo_H_pushbutton28_Callback(hObject, eventdata, handles)
+% hObject    handle to Undo_H_pushbutton28 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% rechercher le numero du correcteur selectionne
+valCH = getappdata(handles.figure1,'n_selection_CH');
+val_corr_CH = getappdata(handles.figure1,'val_corr_CH');
+
+% appliquer les courants precedant la correction SVD
+HCOR_liste = getappdata(handles.figure1,'HCOR_liste');
+setsp('HCOR',val_corr_CH,HCOR_liste(valCH-size(val_corr_CH,1)+1:valCH,:),handles.mode)
+
+% ï¿œcrire l'ancienne valeur correcteur nï¿œvalCH dans l'edit
+liste = getam('HCOR',handles.mode);
+valeur_corr = liste(valCH);
+set(handles.ICH_edit1,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICH_slider1,'Value',valeur_corr);
+
+disp('nous y re-voilï¿œ')
+
+% replot des orbites et point et correcteur H
+
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_H(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+
+
+function pourcentage_H_edit16_Callback(hObject, eventdata, handles)
+% hObject    handle to pourcentage_H_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pourcentage_H_edit16 as text
+%        str2double(get(hObject,'String')) returns contents of pourcentage_H_edit16 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pourcentage_H_edit16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pourcentage_H_edit16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nb_correcteurs_H_edit17_Callback(hObject, eventdata, handles)
+% hObject    handle to nb_correcteurs_H_edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nb_correcteurs_H_edit17 as text
+%        str2double(get(hObject,'String')) returns contents of nb_correcteurs_H_edit17 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nb_correcteurs_H_edit17_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nb_correcteurs_H_edit17 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in valeurs_singulieres_H_pushbutton29.
+function valeurs_singulieres_H_pushbutton29_Callback(hObject, eventdata, handles)
+% hObject    handle to valeurs_singulieres_H_pushbutton29 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+correction_tour1_singval(handles);
+
+
+% --- Executes on button press in Undo_V_pushbutton.
+function Undo_V_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to Undo_V_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% rechercher le numero du correcteur selectionne
+valCV = getappdata(handles.figure1,'n_selection_CV');
+val_corr_CV = getappdata(handles.figure1,'val_corr_CV');
+
+% appliquer les courants precedant la correction SVD
+VCOR_liste = getappdata(handles.figure1,'VCOR_liste');
+setsp('VCOR',val_corr_CV,VCOR_liste(valCV-size(val_corr_CV,1)+1:valCV,:),handles.mode)
+
+% ï¿œcrire l'ancienne valeur correcteur nï¿œvalCH dans l'edit
+liste = getam('VCOR',handles.mode);
+valeur_corr = liste(valCV);
+set(handles.ICV_edit14,'String',sprintf('%3.2f',valeur_corr));
+
+% re-initaliser le slider ï¿œ cette valeur de courant
+set(handles.ICV_slider2,'Value',valeur_corr);
+
+disp('nous y re-voilï¿œ')
+
+% replot des orbites et point et correcteur H
+
+mycallback_steerette_orbites(1,1,hObject, eventdata, handles)
+mycallback_steerette_point_V(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+
+function pourcentage_V_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to pourcentage_V_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pourcentage_V_edit as text
+%        str2double(get(hObject,'String')) returns contents of pourcentage_V_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pourcentage_V_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pourcentage_V_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nb_correcteurs_V_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to nb_correcteurs_V_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nb_correcteurs_V_edit as text
+%        str2double(get(hObject,'String')) returns contents of nb_correcteurs_V_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nb_correcteurs_V_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nb_correcteurs_V_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in valeurs_singulieres_V_pushbutton.
+function valeurs_singulieres_V_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to valeurs_singulieres_V_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%correction_tour1_singval_V(handles);
+essai_V(handles);
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+%device_name = getappdata(handles.figure1,'device_name');
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer Steerette ?',...
+    'Exit Programme Steerette',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+        %% extraire l'Ã©cran YAG
+        %tango_command_inout(device_name.ecran,'Extract');
+        %fonction_error;
+    otherwise
+        disp('Closing aborted')
+end
+
+
+% --------------------------------------------------------------------
+function menu_BPMx_Callback(hObject, eventdata, handles)
+% hObject    handle to menu_BPMx (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% Build List display
+Family = 'BPMx';
+List = getappdata(handles.figure1, 'BPMxList');
+FullList = family2dev(Family,0);    % Include bad status
+CheckList = zeros(size(FullList,1),1);
+i = findrowindex(List, FullList); % Find all selected Devices
+CheckList(i) = 1;
+List = editlist(FullList, Family, CheckList);
+List = intersect(List,family2dev(Family,1)); % Exclude bad status
+setappdata(handles.figure1, 'BPMxList', List);
+
+
+% --------------------------------------------------------------------
+function Untitled_2_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function menu_BPMz_Callback(hObject, eventdata, handles)
+% hObject    handle to menu_BPMz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% Build List display
+Family = 'BPMz';
+List = getappdata(handles.figure1, 'BPMzList');
+FullList = family2dev(Family,0);    % Include bad status
+CheckList = zeros(size(FullList,1),1);
+i = findrowindex(List, FullList); % Find all selected Devices
+CheckList(i) = 1;
+List = editlist(FullList, Family, CheckList);
+List = intersect(List,family2dev(Family,1)); % Exclude bad status
+setappdata(handles.figure1, 'BPMzList', List);
+
+
+% --- Executes on button press in SVD_H_PR_pushbutton.
+function SVD_H_PR_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to SVD_H_PR_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% relire le pourcentage ï¿œ appliquer sur les valeurs de correcteurs
+pourcentage_H_PR = str2num(get(handles.pourcentage_H_PR_edit,'String'));
+% BPMx = getappdata(handles.figure1,'BPMx'); % Orbit H
+HCOR = getappdata(handles.figure1,'HCOR'); % Correcteurs H
+
+%nbpm = 4;
+nbpm = str2num(get(handles.nbBPM_PR_edit,'String'));
+
+% liste des 2 BPM concernÃ©s (les 2 premiers valides)
+BPMxDeviceListPR = getappdata(handles.figure1,'BPMxDeviceListPR');
+BPMxliste = BPMxDeviceListPR(1:nbpm,:);
+
+ncor = 6;
+ncor = str2num(get(handles.nbcorr_PR_edit,'String'));
+
+% liste des 2 correcteurs concernÃ©s (les 2 derniers valides)
+HCORliste = HCOR.DeviceList(end-ncor+1:end,:);
+setappdata(handles.figure1,'HCORliste_PR',HCORliste);
+% enregistrement des correcteurs avant correction
+
+%%%attention !
+%%handles.mode = 'Model';
+%%%attention !
+
+liste = getam('HCOR',handles.mode);
+liste = liste(end-ncor+1:end,:);% courant dans les derniers valides
+% val_corr_CH = liste(valCH-nbcorrSVD+1:valCH); % Dangerux de pas travailler sur deviceliste
+setappdata(handles.figure1,'val_corr_CH_PR',liste);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% plan H
+[bxHCOR,bzHCOR] = modelbeta('HCOR',HCORliste);
+[bxBPM,bzBPM] = modelbeta('BPMx',BPMxliste);
+[phixHCOR,phizHCOR] = modelphase('HCOR',HCORliste);
+[phixBPM,phizBPM] = modelphase('BPMx',BPMxliste);
+COEFF = hw2physics('HCOR','Setpoint',1) * 1e3 ;  % mrad/A
+nu = modeltune;
+deltaphi = 2*pi*nu(1) ; % 2 pi nux
+
+for k = 1:ncor
+    for j = 1:nbpm
+        % calcul de l'efficacitÃ©
+        Meff(j,k) = sqrt(bxHCOR(k)*bxBPM(j)) * sin(deltaphi + phixBPM(j) - phixHCOR(k))*COEFF(k); % mm/A
+    end
+end
+
+%[X ] = anabpmnfirstturns(BPMxliste,2,'NoDisplay2');   % 2 tours sur les 2 premiers BPM valides
+
+if strcmp(handles.orbite,'transport - max Sum') % orbite Ã  corriger type transport
+    %[X] = anabpmfirstturn( BPMx.DeviceList );
+    %[X] = anabpmfirstturn( liste_dev_BPM,'NoDisplay' ); % X en mm premier tour ANCIENNE VERSION
+    nbturns = 2;
+    [X Z Sum idx] = anabpmnfirstturns( BPMxliste,nbturns,'NoDisplay2'); % X en mm premier tour
+    idx
+
+elseif strcmp(handles.orbite,'transport - tour fixe') % orbite Ã  corriger type transport
+    ifirstturn = str2num(get(handles.tour_fixe_T_edit,'String')); % numero du premier tour
+    nbturns = 2;
+    [X ] = anabpmnfirstturns( BPMxliste,nbturns,ifirstturn,'NoDisplay2','NoMaxSum'); % X en mm premier tour
+
+else
+    errordlg('selectionnez une option transport ! ', 'attention');
+end
+%
+orbite_x_1 = X(1,:)';
+%orbite_z_1 = Y(1,:)';
+%orbite_sum_1 = Sum(1,:)';
+
+orbite_x_2 = X(2,:)';
+%orbite_z_2 = Y(2,:)';
+%orbite_sum_2 = Sum(2,:)';
+
+% delta d'orbite Ã  corriger :
+X = orbite_x_2 - orbite_x_1  ;% mm
+difference_orbite_x = X
+
+% end
+
+%%%
+
+[U,S,V] = svd(Meff);
+%setappdata(handles.figure1,'S',S);
+DiagS = diag(S);
+
+% % test si le nombre de valeurs propres a ï¿œtï¿œ modifiï¿œ dans l'interface 
+% % "valeurs singuliï¿œres"
+% nbvp = getappdata(handles.figure1,'valvp');
+% 
+% 
+% % si le nbre n'a pas ï¿œtï¿œ modifiï¿œ et qu'il est incompatible :
+% % if nbvp ==0||nbvp>size(S,2)
+% %     nbvp = size(S,2);
+% if nbvp ==0||nbvp>length(DiagS)
+%     nbvp = length(DiagS);    
+% end
+% % affichage 
+% disp(strcat('nombre de valeurs propres sÃ©lectionnees :',num2str(nbvp)))
+nbvp = 2
+%Rmod = Meff * V;
+Rmod1 = Meff * V(:,1:nbvp);
+%B = Rmod\ (X );
+B1 = Rmod1\ (X );
+%DeltaCM = V * B;
+DeltaCM1 = V(:,1:nbvp) * B1
+%DeltaCM1 = V(:,1:nbvp) * B1;
+consigne = getsp('HCOR',HCORliste,handles.mode);
+% test 
+val_max = getmaxsp('HCOR',HCORliste);
+val_min = getminsp('HCOR',HCORliste);
+if all((consigne-DeltaCM1* pourcentage_H_PR*0.01)<val_max)*all((consigne-DeltaCM1* pourcentage_H_PR*0.01)>val_min);
+    %%%% attention  !
+    stepsp('HCOR',-DeltaCM1* pourcentage_H_PR*0.01 ,HCORliste,handles.mode);
+    mycallback_steerette_orbites_PR(1,1,hObject, eventdata, handles)
+    mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+    disp('eh oui')
+else
+    consigne-DeltaCM1
+    HCORliste
+    errordlg('un correcteur au moins dÃ©passe les valeurs admises !','Attention');
+    return
+end
+
+
+% --- Executes on button press in SVD_V_PR_pushbutton.
+function SVD_V_PR_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to SVD_V_PR_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% relire le pourcentage ï¿œ appliquer sur les valeurs de correcteurs
+pourcentage_V_PR = str2num(get(handles.pourcentage_V_PR_edit,'String'));
+% BPMx = getappdata(handles.figure1,'BPMx'); % Orbit H
+VCOR = getappdata(handles.figure1,'VCOR'); % Correcteurs V
+
+%nbpm = 4;
+nbpm = str2num(get(handles.nbBPM_PR_edit,'String'));
+
+% liste des 2 BPM concernÃ©s (les 2 premiers valides)
+BPMxDeviceListPR = getappdata(handles.figure1,'BPMxDeviceListPR');
+BPMxliste = BPMxDeviceListPR(1:nbpm,:);
+
+ncor = 6;
+ncor = str2num(get(handles.nbcorr_PR_edit,'String'));
+
+% liste des 2 correcteurs concernÃ©s (les 2 derniers valides)
+VCORliste = VCOR.DeviceList(end-ncor+1:end,:);
+setappdata(handles.figure1,'VCORliste_PR',VCORliste);
+% enregistrement des correcteurs avant correction
+
+%%%attention !
+%%handles.mode = 'Model';
+%%%attention !
+
+% enregistrement des correcteurs avant correction
+liste = getam('VCOR',handles.mode);
+liste = liste(end-ncor+1:end,:);% courant dans les derniers valides
+% val_corr_CH = liste(valCH-nbcorrSVD+1:valCH); % Dangerux de pas travailler sur deviceliste
+setappdata(handles.figure1,'val_corr_CV_PR',liste);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% plan V
+[bxVCOR,bzVCOR] = modelbeta('VCOR',VCORliste);
+[bxBPM,bzBPM] = modelbeta('BPMx',BPMxliste);
+[phixVCOR,phizVCOR] = modelphase('VCOR',VCORliste);
+[phixBPM,phizBPM] = modelphase('BPMx',BPMxliste);
+COEFF = hw2physics('VCOR','Setpoint',1) * 1e3 ;  % mrad/A
+nu = modeltune;
+deltaphi = 2*pi*nu(2) ; % 2 pi nuz
+
+for k = 1:ncor
+    for j = 1:nbpm
+        % calcul de l'efficacitÃ©
+        Meff_V(j,k) = sqrt(bzVCOR(k)*bzBPM(j)) * sin(deltaphi + phizBPM(j) - phizVCOR(k))*COEFF(k); % mm/A
+    end
+end
+
+%[X Y] = anabpmnfirstturns(BPMxliste,2,'NoDisplay2');   % 2 tours sur les 2 premiers BPM valides
+%
+if strcmp(handles.orbite,'transport - max Sum') % orbite Ã  corriger type transport
+    %[X] = anabpmfirstturn( BPMx.DeviceList );
+    %[X] = anabpmfirstturn( liste_dev_BPM,'NoDisplay' ); % X en mm premier tour ANCIENNE VERSION
+    nbturns = 2;
+    [X Y Sum idx] = anabpmnfirstturns( BPMxliste,nbturns,'NoDisplay2'); % X en mm premier tour
+    idx
+
+elseif strcmp(handles.orbite,'transport - tour fixe') % orbite Ã  corriger type transport
+    ifirstturn = str2num(get(handles.tour_fixe_T_edit,'String')); % numero du premier tour
+    nbturns = 2;
+    [X Y] = anabpmnfirstturns( BPMxliste,nbturns,ifirstturn,'NoDisplay2','NoMaxSum'); % X en mm premier tour
+
+else
+    errordlg('selectionnez une option transport ! ', 'attention');
+end
+%
+%
+%orbite_x_1 = X(1,:)';
+orbite_z_1 = Y(1,:)';
+%orbite_sum_1 = Sum(1,:)';
+
+%orbite_x_2 = X(2,:)';
+orbite_z_2 = Y(2,:)';
+%orbite_sum_2 = Sum(2,:)';
+
+% delta d'orbite Ã  corriger :
+Z = orbite_z_2 - orbite_z_1  ;% mm
+difference_orbite_z = Z
+
+
+%%%%%%%%%%%%%%%%%%%%%%%
+[U,S,V] = svd(Meff_V);
+DiagS = diag(S);
+nbvp = 2
+%Rmod = Meff_V * V;
+Rmod1 = Meff_V* V(:,1:nbvp);
+%B = Rmod\ (Z );
+B1 = Rmod1\ (Z);
+%DeltaCM = V * B;
+DeltaCM1 = V(:,1:nbvp) * B1;
+consigne = getsp('VCOR',VCORliste,handles.mode);
+% test 
+val_max = getmaxsp('VCOR',VCORliste);
+val_min = getminsp('VCOR',VCORliste);
+if all((consigne-DeltaCM1* pourcentage_V_PR*0.01)<val_max)*all((consigne-DeltaCM1* pourcentage_V_PR*0.01)>val_min);
+    stepsp('VCOR',-DeltaCM1* pourcentage_V_PR*0.01 ,VCORliste,handles.mode);
+    mycallback_steerette_orbites_PR(1,1,hObject, eventdata, handles)
+    mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+    disp('eh oui')
+else
+    consigne-DeltaCM1
+    VCORliste
+    errordlg('un correcteur au moins dÃ©passe les valeurs admises !','Attention');
+    return
+end
+
+
+% --- Executes on button press in orbites_PR_pushbutton.
+function orbites_PR_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to orbites_PR_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% plot le tour 1 et 2 des BPM [1 2] Ã  [1  7]
+List = getappdata(handles.figure1, 'BPMxList'); % BPM non deselectionnÃ© et status 1
+BPMxDeviceListPR = [ 1 2; 1 3 ; 1 4; 1 5; 1 6 ; 1 7];
+% tests
+%BPMxDeviceListPR = [ 1 5];
+BPMxDeviceListPR = intersect(List,BPMxDeviceListPR,'rows');
+setappdata(handles.figure1,'BPMxDeviceListPR',BPMxDeviceListPR);
+%handles.mode = getappdata(handles.figure1,'Mode')
+
+if strcmp(handles.mode,'Model')
+    errordlg('changer le mode  en "online" !','Attention');
+    return
+else
+
+    %     [X Y Sum] = anabpmnfirstturns(BPMxDeviceListPR,2,'NoDisplay');   % 2 tours
+    %     %
+    %     orbite_x_1 = X(1)';
+    %     orbite_z_1 = Z(1)';
+    %     orbite_sum_1 = Sum(1)';
+    %
+    %     orbite_x_2 = X(2)';
+    %     orbite_z_2 = Z(2)';
+    %     orbite_sum_2 = Sum(2)';
+    %
+    %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %     %% graphe 11 : signal somme tour 1 et 2
+    %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %     name=['axes' num2str(11)];
+    %     axes(handles.(name));
+    %
+    %     xdata = getspos(BPMxDeviceListPR);
+    %     plot(xdata,orbite_sum_1,'c-','Tag','line1');
+    %     hold on
+    %     plot(xdata,orbite_sum_2,'c-','Tag','line2');
+    %     set(handles.(name), 'YGrid','On');
+    %     set(gca, 'YMinorTick','On');
+    %     set(handles.(name), 'XMinorTick','On');
+    %
+    %     ylabel(handles.(name),'signal somme');
+    %     %xlim([xdata(1) xdata(end)]);
+    %     %ylim([0 max(orbite_sum)]);
+    %
+    %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %     %% graphe 13 : orbite x et z
+    %     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    %
+    %     name=['axes' num2str(13)];
+    %     axes(handles.(name));
+    %     % plot des orbites
+    %     xdata =getspos(BPMxDeviceListPR);
+    %     %xdata = 1:length(orbite_x);
+    %     plot(xdata,orbite_x_1,'r-','Tag','line1');
+    %     hold on
+    %     plot(xdata,orbite_x_2,'r--','Tag','line3');
+    %     hold on
+    %     ydata = BPMz.Position;
+    %     %ydata = 1:length(orbite_z);
+    %     plot(ydata,orbite_z_1,'b-','Tag','line2');
+    %     hold on
+    %     plot(ydata,orbite_z_2,'b--','Tag','line4');
+    %     xlabel(handles.(name),'position du BPM');
+    mycallback_steerette_orbites_PR(1,1,hObject, eventdata, handles)
+
+end
+
+
+% --- Executes on button press in Undo_V_PR_pushbutton.
+function Undo_V_PR_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to Undo_V_PR_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% 
+% % --- Executes on button press in pushbutton36.
+% function Trace_nombre_onde_pushbutton_Callback(hObject, eventdata, handles)
+% % hObject    handle to pushbutton36 (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+
+ncor = str2num(get(handles.nbcorr_PR_edit,'String'));
+% liste = getam('HCOR',handles.mode);
+% liste = liste(end-ncor+1:end,:);
+valliste = getappdata(handles.figure1,'val_corr_CV_PR');
+VCORliste = getappdata(handles.figure1,'VCORliste_PR');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+% attention !!
+handles.mode = 'Model'
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+setsp('VCOR',valliste,VCORliste,handles.mode);
+disp('nous y re-voilÃ ')
+% replot des orbites et point et correcteur V
+
+mycallback_steerette_orbites_PR(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+
+
+% --- Executes on button press in Nombre_onde_pushbutton.
+function Nombre_onde_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to Nombre_onde_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles.orbite = getappdata(handles.figure1,'Orbite');
+
+BPMx = getappdata(handles.figure1,'BPMx');
+BPMxlist = BPMx.DeviceList;
+
+if strcmp(handles.orbite,'orbite fermÃ©e')
+    errordlg('changer le mode orbite en "transport" !','Attention');
+    return
+else
+    compteur = getappdata(handles.figure1,'compteur');
+    if compteur >1
+        errordlg('Un coup de trop ! Faire Reset','Attention');
+        return
+    else
+
+        if strcmp(handles.orbite,'transport - max Sum') % orbite Ã  corriger type transport
+
+            compteur = compteur + 1;
+            nbturns = 1;
+            [X Z Sum idx] = anabpmnfirstturns( BPMxlist,nbturns,'NoDisplay2'); % X en mm premier tour
+            idx
+
+        elseif strcmp(handles.orbite,'transport - tour fixe') % orbite Ã  corriger type transport
+            compteur = compteur + 1;
+            ifirstturn = str2num(get(handles.tour_fixe_T_edit,'String')); % numero du premier tour
+            nbturns = 1;
+            [X Z Sum] = anabpmnfirstturns( BPMxlist,nbturns,ifirstturn,'NoDisplay2','NoMaxSum'); % X en mm premier tour
+
+        else
+            errordlg('erreur sur option transport !','attention')
+        end
+
+        %compteur = compteur + 1;
+        % acquÃ©rir l'orbite premier tour (on suppose qu'on a actionnÃ© un correcteur)
+        %[X Z Sum] = anabpmfirstturn(BPMxlist,'NoDisplay'); % ancienne version
+        % enregistrement
+        if compteur == 1
+            setappdata(handles.figure1,'orbite_x_coup1',X);
+            setappdata(handles.figure1,'orbite_z_coup1',Z);
+        else
+            setappdata(handles.figure1,'orbite_x_coup2',X);
+            setappdata(handles.figure1,'orbite_z_coup2',Z);
+        end
+    end
+    setappdata(handles.figure1,'compteur',compteur);
+end
+
+% --- Executes on button press in Undo_H_PR_pushbutton.
+function Undo_H_PR_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to Undo_H_PR_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ncor = str2num(get(handles.nbcorr_PR_edit,'String'));
+% liste = getam('HCOR',handles.mode);
+% liste = liste(end-ncor+1:end,:);
+valliste = getappdata(handles.figure1,'val_corr_CH_PR');
+HCORliste = getappdata(handles.figure1,'HCORliste_PR');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+% attention !!
+handles.mode = 'Model'
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+setsp('HCOR',valliste,HCORliste,handles.mode);
+disp('nous y re-voilÃ ')
+% replot des orbites et point et correcteur H
+
+mycallback_steerette_orbites_PR(1,1,hObject, eventdata, handles)
+mycallback_steerette_corr(1,1,hObject, eventdata, handles)
+
+
+% --- Executes on button press in reset_nombre_onde_pushbutton.
+function reset_nombre_onde_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to reset_nombre_onde_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+setappdata(handles.figure1,'compteur',0);
+
+function pourcentage_H_PR_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to pourcentage_H_PR_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pourcentage_H_PR_edit as text
+%        str2double(get(hObject,'String')) returns contents of pourcentage_H_PR_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pourcentage_H_PR_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pourcentage_H_PR_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Trace_nombre_onde_pushbutton.
+function Trace_nombre_onde_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to Trace_nombre_onde_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+BPMx = getappdata(handles.figure1,'BPMx');
+BPMxlist = BPMx.DeviceList;
+s = getspos('BPMx',BPMxlist);
+orbite_x_coup1 = getappdata(handles.figure1,'orbite_x_coup1');
+orbite_z_coup1 = getappdata(handles.figure1,'orbite_z_coup1');
+orbite_x_coup2 = getappdata(handles.figure1,'orbite_x_coup2');
+orbite_z_coup2 = getappdata(handles.figure1,'orbite_z_coup2');
+
+difference_x = orbite_x_coup2 - orbite_x_coup1;
+difference_z = orbite_z_coup2 - orbite_z_coup1;
+figure(1)
+
+plot(s,difference_x,'r.-',s,difference_z,'b.-')
+%xlabel(handles.(name),'position en m');
+xlabel('position en m');
+%ylabel(handles.(name),'diffÃ©rence d''orbite en mm');
+ylabel('diffÃ©rence d''orbite en mm');
+grid on
+hold off
+
+
+function pourcentage_V_PR_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to pourcentage_V_PR_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of pourcentage_V_PR_edit as text
+%        str2double(get(hObject,'String')) returns contents of pourcentage_V_PR_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function pourcentage_V_PR_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pourcentage_V_PR_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nbcorr_PR_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to nbcorr_PR_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbcorr_PR_edit as text
+%        str2double(get(hObject,'String')) returns contents of nbcorr_PR_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nbcorr_PR_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbcorr_PR_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function nbBPM_PR_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to nbBPM_PR_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of nbBPM_PR_edit as text
+%        str2double(get(hObject,'String')) returns contents of nbBPM_PR_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function nbBPM_PR_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to nbBPM_PR_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Ntours_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to Ntours_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Ntours_edit as text
+%        str2double(get(hObject,'String')) returns contents of Ntours_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Ntours_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Ntours_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in fourturns_pushbutton.
+function fourturns_pushbutton_Callback(hObject, eventdata, handles)
+% hObject    handle to fourturns_pushbutton (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+BPMxList = getappdata(handles.figure1, 'BPMxList');
+
+[X Z] = anabpmnfirstturns(BPMxList,4,8,'NoDisplay','NoMaxSum');
+[X1 X2 X3 X4] = deal(X(1,:),X(2,:),X(3,:),X(4,:));
+[Z1 Z2 Z3 Z4] = deal(Z(1,:),Z(2,:),Z(3,:),Z(4,:));
+
+
+%% Algo 4 turns de Laurent fourturnalogothm.m
+nux = acos((X2-X1+X4-X3)/2./(X3-X2))/2/pi;
+nuz = acos((Z2-Z1+Z4-Z3)/2./(Z3-Z2))/2/pi;
+
+Xcod = (X3.*(X1+X3)-X2.*(X2+X4))./((X1-X4) + 3*(X3-X2));
+Zcod = (Z3.*(Z1+Z3)-Z2.*(Z2+Z4))./((Z1-Z4) + 3*(Z3-Z2));
+
+spos = getspos('BPMx',BPMxList);
+figure(78)
+plot(spos,Xcod,'b',spos,Zcod,'r');
+xlabel('s-position [m]');
+ylabel('Close orbit [mm]');
+legend('Xcod','Zcod');
+grid on
+
+figure(79)
+plot(spos,nux,'b',spos,nuz,'r')
+xlabel('s-position [m]')
+ylabel('tune fractionnal part')
+title('4-turn Algorithm')
+legend('nux','nuz');
+grid on
+
+
+
+function tour_fixe_OF_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to tour_fixe_OF_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of tour_fixe_OF_edit as text
+%        str2double(get(hObject,'String')) returns contents of tour_fixe_OF_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function tour_fixe_OF_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to tour_fixe_OF_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function tour_fixe_T_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to tour_fixe_T_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of tour_fixe_T_edit as text
+%        str2double(get(hObject,'String')) returns contents of tour_fixe_T_edit as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function tour_fixe_T_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to tour_fixe_T_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/steerette/test_steerette.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/steerette/test_steerette.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/steerette/test_steerette.m	(revision 17)
@@ -0,0 +1,45 @@
+
+global THERING
+% index des BPM
+index_BPM = family2atindex('BPMx');
+%index_premier_element = family2atindex('K4');
+index_premier_element = family2atindex('PtINJ');
+
+setsp('HCOR',0,'model');
+
+jBPMmax = 10;
+for jBPM = 1:jBPMmax
+    M66 = eye(6);
+    for i = index_premier_element:index_BPM(jBPM)
+        elem = THERING{i};
+        Melem66 = findelemm66(elem,elem.PassMethod,[0 0 0 0 0 0]');
+        M66 = Melem66 * M66;
+    end
+%     R11(jBPM) = M66(1,1);
+%     R12(jBPM) = M66(1,2);
+    R15ssacor(jBPM) = M66(1,5);
+    R16sscor(jBPM,:) = M66(:,6);
+end
+
+getam('HCOR','model')
+setsp('HCOR',8,'model');
+
+for jBPM = 1:jBPMmax
+    M66 = eye(6);
+    for i = index_premier_element:index_BPM(jBPM)
+        elem = THERING{i};
+        Melem66 = findelemm66(elem,elem.PassMethod,[0 0 0 0 0 0]');
+        M66 = Melem66 * M66;
+    end
+%     R11(jBPM) = M66(1,1);
+%     R12(jBPM) = M66(1,2);
+   R15avecacor(jBPM) = M66(1,5);
+    R16aveccor(jBPM,:) = M66(:,6);
+end
+
+R15sscor
+R15aveccor
+R16sscor
+R16aveccor
+diff = R16aveccor - R16sscor
+setsp('HCOR',0,'model');
Index: /trunk/machine/SOLEIL/StorageRing/stepalpha1.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/stepalpha1.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/stepalpha1.m	(revision 17)
@@ -0,0 +1,94 @@
+function stepalpha1(dnux, dnuz, dalpha1, dalpha2)
+% FUNCTION STEPALPHA1 - step tunes and alpha1 (and alpha2) using quadrupole families
+%
+%  INPUTS
+%  1. dnux - horizontal tune variation
+%  2. dnuz - vertical tune variation
+%  3. dalpha1 - first order momentum compaction variation
+%  4. dalpha2 - second order momentum compaction variation
+%
+%  Notes
+%  1. Matrix generation
+%  [DKx DKz DtuneVal]   = modeltunesensitivity;
+%  [QuadRmcf1 QuadRmcf2]= modelmcfsensitivity('Quad');
+%
+%  See Also stepalpha2, physics_mcf, modelalpharesponsemat
+
+
+
+%
+%% Written by Laurent S. Nadolski
+
+InteractiveFlag = 1;
+
+if nargin < 3
+    error('Number of input parameters is at least than 3!')
+end
+
+% Default families to used
+if nargin == 3
+    %familyList = [5 7 8]; % anciennes valeurs
+    familyList = [5 6 7]; % valeurs dÃ©cidÃ©es le 18 avril 2011, commune Ã  MAHER et AMOR
+end
+
+if nargin == 4
+    familyList = [5 7 8 10]; % lowalpha MAHER
+    %familyList = [2 5 6 7]; % lowalpha AMOR
+end
+
+% Load linear response matrices
+% These are the sensibility matrices expressed in amperes
+% DtuneVal
+%
+
+dirName = getfamilydata('Directory','OpsData');
+%load([dirName '..' filesep 'lowalpha_dec08' filesep 'Rmatrix_alphaby20_nouveau_modele_dec08_opt_nonlin']);
+%load([dirName '..' filesep 'lowalpha_dec08' filesep 'Rmatrix_alphaby20_nouveau_modele_janv10_opt_nonlin']);
+FileName = 'Rmatrix_alpha.mat';
+DirectoryName = getfamilydata('Directory', 'OpsData');
+load(fullfile(DirectoryName, FileName));
+
+QuadFamNumber = length(familyList);
+if nargin == 3
+    DI = pinv([DtuneVal(:,familyList); QuadRmcf1(familyList)])*[dnux dnuz dalpha1]';
+elseif nargin == 4
+    %% step tunes and alpha1 and alpha2
+    DI = pinv([DtuneVal(:,familyList); QuadRmcf1(familyList); QuadRmcf2(familyList)])*[dnux dnuz dalpha1 dalpha2]';
+elseif nargin == 2
+    DI = pinv([QuadRmcf1(familyList); QuadRmcf2(familyList)])*[dnux dnuz]';    
+else
+    error('Wrong number of parameters')
+end
+
+%Display variation and ask confirmation
+fprintf('\n\n Quadrupole current values to be applied\n');
+for iQuad = 1:QuadFamNumber,
+    fprintf(sprintf('Quad step for Q%d is %f A\n', familyList(iQuad), DI(iQuad)));
+end
+
+if InteractiveFlag
+
+    % Ask user for applying correction
+    reply = input('Apply values (Y/n) \n', 's');
+    if isempty(reply)
+        reply = 'Y';
+    end
+
+    switch reply
+        case {'y', 'Y'}
+            for iQuad = 1:QuadFamNumber,
+                sprintf('Q%d',iQuad);
+                stepsp(sprintf('Q%d',familyList(iQuad)), DI(iQuad));
+            end
+            fprintf('Correction applied\n');
+        otherwise
+            fprintf('Aborting ...\n');
+    end
+else
+    for iQuad = 1:QuadFamNumber,
+        sprintf('Q%d',iQuad);
+        stepsp(sprintf('Q%d',familyList(iQuad)), DI(iQuad));
+    end
+    fprintf('Correction applied\n');
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/stepalpha2.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/stepalpha2.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/stepalpha2.m	(revision 17)
@@ -0,0 +1,95 @@
+function stepalpha2(dxix, dxiz, dalpha2)
+% FUNCTION STEPALPHA2 - step chromaticities and alpha2 using sextupole families
+%
+%  INPUTS
+%  1. dxix - horizontal tune variation
+%  2. dxiz - vertical tune variation
+%  3. dalpha2 - second order momentum compaction variation
+%
+%  Notes
+%  1. Matrix generation
+%  [DSx DSz DchroVal]     = modelchrosensitivity;
+%  [SextuRmcf1 SextuRmcf2]= modelmcfsensitivity('Sextu');
+%  2. Save matrices for operation
+%     [DKx DKz DtuneVal]   = modeltunesensitivity;
+%     [DSx DSz DchroVal]   = modelchrosensitivity;
+%     [QuadRmcf1 QuadRmcf2]= modelmcfsensitivity('Quad');
+%     [SextuRmcf1 SextuRmcf2]=modelmcfsensitivity('Sextu');
+%     save('Rmatrix_alphaby10_nouveau_modele_janv10_opt_nonlin', 'DtuneVal', 'DchroVal', 'QuadRmcf1', 'QuadRmcf2', 'SextuRmcf1', 'SextuRmcf2');
+
+%  3. S11 and S1 are linked together
+%
+%  See Also stepalpha1, physics_mcf, modelmcfsensitivity, modelalpharesponsemat
+
+%
+%% Written by Laurent S. Nadolski
+
+InteractiveFlag = 1;
+
+% Check input parameters
+if nargin < 3
+    error('Number of input parameters is at least than 3!')
+end
+
+% Default sextupole families to used
+%familyList = [1 4 9]; % low alpha MAHER : ancien choix
+%familyList = [10 9 8]; % low alpha AMOR : ancien choix
+familyList = [4 9 8]; % low alpha AMOR + MAHER (nouveau choix janvier 2011)
+
+% Load linear response matrices
+% These are the sensibility matrices expressed in amperes
+% DchroVal
+%
+
+dirName = getfamilydata('Directory','OpsData');
+%load([dirName '..' filesep 'lowalpha_dec08' filesep 'Rmatrix_alphaby20_nouveau_modele_dec08_opt_nonlin']);
+%load([dirName '..' filesep 'lowalpha_dec08' filesep 'Rmatrix_alphaby10_nouveau_modele_janv10_opt_nonlin']);
+FileName = 'Rmatrix_alpha.mat';
+DirectoryName = getfamilydata('Directory', 'OpsData');
+load(fullfile(DirectoryName, FileName));
+
+SextuFamNumber = length(familyList);
+if nargin == 3
+    %DI= ones(SextuFamNumber,1)*NaN;
+    DI = pinv([DchroVal(:,familyList); SextuRmcf2(familyList)])*[dxix; dxiz; dalpha2];
+else
+    error('Wrong number of parameters')
+end
+
+%Display variation and ask confirmation
+fprintf('\n\n Sextupole current values to be applied\n');
+for iSextu = 1:SextuFamNumber,
+    fprintf(sprintf('Sextupole step for S%d is %f A\n', familyList(iSextu), DI(iSextu)));
+end
+
+if InteractiveFlag
+    % Ask user for applying correction
+    reply = input('Apply values (Y/n) \n', 's');
+    if isempty(reply)
+        reply = 'Y';
+    end
+
+    switch reply
+        case {'y', 'Y'}
+            for iSextu = 1:SextuFamNumber,
+                sprintf('S%d',iSextu);
+                if familyList(iSextu) == 1, % step also S11
+                    stepsp('S11', DI(iSextu));
+                end
+                stepsp(sprintf('S%d',familyList(iSextu)), DI(iSextu));
+            end
+            fprintf('Correction applied\n');
+        otherwise
+            fprintf('Aborting ...\n');
+    end
+else
+    for iSextu = 1:SextuFamNumber,
+        sprintf('S%d',iSextu);
+        if familyList(iSextu) == 1, % step also S11
+            stepsp('S11', DI(iSextu));
+        end
+        stepsp(sprintf('S%d',familyList(iSextu)), DI(iSextu));
+    end
+    fprintf('Correction applied\n');
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/test_life.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/test_life.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/test_life.m	(revision 17)
@@ -0,0 +1,16 @@
+
+for k =1:1000, 
+    LifeTime = measlifetime(60,'Display'); 
+    if getdcct < 0.1
+        disp('Inject first');
+        tango_write_attribute2('ANS/DG/PUB-LifeTime','string_scalar',[num2str(0,4) ' h']);
+    else
+        tango_write_attribute2('ANS/DG/PUB-LifeTime','string_scalar',[num2str(LifeTime,4) ' h']);
+        tango_write_attribute2('ANS/DG/PUB-LifeTime','double_scalar',LifeTime);
+    end
+   
+    
+end
+ tango_write_attribute2('ANS/DG/PUB-LifeTime','string_scalar',[num2str(-1,4) ' h']);
+
+ 
Index: /trunk/machine/SOLEIL/StorageRing/tune/anatunefirstturns.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/tune/anatunefirstturns.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/tune/anatunefirstturns.m	(revision 17)
@@ -0,0 +1,64 @@
+function anatunefirstturns
+%% Search for tunes using 4 turn by turn data
+
+%
+%  Laurent S. Nadolski, 22 mars 2005
+
+% [closeOrb] = findorbit4initial(THERING,ampe,[ampe*0.06;0;0;0;ampe;0]);
+% X0=X0+[closeOrb;0;0];
+
+%Simulation
+if isempty(whos('global','variable'))
+    global THERING
+end
+
+% number of turns
+nturn = 4;
+% initial condition
+x0 = [1e-3;0;0e-3;0;0;0];
+
+% Orbit at ring entrance
+BPMindex= buildatindex('BPMx','BPM');
+
+orbit = ringpass(THERING,x0,nturn);
+
+out = linepass(THERING,x0,BPMindex)
+
+y=out(1,[1 31 61 91])
+[nu ycod] = anaorbit(y)
+
+y=[];
+
+iobs = BPMindex(1); % location of observation
+
+% tracking in TRANSPORT mode over nturn
+for k = 1:nturn
+    out = linepass(THERING,x0,[1 iobs length(THERING)]);
+    x0 = out(:,end);
+    y(k)= out(2,1);
+end
+
+%plot(orbit(1,:));
+y = orbit(1,:);
+[nu ycod] = anaorbit(y)
+
+num=7
+% on turn
+x0=[1e-3;0;0;0;0;0]
+out = linepass(THERING,x0,[1 BPMindex([num num+30 num+60 num+90])' length(THERING)]);
+y = out(1,[2:end-1]);
+[nu ycod] = anaorbit(y);
+20-4*nu
+
+function [nu ycod] = anaorbit(y)
+%
+%
+%  Algorithm
+%  based on orbit computed on 4 turns
+%  Reference ...
+
+cosphi = 0.5*(y(2) - y(1)+ y(4) - y(3))/(y(3)-y(2));
+nu = 0.5/pi*acos(cosphi);
+ycod2 = (y(3) + y(1) - 2*y(2)*cosphi)/2/(1-cosphi);
+ycod = (y(3)*(y(1)+y(3))-y(2)*(y(2)+y(4)))/((y(1)-y(4))+3*(y(3)-y(2)));
+
Index: /trunk/machine/SOLEIL/StorageRing/tune/dacquantization.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/tune/dacquantization.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/tune/dacquantization.m	(revision 17)
@@ -0,0 +1,4 @@
+function b = dacquantization(a, q)
+% function quantization for BPMs
+
+b = a + sign(a) .* q/2 - rem( a+sign(a).*q/2 , q );
Index: /trunk/machine/SOLEIL/StorageRing/tune/gettuneFBT.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/tune/gettuneFBT.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/tune/gettuneFBT.m	(revision 17)
@@ -0,0 +1,86 @@
+function [Tune, tout, DataTime, ErrorFlag] = gettuneFBT(varargin)
+%GETTUNE - Returns the betatron tunes
+%  | Higher Fractional Tune (X) |
+%  |                            | = gettune(t, FreshDataFlag, TimeOutPeriod)
+%  |  Lower Fractional Tune (Y) |
+%
+%  INPUTS
+%  1. t, FreshDataFlag, TimeOutPeriod (see help getpv for details)
+%  2. 'Struct'  - Output will be a response matrix structure
+%     'Numeric' - Output will be a numeric matrix {default}
+%  3. Optional override of the units:
+%     'Physics'  - Use physics  units
+%     'Hardware' - Use hardware units
+%  4. Optional override of the mode:
+%     'Online'    - Get data online  
+%     'Simulator' - Get data on the simulated accelerator using AT
+%     'Model'     - Same as 'Simulator'
+%     'Manual'    - Get data manually
+%
+%  OUTPUTS
+%  1. Fractional tune
+%  2. tout     (see help getpv for details)
+%  3. DataTime (see help getpv for details)
+%  4. ErrorFlag =  0   -> no errors
+%                 else -> error or warning occurred
+%
+%  NOTES
+%  1. An easy way to measure N averaged tunes is mean(gettune(1:2:N)')' (2 seconds between measurements)
+%
+% See also steptune, settune
+
+%
+% Written by Gregory J. Portmann
+% Modified by Laurent S. Nadolski
+
+% [Tune, tout] = gettune(varargin);
+% return;
+
+DisplayFlag = 0;
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+% TO BE REMOVED when TANGO BUG corrected on tunemeasurement device
+%devProxyDataX  = 'ANS/RF/BBFDATAVIEWER.1'; 
+% Modification 17 February 2010 with. Rajesh
+devProxyDataX  = 'ANS/RF/BBFDATAVIEWER.3';
+devProxyDataZ  = 'ANS/RF/BBFDATAVIEWER.2';
+
+if tango_ping(devProxyDataX) == -1 || tango_ping(devProxyDataZ) == -1
+    ErrorFlag = -1;
+    Tune = [NaN; NaN];
+    tango_print_error_stack
+else
+    % get betatron tunes from FBT
+    [Tune, tout, DataTime] = getpv('TUNEFBT', 'Monitor', [1 1; 1 2], varargin{:});
+end
+
+%% Complete structure
+if isstruct(Tune)
+    TuneUnitsString = getfamilydata('TUNEFBT','Monitor','HWUnits');
+    if isempty(TuneUnitsString)
+        Tune.UnitsString = 'Fractional Tune';
+    else
+        Tune.UnitsString = TuneUnitsString;
+    end
+    Tune.DataDescriptor = 'TUNEFBT';
+    Tune.CreatedBy = 'gettune';
+end
+
+%% Display to the screen
+if DisplayFlag
+   fprintf('\n  Horizontal Tune = %f\n', Tune(1));
+   fprintf('    Vertical Tune = %f\n\n', Tune(2));
+end
+
Index: /trunk/machine/SOLEIL/StorageRing/tune/meastunerespFBT.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/tune/meastunerespFBT.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/tune/meastunerespFBT.m	(revision 17)
@@ -0,0 +1,437 @@
+function [Rmat, OutputFileName] = meastunerespFBT(varargin)
+%MEASTUNERESPFBT - Measures the response from quadrupole to tune measured
+%at large strorage current
+%  [R, FileName] = meastunerespFBT(ActuatorFamily, ActuatorDeviceList, ActuatorDelta, ModulationMethod, WaitFlag, FileName, DirectoryName, ExtraDelay)
+%
+%  INPUTS 
+%  1. ActuatorFamily = Family name or cell array of family nams {Default: {'Q7','Q9'}}
+%  2. ActuatorDeviceList = Device list {Default: [], the entire family}
+%                          (Note: all devices in DeviceList are changed at the same time)
+%  3. ActuatorDelta = Change in magnet strength {Default: getfamilydata('ActuatorFamily','Setpoint','DeltaRespMat')}
+%  4. ModulationMethod - 'Unipolar' is the default since hysteresis is usually an issue (see help measrespmat)
+%  5. If WaitFlag >= 0, then WaitFlag is the delay before measuring the tune (sec)
+%                 = -3, then a delay of getfamilydata('TuneDelay') is used {Default} 
+%                 = -4, then pause until keyboard input
+%                 = -5, then input the tune measurement manually by keyboard input
+%  6. Optional input to change the default filename and directory
+%     FileName - Filename for the response matrix data
+%                (No input or empty means data will be saved to the default file (except for model response matrices))  
+%     DirectoryName - Directory name to store the response matrix data file 
+%     Note: a. FileName can include the path if DirectoryName is not used
+%           b. For model response matrices, FileName must exist for a file save
+%           c. When using the default FileName, a dialog box will prompt for changes
+%
+%  7. ExtraDelay - extra time delay [seconds] after a setpoint change
+%
+%  8. 'Struct' will return a response matrix structure
+%     'Numeric' will return a matrix output {Default}
+%     'Matrix'  - Return a matrix output {Default}
+%          
+%                 Note: 'Matrix' is only a valid flag for Numeric outputs
+%                 Often use with the model input.  For example, to compare the model
+%                 tune response matrix to the default matrix,
+%                 Mmodel = meastuneresp('Model','Matrix');
+%                 Mmeas  = gettuneresp;
+%
+%  9. Optional override of the units:
+%     'Physics'  - Use physics  units
+%     'Hardware' - Use hardware units
+%
+%  10. Optional override of the mode:
+%      'Online'    - Set/Get data online  
+%      'Model'     - Get the model chromaticity directly from AT (uses modeltune)
+%      'Simulator' - Set/Get data on the simulated accelerator using AT (ie, same commands as 'Online')
+%      'Manual'    - Set/Get data manually
+%
+%  11. 'Display'    - Prints status information to the command window {Default}
+%      'NoDisplay'  - Nothing is printed to the command window
+%
+%  12. 'Archive' - Save the response matrix structure {Default, unless Mode='Model'}
+%      'NoArchive' - Save the response matrix structure
+% 
+%  OUTPUTS
+%  R = Response matrix from delta quadrupole to delta tune
+%
+%      If more than one quadrupole family is input, the R is a cell array indexed by 
+%      quadrupole family (ie, the number of families in ActuatorFamily).  The default
+%      is to make R{1} Q7 and R{2} Q9.  R{1} or R.Data for structure output
+%      is a 2x(number of quadrupole in family) array.  The first row is horizontal 
+%      tuen and the second is vertical.
+%
+%      Units: delta(Tune) / delta(Quadrupole) is set by the .Units field for the quadrupole family
+%             Typically:  Hardware units:  fractional tune / Amp;
+%                         Physics  units:  fractional tune / K;
+%
+%  EXAMPLES
+%  1. Gets 2x2 tune response matrix using the 2 default families
+%     meastuneresp('Display')
+%  2. For all quad in model
+%     RTune = meastunerespFBT({'Q1','Q2','Q3','Q4','Q5','Q6','Q7','Q8','Q9','Q10'}, 'Model')
+%
+%  NOTES
+%  1. 'Physics' does not work at SOLEIL since polynomial fit does not work for small current !!!
+%
+%  See Also gettune, steptune, settune
+
+
+%
+%  Written by Gregory Portmann and Jeff Corbett
+%  Modified for measurement at large current
+
+
+% Initialize
+ActuatorFamily = findmemberof('Tune Corrector')';
+if isempty(ActuatorFamily)
+    ActuatorFamily = {'Q7','Q9'};
+end
+
+%ActuatorDelta = {getfamilydata('Q9','Setpoint','DeltaRespMat'),getfamilydata('Q10','Setpoint','DeltaRespMat')};
+ActuatorDelta = {1,1};
+
+ModulationMethod = 'unipolar';
+DirectoryName = [];
+WaitFlag = 10;
+ExtraDelay = 0; 
+StructOutputFlag = 0;
+MatrixFlag = 1;
+DisplayFlag = 1;
+ArchiveFlag = -1;
+FileName = -1;
+ModeFlag = '';  % model, online, manual, or '' for default mode
+UnitsFlag = ''; % hardware, physics, or '' for default units
+TimeStamp = clock;
+
+InputFlags = {};
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'Struct')
+        StructOutputFlag = 1;
+        MatrixFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Numeric')
+        StructOutputFlag = 0;
+        NumericOutputFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Matrix')
+        MatrixFlag = 1;
+        StructOutputFlag = 0;
+        NumericOutputFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                varargin(i+1) = [];
+            end
+        end
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'unipolar')
+        ModulationMethod = 'unipolar';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'bipolar')
+        ModulationMethod = 'bipolar';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Model')
+        ModeFlag = varargin{i};
+        InputFlags = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator')
+        ModeFlag = varargin{i};
+        InputFlags = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Online')
+        ModeFlag = varargin{i};
+        InputFlags = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Manual')
+        ModeFlag = varargin{i};
+        InputFlags = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Physics')
+        UnitsFlag = varargin{i};
+        InputFlags = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Hardware')
+        UnitsFlag = varargin{i};
+        InputFlags = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+if length(varargin) >= 1
+    ActuatorFamily = varargin{1};  
+end
+
+if length(varargin) >= 2
+    ActuatorDeviceList = varargin{2};
+else
+    if iscell(ActuatorFamily)
+        for i = 1:length(ActuatorFamily)
+            ActuatorDeviceList{i} = [];
+        end
+    else
+        ActuatorDeviceList = [];
+    end
+end
+
+if length(varargin) >= 3
+    ActuatorDelta = varargin{3};  
+else
+    if iscell(ActuatorFamily)
+        for i = 1:length(ActuatorFamily)
+            ActuatorDelta{i} = [];
+        end
+    else
+        ActuatorDelta = [];
+    end
+end
+
+% Force to be a cells
+if ~iscell(ActuatorFamily)
+    ActuatorFamily = {ActuatorFamily};
+end
+if ~iscell(ActuatorDeviceList)
+    ActuatorDeviceList = {ActuatorDeviceList};
+end
+if ~iscell(ActuatorDelta)
+    ActuatorDelta = {ActuatorDelta};
+end
+
+if length(varargin) >= 4
+    ModulationMethod = varargin{4};  
+end
+
+% WaitFlag input
+if length(varargin) >= 5
+    WaitFlag = varargin{5};
+end
+if isempty(WaitFlag) || WaitFlag == -3
+    WaitFlag = 2.2*getfamilydata('TuneDelay');
+end
+if isempty(WaitFlag)
+    WaitFlag = input('   Delay for Tune Measurement (Seconds, Keyboard Pause = -4, or Manual Tune Input = -5) = ');
+end
+
+if length(varargin) >= 6
+    FileName = varargin{6};  
+end
+if length(varargin) >= 7
+    if isempty(varargin{7})
+        % Use default
+        DirectoryName = getfamilydata('Directory', 'TuneResponse');
+    elseif ischar(varargin{7})
+        DirectoryName = varargin{7};
+    else
+        % Empty DirectoryName mean it will only be used if FileName is empty
+        DirectoryName = [];
+    end
+end
+
+% Look for ExtraDelay
+if length(varargin) >= 8
+    if isempty(varargin{8})
+        % Use default
+    end
+    if isnumeric(varargin{8})
+        ExtraDelay = varargin{8};
+    end
+end
+
+% Change defaults for the model (note: simulator mode mimics online)
+if strcmpi(ModeFlag,'Model')
+    % Only archive data if ArchiveFlag==1 or FileName~=[]
+    if ischar(FileName) || ArchiveFlag == 1
+        ArchiveFlag = 1;    
+    else
+        ArchiveFlag = 0;            
+    end
+    
+    % Only display is it was turned on at the command line
+    if DisplayFlag == 1
+        % Keep DisplayFlag = 1
+    else
+        DisplayFlag = 0;
+    end
+else
+    % Online or Simulator: Archive unless ArchiveFlag was forced to zero
+    if ArchiveFlag ~= 0
+        ArchiveFlag = 1;  
+        if FileName == -1
+            FileName = '';
+        end
+    end
+end
+
+
+% Print setup information
+% if DisplayFlag
+%     if ~strcmpi(ModeFlag,'Model')
+%         fprintf('\n');
+%         fprintf('   MEASTUNERESP measures the tune response to the quadrupole magnet families.\n');
+%         fprintf('   The storage ring lattice and hardware should be setup for properly.\n');
+%         fprintf('   Make sure the following information is correct:\n');
+%         fprintf('   1.  Proper magnet lattice (including skew quadrupoles)\n');
+%         fprintf('   2.  Proper electron beam energy\n');
+%         fprintf('   3.  Proper electron bunch pattern\n');
+%         fprintf('   4.  Tune is functioning or in manual mode\n');
+%         fprintf('   5.  The injection bump magnets off\n\n');
+%     end
+% end    
+
+
+% Browse for filename and directory if using default FileName
+if ArchiveFlag
+    if isempty(FileName)
+        FileName = appendtimestamp(getfamilydata('Default', 'TuneRespFile'));
+        DirectoryName = getfamilydata('Directory', 'TuneResponse');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'Response', filesep, 'Dispersion', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select a Dispersion Response File', [DirectoryName FileName]);
+        if FileName == 0 
+            ArchiveFlag = 0;
+            disp('   Dispersion response measurement canceled.');
+            Rmat = []; OutputFileName='';
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    elseif FileName == -1
+        FileName = appendtimestamp(getfamilydata('Default', 'TuneRespFile'));
+        DirectoryName = getfamilydata('Directory', 'TuneResponse');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'Response', filesep, 'Dispersion', filesep];
+        end
+        FileName = [DirectoryName, FileName];
+    end
+    
+    % Acquire initial data
+    MachineConfig = getmachineconfig(InputFlags{:});
+end
+
+
+% % Query to begin measurement
+% if DisplayFlag
+%     tmp = questdlg('Begin response matrix measurement?','MEASTUNERESP','YES','NO','YES');
+%     if strcmp(tmp,'NO')
+%         fprintf('   Response matrix measurement aborted\n');
+%         Rmat = [];
+%         return
+%     end
+% end
+
+
+% Acquire initial data
+if StructOutputFlag || ArchiveFlag               
+    X = getx('struct', InputFlags{:});
+    Y = gety('struct', InputFlags{:});
+end    
+
+
+% Begin main loop over actuators
+TimeStart = gettime;
+% TUNE must be a family for this to work
+if DisplayFlag
+    Rmat = measrespmat('TUNEFBT', [1;2], ActuatorFamily, ActuatorDeviceList, ActuatorDelta, ModulationMethod, WaitFlag, ExtraDelay, 'Struct', 'Display', InputFlags{:});
+else
+    Rmat = measrespmat('TUNEFBT', [1;2], ActuatorFamily, ActuatorDeviceList, ActuatorDelta, ModulationMethod, WaitFlag, ExtraDelay, 'Struct', 'NoDisplay', InputFlags{:});
+end
+if StructOutputFlag   
+    for i = 1:size(Rmat,1)
+        for j = 1:size(Rmat,2)
+            if iscell(Rmat)
+                Rmat{i,j}.DataDescriptor = 'TUNEFBT Response Matrix';
+                Rmat{i,j}.CreatedBy = 'meastuneresp';
+                
+                Rmat{i,j}.X = X;
+                Rmat{i,j}.Y = Y;
+            else
+                Rmat(i,j).DataDescriptor = 'TUNEFBT Response Matrix';
+                Rmat(i,j).CreatedBy = 'meastuneresp';
+                
+                Rmat(i,j).X = X;
+                Rmat(i,j).Y = Y;
+            end
+        end
+    end
+end
+
+
+% For one family inputs, there is no need for a cell output (probably already done in measrespmat)
+if length(Rmat) == 1 && iscell(Rmat)
+    Rmat = Rmat{1};
+end
+
+
+% Save data in the proper directory
+if ArchiveFlag || ischar(FileName)
+    [DirectoryName, FileName, Ext] = fileparts(FileName);
+    DirStart = pwd;
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    if ErrorFlag
+        fprintf('\n   There was a problem getting to the proper directory!\n\n');
+    end
+    save(FileName, 'Rmat','MachineConfig');
+    cd(DirStart);
+    OutputFileName = [DirectoryName, FileName, '.mat'];
+    
+    if DisplayFlag
+        fprintf('   Tune response matrix data (''Rmat'') saved to disk\n');
+        fprintf('   Filename: %s\n', OutputFileName);
+        fprintf('   The total response matrix measurement time: %.2f minutes.\n', (gettime-TimeStart)/60);
+    end
+end
+
+
+% Put the data part in Rmat
+if ~StructOutputFlag
+    if length(ActuatorFamily) == 1
+        Rmat = Rmat.Data;
+    else
+        for i = 1:size(Rmat,1)
+            for j = 1:size(Rmat,2)
+                Rmat{i,j} = Rmat{i,j}.Data;
+            end
+        end
+    end
+end
+
+if MatrixFlag && StructOutputFlag
+    error('Cannot ask for a matrix and a structure output.');
+end
+
+
+if MatrixFlag
+    if length(ActuatorFamily) == 1
+        R = sum(Rmat,2);
+    else
+        if size(Rmat,1) == 1
+            for j = 1:size(Rmat,2)
+                R(:,j) = sum(Rmat{1,j},2);
+            end
+        else
+            error('Tune response matrix cell array has more than one row (which is very odd)');
+        end
+    end
+    Rmat = R;
+end
+
+
Index: /trunk/machine/SOLEIL/StorageRing/tune/plotnuFBT.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/tune/plotnuFBT.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/tune/plotnuFBT.m	(revision 17)
@@ -0,0 +1,32 @@
+function plotnuFBT
+%PLOTNUFBT - plot tune excited with FBT
+%
+%
+
+%% Written by Laurent S. Nadolski
+
+devName = 'ans/rf/bbfdataviewer.1-tunex';
+rep = tango_read_attributes2(devName, {'FFTabs','FFTord'});
+xvectZ = rep(1).value;
+zvectZ = rep(2).value;
+
+devName = 'ans/rf/bbfdataviewer.2-tunez';
+rep = tango_read_attributes2(devName, {'FFTabs','FFTord'});
+xvectX = rep(1).value;
+zvectX = rep(2).value;
+
+%% 
+
+figure;
+subplot(2,1,1)
+semilogy(xvectX, zvectX); grid on
+yaxis([1e-10 1])
+xlabel('Qx')
+
+subplot(2,1,2)
+semilogy(xvectZ, zvectZ); grid on
+yaxis([1e-10 1])
+xlabel('Qz')
+
+nu = gettuneFBT;
+suptitle(sprintf('Betatron Tune from FTB: Qx= %5.4f, Qz = %5.4f', nu(1), nu(2)))
Index: /trunk/machine/SOLEIL/StorageRing/tune/tuneFBgui.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/tune/tuneFBgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/tune/tuneFBgui.m	(revision 17)
@@ -0,0 +1,879 @@
+function tuneFBgui(action, Input2, Input3)
+%tuneFBgui - GUI for tune feedback
+%
+%  INPUTS
+%  None to launch the programme
+%  1. action - Callback to execute
+%  2. Input2 - First argument for callback function
+%  3. Input3  First argument for callback function
+%
+%  OUPUTS
+%  None
+%
+
+% For the compiler
+%#function gettune
+%#function solamor2linb
+%#function solamor2linc
+%#function lat_2020_3170f
+%#function lat_2020_3170e
+%#function lat_2020_3170b
+%#function lat_2020_3170a
+%#function lat_pseudo_nanoscopium_juin2011_122BPM
+%#function lat_nano_176_234_122BPM
+
+%
+%  Written by Laurent S. Nadolski
+
+% Check if the AO exists
+checkforao;
+
+DEBUGFLAG = 0;
+
+% Dedicated dserver Device
+devSpeakerName = getfamilydata('TANGO', 'TEXTTALKERS');
+
+devLockName    = 'ANS/CA/SERVICE-LOCKER';
+
+Mode = 'Online';
+%Mode = 'Model';
+
+% Arguments
+if nargin < 1
+    action = 'Initialize';
+end
+
+if nargin < 2
+    Input2 = 0;
+end
+
+if nargin < 3
+    Input3 = 0;
+end
+
+%
+
+% Minimum stored current to allow correction
+% Default values
+DCCTMIN = read_fbnu_property('CurrentThreshold');
+%DCCTMIN = 50; % mA multibunch
+%DCCTMIN = 7; % mA single bunch
+
+%%%%%%%%%%%%%%%%
+%% Main Program
+%%%%%%%%%%%%%%%%
+
+switch(action)
+
+
+    %% Initialize
+    case 'Initialize'
+
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        % GUI  CONSTRUCTION
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        ButtonWidth  = 200;
+        ButtonHeight = 25;
+
+        Frame0height = 2*(ButtonHeight) + 10; % Close button. DO NOT MODIFY
+        Frame1height = 12*(ButtonHeight) + 10 ; % Tune Feedback frame
+        Frame2height = 4*(ButtonHeight) + 10 ; % Status frame
+        FrameWidth   = ButtonWidth+6;
+        FrameLeft    = 0.025*FrameWidth;
+        LeftMargin   = 3*FrameLeft;
+
+        Frametop  = Frame0height + Frame1height + Frame2height + 3*8;
+        Frame1top = Frametop - 8;
+        Frame2top = Frametop - Frame1height - 2*8;
+        Frame0top = Frametop - Frame1height - Frame2height - 3*8;
+
+        FigWidth    = 1.15*FrameWidth;                % Figure width
+        FigHeight   = Frametop+0.2*ButtonHeight+6;% Figure heigth
+
+        % Change figure position
+        set(0,'Units','pixels');
+        p = get(0,'screensize');
+
+        orbfig = findobj(allchild(0),'tag','TUNEFBGUIFig1');
+
+        if ~isempty(orbfig)
+            return; % IHM already exists
+        end
+
+        h0 = figure( ...
+            'Color',[0.1 0.1 1], ...
+            'HandleVisibility','Off', ...
+            'Interruptible', 'on', ...
+            'MenuBar','none', ...
+            'Name','TUNE FB CONTROL', ...
+            'NumberTitle','off', ...
+            'Units','pixels', ...
+            'Position',[30 p(4)-FigHeight-40 FigWidth FigHeight], ...
+            'Resize','off', ...
+            'HitTest','off', ...
+            'IntegerHandle', 'off', ...
+            'Tag','TUNEFBGUIFig1');
+
+        %% Frame Box I Tune Feedback frame
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[FrameLeft Frame2top 1.1*FrameWidth Frame1height], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin 3 + Frame1top - 1*(ButtonHeight+3) FrameWidth .6*ButtonHeight], ...
+            'String','TUNE Feedback', ...
+            'Style','text');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[LeftMargin 3 + Frame1top - 2*(ButtonHeight+3) 0.5*ButtonWidth-32 .8*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','TUNEFBGUICheckboxHcorrection');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'Interruptible', 'on', ...
+            'Position',[LeftMargin + 0.55*ButtonWidth 3 + Frame1top - 2*(ButtonHeight+3) 0.5*ButtonWidth-32 .8*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','checkbox', ...
+            'Value',1,...
+            'Tag','TUNEFBGUICheckboxVcorrection');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin  3 + Frame1top - 5*(ButtonHeight+3) FrameWidth ButtonHeight], ...
+            'String','Golden Tunes', ...
+            'Style','Text', ...
+            'Value',0,...
+            'Tag','TUNEFBGUIGoldenTune');
+
+
+        uicontrol('Parent',h0, ...
+            'Callback','tuneFBgui(''StartTuneFB'');', ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin 3 + Frame1top - 4*(ButtonHeight+3) 0.5*FrameWidth ButtonHeight], ...
+            'String','Start TUNE FB', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','TUNEFBGUIStartTUNEFB');
+
+        uicontrol('Parent',h0, ...
+            'Callback','tuneFBgui(''StopTuneFB'');', ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin + 0.55*ButtonWidth  3 + Frame1top - 4*(ButtonHeight+3) 0.5*FrameWidth ButtonHeight], ...
+            'String','Stop TUNE FB', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','TUNEFBGUIStopTUNEFB');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.5 0.5 1], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin  3 + Frame1top - 6*(ButtonHeight+3) FrameWidth ButtonHeight], ...
+            'String','Configuration settings', ...
+            'Style','Text', ...
+            'Value',0,...
+            'Tag','TUNEFBGUISettings');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.5 0.5 1], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin  3 + Frame1top - 7*(ButtonHeight+3) FrameWidth ButtonHeight], ...
+            'String','Min Dnux', ...
+            'Style','Text', ...
+            'Value',0,...
+            'Tag','TUNEFBGUIMinDnu');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.5 0.5 1], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin  3 + Frame1top - 8*(ButtonHeight+3) FrameWidth ButtonHeight], ...
+            'String','Max Dnux', ...
+            'Style','Text', ...
+            'Value',0,...
+            'Tag','TUNEFBGUIMaxDnu');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.5 0.5 1], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin  3 + Frame1top - 9*(ButtonHeight+3) FrameWidth ButtonHeight], ...
+            'String','tuneFB.LoopDelay', ...
+            'Style','Text', ...
+            'Value',0,...
+            'Tag','TUNEFBGUItuneFB.LoopDelay');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.5 0.5 1], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin  3 + Frame1top - 10*(ButtonHeight+3) FrameWidth ButtonHeight], ...
+            'String','tuneFB.factor', ...
+            'Style','Text', ...
+            'Value',0,...
+            'Tag','TUNEFBGUItuneFB.factor');
+
+        uicontrol('Parent',h0, ...
+            'Callback','tuneFBgui(''CurrentThresholdSetting'');', ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ForegroundColor',[1 0 0], ...
+            'Enable','on', ...
+            'FontSize',10, ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin  3 + Frame1top - 11*(ButtonHeight+3) FrameWidth ButtonHeight], ...
+            'String','Current threshold setting', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','TUNEFBGUICurrentThresholdSetting');
+
+        uicontrol('Parent',h0, ...
+            'CreateFcn','tuneFBgui(''OrbitSetupTuneFB'',1);', ...
+            'Callback','tuneFBgui(''OrbitSetupTuneFB'');', ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'FontSize',10, ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin 3 + Frame1top - 3*(ButtonHeight+3) FrameWidth ButtonHeight], ...
+            'String','Edit FB configuration', ...
+            'Style','PushButton', ...
+            'Value',0,...
+            'Tag','TUNEFBGUIButtonTuneFBSetup');
+
+        %% Frame Box Status
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[FrameLeft Frame0top  1.1*FrameWidth Frame2height], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'FontWeight', 'Bold', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin Frame2top - 1*(ButtonHeight+3) ButtonWidth .7*ButtonHeight], ...
+            'String','TUNEFB status ', ...
+            'Style','text');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin Frame2top - 2*(ButtonHeight+3) 0.6*ButtonWidth .7*ButtonHeight], ...
+            'String','To get Status Push button: ', ...
+            'Style','text', ...
+            'Tag','TUNEFBGUIStaticTextHeader');
+
+        uicontrol('Parent',h0, ...
+            'callback','tuneFBgui(''UpdateStatusTuneFB'');pause(0);', ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'HorizontalAlignment','center', ...
+            'ListboxTop',0, ...
+            'Position',[6 + 0.7*ButtonWidth Frame2top - 2.1*ButtonHeight 0.3*ButtonWidth .7*ButtonHeight], ...
+            'String','Update', ...
+            'Style','PushButton', ...
+            'Tag','TUNEFBGUIUpdateStatusTuneFB');
+
+        h1= uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 1], ...
+            'ForegroundColor','b', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin+0.1*ButtonWidth Frame2top - 3*ButtonHeight 0.25*ButtonWidth .7*ButtonHeight], ...
+            'String','H-plane', ...
+            'Style','text', ...
+            'Tag','TUNEFBGUIisTunexFBRunning');
+
+        h2 = uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 1], ...
+            'ForegroundColor','b', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin+0.4*ButtonWidth Frame2top - 3*ButtonHeight 0.25*ButtonWidth .7*ButtonHeight], ...
+            'String','V-plane', ...
+            'Style','text', ...
+            'Tag','TUNEFBGUIisTunezFBRunning');
+
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[1 1 0], ...
+            'ForegroundColor','b', ...
+            'ListboxTop',0, ...
+            'Position',[LeftMargin Frame2top - 4*ButtonHeight ButtonWidth .7*ButtonHeight], ...
+            'String','current', ...
+            'Style','text', ...
+            'Tag','TUNEFBGUIStatus');
+
+        %% Frame Box "Close"
+        uicontrol('Parent',h0, ...
+            'BackgroundColor',[0.8 0.8 0.8], ...
+            'ListboxTop',0, ...
+            'Position',[FrameLeft 8 1.1*FrameWidth 0.7*Frame0height], ...
+            'Style','frame');
+
+        uicontrol('Parent',h0, ...
+            'Callback', 'close(gcbf);', ...
+            'Enable','On', ...
+            'Interruptible','Off', ...
+            'Position',[LeftMargin 13 ButtonWidth ButtonHeight], ...
+            'String','Close', ...
+            'Tag','TUNEFBGUIClose');
+
+        % Read planes for FB correction in device server
+
+        try
+            isTunexFBRunning = readattribute([devLockName, '/istunexfbrunning']);
+            isTunezFBRunning = readattribute([devLockName, '/istunezfbrunning']);
+        catch
+            warndlg(sprintf('Error with dserveur %s', devLockName));
+        end
+
+        set(h1, 'Value',isTunexFBRunning);
+        set(h2, 'value',isTunezFBRunning);
+
+
+        if isTunexFBRunning || isTunezFBRunning
+            % Disable buttons in GUI
+            set(0,'showhiddenhandles','on');
+            set(findobj(gcf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Enable','on');
+            set(findobj(gcf,'Tag','TUNEFBGUIClose'),'Enable','on');
+            set(findobj(gcf,'Tag','TUNEFBGUICheckboxHcorrection'),'Enable','off');
+            set(findobj(gcf,'Tag','TUNEFBGUICheckboxVcorrection'),'Enable','off');
+            pause(0);
+        end
+
+        % init FB structure
+        pause(0.5)
+        tuneFBgui('UpdateStatusTuneFB');               
+
+        %tuneFBgui('ShowFBConfig');
+
+    %% CurrentThresholdSetting
+    case 'CurrentThresholdSetting'
+     tuneFB = get(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata');
+     answer = inputdlg({'New Current Threshold'}, 'DIALOG BOX',1, {num2str(tuneFB.DCCTMIN)});
+     if isempty(answer)
+         return
+     end
+     tuneFB.DCCTMIN = str2num(answer{1});
+     set(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata', tuneFB);
+     % UPDATE TANGO free property    
+     write_fbnu_property('CurrentThreshold',num2str(tuneFB.DCCTMIN));
+     
+     strdata = sprintf('Corr. Percent.: %d %%  Min current: %d mA', tuneFB.fact*100, tuneFB.DCCTMIN);
+     set(findobj(gcbf,'Tag','TUNEFBGUItuneFB.factor'),'String', strdata);
+
+
+    %%  UpdateStatusTuneFB
+    case 'UpdateStatusTuneFB'
+        try
+            isTunexFBRunning = readattribute([devLockName, '/istunexfbrunning']);
+            isTunezFBRunning = readattribute([devLockName, '/istunezfbrunning']);
+
+            if isempty(gcbf)
+                mainFig = findall(0, 'Tag', 'TUNEFBGUIFig1');
+            else
+                mainFig = gcbf;
+            end
+
+            if isTunexFBRunning
+                set(findobj(mainFig,'Tag','TUNEFBGUIisTunexFBRunning'),'BackGroundColor', [0 1 0]);
+            else
+                set(findobj(mainFig,'Tag','TUNEFBGUIisTunexFBRunning'),'BackGroundColor', [1 1 1]);
+            end
+
+            if isTunezFBRunning
+                set(findobj(mainFig,'Tag','TUNEFBGUIisTunezFBRunning'),'BackGroundColor', [0 1 0]);
+            else
+                set(findobj(mainFig,'Tag','TUNEFBGUIisTunezFBRunning'),'BackGroundColor', [1 1 1]);
+            end
+
+            set(findobj(mainFig,'Tag','TUNEFBGUIStaticTextHeader'),'String', datestr(clock));
+
+            sdata = sprintf('Stored current is %3.1f mA', getdcct(Mode));
+            set(findobj(mainFig,'Tag','TUNEFBGUIStatus'),'String', sdata);
+        catch
+            dbstack
+            fprintf('\n  %s \n',lasterr);
+            fprintf('Error in UpdateStatusTuneFB\n') ;
+        end
+
+        %% OrbitSetupTuneFB
+    case 'OrbitSetupTuneFB'
+        % NOTES setting for FB
+
+        InitFlag = Input2;  % Input #2: if InitFlag, then initialize variables
+
+        if InitFlag % just at startup
+            % Setup orbit correction elements : DEFAULT configuration
+            tune0 = getgolden('TUNE',[1 1;1 2]);
+            %tune0 = [0.2020; 0.3165];
+            if any(tune0==0) % if bad golden
+                tuneFB.Golden.tune(1) = 0.2020;
+                tuneFB.Golden.tune(2) = 0.3100;
+            else % otherwise take by default golden value
+                tuneFB.Golden.tune = tune0;
+            end
+
+            % configuration of TUNEFB
+
+            % minimum tune variation for correction
+            tuneFB.minDeltaTuneX = 5e-4;
+            tuneFB.minDeltaTuneZ = 6e-4;
+
+            % maximum tune variation
+            tuneFB.maxDeltaTuneX = 1e-2;
+            tuneFB.maxDeltaTuneZ = 1e-2;
+
+            % Feedback loop setup
+            tuneFB.LoopDelay = 5.0;    % Period of Feedback loop [seconds], make sure the BPM averaging is correct
+
+            % Maximum allowed tune variation during 3 seconds
+            tuneFB.TuneErrorMax = 5e-3;
+
+            % tuneFB.factor to apply for the correction 1 means full correction
+            tuneFB.fact = 0.3;
+
+            % Current trheshold for starting the feedback
+            tuneFB.DCCTMIN = DCCTMIN;         
+
+        else % For orbit correction Configuration
+            tuneFB = get(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata');
+            answer = inputdlg({'Golden fractional tunex', 'Golden fractional tunez '},'DIALOG BOX',1,{num2str(tuneFB.Golden.tune(1)), num2str(tuneFB.Golden.tune(2))});
+            if isempty(answer)
+                return
+            end
+            tunex = str2num(answer{1});
+            tunez = str2num(answer{2});
+
+            if tunex > 0 && tunex < 0.5 && tunez > 0 && tunez < 0.5
+                tuneFB.Golden.tune(1) = tunex;
+                tuneFB.Golden.tune(2) = tunez;
+            else
+                warndlg('Wrong values: 0 < tune < 0.5')
+                return;
+            end
+        end
+
+        
+        set(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata', tuneFB);
+
+        strdata = sprintf('tunex=%5.4f          tunez=%5.4f',tuneFB.Golden.tune);
+        set(findobj(gcbf,'Tag','TUNEFBGUIGoldenTune'),'String', strdata);
+
+        tuneFB = get(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata');
+        strdata = sprintf('Min DnuX=%5.1e    DnuZ=%5.1e', tuneFB.minDeltaTuneX, tuneFB.minDeltaTuneZ);
+        set(findobj(gcbf,'Tag','TUNEFBGUIMinDnu'),'String', strdata);
+
+
+        strdata = sprintf('Max DnuX=%5.1e    DnuZ=%5.1e', tuneFB.maxDeltaTuneX, tuneFB.maxDeltaTuneZ);
+        set(findobj(gcbf,'Tag','TUNEFBGUIMaxDnu'),'String', strdata);
+
+
+        strdata = sprintf('LoopDelay=%d s     TuneError=%5.1e', tuneFB.LoopDelay, tuneFB.TuneErrorMax);
+        set(findobj(gcbf,'Tag','TUNEFBGUItuneFB.LoopDelay'),'String', strdata);
+
+
+        strdata = sprintf('Corr. Percent.: %d %%  Min current: %d mA', tuneFB.fact*100, tuneFB.DCCTMIN);
+        set(findobj(gcbf,'Tag','TUNEFBGUItuneFB.factor'),'String', strdata);
+
+
+        %% StartTuneFB
+    case 'StartTuneFB'
+
+        % Check if not already running
+        check4tunefb(devLockName);
+
+
+        % Check if plane(s) to correct is/are selected
+        if ~get(findobj(gcbf,'Tag','TUNEFBGUICheckboxHcorrection'),'Value')  && ...
+                ~get(findobj(gcbf,'Tag','TUNEFBGUICheckboxVcorrection'),'Value')
+            warndlg('TuneFBgui:StartTuneFB: No plane selected, action aborted')
+            fprintf('%s\n TuneFBgui:StartTuneFB: No plane selected, action aborted\n', datestr(clock))
+            return;
+        end
+
+
+        % Confirmation dialogbox
+        StartFlag = questdlg('Start orbit TUNE Feedback?', 'TUNE Feedback','Yes','No','No');
+
+        if strcmp(StartFlag,'No')
+            fprintf('   %s \n', datestr(clock));
+            fprintf('   ***************************\n');
+            fprintf('   **  TUNE  Feedback Exit  **\n');
+            fprintf('   ***************************\n\n');
+            pause(0);
+            return
+        end
+
+        % Disable buttons in GUI
+        set(0,'showhiddenhandles','on');
+        set(findobj(gcf,'Tag','TUNEFBGUIButtonOrbitCorrectionSetupTuneFB'),'Enable','on');
+        set(findobj(gcf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Enable','off');
+        set(findobj(gcf,'Tag','TUNEFBGUIStartTUNEFB'),'Enable','off');
+        set(findobj(gcf,'Tag','TUNEFBGUIStopTUNEFB'),'Enable','on');
+        set(findobj(gcf,'Tag','TUNEFBGUICheckboxHcorrection'),'Enable','off');
+        set(findobj(gcf,'Tag','TUNEFBGUICheckboxVcorrection'),'Enable','off');
+        set(findobj(gcf,'Tag','TUNEFBGUIClose'),'Enable','off');
+        pause(0);
+
+        set(findobj(gcbf,'Tag','TUNEFBGUIStatus'),'BackgroundColor', [0 1 0])
+        tuneFBgui('UpdateStatusTuneFB');
+
+        tuneFB = get(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata');
+        % Lock service
+        if get(findobj(gcbf,'Tag','TUNEFBGUICheckboxHcorrection'),'Value')
+            tuneFB.XLockTag  = tango_command_inout2(devLockName,'Lock', 'istunexfbrunning');
+        end
+        if get(findobj(gcbf,'Tag','TUNEFBGUICheckboxVcorrection'),'Value')
+            tuneFB.ZLockTag  = tango_command_inout2(devLockName,'Lock', 'istunezfbrunning');
+        end
+
+        set(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata', tuneFB);
+        tuneFBgui('UpdateStatusTuneFB');
+
+        TUNE_FEEDBACK_STOP_FLAG = 0;
+        setappdata(findobj(gcbf,'Tag','TUNEFBGUIFig1'),'TUNE_FEEDBACK_STOP_FLAG', TUNE_FEEDBACK_STOP_FLAG)
+
+        % Number of error before stopping
+        stallError = 0;
+        stallErrorMax = 50; % Maximum error permissible
+        % Init 
+        tuneFB = get(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata');
+        
+        tune_old  = tuneFB.Golden.tune;
+        tune_old2 = tuneFB.Golden.tune;
+        
+        while TUNE_FEEDBACK_STOP_FLAG == 0 % infinite loop
+            try
+                t00 = gettime;
+                fprintf('Iteration time %s\n',datestr(clock));
+
+                % Check if GUI has been closed
+                if isempty(gcbf)
+                    TUNE_FEEDBACK_STOP_FLAG = 1;
+                    lasterr('TUNE GUI DISAPPEARED!');
+                    error('TUNE GUI DISAPPEARED!');
+                end
+
+                tuneFB = get(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata');
+                
+                %% main loop
+                % read tune from FBT
+
+                if getdcct(Mode) < tuneFB.DCCTMIN     % Don't Feedback if the current is too small
+                    TUNE_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         TUNE Feedback stopped due to low beam current (<%d mA)\n',datestr(now), tuneFB.DCCTMIN);
+                    strgMessage = 'Fideubaque des nombres d''ondes arraitai car le courant est trop bas';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    warndlg('TuneFB : arrÃ©tÃ© car courant trop bas');
+                    tuneFBgui('StopTuneFB');
+                    break;
+                else
+                    tune  = gettuneFBT;
+                end
+
+                % double reading for getting of parasite peaks
+                pause(1);
+
+                tune2  = gettuneFBT;
+
+                ErrorTune = tune2-tune;
+                if max(abs(ErrorTune)) > tuneFB.TuneErrorMax % redo measurement
+                    fprintf('StallError #%d\n', stallError);
+                    stallError = stallError + 1;
+                    pause(1);
+                    tune3  = gettuneFBT;
+                    ErrorTune = tune3-tune2;
+                    if max(abs(ErrorTune)) > tuneFB.TuneErrorMax %stop FB
+                        TUNE_FEEDBACK_STOP_FLAG = 1;
+                        fprintf('%s         TUNE Feedback stopped due tune oscillation\n',datestr(now));
+                        strgMessage = 'Fideubaque des nombres d''ondes arraitai car oscillations des nombres d''ondes';
+                        tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                        str1 = sprintf('TuneFB : arrÃ©tÃ© car oscillations des nombres d''ondes durant 3 s (max=%5.4f)\n', tuneFB.TuneErrorMax);
+                        str2 = sprintf('tunex(1) = %5.4f tunex(2) = %5.4f tunex(3) = %5.4f\n', ...
+                            tune(1), tune2(1), tune3(1));
+                        str3 = sprintf('tunez(1) = %5.4f tunez(2) = %5.4f tunez(3) = %5.4f\n', ...
+                            tune(2), tune2(2), tune3(2));
+                        warndlg([str1 str2 str3]);
+                        fprintf([str1 str2 str3]);
+                        tuneFBgui('StopTuneFB');
+                        pause(1)
+                        break;
+                    else
+                        tune = tune3;
+                    end
+                end                      
+                
+                if stallError > stallErrorMax     % Don't Feedback if the current is too small
+                    TUNE_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         TUNE Feedback stopped due stallError Max reached on tunes\n',datestr(now));
+                    strgMessage = 'Fideubaque des nombres d''ondes arraitai car trop d''erreurs';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    warndlg(sprintf('TuneFB : trop d''erreurs, %d', stallErrorMax));
+                    tuneFBgui('StopTuneFB');
+                    pause(1)
+                    break;
+                end
+
+                % Further more checking on tune values
+
+                if any(tune==0) || any(isnan(tune))
+                    str1 = sprintf('TuneFB:StartTuneFB: something is wrong with the tunes reading\n');
+                    str2 = sprintf('TuneFB:StartTuneFB: FB stopped at %s\n', datestr(clock));
+                    fprintf([str1 str2]);
+                    warndlg([str1 str2]);
+                    strgMessage = 'Arret du fiideubaque des nombres d''ondes : problaime de mesure';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    tuneFBgui('StopTuneFB');
+                    break                
+                else
+                    deltaTune = tune - tuneFB.Golden.tune;
+                end
+
+
+                % Zeroing tunex if not selected for correction
+                if ~get(findobj(gcbf,'Tag','TUNEFBGUICheckboxHcorrection'),'Value')
+                    deltaTune(1) =0;
+                end
+
+                % Zeroing tunez if not selected for correction
+                if ~get(findobj(gcbf,'Tag','TUNEFBGUICheckboxVcorrection'),'Value')
+                    deltaTune(2) =0;
+                end
+
+                if abs(deltaTune(1)) > tuneFB.maxDeltaTuneX && get(findobj(gcbf,'Tag','TUNEFBGUICheckboxHcorrection'),'Value')
+                    TUNE_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('TuneFB:StartTuneFB:%s         TUNE Feedback stopped due to too large tune variations\n',datestr(now));
+                    str1 = sprintf('deltaNux = %5.4f (max: %5.4f) \ndeltaNuz = %5.4f (max: %5.4f) \n', ...
+                        deltaTune(1), tuneFB.maxDeltaTuneX, deltaTune(2), tuneFB.maxDeltaTuneZ);
+                    fprintf(str1);
+                    str2 = sprintf('TuneFB:StartTuneFB: arret Feedback \n car variations des nombres d''ondes trop importantes\n ');
+                    strgMessage = 'Arret du fiideubaque des nombres d''ondes : variations trop grandes';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    warndlg([str2, str1]);
+                    tuneFBgui('StopTuneFB');
+                    break;
+                elseif abs(deltaTune(2)) > tuneFB.maxDeltaTuneZ && get(findobj(gcbf,'Tag','TUNEFBGUICheckboxVcorrection'),'Value')
+                    TUNE_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('TuneFB:StartTuneFB:%s         TUNE Feedback stopped due to too large tune variations\n',datestr(now));
+                    str1 = sprintf('deltaNux = %5.4f (max: %5.4f) \ndeltaNuz = %5.4f (max: %5.4f) \n', ...
+                        deltaTune(1), tuneFB.maxDeltaTuneX, deltaTune(2), tuneFB.maxDeltaTuneZ);
+                    fprintf(str1);
+                    str2 = sprintf('TuneFB:StartTuneFB: arret Feedback \n car variations des nombres d''ondes trop importantes\n ');
+                    tango_command_inout2(devSpeakerName,'DevTalk','Arret du fiideubaque des nombres d''ondes : variations trop grandes');
+                    warndlg([str2, str1]);
+                    tuneFBgui('StopTuneFB');
+                    break;
+                elseif getdcct(Mode) < tuneFB.DCCTMIN     % Don't Feedback if the current is too small
+                    TUNE_FEEDBACK_STOP_FLAG = 1;
+                    fprintf('%s         TUNE Feedback stopped due to low beam current (<%d mA)\n',datestr(now), tuneFB.DCCTMIN);
+                    strgMessage = 'Arret du fiideubaque des nombres d''ondes : courant trop bas';
+                    tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                    warndlg('TuneFB;StartTuneFB: arret Feedback car courant trop bas');
+                    tuneFBgui('StopTuneFB');
+                    break;
+                else
+                    % Correction tune using Q7 and Q9
+                    if abs(deltaTune(1)) < tuneFB.minDeltaTuneX && abs(deltaTune(2)) < tuneFB.minDeltaTuneZ
+                        fprintf('Skip correction Dnux = %5.4e < %5.4e, Dnuz = %5.4e < %5.4e\n', deltaTune(1), ...
+                            tuneFB.minDeltaTuneX, deltaTune(2), tuneFB.minDeltaTuneZ)
+                    else
+                        if DEBUGFLAG
+                            QuadVal = steptune(-deltaTune*tuneFB.fact,Mode,'NoSp');
+                            fprintf('Correction Dnux=%5.4f Dnuz=%5.4f\n', deltaTune*tuneFB.fact)
+                            fprintf('Quadrupole changes: Q7=%3.2e A, Q9=%3.2e A\n', QuadVal);
+                        end                        
+                        % Check if tune reading is frozen then stop FB
+                        if any(tune - tune_old2 == 0)
+                            if tune(1) == tune_old2(1)
+                                str1 = sprintf('TuneFB:StartTuneFB: nux does not change\n');
+                            end
+                            if tune(2) == tune_old2(2)
+                                str1 = sprintf('TuneFB:StartTuneFB: nuz does not change\n');
+                            end
+                            str2 = sprintf('TuneFB:StartTuneFB: FB stopped at %s\n', datestr(clock));
+                            fprintf([str1 str2]);
+                            fprintf('nux = %f nux_old = %f nuz = %f nuz_old = %f \n', tune(1), tune_old2(1), ...
+                                tune(2), tune_old2(2));
+                            warndlg([str1 str2]);
+                            strgMessage = 'Arret du fiideubaque des nombres d''ondes : problaime de mesure';
+                            tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                            tuneFBgui('StopTuneFB');
+                            break
+                        else
+                            tune_old1 = tune_old;
+                            tune_old = tune;
+                            steptune(-deltaTune*tuneFB.fact, Mode);
+                        end
+                    end
+                end
+
+                % Pause until tuneFB.LoopDelay
+                if DEBUGFLAG
+                    fprintf('Time elapsed between 2 iterations (before pause) is %f s\n', gettime-t00);
+                end
+
+                while (gettime-t00) < tuneFB.LoopDelay
+                    pause(.1); % pause large enough for allowing GUI interaction
+                    % Check if GUI has been closed
+                    if isempty(gcbf)
+                        TUNE_FEEDBACK_STOP_FLAG = 1;
+                        lasterr('TUNEGUI GUI DISAPPEARED!');
+                        error('TUNEGUI GUI DISAPPEARED!');
+                    end
+                    %% fast loop to check whether FB loop was asked to be stopped
+                    if TUNE_FEEDBACK_STOP_FLAG == 0
+                        TUNE_FEEDBACK_STOP_FLAG = getappdata(findobj(gcbf,'Tag','TUNEFBGUIFig1'),'TUNE_FEEDBACK_STOP_FLAG');
+                    end
+                end
+                tuneFBgui('UpdateStatusTuneFB');
+
+                % Pause until tuneFB.LoopDelay
+                if DEBUGFLAG
+                    fprintf('Time elapsed between 2 iterations (after pause) is %f s\n', gettime-t00);
+                end
+                
+                % Maintain lock on FB service
+                if get(findobj(gcbf,'Tag','TUNEFBGUICheckboxHcorrection'),'Value')
+                    argin.svalue={'istunexfbrunning'};
+                    argin.lvalue=int32(tuneFB.XLockTag);
+                    tango_command_inout2(devLockName,'MaintainLock', argin);
+                end
+
+                if get(findobj(gcbf,'Tag','TUNEFBGUICheckboxVcorrection'),'Value')
+                    argin.svalue={'istunezfbrunning'};
+                    argin.lvalue=int32(tuneFB.ZLockTag);
+                    tango_command_inout2(devLockName,'MaintainLock', argin);
+                end
+
+                % Check if button stop was pressed
+                TUNE_FEEDBACK_STOP_FLAG = getappdata(findobj(gcbf,'Tag','TUNEFBGUIFig1'),'TUNE_FEEDBACK_STOP_FLAG');
+
+            catch
+                dbstack
+                fprintf('\n  %s \n',lasterr);
+                warndlg('Tune Feedback stopped on fatal error');
+                strgMessage = 'Erreur fatale, arret du fiideubaque des nombres d''ondes';
+                tango_giveInformationMessage(devSpeakerName,  strgMessage);
+                TUNE_FEEDBACK_STOP_FLAG = 1;
+                tuneFBgui('StopTuneFB');
+                set(findobj(gcbf,'Tag','TUNEFBGUIStatus'),'BackgroundColor', [1 0 0])
+            end
+        end
+
+
+
+        %% StopTuneFB
+    case 'StopTuneFB'
+
+        setappdata(findobj(gcbf,'Tag','TUNEFBGUIFig1'),'TUNE_FEEDBACK_STOP_FLAG', 1);
+
+        tuneFB = get(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata');
+
+        % Unlock TUNE service
+
+        if get(findobj(gcbf,'Tag','TUNEFBGUICheckboxHcorrection'),'Value')
+            argin.svalue={'istunexfbrunning'};
+            argin.lvalue=int32(tuneFB.XLockTag);
+            tango_command_inout2(devLockName,'Unlock', argin);
+        end
+
+        if get(findobj(gcbf,'Tag','TUNEFBGUICheckboxVcorrection'),'Value')
+            argin.svalue={'istunezfbrunning'};
+            argin.lvalue=int32(tuneFB.ZLockTag);
+            tango_command_inout2(devLockName,'Unlock', argin);
+        end
+
+        set(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Userdata', tuneFB);
+        tuneFBgui('UpdateStatusTuneFB');
+
+        fprintf('   %s \n', datestr(clock));
+        fprintf('   ***************************\n');
+        fprintf('   **  TUNE  Feedback Stopped**\n');
+        fprintf('   ***************************\n\n');
+        pause(1);
+
+        % enable buttons in GUI
+        set(0,'showhiddenhandles','on');
+
+        set(findobj(gcbf,'Tag','TUNEFBGUIButtonTuneFBSetup'),'Enable','on');
+        set(findobj(gcbf,'Tag','TUNEFBGUIStartTUNEFB'),'Enable','on');
+        set(findobj(gcbf,'Tag','TUNEFBGUIStopTUNEFB'),'Enable','off');
+        set(findobj(gcbf,'Tag','TUNEFBGUICheckboxHcorrection'),'Enable','on');
+        set(findobj(gcbf,'Tag','TUNEFBGUICheckboxVcorrection'),'Enable','on');
+        set(findobj(gcbf,'Tag','TUNEFBGUIClose'),'Enable','on');
+        pause(0);
+
+    otherwise
+        fprintf('   Unknown action name: %s.\n', action);
+
+end
+
+%% Check status of tune feedback
+function check4tunefb(devLockName)
+
+if strcmp(getmode('Q7'),'Online') && strcmp(getmode('Q9'),'Online')
+    %look for already running feedback loops
+
+    isTunexFBRunning = readattribute([devLockName, '/istunexfbrunning']);
+
+    isTunezFBRunning = readattribute([devLockName, '/istunezfbrunning']);
+
+    if isTunexFBRunning
+        warning('TUNEX FB is already running. Stop other application first!')
+        warndlg('TUNEX FB is already running. Stop other application first!')
+    end
+
+    if isTunezFBRunning
+        warning('TUNEZ FB is already running. Stop other application first!')
+        warndlg('TUNEZ FB is already running. Stop other application first!')
+    end
+end
+
+
+
+%% Write database property
+function write_fbnu_property (prop_name, prop_val)
+    db = tango_get_dbname; % Get database
+    cmd_name = 'DbPutProperty';
+    cmd_arg  = {'FBnu', '1', prop_name, '1', num2str(prop_val)};
+    tango_command_inout2(db, cmd_name, cmd_arg);
+
+   
+%% Read database property    
+function pv = read_fbnu_property(prop_name)
+    db = tango_get_dbname;  % Get database
+    cmd_name = 'DbGetProperty';
+    cmd_arg  = {'FBnu', prop_name};
+    cmd_res = tango_command_inout2(db, cmd_name, cmd_arg);
+    pv = str2double(cmd_res(5));
Index: /trunk/machine/SOLEIL/StorageRing/updateatindex.m
===================================================================
--- /trunk/machine/SOLEIL/StorageRing/updateatindex.m	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRing/updateatindex.m	(revision 17)
@@ -0,0 +1,289 @@
+function updateatindex
+%UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)
+
+%
+% Adapted by Laurent S. Nadolski
+% Modified 21 November Nanoscopium S11/S12 missing Atgroupparameter
+
+global THERING
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Append Accelerator Toolbox information %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Since changes in the AT model could change the AT indexes, etc,
+% It's best to regenerate all the model indices whenever a model is loaded
+
+% Sort by family first (findcells is linear and slow)
+Indices = atindex(THERING);
+
+AO = getao;
+
+%% BPMS
+try
+    ifam = 'BPMx';
+    AO.(ifam).AT.ATType = 'X';
+    AO.(ifam).AT.ATIndex = Indices.BPM(:); % findcells(THERING,'FamName','BPM')';
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+
+    ifam = 'BPMz';
+    AO.(ifam).AT.ATType = 'Z';
+    AO.(ifam).AT.ATIndex = Indices.BPM(:); % findcells(THERING,'FamName','BPM')';
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+
+    ifam = 'PBPMz'; %% UGLY TO BE changed
+    if isfield(AO, ifam) && isfield(Indices, 'PXBPM')
+        AO.(ifam).AT.ATType = 'PZ';
+        AO.(ifam).AT.ATIndex = [Indices.BPM(1:5) Indices.PXBPM(1) ...
+            Indices.BPM(6:35) Indices.PXBPM(2) ...
+            Indices.BPM(36:65) Indices.PXBPM(3) ...
+            Indices.BPM(66:97) Indices.PXBPM(4) Indices.BPM(98:end)]';
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+    end
+catch err
+    warning('MML:wrongfamily', '%s family not found in the model.', ifam);
+    fprintf('Message: %s\n', err.message);
+end
+
+
+%% CORRECTORS
+try
+    ifam = 'HCOR';
+    %% Horizontal correctors are at every AT corrector
+    AO.(ifam).AT.ATType = ifam;
+    %AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.COR);
+    AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, [Indices.COR(1:30)'; Indices.HCMHU640(:); Indices.COR(31:end)']);
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+
+    %% Vertical correctors are at every AT corrector
+    ifam = 'VCOR';
+    AO.(ifam).AT.ATType = ifam;
+    %AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.COR);
+    AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, [Indices.COR(1:30)'; Indices.VCMHU640(:); Indices.COR(31:end)']);
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+
+    %% Fast Horizontal correctors are at every AT corrector
+    ifam = 'FHCOR';
+    AO.(ifam).AT.ATType = ifam;
+    AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.FCOR);
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+
+    %% Fast vertical correctors are at every AT corrector
+    ifam = 'FVCOR';
+    AO.(ifam).AT.ATType = ifam;
+    AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.FCOR);
+    AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+    
+    %% SKEW QUADS
+    ifam = 'QT';
+    AO.(ifam).AT.ATType  = 'SkewQuad';
+    AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.SkewQuad);
+    %AO.(ifam).AT.ATIndex = ATindx.SkewQuad(:);
+    %AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+    AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+    %% VIRTUAL SKEW QUADS
+    if isfield(AO,'SQ') && isfield(Indices,'SQ')
+        ifam = 'SQ';
+        AO.(ifam).AT.ATType  = 'SkewQuad';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.SQ);
+        %AO.(ifam).AT.ATIndex = ATindx.SkewQuad(:);
+        %AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   %not all correctors used
+        AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+    end
+    
+    %% PX2 tuner correctors
+    if isfield(AO,'PX2C') && isfield(Indices,'PX2C')
+        ifam = 'PX2C';
+        AO.(ifam).AT.ATType = 'HCOR';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.PX2C);
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+    end
+    
+    %% NANO tuner correctors
+    if isfield(AO,'NANOC') && isfield(Indices,'NANOC')
+        ifam = 'NANOC';
+        AO.(ifam).AT.ATType = 'HCOR';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.NANOC);
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+    end
+    
+    %% Machine study kickers KEMH
+    if isfield(AO,'KEMH') && isfield(Indices,'KEMH')
+        ifam = 'KEMH';
+        AO.(ifam).AT.ATType = 'HCOR';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.KEMH);
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+    end
+    
+    %% Machine study kickers KEMH
+    if isfield(AO,'KEMV') && isfield(Indices,'KEMV')
+        ifam = 'KEMV';
+        AO.(ifam).AT.ATType = 'VCOR';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.KEMV);
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+    end
+    
+catch err
+    warning('MML:wrongfamily', 'Corrector family %s not found in the model.',ifam);
+    fprintf('Message: %s\n', err.message);
+end
+
+
+%% QUADRUPOLES
+try
+    for k = 1:10,
+        ifam = ['Q' num2str(k)];
+        AO.(ifam).AT.ATType = 'QUAD';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.(ifam));
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+    end
+    ifam = 'Qall';
+    AO.(ifam).AT.ATType = 'QUAD';
+    AO.(ifam).AT.ATIndex = [AO.Q1.AT.ATIndex; AO.Q2.AT.ATIndex; AO.Q3.AT.ATIndex; AO.Q4.AT.ATIndex; AO.Q5.AT.ATIndex; ...
+        AO.Q6.AT.ATIndex; AO.Q7.AT.ATIndex; AO.Q8.AT.ATIndex; AO.Q9.AT.ATIndex; AO.Q10.AT.ATIndex];
+    AO.(ifam).Position = [AO.Q1.Position; AO.Q2.Position; AO.Q3.Position; AO.Q4.Position; AO.Q5.Position; ...
+        AO.Q6.Position; AO.Q7.Position; AO.Q8.Position; AO.Q9.Position; AO.Q10.Position];
+    
+    %% quadrupole for nanoscopium
+    if isfield(AO,'Q11') && isfield(Indices,'Q11')
+        ifam = 'Q11';
+        AO.(ifam).AT.ATType = 'QUAD';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.(ifam));
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+        
+        ifam = 'Q12';
+        AO.(ifam).AT.ATType = 'QUAD';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.(ifam));
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+        
+        ifam = 'Qall';
+        AO.(ifam).Position = [AO.Q1.Position; AO.Q2.Position; AO.Q3.Position; AO.Q4.Position; AO.Q5.Position; ...
+        AO.Q6.Position; AO.Q7.Position; AO.Q8.Position; AO.Q9.Position; AO.Q10.Position; AO.Q11.Position; AO.Q12.Position];
+        AO.(ifam).AT.ATIndex = [AO.Q1.AT.ATIndex; AO.Q2.AT.ATIndex; AO.Q3.AT.ATIndex; AO.Q4.AT.ATIndex; AO.Q5.AT.ATIndex; ...
+        AO.Q6.AT.ATIndex; AO.Q7.AT.ATIndex; AO.Q8.AT.ATIndex; AO.Q9.AT.ATIndex; AO.Q10.AT.ATIndex; AO.Q11.AT.ATIndex; AO.Q12.AT.ATIndex];
+    else
+      AO.Q11.AT.ATIndex =[];  
+      AO.Q12.AT.ATIndex =[];  
+    end
+    
+    ifam = 'Qall';
+    %sort all s-position, mandatory for plotfamily
+    [t idx] = sort(AO.(ifam).Position);
+    AO.(ifam).Position = AO.(ifam).Position(idx);
+    AO.(ifam).Setpoint.TangoNames = AO.(ifam).Setpoint.TangoNames(idx);
+    AO.(ifam).Monitor.TangoNames = AO.(ifam).Monitor.TangoNames(idx);
+    AO.(ifam).DeviceName = AO.(ifam).DeviceName(idx);
+    AO.(ifam).Status = AO.(ifam).Status(idx);
+catch err
+    warning('MML:wrongfamily', '%s family not found in the model.',ifam);
+    fprintf('Message: %s\n', err.message);
+end
+
+%% SEXTUPOLES
+try
+    for k = 1:10,
+        ifam = ['S' num2str(k)];
+        AO.(ifam).AT.ATType = 'SEXT';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.(ifam));
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+        AO.(ifam).AT.ATParameterGroup{1} = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K2');
+    end
+    ifam = 'Sall'; % take first element
+    AO.(ifam).Position = [AO.S1.Position(1); AO.S2.Position(1); ...
+        AO.S3.Position(1); AO.S4.Position(1); AO.S5.Position(1); ...
+        AO.S6.Position(1); AO.S7.Position(1); AO.S8.Position(1); ...
+        AO.S9.Position(1); AO.S10.Position(1); NaN; NaN];
+    
+    % for nanoscopium October 2010
+    % add family S11 and S12
+    if isfield(AO,'S11') && isfield(Indices,'S11')
+        ifam = 'S11';
+        AO.(ifam).AT.ATType = 'SEXT';
+        AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.(ifam));
+        AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';        
+        AO.(ifam).AT.ATParameterGroup{1} = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K2');
+        
+        ifam = 'Sall'; % Take first element
+        AO.(ifam).Position = [AO.S1.Position(1); AO.S2.Position(1); ...
+            AO.S3.Position(1); AO.S4.Position(1); AO.S5.Position(1); ...
+            AO.S6.Position(1); AO.S7.Position(1); AO.S8.Position(1); ...
+            AO.S9.Position(1); AO.S10.Position(1); AO.S11.Position(1); NaN];
+        
+        if isfield(AO,'S12') && isfield(Indices,'S12')
+            ifam = 'S12';
+            AO.(ifam).AT.ATType = 'SEXT';
+            AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.(ifam));
+            AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+            AO.(ifam).AT.ATParameterGroup{1} = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,'K2');
+            
+            AO.Sall.Position = [AO.Sall.Position; AO.S12.Position];
+            
+            ifam = 'Sall'; % Take first element
+            
+            AO.(ifam).Position = [AO.(ifam).Position; AO.S12.Position(1);];
+        else
+            AO.S12.AT.ATIndex =[];
+        end
+    else
+        AO.S11.AT.ATIndex =[];
+    end
+
+    
+%     ifam = 'Sall';
+    %sort all s-position, mandatory for plotfamily
+    % Does not work for indivual sextupoles
+%     [t idx] = sort(AO.(ifam).Position);
+%     AO.(ifam).Position = AO.(ifam).Position(idx);
+%     AO.(ifam).Setpoint.TangoNames = AO.(ifam).Setpoint.TangoNames(idx);
+%     AO.(ifam).Monitor.TangoNames = AO.(ifam).Monitor.TangoNames(idx);
+%     AO.(ifam).DeviceName = AO.(ifam).DeviceName(idx);
+%     AO.(ifam).Status = AO.(ifam).Status(idx);
+catch err
+    warning('MML:wrongfamily', 'Sextupole %s families not found in the model.', ifam);
+    fprintf('Message: %s\n', err.message);
+end
+
+
+%% BEND
+
+try
+    % Combined BEND    
+    AO.BEND.AT.ATType = 'BEND';
+    ATIndex = Indices.BEND(:);
+    AO.BEND.AT.ATIndex = buildatindex(AO.BEND.FamilyName, sort(ATIndex));
+    AO.BEND.Position = findspos(THERING, AO.BEND.AT.ATIndex(:,1))';
+catch err
+    warning('MML:wrongfamily', 'BEND family not found in the model.');
+    fprintf('Message: %s\n', err.message);
+end
+
+%% RF CAVITY
+try
+    AO.RF.AT.ATType = 'RF Cavity';
+    AO.RF.AT.ATIndex = findcells(THERING,'Frequency')';
+    AO.RF.Position = findspos(THERING, AO.RF.AT.ATIndex(:,1))';
+catch err
+    warning('MML:wrongfamily', 'RF cavity not found in the model.');
+    fprintf('Message: %s\n', err.message);
+end
+
+setao(AO);
+
+%% Set TwissData at the start of the storage ring
+try
+
+    % BTS twiss parameters at the input
+    TwissData.alpha = [0 0]';
+    TwissData.beta  = [13.8467 2.2582]';
+    TwissData.mu    = [0 0]';
+    TwissData.ClosedOrbit = [0 0 0 0]';
+    TwissData.dP = 0;
+    TwissData.dL = 0;
+    TwissData.Dispersion  = [.06 0 0 0]';
+
+    setpvmodel('TwissData', '', TwissData);  % Same as, THERING{1}.TwissData = TwissData;
+
+catch err
+    warning('MML:wrongfamily','Setting the twiss data parameters in the MML failed.');
+    fprintf('Message: %s\n', err.message);
+end
Index: /trunk/machine/SOLEIL/StorageRingDvptData/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRingDvptData/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRingDvptData/.cvsignore	(revision 17)
@@ -0,0 +1,9 @@
+alpha_over_10_MAHER_auto
+lat_2020_3170e
+alphaby10_AMOR_new_mod_nov10_lin_auto_0.m
+magnetcoefficients_new_calib_new_modele_low_alpha_oct2010_auto1.m
+alphaby10_nouveau_modele_dec08_opt_lin_1.m
+alphaby10_maher_opt_lin_1_auto.m
+setoperationalmode_old.m
+magnetcoefficients_new_calib_new_modele_low_alpha_oct2010.m
+magnetcoefficients_new_calib_new_mod_low_alpha_AMOR_oct10.m
Index: /trunk/machine/SOLEIL/StorageRingOpsData/alpha_over_100/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/StorageRingOpsData/alpha_over_100/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/StorageRingOpsData/alpha_over_100/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+*.#*
Index: /trunk/machine/SOLEIL/common/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/common/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/common/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+changes
Index: /trunk/machine/SOLEIL/common/GettingStarted.html
===================================================================
--- /trunk/machine/SOLEIL/common/GettingStarted.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/GettingStarted.html	(revision 17)
@@ -0,0 +1,389 @@
+
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+   
+      <!--
+This HTML is auto-generated from an M-file.
+To make changes, update the M-file and republish this document.
+      -->
+      <title>Getting Started</title>
+      <meta name="generator" content="MATLAB 7.8">
+      <meta name="date" content="2011-11-18">
+      <meta name="m-file" content="sam_demo"><style type="text/css">
+
+body {
+  background-color: white;
+  margin:10px;
+}
+
+h1 {
+  color: #990000; 
+  font-size: x-large;
+}
+
+h2 {
+  color: #990000;
+  font-size: medium;
+}
+
+/* Make the text shrink to fit narrow windows, but not stretch too far in 
+wide windows. */ 
+p,h1,h2,div.content div {
+  max-width: 600px;
+  /* Hack for IE6 */
+  width: auto !important; width: 600px;
+}
+
+pre.codeinput {
+  background: #EEEEEE;
+  padding: 10px;
+}
+@media print {
+  pre.codeinput {word-wrap:break-word; width:100%;}
+} 
+
+span.keyword {color: #0000FF}
+span.comment {color: #228B22}
+span.string {color: #A020F0}
+span.untermstring {color: #B20000}
+span.syscmd {color: #B28C00}
+
+pre.codeoutput {
+  color: #666666;
+  padding: 10px;
+}
+
+pre.error {
+  color: red;
+}
+
+p.footer {
+  text-align: right;
+  font-size: xx-small;
+  font-weight: lighter;
+  font-style: italic;
+  color: gray;
+}
+
+  </style></head>
+   <body>
+      <div class="content">
+         <h1>disperse.m</h1>
+         <!--introduction-->
+         <p>Sam Hallman</p><pre> code written: 26 May 2010
+ html written: 18 Nov 2011</pre><p>Demonstration of the DISPERSE function. Oftentimes when using Matlab we find ourselves having to perform a series of repetitive
+            assignments from some kind of array, e.g., a=A(1); b=A(2); c=A(3); . . . etc. Inevitably we ask ourselves, is there a way
+            to do this more simply? DISPERSE is syntactic sugar for performing these kinds of tasks with a single function call.
+         </p>
+         <p>The following examples illustrate the behavior of DISPERSE on different collection classes.</p>
+         <!--/introduction-->
+         <h2>Contents</h2>
+         <div>
+            <ul>
+               <li><a href="#1">Vectors</a></li>
+               <li><a href="#3">Matrices</a></li>
+               <li><a href="#5">N-D arrays</a></li>
+               <li><a href="#7">RGB images (special case)</a></li>
+               <li><a href="#9">Cells</a></li>
+               <li><a href="#11">Structs</a></li>
+            </ul>
+         </div>
+         <h2>Vectors<a name="1"></a></h2>
+         <p>Grab elements of vectors</p><pre class="codeinput">foo = rand(1,4)
+[a b c d] = disperse(foo)
+</pre><pre class="codeoutput">
+foo =
+
+    0.4094    0.3654    0.8578    0.9957
+
+
+a =
+
+    0.4094
+
+
+b =
+
+    0.3654
+
+
+c =
+
+    0.8578
+
+
+d =
+
+    0.9957
+
+</pre><p>Can grab a subset if you like</p><pre class="codeinput">v = rand(1,5)
+[a b c] = disperse(v([1 4 5]))
+</pre><pre class="codeoutput">
+v =
+
+    0.9096    0.7282    0.6020    0.0011    0.2741
+
+
+a =
+
+    0.9096
+
+
+b =
+
+    0.0011
+
+
+c =
+
+    0.2741
+
+</pre><h2>Matrices<a name="3"></a></h2>
+         <p>Grab columns of a matrix</p><pre class="codeinput">A = rand(2)
+[c1 c2] = disperse(A)
+</pre><pre class="codeoutput">
+A =
+
+    0.3656    0.2508
+    0.2083    0.7516
+
+
+c1 =
+
+    0.3656
+    0.2083
+
+
+c2 =
+
+    0.2508
+    0.7516
+
+</pre><p>Transpose if you want rows</p><pre class="codeinput">[r1 r2] = disperse(A')
+</pre><pre class="codeoutput">
+r1 =
+
+    0.3656
+    0.2508
+
+
+r2 =
+
+    0.2083
+    0.7516
+
+</pre><h2>N-D arrays<a name="5"></a></h2>
+         <p>disperse generalizes to arrays of arbitrary dimension</p><pre class="codeinput">A = rand(5,3,4,9,7);
+<span class="comment">% pick off A(:,:,:,:,1) and A(:,:,:,:,2)</span>
+[a b] = disperse(A);
+</pre><p>it worked:</p><pre class="codeinput">whos <span class="string">A</span> <span class="string">a</span> <span class="string">b</span>
+isequal(a, A(:,:,:,:,1))
+isequal(b, A(:,:,:,:,2))
+</pre><pre class="codeoutput">  Name      Size            Bytes  Class     Attributes
+
+  A         5-D             30240  double              
+  a         4-D              4320  double              
+  b         4-D              4320  double              
+
+
+ans =
+
+     1
+
+
+ans =
+
+     1
+
+</pre><h2>RGB images (special case)<a name="7"></a></h2>
+         <p>The techniques of the previous section are especially handy for RGB images:</p><pre class="codeinput"><span class="comment">% Grab the R, G, and B color channels</span>
+im = imread(<span class="string">'street1.jpg'</span>);
+[r g b] = disperse(im);
+</pre><p>it worked:</p><pre class="codeinput">whos <span class="string">im</span> <span class="string">r</span> <span class="string">g</span> <span class="string">b</span>
+isequal(r, im(:,:,1))
+isequal(g, im(:,:,2))
+isequal(b, im(:,:,3))
+</pre><pre class="codeoutput">  Name        Size                Bytes  Class    Attributes
+
+  b         480x640              307200  uint8              
+  g         480x640              307200  uint8              
+  im        480x640x3            921600  uint8              
+  r         480x640              307200  uint8              
+
+
+ans =
+
+     1
+
+
+ans =
+
+     1
+
+
+ans =
+
+     1
+
+</pre><h2>Cells<a name="9"></a></h2>
+         <p>Grab elements of cells</p><pre class="codeinput">c = { <span class="string">'sam'</span>, -1, rand(5) }
+[c1 c2 c3] = disperse(c)
+</pre><pre class="codeoutput">
+c = 
+
+    'sam'    [-1]    [5x5 double]
+
+
+c1 =
+
+sam
+
+
+c2 =
+
+    -1
+
+
+c3 =
+
+    0.2945    0.0056    0.9591    0.9123    0.1125
+    0.6334    0.0572    0.8658    0.1883    0.6698
+    0.5971    0.0029    0.2624    0.4064    0.2496
+    0.7556    0.5436    0.4880    0.2552    0.6699
+    0.6972    0.7148    0.4085    0.7605    0.3863
+
+</pre><p>You can go further</p><pre class="codeinput">c = { <span class="string">'foo'</span> {} ; [1,2;3,4] <span class="string">'bar'</span> }
+[a b] = disperse(c)
+</pre><pre class="codeoutput">
+c = 
+
+    'foo'              {}
+    [2x2 double]    'bar'
+
+
+a = 
+
+    'foo'
+    [2x2 double]
+
+
+b = 
+
+    {}
+    'bar'
+
+</pre><h2>Structs<a name="11"></a></h2>
+         <p>Grab elements of structure arrays</p><pre class="codeinput">s = struct(<span class="string">'strings'</span>, {<span class="string">'sam'</span>,<span class="string">'hello'</span>}, <span class="string">'lengths'</span>, [3 5])
+[a b] = disperse(s)
+</pre><pre class="codeoutput">
+s = 
+
+1x2 struct array with fields:
+    strings
+    lengths
+
+
+a = 
+
+    strings: 'sam'
+    lengths: [3 5]
+
+
+b = 
+
+    strings: 'hello'
+    lengths: [3 5]
+
+</pre><p class="footer"><br>
+            Published with MATLAB&reg; 7.8<br></p>
+      </div>
+      <!--
+##### SOURCE BEGIN #####
+%% disperse.m
+% Sam Hallman
+%
+%   code written: 26 May 2010
+%   html written: 18 Nov 2011
+%
+% Demonstration of the DISPERSE function. Oftentimes when using Matlab we
+% find ourselves having to perform a series of repetitive assignments from
+% some kind of array, e.g., a=A(1); b=A(2); c=A(3); . . . etc. Inevitably
+% we ask ourselves, is there a way to do this more simply? DISPERSE is
+% syntactic sugar for performing these kinds of tasks with a single
+% function call.
+%
+% The following examples illustrate the behavior of DISPERSE on different
+% collection classes.
+
+
+%% Vectors
+% Grab elements of vectors
+foo = rand(1,4)
+[a b c d] = disperse(foo)
+
+%%
+% Can grab a subset if you like
+v = rand(1,5)
+[a b c] = disperse(v([1 4 5]))
+
+%% Matrices
+% Grab columns of a matrix
+A = rand(2)
+[c1 c2] = disperse(A)
+
+%%
+% Transpose if you want rows
+[r1 r2] = disperse(A')
+
+%% N-D arrays
+% disperse generalizes to arrays of arbitrary dimension
+A = rand(5,3,4,9,7);
+% pick off A(:,:,:,:,1) and A(:,:,:,:,2)
+[a b] = disperse(A);
+
+%%
+% it worked:
+whos A a b
+isequal(a, A(:,:,:,:,1))
+isequal(b, A(:,:,:,:,2))
+
+    
+%% RGB images (special case)
+% The techniques of the previous section are especially handy for RGB
+% images:
+
+% Grab the R, G, and B color channels
+im = imread('street1.jpg');
+[r g b] = disperse(im);
+
+%%
+% it worked:
+whos im r g b
+isequal(r, im(:,:,1))
+isequal(g, im(:,:,2))
+isequal(b, im(:,:,3))
+
+%% Cells
+% Grab elements of cells
+
+c = { 'sam', -1, rand(5) }
+[c1 c2 c3] = disperse(c)
+
+%%
+% You can go further
+
+c = { 'foo' {} ; [1,2;3,4] 'bar' }
+[a b] = disperse(c)
+
+%% Structs
+% Grab elements of structure arrays
+
+s = struct('strings', {'sam','hello'}, 'lengths', [3 5])
+[a b] = disperse(s)
+##### SOURCE END #####
+-->
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/common/LT1cycling.m
===================================================================
--- /trunk/machine/SOLEIL/common/LT1cycling.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/LT1cycling.m	(revision 17)
@@ -0,0 +1,307 @@
+function varargout = LT1cycling(varargin)
+% LT1CYCLING M-file for LT1cycling.fig
+%      LT1CYCLING, by itself, creates a new LT1CYCLING or raises the existing
+%      singleton*.
+%
+%      H = LT1CYCLING returns the handle to a new LT1CYCLING or the handle to
+%      the existing singleton*.
+%
+%      LT1CYCLING('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in LT1CYCLING.M with the given input arguments.
+%
+%      LT1CYCLING('Property','Value',...) creates a new LT1CYCLING or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before LT1cycling_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to LT1cycling_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help LT1cycling
+
+% Last Modified by GUIDE v2.5 04-Apr-2005 17:56:04
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @LT1cycling_OpeningFcn, ...
+                   'gui_OutputFcn',  @LT1cycling_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before LT1cycling is made visible.
+function LT1cycling_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to LT1cycling (see VARARGIN)
+
+% Choose default command line output for LT1cycling
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes LT1cycling wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+list = {'Present', 'Golden', 'UserSelect'};
+set(handles.popupmenu_file,'String',list);
+set(handles.popupmenu_file,'Value',2);
+
+list = {'Simple', 'Full', 'startup'};
+set(handles.popupmenu_type,'String',list);
+set(handles.popupmenu_type,'Value',2);
+
+list = {'Load cycling curve','Start', 'Stop', 'Pause', 'Resume', 'Init'};
+set(handles.popupmenu_command,'String',list);
+
+Machine = getfamilydata('SubMachine');
+
+if isempty(Machine)
+    error('Exiting .. first load a machine!');
+    return;
+else
+    switch Machine
+        case {'LT1','LT2'}            
+            set(handles.figure1,'Name', [Machine 'cycling']);
+        otherwise
+            error('Exiting .. first load LT1 or LT2!');
+            return;
+    end
+end
+
+% --- Outputs from this function are returned to the command line.
+function varargout = LT1cycling_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in checkbox_none.
+function checkbox_none_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_none (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_none
+val = get(hObject,'Value');
+
+if val
+    set(handles.checkbox_BEND,'Value',0);
+    set(handles.checkbox_QP,'Value',0);
+    set(handles.checkbox_CH,'Value',0);
+    set(handles.checkbox_CV,'Value',0);
+    set(handles.checkbox_all,'Value',0);
+end
+
+% --- Executes on button press in checkbox_all.
+function checkbox_all_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_all
+val = get(hObject,'Value');
+
+if val
+    set(handles.checkbox_BEND,'Value',1);
+    set(handles.checkbox_QP,'Value',1);
+    set(handles.checkbox_CH,'Value',1);
+    set(handles.checkbox_CV,'Value',1);
+    set(handles.checkbox_none,'Value',0);
+end
+
+
+% --- Executes on button press in checkbox_BEND.
+function checkbox_BEND_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_BEND (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_BEND
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_QP.
+function checkbox_QP_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_QP (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_QP
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_CH.
+function checkbox_CH_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_CH (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_CH
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in checkbox_CV.
+function checkbox_CV_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_CV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_CV
+
+set(handles.checkbox_all,'Value',0);
+set(handles.checkbox_none,'Value',0);
+
+% --- Executes on button press in pushbutton_apply.
+function pushbutton_apply_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_apply (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+contents = get(handles.popupmenu_command,'String');
+command  = contents{get(handles.popupmenu_command,'Value')};
+
+switch command
+    case {'Start','Stop','Init','Pause','Resume', 'Load cycling curve'}
+        cyclemagnet_local(command,handles);
+    otherwise
+        error('Unknown ommand name: %s ', command);
+end
+
+function cyclemagnet_local(command,handles)
+
+%     [CycleIndex, CycleAO] = isfamily(CycleFamily);
+% 
+%     rep = tango_group_command_inout2(CycleAO.GroupId,'State',1,0);
+
+Family = {'BEND','QP','CH','CV'};    
+    
+Families = {};
+for k = 1:length(Family),
+    if get(handles.(['checkbox_',Family{k}]),'Value')
+        Families = {Families{:}, Family{k}};
+    end
+end
+
+switch command
+    case {'Start'}
+        % get cycling file
+        contents = get(handles.popupmenu_file,'String');
+        file = contents{get(handles.popupmenu_file,'Value')};
+
+        % get cycling file
+        contents = get(handles.popupmenu_type,'String');
+        type = contents{get(handles.popupmenu_type,'Value')};
+
+        magnetcycle(type,file,Families,'NoDisplay','NoConfig');
+        
+    case {'Load cycling curve'}
+        % get cycling file
+        contents = get(handles.popupmenu_file,'String');
+        file = contents{get(handles.popupmenu_file,'Value')};
+
+        % get cycling file
+        contents = get(handles.popupmenu_type,'String');
+        type = contents{get(handles.popupmenu_type,'Value')};
+
+        magnetcycle(type,file,Families,'NoDisplay','Config', 'NoApply');
+        
+    case {'Stop','Init','Pause','Resume'}
+        for k =1:length(Families)
+            CycleFamily = ['Cycle' Families{k}];
+            cyclingcommand(CycleFamily,command);
+        end
+end
+
+% --- Executes on selection change in popupmenu_command.
+function popupmenu_command_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_command
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_command_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_type.
+function popupmenu_type_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_type (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_type contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_type
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_type_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_type (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_file.
+function popupmenu_file_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_file contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_file
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_file_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/common/Top_Up/get_laps.m
===================================================================
--- /trunk/machine/SOLEIL/common/Top_Up/get_laps.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/Top_Up/get_laps.m	(revision 17)
@@ -0,0 +1,9 @@
+function [t]=get_laps(tau,I,dI)
+% tau lifetime hours
+% I current
+% dI currenr loss <0
+% t in mn
+% from I=I0*exp(-t/tau)
+
+t=-tau*log(dI/I+1);
+t=t*60;
Index: /trunk/machine/SOLEIL/common/Top_Up/measlifetime_nowrite.m
===================================================================
--- /trunk/machine/SOLEIL/common/Top_Up/measlifetime_nowrite.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/Top_Up/measlifetime_nowrite.m	(revision 17)
@@ -0,0 +1,267 @@
+function [Tau, I0, t, DCCT, chi2n] = measlifetime(varargin) 
+%MEASLIFETIME - Measures the lifetime using an exponential or linear least squares fit to beam current
+%  [Tau, I0, t, DCCT] = measlifetime(t, DCCT)
+%  [Tau, I0, t, DCCT] = measlifetime(t)
+%  [Tau, I0, t, DCCT] = measlifetime
+%
+%  INPUTS #1 - t is a vector or positive scalar
+%  1. t    = a.  If vector, time [seconds] (vector input)
+%            b.  If scalar and t > 0, length of time in seconds to measure current
+%                Default sample period is .5 seconds.
+%  2. DCCT = current vector [mAmps]
+%            if the DCCT vector is empty then this function will
+%            get the current using getdcct at the times defined in t
+%  3. Method - 'Exponential' for exponential least square fit
+%            - 'Linear' for linear least square fit 
+%
+%     or
+%
+%  [Tau, I0, t, DCCT] = measlifetime(DCCT_Drop, Tmax, Tmin, Nmin)
+%
+%  INPUTS #2 - "t" is negative
+%  1. DCCT_Drop - If DCCT_Drop is scalar and DCCT_Drop <= 0, then the beam current will be
+%                 monitored until the current is DCCT_Drop.  Default sample period is .5 seconds.
+%                 Default:  Monitor the beam current until current drops 60 uA
+%                           (At Spear sigma(DCCT) = 0.001 mA)
+%  2. Tmax - Maximum time to measure DCCT {Default: inf}
+%  3. Tmin - Minimum time to measure DCCT {Default: 0}
+%  4. Nmin - Minimum number of unique data points when monitoring DCCT drop {Default: 6}
+%  
+%     The goal is to measure the current until a current drop of DCCT_Drop is achived.  However, the
+%     time that takes will never goes above Tmax.  And if DCCT_Drop is achived then the measurement will
+%     continue until Tmin or Nmin points is achieved (but not exceeding Tmax).
+%
+%
+%  OUTPUTS
+%  DCCTfit = I0 * exp(-t/Tau); Exponential
+%  DCCTfit = I0 * (1-t/Tau);   Linear
+%  1. Tau  - Computed lifetime   [hours]
+%  2. I0   - Computed            [mAmps]
+%  3. DCCT - Beam current vector [mAmps]
+%  4. t    - Actual time         [Seconds]
+%  5. chi2n - normalized chi2
+%
+%
+%  NOTES
+%  1. If no output exists, the beam current and fit will be plotted to the screen
+%     as well as the residual of the DCCT.
+%  2. DCCT is assumed to be in mAmps
+
+%
+%  Written by Gregory S. Portmann
+%  Modified by Amor Nadji, May 2005
+%  Adapted by Laurent S. Nadolski, 23/01/06
+%  Added covariance calculation
+%  Modif Alex : remove write
+
+% Default method if not user given
+MethodFlag = 'Exponential';
+sigma = 0.2e-6; % Error in dcct measure in Amps for 7 read per second config
+
+% Parser for method
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Linear')
+        MethodFlag = 'Linear';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Exponential')
+        MethodFlag = 'Exponential';
+        varargin(i) = [];
+    end
+end
+
+T_Seconds = .5;     % Default sample period [Seconds]
+TmaxDefault = inf;  % Maximum time 
+TminDefault = 0;    % Minimum time 
+NminDefault = 6;    % Minimum number of data points
+
+
+% Input parsing
+Tmax = [];
+if length(varargin) == 0
+    MonitorFlag = 2;
+    deltaDCCT = 60 * 0.001;
+    Tmin = TminDefault;
+    Tmax = TmaxDefault;
+    Nmin = NminDefault;
+    
+elseif length(varargin) >= 1
+    t = varargin{1};
+    if all(size(t)==[1 1])
+        if t > 0
+            MonitorFlag = 1;
+            t = 0:T_Seconds:t;
+            Tmax = TmaxDefault;
+        else
+            MonitorFlag = 2;
+            deltaDCCT = abs(t);
+            if length(varargin) >= 2
+                Tmax = DCCT;
+            else
+                Tmax = [];
+            end
+        end
+        if length(varargin) < 3
+            Tmin = [];
+        end
+        if length(varargin) < 4
+            Nmin = [];
+        end
+        if isempty(Tmax)
+            Tmax = TmaxDefault;
+        end
+        if isempty(Tmin)
+            Tmin = TminDefault;
+        end
+        if isempty(Nmin)
+            Nmin = NminDefault;
+        end
+    else
+        % Time vector input
+        if length(varargin) < 2
+            MonitorFlag = 1;
+        else
+            MonitorFlag = 0;
+        end
+    end
+end
+
+
+if MonitorFlag == 1
+    
+    % Get DCCT data at a fix interval determined by the input vector t
+    %disp(['   Monitoring beam current for ', num2str(t(length(t))), ' seconds.']);    
+    t0 = gettime;
+    for j = 1:length(t)
+        T = t(j) - (gettime-t0);
+        if T > 0
+            pause(T);
+        end
+        tout(j,1) = gettime - t0;    
+        DCCT(j,1) = getdcct;
+    end
+    
+elseif MonitorFlag == 2
+    
+    % Monitor for a fixed DCCT drop
+    %disp(['   Monitoring beam current until current drops by more than ', num2str(deltaDCCT), ' mA.']);    
+    j = 1;
+    n = 1;
+    tout(n,1) = 0;
+    DCCT(n,1) = getdcct;
+    t0 = gettime;
+    t0_Display = 0;
+    while ((abs(DCCT(end,1)-DCCT(1,1)) < deltaDCCT) & (DCCT(end,1) > 0.1)) | ...
+            n < Nmin | (gettime-t0) < Tmin
+        j = j+1;
+        T = (j-1)*T_Seconds - (gettime-t0);
+        if T > 0
+            pause(T);
+        end
+        DCCTnew = getdcct;
+        if DCCTnew ~= DCCT(n)
+            n = n + 1;
+            tout(n,1) = gettime - t0;
+            DCCT(n,1) = DCCTnew;
+        end
+        if gettime-t0 > Tmax
+            break;
+        end
+        if gettime-t0_Display > 10    
+            fprintf('   Monitoring DCCT for lifetime measurement (%s)\n', ...
+                datestr(clock,0));
+            t0_Display = gettime;
+        end
+    end
+    t = tout;
+end
+
+% Column vectors
+DCCT = DCCT(:);
+t = t(:);
+
+
+% Lookfor identical data in DCCT.  Some machine don't update at T_Sample and
+% having the same reading twice is probably not so good for the LS fit.
+iExtra = find(diff(DCCT)==0);
+DCCT(iExtra) = [];
+t(iExtra) = [];
+
+if length(DCCT) < 2
+    Tau = NaN;
+    I0 = NaN;
+    fprintf('   Only 1 unique DCCT reading, hence Tau is set to NaN.\n');
+    %error('There must be at least 2 unique point to fit a lifetime.');
+    return
+end
+    
+    
+% LS fit
+if strcmpi(MethodFlag,'Exponential')
+    y = log(DCCT);
+else
+    y = DCCT;
+end
+
+X = [ones(size(t)) t];
+
+% Linear Least square fit
+invXX = inv(X'*X);
+B = invXX*X'*y  ;   
+
+if strcmpi(MethodFlag,'Exponential')
+    % yfit = exp(B(1))*exp(B(2)*tfit);
+    I0 = exp(B(1));
+    Tau = -1/B(2)/3600;    % In hours
+    yfit = exp(B(1))*exp(B(2)*t);
+    stitle = 'Least Squares Fit : I0*exp(-t/tau)';
+else
+    % yfit = B(1) + B(2)*tfit;
+    I0 = B(1) ;
+    Tau = -B(1)/B(2)/60/60;    % In hours
+    yfit = B(1) + B(2)*t;
+    stitle = 'Least Squares Fit : I0*(1 - t/tau)';
+end
+
+%% Erreur
+%chi2 = 1/(sigma*sigma)*sum(power(DCCT - yfit,2));
+chi2 = 1/(sigma*sigma)*sum(power(y - B(1)-B(2)*t,2));
+% Normalized chi2
+chi2n = chi2/(length(t)-length(B));
+% Covariance matrix
+Mcovariance = chi2n*invXX;
+
+if strcmpi(MethodFlag,'Exponential')
+    dtau = sqrt(Mcovariance(2,2)/B(2)/B(2))/3600;
+else
+    dtau = sqrt(Mcovariance(1,1)/B(2)/B(2) + ...
+        power(B(1)/B(2)/B(2),2)*Mcovariance(2,2) - ...
+        2*B(1)/power(B(2),3)*Mcovariance(2,1));
+end
+
+% if isnan(Tau) || chi2n > 5
+%     fprintf('   Life time measurement is inaccurate!\n');
+% end
+
+if nargout == 0    
+        
+    clf reset
+    subplot(2,1,1)
+    plot(t,DCCT,'o-b', t,yfit,'--r'); hold on;
+    % errorbar(t,DCCT,sigma*ones(size(DCCT)),'.b'); hold off
+    title(sprintf('Beam Current vs Time: Lifetime= %2.2f +/- %2.2f (h) with chi2n = %2.2g', Tau, dtau, chi2n))
+%    title(sprintf('Beam Current vs Time: Lifetime= %2.2f (h) with chi2n = %2.2g', Tau, chi2n))
+    xlabel('Time [seconds]'); 
+    ylabel('Beam Current [mA]');
+    legend('Measured Beam Current',stitle,0);
+    grid on;
+    xlim([t(1) t(end)]);
+
+    subplot(2,1,2)
+    plot(t,DCCT-yfit);
+    title(['Residual Error (RMS = ' num2str(std(DCCT-yfit),'%.2g') ' mA)']);
+    xlabel('Time [seconds]'); 
+    ylabel('Lifetime Corrected Beam Current Variation');
+    grid on;
+    
+    addlabel(1,0, datestr(clock,0));
+end
Index: /trunk/machine/SOLEIL/common/Top_Up/set_booster_mode.m
===================================================================
--- /trunk/machine/SOLEIL/common/Top_Up/set_booster_mode.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/Top_Up/set_booster_mode.m	(revision 17)
@@ -0,0 +1,31 @@
+function set_booster_mode(mode)
+% mode = eco, on, off
+% set setpoint relative to mode to Dipole, Qpole and sextupole
+
+switch mode
+    case 'eco'
+       boo.DIPcurrent = 50 ;
+       boo.QFcurrent  = 50 ;
+       boo.QDcurrent  = 50 ;
+       boo.SFcurrent  = 0  ;
+       boo.SDcurrent  = 0  ;
+    case 'on'
+       boo.DIPcurrent = 545 ;
+       boo.QFcurrent  = 201.765 ;
+       boo.QDcurrent  = 162.611 ;
+       boo.SFcurrent  = 15.  ;
+       boo.SDcurrent  = 10.42  ;
+    otherwise
+       return
+end
+
+tango_write_attribute('BOO/AE/dipole','current',       boo.DIPcurrent);
+tango_write_attribute('BOO/AE/QF','current',           boo.QFcurrent);
+tango_write_attribute('BOO/AE/QD','current',           boo.QDcurrent);
+tango_write_attribute('BOO/AE/SF','current',           boo.SFcurrent);
+tango_write_attribute('BOO/AE/SD','current',           boo.SDcurrent);
+% writeattribute('BOO/AE/dipole','waveformOffset',boo.DIPoffset);
+% writeattribute('BOO/AE/QF','waveformOffset',    boo.QFpoffset);
+% writeattribute('BOO/AE/QD','waveformOffset',    boo.QDpoffset);
+% writeattribute('BOO/AE/SF','waveformOffset',    boo.SFpoffset);
+% writeattribute('BOO/AE/SD','waveformOffset',    boo.SDpoffset);
Index: /trunk/machine/SOLEIL/common/Top_Up/set_booster_ramp_speed.m
===================================================================
--- /trunk/machine/SOLEIL/common/Top_Up/set_booster_ramp_speed.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/Top_Up/set_booster_ramp_speed.m	(revision 17)
@@ -0,0 +1,16 @@
+function set_booster_ramp_speed(dt)
+% set delay for booster power supply
+% default = 5 s
+% fast = 1 s
+% dt en seconde
+
+laps0=tango_get_device_property('BOO/AE/Dipole', 'StepTime');
+fprintf('Laps initial= %s  Âµs \n',laps0{1})
+
+laps=num2str(dt*1000);
+tango_put_property2('BOO/AE/Dipole', 'StepTime',{laps})
+tango_put_property2('BOO/AE/QD' , 'StepTime',{laps})
+tango_put_property2('BOO/AE/QF' , 'StepTime',{laps})
+tango_put_property2('BOO/AE/SD' , 'StepTime',{laps})
+tango_put_property2('BOO/AE/SF' , 'StepTime',{laps})
+fprintf('Laps = %s  Âµs\n',laps)
Index: /trunk/machine/SOLEIL/common/Top_Up/topup.m
===================================================================
--- /trunk/machine/SOLEIL/common/Top_Up/topup.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/Top_Up/topup.m	(revision 17)
@@ -0,0 +1,62 @@
+function topup
+% premier test top up
+% prealable :
+%          charger table i jection en mode 3/4
+%          profondeur table Ã  1
+
+
+temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');anscur=temp.value;
+maxcur=300;
+t=gettime
+
+while (anscur > 1)
+
+    % check ring current
+    temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');anscur=temp.value;
+    pause(2)
+  
+    
+    if (anscur < maxcur)
+        
+        t1=gettime;
+        laps=t1-t;
+        t=t1;
+        % booster en mode on
+        set_booster_mode('on'); pause(15) % (temps de montÃ©e)
+        
+        
+        % initialise les rendements
+        temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');anscur0=temp.value;
+        q1=0;q2=0;n=0;
+
+        % injection
+        tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent');
+        pause(1)
+        set_booster_mode('eco')
+        pause(5) % durÃ©e rafale + pause lecture DCCT
+        [q1,q2,n]=getcharge(q1,q2,n);
+        
+
+        % Calcul des rendements
+        temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');anscur=temp.value;
+        dcur=anscur-anscur0;
+        if (dcur>0.05) % cas injection OK
+            r1=0;if (q1~=0);r1=q2/q1*100;end
+            r2=0;if (q2~=0);r2=dcur/q2*0.524*416/184*100;end
+            if(r1<0);r1=0;elseif(r1>100);r1=100;end
+            if(r2<0);r2=0;elseif(r2>100);r2=100;end
+            q1=q1/n;q2=q2/n;dcur=dcur/n;
+
+            % Calcul durÃ©e de vie
+            [Tau, I0, t5, DCCT, chi2n] = measlifetime_nowrite(30);
+
+            % Print data
+            fprintf('Current = %5.2f mA   tau= %5.2f h     Laps== %5.2f s     Rendements=%5.2f %5.2f  \n',anscur,Tau,laps,r1,r2);
+            
+        end
+
+    end
+
+end
+
+
Index: /trunk/machine/SOLEIL/common/amp2k.m
===================================================================
--- /trunk/machine/SOLEIL/common/amp2k.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/amp2k.m	(revision 17)
@@ -0,0 +1,142 @@
+function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)
+%AMP2K - Converts amperes to simulator values
+%  k = amp2k(Family, Field, Amps, DeviceList, Energy, Coefficients, K2AmpScaleFactor)
+%    or
+%  k = amp2k(Family, Field, Amps, DeviceList, Energy, MagnetCoreType, K2AmpScaleFactor)
+%
+%  Calculates the "K-value" from the coefficients (or MagnetCoreType), current [amps], energy, and linear scale factor
+%
+%  A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used
+%  Amps and Coefficients must have equal number of rows or one must only have one row
+% INPUTS
+% 1. Family - Family Name
+% 2. Field  - Family Field (like 'Setpoint')
+% 3. Amps   - Ampere vector to convert
+% 4. DeviceList - Device list (Amps and DeviceList must have the same
+% number of rows)
+% 5. Energy - Energy in GeV {Default: getenergy}
+%              If Energy is a vector, each output column will correspond to that energy.
+%              Energy can be anything getenergy accepts, like 'Model' or 'Online'. 
+%              (Note: If Energy is a vector, then Amps can only have 1
+%              column)Family, Field, value(:,i), DeviceList, Energy, ParamsList{:}
+% 6. C - %  A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used
+%  Amps and Coefficients must have equal number of rows or one must only
+%  have one row
+% 7. K2AmpScaleFactor - linearly scales the input current:  Amps = Amps ./ K2AmpScaleFactor
+%    This can be used to account for linear calibration errors of the power supply and magnet
+%
+% OUTPUT
+% 1. K and B - K-value and field in AT convention
+%    For dipole:      k = B / Brho
+%    For quadrupole:  k = B'/ Brho
+%    For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%
+%  NOTES
+%  1. If energy is not an input or empty, then the energy is obtained from getenergy.
+%  2. Family and Field inputs are not used but there automatically part of the hw2physics call. 
+%
+% See Also k2amp, magnetcoefficients
+
+% ALGORITHM
+%
+% k = (c0 + c1*I + ... + cn*I^n)/Brho
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted by Laurent S. Nadolski
+
+if nargin < 4
+    error('At least 4 inputs required');
+end
+
+if nargin < 6
+    C = [];
+end
+if isempty(C)
+    %[C, Leff, MagnetName] = magnetcoefficients(Family);
+    C = getfamilydata(Family, Field, 'HW2PhysicsParams', DeviceList);
+    C = C{1};
+    %Leff = getleff(Family, DeviceList(ii,:));
+end
+
+if nargin < 5
+    Energy = [];
+end
+if isempty(Energy)
+    Energy = getenergy; % like getenergy('Production')
+elseif ischar(Energy)
+    Energy = getenergy(Energy);
+end
+
+
+% If Amps is a row vector make it a column vector
+Amps = Amps(:);
+
+% Scale solution if required
+if nargin >= 7
+    Amps = Amps ./ K2AmpScaleFactor;
+end
+
+brho = getbrho(Energy);
+
+% Compute polynomial expansion:  polynom = c0 + c1*I ...
+% For dipole:      polynom = B  * Leff / I
+% For quadrupole:  polynom = B' * Leff / I
+% For sextupole:   polynom = B" * Leff / I  (use AT unit /2 from MAD units)
+
+% polynom = (C(8)+C(7)*Amps+C(6)*Amps^2+C(5)*Amps^3+C(4)*Amps^4+C(3)*Amps^5+C(2)*Amps^6+C(1)*Amps^7)
+% polynom = (c0+c1*Amps+c2*Amps^2+c3*Amps^3+c4*Amps^4+c5*Amps^5+c6*Amps^6+c7*Amps^7)
+
+if isstr(C)
+    TableLookUpFlag = 1;
+    MagnetCoreType = C;
+    [C, Leff, MagnetName] = magnetcoefficients(MagnetCoreType, Amps(1));
+    Amps0 = Amps(1);
+else
+    TableLookUpFlag = 0;
+end
+
+if any(size(C,1) ~= length(Amps))
+    if length(Amps) == 1
+        Amps = ones(size(C,1),1) * Amps;
+    elseif size(C,1) == 1
+        %C = ones(size(Amps,1),1) * C;
+    else
+        error('Amps and Coefficients must have equal number of rows or one must only have one row');
+    end
+end
+
+% B, B', or B" scaled by energy
+for i = 1:length(Amps)
+    % For piecewise tables, get a new polynomial
+    if TableLookUpFlag
+        if Amps(i) ~= Amps0;
+            [C, Leff, MagnetName] = magnetcoefficients(MagnetCoreType, Amps(i));
+            Amps0 = Amps(i);
+        end
+    end
+    
+    if size(C,1) == 1
+        k(i,1) = polyval(C, Amps(i)) / brho;
+    else
+        k(i,1) = polyval(C(i,:), Amps(i)) / brho;
+    end
+end
+
+
+% switch upper(deblank(MagnetName))
+%     case 'BEND'
+%         k = (Amps/brho)*polynom/Leff;   % B scaled by energy
+%         %BLeff = Amps*polynom;
+%         %B = BLeff/Leff;
+%         
+%     case 'QUAD'
+%         k = (Amps/brho)*polynom/Leff;   % B' scaled by energy
+%         %BPrimeLeff = Amps*polynom;
+%         %Bprime = BPrimeLeff/Leff;
+%         
+%     case 'SEXT'
+%         k = (Amps/brho)*polynom/Leff;   % B" scaled by energy
+%         %BPrimePrimeLeff = Amps*polynom;
+%         %BPrimePrime = BPrimePrimeLeff/Leff;        
+% end
Index: /trunk/machine/SOLEIL/common/anabpmfirstturn.m
===================================================================
--- /trunk/machine/SOLEIL/common/anabpmfirstturn.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/anabpmfirstturn.m	(revision 17)
@@ -0,0 +1,162 @@
+function varargout = anabpmfirstturn(bpmdevlist,varargin)
+% ANABPMFIRSTTURN - Analyses first turn BPM
+%
+%  INPUTS
+%  1. DeviceList - bpm number (scalar or vector) list
+%  2. Element List
+%
+%  Optional input arguments
+%  2. Optional display
+%     'Display'   - Plot the bpmdata {Default if no outputs exist}
+%     'NoDisplay' - Bpmdata will not be plotted {Default if outputs exist}
+%  3. 'MaxSum'    - First turn is where sum signal is maximum
+%  4. 'Struct'    - Return out as a structure
+%  5. 'File'      - Get from File (interactive)
+%
+%  OUTPUTS
+%  structure output if 'Struct' precised
+%  AM
+%
+%  vector output
+%  1. X - Horizontal data
+%  2. Z - Vertical data
+%  3. Sum - Sum signal data
+%  4. Index of maximum sum
+%
+%  EXAMPLES
+%  1. anabpmfirstturn([1 1]);
+%  2. anabpmfirstturn([1; 2; 3]);
+%  3. all BPMs and store orbit H et V orbit in X and Z
+%     [X, Z] = anabpmfirstturn([],'NoDisplay');
+%
+% See Also getbpmrawdata
+
+%
+% Written by Laurent S. Nadolski
+
+% TODO: relecture d'un fichier
+% Choix du nombre de tours ....
+
+
+MaxSumFlag = 1; % Research of first turn using sum signal
+FileFlag = 0;   % Get data from a file
+ishift = 0;     % Relative turn aroud first turn
+ifirstturn = 7;% index of first turn: used if MaxSumFlag = 0;
+varargin2 = {};
+DisplayFlag = 1;
+
+FileName = '';
+
+if isempty(bpmdevlist)
+    switch getsubmachinename
+        case 'Booster'
+            xpos = 1:22;
+        case 'StorageRing'
+            xpos = 1:120;
+    end
+else
+    xpos = 1:size(bpmdevlist,1);
+end
+
+%exemple pour definir le meme tour partout
+ifirstturn = ones(size(xpos))*12;
+%ifirstturn([10 123 4]) = 11;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'MaxSum')
+        MaxSumFlag = 1;
+        ManualFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoMaxSum')
+        MaxSumFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Manual')
+        ManualFlag = 1;
+        MaxSumFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoManual')
+        ManualFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'File')
+        FileFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin2 = [varargin2 varargin{i}];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin2 = [varargin2 varargin{i}];
+        varargin(i) = [];
+    end
+end
+
+% Get File by asking users
+if FileFlag
+    DirectoryName = getfamilydata('Directory','BPMData');
+    FileName     = uigetfile(DirectoryName);
+    if  isequal(FileName,0)
+       disp('User pressed cancel')
+       return;
+    else
+        a = load(fullfile(DirectoryName, FileName));
+        AM = getfield(a, 'AM');
+        bpmdevlist = dev2elem('BPMx',AM.DeviceList);
+    end
+    
+else % Online data    
+    AM = getbpmrawdata(bpmdevlist,'Struct',varargin2{:});
+end
+
+if MaxSumFlag % Maxium signal on sum signal
+    [dummy idx] = max(AM.Data.Sum');
+    disp('Maximum peak')
+    if DisplayFlag
+        idx
+    end
+else % Manual selection of the first turn index
+    idx = ifirstturn;
+end
+
+idx2 = sub2ind(size(AM.Data.Sum), xpos, idx+ishift);
+
+if DisplayFlag
+    figure(101)
+    
+    posvect = getspos('BPMx',AM.DeviceList);
+
+    h1 = subplot(7,1,[1 3]);
+    plot(posvect, AM.Data.X(idx2),'b.-');
+    grid on
+    xlabel('s(m)')
+    ylabel('X(mm)')
+    axis([0 getcircumference -20 20]);
+    title('First turn orbit')
+
+    h2 = subplot(7,1,4);
+    drawlattice;
+
+    h3  = subplot(7,1,[5 7]);
+    plot(posvect, AM.Data.Z(idx2),'r.-');
+    grid on
+    xlabel('s(m)')
+    ylabel('Z(mm)')
+    axis([0 getcircumference -11 11]);
+
+    linkaxes([h1,h2,h3],'x');
+
+    addlabel(1,0,datestr(AM.TimeStamp,21));
+end
+
+varargout{1} = AM.Data.X(idx2);
+varargout{2} = AM.Data.Z(idx2);
+varargout{3} = AM.Data.Sum(idx2);
+varargout{4} = idx;
Index: /trunk/machine/SOLEIL/common/anabpmnfirstturns.m
===================================================================
--- /trunk/machine/SOLEIL/common/anabpmnfirstturns.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/anabpmnfirstturns.m	(revision 17)
@@ -0,0 +1,193 @@
+function varargout = anabpmnfirstturns(bpmdevlist,varargin)
+% ANABPMFIRSTTURN - get n first turns on a list of BPMs
+%
+%  INPUTS
+%  1. DeviceList - bpm number (scalar or vector) list
+%     Element List
+%  2. Number of turns {1 by default}
+%  3. Number of the first turn {12 by Default}
+%
+%  Optional input arguments
+%  2. Optional display
+%     'Display'   - Plot the bpmdata {Default if no outputs exist}
+%     'NoDisplay' - Bpmdata will not be plotted {Default if outputs exist}
+%  3. 'MaxSum'    - First turn is where sum signal is maximum
+%  4. 'Struct'    - Return out as a structure
+%  5. 'File'      - Get from File (interactive)
+%
+%  OUTPUTS
+%  structure output if 'Struct' precised
+%  AM
+%
+%  vector output
+%  1. X - Horizontal data
+%  2. Z - Vertical data
+%  3. Sum - Sum signal data
+%  4. Index of maximum sum
+%
+%  EXAMPLES
+%  1. anabpmfirstturn([1 1]);
+%  2. anabpmfirstturn([1; 2; 3]);
+%  3. all BPMs and store orbit H et V orbit in X and Z
+%     [X, Z] = anabpmfirstturn([],'NoDisplay');
+%
+% See Also getbpmrawdata
+
+%
+% Written by Laurent S. Nadolski
+
+% TODO: relecture d'un fichier
+% Choix du nombre de tours ....
+
+
+MaxSumFlag = 1; % Research of first turn using sum signal
+FileFlag = 0;   % Get data from a file
+ishift = 0;     % Relative turn aroud first turn
+ifirstturn = 7;% index of first turn: used if MaxSumFlag = 0;
+varargin2 = {};
+DisplayFlag = 0;
+DisplayFlag2 = 1;
+NumberOfTurns = 1;
+FileName = '';
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin2 = [varargin2{:} varargin{i}];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin2 = [varargin2 varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display2')
+        DisplayFlag2 = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay2')
+        DisplayFlag2 = 0;
+        varargin2 = [varargin2 varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'MaxSum')
+        MaxSumFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoMaxSum')
+        MaxSumFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'File')
+        FileFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+        varargin2 = [varargin2{:} varargin{i}];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin2 = [varargin2 varargin{i}];
+        varargin(i) = [];
+    end
+end
+
+if ~iscell(varargin2)
+    varargin2 = {varargin2};
+end
+
+[tmp Found] = findkeyword(varargin2,'NoDisplay');
+
+if ~Found & (DisplayFlag == 0)
+    varargin2 = [varargin2 'NoDisplay'];
+end
+
+if length(varargin) > 0
+    NumberOfTurns = varargin{1};
+    if length(varargin) > 1
+            ifirstturn = varargin{2};
+    end
+end
+
+if isempty(bpmdevlist)
+    xpos = 1:size(family2dev('BPMx'),1);
+else
+    xpos = 1:size(bpmdevlist,1);
+end
+
+%exemple pour definir le meme tour partout
+ifirstturn = ones(size(xpos))*ifirstturn;
+%ifirstturn([10 123 4]) = 11;
+
+% Get File by asking users
+if FileFlag
+    DirectoryName = getfamilydata('Directory','BPMData');
+    Filename     = uigetfile(DirectoryName);
+    if  isequal(FileName,0)
+       disp('User pressed cancel')
+       return;
+    else
+        a = load(fullfile(DirectoryName, Filename));
+        AM = getfield(a, 'AM');
+        bpmdevlist = dev2elem('BPMx',AM.DeviceList);
+    end
+    
+else % Online data    
+    AM = getbpmrawdata(bpmdevlist,'Struct',varargin2{:});
+end
+
+if MaxSumFlag % Maxium signal on sum signal
+    [dummy idx] = max(AM.Data.Sum');
+    disp('Maximum peak')
+    if DisplayFlag
+        idx
+    end
+else % Manual selection of the first turn index
+    idx = ifirstturn;
+end
+
+idx2 = sub2ind(size(AM.Data.Sum), xpos, idx+ishift);
+
+len = length(idx); % number of BPM
+
+if NumberOfTurns > 1
+    idx2 = repmat(idx2,NumberOfTurns,1) + repmat((0:NumberOfTurns-1)*len,len,1)';
+end
+
+if DisplayFlag2
+    figure(101)    
+    posvect = getspos('BPMx',AM.DeviceList);
+    posvect = repmat(posvect', NumberOfTurns, 1);
+
+    h4 = subplot(9,1,[1 3]);
+    plot(posvect', AM.Data.Sum(idx2)','.-');
+    grid on
+    xlabel('s(m)')
+    ylabel('Sum (a.u.)')
+    title('First turn orbit')
+
+    h1 = subplot(10,1,[4 6]);
+    plot(posvect', AM.Data.X(idx2)','.-');
+    grid on
+    xlabel('s(m)')
+    ylabel('X(mm)')
+    yaxis([-8 8]);
+    title('First turn orbit')
+
+    h2 = subplot(10,1,7);
+    drawlattice;
+
+    h3  = subplot(10,1,[8 10]);
+    plot(posvect', AM.Data.Z(idx2)','.-');
+    grid on
+    xlabel('s(m)')
+    ylabel('Z(mm)')
+    yaxis([-5 5]);
+
+    %linkaxes([h1,h2,h3,h4],'x');
+    %xaxis([0 60]);
+
+    addlabel(1,0,datestr(AM.TimeStamp,21));
+end
+
+% varargout{1} = reshape(AM.Data.X(idx2),len,NumberOfTurns)';
+% varargout{2} = reshape(AM.Data.Z(idx2),len,NumberOfTurns)';
+% varargout{3} = reshape(AM.Data.Sum(idx2),len,NumberOfTurns)';
+varargout{1} = AM.Data.X(idx2);
+varargout{2} = AM.Data.Z(idx2);
+varargout{3} = AM.Data.Sum(idx2);
+varargout{4} = idx;
Index: /trunk/machine/SOLEIL/common/archiving/Contents.m
===================================================================
--- /trunk/machine/SOLEIL/common/archiving/Contents.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/archiving/Contents.m	(revision 17)
@@ -0,0 +1,5 @@
+% ARCHIVING
+%
+% Files
+%   archiving_panel_mode   - M-file for archiving_panel_mode.fig
+%   tango_archiving_config - M-file for tango_archiving_config.fig
Index: /trunk/machine/SOLEIL/common/archiving/archiving_panel_mode.m
===================================================================
--- /trunk/machine/SOLEIL/common/archiving/archiving_panel_mode.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/archiving/archiving_panel_mode.m	(revision 17)
@@ -0,0 +1,440 @@
+function varargout = archiving_panel_mode(varargin)
+% ARCHIVING_PANEL_MODE M-file for archiving_panel_mode.fig
+%      ARCHIVING_PANEL_MODE, by itself, creates a new ARCHIVING_PANEL_MODE or raises the existing
+%      singleton*.
+%
+%      H = ARCHIVING_PANEL_MODE returns the handle to a new ARCHIVING_PANEL_MODE or the handle to
+%      the existing singleton*.
+%
+%      ARCHIVING_PANEL_MODE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in ARCHIVING_PANEL_MODE.M with the given input arguments.
+%
+%      ARCHIVING_PANEL_MODE('Property','Value',...) creates a new ARCHIVING_PANEL_MODE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before archiving_panel_mode_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to archiving_panel_mode_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help archiving_panel_mode
+
+% Last Modified by GUIDE v2.5 18-Nov-2004 17:18:51
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @archiving_panel_mode_OpeningFcn, ...
+                   'gui_OutputFcn',  @archiving_panel_mode_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+%
+% Written by Laurent S. Nadolski
+
+
+% --- Executes just before archiving_panel_mode is made visible.
+function archiving_panel_mode_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to archiving_panel_mode (see VARARGIN)
+
+% Choose default command line output for archiving_panel_mode
+handles.output = hObject;
+
+% keep track of whether OK was clicked, this will be used in the OutputFcn
+% to determine whether to use the selected value
+
+handles.mode.selection = {'0','0','0','0'}; 
+
+handles.mode.periodic.period     = '30'; %seconds
+
+handles.mode.absolute.period     = '60'; %seconds
+handles.mode.absolute.upperlimit = '50'; 
+handles.mode.absolute.lowerlimit = '50';
+
+handles.mode.relative.period     = '60'; %seconds
+handles.mode.relative.upperlimit = '50';
+handles.mode.relative.lowerlimit = '50';
+
+handles.mode.difference.period   = '3600'; %seconds
+
+handles.mode.keepingwindow = '3600000'; %ms, here for 1h
+handles.mode.exportwindow  = '600000';  %ms, here for 10 min 
+handles.mode.grouped  = '0'; % 1: grouped, 0 ungrouped
+
+%% Case of no DB specified => force to HDB
+if isempty(varargin)
+    disp('No database specified: HDB by default')
+    handles.database = 'HDB';
+else
+    handles.database = varargin{1};
+end
+
+if strcmpi(handles.database,'TDB') % convert to milliseconds
+    handles.mode.periodic.period = '100'; %ms 
+    handles.mode.absolute.period = '1000'; %ms; 
+    handles.mode.relative.period = '1000'; %ms; 
+end
+
+%% Load actual parameter if they exist
+if size(varargin,2) == 2 && isnumeric(varargin{2})
+    temp = varargin{2};
+    if temp(1,1) % if periodic 
+        handles.mode.selection{1} = '1';
+        handles.mode.periodic.period = num2str(temp(1,1)); %seconds
+    end
+    if temp(1,2) % if absolute
+        handles.mode.selection{2} = '1';
+        handles.mode.absolute.period = num2str(temp(1,2)); %seconds
+        handles.mode.absolute.upperlimit = num2str(temp(1,3));
+        handles.mode.absolute.lowerlimit = num2str(temp(1,4));
+    end
+    if temp(1,5) % if relative
+        handles.mode.selection{5} = '1';
+        handles.mode.relative.period     = num2str(temp(1,5)); %seconds
+        handles.mode.relative.upperlimit = num2str(temp(1,6));
+        handles.mode.relative.lowerlimit = num2str(temp(1,7));
+    end
+end
+
+%% Create export window menu
+list_export = {'5 secondes','10 minutes'};
+set(handles.popupmenu_exportwindow,'String',list_export,'Value',2);
+
+%% Create keeping window menu
+list_keeping = {'1 hour','10 hours', '1 day'};
+set(handles.popupmenu_keepingwindow,'String',list_keeping,'Value',1);
+
+%Checked already running modes
+if str2double(handles.mode.selection{1})
+    set(handles.checkbox_periodic,'Value',1)
+end
+if str2double(handles.mode.selection{2})
+    set(handles.checkbox_absolute,'Value',1)
+end
+if str2double(handles.mode.selection{3})
+    set(handles.checkbox_relative,'Value',1)
+end
+
+%% Default value for parameter group
+set(handles.checkbox_grouped,'Value',str2double(handles.mode.grouped));
+
+% Update handles structure
+guidata(hObject, handles);
+% Update handles structure
+guidata(handles.figure1, handles);
+
+% UIWAIT makes tango_archiving_config wait for user response (see UIRESUME)
+uiwait(handles.figure1);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = archiving_panel_mode_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+
+%% Returns archiving parameters
+varargout{1} = handles.mode;
+
+% The figure can be deleted now
+delete(handles.figure1);
+
+% --- Executes on button press in checkbox_periodic.
+function checkbox_periodic_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_periodic (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_periodic
+val = get(hObject,'Value');
+
+% Build dialogbox inputs
+if strcmpi(handles.database,'TDB')
+    timeformat = 'ms';
+else
+    timeformat = 's';
+end
+
+prompt = {['Enter period (',timeformat,')']};
+name = 'Input for periodic archiving';
+numlines = 1;
+defaultanswer = {handles.mode.periodic.period};
+answer = inputdlg(prompt, name, numlines, defaultanswer);
+
+if ~isempty(answer)
+    handles.mode.selection{1} = '1';
+    handles.mode.periodic.period = answer{1};
+
+    %% Force checkbox if mode is running
+    set(handles.checkbox_periodic,'Value',1)
+else
+    disp('No selection');
+    handles.mode.selection{1} = '0';
+end
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+% --- Executes on button press in checkbox_absolute.
+function checkbox_absolute_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_absolute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_absolute
+
+val = get(hObject,'Value');
+
+if strcmpi(handles.database,'TDB')
+    timeformat = 'ms';
+else
+    timeformat = 's';
+end
+
+% Build dialogbox inputs
+prompt = {...
+    ['Default period (',timeformat,')'], ...
+    ['Relative period (',timeformat,')'], ...
+    'Upper limit', ...
+    'Lower limit'};
+name = 'Input for absolute archiving';
+numlines = 1;
+defaultanswer = {...
+    handles.mode.periodic.period, ...
+    handles.mode.absolute.period, ...
+    handles.mode.absolute.lowerlimit, ...
+    handles.mode.absolute.upperlimit};
+
+answer = inputdlg(prompt, name, numlines, defaultanswer);
+
+if ~isempty(answer)
+    % Periodic part
+    handles.mode.selection{1} = '1';
+    handles.mode.periodic.period = answer{1};
+    % Absolute part
+    handles.mode.selection{2} = '1';
+    handles.mode.absolute.period         = answer{2};
+    handles.mode.absolute.lowerlimit     = answer{3};
+    handles.mode.absolute.upperlimit     = answer{4};
+
+    %% Force checkbox if mode is running
+    set(handles.checkbox_absolute,'Value',1)
+    set(handles.checkbox_periodic,'Value',1)
+else
+    disp('No selection');
+    handles.mode.selection{2} = '0';
+end
+            
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+
+% --- Executes on button press in checkbox_relative.
+function checkbox_relative_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_relative (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_relative
+
+val = get(hObject,'Value');
+
+if strcmpi(handles.database,'TDB')
+    timeformat = 'ms';
+else
+    timeformat = 's';
+end
+
+% Build dialogbox inputs
+prompt = {...
+    ['Default period (',timeformat,')'], ...
+    ['Relative period (',timeformat,')'], ...
+    'Upper limit (%)', ...
+    'Lower limit (%)'};
+name = 'Input for relative archiving';
+numlines = 1;
+defaultanswer = {...
+    handles.mode.periodic.period, ...
+    handles.mode.relative.period, ...
+    handles.mode.relative.lowerlimit, ...
+    handles.mode.relative.upperlimit};
+
+answer = inputdlg(prompt, name, numlines, defaultanswer);
+
+if ~isempty(answer)
+    % Periodic part
+    handles.mode.selection{1} = '1';
+    handles.mode.periodic.period = answer{1};
+    % Relative mode part
+    handles.mode.selection{3} = '1';
+    handles.mode.relative.period         = answer{2};
+    handles.mode.relative.upperlimit     = answer{3};
+    handles.mode.relative.lowerlimit     = answer{4};
+
+    %% Force checkbox if mode is running
+    set(handles.checkbox_relative,'Value',1)
+    set(handles.checkbox_periodic,'Value',1)
+else
+    disp('No selection');
+    handles.mode.selection{3} = '0';
+end
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+
+% --- Executes on button press in checkbox_difference.
+function checkbox_difference_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_difference (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_difference
+
+val = get(hObject,'Value');
+
+switch val
+    case 1
+        prompt = {'Default period (s)'};
+        name = 'Input for on difference archiving';
+        numlines = 1;
+        defaultanswer = {'3600'};
+        answer = inputdlg(prompt, name, numlines, defaultanswer);
+        handles.mode.selection{4} = '1';
+        handles.mode.difference.defaultperiod  = answer(1);
+    otherwise
+        disp('No selection');
+end
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+
+% --- Executes on button press in pushbutton_OK.
+function pushbutton_OK_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_OK (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+uiresume(handles.figure1);
+
+% --- Executes on button press in pushbutton_cancel.
+function pushbutton_cancel_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_cancel (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+uiresume(handles.figure1);
+handles.mode = -1;
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+% --- Executes on button press in checkbox_grouped.
+function checkbox_grouped_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_grouped (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_grouped
+
+handles.mode.grouped = num2str(get(hObject,'Value'));
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+% --- Executes on selection change in popupmenu_exportwindow.
+function popupmenu_exportwindow_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_exportwindow (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_exportwindow contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_exportwindow
+
+contents = get(hObject,'String');
+
+%% converts entree to milliseconds
+switch contents{get(hObject,'Value')}
+    case '5 seconds'
+        handles.mode.exportwindow = '5000'; %ms
+    case '10 minutes'
+        handles.mode.exportwindow = '600000'; %ms
+end
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_exportwindow_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_exportwindow (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_keepingwindow.
+function popupmenu_keepingwindow_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_keepingwindow (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_keepingwindow contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_keepingwindow
+
+contents = get(hObject,'String');
+
+%% converts entree to milliseconds
+switch contents{get(hObject,'Value')}
+    case '1 hour'
+        handles.mode.keepingwindow = '3600000'; %ms
+    case '10 hours'
+        handles.mode.keepingwindow = '36000000'; %ms
+    case '1 day'
+        handles.mode.keepingwindow = '86400000'; %ms
+end
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_keepingwindow_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_keepingwindow (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/common/archiving/arplot.m
===================================================================
--- /trunk/machine/SOLEIL/common/archiving/arplot.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/archiving/arplot.m	(revision 17)
@@ -0,0 +1,89 @@
+function arplot(varargin)
+%ARPLOT - Read data from archiving database
+%
+%  INPUTS
+%  1. attribute name
+%  2. starting date {now - 1 hour}
+%  3. endind date {now}
+%  4. {'HDB'} or 'TDB' : select database
+%
+%  EXAMPLES
+%
+%  1. read and plot all dose for the 10 hours 
+%      arplot('CIGdose')
+%  2. read and plot all dose between two dates
+%     arplot('CIGrate', [], '30-09-2005 03:21:02', '30-09-2005 9:21:00')
+%  3. read and plot for moniteur 1 and 4 in list see afterwards
+%     arplot('CIGrate', [1;4], '30-09-2005 03:21:02', '30-09-2005 9:21:00')
+%
+% See also arread
+
+% LIN/RP/CIG.001
+% LT1/RP/CIG.002
+% BOO-C21/RP/CIG.003
+% BOO-C04/RP/CIG.004
+% BOO-C16/RP/CIG.007
+% BOO-C13/RP/CIG.009
+% BOO-C16/RP/CIG.010
+% BOO-C16/RP/CIG.011
+% BOO-C01/RP/CIG.012
+% BOO-C12/RP/CIG.026
+% BOO-C13/RP/CIG.027
+% BOO-C14/RP/CIG.028
+% BOO-C15/RP/CIG.029
+% BOO-C16/RP/CIG.030
+% 
+
+
+% TODO: convertion to Physics units in 'Physics' asked
+%       extract the attribute display units        
+%  To be used
+%  rep = uigetdate
+%  datestr(rep, 'dd-mm-yyyy HH:MM:SS')
+
+%
+% Written by Laurent S. Nadolski
+
+%% Ask for data
+if nargin == 0
+    fprintf('Provide input argument')
+    help arplot; return;
+end
+
+Data = arread(varargin{:});
+
+if (isnumeric(Data.ardata) && Data == -1) || (~isstruct(Data.ardata) && Data == -1) ...
+        || isempty(Data.ardata(1).dvalue)
+    disp('No data available')
+    return;
+end
+
+% Format for time conversion 
+%formatstr0 = 'yyyy-mm-dd HH:MM:SS';
+% formatstr0 = 'dd-mm-yyyy HH:MM:SS';
+%formatstr0 = 'dd-mmm-yyyy HH:MM:SS';
+formatstr = 'HH:MM';
+
+figure
+h = newplot;
+% set size
+set(gcf,'Position',[80 320 1200 620])
+xlabel('Time')
+ylabel('Attribut [Harware unit]');
+hold on;
+grid on;
+
+for ik = 1:length(Data.TangoNames)
+    % Time conversion
+%      val_date = datenum(datestr(Data.ardata(ik).svalue), formatstr0);
+     val_date = Data.ardata(ik).svalue;
+     plot(h,val_date,Data.ardata(ik).dvalue,'.-','Color',nxtcolor);
+     datetick('x',formatstr);
+end
+
+datalabel on;
+
+title(['Data extracted from ', Data.database, ' database']);
+legend(Data.TangoNames,'Location','EastOutside');
+addlabel(1,0,['Starting Date : ',datestr(val_date(1),21),'  Ending Date : ', datestr(val_date(end),21)]);
+    
Index: /trunk/machine/SOLEIL/common/archiving/arread.m
===================================================================
--- /trunk/machine/SOLEIL/common/archiving/arread.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/archiving/arread.m	(revision 17)
@@ -0,0 +1,229 @@
+function Data = arread(varargin)
+%ARREAD - Read data from archiving database
+%
+%  INPUTS
+%  1. FAMILY attribute name or family name
+%      If family, device list can be given, else [] (All) is assumed
+%  2. starting date {now - 2 hours}
+%  3. ending date {now}
+%  4. {'HDB'} or 'TDB' : select database
+%
+%  OUPUTS
+%  1. Data - output structure
+%
+%  EXAMPLES
+%  1. arread('CH',1);
+%  2. arread('CH');
+%  3. arread('LT1/AE/CH.1/current')
+%  4. arread('LT1/VI/PI55.1/pressure', '02-07-2005 03:21:02', '02-07-2005 20:21:00')
+%  5. For all PI
+%     arread('PI', [], '02-07-2005 03:21:02', '02-07-2005 20:21:00')
+% 
+%  See Also arplot
+
+%
+% Written by Laurent S. Nadolski
+
+% Default parameters
+
+HourAverageFlag = 0;
+MinuteAverageFlag = 0;
+SecondAverageFlag = 0;
+
+% Look for hdbextractor name in Tango Static DB
+extractor = cell2mat(tango_get_db_property('archivage','hdbextractor'));
+database  = 'HDB';
+
+Field = 'Monitor';
+
+% WARNING this is the new format for date
+strformat = 'dd-mm-yyyy HH:MM:SS'; 
+
+date1 = datestr(now - 0.0417*12, strformat); % now - 1 hours
+date2 = datestr(now, strformat); 
+
+% Look if 'struct' or 'numeric' in on the input line
+InputFlags = {};
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'HDB')
+        extractor = cell2mat(tango_get_db_property('archivage','hdbextractor'));
+        database = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'TDB')
+        extractor = cell2mat(tango_get_db_property('archivage','tdbextractor'));
+        database = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Hour')
+        HourAverageFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Minute')
+        MinuteAverageFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Second')
+        SecondAverageFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoAverage')
+        HourAverageFlag = 0;
+        MinuteAverageFlag = 0;
+        SecondAverageFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Monitor')
+        Field = 'Monitor';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Setpoint')
+        Field = 'Setpoint';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'RMS')
+        Field = 'RMS';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructOutputFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Physics')
+        UnitsFlag = 'Physics';
+        InputFlags = [InputFlags varargin(i)];
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'hardware')
+        UnitsFlag = 'Hardware';
+        InputFlags = [InputFlags varargin(i)];
+        varargin(i) = [];
+    end
+end
+
+%%%%%%%%%%%%%%
+% INPUT PARSER
+%%%%%%%%%%%%%%
+
+Family = varargin{1};   
+%% check if family is valid and return it in AO
+[FamilyIndex, AO] = isfamily(Family);
+
+if FamilyIndex
+    %%%%%%%%%%%%%%%%
+    % FAMILY INPUT %
+    %%%%%%%%%%%%%%%%
+    
+    % DeviceList
+    if length(varargin) > 1
+        DeviceList = varargin{2};
+    else
+        DeviceList = family2dev(Family);     % Default behavior comes from family2dev
+    end
+
+    %Convertion to TANGO name
+    Family = family2tango(Family,Field,DeviceList);
+
+    if length(varargin) > 2
+        % starting date
+        date1 = varargin{3};
+        if length(varargin) > 2
+            %ending date
+            date2 = varargin{4};
+        end
+    end
+
+elseif isattribute(Family)
+    %%%%%%%%%%%%%%%%%%%%%%
+    % TANGO NAME INPUT %
+    %%%%%%%%%%%%%%%%%%%%%%
+    if length(varargin) > 1
+        % starting date
+        date1 = varargin{2};
+        if length(varargin) > 2
+            %ending date
+            date2 = varargin{3};
+        end
+    end
+else
+    error('%s is not a valid name\n',Family);
+end
+
+%% For Bug in archiving
+%attr_name = strcat('//ganymede.synchrotron-soleil.fr:20000/', Family);
+attr_name = Family;
+
+if ~iscell(attr_name)
+    attr_name = {attr_name};
+end
+
+
+% dvalue : valeur
+% svalue : date en format type 2004-12-05 16:08:07.969
+% Import toutes les valeurs archivees entre deux dates
+if HourAverageFlag
+    %cmdName = 'GetAttDataBetweenDates';
+    cmdName = 'GetAttDataBetweenDatesSampling';
+    OPTION = 'HOUR';
+elseif MinuteAverageFlag
+    %cmdName = 'GetAttDataBetweenDates';
+    cmdName = 'GetAttDataBetweenDatesSampling';
+    OPTION = 'MINUTE';
+elseif SecondAverageFlag
+    %cmdName = 'GetAttDataBetweenDates';
+    cmdName = 'GetAttDataBetweenDatesSampling';
+    OPTION = 'SECOND';
+else
+    cmdName = 'GetAttDataBetweenDatesSampling';
+    OPTION = 'ALL';
+end
+
+for ik = 1:length(attr_name)
+    argin = {attr_name{ik}, date1, date2, OPTION};
+    % get data for one attribute
+    %Data.ardata(ik) = tango_command_inout2(extractor,'GetAttDataBetweenDates',argin);   
+    rep{ik} = tango_command_inout2(extractor,cmdName, argin); 
+end
+
+% Refresh attribute list on extractor
+tango_close_device(extractor);
+tango_open_device(extractor);
+tango_set_timeout(extractor,30000);
+
+for ik = 1:length(attr_name)
+    if rep{ik}.lvalue ~= 0
+        %sdata = tango_attribute_history(extractor,rep{ik}.svalue{1,:},double(rep{ik}.lvalue));
+        if ~iscell(rep{ik}.svalue{1}), rep{ik}.svalue{1} = {rep{ik}.svalue{1}}; end
+        sdata = tango_attribute_history(extractor,rep{ik}.svalue{1}{:},double(rep{ik}.lvalue));
+        if tango_error == -1
+            tango_print_error_stack;
+        end
+        if sdata(1).m == 1
+            for kk = 1:rep{ik}.lvalue,
+                Data.ardata(ik).dvalue(kk) = sdata(kk).value;
+                Data.ardata(ik).svalue(kk) = sdata(kk).time;
+            end
+        else % for vectors
+            for kk = 1:rep{ik}.lvalue,
+                Data.ardata(ik).dvalue(kk,:) = sdata(kk).value;
+                Data.ardata(ik).svalue(kk,:) = sdata(kk).time;
+            end
+        end            
+       Data.ardata(ik).svalue = tango_shift_time(Data.ardata(ik).svalue);
+       tango_command_inout2(extractor,'RemoveDynamicAttribute',rep{ik}.svalue{1}{:});
+    else
+        disp([mfilename ': No Data for ' attr_name{ik}]);
+    end
+    
+    %tango_command_inout2(extractor,'RemoveDynamicAttribute',rep{ik}.svalue{2});
+    % If R/W attribute, ardata.dvalue = [readvalue setvalue]
+    % first shot : just keep readback data
+%     len = length(Data.ardata(ik).svalue);
+%     if len ~= length(Data.ardata(ik).dvalue)
+%         Data.ardata(ik).dvalue = Data.ardata(ik).dvalue(1:len);
+%     end
+end
+
+Data.TangoNames = attr_name;
+Data.start = date1;
+Data.end   = date2;
+Data.database = database;
+
+if  ~isfield(Data,'ardata') ||  (~isstruct(Data.ardata) && Data == -1) || isempty(Data.ardata(1).dvalue)
+    disp([mfilename 'No data available']);
+    Data = -1;
+    return;
+end
Index: /trunk/machine/SOLEIL/common/archiving/exemple_extractor.m
===================================================================
--- /trunk/machine/SOLEIL/common/archiving/exemple_extractor.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/archiving/exemple_extractor.m	(revision 17)
@@ -0,0 +1,188 @@
+dev='archivage/tdbextractor/1'
+tango_ping(dev)
+
+tango_command_inout(dev,'GetHost')
+attr_name = '//ganymede.synchrotron-soleil.fr:20000/LT1/AEsim/CH.3/current';
+tango_command_inout2(dev,'GetArchivingMode',attr_name)
+
+% Rappel: les commandes sont sensible a  la casse
+tango_command_inout2(dev,'IsArchived',attr_name)
+
+%Proprietes d'un attribut (NON utile)
+tango_command_inout(dev,'GetAttPropertiesData',attr_name)
+
+% Liste des attributs archives
+tango_command_inout(dev,'GetCurrentArchivedAtt')
+
+
+% Import toutes les valeurs archivees
+Data = tango_command_inout2(dev,'GetAttScalarData',attr_name)
+
+% Option une structure composee de 2 champs
+% dvalue : valeur
+% svalue : date en format type 2004-12-05 16:08:07.969
+
+% Import toutes les valeurs archivees entre deux dates
+date1 = '2004-12-05 14:00:00';
+date2 = '2004-12-05 14:03:00';
+argin = {attr_name, date1, date2};
+
+Data = tango_command_inout(dev,'GetAttScalarDataBeetweenDates',argin)
+
+
+% Import toutes les valeurs archivees entre 2 dates plus grande que valeur x
+date1 = '2004-12-05 16:00:00';
+date2 = '2004-12-05 16:20:00';
+valinf= '2';
+argin = {attr_name, valinf, date1, date2};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataSupThanBeetweenDates',argin)
+
+
+% Import toutes les valeurs archivees entre 2 dates plus grande que valeur x
+date1 = '2004-12-05 16:00:00';
+date2 = '2004-12-05 16:30:00';
+valinf= '0';
+valsup= '5';
+argin = {attr_name, valinf, valsup, date1, date2};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataSupAndInfThanBeetweenDates',argin)
+
+Data = tango_command_inout2(dev,'GetAttScalarDataSupThanBeetweenDates',argin)
+% Renvoi
+- ERROR 1
+        |-reason.....API_CorbaException
+        |-desc.......UNKNOWN CORBA system exception
+        |-origin.....Connection::command_inout()
+        |-severity...Error (1)
+- ERROR 2
+        |-reason.....API_CommunicationFailed
+        |-desc.......Failed to execute command_inout on device archivage/hdbextractor/1, command GetAttScalarDataSupThanBeetweenDates
+        |-origin.....Connection::command_inout()
+        |-severity...Error (1)
+- ERROR 3
+        |-reason.....command_inout failed
+        |-desc.......failed to execute command_inout on archivage/hdbextractor/1
+        |-origin.....TangoBinding::command_inout
+        |-severity...Error (1)
+
+Alors qu'il faudrait un diagnostic disant que le nombre d'argument n'est pas
+bon.
+
+Semble vrai pour les autres commandes
+
+
+% Import toutes les valeurs archivees entre 2 dates plus grande que valsup et
+% plus petite que valinf
+
+date1 = '2004-12-05 16:00:00';
+date2 = '2004-12-05 16:30:00';
+valinf= '5';
+valsup= '0';
+argin = {attr_name, valinf, valsup, date1, date2};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataInfOrSupThanBeetweenDates',argin)
+
+
+% Import toutes les valeurs archivees entre 2 dates plus  petite que valinf
+
+date1 = '2004-12-05 16:00:00';
+date2 = '2004-12-05 16:30:00';
+valinf= '4';
+argin = {attr_name, valinf, date1, date2};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataInfThanBeetweenDates',argin)
+
+% Import toutes les n dernieres valeurs archivees 
+
+valn = '10';
+argin = {attr_name, valn};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataLastN',argin)
+
+
+% Import toutes les valeurs archivees plus  petites que valinf
+
+valinf= '4';
+argin = {attr_name, valinf};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataInfThan',argin)
+
+% Import toutes les valeurs archivees plus grandes que valsup
+
+valsup= '4';
+argin = {attr_name, valsup};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataSupThan',argin)
+
+
+% Import toutes les valeurs archivees plus grandes que valsup
+
+valinf= '2';
+valsup= '5';
+argin = {attr_name, valinf, valsup};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataSupAndInfThan',argin)
+
+% Import la plus grande valeur archivee
+
+argin = attr_name;
+
+Data = tango_command_inout2(dev,'GetAttScalarDataMax',argin)
+
+% Import la plus grande valeur moyenne
+
+argin = attr_name;
+
+Data = tango_command_inout2(dev,'GetAttScalarDataAvg',argin)
+
+% Import la plus petite valeur archivee
+
+argin = attr_name;
+
+Data = tango_command_inout2(dev,'GetAttScalarDataMin',argin)
+
+%Idem entre dates
+
+date1 = '2004-12-05 16:00:00';
+date2 = '2004-12-05 16:30:00';
+argin = {attr_name, date1, date2};
+
+Data = tango_command_inout2(dev,'GetAttScalarDataAvgBetweenDates',argin)
+Data = tango_command_inout2(dev,'GetAttScalarDataMinBetweenDates',argin)
+Data = tango_command_inout2(dev,'GetAttScalarDataMaxBetweenDates',argin)
+
+
+%Nombre des donnees archivees
+Data = tango_command_inout2(dev,'GetAttScalarDataCount',attr_name)
+
+%Nombre des donnees archivees entre deux dates
+date1 = '2004-12-05 16:00:00';
+date2 = '2004-12-05 16:30:00';
+argin = {attr_name, date1, date2};
+Data = tango_command_inout2(dev,'GetAttScalarDataBetweenDatesCount',argin)
+
+
+%Nombre des donnees archivees entre deux dates Sup a  x
+date1 = '2004-12-05 16:00:00';
+date2 = '2004-12-05 16:30:00';
+valinf = '4';
+valsup = '6';
+
+argin = {attr_name, valinf, date1, date2};
+Data = tango_command_inout2(dev,'GetAttScalarDataSupThanBetweenDatesCount',argin)
+
+argin = {attr_name, valinf, valsup, date1, date2};
+Data = tango_command_inout2(dev,'GetAttScalarDataInfOrSupThanBetweenDatesCount',argin)
+
+argin = {attr_name, valinf, valsup, date1, date2};
+Data = tango_command_inout2(dev,'GetAttScalarDataSupAndInfThanBetweenDatesCount',argin)
+
+argin = {attr_name, valsup, date1, date2};
+Data = tango_command_inout2(dev,'GetAttScalarDataInfThanBetweenDatesCount',argin)
+
+%% Il faut se debarasser des millisecondes (PAS BESOIN !!!)
+% et utiliser la commande de conversion en format numerique
+datenum('2004-05-12 12:45:23','yyyy-mm-dd HH:MM:SS')
+datenum(Data.svalue,'yyyy-mm-dd HH:MM:SS');
+
Index: /trunk/machine/SOLEIL/common/archiving/tango_archiving_config.m
===================================================================
--- /trunk/machine/SOLEIL/common/archiving/tango_archiving_config.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/archiving/tango_archiving_config.m	(revision 17)
@@ -0,0 +1,911 @@
+function varargout = tango_archiving_config(varargin)
+% TANGO_ARCHIVING_CONFIG M-file for tango_archiving_config.fig
+%      TANGO_ARCHIVING_CONFIG, by itself, creates a new TANGO_ARCHIVING_CONFIG or raises the existing
+%      singleton*.
+%
+%      H = TANGO_ARCHIVING_CONFIG returns the handle to a new TANGO_ARCHIVING_CONFIG or the handle to
+%      the existing singleton*.
+%
+%      TANGO_ARCHIVING_CONFIG('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in TANGO_ARCHIVING_CONFIG.M with the given input arguments.
+%
+%      TANGO_ARCHIVING_CONFIG('Property','Value',...) creates a new TANGO_ARCHIVING_CONFIG or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before tango_archiving_config_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to tango_archiving_config_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help tango_archiving_config
+
+% Last Modified by GUIDE v2.5 07-Apr-2005 09:47:11
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+    'gui_Singleton',  gui_Singleton, ...
+    'gui_OpeningFcn', @tango_archiving_config_OpeningFcn, ...
+    'gui_OutputFcn',  @tango_archiving_config_OutputFcn, ...
+    'gui_LayoutFcn',  [] , ...
+    'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+%
+% Written by Laurent S. Nadolski
+
+
+% --- Executes just before tango_archiving_config is made visible.
+function tango_archiving_config_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to tango_archiving_config (see VARARGIN)
+
+% Choose default command line output for tango_archiving_config
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes tango_archiving_config wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+disp('TANGO Archiving Configurator');
+
+%% Look for archiving manager TANGO name in static Database
+archivingmanager = cell2mat(tango_get_db_property('archivage','archivingmanager'));
+tango_set_timeout(archivingmanager,30000);
+
+setappdata(handles.figure1,'archivingmanager', archivingmanager);
+
+%% Initialize database {HDB} and machine {LT1}
+handles.database='HDB';
+guidata(hObject, handles);
+
+hdbmenu_Callback(hObject, eventdata, handles);
+uimenu_anneau_Callback(handles.uimenu_LT1, eventdata, handles);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = tango_archiving_config_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes on selection change in popupmenu_group.
+function popupmenu_group_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_group contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_group
+
+contents = get(hObject,'String');
+num      = get(hObject,'Value');
+group    = contents{num};
+
+setappdata(handles.figure1,'group', group);
+
+AO       = getappdata(handles.figure1,'AO');
+
+% Status one devices
+valid  = find(AO.(group).Status);
+
+% Update Group list
+set(handles.listbox_group,'String',AO.(group).DeviceName(valid));
+
+set(handles.popupmenu_command,'BackgroundColor','red');
+
+% Builds up attribut list for selected group
+attributeList = tango_get_attribute_list(AO.(group).DeviceName{valid(1)});
+
+num = get(handles.popupmenu_attribute,'Value');
+if num > length(attributeList)
+    num = 1;
+    set(handles.popupmenu_attribute,'Value',num);
+end
+set(handles.popupmenu_attribute,'String',attributeList);
+
+popupmenu_attribute_Callback(handles.popupmenu_attribute, eventdata, handles);
+
+%setback selected element and property to first one
+set(handles.listbox_property,'Value',1);
+set(handles.listbox_group,'Value',1);
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_group_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_attribute.
+function popupmenu_attribute_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_attribute contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_attribute
+
+contents  = get(hObject,'String');
+num       = get(hObject,'Value');
+attribute = contents{num};
+
+setappdata(handles.figure1,'attribute', attribute);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_attribute_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_command.
+function popupmenu_command_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_command
+
+%% Set color to Green
+set(handles.popupmenu_command,'BackgroundColor','green');
+
+contents  = get(hObject,'String');
+num       = get(hObject,'Value');
+command  = contents{num};
+
+setappdata(handles.figure1,'command', command);
+
+group     = getappdata(handles.figure1,'group');
+attribute = getappdata(handles.figure1,'attribute');
+AO        = getappdata(handles.figure1,'AO');
+
+% Status one devices
+valid  = find(AO.(group).Status);
+
+% Construct DeviceName/AttributName list
+%host = getenv('TANGO_HOST'); %% TODO PAS PROPRE mais pour rester conforme avec archiving
+%fullTangoNames = strcat('//',host,'/',AO.(group).DeviceName(valid), '/', attribute);
+fullTangoNames = strcat(AO.(group).DeviceName(valid), '/', attribute);
+archivingmanager = getappdata(handles.figure1,'archivingmanager');
+
+if (get(handles.checkbox_all,'Value') == 0)
+    %% Get selected element
+    idx = get(handles.listbox_property,'Value');
+    fullTangoNamesV = fullTangoNames(idx);
+else % All the same
+    fullTangoNamesV = fullTangoNames';
+end
+
+% Select database
+switch handles.database
+    case 'HDB'
+        command = [command 'Hdb'];
+    case 'TDB'
+        command = [command 'Tdb'];
+end
+
+% switchyard on commands
+switch command(1:end-3)
+    case {'IsArchived'} % check archiving state
+        argin = fullTangoNames';
+        list = tango_command_inout2(archivingmanager,command,argin)';
+        set(handles.listbox_property,'String',list);
+
+    case {'GetArchivingMode'} % Get archiving mode
+        list = [];
+        for k = 1:length(fullTangoNames)
+            argin = fullTangoNames{k};
+            answer = tango_command_inout2(archivingmanager,command,argin);
+            list = [list ; format_output_list(answer)];
+        end
+
+        %% Format data for fast print out
+        Name = strcat(AO.(group).DeviceName(valid), '/', attribute);
+        [n1 n2] = size(list);
+        Strcell = cell(n2+1,n1);
+        Strcell(end,:) = Name;
+        Strcell(1:end-1,:) = num2cell(list');
+
+        %% TODO: location for file, check fopen is OK
+        directory = getfamilydata('Directory','Archiving');
+        filename = [directory 'summarymodedata.txt'];
+        %filename = tempname;
+        [fid message] = fopen(filename,'w');
+        if fid == -1
+            message
+            return;
+        end
+
+        fprintf(fid,['# ',handles.database ' DATABASE: File generated on' ...
+            ' %s\n'],datestr(now));
+        fprintf(fid,['# Periodic Mode      Absolute Mode       ' ...
+            '  Relative Mode       TANGO attribute Name   \n']);
+        fprintf(fid,['#      T(s)    T(s)     min      max     ' ...
+            'T(s)     min      max    \n']);
+        fprintf(fid,'    %7.1f %7.1f %8.2f %8.2f %7.1f %8.2f %8.2f  %s\n',Strcell{:});
+        fclose(fid);
+
+        % edit 'modedata.txt'
+        if isunix
+            system(['nedit ', filename, ' &']);  % much faster
+%             eval(['edit ' filename])
+        else
+            eval(['edit ' filename])
+        end
+
+    case {'ArchivingStart'}% Start archiving
+
+        %% Selects archiving mode
+        mode = archiving_panel_mode(handles.database);
+               
+        if isstruct(mode) % means not canceled
+            %% Build up the argument for sIntermediatetarting archiving
+            %% Check for different modes selected by user
+            argin = BuildArgin(fullTangoNamesV, mode,handles);
+            
+            if isnumeric(argin) && argin == -1
+                disp('No Archiving mode selected, does nothing');
+                return;
+            end
+            
+            start_archiving(archivingmanager,command,argin,handles);
+
+            %% Force a IsArchived call to check if everything as
+            %% expected
+            set(handles.popupmenu_command,'Value',1);
+            popupmenu_command_Callback(hObject, eventdata, handles);
+        end
+
+    case {'ArchivingStop'}% Stop archiving
+        argin = fullTangoNamesV';
+        error = tango_command_inout2(archivingmanager,command,argin);
+        display_archiving_error(error,handles);
+
+        set(handles.popupmenu_command,'Value',1);
+        popupmenu_command_Callback(hObject, eventdata, handles);
+
+    case {'ArchivingModif'}% Get archiving mode
+        list = []; % clear list
+        % build list
+        for k = 1:length(fullTangoNamesV) % length(fullTangoNames) % Get the first one if a list
+            argin = fullTangoNamesV{k};
+            answer = tango_command_inout2(archivingmanager,['GetArchivingMode' command(end-2:end)],argin);
+            list = [list ; format_output_list(answer)];
+        end
+
+        % Selects archiving mode
+        % List contains existing archiving modes to be modified
+        mode = archiving_panel_mode(handles.database,list);
+
+        if isstruct(mode) % means not canceled
+
+            %% Build up the argument for starting archiving
+            %% Check for different modes selected by user
+            argin = BuildArgin(fullTangoNamesV, mode,handles);
+
+            start_archiving(archivingmanager,command,argin,handles);
+
+            %% Force a IsArchived call to check if everything as
+            %% expected
+            set(handles.popupmenu_command,'Value',1);
+            popupmenu_command_Callback(hObject, eventdata, handles);
+        end
+
+    otherwise
+        disp('Command not implemented')
+end
+
+% Update handles structure
+guidata(handles.figure1, handles);
+
+
+function argin = BuildArgin(fullTangoNames, mode, handles)
+% Build up the argument for starting archiving
+% Check for different modes selected by user
+
+[temp ismodeselected] = findkeyword(mode.selection,'1');
+if ismodeselected == 0 % no mode selected
+    argin = -1;
+    return;
+    
+elseif ismodeselected == 1 % at least an archiving mode selected
+    
+    %Load balancing
+    
+    %% standard header
+    % 1. archiver name for load balancing feature
+    % 2. group feature true or false (not implemented to the end)
+    switch mode.grouped
+        case '0'
+            header = {'toto', 'false'};
+        case '1'
+            % Force to flase since not yet implemented in matlab gui
+            header = {'toto', 'false'};
+            % header = {'toto', 'true'};
+    end
+    
+    %% Not required fields set to default values
+    % 1. data type
+    % 2. data format
+    % 3. writable
+    % 4. device in charge
+    % 5. Trigger time
+    
+    header_attribute = { '0', '0', '0', '','NULL'};
+
+    % header length for each attribut
+    % depends on the mode selection
+    len = 6;
+    len_mode = 0;
+    
+    % number of attributes to archive
+    nb = length(fullTangoNames);
+    
+    % mode parametrization
+    mode_P ={};
+    mode_A ={};
+    mode_R ={};
+    mode_string = {};
+
+    if str2double(mode.selection{1}) == 1 %% Periodic mode
+        len = len + 3;
+        len_mode = len_mode + 2;
+        if strcmpi(handles.database,'HDB')
+            mode.periodic.period = [mode.periodic.period '000']; % ms
+        end
+        mode_P = {'MODE_P', mode.periodic.period};
+    end
+
+    if str2double(mode.selection{2}) == 1 % Absolute mode
+        len = len + 4;
+        len_mode = len_mode + 4;
+        if strcmpi(handles.database,'HDB')
+            mode.absolute.period = [mode.absolute.period '000']; % ms
+        end
+        mode_A = {'MODE_A', mode.absolute.period,...
+            mode.absolute.lowerlimit, mode.absolute.upperlimit};
+    end
+
+    if str2double(mode.selection{3}) == 1 %Relative mode
+        len = len + 4;
+        len_mode = len_mode + 4;
+        if strcmpi(handles.database,'HDB')
+            mode.relative.period = [mode.relative.period '000']; % ms
+        end
+        mode_R = {'MODE_R', mode.relative.period,...
+            mode.relative.lowerlimit,mode.relative.upperlimit};
+    end
+
+    mode_string = {mode_P{:}, mode_R{:}, mode_A{:}};
+    
+    switch handles.database %% Select database
+        case 'TDB' %% Intermediate DATABASE
+            len = len +3;
+            len_mode = len_mode + 3;
+            mode_string = {mode_string{:}, 'TDB_SPEC', ...
+                mode.exportwindow, mode.keepingwindow};
+        case 'HDB' %% Historical DATABASE
+            % No extra arguments
+    end
+    
+    argin = header;
+    
+    % loop over list of attributed to be archived
+    for k = 1:nb        
+        argin = {argin{:}, num2str(len), fullTangoNames{k}, ...
+            header_attribute{:}, num2str(len_mode), mode_string{:}};
+    end
+     
+end
+
+function start_archiving(archivingmanager,command,argin,handles)
+% START_ARCHIVING - Start or modify an archiving
+%
+% INPUTS
+% archivingmanager - TANGO name of the archiving manager
+% command - start or modify archiving, could be 
+%         - ArchivingStart 
+%         - ArchivingModif 
+%         - ArchivingStartIntermediate 
+%         - ArchivingModifIntermediate
+% argin - inputs arguments related to command (see archivingmanager doc )
+%
+error = tango_command_inout2(archivingmanager,command,argin);
+
+display_archiving_error(error,handles);
+
+function display_archiving_error(error,handles)
+%DISPLAY_ARCHIVING_ERROR - Display error reason
+% Errorhandler
+% See archivingmanager documentation for details
+
+switch error
+    case 0
+        %% start succeeded
+        return;
+    case 1
+        disp('All the given attribute already archiving process')
+    case 2
+        disp('start failed')
+    case 3
+        % stop succeeded
+        return;
+    case 4
+        disp('All giving attributs are not in archiving process');
+    case 5
+        disp('Stop failed');
+    case 6
+        %% Modif succeeded
+        return;
+    case 7
+        disp('All given attributes are not in historic archiving');
+    case 8
+        disp('modif failed');
+    case 9
+        disp('No running [H/T]dbArchiver')
+    case 10
+        disp('All the attribute do not exist in static DB')
+    case 11
+        disp('database not connected')
+    case 12
+        disp('device cannot talk to the database')
+    otherwise
+        disp('Unknown error')
+end
+
+warning(['Error with ', handles.database,' database']);
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_command_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on selection change in listbox_group.
+function listbox_group_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_group contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_group
+
+set(handles.listbox_property,'Value',get(hObject,'Value'));
+set(handles.listbox_property,'ListboxTop',get(hObject,'ListboxTop'));
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox_group_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in listbox_property.
+function listbox_property_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_property contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_property
+
+set(handles.listbox_group,'Value', get(hObject,'Value'));
+set(handles.listbox_group,'ListboxTop', get(hObject,'ListboxTop'));
+
+%set(handles.edit_value,'String',contents{get(hObject,'Value')});
+
+% --- Executes during object creation, after setting all properties.
+function listbox_property_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in checkbox_all.
+function checkbox_all_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_all
+
+function edit_value_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_value as text
+%        str2double(get(hObject,'String')) returns contents of edit_value as a double
+
+value = get(hObject,'String');
+
+group     = getappdata(handles.figure1,'group');
+attribute = getappdata(handles.figure1,'attribute');
+property  = getappdata(handles.figure1,'property');
+AO        = getappdata(handles.figure1,'AO');
+
+%% Status one devices
+valid  = find(AO.(group).Status);
+
+if (get(handles.checkbox_all,'Value') == 0)
+    %% Get selectedd element
+    idx = get(handles.listbox_property,'Value');
+    tango_set_attribute_property(strcat(AO.(group).DeviceName{valid(idx)}, ...
+        '/',attribute),property, value)
+else % All the same
+    tango_set_attribute_property(strcat(AO.(group).DeviceName(valid), ...
+        '/',attribute),property, value)
+end
+%% Status one devices
+valid  = find(AO.(group).Status);
+
+%% refresh display
+popupmenu_property_Callback(handles.popupmenu_command,eventdata, handles);
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_value_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --------------------------------------------------------------------
+function uimenu_linac_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_linac (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+init_uimenu(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function uimenu_LT1_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_LT1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+if ~strcmpi(getsubmachinename, 'LT1')
+    LT1init;
+end
+handles = init_uimenu(hObject, eventdata, handles);
+% Update handles structure
+guidata(hObject, handles);
+
+%%%--------------------------------------------------------------------
+function handles = init_uimenu(hObject, eventdata, handles)
+
+setappdata(handles.figure1,'AO', getao);
+
+%% Checked box
+all = findobj(get(hObject,'Parent'),'Type','UImenu');
+set(all, 'Checked', 'Off');
+set(hObject, 'Checked', 'On');
+
+%% Initializes popupmenu w/ first element, first attribute, first property
+listgroup = findmemberof('Archivable');
+
+set(handles.popupmenu_group,'String',listgroup);
+setappdata(handles.figure1,'group', listgroup{1});
+
+popupmenu_group_Callback(handles.popupmenu_group, eventdata, handles);
+
+%% Initializes command popup menu w/ list of archivingmanager available
+%% commands
+% res = tango_command_list_query(archivingmanager);
+% listcmd = {res.cmd_name};
+listcmd = {'IsArchived','GetArchivingMode', 'ArchivingStart', ...
+    'ArchivingStop','ArchivingModif'};
+set(handles.popupmenu_command,'String',listcmd);
+value = find(strcmp(listcmd,'IsArchived'));
+set(handles.popupmenu_command,'Value',value);
+setappdata(handles.figure1,'command', value);
+
+% --------------------------------------------------------------------
+function uimenu_booster_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_booster (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+if ~strcmpi(getsubmachinename, 'Booster')
+    boosterinit
+end
+init_uimenu(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function uimenu_LT2_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_LT2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+if ~strcmpi(getsubmachinename, 'LT2')
+   LT2init;
+end
+init_uimenu(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function uimenu_anneau_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_anneau (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+if ~strcmpi(getsubmachinename, 'StorageRing') 
+    soleilinit;
+end
+init_uimenu(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function Untitled_1_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function hdbmenu_Callback(hObject, eventdata, handles)
+% hObject    handle to menuhdb (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.hdbmenu,'checked','On');
+set(handles.tdbmenu,'checked','Off');
+handles.database='HDB';
+set(handles.mainuipanel,'Title','TANGO HDB Configurator', ...
+    'ForegroundColor',[0, 0.5, 0]);
+% Update handles structure
+guidata(hObject, handles);
+
+% --------------------------------------------------------------------
+function tdbmenu_Callback(hObject, eventdata, handles)
+% hObject    handle to tdbmenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.tdbmenu,'checked','On');
+set(handles.hdbmenu,'checked','Off');
+handles.database='TDB';
+set(handles.mainuipanel,'Title','TANGO TDB Configurator','ForegroundColor','b');
+% Update handles structure
+guidata(hObject, handles);
+
+% --------------------------------------------------------------------
+function Untitled_2_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in checkbox_loadbalancing.
+function checkbox_loadbalancing_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_loadbalancing (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_loadbalancing
+
+function list = format_output_list(varargin)
+
+cellarray = varargin{:};
+
+list = zeros(1,7);
+
+% Periodical mode: just get archiving period
+[cellarray index] = findkeyword2(cellarray,'MODE_P');
+if index ~= 0
+    list(1) = str2double(cellarray(index))/1e3; % seconds
+end
+
+% Absolute mode: just get archiving period and variation limits
+[cellarray index] = findkeyword2(cellarray,'MODE_A');
+if index ~= 0
+    list(2) = str2double(cellarray(index))/1e3; % seconds
+    list(3) = str2double(cellarray(index+1)); % decreasing variation (%)
+    list(4) = str2double(cellarray(index+2)); % increasing variation (%)
+end
+
+% Relative mode: just get archiving period and variation limits
+[cellarray index] = findkeyword2(cellarray,'MODE_R');
+if index ~= 0
+    list(5) = str2double(cellarray(index))/1e3; % seconds
+    list(6) = str2double(cellarray(index+1)); % decreasing variation (%)
+    list(7) = str2double(cellarray(index+2)); % increasing variation (%)
+end
+
+
+% --- If Enable == 'on', executes on mouse press in 5 pixel border.
+% --- Otherwise, executes on mouse press in 5 pixel border or over listbox_group.
+function listbox_group_ButtonDownFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% TODO: works only if right button pressed
+%       do not know how to do for left button
+val = get(handles.listbox_group,'Value');
+set(handles.listbox_property,'Value',val);
+
+
+% --------------------------------------------------------------------
+function menu_file_Callback(hObject, eventdata, handles)
+% hObject    handle to menu_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function savemenu_Callback(hObject, eventdata, handles)
+% hObject    handle to savemenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+summarymenu_Callback(hObject, eventdata, handles);
+directory = getfamilydata('Directory','Archiving');
+filename1 = [directory appendtimestamp('config')];
+filename0 = [directory 'config.dat'];
+copyfile(filename0,filename1);
+
+% --------------------------------------------------------------------
+function summarymenu_Callback(hObject, eventdata, handles)
+% hObject    handle to summarymenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+AO        = getappdata(handles.figure1,'AO');
+archivingmanager = getappdata(handles.figure1,'archivingmanager');
+
+%grouplist = intersect(findmemberof('Magnet'),findmemberof('Archivable'));
+grouplist = findmemberof('Archivable');
+
+% get database name
+switch handles.database
+    case 'HDB'
+        dbName = 'Hdb';
+    case 'TDB'
+        dbName = 'Tdb';
+end
+
+directory = getfamilydata('Directory','Archiving');
+%filename = [directory appendtimestamp('config')];
+filename = [directory 'config.dat'];
+fid = fopen(filename,'w');
+
+fprintf(fid,['# ',handles.database ' DATABASE: File generated on' ...
+    ' %s\n'],datestr(now));
+fprintf(fid,['# Periodic Mode      Absolute Mode       ' ...
+    '  Relative Mode       TANGO attribute Name   \n']);
+fprintf(fid,['#      T(s)    T(s)     min      max     ' ...
+    'T(s)     min      max    \n']);
+
+for k1 = 1:length(grouplist),
+    % loop of group of devices
+    %get attribut list
+    % Status one devices
+    valid  = find(AO.(grouplist{k1}).Status);
+
+    for k2 = 1:length(valid)
+        % loop over devices
+        % Builds up attribut list for selected groups
+        attributeList = tango_get_attribute_list(AO.(grouplist{k1}).DeviceName{valid(k2)});
+        for k3 = 1:length(attributeList),
+            % loop over attributes
+            %check if archived
+            try
+                argin = strcat(AO.(grouplist{k1}).DeviceName(valid(k2)), '/', attributeList{k3});
+                arstatus = tango_command_inout2(archivingmanager,['IsArchived' dbName], argin);
+            catch
+                fprintf('Erreur with attribute %s\n Action aborted \n', attributeList{k3});
+                return;
+            end
+            if arstatus
+                %get Archiving modes
+                answer = tango_command_inout2(archivingmanager,['GetArchivingMode' dbName], argin{:});
+                list = format_output_list(answer);
+
+                %% Format data for fast print out
+%                 Name = strcat(AO.(groupLIST(k1)).DeviceName(valid(k2)), '/', attributelist{k3});
+                Name = argin;
+                [n1 n2] = size(list);
+                Strcell = cell(n2+1,n1);
+                Strcell(end,:) = Name;
+                Strcell(1:end-1,:) = num2cell(list');
+                fprintf(fid,'    %7.1f %7.1f %8.2f %8.2f %7.1f %8.2f %8.2f  %s\n',Strcell{:});
+            end
+        end
+    end
+end
+
+fclose(fid);
+
+% show file
+if isunix
+    system(['nedit ', filename, ' &']);  % much faster
+else
+    eval(['edit ' filename])
+end
+
+
+% --------------------------------------------------------------------
+function loadmenu_Callback(hObject, eventdata, handles)
+% hObject    handle to loadmenu (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+disp('Not implemented yet')
Index: /trunk/machine/SOLEIL/common/archiving/tango_extract.m
===================================================================
--- /trunk/machine/SOLEIL/common/archiving/tango_extract.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/archiving/tango_extract.m	(revision 17)
@@ -0,0 +1,29 @@
+dev='archivage/hdbextractor/1'
+tango_ping(dev)
+
+attr_name = '//ganymede.synchrotron-soleil.fr:20000/LT1/AEsim/CH.3/current';
+% Option une structure composee de 2 champs
+% dvalue : valeur
+% svalue : date en format type 2004-12-05 16:08:07.969
+
+% Import toutes les valeurs archivees entre deux dates
+date1 = '2004-12-05 14:00:00';
+date2 = datestr(now,'yyyy-mm-dd HH:MM:SS');
+argin = {attr_name, date1, date2};
+
+Data = tango_command_inout(dev,'GetAttScalarDataBeetweenDates',argin)
+
+formatstr0 = 'yyyy-mm-dd HH:MM:SS';
+formatstr = 'HH:MM';
+
+datenum('2004-05-12 12:45:23', formatstr0);
+val_date = datenum(Data.svalue, formatstr0);
+
+plot(val_date,Data.dvalue,'.-');
+legend(attr_name)
+grid on
+datetick('x',formatstr)
+
+valN = val_date - datenum(date1, formatstr0);
+plot(valN/60/60,Data.dvalue,'.-');
+
Index: /trunk/machine/SOLEIL/common/bend2gev.m
===================================================================
--- /trunk/machine/SOLEIL/common/bend2gev.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/bend2gev.m	(revision 17)
@@ -0,0 +1,238 @@
+function [GeV B] = bend2gev(varargin)
+%BEND2GEV - Compute the energy based on the ramp tables
+% GeV = bend2gev(Family, Field, Amps, DeviceList, BranchFlag)
+%
+%  INPUTS
+%  1. Bend - Bend magnet family {Optional}
+%  2. Field - Field {Optional}
+%  3. Amps - Bend magnet current
+%  4. DeviceList - Bend magnet device list to reference energy to {Default: BEND(1,1)}
+%  5. BranchFlag - 1 -> Lower branch
+%                  2 -> Upper branch {Default}
+%                  Not working at Spear yet, since there isn't any magnet measurements on hysteresis
+%
+%  OUTPUTS
+%  1. GeV - Electron beam energy [GeV]
+%  2. B - B-field [T]
+%
+%  ALGORYTHM
+%  theta = BL/Brho
+%
+%  See Also bend2gev
+
+
+%
+%  Written by Gregory J. Portmann
+%  Modify by Laurent S. Nadolski
+
+% TODO Need BLeff = function of the dipole current
+
+% Default
+Family = '';
+Field = '';
+Amps = [];
+DeviceList = [];
+BranchFlag = [];
+
+ModeFlag = '';  % model, online, manual
+UnitsFlag = ''; % hardware, physics
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignor structures
+    elseif iscell(varargin{i})
+        % Ignor cells
+    elseif strcmpi(varargin{i},'Struct')
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Numeric')
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Physics')
+        UnitsFlag = 'Physics';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Hardware')
+        UnitsFlag = 'Hardware';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator') || strcmpi(varargin{i},'Model')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Online')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Manual')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    end        
+end
+
+
+if length(varargin) >= 1
+    if ischar(varargin{1})
+        Family = varargin{1};
+        varargin(1) = [];
+    else
+        Amps = varargin{1};
+        varargin(1) = [];
+        if length(varargin) >= 1
+            DeviceList = varargin{1};
+            varargin(1) = [];
+        end
+        if length(varargin) >= 1
+            BranchFlag = varargin{1};
+            varargin(1:end) = [];
+        end
+    end
+end
+if length(varargin) >= 1 & ischar(varargin{1})
+    Field = varargin{1};
+    varargin(1) = [];
+end
+if length(varargin) >= 1
+    Amps = varargin{1};
+    varargin(1) = [];
+end
+if length(varargin) >= 1
+    DeviceList = varargin{1};
+    varargin(1) = [];
+end
+if length(varargin) >= 1
+    BranchFlag = varargin{1};
+    varargin(1) = [];
+end
+
+
+if isempty(Family)
+    Family = 'BEND';
+end
+if isempty(ModeFlag)
+    ModeFlag = getmode(Family);
+end
+
+if isempty(Field)
+    Field = 'Setpoint';
+end
+if isempty(DeviceList)
+    DeviceList = family2dev(Family);
+    if all(size(Amps)==[1 1]) | isempty(Amps)
+        DeviceList = DeviceList(1,:);
+    end
+end
+if isempty(BranchFlag)
+    % Default is upper branch
+    BranchFlag = 2;
+end
+if isempty(Amps)
+    if strcmpi(ModeFlag,'simulator') || strcmpi(ModeFlag,'model')
+        % The model energy is used only if Amps is empty
+        % Otherwise "Maximum recursion limit"
+        GeV = getenergymodel;
+        return;
+        
+        %GeVmodel = getenergymodel;
+        %kmodel = getpvmodel(Family, Field, DeviceList, 'Physics');
+        %Amps = k2amp(Family, Field, kmodel, DeviceList, [], 1, GeVmodel);
+    else 
+        Amps = getpv(Family, Field, [1 1], 'Hardware', ModeFlag);
+        UnitsFlag = 'UnitsFlag';
+    end
+end
+
+% End of input checking
+% Machine dependent stuff below
+
+
+% Amps should be in hardware units
+if strcmpi(UnitsFlag,'Physics')
+    Amps = physics2hw(Family, 'Setpoint', Amps, DeviceList);
+end
+
+
+DeviceListTotal = family2dev(Family, 0);
+
+for ii = 1:size(DeviceList,1)
+    if length(Amps) == 1
+        BEND = Amps;    
+    else
+        BEND = Amps(ii);    
+    end
+
+    %% Approximation too wrong for low energy like in transfert lines
+    % brho[Tm] = 3.33620907461447 * E[GeV]
+    % brho = BLeff/theta = 1E9/c*sqrt(E*E-E0*E0)
+    %
+
+    E0 = .51099906e-3;  %electron rest mass in GeV
+    e    = 1.60217733e-19 ;
+    %% celerity times 1 billion
+    cb    = 2.99792458e-1;
+
+    AcceleratorName = getfamilydata('SubMachine');
+    switch AcceleratorName
+        case 'StorageRing'
+            % Convert to energy
+            %
+            %
+            %
+            % Need BLeff = function of the dipole current
+
+            % C coefficients have been scaled to convert between AT units and hardware units and also includes a DC term:
+            % c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2+c1*I + c0 = B or B' or B"
+            % C = [c8 c7 c6 c5 c4 c3 c2 c1 c0]
+            %[C1, Leff, MagnetType, A] = magnetcoefficients('BEND');
+
+            [C Leff Type A] = magnetcoefficients(Family);
+            
+            % Magnetfield in T
+            BL = polyval(A,BEND);
+            % k(i,1) = polyval(C, Amps(i)) / brho;
+
+            theta = 0.19634954084936; % rad <--> 11.25 degrees
+            % la question se pose sur l'utilite de BLeff
+            %BLeff = 1.806;
+            %BLeff = 1.8014;
+            %brho  = BLeff/theta;
+            %% TODO get BLeff in function of the dipole current
+            brho  = BL/theta;
+            
+        case 'LT2'
+
+            [C Leff Type A] = magnetcoefficients(Family);
+            
+            % Magnetfield in T
+            BL = polyval(A,BEND);
+            % k(i,1) = polyval(C, Amps(i)) / brho;
+
+            theta = 0.193789; % rad <--> 11.25 degrees
+            BLeff = 1.7780;
+            %brho  = BLeff/theta;
+            %% TODO get BLeff in function of the dipole current
+            brho  = BL/theta;    
+            
+            
+            
+        case 'LT1'
+            [C Leff Type A] = magnetcoefficients(Family);
+
+            % Magnetfield in T
+            BL = polyval(A,BEND);
+            theta = 0.26179938779915; %rad <--> 15 degrees
+            brho = BL/theta;
+        case 'Booster'
+            [C Leff Type A] = magnetcoefficients(Family);
+
+            % Magnetfield in T
+            BL = polyval(A,BEND);
+            theta = 0.17453292519943; %rad <--> 10 degrees
+            brho = BL/theta;            
+        otherwise
+            error('Wrong SubMachine %s', Machine);
+    end
+    
+    % now return energy in GeV
+    gev1 = sqrt(E0*E0+cb*cb*brho*brho) - E0;
+    
+    if size(Amps,2) == 1
+        GeV(ii,1) = gev1;
+    else
+        GeV(1,ii) = gev1;
+    end
+
+end
Index: /trunk/machine/SOLEIL/common/bpmconfigurator.m
===================================================================
--- /trunk/machine/SOLEIL/common/bpmconfigurator.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/bpmconfigurator.m	(revision 17)
@@ -0,0 +1,620 @@
+ function varargout = bpmconfigurator(varargin)
+% BPMCONFIGURATOR M-file for bpmconfigurator.fig
+%      BPMCONFIGURATOR, by itself, creates a new BPMCONFIGURATOR or raises the existing
+%      singleton*.
+%
+%      H = BPMCONFIGURATOR returns the handle to a new BPMCONFIGURATOR or the handle to
+%      the existing singleton*.
+%
+%      BPMCONFIGURATOR('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in BPMCONFIGURATOR.M with the given input arguments.
+%
+%      BPMCONFIGURATOR('Property','Value',...) creates a new BPMCONFIGURATOR or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before bpmconfigurator_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to bpmconfigurator_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help bpmconfigurator
+
+% Last Modified by GUIDE v2.5 20-Mar-2007 12:21:43
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @bpmconfigurator_OpeningFcn, ...
+                   'gui_OutputFcn',  @bpmconfigurator_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before bpmconfigurator is made visible.
+function bpmconfigurator_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to bpmconfigurator (see VARARGIN)
+
+% Choose default command line output for bpmconfigurator
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes bpmconfigurator wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+AO = {};
+setappdata(handles.figure1,'AO', AO);
+
+% init oppmenu for commands and attributes
+% Mode is not read by readattribute
+
+switch getsubmachinename
+    case 'Booster_old'
+        set(handles.popupmenu_Attribute,'String',{'NumSamples','Mode', ...
+            'BufferFreezingEnabled','BufferFrozen'});
+        set(handles.popupmenu_Command,'String',{'Init','State', ...
+            'DisableBufferFreezing', 'EnableBufferFreezing', 'UnFreezeBuffer'});
+    case {'Booster', 'StorageRing', 'LT2'}
+        set(handles.popupmenu_Attribute,'String',{'AGCEnabled', 'DDBufferSize','Gain','DDTriggerCounter', ...
+            'DDBufferFreezingEnabled','DDBufferFrozen', 'DDEnabled','SAEnabled','Switches'});
+        set(handles.popupmenu_Command,'String',{'Init','State', 'Status', ...
+            'DisableDD', 'DisableSA','EnableDDBufferFreezing', 'UnFreezeDDBuffer', ...
+            'DisableDDBufferFreezing', 'EnableDD', 'EnableSA', 'SetTimeOnNextTrigger'});
+        tablist = (0:-1:-60)';
+        set(handles.popupmenu_Gain,'String', num2str(tablist));
+        handles.groupID = tango_group_create('BPM'); 
+        tango_group_add(handles.groupID,family2tangodev('BPMx')');
+    otherwise
+        error('Wrong SubMachine %s', getsubmachinename);
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = bpmconfigurator_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on selection change in popupmenu_Command.
+function popupmenu_Command_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_Command contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_Command
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_Command_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_Apply.
+function pushbutton_Apply_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Apply (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+answer = questdlg('Do you want to apply change ?','Confirmation dialog box');
+
+% get selected bpm
+iSelected = get(handles.listbox_Bpm,'Value');
+
+AO        = getappdata(handles.figure1,'AO');
+% Status one devices
+valid  = find(AO.Status);
+valid = intersect(iSelected,valid);
+
+if isempty(valid)
+    disp('Non BPM selected or status 0');
+    return;
+end
+
+
+valS = repmat('NaN',size(AO.DeviceName));
+val = cellstr(valS);
+
+switch answer
+    case 'Yes'
+        %get selected command
+        icmd = get(handles.popupmenu_Command,'Value');
+        cmdlist = get(handles.popupmenu_Command,'String');
+        command = cmdlist{icmd};
+        switch command
+            case 'State'
+                set(handles.listbox_Attribute,'String',val);
+                for k=1:length(valid),
+                    val0 = tango_command_inout2(AO.DeviceName{valid(k)},command);
+                    val{valid(k)} = val0;
+                end
+                set(handles.listbox_Attribute,'String',val);
+            otherwise % not output command
+                for k=1:length(valid),
+                    tango_command_inout2(AO.DeviceName{valid(k)},command);
+                end
+        end
+    case {'No','Cancel'}
+        return;
+    otherwise
+        warning('Wrong answer')
+end
+
+
+function edit_Attribute_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Attribute as text
+%        str2double(get(hObject,'String')) returns contents of edit_Attribute as a double
+
+answer = questdlg('Do you want to apply change ?','Confirmation dialog box');
+iSelected = get(handles.listbox_Bpm,'Value');
+
+AO     = getappdata(handles.figure1,'AO');
+% Status one devices
+valid  = find(AO.Status);
+
+valid = intersect(iSelected,valid);
+
+if isempty(valid)
+    disp('Non BPM selected or status 0');
+    return;
+end
+
+switch answer
+    case 'Yes'
+
+        % Get the new value
+        value = get(hObject,'String');
+        if iscell(value)
+            value = cellstr(value);
+        end
+                
+        iAttribute = get(handles.popupmenu_Attribute,'Value');
+        attribute = get(handles.popupmenu_Attribute,'String');
+
+        if iAttribute == 1 || iAttribute == 2 || iAttribute == 3 || iAttribute == 6  || iAttribute == 7 
+            value = str2double(value);
+        end
+        value = repmat(value,size(valid'));
+        
+        % Test on variable type
+        switch attribute{iAttribute}
+            case {'NumSamples','DDBufferSize'}
+                type = 'int32';
+            case 'Switches'
+                type = 'int16';
+            case 'Mode'
+                type = 'String';
+            case  {'DDEnabled','SAEnabled','AGCEnabled'}
+                type = 'uint8';
+            otherwise
+                type = 'double';
+        end         
+        
+        disp([mfilename ': Processing ...']);
+%         if (get(handles.checkbox_All,'Value') == 0)
+             %% Get selected elements
+             
+            writeattribute(strcat(AO.DeviceName(valid), ...
+                '/',attribute(iAttribute)), value,type);
+%         else % All the same
+%             writeattribute(strcat(AO.DeviceName(valid), ...
+%                 '/',attribute(iAttribute)), value,type)
+%         end
+        disp([mfilename ': Done ']);
+        % refresh display
+        pushbutton_Refresh_Callback(handles.pushbutton_Refresh,eventdata, handles);
+
+    case {'No','Cancel'}
+        return;
+    otherwise
+        warning('Wrong answer')
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Attribute_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_Refresh.
+function pushbutton_Refresh_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_Refresh (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% refresh ALL
+iBpm = get(handles.listbox_Bpm,'Value');
+iAttribute = get(handles.popupmenu_Attribute,'Value');
+attribute = get(handles.popupmenu_Attribute,'String');
+
+AO = getappdata(handles.figure1,'AO');
+
+valid  = find(AO.Status);
+val = ones(size(AO.DeviceName))*NaN';
+valS = repmat('NaN',size(AO.DeviceName));
+val0 = readattribute(strcat(AO.DeviceName(valid),'/',char(attribute(iAttribute))));
+
+if iscellstr(val0)
+    val = cellstr(valS);
+    for k=1:length(valid)
+        val{valid(k)} = val0{k};
+    end
+else
+    val(valid) = val0;
+end
+
+% unpdate listbox
+set(handles.listbox_Attribute,'String',val);
+% update editbox 
+set(handles.edit_Attribute,'String',val(1));
+set(handles.listbox_Attribute,'Value',1);
+set(handles.listbox_Bpm,'Value',1);
+% uncheckk buttons
+set(handles.checkbox_All,'Value', 0);
+set(handles.checkbox_None,'Value', 0);
+
+% --- Executes on selection change in popupmenu_Attribute.
+function popupmenu_Attribute_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_Attribute contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_Attribute
+
+% Force a refresh
+bpmconfigurator('pushbutton_Refresh_Callback',hObject, eventdata, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_Attribute_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in checkbox_All.
+function checkbox_All_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_All (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_All
+
+val = get(handles.listbox_Bpm,'String');
+
+if get(hObject,'Value') == 1
+    set(handles.checkbox_None,'Value',0);
+    set(handles.listbox_Bpm,'Value',1:length(val));
+    set(handles.listbox_Attribute,'Value',1:length(val));
+    set(handles.listbox_Bpm,'listboxtop',1);
+    set(handles.listbox_Attribute,'listboxtop',1);
+end
+
+% --- Executes on button press in checkbox_None.
+function checkbox_None_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_None (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_None
+
+if get(hObject,'Value') == 1
+    set(handles.checkbox_All,'Value',0);
+    set(handles.listbox_Bpm,'Value',1);
+    set(handles.listbox_Attribute,'Value',1);
+end
+
+
+% --- Executes on selection change in listbox_Bpm.
+function listbox_Bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_Bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_Bpm contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_Bpm
+
+idx = get(hObject,'Value');
+set(handles.listbox_Attribute,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+
+set(handles.checkbox_All,'Value',0);
+set(handles.checkbox_None,'Value',0);
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox_Bpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_Bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in listbox_Attribute.
+function listbox_Attribute_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_Attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_Attribute contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_Attribute
+contents = get(hObject,'String');
+idx = get(hObject,'Value');
+set(handles.listbox_Bpm,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.checkbox_All,'Value',0);
+set(handles.checkbox_None,'Value',0);
+
+% Selected only first element
+% If all elements are numeric, return a char array and not a cell!
+if ischar(contents)
+    contents = cellstr(contents);
+end
+set(handles.edit_Attribute,'String',contents{idx(1)});
+
+% --- Executes during object creation, after setting all properties.
+function listbox_Attribute_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_Attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --------------------------------------------------------------------
+function uimenuBooster_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenuBooster (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+AD = getad;
+
+if isempty(AD) || ~strcmpi(AD.SubMachine,'Booster')
+    setpathsoleil('Booster');
+end
+
+init_uimenu(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function uimenuAnneau_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenuAnneau (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+AD = getad;
+
+if isempty(AD) || ~strcmpi(AD.SubMachine,'StorageRing')
+    setpathsoleil('StorageRing');
+end
+
+init_uimenu(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function Untitled_1_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+function handles = init_uimenu(hObject, eventdata, handles)
+
+AO = getfamilydata('BPMx');
+setappdata(handles.figure1,'AO', AO);
+
+%% Checked box
+all = findobj(get(hObject,'Parent'),'Type','UImenu');
+set(all, 'Checked', 'Off');
+set(hObject, 'Checked', 'On');
+
+%% Initialize popupmenu w/ BPM
+listbpm = AO.DeviceName;
+set(handles.listbox_Bpm,'String',listbpm);
+
+devlist = get(handles.listbox_Bpm,'String');
+val = readattribute([devlist{1},'/', 'SAEnabled']);
+ii = get(handles.uipanel_mode,'Children');
+if val == 1
+    set(handles.uipanel_mode,'SelectedObject', ii(2));
+else
+    set(handles.uipanel_mode,'SelectedObject', ii(1));
+end
+val = readattribute([devlist{1},'/', 'AGCEnabled']);
+set(handles.radiobutton_AGC,'Value', val);
+%cmdlist = get(handles.popupmenu_Command,'String');
+
+
+% --------------------------------------------------------------------
+function uimenuLT2_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenuLT2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+AD = getad;
+
+if isempty(AD) || ~strcmpi(AD.SubMachine,'LT2')
+    setpathsoleil('LT2');
+end
+
+init_uimenu(hObject, eventdata, handles);
+
+
+% --- Executes on selection change in popupmenu_Gain.
+function popupmenu_Gain_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Gain (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_Gain contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_Gain
+
+contents = get(hObject,'String');
+att = str2double(contents(get(hObject,'Value'),:));
+tango_group_write_attribute(handles.groupID,'Gain',0,att);
+pause(1);
+pushbutton_Refresh_Callback(handles.pushbutton_Refresh,eventdata, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_Gain_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_Gain (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in checkbox_TbyTmode.
+function checkbox_TbyTmode_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_TbyTmode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_TbyTmode
+
+value = get(hObject,'Value');
+if value == 0 % deactivation of SA mode
+    tango_group_write_attribute(handles.groupID,'DDEnabled',0, uint8(0));
+else % activation of SA mode
+    tango_group_write_attribute(handles.groupID,'DDEnabled',0, uint8(1));
+end
+pause(1);
+pushbutton_Refresh_Callback(handles.pushbutton_Refresh,eventdata, handles);
+
+% --- Executes on button press in checkbox_SAmode.
+function checkbox_SAmode_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_SAmode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_SAmode
+
+value = get(hObject,'Value');
+if value == 0 % deactivation of SA mode
+    tango_group_write_attribute(handles.groupID,'SAEnabled',0, uint8(0));
+    %% deactivate switching Switches attribute 255 to 3
+    tango_group_write_attribute(handles.groupID,'Switches',0, 3);
+else % activation of SA mode
+    tango_group_write_attribute(handles.groupID,'SAEnabled',0, uint8(1));
+    %% activate switching Digital Signal Conditioning
+    tango_group_write_attribute(handles.groupID,'DSCEnabled',0, uint8(1));
+end
+pause(1);
+pushbutton_Refresh_Callback(handles.pushbutton_Refresh,eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to uipanel_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+switch get(hObject,'Tag')   % Get Tag of selected object
+    case 'radiobutton1' % SA mode
+        % Active switching mecanisme (work around for now because of Device
+        % bugs)
+        tango_group_write_attribute(handles.groupID,'Switches',0,int16(255));
+        tango_group_write_attribute(handles.groupID,'DSCEnabled',0,uint8(1));
+        pause(1);
+        pushbutton_Refresh_Callback(handles.pushbutton_Refresh,eventdata, handles);
+    case 'radiobutton2'
+        % Deactive switching mecanisme (work around for now because of Device
+        % bugs)
+        tango_group_write_attribute(handles.groupID,'Switches',0,int16(3));
+        pause(1);
+        pushbutton_Refresh_Callback(handles.pushbutton_Refresh,eventdata, handles);
+    % Continue with more cases as necessary.
+end
+
+
+% --- Executes on button press in radiobutton_AGC.
+function radiobutton_AGC_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton_AGC (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton_AGC
+
+value = get(hObject,'Value');
+if value == 1
+    tango_group_write_attribute(handles.groupID,'AGCEnabled',0,uint8(1));
+    pause(1);
+    pushbutton_Refresh_Callback(handles.pushbutton_Refresh,eventdata, handles);
+else
+    tango_group_write_attribute(handles.groupID,'AGCEnabled',0,uint8(0));
+    pause(1);
+    pushbutton_Refresh_Callback(handles.pushbutton_Refresh,eventdata, handles);
+end
+
+
+% --- Executes on button press in pushbutton_initALL.
+function pushbutton_initALL_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_initALL (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+commandName = 'Init';
+tango_group_command_inout2(handles.groupID,commandName,0,0);
+pause(1);
+
Index: /trunk/machine/SOLEIL/common/cap.m
===================================================================
--- /trunk/machine/SOLEIL/common/cap.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cap.m	(revision 17)
@@ -0,0 +1,20 @@
+function cap    
+%CAP - Clears application data 
+%
+% Written by Gregory J. Pormann
+
+setappdata(0,'AcceleratorData', []);
+setappdata(0,'AcceleratorObjects',[]);
+
+% To really clear it
+%rmappdata(0, 'AcceleratorData');
+%rmappdata(0, 'AcceleratorObjects');
+
+
+% % If you want to clear all of appdata for the command window
+% VarNameStuct = getappdata(0);
+% VarNameCell = fieldnames(VarNameStuct);
+% 
+% for i = 1:length(VarNameCell)
+%     rmappdata(0, VarNameCell{i});
+% end
Index: /trunk/machine/SOLEIL/common/changes/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/common/changes/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/common/changes/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+*.*
Index: /trunk/machine/SOLEIL/common/configurations/configgui.m
===================================================================
--- /trunk/machine/SOLEIL/common/configurations/configgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/configurations/configgui.m	(revision 17)
@@ -0,0 +1,1315 @@
+function varargout = configgui(action, varargin)
+% CONFIGGUI - Generates gui for configuration control
+%  to launch:  >>configgui       (no input argument)
+
+%
+% Written by Jeff Corbett
+% Modified by Laurent S. Nadolski
+% March 27, 2005 - Merge with LT1 programme
+% September 2005 - Add Booster programme
+% April 2006 - Add LT2
+% September 2009 - Add Quads for nanoscopium
+
+h = findobj(0,'Tag','cnffig');
+if ~isempty(h) cnfdata=getappdata(h,'configguidata'); end
+
+%===========================
+%   DRAW MAIN GUI (nargin=0)
+%===========================
+if nargin == 0
+    
+    if isempty(getao)
+        disp('Warning: Load ring AcceleratorObjects first');
+        return
+    else
+        Machine = getfamilydata('SubMachine');
+        switch Machine
+            case {'StorageRing', 'LT1', 'LT2', 'Booster'}
+                %%
+            otherwise
+                disp('Warning: Machine not recognized!');
+                return
+        end
+    end
+    
+    %Clear previous configuration control gui
+    if ~isempty(h) delete(h); end
+    
+    %set defaults
+    cnfdata.field='setpoint';
+    cnfdata.SetpointData=[];
+    cnfdata.MonitorData=[];
+    
+    % generate main figure
+    cnfdata.handles.figure=configgui('CNFFig',Machine);
+    setappdata(cnfdata.handles.figure,'configguidata',cnfdata);
+    
+    configgui('UIControls',Machine);
+    
+    return
+end
+
+switch action
+    %==========================================================
+    case 'CNFFig'                                       %CNFFig
+        %==========================================================
+        %figure initialization
+        
+        [screen_wide, screen_high]=screensizecm;
+        
+        fig_start = [0.13*screen_wide 0.16*screen_high];
+        
+        Machine = varargin{1};
+        
+        switch Machine
+            case {'LT1', 'Booster', 'LT2'}
+                fig_size = [0.45*screen_wide 0.5*screen_high];
+            case 'StorageRing'
+                fig_size = [0.6*screen_wide 0.5*screen_high];
+            otherwise
+                error(['Wrong Machine: ' Machine]);
+        end
+        
+        h = figure('Visible','off',...
+            'units','centimeters','Resize','off',...
+            'tag','cnffig',...
+            'NumberTitle','off',...
+            'Doublebuffer','on',...
+            'Name',[Machine ': Setpoint file manager (Fichiers de consignes)'],...
+            'PaperPositionMode','Auto'); %, 'IntegerHandle','off');
+        set(h,'MenuBar','None');
+        set(h,'Position',[fig_start fig_size],'Visible','on');
+        
+        varargout{1}=h;
+        
+        %==========================================================
+    case 'UIControls'                           %  UIControls
+        %==========================================================
+        %UIControls - generate UIControls in gui
+        
+        Machine = varargin{1};
+        
+        switch Machine
+            case {'LT1', 'LT2'}
+                %UIControls - generate UIControls in gui
+                [screen_wide, screen_high]=screensizecm;
+                x0=0.01*screen_wide ; dx=0.04*screen_wide; y0=0.48*screen_high; dy=0.04*screen_high; dely=0.03*screen_high;
+                
+                col1_families={'BEND'; 'QP'; 'CH' ; 'CV'};
+                
+                families=col1_families(:);
+                cnfdata.families=families;
+                
+                %check boxes
+                for k=1:length(col1_families)
+                    cnfdata.handles.([col1_families{k} 'chk'])=uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                        'ToolTipString','Check to include in configuration load',...
+                        'Position',[x0+0.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],'HorizontalAlignment','center','String',col1_families{k},...
+                        'callback','configgui(''CheckValid'')');
+                    cnfdata.handles.([col1_families{k} 'flag'])=uicontrol('Style','text','units', 'centimeters', ...
+                        'Position',[x0+0.22*dx,y0-(k-0.51)*dely,dx/5,dy/4],'HorizontalAlignment','center','String',' ','BackGroundColor','r','Userdata',0);
+                end
+                
+                
+                %select all
+                x1 = 5.5;
+                
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Select all families to include in configuration load',...
+                    'Callback','configgui(''SelectAll'')',...
+                    'Position',[x0+x1*dx,y0-1*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Select All');
+                
+                %select none
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Select no families to include in configuration load',...
+                    'Callback','configgui(''SelectNone'')',...
+                    'Position',[x0+x1*dx,y0-2*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Select None');
+                
+                %display partial configuration data
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Print configuration data to screen',...
+                    'Callback','configgui(''ShowMainConfiguration'')',...
+                    'Position',[x0+x1*dx,y0-3*dely,3.5*dx,dy/2],'HorizontalAlignment','center','String','Display Main Configuration');
+                
+                %display full configuration
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Print configuration data to screen',...
+                    'Callback','configgui(''ShowConfiguration'')',...
+                    'Position',[x0+x1*dx,y0-4*dely,3.5*dx,dy/2],'HorizontalAlignment','center','String','Display Full Configuration');
+                
+                %Cycle magnet when applying to machine
+                setappdata(gcf,'cycling',0); % checkbox not checked
+                uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Cycle magnet when applying to machine',...
+                    'Callback','setappdata(gcf,''cycling'',get(gcbo,''Value''));',...
+                    'Position',[x0+x1*dx,y0-5.5*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Cycling');
+                
+                %list box to display output dialog
+                ts = ['Program Start-Up: ' datestr(now,0)];
+                cnfdata.handles.listbox=uicontrol('Style','list','Units','centimeters','Position',[x0+0.5*dx y0-15.8*dely 10*dx 2*dy],'String',{ts});
+                
+                %configuration display
+                cnfdata.handles.configname=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+0.5*dx y0-13*dely 8*dx dy/2],'HorizontalAlignment','left','String',' ');
+                
+                %Get Configuration
+                x1 = 0.5; x2 = x1 + 1.5;
+                uicontrol('Style','text','units', 'centimeters','FontWeight','demi', ...
+                    'Position',[x0+x1*dx,y0-7*dely,3.5*dx,dy/2],'HorizontalAlignment','left',...
+                    'String','Get Configuration from: ');
+                %machine
+                cnfdata.handles.GetMachine=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Machine','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Machine',...
+                    'Callback','configgui(''GetMachineConfig'')');
+                cnfdata.handles.GetMachineTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %desired
+                cnfdata.handles.GetDesired=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Desired Setpoints ','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Desired',...
+                    'Callback','configgui(''GetDesiredConfig'')');
+                cnfdata.handles.GetDesiredTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %file
+                cnfdata.handles.GetFile=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Read configuration from file','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','File',...
+                    'Callback','configgui(''GetFileConfig'')');
+                cnfdata.handles.GetFileTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %golden
+                cnfdata.handles.GetGolden=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Read configuration from Golden','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Golden',...
+                    'Callback','configgui(''GetGoldenConfig'')');
+                cnfdata.handles.GetGoldenTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %simulator
+                cnfdata.handles.GetSimulator=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Simulator','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Simulator',...
+                    'Callback','configgui(''GetSimulatorConfig'')');
+                cnfdata.handles.GetSimulatorTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %workspace
+                cnfdata.handles.GetWorkspace=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from WorkSpace','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Workspace',...
+                    'Callback','configgui(''GetWorkspaceConfig'')');
+                cnfdata.handles.GetWorkspaceTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %Set Configuration
+                x1 = 5.5; x2= x1+1.5;
+                uicontrol('Style','text','units', 'centimeters','FontWeight','demi', ...
+                    'Position',[x0+x1*dx,y0-7*dely,3*dx,dy/2],'HorizontalAlignment','left','String','Set Configuration to: ');
+                %machine
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Machine (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Machine',...
+                    'Callback','configgui(''SetMachineConfig'')');
+                cnfdata.handles.LoadMachineTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %desired setpoints
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Desired Setpoints (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Desired',...
+                    'Callback','configgui(''SetDesiredConfig'')');
+                cnfdata.handles.LoadDesiredTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %file
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Write configuration to file (all families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','File',...
+                    'Callback','configgui(''SetFileConfig'')');
+                cnfdata.handles.LoadFileTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %golden
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Write configuration to Golden (all families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Golden',...
+                    'Callback','configgui(''SetGoldenConfig'')');
+                cnfdata.handles.LoadGoldenTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %simulator
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Simulator (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Simulator',...
+                    'Callback','configgui(''SetSimulatorConfig'')');
+                cnfdata.handles.LoadSimulatorTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %workspace
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Workspace (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Workspace',...
+                    'Callback','configgui(''SetWorkspaceConfig'')');
+                cnfdata.handles.LoadWorkspaceTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+            case 'Booster'
+                %% Booster
+                
+                %UIControls - generate UIControls in gui
+                [screen_wide, screen_high]=screensizecm;
+                x0=0.01*screen_wide ; dx=0.04*screen_wide; y0=0.48*screen_high; dy=0.04*screen_high; dely=0.03*screen_high;
+                
+                col1_families={'BEND'; 'QF'; 'QD'; 'SF'; 'SD'};
+                col2_families={'HCOR' ; 'VCOR'; 'K_Inj'; 'SEP_Inj'};
+                
+                families=[col1_families(:); col2_families];
+                cnfdata.families=families;
+                
+                %check boxes
+                for k=1:length(col1_families)
+                    cnfdata.handles.([col1_families{k} 'chk'])=uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                        'ToolTipString','Check to include in configuration load',...
+                        'Position',[x0+0.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],'HorizontalAlignment','center','String',col1_families{k},...
+                        'callback','configgui(''CheckValid'')');
+                    cnfdata.handles.([col1_families{k} 'flag'])=uicontrol('Style','text','units', 'centimeters', ...
+                        'Position',[x0+0.22*dx,y0-(k-0.51)*dely,dx/5,dy/4],'HorizontalAlignment','center','String',' ','BackGroundColor','r','Userdata',0);
+                end
+                
+                for k=1:length(col2_families)
+                    cnfdata.handles.([col2_families{k} 'chk'])=uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                        'ToolTipString','Check to include in configuration load',...
+                        'Position',[x0+3.0*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],'HorizontalAlignment','center','String',col2_families{k},...
+                        'callback','configgui(''CheckValid'')');
+                    cnfdata.handles.([col2_families{k} 'flag'])=uicontrol('Style','text','units', 'centimeters', ...
+                        'Position',[x0+2.7*dx,y0-(k-0.51)*dely,dx/5,dy/4],'HorizontalAlignment','center','String',' ','BackGroundColor','r','Userdata',0);
+                end
+                %select all
+                x1 = 5.5;
+                
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Select all families to include in configuration load',...
+                    'Callback','configgui(''SelectAll'')',...
+                    'Position',[x0+x1*dx,y0-1*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Select All');
+                
+                %select none
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Select no families to include in configuration load',...
+                    'Callback','configgui(''SelectNone'')',...
+                    'Position',[x0+x1*dx,y0-2*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Select None');
+                
+                %display partial configuration data
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Print configuration data to screen',...
+                    'Callback','configgui(''ShowMainConfiguration'')',...
+                    'Position',[x0+x1*dx,y0-3*dely,3.5*dx,dy/2],'HorizontalAlignment','center','String','Display Main Configuration');
+                
+                %display full configuration
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Print configuration data to screen',...
+                    'Callback','configgui(''ShowConfiguration'')',...
+                    'Position',[x0+x1*dx,y0-4*dely,3.5*dx,dy/2],'HorizontalAlignment','center','String','Display Full Configuration');
+                
+                %Cycle magnet when applying to machine
+                setappdata(gcf,'cycling',0); % checkbox not checked
+                uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Cycle magnet when applying to machine',...
+                    'Callback','setappdata(gcf,''cycling'',get(gcbo,''Value''));',...
+                    'Position',[x0+x1*dx,y0-5.5*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Cycling');
+                
+                %list box to display output dialog
+                ts = ['Program Start-Up: ' datestr(now,0)];
+                cnfdata.handles.listbox=uicontrol('Style','list','Units','centimeters','Position',[x0+0.5*dx y0-15.8*dely 10*dx 2*dy],'String',{ts});
+                
+                %configuration display
+                cnfdata.handles.configname=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+0.5*dx y0-13*dely 8*dx dy/2],'HorizontalAlignment','left','String',' ');
+                
+                %Get Configuration
+                x1 = 0.5; x2 = x1 + 1.5;
+                uicontrol('Style','text','units', 'centimeters','FontWeight','demi', ...
+                    'Position',[x0+x1*dx,y0-7*dely,3.5*dx,dy/2],'HorizontalAlignment','left',...
+                    'String','Get Configuration from: ');
+                %machine
+                cnfdata.handles.GetMachine=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Machine','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Machine',...
+                    'Callback','configgui(''GetMachineConfig'')');
+                cnfdata.handles.GetMachineTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %desired
+                cnfdata.handles.GetDesired=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Desired Setpoints ','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Desired',...
+                    'Callback','configgui(''GetDesiredConfig'')');
+                cnfdata.handles.GetDesiredTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %file
+                cnfdata.handles.GetFile=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Read configuration from file','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','File',...
+                    'Callback','configgui(''GetFileConfig'')');
+                cnfdata.handles.GetFileTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %golden
+                cnfdata.handles.GetGolden=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Read configuration from Golden','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Golden',...
+                    'Callback','configgui(''GetGoldenConfig'')');
+                cnfdata.handles.GetGoldenTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %simulator
+                cnfdata.handles.GetSimulator=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Simulator','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Simulator',...
+                    'Callback','configgui(''GetSimulatorConfig'')');
+                cnfdata.handles.GetSimulatorTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %workspace
+                cnfdata.handles.GetWorkspace=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from WorkSpace','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Workspace',...
+                    'Callback','configgui(''GetWorkspaceConfig'')');
+                cnfdata.handles.GetWorkspaceTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %Set Configuration
+                x1 = 5.5; x2= x1+1.5;
+                cnfdata.handles.SetFile= uicontrol('Style','text','units', 'centimeters','FontWeight','demi', ...
+                    'Position',[x0+x1*dx,y0-7*dely,3*dx,dy/2],'HorizontalAlignment','left','String','Set Configuration to: ');
+                %machine
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Machine (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Machine',...
+                    'Callback','configgui(''SetMachineConfig'')');
+                cnfdata.handles.LoadMachineTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %desired setpoints
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Desired Setpoints (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Desired',...
+                    'Callback','configgui(''SetDesiredConfig'')');
+                cnfdata.handles.LoadDesiredTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %file
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Write configuration to file (all families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','File',...
+                    'Callback','configgui(''SetFileConfig'')');
+                cnfdata.handles.LoadFileTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %golden
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Write configuration to Golden (all families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Golden',...
+                    'Callback','configgui(''SetGoldenConfig'')');
+                cnfdata.handles.LoadGoldenTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %simulator
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Simulator (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Simulator',...
+                    'Callback','configgui(''SetSimulatorConfig'')');
+                cnfdata.handles.LoadSimulatorTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %workspace
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Workspace (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Workspace',...
+                    'Callback','configgui(''SetWorkspaceConfig'')');
+                cnfdata.handles.LoadWorkspaceTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                
+            case 'StorageRing'
+                
+                [screen_wide, screen_high]=screensizecm;
+                x0=0.01*screen_wide ; dx=0.04*screen_wide; y0=0.48*screen_high; dy=0.04*screen_high; dely=0.03*screen_high;
+                
+                col1_families={'BEND'; 'HCOR' ; 'VCOR'; 'QT'};
+                col2_families={'Q1'; 'Q2'; 'Q3'; 'Q4'; 'Q5'; 'Q6'};
+                col3_families={'Q7'; 'Q8'; 'Q9'; 'Q10'; 'Q11'; 'Q12'};
+                col4_families={'S1'; 'S2'; 'S3'; 'S4'; 'S5'; 'S6'};
+                col5_families={'S7'; 'S8'; 'S9'; 'S10'; 'S11'; 'S12'};
+                
+                families=[col1_families(:); col2_families(:); col3_families(:) ; col4_families(:) ; col5_families(:)];
+                cnfdata.families=families;
+                
+                %check boxes
+                for k=1:length(col1_families)
+                    cnfdata.handles.([col1_families{k} 'chk'])=uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                        'ToolTipString','Check to include in configuration load',...
+                        'Position',[x0+0.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],'HorizontalAlignment','center','String',col1_families{k},...
+                        'callback','configgui(''CheckValid'')');
+                    cnfdata.handles.([col1_families{k} 'flag'])=uicontrol('Style','text','units', 'centimeters', ...
+                        'Position',[x0+0.22*dx,y0-(k-0.51)*dely,dx/5,dy/4],'HorizontalAlignment','center','String',' ','BackGroundColor','r','Userdata',0);
+                    
+                end
+                
+                for k=1:length(col2_families),
+                    cnfdata.handles.([col2_families{k} 'chk'])=uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                        'ToolTipString','Check to include in configuration load',...
+                        'Position',[x0+3.0*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],'HorizontalAlignment','center','String',col2_families{k},...
+                        'callback','configgui(''CheckValid'')');
+                    cnfdata.handles.([col2_families{k} 'flag'])=uicontrol('Style','text','units', 'centimeters', ...
+                        'Position',[x0+2.7*dx,y0-(k-0.51)*dely,dx/5,dy/4],'HorizontalAlignment','center','String',' ','BackGroundColor','r','Userdata',0);
+                end
+                
+                for k=1:length(col3_families),
+                    cnfdata.handles.([col3_families{k} 'chk'])=uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                        'ToolTipString','Check to include in configuration load',...
+                        'Position',[x0+5.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],'HorizontalAlignment','center','String',col3_families{k},...
+                        'callback','configgui(''CheckValid'')');
+                    cnfdata.handles.([col3_families{k} 'flag'])=uicontrol('Style','text','units', 'centimeters', ...
+                        'Position',[x0+5.2*dx,y0-(k-0.51)*dely,dx/5,dy/4],'HorizontalAlignment','center','String',' ','BackGroundColor','r','Userdata',0);
+                end
+                
+                for k=1:length(col4_families),
+                    cnfdata.handles.([col4_families{k} 'chk'])=uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                        'ToolTipString','Check to include in configuration load',...
+                        'Position',[x0+8.0*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],'HorizontalAlignment','center','String',col4_families{k},...
+                        'callback','configgui(''CheckValid'')');
+                    cnfdata.handles.([col4_families{k} 'flag'])=uicontrol('Style','text','units', 'centimeters', ...
+                        'Position',[x0+7.7*dx,y0-(k-0.51)*dely,dx/5,dy/4],'HorizontalAlignment','center','String',' ','BackGroundColor','r','Userdata',0);
+                end
+                
+                for k=1:length(col5_families),
+                    cnfdata.handles.([col5_families{k} 'chk'])=uicontrol('Style','checkbox','units', 'centimeters','FontWeight','demi', ...
+                        'ToolTipString','Check to include in configuration load',...
+                        'Position',[x0+10.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],'HorizontalAlignment','center','String',col5_families{k},...
+                        'callback','configgui(''CheckValid'')');
+                    cnfdata.handles.([col5_families{k} 'flag'])=uicontrol('Style','text','units', 'centimeters', ...
+                        'Position',[x0+10.2*dx,y0-(k-0.51)*dely,dx/5,dy/4],'HorizontalAlignment','center','String',' ','BackGroundColor','r','Userdata',0);
+                end
+                
+                
+                
+                him = uicontrol('style','pushbutton', 'Units', 'centimeter', 'Position', [x0+11.5*dx,y0-15*dely,2.5*dx,1.5*dy]);
+                a = imread('soleilquadri_small.jpg'); % set background to white
+                set(him,'cdata',a(1:2:end,1:2:end,:)) % make smaller image
+                
+                %select all
+                x1 = 10.5;
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Select all families to include in configuration load',...
+                    'Callback','configgui(''SelectAll'')',...
+                    'Position',[x0+x1*dx,y0-7*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Select All');
+                
+                %select all quad
+                x1 = 10.5;
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Select all families to include in configuration load',...
+                    'Callback','configgui(''SelectAllQuad'')',...
+                    'Position',[x0+x1*dx + 2.1*dx,y0-7*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Select All Quad');
+                
+                %select all sextu
+                x1 = 10.5;
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Select all families to include in configuration load',...
+                    'Callback','configgui(''SelectAllSextu'')',...
+                    'Position',[x0+x1*dx + 2.1*dx,y0-8.0*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Select All Sextu');
+                
+                %select none
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Select no families to include in configuration load',...
+                    'Callback','configgui(''SelectNone'')',...
+                    'Position',[x0+x1*dx,y0-8.0*dely,2*dx,dy/2],'HorizontalAlignment','center','String','Select None');
+                
+                %display partial configuration data
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Print configuration data to screen',...
+                    'Callback','configgui(''ShowMainConfiguration'')',...
+                    'Position',[x0+x1*dx,y0-9.0*dely,3.5*dx,dy/2],'HorizontalAlignment','center','String','Display Main Configuration');
+                
+                %display full configuration
+                uicontrol('Style','pushbutton','units', 'centimeters','FontWeight','demi', ...
+                    'ToolTipString','Print configuration data to screen',...
+                    'Callback','configgui(''ShowConfiguration'')',...
+                    'Position',[x0+x1*dx,y0-10*dely,3.5*dx,dy/2],'HorizontalAlignment','center','String','Display Full Configuration');
+                
+                %S11 flag
+                %Create the button group.
+                cnfdata.handles.S11button = uibuttongroup('visible','on','units', 'centimeters', 'Position',[x0+x1*dx,y0-12*dely,4*dx,dy], ...
+                    'FontWeight','demi', 'title', 'S11 config panel');
+                % Create three radio buttons in the button group.
+                uicontrol('Style','Radio','String','S11config',...
+                    'units', 'centimeters','FontWeight','demi', ...
+                    'pos',[0,0,2*dx,dy],'parent',cnfdata.handles.S11button,'HandleVisibility','off', 'value', 1);
+                uicontrol('Style','Radio','String','no S11',...
+                    'units', 'centimeters','FontWeight','demi', ...
+                    'pos',[2*dx,0,2*dx,dy],'parent',cnfdata.handles.S11button,'HandleVisibility','off');
+                
+                % Initialize some button group properties.
+                set(cnfdata.handles.S11button,'Visible','on');
+                
+                %list box to display output dialog
+                ts = ['Program Start-Up: ' datestr(now,0)];
+                cnfdata.handles.listbox=uicontrol('Style','list','Units','centimeters','Position',[x0+0.5*dx y0-15.8*dely 10*dx 2*dy],'String',{ts});
+                
+                %configuration display
+                cnfdata.handles.configname=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+0.5*dx y0-13*dely 8*dx dy/2],'HorizontalAlignment','left','String',' ');
+                
+                %Get Configuration
+                x1 = 0.5; x2 = x1 + 1.5;
+                uicontrol('Style','text','units', 'centimeters','FontWeight','demi', ...
+                    'Position',[x0+x1*dx,y0-7*dely,3.5*dx,dy/2],'HorizontalAlignment','left',...
+                    'String','Get Configuration from: ');
+                %machine
+                cnfdata.handles.GetMachine=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Machine','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Machine',...
+                    'Callback','configgui(''GetMachineConfig'')');
+                cnfdata.handles.GetMachineTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %desired
+                cnfdata.handles.GetDesired=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Desired Setpoints (SPEAR 3)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Desired',...
+                    'Callback','configgui(''GetDesiredConfig'')');
+                cnfdata.handles.GetDesiredTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %file
+                cnfdata.handles.GetFile=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Read configuration from file','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','File',...
+                    'Callback','configgui(''GetFileConfig'')');
+                cnfdata.handles.GetFileTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %golden
+                cnfdata.handles.GetGolden=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Read configuration from Golden','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Golden',...
+                    'Callback','configgui(''GetGoldenConfig'')');
+                cnfdata.handles.GetGoldenTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %simulator
+                cnfdata.handles.GetSimulator=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from Simulator','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Simulator',...
+                    'Callback','configgui(''GetSimulatorConfig'')');
+                cnfdata.handles.GetSimulatorTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %workspace
+                cnfdata.handles.GetWorkspace=uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Acquire configuration from WorkSpace','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Workspace',...
+                    'Callback','configgui(''GetWorkspaceConfig'')');
+                cnfdata.handles.GetWorkspaceTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %Set Configuration
+                x1 = 5.5; x2= x1+1.5;
+                cnfdata.handles.SetFile = uicontrol('Style','text','units', 'centimeters','FontWeight','demi', ...
+                    'Position',[x0+x1*dx,y0-7*dely,3*dx,dy/2],'HorizontalAlignment','left','String','Set Configuration to: ');
+                %machine
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Machine (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Machine',...
+                    'Callback','configgui(''SetMachineConfig'')');
+                cnfdata.handles.LoadMachineTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %desired setpoints
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Desired Setpoints (SPEAR 3, only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Desired',...
+                    'Callback','configgui(''SetDesiredConfig'')');
+                cnfdata.handles.LoadDesiredTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %file
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Write configuration to file (all families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','File',...
+                    'Callback','configgui(''SetFileConfig'')');
+                cnfdata.handles.LoadFileTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %golden
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Write configuration to Golden (all families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Golden',...
+                    'Callback','configgui(''SetGoldenConfig'')');
+                cnfdata.handles.LoadGoldenTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                %simulator
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Simulator (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Simulator',...
+                    'Callback','configgui(''SetSimulatorConfig'')');
+                cnfdata.handles.LoadSimulatorTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+                %workspace
+                uicontrol('Style','PushButton','units', 'centimeters', ...
+                    'ToolTipString','Load configuration to Workspace (only selected families)','BackGroundColor',[1 1 1],...
+                    'Position',[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],'HorizontalAlignment','center','String','Workspace',...
+                    'Callback','configgui(''SetWorkspaceConfig'')');
+                cnfdata.handles.LoadWorkspaceTime=uicontrol('Style','text','units', 'centimeters', ...
+                    'Position',[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],'HorizontalAlignment','center','String','');
+                
+            otherwise
+                error('wrong Machine');
+                set(h,'HandleVisibility','off');
+        end
+        setappdata(h,'configguidata',cnfdata);
+        
+        %============================================================
+    %% Checkvalid
+    case 'CheckValid'
+        %============================================================
+        val=get(gcbo,'Value');
+        if val==1
+            family=get(gcbo,'String');
+            if get(cnfdata.handles.([family 'flag']),'BackGroundColor')==[1 0 0];  %red
+                set(gcbo,'Value',0);
+            end
+        end
+    %% GetMachineConfig    
+        %============================================================
+    case 'GetMachineConfig'
+        %============================================================
+        % get configuration from Machine
+        
+        configgui('LBoxWait');
+        cnfdata.SetpointData=[];
+        cnfdata.MonitorData=[];
+        
+        
+        [cnfdata.SetpointData,cnfdata.MonitorData]=getmachineconfig('online');
+        
+        setappdata(h,'configguidata',cnfdata);
+        
+        configgui('ShowActiveFamilies');
+        configgui('ShowLastGet');
+        
+        set(cnfdata.handles.GetMachineTime,'String',datestr(now,0));
+        set(cnfdata.handles.configname,'String', 'Machine Configuration');
+        configgui('LBoxWriteLast',' Get Configuration from Machine ');
+        
+        %============================================================
+    case 'GetDesiredConfig'
+        %============================================================
+        % get configuration from Desired Setpoints (SPEAR 3)
+        
+        configgui('LBoxWait');
+        %get configuration from machine
+        [cnfdata.SetpointData,cnfdata.MonitorData]=getmachineconfig('online');
+        %load Desired values into Data field
+        ao=getao;
+        for k=1:length(cnfdata.families)
+            family=cnfdata.families{k};
+            if isfield(ao.(family),'Desired');
+                cnfdata.SetpointData.(family).Data=getpv(family,'Desired',[]);
+                cnfdata.MonitorData.(family).Data=cnfdata.SetpointData.(family).Data;
+            end
+        end
+        
+        setappdata(h,'configguidata',cnfdata);
+        
+        configgui('ShowActiveFamilies');
+        configgui('ShowLastGet');
+        
+        
+        set(cnfdata.handles.configname,'String', 'Desired Setpoint Configuration');
+        set(cnfdata.handles.GetDesiredTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',' Load Desired Setpoints into Machine Configuration');
+        
+        %============================================================
+    case 'GetFileConfig'
+        %============================================================
+        %load configuration file via browser
+        configgui('LBoxWait');
+        
+        DirSpec   =  getfamilydata('Directory','ConfigData');           %default to Configuration data directory
+        FileName  =  [];                                %no default file
+        [FileName, DirSpec] = uigetfile('*.mat','Select Configuration File',[DirSpec FileName]);
+        FileSpec = fullfile(DirSpec, FileName);
+        
+        msg = [];
+        Machine = getfamilydata('SubMachine');
+        
+        try %% added for nanoscopium S11 new family October 2010
+            cnf=load(FileSpec);          %load configuration from archive
+            if strcmp(Machine, 'StorageRing') && ...
+                strcmp(get(get(cnfdata.handles.S11button,'SelectedObject'),'String'), 'S11config')
+                [cnf newS11Flag] = convertS1toS11(cnf);
+                if newS11Flag
+                    msg = 'S11=S1 added!';
+                end
+            end
+        catch exception
+            disp('Erreur in GetFileConfig')
+            return
+        end
+        
+        cnfdata.SetpointData=[];
+        cnfdata.MonitorData=[];
+        
+        cnfdata.SetpointData=cnf.ConfigSetpoint;
+        cnfdata.MonitorData =cnf.ConfigMonitor;
+        
+        set(cnfdata.handles.configname,'String', ['File Configuration: ' FileName]);
+        %set(cnfdata.handles.GetFile,'TooltipString',FileName);
+        
+        setappdata(h,'configguidata',cnfdata);
+        
+        configgui('ShowActiveFamilies');
+        configgui('ShowLastGet');
+        
+        
+        set(cnfdata.handles.GetFileTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast', [msg ' Get Configuration from File ' FileName]);
+        
+        %============================================================
+    case 'GetGoldenConfig'
+        %============================================================
+        % get configuration from Golden File (PhysData)
+        configgui('LBoxWait');
+        cnfdata.SetpointData=[];
+        cnfdata.MonitorData=[];
+             
+        msg = [];
+        Machine = getfamilydata('SubMachine');
+
+        try %% added for nanoscopium S11 new family October 2010
+            FileName = getfamilydata('OpsData', 'LatticeFile');
+            DirectoryName = getfamilydata('Directory', 'OpsData');        
+            cnf=load([DirectoryName FileName]); %load configuration from archive
+            if strcmp(Machine, 'StorageRing') && ...
+            strcmp(get(get(cnfdata.handles.S11button,'SelectedObject'),'String'), 'S11config')
+                [cnf newS11Flag] = convertS1toS11(cnf);
+                if newS11Flag
+                    msg = 'S11=S1 added!';
+                end
+            end
+        catch exception
+            disp('Erreur in GetGoldenConfig')
+            return
+        end
+                        
+        cnfdata.SetpointData=cnf.ConfigSetpoint;
+        cnfdata.MonitorData =cnf.ConfigMonitor;
+        
+        setappdata(h,'configguidata',cnfdata);
+        
+        configgui('ShowActiveFamilies');
+        configgui('ShowLastGet');
+        
+        
+        set(cnfdata.handles.configname,'String', 'File Configuration: Golden');
+        set(cnfdata.handles.GetGoldenTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',[msg ' Get Golden Configuration ']);
+        
+        %============================================================
+    case 'GetSimulatorConfig'
+        %============================================================
+        % get configuration from Simulator
+        configgui('LBoxWait');
+        cnfdata.SetpointData=[];
+        cnfdata.MonitorData=[];
+        [cnfdata.SetpointData,cnfdata.MonitorData] = getmachineconfig('simulator');
+        
+        setappdata(h,'configguidata',cnfdata);
+        
+        configgui('ShowActiveFamilies');
+        configgui('ShowLastGet');
+        
+        set(cnfdata.handles.configname,'String', 'Simulator Configuration');
+        set(cnfdata.handles.GetSimulatorTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',' Get Configuration from Simulator ');
+        
+        %============================================================
+    case 'GetWorkspaceConfig'
+        %============================================================
+        % get configuration from Workspace
+        configgui('LBoxWait');
+        
+        %load setpoint data
+        evalin('base',['if exist(''SetpointData'');',...
+            'h=findobj(0,''Tag'',''cnffig'');',...
+            'cnfdata=getappdata(h,''configguidata'');',...
+            'cnfdata.SetpointData=SetpointData;',...
+            'setappdata(h,''configguidata'',cnfdata);',...
+            'disp(''   Setpoint configuration found in workspace'');',...
+            'else;',...
+            'disp(''   No Setpoint configuration found in workspace'');',...
+            'end;']);
+        
+        %load monitor data
+        evalin('base',['if exist(''MonitorData'');',...
+            'h=findobj(0,''Tag'',''cnffig'');',...
+            'cnfdata=getappdata(h,''configguidata'');',...
+            'cnfdata.MonitorData=MonitorData;',...
+            'setappdata(h,''configguidata'',cnfdata);',...
+            'disp(''   Monitor configuration found in workspace'');',...
+            'else;',...
+            'disp(''   No Monitor configuration found in workspace'');',...
+            'end;']);
+        
+        
+        configgui('ShowActiveFamilies');
+        configgui('ShowLastGet');
+        
+        set(cnfdata.handles.configname,'String', 'Workspace Configuration');
+        set(cnfdata.handles.GetWorkspaceTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',' Get Configuration from Workspace ');
+        
+        
+        %============================================================
+    case 'ShowLastGet'
+        %============================================================
+        %Turn last 'Get' pushbutton green
+        
+        set(cnfdata.handles.GetMachine,'BackGroundColor',[1 1 1]);
+        set(cnfdata.handles.GetDesired,'BackGroundColor',[1 1 1]);
+        set(cnfdata.handles.GetFile,'BackGroundColor',[1 1 1]);
+        set(cnfdata.handles.GetGolden,'BackGroundColor',[1 1 1]);
+        set(cnfdata.handles.GetSimulator,'BackGroundColor',[1 1 1]);
+        set(cnfdata.handles.GetWorkspace,'BackGroundColor',[1 1 1]);
+        
+        set(gcbo,'BackGroundColor','g');
+        
+        %============================================================
+    case 'SetMachineConfig'
+        %============================================================
+        %Set/Load configuration to machine
+        configgui('LBoxWait');
+        if  strcmpi(cnfdata.field,'setpoint')
+            cnf=cnfdata.SetpointData;
+        elseif  strcmpi(cnfdata.field,'monitor')
+            cnf=cnfdata.MonitorData;
+        end
+        
+        %find which families are active
+        config=[];
+        for k=1:length(cnfdata.families)
+            family=cnfdata.families{k};
+            if get(cnfdata.handles.([family 'chk']),'Value')==1
+                config.(family)=cnf.(family);
+            end
+        end
+        
+        if isempty(config)
+            configgui('LBoxWriteLast',' No families loaded Online ');
+            return
+        end
+        
+        if getappdata(gcf,'cycling')
+            disp('cycling not implemented yet!!!')
+        end
+        setmachineconfig(config,'online');
+        
+        set(cnfdata.handles.LoadMachineTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',' Load Configuration to Machine ');
+        
+        %============================================================
+    case 'SetDesiredConfig'
+        %============================================================
+        %Set configuration to Desired Setpoints (SPEAR 3 application)
+        configgui('LBoxWait');
+        for k=1:length(cnfdata.families)
+            family=cnfdata.families{k};
+            if get(cnfdata.handles.([family 'chk']),'Value')==1
+                if (~strcmpi(family,'HCOR') && ~strcmpi(family,'VCOR') && ...
+                        ~strcmpi(family,'SkewQuad') && ~strcmpi(family,'BEND'))
+                    DeviceList=family2dev(family);
+                    Desired=cnfdata.SetpointData.(family).Data;
+                    setpv(family,'Desired',Desired,DeviceList);
+                end
+            end
+        end
+        
+        set(cnfdata.handles.LoadDesiredTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',' Load Configuration to Desired Setpoints');
+        
+        %============================================================
+    case 'SetFileConfig'
+        %============================================================
+        %Set/Write configuration to file
+        configgui('LBoxWait');
+        % Determine file and directory name
+        FileName = getfamilydata('Default','CNFArchiveFile');
+        DirectoryName = getfamilydata('Directory','ConfigData');
+        FileName = appendtimestamp(FileName, clock);
+        [FileName, DirectoryName] = uiputfile('*.mat','Save Lattice to ...', [DirectoryName FileName]);
+        if FileName == 0
+            fprintf('   File not saved (getmachineconfig)\n');
+            return;
+        end
+        
+        % Save all data in structure to file
+        DirStart = pwd;
+        [DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);
+        ConfigSetpoint=cnfdata.SetpointData;
+        ConfigMonitor=cnfdata.MonitorData;
+        try
+            save(FileName, 'ConfigSetpoint', 'ConfigMonitor');
+        catch
+            cd(DirStart);
+            return
+        end
+        cd(DirStart);
+        
+        %set(cnfdata.handles.SetFile,'TooltipString',FileName);
+        set(cnfdata.handles.LoadFileTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast', [' Write Configuration to File ' FileName]);
+        
+        %============================================================
+    case 'SetGoldenConfig'
+        %============================================================
+        %Set/Write configuration to Golden
+        configgui('LBoxWait');
+        FileName = getfamilydata('OpsData','LatticeFile');
+        DirectoryName = getfamilydata('Directory','OpsData');
+        AnswerString = questdlg(strvcat('Are you sure you want to overwrite the default lattice file?',sprintf('File: %s',[DirectoryName FileName])),'Default Lattice','Yes','No','No');
+        if strcmp(AnswerString,'Yes')
+            [DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);
+            FileName = getfamilydata('OpsData', 'LatticeFile');
+            DirectoryName = getfamilydata('Directory', 'OpsData');
+            ConfigSetpoint=cnfdata.SetpointData;
+            ConfigMonitor=cnfdata.MonitorData;
+            save(FileName, 'ConfigMonitor', 'ConfigSetpoint');
+        else
+            fprintf('   File not saved (getmachineconfig)\n');
+            return;
+        end
+        
+        set(cnfdata.handles.LoadGoldenTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',' Write Configuration to Golden ');
+        
+        %============================================================
+    case 'SetSimulatorConfig'
+        %============================================================
+        %Set/Load configuration to simulator
+        configgui('LBoxWait');
+        %find which families are active
+        families=[];
+        for k=1:length(cnfdata.families)
+            family=cnfdata.families{k};
+            if get(cnfdata.handles.([family 'chk']),'Value')==1
+                families.(['f' num2str(k)])=family;
+            end
+        end
+        
+        if isempty(families)
+            configgui('LBoxWriteLast',' No families loaded to Simulator ');
+            return
+        else
+            families=struct2cell(families);
+        end
+        
+        if  strcmpi(cnfdata.field,'setpoint')
+            config=cnfdata.SetpointData;
+        elseif  strcmpi(cnfdata.field,'monitor')
+            config=cnfdata.MonitorData;
+        end
+        
+        setmachineconfig(families,config,'simulator');
+        
+        set(cnfdata.handles.LoadSimulatorTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',' Load Configuration to Simulator ');
+        
+        %============================================================
+    case 'SetWorkspaceConfig'
+        %============================================================
+        %Set/Load configuration to workspace
+        configgui('LBoxWait');
+        %find which families are active
+        families=[];
+        for k=1:length(cnfdata.families)
+            family=cnfdata.families{k};
+            if get(cnfdata.handles.([family 'chk']),'Value')==1
+                families.(['f' num2str(k)])=family;
+            end
+        end
+        
+        if isempty(families)
+            configgui('LBoxWriteLast',' No families loaded to Workspace ');
+            return
+        end
+        
+        if      isfield(cnfdata,'SetpointData')
+            evalin('base',['h=findobj(0,''Tag'',''cnffig'');',...
+                'cnfdata=getappdata(h,''configguidata'');',...
+                'SetpointData=cnfdata.SetpointData;',...
+                'clear h;', 'clear cnfdata;']);
+            disp('   Setpoint configuration data loaded to workspace as SetpointData');
+        else
+            disp('   No Setpoint data available');
+        end
+        if      isfield(cnfdata,'MonitorData')
+            evalin('base',['h=findobj(0,''Tag'',''cnffig'');',...
+                'cnfdata=getappdata(h,''configguidata'');',...
+                'MonitorData=cnfdata.MonitorData;',...
+                'clear h;', 'clear cnfdata;']);
+            disp('   Monitor configuration data loaded to workspace as MonitorData');
+        else
+            disp('   No Monitor data available');
+        end
+        
+        
+        set(cnfdata.handles.LoadWorkspaceTime,'String',datestr(now,0));
+        configgui('LBoxWriteLast',' Load Configuration to Workspace ');
+        
+        %============================================================
+    case 'SelectAll'
+        %============================================================
+        %select all families for configuration load
+        for k=1:length(cnfdata.families)
+            if get(cnfdata.handles.([cnfdata.families{k} 'flag']),'Userdata') == 1;   %contains valid data
+                set(cnfdata.handles.([cnfdata.families{k} 'chk']),'Value',1);
+            end
+        end
+        
+        %============================================================
+    case 'SelectAllQuad'
+        %============================================================
+        %select all families for configuration load
+        for k = 1:length(cnfdata.families)
+            if ~isempty(regexp(cnfdata.families{k},'Q[0-9]'))
+                if get(cnfdata.handles.([cnfdata.families{k} 'flag']),'Userdata') == 1;   %contains valid data
+                    set(cnfdata.handles.([cnfdata.families{k} 'chk']),'Value',1);
+                end
+            end
+        end
+        
+        %============================================================
+    case 'SelectAllSextu'
+        %============================================================
+        %select all families for configuration load
+        for k=1:length(cnfdata.families)
+            if ~isempty(regexp(cnfdata.families{k},'S[0-9]'))
+                if get(cnfdata.handles.([cnfdata.families{k} 'flag']),'Userdata') == 1;   %contains valid data
+                    set(cnfdata.handles.([cnfdata.families{k} 'chk']),'Value',1);
+                end
+            end
+        end
+        
+        %============================================================
+    case 'SelectNone'
+        %============================================================
+        %select no families for configuration load
+        for k=1:length(cnfdata.families)
+            set(cnfdata.handles.([cnfdata.families{k} 'chk']),'Value',0);
+        end
+        
+        %============================================================
+    case 'ShowActiveFamilies'
+        %============================================================
+        %turn box green for valid families
+        
+        for k=1:length(cnfdata.families)
+            set(cnfdata.handles.([cnfdata.families{k} 'flag']),'BackGroundColor','r','Userdata',0);
+        end
+        
+        if strcmpi(cnfdata.field,'setpoint');
+            if isempty(cnfdata.SetpointData), return; end
+            familynames=fieldnames(cnfdata.SetpointData);
+        elseif strcmpi(cnfdata.field,'monitor');
+            if isempty(cnfdata.MonitorData), return; end
+            familynames=fieldnames(cnfdata.MonitorData);
+        end
+        
+        %indicate valid families
+        for k=1:length(cnfdata.families)
+            for l=1:length(familynames)
+                if strcmpi(cnfdata.families{k},familynames{l})
+                    %disp(familynames{l})
+                    set(cnfdata.handles.([familynames{l} 'flag']),'BackGroundColor','g','Userdata',1);
+                end
+            end
+        end
+        
+        %===========================================================
+    case 'LBoxWriteLast'                          %*** LBoxWriteLast ***
+        %===========================================================
+        %load latest sequence of strings into graphical display listbox
+        comment=varargin{1};
+        ts = datestr(now,0);
+        addstr={[ts  ': ' comment]};
+        str=get(cnfdata.handles.listbox,'String');
+        
+        [ione,itwo]=size(str);
+        if ione>0
+            str=[str(1:end-1); addstr];
+        else
+            str=addstr;
+        end
+        nentry=50;
+        if ione>=nentry                %keep only top entries
+            str=str(ione-nentry+1:ione,1);
+            [ione,itwo]=size(str);
+        end
+        set(cnfdata.handles.listbox,'String',str,'listboxtop',ione);
+        
+        
+        %===========================================================
+    case 'LBoxWait'                          %*** LBoxWait ***
+        %===========================================================
+        %load latest sequence of strings into graphical display listbox
+        
+        addstr={'... Working ...' };
+        str=get(cnfdata.handles.listbox,'String');
+        str=[str; addstr];
+        [ione,itwo]=size(str);
+        nentry=50;
+        if ione>=nentry                %keep only top entries
+            str=str(ione-nentry+1:ione,1);
+            [ione,itwo]=size(str);
+        end
+        set(cnfdata.handles.listbox,'String',str,'listboxtop',ione);
+        sleep(0.01);
+        
+        %===========================================================
+    case 'ShowConfiguration'          %*** ShowConfiguration ***
+        %===========================================================
+        %display setpoint and monitors for families in cnfdata structure
+        
+        families=cnfdata.families;
+        filename = tempname;
+        fid = fopen(filename,'w');
+        
+        for k=1:length(families)
+            Family=families{k};
+            if ~isfield(cnfdata.SetpointData,Family)
+                fprintf('   Warning: family %s not available... \n', Family);
+            else
+                if isempty(cnfdata.SetpointData.(Family).Setpoint.Data)
+                    fprintf('Warning: family %s MML status 0 \n', Family);
+                else
+                    DeviceList     =family2dev(Family);
+                    Field          ='Setpoint';
+                    SetpointPV     =getfamilydata(Family,Field,'TangoNames');
+                    SetpointData   =cnfdata.SetpointData.(Family).(Field).Data;
+                    [iFound, iNotFound, iFoundList1] = findrowindex(family2dev(Family), cnfdata.SetpointData.(Family).(Field).DeviceList);
+                    if ~isempty(iNotFound)
+                        A = getam(Family); A(iFoundList1) = SetpointData; A(iNotFound) = NaN; SetpointData = A;
+                    else
+                        SetpointData = SetpointData(iFound);
+                    end
+                    PhysicsSetpoint=hw2physics(Family,Field,SetpointData);
+                    Field = 'Monitor';
+                    MonitorPV      =getfamilydata(Family,Field,'TangoNames');
+                    MonitorData    =cnfdata.MonitorData.(Family).(Field).Data;
+                    if ~isempty(iNotFound)
+                        A = getam(Family); A(iFoundList1) = MonitorData; A(iNotFound) = NaN; MonitorData = A; 
+                    else
+                        MonitorData = MonitorData(iFound);
+                    end
+                    PhysicsMonitor =hw2physics(Family,'Monitor', MonitorData);
+                    
+                    %display hardware values
+                    fprintf(fid,'%s\n','   Family  DeviceList  HWSetpoint PhysicsSetpoint     HWReadback    PhysicsReadback )');
+                    
+                    for jj=1:size(DeviceList,1)
+                        fprintf(fid,'%8s    [%2d,%d] %14.5f %14.5f %14.5f %14.5f \n',...
+                            Family,DeviceList(jj,1),DeviceList(jj,2),SetpointData(jj),PhysicsSetpoint(jj),...
+                            MonitorData(jj),PhysicsMonitor(jj));
+                    end
+                end
+            end
+        end
+        fclose(fid);
+        
+        if ismac
+            edit(filename);
+        else
+            system(['nedit ', filename, ' &']);  % much faster
+        end
+        
+        %===========================================================
+    case 'ShowMainConfiguration'       %*** ShowMainConfiguration ***
+        %===========================================================
+        %display setpoint and monitors for families in cnfdata structure
+        
+        families=cnfdata.families;
+        
+        filename = tempname;
+        fid = fopen(filename,'w');
+        %display hardware values
+        fprintf(fid,'   Family    HWSetpoint   PhysicsSetpoint \n');
+        for k=1:length(families)
+            Family=families{k};
+            if ~isfield(cnfdata.SetpointData,Family)
+                fprintf('  Warning: family %s not available... \n', Family);
+            elseif isempty(cnfdata.SetpointData.(Family).Setpoint.Data)
+                fprintf('Warning: family %s MML status 0 \n', Family);
+            else
+                DeviceList     =family2dev(Family);
+                Field = 'Setpoint';
+                SetpointPV     =getfamilydata(Family,Field,'TangoNames');
+                SetpointData   =cnfdata.SetpointData.(Family).(Field).Data;
+                [iFound, iNotFound, iFoundList1] = findrowindex(family2dev(Family), cnfdata.SetpointData.(Family).(Field).DeviceList);
+                    if ~isempty(iNotFound)
+                        A = getam(Family); A(iFoundList1) = SetpointData; A(iNotFound) = NaN; SetpointData = A;
+                    else
+                        SetpointData = SetpointData(iFound);
+                    end
+                PhysicsSetpoint=hw2physics(Family,Field,SetpointData);
+                Field = 'Monitor';
+                MonitorPV      =getfamilydata(Family,Field,'TangoNames');
+                MonitorData    =cnfdata.MonitorData.(Family).(Field).Data;
+                if ~isempty(iNotFound)
+                    A = getam(Family); A(iFoundList1) = MonitorData; A(iNotFound) = NaN; MonitorData = A;
+                else
+                    MonitorData = MonitorData(iFound);
+                end
+                PhysicsMonitor =hw2physics(Family,Field, MonitorData);
+                %display hardware values First element if several power
+                %supplies
+                if ~strcmpi(Family,'HCOR') && ~strcmpi(Family,'VCOR') && ~strcmpi(Family,'SkewQuad')
+                    fprintf(fid,'%8s  %14.5e %14.5e\n',Family,SetpointData(1),PhysicsSetpoint(1));
+                end
+            end
+        end
+        
+        fclose(fid);
+        if ismac
+            edit(filename);
+        else
+            system(['nedit ', filename, ' &']);  % much faster
+        end
+        
+    otherwise
+        disp(['Warning: no CASE found in configgui: ' action]);
+        disp(action);
+end  %end switchyard
+
+function [cnf newS11Flag] = convertS1toS11(cnf)
+% convertS1toS11 - If S11 family does not exist in the lattice file S11 get
+% the data of S1
+
+%  INPUTS 
+%  1. cnf - config setting point file
+%  
+%  OUPUTS 
+%  1. cnf - config setting point file
+%  2. newS11Flag - Flag set to 1 if S11=S1 added
+
+%  October 2010 for nanoscopium 2 sextupoles are taken out of S1 family
+%  and define a new S11 family
+%% Written by Laurent S. Nadolski
+
+newS11Flag = 0;
+
+% Check if field does not exist or is empty
+% This means that S11 was not defined when file was registered
+if ~isfield(cnf.ConfigMonitor, 'S11')|| isempty(cnf.ConfigMonitor.S11.Monitor.Data)
+    fprintf('Warning S11 does not exist. Add S11 family to file (S11=S1)\n');
+    cnf.ConfigMonitor.S11 = cnf.ConfigMonitor.S1;
+    cnf.ConfigMonitor.S11.Monitor.FamilyName='S11';
+
+    cnf.ConfigSetpoint.S11 = cnf.ConfigSetpoint.S1;
+    cnf.ConfigSetpoint.S11.Setpoint.FamilyName='S11';
+    newS11Flag = 1;
+end
Index: /trunk/machine/SOLEIL/common/configurations/getlatticename.m
===================================================================
--- /trunk/machine/SOLEIL/common/configurations/getlatticename.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/configurations/getlatticename.m	(revision 17)
@@ -0,0 +1,6 @@
+function latticeName = getlatticename
+% GETLATTICENAME - give the lattice name currently in used in AT
+
+%% Written by Laurent S. Nadolski
+
+latticeName = getfamilydata('ATModel');
Index: /trunk/machine/SOLEIL/common/configurations/gotolaurent.m
===================================================================
--- /trunk/machine/SOLEIL/common/configurations/gotolaurent.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/configurations/gotolaurent.m	(revision 17)
@@ -0,0 +1,11 @@
+function gotolaurent
+% GOTOLAURENT - Short cut to Laurent's Working directory
+
+% Written by Laurent S. Nadolski
+
+
+if ismac
+    cd(fullfile(getenv('HOME'), 'Documents', 'Matlab'))
+else
+    cd(fullfile(getenv('HOME'),'GrpPhysiqueMachine', 'Laurent', 'matlab'))
+end
Index: /trunk/machine/SOLEIL/common/configurations/mml_cc_appli.m
===================================================================
--- /trunk/machine/SOLEIL/common/configurations/mml_cc_appli.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/configurations/mml_cc_appli.m	(revision 17)
@@ -0,0 +1,113 @@
+function mml_cc_appli(ApplicationName)
+%MM_CC_APPLI - Compile a standalone MML/AT application
+%
+%  NOTES:
+%  Each compiled programme is stored in a directory with the date of the day
+%  Then a symbolic link has to be done to point on the new application
+%  A shortcut to the application is done in the mouse menu
+%  Available applications: plotfamily and SOFB
+
+%
+%% Written by Laurent S. Nadolski
+
+ConfigFlag = 0;
+
+if nargin == 0
+    ApplicationName = questdlg('Choose programme to compile or deploy as a standalone application', ...
+        'Compilation dialog box', ...
+        'Plotfamily','SOFB', 'TuneFB', 'default');
+    if isempty(ApplicationName)
+        error('Abort: Unknown answer')
+    end
+end
+
+% save current directory
+CurrentDir = pwd;
+
+% Directory to store application
+DirName = getfamilydata('Directory', 'Standalone');
+
+ApplicationName = lower(ApplicationName);
+
+switch ApplicationName
+    case 'plotfamily'
+        ApplicationName = 'plotfamily';
+    case 'sofb'
+        ApplicationName = 'orbitcontrol';
+    case 'fofb'
+        ApplicationName = 'FOFBguiTango';
+    case 'tunefb'
+        ApplicationName = 'tuneFBgui';
+    otherwise
+        error('Unknown application name %s', ApplicationName); 
+end
+
+% check development directory name
+
+if ~isdir(DirName)
+    fprintf('Abort: directory %s does not exist!\n', DirName);
+    return;
+end
+
+% Create and go to the directory
+DirName = fullfile(DirName, ApplicationName);
+gotodirectory(DirName);
+
+if ~ConfigFlag
+    DirDevName = [ApplicationName '_standalone_' datestr(date,29)];
+
+    fullName = [DirName filesep DirDevName];
+    if exist(fullName, 'dir') == 7
+        answer = questdlg('Directory exists already!','Compilation dialog box','Continue','Abort','Default');
+        switch answer
+            case 'Continue'
+                fprintf('Data will be erased\n')
+            case 'Abort'
+                fprintf('Application stopped on user request\n')
+                return;
+            otherwise
+                fprintf('Application stopped on user request\n')
+                return;
+        end
+    end
+
+    gotodirectory(fullName);
+
+    % Compilation part
+    if strcmpi(ApplicationName,'synchro')
+% Does not work as it should yet
+%         eval(['mcc -mv -a AperturePass -a BndMPoleSymplectic4Pass -a BndMPoleSymplectic4RadPass ' ...
+%             '-a CavityPass -a CorrectorPass -a DriftPass -a EAperturePass -a IdentityPass ' ...
+%             '-a Matrix66Pass -a QuadLinearPass -a SolenoidLinearPass -a StrMPoleSymplectic4Pass ' ...
+%             '-a StrMPoleSymplectic4RadPass -a ThinMPolePass -a findmpoleraddiffmatrix ' ...
+%             '-a IdentityPass -a BendLinearPass ', 'synchro_injecteur7_rafale']);
+    else
+        % Add files in StorageRing (*.txt), AT, MML (wave files)
+        eval(['mcc -mv  -a AperturePass -a BndMPoleSymplectic4Pass -a BndMPoleSymplectic4RadPass ' ...
+            '-a CavityPass -a CorrectorPass -a DriftPass -a EAperturePass -a IdentityPass ' ...
+            '-a Matrix66Pass -a QuadLinearPass -a SolenoidLinearPass -a StrMPoleSymplectic4Pass ' ...
+            '-a StrMPoleSymplectic4RadPass -a ThinMPolePass -a findmpoleraddiffmatrix ' ...
+            '-a IdentityPass -a BendLinearPass ', ApplicationName]);
+    end
+
+    
+    [pathstr, name, ext, versn] = fileparts(DirName);
+    fprintf('\nApplication %s compiled and saved in directory: %s\n', name, DirName)
+    fprintf('Directory name is: %s\n\n', DirDevName);
+else % Deploy programme
+    cd(DirName); 
+    VersionName = uigetdir;
+    if isempty(VersionName)
+        cd(CurrentDir);
+        error('Abort: Unknown answer')
+    end
+    [tmp Appli2deploy] = fileparts(VersionName);
+    system(sprintf('rm -v %s', ApplicationName));
+    system(sprintf('ln -s -v %s %s', Appli2deploy, ApplicationName));
+end
+
+cd(CurrentDir);
+
+%export
+%LD_LIBRARY_PATH=/usr/Local/matlab/runtime/glnx86:/usr/Local/matlab/bin/glnx86:/usr/Local/matlab/sys/os/glnx86:/usr/Loca
+%l/matlab/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads:/usr/Local/matlab/sys/java/jre/glnx86/jre1.5.0/lib/i386/server:/usr/Local/matlab/sys/java/jre/glnx86/jre1.5.0/lib/i386/client:/usr/Local/matlab/sys/java/jre/glnx86/jre1.5.0/lib/i386:/lib:/lib/tls:/usr/lib:/usr/X11R6/lib:/usr/Local/soleil-root/tango/lib:/usr/Local/soleil-root/omniorb/lib:/usr/Local/soleil-root/bindings/python/python23:/usr/Local/soleil-root/hw-support/ace/lib:/usr/Local/DeviceServer
Index: /trunk/machine/SOLEIL/common/configurations/showconfiguration.m
===================================================================
--- /trunk/machine/SOLEIL/common/configurations/showconfiguration.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/configurations/showconfiguration.m	(revision 17)
@@ -0,0 +1,43 @@
+function showmachinedata(families)
+%display setpoint and readbacks for families in AcceleratorObjects
+%showmachinedata(families) where families can be char or cell array showmachinedata{'QF'; 'QD';}
+ad=getad;
+fprintf('%30s\n\n',[ad.Machine ' Accelerator Settings: ' datestr(now,0)]);
+
+if nargin<1
+    families=getfamilylist;
+elseif ischar(families)
+    families=char(families);   %make sure same length
+elseif iscell(families)
+    families=char(families{:}); 
+end
+
+for ii=1:size(families,1)
+family=deblank(families(ii,:));
+if ~isfamily(family)   disp(['   Warning: family not available... ', family]);  end
+familytype=getfamilydata(family,'FamilyType');  %returns [] for family not available
+ 
+if strcmpi(familytype,'BEND') | strcmpi(familytype,'QUAD') | strcmpi(familytype,'SEXT') | strcmpi(familytype,'COR')
+    
+DevList=family2dev(family);
+SetpointPV  =getfamilydata(family,'Setpoint','ChannelNames');
+Setpoint    =getsp(family,'hardware');
+PSetpoint    =hw2physics(family,'Setpoint',Setpoint);
+
+MonitorPV   =getfamilydata(family,'Monitor','ChannelNames');
+Monitor     =getam(family,'hardware');
+PMonitor     =hw2physics(family,'Monitor', Monitor);
+
+
+%display hardware values
+fprintf('%s\n',['   Family  DeviceList  HWSetpoint PhysicsSetpoint     HWReadback    PhysicsReadback   SP-MON (HW)   SP-MON (Physics)  Setpoint_PV             Monitor_PV']);
+
+  for jj=1:size(DevList,1)
+    fprintf('%8s    [%2d,%d] %14.5f %14.5f %14.5f %14.5f %14.5f %14.5f %28s %20s\n',family,DevList(jj,1),DevList(jj,2),Setpoint(jj),PSetpoint(jj),Monitor(jj),PMonitor(jj),Setpoint(jj)-Monitor(jj),PSetpoint(jj)-PMonitor(jj),SetpointPV(jj,:),MonitorPV(jj,:));
+  end
+  disp(' ');
+  
+  
+end
+
+end
Index: /trunk/machine/SOLEIL/common/configurations/tunemml.m
===================================================================
--- /trunk/machine/SOLEIL/common/configurations/tunemml.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/configurations/tunemml.m	(revision 17)
@@ -0,0 +1,76 @@
+function varargout = tunemml(varargin)
+% TUNEMML M-file for tunemml.fig
+%      TUNEMML, by itself, creates a new TUNEMML or raises the existing
+%      singleton*.
+%
+%      H = TUNEMML returns the handle to a new TUNEMML or the handle to
+%      the existing singleton*.
+%
+%      TUNEMML('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in TUNEMML.M with the given input arguments.
+%
+%      TUNEMML('Property','Value',...) creates a new TUNEMML or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before tunemml_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to tunemml_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help tunemml
+
+% Last Modified by GUIDE v2.5 25-Mar-2002 12:19:15
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @tunemml_OpeningFcn, ...
+                   'gui_OutputFcn',  @tunemml_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before tunemml is made visible.
+function tunemml_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to tunemml (see VARARGIN)
+
+% Choose default command line output for tunemml
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes tunemml wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+addmenuad(handles.figure1);
+addmenuao(handles.figure1);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = tunemml_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
Index: /trunk/machine/SOLEIL/common/cycling/config_dserver_cyclage.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/config_dserver_cyclage.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/config_dserver_cyclage.m	(revision 17)
@@ -0,0 +1,48 @@
+
+AO = getao;
+
+fam = 'QP';
+fam = 'CV';
+
+k= 1;
+
+if strcmpi(fam, 'CV') || strcmpi(fam, 'CH') 
+    rtag = 'C[H,V]';
+elseif strcmpi(fam, 'QP') 
+    rtag = 'Q';
+elseif strcmpi(fam, 'BEND') 
+    rtag = 'D';    
+end
+
+for k = 1:length(AO.(fam).DeviceName)
+    dev_name = AO.(fam).DeviceName{k};
+    idx = regexpi(dev_name,rtag);
+%     idx = regexpi(dev_name,'Q');
+
+    dev_cycle = [dev_name(1:idx-1) 'cycle' dev_name(idx:end)];
+
+    prop_name = {'AttributeProxyRead','AttributeProxyWrite', 'Iterations'};
+    prop = tango_get_properties2(dev_cycle,prop_name);
+    prop(1).value = {AO.(fam).Monitor.TangoNames{k}};
+    prop(2).value = prop(1).value;
+    prop(3).value = {'1'};
+    tango_put_properties2(dev_cycle,prop);
+end
+
+%create groupname
+id_cor = tango_group_create('correcteurLT1');
+
+%add devices to group
+tango_group_add(id_cor,'LT1/AEsim/cycleC*');
+
+%%display group
+tango_group_dump(id_cor);
+
+tango_group_command_inout(id_cor,'Init',1,0);
+
+%% Start cycling magnets
+tango_group_command_inout(id_cor,'Start',1,0);
+
+
+%% chargement d'une rampe
+
Index: /trunk/machine/SOLEIL/common/cycling/configcyclecurve.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/configcyclecurve.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/configcyclecurve.m	(revision 17)
@@ -0,0 +1,35 @@
+function configcyclecurve(family, curve)
+
+%%
+% 
+error('Expert: Do not use this function')
+
+AO = getao;
+
+fam = 'QP';
+fam = 'CV';
+
+k= 1;
+
+if strcmpi(fam, 'CV') || strcmpi(fam, 'CH') 
+    rtag = 'C[H,V]';
+elseif strcmpi(fam, 'QP') 
+    rtag = 'Q';
+elseif strcmpi(fam, 'BEND') 
+    rtag = 'D';    
+end
+
+for k = 1:length(AO.(fam).DeviceName)
+    dev_name = AO.(fam).DeviceName{k};
+    idx = regexpi(dev_name,rtag);
+%     idx = regexpi(dev_name,'Q');
+
+    dev_cycle = [dev_name(1:idx-1) 'cycle' dev_name(idx:end)];
+
+    prop_name = {'AttributeProxyRead','AttributeProxyWrite', 'Iterations'};
+    prop = tango_get_properties2(dev_cycle,prop_name);
+    prop(1).value = {AO.(fam).Monitor.TangoNames{k}};
+    prop(2).value = prop(1).value;
+    prop(3).value = {'1'};
+    tango_put_properties2(dev_cycle,prop);
+end
Index: /trunk/machine/SOLEIL/common/cycling/createcyclecurve.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/createcyclecurve.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/createcyclecurve.m	(revision 17)
@@ -0,0 +1,42 @@
+function curve=createcyclecurve(varargin)
+% INPUTS
+%1. Family
+%2. Nominal current
+%3. Maximum current
+
+Family = varargin{1};
+Inom = varargin{2};
+Imax = varargin{3};
+
+%% check if family is valid and return it in AO
+[FamilyIndex, AO] = isfamily(Family);
+
+if FamilyIndex
+    if (ismemberof(Family,'Cyclage'))
+       % for k=1:tango_group_size(AO.GroupId)
+       k=1;
+            curve = makecurve(Inom,Imax);
+%            curve = makecurve(AO.Inom(k),AO.Imax(k));
+%             setcyclecurve(dev_name, curve)
+       % end
+    end
+end
+
+function curve = makecurve(Inom,Imax)
+
+% curve = [[0 10]
+%         [Imax 180] 
+%         [0.95*Inom 180]
+%         [1.05*Inom 180]
+%         [0.95*Inom 180]
+%         [1.05*Inom 180]
+%         [0.95*Inom 180]
+%         [Inom 180] ];
+curve = [[0 10]
+        [Imax 10] 
+        [0.95*Inom 10]
+        [1.05*Inom 10]
+        [0.95*Inom 10]
+        [1.05*Inom 10]
+        [0.95*Inom 10]
+        [Inom 10] ];       
Index: /trunk/machine/SOLEIL/common/cycling/createcyclecurvefull.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/createcyclecurvefull.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/createcyclecurvefull.m	(revision 17)
@@ -0,0 +1,80 @@
+function createcylecurvefull(varargin);
+% INPUTS
+%1. Family
+
+DisplayFlag = 1;
+
+% Parse input options
+InputFlags = {};
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+%% Load Golden Magnet parameters
+
+FileName = getfamilydata('OpsData', 'LatticeFile');
+DirectoryName = getfamilydata('Directory', 'OpsData');
+cnf=load([DirectoryName FileName]);
+%% Setpoints values
+Setpoint = cnf.ConfigSetpoint;
+
+Family = varargin{1};
+
+[FamilyIndex, AO] = isfamily(Family);
+if isempty(FamilyIndex)
+    error('Unknown Family');
+end
+
+% create cycling family name
+CycleFamily = ['Cycle' Family];
+[CycleIndex, CycleAO] = isfamily(CycleFamily);
+
+%% Family switchyard
+Inom = Setpoint.(Family).Data;
+if (ismemberof(CycleFamily,'Cyclage'))
+     for k = 1:tango_group_size(CycleAO.GroupId)
+        %% PAS BEAU --  utiliser le mml pour etre sur de la correspondance
+        CycleAO.Inom(k) = cnf.ConfigSetpoint.(Family).Data(k);
+        %% create cycling curve
+        curve = makecurve(CycleAO.Inom(k),CycleAO.Imax(k),Family)
+        %% upload cycling curve
+        if DisplayFlag
+            fprintf(1,'device : Inom = %f Imax= %f \n', ...
+                CycleAO.Inom(k), CycleAO.Imax(k));
+            plotcyclecurve(curve);
+        end
+        reply = input('Apply to Dserver new cycling curve ? (y/n)','s');
+        switch lower(reply)
+            case {'Y','Yes'}
+                setcyclecurve(CycleFamily,curve);
+            otherwise
+                disp('Parameter not set to dserver')
+        end
+    end
+else
+    error('Unknown Cycling Family')
+end
+
+end
+
+function curve = makecurve(Inom,Imax,MagnetType)
+
+switch MagnetType
+    case {'BEND','QP','CH','CV'}
+        curve = [[0 10]
+            [Imax 180]
+            [0.95*Inom 180]
+            [1.05*Inom 180]
+            [0.95*Inom 180]
+            [1.05*Inom 180]
+            [0.95*Inom 180]
+            [Inom 180] ];
+end
+end
+
Index: /trunk/machine/SOLEIL/common/cycling/cyclingcommand.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/cyclingcommand.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/cyclingcommand.m	(revision 17)
@@ -0,0 +1,61 @@
+function varargout= cyclingcommand(varargin)
+%CYCLINGCOMMAND - Cyclage control for magnet
+%
+%  INPUTS
+%  1. family - Element or family for cycling command
+%  2. command - Start, Stop, Pause, Resume
+%
+%  EXAMPLES
+%  1. cyclecommand('LT1/AE/cycleQ.3','Start')
+%  2. cyclecommand('CycleQ','Start')
+%
+%  See also setcyclecurve, getcyclecurve, plotcyclingcurve, LT1cycling, 
+%           magnetcycle, Ringcycling
+
+%
+% Written by Laurent S. Nadolski
+
+Family = varargin{1};
+
+%% check if family is valid and return it in AO
+[FamilyIndex, AO] = isfamily(Family);
+
+%% Commands are case sensitive in TANGO
+% Force the right case for supported commands
+command = varargin{end};
+
+if strcmpi(command,'Start')
+    command = 'Start';
+elseif strcmpi(command,'Stop')
+    command = 'Stop';
+elseif strcmpi(command,'Init')
+    command = 'Init';
+elseif strcmpi(command,'Pause')
+    command = 'Pause';
+elseif strcmpi(command,'Resume')
+    command = 'Resume';
+elseif strcmpi(command,'Status')
+    command = 'Status';
+elseif strcmpi(command,'State')
+    command = 'State';
+else
+    error('Unknown command')
+end
+
+if FamilyIndex
+    if (ismemberof(Family,'Cyclage'))
+        rep = tango_group_command_inout2(AO.GroupId,command,1,0);        
+        for k = 1:length(rep)
+            data = rep.replies(k).data;
+        end
+        varargout{1} = data;
+    else
+        error('Wrong Family');
+    end
+else % TANGONAME  
+    if strcmpi(command,'Start')
+        tango_command_inout2(Family, 'Init');
+        tango_command_inout2(Family,command);
+    end
+end
+
Index: /trunk/machine/SOLEIL/common/cycling/getcyclecurve.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/getcyclecurve.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/getcyclecurve.m	(revision 17)
@@ -0,0 +1,55 @@
+function curve = getcyclecurve(varargin)
+%GETCYCLECURVE - Get curve for cycling magnet
+%
+%  INPUTS
+%  1. Family or Tango sequencer device name
+%  OPTIONAL
+%  2. DEviceListe
+%
+%  OUTPUTS
+%  1. curve read from Dserver
+%
+%  EXAMPLES
+%  1. getcyclecurve('LT1/tests/currentCH.2');
+%  2. getcyclecurve('CycleQP');
+%  3. getcyclecurve('CycleQP',[1 3]);
+%
+%  NOTES:
+%  1. Tango specific
+%
+%  See Also setcyclecurve, plotcyclingcurve, LT1cycling
+
+% TODO: This just a first shot routine 
+
+DeviceList = [];
+
+if isempty(varargin)
+    error('At least provide a Family');
+end
+
+Family = varargin{1};
+
+if nargin > 1
+    DeviceList = varargin{2};
+end
+
+[FamilyFlag AO] = isfamily(Family);
+
+if FamilyFlag
+    if isempty(DeviceList)
+        DeviceList = family2dev(Family);
+    end
+    DeviceName = family2tangodev(Family, DeviceList);
+    for k = 1:size(DeviceName,1)
+        val = tango_read_attribute2(DeviceName{k},'sequenceValues');
+        curve{k}.Data(:,1) = val.value;
+        val = tango_read_attribute2(DeviceName{k},'waitingTimes');
+        curve{k}.Data(:,2) = val.value;
+        curve{k}.DeviceName = DeviceName{k};
+    end
+else
+    val = tango_read_attribute2(Family,'sequenceValues');
+    curve(:,1) = val.value;
+    val = tango_read_attribute2(Family,'waitingTimes');
+    curve(:,2) = val.value;
+end
Index: /trunk/machine/SOLEIL/common/cycling/magnetcycle.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/magnetcycle.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/magnetcycle.m	(revision 17)
@@ -0,0 +1,821 @@
+function magnetcycle(varargin)
+%MAGNETCYCLE - Standardize machine magnets
+%
+%  INPUTS
+%  1. LatticeFile -'Present' {Default} - cycle to present setpoints
+%                  'Golden'  - cycle to the golden lattice setpoints
+%                  'UserSelect' - cycle to a selected file (a pop up to choose will be displayed)
+%                   LatticeFilename - cycle to the ConfigSetpoint in that file
+%
+%  Optional input arguments
+%  2. Cells of Families - for instance {'CH','CV'} or {'QP'}
+%  3. 'Display' or 'NoDisplay' - to verify before standardizing and display results (or not)
+%  4. Machine type - 'LT1', 'LT2', 'StorageRing', 'Booster'
+%                     Default is given by mml via getfamilydata('SubMachine')
+%  5. 'NoApply' - just configure but does not start cycling
+%     'NoConfig'
+%
+%  EXAMPLES
+%  1. magnetcycle('Golden')
+%  2. magnetcycle('Golden',{'CH'}) % cycle only CH family to golden
+%  values
+%
+% See Also setcyclecurve, getcyclingcurve, plotcyclingcurve, LT1cycling, RINGcycling
+
+%
+%  Written by Laurent S. Nadolski
+
+% TODO: Display part, cycle single element, cycle set of families (not
+% all)
+
+DisplayFlag = 1;
+ApplyFlag = 1;
+
+LatticeFileDefault = 'Present';
+ConfigFlag = 0; % confirm before modifying cycling ramp
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Input parsing and checking %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Present')
+        LatticeFile = 'Present';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Golden')
+        LatticeFile = 'Golden';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'UserSelect')
+        LatticeFile = 'UserSelect';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'LT1')
+        Machine = 'LT1';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Booster')
+        Machine = 'Booster';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'LT2')
+        Machine = 'LT2';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'StorageRing')
+        Machine = 'StorageRing';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoConfig')
+        ConfigFlag = 0;
+    elseif strcmpi(varargin{i},'Config')
+        ConfigFlag = 1;
+    elseif strcmpi(varargin{i},'Apply')
+        ApplyFlag = 1;
+    elseif strcmpi(varargin{i},'NoApply')
+        ApplyFlag = 0;
+    elseif iscell(varargin{i})
+        Magnet = varargin{i};
+        varargin(i) = [];
+    end
+end
+
+if ~exist('LatticeFile','var')
+    LatticeFile = LatticeFileDefault;
+end
+
+if ~exist('Machine','var')
+    Machine = getfamilydata('SubMachine');
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Get the proper lattice %
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+if strcmpi(LatticeFile, 'UserSelect')
+    [FileName, DirectoryName, FilterIndex] = uigetfile('*.mat', 'Select a Machine Configuration File for Standardization', getfamilydata('Directory', 'ConfigData'));
+    if FilterIndex == 0
+        if strcmpi(DisplayFlag, 'Display')
+            fprintf('   %s standardization cancelled\n', Machine);
+        end
+        return
+    end
+    try
+        load([DirectoryName FileName]);
+        Lattice = ConfigSetpoint;
+    catch
+        error('Problem getting data from machine configuration file\n%s',lasterr);
+    end
+    if strcmpi(DisplayFlag, 'Display')
+        fprintf('   Standardizing to the lattice file %s\n', [DirectoryName FileName]);
+    end
+elseif strcmpi(LatticeFile, 'Present')
+    % Present lattice
+    Lattice = getmachineconfig;
+    if strcmpi(DisplayFlag, 'Display')
+        fprintf('   Standardizing to the present lattice\n');
+    end
+elseif strcmpi(LatticeFile, 'Golden')
+    % Golden lattice
+    FileName = getfamilydata('OpsData', 'LatticeFile');
+    DirectoryName = getfamilydata('Directory', 'OpsData');
+    load([DirectoryName FileName]);
+
+    Lattice = ConfigSetpoint;
+    if strcmpi(DisplayFlag, 'Display')
+        fprintf('   Standardizing to the golden lattice %s\n', [DirectoryName FileName]);
+    end
+elseif ischar(LatticeFile)
+    load(LatticeFile);
+    Lattice = ConfigSetpoint;
+    if strcmpi(DisplayFlag, 'Display')
+        fprintf('   Standardizing to lattice file %s\n', LatticeFile);
+    end
+else
+    error('Not sure what lattice to cycle to!');
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Query to begin measurement %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if strcmpi(DisplayFlag, 'Display')
+    tmp = questdlg(['Begin ' getfamilydata('Machine') ' standardization?'], ...
+        'MAGNETCYCLE','Yes','No','No');
+    if strcmpi(tmp,'No')
+        fprintf('   Lattice standardization cancelled\n');
+        return
+    end
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Set cycling curves
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Family = fieldnames(Lattice);
+
+% select only asked families
+if exist('Magnet','var') && ~isempty(Magnet)
+    if iscell(Magnet)
+        for k = 1:length(Magnet),
+            % For C13 Family special trick to reconstruct the family
+            if strcmpi(Magnet{k},'QC13')
+                LatticeN.QC13.Setpoint.Data = [
+                    Lattice.Q1.Setpoint.Data(7)
+                    Lattice.Q2.Setpoint.Data(7)
+                    Lattice.Q3.Setpoint.Data(7)
+                    Lattice.Q4.Setpoint.Data(13)
+                    Lattice.Q5.Setpoint.Data(13:14)
+                    Lattice.Q4.Setpoint.Data(14)
+                    Lattice.Q6.Setpoint.Data(19)
+                    Lattice.Q7.Setpoint.Data(19)
+                    Lattice.Q8.Setpoint.Data(19)
+                    ];
+                LatticeN.QC13.Setpoint.FamilyName = 'QC13';
+                FamilyN{k} = Magnet{k};
+            end
+            [temp flag] = findkeyword(Family,Magnet{k});
+            % Nanoscopium S1/S11
+            % if family not defined and S11 family
+            if (isempty(flag) && strcmp(Magnet{k}, 'S11'))
+                Lattice.S11 = Lattice.S1;
+                Lattice.S11.Setpoint.FamilyName = 'S11';
+                flag = 1;
+            end
+            if flag
+                LatticeN.(Magnet{k})  = Lattice.(Magnet{k});
+                FamilyN{k} = Magnet{k};
+            else
+                warning('Family %s not configured', Magnet{k});
+            end
+        end
+    end
+    Lattice = LatticeN;
+    Family  = FamilyN';
+    if ConfigFlag
+        cyclingconfiguration(Lattice, Family, varargin{:});
+    end
+else
+    disp('Select first a magnet!');
+    return;
+end
+
+%%%%%%%%%%%%%%%%%%%
+% Start the cycle %
+%%%%%%%%%%%%%%%%%%%
+if ApplyFlag
+
+    disp('  *****************************************************************');
+    disp('  **  Cycling will start!                                        **');
+    disp('  **  Are you sure to start cycling magnet                       **');
+    disp('  **                                                             **');
+    disp('  *****************************************************************');
+
+    tmp = questdlg('Start cycling magnet ?','MAGNETCYCLE','Yes','No','No');
+    if strcmpi(tmp,'No')
+        disp('Cycling cancelled')
+    else
+        disp('  ** Cycling starting                                     **');
+        Families = Family;
+        % Machine switchyard
+        switch Machine
+            case {'LT1','StorageRing','LT2'}
+                % start all selected families for cycling
+                h = waitbar(0,sprintf('Starting cycling on magnets: %2d %%',0));
+                for k1 = 1:length(Families),
+                    Family = Families{k1};
+                    % check if family is valid and return it in AO
+                    CycleFamily = ['Cycle' Family];
+                    cyclingcommand(CycleFamily,'Start');
+                    waitbar(k1/length(Families), h, sprintf('Cycling configuration progression: %2d %%', k1/length(Families)*100))
+                end
+                close(h);
+
+                CyclingEnd = 1;
+                % Cycling
+                while ~CyclingEnd
+                    fprintf('Cycling running, %s',datestr(now));
+                    pause(5); %seconds
+                    CyclingEnd = anacycling(Families);
+                end
+
+            case 'Booster'
+                disp('Not implemented yet');
+                return;
+
+            otherwise
+                error('Unknown machine %s',Machine);
+        end
+
+        if strcmpi(DisplayFlag, 'Display')
+            fprintf('   %s standardization complete\n', Machine);
+        end
+    end
+
+
+end
+
+%==========================================================================
+function curve = makecyclingcurve(Inom,Imax,MagnetType,varargin)
+% makecyclingcurve - Generates cycling curve used by Cycling Dserver
+%
+%  INPUTS
+%  1. Inom - Value at the end of cycling
+%  2. Imax - Maximum value
+%  3. MagnetType - Type of magnet ('BEND', 'Q1', 'CH', ...)
+%  Optionals parameters
+%  4. CyclingMode - Type of cycling process
+%                   'Simple' {default}
+%                   'Full'
+%                   'Startup' - after shutdown
+%  5. Machine type - 'LT1', 'LT2', 'StorageRing', 'Booster'
+%                     Default is given by mml via getfamilydata('Machine')
+%
+%
+%  OUTPUTS
+%  1. curve - 2D array discribing the cycling curve
+%             Structure of 2D array in multiple inputs
+%
+%  EXAMPLES
+%  1. makecurve(10,120,'CH')
+%  2. makecurve([10 12],[120 130],'CH')
+%
+%  NOTES
+%  1. MagnetType has to be the same for all vectorial inputs
+%
+%
+%  See Also plotcyclecurve
+
+%
+% Written by Laurent S. Nadolski
+
+% modification mars 2006 marie
+%CyclingMode = 'Simple';
+DisplayFlag = 0;
+
+%% INPUT PARSER
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Simple')
+        CyclingMode = 'Simple';
+        % modification mars 2006 marie
+        % se justifie par le fait que varargin n'a qu'un seul argument
+        %varargin(i) = [];
+    elseif strcmpi(varargin{i},'Full')
+        CyclingMode = 'Full';
+        % modification mars 2006 marie
+        %varargin(i) = [];
+    elseif strcmpi(varargin{i},'Startup')
+        CyclingMode = 'Startup';
+        % modification mars 2006 marie
+        %varargin(i) = [];
+    elseif strcmpi(varargin{i},'LT1')
+        Machine = 'LT1';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Booster')
+        Machine = 'Booster';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'LT2')
+        Machine = 'LT2';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'StorageRing')
+        Machine = 'StorageRing';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+if ~ischar(MagnetType)
+    error('Magnet Type sould be a string')
+end
+
+if ~exist('Machine','var')
+    Machine = getfamilydata('SubMachine');
+end
+
+if isempty(Inom)
+    error('Empty nominal value for family %s, skip data');
+end
+
+% if not a single element
+if length(Inom) > 1
+    for k = 1:length(Inom)
+        curve{k} = makecyclingcurve(Inom(k),Imax(k),MagnetType,varargin{:});
+    end
+else
+
+    %% Main part
+    switch Machine
+        case 'LT1'
+            switch MagnetType
+                case {'BEND'}
+                    switch CyclingMode
+                        case 'Simple'
+                            curve = [[0 1] % current time
+                                [Imax 30]
+                                [Inom 1] ];
+                        case 'Full'
+                            %curve = [[0 10] % current time
+                            %[Imax 180]
+                            %[0.95*Inom 180]
+                            %[1.05*Inom 180]
+                            %[0.95*Inom 180]
+                            %[1.05*Inom 180]
+                            %[Inom 180] ];
+                            curve = [[0 10] % test !
+                                [Imax 10]
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [Inom 10] ];
+                        case 'Startup'
+                            curve = [[0 10] % current time
+                                [Imax 1800] % temps de chauffe 30 min
+                                [0.95*Inom 180]
+                                [1.05*Inom 180]
+                                [0.95*Inom 180]
+                                [1.05*Inom 180]
+                                [Inom 180] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                case {'QP'}
+                    switch CyclingMode
+                        case 'Simple'
+                            % test avec temps plus courts mars 2006
+                            curve = [[0 1] % current time
+                                [Imax 10]
+                                [Inom 1] ];
+                            %                             curve = [[0 1] % current time
+                            %                                 [Imax 30]
+                            %                                 [Inom 1] ];
+                        case 'Full'
+                            % on raccourcit les temps pour tests mars 2006
+                            curve = [[0 10] % current time
+                                [Imax 40]
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [Inom 10] ];
+                            %                             curve = [[0 10] % current time
+                            %                                 [Imax 180]
+                            %                                 [0.95*Inom 180]
+                            %                                 [1.05*Inom 180]
+                            %                                 [0.95*Inom 180]
+                            %                                 [1.05*Inom 180]
+                            %                                 [Inom 10] ];
+                        case 'Startup'
+                            % test avec temps courts mars 2006
+                            curve = [[0 10] % current time
+                                [Imax 20] % temps de chauffe 10 min
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [Inom 20] ];
+                            %                             curve = [[0 10] % current time
+                            %                                 [Imax 600] % temps de chauffe 10 min
+                            %                                 [0.95*Inom 180]
+                            %                                 [1.05*Inom 180]
+                            %                                 [0.95*Inom 180]
+                            %                                 [1.05*Inom 180]
+                            %                                 [Inom 180] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                case {'CH','CV'}
+                    switch CyclingMode
+                        case {'Simple', 'Full','Startup'}
+                            curve = [[0 1] % current time
+                                [Imax 30]
+                                [Inom 1] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+
+                otherwise
+                    error('Unknown magnet type: %s', MagnetType)
+            end
+        case 'LT2'
+            switch MagnetType
+                case {'BEND'}
+                    switch CyclingMode
+                        case 'Simple'
+                            curve = [[0 10] % current time
+                                [Imax 30]
+                                [Inom 10] ];
+                        case 'Full'
+                            %curve = [[0 10] % current time
+                            %[Imax 180]
+                            %[0.95*Inom 180]
+                            %[1.05*Inom 180]
+                            %[0.95*Inom 180]
+                            %[1.05*Inom 180]
+                            %[Inom 180] ];
+
+                            curve = [[0 10] %
+                                [Imax 60]
+                                [0.95*Inom 60]
+                                [1.05*Inom 60]
+                                [Inom 10] ];
+
+                        case 'Startup'
+                            curve = [[0 10] % current time
+                                [Imax 1800] % temps de chauffe 30 min
+                                [0.95*Inom 180]
+                                [1.05*Inom 180]
+                                [0.95*Inom 180]
+                                [1.05*Inom 180]
+                                [Inom 180] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                case {'QP'}
+                    switch CyclingMode
+                        case 'Simple'
+                            % test avec temps plus courts mars 2006
+                            curve = [[0 1] % current time
+                                [Imax 10]
+                                [Inom 1] ];
+                            %                             curve = [[0 1] % current time
+                            %                                 [Imax 30]
+                            %                                 [Inom 1] ];
+                        case 'Full'
+                            % on raccourcit les temps pour tests mars 2006
+                            curve = [[0 10] % current time
+                                [Imax 40]
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [Inom 10] ];
+                            %                             curve = [[0 10] % current time
+                            %                                 [Imax 180]
+                            %                                 [0.95*Inom 180]
+                            %                                 [1.05*Inom 180]
+                            %                                 [0.95*Inom 180]
+                            %                                 [1.05*Inom 180]
+                            %                                 [Inom 10] ];
+                        case 'Startup'
+                            % test avec temps courts mars 2006
+                            curve = [[0 10] % current time
+                                [Imax 20] % temps de chauffe 10 min
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [0.95*Inom 10]
+                                [1.05*Inom 10]
+                                [Inom 20] ];
+                            %                             curve = [[0 10] % current time
+                            %                                 [Imax 600] % temps de chauffe 10 min
+                            %                                 [0.95*Inom 180]
+                            %                                 [1.05*Inom 180]
+                            %                                 [0.95*Inom 180]
+                            %                                 [1.05*Inom 180]
+                            %                                 [Inom 180] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                case {'CH','CV'}
+                    switch CyclingMode
+                        case {'Simple', 'Full','Startup'}
+                            curve = [[0 1] % current time
+                                [Imax 30]
+                                [Inom 1] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+
+                otherwise
+                    error('Unknown magnet type: %s', MagnetType)
+            end
+
+        case 'Booster'
+            error('%s: Not implemented yet', Machine)
+        case 'StorageRing'
+
+            switch MagnetType
+                case {'BEND'}
+                    switch CyclingMode
+                        case 'Simple'
+                            %                             curve = [[0 1] % current time
+                            %                                 [Imax 30]
+                            %                                 [Inom 1] ];
+                        case 'Full'
+                            % valeur initiale differente de zero car zero
+                            % impossible
+                            curve = [[20 10] %
+                                [Imax 60]
+                                [0.95*Inom 60]
+                                [1.05*Inom 60]
+                                [Inom 10] ];
+                        case 'Startup'
+                            curve = [[20 10] % current time
+                                [Imax 1800] % temps de chauffe 30 min
+                                [0.95*Inom 180]
+                                [1.05*Inom 180]
+                                [0.95*Inom 180]
+                                [1.05*Inom 180]
+                                [Inom 180] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                case {'Q1','Q2','Q3','Q4','Q5','Q6','Q7','Q8','Q9','Q10', ...
+                        'Q11', 'Q12','QC13', 'S11', 'S12'}
+                    % S11 and S12 powersupplies are of quadrupole type 
+                    switch CyclingMode
+                        case 'Simple'
+                            % test avec temps plus courts
+                            curve = [[sign(Imax)*20 5] % current time non zero consigne
+                                [Imax 30]
+                                [Inom 5] ];
+                        case 'Full'
+                            % Add one cycle 29 August 2009
+%                             curve = [[sign(Imax)*20 10] % current time non zero consigne
+%                                 [Imax 30]
+%                                 [0.90*Inom 30]
+%                                 [1.10*Inom 30]
+%                                 [0.90*Inom 30]
+%                                 [1.10*Inom 30]
+%                                 [Inom 10] ];
+
+                            % nanoscopium 1.10*Inom is more than Imax !!
+                            curve = [[sign(Imax)*20 10] % current time non zero setpoint value
+                                [Imax  30]
+                                [0.90*Inom 30]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 30]
+                                [0.90*Inom 30]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 30]
+                                [Inom-sign(Imax)*2 5]
+                                [sign(Imax)*min(abs(Inom+sign(Imax)*2), abs(Imax)) 1]
+                                [Inom-sign(Imax)*2 1]
+                                [sign(Imax)*min(abs(Inom+sign(Imax)*2), abs(Imax)) 1]
+                                [Inom-sign(Imax)*2 1]
+                                [sign(Imax)*min(abs(Inom+sign(Imax)*2), abs(Imax)) 1]
+                                [Inom 1] ];
+                        case 'Startup'
+                            % test
+                            curve = [[sign(Imax)*20 10] % current time non zero setpoint value
+                                [Imax 30]
+                                [0.90*Inom 30]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 30]
+                                [0.90*Inom 30]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 30]
+                                [0.90*Inom 30]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 30]
+                                [Inom 10] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                case {'S1','S2','S3','S4','S5','S6','S7','S8','S9','S10'}
+                    switch CyclingMode
+                        case 'Simple'
+                            % test avec temps plus courts mars 2006
+                            curve = [[0 1] % current time
+                                [Imax 10]
+                                [Inom 1] ];
+                        case 'Full'
+                            % Add one cycle 29 August 2009
+                            curve = [[0 10] % current time
+                                [Imax 30]
+                                [0.90*Inom 30]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 30]
+                                [0.90*Inom 30]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 30]
+                                [Inom 10] ];
+                        case 'Startup'
+                            curve = [[0 10] % current time
+                                [Imax 20] % temps de chauffe 10 min
+                                [0.90*Inom 60]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 60]
+                                [0.90*Inom 60]
+                                [sign(Imax)*min([abs(Imax), 1.10*abs(Inom)]) 60]
+                                [Inom 20] ];
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                case {'HCOR'}
+                    switch CyclingMode
+                        case 'Simple'
+                            %                             curve = [[0 1] % current time
+                            %                                 [Imax 30]
+                            %                                 [Inom 1] ];
+                        case 'Full'
+                            % valeur initiale differente de zero car zero
+                            % impossible
+                            curve = [[0 1] %
+                                [Imax 1]
+                                [-Imax 1]
+                                [0 1]
+                                [Inom 1]];
+                        case 'Startup'
+                            %
+                            %
+                            %
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                    
+                case {'VCOR'}
+                    switch CyclingMode
+                        case 'Simple'
+                            %                             curve = [[0 1] % current time
+                            %                                 [Imax 30]
+                            %                                 [Inom 1] ];
+                        case 'Full'
+                            % valeur initiale differente de zero car zero
+                            % impossible
+                            curve = [[0 1] %
+                                [Imax 1]
+                                [-Imax 1]
+                                [0 1]
+                                [Inom 1] ];
+                        case 'Startup'
+                            %
+                            %
+                            %
+                            
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                case {'QT'}
+                    switch CyclingMode
+                        case 'Simple'
+                            %                             curve = [[0 1] % current time
+                            %                                 [Imax 30]
+                            %                                 [Inom 1] ];
+                        case 'Full'
+                            % valeur initiale differente de zero car zero
+                            % impossible
+                            curve = [[0 1] %
+                                [Imax 1]
+                                [-Imax 1]
+                                [0 1]
+                                [Inom 1] ];
+                        case 'Startup'
+                            %
+                            %
+                            %
+                            
+                        otherwise
+                            error('Unknown Mode: %s', CyclingMode);
+                    end
+                otherwise
+                    error('Unknown magnet type: %s', MagnetType)
+            end
+        otherwise
+            error('Unknown machine: %s', Machine);
+    end
+
+    if DisplayFlag
+        fprintf(1,'%s : Inom = %f Imax= %f \n', ...
+            CycleAO.DeviceName, CycleAO.Inom, CycleAO.Imax);
+        plotcyclingcurve(curve);
+    end
+end
+%==========================================================================
+function CyclingEnd = anacycling(Families)
+%
+%
+%
+
+%
+% Written by Laurent S. Nadolski
+
+for k1=1:length(Families),
+    CycleFamily = ['Cycle' Families{k1}];
+    [CycleIndex, CycleAO] = isfamily(CycleFamily);
+
+    rep = tango_group_command_inout2(CycleAO.GroupId,'State',1,0);
+    Status = rep.replies.obj_name;
+    rep = tango_group_read_attribute(CycleAO.GroupId,'totalProgression');
+    totalProgression = rep.replies.value;
+end
+
+% look whether all cycling precessus are done
+if min(totalProgression) ~= 100
+    CyclingEnd = 0;
+else
+    CylclingEnd = 1;
+end
+
+% look for States and error
+totalProgression;
+
+%==========================================================================
+function cyclingconfiguration(Lattice, Family, varargin)
+% cyclingconfiguration
+%
+%  INPUTS
+%  1. Lattice - Structure of setpoints
+%  2. Family - Families to cycle to
+%
+%  See Also magnetcycle, setcyclecurve
+
+%
+% Written by Laurent S. Nadolski
+
+%TODO if not a tango group --> treat single case
+
+DisplayFlag = 1;
+ConfigFlag  = 0;
+
+
+if iscell(Family)
+    % Build input line
+    h = waitbar(0,sprintf('Cycling configuration progression: %2.0f %%',0));
+    for k = 1:length(Family)
+        cyclingconfiguration(Lattice,Family{k},varargin{:})
+        waitbar(k/length(Family), h, sprintf('Cycling configuration progression: %2.0f %%',k/length(Family)*100))
+    end
+    close(h);
+else
+    %% INPUT PARSER
+    for i = length(varargin):-1:1
+        if strcmpi(varargin{i},'Display')
+            DisplayFlag = 1;
+            varargin(i) = [];
+        elseif strcmpi(varargin{i},'NoDisplay')
+            DisplayFlag = 0;
+            varargin(i) = [];
+        elseif strcmpi(varargin{i},'NoConfig')
+            ConfigFlag = 0;
+            varargin(i) = [];
+        end
+    end
+    % Build Cycling configuration name
+    CycleFamily = ['Cycle' Family];
+
+    % Check whether CyclingFamily exists
+    if ismemberof(CycleFamily,'Cyclage')
+        [CycleIndex, CycleAO] = isfamily(CycleFamily);
+        CycleAO.Inom = Lattice.(Family).Setpoint.Data;
+        %% create cycling curve for each element of the group
+        curve = makecyclingcurve(CycleAO.Inom,CycleAO.Imax,Family,varargin{:});
+
+        % upload cycling curve
+        if ConfigFlag
+            reply = input(['Apply to Dserver new cycling curve to ', Family, '? (y/n)'],'s');
+        else
+            reply = 'yes';
+        end
+
+        switch lower(reply)
+            case {'y','yes'}
+                dev_name = family2tangodev(CycleAO.FamilyName);
+                if size(dev_name,1) == 1 &&  iscell(dev_name)
+                    dev_name = char(dev_name);
+                end
+                %dev_name = CycleAO.DeviceName;
+                setcyclecurve(dev_name,curve);
+            otherwise
+                disp('Parameter not set to dserver')
+        end
+    else
+        warning('Family %s not cycled',Family)
+    end
+end
+
Index: /trunk/machine/SOLEIL/common/cycling/plotcyclingcurve.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/plotcyclingcurve.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/plotcyclingcurve.m	(revision 17)
@@ -0,0 +1,59 @@
+function plotcyclingcurve(curve)
+%
+%  INPUTS
+%  1. curve - n x 2 array amplitude versus time loaded in Cycling Dserver
+%             or a cell array see getcyclecurve for details
+%
+%  EXAMPLES
+%  1. plotcyclingcurve(getcyclecurve('LT1/AE/cycleQ.1'))
+%  2. plotcyclingcurve(getcyclecurve('CycleQP'))
+%  3. plotcyclingcurve(getcyclecurve('CycleQ12'))
+%
+% See also setcyclecurve, getcyclecurve
+
+%
+% Written by Laurent S. Nadolski
+
+
+if iscell(curve)
+    for k=1:length(curve),
+        n = size(curve{k}.Data,1);
+        % time vector
+        cums = cumsum(curve{k}.Data(:,2))';
+        x = [cums; cums];
+        x = reshape(x,1,2*n);
+        x = [0 x(1:end-1)];
+
+        % amplitude vector
+        y = [curve{k}.Data(:,1),curve{k}.Data(:,1)]';
+        y = reshape(y,1,2*n);
+
+        figure;
+        plot(x,y,'b.-');
+        xlabel('Temps (s)');
+        ylabel('Courant [A]');
+        ylim([min(y) max(y)*1.05]);
+        title(['Cycling curve for ' curve{k}.DeviceName]);
+        grid on
+    end
+else
+    n = size(curve,1);
+    % time vector
+    cums = cumsum(curve(:,2))';
+    x = [cums; cums];
+    x = reshape(x,1,2*n);
+    x = [0 x(1:end-1)];
+
+    % amplitude vector
+    y = [curve(:,1),curve(:,1)]';
+    y = reshape(y,1,2*n);
+
+    figure;
+    plot(x,y,'b.-');
+    xlabel('Temps (s)');
+    ylabel('Courant [A]');
+    ylim([min(y) max(y)*1.05]);
+    title('Courbe de cyclage');
+
+    grid on
+end
Index: /trunk/machine/SOLEIL/common/cycling/setcyclecurve.m
===================================================================
--- /trunk/machine/SOLEIL/common/cycling/setcyclecurve.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/cycling/setcyclecurve.m	(revision 17)
@@ -0,0 +1,52 @@
+function setcyclecurve(dev_name, curve)
+% SETCYCLECURVE - Set curve for cycling magnet in Dserver
+%
+%  INPUTS
+%  1. dev_name - Tango sequencer device name
+%  2. curve  - nx2 vector current versus times
+%
+%  EXAMPLES
+%  1. setcyclecurve('LT1/AE/cycleCH.2', curve);
+%  2. setcyclecurve({'LT1/tests/currentCH.1','LT1/AE/cycleCH.2'}, {curve1, curve2});
+%
+%  NOTES
+%  1. Inputs can by cells of dev_name and cells of curves
+%  2. Tango specific
+%
+%  See Also getcyclecurve, magnetcycle, LT1cycling, Ringcycling, cyclingcommand
+
+%
+% Written by Laurent S. Nadolski
+
+if iscell(dev_name)
+    for k = 1:length(dev_name),
+        setcyclecurve(dev_name{k}, curve{k});        
+    end
+else
+    
+    fprintf('%s: %s\n', mfilename, dev_name);
+    % Get size of sequence
+    len = tango_get_properties2(dev_name,{'SequenceSize'});
+
+    % Needed in order if Fault state
+    state = tango_state2(dev_name);
+    if ~strcmpi(state, 'INIT')
+        disp('INIT')
+        tango_command_inout2(dev_name, 'Init');
+    end
+
+    if str2double(len.value{:}) ~= size(curve,1)
+        % Modify size of the sequence
+        prop.name = 'SequenceSize';
+        prop.value = {num2str(size(curve,1))};
+        tango_put_properties2(dev_name,prop);
+        % Needed in order to take into account modification
+        tango_command_inout2(dev_name, 'Init');
+    end
+
+    % Load the curve into Dserver : attribute part and time part
+    tic
+    tango_command_inout2(dev_name,'LoadSequenceValues', curve(:,1)');
+    tango_command_inout2(dev_name,'LoadWaitingTimes', curve(:,2)');
+    toc
+end
Index: /trunk/machine/SOLEIL/common/database/adddevice.m
===================================================================
--- /trunk/machine/SOLEIL/common/database/adddevice.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/database/adddevice.m	(revision 17)
@@ -0,0 +1,15 @@
+dbserver = 'sys/database/dbds';
+
+%% Creation des dserveur cyclage des aimants LT1
+classname  = 'AttributeSequenceWriter';
+devnameroot = 'LT1/AE/cycle';
+servername = 'ds_AttributesequenceWriter/LT1';
+
+magnet = {'CH.1', 'CH.2', 'CH.3', 'CV.1', 'CV.2', 'CV.3', 'D.1', ...
+    'Q.1', 'Q.2', 'Q.3', 'Q.4', 'Q.5', 'Q.6', 'Q7'};
+
+for k = 1:length(magnet),
+    devname  = [devnameroot magnet{k}]    
+    tango_command_inout2(dbserver,'DbAddDevice',{servername,devname,classname});
+%      tango_command_inout(dbserver,'DbDeleteDevice',devname)
+end
Index: /trunk/machine/SOLEIL/common/database/config_tango_dbds.m
===================================================================
--- /trunk/machine/SOLEIL/common/database/config_tango_dbds.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/database/config_tango_dbds.m	(revision 17)
@@ -0,0 +1,15 @@
+% tango_set_attribute_property('HCOR','format','%4.3f')
+% tango_set_attribute_property('VCOR','format','%4.3f')
+% tango_set_attribute_property('BEND','format','%6.3f')
+% 
+% % Sextupoles
+% for k = 1:10
+%     strname = ['S' num2str(k)];
+%     tango_set_attribute_property(strname,'format','%6.3f')
+% end
+% 
+% % Quadrupoles
+% for k = 1:10
+%     strname = ['Q' num2str(k)];
+%     tango_set_attribute_property(strname,'format','%6.3f')
+% end
Index: /trunk/machine/SOLEIL/common/database/configparser.m
===================================================================
--- /trunk/machine/SOLEIL/common/database/configparser.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/database/configparser.m	(revision 17)
@@ -0,0 +1,132 @@
+return;
+disp('A NE PAS EXECUTER');
+error('Laurent Nadolski');
+
+dbserver = 'sys/database/2';
+
+%% VIDE LT1 
+
+%% declaration TANGO - A faire une seule fois
+% Ajouter un device serveur et les devices associes
+className='TangoParser';
+deviceName='LT1/VI/CALC-PI.1';
+serverName='tangoparser/LT1';
+
+argin = {serverName,deviceName,className};
+tango_command_inout(dbserver,'DbAddDevice',argin)
+
+% efface
+%tango_command_inout(dbserver,'DbDeleteDevice',deviceName)
+
+% Lire une propriete d'un device
+%tango_command_inout2(dbserver,'DbGetDeviceProperty',{deviceName, propertyName});
+
+% cree une propriete de device
+% valeur somme pour les pressions
+propertyName = 'AttributeNames';
+tangoNames= family2tango('PI');
+%%
+nb = length(tangoNames);
+
+% build list of the type
+% x1, attribute1
+% x2, attribute2
+% ...
+% xn, attributen
+
+for k = 1:nb,
+    mapping{k} = ['x', num2str(k) ',' tangoNames{k}]
+end
+
+argin = {deviceName, '1', propertyName, num2str(nb), mapping{:}};
+tango_command_inout2(dbserver,'DbPutDeviceProperty',argin);
+
+propertyName = 'OutputNames';
+nameValue = 'meanPressure';
+tango_command_inout2(dbserver,'DbPutDeviceProperty',{deviceName, '1', propertyName, '1', nameValue});
+
+%% 2 commands required
+% init : fait bugger tout !!!!
+%tango_command_inout2(deviceName,'Init');
+
+%% configuration expression
+stringExpression = configparser_fn('Mean',nb);
+tango_command_inout2(deviceName,'SetExpression',{nameValue, stringExpression});
+
+
+%% LT1 correcteurs
+%% declaration TANGO - A faire une seule fois
+% Ajouter un device serveur et les devices associes
+className='TangoParser';
+deviceName='LT1/AE/CALC-CV.1';
+serverName='tangoparser/LT1';
+
+argin = {serverName,deviceName,className};
+tango_command_inout(dbserver,'DbAddDevice',argin)
+
+% efface
+%tango_command_inout(dbserver,'DbDeleteDevice',deviceName)
+
+% Lire une propriete d'un device
+%tango_command_inout2(dbserver,'DbGetDeviceProperty',{deviceName, propertyName});
+
+% cree une propriete de device
+% valeur somme pour les pressions
+propertyName = 'AttributeNames';
+tangoNames= family2tango('CV');
+%%
+nb = length(tangoNames);
+
+% build list of the type
+% x1, attribute1
+% x2, attribute2
+% ...
+% xn, attributen
+
+mapping=[];
+for k = 1:nb,
+    mapping{k} = ['x', num2str(k) ',' tangoNames{k}]
+end
+
+argin = {deviceName, '1', propertyName, num2str(nb), mapping{:}};
+tango_command_inout2(dbserver,'DbPutDeviceProperty',argin);
+
+propertyName = 'OutputNames';
+nameValue = {'meanCurrent','rmsCurrent'};
+tango_command_inout2(dbserver,'DbPutDeviceProperty',{deviceName, '1', propertyName, '2', nameValue{:}});
+
+%% 2 commands required
+% init : fait bugger tout !!!!
+%tango_command_inout2(deviceName,'Init');
+
+%% configuration expression
+stringExpression = configparser_fn('Mean',nb);
+tango_command_inout2(deviceName,'SetExpression',{nameValue{1}, stringExpression});
+stringExpression = configparser_fn('Rms',nb);
+tango_command_inout2(deviceName,'SetExpression',{nameValue{2}, stringExpression});
+
+
+%% Reconfigure TOUT : bug sir tangoparser arréter
+
+deviceName='LT1/VI/CALC-PI.1';
+nameValue = 'meanPressure'; nb = 9;
+stringExpression = configparser_fn('Mean',nb);
+tango_command_inout2(deviceName,'SetExpression',{nameValue, stringExpression});
+
+ 
+
+deviceName='LT1/AE/CALC-CH.1';
+nameValue = {'meanCurrent','rmsCurrent'}; nb = 3;
+stringExpression = configparser_fn('Mean',nb);
+tango_command_inout2(deviceName,'SetExpression',{nameValue{1}, stringExpression});
+stringExpression = configparser_fn('Rms',nb);
+tango_command_inout2(deviceName,'SetExpression',{nameValue{2}, stringExpression});
+
+
+deviceName='LT1/AE/CALC-CV.1';
+nameValue = {'meanCurrent','rmsCurrent'}; nb = 3;
+stringExpression = configparser_fn('Mean',nb);
+tango_command_inout2(deviceName,'SetExpression',{nameValue{1}, stringExpression});
+stringExpression = configparser_fn('Rms',nb);
+tango_command_inout2(deviceName,'SetExpression',{nameValue{2}, stringExpression});
+
Index: /trunk/machine/SOLEIL/common/database/configparser_fn.m
===================================================================
--- /trunk/machine/SOLEIL/common/database/configparser_fn.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/database/configparser_fn.m	(revision 17)
@@ -0,0 +1,48 @@
+function stringExpression = configparser_fn(functionName,nb)
+% configparser_fn - Contructs a expression for TangoParser
+%
+%  INPUTS
+%  1. functionName - 'Mean' - mean value expression
+%                 - 'Rms'  - rms value expression
+%  2. nb - Number of terms for computing the expression
+%
+%  OUTPUTS
+%  1. stringExpression - Expression for tangoparser formula input
+%
+%  See also configparser
+if nb <2
+    error('nb too small')
+end
+
+switch functionName
+    case 'Mean'
+        % set expression
+        stringExpression = [];
+        for k=1:nb,
+            if k ~= nb && k ~= 1
+                stringExpression = [stringExpression 'x' num2str(k) '+'];
+            elseif k == 1
+                stringExpression = ['(' stringExpression 'x' num2str(k) '+'];
+            elseif k == nb
+                stringExpression = [stringExpression 'x' num2str(k) ')/' num2str(nb)];
+            end
+        end
+    case 'Rms'
+        muExpression = [];
+        x2Expression = [];
+        for k=1:nb,
+            if k ~= nb && k ~= 1
+                muExpression = [muExpression 'x' num2str(k) '+'];
+                x2Expression = [x2Expression 'x' num2str(k) '*' 'x' num2str(k) '+'];
+            elseif k == 1
+                muExpression = ['(' muExpression 'x' num2str(k) '+'];
+                x2Expression = ['(' x2Expression 'x' num2str(k) '*' 'x' num2str(k) '+'];
+            elseif k == nb
+                muExpression = [muExpression 'x' num2str(k) ')/' num2str(nb)];
+                x2Expression = [x2Expression 'x' num2str(k) '*' 'x' num2str(k) ')/' num2str(nb)];
+            end
+        end
+        stringExpression = [ num2str(nb) '/' num2str(nb-1) '*(' x2Expression '-' muExpression '*' muExpression ')'];
+    otherwise
+        error('Unknown function')
+end
Index: /trunk/machine/SOLEIL/common/database/learn_tangodb.m
===================================================================
--- /trunk/machine/SOLEIL/common/database/learn_tangodb.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/database/learn_tangodb.m	(revision 17)
@@ -0,0 +1,367 @@
+%
+return;
+dbserver = 'sys/database/2';
+res = tango_command_list_query(dbserver)
+
+DbAddDevice
+DbAddServer
+DbDeleteAttributeAlias
+DbDeleteClassAttribute
+DbDeleteClassAttributeProperty
+DbDeleteClassProperty
+DbDeleteDevice
+DbDeleteDeviceAlias
+DbDeleteDeviceAttribute
+DbDeleteDeviceAttributeProperty
+DbDeleteDeviceProperty
+DbDeleteProperty
+DbDeleteServer
+DbDeleteServerInfo
+DbExportDevice
+DbExportEvent
+DbGetAliasDevice
+DbGetAttributeAlias
+DbGetAttributeAliasList
+DbGetClassAttributeList
+DbGetClassAttributeProperty
+DbGetClassList
+DbGetClassProperty
+DbGetClassPropertyList
+DbGetDeviceAliasList
+DbGetDeviceAttributeList
+DbGetDeviceAttributeProperty
+DbGetDeviceClassList
+DbGetDeviceDomainList
+DbGetDeviceExportedList
+DbGetDeviceFamilyList
+DbGetDeviceList
+DbGetDeviceMemberList
+DbGetDeviceProperty
+DbGetDevicePropertyList
+DbGetDeviceServerClassList
+DbGetHostList
+DbGetHostServerList
+DbGetHostServersInfo
+DbGetInstanceNameList
+DbGetObjectList
+DbGetProperty
+DbGetPropertyList
+DbGetServerInfo
+DbGetServerList
+DbGetServerNameList
+DbImportDevice
+DbImportEvent
+DbInfo
+DbPutAttributeAlias
+DbPutClassAttributeProperty
+DbPutClassProperty
+DbPutDeviceAlias
+DbPutDeviceAttributeProperty
+DbPutDeviceProperty
+DbPutProperty
+DbPutServerInfo
+DbUnExportDevice
+DbUnExportEvent
+DbUnExportServer
+Init
+State
+Status
+
+res = tango_command_inout(dbserver,'DbGetDeviceFamilyList','*')
+res = tango_command_inout(dbserver,'DbInfo')
+res = tango_command_inout(dbserver,'Status')
+
+%% Ajout d'un device
+% Argument minimum: serveur device Class
+
+tango_command_inout(dbserver,'DbAddDevice',{'ds_bpm/bpm1','ANS/DGsim/BPM000','Bpm'})
+
+for k=1:5
+    Device = strcat('ANS/DGsim/BPM00',num2str(k))
+    tango_command_inout(dbserver,'DbAddDevice',{'ds_bpm/bpm1',Device,'Bpm'})
+end
+
+%% Effacer une device de la Database statique
+for k=1:5
+    Device = strcat('ANS/DGsim/BPM00',num2str(k))
+    tango_command_inout(dbserver,'DbDeleteDevice',Device)
+end
+
+% Ajouter un device serveur et les devices associes
+className='TangoParser';
+deviceName='LT1/VI/COMP.3';
+serverName='tangoparser/LT1';
+
+argin = {serverName,deviceName,className};
+tango_command_inout(dbserver,'DbAddDevice',argin)
+
+% efface
+%tango_command_inout(dbserver,'DbDeleteDevice',deviceName)
+
+% Lire une propriete d'un device
+tango_command_inout2(dbserver,'DbGetDeviceProperty',{deviceName, propertyName});
+
+% cree une propriete de device
+% valeur somme pour les pressions
+propertyName = 'AttributeNames';
+tangoNames= family2tango('PI');
+%%
+nb = length(tangoNames);
+
+% build list of the type
+% x1, attribute1
+% x2, attribute2
+% ...
+% xn, attributen
+
+for k = 1:nb,
+    mapping{k} = ['x', num2str(k) ',' tangoNames{k}]
+end
+
+argin = {deviceName, '1', propertyName, num2str(nb), mapping{:}};
+tango_command_inout2(dbserver,'DbPutDeviceProperty',argin);
+
+propertyName = 'OutputNames';
+tango_command_inout2(dbserver,'DbPutDeviceProperty',{deviceName, '1', propertyName, '1', 'diff '});
+
+%% 2 commands required
+% init
+%tango_command_inout2(deviceName,'Init');
+
+% set expression
+stringExpression = [];
+for k=1:nb,
+    if k ~= nb && k ~= 1
+        stringExpression = [stringExpression 'x' num2str(k) '+'];
+    elseif k == 1
+        stringExpression = ['(' stringExpression 'x' num2str(k) '+'];
+    elseif k == nb
+        stringExpression = [stringExpression 'x' num2str(k) ') + 54/' num2str(nb)];
+    end
+end
+
+tango_command_inout2(deviceName,'SetExpression',{'sum', stringExpression});
+
+% tango_command_inout2(deviceName,'GetExpression','meanPressure');
+
+% unexport un device
+%tango_command_inout2(dbserver,'DbUnExportDevice','tango/tangoparser/1')
+
+%% Nomenclature vide LT2
+
+%% vide
+
+liste = {
+'LT2/VI/PI40.1',
+'LT2/VI/PI55.2',
+'LT2/VI/PI55.3',
+'LT2/VI/PI55.4',
+'LT2/VI/PI55.5',
+'LT2/VI/PI55.6',
+'LT2/VI/PI150.7',
+'LT2/VI/PI55.8',
+'LT2/VI/PI55.9',
+'LT2/VI/PI55.10',
+'LT2/VI/PI55.11',
+'LT2/VI/PI55.12',
+'LT2/VI/PI55.13',
+'LT2/VI/PI55.14',
+'LT2/VI/PI40.15'
+}
+
+serverName = 'ionpump/PI4LT2';
+className = 'IonPump';
+for k=1:length(liste),
+    deviceName = liste{k};
+    tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+serverName = 'penninggauge/JPEN4LT2';
+className = 'PenningGauge';
+for k=1:3,
+    deviceName = ['LT2/VI/JPEN.' num2str(k)];
+     tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+
+serverName = 'piranigauge/JPIR4LT2';
+className = 'PiraniGauge';
+
+for k=1:3,
+    deviceName = ['LT2/VI/JPIR.' num2str(k)];
+     tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+
+liste = {
+'LT2/VI/VS40.1',
+'LT2/VI/VS63.2',
+'LT2/VI/VS40.3'};
+
+serverName = 'vacuumvalve/VS4LT2';
+className = 'VacuumValve';
+for k=1:length(liste),
+    deviceName = liste{k};
+    tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+liste = {
+'LT2/AE/D.1',
+'LT2/AE/Q.1',
+'LT2/AE/Q.2',
+'LT2/AE/Q.3',
+'LT2/AE/Q.4',
+'LT2/AE/Q.5',
+'LT2/AE/Q.6',
+'LT2/AE/Q.7',
+'LT2/AE/CV.1',
+'LT2/AE/CV.2',
+'LT2/AE/CV.3',
+'LT2/AE/CV.4',
+'LT2/AE/CV.5',
+'LT2/AE/CH.1',
+'LT2/AE/CH.2',
+'LT2/AE/CH.3'};
+
+serverName = 'ds_magnetsim/magnet4LT2';
+className = 'MagnetAlimSim';
+for k=1:length(liste),
+    deviceName = liste{k};
+    tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+liste = {
+'BOO-Binj/VI/PI55.1',
+'BOO-Binj/VI/PI55.2',
+'BOO-Binj/VI/PI300.3',
+'BOO-Binj/VI/PI55.4',
+'BOO-Binj/VI/PI55.5',
+'BOO-Binj/VI/PI55.6',
+'BOO-Binj/VI/PI500.7', 
+'BOO-B1/VI/PI55.1',
+'BOO-B1/VI/PI55.2',
+'BOO-B1/VI/PI55.3',
+'BOO-B1/VI/PI55.4',
+'BOO-B1/VI/PI55.5',
+'BOO-B1/VI/PI55.6',
+'BOO-B1/VI/PI55.7',
+'BOO-B1/VI/PI55.8',
+'BOO-B1/VI/PI55.9',
+'BOO-B2/VI/PI55.1',
+'BOO-B2/VI/PI55.2',
+'BOO-B2/VI/PI55.3',
+'BOO-B2/VI/PI55.4',
+'BOO-B2/VI/PI55.5',
+'BOO-B2/VI/PI55.6',
+'BOO-B2/VI/PI55.7',
+'BOO-Bext/VI/PI55.1',
+'BOO-Bext/VI/PI55.2',
+'BOO-Bext/VI/PI300.3',
+'BOO-Bext/VI/PI55.4',
+'BOO-Bext/VI/PI55.5',
+'BOO-Bext/VI/PI55.6',
+'BOO-B3/VI/PI55.1',
+'BOO-B3/VI/PI55.2',
+'BOO-B3/VI/PI55.3',
+'BOO-B3/VI/PI55.4',
+'BOO-B3/VI/PI55.5',
+'BOO-B3/VI/PI55.6',
+'BOO-B3/VI/PI55.7',
+'BOO-B3/VI/PI55.8',
+'BOO-B4/VI/PI55.1',
+'BOO-B4/VI/PI55.2',
+'BOO-B4/VI/PI55.3',
+'BOO-B4/VI/PI55.4',
+'BOO-B4/VI/PI55.5',
+'BOO-B4/VI/PI55.6',
+'BOO-B4/VI/PI55.7'};
+
+serverName = 'ionpump/PI4BOOSTER';
+className = 'IonPump';
+for k=1:length(liste),
+    deviceName = liste{k};
+    tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+
+liste = {
+'BOO-Binj/VI/VS63.1',
+'BOO-Binj/VI/VS100.2',
+'BOO-B1/VI/VS100.1',
+'BOO-B2/VI/VS63.1',
+'BOO-Bext/VI/VS63.1',
+'BOO-B3/VI/VS63.1',
+'BOO-B4/VI/VS63.1'};
+
+serverName = 'vacuumvalve/VS4BOOSTER';
+className = 'VacuumValve';
+for k=1:length(liste),
+    deviceName = liste{k};
+    tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+liste = {
+'BOO-B1/VI/JPEN.1',
+'BOO-B1/VI/JPEN.2',
+'BOO-Binj/VI/JPEN.1',
+'BOO-Binj/VI/JPEN.2',
+'BOO-B2/VI/JPEN.1',
+'BOO-B2/VI/JPEN.2',
+'BOO-B2/VI/JPEN.3',
+'BOO-Bext/VI/JPEN.1',
+'BOO-Bext/VI/JPEN.2',
+'BOO-B3/VI/JPEN.1',
+'BOO-B3/VI/JPEN.2',
+'BOO-B4/VI/JPEN.1',
+'BOO-B4/VI/JPEN.2',
+'BOO-B4/VI/JPEN.3'};
+
+serverName = 'penninggauge/JPEN4BOOSTER';
+className = 'PenningGauge';
+for k=1:length(liste),
+    deviceName = liste{k};
+     tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+liste = {
+'BOO-B1/VI/JPIR.1',
+'BOO-Binj/VI/JPIR.1',
+'BOO-Binj/VI/JPIR.2',
+'BOO-B2/VI/JPIR.1',
+'BOO-Bext/VI/JPIR.1',
+'BOO-B3/VI/JPIR.1',
+'BOO-B4/VI/JPIR.1'};
+
+serverName = 'piranigauge/JPIR4BOOSTER';
+className = 'PiraniGauge';
+for k=1:length(liste),
+    deviceName = liste{k};
+     tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
+liste = {
+'BOO-B1/VI/VS100.1',
+'BOO-Binj/VI/VS63.1',
+'BOO-Binj/VI/VS100.2',
+'BOO-B2/VI/VS63.1',
+'BOO-Bext/VI/VS63.1',
+'BOO-B3/VI/VS63.1',
+'BOO-B4/VI/VS63.1'};
+
+serverName = 'vacuumvalve/VS4BOOSTER';
+className = 'VacuumValve';
+for k=1:length(liste),
+    deviceName = liste{k};
+    tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
+
Index: /trunk/machine/SOLEIL/common/database/register_vide.m
===================================================================
--- /trunk/machine/SOLEIL/common/database/register_vide.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/database/register_vide.m	(revision 17)
@@ -0,0 +1,34 @@
+function register_vide
+
+%%
+dbserver = 'sys/database/dbds';
+serverName = 'statecomposer/ANS-VI';
+className = 'StateComposer';
+
+deviceName = 
+{
+'ANS/VI/STATECOMPOSER.1',
+'ANS-C01/VI/STATECOMPOSER.1',
+'ANS-C02/VI/STATECOMPOSER.1',
+'ANS-C03/VI/STATECOMPOSER.1',
+'ANS-C04/VI/STATECOMPOSER.1',
+'ANS-C05/VI/STATECOMPOSER.1',
+'ANS-C06/VI/STATECOMPOSER.1',
+'ANS-C07/VI/STATECOMPOSER.1',
+'ANS-C08/VI/STATECOMPOSER.1',
+'ANS-C09/VI/STATECOMPOSER.1',
+'ANS-C10/VI/STATECOMPOSER.1',
+'ANS-C11/VI/STATECOMPOSER.1',
+'ANS-C12/VI/STATECOMPOSER.1',
+'ANS-C13/VI/STATECOMPOSER.1',
+'ANS-C14/VI/STATECOMPOSER.1',
+'ANS-C15/VI/STATECOMPOSER.1',
+'ANS-C16/VI/STATECOMPOSER.1'
+}
+
+
+for k=1:3,
+    deviceName = ['LT2/VI/JPEN.' num2str(k)];
+     tango_command_inout2(dbserver,'DbAddDevice',{serverName,deviceName,className})
+%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);
+end
Index: /trunk/machine/SOLEIL/common/database/tango_staticdb_config.m
===================================================================
--- /trunk/machine/SOLEIL/common/database/tango_staticdb_config.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/database/tango_staticdb_config.m	(revision 17)
@@ -0,0 +1,959 @@
+function varargout = tango_staticdb_config(varargin)
+% TANGO_STATICDB_EDITOR M-file for tango_staticdb_config.fig
+%      TANGO_STATICDB_EDITOR, by itself, creates a new TANGO_STATICDB_EDITOR or raises the existing
+%      singleton*.
+%
+%      H = TANGO_STATICDB_EDITOR returns the handle to a new TANGO_STATICDB_EDITOR or the handle to
+%      the existing singleton*.
+%
+%      TANGO_STATICDB_EDITOR('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in TANGO_STATICDB_EDITOR.M with the given input arguments.
+%
+%      TANGO_STATICDB_EDITOR('Property','Value',...) creates a new TANGO_STATICDB_EDITOR or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before tango_staticdb_config_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to tango_staticdb_config_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help tango_staticdb_config
+
+% Last Modified by GUIDE v2.5 24-Mar-2006 11:54:22
+
+% Laurent S. Nadolski, SOLEIL
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+    'gui_Singleton',  gui_Singleton, ...
+    'gui_OpeningFcn', @tango_staticdb_config_OpeningFcn, ...
+    'gui_OutputFcn',  @tango_staticdb_config_OutputFcn, ...
+    'gui_LayoutFcn',  [] , ...
+    'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before tango_staticdb_config is made visible.
+function tango_staticdb_config_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to tango_staticdb_config (see VARARGIN)
+
+% Choose default command line output for tango_staticdb_config
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes tango_staticdb_config wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+disp('TANGO Static DataBase Configurator');
+
+set(handles.figure1,'HandleVisibility','Callback');
+set(handles.listbox_log, 'String',{[datestr(now) ': application started'], ' '});
+
+% uimenu_anneau_Callback(handles.uimenu_LT1, eventdata, handles);
+%uimenu_LT1_Callback(handles.uimenu_LT1, eventdata, handles);
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = tango_staticdb_config_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on selection change in popupmenu_group.
+function popupmenu_group_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_group contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_group
+
+contents = get(hObject,'String');
+num      = get(hObject,'Value');
+family   = contents{num};
+
+AO = getfamilydata(family);
+setappdata(handles.figure1,'AO',AO);
+setappdata(handles.figure1, 'Family', family);
+
+%% Status one devices
+valid  = find(AO.Status);
+%% Builds up attribut list for selected family
+if ~iscell(AO.DeviceName)
+    AO.DeviceName = {AO.DeviceName};
+end
+
+attributeList = tango_get_attribute_list(AO.DeviceName{valid(1)});
+
+if isnumeric(attributeList) &&  attributeList == -1
+    error('Cannot communicate with device %s',AO.DeviceName{valid(1)})
+end
+
+num = get(handles.popupmenu_attribute,'Value');
+if num > length(attributeList)
+    num = 1;
+    set(handles.popupmenu_attribute,'Value',num);
+end
+set(handles.popupmenu_attribute,'String',attributeList);
+
+%setback selected elements and property to first one
+set(handles.listbox_property,'Value',1);
+set(handles.listbox_group,'Value',1);
+set(handles.listbox_dev_property,'Value',1);
+
+popupmenu_attribute_Callback(handles.popupmenu_attribute, eventdata, handles);
+
+%% Build up command list
+% popupmenu_group_Callback(handles.popupmenu_attribute, eventdata, handles);
+
+commandList = tango_command_list_query(AO.DeviceName{valid(1)});
+
+num = get(handles.popupmenu_command,'Value');
+if num > length(attributeList)
+    num = 1;
+    set(handles.popupmenu_command,'Value',num);
+end
+
+% trick for getting a field array from a cell array
+commandOutputType = eval(['{commandList.', 'out_type}']);
+commandInputType  = eval(['{commandList.', 'in_type}']);
+setappdata(handles.figure1,'cmd_output_type',commandOutputType);
+setappdata(handles.figure1,'cmd_input_type',commandInputType);
+commandList = eval(['{commandList.', 'cmd_name}']);
+
+set(handles.popupmenu_command,'String',commandList);
+
+%% Build up a NaN attribute value pannel
+set(handles.listbox_attribute,'String', repmat('NaN',size(AO.DeviceName)));
+set(handles.listbox_dev_property,'String', repmat('NaN',size(AO.DeviceName)));
+
+%% Build up device property device list
+devPropList = tango_command_list_query(AO.DeviceName{valid(1)});
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_group_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_attribute.
+function popupmenu_attribute_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_attribute contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_attribute
+
+contents  = get(hObject,'String');
+num       = get(hObject,'Value');
+attribute = contents{num};
+
+family     = getappdata(handles.figure1,'Family');
+AO         = getappdata(handles.figure1,'AO');
+
+%% Selects valid devices
+valid  = find(AO.Status);
+%% Builds up property list for selected family
+
+if ~iscell(AO.DeviceName)
+    AO.DeviceName = cellstr(AO.DeviceName);
+end
+    
+propertyList = fieldnames(tango_attribute_query(AO.DeviceName{valid(1)}, attribute));
+
+num = get(hObject,'Value');
+if num > length(propertyList)
+    num = 1;
+    set(handles.popupmenu_property,'Value',num);
+end
+set(handles.popupmenu_property,'String',propertyList);
+
+% Reset to first item in selection list
+set(handles.listbox_property,'Value',1);
+set(handles.listbox_group,'Value',1);
+set(handles.listbox_attribute,'Value',1);
+
+popupmenu_property_Callback(handles.popupmenu_property, eventdata, handles);
+
+%set(handles.radiobutton_property,'Value',1);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_attribute_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_property.
+function popupmenu_property_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_property contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_property
+
+contents  = get(hObject,'String');
+num       = get(hObject,'Value');
+property  = contents{num};
+
+attribute  = get(handles.popupmenu_attribute,'String');
+iattribute = get(handles.popupmenu_attribute,'Value');
+AO         = getappdata(handles.figure1,'AO');
+
+
+% Status one devices
+valid  = find(AO.Status);
+
+% Update Group list
+
+if ~iscell(AO.DeviceName) 
+    AO.DeviceName = {AO.DeviceName};
+end
+
+set(handles.listbox_group,'String',AO.DeviceName(valid));
+
+% Contruct DeviceName/AttributName list
+fullTangoNames = strcat(AO.DeviceName(valid), '/', attribute{iattribute});
+
+% Builds up property list
+list = tango_get_attribute_property(fullTangoNames, property);
+set(handles.listbox_property,'String',list);
+% Reset to first item in selection list
+set(handles.listbox_property,'Value',1);
+set(handles.listbox_group,'Value',1);
+set(handles.listbox_attribute,'Value',1);
+set(handles.checkbox_all,'Value',0);
+
+writelog(['Values for property ''' char(property) ''' refreshed'],handles);
+
+%popupmenu_command_Callback(handles.popupmenu_property, eventdata, handles);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_property_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on selection change in listbox_group.
+function listbox_group_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_group contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_group
+
+idx = get(hObject,'Value');
+
+set(handles.listbox_attribute,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_property,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_dev_property,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.checkbox_all,'Value',0);
+
+% --- Executes during object creation, after setting all properties.
+function listbox_group_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_group (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in listbox_property.
+function listbox_property_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_property contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_property
+
+contents = get(hObject,'String');
+idx = get(hObject,'Value');
+
+set(handles.listbox_group,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_attribute,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_dev_property,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.checkbox_all,'Value',0);
+
+set(handles.edit_value,'String',contents{idx(1)});
+
+%select radiobutton
+set(handles.radiobutton_property,'Value',1);
+
+% --- Executes during object creation, after setting all properties.
+function listbox_property_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on button press in checkbox_all.
+function checkbox_all_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_all (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_all
+val = get(handles.listbox_group,'String');
+
+if get(hObject,'Value') == 1
+    set(handles.listbox_group,'Value',1:length(val));
+    set(handles.listbox_attribute,'Value',1:length(val));
+    set(handles.listbox_property,'Value',1:length(val));
+    set(handles.listbox_dev_property,'Value',1:length(val));
+    set(handles.listbox_group,'listboxtop',1);
+    set(handles.listbox_attribute,'listboxtop',1);
+    set(handles.listbox_property,'listboxtop',1);
+    set(handles.listbox_dev_property,'listboxtop',1);
+end
+
+function edit_value_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_value as text
+%        str2double(get(hObject,'String')) returns contents of edit_value as a double
+
+% First of all, ask for confirmation
+answer = questdlg('Do you want to apply change ?','Confirmation dialog box');
+
+switch answer
+    case 'Yes'
+
+        % Get the new value 
+        % Need to force char array
+        value = char(get(hObject,'String'));       
+
+        attribute  = get(handles.popupmenu_attribute,'String');
+        iattribute = get(handles.popupmenu_attribute,'Value');
+        property   = get(handles.popupmenu_property,'String');
+        iproperty  = get(handles.popupmenu_property,'Value');        
+        iSelected  = get(handles.listbox_group,'Value');
+        Family     = getappdata(handles.figure1, 'Family');
+        DeviceName = family2tangodev(Family);
+
+        switch get(handles.radiobutton_property,'Value')
+
+            case 1 % property change
+
+                %% Get selected element                
+                writelog(['Please wait: writting property ' property{iproperty}  '...'], handles);
+                
+                tango_set_attribute_property(strcat(DeviceName(iSelected), ...
+                    '/',attribute{iattribute}),property{iproperty}, value)
+                
+                writelog('Properties written', handles);
+                
+                % refresh display
+                popupmenu_property_Callback(handles.popupmenu_property,eventdata, handles);
+
+            case 0 %attribute change
+                                               
+               writelog(['Please wait: writting attributes ', attribute{iattribute}, '  ...'], handles);
+ 
+               value = repmat(value,size(DeviceName(iSelected),1),1);
+               writeattribute(strcat(DeviceName(iSelected), ...
+                   '/',attribute{iattribute}), value, 'QueryDB');
+
+               writelog('Attributes written', handles);
+
+                % refresh display
+                pushbutton_refresh_Callback(handles.pushbutton_refresh,eventdata, handles);
+        end
+    case {'No','Cancel'}
+        return;
+    otherwise
+        warning('Wrong answer')
+end
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_value_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_value (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --------------------------------------------------------------------
+function uimenu_linac_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_linac (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+init_uimenu(hObject, eventdata, handles);
+
+% -------------------------------------------------------------------------
+function uimenu_LT1_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_LT1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+AD = getad;
+
+if isempty(AD)
+    LT1init;
+elseif ~strcmpi(AD.Machine,'LT1')
+    LT1init;
+end
+
+writelog('LT1 loaded',handles);
+handles = init_uimenu(hObject, eventdata, handles);
+% Update handles structure
+guidata(hObject, handles);
+
+% -------------------------------------------------------------------------
+function handles = init_uimenu(hObject, eventdata, handles)
+
+%% Checked box
+all = findobj(get(hObject,'Parent'),'Type','UImenu');
+set(all, 'Checked', 'Off');
+set(hObject, 'Checked', 'On');
+
+%% Initialize popupmenu w/ first element, first attribute, first property
+listfamily = fieldnames(getfamilydata);
+set(handles.popupmenu_group,'String',listfamily);
+
+popupmenu_group_Callback(handles.popupmenu_group, eventdata, handles);
+
+% --------------------------------------------------------------------
+function uimenu_booster_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_booster (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+AD = getad;
+
+if isempty(AD)
+    boosterinit;
+elseif ~strcmpi(AD.Machine,'Booster')
+    boosterinit
+end
+
+writelog('Booster loaded',handles);
+init_uimenu(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function uimenu_LT2_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_LT2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+AD = getad;
+
+if isempty(AD)
+    LT2init
+elseif ~strcmpi(AD.Machine,'LT2')
+    LT2init;
+end
+
+writelog('LT2 loaded',handles);
+
+init_uimenu(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function uimenu_anneau_Callback(hObject, eventdata, handles)
+% hObject    handle to uimenu_anneau (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+machineName = getsubmachinename;
+
+if isempty(machineName)
+    soleilinit;
+elseif ~strcmpi(machineName,'StorageRing')
+    soleilinit
+end
+
+writelog('Ring loaded',handles);
+
+init_uimenu(hObject, eventdata, handles);
+
+% --- Executes on selection change in listbox_attribute.
+function listbox_attribute_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_attribute contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_attribute
+
+contents = get(hObject,'String');
+idx = get(hObject,'Value');
+set(handles.listbox_group,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_property,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_dev_property,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.checkbox_all,'Value',0);
+
+% Selected only first element
+% If all elements are numeric, return a char array and not a cell!
+if ischar(contents)
+    contents = cellstr(contents);
+end
+set(handles.edit_value,'String',contents{idx(1)});
+
+%select radiobutton
+set(handles.radiobutton_attribute,'Value',1);
+
+% --- Executes during object creation, after setting all properties.
+function listbox_attribute_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_attribute (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_command.
+function popupmenu_command_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_command
+
+contents  = get(hObject,'String');
+num       = get(hObject,'Value');
+command  = contents{num};
+
+setappdata(handles.figure1,'command', command);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_command_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_command (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_apply.
+function pushbutton_apply_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_apply (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Apply command
+
+answer = questdlg('Do you want to apply change ?','Confirmation dialog box');
+
+switch answer
+    case 'Yes'
+        % get selected device
+        iSelected = get(handles.listbox_group,'Value');
+
+        Family = getappdata(handles.figure1, 'Family');
+        DeviceName = family2tangodev(Family);
+
+        if isempty(iSelected)
+            writelog('Non device names selected or status 0',handles);
+            return;
+        end
+
+        valS = repmat('NaN',size(DeviceName));
+        val = cellstr(valS);
+        %get selected command
+        icmd    = get(handles.popupmenu_command,'Value');
+        cmdlist = get(handles.popupmenu_command,'String');
+        command = cmdlist{icmd};
+        
+        writelog(['Applying command: ' command], handles);
+        set(handles.listbox_attribute,'String',val);
+        
+        commandOutputType = getappdata(handles.figure1,'cmd_output_type');
+        commandOutputType = commandOutputType{icmd};
+        commandInputType  = getappdata(handles.figure1,'cmd_input_type');
+        commandInputType  = commandInputType{icmd};
+
+        switch commandOutputType
+            case {'1-by-n char'}        
+                for k = 1:length(iSelected),
+                    val0 = tango_command_inout2(DeviceName{iSelected(k)},command);
+                    val{iSelected(k)} = val0;
+                end
+                set(handles.listbox_attribute,'String',val);
+            otherwise % not output command
+                for k=1:length(iSelected),
+                    tango_command_inout2(DeviceName{iSelected(k)},command);
+                end
+        end
+        writelog('Command applied', handles);
+    case {'No','Cancel'}
+        return;
+    otherwise
+        warning('Wrong answer')
+end
+
+
+% --- Executes on button press in pushbutton_refresh.
+function pushbutton_refresh_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_refresh (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% attributes
+% refresh ALL
+ifamily = get(handles.popupmenu_group,'Value');
+family = get(handles.popupmenu_group,'String');
+
+Family = family{ifamily};
+DeviceName = family2tangodev(Family);
+
+if isempty(Family)
+    writelog('No machine loaded!',handles);
+    return
+end
+
+iattribute = get(handles.popupmenu_attribute,'Value');
+attribute  = get(handles.popupmenu_attribute,'String');
+iSelected  = get(handles.listbox_group,'Value');
+
+val  = ones(size(DeviceName))*NaN';
+valS = repmat('NaN',size(DeviceName));
+%val0 = readattribute(strcat(DeviceName,'/',char(attribute(iattribute))));
+val0 = readattribute(strcat(DeviceName(iSelected),'/',char(attribute(iattribute))));
+
+if iscellstr(val0) % See timestamp for MON as an example
+    val = cellstr(valS);
+    val(iSelected,:) = val0;
+else
+    val(iSelected) = val0;
+end
+
+% % update listbox
+ set(handles.listbox_attribute,'String',val);
+% % update editbox     
+% set(handles.edit_value,'String',val(1));
+% set(handles.listbox_attribute,'Value',1);
+% set(handles.listbox_group,'Value',1);
+% set(handles.listbox_dev_property,'Value',1);
+% set(handles.listbox_property,'Value',1);
+% % uncheck buttons
+% set(handles.checkbox_all,'Value', 0);
+
+writelog(['Values for attribute ''' char(attribute(iattribute)) ''' refreshed'],handles);
+
+% --- Executes on selection change in listbox_log.
+function listbox_log_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_log (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_log contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_log
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox_log_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_log (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function writelog(strvalue, handles)
+% Add stuff in the logging window
+
+str = get(handles.listbox_log, 'String');
+str = {str{:} [datestr(now) ': ' strvalue]};
+% update logging window
+set(handles.listbox_log, 'String',str,'ListBoxTop',length(str));
+
+
+% --- Executes on selection change in listbox_dev_property.
+function listbox_dev_property_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_dev_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_dev_property contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_dev_property
+contents = get(hObject,'String');
+idx = get(hObject,'Value');
+
+set(handles.listbox_group,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_attribute,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_property,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.listbox_dev_property,'Value',idx,'ListBoxTop',get(hObject,'ListboxTop'));
+set(handles.checkbox_all,'Value',0);
+
+set(handles.edit_value,'String',contents{idx(1)});
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox_dev_property_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_dev_property (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in popupmenu_dev_prop.
+function popupmenu_dev_prop_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_dev_prop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_dev_prop contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_dev_prop
+contents  = get(hObject,'String');
+num       = get(hObject,'Value');
+devproperty  = contents{num};
+
+setappdata(handles.figure1,'devproperty', devproperty);
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_dev_prop_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_dev_prop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_dev_propvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_dev_propvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_dev_propvalue as text
+%        str2double(get(hObject,'String')) returns contents of edit_dev_propvalue as a double
+% First of all, ask for confirmation
+answer = questdlg('Do you want to apply change ?','Confirmation dialog box');
+
+switch answer
+    case 'Yes'
+
+        % Get the new value
+        % Need to force char array
+        value = char(get(hObject,'String'));
+
+        propertyname  = get(handles.edit_dev_propname,'String');
+        propertyvalue = get(handles.edit_dev_propvalue,'String');
+        Family        = getappdata(handles.figure1, 'Family');
+        DeviceName    = family2tangodev(Family);
+
+        iSelected = get(handles.listbox_group,'Value');
+
+        val = tango_get_device_property(DeviceName(iSelected), ...
+            propertyname);
+
+        %% Get selected element
+        if isempty(val)
+            writelog(['Cancelled: property ' str2mat(propertyvalue)  'not defined'], handles);
+            set(handles.listbox_dev_property,'String', repmat('NaN',size(DeviceName)));
+        else
+            writelog(['Please wait: writting DEVICE property ' str2mat(propertyvalue)  '...'], handles);
+
+            tango_set_device_property(DeviceName(iSelected), ...
+                propertyname, propertyvalue);
+
+            writelog('Device properties written', handles);
+
+            % refresh display
+            pushbutton_dev_prop_Callback(handles.edit_dev_propvalue,eventdata, handles);
+        end
+    case {'No','Cancel'}
+        return;
+    otherwise
+        warning('Wrong answer')
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_dev_propvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_dev_propvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_dev_propname_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_dev_propname (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_dev_propname as text
+%        str2double(get(hObject,'String')) returns contents of edit_dev_propname as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_dev_propname_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_dev_propname (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_dev_prop.
+function pushbutton_dev_prop_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_dev_prop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+ifamily = get(handles.popupmenu_group,'Value');
+family  = get(handles.popupmenu_group,'String');
+
+Family        = family{ifamily};
+DeviceName    = family2tangodev(Family);
+
+if isempty(Family)
+    writelog('No machine loaded!',handles);
+    return
+end
+
+val = ones(size(DeviceName))*NaN';
+valS = repmat('NaN',size(DeviceName));
+
+property  = get(handles.edit_dev_propname,'String');
+
+val0 = tango_get_device_property(DeviceName,property);
+
+if isempty(val0)
+    writelog(['Property ''' property ''' not defined'],handles);
+    return;
+end
+
+if iscellstr(val0)
+    val = cellstr(val0);
+else
+    val = val0;
+end
+
+% unpdate listbox
+set(handles.listbox_dev_property,'String',val);
+% update editbox     
+set(handles.edit_value,'String',val(1));
+set(handles.listbox_attribute,'Value',1);
+set(handles.listbox_group,'Value',1);
+set(handles.listbox_dev_property,'Value',1);
+set(handles.listbox_property,'Value',1);
+% uncheckk buttons
+set(handles.checkbox_all,'Value', 0);
+
+writelog(['Values for property ''' property ''' refreshed'],handles);
+
Index: /trunk/machine/SOLEIL/common/diag/DserverBPM/DserverBPM.m
===================================================================
--- /trunk/machine/SOLEIL/common/diag/DserverBPM/DserverBPM.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/diag/DserverBPM/DserverBPM.m	(revision 17)
@@ -0,0 +1,558 @@
+function varargout = DserverBPM(varargin)
+% DSERVERBPM M-file for DserverBPM.fig
+%      DSERVERBPM, by itself, creates a new DSERVERBPM or raises the existing
+%      singleton*.
+%
+%      H = DSERVERBPM returns the handle to a new DSERVERBPM or the handle to
+%      the existing singleton*.
+%
+%      DSERVERBPM('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in DSERVERBPM.M with the given input arguments.
+%
+%      DSERVERBPM('Property','Value',...) creates a new DSERVERBPM or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before DserverBPM_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to DserverBPM_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help DserverBPM
+
+% Last Modified by GUIDE v2.5 05-Sep-2005 16:02:39
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @DserverBPM_OpeningFcn, ...
+                   'gui_OutputFcn',  @DserverBPM_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before DserverBPM is made visible.
+function DserverBPM_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to DserverBPM (see VARARGIN)
+
+% Choose default command line output for DserverBPM
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes DserverBPM wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = DserverBPM_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function dev_name_Callback(hObject, eventdata, handles)
+% hObject    handle to dev_name (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of dev_name as text
+%        str2double(get(hObject,'String')) returns contents of dev_name as a double
+dev=get(handles.dev_name,'String')
+val_dev=get(handles.dev_name,'value')
+mode=tango_read_attribute(dev{val_dev},'Mode');
+set(handles.Current_mode,'String',mode.value);
+
+
+Nvalues=tango_read_attribute(dev{val_dev},'NumSamples');
+set(handles.Nsamples,'String',num2str(Nvalues.value(1)));
+
+% --- Executes during object creation, after setting all properties.
+function dev_name_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to dev_name (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on button press in pushbutton3.
+function pushbutton3_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in pushbutton4.
+function pushbutton4_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+
+function Nsamples_Callback(hObject, eventdata, handles)
+% hObject    handle to Nsamples (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Nsamples as text
+%        str2double(get(hObject,'String')) returns contents of Nsamples as a double
+Nvaleurs=int32(str2num(get(handles.Nsamples,'String')));
+dev=get(handles.dev_name,'String');
+val_dev=get(handles.dev_name,'value');
+tango_write_attribute(dev{val_dev},'NumSamples',Nvaleurs);
+if tango_error==-1
+    tango_print_error_stack;
+    error('Write attribute');
+    return
+end
+    
+%test_erreur_tango;
+argout=tango_read_attribute2(dev{val_dev},'NumSamples');
+%test_erreur_tango;
+if argout.value(1)~=Nvaleurs
+    disp('Le nombre de valeurs demandees n a pas ete mis a jour');
+end
+% --- Executes during object creation, after setting all properties.
+function Nsamples_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Nsamples (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+% --- Executes on selection change in Change_mode.
+function Change_mode_Callback(hObject, eventdata, handles)
+% hObject    handle to Change_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Change_mode contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Change_mode
+val=get(handles.Change_mode,'Value')
+dev=get(handles.dev_name,'String')
+val_dev=get(handles.dev_name,'value')
+
+switch val
+    case 1
+        tango_write_attribute(dev{val_dev},'Mode','MODE_FT') 
+        %test_erreur_tango;
+    case 2
+        tango_write_attribute(dev{val_dev},'Mode','MODE_TT') 
+        %test_erreur_tango;
+    case 3
+         tango_write_attribute(dev{val_dev},'Mode','MODE_BN') 
+         set(handles.Current_mode,'String','Boo Normal');
+         set(handles.Nsamples,'string',num2str(10169));
+end;
+mode=tango_read_attribute(dev{val_dev},'Mode')
+%test_erreur_tango;
+set(handles.Current_mode,'String',mode.value);
+
+% --- Executes during object creation, after setting all properties.
+function Change_mode_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Change_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function Current_mode_Callback(hObject, eventdata, handles)
+% hObject    handle to Current_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Current_mode as text
+%        str2double(get(hObject,'String')) returns contents of Current_mode as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Current_mode_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Current_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Get_mode.
+function Get_mode_Callback(hObject, eventdata, handles)
+% hObject    handle to Get_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+dev=get(handles.dev_name,'String')
+val_dev=get(handles.dev_name,'value')
+mode=tango_read_attribute(dev{val_dev},'Mode');
+set(handles.Current_mode,'String',mode.value);
+
+% --- Executes on button press in pushbutton14.
+function Get_data_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global X Z Q Sum Va Vb Vc Vd Stop;
+
+dev=get(handles.dev_name,'String');
+val_dev=get(handles.dev_name,'value');
+
+Nsamples=int32(str2num(get(handles.Nsamples,'String')));
+%tango_write_attribute(dev{val_dev},'NumSamples',Nsamples);
+%test_erreur_tango;
+
+tango_set_timeout(dev{val_dev},30000);
+tango_get_timeout(dev{val_dev});
+Attr_name_list={'XPosVector','ZPosVector','QuadVector','SumVector','VaVector','VbVector','VcVector','VdVector'};
+Stop=0;
+while Stop==0,
+String=get(handles.Moyennage,'String');
+val=get(handles.Moyennage,'Value');
+Moyenne=str2num(String{val})
+val=get(handles.Aquisition_continue,'Value');
+switch val
+    case 0
+        Stop=1;
+    case 1
+        Stop=0;
+end
+argout=tango_read_attributes(dev{val_dev},Attr_name_list);
+%test_erreur_tango;
+X=argout(1).value;
+Z=argout(2).value;
+Q=argout(3).value;
+Sum=argout(4).value;
+Va=argout(5).value;
+Vb=argout(6).value;
+Vc=argout(7).value;
+Vd=argout(8).value;
+
+X_display=0;
+Z_display=0;
+Q_display=0;
+Sum_display=0;
+Va_display=0;
+Vb_display=0;
+Vc_display=0;
+Vd_display=0;
+
+if (Moyenne==1)
+    X_display=X;
+    Z_display=Z;
+    Q_display=Q;
+    Sum_display=Sum;
+    Va_display=Va;
+    Vb_display=Vb;
+    Vc_display=Vc;
+    Vd_display=Vd;
+    
+else
+    for i=1:Moyenne:Nsamples,    
+     X_display=[X_display,mean(X(i:i+Moyenne-1))];
+     Z_display=[Z_display,mean(Z(i:i+Moyenne-1))];
+     Q_display=[Q_display,mean(Q(i:i+Moyenne-1))];
+     Sum_display=[Sum_display,mean(Sum(i:i+Moyenne-1))];
+     Va_display=[Va_display,mean(Va(i:i+Moyenne-1))];
+     Vb_display=[Vb_display,mean(Vb(i:i+Moyenne-1))];
+     Vc_display=[Vc_display,mean(Vc(i:i+Moyenne-1))];
+     Vd_display=[Vd_display,mean(Vd(i:i+Moyenne-1))];
+     
+    end
+    X_display=X_display(2:size(X_display,2)); 
+    Z_display=Z_display(2:size(Z_display,2)); 
+    Q_display=Q_display(2:size(Q_display,2)); 
+    Sum_display=Sum_display(2:size(Sum_display,2));
+    Va_display=Va_display(2:size(Va_display,2));
+    Vb_display=Vb_display(2:size(Vb_display,2));
+    Vc_display=Vc_display(2:size(Vc_display,2));
+    Vd_display=Vd_display(2:size(Vd_display,2));
+    
+end
+
+axes(handles.Graph_X);
+plot(X_display);ylabel('mm');
+title('X');
+set(handles.Graph_X,'YLim',[-5 5]);
+%set(handles.Graph_X,'XLim',[0 200]);
+
+axes(handles.Graph_Z);
+plot(Z_display);
+title('Z');ylabel('mm');
+set(handles.Graph_Z,'YLim',[-5 5]);
+%set(handles.Graph_Z,'XLim',[0 200]);
+
+axes(handles.Graph_Q);
+plot(Q_display);title('Q');ylabel('mm');
+set(handles.Graph_Q,'YLim',[-5 5]);
+%set(handles.Graph_Q,'XLim',[0 200]);
+
+axes(handles.Graph_Somme);
+plot(Sum_display);title('Somme');
+%set(handles.Graph_Somme,'YLim',[0 1.2e9]);
+%set(handles.Graph_Somme,'XLim',[0 200]);
+
+val=get(handles.Display_channels,'Value');
+switch val
+    case 0
+    case 1
+        figure(1)
+        subplot(2,2,1);plot(Va); title('VA'); 
+        subplot(2,2,2);plot(Vb); title('VB'); 
+        subplot(2,2,3);plot(Vc); title('VC'); 
+        subplot(2,2,4);plot(Vd); title('VD'); 
+end
+        
+
+       
+val=get(handles.Detection,'Value');
+switch val
+    case 0
+    case 1
+        [Max_sum,I]=max(Sum_display)
+        seuil=0.9*Max_sum;
+        indices=find(Sum_display>seuil);
+        figure(2)
+        subplot(2,2,1);plot(indices,X_display(indices)); title('X');
+        valeur=num2str(X_display(indices));
+         legend(valeur);
+        subplot(2,2,2);plot(indices,Z_display(indices)); title('Z');
+        valeur=num2str(Z_display(indices));
+         legend(valeur);
+        subplot(2,2,3);plot(indices,Q_display(indices)); title('Q');
+        subplot(2,2,4);plot(indices,Sum_display(indices)); title('Sum'); 
+end
+        
+ pause(1);
+end
+          
+
+
+
+
+
+% --- Executes on button press in Display_channels.
+function Display_channels_Callback(hObject, eventdata, handles)
+% hObject    handle to Display_channels (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Display_channels
+global Va Vb Vc Vd;
+val=get(handles.Display_channels,'Value');
+switch val
+    case 0
+    case 1
+        figure(1)
+        subplot(2,2,1);plot(Va); title('VA'); 
+        subplot(2,2,2);plot(Vb); title('VB'); 
+        subplot(2,2,3);plot(Vc); title('VC'); 
+        subplot(2,2,4);plot(Vd); title('VD'); 
+end
+
+
+
+% --- Executes on selection change in Moyennage.
+function Moyennage_Callback(hObject, eventdata, handles)
+% hObject    handle to Moyennage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Moyennage contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Moyennage
+global X Z Q Sum Va Vb Vc Vd;
+Nsamples=str2num(get(handles.Nsamples,'String'));
+String=get(handles.Moyennage,'String');
+val=get(handles.Moyennage,'Value');
+Moyenne=str2num(String{val})
+
+hX=get(handles.Graph_X,'children');
+hZ=get(handles.Graph_Z,'children');
+hQ=get(handles.Graph_Q,'children');
+hSum=get(handles.Graph_Somme,'children');
+
+    
+X_display=0;
+Z_display=0;
+Q_display=0;
+Sum_display=0;
+Va_display=0;
+Vb_display=0;
+Vc_display=0;
+Vd_display=0;
+
+if (Moyenne==1)
+    X_display=X;
+    Z_display=Z;
+    Q_display=Q;
+    Sum_display=Sum;
+    Va_display=Va;
+    Vb_display=Vb;
+    Vc_display=Vc;
+    Vd_display=Vd;
+else
+    for i=1:Moyenne:Nsamples,    
+        X_display=[X_display,mean(X(i:i+Moyenne-1))];
+        Z_display=[Z_display,mean(Z(i:i+Moyenne-1))];
+        Q_display=[Q_display,mean(Q(i:i+Moyenne-1))];
+        Sum_display=[Sum_display,mean(Sum(i:i+Moyenne-1))];
+        Va_display=[Va_display,mean(Va(i:i+Moyenne-1))];
+        Vb_display=[Vb_display,mean(Vb(i:i+Moyenne-1))];
+        Vc_display=[Vc_display,mean(Vc(i:i+Moyenne-1))];
+        Vd_display=[Vd_display,mean(Vd(i:i+Moyenne-1))];
+    end
+    X_display=X_display(2:size(X_display,2)); 
+    Z_display=Z_display(2:size(Z_display,2)); 
+    Q_display=Q_display(2:size(Q_display,2)); 
+    Sum_display=Sum_display(2:size(Sum_display,2));
+    Va_display=Va_display(2:size(Va_display,2));
+    Vb_display=Vb_display(2:size(Vb_display,2));
+    Vc_display=Vc_display(2:size(Vc_display,2));
+    Vd_display=Vd_display(2:size(Vd_display,2));
+
+end
+
+set(hX,'YData',X_display);
+set(hZ,'YData',Z_display);
+set(hQ,'YData',Q_display);
+set(hSum,'YData',Sum_display);
+val=get(handles.Display_channels,'Value');
+switch val
+    case 0
+    case 1
+        figure(1)
+        subplot(2,2,1);plot(Va_display); title('VA'); 
+        subplot(2,2,2);plot(Vb_display); title('VB'); 
+        subplot(2,2,3);plot(Vc_display); title('VC'); 
+        subplot(2,2,4);plot(Vd_display); title('VD'); 
+end
+
+% --- Executes during object creation, after setting all properties.
+function Moyennage_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Moyennage (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+% --- Executes on button press in Stop.
+function Stop_Callback(hObject, eventdata, handles)
+% hObject    handle to Stop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global Stop;
+Stop=1;
+
+
+
+% --- Executes on button press in Aquisition_continue.
+function Aquisition_continue_Callback(hObject, eventdata, handles)
+% hObject    handle to Aquisition_continue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Aquisition_continue
+
+
+
+
+
+function Filename_Callback(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of Filename as text
+%        str2double(get(hObject,'String')) returns contents of Filename as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function Filename_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Filename (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in Save.
+function Save_Callback(hObject, eventdata, handles)
+% hObject    handle to Save (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global X Z Q Sum Va Vb Vc Vd;
+Nsamples=str2num(get(handles.Nsamples,'String'));
+dev=get(handles.dev_name,'String');
+val_dev=get(handles.dev_name,'value');
+mode=tango_read_attribute(dev{val_dev},'Mode');
+filename=get(handles.Filename,'String')
+%filepath=['c:\testni\ESRF\',filename]
+save(filename,'Nsamples','mode','X','Z','Q','Sum','Va','Vb','Vc','Vd');
+
+
+% --- Executes on button press in Detection.
+function Detection_Callback(hObject, eventdata, handles)
+% hObject    handle to Detection (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of Detection
+
+
Index: /trunk/machine/SOLEIL/common/diag/DserverBPM/booster.m
===================================================================
--- /trunk/machine/SOLEIL/common/diag/DserverBPM/booster.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/diag/DserverBPM/booster.m	(revision 17)
@@ -0,0 +1,196 @@
+function varargout = booster(varargin)
+% BOOSTER M-file for booster.fig
+%      BOOSTER, by itself, creates a new BOOSTER or raises the existing
+%      singleton*.
+%
+%      H = BOOSTER returns the handle to a new BOOSTER or the handle to
+%      the existing singleton*.
+%
+%      BOOSTER('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in BOOSTER.M with the given input arguments.
+%
+%      BOOSTER('Property','Value',...) creates a new BOOSTER or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before booster_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to booster_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Copyright 2002-2003 The MathWorks, Inc.
+
+% Edit the above text to modify the response to help booster
+
+% Last Modified by GUIDE v2.5 29-Sep-2005 17:24:34
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @booster_OpeningFcn, ...
+                   'gui_OutputFcn',  @booster_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before booster is made visible.
+function booster_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to booster (see VARARGIN)
+
+% Choose default command line output for booster
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes booster wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = booster_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in New_Orbit.
+function New_Orbit_Callback(hObject, eventdata, handles)
+% hObject    handle to New_Orbit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global Stop;
+Selected_BPMs=1:1:22;
+%orbit=rand(22,1);
+%axes(handles.Xinj)
+%plot(Selected_BPMs,orbit)
+liste={'xInj','zInj','xExt','zExt'};
+Stop=0;
+while Stop==0,
+argout=tango_read_attributes('BOO/DG/BPM-Manager',liste);
+Xinj=argout(1).value;
+Zinj=argout(2).value;
+Xext=argout(3).value;
+Zext=argout(4).value;
+axes(handles.Xinj);
+plot(Xinj);title('X injection');
+set(handles.Xinj,'XLim',[1 22]);
+axes(handles.Zinj);
+plot(Zinj);title('Z injection');
+set(handles.Zinj,'XLim',[1 22]);
+axes(handles.Xext);
+plot(Xext);title('X extraction');
+set(handles.Xext,'XLim',[1 22]);
+axes(handles.Zext);
+plot(Zext);title('Z extraction');
+set(handles.Zext,'XLim',[1 22]);
+
+
+pause(1);
+end
+
+
+
+
+
+% --- Executes on selection change in Dev_Name_Xcyc.
+function Dev_Name_Xcyc_Callback(hObject, eventdata, handles)
+% hObject    handle to Dev_Name_Xcyc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Dev_Name_Xcyc contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Dev_Name_Xcyc
+
+
+
+% --- Executes during object creation, after setting all properties.
+function Dev_Name_Xcyc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Dev_Name_Xcyc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on selection change in Dev_Name_Zcyc.
+function Dev_Name_Zcyc_Callback(hObject, eventdata, handles)
+% hObject    handle to Dev_Name_Zcyc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns Dev_Name_Zcyc contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from Dev_Name_Zcyc
+
+
+% --- Executes during object creation, after setting all properties.
+function Dev_Name_Zcyc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to Dev_Name_Zcyc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function N_samples_Callback(hObject, eventdata, handles)
+% hObject    handle to N_samples (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of N_samples as text
+%        str2double(get(hObject,'String')) returns contents of N_samples as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function N_samples_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to N_samples (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+% --- Executes on button press in Stop.
+function Stop_Callback(hObject, eventdata, handles)
+% hObject    handle to Stop (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+global Stop;
+Stop=1;
+
Index: /trunk/machine/SOLEIL/common/disperse.m
===================================================================
--- /trunk/machine/SOLEIL/common/disperse.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/disperse.m	(revision 17)
@@ -0,0 +1,42 @@
+function varargout = disperse(x)
+% DISPERSE was created so that you can stop doing things like this:
+%
+%   x1 = array(1); % ...repetitive assignments from an array
+%   x2 = array(2);
+%   x3 = array(3);
+%   x4 = array(4);
+%
+% and start doing things like this:
+%
+%   [x1 x2 x3 x4] = disperse(array);
+%
+% DISPERSE generalizes to arbitrary dimensions, and is extended to follow
+% analogous behavior on cell arrays and structure arrays. See the html
+% documentation for more details and examples.
+%
+% Example:
+%   Grab the color channels from an RGB image:
+%   [r g b] = disperse(im);
+
+% Sam Hallman
+% shallman@uci.edu
+% May 26, 2010
+
+% num2cell on column vectors is problematic
+if ndims(x)==2 && size(x,2)==1
+    x = x';
+end
+
+if isnumeric(x) || ischar(x) || islogical(x) || isstruct(x)
+    dims = 1:ndims(x)-1;
+    varargout = num2cell(x,dims);
+elseif iscell(x)
+    if size(x,1) == 1
+        varargout = x;
+    else
+        dims = 1:ndims(x)-1;
+        varargout = num2cell(x,dims);
+    end
+else
+    error('unknown data type');
+end
Index: /trunk/machine/SOLEIL/common/drawlattice.m
===================================================================
--- /trunk/machine/SOLEIL/common/drawlattice.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/drawlattice.m	(revision 17)
@@ -0,0 +1,240 @@
+function drawlattice(Offset, Scaling, hAxes)
+%DRAWLATTICE - Draws the AT lattice to a figure
+%  drawlattice(Offset {0}, Scaling {1}, hAxes {gca})
+%
+%  Programmers Note: The AT index is stored in the Userdata of each symbol.
+
+%
+%  Written by Greg Portmann
+%  Adapted for SOLEIL, Laurent S. Nadolski
+
+global THERING
+
+
+% Minimum icon width in meters
+MinIconWidth = .2;
+
+if nargin < 1
+    Offset = 0;
+end
+Offset = Offset(1);
+if nargin < 2
+    Scaling = 1;
+end
+Scaling = Scaling(1);
+
+if nargin < 3
+    hAxes = gca;
+end
+
+SPositions = findspos(THERING, 1:length(THERING)+1);
+L = SPositions(end);
+plot(hAxes, [0 L], [0 0]+Offset, 'k');
+
+% Remember the hold state then turn hold on
+HoldState = ishold(hAxes);
+hold(hAxes, 'on');
+
+
+ATIndexHCM = family2atindex(gethcmfamily);
+ATIndexVCM = family2atindex(getvcmfamily);
+
+
+% Make default icons for elements of different physical types
+for i = 1:length(THERING)
+    NumberOfFinds = 0;
+    
+    SPos = SPositions(i);
+    if isfield(THERING{i},'BendingAngle') && THERING{i}.BendingAngle
+        % make icons for bending magnets
+        NumberOfFinds = NumberOfFinds + 1;
+        IconHeight = .3;
+        IconColor = [1 0 0];
+        IconWidth = THERING{i}.Length;
+        if IconWidth < MinIconWidth % meters
+            IconWidth = MinIconWidth;
+            SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+        end
+        vx = [SPos SPos+IconWidth SPos+IconWidth SPos];
+        vy = [IconHeight IconHeight -IconHeight -IconHeight];
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-', 'Parent',hAxes);
+        set(h, 'UserData', i);
+
+        %if IconWidth < .1 % meters
+        %    set(h, 'EdgeColor', IconColor);
+        %end
+
+    elseif isfield(THERING{i},'K') && THERING{i}.K
+        % Quadrupole
+        NumberOfFinds = NumberOfFinds + 1;
+       if THERING{i}.K >= 0
+            % Focusing quadrupole           
+            IconHeight = .8;
+            IconColor = [0 0 1];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < MinIconWidth % meters
+                IconWidth = MinIconWidth;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos SPos+IconWidth/2  SPos+IconWidth SPos+IconWidth/2 SPos];
+            vy = [0          IconHeight               0      -IconHeight    0];
+        else
+            % Defocusing quadrupole
+            IconHeight = .7;
+            IconColor = [0 0 1];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < MinIconWidth % meters
+                % Center about starting point
+                IconWidth = MinIconWidth;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos+.4*IconWidth    SPos    SPos+IconWidth  SPos+.6*IconWidth  SPos+IconWidth    SPos      SPos+.4*IconWidth];
+            vy = [     0            IconHeight   IconHeight          0              -IconHeight  -IconHeight    0];
+        end
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-', 'Parent',hAxes);
+        set(h, 'UserData', i);
+        %if IconWidth < .1 % meters
+        %    set(h, 'EdgeColor', IconColor);
+        %end
+
+    elseif isfield(THERING{i},'PolynomB') && length(THERING{i}.PolynomB)>2 && (THERING{i}.PolynomB(3) || any(strcmpi(THERING{i}.FamName,{'SF','SFF','SD','SDD'})))
+        % Sextupole
+        NumberOfFinds = NumberOfFinds + 1;
+        if THERING{i}.PolynomB(3)>0 || any(strcmpi(THERING{i}.FamName,{'SF','SFF'}))
+            % Focusing sextupole
+            IconHeight = .6;
+            IconColor = [1 1 0];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < MinIconWidth % meters
+                IconWidth = MinIconWidth;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos          SPos+.25*IconWidth  SPos+.75*IconWidth  SPos+IconWidth   SPos+IconWidth   SPos+.75*IconWidth  SPos+.25*IconWidth      SPos          SPos];
+            vy = [IconHeight/3      IconHeight          IconHeight        IconHeight/3    -IconHeight/3      -IconHeight          -IconHeight     -IconHeight/3  IconHeight/3];
+        else
+            % Defocusing sextupole
+            IconHeight = .6;
+            IconColor = [1 1 0];
+            IconWidth = THERING{i}.Length;
+            if IconWidth < MinIconWidth % meters
+                IconWidth = MinIconWidth;
+                SPos = SPos - IconWidth/2 + THERING{i}.Length/2;
+            end
+            vx = [SPos+.25*IconWidth   SPos             SPos+IconWidth    SPos+0.75*IconWidth   SPos+0.75*IconWidth   SPos+IconWidth  SPos      SPos+.25*IconWidth          SPos+.25*IconWidth];
+            vy = [IconHeight/3        IconHeight          IconHeight        IconHeight/3         -IconHeight/3      -IconHeight          -IconHeight     -IconHeight/3  IconHeight/3];
+        end
+        h = patch(vx, Scaling*vy+Offset, IconColor,'LineStyle','-', 'Parent',hAxes);
+        set(h, 'UserData', i);
+        %if IconWidth < .1 % meters
+        %    set(h, 'EdgeColor', IconColor);
+        %end
+
+    elseif isfield(THERING{i},'Frequency') && isfield(THERING{i},'Voltage')
+        % RF cavity
+        NumberOfFinds = NumberOfFinds + 1;
+        IconColor = [1 0.5 0];
+        h = plot(hAxes, SPos, 0+Offset, 'o', 'MarkerFaceColor', IconColor, 'Color', IconColor, 'MarkerSize', 4);
+        set(h, 'UserData', i);
+
+    elseif strcmpi(THERING{i}.FamName,'BPM')
+        % BPM
+        NumberOfFinds = NumberOfFinds + 1;
+        IconColor = 'k';
+        h = plot(hAxes, SPos, 0+Offset, '.', 'Color', IconColor);
+        %h = plot(hAxes, SPos, 0, 'o', 'MarkerFaceColor', IconColor, 'Color', IconColor, 'MarkerSize', 1.5)
+        set(h, 'UserData', i);
+        
+    elseif strcmpi(THERING{i}.FamName,'TV')
+        % TV screen
+        NumberOfFinds = NumberOfFinds + 1;
+        IconHeight = .7;
+        IconColor = [.5 0 0];  %'k';
+        %h = plot(hAxes, SPos, 0+Offset, 'x', 'Color', IconColor);
+        h = plot(hAxes, SPos, Scaling*IconHeight+Offset, 'Marker','Square', 'MarkerFaceColor', IconColor, 'Color', IconColor, 'MarkerSize', 3.5);
+        set(h, 'UserData', i);
+    end
+    
+    % Since correctors could be a combined function magnet, test separately
+    if any(strcmpi(THERING{i}.FamName,{'COR','XCOR','YCOR','HCOR','VCOR'})) || isfield(THERING{i},'KickAngle')
+        % Corrector
+        NumberOfFinds = NumberOfFinds + 1;
+        
+        if NumberOfFinds > 1
+            IconWidth = 0;
+        else
+            IconWidth = THERING{i}.Length;
+        end
+        IconHeight = 1.0;  % was .8
+        vx = [SPos   SPos];
+
+        % Draw a line above for a HCM and below for a VCM
+        % If it's not in the ML, then draw a line above and below
+        CMFound = 1;
+        if any(i == ATIndexVCM)
+            IconColor = [0 0 0];
+            vy = [-IconHeight 0];
+            if IconWidth < MinIconWidth
+                h = plot(hAxes, vx, Scaling*vy+Offset, 'Color', IconColor);
+            else
+                IconWidth = THERING{i}.Length;
+                vx = [SPos SPos+IconWidth SPos+IconWidth SPos];
+                vy = [0 0 -IconHeight -IconHeight];
+                %vy = [IconHeight IconHeight -IconHeight -IconHeight];
+                h = patch(vx, Scaling*vy+Offset, IconColor, 'LineStyle', '-', 'Parent',hAxes);
+                if IconWidth < MinIconWidth*2 % meters
+                    set(h, 'EdgeColor', IconColor);
+                end
+            end
+            set(h, 'UserData', i);
+            CMFound = 0;
+        end
+
+        if any(i == ATIndexHCM)
+            IconColor = [0 0 0];
+            vy = [0 IconHeight];
+            if IconWidth < MinIconWidth
+                h = plot(hAxes, vx, Scaling*vy+Offset, 'Color', IconColor);
+            else
+                IconWidth = THERING{i}.Length;
+                vx = [SPos SPos+IconWidth SPos+IconWidth SPos];
+                vy = [IconHeight IconHeight 0 0];
+                %vy = [IconHeight IconHeight -IconHeight -IconHeight];
+                h = patch(vx, Scaling*vy+Offset, IconColor, 'LineStyle', '-', 'Parent',hAxes);
+                if IconWidth < MinIconWidth*2 % meters
+                    set(h, 'EdgeColor', IconColor);
+                end
+            end
+            set(h, 'UserData', i);
+            CMFound = 0;
+        end
+        
+        if CMFound
+            IconColor = [0 0 0];
+            vy = [-IconHeight IconHeight];
+            if IconWidth < MinIconWidth
+                h = plot(hAxes, vx, Scaling*vy+Offset, 'Color', IconColor);
+            else
+                IconWidth = THERING{i}.Length;
+                vx = [SPos SPos+IconWidth SPos+IconWidth SPos];
+                vy = [IconHeight IconHeight -IconHeight -IconHeight];
+                h = patch(vx, Scaling*vy+Offset, IconColor, 'LineStyle', '-', 'Parent',hAxes);
+                if IconWidth < MinIconWidth*2 % meters
+                    set(h, 'EdgeColor', IconColor);
+                end
+            end
+            set(h, 'UserData', i);
+            CMFound = 0;
+        end
+
+    end
+end
+
+
+% Leave the hold state as it was at the start
+if ~HoldState
+    hold(hAxes, 'off');
+end
+
+a = axis(hAxes);
+axis(hAxes, [0 L a(3:4)]);
+
Index: /trunk/machine/SOLEIL/common/family2coupling.m
===================================================================
--- /trunk/machine/SOLEIL/common/family2coupling.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/family2coupling.m	(revision 17)
@@ -0,0 +1,82 @@
+function [AM ErrorFlag] = family2coupling(varargin)
+%FAMILY2DEVCELL - Returns the device list for a family and a cell
+%  DeviceList = family2dev(FamilyName, StatusFlag)
+%
+%  INPUTS
+%  1. Family = Family name ('BPMx', etc.)
+%              Data Structure (only the FamilyName field is used)
+%              Accelerator Object (only the FamilyName field is used)
+%              Cell Array
+%  2. DeviceList - DeviceList eg. 1, [2 3]
+%  3. StatusFlag - 0 return all devices
+%                  1 return only devices with good status {Default}
+%
+%  OUTPUTS
+%  1. AM - Structure with matrix for uncoupled BPM
+%                  Empty if not found
+%
+%  NOTES
+%  1. Matrix = inv [ HBPMGain      HBPMCoupling
+%                 VBPMCoupling  VBPMCoupling]
+%  Data come from LOCO
+%
+%  2. File used is generated by loco_build_BPMmat
+%
+%
+%  See Also dev2family, family2common, family2dev, family2handle
+%          family2status, family2tol, family2units, family2tango
+%          loco_build_BPMmat
+
+
+%
+%  Written by Laurent S. Nadolski
+
+% TODO
+% Choose other file than golden with a 'File' Flag
+
+ErrorFlag = 0;
+BPMFamily = 'BPMx';
+
+% Load golden file
+FileName      = getfamilydata('OpsData', 'BPMGainAndCouplingFile');
+DirectoryName = getfamilydata('Directory', 'OpsData');
+FileName      = fullfile(DirectoryName, FileName);
+Data          = load(FileName);
+
+% Return only device specified
+if ~isempty(varargin)
+    if isnumeric(varargin{1})
+        DeviceList = varargin{1};
+    elseif isfamily(varargin{1})
+        BPMFamily = varargin{1};
+        if length(varargin) >= 2
+            DeviceList = varargin{2};
+        else
+            DeviceList = family2dev(BPMFamily);
+        end        
+    end
+else % take all the BPM
+    DeviceList = family2dev(BPMFamily);
+end
+
+Cinv = cell(1, size(DeviceList,1));
+
+[iFound iNotFound] = findrowindex(DeviceList, Data.AM.DeviceList);
+
+[AM.Cinv] = Data.AM.Cinv(iFound);
+
+if ~isempty(iNotFound)
+    % warning message + ones
+    for ik=1:length(iNotFound),
+        fprintf('family2coupling: BPM [%d %d] not found Gain set to unity & coupling set to zero\n', DeviceList(iNotFound(ik),:))
+        if iNotFound(ik) == 1 %first element
+            AM.Cinv = [[1 0; 0 1]; AM.Cinv(:)];
+        elseif iNotFound(ik) < size(DeviceList,1)
+            AM.Cinv = [AM.Cinv(1:iNotFound(ik)-1); [1 0; 0 1]; AM.Cinv(iNotFound(ik):end)];
+        else % last element
+            AM.Cinv = [AM.Cinv(:); [1 0; 0 1]];
+        end
+    end
+    ErrorFlag = 1;
+end
+    
Index: /trunk/machine/SOLEIL/common/family2devcell.m
===================================================================
--- /trunk/machine/SOLEIL/common/family2devcell.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/family2devcell.m	(revision 17)
@@ -0,0 +1,89 @@
+function DeviceList = family2devcell(Family, varargin);
+%FAMILY2DEVCELL - Returns the device list for a family and a cell
+%  DeviceList = family2dev(FamilyName, StatusFlag)
+%
+%  INPUTS
+%  1. Family = Family name ('BEND', 'Q1', 'S1', 'S2', 'HCOR', 'VCOR', etc.)
+%              Data Structure (only the FamilyName field is used)
+%              Accelerator Object (only the FamilyName field is used)
+%              Cell Array
+%  2. CellNumber - Cell number eg. 1, [2 3]
+%  3. StatusFlag - 0 return all devices
+%                  1 return only devices with good status {Default}
+%
+%  OUTPUTS
+%  1. DeviceList - Device list corresponding to the Family
+%                  Empty if not found
+%
+%  See Also dev2family, family2common, family2dev, family2handle
+%          family2status, family2tol, family2units, family2tango
+
+%
+%  Written by Laurent S. Nadolski
+
+if nargin == 0
+    error('Must have at least one input.');
+end
+
+% Status input
+if nargin >= 2
+    CellNumber = varargin{1};
+    if nargin >= 3
+        StatusFlag = varargin{2};
+    else
+        % This choice changes the default behavior for the entire middle layer !!!!
+        StatusFlag = 1;  % Only return good status devices
+    end
+else
+    CellNumber = 1;
+    StatusFlag = 1;  % Only return good status devices
+end
+
+%%%%%%%%%%%%%%%%%%%%%
+% Cell Array Inputs %
+%%%%%%%%%%%%%%%%%%%%%
+if iscell(Family)
+    for i = 1:length(Family)
+        if iscell(StatusFlag)
+            DeviceList{i} = family2devcell(Family{i}, StatusFlag{i});
+        else
+            DeviceList{i} = family2devcell(Family{i}, StatusFlag);
+        end
+    end
+    return    
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Family or data structure inputs beyond this point %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if isstruct(Family)
+    % Structures can be an accelerator object or a data structure (as returned by getpv)
+    if isfield(Family, 'FamilyName')
+        % Data structure
+        Family = Family.FamilyName;   
+    else
+        error('Family input of unknown type');
+    end
+end
+
+
+[DeviceList, ErrorFlag] = getfamilydata(Family, 'DeviceList');
+if isempty(DeviceList)
+    error(sprintf('%s family not found', Family));
+end
+
+ind = [];
+for k = 1:length(CellNumber)
+    ind = [ind; find(DeviceList(:,1) == CellNumber(k))];
+end
+DeviceList = DeviceList(ind,:);
+
+if StatusFlag
+    Status = getfamilydata(Family, 'Status', DeviceList);
+    if isempty(Status)
+        fprintf('   WARNING:  Status field not in the AO, hence ignored.\n');
+    else
+        DeviceList = DeviceList(find(Status),:);
+    end
+end
Index: /trunk/machine/SOLEIL/common/family2elem.m
===================================================================
--- /trunk/machine/SOLEIL/common/family2elem.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/family2elem.m	(revision 17)
@@ -0,0 +1,84 @@
+function ElementList = family2elem(Family, varargin);
+%FAMILY2elem - Returns the element list for a family
+%  ElementList = family2elem(FamilyName, StatusFlag)
+%
+%  INPUTS
+%  1. Family = Family name ('BEND', 'Q1', 'S1', 'S2', 'HCOR', 'VCOR', etc.)
+%              Data Structure (only the FamilyName field is used)
+%              Accelerator Object (only the FamilyName field is used)
+%              Cell Array
+%  2. StatusFlag - 0 return all elements
+%                  1 return only elements with good status {Default}
+%
+%  OUTPUTS
+%  1. ElementList - Element list corresponding to the Family
+%                  Empty if not found
+%
+%  EXAMPLES
+%  1. family2elem('HCOR')
+%  2. family2elem({'HCOR','VCOR'})
+%
+%  See Also dev2family, family2common, family2dev, family2handle
+%          family2status, family2tol, family2units, family2tango
+          
+%
+%  Written by Laurent S. Nadolski
+
+if nargin == 0
+    error('Must have at least one input.');
+end
+
+% Status input
+if nargin >= 2
+    StatusFlag = varargin{1};
+else
+    % This choice changes the default behavior for the entire middle layer !!!!
+    StatusFlag = 1;  % Only return good status devices
+end
+
+%%%%%%%%%%%%%%%%%%%%%
+%% Cell Array Inputs %
+%%%%%%%%%%%%%%%%%%%%%
+if iscell(Family)
+    for i = 1:length(Family)
+        if iscell(StatusFlag)
+            ElementList{i} = family2elem(Family{i}, StatusFlag{i});
+        else
+            ElementList{i} = family2elem(Family{i}, StatusFlag);
+        end
+    end
+    return    
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Family or data structure inputs beyond this point %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+if isstruct(Family)
+    % Structures can be an accelerator object or a data structure (as returned by getpv)
+    if isfield(Family, 'FamilyName')
+        % Data structure
+        Family = Family.FamilyName;   
+    else
+        error('Family input of unknown type');
+    end
+end
+
+% gets device list for Family
+[DeviceList, ErrorFlag] = getfamilydata(Family, 'DeviceList');
+if isempty(DeviceList)
+    error(sprintf('%s family not found', Family));
+end
+
+% return all elements whatever status
+ElementList = dev2elem(Family,DeviceList);
+
+% return status 1 elements
+if StatusFlag
+    Status = getfamilydata(Family, 'Status', DeviceList);
+    if isempty(Status)
+        fprintf('   WARNING:  Status field not in the AO, hence ignored.\n');
+    else
+        ElementList = dev2elem(Family,DeviceList(find(Status),:));
+    end
+end
Index: /trunk/machine/SOLEIL/common/findkeyword2.m
===================================================================
--- /trunk/machine/SOLEIL/common/findkeyword2.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/findkeyword2.m	(revision 17)
@@ -0,0 +1,26 @@
+function [varargin, OutputFlag]=findkeyword2(varargin,keyword)
+%FINDKEYWORD - Finds a keyword with a cell of strings
+%
+% INPUTS
+% 1. varargin Cell of strings
+% 2. keyword 
+%
+% OUTPUTS
+% 1. varargin - cell of string without keyword
+% 2. OutputFlag cell number if keywork found
+
+% Adapted from findkeyword by Laurent S. Nadolski
+
+OutputFlag = 0;
+if ~isempty(varargin)
+  for i = 1:length(varargin)
+    if ischar(varargin{i})
+        if strcmpi(varargin{i},keyword)
+            OutputFlag = i;
+            varargin(i) = [];
+            break
+        end
+    end
+  end
+end
+
Index: /trunk/machine/SOLEIL/common/geophone/avl2mat.m
===================================================================
--- /trunk/machine/SOLEIL/common/geophone/avl2mat.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/geophone/avl2mat.m	(revision 17)
@@ -0,0 +1,77 @@
+function [t,st,fe,unite,t0]=avl2mat(nomfichier)
+% [t,st,fe,unite,t0]=avl2mat(nomfichier);
+%
+% Utilitaire qui relit les mesures faites avec AVLS SURVIB
+% t : vecteur temps de 0 a fin mesure en s
+% st : tableau des valeurs mesures
+% fe : frequence d'echantillonnage
+% unite : tableau des unites du fichier de mesure
+% t0 : temps absolu du premier echantillon (echelle matlab)
+
+DebugFlag = 0;
+
+if nargin==0
+    disp('[t,st,fe,unite,t0]=avl2mat(nomfichier);');
+    return;
+end
+
+range='oui';
+
+%enleve extension si il y en a une !!!!
+if (length(nomfichier)>4) && strcmp(lower(nomfichier(length(nomfichier)-3:length(nomfichier))),'.avl')
+    nomfichier=nomfichier(1:length(nomfichier)-4);  
+end
+
+if (exist([nomfichier,'.avl'])==2)
+    if DebugFlag
+        disp(['Conversion au format MATLAB à partir du fichier ',nomfichier,'.avl']);
+    end
+    % on ouvre
+    fid=fopen([nomfichier,'.avl']);
+
+    %on recupere sequentiellemnt les donnees
+    Nvoies=fread(fid,1,'float64','ieee-be');
+    t0_labview=fread(fid,1,'float64','ieee-be');  
+    t0=t0_labview/(3600*24)+2/24+datenum([1904 1 1 0 0 0]);
+    t1=(t0 - datenum([1904 1 1 0 0 0]) - 2/24)*3600*24;
+    
+    fe=fread(fid,1,'float64','ieee-be');
+    NbreEch=fread(fid,1,'float64','ieee-be');
+    
+    unit=fread(fid,Nvoies,'float64','ieee-be');
+    unit_string={'V','m','m/s','m/sï¿œ','N','SPL','Pa','Eu'};
+
+    sensi=fread(fid,Nvoies,'float64','ieee-be');
+    
+    if lower(range)=='oui'
+        range_input=fread(fid,Nvoies,'float64','ieee-be');
+    else
+        range_input=zeros(size(sensi))+10;
+    end
+
+    
+    overload=zeros(size(sensi));
+    for indice=1:Nvoies,
+        unite{indice}=unit_string{unit(indice)+1};
+        st(:,indice)=fread(fid,NbreEch,'float32','ieee-be'); 
+        if max(abs(st(:,indice)*sensi(indice)))>0.95*range_input(indice)
+            overload(indice)=1;
+            disp(['   ATTENTION : overload sur la voie n° %s',num2str(indice)]);
+        end
+        
+    end
+    
+    fclose(fid);
+    % creation d'un vecteur temps relatif !
+    t=linspace(0,round(NbreEch/fe)-1/fe,NbreEch);
+    sensibilite=sensi;
+    unite=unite';
+else
+    disp(['   ATTENTION : le fichier ',nomfichier,'.avl n''est pas dans le répertoire courant'])
+    t=[];
+    st=[];
+    fe=[];
+    unite=[];
+    t0=[];
+    sensibilite=[];
+end
Index: /trunk/machine/SOLEIL/common/geophone/geophonegui.m
===================================================================
--- /trunk/machine/SOLEIL/common/geophone/geophonegui.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/geophone/geophonegui.m	(revision 17)
@@ -0,0 +1,656 @@
+function varargout = geophonegui(varargin)
+% GEOPHONEGUI M-file for geophonegui.fig
+%      GEOPHONEGUI, by itself, creates a new GEOPHONEGUI or raises the existing
+%      singleton*.
+%
+%      H = GEOPHONEGUI returns the handle to a new GEOPHONEGUI or the handle to
+%      the existing singleton*.
+%
+%      GEOPHONEGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in GEOPHONEGUI.M with the given input arguments.
+%
+%      GEOPHONEGUI('Property','Value',...) creates a new GEOPHONEGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before geophonegui_OpeningFcn gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to geophonegui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help geophonegui
+
+% Last Modified by GUIDE v2.5 24-Jul-2010 14:06:52
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @geophonegui_OpeningFcn, ...
+                   'gui_OutputFcn',  @geophonegui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before geophonegui is made visible.
+function geophonegui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to geophonegui (see VARARGIN)
+
+% Choose default command line output for geophonegui
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes geophonegui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+handles.chanId = 1;
+handles.chanName = 'Channel';
+Npoint = 24576;
+maxChan = 16; 
+handles.linearscale = 1;
+
+% Geophone names
+handles.channelName = family2common('GEO');
+
+handles.tmax = 96; % s
+handles.t  = NaN*ones(Npoint, 1);
+handles.st = NaN*ones(Npoint, maxChan);
+handles.Fe = 256; % sampling frequency
+handles.unite = NaN; % units of data
+handles.t0 = NaN; % starting time
+
+% Graphics
+handles.h1 = plot(handles.axes1, handles.t, handles.st(:,1));
+xlabel(handles.axes1, 'time (s)')
+ylabel(handles.axes1, 'Amplitude (nm)')
+
+xlim(handles.axes1, [0 handles.tmax]);
+ylim(handles.axes1, [-1000 1000]);
+hold(handles.axes1, 'on');
+handles.hline1 = plot(handles.axes1, [1 1], [-1000 1000], 'k-');
+plot(handles.axes1, [0 handles.tmax], [500 500], 'r-');
+plot(handles.axes1, [0 handles.tmax], -[500 500], 'r-');
+
+handles.h2mem = semilogy(handles.axes2, handles.t, handles.st(:,1), 'r');
+hold(handles.axes2, 'on');
+handles.h2 = plot(handles.axes2, handles.t, handles.st(:,1),'b'); 
+xlim(handles.axes2, [0 handles.Fe/2]);
+ylim(handles.axes2, [1e-12 1e-6]);
+set(handles.axes2, 'XMinorTick', 'on')
+ylabel(handles.axes2, 'PSD m/sqrt(Hz)')
+xlabel(handles.axes2, 'Frequency Hz')
+
+[X Y] = meshgrid(1:1024,(1:maxChan)/maxChan*handles.tmax);
+handles.hmesh3 = mesh(handles.axes3, X, Y, X, 'CDataMapping','scaled'); 
+view(handles.axes3, 2); %caxis(handles.axes3, 'manual');
+hold(handles.axes3, 'on');
+handles.h3 = plot(handles.axes3, handles.t, handles.st(:,1));
+% Hline for selected data
+handles.hline3 = plot(handles.axes3, [-handles.Fe/2 handles.Fe/2], [1 1], 'k-');
+ylabel(handles.axes3, 'Time (s)')
+xlabel(handles.axes3, 'Frequency Hz')
+axis(handles.axes3, [-handles.Fe/2 handles.Fe/2 0 handles.tmax])
+
+handles.h4 = semilogy(handles.axes4, handles.t, handles.st(:,1));
+xlim(handles.axes4, [0 handles.Fe/2]);
+ylim(handles.axes2, [1e-12 1e-6]);
+datacursormode('on');
+ylabel(handles.axes4, 'PSD m/sqrt(Hz)')
+xlabel(handles.axes4, 'Frequency Hz')
+
+handles.windowsize = 1024;
+set(handles.slider_windowsize, 'Value', handles.windowsize);
+set(handles.edit_windowsize, 'String', handles.windowsize);
+handles.shiftvalue = 100;
+set(handles.slider_shiftvalue, 'Value', handles.shiftvalue);
+set(handles.edit_shiftvalue, 'String', handles.shiftvalue);
+set(handles.slider_windowsize, 'Max', Npoint);
+set(handles.slider_windowsize, 'Min', 1);
+slider_step(1) = 1000/Npoint;
+slider_step(2) = 10000/Npoint;
+set(handles.slider_windowsize,'sliderstep', slider_step);
+set(handles.slider_shiftvalue, 'Max', Npoint/10);
+set(handles.slider_shiftvalue, 'Min', 1);
+slider_step(1) = 1000/Npoint;
+slider_step(2) = 10000/Npoint;
+set(handles.slider_shiftvalue,'sliderstep', slider_step);
+set(handles.slider_select, 'Min', 1);
+set(handles.slider_select, 'Max', 10);
+set(handles.slider_select, 'Value', 1);
+
+% Update handles structure
+guidata(hObject, handles);
+
+pushbutton_plot_Callback(handles.pushbutton_plot, eventdata, handles)
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = geophonegui_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on selection change in listbox_file.
+function listbox_file_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = cellstr(get(hObject,'String')) returns listbox_file contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_file
+
+contents = cellstr(get(hObject,'String'));
+val = get(hObject,'Value');
+
+if val > length(contents),
+    val = length(contents);
+    set(hObject, 'Value', val');
+end
+
+
+handles.chanName = contents{val};
+
+[handles.t,handles.st, handles.Fe, handles.unite, handles.t0] = avl2mat(handles.chanName);
+
+set(handles.text_fileName, 'String', datestr(handles.t0));
+%fprintf('time: %s\n', datestr(handles.t0));
+
+% Update handles structure
+guidata(hObject, handles);
+
+pushbutton_plot_Callback(handles.pushbutton_plot, eventdata, handles);
+slider_select_Callback(handles.slider_select, eventdata, handles);
+
+% --- Executes during object creation, after setting all properties.
+function listbox_file_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_file (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+listing = dir('*avl');
+fileList = cell(length(listing),1);
+for k=1:length(listing)
+    fileList{k} = listing(k).name;
+end
+
+set(hObject, 'String', fileList);
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% --- Executes on button press in pushbutton_plot.
+function pushbutton_plot_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_plot (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%% AXE1
+chanId = handles.chanId;
+y1 = handles.st(:,chanId)*1e9; % nm
+set(handles.h1,'XData', handles.t);
+set(handles.h1,'YData', y1); 
+[y1max idx1] = max(abs(handles.st*1e6)); % micrometer
+
+svalue = cell(length(idx1),1);
+for k=1:length(idx1)
+    svalue{k} = sprintf('%-26s: Max: %4.3f micron @ %2.0f s \n', ...
+        handles.channelName{k}, y1max(k), handles.t(idx1(k)));
+end
+
+set(handles.text_stat1, 'String', svalue, 'FontSize', 8); 
+
+% Print out at the screen level
+fprintf('%s', svalue{:});
+
+
+%% AXE2
+len = length(handles.t);
+NFFT = 2^nextpow2(len);
+y2 = abs(fft(handles.st(:,chanId), NFFT))/NFFT*sqrt(2)/sqrt(handles.Fe/NFFT);
+set(handles.h2,'XData', (1:NFFT)/NFFT*handles.Fe);
+
+if ~handles.linearscale
+    y2 = log10(y2);
+end;
+set(handles.h2,'YData', y2);
+
+%% AXE3
+fullLen = length(handles.t);
+ishift = handles.shiftvalue;
+kn = floor((fullLen-handles.windowsize)/ishift);
+set(handles.slider_select, 'Max', kn);
+slider_step(1) = 1/kn;
+slider_step(2) = 10/kn;
+set(handles.slider_select,'sliderstep', slider_step);
+
+if get(handles.slider_select, 'Value') > kn 
+    set(handles.slider_select, 'Value', kn - 10);
+end
+
+len = handles.windowsize;
+NFFT = 2^nextpow2(len);
+fftmat = zeros(kn, NFFT);
+for ik =1:kn,
+    istart = (ik-1)*ishift+1;
+    istop  = istart + handles.windowsize;
+    ivec = istart:istop;    
+    fftmat(ik,:) = abs(fftshift(fft(handles.st(ivec,chanId),NFFT)/NFFT))/sqrt(handles.Fe/NFFT);
+end
+
+f = ((0:NFFT-1)/NFFT-0.5)*handles.Fe;
+
+[X Y] = meshgrid(f,(1:kn)/kn*handles.tmax);
+if handles.linearscale
+    y = log10(fftmat);
+else
+    y = fftmat;
+end
+set(handles.hmesh3, 'XData', X, 'YData', Y, 'Zdata', y); 
+%caxis(handles.axes3, [-11 -6]); 
+%caxis(handles.axes3, 'auto')
+% Update handles structure
+guidata(hObject, handles);
+
+% --- Executes on slider movement.
+function slider_shiftvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_shiftvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+handles.shiftvalue = floor(get(hObject,'Value'));
+set(handles.edit_shiftvalue, 'String', handles.shiftvalue);
+
+% Update handles structure
+guidata(hObject, handles);
+
+slider_select_Callback(handles.slider_select, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function slider_shiftvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_shiftvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+
+function edit_windowsize_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_windowsize (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_windowsize as text
+%        str2double(get(hObject,'String')) returns contents of edit_windowsize as a double
+handles.windowsize = str2double(get(hObject,'String'));
+set(handles.slider_windowsize, 'Value', handles.windowsize);
+
+% Update handles structure
+guidata(hObject, handles);
+
+slider_select_Callback(handles.slider_select, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_windowsize_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_windowsize (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function edit_shiftvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_shiftvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_shiftvalue as text
+%        str2double(get(hObject,'String')) returns contents of edit_shiftvalue as a double
+handles.shiftvalue = str2double(get(hObject,'String'));
+set(handles.slider_shiftvalue, 'Value', handles.shiftvalue);
+
+% Update handles structure
+guidata(hObject, handles);
+
+slider_select_Callback(handles.slider_select, eventdata, handles)
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_shiftvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_shiftvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on slider movement.
+function slider_windowsize_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_windowsize (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+handles.windowsize = floor(get(hObject,'Value'));
+set(handles.edit_windowsize, 'String', handles.windowsize);
+
+% Update handles structure
+guidata(hObject, handles);
+
+slider_select_Callback(handles.slider_select, eventdata, handles)
+
+% --- Executes during object creation, after setting all properties.
+function slider_windowsize_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_windowsize (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on slider movement.
+function slider_select_Callback(hObject, eventdata, handles)
+% hObject    handle to slider_select (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+%% AXE4
+ik = floor(get(hObject,'Value'));
+istart = (ik-1)*handles.shiftvalue+1;
+istop  = istart + handles.windowsize;
+ivec = istart:istop;
+len = length(ivec);
+NFFT = 2^nextpow2(len);
+y = abs(fftshift(fft(handles.st(ivec,handles.chanId), NFFT)))/NFFT*sqrt(2)/sqrt(handles.Fe/NFFT);
+f = ((0:NFFT-1)/NFFT-0.5)*handles.Fe;
+set(handles.h4,'XData', f);
+
+if ~handles.linearscale
+    y = log10(y);
+end
+
+set(handles.h4,'YData', y);
+
+kn = get(handles.slider_select, 'Max');
+set(handles.hline3,'YData', [ik ik]*handles.tmax/kn);
+set(handles.hline1,'XData', [ik ik]*handles.tmax/kn);
+
+
+
+% --- Executes during object creation, after setting all properties.
+function slider_select_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to slider_select (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background.
+if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+end
+
+
+% --- Executes on selection change in text_stat1.
+function text_stat1_Callback(hObject, eventdata, handles)
+% hObject    handle to text_stat1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = cellstr(get(hObject,'String')) returns text_stat1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from text_stat1
+
+handles.chanId = get(hObject,'Value');
+if handles.chanId > 16,
+    handles.chanId = 16;
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+pushbutton_plot_Callback(handles.pushbutton_plot, eventdata, handles)
+slider_select_Callback(handles.slider_select, eventdata, handles)
+
+
+% --- Executes on button press in pushbutton_popgraph.
+function pushbutton_popgraph_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_popgraph (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+a = figure;
+AxeId = get(handles.popupmenu_popgraph,'Value');
+b = copyobj(handles.(sprintf('axes%d',AxeId)), a);
+% set(b, 'Position', [0.1300    0.1100    0.7750    0.3439]);
+set(b, 'Position', get(gcf, 'DefaultAxesPosition'))
+set(b, 'Units','normalized', 'OuterPosition', [0 0 1 1]);
+
+fileList = get(handles.listbox_file, 'String');
+num = get(handles.listbox_file, 'value');
+
+svalue =  fileList{num};
+addlabel(1,0,svalue);
+
+%orient tall
+
+
+% --- Executes on selection change in popupmenu_popgraph.
+function popupmenu_popgraph_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_popgraph (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu_popgraph contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_popgraph
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_popgraph_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_popgraph (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_timeseries.
+function pushbutton_timeseries_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_timeseries (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+saveFlag = get(handles.checkbox_export,'Value');
+
+channelName = handles.channelName;
+
+hfig1 =figure('Position', [25 70 1200 600]);
+
+y= handles.st(:,:)*1e9; % nm
+for k=1:8,
+    h(k)=subplot(4,2,k);
+    plot(handles.t, y(:,k)); hold on;
+    
+    % For V plane tolerance is 1 micro peak to peak
+    % For H plane tolorance is 4 micro peak to peak
+    
+    if  strcmp(channelName{k}(end), 'Z')
+        plot([0 handles.tmax], [500 500], 'r-');
+        plot([0 handles.tmax], -[500 500], 'r-');
+    end
+    
+    if  k == 15 || k == 16
+        xlabel(' Time (s)')
+    end
+    tmp = legend(sprintf('%s: %.0f nm', channelName{k}, max(abs(y(:,k)))));
+    set(tmp, 'FontSize', 8, 'Location', 'NorthEast', 'Interpreter', 'None');
+    set(tmp, 'Position', get(tmp, 'Position')+[0.004 0.03 0 0]);
+    ylabel('Position (nm)')
+end
+fileList = get(handles.listbox_file, 'String');
+num = get(handles.listbox_file, 'value');
+
+svalue =  fileList{num};
+addlabel(1,0,svalue);
+
+% Repeat necessary for save data
+linkaxes(h, 'xy');
+xlim([0 96])
+ylim([-1 1]*1e3);
+
+if saveFlag
+    name = sprintf('%s_Fig1.png', svalue(1:end-4)); 
+    %print(hfig1, name, '-dpng');
+    export_fig(name);
+end
+
+hfig2 = figure('Position', [25 70 1200 600]);
+
+for k=9:16,
+    h(k) = subplot(4,2,k-8);
+    plot(handles.t, y(:,k)); hold on;
+
+    % For V plane tolerance is 1 micro peak to peak
+    % For H plane tolorance is 4 micro peak to peak
+
+    if  strcmp(channelName{k}(end), 'Z')
+        plot([0 handles.tmax], [500 500], 'r-');
+        plot([0 handles.tmax], -[500 500], 'r-');
+    end
+    
+    if k == 15 || k == 16
+        xlabel(' Time (s)')
+    end
+    tmp = legend(sprintf('%s: %.0f nm', channelName{k}, max(abs(y(:,k)))));
+    set(tmp, 'FontSize', 8, 'Location', 'NorthEast', 'Interpreter', 'None');
+    get(tmp, 'Position')
+    set(tmp, 'Position', get(tmp, 'Position')+[0.004 0.03 0 0]);
+    ylabel('Position (nm)')
+end
+
+linkaxes(h, 'xy');
+xlim([0 96])
+ylim([-1 1]*1e3);
+
+svalue =  fileList{num};
+addlabel(1,0,svalue);
+
+if saveFlag
+    name = sprintf('%s_Fig2.png', svalue(1:end-4)); 
+    %print(hfig2, name, '-dpng');
+    export_fig(name);
+end
+
+
+% --- Executes on button press in checkbox_halfspectrum.
+function checkbox_halfspectrum_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_halfspectrum (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_halfspectrum
+
+
+if get(hObject,'Value')
+    xlim(handles.axes3, [0 handles.Fe/2])
+else
+    xlim(handles.axes3, [-handles.Fe/2 handles.Fe/2])
+end
+
+
+% --- Executes on button press in checkbox_linearscale.
+function checkbox_linearscale_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_linearscale (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_linearscale
+
+if get(hObject,'Value')
+    handles.linearscale = 1;
+else
+    handles.linearscale = 0;
+end
+
+% Update handles structure
+guidata(hObject, handles);
+
+
+% --- Executes on button press in checkbox_export.
+function checkbox_export_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_export (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_export
+
+
+
+% --- Executes on button press in pushbutton_memorize.
+function pushbutton_memorize_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_memorize (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+set(handles.h2mem,'XData', get(handles.h2, 'Xdata'));
+set(handles.h2mem,'YData', get(handles.h2, 'Ydata'));
+channelName = handles.channelName;
+
+fileList = get(handles.listbox_file, 'String');
+num = get(handles.listbox_file, 'value');
+svalue =  [fileList{num}(1:end-4), ': ', channelName{handles.chanId}];
+set(handles.text_memorize, 'String', svalue); 
Index: /trunk/machine/SOLEIL/common/geophone/trig_geophones.m
===================================================================
--- /trunk/machine/SOLEIL/common/geophone/trig_geophones.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/geophone/trig_geophones.m	(revision 17)
@@ -0,0 +1,13 @@
+function trig_geophones
+
+deviceName = 'ANS/DG/SURVIB.1';
+
+% create Tango Device Proxy
+tango_ping(deviceName);
+
+argin.svalue={'dstp://survib/declenchementtango'};
+argin.svalue={'dstp://172.17.23.160/declenchementtango'};
+argin.lvalue=int32(1);
+
+tango_command_inout2(deviceName, 'WriteBool', argin);
+
Index: /trunk/machine/SOLEIL/common/getbpmrawdata.m
===================================================================
--- /trunk/machine/SOLEIL/common/getbpmrawdata.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/getbpmrawdata.m	(revision 17)
@@ -0,0 +1,532 @@
+function varargout = getbpmrawdata(varargin)
+% GETBPMRAWDATA - Get turn by turn data for  BPM
+%
+%  INPUTS
+%  1. Device List bpm number (scalar or vector) list ([] means all valid BPM)
+%
+%  Optional input arguments
+%  2. Optional display {Default}
+%     'Display'     - Plot BPM data X,Z, Sum, Q 
+%     {'NoDisplay'} - No plotting
+%  3. 'NoArchive' - No file archive {Default}
+%     'Archive'   - Save a BPM data structure to \<Directory.BPMData>\<DispArchiveFile><Date><Time>.mat
+%                   To change the filename, included the filename after the 'Archive', '' to browse
+%                   Structure output  is forced
+%  4. 'Struct'    - Return out as a structure
+%  5. 'Freezing'  - Buffer freezing mechanism 
+%     'NoFreezing'
+%  6. 'Group'  - TAngo group mecanism 
+%     'NoGroup'
+%  7. {'XZSum'}  - Select only X Z and Sum signals
+%      'NoXZSum' or 'AllData' - Select only X Z Sum Q, Va, Vb, Vc and Vd signals
+%
+%  OUTPUTS
+%  structure output if 'Struct' precised
+%  AM
+%
+%  Vector output
+%  1. X - Horizontal data
+%  2. Z - Vertical data
+%  3. Sum - Sum signal data
+%  4. Q  - Quadrusspole signal data
+%  5. Va - electrode data
+%  6. Vb - electrode data
+%  7. Vc - electrode data
+%
+%  EXAMPLES
+%  1. Display BPM 18
+%      getbpmrawdata(18)
+%  2. Display all valid BPM and output data as a structure
+%      getbpmrawdata([],'Struct');
+%  3. Output all valid BPM data
+%      [X Z Sum Q Va Vb Vc Vd] = getbpmrawdata([],'NoDisplay');
+%  4. Archives BPM 17 and 18 w/o displaying
+%     getbpmrawdata([17; 18],'Archive','NoDisplay');
+%  5. Archives BPM 17 and 18 w/o displaying w/ buffer freezing mechanism
+%     getbpmrawdata([17; 18],'Archive','NoDisplay','Freezing');
+%  6. Idem via devicelist
+%     getbpmrawdata([17 1; 18 1],'Archive','NoDisplay','Freezing');
+%
+% See Also anabpmfirstturn, convertBPMData2CERNformat
+
+%
+% Written by Laurent S. Nadolski
+% 17 May 2006: group added
+
+% TODO freezing mechanism
+OldLiberaFlag = 0; % Booster version
+DisplayFlag   = 0;
+ArchiveFlag   = 0;
+StructureFlag = 0;
+FreezingFlag  = 0;
+GroupFlag     = 1;
+XZSumFlag     = 1;
+FileName      = '';
+varargin2     = {};
+SAFlag = 0;
+
+if ~exist('DeviceName','var')
+    DeviceName = [];
+end
+
+% Flag factory
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'SA')
+        SAFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Group')
+        GroupFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoGroup')
+        GroupFlag = 0;
+        % Marie-Agnes modification 23 mai 2006
+        varargin2 = {varargin2{:} varargin{i}};
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        StructureFlag = 1;
+        if length(varargin) > i
+            % Look for a filename as the next input
+            if ischar(varargin{i+1})
+                FileName = varargin{i+1};
+                varargin(i+1) = [];
+            end
+        end
+%        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+%        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Freezing')
+        FreezingFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoFreezing')
+        FreezingFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'XZSum')
+        XZSumFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoXZSum') || strcmpi(varargin{i},'AllData')
+        XZSumFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+Machine = getsubmachinename;
+
+switch Machine
+    case 'OldBooster'  % Modif Alex shuntant l'ancien mode BPM booster 28-08-06 
+        OldLiberaFlag = 1;
+    otherwise
+        OldLiberaFlag = 0;
+end
+
+AO = getfamilydata('BPMx');
+
+% if empty select all valid BPM
+if isempty(varargin)
+    num = 1:length(AO.DeviceName);
+    DeviceList = family2dev('BPMx');
+else
+    DeviceList = varargin{1};
+    if size(DeviceList,2) == 2 % DeviceList
+        %%
+    else %% Element list        
+        DeviceList = elem2dev('BPMx',DeviceList);
+    end    
+end
+
+% Status one devices
+Status     = family2status('BPMx',DeviceList);
+DeviceList = DeviceList(find(Status),:);
+
+if isempty(DeviceList)
+    disp('All BPM not valid')
+    AM = -1;
+    return;
+end
+
+
+%% Buffer freezing
+% Enable freezing mechanism
+
+if (FreezingFlag)
+
+    if OldLiberaFlag
+        Enablecmd   = 'EnableBufferFreezing';
+        UnFreezecmd = 'UnFreezeBuffer';
+    else
+        Enablecmd   = 'EnableDDBufferFreezing';
+        UnFreezecmd = 'UnFreezeDDBuffer';
+    end
+
+    disp([mfilename ': Enabling freezing mecanism']);
+    for k = 1:length(DeviceList)
+        tango_command_inout2(DeviceName{k},Enablecmd);
+    end
+    disp([mfilename ': Freezing BPM: pseudo synchronism']);
+    for k = 1:length(DeviceList)
+        tango_command_inout2(DeviceName{k},UnFreezecmd);
+    end
+end
+
+% Group definition
+if GroupFlag
+    if ~SAFlag
+        if OldLiberaFlag
+            attr_name = ...
+                {'XPosVector','ZPosVector', 'QuadVector', 'SumVector', ...
+                'VaVector', 'VbVector', 'VcVector', 'VdVector'};
+        else
+            if ~XZSumFlag
+                attr_name = ...
+                    {'XPosDD','ZPosDD', 'SumDD', 'QuadDD', ...
+                    'VaDD', 'VbDD', 'VcDD', 'VdDD'};
+            else
+                attr_name = {'XPosDD','ZPosDD', 'SumDD'};
+            end
+        end
+    else
+            if ~XZSumFlag
+                attr_name = ...
+                    {'XPosSA','ZPosSA', 'SumSA', 'QuadSA', ...
+                    'VaSA', 'VbSA', 'VcSA', 'VdSA'};
+            else
+                attr_name = {'XPosSA','ZPosSA', 'SumSA'};
+            end
+    end
+
+    GroupId =getfamilydata('BPMx', 'GroupId');
+
+    % get all BPMs
+    DeviceListFull = family2dev('BPMx',0);
+    % disable all
+    tango_group_disable_device2(GroupId, dev2tangodev('BPMx',DeviceListFull));
+    % Enable only valid BPM
+    tango_group_enable_device2(GroupId, dev2tangodev('BPMx',DeviceList));
+
+    % Stimulate connexion TANGO bug
+    tango_group_ping(GroupId);
+
+    if ~SAFlag
+        % Check buffer size
+        rep = tango_group_read_attribute2(GroupId,'DDBufferSize',0);
+
+        % take minimum turn number for common buffersize
+        turnNumber = min(rep);
+        if mean(rep) ~= rep(1)
+            warning(['Buffer size not the same for all BPMs: max= %d turns,  min= %d turns', ...
+                '\nCheck BPM buffer size for all BPMs'],max(rep), min(rep));
+        end
+    else
+        turnNumber = 1;
+    end
+    
+    rep = tango_group_read_attributes(GroupId,attr_name,0);
+    if tango_error == -1
+        tango_print_error_stack
+        return
+    end
+    
+    if rep.has_failed
+        disp('Error when reading data for BPM');
+        for k = 1:length(rep.dev_replies),
+            if rep.dev_replies(k).has_failed
+                fprintf('Error with device %s\n',rep.dev_replies(k).dev_name)
+                tango_print_error_stack_as_it_is(rep.dev_replies(k).attr_values(1).error)
+            end
+        end        
+        error('Programme %s Stopped', mfilename);
+    else
+        kActiveBPM = zeros(size(rep.dev_replies,2),1);
+
+        AM.DeviceName = cell(size(rep.dev_replies,2),1);
+        % initialize data
+        % read turnNumber on first BPM and assume all BPM have the same number of turns
+        %turnNumber  = readattribute([char(family2tangodev('BPMx', DeviceList(1,:))) '/DDBufferSize']);
+        AM.Data.X   = zeros(size(rep.dev_replies,2),turnNumber); 
+        AM.Data.Z   = zeros(size(rep.dev_replies,2),turnNumber); 
+        AM.Data.Sum = zeros(size(rep.dev_replies,2),turnNumber); 
+        
+        if ~XZSumFlag
+            AM.Data.Q  = zeros(size(rep.dev_replies,2),turnNumber);
+            AM.Data.Va = zeros(size(rep.dev_replies,2),turnNumber);
+            AM.Data.Vb = zeros(size(rep.dev_replies,2),turnNumber);
+            AM.Data.Vc = zeros(size(rep.dev_replies,2),turnNumber);
+            AM.Data.Vd = zeros(size(rep.dev_replies,2),turnNumber);
+        end
+        
+        % Loop over all BPM
+        for kbpm = 1:size(rep.dev_replies,2),
+            kActiveBPM(kbpm) = rep.dev_replies(kbpm).is_enabled;
+            
+            % Selected just active BPM
+            if rep.dev_replies(kbpm).is_enabled
+                %rep.dev_replies(k).attr_values(1).dev_name;
+                AM.DeviceName{kbpm} = rep.dev_replies(kbpm).attr_values(1).dev_name;
+                if length(rep.dev_replies(kbpm).attr_values(1).value) < turnNumber
+                    error('BPM %s datalength is %d <= %d', AM.DeviceName{kbpm}, ...
+                        length(rep.dev_replies(kbpm).attr_values(1).value), turnNumber);
+                end
+                AM.Data.X(kbpm,:)   = rep.dev_replies(kbpm).attr_values(1).value(1:turnNumber);
+                AM.Data.Z(kbpm,:)   = rep.dev_replies(kbpm).attr_values(2).value(1:turnNumber);
+                AM.Data.Sum(kbpm,:) = rep.dev_replies(kbpm).attr_values(3).value(1:turnNumber);
+
+                % If more than X, Z, SUM is needed
+                if ~XZSumFlag
+                    AM.Data.Q(kbpm,:)   = rep.dev_replies(kbpm).attr_values(4).value(1:turnNumber);
+                    AM.Data.Va(kbpm,:)  = rep.dev_replies(kbpm).attr_values(5).value(1:turnNumber);
+                    AM.Data.Vb(kbpm,:)  = rep.dev_replies(kbpm).attr_values(6).value(1:turnNumber);
+                    AM.Data.Vc(kbpm,:)  = rep.dev_replies(kbpm).attr_values(7).value(1:turnNumber);
+                    AM.Data.Vd(kbpm,:)  = rep.dev_replies(kbpm).attr_values(8).value(1:turnNumber);
+                end
+                %%%%%%%%%%% modification
+                klast = kbpm;
+                %%%%%%%%%%%%%%%%%%%%%%%%
+           
+                % Display Data X Z SUM
+                if DisplayFlag
+                    figure
+                    subplot(3,1,1)
+                    plot(AM.Data.X(kbpm,:))
+                    ylabel('X (mm)')
+                    grid on
+
+                    subplot(3,1,2)
+                    plot(AM.Data.Z(kbpm,:))
+                    ylabel('Z (mm)')
+                    grid on
+
+                    subplot(3,1,3)
+                    plot(AM.Data.Sum(kbpm,:))
+                    ylabel('SUM')
+                    xlabel('turn number')
+                    grid on
+                    addlabel(1,0,datestr(clock));
+                    suptitle(sprintf('Turn by turn data for %s',AM.DeviceName{kbpm}))
+                end % Display loop
+            end % enabled BPM
+        end % BPM loop
+        
+        % Selected only data for asked BPMs 
+        AM.DeviceName(find(1-kActiveBPM)) = []; % Remove empty data BPM
+        
+        % Store data in structure
+        kgoodBPM = find(kActiveBPM);
+        
+        % Slected only valid data, ie. for selectged BPM, other are zeros
+        AM.Data.X   = AM.Data.X(kgoodBPM,:);
+        AM.Data.Z   = AM.Data.Z(kgoodBPM,:);
+        AM.Data.Sum = AM.Data.Sum(kgoodBPM,:);
+        
+        if ~XZSumFlag
+            AM.Data.Q  = AM.Data.Q(kgoodBPM,:);
+            AM.Data.Va = AM.Data.Va(kgoodBPM,:);
+            AM.Data.Vb = AM.Data.Vb(kgoodBPM,:);
+            AM.Data.Vc = AM.Data.Vc(kgoodBPM,:);
+            AM.Data.Vd = AM.Data.Vd(kgoodBPM,:);
+        end
+        
+        % add description data
+        AM.TimeStamp = datestr(now);
+        AM.DataDescriptor = ['Turn by turn data for ' getsubmachinename];
+        AM.CreatedBy = mfilename;
+        AM.DeviceList = DeviceList;
+        AM.DeviceName = AM.DeviceName';
+        AM.Dcct = getdcct;
+    end
+else
+    %% loop of bpm list
+    if size(DeviceList,1) > 1
+        AM.DeviceList=[];
+        for k = 1:length(DeviceList)
+            AM0 = getbpmrawdata(DeviceList(k,:),varargin2{:},'Struct');
+            try
+                AM.DeviceName{k} = AM0.DeviceName{:};
+                AM.Data.X(k,:) = AM0.Data.X(:); AM.Data.Z(k,:) = AM0.Data.Z(:);
+                AM.Data.Sum(k,:) = AM0.Data.Sum(:); 
+                if ~XZSumFlag
+                    AM.Data.Q(k,:)  = AM0.Data.Q(:);
+                    AM.Data.Va(k,:) = AM0.Data.Va(:); AM.Data.Vb(k,:) = AM0.Data.Vb(:);
+                    AM.Data.Vc(k,:) = AM0.Data.Vc(:); AM.Data.Vd(k,:) = AM0.Data.Vd(:);
+                end
+                AM.TimeStamp = datestr(now);
+                AM.DataDescriptor = ['Turn by turn data for ' getsubmachinename];
+                AM.CreatedBy = mfilename;
+                AM.DeviceList = [AM.DeviceList; AM0.DeviceList];
+            catch
+                switch lasterr
+                    case 'Subscripted assignment dimension mismatch.'
+                        error('BPM do not have the same number of samples !!!\n see BPM %s', AM.DeviceName{k})
+                    otherwise
+                        fprintf('error %s\n', lasterr)
+                end
+            end
+        end
+
+        if (FreezingFlag)
+
+            % Disable freezing mechanism
+            if OldLiberaFlag
+                Disablecmd = 'DisableBufferFreezing';
+            else
+                Disablecmd = 'DisableDDBufferFreezing';
+            end
+
+            disp([mfilename ': disabling buffer freezing for BPM'])
+            for k = 1:length(DeviceList)
+                tango_command_inout2(DeviceName{k}, Disablecmd);
+            end
+        end
+
+    else
+        %% Loop for one BPM
+        AO = getfamilydata('BPMx');
+        DeviceName = family2tangodev('BPMx',DeviceList);
+
+        if OldLiberaFlag
+            attr_name = ...
+                {'XPosVector','ZPosVector', 'QuadVector', 'SumVector', ...
+                'VaVector', 'VbVector', 'VcVector', 'VdVector'};
+        else
+            if ~XZSumFlag
+                attr_name = ...
+                    {'XPosDD','ZPosDD', 'QuadDD', 'SumDD', ...
+                    'VaDD', 'VbDD', 'VcDD', 'VdDD'};
+            else
+                attr_name = {'XPosDD','ZPosDD', 'SumDD'};
+            end
+        end
+
+
+
+        rep = tango_read_attributes2(DeviceName{:},attr_name);
+
+        X   = rep(1).value;
+        Z   = rep(2).value;
+        Sum = rep(3).value;
+        if ~XZSumFlag
+            Q   = rep(4).value;
+            Va  = rep(5).value;
+            Vb  = rep(6).value;
+            Vc  = rep(7).value;
+            Vd  = rep(8).value;
+        end
+        %% Display part
+
+        if DisplayFlag
+            figure
+            subplot(3,1,1)
+            plot(X)
+            ylabel('X (mm)')
+            grid on
+
+            subplot(3,1,2)
+            plot(Z)
+            ylabel('Z (mm)')
+            grid on
+
+            subplot(3,1,3)
+            plot(Sum)
+            ylabel('SUM')
+            xlabel('turn number')
+            grid on
+
+            addlabel(1,0,datestr(clock));
+            suptitle(sprintf('Turn by turn data for %s',DeviceName{:}))
+        end
+
+        if StructureFlag % Build up structure            
+            AM.DeviceList = DeviceList;           
+            AM.DeviceName = DeviceName;
+            AM.Data.X   = X;
+            AM.Data.Z   = Z;
+            AM.Data.Sum = Sum;
+            if ~XZSumFlag
+                AM.Data.Q   = Q;
+                AM.Data.Va  = Va;
+                AM.Data.Vb  = Vb;
+                AM.Data.Vc  = Vc;
+                AM.Data.Vd  = Vd;
+            end
+            %time stamp of recording
+            AM.TimeStamp = datestr(now);
+            AM.DataDescriptor = ['Turn by turn data for ' getfamilydata('Machine')];
+            AM.CreatedBy  = mfilename;
+            AM.DeviceList = DeviceList;
+        end
+    end
+end
+
+if ArchiveFlag
+    % filling up data
+    % Archive data structure
+    if isempty(FileName)
+        FileName = appendtimestamp('BPMTurnByTurn');
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [DirectoryName FileName]
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select FileName', [DirectoryName FileName]);
+        if FileName == 0
+            ArchiveFlag = 0;
+            disp('   BPM measurement canceled.');
+            FileName='';
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    elseif FileName == -1
+        FileName = appendtimestamp(getfamilydata('Default', 'BPMArchiveFile'));
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM', filesep];
+        end
+        FileName = [DirectoryName, FileName];
+    end
+
+    save(FileName,'AM');
+
+end
+
+% Build up structure 
+if StructureFlag
+    varargout{1} = AM;
+else
+    if exist('AM','var') % not nice but it works
+        varargout{1} = AM.Data.X;   varargout{2}  =  AM.Data.Z;
+        varargout{3} = AM.Data.Sum;
+        if ~XZSumFlag
+            varargout{4} =  AM.Data.Q;
+            varargout{5} = AM.Data.Va;  varargout{6}  =  AM.Data.Vb;
+            varargout{7} = AM.Data.Vc;  varargout{8}  =  AM.Data.Vd;
+        end
+    else
+        varargout{1} = X;   varargout{2} =   Z;
+        varargout{3} = Sum;
+        if ~XZSumFlag
+            varargout{4} =  Q;
+            varargout{5} = Va;  varargout{6} =  Vb;
+            varargout{7} = Vc;  varargout{8} =  Vd;
+        end
+    end
+end
Index: /trunk/machine/SOLEIL/common/getcavityvoltage.m
===================================================================
--- /trunk/machine/SOLEIL/common/getcavityvoltage.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/getcavityvoltage.m	(revision 17)
@@ -0,0 +1,18 @@
+function cavityvoltage = getcavityvoltage
+%GETCAVITYVOLTAGE - read the RF cavity voltage in Volts
+%  cavityvoltage=getcavityvoltage
+%
+%  OUTPUT
+%  cavityvoltage - RF cavity voltage          [v]
+%
+%  See also setcavityvoltage, getcavity  
+
+%
+%%   Written by Jianfeng Zhang  05/2010
+
+
+
+global THERING;
+
+cavityidx = findcells(THERING,'Voltage');
+cavityvoltage = THERING{cavityidx}.Voltage;
Index: /trunk/machine/SOLEIL/common/getdvptdirectory.m
===================================================================
--- /trunk/machine/SOLEIL/common/getdvptdirectory.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/getdvptdirectory.m	(revision 17)
@@ -0,0 +1,4 @@
+function DirName = getdvptdirectory
+%
+%  See Also gotocommun
+DirName =  fullfile(getenv('MLROOT'), '../machine/SOLEIL/CommunHyperion');
Index: /trunk/machine/SOLEIL/common/getfamilytype.m
===================================================================
--- /trunk/machine/SOLEIL/common/getfamilytype.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/getfamilytype.m	(revision 17)
@@ -0,0 +1,54 @@
+function  [FamilyType, FamilyName] = getfamilytype(FamilyName)
+%GETFAMILYTYPE - Returns the family type (string matrix)
+%  FamilyType = getfamilytype(FamilyName)
+% 
+%  If FamilyName is a matrix, then a matrix of family types is returned.
+%  If the family was not found, then [] is returned
+%
+%  NOTE
+%  1. If no input, then the all families will be returned
+%     [FamilyType, FamilyName] = getfamilytype;
+%
+%  See also isfamily, getfamilylist, findmemberof
+
+%
+%  Written by Gregory J. Portmann
+
+
+AO = getao;
+
+if nargin < 1
+    FamilyName = getfamilylist;
+    AOFamilyCell = fieldnames(AO);
+else
+    if isstruct(FamilyName)
+        FamilyName = FamilyName.FamilyName;
+    end
+    AOFamilyCell = {FamilyName};
+end
+
+if isempty(AO)
+    error('Initialization is needed (aoinit)');
+end
+
+FamilyType = [];
+for i = 1:size(FamilyName,1)    
+    if isfield(AO,deblank(FamilyName(i,:)))
+        FamilyType = strvcat(FamilyType, AO.(AOFamilyCell{i}).FamilyType);
+    else
+        FamilyType = strvcat(FamilyType, ' ');
+    end
+end
+
+if nargout == 0
+    % Print to the screen
+    BlankSpaces = ' ';
+    if length(FamilyName(1,:)) > 3
+        BlankSpaces(1:length(FamilyName(1,:))-2) = ' ';
+    end
+    fprintf('   #   Name%sType\n', BlankSpaces);
+    for i = 1:size(FamilyType,1)
+        fprintf('  %2d.  %s  %s\n', i, FamilyName(i,:), FamilyType(i,:));
+    end
+end
+
Index: /trunk/machine/SOLEIL/common/getmaxsp.m
===================================================================
--- /trunk/machine/SOLEIL/common/getmaxsp.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/getmaxsp.m	(revision 17)
@@ -0,0 +1,138 @@
+function S = getmaxsp(Family, DeviceList)
+%GETMAXSP - Maximum value of the setpoint
+%
+%  FamilyName/DeviceList Method
+%  SPmax = getmaxsp(Family, DeviceList)
+%  SPmax = getmaxsp(DataStructure)
+%
+%  ChannelName Method
+%  SPmax = getmaxsp(ChannelNames)
+%
+%  CommonName Method
+%  SPmax = getmaxsp(Family, CommonName)
+%
+%  INPUTS
+%  1. Family = Family Name 
+%              Data Structure
+%              Accelerator Object
+%              Cell Array of Accelerator Objects or Family Names
+%              For CommonNames, Family=[] searches all families
+%     ChannelName = Channel access channel name
+%                   Matrix of channel names
+%                   Cell array of channel names
+%     CommonName = Common name
+%                  Matrix of common names
+%                  Cell array of common names
+%  2. DeviceList = [Sector Device #] or [element #] list {default or empty list: whole family}
+%                   Cell Array of DeviceList
+%
+%  OUTPUTS
+%  1. SPmax = Maximum setpoint of the device
+%             Empty if not found
+%
+%  See also getminsp, getfamilydata(Family, Field, 'Range')
+
+%
+% Written by Gregory J. Portmann
+% Modified by Laurent S. Nadolski
+
+S = [];
+
+if nargin == 0
+    error('At least one input required');
+end
+
+if iscell(Family)
+    if nargin >= 2
+        if ~iscell(DeviceList)
+            error('If Family is a cell array, then DeviceList must be a cell array.');
+        end
+        if length(Family) ~= length(DeviceList)
+            error('Family and DeviceList must be the same size cell arrays.');
+        end
+    end
+    
+    for i = 1:length(Family)
+        if nargin == 1
+            S{i} = getmaxsp(Family{i});
+        else            
+            S{i} = getmaxsp(Family{i}, DeviceList{i});
+        end
+    end
+    return    
+end
+
+if isstruct(Family)
+    if any(size(Family) > 1)
+        error('Only structures of size = [1 1] allowed')
+    end                
+    if isfield(Family,'FamilyName') & isfield(Family,'Field')
+        % Data structure
+        S = getfamilydata(Family.FamilyName, Family.Field, 'Range', Family.DeviceList); 
+        if ~isempty(S)
+            S = S(:,2);
+        end
+        return
+    else
+        % AO structure
+        if nargin < 2
+            S = Family.Setpoint.Range;
+        else
+            if size(DeviceList,2) == 1
+                Index = findrowindex(DeviceList, ElementList);
+            else
+                Index = findrowindex(DeviceList, Family.DeviceList);
+            end
+            S = Family.Setpoint.Range(Index,2);
+        end
+    end
+end
+
+
+if isempty(Family)
+    % Common names with no family name
+    if nargin < 2
+            error('If Family=[], 2 inputs are required.');
+    end
+    CommonNames = DeviceList;
+    for i = 1:size(CommonNames,1)
+        Family = common2family(CommonNames(i,:));
+        [FamilyIndex, ACCELERATOR_OBJECT] = isfamily(Family);
+        DeviceList = common2dev(CommonNames(i,:), ACCELERATOR_OBJECT);
+        if isempty(DeviceList) | isempty(DeviceList)
+            error('Common name could not be converted to a Family and DeviceList.');
+        end
+        S(i,:) = getmaxsp(Family, DeviceList);
+    end
+    return
+        
+elseif ~isfamily(Family(1,:))
+    % Channel name method
+    % Try to convert to a family and device
+    
+    ChannelNames = Family;
+    for i = 1:size(ChannelNames,1)
+        Family = channel2family(ChannelNames(i,:));
+        [FamilyIndex, ACCELERATOR_OBJECT] = isfamily(Family);
+        DeviceList = channel2dev(ChannelNames(i,:), ACCELERATOR_OBJECT);
+        if isempty(DeviceList) | isempty(DeviceList)
+            error('Channel name could not be converted to a Family and DeviceList.');
+        end
+        S(i,:) = getmaxsp(Family, DeviceList);
+    end
+    return
+end
+
+
+if nargin == 1
+    S = getfamilydata(Family, 'Setpoint', 'Range', []);
+else            
+    % Convert common name to a DeviceList
+    if isstr(DeviceList)
+        DeviceList = common2dev(DeviceList, Family);
+    end
+    S = getfamilydata(Family, 'Setpoint', 'Range', DeviceList);
+end
+if ~isempty(S)
+    S = S(:,2);
+end
Index: /trunk/machine/SOLEIL/common/getminsp.m
===================================================================
--- /trunk/machine/SOLEIL/common/getminsp.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/getminsp.m	(revision 17)
@@ -0,0 +1,137 @@
+function S = getminsp(Family, DeviceList)
+%GETMINSP - Gets minimum value of the setpoint
+%
+%  FamilyName/DeviceList Method
+%  SPmin = getmaxsp(Family, DeviceList)
+%  SPmin = getmaxsp(DataStructure)
+%
+%  ChannelName Method
+%  SPmin = getmaxsp(ChannelNames)
+%
+%  CommonName Method
+%  SPmin = getmaxsp(Family, CommonName)
+%
+%  INPUTS
+%  1. Family = Family Name 
+%              Data Structure
+%              Accelerator Object
+%              Cell Array of Accelerator Objects or Family Names
+%              For CommonNames, Family=[] searches all families
+%     ChannelName = Channel access channel name
+%                   Matrix of channel names
+%                   Cell array of channel names
+%     CommonName = Common name
+%                  Matrix of common names
+%                  Cell array of common names
+%  2. DeviceList = [Sector Device #] or [element #] list {default or empty list: whole family}
+%                   Cell Array of DeviceList
+%
+%  OUTPUTS
+%  1. SPmin = Minimum setpoint of the device
+%             Empty if not found
+%
+%  See also getmaxsp, getfamilydata(Family, Field, 'Range')
+
+%
+% Written by Gregory J. Portmann
+% Modified by Laurent S. Nadolski
+
+S = [];
+
+if nargin == 0
+    error('At least one input required');
+end
+
+if iscell(Family)
+    if nargin >= 2
+        if ~iscell(DeviceList)
+            error('If Family is a cell array, then DeviceList must be a cell array.');
+        end
+        if length(Family) ~= length(DeviceList)
+            error('Family and DeviceList must be the same size cell arrays.');
+        end
+    end
+    
+    for i = 1:length(Family)
+        if nargin == 1
+            S{i} = getminsp(Family{i});
+        else            
+            S{i} = getminsp(Family{i}, DeviceList{i});
+        end
+    end
+    return    
+end
+
+if isstruct(Family)
+    if any(size(Family) > 1)
+        error('Only structures of size = [1 1] allowed')
+    end                
+    if isfield(Family,'FamilyName') & isfield(Family,'Field')
+        % Data structure
+        S = getfamilydata(Family.FamilyName, Family.Field, 'Range', Family.DeviceList); 
+        if ~isempty(S)
+            S = S(:,1);
+        end
+        return
+    else
+        % AO structure
+        if nargin < 2
+            S = Family.Setpoint.Range;
+        else
+            if size(DeviceList,2) == 1
+                Index = findrowindex(DeviceList, ElementList);
+            else
+                Index = findrowindex(DeviceList, Family.DeviceList);
+            end
+            S = Family.Setpoint.Range(Index,1);
+        end
+    end
+end
+
+if isempty(Family)
+    % Common names with no family name
+    if nargin < 2
+        error('If Family=[], 2 inputs are required.');
+    end
+    CommonNames = DeviceList;
+    for i = 1:size(CommonNames,1)
+        Family = common2family(CommonNames(i,:));
+        [FamilyIndex, ACCELERATOR_OBJECT] = isfamily(Family);
+        DeviceList = common2dev(CommonNames(i,:), ACCELERATOR_OBJECT);
+        if isempty(DeviceList) | isempty(DeviceList)
+            error('Common name could not be converted to a Family and DeviceList.');
+        end
+        S(i,:) = getminsp(Family, DeviceList);
+    end
+    return
+    
+elseif ~isfamily(Family(1,:))
+    % Channel name method
+    % Try to convert to a family and device
+    
+    ChannelNames = Family;
+    for i = 1:size(ChannelNames,1)
+        Family = channel2family(ChannelNames(i,:));
+        [FamilyIndex, ACCELERATOR_OBJECT] = isfamily(Family);
+        DeviceList = channel2dev(ChannelNames(i,:), ACCELERATOR_OBJECT);
+        if isempty(DeviceList) | isempty(DeviceList)
+            error('Channel name could not be converted to a Family and DeviceList.');
+        end
+        S(i,:) = getminsp(Family, DeviceList);
+    end
+    return
+end
+
+
+if nargin == 1
+    S = getfamilydata(Family, 'Setpoint', 'Range', []);
+else            
+    % Convert common name to a DeviceList
+    if isstr(DeviceList)
+        DeviceList = common2dev(DeviceList, Family);
+    end
+    S = getfamilydata(Family, 'Setpoint', 'Range', DeviceList);
+end
+if ~isempty(S)
+    S = S(:,1);
+end
Index: /trunk/machine/SOLEIL/common/getturnbyturnposition.m
===================================================================
--- /trunk/machine/SOLEIL/common/getturnbyturnposition.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/getturnbyturnposition.m	(revision 17)
@@ -0,0 +1,450 @@
+function varargout = getturnbyturnposition(varargin)
+% getturnbyturnposition - Gets turn by turn data for  BPM
+%
+%  INPUTS
+%  1. Device List bpm number (scalar or vector) list ([] means all valid BPM)
+%
+%  Optional input arguments
+%  2. Optional display
+%     'Display'   - Plot BPM data X,Z, Sum, Q 
+%     'NoDisplay' - No plotting
+%  3. 'NoArchive' - No file archive {Default}
+%     'Archive'   - Save a dispersion data structure to \<Directory.BPMData>\<DispArchiveFile><Date><Time>.mat
+%                   To change the filename, included the filename after the 'Archive', '' to browse
+%                   Structure output  is forced
+%  4. 'Struct'    - Return out as a structure
+%  5. 'Freezing'  - Buffer freezing mechanism 
+%     'NoFreezing'
+%  6. 'Group'  - TAngo group mecanism 
+%     'NoGroup'
+%
+%  7. 'XZSumFlag' - Select only X Z and Sum signals
+%
+%  OUTPUTS
+%  structure output if 'Struct' precised
+%  AM
+%
+%  vector output
+%  1. X - Horizontal data
+%  2. Z - Vertical data
+%
+%  EXAMPLES
+%  1. Display BPM 18
+%      getturnbyturnposition(18)
+%  2. Display all valid BPM and output data as a structure
+%      getturnbyturnposition([],'Struct');
+%  3. Output all valid BPM data
+%      [X Z Sum Q Va Vb Vc Vd] = getturnbyturnposition([],'NoDisplay');
+%  4. Archives BPM 17 and 18 w/o displaying
+%     getturnbyturnposition([17; 18],'Archive','NoDisplay');
+%  5. Archives BPM 17 and 18 w/o displaying w/ buffer freezing mechanism
+%     getturnbyturnposition([17; 18],'Archive','NoDisplay','Freezing');
+%  6. Idem via devicelist
+%     getturnbyturnposition([17 1; 18 1],'Archive','NoDisplay','Freezing');
+%
+% See Also anabpmfirstturn
+
+%
+% Written by Laurent S. Nadolski
+% 17 May 2006: group added
+
+% TODO freezing mechanism
+OldLiberaFlag = 0; % Booster version
+DisplayFlag   = 1;
+ArchiveFlag   = 0;
+StructureFlag = 0;
+FreezingFlag  = 0;
+GroupFlag     = 1;
+XZSumFlag     = 0;
+FileName      = '';
+varargin2     = {};
+
+if ~exist('DeviceName','var')
+    DeviceName = [];
+end
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Group')
+        GroupFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoGroup')
+        GroupFlag = 0;
+        % Marie-Agnes modification 23 mai 2006
+        varargin2 = {varargin2{:} varargin{i}};
+        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Archive')
+        ArchiveFlag = 1;
+        StructureFlag = 1;
+%        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoArchive')
+        ArchiveFlag = 0;
+%        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Struct')
+        StructureFlag = 1;
+        varargin2 = {varargin2{:} varargin{i}};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Freezing')
+        FreezingFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoFreezing')
+        FreezingFlag = 0;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'XZSum')
+        XZSumFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+Machine = getfamilydata('SubMachine');
+
+switch Machine
+    case 'OldBooster'  % Modif Alex shuntant l'ancien mode BPM booster 28-08-06 
+        OldLiberaFlag = 1;
+    otherwise
+        OldLiberaFlag = 0;
+end
+
+AO = getfamilydata('BPMx');
+% if empty select all valid BPM
+
+if isempty(varargin)
+    num = 1:length(AO.DeviceName);
+    DeviceList = family2dev('BPMx');
+else
+    DeviceList = varargin{1};
+    if size(DeviceList,2) == 2 % DeviceList
+        %%
+    else %% Element list        
+        DeviceList = elem2dev('BPMx',DeviceList);
+    end    
+end
+
+% Status one devices
+Status     = family2status('BPMx',DeviceList);
+DeviceList = DeviceList(find(Status),:);
+
+if isempty(DeviceList)
+    disp('All BPM not valid')
+    AM = -1;
+    return;
+end
+
+%
+% % read BPM number of samples
+% % If all not the same stop program and ask action to user
+% for k = 1:length(num)
+%     modestr{k} = char(readattribute([AO.DeviceName{num(k)} '/Mode']));
+% end
+% 
+% for k = 1:length(num)
+%     sampleNumber(k) = readattribute([AO.DeviceName{num(k)} '/NumSamples']);
+% end
+% 
+% notTheSame = sampleNumber-sampleNumber(1);
+% 
+% if ~all(strcmp(modestr,modestr{1}))
+%    disp([mfilename ' STOP!']); 
+%    error('Not all BPM in the same mode')
+%    return;
+% end
+% 
+% if (sum(notTheSame) ~= 0)
+%    disp([mfilename ' STOP!']); 
+%    error('Not all BPM with the same number of samples')
+%    return;
+% end
+
+%% Buffer freezing
+% Enable freezing mechanism
+
+
+if GroupFlag
+    if ~XZSumFlag
+        attr_name = ...
+            {'XPosDD','ZPosDD', 'QuadDD', 'SumDD', ...
+            'VaDD', 'VbDD', 'VcDD', 'VdDD'};
+    else
+        attr_name = {'XPosDD','ZPosDD', 'SumDD'};
+    end
+
+    GroupId = tango_group_id('BPM');
+
+    DeviceListFull = family2dev('BPMx',0);
+    tango_group_disable_device2(GroupId, dev2tangodev('BPMx',DeviceListFull));
+    tango_group_enable_device2(GroupId, dev2tangodev('BPMx',DeviceList));
+    %rep = tango_group_read_attributes(GroupId,attr_name,0);
+
+    % Stimulate connexion TANGO bug
+    tango_group_ping(GroupId);
+    rep = tango_group_read_attributes(GroupId,attr_name,0);
+    
+    if tango_error == -1
+        tango_print_error_stack
+        return,
+    end
+    
+    if rep.has_failed
+        disp('Error when reading data for BPM');
+        for k = 1:length(rep.dev_replies),
+            if rep.dev_replies(k).has_failed
+                fprintf('Error with device %s\n',rep.dev_replies(k).dev_name)
+                tango_print_error_stack_as_it_is(rep.dev_replies(k).attr_values(1).error)
+            end
+        end        
+        error('Programme %s Stopped', mfilename);
+    else
+        vect = [];
+        for k = 1:length(rep.dev_replies),
+            % modification Marie-Agnes 23 mai 2006 c'est moche bien sur
+            vect = [vect ; rep.dev_replies(k).is_enabled];
+            
+            if rep.dev_replies(k).is_enabled
+                %rep.dev_replies(k).attr_values(1).dev_name;
+                AM.DeviceName{k} = rep.dev_replies(k).attr_values(1).dev_name;
+                AM.Data.X(k,:)   = rep.dev_replies(k).attr_values(1).value;
+                AM.Data.Z(k,:)   = rep.dev_replies(k).attr_values(2).value;
+                AM.Data.Sum(k,:) = rep.dev_replies(k).attr_values(4).value;
+                if ~XZSumFlag
+                    AM.Data.Q(k,:)   = rep.dev_replies(k).attr_values(3).value;
+                    AM.Data.Va(k,:)  = rep.dev_replies(k).attr_values(5).value;
+                    AM.Data.Vb(k,:)  = rep.dev_replies(k).attr_values(6).value;
+                    AM.Data.Vc(k,:)  = rep.dev_replies(k).attr_values(7).value;
+                    AM.Data.Vd(k,:)  = rep.dev_replies(k).attr_values(8).value;
+                end
+                %%%%%%%%%%% modification
+                klast = k;
+                %%%%%%%%%%%%%%%%%%%%%%%%
+           
+                if DisplayFlag
+                    figure
+                    subplot(3,1,1)
+                    plot(AM.Data.X(k,:))
+                    ylabel('X (mm)')
+                    grid on
+
+                    subplot(3,1,2)
+                    plot(AM.Data.Z(k,:))
+                    ylabel('Z (mm)')
+                    grid on
+
+                    subplot(3,1,3)
+                    plot(AM.Data.Sum(k,:))
+                    ylabel('SUM')
+                    xlabel('turn number')
+                    grid on
+                    addlabel(1,0,datestr(clock));
+                    suptitle(sprintf('Turn by turn data for %s',AM.DeviceName{k}))
+                end
+                
+            end
+        end
+        % modification
+        vect = vect(1:klast);
+        AM.DeviceName(find(1 - vect)) = [];
+        AM.Data.X   = AM.Data.X(find(vect),:);
+        AM.Data.Z   = AM.Data.Z(find(vect),:);
+        AM.Data.Sum = AM.Data.Sum(find(vect),:);
+        if ~XZSumFlag
+            AM.Data.Q = AM.Data.Q(find(vect),:);
+            AM.Data.Va = AM.Data.Va(find(vect),:);
+            AM.Data.Vb = AM.Data.Vb(find(vect),:);
+            AM.Data.Vc = AM.Data.Vc(find(vect),:);
+            AM.Data.Vd = AM.Data.Vd(find(vect),:);
+        end
+        %%%%%%%%%%%%%%
+        AM.TimeStamp = datestr(now);
+        AM.DataDescriptor = ['Turn by turn data for ' getsubmachinename];
+        AM.CreatedBy = mfilename;
+        AM.DeviceList = DeviceList;
+    end
+else
+    %% loop of bpm list
+    if size(DeviceList,1) > 1
+        AM.DeviceList=[];
+        for k = 1:length(DeviceList)
+            AM0 = getturnbyturnposition(DeviceList(k,:),varargin2{:},'Struct');
+            try
+                AM.DeviceName{k} = AM0.DeviceName{:};
+                AM.Data.X(k,:) = AM0.Data.X(:); AM.Data.Z(k,:) = AM0.Data.Z(:);
+                AM.Data.Sum(k,:) = AM0.Data.Sum(:); 
+                if ~XZSumFlag
+                    AM.Data.Q(k,:)  = AM0.Data.Q(:);
+                    AM.Data.Va(k,:) = AM0.Data.Va(:); AM.Data.Vb(k,:) = AM0.Data.Vb(:);
+                    AM.Data.Vc(k,:) = AM0.Data.Vc(:); AM.Data.Vd(k,:) = AM0.Data.Vd(:);
+                end
+                AM.TimeStamp = datestr(now);
+                AM.DataDescriptor = ['Turn by turn data for ' getsubmachinename];
+                AM.CreatedBy = mfilename;
+                AM.DeviceList = [AM.DeviceList; AM0.DeviceList];
+            catch
+                switch lasterr
+                    case 'Subscripted assignment dimension mismatch.'
+                        error('BPM do not have the same number of samples !!!\n see BPM %s', AM.DeviceName{k})
+                    otherwise
+                        fprintf('error %s\n', lasterr)
+                end
+            end
+        end
+
+        if (FreezingFlag)
+
+            % Disable freezing mechanism
+            if OldLiberaFlag
+                Disablecmd = 'DisableBufferFreezing';
+            else
+                Disablecmd = 'DisableDDBufferFreezing';
+            end
+
+            disp([mfilename ': disabling buffer freezing for BPM'])
+            for k = 1:length(DeviceList)
+                tango_command_inout2(DeviceName{k}, Disablecmd);
+            end
+        end
+
+    else
+        %% Loop for one BPM
+        AO = getfamilydata('BPMx');
+        DeviceName = family2tangodev('BPMx',DeviceList);
+
+        if OldLiberaFlag
+            attr_name = ...
+                {'XPosVector','ZPosVector', 'QuadVector', 'SumVector', ...
+                'VaVector', 'VbVector', 'VcVector', 'VdVector'};
+        else
+            if ~XZSumFlag
+                attr_name = ...
+                    {'XPosDD','ZPosDD', 'QuadDD', 'SumDD', ...
+                    'VaDD', 'VbDD', 'VcDD', 'VdDD'};
+            else
+                attr_name = {'XPosDD','ZPosDD', 'SumDD'};
+            end
+        end
+
+
+
+        rep = tango_read_attributes2(DeviceName{:},attr_name);
+
+        X   = rep(1).value;
+        Z   = rep(2).value;
+        Sum = rep(3).value;
+        if ~XZSumFlag
+            Q   = rep(4).value;
+            Va  = rep(5).value;
+            Vb  = rep(6).value;
+            Vc  = rep(7).value;
+            Vd  = rep(8).value;
+        end
+        %% Display part
+
+        if DisplayFlag
+            figure
+            subplot(3,1,1)
+            plot(X)
+            ylabel('X (mm)')
+            grid on
+
+            subplot(3,1,2)
+            plot(Z)
+            ylabel('Z (mm)')
+            grid on
+
+            subplot(3,1,3)
+            plot(Sum)
+            ylabel('SUM')
+            xlabel('turn number')
+            grid on
+
+            addlabel(1,0,datestr(clock));
+            suptitle(sprintf('Turn by turn data for %s',DeviceName{:}))
+        end
+
+        if StructureFlag
+            
+            AM.DeviceList = DeviceList;           
+            AM.DeviceName = DeviceName;
+            AM.Data.X   = X;
+            AM.Data.Z   = Z;
+            AM.Data.Sum = Sum;
+            if ~XZSumFlag
+                AM.Data.Q   = Q;
+                AM.Data.Va  = Va;
+                AM.Data.Vb  = Vb;
+                AM.Data.Vc  = Vc;
+                AM.Data.Vd  = Vd;
+            end
+            %time stamp of recording
+            AM.TimeStamp = datestr(now);
+            AM.DataDescriptor = ['Turn by turn data for ' getfamilydata('Machine')];
+            AM.CreatedBy  = mfilename;
+            AM.DeviceList = DeviceList;
+        end
+    end
+end
+if ArchiveFlag
+    % filling up data
+    % Archive data structure
+    if isempty(FileName)
+        FileName = appendtimestamp('BPMTurnByTurn');
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM', filesep];
+        else
+            % Make sure default directory exists
+            DirStart = pwd;
+            [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+            cd(DirStart);
+        end
+        [DirectoryName FileName]
+        [FileName, DirectoryName] = uiputfile('*.mat', 'Select Dispersion File', [DirectoryName FileName]);
+        if FileName == 0
+            ArchiveFlag = 0;
+            disp('   BPM measurement canceled.');
+            FileName='';
+            return
+        end
+        FileName = [DirectoryName, FileName];
+    elseif FileName == -1
+        FileName = appendtimestamp(getfamilydata('Default', 'BPMArchiveFile'));
+        DirectoryName = getfamilydata('Directory','BPMData');
+        if isempty(DirectoryName)
+            DirectoryName = [getfamilydata('Directory','DataRoot') 'BPM', filesep];
+        end
+        FileName = [DirectoryName, FileName];
+    end
+
+    save(FileName,'AM');
+
+end
+
+if StructureFlag
+    varargout{1} = AM;
+else
+    if exist('AM','var') % not nice but it works
+        varargout{1} = AM.Data.X;   varargout{2}  =  AM.Data.Z;
+        varargout{3} = AM.Data.Sum;
+        if ~XZSumFlag
+            varargout{4}  =  AM.Data.Q;
+            varargout{5} = AM.Data.Va;  varargout{6}  =  AM.Data.Vb;
+            varargout{7} = AM.Data.Vc;  varargout{8}  =  AM.Data.Vd;
+        end
+    else
+        varargout{1} = X;   varargout{2} =   Z;
+        varargout{3} = Sum;
+        if ~XZSumFlag
+            varargout{4} =  Q;
+            varargout{5} = Va;  varargout{6} =  Vb;
+            varargout{7} = Vc;  varargout{8} =  Vd;
+        end
+    end
+end
Index: /trunk/machine/SOLEIL/common/gev2bend.m
===================================================================
--- /trunk/machine/SOLEIL/common/gev2bend.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/gev2bend.m	(revision 17)
@@ -0,0 +1,234 @@
+function Amps = gev2bend(varargin)
+%GEV2BEND - Converts beam energy TO BEND current
+%  Bend = gev2bend(Family, Field, GeV, DeviceList, BranchFlag)
+%
+%  INPUTS
+%  1. Bend - Bend magnet family {Optional}
+%  2. Field - Field {Optional}
+%  3. GeV - Electron beam energy [GeV]
+%  4. DeviceList - Bend magnet device list to reference energy to {Default: BEND(1,1)}
+%  5. BranchFlag - 1 -> Lower branch
+%                  2 -> Upper branch {Default}
+%                  Not working at Spear yet
+%  OUTPUTS
+%  1. Amps = Bend magnet current [Amps]
+%
+%  ALGORITHM
+%  I is the root of the polynom
+%  BL = theta*BRHO
+%  p = root(-theta*Brho  + c0 + c1*I + ... + cn*I^n)
+%  I = root(p) closest to linear solution rlin
+%  Linear solution is
+%  rlin = (THETA*Brho - c0)/c1
+%
+%  See Also bend2gev
+
+%
+%  Written by Gregory J. Portmann
+%  Modified by Laurent S. Nadolski
+
+%  Default
+Family = '';
+Field = '';
+GeV = [];
+DeviceList = [];
+BranchFlag = [];
+ModeFlag = '';  % model, online, manual
+UnitsFlag = ''; % hardware, physics
+for i = length(varargin):-1:1
+    if isstruct(varargin{i})
+        % Ignore structures
+    elseif iscell(varargin{i})
+        % Ignore cells
+    elseif strcmpi(varargin{i},'Struct')
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Numeric')
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Physics')
+        UnitsFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Hardware')
+        UnitsFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Simulator') || strcmpi(varargin{i},'Model')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Online')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'Manual')
+        ModeFlag = varargin{i};
+        varargin(i) = [];
+    end        
+end
+
+if length(varargin) >= 1
+    if ischar(varargin{1})
+        Family = varargin{1};
+        varargin(1) = [];
+    else
+        GeV = varargin{1};
+        varargin(1) = [];
+        if length(varargin) >= 1
+            DeviceList = varargin{1};
+            varargin(1) = [];
+        end
+        if length(varargin) >= 1
+            BranchFlag = varargin{1};
+            varargin(1:end) = [];
+        end
+    end
+end
+if length(varargin) >= 1 & ischar(varargin{1})
+    Field = varargin{1};
+    varargin(1) = [];
+end
+if length(varargin) >= 1
+    GeV = varargin{1};
+    varargin(1) = [];
+end
+if length(varargin) >= 1
+    DeviceList = varargin{1};
+    varargin(1) = [];
+end
+if length(varargin) >= 1
+    BranchFlag = varargin{1};
+    varargin(1) = [];
+end
+
+
+if isempty(Family)
+    Family = 'BEND';
+end
+if isempty(Field)
+    Field = 'Setpoint';
+end
+
+if isempty(UnitsFlag)
+    UnitsFlag = getunits(Family);
+end
+
+if isempty(GeV)
+    if isempty(ModeFlag)
+        ModeFlag = getmode(Family);
+    end
+    if strcmpi(ModeFlag,'Simulator') || strcmpi(ModeFlag,'model')
+        GeV = getenergymodel;
+    else
+        error('GeV input required');
+    end
+end
+
+if isempty(DeviceList)
+    DeviceList = family2dev(Family);
+    if all(size(GeV)==[1 1])
+        DeviceList = DeviceList(1,:);
+    end
+end
+if isempty(BranchFlag)
+    % Default is upper branch
+    BranchFlag = 2;
+end
+
+% End of input checking
+% Machine dependant stuff below
+
+for ii = 1:size(DeviceList,1)
+    if length(GeV) == 1
+        GeV1 = GeV;
+    else
+        GeV1 = GeV(ii);
+    end
+
+       [C, Leff, MagnetType, A] = magnetcoefficients('BEND');
+
+    % Convert to BEND current
+    AcceleratorName = getfamilydata('SubMachine');
+    switch AcceleratorName
+        case {'StorageRing'}
+
+            % C = C * Leff;
+
+            %     k = 0.31537858;  %% gradient of the dipole
+            %     bprime = k * brho;
+            %     b0 = bprime * 0.392348;
+            %     bl = b0 * Leff;
+            %     k = -k;
+            % brho[Tm] = 3.33620907461447 * E[GeV]
+            % brho = GeV1*3.33620907461447;
+            % bl = -brho/5.3653*Leff;
+
+            % Solve for roots based on polynomial coefficient (coefficients already divided by Leff)
+            % p = [C(1) C(2) C(3) C(4) C(5) C(6) C(7) C(8) C(9)-bl];
+            % C(9) = 0
+
+            % p = C;
+            % p(9) = bl;
+
+            % Closest to the linear line approach
+
+            brho = getbrho(GeV1);
+            theta = 0.19634954084936; %rad <--> 11.25 degrees
+            BL = brho*theta;
+            p  = A;
+            p(end)  = A(end) - BL;
+            r1inear = (A(end)-BL) / A(end-1);
+            
+        case { 'LT2'}
+    
+            brho = getbrho(GeV1);
+            theta = 0.193789; %rad <--> 11.25 degrees
+            BL = brho*theta;
+            p  = A;
+            p(end)  = A(end) - BL;
+            r1inear = (A(end)-BL) / A(end-1);
+           
+            
+        case 'LT1'
+            brho = getbrho(GeV1);
+            theta = 0.26179938779915; %rad <--> 15 degrees
+            BL = brho*theta;
+            p  = A;
+            p(end)  = A(end) - BL;
+            r1inear = (A(end)-BL) / A(end-1);
+
+        case 'Booster'
+            brho = getbrho(GeV1);
+            theta = 0.17453292519943; %rad <--> 10 degrees
+            BL = brho*theta;
+            p  = A;
+            p(end)  = A(end) - BL;
+            r1inear = (A(end)-BL) / A(end-1);
+
+        otherwise
+            error('Unknown AcceleratorName')
+    end
+
+    % magnet current is one of the roots
+    r = roots(p);
+
+    % Choose the closest solution to the linear one
+    BEND = inf;
+    for i = 1:length(r)
+        if isreal(r(i))
+            %if r(i)>0 & abs(r(i)) < BEND(j,1)  % Smallest, positive
+            if abs(r(i) - r1inear) < abs(BEND - r1inear)  % Closest to linear solution
+                BEND = r(i);
+            end
+        end
+    end
+
+    if isinf(BEND)
+        error(sprintf('Solution for GeV=%.3f not found (all roots are complex)', GeV1));
+    end
+
+    if size(GeV,2) == 1
+        Amps(ii,1) = BEND;
+    else
+        Amps(1,ii) = BEND;
+    end
+end 
+    
+if strcmpi(UnitsFlag,'Physics')
+    Amps = hw2physics(Family, 'Setpoint', Amps, DeviceList, GeV1);
+end
Index: /trunk/machine/SOLEIL/common/iscontrolroom.m
===================================================================
--- /trunk/machine/SOLEIL/common/iscontrolroom.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/iscontrolroom.m	(revision 17)
@@ -0,0 +1,8 @@
+function Flag = iscontrolroom
+%ISCONTROLROOM - Determines wether Matlab is run in the controlroom
+
+%
+% Written by Laurent S. Nadolski
+
+% Test is done on the HOME variable to determine wether we are in the controlroom
+Flag = strcmp(getenv('HOME'), '/home/operateur');
Index: /trunk/machine/SOLEIL/common/k2amp.m
===================================================================
--- /trunk/machine/SOLEIL/common/k2amp.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/k2amp.m	(revision 17)
@@ -0,0 +1,153 @@
+function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)
+%K2AMP - Converts simulator values to amperes
+%  Amps = k2amp(Family, Field, k, DeviceList, Energy, Coefficients, K2AmpScaleFactor)
+%       or
+%  Amps = k2amp(Family, Field, k, DeviceList, Energy, MagnetCoreType, K2AmpScaleFactor)
+%
+%  Calculates the current [amperes] from the coefficients (or MagnetCoreType), "K-value", energy, and linear scale factor
+%
+%  INPUTS
+%  1. Family - Family name
+%  2. Field - Sub-field (like 'Setpoint')
+%  3. K - "K-value" in AT convention
+%          For dipole:      K = B / Brho
+%          For quadrupole:  K = B'/ Brho
+%          For sextupole:   K = B"/ Brho / 2
+%  4. DeviceList - Device list (Amps and DeviceList must have the same number of rows)
+%  5. Energy - Energy in GeV {Default: getenergy}
+%              If Energy is a vector, each output column will correspond to that energy.
+%              Energy can be anything getenergy accepts, like 'Model' or 'Online'. 
+%              (Note: If Energy is a vector, then Amps can only have 1 column) 
+%  6. Coefficients - A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used
+%  k and Coefficients must have equal number of rows or one must only have
+%  one row 
+%  7. K2AmpScaleFactor - linearly scales the output current:  Amps =
+%  K2AmpScaleFactor .* Amps
+%
+%  NOTES
+%  1. If energy is not an input or empty, then the energy is obtained from getenergy.
+%  2. Family and Field inputs are not used but there automatically part of the physics2hw call. 
+%
+% See Also amp2k, magnetcoefficients
+
+% ALGORITHM
+%
+% p = root(-k*Brho  + (c0 + c1*I + ... + cn*I^n))
+% I = root(p) closest to linear solution rlin
+% Linear solution is
+% rlin = (k*Brho - c0)/c1
+
+%
+% M. Yoon 4/8/03
+% Adapted by Laurent S. Nadolski
+% Closest solution to linear takes into account the offset term
+
+
+if nargin < 4
+    error('At least 4 inputs required');
+end
+
+if nargin < 6
+    C = [];
+end
+if isempty(C)
+    %[CC, Leff, MagnetName] = magnetcoefficients(Family);
+    C = getfamilydata(Family, Field, 'HW2PhysicsParams', DeviceList);
+    C = C{1};
+end
+
+if nargin < 5
+    Energy = [];
+end
+if isempty(Energy)
+    Energy = getenergy;
+elseif ischar(Energy)
+    Energy = getenergy(Energy);
+end
+
+
+% If k is a row vector make it a column vector
+k = k(:);
+
+
+brho = getbrho(Energy);
+
+
+% Compute roots for the expansion:  0 = -BLeff + c0*I + c1*I^2 ...
+% For dipole:      BLeff = B  * Leff
+% For quadrupole:  BLeff = B' * Leff 
+% For sextupole:   BLeff = B" * Leff
+
+%polynom = (C(8)+C(7)*Amps+C(6)*Amps^2+C(5)*Amps^3+C(4)*Amps^4+C(3)*Amps^5+C(2)*Amps^6+C(1)*Amps^7)
+%polynom = (c0+c1*Amps+c2*Amps^2+c3*Amps^3+c4*Amps^4+c5*Amps^5+c6*Amps^6+c7*Amps^7)
+
+
+if isstr(C)
+    TableLookUpFlag = 1;
+    MagnetCoreType = C;
+    [C, Leff, MagnetName] = magnetcoefficients(MagnetCoreType, k(1), 'k');
+    fprintf('k2amp: Warning magnetcoeeficient called\n');
+    k0 = k(1);
+else
+    TableLookUpFlag = 0;
+end
+
+if any(size(C,1) ~= length(k))
+    if length(k) == 1
+        k = ones(size(C,1),1) * k;
+    elseif size(C,1) == 1
+        % Ok as is
+        %C = ones(size(k,1),1) * C;
+    else
+        error('k and Coefficients must have equal number of rows or one must only have one row');
+    end
+end
+
+for j = 1:length(k)
+    % For piecewise tables, get a new polynomial
+    if TableLookUpFlag
+        if k(j) ~= k0;
+            [C, Leff, MagnetName] = magnetcoefficients(MagnetCoreType, k(j), 'k');
+            fprintf('k2amp: Warning magnetcoeeficient called\n');
+            k0 = k(j);
+        end
+    end
+
+    
+    
+    % Solve for roots based on polynomial coefficient (coefficients already divided by Leff)
+    % p = [C(1) C(2) C(3) C(4) C(5) C(6) C(7) C(8) C(9)-k(j)*brho]; 
+    
+    if size(C,1) == 1
+        p = [C(1:end-1) C(end)-k(j)*brho]; 
+        r1inear = (k(j)*brho-C(end))/C(end-1);
+    else
+        p = [C(j,1:end-1) C(j,end)-k(j)*brho]; 
+        r1inear = (k(j)*brho-C(end))/C(j,end-1);
+    end
+    
+    r = roots(p);    
+        
+    % Choose the closest solution to the linear one
+    Amps(j,1) = Inf;
+    FitError = Inf;
+    for i = 1:length(r)
+        if isreal(r(i))
+            %if r(i)>0 & abs(r(i)) < Amps(j,1)  % Smallest, positive 
+                        
+            % Closest to linear method
+            if abs(r(i)-r1inear) < abs(Amps(j,1)-r1inear)
+                Amps(j,1) = r(i);
+            end
+        end
+    end
+    
+    if isinf(Amps(j,1))
+        error(sprintf('Solution for k=%.3f not found (all roots are complex)', k(j)));
+    end
+end
+
+% Scale solution if required
+if nargin >= 7
+    Amps = Amps .* K2AmpScaleFactor;
+end
Index: /trunk/machine/SOLEIL/common/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/license.txt	(revision 17)
@@ -0,0 +1,24 @@
+Copyright (c) 2011, Sam Hallman
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/listfonction.m
===================================================================
--- /trunk/machine/SOLEIL/common/listfonction.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/listfonction.m	(revision 17)
@@ -0,0 +1,117 @@
+
+return;
+
+%% Fonctions
+
+soleilinit : initialise le middleware
+getall : cree les proxy vers tous les aimants
+
+solorbit
+soleilelementicons
+
+%% manipulation de AO
+%Accelerator Object
+showfamily('BPMx') affiche l'objet
+getfamilytype
+getao
+setao
+getad
+setad
+
+%% changer de model
+switch2online
+switch2sim
+switch2physics
+switch2hw
+
+% Configuration
+sim2machine
+
+%tune
+tune2sim
+tune2online
+tune2manual
+gettune
+settune
+
+%RF
+setrf
+getrf
+sweepenergy
+sweepenergy2
+
+physics2hw
+hw2physics
+amp2k
+k2amp
+gev2bend  % beam energy to bend current
+
+getbpmnames
+
+getfamilylist
+getlist
+
+getphysdata
+setphysdata
+
+family2dev
+getfamilydata
+
+%measurements
+measbpmresp
+measbpmsigma
+measdisp
+measdispresp
+measchro
+measchroresp
+measlifetime
+measrate
+measrespmat
+meastuneresp
+
+%%% BPM 
+getx: get H bpms
+getz: get V bpms
+soleilbpms
+getxsoleil
+getzsoleil
+getbpmsoleil
+
+checklimits
+
+%% ANNEAU
+getenergy: get energy
+getbrho: get brho
+bend2gev
+
+physics2hw Converts from 'Physics' units to 'Hardware' units
+
+% transformation
+tango2dev
+tango2common
+tango2family
+
+A modifier:
+k2amp
+magnetcoeeficients
+
+%utiliser pat configgui
+getmachineconfig
+
+makephysdata : modifier chro et tune
+
+%% GUI ou IHM
+srsetup
+plotfamily
+solorbit
+configgui
+
+%%% Fonctions pour se simplifier la vie sous matlab
+xaxis
+xaxiss
+yaxis
+yaxiss
+sleep
+popplot
+appendtimestamp
+gotodirectory
Index: /trunk/machine/SOLEIL/common/magnetcoefficients.m
===================================================================
--- /trunk/machine/SOLEIL/common/magnetcoefficients.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/magnetcoefficients.m	(revision 17)
@@ -0,0 +1,974 @@
+function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)
+%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+%
+% INPUTS
+% 1. MagnetCoreType - Family name or type of magnet
+%
+% OUTPUTS
+% 1. C vector coefficients for the polynomial expansion of the magnet field
+%    based on magnet measurements
+% 2. Leff - Effective length ie, which is used in AT
+% 3. MagnetType
+% 4. A - vector coefficients for the polynomial expansion of the curviline 
+%        integral of the magnet field based on magnet measurements
+%
+% C and A are vector coefficients for the polynomial expansion of the magnet field
+% based on magnet measurements.
+%
+% The amp2k and k2amp functions convert between the two types of units.
+%   amp2k returns BLeff, B'Leff, or B"Leff scaled by Brho if A-coefficients are used.
+%   amp2k returns B    , B'    , or B"     scaled by Brho if C-coefficients are used.
+%
+% The A coefficients are direct from magnet measurements with a DC term:
+%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B"*Leff
+%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+%
+% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B"
+%   C = A/Leff
+%
+% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+% For quadrupole:  k = B'/ Brho
+% For sextupole:   k = B"/ Brho / 2  (to be compatible with AT)
+%                  (all coefficients all divided by 2 for sextupoles)
+%
+% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+%   For SOLEIL:   BEND
+%                 Q1 - Q10 S1 - S10,
+%                 QT, HCOR, VCOR, FHCOR, FVCOR
+%
+% Leff is the effective length of the magnet
+%
+% See Also amp2k, k2amp
+
+%
+% Written by M. Yoon 4/8/03
+% Adapted By Laurent S. Nadolski354.09672
+%
+% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06
+%
+% Add a switch on accelerator 
+
+% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values
+% Or use Tango K value set to -1
+%
+% NOTE: Q11 and Q12 are not well configured yet, just quick fix
+
+
+if nargin < 1
+    error('MagnetCoreType input required');
+end
+
+if nargin < 2
+    Amps = 230;  % not sure!!!
+end
+
+if nargin < 3
+    InputType = 'Amps';
+end
+
+
+
+% For a string matrix
+if iscell(MagnetCoreType)
+    for i = 1:size(MagnetCoreType,1)
+        for j = 1:size(MagnetCoreType,2)
+            [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+        end
+    end
+    return
+end
+
+% For a string matrix
+if size(MagnetCoreType,1) > 1
+    C=[]; Leff=[]; MagnetType=[]; A=[];
+    for i = 1:size(MagnetCoreType,1)
+        [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+        C(i,:) = C1;
+        Leff(i,:) = Leff1;
+        MagnetType = strvcat(MagnetType, MagnetType1);
+        A(i,:) = A1;
+    end
+    return
+end
+
+%% get accelerator name
+AcceleratorName = getfamilydata('SubMachine');
+
+switch AcceleratorName
+    case 'LT1'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                Leff = 0.30; % 300 mm
+                % B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.8861e-4;
+                a0 =  1.19e-4;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 150 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.150; % 162 mm;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+%                 a4 =  1.49e-6;
+%                 a3 =  2.59e-5;
+%                 a2 =  1.93e-4;
+%                 a1 =  4.98e-2;
+%                 a0 =  0.0;
+                a4 =  -1.49e-6;
+                a3 =  2.59e-5;
+                a2 =  -1.93e-4;
+                a1 =  4.98e-2;
+                a0 =  8.13e-4;              
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  4.49e-4;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+    
+    case 'StorageRing'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'   
+                % Moyenne des longueurs magnï¿œtiques mesurï¿œes = 1055.548mm
+                % DÃ©calage en champ entre le dipï¿œle de rÃ©fÃ©rence et les
+                % dipï¿œles de l'Anneau = DB/B= +1.8e-03.
+                % On part de l'ï¿œtalonnage B(I) effectuï¿œ sur le dipï¿œle de
+                % rï¿œfï¿œrence dans la zone de courant 516 - 558 A 
+                % les coefficients du fit doivent ï¿œtre affectï¿œs du facteur
+                % (1-1.8e-3) pour passer du dipï¿œle de rï¿œfï¿œrence ï¿œ l'Anneau
+                % et du facteur Leff pour passer ï¿œ l'intï¿œgrale de champ.
+                % 
+                
+                % B=1.7063474 T correspond ï¿œ 2.75 GeV 
+                % ?  longueur magnÃ©tique du model : Leff = 1.052433;
+%                 Leff=1.055548;
+%                 a7= 0.0;
+%                 a6=-0.0;
+%                 a5= 0.0;
+%                 a4=-0.0;
+%                 a3= 0.0;
+%                 a2=-9.7816E-6*(1-1.8e-3)*Leff;
+%                 a1= 1.26066E-02*(1-1.8E-3)*Leff;
+%                 a0= -2.24944*(1-1.8E-3)*Leff;
+%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'Q1','Q6', 'Q11'}  
+                % Familles Q1 et Q6 l= 320 mm 
+                % Etalonnage GL(I) sur 90 - 150 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q1 et Q6 dï¿œfocalisants
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                % Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+%                   bob=1-8.0e-3-2.3e-3+3e-3;
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+
+        % G. Portmann
+%                 % Just a way to get the correct polynomial for different k-values
+%                 if strcmpi(InputType, 'K')
+%                     if Amps < 0.18928717429288
+%                         Amps = 10;
+%                     elseif Amps < 0.75086308092911
+%                         Amps = 50;
+%                     elseif Amps < 1.31229873800730
+%                         Amps = 100;
+%                     elseif Amps < 1.68337408687106
+%                         Amps = 150;
+%                     elseif Amps < 2.04021595285003
+%                         Amps = 200;
+%                     else
+%                         Amps = 230;
+%                     end
+%                 end
+        % G. Portmann
+                
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -8.6E-7*(-1)*(1.003)*bob;
+                a1=  2.7664E-2*(1.003)*bob;
+                a0=  -3.3E-3*(-1)*(1.003)*bob;
+%                 a7=  0.0;
+%                 a6=  0.0;
+%                 a5=  0.0;
+%                 a4=  0.0;
+%                 a3=  0.0;
+%                 a2=  -8.6E-7*(-1)*bob;
+%                 a1=  2.7664E-2*bob;
+%                 a0=  -3.3E-3*(-1)*bob;
+       % G. Portmann                
+%                 if Amps < 20
+%                     a2=  0.0;
+%                     a1=  0.027473;
+%                     a0=  0.0;
+%                 elseif Amps < 80
+%                     a2=  0.0;
+%                     a1=  0.027473;
+%                     a0=  0.006270;
+%                  elseif Amps < 140
+%                     a2= -5.6000e-7;
+%                     a1=  2.7598e-2;
+%                     a0=  2.1000e-4;
+%                  elseif Amps < 180
+%                     a3= -3.25400e-8;
+%                     a2=  1.05300e-5;
+%                     a1=  2.63758e-2;
+%                     a0=  4.30800e-2;
+%                  elseif Amps < 220
+%                     a4= -1.14374e-8;
+%                     a3=  8.69384e-6;
+%                     a2= -2.49129e-3;
+%                     a1=  3.45626e-1;
+%                     a0= -1.52486e+1;
+%                 else
+%                     a5= -3.417777770e-8;
+%                     a4=  3.992090910e-5;
+%                     a3= -1.864441566e-2;
+%                     a2=  4.351937350e+0;
+%                     a1= -5.076535920e+2;
+%                     a0=  2.367859440e+4;
+%                 end
+         % G. Portmann
+         
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad';
+                
+             case {'Q8','Q9'}  
+                % Familles Q8 et Q9 l= 320 mm 
+                % Etalonnage GL(I) sur 160 - 200 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q8 et Q9 dï¿œfocalisants
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                % Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -8.843E-8*(1.003)*bob;
+                a2=  3.6389E-5*(-1)*(1.003)*bob;
+                a1=  2.2448E-2*(1.003)*bob;
+                a0=  2.382E-1*(-1)*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad';  
+                
+            case {'Q3'}  
+                % Famille Q3 l= 320 mm 
+                % Etalonnage GL(I) sur 50 - 100 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q3 est dï¿œfocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.;
+                a2=  1.4E-7*(-1)*(1.003)*bob;
+                a1=  2.7471E-2*(1.003)*bob;
+                a0=  5.83E-3*(-1)*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad'; 
+                
+             case {'Q4'}  
+                % Famille Q4 l= 320 mm 
+                % Etalonnage GL(I) sur 120 - 170 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q4 est dï¿œfocalisant
+                % il faut donc un k < 0. Les coefficients du fit a0, a2,
+                % a4,...sont multipliï¿œs par -1.
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+                
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -5.2680E-8*(1.003)*bob;
+                a2=  1.9620E-5*(-1)*(1.003)*bob;
+                a1=  2.5016E-2*(1.003)*bob;
+                a0=  1.1046E-1*(-1)*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'quad'; 
+                
+            case {'Q5','Q10'}   % 320 mm quadrupole
+                 % Familles Q5 et Q10 l= 320 mm 
+                % Etalonnage GL(I) sur 180 - 230 A quadrupï¿œle court 
+                % le courant remontï¿œ est nï¿œgatif car Q5 et Q10 sont
+                % focalisants
+                
+                %Correction des coefficients des QC de + 3 10-3 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+                
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.320;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -8.0497E-09*(1.003)*bob;
+                a3= 6.01284E-06*(1.003)*bob;
+                a2=  -1.696898E-03*(1.003)*bob;
+                a1=  2.41175E-01*(1.003)*bob;
+                a0=  -1.01064E+01*(1.003)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'quad';    
+                    
+            case {'Q2', 'Q12'}   % l= 460 mm 
+                % quadrupï¿œle focalisant
+                % Etalonnage GL(I) sur 140 - 190 A quadrupï¿œle long
+                
+                
+                %Correction des coefficients des QL de + 1.55 10-2 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.460;
+                a7=  0.0;
+                a6=  0.0;
+                a5= -0.0;
+                a4=  0.0;
+                a3= -2.7609E-7*(1.0155)*bob;
+                a2=  1.17098E-4*(1.0155)*bob;
+                a1=  2.7718E-2*(1.0155)*bob;
+                a0=  8.2470E-1*(1.0155)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'quad';
+
+            case {'Q7'}   % l= 460 mm 
+                % quadrupï¿œle focalisant
+                % Etalonnage GL(I) sur 190 - 230 A quadrupï¿œle long
+                
+                %Correction des coefficients des QL de + 1.55 10-2 (manque
+                % capteur BMS)
+                
+                %correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06 
+                bob=0.9977*(1-8e-3);
+
+                % Find the current from the given polynomial for B'Leff
+                Leff=0.460;
+                a7=  0.0;
+                a6=  0.0;
+                a5= 1.50427350E-9*(1.0155)*bob;
+                a4=  -1.52722610E-6*(1.0155)*bob;
+                a3= 6.16874120E-4*(1.0155)*bob;
+                a2=  -1.24044936E-1*(1.0155)*bob;
+                a1=  1.24707096E+01*(1.0155)*bob;
+                a0=  -4.96304380E+02*(1.0155)*bob;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'quad';
+
+                % Sextupï¿œles : on multiplie les coefficients par 2 car ils
+                % sont exprimï¿œs en B"L et non B"L/2
+                
+            case {'S1','S10', 'S11', 'S12'}    
+                % l= 160 mm focalisants
+                % Etalonnage HL(I) sur 40 - 160 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  0.0;
+                a2=  -3.773E-6;
+                a1=  1.5476E-1;
+                a0=  2.36991E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+                
+            case {'S3','S9'}    
+                % l= 160 mm dï¿œfocalisants
+                % Etalonnage HL(I) sur 80 - 250 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -2.6735E-8;
+                a2=  5.8793E-6*(-1);
+                a1=  1.5364E-1;
+                a0=  2.7867E-1*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+                
+             case {'S6'}    
+                % l= 160 mm focalisant
+                % Etalonnage HL(I) sur 80 - 250 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  0.0;
+                a3=  -2.6735E-8;
+                a2=  5.8793E-6;
+                a1=  1.5364E-1;
+                a0=  2.7867E-1;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+                
+              case {'S4','S8'}    
+                % l= 160 mm focalisants
+                % Etalonnage HL(I) sur 170 - 300 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -8.8836E-10;
+                a3=  7.1089E-7;
+                a2=  -2.2277E-4;
+                a1=  1.8501E-1;
+                a0=  -1.329;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';
+
+             case {'S2','S5'}    
+                % l= 160 mm dï¿œfocalisants
+                % Etalonnage HL(I) sur 170 - 300 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  0.0;
+                a4=  -8.8836E-10*(-1);
+                a3=  7.1089E-7;
+                a2=  -2.2277E-4*(-1);
+                a1=  1.8501E-1;
+                a0=  -1.329*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT';    
+        
+              case {'S7'}    
+                % l= 160 mm dï¿œfocalisant
+                % Etalonnage HL(I) sur 250 - 350 A
+                % Find the current from the given polynomial for B''Leff
+                Leff=1e-8; % modeled as thin length;
+                a7=  0.0;
+                a6=  0.0;
+                a5=  -2.613556E-10;
+                a4=  3.730258E-7*(-1);
+                a3=  -2.1301205E-4;
+                a2=  6.077561E-2*(-1);
+                a1=  -8.5069349;
+                a0=  4.933E+2*(-1);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+                MagnetType = 'SEXT'; 
+                
+            case 'QT'    % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+
+                MagnetType = 'QT';
+                
+            case 'SQ'   % 160 mm dans sextupole
+                % Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.
+                % Efficacitee = 3 G.m/A @ R=32mm; soit 93.83 G/A
+                % Le signe du courant est donnee par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 1e-8;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 93.83E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'QT';
+                
+            case {'HCOR'}    % 16 cm horizontal corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.
+                % Efficacitï¿œ = 8.143 G.m/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 8.143E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'COR';
+                
+                
+            case {'FHCOR'}    % 10 cm horizontal corrector
+                % Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 280e-6 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+                
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                Leff = .10;
+                imax = 10;
+                cormax = 28e-6 ; % 28 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+                
+            case {'VCOR'}    % 16 cm vertical corrector
+                % Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.
+                % Efficacitï¿œ = 4.642 G.m/A
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );
+                Leff = 0.16;
+                a7= 0.0;
+                a6= 0.0;
+                a5= 0.0;
+                a4= 0.0;
+                a3= 0.0;
+                a2= 0.0;
+                a1= 4.642E-4;
+                a0= 0.0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+                MagnetType = 'COR';
+                
+            case {'FVCOR'}    % 10 cm vertical corrector
+                % Find the current from the given polynomial for BLeff and B
+                Leff = .10;
+                imax = 10;
+                cormax = 23e-6 ; % 23 urad for imax = 10 A
+                MagnetType = 'COR';
+                A = [0 cormax*getbrho(2.75)/imax 0];
+
+            case {'K_INJ'}
+                % Kicker d'injection
+                % Ã©talonnage provisoire
+                % attention l'element n'etant pas dans le modele,definition
+                % de A ambigue
+                Leff = .6;
+                vmax = 8000;
+                alphamax = 8e-3 ; % 8 mrad pour 8000 V
+                MagnetType = 'K_INJ';
+                A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+                
+             case {'K_INJ1'}
+                % Kickers d'injection 1 et 4
+                Leff = .6;
+                vmax = 7500; % tension de mesure
+                SBDL = 75.230e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ1';
+                A = [0 -SBDL/vmax 0]*Leff; 
+                
+             case {'K_INJ2'}
+                % Kickers d'injection 2 et 3
+                Leff = .6;
+                vmax = 7500;% tension de mesure
+                SBDL = 74.800e-3 ; % somme de Bdl mesurÃ©e
+                MagnetType = 'K_INJ2';  
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+            case {'SEP_P'}
+                % Septum passif d'injection
+                Leff = .6;
+                vmax = 547; % tension de mesure V
+                SBDL = 263e-3; % somme de Bdl mesurÃ©e
+                MagnetType = 'SEP_P';
+                A = [0 SBDL/vmax 0]*Leff; 
+                
+             case {'SEP_A'}
+                % Septum actif d'injection
+                Leff = 1.;
+                vmax = 111;
+                MagnetType = 'SEP_A';
+                SBDL = 1147.8e-3 ; % Somme de Bdl mesurÃ©e Ã  111 V
+                A = [0 SBDL/vmax 0]*Leff; 
+
+             case {'KEMH'}
+                % Horizontal pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMH';
+                SBDL = 0.13e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+             case {'KEMV'}
+                % vertical pinger (KEM)
+                Leff = 1.;
+                vmax = 1000;
+                MagnetType = 'KEMV';
+                SBDL = 0.055e-3 ; 
+                A = [0 SBDL/vmax 0]*Leff; 
+
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                k = 0;
+                MagnetType = '';
+                return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A / Leff;
+
+        MagnetType = upper(MagnetType);
+
+
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+        if strcmpi(MagnetType,'OCTO')
+            C = C / 6;
+        end
+        return;
+    case 'Booster'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % B[T] = 0.00020 + 0.0013516 I[A]
+                % B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex
+                Leff = 2.160; % 2160 mm                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  9.2e-8*Leff;
+                a1 =  0.0013051*Leff;
+                a0 =  2.0e-3*Leff;
+
+                A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'BEND';
+
+            case {'QF'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0465 + 0.0516 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.0516*Leff;
+                a0 =  0.0465*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'QD'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                % G[T/m] = 0.0485 + 0.0518 I[A] Alex
+                Leff=0.400; 
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  -0.0518*Leff;
+                a0 =  -0.0485*Leff;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; %*getbrho(0.1);
+                MagnetType = 'QUAD';
+
+            case {'SF', 'SD'}   % 150 mm sextupole
+                % Find the current from the given polynomial for B'Leff
+                % HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)
+                Leff=1.e-8; % thin lens;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  0.2*2;
+                a0 =  0.0;
+                
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                MagnetType = 'SEXT';
+                
+            case {'HCOR','VCOR'}    % ?? cm horizontal corrector
+                % Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10
+                %       B*Leff = a0 * I   => a0 = 0.8e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                MagnetType = 'COR';
+                % theta [mrad] = 1.34 I[A] @ 0.1 GeV
+                Leff = 1e-6;
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  1.34e-3*getbrho(0.1);
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+ 
+        % Power Series Denominator (Factoral) be AT compatible
+        if strcmpi(MagnetType,'SEXT')
+            C = C / 2;
+        end
+ 
+        MagnetType = upper(MagnetType);
+
+    case 'LT2'
+        %%%%
+        switch upper(deblank(MagnetCoreType))
+
+            case 'BEND'    
+                % les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau
+                Leff=1.052433;
+                a7= 0.0;
+                a6=-0.0;
+                a5= 0.0;
+                a4=-0.0;
+                a3= 0.0;
+                a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+                a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+
+                MagnetType = 'BEND';
+
+            case {'QP'}   % 400 mm quadrupole
+                % Find the current from the given polynomial for B'Leff
+                
+                % G[T/m] = 0.1175 + 0.0517 I[A]
+                % le rÃ©manent est + fort que pour les quad Booster car les
+                % courants max sont + eleves
+                Leff=0.400; 
+%                 a8 =  0.0;
+%                 a7 =  0.0;
+%                 a6 =  0.0;
+%                 a5 =  0.0;
+%                 a4 =  0.0;
+%                 a3 =  0.0;
+%                 a2 =  0.0;
+%                 a1 =  0.0517*Leff;
+%                 a0 =  0.1175*Leff;
+                
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  -1.3345e-10;
+                a3 =  8.1746e-8;
+                a2 =  -1.6548e-5;
+                a1 =  2.197e-2;
+                a0 =  2.73e-2;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+                MagnetType = 'QUAD';
+
+            case {'CH','CV'}    % 16 cm horizontal corrector
+                
+
+                
+                % Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps
+                % Theta = BLeff / Brho    [radians]
+                % Therefore,
+                %       Theta = ((BLeff/Amp)/ Brho) * I
+                %       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10
+                %       B*Leff = a1 * I   => a1 = 1.e-3 * getbrho(2.75) / 10
+                %
+                % The C coefficients are w.r.t B
+                %       B = c0 + c1*I = (0 + a0*I)/Leff
+                % However, AT uses Theta in radians so the A coefficients
+                % must be used for correctors with the middle layer with
+                % the addition of the DC term
+
+                % Find the current from the given polynomial for BLeff and B
+                % NOTE: AT used BLeff (A) for correctors
+                
+                % environ 32 cm  corrector
+                % Efficacitï¿œ = 11.06 G.m/A 
+                % Le signe du courant est donnï¿œ par le DeviceServer (Tango)
+                % Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =
+                % magnetcoefficien
+                
+                MagnetType = 'COR';
+                
+                Leff = 1e-6; % 0.1577 m
+                a8 =  0.0;
+                a7 =  0.0;
+                a6 =  0.0;
+                a5 =  0.0;
+                a4 =  0.0;
+                a3 =  0.0;
+                a2 =  0.0;
+                a1 =  110.6e-4/10;
+                a0 =  0;
+                A = [a7 a6 a5 a4 a3 a2 a1 a0];
+                
+            otherwise
+                error(sprintf('MagnetCoreType %s is not unknown', MagnetCoreType));
+                %k = 0;
+                %MagnetType = '';
+                %return
+        end
+
+        % compute B-field = int(Bdl)/Leff
+        C = A/ Leff;
+
+        MagnetType = upper(MagnetType);
+
+    otherwise
+        error('Unknown accelerator name %s', AcceleratorName);
+end
Index: /trunk/machine/SOLEIL/common/measrate.m
===================================================================
--- /trunk/machine/SOLEIL/common/measrate.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/measrate.m	(revision 17)
@@ -0,0 +1,119 @@
+function [AvgRate, N] = measrate(family, elem, T);
+%MEASRATE - noise on channels
+%[AvgRate, N] = measrate(Family, List, T);
+%
+% INPUTS
+% 1. Family = Family name ('BPMx', 'HCOR', etc.) 
+% 2. List   = Device list or element list [column vector] {default, entire family}
+% 3. T      = Time interval to check sampling rate [seconds]
+%
+% OUTPUTS
+% 1. AvgRate = Average sample rate over T seconds perios
+% 2. N       = Number of observed transitions
+%
+% NOTES
+% 1.This method only works on noisy channels!
+
+%
+% Written by Gregory J. Portmann, ALS
+
+if nargin == 0,
+    error('Need atleast one input: family');
+end 
+
+if nargin == 1,
+    elem = getlist(family);
+end
+
+if isempty(elem)
+    elem = getlist(family);
+end
+
+
+if (size(elem,2) == 2) 
+    elem = dev2elem(family, elem);
+end                  
+
+if nargin <= 2,
+    T = 2;
+end
+
+OneAtATimeFlag = 0;
+
+if OneAtATimeFlag
+    DelT = .005;
+else
+    if length(elem)>50
+        DelT = .03;
+    else
+        DelT = .02;
+    end
+end
+if length(T) == 1
+    tin = 0:DelT:T;
+else
+    tin = T;
+end
+
+
+disp(['  Checking the data rate for channel or family: ', family]); 
+disp(['  Collection data for ',num2str(tin(end)),' seconds at a sample rate of ',num2str(1/mean(diff(tin))),' Hertz.']); pause(0);
+disp(['  Channels must be noisy for this method to work.']);
+if OneAtATimeFlag
+    
+    for i = 1:size(elem,1)
+        % Collect data
+        [a, t] = getam(family, elem(i,1), 1, tin);
+        
+        adiff = abs(diff(a));
+        I = find(adiff>0);
+        
+        if size(I,2) < 3
+            disp(' '); disp('  WARNING: Less than 3 update.  Increase time span or channel not noisy enough.'); disp(' ');
+        end
+        
+        if isempty(I)
+            N(i,1) = 0;
+            AvgRate(i,1) = 0;
+        else
+            t = t(I);
+            tdiff = diff(t);
+            
+            N(i,1) = size(I,2)-1;
+            AvgRate(i,1) = 1/mean(tdiff);
+        end
+        
+        Dev=elem2dev(family,elem(i));
+        fprintf('  %s(%2d,%2d), Sample Rate=%5.2f Hz,  Number of Samples=%d, Number of New Data Points=%d\n', family, Dev(1), Dev(2), AvgRate(i,1), length(t),N(i,1));
+    end
+else
+    % Collect data using EPICs
+    getam(family);  % just to connect to channels
+    [a, t] = getam(family, [], 1, tin);
+    
+    %figure(3)
+    %plot(tin,t)
+    
+    for i = 1:size(elem,1)
+        adiff = abs(diff(a(i,:)));
+        I = find(adiff>0);
+        
+        if size(I,2) < 3
+            disp(' '); disp(['  WARNING: ',family,'(',num2str(i),') less than 3 update.  Increase time span or channel not noisy enough.']); disp(' ');
+        end
+        
+        if isempty(I)
+            N(i,1) = 0;
+            AvgRate(i,1) = 0;
+        else
+            t1 = t(I);
+            tdiff = diff(t1);
+            
+            N(i,1) = size(I,2)-1;
+            AvgRate(i,1) = 1/mean(tdiff);
+        end
+        
+        Dev = elem2dev(family,elem(i));
+        fprintf('  %s(%2d,%2d), Sample Rate=%5.2f Hz,  Number of Samples=%d, Number of New Data Points=%d\n', family, Dev(1), Dev(2), AvgRate(i,1), length(t),N(i,1));
+    end   
+end
Index: /trunk/machine/SOLEIL/common/naff/nafflib/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/.cvsignore	(revision 17)
@@ -0,0 +1,2 @@
+*.o
+*.mexglx
Index: /trunk/machine/SOLEIL/common/naff/nafflib/Contents.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/Contents.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/Contents.m	(revision 17)
@@ -0,0 +1,3 @@
+% NAFF toolbox
+% Version 2.0 SOLEIL version 2007
+
Index: /trunk/machine/SOLEIL/common/naff/nafflib/Makefile
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/Makefile	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/Makefile	(revision 17)
@@ -0,0 +1,29 @@
+## Makefile for Naff example
+#
+## Laurent S. Nadolski Synchrotron SOLEIL
+#  add with the distribution of M. Gastineau IMCCE
+
+SHELL=/bin/sh
+
+CC = gcc
+CCFLAGS=  -O2 
+
+SRC = modnaff.c example.c complexe.c
+OBJ  = $(SRC:.c=.o)
+INC = modnaff.h complexe.h
+
+SYSLIB = -lm
+
+example : $(OBJ) $(INC)
+	@echo "---" $@ "---"
+	$(CC)  $(CCFLAGS) $(OBJ) $(SYSLIB) -o  $@
+
+.c.o: $(INC) 
+	@echo "---" $@ "---"
+	$(CC) $(CCFLAGS) -I. -c $< -o $@
+
+clean: 
+	rm -f $(OBJ) $(OBJLIB)
+	
+# DO NOT DELETE
+
Index: /trunk/machine/SOLEIL/common/naff/nafflib/README
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/README	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/README	(revision 17)
@@ -0,0 +1,25 @@
+26/08/03 L. Nadolski, SOLEIL
+
+For compiling NAFF package
+In Matlab workspace: use cc_all command
+
+calcnaff.f has been modified by introducing two macros: min et max
+
+06/04/07 Laurent S. Nadolski
+Names have changes
+mexfile is now nafflib.c
+naffcall.m calls nafflib
+This file is provided with a small online help
+amplitude, phase have been added and additional Flags
+
+Example using AT:
+
+[nux nuz diffu]=fmap_soleilnu(10,10,20,5);
+
+radiationoff
+cavityoff
+X0=[0.001 0 0.001 0 0 0]';
+NT = 1026;
+T = ringpass(THERING,X0,NT);
+calcnaff(T(1,1:512),T(3,1:512),1)/(2*pi)
+
Index: /trunk/machine/SOLEIL/common/naff/nafflib/calcnaff.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/calcnaff.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/calcnaff.m	(revision 17)
@@ -0,0 +1,125 @@
+function [frequency amplitude phase] = calcnaff(Y, Yp, varargin)
+% [nu amp phase] = calcnaff(Y, Yp, Win)
+%
+%  INPUTS
+%  1. Y  - position vector
+%  2. Yp -
+%  3. WindowType  - Window type - 0 {Default} no windowing
+%                                 1 Window of Hann
+%                                 2 etc
+%  4. nfreq - Maximum number of fundamental frequencies to search for
+%             10 {Default}
+%  5. debug - 1 means debug flag turned on
+%             0 {Default}
+%
+%  Optional Flags
+%  'Debug' - turn on deubbing flag
+%  'Display' - print ou results
+%  'Hanning' - select Window of Hann, WindowType = 1
+%  'Raw' or 'NoWindow' - select Window of Hann, WindowType = 0
+%
+%  OUTPUTS
+%  1. frequency - frequency vector with sorted amplitudes
+%                 by default the algorithm try to compute the 10 first fundamental
+%                 frequencies of the system.
+%  2. amplitude - amplitudes associated with fundamental frequencies
+%  3. phase - phases associated with fundamental frequencies
+%
+%  NOTES
+%  1. Mimimum number of turns is 64 (66)
+%  2. Number of turn has to be a multiple of 6 for internal optimization
+%  reason and just above a power of 2. Example 1026 is divived by 6 and
+%  above 1024 = pow2(10)
+%
+%  Examples
+%  NT = 9996; % divided by 6
+%  simple quasiperiodic (even period) motion 
+%  y =2+0.1*cos(pi*(0:NT-1))+0.00125*cos(pi/3*(0:NT-1));
+%  yp=2+0.1*sin(pi*(0:NT-1))+0.00125*sin(pi/3*(0:NT-1));
+% 
+%  [nu ampl phase] = calcnaff(y,yp,1); % with windowing
+
+
+% Written by Laurent S. Nadolski
+% April 6th, 2007
+% Modification September 2009: 
+%  test if constant data or nan data
+
+% Default flags
+DebugFlag  = 0;  % 0/1 dubugging flag in NAFF
+WindowType = 1;  % Window type
+nfreq = 10;      % number of frequency
+DisplayFlag = 0; % Display Figure
+
+% BUG in nafflib: returns nan even if valid data. Number of try
+nitermax = 10;
+
+% Flag factory
+for ik = length(varargin):-1:1
+    if strcmpi(varargin{ik},'Debug')
+        DebugFlag = 1;
+        varargin(ik) = [];
+    elseif strcmpi(varargin{ik},'NoDebug')
+        DebugFlag = 0;
+        varargin(ik) = [];
+    elseif strcmpi(varargin{ik},'Display')
+        DisplayFlag = 1;
+        varargin(ik) = [];
+    elseif strcmpi(varargin{ik},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(ik) = [];
+    elseif strcmpi(varargin{ik},'Hanning')
+        WindowType = 1;
+        varargin(ik) = [];
+    elseif strcmpi(varargin{ik},'NoWindow') || strcmpi(varargin{ik},'Raw')
+        WindowType = 1;
+        varargin(ik) = [];
+    end
+end
+
+if length(varargin) >= 1
+    WindowType = varargin{1};
+end
+
+if length(varargin) >= 2
+    nfreq = varargin{2};
+end
+
+if length(varargin) >= 3
+    DebugFlag = varargin{3};
+end
+
+if length(varargin) >= 4 
+    error('Too many arguments');
+end
+
+% Test wether nan or constant data
+if any(isnan(Y(1,:)))
+    fprintf('Warning Y contains NaNs\n');
+    frequency =NaN; amplitude = NaN;  phase = NaN;
+elseif any(isnan(Y(1,:)))
+    fprintf('Warning Yp contains NaNs\n');
+    frequency =NaN; amplitude = NaN;  phase = NaN;
+elseif (mean(Y) == Y(1) && mean(Yp) == Yp(1))
+    fprintf('Warning data are constant\n');
+    frequency = 0; amplitude = 0;  phase = 0;
+else % Frequency map analysis
+    [frequency amplitude phase] = nafflib(Y, Yp, WindowType,nfreq,DebugFlag);
+    %It seems there is a bug in nafflib, something returns nan even for valid data 
+    niter = 0;
+    while any(isnan(frequency)) && (niter < nitermax)
+        pause(2);
+        fprintf('Warning Nan returned by NAFF (x%d)\n', niter);
+        niter = niter +1;
+        [frequency amplitude phase] = nafflib(Y, Yp, WindowType,nfreq,1); % add debugging
+    end
+        
+    if DisplayFlag
+        fprintf('*** Naff run on %s\n', datestr(clock))
+        for k = 1:length(frequency)
+            fprintf('nu(%d) =% .15f amplitude = % .15f phase = % .15f \n', ...
+                k,frequency(k), amplitude(k),phase(k));
+        end
+    end
+end
+
Index: /trunk/machine/SOLEIL/common/naff/nafflib/complexe.c
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/complexe.c	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/complexe.c	(revision 17)
@@ -0,0 +1,501 @@
+/* Astronomie et Systemes dynamiques                            */
+/* M. GASTINEAU  Bureau des Longitudes, Paris 15/07/98          */
+/* ensemble de fonctions inlines traitant uniquement les complexes */
+/* v0.97 M. GASTINEAU 15/02/99: ajout des fonctions trigonometrique*/
+/* v0.97 M. GASTINEAU 22/03/99: ajout de i_compl_powreel        */
+
+#include "modnaff.h"
+
+#ifndef __COMPLEXE_H
+#define __COMPLEXE_H
+#include "complexe.h"
+
+/*----------------IMPLEMENTATION--------------------------------*/
+
+/*----------------i_compl_cmplx---------------------------------*/
+/*Construit un complexe a partir de deux doubles(retourne c=a+i*b)*/
+/*--------------------------------------------------------------*/
+ void i_compl_cmplx(t_complexe *c, double a,double b)
+{
+ c->reel=a;
+ c->imag=b;
+}
+
+
+/*----------------module----------------------------------------*/
+/* retourne le module du nombre complexe c                      */
+/*--------------------------------------------------------------*/
+ double    i_compl_module(t_complexe c)
+{
+ return hypot(c.reel,c.imag);
+}
+
+ double    i_compl_angle(t_complexe c)
+{
+ /*return atan2(c.imag/module(c),c.reel/module(c));*/
+ return atan2(c.imag,c.reel);
+}
+
+/*----------------i_compl_add-----------------------------------*/
+/* addition de deux nombres complexes c1 et c2 : c1+c2          */
+/*--------------------------------------------------------------*/
+ t_complexe i_compl_add(const t_complexe c1,const t_complexe c2)
+{
+ t_complexe c;
+ i_compl_cmplx(&c, c1.reel+c2.reel,c1.imag+c2.imag);
+ return c;
+}
+
+/*----------------i_compl_padd----------------------------------*/
+/* addition de deux nombres complexes c1 et c2 : c1+=c2         */
+/*--------------------------------------------------------------*/
+ void i_compl_padd(t_complexe *c1,t_complexe *c2)
+{
+ c1->reel += c2->reel;
+ c1->imag += c2->imag;
+}
+
+/*----------------i_compl_paddconst-----------------------------*/
+/* addition de deux nombres complexes c1 et c2 : c1+=c2         */
+/*--------------------------------------------------------------*/
+ void i_compl_paddconst(t_complexe *c1,t_complexe c2)
+{
+ c1->reel += c2.reel;
+ c1->imag += c2.imag;
+}
+
+/*----------------i_compl_mul----------------------------------*/
+/* multiplication de deux nombres complexes c1 et c2 : c1*c2   */
+/*-------------------------------------------------------------*/
+ t_complexe i_compl_mul(const t_complexe c1,const t_complexe c2)
+{
+ t_complexe c;
+ i_compl_cmplx(&c, c1.reel*c2.reel-c1.imag*c2.imag,c1.reel*c2.imag+c1.imag*c2.reel);
+ return c;
+}
+
+/*----------------i_compl_pmul---------------------------------*/
+/* multiplication de deux nombres complexes c1 et c2 : c1*=c2  */
+/*-------------------------------------------------------------*/
+ void i_compl_pmul(t_complexe *c1,t_complexe *c2)
+{
+ double creel=c1->reel;
+ c1->reel=creel*c2->reel-c1->imag*c2->imag;
+ c1->imag =creel*c2->imag+c1->imag*c2->reel;
+}
+
+/*----------------i_compl_muldoubl-----------------------------*/
+/* multiplication d'un double c1 d'un nombre complexe c2: c1*c2*/
+/*-------------------------------------------------------------*/
+ t_complexe i_compl_muldoubl(const double c1, const t_complexe c2)
+{
+ t_complexe c;
+ c.reel = c1*c2.reel;
+ c.imag = c1*c2.imag;
+ return c;
+}
+
+/*----------------i_compl_pmuldoubl----------------------------*/
+/* multiplication d'un double c1 d'un nombre complexe c2: c2*=c1*/
+/*-------------------------------------------------------------*/
+ void i_compl_pmuldoubl(t_complexe *c2, double* const c1)
+{
+ c2->reel *= *c1;
+ c2->imag *= *c1;
+}
+
+/*----------------i_compl_pdivdoubl----------------------------*/
+/* division d'un double c1 d'un nombre complexe c2: c2/=c1     */
+/*-------------------------------------------------------------*/
+ void i_compl_pdivdoubl(t_complexe *c2, double *c1)
+{
+ c2->reel /= *c1;
+ c2->imag /= *c1;
+}
+
+/*----------------i_compl_conj---------------------------------*/
+/*retourne le conjugue de c1                                   */
+/*-------------------------------------------------------------*/
+ t_complexe i_compl_conj(t_complexe *c1)
+{
+ t_complexe c;
+ i_compl_cmplx(&c, c1->reel, - (c1->imag) );
+ return c;
+}
+
+/*----------------i_compl_pdiv---------------------------------*/
+/* division de deux complexes : c1/=c2                         */
+/*-------------------------------------------------------------*/
+ void i_compl_pdiv(t_complexe * const c1,const t_complexe * const c2)
+{
+	double ratio, den;
+	double abr, abi, cr;
+    
+	if( (abr = c2->reel) < 0.)
+		abr = - abr;
+	if( (abi = c2->imag) < 0.)
+		abi = - abi;
+	if( abr <= abi )
+		{
+		ratio = (double)c2->reel / c2->imag ;
+		den = c2->imag * (1 + ratio*ratio);
+		cr = (c1->reel*ratio + c1->imag) / den;
+		c1->imag = (c1->imag*ratio - c1->reel) / den;
+		}
+
+	else
+		{
+		ratio = (double)c2->imag / c2->reel ;
+		den = c2->reel * (1 + ratio*ratio);
+		cr = (c1->reel + c1->imag*ratio) / den;
+		c1->imag = (c1->imag - c1->reel*ratio) / den;
+		}
+	c1->reel = cr;
+}
+
+/*----------------i_compl_div2d--------------------------------*/
+/* division d'un reel par un complexe c1/(c2_r+i*c2_i)         */
+/*-------------------------------------------------------------*/
+t_complexe i_compl_div2d(const double c1, 
+                                       const double c2_r, 
+                                       const double c2_i)
+{
+	register double ratio, den;
+	register double abr, abi;
+    t_complexe zres;
+    
+	if( (abr = c2_r) < 0.)
+		abr = - abr;
+	if( (abi = c2_i) < 0.)
+		abi = - abi;
+	if( abr <= abi )
+		{
+		ratio = (double)c2_r / c2_i ;
+		den = c2_i * (1 + ratio*ratio);
+		zres.reel = (c1*ratio) / den;
+		zres.imag =  - c1 / den;
+		}
+
+	else
+		{
+		ratio = (double)c2_i / c2_r ;
+		den = c2_r * (1 + ratio*ratio);
+		zres.reel = c1 / den;
+		zres.imag =  (- c1*ratio) / den;
+		}
+    return zres;
+}
+
+/*----------------i_compl_div4d--------------------------------*/
+/* division de deux complexes : (c1_r+i*c1_i)/(c2_r+i*c2_i)    */
+/*-------------------------------------------------------------*/
+t_complexe i_compl_div4d(register const double c1_r,register const double c1_i,
+                                       register const double  c2_r,register const double c2_i)
+{
+	register double ratio, den;
+	register double abr, abi;
+    t_complexe zres;
+    
+	if( (abr = c2_r) < 0.)
+		abr = - abr;
+	if( (abi = c2_i) < 0.)
+		abi = - abi;
+	if( abr <= abi )
+		{
+		ratio = (double)c2_r / c2_i ;
+		den = c2_i * (1 + ratio*ratio);
+		zres.reel = (c1_r*ratio + c1_i) / den;
+		zres.imag = (c1_i*ratio - c1_r) / den;
+		}
+
+	else
+		{
+		ratio = (double)c2_i / c2_r ;
+		den = c2_r * (1 + ratio*ratio);
+		zres.reel = (c1_r + c1_i*ratio) / den;
+		zres.imag = (c1_i - c1_r*ratio) / den;
+		}
+ return zres; 
+}
+
+/*----------------i_compl_div----------------------------------*/
+/* division de deux complexes : c1/c2                          */
+/*-------------------------------------------------------------*/
+t_complexe i_compl_div(const t_complexe c1,const t_complexe c2)
+{
+ t_complexe c=c1;
+ i_compl_pdiv(&c,&c2);
+ return c;
+}
+
+
+/*----------------i_compl_pow2d--------------------------------*/
+/*retourne la puissance (p_r+i*p_i)**b                         */
+/*-------------------------------------------------------------*/
+t_complexe i_compl_pow2d(const double p_r, const double p_i,int n)
+{
+	register unsigned long u;
+	register double t;
+	register double q_r=1,q_i=0,x_r,x_i;
+    t_complexe zq;
+    
+	if(n == 0)
+		goto done;
+	if(n < 0)
+		{
+		n = -n;
+		zq = i_compl_div2d(1,p_r,p_i);
+		x_r = zq.reel;
+		x_i = zq.imag;
+		}
+	else
+		{
+		x_r = p_r;
+		x_i = p_i;
+		}
+
+	for(u = n; ; )
+		{
+		if(u & 01)
+			{
+			t = q_r * x_r - q_i * x_i;
+			q_i = q_r * x_i + q_i * x_r;
+			q_r = t;
+			}
+		if(u >>= 1)
+			{
+			t = x_r * x_r - x_i * x_i;
+			x_i = 2 * x_r * x_i;
+			x_r = t;
+			}
+		else
+			break;
+		}
+ done:
+	zq.reel=q_r;
+	zq.imag=q_i;
+	return zq;
+}
+
+
+/*----------------i_compl_powreel------------------------------*/
+/*retourne la puissance a**b avec b reel                       */
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 22/03/99: ajout de i_compl_powreel       */
+t_complexe i_compl_powreel(const t_complexe z,double p_dK)
+{
+ double dMod = pow(i_compl_module(z),p_dK);
+ double dAngle = p_dK*i_compl_angle(z);
+ t_complexe zRes;
+ zRes.reel=dMod*cos(dAngle);
+ zRes.imag=dMod*sin(dAngle);
+ return zRes;
+}
+
+/*----------------i_compl_pow----------------------------------*/
+/*retourne la puissance a**b                                   */
+/*-------------------------------------------------------------*/
+ t_complexe i_compl_pow(const t_complexe a,int n)
+{
+#if 1
+	unsigned long u;
+	double t;
+	t_complexe q={1.0, 0.0}, x;
+
+	if(n == 0)
+		goto done;
+	if(n < 0)
+		{
+		n = -n;
+		x.reel = 1.0;
+		x.imag=0.0;
+		i_compl_pdiv(&x, &a);
+		}
+	else
+		{
+		x.reel = a.reel;
+		x.imag = a.imag;
+		}
+
+	for(u = n; ; )
+		{
+		if(u & 01)
+			{
+			t = q.reel * x.reel - q.imag * x.imag;
+			q.imag = q.reel * x.imag + q.imag * x.reel;
+			q.reel = t;
+			}
+		if(u >>= 1)
+			{
+			t = x.reel * x.reel - x.imag * x.imag;
+			x.imag = 2 * x.reel * x.imag;
+			x.reel = t;
+			}
+		else
+			break;
+		}
+ done:
+	return q;
+#else
+	t_complexe q;
+
+	if(n == 0)
+	{
+	 q.reel=1;
+	 q.imag=0;
+	}
+	else
+	{
+	 double dpow=pow(i_compl_module(a),n);
+	 double anglea=i_compl_angle(a);
+	 q.reel=dpow*cos(anglea*n);
+	 q.imag=dpow*sin(anglea*n);
+	}
+	return q;
+#endif /*0*/
+}
+
+/*----------------expcomplexe-----------------------------------*/
+/* calcule et retourne exp(c1)                                  */
+/*--------------------------------------------------------------*/
+/* v0.96 M. GASTINEAU 04/09/98 : ajout */
+t_complexe i_compl_exp(t_complexe c1)
+{
+ t_complexe r;
+ double expx;
+ expx = exp(c1.reel);
+ r.reel = expx * cos(c1.imag);
+ r.imag = expx * sin(c1.imag);
+ return r;
+}
+
+
+/*----------------i_compl_psub----------------------------------*/
+/* soustrait de deux nombres complexes c1 et c2 : c1-=c2        */
+/*--------------------------------------------------------------*/
+/*v0.96 M. GASTINEAU 01/12/98 : ajout */
+void i_compl_psub(t_complexe *c1,t_complexe *c2) 
+{
+ c1->reel -= c2->reel;
+ c1->imag -= c2->imag;
+}
+
+/*----------------i_compl_sub----------------------------------*/
+/* soustrait de deux nombres complexes c1 et c2 : c1-c2        */
+/*-------------------------------------------------------------*/
+/*v0.96 M. GASTINEAU 01/12/98 : ajout */
+t_complexe i_compl_sub(t_complexe c1,t_complexe c2)
+{
+ t_complexe c;
+ c.reel = c1.reel - c2.reel;
+ c.imag = c1.imag - c2.imag;
+ return c;
+}
+
+
+/*----------------i_compl_cos----------------------------------*/
+/* retourne le cosinus de c1 (cos x  cosh y  -  i sin x sinh y)*/ 
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_cos(t_complexe c1)
+{
+ t_complexe c;
+ c.reel = cos(c1.reel)*cosh(c1.imag);
+ c.imag = -sin(c1.reel)*sinh(c1.imag);
+ return c;
+}
+
+/*----------------i_compl_sin----------------------------------*/
+/* retourne le sinus de c1 (= sin x  cosh y  +  i cos x sinh y)*/
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_sin(t_complexe c1)
+{
+ t_complexe c;
+ c.reel = sin(c1.reel)*cosh(c1.imag);
+ c.imag = cos(c1.reel)*sinh(c1.imag);
+ return c;
+}
+
+/*----------------i_compl_cosh---------------------------------*/
+/* retourne le cosinus hyperbolique de c1                      */
+/* (= cosh x  cos y  +  i sinh x sin y)                        */
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_cosh(t_complexe c1)
+{
+ t_complexe c;
+ c.reel = cosh(c1.reel)*cos(c1.imag);
+ c.imag = sinh(c1.reel)*sin(c1.imag);
+ return c;
+}
+
+/*----------------i_compl_sinh---------------------------------*/
+/* retourne le sinus hyperbolique de c1                        */
+/* (= sinh x  cos y  +  i cosh x sin y)                        */
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_sinh(t_complexe c1)
+{
+ t_complexe c;
+ c.reel = sinh(c1.reel)*cos(c1.imag);
+ c.imag = cosh(c1.reel)*sin(c1.imag);
+ return c;
+}
+
+/*----------------i_compl_tan----------------------------------*/
+/* retourne la tangente de c1                                  */
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_tan(t_complexe c1)
+{
+ t_complexe c;
+ double u2=2.E0*c1.reel;
+ double v2=2.E0*c1.imag;
+ double denom=cos(u2)+cosh(v2);
+ c.reel = sin(u2)/denom;
+ c.imag = sinh(v2)/denom;
+ return c;
+}
+
+/*----------------i_compl_tanh---------------------------------*/
+/* retourne la tangente hyperbolique de c1                     */
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_tanh(t_complexe c1)
+{
+ t_complexe c;
+ double u2=2.E0*c1.reel;
+ double v2=2.E0*c1.imag;
+ double denom=cos(u2)+cosh(v2);
+ c.reel = sinh(u2)/denom;
+ c.imag = sin(v2)/denom;
+ return c;
+}
+
+/*----------------i_compl_log----------------------------------*/
+/* retourne le logarithme de c1                                */
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_log(t_complexe c1)
+{
+ t_complexe c;
+ c.reel = log(i_compl_module(c1));
+ c.imag = i_compl_angle(c1);
+ return c;
+}
+
+/*----------------i_compl_log10--------------------------------*/
+/* retourne le logarithme  base 10 de c1                       */
+/*-------------------------------------------------------------*/
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_log10(t_complexe c1)
+{
+ t_complexe c;
+ double norm=log(10);
+ c.reel = log(i_compl_module(c1))/norm;
+ c.imag = i_compl_angle(c1)/norm;
+ return c;
+}
+
+#endif
Index: /trunk/machine/SOLEIL/common/naff/nafflib/complexe.h
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/complexe.h	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/complexe.h	(revision 17)
@@ -0,0 +1,49 @@
+/* Astronomie et Systemes dynamiques                            */
+/* M. GASTINEAU  Bureau des Longitudes, Paris 15/07/98          */
+/* ensemble de fonctions inlines traitant uniquement les complexes */
+/* v0.97 M. GASTINEAU 15/02/99: ajout des fonctions trigonometrique*/
+/* v0.97 M. GASTINEAU 22/03/99: ajout de i_compl_powreel        */
+
+/* Modification Laurent */
+#ifndef __COMPLEXEHEADER_
+#define __COMPLEXEHEADER_
+
+/* prototypes des fonctions publiques */
+double     i_compl_module(t_complexe c);              /* niveau 1 */
+double     i_compl_angle(t_complexe c);               /* niveau 1 */
+t_complexe i_compl_add(t_complexe const c1,const t_complexe c2); /* niveau 2 */ 
+t_complexe i_compl_mul(const t_complexe c1, const t_complexe c2); /* niveau 2 */ 
+void       i_compl_padd(t_complexe* c1,t_complexe* c2); /* niveau 2 */ 
+void       i_compl_paddconst(t_complexe *c1,t_complexe c2); /* niveau 2 */ 
+void       i_compl_pmul(t_complexe *c1,t_complexe *c2); /* niveau 2 */ 
+t_complexe i_compl_muldoubl(const double c1, const t_complexe c2); /* niveau 2 */ 
+void       i_compl_pmuldoubl(t_complexe *c2, double *c1); /* niveau 2 */ 
+void       i_compl_pdivdoubl(t_complexe *c2, double *c1); /* niveau 2 */ 
+void       i_compl_cmplx(t_complexe *c, double a,double b);         /* niveau 2 */ 
+void       i_compl_pdiv(t_complexe* const c1,const t_complexe * const c2); /* niveau 2 */ 
+t_complexe i_compl_div2d(const double c1, const double  c2_r, const double c2_i); /* niveau 2 */ 
+t_complexe i_compl_div4d(register const double c1_r, register const double c1_i,
+                                       register const double  c2_r, register const double c2_i); /* niveau 2 */ 
+t_complexe i_compl_conj(t_complexe *c1);             /* niveau 2 */
+t_complexe i_compl_pow(const t_complexe z,int k);          /* niveau 2 */
+/* v0.97 M. GASTINEAU 22/03/99: ajout de i_compl_powreel        */
+t_complexe i_compl_powreel(const t_complexe z,double p_dK);          /* niveau 2 */
+/* v0.97 M. GASTINEAU 22/03/99: fin d'ajout */
+t_complexe i_compl_pow2d(const double p_r, const double p_i,int k);          /* niveau 2 */
+t_complexe i_compl_exp(t_complexe c1);               /* niveau 2 */
+void       i_compl_psub(t_complexe *c1,t_complexe *c2); /* niveau 2 */ 
+
+t_complexe i_compl_div(const t_complexe c1,const t_complexe c2); /* niveau 2 */ 
+t_complexe i_compl_sub(t_complexe c1,t_complexe c2); /* niveau 2 */ 
+
+/* v0.97 M. GASTINEAU 15/02/99: ajout */
+t_complexe i_compl_cos(t_complexe c1);               /* niveau 2 */
+t_complexe i_compl_sin(t_complexe c1);               /* niveau 2 */
+t_complexe i_compl_cosh(t_complexe c1);              /* niveau 2 */
+t_complexe i_compl_sinh(t_complexe c1);              /* niveau 2 */
+t_complexe i_compl_tan(t_complexe c1);               /* niveau 2 */
+t_complexe i_compl_tanh(t_complexe c1);              /* niveau 2 */
+t_complexe i_compl_log(t_complexe c1);               /* niveau 2 */
+t_complexe i_compl_log10(t_complexe c1);             /* niveau 2 */
+/* v0.97 M. GASTINEAU 15/02/99: fin ajout */
+#endif
Index: /trunk/machine/SOLEIL/common/naff/nafflib/example.c
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/example.c	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/example.c	(revision 17)
@@ -0,0 +1,78 @@
+/*
+ *  Hello World for the CodeWarrior
+ *  ï¿œ 1997-1998 Metrowerks Corp.
+ *
+ *  Questions and comments to:
+ *       <mailto:support@metrowerks.com>
+ *       <http://www.metrowerks.com/>
+ */
+
+#include "modnaff.h"
+#include "complexe.h"
+double pi=M_PI; /* ajout Laurent sinon pi non trouve */
+
+int main(void)
+{
+    int i, iCpt;
+    const int ndata=9996; /* multiple of 6 */
+    
+ g_NAFVariable.DTOUR=2*pi;   /* size of a "cadran" */
+ g_NAFVariable.XH=1;         /* step */
+ g_NAFVariable.T0=0;         /* time t0 */
+ g_NAFVariable.NTERM=10;     /* max term to find */
+ g_NAFVariable.KTABS=ndata;  /* number of data : must be a multiple of 6 */
+ g_NAFVariable.m_pListFen=NULL; /*no window*/
+ g_NAFVariable.TFS=NULL;    /* will contain frequency */
+ g_NAFVariable.ZAMP=NULL;   /* will contain amplitude */
+ g_NAFVariable.ZTABS=NULL;  /* will contain data to analyze */
+
+ /*internal use in naf */
+ g_NAFVariable.NERROR=0;
+ g_NAFVariable.ICPLX=1;
+ g_NAFVariable.IPRT=-1; /*0*/
+ g_NAFVariable.NFPRT=stdout; /*NULL;*/
+ g_NAFVariable.NFS=0;
+ g_NAFVariable.IW=1;
+ g_NAFVariable.ISEC=1;
+ g_NAFVariable.EPSM=0; 
+ g_NAFVariable.UNIANG=0;
+ g_NAFVariable.FREFON=0;
+ g_NAFVariable.ZALP=NULL; 
+ g_NAFVariable.m_iNbLineToIgnore=1; /*unused*/
+ g_NAFVariable.m_dneps=1.E100;
+ g_NAFVariable.m_bFSTAB=FALSE; /*unused*/
+ /*end of interl use in naf */
+ 
+ 
+    naf_initnaf();
+    
+    /*remplit les donnees initiales*/
+    for(i=0;i<ndata;i++)
+    {
+     g_NAFVariable.ZTABS[i].reel=2.E0+0.1*cos(pi*i)+0.00125*cos(pi/3*i);
+     g_NAFVariable.ZTABS[i].imag=2.E0+0.1*sin(pi*i)+0.00125*sin(pi/3*i);
+     fprintf(stdout,"%2d = % .15f % .15f\n",i,g_NAFVariable.ZTABS[i].reel
+     ,g_NAFVariable.ZTABS[i].imag);
+    }
+    
+    /*analyse en frequence*/
+    /* recherche de 5 termes */
+    printf("cte=%g\n",fabs(g_NAFVariable.FREFON)/g_NAFVariable.m_dneps);
+    naf_mftnaf(5,fabs(g_NAFVariable.FREFON)/g_NAFVariable.m_dneps);
+
+   /* affichage des resultats */
+
+   printf("NFS=%d\n",g_NAFVariable.NFS);
+   for(iCpt=1;iCpt<=g_NAFVariable.NFS; iCpt++)
+   {
+    printf("AMPL=% .15E+i*% .15E abs(AMPL)=% .15E arg(AMPL)=% .15E FREQ=% .15E\n",
+           g_NAFVariable.ZAMP[iCpt].reel,g_NAFVariable.ZAMP[iCpt].imag, 
+           i_compl_module(g_NAFVariable.ZAMP[iCpt]), 
+           i_compl_angle(g_NAFVariable.ZAMP[iCpt]),
+           g_NAFVariable.TFS[iCpt]);
+   }
+    /*liberation de la memoire*/
+	naf_cleannaf();
+	return 0;
+}
+
Index: /trunk/machine/SOLEIL/common/naff/nafflib/modnaff.c
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/modnaff.c	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/modnaff.c	(revision 17)
@@ -0,0 +1,3188 @@
+/* MODNAFF.C version 0.96                                                 */
+/* Astronomie et systemes dynamiques                                      */
+/* J. LASKAR Bureau des Longitudes, Paris (version originale fortran)     */
+/* M. GASTINEAU, portage en C, 03/09/98                                   */
+/* v0.96 M. GASTINEAU 09/09/98 : modification dans la fonction naf_ztder  */
+/*                               dans les boucles de I en I-1.            */
+/* v0.96 M. GASTINEAU 09/11/98 : remplacement des variables PI2 par PICARRE*/
+/*                               car PI2 est un define sous LINUX.        */
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes     */
+/*                               inlines.                                 */
+/* v0.96 M. GASTINEAU 07/12/98 : modification dans naf_frefin car bug lors*/
+/*                               de l'optimisation sur Mac.               */
+/* v0.96 M. GASTINEAU 18/12/98 : modification de naf_iniwin               */
+/* v0.96 M. GASTINEAU 06/01/99 : ajout de la liberation de la liste des   */
+/*                        fenetres dans naf_cleannaf et naf_cleannaf_notab*/
+/* v0.96 M. GASTINEAU 12/01/99 : correction dans le cas ou ICPLX=0 dans   */
+/*                        naf_modfre et naf_gramsc.                       */
+/*v0.96 M. GASTINEAU 14/01/99 : ajout du support des fenetres dans        */
+/*                        naf_mfttab et naf_fftmax.                       */
+/*v0.97 M. GASTINEAU 26/05/99 : correction bug (0.97/99/05/26/A) dans     */
+/*                        naf_mftnaf                                      */
+/* v0.97 M. GASTINEAU 27/05/99 : correction bug (0.97/99/05/27/A) dans le */
+/*                  cas ou ICPLX=0 et FS=0 dans naf_modfre et naf_gramsc. */
+
+#define FUNCINLINEEXTERN_MUSTBEINLIB
+#include "modnaff.h"
+#include "complexe.h"
+
+/*variable globale de naf */
+t_naf g_NAFVariable;
+
+/*legere difference entre NAF_USE_OPTIMIZE=0 et NAF_USE_OPTIMIZE=1*/
+/* car division differente dans naf_gramsc */
+#define NAF_USE_OPTIMIZE 1
+
+/*
+!-------------------------------------------------------------------------
+!   NAFF.0.84 NUMERICAL ANALYSIS OF FUNDAMENTAL FREQUENCIES
+!            (27 JANVIER 1996)
+!  
+!   (C) JACQUES LASKAR 
+!       ASTRONOMIE ET SYSTEMES DYNAMIQUES
+!       BUREAU DES LONGITUDES
+!       75006 PARIS
+!       EMAIL : LASKAR@BDL.FR
+!
+!    MAIN REFERENCES : 
+!    LASKAR, J.: THE CHAOTIC MOTION OF THE SOLAR SYSTEM. A NUMERICAL
+!    ESTIMATE OF THE SIZE OF THE CHAOTIC ZONES,ICARUS,88,(1990),266--291
+!
+!   (NAFF.MAC.1.6 - 27/5/98)
+!
+!**************************************************************************
+!  THIS PROGRAMM  CANNOT BE COPIED, 
+!  DISTRIBUTED NOR MODIFIED WITHOUT THE AGREEMENT OF THE AUTHOR.
+!**************************************************************************
+! 
+!                        PROGRAMME D'ANALYSE DE FOURIER AUTOMATIQUE
+!   -- NAFF --           CALCULE UN TERME A LA FOIS ET LE RETRANCHE
+!                        A TABS
+!                        NOUVELLE VERSION 26/9/87
+!                        MODIFIEE POUR NFS LE 18/10/87
+!                        MODIFIEE LE 10/4/88 POUR TRAITER
+!                        A LA FOIS UN TABLEAU REEL OU COMPLEXE
+!                        CALCUL BATCH SUR CIRCE
+! 8/10/90 MODIF POUR REMETTRE SUR VP (FORTRAN STANDARD)
+! 13/12/90   MODIF POUR RENDRE PLUS MODULAIRE
+! 18/12/90   MODIF IL N'Y A PLUS DE DIMENSIONS A REGLER DANS
+!            LES SOUS PROGRAMMES. TABS(2,*) AU LIEU DE TABS(2,0:KTABS)
+!            NFR EST ENCORE EN PARAMETER, MAIS EST RAREMENT A CHANGER.
+!
+!            IL FAUT REMPLACER LE * DES TABLEAUX
+!            DIMENSIONES T(*) OU T(N,*) PAR T(1) OU T(N,1)
+! 19/12/90
+!  16/4/91   COMPILATION SEPAREE DE NAFF EN UNE BIBLIOTHEQUE
+!  30/4/91   TRAITEMENT DU CAS OU ON RETROUVE LA MEME FREQUENCE
+!  27/1/96   PLUSIEURS FENETRES
+!  27/2/97   MODIF POUR DIMENSIONNER TOUT EXPLICITEMENT AVEC 
+!            INCLUDE NAFF.INC POUR LES PARAMETRES
+!  23/45/1997    CORRECTION DE MAXIQUA.F (F. JOUTEL)
+!  22/4/1998 MODIF POUR QUADRUPLE PRECISION (J. LASKAR)
+!            CHANGEMENT POUR UN EPSILON MACHINE DONNE PAR NAFF.INC
+!  27/5/98   AMELIORATION DE LA RECHERCHE DU MAXIMUM PAR
+!            LA METHODE DES SECANTES
+!            ROUTINE DE CORRECTION DE LA FREQUENCE PRINCIPALE PAR
+!            DEVELOPPEMENT ASYMTOTIQUE (F. JOUTEL)
+!***********************************************************************
+!          MODULE  NAFF
+!----------------------------------------------------------------------
+!  PROCEDURE D'UTILISATION:
+!  - PHASE D'INITIALISATION
+!      1)  INITIALISER LES VARIABLES :
+!              DTOUR,KTABS,XH,NTERM,IW,T0,ICPLX,ISEC,NFPRT,IPRT
+!      2)  CALL INITNAF
+!             CALCULE UNIANG,FREFON, EPSM, PI 
+!             CREE LES TABLEAUX DYNAMIQUES ((ZTABS)), ((TFS)), ((ZAMP)),
+!	     ((ZALP)) et((TWIN))
+!             APPELLE INIWIN
+!  - PHASE D'UTILISATION
+!      1)  EMPLIR LE TABLEAU ZTABS
+!      2)  CALL MFTNAF(NBTERM,EPS)
+!          ANALYSE ((ZTABS)) ET ESSAIE DE RECHERCHER (NBTERM) FREQUENCES, 
+!          (EPS) ETANT L'ERREUR TOLEREE
+!          --! MODIFIE ((ZTABS))
+!  - PHASE D'EXPLOITATION OU DE MODIFICATION
+!     * CALL PRTABS(KTABS,ZTABS,IPAS)
+!         IMPRIME LES ELEMENTS DU TABLEAU COMPLEXE (ZTABS(0:KTABS)) TOUS 
+!         LES (IPAS), ((IPRT)) DOIT ETRE MIS A 1 AVANT LA PROCEDURE POUR
+!         IMPRIMER QUELQUE CHOSE 
+!     * CALL SMOY(ZM)
+!         CALCULE LA MOYENNNE DES ELEMENTS DE ((ZTABS)) ET MODIFIE CE  
+!         TABLEAU EN SOUSTRAYANT DE CHACUN DES ELEMENTS CETTE VALEUR 
+!         MOYENNE (ZM)
+!         --! MODIFIE ((ZTABS))
+!     * CALL TESSOL (EPS,TFSR,ZAMPR)
+!         TESTE LA COHERENCE DES SOLUTIONS OBTENUES PAR NAFF:
+!          -  RECONSTRUIT LE SIGNAL A PARTIR DES ((NFS)) TERMES TROUVES 
+!             QUI SONT DANS ((TFS)) ET ((ZAMP))
+!          -  ANALYSE CE NOUVEAU SIGNAL, (EPS) ETANT L'ERREUR TOLEREE,
+!             ET RANGE LES NOUVEAUX TERMES DANS (TFSR) ET (ZAMPR)
+!          --! MODIFIE ((ZTABS))
+!     * CALL INIFRE
+!         REMET A ZERO ((TFS)), ((ZAMP)),((ZALP)) et ((NFS))
+!         UTILE QUAND ON BOUCLE SUR PLUSIEURS CAS
+!     * CALL CORRECTION (FREQ)
+!        UTILISE LES TERMES TROUVES POUR CORRIGER LA FREQUENCE
+!        PRINCIPALE, LA NOUVELLE VALEUR CORRIGEE EST (FREQ)
+!  - PHASE DE SORTIE (POUR RECUPERER DE LA PLACE OU POUR REINITIALISER)
+!      1) CALL CLEANNAF
+!         DESALLOUE LES TABLEAUX DYNAMIQUES ((ZTABS)), ((TFS)), ((ZAMP)),
+!	  ((ZALP)) et ((TWIN))
+!-------------------------------------------------------------------------
+!  VARIABLES INDISPENSABLES
+!  NTERM                : LE NOMBRE MAXIMAL DE FREQUENCES A RECHERCHER
+!  KTABS                : LE NOMBRE D'INTERVALLES ENTRE LES DONNEES
+!                         (IL Y A DONC KTABS+1 DONNEES)
+!  XH                   : PAS ENTRE DEUX DONNEES 
+!                         DANS UNE UNITE DE TEMPS QUELCONQUE
+!                         LA DUREE DE L'INTERVALLE EST ALORS XH!KTABS
+!  T0                   : DATE DE DEPART DES DONNEES
+!  DTOUR                : LONGUEUR D'UN TOUR DE CADRAN
+!  ICPLX                :  0 SI LA FONCTION EST REELLE, 1 SINON
+!  IW                   : PARAMETRE DE LA FENETRE D'INTEGRATION
+!                            IW=0  PAS DE FENETRE
+!                            IW=1  FENETRE DE HANNING  etc
+!  ISEC                 : DRAPEAU DE LA METHODE DES SECANTES
+!                           ISEC=1 oui,  ISEC=0 non
+!  NFPRT                : NUMERO DE LA CONNECTION PUR L'IMPRESSION
+!  IPRT                 : INDIQUE LE TYPE D'IMPRESSION, EN GENERAL :
+!                         -1 PAS D'IMPRESSION
+!                         O  MESSAGES D'ERREURS EVENTUELLES
+!                         1  RESULTATS
+!                         2  (DEBUG)
+!  TABLEAU OU RANGER LE SIGNAL
+!  ZTABS(0:KTABS)       : TABLEAU DE KTABS+1 COMPLEXES
+!
+!  VARIABLES CALCULEES PAR NAFF
+!  UNIANG              : UNITE D'ANGLE = 1RD=UNIANG UNITE D'ANGLE
+!                          (SI L'UNITE EST EN SECONDES D'ARC
+!                              UNIANG=206264.80624709D0 )
+!                        CALCULE EN FONCTION DE DTOUR
+!  FREFON              : FREQUENCE FONDAMENTALE
+!                           FREFON=2*PI/(KTABS*XH) OU EN SECONDES
+!                           FREFON=360.D0*3600.D0/(KTABS*XH)  
+!  NFS                 : NOMBRE DE FREQUENCES ENTIEREMENT DETERMINEES
+!                        AINSI QUE LEUR AMPLITUDE
+!  TFS(NBTERM)         : TABLEAU DES FREQUENCES
+!  ZAMP(NBTERM)        : AMPLITUDE COMPLEXE DES TERMES
+!  ZALP(NBTERM,NBTERM) : TABLEAU DE CHANGEMENT DE BASE
+!
+!-----------------------------------------------------------------------*/
+static double AF,BF;
+static double *TWIN=NULL;
+
+/*!-----------------------------------------------------------------------	  
+! VARIABLES A INITIALISER PAR L'UTILISATEUR AVANT DE LANCER INITNAF
+          PUBLIC :: DTOUR,KTABS,XH,NTERM,IW,NFPRT,IPRT;
+! VARIABLES PUBLIQUES INITIALISEES PAR INITNAF
+          PUBLIC :: EPSM,PI,UNIANG,FREFON;
+! TABLEAUX PUBLICS CREES PAR INITNAF ET DETRUITES PAR CLEANNAFF
+          PUBLIC ::  TFS,ZAMP,ZTABS,ZALP;
+!-----------------------------------------------------------------------	  
+! VARIABLES  A INITIALISER PAR L'UTILISATEUR AVANT DE LANCER NAFF
+          PUBLIC :: T0,ICPLX,ISEC
+! VARIABLES INITIALISES ET UTILISEES PAR NAFF
+          PUBLIC :: NERROR,NFS
+!-----------------------------------------------------------------------
+! ROUTINES PUBLIQUES
+          PUBLIC :: INITNAF,CLEANNAF,MFTNAF,PRTABS,SMOY,TESSOL
+          PUBLIC :: INIFRE,CORRECTION*/
+/*v0.96 M. GASTINEAU 06/10/98 : ajout */
+void naf_initnaf_notab();
+void naf_cleannaf_notab();
+/*v0.96 M. GASTINEAU 06/10/98 : fin ajout */
+void naf_initnaf();
+void naf_inifre();
+void naf_cleannaf();
+BOOL naf_mftnaf(int NBTERM, double EPS);
+void naf_prtabs(int KTABS, t_complexe *ZTABS, int IPAS);
+void naf_smoy(t_complexe *ZM);
+BOOL naf_tessol(double EPS, double *TFSR, t_complexe *ZAMPR);
+void naf_correction(double *FREQ);
+void naf_four1(double *DATA /*tableau commencant a l'indice 1 */,
+               int NN, int ISIGN);
+void naf_puiss2(int NT, int *N2);
+/*v0.96 M. GASTINEAU 18/12/98 : modification du prototype */
+/*void naf_iniwin();*//*remplacee par: */
+void naf_iniwin(double *p_pardTWIN);
+/*v0.96 M. GASTINEAU 18/12/98 : fin modification */
+void delete_list_fenetre_naf(t_list_fenetre_naf *p_pListFenNaf);
+t_list_fenetre_naf *concat_list_fenetre_naf(t_list_fenetre_naf *p_pListFenHead,
+                                            t_list_fenetre_naf *p_pListFenEnd);
+t_list_fenetre_naf *cree_list_fenetre_naf(const double p_dFreqMin, 
+                                          const double p_dFreqMax, 
+                                          const int p_iNbTerm);
+
+/*!-----------------------------------------------------------------------	  
+! VARIABLES PRIVEES
+          PRIVATE :: TWIN,AF,BF                   
+! ROUTINES PRIVEES
+          PRIVATE :: INIWIN,FRETES,ZTPOW,FFTMAX,FOUR1,PUISS2,MAXX        
+          PRIVATE :: MODFRE, GRAMSC,PROSCA,SECANTES,MAXIQUA
+          PRIVATE :: FUNC,FUNCP,PRODER,ZTDER,FREFIN,PROFRE
+          PRIVATE :: ZTPOW2,ZARDYD,PROSCAA,ZTPOW2A,MODTAB*/
+static void naf_fretes(double FR, int *IFLAG, double TOL, int * NUMFR);
+static void naf_ztpow(int N, int N1, t_complexe *ZT, t_complexe ZA, t_complexe ZAST);
+/* v0.96 M. GASTINEAU 12/01/99 : optimisation */
+#if NAF_USE_OPTIMIZE==0
+static void naf_maxx(int N, double *T, int *INDX);
+static void naf_fftmax(double *FR);
+#else /*remplacee par:*/
+static int naf_maxx(int N, double *T);
+static double naf_fftmax(int p_iFrMin, int p_iFrMax, double FREFO2, int KTABS2); 
+#endif /*NAF_USE_OPTIMIZE*/
+/* v0.96 M. GASTINEAU 12/01/99 : fin optimisation */
+static void naf_modtab(int N, double *T);
+static void naf_modfre(int NUMFR, double *A, double *B);
+static BOOL naf_gramsc(double FS, double A, double B);
+static void naf_prosca(double F1, double F2, t_complexe* ZP);
+static void naf_proder(double FS, double *DER, double *A, double *B,double *RM);
+static double naf_funcp(double X);
+static void naf_ztder(int N, int N1, t_complexe *ZTF, t_complexe *ZTA, double *TW, t_complexe ZA, t_complexe ZAST, double T0, double XH);
+static void naf_secantes(double X, double PASS, double EPS, double *XM, int IPRT, FILE *NFPRT);
+static double naf_func(double X);
+static void naf_maxiqua(double X, double PASS, double EPS, double *XM, double *YM, int IPRT, FILE *NFPRT);
+static void naf_frefin(double *FR, double *A, double *B, double *RM, const double RPAS0, const double RPREC);
+static void naf_ztpow2(int N, int N1, t_complexe *ZTF, t_complexe *ZTA, double *TW, t_complexe ZA, t_complexe ZAST);
+static BOOL naf_profre(double FS, double *A, double *B, double *RMD);
+static BOOL naf_proscaa(double F1, double F2, t_complexe *ZP);
+static BOOL naf_zardyd(t_complexe *ZT, int N, double H, t_complexe *ZOM);
+static void naf_ztpow2a(int N, int N1, t_complexe *ZTF, double *TW, t_complexe ZA, t_complexe ZAST);
+          
+/*!------------------------------------------------------------------------          
+          CONTAINS*/
+ 
+ 
+/*!*/
+
+/*!-----------------------------------------------------------------------
+!-----------------------------------------------------------------------
+!           ROUTINES DE NAFF
+!-----------------------------------------------------------------------
+      SUBROUTINE INITNAF
+      IMPLICIT NONE
+!-----------------------------------------------------------------------
+!        INITNAFF
+!  - effectue les initialisations necessaires :  PI,UNIANG,FREFON,EPSM
+!  - alloue les tableaux dynamiques TFS,ZAMP,ZALP,ZTABS,TWIN
+!  - appelle INIWIN
+!-----------------------------------------------------------------------*/
+void naf_initnaf()
+{  
+/*!----------------- PREMIERES INITIALISATIONS*/
+      g_NAFVariable.EPSM = DBL_EPSILON;
+      /*PI = ATAN2(1.D0,0.D0)*2*/
+      g_NAFVariable.UNIANG = g_NAFVariable.DTOUR/(2*pi) ;
+      g_NAFVariable.FREFON = g_NAFVariable.DTOUR/(g_NAFVariable.KTABS*g_NAFVariable.XH)	;      
+      SYSCHECKMALLOCSIZE(g_NAFVariable.TFS, double, g_NAFVariable.NTERM+1);/*allocate(TFS(1:NTERM),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(g_NAFVariable.ZAMP, t_complexe, g_NAFVariable.NTERM+1); /*allocate(ZAMP(1:NTERM),stat = NERROR)*/
+      DIM2(g_NAFVariable.ZALP, (g_NAFVariable.NTERM+1), (g_NAFVariable.NTERM+1), t_complexe,"ZALP"); /*allocate(ZALP(1:NTERM,1:NTERM),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(g_NAFVariable.ZTABS, t_complexe, g_NAFVariable.KTABS+1);/* allocate(ZTABS(0:KTABS),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(TWIN, double, g_NAFVariable.KTABS+1); /*allocate(TWIN(0:KTABS),stat = NERROR)*/
+      /*v0.96 M. GASTINEAU 18/12/98 : modification du prototype */
+      /*naf_iniwin();  */ naf_iniwin(TWIN);     
+}/*      end SUBROUTINE INITNAF*/
+/*!-----------------------------------------------------------------------
+      subroutine CLEANNAF*/
+/* v0.96 M. GASTINEAU 06/01/99 : ajout de la liberation de la liste des fenetres */
+void naf_cleannaf()
+{
+/*!-----------------------------------------------------------------------
+!     desalloue les tableaux dynamiques
+!-----------------------------------------------------------------------*/
+ 
+      SYSFREE(g_NAFVariable.TFS);
+      SYSFREE(g_NAFVariable.ZAMP);
+      HFREE2(g_NAFVariable.ZALP);
+      SYSFREE(g_NAFVariable.ZTABS);
+      SYSFREE(TWIN);
+      /* v0.96 M. GASTINEAU 06/01/99 : ajout */
+      delete_list_fenetre_naf(g_NAFVariable.m_pListFen);
+      g_NAFVariable.m_pListFen =NULL;
+      /* v0.96 M. GASTINEAU 06/01/99 : fin ajout */
+}/*      end  subroutine CLEANNAF  */
+      
+/*-----------------------------------------------------------------------*/
+/* fonction identique a naf_initnaf mais :                               */
+/*n'alloue pas de tableau pour ZTABS, TFS et ZAMP.                       */
+/*-----------------------------------------------------------------------*/
+/*v0.96 M. GASTINEAU 06/10/98 : ajout */
+void naf_initnaf_notab()
+{  
+/*!----------------- PREMIERES INITIALISATIONS*/
+      g_NAFVariable.EPSM = DBL_EPSILON;
+      g_NAFVariable.UNIANG = g_NAFVariable.DTOUR/(2*pi) ;
+      g_NAFVariable.FREFON = g_NAFVariable.DTOUR/(g_NAFVariable.KTABS*g_NAFVariable.XH)	;      
+      DIM2(g_NAFVariable.ZALP, (g_NAFVariable.NTERM+1), (g_NAFVariable.NTERM+1), t_complexe,"ZALP"); /*allocate(ZALP(1:NTERM,1:NTERM),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(TWIN, double, g_NAFVariable.KTABS+1); /*allocate(TWIN(0:KTABS),stat = NERROR)*/
+      /*v0.96 M. GASTINEAU 18/12/98 : modification du prototype */
+      /*naf_iniwin();*/ naf_iniwin(TWIN);    
+}/*      end SUBROUTINE naf_initnaf_notab*/
+
+/*-----------------------------------------------------------------------*/
+/* fonction identique a naf_initnaf mais :                               */
+/*ne libere pas  ZTABS, TFS et ZAMP.                                     */
+/*-----------------------------------------------------------------------*/
+/*v0.96 M. GASTINEAU 06/10/98 : ajout */
+/* v0.96 M. GASTINEAU 06/01/99 : ajout de la liberation de la liste des fenetres */
+void naf_cleannaf_notab()
+{
+/*!-----------------------------------------------------------------------
+!     desalloue les tableaux dynamiques
+!-----------------------------------------------------------------------*/
+ 
+      HFREE2(g_NAFVariable.ZALP);
+      SYSFREE(TWIN);
+      /* v0.96 M. GASTINEAU 06/01/99 : ajout */
+      delete_list_fenetre_naf(g_NAFVariable.m_pListFen);
+      g_NAFVariable.m_pListFen =NULL;
+      /* v0.96 M. GASTINEAU 06/01/99 : fin ajout */
+}/*      end  subroutine naf_initnaf_notab  */
+
+         
+/*!-----------------------------------------------------------------------
+      SUBROUTINE MFTNAF(NBTERM,EPS)*/
+/*v0.97 M. GASTINEAU 26/05/99 : correction bug 0.97/99/05/26/A  pour pas<0 (XH<0) */
+BOOL naf_mftnaf(int NBTERM, double EPS)
+{
+/*!-----------------------------------------------------------------------
+!     MFTNAF
+!                CALCULE UNE APPROXIMATION QUASI PERIODIQUE
+!                DE LA FONCTION TABULEE DANS g_NAFVariable.ZTABS(0:KTABS)
+!
+!     NBTERM               : NOMBRE DE TERMES RECHERCHES (<= NTERM)
+!
+!
+!     EPS                 : PRECISION AVEC LAQUELLE ON RECHERCHE 
+!                           LES FREQUENCES
+!
+!-----------------------------------------------------------------------
+
+      IMPLICIT NONE
+! (EPS)
+      integer :: NBTERM
+      REAL (8) :: EPS     
+!
+      integer :: I,IFLAG,NUMFR
+      REAL (8) :: TOL,STAREP,FR,A,B,RM     
+!-----------------------------------------------------------------------*/
+      int I, IFLAG, NUMFR;
+      double TOL,STAREP,FR,A,B,RM;
+/*v0.96 M. GASTINEAU 14/01/99 : ajout - support des fenetres*/
+#if NAF_USE_OPTIMIZE>0
+      int iFrMin;
+      int iFrMax;
+      double FREFO2;
+      int KTABS2;
+#endif /*NAF_USE_OPTIMIZE*/
+/*v0.96 M. GASTINEAU 14/01/99 : fin ajout*/
+      
+      if (NBTERM >g_NAFVariable.NTERM)
+      {
+       Myyerror("Nbre de termes cherches trop grand");
+       return FALSE;
+      }
+      TOL = 1.E-4;
+      STAREP=fabs(g_NAFVariable.FREFON)/3;
+      naf_inifre();
+/*v0.96 M. GASTINEAU 14/01/99 : ajout support des fenetres*/
+#if NAF_USE_OPTIMIZE>0
+     naf_puiss2(g_NAFVariable.KTABS+1,&KTABS2);
+     FREFO2=(g_NAFVariable.FREFON*g_NAFVariable.KTABS)/KTABS2;
+     do
+     {
+      if (g_NAFVariable.m_pListFen==NULL)
+      {/*pas de fenetre => on recherche dans toutes les frequences */
+       iFrMin=KTABS2;
+       iFrMax=KTABS2;
+      }
+      else
+      {
+       const int iMaxValue=KTABS2/2-1;
+       NBTERM=g_NAFVariable.m_pListFen->iNbTerme;
+       iFrMin=g_NAFVariable.m_pListFen->dFreqMin/FREFO2;
+       iFrMax=g_NAFVariable.m_pListFen->dFreqMax/FREFO2;
+       /*v0.97 M. GASTINEAU 26/05/99 : ajout - correction bug (cas pas <0) */
+       if (iFrMin>iFrMax) 
+       {/*swap*/
+        double temp = iFrMin;
+        iFrMin = iFrMax;
+        iFrMax = temp;
+       }
+       /*v0.97 M. GASTINEAU 26/05/99 : fin ajout  */
+       if (iFrMin<-iMaxValue) 
+       { iFrMin=-iMaxValue; }
+       else if (iFrMin>iMaxValue) 
+       { iFrMin=+iMaxValue; }
+       if (iFrMax<-iMaxValue) 
+       { iFrMax=-iMaxValue; }
+       else if (iFrMax>iMaxValue) 
+       { iFrMax=+iMaxValue; }
+      }
+#endif /*NAF_USE_OPTIMIZE*/
+/*v0.96 M. GASTINEAU 14/01/99 : fin ajout */
+      for(I=1;I<=NBTERM; I++)
+      {
+/*v0.96 M. GASTINEAU 14/01/99 : modification support des fenetres*/
+#if NAF_USE_OPTIMIZE==0
+         naf_fftmax(&FR);
+#else /*remplacee par:*/
+         FR=naf_fftmax(iFrMin,iFrMax,FREFO2,KTABS2);
+#endif /*NAF_USE_OPTIMIZE*/
+/*v0.96 M. GASTINEAU 14/01/99 : fin modification*/
+         naf_frefin(&FR,&A,&B,&RM,STAREP,EPS);
+         naf_fretes(FR,&IFLAG,TOL,&NUMFR);
+         if (IFLAG == 0) break; /*GOTO 999*/
+         if (IFLAG == 1)
+         {
+            if(naf_gramsc(FR,A,B)==FALSE)
+            {
+             return FALSE;
+            }
+            g_NAFVariable.NFS++; /*g_NAFVariable.NFS=g_NAFVariable.NFS+1;*/
+         }
+         if (IFLAG==-1)
+         {
+          naf_modfre(NUMFR,&A,&B);
+         }
+      }
+/*v0.96 M. GASTINEAU 14/01/99 : ajout - support des fenetres*/
+#if NAF_USE_OPTIMIZE>0
+      /*passage a la fenetre suivante */
+      if (g_NAFVariable.m_pListFen!=NULL)
+      {
+       t_list_fenetre_naf *pListTemp=g_NAFVariable.m_pListFen;
+       g_NAFVariable.m_pListFen=pListTemp->suivant;
+       SYSFREE(pListTemp);
+      }
+     } while (g_NAFVariable.m_pListFen!=NULL);
+#endif /*NAF_USE_OPTIMIZE*/
+/*v0.96 M. GASTINEAU 14/01/99 : fin ajout*/
+
+ /*999   CONTINUE*/
+ return TRUE;
+} /*      END SUBROUTINE MFTNAF */
+/*!
+      SUBROUTINE PRTABS(KTABS,g_NAFVariable.ZTABS,IPAS)*/
+void naf_prtabs(int KTABS, t_complexe *ZTABS, int IPAS)
+{
+/*
+!-----------------------------------------------------------------------
+!     IMPRESSION DE g_NAFVariable.ZTABS
+!-----------------------------------------------------------------------
+  
+      IMPLICIT NONE
+! (KTABS,g_NAFVariable.ZTABS,IPAS)
+      integer :: KTABS,IPAS
+      complex (8) :: g_NAFVariable.ZTABS(0:KTABS)
+!
+      integer :: I         
+!*/
+      int I;
+      
+      if  (g_NAFVariable.IPRT==1)
+      {
+         for (I=0;I<=KTABS;I+=IPAS)
+         {
+          fprintf(g_NAFVariable.NFPRT,"%6d  %-+20.15E %-+20.15E\n",I, ZTABS[I].reel, ZTABS[I].imag);
+          /* WRITE(g_NAFVariable.NFPRT,1000) I,DREAL(ZTABS(I)),DIMAG(ZTABS(I))*/
+         }
+      }
+/*1000  FORMAT (1X,I6,2X,2D20.6)*/
+}/*      END SUBROUTINE PRTABS */
+/*!
+!
+      SUBROUTINE SMOY(ZM)*/
+void naf_smoy(t_complexe *ZM)
+{
+/*
+!-----------------------------------------------------------------------
+!    CALCUL DES MOYENNNES DE g_NAFVariable.ZTABS ET SOUSTRAIT DE CHACUNE
+!    LA VALEUR MOYENNE
+!-----------------------------------------------------------------------
+ 
+      IMPLICIT NONE 
+! (ZM)
+      complex (8) :: ZM 
+!
+      integer :: I          
+!-----------------------------------------------------------------------
+*/
+      int I;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+       *ZM=cmplx(0.E0,0.E0);
+      for (I=0; I<=g_NAFVariable.KTABS; I++)
+      {
+         *ZM = addcomplexe(*ZM,g_NAFVariable.ZTABS[I]);
+      }
+      *ZM=muldoublcomplexe(1E0/((double)(g_NAFVariable.KTABS+1)), *ZM); /*ZM=ZM/(g_NAFVariable.KTABS+1)*/
+      for (I=0; I<=g_NAFVariable.KTABS; I++)
+      {
+         g_NAFVariable.ZTABS[I]=subcomplexe(g_NAFVariable.ZTABS[I],*ZM);
+      }
+#else /*remplacees par: */
+      t_complexe *pzarTabs;
+      double dNbKTabs1=g_NAFVariable.KTABS+1;
+      i_compl_cmplx(ZM,0.E0,0.E0);
+      for (I=0, pzarTabs = g_NAFVariable.ZTABS; 
+           I<=g_NAFVariable.KTABS;
+           I++, pzarTabs++)
+      {
+         i_compl_padd(ZM,pzarTabs);
+      }
+      i_compl_pdivdoubl(ZM,&dNbKTabs1);/*ZM=ZM/(g_NAFVariable.KTABS+1)*/
+      for (I=0, pzarTabs = g_NAFVariable.ZTABS;
+           I<=g_NAFVariable.KTABS; 
+           I++, pzarTabs++)
+      {
+         i_compl_psub(pzarTabs,ZM);
+      }
+#endif /*NAF_USE_OPTIMIZE*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin modification */
+}/*      END SUBROUTINE SMOY*/
+/*!
+!
+      SUBROUTINE FRETES (FR,IFLAG,TOL,NUMFR)*/
+void naf_fretes(double FR, int *IFLAG, double TOL, int * NUMFR)
+{
+/*!**********************************************************************
+!     TEST DE LA NOUVELLE FREQUENCE TROUVEE PAR RAPPORT AUX ANCIENNES.
+!     LA DISTANCE ENTRE DEUX FREQ  DOIT ETRE DE g_NAFVariable.FREFON
+!
+!     RENVOIE IFLAG =  1 SI LE TEST REUSSIT (ON PEUT CONTINUER)
+!             IFLAG =  0 SI LE TEST ECHOUE (IL VAUT MIEUX S'ARRETER)
+!             IFLAG = -1 SI TEST < ECART, MAIS TEST/ECART < TOL
+!                        (ON RETROUVE PRATIQUEMENT LA MEME FREQUENCE 
+!                         D'INDICE NFR)
+!     TOL (ENTREE) TOLERANCE ( 1.D-7) EST UN BON EXEMPLE
+!     NFR (SORTIE) INDICE DE LA FREQUENCE RETROUVEE
+!
+!***********************************************************************
+  
+      IMPLICIT NONE
+! (FR,IFLAG,TOL,NUMFR)
+      integer :: IFLAG,NUMFR
+      REAL (8) :: FR,TOL
+!
+      integer :: I
+      REAL (8) :: ECART,TEST
+! */
+      int I;
+      double ECART, TEST;                
+      *IFLAG = 1;
+      ECART = fabs(g_NAFVariable.FREFON) ; 
+      for (I = 1; I<=g_NAFVariable.NFS; I++)
+      {
+        TEST = fabs(g_NAFVariable.TFS[I] - FR);
+        if (TEST<ECART)
+        {
+            if ((TEST/ECART)<TOL)
+            {
+               *IFLAG = -1;
+               *NUMFR   = I;
+               if (g_NAFVariable.IPRT>=1)
+               {
+                fprintf(g_NAFVariable.NFPRT, "TEST/ECART = %g   ON CONTINUE\n", TEST/ECART);
+               }
+               break; /*GOTO 999*/
+            }
+            else
+            {
+               *IFLAG = 0 ;
+               if (g_NAFVariable.IPRT>=0)
+               {
+                fprintf(g_NAFVariable.NFPRT,"TEST = %g ECART = %g \n", TEST, ECART);
+                fprintf(g_NAFVariable.NFPRT,"FREQUENCE   FR = %g  TROP PROCHE  DE  %g\n", FR, g_NAFVariable.TFS[I]);
+               }
+            }
+         }
+      }
+/*999   CONTINUE*/
+}/*      END SUBROUTINE FRETES*/
+/*!
+      SUBROUTINE ZTPOW (N,N1,ZT,ZA,ZAST)*/
+void naf_ztpow(int N, int N1, t_complexe *ZT, t_complexe ZA, t_complexe ZAST)
+{
+/*!-----------------------------------------------------------------------
+!     ZTPOW   CALCULE  ZT(I) = ZAST*ZA**I EN VECTORIEL
+!             ZT(N)
+!-----------------------------------------------------------------------
+      IMPLICIT NONE
+! (N,N1,ZT,ZA,ZAST)
+      integer :: N,N1
+      complex (8) :: ZT(0:N),ZA,ZAST
+!           
+      integer :: I,INC,NX,IT,NT
+      complex (8) ZT1,ZINC
+! */
+      int  I,INC,NX,IT,NT;
+      t_complexe  ZT1,ZINC;   
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE>0
+      t_complexe *pzarZT;
+#endif     /*NAF_USE_OPTIMIZE*/ 
+
+      if (N<N1-1)
+      {
+         printf("DANS ZTPOW, N = %d\n", N);
+         return;
+      }
+/*!----------! */
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      ZT[0] = mulcomplexe(ZAST,ZA);
+      for(I = 1; I<N1; I++)
+      {
+         ZT[I] = mulcomplexe(ZT[I-1],ZA);
+      }
+      ZT1=divcomplexe(ZT[N1-1], ZAST); /*ZT1 = ZT(N1-1)/ZAST*/
+      ZINC=cmplx(1E0, 0E0); /*ZINC= 1;*/
+      INC =0;
+      NT = (N+1)/N1;  
+      for (IT = 2; IT<= NT; IT++)
+      {
+         ZINC = mulcomplexe(ZINC,ZT1);
+         INC += N1; /*INC  = INC + N1*/
+         for (I = 0; I<N1; I++)
+         {
+            ZT[INC+I]=mulcomplexe(ZT[I], ZINC); /*ZT(INC +I) = ZT(I)*ZINC*/
+         }
+      }
+      ZINC = mulcomplexe(ZINC, ZT1); /*ZINC = ZINC*ZT1*/
+      INC += N1; /*INC  = INC + N1;*/
+      NX = N+1-NT*N1;
+      for (I = 0; I<NX; I++)
+      {
+         ZT[INC+I]=mulcomplexe(ZT[I], ZINC); /*ZT(INC +I) = ZT(I)*ZINC*/
+      }
+#else /*remplacee par: */
+      ZT[0] = i_compl_mul(ZAST,ZA);
+      for(I = 1, pzarZT=ZT+1 ; I<N1; I++,pzarZT++)
+      {
+         *pzarZT = i_compl_mul(*(pzarZT-1),ZA);
+      }
+      ZT1=i_compl_div(ZT[N1-1], ZAST); /*ZT1 = ZT(N1-1)/ZAST*/
+      i_compl_cmplx(&ZINC,1E0, 0E0); /*ZINC= 1;*/
+      INC =0;
+      NT = (N+1)/N1;  
+      for (IT = 2; IT<= NT; IT++)
+      {
+         i_compl_pmul(&ZINC,&ZT1);
+         INC += N1; /*INC  = INC + N1*/
+         for (I = 0; I<N1; I++)
+         {
+            ZT[INC+I]=i_compl_mul(ZT[I], ZINC); /*ZT(INC +I) = ZT(I)*ZINC*/
+         }
+      }
+      i_compl_pmul(&ZINC, &ZT1); /*ZINC = ZINC*ZT1*/
+      INC += N1; /*INC  = INC + N1;*/
+      NX = N+1-NT*N1;
+      for (I = 0; I<NX; I++)
+      {
+         ZT[INC+I]=i_compl_mul(ZT[I], ZINC); /*ZT(INC +I) = ZT(I)*ZINC*/
+      }
+#endif /*NAF_USE_OPTIMIZE*/ 
+/* v0.96 M. GASTINEAU 01/12/98 : fin modification */
+}/*      END SUBROUTINE ZTPOW*/
+/*!
+      SUBROUTINE TESSOL (EPS,TFSR,ZAMPR)*/
+BOOL naf_tessol(double EPS, double *TFSR, t_complexe *ZAMPR)
+{      
+/*!-----------------------------------------------------------------------
+!     TESSOL
+!                SOUS PROGRAMME POUR VERIFIER LA PRECISION DES
+!                SOLUTIONS OBTENUES PAR ANALYSE DE FOURIER
+!                ON ANALYSE A NOUVEAU LA SOLUTION ET ON COMPARE 
+!                LES TERMES
+!
+!     J. LASKAR 25/5/89
+!-----------------------------------------------------------------------
+      
+      IMPLICIT NONE
+! (EPS,TFSR,ZAMPR)
+      REAL (8) :: EPS, TFSR(g_NAFVariable.NTERM)
+      complex (8) :: ZAMPR(g_NAFVariable.NTERM)
+!          
+      integer :: IT,IFR,JFR, NVTERM
+      REAL (8) :: OFFSET
+      complex (8) :: ZI,ZA,ZOM,ZEX
+      REAL (8), dimension(:),allocatable :: TFST
+      complex (8),allocatable,dimension(:) :: ZAMPT
+      complex (8),allocatable,dimension(:,:) :: ZALPT
+      complex (8) :: ZINC
+      complex (8), dimension (:), allocatable :: ZT
+ */
+      int IT,IFR,JFR, NVTERM;
+      double OFFSET;
+      t_complexe ZI,ZA,ZOM,ZEX;
+      double *TFST=NULL;
+      t_complexe *ZAMPT=NULL;
+      t_complexe **ZALPT=NULL;
+      t_complexe ZINC;
+      t_complexe *ZT=NULL;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE>0
+      t_complexe *pzarTab;
+#endif /**/      
+      SYSCHECKMALLOCSIZE(ZAMPT, t_complexe, g_NAFVariable.NTERM+1); /* allocate(ZAMPT(1:g_NAFVariable.NTERM),stat = NERROR)*/
+      DIM2(ZALPT, (g_NAFVariable.NTERM+1), (g_NAFVariable.NTERM+1), t_complexe, "ZALPT"); /*allocate(ZALPT(1:g_NAFVariable.NTERM,1:g_NAFVariable.NTERM),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(TFST, double, g_NAFVariable.NTERM+1);/* allocate(TFST(1:g_NAFVariable.NTERM),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(ZT, t_complexe, g_NAFVariable.KTABS+1);/* allocate (ZT (0:g_NAFVariable.KTABS),stat = NERROR)*/
+
+/*!*************************************************************/
+      OFFSET=g_NAFVariable.KTABS*g_NAFVariable.XH;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+/*!----------! INITIALISATION DE g_NAFVariable.ZTABS*/
+      for ( IT=0;IT<=g_NAFVariable.KTABS; IT++)
+       {
+          g_NAFVariable.ZTABS[IT]=cmplx(0.E0,0.E0);
+       }
+/*!----------! CALCUL DE LA NOUVELLE SOLUTION*/
+      ZI=cmplx(0.E0,1.E0);
+      for ( IFR = 1; IFR<=g_NAFVariable.NFS; IFR++)
+      {
+         ZOM = muldoublcomplexe(g_NAFVariable.TFS[IFR]/g_NAFVariable.UNIANG,ZI); /* ZOM=g_NAFVariable.TFS(IFR)/g_NAFVariable.UNIANG*ZI */
+         ZA=g_NAFVariable.ZAMP[IFR];
+/*!-----------! ATTENTION ICI (CAS REEL) ON AURA AUSSI LE TERME CONJUGUE
+!-----------! QU'ON NE CALCULE PAS. LE TERME TOTAL EST
+!-----------!       2*RE(g_NAFVariable.ZAMP(I)*EXP(ZI*g_NAFVariable.TFS(I)*T) )
+!-----------! ON RAJOUTE LA CONTRIBUTION TOTALE DU TERME g_NAFVariable.TFS(I) DANS TAB2*/
+         if (g_NAFVariable.ICPLX==1)
+         {
+            ZEX = mulcomplexe(ZA,expcomplexe(muldoublcomplexe(g_NAFVariable.T0+OFFSET-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP ((g_NAFVariable.T0+OFFSET-g_NAFVariable.XH)*ZOM)*/
+            ZINC= expcomplexe(muldoublcomplexe(g_NAFVariable.XH,ZOM)); /*ZINC= EXP (g_NAFVariable.XH*ZOM)*/
+            naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*naf_ztpow(g_NAFVariable.KTABS+1,64,ZT,ZINC,ZEX);*/
+            for (IT=0; IT<=g_NAFVariable.KTABS; IT++)
+            {
+               g_NAFVariable.ZTABS[IT]=addcomplexe(g_NAFVariable.ZTABS[IT], ZT[IT]); /*g_NAFVariable.ZTABS(IT)=g_NAFVariable.ZTABS(IT)+ZT(IT)*/
+            }
+         }
+         else
+         {
+            ZEX = mulcomplexe(ZA,expcomplexe(muldoublcomplexe(g_NAFVariable.T0+OFFSET-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP ((g_NAFVariable.T0+OFFSET-g_NAFVariable.XH)*ZOM)*/
+            ZINC= expcomplexe(muldoublcomplexe(g_NAFVariable.XH,ZOM)); /*ZINC= EXP (g_NAFVariable.XH*ZOM)*/
+            naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*naf_ztpow(g_NAFVariable.KTABS+1,64,ZT,ZINC,ZEX);*/
+            for (IT=0; IT<=g_NAFVariable.KTABS; IT++)
+            {
+               g_NAFVariable.ZTABS[IT].reel += ZT[IT].reel; /*g_NAFVariable.ZTABS(IT)=g_NAFVariable.ZTABS(IT)+DREAL(ZT(IT))*/
+            }
+         }
+      }
+#else /*remplacee par:*/
+/*!----------! INITIALISATION DE g_NAFVariable.ZTABS*/
+      for ( IT=0, pzarTab=g_NAFVariable.ZTABS;
+            IT<=g_NAFVariable.KTABS;
+            IT++, pzarTab++)
+       {
+          i_compl_cmplx(pzarTab, 0.E0, 0.E0);
+       }
+/*!----------! CALCUL DE LA NOUVELLE SOLUTION*/
+      i_compl_cmplx(&ZI,0.E0,1.E0);
+      for ( IFR = 1; IFR<=g_NAFVariable.NFS; IFR++)
+      {
+         ZOM = i_compl_muldoubl(g_NAFVariable.TFS[IFR]/g_NAFVariable.UNIANG,ZI); /* ZOM=g_NAFVariable.TFS(IFR)/g_NAFVariable.UNIANG*ZI */
+         ZA=g_NAFVariable.ZAMP[IFR];
+/*!-----------! ATTENTION ICI (CAS REEL) ON AURA AUSSI LE TERME CONJUGUE
+!-----------! QU'ON NE CALCULE PAS. LE TERME TOTAL EST
+!-----------!       2*RE(g_NAFVariable.ZAMP(I)*EXP(ZI*g_NAFVariable.TFS(I)*T) )
+!-----------! ON RAJOUTE LA CONTRIBUTION TOTALE DU TERME g_NAFVariable.TFS(I) DANS TAB2*/
+         if (g_NAFVariable.ICPLX==1)
+         {
+            ZEX = i_compl_mul(ZA,i_compl_exp(i_compl_muldoubl(g_NAFVariable.T0+OFFSET-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP ((g_NAFVariable.T0+OFFSET-g_NAFVariable.XH)*ZOM)*/
+            ZINC= i_compl_exp(i_compl_muldoubl(g_NAFVariable.XH,ZOM)); /*ZINC= EXP (g_NAFVariable.XH*ZOM)*/
+            naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*naf_ztpow(g_NAFVariable.KTABS+1,64,ZT,ZINC,ZEX);*/
+            for (IT=0, pzarTab=g_NAFVariable.ZTABS;
+                 IT<=g_NAFVariable.KTABS;
+                 IT++, pzarTab++)
+            {
+               i_compl_padd(pzarTab,ZT+IT); /*g_NAFVariable.ZTABS(IT)=g_NAFVariable.ZTABS(IT)+ZT(IT)*/
+            }
+         }
+         else
+         {
+            ZEX = i_compl_mul(ZA,i_compl_exp(i_compl_muldoubl(g_NAFVariable.T0+OFFSET-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP ((g_NAFVariable.T0+OFFSET-g_NAFVariable.XH)*ZOM)*/
+            ZINC= i_compl_exp(i_compl_muldoubl(g_NAFVariable.XH,ZOM)); /*ZINC= EXP (g_NAFVariable.XH*ZOM)*/
+            naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*naf_ztpow(g_NAFVariable.KTABS+1,64,ZT,ZINC,ZEX);*/
+            for (IT=0; IT<=g_NAFVariable.KTABS; IT++)
+            {
+               g_NAFVariable.ZTABS[IT].reel += ZT[IT].reel; /*g_NAFVariable.ZTABS(IT)=g_NAFVariable.ZTABS(IT)+DREAL(ZT(IT))*/
+            }
+         }
+      }
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+/*!----------------------*/
+      SYSFREE(ZT); /*deallocate(ZT)*/
+/*!-----------! SAUVEGARDE DANS DES TABLEAUX ANNEXES DE LA SOLUTION*/
+       for( IFR = 1; IFR<=g_NAFVariable.NFS; IFR++)
+       {
+         TFST[IFR] = g_NAFVariable.TFS[IFR];
+         ZAMPT[IFR] = g_NAFVariable.ZAMP[IFR];
+          for(JFR = 1;JFR <=g_NAFVariable.NFS; JFR++)
+          {
+            ZALPT[IFR][JFR] = g_NAFVariable.ZALP[IFR][JFR];
+          }
+      }
+/*!-----------! NOUVEAU CALCUL DE LA SOLUTION*/
+      NVTERM=g_NAFVariable.NFS;
+/*!***DEBUG      CALL PRTABS(g_NAFVariable.KTABS,g_NAFVariable.ZTABS,g_NAFVariable.KTABS/10)*/
+      if (naf_mftnaf (NVTERM,EPS)==FALSE)
+      {
+       HFREE2(ZALPT);
+       SYSFREE(ZAMPT);
+       SYSFREE(TFST);
+       return FALSE;
+      }
+/*!-----------! RESULTATS*/
+      for( IFR = 1; IFR<=g_NAFVariable.NFS; IFR++)
+      {
+         TFSR[IFR] = g_NAFVariable.TFS[IFR];
+         ZAMPR[IFR] = g_NAFVariable.ZAMP[IFR];
+      }
+/*!-----------! RESTITUTION  DE LA SOLUTION*/
+      for( IFR = 1; IFR<=g_NAFVariable.NFS; IFR++)
+      {
+         g_NAFVariable.TFS[IFR] = TFST[IFR];
+         g_NAFVariable.ZAMP[IFR] = ZAMPT[IFR];
+         for(JFR = 1;JFR <=g_NAFVariable.NFS; JFR++)
+         {
+             g_NAFVariable.ZALP[IFR][JFR] = ZALPT[IFR][JFR];
+         }
+      }
+      HFREE2(ZALPT);
+      SYSFREE(ZAMPT);
+      SYSFREE(TFST);
+      return TRUE;
+}/*      END SUBROUTINE TESSOL*/
+/*!
+!
+      SUBROUTINE INIFRE*/
+void  naf_inifre()
+{
+/*
+!************************************************************************
+!     REMET A ZERO g_NAFVariable.TFS, g_NAFVariable.ZAMP,g_NAFVariable.ZALP et g_NAFVariable.NFS
+!     UTILE QUAND ON BOUCLE SUR PLUSIEURS CAS
+!
+!***********************************************************************
+       
+      IMPLICIT NONE
+*/
+      int I,J;
+/* v0.96 M. GASTINEAU 12/01/99 : optimisation */
+#if NAF_USE_OPTIMIZE==0
+      t_complexe cZERO;
+      cZERO=cmplx(0.E0,0.E0);
+      for(I = 1;I<= g_NAFVariable.NTERM; I++)
+      {
+         g_NAFVariable.TFS[I] = 0.E0;
+         g_NAFVariable.ZAMP[I] = cZERO;
+         for(J = 1; J<= g_NAFVariable.NTERM; J++)
+         {
+            g_NAFVariable.ZALP[I][J] = cZERO;
+         }
+      }
+#else /* remplace par: */
+      const int iNterm=g_NAFVariable.NTERM;
+      const double dZero=0.E0;
+      double *pdTFS=g_NAFVariable.TFS+1;
+      double *pdZAMP=(double*)(g_NAFVariable.ZAMP+1);
+      double *pdZALP;
+      for(I = 1;I<= iNterm; I++)
+      {
+         pdZALP=(double*)(g_NAFVariable.ZALP[I]);
+         *pdTFS++ = dZero;
+         *pdZAMP++ = dZero;
+         *pdZAMP++ = dZero;
+         for(J = 1; J<= iNterm; J++)
+         {
+            *pdZALP++ = dZero;
+            *pdZALP++ = dZero;
+         }
+      }
+
+#endif /*NAF_USE_OPTIMIZE*/
+/* v0.96 M. GASTINEAU 12/01/99 : fin optimisation */
+      g_NAFVariable.NFS = 0;
+} /*  END SUBROUTINE INIFRE*/
+/*!
+!
+      SUBROUTINE FFTMAX(FR)*/
+/*
+!-----------------------------------------------------------------------
+!     FFTMAX          MODIF NICE 90 (J. LASKAR)
+!                     MODIF 13/12/90
+!                     VERSION STANDARD. (FOUR1)
+!                     ANALYSE DE FOURIER RAPIDE
+!                     RECHERCHE D'UN MAXIMUM DE SPECTRE POUR UNE FREQ. F
+!***********************************************************************
+!     ON UTILISERA CELA ULTERIEUREMENT (13/12/90)
+!     NFR11, NFR22 NUMERO MIN ET MAX DES FREQUENCES RECHERCHEES
+!                   NFR1 ET NFR2 INCLUSES
+!                -NRTAB<NFR1<NFR2<NRTAB
+!
+!     RTAB(NRTAB,2) EN 1 AMPLITUDE DE SFREQUENCES POSITIVES
+!                      2 AMPLITUDE DES FREQUENCES NEGATIVES
+!     DISTANCE ENTRE DEUX LIGNES  g_NAFVariable.FREFON
+!-----------------------------------------------------------------------
+      
+      IMPLICIT NONE
+! (FR)
+      REAL (8) :: FR      
+!
+      integer :: KTABS2,ISG,IPAS,I,IDV,INDX,IFR
+      REAL (8) :: FREFO2
+      REAL (8), dimension(:),allocatable :: TAB
+      REAL (8), dimension(:),allocatable :: RTAB
+! */
+/* v0.96 M. GASTINEAU 14/01/99 : support des fenetres */
+#if NAF_USE_OPTIMIZE==0
+void naf_fftmax(double *FR)
+{
+      int   KTABS2,ISG,IPAS,I,IDV,INDX,IFR;
+      double  FREFO2;
+      double *pdTAB=NULL; /*=TAB*/
+      double *RTAB=NULL;
+
+      naf_puiss2(g_NAFVariable.KTABS+1,&KTABS2);
+/*! */     
+      SYSCHECKMALLOCSIZE(pdTAB,double,2*KTABS2); pdTAB--;/*  allocate(TAB(2*KTABS2),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(RTAB,double,KTABS2);/*allocate(RTAB(0:KTABS2-1),stat = NERROR)*/
+/*!*/      
+      FREFO2=(g_NAFVariable.FREFON*g_NAFVariable.KTABS)/KTABS2;
+/*!****************** */  
+      if (g_NAFVariable.IPRT==1)
+      {
+       fprintf(g_NAFVariable.NFPRT,"KTABS2= %d  FREFO2= %g\n",KTABS2, FREFO2);
+      }
+/*!****************! CALCUL DES FREQUENCES */
+      ISG=-1;
+      IDV=KTABS2;
+      IPAS=1;
+      for(I=0;I<=KTABS2-1; I++)
+      {
+         pdTAB[2*I+1]=g_NAFVariable.ZTABS[I].reel*TWIN[I];/*pdTAB(2*I+1)=DREAL(g_NAFVariable.ZTABS(I))*TWIN(I)*/
+         pdTAB[2*I+2]=g_NAFVariable.ZTABS[I].imag*TWIN[I]; /*pdTAB(2*I+2)=DIMAG(g_NAFVariable.ZTABS(I))*TWIN(I)*/          
+      }
+      naf_four1(pdTAB,KTABS2,ISG);
+      for(I=0;I<=KTABS2-1; I++)
+      {
+         RTAB[I]=sqrt(pdTAB[2*I+1]*pdTAB[2*I+1]+pdTAB[2*I+2]*pdTAB[2*I+2])/IDV;
+      }
+      pdTAB++; SYSFREE(pdTAB);
+/*!**********************        CALL MODTAB(KTABS2,RTAB)*/
+      naf_maxx(KTABS2-1, RTAB, &INDX);/*naf_maxx(KTABS2,RTAB,&INDX);*/
+      /* car naf_maxx travaille sur des tableaux de 1 a N */
+      
+      IFR=((INDX+1)<=(KTABS2/2))?INDX:INDX-KTABS2; /*IF (INDX.LE.KTABS2/2) THEN
+          IFR = INDX-1
+      ELSE
+          IFR = INDX-1-KTABS2
+      ENDIF*/
+      
+      *FR = IFR*FREFO2*IPAS;
+      if (g_NAFVariable.IPRT==1)
+      {
+       fprintf(g_NAFVariable.NFPRT,"IFR=%d FR=%g RTAB=%g INDX=%d KTABS2=%d\n",IFR,*FR, RTAB[INDX],INDX,KTABS2); 
+      }
+      SYSFREE(RTAB);
+}
+#else /*remplacee par:*/
+double naf_fftmax(int p_iFrMin, int p_iFrMax, double FREFO2, int KTABS2) 
+{
+/* la fonction retourne la frequence FR dertminee */
+/* On suppose p_iFrMin < p_iFrMax */
+      double FR;
+      int   ISG,IPAS,I,INDX,IFR;
+      /*double  FREFO2;*/
+      double *pdTAB=NULL; /*=TAB*/
+      double *RTAB=NULL;
+      int iKTABS2m1, iKTABS2;
+      double dDIV;
+      double *pdTABTemp1,*pdTABTemp2;
+      
+      
+      /*naf_puiss2(g_NAFVariable.KTABS+1,&KTABS2);*//*v0.96 M. GASTINEAU 14/01/99 */
+      iKTABS2 = KTABS2;
+      iKTABS2m1 = iKTABS2-1;
+/*! */     
+      SYSCHECKMALLOCSIZE(pdTAB,double,2*iKTABS2); /*  allocate(TAB(2*KTABS2),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(RTAB,double,iKTABS2);/*allocate(RTAB(0:KTABS2-1),stat = NERROR)*/
+/*!*/      
+     /* FREFO2=(g_NAFVariable.FREFON*g_NAFVariable.KTABS)/iKTABS2;*//*v0.96 M. GASTINEAU 14/01/99 */
+/*!****************** */  
+      if (g_NAFVariable.IPRT==1)
+      {
+       fprintf(g_NAFVariable.NFPRT,"KTABS2= %d  FREFO2= %g\n",iKTABS2, FREFO2);
+      }
+/*!****************! CALCUL DES FREQUENCES */
+      ISG=-1;
+      dDIV=iKTABS2;
+      IPAS=1;
+      for(I=0, pdTABTemp1=pdTAB, pdTABTemp2=(double*)(g_NAFVariable.ZTABS);
+          I<=iKTABS2m1;
+          I++)
+      {
+         *pdTABTemp1++ = (*pdTABTemp2++) * TWIN[I];/*pdTAB(2*I+1)=DREAL(g_NAFVariable.ZTABS(I))*TWIN(I)*/
+         *pdTABTemp1++ = (*pdTABTemp2++) * TWIN[I]; /*pdTAB(2*I+2)=DIMAG(g_NAFVariable.ZTABS(I))*TWIN(I)*/          
+      }
+      naf_four1(pdTAB-1,iKTABS2,ISG);
+      for(I=0, pdTABTemp1=pdTAB, pdTABTemp2=pdTABTemp1+1;
+          I<=iKTABS2m1;
+          I++, pdTABTemp1+=2, pdTABTemp2+=2)
+      {
+         RTAB[I]=sqrt((*pdTABTemp1)*(*pdTABTemp1)+(*pdTABTemp2)*(*pdTABTemp2))/dDIV;
+      }
+      SYSFREE(pdTAB);
+/*!**********************        CALL MODTAB(KTABS2,RTAB)*/
+      /*v0.96 M. GASTINEAU 14/01/99 : modification pour le support des fenetres */
+      /*INDX=naf_maxx(iKTABS2m1, RTAB);*//*naf_maxx(KTABS2,RTAB,&INDX);*/
+      /*IFR=((INDX+1)<=(iKTABS2/2))?INDX:INDX-iKTABS2;*/ /*IF (INDX.LE.KTABS2/2) THEN
+          IFR = INDX-1
+      ELSE
+          IFR = INDX-1-KTABS2
+      ENDIF*/
+      /* *FR = IFR*FREFO2*IPAS; 
+      if (g_NAFVariable.IPRT==1)
+      {
+       fprintf(g_NAFVariable.NFPRT,"IFR=%d FR=%g RTAB=%g INDX=%d KTABS2=%d\n",IFR,*FR, RTAB[INDX],INDX,iKTABS2); 
+      }
+      SYSFREE(RTAB); */
+      /*remplacee par:*/
+      if (p_iFrMin==iKTABS2)
+      {
+       INDX=naf_maxx(iKTABS2m1, RTAB);
+       IFR=((INDX+1)<=(iKTABS2/2))?INDX:INDX-iKTABS2;
+      }
+      else  if (p_iFrMin>=0)
+      {/* p_iFrMin et p_iFrMax positif */
+       IFR=INDX=p_iFrMin+naf_maxx(p_iFrMax-p_iFrMin, RTAB+p_iFrMin);
+      }
+      else  if (p_iFrMax<0)
+      {/* p_iFrMin et p_iFrMax negatif */
+       INDX=naf_maxx(p_iFrMax-p_iFrMin, RTAB+iKTABS2+p_iFrMin);
+       IFR=INDX+p_iFrMin;
+      }
+      else 
+      {/* p_iFrMin et p_iFrMax de signe differents */
+       int INDXNeg;
+       /* frequence negative */
+       INDXNeg=p_iFrMin+naf_maxx(-1-p_iFrMin, RTAB+iKTABS2+p_iFrMin);
+       /* frequence positive */
+       INDX=naf_maxx(p_iFrMax, RTAB);
+       if (RTAB[INDX]<RTAB[INDXNeg+iKTABS2])
+       {
+        IFR=INDXNeg;
+       }
+       else
+       {
+        IFR=INDX;
+       }
+      }
+      FR = IFR*FREFO2*IPAS; 
+      if (g_NAFVariable.IPRT==1)
+      {
+       fprintf(g_NAFVariable.NFPRT,"IFRMIN=%d IFRMAX=%d IFR=%d FR=%g RTAB=%g INDX=%d KTABS2=%d\n",p_iFrMin, p_iFrMax,
+               IFR,FR, RTAB[INDX],INDX,iKTABS2); 
+      }
+      SYSFREE(RTAB);
+      return FR;
+      /* v0.96 M. GASTINEAU 14/01/99 : fin de modification */
+}/*      END SUBROUTINE FFTMAX*/
+#endif /* NAF_USE_OPTIMIZE */
+/*!
+!
+      SUBROUTINE FOUR1(DATA,NN,ISIGN)*/
+/*v0.96 M. GASTINEAU 14/12/98 : modification du calcul de la puissance */
+void naf_four1(double *DATA, int NN, int ISIGN)
+{
+/*
+!************** FOURIER RAPIDE DE NUMERICAL RECIPES
+      implicit none
+! (DATA,NN,ISIGN)
+       integer :: NN,ISIGN
+       REAL (8) :: DATA(2*NN)
+! 
+      integer :: N,I,J,M,MMAX,ISTEP
+      REAL (8) :: THETA,WPR,WPI,WR,WI,TEMPR,TEMPI,WTEMP
+*/
+      int  N,I,J,M,MMAX,ISTEP;
+      double THETA,WPR,WPI,WR,WI,TEMPR,TEMPI,WTEMP;
+      N=2*NN ;
+      J=1;
+      for(I=1;I<=N; I+=2)
+      {
+/*! en fait N est pair donc I<= N-1    */  
+        if(J>I)
+        {
+          TEMPR=DATA[J];
+          TEMPI=DATA[J+1];
+          DATA[J]=DATA[I];
+          DATA[J+1]=DATA[I+1];
+          DATA[I]=TEMPR;
+          DATA[I+1]=TEMPI;
+        }
+        M=N/2;
+        while ((M>=2) && (J>M))
+        {
+          J-=M; /*J=J-M;*/
+          M >>=1; /*M=M/2;*/
+        };
+        J +=M; /*J=J+M*/
+    }
+      MMAX=2;
+      while (N>MMAX)
+      {
+        ISTEP=2*MMAX;
+        THETA=6.28318530717959E0/(ISIGN*MMAX);
+        /*v0.96 M. GASTINEAU 14/12/98 : modification */
+        /*WPR=-2.E0*pow(sin(0.5E0*THETA),2);*//*remplacee par:*/
+        WTEMP=sin(0.5E0*THETA);
+        WPR=-2.E0*WTEMP*WTEMP;
+        /*v0.96 M. GASTINEAU 14/12/98 : fin modification */
+        WPI=sin(THETA);
+        WR=1.E0;
+        WI=0.E0;
+        for ( M=1; M<=MMAX; M+=2)
+        {
+          for (I=M; I<=N; I+=ISTEP)
+          {
+            J=I+MMAX;
+            TEMPR=WR*DATA[J]-WI*DATA[J+1];
+            TEMPI=WR*DATA[J+1]+WI*DATA[J];
+/*!**            TEMPR=SNGL[WR]*DATA[J]-SNGL[WI]*DATA[J+1]
+!**            TEMPI=SNGL[WR]*DATA[J+1]+SNGL[WI]*DATA[J]*/
+            DATA[J]=DATA[I]-TEMPR;
+            DATA[J+1]=DATA[I+1]-TEMPI;
+            DATA[I]=DATA[I]+TEMPR;
+            DATA[I+1]=DATA[I+1]+TEMPI;
+          }
+          WTEMP=WR;
+          WR=WR*WPR-WI*WPI+WR;
+          WI=WI*WPR+WTEMP*WPI+WI;
+        }
+        MMAX=ISTEP;
+      }
+}/*      END SUBROUTINE FOUR1*/
+
+
+/*      SUBROUTINE PUISS2(NT,N2)*/
+void naf_puiss2(int NT, int *N2)
+{
+/*!*******************************************
+!    CALCULE LA PLUS GRANDE PUISSANCE DE 2
+!    CONTENUE DANS NT
+!*******************************************
+      implicit none
+!  (NT,N2)    
+      INTEGER ::  N2,NT
+!    
+      integer :: n
+! */
+      int N;           
+      N=NT;
+      if (N==0)
+      {
+         *N2=0;
+      return;
+      }
+      *N2=1;
+      while (N>=2)
+      {
+         *N2 <<=1;/*N2=N2*2*/
+         N >>=1; /*N=N/2*/
+         
+      }
+}/*      END SUBROUTINE PUISS2 */
+
+/*      SUBROUTINE MAXX(N,T,INDX)*/
+/*!*******************************************
+!    CALCULE LE MAX ET L'INDICE DU MAX
+!*******************************************
+       implicit none
+!  (N,T,INDX)
+       integer :: N,INDX
+       REAL (8) :: T(0:N)
+!
+      integer :: J
+      REAL (8) VMAX             
+!*/
+/* v0.96 M. GASTINEAU 12/01/99 : optimisation  passage par retour et non par la pile */
+#if NAF_USE_OPTIMIZE==0
+void naf_maxx(int N, double *T, int *INDX)
+{
+      int J;
+      double VMAX;
+      VMAX=T[0];
+      *INDX=0;
+      for(J=1; J<=N; J++)
+      {
+         if (T[J]>VMAX)
+         {
+            VMAX=T[J];
+            *INDX=J;
+         }
+      }
+}/*      END SUBROUTINE MAXX*/
+#else /*remplacee par:*/
+int naf_maxx(int N, double *T)
+{
+      int J;
+      double VMAX;
+      int INDX=0;
+      VMAX=T[0];
+      for(J=1; J<=N; J++)
+      {
+         if (T[J]>VMAX)
+         {
+            VMAX=T[J];
+            INDX=J;
+         }
+      }
+      return INDX;
+}
+#endif /*NAF_USE_OPTIMIZE*/
+/* v0.96 M. GASTINEAU 12/01/99 : fin optimisation */
+/*      END SUBROUTINE MAXX*/
+
+/*      SUBROUTINE MODTAB(N,T)*/
+void naf_modtab(int N, double *T)
+{
+/*!****************************************
+!    SUPPRESSION DE CERTAINS TERMES
+!    A MODIFIER ULTERIEUREMENT (13/12/90)
+!****************************************
+      implicit none
+!  (N,T)
+      integer :: N
+      REAL (8) :: T(0:N) 
+!          
+      integer NOK,I
+! */
+      int NOK, I;     
+      NOK = 40;
+      for(I = 0; I<=NOK; I++)
+      {   
+       T[I] = 0;
+       T[N-I] = 0;
+      }
+}    /*  END SUBROUTINE MODTAB*/
+
+
+/*      SUBROUTINE MODFRE(NUMFR,A,B)*/
+/*v0.96 M. GASTINEAU 12/01/99 : modification dans le cas ou ICPLX=0 */
+/*v0.97 M. GASTINEAU 27/05/99 : modification dans le cas ou ICPLX=0 et FS=0 */
+void naf_modfre(int NUMFR, double *A, double *B)
+{
+/*!-----------------------------------------------------------------------
+!     PERMET DE MODIFIER UNE AMPLITUDE DEJA CALCULEE QUAND
+!     ON RETROUVE LE MEME TERME, A TOL PRES DANS LE DEVELOPPEMENT
+! 
+!     NUMFR     INDICE DE LA FREQUENCE EXISTANT DEJA
+!     A,B       PARTIES REELLES ET IMAGINAIRES DE L'AMPLITUDE DE LA MODIF 
+!               A APPORTER A L'AMPLITUDE DE LA FREQUENCE NUMFR
+!
+!     AUTRES PARAMETRES TRANSMIS PAR LE COMMON/CGRAM/g_NAFVariable.ZAMP,g_NAFVariable.ZALP,g_NAFVariable.TFS,g_NAFVariable.NFS
+!
+!     30/4/91
+!-----------------------------------------------------------------------
+      
+!----------! g_NAFVariable.TFS EST LE TABLEAU FINAL DES FREQUENCES
+!----------! g_NAFVariable.ZAMP   TABLEAU DES AMPLITUDES COMPLEXES
+!----------! g_NAFVariable.ZALP   MATRICE DE PASSAGE DE LA BASE ORTHONORMALISEE
+!----------! g_NAFVariable.NFS    NOMBRE DE FREQ.DEJA DETERMINEES
+      IMPLICIT NONE
+! (NUMFR,A,B)
+      integer :: NUMFR
+      REAL (8) :: A,B
+!            
+      integer :: IT
+      complex (8) :: ZI,ZOM,ZA,ZEX,ZINC
+      complex (8), dimension (:),  allocatable :: ZT
+! */
+      int IT;
+      t_complexe ZI,ZOM,ZA,ZEX,ZINC;
+      t_complexe *ZT=NULL;
+           
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      SYSCHECKMALLOCSIZE(ZT,t_complexe, g_NAFVariable.KTABS+1); /*allocate(ZT(0:g_NAFVariable.KTABS),stat = NERROR)*/
+      ZI = cmplx(0.E0,1.E0);
+      ZOM=muldoublcomplexe(g_NAFVariable.TFS[NUMFR]/g_NAFVariable.UNIANG,ZI); /*ZOM=g_NAFVariable.TFS[NUMFR]/g_NAFVariable.UNIANG*ZI*/
+      ZA=cmplx(*A,*B);
+      fprintf(g_NAFVariable.NFPRT,"CORRECTION DE  IFR = %d AMPLITUDE  = %g",NUMFR, module(ZA));
+/*!-----------! L' AMPLITUDES DU TERMES EST CORRIGEES
+!-----------! ATTENTION ICI (CAS REEL) ON AURA AUSSI LE TERME CONJUGUE
+!-----------! QU'ON NE CALCULE PAS. LE TERME TOTAL EST
+!-----------!       2*RE(g_NAFVariable.ZAMP(I)*EXP(ZI*g_NAFVariable.TFS(I)*T) )*/
+      g_NAFVariable.ZAMP[NUMFR]=addcomplexe(g_NAFVariable.ZAMP[NUMFR],ZA);
+      if (g_NAFVariable.IPRT==1)
+      { 
+       fprintf(g_NAFVariable.NFPRT," %+-20.15E %+-20.15E %+-20.15E %+-20.15E %+-20.15E\n",g_NAFVariable.TFS[NUMFR],
+                     module(g_NAFVariable.ZAMP[NUMFR]),g_NAFVariable.ZAMP[NUMFR].reel,
+                     g_NAFVariable.ZAMP[NUMFR].imag,atan2(g_NAFVariable.ZAMP[NUMFR].imag,g_NAFVariable.ZAMP[NUMFR].reel));
+      }
+/*!-----------! ON RETIRE LA CONTRIBUTION DU TERME g_NAFVariable.TFS(NUMFR) DANS TABS*/
+      if (g_NAFVariable.ICPLX==1)
+      {
+         ZEX=mulcomplexe(ZA,expcomplexe(muldoublcomplexe(g_NAFVariable.T0-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP(ZOM*(g_NAFVariable.T0-g_NAFVariable.XH))*/
+         ZINC=expcomplexe(muldoublcomplexe(g_NAFVariable.XH,ZOM)); /*ZINC=EXP(ZOM*g_NAFVariable.XH)*/
+         naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*CALL  ZTPOW (KTABS+1,64,ZT,ZINC,ZEX)*/
+         for(IT=0;IT<=g_NAFVariable.KTABS;IT++)
+         {
+            g_NAFVariable.ZTABS[IT]=subcomplexe(g_NAFVariable.ZTABS[IT], ZT[IT]); 
+         }
+      }
+      else
+      {
+         ZEX=mulcomplexe(ZA,expcomplexe(muldoublcomplexe(g_NAFVariable.T0-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP(ZOM*(g_NAFVariable.T0-g_NAFVariable.XH))*/
+         ZINC=expcomplexe(muldoublcomplexe(g_NAFVariable.XH,ZOM)); /*ZINC=EXP(ZOM*XH)*/
+         naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*CALL  ZTPOW (KTABS+1,64,ZT,ZINC,ZEX)*/
+         /*v0.97 M. GASTINEAU 27/05/99 : ajout - correction bug si FS==0 */
+         if (g_NAFVariable.TFS[NUMFR]==0.E0)
+         {
+          for(IT=0;IT<=g_NAFVariable.KTABS;IT++)
+          {
+           g_NAFVariable.ZTABS[IT].reel -= ZT[IT].reel; 
+           /*g_NAFVariable.ZTABS(IT+1)=g_NAFVariable.ZTABS(IT+1)- DREAL(ZT(IT+1)) */
+          }
+         }
+         else
+         /*v0.97 M. GASTINEAU 27/05/99 : fin ajout */
+         for(IT=0;IT<=g_NAFVariable.KTABS;IT++)
+         {
+            /*v0.96 M. GASTINEAU 12/01/99 : modification */
+            /*g_NAFVariable.ZTABS[IT].reel -=ZT[IT].reel;*/
+            /*remplacee par:*/
+            g_NAFVariable.ZTABS[IT].reel -= 2*ZT[IT].reel;
+            /*v0.96 M. GASTINEAU 12/01/99 : fin modification */
+            /* g_NAFVariable.ZTABS(IT)=g_NAFVariable.ZTABS(IT)- DREAL(ZT(IT)) */
+         }
+      }
+      SYSFREE(ZT); /*deallocate(ZT)*/
+#else /*remplacee par:*/
+      t_complexe *pzarTabs, *pzarZT;
+      const int ikTabs=g_NAFVariable.KTABS; /*v0.96 M. GASTINEAU 12/01/99 : optimisation*/
+      
+      SYSCHECKMALLOCSIZE(ZT,t_complexe, g_NAFVariable.KTABS+1); /*allocate(ZT(0:g_NAFVariable.KTABS),stat = NERROR)*/
+      i_compl_cmplx(&ZI,0.E0,1.E0);
+      ZOM=i_compl_muldoubl(g_NAFVariable.TFS[NUMFR]/g_NAFVariable.UNIANG,ZI); /*ZOM=g_NAFVariable.TFS[NUMFR]/g_NAFVariable.UNIANG*ZI*/
+      i_compl_cmplx(&ZA,*A,*B);
+      fprintf(g_NAFVariable.NFPRT,"CORRECTION DE  IFR = %d AMPLITUDE  = %g",NUMFR, i_compl_module(ZA));
+/*!-----------! L' AMPLITUDES DU TERMES EST CORRIGEES
+!-----------! ATTENTION ICI (CAS REEL) ON AURA AUSSI LE TERME CONJUGUE
+!-----------! QU'ON NE CALCULE PAS. LE TERME TOTAL EST
+!-----------!       2*RE(g_NAFVariable.ZAMP(I)*EXP(ZI*g_NAFVariable.TFS(I)*T) )*/
+      i_compl_padd(g_NAFVariable.ZAMP+NUMFR,&ZA);
+      if (g_NAFVariable.IPRT==1)
+      { 
+       fprintf(g_NAFVariable.NFPRT," %+-20.15E %+-20.15E %+-20.15E %+-20.15E %+-20.15E\n",g_NAFVariable.TFS[NUMFR],
+                     i_compl_module(g_NAFVariable.ZAMP[NUMFR]),g_NAFVariable.ZAMP[NUMFR].reel,
+                     g_NAFVariable.ZAMP[NUMFR].imag,atan2(g_NAFVariable.ZAMP[NUMFR].imag,g_NAFVariable.ZAMP[NUMFR].reel));
+      }
+/*!-----------! ON RETIRE LA CONTRIBUTION DU TERME g_NAFVariable.TFS(NUMFR) DANS TABS*/
+      if (g_NAFVariable.ICPLX==1)
+      {
+         ZEX=i_compl_mul(ZA,i_compl_exp(i_compl_muldoubl(g_NAFVariable.T0-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP(ZOM*(g_NAFVariable.T0-g_NAFVariable.XH))*/
+         ZINC=i_compl_exp(i_compl_muldoubl(g_NAFVariable.XH,ZOM)); /*ZINC=EXP(ZOM*g_NAFVariable.XH)*/
+         naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*CALL  ZTPOW (KTABS+1,64,ZT,ZINC,ZEX)*/
+         /*v0.96 M. GASTINEAU 12/01/99 : optimisation*/
+         /*for(IT=0, pzarTabs=g_NAFVariable.ZTABS, pzarZT = ZT;
+             IT<=g_NAFVariable.KTABS;
+             IT++, pzarTabs++, pzarZT++)*//*remplacee par:*/
+         for(IT=0, pzarTabs=g_NAFVariable.ZTABS, pzarZT = ZT;
+             IT<=ikTabs;
+             IT++, pzarTabs++, pzarZT++)/*v0.96 M. GASTINEAU 12/01/99 : fin optimisation*/
+         {
+            i_compl_psub(pzarTabs,pzarZT);
+         }
+      }
+      else
+      {
+         ZEX=i_compl_mul(ZA,i_compl_exp(i_compl_muldoubl(g_NAFVariable.T0-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP(ZOM*(g_NAFVariable.T0-g_NAFVariable.XH))*/
+         ZINC=i_compl_exp(i_compl_muldoubl(g_NAFVariable.XH,ZOM)); /*ZINC=EXP(ZOM*XH)*/
+         naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*CALL  ZTPOW (KTABS+1,64,ZT,ZINC,ZEX)*/
+         /*v0.96 M. GASTINEAU 12/01/99 : optimisation*/
+         /*for(IT=0;IT<=g_NAFVariable.KTABS;IT++)*/
+         /*v0.97 M. GASTINEAU 27/05/99 : ajout - correction bug si FS==0 */
+         if (g_NAFVariable.TFS[NUMFR]==0.E0)
+         {
+          for(IT=0;IT<=ikTabs;IT++)
+          {
+           g_NAFVariable.ZTABS[IT].reel -= ZT[IT].reel; 
+           /*g_NAFVariable.ZTABS(IT+1)=g_NAFVariable.ZTABS(IT+1)- DREAL(ZT(IT+1)) */
+          }
+         }
+         else
+         /*v0.97 M. GASTINEAU 27/05/99 : fin ajout */
+         for(IT=0;IT<=ikTabs;IT++)/*v0.96 M. GASTINEAU 12/01/99 : fin optimisation*/
+         {
+           /*v0.96 M. GASTINEAU 12/01/99 : modification */
+           /* g_NAFVariable.ZTABS[IT].reel -=ZT[IT].reel;*//* g_NAFVariable.ZTABS(IT)=g_NAFVariable.ZTABS(IT)- DREAL(ZT(IT)) */
+           /*remplacee par:*/
+           g_NAFVariable.ZTABS[IT].reel -=2*ZT[IT].reel;/* g_NAFVariable.ZTABS(IT)=g_NAFVariable.ZTABS(IT)- DREAL(ZT(IT)) */
+           /*v0.96 M. GASTINEAU 12/01/99 : fin modification */        
+         }
+      }
+      SYSFREE(ZT); /*deallocate(ZT)*/
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+}/*      END SUBROUTINE MODFRE*/
+
+
+/*      SUBROUTINE GRAMSC(FS,A,B)*/
+/*v0.96 M. GASTINEAU 12/01/99 : modification dans le cas ou ICPLX=0 */
+/*v0.97 M. GASTINEAU 27/05/99 : modification dans le cas ou ICPLX=0 et FS=0 */
+BOOL naf_gramsc(double FS, double A, double B)
+{
+/*
+!-----------------------------------------------------------------------
+!     GRAMSC   ORTHONORMALISATION  PAR GRAM-SCHIMDT DE LA BASE DE FONCTI
+!               CONSTITUEE DES TERMES PERIODIQUES TROUVES PAR ANALYSE
+!               SPECTRALE .
+!     FS        FREQUENCE EN "/AN
+!     A,B       PARTIES REELLES ET IMAGINAIRES DE L'AMPLITUDE
+!
+!     AUTRES PARAMETRES TRANSMIS PAR LE COMMON/CGRAM/g_NAFVariable.ZAMP,g_NAFVariable.ZALP,g_NAFVariable.TFS,g_NAFVariable.NFS
+!
+!     MODIFIE LE 26 9 87 POUR LES FONCTIONS REELLES   J. LASKAR
+!-----------------------------------------------------------------------
+      
+!----------! g_NAFVariable.TFS EST LE TABLEAU FINAL DES FREQUENCES
+!----------! g_NAFVariable.ZAMP   TABLEAU DES AMPLITUDES COMPLEXES
+!----------! g_NAFVariable.ZALP   MATRICE DE PASSAGE DE LA BASE ORTHONORMALISEE
+!----------! ZTEE   TABLEAU DE TRAVAIL
+!----------! g_NAFVariable.NFS    NOMBRE DE FREQ.DEJA DETERMINEES
+      IMPLICIT NONE
+! (g_NAFVariable.KTABS,FS,A,B)
+      REAL (8) :: FS,A,B     
+!
+      integer :: I, J, K, NF, IT
+      REAL (8) DIV
+      complex (8), dimension(:),allocatable :: ZTEE
+      complex (8) :: ZDIV,ZMUL,ZI,ZEX,ZINC,ZA,ZOM
+      complex (8), dimension (:),allocatable :: ZT
+! */
+      int   I, J, K, NF, IT;
+      double DIV;
+      t_complexe *ZTEE=NULL;
+      t_complexe ZDIV,ZMUL,ZI,ZEX,ZINC,ZA,ZOM;
+      t_complexe *ZT=NULL;  
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE>0
+      t_complexe *pzarTabs, *pzarZT;
+      const int ikTabs=g_NAFVariable.KTABS; /*v0.96 M. GASTINEAU 12/01/99 : optimisation*/
+#endif /**/
+      SYSCHECKMALLOCSIZE(ZT, t_complexe, g_NAFVariable.KTABS+1); /*allocate(ZT(0:g_NAFVariable.KTABS),stat = NERROR)*/
+      SYSCHECKMALLOCSIZE(ZTEE, t_complexe, g_NAFVariable.NTERM+1); /*allocate(ZTEE(1:g_NAFVariable.NTERM),stat = NERROR)*/
+
+/*!----------! CALCUL DE ZTEE(I)=<EN,EI>*/
+      for(I =1;I<=g_NAFVariable.NFS;I++)
+      {
+        if(naf_proscaa(FS,g_NAFVariable.TFS[I],ZTEE+I)==FALSE)
+        {
+         SYSFREE(ZT);
+         SYSFREE(ZTEE);
+         return FALSE;
+        }
+      }
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+/*!----------! NF EST LE NUMERO DE LA NOUVELLE FREQUENCE*/
+      NF=g_NAFVariable.NFS+1;
+      ZTEE[NF]=cmplx(1.E0,0.E0);
+/*!----------! CALCUL DE FN = EN - SOM(<EN,FI>FI) QUI EST ORTHOGONAL AUX F*/
+      g_NAFVariable.TFS[NF]=FS;
+      for( K=1;K<=g_NAFVariable.NFS;K++)
+      {
+       for(I=K;I<=g_NAFVariable.NFS;I++)
+       {
+        for(J=1;J<=I;J++)
+        {
+          /*g_NAFVariable.ZALP(NF,K)=g_NAFVariable.ZALP(NF,K)-DCONJG(g_NAFVariable.ZALP(I,J))*g_NAFVariable.ZALP(I,K)*ZTEE(J)*/
+          g_NAFVariable.ZALP[NF][K]=subcomplexe(g_NAFVariable.ZALP[NF][K],mulcomplexe(mulcomplexe(conjcomplexe(g_NAFVariable.ZALP[I][J]),g_NAFVariable.ZALP[I][K]),ZTEE[J]));
+        }
+       }
+      }
+      g_NAFVariable.ZALP[NF][NF]=cmplx(1.E0,0.E0);
+/*!----------! ON REND LA NORME DE FN = 1*/
+      DIV=1.E0;
+      ZDIV=cmplx(0.E0,0.E0);
+      for( I=1; I<=NF; I++)
+      {
+         /*ZDIV=ZDIV+DCONJG(g_NAFVariable.ZALP(NF,I))*ZTEE(I)*/
+         ZDIV=addcomplexe(ZDIV, mulcomplexe(conjcomplexe(g_NAFVariable.ZALP[NF][I]),ZTEE[I]));
+      }
+      DIV=sqrt(module(ZDIV));
+      if (g_NAFVariable.IPRT==1)
+      {
+       /*v0.96 M. GASTINEAU 19/11/98 : modification*/
+       /*fprintf(g_NAFVariable.NFPRT,"ZDIV= %g+i%g DIV=%g\n",ZDIV,DIV);*//*remplacee par:*/
+       fprintf(g_NAFVariable.NFPRT,"ZDIV= %g+i%g DIV=%g\n",ZDIV.reel,ZDIV.imag,DIV);
+       /*v0.96 M. GASTINEAU 19/11/98 : fin modification*/
+      }
+      for(I=1; I<=NF; I++)
+      {
+         g_NAFVariable.ZALP[NF][I]=muldoublcomplexe(1.E0/DIV,g_NAFVariable.ZALP[NF][I]); /*g_NAFVariable.ZALP(NF,I) = g_NAFVariable.ZALP(NF,I)/DIV*/
+      }
+/*!-----------! F1,F2....., FN EST UNE BASE ORTHONORMEE
+!-----------! ON RETIRE MAINTENANT A F  <F,FN>FN  (<F,FN>=<F,EN>)*/
+      ZMUL=muldoublcomplexe(1.E0/DIV, cmplx(A,B));
+      ZI=cmplx(0.E0,1.E0);
+      for(I=1; I<=NF; I++)
+      {
+         ZOM=muldoublcomplexe(g_NAFVariable.TFS[I]/g_NAFVariable.UNIANG,ZI); /*ZOM=g_NAFVariable.TFS(I)/g_NAFVariable.UNIANG*ZI*/
+         ZA=mulcomplexe(g_NAFVariable.ZALP[NF][I],ZMUL);
+/*!-----------! LES AMPLITUDES DES TERMES SONT CORRIGEES
+!-----------! ATTENTION ICI (CAS REEL) ON AURA AUSSI LE TERME CONJUGUE
+!-----------! QU'ON NE CALCULE PAS. LE TERME TOTAL EST
+!-----------!       2*RE(g_NAFVariable.ZAMP(I)*EXP(ZI*g_NAFVariable.TFS(I)*T) )*/
+         g_NAFVariable.ZAMP[I]=addcomplexe(g_NAFVariable.ZAMP[I],ZA);
+         if (g_NAFVariable.IPRT==1)
+         {
+           fprintf(g_NAFVariable.NFPRT," %g %g %g %g %g\n", g_NAFVariable.TFS[I],module(g_NAFVariable.ZAMP[I]),g_NAFVariable.ZAMP[I].reel,
+                   g_NAFVariable.ZAMP[I].imag,atan2(g_NAFVariable.ZAMP[I].imag,g_NAFVariable.ZAMP[I].reel));
+         }
+/*!-----------! ON RETIRE LA CONTRIBUTION TOTALE DU TERME g_NAFVariable.TFS(I) DANS TABS*/
+       if (g_NAFVariable.ICPLX==1)
+       {
+         ZEX=mulcomplexe(ZA, expcomplexe(muldoublcomplexe(g_NAFVariable.T0-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP(ZOM*(g_NAFVariable.T0-g_NAFVariable.XH))*/
+         ZINC=expcomplexe(muldoublcomplexe(g_NAFVariable.XH,ZOM)); /*ZINC=EXP(ZOM*g_NAFVariable.XH)*/
+         naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*naf_ztpow(g_NAFVariable.KTABS+1,64,ZT,ZINC,ZEX);*/
+         for(IT=0;IT<=g_NAFVariable.KTABS;IT++)
+         {
+            g_NAFVariable.ZTABS[IT]=subcomplexe(g_NAFVariable.ZTABS[IT],ZT[IT]); 
+         }
+       }
+       else
+       {
+         ZEX=mulcomplexe(ZA, expcomplexe(muldoublcomplexe(g_NAFVariable.T0-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP(ZOM*(g_NAFVariable.T0-g_NAFVariable.XH))*/
+         ZINC=expcomplexe(muldoublcomplexe(g_NAFVariable.XH,ZOM)); /*ZINC=EXP(ZOM*g_NAFVariable.XH)*/
+         naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX);/*naf_ztpow(g_NAFVariable.KTABS+1,64,ZT,ZINC,ZEX);*/
+         /*v0.97 M. GASTINEAU 27/05/99 : ajout - correction bug si FS==0 */
+         if (FS==0.E0)
+         {
+         for(IT=0;IT<=g_NAFVariable.KTABS;IT++)
+         {
+           g_NAFVariable.ZTABS[IT].reel -= ZT[IT].reel; 
+           /*g_NAFVariable.ZTABS(IT+1)=g_NAFVariable.ZTABS(IT+1)- DREAL(ZT(IT+1)) */
+         }
+         }
+         else
+         /*v0.97 M. GASTINEAU 27/05/99 : fin ajout */
+         for(IT=0;IT<=g_NAFVariable.KTABS;IT++)
+         {
+           /*v0.96 M. GASTINEAU 12/01/99 : modification*/
+           /*g_NAFVariable.ZTABS[IT].reel -=ZT[IT].reel;*/ /*g_NAFVariable.ZTABS(IT+1)=g_NAFVariable.ZTABS(IT+1)- DREAL(ZT(IT+1)) */
+           /*remplacee par: */
+           g_NAFVariable.ZTABS[IT].reel -= 2*ZT[IT].reel; /*g_NAFVariable.ZTABS(IT+1)=g_NAFVariable.ZTABS(IT+1)- DREAL(ZT(IT+1)) */
+           /*v0.96 M. GASTINEAU 12/01/99 : fin modification*/
+         }
+       }
+      }
+#else /*remplacee par:*/
+/*!----------! NF EST LE NUMERO DE LA NOUVELLE FREQUENCE*/
+      NF=g_NAFVariable.NFS+1;
+      i_compl_cmplx(ZTEE+NF,1.E0,0.E0);
+/*!----------! CALCUL DE FN = EN - SOM(<EN,FI>FI) QUI EST ORTHOGONAL AUX F*/
+      g_NAFVariable.TFS[NF]=FS;
+      for( K=1;K<=g_NAFVariable.NFS;K++)
+      {
+       for(I=K;I<=g_NAFVariable.NFS;I++)
+       {
+        for(J=1;J<=I;J++)
+        {
+          /*g_NAFVariable.ZALP(NF,K)=g_NAFVariable.ZALP(NF,K)-DCONJG(g_NAFVariable.ZALP(I,J))*g_NAFVariable.ZALP(I,K)*ZTEE(J)*/
+          t_complexe zSubExp;
+          zSubExp=i_compl_mul(i_compl_mul(i_compl_conj(&(g_NAFVariable.ZALP[I][J])),g_NAFVariable.ZALP[I][K]),ZTEE[J]);
+          i_compl_psub(&(g_NAFVariable.ZALP[NF][K]),&zSubExp);
+        }
+       }
+      }
+      i_compl_cmplx(&(g_NAFVariable.ZALP[NF][NF]),1.E0,0.E0);
+/*!----------! ON REND LA NORME DE FN = 1*/
+      DIV=1.E0;
+      i_compl_cmplx(&ZDIV,0.E0,0.E0);
+      for( I=1; I<=NF; I++)
+      {
+         /*ZDIV=ZDIV+DCONJG(g_NAFVariable.ZALP(NF,I))*ZTEE(I)*/
+         t_complexe zSubExp;
+         zSubExp = i_compl_mul(i_compl_conj(&(g_NAFVariable.ZALP[NF][I])),ZTEE[I]);
+         i_compl_padd(&ZDIV,&zSubExp);
+      }
+      DIV=sqrt(i_compl_module(ZDIV));
+      if (g_NAFVariable.IPRT==1)
+      {
+       /*v0.96 M. GASTINEAU 19/11/98 : modification*/
+       /*fprintf(g_NAFVariable.NFPRT,"ZDIV= %g+i%g DIV=%g\n",ZDIV,DIV);*//*remplacee par:*/
+       fprintf(g_NAFVariable.NFPRT,"ZDIV= %g+i%g DIV=%g\n",ZDIV.reel,ZDIV.imag,DIV);
+       /*v0.96 M. GASTINEAU 19/11/98 : fin modification*/
+      }
+      for(I=1; I<=NF; I++)
+      {
+         i_compl_pdivdoubl(&(g_NAFVariable.ZALP[NF][I]),&DIV); /*g_NAFVariable.ZALP(NF,I) = g_NAFVariable.ZALP(NF,I)/DIV*/
+      }
+/*!-----------! F1,F2....., FN EST UNE BASE ORTHONORMEE
+!-----------! ON RETIRE MAINTENANT A F  <F,FN>FN  (<F,FN>=<F,EN>)*/
+      /*v0.96 M. GASTINEAU 01/12/98 : modification */
+      i_compl_cmplx(&ZMUL,A/DIV,B/DIV);
+      i_compl_cmplx(&ZI,0.E0,1.E0);
+      for(I=1; I<=NF; I++)
+      {
+         ZOM=i_compl_muldoubl(g_NAFVariable.TFS[I]/g_NAFVariable.UNIANG,ZI); /*ZOM=g_NAFVariable.TFS(I)/g_NAFVariable.UNIANG*ZI*/
+         ZA=i_compl_mul(g_NAFVariable.ZALP[NF][I],ZMUL);
+/*!-----------! LES AMPLITUDES DES TERMES SONT CORRIGEES
+!-----------! ATTENTION ICI (CAS REEL) ON AURA AUSSI LE TERME CONJUGUE
+!-----------! QU'ON NE CALCULE PAS. LE TERME TOTAL EST
+!-----------!       2*RE(g_NAFVariable.ZAMP(I)*EXP(ZI*g_NAFVariable.TFS(I)*T) )*/
+         i_compl_padd(g_NAFVariable.ZAMP+I,&ZA);
+         if (g_NAFVariable.IPRT==1)
+         {
+           fprintf(g_NAFVariable.NFPRT," %g %g %g %g %g\n", g_NAFVariable.TFS[I],i_compl_module(g_NAFVariable.ZAMP[I]),g_NAFVariable.ZAMP[I].reel,
+                   g_NAFVariable.ZAMP[I].imag,atan2(g_NAFVariable.ZAMP[I].imag,g_NAFVariable.ZAMP[I].reel));
+         }
+/*!-----------! ON RETIRE LA CONTRIBUTION TOTALE DU TERME g_NAFVariable.TFS(I) DANS TABS*/
+       if (g_NAFVariable.ICPLX==1)
+       {
+         ZEX=i_compl_mul(ZA, i_compl_exp(i_compl_muldoubl(g_NAFVariable.T0-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP(ZOM*(g_NAFVariable.T0-g_NAFVariable.XH))*/
+         ZINC=i_compl_exp(i_compl_muldoubl(g_NAFVariable.XH,ZOM)); /*ZINC=EXP(ZOM*g_NAFVariable.XH)*/
+         naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX); /*naf_ztpow(g_NAFVariable.KTABS+1,64,ZT,ZINC,ZEX);*/
+         /*v0.96 M. GASTINEAU 12/01/99 : optimisation*/
+         /*for(IT=0, pzarTabs=g_NAFVariable.ZTABS, pzarZT=ZT;
+             IT<=g_NAFVariable.KTABS;
+             IT++,pzarTabs++,pzarZT++)*//*remplacee par:*/
+         for(IT=0, pzarTabs=g_NAFVariable.ZTABS, pzarZT=ZT;
+             IT<=ikTabs;
+             IT++,pzarTabs++,pzarZT++) /*v0.96 M. GASTINEAU 12/01/99 : optimisation*/
+         {
+            i_compl_psub(pzarTabs, pzarZT);
+         }
+       }
+       else
+       {
+         ZEX=i_compl_mul(ZA, i_compl_exp(i_compl_muldoubl(g_NAFVariable.T0-g_NAFVariable.XH,ZOM))); /*ZEX = ZA*EXP(ZOM*(g_NAFVariable.T0-g_NAFVariable.XH))*/
+         ZINC=i_compl_exp(i_compl_muldoubl(g_NAFVariable.XH,ZOM)); /*ZINC=EXP(ZOM*g_NAFVariable.XH)*/
+         naf_ztpow(g_NAFVariable.KTABS,64,ZT,ZINC,ZEX);/*naf_ztpow(g_NAFVariable.KTABS+1,64,ZT,ZINC,ZEX);*/
+         /*v0.96 M. GASTINEAU 12/01/99 : optimisation*/
+         /*for(IT=0;IT<=g_NAFVariable.KTABS;IT++)*//*remplacee par:*/
+         /*v0.97 M. GASTINEAU 27/05/99 : ajout - correction bug si FS==0 */
+         if (FS==0.E0)
+         {
+         for(IT=0;IT<=ikTabs;IT++)
+         {
+           g_NAFVariable.ZTABS[IT].reel -= ZT[IT].reel; 
+           /*g_NAFVariable.ZTABS(IT+1)=g_NAFVariable.ZTABS(IT+1)- DREAL(ZT(IT+1)) */
+         }
+         }
+         else
+         /*v0.97 M. GASTINEAU 27/05/99 : fin ajout */
+         for(IT=0;IT<=ikTabs;IT++)
+          /*v0.96 M. GASTINEAU 12/01/99 : fin optimisation*/
+         {
+           /*v0.96 M. GASTINEAU 12/01/99 : modification*/
+           /* g_NAFVariable.ZTABS[IT].reel -=ZT[IT].reel; *//*g_NAFVariable.ZTABS(IT+1)=g_NAFVariable.ZTABS(IT+1)- DREAL(ZT(IT+1)) */
+           /*remplacee par:*/
+           g_NAFVariable.ZTABS[IT].reel -= 2*ZT[IT].reel; /*g_NAFVariable.ZTABS(IT+1)=g_NAFVariable.ZTABS(IT+1)- DREAL(ZT(IT+1)) */
+           /*v0.96 M. GASTINEAU 12/01/99 : fin modification*/
+         }
+       }
+      }
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+      SYSFREE(ZT);
+      SYSFREE(ZTEE);
+      return TRUE;
+}/*      END SUBROUTINE GRAMSC*/
+
+
+/*      SUBROUTINE PROSCA(F1,F2,ZP)*/
+void naf_prosca(double F1, double F2, t_complexe* ZP)
+{
+/*!-----------------------------------------------------------------------
+!     PROSCA   CALCULE LE PRODUIT SCALAIRE  DE EXP(I*F1*T) PAR EXP (-I*F
+!               SUR L'INTERVALLE [0:g_NAFVariable.KTABS]  T=g_NAFVariable.T0+g_NAFVariable.XH*IT
+!              CALCUL ANALYTIQUE
+!     ZP        PRODUIT SCALAIRE COMPLEXE
+!     F1,F2     FREQUENCES EN "/AN
+!               REVU LE 26/9/87 J. LASKAR
+!-----------------------------------------------------------------------
+      
+      IMPLICIT NONE
+! (g_NAFVariable.KTABS,F1,F2,ZP)
+      REAL (8) :: F1,F2
+      complex (8) :: ZP
+!
+      complex (8) ZI,ZF,ZF1,ZF2
+      REAL (8) PICARRE, T1,T2, XT,DIV,FAC,T,FR1,FR2
+* */
+      t_complexe ZI,ZF,ZF1,ZF2;
+      double  PICARRE, T1,T2, XT,DIV,FACTEUR,T,FR1,FR2;               
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      ZI=cmplx(0.E0,1.E0);
+#else /*remplacee par:*/
+      i_compl_cmplx(&ZI,0.E0,1.E0);
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin modification*/
+/*!----------! FREQUENCES EN UNITE D'ANGLE PAR UNITE DE TEMPS*/
+      FR1=F1/g_NAFVariable.UNIANG;
+      FR2=F2/g_NAFVariable.UNIANG;
+      T1 =g_NAFVariable.T0;
+      T2 =g_NAFVariable.T0+g_NAFVariable.KTABS*g_NAFVariable.XH;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      /*v0.96 M. GASTINEAU 01/12/98 : correction bug */
+      /*ZF=muldoublcomplexe((FR1-FR2)*(T2-T1), ZF);*/ /*ZF=ZI*(FR1-FR2)*(T2-T1)*/
+      /*remplacee par: */ZF=muldoublcomplexe((FR1-FR2)*(T2-T1), ZI);
+      ZF1=muldoublcomplexe((FR1-FR2)*T1, ZI); /*ZF1=ZI*(FR1-FR2)*T1*/
+      ZF2=muldoublcomplexe((FR1-FR2)*T2, ZI); /*ZF2=ZI*(FR1-FR2)*T2*/
+      *ZP=divcomplexe(subcomplexe(expcomplexe(ZF2),expcomplexe(ZF1)),ZF); /*ZP=(EXP(ZF2)-EXP(ZF1))/ZF*/
+#else /*remplacee par:*/
+      ZF=i_compl_muldoubl((FR1-FR2)*(T2-T1), ZI); /*ZF=ZI*(FR1-FR2)*(T2-T1)*/
+      ZF1=i_compl_muldoubl((FR1-FR2)*T1, ZI); /*ZF1=ZI*(FR1-FR2)*T1*/
+      ZF2=i_compl_muldoubl((FR1-FR2)*T2, ZI); /*ZF2=ZI*(FR1-FR2)*T2*/
+      *ZP=i_compl_div(i_compl_sub(i_compl_exp(ZF2),i_compl_exp(ZF1)),ZF); /*ZP=(EXP(ZF2)-EXP(ZF1))/ZF*/
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+/*!
+!      PI=2.D0*ATAN2(1.D0,0.D0)*/
+      PICARRE=pi*pi;
+      T=(T2-T1)/2.E0;
+      XT=(FR1-FR2)*T;
+      DIV=XT*XT-PICARRE;
+      if(fabs(DIV)<1.E-10)
+      {
+         /*v0.96 M. GASTINEAU 19/11/98 : modification*/
+         /*fprintf(stdout, "g_NAFVariable.T0= %g, g_NAFVariable.XH=%g, g_NAFVariable.KTABS==%g\n",
+                   g_NAFVariable.T0,g_NAFVariable.XH,g_NAFVariable.KTABS);*/
+         /*remplacee par:*/
+         fprintf(stdout, "g_NAFVariable.T0= %g, g_NAFVariable.XH=%g, g_NAFVariable.KTABS=%d\n",
+                 g_NAFVariable.T0, g_NAFVariable.XH, g_NAFVariable.KTABS);
+         /*v0.96 M. GASTINEAU 19/11/98 : fin modification*/
+         fprintf(stdout, "F1=%g ,F2=%g\n",F1,F2);
+         fprintf(stdout, "T1= %g , T2= %g, T= %g\n",T1, T2, T);
+         fprintf(stdout, "FR1= %g ,FR2= %g ,XT= %g \n",FR1,FR2,XT);
+         fprintf(stdout, "DIV= %g\n",DIV);
+      } else
+      {
+         FACTEUR=-PICARRE/DIV;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+         *ZP=muldoublcomplexe(FACTEUR,*ZP);
+#else /*remplacee par:*/
+         i_compl_pmuldoubl(ZP,&FACTEUR);
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+      }
+}/*      END  SUBROUTINE PROSCA*/
+      
+/*      FUNCTION FUNC(X)  */
+double naf_func(double X)
+{
+/*      IMPLICIT NONE
+! (X)
+      REAL (8) :: X,FUNC
+!
+      REAL (8) ::RMD
+!            */
+      double RMD;
+      naf_profre(X,&AF,&BF,&RMD);
+      return RMD;
+}/*      END FUNCTION FUNC*/
+     
+/*      FUNCTION FUNCP(X)*/
+double naf_funcp(double X)
+{
+/*      IMPLICIT NONE
+!  (X)
+      REAL (8) :: X,FUNCP
+!          
+      REAL (8) :: DER, RMF
+! */
+      double DER, RMF;     
+      naf_proder(X,&DER,&AF,&BF,&RMF);
+      return DER;
+}/*      END FUNCTION FUNCP*/
+
+/*      SUBROUTINE PRODER(FS,DER,A,B,RM)*/
+void naf_proder(double FS, double *DER, double *A, double *B,double *RM)
+{
+/*!***********************************************************************
+!  CE SOUS PROG. CALCULE LA DERIVEE DU CARRE DU MODULE DU PRODUIT 
+!  SCALAIRE DE EXP(-I*FS)*T PAR TAB(0:7
+!  UTILISE LA METHODE D'INTEGRATION DE HARDY
+!  LE RESULTAT EST DANS DER 
+!  A +IB LE PRODUIT SCALAIRE , RM SON MODULE
+!  FS EST DONNEE EN SECONDES PAR AN
+!               REVU LE 26/9/87 J. LASKAR
+!                       26/5/98 (CHGT DE SIGNE) (*m/4)
+!***********************************************************************
+      
+      IMPLICIT NONE
+! (FS,DER,A,B,RM)
+      REAL (8) :: FS,DER,A,B,RM      
+! 
+      integer,parameter :: NVECT=64
+      REAL (8) :: OM,ANG0,ANGI,H
+      complex (8) :: ZI,ZAC,ZINC,ZEX,ZB,ZT,ZA
+      integer :: LTF
+      complex (8), dimension (:), allocatable :: ZTF
+! */
+#define NVECT 64
+      double  OM,ANG0,ANGI,H;    
+      t_complexe ZI,ZAC,ZINC,ZEX,ZB,/*ZT,*/ZA;
+      int LTF;
+      t_complexe *ZTF=NULL;/*tableau de 1 a KTABS+1 */
+      SYSCHECKMALLOCSIZE(ZTF,t_complexe, g_NAFVariable.KTABS+1); /*allocate(ZTF(0:g_NAFVariable.KTABS),stat = NERROR)*/
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+/*!
+!------------------ CONVERSION DE FS EN RD/AN*/
+      OM=FS/g_NAFVariable.UNIANG;
+      ZI=cmplx(0.E0,1.E0);
+/*!------------------ LONGUEUR DU TABLEAU A INTEGRER
+!------------------ DANS LE CAS REEL MEME CHOSE */
+      LTF=g_NAFVariable.KTABS;
+      ANG0=OM*g_NAFVariable.T0;
+      ANGI=OM*g_NAFVariable.XH;
+      ZAC = expcomplexe (muldoublcomplexe(-ANG0,ZI));
+      ZINC=  expcomplexe (muldoublcomplexe(-ANGI,ZI));
+      ZEX = divcomplexe(ZAC,ZINC); /*ZEX = ZAC/ZINC*/
+      naf_ztpow2(g_NAFVariable.KTABS,NVECT,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX); /*CALL  ZTPOW2(g_NAFVariable.KTABS+1,NVECT,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX)*/ 
+/*!------------------ TAILLE DU PAS*/
+      H=1.E0/((double)LTF);
+      naf_zardyd(ZTF,LTF,H,&ZA);
+      *A = ZA.reel;
+      *B = ZA.imag;
+      *RM=module(ZA);
+      naf_ztder(g_NAFVariable.KTABS,NVECT,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX,g_NAFVariable.T0,g_NAFVariable.XH); /*CALL ZTDER(g_NAFVariable.KTABS+1,NVECT,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX,g_NAFVariable.T0,g_NAFVariable.XH)*/
+      naf_zardyd(ZTF,LTF,H,&ZB);
+      *DER=(mulcomplexe(conjcomplexe(ZA),ZB)).imag*2.E0;
+#else /*remplacee par: */
+/*!
+!------------------ CONVERSION DE FS EN RD/AN*/
+      OM=FS/g_NAFVariable.UNIANG;
+      i_compl_cmplx(&ZI,0.E0,1.E0);
+/*!------------------ LONGUEUR DU TABLEAU A INTEGRER
+!------------------ DANS LE CAS REEL MEME CHOSE */
+      LTF=g_NAFVariable.KTABS;
+      ANG0=OM*g_NAFVariable.T0;
+      ANGI=OM*g_NAFVariable.XH;
+      ZAC = i_compl_exp (i_compl_muldoubl(-ANG0,ZI));
+      ZINC=  i_compl_exp (i_compl_muldoubl(-ANGI,ZI));
+      ZEX = i_compl_div(ZAC,ZINC); /*ZEX = ZAC/ZINC*/
+      naf_ztpow2(g_NAFVariable.KTABS,NVECT,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX); /*CALL  ZTPOW2(g_NAFVariable.KTABS+1,NVECT,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX)*/ 
+/*!------------------ TAILLE DU PAS*/
+      H=1.E0/((double)LTF);
+      naf_zardyd(ZTF,LTF,H,&ZA);
+      *A = ZA.reel;
+      *B = ZA.imag;
+      *RM=i_compl_module(ZA);
+      naf_ztder(g_NAFVariable.KTABS,NVECT,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX,g_NAFVariable.T0,g_NAFVariable.XH); /*CALL ZTDER(g_NAFVariable.KTABS+1,NVECT,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX,g_NAFVariable.T0,g_NAFVariable.XH)*/
+      naf_zardyd(ZTF,LTF,H,&ZB);
+      *DER=(i_compl_mul(i_compl_conj(&ZA),ZB)).imag*2.E0;
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+      SYSFREE(ZTF);
+#undef NVECT
+}/*      END SUBROUTINE PRODER*/
+
+/*      SUBROUTINE ZTDER (N,N1,ZTF,ZTA,TW,ZA,ZAST,T0,XH)*/
+/*v0.96 M. GASTINEAU 09/09/98 : modification dans les boucles de I en I-1 */
+void naf_ztder(int N, int N1, t_complexe *ZTF, t_complexe *ZTA, double *TW, t_complexe ZA, t_complexe ZAST, double T0, double XH)
+{
+/*!-----------------------------------------------------------------------
+!ZTPOW   CALCULE  ZTF(I) = ZTA(I)* TW(I)*ZAST*ZA**I *(T0+(I-1)*XH EN VECTORIEL
+!          
+!-----------------------------------------------------------------------
+      IMPLICIT NONE
+!  (N,N1,ZT,ZTF,ZTA,TW,ZA,ZAST,T0,XH)
+      integer :: N,N1
+      complex (8) :: ZTF(0:N),ZTA(0:N),ZA,ZAST
+      REAL (8) :: TW(0:N),T0,XH
+!
+      integer :: I,INC,NT,IT,NX
+      complex (8) :: ZT1,ZINC
+      complex (8),dimension (:), allocatable :: ZT 
+!      */
+      int I,INC,NT,IT,NX;
+      t_complexe ZT1, ZINC;
+      t_complexe *ZT=NULL;
+      
+      SYSCHECKMALLOCSIZE(ZT,t_complexe,N1); /*allocate(ZT(0:N1-1),stat = NERROR)*/
+      if (N<N1-1)
+      {
+         fprintf(stdout,"DANS ZTDER, N = %d\n", N);
+         return;
+      }
+/*!----------! */
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      ZT[0] = mulcomplexe(ZAST,ZA);
+      for( I = 1; I<N1; I++)
+      {
+         ZT[I] = mulcomplexe(ZT[I-1],ZA);
+      }
+      for(I = 0; I<N1; I++)
+      {
+         /*v0.96M. GASTINEAU 09/09/98 : modification */
+         /*ZTF[I] = muldoublcomplexe((T0+(I-1)*XH)*TW[I], mulcomplexe(ZTA[I],ZT[I]));*/ /*ZTF(I) = ZTA(I)*TW(I)*ZT(I)*(T0+(I-1)*XH)*/
+         ZTF[I] = muldoublcomplexe((T0+(I)*XH)*TW[I], mulcomplexe(ZTA[I],ZT[I])); /*ZTF(I) = ZTA(I)*TW(I)*ZT(I)*(T0+(I-1)*XH)*/
+      }
+      ZT1 = divcomplexe(ZT[N1-1],ZAST);
+      ZINC= cmplx(1,0);
+      INC =0;
+      NT = (N+1)/N1;  
+      for( IT = 2; IT<= NT; IT++)
+      {
+         ZINC = mulcomplexe(ZINC,ZT1);
+         INC += N1; /*INC  = INC + N1*/
+         for(I = 0; I<N1; I++)
+         {
+           /*v0.96M. GASTINEAU 09/09/98 : modification */
+           /*ZTF[INC+I]=muldoublcomplexe((T0+(INC+I-1)*XH)*TW[INC+I],mulcomplexe(ZTA[INC+I],mulcomplexe(ZT[I],ZINC)));*/
+           ZTF[INC+I]=muldoublcomplexe((T0+(INC+I)*XH)*TW[INC+I],mulcomplexe(ZTA[INC+I],mulcomplexe(ZT[I],ZINC)));
+           /*ZTF(INC+I)=ZTA(INC+I)*TW(INC+I)*ZT(I)*ZINC*(T0+(INC+I-1)*XH)*/
+         }
+      }
+      ZINC = mulcomplexe(ZINC,ZT1);
+      INC += N1; /*INC  = INC + N1*/
+      NX = (N+1)-NT*N1;
+      for (I = 0; I<NX; I++)
+      {
+        /*v0.96M. GASTINEAU 09/09/98 : modification */
+        /*ZTF[INC+I]=muldoublcomplexe(TW[INC+I]*(T0+(INC+I-1)*XH), mulcomplexe(ZTA[INC+I], mulcomplexe(ZT[I],ZINC)));*/
+        ZTF[INC+I]=muldoublcomplexe(TW[INC+I]*(T0+(INC+I)*XH), mulcomplexe(ZTA[INC+I], mulcomplexe(ZT[I],ZINC)));
+        /*ZTF(INC+I)=ZTA(INC+I)*TW(INC+I)*ZT(I)*ZINC*(T0+(INC+I-1)*XH)*/
+      }
+#else /*remplacee par:*/
+      ZT[0] = i_compl_mul(ZAST,ZA);
+      for( I = 1; I<N1; I++)
+      {
+         ZT[I] = i_compl_mul(ZT[I-1],ZA);
+      }
+      for(I = 0; I<N1; I++)
+      {
+         ZTF[I] = i_compl_muldoubl((T0+(I)*XH)*TW[I], i_compl_mul(ZTA[I],ZT[I])); 
+         /*ZTF(I) = ZTA(I)*TW(I)*ZT(I)*(T0+(I-1)*XH)*/
+      }
+      ZT1 = i_compl_div(ZT[N1-1],ZAST);
+      i_compl_cmplx(&ZINC,1,0);
+      INC =0;
+      NT = (N+1)/N1;  
+      for( IT = 2; IT<= NT; IT++)
+      {
+         i_compl_pmul(&ZINC,&ZT1);
+         INC += N1; /*INC  = INC + N1*/
+         for(I = 0; I<N1; I++)
+         {
+           ZTF[INC+I]=i_compl_muldoubl((T0+(INC+I)*XH)*TW[INC+I],i_compl_mul(ZTA[INC+I],i_compl_mul(ZT[I],ZINC)));
+           /*ZTF(INC+I)=ZTA(INC+I)*TW(INC+I)*ZT(I)*ZINC*(T0+(INC+I-1)*XH)*/
+         }
+      }
+      i_compl_pmul(&ZINC,&ZT1);
+      INC += N1; /*INC  = INC + N1*/
+      NX = (N+1)-NT*N1;
+      for (I = 0; I<NX; I++)
+      {
+        ZTF[INC+I]=i_compl_muldoubl(TW[INC+I]*(T0+(INC+I)*XH), i_compl_mul(ZTA[INC+I], i_compl_mul(ZT[I],ZINC)));
+        /*ZTF(INC+I)=ZTA(INC+I)*TW(INC+I)*ZT(I)*ZINC*(T0+(INC+I-1)*XH)*/
+      }
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+      SYSFREE(ZT);
+}/*      END SUBROUTINE ZTDER*/
+      
+/*      SUBROUTINE SECANTES(X,PASS,EPS,XM,IPRT,NFPRT)*/
+void naf_secantes(double X, double PASS, double EPS, double *XM, int IPRT, FILE *NFPRT)
+{
+/*!      SUBROUTINE SECANTES(X,PASS,EPS,XM,FONC,IPRT,NFPRT)
+!***********************************************************
+!      CALCUL PAR  LA METHODE DES SECANTES D'UN ZERO
+!      D'UNE FONCTION FUNC FOURNIE PAR L'UTILISATEUR
+!      
+!     X, PASS : LE ZERO EST SUPPOSE ETRE DANS X-PASS,X+PASS
+!     EPS     : PRECISION AVEC LAQUELLE ON VA CALCULER
+!               LE MAXIMUM
+!     XM      : ABSCISSE DU  ZERO
+!    g_NAFVariable.IPRT     : -1 PAS D'IMPRESSION
+!               0: IMPRESSION D'UNE EVENTUELLE ERREUR FATALE
+!               1: IMPRESSION SUR LE FICHIER g_NAFVariable.NFPRT
+!               2: IMPRESSION DES RESULTATS INTERMEDIAIRES
+!     
+!    FONC(X) :FONCTION DONNEE PAR L'UTILISATEUR
+!    PARAMETRES
+!       NMAX  : NOMBRE D'ESSAIS
+!       IENC  : 1 : test d'encadrement 0 sinon
+!   VARIABLE NERROR
+!       0: A PRIORI TOUT S'EST BIEN PASSE
+!       1: LE ZERO N'EST PAS TROUVE A EPSI PRES
+!          -->   SEULEMENT SI IENC=1
+!       2: PENTRE TROP FAIBLE (DIVISION PAR PRESQUE ZERO)
+!       3: ECHEC TOTAL 
+!  F. Joutel 26/5/98
+!  Modif 26/8/98 Enleve l'appel de FONC car dans un module
+! il ne semble pas etre possible de passer une fonction
+! interne en parametre, remplace FONC par FUNCP
+!***********************************************************
+       
+       IMPLICIT NONE
+! (X,PASS,EPS,XM,FUNCP,IPRT,NFPRT)
+       real (8) :: X, PASS,EPS,XM
+       integer :: IPRT,NFPRT
+!       interface
+!         function fonc(x)
+! 	   real (8) :: x,fonc
+! 	 end function fonc
+!       end interface
+!              
+       integer, parameter :: NMAX=30, IENC=1
+       integer :: I
+       REAL (8) :: EPSI,A,B,FA,FB,DELTA,COR
+!*/
+#define SECANTES_NMAX (30)
+#define SECANTES_IENC (1)
+       int I;
+       double EPSI,A,B,FA,FB,DELTA,COR;
+       
+       g_NAFVariable.NERROR=0;
+       EPSI=MAX(g_NAFVariable.EPSM,EPS);
+       if (fabs(PASS)>EPSI)
+       {
+         if (IPRT>=1)
+         {
+           fprintf(NFPRT," AMELIORATION PAR LES SECANTES\n");
+         }
+       }
+       I=0;
+       A=X-PASS;
+       B=X;
+       FB=naf_funcp(A);
+/*!      FB=FONC(A)*/
+/*10    CONTINUE*/
+SECANTES_10 :
+       if (fabs(B-A)>EPSI)
+       { 
+          FA=FB;
+          FB=naf_funcp(B);
+/*! 	  FB=FONC(B)*/
+          DELTA= FB-FA;
+          if (IPRT>=2)
+          {
+            fprintf(NFPRT,"SEC: A=%g, B=%g, abs(B-A)=%g \n", A, B,fabs(B-A));
+            fprintf(NFPRT,"SEC: F(A)=%g, F(B)=%g\n", FA, FB);
+          }
+          if (fabs(DELTA)<=g_NAFVariable.EPSM)
+          {
+            g_NAFVariable.NERROR=2;
+            if (IPRT>=1)
+            {
+              fprintf(NFPRT,"ECHEC DE LA METHODE DES SECANTES\n");
+              fprintf(NFPRT," DIVISION PAR PRESQUEZERO\n");
+              fprintf(NFPRT," ON CONTINUE AVEC LA VALEUR TROUVEE\n");
+            }
+            *XM=B;
+            return;
+          }
+          COR = FB*(A-B)/DELTA;
+          A = B;
+          B = B+COR;
+          I++; /*I=I+1 */
+          if (I>SECANTES_NMAX)
+          {
+             g_NAFVariable.NERROR=3;
+             if (IPRT>=0)
+             {
+               fprintf(NFPRT,"ECHEC DE LA METHODE DES SECANTES\n");
+               fprintf(NFPRT," BEAUCOUP TROP D ITERATIONS\n");
+               fprintf(NFPRT," ON CONTINUE AVEC LA VALEUR INITIALE\n");
+             }
+             *XM=X;
+             return;
+          }
+          goto SECANTES_10;  /*GOTO 10*/
+       }
+/*!----- !fin de la boucle*/
+       *XM=B;
+       if (SECANTES_IENC==1)
+       {
+            if (naf_funcp(B-EPSI)*naf_funcp(B+EPSI)>0.E0)
+            {
+/*!           if (FONC(B-EPSI)*FONC(B+EPSI)>0.D0) {*/
+             g_NAFVariable.NERROR=1;
+           }
+       }
+       if (IPRT==1)
+       {
+          /*v0.96 M. GASTINEAU 19/11/98 : modification*/
+          /*fprintf(NFPRT,"POSITION SECANTES %g TROUVEE A %g",XM, EPSI);*/
+          /*remplacee par:*/
+          fprintf(NFPRT,"POSITION SECANTES %g TROUVEE A %g",*XM, EPSI);
+          /*v0.96 M. GASTINEAU 19/11/98 : fin modification*/
+          if (SECANTES_IENC==1)
+          {
+             if (g_NAFVariable.NERROR==1)
+             {
+                fprintf(NFPRT," SANS GARANTIE\n");
+             }
+             if (g_NAFVariable.NERROR==0)
+             {
+                fprintf(NFPRT," AVEC GARANTIE\n");
+             }
+           }
+          /*v0.96 M. GASTINEAU 19/11/98 : modification*/
+          /* fprintf(NFPRT,"\n %19.9E %12.8E\n", PASS,XM);*/
+          /*remplacee par:*/
+           fprintf(NFPRT,"\n %19.9E %12.8E\n", PASS,*XM);
+          /*v0.96 M. GASTINEAU 19/11/98 : fin modification*/
+       }
+#undef SECANTES_NMAX
+#undef SECANTES_IENC
+}/*       END SUBROUTINE SECANTES*/
+
+/*      SUBROUTINE MAXIQUA(X,PASS,EPS,XM,YM,IPRT,NFPRT)*/
+void naf_maxiqua(double X, double PASS, double EPS, double *XM, double *YM, int IPRT, FILE *NFPRT)
+{
+/*
+!      SUBROUTINE MAXIQUA(X,PASS,EPS,XM,YM,FONC,IPRT,NFPRT)
+!***********************************************************
+!      CALCUL PAR INTERPOLATION QUADRATIQUE DU MAX
+!      D'UNE FONCTION FONC FOURNIE PAR L'UTILISATEUR
+!      
+!     X, PASS : LE MAX EST SUPPOSE ETRE SI POSSIBLE 
+!               DANS X-PASS,X+PASS
+!     EPS     : PRECISION AVEC LAQUELLE ON VA CALCULER
+!               LE MAXIMUM
+!     XM      : ABSCISSE DU MAX
+!     YM      : YM=FUNC(XM)
+!     IPRT     : -1 PAS D'IMPRESSION 
+!               0: IMPRESSION D'UNE EVENTUELLE ERREUR FATALE
+!               1: IMPRESSION SUR LE FICHIER NFPRT
+!               2: IMPRESSION DES RESULTATS INTERMEDIAIRES
+! 
+!    FONC(X)  :FONCTION DONNEE PAR L'UTILISATEUR
+! 
+!***********************************************************
+!  PARAMETRES
+!   NMAX     : NOMBRE MAXIMAL D'ITERATIONS
+!  VARIABLE (COMMON ASD)
+!   g_NAFVariable.NERROR:
+!        0 : OK
+!        1 : COURBURE BIEN FAIBLE !
+!        2 : LA FONCTION EST BIEN PLATE !
+!        3 : OSCILLATION  DE L'ENCADREMENT
+!        4 : PAS D'ENCADREMENT TROUVE
+!        5 : ERREUR FATALE
+!***********************************************************
+!  ASD VERSION 0.9  J.LASKAR & F.JOUTEL 16/5/97
+!  CHANGEMENT POUR UN EPSILON MACHINE CALCULE PAR CALCEPSM
+!  JXL 22/4/98
+!  Modif 26/8/98 Enleve l'appel de FONC car dans un module
+! il ne semble pas etre possible de passer une fonction
+! interne en parametre, remplace FONC par FUNCP
+!***********************************************************
+      
+      IMPLICIT NONE
+!  (X,PASS,EPS,XM,YM,FONC,IPRT,NFPRT)
+      integer :: IPRT,NFPRT
+      REAL (8) :: X,PASS,EPS,XM,YM
+!      interface
+!        function fonc (x)
+! 	  real (8) :: x,fonc
+! 	end function fonc
+!      end interface
+!          
+      integer, parameter :: NMAX=200, NFATAL=100 
+      REAL (8), parameter :: RABS=1.D0
+      integer :: NITER,NCALCUL
+      REAL (8)  :: PAS,EPSLOC,X1,X2,X3,Y1,Y2,Y3,A,ERR,DX,TEMP
+      REAL (8) :: D1,D2   
+*/
+#define MAXIQUA_NMAX (200)
+#define MAXIQUA_NFATAL (100)
+#define MAXIQUA_RABS (1.E0) 
+      int NITER, NCALCUL;
+      double PAS,EPSLOC,X1,X2,X3,Y1,Y2,Y3,A,ERR,DX,TEMP;
+      double D1=0E0,D2=0E0;
+     
+/*! 
+!* ENTRE 0 ET RABS LES ERREURS SONT ENVISAGEES DE FACON ABSOLUE
+!* APRES RABS, LES ERREURS SONT ENVISAGEES DE FACON RELATIVE.
+!*/
+      EPSLOC=MAX(EPS,sqrt(g_NAFVariable.EPSM));
+/*!      
+!*  AU SOMMET D'UNE PARABOLE Y=Y0-A*(X-X0)**2, UN ECART DE X AUTOUR DE X0
+!*  INFERIEUR A EPSLOC DONNE UN ECART DE Y INFERIEUR A A*EPSLOC**2*/
+      if (IPRT>=1)
+      {
+          fprintf(NFPRT," ROUTINE DE RECHERCHE DU MAXIMUM :\n");
+      }
+      PAS = PASS;
+      NITER =0;
+      NCALCUL=0;
+      g_NAFVariable.NERROR=0;
+      X2 = X;
+      Y2 = naf_func (X2);
+      X1 = X2 - PAS;
+      X3 = X2 + PAS;
+      Y1 = naf_func (X1);
+      Y3 = naf_func (X3);
+/*!* DECALAGE POUR ENCADRER LE MAXIMUM*/
+MAXIQUA_10:
+      if ((NITER>MAXIQUA_NMAX)||(NCALCUL>MAXIQUA_NFATAL))
+      {
+         if (NCALCUL>MAXIQUA_NFATAL)
+         {
+            g_NAFVariable.NERROR =5;
+            if (IPRT>=0)
+            {
+               fprintf(NFPRT," ERREUR FATALE\n");
+            }
+         } 
+         else
+         { 
+           if (PAS>=PASS)
+           {
+              g_NAFVariable.NERROR = 4;
+              if (IPRT>=0)
+              {
+                fprintf(NFPRT,"  PAS D''ENCADREMENT TROUVE\n");
+              }
+           } 
+           else 
+           {
+              g_NAFVariable.NERROR =3;
+              if (IPRT>=0)
+              {
+                fprintf(NFPRT," OSCILLATION DE L''ENCADREMENT ?\n");
+              }
+           }
+         }
+         ERR=PAS;
+         goto MAXIQUA_EXIT;
+      }
+      if ((Y1>Y2)||(Y3>Y2))
+      {
+            NITER ++; /*NITER = NITER +1*/
+            if (Y1>Y3)
+            {
+                  X2 = X1;
+                  Y2 = Y1;
+            }
+            else
+            {
+                  X2 = X3;
+                  Y2 = Y3;
+            }
+            X1 = X2 - PAS;
+            X3 = X2 + PAS;
+            Y1 = naf_func (X1);
+            Y3 = naf_func (X3);
+            goto MAXIQUA_10;
+      }
+      D1 = Y2-Y1;
+      D2 = Y3-Y2;
+      A = fabs(0.5E0*(D2-D1)/(PAS*PAS));
+      if (IPRT>=2)
+      {
+        if (sqrt(A)!=0)
+        { 
+         fprintf(NFPRT,"%12.8E %12.8E %25.16E %25.16E %25.16E %25.16E\n", PAS,X2,Y1,Y2,Y3,EPSLOC/sqrt(A));
+        }
+        else
+        { 
+         fprintf(NFPRT,"%12.8E %12.8E %25.16E %25.16E %25.16E INF\n", PAS,X2,Y1,Y2,Y3);
+        }        
+      }
+/*!* TEST POUR UN CALCUL SIGNifICATif DES VALEURS DE LA FONCTION*/
+      if ((fabs (D1-D2))<2.E0*g_NAFVariable.EPSM*MAX(MAXIQUA_RABS,fabs(Y2)))
+      {
+        g_NAFVariable.NERROR= 2;
+        if (IPRT>=1)
+        {
+          fprintf(NFPRT," PLATEAU DE LA FONCTION\n");
+        }
+        ERR=PAS;
+        goto MAXIQUA_EXIT;
+      }
+
+/*!* TEST SUR LA FORME DE LA COURBE */
+      if (A<g_NAFVariable.EPSM*MAX(MAXIQUA_RABS,fabs(Y2)))
+      {
+         g_NAFVariable.NERROR= 1;
+         if (IPRT>=1)
+         {
+          fprintf(NFPRT,"COURBE TROP PLATE\n");
+         }
+         ERR=PAS;
+        goto MAXIQUA_EXIT;
+      }
+/*!* TEST POUR UN CALCUL SIGNifICATif AU SOMMET D'UNE PARABOLE
+!* ON PEUT IGNORER LE TEST MAIS ON N'A PLUS DE GARANTIE SUR
+!* LES VALEURS DE LA FONCTION PLUS TARD */
+      if (PAS<=EPSLOC*sqrt(MAX(MAXIQUA_RABS,fabs(Y2))/A))
+      {
+          if (IPRT>=1)
+          {
+             fprintf(NFPRT,"SORTIE AU SOMMET DE LA PARABOLE\n"); 
+          }
+          ERR=EPSLOC*sqrt(MAX(MAXIQUA_RABS,Y2)/A);
+          goto MAXIQUA_EXIT;
+        } 
+      DX= 0.5E0*PAS*(Y1-Y3)/(D2-D1);
+/*!* TEST POUR UN NOUVEAU PAS SIGNifICATif*/
+      if (fabs(DX)<g_NAFVariable.EPSM*MAX(MAXIQUA_RABS,fabs(X2)))
+      {
+          if (IPRT>=1)
+          {
+           fprintf(NFPRT,"CORRECTION MINUSCULE\n");
+          } 
+          ERR=PAS;
+          goto MAXIQUA_EXIT;
+      }
+      PAS=fabs(DX); 
+      if (DX>0.E0)
+      {
+         X1 = X2;
+         Y1 = Y2;
+         X2 +=PAS; /*X2 = X2+PAS*/
+         Y2 = naf_func(X2);
+         X3 = X2 + PAS;
+         Y3 = naf_func(X3);
+      }
+      else
+      {
+         X3 = X2;
+         Y3 = Y2;
+         X2 -=PAS; /*X2 = X2-PAS*/
+         Y2 = naf_func(X2);
+         X1 = X2 - PAS;
+         Y1 = naf_func(X1);
+      }
+/*!* A LA SORTIE DE CE CALCUL LE PAS DOIT ETRE DIVISE AU MOINS PAR 2 
+!! MAIS ON N'EST PAS ASSURE QUE LES VALEURS FINALES Y1,Y2,Y3 
+!* VERifIENT Y1<=Y2>=Y3, AUSSI, ON REPART AU DEBUT*/
+      NCALCUL++; /*NCALCUL=NCALCUL+1*/
+      goto MAXIQUA_10;
+MAXIQUA_EXIT :
+      *XM = X2;
+      *YM = Y2;
+      if (IPRT>=1)
+      {
+         fprintf(NFPRT,"%12.8E %12.8E %12.8E\n", PAS,*XM,*YM);
+         fprintf(NFPRT," POSITION TROUVEE A %g PRES\n",ERR); 
+         TEMP =  fabs (Y3-Y2)+ fabs(Y2-Y1);
+         if (TEMP<2.E0*g_NAFVariable.EPSM*MAX(MAXIQUA_RABS,fabs(Y2)))
+         {
+            fprintf(NFPRT," TROUVEE SOUS UN PLATEAU DE LA FONCTION\n");
+         } 
+      }
+#undef MAXIQUA_NMAX 
+#undef MAXIQUA_NFATAL 
+#undef MAXIQUA_RABS    
+}/*      END SUBROUTINE MAXIQUA*/
+
+/*      SUBROUTINE FREFIN (FR,A,B,RM, RPAS0,RPREC)*/
+/*v0.96 M. GASTINEAU 07/12/98 : modification car bug lors de l'optimisation sur Mac */
+void naf_frefin(double *FR, double *A, double *B, double *RM, const double RPAS0, const double RPREC)
+{
+/*!-----------------------------------------------------------------------
+!     FREFIN            RECHERCHE FINE DE LA FREQUENCE
+!                       FR     FREQUENCE DE BASE EN "/AN  ENTREE ET SORT
+!                       A      PARTIE REELLE DE L'AMPLITUDE     (SORTIE)
+!                       B      PARTIE IMAGINAIRE DE L'AMPLITUDE (SORTIE)
+!                       RM     MODULE DE L'AMPLITUDE            (SORTIE)
+!                       RPAS0  PAS INITIAL EN "/AN
+!                       RPREC  PRECISION DEMANDEE EN "/AN
+!               REVU LE 26/9/87 J. LASKAR
+!               MODif LE 15/11/90 MAX PAR INTERP. QUAD.
+! Modif 26/8/98 Enleve les appels aux fonctions func et funcp internes
+! au module
+!-----------------------------------------------------------------------
+      
+      IMPLICIT NONE
+! (FR,A,B,RM, RPAS0,RPREC)
+      REAL (8) FR,A,B,RM,RPAS0,RPREC
+!
+      REAL (8) X,PASS,EPS,XM,YM
+! */
+      double X,PASS,EPS,XM,YM;
+   /*v0.96 M. GASTINEAU 07/12/98 : modification car bug quand optimisation sur Mac */
+   /*   X    = *FR;
+      PASS = RPAS0;
+      EPS  = RPREC;*/ /*remplacee par:*/
+      PASS = RPAS0;
+      EPS  = RPREC;
+      X    = *FR;
+   /*v0.96 M. GASTINEAU 07/12/98 : fin modification */
+      naf_maxiqua(X,PASS,EPS,&XM,&YM,g_NAFVariable.IPRT,g_NAFVariable.NFPRT);
+/*!     CALL MAXIQUA(X,PASS,EPS,XM,YM,FUNC,g_NAFVariable.IPRT,g_NAFVariable.NFPRT)
+!************! AMELIORATION DE LA RECHERCHE PAR LE METHODE DES SECANTES
+!************!  APPLIQUEE A LA DERIVEE DU MODULE.*/
+      if (g_NAFVariable.ISEC==1)
+      {
+         X=XM;
+         naf_secantes(X,PASS,EPS,&XM,g_NAFVariable.IPRT,g_NAFVariable.NFPRT);
+/*! 	 CALL SECANTES(X,PASS,EPS,XM,FUNCP,g_NAFVariable.IPRT,g_NAFVariable.NFPRT)*/
+         YM=naf_func(XM);
+      }   
+      *FR=XM;
+      *RM=YM;
+      *A=AF;
+      *B=BF; 
+      if (g_NAFVariable.IPRT==1)
+      {
+       /*v0.96 M. GASTINEAU 19/11/98 : modification*/
+       /*fprintf(g_NAFVariable.NFPRT,"\n%10.6E %19.9E %19.9E %19.9E\n", FR,RM,AF,BF);*/
+       /*remplacee par:*/
+       fprintf(g_NAFVariable.NFPRT,"\n%10.6E %19.9E %19.9E %19.9E\n", *FR,*RM,AF,BF);
+       /*v0.96 M. GASTINEAU 19/11/98 : fin modification*/
+      }
+/*1000  FORMAT (1X,F10.6,3D19.9)*/
+}/*      END SUBROUTINE FREFIN*/
+
+
+
+/*      SUBROUTINE PROFRE(FS,A,B,RMD)*/
+BOOL naf_profre(double FS, double *A, double *B, double *RMD)
+{
+/*!***********************************************************************
+!  CE SOUS PROG. CALCULE LE PRODUIT SCALAIRE DE EXP(-I*FS)*T PAR TAB(0:7
+!  UTILISE LA METHODE D'INTEGRATION DE HARDY
+!  LES RESULTATS SONT DANS A,B,RMD PARTIE REELLE, IMAGINAIRE, MODULE
+!  FS EST DONNEE EN SECONDES PAR AN
+!               REVU LE 26/9/87 J. LASKAR
+!***********************************************************************
+      
+      IMPLICIT NONE
+! (g_NAFVariable.KTABS,FS,A,B,RMD)
+      REAL (8) :: FS,A,B,RMD
+!
+      integer :: LTF
+      REAL (8) :: OM,ANG0,ANGI,H
+      complex (8) ZI,ZAC,ZINC,ZEX,ZA
+      complex (8), dimension (:), allocatable :: ZTF      
+! */
+      int LTF;
+      double OM,ANG0,ANGI,H;
+      t_complexe ZI,ZAC,ZINC,ZEX,ZA;
+      t_complexe *ZTF=NULL;
+
+      SYSCHECKMALLOCSIZE(ZTF, t_complexe, g_NAFVariable.KTABS+1); /*allocate(ZTF(0:g_NAFVariable.KTABS),stat = g_NAFVariable.NERROR)*/
+/*!
+!------------------ CONVERSION DE FS EN RD/AN*/
+      OM=FS/g_NAFVariable.UNIANG ;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      ZI=cmplx(0.E0,1.E0);
+#else /*remplacee par:*/
+      i_compl_cmplx(&ZI,0.E0,1.E0);
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+/*!------------------ LONGUEUR DU TABLEAU A INTEGRER
+!------------------ DANS LE CAS REEL MEME CHOSE */
+      LTF=g_NAFVariable.KTABS;
+      ANG0=OM*g_NAFVariable.T0;
+      ANGI=OM*g_NAFVariable.XH;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      ZAC = expcomplexe (muldoublcomplexe(-ANG0,ZI));
+      ZINC= expcomplexe (muldoublcomplexe(-ANGI,ZI));
+      ZEX = divcomplexe(ZAC,ZINC);
+#else /*remplacee par:*/
+      ZAC = i_compl_exp(i_compl_muldoubl(-ANG0,ZI));
+      ZINC= i_compl_exp(i_compl_muldoubl(-ANGI,ZI));
+      ZEX = i_compl_div(ZAC,ZINC);
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+      naf_ztpow2(g_NAFVariable.KTABS,64,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX); /*CALL  ZTPOW2(g_NAFVariable.KTABS+1,64,ZTF,g_NAFVariable.ZTABS,TWIN,ZINC,ZEX)*/
+/*!------------------ TAILLE DU PAS*/
+      H=1.E0/((double)LTF);
+      if (naf_zardyd(ZTF,LTF,H,&ZA)==FALSE)
+      {
+       SYSFREE(ZTF);
+       return FALSE;
+      }
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      *RMD=module(ZA);
+#else /*remplacee par:*/
+      *RMD=i_compl_module(ZA);
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+      *A = ZA.reel;
+      *B = ZA.imag;
+      SYSFREE(ZTF);
+      return TRUE;
+}/*      END SUBROUTINE PROFRE*/
+
+/*      SUBROUTINE ZTPOW2 (N,N1,ZTF,ZTA,TW,ZA,ZAST)*/
+void naf_ztpow2(int N, int N1, t_complexe *ZTF, t_complexe *ZTA, double *TW, t_complexe ZA, t_complexe ZAST)
+{
+/*!-----------------------------------------------------------------------
+!     ZTPOW   CALCULE  ZTF(I) = ZTA(I)* TW(I)*ZAST*ZA**I EN VECTORIEL
+!           
+!-----------------------------------------------------------------------
+      IMPLICIT NONE
+! (N,N1,ZTF,ZTA,TW,ZA,ZAST)
+      integer :: N,N1
+      complex (8) :: ZTF(0:N),ZTA(0:N),ZA,ZAST
+      REAL (8) :: TW(0:N)
+!
+      integer :: INC,NT,IT,I,NX
+      complex (8) :: ZT1,ZINC
+      complex (8), dimension(:),allocatable :: ZT
+!               */
+      int INC,NT,IT,I,NX;
+      t_complexe ZT1,ZINC;
+      t_complexe *ZT=NULL;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE>0
+      t_complexe *pzarZT;
+#endif /**/      
+      SYSCHECKMALLOCSIZE(ZT,t_complexe, N1); /*allocate(ZT(0:N1-1),stat = nerror)*/
+      if (N<N1-1)
+      {
+         fprintf(stdout,"DANS ZTPOW, N = %d\n", N);
+         return;
+      }
+/*!----------! */
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      ZT[0] = mulcomplexe(ZAST,ZA);
+      for(I = 1; I<N1; I++)
+      {
+         ZT[I]=mulcomplexe(ZT[I-1], ZA); /*ZT(I) = ZT(I-1)*ZA*/
+      }
+      for(I = 0; I<N1; I++)
+      {
+         ZTF[I]=muldoublcomplexe(TW[I], mulcomplexe(ZTA[I], ZT[I])); /*ZTF(I) = ZTA(I)*TW(I)*ZT(I)*/
+      }
+      ZT1= divcomplexe(ZT[N1-1], ZAST); /*ZT1 = ZT(N1-1)/ZAST*/
+      ZINC= cmplx(1E0,0E0);
+      INC =0;
+      NT = (N+1)/N1;  
+      for(IT = 2;IT<= NT; IT++)
+      {
+         ZINC=mulcomplexe(ZINC,ZT1); /*ZINC = ZINC*ZT1*/
+         INC += N1; /*INC  = INC + N1*/
+         for(I = 0; I< N1;I++)
+         {
+            /*ZTF(INC +I) = ZTA(INC+I)*TW(INC+I)*ZT(I)*ZINC*/
+            ZTF[INC +I] = muldoublcomplexe(TW[INC+I], mulcomplexe(mulcomplexe(ZTA[INC+I], ZT[I]),ZINC));
+         }
+      }
+      ZINC = mulcomplexe(ZINC, ZT1); /*ZINC = ZINC*ZT1*/
+      INC += N1; /*INC  = INC + N1*/
+      NX = N+1-NT*N1;
+      for(I = 0; I< NX; I++)
+      {
+          /*  ZTF(INC +I) = ZTA(INC+I)*TW(INC+I)*ZT(I)*ZINC*/
+       ZTF[INC +I] = muldoublcomplexe(TW[INC+I], mulcomplexe(mulcomplexe(ZTA[INC+I], ZT[I]),ZINC));
+      }
+#else /*remplacee par:*/
+      ZT[0] = i_compl_mul(ZAST,ZA);
+      for(I = 1, pzarZT=ZT+1; I<N1; I++, pzarZT++)
+      {
+         *pzarZT=i_compl_mul(*(pzarZT-1), ZA); /*ZT(I) = ZT(I-1)*ZA*/
+      }
+      for(I = 0; I<N1; I++)
+      {
+         ZTF[I]=i_compl_muldoubl(TW[I], i_compl_mul(ZTA[I], ZT[I])); /*ZTF(I) = ZTA(I)*TW(I)*ZT(I)*/
+      }
+      ZT1= i_compl_div(ZT[N1-1], ZAST); /*ZT1 = ZT(N1-1)/ZAST*/
+      i_compl_cmplx(&ZINC,1E0,0E0);
+      INC =0;
+      NT = (N+1)/N1;  
+      for(IT = 2;IT<= NT; IT++)
+      {
+         i_compl_pmul(&ZINC,&ZT1); /*ZINC = ZINC*ZT1*/
+         INC += N1; /*INC  = INC + N1*/
+         for(I = 0; I< N1;I++)
+         {
+            /*ZTF(INC +I) = ZTA(INC+I)*TW(INC+I)*ZT(I)*ZINC*/
+            ZTF[INC +I] = i_compl_muldoubl(TW[INC+I], i_compl_mul(i_compl_mul(ZTA[INC+I], ZT[I]),ZINC));
+         }
+      }
+      i_compl_pmul(&ZINC,&ZT1); /*ZINC = ZINC*ZT1*/
+      INC += N1; /*INC  = INC + N1*/
+      NX = N+1-NT*N1;
+      for(I = 0; I< NX; I++)
+      {
+          /*  ZTF(INC +I) = ZTA(INC+I)*TW(INC+I)*ZT(I)*ZINC*/
+       ZTF[INC +I] = i_compl_muldoubl(TW[INC+I], i_compl_mul(i_compl_mul(ZTA[INC+I], ZT[I]),ZINC));
+      }
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+      SYSFREE(ZT);
+}/*      END SUBROUTINE ZTPOW2*/
+
+/*      SUBROUTINE INIWIN*/
+/*v0.96 M. GASTINEAU 18/12/98 : modification du prototype */
+/*void naf_iniwin()*//*remplacee par: */
+void naf_iniwin(double *p_pardTWIN)
+/*v0.96 M. GASTINEAU 18/12/98 : fin modification */
+{
+/*!******************************************************************
+!     INITIALISE LE TABLEAU TWIN POUR UTILISATION D'UNE FENETRE
+!     DANS L'ANALYSE DE FOURIER.
+!     FENETRE DE HANNING:
+!      PHI(T) = (1+COS(PI*T))
+!     MODif LE 13/12/90 (J. LASKAR)
+!     MODif LE 27/1/96 FOR VARIOUS WINDOWS  (J. LASKAR)
+!
+!     WORKING AREA TWIN(*) SHOULD BE GIVEN IN 
+!
+!     IW IS THE WINDOW FLAG
+!     IW = 0 : NO WINDOW
+!     IW = N > 0   PHI(T) = CN*(1+COS(PI*T))**N
+!                  WITH CN = 2^N*(N!)^2/(2N)!
+!     IW = -1  EXPONENTIAL WINDOW PHI(T) = 1/CE*EXP(-1/(1-T^2))
+!
+!     MODif LE 22/4/98 POUR CALCUL EN PLUS DE L'EPSILON MACHINE 
+!     g_NAFVariable.EPSM 
+!      26/5/98 CORRECTION DE L'ORIGINE DES TABLEAUX (*m/4)
+!******************************************************************
+!
+       
+      IMPLICIT NONE
+!
+      integer :: I,IT           
+      REAL (8) :: CE,T1,T2,TM,T,CN,PIST
+!
+!---------------------------------------------------------------- */
+      int I, IT;
+      double CE,T1,T2,TM,T,CN,PIST;
+      
+      CE= 0.22199690808403971891E0;
+/*!
+!      PI=ATAN2(1.D0,0.E0)*2.E0*/
+      T1=g_NAFVariable.T0;
+      T2=g_NAFVariable.T0+g_NAFVariable.KTABS*g_NAFVariable.XH;
+      TM=(T2-T1)/2;
+      PIST=pi/TM;
+      if (g_NAFVariable.IW==0)
+      {
+         for(IT=0;IT<=g_NAFVariable.KTABS;IT++)
+         {
+           /*v0.96 M. GASTINEAU 18/12/98 : modification */
+           /* TWIN[IT]=1.E0; *//*remplacee par:*/
+           p_pardTWIN[IT]=1.E0;           
+           /*v0.96 M. GASTINEAU 18/12/98 : fin modification */
+         }
+      }
+      else if(g_NAFVariable.IW>=0)
+       {
+         CN = 1.E0;
+         for(I = 1;I<=g_NAFVariable.IW;I++)
+         {
+            CN *= I*(2.E0/((double)(g_NAFVariable.IW+I))); /*CN = CN*2.D0*I*1.D0/(g_NAFVariable.IW+I)*/
+         };       
+         for(IT=0;IT<=g_NAFVariable.KTABS;IT++)
+         {
+            T=IT*g_NAFVariable.XH-TM;
+           /*v0.96 M. GASTINEAU 18/12/98 : modification */
+            /*TWIN[IT]=CN*pow((1.E0+cos(T*PIST)),g_NAFVariable.IW);*/
+            /*remplacee par:*/
+            p_pardTWIN[IT]=CN*pow((1.E0+cos(T*PIST)),g_NAFVariable.IW);
+           /*v0.96 M. GASTINEAU 18/12/98 : fin modification */
+         }
+      }
+      else if(g_NAFVariable.IW==-1)
+       {
+         /*v0.96 M. GASTINEAU 18/12/98 : modification */
+        /* TWIN[0] =0.E0;
+         TWIN[g_NAFVariable.KTABS] =0.E0;*/
+         /*remplacee par:*/
+         p_pardTWIN[0] =0.E0;
+         p_pardTWIN[g_NAFVariable.KTABS] =0.E0;
+         /*v0.96 M. GASTINEAU 18/12/98 : fin modification */
+         for(IT=1; IT<=g_NAFVariable.KTABS-1; IT++)
+         {
+            T=(IT*g_NAFVariable.XH-TM)/TM;
+            /*v0.96 M. GASTINEAU 18/12/98 : modification */
+            /* TWIN[IT]= exp(-1.E0/(1.E0-T*T))/CE;*/
+            /*remplacee par:*/
+            p_pardTWIN[IT]= exp(-1.E0/(1.E0-T*T))/CE;
+            /*v0.96 M. GASTINEAU 18/12/98 : fin modification */
+         }
+      }
+      if (g_NAFVariable.IPRT==1)
+      {
+/*!----------------   IMPRESSION TEMOIN*/
+         for(IT=0; IT<=g_NAFVariable.KTABS; (g_NAFVariable.KTABS>20?IT+=g_NAFVariable.KTABS/20:IT++))
+         {
+            /*v0.96 M. GASTINEAU 18/12/98 : modification */
+            /*fprintf(g_NAFVariable.NFPRT,"%20.3E\n", TWIN[IT]*1.E6);*/
+            /*remplacee par:*/
+            fprintf(g_NAFVariable.NFPRT,"%20.3E\n", p_pardTWIN[IT]*1.E6);
+            /*v0.96 M. GASTINEAU 18/12/98 : fin modification */
+         }
+      }
+}/*      END SUBROUTINE INIWIN*/
+
+/*      SUBROUTINE ZARDYD(ZT,N,H,ZOM)*/
+BOOL naf_zardyd(t_complexe *ZT, int N, double H, t_complexe *ZOM)
+{
+/*!***********************************************************************
+!     CALCULE L'INTEGRALE D'UNE FONCTION TATULEE PAR LA METHODE DE HARDY
+!      T(N) TABLEAU DOUBLE PRECISION DES VALEURS DE LA FONCTION
+!      N = 6*K  ENTIER
+!      H PAS ENTRE DEUX VALEURS
+!      SOM VALEUR DE L'INTEGRALE SUR L'INTERVALLE [X1,XN]
+!      LE PROGRAMME EST EN DOUBLE PRECISION
+!               REVU LE 26/9/87 J. LASKAR
+!      
+!************************************************************************
+      IMPLICIT NONE
+!  (ZT,N,H,ZOM)
+      integer :: N
+      complex (8) :: ZT(0:N),ZOM
+      REAL (8) :: H
+!
+      integer :: ITEST,K,I 
+!               */
+      int ITEST, K, I;
+/* v0.96 M. GASTINEAU 13/01/99 : optimisation */
+#if NAF_USE_OPTIMIZE==0
+      int INC;
+#else /*NAF_USE_OPTIMIZE*/
+      double zomreel, zomimag;
+      double zomreeltemp, zomimagtemp;
+      double *pdZT=(double*)(ZT);
+#endif /*NAF_USE_OPTIMIZE*/
+/* v0.96 M. GASTINEAU 13/01/99 : fin optimisation */
+
+      ITEST=N%6; /*ITEST=MOD(N,6);*/
+      if (ITEST!=0)
+      {
+         Myyerror("naf_zradyd - N N'EST PAS UN MULTIPLE DE 6\n");
+         return FALSE;
+      }
+      K=N/6;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      /*ZOM=41*ZT(1)+216*ZT(2)+27*ZT(3)+272*ZT(4)
+     $          +27*ZT(5)+216*ZT(6)+41*ZT(N)*/
+      *ZOM = addcomplexe(
+             addcomplexe(
+                addcomplexe( muldoublcomplexe(41,ZT[0]),  muldoublcomplexe(216,ZT[1]) )
+                , addcomplexe( muldoublcomplexe(27,ZT[2]),  muldoublcomplexe(272,ZT[3]) ) )
+             , addcomplexe(              
+                addcomplexe( muldoublcomplexe(27,ZT[4]),  muldoublcomplexe(216,ZT[5]) )
+                , muldoublcomplexe(41,ZT[N]) )
+              );
+      INC=0;
+      for(I=1; I<=K-1; I++)
+      {
+/*         ZOM=ZOM+82*ZT(6*I+1)+216*ZT(6*I+2)+27*ZT(6*I+3)+272*ZT(6*I+4)
+     $           +27*ZT(6*I+5)+216*ZT(6*I+6)*/
+       INC +=6;
+       *ZOM = addcomplexe(
+             addcomplexe(
+                addcomplexe( muldoublcomplexe(82,ZT[INC]),  muldoublcomplexe(216,ZT[INC+1]) )
+                , addcomplexe( muldoublcomplexe(27,ZT[INC+2]),  muldoublcomplexe(272,ZT[INC+3]) ) )
+             , addcomplexe(              
+                addcomplexe( muldoublcomplexe(27,ZT[INC+4]),  muldoublcomplexe(216,ZT[INC+5]) )
+                , *ZOM )
+              );
+      }
+      *ZOM= muldoublcomplexe(H*6.E0/840.E0, *ZOM); /*ZOM =ZOM*H*6.D0/840.D0*/
+#else /*remplacee par:*/
+     /* v0.96 M. GASTINEAU 13/01/99 : optimisation */
+#if 0
+      /*ZOM=41*ZT(1)+216*ZT(2)+27*ZT(3)+272*ZT(4)
+     $          +27*ZT(5)+216*ZT(6)+41*ZT(N)*/
+      *ZOM = i_compl_add(
+             i_compl_add(
+                i_compl_add( i_compl_muldoubl(41,ZT[0]),  i_compl_muldoubl(216,ZT[1]) )
+                , i_compl_add( i_compl_muldoubl(27,ZT[2]),  i_compl_muldoubl(272,ZT[3]) ) )
+             , i_compl_add(              
+                i_compl_add( i_compl_muldoubl(27,ZT[4]),  i_compl_muldoubl(216,ZT[5]) )
+                , i_compl_muldoubl(41,ZT[N]) )
+              );
+      INC=0;
+      for(I=1; I<=K-1; I++)
+      {
+/*         ZOM=ZOM+82*ZT(6*I+1)+216*ZT(6*I+2)+27*ZT(6*I+3)+272*ZT(6*I+4)
+     $           +27*ZT(6*I+5)+216*ZT(6*I+6)*/
+       INC +=6;
+       *ZOM = i_compl_add(
+             i_compl_add(
+                i_compl_add( i_compl_muldoubl(82,ZT[INC]),  i_compl_muldoubl(216,ZT[INC+1]) )
+                , i_compl_add( i_compl_muldoubl(27,ZT[INC+2]),  i_compl_muldoubl(272,ZT[INC+3]) ) )
+             , i_compl_add(              
+                i_compl_add( i_compl_muldoubl(27,ZT[INC+4]),  i_compl_muldoubl(216,ZT[INC+5]) )
+                , *ZOM )
+              );
+      }
+      *ZOM= i_compl_muldoubl(H*6.E0/840.E0, *ZOM); /*ZOM =ZOM*H*6.D0/840.D0*/
+#endif /*0*/ /*remplacee par:*/
+     /*ZOM=41*ZT(1)+216*ZT(2)+27*ZT(3)+272*ZT(4)
+     $          +27*ZT(5)+216*ZT(6)+41*ZT(N)*/
+      zomreel=41 * ( *pdZT++); zomimag=41 * ( *pdZT++);
+      zomreel+=216 * ( *pdZT++); zomimag+=216 * ( *pdZT++);
+      zomreel+=27 * ( *pdZT++); zomimag+=27 * ( *pdZT++);
+      zomreel+=272 * ( *pdZT++); zomimag+=272 * ( *pdZT++);
+      zomreel+=27 * ( *pdZT++); zomimag+=27 * ( *pdZT++);
+      zomreel+=216 * ( *pdZT++); zomimag+=216 * ( *pdZT++);
+      zomreel+=41 * ( ZT[N].reel); zomimag+=41 * ( ZT[N].imag);
+
+      for(I=1; I<=K-1; I++)
+      {
+/*         ZOM=ZOM+82*ZT(6*I+1)+216*ZT(6*I+2)+27*ZT(6*I+3)+272*ZT(6*I+4)
+     $           +27*ZT(6*I+5)+216*ZT(6*I+6)*/
+       zomreeltemp=82 * ( *pdZT++); zomimagtemp=82 * ( *pdZT++);
+       zomreeltemp+=216 * ( *pdZT++); zomimagtemp+=216 * ( *pdZT++);
+       zomreeltemp+=27 * ( *pdZT++); zomimagtemp+=27 * ( *pdZT++);
+       zomreeltemp+=272 * ( *pdZT++); zomimagtemp+=272 * ( *pdZT++);
+       zomreeltemp+=27 * ( *pdZT++); zomimagtemp+=27 * ( *pdZT++);
+       zomreeltemp+=216 * ( *pdZT++); zomimagtemp+=216 * ( *pdZT++);
+       zomreel += zomreeltemp; zomimag += zomimagtemp;
+      }
+      ZOM->reel = H*6.E0/840.E0*zomreel;
+      ZOM->imag = H*6.E0/840.E0*zomimag;
+     /* v0.96 M. GASTINEAU 13/01/99 : fin d'optimisation */
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+  return TRUE;
+}/*      END SUBROUTINE ZARDYD*/
+
+
+/*      SUBROUTINE PROSCAA(F1,F2,ZP)*/
+BOOL naf_proscaa(double F1, double F2, t_complexe *ZP)
+{
+/*!-----------------------------------------------------------------------
+!     PROSCAA   CALCULE LE PRODUIT SCALAIRE 
+!           < EXP(I*F1*T),  EXP(I*F2*T)>
+!               SUR L'INTERVALLE [0:g_NAFVariable.KTABS]  T=g_NAFVariable.T0+g_NAFVariable.XH*IT
+!              CALCUL NUMERIQUE
+!     ZP        PRODUIT SCALAIRE COMPLEXE
+!     F1,F2     FREQUENCES EN "/AN
+!               REVU LE 26/9/87 J. LASKAR
+!-----------------------------------------------------------------------
+      
+      IMPLICIT NONE
+! (g_NAFVariable.KTABS,F1,F2,ZP)
+      REAL (8) :: F1,F2
+      complex (8) :: ZP
+!
+      integer :: LTF
+      real *8 :: OM,ANG0,ANGI,H
+      complex (8) :: ZI,ZAC,ZINC,ZEX
+      complex (8), dimension (:),allocatable :: ZTF
+      
+!*/
+      int LTF;
+      double OM,ANG0,ANGI,H;
+      t_complexe ZI,ZAC,ZINC,ZEX;
+      t_complexe *ZTF=NULL;
+      
+      SYSCHECKMALLOCSIZE(ZTF, t_complexe, g_NAFVariable.KTABS+1); /*allocate(ZTF(0:g_NAFVariable.KTABS),stat = nerror)*/
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      ZI=cmplx(0.E0,1.E0);
+/*!----------! FREQUENCES EN UNITE D'ANGLE PAR UNITE DE TEMPS*/
+      OM = (F1-F2)/g_NAFVariable.UNIANG;
+      LTF=g_NAFVariable.KTABS;
+      ANG0=OM*g_NAFVariable.T0;
+      ANGI=OM*g_NAFVariable.XH;
+      ZAC= expcomplexe(muldoublcomplexe(-ANG0, ZI)); /*ZAC = EXP (-ZI*ANG0)*/
+      ZINC=expcomplexe(muldoublcomplexe(-ANGI, ZI)); /*ZINC= EXP (-ZI*ANGI)*/
+      ZEX= divcomplexe(ZAC, ZINC); /*ZEX = ZAC/ZINC*/      
+      naf_ztpow2a(g_NAFVariable.KTABS,64,ZTF,TWIN,ZINC,ZEX);/*CALL  ZTPOW2A(g_NAFVariable.KTABS+1,64,ZTF,TWIN,ZINC,ZEX)*/
+#else/*remplacee par:*/
+      i_compl_cmplx(&ZI,0.E0,1.E0);
+/*!----------! FREQUENCES EN UNITE D'ANGLE PAR UNITE DE TEMPS*/
+      OM = (F1-F2)/g_NAFVariable.UNIANG;
+      LTF=g_NAFVariable.KTABS;
+      ANG0=OM*g_NAFVariable.T0;
+      ANGI=OM*g_NAFVariable.XH;
+      ZAC= i_compl_exp(i_compl_muldoubl(-ANG0, ZI)); /*ZAC = EXP (-ZI*ANG0)*/
+      ZINC=i_compl_exp(i_compl_muldoubl(-ANGI, ZI)); /*ZINC= EXP (-ZI*ANGI)*/
+      ZEX= i_compl_div(ZAC, ZINC); /*ZEX = ZAC/ZINC*/      
+      naf_ztpow2a(g_NAFVariable.KTABS,64,ZTF,TWIN,ZINC,ZEX);/*CALL  ZTPOW2A(g_NAFVariable.KTABS+1,64,ZTF,TWIN,ZINC,ZEX)*/
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+
+/*!------------------ TAILLE DU PAS*/
+      H=1.E0/LTF;
+      /*CALL ZARDYD(ZTF,LTF+1,H,ZP)*/
+      if (naf_zardyd(ZTF,LTF,H,ZP)==FALSE)
+      { 
+       SYSFREE(ZTF);
+       return FALSE;
+      }
+      SYSFREE(ZTF);
+      return TRUE; 
+}/*      END SUBROUTINE PROSCAA*/
+
+/*      SUBROUTINE ZTPOW2A (N,N1,ZTF,TW,ZA,ZAST)*/
+void naf_ztpow2a(int N, int N1, t_complexe *ZTF, double *TW, t_complexe ZA, t_complexe ZAST)
+{
+/*!-----------------------------------------------------------------------
+!     ZTPOW   CALCULE  ZTF(I) = TW(I)*ZAST*ZA**I EN VECTORIEL
+!             ZT(N1) ZONE DE TRAVAIL
+!-----------------------------------------------------------------------
+      IMPLICIT NONE
+!  (N,N1,ZT,ZTF,TW,ZA,ZAST)
+      integer :: N,N1
+      real *8 :: TW(0:N)
+      complex (8) :: ZTF(0:N),ZA,ZAST
+!
+      integer :: I,INC,IT, NX,NT
+      complex (8) :: ZT1,ZINC     
+      complex (8), dimension (:),allocatable :: ZT
+!      */
+      int I,INC,IT, NX,NT;
+      t_complexe ZT1,ZINC;
+      t_complexe *ZT=NULL;
+      
+      SYSCHECKMALLOCSIZE(ZT, t_complexe, N1); /*allocate(ZT(0:N1-1),stat = nerror)*/
+      if (N<N1-1)
+      {
+         fprintf(stdout,"DANS ZTPOW, N = %d\n",N);
+         return;
+      }
+/*!----------! */
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+      ZT[0] = mulcomplexe(ZAST,ZA);
+      for(I = 1; I<N1; I++)
+      {
+         ZT[I] = mulcomplexe(ZT[I-1],ZA);
+      }
+      for(I = 0;I<N1; I++)
+      {
+         ZTF[I] = muldoublcomplexe(TW[I],ZT[I]);
+      }
+      ZT1 = divcomplexe(ZT[N1-1],ZAST); /*ZT1 = ZT(N1-1)/ZAST*/
+      ZINC= cmplx(1E0,0E0);
+      INC =0;
+      NT = (N+1)/N1  ;
+      for(IT = 2;IT<= NT; IT++)
+      {
+         ZINC=mulcomplexe(ZINC, ZT1); /*ZINC = ZINC*ZT1*/
+         INC += N1; /*INC  = INC + N1*/
+         for(I = 0; I<N1; I++)
+         {
+            ZTF[INC +I] = muldoublcomplexe(TW[INC+I],mulcomplexe(ZT[I],ZINC));/*ZTF(INC +I) = TW(INC+I)*ZT(I)*ZINC*/
+            
+         }
+      }
+      ZINC=mulcomplexe(ZINC, ZT1); /*ZINC = ZINC*ZT1*/
+      INC += N1; /*INC  = INC + N1*/
+      NX = N+1-NT*N1;
+      for(I = 0;I< NX; I++)
+      {
+            ZTF[INC +I] = muldoublcomplexe(TW[INC+I],mulcomplexe(ZT[I],ZINC));/*ZTF(INC +I) = TW(INC+I)*ZT(I)*ZINC*/
+      }
+#else /*remplacee par:*/
+      ZT[0] = i_compl_mul(ZAST,ZA);
+      for(I = 1; I<N1; I++)
+      {
+         ZT[I] = i_compl_mul(ZT[I-1],ZA);
+      }
+      for(I = 0;I<N1; I++)
+      {
+         ZTF[I] = i_compl_muldoubl(TW[I],ZT[I]);
+      }
+      ZT1 = i_compl_div(ZT[N1-1],ZAST); /*ZT1 = ZT(N1-1)/ZAST*/
+      i_compl_cmplx(&ZINC,1E0,0E0);
+      INC =0;
+      NT = (N+1)/N1  ;
+      for(IT = 2;IT<= NT; IT++)
+      {
+         i_compl_pmul(&ZINC,&ZT1); /*ZINC = ZINC*ZT1*/
+         INC += N1; /*INC  = INC + N1*/
+         for(I = 0; I<N1; I++)
+         {
+            ZTF[INC +I] = i_compl_muldoubl(TW[INC+I],i_compl_mul(ZT[I],ZINC));/*ZTF(INC +I) = TW(INC+I)*ZT(I)*ZINC*/
+            
+         }
+      }
+      i_compl_pmul(&ZINC,&ZT1); /*ZINC = ZINC*ZT1*/
+      INC += N1; /*INC  = INC + N1*/
+      NX = N+1-NT*N1;
+      for(I = 0;I< NX; I++)
+      {
+            ZTF[INC +I] = i_compl_muldoubl(TW[INC+I],i_compl_mul(ZT[I],ZINC));/*ZTF(INC +I) = TW(INC+I)*ZT(I)*ZINC*/
+      }
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+      SYSFREE(ZT);
+}/*      END SUBROUTINE ZTPOW2A*/
+
+/*      SUBROUTINE CORRECTION(FREQ)*/
+void naf_correction(double *FREQ)
+{
+/*!------------------------------------------------------------------
+!   RETOURNE LA PREMIERE FREQUENCE (FREQ) CORRIGE PAR LES SUIVANTES
+!
+!  F. Joutel 26/5/98
+!  Ref : J. Laskar : Introduction to frequency map analysis
+!------------------------------------------------------------------
+       
+      IMPLICIT NONE
+! (FREQ)
+      real *8 :: FREQ
+!
+      integer :: I           
+      real *8 :: TL,TM2,PICARRE,TM,FAC,A,COR,OMEGA,DELTA
+      complex (8) :: ZI,ZALPHA
+!      
+!      PI = ATAN2(1.D0,1.D0)*4.D0*/
+      int I;
+      double TL,TM2,PICARRE,TM,FACTEUR,A,COR,OMEGA,DELTA;
+      t_complexe ZI,ZALPHA;
+      
+      TL=g_NAFVariable.KTABS*g_NAFVariable.XH*0.5E0;
+      TM2=1.E0/(TL*TL);
+      PICARRE=pi*pi;
+/*!  g_NAFVariable.IW >= 1*/
+      TM=g_NAFVariable.T0+TL;
+      i_compl_cmplx(&ZI,0.E0,1.E0);
+      if (g_NAFVariable.IW>=0)
+      {
+         FACTEUR = -TM2;
+         A=-1.E0/3.E0;
+         for(I=1;I<=g_NAFVariable.IW;I++)
+         {
+            FACTEUR *= -PICARRE*TM2*(I*I);  /*FACTEUR=-FACTEUR*PICARRE*TM2*(I**2)*/
+            A+=2.E0/(PICARRE*I*I); /*A=A+2.D0/(PICARRE*I**2) */
+         }
+         FACTEUR /=A; /*FACTEUR = FACTEUR/A*/
+         COR=0.E0;
+         for(I=2;I<=g_NAFVariable.NFS;I++)
+         {
+          OMEGA=(g_NAFVariable.TFS[I]-g_NAFVariable.TFS[1])/g_NAFVariable.UNIANG;
+/* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes inlines et optimisation */
+#if NAF_USE_OPTIMIZE==0
+          ZALPHA = mulcomplexe(divcomplexe(g_NAFVariable.ZAMP[I],g_NAFVariable.ZAMP[1]), expcomplexe(muldoublcomplexe(OMEGA*TM,ZI))); /*ZALPHA=g_NAFVariable.ZAMP[I]/g_NAFVariable.ZAMP[1]*EXP(ZI*OMEGA*TM)*/
+#else /*remplacee par:*/
+          ZALPHA = i_compl_mul(i_compl_div(g_NAFVariable.ZAMP[I],g_NAFVariable.ZAMP[1]), 
+                               i_compl_exp(i_compl_muldoubl(OMEGA*TM,ZI))); 
+          /*ZALPHA=g_NAFVariable.ZAMP[I]/g_NAFVariable.ZAMP[1]*EXP(ZI*OMEGA*TM)*/
+#endif /*NAF_USE_OPTIMIZE==0*/
+/* v0.96 M. GASTINEAU 01/12/98 : fin optimisation */
+          DELTA=FACTEUR*ZALPHA.reel/(pow(OMEGA,(2*g_NAFVariable.IW+1)))*cos(OMEGA*TL); /*DELTA=FACTEUR*DREAL(ZALPHA)/OMEGA**(2*g_NAFVariable.IW+1)*COS(OMEGA*TL)*/
+          COR += DELTA; /*COR=COR+DELTA*/
+          if (g_NAFVariable.IPRT>=2)
+          {
+             fprintf(g_NAFVariable.NFPRT,"OMEGA=%g, DELTA=%g ,COR=%g\n",OMEGA,DELTA,COR);
+          }
+         }
+         COR *= g_NAFVariable.UNIANG; /*COR=COR*g_NAFVariable.UNIANG*/
+         *FREQ=g_NAFVariable.TFS[1]+COR;
+         if (g_NAFVariable.IPRT>=1)
+         {
+           fprintf(g_NAFVariable.NFPRT,"CORRECTION DE LA 1ERE FREQUENCE\n");  
+           fprintf(g_NAFVariable.NFPRT, "FREQ. DE DEPART=%20.15E, CORRECTION=%20.15E\n",g_NAFVariable.TFS[1],COR);
+           fprintf(g_NAFVariable.NFPRT, "FREQUENCE CORRIGEE:%20.15E\n", *FREQ);
+         }
+      } 
+      else 
+      {
+          if (g_NAFVariable.IPRT>=0) 
+          {
+             fprintf(g_NAFVariable.NFPRT, "PAS DE CALCUL\n");
+          }
+      }
+}/*      END SUBROUTINE CORRECTION*/
+      
+/*      end module naff
+*/
+/*-----------------------------------------------------------*/
+/* cree et retourneun element de liste de fenetre pour naf.  */
+/* Les champs sont remplis avec les arguments de la fonction.*/
+/* L'element retourne doit etre libere avec                  */
+/* delete_list_fenetre_naf.                                  */
+/*-----------------------------------------------------------*/
+/* v0.96 M. GASTINEAU 18/12/98 : ajout */
+t_list_fenetre_naf *cree_list_fenetre_naf(const double p_dFreqMin, const double p_dFreqMax, 
+                                          const int p_iNbTerm)
+{
+ t_list_fenetre_naf *pListRes;
+#ifdef DBUG
+ if (niveau>=4) 
+ {
+  printf("cree_list_fenetre_naf(%g, %g, %d) - entree \n",
+          p_dFreqMin, p_dFreqMax, p_iNbTerm);
+ }
+#endif /*DBUG*/
+ SYSCHECKMALLOC(pListRes, t_list_fenetre_naf);
+ pListRes->suivant = NULL;
+ pListRes->dFreqMin = p_dFreqMin;
+ pListRes->dFreqMax = p_dFreqMax;
+ pListRes->iNbTerme = p_iNbTerm;
+#ifdef DBUG
+ if (niveau>=4) 
+ {
+  printf("cree_list_fenetre_naf() - sortie et retourne 0x%p \n",pListRes);
+ }
+#endif /*DBUG*/
+ return pListRes;
+}
+
+/*-----------------------------------------------------------*/
+/*Detruit une liste cree avec cree_list_fenetre_naf.         */
+/* En sortie, p_pListFenNaf pointe vers une adresse invalide.*/
+/*-----------------------------------------------------------*/
+/* v0.96 M. GASTINEAU 18/12/98 : ajout */
+void delete_list_fenetre_naf(t_list_fenetre_naf *p_pListFenNaf)
+{
+#ifdef DBUG
+ if (niveau>=4) 
+  printf("delete_list_fenetre_naf(0x%p) - entree \n",p_pListFenNaf);
+#endif /*DBUG*/
+ while(p_pListFenNaf!=NULL)
+ {
+  t_list_fenetre_naf *next=p_pListFenNaf->suivant;
+  SYSFREE(p_pListFenNaf);
+  p_pListFenNaf=next;
+ }
+
+#ifdef DBUG
+ if (niveau>=4) 
+  printf("delete_list_fenetre_naf() - sortie \n");
+#endif /*DBUG*/ 
+}
+
+/*-----------------------------------------------------------*/
+/* Concatene 2 listes de fenetre de naf.                     */
+/* En sortie, p_pListFenHead et p_pListFenEnd ne doivent pas */
+/* etre liberee. Seul la liste retournee doit etre liberee.  */
+/* Les deux parametres peuvent etre NULL.                    */
+/*-----------------------------------------------------------*/
+/* v0.96 M. GASTINEAU 18/12/98 : ajout */
+t_list_fenetre_naf *concat_list_fenetre_naf(t_list_fenetre_naf *p_pListFenHead,
+                                            t_list_fenetre_naf *p_pListFenEnd)
+{
+ t_list_fenetre_naf *pListTemp;
+#ifdef DBUG
+ if (niveau>=4) 
+  printf("concat_list_fenetre_naf(0x%p, 0x%p) - entree \n",p_pListFenHead,p_pListFenEnd);
+#endif /*DBUG*/
+ if (p_pListFenHead==NULL)
+ {
+  return p_pListFenEnd;
+ }
+ else if (p_pListFenEnd==NULL)
+ {
+  return p_pListFenHead;
+ }
+ else
+ { /* p_pListFenHead is not NULL */
+  for(pListTemp=p_pListFenHead; 
+      pListTemp->suivant!=NULL;
+      pListTemp = pListTemp->suivant)
+      { /*do nothing */}
+  /*concatene */
+  pListTemp->suivant = p_pListFenEnd;
+  return p_pListFenHead;
+ }
+}
+
Index: /trunk/machine/SOLEIL/common/naff/nafflib/modnaff.h
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/modnaff.h	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/modnaff.h	(revision 17)
@@ -0,0 +1,119 @@
+#include <stdio.h>
+/*#include <malloc.h>*/
+#include <math.h>
+#include <float.h>
+#include <stdlib.h>
+
+/*--------*/
+/* define */
+/*--------*/
+#define BOOL int
+#define FALSE 0
+#define TRUE  1
+#define Myyerror printf
+#define MAX(x,y) ((x)<(y)?(y):(x))
+
+
+/*#ifdef FUNCINLINEEXTERN_MUSTBEINLIB*/
+#define INLINE_EXTERN static inline
+/*#else 
+#define INLINE_EXTERN inline extern
+#endif *//*FUNCINLINEEXTERN_MUSTBEINLIB*/
+
+ 
+/*---------------------*/
+/*routine d'allocation */
+/*---------------------*/
+#define SYSCHECKMALLOCSIZE(variable, type, size) \
+  if ((variable=(type*)malloc(sizeof(type)*(size)))==NULL)\
+  { printf("error : malloc failed!\n"); exit(1);}
+
+#define SYSCHECKMALLOC(variable, type) \
+  if ((variable=(type*)malloc(sizeof(type)))==NULL)\
+  { printf("error : malloc failed!\n"); exit(1);}
+
+#define DIM2(prow,row,col,type,l) \
+  {\
+  register type *pdata;\
+  int I;\
+  SYSCHECKMALLOCSIZE(pdata, type,(row) * (col));\
+  SYSCHECKMALLOCSIZE(prow, type *,(row));\
+  for (I = 0; I < (row); I++)\
+     {\
+     prow[I] = pdata;\
+     pdata += col;\
+     }\
+  }
+
+#define SYSFREE(variable) free(variable)
+#define HFREE2(variable) {SYSFREE(*variable); SYSFREE(variable);}
+
+/*---------*/
+/*structure*/
+/*--------*/
+struct complexe {
+                double reel,imag;
+                };
+typedef struct complexe t_complexe;
+
+/* v0.96 M. GASTINEAU 18/12/98 : ajout */
+/*liste des frequences pour NAF */
+struct list_fenetre_naf
+{
+ double                   dFreqMin; /* frequence minimale */
+ double                   dFreqMax; /* frequence maximale */
+ int                      iNbTerme; /* nombre de termes a rechercher */
+ struct list_fenetre_naf *suivant; /*fenetre suivante */
+};
+/* v0.96 M. GASTINEAU 18/12/98 : fin ajout */
+
+typedef struct list_fenetre_naf t_list_fenetre_naf; /* v0.96 M. GASTINEAU 18/12/98 : ajout */   
+
+/*v0.96 M. GASTINEAU 04/09/98 : ajout pour la gestion de naf */
+/* pour le role de ces champs, cf. modnaff.c */
+struct stnaf 
+{
+ /*champ utilise par modnaff.c */
+ FILE *NFPRT;
+ double EPSM; 
+ int NTERM,KTABS,NFS;
+ int ICPLX,IW,ISEC;
+ int NERROR,IPRT;
+
+ double *TFS;
+ t_complexe *ZAMP;
+ t_complexe **ZALP; /*tableau a deux dimensions*/
+ t_complexe *ZTABS;
+
+ double DTOUR,UNIANG,FREFON;
+ double XH,T0;
+ 
+ /*autre champ utilise en tant que flag */
+ double m_dneps; /*equivaut a DNEPS */
+ int m_iNbLineToIgnore; /*nombre de lignes a ignorer en debut du fichier des solutions */
+ BOOL m_bFSTAB; /*=TRUE => sauve le tableau ZTABS.*/
+ /* v0.96 M. GASTINEAU 06/01/99 : ajout */
+ t_list_fenetre_naf *m_pListFen; /*liste des fenetres */
+ /* v0.96 M. GASTINEAU 06/01/99 : fin ajout */
+};
+
+typedef struct stnaf t_naf;
+/*v0.96 M. GASTINEAU 04/09/98 : fin ajout */
+
+
+/*-----------------*/
+/*variable globale */
+/*-----------------*/
+extern t_naf g_NAFVariable;
+extern double pi;
+
+
+/*-----------------*/
+/* public functions*/
+/*-----------------*/
+void naf_initnaf_notab();
+void naf_cleannaf_notab();
+void naf_initnaf();
+void naf_cleannaf();
+BOOL naf_mftnaf(int NBTERM, double EPS);
+void naf_prtabs(int KTABS, t_complexe *ZTABS, int IPAS);
Index: /trunk/machine/SOLEIL/common/naff/nafflib/naff_cc.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/naff_cc.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/naff_cc.m	(revision 17)
@@ -0,0 +1,41 @@
+function naff_cc
+% naff_cc - Compile nafflibrary for Matlab
+%
+
+% Modified by Laurent S. Nadolski
+% April 6th, 2007
+
+cd_old = pwd;
+cd(fileparts(which('naff_cc')))
+
+disp(['Compiling NAFF routines on ', computer,'.'])
+
+% Object files
+disp('Compiling: modnaff.c');
+mex LDFLAGS='-pthread -shared -m64' -I/usr/local/matlab/extern/include -O -c modnaff.c
+
+disp('Compiling: example.c');
+mex LDFLAGS='-pthread -shared -m64' -I/usr/local/matlab/extern/include -O -c complexe.c
+
+disp('Compiling: nafflib.c');
+
+internal_cc('nafflib.c modnaff.o complexe.o');
+
+cd(cd_old);
+
+function internal_cc(fn)
+% cc(filename)
+%
+% MAC 64 bits 
+% TODO WINDOWS
+
+disp(['Compiling: ',fn]);
+
+switch computer
+    case {'MACI64', 'GLNX86', 'GLNX64', 'PCWIN', 'PCWIN64'}
+        cmdstr = [ 'mex -I' matlabroot '/extern/include -O ', fn ];
+    otherwise
+        error('Architecture not defined')
+end
+disp(cmdstr);
+eval(cmdstr);
Index: /trunk/machine/SOLEIL/common/naff/nafflib/naff_example.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/naff_example.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/naff_example.m	(revision 17)
@@ -0,0 +1,19 @@
+function naff_example
+% Example to test naff within matlab
+
+NT = 9996; % divided by 6
+
+% simple quasiperiodic (even period) motion 
+y =2+0.1*cos(pi*(0:NT-1))+0.00125*cos(pi/3*(0:NT-1));
+yp=2+0.1*sin(pi*(0:NT-1))+0.00125*sin(pi/3*(0:NT-1));
+
+[nu ampl phase] = calcnaff(y,yp,1,'Debug'); % with windowing
+
+str = [
+'NFS = 3\n' ...
+'AMPL= 2.000000e+00+i* 2.000000e+00 abs(AMPL)= 2.828427e+00 arg(AMPL)= 7.853982e-01 FREQ= 3.904977e-17\n'...
+'AMPL= 1.000000e-01+i* 5.638068e-13 abs(AMPL)= 1.000000e-01 arg(AMPL)= 5.638068e-12 FREQ=-3.141593e+00\n' ...
+'AMPL= 1.250000e-03+i*-4.767346e-14 abs(AMPL)= 1.250000e-03 arg(AMPL)=-3.813877e-11 FREQ= 1.047198e+00\n' ...
+];
+fprintf('* one should get the following *\n');
+fprintf(str);
Index: /trunk/machine/SOLEIL/common/naff/nafflib/nafflib.c
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/nafflib.c	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/nafflib.c	(revision 17)
@@ -0,0 +1,275 @@
+/* Version modified by Laurent S. Nadolski - Synchrotron SOLEIL
+ * April 6th, 2007
+ * Modifications
+ * 1 - english comments added
+ * 2 - debug information display if fourth argument is 1
+ * 3 - optional outputs: amplitude and phase
+ *
+ * known NAFF bugs: data length has to be at least 64
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <math.h>
+#include "mex.h"
+#include "matrix.h"
+/* #include "gpfunc.h" */
+#include "modnaff.h"
+#include "complexe.h"
+/* #include <sys/ddi.h> */
+
+double pi = M_PI;
+
+/* Input Arguments */
+#define	Y_IN    prhs[0]
+#define	YP_IN   prhs[1]
+#define	WIN_IN  prhs[2]
+#define	NFREQ_IN  prhs[3]
+#define	DEBUG_IN  prhs[4]
+
+/* Output Arguments */
+#define	NU_OUT plhs[0]
+#define	AMPLITUDE_OUT plhs[1]
+#define	PHASE_OUT plhs[2]
+
+unsigned int call_naff(double *ydata, double *ypdata, int ndata, double  *nu_out,
+double *amplitude_out, double *phase_out, int win, int nfreq, int debug)
+{
+    int i, iCpt;
+    unsigned int numfreq;
+    
+    /* ndata is truncated to be a multiple of 6 if is not yet) */
+    ndata = 6*(int )(ndata/6.0);
+    
+    g_NAFVariable.DTOUR=2*pi;   /* size of a "cadran" */
+    g_NAFVariable.XH=1;         /* step */
+    g_NAFVariable.T0=0;         /* time t0 */
+    g_NAFVariable.NTERM=nfreq;     /* max term to find */
+    g_NAFVariable.KTABS=ndata;  /* number of data : must be a multiple of 6 */
+    g_NAFVariable.m_pListFen=NULL; /*no window*/
+    g_NAFVariable.TFS=NULL;    /* will contain frequency */
+    g_NAFVariable.ZAMP=NULL;   /* will contain amplitude */
+    g_NAFVariable.ZTABS=NULL;  /* will contain data to analyze */
+    
+ /*internal use in naf */
+    g_NAFVariable.NERROR=0;
+    g_NAFVariable.ICPLX=1;
+    g_NAFVariable.IPRT=-1; /*0*/
+    g_NAFVariable.NFPRT=stdout; /*NULL;*/
+    g_NAFVariable.NFS=0;
+    g_NAFVariable.IW=win;
+    g_NAFVariable.ISEC=1;
+    g_NAFVariable.EPSM=2.2204e-16;
+    g_NAFVariable.UNIANG=0;
+    g_NAFVariable.FREFON=0;
+    g_NAFVariable.ZALP=NULL;
+    g_NAFVariable.m_iNbLineToIgnore=1; /*unused*/
+    g_NAFVariable.m_dneps=1.E100;
+    g_NAFVariable.m_bFSTAB=FALSE; /*unused*/
+ /*end of internal use in naf */
+    
+    naf_initnaf();
+    
+ /*Transform initial data to complex data since algorithm is optimized for cx data*/
+    for(i=0;i<ndata;i++)
+    {
+        g_NAFVariable.ZTABS[i].reel = ydata[i];
+        g_NAFVariable.ZTABS[i].imag = ypdata[i];
+    }
+    
+    /*Frequency map analysis*/
+    /* look for at most nfreq first fundamental frequencies */
+    naf_mftnaf(nfreq,fabs(g_NAFVariable.FREFON)/g_NAFVariable.m_dneps);
+    
+   /* print out results */
+    
+    if (debug == 1)
+    {
+        mexPrintf("*** NAFF results ***\n");
+        mexPrintf("NFS = %d\n",g_NAFVariable.NFS);
+        
+        
+        for(iCpt=1;iCpt<=g_NAFVariable.NFS; iCpt++)
+        {
+            mexPrintf("AMPL=% 9.6e+i*% 9.6e abs(AMPL)=% 9.6e arg(AMPL)=% 9.6e FREQ=% 9.6e\n",
+            g_NAFVariable.ZAMP[iCpt].reel,g_NAFVariable.ZAMP[iCpt].imag,
+            (float )i_compl_module(g_NAFVariable.ZAMP[iCpt]),
+            (float )i_compl_angle(g_NAFVariable.ZAMP[iCpt]),
+            (float )g_NAFVariable.TFS[iCpt]);
+            
+        }
+    } /* debug
+    /* number of identified fondamental frequencies */
+    numfreq = (unsigned int) g_NAFVariable.NFS;
+    
+    for(iCpt=1;iCpt<=numfreq; iCpt++) {
+        nu_out[iCpt-1] = g_NAFVariable.TFS[iCpt];
+        amplitude_out[iCpt-1] = (float )i_compl_module(g_NAFVariable.ZAMP[iCpt]);
+        phase_out[iCpt-1] = (float )i_compl_angle(g_NAFVariable.ZAMP[iCpt]);
+    }
+    
+    
+    /*free memory*/
+    naf_cleannaf();
+    
+    /* return number of fundaental frequencies */
+    return(numfreq);
+}
+
+#define min(a, b)       ((a) < (b) ? (a) : (b))
+#define max(a, b)       ((a) < (b) ? (b) : (a))
+#define NFREQMAX 10 /* maximum number of frequencies to look for */
+/*  MATLAB TO C-CALL LINKING FUNCTION  */
+void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
+{
+    double	 *nu_out, *amplitude_out, *phase_out, *y_in, *yp_in, *scalar_in;
+    double   *nu, *amplitude, *phase;
+    unsigned int  i, m, n, m2, n2, numfreq;
+    int win, debug, nfreq;
+    
+    /* lock mex-file for avoiding unloading with clear all */
+    /*mexLock(); */ 
+    
+    debug = 0; /* 1 means debugging information */
+    nfreq = NFREQMAX; /* maximum number of frequencies value per default */
+    
+    if ((nrhs < 2) || (nrhs >5)) {
+        mexErrMsgTxt("Requires 2 to 5 input arguments");
+    }
+    
+    if (nrhs <2) { /* no windows */
+        win = 0;
+    }
+    
+    if (nrhs >= 3){ /* windowing */
+        m = mxGetM(WIN_IN);
+        n = mxGetN(WIN_IN);
+        
+        if (!mxIsNumeric(WIN_IN) || mxIsComplex(WIN_IN) ||
+        mxIsSparse(WIN_IN)  ||  (max(m,n) != 1) || (min(m,n) != 1))
+        {
+            mexErrMsgTxt("CALCNAFF requires that Window be a scalar.");
+        }
+        
+        /* assign pointer */
+        scalar_in   = mxGetPr(WIN_IN);
+        win = (int )*scalar_in;
+    }
+    
+    if (nrhs >= 4){ /* user fequency number */
+        m = mxGetM(NFREQ_IN);
+        n = mxGetN(NFREQ_IN);
+        
+        if (!mxIsNumeric(NFREQ_IN) || mxIsComplex(NFREQ_IN) ||
+        mxIsSparse(NFREQ_IN)  ||  (max(m,n) != 1) || (min(m,n) != 1))
+        {
+            mexErrMsgTxt("CALCNAFF requires that frequency number be a scalar.");
+        }
+           /* assign pointer for maximum number of frequency */
+        scalar_in   = mxGetPr(NFREQ_IN);
+        nfreq = (int )*scalar_in;
+    }
+    
+    if (nrhs >= 5){ /* debugging flag */
+        m = mxGetM(DEBUG_IN);
+        n = mxGetN(DEBUG_IN);
+        
+        if (!mxIsNumeric(DEBUG_IN) || mxIsComplex(DEBUG_IN) ||
+        mxIsSparse(DEBUG_IN)  ||  (max(m,n) != 1) || (min(m,n) != 1))
+        {
+            mexErrMsgTxt("CALCNAFF requires that dubbing flag be a scalar.");
+        }
+        
+            /* assign pointer for debugging flag */
+        scalar_in   = mxGetPr(DEBUG_IN);
+        debug = (int )*scalar_in;
+        
+    }
+        
+  /* Check the dimensions of Y.  Y can be >6 X 1 or 1 X >6. */
+    
+    m = mxGetM(Y_IN);
+    n = mxGetN(Y_IN);
+    
+    if (!mxIsNumeric(Y_IN) || mxIsComplex(Y_IN) ||
+    mxIsSparse(Y_IN)  || !mxIsDouble(Y_IN) ||
+    (max(m,n) < 66) || (min(m,n) != 1)) {
+        mexErrMsgTxt("CALCNAFF requires that Y be a >= 66 x 1 vector.");
+    }
+    
+    /* assign pointer */
+    y_in   = mxGetPr(Y_IN);
+    
+    /* Check the dimensions of YP.  YP must have same size as Y */    
+    m2 = mxGetM(YP_IN);
+    n2 = mxGetN(YP_IN);
+    
+    if (!mxIsNumeric(YP_IN) || mxIsComplex(YP_IN) ||
+    mxIsSparse(YP_IN)  || !mxIsDouble(YP_IN) ||
+    (m2 != m) || (n2 != n)) {
+        mexErrMsgTxt("CALCNAFF requires that YP has the same size as Y.");
+    }
+    
+    /* assign pointer */
+    yp_in   = mxGetPr(YP_IN);
+    
+    /* Dynamic memory allocation */
+    SYSCHECKMALLOCSIZE(nu, double, nfreq);
+    SYSCHECKMALLOCSIZE(amplitude, double, nfreq);
+    SYSCHECKMALLOCSIZE(phase, double, nfreq);
+    
+    /* call subroutine that calls routine for all NAFF computation */
+    numfreq = call_naff(y_in,yp_in,(int )max(m,n), nu, amplitude, phase,  win, nfreq, debug);
+    
+    /* Create Output Vector */
+    NU_OUT = mxCreateDoubleMatrix(numfreq, (unsigned int) 1, mxREAL);
+    
+    /* assign pointer */
+    nu_out = mxGetPr(NU_OUT);
+    
+    if (nlhs == 2){ /* frequencies and amplitudes */
+    /* Create Output Vector */
+        AMPLITUDE_OUT = mxCreateDoubleMatrix(numfreq, (unsigned int) 1, mxREAL);
+        
+    /* assign pointer */
+        amplitude_out = mxGetPr(AMPLITUDE_OUT);
+        
+    /* copy results */
+        for (i=0;i<numfreq;i++) {
+            nu_out[i] = nu[i];
+            amplitude_out[i] = amplitude[i];
+        }
+    }
+    else if (nlhs == 3){ /* frequencies, amplitudes and phase*/
+    /* Create Output Vector */
+        AMPLITUDE_OUT = mxCreateDoubleMatrix(numfreq, (unsigned int) 1, mxREAL);
+        
+    /* assign pointer */
+        amplitude_out = mxGetPr(AMPLITUDE_OUT);
+        
+    /* Create Output Vector */
+        PHASE_OUT = mxCreateDoubleMatrix(numfreq, (unsigned int) 1, mxREAL);
+        
+    /* assign pointer */
+        phase_out = mxGetPr(PHASE_OUT);
+        
+    /* copy results */
+        for (i=0;i<numfreq;i++) {
+            nu_out[i] = nu[i];
+            amplitude_out[i] = amplitude[i];
+            phase_out[i] = phase[i];
+        }
+    }
+    else { /* just frequencies */
+        for(i=0;i<numfreq;i++) {
+            nu_out[i] = nu[i];
+        }
+    }/* end of nlhs == 2 */
+    
+    /* free dynamically memory allocation */
+    SYSFREE(nu);
+    SYSFREE(amplitude);
+    SYSFREE(phase);
+    
+    return;
+} /* end of mexFunction */
Index: /trunk/machine/SOLEIL/common/naff/nafflib/nafflib.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/nafflib.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/nafflib.m	(revision 17)
@@ -0,0 +1,47 @@
+% nafflib - MATLAB to NAFF library
+%
+% INPUTS
+% 1. Real part
+% 2. Imaginary part
+% 3. Window type
+% 4. Nomber of frequency
+% 5. Dubug 0 or 1
+%
+% OUPUTS
+% 1. Fundamental frequency vector
+% 2. Amplitude vector
+% 3. Phase vector
+%
+% EXAMPLE
+% [frequency amplitude phase] = nafflib(Y, Yp, WindowType,nfreq,DebugFlag);
+
+
+%% Laurent S. Nadolski, Synchrotron SOLEIL
+
+% Calls modnaff from: 
+% /* MODNAFF.C version 0.96                                                 */
+% /* Astronomie et systemes dynamiques                                      */
+% /* J. LASKAR Bureau des Longitudes, Paris (version originale fortran)     */
+% /* M. GASTINEAU, portage en C, 03/09/98                                   */
+% /* v0.96 M. GASTINEAU 09/09/98 : modification dans la fonction naf_ztder  */
+% /*                               dans les boucles de I en I-1.            */
+% /* v0.96 M. GASTINEAU 09/11/98 : remplacement des variables PI2 par PICARRE*/
+% /*                               car PI2 est un define sous LINUX.        */
+% /* v0.96 M. GASTINEAU 01/12/98 : utilisation des fonctions  complexes     */
+% /*                               inlines.                                 */
+% /* v0.96 M. GASTINEAU 07/12/98 : modification dans naf_frefin car bug lors*/
+% /*                               de l'optimisation sur Mac.               */
+% /* v0.96 M. GASTINEAU 18/12/98 : modification de naf_iniwin               */
+% /* v0.96 M. GASTINEAU 06/01/99 : ajout de la liberation de la liste des   */
+% /*                        fenetres dans naf_cleannaf et naf_cleannaf_notab*/
+% /* v0.96 M. GASTINEAU 12/01/99 : correction dans le cas ou ICPLX=0 dans   */
+% /*                        naf_modfre et naf_gramsc.                       */
+% /*v0.96 M. GASTINEAU 14/01/99 : ajout du support des fenetres dans        */
+% /*                        naf_mfttab et naf_fftmax.                       */
+% /*v0.97 M. GASTINEAU 26/05/99 : correction bug (0.97/99/05/26/A) dans     */
+% /*                        naf_mftnaf                                      */
+% /* v0.97 M. GASTINEAU 27/05/99 : correction bug (0.97/99/05/27/A) dans le */
+% /*                  cas ou ICPLX=0 et FS=0 dans naf_modfre et naf_gramsc. */
+
+
+
Index: /trunk/machine/SOLEIL/common/naff/nafflib/testdata_9380_9295
===================================================================
--- /trunk/machine/SOLEIL/common/naff/nafflib/testdata_9380_9295	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/nafflib/testdata_9380_9295	(revision 17)
@@ -0,0 +1,2048 @@
+  -5.9800000e+02
+  -5.9200000e+02
+  -5.9600000e+02
+  -6.5200000e+02
+  -7.0400000e+02
+  -6.2800000e+02
+  -6.7800000e+02
+  -6.5000000e+02
+  -5.9800000e+02
+  -6.7800000e+02
+  -5.9400000e+02
+  -5.9800000e+02
+  -6.5200000e+02
+  -6.2200000e+02
+  -6.5200000e+02
+  -6.5000000e+02
+  -5.4200000e+02
+  -6.2400000e+02
+  -7.0200000e+02
+  -5.9800000e+02
+   5.0410000e+03
+   6.5060000e+03
+  -3.8280000e+03
+  -7.3990000e+03
+   4.9840000e+03
+   6.6220000e+03
+  -3.2740000e+03
+  -7.5960000e+03
+   4.0850000e+03
+   6.9710000e+03
+  -2.4740000e+03
+  -7.8370000e+03
+   3.6940000e+03
+   6.9710000e+03
+  -1.8110000e+03
+  -8.0690000e+03
+   2.7590000e+03
+   7.2190000e+03
+  -1.2080000e+03
+  -7.8190000e+03
+   2.2900000e+03
+   7.3990000e+03
+  -7.1800000e+02
+  -7.9210000e+03
+   1.4920000e+03
+   7.2940000e+03
+  -3.4600000e+02
+  -7.5050000e+03
+   9.4300000e+02
+   7.1900000e+03
+   2.7000000e+01
+  -7.2190000e+03
+   3.2200000e+02
+   6.8890000e+03
+   1.8800000e+02
+  -6.9610000e+03
+  -8.0000000e+01
+   6.5930000e+03
+   5.8600000e+02
+  -6.2020000e+03
+  -5.6600000e+02
+   6.2260000e+03
+   7.7900000e+02
+  -5.8660000e+03
+  -8.3000000e+02
+   5.8120000e+03
+   1.1260000e+03
+  -5.1620000e+03
+  -1.0070000e+03
+   5.3790000e+03
+   1.1800000e+03
+  -4.5400000e+03
+  -1.3250000e+03
+   4.7500000e+03
+   1.3250000e+03
+  -4.0350000e+03
+  -1.2500000e+03
+   4.2470000e+03
+   1.4230000e+03
+  -3.3750000e+03
+  -1.4180000e+03
+   3.5130000e+03
+   1.3830000e+03
+  -2.9470000e+03
+  -1.4280000e+03
+   3.0910000e+03
+   1.4330000e+03
+  -2.4400000e+03
+  -1.3380000e+03
+   2.5300000e+03
+   1.3790000e+03
+  -2.1630000e+03
+  -1.4080000e+03
+   2.0760000e+03
+   1.3330000e+03
+  -1.7380000e+03
+  -1.1660000e+03
+   1.7190000e+03
+   1.2120000e+03
+  -1.4770000e+03
+  -1.0580000e+03
+   1.2580000e+03
+   1.0540000e+03
+  -1.2370000e+03
+  -8.6400000e+02
+   1.1610000e+03
+   8.4100000e+02
+  -8.9800000e+02
+  -5.1700000e+02
+   8.2100000e+02
+   6.9700000e+02
+  -8.7800000e+02
+  -4.0800000e+02
+   6.8300000e+02
+   4.6100000e+02
+  -6.2800000e+02
+  -1.9000000e+02
+   6.0400000e+02
+   2.7000000e+02
+  -5.4700000e+02
+   2.7000000e+01
+   3.8300000e+02
+   2.7000000e+01
+  -4.0800000e+02
+   1.9000000e+02
+   4.3900000e+02
+  -1.9000000e+02
+  -3.8200000e+02
+   3.8200000e+02
+   3.0100000e+02
+  -3.7900000e+02
+  -3.5600000e+02
+   6.0000000e+02
+   3.2800000e+02
+  -5.7100000e+02
+  -2.7400000e+02
+   6.7800000e+02
+   3.2900000e+02
+  -7.6100000e+02
+  -2.7400000e+02
+   8.4600000e+02
+   3.5600000e+02
+  -7.0900000e+02
+  -3.2900000e+02
+   1.0070000e+03
+   3.2800000e+02
+  -8.7200000e+02
+  -2.7400000e+02
+   1.0650000e+03
+   3.5600000e+02
+  -9.2400000e+02
+  -2.7400000e+02
+   1.0940000e+03
+   3.8300000e+02
+  -9.5600000e+02
+  -3.0100000e+02
+   1.0100000e+03
+   4.1200000e+02
+  -9.8100000e+02
+  -3.0100000e+02
+   1.0980000e+03
+   2.7400000e+02
+  -9.5600000e+02
+  -3.3000000e+02
+   1.0940000e+03
+   3.5700000e+02
+  -9.6200000e+02
+  -3.2900000e+02
+   1.0140000e+03
+   2.2000000e+02
+  -9.5600000e+02
+  -1.6500000e+02
+   1.0430000e+03
+   2.7400000e+02
+  -9.3000000e+02
+  -2.4800000e+02
+   9.5600000e+02
+   1.9200000e+02
+  -9.3000000e+02
+  -2.2000000e+02
+   9.8800000e+02
+   2.4700000e+02
+  -8.7500000e+02
+  -1.9200000e+02
+   8.7500000e+02
+   1.0900000e+02
+  -8.2100000e+02
+  -1.3700000e+02
+   9.0400000e+02
+   8.2000000e+01
+  -7.9200000e+02
+  -8.2000000e+01
+   8.4900000e+02
+  -2.7000000e+01
+  -7.6800000e+02
+  -2.7000000e+01
+   8.4600000e+02
+   5.5000000e+01
+  -7.9500000e+02
+   5.5000000e+01
+   8.2100000e+02
+  -1.0900000e+02
+  -6.5400000e+02
+   5.5000000e+01
+   8.2100000e+02
+   0.0000000e+00
+  -7.4200000e+02
+   1.6400000e+02
+   7.9200000e+02
+  -1.3700000e+02
+  -7.3700000e+02
+   1.3800000e+02
+   8.2300000e+02
+  -8.2000000e+01
+  -6.6100000e+02
+   1.1000000e+02
+   7.6300000e+02
+  -8.2000000e+01
+  -7.1100000e+02
+   1.9200000e+02
+   8.5200000e+02
+  -1.6500000e+02
+  -6.8300000e+02
+   1.9200000e+02
+   7.6800000e+02
+  -1.3700000e+02
+  -7.1400000e+02
+   1.3700000e+02
+   8.2300000e+02
+  -1.6500000e+02
+  -7.0900000e+02
+   2.2000000e+02
+   7.6800000e+02
+  -1.6400000e+02
+  -6.5900000e+02
+   1.3700000e+02
+   7.9500000e+02
+  -2.2000000e+02
+  -6.0400000e+02
+   1.6400000e+02
+   7.4500000e+02
+  -1.6500000e+02
+  -6.5900000e+02
+   1.6500000e+02
+   7.6800000e+02
+  -1.3700000e+02
+  -6.3200000e+02
+   1.9200000e+02
+   6.8500000e+02
+  -1.0900000e+02
+  -6.2800000e+02
+   1.3700000e+02
+   7.4200000e+02
+  -1.3700000e+02
+  -5.2200000e+02
+   1.3700000e+02
+   6.0200000e+02
+  -1.3700000e+02
+  -6.0600000e+02
+   1.6400000e+02
+   6.0200000e+02
+  -2.2000000e+02
+  -4.6600000e+02
+   1.6500000e+02
+   5.4900000e+02
+  -8.2000000e+01
+  -4.6700000e+02
+   8.2000000e+01
+   5.4900000e+02
+  -1.3800000e+02
+  -4.1000000e+02
+   1.6400000e+02
+   5.7500000e+02
+  -1.0900000e+02
+  -4.6700000e+02
+   1.1000000e+02
+   4.9200000e+02
+  -8.2000000e+01
+  -3.8400000e+02
+   1.0900000e+02
+   4.9400000e+02
+  -1.6400000e+02
+  -4.1000000e+02
+   1.3700000e+02
+   4.3800000e+02
+  -8.2000000e+01
+  -3.2900000e+02
+   1.0900000e+02
+   4.6700000e+02
+  -1.3700000e+02
+  -3.5500000e+02
+   8.2000000e+01
+   3.8400000e+02
+  -1.6400000e+02
+  -1.9200000e+02
+   8.2000000e+01
+   4.9100000e+02
+  -8.2000000e+01
+  -2.7400000e+02
+   1.0900000e+02
+   4.1200000e+02
+  -1.1000000e+02
+  -2.1900000e+02
+   8.2000000e+01
+   3.8400000e+02
+  -5.5000000e+01
+  -1.9200000e+02
+   1.1000000e+02
+   3.8300000e+02
+  -8.2000000e+01
+  -2.4700000e+02
+   1.3700000e+02
+   4.1100000e+02
+  -8.2000000e+01
+  -2.2000000e+02
+   5.5000000e+01
+   2.7400000e+02
+  -8.2000000e+01
+  -1.6500000e+02
+   8.2000000e+01
+   3.8400000e+02
+   2.7000000e+01
+  -1.6400000e+02
+   2.7000000e+01
+   3.0100000e+02
+  -5.5000000e+01
+  -1.9200000e+02
+  -2.7000000e+01
+   3.2800000e+02
+   0.0000000e+00
+  -2.1800000e+02
+   2.7000000e+01
+   2.7400000e+02
+  -2.7000000e+01
+  -1.6500000e+02
+  -5.5000000e+01
+   2.9900000e+02
+   5.5000000e+01
+  -1.0900000e+02
+   0.0000000e+00
+   3.0100000e+02
+   2.7000000e+01
+  -2.1900000e+02
+   0.0000000e+00
+   2.7400000e+02
+   0.0000000e+00
+  -1.3700000e+02
+  -5.5000000e+01
+   2.7400000e+02
+   5.5000000e+01
+  -1.9100000e+02
+  -8.2000000e+01
+   2.7300000e+02
+   0.0000000e+00
+  -1.0900000e+02
+  -1.3700000e+02
+   2.4600000e+02
+   8.2000000e+01
+  -1.6400000e+02
+  -1.0900000e+02
+   2.7400000e+02
+   2.7000000e+01
+  -1.9000000e+02
+  -8.2000000e+01
+   2.7400000e+02
+   1.0900000e+02
+  -1.6500000e+02
+  -8.2000000e+01
+   2.4600000e+02
+   8.2000000e+01
+  -1.6400000e+02
+  -2.7000000e+01
+   2.4700000e+02
+   5.5000000e+01
+  -1.6400000e+02
+  -8.2000000e+01
+   2.7300000e+02
+   5.5000000e+01
+  -1.0900000e+02
+  -1.0900000e+02
+   3.2900000e+02
+   1.6500000e+02
+  -2.1800000e+02
+  -1.3700000e+02
+   2.7400000e+02
+   1.0900000e+02
+  -1.3700000e+02
+  -1.3700000e+02
+   2.7400000e+02
+   1.1000000e+02
+  -1.6400000e+02
+  -1.1000000e+02
+   1.9200000e+02
+   8.2000000e+01
+  -1.3700000e+02
+  -1.0900000e+02
+   3.5500000e+02
+   1.1000000e+02
+  -1.3700000e+02
+  -1.6400000e+02
+   2.7400000e+02
+   8.2000000e+01
+  -2.1900000e+02
+  -1.1000000e+02
+   3.0100000e+02
+   1.3700000e+02
+  -1.6500000e+02
+  -1.6500000e+02
+   3.0000000e+02
+   1.0900000e+02
+  -2.1900000e+02
+  -5.5000000e+01
+   3.2900000e+02
+   1.3700000e+02
+  -1.6400000e+02
+  -1.6600000e+02
+   3.0000000e+02
+   1.9200000e+02
+  -2.4700000e+02
+  -2.2000000e+02
+   3.8300000e+02
+   8.2000000e+01
+  -1.9100000e+02
+  -2.2000000e+02
+   3.2800000e+02
+   1.0900000e+02
+  -1.6400000e+02
+  -2.2000000e+02
+   3.5500000e+02
+   1.3700000e+02
+  -2.1900000e+02
+  -2.2000000e+02
+   3.2800000e+02
+   1.3700000e+02
+  -2.2000000e+02
+  -2.2000000e+02
+   3.0100000e+02
+   1.6500000e+02
+  -1.9200000e+02
+  -2.7400000e+02
+   3.5600000e+02
+   8.2000000e+01
+  -2.4600000e+02
+  -1.6500000e+02
+   3.2900000e+02
+   1.9100000e+02
+  -2.2000000e+02
+  -2.7400000e+02
+   3.0000000e+02
+   1.0900000e+02
+  -2.1900000e+02
+  -1.6400000e+02
+   3.0200000e+02
+   1.6400000e+02
+  -2.1900000e+02
+  -1.9200000e+02
+   3.2700000e+02
+   1.9200000e+02
+  -2.4700000e+02
+  -2.7400000e+02
+   3.5600000e+02
+   1.6500000e+02
+  -2.1900000e+02
+  -1.9300000e+02
+   3.2800000e+02
+   1.3700000e+02
+  -2.4700000e+02
+  -1.6500000e+02
+   2.7400000e+02
+   1.3700000e+02
+  -2.4700000e+02
+  -1.3700000e+02
+   3.2900000e+02
+   1.3700000e+02
+  -1.9100000e+02
+  -1.3700000e+02
+   3.0000000e+02
+   1.9200000e+02
+  -2.7400000e+02
+  -2.1800000e+02
+   3.2900000e+02
+   1.3800000e+02
+  -2.7300000e+02
+  -1.1000000e+02
+   3.3000000e+02
+   1.3700000e+02
+  -2.2000000e+02
+  -1.6500000e+02
+   4.1000000e+02
+   1.1000000e+02
+  -2.4700000e+02
+  -1.6400000e+02
+   3.2900000e+02
+   1.3700000e+02
+  -2.4600000e+02
+  -1.6400000e+02
+   3.0000000e+02
+   1.3700000e+02
+  -3.5700000e+02
+  -1.6400000e+02
+   3.5500000e+02
+   1.9200000e+02
+  -2.7300000e+02
+  -1.3700000e+02
+   3.0200000e+02
+   1.9200000e+02
+  -3.0200000e+02
+  -1.9200000e+02
+   3.5500000e+02
+   2.4700000e+02
+  -3.0000000e+02
+  -1.3700000e+02
+   3.0100000e+02
+   2.4700000e+02
+  -2.4600000e+02
+  -1.3700000e+02
+   3.0100000e+02
+   2.1900000e+02
+  -3.2900000e+02
+  -1.6400000e+02
+   3.0100000e+02
+   2.2000000e+02
+  -2.1800000e+02
+  -1.1100000e+02
+   3.0100000e+02
+   2.1800000e+02
+  -2.7400000e+02
+  -1.9200000e+02
+   3.2700000e+02
+   1.9200000e+02
+  -3.2800000e+02
+  -2.4600000e+02
+   2.7400000e+02
+   1.6400000e+02
+  -2.1900000e+02
+  -1.6400000e+02
+   3.0100000e+02
+   1.9200000e+02
+  -2.4700000e+02
+  -2.1900000e+02
+   3.0000000e+02
+   2.2000000e+02
+  -2.7300000e+02
+  -1.1000000e+02
+   2.4700000e+02
+   1.9100000e+02
+  -2.7400000e+02
+  -1.3700000e+02
+   2.4500000e+02
+   2.2000000e+02
+  -2.2000000e+02
+  -1.9100000e+02
+   2.7400000e+02
+   2.2000000e+02
+  -2.1900000e+02
+  -1.6500000e+02
+   2.7400000e+02
+   1.9100000e+02
+  -1.9200000e+02
+  -1.3700000e+02
+   2.7400000e+02
+   1.9200000e+02
+  -2.1800000e+02
+  -1.1000000e+02
+   2.7500000e+02
+   1.6400000e+02
+  -1.9200000e+02
+  -1.3700000e+02
+   2.4600000e+02
+   1.6500000e+02
+  -1.9100000e+02
+  -1.0900000e+02
+   1.9200000e+02
+   1.6400000e+02
+  -1.0900000e+02
+  -1.0900000e+02
+   2.4600000e+02
+   1.6400000e+02
+  -2.2000000e+02
+  -1.3600000e+02
+   2.4700000e+02
+   1.9100000e+02
+  -1.0900000e+02
+  -8.2000000e+01
+   1.6500000e+02
+   1.3700000e+02
+  -1.9200000e+02
+  -5.5000000e+01
+   1.9100000e+02
+   1.3700000e+02
+  -1.6500000e+02
+  -1.0900000e+02
+   1.9200000e+02
+   1.6400000e+02
+  -1.0900000e+02
+  -1.1000000e+02
+   1.9200000e+02
+   1.3700000e+02
+  -1.6500000e+02
+  -8.2000000e+01
+   1.6400000e+02
+   1.0900000e+02
+  -1.9100000e+02
+  -1.6500000e+02
+   1.6500000e+02
+   1.6300000e+02
+  -8.2000000e+01
+  -1.9200000e+02
+   1.6400000e+02
+   2.2000000e+02
+  -5.5000000e+01
+  -1.3700000e+02
+   1.6500000e+02
+   1.6400000e+02
+  -1.6400000e+02
+  -1.6400000e+02
+   1.3700000e+02
+   2.1800000e+02
+  -8.2000000e+01
+  -1.0900000e+02
+   1.3700000e+02
+   1.9200000e+02
+  -1.6400000e+02
+  -1.3700000e+02
+   2.2000000e+02
+   1.3700000e+02
+  -1.3700000e+02
+  -1.9200000e+02
+   1.0900000e+02
+   1.9200000e+02
+  -1.6500000e+02
+  -1.6400000e+02
+   1.3700000e+02
+   1.6500000e+02
+  -1.3600000e+02
+  -1.9200000e+02
+   1.1000000e+02
+   2.7300000e+02
+  -1.3700000e+02
+  -1.6400000e+02
+   1.3700000e+02
+   1.3700000e+02
+  -8.2000000e+01
+  -8.2000000e+01
+   8.2000000e+01
+   1.3600000e+02
+  -8.2000000e+01
+  -8.2000000e+01
+   1.0900000e+02
+   1.6500000e+02
+  -1.1000000e+02
+  -1.0900000e+02
+   1.1000000e+02
+   1.1000000e+02
+  -1.0900000e+02
+  -1.0900000e+02
+   1.0900000e+02
+   1.3700000e+02
+  -2.7000000e+01
+  -1.1000000e+02
+   8.2000000e+01
+   1.3700000e+02
+  -2.7000000e+01
+  -1.1000000e+02
+   1.3700000e+02
+   1.3700000e+02
+  -2.7000000e+01
+  -8.2000000e+01
+   5.5000000e+01
+   1.0900000e+02
+  -1.1000000e+02
+  -8.2000000e+01
+   8.2000000e+01
+   1.0900000e+02
+  -5.5000000e+01
+  -1.0900000e+02
+   8.2000000e+01
+   1.3700000e+02
+  -2.7000000e+01
+  -1.3700000e+02
+   1.0900000e+02
+   5.5000000e+01
+  -5.5000000e+01
+  -5.5000000e+01
+   8.2000000e+01
+   1.1000000e+02
+   0.0000000e+00
+  -5.5000000e+01
+   8.2000000e+01
+   1.1000000e+02
+   0.0000000e+00
+  -1.0900000e+02
+   8.2000000e+01
+   1.0900000e+02
+  -5.5000000e+01
+   0.0000000e+00
+   8.2000000e+01
+   1.0900000e+02
+  -2.7000000e+01
+  -8.2000000e+01
+   1.3700000e+02
+   8.2000000e+01
+  -2.7000000e+01
+  -2.7000000e+01
+   8.2000000e+01
+   2.7000000e+01
+   8.2000000e+01
+  -2.7000000e+01
+   0.0000000e+00
+   5.5000000e+01
+   0.0000000e+00
+  -8.2000000e+01
+   0.0000000e+00
+   1.0900000e+02
+   2.7000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   2.7000000e+01
+   2.7000000e+01
+  -8.2000000e+01
+   8.2000000e+01
+   5.5000000e+01
+   2.7000000e+01
+   0.0000000e+00
+   5.5000000e+01
+   5.5000000e+01
+   2.7000000e+01
+  -5.5000000e+01
+   8.2000000e+01
+   5.5000000e+01
+   0.0000000e+00
+  -8.2000000e+01
+   8.2000000e+01
+   8.2000000e+01
+   8.2000000e+01
+  -1.3700000e+02
+   0.0000000e+00
+   2.7000000e+01
+   0.0000000e+00
+  -1.1000000e+02
+   0.0000000e+00
+   5.5000000e+01
+   5.5000000e+01
+  -2.7000000e+01
+   0.0000000e+00
+   2.7000000e+01
+   2.7000000e+01
+  -8.2000000e+01
+   0.0000000e+00
+   2.7000000e+01
+   5.5000000e+01
+  -1.0900000e+02
+   2.7000000e+01
+   5.5000000e+01
+   5.4000000e+01
+   0.0000000e+00
+   5.5000000e+01
+   1.0900000e+02
+   0.0000000e+00
+  -8.2000000e+01
+   2.7000000e+01
+   0.0000000e+00
+   5.5000000e+01
+   2.7000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   8.2000000e+01
+  -5.5000000e+01
+   5.5000000e+01
+   1.1000000e+02
+   5.5000000e+01
+  -8.2000000e+01
+   5.5000000e+01
+   2.7000000e+01
+   5.5000000e+01
+  -2.7000000e+01
+   5.5000000e+01
+   2.7000000e+01
+   8.2000000e+01
+  -5.5000000e+01
+   2.7000000e+01
+   2.7000000e+01
+   2.7000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+   2.7000000e+01
+   8.2000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+   5.5000000e+01
+   8.2000000e+01
+   2.7000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+   0.0000000e+00
+   0.0000000e+00
+   0.0000000e+00
+   2.7000000e+01
+  -2.7000000e+01
+   0.0000000e+00
+   2.7000000e+01
+   5.5000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+   0.0000000e+00
+   2.7000000e+01
+   8.2000000e+01
+  -5.5000000e+01
+  -2.7000000e+01
+  -2.7000000e+01
+   5.5000000e+01
+   0.0000000e+00
+   2.7000000e+01
+   0.0000000e+00
+   2.7000000e+01
+   0.0000000e+00
+   0.0000000e+00
+  -2.7000000e+01
+   2.7000000e+01
+   2.7000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+  -2.7000000e+01
+   0.0000000e+00
+   5.5000000e+01
+  -2.7000000e+01
+   8.2000000e+01
+   2.7000000e+01
+  -5.5000000e+01
+   5.5000000e+01
+  -2.7000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+   2.7000000e+01
+  -2.7000000e+01
+   5.5000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+   5.5000000e+01
+   2.7000000e+01
+   5.5000000e+01
+  -5.4000000e+01
+   5.5000000e+01
+   5.5000000e+01
+   5.5000000e+01
+   0.0000000e+00
+  -5.5000000e+01
+   5.5000000e+01
+   0.0000000e+00
+  -8.2000000e+01
+  -2.7000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+   2.7000000e+01
+   5.5000000e+01
+   5.5000000e+01
+   2.7000000e+01
+  -2.7000000e+01
+   5.5000000e+01
+   2.7000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+  -2.7000000e+01
+   5.5000000e+01
+   5.5000000e+01
+  -5.5000000e+01
+   0.0000000e+00
+   5.5000000e+01
+   2.7000000e+01
+  -5.5000000e+01
+   5.5000000e+01
+   1.1000000e+02
+   5.5000000e+01
+   0.0000000e+00
+   5.5000000e+01
+   5.5000000e+01
+   2.7000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   8.2000000e+01
+   0.0000000e+00
+  -1.0900000e+02
+   0.0000000e+00
+   5.5000000e+01
+   2.7000000e+01
+  -5.5000000e+01
+   8.2000000e+01
+   2.7000000e+01
+   5.5000000e+01
+  -8.2000000e+01
+   0.0000000e+00
+   8.2000000e+01
+   0.0000000e+00
+  -5.5000000e+01
+   2.7000000e+01
+  -2.7000000e+01
+  -2.7000000e+01
+  -8.2000000e+01
+   2.7000000e+01
+   1.1000000e+02
+  -2.7000000e+01
+  -8.2000000e+01
+  -2.7000000e+01
+   5.5000000e+01
+   0.0000000e+00
+  -5.5000000e+01
+   0.0000000e+00
+   5.5000000e+01
+  -2.7000000e+01
+  -5.5000000e+01
+   5.5000000e+01
+   5.5000000e+01
+   0.0000000e+00
+  -5.5000000e+01
+   5.5000000e+01
+   5.5000000e+01
+   2.7000000e+01
+  -8.2000000e+01
+   2.7000000e+01
+   1.0900000e+02
+  -8.2000000e+01
+  -5.5000000e+01
+   5.5000000e+01
+   2.7000000e+01
+   0.0000000e+00
+  -2.7000000e+01
+   5.5000000e+01
+   2.7000000e+01
+  -2.7000000e+01
+  -1.1000000e+02
+   5.5000000e+01
+   8.2000000e+01
+   0.0000000e+00
+  -5.5000000e+01
+   2.7000000e+01
+   8.2000000e+01
+  -5.5000000e+01
+  -8.2000000e+01
+   5.5000000e+01
+   5.5000000e+01
+   0.0000000e+00
+  -8.2000000e+01
+   0.0000000e+00
+   5.5000000e+01
+  -2.7000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   8.2000000e+01
+  -2.7000000e+01
+  -1.0900000e+02
+   2.7000000e+01
+   8.2000000e+01
+  -5.5000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   2.7000000e+01
+   2.7000000e+01
+  -8.2000000e+01
+   2.7000000e+01
+   1.3700000e+02
+  -2.7000000e+01
+   0.0000000e+00
+   2.7000000e+01
+   5.5000000e+01
+  -1.0900000e+02
+  -8.2000000e+01
+  -2.7000000e+01
+   8.2000000e+01
+  -2.7000000e+01
+  -1.3700000e+02
+   0.0000000e+00
+   5.5000000e+01
+  -5.5000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   2.7000000e+01
+  -2.7000000e+01
+  -8.2000000e+01
+   2.7000000e+01
+   8.2000000e+01
+   0.0000000e+00
+  -8.2000000e+01
+   5.5000000e+01
+   5.5000000e+01
+  -8.2000000e+01
+  -5.5000000e+01
+   0.0000000e+00
+   8.2000000e+01
+  -8.2000000e+01
+  -5.5000000e+01
+   5.5000000e+01
+   8.2000000e+01
+  -8.2000000e+01
+  -5.5000000e+01
+   0.0000000e+00
+   8.2000000e+01
+  -5.5000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   1.1000000e+02
+  -2.7000000e+01
+  -5.4000000e+01
+   2.7000000e+01
+   8.2000000e+01
+  -5.5000000e+01
+  -2.7000000e+01
+   2.7000000e+01
+   1.0900000e+02
+   0.0000000e+00
+  -5.5000000e+01
+   5.5000000e+01
+   2.7000000e+01
+  -8.2000000e+01
+  -2.7000000e+01
+   5.5000000e+01
+   5.5000000e+01
+   5.5000000e+01
+  -2.7000000e+01
+   5.5000000e+01
+   1.0900000e+02
+  -5.5000000e+01
+  -5.5000000e+01
+   3.0200000e+02
+   3.2700000e+02
+   3.2500000e+02
+   2.0200000e+02
+   3.0200000e+02
+   2.2500000e+02
+   3.2800000e+02
+   3.0100000e+02
+   2.7500000e+02
+   2.0200000e+02
+   3.0100000e+02
+   2.5100000e+02
+   3.0400000e+02
+   2.7500000e+02
+   3.0200000e+02
+   2.7800000e+02
+   3.2500000e+02
+   2.0200000e+02
+   2.7600000e+02
+   2.0100000e+02
+   2.0530000e+03
+   3.8630000e+03
+   4.2260000e+03
+   1.1490000e+03
+  -1.3770000e+03
+  -3.2260000e+03
+  -3.1590000e+03
+  -1.1000000e+03
+   2.2900000e+02
+   2.2830000e+03
+   4.0860000e+03
+   2.6750000e+03
+   6.3100000e+02
+  -1.1620000e+03
+  -2.0360000e+03
+  -2.0300000e+03
+  -1.2370000e+03
+   3.5900000e+02
+   2.1090000e+03
+   2.9550000e+03
+   1.8670000e+03
+   5.3400000e+02
+  -3.0000000e+02
+  -1.6370000e+03
+  -2.0820000e+03
+  -9.3400000e+02
+   4.9500000e+02
+   2.0030000e+03
+   1.7540000e+03
+   1.2570000e+03
+   9.7300000e+02
+  -3.6600000e+02
+  -1.4300000e+03
+  -1.4620000e+03
+  -4.0200000e+02
+   7.2400000e+02
+   1.1300000e+03
+   1.2650000e+03
+   1.3030000e+03
+   5.6900000e+02
+  -3.2400000e+02
+  -1.2770000e+03
+  -4.5300000e+02
+   7.7000000e+01
+   4.2400000e+02
+   7.6800000e+02
+   9.7300000e+02
+   8.4400000e+02
+   1.7500000e+02
+  -5.1400000e+02
+   0.0000000e+00
+   2.3200000e+02
+   1.0000000e+02
+   3.8400000e+02
+   4.7300000e+02
+   4.3100000e+02
+   2.2500000e+02
+  -1.5200000e+02
+   2.2300000e+02
+   4.3800000e+02
+   2.7300000e+02
+   2.2700000e+02
+   3.2300000e+02
+   1.0200000e+02
+   2.5000000e+01
+  -1.7600000e+02
+   2.2300000e+02
+   6.3500000e+02
+   6.4800000e+02
+   3.2700000e+02
+   3.7400000e+02
+   1.5200000e+02
+  -7.5000000e+01
+  -3.0300000e+02
+   9.9000000e+01
+   4.7700000e+02
+   5.7400000e+02
+   4.5300000e+02
+   5.4800000e+02
+   4.2700000e+02
+   5.0000000e+01
+  -2.2700000e+02
+  -5.0000000e+01
+   1.0100000e+02
+   3.2500000e+02
+   5.5100000e+02
+   5.9600000e+02
+   5.5500000e+02
+   1.4900000e+02
+  -2.5100000e+02
+  -7.5000000e+01
+   2.5000000e+01
+   2.5000000e+02
+   4.5000000e+02
+   4.7100000e+02
+   6.0300000e+02
+   2.2500000e+02
+  -7.5000000e+01
+   5.0000000e+01
+   0.0000000e+00
+   1.2500000e+02
+   3.5100000e+02
+   4.9800000e+02
+   6.2400000e+02
+   3.0000000e+02
+   2.5000000e+01
+  -1.2600000e+02
+  -5.0000000e+01
+   1.0000000e+02
+   2.5200000e+02
+   4.7400000e+02
+   4.5300000e+02
+   3.2500000e+02
+   1.7500000e+02
+   1.9900000e+02
+  -7.6000000e+01
+   5.0000000e+01
+   1.5100000e+02
+   3.5000000e+02
+   4.2500000e+02
+   3.9900000e+02
+   3.2400000e+02
+   2.5100000e+02
+   5.0000000e+01
+   5.0000000e+01
+   1.5100000e+02
+   2.7600000e+02
+   4.7500000e+02
+   3.9900000e+02
+   3.5100000e+02
+   3.2500000e+02
+   5.0000000e+01
+   2.5000000e+01
+   5.0000000e+01
+   1.5100000e+02
+   3.5200000e+02
+   2.5100000e+02
+   4.0200000e+02
+   4.5000000e+02
+   1.0100000e+02
+   1.0100000e+02
+   7.5000000e+01
+   7.5000000e+01
+   2.5100000e+02
+   2.7400000e+02
+   4.2500000e+02
+   5.5000000e+02
+   1.7500000e+02
+   7.6000000e+01
+   5.0000000e+01
+  -2.5000000e+01
+   1.7600000e+02
+   2.2500000e+02
+   4.0000000e+02
+   5.2900000e+02
+   2.2600000e+02
+   2.2500000e+02
+   0.0000000e+00
+  -2.5000000e+01
+   1.5000000e+02
+   1.5000000e+02
+   4.0100000e+02
+   6.5400000e+02
+   4.0100000e+02
+   2.5100000e+02
+   5.0000000e+01
+  -7.5000000e+01
+   0.0000000e+00
+   5.0000000e+01
+   3.2500000e+02
+   5.5100000e+02
+   5.0000000e+02
+   2.2500000e+02
+   2.5100000e+02
+   0.0000000e+00
+  -1.2600000e+02
+   1.0100000e+02
+   2.2500000e+02
+   5.4800000e+02
+   5.5100000e+02
+   3.5100000e+02
+   3.2500000e+02
+   1.0100000e+02
+  -1.0000000e+02
+  -2.5000000e+01
+   2.2500000e+02
+   4.2400000e+02
+   5.2600000e+02
+   4.7500000e+02
+   3.2500000e+02
+   1.5200000e+02
+  -1.0000000e+02
+  -5.0000000e+01
+   7.5000000e+01
+   3.0100000e+02
+   4.0100000e+02
+   5.0000000e+02
+   3.7500000e+02
+   2.5100000e+02
+  -1.0100000e+02
+  -7.5000000e+01
+   0.0000000e+00
+   3.0000000e+02
+   3.7400000e+02
+   4.2800000e+02
+   5.2600000e+02
+   2.5000000e+02
+   2.5000000e+01
+  -1.0000000e+02
+   5.0000000e+01
+   2.0000000e+02
+   3.2500000e+02
+   4.0100000e+02
+   5.0300000e+02
+   4.2400000e+02
+   1.7600000e+02
+   2.5000000e+01
+   0.0000000e+00
+   1.0100000e+02
+   2.2600000e+02
+   3.2600000e+02
+   5.0300000e+02
+   3.7500000e+02
+   1.0100000e+02
+   2.5000000e+01
+   0.0000000e+00
+   1.5000000e+02
+   2.0000000e+02
+   2.5000000e+02
+   4.2800000e+02
+   3.5100000e+02
+   2.2600000e+02
+   1.7600000e+02
+   2.5000000e+01
+   5.0000000e+01
+   1.7600000e+02
+   2.5000000e+02
+   3.7500000e+02
+   3.5200000e+02
+   2.5100000e+02
+   2.0100000e+02
+   1.0000000e+02
+   5.0000000e+01
+   1.5100000e+02
+   2.5000000e+02
+   3.5000000e+02
+   3.5200000e+02
+   2.7500000e+02
+   1.2500000e+02
+   1.7600000e+02
+   1.9900000e+02
+   1.2600000e+02
+   2.2600000e+02
+   2.2500000e+02
+   3.2700000e+02
+   3.0000000e+02
+   2.2500000e+02
+   1.5100000e+02
+   1.7600000e+02
+   1.9900000e+02
+   2.5100000e+02
+   2.2500000e+02
+   2.0100000e+02
+   2.7600000e+02
+   1.2500000e+02
+   2.5100000e+02
+   2.7500000e+02
+   2.5000000e+02
+   2.2700000e+02
+   3.7500000e+02
+   1.2500000e+02
+   2.5100000e+02
+   1.2500000e+02
+   7.5000000e+01
+   2.5100000e+02
+   3.0100000e+02
+   2.5100000e+02
+   2.7600000e+02
+   2.5000000e+02
+   2.0100000e+02
+   7.5000000e+01
+   1.0000000e+02
+   3.5100000e+02
+   2.7500000e+02
+   4.5000000e+02
+   2.7800000e+02
+   2.0100000e+02
+   1.0000000e+02
+   1.2600000e+02
+   1.0000000e+02
+   2.0100000e+02
+   3.2600000e+02
+   4.7400000e+02
+   4.0100000e+02
+   2.7700000e+02
+   1.2500000e+02
+  -5.0000000e+01
+   2.5000000e+01
+   1.7500000e+02
+   3.2600000e+02
+   4.2700000e+02
+   4.5000000e+02
+   3.5100000e+02
+   7.5000000e+01
+   0.0000000e+00
+   7.5000000e+01
+   1.5000000e+02
+   3.5200000e+02
+   4.5100000e+02
+   4.2500000e+02
+   3.2800000e+02
+   1.2600000e+02
+   0.0000000e+00
+   0.0000000e+00
+   1.2500000e+02
+   3.0000000e+02
+   4.2700000e+02
+   5.0000000e+02
+   4.2700000e+02
+   2.7500000e+02
+   0.0000000e+00
+   7.5000000e+01
+   7.6000000e+01
+   5.0000000e+01
+   3.7700000e+02
+   5.2600000e+02
+   5.2600000e+02
+   3.2600000e+02
+   2.5000000e+01
+  -1.2600000e+02
+   7.5000000e+01
+   1.2500000e+02
+   3.7500000e+02
+   4.7500000e+02
+   5.5100000e+02
+   3.0100000e+02
+   2.2500000e+02
+   5.0000000e+01
+  -2.5000000e+01
+   1.2500000e+02
+   2.9900000e+02
+   5.0300000e+02
+   5.2600000e+02
+   4.0100000e+02
+   2.5100000e+02
+   5.0000000e+01
+  -7.6000000e+01
+   1.0000000e+02
+   2.5000000e+01
+   5.0300000e+02
+   5.5000000e+02
+   4.7500000e+02
+   2.7800000e+02
+   5.0000000e+01
+  -5.0000000e+01
+   5.0000000e+01
+   1.0000000e+02
+   3.2600000e+02
+   4.7700000e+02
+   4.2500000e+02
+   3.5200000e+02
+   1.7600000e+02
+   0.0000000e+00
+   0.0000000e+00
+   7.5000000e+01
+   2.0000000e+02
+   4.5300000e+02
+   4.0100000e+02
+   3.0200000e+02
+   2.5100000e+02
+   0.0000000e+00
+  -2.5000000e+01
+  -2.5000000e+01
+   2.0100000e+02
+   4.0200000e+02
+   4.7700000e+02
+   4.0200000e+02
+   2.2700000e+02
+   5.0000000e+01
+  -1.2500000e+02
+  -1.0100000e+02
+   1.7500000e+02
+   3.5000000e+02
+   5.2700000e+02
+   5.0000000e+02
+   3.7500000e+02
+   2.0100000e+02
+   2.5000000e+01
+  -7.6000000e+01
+   7.5000000e+01
+   2.7500000e+02
+   2.5400000e+02
+   4.5000000e+02
+   3.2500000e+02
+   2.5200000e+02
+   7.5000000e+01
+  -7.5000000e+01
+   1.5000000e+02
+   2.5000000e+02
+   4.0200000e+02
+   4.5000000e+02
+   3.7400000e+02
+   4.5300000e+02
+   1.0000000e+02
+  -5.0000000e+01
+   7.5000000e+01
+   1.5000000e+02
+   3.5000000e+02
+   5.0000000e+02
+   3.7700000e+02
+   3.2700000e+02
+   2.2500000e+02
+   0.0000000e+00
+   1.0100000e+02
+   5.0000000e+01
+   1.7500000e+02
+   5.0100000e+02
+   3.7500000e+02
+   3.0000000e+02
+   2.5100000e+02
+   5.0000000e+01
+   2.5000000e+01
+   1.5000000e+02
+   2.0100000e+02
+   4.0200000e+02
+   4.0100000e+02
+   3.7500000e+02
+   1.7600000e+02
+   7.6000000e+01
+   1.0000000e+02
+   7.6000000e+01
+   2.7400000e+02
+   2.7500000e+02
+   4.0200000e+02
+   4.7500000e+02
+   3.0000000e+02
+   1.7600000e+02
+   5.0000000e+01
+   7.5000000e+01
+   2.0000000e+02
+   2.0000000e+02
+   4.2800000e+02
+   4.0000000e+02
+   3.2500000e+02
+   3.0200000e+02
+   1.0000000e+02
+   7.5000000e+01
+   1.5000000e+02
+   1.7500000e+02
+   4.0100000e+02
+   4.7500000e+02
+   2.2600000e+02
+   2.7600000e+02
+   1.7600000e+02
+   5.0000000e+01
+   1.7600000e+02
+   2.2500000e+02
+   2.7500000e+02
+   3.5200000e+02
+   3.0000000e+02
+   2.5000000e+02
+   2.2600000e+02
+   7.5000000e+01
+   1.7600000e+02
+   2.2600000e+02
+   2.2500000e+02
+   3.2700000e+02
+   3.5100000e+02
+   1.7600000e+02
+   2.0100000e+02
+   2.5000000e+02
+   1.5000000e+02
+   2.2600000e+02
+   2.7500000e+02
+   2.7700000e+02
+   3.7700000e+02
+   2.0100000e+02
+   7.6000000e+01
+   1.7500000e+02
+   1.7500000e+02
+   1.5100000e+02
+   3.0100000e+02
+   2.7600000e+02
+   3.2600000e+02
+   2.0000000e+02
+   1.0000000e+02
+   7.6000000e+01
+   1.5000000e+02
+   1.7500000e+02
+   3.0100000e+02
+   2.7500000e+02
+   2.7600000e+02
+   2.7500000e+02
+   1.5000000e+02
+   1.7700000e+02
+   1.2600000e+02
+   1.0000000e+02
+   3.0300000e+02
+   2.5000000e+02
+   2.9900000e+02
+   1.7600000e+02
+   1.0100000e+02
+   2.2500000e+02
+   2.0100000e+02
+   1.7500000e+02
+   2.0100000e+02
+   3.0100000e+02
+   3.2400000e+02
+   2.2600000e+02
+   1.7500000e+02
+   1.7600000e+02
+   2.7500000e+02
+   2.7500000e+02
+   2.4900000e+02
+   3.2500000e+02
+   2.2500000e+02
+   1.5100000e+02
+   3.0000000e+02
+   1.7500000e+02
+   2.0100000e+02
+   2.2500000e+02
+   2.2500000e+02
+   2.5200000e+02
+   2.2600000e+02
+   1.2500000e+02
+   1.5100000e+02
+   1.5000000e+02
+   1.5100000e+02
+   3.0100000e+02
+   3.0000000e+02
+   2.7600000e+02
+   2.7500000e+02
+   1.5000000e+02
+   1.7600000e+02
+   2.2600000e+02
+   2.5000000e+02
+   2.2700000e+02
+   2.5100000e+02
+   3.7700000e+02
+   2.0100000e+02
+   2.2500000e+02
+   2.2500000e+02
+   1.2600000e+02
+   2.0000000e+02
+   2.0100000e+02
+   3.5000000e+02
+   2.7500000e+02
+   3.0200000e+02
+   2.2500000e+02
+   1.0000000e+02
+   1.2600000e+02
+   2.4900000e+02
+   2.0100000e+02
+   2.5200000e+02
+   3.7500000e+02
+   3.2500000e+02
+   2.2600000e+02
+   1.7500000e+02
+   2.0100000e+02
+   2.0000000e+02
+   1.5000000e+02
+   2.5100000e+02
+   3.0100000e+02
+   3.5100000e+02
+   2.5100000e+02
+   2.0000000e+02
+   1.9900000e+02
+   2.5100000e+02
+   1.2500000e+02
+   2.7500000e+02
+   3.7500000e+02
+   3.0000000e+02
+   2.2700000e+02
+   2.2600000e+02
+   7.5000000e+01
+   1.5100000e+02
+   1.7500000e+02
+   2.2500000e+02
+   3.7700000e+02
+   3.2600000e+02
+   2.7400000e+02
+   2.7700000e+02
+   1.5000000e+02
+   1.2600000e+02
+   1.7600000e+02
+   1.2500000e+02
+   2.7600000e+02
+   3.5000000e+02
+   1.7600000e+02
+   4.0100000e+02
+   2.5000000e+02
+   2.2600000e+02
+   7.6000000e+01
+   1.5000000e+02
+   2.2500000e+02
+   2.2700000e+02
+   2.5000000e+02
+   3.0100000e+02
+   3.2500000e+02
+   1.2600000e+02
+   1.7600000e+02
+   1.2600000e+02
+   1.0000000e+02
+   3.7700000e+02
+   3.0100000e+02
+   2.7500000e+02
+   3.2700000e+02
+   2.0000000e+02
+   1.2600000e+02
+   0.0000000e+00
+   1.7500000e+02
+   3.2400000e+02
+   3.0100000e+02
+   2.7500000e+02
+   2.5100000e+02
+   2.0100000e+02
+   1.5000000e+02
+   1.0100000e+02
+   1.2600000e+02
+   2.2500000e+02
+   2.2600000e+02
+   3.0100000e+02
+   3.2500000e+02
+   3.0100000e+02
+   1.7500000e+02
+   2.0100000e+02
+   2.0100000e+02
+   2.0000000e+02
+   2.2700000e+02
+   2.7500000e+02
+   3.9900000e+02
+   2.7700000e+02
+   2.0000000e+02
+   1.0000000e+02
+   1.7700000e+02
+   2.0000000e+02
+   2.7600000e+02
+   3.0100000e+02
+   3.4900000e+02
+   3.5200000e+02
+   1.5000000e+02
+   1.2500000e+02
+   1.5100000e+02
+   1.7600000e+02
+   1.2500000e+02
+   3.0100000e+02
+   3.5000000e+02
+   2.9900000e+02
+   2.5100000e+02
+   1.7600000e+02
+   1.7600000e+02
+   1.7600000e+02
+   2.2500000e+02
+   2.5100000e+02
+   2.7600000e+02
+   2.7500000e+02
+   2.7600000e+02
+   2.5000000e+02
+   1.5000000e+02
+   2.7600000e+02
+   1.7500000e+02
+   2.2500000e+02
+   2.7500000e+02
+   2.5000000e+02
+   2.2600000e+02
+   2.5100000e+02
+   2.5100000e+02
+   2.7600000e+02
+   2.0100000e+02
+   2.0000000e+02
+   2.5200000e+02
+   2.5000000e+02
+   2.2500000e+02
+   1.7600000e+02
+   2.7400000e+02
+   2.5100000e+02
+   2.5000000e+02
+   1.2600000e+02
+   2.5100000e+02
+   2.5100000e+02
+   2.7400000e+02
+   2.0100000e+02
+   1.7600000e+02
+   2.2500000e+02
+   2.7600000e+02
+   2.7500000e+02
+   2.2500000e+02
+   2.0100000e+02
+   3.0000000e+02
+   1.5000000e+02
+   2.2500000e+02
+   2.0100000e+02
+   1.5100000e+02
+   2.5100000e+02
+   1.5000000e+02
+   2.5100000e+02
+   1.7500000e+02
+   2.2500000e+02
+   2.5100000e+02
+   1.7600000e+02
+   2.0100000e+02
+   2.7600000e+02
+   3.0000000e+02
+   2.0100000e+02
+   2.5100000e+02
+   1.5000000e+02
+   2.5100000e+02
+   2.7400000e+02
+   2.2500000e+02
+   2.2700000e+02
+   2.5100000e+02
+   2.5100000e+02
+   2.5100000e+02
+   1.9900000e+02
+   2.2500000e+02
+   2.2600000e+02
+   2.0100000e+02
+   2.7500000e+02
+   2.7500000e+02
+   2.7400000e+02
+   2.5100000e+02
+   2.0100000e+02
+   1.5000000e+02
+   2.7700000e+02
+   2.5000000e+02
+   2.5000000e+02
+   2.0100000e+02
+   2.7400000e+02
+   2.7500000e+02
+   3.0100000e+02
+   1.7500000e+02
+   1.7600000e+02
+   1.7600000e+02
+   2.2500000e+02
+   2.2600000e+02
+   3.0000000e+02
+   2.0000000e+02
+   1.7700000e+02
+   2.0100000e+02
+   2.0100000e+02
+   2.2700000e+02
+   2.0100000e+02
+   2.2700000e+02
+   2.2700000e+02
+   2.0000000e+02
+   2.5100000e+02
+   2.5100000e+02
+   1.5000000e+02
+   2.2500000e+02
+   2.2600000e+02
+   2.7500000e+02
+   3.0100000e+02
+   1.7600000e+02
+   1.5000000e+02
+   2.7600000e+02
+   1.7500000e+02
+   1.7500000e+02
+   3.0000000e+02
+   1.7500000e+02
+   2.5100000e+02
+   3.0200000e+02
+   1.7600000e+02
+   2.7600000e+02
+   2.2600000e+02
+   1.7500000e+02
+   2.5100000e+02
+   3.0000000e+02
+   1.7500000e+02
+   3.2600000e+02
+   3.0000000e+02
+   2.7600000e+02
+   2.7500000e+02
+   1.5000000e+02
+   2.2500000e+02
+   2.7500000e+02
+   2.2500000e+02
+   2.7600000e+02
+   1.7600000e+02
+   1.2600000e+02
+   2.2600000e+02
+   2.0100000e+02
+   1.5000000e+02
+   2.7500000e+02
+   2.5000000e+02
+   2.7500000e+02
+   2.2500000e+02
+   2.2500000e+02
+   2.5100000e+02
+   1.7600000e+02
+   2.0100000e+02
+   2.2700000e+02
+   2.2500000e+02
+   1.7600000e+02
+   3.0200000e+02
+   2.0000000e+02
+   1.7500000e+02
+   2.7500000e+02
+   2.5000000e+02
+   3.2600000e+02
+   2.0100000e+02
+   2.0000000e+02
+   3.0200000e+02
+   2.5100000e+02
+   1.5000000e+02
+   2.0200000e+02
+   1.5000000e+02
+   1.5000000e+02
+   2.2600000e+02
+   2.2500000e+02
+   1.5100000e+02
+   2.0100000e+02
+   2.2500000e+02
+   2.5100000e+02
+   2.4900000e+02
+   2.2500000e+02
+   3.5200000e+02
+   2.7500000e+02
+   2.7400000e+02
+   2.5100000e+02
+   2.5000000e+02
+   1.7600000e+02
+   2.2600000e+02
+   2.5100000e+02
+   2.7500000e+02
+   2.2700000e+02
+   2.2500000e+02
+   2.2600000e+02
+   2.0100000e+02
+   2.2500000e+02
+   3.0300000e+02
+   2.0100000e+02
+   2.2500000e+02
+   3.2600000e+02
+   3.0000000e+02
+   1.5100000e+02
+   2.5100000e+02
+   1.5000000e+02
+   2.7400000e+02
+   2.5100000e+02
+   2.0000000e+02
+   2.2700000e+02
+   2.5100000e+02
+   2.2500000e+02
+   2.7700000e+02
+   1.5000000e+02
+   1.5000000e+02
+   2.0200000e+02
+   2.5000000e+02
+   2.0100000e+02
+   2.5100000e+02
+   2.5000000e+02
+   1.5100000e+02
+   2.0000000e+02
+   2.5000000e+02
+   2.5100000e+02
+   2.0100000e+02
+   1.5000000e+02
+   2.0100000e+02
+   2.7500000e+02
+   2.0000000e+02
+   3.0100000e+02
+   2.7400000e+02
+   2.5100000e+02
+   2.0100000e+02
+   2.0000000e+02
+   2.0100000e+02
+   2.5100000e+02
+   1.5000000e+02
+   3.0200000e+02
+   2.4900000e+02
+   1.7500000e+02
+   2.0100000e+02
+   2.5000000e+02
+   2.5000000e+02
+   2.2700000e+02
+   2.5000000e+02
+   2.0100000e+02
+   2.5100000e+02
+   1.7500000e+02
+   1.7600000e+02
+   2.0100000e+02
+   2.5000000e+02
+   1.5200000e+02
+   3.0100000e+02
+   1.2600000e+02
+   3.0200000e+02
+   2.0100000e+02
+   2.2500000e+02
+   2.0100000e+02
+   2.0100000e+02
+   3.5100000e+02
+   2.5000000e+02
+   1.0000000e+02
+   2.5100000e+02
+   2.0100000e+02
+   2.2500000e+02
+   1.5100000e+02
+   2.2500000e+02
+   2.0100000e+02
+   2.0200000e+02
+   2.2500000e+02
+   3.0100000e+02
+   2.5000000e+02
+   2.5100000e+02
+   2.2500000e+02
+   2.7400000e+02
+   1.7500000e+02
+   3.0300000e+02
+   3.0000000e+02
+   1.7500000e+02
+   2.2700000e+02
+   2.0100000e+02
+   2.2500000e+02
+   2.0100000e+02
+   1.7500000e+02
+   2.5100000e+02
+   2.7600000e+02
+   2.2500000e+02
+   2.7500000e+02
+   2.5000000e+02
+   2.0100000e+02
+   2.7600000e+02
+   3.0000000e+02
+   1.5000000e+02
+   3.0100000e+02
+   2.2500000e+02
+   2.0000000e+02
+   2.7600000e+02
+   1.2500000e+02
+   1.5100000e+02
+   3.0100000e+02
+   1.7500000e+02
+   3.5200000e+02
+   2.7500000e+02
+   2.2500000e+02
+   2.0200000e+02
+   2.0100000e+02
+   2.7500000e+02
+   2.7700000e+02
+   1.2600000e+02
+   2.5000000e+02
+   2.0100000e+02
+   2.0000000e+02
+   2.2500000e+02
+   2.0100000e+02
+   1.2600000e+02
+   1.5100000e+02
+   2.2600000e+02
+   2.0100000e+02
+   3.0200000e+02
+   2.0100000e+02
+   2.5000000e+02
+   2.2600000e+02
+   2.5100000e+02
+   3.2500000e+02
+   2.2600000e+02
+   2.5100000e+02
+   1.7600000e+02
+   2.2500000e+02
+   2.0100000e+02
+   2.5100000e+02
+   3.0100000e+02
+   1.5100000e+02
+   3.0200000e+02
+   2.2600000e+02
+   1.7500000e+02
+   2.2700000e+02
+   1.5000000e+02
+   2.0100000e+02
+   2.5100000e+02
+   2.5100000e+02
+   3.0200000e+02
+   2.5000000e+02
+   1.7500000e+02
+   2.0200000e+02
+   2.7400000e+02
+   1.7600000e+02
+   2.7800000e+02
+   1.7600000e+02
+   2.2500000e+02
+   3.5000000e+02
+   1.5000000e+02
+   2.0100000e+02
+   2.0100000e+02
+   2.0000000e+02
+   1.7600000e+02
+   2.5100000e+02
+   1.5000000e+02
+   3.2700000e+02
+   1.7600000e+02
+   2.2500000e+02
+   2.0100000e+02
+   1.7500000e+02
+   2.0100000e+02
+   3.2600000e+02
+   2.0100000e+02
+   1.2600000e+02
+   3.2500000e+02
+   2.0000000e+02
+   2.2600000e+02
+   2.2500000e+02
+   2.2500000e+02
+   2.2500000e+02
+   2.2500000e+02
Index: /trunk/machine/SOLEIL/common/naff/naffutils/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/.cvsignore	(revision 17)
@@ -0,0 +1,3 @@
+*.m
+*.o
+*.m~
Index: /trunk/machine/SOLEIL/common/naff/naffutils/beta2tracy.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/beta2tracy.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/beta2tracy.m	(revision 17)
@@ -0,0 +1,191 @@
+function beta2tracy
+% beta2tracy - Function for convering a beta lattice into a input tracy file
+
+%
+%% Written by Laurent S. Nadolski
+
+% TODO
+%  tested on Diamond file, need to test on SOLEIL file
+%  need to add special flag for soleil or generic (cf. slicing of elements and so on).
+%  To do for all elements
+%  To do for all parameters of all elements...
+
+fullFlag = 1; % expand the full lattice if periodicity
+DebugFlag =0;
+
+fileBeta='DLS713_NLBDWS.str';
+
+% Open beta file in read access only
+fid = fopen(fileBeta, 'r');
+
+% Determine the number of line of file
+fileLineNumber = 0;
+chunksize = 1e6;
+while ~feof(fid)
+    ch = fread(fid, chunksize, '*uchar');
+    if isempty(ch)
+        break
+    end
+    fileLineNumber = fileLineNumber + sum(ch == sprintf('\n'));
+end
+
+frewind(fid);
+
+
+% read BETA file and construct a structure
+% create the structure with the right size;
+fileStruct(fileLineNumber).tline = 'end of file';
+
+for k=1:fileLineNumber,
+    fileStruct(k).tline = fgetl(fid); % read line
+end
+
+fclose(fid);
+
+%% 
+for k =1:fileLineNumber,
+    if ~isempty(regexp(fileStruct(k).tline,'\*\*\* AUTHOR \*\*\*', 'once'))
+        authorStr = fileStruct(k+1).tline;
+    end
+    if ~isempty(regexp(fileStruct(k).tline,'\*\*\* TITRE \*\*\*', 'once'))
+        titleStr = fileStruct(k+1).tline;
+    end
+    if ~isempty(regexp(fileStruct(k).tline,'\*\*\* PERIOD \*\*\*', 'once'))
+        periodNumber = str2double(regexp(fileStruct(k+1).tline,'\s*(\d*)', 'match'));
+    end
+    if ~isempty(regexp(fileStruct(k).tline,'\*\*\* ENERGIE CINETIQUE \(MeV\) \*\*\*', 'once'))
+        energy = str2double(regexp(fileStruct(k+1).tline,'\s*[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)', 'match'));       
+    end
+    if ~isempty(regexp(fileStruct(k).tline,'\*\*\* LIST OF ELEMENTS \*\*\*', 'once'))
+        elemNumber = str2double(regexp(fileStruct(k+1).tline,'\s*(\d*)', 'match'));
+        elemNumberLine = k + 1;
+    end
+    if ~isempty(regexp(fileStruct(k).tline,'\*\*\* STRUCTURE \*\*\*', 'once'))
+        structureLineNumber = fix(str2double(regexp(fileStruct(k+1).tline,'\s*(\d*)', 'match'))/6);
+        structureLine = k+2;
+    end
+%     if ~isempty(regexp(fileStruct(k).tline,'\*\*\* OPTION \*\*\*', 'once'))
+%         optionStr = regexp(fileStruct(k+1).tline,'\s*(\d*)', 'match');
+%         optionLine = k+2;
+%     end
+end
+
+
+% Numeric expression
+%nE = '[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?';
+
+%%
+k = 1;
+
+while k <= elemNumber,
+    %fileStruct(elemNumberLine+k).tline
+    if ~isempty(regexp(fileStruct(elemNumberLine+k).tline, ' SD ', 'once'));
+        fileStruct(elemNumberLine+k).elem = regexp(fileStruct(elemNumberLine+k).tline, '\s*(?<name>\w*)\s*(?<type>\w*)\s*(?<length>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)', 'names');
+    elseif ~isempty(regexp(fileStruct(elemNumberLine+k).tline, ' OB', 'once'))
+        fileStruct(elemNumberLine+k).elem = regexp(fileStruct(elemNumberLine+k).tline, '\s*(?<name>\w*)\s*(?<type>\w*)', 'names');
+    elseif ~isempty(regexp(fileStruct(elemNumberLine+k).tline, ' QP ', 'once'))
+        fileStruct(elemNumberLine+k).elem = regexp(fileStruct(elemNumberLine+k).tline, '\s*(?<name>\w*)\s*(?<type>\w*)\s*(?<length>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<strength>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<temp1>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)', 'names');
+    elseif ~isempty(regexp(fileStruct(elemNumberLine+k).tline, ' SX ', 'once'))
+        fileStruct(elemNumberLine+k).elem = regexp(fileStruct(elemNumberLine+k).tline, '\s*(?<name>\w*)\s*(?<type>\w*)\s*(?<length>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<strength>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<temp1>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<temp2>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)', 'names');
+    elseif ~isempty(regexp(fileStruct(elemNumberLine+k).tline, ' BH ', 'once'))
+        fileStruct(elemNumberLine+k).elem = regexp(fileStruct(elemNumberLine+k).tline, '\s*(?<name>\w*)\s*(?<type>\w*)\s*(?<angle>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<radius>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<quadStrength>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<sextuStrength>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<edgeAngle>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)', 'names');
+        temp = regexp(fileStruct(elemNumberLine+k+1).tline, '\s*(?<fringeField>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<edgeCurvature>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*(?<K2>[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)', 'names');
+        fileStruct(elemNumberLine+k).elem.fringeField = temp.fringeField;
+        fileStruct(elemNumberLine+k).elem.edgeCurvature = temp.edgeCurvature;
+        fileStruct(elemNumberLine+k).elem.K2 = temp.K2;
+        k = k+1;
+    end
+%     fileStruct(elemNumberLine+k).elem:
+     k = k +1;
+end
+
+%% Start writing Tracy II input file
+
+[pathstr, name] = fileparts(fileBeta);
+
+fileTracy= [name '.lat'];
+
+fid = fopen(fileTracy, 'w+');
+fprintf(fid,'{*****************************************}\n');
+fprintf(fid,'{*                                       *}\n');
+fprintf(fid,'{* Lattice generated on %11s    *}\n', date);
+fprintf(fid,'{*    using beta2tracy.m       *}\n');
+fprintf(fid,'{*                             *}\n');
+fprintf(fid,'{* %s *}\n', titleStr);
+fprintf(fid,'{*                             *}\n');
+fprintf(fid,'{* Author: %s *}\n', authorStr);
+fprintf(fid,'{*                                       *}\n');
+fprintf(fid,'{*****************************************}\n');
+fprintf(fid,'\n');
+fprintf(fid,'define lattice; \n\n');
+fprintf(fid,'intmeth= 4; \n\n');
+fprintf(fid,'{***** System parameters *****}\n\n');
+fprintf(fid,'Energy= %f;    { GeV }\n', energy*1e-3);
+fprintf(fid,'dP    = 1.0d-10;\n');
+fprintf(fid,'CODeps= 1.0d-15;\n');
+fprintf(fid,'\n');
+fprintf(fid,'Nq=10; {Number of slices for quadrupoles} \n');
+fprintf(fid,'NqSx=10; {Number of slices for sextupoles} \n\n');
+
+fprintf(fid,'{*** Element list ***}\n\n');
+
+for k =elemNumberLine+1:elemNumber+elemNumberLine,
+    if isfield(fileStruct(k).elem, 'type')
+        if DebugFlag
+            fileStruct(k).elem
+        end
+        switch fileStruct(k).elem.type;
+            case 'SD'
+                fprintf(fid,'%s : drift, L= %f;\n', fileStruct(k).elem.name, ...
+                    str2double(fileStruct(k).elem.length));
+            case 'QP'
+                fprintf(fid,'%s : quadrupole, L= %f, k = %f, method=intmeth, N=Nq;\n', fileStruct(k).elem.name, ...
+                    str2double(fileStruct(k).elem.length), str2double(fileStruct(k).elem.strength));
+            case 'SX'
+                fprintf(fid,'%s : sextupole, L= %f, k = %f, method=intmeth, N=NqSx;\n', fileStruct(k).elem.name, ...
+                    str2double(fileStruct(k).elem.length), str2double(fileStruct(k).elem.strength));
+            case 'BH'
+                length_ = str2double(fileStruct(k).elem.angle)*str2double(fileStruct(k).elem.radius);
+                angle = str2double(fileStruct(k).elem.angle) * 180/pi; % Conversion in degrees
+                fprintf(fid,'%s : bending, L= %f, T = %f, T1 = %f, T2 = %f, K = %f, N=4, method=intmeth;\n', fileStruct(k).elem.name, ...
+                    length_, angle, angle/2, angle/2, str2double(fileStruct(k).elem.quadStrength));
+            case 'OB'
+                fprintf(fid,'%s : marker;\n', fileStruct(k).elem.name);
+        end
+    end
+end
+
+fprintf(fid,'\n{*** Special markers***} \nSTART : marker;\n');
+fprintf(fid,'FIN : marker;\n');
+
+
+fprintf(fid,'\n\n{*** Superperiods ***}\n\n');
+
+fprintf(fid,'PERIOD: START,\n');
+for k = structureLine:structureLine+structureLineNumber-1;
+    rep = regexp(fileStruct(k).tline,'\w*','match');
+    fprintf(fid,'%s, ', rep{:});
+    fprintf(fid,'\n');
+end
+fprintf(fid,'FIN;\n');
+
+if fullFlag
+    fprintf(fid,'\n\nRING: %d*PERIOD;\n', periodNumber);
+else
+    fprintf(fid,'\n\nRING: PERIOD;\n');
+end
+
+
+fprintf(fid,'\n{***** Define CELL structure ****}\n');
+if fullFlag
+    fprintf(fid,'CELL:	RING, symmetry = 1;\n\n');
+else
+    fprintf(fid,'CELL:	RING, symmetry = %d;\n\n', periodNumber);
+end
+fprintf(fid,'end;\n');
+
+fclose(fid);
+
+
+system(['nedit ' fileTracy ' &']);
+
Index: /trunk/machine/SOLEIL/common/naff/naffutils/datalabel.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/datalabel.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/datalabel.m	(revision 17)
@@ -0,0 +1,216 @@
+function datalabel(state,marker_color);
+%datalabel       Interactive labeling of data points on a plot
+%   datalabel with no arguments toggles the data tip state
+%   datalabel ON turns data tips on for the current figure
+%   datalabel OFF turns data tips off for the current figure
+%   datalabel('ON',S), where S is a character string specifying
+%     a marker and/or color will add the specified marker to
+%     the data tip.  Default is red circles: 'ro'
+%
+%     Click on a line to label the nearest data point.
+%     Click and drag on a data tip to move it.
+%     Right-Click on a data tip to delete it.
+%
+%	  Example: 
+%            t = 0:pi/50:2.5*pi;
+%            y = sin(t);
+%            plot(t,y);  %Try plot(y,t), too
+%            datalabel on
+%        %Click on lines to label values.
+%        %Click and drag to move.
+%        %Right click to delete.
+%            datalabel off
+%        %Existing data tips are locked in place; can't add more
+%            datalabel('on','.b');  %Add blue dots with next data tips
+%
+%   smh: 5/02:  Click on text to re-position text relative to data point
+%               Click on data point to move to a different value
+%
+% This function is provided as an example only.  It has not been
+% tested, and therefore, it is not officially supported by The
+% MathWorks, Inc.
+
+% Written by Scott Hirsch
+% shirsch@mathworks.com
+% Most of this code comes from MOVTEXT, by John Galenski III
+% (Mistakes are mine, though!)
+% Copyright (c) by The MathWorks, Inc. 1985-2002
+%
+
+
+if nargin == 0 | strcmp(state,'on') % Set the WindowButtonDownFcn
+    if nargin <2 , 
+        marker='o';  %none
+        color = 'r';
+    else
+        %Parse marker string
+        colors = 'bgrcmyk';
+        markers = '+o*.xsdv^><ph';
+        for ii=1:length(marker_color)
+            col_ind = strfind(colors,marker_color(ii));
+            if ~isempty(col_ind)        %It's a color
+                color = marker_color(ii);
+            else                        %Try a marker instead
+                mark_ind = strfind(markers,marker_color(ii));
+                if ~isempty(mark_ind)
+                    marker = marker_color(ii);
+                end;
+            end;
+        end;
+    end;
+    if ~exist('color','var'), color = 'r'; end; %set default
+    if ~exist('marker','var'), marker = '.'; end; %set default
+    %If the user specifies a color, but no marker, I use a dot.
+    
+    set(gcf,'WindowButtonDownFcn','datalabel down')
+    setappdata(gcf,'Marker',marker);
+    setappdata(gcf,'Color',color);
+    set(gcf,'DoubleBuffer','on');       %eliminate flicker
+    
+elseif strcmp(state,'down') % Execute the WindowButtonDownFcn
+    htype = get(gco,'Type');
+    tag = get(gco,'Tag');
+    marker = getappdata(gcf,'Marker');
+    color  = getappdata(gcf,'Color');
+    
+    if strcmp(htype,'line') & ~strcmp(tag,'Dot')     %Line - Add text object
+        %This is sloppy, but it works.  The marker is a line named 'Dot'
+        
+        %Look up nearest value on line.
+        
+        %User-selected point
+        cp = get(gca,'CurrentPoint');
+        x = cp(1,1);       %first xy values
+        y = cp(1,2);       %first xy values
+        
+        %Line data
+        xl = get(gco,'XData');
+        yl = get(gco,'YData');
+        
+        [xv,yv] = local_nearest(x,xl,y,yl);
+
+        
+        %For R13 or higher (MATLAB 6.5), use a background color on the text string
+        th = text(xv,yv,['  (' num2str(xv) ',' num2str(yv) ')']);
+        v=str2num(version('-release'));
+        if v>=6.5
+            set(th,'BackgroundColor','y');
+        end;
+        
+        
+        ph = line(xv,yv, ...
+            'Color',color, ...
+            'Marker',marker, ...
+            'Tag','Dot', ...
+            'UserData',[gco th], ...
+            'LineStyle','none');
+        
+        mh = uicontextmenu('Tag','DeleteObject', ...
+            'Callback','ud = get(gco,''UserData'');delete([gco ud(2)]);');
+        
+        set([th ph],'UIContextMenu',mh);
+        
+        set(th,'UserData',[gco ph]);     %Store handle to line
+    elseif strcmp(htype,'text') | strcmp(tag,'Dot')
+        set(gco,'EraseMode','xor')
+        set(gcf,'WindowButtonMotionFcn','datalabel move', ...
+            'WindowButtonUpFcn','datalabel up');
+    end
+    
+elseif strcmp(state,'move') % Execute the WindowButtonMotionFcn
+    htype = get(gco,'Type');
+    tag = get(gco,'Tag');
+    if ~isempty(gco)
+        %Is this the dot or the text
+        if strcmp(htype,'text')             %The text
+            th = gco;
+            handles = get(gco,'UserData');   
+            ph = handles(2);
+            slide = 0;      %Don't slide along line; just reposition text
+        else                                %The marker
+            ph = gco;
+            handles = get(gco,'UserData');   
+            th = handles(2);
+            slide = 1;      %Slide along line to next data point
+        end;
+        
+        cp = get(gca,'CurrentPoint');
+        pt = cp(1,[1 2]);
+        
+        %Constrain to Line
+        lh = handles(1);        %Line
+        
+        x = cp(1,1);       %first xy values
+        y = cp(1,2);       %first xy values
+        
+        if slide            %Move to new data value
+            xl = get(lh,'XData');
+            yl = get(lh,'YData');
+            
+            ax = axis;
+            
+            %Get nearest value
+            [xv,yv]=local_nearest(x,xl,y,yl);
+            
+            set(th,'Position', [xv yv 0],'String',['  (' num2str(xv) ',' num2str(yv) ')'])
+            set(ph,'XData',xv,'YData',yv);
+        else                %Just move text around.
+            set(th,'Position', [x y 0])
+        end;
+        
+        
+        drawnow
+    end;
+elseif strcmp(state,'up') % Execute the WindowButtonUpFcn
+    htype = get(gco,'Type');
+    tag = get(gco,'Tag');
+    if strcmp(htype,'text') | strcmp(tag,'Dot')
+        set(gco,'EraseMode','Normal')
+        set(gcf,'WindowButtonMotionFcn','')
+    end;
+elseif strcmp(state,'off') % Unset the WindowButton...Fcns
+    set(gcf,'WindowButtonDownFcn','','WindowButtonUpFcn','')
+end
+
+
+function [xv,yv]=local_nearest(x,xl,y,yl)
+%Inputs:
+% x   Selected x value
+% xl  Line Data (x)
+% y   Selected y value
+% yl  Line Data (y)
+%Find nearest value of [xl,yl] to (x,y)
+%Special Case: Line has a single non-singleton value
+if sum(isfinite(xl))==1
+    fin = find(isfinite(xl));
+    xv = xl(fin);
+    yv = yl(fin);
+else
+    %Normalize axes
+    xlmin = min(xl);
+    xlmax = max(xl);
+    ylmin = min(yl);
+    ylmax = max(yl);
+    
+    % xln = xl;
+    % xn = x;
+    % 
+    % yln = yl;
+    % yn = y;
+    xln = (xl - xlmin)./(xlmax - xlmin);
+    xn = (x - xlmin)./(xlmax - xlmin);
+    
+    yln = (yl - ylmin)./(ylmax - ylmin);
+    yn = (y - ylmin)./(ylmax - ylmin);
+    
+    %Find nearest point using our friend Ptyhagoras
+    a = xln - xn;       %Distance between x and the line
+    b = yln - yn;       %Distance between y and the line
+    c = (a.^2 + b.^2);  %Distance between point and line
+    %Don't need sqrt, since we get same answer anyway
+    [junk,ind] = min(c);
+    
+    %Nearest value on the line
+    xv = xl(ind);
+    yv = yl(ind);
+end;
Index: /trunk/machine/SOLEIL/common/naff/naffutils/dist_point_droite.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/dist_point_droite.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/dist_point_droite.m	(revision 17)
@@ -0,0 +1,28 @@
+function d = dist_point_droite(m1,m2,m3,pt)
+%% calcul la distance entre la droite et un point pt
+%% droite m1 *x + m2 *y =m3
+% pt =[0 2]
+% dist_point_droite(1,2,4,pt)
+
+%% centre de la fenetre
+P= [pt 0];
+
+%vecteur directeur normalise
+u = [-m2 m1 0];
+
+if (norm(u)~=0) 
+    u = u/norm(u);
+end
+
+% vecteur AP, ou A appartient a la droite et P est le centre de la fenetre
+if (m1 ~= 0)
+    A = [m3/m1 0 0];
+elseif (m2 ~=0)
+    A=[0 m3/m2 0];
+else
+    A=[0 0 0]
+end
+
+AP= P - A;
+
+d = norm(cross(AP,u),2);
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/chambre.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/chambre.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/chambre.out	(revision 17)
@@ -0,0 +1,1051 @@
+# TRACY II v. SYNCHROTRON SOLEIL -- chambre.out -- Mon Feb 16 09:22:31 2004 
+#  i  name      s   -xch(mm)   +xch(mm)  zch (mm)
+#
+   1  debut    0.00  -1000.000  1000.000  1000.000
+   2  sd1a     0.90  -1000.000  1000.000  1000.000
+   3  ssep     0.90  -1000.000  1000.000  1000.000
+   4  sep      1.10  -1000.000  1000.000  1000.000
+   5  sep      1.30  -1000.000  1000.000  1000.000
+   6  sep      1.50  -1000.000  1000.000  1000.000
+   7  esep     1.50  -1000.000  1000.000  1000.000
+   8  sd1c     5.20  -1000.000  1000.000  1000.000
+   9  ehu60    5.20  -1000.000  1000.000  1000.000
+  10  sd1d     6.00  -1000.000  1000.000  1000.000
+  11  qp1      6.16  -1000.000  1000.000  1000.000
+  12  qp1      6.32  -1000.000  1000.000  1000.000
+  13  sd2      6.71  -1000.000  1000.000  1000.000
+  14  sx1      6.71  -1000.000  1000.000  1000.000
+  15  sd3      6.91  -1000.000  1000.000  1000.000
+  16  qp2      7.14  -1000.000  1000.000  1000.000
+  17  qp2      7.37  -1000.000  1000.000  1000.000
+  18  sd14     7.96  -1000.000  1000.000  1000.000
+  19  qp3      8.12  -1000.000  1000.000  1000.000
+  20  qp3      8.28  -1000.000  1000.000  1000.000
+  21  sd5      8.48  -1000.000  1000.000  1000.000
+  22  sx2      8.48  -1000.000  1000.000  1000.000
+  23  sd6      9.27  -1000.000  1000.000  1000.000
+  24  bend2    9.45  -1000.000  1000.000  1000.000
+  25  bend3    9.62  -1000.000  1000.000  1000.000
+  26  bend3    9.80  -1000.000  1000.000  1000.000
+  27  bend3    9.97  -1000.000  1000.000  1000.000
+  28  bend3   10.15  -1000.000  1000.000  1000.000
+  29  bend4   10.32  -1000.000  1000.000  1000.000
+  30  sd7     10.76  -1000.000  1000.000  1000.000
+  31  qp4     10.92  -1000.000  1000.000  1000.000
+  32  qp4     11.08  -1000.000  1000.000  1000.000
+  33  sd8     11.28  -1000.000  1000.000  1000.000
+  34  sx3     11.28  -1000.000  1000.000  1000.000
+  35  sd9     11.76  -1000.000  1000.000  1000.000
+  36  qp5     11.92  -1000.000  1000.000  1000.000
+  37  qp5     12.08  -1000.000  1000.000  1000.000
+  38  sd12    12.55  -1000.000  1000.000  1000.000
+  39  sx4     12.55  -1000.000  1000.000  1000.000
+  40  sd10    13.02  -1000.000  1000.000  1000.000
+  41  qp5     13.18  -1000.000  1000.000  1000.000
+  42  qp5     13.34  -1000.000  1000.000  1000.000
+  43  sd9     13.82  -1000.000  1000.000  1000.000
+  44  sx3     13.82  -1000.000  1000.000  1000.000
+  45  sd8     14.02  -1000.000  1000.000  1000.000
+  46  qp4     14.18  -1000.000  1000.000  1000.000
+  47  qp4     14.34  -1000.000  1000.000  1000.000
+  48  sd7     14.78  -1000.000  1000.000  1000.000
+  49  bend2   14.95  -1000.000  1000.000  1000.000
+  50  bend3   15.13  -1000.000  1000.000  1000.000
+  51  bend3   15.30  -1000.000  1000.000  1000.000
+  52  bend3   15.48  -1000.000  1000.000  1000.000
+  53  bend3   15.65  -1000.000  1000.000  1000.000
+  54  bend4   15.83  -1000.000  1000.000  1000.000
+  55  sd7     16.27  -1000.000  1000.000  1000.000
+  56  qp6     16.43  -1000.000  1000.000  1000.000
+  57  qp6     16.59  -1000.000  1000.000  1000.000
+  58  sd5     16.79  -1000.000  1000.000  1000.000
+  59  sx5     16.79  -1000.000  1000.000  1000.000
+  60  sd4     17.18  -1000.000  1000.000  1000.000
+  61  qp7     17.41  -1000.000  1000.000  1000.000
+  62  qp7     17.64  -1000.000  1000.000  1000.000
+  63  sd3     17.84  -1000.000  1000.000  1000.000
+  64  sx6     17.84  -1000.000  1000.000  1000.000
+  65  sd2     18.23  -1000.000  1000.000  1000.000
+  66  qp8     18.39  -1000.000  1000.000  1000.000
+  67  qp8     18.55  -1000.000  1000.000  1000.000
+  68  sd13c   19.28  -1000.000  1000.000  1000.000
+  69  ssdm    19.28  -1000.000  1000.000  1000.000
+  70  sd13a   19.48  -1000.000  1000.000  1000.000
+  71  sd13a   19.68  -1000.000  1000.000  1000.000
+  72  sd13a   19.88  -1000.000  1000.000  1000.000
+  73  sd13a   20.08  -1000.000  1000.000  1000.000
+  74  sd13a   20.28  -1000.000  1000.000  1000.000
+  75  sd13a   20.48  -1000.000  1000.000  1000.000
+  76  sd13a   20.68  -1000.000  1000.000  1000.000
+  77  sd13a   20.88  -1000.000  1000.000  1000.000
+  78  sd13a   21.08  -1000.000  1000.000  1000.000
+  79  sd13a   21.28  -1000.000  1000.000  1000.000
+  80  sd13a   21.48  -1000.000  1000.000  1000.000
+  81  sd13a   21.68  -1000.000  1000.000  1000.000
+  82  sd13a   21.88  -1000.000  1000.000  1000.000
+  83  sd13b   22.03  -1000.000  1000.000  1000.000
+  84  sd13b   22.18  -1000.000  1000.000  1000.000
+  85  sd13a   22.38  -1000.000  1000.000  1000.000
+  86  sd13a   22.58  -1000.000  1000.000  1000.000
+  87  sd13a   22.78  -1000.000  1000.000  1000.000
+  88  sd13a   22.98  -1000.000  1000.000  1000.000
+  89  sd13a   23.18  -1000.000  1000.000  1000.000
+  90  sd13a   23.38  -1000.000  1000.000  1000.000
+  91  sd13a   23.58  -1000.000  1000.000  1000.000
+  92  sd13a   23.78  -1000.000  1000.000  1000.000
+  93  sd13a   23.98  -1000.000  1000.000  1000.000
+  94  sd13a   24.18  -1000.000  1000.000  1000.000
+  95  sd13a   24.38  -1000.000  1000.000  1000.000
+  96  sd13a   24.58  -1000.000  1000.000  1000.000
+  97  sd13a   24.78  -1000.000  1000.000  1000.000
+  98  esdm    24.78  -1000.000  1000.000  1000.000
+  99  eesdm   24.78  -1000.000  1000.000  1000.000
+ 100  sd13c   25.51  -1000.000  1000.000  1000.000
+ 101  qp8     25.67  -1000.000  1000.000  1000.000
+ 102  qp8     25.83  -1000.000  1000.000  1000.000
+ 103  sd2     26.22  -1000.000  1000.000  1000.000
+ 104  sx8     26.22  -1000.000  1000.000  1000.000
+ 105  sd3     26.42  -1000.000  1000.000  1000.000
+ 106  qp7     26.65  -1000.000  1000.000  1000.000
+ 107  qp7     26.88  -1000.000  1000.000  1000.000
+ 108  sd4     27.27  -1000.000  1000.000  1000.000
+ 109  sx7     27.27  -1000.000  1000.000  1000.000
+ 110  sd5     27.47  -1000.000  1000.000  1000.000
+ 111  qp6     27.63  -1000.000  1000.000  1000.000
+ 112  qp6     27.79  -1000.000  1000.000  1000.000
+ 113  sd7     28.23  -1000.000  1000.000  1000.000
+ 114  bend2   28.41  -1000.000  1000.000  1000.000
+ 115  bend3   28.58  -1000.000  1000.000  1000.000
+ 116  bend3   28.76  -1000.000  1000.000  1000.000
+ 117  bend3   28.93  -1000.000  1000.000  1000.000
+ 118  bend3   29.11  -1000.000  1000.000  1000.000
+ 119  bend4   29.29  -1000.000  1000.000  1000.000
+ 120  sd7     29.73  -1000.000  1000.000  1000.000
+ 121  qp9     29.89  -1000.000  1000.000  1000.000
+ 122  qp9     30.05  -1000.000  1000.000  1000.000
+ 123  sd8     30.25  -1000.000  1000.000  1000.000
+ 124  sx9     30.25  -1000.000  1000.000  1000.000
+ 125  sd9     30.72  -1000.000  1000.000  1000.000
+ 126  qp10    30.88  -1000.000  1000.000  1000.000
+ 127  qp10    31.04  -1000.000  1000.000  1000.000
+ 128  sd8     31.24  -1000.000  1000.000  1000.000
+ 129  sx10    31.24  -1000.000  1000.000  1000.000
+ 130  sdac1   32.25  -1000.000  1000.000  1000.000
+ 131  ssdac   32.25  -1000.000  1000.000  1000.000
+ 132  sdac2   32.45  -1000.000  1000.000  1000.000
+ 133  sdac2   32.65  -1000.000  1000.000  1000.000
+ 134  sdac2   32.85  -1000.000  1000.000  1000.000
+ 135  sdac2   33.05  -1000.000  1000.000  1000.000
+ 136  sdac2   33.25  -1000.000  1000.000  1000.000
+ 137  sdac2   33.45  -1000.000  1000.000  1000.000
+ 138  sdac2   33.65  -1000.000  1000.000  1000.000
+ 139  sdac2   33.85  -1000.000  1000.000  1000.000
+ 140  sdac2   34.05  -1000.000  1000.000  1000.000
+ 141  esdac   34.05  -1000.000  1000.000  1000.000
+ 142  sdac1   35.05  -1000.000  1000.000  1000.000
+ 143  sx10    35.05  -1000.000  1000.000  1000.000
+ 144  sd8     35.25  -1000.000  1000.000  1000.000
+ 145  qp10    35.41  -1000.000  1000.000  1000.000
+ 146  qp10    35.57  -1000.000  1000.000  1000.000
+ 147  sd9     36.05  -1000.000  1000.000  1000.000
+ 148  sx9     36.05  -1000.000  1000.000  1000.000
+ 149  sd8     36.25  -1000.000  1000.000  1000.000
+ 150  qp9     36.41  -1000.000  1000.000  1000.000
+ 151  qp9     36.57  -1000.000  1000.000  1000.000
+ 152  sd7     37.01  -1000.000  1000.000  1000.000
+ 153  bend2   37.18  -1000.000  1000.000  1000.000
+ 154  bend3   37.36  -1000.000  1000.000  1000.000
+ 155  bend3   37.53  -1000.000  1000.000  1000.000
+ 156  bend3   37.71  -1000.000  1000.000  1000.000
+ 157  bend3   37.88  -1000.000  1000.000  1000.000
+ 158  bend4   38.06  -1000.000  1000.000  1000.000
+ 159  sd7     38.50  -1000.000  1000.000  1000.000
+ 160  qp6     38.66  -1000.000  1000.000  1000.000
+ 161  qp6     38.82  -1000.000  1000.000  1000.000
+ 162  sd5     39.02  -1000.000  1000.000  1000.000
+ 163  sx7     39.02  -1000.000  1000.000  1000.000
+ 164  sd4     39.41  -1000.000  1000.000  1000.000
+ 165  qp7     39.64  -1000.000  1000.000  1000.000
+ 166  qp7     39.87  -1000.000  1000.000  1000.000
+ 167  sd3     40.07  -1000.000  1000.000  1000.000
+ 168  sx8     40.07  -1000.000  1000.000  1000.000
+ 169  sd2     40.46  -1000.000  1000.000  1000.000
+ 170  qp8     40.62  -1000.000  1000.000  1000.000
+ 171  qp8     40.78  -1000.000  1000.000  1000.000
+ 172  sd13c   41.51  -1000.000  1000.000  1000.000
+ 173  sd13a   41.71  -1000.000  1000.000  1000.000
+ 174  sd13a   41.91  -1000.000  1000.000  1000.000
+ 175  sd13a   42.11  -1000.000  1000.000  1000.000
+ 176  sd13a   42.31  -1000.000  1000.000  1000.000
+ 177  sd13a   42.51  -1000.000  1000.000  1000.000
+ 178  sd13a   42.71  -1000.000  1000.000  1000.000
+ 179  sd13a   42.91  -1000.000  1000.000  1000.000
+ 180  sd13a   43.11  -1000.000  1000.000  1000.000
+ 181  sd13a   43.31  -1000.000  1000.000  1000.000
+ 182  sd13a   43.51  -1000.000  1000.000  1000.000
+ 183  sd13a   43.71  -1000.000  1000.000  1000.000
+ 184  sd13a   43.91  -1000.000  1000.000  1000.000
+ 185  sd13a   44.11  -1000.000  1000.000  1000.000
+ 186  sd13b   44.26  -1000.000  1000.000  1000.000
+ 187  sd13b   44.41  -1000.000  1000.000  1000.000
+ 188  sd13a   44.61  -1000.000  1000.000  1000.000
+ 189  sd13a   44.81  -1000.000  1000.000  1000.000
+ 190  sd13a   45.01  -1000.000  1000.000  1000.000
+ 191  sd13a   45.21  -1000.000  1000.000  1000.000
+ 192  sd13a   45.41  -1000.000  1000.000  1000.000
+ 193  sd13a   45.61  -1000.000  1000.000  1000.000
+ 194  sd13a   45.81  -1000.000  1000.000  1000.000
+ 195  sd13a   46.01  -1000.000  1000.000  1000.000
+ 196  sd13a   46.21  -1000.000  1000.000  1000.000
+ 197  sd13a   46.41  -1000.000  1000.000  1000.000
+ 198  sd13a   46.61  -1000.000  1000.000  1000.000
+ 199  sd13a   46.81  -1000.000  1000.000  1000.000
+ 200  sd13a   47.01  -1000.000  1000.000  1000.000
+ 201  sd13c   47.74  -1000.000  1000.000  1000.000
+ 202  qp8     47.90  -1000.000  1000.000  1000.000
+ 203  qp8     48.06  -1000.000  1000.000  1000.000
+ 204  sd2     48.45  -1000.000  1000.000  1000.000
+ 205  sx8     48.45  -1000.000  1000.000  1000.000
+ 206  sd3     48.65  -1000.000  1000.000  1000.000
+ 207  qp7     48.88  -1000.000  1000.000  1000.000
+ 208  qp7     49.11  -1000.000  1000.000  1000.000
+ 209  sd4     49.50  -1000.000  1000.000  1000.000
+ 210  sx7     49.50  -1000.000  1000.000  1000.000
+ 211  sd5     49.70  -1000.000  1000.000  1000.000
+ 212  qp6     49.86  -1000.000  1000.000  1000.000
+ 213  qp6     50.02  -1000.000  1000.000  1000.000
+ 214  sd7     50.46  -1000.000  1000.000  1000.000
+ 215  bend2   50.64  -1000.000  1000.000  1000.000
+ 216  bend3   50.82  -1000.000  1000.000  1000.000
+ 217  bend3   50.99  -1000.000  1000.000  1000.000
+ 218  bend3   51.17  -1000.000  1000.000  1000.000
+ 219  bend3   51.34  -1000.000  1000.000  1000.000
+ 220  bend4   51.52  -1000.000  1000.000  1000.000
+ 221  sd7     51.96  -1000.000  1000.000  1000.000
+ 222  qp9     52.12  -1000.000  1000.000  1000.000
+ 223  qp9     52.28  -1000.000  1000.000  1000.000
+ 224  sd8     52.48  -1000.000  1000.000  1000.000
+ 225  sx9     52.48  -1000.000  1000.000  1000.000
+ 226  sd9     52.95  -1000.000  1000.000  1000.000
+ 227  qp10    53.11  -1000.000  1000.000  1000.000
+ 228  qp10    53.27  -1000.000  1000.000  1000.000
+ 229  sd8     53.47  -1000.000  1000.000  1000.000
+ 230  sx10    53.47  -1000.000  1000.000  1000.000
+ 231  sdac    55.38  -1000.000  1000.000  1000.000
+ 232  sdac    57.28  -1000.000  1000.000  1000.000
+ 233  sx10    57.28  -1000.000  1000.000  1000.000
+ 234  sd8     57.48  -1000.000  1000.000  1000.000
+ 235  qp10    57.64  -1000.000  1000.000  1000.000
+ 236  qp10    57.80  -1000.000  1000.000  1000.000
+ 237  sd9     58.28  -1000.000  1000.000  1000.000
+ 238  sx9     58.28  -1000.000  1000.000  1000.000
+ 239  sd8     58.48  -1000.000  1000.000  1000.000
+ 240  qp9     58.64  -1000.000  1000.000  1000.000
+ 241  qp9     58.80  -1000.000  1000.000  1000.000
+ 242  sd7     59.24  -1000.000  1000.000  1000.000
+ 243  bend2   59.41  -1000.000  1000.000  1000.000
+ 244  bend3   59.59  -1000.000  1000.000  1000.000
+ 245  bend3   59.77  -1000.000  1000.000  1000.000
+ 246  bend3   59.94  -1000.000  1000.000  1000.000
+ 247  bend3   60.12  -1000.000  1000.000  1000.000
+ 248  bend4   60.29  -1000.000  1000.000  1000.000
+ 249  sd7     60.73  -1000.000  1000.000  1000.000
+ 250  qp6     60.89  -1000.000  1000.000  1000.000
+ 251  qp6     61.05  -1000.000  1000.000  1000.000
+ 252  sd5     61.25  -1000.000  1000.000  1000.000
+ 253  sx7     61.25  -1000.000  1000.000  1000.000
+ 254  sd4     61.64  -1000.000  1000.000  1000.000
+ 255  qp7     61.87  -1000.000  1000.000  1000.000
+ 256  qp7     62.10  -1000.000  1000.000  1000.000
+ 257  sd3     62.30  -1000.000  1000.000  1000.000
+ 258  sx8     62.30  -1000.000  1000.000  1000.000
+ 259  sd2     62.69  -1000.000  1000.000  1000.000
+ 260  qp8     62.85  -1000.000  1000.000  1000.000
+ 261  qp8     63.01  -1000.000  1000.000  1000.000
+ 262  sd13    66.49  -1000.000  1000.000  1000.000
+ 263  sd13    69.98  -1000.000  1000.000  1000.000
+ 264  qp8     70.14  -1000.000  1000.000  1000.000
+ 265  qp8     70.30  -1000.000  1000.000  1000.000
+ 266  sd2     70.69  -1000.000  1000.000  1000.000
+ 267  sx6     70.69  -1000.000  1000.000  1000.000
+ 268  sd3     70.89  -1000.000  1000.000  1000.000
+ 269  qp7     71.12  -1000.000  1000.000  1000.000
+ 270  qp7     71.35  -1000.000  1000.000  1000.000
+ 271  sd4     71.74  -1000.000  1000.000  1000.000
+ 272  sx5     71.74  -1000.000  1000.000  1000.000
+ 273  sd5     71.94  -1000.000  1000.000  1000.000
+ 274  qp6     72.10  -1000.000  1000.000  1000.000
+ 275  qp6     72.26  -1000.000  1000.000  1000.000
+ 276  sd7     72.70  -1000.000  1000.000  1000.000
+ 277  bend2   72.87  -1000.000  1000.000  1000.000
+ 278  bend3   73.05  -1000.000  1000.000  1000.000
+ 279  bend3   73.22  -1000.000  1000.000  1000.000
+ 280  bend3   73.40  -1000.000  1000.000  1000.000
+ 281  bend3   73.57  -1000.000  1000.000  1000.000
+ 282  bend4   73.75  -1000.000  1000.000  1000.000
+ 283  sd7     74.19  -1000.000  1000.000  1000.000
+ 284  qp4     74.35  -1000.000  1000.000  1000.000
+ 285  qp4     74.51  -1000.000  1000.000  1000.000
+ 286  sd8     74.71  -1000.000  1000.000  1000.000
+ 287  sx3     74.71  -1000.000  1000.000  1000.000
+ 288  sd9     75.19  -1000.000  1000.000  1000.000
+ 289  qp5     75.35  -1000.000  1000.000  1000.000
+ 290  qp5     75.51  -1000.000  1000.000  1000.000
+ 291  sd10    75.98  -1000.000  1000.000  1000.000
+ 292  sx4     75.98  -1000.000  1000.000  1000.000
+ 293  sd12    76.45  -1000.000  1000.000  1000.000
+ 294  qp5     76.61  -1000.000  1000.000  1000.000
+ 295  qp5     76.77  -1000.000  1000.000  1000.000
+ 296  sd9     77.24  -1000.000  1000.000  1000.000
+ 297  sx3     77.24  -1000.000  1000.000  1000.000
+ 298  sd8     77.44  -1000.000  1000.000  1000.000
+ 299  qp4     77.60  -1000.000  1000.000  1000.000
+ 300  qp4     77.76  -1000.000  1000.000  1000.000
+ 301  sd7     78.20  -1000.000  1000.000  1000.000
+ 302  bend2   78.38  -1000.000  1000.000  1000.000
+ 303  bend3   78.55  -1000.000  1000.000  1000.000
+ 304  bend3   78.73  -1000.000  1000.000  1000.000
+ 305  bend3   78.90  -1000.000  1000.000  1000.000
+ 306  bend3   79.08  -1000.000  1000.000  1000.000
+ 307  bend4   79.25  -1000.000  1000.000  1000.000
+ 308  sd6     80.04  -1000.000  1000.000  1000.000
+ 309  sx2     80.04  -1000.000  1000.000  1000.000
+ 310  sd5     80.24  -1000.000  1000.000  1000.000
+ 311  qp3     80.40  -1000.000  1000.000  1000.000
+ 312  qp3     80.56  -1000.000  1000.000  1000.000
+ 313  sd14    81.15  -1000.000  1000.000  1000.000
+ 314  qp2     81.38  -1000.000  1000.000  1000.000
+ 315  qp2     81.61  -1000.000  1000.000  1000.000
+ 316  sd3     81.81  -1000.000  1000.000  1000.000
+ 317  sx1     81.81  -1000.000  1000.000  1000.000
+ 318  sd2     82.20  -1000.000  1000.000  1000.000
+ 319  qp1     82.36  -1000.000  1000.000  1000.000
+ 320  qp1     82.52  -1000.000  1000.000  1000.000
+ 321  sd1     88.52  -1000.000  1000.000  1000.000
+ 322  sd1     94.52  -1000.000  1000.000  1000.000
+ 323  qp1     94.68  -1000.000  1000.000  1000.000
+ 324  qp1     94.84  -1000.000  1000.000  1000.000
+ 325  sd2     95.23  -1000.000  1000.000  1000.000
+ 326  sx1     95.23  -1000.000  1000.000  1000.000
+ 327  sd3     95.43  -1000.000  1000.000  1000.000
+ 328  qp2     95.66  -1000.000  1000.000  1000.000
+ 329  qp2     95.89  -1000.000  1000.000  1000.000
+ 330  sd14    96.48  -1000.000  1000.000  1000.000
+ 331  qp3     96.64  -1000.000  1000.000  1000.000
+ 332  qp3     96.80  -1000.000  1000.000  1000.000
+ 333  sd5     97.00  -1000.000  1000.000  1000.000
+ 334  sx2     97.00  -1000.000  1000.000  1000.000
+ 335  sd6     97.79  -1000.000  1000.000  1000.000
+ 336  bend2   97.97  -1000.000  1000.000  1000.000
+ 337  bend3   98.14  -1000.000  1000.000  1000.000
+ 338  bend3   98.32  -1000.000  1000.000  1000.000
+ 339  bend3   98.50  -1000.000  1000.000  1000.000
+ 340  bend3   98.67  -1000.000  1000.000  1000.000
+ 341  bend4   98.85  -1000.000  1000.000  1000.000
+ 342  sd7     99.29  -1000.000  1000.000  1000.000
+ 343  qp4     99.45  -1000.000  1000.000  1000.000
+ 344  qp4     99.61  -1000.000  1000.000  1000.000
+ 345  sd8     99.81  -1000.000  1000.000  1000.000
+ 346  sx3     99.81  -1000.000  1000.000  1000.000
+ 347  sd9    100.28  -1000.000  1000.000  1000.000
+ 348  qp5    100.44  -1000.000  1000.000  1000.000
+ 349  qp5    100.60  -1000.000  1000.000  1000.000
+ 350  sd12   101.07  -1000.000  1000.000  1000.000
+ 351  sx4    101.07  -1000.000  1000.000  1000.000
+ 352  sd10   101.54  -1000.000  1000.000  1000.000
+ 353  qp5    101.70  -1000.000  1000.000  1000.000
+ 354  qp5    101.86  -1000.000  1000.000  1000.000
+ 355  sd9    102.34  -1000.000  1000.000  1000.000
+ 356  sx3    102.34  -1000.000  1000.000  1000.000
+ 357  sd8    102.54  -1000.000  1000.000  1000.000
+ 358  qp4    102.70  -1000.000  1000.000  1000.000
+ 359  qp4    102.86  -1000.000  1000.000  1000.000
+ 360  sd7    103.30  -1000.000  1000.000  1000.000
+ 361  bend2  103.47  -1000.000  1000.000  1000.000
+ 362  bend3  103.65  -1000.000  1000.000  1000.000
+ 363  bend3  103.83  -1000.000  1000.000  1000.000
+ 364  bend3  104.00  -1000.000  1000.000  1000.000
+ 365  bend3  104.18  -1000.000  1000.000  1000.000
+ 366  bend4  104.35  -1000.000  1000.000  1000.000
+ 367  sd7    104.79  -1000.000  1000.000  1000.000
+ 368  qp6    104.95  -1000.000  1000.000  1000.000
+ 369  qp6    105.11  -1000.000  1000.000  1000.000
+ 370  sd5    105.31  -1000.000  1000.000  1000.000
+ 371  sx5    105.31  -1000.000  1000.000  1000.000
+ 372  sd4    105.70  -1000.000  1000.000  1000.000
+ 373  qp7    105.93  -1000.000  1000.000  1000.000
+ 374  qp7    106.16  -1000.000  1000.000  1000.000
+ 375  sd3    106.36  -1000.000  1000.000  1000.000
+ 376  sx6    106.36  -1000.000  1000.000  1000.000
+ 377  sd2    106.75  -1000.000  1000.000  1000.000
+ 378  qp8    106.91  -1000.000  1000.000  1000.000
+ 379  qp8    107.07  -1000.000  1000.000  1000.000
+ 380  sd13   110.55  -1000.000  1000.000  1000.000
+ 381  sd13   114.04  -1000.000  1000.000  1000.000
+ 382  qp8    114.20  -1000.000  1000.000  1000.000
+ 383  qp8    114.36  -1000.000  1000.000  1000.000
+ 384  sd2    114.75  -1000.000  1000.000  1000.000
+ 385  sx8    114.75  -1000.000  1000.000  1000.000
+ 386  sd3    114.95  -1000.000  1000.000  1000.000
+ 387  qp7    115.18  -1000.000  1000.000  1000.000
+ 388  qp7    115.41  -1000.000  1000.000  1000.000
+ 389  sd4    115.80  -1000.000  1000.000  1000.000
+ 390  sx7    115.80  -1000.000  1000.000  1000.000
+ 391  sd5    116.00  -1000.000  1000.000  1000.000
+ 392  qp6    116.16  -1000.000  1000.000  1000.000
+ 393  qp6    116.32  -1000.000  1000.000  1000.000
+ 394  sd7    116.76  -1000.000  1000.000  1000.000
+ 395  bend2  116.93  -1000.000  1000.000  1000.000
+ 396  bend3  117.11  -1000.000  1000.000  1000.000
+ 397  bend3  117.28  -1000.000  1000.000  1000.000
+ 398  bend3  117.46  -1000.000  1000.000  1000.000
+ 399  bend3  117.63  -1000.000  1000.000  1000.000
+ 400  bend4  117.81  -1000.000  1000.000  1000.000
+ 401  sd7    118.25  -1000.000  1000.000  1000.000
+ 402  qp9    118.41  -1000.000  1000.000  1000.000
+ 403  qp9    118.57  -1000.000  1000.000  1000.000
+ 404  sd8    118.77  -1000.000  1000.000  1000.000
+ 405  sx9    118.77  -1000.000  1000.000  1000.000
+ 406  sd9    119.25  -1000.000  1000.000  1000.000
+ 407  qp10   119.41  -1000.000  1000.000  1000.000
+ 408  qp10   119.57  -1000.000  1000.000  1000.000
+ 409  sd8    119.77  -1000.000  1000.000  1000.000
+ 410  sx10   119.77  -1000.000  1000.000  1000.000
+ 411  sdac   121.67  -1000.000  1000.000  1000.000
+ 412  sdac   123.57  -1000.000  1000.000  1000.000
+ 413  sx10   123.57  -1000.000  1000.000  1000.000
+ 414  sd8    123.77  -1000.000  1000.000  1000.000
+ 415  qp10   123.93  -1000.000  1000.000  1000.000
+ 416  qp10   124.09  -1000.000  1000.000  1000.000
+ 417  sd9    124.57  -1000.000  1000.000  1000.000
+ 418  sx9    124.57  -1000.000  1000.000  1000.000
+ 419  sd8    124.77  -1000.000  1000.000  1000.000
+ 420  qp9    124.93  -1000.000  1000.000  1000.000
+ 421  qp9    125.09  -1000.000  1000.000  1000.000
+ 422  sd7    125.53  -1000.000  1000.000  1000.000
+ 423  bend2  125.71  -1000.000  1000.000  1000.000
+ 424  bend3  125.88  -1000.000  1000.000  1000.000
+ 425  bend3  126.06  -1000.000  1000.000  1000.000
+ 426  bend3  126.23  -1000.000  1000.000  1000.000
+ 427  bend3  126.41  -1000.000  1000.000  1000.000
+ 428  bend4  126.58  -1000.000  1000.000  1000.000
+ 429  sd7    127.02  -1000.000  1000.000  1000.000
+ 430  qp6    127.18  -1000.000  1000.000  1000.000
+ 431  qp6    127.34  -1000.000  1000.000  1000.000
+ 432  sd5    127.54  -1000.000  1000.000  1000.000
+ 433  sx7    127.54  -1000.000  1000.000  1000.000
+ 434  sd4    127.93  -1000.000  1000.000  1000.000
+ 435  qp7    128.16  -1000.000  1000.000  1000.000
+ 436  qp7    128.39  -1000.000  1000.000  1000.000
+ 437  sd3    128.59  -1000.000  1000.000  1000.000
+ 438  sx8    128.59  -1000.000  1000.000  1000.000
+ 439  sd2    128.98  -1000.000  1000.000  1000.000
+ 440  qp8    129.14  -1000.000  1000.000  1000.000
+ 441  qp8    129.30  -1000.000  1000.000  1000.000
+ 442  sd13   132.79  -1000.000  1000.000  1000.000
+ 443  sd13   136.27  -1000.000  1000.000  1000.000
+ 444  qp8    136.43  -1000.000  1000.000  1000.000
+ 445  qp8    136.59  -1000.000  1000.000  1000.000
+ 446  sd2    136.98  -1000.000  1000.000  1000.000
+ 447  sx8    136.98  -1000.000  1000.000  1000.000
+ 448  sd3    137.18  -1000.000  1000.000  1000.000
+ 449  qp7    137.41  -1000.000  1000.000  1000.000
+ 450  qp7    137.64  -1000.000  1000.000  1000.000
+ 451  sd4    138.03  -1000.000  1000.000  1000.000
+ 452  sx7    138.03  -1000.000  1000.000  1000.000
+ 453  sd5    138.23  -1000.000  1000.000  1000.000
+ 454  qp6    138.39  -1000.000  1000.000  1000.000
+ 455  qp6    138.55  -1000.000  1000.000  1000.000
+ 456  sd7    138.99  -1000.000  1000.000  1000.000
+ 457  bend2  139.16  -1000.000  1000.000  1000.000
+ 458  bend3  139.34  -1000.000  1000.000  1000.000
+ 459  bend3  139.52  -1000.000  1000.000  1000.000
+ 460  bend3  139.69  -1000.000  1000.000  1000.000
+ 461  bend3  139.87  -1000.000  1000.000  1000.000
+ 462  bend4  140.04  -1000.000  1000.000  1000.000
+ 463  sd7    140.48  -1000.000  1000.000  1000.000
+ 464  qp9    140.64  -1000.000  1000.000  1000.000
+ 465  qp9    140.80  -1000.000  1000.000  1000.000
+ 466  sd8    141.00  -1000.000  1000.000  1000.000
+ 467  sx9    141.00  -1000.000  1000.000  1000.000
+ 468  sd9    141.48  -1000.000  1000.000  1000.000
+ 469  qp10   141.64  -1000.000  1000.000  1000.000
+ 470  qp10   141.80  -1000.000  1000.000  1000.000
+ 471  sd8    142.00  -1000.000  1000.000  1000.000
+ 472  sx10   142.00  -1000.000  1000.000  1000.000
+ 473  sdac   143.90  -1000.000  1000.000  1000.000
+ 474  sdac   145.81  -1000.000  1000.000  1000.000
+ 475  sx10   145.81  -1000.000  1000.000  1000.000
+ 476  sd8    146.01  -1000.000  1000.000  1000.000
+ 477  qp10   146.17  -1000.000  1000.000  1000.000
+ 478  qp10   146.33  -1000.000  1000.000  1000.000
+ 479  sd9    146.80  -1000.000  1000.000  1000.000
+ 480  sx9    146.80  -1000.000  1000.000  1000.000
+ 481  sd8    147.00  -1000.000  1000.000  1000.000
+ 482  qp9    147.16  -1000.000  1000.000  1000.000
+ 483  qp9    147.32  -1000.000  1000.000  1000.000
+ 484  sd7    147.76  -1000.000  1000.000  1000.000
+ 485  bend2  147.94  -1000.000  1000.000  1000.000
+ 486  bend3  148.11  -1000.000  1000.000  1000.000
+ 487  bend3  148.29  -1000.000  1000.000  1000.000
+ 488  bend3  148.46  -1000.000  1000.000  1000.000
+ 489  bend3  148.64  -1000.000  1000.000  1000.000
+ 490  bend4  148.82  -1000.000  1000.000  1000.000
+ 491  sd7    149.26  -1000.000  1000.000  1000.000
+ 492  qp6    149.42  -1000.000  1000.000  1000.000
+ 493  qp6    149.58  -1000.000  1000.000  1000.000
+ 494  sd5    149.78  -1000.000  1000.000  1000.000
+ 495  sx7    149.78  -1000.000  1000.000  1000.000
+ 496  sd4    150.17  -1000.000  1000.000  1000.000
+ 497  qp7    150.40  -1000.000  1000.000  1000.000
+ 498  qp7    150.63  -1000.000  1000.000  1000.000
+ 499  sd3    150.83  -1000.000  1000.000  1000.000
+ 500  sx8    150.83  -1000.000  1000.000  1000.000
+ 501  sd2    151.22  -1000.000  1000.000  1000.000
+ 502  qp8    151.38  -1000.000  1000.000  1000.000
+ 503  qp8    151.54  -1000.000  1000.000  1000.000
+ 504  sd13   155.02  -1000.000  1000.000  1000.000
+ 505  sd13   158.50  -1000.000  1000.000  1000.000
+ 506  qp8    158.66  -1000.000  1000.000  1000.000
+ 507  qp8    158.82  -1000.000  1000.000  1000.000
+ 508  sd2    159.21  -1000.000  1000.000  1000.000
+ 509  sx6    159.21  -1000.000  1000.000  1000.000
+ 510  sd3    159.41  -1000.000  1000.000  1000.000
+ 511  qp7    159.64  -1000.000  1000.000  1000.000
+ 512  qp7    159.87  -1000.000  1000.000  1000.000
+ 513  sd4    160.26  -1000.000  1000.000  1000.000
+ 514  sx5    160.26  -1000.000  1000.000  1000.000
+ 515  sd5    160.46  -1000.000  1000.000  1000.000
+ 516  qp6    160.62  -1000.000  1000.000  1000.000
+ 517  qp6    160.78  -1000.000  1000.000  1000.000
+ 518  sd7    161.22  -1000.000  1000.000  1000.000
+ 519  bend2  161.40  -1000.000  1000.000  1000.000
+ 520  bend3  161.57  -1000.000  1000.000  1000.000
+ 521  bend3  161.75  -1000.000  1000.000  1000.000
+ 522  bend3  161.92  -1000.000  1000.000  1000.000
+ 523  bend3  162.10  -1000.000  1000.000  1000.000
+ 524  bend4  162.27  -1000.000  1000.000  1000.000
+ 525  sd7    162.71  -1000.000  1000.000  1000.000
+ 526  qp4    162.87  -1000.000  1000.000  1000.000
+ 527  qp4    163.03  -1000.000  1000.000  1000.000
+ 528  sd8    163.23  -1000.000  1000.000  1000.000
+ 529  sx3    163.23  -1000.000  1000.000  1000.000
+ 530  sd9    163.71  -1000.000  1000.000  1000.000
+ 531  qp5    163.87  -1000.000  1000.000  1000.000
+ 532  qp5    164.03  -1000.000  1000.000  1000.000
+ 533  sd10   164.50  -1000.000  1000.000  1000.000
+ 534  sx4    164.50  -1000.000  1000.000  1000.000
+ 535  sd12   164.97  -1000.000  1000.000  1000.000
+ 536  qp5    165.13  -1000.000  1000.000  1000.000
+ 537  qp5    165.29  -1000.000  1000.000  1000.000
+ 538  sd9    165.77  -1000.000  1000.000  1000.000
+ 539  sx3    165.77  -1000.000  1000.000  1000.000
+ 540  sd8    165.97  -1000.000  1000.000  1000.000
+ 541  qp4    166.13  -1000.000  1000.000  1000.000
+ 542  qp4    166.29  -1000.000  1000.000  1000.000
+ 543  sd7    166.73  -1000.000  1000.000  1000.000
+ 544  bend2  166.90  -1000.000  1000.000  1000.000
+ 545  bend3  167.08  -1000.000  1000.000  1000.000
+ 546  bend3  167.25  -1000.000  1000.000  1000.000
+ 547  bend3  167.43  -1000.000  1000.000  1000.000
+ 548  bend3  167.60  -1000.000  1000.000  1000.000
+ 549  bend4  167.78  -1000.000  1000.000  1000.000
+ 550  sd6    168.57  -1000.000  1000.000  1000.000
+ 551  sx2    168.57  -1000.000  1000.000  1000.000
+ 552  sd5    168.77  -1000.000  1000.000  1000.000
+ 553  qp3    168.93  -1000.000  1000.000  1000.000
+ 554  qp3    169.09  -1000.000  1000.000  1000.000
+ 555  sd14   169.68  -1000.000  1000.000  1000.000
+ 556  qp2    169.91  -1000.000  1000.000  1000.000
+ 557  qp2    170.14  -1000.000  1000.000  1000.000
+ 558  sd3    170.34  -1000.000  1000.000  1000.000
+ 559  sx1    170.34  -1000.000  1000.000  1000.000
+ 560  sd2    170.73  -1000.000  1000.000  1000.000
+ 561  qp1    170.89  -1000.000  1000.000  1000.000
+ 562  qp1    171.05  -1000.000  1000.000  1000.000
+ 563  sd1    177.05  -1000.000  1000.000  1000.000
+ 564  sd1    183.05  -1000.000  1000.000  1000.000
+ 565  qp1    183.21  -1000.000  1000.000  1000.000
+ 566  qp1    183.37  -1000.000  1000.000  1000.000
+ 567  sd2    183.76  -1000.000  1000.000  1000.000
+ 568  sx1    183.76  -1000.000  1000.000  1000.000
+ 569  sd3    183.96  -1000.000  1000.000  1000.000
+ 570  qp2    184.19  -1000.000  1000.000  1000.000
+ 571  qp2    184.42  -1000.000  1000.000  1000.000
+ 572  sd14   185.01  -1000.000  1000.000  1000.000
+ 573  qp3    185.17  -1000.000  1000.000  1000.000
+ 574  qp3    185.33  -1000.000  1000.000  1000.000
+ 575  sd5    185.53  -1000.000  1000.000  1000.000
+ 576  sx2    185.53  -1000.000  1000.000  1000.000
+ 577  sd6    186.32  -1000.000  1000.000  1000.000
+ 578  bend2  186.49  -1000.000  1000.000  1000.000
+ 579  bend3  186.67  -1000.000  1000.000  1000.000
+ 580  bend3  186.84  -1000.000  1000.000  1000.000
+ 581  bend3  187.02  -1000.000  1000.000  1000.000
+ 582  bend3  187.20  -1000.000  1000.000  1000.000
+ 583  bend4  187.37  -1000.000  1000.000  1000.000
+ 584  sd7    187.81  -1000.000  1000.000  1000.000
+ 585  qp4    187.97  -1000.000  1000.000  1000.000
+ 586  qp4    188.13  -1000.000  1000.000  1000.000
+ 587  sd8    188.33  -1000.000  1000.000  1000.000
+ 588  sx3    188.33  -1000.000  1000.000  1000.000
+ 589  sd9    188.81  -1000.000  1000.000  1000.000
+ 590  qp5    188.97  -1000.000  1000.000  1000.000
+ 591  qp5    189.13  -1000.000  1000.000  1000.000
+ 592  sd12   189.60  -1000.000  1000.000  1000.000
+ 593  sx4    189.60  -1000.000  1000.000  1000.000
+ 594  sd10   190.07  -1000.000  1000.000  1000.000
+ 595  qp5    190.23  -1000.000  1000.000  1000.000
+ 596  qp5    190.39  -1000.000  1000.000  1000.000
+ 597  sd9    190.86  -1000.000  1000.000  1000.000
+ 598  sx3    190.86  -1000.000  1000.000  1000.000
+ 599  sd8    191.06  -1000.000  1000.000  1000.000
+ 600  qp4    191.22  -1000.000  1000.000  1000.000
+ 601  qp4    191.38  -1000.000  1000.000  1000.000
+ 602  sd7    191.82  -1000.000  1000.000  1000.000
+ 603  bend2  192.00  -1000.000  1000.000  1000.000
+ 604  bend3  192.17  -1000.000  1000.000  1000.000
+ 605  bend3  192.35  -1000.000  1000.000  1000.000
+ 606  bend3  192.53  -1000.000  1000.000  1000.000
+ 607  bend3  192.70  -1000.000  1000.000  1000.000
+ 608  bend4  192.88  -1000.000  1000.000  1000.000
+ 609  sd7    193.32  -1000.000  1000.000  1000.000
+ 610  qp6    193.48  -1000.000  1000.000  1000.000
+ 611  qp6    193.64  -1000.000  1000.000  1000.000
+ 612  sd5    193.84  -1000.000  1000.000  1000.000
+ 613  sx5    193.84  -1000.000  1000.000  1000.000
+ 614  sd4    194.23  -1000.000  1000.000  1000.000
+ 615  qp7    194.46  -1000.000  1000.000  1000.000
+ 616  qp7    194.69  -1000.000  1000.000  1000.000
+ 617  sd3    194.89  -1000.000  1000.000  1000.000
+ 618  sx6    194.89  -1000.000  1000.000  1000.000
+ 619  sd2    195.28  -1000.000  1000.000  1000.000
+ 620  qp8    195.44  -1000.000  1000.000  1000.000
+ 621  qp8    195.60  -1000.000  1000.000  1000.000
+ 622  sd13   199.08  -1000.000  1000.000  1000.000
+ 623  sd13   202.56  -1000.000  1000.000  1000.000
+ 624  qp8    202.72  -1000.000  1000.000  1000.000
+ 625  qp8    202.88  -1000.000  1000.000  1000.000
+ 626  sd2    203.27  -1000.000  1000.000  1000.000
+ 627  sx8    203.27  -1000.000  1000.000  1000.000
+ 628  sd3    203.47  -1000.000  1000.000  1000.000
+ 629  qp7    203.70  -1000.000  1000.000  1000.000
+ 630  qp7    203.93  -1000.000  1000.000  1000.000
+ 631  sd4    204.32  -1000.000  1000.000  1000.000
+ 632  sx7    204.32  -1000.000  1000.000  1000.000
+ 633  sd5    204.52  -1000.000  1000.000  1000.000
+ 634  qp6    204.68  -1000.000  1000.000  1000.000
+ 635  qp6    204.84  -1000.000  1000.000  1000.000
+ 636  sd7    205.28  -1000.000  1000.000  1000.000
+ 637  bend2  205.46  -1000.000  1000.000  1000.000
+ 638  bend3  205.63  -1000.000  1000.000  1000.000
+ 639  bend3  205.81  -1000.000  1000.000  1000.000
+ 640  bend3  205.98  -1000.000  1000.000  1000.000
+ 641  bend3  206.16  -1000.000  1000.000  1000.000
+ 642  bend4  206.33  -1000.000  1000.000  1000.000
+ 643  sd7    206.77  -1000.000  1000.000  1000.000
+ 644  qp9    206.93  -1000.000  1000.000  1000.000
+ 645  qp9    207.09  -1000.000  1000.000  1000.000
+ 646  sd8    207.29  -1000.000  1000.000  1000.000
+ 647  sx9    207.29  -1000.000  1000.000  1000.000
+ 648  sd9    207.77  -1000.000  1000.000  1000.000
+ 649  qp10   207.93  -1000.000  1000.000  1000.000
+ 650  qp10   208.09  -1000.000  1000.000  1000.000
+ 651  sd8    208.29  -1000.000  1000.000  1000.000
+ 652  sx10   208.29  -1000.000  1000.000  1000.000
+ 653  sdac   210.19  -1000.000  1000.000  1000.000
+ 654  sdac   212.10  -1000.000  1000.000  1000.000
+ 655  sx10   212.10  -1000.000  1000.000  1000.000
+ 656  sd8    212.30  -1000.000  1000.000  1000.000
+ 657  qp10   212.46  -1000.000  1000.000  1000.000
+ 658  qp10   212.62  -1000.000  1000.000  1000.000
+ 659  sd9    213.10  -1000.000  1000.000  1000.000
+ 660  sx9    213.10  -1000.000  1000.000  1000.000
+ 661  sd8    213.30  -1000.000  1000.000  1000.000
+ 662  qp9    213.46  -1000.000  1000.000  1000.000
+ 663  qp9    213.62  -1000.000  1000.000  1000.000
+ 664  sd7    214.06  -1000.000  1000.000  1000.000
+ 665  bend2  214.23  -1000.000  1000.000  1000.000
+ 666  bend3  214.41  -1000.000  1000.000  1000.000
+ 667  bend3  214.58  -1000.000  1000.000  1000.000
+ 668  bend3  214.76  -1000.000  1000.000  1000.000
+ 669  bend3  214.93  -1000.000  1000.000  1000.000
+ 670  bend4  215.11  -1000.000  1000.000  1000.000
+ 671  sd7    215.55  -1000.000  1000.000  1000.000
+ 672  qp6    215.71  -1000.000  1000.000  1000.000
+ 673  qp6    215.87  -1000.000  1000.000  1000.000
+ 674  sd5    216.07  -1000.000  1000.000  1000.000
+ 675  sx7    216.07  -1000.000  1000.000  1000.000
+ 676  sd4    216.46  -1000.000  1000.000  1000.000
+ 677  qp7    216.69  -1000.000  1000.000  1000.000
+ 678  qp7    216.92  -1000.000  1000.000  1000.000
+ 679  sd3    217.12  -1000.000  1000.000  1000.000
+ 680  sx8    217.12  -1000.000  1000.000  1000.000
+ 681  sd2    217.51  -1000.000  1000.000  1000.000
+ 682  qp8    217.67  -1000.000  1000.000  1000.000
+ 683  qp8    217.83  -1000.000  1000.000  1000.000
+ 684  sd13   221.31  -1000.000  1000.000  1000.000
+ 685  sd13   224.79  -1000.000  1000.000  1000.000
+ 686  qp8    224.95  -1000.000  1000.000  1000.000
+ 687  qp8    225.11  -1000.000  1000.000  1000.000
+ 688  sd2    225.50  -1000.000  1000.000  1000.000
+ 689  sx8    225.50  -1000.000  1000.000  1000.000
+ 690  sd3    225.70  -1000.000  1000.000  1000.000
+ 691  qp7    225.93  -1000.000  1000.000  1000.000
+ 692  qp7    226.16  -1000.000  1000.000  1000.000
+ 693  sd4    226.55  -1000.000  1000.000  1000.000
+ 694  sx7    226.55  -1000.000  1000.000  1000.000
+ 695  sd5    226.75  -1000.000  1000.000  1000.000
+ 696  qp6    226.91  -1000.000  1000.000  1000.000
+ 697  qp6    227.07  -1000.000  1000.000  1000.000
+ 698  sd7    227.51  -1000.000  1000.000  1000.000
+ 699  bend2  227.69  -1000.000  1000.000  1000.000
+ 700  bend3  227.86  -1000.000  1000.000  1000.000
+ 701  bend3  228.04  -1000.000  1000.000  1000.000
+ 702  bend3  228.21  -1000.000  1000.000  1000.000
+ 703  bend3  228.39  -1000.000  1000.000  1000.000
+ 704  bend4  228.57  -1000.000  1000.000  1000.000
+ 705  sd7    229.01  -1000.000  1000.000  1000.000
+ 706  qp9    229.17  -1000.000  1000.000  1000.000
+ 707  qp9    229.33  -1000.000  1000.000  1000.000
+ 708  sd8    229.53  -1000.000  1000.000  1000.000
+ 709  sx9    229.53  -1000.000  1000.000  1000.000
+ 710  sd9    230.00  -1000.000  1000.000  1000.000
+ 711  qp10   230.16  -1000.000  1000.000  1000.000
+ 712  qp10   230.32  -1000.000  1000.000  1000.000
+ 713  sd8    230.52  -1000.000  1000.000  1000.000
+ 714  sx10   230.52  -1000.000  1000.000  1000.000
+ 715  sdac   232.43  -1000.000  1000.000  1000.000
+ 716  sdac   234.33  -1000.000  1000.000  1000.000
+ 717  sx10   234.33  -1000.000  1000.000  1000.000
+ 718  sd8    234.53  -1000.000  1000.000  1000.000
+ 719  qp10   234.69  -1000.000  1000.000  1000.000
+ 720  qp10   234.85  -1000.000  1000.000  1000.000
+ 721  sd9    235.33  -1000.000  1000.000  1000.000
+ 722  sx9    235.33  -1000.000  1000.000  1000.000
+ 723  sd8    235.53  -1000.000  1000.000  1000.000
+ 724  qp9    235.69  -1000.000  1000.000  1000.000
+ 725  qp9    235.85  -1000.000  1000.000  1000.000
+ 726  sd7    236.29  -1000.000  1000.000  1000.000
+ 727  bend2  236.46  -1000.000  1000.000  1000.000
+ 728  bend3  236.64  -1000.000  1000.000  1000.000
+ 729  bend3  236.81  -1000.000  1000.000  1000.000
+ 730  bend3  236.99  -1000.000  1000.000  1000.000
+ 731  bend3  237.16  -1000.000  1000.000  1000.000
+ 732  bend4  237.34  -1000.000  1000.000  1000.000
+ 733  sd7    237.78  -1000.000  1000.000  1000.000
+ 734  qp6    237.94  -1000.000  1000.000  1000.000
+ 735  qp6    238.10  -1000.000  1000.000  1000.000
+ 736  sd5    238.30  -1000.000  1000.000  1000.000
+ 737  sx7    238.30  -1000.000  1000.000  1000.000
+ 738  sd4    238.69  -1000.000  1000.000  1000.000
+ 739  qp7    238.92  -1000.000  1000.000  1000.000
+ 740  qp7    239.15  -1000.000  1000.000  1000.000
+ 741  sd3    239.35  -1000.000  1000.000  1000.000
+ 742  sx8    239.35  -1000.000  1000.000  1000.000
+ 743  sd2    239.74  -1000.000  1000.000  1000.000
+ 744  qp8    239.90  -1000.000  1000.000  1000.000
+ 745  qp8    240.06  -1000.000  1000.000  1000.000
+ 746  sd13   243.54  -1000.000  1000.000  1000.000
+ 747  sd13   247.03  -1000.000  1000.000  1000.000
+ 748  qp8    247.19  -1000.000  1000.000  1000.000
+ 749  qp8    247.34  -1000.000  1000.000  1000.000
+ 750  sd2    247.74  -1000.000  1000.000  1000.000
+ 751  sx6    247.74  -1000.000  1000.000  1000.000
+ 752  sd3    247.94  -1000.000  1000.000  1000.000
+ 753  qp7    248.16  -1000.000  1000.000  1000.000
+ 754  qp7    248.40  -1000.000  1000.000  1000.000
+ 755  sd4    248.78  -1000.000  1000.000  1000.000
+ 756  sx5    248.78  -1000.000  1000.000  1000.000
+ 757  sd5    248.99  -1000.000  1000.000  1000.000
+ 758  qp6    249.15  -1000.000  1000.000  1000.000
+ 759  qp6    249.31  -1000.000  1000.000  1000.000
+ 760  sd7    249.75  -1000.000  1000.000  1000.000
+ 761  bend2  249.92  -1000.000  1000.000  1000.000
+ 762  bend3  250.10  -1000.000  1000.000  1000.000
+ 763  bend3  250.27  -1000.000  1000.000  1000.000
+ 764  bend3  250.45  -1000.000  1000.000  1000.000
+ 765  bend3  250.62  -1000.000  1000.000  1000.000
+ 766  bend4  250.80  -1000.000  1000.000  1000.000
+ 767  sd7    251.24  -1000.000  1000.000  1000.000
+ 768  qp4    251.40  -1000.000  1000.000  1000.000
+ 769  qp4    251.56  -1000.000  1000.000  1000.000
+ 770  sd8    251.76  -1000.000  1000.000  1000.000
+ 771  sx3    251.76  -1000.000  1000.000  1000.000
+ 772  sd9    252.23  -1000.000  1000.000  1000.000
+ 773  qp5    252.39  -1000.000  1000.000  1000.000
+ 774  qp5    252.55  -1000.000  1000.000  1000.000
+ 775  sd10   253.02  -1000.000  1000.000  1000.000
+ 776  sx4    253.02  -1000.000  1000.000  1000.000
+ 777  sd12   253.49  -1000.000  1000.000  1000.000
+ 778  qp5    253.65  -1000.000  1000.000  1000.000
+ 779  qp5    253.81  -1000.000  1000.000  1000.000
+ 780  sd9    254.29  -1000.000  1000.000  1000.000
+ 781  sx3    254.29  -1000.000  1000.000  1000.000
+ 782  sd8    254.49  -1000.000  1000.000  1000.000
+ 783  qp4    254.65  -1000.000  1000.000  1000.000
+ 784  qp4    254.81  -1000.000  1000.000  1000.000
+ 785  sd7    255.25  -1000.000  1000.000  1000.000
+ 786  bend2  255.43  -1000.000  1000.000  1000.000
+ 787  bend3  255.60  -1000.000  1000.000  1000.000
+ 788  bend3  255.78  -1000.000  1000.000  1000.000
+ 789  bend3  255.95  -1000.000  1000.000  1000.000
+ 790  bend3  256.13  -1000.000  1000.000  1000.000
+ 791  bend4  256.30  -1000.000  1000.000  1000.000
+ 792  sd6    257.09  -1000.000  1000.000  1000.000
+ 793  sx2    257.09  -1000.000  1000.000  1000.000
+ 794  sd5    257.29  -1000.000  1000.000  1000.000
+ 795  qp3    257.45  -1000.000  1000.000  1000.000
+ 796  qp3    257.61  -1000.000  1000.000  1000.000
+ 797  sd14   258.20  -1000.000  1000.000  1000.000
+ 798  qp2    258.43  -1000.000  1000.000  1000.000
+ 799  qp2    258.66  -1000.000  1000.000  1000.000
+ 800  sd3    258.86  -1000.000  1000.000  1000.000
+ 801  sx1    258.86  -1000.000  1000.000  1000.000
+ 802  sd2    259.25  -1000.000  1000.000  1000.000
+ 803  qp1    259.41  -1000.000  1000.000  1000.000
+ 804  qp1    259.57  -1000.000  1000.000  1000.000
+ 805  sd1    265.57  -1000.000  1000.000  1000.000
+ 806  sd1    271.57  -1000.000  1000.000  1000.000
+ 807  qp1    271.73  -1000.000  1000.000  1000.000
+ 808  qp1    271.89  -1000.000  1000.000  1000.000
+ 809  sd2    272.28  -1000.000  1000.000  1000.000
+ 810  sx1    272.28  -1000.000  1000.000  1000.000
+ 811  sd3    272.48  -1000.000  1000.000  1000.000
+ 812  qp2    272.71  -1000.000  1000.000  1000.000
+ 813  qp2    272.94  -1000.000  1000.000  1000.000
+ 814  sd14   273.53  -1000.000  1000.000  1000.000
+ 815  qp3    273.69  -1000.000  1000.000  1000.000
+ 816  qp3    273.85  -1000.000  1000.000  1000.000
+ 817  sd5    274.05  -1000.000  1000.000  1000.000
+ 818  sx2    274.05  -1000.000  1000.000  1000.000
+ 819  sd6    274.84  -1000.000  1000.000  1000.000
+ 820  bend2  275.02  -1000.000  1000.000  1000.000
+ 821  bend3  275.19  -1000.000  1000.000  1000.000
+ 822  bend3  275.37  -1000.000  1000.000  1000.000
+ 823  bend3  275.54  -1000.000  1000.000  1000.000
+ 824  bend3  275.72  -1000.000  1000.000  1000.000
+ 825  bend4  275.89  -1000.000  1000.000  1000.000
+ 826  sd7    276.33  -1000.000  1000.000  1000.000
+ 827  qp4    276.49  -1000.000  1000.000  1000.000
+ 828  qp4    276.65  -1000.000  1000.000  1000.000
+ 829  sd8    276.85  -1000.000  1000.000  1000.000
+ 830  sx3    276.85  -1000.000  1000.000  1000.000
+ 831  sd9    277.33  -1000.000  1000.000  1000.000
+ 832  qp5    277.49  -1000.000  1000.000  1000.000
+ 833  qp5    277.65  -1000.000  1000.000  1000.000
+ 834  sd12   278.12  -1000.000  1000.000  1000.000
+ 835  sx4    278.12  -1000.000  1000.000  1000.000
+ 836  sd10   278.59  -1000.000  1000.000  1000.000
+ 837  qp5    278.75  -1000.000  1000.000  1000.000
+ 838  qp5    278.91  -1000.000  1000.000  1000.000
+ 839  sd9    279.39  -1000.000  1000.000  1000.000
+ 840  sx3    279.39  -1000.000  1000.000  1000.000
+ 841  sd8    279.59  -1000.000  1000.000  1000.000
+ 842  qp4    279.75  -1000.000  1000.000  1000.000
+ 843  qp4    279.91  -1000.000  1000.000  1000.000
+ 844  sd7    280.35  -1000.000  1000.000  1000.000
+ 845  bend2  280.52  -1000.000  1000.000  1000.000
+ 846  bend3  280.70  -1000.000  1000.000  1000.000
+ 847  bend3  280.87  -1000.000  1000.000  1000.000
+ 848  bend3  281.05  -1000.000  1000.000  1000.000
+ 849  bend3  281.22  -1000.000  1000.000  1000.000
+ 850  bend4  281.40  -1000.000  1000.000  1000.000
+ 851  sd7    281.84  -1000.000  1000.000  1000.000
+ 852  qp6    282.00  -1000.000  1000.000  1000.000
+ 853  qp6    282.16  -1000.000  1000.000  1000.000
+ 854  sd5    282.36  -1000.000  1000.000  1000.000
+ 855  sx5    282.36  -1000.000  1000.000  1000.000
+ 856  sd4    282.75  -1000.000  1000.000  1000.000
+ 857  qp7    282.98  -1000.000  1000.000  1000.000
+ 858  qp7    283.21  -1000.000  1000.000  1000.000
+ 859  sd3    283.41  -1000.000  1000.000  1000.000
+ 860  sx6    283.41  -1000.000  1000.000  1000.000
+ 861  sd2    283.80  -1000.000  1000.000  1000.000
+ 862  qp8    283.96  -1000.000  1000.000  1000.000
+ 863  qp8    284.12  -1000.000  1000.000  1000.000
+ 864  sd13   287.60  -1000.000  1000.000  1000.000
+ 865  sd13   291.09  -1000.000  1000.000  1000.000
+ 866  qp8    291.25  -1000.000  1000.000  1000.000
+ 867  qp8    291.41  -1000.000  1000.000  1000.000
+ 868  sd2    291.80  -1000.000  1000.000  1000.000
+ 869  sx8    291.80  -1000.000  1000.000  1000.000
+ 870  sd3    292.00  -1000.000  1000.000  1000.000
+ 871  qp7    292.23  -1000.000  1000.000  1000.000
+ 872  qp7    292.46  -1000.000  1000.000  1000.000
+ 873  sd4    292.85  -1000.000  1000.000  1000.000
+ 874  sx7    292.85  -1000.000  1000.000  1000.000
+ 875  sd5    293.05  -1000.000  1000.000  1000.000
+ 876  qp6    293.21  -1000.000  1000.000  1000.000
+ 877  qp6    293.37  -1000.000  1000.000  1000.000
+ 878  sd7    293.81  -1000.000  1000.000  1000.000
+ 879  bend2  293.98  -1000.000  1000.000  1000.000
+ 880  bend3  294.16  -1000.000  1000.000  1000.000
+ 881  bend3  294.33  -1000.000  1000.000  1000.000
+ 882  bend3  294.51  -1000.000  1000.000  1000.000
+ 883  bend3  294.68  -1000.000  1000.000  1000.000
+ 884  bend4  294.86  -1000.000  1000.000  1000.000
+ 885  sd7    295.30  -1000.000  1000.000  1000.000
+ 886  qp9    295.46  -1000.000  1000.000  1000.000
+ 887  qp9    295.62  -1000.000  1000.000  1000.000
+ 888  sd8    295.82  -1000.000  1000.000  1000.000
+ 889  sx9    295.82  -1000.000  1000.000  1000.000
+ 890  sd9    296.29  -1000.000  1000.000  1000.000
+ 891  qp10   296.45  -1000.000  1000.000  1000.000
+ 892  qp10   296.61  -1000.000  1000.000  1000.000
+ 893  sd8    296.81  -1000.000  1000.000  1000.000
+ 894  sx10   296.81  -1000.000  1000.000  1000.000
+ 895  sdac   298.72  -1000.000  1000.000  1000.000
+ 896  sdac   300.62  -1000.000  1000.000  1000.000
+ 897  sx10   300.62  -1000.000  1000.000  1000.000
+ 898  sd8    300.82  -1000.000  1000.000  1000.000
+ 899  qp10   300.98  -1000.000  1000.000  1000.000
+ 900  qp10   301.14  -1000.000  1000.000  1000.000
+ 901  sd9    301.62  -1000.000  1000.000  1000.000
+ 902  sx9    301.62  -1000.000  1000.000  1000.000
+ 903  sd8    301.82  -1000.000  1000.000  1000.000
+ 904  qp9    301.98  -1000.000  1000.000  1000.000
+ 905  qp9    302.14  -1000.000  1000.000  1000.000
+ 906  sd7    302.58  -1000.000  1000.000  1000.000
+ 907  bend2  302.76  -1000.000  1000.000  1000.000
+ 908  bend3  302.93  -1000.000  1000.000  1000.000
+ 909  bend3  303.11  -1000.000  1000.000  1000.000
+ 910  bend3  303.28  -1000.000  1000.000  1000.000
+ 911  bend3  303.46  -1000.000  1000.000  1000.000
+ 912  bend4  303.63  -1000.000  1000.000  1000.000
+ 913  sd7    304.07  -1000.000  1000.000  1000.000
+ 914  qp6    304.23  -1000.000  1000.000  1000.000
+ 915  qp6    304.39  -1000.000  1000.000  1000.000
+ 916  sd5    304.59  -1000.000  1000.000  1000.000
+ 917  sx7    304.59  -1000.000  1000.000  1000.000
+ 918  sd4    304.98  -1000.000  1000.000  1000.000
+ 919  qp7    305.21  -1000.000  1000.000  1000.000
+ 920  qp7    305.44  -1000.000  1000.000  1000.000
+ 921  sd3    305.64  -1000.000  1000.000  1000.000
+ 922  sx8    305.64  -1000.000  1000.000  1000.000
+ 923  sd2    306.03  -1000.000  1000.000  1000.000
+ 924  qp8    306.19  -1000.000  1000.000  1000.000
+ 925  qp8    306.35  -1000.000  1000.000  1000.000
+ 926  sd13   309.83  -1000.000  1000.000  1000.000
+ 927  sd13   313.32  -1000.000  1000.000  1000.000
+ 928  qp8    313.48  -1000.000  1000.000  1000.000
+ 929  qp8    313.64  -1000.000  1000.000  1000.000
+ 930  sd2    314.03  -1000.000  1000.000  1000.000
+ 931  sx8    314.03  -1000.000  1000.000  1000.000
+ 932  sd3    314.23  -1000.000  1000.000  1000.000
+ 933  qp7    314.46  -1000.000  1000.000  1000.000
+ 934  qp7    314.69  -1000.000  1000.000  1000.000
+ 935  sd4    315.08  -1000.000  1000.000  1000.000
+ 936  sx7    315.08  -1000.000  1000.000  1000.000
+ 937  sd5    315.28  -1000.000  1000.000  1000.000
+ 938  qp6    315.44  -1000.000  1000.000  1000.000
+ 939  qp6    315.60  -1000.000  1000.000  1000.000
+ 940  sd7    316.04  -1000.000  1000.000  1000.000
+ 941  bend2  316.21  -1000.000  1000.000  1000.000
+ 942  bend3  316.39  -1000.000  1000.000  1000.000
+ 943  bend3  316.56  -1000.000  1000.000  1000.000
+ 944  bend3  316.74  -1000.000  1000.000  1000.000
+ 945  bend3  316.91  -1000.000  1000.000  1000.000
+ 946  bend4  317.09  -1000.000  1000.000  1000.000
+ 947  sd7    317.53  -1000.000  1000.000  1000.000
+ 948  qp9    317.69  -1000.000  1000.000  1000.000
+ 949  qp9    317.85  -1000.000  1000.000  1000.000
+ 950  sd8    318.05  -1000.000  1000.000  1000.000
+ 951  sx9    318.05  -1000.000  1000.000  1000.000
+ 952  sd9    318.53  -1000.000  1000.000  1000.000
+ 953  qp10   318.69  -1000.000  1000.000  1000.000
+ 954  qp10   318.85  -1000.000  1000.000  1000.000
+ 955  sd8    319.05  -1000.000  1000.000  1000.000
+ 956  sx10   319.05  -1000.000  1000.000  1000.000
+ 957  sdac   320.95  -1000.000  1000.000  1000.000
+ 958  sdac   322.86  -1000.000  1000.000  1000.000
+ 959  sx10   322.86  -1000.000  1000.000  1000.000
+ 960  sd8    323.06  -1000.000  1000.000  1000.000
+ 961  qp10   323.22  -1000.000  1000.000  1000.000
+ 962  qp10   323.38  -1000.000  1000.000  1000.000
+ 963  sd9    323.85  -1000.000  1000.000  1000.000
+ 964  sx9    323.85  -1000.000  1000.000  1000.000
+ 965  sd8    324.05  -1000.000  1000.000  1000.000
+ 966  qp9    324.21  -1000.000  1000.000  1000.000
+ 967  qp9    324.37  -1000.000  1000.000  1000.000
+ 968  sd7    324.81  -1000.000  1000.000  1000.000
+ 969  bend2  324.99  -1000.000  1000.000  1000.000
+ 970  bend3  325.16  -1000.000  1000.000  1000.000
+ 971  bend3  325.34  -1000.000  1000.000  1000.000
+ 972  bend3  325.51  -1000.000  1000.000  1000.000
+ 973  bend3  325.69  -1000.000  1000.000  1000.000
+ 974  bend4  325.86  -1000.000  1000.000  1000.000
+ 975  sd7    326.30  -1000.000  1000.000  1000.000
+ 976  qp6    326.46  -1000.000  1000.000  1000.000
+ 977  qp6    326.62  -1000.000  1000.000  1000.000
+ 978  sd5    326.82  -1000.000  1000.000  1000.000
+ 979  sx7    326.82  -1000.000  1000.000  1000.000
+ 980  sd4    327.21  -1000.000  1000.000  1000.000
+ 981  qp7    327.44  -1000.000  1000.000  1000.000
+ 982  qp7    327.67  -1000.000  1000.000  1000.000
+ 983  sd3    327.87  -1000.000  1000.000  1000.000
+ 984  sx8    327.87  -1000.000  1000.000  1000.000
+ 985  sd2    328.26  -1000.000  1000.000  1000.000
+ 986  qp8    328.42  -1000.000  1000.000  1000.000
+ 987  qp8    328.58  -1000.000  1000.000  1000.000
+ 988  sd13   332.07  -1000.000  1000.000  1000.000
+ 989  sd13   335.55  -1000.000  1000.000  1000.000
+ 990  qp8    335.71  -1000.000  1000.000  1000.000
+ 991  qp8    335.87  -1000.000  1000.000  1000.000
+ 992  sd2    336.26  -1000.000  1000.000  1000.000
+ 993  sx6    336.26  -1000.000  1000.000  1000.000
+ 994  sd3    336.46  -1000.000  1000.000  1000.000
+ 995  qp7    336.69  -1000.000  1000.000  1000.000
+ 996  qp7    336.92  -1000.000  1000.000  1000.000
+ 997  sd4    337.31  -1000.000  1000.000  1000.000
+ 998  sx5    337.31  -1000.000  1000.000  1000.000
+ 999  sd5    337.51  -1000.000  1000.000  1000.000
+1000  qp6    337.67  -1000.000  1000.000  1000.000
+1001  qp6    337.83  -1000.000  1000.000  1000.000
+1002  sd7    338.27  -1000.000  1000.000  1000.000
+1003  bend2  338.44  -1000.000  1000.000  1000.000
+1004  bend3  338.62  -1000.000  1000.000  1000.000
+1005  bend3  338.80  -1000.000  1000.000  1000.000
+1006  bend3  338.97  -1000.000  1000.000  1000.000
+1007  bend3  339.15  -1000.000  1000.000  1000.000
+1008  bend4  339.32  -1000.000  1000.000  1000.000
+1009  sd7    339.76  -1000.000  1000.000  1000.000
+1010  qp4    339.92  -1000.000  1000.000  1000.000
+1011  qp4    340.08  -1000.000  1000.000  1000.000
+1012  sd8    340.28  -1000.000  1000.000  1000.000
+1013  sx3    340.28  -1000.000  1000.000  1000.000
+1014  sd9    340.76  -1000.000  1000.000  1000.000
+1015  qp5    340.92  -1000.000  1000.000  1000.000
+1016  qp5    341.08  -1000.000  1000.000  1000.000
+1017  sd10   341.55  -1000.000  1000.000  1000.000
+1018  sx4    341.55  -1000.000  1000.000  1000.000
+1019  sd12   342.02  -1000.000  1000.000  1000.000
+1020  qp5    342.18  -1000.000  1000.000  1000.000
+1021  qp5    342.34  -1000.000  1000.000  1000.000
+1022  sd9    342.81  -1000.000  1000.000  1000.000
+1023  sx3    342.81  -1000.000  1000.000  1000.000
+1024  sd8    343.01  -1000.000  1000.000  1000.000
+1025  qp4    343.17  -1000.000  1000.000  1000.000
+1026  qp4    343.33  -1000.000  1000.000  1000.000
+1027  sd7    343.77  -1000.000  1000.000  1000.000
+1028  bend2  343.95  -1000.000  1000.000  1000.000
+1029  bend3  344.13  -1000.000  1000.000  1000.000
+1030  bend3  344.30  -1000.000  1000.000  1000.000
+1031  bend3  344.48  -1000.000  1000.000  1000.000
+1032  bend3  344.65  -1000.000  1000.000  1000.000
+1033  bend4  344.83  -1000.000  1000.000  1000.000
+1034  sd6    345.62  -1000.000  1000.000  1000.000
+1035  sx2    345.62  -1000.000  1000.000  1000.000
+1036  sd5    345.82  -1000.000  1000.000  1000.000
+1037  qp3    345.98  -1000.000  1000.000  1000.000
+1038  qp3    346.14  -1000.000  1000.000  1000.000
+1039  sd14   346.73  -1000.000  1000.000  1000.000
+1040  qp2    346.96  -1000.000  1000.000  1000.000
+1041  qp2    347.19  -1000.000  1000.000  1000.000
+1042  sd3    347.39  -1000.000  1000.000  1000.000
+1043  sx1    347.39  -1000.000  1000.000  1000.000
+1044  sd2    347.78  -1000.000  1000.000  1000.000
+1045  qp1    347.94  -1000.000  1000.000  1000.000
+1046  qp1    348.10  -1000.000  1000.000  1000.000
+1047  sd1    354.10  -1000.000  1000.000  1000.000
+1048  cav    354.10  -1000.000  1000.000  1000.000
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/fmap.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/fmap.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/fmap.out	(revision 17)
@@ -0,0 +1,40504 @@
+# TRACY II v. SYNCHROTRON SOLEIL -- fmap.out -- Mon Feb 16 09:22:33 2004 
+# nu = f(x) 
+#    x[m]          z[m]           fx            fz           dfx           dfz
+ 1.000000e-06  1.000000e-06 -1.992323e-01 -3.002353e-01  2.832811e-05  8.468330e-06
+ 1.000000e-06  2.001000e-03 -3.002252e-01 -3.002034e-01  2.627552e-05 -8.910415e-08
+ 1.000000e-06  2.829427e-03 -3.001365e-01 -3.001682e-01  6.537306e-05 -5.509173e-07
+ 1.000000e-06  3.465102e-03 -3.000135e-01 -3.001348e-01  2.800752e-04 -1.047953e-06
+ 1.000000e-06  4.001000e-03 -2.999704e-01 -3.001020e-01  4.509927e-05 -1.640044e-06
+ 1.000000e-06  4.473136e-03 -3.001276e-01 -3.000716e-01 -2.402868e-04  9.822605e-07
+ 1.000000e-06  4.899979e-03 -3.001551e-01 -3.000448e-01 -2.215303e-04  1.141979e-06
+ 1.000000e-06  5.292503e-03 -3.000546e-01 -3.000202e-01 -2.191549e-05  4.837340e-08
+ 1.000000e-06  5.657854e-03 -2.999881e-01 -2.999971e-01  2.598830e-05 -1.080883e-07
+ 1.000000e-06  6.001000e-03 -2.999846e-01 -2.999760e-01 -1.267601e-05  8.635034e-08
+ 1.000000e-06  6.325555e-03 -2.999660e-01 -2.999571e-01 -9.627242e-06  3.669514e-08
+ 1.000000e-06  6.634250e-03 -2.999410e-01 -2.999402e-01 -1.602580e-06 -2.065279e-08
+ 1.000000e-06  6.929203e-03 -2.999296e-01 -2.999254e-01 -1.429300e-05  1.245163e-08
+ 1.000000e-06  7.212103e-03 -2.999143e-01 -2.999125e-01 -1.138447e-05  2.504216e-08
+ 1.000000e-06  7.484315e-03 -2.998994e-01 -2.999016e-01  3.774852e-06  3.088727e-08
+ 1.000000e-06  7.746967e-03 -2.998905e-01 -2.998927e-01  1.341845e-05  7.225820e-08
+ 1.000000e-06  8.001000e-03 -2.998806e-01 -2.998856e-01  1.964695e-05  1.148456e-07
+ 1.000000e-06  8.247211e-03 -2.998738e-01 -2.998805e-01  2.089181e-05  1.571833e-07
+ 1.000000e-06  8.486281e-03 -2.998702e-01 -2.998772e-01  2.024102e-05  1.714972e-07
+ 1.000000e-06  8.718798e-03 -2.998673e-01 -2.998758e-01  2.147205e-05  1.828833e-07
+ 1.000000e-06  8.945272e-03 -2.998680e-01 -2.998762e-01  2.204578e-05  2.231258e-07
+ 1.000000e-06  9.166151e-03 -2.998705e-01 -2.998784e-01  2.378482e-05  2.947113e-07
+ 1.000000e-06  9.381832e-03 -2.998751e-01 -2.998823e-01  2.481624e-05  3.894528e-07
+ 1.000000e-06  9.592663e-03 -2.998826e-01 -2.998880e-01  2.203658e-05  3.906187e-07
+ 1.000000e-06  9.798959e-03 -2.998917e-01 -2.998953e-01  1.423798e-05  1.757371e-07
+ 1.000000e-06  1.000100e-02 -2.999036e-01 -2.999042e-01  1.648504e-07  5.736224e-08
+ 1.000000e-06  1.019904e-02 -2.999168e-01 -2.999148e-01 -1.343847e-05  6.407670e-07
+ 1.000000e-06  1.039330e-02 -2.999317e-01 -2.999271e-01 -1.775225e-05  4.855315e-07
+ 1.000000e-06  1.058401e-02 -2.999475e-01 -2.999411e-01 -9.130654e-06 -1.117216e-06
+ 1.000000e-06  1.077133e-02 -2.999635e-01 -2.999569e-01  2.165518e-06  7.604936e-07
+ 1.000000e-06  1.095545e-02 -2.999797e-01 -2.999746e-01 -4.574259e-06 -4.289062e-06
+ 1.000000e-06  1.113653e-02 -2.999955e-01 -2.999942e-01 -6.386925e-06 -3.381680e-06
+ 1.000000e-06  1.131471e-02 -3.000121e-01 -3.000154e-01  1.251567e-05  8.999600e-06
+ 1.000000e-06  1.149013e-02 -3.000301e-01 -3.000377e-01 -3.074732e-06 -2.696686e-06
+ 1.000000e-06  1.166290e-02 -3.000516e-01 -3.000607e-01  9.337147e-06  4.471040e-07
+ 1.000000e-06  1.183316e-02 -3.000779e-01 -3.000844e-01  2.393586e-05 -1.078404e-06
+ 1.000000e-06  1.200100e-02 -3.001101e-01 -3.001091e-01 -1.908794e-05 -9.086062e-07
+ 1.000000e-06  1.216653e-02 -3.001477e-01 -3.001353e-01 -1.867513e-05  9.250041e-08
+ 1.000000e-06  1.232983e-02 -3.001869e-01 -3.001631e-01  3.238626e-06  1.384227e-07
+ 1.000000e-06  1.249100e-02 -3.002225e-01 -3.001923e-01 -5.976412e-05 -6.520917e-07
+ 1.000000e-06  1.265011e-02 -3.002505e-01 -3.002225e-01 -1.411861e-05 -1.834974e-07
+ 1.000000e-06  1.280725e-02 -3.002718e-01 -3.002537e-01 -1.546318e-05 -1.760577e-07
+ 1.000000e-06  1.296248e-02 -3.002908e-01 -3.002859e-01 -1.970992e-05 -2.693213e-07
+ 1.000000e-06  1.311588e-02 -3.003135e-01 -3.003191e-01  2.187389e-05  2.658497e-07
+ 1.000000e-06  1.326750e-02 -3.003435e-01 -3.003534e-01 -3.268244e-06 -4.648169e-08
+ 1.000000e-06  1.341741e-02 -3.003809e-01 -3.003886e-01  1.511190e-05  1.923360e-07
+ 1.000000e-06  1.356566e-02 -3.004218e-01 -3.004247e-01  4.733265e-08  3.696315e-09
+ 1.000000e-06  1.371231e-02 -3.004616e-01 -3.004616e-01 -1.353693e-07 -1.692519e-09
+ 1.000000e-06  1.385741e-02 -3.004990e-01 -3.004991e-01  1.550933e-06  1.549955e-08
+ 1.000000e-06  1.400100e-02 -3.005358e-01 -3.005373e-01 -1.454152e-07 -2.413726e-09
+ 1.000000e-06  1.414314e-02 -3.005741e-01 -3.005762e-01  3.567369e-06  4.696960e-08
+ 1.000000e-06  1.428386e-02 -3.006144e-01 -3.006156e-01  3.236100e-07  1.936500e-08
+ 1.000000e-06  1.442321e-02 -3.006553e-01 -3.006554e-01  2.527261e-07  2.725818e-09
+ 1.000000e-06  1.456122e-02 -3.006957e-01 -3.006957e-01  5.120143e-07  4.049874e-09
+ 1.000000e-06  1.469794e-02 -3.007357e-01 -3.007363e-01 -2.098532e-07 -1.699783e-08
+ 1.000000e-06  1.483340e-02 -3.007764e-01 -3.007772e-01  1.656437e-06  2.386745e-08
+ 1.000000e-06  1.496763e-02 -3.008179e-01 -3.008183e-01 -4.444208e-08 -3.417477e-11
+ 1.000000e-06  1.510067e-02 -3.008595e-01 -3.008595e-01  5.682133e-08  1.822725e-10
+ 1.000000e-06  1.523255e-02 -3.009007e-01 -3.009007e-01  3.865962e-07  3.759402e-09
+ 1.000000e-06  1.536329e-02 -3.009412e-01 -3.009416e-01  2.922697e-07  3.792598e-07
+ 1.000000e-06  1.549293e-02 -3.009829e-01 -3.009833e-01  6.400685e-07 -1.310524e-07
+ 1.000000e-06  1.562150e-02 -3.010238e-01 -3.010240e-01 -1.535017e-08  3.618547e-10
+ 1.000000e-06  1.574902e-02 -3.010646e-01 -3.010646e-01 -2.004163e-08 -4.367275e-09
+ 1.000000e-06  1.587551e-02 -3.011047e-01 -3.011048e-01  1.724376e-07  2.448471e-09
+ 1.000000e-06  1.600100e-02 -3.011442e-01 -3.011444e-01  3.298305e-08 -2.307250e-08
+ 1.000000e-06  1.612552e-02 -3.011819e-01 -3.011821e-01  2.543957e-06  2.162133e-06
+ 1.000000e-06  1.624908e-02 -3.012228e-01 -3.012230e-01 -8.187921e-07 -9.199999e-07
+ 1.000000e-06  1.637171e-02 -3.012604e-01 -3.012604e-01 -1.745668e-08 -1.616091e-11
+ 1.000000e-06  1.649342e-02 -3.012973e-01 -3.012973e-01  1.077674e-07  1.397486e-09
+ 1.000000e-06  1.661425e-02 -3.013333e-01 -3.013334e-01 -2.759959e-08 -2.454306e-09
+ 1.000000e-06  1.673420e-02 -3.013683e-01 -3.013685e-01  5.324041e-07  2.303968e-07
+ 1.000000e-06  1.685330e-02 -3.014057e-01 -3.014059e-01  6.067776e-06  5.996303e-06
+ 1.000000e-06  1.697156e-02 -3.014343e-01 -3.014344e-01  8.269365e-08  2.197265e-08
+ 1.000000e-06  1.708901e-02 -3.014664e-01 -3.014664e-01 -8.221283e-08 -9.325326e-08
+ 1.000000e-06  1.720565e-02 -3.014971e-01 -3.014971e-01  5.723146e-08  3.384981e-09
+ 1.000000e-06  1.732151e-02 -3.015266e-01 -3.015266e-01 -1.190927e-07 -2.190064e-08
+ 1.000000e-06  1.743660e-02 -3.015556e-01 -3.015556e-01  1.795993e-07 -1.057713e-08
+ 1.000000e-06  1.755093e-02 -3.015842e-01 -3.015842e-01  4.283537e-07  8.404609e-09
+ 1.000000e-06  1.766452e-02 -3.016151e-01 -3.016152e-01 -2.892042e-08 -4.194875e-08
+ 1.000000e-06  1.777739e-02 -3.016557e-01 -3.016557e-01  9.788122e-08  1.365337e-07
+ 1.000000e-06  1.788954e-02 -2.326830e-01 -3.024160e-01  1.978525e-03  4.592465e-04
+ 1.000000e-06  1.800100e-02 -2.335924e-01 -3.023986e-01 -8.908215e-04 -2.855302e-04
+ 1.000000e-06  1.811177e-02 -2.326096e-01 -3.019243e-01  7.580358e-04  1.812493e-04
+ 1.000000e-06  1.822187e-02 -3.018580e-01 -3.018481e-01 -1.990373e-04 -1.791251e-04
+ 1.000000e-06  1.833130e-02 -3.018608e-01 -3.018555e-01 -3.063512e-05 -1.891474e-05
+ 1.000000e-06  1.844009e-02 -3.016697e-01 -3.016763e-01  1.079911e-04  1.033075e-04
+ 1.000000e-06  1.854824e-02 -3.016529e-01 -3.016553e-01 -4.909704e-05 -4.761016e-05
+ 1.000000e-06  1.865576e-02 -3.016219e-01 -3.016220e-01 -3.550489e-07 -3.611534e-07
+ 1.000000e-06  1.876266e-02 -3.016149e-01 -3.016149e-01 -4.156031e-09 -1.398625e-08
+ 1.000000e-06  1.886896e-02 -3.016058e-01 -3.016059e-01 -2.442093e-07 -2.257898e-07
+ 1.000000e-06  1.897467e-02 -3.015927e-01 -3.015927e-01  1.817788e-07  1.518912e-07
+ 1.000000e-06  1.907978e-02 -3.015758e-01 -3.015761e-01  2.182296e-06  1.699059e-06
+ 1.000000e-06  1.918433e-02 -3.015551e-01 -3.015548e-01  1.758898e-06  2.207166e-06
+ 1.000000e-06  1.928830e-02 -3.015315e-01 -3.015316e-01 -9.335916e-06 -9.179699e-06
+ 1.000000e-06  1.939172e-02 -3.015070e-01 -3.015072e-01 -2.326096e-07 -3.567670e-07
+ 1.000000e-06  1.949459e-02 -3.014838e-01 -3.014836e-01  5.355977e-06  5.530485e-06
+ 1.000000e-06  1.959692e-02 -3.014514e-01 -3.014519e-01 -7.704781e-07 -1.731099e-06
+ 1.000000e-06  1.969872e-02 -3.014191e-01 -3.014198e-01 -6.553765e-07 -1.640209e-06
+ 1.000000e-06  1.979999e-02 -3.013880e-01 -3.013877e-01  2.409461e-06  3.539144e-06
+ 1.000000e-06  1.990075e-02 -3.013510e-01 -3.013503e-01 -1.550645e-04 -1.543008e-04
+ 1.000000e-06  2.000100e-02 -3.011538e-01 -3.011527e-01 -6.407412e-02  1.313997e-04
+ 1.601000e-03  1.000000e-06 -1.997591e-01 -1.997309e-01  4.664380e-08 -2.435233e-05
+ 1.601000e-03  2.001000e-03 -2.001449e-01 -3.003894e-01 -1.131187e-06  2.243328e-05
+ 1.601000e-03  2.829427e-03 -2.005404e-01 -3.003596e-01 -6.088831e-06  1.753551e-05
+ 1.601000e-03  3.465102e-03 -2.009118e-01 -3.003402e-01  3.525457e-07 -5.735185e-07
+ 1.601000e-03  4.001000e-03 -2.012264e-01 -3.003131e-01 -1.484549e-05  1.019045e-05
+ 1.601000e-03  4.473136e-03 -2.015536e-01 -3.002782e-01 -4.501895e-06 -2.331362e-06
+ 1.601000e-03  4.899979e-03 -2.019244e-01 -3.002491e-01 -4.716619e-06  6.799902e-07
+ 1.601000e-03  5.292503e-03 -2.022785e-01 -3.002254e-01  2.149586e-06 -7.109708e-07
+ 1.601000e-03  5.657854e-03 -2.026209e-01 -3.002023e-01  3.965865e-06 -5.404661e-07
+ 1.601000e-03  6.001000e-03 -2.029795e-01 -3.001802e-01  1.604384e-07  5.380684e-08
+ 1.601000e-03  6.325555e-03 -2.033397e-01 -3.001602e-01  1.170990e-06 -9.680374e-08
+ 1.601000e-03  6.634250e-03 -2.036967e-01 -3.001419e-01  2.148349e-06 -2.171777e-07
+ 1.601000e-03  6.929203e-03 -2.040596e-01 -3.001252e-01  2.150588e-08 -2.828087e-08
+ 1.601000e-03  7.212103e-03 -2.044246e-01 -3.001103e-01  5.420858e-07  1.250402e-08
+ 1.601000e-03  7.484315e-03 -2.047899e-01 -3.000973e-01  2.439476e-06 -3.528309e-08
+ 1.601000e-03  7.746967e-03 -2.051598e-01 -3.000859e-01 -5.542475e-07  1.262594e-07
+ 1.601000e-03  8.001000e-03 -2.055316e-01 -3.000764e-01 -2.536614e-06  2.139126e-07
+ 1.601000e-03  8.247211e-03 -2.059049e-01 -3.000686e-01 -9.149724e-07  1.465288e-07
+ 1.601000e-03  8.486281e-03 -2.062823e-01 -3.000625e-01  9.150339e-08  2.151700e-08
+ 1.601000e-03  8.718798e-03 -2.066611e-01 -3.000581e-01  1.822305e-06 -6.462516e-08
+ 1.601000e-03  8.945272e-03 -2.070427e-01 -3.000554e-01  3.036766e-06 -5.883775e-08
+ 1.601000e-03  9.166151e-03 -2.074275e-01 -3.000544e-01  3.817591e-06 -5.630815e-08
+ 1.601000e-03  9.381832e-03 -2.078140e-01 -3.000550e-01  5.309444e-06 -4.710583e-08
+ 1.601000e-03  9.592663e-03 -2.082040e-01 -3.000572e-01  4.912985e-06 -1.230464e-08
+ 1.601000e-03  9.798959e-03 -2.085959e-01 -3.000610e-01  1.924611e-06  3.303141e-08
+ 1.601000e-03  1.000100e-02 -2.089902e-01 -3.000664e-01 -7.200516e-06  1.001088e-07
+ 1.601000e-03  1.019904e-02 -2.093866e-01 -3.000733e-01 -1.880314e-05  1.296760e-07
+ 1.601000e-03  1.039330e-02 -2.097838e-01 -3.000817e-01 -1.696357e-05  1.357188e-07
+ 1.601000e-03  1.058401e-02 -2.101824e-01 -3.000916e-01 -2.524746e-06  1.233330e-07
+ 1.601000e-03  1.077133e-02 -2.105810e-01 -3.001029e-01 -4.515838e-06 -3.671112e-08
+ 1.601000e-03  1.095545e-02 -2.109804e-01 -3.001156e-01 -1.337074e-05 -2.367134e-07
+ 1.601000e-03  1.113653e-02 -2.113813e-01 -3.001297e-01  2.293155e-06 -1.903269e-07
+ 1.601000e-03  1.131471e-02 -2.117845e-01 -3.001452e-01  8.103591e-07 -1.268322e-08
+ 1.601000e-03  1.149013e-02 -2.121913e-01 -3.001619e-01  1.101333e-06  6.363426e-08
+ 1.601000e-03  1.166290e-02 -2.126012e-01 -3.001800e-01  3.071454e-06 -2.781071e-07
+ 1.601000e-03  1.183316e-02 -2.130138e-01 -3.001992e-01 -1.978854e-07 -5.654648e-07
+ 1.601000e-03  1.200100e-02 -3.002463e-01 -3.002196e-01 -2.072090e-05 -2.361484e-07
+ 1.601000e-03  1.216653e-02 -2.138420e-01 -3.002412e-01  1.744446e-07  2.153125e-08
+ 1.601000e-03  1.232983e-02 -3.002777e-01 -3.002638e-01 -2.970656e-05 -3.274017e-07
+ 1.601000e-03  1.249100e-02 -2.146746e-01 -3.002875e-01  1.904627e-07 -2.193445e-07
+ 1.601000e-03  1.265011e-02 -3.003091e-01 -3.003122e-01  2.121355e-05  2.326365e-07
+ 1.601000e-03  1.280725e-02 -3.003297e-01 -3.003379e-01  2.860671e-06  3.425761e-08
+ 1.601000e-03  1.296248e-02 -3.003554e-01 -3.003646e-01  2.912339e-06  1.964228e-08
+ 1.601000e-03  1.311588e-02 -3.003853e-01 -3.003923e-01  1.392960e-05  1.686046e-07
+ 1.601000e-03  1.326750e-02 -3.004175e-01 -3.004209e-01  9.728715e-07  1.829283e-08
+ 1.601000e-03  1.341741e-02 -3.004497e-01 -3.004502e-01  5.993517e-07  6.530885e-09
+ 1.601000e-03  1.356566e-02 -3.004807e-01 -3.004803e-01 -1.123372e-06 -1.800594e-08
+ 1.601000e-03  1.371231e-02 -3.005106e-01 -3.005111e-01  2.809769e-06  3.297401e-08
+ 1.601000e-03  1.385741e-02 -3.005409e-01 -3.005426e-01 -6.179149e-07 -9.438712e-09
+ 1.601000e-03  1.400100e-02 -3.005725e-01 -3.005746e-01  3.283625e-06  4.056274e-08
+ 1.601000e-03  1.414314e-02 -3.006058e-01 -3.006072e-01  1.378177e-06  2.248120e-08
+ 1.601000e-03  1.428386e-02 -3.006399e-01 -3.006403e-01  1.825701e-07  7.939434e-09
+ 1.601000e-03  1.442321e-02 -3.006738e-01 -3.006738e-01 -2.056949e-07 -5.197534e-09
+ 1.601000e-03  1.456122e-02 -3.007074e-01 -3.007076e-01  8.577028e-07  1.074790e-08
+ 1.601000e-03  1.469794e-02 -3.007411e-01 -3.007417e-01 -2.616154e-07  6.281535e-09
+ 1.601000e-03  1.483340e-02 -3.007753e-01 -3.007761e-01  1.608340e-06  2.320939e-08
+ 1.601000e-03  1.496763e-02 -3.008100e-01 -3.008106e-01  1.701690e-07  5.214082e-09
+ 1.601000e-03  1.510067e-02 -3.008451e-01 -3.008452e-01  2.005559e-07  2.552533e-09
+ 1.601000e-03  1.523255e-02 -3.008798e-01 -3.008798e-01 -2.055550e-08 -1.731049e-09
+ 1.601000e-03  1.536329e-02 -3.009141e-01 -3.009142e-01  3.670910e-07  7.159267e-08
+ 1.601000e-03  1.549293e-02 -3.009483e-01 -3.009487e-01 -7.866465e-09 -9.748493e-08
+ 1.601000e-03  1.562150e-02 -3.009824e-01 -3.009828e-01  7.889321e-07  1.316293e-08
+ 1.601000e-03  1.574902e-02 -3.010164e-01 -3.010166e-01 -1.609348e-08 -1.133796e-09
+ 1.601000e-03  1.587551e-02 -3.010500e-01 -3.010500e-01  6.056136e-08 -2.313887e-10
+ 1.601000e-03  1.600100e-02 -3.010829e-01 -3.010829e-01  8.270286e-08  1.527098e-09
+ 1.601000e-03  1.612552e-02 -3.011152e-01 -3.011153e-01 -6.102858e-08 -1.535711e-07
+ 1.601000e-03  1.624908e-02 -3.011460e-01 -3.011462e-01  5.024970e-07  4.346569e-07
+ 1.601000e-03  1.637171e-02 -3.011772e-01 -3.011775e-01  4.938774e-07  5.354040e-10
+ 1.601000e-03  1.649342e-02 -3.012073e-01 -3.012074e-01 -1.125421e-08  8.602498e-10
+ 1.601000e-03  1.661425e-02 -3.012362e-01 -3.012363e-01  8.348178e-08  6.230660e-10
+ 1.601000e-03  1.673420e-02 -3.012641e-01 -3.012641e-01 -2.033882e-08 -6.117363e-10
+ 1.601000e-03  1.685330e-02 -3.012905e-01 -3.012906e-01  8.325075e-08 -2.832218e-08
+ 1.601000e-03  1.697156e-02 -3.013148e-01 -3.013149e-01  1.115494e-06  1.115789e-06
+ 1.601000e-03  1.708901e-02 -3.013398e-01 -3.013399e-01 -5.690275e-09 -2.774668e-08
+ 1.601000e-03  1.720565e-02 -3.013616e-01 -3.013617e-01  2.951761e-07  9.048939e-10
+ 1.601000e-03  1.732151e-02 -3.013818e-01 -3.013820e-01  1.675702e-07 -4.393315e-08
+ 1.601000e-03  1.743660e-02 -3.014002e-01 -3.014003e-01  3.152731e-08  4.287485e-09
+ 1.601000e-03  1.755093e-02 -3.014165e-01 -3.014166e-01  2.413224e-08  7.868268e-09
+ 1.601000e-03  1.766452e-02 -3.014305e-01 -3.014306e-01  1.573124e-07  5.805918e-10
+ 1.601000e-03  1.777739e-02 -3.014421e-01 -3.014420e-01 -3.709715e-08 -7.563941e-09
+ 1.601000e-03  1.788954e-02 -3.014507e-01 -3.014507e-01 -1.599492e-08  1.159151e-09
+ 1.601000e-03  1.800100e-02 -3.014561e-01 -3.014561e-01 -7.989583e-09  2.312112e-08
+ 1.601000e-03  1.811177e-02 -3.014576e-01 -3.014576e-01 -3.769774e-08 -2.048066e-08
+ 1.601000e-03  1.822187e-02 -3.014441e-01 -3.014440e-01  1.222452e-05  1.288593e-05
+ 1.601000e-03  1.833130e-02 -3.018319e-01 -3.018318e-01 -6.840636e-02  1.463587e-05
+ 1.601000e-03  1.844009e-02 -3.016797e-01 -3.016764e-01 -1.453936e-04 -1.436294e-04
+ 1.601000e-03  1.854824e-02 -3.015275e-01 -3.015263e-01 -6.541208e-06 -4.323641e-06
+ 1.601000e-03  1.865576e-02 -3.014889e-01 -3.014888e-01 -3.154012e-08 -1.081680e-07
+ 1.601000e-03  1.876266e-02 -3.014619e-01 -3.014619e-01  3.587264e-08  3.425774e-08
+ 1.601000e-03  1.886896e-02 -3.014373e-01 -3.014374e-01 -2.744781e-07 -3.488604e-07
+ 1.601000e-03  1.897467e-02 -3.014110e-01 -3.014111e-01 -5.238490e-08 -9.553911e-08
+ 1.601000e-03  1.907978e-02 -3.013815e-01 -3.013816e-01  1.797679e-07 -8.843619e-09
+ 1.601000e-03  1.918433e-02 -3.013480e-01 -3.013481e-01  7.820692e-09 -7.418465e-08
+ 1.601000e-03  1.928830e-02 -3.013098e-01 -3.013098e-01  3.516861e-09 -3.186097e-09
+ 1.601000e-03  1.939172e-02 -3.012661e-01 -3.012662e-01  7.073108e-08  1.502766e-07
+ 1.601000e-03  1.949459e-02 -3.012160e-01 -3.012159e-01  9.372300e-09  5.781068e-07
+ 1.601000e-03  1.959692e-02 -3.011586e-01 -3.011585e-01 -4.172385e-07 -3.402615e-07
+ 1.601000e-03  1.969872e-02 -3.010737e-01 -3.010737e-01 -8.235490e-07 -7.343639e-07
+ 1.601000e-03  1.979999e-02 -3.010875e-01 -3.010870e-01  1.510000e-04  1.518300e-04
+ 1.601000e-03  1.990075e-02 -3.009703e-01 -3.009707e-01  2.756785e-07 -5.952828e-07
+ 1.601000e-03  2.000100e-02 -3.008729e-01 -3.008736e-01  4.757651e-06  4.660829e-06
+ 2.263742e-03  1.000000e-06 -2.002693e-01 -2.004459e-01  8.208026e-07 -3.837672e-04
+ 2.263742e-03  2.001000e-03 -2.007036e-01 -3.005742e-01 -6.332924e-06  1.027280e-05
+ 2.263742e-03  2.829427e-03 -2.010466e-01 -3.005597e-01  1.506276e-05 -1.300295e-05
+ 2.263742e-03  3.465102e-03 -2.013855e-01 -3.005317e-01  1.281110e-05 -1.136701e-05
+ 2.263742e-03  4.001000e-03 -2.017359e-01 -3.004995e-01 -4.797227e-07  2.974313e-06
+ 2.263742e-03  4.473136e-03 -2.020893e-01 -3.004627e-01  2.126457e-05 -1.355348e-05
+ 2.263742e-03  4.899979e-03 -2.024484e-01 -3.004320e-01 -5.071066e-06  1.435910e-06
+ 2.263742e-03  5.292503e-03 -2.027992e-01 -3.004091e-01 -1.499979e-05  1.737765e-06
+ 2.263742e-03  5.657854e-03 -2.031406e-01 -3.003876e-01 -2.726168e-06 -1.325510e-07
+ 2.263742e-03  6.001000e-03 -2.034887e-01 -3.003662e-01  2.252948e-06 -3.703249e-07
+ 2.263742e-03  6.325555e-03 -2.038428e-01 -3.003460e-01  1.060183e-07 -3.850508e-08
+ 2.263742e-03  6.634250e-03 -2.041971e-01 -3.003276e-01  7.225278e-07 -6.442094e-08
+ 2.263742e-03  6.929203e-03 -2.045526e-01 -3.003109e-01  1.530834e-06 -1.616931e-07
+ 2.263742e-03  7.212103e-03 -2.049112e-01 -3.002956e-01  6.288271e-07 -5.498497e-08
+ 2.263742e-03  7.484315e-03 -2.052719e-01 -3.002822e-01  5.752664e-07 -8.662173e-08
+ 2.263742e-03  7.746967e-03 -2.056340e-01 -3.002704e-01  1.181364e-06 -1.152220e-07
+ 2.263742e-03  8.001000e-03 -2.059993e-01 -3.002602e-01  1.416291e-07 -4.618318e-08
+ 2.263742e-03  8.247211e-03 -2.063665e-01 -3.002517e-01 -1.979929e-07 -1.720574e-08
+ 2.263742e-03  8.486281e-03 -2.067356e-01 -3.002449e-01  3.310882e-07  7.202372e-09
+ 2.263742e-03  8.718798e-03 -2.071079e-01 -3.002396e-01 -1.101115e-08 -4.024604e-09
+ 2.263742e-03  8.945272e-03 -2.074818e-01 -3.002361e-01  1.061037e-07 -2.696317e-08
+ 2.263742e-03  9.166151e-03 -2.078583e-01 -3.002340e-01  1.376257e-07 -1.093877e-08
+ 2.263742e-03  9.381832e-03 -2.082372e-01 -3.002336e-01  1.978292e-07 -1.376111e-08
+ 2.263742e-03  9.592663e-03 -2.086180e-01 -3.002346e-01  5.570620e-07 -8.201105e-09
+ 2.263742e-03  9.798959e-03 -2.090015e-01 -3.002372e-01  8.678341e-08  6.588287e-09
+ 2.263742e-03  1.000100e-02 -2.093870e-01 -3.002413e-01 -7.518312e-08 -5.049973e-10
+ 2.263742e-03  1.019904e-02 -2.097746e-01 -3.002469e-01 -3.093575e-08 -1.750505e-08
+ 2.263742e-03  1.039330e-02 -2.101645e-01 -3.002539e-01 -3.690273e-08 -8.254519e-08
+ 2.263742e-03  1.058401e-02 -2.105562e-01 -3.002622e-01  1.910327e-07 -1.820197e-07
+ 2.263742e-03  1.077133e-02 -2.109501e-01 -3.002720e-01  1.823698e-07 -2.541927e-07
+ 2.263742e-03  1.095545e-02 -2.113460e-01 -3.002831e-01  1.769403e-07 -2.181950e-07
+ 2.263742e-03  1.113653e-02 -2.117438e-01 -3.002954e-01  3.222282e-07 -3.826497e-08
+ 2.263742e-03  1.131471e-02 -2.121435e-01 -3.003091e-01  3.534919e-07  1.339137e-07
+ 2.263742e-03  1.149013e-02 -2.125449e-01 -3.003240e-01  1.466286e-07  1.426861e-07
+ 2.263742e-03  1.166290e-02 -2.129481e-01 -3.003401e-01  6.487686e-08  6.981614e-09
+ 2.263742e-03  1.183316e-02 -2.133527e-01 -3.003574e-01  2.793608e-07 -2.855095e-08
+ 2.263742e-03  1.200100e-02 -2.137590e-01 -3.003759e-01  2.070732e-07  9.105251e-08
+ 2.263742e-03  1.216653e-02 -2.141667e-01 -3.003955e-01  1.689540e-07  1.230424e-07
+ 2.263742e-03  1.232983e-02 -2.145759e-01 -3.004161e-01  7.696833e-08  2.808363e-08
+ 2.263742e-03  1.249100e-02 -2.149863e-01 -3.004378e-01 -3.779517e-08 -2.705007e-09
+ 2.263742e-03  1.265011e-02 -2.153979e-01 -3.004604e-01  1.800974e-07  9.372688e-09
+ 2.263742e-03  1.280725e-02 -2.158106e-01 -3.004840e-01 -1.023010e-08 -1.425168e-08
+ 2.263742e-03  1.296248e-02 -2.162242e-01 -3.005084e-01  1.299279e-07  2.563587e-08
+ 2.263742e-03  1.311588e-02 -2.166387e-01 -3.005337e-01 -4.107878e-09  1.539849e-08
+ 2.263742e-03  1.326750e-02 -2.170541e-01 -3.005598e-01  1.746479e-07  2.372848e-09
+ 2.263742e-03  1.341741e-02 -2.174702e-01 -3.005866e-01  4.729250e-08  4.775430e-08
+ 2.263742e-03  1.356566e-02 -2.178867e-01 -3.006142e-01  1.037805e-07  6.601352e-09
+ 2.263742e-03  1.371231e-02 -3.006420e-01 -3.006423e-01  2.876553e-07  3.540695e-08
+ 2.263742e-03  1.385741e-02 -2.187211e-01 -3.006711e-01 -2.814328e-08 -5.303411e-09
+ 2.263742e-03  1.400100e-02 -3.007004e-01 -3.007005e-01  6.756000e-07  5.189503e-09
+ 2.263742e-03  1.414314e-02 -3.007300e-01 -3.007305e-01  5.323477e-07  5.344109e-07
+ 2.263742e-03  1.428386e-02 -3.007598e-01 -3.007606e-01  6.407421e-07  7.319855e-09
+ 2.263742e-03  1.442321e-02 -3.007905e-01 -3.007912e-01  1.304886e-06  1.933849e-08
+ 2.263742e-03  1.456122e-02 -3.008217e-01 -3.008222e-01 -3.416609e-08  1.406272e-09
+ 2.263742e-03  1.469794e-02 -3.008533e-01 -3.008533e-01  5.145504e-08 -1.013625e-07
+ 2.263742e-03  1.483340e-02 -3.008847e-01 -3.008847e-01  9.540171e-08 -1.312365e-09
+ 2.263742e-03  1.496763e-02 -3.009160e-01 -3.009161e-01  2.591759e-07  1.999076e-09
+ 2.263742e-03  1.510067e-02 -3.009472e-01 -3.009476e-01  4.999674e-08 -6.514165e-10
+ 2.263742e-03  1.523255e-02 -3.009785e-01 -3.009789e-01  8.996341e-07  6.656420e-08
+ 2.263742e-03  1.536329e-02 -3.010116e-01 -3.010119e-01 -2.593607e-07 -2.635184e-07
+ 2.263742e-03  1.549293e-02 -3.010420e-01 -3.010421e-01  1.329084e-07  1.107914e-08
+ 2.263742e-03  1.562150e-02 -3.010730e-01 -3.010729e-01 -1.385257e-08 -3.026367e-09
+ 2.263742e-03  1.574902e-02 -3.011034e-01 -3.011035e-01  1.254518e-07  1.004190e-08
+ 2.263742e-03  1.587551e-02 -3.011333e-01 -3.011336e-01 -1.082042e-08 -9.261718e-09
+ 2.263742e-03  1.600100e-02 -3.011628e-01 -3.011630e-01  4.316618e-07 -1.239008e-08
+ 2.263742e-03  1.612552e-02 -3.011897e-01 -3.011899e-01  4.554115e-07  2.143823e-07
+ 2.263742e-03  1.624908e-02 -3.012230e-01 -3.012231e-01 -8.469413e-07 -8.534218e-07
+ 2.263742e-03  1.637171e-02 -3.012492e-01 -3.012492e-01  4.212123e-08  3.387256e-09
+ 2.263742e-03  1.649342e-02 -3.012757e-01 -3.012757e-01  8.482480e-09 -5.219464e-10
+ 2.263742e-03  1.661425e-02 -3.013013e-01 -3.013014e-01  1.129740e-07  9.247615e-10
+ 2.263742e-03  1.673420e-02 -3.013258e-01 -3.013259e-01 -5.668006e-08 -2.257723e-09
+ 2.263742e-03  1.685330e-02 -3.013486e-01 -3.013488e-01  8.475995e-07  6.970295e-07
+ 2.263742e-03  1.697156e-02 -3.013737e-01 -3.013739e-01  4.721596e-07  1.533137e-07
+ 2.263742e-03  1.708901e-02 -3.013929e-01 -3.013930e-01  7.764990e-08  2.034690e-09
+ 2.263742e-03  1.720565e-02 -3.014122e-01 -3.014122e-01 -1.673206e-08 -2.737526e-09
+ 2.263742e-03  1.732151e-02 -3.014298e-01 -3.014299e-01 -3.696859e-08 -8.542406e-08
+ 2.263742e-03  1.743660e-02 -3.014459e-01 -3.014459e-01  1.875644e-07  1.712743e-08
+ 2.263742e-03  1.755093e-02 -3.014601e-01 -3.014601e-01  6.781577e-08  5.330891e-08
+ 2.263742e-03  1.766452e-02 -3.014728e-01 -3.014726e-01 -3.514007e-07 -1.715363e-08
+ 2.263742e-03  1.777739e-02 -3.014834e-01 -3.014834e-01 -5.260455e-08 -2.818527e-08
+ 2.263742e-03  1.788954e-02 -3.014928e-01 -3.014928e-01  4.047911e-08 -2.491861e-08
+ 2.263742e-03  1.800100e-02 -3.015029e-01 -3.015030e-01  1.450975e-07  1.051619e-07
+ 2.263742e-03  1.811177e-02 -2.331417e-01 -3.019577e-01  2.335034e-04  1.439810e-04
+ 2.263742e-03  1.822187e-02 -3.018867e-01 -3.018786e-01  6.799316e-05  7.473153e-05
+ 2.263742e-03  1.833130e-02 -3.017788e-01 -3.017717e-01  2.843342e-05  2.996583e-05
+ 2.263742e-03  1.844009e-02 -3.016525e-01 -3.016484e-01 -2.147273e-04 -2.100445e-04
+ 2.263742e-03  1.854824e-02 -3.014839e-01 -3.014828e-01  2.166244e-05  2.137595e-05
+ 2.263742e-03  1.865576e-02 -3.014646e-01 -3.014646e-01  1.186750e-07  1.196158e-07
+ 2.263742e-03  1.876266e-02 -3.014426e-01 -3.014426e-01 -2.210014e-08 -6.230572e-08
+ 2.263742e-03  1.886896e-02 -3.014192e-01 -3.014193e-01 -7.905500e-09  1.085229e-08
+ 2.263742e-03  1.897467e-02 -3.013923e-01 -3.013924e-01 -2.898632e-08 -4.316365e-08
+ 2.263742e-03  1.907978e-02 -3.013611e-01 -3.013613e-01  3.095125e-07 -3.229088e-08
+ 2.263742e-03  1.918433e-02 -3.013253e-01 -3.013254e-01 -4.040156e-08  1.185766e-08
+ 2.263742e-03  1.928830e-02 -3.012844e-01 -3.012844e-01 -4.760400e-08 -1.074369e-07
+ 2.263742e-03  1.939172e-02 -3.012368e-01 -3.012369e-01  3.705726e-08 -5.055192e-08
+ 2.263742e-03  1.949459e-02 -3.011820e-01 -3.011820e-01  3.675731e-07 -2.840304e-08
+ 2.263742e-03  1.959692e-02 -3.011061e-01 -3.011060e-01 -5.345064e-08 -1.747609e-07
+ 2.263742e-03  1.969872e-02 -3.011103e-01 -3.011102e-01 -7.684598e-06 -7.934293e-06
+ 2.263742e-03  1.979999e-02 -3.009921e-01 -3.009921e-01  3.186411e-06  2.243829e-06
+ 2.263742e-03  1.990075e-02 -3.008947e-01 -3.008955e-01  1.630627e-07 -3.259406e-07
+ 2.263742e-03  2.000100e-02 -3.007744e-01 -3.007747e-01 -2.960723e-08 -3.421628e-07
+ 2.772281e-03  1.000000e-06 -2.007808e-01 -3.004645e-01 -1.145823e-06  4.067641e-04
+ 2.772281e-03  2.001000e-03 -2.012036e-01 -3.007574e-01  7.157720e-06 -9.180371e-06
+ 2.772281e-03  2.829427e-03 -2.015662e-01 -3.007307e-01  3.062125e-08  6.436353e-07
+ 2.772281e-03  3.465102e-03 -2.019143e-01 -3.007105e-01  1.790448e-06 -1.906616e-06
+ 2.772281e-03  4.001000e-03 -2.022537e-01 -3.006866e-01  4.015647e-06 -2.015538e-06
+ 2.772281e-03  4.473136e-03 -2.025988e-01 -3.006494e-01 -1.700868e-05  2.302905e-05
+ 2.772281e-03  4.899979e-03 -2.029598e-01 -3.006118e-01  8.631593e-06 -3.855715e-06
+ 2.772281e-03  5.292503e-03 -2.033142e-01 -3.005878e-01 -8.084484e-07  1.611903e-07
+ 2.772281e-03  5.657854e-03 -2.036510e-01 -3.005685e-01  3.571983e-06 -4.266057e-07
+ 2.772281e-03  6.001000e-03 -2.039912e-01 -3.005482e-01  5.139193e-06 -2.198312e-07
+ 2.772281e-03  6.325555e-03 -2.043399e-01 -3.005285e-01  1.516712e-06 -1.749039e-07
+ 2.772281e-03  6.634250e-03 -2.046895e-01 -3.005102e-01  3.778795e-07 -2.518561e-08
+ 2.772281e-03  6.929203e-03 -2.050408e-01 -3.004934e-01  6.814260e-07 -1.973598e-08
+ 2.772281e-03  7.212103e-03 -2.053938e-01 -3.004782e-01  8.010929e-07 -8.622273e-08
+ 2.772281e-03  7.484315e-03 -2.057491e-01 -3.004645e-01  1.671890e-07 -1.204938e-08
+ 2.772281e-03  7.746967e-03 -2.061067e-01 -3.004525e-01  4.556734e-08  8.244669e-10
+ 2.772281e-03  8.001000e-03 -2.064658e-01 -3.004420e-01  7.877558e-07 -9.862659e-09
+ 2.772281e-03  8.247211e-03 -2.068279e-01 -3.004331e-01  1.023819e-07  8.757528e-09
+ 2.772281e-03  8.486281e-03 -2.071918e-01 -3.004259e-01 -2.009154e-07 -2.352470e-09
+ 2.772281e-03  8.718798e-03 -2.075578e-01 -3.004201e-01  6.931293e-08  1.258202e-08
+ 2.772281e-03  8.945272e-03 -2.079266e-01 -3.004159e-01 -2.587479e-08  6.693117e-09
+ 2.772281e-03  9.166151e-03 -2.082971e-01 -3.004132e-01  1.701612e-07  1.455496e-10
+ 2.772281e-03  9.381832e-03 -2.086700e-01 -3.004121e-01  9.616222e-08  2.036387e-08
+ 2.772281e-03  9.592663e-03 -2.090453e-01 -3.004124e-01  5.113600e-08  1.706930e-08
+ 2.772281e-03  9.798959e-03 -2.094225e-01 -3.004142e-01  2.563693e-07  1.475584e-08
+ 2.772281e-03  1.000100e-02 -2.098022e-01 -3.004174e-01 -1.324017e-08  1.419594e-08
+ 2.772281e-03  1.019904e-02 -2.101837e-01 -3.004220e-01 -5.698082e-08  7.318925e-10
+ 2.772281e-03  1.039330e-02 -2.105675e-01 -3.004280e-01 -2.886703e-08 -5.345453e-10
+ 2.772281e-03  1.058401e-02 -2.109532e-01 -3.004354e-01  9.496958e-08 -8.938605e-09
+ 2.772281e-03  1.077133e-02 -2.113409e-01 -3.004440e-01  2.816003e-07  9.993428e-10
+ 2.772281e-03  1.095545e-02 -2.117308e-01 -3.004540e-01  5.012701e-08  1.125258e-08
+ 2.772281e-03  1.113653e-02 -2.121223e-01 -3.004652e-01  1.829475e-08 -9.544819e-09
+ 2.772281e-03  1.131471e-02 -2.125157e-01 -3.004777e-01  6.749789e-08 -1.160281e-08
+ 2.772281e-03  1.149013e-02 -2.129109e-01 -3.004913e-01  5.096856e-08 -2.546307e-09
+ 2.772281e-03  1.166290e-02 -2.133077e-01 -3.005061e-01  7.295997e-08  1.559014e-08
+ 2.772281e-03  1.183316e-02 -2.137061e-01 -3.005220e-01  3.537672e-08  1.716818e-08
+ 2.772281e-03  1.200100e-02 -2.141060e-01 -3.005389e-01  1.444327e-07 -6.026914e-09
+ 2.772281e-03  1.216653e-02 -2.145074e-01 -3.005569e-01  4.043156e-08 -3.284265e-09
+ 2.772281e-03  1.232983e-02 -2.149101e-01 -3.005760e-01  3.316995e-08  2.793516e-08
+ 2.772281e-03  1.249100e-02 -2.153143e-01 -3.005959e-01 -1.461502e-07  2.377677e-08
+ 2.772281e-03  1.265011e-02 -2.157193e-01 -3.006169e-01 -3.199686e-09 -8.758658e-10
+ 2.772281e-03  1.280725e-02 -2.161255e-01 -3.006387e-01  2.657092e-08 -1.946257e-08
+ 2.772281e-03  1.296248e-02 -2.165328e-01 -3.006613e-01  1.164380e-07  3.880638e-09
+ 2.772281e-03  1.311588e-02 -2.169409e-01 -3.006848e-01  4.194098e-08 -4.101067e-09
+ 2.772281e-03  1.326750e-02 -2.173498e-01 -3.007089e-01  2.705669e-08  8.780608e-09
+ 2.772281e-03  1.341741e-02 -2.177593e-01 -3.007338e-01  7.495244e-08 -5.628990e-09
+ 2.772281e-03  1.356566e-02 -2.181692e-01 -3.007593e-01  1.425490e-07  3.181672e-08
+ 2.772281e-03  1.371231e-02 -2.185798e-01 -3.007854e-01  1.510313e-08  2.077445e-08
+ 2.772281e-03  1.385741e-02 -2.189906e-01 -3.008121e-01  3.874952e-08  2.369658e-09
+ 2.772281e-03  1.400100e-02 -2.194027e-01 -3.008396e-01  1.052787e-08  7.535070e-09
+ 2.772281e-03  1.414314e-02 -2.198128e-01 -3.008669e-01  3.088335e-08  4.081619e-08
+ 2.772281e-03  1.428386e-02 -2.202238e-01 -3.008949e-01  1.176049e-08  5.003237e-09
+ 2.772281e-03  1.442321e-02 -2.206346e-01 -3.009232e-01  6.383378e-08 -1.160362e-09
+ 2.772281e-03  1.456122e-02 -2.210450e-01 -3.009518e-01  2.090090e-07  4.795978e-08
+ 2.772281e-03  1.469794e-02 -2.214550e-01 -3.009804e-01  6.785055e-08  8.528633e-08
+ 2.772281e-03  1.483340e-02 -2.218645e-01 -3.010094e-01  3.348457e-07  1.974367e-09
+ 2.772281e-03  1.496763e-02 -3.010383e-01 -3.010384e-01  9.377043e-08  8.111202e-10
+ 2.772281e-03  1.510067e-02 -2.226799e-01 -3.010671e-01 -4.159774e-07 -1.069536e-07
+ 2.772281e-03  1.523255e-02 -3.011004e-01 -3.011005e-01  7.333819e-06  7.134088e-06
+ 2.772281e-03  1.536329e-02 -2.234962e-01 -3.011258e-01  9.552094e-09 -3.975083e-09
+ 2.772281e-03  1.549293e-02 -2.239000e-01 -3.011543e-01  2.068158e-08  9.126490e-09
+ 2.772281e-03  1.562150e-02 -3.011822e-01 -3.011825e-01  3.191491e-07  1.019536e-08
+ 2.772281e-03  1.574902e-02 -2.247042e-01 -3.012103e-01 -1.566314e-08 -2.471831e-09
+ 2.772281e-03  1.587551e-02 -3.012375e-01 -3.012376e-01  1.938532e-07 -3.096248e-09
+ 2.772281e-03  1.600100e-02 -2.255017e-01 -3.012641e-01 -1.585912e-06 -3.543738e-07
+ 2.772281e-03  1.612552e-02 -3.012916e-01 -3.012915e-01 -1.253974e-05 -1.248371e-05
+ 2.772281e-03  1.624908e-02 -3.013209e-01 -3.013209e-01 -9.278771e-07 -8.655204e-07
+ 2.772281e-03  1.637171e-02 -3.013439e-01 -3.013441e-01  1.010535e-07  3.185115e-08
+ 2.772281e-03  1.649342e-02 -3.013677e-01 -3.013679e-01  3.269117e-07  3.417238e-09
+ 2.772281e-03  1.661425e-02 -3.013908e-01 -3.013909e-01  9.210153e-08  4.024511e-09
+ 2.772281e-03  1.673420e-02 -3.014129e-01 -3.014129e-01  7.127845e-07  7.195522e-07
+ 2.772281e-03  1.685330e-02 -3.014375e-01 -3.014376e-01 -8.415954e-09 -4.793405e-08
+ 2.772281e-03  1.697156e-02 -3.014544e-01 -3.014544e-01 -2.943249e-08 -1.647823e-08
+ 2.772281e-03  1.708901e-02 -3.014731e-01 -3.014731e-01 -9.709807e-09  2.174717e-09
+ 2.772281e-03  1.720565e-02 -3.014905e-01 -3.014904e-01  3.002469e-08 -4.328270e-09
+ 2.772281e-03  1.732151e-02 -3.015064e-01 -3.015064e-01  9.256831e-08  1.984131e-08
+ 2.772281e-03  1.743660e-02 -3.015213e-01 -3.015214e-01  9.495722e-08  1.261587e-08
+ 2.772281e-03  1.755093e-02 -3.015352e-01 -3.015352e-01 -1.312723e-07  5.363022e-08
+ 2.772281e-03  1.766452e-02 -3.015481e-01 -3.015482e-01  3.070389e-07  2.047570e-08
+ 2.772281e-03  1.777739e-02 -3.015619e-01 -3.015620e-01  3.563425e-07  1.273324e-07
+ 2.772281e-03  1.788954e-02 -3.015817e-01 -3.015818e-01  7.512416e-08  1.774178e-09
+ 2.772281e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.772281e-03  1.811177e-02 -2.333568e-01 -3.020766e-01  2.649215e-04  1.370368e-04
+ 2.772281e-03  1.822187e-02 -3.018663e-01 -3.018605e-01 -6.848591e-02  7.075146e-05
+ 2.772281e-03  1.833130e-02 -3.017511e-01 -3.017426e-01 -5.554931e-05 -5.220678e-05
+ 2.772281e-03  1.844009e-02 -3.016681e-01 -3.016650e-01 -8.049517e-05 -7.294982e-05
+ 2.772281e-03  1.854824e-02 -3.014569e-01 -3.014559e-01  7.611319e-06  1.003512e-05
+ 2.772281e-03  1.865576e-02 -3.014665e-01 -3.014665e-01 -5.656304e-07 -5.565097e-07
+ 2.772281e-03  1.876266e-02 -3.014507e-01 -3.014507e-01 -7.742011e-08 -7.111073e-08
+ 2.772281e-03  1.886896e-02 -3.014297e-01 -3.014297e-01  3.053023e-07  2.883887e-07
+ 2.772281e-03  1.897467e-02 -3.014034e-01 -3.014035e-01 -1.072589e-07 -1.061726e-08
+ 2.772281e-03  1.907978e-02 -3.013719e-01 -3.013722e-01  4.151180e-07 -4.485634e-08
+ 2.772281e-03  1.918433e-02 -3.013355e-01 -3.013356e-01  2.916455e-10  5.863549e-08
+ 2.772281e-03  1.928830e-02 -3.012936e-01 -3.012935e-01  3.508663e-08 -6.622427e-08
+ 2.772281e-03  1.939172e-02 -3.012450e-01 -3.012450e-01  4.162808e-08  8.320802e-09
+ 2.772281e-03  1.949459e-02 -3.011897e-01 -3.011896e-01  4.474506e-07  1.401864e-07
+ 2.772281e-03  1.959692e-02 -3.011221e-01 -3.011220e-01 -1.267016e-06 -1.293601e-06
+ 2.772281e-03  1.969872e-02 -3.011306e-01 -3.011307e-01 -3.830354e-05 -3.868811e-05
+ 2.772281e-03  1.979999e-02 -3.009786e-01 -3.009788e-01  6.311783e-07  1.212061e-07
+ 2.772281e-03  1.990075e-02 -3.008785e-01 -3.008793e-01  6.489516e-07 -7.524488e-07
+ 2.772281e-03  2.000100e-02 -3.007410e-01 -3.007412e-01  1.034033e-05  1.113409e-05
+ 3.201000e-03  1.000000e-06 -2.012878e-01 -2.012927e-01 -2.794127e-09  6.201594e-07
+ 3.201000e-03  2.001000e-03 -2.017238e-01 -3.009291e-01  4.627236e-07 -4.650745e-07
+ 3.201000e-03  2.829427e-03 -2.020818e-01 -3.009078e-01  2.038408e-06 -1.192585e-06
+ 3.201000e-03  3.465102e-03 -2.024295e-01 -3.008866e-01  3.829840e-07 -4.136047e-06
+ 3.201000e-03  4.001000e-03 -2.027680e-01 -3.008687e-01  2.073919e-06 -7.124509e-06
+ 3.201000e-03  4.473136e-03 -2.031038e-01 -3.008384e-01  6.812700e-07  9.409988e-07
+ 3.201000e-03  4.899979e-03 -2.034576e-01 -3.007943e-01  1.811105e-06 -1.138403e-06
+ 3.201000e-03  5.292503e-03 -2.038208e-01 -3.007633e-01 -2.168968e-05  7.988482e-06
+ 3.201000e-03  5.657854e-03 -2.041596e-01 -3.007457e-01 -1.967949e-05  3.645861e-06
+ 3.201000e-03  6.001000e-03 -2.044898e-01 -3.007278e-01 -4.665489e-06  3.280261e-07
+ 3.201000e-03  6.325555e-03 -2.048319e-01 -3.007087e-01  4.367323e-07 -4.739233e-08
+ 3.201000e-03  6.634250e-03 -2.051779e-01 -3.006908e-01  7.867090e-07 -9.747672e-08
+ 3.201000e-03  6.929203e-03 -2.055240e-01 -3.006741e-01  6.973432e-07  1.181088e-08
+ 3.201000e-03  7.212103e-03 -2.058728e-01 -3.006590e-01  2.004070e-07 -9.366316e-09
+ 3.201000e-03  7.484315e-03 -2.062229e-01 -3.006454e-01  6.634877e-07 -3.540087e-08
+ 3.201000e-03  7.746967e-03 -2.065755e-01 -3.006332e-01  2.637938e-07  7.799096e-09
+ 3.201000e-03  8.001000e-03 -2.069301e-01 -3.006226e-01 -2.263301e-08 -2.208486e-09
+ 3.201000e-03  8.247211e-03 -2.072865e-01 -3.006135e-01  3.238548e-07  1.256738e-09
+ 3.201000e-03  8.486281e-03 -2.076455e-01 -3.006059e-01  1.869969e-08  3.816412e-09
+ 3.201000e-03  8.718798e-03 -2.080064e-01 -3.005998e-01  1.931908e-08  7.064604e-11
+ 3.201000e-03  8.945272e-03 -2.083695e-01 -3.005952e-01  4.058801e-08  2.173811e-08
+ 3.201000e-03  9.166151e-03 -2.087352e-01 -3.005921e-01 -3.511278e-08  6.984291e-09
+ 3.201000e-03  9.381832e-03 -2.091026e-01 -3.005904e-01  7.889148e-08 -4.110315e-10
+ 3.201000e-03  9.592663e-03 -2.094723e-01 -3.005901e-01  1.834240e-08  1.337569e-08
+ 3.201000e-03  9.798959e-03 -2.098442e-01 -3.005913e-01  2.567697e-08  1.136406e-08
+ 3.201000e-03  1.000100e-02 -2.102181e-01 -3.005938e-01  1.778571e-07  1.153279e-08
+ 3.201000e-03  1.019904e-02 -2.105943e-01 -3.005977e-01 -1.252859e-08  1.375161e-08
+ 3.201000e-03  1.039330e-02 -2.109721e-01 -3.006029e-01  3.292381e-07  5.237196e-09
+ 3.201000e-03  1.058401e-02 -2.113523e-01 -3.006094e-01  2.330211e-08  7.315959e-09
+ 3.201000e-03  1.077133e-02 -2.117346e-01 -3.006172e-01 -1.799968e-07  1.655622e-09
+ 3.201000e-03  1.095545e-02 -2.121183e-01 -3.006262e-01  1.725765e-07 -1.568539e-09
+ 3.201000e-03  1.113653e-02 -2.125042e-01 -3.006365e-01  2.904433e-08  6.016853e-10
+ 3.201000e-03  1.131471e-02 -2.128917e-01 -3.006479e-01 -1.749935e-08 -1.453290e-09
+ 3.201000e-03  1.149013e-02 -2.132810e-01 -3.006604e-01  3.576868e-08 -6.700540e-11
+ 3.201000e-03  1.166290e-02 -2.136720e-01 -3.006740e-01  4.719372e-08 -3.091440e-09
+ 3.201000e-03  1.183316e-02 -2.140644e-01 -3.006887e-01  5.864828e-08 -2.096404e-09
+ 3.201000e-03  1.200100e-02 -2.144585e-01 -3.007044e-01  1.847965e-08  4.973858e-09
+ 3.201000e-03  1.216653e-02 -2.148538e-01 -3.007212e-01  8.861335e-08  1.801969e-08
+ 3.201000e-03  1.232983e-02 -2.152507e-01 -3.007388e-01 -2.604885e-07 -1.295262e-08
+ 3.201000e-03  1.249100e-02 -2.156486e-01 -3.007574e-01 -9.638997e-09  1.595890e-08
+ 3.201000e-03  1.265011e-02 -2.160475e-01 -3.007769e-01  8.742646e-08  2.356826e-08
+ 3.201000e-03  1.280725e-02 -2.164479e-01 -3.007971e-01 -5.192174e-08  8.516288e-09
+ 3.201000e-03  1.296248e-02 -2.168490e-01 -3.008182e-01  3.913749e-07  1.991021e-07
+ 3.201000e-03  1.311588e-02 -2.172510e-01 -3.008400e-01  2.904054e-09  2.564113e-09
+ 3.201000e-03  1.326750e-02 -2.176536e-01 -3.008625e-01  7.942197e-08  6.679861e-09
+ 3.201000e-03  1.341741e-02 -2.180570e-01 -3.008857e-01  4.169724e-08 -5.531762e-10
+ 3.201000e-03  1.356566e-02 -2.184610e-01 -3.009095e-01 -5.262395e-09  2.702964e-09
+ 3.201000e-03  1.371231e-02 -2.188653e-01 -3.009338e-01  1.598567e-09 -3.315677e-09
+ 3.201000e-03  1.385741e-02 -2.192711e-01 -3.009590e-01 -1.325619e-06 -4.185243e-07
+ 3.201000e-03  1.400100e-02 -2.196745e-01 -3.009837e-01  2.997863e-07  2.109059e-07
+ 3.201000e-03  1.414314e-02 -2.200796e-01 -3.010095e-01  4.392438e-09  1.333307e-10
+ 3.201000e-03  1.428386e-02 -2.204842e-01 -3.010355e-01  1.027943e-07  1.049441e-08
+ 3.201000e-03  1.442321e-02 -2.208891e-01 -3.010618e-01 -2.235336e-08 -3.991400e-09
+ 3.201000e-03  1.456122e-02 -2.212934e-01 -3.010884e-01 -2.028265e-08 -5.892532e-08
+ 3.201000e-03  1.469794e-02 -2.216968e-01 -3.011147e-01  7.195780e-08  1.692540e-07
+ 3.201000e-03  1.483340e-02 -2.221004e-01 -3.011416e-01 -2.109234e-07  4.094426e-09
+ 3.201000e-03  1.496763e-02 -2.225019e-01 -3.011681e-01 -8.937445e-07 -1.516947e-07
+ 3.201000e-03  1.510067e-02 -2.229347e-01 -3.012043e-01 -1.497183e-05 -4.763085e-06
+ 3.201000e-03  1.523255e-02 -2.233086e-01 -3.012227e-01  2.053539e-07  1.080298e-07
+ 3.201000e-03  1.536329e-02 -2.237077e-01 -3.012491e-01  2.041277e-08  2.995634e-09
+ 3.201000e-03  1.549293e-02 -2.241060e-01 -3.012753e-01  9.322904e-08 -4.214457e-09
+ 3.201000e-03  1.562150e-02 -2.245032e-01 -3.013011e-01 -4.265263e-08  2.669273e-09
+ 3.201000e-03  1.574902e-02 -2.248986e-01 -3.013266e-01 -2.899282e-08 -1.381709e-08
+ 3.201000e-03  1.587551e-02 -2.252924e-01 -3.013513e-01 -3.728587e-08 -9.227202e-09
+ 3.201000e-03  1.600100e-02 -2.256789e-01 -3.013729e-01 -3.887422e-07 -1.276651e-07
+ 3.201000e-03  1.612552e-02 -3.014208e-01 -3.014210e-01 -7.526169e-02  5.362531e-05
+ 3.201000e-03  1.624908e-02 -2.264722e-01 -3.014282e-01 -5.554365e-07  4.906230e-07
+ 3.201000e-03  1.637171e-02 -3.014501e-01 -3.014501e-01  2.560933e-08 -5.666961e-09
+ 3.201000e-03  1.649342e-02 -3.014716e-01 -3.014716e-01  4.090960e-08  2.647440e-08
+ 3.201000e-03  1.661425e-02 -3.014957e-01 -3.014957e-01 -5.412812e-06 -5.433561e-06
+ 3.201000e-03  1.673420e-02 -3.015140e-01 -3.015140e-01 -4.987473e-06 -4.975735e-06
+ 3.201000e-03  1.685330e-02 -3.015313e-01 -3.015313e-01  2.065884e-08  2.901104e-08
+ 3.201000e-03  1.697156e-02 -3.015494e-01 -3.015495e-01  1.518327e-07 -2.828433e-09
+ 3.201000e-03  1.708901e-02 -3.015666e-01 -3.015667e-01  1.750877e-07 -2.902622e-08
+ 3.201000e-03  1.720565e-02 -3.015827e-01 -3.015828e-01  1.324461e-07  3.055995e-08
+ 3.201000e-03  1.732151e-02 -3.015979e-01 -3.015981e-01  3.216976e-08  8.071733e-08
+ 3.201000e-03  1.743660e-02 -3.016131e-01 -3.016131e-01  9.843237e-07  1.036233e-06
+ 3.201000e-03  1.755093e-02 -3.016282e-01 -3.016284e-01  1.134319e-08 -4.252689e-10
+ 3.201000e-03  1.766452e-02 -3.016461e-01 -3.016461e-01  1.471086e-07  3.648711e-08
+ 3.201000e-03  1.777739e-02 -3.016748e-01 -3.016747e-01  3.803486e-07  3.165422e-07
+ 3.201000e-03  1.788954e-02 -2.341489e-01 -3.028701e-01  4.505869e-04  3.347158e-04
+ 3.201000e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.201000e-03  1.811177e-02 -2.326227e-01 -3.020179e-01 -3.059874e-06  4.169413e-05
+ 3.201000e-03  1.822187e-02 -3.017781e-01 -3.017672e-01 -2.517989e-05 -2.424632e-05
+ 3.201000e-03  1.833130e-02 -3.018021e-01 -3.017963e-01  2.515828e-05  2.628350e-05
+ 3.201000e-03  1.844009e-02 -3.017074e-01 -3.017059e-01 -7.896485e-05 -8.005281e-05
+ 3.201000e-03  1.854824e-02 -3.014435e-01 -3.014429e-01  1.804134e-05  1.696783e-05
+ 3.201000e-03  1.865576e-02 -3.014887e-01 -3.014886e-01 -1.508001e-06 -1.521054e-06
+ 3.201000e-03  1.876266e-02 -3.014771e-01 -3.014770e-01 -1.650690e-07 -1.187650e-07
+ 3.201000e-03  1.886896e-02 -3.014577e-01 -3.014576e-01 -1.560055e-07 -1.294092e-07
+ 3.201000e-03  1.897467e-02 -3.014320e-01 -3.014320e-01 -4.058821e-07 -3.931514e-07
+ 3.201000e-03  1.907978e-02 -3.014002e-01 -3.014005e-01  3.654296e-07 -1.270162e-08
+ 3.201000e-03  1.918433e-02 -3.013635e-01 -3.013637e-01  7.093407e-07  4.370930e-07
+ 3.201000e-03  1.928830e-02 -3.013211e-01 -3.013211e-01  1.075152e-08  3.185376e-08
+ 3.201000e-03  1.939172e-02 -3.012724e-01 -3.012724e-01  1.609433e-07  3.193765e-07
+ 3.201000e-03  1.949459e-02 -3.012178e-01 -3.012176e-01  9.632244e-08  5.347684e-07
+ 3.201000e-03  1.959692e-02 -3.011554e-01 -3.011553e-01  1.268025e-06  1.009991e-06
+ 3.201000e-03  1.969872e-02 -3.011590e-01 -3.011593e-01 -8.433513e-05 -8.473178e-05
+ 3.201000e-03  1.979999e-02 -3.009908e-01 -3.009912e-01 -7.398064e-08 -7.719270e-07
+ 3.201000e-03  1.990075e-02 -3.008940e-01 -3.008949e-01  6.123701e-07 -6.625559e-07
+ 3.201000e-03  2.000100e-02 -3.007713e-01 -3.007715e-01  1.439673e-06  1.306806e-06
+ 3.578709e-03  1.000000e-06 -2.017924e-01 -2.017824e-01 -1.721302e-07  2.621059e-05
+ 3.578709e-03  2.001000e-03 -2.022362e-01 -3.011003e-01 -4.302390e-08  7.547071e-08
+ 3.578709e-03  2.829427e-03 -2.025946e-01 -3.010829e-01 -1.275276e-07  8.076176e-07
+ 3.578709e-03  3.465102e-03 -2.029394e-01 -3.010620e-01  6.796953e-07  5.161746e-07
+ 3.578709e-03  4.001000e-03 -2.032764e-01 -3.010462e-01  1.200661e-06 -5.309817e-06
+ 3.578709e-03  4.473136e-03 -2.036068e-01 -3.010257e-01  4.617225e-07 -1.029408e-06
+ 3.578709e-03  4.899979e-03 -2.039478e-01 -3.009830e-01 -1.175731e-05  1.415935e-05
+ 3.578709e-03  5.292503e-03 -2.043142e-01 -3.009397e-01  2.283314e-05 -1.088497e-05
+ 3.578709e-03  5.657854e-03 -2.046647e-01 -3.009187e-01 -1.749745e-06  4.852126e-07
+ 3.578709e-03  6.001000e-03 -2.049891e-01 -3.009045e-01  4.829332e-06 -7.960016e-07
+ 3.578709e-03  6.325555e-03 -2.053197e-01 -3.008871e-01  6.742504e-06 -4.618073e-07
+ 3.578709e-03  6.634250e-03 -2.056621e-01 -3.008696e-01  1.074966e-06 -2.245330e-08
+ 3.578709e-03  6.929203e-03 -2.060041e-01 -3.008533e-01  8.857395e-08 -7.302658e-08
+ 3.578709e-03  7.212103e-03 -2.063478e-01 -3.008384e-01  2.146546e-07 -4.789871e-09
+ 3.578709e-03  7.484315e-03 -2.066939e-01 -3.008248e-01  8.797824e-08 -5.879853e-09
+ 3.578709e-03  7.746967e-03 -2.070413e-01 -3.008127e-01  6.021056e-07 -3.661506e-09
+ 3.578709e-03  8.001000e-03 -2.073912e-01 -3.008020e-01  1.298270e-07  7.330109e-09
+ 3.578709e-03  8.247211e-03 -2.077430e-01 -3.007928e-01 -2.042402e-08 -6.921153e-10
+ 3.578709e-03  8.486281e-03 -2.080967e-01 -3.007850e-01  2.257802e-07  2.320655e-09
+ 3.578709e-03  8.718798e-03 -2.084529e-01 -3.007786e-01 -2.119993e-10  2.843645e-09
+ 3.578709e-03  8.945272e-03 -2.088109e-01 -3.007737e-01  3.834215e-08  6.882573e-09
+ 3.578709e-03  9.166151e-03 -2.091712e-01 -3.007702e-01  8.380434e-08  1.133930e-08
+ 3.578709e-03  9.381832e-03 -2.095337e-01 -3.007681e-01 -1.195937e-08 -5.754506e-09
+ 3.578709e-03  9.592663e-03 -2.098980e-01 -3.007674e-01  1.138517e-07 -1.663371e-08
+ 3.578709e-03  9.798959e-03 -2.102645e-01 -3.007680e-01  2.475733e-08  1.752840e-10
+ 3.578709e-03  1.000100e-02 -2.106333e-01 -3.007700e-01 -7.764526e-07  4.238964e-08
+ 3.578709e-03  1.019904e-02 -2.110038e-01 -3.007733e-01  1.433155e-06 -1.775314e-08
+ 3.578709e-03  1.039330e-02 -2.113769e-01 -3.007778e-01  1.252710e-08  7.284862e-09
+ 3.578709e-03  1.058401e-02 -2.117518e-01 -3.007836e-01 -1.374847e-07  9.426175e-09
+ 3.578709e-03  1.077133e-02 -2.121282e-01 -3.007906e-01  2.355457e-08  1.028667e-08
+ 3.578709e-03  1.095545e-02 -2.125067e-01 -3.007988e-01  8.399854e-09  5.755682e-09
+ 3.578709e-03  1.113653e-02 -2.128868e-01 -3.008082e-01  1.026566e-07 -6.538379e-10
+ 3.578709e-03  1.131471e-02 -2.132688e-01 -3.008187e-01  5.058572e-08  2.121798e-09
+ 3.578709e-03  1.149013e-02 -2.136525e-01 -3.008302e-01 -4.705448e-08 -8.438893e-09
+ 3.578709e-03  1.166290e-02 -2.140378e-01 -3.008428e-01  1.280629e-08  4.826582e-10
+ 3.578709e-03  1.183316e-02 -2.144246e-01 -3.008565e-01  9.241940e-08  2.644169e-09
+ 3.578709e-03  1.200100e-02 -2.148130e-01 -3.008711e-01 -6.489819e-08  2.659325e-08
+ 3.578709e-03  1.216653e-02 -2.152025e-01 -3.008866e-01 -1.279864e-08  2.371699e-09
+ 3.578709e-03  1.232983e-02 -2.155936e-01 -3.009031e-01  1.148499e-07 -1.247325e-08
+ 3.578709e-03  1.249100e-02 -2.159857e-01 -3.009204e-01  1.654403e-07  2.595118e-08
+ 3.578709e-03  1.265011e-02 -2.163790e-01 -3.009385e-01 -1.481994e-10 -1.855684e-09
+ 3.578709e-03  1.280725e-02 -2.167731e-01 -3.009573e-01  2.644112e-07  1.033197e-07
+ 3.578709e-03  1.296248e-02 -2.171689e-01 -3.009772e-01 -4.568152e-09  8.364648e-09
+ 3.578709e-03  1.311588e-02 -2.175648e-01 -3.009975e-01  1.549373e-07  2.216815e-08
+ 3.578709e-03  1.326750e-02 -2.179618e-01 -3.010185e-01 -5.458899e-09  9.418707e-10
+ 3.578709e-03  1.341741e-02 -2.183592e-01 -3.010401e-01 -4.338939e-09  4.149390e-10
+ 3.578709e-03  1.356566e-02 -2.187573e-01 -3.010623e-01  3.108542e-08  1.584995e-09
+ 3.578709e-03  1.371231e-02 -2.191568e-01 -3.010854e-01  2.878825e-07  8.730577e-08
+ 3.578709e-03  1.385741e-02 -2.195532e-01 -3.011076e-01 -2.167747e-07 -1.187011e-07
+ 3.578709e-03  1.400100e-02 -2.199528e-01 -3.011315e-01  1.207066e-08 -7.641727e-09
+ 3.578709e-03  1.414314e-02 -2.203521e-01 -3.011554e-01  9.101075e-08  1.129549e-09
+ 3.578709e-03  1.428386e-02 -2.207509e-01 -3.011796e-01  5.121838e-09  5.691352e-09
+ 3.578709e-03  1.442321e-02 -2.211496e-01 -3.012040e-01  4.754774e-09  1.658867e-09
+ 3.578709e-03  1.456122e-02 -2.215481e-01 -3.012288e-01 -3.180174e-07 -1.807996e-07
+ 3.578709e-03  1.469794e-02 -2.219462e-01 -3.012530e-01 -1.124942e-06 -2.821950e-08
+ 3.578709e-03  1.483340e-02 -2.223416e-01 -3.012775e-01  2.689734e-06  6.423379e-07
+ 3.578709e-03  1.496763e-02 -2.227865e-01 -3.013176e-01 -1.170408e-04 -3.608984e-05
+ 3.578709e-03  1.510067e-02 -2.231389e-01 -3.013284e-01 -1.688157e-07 -1.051331e-07
+ 3.578709e-03  1.523255e-02 -2.235335e-01 -3.013529e-01  3.192993e-09  1.005417e-08
+ 3.578709e-03  1.536329e-02 -2.239274e-01 -3.013772e-01  6.630075e-08  2.810907e-09
+ 3.578709e-03  1.549293e-02 -2.243202e-01 -3.014013e-01  1.055612e-07  3.744131e-08
+ 3.578709e-03  1.562150e-02 -2.247117e-01 -3.014250e-01 -7.735683e-09 -2.095996e-11
+ 3.578709e-03  1.574902e-02 -2.251019e-01 -3.014482e-01  3.664561e-08  7.285575e-09
+ 3.578709e-03  1.587551e-02 -2.254897e-01 -3.014703e-01  3.307382e-08  5.906908e-09
+ 3.578709e-03  1.600100e-02 -2.258649e-01 -3.014855e-01  2.020096e-07  7.343528e-08
+ 3.578709e-03  1.612552e-02 -2.262970e-01 -3.015505e-01  1.161899e-06  1.994675e-06
+ 3.578709e-03  1.624908e-02 -2.266568e-01 -3.015433e-01 -1.328396e-07  1.773001e-07
+ 3.578709e-03  1.637171e-02 -3.015626e-01 -3.015627e-01  9.431180e-07  7.106831e-07
+ 3.578709e-03  1.649342e-02 -2.274673e-01 -3.015931e-01  3.956860e-05  8.792539e-06
+ 3.578709e-03  1.661425e-02 -2.277864e-01 -3.015985e-01  1.812860e-06  4.564912e-07
+ 3.578709e-03  1.673420e-02 -3.016183e-01 -3.016184e-01  2.401862e-08  2.772867e-09
+ 3.578709e-03  1.685330e-02 -2.285480e-01 -3.016361e-01  1.060398e-07 -1.329297e-08
+ 3.578709e-03  1.697156e-02 -3.016530e-01 -3.016530e-01  5.358292e-08  4.722313e-08
+ 3.578709e-03  1.708901e-02 -3.016691e-01 -3.016692e-01  1.350084e-07  4.208410e-08
+ 3.578709e-03  1.720565e-02 -3.016847e-01 -3.016850e-01  6.869343e-08  9.616564e-08
+ 3.578709e-03  1.732151e-02 -3.017004e-01 -3.017003e-01  3.528089e-07  3.605391e-08
+ 3.578709e-03  1.743660e-02 -3.017174e-01 -3.017177e-01 -8.734109e-08 -1.964604e-07
+ 3.578709e-03  1.755093e-02 -3.017397e-01 -3.017398e-01 -3.063605e-07 -4.591509e-07
+ 3.578709e-03  1.766452e-02 -3.017772e-01 -3.017773e-01  9.324251e-08  1.625056e-07
+ 3.578709e-03  1.777739e-02 -2.339905e-01 -3.028564e-01 -1.523007e-03 -2.241592e-04
+ 3.578709e-03  1.788954e-02 -2.348525e-01 -3.031091e-01 -1.399487e-03 -7.492181e-04
+ 3.578709e-03  1.800100e-02 -2.325176e-01 -3.019213e-01  3.811520e-04  2.440939e-04
+ 3.578709e-03  1.811177e-02 -2.326049e-01 -3.019652e-01  1.191527e-05 -7.464646e-06
+ 3.578709e-03  1.822187e-02 -2.326449e-01 -3.019350e-01  3.441344e-05  2.375044e-05
+ 3.578709e-03  1.833130e-02 -3.018762e-01 -3.018736e-01 -3.122114e-05 -2.432202e-05
+ 3.578709e-03  1.844009e-02 -3.017501e-01 -3.017500e-01 -9.218459e-05 -9.016164e-05
+ 3.578709e-03  1.854824e-02 -3.014529e-01 -3.014533e-01  2.087404e-05  1.828338e-05
+ 3.578709e-03  1.865576e-02 -3.015288e-01 -3.015288e-01 -1.419998e-06 -1.165396e-06
+ 3.578709e-03  1.876266e-02 -3.015183e-01 -3.015183e-01 -1.433832e-07 -4.143211e-08
+ 3.578709e-03  1.886896e-02 -3.014989e-01 -3.014989e-01 -1.552540e-08 -5.566097e-08
+ 3.578709e-03  1.897467e-02 -3.014731e-01 -3.014730e-01 -1.675275e-07 -1.492190e-07
+ 3.578709e-03  1.907978e-02 -3.014409e-01 -3.014411e-01 -4.904663e-07 -6.353932e-07
+ 3.578709e-03  1.918433e-02 -3.014037e-01 -3.014037e-01 -2.755438e-07 -2.651741e-07
+ 3.578709e-03  1.928830e-02 -3.013604e-01 -3.013605e-01 -7.237964e-09 -3.678317e-08
+ 3.578709e-03  1.939172e-02 -3.013119e-01 -3.013119e-01 -1.892470e-07 -1.364868e-07
+ 3.578709e-03  1.949459e-02 -3.012585e-01 -3.012582e-01  5.441039e-08  7.321569e-07
+ 3.578709e-03  1.959692e-02 -3.012000e-01 -3.011999e-01  8.205816e-07  1.526350e-06
+ 3.578709e-03  1.969872e-02 -3.011939e-01 -3.011943e-01 -2.372808e-05 -2.415337e-05
+ 3.578709e-03  1.979999e-02 -3.010157e-01 -3.010162e-01  1.962674e-06  9.333561e-07
+ 3.578709e-03  1.990075e-02 -3.009268e-01 -3.009281e-01  1.225082e-07  5.869847e-08
+ 3.578709e-03  2.000100e-02 -3.008161e-01 -3.008161e-01  6.513009e-07  1.163610e-06
+ 3.920184e-03  1.000000e-06 -2.022943e-01 -2.022888e-01 -4.422172e-08  5.236196e-06
+ 3.920184e-03  2.001000e-03 -2.027444e-01 -3.012730e-01  2.997885e-07  8.673735e-08
+ 3.920184e-03  2.829427e-03 -2.031025e-01 -3.012567e-01 -6.530173e-08 -1.278912e-08
+ 3.920184e-03  3.465102e-03 -2.034457e-01 -3.012365e-01 -8.989443e-08 -6.948281e-07
+ 3.920184e-03  4.001000e-03 -2.037804e-01 -3.012205e-01  1.483954e-06 -6.001468e-06
+ 3.920184e-03  4.473136e-03 -2.041071e-01 -3.012077e-01  4.402638e-06 -1.198211e-05
+ 3.920184e-03  4.899979e-03 -2.044357e-01 -3.011759e-01  8.345436e-06 -1.239264e-05
+ 3.920184e-03  5.292503e-03 -2.047935e-01 -3.011226e-01 -1.045536e-05  8.019171e-06
+ 3.920184e-03  5.657854e-03 -2.051600e-01 -3.010899e-01 -3.718389e-05  1.486935e-05
+ 3.920184e-03  6.001000e-03 -2.054898e-01 -3.010769e-01 -2.859464e-05  6.589793e-06
+ 3.920184e-03  6.325555e-03 -2.058077e-01 -3.010635e-01 -6.607647e-06  7.567036e-07
+ 3.920184e-03  6.634250e-03 -2.061414e-01 -3.010469e-01  3.420224e-08 -9.210215e-09
+ 3.920184e-03  6.929203e-03 -2.064813e-01 -3.010310e-01  1.715438e-07 -1.170802e-08
+ 3.920184e-03  7.212103e-03 -2.068198e-01 -3.010164e-01  1.446695e-06 -7.274182e-09
+ 3.920184e-03  7.484315e-03 -2.071613e-01 -3.010030e-01  4.710879e-07  1.719273e-08
+ 3.920184e-03  7.746967e-03 -2.075046e-01 -3.009909e-01 -1.152122e-07 -1.613906e-08
+ 3.920184e-03  8.001000e-03 -2.078493e-01 -3.009802e-01  2.164892e-07 -1.756212e-08
+ 3.920184e-03  8.247211e-03 -2.081967e-01 -3.009709e-01  3.256806e-08 -1.168867e-09
+ 3.920184e-03  8.486281e-03 -2.085457e-01 -3.009630e-01  1.925026e-07  1.526052e-08
+ 3.920184e-03  8.718798e-03 -2.088968e-01 -3.009565e-01  2.638735e-07  8.722682e-09
+ 3.920184e-03  8.945272e-03 -2.092501e-01 -3.009513e-01 -3.200217e-08 -4.183803e-09
+ 3.920184e-03  9.166151e-03 -2.096053e-01 -3.009476e-01 -2.445643e-08 -1.905060e-09
+ 3.920184e-03  9.381832e-03 -2.099627e-01 -3.009451e-01  3.160304e-08  2.535664e-09
+ 3.920184e-03  9.592663e-03 -2.103223e-01 -3.009440e-01  6.617472e-09 -4.149268e-09
+ 3.920184e-03  9.798959e-03 -2.106837e-01 -3.009442e-01  5.106970e-08 -1.175441e-08
+ 3.920184e-03  1.000100e-02 -2.110471e-01 -3.009457e-01  2.951998e-07  1.559019e-08
+ 3.920184e-03  1.019904e-02 -2.114128e-01 -3.009484e-01  4.841294e-08 -5.443462e-10
+ 3.920184e-03  1.039330e-02 -2.117804e-01 -3.009524e-01  1.726853e-07  1.373928e-08
+ 3.920184e-03  1.058401e-02 -2.121496e-01 -3.009575e-01  1.282532e-08  1.404241e-09
+ 3.920184e-03  1.077133e-02 -2.125208e-01 -3.009638e-01  1.704432e-08  6.985686e-09
+ 3.920184e-03  1.095545e-02 -2.128937e-01 -3.009713e-01  3.415819e-07 -4.640719e-09
+ 3.920184e-03  1.113653e-02 -2.132685e-01 -3.009799e-01  1.847450e-07 -2.458064e-09
+ 3.920184e-03  1.131471e-02 -2.136451e-01 -3.009895e-01 -9.239832e-07  1.762329e-08
+ 3.920184e-03  1.149013e-02 -2.140235e-01 -3.010002e-01 -9.788115e-07  1.484897e-08
+ 3.920184e-03  1.166290e-02 -2.144035e-01 -3.010119e-01  1.999606e-06  1.497029e-08
+ 3.920184e-03  1.183316e-02 -2.147852e-01 -3.010245e-01 -3.608421e-07  9.137433e-09
+ 3.920184e-03  1.200100e-02 -2.151681e-01 -3.010381e-01  5.833986e-07  4.934944e-08
+ 3.920184e-03  1.216653e-02 -2.155522e-01 -3.010526e-01 -4.037262e-08 -2.219848e-08
+ 3.920184e-03  1.232983e-02 -2.159378e-01 -3.010679e-01  6.163505e-08  1.288828e-08
+ 3.920184e-03  1.249100e-02 -2.163242e-01 -3.010841e-01 -2.403124e-07 -3.614857e-09
+ 3.920184e-03  1.265011e-02 -2.167114e-01 -3.011008e-01  2.916964e-07  1.602936e-07
+ 3.920184e-03  1.280725e-02 -2.171002e-01 -3.011186e-01 -2.335229e-06 -6.013048e-07
+ 3.920184e-03  1.296248e-02 -2.174903e-01 -3.011371e-01 -2.541314e-09 -2.170433e-09
+ 3.920184e-03  1.311588e-02 -2.178807e-01 -3.011561e-01 -2.869514e-09  1.621302e-09
+ 3.920184e-03  1.326750e-02 -2.182719e-01 -3.011757e-01  8.153996e-08  3.040772e-09
+ 3.920184e-03  1.341741e-02 -2.186639e-01 -3.011960e-01  4.573294e-08  5.384457e-09
+ 3.920184e-03  1.356566e-02 -2.190575e-01 -3.012172e-01 -2.445083e-06 -7.844595e-07
+ 3.920184e-03  1.371231e-02 -2.194460e-01 -3.012366e-01  9.186080e-07  4.170089e-07
+ 3.920184e-03  1.385741e-02 -2.198410e-01 -3.012590e-01 -4.481967e-08 -1.548903e-08
+ 3.920184e-03  1.400100e-02 -2.202342e-01 -3.012809e-01  3.569773e-08 -5.195400e-10
+ 3.920184e-03  1.414314e-02 -2.206275e-01 -3.013032e-01  4.701140e-08 -2.665239e-10
+ 3.920184e-03  1.428386e-02 -2.210207e-01 -3.013257e-01 -2.838234e-09 -1.270080e-09
+ 3.920184e-03  1.442321e-02 -2.214137e-01 -3.013484e-01  6.211432e-08  2.428773e-09
+ 3.920184e-03  1.456122e-02 -2.218061e-01 -3.013711e-01 -6.246222e-08  4.571454e-07
+ 3.920184e-03  1.469794e-02 -2.221932e-01 -3.013926e-01  1.882824e-07 -2.431325e-08
+ 3.920184e-03  1.483340e-02 -2.226371e-01 -3.014323e-01 -1.798779e-04 -5.557582e-05
+ 3.920184e-03  1.496763e-02 -2.229839e-01 -3.014405e-01  3.118814e-07  1.184697e-07
+ 3.920184e-03  1.510067e-02 -2.233740e-01 -3.014633e-01  1.189152e-08  2.160794e-09
+ 3.920184e-03  1.523255e-02 -2.237634e-01 -3.014859e-01 -1.103976e-08 -1.002905e-08
+ 3.920184e-03  1.536329e-02 -2.241521e-01 -3.015083e-01  5.018628e-08  3.400580e-08
+ 3.920184e-03  1.549293e-02 -2.245396e-01 -3.015304e-01  2.765162e-09 -2.394777e-09
+ 3.920184e-03  1.562150e-02 -2.249260e-01 -3.015521e-01  4.989526e-08  3.946038e-09
+ 3.920184e-03  1.574902e-02 -2.253109e-01 -3.015731e-01  3.742488e-08  1.407475e-08
+ 3.920184e-03  1.587551e-02 -2.256943e-01 -3.015931e-01  6.005307e-07  2.006434e-07
+ 3.920184e-03  1.600100e-02 -2.261181e-01 -3.016350e-01 -1.817408e-05 -1.093143e-05
+ 3.920184e-03  1.612552e-02 -2.264788e-01 -3.016553e-01  7.091597e-07  1.606816e-06
+ 3.920184e-03  1.624908e-02 -2.268575e-01 -3.016638e-01 -9.982833e-06 -1.888612e-06
+ 3.920184e-03  1.637171e-02 -2.272598e-01 -3.016875e-01 -1.126524e-04 -2.544298e-05
+ 3.920184e-03  1.649342e-02 -2.275890e-01 -3.016939e-01 -2.579158e-08 -4.028256e-08
+ 3.920184e-03  1.661425e-02 -2.279722e-01 -3.017130e-01 -4.844837e-09 -1.884102e-08
+ 3.920184e-03  1.673420e-02 -2.283491e-01 -3.017301e-01  2.426561e-07  2.335247e-08
+ 3.920184e-03  1.685330e-02 -2.287257e-01 -3.017466e-01 -2.155599e-07  4.945943e-09
+ 3.920184e-03  1.697156e-02 -2.291043e-01 -3.017637e-01 -2.744266e-06 -1.670216e-06
+ 3.920184e-03  1.708901e-02 -2.294823e-01 -3.017791e-01  8.427021e-07  1.285721e-07
+ 3.920184e-03  1.720565e-02 -2.298619e-01 -3.017943e-01 -5.333797e-07 -1.517224e-07
+ 3.920184e-03  1.732151e-02 -2.302612e-01 -3.018141e-01 -1.251926e-08  1.135434e-08
+ 3.920184e-03  1.743660e-02 -2.306846e-01 -3.018387e-01 -3.894767e-06 -9.777741e-07
+ 3.920184e-03  1.755093e-02 -2.311942e-01 -3.018878e-01  5.075682e-07  7.637692e-07
+ 3.920184e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.920184e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.920184e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.920184e-03  1.800100e-02 -2.326024e-01 -3.022912e-01 -3.529489e-05 -3.052515e-05
+ 3.920184e-03  1.811177e-02 -2.326175e-01 -3.020466e-01  6.928946e-02 -1.324412e-04
+ 3.920184e-03  1.822187e-02 -2.326502e-01 -3.020737e-01  2.062509e-06 -7.021483e-05
+ 3.920184e-03  1.833130e-02 -2.326862e-01 -3.019365e-01  1.885706e-05 -3.963327e-05
+ 3.920184e-03  1.844009e-02 -3.017845e-01 -3.017856e-01 -6.364659e-05 -6.048334e-05
+ 3.920184e-03  1.854824e-02 -3.015213e-01 -3.015248e-01  7.833529e-05  7.842279e-05
+ 3.920184e-03  1.865576e-02 -3.015846e-01 -3.015846e-01  4.518835e-08 -4.657947e-08
+ 3.920184e-03  1.876266e-02 -3.015721e-01 -3.015722e-01  1.803557e-07 -8.508386e-09
+ 3.920184e-03  1.886896e-02 -3.015513e-01 -3.015514e-01 -2.923795e-07 -4.587036e-07
+ 3.920184e-03  1.897467e-02 -3.015238e-01 -3.015238e-01  1.618355e-08  4.703881e-08
+ 3.920184e-03  1.907978e-02 -3.014910e-01 -3.014913e-01  2.647061e-07 -1.045362e-07
+ 3.920184e-03  1.918433e-02 -3.014529e-01 -3.014527e-01 -1.532669e-07 -1.870762e-07
+ 3.920184e-03  1.928830e-02 -3.014095e-01 -3.014095e-01 -9.550515e-07 -9.579523e-07
+ 3.920184e-03  1.939172e-02 -3.013608e-01 -3.013611e-01  3.998146e-07 -1.535262e-07
+ 3.920184e-03  1.949459e-02 -3.013071e-01 -3.013067e-01  1.701746e-07  8.071727e-08
+ 3.920184e-03  1.959692e-02 -3.012510e-01 -3.012505e-01  9.691776e-10  2.434968e-07
+ 3.920184e-03  1.969872e-02 -3.012237e-01 -3.012241e-01 -1.794250e-05 -1.837931e-05
+ 3.920184e-03  1.979999e-02 -3.010491e-01 -3.010487e-01  1.977349e-05  2.064603e-05
+ 3.920184e-03  1.990075e-02 -3.009702e-01 -3.009716e-01  2.083006e-06  4.185766e-07
+ 3.920184e-03  2.000100e-02 -3.008709e-01 -3.008703e-01 -8.183992e-07 -7.227527e-07
+ 4.234202e-03  1.000000e-06 -2.027935e-01 -2.027945e-01 -8.135434e-09  7.552140e-07
+ 4.234202e-03  2.001000e-03 -2.032493e-01 -3.014447e-01 -8.453681e-08 -1.448916e-07
+ 4.234202e-03  2.829427e-03 -2.036061e-01 -3.014304e-01  8.409597e-08  2.864523e-07
+ 4.234202e-03  3.465102e-03 -2.039477e-01 -3.014104e-01 -1.418763e-07  1.329607e-06
+ 4.234202e-03  4.001000e-03 -2.042807e-01 -3.013928e-01 -1.001091e-08 -3.621452e-07
+ 4.234202e-03  4.473136e-03 -2.046049e-01 -3.013833e-01  2.867323e-06 -8.236245e-06
+ 4.234202e-03  4.899979e-03 -2.049240e-01 -3.013662e-01 -4.038784e-06  7.807064e-06
+ 4.234202e-03  5.292503e-03 -2.052635e-01 -3.013163e-01 -7.470982e-05  9.873345e-05
+ 4.234202e-03  5.657854e-03 -2.056391e-01 -3.012643e-01  3.900133e-05 -1.818829e-05
+ 4.234202e-03  6.001000e-03 -2.059870e-01 -3.012453e-01 -3.163944e-06  9.478744e-07
+ 4.234202e-03  6.325555e-03 -2.062996e-01 -3.012364e-01  3.117222e-06 -7.103280e-07
+ 4.234202e-03  6.634250e-03 -2.066186e-01 -3.012226e-01  8.580885e-06 -9.350505e-07
+ 4.234202e-03  6.929203e-03 -2.069539e-01 -3.012072e-01  2.053896e-06 -8.900250e-08
+ 4.234202e-03  7.212103e-03 -2.072897e-01 -3.011930e-01 -5.289522e-07 -1.296482e-08
+ 4.234202e-03  7.484315e-03 -2.076256e-01 -3.011799e-01  2.547723e-07 -2.745172e-08
+ 4.234202e-03  7.746967e-03 -2.079647e-01 -3.011680e-01  2.774509e-08 -6.428433e-09
+ 4.234202e-03  8.001000e-03 -2.083051e-01 -3.011574e-01  3.657096e-07  1.252618e-08
+ 4.234202e-03  8.247211e-03 -2.086474e-01 -3.011481e-01  4.053484e-07 -3.361370e-10
+ 4.234202e-03  8.486281e-03 -2.089920e-01 -3.011401e-01 -1.334068e-09 -5.819128e-09
+ 4.234202e-03  8.718798e-03 -2.093383e-01 -3.011334e-01  1.016883e-07  8.236151e-09
+ 4.234202e-03  8.945272e-03 -2.096868e-01 -3.011281e-01  1.507531e-07 -4.757170e-10
+ 4.234202e-03  9.166151e-03 -2.100373e-01 -3.011241e-01  1.788572e-09 -3.964192e-09
+ 4.234202e-03  9.381832e-03 -2.103898e-01 -3.011213e-01 -2.098828e-08 -1.447116e-10
+ 4.234202e-03  9.592663e-03 -2.107443e-01 -3.011199e-01  2.854344e-08  9.102214e-10
+ 4.234202e-03  9.798959e-03 -2.111007e-01 -3.011197e-01  3.225936e-07  2.614434e-08
+ 4.234202e-03  1.000100e-02 -2.114594e-01 -3.011207e-01 -9.592859e-09 -6.872607e-09
+ 4.234202e-03  1.019904e-02 -2.118201e-01 -3.011229e-01 -1.472053e-07  2.621431e-08
+ 4.234202e-03  1.039330e-02 -2.121823e-01 -3.011264e-01  7.324386e-08  1.638783e-09
+ 4.234202e-03  1.058401e-02 -2.125465e-01 -3.011309e-01  1.373118e-07 -2.915083e-09
+ 4.234202e-03  1.077133e-02 -2.129126e-01 -3.011366e-01  5.598929e-09 -3.095230e-09
+ 4.234202e-03  1.095545e-02 -2.132805e-01 -3.011434e-01  9.156027e-09  2.171599e-09
+ 4.234202e-03  1.113653e-02 -2.136501e-01 -3.011512e-01  5.816215e-08  4.874192e-09
+ 4.234202e-03  1.131471e-02 -2.140214e-01 -3.011601e-01 -7.965394e-09  1.221535e-09
+ 4.234202e-03  1.149013e-02 -2.143945e-01 -3.011699e-01 -2.079982e-07  2.039975e-08
+ 4.234202e-03  1.166290e-02 -2.147687e-01 -3.011808e-01  7.559147e-08  2.902767e-08
+ 4.234202e-03  1.183316e-02 -2.151449e-01 -3.011926e-01  7.176515e-08 -2.725265e-08
+ 4.234202e-03  1.200100e-02 -2.155220e-01 -3.012051e-01  1.711197e-07  1.657632e-08
+ 4.234202e-03  1.216653e-02 -2.159008e-01 -3.012186e-01  1.763992e-07 -3.817588e-09
+ 4.234202e-03  1.232983e-02 -2.162805e-01 -3.012329e-01  1.058145e-08 -4.766716e-09
+ 4.234202e-03  1.249100e-02 -2.166607e-01 -3.012477e-01  5.548987e-07  1.725862e-08
+ 4.234202e-03  1.265011e-02 -2.170442e-01 -3.012641e-01  4.034839e-07 -1.726433e-08
+ 4.234202e-03  1.280725e-02 -2.174268e-01 -3.012803e-01 -6.847829e-08  1.616616e-10
+ 4.234202e-03  1.296248e-02 -2.178109e-01 -3.012975e-01  1.262617e-06  8.984069e-09
+ 4.234202e-03  1.311588e-02 -2.181959e-01 -3.013152e-01 -1.725589e-06 -1.479743e-08
+ 4.234202e-03  1.326750e-02 -2.185821e-01 -3.013337e-01 -5.294153e-06 -5.958532e-08
+ 4.234202e-03  1.341741e-02 -2.189709e-01 -3.013533e-01 -5.601700e-06 -1.293620e-06
+ 4.234202e-03  1.356566e-02 -2.193506e-01 -3.013697e-01  8.370913e-06  1.922077e-06
+ 4.234202e-03  1.371231e-02 -2.197411e-01 -3.013907e-01  2.752765e-06  3.447415e-08
+ 4.234202e-03  1.385741e-02 -2.201292e-01 -3.014109e-01  1.146583e-08 -3.310801e-09
+ 4.234202e-03  1.400100e-02 -2.205172e-01 -3.014313e-01 -6.404140e-08  4.845271e-10
+ 4.234202e-03  1.414314e-02 -2.209052e-01 -3.014520e-01  6.598736e-07  9.208889e-09
+ 4.234202e-03  1.428386e-02 -2.212929e-01 -3.014729e-01  3.069171e-07 -9.213291e-09
+ 4.234202e-03  1.442321e-02 -2.216803e-01 -3.014940e-01 -7.390002e-07 -4.314396e-08
+ 4.234202e-03  1.456122e-02 -2.220657e-01 -3.015136e-01 -8.775016e-06  9.729026e-07
+ 4.234202e-03  1.469794e-02 -2.224776e-01 -3.015439e-01 -2.196959e-04 -6.769524e-05
+ 4.234202e-03  1.483340e-02 -2.228416e-01 -3.015576e-01  2.297563e-08 -3.354902e-08
+ 4.234202e-03  1.496763e-02 -2.232273e-01 -3.015788e-01 -3.412838e-07 -9.726666e-09
+ 4.234202e-03  1.510067e-02 -2.236124e-01 -3.015999e-01 -1.281406e-07  1.330633e-08
+ 4.234202e-03  1.523255e-02 -2.239968e-01 -3.016207e-01  1.070425e-07  1.380140e-08
+ 4.234202e-03  1.536329e-02 -2.243805e-01 -3.016414e-01  2.305751e-07  6.194363e-08
+ 4.234202e-03  1.549293e-02 -2.247629e-01 -3.016617e-01  1.765010e-08  6.383980e-10
+ 4.234202e-03  1.562150e-02 -2.251443e-01 -3.016814e-01  1.879851e-07  1.903176e-08
+ 4.234202e-03  1.574902e-02 -2.255247e-01 -3.017005e-01  3.185649e-07  4.706542e-08
+ 4.234202e-03  1.587551e-02 -2.258947e-01 -3.017141e-01  7.941055e-06  3.738987e-06
+ 4.234202e-03  1.600100e-02 -2.264037e-01 -3.018399e-01  1.376722e-04  1.694914e-04
+ 4.234202e-03  1.612552e-02 -2.267517e-01 -3.017848e-01 -3.229601e-05 -5.165816e-06
+ 4.234202e-03  1.624908e-02 -2.270232e-01 -3.017778e-01 -2.259345e-05 -4.991876e-06
+ 4.234202e-03  1.637171e-02 -2.274090e-01 -3.017967e-01  1.674211e-07  3.689204e-08
+ 4.234202e-03  1.649342e-02 -2.277857e-01 -3.018136e-01  9.064671e-08  5.809257e-09
+ 4.234202e-03  1.661425e-02 -2.281614e-01 -3.018300e-01  9.791293e-08  9.117346e-10
+ 4.234202e-03  1.673420e-02 -2.285377e-01 -3.018461e-01 -1.800998e-07 -6.364142e-09
+ 4.234202e-03  1.685330e-02 -2.289152e-01 -3.018622e-01  7.783607e-07  3.771318e-07
+ 4.234202e-03  1.697156e-02 -2.292960e-01 -3.018784e-01  1.083644e-06  4.361776e-07
+ 4.234202e-03  1.708901e-02 -2.296737e-01 -3.018934e-01  6.002281e-06  1.745973e-06
+ 4.234202e-03  1.720565e-02 -2.300816e-01 -3.019158e-01 -4.271501e-07 -3.349922e-08
+ 4.234202e-03  1.732151e-02 -2.305161e-01 -3.019441e-01  1.384609e-05  3.791576e-06
+ 4.234202e-03  1.743660e-02 -2.310493e-01 -3.019973e-01 -1.264255e-06 -3.912710e-07
+ 4.234202e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.234202e-03  1.766452e-02 -2.351827e-01 -3.030972e-01 -2.814972e-03 -6.671186e-05
+ 4.234202e-03  1.777739e-02 -2.324326e-01 -3.027350e-01 -2.324326e-01 -3.027350e-01
+ 4.234202e-03  1.788954e-02 -2.325094e-01 -3.023955e-01 -3.259074e-05  2.048052e-04
+ 4.234202e-03  1.800100e-02 -2.325756e-01 -3.020728e-01 -3.658125e-05  2.915637e-04
+ 4.234202e-03  1.811177e-02 -2.326102e-01 -3.021755e-01  1.808871e-06 -1.117029e-05
+ 4.234202e-03  1.822187e-02 -2.326323e-01 -3.021262e-01  4.698617e-06 -1.996859e-05
+ 4.234202e-03  1.833130e-02 -2.326750e-01 -3.019856e-01 -1.915583e-05  2.899052e-05
+ 4.234202e-03  1.844009e-02 -3.018075e-01 -3.018101e-01 -5.876787e-05 -5.621872e-05
+ 4.234202e-03  1.854824e-02 -3.016584e-01 -3.016626e-01 -7.560971e-05 -7.689165e-05
+ 4.234202e-03  1.865576e-02 -3.016546e-01 -3.016548e-01  3.801058e-07  1.904523e-07
+ 4.234202e-03  1.876266e-02 -3.016374e-01 -3.016375e-01  1.424533e-07 -5.415091e-09
+ 4.234202e-03  1.886896e-02 -3.016122e-01 -3.016123e-01  1.293340e-07  7.892802e-08
+ 4.234202e-03  1.897467e-02 -3.015827e-01 -3.015829e-01  1.721423e-07  3.903145e-08
+ 4.234202e-03  1.907978e-02 -3.015485e-01 -3.015488e-01  3.929510e-07  1.098887e-07
+ 4.234202e-03  1.918433e-02 -3.015122e-01 -3.015121e-01 -1.125221e-06 -1.007053e-06
+ 4.234202e-03  1.928830e-02 -3.014645e-01 -3.014643e-01  5.600912e-08  2.931651e-07
+ 4.234202e-03  1.939172e-02 -3.014150e-01 -3.014152e-01 -4.381089e-08  9.183921e-09
+ 4.234202e-03  1.949459e-02 -3.013612e-01 -3.013611e-01  2.972860e-07  4.695313e-07
+ 4.234202e-03  1.959692e-02 -3.013052e-01 -3.013045e-01  1.001381e-06  1.229223e-06
+ 4.234202e-03  1.969872e-02 -3.012547e-01 -3.012547e-01 -5.853505e-06 -6.312852e-06
+ 4.234202e-03  1.979999e-02 -3.010684e-01 -3.010682e-01 -3.547383e-06 -2.695227e-06
+ 4.234202e-03  1.990075e-02 -3.010227e-01 -3.010241e-01  1.589651e-05  1.466673e-05
+ 4.234202e-03  2.000100e-02 -3.009244e-01 -3.009243e-01  1.165750e-06  2.294535e-06
+ 4.526483e-03  1.000000e-06 -2.032902e-01 -2.032888e-01 -3.947166e-08  3.009137e-06
+ 4.526483e-03  2.001000e-03 -2.037507e-01 -3.016150e-01 -2.159793e-08 -3.662378e-08
+ 4.526483e-03  2.829427e-03 -2.041064e-01 -3.016031e-01 -5.685951e-08 -1.754188e-07
+ 4.526483e-03  3.465102e-03 -2.044457e-01 -3.015843e-01  1.716695e-08  2.338854e-07
+ 4.526483e-03  4.001000e-03 -2.047769e-01 -3.015649e-01  9.274591e-08 -7.307811e-07
+ 4.526483e-03  4.473136e-03 -2.050999e-01 -3.015542e-01  2.741209e-06 -9.935527e-06
+ 4.526483e-03  4.899979e-03 -2.054133e-01 -3.015479e-01  1.236970e-05 -2.684966e-05
+ 4.526483e-03  5.292503e-03 -2.057331e-01 -3.015161e-01  2.308522e-05 -3.063972e-05
+ 4.526483e-03  5.657854e-03 -2.060979e-01 -3.014502e-01 -1.634730e-05  1.188347e-05
+ 4.526483e-03  6.001000e-03 -2.064727e-01 -3.014129e-01 -5.346903e-05  2.225574e-05
+ 4.526483e-03  6.325555e-03 -2.067943e-01 -3.014042e-01 -3.687712e-05  9.715684e-06
+ 4.526483e-03  6.634250e-03 -2.070989e-01 -3.013959e-01 -7.241586e-06  1.121608e-06
+ 4.526483e-03  6.929203e-03 -2.074224e-01 -3.013821e-01  1.882252e-06 -1.599644e-07
+ 4.526483e-03  7.212103e-03 -2.077561e-01 -3.013682e-01  5.984954e-08 -6.410931e-09
+ 4.526483e-03  7.484315e-03 -2.080878e-01 -3.013555e-01  7.109253e-07 -1.804430e-08
+ 4.526483e-03  7.746967e-03 -2.084217e-01 -3.013438e-01  6.474093e-07 -1.320997e-08
+ 4.526483e-03  8.001000e-03 -2.087581e-01 -3.013333e-01  1.017533e-08 -6.565570e-09
+ 4.526483e-03  8.247211e-03 -2.090957e-01 -3.013241e-01  3.573634e-07  1.800772e-08
+ 4.526483e-03  8.486281e-03 -2.094356e-01 -3.013161e-01  2.506179e-07 -4.904184e-09
+ 4.526483e-03  8.718798e-03 -2.097774e-01 -3.013093e-01 -4.134986e-08 -1.055588e-08
+ 4.526483e-03  8.945272e-03 -2.101211e-01 -3.013038e-01  2.328276e-08 -7.993364e-10
+ 4.526483e-03  9.166151e-03 -2.104669e-01 -3.012996e-01  9.194861e-08 -6.591980e-09
+ 4.526483e-03  9.381832e-03 -2.108146e-01 -3.012966e-01  1.063075e-07  6.608829e-09
+ 4.526483e-03  9.592663e-03 -2.111640e-01 -3.012949e-01  4.023148e-07  3.388433e-08
+ 4.526483e-03  9.798959e-03 -2.115160e-01 -3.012943e-01 -3.941200e-08 -2.983078e-09
+ 4.526483e-03  1.000100e-02 -2.118698e-01 -3.012949e-01 -1.754295e-07  4.115459e-08
+ 4.526483e-03  1.019904e-02 -2.122251e-01 -3.012967e-01  2.059159e-08 -8.567529e-09
+ 4.526483e-03  1.039330e-02 -2.125824e-01 -3.012996e-01 -1.091820e-08 -5.704211e-10
+ 4.526483e-03  1.058401e-02 -2.129417e-01 -3.013036e-01  4.816696e-08  1.273780e-09
+ 4.526483e-03  1.077133e-02 -2.133027e-01 -3.013088e-01  2.188704e-08 -2.309822e-08
+ 4.526483e-03  1.095545e-02 -2.136655e-01 -3.013149e-01  2.390358e-08 -8.576205e-09
+ 4.526483e-03  1.113653e-02 -2.140300e-01 -3.013220e-01  5.216109e-10  7.451558e-10
+ 4.526483e-03  1.131471e-02 -2.143962e-01 -3.013302e-01 -6.499092e-08 -4.419619e-08
+ 4.526483e-03  1.149013e-02 -2.147640e-01 -3.013393e-01  1.263374e-07  5.027579e-08
+ 4.526483e-03  1.166290e-02 -2.151330e-01 -3.013493e-01  2.368248e-07 -2.391440e-09
+ 4.526483e-03  1.183316e-02 -2.155039e-01 -3.013601e-01  2.932061e-08  1.902463e-08
+ 4.526483e-03  1.200100e-02 -2.158760e-01 -3.013718e-01 -4.074263e-10  1.278361e-09
+ 4.526483e-03  1.216653e-02 -2.162491e-01 -3.013843e-01  3.228934e-07  6.916613e-08
+ 4.526483e-03  1.232983e-02 -2.166239e-01 -3.013976e-01 -1.675111e-07 -4.922379e-08
+ 4.526483e-03  1.249100e-02 -2.170013e-01 -3.014124e-01  5.239340e-07  2.914533e-07
+ 4.526483e-03  1.265011e-02 -2.173771e-01 -3.014266e-01  2.511588e-08  4.844877e-10
+ 4.526483e-03  1.280725e-02 -2.177550e-01 -3.014419e-01  4.576590e-09  1.349120e-09
+ 4.526483e-03  1.296248e-02 -2.181338e-01 -3.014580e-01  2.958547e-08 -8.030763e-10
+ 4.526483e-03  1.311588e-02 -2.185138e-01 -3.014746e-01  1.047034e-07  1.719474e-08
+ 4.526483e-03  1.326750e-02 -2.188999e-01 -3.014938e-01 -4.025989e-06 -1.371708e-06
+ 4.526483e-03  1.341741e-02 -2.192661e-01 -3.015057e-01  7.041710e-06  3.117197e-06
+ 4.526483e-03  1.356566e-02 -2.196529e-01 -3.015259e-01 -7.355006e-08 -2.100318e-08
+ 4.526483e-03  1.371231e-02 -2.200353e-01 -3.015444e-01  2.726974e-08 -4.357585e-10
+ 4.526483e-03  1.385741e-02 -2.204175e-01 -3.015632e-01 -6.679597e-08 -1.911376e-08
+ 4.526483e-03  1.400100e-02 -2.207999e-01 -3.015822e-01 -7.100843e-08  4.179037e-10
+ 4.526483e-03  1.414314e-02 -2.211824e-01 -3.016014e-01  1.007958e-07 -6.469636e-11
+ 4.526483e-03  1.428386e-02 -2.215651e-01 -3.016210e-01  4.276496e-07  1.389631e-08
+ 4.526483e-03  1.442321e-02 -2.220332e-01 -3.016656e-01 -2.574194e-05 -7.824875e-06
+ 4.526483e-03  1.456122e-02 -2.223170e-01 -3.016540e-01  4.409068e-06 -6.653124e-06
+ 4.526483e-03  1.469794e-02 -2.227082e-01 -3.016788e-01  1.913901e-06  1.107996e-07
+ 4.526483e-03  1.483340e-02 -2.230904e-01 -3.016986e-01  2.413721e-07  2.645518e-08
+ 4.526483e-03  1.496763e-02 -2.234714e-01 -3.017182e-01 -5.127704e-07  2.638487e-09
+ 4.526483e-03  1.510067e-02 -2.238519e-01 -3.017376e-01  1.995219e-07 -1.257202e-08
+ 4.526483e-03  1.523255e-02 -2.242322e-01 -3.017568e-01 -6.123884e-07  1.923350e-08
+ 4.526483e-03  1.536329e-02 -2.246116e-01 -3.017757e-01 -4.213124e-06 -6.942742e-09
+ 4.526483e-03  1.549293e-02 -2.249907e-01 -3.017943e-01 -1.199694e-06 -5.779894e-08
+ 4.526483e-03  1.562150e-02 -2.253698e-01 -3.018125e-01  1.258038e-05  1.587430e-07
+ 4.526483e-03  1.574902e-02 -2.257496e-01 -3.018299e-01  6.643558e-06  1.570635e-07
+ 4.526483e-03  1.587551e-02 -2.261578e-01 -3.018479e-01 -5.169954e-05 -2.008958e-06
+ 4.526483e-03  1.600100e-02 -2.266032e-01 -3.019734e-01 -4.099789e-04 -3.193565e-04
+ 4.526483e-03  1.612552e-02 -2.268564e-01 -3.018848e-01 -1.262391e-06  3.148744e-06
+ 4.526483e-03  1.624908e-02 -2.272387e-01 -3.019037e-01 -5.814965e-07  7.807151e-08
+ 4.526483e-03  1.637171e-02 -2.276125e-01 -3.019192e-01 -3.304228e-06 -6.138797e-08
+ 4.526483e-03  1.649342e-02 -2.279859e-01 -3.019348e-01  3.694664e-07 -4.520260e-09
+ 4.526483e-03  1.661425e-02 -2.283605e-01 -3.019504e-01 -1.159927e-06  5.419321e-09
+ 4.526483e-03  1.673420e-02 -2.287378e-01 -3.019664e-01 -3.369725e-07  5.027396e-08
+ 4.526483e-03  1.685330e-02 -2.291286e-01 -3.019880e-01  3.259996e-05  1.886497e-05
+ 4.526483e-03  1.697156e-02 -2.294948e-01 -3.019971e-01  4.725122e-08 -1.172545e-08
+ 4.526483e-03  1.708901e-02 -2.299094e-01 -3.020216e-01  6.404862e-07  7.479895e-08
+ 4.526483e-03  1.720565e-02 -2.303514e-01 -3.020527e-01  2.380858e-05  6.509533e-06
+ 4.526483e-03  1.732151e-02 -2.309069e-01 -3.021136e-01  5.727454e-06  1.970623e-07
+ 4.526483e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.526483e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.526483e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.526483e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.526483e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.526483e-03  1.800100e-02 -2.326402e-01 -3.021562e-01  4.814775e-07  6.581464e-05
+ 4.526483e-03  1.811177e-02 -2.325941e-01 -3.022505e-01 -1.431305e-05 -3.387681e-05
+ 4.526483e-03  1.822187e-02 -2.326246e-01 -3.021420e-01 -1.149259e-05  1.949368e-05
+ 4.526483e-03  1.833130e-02 -2.326672e-01 -3.020193e-01 -2.083561e-05  1.925309e-05
+ 4.526483e-03  1.844009e-02 -3.018191e-01 -3.018242e-01  2.384222e-05  1.525155e-05
+ 4.526483e-03  1.854824e-02 -3.017495e-01 -3.017492e-01 -5.935653e-05 -6.340706e-05
+ 4.526483e-03  1.865576e-02 -3.017312e-01 -3.017310e-01 -3.638276e-06 -2.866387e-06
+ 4.526483e-03  1.876266e-02 -3.017067e-01 -3.017067e-01 -2.826793e-07 -2.457734e-07
+ 4.526483e-03  1.886896e-02 -3.016807e-01 -3.016808e-01  1.424336e-07  2.348841e-08
+ 4.526483e-03  1.897467e-02 -3.016513e-01 -3.016514e-01 -8.138271e-07 -9.731266e-07
+ 4.526483e-03  1.907978e-02 -3.016147e-01 -3.016151e-01 -8.758401e-06 -9.099627e-06
+ 4.526483e-03  1.918433e-02 -3.015723e-01 -3.015718e-01 -3.349685e-07 -2.853113e-07
+ 4.526483e-03  1.928830e-02 -3.015252e-01 -3.015251e-01  8.678354e-07  1.125330e-06
+ 4.526483e-03  1.939172e-02 -3.014734e-01 -3.014738e-01  1.822978e-06  1.206546e-06
+ 4.526483e-03  1.949459e-02 -3.014208e-01 -3.014208e-01  6.166304e-08  9.125957e-08
+ 4.526483e-03  1.959692e-02 -3.013642e-01 -3.013634e-01 -3.632031e-06 -2.410050e-06
+ 4.526483e-03  1.969872e-02 -3.013072e-01 -3.013067e-01 -1.820387e-06 -1.445219e-07
+ 4.526483e-03  1.979999e-02 -3.010962e-01 -3.010959e-01 -7.106336e-07 -5.103910e-07
+ 4.526483e-03  1.990075e-02 -3.010869e-01 -3.010878e-01 -4.027803e-06 -4.471388e-06
+ 4.526483e-03  2.000100e-02 -3.009836e-01 -3.009856e-01  8.803061e-06  4.453836e-06
+ 4.801000e-03  1.000000e-06 -2.037841e-01 -3.017399e-01 -8.954156e-09  5.719434e-07
+ 4.801000e-03  2.001000e-03 -2.042486e-01 -3.017851e-01  1.590619e-08  1.091434e-07
+ 4.801000e-03  2.829427e-03 -2.046032e-01 -3.017746e-01 -8.291393e-09 -1.027238e-07
+ 4.801000e-03  3.465102e-03 -2.049402e-01 -3.017576e-01 -5.474885e-08  2.104251e-07
+ 4.801000e-03  4.001000e-03 -2.052688e-01 -3.017378e-01 -2.663738e-07  2.117799e-06
+ 4.801000e-03  4.473136e-03 -2.055908e-01 -3.017232e-01 -8.327693e-08  4.900675e-07
+ 4.801000e-03  4.899979e-03 -2.059024e-01 -3.017203e-01  1.998068e-06 -5.008208e-06
+ 4.801000e-03  5.292503e-03 -2.062084e-01 -3.017093e-01 -1.142801e-05  2.039908e-05
+ 4.801000e-03  5.657854e-03 -2.065440e-01 -3.016532e-01 -4.214392e-05  4.803116e-05
+ 4.801000e-03  6.001000e-03 -2.069351e-01 -3.015871e-01  5.834498e-05 -2.664703e-05
+ 4.801000e-03  6.325555e-03 -2.072853e-01 -3.015680e-01 -1.027216e-05  3.312140e-06
+ 4.801000e-03  6.634250e-03 -2.075856e-01 -3.015645e-01 -7.040823e-06  1.351301e-06
+ 4.801000e-03  6.929203e-03 -2.078910e-01 -3.015552e-01  4.644905e-06 -7.389970e-07
+ 4.801000e-03  7.212103e-03 -2.082179e-01 -3.015420e-01  2.039469e-06 -1.796323e-07
+ 4.801000e-03  7.484315e-03 -2.085478e-01 -3.015296e-01  8.745461e-08 -8.427717e-09
+ 4.801000e-03  7.746967e-03 -2.088763e-01 -3.015184e-01  1.318009e-06  8.093369e-09
+ 4.801000e-03  8.001000e-03 -2.092081e-01 -3.015081e-01  5.101877e-07 -5.780569e-09
+ 4.801000e-03  8.247211e-03 -2.095416e-01 -3.014990e-01 -1.796763e-07 -1.770518e-08
+ 4.801000e-03  8.486281e-03 -2.098766e-01 -3.014910e-01  1.867807e-08 -7.265012e-09
+ 4.801000e-03  8.718798e-03 -2.102139e-01 -3.014842e-01  7.161042e-08 -1.723996e-08
+ 4.801000e-03  8.945272e-03 -2.105530e-01 -3.014786e-01  1.661387e-07  5.442721e-09
+ 4.801000e-03  9.166151e-03 -2.108940e-01 -3.014742e-01  1.133082e-07  3.054973e-09
+ 4.801000e-03  9.381832e-03 -2.112368e-01 -3.014710e-01  5.632963e-07  3.428869e-09
+ 4.801000e-03  9.592663e-03 -2.115820e-01 -3.014689e-01  7.143943e-08 -3.434306e-09
+ 4.801000e-03  9.798959e-03 -2.119291e-01 -3.014681e-01 -1.290496e-07  5.231622e-08
+ 4.801000e-03  1.000100e-02 -2.122776e-01 -3.014684e-01  1.403285e-07  3.535422e-08
+ 4.801000e-03  1.019904e-02 -2.126281e-01 -3.014697e-01  5.131873e-08  5.665531e-09
+ 4.801000e-03  1.039330e-02 -2.129806e-01 -3.014721e-01  4.115060e-08  2.266204e-09
+ 4.801000e-03  1.058401e-02 -2.133350e-01 -3.014756e-01 -5.705467e-08 -1.455324e-08
+ 4.801000e-03  1.077133e-02 -2.136909e-01 -3.014801e-01  4.582158e-08  3.542430e-08
+ 4.801000e-03  1.095545e-02 -2.140489e-01 -3.014857e-01  1.012417e-09  7.061393e-09
+ 4.801000e-03  1.113653e-02 -2.144079e-01 -3.014921e-01 -9.160046e-07 -2.712234e-07
+ 4.801000e-03  1.131471e-02 -2.147693e-01 -3.014997e-01 -5.568175e-08 -1.334443e-08
+ 4.801000e-03  1.149013e-02 -2.151319e-01 -3.015080e-01  3.479577e-08  3.952032e-08
+ 4.801000e-03  1.166290e-02 -2.154960e-01 -3.015172e-01  9.413109e-11  5.866346e-09
+ 4.801000e-03  1.183316e-02 -2.158614e-01 -3.015272e-01 -4.397746e-08 -8.844313e-09
+ 4.801000e-03  1.200100e-02 -2.162285e-01 -3.015381e-01 -1.976703e-08 -4.080646e-09
+ 4.801000e-03  1.216653e-02 -2.165965e-01 -3.015496e-01 -1.361922e-09 -1.551641e-09
+ 4.801000e-03  1.232983e-02 -2.169678e-01 -3.015627e-01  3.910635e-06  1.942276e-06
+ 4.801000e-03  1.249100e-02 -2.173374e-01 -3.015754e-01  3.093612e-08  6.376936e-10
+ 4.801000e-03  1.265011e-02 -2.177090e-01 -3.015890e-01 -2.393806e-08 -1.892735e-09
+ 4.801000e-03  1.280725e-02 -2.180816e-01 -3.016033e-01  2.013795e-07  4.132876e-08
+ 4.801000e-03  1.296248e-02 -2.184563e-01 -3.016186e-01 -3.006509e-10 -6.091368e-09
+ 4.801000e-03  1.311588e-02 -2.188441e-01 -3.016388e-01  1.589375e-06  5.417327e-07
+ 4.801000e-03  1.326750e-02 -2.191912e-01 -3.016441e-01  5.969987e-06  2.576515e-06
+ 4.801000e-03  1.341741e-02 -2.195758e-01 -3.016640e-01  2.399421e-09  1.223358e-09
+ 4.801000e-03  1.356566e-02 -2.199528e-01 -3.016810e-01 -1.100691e-08 -2.516294e-09
+ 4.801000e-03  1.371231e-02 -2.203298e-01 -3.016982e-01  2.471675e-07  8.031348e-08
+ 4.801000e-03  1.385741e-02 -2.207068e-01 -3.017156e-01  3.282232e-08 -7.788161e-09
+ 4.801000e-03  1.400100e-02 -2.210844e-01 -3.017333e-01  2.595622e-08  2.369898e-09
+ 4.801000e-03  1.414314e-02 -2.214631e-01 -3.017516e-01 -1.388421e-06 -3.774097e-07
+ 4.801000e-03  1.428386e-02 -2.219771e-01 -3.018115e-01 -2.542947e-05 -7.899954e-06
+ 4.801000e-03  1.442321e-02 -2.221967e-01 -3.017811e-01  1.720723e-05  6.115225e-06
+ 4.801000e-03  1.456122e-02 -2.225862e-01 -3.018005e-01  4.836828e-06  5.915544e-06
+ 4.801000e-03  1.469794e-02 -2.229661e-01 -3.018220e-01  3.069897e-08 -7.424816e-09
+ 4.801000e-03  1.483340e-02 -2.233426e-01 -3.018402e-01 -1.256115e-08  1.106402e-08
+ 4.801000e-03  1.496763e-02 -2.237186e-01 -3.018582e-01  2.927429e-08 -4.249527e-08
+ 4.801000e-03  1.510067e-02 -2.240940e-01 -3.018759e-01  9.410287e-07  4.214911e-07
+ 4.801000e-03  1.523255e-02 -2.244693e-01 -3.018937e-01  1.685936e-08 -1.624856e-11
+ 4.801000e-03  1.536329e-02 -2.248442e-01 -3.019111e-01 -8.887549e-09  1.496878e-09
+ 4.801000e-03  1.549293e-02 -2.252194e-01 -3.019284e-01  2.208785e-08  7.084677e-10
+ 4.801000e-03  1.562150e-02 -2.255956e-01 -3.019455e-01  2.966119e-06  4.633640e-07
+ 4.801000e-03  1.574902e-02 -2.260509e-01 -3.019815e-01 -6.991391e-05 -1.608798e-05
+ 4.801000e-03  1.587551e-02 -2.264552e-01 -3.020611e-01  4.115343e-04  2.946088e-04
+ 4.801000e-03  1.600100e-02 -2.267386e-01 -3.020404e-01 -1.534180e-05 -1.211355e-05
+ 4.801000e-03  1.612552e-02 -2.270729e-01 -3.020166e-01  4.799315e-07 -3.326009e-07
+ 4.801000e-03  1.624908e-02 -2.274422e-01 -3.020294e-01  1.430287e-07  8.199077e-08
+ 4.801000e-03  1.637171e-02 -2.278137e-01 -3.020438e-01  1.681005e-06 -5.858717e-08
+ 4.801000e-03  1.649342e-02 -2.281876e-01 -3.020586e-01 -3.475715e-06  1.732164e-07
+ 4.801000e-03  1.661425e-02 -2.285673e-01 -3.020745e-01 -2.264493e-07  6.570115e-09
+ 4.801000e-03  1.673420e-02 -2.289598e-01 -3.020936e-01 -1.397948e-05 -1.469099e-06
+ 4.801000e-03  1.685330e-02 -2.293315e-01 -3.021038e-01 -1.450511e-05  1.589597e-06
+ 4.801000e-03  1.697156e-02 -2.297555e-01 -3.021309e-01  2.226113e-05 -8.894449e-08
+ 4.801000e-03  1.708901e-02 -2.302100e-01 -3.021655e-01 -1.576342e-05 -6.984629e-06
+ 4.801000e-03  1.720565e-02 -2.307712e-01 -3.022324e-01 -3.378758e-06 -1.563564e-06
+ 4.801000e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.801000e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.801000e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.801000e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.801000e-03  1.777739e-02 -2.326588e-01 -3.027267e-01  1.764266e-03 -9.310177e-05
+ 4.801000e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.801000e-03  1.800100e-02 -2.325305e-01 -3.023444e-01 -2.325305e-01 -3.023444e-01
+ 4.801000e-03  1.811177e-02 -2.325562e-01 -3.023280e-01 -8.920580e-07 -2.332486e-05
+ 4.801000e-03  1.822187e-02 -2.326234e-01 -3.021436e-01  3.395877e-07  1.584921e-05
+ 4.801000e-03  1.833130e-02 -2.326634e-01 -3.020406e-01  6.683823e-06 -2.239517e-05
+ 4.801000e-03  1.844009e-02 -3.017828e-01 -3.017905e-01  4.891016e-05  3.408029e-05
+ 4.801000e-03  1.854824e-02 -3.018197e-01 -3.018196e-01 -1.790716e-05 -1.801592e-05
+ 4.801000e-03  1.865576e-02 -3.018032e-01 -3.018025e-01  3.939185e-06  5.016066e-06
+ 4.801000e-03  1.876266e-02 -3.017852e-01 -3.017850e-01 -3.199186e-07  7.307815e-08
+ 4.801000e-03  1.886896e-02 -3.017625e-01 -3.017631e-01 -1.268413e-05 -1.332189e-05
+ 4.801000e-03  1.897467e-02 -3.017199e-01 -3.017196e-01 -4.458091e-06 -4.024576e-06
+ 4.801000e-03  1.907978e-02 -3.016805e-01 -3.016806e-01  6.142368e-07  3.609957e-07
+ 4.801000e-03  1.918433e-02 -3.016394e-01 -3.016389e-01 -8.672523e-07  1.062152e-07
+ 4.801000e-03  1.928830e-02 -3.015874e-01 -3.015873e-01  8.298624e-06  8.384566e-06
+ 4.801000e-03  1.939172e-02 -3.015416e-01 -3.015420e-01 -1.072074e-06 -1.245549e-06
+ 4.801000e-03  1.949459e-02 -3.014802e-01 -3.014805e-01 -8.124124e-07 -1.251189e-06
+ 4.801000e-03  1.959692e-02 -3.014258e-01 -3.014252e-01  1.632707e-06  1.455992e-06
+ 4.801000e-03  1.969872e-02 -3.013692e-01 -3.013685e-01 -2.132446e-08 -5.054981e-07
+ 4.801000e-03  1.979999e-02 -3.013371e-01 -3.013379e-01 -5.453191e-05 -5.550387e-05
+ 4.801000e-03  1.990075e-02 -3.011714e-01 -3.011712e-01  1.899886e-05  1.924734e-05
+ 4.801000e-03  2.000100e-02 -3.010604e-01 -3.010626e-01  2.717963e-06 -2.578886e-07
+ 5.060644e-03  1.000000e-06 -2.042753e-01 -2.042756e-01 -3.575076e-09  1.821821e-07
+ 5.060644e-03  2.001000e-03 -2.047433e-01 -3.019547e-01 -1.854176e-08 -2.011292e-07
+ 5.060644e-03  2.829427e-03 -2.050964e-01 -3.019456e-01 -3.781812e-10  1.193594e-07
+ 5.060644e-03  3.465102e-03 -2.054313e-01 -3.019298e-01 -5.052370e-09 -4.568823e-08
+ 5.060644e-03  4.001000e-03 -2.057572e-01 -3.019110e-01 -6.920841e-08  2.476134e-07
+ 5.060644e-03  4.473136e-03 -2.060773e-01 -3.018931e-01  3.812826e-07 -1.548563e-06
+ 5.060644e-03  4.899979e-03 -2.063888e-01 -3.018869e-01  6.199101e-06 -1.744644e-05
+ 5.060644e-03  5.292503e-03 -2.066887e-01 -3.018884e-01  2.436593e-05 -4.643137e-05
+ 5.060644e-03  5.657854e-03 -2.069960e-01 -3.018615e-01  2.241526e-05 -2.952259e-05
+ 5.060644e-03  6.001000e-03 -2.073665e-01 -3.017807e-01 -1.528043e-05  1.119849e-05
+ 5.060644e-03  6.325555e-03 -2.077597e-01 -3.017326e-01 -6.783551e-05  2.862596e-05
+ 5.060644e-03  6.634250e-03 -2.080765e-01 -3.017272e-01 -3.830459e-05  1.101633e-05
+ 5.060644e-03  6.929203e-03 -2.083660e-01 -3.017247e-01  4.936319e-07 -9.721408e-08
+ 5.060644e-03  7.212103e-03 -2.086767e-01 -3.017144e-01  9.443096e-06 -1.063418e-06
+ 5.060644e-03  7.484315e-03 -2.090039e-01 -3.017024e-01  1.585619e-06 -1.084198e-07
+ 5.060644e-03  7.746967e-03 -2.093292e-01 -3.016915e-01 -8.569513e-07 -2.006395e-09
+ 5.060644e-03  8.001000e-03 -2.096553e-01 -3.016816e-01  6.069941e-09 -9.563903e-09
+ 5.060644e-03  8.247211e-03 -2.099848e-01 -3.016726e-01  3.130608e-08 -2.072722e-08
+ 5.060644e-03  8.486281e-03 -2.103153e-01 -3.016647e-01  3.398563e-07  8.357087e-09
+ 5.060644e-03  8.718798e-03 -2.106478e-01 -3.016579e-01  2.384093e-07  5.612581e-09
+ 5.060644e-03  8.945272e-03 -2.109825e-01 -3.016523e-01 -3.250570e-08 -1.372497e-08
+ 5.060644e-03  9.166151e-03 -2.113184e-01 -3.016477e-01  7.403601e-07 -1.181496e-08
+ 5.060644e-03  9.381832e-03 -2.116571e-01 -3.016443e-01  1.869183e-07  1.166932e-08
+ 5.060644e-03  9.592663e-03 -2.119976e-01 -3.016420e-01 -6.914912e-08  3.529426e-08
+ 5.060644e-03  9.798959e-03 -2.123391e-01 -3.016408e-01  2.713636e-07  8.007632e-08
+ 5.060644e-03  1.000100e-02 -2.126833e-01 -3.016407e-01  7.850396e-08  1.850613e-09
+ 5.060644e-03  1.019904e-02 -2.130292e-01 -3.016417e-01 -2.137151e-08 -2.384762e-08
+ 5.060644e-03  1.039330e-02 -2.133767e-01 -3.016437e-01  1.122646e-07 -3.284711e-09
+ 5.060644e-03  1.058401e-02 -2.137263e-01 -3.016467e-01 -1.357108e-07 -1.957715e-08
+ 5.060644e-03  1.077133e-02 -2.140771e-01 -3.016507e-01  1.984108e-07  4.173084e-08
+ 5.060644e-03  1.095545e-02 -2.144302e-01 -3.016557e-01  4.210494e-08 -4.479653e-08
+ 5.060644e-03  1.113653e-02 -2.147845e-01 -3.016616e-01  9.005631e-08 -2.112062e-08
+ 5.060644e-03  1.131471e-02 -2.151407e-01 -3.016683e-01 -8.147524e-08 -3.232122e-09
+ 5.060644e-03  1.149013e-02 -2.154980e-01 -3.016759e-01  1.690174e-07 -4.301544e-08
+ 5.060644e-03  1.166290e-02 -2.158574e-01 -3.016844e-01 -5.845148e-08 -2.682004e-08
+ 5.060644e-03  1.183316e-02 -2.162177e-01 -3.016936e-01  1.593872e-09 -3.504969e-09
+ 5.060644e-03  1.200100e-02 -2.165793e-01 -3.017035e-01 -8.635652e-09 -3.873816e-09
+ 5.060644e-03  1.216653e-02 -2.169432e-01 -3.017145e-01 -7.345665e-06 -3.502383e-06
+ 5.060644e-03  1.232983e-02 -2.173080e-01 -3.017263e-01  6.017327e-09  8.563739e-09
+ 5.060644e-03  1.249100e-02 -2.176735e-01 -3.017383e-01  6.110063e-07  1.182309e-07
+ 5.060644e-03  1.265011e-02 -2.180404e-01 -3.017511e-01 -8.087886e-09  7.860623e-10
+ 5.060644e-03  1.280725e-02 -2.184092e-01 -3.017649e-01  2.251272e-07  6.965165e-08
+ 5.060644e-03  1.296248e-02 -2.188082e-01 -3.017899e-01 -3.283143e-05 -1.178556e-05
+ 5.060644e-03  1.311588e-02 -2.191266e-01 -3.017849e-01 -1.580780e-06 -6.738845e-07
+ 5.060644e-03  1.326750e-02 -2.195089e-01 -3.018046e-01 -8.110219e-09  7.376368e-09
+ 5.060644e-03  1.341741e-02 -2.198805e-01 -3.018202e-01  7.276559e-09 -1.104455e-08
+ 5.060644e-03  1.356566e-02 -2.202524e-01 -3.018360e-01 -1.298887e-07 -4.055180e-08
+ 5.060644e-03  1.371231e-02 -2.206240e-01 -3.018518e-01  9.016760e-08  7.463198e-09
+ 5.060644e-03  1.385741e-02 -2.209971e-01 -3.018682e-01  6.018845e-08  5.635236e-09
+ 5.060644e-03  1.400100e-02 -2.213688e-01 -3.018845e-01  2.792016e-05  7.890382e-06
+ 5.060644e-03  1.414314e-02 -2.217985e-01 -3.019189e-01 -1.018098e-05 -3.334059e-06
+ 5.060644e-03  1.428386e-02 -2.221030e-01 -3.019143e-01 -1.892061e-06 -7.110256e-07
+ 5.060644e-03  1.442321e-02 -2.224794e-01 -3.019328e-01  2.852942e-07 -1.885350e-07
+ 5.060644e-03  1.456122e-02 -2.228504e-01 -3.019461e-01  1.151009e-06  2.756966e-06
+ 5.060644e-03  1.469794e-02 -2.232234e-01 -3.019653e-01 -7.517885e-08 -9.035203e-09
+ 5.060644e-03  1.483340e-02 -2.235953e-01 -3.019821e-01 -3.947963e-08 -8.028481e-09
+ 5.060644e-03  1.496763e-02 -2.239661e-01 -3.019983e-01  1.081304e-06  4.465620e-07
+ 5.060644e-03  1.510067e-02 -2.243381e-01 -3.020150e-01  1.483508e-07 -1.731830e-08
+ 5.060644e-03  1.523255e-02 -2.247099e-01 -3.020314e-01 -1.070064e-07 -2.151875e-08
+ 5.060644e-03  1.536329e-02 -2.250840e-01 -3.020481e-01 -2.759409e-08 -1.140397e-08
+ 5.060644e-03  1.549293e-02 -2.255086e-01 -3.020760e-01 -5.089984e-05 -1.151322e-05
+ 5.060644e-03  1.562150e-02 -2.258099e-01 -3.020754e-01  6.579445e-06  1.560140e-06
+ 5.060644e-03  1.574902e-02 -2.261607e-01 -3.020849e-01  9.500166e-06  1.947203e-06
+ 5.060644e-03  1.587551e-02 -2.268914e-01 -3.023792e-01 -5.491080e-04 -4.022809e-04
+ 5.060644e-03  1.600100e-02 -2.269178e-01 -3.021230e-01  2.168442e-05  3.259748e-05
+ 5.060644e-03  1.612552e-02 -2.272878e-01 -3.021438e-01  6.394876e-07  1.836591e-07
+ 5.060644e-03  1.624908e-02 -2.276560e-01 -3.021569e-01  2.675207e-07 -6.899602e-09
+ 5.060644e-03  1.637171e-02 -2.280278e-01 -3.021709e-01  3.940895e-06  1.419813e-06
+ 5.060644e-03  1.649342e-02 -2.284050e-01 -3.021864e-01  2.990300e-08  1.862867e-08
+ 5.060644e-03  1.661425e-02 -2.288069e-01 -3.022090e-01 -1.339820e-05 -3.637163e-06
+ 5.060644e-03  1.673420e-02 -2.291948e-01 -3.022334e-01  6.142789e-05  3.273088e-05
+ 5.060644e-03  1.685330e-02 -2.295816e-01 -3.022435e-01  9.422103e-07  2.361200e-07
+ 5.060644e-03  1.697156e-02 -2.300314e-01 -3.022787e-01  1.593532e-05  4.724967e-06
+ 5.060644e-03  1.708901e-02 -2.306205e-01 -3.023530e-01  4.117148e-06  1.167943e-06
+ 5.060644e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.060644e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.060644e-03  1.743660e-02 -2.330217e-01 -3.033302e-01 -2.330217e-01 -3.033302e-01
+ 5.060644e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.060644e-03  1.766452e-02 -2.323272e-01 -3.030418e-01 -2.323272e-01 -3.030418e-01
+ 5.060644e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.060644e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.060644e-03  1.800100e-02 -2.325110e-01 -3.024506e-01  2.170074e-05 -1.283524e-04
+ 5.060644e-03  1.811177e-02 -2.325496e-01 -3.023561e-01  2.542923e-06 -9.904673e-05
+ 5.060644e-03  1.822187e-02 -2.326237e-01 -3.021409e-01 -2.032831e-06 -1.314750e-05
+ 5.060644e-03  1.833130e-02 -2.326604e-01 -3.020585e-01 -1.959507e-05 -7.730656e-05
+ 5.060644e-03  1.844009e-02 -3.016761e-01 -3.016854e-01  2.208525e-04  2.064730e-04
+ 5.060644e-03  1.854824e-02 -2.335793e-01 -3.019203e-01  1.109140e-05 -1.622744e-05
+ 5.060644e-03  1.865576e-02 -3.019047e-01 -3.019050e-01 -1.313635e-05 -1.431175e-05
+ 5.060644e-03  1.876266e-02 -2.341289e-01 -3.018703e-01 -2.815848e-06 -4.388974e-07
+ 5.060644e-03  1.886896e-02 -2.343797e-01 -3.018291e-01  1.356518e-05  3.282262e-06
+ 5.060644e-03  1.897467e-02 -3.017938e-01 -3.017938e-01  1.576675e-07  2.010417e-07
+ 5.060644e-03  1.907978e-02 -3.017534e-01 -3.017534e-01  3.101050e-08 -2.573416e-08
+ 5.060644e-03  1.918433e-02 -3.017094e-01 -3.017092e-01  5.345939e-07  1.758103e-07
+ 5.060644e-03  1.928830e-02 -3.016530e-01 -3.016530e-01 -1.710691e-05 -1.711317e-05
+ 5.060644e-03  1.939172e-02 -3.016091e-01 -3.016095e-01  7.463929e-07  1.520899e-07
+ 5.060644e-03  1.949459e-02 -3.015541e-01 -3.015543e-01  1.633652e-07  9.622913e-08
+ 5.060644e-03  1.959692e-02 -3.014843e-01 -3.014842e-01  3.031156e-06  3.387379e-06
+ 5.060644e-03  1.969872e-02 -3.014336e-01 -3.014325e-01 -4.101064e-07  1.671062e-06
+ 5.060644e-03  1.979999e-02 -3.013897e-01 -3.013894e-01  5.239611e-06  6.134509e-06
+ 5.060644e-03  1.990075e-02 -3.012228e-01 -3.012223e-01 -6.416334e-02  1.863661e-04
+ 5.060644e-03  2.000100e-02 -3.011356e-01 -3.011375e-01 -1.103925e-06 -1.069822e-06
+ 5.307600e-03  1.000000e-06 -2.047639e-01 -2.047635e-01 -1.436248e-08  6.710902e-07
+ 5.307600e-03  2.001000e-03 -2.052349e-01 -3.021234e-01 -3.870341e-09 -7.653236e-08
+ 5.307600e-03  2.829427e-03 -2.055863e-01 -3.021160e-01 -2.919446e-10 -1.381151e-07
+ 5.307600e-03  3.465102e-03 -2.059189e-01 -3.021011e-01  7.845296e-09 -3.320355e-08
+ 5.307600e-03  4.001000e-03 -2.062421e-01 -3.020835e-01 -6.831999e-08  4.999321e-07
+ 5.307600e-03  4.473136e-03 -2.065597e-01 -3.020646e-01 -7.309214e-07  3.523566e-06
+ 5.307600e-03  4.899979e-03 -2.068709e-01 -3.020524e-01 -1.369451e-06  4.635419e-06
+ 5.307600e-03  5.292503e-03 -2.071701e-01 -3.020555e-01 -5.129658e-08  1.385592e-07
+ 5.307600e-03  5.657854e-03 -2.074613e-01 -3.020541e-01  5.272987e-06 -9.133073e-06
+ 5.307600e-03  6.001000e-03 -2.077858e-01 -3.019991e-01  2.758957e-05 -2.796601e-05
+ 5.307600e-03  6.325555e-03 -2.081979e-01 -3.019103e-01  8.339465e-05 -3.737177e-05
+ 5.307600e-03  6.634250e-03 -2.085610e-01 -3.018863e-01 -3.410448e-05  1.145432e-05
+ 5.307600e-03  6.929203e-03 -2.088505e-01 -3.018881e-01 -3.677345e-05  8.702168e-06
+ 5.307600e-03  7.212103e-03 -2.091389e-01 -3.018843e-01 -9.180625e-06  1.310941e-06
+ 5.307600e-03  7.484315e-03 -2.094552e-01 -3.018737e-01 -7.368198e-08 -9.963911e-09
+ 5.307600e-03  7.746967e-03 -2.097796e-01 -3.018632e-01  8.480802e-08 -2.568667e-08
+ 5.307600e-03  8.001000e-03 -2.101009e-01 -3.018537e-01  1.394674e-06 -3.498168e-08
+ 5.307600e-03  8.247211e-03 -2.104250e-01 -3.018449e-01  7.042370e-07  3.216711e-09
+ 5.307600e-03  8.486281e-03 -2.107517e-01 -3.018372e-01  1.658686e-08 -7.341610e-09
+ 5.307600e-03  8.718798e-03 -2.110793e-01 -3.018305e-01  5.766352e-07  4.830980e-08
+ 5.307600e-03  8.945272e-03 -2.114091e-01 -3.018248e-01  4.081670e-07 -3.677356e-08
+ 5.307600e-03  9.166151e-03 -2.117412e-01 -3.018202e-01 -8.116790e-09  1.199254e-08
+ 5.307600e-03  9.381832e-03 -2.120750e-01 -3.018166e-01  1.727760e-07  3.470304e-08
+ 5.307600e-03  9.592663e-03 -2.124101e-01 -3.018140e-01  1.769724e-07  4.184447e-08
+ 5.307600e-03  9.798959e-03 -2.127477e-01 -3.018126e-01 -3.873750e-08 -1.221836e-08
+ 5.307600e-03  1.000100e-02 -2.130868e-01 -3.018122e-01 -2.487783e-08 -3.072522e-08
+ 5.307600e-03  1.019904e-02 -2.134280e-01 -3.018128e-01 -1.753342e-07  3.091497e-08
+ 5.307600e-03  1.039330e-02 -2.137707e-01 -3.018144e-01  8.641668e-08  2.116988e-09
+ 5.307600e-03  1.058401e-02 -2.141154e-01 -3.018170e-01 -9.946697e-08 -1.278861e-08
+ 5.307600e-03  1.077133e-02 -2.144615e-01 -3.018204e-01  8.383147e-08  2.859899e-08
+ 5.307600e-03  1.095545e-02 -2.148095e-01 -3.018248e-01  4.346102e-08  1.840667e-08
+ 5.307600e-03  1.113653e-02 -2.151586e-01 -3.018300e-01  2.808338e-07  7.084284e-08
+ 5.307600e-03  1.131471e-02 -2.155103e-01 -3.018362e-01  1.237776e-08  1.292211e-08
+ 5.307600e-03  1.149013e-02 -2.158628e-01 -3.018431e-01  1.209273e-08 -2.219757e-09
+ 5.307600e-03  1.166290e-02 -2.162168e-01 -3.018508e-01  6.262573e-10  3.591846e-10
+ 5.307600e-03  1.183316e-02 -2.165720e-01 -3.018591e-01 -1.460874e-08 -2.411504e-09
+ 5.307600e-03  1.200100e-02 -2.169278e-01 -3.018678e-01 -1.933976e-06 -8.679121e-07
+ 5.307600e-03  1.216653e-02 -2.172888e-01 -3.018791e-01  3.068329e-08  2.716209e-08
+ 5.307600e-03  1.232983e-02 -2.176480e-01 -3.018895e-01  4.805452e-08 -2.097488e-09
+ 5.307600e-03  1.249100e-02 -2.180091e-01 -3.019009e-01 -3.072623e-08 -4.388902e-09
+ 5.307600e-03  1.265011e-02 -2.183727e-01 -3.019134e-01  3.327736e-08  1.157435e-08
+ 5.307600e-03  1.280725e-02 -2.187890e-01 -3.019459e-01  7.965988e-05  3.027203e-05
+ 5.307600e-03  1.296248e-02 -2.190746e-01 -3.019290e-01  1.195899e-05  5.131122e-06
+ 5.307600e-03  1.311588e-02 -2.194519e-01 -3.019475e-01 -2.843722e-08 -1.899999e-08
+ 5.307600e-03  1.326750e-02 -2.198182e-01 -3.019617e-01  1.207154e-08  7.905934e-10
+ 5.307600e-03  1.341741e-02 -2.201846e-01 -3.019760e-01 -3.258329e-08 -7.565917e-08
+ 5.307600e-03  1.356566e-02 -2.205516e-01 -3.019905e-01  6.509706e-10 -3.793572e-09
+ 5.307600e-03  1.371231e-02 -2.209213e-01 -3.020061e-01 -1.232190e-07 -4.534399e-08
+ 5.307600e-03  1.385741e-02 -2.214780e-01 -3.020780e-01 -4.243120e-05 -1.296161e-05
+ 5.307600e-03  1.400100e-02 -2.216159e-01 -3.020240e-01  4.317400e-05  1.345946e-05
+ 5.307600e-03  1.414314e-02 -2.220095e-01 -3.020469e-01  9.093917e-09  1.376844e-08
+ 5.307600e-03  1.428386e-02 -2.223790e-01 -3.020629e-01 -1.104554e-06 -2.670531e-08
+ 5.307600e-03  1.442321e-02 -2.227460e-01 -3.020781e-01 -7.061196e-07 -7.800729e-07
+ 5.307600e-03  1.456122e-02 -2.231137e-01 -3.020925e-01 -4.276500e-07 -8.457610e-07
+ 5.307600e-03  1.469794e-02 -2.234813e-01 -3.021087e-01  1.068029e-07 -5.025140e-08
+ 5.307600e-03  1.483340e-02 -2.238486e-01 -3.021238e-01  6.664859e-07  2.722038e-07
+ 5.307600e-03  1.496763e-02 -2.242168e-01 -3.021394e-01  1.498825e-07 -1.987190e-08
+ 5.307600e-03  1.510067e-02 -2.245865e-01 -3.021549e-01 -8.058775e-08 -2.875148e-08
+ 5.307600e-03  1.523255e-02 -2.249715e-01 -3.021739e-01 -1.240746e-05 -2.786098e-06
+ 5.307600e-03  1.536329e-02 -2.253595e-01 -3.021935e-01 -2.111154e-05 -4.855924e-06
+ 5.307600e-03  1.549293e-02 -2.256165e-01 -3.021822e-01  2.606150e-06  5.972178e-07
+ 5.307600e-03  1.562150e-02 -2.260328e-01 -3.022092e-01  3.862243e-05  1.290494e-05
+ 5.307600e-03  1.574902e-02 -2.263999e-01 -3.022244e-01 -5.425355e-05 -3.174395e-05
+ 5.307600e-03  1.587551e-02 -2.269895e-01 -3.024354e-01 -7.454512e-04 -6.215233e-04
+ 5.307600e-03  1.600100e-02 -2.271424e-01 -3.022607e-01  1.287653e-06  3.158276e-06
+ 5.307600e-03  1.612552e-02 -2.275068e-01 -3.022739e-01  5.842977e-07  9.631203e-08
+ 5.307600e-03  1.624908e-02 -2.278772e-01 -3.022869e-01 -2.800952e-08  1.931094e-07
+ 5.307600e-03  1.637171e-02 -2.282522e-01 -3.023015e-01 -8.271096e-07  1.300098e-07
+ 5.307600e-03  1.649342e-02 -2.286490e-01 -3.023228e-01  1.332145e-05  3.620648e-06
+ 5.307600e-03  1.661425e-02 -2.290175e-01 -3.023359e-01 -1.186722e-06 -3.764846e-07
+ 5.307600e-03  1.673420e-02 -2.294222e-01 -3.023545e-01  6.705251e-06  4.540258e-06
+ 5.307600e-03  1.685330e-02 -2.298737e-01 -3.023931e-01  2.069989e-05  6.195108e-06
+ 5.307600e-03  1.697156e-02 -2.304855e-01 -3.024760e-01  1.391079e-05  4.179706e-06
+ 5.307600e-03  1.708901e-02 -2.320564e-01 -3.038782e-01 -2.320564e-01 -3.038782e-01
+ 5.307600e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.307600e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.307600e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.307600e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.307600e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.307600e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.307600e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.307600e-03  1.800100e-02 -2.326233e-01 -3.024042e-01 -1.723397e-04  2.310807e-04
+ 5.307600e-03  1.811177e-02 -2.325485e-01 -3.023730e-01  5.435991e-05 -9.076167e-05
+ 5.307600e-03  1.822187e-02 -2.326114e-01 -3.021361e-01  1.140858e-05  2.753992e-05
+ 5.307600e-03  1.833130e-02 -2.326604e-01 -3.020593e-01 -2.839882e-05 -3.837665e-05
+ 5.307600e-03  1.844009e-02 -3.014982e-01 -3.014992e-01  3.927399e-04  3.847418e-04
+ 5.307600e-03  1.854824e-02 -2.337191e-01 -3.020071e-01 -2.183035e-04 -5.320091e-05
+ 5.307600e-03  1.865576e-02 -2.338542e-01 -3.019692e-01  2.151434e-05  5.581399e-06
+ 5.307600e-03  1.876266e-02 -2.341454e-01 -3.019458e-01 -1.179835e-06 -3.145356e-06
+ 5.307600e-03  1.886896e-02 -2.344453e-01 -3.019127e-01 -5.204924e-06 -7.749020e-07
+ 5.307600e-03  1.897467e-02 -2.347229e-01 -3.018722e-01 -2.349540e-06 -1.263563e-06
+ 5.307600e-03  1.907978e-02 -2.350025e-01 -3.018316e-01  6.682687e-02 -2.214747e-06
+ 5.307600e-03  1.918433e-02 -2.352765e-01 -3.017813e-01  6.833393e-06 -2.135279e-06
+ 5.307600e-03  1.928830e-02 -2.355329e-01 -3.017253e-01  4.186088e-06  6.491351e-06
+ 5.307600e-03  1.939172e-02 -3.016829e-01 -3.016831e-01 -4.328001e-07 -8.044428e-07
+ 5.307600e-03  1.949459e-02 -3.016237e-01 -3.016237e-01 -8.163917e-06 -7.793146e-06
+ 5.307600e-03  1.959692e-02 -2.363288e-01 -3.015721e-01  2.831336e-06 -2.696809e-06
+ 5.307600e-03  1.969872e-02 -3.014894e-01 -3.014875e-01  1.617959e-05  1.649111e-05
+ 5.307600e-03  1.979999e-02 -3.014633e-01 -3.014625e-01 -3.024863e-05 -3.072621e-05
+ 5.307600e-03  1.990075e-02 -3.012035e-01 -3.012028e-01 -6.417433e-02  2.095562e-04
+ 5.307600e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.000000e-06 -2.052497e-01 -2.052492e-01 -3.257746e-09  1.446380e-07
+ 5.543563e-03  2.001000e-03 -2.057233e-01 -3.022915e-01  1.161799e-09  3.057744e-08
+ 5.543563e-03  2.829427e-03 -2.060731e-01 -3.022855e-01 -4.408805e-09 -3.990766e-09
+ 5.543563e-03  3.465102e-03 -2.064032e-01 -3.022716e-01 -2.097297e-09  7.704692e-08
+ 5.543563e-03  4.001000e-03 -2.067236e-01 -3.022551e-01  3.279864e-09  1.245915e-08
+ 5.543563e-03  4.473136e-03 -2.070382e-01 -3.022369e-01 -3.295813e-08  1.235310e-07
+ 5.543563e-03  4.899979e-03 -2.073481e-01 -3.022202e-01  8.443947e-07 -2.975112e-06
+ 5.543563e-03  5.292503e-03 -2.076487e-01 -3.022172e-01  8.976141e-06 -2.136830e-05
+ 5.543563e-03  5.657854e-03 -2.079349e-01 -3.022267e-01  2.204842e-05 -3.874388e-05
+ 5.543563e-03  6.001000e-03 -2.082251e-01 -3.022125e-01 -1.835585e-05  2.627428e-05
+ 5.543563e-03  6.325555e-03 -2.085909e-01 -3.021212e-01  1.938969e-05 -1.387703e-05
+ 5.543563e-03  6.634250e-03 -2.090184e-01 -3.020504e-01 -6.586098e-05  2.772322e-05
+ 5.543563e-03  6.929203e-03 -2.093388e-01 -3.020451e-01 -2.336368e-05  7.139957e-06
+ 5.543563e-03  7.212103e-03 -2.096123e-01 -3.020491e-01  1.359390e-05 -3.039716e-06
+ 5.543563e-03  7.484315e-03 -2.099059e-01 -3.020434e-01  1.719641e-05 -2.507202e-06
+ 5.543563e-03  7.746967e-03 -2.102252e-01 -3.020333e-01  3.852022e-06 -3.412150e-07
+ 5.543563e-03  8.001000e-03 -2.105451e-01 -3.020242e-01 -1.290970e-07 -6.770290e-09
+ 5.543563e-03  8.247211e-03 -2.108632e-01 -3.020159e-01  1.867536e-06 -9.413780e-09
+ 5.543563e-03  8.486281e-03 -2.111853e-01 -3.020084e-01  7.748640e-07  1.160975e-08
+ 5.543563e-03  8.718798e-03 -2.115087e-01 -3.020018e-01 -2.688222e-07 -1.629392e-08
+ 5.543563e-03  8.945272e-03 -2.118338e-01 -3.019961e-01  2.072081e-07  1.884168e-08
+ 5.543563e-03  9.166151e-03 -2.121617e-01 -3.019915e-01 -8.413422e-08 -4.628695e-08
+ 5.543563e-03  9.381832e-03 -2.124901e-01 -3.019877e-01 -9.641268e-08 -1.137232e-08
+ 5.543563e-03  9.592663e-03 -2.128209e-01 -3.019850e-01 -1.259033e-07 -5.688433e-08
+ 5.543563e-03  9.798959e-03 -2.131538e-01 -3.019833e-01 -1.428577e-07  5.118882e-08
+ 5.543563e-03  1.000100e-02 -2.134882e-01 -3.019826e-01  5.700292e-08 -2.278151e-08
+ 5.543563e-03  1.019904e-02 -2.138246e-01 -3.019828e-01 -1.341902e-07 -1.455412e-08
+ 5.543563e-03  1.039330e-02 -2.141625e-01 -3.019840e-01  2.154045e-07 -1.381131e-08
+ 5.543563e-03  1.058401e-02 -2.145024e-01 -3.019861e-01  1.283721e-08 -9.345988e-09
+ 5.543563e-03  1.077133e-02 -2.148434e-01 -3.019890e-01 -9.489884e-07 -2.274322e-07
+ 5.543563e-03  1.095545e-02 -2.151869e-01 -3.019929e-01  1.066816e-08 -2.648789e-09
+ 5.543563e-03  1.113653e-02 -2.155316e-01 -3.019976e-01  3.775011e-08 -7.884120e-09
+ 5.543563e-03  1.131471e-02 -2.158777e-01 -3.020030e-01  4.843792e-08  2.348087e-08
+ 5.543563e-03  1.149013e-02 -2.162254e-01 -3.020093e-01  1.101631e-09 -2.180763e-09
+ 5.543563e-03  1.166290e-02 -2.165744e-01 -3.020162e-01  1.087494e-07  1.132616e-08
+ 5.543563e-03  1.183316e-02 -2.169224e-01 -3.020227e-01 -2.272018e-07 -1.084632e-07
+ 5.543563e-03  1.200100e-02 -2.172792e-01 -3.020334e-01  1.215935e-07  6.595679e-08
+ 5.543563e-03  1.216653e-02 -2.176322e-01 -3.020424e-01  1.659908e-08  5.114375e-09
+ 5.543563e-03  1.232983e-02 -2.179876e-01 -3.020524e-01  2.421240e-08  3.092831e-09
+ 5.543563e-03  1.249100e-02 -2.183467e-01 -3.020640e-01  6.228330e-07  2.079334e-07
+ 5.543563e-03  1.265011e-02 -2.187623e-01 -3.020975e-01 -8.224321e-05 -3.083238e-05
+ 5.543563e-03  1.280725e-02 -2.190362e-01 -3.020766e-01 -8.443209e-07 -3.573841e-07
+ 5.543563e-03  1.296248e-02 -2.194046e-01 -3.020924e-01  3.334845e-08  1.060030e-09
+ 5.543563e-03  1.311588e-02 -2.197655e-01 -3.021051e-01 -3.826427e-08 -1.418868e-08
+ 5.543563e-03  1.326750e-02 -2.201269e-01 -3.021181e-01  1.908702e-08  8.415400e-09
+ 5.543563e-03  1.341741e-02 -2.204895e-01 -3.021317e-01 -8.835441e-09 -1.624821e-08
+ 5.543563e-03  1.356566e-02 -2.208496e-01 -3.021445e-01  1.331464e-06  3.641347e-07
+ 5.543563e-03  1.371231e-02 -2.213276e-01 -3.021934e-01 -9.691168e-05 -2.946294e-05
+ 5.543563e-03  1.385741e-02 -2.215317e-01 -3.021586e-01  1.631016e-05  5.155072e-06
+ 5.543563e-03  1.400100e-02 -2.219246e-01 -3.021817e-01 -1.892784e-06 -1.925027e-08
+ 5.543563e-03  1.414314e-02 -2.222882e-01 -3.021961e-01 -3.989655e-07 -5.705920e-08
+ 5.543563e-03  1.428386e-02 -2.226501e-01 -3.022102e-01  4.583508e-08  3.414314e-08
+ 5.543563e-03  1.442321e-02 -2.230097e-01 -3.022198e-01  9.435152e-08  2.083084e-07
+ 5.543563e-03  1.456122e-02 -2.233768e-01 -3.022383e-01 -1.309413e-07 -1.167830e-06
+ 5.543563e-03  1.469794e-02 -2.237409e-01 -3.022521e-01  1.867341e-08  1.244953e-07
+ 5.543563e-03  1.483340e-02 -2.241060e-01 -3.022666e-01  3.498682e-07  6.285833e-08
+ 5.543563e-03  1.496763e-02 -2.244759e-01 -3.022820e-01  7.278648e-07  1.579395e-07
+ 5.543563e-03  1.510067e-02 -2.249038e-01 -3.023108e-01 -5.124721e-05 -1.186425e-05
+ 5.543563e-03  1.523255e-02 -2.251151e-01 -3.022890e-01  5.312663e-05  1.242777e-05
+ 5.543563e-03  1.536329e-02 -2.255260e-01 -3.023136e-01 -5.685138e-07 -1.850042e-07
+ 5.543563e-03  1.549293e-02 -2.259006e-01 -3.023304e-01  1.613664e-05  5.317512e-06
+ 5.543563e-03  1.562150e-02 -2.262606e-01 -3.023423e-01  2.734900e-06  1.305748e-06
+ 5.543563e-03  1.574902e-02 -2.272153e-01 -3.027735e-01 -3.639854e-04 -2.688032e-04
+ 5.543563e-03  1.587551e-02 -2.270385e-01 -3.024147e-01  5.316155e-05  5.354746e-05
+ 5.543563e-03  1.600100e-02 -2.273681e-01 -3.023956e-01 -6.241380e-07 -2.610758e-07
+ 5.543563e-03  1.612552e-02 -2.277345e-01 -3.024063e-01 -4.267804e-07  8.633900e-08
+ 5.543563e-03  1.624908e-02 -2.281080e-01 -3.024202e-01 -5.329397e-07 -3.103856e-08
+ 5.543563e-03  1.637171e-02 -2.284667e-01 -3.024306e-01  1.696284e-05  4.797096e-06
+ 5.543563e-03  1.649342e-02 -2.288740e-01 -3.024547e-01  4.139357e-06  1.577583e-06
+ 5.543563e-03  1.661425e-02 -2.293318e-01 -3.025029e-01 -6.728724e-05 -3.416146e-05
+ 5.543563e-03  1.673420e-02 -2.297194e-01 -3.025091e-01  1.701311e-05  5.204101e-06
+ 5.543563e-03  1.685330e-02 -2.302831e-01 -3.025802e-01 -1.029336e-06  5.138347e-07
+ 5.543563e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.543563e-03  1.788954e-02 -2.341103e-01 -3.030809e-01 -1.603937e-03 -5.303423e-04
+ 5.543563e-03  1.800100e-02 -2.326546e-01 -3.024336e-01 -2.326546e-01 -3.024336e-01
+ 5.543563e-03  1.811177e-02 -2.325429e-01 -3.023897e-01  9.256962e-07 -2.803207e-05
+ 5.543563e-03  1.822187e-02 -2.326060e-01 -3.021519e-01  1.511128e-05 -1.092579e-05
+ 5.543563e-03  1.833130e-02 -2.326671e-01 -3.020841e-01  2.664803e-04 -7.275902e-05
+ 5.543563e-03  1.844009e-02 -2.333544e-01 -3.020030e-01 -1.053464e-04 -1.279103e-04
+ 5.543563e-03  1.854824e-02 -2.336171e-01 -3.020500e-01  9.234714e-05  2.238309e-05
+ 5.543563e-03  1.865576e-02 -2.339116e-01 -3.020551e-01  2.584258e-05  3.740648e-06
+ 5.543563e-03  1.876266e-02 -2.341728e-01 -3.020301e-01  1.103657e-05  1.016482e-06
+ 5.543563e-03  1.886896e-02 -2.344409e-01 -3.019920e-01  4.181370e-05  3.642558e-06
+ 5.543563e-03  1.897467e-02 -2.347073e-01 -3.019525e-01  4.588594e-05  8.946533e-06
+ 5.543563e-03  1.907978e-02 -2.349806e-01 -3.019054e-01 -5.304259e-06 -4.160236e-06
+ 5.543563e-03  1.918433e-02 -2.352733e-01 -3.018588e-01  2.482030e-05  6.527517e-07
+ 5.543563e-03  1.928830e-02 -2.355532e-01 -3.018026e-01 -2.159744e-05  5.916764e-06
+ 5.543563e-03  1.939172e-02 -3.017621e-01 -3.017621e-01 -4.427873e-07  6.803688e-08
+ 5.543563e-03  1.949459e-02 -2.361012e-01 -3.017102e-01 -1.308849e-05 -2.020313e-06
+ 5.543563e-03  1.959692e-02 -2.363304e-01 -3.016468e-01 -1.203884e-05  1.189997e-06
+ 5.543563e-03  1.969872e-02 -2.365626e-01 -3.015866e-01  6.350978e-06 -8.964604e-07
+ 5.543563e-03  1.979999e-02 -2.370069e-01 -3.014334e-01  3.814496e-05  4.741802e-06
+ 5.543563e-03  1.990075e-02 -3.011625e-01 -3.011622e-01  4.010791e-04  3.981780e-04
+ 5.543563e-03  2.000100e-02 -2.372224e-01 -3.014625e-01 -3.304521e-04  1.353431e-04
+ 5.769882e-03  1.000000e-06 -2.057329e-01 -2.057331e-01 -1.814667e-09  8.439681e-08
+ 5.769882e-03  2.001000e-03 -2.062086e-01 -3.024592e-01 -3.941892e-09 -1.481278e-07
+ 5.769882e-03  2.829427e-03 -2.065566e-01 -3.024544e-01 -1.229329e-09  4.908057e-09
+ 5.769882e-03  3.465102e-03 -2.068843e-01 -3.024414e-01 -1.711836e-09 -7.031101e-09
+ 5.769882e-03  4.001000e-03 -2.072019e-01 -3.024256e-01  1.738839e-10 -1.332723e-07
+ 5.769882e-03  4.473136e-03 -2.075134e-01 -3.024087e-01 -1.049456e-07  6.959696e-07
+ 5.769882e-03  4.899979e-03 -2.078207e-01 -3.023907e-01 -1.303214e-06  5.096471e-06
+ 5.769882e-03  5.292503e-03 -2.081223e-01 -3.023796e-01 -2.404640e-06  6.536161e-06
+ 5.769882e-03  5.657854e-03 -2.084100e-01 -3.023868e-01  8.024907e-06 -1.583488e-05
+ 5.769882e-03  6.001000e-03 -2.086852e-01 -3.023974e-01  4.886983e-05 -7.225461e-05
+ 5.769882e-03  6.325555e-03 -2.089876e-01 -3.023575e-01  6.147088e-05 -6.405983e-05
+ 5.769882e-03  6.634250e-03 -2.094161e-01 -3.022398e-01  8.188718e-05 -3.828467e-05
+ 5.769882e-03  6.929203e-03 -2.098135e-01 -3.022006e-01 -8.767831e-05  3.063103e-05
+ 5.769882e-03  7.212103e-03 -2.100972e-01 -3.022062e-01 -8.176433e-05  2.124999e-05
+ 5.769882e-03  7.484315e-03 -2.103656e-01 -3.022092e-01 -1.715968e-05  3.068485e-06
+ 5.769882e-03  7.746967e-03 -2.106667e-01 -3.022021e-01  7.286605e-06 -8.460044e-07
+ 5.769882e-03  8.001000e-03 -2.109855e-01 -3.021931e-01  1.524173e-06 -9.701277e-08
+ 5.769882e-03  8.247211e-03 -2.113006e-01 -3.021853e-01 -1.396189e-06  7.117576e-08
+ 5.769882e-03  8.486281e-03 -2.116162e-01 -3.021782e-01  4.418152e-07 -6.398944e-08
+ 5.769882e-03  8.718798e-03 -2.119360e-01 -3.021718e-01  2.657935e-07 -3.076350e-08
+ 5.769882e-03  8.945272e-03 -2.122557e-01 -3.021658e-01 -2.273338e-06 -6.963572e-07
+ 5.769882e-03  9.166151e-03 -2.125784e-01 -3.021614e-01  8.398679e-08 -1.256492e-08
+ 5.769882e-03  9.381832e-03 -2.129033e-01 -3.021576e-01 -1.673053e-07  3.653315e-08
+ 5.769882e-03  9.592663e-03 -2.132294e-01 -3.021548e-01  1.650377e-07 -1.428039e-08
+ 5.769882e-03  9.798959e-03 -2.135575e-01 -3.021529e-01  6.810372e-08  1.447627e-08
+ 5.769882e-03  1.000100e-02 -2.138873e-01 -3.021519e-01  1.872402e-07 -4.702789e-08
+ 5.769882e-03  1.019904e-02 -2.142189e-01 -3.021517e-01  3.213729e-08  1.085179e-08
+ 5.769882e-03  1.039330e-02 -2.145521e-01 -3.021525e-01  1.465138e-07  2.016554e-08
+ 5.769882e-03  1.058401e-02 -2.148873e-01 -3.021542e-01 -1.264629e-08  1.870989e-10
+ 5.769882e-03  1.077133e-02 -2.152239e-01 -3.021567e-01  7.560150e-08  6.166225e-09
+ 5.769882e-03  1.095545e-02 -2.155622e-01 -3.021600e-01  6.121067e-08  6.219135e-09
+ 5.769882e-03  1.113653e-02 -2.159019e-01 -3.021640e-01 -3.795647e-08 -1.350536e-08
+ 5.769882e-03  1.131471e-02 -2.162434e-01 -3.021690e-01  4.488415e-08  5.876150e-10
+ 5.769882e-03  1.149013e-02 -2.165859e-01 -3.021745e-01  1.264397e-08 -2.599481e-09
+ 5.769882e-03  1.166290e-02 -2.169266e-01 -3.021790e-01 -2.928899e-06 -1.305577e-06
+ 5.769882e-03  1.183316e-02 -2.172793e-01 -3.021893e-01 -6.514408e-08 -6.170577e-08
+ 5.769882e-03  1.200100e-02 -2.176262e-01 -3.021968e-01  8.336232e-09 -3.139932e-09
+ 5.769882e-03  1.216653e-02 -2.179761e-01 -3.022056e-01 -1.138394e-09 -5.434767e-09
+ 5.769882e-03  1.232983e-02 -2.183293e-01 -3.022160e-01  5.842135e-06  1.980745e-06
+ 5.769882e-03  1.249100e-02 -2.187113e-01 -3.022378e-01 -3.175995e-05 -1.208515e-05
+ 5.769882e-03  1.265011e-02 -2.190081e-01 -3.022263e-01 -6.685383e-07 -3.001154e-07
+ 5.769882e-03  1.280725e-02 -2.193670e-01 -3.022389e-01  5.274264e-08  2.291764e-08
+ 5.769882e-03  1.296248e-02 -2.197240e-01 -3.022509e-01  5.201559e-06  1.754937e-06
+ 5.769882e-03  1.311588e-02 -2.200790e-01 -3.022622e-01 -3.302896e-08 -1.330315e-08
+ 5.769882e-03  1.326750e-02 -2.204388e-01 -3.022751e-01  1.490547e-07  1.855427e-08
+ 5.769882e-03  1.341741e-02 -2.210132e-01 -3.023525e-01  3.859563e-06  1.963839e-06
+ 5.769882e-03  1.356566e-02 -2.211148e-01 -3.022882e-01 -1.081493e-04 -3.253093e-05
+ 5.769882e-03  1.371231e-02 -2.214856e-01 -3.023046e-01  2.279365e-07  5.547429e-08
+ 5.769882e-03  1.385741e-02 -2.218479e-01 -3.023184e-01  2.845217e-07  6.128325e-08
+ 5.769882e-03  1.400100e-02 -2.222067e-01 -3.023316e-01  3.099777e-07  1.375744e-07
+ 5.769882e-03  1.414314e-02 -2.225648e-01 -3.023445e-01  2.315078e-06  1.956320e-07
+ 5.769882e-03  1.428386e-02 -2.229234e-01 -3.023572e-01  1.732896e-08  1.313745e-07
+ 5.769882e-03  1.442321e-02 -2.232731e-01 -3.023584e-01 -5.292149e-06 -6.818347e-06
+ 5.769882e-03  1.456122e-02 -2.236432e-01 -3.023833e-01 -3.262824e-07 -3.545103e-07
+ 5.769882e-03  1.469794e-02 -2.240062e-01 -3.023966e-01  3.146271e-07  5.985537e-08
+ 5.769882e-03  1.483340e-02 -2.244442e-01 -3.024277e-01 -8.084620e-05 -1.879746e-05
+ 5.769882e-03  1.496763e-02 -2.246451e-01 -3.024035e-01  5.107684e-06  1.364637e-06
+ 5.769882e-03  1.510067e-02 -2.250442e-01 -3.024254e-01 -3.500112e-06 -8.181782e-07
+ 5.769882e-03  1.523255e-02 -2.254093e-01 -3.024391e-01  1.616998e-07  7.446469e-08
+ 5.769882e-03  1.536329e-02 -2.257718e-01 -3.024522e-01 -5.633850e-06 -2.030079e-06
+ 5.769882e-03  1.549293e-02 -2.261304e-01 -3.024638e-01 -9.135312e-06 -3.893394e-06
+ 5.769882e-03  1.562150e-02 -2.264623e-01 -3.024599e-01  1.358121e-05  7.634738e-06
+ 5.769882e-03  1.574902e-02 -2.273482e-01 -3.028866e-01 -1.660538e-05  7.369893e-07
+ 5.769882e-03  1.587551e-02 -2.272189e-01 -3.024952e-01  1.385762e-05  1.670117e-05
+ 5.769882e-03  1.600100e-02 -2.276016e-01 -3.025294e-01 -9.411247e-07 -3.406866e-07
+ 5.769882e-03  1.612552e-02 -2.279729e-01 -3.025423e-01 -4.701340e-07 -2.173150e-07
+ 5.769882e-03  1.624908e-02 -2.282983e-01 -3.025425e-01 -5.227659e-05 -1.473326e-05
+ 5.769882e-03  1.637171e-02 -2.287358e-01 -3.025757e-01  7.606054e-08  3.423358e-07
+ 5.769882e-03  1.649342e-02 -2.292107e-01 -3.026277e-01  4.674695e-06  1.804416e-06
+ 5.769882e-03  1.661425e-02 -2.295689e-01 -3.026266e-01 -4.487514e-05 -1.420895e-05
+ 5.769882e-03  1.673420e-02 -2.303037e-01 -3.027525e-01 -2.871411e-05 -9.016654e-06
+ 5.769882e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.769882e-03  1.800100e-02 -2.324804e-01 -3.025103e-01  8.520082e-05 -3.829119e-05
+ 5.769882e-03  1.811177e-02 -2.325325e-01 -3.023968e-01  1.231192e-03  1.984929e-04
+ 5.769882e-03  1.822187e-02 -2.325975e-01 -3.022427e-01  3.257937e-05 -6.444076e-05
+ 5.769882e-03  1.833130e-02 -2.327250e-01 -3.020640e-01  6.889483e-02 -4.489409e-04
+ 5.769882e-03  1.844009e-02 -2.335528e-01 -3.021405e-01 -3.007999e-04 -1.352623e-04
+ 5.769882e-03  1.854824e-02 -2.339361e-01 -3.021887e-01  9.643405e-05  1.068484e-05
+ 5.769882e-03  1.865576e-02 -2.342428e-01 -3.021622e-01 -2.944530e-05  1.220399e-05
+ 5.769882e-03  1.876266e-02 -2.345233e-01 -3.021241e-01 -8.194224e-05  6.037949e-06
+ 5.769882e-03  1.886896e-02 -2.348175e-01 -3.020770e-01 -1.900396e-04 -7.646193e-06
+ 5.769882e-03  1.897467e-02 -2.351489e-01 -3.020390e-01 -1.870628e-04  3.112763e-05
+ 5.769882e-03  1.907978e-02 -2.355407e-01 -3.019822e-01  3.272552e-05  9.444999e-06
+ 5.769882e-03  1.918433e-02 -2.358845e-01 -3.019344e-01 -2.532000e-04  1.539840e-05
+ 5.769882e-03  1.928830e-02 -2.356811e-01 -3.018408e-01  3.113033e-04  6.857602e-05
+ 5.769882e-03  1.939172e-02 -2.360364e-01 -3.018480e-01 -3.139840e-04 -8.115721e-05
+ 5.769882e-03  1.949459e-02 -2.359562e-01 -3.017775e-01  6.580150e-02 -1.980571e-05
+ 5.769882e-03  1.959692e-02 -2.362868e-01 -3.017237e-01  2.884999e-05 -2.338504e-06
+ 5.769882e-03  1.969872e-02 -2.365630e-01 -3.016611e-01  3.459165e-05 -6.657501e-08
+ 5.769882e-03  1.979999e-02 -3.015945e-01 -3.015929e-01  3.274931e-06  6.399332e-06
+ 5.769882e-03  1.990075e-02 -2.369508e-01 -3.015803e-01  2.316057e-04 -1.118076e-04
+ 5.769882e-03  2.000100e-02 -2.375390e-01 -3.014548e-01 -2.375390e-01 -3.014548e-01
+ 5.987652e-03  1.000000e-06 -2.062134e-01 -2.062132e-01 -6.511016e-09  3.934352e-07
+ 5.987652e-03  2.001000e-03 -2.066909e-01 -3.026260e-01 -8.891851e-10 -3.876257e-08
+ 5.987652e-03  2.829427e-03 -2.070370e-01 -3.026227e-01  1.781308e-09 -1.002754e-07
+ 5.987652e-03  3.465102e-03 -2.073621e-01 -3.026106e-01 -4.142742e-09  8.868426e-08
+ 5.987652e-03  4.001000e-03 -2.076769e-01 -3.025953e-01 -3.073070e-08  2.845437e-07
+ 5.987652e-03  4.473136e-03 -2.079853e-01 -3.025793e-01 -1.905217e-08  1.834315e-08
+ 5.987652e-03  4.899979e-03 -2.082894e-01 -3.025623e-01  1.278648e-08  6.431088e-08
+ 5.987652e-03  5.292503e-03 -2.085899e-01 -3.025461e-01  1.711307e-07 -2.912249e-07
+ 5.987652e-03  5.657854e-03 -2.088810e-01 -3.025437e-01  2.431149e-06 -4.802586e-06
+ 5.987652e-03  6.001000e-03 -2.091546e-01 -3.025596e-01  9.891806e-07 -1.462357e-06
+ 5.987652e-03  6.325555e-03 -2.094239e-01 -3.025640e-01  1.543243e-05 -2.184922e-05
+ 5.987652e-03  6.634250e-03 -2.097616e-01 -3.024831e-01  4.142537e-05 -3.496761e-05
+ 5.987652e-03  6.929203e-03 -2.102394e-01 -3.023697e-01 -7.937264e-06  3.941191e-06
+ 5.987652e-03  7.212103e-03 -2.105817e-01 -3.023575e-01  2.448135e-07  4.858903e-08
+ 5.987652e-03  7.484315e-03 -2.108412e-01 -3.023676e-01 -2.491815e-06  2.172987e-07
+ 5.987652e-03  7.746967e-03 -2.111129e-01 -3.023682e-01  8.515425e-08 -2.509733e-07
+ 5.987652e-03  8.001000e-03 -2.114201e-01 -3.023606e-01  5.790419e-07 -4.465567e-08
+ 5.987652e-03  8.247211e-03 -2.117359e-01 -3.023530e-01 -2.681698e-07 -3.806183e-08
+ 5.987652e-03  8.486281e-03 -2.120469e-01 -3.023466e-01  7.127595e-07 -1.807498e-07
+ 5.987652e-03  8.718798e-03 -2.123595e-01 -3.023400e-01  7.963949e-07  1.114215e-07
+ 5.987652e-03  8.945272e-03 -2.126768e-01 -3.023347e-01 -1.049980e-07 -1.106466e-08
+ 5.987652e-03  9.166151e-03 -2.129942e-01 -3.023301e-01  7.106585e-07  2.492147e-08
+ 5.987652e-03  9.381832e-03 -2.133140e-01 -3.023263e-01  2.221619e-07 -6.102490e-09
+ 5.987652e-03  9.592663e-03 -2.136357e-01 -3.023233e-01  1.886075e-07 -4.123550e-08
+ 5.987652e-03  9.798959e-03 -2.139588e-01 -3.023211e-01 -4.558649e-07 -1.402528e-07
+ 5.987652e-03  1.000100e-02 -2.142841e-01 -3.023199e-01  2.162691e-07  7.609968e-09
+ 5.987652e-03  1.019904e-02 -2.146112e-01 -3.023195e-01  5.162842e-12  1.958438e-09
+ 5.987652e-03  1.039330e-02 -2.149397e-01 -3.023199e-01  2.216377e-07  1.809375e-08
+ 5.987652e-03  1.058401e-02 -2.152700e-01 -3.023212e-01  1.629244e-07  8.297463e-09
+ 5.987652e-03  1.077133e-02 -2.156020e-01 -3.023233e-01  7.041840e-09  1.089509e-09
+ 5.987652e-03  1.095545e-02 -2.159355e-01 -3.023261e-01  1.151323e-06  6.123545e-07
+ 5.987652e-03  1.113653e-02 -2.162704e-01 -3.023296e-01  9.082747e-08  3.021364e-09
+ 5.987652e-03  1.131471e-02 -2.166069e-01 -3.023337e-01 -2.334612e-08 -1.205053e-08
+ 5.987652e-03  1.149013e-02 -2.169403e-01 -3.023366e-01  8.966541e-07  3.688003e-07
+ 5.987652e-03  1.166290e-02 -2.172889e-01 -3.023464e-01  5.872919e-07  2.840499e-07
+ 5.987652e-03  1.183316e-02 -2.176297e-01 -3.023525e-01 -8.983424e-09 -6.082884e-09
+ 5.987652e-03  1.200100e-02 -2.179745e-01 -3.023604e-01  1.598942e-07  4.302892e-08
+ 5.987652e-03  1.216653e-02 -2.183343e-01 -3.023738e-01 -4.115039e-06 -1.411580e-06
+ 5.987652e-03  1.232983e-02 -2.186456e-01 -3.023700e-01  1.405245e-05  5.431786e-06
+ 5.987652e-03  1.249100e-02 -2.189865e-01 -3.023761e-01 -2.075010e-07 -9.897824e-08
+ 5.987652e-03  1.265011e-02 -2.193388e-01 -3.023871e-01 -3.064622e-08 -1.848991e-09
+ 5.987652e-03  1.280725e-02 -2.196896e-01 -3.023975e-01  1.790387e-08  3.109928e-09
+ 5.987652e-03  1.296248e-02 -2.200417e-01 -3.024084e-01  1.699421e-07  4.401626e-08
+ 5.987652e-03  1.311588e-02 -2.203941e-01 -3.024194e-01  1.124183e-05  3.267906e-06
+ 5.987652e-03  1.326750e-02 -2.208507e-01 -3.024618e-01 -1.695289e-04 -5.063538e-05
+ 5.987652e-03  1.341741e-02 -2.210254e-01 -3.024196e-01  4.921919e-05  1.482695e-05
+ 5.987652e-03  1.356566e-02 -2.214252e-01 -3.024450e-01 -2.745223e-07 -8.512457e-08
+ 5.987652e-03  1.371231e-02 -2.217803e-01 -3.024570e-01 -4.683219e-07 -5.055068e-08
+ 5.987652e-03  1.385741e-02 -2.221342e-01 -3.024687e-01 -3.998014e-07 -2.025122e-07
+ 5.987652e-03  1.400100e-02 -2.224870e-01 -3.024802e-01  4.667515e-07  8.499224e-09
+ 5.987652e-03  1.414314e-02 -2.228421e-01 -3.024919e-01  1.357721e-07  7.614415e-10
+ 5.987652e-03  1.428386e-02 -2.231991e-01 -3.025049e-01 -8.896401e-07 -5.913945e-07
+ 5.987652e-03  1.442321e-02 -2.235479e-01 -3.025015e-01  1.815424e-05  2.423520e-05
+ 5.987652e-03  1.456122e-02 -2.239894e-01 -3.025460e-01 -9.138778e-05 -2.150922e-05
+ 5.987652e-03  1.469794e-02 -2.241918e-01 -3.025221e-01  3.251292e-05  7.643767e-06
+ 5.987652e-03  1.483340e-02 -2.245793e-01 -3.025414e-01 -1.067860e-06 -2.768236e-07
+ 5.987652e-03  1.496763e-02 -2.249411e-01 -3.025543e-01  7.505300e-08  2.110417e-08
+ 5.987652e-03  1.510067e-02 -2.253001e-01 -3.025667e-01  1.004595e-08 -9.234903e-09
+ 5.987652e-03  1.523255e-02 -2.256445e-01 -3.025740e-01 -9.736769e-06 -3.296787e-06
+ 5.987652e-03  1.536329e-02 -2.260058e-01 -3.025866e-01 -3.172389e-07 -1.337773e-07
+ 5.987652e-03  1.549293e-02 -2.263723e-01 -3.026019e-01 -4.495036e-07 -2.426282e-07
+ 5.987652e-03  1.562150e-02 -2.275154e-01 -3.031350e-01  6.678039e-05  1.967834e-05
+ 5.987652e-03  1.574902e-02 -2.272563e-01 -3.027769e-01  3.844452e-05  3.981499e-05
+ 5.987652e-03  1.587551e-02 -2.274854e-01 -3.026595e-01 -5.807227e-06 -2.745897e-06
+ 5.987652e-03  1.600100e-02 -2.278646e-01 -3.026727e-01 -2.447154e-05 -6.908605e-06
+ 5.987652e-03  1.612552e-02 -2.281985e-01 -3.026752e-01 -3.719685e-06 -1.015254e-06
+ 5.987652e-03  1.624908e-02 -2.286060e-01 -3.027002e-01 -5.176421e-07 -5.388839e-07
+ 5.987652e-03  1.637171e-02 -2.290275e-01 -3.027321e-01  6.584808e-07  1.071235e-07
+ 5.987652e-03  1.649342e-02 -2.294566e-01 -3.027446e-01  3.793792e-05  1.231388e-06
+ 5.987652e-03  1.661425e-02 -2.304272e-01 -3.029647e-01 -2.304272e-01 -3.029647e-01
+ 5.987652e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.766452e-02 -2.332517e-01 -3.031851e-01 -2.332517e-01 -3.031851e-01
+ 5.987652e-03  1.777739e-02 -2.323323e-01 -3.030001e-01 -2.323323e-01 -3.030001e-01
+ 5.987652e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.800100e-02 -2.328029e-01 -3.024829e-01 -2.328029e-01 -3.024829e-01
+ 5.987652e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.822187e-02 -2.325969e-01 -3.022809e-01 -3.584899e-05 -6.367005e-06
+ 5.987652e-03  1.833130e-02 -2.328095e-01 -3.020841e-01  1.926150e-06 -3.831220e-05
+ 5.987652e-03  1.844009e-02 -2.336017e-01 -3.022042e-01 -2.395496e-04 -1.529760e-04
+ 5.987652e-03  1.854824e-02 -2.339206e-01 -3.022565e-01  1.585644e-04  5.562589e-05
+ 5.987652e-03  1.865576e-02 -2.342652e-01 -3.022734e-01  4.573166e-06  7.856441e-06
+ 5.987652e-03  1.876266e-02 -2.344480e-01 -3.022098e-01 -2.856278e-05 -2.250437e-05
+ 5.987652e-03  1.886896e-02 -2.347918e-01 -3.021964e-01 -1.764001e-05 -8.987017e-06
+ 5.987652e-03  1.897467e-02 -2.349779e-01 -3.021291e-01  3.057293e-05  3.970772e-05
+ 5.987652e-03  1.907978e-02 -2.352414e-01 -3.020701e-01 -1.728813e-05 -9.247762e-07
+ 5.987652e-03  1.918433e-02 -2.354900e-01 -3.019984e-01 -1.791237e-04  1.754696e-06
+ 5.987652e-03  1.928830e-02 -2.359666e-01 -3.019274e-01 -4.623366e-05  4.388869e-06
+ 5.987652e-03  1.939172e-02 -2.363767e-01 -3.018814e-01 -1.839528e-04  4.436938e-05
+ 5.987652e-03  1.949459e-02 -2.374689e-01 -3.015421e-01  2.422758e-04  2.097375e-04
+ 5.987652e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.987652e-03  1.969872e-02 -2.364366e-01 -3.017488e-01  4.998282e-04 -2.219732e-05
+ 5.987652e-03  1.979999e-02 -2.366667e-01 -3.016877e-01 -2.366667e-01 -3.016877e-01
+ 5.987652e-03  1.990075e-02 -2.381537e-01 -3.016376e-01 -2.381537e-01 -3.016376e-01
+ 5.987652e-03  2.000100e-02 -2.373986e-01 -3.014340e-01 -2.373986e-01 -3.014340e-01
+ 6.197773e-03  1.000000e-06 -2.066913e-01 -3.027256e-01 -1.674876e-09  1.294124e-07
+ 6.197773e-03  2.001000e-03 -2.071702e-01 -3.027923e-01  8.880604e-10  2.485432e-08
+ 6.197773e-03  2.829427e-03 -2.075143e-01 -3.027901e-01 -4.204834e-10 -6.671585e-09
+ 6.197773e-03  3.465102e-03 -2.078368e-01 -3.027790e-01 -3.294316e-09 -5.193214e-08
+ 6.197773e-03  4.001000e-03 -2.081487e-01 -3.027643e-01  5.236987e-09  1.524293e-08
+ 6.197773e-03  4.473136e-03 -2.084541e-01 -3.027487e-01  2.012610e-08 -1.320552e-07
+ 6.197773e-03  4.899979e-03 -2.087548e-01 -3.027330e-01 -1.115230e-07  4.837300e-07
+ 6.197773e-03  5.292503e-03 -2.090525e-01 -3.027161e-01 -1.090350e-06  3.660405e-06
+ 6.197773e-03  5.657854e-03 -2.093453e-01 -3.027044e-01  8.439951e-07 -2.029828e-06
+ 6.197773e-03  6.001000e-03 -2.096237e-01 -3.027123e-01  2.053977e-05 -3.712013e-05
+ 6.197773e-03  6.325555e-03 -2.098839e-01 -3.027334e-01  3.658398e-05 -5.261468e-05
+ 6.197773e-03  6.634250e-03 -2.101557e-01 -3.027224e-01 -3.101424e-05  3.940062e-05
+ 6.197773e-03  6.929203e-03 -2.105650e-01 -3.025911e-01 -8.985427e-06  5.661102e-06
+ 6.197773e-03  7.212103e-03 -2.110367e-01 -3.025128e-01 -1.569983e-04  5.752919e-05
+ 6.197773e-03  7.484315e-03 -2.113276e-01 -3.025178e-01 -9.784222e-05  2.694778e-05
+ 6.197773e-03  7.746967e-03 -2.115749e-01 -3.025283e-01  8.416140e-06 -1.640645e-06
+ 6.197773e-03  8.001000e-03 -2.118547e-01 -3.025263e-01  2.583033e-05 -3.762580e-06
+ 6.197773e-03  8.247211e-03 -2.121649e-01 -3.025190e-01  9.458892e-06  9.541900e-07
+ 6.197773e-03  8.486281e-03 -2.124755e-01 -3.025126e-01  5.670261e-07  4.388265e-08
+ 6.197773e-03  8.718798e-03 -2.127827e-01 -3.025071e-01  3.338022e-06 -7.755244e-08
+ 6.197773e-03  8.945272e-03 -2.130945e-01 -3.025019e-01  1.328436e-06 -3.867053e-08
+ 6.197773e-03  9.166151e-03 -2.134081e-01 -3.024974e-01  1.238519e-07  1.112650e-08
+ 6.197773e-03  9.381832e-03 -2.137228e-01 -3.024935e-01  9.459155e-07  3.540893e-08
+ 6.197773e-03  9.592663e-03 -2.140397e-01 -3.024905e-01  5.593239e-07  2.125556e-08
+ 6.197773e-03  9.798959e-03 -2.143587e-01 -3.024882e-01 -4.350315e-08 -9.424395e-10
+ 6.197773e-03  1.000100e-02 -2.146789e-01 -3.024868e-01  4.117107e-07  2.794592e-08
+ 6.197773e-03  1.019904e-02 -2.150012e-01 -3.024861e-01  2.946653e-07  1.773533e-08
+ 6.197773e-03  1.039330e-02 -2.153253e-01 -3.024862e-01  3.230500e-08  3.067470e-08
+ 6.197773e-03  1.058401e-02 -2.156508e-01 -3.024871e-01  2.295702e-07  1.766174e-08
+ 6.197773e-03  1.077133e-02 -2.159783e-01 -3.024889e-01  3.690300e-07  1.153074e-07
+ 6.197773e-03  1.095545e-02 -2.163067e-01 -3.024909e-01 -1.217055e-08 -1.388688e-08
+ 6.197773e-03  1.113653e-02 -2.166368e-01 -3.024938e-01  1.251072e-07 -8.493539e-11
+ 6.197773e-03  1.131471e-02 -2.169633e-01 -3.024950e-01  2.519596e-06  1.066028e-06
+ 6.197773e-03  1.149013e-02 -2.173080e-01 -3.025046e-01  7.817664e-07  3.898273e-07
+ 6.197773e-03  1.166290e-02 -2.176426e-01 -3.025094e-01  9.540657e-08  8.216384e-09
+ 6.197773e-03  1.183316e-02 -2.179832e-01 -3.025166e-01  8.047271e-08  5.648829e-09
+ 6.197773e-03  1.200100e-02 -2.184163e-01 -3.025578e-01  4.058579e-05  1.493899e-05
+ 6.197773e-03  1.216653e-02 -2.185906e-01 -3.025037e-01 -3.318826e-05 -1.257894e-05
+ 6.197773e-03  1.232983e-02 -2.189733e-01 -3.025269e-01  8.801115e-08  1.231313e-08
+ 6.197773e-03  1.249100e-02 -2.193203e-01 -3.025368e-01 -3.934421e-07 -1.323824e-07
+ 6.197773e-03  1.265011e-02 -2.196661e-01 -3.025461e-01  7.652156e-08  2.230838e-08
+ 6.197773e-03  1.280725e-02 -2.200171e-01 -3.025570e-01  1.734321e-06  4.956011e-07
+ 6.197773e-03  1.296248e-02 -2.205850e-01 -3.026324e-01 -2.555097e-05 -7.724741e-06
+ 6.197773e-03  1.311588e-02 -2.206324e-01 -3.025531e-01 -1.401234e-04 -4.160427e-05
+ 6.197773e-03  1.326750e-02 -2.210213e-01 -3.025755e-01 -8.569511e-07 -3.424087e-07
+ 6.197773e-03  1.341741e-02 -2.213736e-01 -3.025873e-01 -4.635300e-07 -1.041974e-06
+ 6.197773e-03  1.356566e-02 -2.217218e-01 -3.025973e-01  1.276409e-06  8.165818e-08
+ 6.197773e-03  1.371231e-02 -2.220709e-01 -3.026075e-01 -9.296926e-07  3.930678e-08
+ 6.197773e-03  1.385741e-02 -2.224202e-01 -3.026181e-01  3.101408e-08  6.134436e-08
+ 6.197773e-03  1.400100e-02 -2.227708e-01 -3.026289e-01 -3.019589e-07  2.450132e-08
+ 6.197773e-03  1.414314e-02 -2.231250e-01 -3.026405e-01 -1.353596e-06 -2.423092e-07
+ 6.197773e-03  1.428386e-02 -2.235501e-01 -3.026712e-01 -5.966274e-05 -2.142414e-05
+ 6.197773e-03  1.442321e-02 -2.237481e-01 -3.026308e-01  2.175261e-05  2.240958e-05
+ 6.197773e-03  1.456122e-02 -2.241330e-01 -3.026618e-01  3.974601e-07 -3.787777e-07
+ 6.197773e-03  1.469794e-02 -2.244902e-01 -3.026737e-01 -5.186916e-08 -5.882940e-09
+ 6.197773e-03  1.483340e-02 -2.248441e-01 -3.026848e-01  1.893681e-07  8.126263e-08
+ 6.197773e-03  1.496763e-02 -2.251983e-01 -3.026960e-01 -4.331704e-07 -5.409713e-07
+ 6.197773e-03  1.510067e-02 -2.255204e-01 -3.026959e-01 -1.523780e-05 -5.205736e-06
+ 6.197773e-03  1.523255e-02 -2.258934e-01 -3.027131e-01  4.524015e-07  2.666624e-07
+ 6.197773e-03  1.536329e-02 -2.262523e-01 -3.027255e-01  4.300516e-08 -2.456100e-08
+ 6.197773e-03  1.549293e-02 -2.266114e-01 -3.027378e-01  4.733321e-05  2.604648e-05
+ 6.197773e-03  1.562150e-02 -2.276972e-01 -3.032649e-01 -6.455355e-04 -4.704186e-04
+ 6.197773e-03  1.574902e-02 -2.273160e-01 -3.027431e-01  1.742821e-04  9.789541e-05
+ 6.197773e-03  1.587551e-02 -2.276934e-01 -3.027860e-01  1.151345e-05  3.115734e-06
+ 6.197773e-03  1.600100e-02 -2.280839e-01 -3.028042e-01 -2.061544e-06 -4.249185e-07
+ 6.197773e-03  1.612552e-02 -2.284634e-01 -3.028215e-01  1.513715e-05  2.587087e-06
+ 6.197773e-03  1.624908e-02 -2.289382e-01 -3.028648e-01 -1.313003e-05 -2.509819e-06
+ 6.197773e-03  1.637171e-02 -2.294738e-01 -3.029435e-01 -1.481748e-04 -6.265503e-05
+ 6.197773e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.755093e-02 -2.324365e-01 -3.030325e-01 -2.324365e-01 -3.030325e-01
+ 6.197773e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.777739e-02 -2.323150e-01 -3.030897e-01 -2.323150e-01 -3.030897e-01
+ 6.197773e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.811177e-02 -2.337537e-01 -3.027378e-01 -2.337537e-01 -3.027378e-01
+ 6.197773e-03  1.822187e-02 -2.335282e-01 -3.024846e-01 -9.749223e-04 -1.427565e-04
+ 6.197773e-03  1.833130e-02 -2.330185e-01 -3.020980e-01 -4.142328e-04 -7.940890e-05
+ 6.197773e-03  1.844009e-02 -2.335067e-01 -3.022167e-01 -2.195382e-05 -2.993770e-05
+ 6.197773e-03  1.854824e-02 -2.339286e-01 -3.023600e-01 -1.004725e-04 -7.250299e-05
+ 6.197773e-03  1.865576e-02 -2.341979e-01 -3.023196e-01  4.978956e-05  2.198326e-05
+ 6.197773e-03  1.876266e-02 -2.345127e-01 -3.022981e-01 -1.159623e-05 -2.029890e-05
+ 6.197773e-03  1.886896e-02 -2.347383e-01 -3.022524e-01 -2.112947e-05  7.190250e-06
+ 6.197773e-03  1.897467e-02 -2.350121e-01 -3.022068e-01 -6.534224e-06 -3.989736e-06
+ 6.197773e-03  1.907978e-02 -2.352331e-01 -3.021403e-01  6.972167e-05  1.621693e-05
+ 6.197773e-03  1.918433e-02 -2.355085e-01 -3.020844e-01  5.156819e-05  1.554228e-05
+ 6.197773e-03  1.928830e-02 -2.358376e-01 -3.020429e-01  3.319595e-05  1.475619e-05
+ 6.197773e-03  1.939172e-02 -2.361133e-01 -3.020308e-01 -6.093590e-06  1.538046e-04
+ 6.197773e-03  1.949459e-02 -2.364176e-01 -3.019226e-01 -1.616524e-05  8.885045e-06
+ 6.197773e-03  1.959692e-02 -2.373619e-01 -3.017680e-01 -2.373619e-01 -3.017680e-01
+ 6.197773e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.197773e-03  1.990075e-02 -2.368751e-01 -3.016483e-01 -2.368751e-01 -3.016483e-01
+ 6.197773e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.000000e-06 -2.071665e-01 -2.071666e-01 -5.698572e-10  6.756817e-08
+ 6.401000e-03  2.001000e-03 -2.076466e-01 -3.029580e-01 -3.415257e-09 -7.493380e-08
+ 6.401000e-03  2.829427e-03 -2.079885e-01 -3.029570e-01 -9.145348e-10  1.716758e-08
+ 6.401000e-03  3.465102e-03 -2.083083e-01 -3.029467e-01 -6.156290e-10 -2.608482e-08
+ 6.401000e-03  4.001000e-03 -2.086173e-01 -3.029327e-01 -2.094689e-08  9.456692e-08
+ 6.401000e-03  4.473136e-03 -2.089196e-01 -3.029173e-01 -4.189716e-08  4.276710e-07
+ 6.401000e-03  4.899979e-03 -2.092172e-01 -3.029022e-01 -1.168383e-08  8.579756e-08
+ 6.401000e-03  5.292503e-03 -2.095113e-01 -3.028867e-01 -2.705478e-07  1.026732e-06
+ 6.401000e-03  5.657854e-03 -2.098027e-01 -3.028708e-01 -2.882969e-06  7.878376e-06
+ 6.401000e-03  6.001000e-03 -2.100862e-01 -3.028663e-01 -5.891332e-06  1.195222e-05
+ 6.401000e-03  6.325555e-03 -2.103503e-01 -3.028841e-01  1.779071e-05 -2.824714e-05
+ 6.401000e-03  6.634250e-03 -2.105995e-01 -3.029062e-01  8.560319e-05 -1.070645e-04
+ 6.401000e-03  6.929203e-03 -2.108877e-01 -3.028672e-01  1.706099e-04 -1.441454e-04
+ 6.401000e-03  7.212103e-03 -2.113941e-01 -3.027018e-01  1.747863e-04 -6.405723e-05
+ 6.401000e-03  7.484315e-03 -2.118023e-01 -3.026652e-01 -2.642724e-05  7.775682e-06
+ 6.401000e-03  7.746967e-03 -2.120569e-01 -3.026793e-01 -8.511158e-05  2.068560e-05
+ 6.401000e-03  8.001000e-03 -2.123015e-01 -3.026873e-01 -2.879800e-05  5.066045e-06
+ 6.401000e-03  8.247211e-03 -2.125899e-01 -3.026837e-01  1.049689e-05 -1.217435e-06
+ 6.401000e-03  8.486281e-03 -2.129005e-01 -3.026774e-01  3.385766e-06 -3.144808e-07
+ 6.401000e-03  8.718798e-03 -2.132059e-01 -3.026722e-01 -1.658090e-06  9.739209e-08
+ 6.401000e-03  8.945272e-03 -2.135103e-01 -3.026674e-01  1.726520e-06 -1.702919e-08
+ 6.401000e-03  9.166151e-03 -2.138195e-01 -3.026631e-01  1.012653e-06 -1.081065e-10
+ 6.401000e-03  9.381832e-03 -2.141302e-01 -3.026594e-01 -3.827517e-07 -1.206802e-08
+ 6.401000e-03  9.592663e-03 -2.144418e-01 -3.026563e-01  5.572770e-07  2.203696e-08
+ 6.401000e-03  9.798959e-03 -2.147560e-01 -3.026540e-01  4.342497e-07  2.095580e-08
+ 6.401000e-03  1.000100e-02 -2.150720e-01 -3.026523e-01 -1.307722e-07 -5.968950e-09
+ 6.401000e-03  1.019904e-02 -2.153893e-01 -3.026514e-01  3.079998e-07  3.212734e-08
+ 6.401000e-03  1.039330e-02 -2.157087e-01 -3.026512e-01  2.467667e-07  1.711674e-08
+ 6.401000e-03  1.058401e-02 -2.160300e-01 -3.026519e-01 -1.176894e-07 -4.379227e-08
+ 6.401000e-03  1.077133e-02 -2.163518e-01 -3.026527e-01  2.918614e-07  9.247811e-08
+ 6.401000e-03  1.095545e-02 -2.166758e-01 -3.026545e-01  1.821991e-07  2.019236e-08
+ 6.401000e-03  1.113653e-02 -2.169955e-01 -3.026542e-01 -5.969717e-07 -2.784629e-07
+ 6.401000e-03  1.131471e-02 -2.173361e-01 -3.026635e-01  1.097620e-06  4.829972e-07
+ 6.401000e-03  1.149013e-02 -2.176653e-01 -3.026673e-01  4.897900e-07  1.522289e-07
+ 6.401000e-03  1.166290e-02 -2.180029e-01 -3.026744e-01  5.129315e-08  1.574106e-08
+ 6.401000e-03  1.183316e-02 -2.184277e-01 -3.027145e-01  3.461561e-06  1.272107e-06
+ 6.401000e-03  1.200100e-02 -2.185922e-01 -3.026565e-01  4.019246e-06  1.561888e-06
+ 6.401000e-03  1.216653e-02 -2.189707e-01 -3.026794e-01 -1.879752e-07 -5.804745e-08
+ 6.401000e-03  1.232983e-02 -2.193131e-01 -3.026883e-01 -2.270699e-06 -8.021585e-07
+ 6.401000e-03  1.249100e-02 -2.196540e-01 -3.026966e-01  1.069391e-07  3.327644e-08
+ 6.401000e-03  1.265011e-02 -2.201336e-01 -3.027458e-01 -3.482456e-05 -1.035619e-05
+ 6.401000e-03  1.280725e-02 -2.203585e-01 -3.027199e-01 -1.848451e-04 -5.455216e-05
+ 6.401000e-03  1.296248e-02 -2.206169e-01 -3.027039e-01  1.212697e-06  3.513927e-07
+ 6.401000e-03  1.311588e-02 -2.209862e-01 -3.027208e-01  2.212125e-07  4.403492e-08
+ 6.401000e-03  1.326750e-02 -2.213302e-01 -3.027301e-01  6.809919e-08  1.700140e-08
+ 6.401000e-03  1.341741e-02 -2.216731e-01 -3.027398e-01  1.764373e-07  1.022026e-06
+ 6.401000e-03  1.356566e-02 -2.220181e-01 -3.027484e-01 -3.158733e-07 -1.718952e-08
+ 6.401000e-03  1.371231e-02 -2.223634e-01 -3.027579e-01 -7.420310e-07  9.392308e-08
+ 6.401000e-03  1.385741e-02 -2.227148e-01 -3.027691e-01  6.621095e-06  1.317016e-06
+ 6.401000e-03  1.400100e-02 -2.231078e-01 -3.027895e-01 -6.442709e-05 -1.500835e-05
+ 6.401000e-03  1.414314e-02 -2.233219e-01 -3.027685e-01 -9.300147e-05 -2.140891e-05
+ 6.401000e-03  1.428386e-02 -2.237033e-01 -3.027859e-01  7.419446e-07  7.341742e-07
+ 6.401000e-03  1.442321e-02 -2.240538e-01 -3.027903e-01  7.086062e-06  1.456136e-05
+ 6.401000e-03  1.456122e-02 -2.244050e-01 -3.028067e-01  4.573062e-08 -6.535041e-09
+ 6.401000e-03  1.469794e-02 -2.247528e-01 -3.028165e-01  1.000675e-06  4.055179e-07
+ 6.401000e-03  1.483340e-02 -2.251048e-01 -3.028274e-01  8.602088e-08  4.330433e-09
+ 6.401000e-03  1.496763e-02 -2.254090e-01 -3.028216e-01  1.386950e-05  5.133315e-06
+ 6.401000e-03  1.510067e-02 -2.257890e-01 -3.028417e-01  1.999427e-07  1.741234e-08
+ 6.401000e-03  1.523255e-02 -2.261435e-01 -3.028527e-01  3.583086e-07  5.651157e-08
+ 6.401000e-03  1.536329e-02 -2.265054e-01 -3.028670e-01  3.709706e-06  1.925184e-06
+ 6.401000e-03  1.549293e-02 -2.280245e-01 -3.036003e-01 -2.280245e-01 -3.036003e-01
+ 6.401000e-03  1.562150e-02 -2.275235e-01 -3.031265e-01 -7.298696e-04 -4.900967e-04
+ 6.401000e-03  1.574902e-02 -2.276012e-01 -3.029060e-01  2.812368e-05  3.882035e-05
+ 6.401000e-03  1.587551e-02 -2.279804e-01 -3.029373e-01  2.061505e-05  3.604291e-06
+ 6.401000e-03  1.600100e-02 -2.283830e-01 -3.029581e-01 -4.156122e-06 -4.563879e-07
+ 6.401000e-03  1.612552e-02 -2.288196e-01 -3.029949e-01 -3.719884e-06 -1.376914e-06
+ 6.401000e-03  1.624908e-02 -2.296142e-01 -3.031755e-01 -3.983529e-04 -1.733247e-04
+ 6.401000e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.732151e-02 -2.329641e-01 -3.038669e-01 -2.329641e-01 -3.038669e-01
+ 6.401000e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.822187e-02 -2.325927e-01 -3.023746e-01 -5.318081e-05 -3.659182e-05
+ 6.401000e-03  1.833130e-02 -3.016492e-01 -3.016496e-01 -6.903467e-02  4.550722e-04
+ 6.401000e-03  1.844009e-02 -2.334825e-01 -3.022206e-01 -1.869500e-05  3.834178e-05
+ 6.401000e-03  1.854824e-02 -2.341926e-01 -3.024677e-01 -2.301514e-04 -1.286966e-04
+ 6.401000e-03  1.865576e-02 -2.341668e-01 -3.024017e-01  1.776187e-04  5.591148e-05
+ 6.401000e-03  1.876266e-02 -2.345656e-01 -3.025036e-01  1.084227e-04 -7.714300e-05
+ 6.401000e-03  1.886896e-02 -2.346564e-01 -3.022917e-01  6.812399e-05  3.284285e-05
+ 6.401000e-03  1.897467e-02 -2.350544e-01 -3.022907e-01 -1.146257e-05 -6.825145e-06
+ 6.401000e-03  1.907978e-02 -2.352930e-01 -3.022292e-01  2.789718e-05  1.177187e-06
+ 6.401000e-03  1.918433e-02 -2.356898e-01 -3.022373e-01 -2.509114e-04 -5.582986e-05
+ 6.401000e-03  1.928830e-02 -2.358439e-01 -3.021231e-01  5.143298e-05  2.053949e-05
+ 6.401000e-03  1.939172e-02 -2.361130e-01 -3.020573e-01 -7.569974e-06 -9.610988e-06
+ 6.401000e-03  1.949459e-02 -2.364357e-01 -3.019895e-01  6.423874e-05 -3.915158e-05
+ 6.401000e-03  1.959692e-02 -2.366929e-01 -3.019307e-01  5.193209e-05  6.703796e-06
+ 6.401000e-03  1.969872e-02 -2.375838e-01 -3.019241e-01 -2.375838e-01 -3.019241e-01
+ 6.401000e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.401000e-03  1.990075e-02 -2.376969e-01 -3.017158e-01 -2.376969e-01 -3.017158e-01
+ 6.401000e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.000000e-06 -2.076390e-01 -2.076389e-01 -3.346240e-09  3.776966e-07
+ 6.597969e-03  2.001000e-03 -2.081200e-01 -3.031229e-01  3.744398e-09 -1.735891e-08
+ 6.597969e-03  2.829427e-03 -2.084597e-01 -3.031232e-01 -2.260737e-09 -2.958529e-08
+ 6.597969e-03  3.465102e-03 -2.087768e-01 -3.031136e-01  1.352572e-09  6.271305e-08
+ 6.597969e-03  4.001000e-03 -2.090827e-01 -3.031003e-01 -8.454701e-09 -5.528354e-09
+ 6.597969e-03  4.473136e-03 -2.093819e-01 -3.030853e-01 -3.112244e-08  1.705806e-08
+ 6.597969e-03  4.899979e-03 -2.096763e-01 -3.030703e-01  1.609845e-08  6.772674e-08
+ 6.597969e-03  5.292503e-03 -2.099670e-01 -3.030560e-01  3.079905e-10  1.021711e-08
+ 6.597969e-03  5.657854e-03 -2.102552e-01 -3.030405e-01 -6.639055e-08  1.740672e-07
+ 6.597969e-03  6.001000e-03 -2.105400e-01 -3.030273e-01  1.132588e-06 -2.266831e-06
+ 6.597969e-03  6.325555e-03 -2.108120e-01 -3.030317e-01  8.771885e-07 -8.741244e-07
+ 6.597969e-03  6.634250e-03 -2.110614e-01 -3.030576e-01  9.012496e-07 -1.340716e-06
+ 6.597969e-03  6.929203e-03 -2.113036e-01 -3.030759e-01  8.783902e-05 -1.016487e-04
+ 6.597969e-03  7.212103e-03 -2.116327e-01 -3.029909e-01  2.109637e-04 -1.377362e-04
+ 6.597969e-03  7.484315e-03 -2.122097e-01 -3.028302e-01 -1.478032e-04  5.313354e-05
+ 6.597969e-03  7.746967e-03 -2.125406e-01 -3.028224e-01 -4.032252e-05  1.176603e-05
+ 6.597969e-03  8.001000e-03 -2.127717e-01 -3.028399e-01  1.580240e-05 -3.918711e-06
+ 6.597969e-03  8.247211e-03 -2.130228e-01 -3.028453e-01  2.606494e-06 -7.145454e-07
+ 6.597969e-03  8.486281e-03 -2.133189e-01 -3.028407e-01 -1.893387e-07  2.086069e-08
+ 6.597969e-03  8.718798e-03 -2.136262e-01 -3.028354e-01  8.999811e-08 -3.810229e-09
+ 6.597969e-03  8.945272e-03 -2.139266e-01 -3.028312e-01 -1.031784e-06  1.391733e-08
+ 6.597969e-03  9.166151e-03 -2.142286e-01 -3.028272e-01  2.660760e-08 -2.018595e-10
+ 6.597969e-03  9.381832e-03 -2.145353e-01 -3.028237e-01  1.936601e-07  5.439426e-09
+ 6.597969e-03  9.592663e-03 -2.148427e-01 -3.028207e-01 -3.861482e-07 -1.817842e-08
+ 6.597969e-03  9.798959e-03 -2.151514e-01 -3.028183e-01  8.628171e-08  5.722498e-09
+ 6.597969e-03  1.000100e-02 -2.154629e-01 -3.028165e-01  1.815582e-07  1.207883e-08
+ 6.597969e-03  1.019904e-02 -2.157759e-01 -3.028154e-01 -1.776301e-07 -2.532436e-08
+ 6.597969e-03  1.039330e-02 -2.160904e-01 -3.028150e-01  1.406049e-07  1.909017e-08
+ 6.597969e-03  1.058401e-02 -2.164059e-01 -3.028146e-01  6.750491e-07  3.595013e-07
+ 6.597969e-03  1.077133e-02 -2.167241e-01 -3.028156e-01 -5.127637e-08 -4.976786e-09
+ 6.597969e-03  1.095545e-02 -2.170373e-01 -3.028141e-01 -7.434532e-06 -3.361790e-06
+ 6.597969e-03  1.113653e-02 -2.173735e-01 -3.028230e-01  7.602272e-07  3.107637e-07
+ 6.597969e-03  1.131471e-02 -2.176989e-01 -3.028265e-01  2.896014e-07  1.058142e-07
+ 6.597969e-03  1.149013e-02 -2.180452e-01 -3.028378e-01  7.039947e-06  2.452188e-06
+ 6.597969e-03  1.166290e-02 -2.183523e-01 -3.028356e-01 -2.458833e-05 -9.173582e-06
+ 6.597969e-03  1.183316e-02 -2.186343e-01 -3.028226e-01  3.936942e-06  1.542152e-06
+ 6.597969e-03  1.200100e-02 -2.189770e-01 -3.028326e-01  1.142215e-06  3.339233e-07
+ 6.597969e-03  1.216653e-02 -2.193134e-01 -3.028402e-01 -1.532276e-07 -7.760291e-08
+ 6.597969e-03  1.232983e-02 -2.196526e-01 -3.028485e-01  2.040774e-05  5.986959e-06
+ 6.597969e-03  1.249100e-02 -2.201026e-01 -3.028893e-01 -1.788587e-04 -5.260472e-05
+ 6.597969e-03  1.265011e-02 -2.202055e-01 -3.028281e-01 -7.011170e-05 -2.060602e-05
+ 6.597969e-03  1.280725e-02 -2.206180e-01 -3.028581e-01  2.025871e-07  4.797248e-08
+ 6.597969e-03  1.296248e-02 -2.209583e-01 -3.028668e-01  2.380107e-07  3.177431e-08
+ 6.597969e-03  1.311588e-02 -2.212961e-01 -3.028746e-01  2.158264e-07  2.348694e-08
+ 6.597969e-03  1.326750e-02 -2.216337e-01 -3.028825e-01  6.188641e-07  1.548375e-08
+ 6.597969e-03  1.341741e-02 -2.219761e-01 -3.028920e-01  8.431794e-07  4.001867e-06
+ 6.597969e-03  1.356566e-02 -2.223358e-01 -3.029042e-01 -1.791697e-05 -4.216920e-06
+ 6.597969e-03  1.371231e-02 -2.226752e-01 -3.029124e-01 -3.481279e-05 -8.125793e-06
+ 6.597969e-03  1.385741e-02 -2.229186e-01 -3.028982e-01  2.307885e-05  5.350970e-06
+ 6.597969e-03  1.400100e-02 -2.232996e-01 -3.029158e-01 -1.622253e-06 -4.516678e-07
+ 6.597969e-03  1.414314e-02 -2.236406e-01 -3.029237e-01  5.183362e-08  2.105570e-07
+ 6.597969e-03  1.428386e-02 -2.239731e-01 -3.029208e-01  1.670264e-05  1.752125e-05
+ 6.597969e-03  1.442321e-02 -2.243274e-01 -3.029421e-01  1.121061e-06  3.500652e-06
+ 6.597969e-03  1.456122e-02 -2.246705e-01 -3.029500e-01 -2.097746e-08 -7.917164e-08
+ 6.597969e-03  1.469794e-02 -2.250312e-01 -3.029643e-01 -1.289920e-05 -4.284505e-06
+ 6.597969e-03  1.483340e-02 -2.253258e-01 -3.029556e-01  2.056945e-06  7.127741e-07
+ 6.597969e-03  1.496763e-02 -2.256928e-01 -3.029720e-01  4.154639e-08 -3.951586e-08
+ 6.597969e-03  1.510067e-02 -2.260426e-01 -3.029817e-01  1.710211e-07  8.852626e-08
+ 6.597969e-03  1.523255e-02 -2.263999e-01 -3.029942e-01  4.683818e-07  7.383324e-08
+ 6.597969e-03  1.536329e-02 -2.267941e-01 -3.030235e-01 -1.401933e-05 -7.581636e-06
+ 6.597969e-03  1.549293e-02 -2.279374e-01 -3.035555e-01 -1.087086e-03 -7.039763e-04
+ 6.597969e-03  1.562150e-02 -2.274077e-01 -3.029816e-01  1.631554e-04  1.365119e-04
+ 6.597969e-03  1.574902e-02 -2.278789e-01 -3.030716e-01  2.938244e-06  9.901816e-07
+ 6.597969e-03  1.587551e-02 -2.282717e-01 -3.030896e-01  1.787844e-06  7.909629e-07
+ 6.597969e-03  1.600100e-02 -2.287491e-01 -3.031439e-01 -4.615289e-05 -1.887082e-05
+ 6.597969e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.800100e-02 -2.327646e-01 -3.026946e-01 -2.327646e-01 -3.026946e-01
+ 6.597969e-03  1.811177e-02 -2.325230e-01 -3.024293e-01 -2.325230e-01 -3.024293e-01
+ 6.597969e-03  1.822187e-02 -2.343824e-01 -3.028837e-01 -1.657425e-03 -5.481279e-04
+ 6.597969e-03  1.833130e-02 -2.326033e-01 -3.022247e-01  1.463767e-04 -4.713902e-05
+ 6.597969e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  1.854824e-02 -2.344805e-01 -3.025995e-01 -8.993921e-06  1.084365e-05
+ 6.597969e-03  1.865576e-02 -2.346316e-01 -3.024627e-01  6.716369e-05 -5.342392e-05
+ 6.597969e-03  1.876266e-02 -2.345424e-01 -3.024804e-01 -3.523489e-04 -5.625728e-05
+ 6.597969e-03  1.886896e-02 -2.346594e-01 -3.024632e-01  8.723465e-05 -3.056662e-05
+ 6.597969e-03  1.897467e-02 -2.350074e-01 -3.023718e-01  1.698553e-05 -2.000335e-05
+ 6.597969e-03  1.907978e-02 -2.355032e-01 -3.024075e-01 -1.518590e-04 -3.314550e-05
+ 6.597969e-03  1.918433e-02 -2.356613e-01 -3.022566e-01  2.653793e-05 -7.884830e-06
+ 6.597969e-03  1.928830e-02 -2.358778e-01 -3.022061e-01 -3.325856e-05 -3.584882e-05
+ 6.597969e-03  1.939172e-02 -2.361277e-01 -3.020654e-01  2.125968e-04  1.863425e-04
+ 6.597969e-03  1.949459e-02 -2.363743e-01 -3.021303e-01 -8.295933e-05 -1.253936e-05
+ 6.597969e-03  1.959692e-02 -2.366793e-01 -3.020104e-01 -1.675075e-05  3.048965e-05
+ 6.597969e-03  1.969872e-02 -2.369099e-01 -3.019271e-01  2.045106e-06  1.159493e-05
+ 6.597969e-03  1.979999e-02 -2.377090e-01 -3.016454e-01 -2.377090e-01 -3.016454e-01
+ 6.597969e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.597969e-03  2.000100e-02 -2.375038e-01 -3.014160e-01 -2.375038e-01 -3.014160e-01
+ 6.789225e-03  1.000000e-06 -2.081089e-01 -2.081088e-01  3.577847e-09  1.104811e-07
+ 6.789225e-03  2.001000e-03 -2.085904e-01 -3.032873e-01  7.975228e-10  2.074096e-08
+ 6.789225e-03  2.829427e-03 -2.089278e-01 -3.032886e-01 -1.797476e-09 -8.146582e-09
+ 6.789225e-03  3.465102e-03 -2.092422e-01 -3.032798e-01 -4.983210e-09 -1.266160e-08
+ 6.789225e-03  4.001000e-03 -2.095451e-01 -3.032671e-01  1.266421e-08 -1.629589e-08
+ 6.789225e-03  4.473136e-03 -2.098410e-01 -3.032527e-01 -6.720326e-09  7.979229e-08
+ 6.789225e-03  4.899979e-03 -2.101322e-01 -3.032377e-01 -4.637807e-08  2.847238e-07
+ 6.789225e-03  5.292503e-03 -2.104197e-01 -3.032236e-01  5.117171e-08 -1.583737e-07
+ 6.789225e-03  5.657854e-03 -2.107041e-01 -3.032099e-01 -4.088936e-07  1.292576e-06
+ 6.789225e-03  6.001000e-03 -2.109867e-01 -3.031947e-01 -2.714254e-06  6.539977e-06
+ 6.789225e-03  6.325555e-03 -2.112638e-01 -3.031860e-01  2.651329e-06 -5.005442e-06
+ 6.789225e-03  6.634250e-03 -2.115228e-01 -3.031998e-01  2.585388e-05 -3.854929e-05
+ 6.789225e-03  6.929203e-03 -2.117579e-01 -3.032316e-01  1.035198e-05 -1.224332e-05
+ 6.789225e-03  7.212103e-03 -2.119967e-01 -3.032397e-01  2.121985e-05 -1.635870e-05
+ 6.789225e-03  7.484315e-03 -2.124156e-01 -3.030882e-01  2.279990e-06 -1.731480e-06
+ 6.789225e-03  7.746967e-03 -2.129871e-01 -3.029720e-01 -1.730587e-04  5.455008e-05
+ 6.789225e-03  8.001000e-03 -2.132585e-01 -3.029825e-01 -1.614523e-04  4.088442e-05
+ 6.789225e-03  8.247211e-03 -2.134783e-01 -3.029994e-01  5.059435e-06 -1.019948e-06
+ 6.789225e-03  8.486281e-03 -2.137387e-01 -3.030019e-01  3.630287e-05 -5.485278e-06
+ 6.789225e-03  8.718798e-03 -2.140393e-01 -3.029971e-01  6.136228e-06 -6.682960e-07
+ 6.789225e-03  8.945272e-03 -2.143418e-01 -3.029929e-01  5.210425e-07 -4.214957e-08
+ 6.789225e-03  9.166151e-03 -2.146379e-01 -3.029896e-01  2.728485e-06 -1.444924e-07
+ 6.789225e-03  9.381832e-03 -2.149379e-01 -3.029863e-01  5.416830e-07 -1.940406e-08
+ 6.789225e-03  9.592663e-03 -2.152418e-01 -3.029835e-01 -1.700479e-08 -1.160535e-09
+ 6.789225e-03  9.798959e-03 -2.155459e-01 -3.029811e-01  2.597829e-07 -1.021667e-08
+ 6.789225e-03  1.000100e-02 -2.158519e-01 -3.029793e-01  1.835637e-08 -4.525432e-09
+ 6.789225e-03  1.019904e-02 -2.161608e-01 -3.029781e-01  9.186341e-08  3.671532e-08
+ 6.789225e-03  1.039330e-02 -2.164693e-01 -3.029767e-01  7.568654e-07  5.060618e-07
+ 6.789225e-03  1.058401e-02 -2.167812e-01 -3.029768e-01  3.676745e-09  5.168106e-10
+ 6.789225e-03  1.077133e-02 -2.170906e-01 -3.029752e-01  4.185330e-06  1.838358e-06
+ 6.789225e-03  1.095545e-02 -2.174207e-01 -3.029831e-01 -4.685131e-07 -2.455716e-07
+ 6.789225e-03  1.113653e-02 -2.177441e-01 -3.029871e-01 -3.961267e-08 -6.097362e-08
+ 6.789225e-03  1.131471e-02 -2.182117e-01 -3.030439e-01 -2.420776e-05 -8.949474e-06
+ 6.789225e-03  1.149013e-02 -2.182774e-01 -3.029538e-01  1.456862e-06  5.408443e-07
+ 6.789225e-03  1.166290e-02 -2.186610e-01 -3.029798e-01  1.635692e-06  5.185786e-07
+ 6.789225e-03  1.183316e-02 -2.189956e-01 -3.029877e-01  2.464314e-07  5.202621e-08
+ 6.789225e-03  1.200100e-02 -2.193257e-01 -3.029939e-01  1.443128e-05  4.245507e-06
+ 6.789225e-03  1.216653e-02 -2.198374e-01 -3.030530e-01 -1.005277e-04 -2.949770e-05
+ 6.789225e-03  1.232983e-02 -2.198844e-01 -3.029764e-01 -1.163593e-04 -3.407920e-05
+ 6.789225e-03  1.249100e-02 -2.202718e-01 -3.029995e-01 -1.884660e-07 -6.968014e-08
+ 6.789225e-03  1.265011e-02 -2.206069e-01 -3.030071e-01  2.864013e-07  4.444516e-08
+ 6.789225e-03  1.280725e-02 -2.209391e-01 -3.030138e-01  2.694200e-07  4.836454e-08
+ 6.789225e-03  1.296248e-02 -2.212712e-01 -3.030203e-01  2.920729e-07  9.000960e-08
+ 6.789225e-03  1.311588e-02 -2.216053e-01 -3.030275e-01  1.338066e-06  1.490140e-07
+ 6.789225e-03  1.326750e-02 -2.219841e-01 -3.030446e-01 -2.018350e-05 -4.495141e-06
+ 6.789225e-03  1.341741e-02 -2.222524e-01 -3.030382e-01 -2.198028e-05  4.203202e-07
+ 6.789225e-03  1.356566e-02 -2.225528e-01 -3.030361e-01  1.947619e-05  3.962187e-06
+ 6.789225e-03  1.371231e-02 -2.229102e-01 -3.030481e-01 -3.438929e-07 -9.985914e-09
+ 6.789225e-03  1.385741e-02 -2.232475e-01 -3.030557e-01 -2.251712e-07  1.587320e-07
+ 6.789225e-03  1.400100e-02 -2.235813e-01 -3.030620e-01 -1.503702e-06 -4.031905e-07
+ 6.789225e-03  1.414314e-02 -2.239196e-01 -3.030702e-01  5.742523e-07  3.278667e-07
+ 6.789225e-03  1.428386e-02 -2.242269e-01 -3.030422e-01 -3.139953e-05 -3.923563e-05
+ 6.789225e-03  1.442321e-02 -2.245966e-01 -3.030875e-01 -3.488672e-07 -1.832641e-06
+ 6.789225e-03  1.456122e-02 -2.249707e-01 -3.031047e-01  2.654292e-05  9.027334e-06
+ 6.789225e-03  1.469794e-02 -2.252556e-01 -3.030933e-01  1.635452e-06  5.488859e-07
+ 6.789225e-03  1.483340e-02 -2.256039e-01 -3.031032e-01 -2.646567e-07 -2.517184e-07
+ 6.789225e-03  1.496763e-02 -2.259503e-01 -3.031126e-01 -6.088325e-07 -1.672347e-07
+ 6.789225e-03  1.510067e-02 -2.263035e-01 -3.031240e-01 -1.248021e-06 -4.508835e-07
+ 6.789225e-03  1.523255e-02 -2.266596e-01 -3.031388e-01  3.533796e-06  1.062394e-07
+ 6.789225e-03  1.536329e-02 -2.353245e-01 -3.051876e-01 -2.353245e-01 -3.051876e-01
+ 6.789225e-03  1.549293e-02 -2.275999e-01 -3.033178e-01  2.006876e-04  1.495244e-04
+ 6.789225e-03  1.562150e-02 -2.277270e-01 -3.031476e-01  2.919530e-05  2.653680e-05
+ 6.789225e-03  1.574902e-02 -2.281848e-01 -3.032284e-01 -5.117659e-07  1.945161e-07
+ 6.789225e-03  1.587551e-02 -2.285696e-01 -3.032456e-01  9.875232e-05  3.205332e-05
+ 6.789225e-03  1.600100e-02 -2.292486e-01 -3.033734e-01 -2.292486e-01 -3.033734e-01
+ 6.789225e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.789225e-03  1.822187e-02 -2.346984e-01 -3.029019e-01 -1.003273e-03 -4.909711e-04
+ 6.789225e-03  1.833130e-02 -2.343630e-01 -3.028242e-01 -2.343630e-01 -3.028242e-01
+ 6.789225e-03  1.844009e-02 -2.336257e-01 -3.023999e-01  2.692716e-07 -5.511016e-06
+ 6.789225e-03  1.854824e-02 -2.343914e-01 -3.026373e-01  8.261346e-05 -4.730033e-06
+ 6.789225e-03  1.865576e-02 -2.344765e-01 -3.025522e-01  1.108227e-03  5.779794e-04
+ 6.789225e-03  1.876266e-02 -2.349533e-01 -3.024953e-01 -2.349533e-01 -3.024953e-01
+ 6.789225e-03  1.886896e-02 -2.351055e-01 -3.025186e-01  2.504556e-04 -2.174968e-05
+ 6.789225e-03  1.897467e-02 -2.355593e-01 -3.025228e-01 -7.933302e-04  6.761618e-05
+ 6.789225e-03  1.907978e-02 -2.352714e-01 -3.025796e-01 -2.352714e-01 -3.025796e-01
+ 6.789225e-03  1.918433e-02 -2.357004e-01 -3.023718e-01 -2.213588e-04 -1.341149e-05
+ 6.789225e-03  1.928830e-02 -2.359211e-01 -3.023180e-01 -5.496415e-05  3.535014e-05
+ 6.789225e-03  1.939172e-02 -2.361189e-01 -3.021059e-01  1.056698e-04  1.330011e-04
+ 6.789225e-03  1.949459e-02 -2.364169e-01 -3.023856e-01 -2.364169e-01 -3.023856e-01
+ 6.789225e-03  1.959692e-02 -2.366213e-01 -3.021128e-01 -4.603458e-05  1.643385e-05
+ 6.789225e-03  1.969872e-02 -2.368171e-01 -3.020731e-01  3.100721e-05 -4.355866e-05
+ 6.789225e-03  1.979999e-02 -2.370726e-01 -3.019580e-01 -1.503518e-04  1.187667e-04
+ 6.789225e-03  1.990075e-02 -2.374738e-01 -3.018424e-01 -2.374738e-01 -3.018424e-01
+ 6.789225e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.000000e-06 -2.085761e-01 -2.085762e-01  5.702751e-10  1.254274e-08
+ 6.975238e-03  2.001000e-03 -2.090580e-01 -3.034510e-01 -1.326583e-09 -1.276146e-08
+ 6.975238e-03  2.829427e-03 -2.093930e-01 -3.034533e-01  4.837756e-08  2.755499e-08
+ 6.975238e-03  3.465102e-03 -2.097045e-01 -3.034453e-01 -9.097006e-10  2.952763e-08
+ 6.975238e-03  4.001000e-03 -2.100043e-01 -3.034331e-01 -6.220292e-09  8.554573e-08
+ 6.975238e-03  4.473136e-03 -2.102971e-01 -3.034192e-01  1.580080e-08 -4.361912e-10
+ 6.975238e-03  4.899979e-03 -2.105850e-01 -3.034045e-01 -2.274450e-08  1.866690e-07
+ 6.975238e-03  5.292503e-03 -2.108692e-01 -3.033902e-01 -1.530465e-07  6.925277e-07
+ 6.975238e-03  5.657854e-03 -2.111503e-01 -3.033773e-01 -4.566376e-08  9.048471e-08
+ 6.975238e-03  6.001000e-03 -2.114290e-01 -3.033638e-01 -5.070448e-07  1.468502e-06
+ 6.975238e-03  6.325555e-03 -2.117060e-01 -3.033494e-01 -6.012475e-06  1.274887e-05
+ 6.975238e-03  6.634250e-03 -2.119746e-01 -3.033474e-01 -6.892386e-06  9.383554e-06
+ 6.975238e-03  6.929203e-03 -2.122185e-01 -3.033695e-01  4.740858e-05 -6.047467e-05
+ 6.975238e-03  7.212103e-03 -2.124410e-01 -3.034046e-01  6.199772e-05 -7.204815e-05
+ 6.975238e-03  7.484315e-03 -2.126880e-01 -3.033972e-01  5.348092e-04 -3.196410e-04
+ 6.975238e-03  7.746967e-03 -2.132482e-01 -3.031809e-01  2.627223e-04 -8.664362e-05
+ 6.975238e-03  8.001000e-03 -2.137303e-01 -3.031231e-01 -1.834149e-06  4.892254e-07
+ 6.975238e-03  8.247211e-03 -2.139597e-01 -3.031428e-01 -1.025173e-04  2.283888e-05
+ 6.975238e-03  8.486281e-03 -2.141779e-01 -3.031573e-01 -4.117850e-05  6.989103e-06
+ 6.975238e-03  8.718798e-03 -2.144489e-01 -3.031573e-01  2.356970e-05 -3.067424e-06
+ 6.975238e-03  8.945272e-03 -2.147507e-01 -3.031530e-01  7.979301e-06 -7.590391e-07
+ 6.975238e-03  9.166151e-03 -2.150478e-01 -3.031499e-01 -2.606225e-07  1.369539e-08
+ 6.975238e-03  9.381832e-03 -2.153403e-01 -3.031472e-01  4.940696e-06 -1.997720e-07
+ 6.975238e-03  9.592663e-03 -2.156383e-01 -3.031446e-01  1.911180e-06  1.404555e-08
+ 6.975238e-03  9.798959e-03 -2.159392e-01 -3.031423e-01  2.007577e-07  6.903128e-08
+ 6.975238e-03  1.000100e-02 -2.162405e-01 -3.031407e-01  1.101114e-06  1.749136e-08
+ 6.975238e-03  1.019904e-02 -2.165425e-01 -3.031387e-01 -7.080753e-06 -4.369463e-06
+ 6.975238e-03  1.039330e-02 -2.168485e-01 -3.031378e-01 -1.140923e-07 -3.795631e-08
+ 6.975238e-03  1.058401e-02 -2.171583e-01 -3.031385e-01 -2.364641e-05 -1.082796e-05
+ 6.975238e-03  1.077133e-02 -2.174786e-01 -3.031438e-01  9.526486e-07  4.901320e-07
+ 6.975238e-03  1.095545e-02 -2.178012e-01 -3.031488e-01 -3.342000e-06 -1.166192e-06
+ 6.975238e-03  1.113653e-02 -2.181638e-01 -3.031690e-01 -3.509791e-05 -1.283692e-05
+ 6.975238e-03  1.131471e-02 -2.183199e-01 -3.031123e-01  2.269030e-05  8.592788e-06
+ 6.975238e-03  1.149013e-02 -2.187021e-01 -3.031389e-01 -9.636618e-06 -3.106551e-06
+ 6.975238e-03  1.166290e-02 -2.190247e-01 -3.031437e-01 -1.452081e-06 -4.442957e-07
+ 6.975238e-03  1.183316e-02 -2.195547e-01 -3.032084e-01  1.136455e-05  3.111450e-06
+ 6.975238e-03  1.200100e-02 -2.196058e-01 -3.031340e-01 -1.553768e-04 -4.521789e-05
+ 6.975238e-03  1.216653e-02 -2.199439e-01 -3.031434e-01 -4.144140e-06 -1.223802e-06
+ 6.975238e-03  1.232983e-02 -2.202767e-01 -3.031508e-01  1.822682e-07  1.373032e-08
+ 6.975238e-03  1.249100e-02 -2.206028e-01 -3.031563e-01 -3.700817e-08 -3.387519e-08
+ 6.975238e-03  1.265011e-02 -2.209297e-01 -3.031619e-01  4.620858e-08 -7.618124e-09
+ 6.975238e-03  1.280725e-02 -2.212608e-01 -3.031683e-01  3.230180e-06  3.909873e-07
+ 6.975238e-03  1.296248e-02 -2.216204e-01 -3.031815e-01 -5.682514e-06 -1.326731e-06
+ 6.975238e-03  1.311588e-02 -2.218559e-01 -3.031656e-01 -1.268487e-04 -2.908355e-05
+ 6.975238e-03  1.326750e-02 -2.222111e-01 -3.031787e-01  1.034029e-05  4.473491e-06
+ 6.975238e-03  1.341741e-02 -2.225395e-01 -3.031855e-01  4.545314e-07 -8.958024e-07
+ 6.975238e-03  1.356566e-02 -2.228707e-01 -3.031901e-01 -2.033321e-07  3.488361e-09
+ 6.975238e-03  1.371231e-02 -2.232011e-01 -3.031962e-01 -1.158498e-06 -2.861488e-07
+ 6.975238e-03  1.385741e-02 -2.235294e-01 -3.032014e-01  1.142424e-06  7.522148e-07
+ 6.975238e-03  1.400100e-02 -2.238617e-01 -3.032081e-01 -5.657923e-09 -2.639439e-09
+ 6.975238e-03  1.414314e-02 -2.241972e-01 -3.032171e-01 -1.631292e-06 -1.346404e-06
+ 6.975238e-03  1.428386e-02 -2.244975e-01 -3.031762e-01  7.195254e-05  9.428924e-05
+ 6.975238e-03  1.442321e-02 -2.248671e-01 -3.032300e-01 -6.752751e-06 -3.511758e-06
+ 6.975238e-03  1.456122e-02 -2.251806e-01 -3.032278e-01 -8.241786e-07 -2.314818e-07
+ 6.975238e-03  1.469794e-02 -2.255198e-01 -3.032360e-01  3.435755e-06  6.087472e-07
+ 6.975238e-03  1.483340e-02 -2.258692e-01 -3.032465e-01 -1.760096e-06 -9.679878e-07
+ 6.975238e-03  1.496763e-02 -2.262152e-01 -3.032550e-01 -1.966769e-06 -6.914270e-07
+ 6.975238e-03  1.510067e-02 -2.265788e-01 -3.032711e-01 -7.427538e-06 -2.218384e-06
+ 6.975238e-03  1.523255e-02 -2.269719e-01 -3.033075e-01  3.284746e-05  1.442924e-05
+ 6.975238e-03  1.536329e-02 -2.287304e-01 -3.039778e-01 -2.287304e-01 -3.039778e-01
+ 6.975238e-03  1.549293e-02 -2.274680e-01 -3.031564e-01 -6.955364e-04 -4.340101e-04
+ 6.975238e-03  1.562150e-02 -2.280907e-01 -3.033609e-01 -2.117292e-07 -4.020418e-07
+ 6.975238e-03  1.574902e-02 -2.285471e-01 -3.034057e-01  2.701170e-06  3.648449e-07
+ 6.975238e-03  1.587551e-02 -2.292581e-01 -3.035482e-01 -2.292581e-01 -3.035482e-01
+ 6.975238e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.743660e-02 -2.323553e-01 -3.031272e-01 -2.323553e-01 -3.031272e-01
+ 6.975238e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.811177e-02 -2.338094e-01 -3.029875e-01  8.669911e-04 -1.688357e-04
+ 6.975238e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.833130e-02 -2.348447e-01 -3.030929e-01 -8.667808e-04 -7.470564e-05
+ 6.975238e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  1.854824e-02 -2.350725e-01 -3.030157e-01 -2.350725e-01 -3.030157e-01
+ 6.975238e-03  1.865576e-02 -2.345499e-01 -3.026329e-01 -2.345499e-01 -3.026329e-01
+ 6.975238e-03  1.876266e-02 -2.348842e-01 -3.025779e-01  7.553397e-04  2.269863e-04
+ 6.975238e-03  1.886896e-02 -2.354516e-01 -3.026515e-01  5.464202e-05 -1.616752e-04
+ 6.975238e-03  1.897467e-02 -2.356775e-01 -3.025027e-01 -2.356775e-01 -3.025027e-01
+ 6.975238e-03  1.907978e-02 -2.350779e-01 -3.024583e-01  8.511843e-04  4.755559e-05
+ 6.975238e-03  1.918433e-02 -2.352631e-01 -3.024776e-01  3.684744e-04 -1.894105e-05
+ 6.975238e-03  1.928830e-02 -2.357134e-01 -3.023548e-01  7.502221e-05  6.636681e-05
+ 6.975238e-03  1.939172e-02 -2.360502e-01 -3.022948e-01 -1.540134e-04 -3.155999e-05
+ 6.975238e-03  1.949459e-02 -2.363751e-01 -3.022782e-01 -1.401961e-05 -1.159338e-04
+ 6.975238e-03  1.959692e-02 -2.365816e-01 -3.022277e-01 -8.111435e-05  5.234142e-05
+ 6.975238e-03  1.969872e-02 -2.369497e-01 -3.020367e-01  1.412864e-05  3.422757e-05
+ 6.975238e-03  1.979999e-02 -2.370774e-01 -3.020238e-01 -2.370774e-01 -3.020238e-01
+ 6.975238e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.975238e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.000000e-06 -2.090408e-01 -2.090407e-01  5.381023e-10  2.652698e-07
+ 7.156418e-03  2.001000e-03 -2.095227e-01 -3.036141e-01  3.860491e-09  5.259481e-10
+ 7.156418e-03  2.829427e-03 -2.098553e-01 -3.036174e-01 -2.812122e-09 -9.786311e-10
+ 7.156418e-03  3.465102e-03 -2.101639e-01 -3.036101e-01  8.328433e-09  7.832482e-10
+ 7.156418e-03  4.001000e-03 -2.104606e-01 -3.035984e-01  8.273206e-09  1.123426e-08
+ 7.156418e-03  4.473136e-03 -2.107500e-01 -3.035848e-01 -1.613179e-08  4.180112e-08
+ 7.156418e-03  4.899979e-03 -2.110346e-01 -3.035707e-01  1.138558e-08 -6.315347e-08
+ 7.156418e-03  5.292503e-03 -2.113155e-01 -3.035563e-01 -2.192020e-08  1.175124e-08
+ 7.156418e-03  5.657854e-03 -2.115935e-01 -3.035431e-01 -4.736579e-09 -9.943556e-08
+ 7.156418e-03  6.001000e-03 -2.118687e-01 -3.035313e-01 -1.739152e-07  3.103449e-08
+ 7.156418e-03  6.325555e-03 -2.121388e-01 -3.035165e-01  1.910208e-06  8.215084e-07
+ 7.156418e-03  6.634250e-03 -2.124123e-01 -3.035051e-01 -3.373698e-06  6.291726e-06
+ 7.156418e-03  6.929203e-03 -2.126699e-01 -3.035093e-01 -1.405250e-05  2.077559e-05
+ 7.156418e-03  7.212103e-03 -2.129001e-01 -3.035396e-01  4.388181e-05 -5.422262e-05
+ 7.156418e-03  7.484315e-03 -2.131117e-01 -3.035762e-01  1.366475e-04 -1.416006e-04
+ 7.156418e-03  7.746967e-03 -2.133779e-01 -3.035425e-01  5.948514e-04 -3.129992e-04
+ 7.156418e-03  8.001000e-03 -2.140738e-01 -3.032961e-01 -1.776431e-04  6.102839e-05
+ 7.156418e-03  8.247211e-03 -2.144452e-01 -3.032789e-01 -7.801634e-05  2.037605e-05
+ 7.156418e-03  8.486281e-03 -2.146484e-01 -3.033022e-01  1.877971e-05 -4.454888e-06
+ 7.156418e-03  8.718798e-03 -2.148720e-01 -3.033133e-01 -1.296680e-05  1.678421e-06
+ 7.156418e-03  8.945272e-03 -2.151526e-01 -3.033118e-01  2.261868e-06 -2.497973e-07
+ 7.156418e-03  9.166151e-03 -2.154528e-01 -3.033083e-01  2.915777e-06 -2.355930e-07
+ 7.156418e-03  9.381832e-03 -2.157444e-01 -3.033061e-01 -2.651059e-06  1.403702e-07
+ 7.156418e-03  9.592663e-03 -2.160342e-01 -3.033040e-01  3.583459e-06 -1.156830e-07
+ 7.156418e-03  9.798959e-03 -2.163306e-01 -3.033023e-01  2.212409e-06 -2.903434e-08
+ 7.156418e-03  1.000100e-02 -2.166280e-01 -3.033004e-01  9.944600e-06  5.641560e-06
+ 7.156418e-03  1.019904e-02 -2.169249e-01 -3.032983e-01  3.263769e-07 -4.794262e-07
+ 7.156418e-03  1.039330e-02 -2.172433e-01 -3.033048e-01  2.619361e-05  1.216305e-05
+ 7.156418e-03  1.058401e-02 -2.175493e-01 -3.033052e-01  1.991230e-06  7.685473e-07
+ 7.156418e-03  1.077133e-02 -2.180277e-01 -3.033681e-01  1.109061e-05  4.114984e-06
+ 7.156418e-03  1.095545e-02 -2.180634e-01 -3.032712e-01 -9.199984e-05 -3.332698e-05
+ 7.156418e-03  1.113653e-02 -2.184159e-01 -3.032878e-01  2.727784e-07  6.178493e-08
+ 7.156418e-03  1.131471e-02 -2.187423e-01 -3.032949e-01 -8.834237e-08 -1.740226e-09
+ 7.156418e-03  1.149013e-02 -2.192630e-01 -3.033577e-01  4.107555e-05  1.166653e-05
+ 7.156418e-03  1.166290e-02 -2.193370e-01 -3.032909e-01 -1.430369e-04 -4.132921e-05
+ 7.156418e-03  1.183316e-02 -2.196351e-01 -3.032895e-01  1.390863e-05  3.903187e-06
+ 7.156418e-03  1.200100e-02 -2.199690e-01 -3.032979e-01  2.852231e-07  5.564486e-08
+ 7.156418e-03  1.216653e-02 -2.202884e-01 -3.033021e-01  2.161413e-07  2.963685e-08
+ 7.156418e-03  1.232983e-02 -2.206088e-01 -3.033065e-01  1.646983e-06  3.724279e-07
+ 7.156418e-03  1.249100e-02 -2.209588e-01 -3.033177e-01 -2.663083e-05 -6.275421e-06
+ 7.156418e-03  1.265011e-02 -2.212355e-01 -3.033116e-01 -2.687198e-05 -6.188888e-06
+ 7.156418e-03  1.280725e-02 -2.215257e-01 -3.033092e-01  2.545517e-06  6.181043e-07
+ 7.156418e-03  1.296248e-02 -2.218670e-01 -3.033179e-01 -3.448033e-08 -1.178701e-07
+ 7.156418e-03  1.311588e-02 -2.221930e-01 -3.033244e-01 -8.989557e-06 -4.077301e-06
+ 7.156418e-03  1.326750e-02 -2.225116e-01 -3.033272e-01 -3.721932e-07  8.209490e-08
+ 7.156418e-03  1.341741e-02 -2.228367e-01 -3.033342e-01 -3.029109e-07 -2.885924e-06
+ 7.156418e-03  1.356566e-02 -2.231623e-01 -3.033377e-01 -9.982621e-07 -3.904270e-07
+ 7.156418e-03  1.371231e-02 -2.234853e-01 -3.033419e-01 -2.023736e-06 -8.877274e-07
+ 7.156418e-03  1.385741e-02 -2.238110e-01 -3.033469e-01 -2.720831e-08 -5.299653e-10
+ 7.156418e-03  1.400100e-02 -2.241404e-01 -3.033530e-01 -7.451128e-08 -1.283896e-08
+ 7.156418e-03  1.414314e-02 -2.244753e-01 -3.033639e-01  9.521706e-06  1.109421e-06
+ 7.156418e-03  1.428386e-02 -2.247379e-01 -3.033151e-01  7.344113e-05  1.031655e-04
+ 7.156418e-03  1.442321e-02 -2.251144e-01 -3.033638e-01  2.820475e-06  2.257406e-07
+ 7.156418e-03  1.456122e-02 -2.254533e-01 -3.033717e-01 -1.633666e-07 -4.749487e-08
+ 7.156418e-03  1.469794e-02 -2.257947e-01 -3.033803e-01 -4.277613e-06 -1.701792e-06
+ 7.156418e-03  1.483340e-02 -2.261361e-01 -3.033886e-01  8.189324e-09  9.415458e-08
+ 7.156418e-03  1.496763e-02 -2.264586e-01 -3.033918e-01  1.517355e-05  4.466620e-06
+ 7.156418e-03  1.510067e-02 -2.268730e-01 -3.034276e-01 -4.769996e-06 -1.647449e-06
+ 7.156418e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.536329e-02 -2.276100e-01 -3.034183e-01 -2.276100e-01 -3.034183e-01
+ 7.156418e-03  1.549293e-02 -2.278680e-01 -3.033830e-01 -5.849917e-05 -3.935908e-05
+ 7.156418e-03  1.562150e-02 -2.284883e-01 -3.035497e-01 -2.228355e-05 -9.659857e-06
+ 7.156418e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.732151e-02 -2.332286e-01 -3.038059e-01 -2.332286e-01 -3.038059e-01
+ 7.156418e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.788954e-02 -2.323136e-01 -3.031049e-01 -2.323136e-01 -3.031049e-01
+ 7.156418e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.811177e-02 -2.324735e-01 -3.026847e-01 -7.805750e-05  1.934864e-04
+ 7.156418e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.833130e-02 -2.330299e-01 -3.024961e-01 -5.268313e-04  1.309837e-05
+ 7.156418e-03  1.844009e-02 -2.331447e-01 -3.025989e-01 -6.553472e-04 -6.044596e-05
+ 7.156418e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.876266e-02 -2.356217e-01 -3.028251e-01 -2.356217e-01 -3.028251e-01
+ 7.156418e-03  1.886896e-02 -2.350515e-01 -3.026070e-01 -2.350515e-01 -3.026070e-01
+ 7.156418e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.918433e-02 -2.356972e-01 -3.025586e-01 -2.356972e-01 -3.025586e-01
+ 7.156418e-03  1.928830e-02 -2.358291e-01 -3.024791e-01  2.846458e-04  3.879431e-05
+ 7.156418e-03  1.939172e-02 -2.360097e-01 -3.023896e-01 -3.095702e-04  7.210450e-05
+ 7.156418e-03  1.949459e-02 -2.361738e-01 -3.021363e-01 -9.820771e-05  5.555977e-05
+ 7.156418e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  1.969872e-02 -2.368562e-01 -3.021368e-01 -2.412749e-05  1.166793e-05
+ 7.156418e-03  1.979999e-02 -2.370126e-01 -3.021017e-01  7.003757e-05 -6.296943e-05
+ 7.156418e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.156418e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.000000e-06 -2.095028e-01 -3.036934e-01  9.056531e-11  6.468617e-08
+ 7.333121e-03  2.001000e-03 -2.099846e-01 -3.037765e-01  6.189697e-09 -1.231552e-09
+ 7.333121e-03  2.829427e-03 -2.103146e-01 -3.037807e-01 -8.063987e-10  7.869755e-09
+ 7.333121e-03  3.465102e-03 -2.106202e-01 -3.037741e-01 -2.467646e-09  8.666129e-10
+ 7.333121e-03  4.001000e-03 -2.109137e-01 -3.037629e-01  1.103984e-08  2.426118e-09
+ 7.333121e-03  4.473136e-03 -2.111999e-01 -3.037497e-01 -9.311025e-09  5.756742e-08
+ 7.333121e-03  4.899979e-03 -2.114811e-01 -3.037358e-01  1.323732e-08 -5.904861e-08
+ 7.333121e-03  5.292503e-03 -2.117588e-01 -3.037218e-01 -1.630680e-08  2.474819e-07
+ 7.333121e-03  5.657854e-03 -2.120285e-01 -3.037067e-01 -6.448813e-06 -1.887418e-06
+ 7.333121e-03  6.001000e-03 -2.123046e-01 -3.036960e-01 -1.140823e-07 -2.514557e-07
+ 7.333121e-03  6.325555e-03 -2.125741e-01 -3.036849e-01 -5.363819e-07  1.169378e-06
+ 7.333121e-03  6.634250e-03 -2.128421e-01 -3.036712e-01 -1.387157e-06  3.171271e-06
+ 7.333121e-03  6.929203e-03 -2.131064e-01 -3.036616e-01  3.410105e-06 -5.228776e-06
+ 7.333121e-03  7.212103e-03 -2.133526e-01 -3.036730e-01 -8.737445e-06  1.237571e-05
+ 7.333121e-03  7.484315e-03 -2.135687e-01 -3.037093e-01  2.560473e-05 -2.961163e-05
+ 7.333121e-03  7.746967e-03 -2.137713e-01 -3.037457e-01  1.868978e-04 -1.773514e-04
+ 7.333121e-03  8.001000e-03 -2.140774e-01 -3.036696e-01  5.989492e-04 -2.794697e-04
+ 7.333121e-03  8.247211e-03 -2.148542e-01 -3.034299e-01 -2.378757e-04  6.895477e-05
+ 7.333121e-03  8.486281e-03 -2.151385e-01 -3.034366e-01 -2.257932e-04  5.323011e-05
+ 7.333121e-03  8.718798e-03 -2.153276e-01 -3.034601e-01  1.834080e-05 -3.586119e-06
+ 7.333121e-03  8.945272e-03 -2.155613e-01 -3.034678e-01  4.115011e-05 -6.333688e-06
+ 7.333121e-03  9.166151e-03 -2.158492e-01 -3.034655e-01  2.031892e-06 -2.502589e-07
+ 7.333121e-03  9.381832e-03 -2.161459e-01 -3.034629e-01 -3.167011e-08 -1.146640e-07
+ 7.333121e-03  9.592663e-03 -2.164333e-01 -3.034619e-01 -2.230417e-06  3.175661e-07
+ 7.333121e-03  9.798959e-03 -2.167218e-01 -3.034609e-01  1.466634e-05  7.367742e-06
+ 7.333121e-03  1.000100e-02 -2.170107e-01 -3.034566e-01 -6.309303e-07 -9.500328e-07
+ 7.333121e-03  1.019904e-02 -2.173419e-01 -3.034712e-01  1.045833e-05  5.419169e-06
+ 7.333121e-03  1.039330e-02 -2.176471e-01 -3.034727e-01  2.100054e-05  6.806053e-06
+ 7.333121e-03  1.058401e-02 -2.179738e-01 -3.034827e-01 -7.032538e-05 -2.567026e-05
+ 7.333121e-03  1.077133e-02 -2.180912e-01 -3.034156e-01  1.657581e-05  6.106781e-06
+ 7.333121e-03  1.095545e-02 -2.184806e-01 -3.034477e-01  2.649264e-06  6.607475e-07
+ 7.333121e-03  1.113653e-02 -2.189832e-01 -3.035061e-01  2.334566e-05  6.547240e-06
+ 7.333121e-03  1.131471e-02 -2.190702e-01 -3.034443e-01 -1.161024e-04 -3.333321e-05
+ 7.333121e-03  1.149013e-02 -2.193541e-01 -3.034399e-01  1.003112e-05  2.759669e-06
+ 7.333121e-03  1.166290e-02 -2.196850e-01 -3.034481e-01  4.476321e-06  1.154169e-06
+ 7.333121e-03  1.183316e-02 -2.199967e-01 -3.034509e-01  5.480064e-07  1.020910e-07
+ 7.333121e-03  1.200100e-02 -2.203213e-01 -3.034566e-01 -5.657472e-06 -1.315517e-06
+ 7.333121e-03  1.216653e-02 -2.206350e-01 -3.034596e-01 -2.575942e-06 -5.613323e-07
+ 7.333121e-03  1.232983e-02 -2.208913e-01 -3.034497e-01 -4.789356e-06 -1.099291e-06
+ 7.333121e-03  1.249100e-02 -2.212267e-01 -3.034576e-01 -1.606201e-06 -3.380615e-07
+ 7.333121e-03  1.265011e-02 -2.215425e-01 -3.034611e-01 -7.212868e-08 -4.505555e-08
+ 7.333121e-03  1.280725e-02 -2.218593e-01 -3.034645e-01  5.520910e-07  3.855579e-08
+ 7.333121e-03  1.296248e-02 -2.221784e-01 -3.034696e-01 -1.616353e-06 -7.049849e-07
+ 7.333121e-03  1.311588e-02 -2.224912e-01 -3.034715e-01  1.976077e-07  2.649107e-08
+ 7.333121e-03  1.326750e-02 -2.228095e-01 -3.034749e-01  1.288599e-07  1.604960e-07
+ 7.333121e-03  1.341741e-02 -2.231318e-01 -3.034821e-01  1.279615e-06  8.378462e-07
+ 7.333121e-03  1.356566e-02 -2.234475e-01 -3.034828e-01 -5.599866e-07 -7.491749e-08
+ 7.333121e-03  1.371231e-02 -2.237651e-01 -3.034863e-01 -9.756508e-07 -1.651085e-07
+ 7.333121e-03  1.385741e-02 -2.240938e-01 -3.034923e-01  2.480682e-06  3.938150e-07
+ 7.333121e-03  1.400100e-02 -2.244589e-01 -3.035105e-01 -2.385429e-05 -8.183659e-06
+ 7.333121e-03  1.414314e-02 -2.246592e-01 -3.034667e-01 -7.839231e-05 -2.108172e-05
+ 7.333121e-03  1.428386e-02 -2.250510e-01 -3.034919e-01  8.457391e-06  1.642547e-05
+ 7.333121e-03  1.442321e-02 -2.253880e-01 -3.035073e-01 -1.712006e-07 -3.514603e-08
+ 7.333121e-03  1.456122e-02 -2.257288e-01 -3.035162e-01 -1.494464e-06 -5.153081e-07
+ 7.333121e-03  1.469794e-02 -2.260722e-01 -3.035245e-01 -7.182908e-06 -2.665307e-06
+ 7.333121e-03  1.483340e-02 -2.263613e-01 -3.035189e-01  1.972718e-05  5.896523e-06
+ 7.333121e-03  1.496763e-02 -2.267667e-01 -3.035485e-01  3.087919e-05  1.133784e-05
+ 7.333121e-03  1.510067e-02 -2.272336e-01 -3.036150e-01  7.599206e-06 -9.971958e-07
+ 7.333121e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.549293e-02 -2.282798e-01 -3.036217e-01 -2.282798e-01 -3.036217e-01
+ 7.333121e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.574902e-02 -2.313443e-01 -3.059262e-01 -2.313443e-01 -3.059262e-01
+ 7.333121e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.766452e-02 -2.326198e-01 -3.034638e-01 -2.326198e-01 -3.034638e-01
+ 7.333121e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.788954e-02 -2.323086e-01 -3.032583e-01 -2.323086e-01 -3.032583e-01
+ 7.333121e-03  1.800100e-02 -2.345930e-01 -3.033845e-01 -2.345930e-01 -3.033845e-01
+ 7.333121e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.844009e-02 -2.342595e-01 -3.029194e-01 -1.595900e-03 -8.699495e-04
+ 7.333121e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.876266e-02 -2.352198e-01 -3.028495e-01 -5.022142e-05 -1.855953e-04
+ 7.333121e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  1.918433e-02 -2.360539e-01 -3.025637e-01  2.187531e-04  1.203480e-04
+ 7.333121e-03  1.928830e-02 -2.354019e-01 -3.025384e-01 -1.053961e-03 -9.013175e-05
+ 7.333121e-03  1.939172e-02 -2.361218e-01 -3.024478e-01  9.651442e-05 -1.234970e-04
+ 7.333121e-03  1.949459e-02 -2.360685e-01 -3.023542e-01  9.266099e-05 -1.893048e-05
+ 7.333121e-03  1.959692e-02 -2.360554e-01 -3.026213e-01 -2.360554e-01 -3.026213e-01
+ 7.333121e-03  1.969872e-02 -2.363334e-01 -3.026406e-01  2.222955e-04 -2.726589e-04
+ 7.333121e-03  1.979999e-02 -2.370988e-01 -3.020376e-01 -2.370988e-01 -3.020376e-01
+ 7.333121e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.333121e-03  2.000100e-02 -2.375785e-01 -3.017763e-01  8.031754e-05 -1.694200e-04
+ 7.505665e-03  1.000000e-06 -2.099622e-01 -2.099622e-01  4.035897e-10 -9.928276e-08
+ 7.505665e-03  2.001000e-03 -2.104436e-01 -3.039382e-01 -1.561604e-09 -2.306207e-09
+ 7.505665e-03  2.829427e-03 -2.107710e-01 -3.039433e-01  4.896551e-09  1.678555e-09
+ 7.505665e-03  3.465102e-03 -2.110736e-01 -3.039373e-01 -1.021300e-09  2.120861e-08
+ 7.505665e-03  4.001000e-03 -2.113639e-01 -3.039267e-01  8.750332e-09 -1.347405e-08
+ 7.505665e-03  4.473136e-03 -2.116468e-01 -3.039138e-01  5.201847e-11  3.297602e-08
+ 7.505665e-03  4.899979e-03 -2.119241e-01 -3.038999e-01  2.655830e-06  1.004408e-06
+ 7.505665e-03  5.292503e-03 -2.121984e-01 -3.038864e-01  8.443626e-08 -2.535359e-07
+ 7.505665e-03  5.657854e-03 -2.124694e-01 -3.038728e-01 -3.106683e-08  2.538820e-07
+ 7.505665e-03  6.001000e-03 -2.127383e-01 -3.038600e-01 -3.049688e-07  1.268428e-06
+ 7.505665e-03  6.325555e-03 -2.130039e-01 -3.038495e-01  1.115054e-07  1.815305e-07
+ 7.505665e-03  6.634250e-03 -2.132678e-01 -3.038385e-01 -1.262300e-06  2.736322e-06
+ 7.505665e-03  6.929203e-03 -2.135312e-01 -3.038250e-01 -6.614035e-06  1.159385e-05
+ 7.505665e-03  7.212103e-03 -2.137881e-01 -3.038187e-01  6.905314e-06 -1.003829e-05
+ 7.505665e-03  7.484315e-03 -2.140223e-01 -3.038367e-01  1.073906e-05 -1.210706e-05
+ 7.505665e-03  7.746967e-03 -2.142250e-01 -3.038781e-01  4.488374e-06 -4.928463e-06
+ 7.505665e-03  8.001000e-03 -2.144205e-01 -3.039127e-01  1.100627e-04 -1.066427e-04
+ 7.505665e-03  8.247211e-03 -2.148099e-01 -3.037673e-01  5.418739e-04 -2.141521e-04
+ 7.505665e-03  8.486281e-03 -2.155908e-01 -3.035747e-01 -2.072831e-05  5.112838e-06
+ 7.505665e-03  8.718798e-03 -2.158154e-01 -3.035947e-01 -1.787108e-04  3.773251e-05
+ 7.505665e-03  8.945272e-03 -2.160001e-01 -3.036162e-01 -4.787359e-05  8.180555e-06
+ 7.505665e-03  9.166151e-03 -2.162464e-01 -3.036212e-01  5.126280e-05 -7.086493e-06
+ 7.505665e-03  9.381832e-03 -2.165386e-01 -3.036182e-01  6.846177e-06 -4.446737e-06
+ 7.505665e-03  9.592663e-03 -2.168351e-01 -3.036193e-01  1.557111e-05  8.824612e-06
+ 7.505665e-03  9.798959e-03 -2.170985e-01 -3.036091e-01  2.110665e-06 -3.274521e-07
+ 7.505665e-03  1.000100e-02 -2.174360e-01 -3.036311e-01 -3.003191e-08  1.197151e-07
+ 7.505665e-03  1.019904e-02 -2.178792e-01 -3.036830e-01  2.224154e-05  7.257651e-06
+ 7.505665e-03  1.039330e-02 -2.178675e-01 -3.035730e-01 -1.094686e-04 -3.913421e-05
+ 7.505665e-03  1.058401e-02 -2.182551e-01 -3.036057e-01 -5.789535e-05 -1.870089e-05
+ 7.505665e-03  1.077133e-02 -2.187231e-01 -3.036548e-01  2.792948e-05  7.573705e-06
+ 7.505665e-03  1.095545e-02 -2.188065e-01 -3.035937e-01 -7.533031e-05 -2.145513e-05
+ 7.505665e-03  1.113653e-02 -2.191045e-01 -3.035946e-01  1.427656e-05  3.690184e-06
+ 7.505665e-03  1.131471e-02 -2.194213e-01 -3.035999e-01 -9.700475e-08 -1.255466e-07
+ 7.505665e-03  1.149013e-02 -2.197330e-01 -3.036033e-01 -6.806506e-06 -1.603154e-06
+ 7.505665e-03  1.166290e-02 -2.200510e-01 -3.036079e-01  6.197466e-05  1.403987e-05
+ 7.505665e-03  1.183316e-02 -2.203037e-01 -3.035977e-01  1.294562e-05  2.861097e-06
+ 7.505665e-03  1.200100e-02 -2.206225e-01 -3.036023e-01  1.012858e-06  2.064089e-07
+ 7.505665e-03  1.216653e-02 -2.209316e-01 -3.036048e-01  2.777135e-08  3.068006e-09
+ 7.505665e-03  1.232983e-02 -2.212395e-01 -3.036068e-01  7.275476e-09  1.404845e-09
+ 7.505665e-03  1.249100e-02 -2.215478e-01 -3.036089e-01  2.256825e-07  7.225946e-08
+ 7.505665e-03  1.265011e-02 -2.218582e-01 -3.036113e-01  3.784153e-07 -3.494950e-08
+ 7.505665e-03  1.280725e-02 -2.221716e-01 -3.036154e-01  8.890207e-08 -1.882216e-09
+ 7.505665e-03  1.296248e-02 -2.224777e-01 -3.036159e-01  1.042791e-06  6.709002e-08
+ 7.505665e-03  1.311588e-02 -2.227883e-01 -3.036183e-01 -1.823179e-06 -2.907903e-07
+ 7.505665e-03  1.326750e-02 -2.231002e-01 -3.036198e-01  1.423460e-05  6.001396e-06
+ 7.505665e-03  1.341741e-02 -2.234197e-01 -3.036266e-01 -6.622876e-07 -2.727547e-06
+ 7.505665e-03  1.356566e-02 -2.237368e-01 -3.036283e-01  2.009634e-07  6.485341e-08
+ 7.505665e-03  1.371231e-02 -2.240591e-01 -3.036334e-01 -4.378718e-07 -1.123519e-07
+ 7.505665e-03  1.385741e-02 -2.243914e-01 -3.036417e-01  4.509901e-06  1.529134e-06
+ 7.505665e-03  1.400100e-02 -2.246710e-01 -3.036308e-01  9.170202e-06  4.570632e-06
+ 7.505665e-03  1.414314e-02 -2.249474e-01 -3.035770e-01  3.445086e-05  3.775711e-05
+ 7.505665e-03  1.428386e-02 -2.253360e-01 -3.036520e-01 -1.043687e-06 -2.552328e-06
+ 7.505665e-03  1.442321e-02 -2.256705e-01 -3.036535e-01 -3.191648e-06 -1.279513e-06
+ 7.505665e-03  1.456122e-02 -2.259632e-01 -3.036473e-01  1.869375e-05  5.509465e-06
+ 7.505665e-03  1.469794e-02 -2.263381e-01 -3.036682e-01 -3.041935e-06 -2.200502e-06
+ 7.505665e-03  1.483340e-02 -2.266718e-01 -3.036733e-01  4.271931e-05  1.572503e-05
+ 7.505665e-03  1.496763e-02 -2.271132e-01 -3.037259e-01 -3.339712e-06 -5.947112e-08
+ 7.505665e-03  1.510067e-02 -2.325034e-01 -3.068087e-01 -2.325034e-01 -3.068087e-01
+ 7.505665e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.536329e-02 -2.277560e-01 -3.034426e-01 -2.277560e-01 -3.034426e-01
+ 7.505665e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.755093e-02 -2.326014e-01 -3.037135e-01 -2.326014e-01 -3.037135e-01
+ 7.505665e-03  1.766452e-02 -2.334841e-01 -3.036332e-01 -2.334841e-01 -3.036332e-01
+ 7.505665e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.788954e-02 -2.345003e-01 -3.038192e-01 -2.345003e-01 -3.038192e-01
+ 7.505665e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.811177e-02 -2.325163e-01 -3.026023e-01 -2.325163e-01 -3.026023e-01
+ 7.505665e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.918433e-02 -2.358291e-01 -3.025191e-01 -1.162231e-03 -1.481003e-05
+ 7.505665e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.939172e-02 -2.351482e-01 -3.025224e-01 -2.351482e-01 -3.025224e-01
+ 7.505665e-03  1.949459e-02 -2.360689e-01 -3.024350e-01 -2.360689e-01 -3.024350e-01
+ 7.505665e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.505665e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.000000e-06 -2.104191e-01 -3.040116e-01  2.823242e-12  5.321301e-08
+ 7.674330e-03  2.001000e-03 -2.108999e-01 -3.040992e-01  9.865320e-10 -2.294368e-08
+ 7.674330e-03  2.829427e-03 -2.112245e-01 -3.041052e-01  2.709499e-09  1.862581e-08
+ 7.674330e-03  3.465102e-03 -2.115241e-01 -3.040998e-01  1.151656e-08 -1.475535e-08
+ 7.674330e-03  4.001000e-03 -2.118116e-01 -3.040897e-01 -8.041638e-08  5.033982e-08
+ 7.674330e-03  4.473136e-03 -2.120887e-01 -3.040766e-01  1.367929e-06  3.935743e-07
+ 7.674330e-03  4.899979e-03 -2.123647e-01 -3.040635e-01 -2.764706e-09 -3.450073e-08
+ 7.674330e-03  5.292503e-03 -2.126353e-01 -3.040500e-01 -2.673140e-07  3.025180e-08
+ 7.674330e-03  5.657854e-03 -2.129028e-01 -3.040366e-01 -2.765710e-08  2.588575e-07
+ 7.674330e-03  6.001000e-03 -2.131682e-01 -3.040238e-01  1.104705e-08 -1.382801e-09
+ 7.674330e-03  6.325555e-03 -2.134310e-01 -3.040123e-01 -1.257657e-07  4.112101e-07
+ 7.674330e-03  6.634250e-03 -2.136911e-01 -3.040028e-01 -1.590474e-08  7.401152e-08
+ 7.674330e-03  6.929203e-03 -2.139500e-01 -3.039918e-01 -1.152461e-06  2.273588e-06
+ 7.674330e-03  7.212103e-03 -2.142084e-01 -3.039786e-01 -1.205403e-05  1.914484e-05
+ 7.674330e-03  7.484315e-03 -2.144577e-01 -3.039761e-01  3.550117e-06 -4.745493e-06
+ 7.674330e-03  7.746967e-03 -2.146800e-01 -3.039997e-01  3.809617e-05 -4.211114e-05
+ 7.674330e-03  8.001000e-03 -2.148698e-01 -3.040453e-01 -4.829117e-06  5.211860e-06
+ 7.674330e-03  8.247211e-03 -2.150603e-01 -3.040769e-01  4.131233e-04 -2.898418e-04
+ 7.674330e-03  8.486281e-03 -2.156256e-01 -3.038344e-01  4.590678e-04 -1.361264e-04
+ 7.674330e-03  8.718798e-03 -2.162946e-01 -3.037255e-01 -3.589721e-05  8.983433e-06
+ 7.674330e-03  8.945272e-03 -2.164796e-01 -3.037518e-01 -1.378791e-05  1.917740e-07
+ 7.674330e-03  9.166151e-03 -2.166658e-01 -3.037684e-01 -5.258761e-05  7.285722e-06
+ 7.674330e-03  9.381832e-03 -2.169352e-01 -3.037790e-01  1.119898e-04  3.093620e-05
+ 7.674330e-03  9.592663e-03 -2.171926e-01 -3.037562e-01  1.520279e-05  1.314406e-06
+ 7.674330e-03  9.798959e-03 -2.177075e-01 -3.038431e-01  1.970546e-04  6.656035e-05
+ 7.674330e-03  1.000100e-02 -2.177683e-01 -3.037642e-01 -7.400732e-05 -2.973777e-05
+ 7.674330e-03  1.019904e-02 -2.180523e-01 -3.037619e-01 -4.328055e-05 -1.427679e-05
+ 7.674330e-03  1.039330e-02 -2.184719e-01 -3.037989e-01  1.816723e-05  4.839335e-06
+ 7.674330e-03  1.058401e-02 -2.185532e-01 -3.037398e-01  1.597927e-06  3.230017e-07
+ 7.674330e-03  1.077133e-02 -2.188839e-01 -3.037515e-01 -8.786172e-06 -2.386590e-06
+ 7.674330e-03  1.095545e-02 -2.191893e-01 -3.037548e-01 -6.702501e-06 -1.590525e-06
+ 7.674330e-03  1.113653e-02 -2.194981e-01 -3.037583e-01  7.425762e-05  1.674841e-05
+ 7.674330e-03  1.131471e-02 -2.197512e-01 -3.037493e-01  7.254565e-06  1.477309e-06
+ 7.674330e-03  1.149013e-02 -2.200571e-01 -3.037518e-01  2.428231e-08 -6.176843e-08
+ 7.674330e-03  1.166290e-02 -2.203582e-01 -3.037530e-01 -2.281067e-08 -1.728917e-09
+ 7.674330e-03  1.183316e-02 -2.206576e-01 -3.037539e-01  3.859295e-07  1.443903e-08
+ 7.674330e-03  1.200100e-02 -2.209576e-01 -3.037548e-01  2.465347e-07  5.165070e-09
+ 7.674330e-03  1.216653e-02 -2.212590e-01 -3.037558e-01 -4.477428e-08 -1.187999e-08
+ 7.674330e-03  1.232983e-02 -2.215591e-01 -3.037563e-01  5.395256e-07  2.081723e-07
+ 7.674330e-03  1.249100e-02 -2.218627e-01 -3.037578e-01 -6.616570e-06 -1.247613e-06
+ 7.674330e-03  1.265011e-02 -2.221729e-01 -3.037619e-01 -2.131695e-08 -2.665690e-07
+ 7.674330e-03  1.280725e-02 -2.224739e-01 -3.037611e-01  8.019720e-07 -3.565825e-08
+ 7.674330e-03  1.296248e-02 -2.227817e-01 -3.037632e-01 -8.199678e-07 -5.856892e-08
+ 7.674330e-03  1.311588e-02 -2.230713e-01 -3.037578e-01  8.050180e-05  3.198813e-05
+ 7.674330e-03  1.326750e-02 -2.233986e-01 -3.037665e-01 -6.589290e-08 -6.528728e-07
+ 7.674330e-03  1.341741e-02 -2.237127e-01 -3.037718e-01  1.843366e-08 -9.582342e-07
+ 7.674330e-03  1.356566e-02 -2.240370e-01 -3.037771e-01 -3.497017e-06 -1.220656e-06
+ 7.674330e-03  1.371231e-02 -2.242649e-01 -3.037503e-01  5.606569e-07  1.611054e-07
+ 7.674330e-03  1.385741e-02 -2.246384e-01 -3.037730e-01  9.881952e-07  5.210471e-07
+ 7.674330e-03  1.400100e-02 -2.249660e-01 -3.037819e-01 -1.153940e-05 -7.945817e-06
+ 7.674330e-03  1.414314e-02 -2.252044e-01 -3.036809e-01  1.865095e-04  2.133337e-04
+ 7.674330e-03  1.428386e-02 -2.256395e-01 -3.038016e-01  1.196388e-05 -2.750866e-06
+ 7.674330e-03  1.442321e-02 -2.259268e-01 -3.037900e-01  1.104079e-05  3.227895e-06
+ 7.674330e-03  1.456122e-02 -2.262767e-01 -3.038017e-01  2.114369e-06  8.042749e-07
+ 7.674330e-03  1.469794e-02 -2.266171e-01 -3.038117e-01  1.270927e-05  4.872985e-06
+ 7.674330e-03  1.483340e-02 -2.270074e-01 -3.038425e-01 -1.750726e-05 -3.030004e-06
+ 7.674330e-03  1.496763e-02 -2.311505e-01 -3.065600e-01 -2.808297e-04  9.087111e-04
+ 7.674330e-03  1.510067e-02 -2.338171e-01 -3.062792e-01 -2.338171e-01 -3.062792e-01
+ 7.674330e-03  1.523255e-02 -2.274118e-01 -3.034772e-01 -2.274118e-01 -3.034772e-01
+ 7.674330e-03  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.766452e-02 -2.331738e-01 -3.036264e-01 -2.331738e-01 -3.036264e-01
+ 7.674330e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.800100e-02 -2.330457e-01 -3.031335e-01 -7.124573e-04 -9.465700e-05
+ 7.674330e-03  1.811177e-02 -2.334177e-01 -3.029923e-01 -2.334177e-01 -3.029923e-01
+ 7.674330e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.844009e-02 -2.343017e-01 -3.030402e-01 -1.610294e-03 -5.010057e-04
+ 7.674330e-03  1.854824e-02 -2.350649e-01 -3.031218e-01 -2.350649e-01 -3.031218e-01
+ 7.674330e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.886896e-02 -2.355301e-01 -3.029305e-01 -2.355301e-01 -3.029305e-01
+ 7.674330e-03  1.897467e-02 -2.353710e-01 -3.027882e-01 -2.353710e-01 -3.027882e-01
+ 7.674330e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.939172e-02 -2.367099e-01 -3.026187e-01 -6.413528e-04 -1.808086e-04
+ 7.674330e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.959692e-02 -2.358703e-01 -3.026593e-01 -4.003542e-04 -7.928554e-05
+ 7.674330e-03  1.969872e-02 -2.364014e-01 -3.022662e-01  5.035189e-05 -9.521451e-05
+ 7.674330e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.674330e-03  1.990075e-02 -2.372045e-01 -3.020033e-01 -2.372045e-01 -3.020033e-01
+ 7.674330e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.000000e-06 -2.108734e-01 -2.108734e-01  3.627370e-10 -1.854114e-08
+ 7.839367e-03  2.001000e-03 -2.113533e-01 -3.042596e-01  4.172779e-09 -3.383944e-08
+ 7.839367e-03  2.829427e-03 -2.116752e-01 -3.042664e-01 -8.511037e-10  2.927815e-08
+ 7.839367e-03  3.465102e-03 -2.119668e-01 -3.042598e-01 -1.621557e-05 -5.452923e-06
+ 7.839367e-03  4.001000e-03 -2.122551e-01 -3.042519e-01 -1.324703e-08  3.198782e-09
+ 7.839367e-03  4.473136e-03 -2.125311e-01 -3.042396e-01 -6.690477e-08 -4.310427e-08
+ 7.839367e-03  4.899979e-03 -2.128022e-01 -3.042262e-01 -4.364288e-07  1.404537e-07
+ 7.839367e-03  5.292503e-03 -2.130690e-01 -3.042128e-01 -2.320316e-08  1.686364e-07
+ 7.839367e-03  5.657854e-03 -2.133332e-01 -3.041996e-01  3.555339e-08 -5.689805e-08
+ 7.839367e-03  6.001000e-03 -2.135950e-01 -3.041869e-01 -6.087506e-08  2.357449e-07
+ 7.839367e-03  6.325555e-03 -2.138546e-01 -3.041748e-01 -1.110236e-07  3.300344e-07
+ 7.839367e-03  6.634250e-03 -2.141118e-01 -3.041646e-01  1.324394e-07 -3.544970e-07
+ 7.839367e-03  6.929203e-03 -2.143665e-01 -3.041559e-01  2.663826e-09 -1.270447e-08
+ 7.839367e-03  7.212103e-03 -2.146207e-01 -3.041447e-01 -3.470303e-07  6.412477e-07
+ 7.839367e-03  7.484315e-03 -2.148742e-01 -3.041322e-01 -1.498797e-05  2.191667e-05
+ 7.839367e-03  7.746967e-03 -2.151157e-01 -3.041331e-01 -5.110153e-06  6.285214e-06
+ 7.839367e-03  8.001000e-03 -2.153266e-01 -3.041617e-01  6.651868e-05 -6.929721e-05
+ 7.839367e-03  8.247211e-03 -2.155045e-01 -3.042107e-01  1.458453e-05 -1.319714e-05
+ 7.839367e-03  8.486281e-03 -2.156921e-01 -3.042386e-01  3.119281e-04 -2.352376e-04
+ 7.839367e-03  8.718798e-03 -2.164821e-01 -3.039246e-01 -1.871693e-04  4.919889e-05
+ 7.839367e-03  8.945272e-03 -2.169835e-01 -3.038835e-01 -7.678131e-05  4.009183e-05
+ 7.839367e-03  9.166151e-03 -2.171731e-01 -3.039268e-01 -6.606173e-05  7.647377e-05
+ 7.839367e-03  9.381832e-03 -2.173641e-01 -3.039325e-01  1.612581e-04  1.178702e-04
+ 7.839367e-03  9.592663e-03 -2.176546e-01 -3.039447e-01 -2.869240e-05 -1.554663e-05
+ 7.839367e-03  9.798959e-03 -2.179332e-01 -3.039289e-01 -3.256989e-04 -1.118653e-04
+ 7.839367e-03  1.000100e-02 -2.182196e-01 -3.039331e-01 -4.131763e-05 -1.086760e-05
+ 7.839367e-03  1.019904e-02 -2.183341e-01 -3.038875e-01 -1.234622e-04 -3.647962e-05
+ 7.839367e-03  1.039330e-02 -2.186893e-01 -3.039075e-01  2.776223e-06 -1.243463e-07
+ 7.839367e-03  1.058401e-02 -2.189834e-01 -3.039097e-01  2.207501e-05  4.899855e-06
+ 7.839367e-03  1.077133e-02 -2.192354e-01 -3.039022e-01 -7.663380e-06 -1.825441e-06
+ 7.839367e-03  1.095545e-02 -2.195330e-01 -3.039044e-01  1.452778e-06  3.032983e-07
+ 7.839367e-03  1.113653e-02 -2.198242e-01 -3.039046e-01  3.099899e-07  9.702153e-09
+ 7.839367e-03  1.131471e-02 -2.201150e-01 -3.039046e-01 -6.656246e-07 -5.688931e-08
+ 7.839367e-03  1.149013e-02 -2.204053e-01 -3.039043e-01  1.202198e-06  1.442199e-07
+ 7.839367e-03  1.166290e-02 -2.206966e-01 -3.039041e-01 -2.059961e-06 -4.492121e-07
+ 7.839367e-03  1.183316e-02 -2.209906e-01 -3.039042e-01 -2.206548e-07 -2.028354e-07
+ 7.839367e-03  1.200100e-02 -2.212859e-01 -3.039044e-01  7.723113e-07  6.905288e-08
+ 7.839367e-03  1.216653e-02 -2.215796e-01 -3.039036e-01  9.571031e-07  1.994812e-07
+ 7.839367e-03  1.232983e-02 -2.218809e-01 -3.039053e-01 -3.745710e-07 -1.315429e-07
+ 7.839367e-03  1.249100e-02 -2.221865e-01 -3.039096e-01 -8.964937e-06 -4.020528e-06
+ 7.839367e-03  1.265011e-02 -2.224780e-01 -3.039068e-01  7.603411e-07 -7.002090e-08
+ 7.839367e-03  1.280725e-02 -2.227808e-01 -3.039078e-01 -6.123183e-07 -9.782961e-08
+ 7.839367e-03  1.296248e-02 -2.230546e-01 -3.038975e-01 -1.306919e-05 -5.197437e-06
+ 7.839367e-03  1.311588e-02 -2.233879e-01 -3.039104e-01  2.689324e-07 -2.268173e-07
+ 7.839367e-03  1.326750e-02 -2.236983e-01 -3.039134e-01  1.429063e-06  1.609173e-06
+ 7.839367e-03  1.341741e-02 -2.240472e-01 -3.039302e-01 -2.505171e-05 -1.043044e-05
+ 7.839367e-03  1.356566e-02 -2.242793e-01 -3.039051e-01  6.149065e-06  2.115878e-06
+ 7.839367e-03  1.371231e-02 -2.246112e-01 -3.039146e-01 -2.493877e-07  1.448224e-07
+ 7.839367e-03  1.385741e-02 -2.249267e-01 -3.039182e-01  1.442074e-06  4.661937e-07
+ 7.839367e-03  1.400100e-02 -2.252553e-01 -3.039332e-01 -2.262052e-05 -2.481073e-05
+ 7.839367e-03  1.414314e-02 -2.254926e-01 -3.038422e-01  3.744923e-04  3.949176e-04
+ 7.839367e-03  1.428386e-02 -2.258903e-01 -3.039315e-01  2.192403e-06  7.444842e-07
+ 7.839367e-03  1.442321e-02 -2.262281e-01 -3.039402e-01  5.720924e-07  1.617080e-07
+ 7.839367e-03  1.456122e-02 -2.265769e-01 -3.039523e-01 -3.849446e-06 -1.906473e-06
+ 7.839367e-03  1.469794e-02 -2.269461e-01 -3.039752e-01  2.825765e-06  1.409897e-06
+ 7.839367e-03  1.483340e-02 -2.275269e-01 -3.041003e-01 -1.179377e-04 -4.992755e-05
+ 7.839367e-03  1.496763e-02 -2.306850e-01 -3.079774e-01  3.352859e-05 -9.687009e-05
+ 7.839367e-03  1.510067e-02 -2.280628e-01 -3.040465e-01  2.857273e-03  3.213718e-03
+ 7.839367e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.536329e-02 -2.307750e-01 -3.076716e-01 -4.307072e-06  2.151885e-05
+ 7.839367e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.755093e-02 -2.323617e-01 -3.035036e-01 -2.323617e-01 -3.035036e-01
+ 7.839367e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.777739e-02 -2.324168e-01 -3.034815e-01  4.118586e-04 -2.636068e-04
+ 7.839367e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.811177e-02 -2.343887e-01 -3.029167e-01 -2.343887e-01 -3.029167e-01
+ 7.839367e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.897467e-02 -2.347121e-01 -3.026308e-01 -2.229112e-04 -3.821904e-05
+ 7.839367e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.939172e-02 -2.363968e-01 -3.025189e-01 -2.363968e-01 -3.025189e-01
+ 7.839367e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.959692e-02 -2.361925e-01 -3.025522e-01 -9.638134e-04 -9.740333e-05
+ 7.839367e-03  1.969872e-02 -2.358439e-01 -3.025883e-01 -2.358439e-01 -3.025883e-01
+ 7.839367e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.839367e-03  1.990075e-02 -2.369511e-01 -3.022434e-01 -2.369511e-01 -3.022434e-01
+ 7.839367e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.000000e-06 -2.113251e-01 -2.113251e-01 -3.969983e-10 -2.489247e-08
+ 8.001000e-03  2.001000e-03 -2.118042e-01 -3.044193e-01 -1.081492e-07 -7.422953e-08
+ 8.001000e-03  2.829427e-03 -2.121231e-01 -3.044268e-01  1.416444e-09 -2.544291e-07
+ 8.001000e-03  3.465102e-03 -2.124162e-01 -3.044226e-01 -1.924460e-07 -7.412048e-08
+ 8.001000e-03  4.001000e-03 -2.126965e-01 -3.044132e-01  4.044753e-08 -2.488730e-07
+ 8.001000e-03  4.473136e-03 -2.129691e-01 -3.044010e-01 -8.941687e-08  5.803821e-08
+ 8.001000e-03  4.899979e-03 -2.132363e-01 -3.043883e-01  1.229419e-08 -6.396520e-08
+ 8.001000e-03  5.292503e-03 -2.134998e-01 -3.043748e-01  2.468346e-08  6.749675e-08
+ 8.001000e-03  5.657854e-03 -2.137605e-01 -3.043616e-01 -4.006872e-08  2.294081e-07
+ 8.001000e-03  6.001000e-03 -2.140187e-01 -3.043490e-01 -1.092665e-09  1.604982e-08
+ 8.001000e-03  6.325555e-03 -2.142749e-01 -3.043370e-01 -1.284142e-07  4.827491e-07
+ 8.001000e-03  6.634250e-03 -2.145292e-01 -3.043258e-01 -4.398726e-07  1.192054e-06
+ 8.001000e-03  6.929203e-03 -2.147809e-01 -3.043169e-01  1.818765e-07 -3.927343e-07
+ 8.001000e-03  7.212103e-03 -2.150305e-01 -3.043088e-01 -4.299020e-07  7.549615e-07
+ 8.001000e-03  7.484315e-03 -2.152803e-01 -3.042973e-01  4.131923e-08 -7.846173e-08
+ 8.001000e-03  7.746967e-03 -2.155292e-01 -3.042855e-01 -1.488098e-05  2.033494e-05
+ 8.001000e-03  8.001000e-03 -2.157636e-01 -3.042896e-01 -1.589115e-05  1.813031e-05
+ 8.001000e-03  8.247211e-03 -2.159644e-01 -3.043222e-01  9.174895e-05 -8.996574e-05
+ 8.001000e-03  8.486281e-03 -2.161322e-01 -3.043747e-01  8.850982e-05 -7.845078e-05
+ 8.001000e-03  8.718798e-03 -2.163200e-01 -3.043995e-01  5.980844e-04 -3.897758e-04
+ 8.001000e-03  8.945272e-03 -2.173137e-01 -3.040568e-01 -5.337012e-04  1.978901e-04
+ 8.001000e-03  9.166151e-03 -2.177786e-01 -3.040725e-01 -4.843629e-04 -7.063261e-06
+ 8.001000e-03  9.381832e-03 -2.179292e-01 -3.041050e-01 -4.374765e-04 -1.361900e-04
+ 8.001000e-03  9.592663e-03 -2.179427e-01 -3.040561e-01 -3.898311e-05 -3.806990e-05
+ 8.001000e-03  9.798959e-03 -2.182072e-01 -3.040514e-01  8.050145e-06  3.692460e-06
+ 8.001000e-03  1.000100e-02 -2.185066e-01 -3.040566e-01 -5.294024e-05 -1.163714e-05
+ 8.001000e-03  1.019904e-02 -2.187641e-01 -3.040535e-01 -2.203908e-07  1.273785e-06
+ 8.001000e-03  1.039330e-02 -2.190509e-01 -3.040570e-01  4.171581e-06 -4.301569e-07
+ 8.001000e-03  1.058401e-02 -2.193323e-01 -3.040570e-01  3.602067e-06 -8.742431e-08
+ 8.001000e-03  1.077133e-02 -2.196137e-01 -3.040565e-01 -3.100653e-06 -5.564197e-07
+ 8.001000e-03  1.095545e-02 -2.198939e-01 -3.040559e-01  1.924008e-06  3.960333e-08
+ 8.001000e-03  1.113653e-02 -2.201766e-01 -3.040553e-01  2.774664e-07  1.632196e-08
+ 8.001000e-03  1.131471e-02 -2.204616e-01 -3.040546e-01 -3.951976e-08  1.478745e-09
+ 8.001000e-03  1.149013e-02 -2.207472e-01 -3.040539e-01 -2.040353e-07  5.178379e-08
+ 8.001000e-03  1.166290e-02 -2.210339e-01 -3.040533e-01  2.581831e-07 -7.251157e-09
+ 8.001000e-03  1.183316e-02 -2.213225e-01 -3.040529e-01  5.322464e-07  5.272664e-08
+ 8.001000e-03  1.200100e-02 -2.216095e-01 -3.040510e-01 -2.374274e-06 -1.700064e-06
+ 8.001000e-03  1.216653e-02 -2.219054e-01 -3.040523e-01 -1.683387e-06 -1.132883e-07
+ 8.001000e-03  1.232983e-02 -2.222103e-01 -3.040584e-01  4.867536e-05  2.241083e-05
+ 8.001000e-03  1.249100e-02 -2.224912e-01 -3.040524e-01  1.390906e-07 -3.188438e-08
+ 8.001000e-03  1.265011e-02 -2.227914e-01 -3.040539e-01 -9.502182e-07 -2.338313e-07
+ 8.001000e-03  1.280725e-02 -2.230785e-01 -3.040499e-01 -2.899712e-06 -6.471760e-07
+ 8.001000e-03  1.296248e-02 -2.233862e-01 -3.040542e-01  1.095224e-07  6.339923e-08
+ 8.001000e-03  1.311588e-02 -2.236966e-01 -3.040582e-01 -1.143527e-06 -3.694853e-07
+ 8.001000e-03  1.326750e-02 -2.239257e-01 -3.040353e-01 -4.893746e-06 -3.573632e-06
+ 8.001000e-03  1.341741e-02 -2.242775e-01 -3.040520e-01  3.281822e-07 -1.179432e-06
+ 8.001000e-03  1.356566e-02 -2.245923e-01 -3.040565e-01 -1.903140e-06 -6.742898e-07
+ 8.001000e-03  1.371231e-02 -2.249047e-01 -3.040598e-01  1.641431e-06  2.093492e-07
+ 8.001000e-03  1.385741e-02 -2.251796e-01 -3.040517e-01  3.456124e-05  1.011810e-05
+ 8.001000e-03  1.400100e-02 -2.255088e-01 -3.040420e-01 -5.875159e-06  4.214207e-06
+ 8.001000e-03  1.414314e-02 -2.258498e-01 -3.040623e-01  4.332880e-05  6.770153e-05
+ 8.001000e-03  1.428386e-02 -2.261922e-01 -3.040816e-01 -1.141712e-06 -4.796960e-07
+ 8.001000e-03  1.442321e-02 -2.265331e-01 -3.040912e-01 -3.906444e-07 -4.522631e-07
+ 8.001000e-03  1.456122e-02 -2.268763e-01 -3.041096e-01 -7.225765e-05 -2.067053e-05
+ 8.001000e-03  1.469794e-02 -2.274112e-01 -3.041967e-01  2.960781e-05  1.417547e-05
+ 8.001000e-03  1.483340e-02 -2.307703e-01 -3.077066e-01  8.316833e-04 -2.635532e-04
+ 8.001000e-03  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.523255e-02 -2.307388e-01 -3.078196e-01 -2.307388e-01 -3.078196e-01
+ 8.001000e-03  1.536329e-02 -2.323950e-01 -3.058927e-01 -2.323950e-01 -3.058927e-01
+ 8.001000e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.766452e-02 -2.334678e-01 -3.038185e-01 -2.334678e-01 -3.038185e-01
+ 8.001000e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.844009e-02 -2.350189e-01 -3.031950e-01 -1.610728e-03 -8.960712e-04
+ 8.001000e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.876266e-02 -2.341568e-01 -3.026915e-01  7.286252e-04  2.869445e-04
+ 8.001000e-03  1.886896e-02 -2.351134e-01 -3.029971e-01  1.681676e-04  7.867106e-05
+ 8.001000e-03  1.897467e-02 -2.347819e-01 -3.027025e-01 -6.263597e-04  2.335011e-04
+ 8.001000e-03  1.907978e-02 -2.355782e-01 -3.027963e-01 -2.355782e-01 -3.027963e-01
+ 8.001000e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.939172e-02 -2.361457e-01 -3.026004e-01 -2.361457e-01 -3.026004e-01
+ 8.001000e-03  1.949459e-02 -2.360992e-01 -3.024015e-01  3.192429e-06 -1.346740e-04
+ 8.001000e-03  1.959692e-02 -2.367440e-01 -3.026209e-01  3.300342e-04 -1.912347e-04
+ 8.001000e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.001000e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.000000e-06 -2.117744e-01 -2.117743e-01  9.815705e-08  1.117629e-07
+ 8.159431e-03  2.001000e-03 -2.122517e-01 -3.045785e-01  1.070130e-07 -1.012755e-08
+ 8.159431e-03  2.829427e-03 -2.125679e-01 -3.045864e-01 -3.539441e-08 -7.827422e-08
+ 8.159431e-03  3.465102e-03 -2.128580e-01 -3.045827e-01  2.839541e-09 -4.543470e-08
+ 8.159431e-03  4.001000e-03 -2.131347e-01 -3.045736e-01  1.867652e-07 -6.591216e-08
+ 8.159431e-03  4.473136e-03 -2.134039e-01 -3.045621e-01  2.343356e-09  4.013792e-09
+ 8.159431e-03  4.899979e-03 -2.136677e-01 -3.045493e-01  5.856807e-09 -1.038811e-08
+ 8.159431e-03  5.292503e-03 -2.139276e-01 -3.045361e-01  6.005103e-09 -1.995087e-08
+ 8.159431e-03  5.657854e-03 -2.141847e-01 -3.045228e-01  7.059301e-09  5.323164e-09
+ 8.159431e-03  6.001000e-03 -2.144395e-01 -3.045101e-01 -1.190632e-08  9.309825e-08
+ 8.159431e-03  6.325555e-03 -2.146922e-01 -3.044983e-01  6.305683e-09 -1.762494e-08
+ 8.159431e-03  6.634250e-03 -2.149432e-01 -3.044869e-01 -1.125668e-07  3.494297e-07
+ 8.159431e-03  6.929203e-03 -2.151924e-01 -3.044768e-01 -7.025794e-07  1.733573e-06
+ 8.159431e-03  7.212103e-03 -2.154390e-01 -3.044691e-01  4.295926e-09  1.084118e-10
+ 8.159431e-03  7.484315e-03 -2.156840e-01 -3.044615e-01 -1.281652e-06  2.125552e-06
+ 8.159431e-03  7.746967e-03 -2.159303e-01 -3.044498e-01 -7.124843e-07  9.819847e-07
+ 8.159431e-03  8.001000e-03 -2.161759e-01 -3.044390e-01 -1.310992e-05  1.691509e-05
+ 8.159431e-03  8.247211e-03 -2.164062e-01 -3.044461e-01 -2.627757e-05  2.801698e-05
+ 8.159431e-03  8.486281e-03 -2.166041e-01 -3.044833e-01  1.124497e-04 -1.035287e-04
+ 8.159431e-03  8.718798e-03 -2.167833e-01 -3.045440e-01  2.372379e-04 -1.836840e-04
+ 8.159431e-03  8.945272e-03 -2.171960e-01 -3.046416e-01  2.591677e-04  5.707241e-05
+ 8.159431e-03  9.166151e-03 -2.179546e-01 -3.041558e-01 -4.952461e-04 -1.661534e-05
+ 8.159431e-03  9.381832e-03 -2.181796e-01 -3.041642e-01 -1.975434e-04  3.782221e-05
+ 8.159431e-03  9.592663e-03 -2.183443e-01 -3.041951e-01 -7.859829e-05  1.624835e-05
+ 8.159431e-03  9.798959e-03 -2.185871e-01 -3.042062e-01  6.804374e-05 -9.038307e-06
+ 8.159431e-03  1.000100e-02 -2.188756e-01 -3.042060e-01  1.533492e-05 -1.384716e-06
+ 8.159431e-03  1.019904e-02 -2.191609e-01 -3.042058e-01  3.157262e-07 -5.376747e-08
+ 8.159431e-03  1.039330e-02 -2.194293e-01 -3.042063e-01 -2.633676e-06  1.096297e-07
+ 8.159431e-03  1.058401e-02 -2.196984e-01 -3.042061e-01  1.891256e-06 -6.519416e-08
+ 8.159431e-03  1.077133e-02 -2.199747e-01 -3.042055e-01  3.069899e-06 -5.532656e-08
+ 8.159431e-03  1.095545e-02 -2.202516e-01 -3.042046e-01 -1.597677e-07  1.403195e-08
+ 8.159431e-03  1.113653e-02 -2.205275e-01 -3.042037e-01  2.701264e-06  1.121346e-07
+ 8.159431e-03  1.131471e-02 -2.208061e-01 -3.042028e-01  5.566014e-07 -3.877615e-08
+ 8.159431e-03  1.149013e-02 -2.210876e-01 -3.042018e-01  1.095917e-08 -6.467057e-09
+ 8.159431e-03  1.166290e-02 -2.213694e-01 -3.042008e-01 -9.699761e-08  7.735122e-09
+ 8.159431e-03  1.183316e-02 -2.216487e-01 -3.041982e-01  9.631882e-06  4.875193e-06
+ 8.159431e-03  1.200100e-02 -2.219400e-01 -3.041991e-01 -2.651789e-06 -1.133388e-07
+ 8.159431e-03  1.216653e-02 -2.222433e-01 -3.042065e-01 -1.904981e-05 -8.638121e-06
+ 8.159431e-03  1.232983e-02 -2.225137e-01 -3.041984e-01  3.566452e-07 -1.813124e-07
+ 8.159431e-03  1.249100e-02 -2.228054e-01 -3.041978e-01  1.201938e-05  4.628502e-06
+ 8.159431e-03  1.265011e-02 -2.230987e-01 -3.041982e-01 -1.492305e-06 -5.617808e-07
+ 8.159431e-03  1.280725e-02 -2.233961e-01 -3.041988e-01 -1.666175e-07  2.939640e-07
+ 8.159431e-03  1.296248e-02 -2.237243e-01 -3.042105e-01 -1.730927e-05 -5.871757e-06
+ 8.159431e-03  1.311588e-02 -2.239524e-01 -3.041871e-01  1.064835e-05  3.668667e-06
+ 8.159431e-03  1.326750e-02 -2.242759e-01 -3.042008e-01  3.900754e-07  5.100111e-08
+ 8.159431e-03  1.341741e-02 -2.245827e-01 -3.041989e-01 -2.590667e-06  1.232153e-06
+ 8.159431e-03  1.356566e-02 -2.248677e-01 -3.041949e-01  4.374495e-05  1.289095e-05
+ 8.159431e-03  1.371231e-02 -2.251888e-01 -3.042014e-01 -2.014362e-07 -1.353688e-07
+ 8.159431e-03  1.385741e-02 -2.255118e-01 -3.042096e-01 -2.507975e-06 -7.171315e-07
+ 8.159431e-03  1.400100e-02 -2.256655e-01 -3.040393e-01  4.741858e-06 -5.858337e-05
+ 8.159431e-03  1.414314e-02 -2.261633e-01 -3.042420e-01  1.202067e-05 -2.517393e-05
+ 8.159431e-03  1.428386e-02 -2.264798e-01 -3.042268e-01 -2.756733e-05 -7.201545e-06
+ 8.159431e-03  1.442321e-02 -2.268489e-01 -3.042429e-01  8.102854e-06  6.153350e-06
+ 8.159431e-03  1.456122e-02 -2.273274e-01 -3.043142e-01 -3.931223e-06  7.334322e-08
+ 8.159431e-03  1.469794e-02 -2.307683e-01 -3.077149e-01  2.033306e-03 -8.178534e-04
+ 8.159431e-03  1.483340e-02 -2.314899e-01 -3.068026e-01 -2.314899e-01 -3.068026e-01
+ 8.159431e-03  1.496763e-02 -2.311694e-01 -3.065533e-01 -2.277540e-03 -1.737451e-03
+ 8.159431e-03  1.510067e-02 -2.323763e-01 -3.062612e-01 -2.323763e-01 -3.062612e-01
+ 8.159431e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.549293e-02 -2.308296e-01 -3.075144e-01  7.804208e-04 -8.715602e-04
+ 8.159431e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.777739e-02 -2.327141e-01 -3.034051e-01 -2.327141e-01 -3.034051e-01
+ 8.159431e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.800100e-02 -2.328495e-01 -3.032790e-01  1.980982e-03 -6.365251e-05
+ 8.159431e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.844009e-02 -2.350421e-01 -3.033812e-01 -2.350421e-01 -3.033812e-01
+ 8.159431e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.865576e-02 -2.349292e-01 -3.030185e-01 -2.349292e-01 -3.030185e-01
+ 8.159431e-03  1.876266e-02 -2.345354e-01 -3.029969e-01 -2.345354e-01 -3.029969e-01
+ 8.159431e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.959692e-02 -2.368523e-01 -3.026317e-01 -7.464839e-04 -1.940179e-06
+ 8.159431e-03  1.969872e-02 -2.365835e-01 -3.026191e-01 -4.472562e-04 -2.814818e-04
+ 8.159431e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.159431e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.000000e-06 -2.122208e-01 -3.046419e-01 -3.368264e-09  1.807351e-07
+ 8.314844e-03  2.001000e-03 -2.126970e-01 -3.047365e-01 -4.646156e-09 -5.691635e-08
+ 8.314844e-03  2.829427e-03 -2.130101e-01 -3.047451e-01 -1.243898e-07  7.287981e-07
+ 8.314844e-03  3.465102e-03 -2.132966e-01 -3.047421e-01  1.057808e-07 -4.484005e-08
+ 8.314844e-03  4.001000e-03 -2.135702e-01 -3.047335e-01  5.270237e-11  1.053636e-08
+ 8.314844e-03  4.473136e-03 -2.138358e-01 -3.047221e-01  8.255350e-09  1.540419e-08
+ 8.314844e-03  4.899979e-03 -2.140960e-01 -3.047095e-01 -2.550370e-09  4.638644e-08
+ 8.314844e-03  5.292503e-03 -2.143524e-01 -3.046964e-01 -9.914035e-10 -1.198747e-08
+ 8.314844e-03  5.657854e-03 -2.146060e-01 -3.046833e-01 -1.088024e-08  7.481531e-08
+ 8.314844e-03  6.001000e-03 -2.148573e-01 -3.046705e-01 -9.127173e-09  7.212418e-08
+ 8.314844e-03  6.325555e-03 -2.151067e-01 -3.046585e-01  2.317789e-08 -6.473581e-08
+ 8.314844e-03  6.634250e-03 -2.153544e-01 -3.046474e-01 -2.676305e-09  1.424855e-11
+ 8.314844e-03  6.929203e-03 -2.156007e-01 -3.046368e-01 -2.485248e-08  6.905237e-08
+ 8.314844e-03  7.212103e-03 -2.158454e-01 -3.046279e-01 -7.096051e-07  1.589759e-06
+ 8.314844e-03  7.484315e-03 -2.160880e-01 -3.046216e-01 -2.064090e-07  3.013329e-07
+ 8.314844e-03  7.746967e-03 -2.163304e-01 -3.046149e-01 -1.519685e-06  3.626399e-06
+ 8.314844e-03  8.001000e-03 -2.165779e-01 -3.046046e-01 -1.169611e-06  3.357888e-06
+ 8.314844e-03  8.247211e-03 -2.168612e-01 -3.046053e-01  8.505595e-05  3.865315e-05
+ 8.314844e-03  8.486281e-03 -2.172393e-01 -3.046719e-01  8.151489e-05  2.002758e-05
+ 8.314844e-03  8.718798e-03 -2.172469e-01 -3.046465e-01  8.388134e-06 -1.682529e-04
+ 8.314844e-03  8.945272e-03 -2.171629e-01 -3.046388e-01 -3.118254e-04 -7.584055e-05
+ 8.314844e-03  9.166151e-03 -2.175010e-01 -3.046813e-01  4.856124e-05 -6.566991e-05
+ 8.314844e-03  9.381832e-03 -2.186801e-01 -3.043010e-01 -5.794156e-06  1.496471e-06
+ 8.314844e-03  9.592663e-03 -2.188539e-01 -3.043279e-01 -1.951320e-07 -4.206344e-07
+ 8.314844e-03  9.798959e-03 -2.190009e-01 -3.043506e-01 -7.159141e-05  9.474745e-06
+ 8.314844e-03  1.000100e-02 -2.192415e-01 -3.043545e-01  3.461498e-05 -3.867580e-06
+ 8.314844e-03  1.019904e-02 -2.195277e-01 -3.043527e-01  1.879698e-05 -1.717957e-06
+ 8.314844e-03  1.039330e-02 -2.198039e-01 -3.043522e-01  1.291527e-06 -1.123923e-07
+ 8.314844e-03  1.058401e-02 -2.200658e-01 -3.043524e-01  3.420376e-06 -2.044566e-07
+ 8.314844e-03  1.077133e-02 -2.203319e-01 -3.043519e-01 -4.040482e-08  1.610487e-08
+ 8.314844e-03  1.095545e-02 -2.206051e-01 -3.043510e-01  1.682866e-06 -1.702665e-08
+ 8.314844e-03  1.113653e-02 -2.208778e-01 -3.043501e-01 -7.342306e-07  9.639430e-09
+ 8.314844e-03  1.131471e-02 -2.211499e-01 -3.043489e-01  2.924692e-06  1.591617e-08
+ 8.314844e-03  1.149013e-02 -2.214260e-01 -3.043480e-01  1.522204e-06  1.260342e-07
+ 8.314844e-03  1.166290e-02 -2.216995e-01 -3.043447e-01  9.484742e-06  4.478944e-06
+ 8.314844e-03  1.183316e-02 -2.219841e-01 -3.043454e-01  1.062811e-07 -8.089215e-09
+ 8.314844e-03  1.200100e-02 -2.222783e-01 -3.043510e-01 -2.526180e-05 -1.153921e-05
+ 8.314844e-03  1.216653e-02 -2.225465e-01 -3.043438e-01  2.216411e-06  1.147824e-07
+ 8.314844e-03  1.232983e-02 -2.227989e-01 -3.043298e-01  7.217875e-05  2.894098e-05
+ 8.314844e-03  1.249100e-02 -2.231198e-01 -3.043427e-01  6.046613e-07  6.845471e-09
+ 8.314844e-03  1.265011e-02 -2.234301e-01 -3.043497e-01 -1.198615e-05 -4.280873e-06
+ 8.314844e-03  1.280725e-02 -2.236150e-01 -3.043121e-01  6.249527e-06  3.444277e-06
+ 8.314844e-03  1.296248e-02 -2.239751e-01 -3.043358e-01  1.433042e-07  3.652556e-08
+ 8.314844e-03  1.311588e-02 -2.242768e-01 -3.043384e-01  1.085511e-06  1.735381e-07
+ 8.314844e-03  1.326750e-02 -2.245719e-01 -3.043500e-01  1.445266e-04 -1.421289e-06
+ 8.314844e-03  1.341741e-02 -2.248709e-01 -3.043392e-01 -6.099425e-06 -2.022289e-06
+ 8.314844e-03  1.356566e-02 -2.251749e-01 -3.043418e-01 -3.370832e-07  1.600148e-07
+ 8.314844e-03  1.371231e-02 -2.254937e-01 -3.043492e-01  9.068381e-07 -1.740074e-07
+ 8.314844e-03  1.385741e-02 -2.258369e-01 -3.043739e-01  4.696637e-06 -5.478900e-06
+ 8.314844e-03  1.400100e-02 -2.259732e-01 -3.041832e-01  1.792264e-04  2.395963e-04
+ 8.314844e-03  1.414314e-02 -2.264780e-01 -3.043802e-01 -1.379496e-07 -3.618694e-06
+ 8.314844e-03  1.428386e-02 -2.268289e-01 -3.043899e-01 -1.155212e-07 -1.183868e-07
+ 8.314844e-03  1.442321e-02 -2.272889e-01 -3.044571e-01  9.544377e-05  3.552200e-05
+ 8.314844e-03  1.456122e-02 -2.303416e-01 -3.071416e-01  5.676536e-03  1.962184e-04
+ 8.314844e-03  1.469794e-02 -2.308088e-01 -3.075648e-01 -1.480633e-04 -2.826854e-03
+ 8.314844e-03  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.496763e-02 -2.308063e-01 -3.073729e-01  2.080375e-03 -1.253827e-03
+ 8.314844e-03  1.510067e-02 -2.311688e-01 -3.065669e-01  1.212642e-03  2.127659e-04
+ 8.314844e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.536329e-02 -2.318947e-01 -3.060368e-01 -2.318947e-01 -3.060368e-01
+ 8.314844e-03  1.549293e-02 -2.316113e-01 -3.057235e-01 -2.316113e-01 -3.057235e-01
+ 8.314844e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.833130e-02 -2.325467e-01 -3.030298e-01 -2.303400e-04  2.651999e-05
+ 8.314844e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.865576e-02 -2.348705e-01 -3.026873e-01 -2.348705e-01 -3.026873e-01
+ 8.314844e-03  1.876266e-02 -2.326672e-01 -3.024511e-01  2.065997e-03  8.469398e-04
+ 8.314844e-03  1.886896e-02 -2.324207e-01 -3.019318e-01 -2.324207e-01 -3.019318e-01
+ 8.314844e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.949459e-02 -2.365811e-01 -3.026096e-01 -2.365811e-01 -3.026096e-01
+ 8.314844e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.314844e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.000000e-06 -2.126650e-01 -2.126650e-01  9.616938e-09 -2.692538e-09
+ 8.467404e-03  2.001000e-03 -2.131394e-01 -3.048934e-01 -5.094628e-08  2.382946e-07
+ 8.467404e-03  2.829427e-03 -2.134493e-01 -3.049036e-01  8.181287e-10 -3.449260e-09
+ 8.467404e-03  3.465102e-03 -2.137327e-01 -3.049007e-01  3.715692e-09 -2.465976e-08
+ 8.467404e-03  4.001000e-03 -2.140027e-01 -3.048924e-01  1.137313e-08 -3.079576e-09
+ 8.467404e-03  4.473136e-03 -2.142648e-01 -3.048814e-01 -4.011765e-10 -5.848538e-09
+ 8.467404e-03  4.899979e-03 -2.145215e-01 -3.048689e-01 -2.038768e-09  1.031224e-08
+ 8.467404e-03  5.292503e-03 -2.147743e-01 -3.048559e-01 -2.606865e-09  6.878673e-08
+ 8.467404e-03  5.657854e-03 -2.150244e-01 -3.048429e-01  5.744896e-10  8.558334e-10
+ 8.467404e-03  6.001000e-03 -2.152723e-01 -3.048301e-01 -2.215901e-08  1.389476e-07
+ 8.467404e-03  6.325555e-03 -2.155185e-01 -3.048180e-01 -6.111586e-08  2.758117e-07
+ 8.467404e-03  6.634250e-03 -2.157632e-01 -3.048069e-01  3.928681e-08 -6.629868e-08
+ 8.467404e-03  6.929203e-03 -2.160072e-01 -3.047969e-01 -4.925508e-08  2.101315e-07
+ 8.467404e-03  7.212103e-03 -2.162506e-01 -3.047876e-01 -4.975596e-08 -6.774845e-09
+ 8.467404e-03  7.484315e-03 -2.165054e-01 -3.047840e-01  5.523689e-07  1.447169e-06
+ 8.467404e-03  7.746967e-03 -2.167422e-01 -3.047787e-01 -1.000421e-05 -1.559447e-06
+ 8.467404e-03  8.001000e-03 -2.171595e-01 -3.048339e-01  3.807281e-05  1.583667e-05
+ 8.467404e-03  8.247211e-03 -2.171827e-01 -3.047468e-01 -6.885174e-05 -1.227089e-05
+ 8.467404e-03  8.486281e-03 -2.172830e-01 -3.046904e-01  7.486061e-05  1.757634e-05
+ 8.467404e-03  8.718798e-03 -2.176028e-01 -3.047394e-01 -5.512907e-05  4.377208e-05
+ 8.467404e-03  8.945272e-03 -2.177602e-01 -3.047757e-01  1.463041e-04 -1.007807e-04
+ 8.467404e-03  9.166151e-03 -2.178960e-01 -3.048356e-01 -7.021903e-06  3.910631e-06
+ 8.467404e-03  9.381832e-03 -2.181070e-01 -3.048305e-01  1.841438e-04 -1.355153e-04
+ 8.467404e-03  9.592663e-03 -2.193454e-01 -3.044482e-01 -2.511621e-04  4.859843e-05
+ 8.467404e-03  9.798959e-03 -2.194735e-01 -3.044792e-01  5.394097e-05 -9.364050e-06
+ 8.467404e-03  1.000100e-02 -2.196267e-01 -3.044972e-01  1.328548e-05 -1.939946e-06
+ 8.467404e-03  1.019904e-02 -2.198799e-01 -3.044984e-01  4.348023e-06 -4.790352e-07
+ 8.467404e-03  1.039330e-02 -2.201653e-01 -3.044964e-01  1.259060e-05 -1.036923e-06
+ 8.467404e-03  1.058401e-02 -2.204341e-01 -3.044960e-01 -7.182272e-07  3.156207e-08
+ 8.467404e-03  1.077133e-02 -2.206916e-01 -3.044961e-01  9.677465e-06 -3.468544e-07
+ 8.467404e-03  1.095545e-02 -2.209554e-01 -3.044955e-01  1.063357e-06  2.224449e-08
+ 8.467404e-03  1.113653e-02 -2.212253e-01 -3.044941e-01  5.935848e-07  1.959737e-07
+ 8.467404e-03  1.131471e-02 -2.214967e-01 -3.044945e-01 -1.265778e-06  9.284475e-08
+ 8.467404e-03  1.149013e-02 -2.217585e-01 -3.044893e-01  2.057050e-05  9.419450e-06
+ 8.467404e-03  1.166290e-02 -2.220371e-01 -3.044902e-01  1.623100e-06  6.091304e-07
+ 8.467404e-03  1.183316e-02 -2.223182e-01 -3.044917e-01  1.381078e-06  5.267635e-07
+ 8.467404e-03  1.200100e-02 -2.225941e-01 -3.044904e-01 -1.850181e-06 -2.112479e-06
+ 8.467404e-03  1.216653e-02 -2.228613e-01 -3.044841e-01 -3.294772e-06 -9.835759e-07
+ 8.467404e-03  1.232983e-02 -2.231559e-01 -3.044886e-01 -4.831948e-07  6.437179e-07
+ 8.467404e-03  1.249100e-02 -2.234156e-01 -3.044795e-01  4.350630e-06  1.568206e-06
+ 8.467404e-03  1.265011e-02 -2.237004e-01 -3.044790e-01 -4.576140e-06 -1.867263e-06
+ 8.467404e-03  1.280725e-02 -2.239952e-01 -3.044796e-01 -2.674260e-07  1.035677e-06
+ 8.467404e-03  1.296248e-02 -2.242821e-01 -3.044797e-01  1.012072e-04  2.981910e-05
+ 8.467404e-03  1.311588e-02 -2.245779e-01 -3.044815e-01 -1.769299e-06 -6.926518e-07
+ 8.467404e-03  1.326750e-02 -2.248854e-01 -3.045076e-01 -2.491227e-05 -6.043684e-05
+ 8.467404e-03  1.341741e-02 -2.251742e-01 -3.044841e-01 -5.808240e-06 -7.656193e-07
+ 8.467404e-03  1.356566e-02 -2.254827e-01 -3.044885e-01  6.140725e-06  1.783524e-06
+ 8.467404e-03  1.371231e-02 -2.258069e-01 -3.044988e-01  3.013485e-07  7.205687e-08
+ 8.467404e-03  1.385741e-02 -2.260701e-01 -3.044732e-01 -1.360144e-05  8.924650e-06
+ 8.467404e-03  1.400100e-02 -2.264627e-01 -3.045082e-01  3.628007e-03  1.986949e-03
+ 8.467404e-03  1.414314e-02 -2.268080e-01 -3.045332e-01 -1.112213e-05 -3.931564e-06
+ 8.467404e-03  1.428386e-02 -2.272324e-01 -3.045733e-01  4.893483e-05  1.729369e-05
+ 8.467404e-03  1.442321e-02 -2.319136e-01 -3.071020e-01 -1.138669e-03  5.560049e-04
+ 8.467404e-03  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.469794e-02 -2.309594e-01 -3.070742e-01  1.536857e-04 -2.521529e-04
+ 8.467404e-03  1.483340e-02 -2.307786e-01 -3.076579e-01 -2.307786e-01 -3.076579e-01
+ 8.467404e-03  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.523255e-02 -2.319787e-01 -3.060213e-01 -1.202399e-03  1.648290e-03
+ 8.467404e-03  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.549293e-02 -2.313438e-01 -3.059401e-01 -4.837114e-04  1.424161e-03
+ 8.467404e-03  1.562150e-02 -2.307019e-01 -3.078953e-01  6.051949e-05 -1.772516e-04
+ 8.467404e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.854824e-02 -2.324335e-01 -3.027562e-01 -2.324335e-01 -3.027562e-01
+ 8.467404e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.886896e-02 -2.357404e-01 -3.034966e-01 -7.301305e-04 -3.388806e-04
+ 8.467404e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.907978e-02 -2.352047e-01 -3.029640e-01 -2.705756e-03 -4.145989e-04
+ 8.467404e-03  1.918433e-02 -2.357024e-01 -3.028470e-01 -2.911411e-04  9.244304e-05
+ 8.467404e-03  1.928830e-02 -2.369236e-01 -3.024949e-01 -2.369236e-01 -3.024949e-01
+ 8.467404e-03  1.939172e-02 -2.371269e-01 -3.020418e-01 -2.371269e-01 -3.020418e-01
+ 8.467404e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.467404e-03  1.990075e-02 -2.368848e-01 -3.023243e-01 -2.368848e-01 -3.023243e-01
+ 8.467404e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.000000e-06 -2.131066e-01 -2.131070e-01  1.403987e-08 -1.576231e-07
+ 8.617264e-03  2.001000e-03 -2.135791e-01 -3.050508e-01  4.210045e-09  1.174027e-08
+ 8.617264e-03  2.829427e-03 -2.138859e-01 -3.050610e-01  2.733428e-09 -7.231727e-09
+ 8.617264e-03  3.465102e-03 -2.141658e-01 -3.050585e-01 -1.014893e-09  3.619560e-09
+ 8.617264e-03  4.001000e-03 -2.144324e-01 -3.050505e-01  1.020248e-08 -1.481890e-08
+ 8.617264e-03  4.473136e-03 -2.146909e-01 -3.050397e-01  3.702168e-09 -4.709026e-09
+ 8.617264e-03  4.899979e-03 -2.149441e-01 -3.050275e-01 -3.748055e-09  5.296028e-09
+ 8.617264e-03  5.292503e-03 -2.151935e-01 -3.050146e-01  4.362712e-09 -1.145649e-10
+ 8.617264e-03  5.657854e-03 -2.154402e-01 -3.050017e-01  1.910634e-09  7.952466e-09
+ 8.617264e-03  6.001000e-03 -2.156850e-01 -3.049892e-01  8.897798e-09 -5.965298e-09
+ 8.617264e-03  6.325555e-03 -2.159284e-01 -3.049771e-01  1.144221e-08  1.061845e-07
+ 8.617264e-03  6.634250e-03 -2.161754e-01 -3.049673e-01 -2.917495e-07  3.310575e-07
+ 8.617264e-03  6.929203e-03 -2.164182e-01 -3.049578e-01 -9.083457e-06 -2.082287e-06
+ 8.617264e-03  7.212103e-03 -2.166614e-01 -3.049503e-01  5.153067e-06  2.162854e-06
+ 8.617264e-03  7.484315e-03 -2.170623e-01 -3.049950e-01  5.842801e-05  1.880524e-05
+ 8.617264e-03  7.746967e-03 -2.170718e-01 -3.049132e-01 -6.716449e-05 -2.204923e-05
+ 8.617264e-03  8.001000e-03 -2.172356e-01 -3.048875e-01  3.274996e-05  1.120524e-05
+ 8.617264e-03  8.247211e-03 -2.175684e-01 -3.049178e-01 -1.983325e-04 -7.719722e-05
+ 8.617264e-03  8.486281e-03 -2.177591e-01 -3.048802e-01  1.144292e-05  2.771697e-05
+ 8.617264e-03  8.718798e-03 -2.180035e-01 -3.048782e-01 -7.842077e-06 -2.401550e-06
+ 8.617264e-03  8.945272e-03 -2.182107e-01 -3.048864e-01 -5.963307e-05  5.395059e-05
+ 8.617264e-03  9.166151e-03 -2.183717e-01 -3.049291e-01  1.234349e-04 -9.899868e-05
+ 8.617264e-03  9.381832e-03 -2.184901e-01 -3.049913e-01 -7.529552e-06  6.093564e-06
+ 8.617264e-03  9.592663e-03 -2.187028e-01 -3.049710e-01  1.578644e-04 -1.130586e-04
+ 8.617264e-03  9.798959e-03 -2.199789e-01 -3.045944e-01 -4.620738e-04  8.361803e-05
+ 8.617264e-03  1.000100e-02 -2.200777e-01 -3.046269e-01 -1.654890e-05  2.392519e-06
+ 8.617264e-03  1.019904e-02 -2.202445e-01 -3.046406e-01  8.947725e-05 -1.113795e-05
+ 8.617264e-03  1.039330e-02 -2.205095e-01 -3.046398e-01  3.443773e-07 -4.037629e-08
+ 8.617264e-03  1.058401e-02 -2.207924e-01 -3.046379e-01  3.870166e-06 -2.835486e-07
+ 8.617264e-03  1.077133e-02 -2.210537e-01 -3.046376e-01 -5.162660e-06  2.859845e-07
+ 8.617264e-03  1.095545e-02 -2.213068e-01 -3.046368e-01  7.771636e-06 -4.133249e-06
+ 8.617264e-03  1.113653e-02 -2.215749e-01 -3.046396e-01 -1.531552e-07 -1.983940e-06
+ 8.617264e-03  1.131471e-02 -2.218298e-01 -3.046310e-01  2.848040e-05  1.560466e-05
+ 8.617264e-03  1.149013e-02 -2.221012e-01 -3.046331e-01 -3.005057e-06 -1.078079e-06
+ 8.617264e-03  1.166290e-02 -2.223732e-01 -3.046338e-01  7.043168e-07  6.600103e-07
+ 8.617264e-03  1.183316e-02 -2.226249e-01 -3.046255e-01  1.020646e-04  3.921230e-05
+ 8.617264e-03  1.200100e-02 -2.229195e-01 -3.046319e-01  6.858040e-07  5.240916e-07
+ 8.617264e-03  1.216653e-02 -2.232200e-01 -3.046396e-01 -2.901535e-05 -1.022085e-05
+ 8.617264e-03  1.232983e-02 -2.234297e-01 -3.046159e-01  9.947824e-06  2.078386e-06
+ 8.617264e-03  1.249100e-02 -2.237379e-01 -3.046244e-01  2.518377e-06  1.316994e-06
+ 8.617264e-03  1.265011e-02 -2.240106e-01 -3.046213e-01  7.578355e-05  2.246012e-05
+ 8.617264e-03  1.280725e-02 -2.243024e-01 -3.046212e-01 -6.162478e-06 -3.479100e-07
+ 8.617264e-03  1.296248e-02 -2.245949e-01 -3.046242e-01  3.542772e-05  1.571252e-05
+ 8.617264e-03  1.311588e-02 -2.248827e-01 -3.046214e-01  1.591155e-06  1.680277e-06
+ 8.617264e-03  1.326750e-02 -2.252075e-01 -3.046719e-01 -4.642001e-05 -6.136146e-05
+ 8.617264e-03  1.341741e-02 -2.254910e-01 -3.046334e-01 -1.213776e-06 -2.859830e-07
+ 8.617264e-03  1.356566e-02 -2.257766e-01 -3.046307e-01  3.689885e-05  1.573070e-05
+ 8.617264e-03  1.371231e-02 -2.261347e-01 -3.046542e-01 -4.561902e-06 -1.281331e-06
+ 8.617264e-03  1.385741e-02 -2.261616e-01 -3.043472e-01  5.127843e-03  3.281234e-03
+ 8.617264e-03  1.400100e-02 -2.268671e-01 -3.047475e-01 -4.488154e-05 -7.648532e-05
+ 8.617264e-03  1.414314e-02 -2.272634e-01 -3.047372e-01 -9.595942e-06 -3.897903e-06
+ 8.617264e-03  1.428386e-02 -2.307805e-01 -3.076887e-01 -1.038671e-05  1.483522e-06
+ 8.617264e-03  1.442321e-02 -2.314184e-01 -3.071602e-01  4.884757e-03 -2.234604e-04
+ 8.617264e-03  1.456122e-02 -2.307693e-01 -3.077205e-01  1.300590e-05 -5.771241e-05
+ 8.617264e-03  1.469794e-02 -2.308001e-01 -3.071642e-01 -1.489838e-05  4.603570e-04
+ 8.617264e-03  1.483340e-02 -2.309004e-01 -3.070606e-01 -6.054164e-05  3.627257e-04
+ 8.617264e-03  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.510067e-02 -2.310037e-01 -3.072939e-01 -2.310394e-04  3.907836e-04
+ 8.617264e-03  1.523255e-02 -2.306765e-01 -3.079874e-01  9.152943e-05 -2.835373e-04
+ 8.617264e-03  1.536329e-02 -2.308194e-01 -3.075478e-01 -2.308194e-01 -3.075478e-01
+ 8.617264e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.854824e-02 -2.325711e-01 -3.027130e-01 -2.325711e-01 -3.027130e-01
+ 8.617264e-03  1.865576e-02 -2.352640e-01 -3.030217e-01 -2.352640e-01 -3.030217e-01
+ 8.617264e-03  1.876266e-02 -2.328356e-01 -3.027080e-01 -4.628170e-04  1.729480e-04
+ 8.617264e-03  1.886896e-02 -2.329314e-01 -3.025503e-01 -3.696586e-04  2.066704e-05
+ 8.617264e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.907978e-02 -2.344771e-01 -3.030216e-01 -2.021278e-03 -2.702681e-04
+ 8.617264e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.617264e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.000000e-06 -2.135458e-01 -2.135458e-01 -1.885625e-09 -3.245237e-08
+ 8.764561e-03  2.001000e-03 -2.140161e-01 -3.052069e-01  3.082238e-09 -1.362937e-08
+ 8.764561e-03  2.829427e-03 -2.143196e-01 -3.052176e-01  4.287673e-09 -1.567525e-08
+ 8.764561e-03  3.465102e-03 -2.145961e-01 -3.052156e-01  1.419139e-09 -4.793796e-09
+ 8.764561e-03  4.001000e-03 -2.148593e-01 -3.052079e-01  1.283336e-09  5.077069e-09
+ 8.764561e-03  4.473136e-03 -2.151143e-01 -3.051973e-01 -1.371167e-09  1.838277e-08
+ 8.764561e-03  4.899979e-03 -2.153641e-01 -3.051853e-01  7.819267e-09 -3.212063e-09
+ 8.764561e-03  5.292503e-03 -2.156102e-01 -3.051726e-01  1.084042e-07  7.643265e-08
+ 8.764561e-03  5.657854e-03 -2.158553e-01 -3.051603e-01 -1.936505e-07 -1.665639e-08
+ 8.764561e-03  6.001000e-03 -2.160976e-01 -3.051480e-01 -5.087333e-07 -1.269484e-07
+ 8.764561e-03  6.325555e-03 -2.163388e-01 -3.051367e-01  5.076186e-07  7.742382e-08
+ 8.764561e-03  6.634250e-03 -2.165858e-01 -3.051278e-01  6.623054e-06  2.404740e-06
+ 8.764561e-03  6.929203e-03 -2.169551e-01 -3.051598e-01  3.858796e-05  1.278675e-05
+ 8.764561e-03  7.212103e-03 -2.169706e-01 -3.050786e-01 -7.441157e-05 -2.434518e-05
+ 8.764561e-03  7.484315e-03 -2.171977e-01 -3.050686e-01  1.755907e-05  5.994524e-06
+ 8.764561e-03  7.746967e-03 -2.175263e-01 -3.050970e-01 -4.319104e-05 -1.809166e-05
+ 8.764561e-03  8.001000e-03 -2.176879e-01 -3.050618e-01 -4.125104e-06 -2.057449e-06
+ 8.764561e-03  8.247211e-03 -2.179156e-01 -3.050567e-01 -1.284902e-05 -7.004466e-06
+ 8.764561e-03  8.486281e-03 -2.181493e-01 -3.050526e-01 -5.826541e-06  4.932144e-06
+ 8.764561e-03  8.718798e-03 -2.183787e-01 -3.050375e-01 -1.137830e-05  1.290416e-05
+ 8.764561e-03  8.945272e-03 -2.186061e-01 -3.050248e-01 -4.712783e-06  5.533000e-06
+ 8.764561e-03  9.166151e-03 -2.188085e-01 -3.050334e-01 -6.786817e-05  5.849475e-05
+ 8.764561e-03  9.381832e-03 -2.189600e-01 -3.050755e-01  9.213638e-05 -7.106688e-05
+ 8.764561e-03  9.592663e-03 -2.190656e-01 -3.051403e-01  6.038512e-05 -4.517985e-05
+ 8.764561e-03  9.798959e-03 -2.192937e-01 -3.051044e-01  1.566880e-04 -1.078577e-04
+ 8.764561e-03  1.000100e-02 -2.205910e-01 -3.047400e-01 -4.535790e-04  7.584320e-05
+ 8.764561e-03  1.019904e-02 -2.206719e-01 -3.047718e-01 -1.188247e-04  1.608393e-05
+ 8.764561e-03  1.039330e-02 -2.208568e-01 -3.047814e-01  1.078348e-04 -1.242478e-05
+ 8.764561e-03  1.058401e-02 -2.211314e-01 -3.047788e-01  1.513116e-05 -1.644999e-06
+ 8.764561e-03  1.077133e-02 -2.214106e-01 -3.047782e-01 -7.984664e-07 -7.230722e-07
+ 8.764561e-03  1.095545e-02 -2.216723e-01 -3.047821e-01  7.641139e-06  1.134914e-05
+ 8.764561e-03  1.113653e-02 -2.219027e-01 -3.047687e-01 -1.562423e-05 -1.157287e-05
+ 8.764561e-03  1.131471e-02 -2.222012e-01 -3.047871e-01 -1.338568e-06 -2.792359e-06
+ 8.764561e-03  1.149013e-02 -2.224505e-01 -3.047780e-01 -1.069921e-06 -1.200167e-06
+ 8.764561e-03  1.166290e-02 -2.226997e-01 -3.047716e-01  1.481363e-05  4.914888e-06
+ 8.764561e-03  1.183316e-02 -2.230094e-01 -3.047861e-01  2.448293e-06  5.217552e-07
+ 8.764561e-03  1.200100e-02 -2.231659e-01 -3.047457e-01  5.712153e-05  1.953860e-05
+ 8.764561e-03  1.216653e-02 -2.235055e-01 -3.047677e-01  5.817288e-07  4.370108e-07
+ 8.764561e-03  1.232983e-02 -2.237528e-01 -3.047598e-01  6.143124e-05  1.545104e-05
+ 8.764561e-03  1.249100e-02 -2.240525e-01 -3.047653e-01 -1.032578e-07 -3.118330e-07
+ 8.764561e-03  1.265011e-02 -2.243359e-01 -3.047671e-01  7.574960e-08 -4.978401e-07
+ 8.764561e-03  1.280725e-02 -2.246136e-01 -3.047619e-01 -2.567657e-05 -1.204024e-05
+ 8.764561e-03  1.296248e-02 -2.249052e-01 -3.047656e-01  7.337175e-07 -5.444381e-07
+ 8.764561e-03  1.311588e-02 -2.251970e-01 -3.047619e-01  8.068500e-06  9.975424e-06
+ 8.764561e-03  1.326750e-02 -2.255264e-01 -3.048301e-01  2.239484e-05 -2.462958e-05
+ 8.764561e-03  1.341741e-02 -2.258179e-01 -3.047847e-01 -4.703576e-06 -1.465977e-06
+ 8.764561e-03  1.356566e-02 -2.261534e-01 -3.048017e-01  2.431915e-06 -2.064004e-08
+ 8.764561e-03  1.371231e-02 -2.265624e-01 -3.048709e-01 -1.414834e-04 -9.934654e-05
+ 8.764561e-03  1.385741e-02 -2.267763e-01 -3.047291e-01  5.425449e-03  2.225109e-03
+ 8.764561e-03  1.400100e-02 -2.273106e-01 -3.049065e-01  9.988189e-06  5.382804e-06
+ 8.764561e-03  1.414314e-02 -2.309033e-01 -3.077628e-01  4.616964e-03 -1.222486e-04
+ 8.764561e-03  1.428386e-02 -2.309152e-01 -3.074142e-01 -2.309152e-01 -3.074142e-01
+ 8.764561e-03  1.442321e-02 -2.306395e-01 -3.079859e-01  6.717721e-04 -8.239628e-04
+ 8.764561e-03  1.456122e-02 -2.306077e-01 -3.081835e-01  6.099026e-04 -4.204573e-04
+ 8.764561e-03  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.483340e-02 -2.308192e-01 -3.075371e-01 -3.728276e-05  1.154977e-04
+ 8.764561e-03  1.496763e-02 -2.307676e-01 -3.077046e-01  4.499004e-04 -1.326006e-03
+ 8.764561e-03  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.523255e-02 -2.308321e-01 -3.076125e-01  3.258395e-05 -6.328066e-04
+ 8.764561e-03  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.811177e-02 -2.325411e-01 -3.036011e-01 -2.325411e-01 -3.036011e-01
+ 8.764561e-03  1.822187e-02 -2.352883e-01 -3.037664e-01 -2.352883e-01 -3.037664e-01
+ 8.764561e-03  1.833130e-02 -2.328787e-01 -3.032122e-01 -2.328787e-01 -3.032122e-01
+ 8.764561e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.865576e-02 -2.346888e-01 -3.031334e-01 -2.346888e-01 -3.031334e-01
+ 8.764561e-03  1.876266e-02 -2.339694e-01 -3.028165e-01 -2.339694e-01 -3.028165e-01
+ 8.764561e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.897467e-02 -2.326628e-01 -3.027439e-01  4.386532e-04  6.997695e-05
+ 8.764561e-03  1.907978e-02 -2.333453e-01 -3.028049e-01 -9.197820e-04 -6.011012e-05
+ 8.764561e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.764561e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.000000e-06 -2.139826e-01 -2.139825e-01  5.933875e-10 -5.354843e-09
+ 8.909423e-03  2.001000e-03 -2.144504e-01 -3.053622e-01  4.086720e-09 -1.043083e-09
+ 8.909423e-03  2.829427e-03 -2.147506e-01 -3.053735e-01  1.079075e-09 -4.269705e-09
+ 8.909423e-03  3.465102e-03 -2.150237e-01 -3.053718e-01  5.229364e-10 -1.684728e-08
+ 8.909423e-03  4.001000e-03 -2.152834e-01 -3.053644e-01  1.927660e-08  1.099535e-08
+ 8.909423e-03  4.473136e-03 -2.155354e-01 -3.053542e-01 -2.791839e-07 -7.963051e-08
+ 8.909423e-03  4.899979e-03 -2.157820e-01 -3.053425e-01 -7.426104e-08  2.316519e-09
+ 8.909423e-03  5.292503e-03 -2.160254e-01 -3.053303e-01  7.765897e-09 -7.902351e-09
+ 8.909423e-03  5.657854e-03 -2.162685e-01 -3.053185e-01  3.702638e-07  2.028270e-07
+ 8.909423e-03  6.001000e-03 -2.165160e-01 -3.053089e-01 -1.007420e-06 -2.516362e-07
+ 8.909423e-03  6.325555e-03 -2.168444e-01 -3.053258e-01  9.487435e-06  2.969143e-06
+ 8.909423e-03  6.634250e-03 -2.168795e-01 -3.052504e-01 -2.475793e-05 -7.801492e-06
+ 8.909423e-03  6.929203e-03 -2.171522e-01 -3.052525e-01  5.154914e-06  1.582795e-06
+ 8.909423e-03  7.212103e-03 -2.174156e-01 -3.052541e-01 -4.341668e-06 -1.543600e-06
+ 8.909423e-03  7.484315e-03 -2.176458e-01 -3.052450e-01 -7.130875e-05 -2.982795e-05
+ 8.909423e-03  7.746967e-03 -2.178552e-01 -3.052281e-01 -8.334725e-07  6.560162e-07
+ 8.909423e-03  8.001000e-03 -2.180802e-01 -3.052190e-01 -7.676830e-07  1.563573e-06
+ 8.909423e-03  8.247211e-03 -2.183056e-01 -3.052140e-01  3.286797e-07 -4.798158e-07
+ 8.909423e-03  8.486281e-03 -2.185253e-01 -3.052089e-01  2.286716e-08  9.887127e-08
+ 8.909423e-03  8.718798e-03 -2.187459e-01 -3.052001e-01 -5.341574e-06  6.437419e-06
+ 8.909423e-03  8.945272e-03 -2.189711e-01 -3.051843e-01 -1.270063e-05  1.358227e-05
+ 8.909423e-03  9.166151e-03 -2.191951e-01 -3.051696e-01 -7.240389e-06  7.471160e-06
+ 8.909423e-03  9.381832e-03 -2.193940e-01 -3.051764e-01 -7.775138e-05  6.410430e-05
+ 8.909423e-03  9.592663e-03 -2.195381e-01 -3.052185e-01  1.781593e-05 -1.329727e-05
+ 8.909423e-03  9.798959e-03 -2.196312e-01 -3.052857e-01  1.863623e-04 -1.297441e-04
+ 8.909423e-03  1.000100e-02 -2.198846e-01 -3.052285e-01  1.477670e-04 -9.639678e-05
+ 8.909423e-03  1.019904e-02 -2.211856e-01 -3.048841e-01 -2.328458e-04  3.688407e-05
+ 8.909423e-03  1.039330e-02 -2.212599e-01 -3.049138e-01 -1.432007e-04  1.730827e-05
+ 8.909423e-03  1.058401e-02 -2.214638e-01 -3.049253e-01  8.175372e-05 -1.016795e-05
+ 8.909423e-03  1.077133e-02 -2.217521e-01 -3.049228e-01  3.866907e-05  3.019546e-05
+ 8.909423e-03  1.095545e-02 -2.220015e-01 -3.049039e-01  1.408514e-05  8.585504e-06
+ 8.909423e-03  1.113653e-02 -2.222937e-01 -3.049269e-01 -5.809018e-06  3.298932e-07
+ 8.909423e-03  1.131471e-02 -2.225133e-01 -3.049126e-01  2.021481e-05  7.473563e-06
+ 8.909423e-03  1.149013e-02 -2.228119e-01 -3.049257e-01  7.456921e-06  2.292453e-07
+ 8.909423e-03  1.166290e-02 -2.229693e-01 -3.048879e-01  5.009555e-05  1.731710e-05
+ 8.909423e-03  1.183316e-02 -2.233051e-01 -3.049125e-01 -7.958947e-06 -2.903177e-06
+ 8.909423e-03  1.200100e-02 -2.235147e-01 -3.048954e-01  6.265605e-05  1.858266e-05
+ 8.909423e-03  1.216653e-02 -2.238294e-01 -3.049083e-01 -5.165573e-07 -7.412570e-07
+ 8.909423e-03  1.232983e-02 -2.241012e-01 -3.049076e-01 -4.771337e-08 -5.367231e-08
+ 8.909423e-03  1.249100e-02 -2.243717e-01 -3.049070e-01  4.259516e-06  8.943551e-07
+ 8.909423e-03  1.265011e-02 -2.246495e-01 -3.049065e-01  6.998410e-06  3.614356e-06
+ 8.909423e-03  1.280725e-02 -2.249383e-01 -3.049063e-01  7.557152e-07 -1.853086e-07
+ 8.909423e-03  1.296248e-02 -2.252311e-01 -3.049109e-01  7.735038e-07  9.142897e-07
+ 8.909423e-03  1.311588e-02 -2.254957e-01 -3.048994e-01 -1.715226e-05  4.266304e-07
+ 8.909423e-03  1.326750e-02 -2.258484e-01 -3.049744e-01  1.601069e-06 -3.841660e-05
+ 8.909423e-03  1.341741e-02 -2.261332e-01 -3.049286e-01  3.982802e-05  1.145450e-05
+ 8.909423e-03  1.356566e-02 -2.265287e-01 -3.049720e-01  1.434202e-05  5.473872e-06
+ 8.909423e-03  1.371231e-02 -2.264026e-01 -3.045784e-01  2.491827e-04  2.254692e-04
+ 8.909423e-03  1.385741e-02 -2.276042e-01 -3.053292e-01 -3.424585e-04 -3.274669e-04
+ 8.909423e-03  1.400100e-02 -2.307720e-01 -3.077018e-01 -2.161188e-04 -2.823274e-04
+ 8.909423e-03  1.414314e-02 -2.349014e-01 -3.077159e-01 -3.250015e-03 -1.708382e-04
+ 8.909423e-03  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.442321e-02 -2.309529e-01 -3.070693e-01  1.924151e-03 -2.265367e-04
+ 8.909423e-03  1.456122e-02 -2.328280e-01 -3.058768e-01 -2.064297e-03  1.840980e-03
+ 8.909423e-03  1.469794e-02 -2.307955e-01 -3.076194e-01 -1.345630e-05  3.452790e-05
+ 8.909423e-03  1.483340e-02 -2.313936e-01 -3.064631e-01 -5.801391e-04  1.091394e-03
+ 8.909423e-03  1.496763e-02 -2.308979e-01 -3.073472e-01 -2.308979e-01 -3.073472e-01
+ 8.909423e-03  1.510067e-02 -2.307569e-01 -3.072457e-01 -2.307569e-01 -3.072457e-01
+ 8.909423e-03  1.523255e-02 -2.307766e-01 -3.076644e-01  6.703417e-04 -7.025283e-04
+ 8.909423e-03  1.536329e-02 -2.307740e-01 -3.076808e-01 -2.307740e-01 -3.076808e-01
+ 8.909423e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.562150e-02 -2.313738e-01 -3.058574e-01 -2.313738e-01 -3.058574e-01
+ 8.909423e-03  1.574902e-02 -2.325384e-01 -3.060305e-01 -2.325384e-01 -3.060305e-01
+ 8.909423e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.854824e-02 -2.345570e-01 -3.031572e-01 -1.466774e-03 -2.008161e-04
+ 8.909423e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.886896e-02 -2.351974e-01 -3.031929e-01 -2.351974e-01 -3.031929e-01
+ 8.909423e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.909423e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.000000e-06 -2.144168e-01 -3.054146e-01  7.029043e-09  9.802491e-09
+ 9.051967e-03  2.001000e-03 -2.148821e-01 -3.055168e-01  3.103633e-09 -3.766439e-08
+ 9.051967e-03  2.829427e-03 -2.151789e-01 -3.055286e-01 -2.346092e-09  1.095967e-10
+ 9.051967e-03  3.465102e-03 -2.154487e-01 -3.055273e-01  3.825220e-10  5.149265e-09
+ 9.051967e-03  4.001000e-03 -2.157051e-01 -3.055203e-01  1.666592e-09 -1.672956e-10
+ 9.051967e-03  4.473136e-03 -2.159542e-01 -3.055105e-01  4.427692e-08  2.128870e-08
+ 9.051967e-03  4.899979e-03 -2.161997e-01 -3.054997e-01 -5.368746e-08 -1.740654e-08
+ 9.051967e-03  5.292503e-03 -2.164528e-01 -3.054918e-01  2.354682e-06  8.662192e-07
+ 9.051967e-03  5.657854e-03 -2.167343e-01 -3.054924e-01 -2.159626e-05 -6.766523e-06
+ 9.051967e-03  6.001000e-03 -2.168135e-01 -3.054318e-01  4.289580e-05  1.306478e-05
+ 9.051967e-03  6.325555e-03 -2.171007e-01 -3.054366e-01 -5.509204e-06 -1.489089e-06
+ 9.051967e-03  6.634250e-03 -2.173338e-01 -3.054254e-01  4.769838e-06  1.876582e-06
+ 9.051967e-03  6.929203e-03 -2.176276e-01 -3.054403e-01 -1.326752e-04 -5.412866e-05
+ 9.051967e-03  7.212103e-03 -2.177832e-01 -3.053998e-01  7.433618e-06  3.255799e-06
+ 9.051967e-03  7.484315e-03 -2.180157e-01 -3.053927e-01  1.143034e-07 -1.076895e-08
+ 9.051967e-03  7.746967e-03 -2.182400e-01 -3.053838e-01  4.135254e-07  1.243762e-07
+ 9.051967e-03  8.001000e-03 -2.184624e-01 -3.053749e-01 -4.996354e-07  8.549414e-07
+ 9.051967e-03  8.247211e-03 -2.186825e-01 -3.053664e-01 -1.185610e-06  1.998041e-06
+ 9.051967e-03  8.486281e-03 -2.188995e-01 -3.053602e-01  4.610568e-07 -6.284028e-07
+ 9.051967e-03  8.718798e-03 -2.191137e-01 -3.053552e-01 -2.093104e-08  3.673521e-08
+ 9.051967e-03  8.945272e-03 -2.193292e-01 -3.053460e-01 -6.090491e-06  6.961751e-06
+ 9.051967e-03  9.166151e-03 -2.195507e-01 -3.053290e-01 -1.279909e-05  1.313805e-05
+ 9.051967e-03  9.381832e-03 -2.197726e-01 -3.053121e-01 -1.203692e-05  1.155419e-05
+ 9.051967e-03  9.592663e-03 -2.199696e-01 -3.053165e-01 -8.823874e-05  6.981799e-05
+ 9.051967e-03  9.798959e-03 -2.201075e-01 -3.053580e-01 -6.872776e-05  4.964728e-05
+ 9.051967e-03  1.000100e-02 -2.201879e-01 -3.054279e-01  3.629390e-04 -2.208875e-04
+ 9.051967e-03  1.019904e-02 -2.204859e-01 -3.053379e-01  7.476218e-04 -2.793758e-04
+ 9.051967e-03  1.039330e-02 -2.217709e-01 -3.050320e-01 -1.416207e-05 -2.337939e-05
+ 9.051967e-03  1.058401e-02 -2.218382e-01 -3.050464e-01  2.537014e-05 -1.452833e-05
+ 9.051967e-03  1.077133e-02 -2.220626e-01 -3.050457e-01  1.462479e-05  1.267015e-06
+ 9.051967e-03  1.095545e-02 -2.223535e-01 -3.050520e-01  3.307377e-05  1.554739e-06
+ 9.051967e-03  1.113653e-02 -2.226504e-01 -3.050642e-01 -7.268268e-07 -5.330828e-07
+ 9.051967e-03  1.131471e-02 -2.228055e-01 -3.050310e-01  6.001891e-05  1.730739e-05
+ 9.051967e-03  1.149013e-02 -2.231217e-01 -3.050535e-01  1.350714e-04  4.072952e-05
+ 9.051967e-03  1.166290e-02 -2.233373e-01 -3.050390e-01  3.140808e-05  8.326512e-06
+ 9.051967e-03  1.183316e-02 -2.236328e-01 -3.050488e-01  8.745483e-07  7.557822e-07
+ 9.051967e-03  1.200100e-02 -2.238827e-01 -3.050466e-01 -3.134529e-05 -9.512944e-06
+ 9.051967e-03  1.216653e-02 -2.241576e-01 -3.050471e-01  1.768902e-06  5.449767e-07
+ 9.051967e-03  1.232983e-02 -2.244351e-01 -3.050510e-01  3.997728e-07  4.946398e-07
+ 9.051967e-03  1.249100e-02 -2.247029e-01 -3.050491e-01 -3.660006e-07  3.650090e-07
+ 9.051967e-03  1.265011e-02 -2.249999e-01 -3.050592e-01 -2.536574e-05 -1.420828e-05
+ 9.051967e-03  1.280725e-02 -2.252716e-01 -3.050530e-01  5.625530e-07  2.523364e-06
+ 9.051967e-03  1.296248e-02 -2.255794e-01 -3.050634e-01 -4.025062e-06 -2.068384e-06
+ 9.051967e-03  1.311588e-02 -2.258662e-01 -3.050795e-01 -4.473993e-05 -6.587498e-05
+ 9.051967e-03  1.326750e-02 -2.262123e-01 -3.051038e-01  1.185620e-05 -1.114895e-05
+ 9.051967e-03  1.341741e-02 -2.265758e-01 -3.051231e-01 -6.137730e-05 -2.245580e-05
+ 9.051967e-03  1.356566e-02 -2.264456e-01 -3.059922e-01  2.975796e-03  3.461693e-04
+ 9.051967e-03  1.371231e-02 -2.276691e-01 -3.053414e-01  2.004364e-03  1.605051e-03
+ 9.051967e-03  1.385741e-02 -2.304506e-01 -3.072912e-01  3.223637e-04  4.118817e-04
+ 9.051967e-03  1.400100e-02 -2.307394e-01 -3.070926e-01  3.669649e-04  1.636752e-04
+ 9.051967e-03  1.414314e-02 -2.314465e-01 -3.078163e-01 -1.216852e-03  6.535955e-05
+ 9.051967e-03  1.428386e-02 -2.337757e-01 -3.071033e-01 -3.006836e-03  5.810695e-04
+ 9.051967e-03  1.442321e-02 -2.327734e-01 -3.068906e-01 -1.439484e-03  2.943596e-04
+ 9.051967e-03  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.469794e-02 -2.319313e-01 -3.068952e-01 -8.814626e-04 -1.185845e-04
+ 9.051967e-03  1.483340e-02 -2.320555e-01 -3.068718e-01 -1.205282e-03  5.571604e-04
+ 9.051967e-03  1.496763e-02 -2.311330e-01 -3.065953e-01  1.461534e-03 -6.625788e-05
+ 9.051967e-03  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.536329e-02 -2.308341e-01 -3.075068e-01  1.799824e-04 -6.551713e-04
+ 9.051967e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.562150e-02 -2.317961e-01 -3.064224e-01 -2.317961e-01 -3.064224e-01
+ 9.051967e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.587551e-02 -2.328999e-01 -3.060792e-01 -2.328999e-01 -3.060792e-01
+ 9.051967e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.844009e-02 -2.325973e-01 -3.027849e-01 -2.325973e-01 -3.027849e-01
+ 9.051967e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.051967e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.000000e-06 -2.148487e-01 -2.148487e-01  1.397884e-10  6.249360e-08
+ 9.192300e-03  2.001000e-03 -2.153111e-01 -3.056707e-01 -1.058047e-10 -3.523467e-09
+ 9.192300e-03  2.829427e-03 -2.156046e-01 -3.056830e-01  3.274753e-10 -5.455729e-09
+ 9.192300e-03  3.465102e-03 -2.158713e-01 -3.056821e-01  1.654178e-08  7.715419e-09
+ 9.192300e-03  4.001000e-03 -2.161260e-01 -3.056759e-01  2.445620e-08  1.532673e-08
+ 9.192300e-03  4.473136e-03 -2.163866e-01 -3.056714e-01 -1.229523e-05 -4.562649e-06
+ 9.192300e-03  4.899979e-03 -2.166316e-01 -3.056602e-01 -3.329608e-05 -1.026411e-05
+ 9.192300e-03  5.292503e-03 -2.167832e-01 -3.056235e-01  2.131332e-05  6.006231e-06
+ 9.192300e-03  5.657854e-03 -2.170490e-01 -3.056204e-01 -1.735687e-07  2.152822e-08
+ 9.192300e-03  6.001000e-03 -2.172817e-01 -3.056085e-01  1.150594e-07  2.374333e-08
+ 9.192300e-03  6.325555e-03 -2.175639e-01 -3.056177e-01 -7.296156e-05 -2.948995e-05
+ 9.192300e-03  6.634250e-03 -2.177294e-01 -3.055808e-01 -4.383795e-06 -1.736401e-06
+ 9.192300e-03  6.929203e-03 -2.179549e-01 -3.055694e-01 -2.605969e-07 -1.107682e-07
+ 9.192300e-03  7.212103e-03 -2.181774e-01 -3.055576e-01 -7.154081e-08  2.499828e-07
+ 9.192300e-03  7.484315e-03 -2.183998e-01 -3.055473e-01 -2.431082e-08  3.210910e-07
+ 9.192300e-03  7.746967e-03 -2.186193e-01 -3.055373e-01  3.223294e-08 -1.011726e-07
+ 9.192300e-03  8.001000e-03 -2.188372e-01 -3.055281e-01  4.019708e-08 -6.258029e-08
+ 9.192300e-03  8.247211e-03 -2.190539e-01 -3.055191e-01 -4.903154e-07  8.916298e-07
+ 9.192300e-03  8.486281e-03 -2.192689e-01 -3.055107e-01 -1.511110e-06  2.370799e-06
+ 9.192300e-03  8.718798e-03 -2.194807e-01 -3.055047e-01  5.414651e-07 -7.065569e-07
+ 9.192300e-03  8.945272e-03 -2.196897e-01 -3.054997e-01 -5.086586e-08  5.698274e-08
+ 9.192300e-03  9.166151e-03 -2.199007e-01 -3.054901e-01 -6.930596e-06  7.488924e-06
+ 9.192300e-03  9.381832e-03 -2.201189e-01 -3.054720e-01 -1.141888e-05  1.151809e-05
+ 9.192300e-03  9.592663e-03 -2.203395e-01 -3.054526e-01 -1.961486e-05  1.756332e-05
+ 9.192300e-03  9.798959e-03 -2.205362e-01 -3.054538e-01 -9.935975e-05  7.544775e-05
+ 9.192300e-03  1.000100e-02 -2.206691e-01 -3.054944e-01  9.730975e-04 -3.881861e-04
+ 9.192300e-03  1.019904e-02 -2.207369e-01 -3.055669e-01  7.160439e-04 -3.210711e-04
+ 9.192300e-03  1.039330e-02 -2.211256e-01 -3.054186e-01  1.599718e-04 -6.756634e-05
+ 9.192300e-03  1.058401e-02 -2.223564e-01 -3.051788e-01  3.598279e-05 -1.695293e-05
+ 9.192300e-03  1.077133e-02 -2.224440e-01 -3.052074e-01  5.522861e-06  4.217688e-06
+ 9.192300e-03  1.095545e-02 -2.226528e-01 -3.051835e-01 -2.868252e-05 -1.516540e-05
+ 9.192300e-03  1.113653e-02 -2.229200e-01 -3.051764e-01  1.609386e-05  6.900005e-07
+ 9.192300e-03  1.131471e-02 -2.232087e-01 -3.051848e-01 -1.794713e-06  4.583135e-07
+ 9.192300e-03  1.149013e-02 -2.234301e-01 -3.051799e-01 -1.578675e-05 -9.179117e-06
+ 9.192300e-03  1.166290e-02 -2.237080e-01 -3.051870e-01  7.882515e-07 -3.563880e-07
+ 9.192300e-03  1.183316e-02 -2.239730e-01 -3.051894e-01  1.947630e-06 -1.401605e-06
+ 9.192300e-03  1.200100e-02 -2.242257e-01 -3.051845e-01 -8.664271e-07 -5.659536e-07
+ 9.192300e-03  1.216653e-02 -2.245065e-01 -3.051928e-01 -1.061423e-06 -2.247276e-06
+ 9.192300e-03  1.232983e-02 -2.247664e-01 -3.051910e-01  2.997003e-06  4.323430e-07
+ 9.192300e-03  1.249100e-02 -2.250443e-01 -3.051941e-01 -9.983514e-07  3.477378e-07
+ 9.192300e-03  1.265011e-02 -2.252952e-01 -3.051822e-01  6.388484e-05  3.527695e-05
+ 9.192300e-03  1.280725e-02 -2.256250e-01 -3.052059e-01 -1.067798e-06 -6.502529e-06
+ 9.192300e-03  1.296248e-02 -2.259389e-01 -3.052121e-01  4.653720e-05  2.363659e-05
+ 9.192300e-03  1.311588e-02 -2.263727e-01 -3.053549e-01 -1.348133e-04 -1.702124e-04
+ 9.192300e-03  1.326750e-02 -2.266350e-01 -3.052708e-01 -8.064121e-05 -6.455239e-05
+ 9.192300e-03  1.341741e-02 -2.310989e-01 -3.067957e-01 -2.544058e-03 -3.546472e-04
+ 9.192300e-03  1.356566e-02 -2.265784e-01 -3.046286e-01  2.254835e-03  2.063053e-03
+ 9.192300e-03  1.371231e-02 -2.364209e-01 -3.073211e-01 -5.690274e-03  7.962632e-04
+ 9.192300e-03  1.385741e-02 -2.313475e-01 -3.078545e-01  4.390932e-03  4.296845e-05
+ 9.192300e-03  1.400100e-02 -2.307625e-01 -3.077868e-01  8.334944e-05 -6.889106e-05
+ 9.192300e-03  1.414314e-02 -2.308462e-01 -3.076169e-01 -4.733041e-03 -1.197532e-05
+ 9.192300e-03  1.428386e-02 -2.312217e-01 -3.078879e-01 -1.886791e-04 -4.164420e-04
+ 9.192300e-03  1.442321e-02 -2.308797e-01 -3.074685e-01 -2.308797e-01 -3.074685e-01
+ 9.192300e-03  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.483340e-02 -2.308595e-01 -3.075282e-01  7.279852e-05 -1.369826e-04
+ 9.192300e-03  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.523255e-02 -2.309161e-01 -3.073500e-01  9.619084e-05 -9.569677e-04
+ 9.192300e-03  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.549293e-02 -2.314354e-01 -3.062804e-01 -2.314354e-01 -3.062804e-01
+ 9.192300e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.574902e-02 -2.306981e-01 -3.079046e-01  1.809323e-04 -5.848240e-04
+ 9.192300e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.192300e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.000000e-06 -2.152782e-01 -3.057196e-01 -4.415669e-10  2.353785e-08
+ 9.330523e-03  2.001000e-03 -2.157375e-01 -3.058239e-01  1.868452e-09 -3.810717e-09
+ 9.330523e-03  2.829427e-03 -2.160282e-01 -3.058367e-01  1.006105e-08  5.992164e-09
+ 9.330523e-03  3.465102e-03 -2.163002e-01 -3.058393e-01 -1.463722e-06 -6.077835e-07
+ 9.330523e-03  4.001000e-03 -2.165424e-01 -3.058292e-01 -6.149781e-05 -1.870750e-05
+ 9.330523e-03  4.473136e-03 -2.167551e-01 -3.058122e-01  1.019090e-05  2.427276e-06
+ 9.330523e-03  4.899979e-03 -2.169991e-01 -3.058030e-01 -3.186122e-08 -9.401553e-09
+ 9.330523e-03  5.292503e-03 -2.172312e-01 -3.057908e-01 -2.063109e-07 -6.110619e-08
+ 9.330523e-03  5.657854e-03 -2.174653e-01 -3.057804e-01 -4.463176e-06 -1.753379e-06
+ 9.330523e-03  6.001000e-03 -2.177137e-01 -3.057764e-01 -1.647319e-04 -6.618936e-05
+ 9.330523e-03  6.325555e-03 -2.178981e-01 -3.057477e-01  3.817533e-06  1.596074e-06
+ 9.330523e-03  6.634250e-03 -2.181221e-01 -3.057359e-01  2.302827e-08  3.174803e-08
+ 9.330523e-03  6.929203e-03 -2.183417e-01 -3.057232e-01 -5.195598e-07 -2.341409e-07
+ 9.330523e-03  7.212103e-03 -2.185608e-01 -3.057117e-01 -1.567688e-08 -2.062892e-08
+ 9.330523e-03  7.484315e-03 -2.187780e-01 -3.057001e-01 -7.349924e-08  2.450612e-07
+ 9.330523e-03  7.746967e-03 -2.189939e-01 -3.056893e-01 -1.527945e-07  4.589461e-07
+ 9.330523e-03  8.001000e-03 -2.192084e-01 -3.056797e-01  6.923792e-08 -1.387579e-07
+ 9.330523e-03  8.247211e-03 -2.194215e-01 -3.056707e-01  2.984344e-08 -6.675058e-08
+ 9.330523e-03  8.486281e-03 -2.196333e-01 -3.056618e-01 -5.131828e-07  8.985650e-07
+ 9.330523e-03  8.718798e-03 -2.198433e-01 -3.056535e-01 -1.748425e-06  2.643256e-06
+ 9.330523e-03  8.945272e-03 -2.200502e-01 -3.056475e-01  2.625534e-07 -8.204405e-07
+ 9.330523e-03  9.166151e-03 -2.202546e-01 -3.056425e-01 -9.994769e-08  1.418628e-07
+ 9.330523e-03  9.381832e-03 -2.204610e-01 -3.056327e-01 -7.682660e-06  7.931504e-06
+ 9.330523e-03  9.592663e-03 -2.206761e-01 -3.056136e-01 -9.077893e-06  8.792673e-06
+ 9.330523e-03  9.798959e-03 -2.208962e-01 -3.055913e-01 -2.997186e-05  2.571004e-05
+ 9.330523e-03  1.000100e-02 -2.210946e-01 -3.055886e-01 -1.107637e-04  8.102579e-05
+ 9.330523e-03  1.019904e-02 -2.212241e-01 -3.056280e-01  5.599156e-04 -2.327739e-04
+ 9.330523e-03  1.039330e-02 -2.212804e-01 -3.057032e-01  5.049453e-04 -2.855835e-04
+ 9.330523e-03  1.058401e-02 -2.219654e-01 -3.054293e-01 -2.114378e-04  8.607023e-05
+ 9.330523e-03  1.077133e-02 -2.228600e-01 -3.052977e-01 -1.432603e-04  2.843449e-05
+ 9.330523e-03  1.095545e-02 -2.229425e-01 -3.053109e-01  2.050233e-04  3.033615e-06
+ 9.330523e-03  1.113653e-02 -2.232507e-01 -3.053219e-01  9.503179e-06 -4.902045e-07
+ 9.330523e-03  1.131471e-02 -2.235476e-01 -3.053214e-01  6.431433e-06  5.564015e-07
+ 9.330523e-03  1.149013e-02 -2.238068e-01 -3.053228e-01 -9.239590e-06  1.457452e-07
+ 9.330523e-03  1.166290e-02 -2.240590e-01 -3.053292e-01  1.295388e-05 -4.565907e-06
+ 9.330523e-03  1.183316e-02 -2.243097e-01 -3.053241e-01  2.653563e-05  1.260876e-05
+ 9.330523e-03  1.200100e-02 -2.245731e-01 -3.053264e-01 -3.723532e-05 -1.821075e-05
+ 9.330523e-03  1.216653e-02 -2.248630e-01 -3.053360e-01 -2.522972e-05 -9.280908e-06
+ 9.330523e-03  1.232983e-02 -2.251094e-01 -3.053337e-01  1.749557e-05 -4.130771e-05
+ 9.330523e-03  1.249100e-02 -2.253971e-01 -3.053412e-01  1.723234e-05  1.071355e-05
+ 9.330523e-03  1.265011e-02 -2.256799e-01 -3.053077e-01 -7.048948e-05  2.578403e-05
+ 9.330523e-03  1.280725e-02 -2.259933e-01 -3.053511e-01  9.438495e-06  6.938062e-07
+ 9.330523e-03  1.296248e-02 -2.262989e-01 -3.053444e-01  9.958779e-05  1.265260e-04
+ 9.330523e-03  1.311588e-02 -2.254753e-01 -3.070826e-01  2.337209e-04 -3.730231e-04
+ 9.330523e-03  1.326750e-02 -2.313356e-01 -3.076805e-01 -2.624887e-03 -1.116205e-03
+ 9.330523e-03  1.341741e-02 -2.306984e-01 -3.071992e-01  4.055175e-03  1.226354e-03
+ 9.330523e-03  1.356566e-02 -2.315404e-01 -3.079090e-01 -2.315404e-01 -3.079090e-01
+ 9.330523e-03  1.371231e-02 -2.362702e-01 -3.077795e-01 -5.493625e-03 -9.385483e-05
+ 9.330523e-03  1.385741e-02 -2.301982e-01 -3.077834e-01  1.104962e-03  1.716350e-05
+ 9.330523e-03  1.400100e-02 -2.314334e-01 -3.077039e-01 -5.920923e-04 -3.106089e-04
+ 9.330523e-03  1.414314e-02 -2.315330e-01 -3.076899e-01 -1.202929e-03 -6.064847e-04
+ 9.330523e-03  1.428386e-02 -2.327970e-01 -3.071683e-01 -2.081284e-03 -3.543432e-04
+ 9.330523e-03  1.442321e-02 -2.327069e-01 -3.068691e-01 -1.892931e-03  6.715188e-04
+ 9.330523e-03  1.456122e-02 -2.326602e-01 -3.067310e-01 -1.883682e-03  9.428038e-04
+ 9.330523e-03  1.469794e-02 -2.284530e-01 -3.056152e-01 -2.284530e-01 -3.056152e-01
+ 9.330523e-03  1.483340e-02 -2.325915e-01 -3.064540e-01 -1.635364e-03  7.042752e-04
+ 9.330523e-03  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.536329e-02 -2.307840e-01 -3.076606e-01 -2.307840e-01 -3.076606e-01
+ 9.330523e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.562150e-02 -2.310046e-01 -3.067369e-01 -2.310046e-01 -3.067369e-01
+ 9.330523e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.330523e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.000000e-06 -2.157053e-01 -2.157053e-01  5.652115e-10 -3.251127e-08
+ 9.466728e-03  2.001000e-03 -2.161617e-01 -3.059764e-01  3.372541e-07  2.931337e-07
+ 9.466728e-03  2.829427e-03 -2.164499e-01 -3.059891e-01 -4.626935e-05 -1.322991e-05
+ 9.466728e-03  3.465102e-03 -2.166982e-01 -3.059865e-01 -1.321117e-07 -1.991101e-08
+ 9.466728e-03  4.001000e-03 -2.169438e-01 -3.059799e-01  1.760300e-08  2.008272e-08
+ 9.466728e-03  4.473136e-03 -2.171801e-01 -3.059701e-01  2.322243e-08  1.766119e-08
+ 9.466728e-03  4.899979e-03 -2.174079e-01 -3.059573e-01 -3.333511e-08 -3.058561e-08
+ 9.466728e-03  5.292503e-03 -2.176968e-01 -3.059693e-01 -1.082818e-04 -4.292819e-05
+ 9.466728e-03  5.657854e-03 -2.178431e-01 -3.059256e-01  8.911661e-06  3.489110e-06
+ 9.466728e-03  6.001000e-03 -2.180728e-01 -3.059156e-01  9.763098e-08  6.896992e-08
+ 9.466728e-03  6.325555e-03 -2.182918e-01 -3.059023e-01 -9.151160e-09 -4.037246e-09
+ 9.466728e-03  6.634250e-03 -2.185090e-01 -3.058890e-01  1.198686e-06  6.919076e-07
+ 9.466728e-03  6.929203e-03 -2.187247e-01 -3.058761e-01 -1.092026e-08  7.861213e-08
+ 9.466728e-03  7.212103e-03 -2.189392e-01 -3.058638e-01  6.381736e-09 -2.499555e-08
+ 9.466728e-03  7.484315e-03 -2.191525e-01 -3.058520e-01  2.407008e-09 -2.638759e-08
+ 9.466728e-03  7.746967e-03 -2.193648e-01 -3.058407e-01 -7.797253e-08  2.243947e-07
+ 9.466728e-03  8.001000e-03 -2.195760e-01 -3.058301e-01 -2.371334e-07  5.753651e-07
+ 9.466728e-03  8.247211e-03 -2.197857e-01 -3.058207e-01  9.132052e-08 -1.537718e-07
+ 9.466728e-03  8.486281e-03 -2.199939e-01 -3.058119e-01  7.756039e-08 -5.590760e-08
+ 9.466728e-03  8.718798e-03 -2.202013e-01 -3.058032e-01 -1.478419e-06  6.061097e-07
+ 9.466728e-03  8.945272e-03 -2.204066e-01 -3.057948e-01 -1.853180e-06  2.804352e-06
+ 9.466728e-03  9.166151e-03 -2.206090e-01 -3.057887e-01  5.257538e-07 -6.128051e-07
+ 9.466728e-03  9.381832e-03 -2.208087e-01 -3.057837e-01 -2.273952e-07  3.358589e-07
+ 9.466728e-03  9.592663e-03 -2.210110e-01 -3.057739e-01 -8.069985e-06  8.138192e-06
+ 9.466728e-03  9.798959e-03 -2.212237e-01 -3.057540e-01 -5.786300e-06  5.333360e-06
+ 9.466728e-03  1.000100e-02 -2.214445e-01 -3.057291e-01 -4.377530e-05  3.579217e-05
+ 9.466728e-03  1.019904e-02 -2.216467e-01 -3.057225e-01 -1.267257e-04  8.154200e-05
+ 9.466728e-03  1.039330e-02 -2.217643e-01 -3.057572e-01  2.045886e-04 -1.779729e-04
+ 9.466728e-03  1.058401e-02 -2.217883e-01 -3.058323e-01  8.544595e-04 -3.658563e-04
+ 9.466728e-03  1.077133e-02 -2.231161e-01 -3.054570e-01 -7.613662e-04  1.539178e-04
+ 9.466728e-03  1.095545e-02 -2.234397e-01 -3.054476e-01 -1.502644e-04  1.878118e-05
+ 9.466728e-03  1.113653e-02 -2.235773e-01 -3.054568e-01  1.137677e-04 -1.253228e-05
+ 9.466728e-03  1.131471e-02 -2.238632e-01 -3.054639e-01  2.733913e-05 -1.856939e-06
+ 9.466728e-03  1.149013e-02 -2.241604e-01 -3.054637e-01  1.601568e-05  1.764871e-05
+ 9.466728e-03  1.166290e-02 -2.244127e-01 -3.054648e-01 -1.176098e-05 -6.438537e-07
+ 9.466728e-03  1.183316e-02 -2.246625e-01 -3.054631e-01  1.542767e-05  2.422799e-06
+ 9.466728e-03  1.200100e-02 -2.249254e-01 -3.054709e-01  1.221282e-05  3.832761e-06
+ 9.466728e-03  1.216653e-02 -2.252090e-01 -3.054694e-01 -6.410241e-06 -9.414635e-07
+ 9.466728e-03  1.232983e-02 -2.254954e-01 -3.054917e-01 -1.012002e-04 -4.555747e-05
+ 9.466728e-03  1.249100e-02 -2.257517e-01 -3.054862e-01  2.333957e-06 -7.106013e-06
+ 9.466728e-03  1.265011e-02 -2.261287e-01 -3.054572e-01 -3.346263e-05 -7.937484e-06
+ 9.466728e-03  1.280725e-02 -2.264598e-01 -3.055352e-01  1.189814e-03  9.019058e-04
+ 9.466728e-03  1.296248e-02 -2.248370e-01 -3.065373e-01  1.136700e-02  2.504834e-03
+ 9.466728e-03  1.311588e-02 -2.263293e-01 -3.060729e-01  2.366400e-04 -7.529627e-04
+ 9.466728e-03  1.326750e-02 -2.282947e-01 -3.061337e-01 -7.283476e-04  2.068670e-03
+ 9.466728e-03  1.341741e-02 -2.356338e-01 -3.073742e-01  9.805664e-04  6.941699e-04
+ 9.466728e-03  1.356566e-02 -2.314817e-01 -3.076567e-01  7.947337e-05  2.169129e-04
+ 9.466728e-03  1.371231e-02 -2.349122e-01 -3.075210e-01 -4.187130e-03 -4.939932e-04
+ 9.466728e-03  1.385741e-02 -2.330805e-01 -3.074957e-01 -2.283015e-03  4.521503e-05
+ 9.466728e-03  1.400100e-02 -2.305239e-01 -3.073407e-01  2.456899e-04  3.508142e-04
+ 9.466728e-03  1.414314e-02 -2.303030e-01 -3.077889e-01  1.130801e-03 -5.851675e-04
+ 9.466728e-03  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.442321e-02 -2.327296e-01 -3.068399e-01 -2.044421e-03  1.065822e-03
+ 9.466728e-03  1.456122e-02 -2.352769e-01 -3.060512e-01 -3.927905e-03  1.718357e-03
+ 9.466728e-03  1.469794e-02 -2.310305e-01 -3.073672e-01 -2.794440e-04  3.702251e-04
+ 9.466728e-03  1.483340e-02 -2.309128e-01 -3.074806e-01 -2.309128e-01 -3.074806e-01
+ 9.466728e-03  1.496763e-02 -2.307893e-01 -3.076392e-01 -5.215848e-05  1.477369e-04
+ 9.466728e-03  1.510067e-02 -2.316651e-01 -3.062453e-01 -2.316651e-01 -3.062453e-01
+ 9.466728e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.536329e-02 -2.307609e-01 -3.077223e-01 -2.307609e-01 -3.077223e-01
+ 9.466728e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.466728e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.000000e-06 -2.161300e-01 -2.161300e-01  4.478261e-08  4.495592e-08
+ 9.601000e-03  2.001000e-03 -2.165811e-01 -3.061278e-01  5.357627e-07 -1.406779e-07
+ 9.601000e-03  2.829427e-03 -2.168627e-01 -3.061405e-01 -2.410416e-08  4.944629e-09
+ 9.601000e-03  3.465102e-03 -2.171168e-01 -3.061400e-01 -3.077921e-09 -3.455540e-09
+ 9.601000e-03  4.001000e-03 -2.173569e-01 -3.061334e-01  2.437158e-07  1.000159e-07
+ 9.601000e-03  4.473136e-03 -2.176294e-01 -3.061395e-01  2.304760e-06  9.234234e-07
+ 9.601000e-03  4.899979e-03 -2.178077e-01 -3.061087e-01 -2.856489e-05 -1.107148e-05
+ 9.601000e-03  5.292503e-03 -2.180289e-01 -3.060955e-01  4.629003e-08  1.581162e-08
+ 9.601000e-03  5.657854e-03 -2.182480e-01 -3.060821e-01 -1.995497e-10  1.136321e-08
+ 9.601000e-03  6.001000e-03 -2.184643e-01 -3.060682e-01  2.946988e-08  2.451864e-08
+ 9.601000e-03  6.325555e-03 -2.186791e-01 -3.060546e-01 -1.411247e-08 -1.014693e-09
+ 9.601000e-03  6.634250e-03 -2.188918e-01 -3.060409e-01  4.304061e-09 -4.996445e-09
+ 9.601000e-03  6.929203e-03 -2.191035e-01 -3.060276e-01 -1.584503e-08  8.899285e-08
+ 9.601000e-03  7.212103e-03 -2.193140e-01 -3.060148e-01 -2.399595e-09  1.410189e-07
+ 9.601000e-03  7.484315e-03 -2.195236e-01 -3.060026e-01  3.262443e-08 -3.524309e-08
+ 9.601000e-03  7.746967e-03 -2.197323e-01 -3.059911e-01 -1.304852e-09 -2.214920e-08
+ 9.601000e-03  8.001000e-03 -2.199399e-01 -3.059800e-01 -3.350839e-08  2.113677e-07
+ 9.601000e-03  8.247211e-03 -2.201469e-01 -3.059698e-01  1.248996e-06  1.274634e-06
+ 9.601000e-03  8.486281e-03 -2.203516e-01 -3.059604e-01  9.434190e-08 -1.712365e-07
+ 9.601000e-03  8.718798e-03 -2.205554e-01 -3.059518e-01 -3.569055e-09 -5.249706e-08
+ 9.601000e-03  8.945272e-03 -2.207582e-01 -3.059430e-01 -7.089204e-07  1.089032e-06
+ 9.601000e-03  9.166151e-03 -2.209596e-01 -3.059348e-01 -2.000923e-06  2.727118e-06
+ 9.601000e-03  9.381832e-03 -2.211579e-01 -3.059287e-01  3.915839e-07 -3.671084e-07
+ 9.601000e-03  9.592663e-03 -2.213532e-01 -3.059237e-01 -2.059763e-08  7.054349e-07
+ 9.601000e-03  9.798959e-03 -2.215511e-01 -3.059142e-01 -2.135517e-06  8.953916e-06
+ 9.601000e-03  1.000100e-02 -2.217602e-01 -3.058928e-01  1.037982e-04  3.696230e-05
+ 9.601000e-03  1.019904e-02 -2.219741e-01 -3.058662e-01 -4.711794e-05  5.116234e-05
+ 9.601000e-03  1.039330e-02 -2.221392e-01 -3.058215e-01  1.082760e-04 -1.807234e-04
+ 9.601000e-03  1.058401e-02 -2.223221e-01 -3.059037e-01  6.786899e-04 -2.910714e-04
+ 9.601000e-03  1.077133e-02 -2.223499e-01 -3.059782e-01  2.447705e-04 -1.240691e-04
+ 9.601000e-03  1.095545e-02 -2.238079e-01 -3.055831e-01 -4.409474e-04  2.729119e-05
+ 9.601000e-03  1.113653e-02 -2.239998e-01 -3.055889e-01 -2.630520e-04  2.426313e-05
+ 9.601000e-03  1.131471e-02 -2.241598e-01 -3.056001e-01  1.301530e-04 -7.640290e-06
+ 9.601000e-03  1.149013e-02 -2.244711e-01 -3.055978e-01  2.242233e-05  6.807516e-06
+ 9.601000e-03  1.166290e-02 -2.247697e-01 -3.056037e-01 -6.414999e-07 -3.676643e-07
+ 9.601000e-03  1.183316e-02 -2.250349e-01 -3.055977e-01 -8.451192e-06 -6.434011e-07
+ 9.601000e-03  1.200100e-02 -2.252810e-01 -3.056173e-01  3.647083e-05  2.775786e-06
+ 9.601000e-03  1.216653e-02 -2.255823e-01 -3.056100e-01 -4.036378e-05 -1.277470e-05
+ 9.601000e-03  1.232983e-02 -2.259359e-01 -3.056726e-01  2.182120e-05  2.157489e-05
+ 9.601000e-03  1.249100e-02 -2.262906e-01 -3.056885e-01 -2.389428e-05  1.923118e-04
+ 9.601000e-03  1.265011e-02 -2.266741e-01 -3.056345e-01  7.925688e-03  2.419712e-03
+ 9.601000e-03  1.280725e-02 -2.250373e-01 -3.066623e-01  1.010418e-02  2.021179e-03
+ 9.601000e-03  1.296248e-02 -2.348067e-01 -3.078725e-01 -2.580826e-04  6.805310e-04
+ 9.601000e-03  1.311588e-02 -2.307809e-01 -3.076890e-01 -2.307809e-01 -3.076890e-01
+ 9.601000e-03  1.326750e-02 -2.359406e-01 -3.081658e-01 -1.006808e-02 -1.243102e-03
+ 9.601000e-03  1.341741e-02 -2.331554e-01 -3.087452e-01  2.150116e-03 -4.816273e-04
+ 9.601000e-03  1.356566e-02 -2.305582e-01 -3.081121e-01  5.533480e-03 -7.869645e-04
+ 9.601000e-03  1.371231e-02 -2.307560e-01 -3.075668e-01  6.284288e-04  2.696480e-04
+ 9.601000e-03  1.385741e-02 -2.313490e-01 -3.078179e-01 -2.313490e-01 -3.078179e-01
+ 9.601000e-03  1.400100e-02 -2.320842e-01 -3.067841e-01 -1.114396e-03  1.275602e-04
+ 9.601000e-03  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.428386e-02 -2.328438e-01 -3.064201e-01 -2.328438e-01 -3.064201e-01
+ 9.601000e-03  1.442321e-02 -2.328087e-01 -3.068478e-01 -4.080881e-03 -1.731022e-03
+ 9.601000e-03  1.456122e-02 -2.307969e-01 -3.078440e-01  8.072511e-04 -1.203179e-03
+ 9.601000e-03  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.483340e-02 -2.312808e-01 -3.067302e-01 -2.312808e-01 -3.067302e-01
+ 9.601000e-03  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.510067e-02 -2.308206e-01 -3.075486e-01 -4.775646e-05  1.274986e-04
+ 9.601000e-03  1.523255e-02 -2.309060e-01 -3.073700e-01 -2.309060e-01 -3.073700e-01
+ 9.601000e-03  1.536329e-02 -2.308415e-01 -3.074573e-01 -2.308415e-01 -3.074573e-01
+ 9.601000e-03  1.549293e-02 -2.308153e-01 -3.075673e-01  2.400058e-04 -1.997110e-04
+ 9.601000e-03  1.562150e-02 -2.314867e-01 -3.059662e-01 -2.314867e-01 -3.059662e-01
+ 9.601000e-03  1.574902e-02 -2.308443e-01 -3.074170e-01 -3.106584e-05  1.305114e-04
+ 9.601000e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.601000e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.000000e-06 -2.165524e-01 -2.165524e-01  5.161213e-08  5.777457e-08
+ 9.733420e-03  2.001000e-03 -2.170007e-01 -3.062788e-01  2.232771e-08 -1.448665e-09
+ 9.733420e-03  2.829427e-03 -2.172787e-01 -3.062921e-01  1.200684e-07  6.880241e-08
+ 9.733420e-03  3.465102e-03 -2.175314e-01 -3.062928e-01 -6.749412e-06 -2.866424e-06
+ 9.733420e-03  4.001000e-03 -2.177893e-01 -3.062943e-01 -1.556024e-04 -6.044379e-05
+ 9.733420e-03  4.473136e-03 -2.179834e-01 -3.062716e-01  3.377693e-06  1.237391e-06
+ 9.733420e-03  4.899979e-03 -2.182076e-01 -3.062605e-01  3.327076e-08  9.838959e-09
+ 9.733420e-03  5.292503e-03 -2.184253e-01 -3.062474e-01 -1.430727e-09  1.010523e-08
+ 9.733420e-03  5.657854e-03 -2.186397e-01 -3.062336e-01 -6.882828e-08 -3.199221e-08
+ 9.733420e-03  6.001000e-03 -2.188520e-01 -3.062196e-01 -3.963096e-08  1.595631e-08
+ 9.733420e-03  6.325555e-03 -2.190622e-01 -3.062055e-01  3.255086e-09  2.590549e-08
+ 9.733420e-03  6.634250e-03 -2.192711e-01 -3.061916e-01  8.176596e-09 -8.942064e-09
+ 9.733420e-03  6.929203e-03 -2.194789e-01 -3.061781e-01  6.713817e-09 -8.897927e-09
+ 9.733420e-03  7.212103e-03 -2.196857e-01 -3.061649e-01 -2.626357e-08  7.032416e-08
+ 9.733420e-03  7.484315e-03 -2.198916e-01 -3.061523e-01 -6.874279e-08  1.824731e-07
+ 9.733420e-03  7.746967e-03 -2.200969e-01 -3.061405e-01  7.154929e-08 -7.320207e-09
+ 9.733420e-03  8.001000e-03 -2.203006e-01 -3.061290e-01  2.335908e-08  2.407130e-08
+ 9.733420e-03  8.247211e-03 -2.205039e-01 -3.061181e-01 -7.132734e-08  1.455099e-07
+ 9.733420e-03  8.486281e-03 -2.207062e-01 -3.061081e-01 -4.216618e-07  6.477487e-07
+ 9.733420e-03  8.718798e-03 -2.209070e-01 -3.060991e-01  9.782965e-08 -2.591453e-07
+ 9.733420e-03  8.945272e-03 -2.211065e-01 -3.060906e-01  1.832625e-07 -5.100976e-08
+ 9.733420e-03  9.166151e-03 -2.213060e-01 -3.060822e-01 -8.196844e-07  1.195195e-06
+ 9.733420e-03  9.381832e-03 -2.215055e-01 -3.060746e-01 -4.969042e-06  1.299399e-06
+ 9.733420e-03  9.592663e-03 -2.216836e-01 -3.060636e-01  1.999115e-05  5.978164e-06
+ 9.733420e-03  9.798959e-03 -2.219006e-01 -3.060662e-01  3.291987e-05  1.398394e-05
+ 9.733420e-03  1.000100e-02 -2.220302e-01 -3.060307e-01 -5.815714e-05 -8.721268e-06
+ 9.733420e-03  1.019904e-02 -2.223029e-01 -3.060458e-01 -1.070238e-04 -5.458944e-05
+ 9.733420e-03  1.039330e-02 -2.224840e-01 -3.059615e-01  1.518997e-06  5.455212e-05
+ 9.733420e-03  1.058401e-02 -2.227131e-01 -3.059975e-01 -1.749129e-05 -1.245004e-05
+ 9.733420e-03  1.077133e-02 -2.228391e-01 -3.060082e-01  1.357321e-03 -3.559474e-04
+ 9.733420e-03  1.095545e-02 -2.228543e-01 -3.060938e-01  1.417392e-03 -3.946728e-04
+ 9.733420e-03  1.113653e-02 -2.245081e-01 -3.057128e-01  7.454168e-05 -7.870237e-06
+ 9.733420e-03  1.131471e-02 -2.245574e-01 -3.057405e-01 -2.114660e-04  1.071701e-05
+ 9.733420e-03  1.149013e-02 -2.248208e-01 -3.057373e-01 -2.508674e-05 -2.804653e-07
+ 9.733420e-03  1.166290e-02 -2.251385e-01 -3.057370e-01 -2.198986e-06  2.054561e-05
+ 9.733420e-03  1.183316e-02 -2.254770e-01 -3.057305e-01  1.996448e-05 -3.526484e-05
+ 9.733420e-03  1.200100e-02 -2.256678e-01 -3.058272e-01  1.160303e-04 -9.168499e-05
+ 9.733420e-03  1.216653e-02 -2.261961e-01 -3.057293e-01 -4.894171e-04  1.814256e-04
+ 9.733420e-03  1.232983e-02 -2.259653e-01 -3.062386e-01  9.528755e-03  2.633237e-03
+ 9.733420e-03  1.249100e-02 -2.266498e-01 -3.055950e-01  4.450566e-03  1.815177e-03
+ 9.733420e-03  1.265011e-02 -2.300513e-01 -3.073150e-01  8.106249e-04 -3.819472e-04
+ 9.733420e-03  1.280725e-02 -2.252152e-01 -3.067788e-01  1.059644e-02  1.825292e-03
+ 9.733420e-03  1.296248e-02 -2.262201e-01 -3.067286e-01  5.222397e-03  1.868345e-03
+ 9.733420e-03  1.311588e-02 -2.303938e-01 -3.073117e-01  1.195074e-03  5.986795e-04
+ 9.733420e-03  1.326750e-02 -2.273870e-01 -3.074314e-01 -2.273870e-01 -3.074314e-01
+ 9.733420e-03  1.341741e-02 -2.275302e-01 -3.079171e-01  3.622493e-03 -8.108375e-04
+ 9.733420e-03  1.356566e-02 -2.308443e-01 -3.080796e-01 -3.541427e-04 -6.829546e-04
+ 9.733420e-03  1.371231e-02 -2.329066e-01 -3.072865e-01  1.283425e-04 -1.735997e-04
+ 9.733420e-03  1.385741e-02 -2.368522e-01 -3.071616e-01 -7.738708e-03  4.376879e-04
+ 9.733420e-03  1.400100e-02 -2.322869e-01 -3.069839e-01 -2.010881e-03 -2.429600e-04
+ 9.733420e-03  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.428386e-02 -2.327482e-01 -3.068857e-01 -1.970504e-03  8.067764e-04
+ 9.733420e-03  1.442321e-02 -2.322472e-01 -3.067880e-01 -1.629083e-03  1.370229e-03
+ 9.733420e-03  1.456122e-02 -2.310074e-01 -3.073768e-01 -2.203452e-04  2.526998e-04
+ 9.733420e-03  1.469794e-02 -2.342950e-01 -3.066898e-01 -2.342950e-01 -3.066898e-01
+ 9.733420e-03  1.483340e-02 -2.329315e-01 -3.064015e-01 -2.031644e-03  9.856217e-04
+ 9.733420e-03  1.496763e-02 -2.308150e-01 -3.075150e-01 -2.308150e-01 -3.075150e-01
+ 9.733420e-03  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.523255e-02 -2.310786e-01 -3.073370e-01  6.237878e-04 -1.032428e-03
+ 9.733420e-03  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.733420e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.000000e-06 -2.169727e-01 -2.169726e-01 -1.099589e-08  3.027682e-08
+ 9.864062e-03  2.001000e-03 -2.174177e-01 -3.064293e-01 -8.101196e-08 -5.360232e-08
+ 9.864062e-03  2.829427e-03 -2.177283e-01 -3.064571e-01  5.801890e-05  2.203541e-05
+ 9.864062e-03  3.465102e-03 -2.179238e-01 -3.064375e-01  3.950613e-06  1.312263e-06
+ 9.864062e-03  4.001000e-03 -2.181632e-01 -3.064335e-01  1.205432e-07  4.389725e-08
+ 9.864062e-03  4.473136e-03 -2.183868e-01 -3.064235e-01  1.678943e-09  5.751633e-10
+ 9.864062e-03  4.899979e-03 -2.186043e-01 -3.064113e-01 -2.270312e-09  7.366535e-09
+ 9.864062e-03  5.292503e-03 -2.188178e-01 -3.063980e-01 -4.824193e-07 -2.453700e-07
+ 9.864062e-03  5.657854e-03 -2.190280e-01 -3.063840e-01  3.365019e-08  1.081809e-08
+ 9.864062e-03  6.001000e-03 -2.192360e-01 -3.063697e-01  5.563954e-09 -2.162719e-09
+ 9.864062e-03  6.325555e-03 -2.194423e-01 -3.063554e-01 -1.805672e-08  2.888601e-08
+ 9.864062e-03  6.634250e-03 -2.196473e-01 -3.063413e-01  3.165648e-08  5.188029e-08
+ 9.864062e-03  6.929203e-03 -2.198512e-01 -3.063275e-01 -2.480904e-08 -2.441633e-08
+ 9.864062e-03  7.212103e-03 -2.200545e-01 -3.063142e-01 -4.499533e-07 -1.954174e-07
+ 9.864062e-03  7.484315e-03 -2.202563e-01 -3.063011e-01 -4.960788e-08 -4.455350e-09
+ 9.864062e-03  7.746967e-03 -2.204578e-01 -3.062888e-01 -5.985913e-08  1.680832e-07
+ 9.864062e-03  8.001000e-03 -2.206583e-01 -3.062770e-01  8.788044e-08 -9.600409e-10
+ 9.864062e-03  8.247211e-03 -2.208584e-01 -3.062659e-01 -5.695715e-09 -2.111252e-08
+ 9.864062e-03  8.486281e-03 -2.210577e-01 -3.062553e-01 -9.219654e-08  9.785807e-08
+ 9.864062e-03  8.718798e-03 -2.212569e-01 -3.062457e-01 -1.276762e-06  4.439286e-07
+ 9.864062e-03  8.945272e-03 -2.214467e-01 -3.062349e-01 -1.739602e-05 -5.690721e-06
+ 9.864062e-03  9.166151e-03 -2.216492e-01 -3.062288e-01 -7.041868e-08  3.502961e-07
+ 9.864062e-03  9.381832e-03 -2.218241e-01 -3.062127e-01  2.050291e-05  9.384531e-06
+ 9.864062e-03  9.592663e-03 -2.220327e-01 -3.062101e-01  1.381321e-05  8.056143e-06
+ 9.864062e-03  9.798959e-03 -2.222622e-01 -3.062207e-01 -2.196237e-05 -7.303889e-06
+ 9.864062e-03  1.000100e-02 -2.223864e-01 -3.061853e-01  1.691622e-06  3.638312e-06
+ 9.864062e-03  1.019904e-02 -2.225940e-01 -3.061865e-01 -6.233829e-06  2.972384e-06
+ 9.864062e-03  1.039330e-02 -2.228003e-01 -3.061668e-01 -7.585479e-07 -2.129088e-06
+ 9.864062e-03  1.058401e-02 -2.230228e-01 -3.061292e-01 -8.763681e-05  6.272020e-05
+ 9.864062e-03  1.077133e-02 -2.232482e-01 -3.061055e-01 -1.540412e-04  9.548246e-05
+ 9.864062e-03  1.095545e-02 -2.233786e-01 -3.061361e-01  1.497269e-03 -3.362203e-04
+ 9.864062e-03  1.113653e-02 -2.233767e-01 -3.062196e-01  1.377346e-03 -3.649631e-04
+ 9.864062e-03  1.131471e-02 -2.252182e-01 -3.058694e-01 -1.676717e-03  3.559962e-04
+ 9.864062e-03  1.149013e-02 -2.250646e-01 -3.059448e-01  4.063616e-04 -9.499899e-05
+ 9.864062e-03  1.166290e-02 -2.257125e-01 -3.058343e-01 -5.228146e-07  5.603208e-05
+ 9.864062e-03  1.183316e-02 -2.260347e-01 -3.058147e-01 -6.767159e-04  3.068358e-04
+ 9.864062e-03  1.200100e-02 -2.349235e-01 -3.086138e-01 -4.009841e-03 -1.477776e-03
+ 9.864062e-03  1.216653e-02 -2.270010e-01 -3.075113e-01 -1.191214e-03 -1.367409e-03
+ 9.864062e-03  1.232983e-02 -2.258588e-01 -3.064939e-01  9.525872e-03  1.659527e-03
+ 9.864062e-03  1.249100e-02 -2.304136e-01 -3.076045e-01 -2.402923e-03 -1.481021e-04
+ 9.864062e-03  1.265011e-02 -2.278886e-01 -3.074841e-01 -1.928093e-03 -2.143370e-04
+ 9.864062e-03  1.280725e-02 -2.320981e-01 -3.080276e-01  3.782745e-03 -2.231568e-04
+ 9.864062e-03  1.296248e-02 -2.315062e-01 -3.078805e-01 -2.146562e-03 -1.212558e-03
+ 9.864062e-03  1.311588e-02 -2.264208e-01 -3.073154e-01 -2.264208e-01 -3.073154e-01
+ 9.864062e-03  1.326750e-02 -2.304599e-01 -3.080058e-01  5.027290e-03  3.231563e-04
+ 9.864062e-03  1.341741e-02 -2.304611e-01 -3.080086e-01  3.792708e-03 -1.119585e-03
+ 9.864062e-03  1.356566e-02 -2.307279e-01 -3.080318e-01  1.095643e-03 -9.083226e-05
+ 9.864062e-03  1.371231e-02 -2.370235e-01 -3.068990e-01 -5.659202e-03  1.015061e-03
+ 9.864062e-03  1.385741e-02 -2.364812e-01 -3.071332e-01 -6.220919e-03 -1.759580e-04
+ 9.864062e-03  1.400100e-02 -2.329008e-01 -3.071225e-01 -1.271826e-03  4.449622e-04
+ 9.864062e-03  1.414314e-02 -2.321182e-01 -3.066960e-01 -1.412726e-03  1.308233e-03
+ 9.864062e-03  1.428386e-02 -2.327814e-01 -3.068711e-01  8.283560e-04  3.289854e-04
+ 9.864062e-03  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.456122e-02 -2.317874e-01 -3.067522e-01 -2.317874e-01 -3.067522e-01
+ 9.864062e-03  1.469794e-02 -2.306959e-01 -3.079206e-01 -2.306959e-01 -3.079206e-01
+ 9.864062e-03  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.496763e-02 -2.310414e-01 -3.072860e-01 -2.721507e-04  4.070767e-04
+ 9.864062e-03  1.510067e-02 -2.309935e-01 -3.068507e-01 -4.329329e-04  1.469204e-03
+ 9.864062e-03  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.549293e-02 -2.306596e-01 -3.080234e-01  1.295805e-04 -3.921283e-04
+ 9.864062e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.864062e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.000000e-06 -2.173907e-01 -3.064712e-01  3.161571e-08  6.495148e-08
+ 9.992997e-03  2.001000e-03 -2.178359e-01 -3.065795e-01 -5.535514e-05 -1.864995e-05
+ 9.992997e-03  2.829427e-03 -2.180955e-01 -3.065904e-01  1.070898e-07  2.416472e-08
+ 9.992997e-03  3.465102e-03 -2.183376e-01 -3.065902e-01  9.258517e-09  3.329924e-09
+ 9.992997e-03  4.001000e-03 -2.185653e-01 -3.065835e-01 -4.193340e-09 -2.888218e-09
+ 9.992997e-03  4.473136e-03 -2.187843e-01 -3.065733e-01  1.398890e-08 -2.685863e-11
+ 9.992997e-03  4.899979e-03 -2.189977e-01 -3.065611e-01  1.382222e-07  5.966370e-08
+ 9.992997e-03  5.292503e-03 -2.192067e-01 -3.065475e-01  1.169722e-08  1.322648e-08
+ 9.992997e-03  5.657854e-03 -2.194129e-01 -3.065334e-01 -1.800728e-08  8.813804e-09
+ 9.992997e-03  6.001000e-03 -2.196169e-01 -3.065189e-01  1.803163e-08  8.520691e-09
+ 9.992997e-03  6.325555e-03 -2.198193e-01 -3.065045e-01 -2.855997e-08 -1.985771e-08
+ 9.992997e-03  6.634250e-03 -2.200207e-01 -3.064902e-01 -1.799433e-08  1.005830e-08
+ 9.992997e-03  6.929203e-03 -2.202203e-01 -3.064760e-01  4.083619e-09  8.411920e-08
+ 9.992997e-03  7.212103e-03 -2.204196e-01 -3.064623e-01 -1.347793e-07 -8.657043e-08
+ 9.992997e-03  7.484315e-03 -2.206181e-01 -3.064491e-01  1.984755e-08 -7.561921e-09
+ 9.992997e-03  7.746967e-03 -2.208160e-01 -3.064363e-01  3.459448e-08  1.213542e-07
+ 9.992997e-03  8.001000e-03 -2.210135e-01 -3.064242e-01 -1.006628e-07  3.409153e-07
+ 9.992997e-03  8.247211e-03 -2.212087e-01 -3.064123e-01  7.584139e-06  2.397895e-06
+ 9.992997e-03  8.486281e-03 -2.214056e-01 -3.064019e-01  8.628381e-07  2.081902e-09
+ 9.992997e-03  8.718798e-03 -2.216051e-01 -3.063928e-01 -2.859725e-06 -1.061891e-06
+ 9.992997e-03  8.945272e-03 -2.217507e-01 -3.063657e-01  4.364019e-05  1.708078e-05
+ 9.992997e-03  9.166151e-03 -2.219981e-01 -3.063766e-01  3.910352e-06  1.228811e-06
+ 9.992997e-03  9.381832e-03 -2.222490e-01 -3.063945e-01 -2.288566e-05 -9.517011e-06
+ 9.992997e-03  9.592663e-03 -2.223317e-01 -3.063389e-01  7.072450e-07  2.665470e-06
+ 9.992997e-03  9.798959e-03 -2.225284e-01 -3.063332e-01 -2.542355e-05 -8.654711e-06
+ 9.992997e-03  1.000100e-02 -2.227402e-01 -3.063383e-01 -4.075556e-06  6.307834e-07
+ 9.992997e-03  1.019904e-02 -2.229237e-01 -3.063319e-01 -1.171062e-06  4.580269e-07
+ 9.992997e-03  1.039330e-02 -2.231104e-01 -3.063230e-01 -3.240427e-06  3.106848e-06
+ 9.992997e-03  1.058401e-02 -2.233123e-01 -3.063028e-01 -2.060656e-06  2.499266e-06
+ 9.992997e-03  1.077133e-02 -2.235372e-01 -3.062673e-01 -9.797819e-05  6.791269e-05
+ 9.992997e-03  1.095545e-02 -2.237725e-01 -3.062356e-01 -1.263297e-04  7.668395e-05
+ 9.992997e-03  1.113653e-02 -2.239127e-01 -3.062600e-01  2.113684e-03 -3.478490e-04
+ 9.992997e-03  1.131471e-02 -2.238913e-01 -3.063444e-01  1.032999e-03  2.805578e-04
+ 9.992997e-03  1.149013e-02 -2.348995e-01 -3.072231e-01 -8.756507e-03  5.098957e-05
+ 9.992997e-03  1.166290e-02 -2.345263e-01 -3.073573e-01 -2.833519e-03  4.603073e-04
+ 9.992997e-03  1.183316e-02 -2.259425e-01 -3.065789e-01  1.243074e-04  8.324110e-04
+ 9.992997e-03  1.200100e-02 -2.325109e-01 -3.068311e-01  3.053936e-03  1.347313e-03
+ 9.992997e-03  1.216653e-02 -2.348668e-01 -3.086872e-01 -8.344825e-03 -2.557950e-03
+ 9.992997e-03  1.232983e-02 -2.254559e-01 -3.067186e-01  4.536606e-04  2.567979e-04
+ 9.992997e-03  1.249100e-02 -2.352384e-01 -3.081789e-01 -1.138533e-03  1.569641e-03
+ 9.992997e-03  1.265011e-02 -2.303369e-01 -3.071841e-01  9.599572e-04  5.554664e-04
+ 9.992997e-03  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.296248e-02 -2.327499e-01 -3.080952e-01 -6.813655e-03 -8.625026e-04
+ 9.992997e-03  1.311588e-02 -2.344403e-01 -3.076290e-01 -3.323073e-03  1.657653e-04
+ 9.992997e-03  1.326750e-02 -2.305551e-01 -3.080260e-01  4.987212e-03  1.882149e-04
+ 9.992997e-03  1.341741e-02 -2.305426e-01 -3.078214e-01 -2.305426e-01 -3.078214e-01
+ 9.992997e-03  1.356566e-02 -2.307370e-01 -3.079565e-01 -1.451319e-04 -4.846497e-04
+ 9.992997e-03  1.371231e-02 -2.331563e-01 -3.071483e-01 -2.680009e-03  1.437319e-04
+ 9.992997e-03  1.385741e-02 -2.314140e-01 -3.078481e-01 -5.184418e-04 -9.065024e-05
+ 9.992997e-03  1.400100e-02 -2.324767e-01 -3.068092e-01  1.132078e-03  3.278147e-04
+ 9.992997e-03  1.414314e-02 -2.320223e-01 -3.073205e-01 -6.065432e-04  5.700364e-04
+ 9.992997e-03  1.428386e-02 -2.327573e-01 -3.068955e-01  6.444310e-04 -7.162058e-04
+ 9.992997e-03  1.442321e-02 -2.325144e-01 -3.066680e-01  4.038486e-03  4.626711e-05
+ 9.992997e-03  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.469794e-02 -2.307653e-01 -3.076931e-01 -2.464364e-04 -9.827512e-04
+ 9.992997e-03  1.483340e-02 -2.278004e-01 -3.041984e-01 -2.278004e-01 -3.041984e-01
+ 9.992997e-03  1.496763e-02 -2.327209e-01 -3.067810e-01 -1.955143e-03  9.312289e-04
+ 9.992997e-03  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.523255e-02 -2.307134e-01 -3.072584e-01  2.363009e-03 -6.336983e-04
+ 9.992997e-03  1.536329e-02 -2.309535e-01 -3.071859e-01 -1.959194e-04  5.463176e-04
+ 9.992997e-03  1.549293e-02 -2.307182e-01 -3.078612e-01  4.507163e-05 -1.468384e-04
+ 9.992997e-03  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.992997e-03  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.000000e-06 -2.177939e-01 -2.177939e-01 -3.414640e-05  8.881064e-02
+ 1.012029e-02  2.001000e-03 -2.182380e-01 -3.067260e-01  7.115193e-09 -4.304850e-09
+ 1.012029e-02  2.829427e-03 -2.185032e-01 -3.067396e-01  1.113788e-09 -8.686933e-09
+ 1.012029e-02  3.465102e-03 -2.187405e-01 -3.067392e-01 -1.551611e-09 -1.725763e-09
+ 1.012029e-02  4.001000e-03 -2.189637e-01 -3.067324e-01  8.698932e-09  1.033044e-08
+ 1.012029e-02  4.473136e-03 -2.191786e-01 -3.067221e-01 -7.255423e-08 -6.048960e-09
+ 1.012029e-02  4.899979e-03 -2.193876e-01 -3.067097e-01 -2.695112e-09  9.269426e-09
+ 1.012029e-02  5.292503e-03 -2.195927e-01 -3.066961e-01  3.972775e-09 -7.377195e-09
+ 1.012029e-02  5.657854e-03 -2.197949e-01 -3.066818e-01  1.082517e-08  1.208966e-08
+ 1.012029e-02  6.001000e-03 -2.199951e-01 -3.066673e-01  1.207968e-06  4.549423e-07
+ 1.012029e-02  6.325555e-03 -2.201932e-01 -3.066525e-01  1.502373e-09 -1.698839e-08
+ 1.012029e-02  6.634250e-03 -2.203904e-01 -3.066379e-01  2.393712e-08  6.229895e-08
+ 1.012029e-02  6.929203e-03 -2.205867e-01 -3.066236e-01  2.253073e-08  7.303856e-08
+ 1.012029e-02  7.212103e-03 -2.207823e-01 -3.066096e-01 -4.703579e-09  9.384000e-08
+ 1.012029e-02  7.484315e-03 -2.209770e-01 -3.065962e-01  1.893434e-07 -1.380638e-08
+ 1.012029e-02  7.746967e-03 -2.211710e-01 -3.065830e-01  1.604614e-07  5.101900e-08
+ 1.012029e-02  8.001000e-03 -2.213657e-01 -3.065709e-01  1.402425e-07  6.643614e-08
+ 1.012029e-02  8.247211e-03 -2.215661e-01 -3.065613e-01 -1.018274e-05 -3.261515e-06
+ 1.012029e-02  8.486281e-03 -2.216932e-01 -3.065270e-01  8.732345e-05  3.041853e-05
+ 1.012029e-02  8.718798e-03 -2.219528e-01 -3.065401e-01 -3.041751e-06 -1.441617e-07
+ 1.012029e-02  8.945272e-03 -2.222250e-01 -3.065638e-01 -7.455023e-05 -2.987529e-05
+ 1.012029e-02  9.166151e-03 -2.222711e-01 -3.064941e-01  2.093088e-05  1.026118e-05
+ 1.012029e-02  9.381832e-03 -2.224949e-01 -3.065004e-01  1.462952e-06  6.910343e-07
+ 1.012029e-02  9.592663e-03 -2.226946e-01 -3.064977e-01  1.130961e-06 -3.406864e-07
+ 1.012029e-02  9.798959e-03 -2.228841e-01 -3.064898e-01 -3.781893e-06  7.007730e-07
+ 1.012029e-02  1.000100e-02 -2.230693e-01 -3.064802e-01 -6.163914e-07  6.225940e-07
+ 1.012029e-02  1.019904e-02 -2.232547e-01 -3.064732e-01 -3.881641e-06  3.965316e-06
+ 1.012029e-02  1.039330e-02 -2.234372e-01 -3.064683e-01 -1.849609e-07 -5.376039e-08
+ 1.012029e-02  1.058401e-02 -2.236204e-01 -3.064603e-01 -3.468425e-07  8.617376e-07
+ 1.012029e-02  1.077133e-02 -2.238195e-01 -3.064417e-01 -1.685707e-06  7.657577e-06
+ 1.012029e-02  1.095545e-02 -2.240359e-01 -3.064022e-01 -8.031497e-05  6.484898e-05
+ 1.012029e-02  1.113653e-02 -2.242891e-01 -3.063581e-01 -2.933088e-05  7.854583e-05
+ 1.012029e-02  1.131471e-02 -2.244744e-01 -3.063936e-01  1.140147e-02  1.638252e-03
+ 1.012029e-02  1.149013e-02 -2.244480e-01 -3.064752e-01  2.615852e-03  8.816877e-04
+ 1.012029e-02  1.166290e-02 -2.261463e-01 -3.071702e-01  9.445369e-03  1.694291e-03
+ 1.012029e-02  1.183316e-02 -2.318671e-01 -3.078452e-01  3.756653e-03  4.365115e-04
+ 1.012029e-02  1.200100e-02 -2.275987e-01 -3.070282e-01 -2.727996e-03 -6.482364e-04
+ 1.012029e-02  1.216653e-02 -2.321878e-01 -3.080488e-01 -6.490120e-04 -2.209563e-04
+ 1.012029e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.265011e-02 -2.277120e-01 -3.059803e-01 -2.277120e-01 -3.059803e-01
+ 1.012029e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.296248e-02 -2.358904e-01 -3.078878e-01 -9.852285e-03 -1.876955e-05
+ 1.012029e-02  1.311588e-02 -2.368990e-01 -3.077307e-01 -5.864612e-03 -9.807369e-04
+ 1.012029e-02  1.326750e-02 -2.304017e-01 -3.080126e-01 -2.460176e-04 -1.159876e-03
+ 1.012029e-02  1.341741e-02 -2.307460e-01 -3.079238e-01  4.181191e-04 -1.013167e-04
+ 1.012029e-02  1.356566e-02 -2.311378e-01 -3.080198e-01 -3.837396e-04 -4.499299e-04
+ 1.012029e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.385741e-02 -2.310804e-01 -3.078565e-01 -3.112597e-04 -1.631572e-04
+ 1.012029e-02  1.400100e-02 -2.327755e-01 -3.068893e-01  4.189550e-03  1.302146e-04
+ 1.012029e-02  1.414314e-02 -2.320324e-01 -3.072864e-01 -6.399040e-04  4.344467e-04
+ 1.012029e-02  1.428386e-02 -2.327234e-01 -3.069373e-01 -5.290369e-04 -2.482264e-05
+ 1.012029e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.456122e-02 -2.328028e-01 -3.068483e-01 -1.123757e-03 -3.038372e-05
+ 1.012029e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.483340e-02 -2.327328e-01 -3.064778e-01 -1.084122e-03  5.603862e-04
+ 1.012029e-02  1.496763e-02 -2.320101e-01 -3.065968e-01 -2.320101e-01 -3.065968e-01
+ 1.012029e-02  1.510067e-02 -2.328632e-01 -3.064415e-01 -2.328632e-01 -3.064415e-01
+ 1.012029e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.536329e-02 -2.307737e-01 -3.076819e-01 -2.864742e-06  1.241957e-05
+ 1.012029e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.574902e-02 -2.310016e-01 -3.070001e-01  8.855497e-04 -5.406171e-04
+ 1.012029e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.907978e-02 -2.362184e-01 -3.060471e-01 -5.441458e-03  1.621144e-03
+ 1.012029e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.012029e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.000000e-06 -2.182191e-01 -3.067674e-01 -1.979159e-08  5.042014e-08
+ 1.024600e-02  2.001000e-03 -2.186469e-01 -3.068742e-01  2.854370e-09 -2.494930e-10
+ 1.024600e-02  2.829427e-03 -2.189073e-01 -3.068877e-01  1.721104e-09  2.995567e-09
+ 1.024600e-02  3.465102e-03 -2.191402e-01 -3.068873e-01 -4.816478e-09 -2.838244e-08
+ 1.024600e-02  4.001000e-03 -2.193592e-01 -3.068804e-01  1.500883e-09 -2.015708e-08
+ 1.024600e-02  4.473136e-03 -2.195697e-01 -3.068700e-01  2.095223e-09  3.263119e-09
+ 1.024600e-02  4.899979e-03 -2.197747e-01 -3.068575e-01  2.476455e-09  1.694522e-09
+ 1.024600e-02  5.292503e-03 -2.199758e-01 -3.068438e-01 -6.189173e-07 -1.988698e-07
+ 1.024600e-02  5.657854e-03 -2.201738e-01 -3.068293e-01  1.750093e-09  3.247274e-08
+ 1.024600e-02  6.001000e-03 -2.203698e-01 -3.068145e-01  3.643263e-08  2.330876e-08
+ 1.024600e-02  6.325555e-03 -2.205644e-01 -3.067997e-01  9.609358e-09  1.571822e-08
+ 1.024600e-02  6.634250e-03 -2.207578e-01 -3.067850e-01 -5.231713e-08 -3.479753e-08
+ 1.024600e-02  6.929203e-03 -2.209500e-01 -3.067704e-01  2.886322e-07  6.526050e-08
+ 1.024600e-02  7.212103e-03 -2.211422e-01 -3.067563e-01  8.030836e-08 -8.329001e-08
+ 1.024600e-02  7.484315e-03 -2.213340e-01 -3.067427e-01  5.160024e-09 -5.297390e-09
+ 1.024600e-02  7.746967e-03 -2.215262e-01 -3.067299e-01 -9.550139e-06 -3.408922e-06
+ 1.024600e-02  8.001000e-03 -2.216810e-01 -3.067049e-01  3.899753e-06  1.163174e-06
+ 1.024600e-02  8.247211e-03 -2.219132e-01 -3.067071e-01 -1.713044e-06 -8.535089e-08
+ 1.024600e-02  8.486281e-03 -2.221604e-01 -3.067191e-01 -4.520599e-05 -1.803544e-05
+ 1.024600e-02  8.718798e-03 -2.222480e-01 -3.066672e-01 -2.448889e-05 -1.002150e-05
+ 1.024600e-02  8.945272e-03 -2.224509e-01 -3.066624e-01  9.110111e-07 -4.191678e-07
+ 1.024600e-02  9.166151e-03 -2.226364e-01 -3.066511e-01  5.242907e-06  2.810673e-06
+ 1.024600e-02  9.381832e-03 -2.228386e-01 -3.066480e-01 -1.336075e-07  9.443225e-07
+ 1.024600e-02  9.592663e-03 -2.230262e-01 -3.066405e-01 -5.399689e-07 -4.999958e-07
+ 1.024600e-02  9.798959e-03 -2.232113e-01 -3.066328e-01 -2.118207e-07 -4.666030e-08
+ 1.024600e-02  1.000100e-02 -2.233967e-01 -3.066250e-01 -1.457570e-06  1.637894e-06
+ 1.024600e-02  1.019904e-02 -2.235822e-01 -3.066168e-01 -2.684141e-07  1.947111e-08
+ 1.024600e-02  1.039330e-02 -2.237656e-01 -3.066099e-01 -1.362596e-05  2.919053e-06
+ 1.024600e-02  1.058401e-02 -2.239438e-01 -3.066039e-01  5.005481e-06  3.659565e-07
+ 1.024600e-02  1.077133e-02 -2.241451e-01 -3.066051e-01 -1.428103e-05 -5.663842e-06
+ 1.024600e-02  1.095545e-02 -2.243244e-01 -3.065807e-01 -7.529381e-06  1.686378e-05
+ 1.024600e-02  1.113653e-02 -2.245632e-01 -3.065594e-01 -4.026281e-05  3.457487e-05
+ 1.024600e-02  1.131471e-02 -2.248144e-01 -3.065319e-01 -8.550919e-05  7.785759e-05
+ 1.024600e-02  1.149013e-02 -2.250406e-01 -3.065157e-01  4.920765e-03 -2.288716e-05
+ 1.024600e-02  1.166290e-02 -2.250190e-01 -3.066078e-01  1.013640e-02  1.775703e-03
+ 1.024600e-02  1.183316e-02 -2.358688e-01 -3.074109e-01 -5.988414e-03 -3.023580e-04
+ 1.024600e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.265011e-02 -2.323851e-01 -3.087233e-01 -2.113933e-03 -1.859185e-03
+ 1.024600e-02  1.280725e-02 -2.359901e-01 -3.075003e-01 -5.183333e-03  2.257072e-04
+ 1.024600e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.311588e-02 -2.323534e-01 -3.075819e-01 -2.323534e-01 -3.075819e-01
+ 1.024600e-02  1.326750e-02 -2.308852e-01 -3.079901e-01 -8.988893e-05 -4.510958e-04
+ 1.024600e-02  1.341741e-02 -2.305389e-01 -3.079188e-01  1.068121e-04  8.399579e-04
+ 1.024600e-02  1.356566e-02 -2.324576e-01 -3.077276e-01 -2.324576e-01 -3.077276e-01
+ 1.024600e-02  1.371231e-02 -2.368644e-01 -3.071546e-01 -5.959473e-03  4.312492e-04
+ 1.024600e-02  1.385741e-02 -2.312907e-01 -3.071964e-01 -5.694384e-04  4.087204e-04
+ 1.024600e-02  1.400100e-02 -2.327827e-01 -3.068770e-01 -2.327827e-01 -3.068770e-01
+ 1.024600e-02  1.414314e-02 -2.320443e-01 -3.072601e-01 -1.317637e-03  5.806702e-04
+ 1.024600e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.456122e-02 -2.328686e-01 -3.068386e-01 -1.922576e-03  2.595152e-04
+ 1.024600e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.483340e-02 -2.309527e-01 -3.075069e-01 -2.309527e-01 -3.075069e-01
+ 1.024600e-02  1.496763e-02 -2.318496e-01 -3.069138e-01 -9.305289e-04  4.531611e-05
+ 1.024600e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.523255e-02 -2.310750e-01 -3.073271e-01  1.757964e-03 -7.399099e-04
+ 1.024600e-02  1.536329e-02 -2.307688e-01 -3.077011e-01 -5.022886e-05 -5.057593e-04
+ 1.024600e-02  1.549293e-02 -2.307606e-01 -3.077188e-01 -2.307606e-01 -3.077188e-01
+ 1.024600e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.574902e-02 -2.308037e-01 -3.076040e-01 -2.308037e-01 -3.076040e-01
+ 1.024600e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.024600e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.000000e-06 -2.186306e-01 -2.186306e-01  2.064434e-09 -6.250923e-09
+ 1.037019e-02  2.001000e-03 -2.190528e-01 -3.070215e-01 -3.631553e-11 -1.627883e-09
+ 1.037019e-02  2.829427e-03 -2.193086e-01 -3.070350e-01  5.936834e-08  8.648867e-09
+ 1.037019e-02  3.465102e-03 -2.195371e-01 -3.070345e-01  4.113804e-09 -1.294114e-08
+ 1.037019e-02  4.001000e-03 -2.197518e-01 -3.070275e-01  3.057287e-09 -3.092414e-09
+ 1.037019e-02  4.473136e-03 -2.199581e-01 -3.070170e-01  3.718932e-08  1.215995e-08
+ 1.037019e-02  4.899979e-03 -2.201589e-01 -3.070044e-01  6.457617e-09 -9.718541e-09
+ 1.037019e-02  5.292503e-03 -2.203558e-01 -3.069906e-01  1.032135e-08  5.310404e-09
+ 1.037019e-02  5.657854e-03 -2.205500e-01 -3.069761e-01  2.077506e-08  1.560766e-09
+ 1.037019e-02  6.001000e-03 -2.207421e-01 -3.069612e-01  3.019445e-08  8.285862e-09
+ 1.037019e-02  6.325555e-03 -2.209328e-01 -3.069462e-01  9.739156e-08  1.177799e-08
+ 1.037019e-02  6.634250e-03 -2.211225e-01 -3.069314e-01  1.656603e-08 -2.315487e-08
+ 1.037019e-02  6.929203e-03 -2.213120e-01 -3.069167e-01  2.558391e-07  5.179876e-07
+ 1.037019e-02  7.212103e-03 -2.214797e-01 -3.068953e-01  1.230887e-04  4.279383e-05
+ 1.037019e-02  7.484315e-03 -2.216895e-01 -3.068892e-01  5.660369e-06  1.924327e-06
+ 1.037019e-02  7.746967e-03 -2.218828e-01 -3.068776e-01 -8.661850e-07 -1.922947e-07
+ 1.037019e-02  8.001000e-03 -2.220939e-01 -3.068744e-01 -1.347669e-05 -5.269856e-06
+ 1.037019e-02  8.247211e-03 -2.222483e-01 -3.068493e-01 -4.669309e-05 -1.885650e-05
+ 1.037019e-02  8.486281e-03 -2.224081e-01 -3.068258e-01  5.152915e-07  5.386113e-07
+ 1.037019e-02  8.718798e-03 -2.226030e-01 -3.068186e-01  1.743758e-06  2.832098e-07
+ 1.037019e-02  8.945272e-03 -2.227968e-01 -3.068107e-01  6.370129e-07  5.143571e-07
+ 1.037019e-02  9.166151e-03 -2.229832e-01 -3.068010e-01 -1.299132e-08 -3.275198e-08
+ 1.037019e-02  9.381832e-03 -2.231699e-01 -3.067919e-01 -2.696610e-07  3.548551e-07
+ 1.037019e-02  9.592663e-03 -2.233554e-01 -3.067833e-01 -3.429141e-07  7.019707e-07
+ 1.037019e-02  9.798959e-03 -2.235404e-01 -3.067760e-01  4.484142e-07  2.472263e-07
+ 1.037019e-02  1.000100e-02 -2.237238e-01 -3.067692e-01 -3.095797e-07  4.545040e-08
+ 1.037019e-02  1.019904e-02 -2.239049e-01 -3.067614e-01 -2.073184e-05 -5.707931e-06
+ 1.037019e-02  1.039330e-02 -2.240922e-01 -3.067549e-01  1.990464e-06  7.902229e-07
+ 1.037019e-02  1.058401e-02 -2.243006e-01 -3.067584e-01 -1.668351e-06  7.815053e-06
+ 1.037019e-02  1.077133e-02 -2.244547e-01 -3.067422e-01  9.627701e-07 -1.488432e-06
+ 1.037019e-02  1.095545e-02 -2.246523e-01 -3.067456e-01  1.327725e-06  1.795970e-06
+ 1.037019e-02  1.113653e-02 -2.248504e-01 -3.067382e-01 -2.242640e-05  5.266442e-06
+ 1.037019e-02  1.131471e-02 -2.250769e-01 -3.067155e-01 -4.615926e-06 -4.426404e-06
+ 1.037019e-02  1.149013e-02 -2.253569e-01 -3.066761e-01 -8.013463e-05  4.162773e-05
+ 1.037019e-02  1.166290e-02 -2.256436e-01 -3.066760e-01  1.007739e-02  1.710986e-03
+ 1.037019e-02  1.183316e-02 -2.256868e-01 -3.067543e-01 -2.256868e-01 -3.067543e-01
+ 1.037019e-02  1.200100e-02 -2.255829e-01 -3.068587e-01 -2.255829e-01 -3.068587e-01
+ 1.037019e-02  1.216653e-02 -2.323103e-01 -3.089523e-01  2.082726e-03  3.216448e-04
+ 1.037019e-02  1.232983e-02 -2.260126e-01 -3.073952e-01  4.429427e-03 -1.405154e-04
+ 1.037019e-02  1.249100e-02 -2.305139e-01 -3.084024e-01  1.051047e-03  4.042627e-04
+ 1.037019e-02  1.265011e-02 -2.335533e-01 -3.091104e-01  3.188442e-03 -1.345086e-03
+ 1.037019e-02  1.280725e-02 -2.302381e-01 -3.078579e-01 -2.302381e-01 -3.078579e-01
+ 1.037019e-02  1.296248e-02 -2.307692e-01 -3.076797e-01 -3.594982e-05 -3.384609e-04
+ 1.037019e-02  1.311588e-02 -2.306544e-01 -3.074340e-01  8.072065e-04  3.862063e-04
+ 1.037019e-02  1.326750e-02 -2.314362e-01 -3.078360e-01 -2.314362e-01 -3.078360e-01
+ 1.037019e-02  1.341741e-02 -2.313838e-01 -3.078614e-01 -2.313838e-01 -3.078614e-01
+ 1.037019e-02  1.356566e-02 -2.295275e-01 -3.059728e-01 -4.787787e-04 -7.840967e-04
+ 1.037019e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.385741e-02 -2.330656e-01 -3.072066e-01 -2.743935e-05  2.821824e-05
+ 1.037019e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.414314e-02 -2.320521e-01 -3.072455e-01 -1.510803e-03  1.133865e-03
+ 1.037019e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.442321e-02 -2.324754e-01 -3.066845e-01 -3.465261e-04 -1.822448e-04
+ 1.037019e-02  1.456122e-02 -2.327410e-01 -3.068014e-01 -1.880909e-03  9.420938e-04
+ 1.037019e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.483340e-02 -2.309595e-01 -3.074837e-01  1.964389e-03 -6.971896e-04
+ 1.037019e-02  1.496763e-02 -2.318578e-01 -3.069250e-01 -1.474561e-04 -1.971610e-04
+ 1.037019e-02  1.510067e-02 -2.309356e-01 -3.070174e-01  1.437246e-03 -9.439252e-05
+ 1.037019e-02  1.523255e-02 -2.307694e-01 -3.076966e-01 -2.307694e-01 -3.076966e-01
+ 1.037019e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.574902e-02 -2.307620e-01 -3.077232e-01  1.542326e-03 -1.849865e-03
+ 1.037019e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.685330e-02 -2.294069e-01 -3.033676e-01 -2.294069e-01 -3.033676e-01
+ 1.037019e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.037019e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.000000e-06 -2.190400e-01 -2.190400e-01  6.368975e-10 -2.342682e-09
+ 1.049290e-02  2.001000e-03 -2.194562e-01 -3.071681e-01  8.960468e-10 -8.643049e-09
+ 1.049290e-02  2.829427e-03 -2.197072e-01 -3.071814e-01  2.071720e-09  1.416505e-08
+ 1.049290e-02  3.465102e-03 -2.199312e-01 -3.071809e-01 -2.993179e-08 -9.763527e-09
+ 1.049290e-02  4.001000e-03 -2.201416e-01 -3.071739e-01  9.640007e-09  4.740044e-09
+ 1.049290e-02  4.473136e-03 -2.203437e-01 -3.071633e-01 -5.110085e-09 -5.196554e-09
+ 1.049290e-02  4.899979e-03 -2.205404e-01 -3.071506e-01  1.308144e-08  1.279049e-09
+ 1.049290e-02  5.292503e-03 -2.207333e-01 -3.071367e-01  1.585615e-08 -1.685573e-08
+ 1.049290e-02  5.657854e-03 -2.209235e-01 -3.071221e-01  6.680143e-08  1.999570e-08
+ 1.049290e-02  6.001000e-03 -2.211120e-01 -3.071072e-01 -1.131143e-07  1.072372e-07
+ 1.049290e-02  6.325555e-03 -2.213013e-01 -3.070928e-01 -4.245188e-06 -1.333056e-06
+ 1.049290e-02  6.634250e-03 -2.214561e-01 -3.070672e-01  1.387167e-05  4.719182e-06
+ 1.049290e-02  6.929203e-03 -2.216731e-01 -3.070636e-01 -2.400206e-06 -5.448603e-07
+ 1.049290e-02  7.212103e-03 -2.218618e-01 -3.070500e-01  4.408842e-06  1.534521e-06
+ 1.049290e-02  7.484315e-03 -2.220604e-01 -3.070418e-01  2.857009e-06  1.724989e-06
+ 1.049290e-02  7.746967e-03 -2.222550e-01 -3.070328e-01 -5.646675e-05 -2.258655e-05
+ 1.049290e-02  8.001000e-03 -2.223569e-01 -3.069857e-01  8.011935e-06  4.105686e-06
+ 1.049290e-02  8.247211e-03 -2.225685e-01 -3.069852e-01  3.934545e-06  3.300670e-07
+ 1.049290e-02  8.486281e-03 -2.227548e-01 -3.069732e-01  5.418258e-06  2.991042e-06
+ 1.049290e-02  8.718798e-03 -2.229461e-01 -3.069650e-01 -3.727248e-07 -9.657673e-08
+ 1.049290e-02  8.945272e-03 -2.231308e-01 -3.069545e-01 -1.909992e-07  3.515657e-07
+ 1.049290e-02  9.166151e-03 -2.233156e-01 -3.069450e-01  5.609809e-07  8.814046e-08
+ 1.049290e-02  9.381832e-03 -2.234996e-01 -3.069359e-01  1.356458e-07 -1.480810e-08
+ 1.049290e-02  9.592663e-03 -2.236823e-01 -3.069268e-01  1.216383e-06  1.090683e-06
+ 1.049290e-02  9.798959e-03 -2.238707e-01 -3.069204e-01 -4.169950e-07  4.010184e-07
+ 1.049290e-02  1.000100e-02 -2.240384e-01 -3.069079e-01 -3.367491e-07  4.555529e-07
+ 1.049290e-02  1.019904e-02 -2.242557e-01 -3.069155e-01  6.608549e-07  4.067622e-07
+ 1.049290e-02  1.039330e-02 -2.244128e-01 -3.068989e-01  1.428647e-05  6.765167e-06
+ 1.049290e-02  1.058401e-02 -2.246038e-01 -3.068948e-01  5.923767e-06  4.903979e-06
+ 1.049290e-02  1.077133e-02 -2.248113e-01 -3.069006e-01 -2.994059e-06  3.775379e-06
+ 1.049290e-02  1.095545e-02 -2.249972e-01 -3.068973e-01 -2.294839e-06  1.790244e-06
+ 1.049290e-02  1.113653e-02 -2.251876e-01 -3.068999e-01  1.646068e-06  1.559867e-06
+ 1.049290e-02  1.131471e-02 -2.253858e-01 -3.068978e-01  3.718193e-06  3.571291e-06
+ 1.049290e-02  1.149013e-02 -2.256351e-01 -3.069006e-01 -2.929790e-05 -1.304776e-06
+ 1.049290e-02  1.166290e-02 -2.259108e-01 -3.068898e-01 -1.479533e-05  5.697984e-05
+ 1.049290e-02  1.183316e-02 -2.262609e-01 -3.068896e-01 -6.132511e-05 -6.147923e-06
+ 1.049290e-02  1.200100e-02 -2.265051e-01 -3.069730e-01  1.113955e-04 -1.947993e-05
+ 1.049290e-02  1.216653e-02 -2.269801e-01 -3.071200e-01 -2.632188e-04  1.723900e-04
+ 1.049290e-02  1.232983e-02 -2.315590e-01 -3.082034e-01 -2.315590e-01 -3.082034e-01
+ 1.049290e-02  1.249100e-02 -2.303121e-01 -3.076650e-01  5.558146e-03  8.886777e-05
+ 1.049290e-02  1.265011e-02 -2.303814e-01 -3.084955e-01  3.459039e-04 -1.235188e-03
+ 1.049290e-02  1.280725e-02 -2.307424e-01 -3.077683e-01  5.116258e-04  1.850506e-05
+ 1.049290e-02  1.296248e-02 -2.311144e-01 -3.073047e-01 -3.426342e-04  3.736778e-04
+ 1.049290e-02  1.311588e-02 -2.307764e-01 -3.076183e-01 -2.307764e-01 -3.076183e-01
+ 1.049290e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.341741e-02 -2.307242e-01 -3.080235e-01 -9.671290e-05 -5.194706e-04
+ 1.049290e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.371231e-02 -2.323940e-01 -3.067777e-01 -1.627404e-03  9.178505e-04
+ 1.049290e-02  1.385741e-02 -2.328176e-01 -3.070280e-01  3.985896e-03  3.870465e-04
+ 1.049290e-02  1.400100e-02 -2.327892e-01 -3.068958e-01 -1.686223e-03  4.105581e-04
+ 1.049290e-02  1.414314e-02 -2.323791e-01 -3.068818e-01 -1.617393e-03  8.282146e-04
+ 1.049290e-02  1.428386e-02 -2.325601e-01 -3.069605e-01 -1.098152e-03  8.939970e-04
+ 1.049290e-02  1.442321e-02 -2.324661e-01 -3.066907e-01 -1.495959e-03  7.829373e-04
+ 1.049290e-02  1.456122e-02 -2.324518e-01 -3.066103e-01 -9.411303e-04  9.861434e-04
+ 1.049290e-02  1.469794e-02 -2.308608e-01 -3.074346e-01 -2.308608e-01 -3.074346e-01
+ 1.049290e-02  1.483340e-02 -2.318197e-01 -3.064943e-01 -1.335415e-03 -1.106409e-04
+ 1.049290e-02  1.496763e-02 -2.319377e-01 -3.067700e-01 -1.169353e-03  9.315361e-04
+ 1.049290e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.523255e-02 -2.307675e-01 -3.077020e-01  4.283840e-04 -3.607061e-04
+ 1.049290e-02  1.536329e-02 -2.315712e-01 -3.069519e-01  6.763456e-05 -1.800430e-05
+ 1.049290e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.562150e-02 -2.312627e-01 -3.062439e-01 -5.035391e-04  1.479232e-03
+ 1.049290e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.624908e-02 -2.307357e-01 -3.051196e-01  9.316466e-05  2.382759e-03
+ 1.049290e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.049290e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.000000e-06 -2.194474e-01 -2.194474e-01  2.189274e-09  3.081839e-09
+ 1.061420e-02  2.001000e-03 -2.198571e-01 -3.073140e-01  4.699138e-08  1.766701e-08
+ 1.061420e-02  2.829427e-03 -2.201033e-01 -3.073272e-01  4.654239e-09  1.877580e-09
+ 1.061420e-02  3.465102e-03 -2.203228e-01 -3.073266e-01  1.706930e-08 -1.151473e-09
+ 1.061420e-02  4.001000e-03 -2.205289e-01 -3.073195e-01 -8.612941e-08 -3.807689e-08
+ 1.061420e-02  4.473136e-03 -2.207268e-01 -3.073089e-01  1.791426e-08 -1.227701e-08
+ 1.061420e-02  4.899979e-03 -2.209194e-01 -3.072962e-01  5.704373e-08  3.122391e-09
+ 1.061420e-02  5.292503e-03 -2.211086e-01 -3.072820e-01 -1.465403e-07  2.705486e-07
+ 1.061420e-02  5.657854e-03 -2.212883e-01 -3.072652e-01  5.679011e-06  1.890005e-06
+ 1.061420e-02  6.001000e-03 -2.214783e-01 -3.072520e-01 -2.531973e-06 -5.010112e-07
+ 1.061420e-02  6.325555e-03 -2.216649e-01 -3.072386e-01 -1.252143e-07 -1.498541e-07
+ 1.061420e-02  6.634250e-03 -2.218527e-01 -3.072246e-01  1.806762e-06  5.694088e-07
+ 1.061420e-02  6.929203e-03 -2.220476e-01 -3.072152e-01 -5.703240e-06 -1.489218e-06
+ 1.061420e-02  7.212103e-03 -2.222609e-01 -3.072140e-01 -7.384205e-05 -2.921099e-05
+ 1.061420e-02  7.484315e-03 -2.222970e-01 -3.071409e-01  2.076263e-05  8.441038e-06
+ 1.061420e-02  7.746967e-03 -2.225425e-01 -3.071539e-01  2.448447e-06  4.324017e-07
+ 1.061420e-02  8.001000e-03 -2.227310e-01 -3.071430e-01  1.898529e-07 -2.027555e-07
+ 1.061420e-02  8.247211e-03 -2.229157e-01 -3.071316e-01  1.788579e-06  1.096454e-06
+ 1.061420e-02  8.486281e-03 -2.230984e-01 -3.071202e-01 -2.105008e-07 -4.736139e-08
+ 1.061420e-02  8.718798e-03 -2.232810e-01 -3.071091e-01 -8.525503e-08  4.226655e-09
+ 1.061420e-02  8.945272e-03 -2.234635e-01 -3.070985e-01  6.914883e-07  3.527144e-07
+ 1.061420e-02  9.166151e-03 -2.236467e-01 -3.070890e-01  1.460003e-06  8.637638e-07
+ 1.061420e-02  9.381832e-03 -2.238290e-01 -3.070800e-01  4.551171e-08 -7.270266e-08
+ 1.061420e-02  9.592663e-03 -2.239927e-01 -3.070646e-01  2.206224e-06  8.594316e-07
+ 1.061420e-02  9.798959e-03 -2.242125e-01 -3.070711e-01  1.732637e-07  7.888652e-07
+ 1.061420e-02  1.000100e-02 -2.243858e-01 -3.070602e-01 -1.138640e-06 -4.620686e-07
+ 1.061420e-02  1.019904e-02 -2.245718e-01 -3.070556e-01  3.710691e-08  1.462749e-06
+ 1.061420e-02  1.039330e-02 -2.247735e-01 -3.070595e-01 -5.024575e-06 -2.642453e-06
+ 1.061420e-02  1.058401e-02 -2.249593e-01 -3.070562e-01 -2.418893e-07 -3.593804e-07
+ 1.061420e-02  1.077133e-02 -2.251545e-01 -3.070558e-01 -3.621650e-06  2.242400e-06
+ 1.061420e-02  1.095545e-02 -2.253728e-01 -3.070650e-01 -1.876255e-05 -6.901492e-06
+ 1.061420e-02  1.113653e-02 -2.255832e-01 -3.070731e-01  5.023139e-06  1.326966e-05
+ 1.061420e-02  1.131471e-02 -2.257741e-01 -3.070743e-01  1.089966e-05  2.505070e-06
+ 1.061420e-02  1.149013e-02 -2.260419e-01 -3.071132e-01 -6.108808e-06  6.908430e-06
+ 1.061420e-02  1.166290e-02 -2.263102e-01 -3.071467e-01  1.178606e-05  5.387695e-06
+ 1.061420e-02  1.183316e-02 -2.266562e-01 -3.072126e-01  1.233879e-05  1.009173e-05
+ 1.061420e-02  1.200100e-02 -2.310553e-01 -3.085524e-01 -2.681292e-04 -1.220189e-03
+ 1.061420e-02  1.216653e-02 -2.334205e-01 -3.090362e-01 -2.334205e-01 -3.090362e-01
+ 1.061420e-02  1.232983e-02 -2.304966e-01 -3.084918e-01  4.590021e-04  3.774667e-04
+ 1.061420e-02  1.249100e-02 -2.305951e-01 -3.082113e-01 -2.353402e-04 -1.585808e-04
+ 1.061420e-02  1.265011e-02 -2.314613e-01 -3.076579e-01 -5.235620e-03 -4.293110e-04
+ 1.061420e-02  1.280725e-02 -2.304956e-01 -3.084881e-01 -6.221206e-05 -1.243674e-03
+ 1.061420e-02  1.296248e-02 -2.326597e-01 -3.069069e-01 -1.878563e-03  8.853271e-04
+ 1.061420e-02  1.311588e-02 -2.306961e-01 -3.079882e-01  8.799286e-04 -9.258207e-04
+ 1.061420e-02  1.326750e-02 -2.306928e-01 -3.075902e-01 -2.306928e-01 -3.075902e-01
+ 1.061420e-02  1.341741e-02 -2.360098e-01 -3.069661e-01 -3.894362e-03  9.548658e-04
+ 1.061420e-02  1.356566e-02 -2.330391e-01 -3.071918e-01 -1.457944e-03  2.454477e-04
+ 1.061420e-02  1.371231e-02 -2.321378e-01 -3.066705e-01 -2.321378e-01 -3.066705e-01
+ 1.061420e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.400100e-02 -2.320844e-01 -3.072277e-01 -1.570363e-03  1.231587e-03
+ 1.061420e-02  1.414314e-02 -2.320550e-01 -3.066846e-01 -2.320550e-01 -3.066846e-01
+ 1.061420e-02  1.428386e-02 -2.313837e-01 -3.065998e-01 -4.955410e-04  8.077051e-04
+ 1.061420e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.469794e-02 -2.302256e-01 -3.056300e-01  4.325170e-04  2.408809e-03
+ 1.061420e-02  1.483340e-02 -2.309458e-01 -3.074942e-01  1.273644e-03 -3.204311e-04
+ 1.061420e-02  1.496763e-02 -2.319693e-01 -3.067522e-01 -2.319693e-01 -3.067522e-01
+ 1.061420e-02  1.510067e-02 -2.310236e-01 -3.068811e-01 -2.310236e-01 -3.068811e-01
+ 1.061420e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.549293e-02 -2.307354e-01 -3.073261e-01  2.334163e-03 -8.070273e-04
+ 1.061420e-02  1.562150e-02 -2.315441e-01 -3.059699e-01 -2.970940e-04  3.221560e-04
+ 1.061420e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.624908e-02 -2.310945e-01 -3.065417e-01 -2.310945e-01 -3.065417e-01
+ 1.061420e-02  1.637171e-02 -2.314233e-01 -3.060305e-01 -2.314233e-01 -3.060305e-01
+ 1.061420e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.061420e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.000000e-06 -2.198530e-01 -2.198530e-01  9.624282e-09  3.229558e-08
+ 1.073413e-02  2.001000e-03 -2.202557e-01 -3.074593e-01  1.193969e-08  1.673416e-09
+ 1.073413e-02  2.829427e-03 -2.204972e-01 -3.074725e-01  5.623270e-07  2.056580e-07
+ 1.073413e-02  3.465102e-03 -2.207120e-01 -3.074717e-01  6.567992e-09 -8.339939e-09
+ 1.073413e-02  4.001000e-03 -2.209138e-01 -3.074646e-01  5.606421e-08 -1.372761e-09
+ 1.073413e-02  4.473136e-03 -2.211083e-01 -3.074540e-01 -8.891561e-07 -2.092507e-07
+ 1.073413e-02  4.899979e-03 -2.212872e-01 -3.074382e-01 -3.399351e-05 -1.147418e-05
+ 1.073413e-02  5.292503e-03 -2.214833e-01 -3.074279e-01 -5.669216e-07 -4.666428e-08
+ 1.073413e-02  5.657854e-03 -2.216667e-01 -3.074137e-01 -1.954922e-07 -9.561735e-08
+ 1.073413e-02  6.001000e-03 -2.218548e-01 -3.074007e-01  4.776295e-07  5.044411e-08
+ 1.073413e-02  6.325555e-03 -2.220501e-01 -3.073919e-01 -6.047366e-06 -1.580950e-06
+ 1.073413e-02  6.634250e-03 -2.222624e-01 -3.073905e-01 -7.894800e-05 -3.094160e-05
+ 1.073413e-02  6.929203e-03 -2.222492e-01 -3.072992e-01  2.906463e-05  1.186432e-05
+ 1.073413e-02  7.212103e-03 -2.225263e-01 -3.073245e-01  2.424553e-07 -9.505552e-09
+ 1.073413e-02  7.484315e-03 -2.227129e-01 -3.073132e-01  1.633101e-06  1.030440e-07
+ 1.073413e-02  7.746967e-03 -2.228926e-01 -3.072996e-01  1.891068e-06  1.131837e-06
+ 1.073413e-02  8.001000e-03 -2.230748e-01 -3.072881e-01 -2.613139e-07 -2.833209e-08
+ 1.073413e-02  8.247211e-03 -2.232546e-01 -3.072758e-01 -7.315718e-08 -6.295216e-09
+ 1.073413e-02  8.486281e-03 -2.234345e-01 -3.072642e-01  1.328774e-07  1.820346e-07
+ 1.073413e-02  8.718798e-03 -2.236146e-01 -3.072532e-01  4.376929e-08 -1.139695e-08
+ 1.073413e-02  8.945272e-03 -2.237943e-01 -3.072425e-01 -1.511855e-07 -5.921371e-08
+ 1.073413e-02  9.166151e-03 -2.239790e-01 -3.072343e-01 -1.995460e-05 -7.372673e-06
+ 1.073413e-02  9.381832e-03 -2.241740e-01 -3.072306e-01 -9.620466e-07 -2.620010e-08
+ 1.073413e-02  9.592663e-03 -2.243634e-01 -3.072261e-01 -1.319150e-05 -5.350149e-06
+ 1.073413e-02  9.798959e-03 -2.245319e-01 -3.072134e-01 -4.584833e-07 -1.957249e-07
+ 1.073413e-02  1.000100e-02 -2.247241e-01 -3.072109e-01 -8.543932e-06 -3.451751e-06
+ 1.073413e-02  1.019904e-02 -2.249208e-01 -3.072108e-01  2.943763e-06  1.081457e-06
+ 1.073413e-02  1.039330e-02 -2.251136e-01 -3.072101e-01 -3.750956e-07  1.651783e-06
+ 1.073413e-02  1.058401e-02 -2.253150e-01 -3.072144e-01  1.179237e-06  2.453212e-07
+ 1.073413e-02  1.077133e-02 -2.255476e-01 -3.072323e-01 -8.527704e-07 -8.892871e-08
+ 1.073413e-02  1.095545e-02 -2.257211e-01 -3.072245e-01 -4.092389e-05 -1.615669e-05
+ 1.073413e-02  1.113653e-02 -2.259852e-01 -3.072562e-01 -6.088999e-06  8.664700e-07
+ 1.073413e-02  1.131471e-02 -2.262551e-01 -3.072881e-01 -1.070157e-05 -3.903749e-06
+ 1.073413e-02  1.149013e-02 -2.265763e-01 -3.073473e-01 -4.886640e-05 -1.564102e-05
+ 1.073413e-02  1.166290e-02 -2.269469e-01 -3.074354e-01  6.235601e-05  1.435543e-05
+ 1.073413e-02  1.183316e-02 -2.336172e-01 -3.098910e-01 -3.165743e-03 -1.240866e-03
+ 1.073413e-02  1.200100e-02 -2.304681e-01 -3.085661e-01  4.154537e-03  2.011534e-03
+ 1.073413e-02  1.216653e-02 -2.304932e-01 -3.085858e-01  1.154520e-03  6.986149e-04
+ 1.073413e-02  1.232983e-02 -2.305794e-01 -3.086816e-01 -2.305794e-01 -3.086816e-01
+ 1.073413e-02  1.249100e-02 -2.305685e-01 -3.082911e-01  9.929644e-06 -4.869552e-05
+ 1.073413e-02  1.265011e-02 -2.314900e-01 -3.077075e-01 -7.115185e-04 -4.400126e-05
+ 1.073413e-02  1.280725e-02 -2.305875e-01 -3.082574e-01 -2.305875e-01 -3.082574e-01
+ 1.073413e-02  1.296248e-02 -2.369038e-01 -3.071421e-01 -2.369038e-01 -3.071421e-01
+ 1.073413e-02  1.311588e-02 -2.309406e-01 -3.078131e-01 -2.309406e-01 -3.078131e-01
+ 1.073413e-02  1.326750e-02 -2.307740e-01 -3.077037e-01 -5.578742e-06  1.419973e-05
+ 1.073413e-02  1.341741e-02 -2.309297e-01 -3.074658e-01 -2.309297e-01 -3.074658e-01
+ 1.073413e-02  1.356566e-02 -2.352149e-01 -3.073400e-01 -4.520951e-03  9.466165e-04
+ 1.073413e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.400100e-02 -2.311791e-01 -3.071418e-01 -2.424593e-05  7.431298e-04
+ 1.073413e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.428386e-02 -2.321280e-01 -3.059693e-01 -1.298208e-03  1.627066e-03
+ 1.073413e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.456122e-02 -2.328602e-01 -3.068317e-01 -1.215469e-03  8.938792e-05
+ 1.073413e-02  1.469794e-02 -2.362915e-01 -3.066916e-01 -3.994097e-03 -2.335701e-04
+ 1.073413e-02  1.483340e-02 -2.310256e-01 -3.073808e-01 -2.412043e-04  2.651770e-04
+ 1.073413e-02  1.496763e-02 -2.319548e-01 -3.068102e-01 -2.319548e-01 -3.068102e-01
+ 1.073413e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.523255e-02 -2.306085e-01 -3.069240e-01  2.071182e-03 -5.605810e-04
+ 1.073413e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.562150e-02 -2.315484e-01 -3.063001e-01 -2.315484e-01 -3.063001e-01
+ 1.073413e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  1.979999e-02 -2.352361e-01 -3.031248e-01 -3.056886e-03  3.472276e-04
+ 1.073413e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.073413e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.000000e-06 -2.202569e-01 -3.074996e-01  1.352669e-08 -6.403858e-09
+ 1.085273e-02  2.001000e-03 -2.206522e-01 -3.076042e-01  2.265009e-08 -1.428422e-08
+ 1.085273e-02  2.829427e-03 -2.208887e-01 -3.076171e-01  1.638278e-09 -1.593393e-08
+ 1.085273e-02  3.465102e-03 -2.210990e-01 -3.076162e-01  8.076977e-07  2.087330e-07
+ 1.085273e-02  4.001000e-03 -2.212966e-01 -3.076091e-01  1.797270e-07  2.757811e-07
+ 1.085273e-02  4.473136e-03 -2.214880e-01 -3.075993e-01  1.376967e-07 -6.003297e-08
+ 1.085273e-02  4.899979e-03 -2.216746e-01 -3.075872e-01 -2.074941e-07 -1.868331e-09
+ 1.085273e-02  5.292503e-03 -2.218644e-01 -3.075758e-01  1.479088e-07 -3.780217e-08
+ 1.085273e-02  5.657854e-03 -2.220745e-01 -3.075734e-01  1.713089e-05  6.647533e-06
+ 1.085273e-02  6.001000e-03 -2.222572e-01 -3.075613e-01 -4.961506e-05 -1.922849e-05
+ 1.085273e-02  6.325555e-03 -2.222208e-01 -3.074626e-01 -9.185993e-05 -3.568825e-05
+ 1.085273e-02  6.634250e-03 -2.225204e-01 -3.074964e-01 -6.031129e-08 -4.479834e-09
+ 1.085273e-02  6.929203e-03 -2.227054e-01 -3.074849e-01  1.923533e-06  1.064577e-07
+ 1.085273e-02  7.212103e-03 -2.228843e-01 -3.074714e-01 -5.077878e-07  8.318677e-08
+ 1.085273e-02  7.484315e-03 -2.230613e-01 -3.074581e-01 -2.051087e-07 -5.556369e-08
+ 1.085273e-02  7.746967e-03 -2.232380e-01 -3.074449e-01 -7.180255e-08  1.213432e-08
+ 1.085273e-02  8.001000e-03 -2.234144e-01 -3.074320e-01 -1.455732e-07 -4.461061e-08
+ 1.085273e-02  8.247211e-03 -2.235912e-01 -3.074197e-01  5.908962e-08  9.631898e-08
+ 1.085273e-02  8.486281e-03 -2.237670e-01 -3.074074e-01  9.491608e-07  3.622471e-07
+ 1.085273e-02  8.718798e-03 -2.239727e-01 -3.074069e-01 -2.030646e-06 -6.118081e-07
+ 1.085273e-02  8.945272e-03 -2.241409e-01 -3.073930e-01 -4.844470e-08 -5.048359e-08
+ 1.085273e-02  9.166151e-03 -2.243412e-01 -3.073923e-01  8.008298e-06  3.295838e-06
+ 1.085273e-02  9.381832e-03 -2.244907e-01 -3.073710e-01 -3.444140e-06 -1.223625e-06
+ 1.085273e-02  9.592663e-03 -2.246845e-01 -3.073686e-01  9.477312e-07  6.963129e-07
+ 1.085273e-02  9.798959e-03 -2.248803e-01 -3.073680e-01  4.139040e-07  3.994760e-07
+ 1.085273e-02  1.000100e-02 -2.250770e-01 -3.073684e-01 -3.907647e-06 -1.326678e-06
+ 1.085273e-02  1.019904e-02 -2.252727e-01 -3.073688e-01 -3.421298e-07  1.832661e-07
+ 1.085273e-02  1.039330e-02 -2.254944e-01 -3.073801e-01 -5.254978e-06 -1.229984e-06
+ 1.085273e-02  1.058401e-02 -2.256696e-01 -3.073727e-01  4.688302e-05  2.059184e-05
+ 1.085273e-02  1.077133e-02 -2.259503e-01 -3.074116e-01 -2.640706e-05 -9.137463e-06
+ 1.085273e-02  1.095545e-02 -2.261894e-01 -3.074330e-01 -1.895893e-05 -6.540482e-06
+ 1.085273e-02  1.113653e-02 -2.265150e-01 -3.074925e-01 -1.574237e-05 -7.099399e-06
+ 1.085273e-02  1.131471e-02 -2.269748e-01 -3.076078e-01  5.588620e-03  1.536306e-03
+ 1.085273e-02  1.149013e-02 -2.336958e-01 -3.100220e-01  9.153405e-04  5.116505e-04
+ 1.085273e-02  1.166290e-02 -2.304946e-01 -3.085338e-01  9.801347e-04 -7.609690e-04
+ 1.085273e-02  1.183316e-02 -2.293172e-01 -3.083307e-01  1.482254e-03  5.813514e-04
+ 1.085273e-02  1.200100e-02 -2.304577e-01 -3.087003e-01  3.820797e-03  1.565036e-03
+ 1.085273e-02  1.216653e-02 -2.304845e-01 -3.085541e-01  6.067553e-08 -1.981700e-06
+ 1.085273e-02  1.232983e-02 -2.304653e-01 -3.086051e-01  1.428420e-04  1.384752e-04
+ 1.085273e-02  1.249100e-02 -2.306194e-01 -3.081950e-01  8.636561e-04 -3.946899e-04
+ 1.085273e-02  1.265011e-02 -2.321322e-01 -3.074159e-01 -1.362589e-03  2.758883e-04
+ 1.085273e-02  1.280725e-02 -2.313630e-01 -3.076500e-01  1.142638e-04 -5.100637e-04
+ 1.085273e-02  1.296248e-02 -2.313449e-01 -3.076461e-01 -3.878700e-04 -1.224392e-04
+ 1.085273e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.326750e-02 -2.309934e-01 -3.073094e-01 -2.219139e-04  3.799852e-04
+ 1.085273e-02  1.341741e-02 -2.306372e-01 -3.079181e-01 -1.909303e-04  7.196578e-04
+ 1.085273e-02  1.356566e-02 -2.311357e-01 -3.066382e-01 -2.311357e-01 -3.066382e-01
+ 1.085273e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.385741e-02 -2.330872e-01 -3.068418e-01 -2.330872e-01 -3.068418e-01
+ 1.085273e-02  1.400100e-02 -2.311809e-01 -3.072422e-01 -2.311809e-01 -3.072422e-01
+ 1.085273e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.428386e-02 -2.326664e-01 -3.069550e-01  3.435546e-04 -1.572088e-04
+ 1.085273e-02  1.442321e-02 -2.322444e-01 -3.067937e-01 -2.322444e-01 -3.067937e-01
+ 1.085273e-02  1.456122e-02 -2.328159e-01 -3.067967e-01 -1.108553e-03  1.846304e-05
+ 1.085273e-02  1.469794e-02 -2.306295e-01 -3.066257e-01  1.148953e-03  4.104828e-04
+ 1.085273e-02  1.483340e-02 -2.310070e-01 -3.073911e-01 -1.652808e-04  1.532405e-04
+ 1.085273e-02  1.496763e-02 -2.327524e-01 -3.066968e-01 -1.942815e-03  8.666673e-04
+ 1.085273e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.523255e-02 -2.315084e-01 -3.070646e-01  9.686951e-04 -5.137784e-04
+ 1.085273e-02  1.536329e-02 -2.309256e-01 -3.071821e-01 -1.388710e-04  4.441106e-04
+ 1.085273e-02  1.549293e-02 -2.307302e-01 -3.078174e-01  4.016443e-05 -1.412049e-04
+ 1.085273e-02  1.562150e-02 -2.331458e-01 -3.065739e-01 -2.707954e-03 -7.342438e-04
+ 1.085273e-02  1.574902e-02 -2.307905e-01 -3.076399e-01 -2.307905e-01 -3.076399e-01
+ 1.085273e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.732151e-02 -2.317464e-01 -3.053864e-01 -2.317464e-01 -3.053864e-01
+ 1.085273e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.085273e-02  1.990075e-02 -2.322574e-01 -3.033536e-01 -6.307626e-05  8.178131e-05
+ 1.085273e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.000000e-06 -2.206594e-01 -2.206595e-01  1.109291e-08 -6.961229e-08
+ 1.097005e-02  2.001000e-03 -2.210473e-01 -3.077488e-01  1.160124e-07 -2.526919e-08
+ 1.097005e-02  2.829427e-03 -2.212792e-01 -3.077617e-01  1.506987e-07 -1.714407e-07
+ 1.097005e-02  3.465102e-03 -2.214864e-01 -3.077614e-01  1.418159e-07 -1.547806e-07
+ 1.097005e-02  4.001000e-03 -2.216819e-01 -3.077552e-01  2.135662e-07  6.100431e-08
+ 1.097005e-02  4.473136e-03 -2.218781e-01 -3.077477e-01 -4.290370e-07 -3.612624e-08
+ 1.097005e-02  4.899979e-03 -2.221763e-01 -3.077795e-01 -5.238417e-05 -1.991860e-05
+ 1.097005e-02  5.292503e-03 -2.222456e-01 -3.077258e-01 -3.612596e-06 -1.358551e-06
+ 1.097005e-02  5.657854e-03 -2.222035e-01 -3.076267e-01 -1.016983e-04 -3.903810e-05
+ 1.097005e-02  6.001000e-03 -2.225247e-01 -3.076689e-01  8.262594e-08 -5.965615e-08
+ 1.097005e-02  6.325555e-03 -2.227082e-01 -3.076575e-01  1.819838e-06  1.076522e-07
+ 1.097005e-02  6.634250e-03 -2.228848e-01 -3.076437e-01 -7.560363e-07 -4.775903e-08
+ 1.097005e-02  6.929203e-03 -2.230573e-01 -3.076291e-01 -2.116056e-06 -9.735258e-07
+ 1.097005e-02  7.212103e-03 -2.232315e-01 -3.076155e-01 -7.165699e-08 -3.587757e-08
+ 1.097005e-02  7.484315e-03 -2.234048e-01 -3.076018e-01 -1.312897e-07 -8.414658e-09
+ 1.097005e-02  7.746967e-03 -2.235778e-01 -3.075883e-01 -6.190571e-08 -6.014493e-09
+ 1.097005e-02  8.001000e-03 -2.237432e-01 -3.075725e-01  3.565635e-06  1.372709e-06
+ 1.097005e-02  8.247211e-03 -2.239416e-01 -3.075692e-01 -5.287736e-06 -1.899389e-06
+ 1.097005e-02  8.486281e-03 -2.241163e-01 -3.075578e-01  3.985904e-06  1.568992e-06
+ 1.097005e-02  8.718798e-03 -2.243196e-01 -3.075581e-01 -7.855965e-06 -3.133504e-06
+ 1.097005e-02  8.945272e-03 -2.244442e-01 -3.075267e-01  7.731003e-07  5.054370e-07
+ 1.097005e-02  9.166151e-03 -2.246518e-01 -3.075300e-01 -1.332278e-08 -4.601060e-08
+ 1.097005e-02  9.381832e-03 -2.248452e-01 -3.075280e-01 -2.147824e-06 -9.531061e-07
+ 1.097005e-02  9.592663e-03 -2.250355e-01 -3.075249e-01  1.685967e-07  3.499300e-07
+ 1.097005e-02  9.798959e-03 -2.252317e-01 -3.075249e-01  1.770557e-06  6.541762e-07
+ 1.097005e-02  1.000100e-02 -2.254453e-01 -3.075327e-01 -3.546338e-09  5.605726e-07
+ 1.097005e-02  1.019904e-02 -2.256248e-01 -3.075271e-01  3.830294e-05  1.585307e-05
+ 1.097005e-02  1.039330e-02 -2.258848e-01 -3.075558e-01  8.912190e-07  4.968547e-07
+ 1.097005e-02  1.058401e-02 -2.261338e-01 -3.075808e-01  7.229271e-07  3.912789e-07
+ 1.097005e-02  1.077133e-02 -2.264202e-01 -3.076225e-01  5.874934e-06  3.115032e-06
+ 1.097005e-02  1.095545e-02 -2.267558e-01 -3.076877e-01 -3.887331e-05 -1.404551e-05
+ 1.097005e-02  1.113653e-02 -2.297225e-01 -3.086153e-01  1.803040e-03  9.574016e-04
+ 1.097005e-02  1.131471e-02 -2.306516e-01 -3.089869e-01  2.161281e-03  2.373692e-04
+ 1.097005e-02  1.149013e-02 -2.304236e-01 -3.087403e-01  3.657592e-03  1.421788e-03
+ 1.097005e-02  1.166290e-02 -2.304525e-01 -3.088652e-01  2.738026e-05  5.367367e-05
+ 1.097005e-02  1.183316e-02 -2.304395e-01 -3.086622e-01  1.088971e-04 -2.970481e-04
+ 1.097005e-02  1.200100e-02 -2.304585e-01 -3.086830e-01 -1.222065e-04  1.942655e-04
+ 1.097005e-02  1.216653e-02 -2.304790e-01 -3.086058e-01  8.311496e-06 -6.014951e-05
+ 1.097005e-02  1.232983e-02 -2.304781e-01 -3.085447e-01  7.100325e-05 -2.136578e-04
+ 1.097005e-02  1.249100e-02 -2.305424e-01 -3.083834e-01 -1.068988e-04  3.132635e-04
+ 1.097005e-02  1.265011e-02 -2.317207e-01 -3.072055e-01 -9.489670e-04  4.877332e-04
+ 1.097005e-02  1.280725e-02 -2.314933e-01 -3.077023e-01 -7.177935e-04 -2.431635e-05
+ 1.097005e-02  1.296248e-02 -2.305023e-01 -3.084998e-01 -2.699313e-03 -4.433198e-04
+ 1.097005e-02  1.311588e-02 -2.310939e-01 -3.075794e-01 -5.261566e-04  7.261499e-04
+ 1.097005e-02  1.326750e-02 -2.325549e-01 -3.068906e-01  2.038880e-04  8.142956e-04
+ 1.097005e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.356566e-02 -2.314730e-01 -3.078288e-01  4.184288e-03 -5.267090e-04
+ 1.097005e-02  1.371231e-02 -2.313190e-01 -3.071356e-01 -2.313190e-01 -3.071356e-01
+ 1.097005e-02  1.385741e-02 -2.332903e-01 -3.071070e-01 -2.332903e-01 -3.071070e-01
+ 1.097005e-02  1.400100e-02 -2.311920e-01 -3.072266e-01 -2.701746e-04  6.163593e-04
+ 1.097005e-02  1.414314e-02 -2.322625e-01 -3.066703e-01 -1.658864e-03  1.150166e-03
+ 1.097005e-02  1.428386e-02 -2.325843e-01 -3.069993e-01 -1.802457e-03  6.357894e-04
+ 1.097005e-02  1.442321e-02 -2.322481e-01 -3.068078e-01 -1.461022e-03  8.271820e-04
+ 1.097005e-02  1.456122e-02 -2.327986e-01 -3.068026e-01 -2.327986e-01 -3.068026e-01
+ 1.097005e-02  1.469794e-02 -2.362946e-01 -3.067036e-01 -7.128502e-03 -1.941419e-03
+ 1.097005e-02  1.483340e-02 -2.310126e-01 -3.073790e-01  1.270922e-04 -1.829514e-04
+ 1.097005e-02  1.496763e-02 -2.311266e-01 -3.071980e-01 -3.759238e-04  5.713486e-04
+ 1.097005e-02  1.510067e-02 -2.308221e-01 -3.075682e-01  1.796326e-03 -1.033332e-03
+ 1.097005e-02  1.523255e-02 -2.307720e-01 -3.076934e-01  1.210462e-06 -3.634453e-05
+ 1.097005e-02  1.536329e-02 -2.307789e-01 -3.076576e-01 -1.220626e-05  4.328511e-05
+ 1.097005e-02  1.549293e-02 -2.308241e-01 -3.075251e-01 -2.308241e-01 -3.075251e-01
+ 1.097005e-02  1.562150e-02 -2.307948e-01 -3.074783e-01  5.524143e-05  4.454245e-05
+ 1.097005e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.624908e-02 -2.335199e-01 -3.061594e-01 -2.335199e-01 -3.061594e-01
+ 1.097005e-02  1.637171e-02 -2.309703e-01 -3.070751e-01 -1.722617e-04  5.187620e-04
+ 1.097005e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.897467e-02 -2.321038e-01 -3.036387e-01 -2.321038e-01 -3.036387e-01
+ 1.097005e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.097005e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.000000e-06 -2.210614e-01 -3.077905e-01  2.136073e-08 -5.154692e-08
+ 1.108613e-02  2.001000e-03 -2.214426e-01 -3.078939e-01 -1.424912e-08  2.722772e-08
+ 1.108613e-02  2.829427e-03 -2.216717e-01 -3.079076e-01 -3.415727e-07 -7.512921e-08
+ 1.108613e-02  3.465102e-03 -2.218856e-01 -3.079106e-01 -1.254025e-06 -1.571374e-07
+ 1.108613e-02  4.001000e-03 -2.222997e-01 -3.079880e-01 -9.252229e-06 -2.903698e-06
+ 1.108613e-02  4.473136e-03 -2.222309e-01 -3.078846e-01  1.595978e-05  6.068850e-06
+ 1.108613e-02  4.899979e-03 -2.221938e-01 -3.077896e-01 -9.469667e-05 -3.591506e-05
+ 1.108613e-02  5.292503e-03 -2.225374e-01 -3.078408e-01  1.750856e-06  2.136193e-07
+ 1.108613e-02  5.657854e-03 -2.227206e-01 -3.078300e-01  1.122142e-06  1.378768e-08
+ 1.108613e-02  6.001000e-03 -2.228951e-01 -3.078163e-01 -7.744607e-07 -1.065446e-07
+ 1.108613e-02  6.325555e-03 -2.230656e-01 -3.078017e-01  6.842391e-08  1.598189e-08
+ 1.108613e-02  6.634250e-03 -2.232363e-01 -3.077874e-01 -3.039916e-07 -1.009940e-07
+ 1.108613e-02  6.929203e-03 -2.234060e-01 -3.077729e-01 -4.286012e-09  2.063242e-08
+ 1.108613e-02  7.212103e-03 -2.235752e-01 -3.077586e-01 -2.018809e-07 -6.583689e-08
+ 1.108613e-02  7.484315e-03 -2.237532e-01 -3.077478e-01  3.740471e-05  1.347334e-05
+ 1.108613e-02  7.746967e-03 -2.239255e-01 -3.077353e-01  2.240897e-07  1.210313e-07
+ 1.108613e-02  8.001000e-03 -2.241009e-01 -3.077243e-01 -5.537156e-07 -1.855465e-07
+ 1.108613e-02  8.247211e-03 -2.243044e-01 -3.077250e-01  2.693892e-05  1.093999e-05
+ 1.108613e-02  8.486281e-03 -2.244031e-01 -3.076836e-01  3.845744e-05  1.564360e-05
+ 1.108613e-02  8.718798e-03 -2.246261e-01 -3.076931e-01  1.981451e-06  3.845855e-07
+ 1.108613e-02  8.945272e-03 -2.248116e-01 -3.076876e-01  7.288174e-07  2.273233e-07
+ 1.108613e-02  9.166151e-03 -2.250040e-01 -3.076856e-01 -1.197961e-06 -1.191304e-07
+ 1.108613e-02  9.381832e-03 -2.251953e-01 -3.076835e-01 -2.078026e-06 -1.592498e-07
+ 1.108613e-02  9.592663e-03 -2.254063e-01 -3.076899e-01  2.633188e-06  4.311680e-07
+ 1.108613e-02  9.798959e-03 -2.255927e-01 -3.076866e-01  4.419286e-05  1.647322e-05
+ 1.108613e-02  1.000100e-02 -2.258493e-01 -3.077124e-01  4.300689e-06  1.080539e-06
+ 1.108613e-02  1.019904e-02 -2.260976e-01 -3.077355e-01  1.605909e-06  1.595726e-08
+ 1.108613e-02  1.039330e-02 -2.263772e-01 -3.077726e-01  1.318754e-06  1.372648e-06
+ 1.108613e-02  1.058401e-02 -2.266963e-01 -3.078280e-01 -2.333396e-06 -1.252178e-06
+ 1.108613e-02  1.077133e-02 -2.273381e-01 -3.080110e-01  1.612376e-04  7.821071e-05
+ 1.108613e-02  1.095545e-02 -2.309281e-01 -3.092584e-01 -3.877242e-04 -1.521495e-04
+ 1.108613e-02  1.113653e-02 -2.303447e-01 -3.090039e-01  3.364697e-03  1.389319e-03
+ 1.108613e-02  1.131471e-02 -2.303615e-01 -3.088624e-01  3.796078e-05 -6.496369e-05
+ 1.108613e-02  1.149013e-02 -2.303502e-01 -3.088588e-01  1.392802e-03  3.395595e-04
+ 1.108613e-02  1.166290e-02 -2.304201e-01 -3.087827e-01  8.212378e-04  3.918306e-04
+ 1.108613e-02  1.183316e-02 -2.304235e-01 -3.087211e-01 -3.120084e-04 -1.534546e-04
+ 1.108613e-02  1.200100e-02 -2.304117e-01 -3.086792e-01  3.326040e-03  9.947448e-04
+ 1.108613e-02  1.216653e-02 -2.304521e-01 -3.086448e-01 -7.047357e-05  1.278605e-04
+ 1.108613e-02  1.232983e-02 -2.304468e-01 -3.086450e-01  6.727814e-05 -1.858692e-04
+ 1.108613e-02  1.249100e-02 -2.305780e-01 -3.082680e-01  1.887514e-04 -4.902083e-04
+ 1.108613e-02  1.265011e-02 -2.322741e-01 -3.073605e-01 -1.509488e-03  1.234571e-04
+ 1.108613e-02  1.280725e-02 -2.323234e-01 -3.073155e-01 -8.765063e-04  5.326082e-04
+ 1.108613e-02  1.296248e-02 -2.305254e-01 -3.084202e-01 -3.689827e-05  2.044670e-04
+ 1.108613e-02  1.311588e-02 -2.309720e-01 -3.069984e-01 -5.800330e-04  2.236592e-04
+ 1.108613e-02  1.326750e-02 -2.308108e-01 -3.080118e-01 -3.857668e-05 -9.443603e-05
+ 1.108613e-02  1.341741e-02 -2.307732e-01 -3.076932e-01  8.056749e-04 -5.440963e-05
+ 1.108613e-02  1.356566e-02 -2.313718e-01 -3.062118e-01 -6.005197e-04  1.481991e-03
+ 1.108613e-02  1.371231e-02 -2.308658e-01 -3.074781e-01  1.245381e-04 -5.995056e-04
+ 1.108613e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.400100e-02 -2.311947e-01 -3.071806e-01  1.647996e-04  6.423311e-04
+ 1.108613e-02  1.414314e-02 -2.322670e-01 -3.066048e-01 -1.488669e-03  1.037516e-03
+ 1.108613e-02  1.428386e-02 -2.328012e-01 -3.068875e-01 -1.857861e-03  3.485440e-04
+ 1.108613e-02  1.442321e-02 -2.322688e-01 -3.067805e-01 -1.490997e-03  8.888760e-04
+ 1.108613e-02  1.456122e-02 -2.322300e-01 -3.070593e-01 -2.322300e-01 -3.070593e-01
+ 1.108613e-02  1.469794e-02 -2.308949e-01 -3.074019e-01 -1.287364e-04  2.303338e-04
+ 1.108613e-02  1.483340e-02 -2.310370e-01 -3.073649e-01 -2.310370e-01 -3.073649e-01
+ 1.108613e-02  1.496763e-02 -2.308988e-01 -3.073542e-01  1.793466e-03 -4.254625e-04
+ 1.108613e-02  1.510067e-02 -2.307941e-01 -3.071533e-01 -2.307941e-01 -3.071533e-01
+ 1.108613e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.536329e-02 -2.307740e-01 -3.076852e-01 -2.307740e-01 -3.076852e-01
+ 1.108613e-02  1.549293e-02 -2.307860e-01 -3.076594e-01 -1.166848e-04  3.444331e-04
+ 1.108613e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.587551e-02 -2.274121e-01 -3.034449e-01  4.839267e-03  2.604333e-03
+ 1.108613e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.612552e-02 -2.319122e-01 -3.068482e-01 -2.319122e-01 -3.068482e-01
+ 1.108613e-02  1.624908e-02 -2.308047e-01 -3.075893e-01 -2.308047e-01 -3.075893e-01
+ 1.108613e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.673420e-02 -2.323527e-01 -3.058971e-01 -1.582260e-03  1.790974e-03
+ 1.108613e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.108613e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.000000e-06 -2.214646e-01 -2.214645e-01  4.112126e-08  5.111896e-08
+ 1.120100e-02  2.001000e-03 -2.218494e-01 -3.080430e-01  1.782238e-07  1.623620e-09
+ 1.120100e-02  2.829427e-03 -2.223172e-01 -3.081469e-01 -1.481935e-04 -5.464532e-05
+ 1.120100e-02  3.465102e-03 -2.222206e-01 -3.080384e-01  5.971216e-06  2.226729e-06
+ 1.120100e-02  4.001000e-03 -2.221867e-01 -3.079481e-01 -9.257805e-05 -3.465018e-05
+ 1.120100e-02  4.473136e-03 -2.225547e-01 -3.080094e-01  3.718304e-06  4.312633e-07
+ 1.120100e-02  4.899979e-03 -2.227399e-01 -3.080007e-01 -4.927857e-07 -1.815167e-07
+ 1.120100e-02  5.292503e-03 -2.229137e-01 -3.079881e-01 -4.991241e-07 -2.124740e-08
+ 1.120100e-02  5.657854e-03 -2.230832e-01 -3.079741e-01 -1.222178e-07  3.299164e-08
+ 1.120100e-02  6.001000e-03 -2.232510e-01 -3.079595e-01  1.216492e-07  1.151997e-07
+ 1.120100e-02  6.325555e-03 -2.234175e-01 -3.079447e-01  1.286854e-06  5.176962e-07
+ 1.120100e-02  6.634250e-03 -2.235803e-01 -3.079287e-01  4.543949e-07  1.864263e-07
+ 1.120100e-02  6.929203e-03 -2.237607e-01 -3.079193e-01 -2.626354e-07 -6.200905e-08
+ 1.120100e-02  7.212103e-03 -2.239247e-01 -3.079045e-01  1.879122e-09  9.813302e-09
+ 1.120100e-02  7.484315e-03 -2.240964e-01 -3.078927e-01 -4.090696e-08 -5.708736e-09
+ 1.120100e-02  7.746967e-03 -2.242973e-01 -3.078929e-01 -1.610490e-05 -6.345793e-06
+ 1.120100e-02  8.001000e-03 -2.243847e-01 -3.078477e-01  4.875637e-05  1.994920e-05
+ 1.120100e-02  8.247211e-03 -2.246090e-01 -3.078581e-01 -3.588706e-08 -1.587445e-08
+ 1.120100e-02  8.486281e-03 -2.247915e-01 -3.078519e-01  1.032185e-08  8.347487e-08
+ 1.120100e-02  8.718798e-03 -2.249787e-01 -3.078480e-01 -4.096200e-07 -2.105227e-07
+ 1.120100e-02  8.945272e-03 -2.251847e-01 -3.078518e-01  2.674300e-07  9.525827e-08
+ 1.120100e-02  9.166151e-03 -2.253708e-01 -3.078484e-01 -5.949629e-07 -1.535804e-07
+ 1.120100e-02  9.381832e-03 -2.255628e-01 -3.078475e-01  1.086905e-04  4.509205e-05
+ 1.120100e-02  9.592663e-03 -2.258025e-01 -3.078669e-01  3.100914e-06  1.441654e-06
+ 1.120100e-02  9.798959e-03 -2.260486e-01 -3.078894e-01  3.621649e-07  1.058223e-07
+ 1.120100e-02  1.000100e-02 -2.263232e-01 -3.079240e-01  1.357404e-05  6.448673e-06
+ 1.120100e-02  1.019904e-02 -2.266513e-01 -3.079809e-01  8.364846e-06  4.149572e-06
+ 1.120100e-02  1.039330e-02 -2.272308e-01 -3.081435e-01 -2.998660e-04 -1.049534e-04
+ 1.120100e-02  1.058401e-02 -2.293714e-01 -3.088507e-01  4.280081e-03  1.540155e-03
+ 1.120100e-02  1.077133e-02 -2.303768e-01 -3.090011e-01  1.860268e-03  9.472969e-04
+ 1.120100e-02  1.095545e-02 -2.305263e-01 -3.092294e-01  2.929886e-04  1.615341e-04
+ 1.120100e-02  1.113653e-02 -2.304140e-01 -3.094655e-01 -1.677019e-04 -3.645749e-04
+ 1.120100e-02  1.131471e-02 -2.303585e-01 -3.088902e-01  1.177910e-04  1.145107e-04
+ 1.120100e-02  1.149013e-02 -2.303919e-01 -3.088321e-01  1.673774e-05  1.745976e-04
+ 1.120100e-02  1.166290e-02 -2.304015e-01 -3.087901e-01  5.714838e-04  2.513844e-04
+ 1.120100e-02  1.183316e-02 -2.304308e-01 -3.087251e-01  3.089020e-03  1.142437e-03
+ 1.120100e-02  1.200100e-02 -2.304353e-01 -3.086874e-01 -1.069325e-04  2.500461e-05
+ 1.120100e-02  1.216653e-02 -2.304612e-01 -3.086170e-01  1.091145e-04 -3.298491e-04
+ 1.120100e-02  1.232983e-02 -2.304457e-01 -3.086489e-01  4.106042e-05 -1.162184e-04
+ 1.120100e-02  1.249100e-02 -2.306097e-01 -3.081894e-01  1.515868e-04 -6.943976e-04
+ 1.120100e-02  1.265011e-02 -2.315316e-01 -3.075570e-01 -9.017457e-04  5.312782e-04
+ 1.120100e-02  1.280725e-02 -2.316023e-01 -3.071299e-01 -1.050701e-03  1.220677e-03
+ 1.120100e-02  1.296248e-02 -2.305673e-01 -3.083011e-01  1.609242e-04 -3.376077e-04
+ 1.120100e-02  1.311588e-02 -2.314629e-01 -3.076377e-01 -8.817692e-04  3.758183e-04
+ 1.120100e-02  1.326750e-02 -2.319615e-01 -3.069316e-01 -2.319615e-01 -3.069316e-01
+ 1.120100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.356566e-02 -2.333379e-01 -3.070119e-01 -2.333379e-01 -3.070119e-01
+ 1.120100e-02  1.371231e-02 -2.311371e-01 -3.078970e-01 -2.311371e-01 -3.078970e-01
+ 1.120100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.400100e-02 -2.312287e-01 -3.071907e-01 -6.295601e-04  7.615886e-04
+ 1.120100e-02  1.414314e-02 -2.317704e-01 -3.064525e-01 -9.966340e-04  1.236511e-03
+ 1.120100e-02  1.428386e-02 -2.328449e-01 -3.068479e-01 -1.235281e-03  1.462548e-04
+ 1.120100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.456122e-02 -2.312884e-01 -3.077680e-01 -4.112605e-04 -3.934578e-04
+ 1.120100e-02  1.469794e-02 -2.323122e-01 -3.069793e-01 -1.562681e-03  7.017339e-04
+ 1.120100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.496763e-02 -2.308551e-01 -3.074072e-01 -2.308551e-01 -3.074072e-01
+ 1.120100e-02  1.510067e-02 -2.308926e-01 -3.071150e-01 -7.319804e-05  3.972195e-04
+ 1.120100e-02  1.523255e-02 -2.307654e-01 -3.077130e-01 -2.307654e-01 -3.077130e-01
+ 1.120100e-02  1.536329e-02 -2.308134e-01 -3.075398e-01  3.458620e-05 -1.713866e-04
+ 1.120100e-02  1.549293e-02 -2.327424e-01 -3.067847e-01 -1.998232e-03  9.918964e-04
+ 1.120100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.574902e-02 -2.313874e-01 -3.065107e-01 -2.313874e-01 -3.065107e-01
+ 1.120100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.612552e-02 -2.325642e-01 -3.060854e-01 -1.793032e-03  1.594612e-03
+ 1.120100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.649342e-02 -2.308067e-01 -3.076024e-01 -1.159092e-04  3.222040e-04
+ 1.120100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.949459e-02 -2.344993e-01 -3.035765e-01 -2.344993e-01 -3.035765e-01
+ 1.120100e-02  1.959692e-02 -2.322242e-01 -3.034301e-01 -2.322242e-01 -3.034301e-01
+ 1.120100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.120100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.000000e-06 -2.218837e-01 -2.218828e-01 -1.275572e-06 -3.634272e-06
+ 1.131471e-02  2.001000e-03 -2.222345e-01 -3.081865e-01 -4.328173e-06 -1.542517e-06
+ 1.131471e-02  2.829427e-03 -2.221506e-01 -3.080870e-01  9.446102e-05  3.434556e-05
+ 1.131471e-02  3.465102e-03 -2.225673e-01 -3.081693e-01  4.065942e-06  3.403992e-07
+ 1.131471e-02  4.001000e-03 -2.227605e-01 -3.081661e-01 -1.570426e-06 -2.420059e-07
+ 1.131471e-02  4.473136e-03 -2.229372e-01 -3.081566e-01 -9.408533e-08 -2.278317e-08
+ 1.131471e-02  4.899979e-03 -2.231077e-01 -3.081445e-01 -2.048454e-07 -3.184735e-08
+ 1.131471e-02  5.292503e-03 -2.232745e-01 -3.081308e-01  3.305589e-07  1.511870e-07
+ 1.131471e-02  5.657854e-03 -2.234384e-01 -3.081162e-01  1.083893e-06  3.558111e-07
+ 1.131471e-02  6.001000e-03 -2.236091e-01 -3.081040e-01  2.133525e-06  7.494528e-07
+ 1.131471e-02  6.325555e-03 -2.237703e-01 -3.080886e-01 -2.160448e-08  8.623067e-09
+ 1.131471e-02  6.634250e-03 -2.239355e-01 -3.080749e-01 -3.548575e-08 -1.493972e-08
+ 1.131471e-02  6.929203e-03 -2.241039e-01 -3.080626e-01 -1.095092e-07 -4.688985e-08
+ 1.131471e-02  7.212103e-03 -2.242926e-01 -3.080587e-01  5.633225e-06  2.258690e-06
+ 1.131471e-02  7.484315e-03 -2.244030e-01 -3.080237e-01  4.283138e-06  1.753359e-06
+ 1.131471e-02  7.746967e-03 -2.246019e-01 -3.080245e-01 -3.413239e-06 -1.197214e-06
+ 1.131471e-02  8.001000e-03 -2.247809e-01 -3.080176e-01  9.600447e-08  3.472280e-08
+ 1.131471e-02  8.247211e-03 -2.249621e-01 -3.080117e-01 -3.318845e-08  1.625697e-08
+ 1.131471e-02  8.486281e-03 -2.251689e-01 -3.080162e-01 -5.837117e-05 -2.247103e-05
+ 1.131471e-02  8.718798e-03 -2.253442e-01 -3.080091e-01 -1.184680e-06 -3.133232e-07
+ 1.131471e-02  8.945272e-03 -2.255368e-01 -3.080089e-01  1.753534e-05  7.244905e-06
+ 1.131471e-02  9.166151e-03 -2.257692e-01 -3.080255e-01  4.485645e-06  1.731965e-06
+ 1.131471e-02  9.381832e-03 -2.260040e-01 -3.080428e-01 -2.598506e-05 -1.112670e-05
+ 1.131471e-02  9.592663e-03 -2.263046e-01 -3.080850e-01  1.457042e-06  9.415287e-07
+ 1.131471e-02  9.798959e-03 -2.266484e-01 -3.081482e-01  7.348599e-05  2.590186e-05
+ 1.131471e-02  1.000100e-02 -2.267643e-01 -3.081421e-01 -3.430575e-05 -1.180381e-05
+ 1.131471e-02  1.019904e-02 -2.275915e-01 -3.089586e-01  6.632292e-03  1.892225e-03
+ 1.131471e-02  1.039330e-02 -2.316054e-01 -3.098149e-01  2.598489e-03  9.626432e-04
+ 1.131471e-02  1.058401e-02 -2.302805e-01 -3.091298e-01  1.148799e-04  2.596169e-04
+ 1.131471e-02  1.077133e-02 -2.302606e-01 -3.090658e-01  2.309398e-04  6.829242e-06
+ 1.131471e-02  1.095545e-02 -2.303025e-01 -3.091665e-01  3.133015e-03  2.325914e-04
+ 1.131471e-02  1.113653e-02 -2.309331e-01 -3.093488e-01  3.863142e-03  1.592727e-03
+ 1.131471e-02  1.131471e-02 -2.303205e-01 -3.089620e-01  3.797691e-05 -2.510070e-05
+ 1.131471e-02  1.149013e-02 -2.303641e-01 -3.088731e-01  2.395273e-05 -3.771720e-05
+ 1.131471e-02  1.166290e-02 -2.304024e-01 -3.087902e-01 -1.627766e-06 -9.471774e-05
+ 1.131471e-02  1.183316e-02 -2.304097e-01 -3.087554e-01 -2.807965e-05  1.545820e-05
+ 1.131471e-02  1.200100e-02 -2.304515e-01 -3.086543e-01  1.218926e-04 -3.724277e-04
+ 1.131471e-02  1.216653e-02 -2.304625e-01 -3.086232e-01  2.802524e-04 -8.271377e-04
+ 1.131471e-02  1.232983e-02 -2.304490e-01 -3.086498e-01  7.341114e-05 -2.293756e-04
+ 1.131471e-02  1.249100e-02 -2.305189e-01 -3.084174e-01  3.522658e-03  1.676962e-03
+ 1.131471e-02  1.265011e-02 -2.305881e-01 -3.082284e-01  2.154933e-04 -2.634478e-04
+ 1.131471e-02  1.280725e-02 -2.316255e-01 -3.072379e-01  1.898621e-03  1.719217e-04
+ 1.131471e-02  1.296248e-02 -2.307988e-01 -3.075646e-01 -2.761799e-05  1.235942e-04
+ 1.131471e-02  1.311588e-02 -2.305437e-01 -3.083602e-01  6.601040e-04 -1.681065e-03
+ 1.131471e-02  1.326750e-02 -2.314564e-01 -3.077246e-01 -6.902971e-04 -3.430764e-05
+ 1.131471e-02  1.341741e-02 -2.366617e-01 -3.071780e-01 -5.203391e-03  5.082245e-04
+ 1.131471e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.371231e-02 -2.301535e-01 -3.080744e-01 -2.301535e-01 -3.080744e-01
+ 1.131471e-02  1.385741e-02 -2.313315e-01 -3.071202e-01 -5.568805e-04  5.596532e-04
+ 1.131471e-02  1.400100e-02 -2.357873e-01 -3.070273e-01 -2.357873e-01 -3.070273e-01
+ 1.131471e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.428386e-02 -2.325578e-01 -3.069876e-01 -1.771437e-03  6.452997e-04
+ 1.131471e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.456122e-02 -2.309561e-01 -3.076168e-01 -2.309561e-01 -3.076168e-01
+ 1.131471e-02  1.469794e-02 -2.312988e-01 -3.077097e-01 -5.782061e-04  1.372630e-04
+ 1.131471e-02  1.483340e-02 -2.355793e-01 -3.070811e-01 -4.599524e-03  8.501864e-04
+ 1.131471e-02  1.496763e-02 -2.316365e-01 -3.067873e-01 -1.082784e-03  4.576419e-04
+ 1.131471e-02  1.510067e-02 -2.307703e-01 -3.077011e-01  9.799291e-05 -3.469931e-04
+ 1.131471e-02  1.523255e-02 -2.309385e-01 -3.071439e-01  1.331737e-03 -9.820693e-05
+ 1.131471e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.549293e-02 -2.318950e-01 -3.065018e-01 -1.132682e-03  1.212802e-03
+ 1.131471e-02  1.562150e-02 -2.323475e-01 -3.066398e-01 -2.323475e-01 -3.066398e-01
+ 1.131471e-02  1.574902e-02 -2.278582e-01 -3.042815e-01  5.284516e-03  2.378766e-03
+ 1.131471e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.600100e-02 -2.310945e-01 -3.065465e-01 -2.437298e-04  8.916639e-04
+ 1.131471e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.743660e-02 -2.315168e-01 -3.060526e-01 -2.315168e-01 -3.060526e-01
+ 1.131471e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.766452e-02 -2.322686e-01 -3.055718e-01 -2.322686e-01 -3.055718e-01
+ 1.131471e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.131471e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.000000e-06 -2.222134e-01 -3.082104e-01  1.633557e-06  5.540146e-07
+ 1.142729e-02  2.001000e-03 -2.225412e-01 -3.083000e-01  2.659588e-06  3.550324e-07
+ 1.142729e-02  2.829427e-03 -2.227674e-01 -3.083170e-01 -1.689949e-06 -2.320488e-07
+ 1.142729e-02  3.465102e-03 -2.229574e-01 -3.083168e-01  6.890869e-09 -1.410291e-08
+ 1.142729e-02  4.001000e-03 -2.231343e-01 -3.083097e-01 -3.943357e-08  9.028782e-08
+ 1.142729e-02  4.473136e-03 -2.233035e-01 -3.082991e-01 -6.803379e-08 -3.529089e-08
+ 1.142729e-02  4.899979e-03 -2.234684e-01 -3.082864e-01  7.201972e-07  2.757000e-07
+ 1.142729e-02  5.292503e-03 -2.236329e-01 -3.082734e-01  3.292965e-07  1.285780e-07
+ 1.142729e-02  5.657854e-03 -2.237948e-01 -3.082594e-01  1.020578e-08  3.821815e-09
+ 1.142729e-02  6.001000e-03 -2.239572e-01 -3.082457e-01  3.339307e-08  1.350342e-08
+ 1.142729e-02  6.325555e-03 -2.241225e-01 -3.082333e-01  2.752766e-08  1.118849e-08
+ 1.142729e-02  6.634250e-03 -2.242790e-01 -3.082176e-01  5.297693e-05  2.094593e-05
+ 1.142729e-02  6.929203e-03 -2.244355e-01 -3.082021e-01 -7.047109e-06 -2.875594e-06
+ 1.142729e-02  7.212103e-03 -2.246085e-01 -3.081932e-01 -2.053543e-07 -7.429558e-08
+ 1.142729e-02  7.484315e-03 -2.247817e-01 -3.081848e-01 -4.497534e-07 -1.422871e-07
+ 1.142729e-02  7.746967e-03 -2.249562e-01 -3.081770e-01 -2.883875e-06 -1.360745e-06
+ 1.142729e-02  8.001000e-03 -2.251410e-01 -3.081737e-01 -4.004009e-06 -1.392822e-06
+ 1.142729e-02  8.247211e-03 -2.253317e-01 -3.081728e-01 -2.383020e-06 -6.597250e-07
+ 1.142729e-02  8.486281e-03 -2.255249e-01 -3.081733e-01  1.660864e-04  6.226760e-05
+ 1.142729e-02  8.718798e-03 -2.257526e-01 -3.081883e-01  9.543602e-06  2.868583e-06
+ 1.142729e-02  8.945272e-03 -2.259532e-01 -3.081954e-01  8.482276e-05  2.812919e-05
+ 1.142729e-02  9.166151e-03 -2.261422e-01 -3.082023e-01  5.409060e-05  1.609918e-05
+ 1.142729e-02  9.381832e-03 -2.264278e-01 -3.082497e-01  2.589515e-05 -3.536514e-09
+ 1.142729e-02  9.592663e-03 -2.267355e-01 -3.082965e-01 -5.798962e-05 -2.397886e-05
+ 1.142729e-02  9.798959e-03 -2.330120e-01 -3.101978e-01 -2.023772e-03 -3.299330e-04
+ 1.142729e-02  1.000100e-02 -2.345464e-01 -3.102522e-01 -1.044978e-03  1.497107e-04
+ 1.142729e-02  1.019904e-02 -2.303104e-01 -3.091449e-01  3.891798e-05 -1.566850e-05
+ 1.142729e-02  1.039330e-02 -2.302954e-01 -3.090911e-01  3.904360e-03  8.270035e-04
+ 1.142729e-02  1.058401e-02 -2.302112e-01 -3.091854e-01  4.309333e-03  1.813437e-03
+ 1.142729e-02  1.077133e-02 -2.302370e-01 -3.091811e-01  8.071167e-05 -4.472914e-05
+ 1.142729e-02  1.095545e-02 -2.304233e-01 -3.096938e-01 -7.717599e-05 -6.393154e-04
+ 1.142729e-02  1.113653e-02 -2.302080e-01 -3.091261e-01  1.226000e-03  5.703373e-04
+ 1.142729e-02  1.131471e-02 -2.303373e-01 -3.089474e-01  4.069001e-03  1.840658e-03
+ 1.142729e-02  1.149013e-02 -2.303749e-01 -3.088634e-01 -7.405663e-06  3.376409e-05
+ 1.142729e-02  1.166290e-02 -2.303890e-01 -3.088303e-01  3.388464e-06 -1.773254e-06
+ 1.142729e-02  1.183316e-02 -2.304075e-01 -3.087684e-01 -1.671857e-05  4.710984e-05
+ 1.142729e-02  1.200100e-02 -2.304486e-01 -3.086738e-01 -1.613028e-05  4.239878e-05
+ 1.142729e-02  1.216653e-02 -2.304619e-01 -3.086224e-01  6.448621e-05 -2.106689e-04
+ 1.142729e-02  1.232983e-02 -2.304497e-01 -3.086562e-01 -2.554876e-05 -1.651473e-03
+ 1.142729e-02  1.249100e-02 -2.304836e-01 -3.085492e-01 -3.922877e-05  1.204813e-04
+ 1.142729e-02  1.265011e-02 -2.305215e-01 -3.084378e-01 -2.305215e-01 -3.084378e-01
+ 1.142729e-02  1.280725e-02 -2.320455e-01 -3.073302e-01 -1.276697e-03  3.623262e-04
+ 1.142729e-02  1.296248e-02 -2.316439e-01 -3.072072e-01 -3.152094e-04  5.939393e-04
+ 1.142729e-02  1.311588e-02 -2.305131e-01 -3.084516e-01 -5.999307e-05  1.718331e-04
+ 1.142729e-02  1.326750e-02 -2.324401e-01 -3.071009e-01 -1.895938e-03  1.267681e-03
+ 1.142729e-02  1.341741e-02 -2.307386e-01 -3.076865e-01  3.857839e-06 -4.958545e-05
+ 1.142729e-02  1.356566e-02 -2.313635e-01 -3.078172e-01  2.099732e-03 -6.691762e-04
+ 1.142729e-02  1.371231e-02 -2.314829e-01 -3.077835e-01  2.832365e-04 -3.610291e-04
+ 1.142729e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.400100e-02 -2.353577e-01 -3.071525e-01 -3.731502e-03 -5.450402e-05
+ 1.142729e-02  1.414314e-02 -2.355269e-01 -3.068991e-01 -4.731272e-03  7.731288e-04
+ 1.142729e-02  1.428386e-02 -2.312301e-01 -3.072077e-01 -2.312301e-01 -3.072077e-01
+ 1.142729e-02  1.442321e-02 -2.321423e-01 -3.071980e-01 -1.170376e-03  5.241389e-04
+ 1.142729e-02  1.456122e-02 -2.315485e-01 -3.075543e-01  1.284924e-03 -6.933450e-04
+ 1.142729e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.496763e-02 -2.310700e-01 -3.079079e-01 -3.107463e-04 -2.112842e-04
+ 1.142729e-02  1.510067e-02 -2.308343e-01 -3.074779e-01 -2.877444e-04  8.827665e-04
+ 1.142729e-02  1.523255e-02 -2.305377e-01 -3.066351e-01  1.491649e-04  1.332188e-03
+ 1.142729e-02  1.536329e-02 -2.308338e-01 -3.075077e-01  5.874994e-04  1.054010e-04
+ 1.142729e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.562150e-02 -2.311043e-01 -3.055100e-01 -3.534821e-04  2.259889e-03
+ 1.142729e-02  1.574902e-02 -2.314859e-01 -3.069176e-01 -7.133667e-04  1.953729e-04
+ 1.142729e-02  1.587551e-02 -2.317959e-01 -3.067753e-01 -5.680912e-04 -3.145491e-04
+ 1.142729e-02  1.600100e-02 -2.365622e-01 -3.068201e-01 -5.770412e-03  8.038146e-04
+ 1.142729e-02  1.612552e-02 -2.313608e-01 -3.069909e-01 -4.672101e-04  4.457595e-04
+ 1.142729e-02  1.624908e-02 -2.331293e-01 -3.065037e-01 -1.570550e-03  1.167383e-04
+ 1.142729e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  1.979999e-02 -2.338288e-01 -3.036936e-01 -1.085250e-03 -9.753838e-04
+ 1.142729e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.142729e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.000000e-06 -2.225952e-01 -2.225977e-01  2.328989e-06 -3.398009e-06
+ 1.153876e-02  2.001000e-03 -2.229454e-01 -3.084498e-01 -7.570540e-09  1.177450e-08
+ 1.153876e-02  2.829427e-03 -2.231495e-01 -3.084610e-01  1.704815e-08 -8.942257e-09
+ 1.153876e-02  3.465102e-03 -2.233305e-01 -3.084593e-01 -1.648549e-08 -1.485197e-08
+ 1.153876e-02  4.001000e-03 -2.235018e-01 -3.084518e-01 -5.378809e-07 -2.109627e-07
+ 1.153876e-02  4.473136e-03 -2.236660e-01 -3.084409e-01  9.186551e-09 -2.349341e-08
+ 1.153876e-02  4.899979e-03 -2.238276e-01 -3.084285e-01  1.417135e-07  3.716100e-08
+ 1.153876e-02  5.292503e-03 -2.239881e-01 -3.084156e-01  5.123186e-07  1.260050e-07
+ 1.153876e-02  5.657854e-03 -2.241523e-01 -3.084041e-01  2.247331e-06  6.700303e-07
+ 1.153876e-02  6.001000e-03 -2.242536e-01 -3.083681e-01  4.859334e-05  1.856623e-05
+ 1.153876e-02  6.325555e-03 -2.244576e-01 -3.083724e-01  3.903256e-06  9.167516e-07
+ 1.153876e-02  6.634250e-03 -2.246231e-01 -3.083619e-01  2.075502e-06  4.750699e-07
+ 1.153876e-02  6.929203e-03 -2.247891e-01 -3.083519e-01 -6.905658e-06 -1.511358e-06
+ 1.153876e-02  7.212103e-03 -2.249653e-01 -3.083462e-01 -2.793548e-05 -6.753781e-06
+ 1.153876e-02  7.484315e-03 -2.251285e-01 -3.083362e-01 -2.703492e-05 -5.943969e-06
+ 1.153876e-02  7.746967e-03 -2.253047e-01 -3.083315e-01  1.203295e-05  2.879370e-06
+ 1.153876e-02  8.001000e-03 -2.254741e-01 -3.083245e-01  2.568935e-05  8.774593e-06
+ 1.153876e-02  8.247211e-03 -2.257026e-01 -3.083413e-01  1.260821e-05  2.780195e-06
+ 1.153876e-02  8.486281e-03 -2.259377e-01 -3.083602e-01  1.533435e-05  4.916591e-06
+ 1.153876e-02  8.718798e-03 -2.261523e-01 -3.083724e-01  1.821904e-08 -1.374668e-07
+ 1.153876e-02  8.945272e-03 -2.264453e-01 -3.084190e-01 -1.048922e-05 -4.417035e-06
+ 1.153876e-02  9.166151e-03 -2.267108e-01 -3.084558e-01 -3.194454e-06 -6.637389e-07
+ 1.153876e-02  9.381832e-03 -2.271480e-01 -3.085722e-01  7.033667e-03  1.765458e-03
+ 1.153876e-02  9.592663e-03 -2.330357e-01 -3.106890e-01  7.971749e-04 -1.246099e-04
+ 1.153876e-02  9.798959e-03 -2.301578e-01 -3.094593e-01  3.584987e-03  5.164572e-04
+ 1.153876e-02  1.000100e-02 -2.302893e-01 -3.091678e-01 -6.208799e-05  1.640635e-04
+ 1.153876e-02  1.019904e-02 -2.302418e-01 -3.092504e-01 -3.242460e-05  1.034779e-04
+ 1.153876e-02  1.039330e-02 -2.302302e-01 -3.092678e-01  1.143467e-05  2.285033e-05
+ 1.153876e-02  1.058401e-02 -2.302279e-01 -3.092528e-01  8.036268e-05 -1.042922e-04
+ 1.153876e-02  1.077133e-02 -2.298520e-01 -3.091144e-01  3.333481e-03  8.358558e-04
+ 1.153876e-02  1.095545e-02 -2.302237e-01 -3.091939e-01  2.385365e-03  2.324509e-04
+ 1.153876e-02  1.113653e-02 -2.303038e-01 -3.091199e-01 -8.669005e-04  5.994440e-05
+ 1.153876e-02  1.131471e-02 -2.303375e-01 -3.089594e-01 -8.556689e-05  2.113774e-05
+ 1.153876e-02  1.149013e-02 -2.303729e-01 -3.088905e-01  1.225584e-04  1.367152e-04
+ 1.153876e-02  1.166290e-02 -2.303914e-01 -3.088198e-01  1.471179e-06 -5.322163e-06
+ 1.153876e-02  1.183316e-02 -2.304025e-01 -3.088056e-01 -3.250026e-03 -1.137918e-03
+ 1.153876e-02  1.200100e-02 -2.304382e-01 -3.086940e-01 -7.403768e-06  8.873464e-06
+ 1.153876e-02  1.216653e-02 -2.304595e-01 -3.086334e-01  2.910611e-05 -1.181824e-04
+ 1.153876e-02  1.232983e-02 -2.304500e-01 -3.086565e-01  5.210581e-04  8.074794e-05
+ 1.153876e-02  1.249100e-02 -2.304503e-01 -3.086306e-01  8.615898e-05 -2.258574e-04
+ 1.153876e-02  1.265011e-02 -2.305598e-01 -3.083082e-01 -1.687449e-04 -1.730836e-03
+ 1.153876e-02  1.280725e-02 -2.316163e-01 -3.073106e-01 -2.316163e-01 -3.073106e-01
+ 1.153876e-02  1.296248e-02 -2.316364e-01 -3.072076e-01 -1.723798e-04  6.506382e-04
+ 1.153876e-02  1.311588e-02 -2.305648e-01 -3.083111e-01  3.309437e-04 -8.578204e-04
+ 1.153876e-02  1.326750e-02 -2.313958e-01 -3.076875e-01 -2.080781e-04 -4.703034e-04
+ 1.153876e-02  1.341741e-02 -2.326320e-01 -3.075898e-01 -1.536977e-03  2.826768e-04
+ 1.153876e-02  1.356566e-02 -2.307734e-01 -3.076927e-01  1.338662e-03 -8.709259e-04
+ 1.153876e-02  1.371231e-02 -2.311832e-01 -3.073431e-01 -1.167655e-04  5.996463e-04
+ 1.153876e-02  1.385741e-02 -2.357584e-01 -3.072009e-01 -4.529828e-03  6.679643e-04
+ 1.153876e-02  1.400100e-02 -2.313011e-01 -3.071306e-01  1.239693e-03 -7.106942e-05
+ 1.153876e-02  1.414314e-02 -2.312733e-01 -3.071859e-01 -5.036839e-04  5.031324e-04
+ 1.153876e-02  1.428386e-02 -2.338740e-01 -3.073629e-01 -3.092084e-03  1.685766e-04
+ 1.153876e-02  1.442321e-02 -2.320665e-01 -3.066720e-01 -1.308602e-03  7.864074e-04
+ 1.153876e-02  1.456122e-02 -2.321807e-01 -3.071402e-01 -1.664164e-03  1.303268e-03
+ 1.153876e-02  1.469794e-02 -2.309446e-01 -3.074529e-01 -2.309446e-01 -3.074529e-01
+ 1.153876e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.496763e-02 -2.315910e-01 -3.075862e-01  1.769929e-04 -7.902969e-04
+ 1.153876e-02  1.510067e-02 -2.316604e-01 -3.068945e-01  3.684518e-03  1.421589e-04
+ 1.153876e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.536329e-02 -2.311330e-01 -3.069487e-01  4.345308e-04  4.947137e-04
+ 1.153876e-02  1.549293e-02 -2.285371e-01 -3.051522e-01  3.964179e-03  1.451922e-03
+ 1.153876e-02  1.562150e-02 -2.304289e-01 -3.076318e-01 -2.304289e-01 -3.076318e-01
+ 1.153876e-02  1.574902e-02 -2.310310e-01 -3.074095e-01  7.031398e-04 -3.239786e-04
+ 1.153876e-02  1.587551e-02 -2.307791e-01 -3.078727e-01 -4.133178e-06 -2.008131e-04
+ 1.153876e-02  1.600100e-02 -2.311343e-01 -3.067682e-01 -3.631188e-04  9.662055e-04
+ 1.153876e-02  1.612552e-02 -2.307973e-01 -3.075554e-01  8.039546e-04 -1.014760e-03
+ 1.153876e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.939172e-02 -2.327944e-01 -3.039143e-01 -2.327944e-01 -3.039143e-01
+ 1.153876e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.153876e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.000000e-06 -2.230077e-01 -3.085012e-01  4.182759e-08  4.526427e-09
+ 1.164918e-02  2.001000e-03 -2.233292e-01 -3.085935e-01  6.619494e-09  7.472362e-09
+ 1.164918e-02  2.829427e-03 -2.235242e-01 -3.086033e-01 -6.785991e-08  1.736972e-08
+ 1.164918e-02  3.465102e-03 -2.236990e-01 -3.086009e-01  1.395137e-08 -4.395797e-08
+ 1.164918e-02  4.001000e-03 -2.238646e-01 -3.085931e-01 -4.013085e-08 -1.757326e-09
+ 1.164918e-02  4.473136e-03 -2.240259e-01 -3.085828e-01  2.844862e-08  1.315195e-08
+ 1.164918e-02  4.899979e-03 -2.242051e-01 -3.085789e-01 -1.293670e-06 -4.677087e-07
+ 1.164918e-02  5.292503e-03 -2.242382e-01 -3.085183e-01 -1.345574e-05 -5.268180e-06
+ 1.164918e-02  5.657854e-03 -2.244919e-01 -3.085431e-01 -4.105912e-08  6.751323e-10
+ 1.164918e-02  6.001000e-03 -2.246525e-01 -3.085319e-01  7.645724e-08  4.336443e-08
+ 1.164918e-02  6.325555e-03 -2.248147e-01 -3.085214e-01 -1.433410e-08 -7.804805e-09
+ 1.164918e-02  6.634250e-03 -2.249785e-01 -3.085118e-01  2.121341e-07  1.239135e-07
+ 1.164918e-02  6.929203e-03 -2.251482e-01 -3.085047e-01 -2.992300e-07  2.171622e-08
+ 1.164918e-02  7.212103e-03 -2.253217e-01 -3.084996e-01 -1.175207e-07 -3.341402e-09
+ 1.164918e-02  7.484315e-03 -2.254699e-01 -3.084842e-01  6.194284e-05  2.543691e-05
+ 1.164918e-02  7.746967e-03 -2.257112e-01 -3.085076e-01  6.216029e-07  2.330168e-07
+ 1.164918e-02  8.001000e-03 -2.259132e-01 -3.085153e-01 -2.272870e-07 -8.919805e-08
+ 1.164918e-02  8.247211e-03 -2.261355e-01 -3.085325e-01 -1.118024e-06 -3.760357e-07
+ 1.164918e-02  8.486281e-03 -2.264190e-01 -3.085761e-01 -1.874347e-05 -7.717772e-06
+ 1.164918e-02  8.718798e-03 -2.267398e-01 -3.086362e-01  1.011471e-04  4.251307e-05
+ 1.164918e-02  8.945272e-03 -2.338371e-01 -3.111186e-01  3.199057e-04  1.764727e-04
+ 1.164918e-02  9.166151e-03 -2.278483e-01 -3.095752e-01  5.857476e-03  9.532929e-04
+ 1.164918e-02  9.381832e-03 -2.341142e-01 -3.103293e-01 -3.582015e-03 -4.072307e-04
+ 1.164918e-02  9.592663e-03 -2.302155e-01 -3.096022e-01 -1.698955e-05 -1.245140e-04
+ 1.164918e-02  9.798959e-03 -2.302610e-01 -3.092603e-01  2.073024e-06 -4.994553e-06
+ 1.164918e-02  1.000100e-02 -2.302331e-01 -3.092950e-01  3.507048e-05 -5.746005e-05
+ 1.164918e-02  1.019904e-02 -2.302239e-01 -3.092999e-01  3.361957e-03  8.610185e-04
+ 1.164918e-02  1.039330e-02 -2.302201e-01 -3.092779e-01  1.474744e-04  2.857991e-05
+ 1.164918e-02  1.058401e-02 -2.302189e-01 -3.092765e-01 -1.317471e-05  7.844063e-05
+ 1.164918e-02  1.077133e-02 -2.316753e-01 -3.098473e-01 -1.385539e-03 -7.009768e-04
+ 1.164918e-02  1.095545e-02 -2.298540e-01 -3.091062e-01  4.384728e-04 -4.129985e-05
+ 1.164918e-02  1.113653e-02 -2.304704e-01 -3.093316e-01 -1.580351e-04 -1.652550e-04
+ 1.164918e-02  1.131471e-02 -2.303081e-01 -3.090014e-01  1.809216e-05  1.237790e-06
+ 1.164918e-02  1.149013e-02 -2.303649e-01 -3.089038e-01  1.798717e-05 -4.478441e-05
+ 1.164918e-02  1.166290e-02 -2.303845e-01 -3.088443e-01 -4.158258e-05  6.533491e-05
+ 1.164918e-02  1.183316e-02 -2.304013e-01 -3.087914e-01  6.796641e-06 -5.637970e-06
+ 1.164918e-02  1.200100e-02 -2.304320e-01 -3.087074e-01 -5.845359e-06  5.025419e-05
+ 1.164918e-02  1.216653e-02 -2.304566e-01 -3.086446e-01 -2.304566e-01 -3.086446e-01
+ 1.164918e-02  1.232983e-02 -2.304472e-01 -3.086529e-01  3.714269e-05 -9.391980e-05
+ 1.164918e-02  1.249100e-02 -2.304444e-01 -3.086576e-01  5.588695e-05 -1.646674e-04
+ 1.164918e-02  1.265011e-02 -2.305478e-01 -3.083430e-01  9.124361e-04 -6.311817e-04
+ 1.164918e-02  1.280725e-02 -2.306277e-01 -3.081038e-01 -9.497589e-05  3.058001e-04
+ 1.164918e-02  1.296248e-02 -2.316282e-01 -3.072882e-01  1.405045e-03 -2.225873e-04
+ 1.164918e-02  1.311588e-02 -2.308128e-01 -3.075158e-01  6.527149e-04  3.186525e-04
+ 1.164918e-02  1.326750e-02 -2.305458e-01 -3.083591e-01  2.930988e-05 -6.446964e-05
+ 1.164918e-02  1.341741e-02 -2.338745e-01 -3.071712e-01 -3.569619e-03 -8.143293e-05
+ 1.164918e-02  1.356566e-02 -2.307762e-01 -3.076634e-01  1.177356e-03 -7.910325e-04
+ 1.164918e-02  1.371231e-02 -2.314078e-01 -3.071686e-01 -6.741404e-06  6.240553e-04
+ 1.164918e-02  1.385741e-02 -2.321520e-01 -3.072242e-01 -2.321520e-01 -3.072242e-01
+ 1.164918e-02  1.400100e-02 -2.320877e-01 -3.066912e-01  1.036038e-04 -7.491239e-04
+ 1.164918e-02  1.414314e-02 -2.312840e-01 -3.071901e-01 -5.213527e-04  5.239479e-04
+ 1.164918e-02  1.428386e-02 -2.355562e-01 -3.070651e-01 -3.914446e-03  4.749084e-04
+ 1.164918e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.456122e-02 -2.308933e-01 -3.074083e-01  9.468847e-04 -5.906448e-04
+ 1.164918e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.496763e-02 -2.311588e-01 -3.072674e-01 -3.889683e-04  3.993407e-04
+ 1.164918e-02  1.510067e-02 -2.307893e-01 -3.072189e-01 -2.307893e-01 -3.072189e-01
+ 1.164918e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.549293e-02 -2.307728e-01 -3.077242e-01  1.257165e-03 -8.029431e-04
+ 1.164918e-02  1.562150e-02 -2.307484e-01 -3.077789e-01  1.180937e-04 -1.648720e-03
+ 1.164918e-02  1.574902e-02 -2.325208e-01 -3.065024e-01  2.563983e-05  2.160410e-04
+ 1.164918e-02  1.587551e-02 -2.325139e-01 -3.067255e-01 -1.846171e-03  1.327502e-03
+ 1.164918e-02  1.600100e-02 -2.333558e-01 -3.067410e-01  3.198167e-03 -6.849894e-05
+ 1.164918e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.637171e-02 -2.322560e-01 -3.059787e-01 -2.322560e-01 -3.059787e-01
+ 1.164918e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.164918e-02  1.979999e-02 -2.328462e-01 -3.029435e-01 -2.328462e-01 -3.029435e-01
+ 1.164918e-02  1.990075e-02 -2.328112e-01 -3.034988e-01 -2.328112e-01 -3.034988e-01
+ 1.164918e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.000000e-06 -2.234049e-01 -3.086484e-01 -1.055529e-06 -3.474860e-07
+ 1.175855e-02  2.001000e-03 -2.237077e-01 -3.087363e-01 -7.482736e-09 -2.857397e-08
+ 1.175855e-02  2.829427e-03 -2.238948e-01 -3.087450e-01 -3.062566e-08  9.471319e-09
+ 1.175855e-02  3.465102e-03 -2.240644e-01 -3.087426e-01 -5.247214e-08 -1.374221e-08
+ 1.175855e-02  4.001000e-03 -2.242184e-01 -3.087321e-01 -1.369350e-05 -5.283342e-06
+ 1.175855e-02  4.473136e-03 -2.243768e-01 -3.087225e-01 -4.465865e-06 -1.662057e-06
+ 1.175855e-02  4.899979e-03 -2.245345e-01 -3.087121e-01 -2.498204e-08 -7.813814e-09
+ 1.175855e-02  5.292503e-03 -2.246908e-01 -3.087009e-01 -6.621008e-08  1.115071e-08
+ 1.175855e-02  5.657854e-03 -2.248508e-01 -3.086911e-01  2.682320e-06  9.932162e-07
+ 1.175855e-02  6.001000e-03 -2.250073e-01 -3.086802e-01 -1.279623e-07 -2.807490e-08
+ 1.175855e-02  6.325555e-03 -2.251708e-01 -3.086720e-01 -1.010140e-07 -3.418667e-08
+ 1.175855e-02  6.634250e-03 -2.253382e-01 -3.086656e-01 -3.829930e-07 -1.548959e-07
+ 1.175855e-02  6.929203e-03 -2.254706e-01 -3.086453e-01  7.410045e-05  3.022969e-05
+ 1.175855e-02  7.212103e-03 -2.257170e-01 -3.086718e-01  4.544078e-07  2.105790e-07
+ 1.175855e-02  7.484315e-03 -2.258997e-01 -3.086730e-01  2.612841e-06  1.040069e-06
+ 1.175855e-02  7.746967e-03 -2.261361e-01 -3.086968e-01 -2.484596e-06 -1.121990e-06
+ 1.175855e-02  8.001000e-03 -2.263911e-01 -3.087301e-01 -1.257728e-05 -5.306229e-06
+ 1.175855e-02  8.247211e-03 -2.266451e-01 -3.087662e-01  7.958209e-07  3.004899e-07
+ 1.175855e-02  8.486281e-03 -2.338575e-01 -3.104512e-01 -5.305830e-05  1.651730e-04
+ 1.175855e-02  8.718798e-03 -2.333078e-01 -3.110716e-01  3.487887e-05  4.555463e-05
+ 1.175855e-02  8.945272e-03 -2.285187e-01 -3.094348e-01  1.636106e-03  1.208964e-04
+ 1.175855e-02  9.166151e-03 -2.340743e-01 -3.104703e-01 -3.611577e-03 -6.223033e-04
+ 1.175855e-02  9.381832e-03 -2.301272e-01 -3.095837e-01  4.039759e-03  5.031102e-04
+ 1.175855e-02  9.592663e-03 -2.302410e-01 -3.093072e-01 -1.907751e-05  4.680694e-05
+ 1.175855e-02  9.798959e-03 -2.302326e-01 -3.093276e-01 -2.534827e-05  1.866450e-05
+ 1.175855e-02  1.000100e-02 -2.302235e-01 -3.093400e-01 -3.092590e-05  6.564799e-05
+ 1.175855e-02  1.019904e-02 -2.302209e-01 -3.093411e-01  1.077557e-05 -2.945449e-05
+ 1.175855e-02  1.039330e-02 -2.302098e-01 -3.093294e-01  6.783457e-04  4.831894e-04
+ 1.175855e-02  1.058401e-02 -2.302121e-01 -3.093100e-01  2.788347e-04  3.438550e-04
+ 1.175855e-02  1.077133e-02 -2.301749e-01 -3.090678e-01  2.154998e-04  5.287584e-05
+ 1.175855e-02  1.095545e-02 -2.298467e-01 -3.091223e-01  5.364627e-04  2.204118e-04
+ 1.175855e-02  1.113653e-02 -2.304617e-01 -3.092838e-01  2.393727e-03  2.123512e-04
+ 1.175855e-02  1.131471e-02 -2.303314e-01 -3.089814e-01 -1.913432e-05  4.768565e-05
+ 1.175855e-02  1.149013e-02 -2.303641e-01 -3.089078e-01  6.944681e-06 -1.829183e-05
+ 1.175855e-02  1.166290e-02 -2.303764e-01 -3.088691e-01  1.308521e-06  9.681512e-07
+ 1.175855e-02  1.183316e-02 -2.303993e-01 -3.087937e-01  2.931653e-05 -7.362119e-05
+ 1.175855e-02  1.200100e-02 -2.304336e-01 -3.087091e-01 -7.996858e-05  1.338304e-04
+ 1.175855e-02  1.216653e-02 -2.304519e-01 -3.086583e-01  1.248544e-04  1.548717e-04
+ 1.175855e-02  1.232983e-02 -2.304470e-01 -3.086569e-01 -2.304470e-01 -3.086569e-01
+ 1.175855e-02  1.249100e-02 -2.304429e-01 -3.086714e-01  1.255774e-05 -6.711423e-05
+ 1.175855e-02  1.265011e-02 -2.304986e-01 -3.084807e-01  1.130028e-03 -1.050104e-03
+ 1.175855e-02  1.280725e-02 -2.305307e-01 -3.084162e-01 -8.684588e-05  2.456861e-04
+ 1.175855e-02  1.296248e-02 -2.316258e-01 -3.072690e-01  1.519032e-03 -1.352230e-04
+ 1.175855e-02  1.311588e-02 -2.314963e-01 -3.077139e-01 -2.314963e-01 -3.077139e-01
+ 1.175855e-02  1.326750e-02 -2.305415e-01 -3.083816e-01 -2.305415e-01 -3.083816e-01
+ 1.175855e-02  1.341741e-02 -2.337013e-01 -3.067025e-01 -3.430572e-03  2.757927e-04
+ 1.175855e-02  1.356566e-02 -2.309206e-01 -3.072159e-01  5.934563e-04  3.441612e-04
+ 1.175855e-02  1.371231e-02 -2.305441e-01 -3.074421e-01  2.270764e-04  2.472599e-04
+ 1.175855e-02  1.385741e-02 -2.357305e-01 -3.069895e-01 -3.926837e-03 -5.736324e-04
+ 1.175855e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.414314e-02 -2.306676e-01 -3.063246e-01 -1.486674e-04  2.121604e-03
+ 1.175855e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.442321e-02 -2.313792e-01 -3.076294e-01 -1.148620e-04 -2.697247e-04
+ 1.175855e-02  1.456122e-02 -2.306389e-01 -3.079304e-01 -1.710689e-04  6.657491e-04
+ 1.175855e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.483340e-02 -2.324411e-01 -3.070180e-01 -9.973262e-04  7.074630e-04
+ 1.175855e-02  1.496763e-02 -2.314448e-01 -3.069894e-01  5.722185e-04  2.003163e-04
+ 1.175855e-02  1.510067e-02 -2.319313e-01 -3.074354e-01 -2.319313e-01 -3.074354e-01
+ 1.175855e-02  1.523255e-02 -2.307417e-01 -3.077593e-01  2.739847e-05 -3.137965e-05
+ 1.175855e-02  1.536329e-02 -2.308608e-01 -3.077680e-01 -2.308608e-01 -3.077680e-01
+ 1.175855e-02  1.549293e-02 -2.357786e-01 -3.067155e-01 -4.734516e-03  1.248283e-03
+ 1.175855e-02  1.562150e-02 -2.328407e-01 -3.068322e-01  3.436762e-03  3.328247e-04
+ 1.175855e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.175855e-02  2.000100e-02 -2.333122e-01 -3.034238e-01 -2.333122e-01 -3.034238e-01
+ 1.186692e-02  1.000000e-06 -2.237997e-01 -3.087959e-01  2.992524e-09 -7.307347e-08
+ 1.186692e-02  2.001000e-03 -2.240830e-01 -3.088790e-01  5.030863e-09  1.685366e-08
+ 1.186692e-02  2.829427e-03 -2.242094e-01 -3.088666e-01  2.785964e-05  1.087242e-05
+ 1.186692e-02  3.465102e-03 -2.244255e-01 -3.088841e-01 -3.438887e-07 -1.152167e-07
+ 1.186692e-02  4.001000e-03 -2.245826e-01 -3.088768e-01  2.569975e-09  3.976477e-09
+ 1.186692e-02  4.473136e-03 -2.247375e-01 -3.088677e-01 -9.804157e-08 -3.326013e-08
+ 1.186692e-02  4.899979e-03 -2.248902e-01 -3.088573e-01  1.066438e-07  8.234879e-09
+ 1.186692e-02  5.292503e-03 -2.250457e-01 -3.088476e-01 -7.880126e-08 -2.202354e-08
+ 1.186692e-02  5.657854e-03 -2.252037e-01 -3.088390e-01  2.072306e-08  1.289206e-08
+ 1.186692e-02  6.001000e-03 -2.253635e-01 -3.088312e-01 -6.344520e-08 -3.216326e-08
+ 1.186692e-02  6.325555e-03 -2.255684e-01 -3.088419e-01 -3.024841e-07 -1.119514e-07
+ 1.186692e-02  6.634250e-03 -2.257361e-01 -3.088378e-01  2.146799e-06  8.680164e-07
+ 1.186692e-02  6.929203e-03 -2.259138e-01 -3.088385e-01  1.384301e-07  5.478650e-08
+ 1.186692e-02  7.212103e-03 -2.261213e-01 -3.088520e-01  1.757450e-06  8.816533e-07
+ 1.186692e-02  7.484315e-03 -2.263969e-01 -3.088955e-01 -1.337063e-05 -5.687766e-06
+ 1.186692e-02  7.746967e-03 -2.266358e-01 -3.089269e-01 -7.230395e-05 -2.992354e-05
+ 1.186692e-02  8.001000e-03 -2.336187e-01 -3.113520e-01 -3.035332e-03 -1.227842e-03
+ 1.186692e-02  8.247211e-03 -2.340624e-01 -3.115081e-01 -1.278928e-04 -4.342947e-05
+ 1.186692e-02  8.486281e-03 -2.338619e-01 -3.111687e-01 -1.094060e-03 -1.502001e-04
+ 1.186692e-02  8.718798e-03 -2.300615e-01 -3.098342e-01  1.695923e-05 -4.166640e-05
+ 1.186692e-02  8.945272e-03 -2.332755e-01 -3.105560e-01 -3.111042e-03 -5.921924e-04
+ 1.186692e-02  9.166151e-03 -2.301085e-01 -3.096483e-01 -5.231454e-06  9.424897e-06
+ 1.186692e-02  9.381832e-03 -2.302240e-01 -3.093328e-01 -9.746257e-05  2.405554e-04
+ 1.186692e-02  9.592663e-03 -2.302285e-01 -3.093520e-01 -2.076585e-05  2.365340e-05
+ 1.186692e-02  9.798959e-03 -2.302182e-01 -3.093639e-01 -4.070517e-05  8.861933e-05
+ 1.186692e-02  1.000100e-02 -2.302060e-01 -3.093639e-01 -1.577813e-05  3.720884e-05
+ 1.186692e-02  1.019904e-02 -2.302055e-01 -3.093570e-01 -2.080287e-05  3.056899e-05
+ 1.186692e-02  1.039330e-02 -2.302054e-01 -3.093364e-01  3.361735e-03  1.073625e-03
+ 1.186692e-02  1.058401e-02 -2.302056e-01 -3.093243e-01  3.525404e-06  4.597756e-05
+ 1.186692e-02  1.077133e-02 -2.297797e-01 -3.091610e-01  7.769413e-04  4.516279e-04
+ 1.186692e-02  1.095545e-02 -2.302129e-01 -3.092500e-01  1.315302e-04 -1.897043e-04
+ 1.186692e-02  1.113653e-02 -2.302906e-01 -3.090892e-01  3.419673e-05 -4.882589e-05
+ 1.186692e-02  1.131471e-02 -2.303349e-01 -3.089820e-01 -1.044676e-06  6.582747e-06
+ 1.186692e-02  1.149013e-02 -2.303637e-01 -3.089151e-01 -5.999235e-06 -5.138641e-06
+ 1.186692e-02  1.166290e-02 -2.303764e-01 -3.088630e-01  5.928806e-06 -7.850256e-06
+ 1.186692e-02  1.183316e-02 -2.303970e-01 -3.087989e-01  1.000936e-05 -2.353962e-05
+ 1.186692e-02  1.200100e-02 -2.304366e-01 -3.087055e-01  5.882381e-06 -1.737064e-05
+ 1.186692e-02  1.216653e-02 -2.304495e-01 -3.086506e-01 -2.133197e-05  5.341462e-05
+ 1.186692e-02  1.232983e-02 -2.304486e-01 -3.086586e-01  4.173240e-05 -1.269675e-04
+ 1.186692e-02  1.249100e-02 -2.304383e-01 -3.086763e-01  3.261376e-06 -1.162457e-05
+ 1.186692e-02  1.265011e-02 -2.304775e-01 -3.085643e-01  3.404408e-04 -1.027237e-03
+ 1.186692e-02  1.280725e-02 -2.305331e-01 -3.084037e-01 -7.355983e-05  2.247834e-04
+ 1.186692e-02  1.296248e-02 -2.299965e-01 -3.060804e-01 -3.499520e-04  7.690341e-04
+ 1.186692e-02  1.311588e-02 -2.315666e-01 -3.074941e-01  3.151787e-04 -1.496895e-04
+ 1.186692e-02  1.326750e-02 -2.305691e-01 -3.082997e-01 -5.357935e-04  3.576061e-04
+ 1.186692e-02  1.341741e-02 -2.305408e-01 -3.083731e-01  9.340477e-04 -5.586850e-04
+ 1.186692e-02  1.356566e-02 -2.314431e-01 -3.078737e-01  5.056727e-04 -4.474013e-04
+ 1.186692e-02  1.371231e-02 -2.306703e-01 -3.075383e-01 -3.461575e-04  4.421637e-04
+ 1.186692e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.400100e-02 -2.326114e-01 -3.069423e-01 -8.107721e-04 -1.021762e-03
+ 1.186692e-02  1.414314e-02 -2.355065e-01 -3.072283e-01 -4.731599e-03  4.247892e-04
+ 1.186692e-02  1.428386e-02 -2.336899e-01 -3.066013e-01 -2.897143e-03  9.885181e-04
+ 1.186692e-02  1.442321e-02 -2.330217e-01 -3.070099e-01 -2.067277e-03  8.199869e-04
+ 1.186692e-02  1.456122e-02 -2.314188e-01 -3.079081e-01  1.241739e-03 -8.279296e-04
+ 1.186692e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.483340e-02 -2.303054e-01 -3.070143e-01  2.377791e-04  3.941606e-04
+ 1.186692e-02  1.496763e-02 -2.307728e-01 -3.076854e-01 -2.555949e-03 -3.009346e-03
+ 1.186692e-02  1.510067e-02 -2.308468e-01 -3.074633e-01  2.967813e-04 -2.146988e-04
+ 1.186692e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.536329e-02 -2.359157e-01 -3.070844e-01 -5.047462e-03  3.652310e-04
+ 1.186692e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.186692e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.000000e-06 -2.242138e-01 -3.089529e-01  6.155445e-06  2.977370e-06
+ 1.197430e-02  2.001000e-03 -2.244566e-01 -3.090228e-01 -3.240256e-08 -1.726796e-08
+ 1.197430e-02  2.829427e-03 -2.246286e-01 -3.090303e-01 -1.129302e-08 -2.383613e-08
+ 1.197430e-02  3.465102e-03 -2.247869e-01 -3.090276e-01  4.231771e-08 -1.299266e-08
+ 1.197430e-02  4.001000e-03 -2.249406e-01 -3.090211e-01 -2.177923e-08 -8.427482e-09
+ 1.197430e-02  4.473136e-03 -2.250927e-01 -3.090129e-01 -9.119760e-09 -2.025253e-08
+ 1.197430e-02  4.899979e-03 -2.252458e-01 -3.090046e-01 -8.567373e-08 -3.218038e-08
+ 1.197430e-02  5.292503e-03 -2.253885e-01 -3.089919e-01  1.114125e-05  4.565530e-06
+ 1.197430e-02  5.657854e-03 -2.255837e-01 -3.090006e-01  1.618574e-06  6.291942e-07
+ 1.197430e-02  6.001000e-03 -2.257434e-01 -3.089952e-01  3.386009e-06  1.330361e-06
+ 1.197430e-02  6.325555e-03 -2.259302e-01 -3.090010e-01 -3.835800e-06 -1.745084e-06
+ 1.197430e-02  6.634250e-03 -2.261249e-01 -3.090111e-01 -3.494338e-05 -1.534174e-05
+ 1.197430e-02  6.929203e-03 -2.263151e-01 -3.090209e-01 -5.176267e-06 -2.292365e-06
+ 1.197430e-02  7.212103e-03 -2.297663e-01 -3.100318e-01  1.123390e-03  5.314922e-04
+ 1.197430e-02  7.484315e-03 -2.297754e-01 -3.100744e-01  5.923927e-04  2.483619e-04
+ 1.197430e-02  7.746967e-03 -2.300763e-01 -3.100916e-01  3.739389e-03  1.456761e-03
+ 1.197430e-02  8.001000e-03 -2.306110e-01 -3.103417e-01  3.381443e-03  1.199151e-03
+ 1.197430e-02  8.247211e-03 -2.338695e-01 -3.112553e-01 -4.102095e-05  1.239278e-04
+ 1.197430e-02  8.486281e-03 -2.300601e-01 -3.098418e-01 -3.828658e-06 -1.033426e-05
+ 1.197430e-02  8.718798e-03 -2.300617e-01 -3.098598e-01  3.783694e-03  9.973735e-04
+ 1.197430e-02  8.945272e-03 -2.300720e-01 -3.097527e-01  4.234550e-03  8.281039e-04
+ 1.197430e-02  9.166151e-03 -2.301783e-01 -3.094450e-01 -5.325697e-05  1.429945e-04
+ 1.197430e-02  9.381832e-03 -2.302181e-01 -3.093650e-01 -5.906823e-05  1.650281e-04
+ 1.197430e-02  9.592663e-03 -2.302149e-01 -3.093828e-01  1.864818e-05 -6.814648e-05
+ 1.197430e-02  9.798959e-03 -2.302082e-01 -3.093872e-01 -2.688412e-05  5.676161e-05
+ 1.197430e-02  1.000100e-02 -2.302022e-01 -3.093796e-01 -3.580811e-05  8.176201e-05
+ 1.197430e-02  1.019904e-02 -2.301999e-01 -3.093689e-01 -2.734422e-05  7.450266e-05
+ 1.197430e-02  1.039330e-02 -2.301993e-01 -3.093392e-01  3.526867e-05 -2.012138e-05
+ 1.197430e-02  1.058401e-02 -2.302008e-01 -3.093316e-01  5.695666e-05 -6.725564e-05
+ 1.197430e-02  1.077133e-02 -2.301957e-01 -3.093031e-01  1.231800e-03  5.884869e-04
+ 1.197430e-02  1.095545e-02 -2.304970e-01 -3.094949e-01  4.062196e-03  8.345438e-04
+ 1.197430e-02  1.113653e-02 -2.302878e-01 -3.090944e-01  2.900636e-05 -3.937536e-05
+ 1.197430e-02  1.131471e-02 -2.303334e-01 -3.089856e-01  1.675964e-05 -3.156335e-05
+ 1.197430e-02  1.149013e-02 -2.303628e-01 -3.089180e-01 -5.039488e-05  7.473845e-05
+ 1.197430e-02  1.166290e-02 -2.303750e-01 -3.088659e-01 -1.024688e-05  4.569583e-05
+ 1.197430e-02  1.183316e-02 -2.303962e-01 -3.088046e-01  1.113711e-05 -2.509144e-05
+ 1.197430e-02  1.200100e-02 -2.304329e-01 -3.087049e-01 -1.859444e-05  5.100121e-05
+ 1.197430e-02  1.216653e-02 -2.304486e-01 -3.086577e-01  2.522358e-05 -6.558367e-05
+ 1.197430e-02  1.232983e-02 -2.304456e-01 -3.086640e-01  6.617429e-07 -2.743890e-06
+ 1.197430e-02  1.249100e-02 -2.304406e-01 -3.086792e-01  5.802665e-05 -1.792786e-04
+ 1.197430e-02  1.265011e-02 -2.304495e-01 -3.086409e-01 -9.763775e-06  4.401964e-05
+ 1.197430e-02  1.280725e-02 -2.305546e-01 -3.083265e-01 -3.338561e-05  1.000745e-04
+ 1.197430e-02  1.296248e-02 -2.306265e-01 -3.081801e-01  2.267602e-04 -5.879067e-04
+ 1.197430e-02  1.311588e-02 -2.315241e-01 -3.075953e-01  1.272264e-04 -5.004555e-04
+ 1.197430e-02  1.326750e-02 -2.315061e-01 -3.076328e-01  3.508670e-06 -4.792578e-04
+ 1.197430e-02  1.341741e-02 -2.305516e-01 -3.083510e-01 -1.068842e-04  2.995410e-04
+ 1.197430e-02  1.356566e-02 -2.311213e-01 -3.072869e-01  4.090156e-03 -2.494094e-04
+ 1.197430e-02  1.371231e-02 -2.307436e-01 -3.074635e-01  1.436577e-04 -2.200192e-04
+ 1.197430e-02  1.385741e-02 -2.317794e-01 -3.075217e-01 -4.528331e-04  2.613766e-04
+ 1.197430e-02  1.400100e-02 -2.307586e-01 -3.079526e-01  1.616818e-03 -1.259675e-03
+ 1.197430e-02  1.414314e-02 -2.365499e-01 -3.076668e-01 -5.703485e-03  7.593616e-05
+ 1.197430e-02  1.428386e-02 -2.314030e-01 -3.070405e-01 -9.934162e-04  1.587357e-04
+ 1.197430e-02  1.442321e-02 -2.304254e-01 -3.065620e-01 -2.304254e-01 -3.065620e-01
+ 1.197430e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.469794e-02 -2.329908e-01 -3.071736e-01 -2.221750e-03  5.170091e-04
+ 1.197430e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.496763e-02 -2.306507e-01 -3.075224e-01  1.091670e-04  1.975828e-04
+ 1.197430e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.523255e-02 -2.308557e-01 -3.071821e-01 -2.308557e-01 -3.071821e-01
+ 1.197430e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.197430e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.000000e-06 -2.245829e-01 -2.245829e-01 -5.794007e-09  6.184213e-09
+ 1.208074e-02  2.001000e-03 -2.248276e-01 -3.091679e-01 -1.204175e-08 -3.368556e-08
+ 1.208074e-02  2.829427e-03 -2.249922e-01 -3.091748e-01  5.340440e-09 -2.588368e-09
+ 1.208074e-02  3.465102e-03 -2.251461e-01 -3.091727e-01  4.699898e-08  7.964333e-09
+ 1.208074e-02  4.001000e-03 -2.252960e-01 -3.091670e-01 -3.078485e-08  7.674940e-09
+ 1.208074e-02  4.473136e-03 -2.254636e-01 -3.091674e-01 -3.520364e-06 -1.423790e-06
+ 1.208074e-02  4.899979e-03 -2.256193e-01 -3.091625e-01  7.711980e-06  3.051958e-06
+ 1.208074e-02  5.292503e-03 -2.257821e-01 -3.091604e-01  1.301471e-07  1.649172e-07
+ 1.208074e-02  5.657854e-03 -2.259546e-01 -3.091627e-01  6.564431e-07  3.049132e-07
+ 1.208074e-02  6.001000e-03 -2.261454e-01 -3.091736e-01 -2.330490e-05 -1.046033e-05
+ 1.208074e-02  6.325555e-03 -2.263079e-01 -3.091734e-01 -2.130495e-05 -8.720278e-06
+ 1.208074e-02  6.634250e-03 -2.269131e-01 -3.093496e-01  2.471700e-04  9.763549e-05
+ 1.208074e-02  6.929203e-03 -2.303448e-01 -3.105161e-01 -4.137929e-04 -3.073871e-04
+ 1.208074e-02  7.212103e-03 -2.331814e-01 -3.107315e-01  1.252090e-03  1.154413e-03
+ 1.208074e-02  7.484315e-03 -2.300211e-01 -3.101907e-01 -1.002181e-04 -3.507411e-05
+ 1.208074e-02  7.746967e-03 -2.304412e-01 -3.103044e-01 -4.671087e-04 -2.603591e-04
+ 1.208074e-02  8.001000e-03 -2.304977e-01 -3.102640e-01  2.666127e-03  1.055390e-03
+ 1.208074e-02  8.247211e-03 -2.300414e-01 -3.099000e-01 -2.000797e-05  2.045857e-05
+ 1.208074e-02  8.486281e-03 -2.300375e-01 -3.098868e-01  4.269889e-03  6.338895e-04
+ 1.208074e-02  8.718798e-03 -2.300823e-01 -3.097652e-01 -3.039342e-06 -2.030419e-05
+ 1.208074e-02  8.945272e-03 -2.300905e-01 -3.097089e-01  1.054694e-05 -5.875264e-07
+ 1.208074e-02  9.166151e-03 -2.301995e-01 -3.093996e-01 -9.533297e-05  2.598889e-04
+ 1.208074e-02  9.381832e-03 -2.302074e-01 -3.093939e-01 -4.572610e-05  1.426381e-04
+ 1.208074e-02  9.592663e-03 -2.302052e-01 -3.094007e-01 -6.844333e-06  2.424970e-05
+ 1.208074e-02  9.798959e-03 -2.301990e-01 -3.094067e-01 -3.761333e-05  8.917044e-05
+ 1.208074e-02  1.000100e-02 -2.301976e-01 -3.094021e-01 -1.706200e-05  2.850851e-05
+ 1.208074e-02  1.019904e-02 -2.301934e-01 -3.093920e-01 -8.131775e-06  4.746840e-06
+ 1.208074e-02  1.039330e-02 -2.301942e-01 -3.093804e-01  4.052466e-03  8.937758e-04
+ 1.208074e-02  1.058401e-02 -2.301901e-01 -3.093376e-01  7.353595e-05 -7.384558e-05
+ 1.208074e-02  1.077133e-02 -2.302020e-01 -3.093268e-01  6.516792e-04  4.111702e-04
+ 1.208074e-02  1.095545e-02 -2.305312e-01 -3.095053e-01  3.203962e-03  1.221969e-03
+ 1.208074e-02  1.113653e-02 -2.302857e-01 -3.091040e-01  2.650102e-03  1.123322e-03
+ 1.208074e-02  1.131471e-02 -2.303350e-01 -3.090002e-01  2.210115e-06 -4.139815e-06
+ 1.208074e-02  1.149013e-02 -2.303584e-01 -3.089208e-01  2.300501e-05 -5.178035e-05
+ 1.208074e-02  1.166290e-02 -2.303720e-01 -3.088852e-01  2.052921e-05  4.706745e-06
+ 1.208074e-02  1.183316e-02 -2.303946e-01 -3.088016e-01  1.528900e-05 -3.786503e-05
+ 1.208074e-02  1.200100e-02 -2.304325e-01 -3.087037e-01 -1.829494e-05  4.419860e-05
+ 1.208074e-02  1.216653e-02 -2.304475e-01 -3.086558e-01  1.826942e-05 -4.857326e-05
+ 1.208074e-02  1.232983e-02 -2.304490e-01 -3.086521e-01  3.265752e-06 -6.815478e-06
+ 1.208074e-02  1.249100e-02 -2.304436e-01 -3.086720e-01  5.071829e-05 -1.520658e-04
+ 1.208074e-02  1.265011e-02 -2.304385e-01 -3.086689e-01  6.751822e-05 -1.927194e-04
+ 1.208074e-02  1.280725e-02 -2.304522e-01 -3.086148e-01  4.175075e-05 -1.013488e-04
+ 1.208074e-02  1.296248e-02 -2.306108e-01 -3.081825e-01 -2.306108e-01 -3.081825e-01
+ 1.208074e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.326750e-02 -2.316899e-01 -3.074423e-01  4.326070e-03 -5.053094e-04
+ 1.208074e-02  1.341741e-02 -2.305314e-01 -3.084308e-01 -2.305314e-01 -3.084308e-01
+ 1.208074e-02  1.356566e-02 -2.305095e-01 -3.080415e-01  2.883937e-03 -1.127621e-03
+ 1.208074e-02  1.371231e-02 -2.368410e-01 -3.070167e-01 -1.741277e-03  1.651551e-03
+ 1.208074e-02  1.385741e-02 -2.307467e-01 -3.079061e-01 -4.105441e-04 -8.121821e-04
+ 1.208074e-02  1.400100e-02 -2.307262e-01 -3.079695e-01  1.406924e-03  1.752484e-05
+ 1.208074e-02  1.414314e-02 -2.314645e-01 -3.077478e-01 -7.279127e-04 -8.276649e-05
+ 1.208074e-02  1.428386e-02 -2.304643e-01 -3.072344e-01 -2.304643e-01 -3.072344e-01
+ 1.208074e-02  1.442321e-02 -2.306310e-01 -3.082030e-01 -3.063854e-03  1.409321e-05
+ 1.208074e-02  1.456122e-02 -2.308288e-01 -3.077397e-01  4.665375e-03  8.132455e-04
+ 1.208074e-02  1.469794e-02 -2.301621e-01 -3.066815e-01  1.571167e-03  1.971532e-03
+ 1.208074e-02  1.483340e-02 -2.307664e-01 -3.076979e-01  2.736782e-06 -7.829900e-06
+ 1.208074e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.208074e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.000000e-06 -2.249799e-01 -3.092476e-01  4.765281e-09  2.646131e-08
+ 1.218624e-02  2.001000e-03 -2.251973e-01 -3.093152e-01  4.364564e-09 -8.556374e-10
+ 1.218624e-02  2.829427e-03 -2.253492e-01 -3.093198e-01  2.374719e-06  1.085601e-06
+ 1.218624e-02  3.465102e-03 -2.255156e-01 -3.093253e-01  1.449888e-06  5.224106e-07
+ 1.218624e-02  4.001000e-03 -2.256659e-01 -3.093224e-01 -3.377326e-08 -2.760474e-08
+ 1.218624e-02  4.473136e-03 -2.258225e-01 -3.093210e-01 -6.553476e-07 -4.053233e-07
+ 1.218624e-02  4.899979e-03 -2.259774e-01 -3.093180e-01 -3.715648e-07 -1.059293e-07
+ 1.218624e-02  5.292503e-03 -2.261855e-01 -3.093404e-01 -4.237205e-05 -1.897049e-05
+ 1.218624e-02  5.657854e-03 -2.267630e-01 -3.094950e-01 -4.965367e-04 -1.850874e-04
+ 1.218624e-02  6.001000e-03 -2.268189e-01 -3.094664e-01 -1.593879e-04 -6.064653e-05
+ 1.218624e-02  6.325555e-03 -2.274433e-01 -3.096993e-01  3.524247e-03  1.158873e-03
+ 1.218624e-02  6.634250e-03 -2.304948e-01 -3.105861e-01  2.346285e-03  3.855011e-04
+ 1.218624e-02  6.929203e-03 -2.304801e-01 -3.105517e-01  2.246866e-03  4.991179e-04
+ 1.218624e-02  7.212103e-03 -2.299257e-01 -3.102751e-01  1.482252e-03  5.080919e-04
+ 1.218624e-02  7.484315e-03 -2.299027e-01 -3.101898e-01  3.098421e-03  1.176089e-03
+ 1.218624e-02  7.746967e-03 -2.311432e-01 -3.106270e-01 -1.471487e-03 -5.713286e-04
+ 1.218624e-02  8.001000e-03 -2.300070e-01 -3.099977e-01  5.766360e-04  3.807133e-04
+ 1.218624e-02  8.247211e-03 -2.300239e-01 -3.099339e-01 -2.074262e-05  4.715110e-05
+ 1.218624e-02  8.486281e-03 -2.300465e-01 -3.098602e-01  1.630794e-08 -1.335202e-05
+ 1.218624e-02  8.718798e-03 -2.300739e-01 -3.097792e-01 -1.513221e-06 -1.944495e-06
+ 1.218624e-02  8.945272e-03 -2.300928e-01 -3.097003e-01  1.218158e-05 -4.197774e-05
+ 1.218624e-02  9.166151e-03 -2.301978e-01 -3.094122e-01 -7.790948e-05  2.272719e-04
+ 1.218624e-02  9.381832e-03 -2.302022e-01 -3.094097e-01 -9.964022e-06  2.662104e-05
+ 1.218624e-02  9.592663e-03 -2.302005e-01 -3.094180e-01  4.823089e-06 -1.121310e-05
+ 1.218624e-02  9.798959e-03 -2.301958e-01 -3.094207e-01 -2.377678e-05  5.468235e-05
+ 1.218624e-02  1.000100e-02 -2.301933e-01 -3.094195e-01 -7.852854e-06  1.112183e-05
+ 1.218624e-02  1.019904e-02 -2.301906e-01 -3.094087e-01 -1.402038e-05  2.531288e-05
+ 1.218624e-02  1.039330e-02 -2.301890e-01 -3.093905e-01 -1.632633e-05  6.853633e-05
+ 1.218624e-02  1.058401e-02 -2.301927e-01 -3.093754e-01  4.090894e-03  4.772017e-04
+ 1.218624e-02  1.077133e-02 -2.301958e-01 -3.093377e-01  2.686225e-03  1.160691e-03
+ 1.218624e-02  1.095545e-02 -2.305799e-01 -3.094966e-01 -6.321036e-05  4.021785e-04
+ 1.218624e-02  1.113653e-02 -2.302961e-01 -3.090877e-01  3.198995e-04  3.096902e-04
+ 1.218624e-02  1.131471e-02 -2.303324e-01 -3.090061e-01 -2.858530e-06  6.267191e-06
+ 1.218624e-02  1.149013e-02 -2.303559e-01 -3.089302e-01 -6.600105e-06  1.438585e-05
+ 1.218624e-02  1.166290e-02 -2.303712e-01 -3.088804e-01 -1.015535e-05  3.710077e-05
+ 1.218624e-02  1.183316e-02 -2.303956e-01 -3.088071e-01 -3.070167e-06  1.713379e-05
+ 1.218624e-02  1.200100e-02 -2.304304e-01 -3.087098e-01 -1.728246e-05  5.148926e-05
+ 1.218624e-02  1.216653e-02 -2.304526e-01 -3.086448e-01  4.327977e-06 -1.865019e-05
+ 1.218624e-02  1.232983e-02 -2.304571e-01 -3.086291e-01  5.868185e-05 -1.682142e-04
+ 1.218624e-02  1.249100e-02 -2.304677e-01 -3.085986e-01  2.822066e-05 -7.341761e-05
+ 1.218624e-02  1.265011e-02 -2.304692e-01 -3.085906e-01  3.965942e-06 -5.137071e-06
+ 1.218624e-02  1.280725e-02 -2.304515e-01 -3.086387e-01  3.997635e-05 -9.677679e-05
+ 1.218624e-02  1.296248e-02 -2.304833e-01 -3.085457e-01  4.421921e-05 -1.124453e-04
+ 1.218624e-02  1.311588e-02 -2.305393e-01 -3.083864e-01 -1.738068e-04  1.273266e-04
+ 1.218624e-02  1.326750e-02 -2.308380e-01 -3.070871e-01 -2.308380e-01 -3.070871e-01
+ 1.218624e-02  1.341741e-02 -2.301635e-01 -3.062810e-01  5.927886e-04  1.451405e-03
+ 1.218624e-02  1.356566e-02 -2.300989e-01 -3.066577e-01  1.032134e-03  1.114797e-03
+ 1.218624e-02  1.371231e-02 -2.308015e-01 -3.075414e-01 -5.271340e-04 -8.213757e-04
+ 1.218624e-02  1.385741e-02 -2.314160e-01 -3.079029e-01 -9.480811e-04  6.385155e-04
+ 1.218624e-02  1.400100e-02 -2.313558e-01 -3.078808e-01  7.670384e-05 -1.248359e-05
+ 1.218624e-02  1.414314e-02 -2.307833e-01 -3.080499e-01  6.054736e-03 -3.325640e-04
+ 1.218624e-02  1.428386e-02 -2.306756e-01 -3.081267e-01  4.676897e-03  7.149988e-04
+ 1.218624e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.456122e-02 -2.310196e-01 -3.079009e-01  3.460690e-04 -6.506309e-05
+ 1.218624e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.483340e-02 -2.354243e-01 -3.076260e-01  1.608596e-03 -2.595166e-04
+ 1.218624e-02  1.496763e-02 -2.325788e-01 -3.070040e-01 -1.882913e-03  6.537890e-04
+ 1.218624e-02  1.510067e-02 -2.362051e-01 -3.074901e-01 -1.628927e-03  1.131489e-03
+ 1.218624e-02  1.523255e-02 -2.304672e-01 -3.071364e-01 -2.304672e-01 -3.071364e-01
+ 1.218624e-02  1.536329e-02 -2.307790e-01 -3.073686e-01 -2.307790e-01 -3.073686e-01
+ 1.218624e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.218624e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.000000e-06 -2.253826e-01 -3.094080e-01 -1.180016e-06 -5.619596e-07
+ 1.229083e-02  2.001000e-03 -2.255687e-01 -3.094673e-01  1.038183e-08  1.829566e-08
+ 1.229083e-02  2.829427e-03 -2.257207e-01 -3.094747e-01  1.185311e-06  1.181237e-06
+ 1.229083e-02  3.465102e-03 -2.258709e-01 -3.094767e-01  5.624667e-06  3.450668e-06
+ 1.229083e-02  4.001000e-03 -2.260425e-01 -3.094872e-01 -1.482075e-05 -6.597474e-06
+ 1.229083e-02  4.473136e-03 -2.263092e-01 -3.095281e-01 -1.381172e-04 -4.919621e-05
+ 1.229083e-02  4.899979e-03 -2.265360e-01 -3.095528e-01 -2.389695e-06 -6.926389e-07
+ 1.229083e-02  5.292503e-03 -2.267328e-01 -3.095834e-01 -3.265973e-05 -1.296158e-05
+ 1.229083e-02  5.657854e-03 -2.270254e-01 -3.096450e-01 -1.015033e-05 -4.218740e-06
+ 1.229083e-02  6.001000e-03 -2.306231e-01 -3.108542e-01 -2.994698e-04 -1.365344e-04
+ 1.229083e-02  6.325555e-03 -2.299417e-01 -3.104871e-01 -9.189551e-05 -7.651298e-05
+ 1.229083e-02  6.634250e-03 -2.299021e-01 -3.102919e-01  1.169891e-05 -4.702403e-05
+ 1.229083e-02  6.929203e-03 -2.299145e-01 -3.102668e-01  6.744177e-06 -7.680523e-06
+ 1.229083e-02  7.212103e-03 -2.298944e-01 -3.102501e-01  5.086856e-05 -4.964338e-05
+ 1.229083e-02  7.484315e-03 -2.299169e-01 -3.102411e-01  5.012819e-05 -1.765920e-05
+ 1.229083e-02  7.746967e-03 -2.299773e-01 -3.100664e-01  3.834783e-03  1.549892e-03
+ 1.229083e-02  8.001000e-03 -2.300100e-01 -3.099737e-01 -8.604459e-06  2.548711e-05
+ 1.229083e-02  8.247211e-03 -2.300189e-01 -3.099478e-01 -1.137382e-05  3.212804e-05
+ 1.229083e-02  8.486281e-03 -2.300564e-01 -3.098349e-01 -8.297962e-06  1.996176e-05
+ 1.229083e-02  8.718798e-03 -2.300641e-01 -3.098007e-01  6.578575e-06 -6.196866e-06
+ 1.229083e-02  8.945272e-03 -2.301176e-01 -3.096423e-01  4.046682e-05 -1.320504e-04
+ 1.229083e-02  9.166151e-03 -2.301939e-01 -3.094242e-01 -6.395051e-05  1.872087e-04
+ 1.229083e-02  9.381832e-03 -2.301993e-01 -3.094193e-01 -7.334856e-05  2.126584e-04
+ 1.229083e-02  9.592663e-03 -2.301969e-01 -3.094268e-01  1.346530e-05 -5.604132e-05
+ 1.229083e-02  9.798959e-03 -2.301926e-01 -3.094311e-01  1.318729e-05 -2.537465e-05
+ 1.229083e-02  1.000100e-02 -2.301896e-01 -3.094293e-01 -5.579451e-06  8.402536e-06
+ 1.229083e-02  1.019904e-02 -2.301872e-01 -3.094184e-01  1.993082e-05 -3.635975e-05
+ 1.229083e-02  1.039330e-02 -2.301946e-01 -3.094009e-01  3.679267e-05 -6.925925e-05
+ 1.229083e-02  1.058401e-02 -2.301843e-01 -3.093818e-01  8.185898e-05 -1.414200e-04
+ 1.229083e-02  1.077133e-02 -2.300816e-01 -3.092689e-01  1.719083e-04 -2.032211e-05
+ 1.229083e-02  1.095545e-02 -2.302592e-01 -3.092205e-01 -1.590690e-03 -2.486151e-04
+ 1.229083e-02  1.113653e-02 -2.302995e-01 -3.090836e-01  1.077099e-05 -1.692868e-05
+ 1.229083e-02  1.131471e-02 -2.303326e-01 -3.090123e-01 -4.994484e-05  1.125188e-04
+ 1.229083e-02  1.149013e-02 -2.303535e-01 -3.089355e-01  1.781445e-05 -4.796929e-05
+ 1.229083e-02  1.166290e-02 -2.303680e-01 -3.088919e-01  5.240284e-06 -8.171909e-06
+ 1.229083e-02  1.183316e-02 -2.303887e-01 -3.088264e-01  2.132917e-06 -6.039358e-06
+ 1.229083e-02  1.200100e-02 -2.304278e-01 -3.087210e-01 -1.496350e-05  4.238728e-05
+ 1.229083e-02  1.216653e-02 -2.304510e-01 -3.086578e-01  1.262464e-04 -3.793424e-04
+ 1.229083e-02  1.232983e-02 -2.304643e-01 -3.086136e-01 -1.476876e-06  2.665396e-06
+ 1.229083e-02  1.249100e-02 -2.304739e-01 -3.085806e-01  2.970827e-05 -9.619879e-05
+ 1.229083e-02  1.265011e-02 -2.304657e-01 -3.086114e-01  1.147873e-05 -6.282018e-05
+ 1.229083e-02  1.280725e-02 -2.304485e-01 -3.086437e-01  2.619005e-05 -6.022413e-05
+ 1.229083e-02  1.296248e-02 -2.304717e-01 -3.086005e-01  6.114295e-03 -1.388108e-03
+ 1.229083e-02  1.311588e-02 -2.305625e-01 -3.082882e-01  1.122129e-03 -6.533892e-04
+ 1.229083e-02  1.326750e-02 -2.309596e-01 -3.077040e-01  2.578839e-04 -2.384640e-04
+ 1.229083e-02  1.341741e-02 -2.314911e-01 -3.076435e-01 -2.360286e-04 -4.976220e-05
+ 1.229083e-02  1.356566e-02 -2.305650e-01 -3.083026e-01 -9.915760e-05  2.999899e-04
+ 1.229083e-02  1.371231e-02 -2.307788e-01 -3.076710e-01  1.334263e-03  3.187284e-04
+ 1.229083e-02  1.385741e-02 -2.367314e-01 -3.077300e-01 -6.503963e-03 -1.054988e-03
+ 1.229083e-02  1.400100e-02 -2.304677e-01 -3.080120e-01  3.721697e-04 -2.517483e-04
+ 1.229083e-02  1.414314e-02 -2.307725e-01 -3.080874e-01  2.782910e-03  1.756395e-03
+ 1.229083e-02  1.428386e-02 -2.265410e-01 -3.073044e-01  6.516400e-03  1.594430e-03
+ 1.229083e-02  1.442321e-02 -2.283247e-01 -3.059541e-01  7.169149e-03  2.720304e-03
+ 1.229083e-02  1.456122e-02 -2.311044e-01 -3.069659e-01 -3.350331e-04  7.205453e-04
+ 1.229083e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.483340e-02 -2.355249e-01 -3.075035e-01 -5.980843e-03 -2.848900e-04
+ 1.229083e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.510067e-02 -2.326768e-01 -3.072703e-01 -6.212663e-04  7.189881e-04
+ 1.229083e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.536329e-02 -2.329328e-01 -3.071442e-01 -1.422168e-03  5.448873e-04
+ 1.229083e-02  1.549293e-02 -2.343857e-01 -3.083053e-01 -3.614997e-03 -6.274842e-04
+ 1.229083e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.229083e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.000000e-06 -2.257858e-01 -3.095742e-01 -3.797743e-09 -1.120940e-08
+ 1.239455e-02  2.001000e-03 -2.259392e-01 -3.096249e-01 -8.507849e-07 -2.016962e-07
+ 1.239455e-02  2.829427e-03 -2.260943e-01 -3.096365e-01 -3.914075e-06 -2.586152e-07
+ 1.239455e-02  3.465102e-03 -2.262646e-01 -3.096482e-01 -1.096621e-05 -8.358270e-07
+ 1.239455e-02  4.001000e-03 -2.264429e-01 -3.096651e-01 -1.315377e-06 -8.380607e-08
+ 1.239455e-02  4.473136e-03 -2.266602e-01 -3.096975e-01  5.983581e-06  2.217776e-06
+ 1.239455e-02  4.899979e-03 -2.269335e-01 -3.097550e-01  2.782742e-07 -9.026821e-08
+ 1.239455e-02  5.292503e-03 -2.274273e-01 -3.099202e-01 -3.882622e-05 -1.875312e-05
+ 1.239455e-02  5.657854e-03 -2.298392e-01 -3.106273e-01 -6.058713e-05 -1.999198e-05
+ 1.239455e-02  6.001000e-03 -2.298395e-01 -3.104901e-01  5.160260e-06 -8.559460e-06
+ 1.239455e-02  6.325555e-03 -2.298897e-01 -3.103314e-01  7.975668e-06 -1.916509e-06
+ 1.239455e-02  6.634250e-03 -2.298906e-01 -3.103152e-01 -2.086668e-05  3.368009e-05
+ 1.239455e-02  6.929203e-03 -2.298673e-01 -3.103245e-01  4.660910e-05 -5.406135e-05
+ 1.239455e-02  7.212103e-03 -2.298942e-01 -3.102947e-01 -7.775623e-05  2.508746e-05
+ 1.239455e-02  7.484315e-03 -2.299620e-01 -3.101201e-01 -1.159899e-05  1.150920e-05
+ 1.239455e-02  7.746967e-03 -2.299895e-01 -3.100343e-01  4.633082e-06 -1.158402e-05
+ 1.239455e-02  8.001000e-03 -2.300075e-01 -3.099831e-01  2.788359e-06 -8.262563e-06
+ 1.239455e-02  8.247211e-03 -2.300180e-01 -3.099386e-01 -1.006347e-05  4.828098e-05
+ 1.239455e-02  8.486281e-03 -2.300502e-01 -3.098503e-01 -1.025195e-05  2.005530e-05
+ 1.239455e-02  8.718798e-03 -2.300708e-01 -3.097886e-01  6.335230e-06 -9.259361e-06
+ 1.239455e-02  8.945272e-03 -2.301253e-01 -3.096293e-01 -3.934133e-05  9.256278e-05
+ 1.239455e-02  9.166151e-03 -2.301905e-01 -3.094334e-01 -5.612736e-05  1.955614e-04
+ 1.239455e-02  9.381832e-03 -2.301962e-01 -3.094287e-01 -4.334706e-05  1.231933e-04
+ 1.239455e-02  9.592663e-03 -2.301949e-01 -3.094340e-01  8.501678e-06 -5.129318e-05
+ 1.239455e-02  9.798959e-03 -2.301911e-01 -3.094379e-01  1.099383e-05 -2.142623e-05
+ 1.239455e-02  1.000100e-02 -2.301880e-01 -3.094346e-01 -2.706525e-05  6.082967e-05
+ 1.239455e-02  1.019904e-02 -2.301876e-01 -3.094235e-01  3.566722e-05 -7.879840e-05
+ 1.239455e-02  1.039330e-02 -2.301928e-01 -3.094055e-01  1.831139e-05 -3.107009e-05
+ 1.239455e-02  1.058401e-02 -2.301982e-01 -3.093762e-01  5.323009e-05 -9.717767e-05
+ 1.239455e-02  1.077133e-02 -2.302138e-01 -3.093368e-01  4.148281e-03  9.508549e-04
+ 1.239455e-02  1.095545e-02 -2.302604e-01 -3.092280e-01  3.800404e-03  1.258752e-03
+ 1.239455e-02  1.113653e-02 -2.302930e-01 -3.090978e-01  1.640395e-05 -2.796508e-05
+ 1.239455e-02  1.131471e-02 -2.303242e-01 -3.090222e-01 -1.525594e-06  1.470977e-05
+ 1.239455e-02  1.149013e-02 -2.303511e-01 -3.089481e-01  3.033852e-06 -4.900197e-06
+ 1.239455e-02  1.166290e-02 -2.303709e-01 -3.088861e-01 -3.324765e-06  8.477323e-06
+ 1.239455e-02  1.183316e-02 -2.303857e-01 -3.088497e-01 -2.379281e-06 -8.640122e-06
+ 1.239455e-02  1.200100e-02 -2.304038e-01 -3.087859e-01 -2.904391e-06  1.114949e-05
+ 1.239455e-02  1.216653e-02 -2.304274e-01 -3.086974e-01  1.212045e-04 -3.441338e-04
+ 1.239455e-02  1.232983e-02 -2.304703e-01 -3.085924e-01 -2.304703e-01 -3.085924e-01
+ 1.239455e-02  1.249100e-02 -2.304711e-01 -3.085856e-01  1.243847e-04 -3.883853e-04
+ 1.239455e-02  1.265011e-02 -2.304644e-01 -3.086105e-01 -5.638468e-06  1.242982e-05
+ 1.239455e-02  1.280725e-02 -2.304855e-01 -3.085486e-01  6.549073e-04  2.846760e-04
+ 1.239455e-02  1.296248e-02 -2.338089e-01 -3.093811e-01 -3.228757e-03 -7.824230e-04
+ 1.239455e-02  1.311588e-02 -2.304733e-01 -3.085516e-01  3.281423e-03  2.743554e-04
+ 1.239455e-02  1.326750e-02 -2.305940e-01 -3.082294e-01  2.210316e-04 -7.103827e-04
+ 1.239455e-02  1.341741e-02 -2.307862e-01 -3.075723e-01 -2.662365e-04 -2.481005e-05
+ 1.239455e-02  1.356566e-02 -2.300861e-01 -3.078941e-01  6.800076e-04 -2.628853e-04
+ 1.239455e-02  1.371231e-02 -2.311443e-01 -3.077373e-01 -8.840140e-05  1.533874e-04
+ 1.239455e-02  1.385741e-02 -2.327628e-01 -3.074241e-01 -2.327628e-01 -3.074241e-01
+ 1.239455e-02  1.400100e-02 -2.262543e-01 -3.071068e-01  6.117270e-03  1.179791e-03
+ 1.239455e-02  1.414314e-02 -2.314717e-01 -3.074194e-01 -1.122837e-04  4.091468e-04
+ 1.239455e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.442321e-02 -2.360747e-01 -3.078007e-01 -6.617540e-03 -9.054489e-04
+ 1.239455e-02  1.456122e-02 -2.314691e-01 -3.080763e-01 -3.435776e-03 -2.512146e-03
+ 1.239455e-02  1.469794e-02 -2.357757e-01 -3.080623e-01  2.421566e-05  2.326501e-04
+ 1.239455e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.523255e-02 -2.353799e-01 -3.073015e-01 -3.898933e-03  7.311784e-04
+ 1.239455e-02  1.536329e-02 -2.329556e-01 -3.072055e-01 -1.574037e-03  5.854688e-04
+ 1.239455e-02  1.549293e-02 -2.315653e-01 -3.078341e-01  5.540248e-03 -5.711360e-04
+ 1.239455e-02  1.562150e-02 -2.312946e-01 -3.077466e-01 -5.120268e-04 -1.263865e-04
+ 1.239455e-02  1.574902e-02 -2.316305e-01 -3.074205e-01  9.316659e-05  4.781965e-05
+ 1.239455e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.239455e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.000000e-06 -2.262030e-01 -3.097548e-01  1.436838e-07 -3.328140e-08
+ 1.249740e-02  2.001000e-03 -2.263144e-01 -3.097923e-01  1.466534e-08  3.922589e-08
+ 1.249740e-02  2.829427e-03 -2.264687e-01 -3.098085e-01 -5.608560e-08 -5.700289e-08
+ 1.249740e-02  3.465102e-03 -2.266544e-01 -3.098338e-01  1.047405e-07  5.787027e-08
+ 1.249740e-02  4.001000e-03 -2.268773e-01 -3.098745e-01 -1.523625e-07 -1.531026e-07
+ 1.249740e-02  4.473136e-03 -2.271955e-01 -3.099617e-01 -9.060061e-06 -4.308669e-06
+ 1.249740e-02  4.899979e-03 -2.298151e-01 -3.108296e-01  2.034338e-03  6.083433e-04
+ 1.249740e-02  5.292503e-03 -2.297756e-01 -3.106629e-01  2.336326e-03  8.664785e-04
+ 1.249740e-02  5.657854e-03 -2.298209e-01 -3.105290e-01 -8.882846e-06  2.582485e-05
+ 1.249740e-02  6.001000e-03 -2.298735e-01 -3.103757e-01  2.702652e-05 -4.908931e-05
+ 1.249740e-02  6.325555e-03 -2.298783e-01 -3.103564e-01 -4.992045e-06  1.958664e-05
+ 1.249740e-02  6.634250e-03 -2.298683e-01 -3.103588e-01  1.333321e-05 -9.217296e-06
+ 1.249740e-02  6.929203e-03 -2.298846e-01 -3.103481e-01 -7.616247e-04 -1.012502e-04
+ 1.249740e-02  7.212103e-03 -2.299459e-01 -3.101846e-01  1.161184e-06  7.103898e-06
+ 1.249740e-02  7.484315e-03 -2.299583e-01 -3.101218e-01  1.382884e-07  6.840472e-06
+ 1.249740e-02  7.746967e-03 -2.299873e-01 -3.100357e-01  1.139420e-05 -3.626734e-05
+ 1.249740e-02  8.001000e-03 -2.300038e-01 -3.099886e-01 -8.825506e-06  3.839360e-05
+ 1.249740e-02  8.247211e-03 -2.300200e-01 -3.099345e-01  5.113021e-06 -8.683873e-06
+ 1.249740e-02  8.486281e-03 -2.300496e-01 -3.098553e-01 -2.169684e-06  7.412172e-06
+ 1.249740e-02  8.718798e-03 -2.300669e-01 -3.098020e-01  1.822701e-05 -4.739898e-05
+ 1.249740e-02  8.945272e-03 -2.300975e-01 -3.096960e-01 -2.846667e-05  8.663730e-05
+ 1.249740e-02  9.166151e-03 -2.301863e-01 -3.094425e-01 -9.116232e-05  2.575036e-04
+ 1.249740e-02  9.381832e-03 -2.301949e-01 -3.094336e-01 -3.131687e-05  8.416521e-05
+ 1.249740e-02  9.592663e-03 -2.301935e-01 -3.094365e-01 -8.878470e-06  1.403422e-05
+ 1.249740e-02  9.798959e-03 -2.301912e-01 -3.094394e-01 -3.091029e-07  5.256164e-07
+ 1.249740e-02  1.000100e-02 -2.301911e-01 -3.094332e-01 -2.555973e-06  7.962897e-06
+ 1.249740e-02  1.019904e-02 -2.301922e-01 -3.094255e-01 -3.756478e-05  2.081377e-04
+ 1.249740e-02  1.039330e-02 -2.301933e-01 -3.094051e-01  3.105776e-06 -1.013898e-05
+ 1.249740e-02  1.058401e-02 -2.302076e-01 -3.093733e-01  3.547120e-05  2.832362e-04
+ 1.249740e-02  1.077133e-02 -2.302136e-01 -3.093405e-01  3.956186e-05 -5.520892e-05
+ 1.249740e-02  1.095545e-02 -2.302552e-01 -3.092674e-01 -3.927163e-06  3.240596e-05
+ 1.249740e-02  1.113653e-02 -2.302830e-01 -3.091246e-01  2.155811e-05 -3.710729e-05
+ 1.249740e-02  1.131471e-02 -2.303219e-01 -3.090292e-01  1.008929e-05 -1.711650e-05
+ 1.249740e-02  1.149013e-02 -2.303477e-01 -3.089683e-01 -1.229151e-05  2.209868e-05
+ 1.249740e-02  1.166290e-02 -2.303636e-01 -3.089058e-01 -4.069979e-06  1.479768e-05
+ 1.249740e-02  1.183316e-02 -2.303839e-01 -3.088453e-01  7.278161e-07 -4.456239e-06
+ 1.249740e-02  1.200100e-02 -2.304040e-01 -3.087865e-01  6.449126e-06 -1.896204e-05
+ 1.249740e-02  1.216653e-02 -2.304534e-01 -3.086421e-01 -4.099507e-05  1.226174e-04
+ 1.249740e-02  1.232983e-02 -2.304755e-01 -3.085703e-01 -1.512176e-05  5.680625e-05
+ 1.249740e-02  1.249100e-02 -2.304865e-01 -3.085411e-01 -3.777177e-05  1.113599e-04
+ 1.249740e-02  1.265011e-02 -2.304944e-01 -3.085108e-01  3.049878e-05 -5.983064e-05
+ 1.249740e-02  1.280725e-02 -2.304955e-01 -3.085228e-01  7.213429e-04 -2.968992e-03
+ 1.249740e-02  1.296248e-02 -2.304911e-01 -3.085148e-01 -3.612580e-05  1.272444e-04
+ 1.249740e-02  1.311588e-02 -2.305273e-01 -3.084781e-01  4.704369e-03 -9.614162e-04
+ 1.249740e-02  1.326750e-02 -2.273516e-01 -3.079613e-01  7.035297e-03  2.074175e-03
+ 1.249740e-02  1.341741e-02 -2.310044e-01 -3.086328e-01 -5.676660e-03 -1.862342e-03
+ 1.249740e-02  1.356566e-02 -2.301466e-01 -3.077902e-01  1.718810e-03 -3.725826e-04
+ 1.249740e-02  1.371231e-02 -2.355432e-01 -3.077747e-01 -9.218516e-03 -3.280988e-04
+ 1.249740e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.400100e-02 -2.258867e-01 -3.070707e-01 -2.258867e-01 -3.070707e-01
+ 1.249740e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.442321e-02 -2.260774e-01 -3.070792e-01  3.087986e-04  2.249920e-04
+ 1.249740e-02  1.456122e-02 -2.325330e-01 -3.086372e-01  2.413625e-03 -7.735137e-04
+ 1.249740e-02  1.469794e-02 -2.309924e-01 -3.080556e-01  1.920050e-03  4.811648e-04
+ 1.249740e-02  1.483340e-02 -2.366921e-01 -3.077575e-01 -2.366921e-01 -3.077575e-01
+ 1.249740e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.549293e-02 -2.313579e-01 -3.080214e-01  4.778107e-03 -4.775386e-04
+ 1.249740e-02  1.562150e-02 -2.323797e-01 -3.082065e-01 -1.345901e-03 -3.762120e-04
+ 1.249740e-02  1.574902e-02 -2.308138e-01 -3.075188e-01 -6.126005e-05  3.031895e-04
+ 1.249740e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.249740e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.000000e-06 -2.266427e-01 -3.099604e-01 -8.244926e-08 -8.262840e-08
+ 1.259941e-02  2.001000e-03 -2.266983e-01 -3.099769e-01 -2.198112e-07 -7.170692e-08
+ 1.259941e-02  2.829427e-03 -2.268676e-01 -3.100059e-01 -5.512473e-08 -9.721654e-08
+ 1.259941e-02  3.465102e-03 -2.270983e-01 -3.100600e-01  2.509421e-06  1.266880e-06
+ 1.259941e-02  4.001000e-03 -2.274904e-01 -3.101981e-01  1.213004e-05  7.357395e-06
+ 1.259941e-02  4.473136e-03 -2.287396e-01 -3.107875e-01  3.596355e-03  4.513124e-04
+ 1.259941e-02  4.899979e-03 -2.297917e-01 -3.106754e-01 -8.185624e-06  1.125087e-05
+ 1.259941e-02  5.292503e-03 -2.298098e-01 -3.105586e-01 -7.802879e-07  7.107040e-06
+ 1.259941e-02  5.657854e-03 -2.298575e-01 -3.104372e-01  2.083288e-05 -6.829856e-05
+ 1.259941e-02  6.001000e-03 -2.298686e-01 -3.103878e-01  9.361236e-06 -1.186159e-05
+ 1.259941e-02  6.325555e-03 -2.298626e-01 -3.103875e-01  2.079772e-05 -2.269868e-05
+ 1.259941e-02  6.634250e-03 -2.298680e-01 -3.103793e-01  4.646120e-05 -7.789366e-05
+ 1.259941e-02  6.929203e-03 -2.299155e-01 -3.102520e-01 -1.778259e-06 -8.452626e-06
+ 1.259941e-02  7.212103e-03 -2.299429e-01 -3.101774e-01  9.462655e-07 -4.732262e-06
+ 1.259941e-02  7.484315e-03 -2.299652e-01 -3.101128e-01 -5.602233e-06  1.719328e-06
+ 1.259941e-02  7.746967e-03 -2.299881e-01 -3.100364e-01 -3.027525e-06  5.433125e-06
+ 1.259941e-02  8.001000e-03 -2.300014e-01 -3.099944e-01 -8.755983e-06  2.499529e-05
+ 1.259941e-02  8.247211e-03 -2.300141e-01 -3.099502e-01 -1.939803e-05  6.334270e-05
+ 1.259941e-02  8.486281e-03 -2.300441e-01 -3.098698e-01 -8.020157e-06  2.412724e-05
+ 1.259941e-02  8.718798e-03 -2.300560e-01 -3.098285e-01 -5.708451e-06  2.968474e-05
+ 1.259941e-02  8.945272e-03 -2.300756e-01 -3.097578e-01  3.461531e-05 -7.722962e-05
+ 1.259941e-02  9.166151e-03 -2.301789e-01 -3.094570e-01  1.511362e-05 -2.586310e-05
+ 1.259941e-02  9.381832e-03 -2.301950e-01 -3.094309e-01 -8.851982e-05  2.360882e-04
+ 1.259941e-02  9.592663e-03 -2.301964e-01 -3.094302e-01 -6.828942e-05  1.987798e-04
+ 1.259941e-02  9.798959e-03 -2.301968e-01 -3.094290e-01  7.303728e-06 -2.809955e-05
+ 1.259941e-02  1.000100e-02 -2.301963e-01 -3.094246e-01  7.972792e-06 -1.414848e-05
+ 1.259941e-02  1.019904e-02 -2.301958e-01 -3.094159e-01  4.147748e-05 -9.725753e-05
+ 1.259941e-02  1.039330e-02 -2.302021e-01 -3.093940e-01  2.883502e-05 -5.909302e-05
+ 1.259941e-02  1.058401e-02 -2.302169e-01 -3.093649e-01  3.277672e-03  8.169559e-04
+ 1.259941e-02  1.077133e-02 -2.302245e-01 -3.093324e-01  1.821328e-05 -3.200430e-05
+ 1.259941e-02  1.095545e-02 -2.302614e-01 -3.092385e-01  4.090785e-03  1.048634e-03
+ 1.259941e-02  1.113653e-02 -2.302803e-01 -3.091491e-01  3.949901e-05  7.342591e-05
+ 1.259941e-02  1.131471e-02 -2.302914e-01 -3.091514e-01  3.545609e-05 -9.589938e-05
+ 1.259941e-02  1.149013e-02 -2.303240e-01 -3.090088e-01  1.117918e-05 -1.160157e-05
+ 1.259941e-02  1.166290e-02 -2.303596e-01 -3.089222e-01 -5.025776e-05  1.414950e-05
+ 1.259941e-02  1.183316e-02 -2.303849e-01 -3.088430e-01 -1.145808e-06  1.430768e-06
+ 1.259941e-02  1.200100e-02 -2.304066e-01 -3.087747e-01 -1.259380e-05  1.964404e-05
+ 1.259941e-02  1.216653e-02 -2.304326e-01 -3.087021e-01 -2.064853e-05  4.598281e-05
+ 1.259941e-02  1.232983e-02 -2.304773e-01 -3.085660e-01  3.824596e-06  1.040966e-06
+ 1.259941e-02  1.249100e-02 -2.304908e-01 -3.085343e-01 -5.233169e-05  1.320182e-04
+ 1.259941e-02  1.265011e-02 -2.305004e-01 -3.085151e-01 -1.686394e-05 -3.582539e-05
+ 1.259941e-02  1.280725e-02 -2.305200e-01 -3.084764e-01  1.217599e-03 -1.708104e-03
+ 1.259941e-02  1.296248e-02 -2.305060e-01 -3.084928e-01  4.388689e-03  1.914685e-03
+ 1.259941e-02  1.311588e-02 -2.264863e-01 -3.076308e-01  4.936376e-03  2.334349e-04
+ 1.259941e-02  1.326750e-02 -2.305320e-01 -3.083892e-01  1.753409e-04  1.094251e-04
+ 1.259941e-02  1.341741e-02 -2.305558e-01 -3.083474e-01  2.313016e-04  1.032748e-04
+ 1.259941e-02  1.356566e-02 -2.312032e-01 -3.084414e-01  2.964363e-03  8.260511e-04
+ 1.259941e-02  1.371231e-02 -2.339662e-01 -3.093354e-01 -2.334324e-03 -1.686298e-03
+ 1.259941e-02  1.385741e-02 -2.326316e-01 -3.085809e-01 -1.470740e-03 -1.059857e-03
+ 1.259941e-02  1.400100e-02 -2.364588e-01 -3.079366e-01 -4.331237e-03  4.480220e-05
+ 1.259941e-02  1.414314e-02 -2.344703e-01 -3.096867e-01  5.241504e-04  2.344420e-04
+ 1.259941e-02  1.428386e-02 -2.347784e-01 -3.097221e-01  4.650365e-04  2.417812e-04
+ 1.259941e-02  1.442321e-02 -2.348655e-01 -3.085554e-01 -3.891759e-03 -1.370078e-03
+ 1.259941e-02  1.456122e-02 -2.361291e-01 -3.076796e-01 -4.726153e-03  5.558394e-04
+ 1.259941e-02  1.469794e-02 -2.322994e-01 -3.080640e-01 -2.322994e-01 -3.080640e-01
+ 1.259941e-02  1.483340e-02 -2.322636e-01 -3.083154e-01 -5.490405e-03 -3.356872e-03
+ 1.259941e-02  1.496763e-02 -2.353114e-01 -3.083100e-01 -3.949430e-03 -8.744464e-04
+ 1.259941e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.562150e-02 -2.356111e-01 -3.082404e-01 -4.291270e-03 -4.157181e-04
+ 1.259941e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.587551e-02 -2.364306e-01 -3.072622e-01 -5.645446e-03  3.181708e-04
+ 1.259941e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.259941e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.000000e-06 -2.271286e-01 -3.102184e-01 -1.107717e-09 -8.871693e-08
+ 1.270061e-02  2.001000e-03 -2.271048e-01 -3.101955e-01 -8.685101e-08 -3.676293e-07
+ 1.270061e-02  2.829427e-03 -2.273284e-01 -3.102622e-01  4.119380e-07  3.463626e-07
+ 1.270061e-02  3.465102e-03 -2.278659e-01 -3.105121e-01 -4.081848e-06 -2.660436e-06
+ 1.270061e-02  4.001000e-03 -2.297265e-01 -3.109503e-01 -7.967701e-05  2.268041e-05
+ 1.270061e-02  4.473136e-03 -2.297818e-01 -3.106805e-01 -3.324738e-05  7.692131e-05
+ 1.270061e-02  4.899979e-03 -2.297998e-01 -3.105909e-01  3.466238e-06  5.849492e-06
+ 1.270061e-02  5.292503e-03 -2.298341e-01 -3.105124e-01 -5.216770e-06  5.277363e-06
+ 1.270061e-02  5.657854e-03 -2.298600e-01 -3.104138e-01  2.113041e-05 -4.588725e-05
+ 1.270061e-02  6.001000e-03 -2.298598e-01 -3.104080e-01  1.614224e-05 -2.739784e-05
+ 1.270061e-02  6.325555e-03 -2.298598e-01 -3.104046e-01  3.375954e-05 -5.924777e-05
+ 1.270061e-02  6.634250e-03 -2.298844e-01 -3.103704e-01 -1.484372e-05  4.373559e-05
+ 1.270061e-02  6.929203e-03 -2.299269e-01 -3.102354e-01 -1.653323e-06 -1.153394e-06
+ 1.270061e-02  7.212103e-03 -2.299427e-01 -3.101748e-01 -2.152719e-06 -9.574414e-07
+ 1.270061e-02  7.484315e-03 -2.299628e-01 -3.101170e-01  1.577787e-06 -6.404404e-06
+ 1.270061e-02  7.746967e-03 -2.299853e-01 -3.100443e-01 -1.270773e-05  3.023216e-05
+ 1.270061e-02  8.001000e-03 -2.300000e-01 -3.099999e-01  2.770303e-06 -1.073385e-05
+ 1.270061e-02  8.247211e-03 -2.300094e-01 -3.099637e-01  1.408096e-06 -4.303536e-06
+ 1.270061e-02  8.486281e-03 -2.300377e-01 -3.098861e-01  1.927435e-06 -2.772415e-06
+ 1.270061e-02  8.718798e-03 -2.300603e-01 -3.098252e-01 -3.626111e-06 -6.989685e-06
+ 1.270061e-02  8.945272e-03 -2.300732e-01 -3.097778e-01  7.363384e-06 -6.406976e-06
+ 1.270061e-02  9.166151e-03 -2.301147e-01 -3.096489e-01 -2.542431e-05  5.874720e-05
+ 1.270061e-02  9.381832e-03 -2.301936e-01 -3.094245e-01 -8.573797e-05  2.289973e-04
+ 1.270061e-02  9.592663e-03 -2.302023e-01 -3.094120e-01 -8.278102e-05  2.322816e-04
+ 1.270061e-02  9.798959e-03 -2.302060e-01 -3.094066e-01 -2.513148e-05  4.913965e-05
+ 1.270061e-02  1.000100e-02 -2.302094e-01 -3.094029e-01 -5.801353e-05  1.745763e-04
+ 1.270061e-02  1.019904e-02 -2.302094e-01 -3.093940e-01  1.220884e-05 -3.047412e-05
+ 1.270061e-02  1.039330e-02 -2.302164e-01 -3.093690e-01 -1.680159e-06 -6.917882e-06
+ 1.270061e-02  1.058401e-02 -2.302076e-01 -3.093482e-01  2.637097e-05 -2.160063e-05
+ 1.270061e-02  1.077133e-02 -2.302439e-01 -3.093028e-01  1.283210e-04 -2.609679e-06
+ 1.270061e-02  1.095545e-02 -2.301613e-01 -3.092346e-01 -7.693925e-08  2.160064e-04
+ 1.270061e-02  1.113653e-02 -2.305330e-01 -3.094382e-01 -3.369042e-04 -8.423511e-05
+ 1.270061e-02  1.131471e-02 -2.302876e-01 -3.091270e-01  5.130638e-06 -3.435713e-05
+ 1.270061e-02  1.149013e-02 -2.303290e-01 -3.090002e-01  5.725718e-06 -3.265169e-06
+ 1.270061e-02  1.166290e-02 -2.303612e-01 -3.089162e-01  1.130707e-05 -3.263535e-05
+ 1.270061e-02  1.183316e-02 -2.303802e-01 -3.088549e-01  7.396844e-06 -2.006579e-05
+ 1.270061e-02  1.200100e-02 -2.304066e-01 -3.087828e-01  4.499164e-05 -9.868361e-05
+ 1.270061e-02  1.216653e-02 -2.304231e-01 -3.087390e-01 -9.488191e-05  1.453645e-04
+ 1.270061e-02  1.232983e-02 -2.304845e-01 -3.085460e-01 -3.904980e-05  9.793459e-05
+ 1.270061e-02  1.249100e-02 -2.304571e-01 -3.085436e-01  3.331420e-04  5.109577e-04
+ 1.270061e-02  1.265011e-02 -2.305194e-01 -3.084701e-01  8.998975e-04 -5.724542e-04
+ 1.270061e-02  1.280725e-02 -2.305319e-01 -3.084157e-01 -1.546639e-04  4.482937e-04
+ 1.270061e-02  1.296248e-02 -2.305778e-01 -3.083531e-01 -2.305778e-01 -3.083531e-01
+ 1.270061e-02  1.311588e-02 -2.309410e-01 -3.086674e-01 -2.587466e-04 -1.195321e-03
+ 1.270061e-02  1.326750e-02 -2.301373e-01 -3.081580e-01 -2.695647e-03 -1.565192e-05
+ 1.270061e-02  1.341741e-02 -2.330130e-01 -3.084701e-01  9.225334e-04  1.653335e-03
+ 1.270061e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.371231e-02 -2.353755e-01 -3.086554e-01 -2.353755e-01 -3.086554e-01
+ 1.270061e-02  1.385741e-02 -2.344409e-01 -3.098051e-01 -7.167534e-04 -3.194476e-04
+ 1.270061e-02  1.400100e-02 -2.346130e-01 -3.089412e-01 -9.002742e-03 -1.621963e-03
+ 1.270061e-02  1.414314e-02 -2.351760e-01 -3.087233e-01  1.342606e-04 -4.505983e-04
+ 1.270061e-02  1.428386e-02 -2.365008e-01 -3.080316e-01 -7.723347e-03 -1.180107e-03
+ 1.270061e-02  1.442321e-02 -2.360459e-01 -3.074731e-01 -4.738005e-03  3.585888e-04
+ 1.270061e-02  1.456122e-02 -2.362476e-01 -3.079056e-01 -4.992757e-03 -2.800523e-04
+ 1.270061e-02  1.469794e-02 -2.286273e-01 -3.060688e-01 -2.286273e-01 -3.060688e-01
+ 1.270061e-02  1.483340e-02 -2.360024e-01 -3.075690e-01 -9.100509e-03 -2.535933e-03
+ 1.270061e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.523255e-02 -2.356955e-01 -3.083263e-01 -4.711321e-03 -5.293015e-04
+ 1.270061e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.562150e-02 -2.354592e-01 -3.083295e-01 -8.526138e-03 -3.228372e-03
+ 1.270061e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.587551e-02 -2.345312e-01 -3.091416e-01 -3.788085e-06 -1.361557e-03
+ 1.270061e-02  1.600100e-02 -2.360523e-01 -3.076054e-01 -5.776969e-03 -6.009728e-04
+ 1.270061e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.270061e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.000000e-06 -2.277902e-01 -3.106728e-01  4.494308e-07  1.213936e-06
+ 1.280100e-02  2.001000e-03 -2.275772e-01 -3.105002e-01  1.983793e-08  4.164418e-07
+ 1.280100e-02  2.829427e-03 -2.296955e-01 -3.112487e-01  1.269094e-03  5.056100e-04
+ 1.280100e-02  3.465102e-03 -2.296920e-01 -3.109643e-01 -4.369704e-05  3.683185e-05
+ 1.280100e-02  4.001000e-03 -2.297722e-01 -3.106955e-01 -1.322335e-05  2.609355e-05
+ 1.280100e-02  4.473136e-03 -2.297813e-01 -3.106413e-01  5.159057e-06  6.218715e-07
+ 1.280100e-02  4.899979e-03 -2.298126e-01 -3.105578e-01  3.186674e-06 -3.918320e-06
+ 1.280100e-02  5.292503e-03 -2.298497e-01 -3.104530e-01 -2.650561e-07  6.970781e-06
+ 1.280100e-02  5.657854e-03 -2.298588e-01 -3.104189e-01  1.257170e-05 -2.915979e-05
+ 1.280100e-02  6.001000e-03 -2.298566e-01 -3.104189e-01  1.422539e-05 -2.887729e-05
+ 1.280100e-02  6.325555e-03 -2.298606e-01 -3.104098e-01  1.671227e-05 -3.751184e-05
+ 1.280100e-02  6.634250e-03 -2.298826e-01 -3.103422e-01 -1.819180e-05  5.246397e-05
+ 1.280100e-02  6.929203e-03 -2.299261e-01 -3.102371e-01 -6.912382e-06  1.054846e-06
+ 1.280100e-02  7.212103e-03 -2.299408e-01 -3.101804e-01 -1.531317e-06 -1.529630e-06
+ 1.280100e-02  7.484315e-03 -2.299604e-01 -3.101242e-01  5.488366e-06 -1.301776e-05
+ 1.280100e-02  7.746967e-03 -2.299817e-01 -3.100551e-01 -1.026540e-05  2.459794e-05
+ 1.280100e-02  8.001000e-03 -2.299978e-01 -3.100091e-01 -7.773176e-06  2.547681e-05
+ 1.280100e-02  8.247211e-03 -2.300102e-01 -3.099648e-01  1.993411e-06 -5.043226e-06
+ 1.280100e-02  8.486281e-03 -2.300223e-01 -3.099246e-01 -8.870531e-06  1.889390e-05
+ 1.280100e-02  8.718798e-03 -2.300516e-01 -3.098472e-01 -9.200718e-06  2.782161e-05
+ 1.280100e-02  8.945272e-03 -2.300687e-01 -3.097982e-01  1.428013e-06  4.032667e-06
+ 1.280100e-02  9.166151e-03 -2.300812e-01 -3.097449e-01  1.501811e-05 -4.786896e-05
+ 1.280100e-02  9.381832e-03 -2.301401e-01 -3.095854e-01 -1.942458e-05  5.797667e-05
+ 1.280100e-02  9.592663e-03 -2.302052e-01 -3.093878e-01 -9.369503e-05  2.476623e-04
+ 1.280100e-02  9.798959e-03 -2.302166e-01 -3.093705e-01 -1.755899e-05  5.588264e-05
+ 1.280100e-02  1.000100e-02 -2.302229e-01 -3.093615e-01 -2.330509e-06 -3.493324e-05
+ 1.280100e-02  1.019904e-02 -2.302315e-01 -3.093514e-01  2.053498e-06 -1.098785e-05
+ 1.280100e-02  1.039330e-02 -2.302255e-01 -3.093388e-01 -3.550824e-05  6.221958e-05
+ 1.280100e-02  1.058401e-02 -2.302408e-01 -3.093196e-01  2.699905e-03  1.288267e-03
+ 1.280100e-02  1.077133e-02 -2.302297e-01 -3.092956e-01 -1.169811e-05 -9.474673e-06
+ 1.280100e-02  1.095545e-02 -2.302572e-01 -3.092683e-01  4.054493e-04  4.388217e-04
+ 1.280100e-02  1.113653e-02 -2.302797e-01 -3.091960e-01  2.308559e-05 -8.961167e-05
+ 1.280100e-02  1.131471e-02 -2.303061e-01 -3.090732e-01  4.236632e-06  7.569617e-05
+ 1.280100e-02  1.149013e-02 -2.303036e-01 -3.090782e-01 -9.844503e-05  1.838428e-04
+ 1.280100e-02  1.166290e-02 -2.303310e-01 -3.089728e-01  1.937933e-05 -3.708175e-05
+ 1.280100e-02  1.183316e-02 -2.303512e-01 -3.089158e-01  3.343245e-03  1.423075e-03
+ 1.280100e-02  1.200100e-02 -2.303975e-01 -3.088031e-01 -4.950396e-06  2.324114e-05
+ 1.280100e-02  1.216653e-02 -2.304049e-01 -3.087709e-01  3.802573e-03  1.718732e-03
+ 1.280100e-02  1.232983e-02 -2.304412e-01 -3.087025e-01 -1.909557e-05 -2.737927e-05
+ 1.280100e-02  1.249100e-02 -2.304162e-01 -3.086756e-01  1.750761e-05  2.458534e-05
+ 1.280100e-02  1.265011e-02 -2.307224e-01 -3.089926e-01  2.604467e-03  5.775967e-04
+ 1.280100e-02  1.280725e-02 -2.338146e-01 -3.099646e-01 -1.963094e-05 -1.536312e-04
+ 1.280100e-02  1.296248e-02 -2.334149e-01 -3.094955e-01 -2.802612e-03 -1.235100e-03
+ 1.280100e-02  1.311588e-02 -2.313197e-01 -3.081719e-01 -5.412230e-04 -4.663068e-04
+ 1.280100e-02  1.326750e-02 -2.311505e-01 -3.082175e-01 -7.727402e-04 -1.038747e-03
+ 1.280100e-02  1.341741e-02 -2.353991e-01 -3.082991e-01 -1.677569e-03 -1.396712e-03
+ 1.280100e-02  1.356566e-02 -2.333376e-01 -3.090167e-01 -3.036599e-03 -1.980279e-03
+ 1.280100e-02  1.371231e-02 -2.357500e-01 -3.080521e-01 -6.346820e-03 -1.601246e-03
+ 1.280100e-02  1.385741e-02 -2.348799e-01 -3.097721e-01  3.848192e-04 -1.283793e-03
+ 1.280100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.442321e-02 -2.356719e-01 -3.082092e-01  6.420534e-04  8.790917e-04
+ 1.280100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.496763e-02 -2.345615e-01 -3.094741e-01 -2.345615e-01 -3.094741e-01
+ 1.280100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.523255e-02 -2.352351e-01 -3.085487e-01 -3.045579e-03 -5.132865e-04
+ 1.280100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.280100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.000000e-06 -2.297024e-01 -3.108889e-01  9.003689e-06 -2.491382e-05
+ 1.290061e-02  2.001000e-03 -2.295661e-01 -3.114255e-01  9.245196e-05 -1.980307e-04
+ 1.290061e-02  2.829427e-03 -2.296722e-01 -3.109836e-01 -9.867422e-06  8.761199e-07
+ 1.290061e-02  3.465102e-03 -2.297309e-01 -3.107906e-01  5.801196e-06  7.017008e-06
+ 1.290061e-02  4.001000e-03 -2.297798e-01 -3.106667e-01 -2.650013e-06  7.847303e-06
+ 1.290061e-02  4.473136e-03 -2.298005e-01 -3.105907e-01  2.887532e-06  6.442253e-06
+ 1.290061e-02  4.899979e-03 -2.298279e-01 -3.105260e-01 -3.762080e-06  4.799366e-06
+ 1.290061e-02  5.292503e-03 -2.298536e-01 -3.104356e-01 -1.099330e-05  2.169550e-05
+ 1.290061e-02  5.657854e-03 -2.298579e-01 -3.104223e-01  6.511230e-06 -1.692677e-05
+ 1.290061e-02  6.001000e-03 -2.298576e-01 -3.104202e-01  6.263111e-06 -1.696745e-05
+ 1.290061e-02  6.325555e-03 -2.298639e-01 -3.104091e-01 -4.884797e-06 -3.992350e-06
+ 1.290061e-02  6.634250e-03 -2.298811e-01 -3.103464e-01 -6.278115e-06  5.593657e-05
+ 1.290061e-02  6.929203e-03 -2.299225e-01 -3.102461e-01 -7.440357e-07 -2.562326e-06
+ 1.290061e-02  7.212103e-03 -2.299392e-01 -3.101873e-01 -5.600645e-06  8.464380e-06
+ 1.290061e-02  7.484315e-03 -2.299553e-01 -3.101394e-01 -3.945073e-06  7.240278e-06
+ 1.290061e-02  7.746967e-03 -2.299748e-01 -3.100765e-01 -6.739065e-06  2.328972e-05
+ 1.290061e-02  8.001000e-03 -2.299962e-01 -3.100166e-01 -9.354890e-06  2.683108e-05
+ 1.290061e-02  8.247211e-03 -2.300081e-01 -3.099738e-01  2.676791e-06 -9.389360e-06
+ 1.290061e-02  8.486281e-03 -2.300235e-01 -3.099259e-01  2.133218e-06 -1.132227e-06
+ 1.290061e-02  8.718798e-03 -2.300386e-01 -3.098818e-01  3.643402e-06 -8.884450e-06
+ 1.290061e-02  8.945272e-03 -2.300588e-01 -3.098228e-01 -7.368024e-06  2.027375e-05
+ 1.290061e-02  9.166151e-03 -2.300786e-01 -3.097715e-01 -1.720770e-05  3.784100e-05
+ 1.290061e-02  9.381832e-03 -2.300891e-01 -3.097206e-01  8.772976e-06 -3.650610e-05
+ 1.290061e-02  9.592663e-03 -2.301615e-01 -3.095072e-01  1.650858e-05 -6.350951e-05
+ 1.290061e-02  9.798959e-03 -2.302155e-01 -3.093574e-01 -1.025213e-04  2.910433e-04
+ 1.290061e-02  1.000100e-02 -2.302270e-01 -3.093422e-01  6.779218e-06 -3.743551e-05
+ 1.290061e-02  1.019904e-02 -2.302356e-01 -3.093301e-01 -7.962163e-06 -2.708941e-06
+ 1.290061e-02  1.039330e-02 -2.302373e-01 -3.093238e-01 -3.639209e-04 -2.437086e-05
+ 1.290061e-02  1.058401e-02 -2.302518e-01 -3.092999e-01  2.804525e-03  1.492059e-03
+ 1.290061e-02  1.077133e-02 -2.302593e-01 -3.092719e-01  3.519151e-03  1.488569e-03
+ 1.290061e-02  1.095545e-02 -2.302770e-01 -3.092238e-01  6.594090e-06 -1.438435e-05
+ 1.290061e-02  1.113653e-02 -2.303586e-01 -3.092450e-01  2.941224e-03  6.896117e-04
+ 1.290061e-02  1.131471e-02 -2.303091e-01 -3.090954e-01 -4.033781e-05  7.745918e-05
+ 1.290061e-02  1.149013e-02 -2.305395e-01 -3.092337e-01  3.603700e-03  1.503652e-03
+ 1.290061e-02  1.166290e-02 -2.303262e-01 -3.090083e-01  2.336413e-05 -5.179900e-05
+ 1.290061e-02  1.183316e-02 -2.303546e-01 -3.089195e-01 -2.860180e-05  4.307642e-05
+ 1.290061e-02  1.200100e-02 -2.310647e-01 -3.091930e-01  2.121403e-03  7.612928e-05
+ 1.290061e-02  1.216653e-02 -2.303885e-01 -3.089052e-01 -7.488328e-05  9.293559e-05
+ 1.290061e-02  1.232983e-02 -2.304012e-01 -3.087906e-01  4.600909e-06 -1.300733e-05
+ 1.290061e-02  1.249100e-02 -2.310888e-01 -3.089786e-01 -2.310888e-01 -3.089786e-01
+ 1.290061e-02  1.265011e-02 -2.318120e-01 -3.091707e-01 -1.311662e-03 -7.291632e-04
+ 1.290061e-02  1.280725e-02 -2.309427e-01 -3.087776e-01  3.442729e-04 -9.433255e-04
+ 1.290061e-02  1.296248e-02 -2.312259e-01 -3.080204e-01  7.745093e-04  3.248076e-04
+ 1.290061e-02  1.311588e-02 -2.330790e-01 -3.074498e-01 -1.587928e-03  2.634760e-04
+ 1.290061e-02  1.326750e-02 -2.348729e-01 -3.101017e-01 -3.190912e-04 -9.865811e-05
+ 1.290061e-02  1.341741e-02 -2.306137e-01 -3.074374e-01  5.576229e-03  5.563501e-04
+ 1.290061e-02  1.356566e-02 -2.333645e-01 -3.090043e-01 -2.333645e-01 -3.090043e-01
+ 1.290061e-02  1.371231e-02 -2.345094e-01 -3.096157e-01 -2.574036e-03 -1.703867e-03
+ 1.290061e-02  1.385741e-02 -2.357435e-01 -3.083259e-01 -4.982665e-03 -1.026931e-03
+ 1.290061e-02  1.400100e-02 -2.319031e-01 -3.078871e-01  3.991860e-03  4.935632e-05
+ 1.290061e-02  1.414314e-02 -2.355383e-01 -3.088412e-01  5.204005e-04  1.788367e-04
+ 1.290061e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.536329e-02 -2.350894e-01 -3.087884e-01 -2.350894e-01 -3.087884e-01
+ 1.290061e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.587551e-02 -2.355847e-01 -3.089191e-01 -2.355847e-01 -3.089191e-01
+ 1.290061e-02  1.600100e-02 -2.359764e-01 -3.089966e-01 -2.891433e-04 -7.321846e-05
+ 1.290061e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.290061e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.000000e-06 -2.298160e-01 -3.105216e-01  8.308327e-06 -9.347866e-06
+ 1.299946e-02  2.001000e-03 -2.296867e-01 -3.109206e-01  1.258017e-05 -1.950429e-05
+ 1.299946e-02  2.829427e-03 -2.297317e-01 -3.107860e-01  4.130628e-07  3.315944e-06
+ 1.299946e-02  3.465102e-03 -2.297821e-01 -3.106640e-01 -4.353907e-05  1.053935e-04
+ 1.299946e-02  4.001000e-03 -2.297889e-01 -3.106262e-01  5.380242e-06 -1.312606e-06
+ 1.299946e-02  4.473136e-03 -2.298087e-01 -3.105674e-01  3.821231e-06  1.046536e-06
+ 1.299946e-02  4.899979e-03 -2.298373e-01 -3.105028e-01 -1.292958e-05  1.187560e-05
+ 1.299946e-02  5.292503e-03 -2.298563e-01 -3.104286e-01 -2.317087e-06  1.085949e-06
+ 1.299946e-02  5.657854e-03 -2.298600e-01 -3.104189e-01  4.243418e-07 -4.288002e-06
+ 1.299946e-02  6.001000e-03 -2.298599e-01 -3.104175e-01 -4.871256e-06  4.480155e-06
+ 1.299946e-02  6.325555e-03 -2.298664e-01 -3.104040e-01 -1.656404e-05  2.051875e-05
+ 1.299946e-02  6.634250e-03 -2.298795e-01 -3.103586e-01 -5.336193e-06  3.680241e-05
+ 1.299946e-02  6.929203e-03 -2.299083e-01 -3.102716e-01 -4.690051e-06  5.830991e-07
+ 1.299946e-02  7.212103e-03 -2.299340e-01 -3.102091e-01 -1.506815e-06  1.285480e-06
+ 1.299946e-02  7.484315e-03 -2.299509e-01 -3.101535e-01 -1.985578e-06 -3.228957e-06
+ 1.299946e-02  7.746967e-03 -2.299619e-01 -3.101148e-01 -4.328854e-07 -5.853881e-06
+ 1.299946e-02  8.001000e-03 -2.299861e-01 -3.100414e-01 -3.522211e-06  1.085416e-05
+ 1.299946e-02  8.247211e-03 -2.300083e-01 -3.099837e-01 -7.871491e-06  7.571867e-06
+ 1.299946e-02  8.486281e-03 -2.300196e-01 -3.099433e-01 -3.922596e-06  3.311252e-06
+ 1.299946e-02  8.718798e-03 -2.300285e-01 -3.099073e-01 -2.796592e-06  1.461063e-05
+ 1.299946e-02  8.945272e-03 -2.300504e-01 -3.098508e-01  6.735163e-06 -2.219683e-05
+ 1.299946e-02  9.166151e-03 -2.300847e-01 -3.097630e-01 -1.498140e-05  2.378597e-05
+ 1.299946e-02  9.381832e-03 -2.300861e-01 -3.097523e-01 -2.826181e-05  7.719437e-05
+ 1.299946e-02  9.592663e-03 -2.300963e-01 -3.097006e-01 -2.057339e-03 -4.420680e-04
+ 1.299946e-02  9.798959e-03 -2.301190e-01 -3.096052e-01  2.323595e-05 -5.365272e-05
+ 1.299946e-02  1.000100e-02 -2.302218e-01 -3.093268e-01 -2.430823e-05  1.008416e-04
+ 1.299946e-02  1.019904e-02 -2.302417e-01 -3.092985e-01 -7.395726e-05  2.172564e-04
+ 1.299946e-02  1.039330e-02 -2.302571e-01 -3.092742e-01 -1.094468e-04  2.225269e-04
+ 1.299946e-02  1.058401e-02 -2.302695e-01 -3.092434e-01  3.447927e-03  1.431779e-03
+ 1.299946e-02  1.077133e-02 -2.302805e-01 -3.092175e-01 -2.757003e-05  5.193230e-05
+ 1.299946e-02  1.095545e-02 -2.303216e-01 -3.091852e-01  3.920093e-03  8.355719e-04
+ 1.299946e-02  1.113653e-02 -2.303099e-01 -3.091421e-01 -1.072108e-04  1.280987e-04
+ 1.299946e-02  1.131471e-02 -2.303492e-01 -3.091441e-01  4.023746e-03  9.740768e-04
+ 1.299946e-02  1.149013e-02 -2.303296e-01 -3.090256e-01 -4.181126e-04  6.925046e-05
+ 1.299946e-02  1.166290e-02 -2.303874e-01 -3.089851e-01 -1.383383e-04  1.675326e-04
+ 1.299946e-02  1.183316e-02 -2.303724e-01 -3.089478e-01 -8.237195e-05  1.364420e-04
+ 1.299946e-02  1.200100e-02 -2.303866e-01 -3.089058e-01 -5.842136e-05  2.930665e-05
+ 1.299946e-02  1.216653e-02 -2.304397e-01 -3.088265e-01  5.221733e-04  3.285484e-04
+ 1.299946e-02  1.232983e-02 -2.340305e-01 -3.102150e-01  8.203342e-04  3.789081e-04
+ 1.299946e-02  1.249100e-02 -2.306738e-01 -3.088172e-01  4.290233e-03  1.790574e-03
+ 1.299946e-02  1.265011e-02 -2.305542e-01 -3.083338e-01 -7.619213e-05  1.721773e-04
+ 1.299946e-02  1.280725e-02 -2.365861e-01 -3.075222e-01 -7.092084e-04  3.671685e-04
+ 1.299946e-02  1.296248e-02 -2.338952e-01 -3.098890e-01 -2.376051e-04 -7.451964e-05
+ 1.299946e-02  1.311588e-02 -2.321028e-01 -3.079000e-01  2.380533e-03 -5.101589e-04
+ 1.299946e-02  1.326750e-02 -2.339298e-01 -3.097405e-01 -2.339298e-01 -3.097405e-01
+ 1.299946e-02  1.341741e-02 -2.343726e-01 -3.097853e-01  5.994523e-04  2.673619e-04
+ 1.299946e-02  1.356566e-02 -2.348106e-01 -3.082426e-01 -2.683387e-03 -3.254826e-04
+ 1.299946e-02  1.371231e-02 -2.349880e-01 -3.086969e-01 -4.669179e-05 -2.182981e-04
+ 1.299946e-02  1.385741e-02 -2.352501e-01 -3.097394e-01 -4.318430e-06  7.594229e-05
+ 1.299946e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.414314e-02 -2.357940e-01 -3.081703e-01 -5.868229e-03 -1.107478e-03
+ 1.299946e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.496763e-02 -2.355284e-01 -3.083925e-01 -4.018479e-03 -9.469250e-04
+ 1.299946e-02  1.510067e-02 -2.361186e-01 -3.088448e-01 -2.361186e-01 -3.088448e-01
+ 1.299946e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.549293e-02 -2.327051e-01 -3.082615e-01 -1.702774e-03 -2.813109e-04
+ 1.299946e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.299946e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.000000e-06 -2.299408e-01 -3.101739e-01 -6.968197e-08  4.106178e-08
+ 1.309756e-02  2.001000e-03 -2.297921e-01 -3.106374e-01 -1.406822e-05 -5.771649e-06
+ 1.309756e-02  2.829427e-03 -2.297645e-01 -3.106896e-01  7.227283e-06 -1.196876e-05
+ 1.309756e-02  3.465102e-03 -2.297969e-01 -3.106244e-01 -9.423550e-06  2.621365e-06
+ 1.309756e-02  4.001000e-03 -2.297982e-01 -3.106003e-01  7.115739e-07 -2.271616e-06
+ 1.309756e-02  4.473136e-03 -2.298126e-01 -3.105566e-01  1.963829e-06  7.867175e-07
+ 1.309756e-02  4.899979e-03 -2.298377e-01 -3.105010e-01 -1.276175e-05  1.198798e-05
+ 1.309756e-02  5.292503e-03 -2.298581e-01 -3.104251e-01 -9.635179e-06  1.859541e-05
+ 1.309756e-02  5.657854e-03 -2.298638e-01 -3.104109e-01 -1.575197e-06 -1.069326e-08
+ 1.309756e-02  6.001000e-03 -2.298641e-01 -3.104092e-01 -1.301634e-05  2.162988e-05
+ 1.309756e-02  6.325555e-03 -2.298676e-01 -3.104008e-01 -1.557807e-05  2.038411e-05
+ 1.309756e-02  6.634250e-03 -2.298794e-01 -3.103663e-01 -4.673111e-06  3.420110e-05
+ 1.309756e-02  6.929203e-03 -2.298900e-01 -3.103038e-01  8.685628e-07  5.379459e-06
+ 1.309756e-02  7.212103e-03 -2.299214e-01 -3.102385e-01  6.069677e-06 -8.189841e-06
+ 1.309756e-02  7.484315e-03 -2.299416e-01 -3.101851e-01 -8.415231e-06  1.247900e-05
+ 1.309756e-02  7.746967e-03 -2.299580e-01 -3.101321e-01 -1.269535e-06 -7.541302e-06
+ 1.309756e-02  8.001000e-03 -2.299718e-01 -3.100890e-01 -4.467299e-06  9.278068e-06
+ 1.309756e-02  8.247211e-03 -2.299908e-01 -3.100419e-01 -6.267108e-06  1.724671e-05
+ 1.309756e-02  8.486281e-03 -2.300142e-01 -3.099647e-01  8.936670e-06 -2.406133e-05
+ 1.309756e-02  8.718798e-03 -2.300335e-01 -3.099103e-01 -2.950849e-05  6.176893e-05
+ 1.309756e-02  8.945272e-03 -2.300454e-01 -3.098720e-01 -1.359931e-05  2.127611e-05
+ 1.309756e-02  9.166151e-03 -2.300529e-01 -3.098306e-01  1.576741e-05 -1.977664e-05
+ 1.309756e-02  9.381832e-03 -2.300684e-01 -3.097835e-01  1.696457e-05 -5.630833e-05
+ 1.309756e-02  9.592663e-03 -2.300946e-01 -3.097254e-01 -1.088305e-05  1.841991e-05
+ 1.309756e-02  9.798959e-03 -2.301329e-01 -3.096312e-01 -4.328874e-07 -3.551520e-05
+ 1.309756e-02  1.000100e-02 -2.301118e-01 -3.096290e-01  1.137315e-04 -3.051521e-04
+ 1.309756e-02  1.019904e-02 -2.307168e-01 -3.099287e-01  2.854910e-03  1.336174e-04
+ 1.309756e-02  1.039330e-02 -2.301617e-01 -3.094678e-01 -2.057873e-05  4.306929e-05
+ 1.309756e-02  1.058401e-02 -2.302659e-01 -3.092045e-01  1.021905e-04  1.819050e-04
+ 1.309756e-02  1.077133e-02 -2.302867e-01 -3.091820e-01 -3.595341e-05  1.017760e-04
+ 1.309756e-02  1.095545e-02 -2.303013e-01 -3.091532e-01 -7.727079e-04 -7.718975e-05
+ 1.309756e-02  1.113653e-02 -2.303269e-01 -3.090891e-01  3.408493e-03  1.148427e-03
+ 1.309756e-02  1.131471e-02 -2.303469e-01 -3.090131e-01  1.774335e-03  9.581870e-04
+ 1.309756e-02  1.149013e-02 -2.303776e-01 -3.090163e-01  1.075517e-03  5.822624e-04
+ 1.309756e-02  1.166290e-02 -2.303378e-01 -3.089397e-01  3.964822e-05 -7.028122e-05
+ 1.309756e-02  1.183316e-02 -2.303984e-01 -3.088786e-01  3.737363e-03  9.025916e-04
+ 1.309756e-02  1.200100e-02 -2.305249e-01 -3.091386e-01 -1.403931e-04 -2.797627e-04
+ 1.309756e-02  1.216653e-02 -2.310688e-01 -3.090722e-01 -6.330177e-04 -3.566405e-04
+ 1.309756e-02  1.232983e-02 -2.305035e-01 -3.084660e-01 -5.128816e-05  1.689918e-04
+ 1.309756e-02  1.249100e-02 -2.304718e-01 -3.085687e-01 -3.021287e-05  3.404808e-05
+ 1.309756e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.280725e-02 -2.308681e-01 -3.080274e-01 -4.692454e-04 -7.041045e-04
+ 1.309756e-02  1.296248e-02 -2.348793e-01 -3.102510e-01  7.493800e-04  2.925733e-04
+ 1.309756e-02  1.311588e-02 -2.358289e-01 -3.081796e-01 -5.423912e-03 -9.897119e-04
+ 1.309756e-02  1.326750e-02 -2.338082e-01 -3.096458e-01  3.944142e-04  2.946346e-04
+ 1.309756e-02  1.341741e-02 -2.324875e-01 -3.081397e-01 -2.324875e-01 -3.081397e-01
+ 1.309756e-02  1.356566e-02 -2.349875e-01 -3.099197e-01  4.799729e-05 -1.897063e-04
+ 1.309756e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.385741e-02 -2.350869e-01 -3.096128e-01  4.511584e-04  3.664509e-04
+ 1.309756e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.428386e-02 -2.356615e-01 -3.087694e-01 -2.356615e-01 -3.087694e-01
+ 1.309756e-02  1.442321e-02 -2.359634e-01 -3.088968e-01 -3.363081e-03 -6.842735e-04
+ 1.309756e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.496763e-02 -2.355655e-01 -3.089352e-01 -2.355655e-01 -3.089352e-01
+ 1.309756e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.523255e-02 -2.364016e-01 -3.090149e-01 -1.871158e-04  3.977018e-05
+ 1.309756e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.549293e-02 -2.356198e-01 -3.075787e-01 -3.889966e-03 -3.323171e-04
+ 1.309756e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.309756e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.000000e-06 -2.300385e-01 -3.098817e-01  2.881669e-07 -3.823200e-06
+ 1.319494e-02  2.001000e-03 -2.298662e-01 -3.104066e-01  1.080506e-06  1.378484e-05
+ 1.319494e-02  2.829427e-03 -2.297918e-01 -3.106128e-01  2.626365e-07  8.230914e-06
+ 1.319494e-02  3.465102e-03 -2.298046e-01 -3.106011e-01 -6.557952e-06 -2.184387e-06
+ 1.319494e-02  4.001000e-03 -2.298015e-01 -3.105930e-01  1.104469e-06 -1.027420e-06
+ 1.319494e-02  4.473136e-03 -2.298114e-01 -3.105598e-01  3.602024e-06  8.869620e-07
+ 1.319494e-02  4.899979e-03 -2.298278e-01 -3.105220e-01  1.934254e-06 -3.357451e-06
+ 1.319494e-02  5.292503e-03 -2.298544e-01 -3.104411e-01  3.554907e-06 -2.154928e-05
+ 1.319494e-02  5.657854e-03 -2.298679e-01 -3.104018e-01  3.509726e-06 -1.210247e-05
+ 1.319494e-02  6.001000e-03 -2.298701e-01 -3.103960e-01 -1.605889e-05  3.172415e-05
+ 1.319494e-02  6.325555e-03 -2.298724e-01 -3.103897e-01 -1.960208e-05  3.141806e-05
+ 1.319494e-02  6.634250e-03 -2.298775e-01 -3.103770e-01 -7.103835e-06  5.249581e-06
+ 1.319494e-02  6.929203e-03 -2.298900e-01 -3.103459e-01 -3.908619e-05  6.120936e-05
+ 1.319494e-02  7.212103e-03 -2.298994e-01 -3.102729e-01  1.655953e-05 -6.073600e-06
+ 1.319494e-02  7.484315e-03 -2.299317e-01 -3.102081e-01  6.082973e-06 -1.068004e-05
+ 1.319494e-02  7.746967e-03 -2.299502e-01 -3.101600e-01  5.016359e-07  2.149780e-06
+ 1.319494e-02  8.001000e-03 -2.299644e-01 -3.101111e-01 -1.026394e-06 -3.474027e-06
+ 1.319494e-02  8.247211e-03 -2.299782e-01 -3.100638e-01 -1.822169e-06  4.806949e-06
+ 1.319494e-02  8.486281e-03 -2.299930e-01 -3.100201e-01 -7.274866e-06  1.198081e-05
+ 1.319494e-02  8.718798e-03 -2.300107e-01 -3.099769e-01  2.619401e-06 -4.369580e-06
+ 1.319494e-02  8.945272e-03 -2.300344e-01 -3.099043e-01 -9.451001e-06  2.090089e-05
+ 1.319494e-02  9.166151e-03 -2.300626e-01 -3.098373e-01 -3.415570e-03 -4.822952e-04
+ 1.319494e-02  9.381832e-03 -2.300784e-01 -3.097676e-01  7.256469e-06 -2.761903e-05
+ 1.319494e-02  9.592663e-03 -2.300896e-01 -3.097255e-01  1.907876e-05 -7.879404e-05
+ 1.319494e-02  9.798959e-03 -2.301630e-01 -3.097698e-01  1.095561e-03  5.853140e-04
+ 1.319494e-02  1.000100e-02 -2.300859e-01 -3.096864e-01  3.104773e-03  1.264941e-03
+ 1.319494e-02  1.019904e-02 -2.334341e-01 -3.103328e-01 -3.291986e-03 -7.300703e-04
+ 1.319494e-02  1.039330e-02 -2.339109e-01 -3.102293e-01 -1.972931e-05  8.861845e-04
+ 1.319494e-02  1.058401e-02 -2.341199e-01 -3.100813e-01 -3.883896e-03 -7.271388e-04
+ 1.319494e-02  1.077133e-02 -2.333520e-01 -3.105804e-01 -3.165091e-03 -1.201387e-03
+ 1.319494e-02  1.095545e-02 -2.327674e-01 -3.095467e-01 -2.533043e-03 -2.549670e-04
+ 1.319494e-02  1.113653e-02 -2.318590e-01 -3.099605e-01 -1.563845e-03 -9.274920e-04
+ 1.319494e-02  1.131471e-02 -2.328715e-01 -3.101958e-01 -2.645462e-03 -9.571503e-04
+ 1.319494e-02  1.149013e-02 -2.307790e-01 -3.091892e-01 -4.208908e-04 -1.308897e-04
+ 1.319494e-02  1.166290e-02 -2.304652e-01 -3.090451e-01 -1.015007e-04 -9.666637e-05
+ 1.319494e-02  1.183316e-02 -2.303776e-01 -3.089336e-01 -1.222650e-07  3.512239e-06
+ 1.319494e-02  1.200100e-02 -2.306467e-01 -3.092759e-01 -3.417391e-04 -2.881879e-04
+ 1.319494e-02  1.216653e-02 -2.328569e-01 -3.087562e-01 -1.625895e-03  1.642183e-04
+ 1.319494e-02  1.232983e-02 -2.309180e-01 -3.089656e-01 -4.013606e-04 -5.031162e-04
+ 1.319494e-02  1.249100e-02 -2.339469e-01 -3.087068e-01 -3.502691e-03 -1.632387e-05
+ 1.319494e-02  1.265011e-02 -2.351170e-01 -3.104908e-01  8.879719e-04  3.120357e-04
+ 1.319494e-02  1.280725e-02 -2.346263e-01 -3.103124e-01 -4.229012e-03 -3.424491e-03
+ 1.319494e-02  1.296248e-02 -2.341549e-01 -3.100491e-01 -2.341549e-01 -3.100491e-01
+ 1.319494e-02  1.311588e-02 -2.341620e-01 -3.098793e-01  7.436773e-04  2.680336e-04
+ 1.319494e-02  1.326750e-02 -2.352852e-01 -3.102660e-01  1.887944e-04 -1.947899e-03
+ 1.319494e-02  1.341741e-02 -2.352434e-01 -3.078699e-01 -2.890014e-03 -1.151523e-04
+ 1.319494e-02  1.356566e-02 -2.353371e-01 -3.100742e-01 -1.283888e-03 -5.552021e-04
+ 1.319494e-02  1.371231e-02 -2.350954e-01 -3.099173e-01  4.644202e-04  1.891672e-04
+ 1.319494e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.400100e-02 -2.354997e-01 -3.085152e-01 -2.559597e-04  3.082019e-04
+ 1.319494e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.456122e-02 -2.359091e-01 -3.089083e-01 -2.359091e-01 -3.089083e-01
+ 1.319494e-02  1.469794e-02 -2.357384e-01 -3.088836e-01 -2.357384e-01 -3.088836e-01
+ 1.319494e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.319494e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.000000e-06 -2.301296e-01 -3.096047e-01 -5.872833e-07  6.556770e-06
+ 1.329160e-02  2.001000e-03 -2.299309e-01 -3.102153e-01 -1.812244e-05  4.616226e-05
+ 1.329160e-02  2.829427e-03 -2.298003e-01 -3.105893e-01  3.929191e-06 -1.870645e-05
+ 1.329160e-02  3.465102e-03 -2.297989e-01 -3.106097e-01 -2.889933e-06  2.168453e-06
+ 1.329160e-02  4.001000e-03 -2.298011e-01 -3.106042e-01  1.878923e-06  1.927691e-06
+ 1.329160e-02  4.473136e-03 -2.298039e-01 -3.105850e-01 -6.329938e-06  1.126509e-05
+ 1.329160e-02  4.899979e-03 -2.298150e-01 -3.105503e-01  2.737904e-06 -1.819025e-06
+ 1.329160e-02  5.292503e-03 -2.298351e-01 -3.105072e-01 -7.559592e-06  2.611727e-06
+ 1.329160e-02  5.657854e-03 -2.298620e-01 -3.104159e-01 -2.751840e-05  6.057261e-05
+ 1.329160e-02  6.001000e-03 -2.298773e-01 -3.103801e-01 -5.918131e-06  7.625448e-06
+ 1.329160e-02  6.325555e-03 -2.298801e-01 -3.103722e-01 -2.882894e-05  5.854298e-05
+ 1.329160e-02  6.634250e-03 -2.298852e-01 -3.103593e-01 -3.329494e-05  5.743914e-05
+ 1.329160e-02  6.929203e-03 -2.298919e-01 -3.103415e-01 -1.830622e-05  2.664048e-05
+ 1.329160e-02  7.212103e-03 -2.299015e-01 -3.103177e-01 -8.836825e-06  8.946138e-06
+ 1.329160e-02  7.484315e-03 -2.299147e-01 -3.102920e-01  6.290344e-04  3.977544e-04
+ 1.329160e-02  7.746967e-03 -2.299242e-01 -3.102620e-01 -9.004309e-06  4.588850e-06
+ 1.329160e-02  8.001000e-03 -2.299215e-01 -3.102214e-01 -3.387644e-03 -1.082165e-03
+ 1.329160e-02  8.247211e-03 -2.299675e-01 -3.101887e-01 -3.131428e-03 -1.022648e-03
+ 1.329160e-02  8.486281e-03 -2.299502e-01 -3.101087e-01  4.021944e-03  1.561841e-03
+ 1.329160e-02  8.718798e-03 -2.300881e-01 -3.102156e-01 -2.956638e-03 -1.077195e-03
+ 1.329160e-02  8.945272e-03 -2.339812e-01 -3.106637e-01  4.480524e-04  1.035345e-03
+ 1.329160e-02  9.166151e-03 -2.336287e-01 -3.103933e-01 -3.595062e-03 -5.242216e-04
+ 1.329160e-02  9.381832e-03 -2.337699e-01 -3.111390e-01 -3.714373e-03 -1.337698e-03
+ 1.329160e-02  9.592663e-03 -2.339674e-01 -3.107452e-01 -3.760523e-03 -9.109154e-04
+ 1.329160e-02  9.798959e-03 -2.335835e-01 -3.104603e-01  3.998725e-04  7.102467e-04
+ 1.329160e-02  1.000100e-02 -2.337998e-01 -3.107052e-01  3.227341e-04 -1.957622e-04
+ 1.329160e-02  1.019904e-02 -2.274686e-01 -3.093042e-01  2.594028e-03  3.594047e-04
+ 1.329160e-02  1.039330e-02 -2.303713e-01 -3.101135e-01 -2.208656e-04 -5.869812e-04
+ 1.329160e-02  1.058401e-02 -2.337010e-01 -3.103564e-01 -3.549376e-03 -7.569980e-04
+ 1.329160e-02  1.077133e-02 -2.343641e-01 -3.102319e-01 -3.595223e-03 -6.116208e-04
+ 1.329160e-02  1.095545e-02 -2.302376e-01 -3.098021e-01  2.404631e-04 -3.494353e-04
+ 1.329160e-02  1.113653e-02 -2.337063e-01 -3.106331e-01 -1.913240e-03 -7.785474e-04
+ 1.329160e-02  1.131471e-02 -2.317008e-01 -3.097462e-01 -1.055808e-03 -7.130567e-04
+ 1.329160e-02  1.149013e-02 -2.303957e-01 -3.089441e-01 -3.771449e-05 -7.427592e-06
+ 1.329160e-02  1.166290e-02 -2.291312e-01 -3.090915e-01  5.078339e-03  1.332127e-03
+ 1.329160e-02  1.183316e-02 -2.331531e-01 -3.097104e-01  1.469307e-03  7.990562e-04
+ 1.329160e-02  1.200100e-02 -2.311491e-01 -3.092749e-01  3.283862e-04 -1.356820e-05
+ 1.329160e-02  1.216653e-02 -2.339093e-01 -3.102080e-01 -4.107675e-03 -1.608253e-03
+ 1.329160e-02  1.232983e-02 -2.345581e-01 -3.104305e-01  1.336454e-03  4.601233e-04
+ 1.329160e-02  1.249100e-02 -2.339974e-01 -3.100213e-01 -1.638424e-03 -1.209247e-03
+ 1.329160e-02  1.265011e-02 -2.306708e-01 -3.089222e-01 -3.755473e-04 -2.820299e-04
+ 1.329160e-02  1.280725e-02 -2.341128e-01 -3.101049e-01 -7.446039e-05 -1.022686e-04
+ 1.329160e-02  1.296248e-02 -2.345600e-01 -3.101211e-01  1.072632e-03  4.119258e-04
+ 1.329160e-02  1.311588e-02 -2.342594e-01 -3.099668e-01  2.287239e-03  7.865989e-04
+ 1.329160e-02  1.326750e-02 -2.356683e-01 -3.103968e-01  9.120060e-04  3.883440e-04
+ 1.329160e-02  1.341741e-02 -2.351189e-01 -3.100471e-01 -2.351189e-01 -3.100471e-01
+ 1.329160e-02  1.356566e-02 -2.350347e-01 -3.099166e-01  5.082876e-04  1.531202e-04
+ 1.329160e-02  1.371231e-02 -2.350594e-01 -3.098683e-01  1.753064e-04  7.456770e-05
+ 1.329160e-02  1.385741e-02 -2.358602e-01 -3.100287e-01 -2.839088e-04 -1.581475e-04
+ 1.329160e-02  1.400100e-02 -2.359341e-01 -3.099690e-01  7.338843e-05  2.423668e-05
+ 1.329160e-02  1.414314e-02 -2.357907e-01 -3.095221e-01 -2.357907e-01 -3.095221e-01
+ 1.329160e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.523255e-02 -2.360041e-01 -3.089254e-01 -5.436297e-04 -2.818567e-04
+ 1.329160e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329160e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.000000e-06 -2.302161e-01 -3.093452e-01  3.793764e-06  2.516833e-06
+ 1.338756e-02  2.001000e-03 -2.300048e-01 -3.100049e-01 -9.876453e-06 -7.473173e-06
+ 1.338756e-02  2.829427e-03 -2.298068e-01 -3.105782e-01  1.009782e-05 -2.905709e-05
+ 1.338756e-02  3.465102e-03 -2.297701e-01 -3.106801e-01  2.206261e-05 -5.756891e-05
+ 1.338756e-02  4.001000e-03 -2.297854e-01 -3.106527e-01 -7.158979e-06 -4.039411e-06
+ 1.338756e-02  4.473136e-03 -2.297942e-01 -3.106247e-01  3.907274e-07  2.554658e-06
+ 1.338756e-02  4.899979e-03 -2.298006e-01 -3.105958e-01 -5.559948e-06  9.951776e-06
+ 1.338756e-02  5.292503e-03 -2.298113e-01 -3.105601e-01  8.350043e-07  2.197471e-06
+ 1.338756e-02  5.657854e-03 -2.298253e-01 -3.105221e-01  1.221634e-06  1.107227e-07
+ 1.338756e-02  6.001000e-03 -2.298599e-01 -3.104443e-01 -1.117248e-05  1.642844e-05
+ 1.338756e-02  6.325555e-03 -2.298871e-01 -3.103561e-01  3.432870e-06 -9.329696e-06
+ 1.338756e-02  6.634250e-03 -2.298967e-01 -3.103315e-01 -2.918307e-05  7.028091e-05
+ 1.338756e-02  6.929203e-03 -2.299021e-01 -3.103152e-01 -4.571860e-05  8.056476e-05
+ 1.338756e-02  7.212103e-03 -2.299099e-01 -3.103035e-01  6.163687e-06 -8.676757e-06
+ 1.338756e-02  7.484315e-03 -2.299189e-01 -3.102797e-01  1.612362e-03  6.884057e-04
+ 1.338756e-02  7.746967e-03 -2.299315e-01 -3.102469e-01 -4.797518e-05  6.690720e-05
+ 1.338756e-02  8.001000e-03 -2.299461e-01 -3.102087e-01 -2.860764e-03 -5.370155e-04
+ 1.338756e-02  8.247211e-03 -2.302448e-01 -3.102974e-01 -3.520878e-03 -1.161514e-03
+ 1.338756e-02  8.486281e-03 -2.299545e-01 -3.101349e-01  4.412549e-04  2.138463e-04
+ 1.338756e-02  8.718798e-03 -2.301891e-01 -3.101780e-01  3.722707e-03  1.369168e-03
+ 1.338756e-02  8.945272e-03 -2.337648e-01 -3.106248e-01 -3.508634e-03 -4.674255e-04
+ 1.338756e-02  9.166151e-03 -2.341574e-01 -3.105820e-01 -3.802247e-03 -4.432788e-04
+ 1.338756e-02  9.381832e-03 -2.270139e-01 -3.091874e-01  7.638070e-03  2.431327e-03
+ 1.338756e-02  9.592663e-03 -2.300769e-01 -3.097768e-01  4.491955e-05 -1.152891e-04
+ 1.338756e-02  9.798959e-03 -2.335071e-01 -3.108502e-01 -1.961844e-04  2.194052e-04
+ 1.338756e-02  1.000100e-02 -2.300620e-01 -3.096654e-01  4.172409e-03  1.623664e-03
+ 1.338756e-02  1.019904e-02 -2.344529e-01 -3.102625e-01 -4.684534e-04 -1.191402e-05
+ 1.338756e-02  1.039330e-02 -2.302595e-01 -3.092937e-01  3.543262e-03  1.090100e-03
+ 1.338756e-02  1.058401e-02 -2.338501e-01 -3.101136e-01 -3.629163e-03 -7.270055e-04
+ 1.338756e-02  1.077133e-02 -2.335900e-01 -3.105390e-01 -3.000698e-03 -9.885580e-04
+ 1.338756e-02  1.095545e-02 -2.303120e-01 -3.091089e-01  1.890547e-03  1.083702e-03
+ 1.338756e-02  1.113653e-02 -2.303210e-01 -3.090571e-01 -2.913503e-03 -7.394789e-04
+ 1.338756e-02  1.131471e-02 -2.303779e-01 -3.090368e-01  5.797964e-04  4.430848e-04
+ 1.338756e-02  1.149013e-02 -2.303184e-01 -3.090237e-01  2.308885e-03  2.594190e-04
+ 1.338756e-02  1.166290e-02 -2.336576e-01 -3.103372e-01  2.992098e-04 -1.201184e-04
+ 1.338756e-02  1.183316e-02 -2.339021e-01 -3.103744e-01 -3.526981e-03 -1.569481e-03
+ 1.338756e-02  1.200100e-02 -2.340133e-01 -3.103294e-01  1.096800e-04 -4.832406e-04
+ 1.338756e-02  1.216653e-02 -2.345665e-01 -3.104720e-01  7.387448e-04  1.945675e-04
+ 1.338756e-02  1.232983e-02 -2.344389e-01 -3.103612e-01 -2.532972e-03 -1.318954e-03
+ 1.338756e-02  1.249100e-02 -2.348696e-01 -3.105711e-01 -4.496543e-04 -1.710357e-04
+ 1.338756e-02  1.265011e-02 -2.339834e-01 -3.101425e-01 -3.449389e-03 -1.723510e-03
+ 1.338756e-02  1.280725e-02 -2.354280e-01 -3.105386e-01  9.684150e-04  3.361016e-04
+ 1.338756e-02  1.296248e-02 -2.350892e-01 -3.103400e-01 -7.823795e-04 -3.154132e-04
+ 1.338756e-02  1.311588e-02 -2.349260e-01 -3.102108e-01  1.666393e-04  4.660277e-05
+ 1.338756e-02  1.326750e-02 -2.349719e-01 -3.101283e-01  2.163600e-04  7.353620e-05
+ 1.338756e-02  1.341741e-02 -2.356753e-01 -3.102744e-01  7.211569e-04  2.406877e-04
+ 1.338756e-02  1.356566e-02 -2.345951e-01 -3.097669e-01 -2.368007e-03 -1.738080e-03
+ 1.338756e-02  1.371231e-02 -2.356887e-01 -3.101632e-01 -2.378873e-04 -1.240055e-04
+ 1.338756e-02  1.385741e-02 -2.358452e-01 -3.100324e-01 -2.924327e-04 -2.097070e-04
+ 1.338756e-02  1.400100e-02 -2.361270e-01 -3.100750e-01  3.096717e-04  1.288028e-04
+ 1.338756e-02  1.414314e-02 -2.363006e-01 -3.098989e-01  2.821793e-04  7.931281e-05
+ 1.338756e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.442321e-02 -2.361650e-01 -3.079207e-01 -7.844240e-04  5.328408e-04
+ 1.338756e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.483340e-02 -2.360878e-01 -3.089397e-01 -2.360878e-01 -3.089397e-01
+ 1.338756e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.574902e-02 -2.357347e-01 -3.089474e-01 -2.357347e-01 -3.089474e-01
+ 1.338756e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.338756e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.000000e-06 -2.303043e-01 -3.090796e-01  1.544447e-06  5.879041e-06
+ 1.348284e-02  2.001000e-03 -2.301348e-01 -3.096150e-01 -1.601142e-05  5.824663e-06
+ 1.348284e-02  2.829427e-03 -2.298073e-01 -3.106092e-01 -1.625575e-05 -2.821398e-06
+ 1.348284e-02  3.465102e-03 -2.297699e-01 -3.106864e-01  5.947995e-06 -9.218687e-06
+ 1.348284e-02  4.001000e-03 -2.297552e-01 -3.107306e-01 -1.281454e-07  3.534548e-07
+ 1.348284e-02  4.473136e-03 -2.297534e-01 -3.107429e-01  5.689560e-06 -1.154840e-05
+ 1.348284e-02  4.899979e-03 -2.297806e-01 -3.106686e-01 -5.084585e-06  3.798588e-06
+ 1.348284e-02  5.292503e-03 -2.297940e-01 -3.106273e-01 -1.521908e-06 -2.234697e-06
+ 1.348284e-02  5.657854e-03 -2.298062e-01 -3.105812e-01 -9.201603e-06  1.261320e-05
+ 1.348284e-02  6.001000e-03 -2.298163e-01 -3.105500e-01 -3.308462e-06  8.254312e-06
+ 1.348284e-02  6.325555e-03 -2.298269e-01 -3.104998e-01  1.738071e-05 -8.045576e-06
+ 1.348284e-02  6.634250e-03 -2.298372e-01 -3.104665e-01  1.583322e-05  7.069255e-06
+ 1.348284e-02  6.929203e-03 -2.298627e-01 -3.104191e-01 -2.039538e-05  6.692107e-07
+ 1.348284e-02  7.212103e-03 -2.299138e-01 -3.102837e-01 -2.509285e-05  7.853262e-05
+ 1.348284e-02  7.484315e-03 -2.299407e-01 -3.102255e-01  2.800564e-03  1.209342e-03
+ 1.348284e-02  7.746967e-03 -2.299533e-01 -3.101976e-01 -2.545464e-06  1.612652e-05
+ 1.348284e-02  8.001000e-03 -2.299536e-01 -3.101491e-01  2.094373e-05  2.953502e-05
+ 1.348284e-02  8.247211e-03 -2.299620e-01 -3.101114e-01  5.931303e-04  3.565784e-04
+ 1.348284e-02  8.486281e-03 -2.299798e-01 -3.100701e-01  3.840952e-03  1.464910e-03
+ 1.348284e-02  8.718798e-03 -2.300052e-01 -3.099931e-01  3.516558e-07 -1.528959e-05
+ 1.348284e-02  8.945272e-03 -2.300500e-01 -3.099714e-01  4.385000e-03  1.711343e-03
+ 1.348284e-02  9.166151e-03 -2.334043e-01 -3.112065e-01  6.267777e-04  2.110646e-04
+ 1.348284e-02  9.381832e-03 -2.298204e-01 -3.096838e-01  2.746196e-04  1.106374e-04
+ 1.348284e-02  9.592663e-03 -2.307220e-01 -3.099968e-01 -7.206393e-04 -4.499042e-04
+ 1.348284e-02  9.798959e-03 -2.273282e-01 -3.090665e-01  3.355452e-03  1.089563e-03
+ 1.348284e-02  1.000100e-02 -2.331291e-01 -3.108303e-01 -2.988053e-03 -1.193466e-03
+ 1.348284e-02  1.019904e-02 -2.345212e-01 -3.103855e-01 -4.295494e-03 -2.570405e-04
+ 1.348284e-02  1.039330e-02 -2.301941e-01 -3.094251e-01  2.736917e-05 -9.370186e-05
+ 1.348284e-02  1.058401e-02 -2.337509e-01 -3.103392e-01 -2.036993e-03 -3.534893e-04
+ 1.348284e-02  1.077133e-02 -2.302585e-01 -3.092478e-01 -2.708247e-05 -2.037714e-05
+ 1.348284e-02  1.095545e-02 -2.302990e-01 -3.091146e-01  1.256144e-03  5.353388e-04
+ 1.348284e-02  1.113653e-02 -2.309568e-01 -3.094476e-01 -6.510819e-04 -3.856613e-04
+ 1.348284e-02  1.131471e-02 -2.304097e-01 -3.092834e-01 -7.717951e-05 -2.837978e-04
+ 1.348284e-02  1.149013e-02 -2.339734e-01 -3.105491e-01  9.637202e-04  3.552157e-04
+ 1.348284e-02  1.166290e-02 -2.354244e-01 -3.091663e-01 -4.511357e-03  5.805505e-06
+ 1.348284e-02  1.183316e-02 -2.347859e-01 -3.107363e-01 -2.210906e-04 -4.904841e-05
+ 1.348284e-02  1.200100e-02 -2.347140e-01 -3.106337e-01 -3.487154e-04 -7.628733e-05
+ 1.348284e-02  1.216653e-02 -2.346780e-01 -3.106048e-01  6.830802e-04  2.052224e-04
+ 1.348284e-02  1.232983e-02 -2.353603e-01 -3.107591e-01 -9.201572e-05 -1.490735e-04
+ 1.348284e-02  1.249100e-02 -2.354601e-01 -3.107051e-01 -1.701910e-04 -5.825098e-05
+ 1.348284e-02  1.265011e-02 -2.342593e-01 -3.101151e-01 -8.142149e-03 -2.289015e-03
+ 1.348284e-02  1.280725e-02 -2.348992e-01 -3.103285e-01 -4.757818e-03 -2.059349e-03
+ 1.348284e-02  1.296248e-02 -2.355562e-01 -3.105225e-01 -3.261084e-05  1.716258e-05
+ 1.348284e-02  1.311588e-02 -2.359765e-01 -3.105969e-01  5.528106e-05 -6.741254e-05
+ 1.348284e-02  1.326750e-02 -2.363154e-01 -3.106123e-01  1.475088e-03  4.345344e-04
+ 1.348284e-02  1.341741e-02 -2.360318e-01 -3.104395e-01 -1.836664e-04 -6.232098e-05
+ 1.348284e-02  1.356566e-02 -2.357996e-01 -3.102824e-01  1.194605e-03  4.034550e-04
+ 1.348284e-02  1.371231e-02 -2.360116e-01 -3.102978e-01  3.361515e-04  6.741539e-05
+ 1.348284e-02  1.385741e-02 -2.361036e-01 -3.101479e-01 -6.354909e-04 -1.460100e-03
+ 1.348284e-02  1.400100e-02 -2.356899e-01 -3.099860e-01  1.270531e-03  4.529262e-04
+ 1.348284e-02  1.414314e-02 -2.356831e-01 -3.097433e-01  1.576352e-04 -5.529618e-04
+ 1.348284e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.587551e-02 -2.358972e-01 -3.090080e-01 -5.132070e-03 -1.347141e-03
+ 1.348284e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.637171e-02 -2.357661e-01 -3.090326e-01 -4.133152e-04 -2.593810e-04
+ 1.348284e-02  1.649342e-02 -2.369192e-01 -3.092365e-01 -2.412733e-04 -6.369243e-05
+ 1.348284e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.348284e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.000000e-06 -2.303843e-01 -3.088427e-01  3.507000e-05 -1.025536e-04
+ 1.357745e-02  2.001000e-03 -2.304778e-01 -3.125694e-01 -3.460796e-06  5.843261e-06
+ 1.357745e-02  2.829427e-03 -2.297314e-01 -3.107972e-01  2.002454e-05 -5.553980e-05
+ 1.357745e-02  3.465102e-03 -2.297245e-01 -3.108559e-01 -1.799596e-05 -1.059036e-05
+ 1.357745e-02  4.001000e-03 -2.297321e-01 -3.108092e-01 -4.887987e-06 -1.034054e-05
+ 1.357745e-02  4.473136e-03 -2.297613e-01 -3.107287e-01  7.667572e-06 -1.679824e-05
+ 1.357745e-02  4.899979e-03 -2.297585e-01 -3.107363e-01 -9.441896e-06  1.657148e-05
+ 1.357745e-02  5.292503e-03 -2.297498e-01 -3.107417e-01  1.748565e-05 -2.535212e-05
+ 1.357745e-02  5.657854e-03 -2.297427e-01 -3.107281e-01 -2.070805e-06  1.248983e-06
+ 1.357745e-02  6.001000e-03 -2.297404e-01 -3.107229e-01  7.014797e-05 -4.409058e-05
+ 1.357745e-02  6.325555e-03 -2.297626e-01 -3.106686e-01  3.127260e-05  3.898585e-05
+ 1.357745e-02  6.634250e-03 -2.293621e-01 -3.105051e-01  3.028610e-03  1.003570e-03
+ 1.357745e-02  6.929203e-03 -2.297911e-01 -3.105259e-01  5.126247e-05 -6.216596e-05
+ 1.357745e-02  7.212103e-03 -2.305459e-01 -3.107571e-01 -6.152619e-04 -5.065638e-04
+ 1.357745e-02  7.484315e-03 -2.301224e-01 -3.105365e-01  4.083686e-04  1.273965e-04
+ 1.357745e-02  7.746967e-03 -2.307957e-01 -3.106934e-01 -8.576582e-04 -4.576845e-04
+ 1.357745e-02  8.001000e-03 -2.292930e-01 -3.100727e-01  6.659883e-04  6.415152e-05
+ 1.357745e-02  8.247211e-03 -2.299463e-01 -3.101080e-01  3.658307e-04  2.111789e-04
+ 1.357745e-02  8.486281e-03 -2.300255e-01 -3.100729e-01  4.261457e-03  1.674061e-03
+ 1.357745e-02  8.718798e-03 -2.300300e-01 -3.100670e-01  4.062297e-03  1.528174e-03
+ 1.357745e-02  8.945272e-03 -2.337755e-01 -3.113579e-01 -3.523222e-03 -1.126498e-03
+ 1.357745e-02  9.166151e-03 -2.336223e-01 -3.104085e-01 -1.746108e-04  7.898638e-04
+ 1.357745e-02  9.381832e-03 -2.333216e-01 -3.111184e-01  3.992288e-05 -1.003229e-04
+ 1.357745e-02  9.592663e-03 -2.294117e-01 -3.095465e-01  1.079196e-03  5.271885e-04
+ 1.357745e-02  9.798959e-03 -2.301916e-01 -3.096948e-01  5.362533e-05 -4.202208e-04
+ 1.357745e-02  1.000100e-02 -2.339830e-01 -3.104817e-01 -3.842858e-03 -8.334092e-04
+ 1.357745e-02  1.019904e-02 -2.344217e-01 -3.097538e-01 -4.316898e-03 -4.329279e-04
+ 1.357745e-02  1.039330e-02 -2.344346e-01 -3.100756e-01 -4.844484e-03 -7.322007e-04
+ 1.357745e-02  1.058401e-02 -2.302819e-01 -3.092293e-01  4.227906e-04  3.696945e-04
+ 1.357745e-02  1.077133e-02 -2.338687e-01 -3.108016e-01  5.521738e-04  2.002315e-04
+ 1.357745e-02  1.095545e-02 -2.343796e-01 -3.109356e-01 -1.388032e-05  9.529036e-06
+ 1.357745e-02  1.113653e-02 -2.339296e-01 -3.107070e-01  7.160834e-04  2.104968e-04
+ 1.357745e-02  1.131471e-02 -2.313203e-01 -3.096377e-01  2.462854e-03  8.673734e-04
+ 1.357745e-02  1.149013e-02 -2.344944e-01 -3.107910e-01  2.369563e-04  7.850587e-05
+ 1.357745e-02  1.166290e-02 -2.350337e-01 -3.109046e-01  3.061750e-04  1.059128e-04
+ 1.357745e-02  1.183316e-02 -2.345657e-01 -3.106727e-01  1.384435e-03  4.261421e-04
+ 1.357745e-02  1.200100e-02 -2.353128e-01 -3.109387e-01  4.201364e-04  2.060824e-04
+ 1.357745e-02  1.216653e-02 -2.344968e-01 -3.105578e-01 -3.533527e-03 -1.232139e-03
+ 1.357745e-02  1.232983e-02 -2.348043e-01 -3.105900e-01 -3.429329e-04 -3.185980e-05
+ 1.357745e-02  1.249100e-02 -2.348811e-01 -3.104663e-01 -1.513365e-03 -7.111407e-04
+ 1.357745e-02  1.265011e-02 -2.357217e-01 -3.107425e-01  2.344574e-04  9.243985e-05
+ 1.357745e-02  1.280725e-02 -2.353262e-01 -3.105206e-01 -7.102715e-04 -2.191857e-04
+ 1.357745e-02  1.296248e-02 -2.355280e-01 -3.105263e-01 -2.643496e-04 -1.094331e-04
+ 1.357745e-02  1.311588e-02 -2.356365e-01 -3.105230e-01  1.254022e-03  4.699166e-04
+ 1.357745e-02  1.326750e-02 -2.354299e-01 -3.103455e-01 -8.160483e-04 -2.982189e-04
+ 1.357745e-02  1.341741e-02 -2.354540e-01 -3.102220e-01  2.522199e-04 -1.797367e-03
+ 1.357745e-02  1.356566e-02 -2.357003e-01 -3.102752e-01  6.055299e-06 -2.621020e-05
+ 1.357745e-02  1.371231e-02 -2.358006e-01 -3.102079e-01 -1.452111e-05 -4.288685e-05
+ 1.357745e-02  1.385741e-02 -2.362491e-01 -3.102633e-01  2.895052e-04  1.133559e-04
+ 1.357745e-02  1.400100e-02 -2.356185e-01 -3.099795e-01  7.609000e-04 -1.625698e-05
+ 1.357745e-02  1.414314e-02 -2.358608e-01 -3.100381e-01  2.601698e-04  1.199264e-04
+ 1.357745e-02  1.428386e-02 -2.364779e-01 -3.100276e-01 -7.980572e-04 -1.662303e-04
+ 1.357745e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.496763e-02 -2.362903e-01 -3.087652e-01 -2.362903e-01 -3.087652e-01
+ 1.357745e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.357745e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.000000e-06 -2.304723e-01 -3.085806e-01  1.353382e-06 -4.238523e-06
+ 1.367141e-02  2.001000e-03 -2.308116e-01 -3.122521e-01 -1.754596e-05  1.438598e-05
+ 1.367141e-02  2.829427e-03 -2.287628e-01 -2.287639e-01  6.122076e-04  8.277988e-02
+ 1.367141e-02  3.465102e-03 -2.296461e-01 -3.111252e-01 -9.542002e-06 -1.744666e-05
+ 1.367141e-02  4.001000e-03 -2.296659e-01 -3.110161e-01  1.409103e-05 -4.639134e-05
+ 1.367141e-02  4.473136e-03 -2.297012e-01 -3.109460e-01 -1.185596e-05  2.383491e-06
+ 1.367141e-02  4.899979e-03 -2.296784e-01 -3.109367e-01 -8.472858e-07  8.460783e-06
+ 1.367141e-02  5.292503e-03 -2.303070e-01 -3.111207e-01 -5.542452e-04 -3.200238e-04
+ 1.367141e-02  5.657854e-03 -2.297249e-01 -3.108393e-01 -1.785018e-03 -5.224774e-04
+ 1.367141e-02  6.001000e-03 -2.297634e-01 -3.107033e-01  4.197023e-05  1.378748e-05
+ 1.367141e-02  6.325555e-03 -2.324391e-01 -3.110432e-01 -2.604682e-03 -4.444648e-04
+ 1.367141e-02  6.634250e-03 -2.300953e-01 -3.107502e-01 -2.585044e-04 -2.534138e-04
+ 1.367141e-02  6.929203e-03 -2.297905e-01 -3.105342e-01  2.674112e-04  7.773407e-05
+ 1.367141e-02  7.212103e-03 -2.304220e-01 -3.106718e-01  2.127229e-03  7.603049e-04
+ 1.367141e-02  7.484315e-03 -2.298960e-01 -3.103714e-01  1.438366e-04  1.519807e-04
+ 1.367141e-02  7.746967e-03 -2.331239e-01 -3.114795e-01  1.038611e-03  3.563521e-04
+ 1.367141e-02  8.001000e-03 -2.341704e-01 -3.117960e-01 -4.655612e-03 -1.714802e-03
+ 1.367141e-02  8.247211e-03 -2.337715e-01 -3.115664e-01 -1.412263e-05 -3.856781e-06
+ 1.367141e-02  8.486281e-03 -2.339815e-01 -3.116207e-01 -3.794019e-03 -1.422872e-03
+ 1.367141e-02  8.718798e-03 -2.335499e-01 -3.113502e-01 -1.407014e-04 -7.100051e-05
+ 1.367141e-02  8.945272e-03 -2.333968e-01 -3.112164e-01 -1.375690e-05 -3.424669e-05
+ 1.367141e-02  9.166151e-03 -2.338448e-01 -3.112657e-01 -3.293776e-03 -1.206023e-03
+ 1.367141e-02  9.381832e-03 -2.297280e-01 -3.096569e-01  3.462066e-04  1.121096e-04
+ 1.367141e-02  9.592663e-03 -2.271766e-01 -3.091352e-01  2.934646e-03  5.672480e-04
+ 1.367141e-02  9.798959e-03 -2.341316e-01 -3.102271e-01 -3.924389e-03 -8.330872e-04
+ 1.367141e-02  1.000100e-02 -2.332094e-01 -3.102701e-01 -3.058619e-03 -3.619829e-04
+ 1.367141e-02  1.019904e-02 -2.338982e-01 -3.104706e-01 -1.550180e-03 -8.071624e-04
+ 1.367141e-02  1.039330e-02 -2.303771e-01 -3.093435e-01  3.527992e-05  2.109309e-04
+ 1.367141e-02  1.058401e-02 -2.338265e-01 -3.109266e-01  1.152070e-03  4.081847e-04
+ 1.367141e-02  1.077133e-02 -2.346245e-01 -3.111000e-01  8.204059e-04  2.789109e-04
+ 1.367141e-02  1.095545e-02 -2.339195e-01 -3.107928e-01 -3.757120e-04 -5.220508e-04
+ 1.367141e-02  1.113653e-02 -2.346647e-01 -3.109881e-01 -5.920805e-04 -5.930376e-04
+ 1.367141e-02  1.131471e-02 -2.345103e-01 -3.108720e-01 -5.104734e-04 -1.561412e-04
+ 1.367141e-02  1.149013e-02 -2.347637e-01 -3.108965e-01 -3.387852e-04 -1.608637e-04
+ 1.367141e-02  1.166290e-02 -2.350500e-01 -3.109373e-01  8.009113e-04  3.736647e-04
+ 1.367141e-02  1.183316e-02 -2.350118e-01 -3.108645e-01 -5.728416e-03 -1.956871e-03
+ 1.367141e-02  1.200100e-02 -2.352047e-01 -3.109062e-01  1.206186e-04 -1.510723e-05
+ 1.367141e-02  1.216653e-02 -2.353114e-01 -3.108065e-01 -3.194927e-04 -2.262520e-04
+ 1.367141e-02  1.232983e-02 -2.350006e-01 -3.106302e-01 -2.850980e-04 -8.028586e-05
+ 1.367141e-02  1.249100e-02 -2.353568e-01 -3.106991e-01  1.093998e-03  3.553201e-04
+ 1.367141e-02  1.265011e-02 -2.354624e-01 -3.106575e-01  8.958366e-05  3.714143e-05
+ 1.367141e-02  1.280725e-02 -2.353231e-01 -3.105655e-01  6.229986e-04  2.118425e-04
+ 1.367141e-02  1.296248e-02 -2.355173e-01 -3.105661e-01 -6.174960e-04 -1.808829e-04
+ 1.367141e-02  1.311588e-02 -2.355053e-01 -3.104937e-01  1.654747e-04  7.786070e-05
+ 1.367141e-02  1.326750e-02 -2.356677e-01 -3.104562e-01 -7.248414e-04 -2.259638e-04
+ 1.367141e-02  1.341741e-02 -2.359533e-01 -3.104294e-01 -3.157402e-04 -6.183095e-05
+ 1.367141e-02  1.356566e-02 -2.350628e-01 -3.100328e-01 -9.510146e-04 -5.062170e-04
+ 1.367141e-02  1.371231e-02 -2.359969e-01 -3.103456e-01 -8.467680e-05  4.393841e-05
+ 1.367141e-02  1.385741e-02 -2.361007e-01 -3.102536e-01  2.829052e-04  1.462353e-04
+ 1.367141e-02  1.400100e-02 -2.364088e-01 -3.103413e-01 -1.158829e-04 -5.917614e-05
+ 1.367141e-02  1.414314e-02 -2.363597e-01 -3.101642e-01 -6.878369e-04 -1.740854e-04
+ 1.367141e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.469794e-02 -2.363106e-01 -3.090517e-01 -8.001702e-04 -1.825669e-04
+ 1.367141e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.367141e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.000000e-06 -2.305782e-01 -3.082633e-01  2.196027e-07 -7.460473e-07
+ 1.376472e-02  2.001000e-03 -2.312401e-01 -3.120311e-01 -6.685883e-05  2.389278e-05
+ 1.376472e-02  2.829427e-03 -2.313781e-01 -3.119025e-01 -6.734724e-07 -9.282499e-10
+ 1.376472e-02  3.465102e-03 -2.315001e-01 -3.118183e-01 -9.747989e-06 -1.100416e-08
+ 1.376472e-02  4.001000e-03 -2.316195e-01 -3.117560e-01  5.732899e-06  6.458717e-07
+ 1.376472e-02  4.473136e-03 -2.317458e-01 -3.117086e-01 -1.224984e-04 -1.457639e-05
+ 1.376472e-02  4.899979e-03 -2.316740e-01 -3.116381e-01  2.266598e-04  3.128709e-05
+ 1.376472e-02  5.292503e-03 -2.321833e-01 -3.116656e-01 -2.841800e-05 -5.155644e-06
+ 1.376472e-02  5.657854e-03 -2.323581e-01 -3.116471e-01  2.643110e-05  5.295032e-06
+ 1.376472e-02  6.001000e-03 -2.324537e-01 -3.116148e-01  1.480704e-04  3.728341e-05
+ 1.376472e-02  6.325555e-03 -2.326496e-01 -3.116113e-01 -4.187588e-05 -1.015462e-05
+ 1.376472e-02  6.634250e-03 -2.328345e-01 -3.116077e-01 -2.469388e-05 -6.098015e-06
+ 1.376472e-02  6.929203e-03 -2.329772e-01 -3.115935e-01 -3.571782e-06  8.020637e-07
+ 1.376472e-02  7.212103e-03 -2.330682e-01 -3.115723e-01  2.394198e-04  6.394980e-05
+ 1.376472e-02  7.484315e-03 -2.336585e-01 -3.117318e-01 -3.377314e-04 -1.254178e-04
+ 1.376472e-02  7.746967e-03 -2.340192e-01 -3.117645e-01  8.274740e-05  4.608306e-05
+ 1.376472e-02  8.001000e-03 -2.338694e-01 -3.116442e-01 -2.001681e-04 -6.637473e-05
+ 1.376472e-02  8.247211e-03 -2.339142e-01 -3.116234e-01 -4.647503e-04 -1.787221e-04
+ 1.376472e-02  8.486281e-03 -2.337709e-01 -3.114960e-01 -3.507873e-05 -1.950002e-05
+ 1.376472e-02  8.718798e-03 -2.335730e-01 -3.113587e-01 -5.312731e-04 -1.672859e-04
+ 1.376472e-02  8.945272e-03 -2.270354e-01 -3.091405e-01  6.637046e-03  2.129954e-03
+ 1.376472e-02  9.166151e-03 -2.291141e-01 -3.095421e-01  4.614284e-03  1.575401e-03
+ 1.376472e-02  9.381832e-03 -2.343877e-01 -3.104576e-01 -4.294922e-03 -7.175323e-04
+ 1.376472e-02  9.592663e-03 -2.307836e-01 -3.098956e-01  2.368997e-03  1.026305e-03
+ 1.376472e-02  9.798959e-03 -2.341926e-01 -3.102130e-01 -1.129849e-05  1.443550e-04
+ 1.376472e-02  1.000100e-02 -2.338423e-01 -3.109168e-01 -9.049160e-04 -7.338730e-04
+ 1.376472e-02  1.019904e-02 -2.343858e-01 -3.112128e-01 -4.130347e-03 -1.949951e-03
+ 1.376472e-02  1.039330e-02 -2.343305e-01 -3.111325e-01 -4.274089e-03 -1.630242e-03
+ 1.376472e-02  1.058401e-02 -2.346374e-01 -3.111835e-01  2.450996e-04  8.295150e-05
+ 1.376472e-02  1.077133e-02 -2.344095e-01 -3.110419e-01  2.341295e-04  5.507043e-05
+ 1.376472e-02  1.095545e-02 -2.344523e-01 -3.109926e-01 -4.132589e-03 -1.888363e-03
+ 1.376472e-02  1.113653e-02 -2.354557e-01 -3.112827e-01  9.698823e-05 -9.650637e-05
+ 1.376472e-02  1.131471e-02 -2.354019e-01 -3.111914e-01 -2.599026e-04 -1.003333e-04
+ 1.376472e-02  1.149013e-02 -2.352309e-01 -3.110653e-01  2.759075e-04  8.090573e-05
+ 1.376472e-02  1.166290e-02 -2.352644e-01 -3.110191e-01 -1.584077e-04 -6.914854e-05
+ 1.376472e-02  1.183316e-02 -2.352499e-01 -3.109834e-01  7.800309e-05 -1.118535e-04
+ 1.376472e-02  1.200100e-02 -2.352905e-01 -3.109497e-01 -9.982220e-04 -3.226526e-04
+ 1.376472e-02  1.216653e-02 -2.353006e-01 -3.108357e-01 -5.916184e-04 -2.738907e-04
+ 1.376472e-02  1.232983e-02 -2.353670e-01 -3.107765e-01 -4.842534e-04 -2.678440e-04
+ 1.376472e-02  1.249100e-02 -2.359404e-01 -3.109321e-01 -1.449466e-03 -1.239642e-03
+ 1.376472e-02  1.265011e-02 -2.356574e-01 -3.107669e-01  7.192403e-04  2.410438e-04
+ 1.376472e-02  1.280725e-02 -2.353433e-01 -3.105851e-01  4.319510e-04  1.239729e-04
+ 1.376472e-02  1.296248e-02 -2.346726e-01 -3.102507e-01  3.176804e-04  3.685453e-05
+ 1.376472e-02  1.311588e-02 -2.351971e-01 -3.103867e-01 -8.792100e-04 -2.787341e-04
+ 1.376472e-02  1.326750e-02 -2.360062e-01 -3.105769e-01  4.045073e-04  2.080243e-04
+ 1.376472e-02  1.341741e-02 -2.365996e-01 -3.107276e-01 -5.326617e-04 -1.840688e-04
+ 1.376472e-02  1.356566e-02 -2.368160e-01 -3.107195e-01 -1.271444e-04 -8.520457e-05
+ 1.376472e-02  1.371231e-02 -2.364219e-01 -3.105105e-01 -8.409382e-04 -2.895730e-04
+ 1.376472e-02  1.385741e-02 -2.363081e-01 -3.103969e-01  5.106175e-04  1.590737e-04
+ 1.376472e-02  1.400100e-02 -2.356150e-01 -3.100340e-01 -8.162418e-04 -2.027895e-04
+ 1.376472e-02  1.414314e-02 -2.361563e-01 -3.101459e-01 -2.857054e-05  7.134975e-05
+ 1.376472e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.649342e-02 -2.365833e-01 -3.091467e-01 -2.365833e-01 -3.091467e-01
+ 1.376472e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.376472e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.000000e-06 -2.306880e-01 -2.306880e-01  1.582593e-08  1.207675e-08
+ 1.385741e-02  2.001000e-03 -2.315403e-01 -3.119637e-01 -2.105400e-07  6.859809e-07
+ 1.385741e-02  2.829427e-03 -2.317942e-01 -3.118858e-01  8.286995e-06  2.113990e-06
+ 1.385741e-02  3.465102e-03 -2.320662e-01 -3.118541e-01  3.938183e-06 -3.487542e-07
+ 1.385741e-02  4.001000e-03 -2.322101e-01 -3.118243e-01  2.957248e-06  1.211034e-07
+ 1.385741e-02  4.473136e-03 -2.323740e-01 -3.118030e-01 -3.771950e-06 -6.687493e-07
+ 1.385741e-02  4.899979e-03 -2.325267e-01 -3.117846e-01  1.464562e-05  2.933710e-06
+ 1.385741e-02  5.292503e-03 -2.326835e-01 -3.117711e-01  1.709324e-05  3.815659e-06
+ 1.385741e-02  5.657854e-03 -2.328072e-01 -3.117517e-01 -6.078098e-08  5.155980e-08
+ 1.385741e-02  6.001000e-03 -2.329537e-01 -3.117400e-01 -1.728382e-05 -4.834913e-06
+ 1.385741e-02  6.325555e-03 -2.331214e-01 -3.117356e-01 -3.111251e-05 -8.022791e-06
+ 1.385741e-02  6.634250e-03 -2.332639e-01 -3.117273e-01  2.617227e-05  9.248470e-06
+ 1.385741e-02  6.929203e-03 -2.334267e-01 -3.117336e-01 -2.236610e-05 -7.900506e-06
+ 1.385741e-02  7.212103e-03 -2.339023e-01 -3.118564e-01 -3.722834e-04 -1.481811e-04
+ 1.385741e-02  7.484315e-03 -2.339996e-01 -3.118193e-01  2.929792e-05  8.819223e-07
+ 1.385741e-02  7.746967e-03 -2.338415e-01 -3.116835e-01 -1.420353e-04 -7.274128e-05
+ 1.385741e-02  8.001000e-03 -2.337694e-01 -3.115807e-01 -1.136892e-04 -3.990543e-05
+ 1.385741e-02  8.247211e-03 -2.337926e-01 -3.115601e-01 -3.592019e-04 -1.377469e-04
+ 1.385741e-02  8.486281e-03 -2.337378e-01 -3.114793e-01 -9.755997e-05 -9.865386e-06
+ 1.385741e-02  8.718798e-03 -2.300105e-01 -3.100507e-01  4.667909e-03  1.693419e-03
+ 1.385741e-02  8.945272e-03 -2.300820e-01 -3.099345e-01 -1.884594e-05 -1.048542e-04
+ 1.385741e-02  9.166151e-03 -2.301228e-01 -3.098459e-01  3.165257e-03  1.232060e-03
+ 1.385741e-02  9.381832e-03 -2.331393e-01 -3.109878e-01 -2.014956e-03 -7.775096e-04
+ 1.385741e-02  9.592663e-03 -2.341227e-01 -3.113300e-01  1.614710e-04  6.022481e-05
+ 1.385741e-02  9.798959e-03 -2.340554e-01 -3.112085e-01 -2.904506e-04  2.262232e-05
+ 1.385741e-02  1.000100e-02 -2.346952e-01 -3.113975e-01 -4.784439e-05 -3.202340e-05
+ 1.385741e-02  1.019904e-02 -2.348615e-01 -3.113971e-01 -6.979842e-04 -2.381792e-04
+ 1.385741e-02  1.039330e-02 -2.344305e-01 -3.111878e-01  3.275121e-04  1.234647e-04
+ 1.385741e-02  1.058401e-02 -2.351176e-01 -3.113604e-01 -1.094742e-04 -3.205035e-05
+ 1.385741e-02  1.077133e-02 -2.350644e-01 -3.112824e-01  4.417085e-04  1.526406e-04
+ 1.385741e-02  1.095545e-02 -2.350712e-01 -3.112280e-01  7.469256e-04  2.541886e-04
+ 1.385741e-02  1.113653e-02 -2.351511e-01 -3.111960e-01  5.708989e-05  1.130064e-05
+ 1.385741e-02  1.131471e-02 -2.351700e-01 -3.111391e-01 -4.373729e-04 -1.361622e-04
+ 1.385741e-02  1.149013e-02 -2.352877e-01 -3.111165e-01  6.317863e-05  3.291215e-05
+ 1.385741e-02  1.166290e-02 -2.356268e-01 -3.112065e-01  6.356584e-04  2.584280e-04
+ 1.385741e-02  1.183316e-02 -2.355061e-01 -3.111127e-01 -7.274809e-04 -2.418256e-04
+ 1.385741e-02  1.200100e-02 -2.360048e-01 -3.111799e-01  1.026914e-03  3.522414e-04
+ 1.385741e-02  1.216653e-02 -2.350918e-01 -3.107537e-01 -8.024606e-04 -3.187351e-04
+ 1.385741e-02  1.232983e-02 -2.355140e-01 -3.108652e-01  1.551559e-04  7.499912e-05
+ 1.385741e-02  1.249100e-02 -2.349393e-01 -3.105689e-01 -1.911247e-03 -1.425232e-03
+ 1.385741e-02  1.265011e-02 -2.359505e-01 -3.108762e-01  2.827843e-04  1.251491e-04
+ 1.385741e-02  1.280725e-02 -2.359776e-01 -3.108165e-01  7.219041e-04  2.758849e-04
+ 1.385741e-02  1.296248e-02 -2.362885e-01 -3.108695e-01 -8.359394e-04 -2.741319e-04
+ 1.385741e-02  1.311588e-02 -2.364768e-01 -3.108526e-01 -1.017735e-03 -3.739670e-04
+ 1.385741e-02  1.326750e-02 -2.365536e-01 -3.108112e-01 -8.715505e-04 -2.933140e-04
+ 1.385741e-02  1.341741e-02 -2.366949e-01 -3.107867e-01  2.424983e-04  7.340277e-05
+ 1.385741e-02  1.356566e-02 -2.359817e-01 -3.104514e-01 -2.886845e-04 -1.866140e-04
+ 1.385741e-02  1.371231e-02 -2.356556e-01 -3.102591e-01  4.083979e-04  1.001354e-04
+ 1.385741e-02  1.385741e-02 -2.355887e-01 -3.101357e-01  5.215446e-04  2.196744e-04
+ 1.385741e-02  1.400100e-02 -2.357747e-01 -3.100929e-01  3.442153e-04  9.052648e-05
+ 1.385741e-02  1.414314e-02 -2.361392e-01 -3.101229e-01 -2.595693e-04 -1.122172e-04
+ 1.385741e-02  1.428386e-02 -2.365894e-01 -3.101689e-01 -2.365894e-01 -3.101689e-01
+ 1.385741e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.549293e-02 -2.368306e-01 -3.091751e-01 -2.368306e-01 -3.091751e-01
+ 1.385741e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.385741e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.000000e-06 -2.308689e-01 -2.308690e-01  5.573970e-07  4.612692e-07
+ 1.394948e-02  2.001000e-03 -2.318421e-01 -3.119442e-01 -3.655455e-07  4.864328e-07
+ 1.394948e-02  2.829427e-03 -2.321567e-01 -3.119148e-01  1.769933e-06 -7.429670e-08
+ 1.394948e-02  3.465102e-03 -2.323836e-01 -3.119014e-01  1.944224e-07 -9.409864e-08
+ 1.394948e-02  4.001000e-03 -2.325732e-01 -3.118907e-01 -9.238922e-08 -8.632911e-08
+ 1.394948e-02  4.473136e-03 -2.327426e-01 -3.118809e-01 -5.426588e-07 -7.983589e-08
+ 1.394948e-02  4.899979e-03 -2.328947e-01 -3.118704e-01  2.773203e-07  3.379582e-08
+ 1.394948e-02  5.292503e-03 -2.330425e-01 -3.118607e-01  3.545136e-07 -2.435999e-08
+ 1.394948e-02  5.657854e-03 -2.331394e-01 -3.118397e-01  3.219663e-05  7.830747e-06
+ 1.394948e-02  6.001000e-03 -2.333060e-01 -3.118375e-01  9.487867e-06  3.125447e-06
+ 1.394948e-02  6.325555e-03 -2.335206e-01 -3.118572e-01 -4.490389e-05 -1.751209e-05
+ 1.394948e-02  6.634250e-03 -2.338300e-01 -3.119228e-01  6.085083e-04  2.141463e-04
+ 1.394948e-02  6.929203e-03 -2.339262e-01 -3.118896e-01 -6.649433e-05 -2.554164e-05
+ 1.394948e-02  7.212103e-03 -2.338873e-01 -3.118043e-01 -2.339520e-05 -1.495562e-05
+ 1.394948e-02  7.484315e-03 -2.337683e-01 -3.117116e-01 -1.024763e-04 -4.039134e-05
+ 1.394948e-02  7.746967e-03 -2.337778e-01 -3.116396e-01  1.541368e-04  4.473315e-05
+ 1.394948e-02  8.001000e-03 -2.337604e-01 -3.115833e-01 -3.894550e-04 -1.365139e-04
+ 1.394948e-02  8.247211e-03 -2.301056e-01 -3.103260e-01 -3.145025e-03 -1.167413e-03
+ 1.394948e-02  8.486281e-03 -2.334239e-01 -3.113691e-01  9.557602e-04  3.366202e-04
+ 1.394948e-02  8.718798e-03 -2.340055e-01 -3.104783e-01 -3.873550e-04  7.207956e-04
+ 1.394948e-02  8.945272e-03 -2.340670e-01 -3.114828e-01 -7.335317e-04 -2.788636e-04
+ 1.394948e-02  9.166151e-03 -2.343718e-01 -3.115307e-01  1.999354e-04  6.736764e-05
+ 1.394948e-02  9.381832e-03 -2.342204e-01 -3.114177e-01  2.115643e-04  1.036498e-04
+ 1.394948e-02  9.592663e-03 -2.344849e-01 -3.114540e-01 -4.373076e-03 -1.817784e-03
+ 1.394948e-02  9.798959e-03 -2.350174e-01 -3.115736e-01 -4.314805e-04 -1.440098e-04
+ 1.394948e-02  1.000100e-02 -2.349776e-01 -3.115070e-01 -2.158341e-05 -1.143806e-05
+ 1.394948e-02  1.019904e-02 -2.349796e-01 -3.114510e-01  3.023019e-05  6.623140e-06
+ 1.394948e-02  1.039330e-02 -2.350013e-01 -3.113988e-01  2.543493e-05  8.203320e-06
+ 1.394948e-02  1.058401e-02 -2.350278e-01 -3.113497e-01 -1.127066e-05 -3.972563e-06
+ 1.394948e-02  1.077133e-02 -2.350618e-01 -3.113009e-01  3.837780e-04  1.330601e-04
+ 1.394948e-02  1.095545e-02 -2.351019e-01 -3.112548e-01  6.964403e-06 -1.013810e-06
+ 1.394948e-02  1.113653e-02 -2.349722e-01 -3.111573e-01  4.331879e-04  1.511711e-04
+ 1.394948e-02  1.131471e-02 -2.357166e-01 -3.113443e-01  1.203530e-04 -1.940904e-05
+ 1.394948e-02  1.149013e-02 -2.358432e-01 -3.113553e-01 -1.506047e-03 -5.467154e-04
+ 1.394948e-02  1.166290e-02 -2.360698e-01 -3.113610e-01 -1.885013e-04 -1.644629e-04
+ 1.394948e-02  1.183316e-02 -2.356397e-01 -3.111416e-01  2.193209e-04  6.468559e-05
+ 1.394948e-02  1.200100e-02 -2.352560e-01 -3.109325e-01  6.138338e-04  3.276914e-04
+ 1.394948e-02  1.216653e-02 -2.360876e-01 -3.111460e-01 -5.988006e-04 -2.119038e-04
+ 1.394948e-02  1.232983e-02 -2.358511e-01 -3.109897e-01  7.096369e-04  2.512655e-04
+ 1.394948e-02  1.249100e-02 -2.357709e-01 -3.109124e-01 -2.675483e-04 -9.199004e-05
+ 1.394948e-02  1.265011e-02 -2.359260e-01 -3.109021e-01  3.818964e-05  1.411735e-05
+ 1.394948e-02  1.280725e-02 -2.365032e-01 -3.110246e-01 -2.271623e-05 -1.401972e-05
+ 1.394948e-02  1.296248e-02 -2.365082e-01 -3.109549e-01  1.411433e-03  4.315516e-04
+ 1.394948e-02  1.311588e-02 -2.363719e-01 -3.108418e-01  4.025817e-04  1.768241e-04
+ 1.394948e-02  1.326750e-02 -2.359977e-01 -3.106128e-01  9.011544e-06  1.371029e-05
+ 1.394948e-02  1.341741e-02 -2.360071e-01 -3.105308e-01  8.911510e-04  2.807350e-04
+ 1.394948e-02  1.356566e-02 -2.364867e-01 -3.106756e-01 -2.194497e-04 -6.749778e-05
+ 1.394948e-02  1.371231e-02 -2.358152e-01 -3.103262e-01  5.698631e-04  2.257286e-04
+ 1.394948e-02  1.385741e-02 -2.366491e-01 -3.105550e-01 -8.900209e-04 -3.704107e-04
+ 1.394948e-02  1.400100e-02 -2.373914e-01 -3.106585e-01 -1.137601e-05  5.523815e-05
+ 1.394948e-02  1.414314e-02 -2.367982e-01 -3.104016e-01 -2.367982e-01 -3.104016e-01
+ 1.394948e-02  1.428386e-02 -2.369620e-01 -3.103110e-01 -2.369620e-01 -3.103110e-01
+ 1.394948e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.394948e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.000000e-06 -2.310618e-01 -2.310618e-01  1.911526e-07  1.888392e-07
+ 1.404094e-02  2.001000e-03 -2.321369e-01 -3.119596e-01 -6.089714e-07  5.074157e-07
+ 1.404094e-02  2.829427e-03 -2.324668e-01 -3.119613e-01 -3.441903e-08  5.470835e-08
+ 1.404094e-02  3.465102e-03 -2.327051e-01 -3.119641e-01  1.968455e-06  5.015840e-07
+ 1.404094e-02  4.001000e-03 -2.328994e-01 -3.119637e-01 -4.065478e-07 -1.419120e-07
+ 1.404094e-02  4.473136e-03 -2.330666e-01 -3.119601e-01  4.810576e-06  1.164868e-06
+ 1.404094e-02  4.899979e-03 -2.332190e-01 -3.119546e-01  1.543955e-06  3.423210e-07
+ 1.404094e-02  5.292503e-03 -2.333686e-01 -3.119499e-01 -4.586279e-07 -1.505542e-07
+ 1.404094e-02  5.657854e-03 -2.335124e-01 -3.119460e-01 -1.382845e-05 -2.269813e-06
+ 1.404094e-02  6.001000e-03 -2.337506e-01 -3.119831e-01  9.517135e-05  3.334190e-05
+ 1.404094e-02  6.325555e-03 -2.338598e-01 -3.119632e-01  2.615701e-04  9.666750e-05
+ 1.404094e-02  6.634250e-03 -2.338424e-01 -3.118938e-01  3.525036e-04  1.335144e-04
+ 1.404094e-02  6.929203e-03 -2.338024e-01 -3.118202e-01 -1.827315e-04 -6.653788e-05
+ 1.404094e-02  7.212103e-03 -2.336437e-01 -3.117230e-01  7.070964e-04  2.486261e-04
+ 1.404094e-02  7.484315e-03 -2.335472e-01 -3.116193e-01  1.612209e-04  4.149305e-05
+ 1.404094e-02  7.746967e-03 -2.331343e-01 -3.114140e-01 -1.693512e-04 -9.266227e-05
+ 1.404094e-02  8.001000e-03 -2.334352e-01 -3.111665e-01 -3.438716e-03 -1.055542e-03
+ 1.404094e-02  8.247211e-03 -2.343852e-01 -3.117622e-01 -3.845616e-05 -1.414771e-05
+ 1.404094e-02  8.486281e-03 -2.345660e-01 -3.117676e-01 -4.499170e-03 -1.748095e-03
+ 1.404094e-02  8.718798e-03 -2.346985e-01 -3.117579e-01 -7.605275e-05 -2.447268e-05
+ 1.404094e-02  8.945272e-03 -2.348918e-01 -3.117651e-01 -3.456444e-04 -1.092045e-04
+ 1.404094e-02  9.166151e-03 -2.348748e-01 -3.117073e-01 -1.927570e-05 -4.508249e-06
+ 1.404094e-02  9.381832e-03 -2.348652e-01 -3.116517e-01 -1.635038e-06 -3.188661e-07
+ 1.404094e-02  9.592663e-03 -2.348758e-01 -3.116015e-01  4.599266e-05  1.446540e-05
+ 1.404094e-02  9.798959e-03 -2.348329e-01 -3.115346e-01 -2.752019e-04 -9.252707e-05
+ 1.404094e-02  1.000100e-02 -2.349217e-01 -3.115094e-01 -8.597880e-04 -7.317731e-04
+ 1.404094e-02  1.019904e-02 -2.347049e-01 -3.113751e-01 -4.334008e-03 -1.318378e-03
+ 1.404094e-02  1.039330e-02 -2.348371e-01 -3.113629e-01 -2.694939e-04 -9.583763e-05
+ 1.404094e-02  1.058401e-02 -2.352065e-01 -3.114280e-01  5.094611e-04  1.850105e-04
+ 1.404094e-02  1.077133e-02 -2.352143e-01 -3.113718e-01  3.525458e-05  2.232160e-05
+ 1.404094e-02  1.095545e-02 -2.357278e-01 -3.114959e-01 -4.216459e-04 -1.518545e-04
+ 1.404094e-02  1.113653e-02 -2.358057e-01 -3.114561e-01  4.160217e-06  9.645018e-06
+ 1.404094e-02  1.131471e-02 -2.357923e-01 -3.114060e-01 -4.935386e-04 -1.866664e-04
+ 1.404094e-02  1.149013e-02 -2.360882e-01 -3.114641e-01  1.048917e-05  6.985565e-05
+ 1.404094e-02  1.166290e-02 -2.358523e-01 -3.113070e-01  7.757919e-05  8.205918e-05
+ 1.404094e-02  1.183316e-02 -2.355576e-01 -3.111350e-01  1.192937e-04  1.063466e-04
+ 1.404094e-02  1.200100e-02 -2.361771e-01 -3.112563e-01 -1.351004e-03 -5.648940e-04
+ 1.404094e-02  1.216653e-02 -2.364253e-01 -3.112826e-01  9.655150e-05  3.175940e-05
+ 1.404094e-02  1.232983e-02 -2.367000e-01 -3.113190e-01  9.486211e-04  3.023876e-04
+ 1.404094e-02  1.249100e-02 -2.365298e-01 -3.111926e-01  1.124332e-03  3.755933e-04
+ 1.404094e-02  1.265011e-02 -2.366827e-01 -3.111733e-01  1.191697e-03  3.585229e-04
+ 1.404094e-02  1.280725e-02 -2.363850e-01 -3.109858e-01 -4.239394e-04 -1.590157e-04
+ 1.404094e-02  1.296248e-02 -2.357567e-01 -3.107033e-01 -1.915385e-03 -1.488817e-03
+ 1.404094e-02  1.311588e-02 -2.364994e-01 -3.108718e-01 -4.844019e-06  4.212423e-06
+ 1.404094e-02  1.326750e-02 -2.365813e-01 -3.108312e-01 -1.509321e-03 -5.612097e-04
+ 1.404094e-02  1.341741e-02 -2.371086e-01 -3.109398e-01  4.525602e-04  1.406645e-04
+ 1.404094e-02  1.356566e-02 -2.369903e-01 -3.108354e-01  8.085433e-04  2.322725e-04
+ 1.404094e-02  1.371231e-02 -2.371041e-01 -3.107886e-01  7.363837e-04  1.788548e-04
+ 1.404094e-02  1.385741e-02 -2.369139e-01 -3.106462e-01  1.125343e-03  3.036634e-04
+ 1.404094e-02  1.400100e-02 -2.372077e-01 -3.106298e-01  7.341009e-04  8.022936e-05
+ 1.404094e-02  1.414314e-02 -2.372359e-01 -3.104633e-01  3.527700e-04  5.820272e-05
+ 1.404094e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.661425e-02 -2.364743e-01 -3.091141e-01 -2.364743e-01 -3.091141e-01
+ 1.404094e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.404094e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.000000e-06 -2.313146e-01 -2.313146e-01 -8.077534e-07 -8.144519e-07
+ 1.413182e-02  2.001000e-03 -2.324269e-01 -3.119971e-01  1.780535e-08 -6.333120e-09
+ 1.413182e-02  2.829427e-03 -2.327661e-01 -3.120204e-01 -2.371573e-08  7.130093e-09
+ 1.413182e-02  3.465102e-03 -2.330084e-01 -3.120340e-01 -9.798801e-08 -1.819548e-07
+ 1.413182e-02  4.001000e-03 -2.332055e-01 -3.120406e-01 -2.558509e-07 -1.120061e-07
+ 1.413182e-02  4.473136e-03 -2.333756e-01 -3.120426e-01 -6.656286e-07 -5.659392e-07
+ 1.413182e-02  4.899979e-03 -2.335287e-01 -3.120407e-01  1.187626e-06 -9.916597e-08
+ 1.413182e-02  5.292503e-03 -2.337278e-01 -3.120610e-01 -3.887124e-05 -1.295237e-05
+ 1.413182e-02  5.657854e-03 -2.338320e-01 -3.120472e-01  4.771282e-04  1.743970e-04
+ 1.413182e-02  6.001000e-03 -2.338062e-01 -3.119819e-01  1.540927e-04  5.673916e-05
+ 1.413182e-02  6.325555e-03 -2.337458e-01 -3.118916e-01  5.365917e-04  1.997132e-04
+ 1.413182e-02  6.634250e-03 -2.336314e-01 -3.117950e-01  4.196127e-04  1.509773e-04
+ 1.413182e-02  6.929203e-03 -2.334414e-01 -3.116847e-01  1.024505e-03  3.824194e-04
+ 1.413182e-02  7.212103e-03 -2.334486e-01 -3.116358e-01  9.928534e-04  3.574017e-04
+ 1.413182e-02  7.484315e-03 -2.344023e-01 -3.119269e-01 -1.009136e-03 -3.707522e-04
+ 1.413182e-02  7.746967e-03 -2.342319e-01 -3.118187e-01 -3.089061e-04 -9.666478e-05
+ 1.413182e-02  8.001000e-03 -2.347712e-01 -3.119434e-01 -1.785943e-03 -7.337147e-04
+ 1.413182e-02  8.247211e-03 -2.347601e-01 -3.118915e-01 -2.884478e-06 -8.846701e-07
+ 1.413182e-02  8.486281e-03 -2.347497e-01 -3.118395e-01  3.795326e-06  1.128620e-06
+ 1.413182e-02  8.718798e-03 -2.347462e-01 -3.117890e-01 -3.772747e-04 -1.225838e-04
+ 1.413182e-02  8.945272e-03 -2.347197e-01 -3.117288e-01 -1.441884e-04 -2.875240e-05
+ 1.413182e-02  9.166151e-03 -2.349705e-01 -3.117559e-01  5.684446e-06  2.516796e-06
+ 1.413182e-02  9.381832e-03 -2.350938e-01 -3.117425e-01  5.047111e-05  1.748116e-05
+ 1.413182e-02  9.592663e-03 -2.351137e-01 -3.116942e-01 -6.499801e-05 -2.142840e-05
+ 1.413182e-02  9.798959e-03 -2.352469e-01 -3.116848e-01  2.401646e-04  8.695634e-05
+ 1.413182e-02  1.000100e-02 -2.353736e-01 -3.116766e-01 -6.997673e-05 -2.172309e-05
+ 1.413182e-02  1.019904e-02 -2.353060e-01 -3.115925e-01  6.824381e-04  2.345767e-04
+ 1.413182e-02  1.039330e-02 -2.359335e-01 -3.117529e-01 -1.190153e-04 -3.372341e-05
+ 1.413182e-02  1.058401e-02 -2.357723e-01 -3.116372e-01  2.499788e-04  8.678636e-05
+ 1.413182e-02  1.077133e-02 -2.355542e-01 -3.115057e-01  2.766714e-04  9.406357e-05
+ 1.413182e-02  1.095545e-02 -2.354772e-01 -3.114184e-01 -1.891356e-04 -7.084030e-05
+ 1.413182e-02  1.113653e-02 -2.358243e-01 -3.114722e-01 -1.287413e-05  6.388175e-06
+ 1.413182e-02  1.131471e-02 -2.361435e-01 -3.115541e-01  5.656911e-04  3.250818e-04
+ 1.413182e-02  1.149013e-02 -2.358187e-01 -3.113642e-01  4.295419e-04  2.314214e-04
+ 1.413182e-02  1.166290e-02 -2.362208e-01 -3.114127e-01 -3.848325e-04 -1.281366e-04
+ 1.413182e-02  1.183316e-02 -2.361747e-01 -3.113401e-01 -3.415046e-04 -1.152734e-04
+ 1.413182e-02  1.200100e-02 -2.362788e-01 -3.113164e-01 -1.496156e-03 -5.979590e-04
+ 1.413182e-02  1.216653e-02 -2.360568e-01 -3.111695e-01  2.411186e-04  9.097245e-05
+ 1.413182e-02  1.232983e-02 -2.360841e-01 -3.111120e-01 -1.703279e-04 -8.755965e-05
+ 1.413182e-02  1.249100e-02 -2.360061e-01 -3.110202e-01  5.124591e-04  1.697480e-04
+ 1.413182e-02  1.265011e-02 -2.363173e-01 -3.110628e-01  5.190381e-04  1.979120e-04
+ 1.413182e-02  1.280725e-02 -2.362271e-01 -3.109589e-01 -2.219928e-04 -9.460171e-05
+ 1.413182e-02  1.296248e-02 -2.370665e-01 -3.111649e-01  1.422871e-03  4.859986e-04
+ 1.413182e-02  1.311588e-02 -2.366512e-01 -3.109523e-01  1.824695e-03  5.609773e-04
+ 1.413182e-02  1.326750e-02 -2.367109e-01 -3.109138e-01  4.631409e-04  1.962424e-04
+ 1.413182e-02  1.341741e-02 -2.367454e-01 -3.108691e-01 -4.451489e-06 -3.286037e-05
+ 1.413182e-02  1.356566e-02 -2.371984e-01 -3.108948e-01 -1.196763e-03 -3.589701e-04
+ 1.413182e-02  1.371231e-02 -2.376138e-01 -3.109028e-01 -2.376138e-01 -3.109028e-01
+ 1.413182e-02  1.385741e-02 -2.378175e-01 -3.108751e-01 -6.091586e-04 -1.135497e-04
+ 1.413182e-02  1.400100e-02 -2.375058e-01 -3.106624e-01 -2.375058e-01 -3.106624e-01
+ 1.413182e-02  1.414314e-02 -2.382739e-01 -3.105886e-01 -2.382739e-01 -3.105886e-01
+ 1.413182e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.413182e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.000000e-06 -2.316023e-01 -2.316023e-01 -1.091254e-09 -2.104644e-10
+ 1.422211e-02  2.001000e-03 -2.327166e-01 -3.120498e-01  6.625157e-10 -4.146739e-08
+ 1.422211e-02  2.829427e-03 -2.330591e-01 -3.120878e-01 -1.005159e-06 -2.392895e-07
+ 1.422211e-02  3.465102e-03 -2.333029e-01 -3.121089e-01  1.118909e-08 -4.406362e-08
+ 1.422211e-02  4.001000e-03 -2.334990e-01 -3.121200e-01 -1.845291e-08 -8.048936e-08
+ 1.422211e-02  4.473136e-03 -2.336645e-01 -3.121256e-01 -1.410689e-05 -5.344596e-06
+ 1.422211e-02  4.899979e-03 -2.338394e-01 -3.121367e-01  2.996315e-05  1.345477e-05
+ 1.422211e-02  5.292503e-03 -2.338799e-01 -3.120906e-01  2.110585e-04  8.776293e-05
+ 1.422211e-02  5.657854e-03 -2.338238e-01 -3.120101e-01  6.463151e-05  2.704747e-05
+ 1.422211e-02  6.001000e-03 -2.337018e-01 -3.119163e-01  1.835403e-04  6.824410e-05
+ 1.422211e-02  6.325555e-03 -2.336835e-01 -3.118637e-01  4.002657e-04  1.655659e-04
+ 1.422211e-02  6.634250e-03 -2.343811e-01 -3.120716e-01  9.906403e-05  3.100747e-05
+ 1.422211e-02  6.929203e-03 -2.345467e-01 -3.120760e-01 -3.881685e-04 -1.270357e-04
+ 1.422211e-02  7.212103e-03 -2.346656e-01 -3.120657e-01 -5.350401e-05 -1.558311e-05
+ 1.422211e-02  7.484315e-03 -2.346476e-01 -3.120155e-01  1.813780e-05  5.290042e-06
+ 1.422211e-02  7.746967e-03 -2.346819e-01 -3.119802e-01 -1.308426e-03 -4.545946e-04
+ 1.422211e-02  8.001000e-03 -2.348477e-01 -3.119824e-01  2.609146e-06  4.420102e-07
+ 1.422211e-02  8.247211e-03 -2.349080e-01 -3.119519e-01  2.795199e-05  9.162377e-06
+ 1.422211e-02  8.486281e-03 -2.350345e-01 -3.119448e-01 -2.803592e-05 -5.799982e-06
+ 1.422211e-02  8.718798e-03 -2.350399e-01 -3.118944e-01  4.858013e-05  1.487007e-05
+ 1.422211e-02  8.945272e-03 -2.351189e-01 -3.118686e-01 -7.117535e-05 -2.274851e-05
+ 1.422211e-02  9.166151e-03 -2.352023e-01 -3.118432e-01  1.177019e-04  3.604668e-05
+ 1.422211e-02  9.381832e-03 -2.353689e-01 -3.118465e-01 -1.542858e-04 -5.183437e-05
+ 1.422211e-02  9.592663e-03 -2.357899e-01 -3.119350e-01 -2.565523e-04 -8.791344e-05
+ 1.422211e-02  9.798959e-03 -2.357333e-01 -3.118594e-01 -1.939985e-05 -6.602396e-06
+ 1.422211e-02  1.000100e-02 -2.358400e-01 -3.118409e-01 -5.613212e-04 -1.992886e-04
+ 1.422211e-02  1.019904e-02 -2.356431e-01 -3.117174e-01  1.028253e-04  3.445613e-05
+ 1.422211e-02  1.039330e-02 -2.358043e-01 -3.117157e-01 -1.074968e-05 -1.987437e-06
+ 1.422211e-02  1.058401e-02 -2.356210e-01 -3.115954e-01  4.417259e-04  1.520535e-04
+ 1.422211e-02  1.077133e-02 -2.358664e-01 -3.116243e-01 -3.422332e-04 -1.166522e-04
+ 1.422211e-02  1.095545e-02 -2.361539e-01 -3.116735e-01  1.468822e-05  1.153763e-05
+ 1.422211e-02  1.113653e-02 -2.362586e-01 -3.116699e-01 -9.959860e-05 -7.505632e-05
+ 1.422211e-02  1.131471e-02 -2.362308e-01 -3.115708e-01 -4.233062e-04 -1.545948e-04
+ 1.422211e-02  1.149013e-02 -2.363013e-01 -3.115128e-01  1.059802e-04  4.076140e-05
+ 1.422211e-02  1.166290e-02 -2.363462e-01 -3.114712e-01  1.126728e-04  4.551250e-05
+ 1.422211e-02  1.183316e-02 -2.363397e-01 -3.114103e-01  5.197200e-04  1.755690e-04
+ 1.422211e-02  1.200100e-02 -2.366446e-01 -3.114570e-01 -5.131620e-07 -1.692265e-05
+ 1.422211e-02  1.216653e-02 -2.365439e-01 -3.113560e-01  1.453446e-05  5.663616e-06
+ 1.422211e-02  1.232983e-02 -2.363732e-01 -3.112207e-01 -1.090561e-04 -3.072741e-05
+ 1.422211e-02  1.249100e-02 -2.364906e-01 -3.112014e-01  9.688428e-04  3.252615e-04
+ 1.422211e-02  1.265011e-02 -2.374910e-01 -3.114520e-01  3.891819e-04  7.755422e-05
+ 1.422211e-02  1.280725e-02 -2.370156e-01 -3.112397e-01  3.653154e-05  1.185284e-06
+ 1.422211e-02  1.296248e-02 -2.383983e-01 -3.115999e-01  7.478275e-05  4.902229e-05
+ 1.422211e-02  1.311588e-02 -2.381390e-01 -3.114540e-01 -4.102304e-04 -1.576639e-04
+ 1.422211e-02  1.326750e-02 -2.370413e-01 -3.110624e-01  2.075355e-04  1.027273e-04
+ 1.422211e-02  1.341741e-02 -2.370374e-01 -3.109644e-01  2.240779e-04  3.625216e-05
+ 1.422211e-02  1.356566e-02 -2.384071e-01 -3.112542e-01 -1.384409e-04 -1.123215e-04
+ 1.422211e-02  1.371231e-02 -2.379024e-01 -3.110386e-01  4.531992e-04  7.102924e-05
+ 1.422211e-02  1.385741e-02 -2.378107e-01 -3.109647e-01  9.797771e-04  3.047044e-05
+ 1.422211e-02  1.400100e-02 -2.378178e-01 -3.108205e-01  4.631908e-05  3.564221e-05
+ 1.422211e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.422211e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.000000e-06 -2.319137e-01 -2.319137e-01 -7.567778e-08 -7.020768e-08
+ 1.431184e-02  2.001000e-03 -2.330065e-01 -3.121135e-01 -5.538495e-09  2.218553e-08
+ 1.431184e-02  2.829427e-03 -2.333489e-01 -3.121614e-01 -2.579157e-08 -4.541652e-08
+ 1.431184e-02  3.465102e-03 -2.335920e-01 -3.121875e-01 -9.874582e-07 -2.854421e-07
+ 1.431184e-02  4.001000e-03 -2.337919e-01 -3.122063e-01  2.674839e-06  7.880681e-07
+ 1.431184e-02  4.473136e-03 -2.339262e-01 -3.121966e-01 -4.926617e-07 -9.872237e-07
+ 1.431184e-02  4.899979e-03 -2.339282e-01 -3.121381e-01  2.042887e-04  8.330392e-05
+ 1.431184e-02  5.292503e-03 -2.338968e-01 -3.120774e-01  6.949246e-05  2.674853e-05
+ 1.431184e-02  5.657854e-03 -2.341314e-01 -3.121312e-01 -4.656650e-05 -1.644218e-05
+ 1.431184e-02  6.001000e-03 -2.345570e-01 -3.122192e-01 -8.027598e-07  2.536437e-08
+ 1.431184e-02  6.325555e-03 -2.345883e-01 -3.121863e-01 -4.167389e-05 -9.840742e-06
+ 1.431184e-02  6.634250e-03 -2.346521e-01 -3.121640e-01  1.649429e-06  5.817477e-07
+ 1.431184e-02  6.929203e-03 -2.347631e-01 -3.121529e-01  1.196552e-05  3.349612e-06
+ 1.431184e-02  7.212103e-03 -2.348593e-01 -3.121375e-01  9.904523e-06  2.370670e-06
+ 1.431184e-02  7.484315e-03 -2.349553e-01 -3.121207e-01 -7.832841e-07  7.779548e-08
+ 1.431184e-02  7.746967e-03 -2.350464e-01 -3.121032e-01  1.435103e-05  4.771569e-06
+ 1.431184e-02  8.001000e-03 -2.351045e-01 -3.120734e-01 -1.723390e-06 -4.283690e-07
+ 1.431184e-02  8.247211e-03 -2.351801e-01 -3.120495e-01 -2.218103e-05 -7.207068e-06
+ 1.431184e-02  8.486281e-03 -2.353807e-01 -3.120678e-01  2.261318e-04  7.566284e-05
+ 1.431184e-02  8.718798e-03 -2.354144e-01 -3.120282e-01  4.413917e-04  1.458128e-04
+ 1.431184e-02  8.945272e-03 -2.357671e-01 -3.120942e-01 -2.314563e-04 -7.534726e-05
+ 1.431184e-02  9.166151e-03 -2.358154e-01 -3.120589e-01 -3.022152e-04 -1.002381e-04
+ 1.431184e-02  9.381832e-03 -2.354710e-01 -3.118907e-01 -2.720494e-05 -9.297431e-06
+ 1.431184e-02  9.592663e-03 -2.355715e-01 -3.118720e-01 -1.131029e-04 -3.709195e-05
+ 1.431184e-02  9.798959e-03 -2.354745e-01 -3.117856e-01  1.781346e-07  2.807127e-06
+ 1.431184e-02  1.000100e-02 -2.356671e-01 -3.117956e-01 -4.035352e-04 -1.427180e-04
+ 1.431184e-02  1.019904e-02 -2.360655e-01 -3.118760e-01 -1.791324e-05 -5.504082e-06
+ 1.431184e-02  1.039330e-02 -2.360567e-01 -3.118188e-01 -3.392668e-06 -1.510686e-06
+ 1.431184e-02  1.058401e-02 -2.361878e-01 -3.118069e-01 -1.581452e-04 -5.221820e-05
+ 1.431184e-02  1.077133e-02 -2.362807e-01 -3.117887e-01 -4.907812e-05 -2.378449e-05
+ 1.431184e-02  1.095545e-02 -2.363570e-01 -3.117721e-01  1.158520e-04  4.608916e-05
+ 1.431184e-02  1.113653e-02 -2.363719e-01 -3.117072e-01  1.340894e-04  1.445033e-04
+ 1.431184e-02  1.131471e-02 -2.363921e-01 -3.116197e-01 -7.600248e-06 -2.000675e-05
+ 1.431184e-02  1.149013e-02 -2.364831e-01 -3.115936e-01  1.285396e-04  5.498584e-05
+ 1.431184e-02  1.166290e-02 -2.365234e-01 -3.115495e-01  2.283568e-05  1.610208e-05
+ 1.431184e-02  1.183316e-02 -2.369171e-01 -3.116143e-01 -3.111558e-04 -8.915130e-05
+ 1.431184e-02  1.200100e-02 -2.367799e-01 -3.115116e-01 -2.961753e-04 -9.909898e-05
+ 1.431184e-02  1.216653e-02 -2.369429e-01 -3.115078e-01 -5.773853e-04 -2.019620e-04
+ 1.431184e-02  1.232983e-02 -2.367011e-01 -3.113595e-01 -2.002581e-04 -6.940812e-05
+ 1.431184e-02  1.249100e-02 -2.369663e-01 -3.113913e-01  1.080809e-03  3.287181e-04
+ 1.431184e-02  1.265011e-02 -2.367790e-01 -3.112697e-01 -2.287074e-04 -6.533258e-05
+ 1.431184e-02  1.280725e-02 -2.367301e-01 -3.111717e-01  3.068001e-04  9.157197e-05
+ 1.431184e-02  1.296248e-02 -2.377461e-01 -3.114247e-01  7.959557e-04  3.776752e-04
+ 1.431184e-02  1.311588e-02 -2.381059e-01 -3.114657e-01  4.388120e-04  1.388475e-04
+ 1.431184e-02  1.326750e-02 -2.377789e-01 -3.113008e-01  1.557962e-04  1.991182e-05
+ 1.431184e-02  1.341741e-02 -2.377849e-01 -3.112165e-01  7.995870e-04  2.123118e-04
+ 1.431184e-02  1.356566e-02 -2.377670e-01 -3.111157e-01 -3.730219e-04 -1.195124e-04
+ 1.431184e-02  1.371231e-02 -2.377894e-01 -3.110159e-01  5.063218e-04  1.916430e-04
+ 1.431184e-02  1.385741e-02 -2.378060e-01 -3.109803e-01  1.999323e-06 -3.778404e-05
+ 1.431184e-02  1.400100e-02 -2.378268e-01 -3.108921e-01 -1.150008e-04 -1.558897e-05
+ 1.431184e-02  1.414314e-02 -2.378317e-01 -3.107118e-01 -2.378317e-01 -3.107118e-01
+ 1.431184e-02  1.428386e-02 -2.378510e-01 -3.105522e-01 -2.378510e-01 -3.105522e-01
+ 1.431184e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.000000e-06 -2.322339e-01 -2.322339e-01 -4.524437e-09  1.667534e-09
+ 1.440100e-02  2.001000e-03 -2.332969e-01 -3.121850e-01  7.532947e-09 -2.384684e-08
+ 1.440100e-02  2.829427e-03 -2.336353e-01 -3.122391e-01  7.926292e-07  1.549324e-07
+ 1.440100e-02  3.465102e-03 -2.338775e-01 -3.122708e-01 -1.009247e-05 -8.127111e-06
+ 1.440100e-02  4.001000e-03 -2.340095e-01 -3.122568e-01  5.966184e-05  3.084223e-05
+ 1.440100e-02  4.473136e-03 -2.340567e-01 -3.122245e-01  3.717721e-04  1.317326e-04
+ 1.440100e-02  4.899979e-03 -2.342850e-01 -3.122728e-01 -2.438605e-04 -9.357166e-05
+ 1.440100e-02  5.292503e-03 -2.345481e-01 -3.123076e-01 -6.200831e-06 -2.779702e-06
+ 1.440100e-02  5.657854e-03 -2.346462e-01 -3.122964e-01 -4.123939e-05 -8.995331e-06
+ 1.440100e-02  6.001000e-03 -2.347519e-01 -3.122876e-01 -6.348808e-07 -8.230609e-08
+ 1.440100e-02  6.325555e-03 -2.348563e-01 -3.122767e-01 -1.135469e-06 -1.647170e-08
+ 1.440100e-02  6.634250e-03 -2.349528e-01 -3.122635e-01  8.243567e-07  3.506989e-07
+ 1.440100e-02  6.929203e-03 -2.350487e-01 -3.122497e-01 -5.402266e-06 -1.981155e-06
+ 1.440100e-02  7.212103e-03 -2.351225e-01 -3.122278e-01 -5.704144e-07 -1.743589e-07
+ 1.440100e-02  7.484315e-03 -2.352005e-01 -3.122070e-01  3.583324e-06  1.231458e-06
+ 1.440100e-02  7.746967e-03 -2.353665e-01 -3.122154e-01 -1.676948e-05 -5.410344e-06
+ 1.440100e-02  8.001000e-03 -2.354370e-01 -3.121916e-01  2.952787e-04  9.591346e-05
+ 1.440100e-02  8.247211e-03 -2.354480e-01 -3.121469e-01 -3.563012e-05 -1.197253e-05
+ 1.440100e-02  8.486281e-03 -2.354483e-01 -3.120979e-01 -9.543832e-05 -3.220114e-05
+ 1.440100e-02  8.718798e-03 -2.354940e-01 -3.120642e-01  1.470981e-04  4.801550e-05
+ 1.440100e-02  8.945272e-03 -2.354575e-01 -3.120011e-01  1.946351e-04  6.396441e-05
+ 1.440100e-02  9.166151e-03 -2.359114e-01 -3.121016e-01 -8.281647e-06 -2.507525e-06
+ 1.440100e-02  9.381832e-03 -2.359609e-01 -3.120664e-01  2.791949e-05  8.685732e-06
+ 1.440100e-02  9.592663e-03 -2.359447e-01 -3.120089e-01  7.038234e-05  2.224473e-05
+ 1.440100e-02  9.798959e-03 -2.360815e-01 -3.120021e-01  6.552192e-06  3.032658e-06
+ 1.440100e-02  1.000100e-02 -2.361750e-01 -3.119807e-01 -4.220894e-05 -1.461172e-05
+ 1.440100e-02  1.019904e-02 -2.362493e-01 -3.119527e-01 -1.951530e-05 -7.333952e-06
+ 1.440100e-02  1.039330e-02 -2.362882e-01 -3.119114e-01  7.978209e-06  5.916636e-06
+ 1.440100e-02  1.058401e-02 -2.364478e-01 -3.119166e-01 -1.456740e-04 -5.196345e-05
+ 1.440100e-02  1.077133e-02 -2.366639e-01 -3.119453e-01 -6.930354e-05 -2.147112e-05
+ 1.440100e-02  1.095545e-02 -2.365892e-01 -3.118563e-01  7.177305e-05  4.445568e-05
+ 1.440100e-02  1.113653e-02 -2.366621e-01 -3.117735e-01  1.271407e-04  3.262304e-05
+ 1.440100e-02  1.131471e-02 -2.365616e-01 -3.116939e-01 -1.947963e-05  6.728245e-06
+ 1.440100e-02  1.149013e-02 -2.366704e-01 -3.116861e-01 -1.921377e-04 -7.893226e-05
+ 1.440100e-02  1.166290e-02 -2.368191e-01 -3.116716e-01  3.284966e-04  1.137900e-04
+ 1.440100e-02  1.183316e-02 -2.369289e-01 -3.116456e-01  1.153736e-03  3.606762e-04
+ 1.440100e-02  1.200100e-02 -2.365475e-01 -3.114582e-01 -2.523521e-05  1.984532e-06
+ 1.440100e-02  1.216653e-02 -2.372898e-01 -3.116430e-01 -7.194691e-04 -2.430243e-04
+ 1.440100e-02  1.232983e-02 -2.379674e-01 -3.117852e-01  6.007828e-04  1.344043e-04
+ 1.440100e-02  1.249100e-02 -2.376791e-01 -3.116352e-01 -4.756565e-06  3.958394e-07
+ 1.440100e-02  1.265011e-02 -2.378008e-01 -3.115977e-01  9.305861e-04  3.599581e-04
+ 1.440100e-02  1.280725e-02 -2.376958e-01 -3.114766e-01 -2.376958e-01 -3.114766e-01
+ 1.440100e-02  1.296248e-02 -2.376803e-01 -3.114220e-01 -7.010407e-04 -2.167134e-04
+ 1.440100e-02  1.311588e-02 -2.376832e-01 -3.113676e-01  9.608041e-04  3.533397e-04
+ 1.440100e-02  1.326750e-02 -2.377480e-01 -3.113073e-01 -1.273582e-05 -3.630481e-05
+ 1.440100e-02  1.341741e-02 -2.377587e-01 -3.112401e-01  4.618179e-04  1.802032e-04
+ 1.440100e-02  1.356566e-02 -2.377650e-01 -3.111479e-01  2.641702e-06  5.256648e-05
+ 1.440100e-02  1.371231e-02 -2.377854e-01 -3.110670e-01 -8.051804e-05  3.031910e-05
+ 1.440100e-02  1.385741e-02 -2.378030e-01 -3.109914e-01  2.472419e-04  8.960898e-05
+ 1.440100e-02  1.400100e-02 -2.378159e-01 -3.109307e-01 -3.323036e-04 -5.899427e-05
+ 1.440100e-02  1.414314e-02 -2.378421e-01 -3.107988e-01  4.878739e-04  1.842780e-04
+ 1.440100e-02  1.428386e-02 -2.378645e-01 -3.107154e-01  5.312160e-04  8.717573e-05
+ 1.440100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.000000e-06 -2.325566e-01 -2.325566e-01 -7.324362e-09 -5.628138e-09
+ 1.448962e-02  2.001000e-03 -2.335875e-01 -3.122620e-01  3.194260e-08 -3.393072e-08
+ 1.448962e-02  2.829427e-03 -2.339218e-01 -3.123210e-01 -3.489473e-06 -3.819189e-06
+ 1.448962e-02  3.465102e-03 -2.341064e-01 -3.123269e-01  1.499564e-05  7.918063e-06
+ 1.448962e-02  4.001000e-03 -2.342777e-01 -3.123510e-01 -1.217894e-04 -4.707823e-05
+ 1.448962e-02  4.473136e-03 -2.345317e-01 -3.123892e-01 -2.891895e-05 -6.020399e-06
+ 1.448962e-02  4.899979e-03 -2.346861e-01 -3.123936e-01 -6.382328e-06 -1.067007e-06
+ 1.448962e-02  5.292503e-03 -2.348015e-01 -3.123907e-01 -8.445092e-07  3.677961e-08
+ 1.448962e-02  5.657854e-03 -2.349188e-01 -3.123859e-01  2.323909e-07  1.380775e-07
+ 1.448962e-02  6.001000e-03 -2.350246e-01 -3.123774e-01 -5.101573e-07 -5.136453e-08
+ 1.448962e-02  6.325555e-03 -2.351192e-01 -3.123649e-01  2.406250e-06  7.984965e-07
+ 1.448962e-02  6.634250e-03 -2.352076e-01 -3.123499e-01  2.230305e-06  7.523776e-07
+ 1.448962e-02  6.929203e-03 -2.353465e-01 -3.123513e-01 -1.334675e-06 -4.614527e-07
+ 1.448962e-02  7.212103e-03 -2.353998e-01 -3.123245e-01 -2.108926e-05 -7.002584e-06
+ 1.448962e-02  7.484315e-03 -2.354289e-01 -3.122887e-01  1.859344e-05  6.197349e-06
+ 1.448962e-02  7.746967e-03 -2.354995e-01 -3.122667e-01 -6.222226e-05 -2.104747e-05
+ 1.448962e-02  8.001000e-03 -2.354843e-01 -3.122153e-01 -1.863328e-06 -9.165417e-07
+ 1.448962e-02  8.247211e-03 -2.358321e-01 -3.122809e-01 -9.933657e-06 -3.062326e-06
+ 1.448962e-02  8.486281e-03 -2.358707e-01 -3.122461e-01  3.675334e-06  1.265017e-06
+ 1.448962e-02  8.718798e-03 -2.359623e-01 -3.122276e-01  2.066183e-05  7.067060e-06
+ 1.448962e-02  8.945272e-03 -2.360227e-01 -3.121981e-01  2.769765e-06  1.345007e-06
+ 1.448962e-02  9.166151e-03 -2.361312e-01 -3.121854e-01  5.287522e-05  1.742111e-05
+ 1.448962e-02  9.381832e-03 -2.361799e-01 -3.121503e-01 -8.573051e-06 -3.178739e-06
+ 1.448962e-02  9.592663e-03 -2.363411e-01 -3.121516e-01  1.469065e-04  4.542392e-05
+ 1.448962e-02  9.798959e-03 -2.364383e-01 -3.121286e-01 -6.165705e-05 -1.794930e-05
+ 1.448962e-02  1.000100e-02 -2.365390e-01 -3.121153e-01 -3.729485e-05 -1.426335e-05
+ 1.448962e-02  1.019904e-02 -2.365716e-01 -3.120715e-01 -2.247230e-04 -6.932993e-05
+ 1.448962e-02  1.039330e-02 -2.365095e-01 -3.119914e-01  2.491468e-05  8.124264e-06
+ 1.448962e-02  1.058401e-02 -2.364483e-01 -3.119248e-01  4.880979e-05  7.076559e-06
+ 1.448962e-02  1.077133e-02 -2.367404e-01 -3.119727e-01  1.964114e-04  1.506599e-04
+ 1.448962e-02  1.095545e-02 -2.367083e-01 -3.118761e-01 -2.186562e-04 -1.188955e-04
+ 1.448962e-02  1.113653e-02 -2.367812e-01 -3.118432e-01  5.856442e-05  2.643874e-05
+ 1.448962e-02  1.131471e-02 -2.368681e-01 -3.118228e-01  2.167265e-05  7.013634e-06
+ 1.448962e-02  1.149013e-02 -2.369349e-01 -3.117882e-01  3.245924e-04  1.112474e-04
+ 1.448962e-02  1.166290e-02 -2.376614e-01 -3.119762e-01 -6.702461e-05  5.936295e-06
+ 1.448962e-02  1.183316e-02 -2.371305e-01 -3.117352e-01  4.856080e-04  1.449583e-04
+ 1.448962e-02  1.200100e-02 -2.376872e-01 -3.118386e-01 -1.657892e-05 -3.572817e-05
+ 1.448962e-02  1.216653e-02 -2.381342e-01 -3.119283e-01  2.801497e-04  5.051242e-05
+ 1.448962e-02  1.232983e-02 -2.381551e-01 -3.118773e-01 -5.834489e-04 -1.576933e-04
+ 1.448962e-02  1.249100e-02 -2.377574e-01 -3.116758e-01  5.450184e-04  2.057844e-04
+ 1.448962e-02  1.265011e-02 -2.376807e-01 -3.115817e-01 -3.297548e-04 -8.634981e-05
+ 1.448962e-02  1.280725e-02 -2.376980e-01 -3.115073e-01  1.586845e-05  1.719929e-05
+ 1.448962e-02  1.296248e-02 -2.376901e-01 -3.114387e-01 -2.376901e-01 -3.114387e-01
+ 1.448962e-02  1.311588e-02 -2.377087e-01 -3.113971e-01  1.326031e-06 -7.228334e-06
+ 1.448962e-02  1.326750e-02 -2.378195e-01 -3.113605e-01  5.928288e-04  1.760665e-04
+ 1.448962e-02  1.341741e-02 -2.379044e-01 -3.113221e-01 -3.134120e-04 -1.120149e-04
+ 1.448962e-02  1.356566e-02 -2.379536e-01 -3.112425e-01  6.017295e-06 -5.021886e-05
+ 1.448962e-02  1.371231e-02 -2.378221e-01 -3.111223e-01 -2.595916e-05 -4.453223e-05
+ 1.448962e-02  1.385741e-02 -2.377837e-01 -3.110405e-01  5.389595e-07  2.784307e-05
+ 1.448962e-02  1.400100e-02 -2.377071e-01 -3.109528e-01  9.300981e-05  3.453003e-05
+ 1.448962e-02  1.414314e-02 -2.383681e-01 -3.110218e-01 -1.298758e-03 -3.167533e-04
+ 1.448962e-02  1.428386e-02 -2.383871e-01 -3.109428e-01  2.874327e-06  1.459577e-04
+ 1.448962e-02  1.442321e-02 -2.374253e-01 -3.105048e-01 -2.374253e-01 -3.105048e-01
+ 1.448962e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.448962e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.000000e-06 -2.328783e-01 -2.328783e-01  5.985612e-09  8.067765e-09
+ 1.457769e-02  2.001000e-03 -2.338781e-01 -3.123436e-01  1.922376e-07  4.019684e-07
+ 1.457769e-02  2.829427e-03 -2.341826e-01 -3.123921e-01  2.110450e-05  1.270712e-05
+ 1.457769e-02  3.465102e-03 -2.344324e-01 -3.124411e-01 -3.113553e-06 -7.767963e-07
+ 1.457769e-02  4.001000e-03 -2.346621e-01 -3.124659e-01 -2.224826e-05 -1.683347e-06
+ 1.457769e-02  4.473136e-03 -2.348096e-01 -3.124751e-01  2.672609e-06  1.866925e-07
+ 1.457769e-02  4.899979e-03 -2.349485e-01 -3.124792e-01 -1.049763e-07 -4.058507e-08
+ 1.457769e-02  5.292503e-03 -2.350732e-01 -3.124785e-01  1.611160e-09 -1.052484e-07
+ 1.457769e-02  5.657854e-03 -2.351835e-01 -3.124730e-01 -4.048348e-07 -1.115941e-07
+ 1.457769e-02  6.001000e-03 -2.353180e-01 -3.124749e-01 -4.398121e-05 -1.432491e-05
+ 1.457769e-02  6.325555e-03 -2.353704e-01 -3.124502e-01  7.901238e-06  2.376280e-06
+ 1.457769e-02  6.634250e-03 -2.354291e-01 -3.124270e-01  1.415429e-06  4.813332e-07
+ 1.457769e-02  6.929203e-03 -2.354636e-01 -3.123955e-01  2.465033e-04  7.799299e-05
+ 1.457769e-02  7.212103e-03 -2.357458e-01 -3.124421e-01 -3.811653e-05 -1.172791e-05
+ 1.457769e-02  7.484315e-03 -2.358025e-01 -3.124164e-01  4.524962e-05  1.448076e-05
+ 1.457769e-02  7.746967e-03 -2.358942e-01 -3.124010e-01 -8.008938e-06 -2.569672e-06
+ 1.457769e-02  8.001000e-03 -2.359657e-01 -3.123790e-01  2.498491e-06  9.902971e-07
+ 1.457769e-02  8.247211e-03 -2.360418e-01 -3.123576e-01 -2.767277e-06 -1.235420e-06
+ 1.457769e-02  8.486281e-03 -2.361992e-01 -3.123615e-01 -7.689968e-05 -2.388969e-05
+ 1.457769e-02  8.718798e-03 -2.362707e-01 -3.123363e-01  1.632462e-05  4.740387e-06
+ 1.457769e-02  8.945272e-03 -2.363001e-01 -3.122984e-01 -4.151934e-05 -1.252339e-05
+ 1.457769e-02  9.166151e-03 -2.363193e-01 -3.122569e-01 -7.360888e-05 -2.208637e-05
+ 1.457769e-02  9.381832e-03 -2.363415e-01 -3.122154e-01 -7.994471e-05 -2.438306e-05
+ 1.457769e-02  9.592663e-03 -2.363591e-01 -3.121717e-01  1.116662e-04  3.665800e-05
+ 1.457769e-02  9.798959e-03 -2.365751e-01 -3.121919e-01 -7.494169e-05 -2.692622e-05
+ 1.457769e-02  1.000100e-02 -2.364537e-01 -3.120986e-01  1.447044e-05  1.119104e-06
+ 1.457769e-02  1.019904e-02 -2.367027e-01 -3.121310e-01 -2.028002e-05 -1.020535e-05
+ 1.457769e-02  1.039330e-02 -2.367963e-01 -3.121194e-01 -3.984087e-07 -1.253433e-05
+ 1.457769e-02  1.058401e-02 -2.368980e-01 -3.120955e-01  3.456058e-04  2.008752e-04
+ 1.457769e-02  1.077133e-02 -2.368672e-01 -3.120061e-01 -5.447661e-04 -2.724441e-04
+ 1.457769e-02  1.095545e-02 -2.369309e-01 -3.119659e-01  8.495829e-05  3.801895e-05
+ 1.457769e-02  1.113653e-02 -2.370562e-01 -3.119609e-01  2.392875e-05  8.901288e-06
+ 1.457769e-02  1.131471e-02 -2.380142e-01 -3.122154e-01  1.526432e-04  4.623281e-05
+ 1.457769e-02  1.149013e-02 -2.376087e-01 -3.120302e-01  2.000329e-05  1.147713e-05
+ 1.457769e-02  1.166290e-02 -2.375969e-01 -3.119693e-01  1.513933e-04  2.675266e-05
+ 1.457769e-02  1.183316e-02 -2.376102e-01 -3.119144e-01  9.349324e-06  2.595419e-06
+ 1.457769e-02  1.200100e-02 -2.376237e-01 -3.118574e-01  5.614160e-06 -2.446060e-09
+ 1.457769e-02  1.216653e-02 -2.376399e-01 -3.117921e-01  2.759469e-04  6.218748e-05
+ 1.457769e-02  1.232983e-02 -2.376603e-01 -3.117298e-01 -3.174994e-05  6.652060e-07
+ 1.457769e-02  1.249100e-02 -2.376596e-01 -3.116616e-01  1.481497e-05  4.339739e-06
+ 1.457769e-02  1.265011e-02 -2.376763e-01 -3.116018e-01 -1.847755e-06  9.631066e-07
+ 1.457769e-02  1.280725e-02 -2.376898e-01 -3.115343e-01  1.760150e-04  7.393199e-05
+ 1.457769e-02  1.296248e-02 -2.377020e-01 -3.114555e-01 -3.722965e-06  4.723771e-05
+ 1.457769e-02  1.311588e-02 -2.377964e-01 -3.114405e-01  8.813790e-04  2.845962e-04
+ 1.457769e-02  1.326750e-02 -2.372063e-01 -3.111977e-01 -6.747674e-04 -2.208114e-04
+ 1.457769e-02  1.341741e-02 -2.379086e-01 -3.113609e-01 -1.751780e-03 -5.434010e-04
+ 1.457769e-02  1.356566e-02 -2.378431e-01 -3.112558e-01 -8.147790e-04 -2.395003e-04
+ 1.457769e-02  1.371231e-02 -2.384449e-01 -3.113470e-01 -2.384449e-01 -3.113470e-01
+ 1.457769e-02  1.385741e-02 -2.384803e-01 -3.113245e-01 -1.649365e-04 -5.745665e-05
+ 1.457769e-02  1.400100e-02 -2.374516e-01 -3.108973e-01 -2.094428e-04 -1.047323e-04
+ 1.457769e-02  1.414314e-02 -2.372168e-01 -3.107577e-01 -2.372168e-01 -3.107577e-01
+ 1.457769e-02  1.428386e-02 -2.376791e-01 -3.107598e-01 -2.284409e-04 -7.394382e-06
+ 1.457769e-02  1.442321e-02 -2.375818e-01 -3.105132e-01  3.045935e-04  1.696917e-04
+ 1.457769e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.457769e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.000000e-06 -2.331977e-01 -2.331977e-01 -6.461878e-09 -1.320790e-08
+ 1.466524e-02  2.001000e-03 -2.341638e-01 -3.124231e-01  6.454051e-08  2.460094e-08
+ 1.466524e-02  2.829427e-03 -2.345006e-01 -3.124963e-01  1.107847e-05  4.762138e-07
+ 1.466524e-02  3.465102e-03 -2.347444e-01 -3.125297e-01 -1.817735e-06  4.136208e-07
+ 1.466524e-02  4.001000e-03 -2.349246e-01 -3.125507e-01 -5.627136e-08  7.658256e-08
+ 1.466524e-02  4.473136e-03 -2.350818e-01 -3.125617e-01 -3.899222e-07  5.210581e-08
+ 1.466524e-02  4.899979e-03 -2.352167e-01 -3.125657e-01  2.174140e-06  6.649551e-07
+ 1.466524e-02  5.292503e-03 -2.353316e-01 -3.125631e-01 -3.254032e-06 -9.803779e-07
+ 1.466524e-02  5.657854e-03 -2.354281e-01 -3.125548e-01 -6.110977e-06 -2.313546e-06
+ 1.466524e-02  6.001000e-03 -2.355580e-01 -3.125572e-01 -1.489678e-05 -5.531663e-06
+ 1.466524e-02  6.325555e-03 -2.357068e-01 -3.125620e-01 -1.539471e-06 -3.883268e-08
+ 1.466524e-02  6.634250e-03 -2.357979e-01 -3.125496e-01  2.827583e-06  8.240245e-07
+ 1.466524e-02  6.929203e-03 -2.358825e-01 -3.125350e-01  1.846308e-06  1.003248e-06
+ 1.466524e-02  7.212103e-03 -2.359741e-01 -3.125221e-01 -8.916593e-06 -3.024868e-06
+ 1.466524e-02  7.484315e-03 -2.360859e-01 -3.125140e-01 -2.344682e-05 -8.094376e-06
+ 1.466524e-02  7.746967e-03 -2.361467e-01 -3.124901e-01 -7.074077e-06 -2.290236e-06
+ 1.466524e-02  8.001000e-03 -2.361752e-01 -3.124558e-01  2.306627e-05  6.537752e-06
+ 1.466524e-02  8.247211e-03 -2.362218e-01 -3.124268e-01  3.047319e-05  8.722734e-06
+ 1.466524e-02  8.486281e-03 -2.363006e-01 -3.124065e-01  2.400643e-05  7.089040e-06
+ 1.466524e-02  8.718798e-03 -2.363846e-01 -3.123865e-01  1.529838e-05  5.095198e-06
+ 1.466524e-02  8.945272e-03 -2.365542e-01 -3.123967e-01  8.873915e-05  3.129272e-05
+ 1.466524e-02  9.166151e-03 -2.365173e-01 -3.123335e-01  1.011906e-05  2.765513e-06
+ 1.466524e-02  9.381832e-03 -2.365140e-01 -3.122803e-01  1.338620e-04  4.938825e-05
+ 1.466524e-02  9.592663e-03 -2.367337e-01 -3.123078e-01 -1.327093e-06 -2.211831e-07
+ 1.466524e-02  9.798959e-03 -2.368104e-01 -3.122827e-01  4.213708e-05  1.445295e-05
+ 1.466524e-02  1.000100e-02 -2.369022e-01 -3.122638e-01 -2.189355e-06  6.652262e-07
+ 1.466524e-02  1.019904e-02 -2.369884e-01 -3.122464e-01  4.730572e-05  6.751771e-06
+ 1.466524e-02  1.039330e-02 -2.370893e-01 -3.122259e-01  4.981568e-04  1.895931e-04
+ 1.466524e-02  1.058401e-02 -2.370533e-01 -3.121350e-01 -6.155072e-04 -3.075102e-04
+ 1.466524e-02  1.077133e-02 -2.378719e-01 -3.123579e-01 -3.267131e-04 -1.035671e-04
+ 1.466524e-02  1.095545e-02 -2.375866e-01 -3.122051e-01 -3.461478e-05 -1.230529e-05
+ 1.466524e-02  1.113653e-02 -2.375646e-01 -3.121405e-01  1.236279e-05 -1.687074e-06
+ 1.466524e-02  1.131471e-02 -2.375755e-01 -3.120892e-01 -6.809399e-06  1.378224e-06
+ 1.466524e-02  1.149013e-02 -2.375958e-01 -3.120407e-01  6.570015e-04  2.129800e-04
+ 1.466524e-02  1.166290e-02 -2.376055e-01 -3.119834e-01 -1.499695e-04 -3.700942e-05
+ 1.466524e-02  1.183316e-02 -2.376111e-01 -3.119257e-01  1.179207e-05  1.113843e-05
+ 1.466524e-02  1.200100e-02 -2.376080e-01 -3.118653e-01  1.012492e-03  2.888891e-04
+ 1.466524e-02  1.216653e-02 -2.376338e-01 -3.118106e-01  3.087938e-06  1.193350e-06
+ 1.466524e-02  1.232983e-02 -2.374044e-01 -3.116699e-01  5.274209e-04  1.673434e-04
+ 1.466524e-02  1.249100e-02 -2.374583e-01 -3.116262e-01 -6.090060e-06  2.573853e-05
+ 1.466524e-02  1.265011e-02 -2.376784e-01 -3.116298e-01  4.837905e-04  1.522503e-04
+ 1.466524e-02  1.280725e-02 -2.376738e-01 -3.115664e-01  1.205859e-03  3.981448e-04
+ 1.466524e-02  1.296248e-02 -2.372807e-01 -3.113656e-01  4.328172e-04  1.113481e-04
+ 1.466524e-02  1.311588e-02 -2.381872e-01 -3.115879e-01 -4.621807e-04 -1.574871e-04
+ 1.466524e-02  1.326750e-02 -2.382830e-01 -3.115492e-01 -7.337372e-04 -2.199191e-04
+ 1.466524e-02  1.341741e-02 -2.383230e-01 -3.115148e-01  2.462153e-04  8.606162e-05
+ 1.466524e-02  1.356566e-02 -2.382678e-01 -3.114139e-01  5.208721e-04  8.499799e-05
+ 1.466524e-02  1.371231e-02 -2.378120e-01 -3.111892e-01  2.104250e-04  4.702219e-05
+ 1.466524e-02  1.385741e-02 -2.377359e-01 -3.110661e-01  4.019475e-05 -8.333790e-06
+ 1.466524e-02  1.400100e-02 -2.372167e-01 -3.108626e-01  6.942912e-04  2.006347e-04
+ 1.466524e-02  1.414314e-02 -2.372543e-01 -3.107664e-01  4.538490e-05 -5.281849e-05
+ 1.466524e-02  1.428386e-02 -2.376863e-01 -3.108077e-01  6.829385e-04 -5.118724e-05
+ 1.466524e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.466524e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.000000e-06 -2.335141e-01 -2.335141e-01 -9.091791e-09 -9.742296e-09
+ 1.475227e-02  2.001000e-03 -2.344619e-01 -3.125170e-01  4.606629e-06 -6.244324e-07
+ 1.475227e-02  2.829427e-03 -2.347892e-01 -3.125798e-01  4.277892e-07 -1.599110e-07
+ 1.475227e-02  3.465102e-03 -2.350168e-01 -3.126165e-01  1.702841e-07 -9.934234e-08
+ 1.475227e-02  4.001000e-03 -2.351990e-01 -3.126372e-01  2.721413e-07  8.635972e-08
+ 1.475227e-02  4.473136e-03 -2.353433e-01 -3.126458e-01  3.474115e-06  8.177201e-07
+ 1.475227e-02  4.899979e-03 -2.354434e-01 -3.126399e-01  1.182990e-05  3.844961e-06
+ 1.475227e-02  5.292503e-03 -2.356485e-01 -3.126660e-01  3.625197e-06  1.557897e-06
+ 1.475227e-02  5.657854e-03 -2.357515e-01 -3.126601e-01  6.995517e-07  3.354960e-07
+ 1.475227e-02  6.001000e-03 -2.358525e-01 -3.126532e-01  7.914450e-07  1.149949e-07
+ 1.475227e-02  6.325555e-03 -2.359630e-01 -3.126486e-01  8.038651e-07  2.283964e-07
+ 1.475227e-02  6.634250e-03 -2.360398e-01 -3.126326e-01 -2.350346e-05 -6.807435e-06
+ 1.475227e-02  6.929203e-03 -2.360988e-01 -3.126116e-01 -3.002059e-06 -2.850310e-07
+ 1.475227e-02  7.212103e-03 -2.361854e-01 -3.125977e-01  3.826914e-06  1.089694e-06
+ 1.475227e-02  7.484315e-03 -2.362679e-01 -3.125818e-01 -1.690000e-07 -6.793297e-08
+ 1.475227e-02  7.746967e-03 -2.363392e-01 -3.125618e-01  2.482631e-06  6.497107e-07
+ 1.475227e-02  8.001000e-03 -2.364460e-01 -3.125525e-01 -6.750230e-05 -2.228624e-05
+ 1.475227e-02  8.247211e-03 -2.364980e-01 -3.125250e-01 -6.932366e-06 -2.532889e-06
+ 1.475227e-02  8.486281e-03 -2.365361e-01 -3.124907e-01  1.963265e-05  7.483458e-06
+ 1.475227e-02  8.718798e-03 -2.366439e-01 -3.124816e-01  4.502039e-05  1.537331e-05
+ 1.475227e-02  8.945272e-03 -2.367505e-01 -3.124699e-01 -5.240947e-07  5.105854e-08
+ 1.475227e-02  9.166151e-03 -2.368406e-01 -3.124520e-01 -2.077666e-07  8.369438e-08
+ 1.475227e-02  9.381832e-03 -2.368883e-01 -3.124193e-01 -5.853101e-07 -1.345622e-07
+ 1.475227e-02  9.592663e-03 -2.369173e-01 -3.123799e-01  6.589225e-05  2.279587e-05
+ 1.475227e-02  9.798959e-03 -2.371507e-01 -3.124117e-01 -6.820421e-05 -2.681234e-05
+ 1.475227e-02  1.000100e-02 -2.376161e-01 -3.125111e-01 -1.276393e-04 -2.149857e-05
+ 1.475227e-02  1.019904e-02 -2.374998e-01 -3.124107e-01  4.883377e-04  1.494067e-04
+ 1.475227e-02  1.039330e-02 -2.375303e-01 -3.123635e-01 -8.610454e-06 -7.699964e-07
+ 1.475227e-02  1.058401e-02 -2.375338e-01 -3.123132e-01 -5.479966e-05 -1.695862e-05
+ 1.475227e-02  1.077133e-02 -2.375409e-01 -3.122605e-01  5.539790e-07  3.899179e-07
+ 1.475227e-02  1.095545e-02 -2.375545e-01 -3.122077e-01  7.774745e-06  4.790109e-07
+ 1.475227e-02  1.113653e-02 -2.375652e-01 -3.121523e-01  7.972491e-05  3.251879e-05
+ 1.475227e-02  1.131471e-02 -2.375777e-01 -3.121003e-01 -1.583882e-06  5.641772e-06
+ 1.475227e-02  1.149013e-02 -2.375902e-01 -3.120499e-01 -9.888068e-07  5.386149e-06
+ 1.475227e-02  1.166290e-02 -2.376027e-01 -3.119977e-01 -6.189410e-06 -3.829744e-06
+ 1.475227e-02  1.183316e-02 -2.376092e-01 -3.119398e-01  1.947506e-05  6.745268e-06
+ 1.475227e-02  1.200100e-02 -2.376121e-01 -3.118803e-01  3.954569e-04  1.496875e-04
+ 1.475227e-02  1.216653e-02 -2.376343e-01 -3.118215e-01  6.305426e-07  1.509164e-06
+ 1.475227e-02  1.232983e-02 -2.376537e-01 -3.117670e-01 -4.256462e-04 -1.076723e-04
+ 1.475227e-02  1.249100e-02 -2.376501e-01 -3.117051e-01 -4.841865e-06  3.421619e-05
+ 1.475227e-02  1.265011e-02 -2.376647e-01 -3.116473e-01  6.489307e-06 -1.506360e-05
+ 1.475227e-02  1.280725e-02 -2.376961e-01 -3.115977e-01 -1.069383e-03 -3.493722e-04
+ 1.475227e-02  1.296248e-02 -2.374352e-01 -3.114351e-01  2.529044e-04  7.663542e-05
+ 1.475227e-02  1.311588e-02 -2.380151e-01 -3.115513e-01  8.563869e-04  2.842031e-04
+ 1.475227e-02  1.326750e-02 -2.380482e-01 -3.114996e-01 -3.663301e-04 -9.818087e-05
+ 1.475227e-02  1.341741e-02 -2.378282e-01 -3.113710e-01 -1.021633e-04 -6.109030e-05
+ 1.475227e-02  1.356566e-02 -2.378116e-01 -3.112750e-01 -7.319465e-05 -1.250687e-05
+ 1.475227e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.385741e-02 -2.378398e-01 -3.111250e-01 -5.426363e-05 -9.552791e-05
+ 1.475227e-02  1.400100e-02 -2.381928e-01 -3.111473e-01 -4.089772e-04 -1.007014e-04
+ 1.475227e-02  1.414314e-02 -2.380442e-01 -3.110017e-01  4.373632e-04  1.484255e-04
+ 1.475227e-02  1.428386e-02 -2.377547e-01 -3.108024e-01  5.427178e-05 -1.771269e-04
+ 1.475227e-02  1.442321e-02 -2.378540e-01 -3.107028e-01 -2.378540e-01 -3.107028e-01
+ 1.475227e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.475227e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.000000e-06 -2.338272e-01 -2.338272e-01 -5.111693e-08 -4.878256e-08
+ 1.483879e-02  2.001000e-03 -2.347523e-01 -3.126005e-01 -1.566963e-06  2.308727e-06
+ 1.483879e-02  2.829427e-03 -2.350693e-01 -3.126676e-01  1.934261e-08 -4.018406e-08
+ 1.483879e-02  3.465102e-03 -2.352955e-01 -3.127040e-01  2.176917e-06  5.109600e-07
+ 1.483879e-02  4.001000e-03 -2.354479e-01 -3.127166e-01  1.545284e-05  5.324750e-06
+ 1.483879e-02  4.473136e-03 -2.356430e-01 -3.127417e-01  1.061043e-06  6.039237e-07
+ 1.483879e-02  4.899979e-03 -2.357746e-01 -3.127467e-01 -4.044034e-08  1.391623e-08
+ 1.483879e-02  5.292503e-03 -2.358985e-01 -3.127489e-01 -3.969917e-06 -1.327710e-06
+ 1.483879e-02  5.657854e-03 -2.359955e-01 -3.127420e-01 -2.504422e-06 -6.333672e-07
+ 1.483879e-02  6.001000e-03 -2.360945e-01 -3.127353e-01 -5.456006e-07 -1.929366e-07
+ 1.483879e-02  6.325555e-03 -2.361904e-01 -3.127271e-01 -9.437060e-08  9.760801e-08
+ 1.483879e-02  6.634250e-03 -2.362775e-01 -3.127155e-01 -4.636679e-07 -7.308380e-07
+ 1.483879e-02  6.929203e-03 -2.363758e-01 -3.127067e-01 -1.506642e-05 -5.089051e-06
+ 1.483879e-02  7.212103e-03 -2.364438e-01 -3.126875e-01  7.738999e-08 -2.461533e-07
+ 1.483879e-02  7.484315e-03 -2.365168e-01 -3.126692e-01  8.750216e-07  4.593065e-07
+ 1.483879e-02  7.746967e-03 -2.365439e-01 -3.126340e-01  1.002598e-04  3.554521e-05
+ 1.483879e-02  8.001000e-03 -2.367112e-01 -3.126476e-01 -7.566374e-06 -2.510293e-06
+ 1.483879e-02  8.247211e-03 -2.367762e-01 -3.126246e-01  2.115792e-05  6.619332e-06
+ 1.483879e-02  8.486281e-03 -2.368328e-01 -3.125988e-01  1.039765e-05  3.411808e-06
+ 1.483879e-02  8.718798e-03 -2.369176e-01 -3.125810e-01  5.315153e-07  4.054416e-07
+ 1.483879e-02  8.945272e-03 -2.370426e-01 -3.125769e-01  1.770781e-05  6.022079e-06
+ 1.483879e-02  9.166151e-03 -2.371112e-01 -3.125523e-01 -3.017596e-05 -1.008117e-05
+ 1.483879e-02  9.381832e-03 -2.374292e-01 -3.126168e-01  3.172859e-04  1.026436e-04
+ 1.483879e-02  9.592663e-03 -2.374748e-01 -3.125834e-01  1.795038e-05  2.254524e-06
+ 1.483879e-02  9.798959e-03 -2.374981e-01 -3.125399e-01 -5.632047e-06 -1.677970e-05
+ 1.483879e-02  1.000100e-02 -2.375028e-01 -3.124788e-01  9.722805e-06 -2.658464e-05
+ 1.483879e-02  1.019904e-02 -2.375145e-01 -3.124191e-01  1.293804e-06 -6.831560e-06
+ 1.483879e-02  1.039330e-02 -2.375244e-01 -3.123685e-01 -6.975981e-07 -5.646492e-07
+ 1.483879e-02  1.058401e-02 -2.375330e-01 -3.123215e-01  2.095348e-06 -4.672744e-07
+ 1.483879e-02  1.077133e-02 -2.375425e-01 -3.122716e-01  2.657811e-06 -3.797329e-07
+ 1.483879e-02  1.095545e-02 -2.375536e-01 -3.122187e-01  1.440186e-06  5.050544e-07
+ 1.483879e-02  1.113653e-02 -2.375665e-01 -3.121653e-01  8.013936e-07 -5.297545e-07
+ 1.483879e-02  1.131471e-02 -2.375786e-01 -3.121129e-01  2.753342e-06 -1.601340e-05
+ 1.483879e-02  1.149013e-02 -2.375887e-01 -3.120618e-01 -1.343834e-06  1.776850e-06
+ 1.483879e-02  1.166290e-02 -2.376007e-01 -3.120095e-01 -8.299889e-07 -3.247830e-06
+ 1.483879e-02  1.183316e-02 -2.376113e-01 -3.119527e-01 -8.796627e-07 -1.725128e-07
+ 1.483879e-02  1.200100e-02 -2.376181e-01 -3.118929e-01 -2.161620e-07 -3.757705e-07
+ 1.483879e-02  1.216653e-02 -2.376334e-01 -3.118353e-01  2.327625e-06 -3.359050e-06
+ 1.483879e-02  1.232983e-02 -2.376461e-01 -3.117741e-01 -5.192595e-06 -2.357168e-05
+ 1.483879e-02  1.249100e-02 -2.376530e-01 -3.117198e-01 -6.367346e-04 -1.889347e-04
+ 1.483879e-02  1.265011e-02 -2.376660e-01 -3.116649e-01 -6.109544e-04 -1.915874e-04
+ 1.483879e-02  1.280725e-02 -2.376745e-01 -3.116045e-01  3.937980e-04  1.297427e-04
+ 1.483879e-02  1.296248e-02 -2.377175e-01 -3.115383e-01  1.142416e-03  3.831451e-04
+ 1.483879e-02  1.311588e-02 -2.378124e-01 -3.114852e-01 -8.753506e-04 -2.897379e-04
+ 1.483879e-02  1.326750e-02 -2.377309e-01 -3.114108e-01 -1.032758e-05  9.030618e-06
+ 1.483879e-02  1.341741e-02 -2.377339e-01 -3.113427e-01 -9.738276e-06 -1.335475e-07
+ 1.483879e-02  1.356566e-02 -2.377644e-01 -3.112747e-01 -4.309582e-04 -1.302574e-04
+ 1.483879e-02  1.371231e-02 -2.379608e-01 -3.112848e-01 -1.996912e-04 -8.649342e-05
+ 1.483879e-02  1.385741e-02 -2.377333e-01 -3.111008e-01  9.979648e-04  3.734164e-04
+ 1.483879e-02  1.400100e-02 -2.378073e-01 -3.110421e-01  1.290982e-03  3.271078e-04
+ 1.483879e-02  1.414314e-02 -2.382434e-01 -3.110854e-01  6.360187e-05  4.664274e-05
+ 1.483879e-02  1.428386e-02 -2.379061e-01 -3.109081e-01  4.131598e-04  1.210534e-04
+ 1.483879e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.483879e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.000000e-06 -2.341365e-01 -2.341365e-01  6.037027e-07  6.167196e-07
+ 1.492481e-02  2.001000e-03 -2.350391e-01 -3.126896e-01  5.717786e-08 -1.593415e-07
+ 1.492481e-02  2.829427e-03 -2.353476e-01 -3.127546e-01  4.136980e-07 -6.304000e-09
+ 1.492481e-02  3.465102e-03 -2.355896e-01 -3.127958e-01  1.738100e-07  8.542649e-07
+ 1.492481e-02  4.001000e-03 -2.357561e-01 -3.128148e-01  4.974798e-08 -1.657707e-07
+ 1.492481e-02  4.473136e-03 -2.359053e-01 -3.128267e-01 -5.935281e-06 -1.605975e-06
+ 1.492481e-02  4.899979e-03 -2.360336e-01 -3.128317e-01  3.736719e-07  2.446856e-07
+ 1.492481e-02  5.292503e-03 -2.361509e-01 -3.128328e-01 -2.110663e-07 -6.176196e-08
+ 1.492481e-02  5.657854e-03 -2.362561e-01 -3.128294e-01  7.329288e-08 -9.331550e-09
+ 1.492481e-02  6.001000e-03 -2.363612e-01 -3.128250e-01 -1.707009e-05 -5.519220e-06
+ 1.492481e-02  6.325555e-03 -2.364441e-01 -3.128131e-01  1.283833e-06  3.956008e-07
+ 1.492481e-02  6.634250e-03 -2.365262e-01 -3.128004e-01 -9.664923e-07 -2.157300e-07
+ 1.492481e-02  6.929203e-03 -2.365875e-01 -3.127801e-01  5.341045e-05  1.868884e-05
+ 1.492481e-02  7.212103e-03 -2.367236e-01 -3.127847e-01  2.345310e-06  7.564884e-07
+ 1.492481e-02  7.484315e-03 -2.367895e-01 -3.127651e-01  4.158001e-07  8.801119e-08
+ 1.492481e-02  7.746967e-03 -2.368674e-01 -3.127485e-01  1.592201e-07  2.009359e-07
+ 1.492481e-02  8.001000e-03 -2.369329e-01 -3.127272e-01  7.900325e-05  2.660550e-05
+ 1.492481e-02  8.247211e-03 -2.370386e-01 -3.127200e-01  5.088362e-05  1.365985e-05
+ 1.492481e-02  8.486281e-03 -2.372628e-01 -3.127510e-01  1.892521e-04  6.143109e-05
+ 1.492481e-02  8.718798e-03 -2.374230e-01 -3.127547e-01  6.934938e-06 -2.421111e-06
+ 1.492481e-02  8.945272e-03 -2.374541e-01 -3.127184e-01  3.571440e-06  1.861800e-06
+ 1.492481e-02  9.166151e-03 -2.374652e-01 -3.126748e-01 -3.808131e-06  3.892220e-07
+ 1.492481e-02  9.381832e-03 -2.374732e-01 -3.126325e-01 -6.849685e-06 -4.202251e-06
+ 1.492481e-02  9.592663e-03 -2.374814e-01 -3.125918e-01  5.868563e-06 -7.671602e-06
+ 1.492481e-02  9.798959e-03 -2.374896e-01 -3.125462e-01  5.937455e-06 -1.479545e-05
+ 1.492481e-02  1.000100e-02 -2.375003e-01 -3.124892e-01  6.451592e-06 -3.241972e-05
+ 1.492481e-02  1.019904e-02 -2.375135e-01 -3.124292e-01  2.313063e-06 -9.850909e-06
+ 1.492481e-02  1.039330e-02 -2.375243e-01 -3.123778e-01  9.319260e-07  1.176104e-06
+ 1.492481e-02  1.058401e-02 -2.375325e-01 -3.123311e-01  2.278067e-06  1.065651e-06
+ 1.492481e-02  1.077133e-02 -2.375417e-01 -3.122821e-01  2.295935e-06 -1.758569e-09
+ 1.492481e-02  1.095545e-02 -2.375527e-01 -3.122304e-01  7.647053e-07  4.087032e-07
+ 1.492481e-02  1.113653e-02 -2.375644e-01 -3.121783e-01 -3.109171e-07 -1.324732e-06
+ 1.492481e-02  1.131471e-02 -2.375738e-01 -3.121267e-01  2.743077e-06 -1.381137e-05
+ 1.492481e-02  1.149013e-02 -2.375848e-01 -3.120756e-01 -1.133015e-06  9.158575e-06
+ 1.492481e-02  1.166290e-02 -2.375976e-01 -3.120223e-01 -1.968921e-06  5.060095e-07
+ 1.492481e-02  1.183316e-02 -2.376062e-01 -3.119638e-01 -5.384869e-06 -9.588951e-07
+ 1.492481e-02  1.200100e-02 -2.376168e-01 -3.119057e-01 -1.805553e-05  5.703134e-06
+ 1.492481e-02  1.216653e-02 -2.376314e-01 -3.118469e-01  5.927113e-06  6.161708e-06
+ 1.492481e-02  1.232983e-02 -2.376438e-01 -3.117911e-01  2.990344e-06 -2.243576e-05
+ 1.492481e-02  1.249100e-02 -2.376539e-01 -3.117418e-01  6.564031e-04  1.968581e-04
+ 1.492481e-02  1.265011e-02 -2.374817e-01 -3.116263e-01  1.131923e-03  3.880564e-04
+ 1.492481e-02  1.280725e-02 -2.378627e-01 -3.116821e-01  6.205295e-04  1.561755e-04
+ 1.492481e-02  1.296248e-02 -2.382455e-01 -3.117379e-01 -5.904328e-04 -1.391410e-04
+ 1.492481e-02  1.311588e-02 -2.368848e-01 -3.112330e-01  6.803723e-04  2.427272e-04
+ 1.492481e-02  1.326750e-02 -2.370721e-01 -3.112369e-01 -4.691408e-04 -1.437755e-04
+ 1.492481e-02  1.341741e-02 -2.378342e-01 -3.113951e-01 -3.803392e-04 -1.116221e-04
+ 1.492481e-02  1.356566e-02 -2.374978e-01 -3.112339e-01  2.352834e-04  8.562342e-05
+ 1.492481e-02  1.371231e-02 -2.387501e-01 -3.115634e-01 -2.387501e-01 -3.115634e-01
+ 1.492481e-02  1.385741e-02 -2.381598e-01 -3.112847e-01 -3.966291e-04 -1.193042e-04
+ 1.492481e-02  1.400100e-02 -2.384043e-01 -3.113153e-01  4.155477e-04  7.998289e-05
+ 1.492481e-02  1.414314e-02 -2.383823e-01 -3.111295e-01  6.802836e-04  2.402875e-04
+ 1.492481e-02  1.428386e-02 -2.383508e-01 -3.109711e-01  3.235490e-05  1.231247e-04
+ 1.492481e-02  1.442321e-02 -2.383176e-01 -3.108023e-01 -3.900870e-04 -6.891352e-05
+ 1.492481e-02  1.456122e-02 -2.374841e-01 -3.104928e-01  3.765571e-04  2.282310e-05
+ 1.492481e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.492481e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.000000e-06 -2.344453e-01 -2.344453e-01  3.167531e-06  3.162366e-06
+ 1.501033e-02  2.001000e-03 -2.353242e-01 -3.127777e-01 -3.262008e-07 -1.416039e-07
+ 1.501033e-02  2.829427e-03 -2.356347e-01 -3.128440e-01  5.491998e-07  2.587829e-07
+ 1.501033e-02  3.465102e-03 -2.358525e-01 -3.128803e-01  1.656897e-06  4.260340e-07
+ 1.501033e-02  4.001000e-03 -2.360255e-01 -3.129014e-01  3.316906e-08 -2.944481e-07
+ 1.501033e-02  4.473136e-03 -2.361718e-01 -3.129138e-01 -4.193625e-08 -5.352145e-07
+ 1.501033e-02  4.899979e-03 -2.362999e-01 -3.129191e-01 -4.197951e-07 -3.570161e-07
+ 1.501033e-02  5.292503e-03 -2.364120e-01 -3.129189e-01  5.373043e-08 -4.713889e-08
+ 1.501033e-02  5.657854e-03 -2.365138e-01 -3.129150e-01 -1.385154e-06 -4.890329e-07
+ 1.501033e-02  6.001000e-03 -2.365994e-01 -3.129053e-01 -1.154294e-05 -4.019781e-06
+ 1.501033e-02  6.325555e-03 -2.367223e-01 -3.129075e-01 -6.667141e-06 -2.150915e-06
+ 1.501033e-02  6.634250e-03 -2.367987e-01 -3.128940e-01 -1.007312e-05 -2.499530e-06
+ 1.501033e-02  6.929203e-03 -2.368822e-01 -3.128820e-01  4.133722e-06  9.166482e-07
+ 1.501033e-02  7.212103e-03 -2.369879e-01 -3.128771e-01  1.388494e-07 -9.196183e-08
+ 1.501033e-02  7.484315e-03 -2.370812e-01 -3.128664e-01 -9.896848e-07  1.645445e-07
+ 1.501033e-02  7.746967e-03 -2.374675e-01 -3.129500e-01  5.029429e-05  1.695892e-05
+ 1.501033e-02  8.001000e-03 -2.374008e-01 -3.128843e-01  1.899484e-05  6.269719e-06
+ 1.501033e-02  8.247211e-03 -2.374248e-01 -3.128476e-01  1.094594e-05  3.484459e-06
+ 1.501033e-02  8.486281e-03 -2.374397e-01 -3.128085e-01  1.628528e-06 -2.166203e-06
+ 1.501033e-02  8.718798e-03 -2.374501e-01 -3.127676e-01 -2.555928e-06 -6.148608e-07
+ 1.501033e-02  8.945272e-03 -2.374580e-01 -3.127245e-01 -7.423872e-06 -2.181421e-06
+ 1.501033e-02  9.166151e-03 -2.374646e-01 -3.126806e-01 -1.160132e-06 -7.219390e-08
+ 1.501033e-02  9.381832e-03 -2.374723e-01 -3.126388e-01  4.012625e-06 -2.453926e-06
+ 1.501033e-02  9.592663e-03 -2.374813e-01 -3.125996e-01  4.405947e-06 -1.004118e-05
+ 1.501033e-02  9.798959e-03 -2.374903e-01 -3.125566e-01  2.122979e-06 -1.052141e-05
+ 1.501033e-02  1.000100e-02 -2.374999e-01 -3.125022e-01 -1.085055e-05  4.963647e-05
+ 1.501033e-02  1.019904e-02 -2.375125e-01 -3.124421e-01 -1.657294e-06 -3.635847e-06
+ 1.501033e-02  1.039330e-02 -2.375239e-01 -3.123894e-01 -4.123958e-06  5.335034e-06
+ 1.501033e-02  1.058401e-02 -2.375312e-01 -3.123425e-01  2.556554e-07  4.956561e-06
+ 1.501033e-02  1.077133e-02 -2.375400e-01 -3.122943e-01  7.627749e-06  5.089932e-06
+ 1.501033e-02  1.095545e-02 -2.375556e-01 -3.122450e-01  2.443318e-06  5.029330e-06
+ 1.501033e-02  1.113653e-02 -2.375692e-01 -3.121954e-01 -9.032207e-06 -1.371097e-05
+ 1.501033e-02  1.131471e-02 -2.375756e-01 -3.121449e-01 -1.214682e-05 -7.798228e-06
+ 1.501033e-02  1.149013e-02 -2.375938e-01 -3.120951e-01  3.733736e-07 -3.696091e-06
+ 1.501033e-02  1.166290e-02 -2.376053e-01 -3.120372e-01 -3.523276e-06 -1.916470e-06
+ 1.501033e-02  1.183316e-02 -2.376086e-01 -3.119787e-01  2.552750e-04  1.188667e-04
+ 1.501033e-02  1.200100e-02 -2.376311e-01 -3.119382e-01  4.808242e-04  1.445015e-04
+ 1.501033e-02  1.216653e-02 -2.376311e-01 -3.118838e-01  3.680709e-06  1.180860e-05
+ 1.501033e-02  1.232983e-02 -2.376785e-01 -3.118187e-01 -3.317904e-05 -1.667380e-06
+ 1.501033e-02  1.249100e-02 -2.370644e-01 -3.115655e-01 -6.484451e-04 -2.088094e-04
+ 1.501033e-02  1.265011e-02 -2.381652e-01 -3.118756e-01  1.528969e-04  4.965314e-05
+ 1.501033e-02  1.280725e-02 -2.376576e-01 -3.116186e-01  3.193102e-04  1.161387e-04
+ 1.501033e-02  1.296248e-02 -2.382111e-01 -3.117214e-01 -6.035154e-04 -2.177437e-04
+ 1.501033e-02  1.311588e-02 -2.389041e-01 -3.118556e-01  1.033608e-04 -5.415347e-05
+ 1.501033e-02  1.326750e-02 -2.386740e-01 -3.117292e-01 -3.191082e-04 -1.035878e-04
+ 1.501033e-02  1.341741e-02 -2.384136e-01 -3.115787e-01 -6.791708e-04 -2.068091e-04
+ 1.501033e-02  1.356566e-02 -2.380376e-01 -3.113759e-01  4.427973e-04  1.598712e-04
+ 1.501033e-02  1.371231e-02 -2.383981e-01 -3.114222e-01  4.049628e-04  8.034997e-05
+ 1.501033e-02  1.385741e-02 -2.384182e-01 -3.113367e-01 -1.474410e-05 -3.057620e-05
+ 1.501033e-02  1.400100e-02 -2.384377e-01 -3.113342e-01 -2.195078e-05 -4.292251e-05
+ 1.501033e-02  1.414314e-02 -2.383494e-01 -3.111149e-01 -6.884010e-04 -2.204342e-04
+ 1.501033e-02  1.428386e-02 -2.383519e-01 -3.110649e-01 -1.386432e-03 -2.994795e-04
+ 1.501033e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.501033e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.000000e-06 -2.347485e-01 -2.347485e-01 -3.908562e-07 -3.902339e-07
+ 1.509537e-02  2.001000e-03 -2.356122e-01 -2.356122e-01 -1.155123e-07 -1.030480e-07
+ 1.509537e-02  2.829427e-03 -2.359131e-01 -3.129318e-01  5.876219e-08  2.224791e-07
+ 1.509537e-02  3.465102e-03 -2.361268e-01 -3.129681e-01 -6.616800e-08 -7.626124e-07
+ 1.509537e-02  4.001000e-03 -2.362970e-01 -3.129888e-01 -9.407623e-07 -8.630977e-08
+ 1.509537e-02  4.473136e-03 -2.364387e-01 -3.129999e-01 -8.400385e-08  1.020163e-07
+ 1.509537e-02  4.899979e-03 -2.365570e-01 -3.130032e-01  5.565160e-06  1.958731e-06
+ 1.509537e-02  5.292503e-03 -2.366978e-01 -3.130133e-01 -6.115852e-06 -1.934401e-06
+ 1.509537e-02  5.657854e-03 -2.367855e-01 -3.130057e-01  4.576292e-07  5.785932e-08
+ 1.509537e-02  6.001000e-03 -2.368822e-01 -3.130003e-01 -3.013947e-07 -3.998026e-08
+ 1.509537e-02  6.325555e-03 -2.369859e-01 -3.129971e-01  8.272202e-07 -2.246872e-08
+ 1.509537e-02  6.634250e-03 -2.370988e-01 -3.129951e-01 -1.641879e-05 -3.472718e-06
+ 1.509537e-02  6.929203e-03 -2.374808e-01 -3.130783e-01 -2.633906e-05 -7.530624e-06
+ 1.509537e-02  7.212103e-03 -2.373873e-01 -3.130079e-01  2.871389e-05  9.342010e-06
+ 1.509537e-02  7.484315e-03 -2.373925e-01 -3.129686e-01 -7.322073e-07 -3.433741e-09
+ 1.509537e-02  7.746967e-03 -2.374077e-01 -3.129320e-01  8.690352e-06  2.792553e-06
+ 1.509537e-02  8.001000e-03 -2.374208e-01 -3.128941e-01  1.085413e-06  4.748128e-07
+ 1.509537e-02  8.247211e-03 -2.374312e-01 -3.128548e-01 -5.037657e-07  8.585457e-08
+ 1.509537e-02  8.486281e-03 -2.374402e-01 -3.128147e-01 -1.183802e-06 -2.353871e-06
+ 1.509537e-02  8.718798e-03 -2.374494e-01 -3.127742e-01 -3.680079e-06 -4.352255e-07
+ 1.509537e-02  8.945272e-03 -2.374586e-01 -3.127328e-01 -7.870180e-06 -2.226969e-06
+ 1.509537e-02  9.166151e-03 -2.374666e-01 -3.126903e-01 -8.930339e-06 -3.334154e-06
+ 1.509537e-02  9.381832e-03 -2.374740e-01 -3.126486e-01 -6.889316e-06 -4.629988e-06
+ 1.509537e-02  9.592663e-03 -2.374827e-01 -3.126095e-01 -6.080080e-06 -8.141969e-06
+ 1.509537e-02  9.798959e-03 -2.374932e-01 -3.125685e-01 -8.625690e-06 -1.053297e-06
+ 1.509537e-02  1.000100e-02 -2.375034e-01 -3.125178e-01 -1.390509e-05  1.641665e-05
+ 1.509537e-02  1.019904e-02 -2.375146e-01 -3.124590e-01 -6.756594e-06  1.032393e-06
+ 1.509537e-02  1.039330e-02 -2.375188e-01 -3.124037e-01  3.382928e-05  1.734492e-05
+ 1.509537e-02  1.058401e-02 -2.375321e-01 -3.123568e-01 -2.398115e-07  3.694237e-06
+ 1.509537e-02  1.077133e-02 -2.375497e-01 -3.123107e-01 -1.051448e-04 -3.393745e-05
+ 1.509537e-02  1.095545e-02 -2.375600e-01 -3.122625e-01 -1.718558e-05 -1.388332e-05
+ 1.509537e-02  1.113653e-02 -2.375605e-01 -3.122111e-01 -5.811835e-04 -1.846507e-04
+ 1.509537e-02  1.131471e-02 -2.372197e-01 -3.120471e-01 -9.607065e-05 -2.818491e-05
+ 1.509537e-02  1.149013e-02 -2.376345e-01 -3.121308e-01  1.098726e-05  4.502911e-06
+ 1.509537e-02  1.166290e-02 -2.375558e-01 -3.120507e-01  3.103903e-05  6.361083e-06
+ 1.509537e-02  1.183316e-02 -2.381017e-01 -3.121918e-01 -3.284574e-05 -1.953525e-05
+ 1.509537e-02  1.200100e-02 -2.375768e-01 -3.119372e-01  1.783611e-05  8.860910e-06
+ 1.509537e-02  1.216653e-02 -2.377206e-01 -3.119177e-01  4.381821e-04  1.553129e-04
+ 1.509537e-02  1.232983e-02 -2.379027e-01 -3.119167e-01 -2.789277e-04 -7.386999e-05
+ 1.509537e-02  1.249100e-02 -2.381992e-01 -3.119573e-01 -5.578415e-04 -1.723284e-04
+ 1.509537e-02  1.265011e-02 -2.384934e-01 -3.119898e-01  3.860193e-05 -2.223247e-06
+ 1.509537e-02  1.280725e-02 -2.386449e-01 -3.120334e-01 -1.461733e-03 -4.176403e-04
+ 1.509537e-02  1.296248e-02 -2.385277e-01 -3.119285e-01 -3.781459e-05 -6.954644e-05
+ 1.509537e-02  1.311588e-02 -2.385233e-01 -3.117971e-01  6.636020e-06 -6.250952e-05
+ 1.509537e-02  1.326750e-02 -2.384815e-01 -3.116929e-01  8.037359e-06 -2.074242e-05
+ 1.509537e-02  1.341741e-02 -2.384486e-01 -3.116092e-01  1.221243e-04  4.839214e-05
+ 1.509537e-02  1.356566e-02 -2.384565e-01 -3.115391e-01 -6.556206e-04 -2.231434e-04
+ 1.509537e-02  1.371231e-02 -2.384456e-01 -3.114592e-01 -6.427841e-04 -2.334125e-04
+ 1.509537e-02  1.385741e-02 -2.384250e-01 -3.113743e-01 -7.027084e-04 -1.800331e-04
+ 1.509537e-02  1.400100e-02 -2.384391e-01 -3.113460e-01 -9.135475e-04 -2.843865e-04
+ 1.509537e-02  1.414314e-02 -2.384380e-01 -3.112092e-01 -4.617487e-04 -1.922165e-04
+ 1.509537e-02  1.428386e-02 -2.374342e-01 -3.107921e-01  1.149983e-03  2.560289e-04
+ 1.509537e-02  1.442321e-02 -2.376421e-01 -3.107432e-01  1.986808e-04  6.119972e-05
+ 1.509537e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.509537e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.000000e-06 -2.350487e-01 -2.350487e-01  2.513241e-08  2.069493e-08
+ 1.517993e-02  2.001000e-03 -2.358959e-01 -3.129552e-01  2.723871e-08  1.558649e-07
+ 1.517993e-02  2.829427e-03 -2.361915e-01 -3.130202e-01  1.017279e-08 -6.355517e-07
+ 1.517993e-02  3.465102e-03 -2.364005e-01 -3.130549e-01  4.472278e-08  1.354952e-07
+ 1.517993e-02  4.001000e-03 -2.365628e-01 -3.130742e-01  3.389460e-06  1.226249e-06
+ 1.517993e-02  4.473136e-03 -2.367177e-01 -3.130905e-01 -3.698748e-07 -8.595187e-08
+ 1.517993e-02  4.899979e-03 -2.368346e-01 -3.130941e-01 -1.290670e-07  1.675054e-09
+ 1.517993e-02  5.292503e-03 -2.369508e-01 -3.130971e-01  1.564251e-05  4.819651e-06
+ 1.517993e-02  5.657854e-03 -2.370650e-01 -3.130980e-01 -3.955614e-06 -6.872527e-07
+ 1.517993e-02  6.001000e-03 -2.375039e-01 -3.132019e-01 -8.206072e-05 -2.425625e-05
+ 1.517993e-02  6.325555e-03 -2.374151e-01 -3.131344e-01 -1.974777e-05 -5.768118e-06
+ 1.517993e-02  6.634250e-03 -2.373874e-01 -3.130878e-01 -3.634000e-06 -8.316250e-07
+ 1.517993e-02  6.929203e-03 -2.373885e-01 -3.130500e-01  1.404644e-05  4.545299e-06
+ 1.517993e-02  7.212103e-03 -2.373954e-01 -3.130136e-01 -5.918195e-06 -2.133040e-06
+ 1.517993e-02  7.484315e-03 -2.374031e-01 -3.129770e-01 -5.645621e-06 -1.758289e-06
+ 1.517993e-02  7.746967e-03 -2.374107e-01 -3.129396e-01 -8.099068e-07 -3.427286e-07
+ 1.517993e-02  8.001000e-03 -2.374185e-01 -3.129016e-01  1.187635e-06  3.733163e-07
+ 1.517993e-02  8.247211e-03 -2.374269e-01 -3.128627e-01  1.535549e-06  1.208839e-06
+ 1.517993e-02  8.486281e-03 -2.374356e-01 -3.128231e-01 -1.427089e-06  1.876585e-07
+ 1.517993e-02  8.718798e-03 -2.374450e-01 -3.127828e-01 -2.483070e-06 -5.084755e-06
+ 1.517993e-02  8.945272e-03 -2.374554e-01 -3.127422e-01 -6.885058e-07  7.066895e-07
+ 1.517993e-02  9.166151e-03 -2.374655e-01 -3.127008e-01 -9.260930e-06 -3.173544e-06
+ 1.517993e-02  9.381832e-03 -2.374745e-01 -3.126595e-01  3.054194e-05  1.299097e-05
+ 1.517993e-02  9.592663e-03 -2.375073e-01 -3.126280e-01 -1.484213e-04 -4.613405e-05
+ 1.517993e-02  9.798959e-03 -2.375497e-01 -3.125977e-01 -3.118540e-04 -1.049442e-04
+ 1.517993e-02  1.000100e-02 -2.377501e-01 -3.125994e-01  2.868930e-05  3.390005e-05
+ 1.517993e-02  1.019904e-02 -2.378143e-01 -3.125734e-01 -3.330464e-04 -9.399902e-05
+ 1.517993e-02  1.039330e-02 -2.379196e-01 -3.125586e-01  4.067176e-05  1.258879e-05
+ 1.517993e-02  1.058401e-02 -2.381356e-01 -3.125787e-01 -8.108895e-05 -2.841167e-05
+ 1.517993e-02  1.077133e-02 -2.381131e-01 -3.125166e-01 -3.556566e-05 -1.148842e-05
+ 1.517993e-02  1.095545e-02 -2.380999e-01 -3.124582e-01 -7.190884e-05 -2.211951e-05
+ 1.517993e-02  1.113653e-02 -2.380033e-01 -3.123708e-01 -7.324379e-04 -2.555205e-04
+ 1.517993e-02  1.131471e-02 -2.379057e-01 -3.122784e-01 -9.178071e-04 -3.265353e-04
+ 1.517993e-02  1.149013e-02 -2.383357e-01 -3.123688e-01 -1.659131e-05 -5.906256e-06
+ 1.517993e-02  1.166290e-02 -2.382164e-01 -3.122714e-01  1.870792e-04  5.599960e-05
+ 1.517993e-02  1.183316e-02 -2.384915e-01 -3.123031e-01  9.884714e-04  2.558026e-04
+ 1.517993e-02  1.200100e-02 -2.386478e-01 -3.123035e-01 -8.680939e-04 -2.520065e-04
+ 1.517993e-02  1.216653e-02 -2.387815e-01 -3.122884e-01 -1.822980e-04 -5.667750e-05
+ 1.517993e-02  1.232983e-02 -2.385490e-01 -3.121364e-01  1.721086e-05  1.426725e-05
+ 1.517993e-02  1.249100e-02 -2.385150e-01 -3.120659e-01 -8.779955e-04 -2.672590e-04
+ 1.517993e-02  1.265011e-02 -2.385362e-01 -3.119882e-01 -2.233543e-04  7.188074e-06
+ 1.517993e-02  1.280725e-02 -2.385573e-01 -3.119644e-01 -3.554633e-05 -6.266948e-05
+ 1.517993e-02  1.296248e-02 -2.385522e-01 -3.119548e-01  7.354232e-07 -7.955848e-05
+ 1.517993e-02  1.311588e-02 -2.385083e-01 -3.118004e-01  1.976961e-04 -1.118320e-05
+ 1.517993e-02  1.326750e-02 -2.385010e-01 -3.117182e-01 -4.427160e-04 -1.679419e-04
+ 1.517993e-02  1.341741e-02 -2.385288e-01 -3.116596e-01 -3.327642e-04 -1.381062e-04
+ 1.517993e-02  1.356566e-02 -2.384751e-01 -3.115630e-01  7.448299e-04  2.154424e-04
+ 1.517993e-02  1.371231e-02 -2.384909e-01 -3.114807e-01  9.021086e-04  1.367644e-04
+ 1.517993e-02  1.385741e-02 -2.381252e-01 -3.112487e-01 -8.903259e-04 -2.732665e-04
+ 1.517993e-02  1.400100e-02 -2.384876e-01 -3.112917e-01 -6.207178e-05  3.146572e-05
+ 1.517993e-02  1.414314e-02 -2.388266e-01 -3.113254e-01  3.703215e-04  6.036876e-05
+ 1.517993e-02  1.428386e-02 -2.386236e-01 -3.112509e-01  6.569139e-04  1.431208e-04
+ 1.517993e-02  1.442321e-02 -2.385433e-01 -3.108407e-01 -2.385433e-01 -3.108407e-01
+ 1.517993e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.517993e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.000000e-06 -2.353447e-01 -2.353447e-01  3.894654e-07  3.977378e-07
+ 1.526403e-02  2.001000e-03 -2.361785e-01 -2.361785e-01  7.087015e-09  4.658506e-08
+ 1.526403e-02  2.829427e-03 -2.364685e-01 -3.131073e-01  7.291606e-09  1.857780e-08
+ 1.526403e-02  3.465102e-03 -2.366854e-01 -3.131457e-01 -1.191365e-05 -3.585603e-06
+ 1.526403e-02  4.001000e-03 -2.368403e-01 -3.131634e-01  8.626986e-09 -8.948720e-09
+ 1.526403e-02  4.473136e-03 -2.369807e-01 -3.131758e-01 -2.611343e-06 -4.043773e-07
+ 1.526403e-02  4.899979e-03 -2.371185e-01 -3.131866e-01  6.657581e-07 -5.900656e-08
+ 1.526403e-02  5.292503e-03 -2.374616e-01 -3.132586e-01 -8.407951e-05 -2.577670e-05
+ 1.526403e-02  5.657854e-03 -2.374177e-01 -3.132091e-01 -4.461971e-06 -9.029365e-07
+ 1.526403e-02  6.001000e-03 -2.374068e-01 -3.131706e-01 -3.912112e-05 -1.206737e-05
+ 1.526403e-02  6.325555e-03 -2.374101e-01 -3.131365e-01 -6.559417e-05 -2.047485e-05
+ 1.526403e-02  6.634250e-03 -2.374187e-01 -3.131037e-01 -7.258350e-05 -2.285223e-05
+ 1.526403e-02  6.929203e-03 -2.374304e-01 -3.130712e-01 -8.128688e-05 -2.574863e-05
+ 1.526403e-02  7.212103e-03 -2.374448e-01 -3.130390e-01 -8.300568e-05 -2.652085e-05
+ 1.526403e-02  7.484315e-03 -2.374576e-01 -3.130059e-01 -1.363564e-05 -4.367462e-06
+ 1.526403e-02  7.746967e-03 -2.374362e-01 -3.129614e-01 -1.354173e-04 -4.324925e-05
+ 1.526403e-02  8.001000e-03 -2.376277e-01 -3.129844e-01 -5.656968e-05 -1.563522e-05
+ 1.526403e-02  8.247211e-03 -2.377124e-01 -3.129689e-01 -1.146211e-04 -3.567285e-05
+ 1.526403e-02  8.486281e-03 -2.378248e-01 -3.129631e-01 -2.115135e-05 -6.716336e-06
+ 1.526403e-02  8.718798e-03 -2.378424e-01 -3.129273e-01  3.449704e-06  7.897685e-07
+ 1.526403e-02  8.945272e-03 -2.379200e-01 -3.129107e-01 -1.080344e-05 -7.629310e-06
+ 1.526403e-02  9.166151e-03 -2.379691e-01 -3.128804e-01  1.875185e-06  3.489926e-06
+ 1.526403e-02  9.381832e-03 -2.380010e-01 -3.128387e-01 -1.769180e-04 -8.924932e-05
+ 1.526403e-02  9.592663e-03 -2.380471e-01 -3.128039e-01  6.782063e-05  2.418920e-05
+ 1.526403e-02  9.798959e-03 -2.380701e-01 -3.127639e-01 -8.656421e-06 -7.535290e-07
+ 1.526403e-02  1.000100e-02 -2.380541e-01 -3.127112e-01  9.394022e-05  3.222136e-05
+ 1.526403e-02  1.019904e-02 -2.382314e-01 -3.127204e-01 -1.433398e-04 -4.566559e-05
+ 1.526403e-02  1.039330e-02 -2.382689e-01 -3.126827e-01 -1.671587e-04 -5.232119e-05
+ 1.526403e-02  1.058401e-02 -2.382717e-01 -3.126322e-01 -2.308995e-04 -7.438830e-05
+ 1.526403e-02  1.077133e-02 -2.383451e-01 -3.126046e-01  1.357063e-06 -2.061771e-06
+ 1.526403e-02  1.095545e-02 -2.383786e-01 -3.125619e-01 -3.778873e-05 -1.248717e-05
+ 1.526403e-02  1.113653e-02 -2.384775e-01 -3.125417e-01  5.947134e-04  2.039406e-04
+ 1.526403e-02  1.131471e-02 -2.387556e-01 -3.125851e-01  2.363665e-04  7.337255e-05
+ 1.526403e-02  1.149013e-02 -2.389135e-01 -3.125772e-01  2.528746e-04  6.120635e-05
+ 1.526403e-02  1.166290e-02 -2.386282e-01 -3.124189e-01  3.099136e-06  2.131946e-06
+ 1.526403e-02  1.183316e-02 -2.385973e-01 -3.123454e-01 -9.678143e-06 -3.470176e-06
+ 1.526403e-02  1.200100e-02 -2.385777e-01 -3.122778e-01  1.435089e-05  1.208535e-06
+ 1.526403e-02  1.216653e-02 -2.385852e-01 -3.122156e-01 -5.837329e-05  5.807507e-06
+ 1.526403e-02  1.232983e-02 -2.385610e-01 -3.121580e-01 -4.411806e-05 -2.510138e-05
+ 1.526403e-02  1.249100e-02 -2.385405e-01 -3.120532e-01  9.049681e-05  9.476830e-05
+ 1.526403e-02  1.265011e-02 -2.385331e-01 -3.119563e-01 -6.437175e-08 -6.724645e-06
+ 1.526403e-02  1.280725e-02 -2.385055e-01 -3.119533e-01  3.528645e-04  1.754880e-04
+ 1.526403e-02  1.296248e-02 -2.385467e-01 -3.118954e-01 -4.992898e-04 -1.751883e-04
+ 1.526403e-02  1.311588e-02 -2.381899e-01 -3.117173e-01 -1.222627e-03 -3.886018e-04
+ 1.526403e-02  1.326750e-02 -2.384338e-01 -3.117096e-01  3.230326e-04  6.418117e-05
+ 1.526403e-02  1.341741e-02 -2.389441e-01 -3.117461e-01  8.579886e-05  4.452280e-06
+ 1.526403e-02  1.356566e-02 -2.390739e-01 -3.117036e-01 -2.390739e-01 -3.117036e-01
+ 1.526403e-02  1.371231e-02 -2.390028e-01 -3.115773e-01 -1.997190e-03 -5.858073e-04
+ 1.526403e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.400100e-02 -2.386752e-01 -3.113925e-01 -8.932611e-04 -3.054640e-04
+ 1.526403e-02  1.414314e-02 -2.387957e-01 -3.113111e-01 -4.492688e-04 -2.631298e-05
+ 1.526403e-02  1.428386e-02 -2.388737e-01 -3.111884e-01 -2.388737e-01 -3.111884e-01
+ 1.526403e-02  1.442321e-02 -2.389727e-01 -3.112619e-01 -2.389727e-01 -3.112619e-01
+ 1.526403e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526403e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.000000e-06 -2.356405e-01 -2.356405e-01  3.325528e-09 -9.049017e-09
+ 1.534766e-02  2.001000e-03 -2.364595e-01 -2.364595e-01 -1.277221e-10 -1.979747e-08
+ 1.534766e-02  2.829427e-03 -2.367464e-01 -3.131952e-01  9.264092e-07  1.954911e-07
+ 1.534766e-02  3.465102e-03 -2.369493e-01 -3.132299e-01  2.502831e-06  6.903806e-07
+ 1.534766e-02  4.001000e-03 -2.371183e-01 -3.132528e-01 -3.069395e-06 -2.165644e-07
+ 1.534766e-02  4.473136e-03 -2.374082e-01 -3.133094e-01 -2.708890e-05 -7.747835e-06
+ 1.534766e-02  4.899979e-03 -2.373921e-01 -3.132715e-01 -6.539484e-05 -2.033546e-05
+ 1.534766e-02  5.292503e-03 -2.373786e-01 -3.132359e-01 -7.526690e-05 -2.366468e-05
+ 1.534766e-02  5.657854e-03 -2.373445e-01 -3.131943e-01  4.322563e-05  1.280381e-05
+ 1.534766e-02  6.001000e-03 -2.372219e-01 -3.131247e-01 -3.358481e-06 -2.271262e-06
+ 1.534766e-02  6.325555e-03 -2.376243e-01 -3.132145e-01 -4.584258e-06 -1.086475e-06
+ 1.534766e-02  6.634250e-03 -2.377018e-01 -3.132037e-01  9.959799e-08  9.087742e-09
+ 1.534766e-02  6.929203e-03 -2.377622e-01 -3.131868e-01 -8.646003e-07 -5.256655e-07
+ 1.534766e-02  7.212103e-03 -2.378275e-01 -3.131701e-01 -2.775753e-07 -6.236807e-08
+ 1.534766e-02  7.484315e-03 -2.378886e-01 -3.131515e-01  3.482757e-07  1.220399e-07
+ 1.534766e-02  7.746967e-03 -2.379496e-01 -3.131322e-01  1.197027e-06  5.020390e-07
+ 1.534766e-02  8.001000e-03 -2.380269e-01 -3.131167e-01 -4.375875e-05 -1.295439e-05
+ 1.534766e-02  8.247211e-03 -2.380620e-01 -3.130883e-01 -2.456913e-05 -6.751973e-06
+ 1.534766e-02  8.486281e-03 -2.380621e-01 -3.130480e-01  1.165221e-05  3.307783e-06
+ 1.534766e-02  8.718798e-03 -2.380951e-01 -3.130175e-01 -2.436135e-05 -1.116010e-05
+ 1.534766e-02  8.945272e-03 -2.381696e-01 -3.129952e-01  7.639139e-05  4.486382e-05
+ 1.534766e-02  9.166151e-03 -2.381970e-01 -3.129549e-01 -1.435115e-04 -5.561171e-05
+ 1.534766e-02  9.381832e-03 -2.382385e-01 -3.129226e-01  1.013128e-05  6.527984e-06
+ 1.534766e-02  9.592663e-03 -2.382881e-01 -3.128945e-01  9.564638e-05  3.221699e-05
+ 1.534766e-02  9.798959e-03 -2.383540e-01 -3.128697e-01  1.681908e-05  5.304537e-06
+ 1.534766e-02  1.000100e-02 -2.383506e-01 -3.128210e-01  3.053167e-05  9.870325e-06
+ 1.534766e-02  1.019904e-02 -2.384009e-01 -3.127888e-01  2.762574e-05  9.462367e-06
+ 1.534766e-02  1.039330e-02 -2.384491e-01 -3.127542e-01  1.774852e-05  6.117317e-06
+ 1.534766e-02  1.058401e-02 -2.385540e-01 -3.127406e-01 -5.390295e-05 -1.986501e-05
+ 1.534766e-02  1.077133e-02 -2.388665e-01 -3.127956e-01  5.865261e-04  1.620178e-04
+ 1.534766e-02  1.095545e-02 -2.387119e-01 -3.126860e-01 -6.036460e-05 -2.176184e-05
+ 1.534766e-02  1.113653e-02 -2.386638e-01 -3.126115e-01  1.072018e-05  3.820737e-06
+ 1.534766e-02  1.131471e-02 -2.386437e-01 -3.125462e-01 -1.795682e-06 -3.241030e-07
+ 1.534766e-02  1.149013e-02 -2.386320e-01 -3.124832e-01  4.101227e-06  3.135445e-06
+ 1.534766e-02  1.166290e-02 -2.386226e-01 -3.124202e-01  2.067771e-05  6.376514e-06
+ 1.534766e-02  1.183316e-02 -2.386058e-01 -3.123515e-01  2.738853e-05  1.245277e-05
+ 1.534766e-02  1.200100e-02 -2.385817e-01 -3.122768e-01  1.229779e-05  5.817313e-06
+ 1.534766e-02  1.216653e-02 -2.385613e-01 -3.122054e-01  2.295164e-04  1.047433e-04
+ 1.534766e-02  1.232983e-02 -2.384722e-01 -3.121226e-01 -3.507804e-04 -7.254632e-05
+ 1.534766e-02  1.249100e-02 -2.383550e-01 -3.120187e-01 -3.037651e-04 -1.020457e-04
+ 1.534766e-02  1.265011e-02 -2.388373e-01 -3.121065e-01  1.061815e-03  1.744835e-04
+ 1.534766e-02  1.280725e-02 -2.385935e-01 -3.119660e-01 -9.309335e-04 -3.283192e-04
+ 1.534766e-02  1.296248e-02 -2.387572e-01 -3.119597e-01 -2.387572e-01 -3.119597e-01
+ 1.534766e-02  1.311588e-02 -2.389148e-01 -3.119486e-01 -9.200729e-05 -7.206127e-06
+ 1.534766e-02  1.326750e-02 -2.386141e-01 -3.118787e-01 -7.118683e-04 -3.386393e-05
+ 1.534766e-02  1.341741e-02 -2.385790e-01 -3.117885e-01  3.748459e-04  9.979641e-05
+ 1.534766e-02  1.356566e-02 -2.384716e-01 -3.116518e-01 -2.408695e-04 -5.965008e-05
+ 1.534766e-02  1.371231e-02 -2.388090e-01 -3.116446e-01 -3.144402e-05  7.798895e-05
+ 1.534766e-02  1.385741e-02 -2.388830e-01 -3.115761e-01 -2.388830e-01 -3.115761e-01
+ 1.534766e-02  1.400100e-02 -2.386094e-01 -3.114249e-01 -8.492162e-04 -2.734012e-04
+ 1.534766e-02  1.414314e-02 -2.388592e-01 -3.113590e-01 -4.446373e-04 -5.390322e-05
+ 1.534766e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.442321e-02 -2.390342e-01 -3.113045e-01 -2.390342e-01 -3.113045e-01
+ 1.534766e-02  1.456122e-02 -2.388423e-01 -3.111626e-01 -2.388423e-01 -3.111626e-01
+ 1.534766e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.534766e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.000000e-06 -2.359320e-01 -2.359320e-01  4.290780e-09 -1.754975e-09
+ 1.543084e-02  2.001000e-03 -2.367396e-01 -3.132195e-01 -3.502505e-07 -6.778417e-08
+ 1.543084e-02  2.829427e-03 -2.370233e-01 -3.132821e-01 -8.958225e-07 -9.299923e-09
+ 1.543084e-02  3.465102e-03 -2.372937e-01 -3.133416e-01  5.074637e-05  1.569717e-05
+ 1.543084e-02  4.001000e-03 -2.372961e-01 -3.133081e-01 -3.623056e-05 -1.204384e-05
+ 1.543084e-02  4.473136e-03 -2.372131e-01 -3.132553e-01  2.574275e-04  7.884194e-05
+ 1.543084e-02  4.899979e-03 -2.375810e-01 -3.133380e-01  2.860299e-08  2.824705e-10
+ 1.543084e-02  5.292503e-03 -2.376800e-01 -3.133374e-01 -2.662219e-07  1.005733e-07
+ 1.543084e-02  5.657854e-03 -2.377650e-01 -3.133315e-01 -9.021764e-07 -3.683294e-07
+ 1.543084e-02  6.001000e-03 -2.378436e-01 -3.133226e-01 -1.762669e-06 -5.147608e-07
+ 1.543084e-02  6.325555e-03 -2.379206e-01 -3.133126e-01  1.524233e-05  4.458842e-06
+ 1.543084e-02  6.634250e-03 -2.379712e-01 -3.132938e-01 -4.995011e-06 -1.436076e-06
+ 1.543084e-02  6.929203e-03 -2.380285e-01 -3.132763e-01 -5.752972e-06 -1.824667e-06
+ 1.543084e-02  7.212103e-03 -2.380760e-01 -3.132545e-01  2.693813e-05  9.019884e-06
+ 1.543084e-02  7.484315e-03 -2.381429e-01 -3.132386e-01 -4.462536e-08 -3.893490e-08
+ 1.543084e-02  7.746967e-03 -2.381900e-01 -3.132156e-01  4.091788e-07 -3.502392e-08
+ 1.543084e-02  8.001000e-03 -2.382422e-01 -3.131940e-01 -3.507587e-06 -2.247501e-06
+ 1.543084e-02  8.247211e-03 -2.382922e-01 -3.131709e-01 -5.444365e-06 -2.929263e-06
+ 1.543084e-02  8.486281e-03 -2.383062e-01 -3.131335e-01  1.531061e-05  3.553282e-06
+ 1.543084e-02  8.718798e-03 -2.383605e-01 -3.131057e-01 -6.359156e-05 -3.262515e-05
+ 1.543084e-02  8.945272e-03 -2.383907e-01 -3.130703e-01  3.451308e-06  1.927680e-06
+ 1.543084e-02  9.166151e-03 -2.384324e-01 -3.130407e-01  1.370936e-05  5.219358e-06
+ 1.543084e-02  9.381832e-03 -2.384984e-01 -3.130191e-01 -3.807708e-06 -1.506214e-06
+ 1.543084e-02  9.592663e-03 -2.385449e-01 -3.129890e-01  1.466572e-06  1.414889e-06
+ 1.543084e-02  9.798959e-03 -2.387676e-01 -3.130214e-01 -5.660078e-05 -1.871920e-05
+ 1.543084e-02  1.000100e-02 -2.387778e-01 -3.129745e-01  4.595068e-04  1.360219e-04
+ 1.543084e-02  1.019904e-02 -2.387803e-01 -3.129233e-01  5.332829e-04  1.502787e-04
+ 1.543084e-02  1.039330e-02 -2.387117e-01 -3.128478e-01  5.706241e-04  1.729389e-04
+ 1.543084e-02  1.058401e-02 -2.386946e-01 -3.127892e-01 -1.231996e-05 -4.430279e-06
+ 1.543084e-02  1.077133e-02 -2.386737e-01 -3.127279e-01 -2.863494e-05 -1.081210e-05
+ 1.543084e-02  1.095545e-02 -2.386550e-01 -3.126661e-01  6.012895e-06  2.356265e-06
+ 1.543084e-02  1.113653e-02 -2.386185e-01 -3.125971e-01  6.589246e-04  2.055358e-04
+ 1.543084e-02  1.131471e-02 -2.385877e-01 -3.125285e-01  9.813232e-05  3.212048e-05
+ 1.543084e-02  1.149013e-02 -2.385339e-01 -3.124511e-01  6.540870e-04  2.206122e-04
+ 1.543084e-02  1.166290e-02 -2.384225e-01 -3.123548e-01 -3.540818e-05 -1.406927e-05
+ 1.543084e-02  1.183316e-02 -2.387662e-01 -3.124185e-01  3.671943e-04  1.127509e-04
+ 1.543084e-02  1.200100e-02 -2.389786e-01 -3.124268e-01 -3.571717e-04 -1.354974e-04
+ 1.543084e-02  1.216653e-02 -2.388420e-01 -3.123228e-01  2.201042e-03  4.005138e-04
+ 1.543084e-02  1.232983e-02 -2.386147e-01 -3.121787e-01 -1.415181e-05 -1.984527e-05
+ 1.543084e-02  1.249100e-02 -2.388010e-01 -3.121855e-01 -2.803053e-04 -1.121047e-04
+ 1.543084e-02  1.265011e-02 -2.389506e-01 -3.121645e-01  7.809800e-04  1.577520e-04
+ 1.543084e-02  1.280725e-02 -2.389985e-01 -3.121221e-01  2.415197e-03  3.694162e-05
+ 1.543084e-02  1.296248e-02 -2.392644e-01 -3.121243e-01 -2.392644e-01 -3.121243e-01
+ 1.543084e-02  1.311588e-02 -2.391244e-01 -3.120137e-01 -2.391244e-01 -3.120137e-01
+ 1.543084e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.341741e-02 -2.391466e-01 -3.118855e-01 -2.391466e-01 -3.118855e-01
+ 1.543084e-02  1.356566e-02 -2.386929e-01 -3.117620e-01 -1.678528e-04 -1.143365e-05
+ 1.543084e-02  1.371231e-02 -2.387763e-01 -3.116925e-01  4.942395e-04 -1.325927e-04
+ 1.543084e-02  1.385741e-02 -2.388515e-01 -3.116106e-01 -1.709409e-03 -5.379688e-04
+ 1.543084e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.428386e-02 -2.390519e-01 -3.113627e-01 -2.062136e-04 -9.092584e-05
+ 1.543084e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.456122e-02 -2.389603e-01 -3.112133e-01 -2.389603e-01 -3.112133e-01
+ 1.543084e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.637171e-02 -2.391685e-01 -3.112389e-01 -2.391685e-01 -3.112389e-01
+ 1.543084e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.543084e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.000000e-06 -2.362206e-01 -2.362206e-01  2.726326e-08 -1.500194e-08
+ 1.551358e-02  2.001000e-03 -2.370188e-01 -3.133066e-01 -5.230804e-07  1.824087e-08
+ 1.551358e-02  2.829427e-03 -2.372760e-01 -3.133597e-01  6.661646e-05  2.101241e-05
+ 1.551358e-02  3.465102e-03 -2.374708e-01 -3.133958e-01 -9.295187e-06 -1.536715e-06
+ 1.551358e-02  4.001000e-03 -2.376261e-01 -3.134152e-01 -2.295613e-06 -1.427433e-07
+ 1.551358e-02  4.473136e-03 -2.377488e-01 -3.134242e-01  8.956581e-08  1.690406e-08
+ 1.551358e-02  4.899979e-03 -2.378564e-01 -3.134271e-01 -1.956333e-06 -6.033385e-07
+ 1.551358e-02  5.292503e-03 -2.379447e-01 -3.134236e-01  2.302371e-07  5.205811e-08
+ 1.551358e-02  5.657854e-03 -2.380261e-01 -3.134169e-01 -1.905616e-08 -2.305541e-08
+ 1.551358e-02  6.001000e-03 -2.380974e-01 -3.134066e-01 -2.844831e-06 -9.261290e-07
+ 1.551358e-02  6.325555e-03 -2.381669e-01 -3.133948e-01 -2.943085e-07 -9.308103e-08
+ 1.551358e-02  6.634250e-03 -2.382275e-01 -3.133796e-01 -1.159292e-07 -5.526415e-08
+ 1.551358e-02  6.929203e-03 -2.382761e-01 -3.133598e-01  9.896001e-06  3.065970e-06
+ 1.551358e-02  7.212103e-03 -2.383351e-01 -3.133425e-01  6.123828e-08  8.341249e-08
+ 1.551358e-02  7.484315e-03 -2.383875e-01 -3.133227e-01  3.031296e-06  8.906531e-07
+ 1.551358e-02  7.746967e-03 -2.384360e-01 -3.133013e-01 -5.963161e-07 -4.818568e-07
+ 1.551358e-02  8.001000e-03 -2.384854e-01 -3.132787e-01  6.145605e-06  2.713920e-06
+ 1.551358e-02  8.247211e-03 -2.385234e-01 -3.132494e-01  5.544408e-05  3.020559e-05
+ 1.551358e-02  8.486281e-03 -2.385576e-01 -3.132176e-01 -2.076319e-05 -1.199902e-05
+ 1.551358e-02  8.718798e-03 -2.386089e-01 -3.131926e-01  5.782535e-06  2.942178e-06
+ 1.551358e-02  8.945272e-03 -2.388678e-01 -3.132355e-01 -3.718720e-05 -5.251619e-06
+ 1.551358e-02  9.166151e-03 -2.389003e-01 -3.132008e-01  2.555385e-04  6.846912e-05
+ 1.551358e-02  9.381832e-03 -2.388271e-01 -3.131318e-01  6.866265e-06  3.025603e-06
+ 1.551358e-02  9.592663e-03 -2.387374e-01 -3.130561e-01  4.253042e-04  1.278610e-04
+ 1.551358e-02  9.798959e-03 -2.386928e-01 -3.129925e-01 -2.651972e-05 -9.871901e-06
+ 1.551358e-02  1.000100e-02 -2.386579e-01 -3.129308e-01  1.846554e-04  6.554156e-05
+ 1.551358e-02  1.019904e-02 -2.386225e-01 -3.128684e-01  1.864631e-04  6.788812e-05
+ 1.551358e-02  1.039330e-02 -2.385974e-01 -3.128084e-01  5.262443e-04  1.660381e-04
+ 1.551358e-02  1.058401e-02 -2.385831e-01 -3.127517e-01  2.940283e-04  1.059445e-04
+ 1.551358e-02  1.077133e-02 -2.386799e-01 -3.127368e-01 -2.087707e-04 -7.721894e-05
+ 1.551358e-02  1.095545e-02 -2.388513e-01 -3.127441e-01 -1.242349e-04 -4.192496e-05
+ 1.551358e-02  1.113653e-02 -2.387845e-01 -3.126656e-01 -1.497958e-04 -5.166308e-05
+ 1.551358e-02  1.131471e-02 -2.391197e-01 -3.127177e-01  1.297671e-04  3.490840e-05
+ 1.551358e-02  1.149013e-02 -2.391118e-01 -3.126613e-01  8.068227e-05  1.879091e-05
+ 1.551358e-02  1.166290e-02 -2.390874e-01 -3.125971e-01 -9.435418e-05 -2.583196e-05
+ 1.551358e-02  1.183316e-02 -2.390221e-01 -3.125196e-01 -1.330833e-03 -4.406689e-04
+ 1.551358e-02  1.200100e-02 -2.390053e-01 -3.124564e-01 -6.855981e-04 -2.311692e-04
+ 1.551358e-02  1.216653e-02 -2.389948e-01 -3.123935e-01 -3.820263e-05 -1.526212e-05
+ 1.551358e-02  1.232983e-02 -2.390288e-01 -3.123417e-01 -1.759340e-04 -5.552573e-05
+ 1.551358e-02  1.249100e-02 -2.390597e-01 -3.122818e-01  1.074845e-03  1.930751e-04
+ 1.551358e-02  1.265011e-02 -2.390929e-01 -3.122244e-01  2.272356e-03  3.060377e-04
+ 1.551358e-02  1.280725e-02 -2.390764e-01 -3.121655e-01 -2.390764e-01 -3.121655e-01
+ 1.551358e-02  1.296248e-02 -2.389187e-01 -3.120589e-01  1.334555e-04  2.323654e-05
+ 1.551358e-02  1.311588e-02 -2.390665e-01 -3.120341e-01 -2.390665e-01 -3.120341e-01
+ 1.551358e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.341741e-02 -2.388343e-01 -3.118336e-01 -1.058846e-03 -3.085219e-04
+ 1.551358e-02  1.356566e-02 -2.390676e-01 -3.117981e-01 -2.390676e-01 -3.117981e-01
+ 1.551358e-02  1.371231e-02 -2.391214e-01 -3.117370e-01  1.207579e-05 -1.115548e-04
+ 1.551358e-02  1.385741e-02 -2.387707e-01 -3.116727e-01  2.077892e-04 -4.291748e-05
+ 1.551358e-02  1.400100e-02 -2.387321e-01 -3.115988e-01 -2.387321e-01 -3.115988e-01
+ 1.551358e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.442321e-02 -2.390520e-01 -3.112802e-01 -2.879389e-04 -2.427985e-04
+ 1.551358e-02  1.456122e-02 -2.388816e-01 -3.110778e-01 -4.966085e-04 -8.889054e-05
+ 1.551358e-02  1.469794e-02 -2.387179e-01 -3.112031e-01 -1.219611e-03 -4.102146e-04
+ 1.551358e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.551358e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.000000e-06 -2.365065e-01 -2.365065e-01  2.665137e-08  2.203170e-08
+ 1.559587e-02  2.001000e-03 -2.372777e-01 -2.372787e-01  3.135226e-05  3.018348e-05
+ 1.559587e-02  2.829427e-03 -2.375587e-01 -3.134506e-01  1.320157e-07  2.797438e-09
+ 1.559587e-02  3.465102e-03 -2.377460e-01 -3.134827e-01  7.644835e-09  6.487324e-09
+ 1.559587e-02  4.001000e-03 -2.378925e-01 -3.135003e-01  3.186533e-07  3.887706e-08
+ 1.559587e-02  4.473136e-03 -2.380127e-01 -3.135086e-01 -7.447278e-09 -2.595541e-08
+ 1.559587e-02  4.899979e-03 -2.381159e-01 -3.135109e-01 -6.741509e-07 -2.209184e-07
+ 1.559587e-02  5.292503e-03 -2.382034e-01 -3.135075e-01 -3.533492e-08 -1.304558e-08
+ 1.559587e-02  5.657854e-03 -2.382814e-01 -3.135005e-01  1.835115e-07  1.912014e-09
+ 1.559587e-02  6.001000e-03 -2.383508e-01 -3.134900e-01 -2.546161e-09 -4.071031e-09
+ 1.559587e-02  6.325555e-03 -2.384147e-01 -3.134772e-01  3.600126e-08  9.982727e-09
+ 1.559587e-02  6.634250e-03 -2.384728e-01 -3.134617e-01 -2.421134e-06 -7.893780e-07
+ 1.559587e-02  6.929203e-03 -2.385236e-01 -3.134432e-01  1.059815e-05  3.716460e-06
+ 1.559587e-02  7.212103e-03 -2.385710e-01 -3.134234e-01  1.636290e-05  4.831902e-06
+ 1.559587e-02  7.484315e-03 -2.386349e-01 -3.134085e-01 -9.508528e-06 -2.582611e-06
+ 1.559587e-02  7.746967e-03 -2.388807e-01 -3.134429e-01  2.010129e-05  2.039647e-06
+ 1.559587e-02  8.001000e-03 -2.388669e-01 -3.133954e-01  1.618660e-04  3.451060e-05
+ 1.559587e-02  8.247211e-03 -2.388068e-01 -3.133366e-01 -8.932790e-05 -2.317905e-05
+ 1.559587e-02  8.486281e-03 -2.387443e-01 -3.132770e-01  2.211653e-04  7.377268e-05
+ 1.559587e-02  8.718798e-03 -2.387105e-01 -3.132252e-01  3.321580e-04  9.892604e-05
+ 1.559587e-02  8.945272e-03 -2.386943e-01 -3.131776e-01  2.908718e-04  9.468091e-05
+ 1.559587e-02  9.166151e-03 -2.386722e-01 -3.131268e-01  3.502187e-04  1.135305e-04
+ 1.559587e-02  9.381832e-03 -2.386538e-01 -3.130761e-01  3.429863e-04  1.094654e-04
+ 1.559587e-02  9.592663e-03 -2.386491e-01 -3.130294e-01  1.544577e-04  5.728936e-05
+ 1.559587e-02  9.798959e-03 -2.386862e-01 -3.129975e-01  8.075972e-05  2.969885e-05
+ 1.559587e-02  1.000100e-02 -2.389336e-01 -3.130329e-01  4.374690e-04  1.209941e-04
+ 1.559587e-02  1.019904e-02 -2.390173e-01 -3.130122e-01 -4.043264e-04 -1.377771e-04
+ 1.559587e-02  1.039330e-02 -2.389899e-01 -3.129560e-01 -2.946257e-05 -8.323121e-06
+ 1.559587e-02  1.058401e-02 -2.388868e-01 -3.128747e-01  1.624360e-04  4.951854e-05
+ 1.559587e-02  1.077133e-02 -2.388453e-01 -3.128105e-01 -3.997457e-05 -1.597330e-05
+ 1.559587e-02  1.095545e-02 -2.387849e-01 -3.127377e-01  3.199811e-04  9.934775e-05
+ 1.559587e-02  1.113653e-02 -2.386972e-01 -3.126533e-01  1.002346e-03  3.003758e-04
+ 1.559587e-02  1.131471e-02 -2.386375e-01 -3.125783e-01  1.803764e-04  6.771914e-05
+ 1.559587e-02  1.149013e-02 -2.386085e-01 -3.125120e-01 -7.991129e-05 -2.669565e-05
+ 1.559587e-02  1.166290e-02 -2.388402e-01 -3.125384e-01  8.332921e-04  2.091913e-04
+ 1.559587e-02  1.183316e-02 -2.389931e-01 -3.125309e-01  1.675979e-04  4.429141e-05
+ 1.559587e-02  1.200100e-02 -2.391352e-01 -3.125139e-01 -6.958663e-04 -2.343171e-04
+ 1.559587e-02  1.216653e-02 -2.394743e-01 -3.125434e-01  1.566418e-03  2.315859e-04
+ 1.559587e-02  1.232983e-02 -2.400653e-01 -3.125990e-01  1.203432e-03  1.514655e-04
+ 1.559587e-02  1.249100e-02 -2.397443e-01 -3.124759e-01  2.073874e-03 -1.405453e-04
+ 1.559587e-02  1.265011e-02 -2.393771e-01 -3.123184e-01 -4.258778e-04 -1.145060e-04
+ 1.559587e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.296248e-02 -2.398296e-01 -3.122471e-01 -2.398296e-01 -3.122471e-01
+ 1.559587e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.385741e-02 -2.395040e-01 -3.117958e-01 -2.395040e-01 -3.117958e-01
+ 1.559587e-02  1.400100e-02 -2.392968e-01 -3.116564e-01 -2.392968e-01 -3.116564e-01
+ 1.559587e-02  1.414314e-02 -2.391246e-01 -3.115509e-01 -2.400936e-04 -7.389030e-05
+ 1.559587e-02  1.428386e-02 -2.390444e-01 -3.115680e-01 -2.390444e-01 -3.115680e-01
+ 1.559587e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.559587e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.000000e-06 -2.367878e-01 -2.367879e-01  9.287601e-09 -1.770954e-07
+ 1.567773e-02  2.001000e-03 -2.375626e-01 -2.375628e-01 -1.266528e-07 -1.727278e-06
+ 1.567773e-02  2.829427e-03 -2.378285e-01 -3.135356e-01  8.635017e-08  1.001390e-08
+ 1.567773e-02  3.465102e-03 -2.380131e-01 -3.135668e-01  2.409316e-08 -1.205167e-08
+ 1.567773e-02  4.001000e-03 -2.381565e-01 -3.135840e-01  2.858569e-09 -8.772539e-09
+ 1.567773e-02  4.473136e-03 -2.382732e-01 -3.135918e-01  6.060419e-08 -2.833809e-09
+ 1.567773e-02  4.899979e-03 -2.383716e-01 -3.135932e-01 -5.895226e-07 -2.968986e-07
+ 1.567773e-02  5.292503e-03 -2.384523e-01 -3.135879e-01  5.920292e-06  2.431397e-06
+ 1.567773e-02  5.657854e-03 -2.385323e-01 -3.135826e-01  1.206673e-05  4.252653e-06
+ 1.567773e-02  6.001000e-03 -2.386622e-01 -3.135910e-01  2.226679e-04  6.577082e-05
+ 1.567773e-02  6.325555e-03 -2.388387e-01 -3.136108e-01 -1.364537e-04 -4.426887e-05
+ 1.567773e-02  6.634250e-03 -2.388260e-01 -3.135705e-01  1.367359e-05  8.858975e-06
+ 1.567773e-02  6.929203e-03 -2.388006e-01 -3.135255e-01 -1.409830e-04 -3.069344e-05
+ 1.567773e-02  7.212103e-03 -2.387871e-01 -3.134839e-01 -4.544344e-05 -6.298677e-06
+ 1.567773e-02  7.484315e-03 -2.388391e-01 -3.134648e-01  1.580138e-05  1.542049e-05
+ 1.567773e-02  7.746967e-03 -2.389189e-01 -3.134566e-01  9.569522e-06 -1.330340e-05
+ 1.567773e-02  8.001000e-03 -2.389368e-01 -3.134263e-01 -2.149391e-04 -5.051345e-05
+ 1.567773e-02  8.247211e-03 -2.389543e-01 -3.133949e-01 -2.513813e-04 -7.528785e-05
+ 1.567773e-02  8.486281e-03 -2.389669e-01 -3.133609e-01 -1.317504e-04 -2.127485e-05
+ 1.567773e-02  8.718798e-03 -2.389992e-01 -3.133310e-01 -2.802700e-04 -8.309891e-05
+ 1.567773e-02  8.945272e-03 -2.390291e-01 -3.132985e-01 -2.125902e-04 -6.025457e-05
+ 1.567773e-02  9.166151e-03 -2.390397e-01 -3.132592e-01 -2.641514e-04 -7.584356e-05
+ 1.567773e-02  9.381832e-03 -2.390654e-01 -3.132240e-01 -2.260532e-04 -6.194766e-05
+ 1.567773e-02  9.592663e-03 -2.391130e-01 -3.131938e-01 -3.521658e-04 -1.011516e-04
+ 1.567773e-02  9.798959e-03 -2.391603e-01 -3.131623e-01 -1.200836e-04 -2.372834e-05
+ 1.567773e-02  1.000100e-02 -2.392330e-01 -3.131372e-01 -1.799016e-04 -4.850434e-05
+ 1.567773e-02  1.019904e-02 -2.392942e-01 -3.131069e-01  5.894938e-05  1.811765e-05
+ 1.567773e-02  1.039330e-02 -2.393534e-01 -3.130747e-01 -6.744047e-04 -2.010883e-04
+ 1.567773e-02  1.058401e-02 -2.393525e-01 -3.130228e-01  1.480242e-04  4.531047e-05
+ 1.567773e-02  1.077133e-02 -2.393323e-01 -3.129625e-01 -7.681510e-05 -2.883024e-06
+ 1.567773e-02  1.095545e-02 -2.393317e-01 -3.129064e-01 -9.148764e-05 -1.310880e-05
+ 1.567773e-02  1.113653e-02 -2.394508e-01 -3.128896e-01 -3.445955e-04 -7.501695e-05
+ 1.567773e-02  1.131471e-02 -2.394028e-01 -3.128191e-01 -4.869233e-04 -1.282423e-04
+ 1.567773e-02  1.149013e-02 -2.396711e-01 -3.128426e-01 -2.236318e-04 -7.685892e-05
+ 1.567773e-02  1.166290e-02 -2.395267e-01 -3.127531e-01 -2.220031e-04 -6.683216e-05
+ 1.567773e-02  1.183316e-02 -2.399481e-01 -3.128153e-01  1.727219e-03  3.426426e-04
+ 1.567773e-02  1.200100e-02 -2.399082e-01 -3.127473e-01  1.929103e-03  3.769855e-04
+ 1.567773e-02  1.216653e-02 -2.399187e-01 -3.126899e-01 -9.176435e-04 -2.455896e-04
+ 1.567773e-02  1.232983e-02 -2.392278e-01 -3.124706e-01  8.792004e-04  1.919727e-04
+ 1.567773e-02  1.249100e-02 -2.392010e-01 -3.123988e-01  2.530226e-03  4.145156e-04
+ 1.567773e-02  1.265011e-02 -2.399681e-01 -3.124877e-01  1.651221e-03  1.063382e-06
+ 1.567773e-02  1.280725e-02 -2.403160e-01 -3.124757e-01 -2.403160e-01 -3.124757e-01
+ 1.567773e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.311588e-02 -2.394278e-01 -3.122166e-01 -2.394278e-01 -3.122166e-01
+ 1.567773e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.356566e-02 -2.395122e-01 -3.119864e-01 -2.395122e-01 -3.119864e-01
+ 1.567773e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.400100e-02 -2.396344e-01 -3.116681e-01 -2.396344e-01 -3.116681e-01
+ 1.567773e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.428386e-02 -2.395188e-01 -3.112641e-01 -2.395188e-01 -3.112641e-01
+ 1.567773e-02  1.442321e-02 -2.389444e-01 -3.115439e-01 -1.313390e-03 -3.813434e-04
+ 1.567773e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.567773e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.000000e-06 -2.370669e-01 -2.370683e-01 -1.447852e-06 -2.071630e-06
+ 1.575917e-02  2.001000e-03 -2.378344e-01 -3.135610e-01 -2.599689e-08 -5.510132e-09
+ 1.575917e-02  2.829427e-03 -2.380967e-01 -3.136194e-01  8.397065e-07  2.529465e-07
+ 1.575917e-02  3.465102e-03 -2.382778e-01 -3.136500e-01  5.899556e-08 -1.347823e-08
+ 1.575917e-02  4.001000e-03 -2.384158e-01 -3.136657e-01  1.841531e-06  9.630212e-07
+ 1.575917e-02  4.473136e-03 -2.385394e-01 -3.136770e-01  3.284404e-07  1.115513e-07
+ 1.575917e-02  4.899979e-03 -2.386608e-01 -3.136837e-01 -6.474074e-05 -1.651347e-05
+ 1.575917e-02  5.292503e-03 -2.387641e-01 -3.136865e-01 -4.000951e-05 -1.204191e-05
+ 1.575917e-02  5.657854e-03 -2.387476e-01 -3.136506e-01  6.165910e-05  2.157501e-05
+ 1.575917e-02  6.001000e-03 -2.387506e-01 -3.136213e-01 -8.789330e-05 -2.348010e-05
+ 1.575917e-02  6.325555e-03 -2.388736e-01 -3.136296e-01  3.619892e-05  1.147008e-05
+ 1.575917e-02  6.634250e-03 -2.389658e-01 -3.136253e-01 -8.681471e-06 -1.984500e-06
+ 1.575917e-02  6.929203e-03 -2.390098e-01 -3.136044e-01  1.315322e-05  7.724872e-06
+ 1.575917e-02  7.212103e-03 -2.390500e-01 -3.135819e-01 -2.260786e-05 -1.062456e-05
+ 1.575917e-02  7.484315e-03 -2.390879e-01 -3.135584e-01 -1.755705e-06 -7.130524e-07
+ 1.575917e-02  7.746967e-03 -2.391264e-01 -3.135346e-01  1.413921e-06  5.159711e-07
+ 1.575917e-02  8.001000e-03 -2.391638e-01 -3.135092e-01 -5.495063e-06 -1.710747e-06
+ 1.575917e-02  8.247211e-03 -2.391977e-01 -3.134818e-01 -1.870233e-06 -6.038443e-07
+ 1.575917e-02  8.486281e-03 -2.392313e-01 -3.134531e-01  2.530895e-06  5.182135e-07
+ 1.575917e-02  8.718798e-03 -2.392599e-01 -3.134219e-01  1.966695e-06  2.615281e-07
+ 1.575917e-02  8.945272e-03 -2.393076e-01 -3.133956e-01 -7.281469e-06 -1.592472e-06
+ 1.575917e-02  9.166151e-03 -2.393554e-01 -3.133677e-01 -2.126309e-05 -6.669495e-06
+ 1.575917e-02  9.381832e-03 -2.393795e-01 -3.133322e-01 -1.909949e-06 -7.052322e-07
+ 1.575917e-02  9.592663e-03 -2.394837e-01 -3.133202e-01 -4.154946e-05 -1.271956e-05
+ 1.575917e-02  9.798959e-03 -2.394793e-01 -3.132731e-01 -3.108031e-06 -9.057406e-07
+ 1.575917e-02  1.000100e-02 -2.394658e-01 -3.132218e-01 -2.072807e-05 -6.387741e-06
+ 1.575917e-02  1.019904e-02 -2.394342e-01 -3.131638e-01  5.419135e-06  2.617891e-06
+ 1.575917e-02  1.039330e-02 -2.395391e-01 -3.131479e-01  1.607775e-04  5.239026e-05
+ 1.575917e-02  1.058401e-02 -2.396792e-01 -3.131428e-01 -1.640453e-05 -6.868199e-06
+ 1.575917e-02  1.077133e-02 -2.396310e-01 -3.130745e-01 -1.443453e-05 -3.242024e-06
+ 1.575917e-02  1.095545e-02 -2.396086e-01 -3.130123e-01  1.406460e-05  4.324641e-06
+ 1.575917e-02  1.113653e-02 -2.395936e-01 -3.129530e-01  2.489982e-05  8.365931e-06
+ 1.575917e-02  1.131471e-02 -2.395662e-01 -3.128955e-01 -1.000385e-03 -2.975221e-04
+ 1.575917e-02  1.149013e-02 -2.394331e-01 -3.128078e-01  4.702573e-04  1.378553e-04
+ 1.575917e-02  1.166290e-02 -2.398176e-01 -3.128573e-01  1.159086e-03  2.960379e-04
+ 1.575917e-02  1.183316e-02 -2.397044e-01 -3.127544e-01 -2.802264e-04 -7.756228e-05
+ 1.575917e-02  1.200100e-02 -2.393581e-01 -3.125978e-01 -6.899349e-04 -2.114321e-04
+ 1.575917e-02  1.216653e-02 -2.400806e-01 -3.127227e-01  1.854203e-03  2.036486e-04
+ 1.575917e-02  1.232983e-02 -2.408479e-01 -3.127514e-01  1.805004e-04  6.586267e-06
+ 1.575917e-02  1.249100e-02 -2.416988e-01 -3.128176e-01 -2.416988e-01 -3.128176e-01
+ 1.575917e-02  1.265011e-02 -2.408587e-01 -3.125975e-01  1.208468e-03  1.536540e-04
+ 1.575917e-02  1.280725e-02 -2.398060e-01 -3.123734e-01 -7.124487e-05 -5.410166e-05
+ 1.575917e-02  1.296248e-02 -2.397954e-01 -3.122992e-01  2.224070e-04 -1.815328e-05
+ 1.575917e-02  1.311588e-02 -2.389361e-01 -3.120701e-01 -2.389361e-01 -3.120701e-01
+ 1.575917e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.371231e-02 -2.390486e-01 -3.118212e-01 -5.447044e-04 -9.979365e-05
+ 1.575917e-02  1.385741e-02 -2.391688e-01 -3.117616e-01 -6.646553e-04 -9.720091e-05
+ 1.575917e-02  1.400100e-02 -2.396587e-01 -3.117610e-01 -2.396587e-01 -3.117610e-01
+ 1.575917e-02  1.414314e-02 -2.395674e-01 -3.116356e-01 -4.005462e-04  7.869748e-06
+ 1.575917e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.575917e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.000000e-06 -2.373685e-01 -2.373679e-01  1.098765e-06  1.023355e-06
+ 1.584019e-02  2.001000e-03 -2.381045e-01 -2.381044e-01  5.002054e-07  5.048474e-07
+ 1.584019e-02  2.829427e-03 -2.383627e-01 -3.137021e-01  7.379348e-08  5.786739e-08
+ 1.584019e-02  3.465102e-03 -2.385439e-01 -3.137335e-01  2.673235e-06  7.766900e-07
+ 1.584019e-02  4.001000e-03 -2.386874e-01 -3.137509e-01 -5.344082e-06 -1.593580e-06
+ 1.584019e-02  4.473136e-03 -2.387608e-01 -3.137469e-01 -2.866236e-05 -8.582818e-06
+ 1.584019e-02  4.899979e-03 -2.388547e-01 -3.137474e-01 -5.028062e-05 -1.654284e-05
+ 1.584019e-02  5.292503e-03 -2.389784e-01 -3.137573e-01 -8.897382e-06 -2.745514e-06
+ 1.584019e-02  5.657854e-03 -2.390432e-01 -3.137477e-01 -8.043776e-08 -1.590289e-08
+ 1.584019e-02  6.001000e-03 -2.391061e-01 -3.137366e-01  5.100767e-07  4.409976e-07
+ 1.584019e-02  6.325555e-03 -2.391615e-01 -3.137222e-01  4.933237e-06  2.796434e-06
+ 1.584019e-02  6.634250e-03 -2.392109e-01 -3.137052e-01 -1.126320e-05 -5.245173e-06
+ 1.584019e-02  6.929203e-03 -2.392578e-01 -3.136867e-01  4.015639e-08  6.823943e-08
+ 1.584019e-02  7.212103e-03 -2.393024e-01 -3.136669e-01  1.537612e-06  6.187264e-07
+ 1.584019e-02  7.484315e-03 -2.393540e-01 -3.136484e-01 -8.375496e-06 -2.947219e-06
+ 1.584019e-02  7.746967e-03 -2.394101e-01 -3.136299e-01  3.782747e-06  1.176835e-06
+ 1.584019e-02  8.001000e-03 -2.394086e-01 -3.135926e-01 -2.103143e-05 -6.596271e-06
+ 1.584019e-02  8.247211e-03 -2.394072e-01 -3.135545e-01 -3.139582e-05 -9.934363e-06
+ 1.584019e-02  8.486281e-03 -2.394467e-01 -3.135286e-01  2.732797e-05  8.275836e-06
+ 1.584019e-02  8.718798e-03 -2.395027e-01 -3.135063e-01 -6.919051e-06 -2.334302e-06
+ 1.584019e-02  8.945272e-03 -2.395224e-01 -3.134715e-01 -1.443820e-05 -4.420496e-06
+ 1.584019e-02  9.166151e-03 -2.395644e-01 -3.134433e-01  4.829592e-05  1.514813e-05
+ 1.584019e-02  9.381832e-03 -2.396440e-01 -3.134269e-01  3.689792e-05  1.185321e-05
+ 1.584019e-02  9.592663e-03 -2.396514e-01 -3.133838e-01 -3.452601e-05 -1.182855e-05
+ 1.584019e-02  9.798959e-03 -2.396281e-01 -3.133294e-01 -4.871469e-07 -6.526558e-07
+ 1.584019e-02  1.000100e-02 -2.396073e-01 -3.132750e-01  9.892496e-06  3.593809e-06
+ 1.584019e-02  1.019904e-02 -2.395781e-01 -3.132170e-01  9.914050e-05  3.540817e-05
+ 1.584019e-02  1.039330e-02 -2.395915e-01 -3.131723e-01  7.995828e-05  2.848640e-05
+ 1.584019e-02  1.058401e-02 -2.397396e-01 -3.131717e-01 -2.631694e-05 -7.874320e-06
+ 1.584019e-02  1.077133e-02 -2.397325e-01 -3.131179e-01  2.290528e-04  7.276011e-05
+ 1.584019e-02  1.095545e-02 -2.398898e-01 -3.131184e-01  2.186313e-03  5.990641e-04
+ 1.584019e-02  1.113653e-02 -2.398576e-01 -3.130540e-01  1.096855e-03  2.753386e-04
+ 1.584019e-02  1.131471e-02 -2.398330e-01 -3.129861e-01 -2.080666e-04 -8.560162e-05
+ 1.584019e-02  1.149013e-02 -2.397913e-01 -3.129087e-01 -6.086609e-04 -1.734821e-04
+ 1.584019e-02  1.166290e-02 -2.399102e-01 -3.128906e-01  3.172381e-05  8.129980e-07
+ 1.584019e-02  1.183316e-02 -2.407345e-01 -3.130136e-01 -5.532083e-04 -1.084749e-04
+ 1.584019e-02  1.200100e-02 -2.413023e-01 -3.130981e-01 -2.954393e-04 -8.597839e-05
+ 1.584019e-02  1.216653e-02 -2.409625e-01 -3.129283e-01 -2.409625e-01 -3.129283e-01
+ 1.584019e-02  1.232983e-02 -2.419953e-01 -3.129684e-01 -9.053258e-04 -2.457416e-04
+ 1.584019e-02  1.249100e-02 -2.411068e-01 -3.127484e-01  1.264424e-03  2.855695e-04
+ 1.584019e-02  1.265011e-02 -2.415976e-01 -3.127328e-01  5.649636e-05  1.629583e-06
+ 1.584019e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.296248e-02 -2.411030e-01 -3.124585e-01 -2.411030e-01 -3.124585e-01
+ 1.584019e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.385741e-02 -2.391792e-01 -3.118354e-01 -3.538112e-04 -7.821327e-05
+ 1.584019e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.414314e-02 -2.395360e-01 -3.117840e-01 -3.863169e-04 -2.039830e-04
+ 1.584019e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.584019e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.000000e-06 -2.376255e-01 -2.376264e-01 -6.491422e-07 -5.754880e-07
+ 1.592080e-02  2.001000e-03 -2.383721e-01 -2.383721e-01  4.035705e-08  3.034345e-08
+ 1.592080e-02  2.829427e-03 -2.386283e-01 -3.137843e-01 -5.955310e-07  1.903690e-08
+ 1.592080e-02  3.465102e-03 -2.387911e-01 -3.138101e-01  7.505183e-06  2.493387e-06
+ 1.592080e-02  4.001000e-03 -2.389487e-01 -3.138335e-01 -4.404838e-06 -1.326974e-06
+ 1.592080e-02  4.473136e-03 -2.390551e-01 -3.138395e-01  1.052572e-07  9.531657e-09
+ 1.592080e-02  4.899979e-03 -2.391476e-01 -3.138406e-01 -3.992452e-08 -4.028329e-08
+ 1.592080e-02  5.292503e-03 -2.392278e-01 -3.138370e-01  2.396969e-07  9.583728e-08
+ 1.592080e-02  5.657854e-03 -2.392983e-01 -3.138296e-01  1.030095e-06  5.869004e-07
+ 1.592080e-02  6.001000e-03 -2.393634e-01 -3.138196e-01 -2.617966e-06 -1.501512e-06
+ 1.592080e-02  6.325555e-03 -2.394069e-01 -3.138026e-01  3.211125e-06  8.950710e-07
+ 1.592080e-02  6.634250e-03 -2.394627e-01 -3.137883e-01  8.460743e-07  2.753660e-07
+ 1.592080e-02  6.929203e-03 -2.395099e-01 -3.137705e-01  1.297859e-06  3.364026e-07
+ 1.592080e-02  7.212103e-03 -2.395557e-01 -3.137514e-01  1.168572e-06  4.721003e-07
+ 1.592080e-02  7.484315e-03 -2.396094e-01 -3.137344e-01 -8.322051e-06 -2.886930e-06
+ 1.592080e-02  7.746967e-03 -2.396400e-01 -3.137085e-01 -8.437482e-06 -2.860208e-06
+ 1.592080e-02  8.001000e-03 -2.396394e-01 -3.136712e-01 -2.588373e-06 -8.324610e-07
+ 1.592080e-02  8.247211e-03 -2.396487e-01 -3.136365e-01  3.236758e-05  1.086631e-05
+ 1.592080e-02  8.486281e-03 -2.397401e-01 -3.136278e-01  4.794298e-05  1.382403e-05
+ 1.592080e-02  8.718798e-03 -2.397689e-01 -3.135975e-01  1.749856e-04  5.496724e-05
+ 1.592080e-02  8.945272e-03 -2.397329e-01 -3.135457e-01  2.966443e-05  9.168656e-06
+ 1.592080e-02  9.166151e-03 -2.397970e-01 -3.135248e-01 -2.105839e-05 -6.348638e-06
+ 1.592080e-02  9.381832e-03 -2.399849e-01 -3.135406e-01  8.942079e-04  2.511861e-04
+ 1.592080e-02  9.592663e-03 -2.405738e-01 -3.136684e-01  3.241749e-04  6.346049e-05
+ 1.592080e-02  9.798959e-03 -2.399933e-01 -3.134559e-01 -1.158508e-04 -3.506883e-05
+ 1.592080e-02  1.000100e-02 -2.400744e-01 -3.134332e-01  1.723595e-03  4.776916e-04
+ 1.592080e-02  1.019904e-02 -2.400056e-01 -3.133620e-01  1.841372e-03  5.140239e-04
+ 1.592080e-02  1.039330e-02 -2.399800e-01 -3.133035e-01  1.104683e-03  2.897545e-04
+ 1.592080e-02  1.058401e-02 -2.412610e-01 -3.136053e-01  5.702103e-04  1.640071e-04
+ 1.592080e-02  1.077133e-02 -2.401793e-01 -3.132659e-01 -2.223556e-04 -7.122770e-05
+ 1.592080e-02  1.095545e-02 -2.400364e-01 -3.131720e-01  5.148184e-04  1.343003e-04
+ 1.592080e-02  1.113653e-02 -2.411278e-01 -3.134016e-01  1.281915e-04  2.988063e-05
+ 1.592080e-02  1.131471e-02 -2.409700e-01 -3.132625e-01  1.173297e-03  3.569890e-04
+ 1.592080e-02  1.149013e-02 -2.425297e-01 -3.136266e-01  4.112253e-05  4.295662e-05
+ 1.592080e-02  1.166290e-02 -2.431436e-01 -3.136896e-01  1.866547e-04 -5.509781e-05
+ 1.592080e-02  1.183316e-02 -2.421975e-01 -3.133660e-01 -1.205465e-03 -3.126806e-04
+ 1.592080e-02  1.200100e-02 -2.411150e-01 -3.130503e-01 -1.276973e-03 -2.818340e-04
+ 1.592080e-02  1.216653e-02 -2.410985e-01 -3.129919e-01 -9.576012e-05 -1.767174e-05
+ 1.592080e-02  1.232983e-02 -2.409843e-01 -3.128998e-01  1.926887e-03  3.658783e-04
+ 1.592080e-02  1.249100e-02 -2.421554e-01 -3.129472e-01 -3.261404e-04 -5.364689e-06
+ 1.592080e-02  1.265011e-02 -2.416319e-01 -3.128223e-01 -2.416319e-01 -3.128223e-01
+ 1.592080e-02  1.280725e-02 -2.411331e-01 -3.125933e-01  1.383184e-03  5.670737e-04
+ 1.592080e-02  1.296248e-02 -2.413925e-01 -3.125071e-01  6.695900e-04  2.641216e-04
+ 1.592080e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.356566e-02 -2.399652e-01 -3.120431e-01 -2.399652e-01 -3.120431e-01
+ 1.592080e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.592080e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.000000e-06 -2.378957e-01 -2.378956e-01 -2.257918e-08  1.501212e-07
+ 1.600100e-02  2.001000e-03 -2.386379e-01 -2.386379e-01  1.753738e-08  7.909492e-09
+ 1.600100e-02  2.829427e-03 -2.388892e-01 -3.138656e-01  1.128372e-05  3.419574e-06
+ 1.600100e-02  3.465102e-03 -2.390693e-01 -3.138967e-01 -9.667890e-09  7.990431e-10
+ 1.600100e-02  4.001000e-03 -2.392038e-01 -3.139130e-01 -1.050557e-07 -2.701764e-08
+ 1.600100e-02  4.473136e-03 -2.393151e-01 -3.139212e-01 -1.154273e-06 -4.483305e-07
+ 1.600100e-02  4.899979e-03 -2.394056e-01 -3.139222e-01 -8.297637e-08 -3.541857e-09
+ 1.600100e-02  5.292503e-03 -2.394865e-01 -3.139193e-01 -1.390392e-06 -6.638913e-07
+ 1.600100e-02  5.657854e-03 -2.395576e-01 -3.139128e-01  7.540356e-07  2.680754e-07
+ 1.600100e-02  6.001000e-03 -2.396226e-01 -3.139038e-01  6.733991e-06  2.151806e-06
+ 1.600100e-02  6.325555e-03 -2.396550e-01 -3.138833e-01  2.762636e-05  9.090605e-06
+ 1.600100e-02  6.634250e-03 -2.397471e-01 -3.138814e-01  1.442206e-05  4.191634e-06
+ 1.600100e-02  6.929203e-03 -2.398211e-01 -3.138716e-01 -7.891226e-06 -2.180958e-06
+ 1.600100e-02  7.212103e-03 -2.398515e-01 -3.138489e-01 -9.323291e-06 -2.165436e-06
+ 1.600100e-02  7.484315e-03 -2.398983e-01 -3.138304e-01  4.167500e-06  9.190399e-07
+ 1.600100e-02  7.746967e-03 -2.399609e-01 -3.138159e-01 -8.073366e-06 -2.865140e-06
+ 1.600100e-02  8.001000e-03 -2.400065e-01 -3.137947e-01  1.127394e-06 -2.096305e-07
+ 1.600100e-02  8.247211e-03 -2.399954e-01 -3.137541e-01 -5.930358e-05 -1.936433e-05
+ 1.600100e-02  8.486281e-03 -2.400941e-01 -3.137484e-01 -3.238917e-05 -1.038493e-05
+ 1.600100e-02  8.718798e-03 -2.403507e-01 -3.137927e-01  5.210672e-04  1.447647e-04
+ 1.600100e-02  8.945272e-03 -2.405020e-01 -3.137964e-01 -3.108969e-04 -9.196524e-05
+ 1.600100e-02  9.166151e-03 -2.408779e-01 -3.138512e-01  5.987108e-06 -2.165380e-05
+ 1.600100e-02  9.381832e-03 -2.408596e-01 -3.138007e-01  1.014687e-03  2.944471e-04
+ 1.600100e-02  9.592663e-03 -2.418487e-01 -3.140473e-01  2.785591e-04  7.487425e-05
+ 1.600100e-02  9.798959e-03 -2.418252e-01 -3.139925e-01 -5.139049e-04 -1.590567e-04
+ 1.600100e-02  1.000100e-02 -2.408694e-01 -3.136646e-01  1.074553e-03  3.102476e-04
+ 1.600100e-02  1.019904e-02 -2.413923e-01 -3.137697e-01 -4.109719e-04 -1.068455e-04
+ 1.600100e-02  1.039330e-02 -2.409236e-01 -3.135584e-01  9.028292e-04  2.746722e-04
+ 1.600100e-02  1.058401e-02 -2.409332e-01 -3.135312e-01  3.928343e-04  1.327923e-04
+ 1.600100e-02  1.077133e-02 -2.409406e-01 -3.134385e-01 -1.718026e-07 -7.030175e-06
+ 1.600100e-02  1.095545e-02 -2.409593e-01 -3.133976e-01 -2.292419e-05  1.541356e-05
+ 1.600100e-02  1.113653e-02 -2.411733e-01 -3.134179e-01 -2.037399e-04 -7.166045e-05
+ 1.600100e-02  1.131471e-02 -2.409488e-01 -3.133025e-01  6.290730e-04  1.743485e-04
+ 1.600100e-02  1.149013e-02 -2.412562e-01 -3.133264e-01 -1.103817e-03 -2.479548e-04
+ 1.600100e-02  1.166290e-02 -2.418287e-01 -3.133918e-01  1.342066e-03  2.784020e-04
+ 1.600100e-02  1.183316e-02 -2.409953e-01 -3.131077e-01  1.583121e-03  4.239008e-04
+ 1.600100e-02  1.200100e-02 -2.410031e-01 -3.130348e-01 -2.410031e-01 -3.130348e-01
+ 1.600100e-02  1.216653e-02 -2.417136e-01 -3.131473e-01  1.176608e-03  2.828252e-04
+ 1.600100e-02  1.232983e-02 -2.421925e-01 -3.131573e-01 -1.260660e-03 -5.618952e-04
+ 1.600100e-02  1.249100e-02 -2.416830e-01 -3.130413e-01 -5.154845e-04 -6.282066e-05
+ 1.600100e-02  1.265011e-02 -2.427267e-01 -3.132136e-01 -3.281154e-04 -1.699204e-04
+ 1.600100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.296248e-02 -2.406300e-01 -3.124027e-01 -3.992933e-04  1.300520e-04
+ 1.600100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.600100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.000000e-06 -2.381640e-01 -2.381640e-01  1.751252e-08 -7.973017e-08
+ 1.608080e-02  2.001000e-03 -2.389045e-01 -2.389045e-01  1.027584e-05  1.027601e-05
+ 1.608080e-02  2.829427e-03 -2.391559e-01 -3.139471e-01  1.881444e-08 -4.739353e-09
+ 1.608080e-02  3.465102e-03 -2.393306e-01 -3.139775e-01  2.071748e-06  6.327934e-07
+ 1.608080e-02  4.001000e-03 -2.394659e-01 -3.139946e-01 -1.238956e-08  3.583941e-08
+ 1.608080e-02  4.473136e-03 -2.395778e-01 -3.140036e-01 -3.102218e-07 -1.177845e-07
+ 1.608080e-02  4.899979e-03 -2.396663e-01 -3.140046e-01 -3.105620e-06 -9.308187e-07
+ 1.608080e-02  5.292503e-03 -2.397638e-01 -3.140075e-01  6.243623e-08 -6.709161e-08
+ 1.608080e-02  5.657854e-03 -2.398406e-01 -3.140037e-01 -2.126815e-07  1.581577e-08
+ 1.608080e-02  6.001000e-03 -2.399166e-01 -3.139987e-01  2.147230e-07  2.563671e-07
+ 1.608080e-02  6.325555e-03 -2.399899e-01 -3.139925e-01  1.647537e-05  5.358242e-06
+ 1.608080e-02  6.634250e-03 -2.400565e-01 -3.139836e-01  9.241661e-07 -2.862151e-08
+ 1.608080e-02  6.929203e-03 -2.401835e-01 -3.139938e-01  1.227842e-07 -4.160473e-07
+ 1.608080e-02  7.212103e-03 -2.402961e-01 -3.139988e-01 -6.090845e-05 -1.941191e-05
+ 1.608080e-02  7.484315e-03 -2.408772e-01 -3.141350e-01  5.087856e-04  1.512855e-04
+ 1.608080e-02  7.746967e-03 -2.408342e-01 -3.140767e-01  2.967110e-06  8.630259e-06
+ 1.608080e-02  8.001000e-03 -2.408459e-01 -3.140383e-01  7.608781e-07  7.498126e-06
+ 1.608080e-02  8.247211e-03 -2.408501e-01 -3.140069e-01  9.315478e-06  5.074675e-06
+ 1.608080e-02  8.486281e-03 -2.408520e-01 -3.139735e-01  8.157294e-04  2.449315e-04
+ 1.608080e-02  8.718798e-03 -2.408702e-01 -3.139317e-01 -8.510381e-05 -4.414964e-06
+ 1.608080e-02  8.945272e-03 -2.408662e-01 -3.138896e-01  8.692754e-06 -2.227245e-06
+ 1.608080e-02  9.166151e-03 -2.408747e-01 -3.138402e-01  5.931308e-07 -2.130225e-06
+ 1.608080e-02  9.381832e-03 -2.408850e-01 -3.138010e-01 -3.159523e-06  5.295537e-06
+ 1.608080e-02  9.592663e-03 -2.408875e-01 -3.137589e-01  3.910519e-06 -1.500743e-06
+ 1.608080e-02  9.798959e-03 -2.408945e-01 -3.137121e-01  4.462551e-06 -6.199796e-07
+ 1.608080e-02  1.000100e-02 -2.409046e-01 -3.136652e-01  5.937324e-07 -1.802532e-06
+ 1.608080e-02  1.019904e-02 -2.409131e-01 -3.136063e-01  7.471044e-07  7.175142e-06
+ 1.608080e-02  1.039330e-02 -2.409213e-01 -3.135581e-01 -2.382594e-07 -3.019561e-06
+ 1.608080e-02  1.058401e-02 -2.409296e-01 -3.135130e-01 -1.660252e-05  1.984355e-05
+ 1.608080e-02  1.077133e-02 -2.409379e-01 -3.134680e-01  3.280799e-07  4.678449e-06
+ 1.608080e-02  1.095545e-02 -2.409483e-01 -3.134226e-01  2.943122e-05  3.923744e-05
+ 1.608080e-02  1.113653e-02 -2.409527e-01 -3.133717e-01  2.509768e-05  8.637057e-06
+ 1.608080e-02  1.131471e-02 -2.410437e-01 -3.133373e-01 -5.356834e-05  5.862444e-06
+ 1.608080e-02  1.149013e-02 -2.401374e-01 -3.130689e-01 -1.070328e-05 -1.175127e-05
+ 1.608080e-02  1.166290e-02 -2.430429e-01 -3.136665e-01  1.140951e-03  1.853653e-04
+ 1.608080e-02  1.183316e-02 -2.410177e-01 -3.131089e-01  1.521807e-03  4.094625e-04
+ 1.608080e-02  1.200100e-02 -2.409984e-01 -3.130494e-01  5.131406e-05  1.016574e-05
+ 1.608080e-02  1.216653e-02 -2.433477e-01 -3.133764e-01 -2.433477e-01 -3.133764e-01
+ 1.608080e-02  1.232983e-02 -2.421806e-01 -3.131922e-01 -1.147020e-03 -2.449536e-04
+ 1.608080e-02  1.249100e-02 -2.424565e-01 -3.131777e-01  1.926737e-04 -2.656033e-04
+ 1.608080e-02  1.265011e-02 -2.419618e-01 -3.130751e-01 -4.757448e-04 -2.463585e-04
+ 1.608080e-02  1.280725e-02 -2.414944e-01 -3.127249e-01  8.393572e-04  3.213153e-04
+ 1.608080e-02  1.296248e-02 -2.417058e-01 -3.126411e-01 -1.412007e-04  1.904162e-04
+ 1.608080e-02  1.311588e-02 -2.422570e-01 -3.126496e-01 -1.177659e-03 -1.932720e-04
+ 1.608080e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.608080e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.000000e-06 -2.384295e-01 -2.384295e-01 -4.400129e-08 -3.515702e-08
+ 1.616021e-02  2.001000e-03 -2.391653e-01 -2.391653e-01 -3.072179e-10  1.606470e-08
+ 1.616021e-02  2.829427e-03 -2.394179e-01 -3.140275e-01 -2.361469e-08  1.093712e-09
+ 1.616021e-02  3.465102e-03 -2.395948e-01 -3.140591e-01 -1.784882e-07 -9.979024e-08
+ 1.616021e-02  4.001000e-03 -2.397359e-01 -3.140786e-01 -2.792078e-07 -7.720223e-08
+ 1.616021e-02  4.473136e-03 -2.398559e-01 -3.140910e-01  1.598315e-07  4.213046e-08
+ 1.616021e-02  4.899979e-03 -2.399677e-01 -3.141002e-01 -1.344175e-06 -3.558290e-07
+ 1.616021e-02  5.292503e-03 -2.400807e-01 -3.141097e-01 -2.660623e-06 -6.162968e-07
+ 1.616021e-02  5.657854e-03 -2.402078e-01 -3.141241e-01  1.273636e-06  2.134304e-07
+ 1.616021e-02  6.001000e-03 -2.407305e-01 -3.142529e-01  1.692642e-04  4.838855e-05
+ 1.616021e-02  6.325555e-03 -2.408241e-01 -3.142403e-01 -6.085347e-06  7.327009e-07
+ 1.616021e-02  6.634250e-03 -2.408151e-01 -3.142003e-01  2.165824e-05  1.019468e-05
+ 1.616021e-02  6.929203e-03 -2.408240e-01 -3.141681e-01  3.290885e-06  7.497864e-07
+ 1.616021e-02  7.212103e-03 -2.408330e-01 -3.141382e-01  5.889515e-06 -3.656959e-06
+ 1.616021e-02  7.484315e-03 -2.408411e-01 -3.141062e-01  6.423526e-06  6.896289e-06
+ 1.616021e-02  7.746967e-03 -2.408471e-01 -3.140701e-01  1.000828e-06  8.512438e-08
+ 1.616021e-02  8.001000e-03 -2.408482e-01 -3.140338e-01  5.289577e-07  4.595139e-09
+ 1.616021e-02  8.247211e-03 -2.408540e-01 -3.139947e-01  6.254061e-06  3.351361e-06
+ 1.616021e-02  8.486281e-03 -2.408596e-01 -3.139574e-01  2.750612e-06  6.537835e-06
+ 1.616021e-02  8.718798e-03 -2.408658e-01 -3.139218e-01  4.782522e-06  5.647701e-06
+ 1.616021e-02  8.945272e-03 -2.408713e-01 -3.138841e-01 -1.294103e-07 -2.917439e-06
+ 1.616021e-02  9.166151e-03 -2.408765e-01 -3.138423e-01  5.084435e-06  1.756967e-06
+ 1.616021e-02  9.381832e-03 -2.408854e-01 -3.138016e-01  1.565250e-06 -4.854101e-06
+ 1.616021e-02  9.592663e-03 -2.408927e-01 -3.137587e-01  2.569147e-06 -2.022195e-06
+ 1.616021e-02  9.798959e-03 -2.408993e-01 -3.137107e-01 -2.228119e-06  1.941405e-07
+ 1.616021e-02  1.000100e-02 -2.409039e-01 -3.136668e-01  5.154909e-06 -1.827975e-05
+ 1.616021e-02  1.019904e-02 -2.409097e-01 -3.136259e-01 -5.766187e-07  1.813594e-05
+ 1.616021e-02  1.039330e-02 -2.409156e-01 -3.135825e-01 -1.165304e-06 -6.580278e-07
+ 1.616021e-02  1.058401e-02 -2.409207e-01 -3.135356e-01  9.407990e-06 -7.809185e-06
+ 1.616021e-02  1.077133e-02 -2.409251e-01 -3.134873e-01 -5.530251e-06 -1.080365e-06
+ 1.616021e-02  1.095545e-02 -2.409363e-01 -3.134394e-01  9.527267e-04  2.411137e-04
+ 1.616021e-02  1.113653e-02 -2.409509e-01 -3.133940e-01 -6.361364e-04 -1.534187e-04
+ 1.616021e-02  1.131471e-02 -2.409688e-01 -3.133452e-01  1.414496e-04  3.388041e-05
+ 1.616021e-02  1.149013e-02 -2.409610e-01 -3.132895e-01 -4.309755e-07 -3.251246e-05
+ 1.616021e-02  1.166290e-02 -2.411740e-01 -3.132751e-01  1.424075e-03  3.521121e-04
+ 1.616021e-02  1.183316e-02 -2.401745e-01 -3.129819e-01  2.432479e-03  6.175595e-04
+ 1.616021e-02  1.200100e-02 -2.426304e-01 -3.135085e-01  7.490981e-04 -1.483616e-04
+ 1.616021e-02  1.216653e-02 -2.415339e-01 -3.131228e-01 -2.415339e-01 -3.131228e-01
+ 1.616021e-02  1.232983e-02 -2.410534e-01 -3.129508e-01 -4.084947e-05 -7.152386e-05
+ 1.616021e-02  1.249100e-02 -2.415072e-01 -3.130842e-01  8.422992e-04  1.839190e-04
+ 1.616021e-02  1.265011e-02 -2.422659e-01 -3.131034e-01 -9.550640e-04 -1.951752e-04
+ 1.616021e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.296248e-02 -2.427999e-01 -3.129081e-01 -1.116751e-03 -4.226013e-04
+ 1.616021e-02  1.311588e-02 -2.413600e-01 -3.124503e-01 -2.413600e-01 -3.124503e-01
+ 1.616021e-02  1.326750e-02 -2.418560e-01 -3.122087e-01 -1.793370e-04  3.571323e-04
+ 1.616021e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.549293e-02 -2.391108e-01 -3.114034e-01 -2.391108e-01 -3.114034e-01
+ 1.616021e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.616021e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.000000e-06 -2.386923e-01 -2.386923e-01 -1.786103e-07 -1.583000e-07
+ 1.623923e-02  2.001000e-03 -2.394262e-01 -2.394262e-01  1.953334e-08  1.166536e-08
+ 1.623923e-02  2.829427e-03 -2.396809e-01 -3.141082e-01 -1.201606e-06 -3.758105e-07
+ 1.623923e-02  3.465102e-03 -2.398675e-01 -3.141436e-01 -5.382808e-10 -4.054217e-08
+ 1.623923e-02  4.001000e-03 -2.400243e-01 -3.141692e-01  8.646193e-07  4.396700e-07
+ 1.623923e-02  4.473136e-03 -2.401874e-01 -3.141975e-01 -4.808069e-06 -1.892564e-06
+ 1.623923e-02  4.899979e-03 -2.407238e-01 -3.143337e-01  1.782533e-05  6.767597e-06
+ 1.623923e-02  5.292503e-03 -2.408121e-01 -3.143170e-01  6.157286e-07 -2.439083e-08
+ 1.623923e-02  5.657854e-03 -2.408061e-01 -3.142808e-01  1.845877e-05  5.746778e-06
+ 1.623923e-02  6.001000e-03 -2.408126e-01 -3.142513e-01 -5.256464e-07 -2.727609e-07
+ 1.623923e-02  6.325555e-03 -2.408224e-01 -3.142230e-01  7.254730e-06  1.579112e-06
+ 1.623923e-02  6.634250e-03 -2.408293e-01 -3.141937e-01 -4.731753e-07 -1.125199e-06
+ 1.623923e-02  6.929203e-03 -2.408334e-01 -3.141621e-01 -6.394376e-08  2.018981e-08
+ 1.623923e-02  7.212103e-03 -2.408358e-01 -3.141299e-01  1.734656e-06  5.246344e-07
+ 1.623923e-02  7.484315e-03 -2.408399e-01 -3.140972e-01  6.594846e-06  1.513053e-06
+ 1.623923e-02  7.746967e-03 -2.408451e-01 -3.140636e-01  1.360570e-06 -9.952820e-07
+ 1.623923e-02  8.001000e-03 -2.408503e-01 -3.140305e-01 -1.053819e-06  3.092698e-06
+ 1.623923e-02  8.247211e-03 -2.408560e-01 -3.139967e-01  2.782637e-07  1.201431e-07
+ 1.623923e-02  8.486281e-03 -2.408613e-01 -3.139604e-01  1.795169e-06  4.617900e-07
+ 1.623923e-02  8.718798e-03 -2.408673e-01 -3.139227e-01  1.350918e-06  5.334278e-07
+ 1.623923e-02  8.945272e-03 -2.408733e-01 -3.138843e-01  6.736097e-07 -3.536334e-07
+ 1.623923e-02  9.166151e-03 -2.408789e-01 -3.138444e-01  1.238189e-07 -3.391368e-07
+ 1.623923e-02  9.381832e-03 -2.408856e-01 -3.138024e-01  7.999510e-07  1.095200e-06
+ 1.623923e-02  9.592663e-03 -2.408911e-01 -3.137591e-01 -1.737043e-06  3.323362e-06
+ 1.623923e-02  9.798959e-03 -2.408959e-01 -3.137181e-01  4.427844e-06 -5.388017e-06
+ 1.623923e-02  1.000100e-02 -2.409011e-01 -3.136797e-01  4.963301e-06 -5.085062e-06
+ 1.623923e-02  1.019904e-02 -2.409058e-01 -3.136412e-01  2.972785e-06  6.112062e-06
+ 1.623923e-02  1.039330e-02 -2.409109e-01 -3.135997e-01  3.649929e-06 -6.686183e-06
+ 1.623923e-02  1.058401e-02 -2.409161e-01 -3.135537e-01  3.512240e-06  1.182504e-05
+ 1.623923e-02  1.077133e-02 -2.409184e-01 -3.135062e-01  5.038494e-06 -5.918459e-06
+ 1.623923e-02  1.095545e-02 -2.410994e-01 -3.135120e-01 -3.204485e-05 -2.178143e-05
+ 1.623923e-02  1.113653e-02 -2.410605e-01 -3.134560e-01  2.040372e-04  3.097430e-05
+ 1.623923e-02  1.131471e-02 -2.409227e-01 -3.133566e-01  2.548920e-05 -7.880319e-06
+ 1.623923e-02  1.149013e-02 -2.409384e-01 -3.133021e-01  4.161495e-05 -1.645508e-05
+ 1.623923e-02  1.166290e-02 -2.411014e-01 -3.132865e-01  6.335654e-04  1.662633e-04
+ 1.623923e-02  1.183316e-02 -2.412420e-01 -3.132368e-01 -7.855003e-04 -1.747099e-04
+ 1.623923e-02  1.200100e-02 -2.419105e-01 -3.133556e-01 -3.972505e-04 -1.107978e-04
+ 1.623923e-02  1.216653e-02 -2.418294e-01 -3.132793e-01  6.906360e-04  1.333306e-04
+ 1.623923e-02  1.232983e-02 -2.412223e-01 -3.130106e-01  4.906023e-04 -2.145861e-04
+ 1.623923e-02  1.249100e-02 -2.400792e-01 -3.127454e-01  9.393801e-04  1.450633e-04
+ 1.623923e-02  1.265011e-02 -2.407760e-01 -3.128248e-01  1.684025e-03  4.077608e-04
+ 1.623923e-02  1.280725e-02 -2.400122e-01 -3.126288e-01  1.033714e-03  1.802801e-04
+ 1.623923e-02  1.296248e-02 -2.426268e-01 -3.129439e-01 -1.199740e-03 -3.543689e-04
+ 1.623923e-02  1.311588e-02 -2.430997e-01 -3.129236e-01  2.783097e-04 -2.389934e-05
+ 1.623923e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.341741e-02 -2.422182e-01 -3.126589e-01 -1.096762e-03 -7.666497e-05
+ 1.623923e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.623923e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.000000e-06 -2.389492e-01 -2.389493e-01  2.405047e-06  2.387600e-06
+ 1.631786e-02  2.001000e-03 -2.396863e-01 -2.396863e-01  8.108330e-07  8.498646e-07
+ 1.631786e-02  2.829427e-03 -2.399538e-01 -3.141923e-01 -4.631139e-08  9.095991e-09
+ 1.631786e-02  3.465102e-03 -2.401712e-01 -3.142399e-01  1.041876e-06  3.483006e-07
+ 1.631786e-02  4.001000e-03 -2.407493e-01 -3.143903e-01 -4.863373e-05 -1.270093e-05
+ 1.631786e-02  4.473136e-03 -2.408050e-01 -3.143591e-01 -1.098390e-06 -4.248766e-07
+ 1.631786e-02  4.899979e-03 -2.408020e-01 -3.143253e-01  9.437341e-06  3.174615e-06
+ 1.631786e-02  5.292503e-03 -2.408072e-01 -3.142975e-01  1.620967e-07  2.254450e-07
+ 1.631786e-02  5.657854e-03 -2.408163e-01 -3.142716e-01  5.977144e-06  1.558853e-06
+ 1.631786e-02  6.001000e-03 -2.408222e-01 -3.142447e-01 -1.067705e-06 -2.914432e-07
+ 1.631786e-02  6.325555e-03 -2.408256e-01 -3.142164e-01  2.093958e-07  1.162216e-07
+ 1.631786e-02  6.634250e-03 -2.408283e-01 -3.141874e-01  5.810135e-07  4.207299e-07
+ 1.631786e-02  6.929203e-03 -2.408320e-01 -3.141578e-01  4.481355e-06  1.617844e-06
+ 1.631786e-02  7.212103e-03 -2.408367e-01 -3.141274e-01  1.611421e-06  4.779631e-07
+ 1.631786e-02  7.484315e-03 -2.408416e-01 -3.140966e-01 -3.042407e-07 -1.714052e-06
+ 1.631786e-02  7.746967e-03 -2.408469e-01 -3.140651e-01 -5.998544e-07  1.002433e-06
+ 1.631786e-02  8.001000e-03 -2.408521e-01 -3.140318e-01  2.362021e-06  2.612807e-07
+ 1.631786e-02  8.247211e-03 -2.408572e-01 -3.139973e-01  1.138834e-06  1.368950e-07
+ 1.631786e-02  8.486281e-03 -2.408627e-01 -3.139619e-01 -3.070165e-07 -8.979311e-07
+ 1.631786e-02  8.718798e-03 -2.408678e-01 -3.139256e-01 -6.302289e-07 -2.039390e-07
+ 1.631786e-02  8.945272e-03 -2.408733e-01 -3.138878e-01 -5.445739e-07 -5.470461e-07
+ 1.631786e-02  9.166151e-03 -2.408789e-01 -3.138485e-01 -3.622819e-07 -6.597151e-07
+ 1.631786e-02  9.381832e-03 -2.408835e-01 -3.138081e-01  1.518138e-06  1.981680e-07
+ 1.631786e-02  9.592663e-03 -2.408883e-01 -3.137680e-01  5.393547e-08  2.434965e-06
+ 1.631786e-02  9.798959e-03 -2.408936e-01 -3.137285e-01  3.267103e-06 -1.077750e-05
+ 1.631786e-02  1.000100e-02 -2.408986e-01 -3.136896e-01  3.978797e-06 -4.941020e-06
+ 1.631786e-02  1.019904e-02 -2.409037e-01 -3.136508e-01  6.517275e-06 -6.397486e-06
+ 1.631786e-02  1.039330e-02 -2.409096e-01 -3.136093e-01  6.996108e-06 -1.836111e-05
+ 1.631786e-02  1.058401e-02 -2.409193e-01 -3.135619e-01  3.861470e-07 -3.116469e-06
+ 1.631786e-02  1.077133e-02 -2.409268e-01 -3.135003e-01  3.773301e-06 -5.074015e-06
+ 1.631786e-02  1.095545e-02 -2.409366e-01 -3.134449e-01 -9.281875e-06  9.433456e-06
+ 1.631786e-02  1.113653e-02 -2.409438e-01 -3.133928e-01  9.965020e-07 -4.416821e-06
+ 1.631786e-02  1.131471e-02 -2.409511e-01 -3.133418e-01  1.881344e-06  1.178844e-06
+ 1.631786e-02  1.149013e-02 -2.409595e-01 -3.132811e-01 -4.602772e-07 -1.442242e-06
+ 1.631786e-02  1.166290e-02 -2.409713e-01 -3.132166e-01 -2.088145e-06  5.267999e-06
+ 1.631786e-02  1.183316e-02 -2.409799e-01 -3.131610e-01 -8.434710e-06  8.087085e-06
+ 1.631786e-02  1.200100e-02 -2.409889e-01 -3.131008e-01  1.999827e-04  6.551262e-05
+ 1.631786e-02  1.216653e-02 -2.409983e-01 -3.130367e-01  1.132015e-03  3.509819e-04
+ 1.631786e-02  1.232983e-02 -2.410102e-01 -3.129767e-01  2.409534e-04  1.175048e-04
+ 1.631786e-02  1.249100e-02 -2.409195e-01 -3.128993e-01  1.526728e-03  2.967264e-04
+ 1.631786e-02  1.265011e-02 -2.415665e-01 -3.130179e-01 -5.201675e-04 -2.871516e-04
+ 1.631786e-02  1.280725e-02 -2.409838e-01 -3.128032e-01  9.961445e-04  2.248741e-04
+ 1.631786e-02  1.296248e-02 -2.407003e-01 -3.126929e-01 -1.216706e-03 -1.880989e-04
+ 1.631786e-02  1.311588e-02 -2.410680e-01 -3.126022e-01 -1.207406e-03 -1.938807e-04
+ 1.631786e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.356566e-02 -2.416162e-01 -3.125451e-01 -1.675681e-03 -2.126298e-04
+ 1.631786e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.631786e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.000000e-06 -2.392067e-01 -2.392067e-01 -8.941863e-10  4.377305e-08
+ 1.639612e-02  2.001000e-03 -2.399495e-01 -2.399495e-01  2.881858e-10 -2.572652e-08
+ 1.639612e-02  2.829427e-03 -2.402569e-01 -3.142895e-01  1.409359e-07  4.163779e-09
+ 1.639612e-02  3.465102e-03 -2.407424e-01 -3.143912e-01  5.796496e-05  1.565208e-05
+ 1.639612e-02  4.001000e-03 -2.408039e-01 -3.143678e-01  2.415264e-06  7.993198e-07
+ 1.639612e-02  4.473136e-03 -2.408010e-01 -3.143387e-01  1.438236e-05  4.294208e-06
+ 1.639612e-02  4.899979e-03 -2.408079e-01 -3.143151e-01 -9.624507e-07  5.168755e-08
+ 1.639612e-02  5.292503e-03 -2.408151e-01 -3.142917e-01  2.800873e-06  9.403040e-07
+ 1.639612e-02  5.657854e-03 -2.408193e-01 -3.142669e-01 -1.001662e-06 -3.869183e-07
+ 1.639612e-02  6.001000e-03 -2.408220e-01 -3.142410e-01  2.120241e-07 -7.812404e-08
+ 1.639612e-02  6.325555e-03 -2.408249e-01 -3.142142e-01  1.241429e-06  2.180847e-07
+ 1.639612e-02  6.634250e-03 -2.408286e-01 -3.141866e-01  3.753980e-06  1.067011e-06
+ 1.639612e-02  6.929203e-03 -2.408330e-01 -3.141581e-01  6.600977e-07  3.432423e-07
+ 1.639612e-02  7.212103e-03 -2.408377e-01 -3.141289e-01 -7.848656e-07 -8.073836e-07
+ 1.639612e-02  7.484315e-03 -2.408428e-01 -3.140985e-01  3.939586e-07  1.066631e-07
+ 1.639612e-02  7.746967e-03 -2.408477e-01 -3.140667e-01  1.101138e-06  1.838027e-07
+ 1.639612e-02  8.001000e-03 -2.408527e-01 -3.140339e-01 -4.857287e-07 -6.615048e-08
+ 1.639612e-02  8.247211e-03 -2.408577e-01 -3.140002e-01 -1.435642e-06 -2.929015e-07
+ 1.639612e-02  8.486281e-03 -2.408624e-01 -3.139653e-01 -4.890569e-07 -2.263711e-07
+ 1.639612e-02  8.718798e-03 -2.408674e-01 -3.139292e-01  3.738059e-07  5.295685e-07
+ 1.639612e-02  8.945272e-03 -2.408724e-01 -3.138919e-01  4.329269e-07 -5.649494e-07
+ 1.639612e-02  9.166151e-03 -2.408770e-01 -3.138539e-01  1.184170e-06 -7.558595e-07
+ 1.639612e-02  9.381832e-03 -2.408817e-01 -3.138157e-01  8.199019e-07 -2.394529e-07
+ 1.639612e-02  9.592663e-03 -2.408869e-01 -3.137769e-01  3.674203e-06 -4.720642e-06
+ 1.639612e-02  9.798959e-03 -2.408930e-01 -3.137368e-01  3.364571e-06 -4.420223e-06
+ 1.639612e-02  1.000100e-02 -2.409008e-01 -3.136950e-01 -3.252555e-06 -5.294275e-06
+ 1.639612e-02  1.019904e-02 -2.409091e-01 -3.136472e-01 -1.604495e-06  1.832709e-06
+ 1.639612e-02  1.039330e-02 -2.409147e-01 -3.135945e-01  4.384184e-06 -5.692769e-06
+ 1.639612e-02  1.058401e-02 -2.409223e-01 -3.135479e-01 -5.614068e-07  1.959498e-06
+ 1.639612e-02  1.077133e-02 -2.409284e-01 -3.135011e-01 -9.727555e-07  9.438437e-06
+ 1.639612e-02  1.095545e-02 -2.409353e-01 -3.134517e-01  3.818383e-07  9.779662e-07
+ 1.639612e-02  1.113653e-02 -2.409426e-01 -3.133997e-01  1.332883e-06 -1.488030e-07
+ 1.639612e-02  1.131471e-02 -2.409492e-01 -3.133483e-01  1.283319e-06  2.899061e-07
+ 1.639612e-02  1.149013e-02 -2.409571e-01 -3.132943e-01 -1.070649e-06  9.611276e-07
+ 1.639612e-02  1.166290e-02 -2.409665e-01 -3.132325e-01  1.485092e-03  3.965775e-04
+ 1.639612e-02  1.183316e-02 -2.409732e-01 -3.131788e-01  1.808338e-06  6.973619e-06
+ 1.639612e-02  1.200100e-02 -2.409833e-01 -3.131236e-01  5.869747e-04  2.436513e-04
+ 1.639612e-02  1.216653e-02 -2.409913e-01 -3.130615e-01  1.544666e-03  4.021392e-04
+ 1.639612e-02  1.232983e-02 -2.409963e-01 -3.130072e-01 -7.804599e-04 -1.308949e-04
+ 1.639612e-02  1.249100e-02 -2.416118e-01 -3.130697e-01  8.348331e-04  2.102337e-05
+ 1.639612e-02  1.265011e-02 -2.412298e-01 -3.129635e-01 -2.141138e-04 -1.563821e-04
+ 1.639612e-02  1.280725e-02 -2.409950e-01 -3.128350e-01  1.593079e-05  4.662146e-05
+ 1.639612e-02  1.296248e-02 -2.412416e-01 -3.127885e-01 -2.412416e-01 -3.127885e-01
+ 1.639612e-02  1.311588e-02 -2.419769e-01 -3.128508e-01 -1.874206e-04 -2.578006e-04
+ 1.639612e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.341741e-02 -2.422221e-01 -3.127581e-01 -4.543058e-04  2.189715e-04
+ 1.639612e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.639612e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.000000e-06 -2.394582e-01 -2.394582e-01  3.272027e-08  9.053885e-09
+ 1.647401e-02  2.001000e-03 -2.402230e-01 -2.402231e-01  7.982084e-08  1.703810e-08
+ 1.647401e-02  2.829427e-03 -2.407329e-01 -3.143984e-01  1.309622e-04  3.636892e-05
+ 1.647401e-02  3.465102e-03 -2.408036e-01 -3.143762e-01 -1.500286e-06 -4.266198e-07
+ 1.647401e-02  4.001000e-03 -2.408012e-01 -3.143523e-01  6.224643e-06  1.912636e-06
+ 1.647401e-02  4.473136e-03 -2.408061e-01 -3.143325e-01 -6.702391e-07  3.191406e-08
+ 1.647401e-02  4.899979e-03 -2.408125e-01 -3.143125e-01  2.469493e-06  1.027345e-06
+ 1.647401e-02  5.292503e-03 -2.408165e-01 -3.142907e-01 -1.738515e-06 -2.879395e-07
+ 1.647401e-02  5.657854e-03 -2.408191e-01 -3.142671e-01 -2.062284e-07 -1.628894e-08
+ 1.647401e-02  6.001000e-03 -2.408217e-01 -3.142422e-01  1.514810e-07 -6.150228e-08
+ 1.647401e-02  6.325555e-03 -2.408248e-01 -3.142163e-01  2.242012e-06  4.695322e-07
+ 1.647401e-02  6.634250e-03 -2.408288e-01 -3.141894e-01  2.591179e-06  6.014610e-07
+ 1.647401e-02  6.929203e-03 -2.408332e-01 -3.141615e-01 -7.259965e-07 -2.767708e-07
+ 1.647401e-02  7.212103e-03 -2.408381e-01 -3.141325e-01 -1.192581e-06 -2.258166e-07
+ 1.647401e-02  7.484315e-03 -2.408430e-01 -3.141021e-01  1.228146e-06 -2.899975e-07
+ 1.647401e-02  7.746967e-03 -2.408479e-01 -3.140707e-01  1.756995e-07  2.301790e-07
+ 1.647401e-02  8.001000e-03 -2.408527e-01 -3.140384e-01 -1.775097e-06 -2.273480e-07
+ 1.647401e-02  8.247211e-03 -2.408572e-01 -3.140048e-01 -1.700537e-06 -3.124783e-07
+ 1.647401e-02  8.486281e-03 -2.408617e-01 -3.139701e-01 -6.580857e-07  2.190212e-07
+ 1.647401e-02  8.718798e-03 -2.408665e-01 -3.139343e-01 -2.450500e-07 -3.525556e-07
+ 1.647401e-02  8.945272e-03 -2.408711e-01 -3.138975e-01  3.258137e-07  2.026575e-09
+ 1.647401e-02  9.166151e-03 -2.408760e-01 -3.138603e-01  1.621274e-06 -1.158123e-06
+ 1.647401e-02  9.381832e-03 -2.408814e-01 -3.138226e-01  2.100264e-06 -2.731344e-06
+ 1.647401e-02  9.592663e-03 -2.408874e-01 -3.137827e-01  7.159960e-07  2.633743e-06
+ 1.647401e-02  9.798959e-03 -2.408936e-01 -3.137386e-01  1.688380e-06  1.629643e-06
+ 1.647401e-02  1.000100e-02 -2.409003e-01 -3.136908e-01  2.328198e-07 -3.943476e-07
+ 1.647401e-02  1.019904e-02 -2.409079e-01 -3.136446e-01 -1.772621e-06  4.675624e-06
+ 1.647401e-02  1.039330e-02 -2.409145e-01 -3.135995e-01  6.430157e-06  1.211730e-05
+ 1.647401e-02  1.058401e-02 -2.409209e-01 -3.135538e-01 -8.874659e-07 -6.167896e-07
+ 1.647401e-02  1.077133e-02 -2.409275e-01 -3.135067e-01 -1.686728e-07  5.691673e-06
+ 1.647401e-02  1.095545e-02 -2.409343e-01 -3.134589e-01  1.282045e-07  7.797658e-07
+ 1.647401e-02  1.113653e-02 -2.409411e-01 -3.134101e-01  1.009482e-06 -2.854683e-06
+ 1.647401e-02  1.131471e-02 -2.409483e-01 -3.133599e-01  1.175949e-06 -8.391266e-07
+ 1.647401e-02  1.149013e-02 -2.409560e-01 -3.133063e-01  5.436980e-07  3.637552e-06
+ 1.647401e-02  1.166290e-02 -2.409660e-01 -3.132414e-01  1.925969e-06 -1.341989e-05
+ 1.647401e-02  1.183316e-02 -2.409739e-01 -3.131824e-01 -2.175590e-06  5.287534e-06
+ 1.647401e-02  1.200100e-02 -2.409798e-01 -3.131262e-01  1.933559e-06 -2.559019e-06
+ 1.647401e-02  1.216653e-02 -2.409842e-01 -3.130700e-01  8.528176e-06 -1.037169e-05
+ 1.647401e-02  1.232983e-02 -2.409903e-01 -3.130124e-01  1.245837e-05 -5.064077e-06
+ 1.647401e-02  1.249100e-02 -2.409996e-01 -3.129446e-01  2.802289e-05  7.022299e-05
+ 1.647401e-02  1.265011e-02 -2.408164e-01 -3.128563e-01  5.044902e-04  1.858761e-04
+ 1.647401e-02  1.280725e-02 -2.410233e-01 -3.128550e-01  1.334361e-03  1.275657e-04
+ 1.647401e-02  1.296248e-02 -2.409218e-01 -3.127485e-01  1.167171e-05 -1.151776e-04
+ 1.647401e-02  1.311588e-02 -2.410314e-01 -3.126595e-01 -2.410314e-01 -3.126595e-01
+ 1.647401e-02  1.326750e-02 -2.418463e-01 -3.126590e-01 -8.360019e-04  1.529708e-04
+ 1.647401e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.356566e-02 -2.419134e-01 -3.121413e-01 -2.419134e-01 -3.121413e-01
+ 1.647401e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.647401e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.000000e-06 -2.397052e-01 -2.397052e-01  8.236027e-08  1.063724e-07
+ 1.655153e-02  2.001000e-03 -2.409161e-01 -2.409170e-01 -3.046412e-04 -3.049566e-04
+ 1.655153e-02  2.829427e-03 -2.407966e-01 -3.143784e-01  1.280296e-05  3.451760e-06
+ 1.655153e-02  3.465102e-03 -2.408032e-01 -3.143647e-01  9.669057e-07  2.858875e-07
+ 1.655153e-02  4.001000e-03 -2.408033e-01 -3.143504e-01  8.116603e-06  2.371479e-06
+ 1.655153e-02  4.473136e-03 -2.408089e-01 -3.143348e-01 -4.337194e-06 -9.974847e-07
+ 1.655153e-02  4.899979e-03 -2.408139e-01 -3.143164e-01  1.124965e-06  6.642982e-07
+ 1.655153e-02  5.292503e-03 -2.408170e-01 -3.142955e-01 -2.555066e-06 -4.844727e-07
+ 1.655153e-02  5.657854e-03 -2.408192e-01 -3.142725e-01 -1.813765e-06 -2.853865e-07
+ 1.655153e-02  6.001000e-03 -2.408215e-01 -3.142480e-01  9.360088e-08 -4.101029e-08
+ 1.655153e-02  6.325555e-03 -2.408244e-01 -3.142223e-01  6.453684e-07  1.117791e-07
+ 1.655153e-02  6.634250e-03 -2.408281e-01 -3.141956e-01  2.846540e-06  6.874676e-07
+ 1.655153e-02  6.929203e-03 -2.408325e-01 -3.141678e-01  7.998135e-07  2.934306e-07
+ 1.655153e-02  7.212103e-03 -2.408375e-01 -3.141387e-01 -2.586426e-06 -3.797156e-07
+ 1.655153e-02  7.484315e-03 -2.408426e-01 -3.141084e-01 -3.675131e-07 -1.150444e-06
+ 1.655153e-02  7.746967e-03 -2.408474e-01 -3.140772e-01  2.022270e-07  8.260176e-07
+ 1.655153e-02  8.001000e-03 -2.408523e-01 -3.140451e-01 -1.335875e-06 -1.531817e-07
+ 1.655153e-02  8.247211e-03 -2.408566e-01 -3.140116e-01 -2.141234e-06 -3.774196e-07
+ 1.655153e-02  8.486281e-03 -2.408610e-01 -3.139769e-01 -1.131952e-06 -3.108605e-07
+ 1.655153e-02  8.718798e-03 -2.408657e-01 -3.139412e-01  1.704405e-08 -6.990048e-07
+ 1.655153e-02  8.945272e-03 -2.408703e-01 -3.139045e-01  1.012422e-06 -2.644947e-07
+ 1.655153e-02  9.166151e-03 -2.408752e-01 -3.138673e-01  1.056817e-06  1.576825e-07
+ 1.655153e-02  9.381832e-03 -2.408810e-01 -3.138289e-01 -5.403848e-07  6.767798e-07
+ 1.655153e-02  9.592663e-03 -2.408872e-01 -3.137870e-01  1.354347e-06  1.449671e-06
+ 1.655153e-02  9.798959e-03 -2.408936e-01 -3.137415e-01 -6.226650e-07 -2.184824e-06
+ 1.655153e-02  1.000100e-02 -2.409007e-01 -3.136972e-01 -4.616274e-06  1.643906e-05
+ 1.655153e-02  1.019904e-02 -2.409069e-01 -3.136536e-01 -1.597933e-06  3.225385e-06
+ 1.655153e-02  1.039330e-02 -2.409129e-01 -3.136090e-01 -4.496136e-07  3.059421e-06
+ 1.655153e-02  1.058401e-02 -2.409193e-01 -3.135628e-01 -1.302172e-07  9.893190e-07
+ 1.655153e-02  1.077133e-02 -2.409260e-01 -3.135151e-01  3.723470e-07  4.521490e-06
+ 1.655153e-02  1.095545e-02 -2.409330e-01 -3.134673e-01 -1.538397e-08  3.779289e-06
+ 1.655153e-02  1.113653e-02 -2.409398e-01 -3.134188e-01  9.799902e-07  3.704961e-07
+ 1.655153e-02  1.131471e-02 -2.409470e-01 -3.133682e-01  1.139554e-06 -3.807474e-07
+ 1.655153e-02  1.149013e-02 -2.409549e-01 -3.133159e-01 -1.886858e-07 -1.936630e-06
+ 1.655153e-02  1.166290e-02 -2.409630e-01 -3.132529e-01  6.850838e-06 -2.658740e-05
+ 1.655153e-02  1.183316e-02 -2.409695e-01 -3.131942e-01  3.731200e-06  2.041696e-06
+ 1.655153e-02  1.200100e-02 -2.409760e-01 -3.131429e-01  2.066765e-06 -1.480701e-06
+ 1.655153e-02  1.216653e-02 -2.409835e-01 -3.130846e-01  9.010178e-06 -7.927189e-06
+ 1.655153e-02  1.232983e-02 -2.409922e-01 -3.130224e-01  5.674745e-05  3.118875e-05
+ 1.655153e-02  1.249100e-02 -2.410044e-01 -3.129598e-01  6.763022e-06 -1.277835e-05
+ 1.655153e-02  1.265011e-02 -2.410191e-01 -3.128854e-01  1.378993e-03  1.745974e-04
+ 1.655153e-02  1.280725e-02 -2.410314e-01 -3.128311e-01  9.917861e-04  3.400128e-04
+ 1.655153e-02  1.296248e-02 -2.410671e-01 -3.127615e-01 -2.206790e-03 -4.170118e-04
+ 1.655153e-02  1.311588e-02 -2.410449e-01 -3.126843e-01  1.892247e-03  3.402961e-04
+ 1.655153e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.341741e-02 -2.415481e-01 -3.125662e-01 -5.256501e-04  1.337224e-04
+ 1.655153e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.371231e-02 -2.428653e-01 -3.124164e-01 -2.428653e-01 -3.124164e-01
+ 1.655153e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.655153e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.000000e-06 -2.399446e-01 -2.399447e-01  2.302571e-08 -1.759194e-08
+ 1.662869e-02  2.001000e-03 -2.407476e-01 -2.407479e-01  2.471522e-05  2.424815e-05
+ 1.662869e-02  2.829427e-03 -2.408090e-01 -3.143739e-01  4.953752e-06  1.177155e-06
+ 1.662869e-02  3.465102e-03 -2.408040e-01 -3.143705e-01  1.764686e-07  5.726298e-08
+ 1.662869e-02  4.001000e-03 -2.408027e-01 -3.143597e-01  3.421493e-06  1.015793e-06
+ 1.662869e-02  4.473136e-03 -2.408073e-01 -3.143452e-01  3.859834e-06  1.139374e-06
+ 1.662869e-02  4.899979e-03 -2.408132e-01 -3.143276e-01 -1.001870e-05 -2.491291e-06
+ 1.662869e-02  5.292503e-03 -2.408179e-01 -3.143071e-01 -1.361315e-06 -5.310182e-08
+ 1.662869e-02  5.657854e-03 -2.408210e-01 -3.142842e-01 -1.556719e-06 -3.906465e-07
+ 1.662869e-02  6.001000e-03 -2.408230e-01 -3.142592e-01 -5.269219e-06 -1.557399e-06
+ 1.662869e-02  6.325555e-03 -2.408248e-01 -3.142329e-01 -9.907701e-07 -1.619170e-07
+ 1.662869e-02  6.634250e-03 -2.408272e-01 -3.142057e-01 -2.494842e-07  2.730688e-08
+ 1.662869e-02  6.929203e-03 -2.408307e-01 -3.141775e-01  4.438541e-07  9.456925e-07
+ 1.662869e-02  7.212103e-03 -2.408352e-01 -3.141481e-01  2.482434e-06  8.877628e-07
+ 1.662869e-02  7.484315e-03 -2.408407e-01 -3.141176e-01 -1.563355e-06 -2.828089e-07
+ 1.662869e-02  7.746967e-03 -2.408462e-01 -3.140861e-01 -3.743328e-06 -6.605894e-07
+ 1.662869e-02  8.001000e-03 -2.408513e-01 -3.140541e-01 -1.955481e-06  2.761240e-06
+ 1.662869e-02  8.247211e-03 -2.408564e-01 -3.140212e-01 -1.070426e-07  5.700267e-07
+ 1.662869e-02  8.486281e-03 -2.408605e-01 -3.139863e-01 -1.351976e-06 -7.652957e-07
+ 1.662869e-02  8.718798e-03 -2.408649e-01 -3.139503e-01 -1.061937e-06 -1.774318e-07
+ 1.662869e-02  8.945272e-03 -2.408698e-01 -3.139132e-01 -2.641279e-07 -3.278885e-07
+ 1.662869e-02  9.166151e-03 -2.408743e-01 -3.138755e-01  6.691111e-08 -1.230418e-06
+ 1.662869e-02  9.381832e-03 -2.408800e-01 -3.138369e-01  3.446840e-07 -1.433844e-06
+ 1.662869e-02  9.592663e-03 -2.408865e-01 -3.137947e-01  7.834814e-09  3.838618e-06
+ 1.662869e-02  9.798959e-03 -2.408929e-01 -3.137488e-01 -7.156629e-07 -3.012650e-06
+ 1.662869e-02  1.000100e-02 -2.408998e-01 -3.137058e-01 -1.956606e-06  6.842147e-06
+ 1.662869e-02  1.019904e-02 -2.409057e-01 -3.136636e-01 -9.630138e-08  1.006949e-05
+ 1.662869e-02  1.039330e-02 -2.409114e-01 -3.136201e-01 -4.515289e-06  1.962240e-05
+ 1.662869e-02  1.058401e-02 -2.409177e-01 -3.135748e-01 -3.744540e-06  5.584767e-06
+ 1.662869e-02  1.077133e-02 -2.409235e-01 -3.135265e-01  8.001525e-07  4.856106e-06
+ 1.662869e-02  1.095545e-02 -2.409313e-01 -3.134770e-01  9.433992e-07  6.319316e-07
+ 1.662869e-02  1.113653e-02 -2.409386e-01 -3.134279e-01  2.669876e-07  2.738004e-06
+ 1.662869e-02  1.131471e-02 -2.409458e-01 -3.133767e-01  3.791050e-07 -1.076807e-06
+ 1.662869e-02  1.149013e-02 -2.409536e-01 -3.133262e-01 -1.881859e-07 -3.669009e-06
+ 1.662869e-02  1.166290e-02 -2.409606e-01 -3.132661e-01 -3.103606e-06  1.901289e-05
+ 1.662869e-02  1.183316e-02 -2.409679e-01 -3.132042e-01  1.384561e-06 -2.929760e-06
+ 1.662869e-02  1.200100e-02 -2.409764e-01 -3.131524e-01  5.127853e-06 -2.390913e-06
+ 1.662869e-02  1.216653e-02 -2.409878e-01 -3.130939e-01 -6.536316e-06  1.869413e-06
+ 1.662869e-02  1.232983e-02 -2.409998e-01 -3.130303e-01 -5.444733e-06  5.561036e-06
+ 1.662869e-02  1.249100e-02 -2.410109e-01 -3.129630e-01  5.448462e-07  1.055577e-05
+ 1.662869e-02  1.265011e-02 -2.410205e-01 -3.128876e-01 -1.121931e-05  2.980039e-05
+ 1.662869e-02  1.280725e-02 -2.410261e-01 -3.128220e-01 -7.279796e-06  1.777969e-05
+ 1.662869e-02  1.296248e-02 -2.410346e-01 -3.127590e-01  2.770012e-05 -6.896083e-05
+ 1.662869e-02  1.311588e-02 -2.410460e-01 -3.126858e-01 -1.160059e-03 -1.264365e-04
+ 1.662869e-02  1.326750e-02 -2.410646e-01 -3.126104e-01 -2.410646e-01 -3.126104e-01
+ 1.662869e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.356566e-02 -2.414644e-01 -3.125058e-01 -2.414644e-01 -3.125058e-01
+ 1.662869e-02  1.371231e-02 -2.405360e-01 -3.123382e-01 -2.405360e-01 -3.123382e-01
+ 1.662869e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.662869e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.000000e-06 -2.401746e-01 -2.401746e-01  8.423107e-08  1.306316e-07
+ 1.670549e-02  2.001000e-03 -2.407593e-01 -2.407593e-01  3.815415e-05  3.790541e-05
+ 1.670549e-02  2.829427e-03 -2.408208e-01 -3.144006e-01 -4.762715e-05 -1.319616e-05
+ 1.670549e-02  3.465102e-03 -2.408229e-01 -3.144016e-01 -1.152862e-06 -5.054204e-07
+ 1.670549e-02  4.001000e-03 -2.408148e-01 -3.143878e-01 -2.272328e-05 -6.287300e-06
+ 1.670549e-02  4.473136e-03 -2.408079e-01 -3.143685e-01 -4.656070e-06 -1.138841e-06
+ 1.670549e-02  4.899979e-03 -2.408054e-01 -3.143469e-01 -1.617109e-06 -4.336038e-07
+ 1.670549e-02  5.292503e-03 -2.408080e-01 -3.143245e-01  3.826989e-06  1.360986e-06
+ 1.670549e-02  5.657854e-03 -2.408153e-01 -3.143013e-01  7.055068e-06  2.230481e-06
+ 1.670549e-02  6.001000e-03 -2.408227e-01 -3.142771e-01 -1.387475e-05 -3.254229e-06
+ 1.670549e-02  6.325555e-03 -2.408285e-01 -3.142510e-01 -8.143050e-06 -2.232472e-06
+ 1.670549e-02  6.634250e-03 -2.408327e-01 -3.142228e-01 -9.454673e-07 -2.646756e-07
+ 1.670549e-02  6.929203e-03 -2.408337e-01 -3.141922e-01 -7.826327e-06 -2.047524e-06
+ 1.670549e-02  7.212103e-03 -2.408354e-01 -3.141622e-01 -5.839746e-06  3.191476e-06
+ 1.670549e-02  7.484315e-03 -2.408376e-01 -3.141312e-01  8.332385e-08  1.216969e-07
+ 1.670549e-02  7.746967e-03 -2.408417e-01 -3.140988e-01  2.371968e-06  1.011068e-07
+ 1.670549e-02  8.001000e-03 -2.408483e-01 -3.140652e-01  1.464699e-06  2.219350e-07
+ 1.670549e-02  8.247211e-03 -2.408543e-01 -3.140313e-01 -1.375879e-06 -5.488230e-06
+ 1.670549e-02  8.486281e-03 -2.408597e-01 -3.139981e-01 -5.589398e-06 -1.192095e-07
+ 1.670549e-02  8.718798e-03 -2.408654e-01 -3.139633e-01 -1.987441e-06 -8.726792e-08
+ 1.670549e-02  8.945272e-03 -2.408690e-01 -3.139251e-01  2.718223e-07 -1.322642e-07
+ 1.670549e-02  9.166151e-03 -2.408748e-01 -3.138863e-01 -2.942248e-06 -8.899884e-07
+ 1.670549e-02  9.381832e-03 -2.408787e-01 -3.138468e-01  1.402547e-06 -5.995834e-07
+ 1.670549e-02  9.592663e-03 -2.408847e-01 -3.138064e-01 -3.982972e-07 -1.282670e-06
+ 1.670549e-02  9.798959e-03 -2.408916e-01 -3.137604e-01  4.111251e-07 -6.284296e-07
+ 1.670549e-02  1.000100e-02 -2.408985e-01 -3.137142e-01 -1.104762e-06  3.149931e-06
+ 1.670549e-02  1.019904e-02 -2.409047e-01 -3.136727e-01  1.135244e-06 -8.532266e-06
+ 1.670549e-02  1.039330e-02 -2.409099e-01 -3.136312e-01 -1.088394e-06  9.341637e-07
+ 1.670549e-02  1.058401e-02 -2.409177e-01 -3.135898e-01 -4.820428e-06  1.432745e-05
+ 1.670549e-02  1.077133e-02 -2.409238e-01 -3.135462e-01 -8.697286e-07 -3.734871e-06
+ 1.670549e-02  1.095545e-02 -2.409270e-01 -3.134941e-01  1.494696e-03  4.537407e-04
+ 1.670549e-02  1.113653e-02 -2.409362e-01 -3.134392e-01  1.482829e-06 -8.534279e-07
+ 1.670549e-02  1.131471e-02 -2.409445e-01 -3.133871e-01  1.339926e-06  2.276794e-06
+ 1.670549e-02  1.149013e-02 -2.409522e-01 -3.133364e-01 -8.593957e-07  5.382633e-06
+ 1.670549e-02  1.166290e-02 -2.409593e-01 -3.132795e-01  5.056528e-07  1.414272e-07
+ 1.670549e-02  1.183316e-02 -2.409667e-01 -3.132150e-01  1.489667e-06  2.182409e-06
+ 1.670549e-02  1.200100e-02 -2.409764e-01 -3.131615e-01  3.607267e-06 -8.747756e-07
+ 1.670549e-02  1.216653e-02 -2.409889e-01 -3.131013e-01 -2.025538e-06  1.409349e-06
+ 1.670549e-02  1.232983e-02 -2.409975e-01 -3.130358e-01 -8.829010e-06  1.311577e-05
+ 1.670549e-02  1.249100e-02 -2.410048e-01 -3.129715e-01 -6.087302e-07  3.925128e-06
+ 1.670549e-02  1.265011e-02 -2.410140e-01 -3.129069e-01  1.950659e-06  1.346784e-05
+ 1.670549e-02  1.280725e-02 -2.410265e-01 -3.128392e-01 -1.632201e-05  5.392026e-05
+ 1.670549e-02  1.296248e-02 -2.410395e-01 -3.127819e-01 -1.306390e-05  5.671603e-05
+ 1.670549e-02  1.311588e-02 -2.410544e-01 -3.127133e-01  2.302599e-03  1.757991e-04
+ 1.670549e-02  1.326750e-02 -2.410630e-01 -3.126336e-01 -6.174123e-04 -4.702518e-05
+ 1.670549e-02  1.341741e-02 -2.410688e-01 -3.125374e-01  1.964299e-05  8.748864e-05
+ 1.670549e-02  1.356566e-02 -2.410754e-01 -3.124744e-01 -2.410754e-01 -3.124744e-01
+ 1.670549e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.670549e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.000000e-06 -2.403913e-01 -2.403913e-01 -8.179031e-08 -1.086216e-07
+ 1.678194e-02  2.001000e-03 -2.406058e-01 -2.406063e-01 -4.181480e-06 -4.582649e-06
+ 1.678194e-02  2.829427e-03 -2.411067e-01 -3.145597e-01  1.073362e-07 -7.667453e-08
+ 1.678194e-02  3.465102e-03 -2.412370e-01 -3.145661e-01 -4.003648e-07 -4.638410e-08
+ 1.678194e-02  4.001000e-03 -2.413098e-01 -3.145635e-01 -1.129921e-06 -1.661788e-07
+ 1.678194e-02  4.473136e-03 -2.413537e-01 -3.145534e-01 -5.291501e-07 -7.403656e-08
+ 1.678194e-02  4.899979e-03 -2.413812e-01 -3.145385e-01  8.973884e-06  2.121619e-06
+ 1.678194e-02  5.292503e-03 -2.413906e-01 -3.145181e-01 -1.226139e-05 -3.527590e-06
+ 1.678194e-02  5.657854e-03 -2.413745e-01 -3.144901e-01 -7.284784e-06 -1.864277e-06
+ 1.678194e-02  6.001000e-03 -2.413201e-01 -3.144517e-01 -2.213175e-05 -6.018218e-06
+ 1.678194e-02  6.325555e-03 -2.412379e-01 -3.144057e-01 -5.926909e-04 -1.696947e-04
+ 1.678194e-02  6.634250e-03 -2.408852e-01 -3.142675e-01 -3.384042e-05 -1.355917e-05
+ 1.678194e-02  6.929203e-03 -2.408283e-01 -3.142153e-01 -1.224535e-06 -3.905094e-07
+ 1.678194e-02  7.212103e-03 -2.408320e-01 -3.141831e-01  1.278428e-05  1.289089e-06
+ 1.678194e-02  7.484315e-03 -2.408431e-01 -3.141527e-01 -1.629404e-05 -1.623540e-06
+ 1.678194e-02  7.746967e-03 -2.408516e-01 -3.141186e-01 -2.882578e-06 -1.486222e-06
+ 1.678194e-02  8.001000e-03 -2.408502e-01 -3.140827e-01 -5.359845e-06 -3.320593e-06
+ 1.678194e-02  8.247211e-03 -2.408513e-01 -3.140493e-01 -4.038803e-06  5.638560e-09
+ 1.678194e-02  8.486281e-03 -2.408536e-01 -3.140118e-01 -1.242797e-06 -4.387245e-07
+ 1.678194e-02  8.718798e-03 -2.408632e-01 -3.139739e-01 -1.495236e-06 -3.246557e-06
+ 1.678194e-02  8.945272e-03 -2.408680e-01 -3.139382e-01 -3.884555e-06 -4.218341e-06
+ 1.678194e-02  9.166151e-03 -2.408741e-01 -3.139028e-01 -4.731844e-06 -7.513186e-07
+ 1.678194e-02  9.381832e-03 -2.408776e-01 -3.138610e-01  1.252865e-06  4.242150e-07
+ 1.678194e-02  9.592663e-03 -2.408849e-01 -3.138185e-01 -2.449114e-06 -1.607266e-06
+ 1.678194e-02  9.798959e-03 -2.408889e-01 -3.137762e-01 -1.423993e-06 -1.846832e-07
+ 1.678194e-02  1.000100e-02 -2.408970e-01 -3.137286e-01  5.294072e-07 -4.755546e-06
+ 1.678194e-02  1.019904e-02 -2.409036e-01 -3.136787e-01  1.721184e-06 -6.623577e-06
+ 1.678194e-02  1.039330e-02 -2.409095e-01 -3.136373e-01  5.004422e-07  3.426009e-06
+ 1.678194e-02  1.058401e-02 -2.409151e-01 -3.135974e-01  2.620534e-06  1.405209e-06
+ 1.678194e-02  1.077133e-02 -2.409168e-01 -3.135560e-01 -8.732751e-07  4.489578e-06
+ 1.678194e-02  1.095545e-02 -2.409192e-01 -3.135131e-01  1.078569e-05 -1.043292e-05
+ 1.678194e-02  1.113653e-02 -2.409288e-01 -3.134684e-01  4.084160e-04  1.264849e-04
+ 1.678194e-02  1.131471e-02 -2.409399e-01 -3.134025e-01 -1.697914e-06  2.835143e-06
+ 1.678194e-02  1.149013e-02 -2.409506e-01 -3.133473e-01 -9.564354e-06  1.780822e-05
+ 1.678194e-02  1.166290e-02 -2.409582e-01 -3.132932e-01  8.330617e-07  3.548708e-06
+ 1.678194e-02  1.183316e-02 -2.409661e-01 -3.132282e-01 -4.837974e-07  4.924999e-06
+ 1.678194e-02  1.200100e-02 -2.409744e-01 -3.131721e-01 -2.689239e-06  5.677709e-07
+ 1.678194e-02  1.216653e-02 -2.409876e-01 -3.131130e-01 -8.042196e-06  5.076009e-06
+ 1.678194e-02  1.232983e-02 -2.409953e-01 -3.130469e-01 -9.211129e-06  1.439909e-05
+ 1.678194e-02  1.249100e-02 -2.410028e-01 -3.129868e-01  4.473952e-08 -1.764898e-06
+ 1.678194e-02  1.265011e-02 -2.410128e-01 -3.129296e-01 -5.218071e-06  1.346602e-05
+ 1.678194e-02  1.280725e-02 -2.410233e-01 -3.128677e-01 -2.907977e-06  1.700706e-05
+ 1.678194e-02  1.296248e-02 -2.410284e-01 -3.128017e-01  1.077580e-04 -3.610588e-06
+ 1.678194e-02  1.311588e-02 -2.410380e-01 -3.127515e-01 -2.410380e-01 -3.127515e-01
+ 1.678194e-02  1.326750e-02 -2.410511e-01 -3.126787e-01 -2.492736e-04  1.372699e-04
+ 1.678194e-02  1.341741e-02 -2.412724e-01 -3.126250e-01  8.866629e-04  5.343580e-04
+ 1.678194e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.385741e-02 -2.411812e-01 -3.122442e-01  5.342945e-04  1.814690e-04
+ 1.678194e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.678194e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.000000e-06 -2.410040e-01 -2.410043e-01 -4.517664e-04 -4.521259e-04
+ 1.685805e-02  2.001000e-03 -2.413211e-01 -2.413212e-01 -1.468036e-07 -1.476011e-07
+ 1.685805e-02  2.829427e-03 -2.414757e-01 -3.146431e-01 -2.425796e-08 -2.606696e-08
+ 1.685805e-02  3.465102e-03 -2.415738e-01 -3.146517e-01  5.300967e-06  1.445846e-06
+ 1.685805e-02  4.001000e-03 -2.416366e-01 -3.146495e-01  1.308172e-07  4.576780e-08
+ 1.685805e-02  4.473136e-03 -2.416797e-01 -3.146407e-01  1.763780e-07  5.852756e-09
+ 1.685805e-02  4.899979e-03 -2.417077e-01 -3.146267e-01  9.837492e-08 -8.284274e-08
+ 1.685805e-02  5.292503e-03 -2.417231e-01 -3.146081e-01 -3.438729e-06 -9.913038e-07
+ 1.685805e-02  5.657854e-03 -2.417290e-01 -3.145858e-01 -1.012862e-05 -2.172435e-06
+ 1.685805e-02  6.001000e-03 -2.417282e-01 -3.145606e-01 -3.190433e-06 -1.111337e-06
+ 1.685805e-02  6.325555e-03 -2.417222e-01 -3.145330e-01  1.328213e-05  3.186404e-06
+ 1.685805e-02  6.634250e-03 -2.417046e-01 -3.145014e-01  4.268867e-06  1.250839e-06
+ 1.685805e-02  6.929203e-03 -2.416818e-01 -3.144677e-01 -4.847510e-08 -4.130327e-07
+ 1.685805e-02  7.212103e-03 -2.416257e-01 -3.144243e-01 -5.832716e-05 -1.541265e-05
+ 1.685805e-02  7.484315e-03 -2.416313e-01 -3.143953e-01  2.277627e-05  5.778144e-06
+ 1.685805e-02  7.746967e-03 -2.415851e-01 -3.143526e-01  4.849616e-05  1.137624e-05
+ 1.685805e-02  8.001000e-03 -2.411368e-01 -3.141915e-01 -2.754669e-04 -9.044112e-05
+ 1.685805e-02  8.247211e-03 -2.410579e-01 -3.141383e-01 -2.404838e-04 -6.451691e-05
+ 1.685805e-02  8.486281e-03 -2.408784e-01 -3.140486e-01 -3.114394e-04 -8.389788e-05
+ 1.685805e-02  8.718798e-03 -2.408666e-01 -3.139898e-01  9.941067e-06  1.047104e-05
+ 1.685805e-02  8.945272e-03 -2.408652e-01 -3.139574e-01  3.393972e-06  3.740048e-07
+ 1.685805e-02  9.166151e-03 -2.408712e-01 -3.139180e-01 -7.011716e-06 -3.037596e-06
+ 1.685805e-02  9.381832e-03 -2.408800e-01 -3.138716e-01 -4.045350e-06  2.389038e-06
+ 1.685805e-02  9.592663e-03 -2.408792e-01 -3.138323e-01  5.320924e-06  2.575807e-06
+ 1.685805e-02  9.798959e-03 -2.408770e-01 -3.137955e-01  1.524379e-05 -7.689638e-06
+ 1.685805e-02  1.000100e-02 -2.408955e-01 -3.137458e-01  2.431264e-04  9.782418e-05
+ 1.685805e-02  1.019904e-02 -2.409065e-01 -3.137036e-01 -7.776143e-07 -2.502093e-06
+ 1.685805e-02  1.039330e-02 -2.409093e-01 -3.136425e-01  6.254111e-07 -8.317534e-06
+ 1.685805e-02  1.058401e-02 -2.409163e-01 -3.135980e-01 -5.452532e-06  1.680309e-05
+ 1.685805e-02  1.077133e-02 -2.409203e-01 -3.135596e-01 -4.160555e-06  1.108098e-05
+ 1.685805e-02  1.095545e-02 -2.409227e-01 -3.135202e-01  4.543076e-06  7.358961e-06
+ 1.685805e-02  1.113653e-02 -2.409239e-01 -3.134766e-01  3.289429e-04  1.002291e-04
+ 1.685805e-02  1.131471e-02 -2.409481e-01 -3.134432e-01  1.251745e-03  3.403810e-04
+ 1.685805e-02  1.149013e-02 -2.409527e-01 -3.133978e-01 -1.668072e-05  6.664641e-06
+ 1.685805e-02  1.166290e-02 -2.409563e-01 -3.133083e-01 -1.956848e-06  2.347303e-06
+ 1.685805e-02  1.183316e-02 -2.409652e-01 -3.132449e-01  1.924500e-06 -1.470750e-05
+ 1.685805e-02  1.200100e-02 -2.409730e-01 -3.131854e-01 -7.726773e-06  3.771503e-05
+ 1.685805e-02  1.216653e-02 -2.409828e-01 -3.131290e-01  3.620941e-06  4.439274e-06
+ 1.685805e-02  1.232983e-02 -2.409966e-01 -3.130617e-01 -2.207709e-06 -9.949352e-07
+ 1.685805e-02  1.249100e-02 -2.410015e-01 -3.129979e-01  3.554814e-07  3.467304e-07
+ 1.685805e-02  1.265011e-02 -2.410101e-01 -3.129441e-01 -6.430304e-06  5.217570e-06
+ 1.685805e-02  1.280725e-02 -2.410171e-01 -3.128880e-01  6.305121e-07  2.418167e-06
+ 1.685805e-02  1.296248e-02 -2.410225e-01 -3.128129e-01 -2.149688e-06  2.783578e-05
+ 1.685805e-02  1.311588e-02 -2.410260e-01 -3.127733e-01  8.731624e-06 -2.182499e-05
+ 1.685805e-02  1.326750e-02 -2.410509e-01 -3.126946e-01 -3.071966e-04 -1.583478e-05
+ 1.685805e-02  1.341741e-02 -2.407338e-01 -3.126011e-01 -1.767433e-03 -2.875988e-04
+ 1.685805e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.371231e-02 -2.418776e-01 -3.125826e-01 -7.983238e-04  1.134181e-05
+ 1.685805e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.685805e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.000000e-06 -2.411205e-01 -2.411205e-01  2.247770e-07  2.469625e-07
+ 1.693381e-02  2.001000e-03 -2.415784e-01 -2.415784e-01  4.522852e-07  4.431559e-07
+ 1.693381e-02  2.829427e-03 -2.417352e-01 -3.147137e-01  1.855121e-07 -7.155176e-08
+ 1.693381e-02  3.465102e-03 -2.418315e-01 -3.147229e-01  9.820042e-08  3.543703e-08
+ 1.693381e-02  4.001000e-03 -2.418947e-01 -3.147213e-01 -7.783882e-07 -3.534620e-07
+ 1.693381e-02  4.473136e-03 -2.419418e-01 -3.147142e-01 -9.304926e-06 -3.045655e-06
+ 1.693381e-02  4.899979e-03 -2.419725e-01 -3.147012e-01 -1.277790e-05 -3.912091e-06
+ 1.693381e-02  5.292503e-03 -2.419886e-01 -3.146831e-01 -3.477650e-05 -9.572295e-06
+ 1.693381e-02  5.657854e-03 -2.419961e-01 -3.146618e-01 -3.385187e-06 -6.741243e-07
+ 1.693381e-02  6.001000e-03 -2.419979e-01 -3.146379e-01  5.430904e-07 -2.619753e-07
+ 1.693381e-02  6.325555e-03 -2.419949e-01 -3.146119e-01 -8.678600e-06 -3.341932e-06
+ 1.693381e-02  6.634250e-03 -2.419817e-01 -3.145824e-01 -8.450083e-05 -2.528167e-05
+ 1.693381e-02  6.929203e-03 -2.419487e-01 -3.145461e-01 -6.870602e-05 -1.994638e-05
+ 1.693381e-02  7.212103e-03 -2.419467e-01 -3.145156e-01  2.564670e-05  1.426466e-05
+ 1.693381e-02  7.484315e-03 -2.419668e-01 -3.144896e-01  6.005911e-05  8.737105e-06
+ 1.693381e-02  7.746967e-03 -2.418904e-01 -3.144363e-01 -3.698756e-05 -1.077776e-05
+ 1.693381e-02  8.001000e-03 -2.418260e-01 -3.143868e-01  1.149841e-05  3.165221e-06
+ 1.693381e-02  8.247211e-03 -2.417817e-01 -3.143427e-01  9.039468e-06  2.965461e-06
+ 1.693381e-02  8.486281e-03 -2.417802e-01 -3.143084e-01 -2.402397e-05 -6.690852e-06
+ 1.693381e-02  8.718798e-03 -2.416814e-01 -3.142461e-01 -8.909267e-05 -2.281328e-05
+ 1.693381e-02  8.945272e-03 -2.417012e-01 -3.142143e-01 -8.735531e-04 -2.475569e-04
+ 1.693381e-02  9.166151e-03 -2.410342e-01 -3.139870e-01 -1.641930e-04 -6.583102e-05
+ 1.693381e-02  9.381832e-03 -2.405764e-01 -3.138187e-01  9.153551e-04  2.576947e-04
+ 1.693381e-02  9.592663e-03 -2.408881e-01 -3.138480e-01 -5.253381e-06 -1.183445e-05
+ 1.693381e-02  9.798959e-03 -2.415546e-01 -3.140125e-01 -6.793593e-04 -2.067948e-04
+ 1.693381e-02  1.000100e-02 -2.408917e-01 -3.137691e-01 -9.317118e-06  3.292331e-07
+ 1.693381e-02  1.019904e-02 -2.409023e-01 -3.137224e-01  3.651353e-04  1.240912e-04
+ 1.693381e-02  1.039330e-02 -2.408699e-01 -3.136815e-01  5.144443e-04  1.377768e-04
+ 1.693381e-02  1.058401e-02 -2.409107e-01 -3.136245e-01  1.703034e-05  1.137033e-05
+ 1.693381e-02  1.077133e-02 -2.409216e-01 -3.135596e-01 -2.476847e-06  5.047616e-06
+ 1.693381e-02  1.095545e-02 -2.409280e-01 -3.135196e-01  2.064932e-06  3.692110e-06
+ 1.693381e-02  1.113653e-02 -2.409342e-01 -3.134837e-01 -6.081770e-06  6.315687e-09
+ 1.693381e-02  1.131471e-02 -2.409331e-01 -3.134362e-01  3.887354e-06  3.506536e-06
+ 1.693381e-02  1.149013e-02 -2.409394e-01 -3.133849e-01 -5.892512e-06 -1.283122e-05
+ 1.693381e-02  1.166290e-02 -2.409488e-01 -3.133406e-01  2.949142e-04  1.141299e-04
+ 1.693381e-02  1.183316e-02 -2.415011e-01 -3.134470e-01 -1.327872e-03 -3.426432e-04
+ 1.693381e-02  1.200100e-02 -2.409733e-01 -3.131984e-01 -4.599869e-06  2.700073e-06
+ 1.693381e-02  1.216653e-02 -2.409782e-01 -3.131501e-01  2.456245e-05  4.298122e-05
+ 1.693381e-02  1.232983e-02 -2.409892e-01 -3.130850e-01 -3.833899e-06  9.166165e-06
+ 1.693381e-02  1.249100e-02 -2.410060e-01 -3.130118e-01 -1.133180e-05  1.707205e-05
+ 1.693381e-02  1.265011e-02 -2.410090e-01 -3.129494e-01  6.128558e-07 -1.674554e-06
+ 1.693381e-02  1.280725e-02 -2.410169e-01 -3.128967e-01  3.339202e-06 -1.486739e-05
+ 1.693381e-02  1.296248e-02 -2.410225e-01 -3.128225e-01  6.244525e-06 -2.026240e-06
+ 1.693381e-02  1.311588e-02 -2.410228e-01 -3.127774e-01  3.515045e-06 -3.282124e-05
+ 1.693381e-02  1.326750e-02 -2.411821e-01 -3.127588e-01  3.724364e-04  1.252558e-04
+ 1.693381e-02  1.341741e-02 -2.408012e-01 -3.126401e-01 -1.189160e-03 -2.785254e-04
+ 1.693381e-02  1.356566e-02 -2.413134e-01 -3.125766e-01 -1.557139e-03 -1.985207e-04
+ 1.693381e-02  1.371231e-02 -2.418160e-01 -3.124889e-01 -1.064359e-04  2.317412e-04
+ 1.693381e-02  1.385741e-02 -2.410666e-01 -3.123918e-01  8.730237e-05  1.531541e-06
+ 1.693381e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.693381e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.000000e-06 -2.413208e-01 -2.413209e-01  1.263262e-09 -1.930656e-08
+ 1.700923e-02  2.001000e-03 -2.418203e-01 -2.418204e-01  1.320466e-08 -7.779813e-09
+ 1.700923e-02  2.829427e-03 -2.419786e-01 -3.147810e-01 -4.330556e-06 -1.103431e-06
+ 1.700923e-02  3.465102e-03 -2.420719e-01 -3.147899e-01  9.245162e-08  2.009733e-09
+ 1.700923e-02  4.001000e-03 -2.421338e-01 -3.147882e-01 -5.619887e-08  7.196701e-09
+ 1.700923e-02  4.473136e-03 -2.421752e-01 -3.147797e-01 -3.371481e-07 -7.977019e-08
+ 1.700923e-02  4.899979e-03 -2.422033e-01 -3.147663e-01  2.551368e-06  7.231157e-07
+ 1.700923e-02  5.292503e-03 -2.422175e-01 -3.147479e-01  2.445902e-05  6.645371e-06
+ 1.700923e-02  5.657854e-03 -2.422240e-01 -3.147264e-01  5.814161e-06  1.725002e-06
+ 1.700923e-02  6.001000e-03 -2.422274e-01 -3.147030e-01 -5.497234e-06 -8.463241e-07
+ 1.700923e-02  6.325555e-03 -2.422286e-01 -3.146781e-01 -1.104217e-05 -2.555871e-06
+ 1.700923e-02  6.634250e-03 -2.422199e-01 -3.146495e-01 -1.185988e-05 -3.915413e-06
+ 1.700923e-02  6.929203e-03 -2.421921e-01 -3.146147e-01 -8.881774e-07  3.432261e-07
+ 1.700923e-02  7.212103e-03 -2.421679e-01 -3.145804e-01  8.951786e-07 -3.709100e-07
+ 1.700923e-02  7.484315e-03 -2.421403e-01 -3.145441e-01  8.587261e-06  1.153568e-06
+ 1.700923e-02  7.746967e-03 -2.421070e-01 -3.145035e-01 -5.695509e-05 -7.287945e-06
+ 1.700923e-02  8.001000e-03 -2.420890e-01 -3.144642e-01  4.687484e-05  6.118654e-06
+ 1.700923e-02  8.247211e-03 -2.420765e-01 -3.144256e-01  4.824499e-05  1.385972e-05
+ 1.700923e-02  8.486281e-03 -2.419624e-01 -3.143618e-01 -7.739876e-05 -2.153394e-05
+ 1.700923e-02  8.718798e-03 -2.419328e-01 -3.143175e-01  4.856401e-06  1.582910e-06
+ 1.700923e-02  8.945272e-03 -2.419678e-01 -3.142908e-01 -1.611464e-04 -4.775990e-05
+ 1.700923e-02  9.166151e-03 -2.420478e-01 -3.142746e-01  4.054097e-05  1.138816e-05
+ 1.700923e-02  9.381832e-03 -2.419887e-01 -3.142196e-01 -3.639248e-04 -1.061440e-04
+ 1.700923e-02  9.592663e-03 -2.412711e-01 -3.139762e-01 -3.856094e-04 -1.018188e-04
+ 1.700923e-02  9.798959e-03 -2.410513e-01 -3.138694e-01 -1.684799e-04 -6.962268e-05
+ 1.700923e-02  1.000100e-02 -2.416621e-01 -3.140087e-01  2.876967e-04  7.134366e-05
+ 1.700923e-02  1.019904e-02 -2.419297e-01 -3.140344e-01  2.674589e-04  7.000147e-05
+ 1.700923e-02  1.039330e-02 -2.416623e-01 -3.139005e-01 -7.575470e-04 -2.340790e-04
+ 1.700923e-02  1.058401e-02 -2.417619e-01 -3.138835e-01 -8.448838e-04 -2.560344e-04
+ 1.700923e-02  1.077133e-02 -2.409300e-01 -3.135953e-01 -6.358697e-06 -1.647766e-05
+ 1.700923e-02  1.095545e-02 -2.410472e-01 -3.136047e-01 -6.950362e-05 -3.355866e-05
+ 1.700923e-02  1.113653e-02 -2.409438e-01 -3.134998e-01  7.340834e-04  1.873742e-04
+ 1.700923e-02  1.131471e-02 -2.409482e-01 -3.134369e-01 -1.711816e-05 -4.650641e-06
+ 1.700923e-02  1.149013e-02 -2.409413e-01 -3.133945e-01  7.329059e-06 -8.806137e-06
+ 1.700923e-02  1.166290e-02 -2.409567e-01 -3.133519e-01  1.177704e-03  3.261002e-04
+ 1.700923e-02  1.183316e-02 -2.413040e-01 -3.134044e-01  7.058921e-04  2.174277e-04
+ 1.700923e-02  1.200100e-02 -2.421356e-01 -3.135533e-01  1.241730e-03  2.372811e-04
+ 1.700923e-02  1.216653e-02 -2.403729e-01 -3.130572e-01  2.153376e-03  5.207273e-04
+ 1.700923e-02  1.232983e-02 -2.409847e-01 -3.131010e-01  2.197817e-03  5.076669e-04
+ 1.700923e-02  1.249100e-02 -2.410725e-01 -3.130799e-01  1.664585e-03  5.013791e-04
+ 1.700923e-02  1.265011e-02 -2.410129e-01 -3.129715e-01 -4.660407e-06 -1.595500e-05
+ 1.700923e-02  1.280725e-02 -2.410178e-01 -3.128953e-01 -4.887717e-06  1.907960e-05
+ 1.700923e-02  1.296248e-02 -2.410285e-01 -3.128319e-01 -1.537929e-06 -4.525440e-05
+ 1.700923e-02  1.311588e-02 -2.410308e-01 -3.127821e-01 -8.832496e-06  7.204465e-05
+ 1.700923e-02  1.326750e-02 -2.410326e-01 -3.127309e-01  4.841350e-06  4.934243e-06
+ 1.700923e-02  1.341741e-02 -2.410470e-01 -3.126578e-01  1.845821e-05 -3.010643e-05
+ 1.700923e-02  1.356566e-02 -2.398755e-01 -3.124175e-01  7.731071e-04 -4.475660e-05
+ 1.700923e-02  1.371231e-02 -2.399810e-01 -3.124253e-01  1.692482e-03  2.296411e-04
+ 1.700923e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700923e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.000000e-06 -2.415325e-01 -2.415325e-01  1.633024e-08 -1.319452e-09
+ 1.708433e-02  2.001000e-03 -2.420556e-01 -2.420555e-01  1.486367e-07  1.228548e-07
+ 1.708433e-02  2.829427e-03 -2.422126e-01 -3.148462e-01  2.314437e-06  6.165559e-07
+ 1.708433e-02  3.465102e-03 -2.423052e-01 -3.148550e-01 -1.761410e-08  4.739010e-09
+ 1.708433e-02  4.001000e-03 -2.423646e-01 -3.148530e-01  1.378922e-07  6.106856e-08
+ 1.708433e-02  4.473136e-03 -2.424031e-01 -3.148440e-01  5.215168e-08  7.388262e-08
+ 1.708433e-02  4.899979e-03 -2.424275e-01 -3.148300e-01 -1.530028e-06 -6.026166e-07
+ 1.708433e-02  5.292503e-03 -2.424410e-01 -3.148118e-01 -1.652745e-06 -7.204852e-07
+ 1.708433e-02  5.657854e-03 -2.424454e-01 -3.147900e-01 -3.327949e-06 -1.390010e-06
+ 1.708433e-02  6.001000e-03 -2.424421e-01 -3.147648e-01 -1.138268e-07  2.814728e-07
+ 1.708433e-02  6.325555e-03 -2.424335e-01 -3.147371e-01 -2.881663e-06 -9.266881e-08
+ 1.708433e-02  6.634250e-03 -2.424201e-01 -3.147071e-01 -2.038613e-06 -5.689232e-07
+ 1.708433e-02  6.929203e-03 -2.424008e-01 -3.146744e-01 -9.438242e-07  4.825319e-07
+ 1.708433e-02  7.212103e-03 -2.423740e-01 -3.146386e-01 -1.674130e-05 -3.868950e-06
+ 1.708433e-02  7.484315e-03 -2.423553e-01 -3.146042e-01 -1.036006e-06 -8.631249e-07
+ 1.708433e-02  7.746967e-03 -2.423147e-01 -3.145639e-01  3.184090e-06 -5.539279e-07
+ 1.708433e-02  8.001000e-03 -2.422363e-01 -3.145127e-01  2.385435e-05  6.702659e-06
+ 1.708433e-02  8.247211e-03 -2.422499e-01 -3.144838e-01  2.576007e-05  3.053234e-06
+ 1.708433e-02  8.486281e-03 -2.422754e-01 -3.144541e-01 -1.530023e-05  1.187560e-05
+ 1.708433e-02  8.718798e-03 -2.423054e-01 -3.144214e-01  5.985467e-05 -7.579513e-06
+ 1.708433e-02  8.945272e-03 -2.422325e-01 -3.143625e-01  1.338846e-04  2.918278e-05
+ 1.708433e-02  9.166151e-03 -2.422386e-01 -3.143283e-01  3.916500e-04  6.186906e-05
+ 1.708433e-02  9.381832e-03 -2.421125e-01 -3.142577e-01  1.714630e-05  3.102819e-06
+ 1.708433e-02  9.592663e-03 -2.420246e-01 -3.141940e-01 -2.800593e-04 -7.517012e-05
+ 1.708433e-02  9.798959e-03 -2.420476e-01 -3.141577e-01 -7.955603e-04 -2.236347e-04
+ 1.708433e-02  1.000100e-02 -2.420705e-01 -3.141204e-01  5.229565e-05  1.631837e-05
+ 1.708433e-02  1.019904e-02 -2.421335e-01 -3.140890e-01 -4.224029e-05  8.239512e-07
+ 1.708433e-02  1.039330e-02 -2.417207e-01 -3.139341e-01 -1.451961e-03 -4.123261e-04
+ 1.708433e-02  1.058401e-02 -2.418930e-01 -3.139351e-01 -8.241335e-05 -2.932495e-05
+ 1.708433e-02  1.077133e-02 -2.418375e-01 -3.138725e-01 -9.477195e-04 -2.688991e-04
+ 1.708433e-02  1.095545e-02 -2.409406e-01 -3.135477e-01 -1.815445e-05 -9.805848e-06
+ 1.708433e-02  1.113653e-02 -2.412096e-01 -3.136062e-01  6.674848e-04  1.799247e-04
+ 1.708433e-02  1.131471e-02 -2.415075e-01 -3.136292e-01  2.406457e-04  6.134199e-05
+ 1.708433e-02  1.149013e-02 -2.409484e-01 -3.134052e-01  3.698017e-04  1.375141e-04
+ 1.708433e-02  1.166290e-02 -2.406415e-01 -3.132866e-01  2.601709e-03  6.093255e-04
+ 1.708433e-02  1.183316e-02 -2.410260e-01 -3.133078e-01  1.121420e-03  3.401554e-04
+ 1.708433e-02  1.200100e-02 -2.409041e-01 -3.132370e-01 -1.100931e-03 -2.844420e-04
+ 1.708433e-02  1.216653e-02 -2.420882e-01 -3.134937e-01  4.648318e-04 -5.851469e-06
+ 1.708433e-02  1.232983e-02 -2.421652e-01 -3.134484e-01 -9.691579e-04 -2.541195e-04
+ 1.708433e-02  1.249100e-02 -2.423052e-01 -3.134198e-01  1.432173e-03  2.247551e-04
+ 1.708433e-02  1.265011e-02 -2.403745e-01 -3.129024e-01  1.908914e-03  3.833639e-04
+ 1.708433e-02  1.280725e-02 -2.410331e-01 -3.129486e-01 -2.410331e-01 -3.129486e-01
+ 1.708433e-02  1.296248e-02 -2.410382e-01 -3.128240e-01  3.502083e-04  1.527647e-04
+ 1.708433e-02  1.311588e-02 -2.410423e-01 -3.127775e-01 -1.453081e-05  6.549362e-05
+ 1.708433e-02  1.326750e-02 -2.410384e-01 -3.127383e-01  3.664116e-06 -7.014692e-08
+ 1.708433e-02  1.341741e-02 -2.410413e-01 -3.126568e-01 -4.337094e-05  7.533653e-05
+ 1.708433e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.708433e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.000000e-06 -2.417507e-01 -2.417507e-01  1.407960e-07 -1.196551e-08
+ 1.715909e-02  2.001000e-03 -2.422867e-01 -2.422868e-01 -9.409997e-09 -6.461889e-08
+ 1.715909e-02  2.829427e-03 -2.424426e-01 -3.149100e-01 -2.058166e-08 -1.283854e-08
+ 1.715909e-02  3.465102e-03 -2.425308e-01 -3.149176e-01  2.422276e-06  6.638238e-07
+ 1.715909e-02  4.001000e-03 -2.425827e-01 -3.149144e-01  2.986587e-06  4.932641e-07
+ 1.715909e-02  4.473136e-03 -2.426173e-01 -3.149048e-01  9.358357e-06  1.317509e-06
+ 1.715909e-02  4.899979e-03 -2.426377e-01 -3.148899e-01 -9.484091e-07 -1.850041e-07
+ 1.715909e-02  5.292503e-03 -2.426428e-01 -3.148700e-01  1.023335e-06  1.568829e-07
+ 1.715909e-02  5.657854e-03 -2.426269e-01 -3.148438e-01  3.424230e-05  6.981436e-06
+ 1.715909e-02  6.001000e-03 -2.425868e-01 -3.148092e-01  7.980309e-05  1.860012e-05
+ 1.715909e-02  6.325555e-03 -2.425594e-01 -3.147756e-01 -3.208487e-06 -5.741137e-07
+ 1.715909e-02  6.634250e-03 -2.425649e-01 -3.147501e-01  5.018461e-05  1.315278e-05
+ 1.715909e-02  6.929203e-03 -2.425902e-01 -3.147291e-01  1.056660e-04  2.680665e-05
+ 1.715909e-02  7.212103e-03 -2.426233e-01 -3.147093e-01 -4.823604e-05 -1.211711e-05
+ 1.715909e-02  7.484315e-03 -2.426437e-01 -3.146854e-01  5.392441e-04  1.518575e-04
+ 1.715909e-02  7.746967e-03 -2.425833e-01 -3.146390e-01 -4.320038e-05 -1.136573e-05
+ 1.715909e-02  8.001000e-03 -2.425164e-01 -3.145889e-01  9.346055e-07  9.952511e-07
+ 1.715909e-02  8.247211e-03 -2.424825e-01 -3.145482e-01 -6.695447e-06 -2.647080e-07
+ 1.715909e-02  8.486281e-03 -2.424332e-01 -3.145054e-01  3.318916e-05  7.708589e-06
+ 1.715909e-02  8.718798e-03 -2.423505e-01 -3.144491e-01 -2.293766e-04 -4.011741e-05
+ 1.715909e-02  8.945272e-03 -2.423397e-01 -3.144020e-01  1.069916e-04  1.085154e-05
+ 1.715909e-02  9.166151e-03 -2.422718e-01 -3.143399e-01  1.367988e-04  2.097507e-05
+ 1.715909e-02  9.381832e-03 -2.422982e-01 -3.143048e-01  1.428733e-04  2.975531e-05
+ 1.715909e-02  9.592663e-03 -2.423158e-01 -3.142691e-01  6.603125e-05  1.812295e-05
+ 1.715909e-02  9.798959e-03 -2.423184e-01 -3.142323e-01 -1.089044e-04 -2.734962e-05
+ 1.715909e-02  1.000100e-02 -2.421499e-01 -3.141423e-01 -3.376490e-05 -7.333771e-06
+ 1.715909e-02  1.019904e-02 -2.421547e-01 -3.141038e-01 -3.227514e-05 -8.517544e-06
+ 1.715909e-02  1.039330e-02 -2.421024e-01 -3.140414e-01  1.555589e-04  3.768969e-05
+ 1.715909e-02  1.058401e-02 -2.422400e-01 -3.140295e-01  8.516415e-05  1.587005e-05
+ 1.715909e-02  1.077133e-02 -2.421805e-01 -3.139669e-01 -2.298007e-05 -1.079055e-05
+ 1.715909e-02  1.095545e-02 -2.421716e-01 -3.139008e-01 -1.157774e-05 -3.365392e-05
+ 1.715909e-02  1.113653e-02 -2.420960e-01 -3.138370e-01 -6.761840e-05 -7.148520e-06
+ 1.715909e-02  1.131471e-02 -2.422261e-01 -3.138273e-01  1.724763e-04  4.368753e-05
+ 1.715909e-02  1.149013e-02 -2.422213e-01 -3.137771e-01  7.660115e-04  2.138720e-04
+ 1.715909e-02  1.166290e-02 -2.427245e-01 -3.138093e-01 -3.639987e-04 -8.658857e-05
+ 1.715909e-02  1.183316e-02 -2.409725e-01 -3.132862e-01  1.291622e-03  3.459238e-04
+ 1.715909e-02  1.200100e-02 -2.409642e-01 -3.132558e-01  7.027485e-04  2.129764e-04
+ 1.715909e-02  1.216653e-02 -2.419872e-01 -3.134653e-01  1.123319e-03  2.823094e-04
+ 1.715909e-02  1.232983e-02 -2.409856e-01 -3.131307e-01 -1.051538e-04 -2.905491e-05
+ 1.715909e-02  1.249100e-02 -2.425931e-01 -3.134402e-01 -5.471419e-05  4.542417e-05
+ 1.715909e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.280725e-02 -2.412207e-01 -3.129993e-01  5.816115e-05  1.918530e-05
+ 1.715909e-02  1.296248e-02 -2.418559e-01 -3.129719e-01  1.268753e-04 -3.199601e-05
+ 1.715909e-02  1.311588e-02 -2.410183e-01 -3.128044e-01 -1.150012e-03 -1.817072e-04
+ 1.715909e-02  1.326750e-02 -2.410495e-01 -3.127033e-01  1.789847e-06  2.367692e-05
+ 1.715909e-02  1.341741e-02 -2.410550e-01 -3.126605e-01 -1.419154e-06 -1.671596e-05
+ 1.715909e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.371231e-02 -2.426130e-01 -3.126619e-01 -1.630275e-03  2.633354e-04
+ 1.715909e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.715909e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.000000e-06 -2.419727e-01 -2.419727e-01  3.621782e-06  3.623917e-06
+ 1.723353e-02  2.001000e-03 -2.425143e-01 -2.425143e-01  2.762915e-07  2.363739e-07
+ 1.723353e-02  2.829427e-03 -2.426678e-01 -3.149720e-01  6.730019e-08  6.796657e-09
+ 1.723353e-02  3.465102e-03 -2.427497e-01 -3.149780e-01  5.750778e-05  1.549943e-05
+ 1.723353e-02  4.001000e-03 -2.427762e-01 -3.149680e-01  3.871400e-05  9.965430e-06
+ 1.723353e-02  4.473136e-03 -2.428249e-01 -3.149624e-01 -2.927767e-06 -5.469635e-07
+ 1.723353e-02  4.899979e-03 -2.428501e-01 -3.149488e-01  4.291978e-06  8.911777e-07
+ 1.723353e-02  5.292503e-03 -2.428525e-01 -3.149282e-01  7.198915e-06  1.594356e-06
+ 1.723353e-02  5.657854e-03 -2.428167e-01 -3.148965e-01  1.572685e-06  3.045754e-07
+ 1.723353e-02  6.001000e-03 -2.427469e-01 -3.148534e-01  5.424308e-05  1.478755e-05
+ 1.723353e-02  6.325555e-03 -2.427487e-01 -3.148286e-01  5.319824e-05  1.619030e-05
+ 1.723353e-02  6.634250e-03 -2.427872e-01 -3.148129e-01 -2.646094e-05 -6.472457e-06
+ 1.723353e-02  6.929203e-03 -2.428272e-01 -3.147982e-01  2.068162e-06  8.871741e-07
+ 1.723353e-02  7.212103e-03 -2.428166e-01 -3.147692e-01  7.664499e-05  1.625079e-05
+ 1.723353e-02  7.484315e-03 -2.425928e-01 -3.146802e-01  3.419555e-04  9.300163e-05
+ 1.723353e-02  7.746967e-03 -2.425964e-01 -3.146491e-01  3.413928e-04  8.971699e-05
+ 1.723353e-02  8.001000e-03 -2.426534e-01 -3.146308e-01  2.851570e-04  7.368995e-05
+ 1.723353e-02  8.247211e-03 -2.426946e-01 -3.146067e-01  9.880195e-05  2.055496e-05
+ 1.723353e-02  8.486281e-03 -2.427959e-01 -3.146022e-01 -1.467323e-04 -4.009909e-05
+ 1.723353e-02  8.718798e-03 -2.427254e-01 -3.145468e-01  2.265427e-04  4.067697e-05
+ 1.723353e-02  8.945272e-03 -2.425432e-01 -3.144717e-01  4.130129e-05  8.577230e-06
+ 1.723353e-02  9.166151e-03 -2.424635e-01 -3.144134e-01 -2.065562e-04 -1.722159e-05
+ 1.723353e-02  9.381832e-03 -2.424672e-01 -3.143630e-01  8.963031e-05  8.892605e-06
+ 1.723353e-02  9.592663e-03 -2.425629e-01 -3.143356e-01  4.687519e-04  1.231499e-04
+ 1.723353e-02  9.798959e-03 -2.425091e-01 -3.142804e-01 -2.745734e-04 -6.740976e-05
+ 1.723353e-02  1.000100e-02 -2.423568e-01 -3.142038e-01 -1.970067e-04 -5.376182e-05
+ 1.723353e-02  1.019904e-02 -2.424164e-01 -3.141761e-01 -4.943553e-05  2.011304e-05
+ 1.723353e-02  1.039330e-02 -2.423102e-01 -3.141048e-01 -1.388188e-04 -4.399508e-05
+ 1.723353e-02  1.058401e-02 -2.422504e-01 -3.140407e-01  1.249149e-04  2.249722e-05
+ 1.723353e-02  1.077133e-02 -2.420007e-01 -3.139249e-01 -3.798813e-04 -1.029242e-04
+ 1.723353e-02  1.095545e-02 -2.421552e-01 -3.138967e-01  5.513394e-04  1.637668e-04
+ 1.723353e-02  1.113653e-02 -2.420390e-01 -3.138108e-01 -8.514903e-04 -2.118410e-04
+ 1.723353e-02  1.131471e-02 -2.409806e-01 -3.134701e-01 -3.809084e-05 -3.983663e-05
+ 1.723353e-02  1.149013e-02 -2.415707e-01 -3.135975e-01 -6.247166e-04 -2.014135e-04
+ 1.723353e-02  1.166290e-02 -2.410569e-01 -3.133811e-01 -1.145626e-04 -2.055516e-05
+ 1.723353e-02  1.183316e-02 -2.422698e-01 -3.136637e-01  1.045103e-03  1.863544e-04
+ 1.723353e-02  1.200100e-02 -2.410441e-01 -3.132612e-01  1.902592e-03  5.182837e-04
+ 1.723353e-02  1.216653e-02 -2.426321e-01 -3.136134e-01 -1.376719e-03 -3.361985e-04
+ 1.723353e-02  1.232983e-02 -2.425736e-01 -3.134961e-01 -1.400383e-03 -3.707717e-04
+ 1.723353e-02  1.249100e-02 -2.425623e-01 -3.134740e-01  1.252049e-05  2.125711e-05
+ 1.723353e-02  1.265011e-02 -2.415178e-01 -3.131662e-01 -6.271700e-04 -1.140762e-04
+ 1.723353e-02  1.280725e-02 -2.410015e-01 -3.129564e-01 -2.410015e-01 -3.129564e-01
+ 1.723353e-02  1.296248e-02 -2.410610e-01 -3.128655e-01 -2.670105e-04 -7.295686e-06
+ 1.723353e-02  1.311588e-02 -2.419581e-01 -3.129668e-01 -3.507288e-05  1.414096e-04
+ 1.723353e-02  1.326750e-02 -2.409648e-01 -3.127038e-01  1.016884e-03  1.601986e-04
+ 1.723353e-02  1.341741e-02 -2.416817e-01 -3.127245e-01 -6.883393e-04  1.709474e-04
+ 1.723353e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.371231e-02 -2.410626e-01 -3.124973e-01  1.040963e-03 -2.205331e-04
+ 1.723353e-02  1.385741e-02 -2.410258e-01 -3.125364e-01  5.462985e-04  1.053987e-04
+ 1.723353e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723353e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.000000e-06 -2.421934e-01 -2.421934e-01  3.149231e-07  2.106716e-07
+ 1.730765e-02  2.001000e-03 -2.427395e-01 -2.427393e-01  1.391557e-06  1.447706e-06
+ 1.730765e-02  2.829427e-03 -2.428874e-01 -3.150323e-01  3.303490e-07 -6.277969e-08
+ 1.730765e-02  3.465102e-03 -2.429724e-01 -3.150394e-01  8.501527e-07  4.761366e-07
+ 1.730765e-02  4.001000e-03 -2.430248e-01 -3.150365e-01  1.075856e-06  5.069795e-07
+ 1.730765e-02  4.473136e-03 -2.430598e-01 -3.150279e-01 -1.186057e-05 -4.766247e-06
+ 1.730765e-02  4.899979e-03 -2.430834e-01 -3.150149e-01 -6.249199e-07 -1.903623e-07
+ 1.730765e-02  5.292503e-03 -2.430977e-01 -3.149983e-01 -5.138217e-05 -1.766011e-05
+ 1.730765e-02  5.657854e-03 -2.431038e-01 -3.149783e-01  7.056188e-05  1.938409e-05
+ 1.730765e-02  6.001000e-03 -2.431011e-01 -3.149550e-01  2.777951e-05  7.776530e-06
+ 1.730765e-02  6.325555e-03 -2.430873e-01 -3.149275e-01  4.158788e-05  1.192627e-05
+ 1.730765e-02  6.634250e-03 -2.430568e-01 -3.148940e-01 -1.050070e-05 -3.472573e-06
+ 1.730765e-02  6.929203e-03 -2.430000e-01 -3.148505e-01 -4.696652e-05 -1.428404e-05
+ 1.730765e-02  7.212103e-03 -2.429292e-01 -3.148004e-01 -2.148209e-04 -6.110559e-05
+ 1.730765e-02  7.484315e-03 -2.428673e-01 -3.147513e-01  5.776912e-06  6.898581e-06
+ 1.730765e-02  7.746967e-03 -2.427625e-01 -3.146933e-01 -1.844261e-04 -4.411649e-05
+ 1.730765e-02  8.001000e-03 -2.428902e-01 -3.146998e-01 -2.598687e-04 -7.019520e-05
+ 1.730765e-02  8.247211e-03 -2.426045e-01 -3.145943e-01  2.740996e-04  7.443499e-05
+ 1.730765e-02  8.486281e-03 -2.426305e-01 -3.145650e-01  2.606029e-04  7.307822e-05
+ 1.730765e-02  8.718798e-03 -2.427305e-01 -3.145573e-01 -9.113129e-06  4.006694e-06
+ 1.730765e-02  8.945272e-03 -2.428685e-01 -3.145622e-01 -1.653996e-04 -4.077904e-05
+ 1.730765e-02  9.166151e-03 -2.429478e-01 -3.145427e-01  2.774459e-05  2.175033e-06
+ 1.730765e-02  9.381832e-03 -2.427968e-01 -3.144757e-01 -2.115474e-04 -4.446983e-05
+ 1.730765e-02  9.592663e-03 -2.425458e-01 -3.143590e-01  5.569191e-05  1.138208e-05
+ 1.730765e-02  9.798959e-03 -2.427144e-01 -3.143477e-01 -1.539731e-04 -5.543415e-06
+ 1.730765e-02  1.000100e-02 -2.429376e-01 -3.143424e-01 -2.150538e-04 -3.486095e-05
+ 1.730765e-02  1.019904e-02 -2.426034e-01 -3.142305e-01 -1.576066e-04 -3.067414e-05
+ 1.730765e-02  1.039330e-02 -2.424951e-01 -3.141620e-01 -4.783406e-04 -1.220636e-04
+ 1.730765e-02  1.058401e-02 -2.425213e-01 -3.141164e-01 -9.050791e-05 -3.255635e-05
+ 1.730765e-02  1.077133e-02 -2.423038e-01 -3.140032e-01 -3.897937e-05  1.585524e-05
+ 1.730765e-02  1.095545e-02 -2.422922e-01 -3.139385e-01  6.307836e-04  1.474329e-04
+ 1.730765e-02  1.113653e-02 -2.424256e-01 -3.139350e-01 -2.424256e-01 -3.139350e-01
+ 1.730765e-02  1.131471e-02 -2.423148e-01 -3.138568e-01 -9.952404e-04 -2.918196e-04
+ 1.730765e-02  1.149013e-02 -2.429425e-01 -3.139560e-01 -1.871402e-04 -9.833860e-06
+ 1.730765e-02  1.166290e-02 -2.430102e-01 -3.139013e-01 -6.320812e-04 -1.352171e-04
+ 1.730765e-02  1.183316e-02 -2.418819e-01 -3.135698e-01 -8.924756e-04 -2.793275e-04
+ 1.730765e-02  1.200100e-02 -2.410180e-01 -3.132552e-01  1.151628e-04  2.605164e-05
+ 1.730765e-02  1.216653e-02 -2.400154e-01 -3.129792e-01  5.280296e-04  1.478703e-04
+ 1.730765e-02  1.232983e-02 -2.409677e-01 -3.131218e-01  2.973211e-03  4.660196e-04
+ 1.730765e-02  1.249100e-02 -2.409711e-01 -3.130972e-01  2.589403e-05 -6.002746e-05
+ 1.730765e-02  1.265011e-02 -2.420508e-01 -3.132625e-01  1.426263e-03  2.082028e-04
+ 1.730765e-02  1.280725e-02 -2.415754e-01 -3.130637e-01 -1.241327e-03 -2.965950e-04
+ 1.730765e-02  1.296248e-02 -2.410219e-01 -3.128553e-01 -8.599479e-07  1.798906e-05
+ 1.730765e-02  1.311588e-02 -2.429223e-01 -3.132154e-01 -1.891271e-03 -4.080081e-04
+ 1.730765e-02  1.326750e-02 -2.423982e-01 -3.131243e-01 -1.378169e-03 -2.609268e-04
+ 1.730765e-02  1.341741e-02 -2.411640e-01 -3.126980e-01 -2.411640e-01 -3.126980e-01
+ 1.730765e-02  1.356566e-02 -2.409632e-01 -3.125861e-01  1.665364e-04  1.196697e-04
+ 1.730765e-02  1.371231e-02 -2.409808e-01 -3.125387e-01  9.257620e-05  1.283434e-04
+ 1.730765e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.730765e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.000000e-06 -2.424140e-01 -2.424141e-01  2.457257e-08 -2.584159e-08
+ 1.738145e-02  2.001000e-03 -2.429585e-01 -2.429587e-01 -2.607102e-08 -2.733458e-08
+ 1.738145e-02  2.829427e-03 -2.431074e-01 -3.150922e-01 -1.382127e-06 -6.769198e-07
+ 1.738145e-02  3.465102e-03 -2.431894e-01 -3.150983e-01 -1.587508e-05 -4.010230e-06
+ 1.738145e-02  4.001000e-03 -2.432343e-01 -3.150931e-01 -4.759794e-06 -8.879096e-07
+ 1.738145e-02  4.473136e-03 -2.432590e-01 -3.150815e-01  5.490423e-07  2.455065e-07
+ 1.738145e-02  4.899979e-03 -2.432711e-01 -3.150652e-01  8.462893e-06  2.471332e-06
+ 1.738145e-02  5.292503e-03 -2.432720e-01 -3.150448e-01  8.198467e-06  2.785415e-06
+ 1.738145e-02  5.657854e-03 -2.432631e-01 -3.150206e-01 -5.138239e-06 -9.764829e-07
+ 1.738145e-02  6.001000e-03 -2.432477e-01 -3.149933e-01  2.952571e-06  1.163602e-06
+ 1.738145e-02  6.325555e-03 -2.432351e-01 -3.149657e-01  1.474556e-05  4.507952e-06
+ 1.738145e-02  6.634250e-03 -2.432279e-01 -3.149387e-01  5.796302e-06  9.736936e-07
+ 1.738145e-02  6.929203e-03 -2.432192e-01 -3.149101e-01  1.527234e-05  3.661786e-06
+ 1.738145e-02  7.212103e-03 -2.432009e-01 -3.148777e-01 -1.069096e-04 -2.792893e-05
+ 1.738145e-02  7.484315e-03 -2.431865e-01 -3.148452e-01 -3.733370e-04 -1.094026e-04
+ 1.738145e-02  7.746967e-03 -2.431889e-01 -3.148169e-01 -1.127214e-04 -3.767314e-05
+ 1.738145e-02  8.001000e-03 -2.431769e-01 -3.147836e-01 -4.330789e-04 -1.257892e-04
+ 1.738145e-02  8.247211e-03 -2.431916e-01 -3.147571e-01 -5.991201e-04 -1.666045e-04
+ 1.738145e-02  8.486281e-03 -2.431813e-01 -3.147237e-01 -3.780866e-04 -1.106555e-04
+ 1.738145e-02  8.718798e-03 -2.427751e-01 -3.145680e-01  2.009132e-04  5.226828e-05
+ 1.738145e-02  8.945272e-03 -2.426249e-01 -3.144988e-01  3.451809e-04  7.166207e-05
+ 1.738145e-02  9.166151e-03 -2.427643e-01 -3.145062e-01  3.893165e-04  1.085321e-04
+ 1.738145e-02  9.381832e-03 -2.428438e-01 -3.144909e-01 -1.002189e-04 -4.502306e-05
+ 1.738145e-02  9.592663e-03 -2.428171e-01 -3.144483e-01  1.852225e-04  3.523931e-05
+ 1.738145e-02  9.798959e-03 -2.426794e-01 -3.143736e-01  7.380217e-05  1.246968e-05
+ 1.738145e-02  1.000100e-02 -2.426820e-01 -3.143230e-01  4.773731e-04  1.553025e-04
+ 1.738145e-02  1.019904e-02 -2.427744e-01 -3.143367e-01  2.672446e-05  1.395345e-05
+ 1.738145e-02  1.039330e-02 -2.430039e-01 -3.143227e-01 -3.880152e-04 -2.001310e-05
+ 1.738145e-02  1.058401e-02 -2.431072e-01 -3.142648e-01 -1.014963e-04  2.761649e-05
+ 1.738145e-02  1.077133e-02 -2.433523e-01 -3.142018e-01  1.022454e-03 -1.424262e-05
+ 1.738145e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.113653e-02 -2.434456e-01 -3.141518e-01 -2.434456e-01 -3.141518e-01
+ 1.738145e-02  1.131471e-02 -2.423861e-01 -3.138741e-01 -8.633019e-04 -2.106837e-04
+ 1.738145e-02  1.149013e-02 -2.427668e-01 -3.139035e-01  6.602093e-04  9.641091e-05
+ 1.738145e-02  1.166290e-02 -2.421012e-01 -3.136787e-01 -2.084695e-03 -5.533453e-04
+ 1.738145e-02  1.183316e-02 -2.416632e-01 -3.135045e-01 -7.243537e-04 -1.861486e-04
+ 1.738145e-02  1.200100e-02 -2.411316e-01 -3.132979e-01 -1.773046e-04 -2.700065e-05
+ 1.738145e-02  1.216653e-02 -2.410101e-01 -3.132252e-01  9.117170e-04  2.564080e-04
+ 1.738145e-02  1.232983e-02 -2.418399e-01 -3.133750e-01  7.370833e-04  1.644070e-04
+ 1.738145e-02  1.249100e-02 -2.402536e-01 -3.129489e-01 -4.662728e-04 -1.177247e-04
+ 1.738145e-02  1.265011e-02 -2.424655e-01 -3.133332e-01 -1.447305e-03 -4.393260e-04
+ 1.738145e-02  1.280725e-02 -2.421307e-01 -3.131952e-01  3.309209e-04  3.733241e-05
+ 1.738145e-02  1.296248e-02 -2.419689e-01 -3.130411e-01 -9.333546e-04 -4.276832e-04
+ 1.738145e-02  1.311588e-02 -2.409483e-01 -3.127950e-01  1.415618e-03  2.590242e-04
+ 1.738145e-02  1.326750e-02 -2.410638e-01 -3.127492e-01  1.090686e-03  3.552564e-04
+ 1.738145e-02  1.341741e-02 -2.413839e-01 -3.126987e-01  3.642061e-05 -6.559619e-05
+ 1.738145e-02  1.356566e-02 -2.410871e-01 -3.125558e-01  2.239863e-03  7.374022e-04
+ 1.738145e-02  1.371231e-02 -2.418571e-01 -3.126123e-01  3.399468e-05 -4.239417e-05
+ 1.738145e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.400100e-02 -2.398985e-01 -3.123022e-01 -2.398985e-01 -3.123022e-01
+ 1.738145e-02  1.414314e-02 -2.418366e-01 -3.122080e-01 -8.592849e-04  7.881672e-04
+ 1.738145e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.600100e-02 -2.396695e-01 -3.119360e-01 -2.396695e-01 -3.119360e-01
+ 1.738145e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.738145e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.000000e-06 -2.426329e-01 -2.426327e-01  5.083072e-07  4.155564e-07
+ 1.745494e-02  2.001000e-03 -2.431758e-01 -2.431759e-01 -1.312138e-06 -1.502091e-06
+ 1.745494e-02  2.829427e-03 -2.433184e-01 -3.151493e-01  4.184385e-07 -5.618689e-08
+ 1.745494e-02  3.465102e-03 -2.433961e-01 -3.151547e-01  7.634501e-08 -8.584725e-08
+ 1.745494e-02  4.001000e-03 -2.434403e-01 -3.151496e-01  9.758010e-09 -2.510139e-09
+ 1.745494e-02  4.473136e-03 -2.434641e-01 -3.151378e-01  1.048443e-07  8.551597e-09
+ 1.745494e-02  4.899979e-03 -2.434744e-01 -3.151212e-01 -3.169506e-08 -2.450255e-08
+ 1.745494e-02  5.292503e-03 -2.434748e-01 -3.151008e-01 -3.972472e-07 -1.239616e-07
+ 1.745494e-02  5.657854e-03 -2.434677e-01 -3.150772e-01 -3.495211e-07 -5.407188e-08
+ 1.745494e-02  6.001000e-03 -2.434552e-01 -3.150511e-01 -5.523875e-07 -1.072925e-07
+ 1.745494e-02  6.325555e-03 -2.434359e-01 -3.150221e-01 -8.849530e-06 -2.243803e-06
+ 1.745494e-02  6.634250e-03 -2.434136e-01 -3.149911e-01  1.289815e-06  4.056497e-07
+ 1.745494e-02  6.929203e-03 -2.433976e-01 -3.149604e-01  8.214923e-07  2.009436e-07
+ 1.745494e-02  7.212103e-03 -2.433528e-01 -3.149217e-01 -5.952853e-06 -1.489465e-06
+ 1.745494e-02  7.484315e-03 -2.433217e-01 -3.148848e-01  5.838048e-05  1.463911e-05
+ 1.745494e-02  7.746967e-03 -2.432541e-01 -3.148376e-01  2.473673e-05  5.495192e-06
+ 1.745494e-02  8.001000e-03 -2.432246e-01 -3.147988e-01 -1.433198e-05 -3.810202e-06
+ 1.745494e-02  8.247211e-03 -2.432341e-01 -3.147694e-01  2.778377e-05  6.720002e-06
+ 1.745494e-02  8.486281e-03 -2.432291e-01 -3.147353e-01  3.295725e-06 -3.718098e-07
+ 1.745494e-02  8.718798e-03 -2.430991e-01 -3.146658e-01 -3.991282e-04 -1.207834e-04
+ 1.745494e-02  8.945272e-03 -2.430933e-01 -3.146294e-01 -4.255042e-04 -1.195653e-04
+ 1.745494e-02  9.166151e-03 -2.431132e-01 -3.146002e-01 -2.818760e-04 -1.055128e-04
+ 1.745494e-02  9.381832e-03 -2.431427e-01 -3.145742e-01  9.900802e-05  2.597414e-05
+ 1.745494e-02  9.592663e-03 -2.431322e-01 -3.145432e-01  2.167463e-04  5.698630e-05
+ 1.745494e-02  9.798959e-03 -2.425710e-01 -3.143706e-01 -1.925456e-04 -1.976006e-05
+ 1.745494e-02  1.000100e-02 -2.425778e-01 -3.143312e-01  3.014058e-04  7.343826e-05
+ 1.745494e-02  1.019904e-02 -2.426578e-01 -3.143159e-01  3.020718e-04  5.334119e-05
+ 1.745494e-02  1.039330e-02 -2.427680e-01 -3.143329e-01 -2.956971e-05 -7.026065e-06
+ 1.745494e-02  1.058401e-02 -2.428704e-01 -3.142555e-01  2.740696e-04 -1.890234e-05
+ 1.745494e-02  1.077133e-02 -2.427456e-01 -3.141224e-01  9.897621e-06 -8.115858e-07
+ 1.745494e-02  1.095545e-02 -2.430068e-01 -3.141204e-01 -5.290346e-04 -1.348333e-04
+ 1.745494e-02  1.113653e-02 -2.430899e-01 -3.140798e-01 -2.430899e-01 -3.140798e-01
+ 1.745494e-02  1.131471e-02 -2.433011e-01 -3.140588e-01 -2.608336e-04 -1.878267e-05
+ 1.745494e-02  1.149013e-02 -2.432193e-01 -3.140142e-01  1.396980e-03 -1.849510e-04
+ 1.745494e-02  1.166290e-02 -2.433118e-01 -3.139930e-01 -2.751085e-04 -9.334837e-05
+ 1.745494e-02  1.183316e-02 -2.428151e-01 -3.138304e-01 -5.563801e-04 -8.362027e-05
+ 1.745494e-02  1.200100e-02 -2.426011e-01 -3.137061e-01 -2.670716e-03 -6.602055e-04
+ 1.745494e-02  1.216653e-02 -2.425964e-01 -3.136387e-01  5.845594e-04  9.661052e-05
+ 1.745494e-02  1.232983e-02 -2.431891e-01 -3.136743e-01  8.357200e-04  2.260372e-04
+ 1.745494e-02  1.249100e-02 -2.432807e-01 -3.135924e-01 -2.225435e-03 -3.968365e-04
+ 1.745494e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.311588e-02 -2.427553e-01 -3.131479e-01 -9.613308e-04 -5.578659e-06
+ 1.745494e-02  1.326750e-02 -2.425200e-01 -3.129969e-01 -2.425200e-01 -3.129969e-01
+ 1.745494e-02  1.341741e-02 -2.430089e-01 -3.131130e-01 -1.283226e-03 -2.624666e-04
+ 1.745494e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.400100e-02 -2.411136e-01 -3.123623e-01 -2.411136e-01 -3.123623e-01
+ 1.745494e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.428386e-02 -2.411956e-01 -3.122404e-01 -2.411956e-01 -3.122404e-01
+ 1.745494e-02  1.442321e-02 -2.398951e-01 -3.121263e-01 -2.398951e-01 -3.121263e-01
+ 1.745494e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.745494e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.000000e-06 -2.428528e-01 -2.428531e-01  2.468873e-07  3.100932e-07
+ 1.752812e-02  2.001000e-03 -2.433905e-01 -2.433905e-01  4.053595e-08 -4.244692e-08
+ 1.752812e-02  2.829427e-03 -2.435286e-01 -3.152056e-01  2.569107e-08 -1.211842e-09
+ 1.752812e-02  3.465102e-03 -2.436014e-01 -3.152101e-01  9.864171e-08  1.461215e-08
+ 1.752812e-02  4.001000e-03 -2.436424e-01 -3.152045e-01 -1.249390e-07 -1.736892e-07
+ 1.752812e-02  4.473136e-03 -2.436642e-01 -3.151925e-01 -1.206830e-07 -2.114533e-07
+ 1.752812e-02  4.899979e-03 -2.436737e-01 -3.151760e-01  2.246547e-06  5.565180e-07
+ 1.752812e-02  5.292503e-03 -2.436754e-01 -3.151562e-01 -2.800364e-06 -9.691457e-07
+ 1.752812e-02  5.657854e-03 -2.436713e-01 -3.151339e-01  3.125953e-06  8.057067e-07
+ 1.752812e-02  6.001000e-03 -2.436605e-01 -3.151086e-01 -9.763481e-06 -3.173759e-06
+ 1.752812e-02  6.325555e-03 -2.436401e-01 -3.150793e-01 -3.535749e-06 -1.246591e-06
+ 1.752812e-02  6.634250e-03 -2.436146e-01 -3.150473e-01  8.513637e-07  2.282312e-07
+ 1.752812e-02  6.929203e-03 -2.435901e-01 -3.150146e-01  8.992043e-06  2.360142e-06
+ 1.752812e-02  7.212103e-03 -2.435572e-01 -3.149783e-01 -9.365728e-07 -1.995987e-07
+ 1.752812e-02  7.484315e-03 -2.435316e-01 -3.149432e-01 -5.640647e-06 -1.412221e-06
+ 1.752812e-02  7.746967e-03 -2.434720e-01 -3.148977e-01  5.158258e-06  1.381020e-06
+ 1.752812e-02  8.001000e-03 -2.434476e-01 -3.148599e-01  4.086852e-06  1.120789e-06
+ 1.752812e-02  8.247211e-03 -2.433878e-01 -3.148128e-01  4.185052e-05  9.564677e-06
+ 1.752812e-02  8.486281e-03 -2.433645e-01 -3.147728e-01  3.979971e-05  1.007600e-05
+ 1.752812e-02  8.718798e-03 -2.432802e-01 -3.147166e-01  4.574769e-05  1.131419e-05
+ 1.752812e-02  8.945272e-03 -2.432452e-01 -3.146715e-01 -1.118217e-04 -3.038761e-05
+ 1.752812e-02  9.166151e-03 -2.432500e-01 -3.146361e-01 -3.010874e-05 -9.172080e-06
+ 1.752812e-02  9.381832e-03 -2.432596e-01 -3.146012e-01  9.720677e-05  2.180335e-05
+ 1.752812e-02  9.592663e-03 -2.429627e-01 -3.144851e-01  6.441732e-05 -1.370269e-05
+ 1.752812e-02  9.798959e-03 -2.429982e-01 -3.144562e-01  9.125577e-05  3.087600e-05
+ 1.752812e-02  1.000100e-02 -2.429784e-01 -3.144032e-01 -3.829954e-04 -6.328890e-05
+ 1.752812e-02  1.019904e-02 -2.428889e-01 -3.143481e-01  1.452201e-04 -7.939410e-05
+ 1.752812e-02  1.039330e-02 -2.429276e-01 -3.143426e-01 -8.122425e-05 -4.764853e-05
+ 1.752812e-02  1.058401e-02 -2.428527e-01 -3.142810e-01 -3.127529e-04  4.410277e-05
+ 1.752812e-02  1.077133e-02 -2.427970e-01 -3.141697e-01 -2.427970e-01 -3.141697e-01
+ 1.752812e-02  1.095545e-02 -2.426872e-01 -3.140566e-01  1.834876e-04  1.240873e-04
+ 1.752812e-02  1.113653e-02 -2.426523e-01 -3.139790e-01  4.597250e-05  6.381948e-05
+ 1.752812e-02  1.131471e-02 -2.425901e-01 -3.139047e-01  6.102714e-04  8.075359e-05
+ 1.752812e-02  1.149013e-02 -2.430240e-01 -3.139695e-01 -2.430240e-01 -3.139695e-01
+ 1.752812e-02  1.166290e-02 -2.429492e-01 -3.138967e-01 -2.754931e-04 -9.831605e-05
+ 1.752812e-02  1.183316e-02 -2.428846e-01 -3.138026e-01 -2.502604e-04 -1.207512e-04
+ 1.752812e-02  1.200100e-02 -2.432908e-01 -3.137930e-01 -1.378233e-05  6.319970e-05
+ 1.752812e-02  1.216653e-02 -2.433274e-01 -3.137204e-01 -2.234502e-04 -5.647766e-05
+ 1.752812e-02  1.232983e-02 -2.425465e-01 -3.135216e-01  4.508062e-05  4.809895e-05
+ 1.752812e-02  1.249100e-02 -2.415318e-01 -3.132700e-01 -2.415318e-01 -3.132700e-01
+ 1.752812e-02  1.265011e-02 -2.425173e-01 -3.134139e-01 -1.439427e-03 -3.381117e-04
+ 1.752812e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.296248e-02 -2.417732e-01 -3.130790e-01 -7.661347e-04 -1.908065e-04
+ 1.752812e-02  1.311588e-02 -2.417843e-01 -3.129427e-01 -9.701768e-04 -2.926610e-04
+ 1.752812e-02  1.326750e-02 -2.409066e-01 -3.126277e-01 -1.090522e-03 -2.148272e-04
+ 1.752812e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.356566e-02 -2.431632e-01 -3.126911e-01 -2.431632e-01 -3.126911e-01
+ 1.752812e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.752812e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.000000e-06 -2.430682e-01 -2.430682e-01 -4.572303e-07 -4.023654e-07
+ 1.760100e-02  2.001000e-03 -2.436012e-01 -2.436013e-01  9.018597e-08  2.213359e-07
+ 1.760100e-02  2.829427e-03 -2.437332e-01 -3.152607e-01 -2.053708e-07 -1.565634e-07
+ 1.760100e-02  3.465102e-03 -2.438028e-01 -3.152649e-01  3.212928e-07  1.204495e-07
+ 1.760100e-02  4.001000e-03 -2.438486e-01 -3.152615e-01  3.438244e-06  8.551313e-07
+ 1.760100e-02  4.473136e-03 -2.438880e-01 -3.152550e-01 -1.131771e-06 -3.660489e-07
+ 1.760100e-02  4.899979e-03 -2.441655e-01 -3.153096e-01 -2.435041e-04 -6.514112e-05
+ 1.760100e-02  5.292503e-03 -2.441935e-01 -3.152946e-01 -2.192199e-04 -5.921245e-05
+ 1.760100e-02  5.657854e-03 -2.442368e-01 -3.152854e-01  1.274916e-04  3.015349e-05
+ 1.760100e-02  6.001000e-03 -2.442712e-01 -3.152715e-01 -2.696955e-04 -7.239234e-05
+ 1.760100e-02  6.325555e-03 -2.441885e-01 -3.152256e-01 -1.357772e-04 -3.901307e-05
+ 1.760100e-02  6.634250e-03 -2.438793e-01 -3.151227e-01 -7.217263e-06 -2.379894e-06
+ 1.760100e-02  6.929203e-03 -2.438857e-01 -3.150986e-01  5.257756e-04  1.314802e-04
+ 1.760100e-02  7.212103e-03 -2.437934e-01 -3.150452e-01 -4.066735e-06 -1.105800e-06
+ 1.760100e-02  7.484315e-03 -2.437106e-01 -3.149939e-01  1.294488e-05  3.599525e-06
+ 1.760100e-02  7.746967e-03 -2.436948e-01 -3.149594e-01 -3.903386e-05 -1.061234e-05
+ 1.760100e-02  8.001000e-03 -2.437146e-01 -3.149340e-01 -8.302439e-05 -2.219720e-05
+ 1.760100e-02  8.247211e-03 -2.437205e-01 -3.149041e-01 -4.496953e-05 -1.156241e-05
+ 1.760100e-02  8.486281e-03 -2.435348e-01 -3.148215e-01 -7.273252e-05 -1.931013e-05
+ 1.760100e-02  8.718798e-03 -2.435079e-01 -3.147791e-01  4.619369e-05  1.186151e-05
+ 1.760100e-02  8.945272e-03 -2.434553e-01 -3.147282e-01 -8.351364e-05 -2.045601e-05
+ 1.760100e-02  9.166151e-03 -2.433875e-01 -3.146751e-01  1.520497e-05  3.211594e-06
+ 1.760100e-02  9.381832e-03 -2.432789e-01 -3.146096e-01  2.644037e-06  8.083610e-07
+ 1.760100e-02  9.592663e-03 -2.432714e-01 -3.145679e-01  3.416621e-05  7.262491e-06
+ 1.760100e-02  9.798959e-03 -2.432927e-01 -3.145304e-01 -5.588596e-05 -6.431199e-06
+ 1.760100e-02  1.000100e-02 -2.432237e-01 -3.144712e-01 -3.521507e-04 -1.646444e-04
+ 1.760100e-02  1.019904e-02 -2.431501e-01 -3.144030e-01 -3.693150e-04 -1.211501e-04
+ 1.760100e-02  1.039330e-02 -2.427363e-01 -3.142714e-01 -1.521383e-04  8.358450e-06
+ 1.760100e-02  1.058401e-02 -2.427359e-01 -3.142352e-01  1.921401e-04  8.256238e-05
+ 1.760100e-02  1.077133e-02 -2.427604e-01 -3.141719e-01 -4.663367e-05 -8.763124e-05
+ 1.760100e-02  1.095545e-02 -2.426749e-01 -3.140827e-01  8.682928e-04 -6.022092e-05
+ 1.760100e-02  1.113653e-02 -2.426916e-01 -3.140025e-01  5.348480e-05  6.121664e-05
+ 1.760100e-02  1.131471e-02 -2.425952e-01 -3.139170e-01  3.650714e-04  4.176810e-05
+ 1.760100e-02  1.149013e-02 -2.425267e-01 -3.138431e-01  3.132789e-04  7.122156e-05
+ 1.760100e-02  1.166290e-02 -2.431128e-01 -3.139252e-01 -4.984072e-04 -6.651884e-05
+ 1.760100e-02  1.183316e-02 -2.430272e-01 -3.138558e-01  1.155312e-03  4.930820e-04
+ 1.760100e-02  1.200100e-02 -2.429814e-01 -3.137880e-01 -7.884290e-04 -1.518699e-04
+ 1.760100e-02  1.216653e-02 -2.430503e-01 -3.137414e-01 -2.076185e-03 -5.738090e-04
+ 1.760100e-02  1.232983e-02 -2.430306e-01 -3.136517e-01 -7.988201e-04 -2.020237e-04
+ 1.760100e-02  1.249100e-02 -2.435079e-01 -3.135722e-01 -2.503194e-03 -4.854502e-04
+ 1.760100e-02  1.265011e-02 -2.424486e-01 -3.133571e-01  9.024627e-04 -2.586899e-06
+ 1.760100e-02  1.280725e-02 -2.425121e-01 -3.133491e-01 -1.505366e-03 -3.638746e-04
+ 1.760100e-02  1.296248e-02 -2.424399e-01 -3.132015e-01 -5.637587e-04 -3.845263e-04
+ 1.760100e-02  1.311588e-02 -2.423781e-01 -3.130963e-01 -2.219698e-04 -1.491053e-04
+ 1.760100e-02  1.326750e-02 -2.412911e-01 -3.127096e-01  1.585013e-04  1.095870e-04
+ 1.760100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.356566e-02 -2.430306e-01 -3.132152e-01 -2.430306e-01 -3.132152e-01
+ 1.760100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.760100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.000000e-06 -2.432815e-01 -2.432816e-01  3.832490e-07  3.691043e-07
+ 1.767358e-02  2.001000e-03 -2.438089e-01 -2.438091e-01  2.219523e-07  1.814554e-07
+ 1.767358e-02  2.829427e-03 -2.440326e-01 -3.153481e-01  1.624219e-04  3.178896e-05
+ 1.767358e-02  3.465102e-03 -2.441037e-01 -3.153421e-01  5.908751e-05  1.415258e-05
+ 1.767358e-02  4.001000e-03 -2.441202e-01 -3.153296e-01 -6.526780e-05 -1.773037e-05
+ 1.767358e-02  4.473136e-03 -2.441346e-01 -3.153155e-01 -1.237972e-04 -3.231818e-05
+ 1.767358e-02  4.899979e-03 -2.441415e-01 -3.152984e-01 -6.382715e-05 -1.516774e-05
+ 1.767358e-02  5.292503e-03 -2.441323e-01 -3.152752e-01 -3.662241e-05 -9.285045e-06
+ 1.767358e-02  5.657854e-03 -2.441037e-01 -3.152455e-01 -2.532175e-05 -6.488694e-06
+ 1.767358e-02  6.001000e-03 -2.440851e-01 -3.152186e-01 -3.319681e-05 -7.195256e-06
+ 1.767358e-02  6.325555e-03 -2.440732e-01 -3.151932e-01  2.799680e-04  7.477646e-05
+ 1.767358e-02  6.634250e-03 -2.440686e-01 -3.151691e-01 -9.736405e-05 -2.261949e-05
+ 1.767358e-02  6.929203e-03 -2.441875e-01 -3.151789e-01 -3.895554e-04 -1.035413e-04
+ 1.767358e-02  7.212103e-03 -2.443300e-01 -3.151848e-01 -2.114420e-05 -8.233689e-06
+ 1.767358e-02  7.484315e-03 -2.443611e-01 -3.151626e-01  5.886446e-04  1.335979e-04
+ 1.767358e-02  7.746967e-03 -2.443955e-01 -3.151385e-01  1.777822e-04  3.696456e-05
+ 1.767358e-02  8.001000e-03 -2.442991e-01 -3.150799e-01 -2.617158e-04 -6.185062e-05
+ 1.767358e-02  8.247211e-03 -2.446140e-01 -3.151191e-01 -5.514184e-04 -1.290420e-04
+ 1.767358e-02  8.486281e-03 -2.446328e-01 -3.150845e-01 -5.316581e-04 -1.266713e-04
+ 1.767358e-02  8.718798e-03 -2.438610e-01 -3.148759e-01  7.794530e-04  1.704803e-04
+ 1.767358e-02  8.945272e-03 -2.436405e-01 -3.147789e-01 -3.490439e-06  1.225075e-07
+ 1.767358e-02  9.166151e-03 -2.436799e-01 -3.147538e-01 -1.879247e-05 -5.359575e-06
+ 1.767358e-02  9.381832e-03 -2.435638e-01 -3.146843e-01 -4.682642e-05 -9.126972e-06
+ 1.767358e-02  9.592663e-03 -2.435511e-01 -3.146418e-01  5.263090e-06 -1.004247e-06
+ 1.767358e-02  9.798959e-03 -2.433803e-01 -3.145565e-01 -7.776480e-05 -2.640461e-05
+ 1.767358e-02  1.000100e-02 -2.432401e-01 -3.144790e-01 -1.054786e-04 -5.097450e-05
+ 1.767358e-02  1.019904e-02 -2.431966e-01 -3.144218e-01  1.124792e-04  3.624422e-05
+ 1.767358e-02  1.039330e-02 -2.431991e-01 -3.143795e-01 -2.468297e-04 -5.219842e-05
+ 1.767358e-02  1.058401e-02 -2.431023e-01 -3.143449e-01  1.303791e-04  2.292855e-05
+ 1.767358e-02  1.077133e-02 -2.427835e-01 -3.142409e-01  3.954435e-04  7.074678e-05
+ 1.767358e-02  1.095545e-02 -2.426351e-01 -3.140758e-01 -2.426351e-01 -3.140758e-01
+ 1.767358e-02  1.113653e-02 -2.426787e-01 -3.140228e-01  4.037706e-04  1.477551e-04
+ 1.767358e-02  1.131471e-02 -2.425092e-01 -3.139227e-01  5.891700e-04  1.634046e-04
+ 1.767358e-02  1.149013e-02 -2.422355e-01 -3.137825e-01 -1.282230e-03 -3.846722e-04
+ 1.767358e-02  1.166290e-02 -2.424240e-01 -3.137631e-01 -1.472460e-03 -4.246245e-04
+ 1.767358e-02  1.183316e-02 -2.430679e-01 -3.138684e-01 -1.316135e-03 -2.738791e-04
+ 1.767358e-02  1.200100e-02 -2.430619e-01 -3.138018e-01 -2.024627e-03 -5.385998e-04
+ 1.767358e-02  1.216653e-02 -2.431076e-01 -3.137353e-01 -2.145802e-03 -5.553893e-04
+ 1.767358e-02  1.232983e-02 -2.431527e-01 -3.136751e-01  5.927830e-06 -2.675097e-06
+ 1.767358e-02  1.249100e-02 -2.429168e-01 -3.135657e-01 -1.920616e-03 -4.558577e-04
+ 1.767358e-02  1.265011e-02 -2.432672e-01 -3.134838e-01 -2.777836e-03 -5.762244e-04
+ 1.767358e-02  1.280725e-02 -2.428595e-01 -3.134464e-01 -2.845563e-03 -5.741486e-04
+ 1.767358e-02  1.296248e-02 -2.412224e-01 -3.129856e-01 -1.553784e-04 -3.470322e-05
+ 1.767358e-02  1.311588e-02 -2.411440e-01 -3.129261e-01  1.356530e-03  3.940116e-04
+ 1.767358e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.341741e-02 -2.436688e-01 -3.131436e-01 -2.997437e-04 -1.890013e-04
+ 1.767358e-02  1.356566e-02 -2.424782e-01 -3.127573e-01 -8.265910e-04  5.093372e-05
+ 1.767358e-02  1.371231e-02 -2.416634e-01 -3.126724e-01  6.511192e-04  1.759535e-04
+ 1.767358e-02  1.385741e-02 -2.412380e-01 -3.124706e-01 -2.412380e-01 -3.124706e-01
+ 1.767358e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.767358e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.000000e-06 -2.434958e-01 -2.434957e-01  7.748197e-08  3.779972e-08
+ 1.774586e-02  2.001000e-03 -2.440187e-01 -2.440184e-01  6.933672e-05  7.009321e-05
+ 1.774586e-02  2.829427e-03 -2.439337e-01 -3.153149e-01  1.295490e-04  4.242464e-05
+ 1.774586e-02  3.465102e-03 -2.442474e-01 -3.153833e-01  1.445921e-06  2.467408e-07
+ 1.774586e-02  4.001000e-03 -2.442946e-01 -3.153788e-01 -2.225077e-06 -3.357196e-07
+ 1.774586e-02  4.473136e-03 -2.443143e-01 -3.153666e-01 -1.147335e-05 -3.060177e-06
+ 1.774586e-02  4.899979e-03 -2.442924e-01 -3.153432e-01 -2.753380e-06 -6.609436e-07
+ 1.774586e-02  5.292503e-03 -2.442104e-01 -3.153023e-01 -2.520913e-04 -6.621578e-05
+ 1.774586e-02  5.657854e-03 -2.441075e-01 -3.152543e-01  4.589401e-05  1.067227e-05
+ 1.774586e-02  6.001000e-03 -2.441377e-01 -3.152380e-01  1.083965e-04  3.097945e-05
+ 1.774586e-02  6.325555e-03 -2.441019e-01 -3.152021e-01  2.874555e-05  1.034701e-05
+ 1.774586e-02  6.634250e-03 -2.440804e-01 -3.151712e-01 -2.667356e-05 -5.932047e-06
+ 1.774586e-02  6.929203e-03 -2.440649e-01 -3.151430e-01 -1.535897e-05 -3.632590e-06
+ 1.774586e-02  7.212103e-03 -2.440482e-01 -3.151129e-01  2.836789e-04  7.183118e-05
+ 1.774586e-02  7.484315e-03 -2.440547e-01 -3.150846e-01  6.744732e-04  1.634847e-04
+ 1.774586e-02  7.746967e-03 -2.440793e-01 -3.150595e-01  4.461603e-04  1.101558e-04
+ 1.774586e-02  8.001000e-03 -2.441078e-01 -3.150340e-01  4.790662e-04  1.151902e-04
+ 1.774586e-02  8.247211e-03 -2.440954e-01 -3.149957e-01 -3.822857e-06  2.267350e-06
+ 1.774586e-02  8.486281e-03 -2.440969e-01 -3.149608e-01  2.254410e-05  7.725746e-06
+ 1.774586e-02  8.718798e-03 -2.441006e-01 -3.149257e-01 -1.031736e-05 -5.629321e-07
+ 1.774586e-02  8.945272e-03 -2.441042e-01 -3.148892e-01 -3.289291e-05 -7.583008e-06
+ 1.774586e-02  9.166151e-03 -2.441315e-01 -3.148579e-01  5.132203e-04  1.098846e-04
+ 1.774586e-02  9.381832e-03 -2.447481e-01 -3.149426e-01 -6.373098e-04 -1.409466e-04
+ 1.774586e-02  9.592663e-03 -2.441847e-01 -3.147891e-01 -7.540495e-05 -1.292743e-05
+ 1.774586e-02  9.798959e-03 -2.436306e-01 -3.146256e-01  4.955340e-04  1.042288e-04
+ 1.774586e-02  1.000100e-02 -2.443991e-01 -3.147407e-01 -2.136701e-04 -5.079966e-05
+ 1.774586e-02  1.019904e-02 -2.434390e-01 -3.144914e-01 -1.434780e-04 -2.833731e-05
+ 1.774586e-02  1.039330e-02 -2.435126e-01 -3.144596e-01  6.166887e-04  1.083434e-04
+ 1.774586e-02  1.058401e-02 -2.433316e-01 -3.143719e-01  7.980475e-04  1.768177e-04
+ 1.774586e-02  1.077133e-02 -2.427174e-01 -3.142358e-01 -1.382781e-04 -2.883400e-05
+ 1.774586e-02  1.095545e-02 -2.430553e-01 -3.142699e-01 -4.197181e-04 -1.622280e-04
+ 1.774586e-02  1.113653e-02 -2.431711e-01 -3.141612e-01 -2.431711e-01 -3.141612e-01
+ 1.774586e-02  1.131471e-02 -2.432536e-01 -3.140673e-01 -3.166429e-04  3.834347e-05
+ 1.774586e-02  1.149013e-02 -2.425098e-01 -3.138697e-01  8.693415e-04  1.537948e-04
+ 1.774586e-02  1.166290e-02 -2.424376e-01 -3.137944e-01 -1.501724e-03 -4.326791e-04
+ 1.774586e-02  1.183316e-02 -2.431119e-01 -3.138750e-01 -4.385791e-04 -7.983430e-05
+ 1.774586e-02  1.200100e-02 -2.430920e-01 -3.138172e-01 -2.430920e-01 -3.138172e-01
+ 1.774586e-02  1.216653e-02 -2.431569e-01 -3.137453e-01 -7.552393e-05  2.429129e-06
+ 1.774586e-02  1.232983e-02 -2.430826e-01 -3.136800e-01 -2.355792e-03 -5.464288e-04
+ 1.774586e-02  1.249100e-02 -2.431896e-01 -3.135773e-01 -5.889792e-05  2.680542e-05
+ 1.774586e-02  1.265011e-02 -2.432354e-01 -3.134987e-01 -8.810852e-04 -2.436248e-04
+ 1.774586e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.296248e-02 -2.428863e-01 -3.133076e-01 -1.980099e-03 -2.800336e-04
+ 1.774586e-02  1.311588e-02 -2.412833e-01 -3.129054e-01  1.394821e-03  1.979848e-04
+ 1.774586e-02  1.326750e-02 -2.418596e-01 -3.128807e-01 -7.869867e-04 -3.637029e-04
+ 1.774586e-02  1.341741e-02 -2.424293e-01 -3.129176e-01 -1.019571e-03 -1.683579e-05
+ 1.774586e-02  1.356566e-02 -2.411080e-01 -3.126135e-01 -2.411080e-01 -3.126135e-01
+ 1.774586e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.774586e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.000000e-06 -2.437125e-01 -2.437127e-01 -9.080996e-07 -1.217696e-06
+ 1.781785e-02  2.001000e-03 -2.442305e-01 -2.442307e-01  2.504138e-07  5.217919e-08
+ 1.781785e-02  2.829427e-03 -2.443767e-01 -3.154292e-01 -1.445021e-07  7.868536e-08
+ 1.781785e-02  3.465102e-03 -2.444457e-01 -3.154328e-01 -2.611584e-06 -1.037324e-06
+ 1.781785e-02  4.001000e-03 -2.444907e-01 -3.154293e-01  2.878445e-05  6.009121e-06
+ 1.781785e-02  4.473136e-03 -2.445188e-01 -3.154191e-01 -3.681273e-05 -8.602174e-06
+ 1.781785e-02  4.899979e-03 -2.445234e-01 -3.154025e-01 -6.870308e-05 -1.776217e-05
+ 1.781785e-02  5.292503e-03 -2.444590e-01 -3.153673e-01  1.140183e-05  3.390682e-06
+ 1.781785e-02  5.657854e-03 -2.444173e-01 -3.153354e-01 -6.238626e-07 -9.987445e-08
+ 1.781785e-02  6.001000e-03 -2.442842e-01 -3.152807e-01 -3.699840e-04 -9.336901e-05
+ 1.781785e-02  6.325555e-03 -2.444352e-01 -3.152957e-01 -6.569611e-05 -1.593735e-05
+ 1.781785e-02  6.634250e-03 -2.441463e-01 -3.151978e-01 -8.557995e-05 -2.730471e-05
+ 1.781785e-02  6.929203e-03 -2.442687e-01 -3.152015e-01 -1.688395e-04 -4.579896e-05
+ 1.781785e-02  7.212103e-03 -2.440871e-01 -3.151228e-01 -5.105183e-06 -4.001282e-06
+ 1.781785e-02  7.484315e-03 -2.440646e-01 -3.150913e-01 -1.192544e-05 -6.401070e-07
+ 1.781785e-02  7.746967e-03 -2.440382e-01 -3.150559e-01  2.679952e-05  5.238240e-06
+ 1.781785e-02  8.001000e-03 -2.440691e-01 -3.150298e-01  2.921907e-05  4.271719e-06
+ 1.781785e-02  8.247211e-03 -2.441158e-01 -3.150074e-01 -1.684915e-05 -2.882515e-06
+ 1.781785e-02  8.486281e-03 -2.440964e-01 -3.149650e-01 -1.275202e-07  2.143533e-07
+ 1.781785e-02  8.718798e-03 -2.440992e-01 -3.149292e-01  5.336483e-04  1.225460e-04
+ 1.781785e-02  8.945272e-03 -2.441021e-01 -3.148921e-01  3.484600e-04  8.411111e-05
+ 1.781785e-02  9.166151e-03 -2.441039e-01 -3.148522e-01 -5.052619e-04 -1.142064e-04
+ 1.781785e-02  9.381832e-03 -2.441070e-01 -3.148133e-01  2.602147e-06 -4.826269e-06
+ 1.781785e-02  9.592663e-03 -2.441117e-01 -3.147748e-01  2.032416e-04  5.565166e-05
+ 1.781785e-02  9.798959e-03 -2.441177e-01 -3.147323e-01  5.764053e-04  1.237755e-04
+ 1.781785e-02  1.000100e-02 -2.442758e-01 -3.147210e-01  7.049260e-05  3.524532e-05
+ 1.781785e-02  1.019904e-02 -2.441514e-01 -3.146420e-01  5.415420e-04  1.154653e-04
+ 1.781785e-02  1.039330e-02 -2.436195e-01 -3.144911e-01  5.276813e-04  1.096520e-04
+ 1.781785e-02  1.058401e-02 -2.441364e-01 -3.145452e-01 -1.749296e-04  8.202138e-06
+ 1.781785e-02  1.077133e-02 -2.434960e-01 -3.143689e-01 -7.006042e-04 -9.719821e-05
+ 1.781785e-02  1.095545e-02 -2.435216e-01 -3.143408e-01  1.128459e-03  1.863573e-04
+ 1.781785e-02  1.113653e-02 -2.430571e-01 -3.142405e-01  4.452417e-06 -7.613230e-05
+ 1.781785e-02  1.131471e-02 -2.433205e-01 -3.141112e-01 -5.049838e-04 -1.488420e-04
+ 1.781785e-02  1.149013e-02 -2.431207e-01 -3.140291e-01 -3.769910e-04 -4.690277e-05
+ 1.781785e-02  1.166290e-02 -2.422819e-01 -3.137626e-01  5.240278e-04  1.078825e-04
+ 1.781785e-02  1.183316e-02 -2.421266e-01 -3.136458e-01 -8.605522e-04 -2.512313e-04
+ 1.781785e-02  1.200100e-02 -2.431175e-01 -3.138325e-01 -2.143913e-03 -5.512535e-04
+ 1.781785e-02  1.216653e-02 -2.431165e-01 -3.137644e-01  2.417479e-05 -2.271437e-05
+ 1.781785e-02  1.232983e-02 -2.431370e-01 -3.136924e-01 -9.600110e-04 -2.384174e-04
+ 1.781785e-02  1.249100e-02 -2.432104e-01 -3.135805e-01 -1.861265e-03 -3.811556e-04
+ 1.781785e-02  1.265011e-02 -2.432518e-01 -3.134883e-01 -7.306113e-04 -6.820555e-05
+ 1.781785e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.311588e-02 -2.423932e-01 -3.130787e-01 -1.674510e-03 -1.714408e-04
+ 1.781785e-02  1.326750e-02 -2.418142e-01 -3.127923e-01  1.661402e-04 -2.818265e-06
+ 1.781785e-02  1.341741e-02 -2.410918e-01 -3.126289e-01 -2.410918e-01 -3.126289e-01
+ 1.781785e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781785e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.000000e-06 -2.441414e-01 -2.441411e-01 -1.913882e-04 -1.909580e-04
+ 1.788954e-02  2.001000e-03 -2.444306e-01 -2.444306e-01  1.723592e-07  1.912855e-07
+ 1.788954e-02  2.829427e-03 -2.445698e-01 -3.154787e-01  1.395531e-07  1.431906e-09
+ 1.788954e-02  3.465102e-03 -2.446394e-01 -3.154827e-01  6.749847e-07  5.417166e-08
+ 1.788954e-02  4.001000e-03 -2.446733e-01 -3.154760e-01  8.255558e-07  1.280574e-07
+ 1.788954e-02  4.473136e-03 -2.446849e-01 -3.154623e-01  1.612267e-06  3.242826e-07
+ 1.788954e-02  4.899979e-03 -2.446815e-01 -3.154435e-01  3.129401e-06  8.281068e-07
+ 1.788954e-02  5.292503e-03 -2.446708e-01 -3.154217e-01  8.994034e-09 -3.474941e-08
+ 1.788954e-02  5.657854e-03 -2.446510e-01 -3.153965e-01 -3.279073e-06 -1.005147e-06
+ 1.788954e-02  6.001000e-03 -2.446206e-01 -3.153677e-01 -4.399093e-06 -1.259599e-06
+ 1.788954e-02  6.325555e-03 -2.446162e-01 -3.153428e-01 -7.005079e-06 -8.708482e-07
+ 1.788954e-02  6.634250e-03 -2.444450e-01 -3.152767e-01  4.100361e-05  8.705216e-06
+ 1.788954e-02  6.929203e-03 -2.439704e-01 -3.151312e-01  3.566447e-05  7.669635e-06
+ 1.788954e-02  7.212103e-03 -2.440586e-01 -3.151276e-01  2.739210e-04  6.831553e-05
+ 1.788954e-02  7.484315e-03 -2.441183e-01 -3.151111e-01 -3.760185e-05 -1.108523e-05
+ 1.788954e-02  7.746967e-03 -2.440948e-01 -3.150706e-01  9.294038e-06  6.708729e-06
+ 1.788954e-02  8.001000e-03 -2.440662e-01 -3.150352e-01  8.444601e-04  1.973156e-04
+ 1.788954e-02  8.247211e-03 -2.440433e-01 -3.149991e-01  4.463471e-05  5.868829e-06
+ 1.788954e-02  8.486281e-03 -2.440729e-01 -3.149686e-01  7.034959e-04  1.590397e-04
+ 1.788954e-02  8.718798e-03 -2.441451e-01 -3.149481e-01  4.553786e-04  1.013381e-04
+ 1.788954e-02  8.945272e-03 -2.441012e-01 -3.148971e-01 -1.969880e-06  5.021211e-07
+ 1.788954e-02  9.166151e-03 -2.441044e-01 -3.148576e-01  5.428029e-04  1.209253e-04
+ 1.788954e-02  9.381832e-03 -2.441073e-01 -3.148173e-01  3.122971e-04  6.925953e-05
+ 1.788954e-02  9.592663e-03 -2.441084e-01 -3.147785e-01  9.388437e-04  1.753491e-04
+ 1.788954e-02  9.798959e-03 -2.441131e-01 -3.147382e-01  8.544341e-06  1.128893e-07
+ 1.788954e-02  1.000100e-02 -2.441200e-01 -3.146926e-01 -4.232275e-04 -1.061343e-04
+ 1.788954e-02  1.019904e-02 -2.441266e-01 -3.146459e-01  5.991271e-04  8.194382e-05
+ 1.788954e-02  1.039330e-02 -2.442249e-01 -3.146167e-01 -9.315487e-05 -4.092975e-05
+ 1.788954e-02  1.058401e-02 -2.448356e-01 -3.146565e-01 -2.237301e-04 -7.307156e-05
+ 1.788954e-02  1.077133e-02 -2.442203e-01 -3.145152e-01 -1.635959e-04 -3.805179e-05
+ 1.788954e-02  1.095545e-02 -2.437014e-01 -3.143705e-01  6.690679e-04  7.777302e-05
+ 1.788954e-02  1.113653e-02 -2.440605e-01 -3.143885e-01  1.314496e-03  9.837258e-05
+ 1.788954e-02  1.131471e-02 -2.431849e-01 -3.142396e-01  9.780509e-04 -5.723099e-05
+ 1.788954e-02  1.149013e-02 -2.433995e-01 -3.141330e-01  1.854932e-03  1.373995e-04
+ 1.788954e-02  1.166290e-02 -2.435445e-01 -3.139450e-01 -2.435445e-01 -3.139450e-01
+ 1.788954e-02  1.183316e-02 -2.430882e-01 -3.139067e-01 -2.122989e-03 -5.553006e-04
+ 1.788954e-02  1.200100e-02 -2.430616e-01 -3.138609e-01  5.281091e-04  1.483193e-04
+ 1.788954e-02  1.216653e-02 -2.431061e-01 -3.137796e-01 -1.044903e-03 -3.202820e-04
+ 1.788954e-02  1.232983e-02 -2.431618e-01 -3.136984e-01 -2.390147e-03 -5.251736e-04
+ 1.788954e-02  1.249100e-02 -2.431909e-01 -3.136139e-01  1.334425e-04 -7.089324e-05
+ 1.788954e-02  1.265011e-02 -2.432158e-01 -3.135196e-01 -2.432158e-01 -3.135196e-01
+ 1.788954e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.296248e-02 -2.414750e-01 -3.129944e-01 -1.195484e-04  5.544637e-05
+ 1.788954e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.326750e-02 -2.418596e-01 -3.127990e-01 -7.980536e-04 -2.061292e-04
+ 1.788954e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.371231e-02 -2.422120e-01 -3.125671e-01 -2.422120e-01 -3.125671e-01
+ 1.788954e-02  1.385741e-02 -2.410607e-01 -3.123321e-01 -1.267512e-03 -4.903140e-05
+ 1.788954e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.788954e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.000000e-06 -2.440483e-01 -2.440482e-01  2.324091e-05  2.335557e-05
+ 1.796096e-02  2.001000e-03 -2.446263e-01 -2.446264e-01  6.118832e-07  3.584281e-07
+ 1.796096e-02  2.829427e-03 -2.447620e-01 -3.155280e-01 -1.848949e-08 -4.460369e-08
+ 1.796096e-02  3.465102e-03 -2.448298e-01 -3.155317e-01  1.140880e-06  2.841116e-07
+ 1.796096e-02  4.001000e-03 -2.448620e-01 -3.155248e-01 -3.915056e-08 -4.240905e-08
+ 1.796096e-02  4.473136e-03 -2.448717e-01 -3.155109e-01 -2.918997e-07 -6.784107e-08
+ 1.796096e-02  4.899979e-03 -2.448656e-01 -3.154919e-01 -5.978316e-07 -1.813184e-07
+ 1.796096e-02  5.292503e-03 -2.448430e-01 -3.154676e-01  8.967449e-08 -2.714511e-07
+ 1.796096e-02  5.657854e-03 -2.448087e-01 -3.154386e-01  2.565507e-05  6.565540e-06
+ 1.796096e-02  6.001000e-03 -2.447998e-01 -3.154141e-01 -3.013349e-05 -6.554746e-06
+ 1.796096e-02  6.325555e-03 -2.448071e-01 -3.153935e-01 -8.043217e-06 -3.060745e-06
+ 1.796096e-02  6.634250e-03 -2.447262e-01 -3.153491e-01 -5.421774e-06 -1.426573e-06
+ 1.796096e-02  6.929203e-03 -2.446543e-01 -3.153066e-01  9.600827e-05  2.198782e-05
+ 1.796096e-02  7.212103e-03 -2.447077e-01 -3.152904e-01 -2.486205e-04 -5.769445e-05
+ 1.796096e-02  7.484315e-03 -2.439593e-01 -3.150805e-01  5.933928e-04  1.408310e-04
+ 1.796096e-02  7.746967e-03 -2.445941e-01 -3.152007e-01 -3.506209e-04 -8.214419e-05
+ 1.796096e-02  8.001000e-03 -2.442668e-01 -3.150957e-01  3.652858e-04  8.414863e-05
+ 1.796096e-02  8.247211e-03 -2.441030e-01 -3.150138e-01  3.533933e-05  1.295224e-05
+ 1.796096e-02  8.486281e-03 -2.440752e-01 -3.149754e-01  1.752050e-05 -4.466012e-06
+ 1.796096e-02  8.718798e-03 -2.444278e-01 -3.150245e-01  1.721321e-04  3.011480e-05
+ 1.796096e-02  8.945272e-03 -2.440824e-01 -3.149029e-01  4.632370e-04  1.020184e-04
+ 1.796096e-02  9.166151e-03 -2.441637e-01 -3.148810e-01  1.507003e-04  3.264381e-05
+ 1.796096e-02  9.381832e-03 -2.441078e-01 -3.148235e-01 -1.888396e-07 -1.304692e-06
+ 1.796096e-02  9.592663e-03 -2.441106e-01 -3.147821e-01 -1.345081e-06 -6.754329e-06
+ 1.796096e-02  9.798959e-03 -2.441132e-01 -3.147414e-01  8.643887e-04  1.100514e-04
+ 1.796096e-02  1.000100e-02 -2.441188e-01 -3.146970e-01  4.705541e-04  7.993590e-05
+ 1.796096e-02  1.019904e-02 -2.441243e-01 -3.146503e-01 -3.346135e-06 -4.985739e-06
+ 1.796096e-02  1.039330e-02 -2.441270e-01 -3.146019e-01 -2.441270e-01 -3.146019e-01
+ 1.796096e-02  1.058401e-02 -2.441341e-01 -3.145504e-01 -1.020352e-06 -7.062329e-06
+ 1.796096e-02  1.077133e-02 -2.441357e-01 -3.144935e-01 -4.860585e-04 -9.790926e-05
+ 1.796096e-02  1.095545e-02 -2.445164e-01 -3.144890e-01 -3.815504e-04 -5.872789e-05
+ 1.796096e-02  1.113653e-02 -2.445501e-01 -3.144422e-01 -2.445501e-01 -3.144422e-01
+ 1.796096e-02  1.131471e-02 -2.438237e-01 -3.142937e-01  3.418303e-04 -5.675740e-07
+ 1.796096e-02  1.149013e-02 -2.437952e-01 -3.142746e-01  1.210119e-03 -1.803831e-04
+ 1.796096e-02  1.166290e-02 -2.434573e-01 -3.141772e-01 -4.488908e-04  1.998027e-04
+ 1.796096e-02  1.183316e-02 -2.442251e-01 -3.138015e-01 -9.196951e-05 -7.094656e-04
+ 1.796096e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.232983e-02 -2.423561e-01 -3.135703e-01  7.402220e-04  1.849648e-04
+ 1.796096e-02  1.249100e-02 -2.431787e-01 -3.136544e-01  3.139541e-04 -1.098192e-05
+ 1.796096e-02  1.265011e-02 -2.432235e-01 -3.135598e-01 -2.211759e-03 -4.796489e-04
+ 1.796096e-02  1.280725e-02 -2.432034e-01 -3.134411e-01 -1.673855e-03 -2.368267e-04
+ 1.796096e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.311588e-02 -2.426667e-01 -3.131296e-01  9.732103e-06 -1.760033e-04
+ 1.796096e-02  1.326750e-02 -2.416799e-01 -3.127534e-01 -2.416799e-01 -3.127534e-01
+ 1.796096e-02  1.341741e-02 -2.412223e-01 -3.125352e-01 -2.412223e-01 -3.125352e-01
+ 1.796096e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.796096e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.000000e-06 -2.442387e-01 -2.442390e-01 -1.155346e-06 -1.296610e-06
+ 1.803208e-02  2.001000e-03 -2.448203e-01 -2.448205e-01  3.210145e-07  1.790368e-07
+ 1.803208e-02  2.829427e-03 -2.449510e-01 -3.155763e-01  5.902641e-06  1.636925e-06
+ 1.803208e-02  3.465102e-03 -2.450162e-01 -3.155799e-01 -1.732619e-07 -4.899199e-07
+ 1.803208e-02  4.001000e-03 -2.450434e-01 -3.155722e-01  2.311358e-06  8.451114e-08
+ 1.803208e-02  4.473136e-03 -2.450467e-01 -3.155572e-01  7.747792e-06  1.180954e-06
+ 1.803208e-02  4.899979e-03 -2.450378e-01 -3.155378e-01  3.645968e-06  6.986621e-07
+ 1.803208e-02  5.292503e-03 -2.450146e-01 -3.155135e-01 -1.163436e-06 -1.988831e-07
+ 1.803208e-02  5.657854e-03 -2.449775e-01 -3.154839e-01  1.062737e-05  2.792807e-06
+ 1.803208e-02  6.001000e-03 -2.449771e-01 -3.154629e-01 -2.782493e-06 -1.107621e-06
+ 1.803208e-02  6.325555e-03 -2.449263e-01 -3.154275e-01 -7.111083e-06 -2.473922e-06
+ 1.803208e-02  6.634250e-03 -2.448562e-01 -3.153861e-01 -4.444960e-05 -1.064750e-05
+ 1.803208e-02  6.929203e-03 -2.448294e-01 -3.153510e-01 -3.295353e-05 -1.030395e-05
+ 1.803208e-02  7.212103e-03 -2.448735e-01 -3.153333e-01 -9.214516e-05 -2.089634e-05
+ 1.803208e-02  7.484315e-03 -2.448018e-01 -3.152911e-01 -5.200207e-05 -1.086835e-05
+ 1.803208e-02  7.746967e-03 -2.445973e-01 -3.152115e-01 -5.255577e-04 -1.316347e-04
+ 1.803208e-02  8.001000e-03 -2.444211e-01 -3.151390e-01  2.008934e-04  4.169392e-05
+ 1.803208e-02  8.247211e-03 -2.446034e-01 -3.151418e-01 -1.305060e-05 -1.199224e-06
+ 1.803208e-02  8.486281e-03 -2.438405e-01 -3.149304e-01 -1.246975e-04 -3.507065e-05
+ 1.803208e-02  8.718798e-03 -2.441118e-01 -3.149526e-01  4.993093e-04  1.194407e-04
+ 1.803208e-02  8.945272e-03 -2.442974e-01 -3.149662e-01 -1.954601e-04 -5.144559e-05
+ 1.803208e-02  9.166151e-03 -2.445007e-01 -3.149665e-01 -3.829783e-04 -8.886516e-05
+ 1.803208e-02  9.381832e-03 -2.441074e-01 -3.148341e-01  3.229031e-06 -3.984601e-06
+ 1.803208e-02  9.592663e-03 -2.441928e-01 -3.148086e-01  2.526565e-04  4.405309e-05
+ 1.803208e-02  9.798959e-03 -2.441150e-01 -3.147458e-01  1.646816e-05  5.607857e-06
+ 1.803208e-02  1.000100e-02 -2.441190e-01 -3.147034e-01  1.776223e-04  3.553822e-05
+ 1.803208e-02  1.019904e-02 -2.441245e-01 -3.146567e-01  1.101267e-05  6.733823e-06
+ 1.803208e-02  1.039330e-02 -2.441268e-01 -3.146081e-01  5.582281e-04  8.148256e-05
+ 1.803208e-02  1.058401e-02 -2.441335e-01 -3.145569e-01 -1.925972e-05 -1.872967e-05
+ 1.803208e-02  1.077133e-02 -2.441398e-01 -3.145023e-01 -5.267341e-06  1.111744e-05
+ 1.803208e-02  1.095545e-02 -2.443056e-01 -3.144760e-01 -1.688965e-04 -1.857253e-06
+ 1.803208e-02  1.113653e-02 -2.447929e-01 -3.144753e-01 -5.929711e-04 -5.461636e-05
+ 1.803208e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.149013e-02 -2.450532e-01 -3.143611e-01 -2.450532e-01 -3.143611e-01
+ 1.803208e-02  1.166290e-02 -2.433001e-01 -3.141862e-01 -4.893012e-04  1.185997e-04
+ 1.803208e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.200100e-02 -2.441577e-01 -3.138320e-01 -2.441577e-01 -3.138320e-01
+ 1.803208e-02  1.216653e-02 -2.447109e-01 -3.138339e-01  5.898253e-04  7.285719e-04
+ 1.803208e-02  1.232983e-02 -2.436577e-01 -3.138356e-01 -2.436577e-01 -3.138356e-01
+ 1.803208e-02  1.249100e-02 -2.425597e-01 -3.135631e-01 -1.265721e-03 -3.391347e-04
+ 1.803208e-02  1.265011e-02 -2.432501e-01 -3.135881e-01 -6.682627e-04 -8.916496e-05
+ 1.803208e-02  1.280725e-02 -2.432632e-01 -3.134782e-01  2.025717e-04  7.396286e-05
+ 1.803208e-02  1.296248e-02 -2.432958e-01 -3.133755e-01  2.427912e-05 -7.337145e-06
+ 1.803208e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.341741e-02 -2.422868e-01 -3.128098e-01 -9.914029e-04 -9.400881e-05
+ 1.803208e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803208e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.000000e-06 -2.444630e-01 -2.444630e-01  2.618532e-07  2.157425e-07
+ 1.810293e-02  2.001000e-03 -2.450109e-01 -2.450111e-01  1.743385e-09  8.309563e-08
+ 1.810293e-02  2.829427e-03 -2.451412e-01 -3.156246e-01  8.876168e-07  2.658070e-08
+ 1.810293e-02  3.465102e-03 -2.452048e-01 -3.156283e-01  6.202608e-07  1.708856e-06
+ 1.810293e-02  4.001000e-03 -2.452334e-01 -3.156225e-01  1.892084e-06  1.645264e-06
+ 1.810293e-02  4.473136e-03 -2.452389e-01 -3.156087e-01  3.075435e-06  2.415483e-06
+ 1.810293e-02  4.899979e-03 -2.452265e-01 -3.155884e-01 -3.744768e-06 -2.250032e-06
+ 1.810293e-02  5.292503e-03 -2.452038e-01 -3.155644e-01  3.006321e-06  1.841234e-07
+ 1.810293e-02  5.657854e-03 -2.451724e-01 -3.155376e-01 -1.323441e-06 -3.382631e-07
+ 1.810293e-02  6.001000e-03 -2.451261e-01 -3.155054e-01  8.279144e-07 -1.089447e-06
+ 1.810293e-02  6.325555e-03 -2.450665e-01 -3.154667e-01  9.912508e-06  3.131197e-06
+ 1.810293e-02  6.634250e-03 -2.450778e-01 -3.154462e-01 -2.662436e-05 -6.841392e-06
+ 1.810293e-02  6.929203e-03 -2.449791e-01 -3.153951e-01 -4.266843e-05 -1.226051e-05
+ 1.810293e-02  7.212103e-03 -2.450086e-01 -3.153746e-01 -3.605326e-05 -9.749452e-06
+ 1.810293e-02  7.484315e-03 -2.448427e-01 -3.153054e-01 -9.959166e-06 -1.175677e-06
+ 1.810293e-02  7.746967e-03 -2.449091e-01 -3.152881e-01 -4.029904e-05 -4.111160e-06
+ 1.810293e-02  8.001000e-03 -2.449399e-01 -3.152595e-01 -8.531803e-04 -2.021508e-04
+ 1.810293e-02  8.247211e-03 -2.445635e-01 -3.151439e-01  1.226876e-04  2.958354e-05
+ 1.810293e-02  8.486281e-03 -2.440482e-01 -3.149866e-01  5.281678e-04  1.234713e-04
+ 1.810293e-02  8.718798e-03 -2.446105e-01 -3.150784e-01 -5.100552e-04 -1.196200e-04
+ 1.810293e-02  8.945272e-03 -2.437708e-01 -3.148465e-01 -9.690003e-05 -2.335618e-05
+ 1.810293e-02  9.166151e-03 -2.441186e-01 -3.148853e-01 -1.835954e-04 -3.755156e-05
+ 1.810293e-02  9.381832e-03 -2.445214e-01 -3.149375e-01 -5.903253e-04 -1.256116e-04
+ 1.810293e-02  9.592663e-03 -2.440930e-01 -3.147948e-01 -4.534370e-04 -1.084946e-04
+ 1.810293e-02  9.798959e-03 -2.441673e-01 -3.147669e-01  4.721291e-04  1.013108e-04
+ 1.810293e-02  1.000100e-02 -2.441480e-01 -3.147169e-01 -3.299718e-05 -4.939213e-06
+ 1.810293e-02  1.019904e-02 -2.443233e-01 -3.147057e-01 -2.443233e-01 -3.147057e-01
+ 1.810293e-02  1.039330e-02 -2.441237e-01 -3.146158e-01  7.762127e-04  1.437357e-04
+ 1.810293e-02  1.058401e-02 -2.441315e-01 -3.145644e-01  4.532503e-07 -1.426617e-06
+ 1.810293e-02  1.077133e-02 -2.441370e-01 -3.145098e-01  6.680315e-04  1.167688e-04
+ 1.810293e-02  1.095545e-02 -2.441365e-01 -3.144549e-01  8.453683e-04  5.400188e-05
+ 1.810293e-02  1.113653e-02 -2.440250e-01 -3.144038e-01  1.471431e-04 -1.803741e-05
+ 1.810293e-02  1.131471e-02 -2.445631e-01 -3.144214e-01 -4.403106e-04 -5.431671e-05
+ 1.810293e-02  1.149013e-02 -2.452207e-01 -3.143735e-01 -2.452207e-01 -3.143735e-01
+ 1.810293e-02  1.166290e-02 -2.446645e-01 -3.143024e-01 -2.446645e-01 -3.143024e-01
+ 1.810293e-02  1.183316e-02 -2.439056e-01 -3.141903e-01  2.821975e-04 -3.129077e-04
+ 1.810293e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.216653e-02 -2.434604e-01 -3.138029e-01 -8.644238e-04 -1.967583e-04
+ 1.810293e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.265011e-02 -2.432917e-01 -3.136655e-01 -1.543319e-03 -2.342706e-04
+ 1.810293e-02  1.280725e-02 -2.433318e-01 -3.135488e-01  2.154985e-04  3.738829e-04
+ 1.810293e-02  1.296248e-02 -2.432998e-01 -3.133969e-01  4.563530e-06  3.192866e-06
+ 1.810293e-02  1.311588e-02 -2.421912e-01 -3.123577e-01 -2.421912e-01 -3.123577e-01
+ 1.810293e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.341741e-02 -2.415791e-01 -3.128644e-01 -5.746720e-04 -8.173948e-05
+ 1.810293e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.371231e-02 -2.411310e-01 -3.122520e-01 -2.411310e-01 -3.122520e-01
+ 1.810293e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.810293e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.000000e-06 -2.446622e-01 -2.446625e-01  5.765714e-07 -1.664095e-08
+ 1.817351e-02  2.001000e-03 -2.451996e-01 -2.452001e-01  2.125037e-07 -2.667393e-07
+ 1.817351e-02  2.829427e-03 -2.453334e-01 -3.156785e-01 -2.752881e-06 -5.791731e-06
+ 1.817351e-02  3.465102e-03 -2.454073e-01 -3.156874e-01  1.662244e-06  1.483189e-06
+ 1.817351e-02  4.001000e-03 -2.454485e-01 -3.156847e-01  1.877741e-08 -3.645515e-06
+ 1.817351e-02  4.473136e-03 -2.454855e-01 -3.156825e-01 -5.233239e-05 -3.138524e-05
+ 1.817351e-02  4.899979e-03 -2.455400e-01 -3.156848e-01 -1.154201e-04 -3.612108e-05
+ 1.817351e-02  5.292503e-03 -2.456153e-01 -3.156893e-01  8.135986e-04  1.383830e-04
+ 1.817351e-02  5.657854e-03 -2.457149e-01 -3.156922e-01 -3.124480e-04 -1.061488e-04
+ 1.817351e-02  6.001000e-03 -2.458383e-01 -3.156939e-01  6.005256e-04  8.668955e-05
+ 1.817351e-02  6.325555e-03 -2.458364e-01 -3.156775e-01 -2.458364e-01 -3.156775e-01
+ 1.817351e-02  6.634250e-03 -2.452136e-01 -3.154884e-01 -4.335295e-05 -1.221155e-05
+ 1.817351e-02  6.929203e-03 -2.451601e-01 -3.154465e-01  3.214792e-04  8.989975e-05
+ 1.817351e-02  7.212103e-03 -2.450805e-01 -3.153991e-01  3.505692e-06  7.875919e-07
+ 1.817351e-02  7.484315e-03 -2.451103e-01 -3.153754e-01 -1.760915e-04 -3.973287e-05
+ 1.817351e-02  7.746967e-03 -2.449967e-01 -3.153170e-01  6.227288e-06 -1.081467e-06
+ 1.817351e-02  8.001000e-03 -2.449992e-01 -3.152834e-01 -2.449992e-01 -3.152834e-01
+ 1.817351e-02  8.247211e-03 -2.448675e-01 -3.152162e-01 -2.431709e-04 -4.630943e-05
+ 1.817351e-02  8.486281e-03 -2.449524e-01 -3.151951e-01 -2.688811e-04 -5.921228e-05
+ 1.817351e-02  8.718798e-03 -2.445277e-01 -3.150740e-01  7.337759e-05  1.607269e-05
+ 1.817351e-02  8.945272e-03 -2.442425e-01 -3.149651e-01  3.476294e-04  7.341217e-05
+ 1.817351e-02  9.166151e-03 -2.446147e-01 -3.150026e-01 -4.984180e-04 -1.109252e-04
+ 1.817351e-02  9.381832e-03 -2.441378e-01 -3.148606e-01  5.376549e-04  1.066386e-04
+ 1.817351e-02  9.592663e-03 -2.441372e-01 -3.148194e-01  8.650661e-04  1.837554e-04
+ 1.817351e-02  9.798959e-03 -2.441035e-01 -3.147617e-01  9.873839e-06  1.696100e-06
+ 1.817351e-02  1.000100e-02 -2.441307e-01 -3.147227e-01  3.063060e-04  7.804852e-05
+ 1.817351e-02  1.019904e-02 -2.439545e-01 -3.146448e-01  3.793288e-04  7.962710e-05
+ 1.817351e-02  1.039330e-02 -2.441185e-01 -3.146279e-01  7.314745e-04  1.462848e-04
+ 1.817351e-02  1.058401e-02 -2.441344e-01 -3.145730e-01 -5.109363e-04 -1.063158e-04
+ 1.817351e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.095545e-02 -2.443856e-01 -3.144997e-01 -2.511766e-04 -1.688117e-05
+ 1.817351e-02  1.113653e-02 -2.441450e-01 -3.144225e-01  1.481109e-04 -3.156877e-05
+ 1.817351e-02  1.131471e-02 -2.437700e-01 -3.143034e-01  1.146404e-03  1.555305e-04
+ 1.817351e-02  1.149013e-02 -2.454588e-01 -3.144250e-01 -2.454588e-01 -3.144250e-01
+ 1.817351e-02  1.166290e-02 -2.451461e-01 -3.142938e-01 -9.431729e-04 -6.725306e-05
+ 1.817351e-02  1.183316e-02 -2.446878e-01 -3.142727e-01 -1.418692e-03 -8.681891e-05
+ 1.817351e-02  1.200100e-02 -2.442540e-01 -3.141342e-01 -2.442540e-01 -3.141342e-01
+ 1.817351e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.232983e-02 -2.437020e-01 -3.137734e-01 -2.437020e-01 -3.137734e-01
+ 1.817351e-02  1.249100e-02 -2.439147e-01 -3.137599e-01 -1.023234e-03  3.711343e-04
+ 1.817351e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.280725e-02 -2.435578e-01 -3.136313e-01 -2.683902e-03 -5.385218e-04
+ 1.817351e-02  1.296248e-02 -2.433234e-01 -3.134404e-01 -6.646433e-04 -6.733363e-05
+ 1.817351e-02  1.311588e-02 -2.433427e-01 -3.133999e-01 -2.433427e-01 -3.133999e-01
+ 1.817351e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.817351e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.000000e-06 -2.448557e-01 -2.448560e-01 -1.249494e-07 -2.489562e-07
+ 1.824381e-02  2.001000e-03 -2.453871e-01 -2.453871e-01 -6.416099e-07 -3.009820e-07
+ 1.824381e-02  2.829427e-03 -2.455164e-01 -3.157141e-01  2.436006e-04  5.472427e-05
+ 1.824381e-02  3.465102e-03 -2.456662e-01 -3.157334e-01 -2.122154e-05  9.233182e-06
+ 1.824381e-02  4.001000e-03 -2.456403e-01 -3.157127e-01 -6.874950e-05  7.525136e-06
+ 1.824381e-02  4.473136e-03 -2.456548e-01 -3.156989e-01 -9.141330e-05  5.856292e-06
+ 1.824381e-02  4.899979e-03 -2.455514e-01 -3.156549e-01  4.228341e-05  4.569595e-05
+ 1.824381e-02  5.292503e-03 -2.457329e-01 -3.156746e-01 -1.551439e-04 -3.588567e-05
+ 1.824381e-02  5.657854e-03 -2.457618e-01 -3.156733e-01 -1.626340e-04  8.649701e-06
+ 1.824381e-02  6.001000e-03 -2.455276e-01 -3.156251e-01 -1.098650e-04 -5.000042e-05
+ 1.824381e-02  6.325555e-03 -2.455578e-01 -3.156131e-01  8.817657e-05  1.031157e-05
+ 1.824381e-02  6.634250e-03 -2.455583e-01 -3.155858e-01  1.029863e-03  1.482465e-04
+ 1.824381e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  7.212103e-03 -2.454849e-01 -3.155180e-01 -2.454849e-01 -3.155180e-01
+ 1.824381e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  8.001000e-03 -2.454348e-01 -3.154110e-01 -2.454348e-01 -3.154110e-01
+ 1.824381e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  8.718798e-03 -2.448960e-01 -3.151613e-01 -6.323966e-04 -1.434471e-04
+ 1.824381e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  9.166151e-03 -2.447794e-01 -3.150468e-01 -9.339186e-04 -1.978988e-04
+ 1.824381e-02  9.381832e-03 -2.441044e-01 -3.148614e-01  5.363128e-04  1.235792e-04
+ 1.824381e-02  9.592663e-03 -2.441768e-01 -3.148360e-01 -6.759359e-05 -2.236187e-05
+ 1.824381e-02  9.798959e-03 -2.446480e-01 -3.148828e-01 -2.446480e-01 -3.148828e-01
+ 1.824381e-02  1.000100e-02 -2.441245e-01 -3.147283e-01  7.844850e-05  8.108935e-06
+ 1.824381e-02  1.019904e-02 -2.439480e-01 -3.146477e-01 -4.933629e-04 -1.108840e-04
+ 1.824381e-02  1.039330e-02 -2.442760e-01 -3.146615e-01 -5.347663e-04 -1.021103e-04
+ 1.824381e-02  1.058401e-02 -2.445676e-01 -3.146596e-01 -1.119172e-03 -2.280456e-04
+ 1.824381e-02  1.077133e-02 -2.441218e-01 -3.145265e-01  1.054922e-03  1.344212e-04
+ 1.824381e-02  1.095545e-02 -2.443670e-01 -3.145055e-01 -9.219207e-04 -1.695308e-04
+ 1.824381e-02  1.113653e-02 -2.441368e-01 -3.144191e-01  6.039951e-04  8.967206e-05
+ 1.824381e-02  1.131471e-02 -2.444811e-01 -3.144155e-01 -2.901980e-04 -9.111264e-05
+ 1.824381e-02  1.149013e-02 -2.454579e-01 -3.144214e-01  5.322584e-04  1.142232e-04
+ 1.824381e-02  1.166290e-02 -2.447032e-01 -3.143076e-01  3.492346e-05  2.440954e-05
+ 1.824381e-02  1.183316e-02 -2.443221e-01 -3.142532e-01 -1.608116e-04  2.096872e-05
+ 1.824381e-02  1.200100e-02 -2.443307e-01 -3.141288e-01 -9.594957e-04  2.892798e-05
+ 1.824381e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.232983e-02 -2.436616e-01 -3.138110e-01 -2.436616e-01 -3.138110e-01
+ 1.824381e-02  1.249100e-02 -2.434597e-01 -3.137213e-01 -9.107958e-04 -2.440407e-04
+ 1.824381e-02  1.265011e-02 -2.435090e-01 -3.136219e-01  6.611463e-04  2.559606e-04
+ 1.824381e-02  1.280725e-02 -2.434625e-01 -3.135677e-01 -2.331813e-03 -4.489571e-04
+ 1.824381e-02  1.296248e-02 -2.433175e-01 -3.135136e-01  8.211685e-05 -2.673565e-04
+ 1.824381e-02  1.311588e-02 -2.433258e-01 -3.133505e-01  1.551203e-05 -3.049369e-05
+ 1.824381e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.824381e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.000000e-06 -2.450441e-01 -2.450444e-01 -1.356575e-07  5.162135e-08
+ 1.831384e-02  2.001000e-03 -2.456767e-01 -2.456769e-01 -1.980098e-07 -9.148796e-07
+ 1.831384e-02  2.829427e-03 -2.455983e-01 -3.157336e-01  7.678366e-05  2.762443e-05
+ 1.831384e-02  3.465102e-03 -2.455528e-01 -3.157124e-01  5.251722e-05  9.776662e-06
+ 1.831384e-02  4.001000e-03 -2.455326e-01 -3.156922e-01  3.920191e-04  7.045689e-05
+ 1.831384e-02  4.473136e-03 -2.455361e-01 -3.156755e-01  4.385906e-04  8.513610e-05
+ 1.831384e-02  4.899979e-03 -2.455764e-01 -3.156665e-01  4.080603e-04  7.386222e-05
+ 1.831384e-02  5.292503e-03 -2.456329e-01 -3.156595e-01 -1.482437e-04 -3.916990e-05
+ 1.831384e-02  5.657854e-03 -2.456747e-01 -3.156465e-01  2.138567e-04  3.843725e-05
+ 1.831384e-02  6.001000e-03 -2.457756e-01 -3.156428e-01  6.674477e-04  1.420501e-04
+ 1.831384e-02  6.325555e-03 -2.459815e-01 -3.156508e-01 -2.528372e-04 -4.133220e-05
+ 1.831384e-02  6.634250e-03 -2.460498e-01 -3.156292e-01 -1.365190e-04 -1.249382e-04
+ 1.831384e-02  6.929203e-03 -2.454038e-01 -3.155124e-01  2.999672e-04  4.570509e-05
+ 1.831384e-02  7.212103e-03 -2.453875e-01 -3.154773e-01 -2.453875e-01 -3.154773e-01
+ 1.831384e-02  7.484315e-03 -2.453869e-01 -3.154518e-01 -2.453869e-01 -3.154518e-01
+ 1.831384e-02  7.746967e-03 -2.455139e-01 -3.154580e-01 -2.455139e-01 -3.154580e-01
+ 1.831384e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  8.247211e-03 -2.453166e-01 -3.153430e-01 -2.453166e-01 -3.153430e-01
+ 1.831384e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  8.718798e-03 -2.452036e-01 -3.152408e-01  1.019187e-03  1.686083e-04
+ 1.831384e-02  8.945272e-03 -2.452105e-01 -3.152020e-01 -2.452105e-01 -3.152020e-01
+ 1.831384e-02  9.166151e-03 -2.451677e-01 -3.151469e-01 -2.451677e-01 -3.151469e-01
+ 1.831384e-02  9.381832e-03 -2.448003e-01 -3.150256e-01 -2.448003e-01 -3.150256e-01
+ 1.831384e-02  9.592663e-03 -2.444718e-01 -3.149107e-01 -3.637644e-04 -7.344622e-05
+ 1.831384e-02  9.798959e-03 -2.442205e-01 -3.148116e-01  4.861522e-04  9.019056e-05
+ 1.831384e-02  1.000100e-02 -2.441221e-01 -3.147423e-01 -7.851961e-06 -5.076474e-06
+ 1.831384e-02  1.019904e-02 -2.441058e-01 -3.146955e-01  1.957473e-04  4.337732e-05
+ 1.831384e-02  1.039330e-02 -2.442053e-01 -3.146618e-01  8.269002e-04  1.271947e-04
+ 1.831384e-02  1.058401e-02 -2.444825e-01 -3.146650e-01  3.891551e-04  1.044608e-04
+ 1.831384e-02  1.077133e-02 -2.443106e-01 -3.145790e-01 -1.739501e-04 -2.833206e-05
+ 1.831384e-02  1.095545e-02 -2.441516e-01 -3.144858e-01 -6.696976e-04 -1.166621e-04
+ 1.831384e-02  1.113653e-02 -2.441449e-01 -3.144248e-01  1.756382e-04  4.902943e-05
+ 1.831384e-02  1.131471e-02 -2.441279e-01 -3.143748e-01  2.184805e-05 -1.988399e-05
+ 1.831384e-02  1.149013e-02 -2.447187e-01 -3.144199e-01 -8.353095e-05 -3.546673e-05
+ 1.831384e-02  1.166290e-02 -2.444252e-01 -3.142945e-01  1.153323e-03 -2.395964e-05
+ 1.831384e-02  1.183316e-02 -2.443064e-01 -3.142607e-01 -1.493149e-04 -2.117956e-05
+ 1.831384e-02  1.200100e-02 -2.441489e-01 -3.141330e-01 -2.441489e-01 -3.141330e-01
+ 1.831384e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.249100e-02 -2.444092e-01 -3.139783e-01 -2.444092e-01 -3.139783e-01
+ 1.831384e-02  1.265011e-02 -2.435308e-01 -3.136580e-01 -2.435308e-01 -3.136580e-01
+ 1.831384e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.296248e-02 -2.433619e-01 -3.134930e-01 -2.433619e-01 -3.134930e-01
+ 1.831384e-02  1.311588e-02 -2.433213e-01 -3.133978e-01 -2.384492e-03 -4.109874e-04
+ 1.831384e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.356566e-02 -2.412801e-01 -3.127311e-01 -2.412801e-01 -3.127311e-01
+ 1.831384e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.831384e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.000000e-06 -2.452272e-01 -2.452276e-01  6.915817e-07  5.890530e-07
+ 1.838360e-02  2.001000e-03 -2.457481e-01 -2.457484e-01  2.779334e-07  6.807618e-07
+ 1.838360e-02  2.829427e-03 -2.458452e-01 -2.458450e-01  1.400075e-05  1.463706e-05
+ 1.838360e-02  3.465102e-03 -2.458964e-01 -3.158095e-01 -5.987882e-06  2.510862e-06
+ 1.838360e-02  4.001000e-03 -2.459200e-01 -3.157999e-01 -1.061564e-06 -2.811799e-07
+ 1.838360e-02  4.473136e-03 -2.458937e-01 -3.157873e-01 -4.678317e-05  7.969805e-07
+ 1.838360e-02  4.899979e-03 -2.456485e-01 -3.157333e-01  1.182688e-05 -2.105296e-05
+ 1.838360e-02  5.292503e-03 -2.454307e-01 -3.156252e-01  2.022920e-04  5.441884e-05
+ 1.838360e-02  5.657854e-03 -2.455048e-01 -3.156223e-01  5.658062e-04  1.068618e-04
+ 1.838360e-02  6.001000e-03 -2.455560e-01 -3.156133e-01  2.271070e-04  4.934887e-05
+ 1.838360e-02  6.325555e-03 -2.456144e-01 -3.156047e-01  3.126394e-04  7.457793e-05
+ 1.838360e-02  6.634250e-03 -2.459387e-01 -3.156361e-01  2.940485e-05  2.305694e-05
+ 1.838360e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  7.212103e-03 -2.460862e-01 -3.155524e-01 -9.344775e-05 -5.345642e-05
+ 1.838360e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  7.746967e-03 -2.452896e-01 -3.153826e-01 -2.452896e-01 -3.153826e-01
+ 1.838360e-02  8.001000e-03 -2.453014e-01 -3.153691e-01 -1.538872e-05  1.545418e-07
+ 1.838360e-02  8.247211e-03 -2.452891e-01 -3.153453e-01 -6.732911e-06  2.905416e-06
+ 1.838360e-02  8.486281e-03 -2.452431e-01 -3.153011e-01  2.821854e-05  2.993282e-05
+ 1.838360e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  8.945272e-03 -2.451264e-01 -3.151807e-01 -6.523481e-06  1.563055e-05
+ 1.838360e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  9.592663e-03 -2.447315e-01 -3.149816e-01 -6.163596e-04 -1.286221e-04
+ 1.838360e-02  9.798959e-03 -2.450990e-01 -3.150042e-01 -2.450990e-01 -3.150042e-01
+ 1.838360e-02  1.000100e-02 -2.438753e-01 -3.147087e-01  1.006554e-03  1.839522e-04
+ 1.838360e-02  1.019904e-02 -2.446962e-01 -3.148210e-01 -5.805077e-04 -1.032466e-04
+ 1.838360e-02  1.039330e-02 -2.435785e-01 -3.145438e-01 -2.024346e-04 -4.972808e-05
+ 1.838360e-02  1.058401e-02 -2.441326e-01 -3.146044e-01  7.295847e-04  1.372253e-04
+ 1.838360e-02  1.077133e-02 -2.441951e-01 -3.145715e-01 -3.284717e-04 -8.402855e-05
+ 1.838360e-02  1.095545e-02 -2.441248e-01 -3.144970e-01  1.378559e-04  2.164916e-05
+ 1.838360e-02  1.113653e-02 -2.441493e-01 -3.144356e-01 -4.052151e-06 -2.148465e-06
+ 1.838360e-02  1.131471e-02 -2.441511e-01 -3.143862e-01  8.045434e-07 -7.247027e-05
+ 1.838360e-02  1.149013e-02 -2.442435e-01 -3.143632e-01  9.811979e-04 -1.339818e-04
+ 1.838360e-02  1.166290e-02 -2.442814e-01 -3.143181e-01 -1.324076e-04  1.133348e-06
+ 1.838360e-02  1.183316e-02 -2.448040e-01 -3.143184e-01 -2.448040e-01 -3.143184e-01
+ 1.838360e-02  1.200100e-02 -2.441466e-01 -3.141572e-01 -9.098890e-04 -1.087086e-06
+ 1.838360e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.249100e-02 -2.440009e-01 -3.136980e-01 -1.189637e-03  4.402109e-04
+ 1.838360e-02  1.265011e-02 -2.433533e-01 -3.136319e-01 -1.046220e-03 -1.844999e-04
+ 1.838360e-02  1.280725e-02 -2.431002e-01 -3.135730e-01 -1.860470e-03 -4.070831e-04
+ 1.838360e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.311588e-02 -2.432939e-01 -3.134337e-01 -1.793215e-04  1.022968e-04
+ 1.838360e-02  1.326750e-02 -2.433422e-01 -3.133068e-01  1.168825e-05 -2.313465e-05
+ 1.838360e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.371231e-02 -2.412523e-01 -3.123950e-01  1.306679e-04  5.568139e-04
+ 1.838360e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.661425e-02 -2.430445e-01 -3.129414e-01 -1.455932e-03 -3.113464e-05
+ 1.838360e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.838360e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.000000e-06 -2.454061e-01 -2.454058e-01 -6.267452e-07 -6.222154e-07
+ 1.845310e-02  2.001000e-03 -2.459265e-01 -2.459265e-01  9.721208e-07  5.576223e-07
+ 1.845310e-02  2.829427e-03 -2.460368e-01 -2.460371e-01  6.359188e-07  1.067526e-06
+ 1.845310e-02  3.465102e-03 -2.460880e-01 -3.158502e-01 -2.768722e-06  4.851044e-06
+ 1.845310e-02  4.001000e-03 -2.461170e-01 -3.158427e-01 -4.951881e-06  4.178126e-06
+ 1.845310e-02  4.473136e-03 -2.461262e-01 -3.158273e-01 -1.765987e-05  5.456623e-06
+ 1.845310e-02  4.899979e-03 -2.461260e-01 -3.158062e-01 -2.160950e-05  1.598356e-06
+ 1.845310e-02  5.292503e-03 -2.461316e-01 -3.157853e-01  7.001927e-06  5.591190e-06
+ 1.845310e-02  5.657854e-03 -2.459974e-01 -3.157637e-01  1.134113e-04  3.956080e-06
+ 1.845310e-02  6.001000e-03 -2.454371e-01 -3.156049e-01  2.410506e-04  4.199606e-05
+ 1.845310e-02  6.325555e-03 -2.456529e-01 -3.156189e-01 -1.494266e-04 -3.329406e-05
+ 1.845310e-02  6.634250e-03 -2.457586e-01 -3.156108e-01  3.413679e-05 -8.207035e-08
+ 1.845310e-02  6.929203e-03 -2.458688e-01 -3.156011e-01  4.092640e-04  4.968383e-05
+ 1.845310e-02  7.212103e-03 -2.460215e-01 -3.155808e-01  7.969295e-06 -7.374782e-05
+ 1.845310e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  7.746967e-03 -2.461069e-01 -3.154814e-01 -2.461069e-01 -3.154814e-01
+ 1.845310e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  8.486281e-03 -2.452159e-01 -3.152804e-01 -2.452159e-01 -3.152804e-01
+ 1.845310e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  9.166151e-03 -2.450578e-01 -3.151158e-01  4.037506e-04  5.116640e-05
+ 1.845310e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  9.592663e-03 -2.449953e-01 -3.150132e-01 -1.029266e-04  1.681106e-05
+ 1.845310e-02  9.798959e-03 -2.448759e-01 -3.149544e-01 -2.688342e-04 -4.272216e-05
+ 1.845310e-02  1.000100e-02 -2.449355e-01 -3.149294e-01 -6.251820e-04 -8.598274e-05
+ 1.845310e-02  1.019904e-02 -2.449752e-01 -3.148868e-01 -2.449752e-01 -3.148868e-01
+ 1.845310e-02  1.039330e-02 -2.442242e-01 -3.146979e-01 -9.898081e-06  4.494756e-07
+ 1.845310e-02  1.058401e-02 -2.447573e-01 -3.147120e-01  7.114088e-05 -1.992661e-05
+ 1.845310e-02  1.077133e-02 -2.441597e-01 -3.145667e-01 -3.463361e-05 -1.346176e-05
+ 1.845310e-02  1.095545e-02 -2.441329e-01 -3.145149e-01 -9.019263e-05  2.015333e-05
+ 1.845310e-02  1.113653e-02 -2.441452e-01 -3.144495e-01  3.124099e-04  4.332240e-05
+ 1.845310e-02  1.131471e-02 -2.441460e-01 -3.143968e-01  2.232855e-05 -5.199836e-05
+ 1.845310e-02  1.149013e-02 -2.441535e-01 -3.143522e-01 -1.153783e-05  5.984510e-05
+ 1.845310e-02  1.166290e-02 -2.441757e-01 -3.143166e-01 -6.098470e-04 -1.362216e-04
+ 1.845310e-02  1.183316e-02 -2.448264e-01 -3.143325e-01  5.310581e-04  9.476979e-05
+ 1.845310e-02  1.200100e-02 -2.441469e-01 -3.141852e-01  3.672740e-06  2.527090e-05
+ 1.845310e-02  1.216653e-02 -2.441652e-01 -3.141016e-01 -2.441652e-01 -3.141016e-01
+ 1.845310e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.249100e-02 -2.439489e-01 -3.137196e-01  5.363141e-04  5.128680e-04
+ 1.845310e-02  1.265011e-02 -2.435793e-01 -3.137294e-01 -4.627780e-05 -7.750065e-05
+ 1.845310e-02  1.280725e-02 -2.431089e-01 -3.135844e-01 -2.431089e-01 -3.135844e-01
+ 1.845310e-02  1.296248e-02 -2.436050e-01 -3.134456e-01 -2.614290e-03 -4.108441e-04
+ 1.845310e-02  1.311588e-02 -2.432201e-01 -3.135029e-01  1.087271e-05 -4.118814e-05
+ 1.845310e-02  1.326750e-02 -2.433448e-01 -3.133261e-01 -2.433448e-01 -3.133261e-01
+ 1.845310e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.371231e-02 -2.420910e-01 -3.128641e-01  1.074706e-03  3.779819e-04
+ 1.845310e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.649342e-02 -2.421498e-01 -3.124638e-01 -1.025044e-03  8.276692e-05
+ 1.845310e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.845310e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.000000e-06 -2.455455e-01 -2.455460e-01  2.398465e-07 -3.954960e-07
+ 1.852234e-02  2.001000e-03 -2.461042e-01 -2.461046e-01  1.030484e-06  1.779537e-08
+ 1.852234e-02  2.829427e-03 -2.462123e-01 -2.462131e-01 -1.044661e-07 -3.306846e-07
+ 1.852234e-02  3.465102e-03 -2.462620e-01 -3.158976e-01  5.165755e-07  4.674733e-08
+ 1.852234e-02  4.001000e-03 -2.462852e-01 -3.158887e-01  5.508006e-06  9.821881e-07
+ 1.852234e-02  4.473136e-03 -2.462973e-01 -3.158754e-01 -9.487313e-06 -2.153871e-06
+ 1.852234e-02  4.899979e-03 -2.462887e-01 -3.158567e-01 -9.123924e-06 -2.644980e-06
+ 1.852234e-02  5.292503e-03 -2.462215e-01 -3.158226e-01  3.242863e-05  8.131294e-06
+ 1.852234e-02  5.657854e-03 -2.463940e-01 -3.158360e-01 -6.042539e-05 -9.278594e-06
+ 1.852234e-02  6.001000e-03 -2.463575e-01 -3.158028e-01 -1.938934e-04 -5.133463e-05
+ 1.852234e-02  6.325555e-03 -2.461008e-01 -3.157508e-01 -2.710012e-04 -9.231052e-05
+ 1.852234e-02  6.634250e-03 -2.456164e-01 -3.156090e-01  2.775785e-04  5.644057e-06
+ 1.852234e-02  6.929203e-03 -2.458578e-01 -3.156085e-01 -1.672064e-04 -9.570148e-07
+ 1.852234e-02  7.212103e-03 -2.459545e-01 -3.155943e-01  6.044373e-05 -1.849792e-05
+ 1.852234e-02  7.484315e-03 -2.460213e-01 -3.155701e-01 -1.324073e-04 -6.252966e-05
+ 1.852234e-02  7.746967e-03 -2.462414e-01 -3.156144e-01 -6.328032e-04 -6.589693e-05
+ 1.852234e-02  8.001000e-03 -2.460098e-01 -3.155074e-01 -2.460098e-01 -3.155074e-01
+ 1.852234e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  8.945272e-03 -2.451791e-01 -3.151936e-01 -2.095222e-04 -7.685777e-05
+ 1.852234e-02  9.166151e-03 -2.449444e-01 -3.151157e-01 -8.412885e-04 -1.736714e-04
+ 1.852234e-02  9.381832e-03 -2.449431e-01 -3.150529e-01  2.782302e-04  1.310746e-04
+ 1.852234e-02  9.592663e-03 -2.449264e-01 -3.150035e-01 -2.449264e-01 -3.150035e-01
+ 1.852234e-02  9.798959e-03 -2.446902e-01 -3.149082e-01 -4.093972e-04 -6.760092e-05
+ 1.852234e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.019904e-02 -2.444190e-01 -3.147809e-01 -3.011419e-04 -6.253549e-05
+ 1.852234e-02  1.039330e-02 -2.446073e-01 -3.147603e-01 -4.925592e-04 -9.668199e-05
+ 1.852234e-02  1.058401e-02 -2.440849e-01 -3.146312e-01  6.395847e-04  1.084924e-04
+ 1.852234e-02  1.077133e-02 -2.447607e-01 -3.146791e-01 -4.397694e-04 -5.956696e-05
+ 1.852234e-02  1.095545e-02 -2.444676e-01 -3.145755e-01  1.918063e-04 -3.559288e-06
+ 1.852234e-02  1.113653e-02 -2.441315e-01 -3.144661e-01  2.800569e-04  1.882773e-05
+ 1.852234e-02  1.131471e-02 -2.441457e-01 -3.144070e-01  1.645657e-04 -3.101006e-05
+ 1.852234e-02  1.149013e-02 -2.441487e-01 -3.143624e-01 -1.167791e-05  3.303497e-05
+ 1.852234e-02  1.166290e-02 -2.441642e-01 -3.143162e-01 -1.319192e-05  3.610795e-05
+ 1.852234e-02  1.183316e-02 -2.441649e-01 -3.142660e-01  4.171804e-06  7.256025e-06
+ 1.852234e-02  1.200100e-02 -2.441451e-01 -3.142083e-01  1.057940e-05  1.460015e-05
+ 1.852234e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.249100e-02 -2.442197e-01 -3.138826e-01  6.201515e-04  3.652054e-04
+ 1.852234e-02  1.265011e-02 -2.435453e-01 -3.136669e-01 -2.553649e-04 -2.065584e-04
+ 1.852234e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.296248e-02 -2.432705e-01 -3.135241e-01 -1.308084e-04  1.615213e-04
+ 1.852234e-02  1.311588e-02 -2.426463e-01 -3.134224e-01 -1.450023e-03 -3.302304e-04
+ 1.852234e-02  1.326750e-02 -2.432971e-01 -3.134157e-01 -2.432971e-01 -3.134157e-01
+ 1.852234e-02  1.341741e-02 -2.434884e-01 -3.132018e-01 -1.848511e-03 -1.316906e-04
+ 1.852234e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.852234e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.000000e-06 -2.457974e-01 -2.457980e-01 -4.966388e-06 -5.802089e-06
+ 1.859132e-02  2.001000e-03 -2.462794e-01 -2.462799e-01  6.685836e-07  7.507566e-08
+ 1.859132e-02  2.829427e-03 -2.463901e-01 -2.463900e-01  2.868798e-06  2.872826e-06
+ 1.859132e-02  3.465102e-03 -2.464984e-01 -3.159610e-01  4.310667e-06  6.291971e-07
+ 1.859132e-02  4.001000e-03 -2.465771e-01 -3.159637e-01 -2.502552e-05 -7.304546e-06
+ 1.859132e-02  4.473136e-03 -2.465686e-01 -3.159445e-01  4.621630e-05  1.400463e-05
+ 1.859132e-02  4.899979e-03 -2.465638e-01 -3.159254e-01 -1.584790e-04 -4.035410e-05
+ 1.859132e-02  5.292503e-03 -2.466189e-01 -3.159212e-01 -1.253689e-04 -3.257739e-05
+ 1.859132e-02  5.657854e-03 -2.462379e-01 -3.158138e-01  3.057491e-05  2.966111e-06
+ 1.859132e-02  6.001000e-03 -2.464632e-01 -3.158360e-01 -7.114680e-05 -1.892975e-05
+ 1.859132e-02  6.325555e-03 -2.466613e-01 -3.158588e-01 -6.532902e-04 -1.113648e-04
+ 1.859132e-02  6.634250e-03 -2.464513e-01 -3.157813e-01 -2.464513e-01 -3.157813e-01
+ 1.859132e-02  6.929203e-03 -2.454490e-01 -3.155652e-01  6.619867e-04  1.082963e-04
+ 1.859132e-02  7.212103e-03 -2.459131e-01 -3.156061e-01 -1.132611e-04 -5.434115e-05
+ 1.859132e-02  7.484315e-03 -2.460469e-01 -3.155984e-01 -9.498545e-05 -9.024813e-05
+ 1.859132e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  8.001000e-03 -2.461567e-01 -3.155214e-01 -2.461567e-01 -3.155214e-01
+ 1.859132e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  8.486281e-03 -2.461957e-01 -3.154086e-01 -1.519036e-04  4.805402e-05
+ 1.859132e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  9.381832e-03 -2.449727e-01 -3.150777e-01 -2.449727e-01 -3.150777e-01
+ 1.859132e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.000100e-02 -2.453840e-01 -3.149903e-01 -2.453840e-01 -3.149903e-01
+ 1.859132e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.039330e-02 -2.443921e-01 -3.147291e-01  1.314768e-04  3.280370e-05
+ 1.859132e-02  1.058401e-02 -2.446094e-01 -3.147025e-01 -4.905152e-04 -7.938073e-05
+ 1.859132e-02  1.077133e-02 -2.448308e-01 -3.147079e-01 -6.527968e-04 -7.981880e-05
+ 1.859132e-02  1.095545e-02 -2.442196e-01 -3.145611e-01 -6.015871e-04 -1.058296e-04
+ 1.859132e-02  1.113653e-02 -2.441443e-01 -3.144926e-01  1.077295e-03  2.105624e-04
+ 1.859132e-02  1.131471e-02 -2.440893e-01 -3.144181e-01  1.036884e-04  1.531257e-05
+ 1.859132e-02  1.149013e-02 -2.441480e-01 -3.143614e-01  5.926153e-06 -6.718384e-05
+ 1.859132e-02  1.166290e-02 -2.441626e-01 -3.143259e-01  6.372778e-04  1.343608e-04
+ 1.859132e-02  1.183316e-02 -2.441655e-01 -3.142765e-01  8.962394e-04  6.323251e-05
+ 1.859132e-02  1.200100e-02 -2.441555e-01 -3.142174e-01 -1.255097e-04 -4.107383e-05
+ 1.859132e-02  1.216653e-02 -2.441693e-01 -3.141503e-01 -7.802019e-04 -1.294634e-04
+ 1.859132e-02  1.232983e-02 -2.448964e-01 -3.140693e-01 -2.448964e-01 -3.140693e-01
+ 1.859132e-02  1.249100e-02 -2.446057e-01 -3.131899e-01  1.800425e-04  5.493481e-04
+ 1.859132e-02  1.265011e-02 -2.442409e-01 -3.136256e-01 -3.879893e-05  1.181920e-04
+ 1.859132e-02  1.280725e-02 -2.435746e-01 -3.136255e-01 -2.435746e-01 -3.136255e-01
+ 1.859132e-02  1.296248e-02 -2.436128e-01 -3.135322e-01 -2.436128e-01 -3.135322e-01
+ 1.859132e-02  1.311588e-02 -2.434576e-01 -3.134463e-01 -1.241585e-03 -1.814306e-04
+ 1.859132e-02  1.326750e-02 -2.433240e-01 -3.133906e-01 -1.858569e-03 -2.795199e-04
+ 1.859132e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.356566e-02 -2.415459e-01 -3.124548e-01 -4.258512e-04  2.462086e-05
+ 1.859132e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.859132e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.000000e-06 -2.459579e-01 -2.459580e-01  3.663713e-06  3.372177e-06
+ 1.866005e-02  2.001000e-03 -2.464726e-01 -2.464724e-01 -1.790180e-05 -1.785092e-05
+ 1.866005e-02  2.829427e-03 -2.464894e-01 -2.464893e-01  3.796561e-05  3.938859e-05
+ 1.866005e-02  3.465102e-03 -2.464681e-01 -3.159508e-01  6.573450e-05  1.719291e-05
+ 1.866005e-02  4.001000e-03 -2.464793e-01 -3.159396e-01  2.294809e-05  6.414989e-06
+ 1.866005e-02  4.473136e-03 -2.465083e-01 -3.159316e-01  1.266948e-05  2.911906e-06
+ 1.866005e-02  4.899979e-03 -2.465342e-01 -3.159202e-01 -1.159594e-06  2.263510e-07
+ 1.866005e-02  5.292503e-03 -2.465400e-01 -3.159024e-01  6.146703e-05  1.617083e-05
+ 1.866005e-02  5.657854e-03 -2.465340e-01 -3.158816e-01 -1.614634e-04 -4.161645e-05
+ 1.866005e-02  6.001000e-03 -2.465280e-01 -3.158605e-01 -8.601484e-06 -1.854933e-06
+ 1.866005e-02  6.325555e-03 -2.464540e-01 -3.158098e-01 -1.065614e-04 -2.282232e-05
+ 1.866005e-02  6.634250e-03 -2.458823e-01 -3.156440e-01  1.682500e-04  4.963010e-05
+ 1.866005e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  7.212103e-03 -2.462924e-01 -3.157203e-01 -9.251538e-04 -1.740049e-04
+ 1.866005e-02  7.484315e-03 -2.459030e-01 -3.155940e-01 -3.248211e-04 -1.762765e-05
+ 1.866005e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  8.001000e-03 -2.460688e-01 -3.155224e-01 -2.460688e-01 -3.155224e-01
+ 1.866005e-02  8.247211e-03 -2.461863e-01 -3.154995e-01 -2.461863e-01 -3.154995e-01
+ 1.866005e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.058401e-02 -2.453738e-01 -3.148286e-01 -2.453738e-01 -3.148286e-01
+ 1.866005e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.095545e-02 -2.448002e-01 -3.146308e-01 -1.331088e-03 -2.358128e-04
+ 1.866005e-02  1.113653e-02 -2.436894e-01 -3.144185e-01  3.197238e-04  3.811206e-05
+ 1.866005e-02  1.131471e-02 -2.444745e-01 -3.144669e-01  1.302112e-04  2.859469e-05
+ 1.866005e-02  1.149013e-02 -2.441936e-01 -3.143740e-01 -4.014625e-04 -5.982292e-05
+ 1.866005e-02  1.166290e-02 -2.441658e-01 -3.143132e-01 -2.441658e-01 -3.143132e-01
+ 1.866005e-02  1.183316e-02 -2.441776e-01 -3.142950e-01 -2.441776e-01 -3.142950e-01
+ 1.866005e-02  1.200100e-02 -2.441640e-01 -3.142365e-01  5.845241e-04  4.612365e-05
+ 1.866005e-02  1.216653e-02 -2.441622e-01 -3.141737e-01 -2.441622e-01 -3.141737e-01
+ 1.866005e-02  1.232983e-02 -2.443585e-01 -3.141721e-01 -9.139879e-04 -1.710746e-04
+ 1.866005e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.265011e-02 -2.439078e-01 -3.138639e-01 -6.595303e-04 -4.342918e-05
+ 1.866005e-02  1.280725e-02 -2.442375e-01 -3.136371e-01 -2.442375e-01 -3.136371e-01
+ 1.866005e-02  1.296248e-02 -2.435829e-01 -3.135487e-01 -3.418619e-04 -2.083667e-05
+ 1.866005e-02  1.311588e-02 -2.437207e-01 -3.133359e-01 -2.437207e-01 -3.133359e-01
+ 1.866005e-02  1.326750e-02 -2.426654e-01 -3.133358e-01 -1.663563e-03 -4.017054e-04
+ 1.866005e-02  1.341741e-02 -2.433035e-01 -3.133976e-01 -5.488764e-04 -1.563955e-04
+ 1.866005e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.866005e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.000000e-06 -2.461309e-01 -2.461314e-01  3.030752e-06  1.604435e-06
+ 1.872852e-02  2.001000e-03 -2.466132e-01 -2.466140e-01 -2.026315e-06 -4.100174e-06
+ 1.872852e-02  2.829427e-03 -2.467238e-01 -2.467249e-01  4.032937e-07  3.725291e-07
+ 1.872852e-02  3.465102e-03 -2.467674e-01 -3.160302e-01  1.346473e-06 -4.611372e-08
+ 1.872852e-02  4.001000e-03 -2.467785e-01 -3.160188e-01 -7.189161e-07 -4.668003e-07
+ 1.872852e-02  4.473136e-03 -2.467660e-01 -3.159996e-01  1.323917e-06 -5.669859e-08
+ 1.872852e-02  4.899979e-03 -2.467154e-01 -3.159678e-01  7.600135e-05  1.959183e-05
+ 1.872852e-02  5.292503e-03 -2.466790e-01 -3.159386e-01 -1.027847e-05 -9.406203e-07
+ 1.872852e-02  5.657854e-03 -2.465043e-01 -3.158757e-01  6.245685e-05  1.247457e-05
+ 1.872852e-02  6.001000e-03 -2.463970e-01 -3.158317e-01  1.743030e-04  3.698297e-05
+ 1.872852e-02  6.325555e-03 -2.464882e-01 -3.158296e-01 -1.506996e-04 -4.426485e-05
+ 1.872852e-02  6.634250e-03 -2.468202e-01 -3.158777e-01 -2.468202e-01 -3.158777e-01
+ 1.872852e-02  6.929203e-03 -2.465329e-01 -3.157999e-01  1.201645e-04  6.539620e-06
+ 1.872852e-02  7.212103e-03 -2.458283e-01 -3.155756e-01 -2.458283e-01 -3.155756e-01
+ 1.872852e-02  7.484315e-03 -2.460871e-01 -3.156088e-01 -2.644761e-04 -4.118893e-05
+ 1.872852e-02  7.746967e-03 -2.456763e-01 -3.155537e-01 -2.456763e-01 -3.155537e-01
+ 1.872852e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  8.486281e-03 -2.462690e-01 -3.154668e-01 -2.462690e-01 -3.154668e-01
+ 1.872852e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.039330e-02 -2.458363e-01 -3.149312e-01 -2.458363e-01 -3.149312e-01
+ 1.872852e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.095545e-02 -2.445635e-01 -3.146409e-01 -4.316268e-04 -8.392959e-05
+ 1.872852e-02  1.113653e-02 -2.445139e-01 -3.145533e-01  2.880885e-04  4.796567e-05
+ 1.872852e-02  1.131471e-02 -2.437419e-01 -3.143802e-01 -1.380720e-04 -2.315101e-05
+ 1.872852e-02  1.149013e-02 -2.448346e-01 -3.144722e-01 -6.836136e-04 -1.915342e-04
+ 1.872852e-02  1.166290e-02 -2.442987e-01 -3.143256e-01 -3.446159e-04 -1.358854e-05
+ 1.872852e-02  1.183316e-02 -2.436865e-01 -3.141544e-01  4.342355e-04 -8.350977e-04
+ 1.872852e-02  1.200100e-02 -2.445556e-01 -3.142971e-01 -3.927017e-04 -1.136587e-04
+ 1.872852e-02  1.216653e-02 -2.439745e-01 -3.141929e-01  7.939899e-05  3.516878e-05
+ 1.872852e-02  1.232983e-02 -2.442879e-01 -3.141596e-01  1.120988e-03 -1.520288e-04
+ 1.872852e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.265011e-02 -2.443520e-01 -3.136394e-01 -2.443520e-01 -3.136394e-01
+ 1.872852e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.296248e-02 -2.441619e-01 -3.135576e-01 -6.361112e-04  1.171568e-04
+ 1.872852e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.326750e-02 -2.434500e-01 -3.131995e-01 -2.427167e-03 -2.802768e-04
+ 1.872852e-02  1.341741e-02 -2.415127e-01 -3.130800e-01  9.776444e-04  2.595691e-04
+ 1.872852e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.600100e-02 -2.409024e-01 -3.122244e-01 -2.409024e-01 -3.122244e-01
+ 1.872852e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.872852e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.000000e-06 -2.463040e-01 -2.463044e-01  5.768333e-07 -4.703940e-08
+ 1.879674e-02  2.001000e-03 -2.467890e-01 -2.467897e-01  6.719194e-07 -2.494415e-07
+ 1.879674e-02  2.829427e-03 -2.468969e-01 -2.468969e-01 -1.536932e-06 -1.628767e-06
+ 1.879674e-02  3.465102e-03 -2.469377e-01 -3.160759e-01 -1.405713e-06 -3.267317e-07
+ 1.879674e-02  4.001000e-03 -2.469444e-01 -3.160635e-01  6.068489e-06  1.384660e-06
+ 1.879674e-02  4.473136e-03 -2.469421e-01 -3.160466e-01 -5.028759e-05 -1.301575e-05
+ 1.879674e-02  4.899979e-03 -2.469470e-01 -3.160297e-01 -7.738512e-07 -1.210159e-07
+ 1.879674e-02  5.292503e-03 -2.469753e-01 -3.160177e-01 -1.008714e-04 -2.620197e-05
+ 1.879674e-02  5.657854e-03 -2.468152e-01 -3.159558e-01 -1.314272e-04 -3.590233e-05
+ 1.879674e-02  6.001000e-03 -2.468159e-01 -3.159311e-01 -4.543114e-04 -1.117775e-04
+ 1.879674e-02  6.325555e-03 -2.467153e-01 -3.158793e-01 -2.467153e-01 -3.158793e-01
+ 1.879674e-02  6.634250e-03 -2.464110e-01 -3.157758e-01 -9.728275e-04 -1.570327e-04
+ 1.879674e-02  6.929203e-03 -2.467098e-01 -3.158247e-01  2.030801e-03 -1.258552e-04
+ 1.879674e-02  7.212103e-03 -2.466922e-01 -3.157915e-01 -1.728030e-04 -5.196440e-05
+ 1.879674e-02  7.484315e-03 -2.457350e-01 -3.155882e-01 -2.457350e-01 -3.155882e-01
+ 1.879674e-02  7.746967e-03 -2.465712e-01 -3.157101e-01 -3.169269e-04 -1.044652e-04
+ 1.879674e-02  8.001000e-03 -2.453372e-01 -3.154714e-01 -8.362438e-05 -2.689014e-05
+ 1.879674e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  8.486281e-03 -2.461875e-01 -3.154663e-01 -2.461875e-01 -3.154663e-01
+ 1.879674e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.039330e-02 -2.459729e-01 -3.148986e-01 -2.459729e-01 -3.148986e-01
+ 1.879674e-02  1.058401e-02 -2.460138e-01 -3.148006e-01 -2.460138e-01 -3.148006e-01
+ 1.879674e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.113653e-02 -2.450950e-01 -3.146484e-01 -1.239343e-03 -1.940673e-04
+ 1.879674e-02  1.131471e-02 -2.453286e-01 -3.145861e-01 -1.851227e-03 -2.962761e-04
+ 1.879674e-02  1.149013e-02 -2.439542e-01 -3.143738e-01  1.867296e-04  3.673148e-05
+ 1.879674e-02  1.166290e-02 -2.450518e-01 -3.144366e-01 -2.450518e-01 -3.144366e-01
+ 1.879674e-02  1.183316e-02 -2.441131e-01 -3.142758e-01 -1.443471e-05 -3.223426e-04
+ 1.879674e-02  1.200100e-02 -2.436510e-01 -3.141136e-01 -2.436510e-01 -3.141136e-01
+ 1.879674e-02  1.216653e-02 -2.437087e-01 -3.142155e-01 -2.437087e-01 -3.142155e-01
+ 1.879674e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.341741e-02 -2.435587e-01 -3.132759e-01 -1.093348e-03  8.528390e-05
+ 1.879674e-02  1.356566e-02 -2.434622e-01 -3.131846e-01 -2.434622e-01 -3.131846e-01
+ 1.879674e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.612552e-02 -2.402701e-01 -3.121856e-01 -2.402701e-01 -3.121856e-01
+ 1.879674e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879674e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.000000e-06 -2.465634e-01 -2.465635e-01 -7.704415e-05 -7.600600e-05
+ 1.886472e-02  2.001000e-03 -2.469593e-01 -2.469590e-01 -1.547010e-07  8.465645e-08
+ 1.886472e-02  2.829427e-03 -2.470538e-01 -2.470544e-01  5.777634e-06  5.035495e-06
+ 1.886472e-02  3.465102e-03 -2.471825e-01 -3.161434e-01 -3.487363e-05 -8.526801e-06
+ 1.886472e-02  4.001000e-03 -2.471908e-01 -3.161318e-01  3.330248e-05  8.930394e-06
+ 1.886472e-02  4.473136e-03 -2.471806e-01 -3.161125e-01 -8.916526e-05 -2.499520e-05
+ 1.886472e-02  4.899979e-03 -2.471368e-01 -3.160839e-01  1.007043e-04  2.498395e-05
+ 1.886472e-02  5.292503e-03 -2.470068e-01 -3.160278e-01  1.095583e-05  3.176717e-06
+ 1.886472e-02  5.657854e-03 -2.473775e-01 -3.161118e-01  5.534375e-03 -5.457677e-04
+ 1.886472e-02  6.001000e-03 -2.471176e-01 -3.160154e-01 -2.143363e-04 -5.659111e-05
+ 1.886472e-02  6.325555e-03 -2.470388e-01 -3.159443e-01 -2.470388e-01 -3.159443e-01
+ 1.886472e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  7.212103e-03 -2.467216e-01 -3.158105e-01 -4.174157e-04 -1.146737e-04
+ 1.886472e-02  7.484315e-03 -2.464191e-01 -3.157233e-01  3.135947e-04  9.875585e-05
+ 1.886472e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  8.247211e-03 -2.455983e-01 -3.155245e-01 -4.852822e-04 -1.293429e-04
+ 1.886472e-02  8.486281e-03 -2.461546e-01 -3.155199e-01 -2.461546e-01 -3.155199e-01
+ 1.886472e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.058401e-02 -2.456751e-01 -3.148790e-01 -1.443834e-03 -2.355670e-04
+ 1.886472e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.149013e-02 -2.447823e-01 -3.144858e-01 -2.447823e-01 -3.144858e-01
+ 1.886472e-02  1.166290e-02 -2.437621e-01 -3.143150e-01  3.885761e-04  5.151947e-05
+ 1.886472e-02  1.183316e-02 -2.439762e-01 -3.142911e-01 -1.183394e-03 -1.539529e-04
+ 1.886472e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.232983e-02 -2.432752e-01 -3.141232e-01  5.709820e-04 -3.000659e-04
+ 1.886472e-02  1.249100e-02 -2.437787e-01 -3.140119e-01 -2.437787e-01 -3.140119e-01
+ 1.886472e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.280725e-02 -2.442141e-01 -3.137781e-01 -4.453516e-05  3.092371e-04
+ 1.886472e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.326750e-02 -2.442469e-01 -3.135228e-01 -2.442469e-01 -3.135228e-01
+ 1.886472e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.356566e-02 -2.437237e-01 -3.133132e-01 -4.543605e-04  1.713144e-04
+ 1.886472e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.400100e-02 -2.432407e-01 -3.133233e-01 -2.841542e-03 -3.844841e-04
+ 1.886472e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.886472e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.000000e-06 -2.465929e-01 -2.465936e-01 -2.799307e-06 -4.536414e-06
+ 1.893246e-02  2.001000e-03 -2.471749e-01 -2.471768e-01 -3.643197e-05 -3.831836e-05
+ 1.893246e-02  2.829427e-03 -2.472742e-01 -2.472754e-01  2.290341e-07 -1.713367e-06
+ 1.893246e-02  3.465102e-03 -2.473156e-01 -3.161806e-01  4.871757e-06  1.117673e-06
+ 1.893246e-02  4.001000e-03 -2.473191e-01 -3.161679e-01  2.309843e-05  5.695744e-06
+ 1.893246e-02  4.473136e-03 -2.472865e-01 -3.161418e-01 -3.596080e-05 -9.449503e-06
+ 1.893246e-02  4.899979e-03 -2.473237e-01 -3.161356e-01 -6.975027e-05 -1.970198e-05
+ 1.893246e-02  5.292503e-03 -2.473050e-01 -3.161100e-01 -2.150205e-04 -5.749990e-05
+ 1.893246e-02  5.657854e-03 -2.477422e-01 -3.161863e-01  2.418899e-03 -2.921813e-04
+ 1.893246e-02  6.001000e-03 -2.471243e-01 -3.160221e-01 -6.938635e-06 -5.469842e-06
+ 1.893246e-02  6.325555e-03 -2.471125e-01 -3.159928e-01 -2.471125e-01 -3.159928e-01
+ 1.893246e-02  6.634250e-03 -2.474145e-01 -3.159942e-01 -2.474145e-01 -3.159942e-01
+ 1.893246e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  7.484315e-03 -2.458597e-01 -3.156454e-01  1.096931e-04 -5.154106e-05
+ 1.893246e-02  7.746967e-03 -2.456450e-01 -3.155296e-01  3.173584e-04 -1.351060e-05
+ 1.893246e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  8.486281e-03 -2.464427e-01 -3.156038e-01 -2.464427e-01 -3.156038e-01
+ 1.893246e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  9.798959e-03 -2.453731e-01 -3.151142e-01 -2.453731e-01 -3.151142e-01
+ 1.893246e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.077133e-02 -2.452621e-01 -3.147907e-01 -2.452621e-01 -3.147907e-01
+ 1.893246e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.149013e-02 -2.461070e-01 -3.144366e-01 -1.012885e-03  2.167273e-05
+ 1.893246e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.183316e-02 -2.442238e-01 -3.143415e-01  5.967000e-04  9.410739e-05
+ 1.893246e-02  1.200100e-02 -2.444543e-01 -3.143150e-01 -2.444543e-01 -3.143150e-01
+ 1.893246e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.232983e-02 -2.441914e-01 -3.139802e-01  2.085626e-05 -2.720493e-04
+ 1.893246e-02  1.249100e-02 -2.442144e-01 -3.141786e-01  5.399675e-04  6.140710e-05
+ 1.893246e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.280725e-02 -2.438624e-01 -3.136920e-01 -2.438624e-01 -3.136920e-01
+ 1.893246e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.326750e-02 -2.441745e-01 -3.134019e-01 -1.004526e-04  6.047659e-04
+ 1.893246e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.661425e-02 -2.435647e-01 -3.132917e-01 -2.435647e-01 -3.132917e-01
+ 1.893246e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.893246e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.000000e-06 -2.467858e-01 -2.467868e-01  1.078819e-06 -6.067995e-07
+ 1.899995e-02  2.001000e-03 -2.473277e-01 -2.473284e-01  7.586063e-07 -1.848533e-07
+ 1.899995e-02  2.829427e-03 -2.474700e-01 -3.162371e-01  9.936270e-07  5.438012e-08
+ 1.899995e-02  3.465102e-03 -2.475490e-01 -3.162478e-01  9.171282e-05  2.647353e-05
+ 1.899995e-02  4.001000e-03 -2.475399e-01 -3.162314e-01  4.572716e-05  1.013747e-05
+ 1.899995e-02  4.473136e-03 -2.478173e-01 -3.163026e-01  2.181152e-03 -2.645294e-04
+ 1.899995e-02  4.899979e-03 -2.479287e-01 -3.162166e-01  2.071785e-03 -4.283623e-04
+ 1.899995e-02  5.292503e-03 -2.499535e-01 -3.161261e-01  4.562475e-05 -2.253125e-04
+ 1.899995e-02  5.657854e-03 -2.479655e-01 -3.162724e-01 -2.479655e-01 -3.162724e-01
+ 1.899995e-02  6.001000e-03 -2.472091e-01 -3.160454e-01 -3.534054e-04 -9.754599e-05
+ 1.899995e-02  6.325555e-03 -2.477131e-01 -3.160489e-01 -2.477131e-01 -3.160489e-01
+ 1.899995e-02  6.634250e-03 -2.470158e-01 -3.159441e-01 -2.470158e-01 -3.159441e-01
+ 1.899995e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  7.484315e-03 -2.467425e-01 -3.157942e-01 -2.467425e-01 -3.157942e-01
+ 1.899995e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  9.166151e-03 -2.463859e-01 -3.154462e-01 -1.780320e-03 -3.161115e-04
+ 1.899995e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.077133e-02 -2.451103e-01 -3.147906e-01 -1.255165e-03 -2.276285e-04
+ 1.899995e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.183316e-02 -2.450175e-01 -3.143485e-01 -2.450175e-01 -3.143485e-01
+ 1.899995e-02  1.200100e-02 -2.444704e-01 -3.142945e-01 -3.061725e-04 -4.014360e-05
+ 1.899995e-02  1.216653e-02 -2.441467e-01 -3.142138e-01  6.502285e-04  1.134604e-04
+ 1.899995e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.265011e-02 -2.434987e-01 -3.141447e-01 -2.434987e-01 -3.141447e-01
+ 1.899995e-02  1.280725e-02 -2.446107e-01 -3.137913e-01 -1.318798e-03  1.464192e-04
+ 1.899995e-02  1.296248e-02 -2.440440e-01 -3.138455e-01  1.578709e-04  2.038366e-04
+ 1.899995e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.326750e-02 -2.442006e-01 -3.136483e-01 -3.549992e-05  4.886236e-04
+ 1.899995e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.356566e-02 -2.442471e-01 -3.133058e-01 -2.442471e-01 -3.133058e-01
+ 1.899995e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.385741e-02 -2.434795e-01 -3.130178e-01 -2.434795e-01 -3.130178e-01
+ 1.899995e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.899995e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.000000e-06 -2.469531e-01 -2.469528e-01 -7.294217e-07 -6.588150e-07
+ 1.906720e-02  2.001000e-03 -2.475680e-01 -2.475691e-01 -1.076949e-05 -1.181823e-05
+ 1.906720e-02  2.829427e-03 -2.476181e-01 -3.162816e-01  1.192352e-05  2.329887e-06
+ 1.906720e-02  3.465102e-03 -2.476658e-01 -3.162803e-01  1.554843e-04  4.468498e-05
+ 1.906720e-02  4.001000e-03 -2.479246e-01 -3.163368e-01 -1.786606e-04 -5.440908e-05
+ 1.906720e-02  4.473136e-03 -2.478678e-01 -3.163022e-01 -5.678484e-05 -2.994703e-05
+ 1.906720e-02  4.899979e-03 -2.500026e-01 -3.159965e-01  3.159609e-03 -2.140209e-04
+ 1.906720e-02  5.292503e-03 -2.481247e-01 -3.163356e-01  1.879440e-03 -8.259996e-04
+ 1.906720e-02  5.657854e-03 -2.527645e-01 -3.157161e-01  3.940592e-04 -3.192962e-04
+ 1.906720e-02  6.001000e-03 -2.500151e-01 -3.151068e-01  2.951778e-03  5.092555e-04
+ 1.906720e-02  6.325555e-03 -2.471237e-01 -3.159985e-01 -8.717865e-04 -2.108791e-04
+ 1.906720e-02  6.634250e-03 -2.472039e-01 -3.159987e-01 -2.472039e-01 -3.159987e-01
+ 1.906720e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  8.718798e-03 -2.459529e-01 -3.154731e-01 -2.459529e-01 -3.154731e-01
+ 1.906720e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  9.166151e-03 -2.452544e-01 -3.153092e-01 -2.452544e-01 -3.153092e-01
+ 1.906720e-02  9.381832e-03 -2.452889e-01 -3.152631e-01 -8.231961e-04 -1.932544e-04
+ 1.906720e-02  9.592663e-03 -2.452233e-01 -3.151841e-01 -1.014096e-03 -2.213629e-04
+ 1.906720e-02  9.798959e-03 -2.464619e-01 -3.152114e-01 -2.464619e-01 -3.152114e-01
+ 1.906720e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.131471e-02 -2.459191e-01 -3.146682e-01 -2.459191e-01 -3.146682e-01
+ 1.906720e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.200100e-02 -2.452414e-01 -3.142976e-01 -1.683318e-03 -1.533376e-04
+ 1.906720e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.232983e-02 -2.446268e-01 -3.142365e-01 -2.446268e-01 -3.142365e-01
+ 1.906720e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.296248e-02 -2.441838e-01 -3.138886e-01  1.213264e-05 -7.278014e-05
+ 1.906720e-02  1.311588e-02 -2.440068e-01 -3.139037e-01  1.525307e-04  3.493319e-04
+ 1.906720e-02  1.326750e-02 -2.442168e-01 -3.135972e-01 -2.442168e-01 -3.135972e-01
+ 1.906720e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.385741e-02 -2.432058e-01 -3.133437e-01 -2.432058e-01 -3.133437e-01
+ 1.906720e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.906720e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.000000e-06 -2.470658e-01 -2.470670e-01  4.851712e-05  4.491499e-05
+ 1.913422e-02  2.001000e-03 -2.477048e-01 -2.477078e-01  8.472717e-06  8.435652e-06
+ 1.913422e-02  2.829427e-03 -2.478824e-01 -2.478813e-01 -5.782079e-06 -5.336267e-06
+ 1.913422e-02  3.465102e-03 -2.481117e-01 -3.164161e-01 -3.328269e-04 -1.075143e-04
+ 1.913422e-02  4.001000e-03 -2.521986e-01 -3.162915e-01  8.389546e-05 -2.948558e-05
+ 1.913422e-02  4.473136e-03 -2.500197e-01 -3.162678e-01 -1.690363e-05 -5.676770e-04
+ 1.913422e-02  4.899979e-03 -2.500103e-01 -3.161568e-01  3.063312e-04  1.514615e-07
+ 1.913422e-02  5.292503e-03 -2.487326e-01 -3.161481e-01  1.271583e-03 -5.950848e-04
+ 1.913422e-02  5.657854e-03 -2.500336e-01 -3.159199e-01  3.093961e-03 -2.582214e-04
+ 1.913422e-02  6.001000e-03 -2.530850e-01 -3.151405e-01 -2.530850e-01 -3.151405e-01
+ 1.913422e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  6.634250e-03 -2.510395e-01 -3.150183e-01  3.180239e-04  7.241651e-04
+ 1.913422e-02  6.929203e-03 -2.472183e-01 -3.159721e-01  5.856912e-03 -1.995617e-03
+ 1.913422e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  9.592663e-03 -2.452896e-01 -3.152394e-01  7.230825e-05  1.148654e-05
+ 1.913422e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.039330e-02 -2.464596e-01 -3.151669e-01 -1.356674e-03  4.140837e-05
+ 1.913422e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.095545e-02 -2.453627e-01 -3.147905e-01  5.517078e-04 -4.761734e-05
+ 1.913422e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.131471e-02 -2.452286e-01 -3.146720e-01  1.096551e-04 -2.722521e-04
+ 1.913422e-02  1.149013e-02 -2.455355e-01 -3.146179e-01  4.425270e-04 -9.063198e-04
+ 1.913422e-02  1.166290e-02 -2.455926e-01 -3.145089e-01 -2.455926e-01 -3.145089e-01
+ 1.913422e-02  1.183316e-02 -2.448816e-01 -3.143025e-01 -8.174972e-05  1.533792e-04
+ 1.913422e-02  1.200100e-02 -2.449638e-01 -3.142044e-01 -2.449638e-01 -3.142044e-01
+ 1.913422e-02  1.216653e-02 -2.452203e-01 -3.142550e-01 -1.484587e-03 -1.414492e-05
+ 1.913422e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.249100e-02 -2.452362e-01 -3.142025e-01 -2.452362e-01 -3.142025e-01
+ 1.913422e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.311588e-02 -2.442964e-01 -3.135643e-01 -1.056290e-03 -3.481181e-05
+ 1.913422e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.341741e-02 -2.440963e-01 -3.133201e-01 -2.440963e-01 -3.133201e-01
+ 1.913422e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.913422e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.000000e-06 -2.473168e-01 -2.473168e-01 -6.782972e-08 -6.970771e-07
+ 1.920100e-02  2.001000e-03 -2.479186e-01 -2.479168e-01  1.158624e-06  6.460462e-07
+ 1.920100e-02  2.829427e-03 -2.496056e-01 -3.165456e-01  2.415068e-03 -6.452292e-02
+ 1.920100e-02  3.465102e-03 -2.493232e-01 -3.165369e-01 -1.001109e-03 -6.494738e-05
+ 1.920100e-02  4.001000e-03 -2.518693e-01 -3.163408e-01 -1.868638e-03 -1.078610e-04
+ 1.920100e-02  4.473136e-03 -2.509426e-01 -3.164138e-01 -9.407422e-04 -2.713220e-04
+ 1.920100e-02  4.899979e-03 -2.500119e-01 -3.160585e-01 -2.014466e-03  2.008007e-04
+ 1.920100e-02  5.292503e-03 -2.507895e-01 -3.159914e-01 -2.507895e-01 -3.159914e-01
+ 1.920100e-02  5.657854e-03 -2.526349e-01 -3.156796e-01 -2.526349e-01 -3.156796e-01
+ 1.920100e-02  6.001000e-03 -2.530720e-01 -3.152977e-01 -2.530720e-01 -3.152977e-01
+ 1.920100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  8.718798e-03 -2.457424e-01 -3.154550e-01 -2.457424e-01 -3.154550e-01
+ 1.920100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.000100e-02 -2.464047e-01 -3.152290e-01 -2.464047e-01 -3.152290e-01
+ 1.920100e-02  1.019904e-02 -2.463785e-01 -3.152053e-01 -2.463785e-01 -3.152053e-01
+ 1.920100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.095545e-02 -2.453823e-01 -3.148036e-01 -2.453823e-01 -3.148036e-01
+ 1.920100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.131471e-02 -2.453334e-01 -3.146898e-01 -2.453334e-01 -3.146898e-01
+ 1.920100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.166290e-02 -2.449195e-01 -3.145033e-01 -8.195329e-04 -1.214931e-04
+ 1.920100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.200100e-02 -2.451450e-01 -3.143122e-01 -8.801876e-04 -1.784328e-05
+ 1.920100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.232983e-02 -2.451778e-01 -3.141196e-01 -2.451778e-01 -3.141196e-01
+ 1.920100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.280725e-02 -2.451176e-01 -3.136876e-01 -1.848913e-03  2.323424e-04
+ 1.920100e-02  1.296248e-02 -2.450162e-01 -3.140265e-01 -2.450162e-01 -3.140265e-01
+ 1.920100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.326750e-02 -2.441324e-01 -3.134150e-01 -2.441324e-01 -3.134150e-01
+ 1.920100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.000000e-06 -2.475871e-01 -3.162713e-01  2.669366e-06 -2.933784e-07
+ 1.926755e-02  2.001000e-03 -2.497321e-01 -2.495031e-01  2.663059e-04  4.962395e-04
+ 1.926755e-02  2.829427e-03 -2.500015e-01 -2.500085e-01  4.029255e-07 -7.553605e-06
+ 1.926755e-02  3.465102e-03 -2.500017e-01 -3.163247e-01 -2.134265e-06 -1.440024e-04
+ 1.926755e-02  4.001000e-03 -2.518147e-01 -3.163467e-01  4.543820e-04 -9.122370e-05
+ 1.926755e-02  4.473136e-03 -2.504521e-01 -3.162657e-01  1.220940e-03  1.054320e-04
+ 1.926755e-02  4.899979e-03 -2.500278e-01 -3.160387e-01 -2.261703e-03  2.278746e-04
+ 1.926755e-02  5.292503e-03 -2.515974e-01 -3.160975e-01 -3.833888e-03  1.357026e-04
+ 1.926755e-02  5.657854e-03 -2.501158e-01 -3.159043e-01 -8.515836e-05 -5.080654e-04
+ 1.926755e-02  6.001000e-03 -2.530273e-01 -3.152766e-01 -1.531796e-06 -6.902980e-05
+ 1.926755e-02  6.325555e-03 -2.530345e-01 -3.151853e-01 -2.530345e-01 -3.151853e-01
+ 1.926755e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.131471e-02 -2.456712e-01 -3.146928e-01 -2.456712e-01 -3.146928e-01
+ 1.926755e-02  1.149013e-02 -2.453200e-01 -3.146126e-01  1.783576e-04  4.957287e-05
+ 1.926755e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.200100e-02 -2.452306e-01 -3.143338e-01 -4.532290e-04  4.129419e-05
+ 1.926755e-02  1.216653e-02 -2.451867e-01 -3.141332e-01 -3.243724e-04  2.705952e-04
+ 1.926755e-02  1.232983e-02 -2.453072e-01 -3.141224e-01 -2.453072e-01 -3.141224e-01
+ 1.926755e-02  1.249100e-02 -2.452888e-01 -3.142780e-01 -5.605819e-05 -1.405508e-04
+ 1.926755e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.280725e-02 -2.449751e-01 -3.140891e-01 -2.449751e-01 -3.140891e-01
+ 1.926755e-02  1.296248e-02 -2.451901e-01 -3.141727e-01  1.616069e-05 -3.003074e-05
+ 1.926755e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.326750e-02 -2.439213e-01 -3.132013e-01 -2.439213e-01 -3.132013e-01
+ 1.926755e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.637171e-02 -2.405962e-01 -3.122761e-01  1.165538e-03 -4.935765e-05
+ 1.926755e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.926755e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.000000e-06 -2.476847e-01 -2.476893e-01  4.407228e-06  3.295077e-06
+ 1.933387e-02  2.001000e-03 -2.499946e-01 -2.499791e-01  3.474274e-06  1.985893e-05
+ 1.933387e-02  2.829427e-03 -2.500014e-01 -2.500080e-01 -2.317753e-06 -8.604022e-06
+ 1.933387e-02  3.465102e-03 -2.498793e-01 -3.165389e-01  1.189704e-04 -1.566780e-04
+ 1.933387e-02  4.001000e-03 -2.500056e-01 -3.162056e-01 -7.998015e-06  1.164386e-05
+ 1.933387e-02  4.473136e-03 -2.500124e-01 -3.161363e-01 -1.871954e-05  4.909898e-05
+ 1.933387e-02  4.899979e-03 -2.499991e-01 -3.160539e-01  1.385652e-04  1.476449e-04
+ 1.933387e-02  5.292503e-03 -2.479598e-01 -3.162336e-01  2.036852e-03 -3.490113e-04
+ 1.933387e-02  5.657854e-03 -2.528833e-01 -3.156057e-01  2.454195e-04 -1.442952e-04
+ 1.933387e-02  6.001000e-03 -2.485840e-01 -3.160412e-01  3.771625e-03 -3.661480e-04
+ 1.933387e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  6.634250e-03 -2.510804e-01 -3.151899e-01 -2.510804e-01 -3.151899e-01
+ 1.933387e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  8.247211e-03 -2.465461e-01 -3.156975e-01  3.726178e-04  9.597276e-05
+ 1.933387e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  9.381832e-03 -2.461803e-01 -3.153927e-01 -2.461803e-01 -3.153927e-01
+ 1.933387e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.095545e-02 -2.465451e-01 -3.149419e-01 -2.742622e-03 -3.063334e-04
+ 1.933387e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.149013e-02 -2.453108e-01 -3.146164e-01 -2.453108e-01 -3.146164e-01
+ 1.933387e-02  1.166290e-02 -2.456854e-01 -3.146092e-01 -2.456854e-01 -3.146092e-01
+ 1.933387e-02  1.183316e-02 -2.452789e-01 -3.144393e-01 -7.662538e-04 -1.121396e-04
+ 1.933387e-02  1.200100e-02 -2.452489e-01 -3.143418e-01 -2.452489e-01 -3.143418e-01
+ 1.933387e-02  1.216653e-02 -2.451374e-01 -3.142436e-01 -7.566381e-04  5.101550e-05
+ 1.933387e-02  1.232983e-02 -2.446166e-01 -3.142171e-01 -2.446166e-01 -3.142171e-01
+ 1.933387e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.265011e-02 -2.451894e-01 -3.142329e-01  9.597918e-05  6.157062e-05
+ 1.933387e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.933387e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.000000e-06 -2.478777e-01 -2.478771e-01 -5.886210e-06 -5.878141e-06
+ 1.939997e-02  2.001000e-03 -2.500185e-01 -2.500739e-01 -2.020784e-05 -7.746109e-05
+ 1.939997e-02  2.829427e-03 -2.510144e-01 -3.166011e-01  8.871491e-04 -6.470176e-02
+ 1.939997e-02  3.465102e-03 -2.500033e-01 -3.163307e-01  2.228265e-05  1.348840e-04
+ 1.939997e-02  4.001000e-03 -2.499990e-01 -3.163026e-01  7.377513e-07 -1.275506e-04
+ 1.939997e-02  4.473136e-03 -2.500024e-01 -3.160755e-01  6.864812e-06  5.677029e-05
+ 1.939997e-02  4.899979e-03 -2.499953e-01 -3.160172e-01 -3.859639e-06  1.111100e-04
+ 1.939997e-02  5.292503e-03 -2.487306e-01 -3.162405e-01  1.270794e-03 -5.611900e-04
+ 1.939997e-02  5.657854e-03 -2.488008e-01 -3.160918e-01  4.245542e-03 -6.842951e-04
+ 1.939997e-02  6.001000e-03 -2.529307e-01 -3.155592e-01 -2.573236e-04  2.486972e-04
+ 1.939997e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  6.634250e-03 -2.499951e-01 -3.152884e-01 -2.499951e-01 -3.152884e-01
+ 1.939997e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  9.798959e-03 -2.452968e-01 -3.152879e-01 -2.452968e-01 -3.152879e-01
+ 1.939997e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.149013e-02 -2.463428e-01 -3.145464e-01 -5.868588e-05 -9.046560e-05
+ 1.939997e-02  1.166290e-02 -2.448239e-01 -3.145192e-01 -2.448239e-01 -3.145192e-01
+ 1.939997e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.200100e-02 -2.450255e-01 -3.143266e-01 -2.450255e-01 -3.143266e-01
+ 1.939997e-02  1.216653e-02 -2.452684e-01 -3.143422e-01 -1.179661e-03 -2.009053e-04
+ 1.939997e-02  1.232983e-02 -2.452763e-01 -3.142912e-01 -1.096054e-03 -5.198181e-06
+ 1.939997e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.939997e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.000000e-06 -2.480425e-01 -2.480442e-01  9.308239e-06  7.568535e-06
+ 1.946584e-02  2.001000e-03 -2.499929e-01 -2.499711e-01  6.287410e-06  2.859994e-05
+ 1.946584e-02  2.829427e-03 -2.517742e-01 -2.517776e-01  3.297924e-04  3.271344e-04
+ 1.946584e-02  3.465102e-03 -2.479229e-01 -3.165034e-01  8.928922e-06 -1.455080e-04
+ 1.946584e-02  4.001000e-03 -2.519102e-01 -3.163786e-01 -1.903381e-03 -1.572755e-04
+ 1.946584e-02  4.473136e-03 -2.500928e-01 -3.162917e-01 -7.654514e-05  8.324073e-05
+ 1.946584e-02  4.899979e-03 -2.500091e-01 -3.161045e-01 -1.522653e-03  1.057712e-04
+ 1.946584e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  5.657854e-03 -2.510949e-01 -3.159355e-01 -1.086483e-03 -3.227288e-05
+ 1.946584e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  6.325555e-03 -2.509297e-01 -3.156085e-01 -8.996003e-04  4.579444e-05
+ 1.946584e-02  6.634250e-03 -2.498618e-01 -3.156811e-01 -2.498618e-01 -3.156811e-01
+ 1.946584e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  8.718798e-03 -2.455366e-01 -3.154981e-01 -3.758316e-04 -9.352043e-05
+ 1.946584e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.166290e-02 -2.455660e-01 -3.143954e-01 -2.455660e-01 -3.143954e-01
+ 1.946584e-02  1.183316e-02 -2.453049e-01 -3.144752e-01 -2.453049e-01 -3.144752e-01
+ 1.946584e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.216653e-02 -2.457973e-01 -3.143918e-01 -2.279448e-03 -2.657192e-04
+ 1.946584e-02  1.232983e-02 -2.456597e-01 -3.141779e-01 -2.117103e-03 -2.297550e-04
+ 1.946584e-02  1.249100e-02 -2.451013e-01 -3.141795e-01 -2.451013e-01 -3.141795e-01
+ 1.946584e-02  1.265011e-02 -2.447366e-01 -3.141092e-01  5.005040e-04  1.295488e-04
+ 1.946584e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.296248e-02 -2.455182e-01 -3.141307e-01 -1.165187e-03 -2.359681e-04
+ 1.946584e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.356566e-02 -2.444032e-01 -3.135534e-01 -2.444032e-01 -3.135534e-01
+ 1.946584e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.536329e-02 -2.436694e-01 -3.131618e-01 -2.436694e-01 -3.131618e-01
+ 1.946584e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.649342e-02 -2.431865e-01 -3.127157e-01 -2.174562e-04  3.695244e-04
+ 1.946584e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.946584e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.000000e-06 -2.499706e-01 -2.498820e-01  5.095332e-05  1.310539e-04
+ 1.953149e-02  2.001000e-03 -2.500126e-01 -2.500518e-01 -8.031397e-06 -4.907612e-05
+ 1.953149e-02  2.829427e-03 -2.498030e-01 -3.166102e-01  1.942420e-04 -6.662209e-02
+ 1.953149e-02  3.465102e-03 -2.500113e-01 -3.164309e-01  1.911342e-03 -6.451807e-02
+ 1.953149e-02  4.001000e-03 -2.492834e-01 -3.164475e-01  7.169324e-04 -3.119965e-04
+ 1.953149e-02  4.473136e-03 -2.509930e-01 -3.163376e-01 -9.933218e-04 -9.292546e-05
+ 1.953149e-02  4.899979e-03 -2.521305e-01 -3.161384e-01 -2.129339e-03 -8.390769e-05
+ 1.953149e-02  5.292503e-03 -2.500086e-01 -3.159223e-01  2.597505e-03 -1.462646e-04
+ 1.953149e-02  5.657854e-03 -2.500057e-01 -3.155392e-01 -7.478361e-04  5.012558e-04
+ 1.953149e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  6.325555e-03 -2.503426e-01 -3.153595e-01 -2.503426e-01 -3.153595e-01
+ 1.953149e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  8.945272e-03 -2.461030e-01 -3.155727e-01 -3.884617e-05 -2.830790e-05
+ 1.953149e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.183316e-02 -2.461762e-01 -3.147458e-01 -2.461762e-01 -3.147458e-01
+ 1.953149e-02  1.200100e-02 -2.459016e-01 -3.145247e-01 -3.892200e-04 -3.494667e-05
+ 1.953149e-02  1.216653e-02 -2.452554e-01 -3.143066e-01  2.144895e-04  1.196043e-04
+ 1.953149e-02  1.232983e-02 -2.447053e-01 -3.142783e-01  5.710605e-04  1.490205e-05
+ 1.953149e-02  1.249100e-02 -2.452330e-01 -3.142110e-01 -5.981327e-04 -1.566303e-05
+ 1.953149e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.280725e-02 -2.448910e-01 -3.135973e-01 -6.773017e-04 -6.742183e-07
+ 1.953149e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.356566e-02 -2.438251e-01 -3.137195e-01 -4.731524e-04  3.061956e-04
+ 1.953149e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.649342e-02 -2.437408e-01 -3.129721e-01 -2.437408e-01 -3.129721e-01
+ 1.953149e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.953149e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.000000e-06 -2.500085e-01 -2.500343e-01 -1.201569e-03  6.654265e-02
+ 1.959692e-02  2.001000e-03 -2.498108e-01 -2.496963e-01 -1.223032e-03 -1.133641e-03
+ 1.959692e-02  2.829427e-03 -2.520422e-01 -2.520396e-01 -1.940737e-03  6.447472e-02
+ 1.959692e-02  3.465102e-03 -2.521019e-01 -2.521001e-01  2.597953e-04  6.422090e-02
+ 1.959692e-02  4.001000e-03 -2.515822e-01 -3.163689e-01  1.090256e-03 -2.335758e-04
+ 1.959692e-02  4.473136e-03 -2.501903e-01 -3.162983e-01 -1.920106e-04 -1.036664e-04
+ 1.959692e-02  4.899979e-03 -2.500119e-01 -3.160681e-01 -1.294564e-05 -3.364301e-05
+ 1.959692e-02  5.292503e-03 -2.478030e-01 -3.162656e-01  2.441823e-03 -2.224462e-04
+ 1.959692e-02  5.657854e-03 -2.509487e-01 -3.158972e-01 -3.353392e-03  2.988372e-04
+ 1.959692e-02  6.001000e-03 -2.500020e-01 -3.154358e-01 -2.500020e-01 -3.154358e-01
+ 1.959692e-02  6.325555e-03 -2.478495e-01 -3.161844e-01  2.142105e-03 -5.348803e-04
+ 1.959692e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.019904e-02 -2.453730e-01 -3.152440e-01  9.327305e-04  1.334577e-04
+ 1.959692e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.166290e-02 -2.462323e-01 -3.146303e-01 -2.462323e-01 -3.146303e-01
+ 1.959692e-02  1.183316e-02 -2.455935e-01 -3.144280e-01 -2.455935e-01 -3.144280e-01
+ 1.959692e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.232983e-02 -2.448425e-01 -3.142173e-01 -9.357452e-04  1.955990e-05
+ 1.959692e-02  1.249100e-02 -2.453383e-01 -3.142277e-01 -2.453383e-01 -3.142277e-01
+ 1.959692e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.959692e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.000000e-06 -2.500149e-01 -2.500608e-01 -1.828804e-05 -6.254205e-05
+ 1.966213e-02  2.001000e-03 -2.519096e-01 -2.519093e-01 -2.993723e-05 -2.755372e-05
+ 1.966213e-02  2.829427e-03 -2.519688e-01 -2.519662e-01  4.772075e-05  5.392320e-05
+ 1.966213e-02  3.465102e-03 -2.502570e-01 -3.164083e-01 -2.569609e-04 -7.898229e-05
+ 1.966213e-02  4.001000e-03 -2.520442e-01 -3.163414e-01  2.486215e-04 -7.988071e-05
+ 1.966213e-02  4.473136e-03 -2.520899e-01 -3.162427e-01 -1.828257e-04  9.342840e-05
+ 1.966213e-02  4.899979e-03 -2.521327e-01 -3.161394e-01  4.898180e-04 -3.819142e-04
+ 1.966213e-02  5.292503e-03 -2.500791e-01 -3.160576e-01  2.724688e-03 -3.109479e-04
+ 1.966213e-02  5.657854e-03 -2.478776e-01 -3.162615e-01  1.432395e-03 -1.585309e-04
+ 1.966213e-02  6.001000e-03 -2.484942e-01 -3.162032e-01  1.505239e-03 -1.244456e-03
+ 1.966213e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  6.634250e-03 -2.531964e-01 -3.149731e-01 -3.191159e-03  4.506246e-04
+ 1.966213e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  9.381832e-03 -2.460539e-01 -3.154288e-01 -2.460539e-01 -3.154288e-01
+ 1.966213e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.249100e-02 -2.464624e-01 -3.142811e-01 -2.464624e-01 -3.142811e-01
+ 1.966213e-02  1.265011e-02 -2.451518e-01 -3.139242e-01 -9.703966e-04  1.073934e-04
+ 1.966213e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.966213e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.000000e-06 -2.517588e-01 -2.517686e-01 -1.752925e-03 -1.745482e-03
+ 1.972712e-02  2.001000e-03 -2.521431e-01 -2.521428e-01 -2.129640e-06 -1.929577e-06
+ 1.972712e-02  2.829427e-03 -2.523155e-01 -2.523176e-01 -1.561496e-05 -1.522375e-05
+ 1.972712e-02  3.465102e-03 -2.522893e-01 -2.522919e-01 -1.598983e-06 -4.226289e-07
+ 1.972712e-02  4.001000e-03 -2.524802e-01 -3.162093e-01  9.239887e-06 -1.366377e-05
+ 1.972712e-02  4.473136e-03 -2.521688e-01 -3.162212e-01 -2.117932e-03  2.089564e-04
+ 1.972712e-02  4.899979e-03 -2.486961e-01 -3.162794e-01  2.380995e-03 -1.341964e-04
+ 1.972712e-02  5.292503e-03 -2.527458e-01 -3.157672e-01 -2.741010e-03 -1.977254e-03
+ 1.972712e-02  5.657854e-03 -2.498858e-01 -3.161467e-01  2.693204e-03 -2.876626e-04
+ 1.972712e-02  6.001000e-03 -2.513208e-01 -3.156989e-01  2.398134e-03 -7.019192e-04
+ 1.972712e-02  6.325555e-03 -2.499617e-01 -3.155136e-01  8.277606e-04 -1.046410e-04
+ 1.972712e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.000100e-02 -2.461648e-01 -3.153463e-01 -2.461648e-01 -3.153463e-01
+ 1.972712e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.058401e-02 -2.455511e-01 -3.151818e-01 -2.455511e-01 -3.151818e-01
+ 1.972712e-02  1.077133e-02 -2.463665e-01 -3.152204e-01 -2.463665e-01 -3.152204e-01
+ 1.972712e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.113653e-02 -2.452988e-01 -3.149597e-01 -2.452988e-01 -3.149597e-01
+ 1.972712e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.149013e-02 -2.454676e-01 -3.148210e-01 -2.454676e-01 -3.148210e-01
+ 1.972712e-02  1.166290e-02 -2.462725e-01 -3.145830e-01 -7.303919e-04 -1.051897e-04
+ 1.972712e-02  1.183316e-02 -2.457770e-01 -3.144196e-01 -2.457770e-01 -3.144196e-01
+ 1.972712e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.280725e-02 -2.445709e-01 -3.134124e-01 -2.411118e-03 -2.838583e-04
+ 1.972712e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.972712e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.000000e-06 -2.494198e-01 -3.165299e-01  5.771037e-04 -6.653177e-02
+ 1.979191e-02  2.001000e-03 -2.522821e-01 -2.522839e-01 -3.853880e-06 -2.834360e-06
+ 1.979191e-02  2.829427e-03 -2.522463e-01 -2.522473e-01 -5.089078e-05 -5.066033e-05
+ 1.979191e-02  3.465102e-03 -2.523040e-01 -2.523054e-01 -1.465282e-05 -1.290413e-05
+ 1.979191e-02  4.001000e-03 -2.522937e-01 -3.162570e-01 -1.355421e-04  4.478748e-05
+ 1.979191e-02  4.473136e-03 -2.524950e-01 -3.161053e-01  6.521052e-04 -6.295717e-02
+ 1.979191e-02  4.899979e-03 -2.527773e-01 -3.158724e-01 -4.907738e-04  2.776924e-04
+ 1.979191e-02  5.292503e-03 -2.513729e-01 -3.159929e-01 -6.743249e-04 -7.799293e-05
+ 1.979191e-02  5.657854e-03 -2.511664e-01 -3.160085e-01  1.942933e-03 -4.632764e-04
+ 1.979191e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  6.634250e-03 -2.473689e-01 -3.160398e-01 -2.473689e-01 -3.160398e-01
+ 1.979191e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  7.212103e-03 -2.527819e-01 -3.145752e-01 -2.527819e-01 -3.145752e-01
+ 1.979191e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.149013e-02 -2.453750e-01 -3.148351e-01 -2.453750e-01 -3.148351e-01
+ 1.979191e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.183316e-02 -2.461571e-01 -3.145890e-01 -2.461571e-01 -3.145890e-01
+ 1.979191e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.296248e-02 -2.447620e-01 -3.137376e-01 -2.447620e-01 -3.137376e-01
+ 1.979191e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.326750e-02 -2.447284e-01 -3.140441e-01 -2.447284e-01 -3.140441e-01
+ 1.979191e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.979191e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.000000e-06 -2.520230e-01 -2.520205e-01  1.207832e-04  1.224374e-04
+ 1.985648e-02  2.001000e-03 -2.524512e-01 -2.524494e-01  8.233943e-06  1.286999e-05
+ 1.985648e-02  2.829427e-03 -2.525247e-01 -2.525232e-01  8.473181e-06  1.006757e-05
+ 1.985648e-02  3.465102e-03 -2.525047e-01 -3.162812e-01  2.312885e-04 -6.354419e-02
+ 1.985648e-02  4.001000e-03 -2.525107e-01 -3.161975e-01  1.703865e-04 -7.213347e-05
+ 1.985648e-02  4.473136e-03 -2.512712e-01 -3.162533e-01 -1.267270e-03 -2.196592e-04
+ 1.985648e-02  4.899979e-03 -2.476262e-01 -3.162216e-01  2.374168e-03 -3.775673e-04
+ 1.985648e-02  5.292503e-03 -2.502246e-01 -3.160249e-01  2.641651e-03 -4.366474e-04
+ 1.985648e-02  5.657854e-03 -2.480336e-01 -3.161417e-01 -2.480336e-01 -3.161417e-01
+ 1.985648e-02  6.001000e-03 -2.499916e-01 -3.157185e-01  1.703684e-06 -9.710714e-05
+ 1.985648e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.077133e-02 -2.451676e-01 -3.151046e-01 -2.451676e-01 -3.151046e-01
+ 1.985648e-02  1.095545e-02 -2.462917e-01 -3.152517e-01 -2.462917e-01 -3.152517e-01
+ 1.985648e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.200100e-02 -2.458963e-01 -3.144459e-01 -7.875746e-04  4.939011e-05
+ 1.985648e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.311588e-02 -2.448929e-01 -3.137396e-01 -2.496172e-03  4.812479e-05
+ 1.985648e-02  1.326750e-02 -2.456024e-01 -3.141253e-01 -1.429444e-03  2.074042e-05
+ 1.985648e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.985648e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.000000e-06 -2.522121e-01 -2.522130e-01  5.386314e-05  5.393046e-05
+ 1.992084e-02  2.001000e-03 -2.526976e-01 -2.526981e-01 -8.183161e-05 -8.196376e-05
+ 1.992084e-02  2.829427e-03 -2.526383e-01 -2.526384e-01  2.216237e-05  2.210957e-05
+ 1.992084e-02  3.465102e-03 -2.526436e-01 -2.526436e-01  4.641357e-05  4.603986e-05
+ 1.992084e-02  4.001000e-03 -2.526625e-01 -3.161163e-01 -3.706181e-04  1.518746e-04
+ 1.992084e-02  4.473136e-03 -2.522690e-01 -3.161644e-01  3.867761e-04 -1.841216e-04
+ 1.992084e-02  4.899979e-03 -2.522020e-01 -3.161055e-01 -2.202334e-03 -2.487567e-04
+ 1.992084e-02  5.292503e-03 -2.479675e-01 -3.163093e-01 -6.602627e-04 -1.867526e-04
+ 1.992084e-02  5.657854e-03 -2.499997e-01 -3.155070e-01  4.136862e-06  6.104060e-05
+ 1.992084e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.058401e-02 -2.462090e-01 -3.152777e-01 -2.462090e-01 -3.152777e-01
+ 1.992084e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.200100e-02 -2.457634e-01 -3.145664e-01 -1.090359e-03 -1.757895e-05
+ 1.992084e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.562150e-02 -2.453969e-01 -3.142423e-01 -2.453969e-01 -3.142423e-01
+ 1.992084e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.992084e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.000000e-06 -2.522557e-01 -2.522566e-01  5.432700e-05  5.586204e-05
+ 1.998499e-02  2.001000e-03 -2.526227e-01 -2.526226e-01 -6.694339e-07 -2.049846e-07
+ 1.998499e-02  2.829427e-03 -2.527444e-01 -2.527452e-01 -2.004279e-06 -1.807030e-06
+ 1.998499e-02  3.465102e-03 -2.527292e-01 -2.527300e-01 -6.961849e-05 -7.009072e-05
+ 1.998499e-02  4.001000e-03 -2.525085e-01 -3.161887e-01 -6.989297e-04  2.207943e-04
+ 1.998499e-02  4.473136e-03 -2.526254e-01 -3.160411e-01  4.868416e-04 -6.292934e-02
+ 1.998499e-02  4.899979e-03 -2.508530e-01 -3.161223e-01  4.875377e-05  4.988063e-05
+ 1.998499e-02  5.292503e-03 -2.525873e-01 -3.157058e-01 -2.579675e-03 -3.551715e-04
+ 1.998499e-02  5.657854e-03 -2.499959e-01 -3.156596e-01  2.561958e-03 -3.280705e-06
+ 1.998499e-02  6.001000e-03 -2.500018e-01 -3.155068e-01 -2.604288e-03  5.830377e-04
+ 1.998499e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.077133e-02 -2.454047e-01 -3.151863e-01 -2.454047e-01 -3.151863e-01
+ 1.998499e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.113653e-02 -2.463966e-01 -3.151924e-01 -2.463966e-01 -3.151924e-01
+ 1.998499e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.326750e-02 -2.448498e-01 -3.141496e-01 -1.107217e-03  3.963950e-05
+ 1.998499e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.998499e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.000000e-06 -2.524538e-01 -2.524524e-01  4.325262e-06  8.589017e-06
+ 2.004894e-02  2.001000e-03 -2.528229e-01 -2.528230e-01 -6.927386e-07 -1.018780e-06
+ 2.004894e-02  2.829427e-03 -2.528673e-01 -2.528673e-01 -9.314298e-06 -1.152454e-05
+ 2.004894e-02  3.465102e-03 -2.528398e-01 -2.528402e-01  5.894148e-05  5.690231e-05
+ 2.004894e-02  4.001000e-03 -2.528035e-01 -3.161073e-01  3.971623e-04 -6.290657e-02
+ 2.004894e-02  4.473136e-03 -2.525988e-01 -3.160427e-01 -8.857540e-05 -1.463137e-04
+ 2.004894e-02  4.899979e-03 -2.511867e-01 -3.160689e-01 -1.725276e-04  1.336259e-04
+ 2.004894e-02  5.292503e-03 -2.513628e-01 -3.160276e-01 -1.504924e-03  4.571227e-05
+ 2.004894e-02  5.657854e-03 -2.523791e-01 -3.156217e-01  1.936735e-04  1.398998e-04
+ 2.004894e-02  6.001000e-03 -2.501137e-01 -3.157375e-01 -2.501137e-01 -3.157375e-01
+ 2.004894e-02  6.325555e-03 -2.500011e-01 -3.151180e-01  2.484401e-06  4.587548e-04
+ 2.004894e-02  6.634250e-03 -2.510994e-01 -3.146332e-01 -2.510994e-01 -3.146332e-01
+ 2.004894e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.311588e-02 -2.450650e-01 -3.143534e-01 -2.450650e-01 -3.143534e-01
+ 2.004894e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.371231e-02 -2.435338e-01 -3.127192e-01 -2.435338e-01 -3.127192e-01
+ 2.004894e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004894e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.000000e-06 -2.527029e-01 -2.527033e-01 -7.171314e-05 -7.145701e-05
+ 2.011269e-02  2.001000e-03 -2.529481e-01 -2.529469e-01 -4.923857e-06 -2.062921e-06
+ 2.011269e-02  2.829427e-03 -2.530188e-01 -2.530178e-01 -3.040372e-05 -2.983141e-05
+ 2.011269e-02  3.465102e-03 -2.530553e-01 -2.530546e-01  2.028081e-04  2.030128e-04
+ 2.011269e-02  4.001000e-03 -2.530841e-01 -2.530835e-01  2.186343e-04  2.182846e-04
+ 2.011269e-02  4.473136e-03 -2.531479e-01 -2.531478e-01  1.202077e-05  6.275417e-02
+ 2.011269e-02  4.899979e-03 -2.529465e-01 -3.158503e-01 -2.943838e-03 -1.127370e-04
+ 2.011269e-02  5.292503e-03 -2.531168e-01 -3.156165e-01  3.223788e-05 -4.515599e-05
+ 2.011269e-02  5.657854e-03 -2.530772e-01 -3.155199e-01 -5.847812e-03  6.569586e-04
+ 2.011269e-02  6.001000e-03 -2.501349e-01 -3.151577e-01 -3.002734e-03  8.410504e-04
+ 2.011269e-02  6.325555e-03 -2.500019e-01 -3.146928e-01  4.078308e-06  3.738844e-04
+ 2.011269e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.265011e-02 -2.451238e-01 -3.138982e-01 -2.451238e-01 -3.138982e-01
+ 2.011269e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.011269e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.000000e-06 -2.526040e-01 -2.526031e-01 -1.470531e-05 -1.284007e-05
+ 2.017623e-02  2.001000e-03 -2.530525e-01 -2.530516e-01 -7.035528e-06 -7.040308e-06
+ 2.017623e-02  2.829427e-03 -2.531067e-01 -2.531062e-01  1.057549e-04  1.059900e-04
+ 2.017623e-02  3.465102e-03 -2.531625e-01 -2.531623e-01 -1.884091e-05 -1.849374e-05
+ 2.017623e-02  4.001000e-03 -2.531529e-01 -2.531529e-01 -4.337673e-05 -4.283407e-05
+ 2.017623e-02  4.473136e-03 -2.531388e-01 -3.158989e-01  7.145029e-06 -1.855603e-07
+ 2.017623e-02  4.899979e-03 -2.531419e-01 -3.157685e-01 -1.467222e-04  1.164915e-04
+ 2.017623e-02  5.292503e-03 -2.530107e-01 -3.156959e-01  1.213047e-04 -7.237876e-05
+ 2.017623e-02  5.657854e-03 -2.530484e-01 -3.154834e-01  7.594119e-05 -5.359896e-05
+ 2.017623e-02  6.001000e-03 -2.500734e-01 -3.156101e-01 -7.519240e-05 -4.139578e-05
+ 2.017623e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  6.929203e-03 -2.501429e-01 -3.152948e-01 -2.501429e-01 -3.152948e-01
+ 2.017623e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.113653e-02 -2.451119e-01 -3.150674e-01 -1.001266e-03 -2.273401e-04
+ 2.017623e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.216653e-02 -2.467088e-01 -3.141721e-01 -2.467088e-01 -3.141721e-01
+ 2.017623e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.637171e-02 -2.442374e-01 -3.134481e-01 -2.442374e-01 -3.134481e-01
+ 2.017623e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.017623e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.000000e-06 -2.528727e-01 -2.528725e-01 -3.419103e-05 -3.610505e-05
+ 2.023958e-02  2.001000e-03 -2.532120e-01 -2.532125e-01 -7.627436e-06 -8.167633e-06
+ 2.023958e-02  2.829427e-03 -2.532786e-01 -2.532789e-01 -1.201540e-06 -8.643683e-07
+ 2.023958e-02  3.465102e-03 -2.532948e-01 -2.532950e-01 -7.152344e-06 -7.177457e-06
+ 2.023958e-02  4.001000e-03 -2.531705e-01 -2.531717e-01 -2.287518e-04 -2.286574e-04
+ 2.023958e-02  4.473136e-03 -2.531495e-01 -3.158916e-01 -1.597331e-04  7.076156e-05
+ 2.023958e-02  4.899979e-03 -2.531354e-01 -3.157710e-01 -6.154919e-05  1.251963e-05
+ 2.023958e-02  5.292503e-03 -2.531187e-01 -3.156403e-01  2.072534e-05 -2.130542e-05
+ 2.023958e-02  5.657854e-03 -2.529690e-01 -3.155359e-01 -7.508805e-05 -2.295959e-05
+ 2.023958e-02  6.001000e-03 -2.528599e-01 -3.153837e-01 -1.927230e-03 -1.344564e-04
+ 2.023958e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  6.634250e-03 -2.533258e-01 -3.146600e-01 -6.590216e-04 -8.968241e-05
+ 2.023958e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.095545e-02 -2.463978e-01 -3.151661e-01  6.854050e-05  4.446874e-05
+ 2.023958e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.637171e-02 -2.437422e-01 -3.140027e-01 -2.437422e-01 -3.140027e-01
+ 2.023958e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.023958e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.000000e-06 -2.529715e-01 -2.529705e-01 -6.132554e-05 -5.821736e-05
+ 2.030272e-02  2.001000e-03 -2.533225e-01 -2.533226e-01  2.007908e-07 -6.017952e-07
+ 2.030272e-02  2.829427e-03 -2.533848e-01 -2.533844e-01 -1.904331e-06 -2.141579e-06
+ 2.030272e-02  3.465102e-03 -2.533986e-01 -2.533984e-01 -1.577167e-06 -1.619966e-06
+ 2.030272e-02  4.001000e-03 -2.533905e-01 -2.533902e-01 -1.516460e-05 -1.499310e-05
+ 2.030272e-02  4.473136e-03 -2.533525e-01 -3.158042e-01 -2.177458e-06  1.525527e-06
+ 2.030272e-02  4.899979e-03 -2.532673e-01 -3.157157e-01 -6.210738e-04  1.823587e-04
+ 2.030272e-02  5.292503e-03 -2.530964e-01 -3.156455e-01  3.907789e-05 -3.456091e-05
+ 2.030272e-02  5.657854e-03 -2.531190e-01 -3.154617e-01 -1.824470e-04 -2.106068e-04
+ 2.030272e-02  6.001000e-03 -2.530083e-01 -3.153152e-01 -2.530083e-01 -3.153152e-01
+ 2.030272e-02  6.325555e-03 -2.535418e-01 -3.146177e-01 -2.535418e-01 -3.146177e-01
+ 2.030272e-02  6.634250e-03 -2.539218e-01 -3.136908e-01 -2.539218e-01 -3.136908e-01
+ 2.030272e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  8.718798e-03 -2.469983e-01 -3.157753e-01 -1.017969e-03 -2.079233e-04
+ 2.030272e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.311588e-02 -2.455690e-01 -3.140485e-01 -2.455690e-01 -3.140485e-01
+ 2.030272e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.030272e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.000000e-06 -2.531956e-01 -2.531962e-01  6.504284e-05  6.404450e-05
+ 2.036568e-02  2.001000e-03 -2.534333e-01 -2.534325e-01 -2.458617e-06 -4.280207e-07
+ 2.036568e-02  2.829427e-03 -2.535030e-01 -2.535020e-01 -2.857020e-06 -1.850565e-06
+ 2.036568e-02  3.465102e-03 -2.535114e-01 -2.535103e-01  5.100648e-07  7.704056e-07
+ 2.036568e-02  4.001000e-03 -2.534473e-01 -2.534464e-01  6.334770e-07  2.726081e-06
+ 2.036568e-02  4.473136e-03 -2.534633e-01 -3.157588e-01  1.340526e-06 -2.114946e-06
+ 2.036568e-02  4.899979e-03 -2.534700e-01 -3.156104e-01 -1.277736e-05  5.116988e-06
+ 2.036568e-02  5.292503e-03 -2.532213e-01 -3.156078e-01 -6.178226e-04  8.120846e-05
+ 2.036568e-02  5.657854e-03 -2.531281e-01 -3.154550e-01  1.961108e-05 -2.802929e-05
+ 2.036568e-02  6.001000e-03 -2.532123e-01 -3.152343e-01 -1.542613e-04  8.461399e-05
+ 2.036568e-02  6.325555e-03 -2.504972e-01 -3.152676e-01  4.047089e-03 -2.090336e-03
+ 2.036568e-02  6.634250e-03 -2.537703e-01 -3.133970e-01 -2.537703e-01 -3.133970e-01
+ 2.036568e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.036568e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.000000e-06 -2.531349e-01 -2.531350e-01 -4.056316e-05 -4.011204e-05
+ 2.042843e-02  2.001000e-03 -2.535460e-01 -2.535456e-01  3.210099e-08 -1.053902e-07
+ 2.042843e-02  2.829427e-03 -2.536143e-01 -2.536142e-01 -1.334221e-06 -1.114766e-06
+ 2.042843e-02  3.465102e-03 -2.536309e-01 -2.536309e-01 -2.734188e-06 -2.756492e-06
+ 2.042843e-02  4.001000e-03 -2.536012e-01 -2.536010e-01  2.626010e-06  2.809362e-06
+ 2.042843e-02  4.473136e-03 -2.535358e-01 -3.157229e-01  7.460781e-05 -2.758033e-05
+ 2.042843e-02  4.899979e-03 -2.533950e-01 -3.156563e-01  1.432087e-04 -6.426817e-05
+ 2.042843e-02  5.292503e-03 -2.535280e-01 -3.154219e-01 -3.852706e-04  2.118607e-04
+ 2.042843e-02  5.657854e-03 -2.526247e-01 -3.156568e-01 -2.622936e-03 -7.094629e-05
+ 2.042843e-02  6.001000e-03 -2.529951e-01 -3.153304e-01 -2.933346e-05 -6.367357e-05
+ 2.042843e-02  6.325555e-03 -2.532082e-01 -3.150477e-01 -2.532082e-01 -3.150477e-01
+ 2.042843e-02  6.634250e-03 -2.530813e-01 -3.146697e-01 -2.530813e-01 -3.146697e-01
+ 2.042843e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.311588e-02 -2.451808e-01 -3.144130e-01 -1.586668e-03 -2.795502e-04
+ 2.042843e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.042843e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.000000e-06 -2.531574e-01 -2.531579e-01 -8.878042e-05 -8.931094e-05
+ 2.049100e-02  2.001000e-03 -2.536604e-01 -2.536605e-01  3.507234e-07  8.981779e-08
+ 2.049100e-02  2.829427e-03 -2.537487e-01 -2.537489e-01 -9.435783e-07 -6.196235e-07
+ 2.049100e-02  3.465102e-03 -2.539470e-01 -2.539472e-01 -6.203007e-05 -6.134589e-05
+ 2.049100e-02  4.001000e-03 -2.539039e-01 -2.539049e-01 -1.201793e-05 -1.410457e-05
+ 2.049100e-02  4.473136e-03 -2.537039e-01 -3.156533e-01 -7.327749e-06  7.313897e-06
+ 2.049100e-02  4.899979e-03 -2.536820e-01 -3.155137e-01  3.204718e-04 -1.863116e-04
+ 2.049100e-02  5.292503e-03 -2.534733e-01 -3.154256e-01 -1.392616e-04  8.568851e-05
+ 2.049100e-02  5.657854e-03 -2.535496e-01 -3.151994e-01  4.131174e-04 -2.992269e-04
+ 2.049100e-02  6.001000e-03 -2.534344e-01 -3.150917e-01  6.891313e-05 -5.821303e-05
+ 2.049100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  6.634250e-03 -2.529645e-01 -3.149337e-01 -2.529645e-01 -3.149337e-01
+ 2.049100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.166290e-02 -2.456630e-01 -3.151108e-01 -7.292934e-04 -1.016272e-04
+ 2.049100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.049100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.000000e-06 -2.533662e-01 -2.533660e-01  6.510105e-07 -4.775645e-08
+ 2.055337e-02  2.001000e-03 -2.538225e-01 -2.538227e-01 -1.359516e-05 -1.444298e-05
+ 2.055337e-02  2.829427e-03 -2.538909e-01 -2.538910e-01  3.260704e-06  2.703916e-06
+ 2.055337e-02  3.465102e-03 -2.538605e-01 -2.538605e-01  5.512185e-06  4.890936e-06
+ 2.055337e-02  4.001000e-03 -2.538533e-01 -2.538532e-01  7.363716e-06  7.323555e-06
+ 2.055337e-02  4.473136e-03 -2.538485e-01 -3.155552e-01  1.423708e-06 -3.233727e-07
+ 2.055337e-02  4.899979e-03 -2.538362e-01 -3.154012e-01 -5.181351e-06 -6.895920e-07
+ 2.055337e-02  5.292503e-03 -2.540459e-01 -3.150787e-01  5.721366e-05 -4.846533e-05
+ 2.055337e-02  5.657854e-03 -2.538604e-01 -3.149202e-01 -1.060309e-04  9.356274e-05
+ 2.055337e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  6.929203e-03 -2.501367e-01 -3.150230e-01 -2.501367e-01 -3.150230e-01
+ 2.055337e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  7.484315e-03 -2.533940e-01 -3.133200e-01 -2.533940e-01 -3.133200e-01
+ 2.055337e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.200100e-02 -2.454155e-01 -3.150102e-01 -2.454155e-01 -3.150102e-01
+ 2.055337e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.055337e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.000000e-06 -2.534619e-01 -2.534613e-01 -1.933464e-07  8.314525e-07
+ 2.061556e-02  2.001000e-03 -2.538990e-01 -2.538985e-01 -4.972165e-06 -4.446467e-06
+ 2.061556e-02  2.829427e-03 -2.538780e-01 -2.538777e-01 -7.415272e-06 -7.371561e-06
+ 2.061556e-02  3.465102e-03 -2.538713e-01 -2.538710e-01 -1.278730e-06 -1.237392e-06
+ 2.061556e-02  4.001000e-03 -2.538643e-01 -2.538641e-01 -5.599912e-07 -9.613338e-07
+ 2.061556e-02  4.473136e-03 -2.538568e-01 -3.155422e-01 -1.743615e-06  1.081996e-06
+ 2.061556e-02  4.899979e-03 -2.538479e-01 -3.153881e-01 -1.028067e-06 -4.064576e-06
+ 2.061556e-02  5.292503e-03 -2.538250e-01 -3.152189e-01  9.149330e-06 -3.313522e-05
+ 2.061556e-02  5.657854e-03 -2.538973e-01 -3.149374e-01 -7.764519e-05  1.825224e-05
+ 2.061556e-02  6.001000e-03 -2.540454e-01 -3.145447e-01 -2.392733e-04  1.572741e-05
+ 2.061556e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.296248e-02 -2.459000e-01 -3.144689e-01 -2.459000e-01 -3.144689e-01
+ 2.061556e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.549293e-02 -2.455912e-01 -3.139106e-01 -2.455912e-01 -3.139106e-01
+ 2.061556e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.061556e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.000000e-06 -2.535793e-01 -2.535789e-01  2.443524e-06  2.657365e-06
+ 2.067756e-02  2.001000e-03 -2.538267e-01 -2.538264e-01 -5.298715e-06 -5.089302e-06
+ 2.067756e-02  2.829427e-03 -2.538212e-01 -2.538208e-01  8.045662e-05  8.006671e-05
+ 2.067756e-02  3.465102e-03 -2.538695e-01 -2.538689e-01  7.663107e-06  7.428395e-06
+ 2.067756e-02  4.001000e-03 -2.538717e-01 -2.538714e-01 -1.126039e-05 -1.171556e-05
+ 2.067756e-02  4.473136e-03 -2.538576e-01 -3.155416e-01 -3.752594e-06  2.017029e-06
+ 2.067756e-02  4.899979e-03 -2.538456e-01 -3.153837e-01 -4.970821e-07  2.550313e-06
+ 2.067756e-02  5.292503e-03 -2.538323e-01 -3.151968e-01 -4.396600e-07  1.371422e-06
+ 2.067756e-02  5.657854e-03 -2.538198e-01 -3.149647e-01 -3.442487e-04  2.781846e-04
+ 2.067756e-02  6.001000e-03 -2.537992e-01 -3.146599e-01 -2.361732e-04  3.508939e-04
+ 2.067756e-02  6.325555e-03 -2.535813e-01 -3.152007e-01 -2.535813e-01 -3.152007e-01
+ 2.067756e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.265011e-02 -2.463365e-01 -3.146761e-01 -2.463365e-01 -3.146761e-01
+ 2.067756e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.523255e-02 -2.459801e-01 -3.140672e-01 -1.831537e-03  1.977363e-04
+ 2.067756e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.067756e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.000000e-06 -2.536810e-01 -2.536812e-01 -7.783936e-07 -1.026466e-06
+ 2.073937e-02  2.001000e-03 -2.540549e-01 -2.540545e-01 -5.679651e-07 -4.940871e-07
+ 2.073937e-02  2.829427e-03 -2.540799e-01 -2.540795e-01  1.207974e-06  1.584962e-06
+ 2.073937e-02  3.465102e-03 -2.540425e-01 -2.540420e-01 -4.808852e-07 -1.369431e-07
+ 2.073937e-02  4.001000e-03 -2.538349e-01 -2.538340e-01 -2.448835e-05 -2.346713e-05
+ 2.073937e-02  4.473136e-03 -2.538652e-01 -3.155473e-01  6.790133e-07 -6.549796e-07
+ 2.073937e-02  4.899979e-03 -2.538465e-01 -3.153885e-01 -1.332176e-06 -2.189069e-06
+ 2.073937e-02  5.292503e-03 -2.538336e-01 -3.152023e-01  2.557256e-06 -2.013458e-06
+ 2.073937e-02  5.657854e-03 -2.538224e-01 -3.149550e-01  2.834129e-06  2.975058e-05
+ 2.073937e-02  6.001000e-03 -2.537976e-01 -3.147088e-01  2.545452e-04 -4.090712e-04
+ 2.073937e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  7.484315e-03 -2.529180e-01 -3.150616e-01 -2.529180e-01 -3.150616e-01
+ 2.073937e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.073937e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.000000e-06 -2.539220e-01 -2.539211e-01 -3.471681e-05 -3.495842e-05
+ 2.080100e-02  2.001000e-03 -2.541669e-01 -2.541669e-01 -1.351833e-07 -3.252501e-07
+ 2.080100e-02  2.829427e-03 -2.541934e-01 -2.541935e-01 -3.031756e-06 -3.042109e-06
+ 2.080100e-02  3.465102e-03 -2.541632e-01 -2.541631e-01 -5.068759e-07 -4.683035e-07
+ 2.080100e-02  4.001000e-03 -2.540976e-01 -2.540974e-01  4.807521e-06  5.032138e-06
+ 2.080100e-02  4.473136e-03 -2.539789e-01 -3.155162e-01 -1.990102e-04  1.002181e-04
+ 2.080100e-02  4.899979e-03 -2.538527e-01 -3.153984e-01 -6.406208e-06 -7.568501e-06
+ 2.080100e-02  5.292503e-03 -2.538330e-01 -3.152254e-01  9.540467e-06 -1.467873e-06
+ 2.080100e-02  5.657854e-03 -2.538238e-01 -3.149825e-01 -1.381430e-06  1.242925e-05
+ 2.080100e-02  6.001000e-03 -2.538242e-01 -3.147957e-01 -3.117521e-04  4.073625e-04
+ 2.080100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.232983e-02 -2.456655e-01 -3.150878e-01 -2.456655e-01 -3.150878e-01
+ 2.080100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.080100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.000000e-06 -2.538627e-01 -2.538618e-01  7.507992e-05  7.511145e-05
+ 2.086245e-02  2.001000e-03 -2.542729e-01 -2.542729e-01  1.166144e-07 -7.688466e-08
+ 2.086245e-02  2.829427e-03 -2.542970e-01 -2.542970e-01  6.241288e-07  9.396020e-10
+ 2.086245e-02  3.465102e-03 -2.542692e-01 -2.542692e-01 -8.044996e-07 -7.741756e-07
+ 2.086245e-02  4.001000e-03 -2.542136e-01 -2.542136e-01  1.140062e-06  1.299380e-06
+ 2.086245e-02  4.473136e-03 -2.541263e-01 -3.154245e-01  4.688283e-06 -1.831106e-06
+ 2.086245e-02  4.899979e-03 -2.540262e-01 -3.153213e-01 -1.128208e-04  5.865718e-05
+ 2.086245e-02  5.292503e-03 -2.538735e-01 -3.152247e-01 -3.065985e-05  3.849416e-05
+ 2.086245e-02  5.657854e-03 -2.539384e-01 -3.149536e-01 -1.065970e-04 -8.948926e-06
+ 2.086245e-02  6.001000e-03 -2.538154e-01 -3.147688e-01  7.289977e-05 -1.503264e-06
+ 2.086245e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.216653e-02 -2.454461e-01 -3.151297e-01 -2.454461e-01 -3.151297e-01
+ 2.086245e-02  1.232983e-02 -2.454665e-01 -3.150631e-01 -4.129636e-04 -1.070751e-04
+ 2.086245e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.510067e-02 -2.463478e-01 -3.143409e-01 -2.463478e-01 -3.143409e-01
+ 2.086245e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.562150e-02 -2.469839e-01 -3.150918e-01 -2.469839e-01 -3.150918e-01
+ 2.086245e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.086245e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.000000e-06 -2.540411e-01 -2.540410e-01 -1.718008e-06 -1.761408e-06
+ 2.092371e-02  2.001000e-03 -2.543861e-01 -2.543859e-01 -1.163444e-05 -1.104667e-05
+ 2.092371e-02  2.829427e-03 -2.544132e-01 -2.544130e-01  1.381345e-05  1.470483e-05
+ 2.092371e-02  3.465102e-03 -2.543629e-01 -2.543629e-01  2.568623e-05  2.582317e-05
+ 2.092371e-02  4.001000e-03 -2.543010e-01 -2.543012e-01 -2.363582e-06 -2.274522e-06
+ 2.092371e-02  4.473136e-03 -2.542567e-01 -3.153464e-01 -2.186348e-05  6.310688e-06
+ 2.092371e-02  4.899979e-03 -2.541420e-01 -3.152407e-01  1.079313e-04 -6.087607e-05
+ 2.092371e-02  5.292503e-03 -2.538679e-01 -3.152420e-01  1.623831e-04 -1.367915e-04
+ 2.092371e-02  5.657854e-03 -2.538462e-01 -3.150102e-01 -3.947870e-06  3.701760e-05
+ 2.092371e-02  6.001000e-03 -2.541811e-01 -3.144915e-01 -2.541811e-01 -3.144915e-01
+ 2.092371e-02  6.325555e-03 -2.536991e-01 -3.146679e-01 -2.353084e-04  3.693321e-04
+ 2.092371e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  7.746967e-03 -2.527805e-01 -3.150320e-01 -2.527805e-01 -3.150320e-01
+ 2.092371e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.092371e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.000000e-06 -2.541377e-01 -2.541378e-01  6.622810e-07  4.500184e-07
+ 2.098480e-02  2.001000e-03 -2.544766e-01 -2.544763e-01 -2.883895e-07 -2.306859e-08
+ 2.098480e-02  2.829427e-03 -2.544955e-01 -2.544954e-01  1.399598e-06  1.493169e-06
+ 2.098480e-02  3.465102e-03 -2.544656e-01 -2.544650e-01 -2.746607e-05 -2.681015e-05
+ 2.098480e-02  4.001000e-03 -2.544303e-01 -2.544299e-01 -1.396795e-05 -1.275076e-05
+ 2.098480e-02  4.473136e-03 -2.542925e-01 -3.153127e-01 -5.600886e-05  2.245100e-05
+ 2.098480e-02  4.899979e-03 -2.542235e-01 -3.151705e-01  1.262924e-05  2.740615e-06
+ 2.098480e-02  5.292503e-03 -2.541961e-01 -3.150218e-01  2.329461e-05 -1.673843e-05
+ 2.098480e-02  5.657854e-03 -2.542182e-01 -3.147598e-01  9.925165e-06 -6.173221e-05
+ 2.098480e-02  6.001000e-03 -2.538916e-01 -3.146736e-01  3.373427e-04 -1.644913e-04
+ 2.098480e-02  6.325555e-03 -2.539504e-01 -3.143993e-01 -5.441723e-04  4.981410e-04
+ 2.098480e-02  6.634250e-03 -2.538449e-01 -3.141676e-01 -2.538449e-01 -3.141676e-01
+ 2.098480e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.098480e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.000000e-06 -2.542361e-01 -2.542360e-01  2.165260e-07  4.430521e-07
+ 2.104571e-02  2.001000e-03 -2.545739e-01 -2.545739e-01 -1.296627e-06 -1.284445e-06
+ 2.104571e-02  2.829427e-03 -2.545874e-01 -2.545875e-01  9.695926e-07  9.601688e-07
+ 2.104571e-02  3.465102e-03 -2.545542e-01 -2.545541e-01  7.027429e-07  7.304668e-07
+ 2.104571e-02  4.001000e-03 -2.544911e-01 -2.544910e-01  8.126011e-06  7.909238e-06
+ 2.104571e-02  4.473136e-03 -2.544404e-01 -3.152155e-01 -6.917016e-06  3.463557e-06
+ 2.104571e-02  4.899979e-03 -2.542776e-01 -3.151343e-01  4.309891e-05 -3.013303e-05
+ 2.104571e-02  5.292503e-03 -2.541694e-01 -3.149932e-01  5.760698e-05 -6.547365e-05
+ 2.104571e-02  5.657854e-03 -2.541196e-01 -3.147908e-01 -4.825768e-04  3.987908e-04
+ 2.104571e-02  6.001000e-03 -2.536186e-01 -3.149609e-01 -3.703356e-04  2.424587e-04
+ 2.104571e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.200100e-02 -2.462592e-01 -3.152448e-01 -2.462592e-01 -3.152448e-01
+ 2.104571e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.104571e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.000000e-06 -2.543493e-01 -2.543488e-01 -2.143900e-05 -2.134867e-05
+ 2.110645e-02  2.001000e-03 -2.546705e-01 -2.546708e-01 -2.169989e-07 -5.991771e-07
+ 2.110645e-02  2.829427e-03 -2.546788e-01 -2.546791e-01  2.057231e-06  1.674395e-06
+ 2.110645e-02  3.465102e-03 -2.546372e-01 -2.546375e-01 -3.889721e-07 -5.298524e-07
+ 2.110645e-02  4.001000e-03 -2.545575e-01 -2.545575e-01 -1.407826e-05 -1.434566e-05
+ 2.110645e-02  4.473136e-03 -2.545141e-01 -3.151607e-01  1.804256e-05 -6.062805e-02
+ 2.110645e-02  4.899979e-03 -2.544184e-01 -3.150327e-01  2.053739e-05 -1.926337e-05
+ 2.110645e-02  5.292503e-03 -2.542536e-01 -3.149360e-01 -2.143081e-05 -9.985461e-06
+ 2.110645e-02  5.657854e-03 -2.541205e-01 -3.148168e-01 -3.017702e-04  8.709577e-05
+ 2.110645e-02  6.001000e-03 -2.542656e-01 -3.143616e-01 -2.542656e-01 -3.143616e-01
+ 2.110645e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.549293e-02 -2.466581e-01 -3.149609e-01 -2.466581e-01 -3.149609e-01
+ 2.110645e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.110645e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.000000e-06 -2.544290e-01 -2.544284e-01  4.371196e-05  4.448335e-05
+ 2.116701e-02  2.001000e-03 -2.547654e-01 -2.547656e-01  2.456088e-06  2.165307e-06
+ 2.116701e-02  2.829427e-03 -2.547645e-01 -2.547646e-01  3.973949e-06  3.752522e-06
+ 2.116701e-02  3.465102e-03 -2.547181e-01 -2.547185e-01 -2.232907e-06 -2.568249e-06
+ 2.116701e-02  4.001000e-03 -2.546491e-01 -2.546493e-01 -1.992698e-07 -5.196355e-07
+ 2.116701e-02  4.473136e-03 -2.545432e-01 -2.545436e-01  3.472102e-05  3.393756e-05
+ 2.116701e-02  4.899979e-03 -2.544903e-01 -3.149652e-01  7.650309e-05 -6.039882e-02
+ 2.116701e-02  5.292503e-03 -2.544254e-01 -3.148043e-01 -3.416147e-05  3.114367e-05
+ 2.116701e-02  5.657854e-03 -2.542428e-01 -3.147107e-01 -3.927768e-04  2.963443e-04
+ 2.116701e-02  6.001000e-03 -2.542557e-01 -3.144606e-01 -2.542557e-01 -3.144606e-01
+ 2.116701e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.116701e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.000000e-06 -2.545194e-01 -2.545191e-01  3.550822e-06  3.389261e-06
+ 2.122740e-02  2.001000e-03 -2.548725e-01 -2.548722e-01 -1.676145e-06 -1.191375e-06
+ 2.122740e-02  2.829427e-03 -2.548490e-01 -2.548487e-01  6.990592e-06  7.270126e-06
+ 2.122740e-02  3.465102e-03 -2.548066e-01 -2.548065e-01 -5.015833e-06 -5.364616e-06
+ 2.122740e-02  4.001000e-03 -2.547296e-01 -2.547299e-01 -7.865159e-06 -8.096484e-06
+ 2.122740e-02  4.473136e-03 -2.546315e-01 -2.546314e-01  5.264198e-06  5.147776e-06
+ 2.122740e-02  4.899979e-03 -2.545812e-01 -2.545806e-01 -7.181876e-06 -5.812904e-06
+ 2.122740e-02  5.292503e-03 -2.544297e-01 -3.147818e-01  9.660188e-05 -6.777496e-05
+ 2.122740e-02  5.657854e-03 -2.542391e-01 -3.147193e-01 -4.329134e-04  3.442330e-04
+ 2.122740e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  6.634250e-03 -2.536696e-01 -3.143831e-01 -2.536696e-01 -3.143831e-01
+ 2.122740e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.122740e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.000000e-06 -2.546309e-01 -2.546308e-01 -4.499926e-07 -5.987401e-07
+ 2.128762e-02  2.001000e-03 -2.550120e-01 -2.550136e-01 -4.394980e-05 -4.652011e-05
+ 2.128762e-02  2.829427e-03 -2.550200e-01 -2.550224e-01 -8.482778e-05 -8.562289e-05
+ 2.128762e-02  3.465102e-03 -2.548641e-01 -2.548638e-01  3.136016e-05  3.205133e-05
+ 2.128762e-02  4.001000e-03 -2.548390e-01 -2.548392e-01 -1.145161e-05 -1.151994e-05
+ 2.128762e-02  4.473136e-03 -2.547476e-01 -2.547479e-01 -2.152383e-05 -2.138939e-05
+ 2.128762e-02  4.899979e-03 -2.546026e-01 -2.546032e-01  7.675422e-05  7.510985e-05
+ 2.128762e-02  5.292503e-03 -2.545997e-01 -3.146140e-01 -4.462986e-05 -4.415887e-06
+ 2.128762e-02  5.657854e-03 -2.542844e-01 -3.146569e-01 -1.937346e-04  1.145883e-04
+ 2.128762e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.128762e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.000000e-06 -2.547610e-01 -2.547611e-01  3.658158e-05  3.631971e-05
+ 2.134766e-02  2.001000e-03 -2.549566e-01 -2.549575e-01  1.385807e-04  1.371308e-04
+ 2.134766e-02  2.829427e-03 -2.551369e-01 -2.551368e-01  2.234652e-05  2.282523e-05
+ 2.134766e-02  3.465102e-03 -2.551267e-01 -2.551267e-01 -2.664212e-04 -2.666341e-04
+ 2.134766e-02  4.001000e-03 -2.552050e-01 -2.552053e-01 -3.705794e-04 -3.710604e-04
+ 2.134766e-02  4.473136e-03 -2.550528e-01 -2.550513e-01 -8.838481e-05 -8.859697e-05
+ 2.134766e-02  4.899979e-03 -2.546702e-01 -2.546707e-01  4.671443e-05  4.675022e-05
+ 2.134766e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  5.657854e-03 -2.547453e-01 -3.140349e-01 -2.547453e-01 -3.140349e-01
+ 2.134766e-02  6.001000e-03 -2.544443e-01 -3.142295e-01 -3.579522e-04  4.267865e-04
+ 2.134766e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.134766e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.000000e-06 -2.549699e-01 -2.549706e-01  6.195004e-05  5.975440e-05
+ 2.140754e-02  2.001000e-03 -2.549583e-01 -2.549599e-01  1.633851e-04  1.630346e-04
+ 2.140754e-02  2.829427e-03 -2.552462e-01 -2.552462e-01  2.842176e-07  2.968914e-07
+ 2.140754e-02  3.465102e-03 -2.552479e-01 -2.552479e-01  3.539184e-06  3.490229e-06
+ 2.140754e-02  4.001000e-03 -2.551870e-01 -2.551875e-01 -2.613885e-04 -2.627878e-04
+ 2.140754e-02  4.473136e-03 -2.548927e-01 -2.548912e-01  7.824938e-05  8.023630e-05
+ 2.140754e-02  4.899979e-03 -2.548609e-01 -2.548587e-01 -2.548609e-01 -2.548587e-01
+ 2.140754e-02  5.292503e-03 -2.547128e-01 -3.145213e-01  3.665836e-05 -6.119953e-05
+ 2.140754e-02  5.657854e-03 -2.547584e-01 -2.547552e-01  1.890518e-04  1.757829e-04
+ 2.140754e-02  6.001000e-03 -2.545104e-01 -3.142625e-01 -2.545104e-01 -3.142625e-01
+ 2.140754e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  6.634250e-03 -2.533474e-01 -3.143499e-01  1.818973e-03 -5.918281e-02
+ 2.140754e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.140754e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.000000e-06 -2.549959e-01 -2.549955e-01  1.060412e-05  1.053932e-05
+ 2.146725e-02  2.001000e-03 -2.552517e-01 -2.552517e-01  3.639129e-08  2.879907e-08
+ 2.146725e-02  2.829427e-03 -2.553239e-01 -2.553238e-01  1.119744e-06  1.031212e-06
+ 2.146725e-02  3.465102e-03 -2.553280e-01 -2.553279e-01 -3.538024e-05 -3.545509e-05
+ 2.146725e-02  4.001000e-03 -2.553114e-01 -2.553115e-01 -3.818268e-04 -3.834830e-04
+ 2.146725e-02  4.473136e-03 -2.552877e-01 -2.552879e-01 -2.416788e-04 -2.397221e-04
+ 2.146725e-02  4.899979e-03 -2.549799e-01 -2.549757e-01 -5.066259e-05 -4.346261e-05
+ 2.146725e-02  5.292503e-03 -2.548288e-01 -3.133988e-01 -7.800008e-05 -1.612292e-04
+ 2.146725e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  6.325555e-03 -2.542944e-01 -3.143870e-01 -4.810826e-04  1.983720e-04
+ 2.146725e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.146725e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.000000e-06 -2.549984e-01 -2.549982e-01 -1.815558e-06 -1.701267e-06
+ 2.152680e-02  2.001000e-03 -2.553379e-01 -2.553378e-01 -6.691190e-07 -6.337367e-07
+ 2.152680e-02  2.829427e-03 -2.553975e-01 -2.553973e-01 -3.675429e-07  7.492399e-08
+ 2.152680e-02  3.465102e-03 -2.553877e-01 -2.553875e-01 -2.445884e-06 -2.021367e-06
+ 2.152680e-02  4.001000e-03 -2.553478e-01 -2.553477e-01 -1.018077e-06 -8.433122e-07
+ 2.152680e-02  4.473136e-03 -2.553353e-01 -2.553352e-01 -3.901376e-05 -3.898261e-05
+ 2.152680e-02  4.899979e-03 -2.552578e-01 -2.552574e-01 -2.672802e-04  5.901219e-02
+ 2.152680e-02  5.292503e-03 -2.546979e-01 -3.146486e-01 -2.047795e-04  2.897496e-04
+ 2.152680e-02  5.657854e-03 -2.547599e-01 -3.142423e-01 -2.517833e-04  2.060640e-04
+ 2.152680e-02  6.001000e-03 -2.548951e-01 -2.548971e-01 -2.548951e-01 -2.548971e-01
+ 2.152680e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.152680e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.000000e-06 -2.549953e-01 -2.549951e-01  1.280959e-06  1.282297e-06
+ 2.158618e-02  2.001000e-03 -2.554212e-01 -2.554210e-01  2.311339e-07  5.714515e-07
+ 2.158618e-02  2.829427e-03 -2.554746e-01 -2.554744e-01  4.563489e-08  7.783908e-08
+ 2.158618e-02  3.465102e-03 -2.554618e-01 -2.554616e-01  3.252673e-07  3.902737e-07
+ 2.158618e-02  4.001000e-03 -2.554202e-01 -2.554200e-01 -9.576778e-07 -4.409861e-07
+ 2.158618e-02  4.473136e-03 -2.553525e-01 -2.553525e-01  1.080082e-05  1.108037e-05
+ 2.158618e-02  4.899979e-03 -2.554383e-01 -2.554382e-01  4.590077e-05  4.566301e-05
+ 2.158618e-02  5.292503e-03 -2.549383e-01 -2.549310e-01 -7.615166e-05 -6.413938e-05
+ 2.158618e-02  5.657854e-03 -2.549410e-01 -3.141627e-01 -2.905603e-05 -5.924285e-02
+ 2.158618e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  6.325555e-03 -2.541660e-01 -3.140680e-01 -7.351722e-04  9.548739e-04
+ 2.158618e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158618e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.000000e-06 -2.549931e-01 -2.549929e-01 -9.152892e-07 -7.820143e-07
+ 2.164540e-02  2.001000e-03 -2.555009e-01 -2.555008e-01 -5.968700e-08 -5.967641e-08
+ 2.164540e-02  2.829427e-03 -2.555455e-01 -2.555455e-01  8.886295e-06  8.884854e-06
+ 2.164540e-02  3.465102e-03 -2.555305e-01 -2.555303e-01  1.843597e-06  2.015017e-06
+ 2.164540e-02  4.001000e-03 -2.554993e-01 -2.554991e-01  8.764058e-07  9.793172e-07
+ 2.164540e-02  4.473136e-03 -2.554513e-01 -2.554506e-01 -1.242647e-05 -1.214464e-05
+ 2.164540e-02  4.899979e-03 -2.553795e-01 -2.553811e-01 -2.553795e-01 -2.553811e-01
+ 2.164540e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  5.657854e-03 -2.550727e-01 -2.550673e-01 -2.550727e-01 -2.550673e-01
+ 2.164540e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.164540e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.000000e-06 -2.549927e-01 -2.549926e-01 -8.323369e-07 -6.472834e-07
+ 2.170446e-02  2.001000e-03 -2.555811e-01 -2.555811e-01 -6.540350e-07 -6.394667e-07
+ 2.170446e-02  2.829427e-03 -2.556262e-01 -2.556263e-01 -2.874752e-07 -3.599642e-07
+ 2.170446e-02  3.465102e-03 -2.556003e-01 -2.556003e-01 -3.616890e-06 -3.637363e-06
+ 2.170446e-02  4.001000e-03 -2.555331e-01 -2.555331e-01 -3.509890e-05 -3.494697e-05
+ 2.170446e-02  4.473136e-03 -2.555496e-01 -2.555507e-01 -4.399383e-05 -4.384649e-05
+ 2.170446e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  5.292503e-03 -2.544302e-01 -3.130988e-01 -2.544302e-01 -3.130988e-01
+ 2.170446e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.170446e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.000000e-06 -2.549961e-01 -2.549959e-01 -6.554332e-06 -6.344230e-06
+ 2.176335e-02  2.001000e-03 -2.556567e-01 -2.556568e-01 -1.006365e-07 -1.404715e-07
+ 2.176335e-02  2.829427e-03 -2.556999e-01 -2.556999e-01 -3.105142e-07 -3.250692e-07
+ 2.176335e-02  3.465102e-03 -2.556709e-01 -2.556709e-01 -8.955331e-07 -7.753391e-07
+ 2.176335e-02  4.001000e-03 -2.556229e-01 -2.556230e-01 -2.725268e-06 -2.370847e-06
+ 2.176335e-02  4.473136e-03 -2.551162e-01 -3.137593e-01 -2.812600e-04 -5.892144e-02
+ 2.176335e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  5.292503e-03 -2.548007e-01 -3.134922e-01 -2.548007e-01 -3.134922e-01
+ 2.176335e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176335e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.000000e-06 -2.550171e-01 -2.550166e-01 -2.428007e-05 -2.457578e-05
+ 2.182209e-02  2.001000e-03 -2.557332e-01 -2.557333e-01 -5.336541e-07 -7.209588e-07
+ 2.182209e-02  2.829427e-03 -2.557694e-01 -2.557693e-01 -1.085917e-05 -1.110608e-05
+ 2.182209e-02  3.465102e-03 -2.557402e-01 -2.557405e-01 -3.136472e-06 -3.303087e-06
+ 2.182209e-02  4.001000e-03 -2.556564e-01 -2.556571e-01 -1.357962e-05 -1.482209e-05
+ 2.182209e-02  4.473136e-03 -2.548290e-01 -3.139028e-01 -5.538701e-05 -6.510102e-04
+ 2.182209e-02  4.899979e-03 -2.546013e-01 -3.140683e-01  7.078581e-04 -5.088113e-04
+ 2.182209e-02  5.292503e-03 -2.543175e-01 -3.130817e-01  6.778824e-04  3.985950e-04
+ 2.182209e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.182209e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.000000e-06 -2.550216e-01 -2.550249e-01 -2.598884e-04 -2.629783e-04
+ 2.188067e-02  2.001000e-03 -2.558096e-01 -2.558095e-01  1.250760e-06  1.190740e-06
+ 2.188067e-02  2.829427e-03 -2.558932e-01 -2.558928e-01 -3.181442e-07  3.917020e-07
+ 2.188067e-02  3.465102e-03 -2.557768e-01 -2.557772e-01  1.050340e-06  7.722984e-07
+ 2.188067e-02  4.001000e-03 -2.555101e-01 -2.555069e-01 -4.163832e-03  5.955932e-02
+ 2.188067e-02  4.473136e-03 -2.554068e-01 -3.135462e-01  5.910007e-05 -5.808393e-02
+ 2.188067e-02  4.899979e-03 -2.554461e-01 -3.134397e-01  7.318853e-05 -5.792062e-02
+ 2.188067e-02  5.292503e-03 -2.553431e-01 -3.130768e-01 -4.046467e-05 -5.777222e-02
+ 2.188067e-02  5.657854e-03 -2.546668e-01 -3.128283e-01  6.246166e-04 -5.753871e-02
+ 2.188067e-02  6.001000e-03 -2.549166e-01 -3.137952e-01 -2.549166e-01 -3.137952e-01
+ 2.188067e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.188067e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.000000e-06 -2.553435e-01 -2.553434e-01  6.188523e-06  6.300181e-06
+ 2.193909e-02  2.001000e-03 -2.558680e-01 -2.558680e-01 -1.728258e-05 -1.701489e-05
+ 2.193909e-02  2.829427e-03 -2.558992e-01 -2.558994e-01  9.222940e-06  9.162667e-06
+ 2.193909e-02  3.465102e-03 -2.557983e-01 -2.557977e-01 -2.188391e-04 -2.198453e-04
+ 2.193909e-02  4.001000e-03 -2.555358e-01 -2.555331e-01  2.241545e-04  2.280856e-04
+ 2.193909e-02  4.473136e-03 -2.554736e-01 -2.554747e-01  4.937679e-04  4.926364e-04
+ 2.193909e-02  4.899979e-03 -2.554797e-01 -2.554789e-01  8.677421e-05  8.614746e-05
+ 2.193909e-02  5.292503e-03 -2.553049e-01 -2.553034e-01  6.446582e-05  5.756658e-02
+ 2.193909e-02  5.657854e-03 -2.550449e-01 -2.550441e-01  1.230913e-04  1.235693e-04
+ 2.193909e-02  6.001000e-03 -2.548544e-01 -3.132218e-01  2.436847e-04  6.349422e-04
+ 2.193909e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.193909e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.000000e-06 -2.554064e-01 -2.554063e-01 -1.972890e-06 -1.724945e-06
+ 2.199736e-02  2.001000e-03 -2.559293e-01 -2.559294e-01 -2.130188e-06 -2.376596e-06
+ 2.199736e-02  2.829427e-03 -2.559681e-01 -2.559676e-01 -6.693673e-06 -5.819241e-06
+ 2.199736e-02  3.465102e-03 -2.558935e-01 -2.558932e-01 -4.602710e-04 -4.596755e-04
+ 2.199736e-02  4.001000e-03 -2.558754e-01 -2.558774e-01 -1.883953e-04 -1.892291e-04
+ 2.199736e-02  4.473136e-03 -2.556942e-01 -2.556955e-01 -1.898269e-05 -2.142193e-05
+ 2.199736e-02  4.899979e-03 -2.555167e-01 -2.555159e-01  7.975156e-05  8.098164e-05
+ 2.199736e-02  5.292503e-03 -2.554652e-01 -2.554666e-01 -1.212285e-05 -1.298350e-05
+ 2.199736e-02  5.657854e-03 -2.552000e-01 -3.122493e-01 -2.552000e-01 -3.122493e-01
+ 2.199736e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  6.325555e-03 -2.548651e-01 -3.134652e-01  7.704429e-05 -5.852203e-02
+ 2.199736e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.166290e-02 -2.462780e-01 -3.152930e-01 -2.462780e-01 -3.152930e-01
+ 2.199736e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.199736e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.000000e-06 -2.554727e-01 -2.554727e-01 -9.745474e-06 -9.731841e-06
+ 2.205548e-02  2.001000e-03 -2.560010e-01 -2.560006e-01  9.654287e-08  1.759753e-07
+ 2.205548e-02  2.829427e-03 -2.560413e-01 -2.560411e-01 -3.201964e-04 -3.216921e-04
+ 2.205548e-02  3.465102e-03 -2.560129e-01 -2.560130e-01  2.604557e-05  2.643516e-05
+ 2.205548e-02  4.001000e-03 -2.559552e-01 -2.559552e-01 -3.542987e-06 -3.685190e-06
+ 2.205548e-02  4.473136e-03 -2.558467e-01 -2.558477e-01 -1.512393e-05 -1.718157e-05
+ 2.205548e-02  4.899979e-03 -2.556294e-01 -2.556306e-01  9.663954e-05  9.749939e-05
+ 2.205548e-02  5.292503e-03 -2.553894e-01 -3.130952e-01 -5.919111e-06 -5.771261e-02
+ 2.205548e-02  5.657854e-03 -2.552207e-01 -2.552211e-01 -1.351705e-04 -1.229297e-04
+ 2.205548e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.205548e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.000000e-06 -2.554837e-01 -2.554841e-01  3.906447e-05  3.783476e-05
+ 2.211344e-02  2.001000e-03 -2.560683e-01 -2.560684e-01 -5.783768e-06 -5.703336e-06
+ 2.211344e-02  2.829427e-03 -2.561238e-01 -2.561240e-01  3.953258e-08 -3.449756e-07
+ 2.211344e-02  3.465102e-03 -2.560955e-01 -2.560957e-01 -5.253225e-06 -5.776761e-06
+ 2.211344e-02  4.001000e-03 -2.560019e-01 -2.560018e-01 -1.516947e-06 -1.579425e-06
+ 2.211344e-02  4.473136e-03 -2.558993e-01 -2.558987e-01  5.922976e-06  6.787586e-06
+ 2.211344e-02  4.899979e-03 -2.557386e-01 -2.557380e-01 -5.085241e-05 -5.185528e-05
+ 2.211344e-02  5.292503e-03 -2.554680e-01 -2.554679e-01 -7.057625e-05  5.767995e-02
+ 2.211344e-02  5.657854e-03 -2.552492e-01 -3.122910e-01 -1.709857e-04 -5.721496e-02
+ 2.211344e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  6.325555e-03 -2.545087e-01 -3.126153e-01 -2.545087e-01 -3.126153e-01
+ 2.211344e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.211344e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.000000e-06 -2.553482e-01 -2.553426e-01 -6.114898e-05  5.833554e-02
+ 2.217125e-02  2.001000e-03 -2.561195e-01 -2.561195e-01 -6.766822e-05 -6.795016e-05
+ 2.217125e-02  2.829427e-03 -2.561899e-01 -2.561899e-01 -1.664451e-05 -1.651464e-05
+ 2.217125e-02  3.465102e-03 -2.561661e-01 -2.561659e-01 -3.528993e-05 -3.511658e-05
+ 2.217125e-02  4.001000e-03 -2.560633e-01 -2.560633e-01 -1.210435e-05 -1.204051e-05
+ 2.217125e-02  4.473136e-03 -2.559421e-01 -2.559420e-01  2.689511e-05  2.695986e-05
+ 2.217125e-02  4.899979e-03 -2.557392e-01 -2.557434e-01 -4.813795e-06 -7.266838e-06
+ 2.217125e-02  5.292503e-03 -2.555324e-01 -2.555315e-01 -1.817005e-06 -2.872196e-06
+ 2.217125e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  6.325555e-03 -2.548438e-01 -2.548515e-01 -2.548438e-01 -2.548515e-01
+ 2.217125e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.217125e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  2.001000e-03 -2.561631e-01 -2.561629e-01  1.598431e-06  2.102795e-06
+ 2.222891e-02  2.829427e-03 -2.562305e-01 -2.562304e-01 -4.893920e-07 -4.916702e-07
+ 2.222891e-02  3.465102e-03 -2.562073e-01 -2.562073e-01 -1.587906e-07 -7.778957e-08
+ 2.222891e-02  4.001000e-03 -2.561430e-01 -2.561427e-01 -5.882719e-05 -5.882048e-05
+ 2.222891e-02  4.473136e-03 -2.559781e-01 -2.559779e-01  5.522021e-07  8.938931e-07
+ 2.222891e-02  4.899979e-03 -2.558048e-01 -2.558052e-01  9.056860e-06  7.343296e-06
+ 2.222891e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  5.657854e-03 -2.552578e-01 -2.552582e-01  1.674830e-04  5.712263e-02
+ 2.222891e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  6.325555e-03 -2.548737e-01 -3.133540e-01  3.347273e-04 -5.814630e-02
+ 2.222891e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222891e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.000000e-06 -2.557240e-01 -2.557237e-01  5.452152e-05  5.355883e-05
+ 2.228642e-02  2.001000e-03 -2.562166e-01 -2.562166e-01  3.827124e-06  3.819404e-06
+ 2.228642e-02  2.829427e-03 -2.562838e-01 -2.562838e-01 -1.062944e-07 -2.128893e-07
+ 2.228642e-02  3.465102e-03 -2.562577e-01 -2.562577e-01 -1.543165e-06 -1.676545e-06
+ 2.228642e-02  4.001000e-03 -2.561749e-01 -2.561750e-01 -1.968451e-06 -1.874356e-06
+ 2.228642e-02  4.473136e-03 -2.560159e-01 -2.560158e-01 -5.422751e-06 -5.347749e-06
+ 2.228642e-02  4.899979e-03 -2.558444e-01 -2.558442e-01  5.693516e-07  1.069367e-06
+ 2.228642e-02  5.292503e-03 -2.555113e-01 -2.555110e-01 -1.300644e-04  5.708083e-02
+ 2.228642e-02  5.657854e-03 -2.552283e-01 -2.552267e-01 -1.146285e-04 -1.141532e-04
+ 2.228642e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.228642e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.000000e-06 -2.558569e-01 -2.558576e-01  1.900853e-05  1.772811e-05
+ 2.234378e-02  2.001000e-03 -2.562695e-01 -2.562695e-01 -6.916322e-07 -8.758271e-07
+ 2.234378e-02  2.829427e-03 -2.563369e-01 -2.563369e-01  5.921878e-06  6.151568e-06
+ 2.234378e-02  3.465102e-03 -2.563149e-01 -2.563147e-01 -9.422675e-06 -9.119912e-06
+ 2.234378e-02  4.001000e-03 -2.562125e-01 -2.562126e-01 -8.176345e-07 -8.675447e-07
+ 2.234378e-02  4.473136e-03 -2.560786e-01 -2.560783e-01 -4.008599e-05 -4.118588e-05
+ 2.234378e-02  4.899979e-03 -2.558705e-01 -2.558707e-01  1.428497e-05  1.444076e-05
+ 2.234378e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  5.657854e-03 -2.552869e-01 -2.552868e-01 -2.552869e-01 -2.552868e-01
+ 2.234378e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.234378e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.000000e-06 -2.558192e-01 -2.558201e-01 -3.154827e-04 -3.142283e-04
+ 2.240100e-02  2.001000e-03 -2.563157e-01 -2.563157e-01 -5.717601e-07 -5.621197e-07
+ 2.240100e-02  2.829427e-03 -2.563795e-01 -2.563794e-01 -5.998089e-07 -3.067021e-07
+ 2.240100e-02  3.465102e-03 -2.563495e-01 -2.563495e-01 -9.301077e-08  1.164736e-07
+ 2.240100e-02  4.001000e-03 -2.562331e-01 -2.562331e-01  1.530972e-05  1.556411e-05
+ 2.240100e-02  4.473136e-03 -2.560547e-01 -2.560561e-01 -3.330066e-05 -3.333674e-05
+ 2.240100e-02  4.899979e-03 -2.558768e-01 -2.558763e-01  4.480843e-05  4.522062e-05
+ 2.240100e-02  5.292503e-03 -2.555772e-01 -2.555727e-01 -8.340002e-05 -7.511966e-05
+ 2.240100e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.240100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.000000e-06 -2.558723e-01 -2.558725e-01  5.848346e-05  5.865488e-05
+ 2.245807e-02  2.001000e-03 -2.563577e-01 -2.563577e-01 -6.123466e-07 -4.878295e-07
+ 2.245807e-02  2.829427e-03 -2.564224e-01 -2.564223e-01 -1.782568e-07 -7.279059e-08
+ 2.245807e-02  3.465102e-03 -2.563880e-01 -2.563879e-01  1.084860e-05  1.100876e-05
+ 2.245807e-02  4.001000e-03 -2.562771e-01 -2.562772e-01 -2.367990e-06 -2.645028e-06
+ 2.245807e-02  4.473136e-03 -2.560841e-01 -2.560841e-01  4.376414e-06  4.459973e-06
+ 2.245807e-02  4.899979e-03 -2.557957e-01 -2.557959e-01  5.235327e-05  5.169070e-05
+ 2.245807e-02  5.292503e-03 -2.555765e-01 -2.555797e-01 -9.336314e-05 -9.734445e-05
+ 2.245807e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.245807e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.000000e-06 -2.559063e-01 -2.559052e-01 -3.479583e-06 -2.597369e-06
+ 2.251500e-02  2.001000e-03 -2.563957e-01 -2.563956e-01 -4.412773e-07 -2.013944e-07
+ 2.251500e-02  2.829427e-03 -2.564606e-01 -2.564605e-01  1.134031e-05  1.129356e-05
+ 2.251500e-02  3.465102e-03 -2.564169e-01 -2.564168e-01  5.789609e-07  7.315881e-07
+ 2.251500e-02  4.001000e-03 -2.562839e-01 -2.562839e-01 -3.094715e-07 -5.347651e-07
+ 2.251500e-02  4.473136e-03 -2.560787e-01 -2.560785e-01  5.289729e-07  7.127470e-07
+ 2.251500e-02  4.899979e-03 -2.558032e-01 -2.558031e-01 -3.258451e-06 -3.313716e-06
+ 2.251500e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.251500e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.000000e-06 -2.559356e-01 -2.559354e-01 -3.064084e-06 -2.937239e-06
+ 2.257178e-02  2.001000e-03 -2.564276e-01 -2.564275e-01  1.385809e-06  1.470526e-06
+ 2.257178e-02  2.829427e-03 -2.564844e-01 -2.564843e-01 -5.472083e-07 -4.282608e-07
+ 2.257178e-02  3.465102e-03 -2.564256e-01 -2.564255e-01 -2.743368e-07 -2.440649e-07
+ 2.257178e-02  4.001000e-03 -2.562730e-01 -2.562730e-01  3.221559e-06  3.059216e-06
+ 2.257178e-02  4.473136e-03 -2.560479e-01 -2.560477e-01 -5.106164e-06 -4.922666e-06
+ 2.257178e-02  4.899979e-03 -2.557385e-01 -2.557386e-01  3.913814e-05  3.854251e-05
+ 2.257178e-02  5.292503e-03 -2.555722e-01 -2.555769e-01 -2.419381e-05 -2.699739e-05
+ 2.257178e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.257178e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.000000e-06 -2.559724e-01 -2.559722e-01  8.606192e-06  8.638895e-06
+ 2.262842e-02  2.001000e-03 -2.564512e-01 -2.564512e-01 -1.041343e-05 -1.042021e-05
+ 2.262842e-02  2.829427e-03 -2.564985e-01 -2.564984e-01  5.116278e-07  4.749406e-07
+ 2.262842e-02  3.465102e-03 -2.564150e-01 -2.564149e-01 -1.188446e-06 -1.102151e-06
+ 2.262842e-02  4.001000e-03 -2.562382e-01 -2.562383e-01 -7.595536e-07 -9.047469e-07
+ 2.262842e-02  4.473136e-03 -2.559936e-01 -2.559933e-01 -2.363860e-06 -2.094666e-06
+ 2.262842e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  5.292503e-03 -2.555548e-01 -2.555481e-01 -4.882145e-05 -4.375656e-05
+ 2.262842e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.262842e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.000000e-06 -2.559643e-01 -2.559642e-01 -1.720384e-05 -1.711739e-05
+ 2.268492e-02  2.001000e-03 -2.564730e-01 -2.564729e-01  3.159895e-08  5.392521e-08
+ 2.268492e-02  2.829427e-03 -2.564985e-01 -2.564985e-01 -7.474137e-07 -6.629858e-07
+ 2.268492e-02  3.465102e-03 -2.563889e-01 -2.563887e-01  1.565589e-07  4.399262e-07
+ 2.268492e-02  4.001000e-03 -2.561837e-01 -2.561836e-01 -3.381226e-06 -3.572999e-06
+ 2.268492e-02  4.473136e-03 -2.559388e-01 -2.559386e-01 -3.154376e-06 -2.645683e-06
+ 2.268492e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.268492e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.000000e-06 -2.559822e-01 -2.559821e-01 -3.226698e-06 -3.360510e-06
+ 2.274127e-02  2.001000e-03 -2.564823e-01 -2.564822e-01  2.097686e-07  3.388037e-07
+ 2.274127e-02  2.829427e-03 -2.564819e-01 -2.564819e-01 -2.509929e-07 -1.692877e-07
+ 2.274127e-02  3.465102e-03 -2.563451e-01 -2.563451e-01 -5.250265e-07 -4.670569e-07
+ 2.274127e-02  4.001000e-03 -2.560301e-01 -2.560270e-01  2.774312e-05  3.297104e-05
+ 2.274127e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  5.292503e-03 -2.554607e-01 -2.554668e-01  7.004234e-05  5.894595e-05
+ 2.274127e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.274127e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.000000e-06 -2.559955e-01 -2.559954e-01 -6.328897e-06 -6.206373e-06
+ 2.279749e-02  2.001000e-03 -2.564782e-01 -2.564781e-01  4.605389e-07  4.284796e-07
+ 2.279749e-02  2.829427e-03 -2.564516e-01 -2.564517e-01  4.614790e-07  5.654938e-07
+ 2.279749e-02  3.465102e-03 -2.562909e-01 -2.562909e-01  7.119814e-06  6.969603e-06
+ 2.279749e-02  4.001000e-03 -2.560791e-01 -2.560804e-01  1.306143e-05  1.048502e-05
+ 2.279749e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.279749e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.000000e-06 -2.559944e-01 -2.559938e-01 -1.048917e-06  1.462934e-08
+ 2.285357e-02  2.001000e-03 -2.564614e-01 -2.564614e-01  2.826451e-07  1.281439e-07
+ 2.285357e-02  2.829427e-03 -2.564103e-01 -2.564103e-01  6.111091e-07  8.323477e-07
+ 2.285357e-02  3.465102e-03 -2.562232e-01 -2.562231e-01 -4.686917e-05 -4.624059e-05
+ 2.285357e-02  4.001000e-03 -2.559322e-01 -2.559318e-01 -2.559322e-01 -2.559318e-01
+ 2.285357e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.285357e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.000000e-06 -2.559847e-01 -2.559842e-01  4.167797e-06  2.638363e-06
+ 2.290951e-02  2.001000e-03 -2.564343e-01 -2.564342e-01  6.230217e-07  4.718595e-07
+ 2.290951e-02  2.829427e-03 -2.563585e-01 -2.563585e-01 -2.840408e-07 -3.726008e-07
+ 2.290951e-02  3.465102e-03 -2.561551e-01 -2.561551e-01 -3.093234e-06 -3.502757e-06
+ 2.290951e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.290951e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.000000e-06 -2.559835e-01 -2.559844e-01  3.254100e-05  3.233339e-05
+ 2.296532e-02  2.001000e-03 -2.563944e-01 -2.563944e-01  1.810859e-07  3.093801e-07
+ 2.296532e-02  2.829427e-03 -2.562989e-01 -2.562989e-01  5.231407e-06  5.261345e-06
+ 2.296532e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.296532e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.000000e-06 -2.559466e-01 -2.559454e-01  4.155649e-06  3.355623e-06
+ 2.302099e-02  2.001000e-03 -2.563432e-01 -2.563431e-01  3.732771e-07  5.851983e-07
+ 2.302099e-02  2.829427e-03 -2.562254e-01 -2.562254e-01 -1.038868e-06 -8.912011e-07
+ 2.302099e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302099e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.000000e-06 -2.558730e-01 -2.558729e-01  1.555268e-05  1.578116e-05
+ 2.307653e-02  2.001000e-03 -2.562830e-01 -2.562832e-01 -3.707047e-07 -6.078643e-07
+ 2.307653e-02  2.829427e-03 -2.561182e-01 -2.561186e-01 -2.998554e-06 -3.588595e-06
+ 2.307653e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.307653e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.000000e-06 -2.558073e-01 -2.558076e-01  1.414581e-05  1.434683e-05
+ 2.313193e-02  2.001000e-03 -2.562229e-01 -2.562232e-01 -3.756636e-05 -3.778507e-05
+ 2.313193e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.313193e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  2.001000e-03 -2.561171e-01 -2.561169e-01 -4.674126e-06 -5.662198e-06
+ 2.318720e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.318720e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.324234e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.329735e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.335223e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.340698e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.346161e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.351610e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.357047e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362472e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.367884e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.373284e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.378671e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.384046e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.389410e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.394761e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.405427e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.410743e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.416047e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421339e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.426620e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.431889e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437147e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.442394e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.447629e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.452854e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.458067e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.463269e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.468460e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.473640e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.483968e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.296248e-02 -2.462859e-01 -3.153204e-01 -2.462859e-01 -3.153204e-01
+ 2.489116e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.489116e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494253e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.499380e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.504496e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.509602e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.514697e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.519783e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.524857e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.529922e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534977e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.540021e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.296248e-02 -2.461269e-01 -3.153535e-01 -2.461269e-01 -3.153535e-01
+ 2.545056e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.545056e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.550080e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.555095e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.560100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.565095e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.570081e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.575056e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.580022e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.584979e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589926e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.594864e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.599792e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.604711e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.609621e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.614522e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.619413e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.624295e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.629168e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.634032e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.638888e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643734e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.648571e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.653400e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658220e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.663031e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.667833e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.672627e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.677412e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.682189e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.686957e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.691717e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696468e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.701211e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.385741e-02 -2.514458e-01 -3.153643e-01  2.309007e-03 -6.835008e-04
+ 2.705946e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.705946e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.710672e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.715390e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.720100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.724802e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.729496e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.734181e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.738859e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.743529e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.748190e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.752844e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.757490e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.762128e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.766759e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.771381e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.775996e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.780604e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.785203e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.789795e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.794380e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798957e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.095545e-02 -2.544198e-01 -3.128423e-01 -2.544198e-01 -3.128423e-01
+ 2.803526e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.803526e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.808089e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812643e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.817191e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.821731e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.826263e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.019904e-02 -2.548776e-01 -2.548864e-01 -1.590353e-04  5.785020e-02
+ 2.830789e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.830789e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.835307e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.839818e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.844322e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848819e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.853309e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.857791e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.866736e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.871197e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.875652e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.884541e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.888975e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.893403e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.897823e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.902237e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.906644e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.911045e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.915439e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.919826e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.924207e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.928581e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.932948e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.937310e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.941664e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.946012e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.950354e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.954690e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.959019e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.963341e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.967658e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.971968e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.976272e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.980570e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.984861e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.989147e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.993426e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.997699e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.001966e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.006227e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.010482e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.014731e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.018974e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.023211e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.027442e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.031667e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.035887e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.040100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.044308e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.048509e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.052705e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.056896e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.061080e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.065259e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.069432e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.073600e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.077761e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.081918e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.086068e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.090213e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.094353e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.098487e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.102615e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.106738e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.110856e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.114968e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.119074e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.123175e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.127271e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.131362e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.135447e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.139527e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.143601e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.147670e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.151734e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.155793e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.159847e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.163895e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.167938e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.171976e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.176009e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.180037e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.184060e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.188077e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.192090e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.196097e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.000000e-06  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  2.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  2.829427e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  3.465102e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  4.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  4.473136e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  4.899979e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  5.292503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  5.657854e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  6.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  6.325555e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  6.634250e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  6.929203e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  7.212103e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  7.484315e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  7.746967e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  8.001000e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  8.247211e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  8.486281e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  8.718798e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  8.945272e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  9.166151e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  9.381832e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  9.592663e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  9.798959e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.019904e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.039330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.058401e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.077133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.095545e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.113653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.131471e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.149013e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.166290e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.183316e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.200100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.216653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.232983e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.249100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.265011e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.280725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.296248e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.311588e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.326750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.341741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.356566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.371231e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.385741e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.400100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.428386e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.442321e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.456122e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.469794e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.483340e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.496763e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.510067e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.523255e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.536329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.549293e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.562150e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.574902e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.587551e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.612552e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.624908e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.637171e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.649342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.661425e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.673420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.685330e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.697156e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.708901e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.720565e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.743660e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.755093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.766452e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.777739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.788954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.800100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.811177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.822187e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.833130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.844009e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.854824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.865576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.876266e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.886896e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.897467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.907978e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.918433e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.928830e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.939172e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.949459e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.959692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.969872e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.979999e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  1.990075e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.200100e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/linlat.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/linlat.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmap/linlat.out	(revision 17)
@@ -0,0 +1,1052 @@
+# TRACY II v. SYNCHROTRON SOLEIL -- linlat.out -- Mon Feb 16 09:22:32 2004 
+#       name           s    alphax  betax   nux   etax   etapx  alphay  betay   nuy   etay   etapy
+#                     [m]            [m]           [m]                   [m]           [m]
+#                     exit        
+   1:debut            0.00   0.002 10.568  0.000  0.203  0.000   0.000  7.968  0.000   4.949e-03   2.989e-04
+   2:sd1a             0.90  -0.083 10.640  0.013  0.203  0.000  -0.111  8.068  0.018   5.218e-03   2.989e-04
+   3:ssep             0.90  -0.083 10.640  0.013  0.203  0.000  -0.111  8.068  0.018   5.218e-03   2.989e-04
+   4:sep              1.10  -0.101 10.677  0.016  0.203  0.000  -0.136  8.117  0.022   5.278e-03   2.989e-04
+   5:sep              1.30  -0.120 10.722  0.019  0.203  0.000  -0.161  8.177  0.026   5.338e-03   2.989e-04
+   6:sep              1.50  -0.139 10.773  0.022  0.203  0.000  -0.186  8.246  0.029   5.398e-03   2.989e-04
+   7:esep             1.50  -0.139 10.773  0.022  0.203  0.000  -0.186  8.246  0.029   5.398e-03   2.989e-04
+   8:sd1c             5.20  -0.486 13.084  0.073  0.203  0.000  -0.646 11.323  0.092   6.504e-03   2.989e-04
+   9:ehu600           5.20  -0.486 13.084  0.073  0.203  0.000  -0.646 11.323  0.092   6.504e-03   2.989e-04
+  10:sd1d             6.00  -0.560 13.921  0.082  0.203  0.000  -0.745 12.436  0.102   6.743e-03   2.989e-04
+  11:qp1              6.16  -3.306 14.533  0.084  0.206  0.039   1.593 12.299  0.104   6.687e-03  -9.949e-04
+  12:qp1              6.32  -6.456 16.079  0.085  0.216  0.079   3.739 11.437  0.107   6.426e-03  -2.259e-03
+  13:sd2              6.71  -7.492 21.519  0.089  0.246  0.079   3.228  8.720  0.113   5.545e-03  -2.259e-03
+  14:sx1              6.71  -7.492 21.519  0.089  0.246  0.079   3.228  8.720  0.113   5.545e-03  -2.259e-03
+  15:sd3              6.91  -8.022 24.622  0.090  0.262  0.079   2.967  7.480  0.117   5.093e-03  -2.259e-03
+  16:qp2              7.14   1.929 26.067  0.091  0.268 -0.026   0.076  6.801  0.122   4.816e-03  -1.661e-04
+  17:qp2              7.37  11.203 22.952  0.093  0.250 -0.129  -2.787  7.406  0.127   5.015e-03   1.908e-03
+  18:sd14             7.96   7.951 11.652  0.099  0.174 -0.129  -3.484 11.106  0.137   6.141e-03   1.908e-03
+  19:qp3              8.12   5.999  9.433  0.101  0.155 -0.110  -2.285 12.035  0.140   6.391e-03   1.207e-03
+  20:qp3              8.28   4.489  7.765  0.104  0.138 -0.094  -0.919 12.551  0.142   6.526e-03   4.821e-04
+  21:sd5              8.48   3.945  6.078  0.109  0.120 -0.094  -0.948 12.924  0.144   6.622e-03   4.821e-04
+  22:sx2              8.48   3.945  6.078  0.109  0.120 -0.094  -0.948 12.924  0.144   6.622e-03   4.821e-04
+  23:sd6              9.27   1.793  1.545  0.150  0.046 -0.094  -1.063 14.513  0.153   7.003e-03   4.821e-04
+  24:bend2            9.45   1.305  1.007  0.172  0.032 -0.060  -0.816 14.796  0.155   7.065e-03   3.534e-04
+  25:bend3            9.62   0.839  0.630  0.208  0.025 -0.028  -0.836 15.086  0.157   7.127e-03   3.534e-04
+  26:bend3            9.80   0.370  0.418  0.263  0.023  0.005  -0.856 15.383  0.159   7.189e-03   3.534e-04
+  27:bend3            9.97  -0.101  0.371  0.336  0.026  0.038  -0.875 15.686  0.161   7.251e-03   3.534e-04
+  28:bend3           10.15  -0.572  0.489  0.403  0.036  0.070  -0.895 15.997  0.162   7.313e-03   3.534e-04
+  29:bend4           10.32  -1.054  0.772  0.449  0.051  0.103  -0.615 16.314  0.164   7.375e-03   2.179e-04
+  30:sd7             10.76  -2.252  2.227  0.503  0.097  0.103  -0.652 16.872  0.168   7.471e-03   2.179e-04
+  31:qp4             10.92  -3.370  3.116  0.513  0.115  0.127   3.056 16.482  0.170   7.375e-03  -1.419e-03
+  32:qp4             11.08  -4.974  4.436  0.520  0.137  0.155   6.332 14.962  0.171   7.020e-03  -3.001e-03
+  33:sd8             11.28  -6.135  6.658  0.525  0.168  0.155   5.783 12.539  0.174   6.420e-03  -3.001e-03
+  34:sx3             11.28  -6.135  6.658  0.525  0.168  0.155   5.783 12.539  0.174   6.420e-03  -3.001e-03
+  35:sd9             11.76  -8.899 13.819  0.533  0.242  0.155   4.475  7.653  0.181   4.990e-03  -3.001e-03
+  36:qp5             11.92  -4.902 16.063  0.535  0.261  0.079   2.070  6.622  0.185   4.634e-03  -1.471e-03
+  37:qp5             12.08   0.029 16.856  0.537  0.267 -0.002   0.073  6.285  0.189   4.516e-03  -9.306e-06
+  38:sd12            12.55   0.002 16.841  0.541  0.266 -0.002  -0.001  6.251  0.201   4.511e-03  -9.306e-06
+  39:sx4             12.55   0.002 16.841  0.541  0.266 -0.002  -0.001  6.251  0.201   4.511e-03  -9.306e-06
+  40:sd10            13.02  -0.026 16.853  0.545  0.266 -0.002  -0.076  6.287  0.213   4.507e-03  -9.306e-06
+  41:qp5             13.18   4.904 16.059  0.547  0.259 -0.081  -2.074  6.625  0.217   4.628e-03   1.531e-03
+  42:qp5             13.34   8.899 13.815  0.549  0.240 -0.157  -4.480  7.657  0.220   5.000e-03   3.137e-03
+  43:sd9             13.82   6.134  6.653  0.556  0.165 -0.157  -5.789 12.549  0.228   6.495e-03   3.137e-03
+  44:sx3             13.82   6.134  6.653  0.556  0.165 -0.157  -5.789 12.549  0.228   6.495e-03   3.137e-03
+  45:sd8             14.02   4.974  4.432  0.562  0.134 -0.157  -6.339 14.974  0.230   7.122e-03   3.137e-03
+  46:qp4             14.18   3.369  3.113  0.569  0.111 -0.130  -3.060 16.496  0.232   7.495e-03   1.505e-03
+  47:qp4             14.34   2.252  2.224  0.579  0.092 -0.107   0.651 16.887  0.233   7.601e-03  -1.809e-04
+  48:sd7             14.78   1.053  0.769  0.633  0.044 -0.107   0.614 16.330  0.238   7.521e-03  -1.809e-04
+  49:bend2           14.95   0.570  0.487  0.679  0.029 -0.074   0.894 16.013  0.239   7.465e-03  -3.191e-04
+  50:bend3           15.13   0.099  0.369  0.746  0.018 -0.042   0.875 15.703  0.241   7.409e-03  -3.191e-04
+  51:bend3           15.30  -0.372  0.417  0.820  0.014 -0.009   0.855 15.399  0.243   7.353e-03  -3.191e-04
+  52:bend3           15.48  -0.842  0.630  0.875  0.015  0.024   0.836 15.103  0.245   7.297e-03  -3.191e-04
+  53:bend3           15.65  -1.308  1.008  0.910  0.022  0.056   0.816 14.813  0.247   7.241e-03  -3.191e-04
+  54:bend4           15.83  -1.797  1.547  0.932  0.035  0.089   1.063 14.530  0.248   7.185e-03  -4.511e-04
+  55:sd7             16.27  -2.996  3.657  0.962  0.074  0.089   0.999 13.622  0.253   6.987e-03  -4.511e-04
+  56:qp6             16.43  -4.281  4.810  0.968  0.090  0.104   3.311 12.926  0.255   6.817e-03  -1.670e-03
+  57:qp6             16.59  -6.060  6.449  0.972  0.108  0.122   5.247 11.544  0.257   6.455e-03  -2.837e-03
+  58:sd5             16.79  -7.230  9.107  0.976  0.132  0.122   4.753  9.544  0.260   5.888e-03  -2.837e-03
+  59:sx5             16.79  -7.230  9.107  0.976  0.132  0.122   4.753  9.544  0.260   5.888e-03  -2.837e-03
+  60:sd4             17.18  -9.510 15.635  0.982  0.180  0.122   3.789  6.212  0.268   4.781e-03  -2.837e-03
+  61:qp7             17.41  -1.244 18.210  0.984  0.197  0.025   0.678  5.223  0.275   4.409e-03  -4.335e-04
+  62:qp7             17.64   7.584 16.692  0.986  0.191 -0.075  -2.102  5.538  0.282   4.578e-03   1.921e-03
+  63:sd3             17.84   6.883 13.799  0.988  0.176 -0.075  -2.298  6.418  0.287   4.962e-03   1.921e-03
+  64:sx6             17.84   6.883 13.799  0.988  0.176 -0.075  -2.298  6.418  0.287   4.962e-03   1.921e-03
+  65:sd2             18.23   5.516  8.963  0.993  0.147 -0.075  -2.678  8.359  0.296   5.712e-03   1.921e-03
+  66:qp8             18.39   2.914  7.634  0.997  0.138 -0.036  -0.389  8.857  0.298   5.885e-03   2.433e-04
+  67:qp8             18.55   0.827  7.044  1.000  0.135  0.001   1.967  8.601  0.301   5.789e-03  -1.441e-03
+  68:sd13c           19.28   0.653  5.960  1.018  0.135  0.001   1.553  6.022  0.317   4.733e-03  -1.441e-03
+  69:ssdm            19.28   0.653  5.960  1.018  0.135  0.001   1.553  6.022  0.317   4.733e-03  -1.441e-03
+  70:sd13a           19.48   0.606  5.708  1.023  0.136  0.001   1.441  5.423  0.323   4.445e-03  -1.441e-03
+  71:sd13a           19.68   0.558  5.475  1.029  0.136  0.001   1.328  4.869  0.329   4.157e-03  -1.441e-03
+  72:sd13a           19.88   0.511  5.262  1.035  0.136  0.001   1.215  4.361  0.336   3.868e-03  -1.441e-03
+  73:sd13a           20.08   0.463  5.067  1.041  0.136  0.001   1.102  3.898  0.344   3.580e-03  -1.441e-03
+  74:sd13a           20.28   0.416  4.891  1.047  0.136  0.001   0.989  3.480  0.352   3.292e-03  -1.441e-03
+  75:sd13a           20.48   0.368  4.734  1.054  0.136  0.001   0.876  3.107  0.362   3.004e-03  -1.441e-03
+  76:sd13a           20.68   0.321  4.597  1.061  0.136  0.001   0.763  2.779  0.373   2.715e-03  -1.441e-03
+  77:sd13a           20.88   0.273  4.478  1.068  0.137  0.001   0.650  2.497  0.385   2.427e-03  -1.441e-03
+  78:sd13a           21.08   0.226  4.378  1.075  0.137  0.001   0.537  2.259  0.398   2.139e-03  -1.441e-03
+  79:sd13a           21.28   0.178  4.297  1.082  0.137  0.001   0.424  2.067  0.413   1.850e-03  -1.441e-03
+  80:sd13a           21.48   0.131  4.236  1.090  0.137  0.001   0.311  1.920  0.429   1.562e-03  -1.441e-03
+  81:sd13a           21.68   0.083  4.193  1.097  0.137  0.001   0.198  1.819  0.446   1.274e-03  -1.441e-03
+  82:sd13a           21.88   0.036  4.169  1.105  0.137  0.001   0.085  1.762  0.463   9.855e-04  -1.441e-03
+  83:sd13b           22.03   0.000  4.164  1.110  0.137  0.001  -0.000  1.750  0.477   7.693e-04  -1.441e-03
+  84:sd13b           22.18  -0.035  4.169  1.116  0.137  0.001  -0.085  1.762  0.490   5.530e-04  -1.441e-03
+  85:sd13a           22.38  -0.083  4.193  1.124  0.138  0.001  -0.198  1.819  0.508   2.648e-04  -1.441e-03
+  86:sd13a           22.58  -0.130  4.235  1.131  0.138  0.001  -0.311  1.921  0.525  -2.354e-05  -1.441e-03
+  87:sd13a           22.78  -0.178  4.297  1.139  0.138  0.001  -0.424  2.067  0.541  -3.118e-04  -1.441e-03
+  88:sd13a           22.98  -0.225  4.377  1.146  0.138  0.001  -0.537  2.259  0.556  -6.001e-04  -1.441e-03
+  89:sd13a           23.18  -0.273  4.477  1.153  0.138  0.001  -0.650  2.497  0.569  -8.884e-04  -1.441e-03
+  90:sd13a           23.38  -0.320  4.596  1.160  0.138  0.001  -0.763  2.779  0.581  -1.177e-03  -1.441e-03
+  91:sd13a           23.58  -0.368  4.733  1.167  0.138  0.001  -0.876  3.107  0.592  -1.465e-03  -1.441e-03
+  92:sd13a           23.78  -0.415  4.890  1.173  0.138  0.001  -0.989  3.480  0.601  -1.753e-03  -1.441e-03
+  93:sd13a           23.98  -0.463  5.066  1.180  0.139  0.001  -1.102  3.898  0.610  -2.042e-03  -1.441e-03
+  94:sd13a           24.18  -0.510  5.260  1.186  0.139  0.001  -1.215  4.361  0.618  -2.330e-03  -1.441e-03
+  95:sd13a           24.38  -0.558  5.474  1.192  0.139  0.001  -1.328  4.869  0.625  -2.618e-03  -1.441e-03
+  96:sd13a           24.58  -0.605  5.706  1.197  0.139  0.001  -1.441  5.423  0.631  -2.906e-03  -1.441e-03
+  97:sd13a           24.78  -0.653  5.958  1.203  0.139  0.001  -1.554  6.022  0.636  -3.195e-03  -1.441e-03
+  98:esdm            24.78  -0.653  5.958  1.203  0.139  0.001  -1.554  6.022  0.636  -3.195e-03  -1.441e-03
+  99:eesdm           24.78  -0.653  5.958  1.203  0.139  0.001  -1.554  6.022  0.636  -3.195e-03  -1.441e-03
+ 100:sd13c           25.51  -0.827  7.041  1.221  0.140  0.001  -1.967  8.601  0.652  -4.251e-03  -1.441e-03
+ 101:qp8             25.67  -2.913  7.631  1.224  0.143  0.039   0.389  8.857  0.655  -4.393e-03  -3.347e-04
+ 102:qp8             25.83  -5.514  8.960  1.227  0.152  0.079   2.679  8.359  0.658  -4.357e-03   7.833e-04
+ 103:sd2             26.22  -6.881 13.794  1.233  0.183  0.079   2.298  6.419  0.667  -4.052e-03   7.833e-04
+ 104:sx8             26.22  -6.881 13.794  1.233  0.183  0.079   2.298  6.419  0.667  -4.052e-03   7.833e-04
+ 105:sd3             26.42  -7.582 16.687  1.235  0.199  0.079   2.102  5.539  0.672  -3.895e-03   7.833e-04
+ 106:qp7             26.65   1.243 18.205  1.237  0.205 -0.025  -0.678  5.223  0.679  -3.945e-03  -1.219e-03
+ 107:qp7             26.88   9.507 15.631  1.239  0.187 -0.126  -3.788  6.212  0.685  -4.467e-03  -3.364e-03
+ 108:sd4             27.27   7.227  9.104  1.244  0.138 -0.126  -4.751  9.542  0.693  -5.779e-03  -3.364e-03
+ 109:sx7             27.27   7.227  9.104  1.244  0.138 -0.126  -4.751  9.542  0.693  -5.779e-03  -3.364e-03
+ 110:sd5             27.47   6.058  6.447  1.248  0.113 -0.126  -5.245 11.541  0.696  -6.452e-03  -3.364e-03
+ 111:qp6             27.63   4.279  4.809  1.253  0.094 -0.108  -3.309 12.923  0.698  -6.896e-03  -2.175e-03
+ 112:qp6             27.79   2.995  3.656  1.259  0.079 -0.092  -0.998 13.619  0.700  -7.144e-03  -9.218e-04
+ 113:sd7             28.23   1.797  1.548  1.289  0.038 -0.092  -1.062 14.526  0.705  -7.550e-03  -9.218e-04
+ 114:bend2           28.41   1.308  1.008  1.311  0.025 -0.059  -0.815 14.808  0.707  -7.687e-03  -7.831e-04
+ 115:bend3           28.58   0.842  0.631  1.346  0.017 -0.026  -0.834 15.097  0.709  -7.825e-03  -7.831e-04
+ 116:bend3           28.76   0.372  0.418  1.401  0.016  0.006  -0.854 15.393  0.711  -7.962e-03  -7.831e-04
+ 117:bend3           28.93  -0.099  0.370  1.474  0.020  0.039  -0.874 15.696  0.713  -8.099e-03  -7.831e-04
+ 118:bend3           29.11  -0.569  0.487  1.542  0.029  0.072  -0.893 16.006  0.714  -8.237e-03  -7.831e-04
+ 119:bend4           29.29  -1.052  0.769  1.588  0.045  0.105  -0.613 16.323  0.716  -8.374e-03  -6.292e-04
+ 120:sd7             29.73  -2.250  2.222  1.642  0.091  0.105  -0.649 16.878  0.720  -8.651e-03  -6.292e-04
+ 121:qp9             29.89  -3.514  3.131  1.652  0.110  0.132   3.824 16.363  0.722  -8.564e-03   1.707e-03
+ 122:qp9             30.05  -5.394  4.536  1.658  0.133  0.165   7.645 14.501  0.723  -8.108e-03   3.971e-03
+ 123:sd8             30.25  -6.721  6.959  1.664  0.166  0.165   6.826 11.607  0.726  -7.314e-03   3.971e-03
+ 124:sx9             30.25  -6.721  6.959  1.664  0.166  0.165   6.826 11.607  0.726  -7.314e-03   3.971e-03
+ 125:sd9             30.72  -9.881 14.867  1.671  0.245  0.165   4.873  6.034  0.735  -5.423e-03   3.971e-03
+ 126:qp10            30.88  -5.418 17.357  1.673  0.265  0.084   2.734  4.837  0.740  -4.935e-03   2.156e-03
+ 127:qp10            31.04   0.115 18.220  1.674  0.272 -0.000   1.154  4.225  0.745  -4.728e-03   4.400e-04
+ 128:sd8             31.24   0.104 18.176  1.676  0.272 -0.000   1.044  3.786  0.753  -4.640e-03   4.400e-04
+ 129:sx10            31.24   0.104 18.176  1.676  0.272 -0.000   1.044  3.786  0.753  -4.640e-03   4.400e-04
+ 130:sdac1           32.25   0.049 18.023  1.685  0.271 -0.000   0.493  2.241  0.809  -4.198e-03   4.400e-04
+ 131:ssdac           32.25   0.049 18.023  1.685  0.271 -0.000   0.493  2.241  0.809  -4.198e-03   4.400e-04
+ 132:sdac2           32.45   0.038 18.006  1.687  0.271 -0.000   0.383  2.066  0.824  -4.110e-03   4.400e-04
+ 133:sdac2           32.65   0.027 17.993  1.688  0.271 -0.000   0.273  1.935  0.839  -4.022e-03   4.400e-04
+ 134:sdac2           32.85   0.016 17.985  1.690  0.271 -0.000   0.164  1.847  0.856  -3.934e-03   4.400e-04
+ 135:sdac2           33.05   0.005 17.981  1.692  0.271 -0.000   0.054  1.804  0.873  -3.846e-03   4.400e-04
+ 136:sdac2           33.25  -0.006 17.981  1.694  0.271 -0.000  -0.056  1.804  0.891  -3.758e-03   4.400e-04
+ 137:sdac2           33.45  -0.017 17.986  1.695  0.271 -0.000  -0.165  1.848  0.908  -3.670e-03   4.400e-04
+ 138:sdac2           33.65  -0.028 17.995  1.697  0.271 -0.000  -0.275  1.936  0.925  -3.582e-03   4.400e-04
+ 139:sdac2           33.85  -0.039 18.008  1.699  0.271 -0.000  -0.385  2.069  0.941  -3.494e-03   4.400e-04
+ 140:sdac2           34.05  -0.050 18.026  1.701  0.271 -0.000  -0.495  2.244  0.956  -3.406e-03   4.400e-04
+ 141:esdac           34.05  -0.050 18.026  1.701  0.271 -0.000  -0.495  2.244  0.956  -3.406e-03   4.400e-04
+ 142:sdac1           35.05  -0.105 18.183  1.709  0.271 -0.000  -1.046  3.792  1.011  -2.964e-03   4.400e-04
+ 143:sx10            35.05  -0.105 18.183  1.709  0.271 -0.000  -1.046  3.792  1.011  -2.964e-03   4.400e-04
+ 144:sd8             35.25  -0.116 18.227  1.711  0.271 -0.000  -1.156  4.233  1.019  -2.876e-03   4.400e-04
+ 145:qp10            35.41   5.419 17.364  1.713  0.264 -0.084  -2.738  4.846  1.025  -2.864e-03  -2.912e-04
+ 146:qp10            35.57   9.883 14.874  1.714  0.244 -0.165  -4.881  6.045  1.029  -2.970e-03  -1.045e-03
+ 147:sd9             36.05   6.723  6.964  1.722  0.166 -0.165  -6.836 11.626  1.038  -3.468e-03  -1.045e-03
+ 148:sx9             36.05   6.723  6.964  1.722  0.166 -0.165  -6.836 11.626  1.038  -3.468e-03  -1.045e-03
+ 149:sd8             36.25   5.397  4.539  1.727  0.133 -0.165  -7.657 14.524  1.041  -3.677e-03  -1.045e-03
+ 150:qp9             36.41   3.516  3.134  1.734  0.109 -0.132  -3.829 16.389  1.043  -3.765e-03  -5.265e-05
+ 151:qp9             36.57   2.251  2.224  1.744  0.090 -0.105   0.651 16.905  1.044  -3.694e-03   9.453e-04
+ 152:sd7             37.01   1.053  0.770  1.798  0.044 -0.105   0.615 16.347  1.048  -3.278e-03   9.453e-04
+ 153:bend2           37.18   0.571  0.488  1.844  0.028 -0.072   0.896 16.030  1.050  -3.101e-03   1.005e-03
+ 154:bend3           37.36   0.101  0.370  1.911  0.019 -0.039   0.876 15.719  1.052  -2.925e-03   1.005e-03
+ 155:bend3           37.53  -0.370  0.417  1.984  0.015 -0.007   0.856 15.415  1.053  -2.749e-03   1.005e-03
+ 156:bend3           37.71  -0.840  0.629  2.039  0.016  0.026   0.837 15.118  1.055  -2.572e-03   1.005e-03
+ 157:bend3           37.88  -1.305  1.006  2.075  0.024  0.059   0.817 14.828  1.057  -2.396e-03   1.005e-03
+ 158:bend4           38.06  -1.794  1.545  2.097  0.037  0.092   1.065 14.545  1.059  -2.220e-03   1.046e-03
+ 159:sd7             38.50  -2.992  3.650  2.126  0.077  0.092   1.001 13.636  1.064  -1.759e-03   1.046e-03
+ 160:qp6             38.66  -4.274  4.802  2.132  0.093  0.107   3.315 12.939  1.066  -1.568e-03   1.340e-03
+ 161:qp6             38.82  -6.051  6.438  2.137  0.112  0.125   5.253 11.555  1.068  -1.333e-03   1.594e-03
+ 162:sd5             39.02  -7.219  9.092  2.141  0.137  0.125   4.758  9.553  1.071  -1.014e-03   1.594e-03
+ 163:sx7             39.02  -7.219  9.092  2.141  0.137  0.125   4.758  9.553  1.071  -1.014e-03   1.594e-03
+ 164:sd4             39.41  -9.497 15.611  2.146  0.186  0.125   3.793  6.218  1.079  -3.922e-04   1.594e-03
+ 165:qp7             39.64  -1.244 18.183  2.148  0.203  0.025   0.681  5.227  1.085  -1.544e-05   1.718e-03
+ 166:qp7             39.87   7.570 16.668  2.151  0.197 -0.078  -2.100  5.542  1.092   4.141e-04   2.053e-03
+ 167:sd3             40.07   6.870 13.780  2.153  0.182 -0.078  -2.295  6.421  1.098   8.246e-04   2.053e-03
+ 168:sx8             40.07   6.870 13.780  2.153  0.182 -0.078  -2.295  6.421  1.098   8.246e-04   2.053e-03
+ 169:sd2             40.46   5.506  8.953  2.158  0.151 -0.078  -2.675  8.359  1.106   1.625e-03   2.053e-03
+ 170:qp8             40.62   2.908  7.626  2.161  0.142 -0.038  -0.386  8.856  1.109   1.909e-03   1.485e-03
+ 171:qp8             40.78   0.824  7.038  2.165  0.139 -0.000   1.969  8.599  1.112   2.097e-03   8.564e-04
+ 172:sd13c           41.51   0.651  5.957  2.183  0.139 -0.000   1.555  6.018  1.128   2.724e-03   8.564e-04
+ 173:sd13a           41.71   0.603  5.707  2.188  0.139 -0.000   1.441  5.419  1.134   2.896e-03   8.564e-04
+ 174:sd13a           41.91   0.556  5.475  2.194  0.139 -0.000   1.328  4.865  1.140   3.067e-03   8.564e-04
+ 175:sd13a           42.11   0.508  5.262  2.200  0.139 -0.000   1.215  4.356  1.147   3.238e-03   8.564e-04
+ 176:sd13a           42.31   0.461  5.068  2.206  0.139 -0.000   1.102  3.893  1.154   3.410e-03   8.564e-04
+ 177:sd13a           42.51   0.414  4.893  2.212  0.139 -0.000   0.989  3.475  1.163   3.581e-03   8.564e-04
+ 178:sd13a           42.71   0.366  4.737  2.219  0.139 -0.000   0.876  3.102  1.173   3.752e-03   8.564e-04
+ 179:sd13a           42.91   0.319  4.600  2.226  0.139 -0.000   0.763  2.774  1.183   3.923e-03   8.564e-04
+ 180:sd13a           43.11   0.272  4.482  2.232  0.139 -0.000   0.649  2.492  1.195   4.095e-03   8.564e-04
+ 181:sd13a           43.31   0.224  4.383  2.240  0.139 -0.000   0.536  2.255  1.209   4.266e-03   8.564e-04
+ 182:sd13a           43.51   0.177  4.303  2.247  0.139 -0.000   0.423  2.063  1.223   4.437e-03   8.564e-04
+ 183:sd13a           43.71   0.129  4.241  2.254  0.139 -0.000   0.310  1.916  1.239   4.609e-03   8.564e-04
+ 184:sd13a           43.91   0.082  4.199  2.262  0.139 -0.000   0.197  1.815  1.256   4.780e-03   8.564e-04
+ 185:sd13a           44.11   0.035  4.176  2.269  0.139 -0.000   0.084  1.759  1.274   4.951e-03   8.564e-04
+ 186:sd13b           44.26  -0.001  4.171  2.275  0.139 -0.000  -0.001  1.746  1.288   5.080e-03   8.564e-04
+ 187:sd13b           44.41  -0.036  4.176  2.281  0.139 -0.000  -0.086  1.759  1.301   5.208e-03   8.564e-04
+ 188:sd13a           44.61  -0.084  4.200  2.288  0.139 -0.000  -0.199  1.816  1.319   5.379e-03   8.564e-04
+ 189:sd13a           44.81  -0.131  4.243  2.296  0.139 -0.000  -0.312  1.919  1.336   5.551e-03   8.564e-04
+ 190:sd13a           45.01  -0.178  4.305  2.303  0.139 -0.000  -0.425  2.066  1.352   5.722e-03   8.564e-04
+ 191:sd13a           45.21  -0.226  4.386  2.310  0.139 -0.000  -0.539  2.259  1.367   5.893e-03   8.564e-04
+ 192:sd13a           45.41  -0.273  4.486  2.318  0.139 -0.000  -0.652  2.497  1.380   6.064e-03   8.564e-04
+ 193:sd13a           45.61  -0.321  4.604  2.325  0.139 -0.000  -0.765  2.780  1.392   6.236e-03   8.564e-04
+ 194:sd13a           45.81  -0.368  4.742  2.331  0.139 -0.000  -0.878  3.109  1.403   6.407e-03   8.564e-04
+ 195:sd13a           46.01  -0.415  4.899  2.338  0.139 -0.000  -0.991  3.483  1.412   6.578e-03   8.564e-04
+ 196:sd13a           46.21  -0.463  5.074  2.344  0.139 -0.000  -1.104  3.902  1.421   6.750e-03   8.564e-04
+ 197:sd13a           46.41  -0.510  5.269  2.350  0.139 -0.000  -1.217  4.366  1.429   6.921e-03   8.564e-04
+ 198:sd13a           46.61  -0.557  5.482  2.356  0.139 -0.000  -1.331  4.876  1.435   7.092e-03   8.564e-04
+ 199:sd13a           46.81  -0.605  5.715  2.362  0.139 -0.000  -1.444  5.430  1.442   7.263e-03   8.564e-04
+ 200:sd13a           47.01  -0.652  5.966  2.367  0.139 -0.000  -1.557  6.031  1.447   7.435e-03   8.564e-04
+ 201:sd13c           47.74  -0.826  7.049  2.385  0.139 -0.000  -1.971  8.615  1.463   8.062e-03   8.564e-04
+ 202:qp8             47.90  -2.914  7.639  2.389  0.142  0.038   0.389  8.872  1.466   8.029e-03  -1.266e-03
+ 203:qp8             48.06  -5.517  8.968  2.392  0.151  0.078   2.682  8.373  1.469   7.660e-03  -3.329e-03
+ 204:sd2             48.45  -6.884 13.805  2.397  0.181  0.078   2.301  6.430  1.477   6.362e-03  -3.329e-03
+ 205:sx8             48.45  -6.884 13.805  2.397  0.181  0.078   2.301  6.430  1.477   6.362e-03  -3.329e-03
+ 206:sd3             48.65  -7.585 16.699  2.399  0.197  0.078   2.106  5.548  1.483   5.696e-03  -3.329e-03
+ 207:qp7             48.88   1.246 18.216  2.401  0.203 -0.025  -0.679  5.233  1.490   5.243e-03  -6.447e-04
+ 208:qp7             49.11   9.515 15.640  2.404  0.186 -0.125  -3.796  6.223  1.496   5.394e-03   1.966e-03
+ 209:sd4             49.50   7.233  9.108  2.409  0.137 -0.125  -4.761  9.561  1.504   6.160e-03   1.966e-03
+ 210:sx7             49.50   7.233  9.108  2.409  0.137 -0.125  -4.761  9.561  1.504   6.160e-03   1.966e-03
+ 211:sd5             49.70   6.062  6.449  2.413  0.112 -0.125  -5.256 11.564  1.507   6.553e-03   1.966e-03
+ 212:qp6             49.86   4.282  4.809  2.417  0.093 -0.107  -3.316 12.949  1.509   6.773e-03   7.714e-04
+ 213:qp6             50.02   2.998  3.656  2.424  0.077 -0.092  -1.000 13.646  1.511   6.799e-03  -4.450e-04
+ 214:sd7             50.46   1.797  1.546  2.453  0.037 -0.092  -1.064 14.554  1.516   6.603e-03  -4.450e-04
+ 215:bend2           50.64   1.308  1.006  2.475  0.024 -0.059  -0.817 14.837  1.518   6.504e-03  -5.664e-04
+ 216:bend3           50.82   0.841  0.629  2.510  0.016 -0.026  -0.836 15.127  1.520   6.405e-03  -5.664e-04
+ 217:bend3           50.99   0.371  0.417  2.566  0.015  0.007  -0.856 15.424  1.522   6.305e-03  -5.664e-04
+ 218:bend3           51.17  -0.101  0.369  2.639  0.019  0.039  -0.875 15.728  1.523   6.206e-03  -5.664e-04
+ 219:bend3           51.34  -0.573  0.487  2.706  0.028  0.072  -0.895 16.038  1.525   6.107e-03  -5.664e-04
+ 220:bend4           51.52  -1.056  0.771  2.752  0.044  0.105  -0.614 16.355  1.527   6.007e-03  -6.767e-04
+ 221:sd7             51.96  -2.256  2.228  2.807  0.090  0.105  -0.651 16.912  1.531   5.710e-03  -6.767e-04
+ 222:qp9             52.12  -3.523  3.139  2.816  0.109  0.132   3.832 16.395  1.532   5.485e-03  -2.116e-03
+ 223:qp9             52.28  -5.408  4.548  2.823  0.133  0.165   7.661 14.530  1.534   5.038e-03  -3.448e-03
+ 224:sd8             52.48  -6.737  6.977  2.829  0.166  0.165   6.839 11.630  1.537   4.348e-03  -3.448e-03
+ 225:sx9             52.48  -6.737  6.977  2.829  0.166  0.165   6.839 11.630  1.537   4.348e-03  -3.448e-03
+ 226:sd9             52.95  -9.903 14.903  2.836  0.244  0.165   4.883  6.046  1.546   2.706e-03  -3.448e-03
+ 227:qp10            53.11  -5.430 17.399  2.837  0.264  0.085   2.740  4.846  1.550   2.209e-03  -2.797e-03
+ 228:qp10            53.27   0.116 18.264  2.839  0.271  0.000   1.158  4.233  1.556   1.803e-03  -2.293e-03
+ 229:sd8             53.47   0.105 18.219  2.841  0.271  0.000   1.048  3.792  1.564   1.344e-03  -2.293e-03
+ 230:sx10            53.47   0.105 18.219  2.841  0.271  0.000   1.048  3.792  1.564   1.344e-03  -2.293e-03
+ 231:sdac            55.38   0.000 18.020  2.857  0.271  0.000   0.000  1.796  1.693  -3.023e-03  -2.293e-03
+ 232:sdac            57.28  -0.104 18.217  2.874  0.272  0.000  -1.047  3.790  1.822  -7.391e-03  -2.293e-03
+ 233:sx10            57.28  -0.104 18.217  2.874  0.272  0.000  -1.047  3.790  1.822  -7.391e-03  -2.293e-03
+ 234:sd8             57.48  -0.115 18.261  2.876  0.272  0.000  -1.157  4.231  1.830  -7.850e-03  -2.293e-03
+ 235:qp10            57.64   5.430 17.396  2.877  0.265 -0.084  -2.739  4.844  1.836  -8.415e-03  -4.804e-03
+ 236:qp10            57.80   9.902 14.901  2.879  0.245 -0.165  -4.881  6.044  1.840  -9.400e-03  -7.558e-03
+ 237:sd9             58.28   6.736  6.976  2.886  0.166 -0.165  -6.837 11.625  1.849  -1.300e-02  -7.558e-03
+ 238:sx9             58.28   6.736  6.976  2.886  0.166 -0.165  -6.837 11.625  1.849  -1.300e-02  -7.558e-03
+ 239:sd8             58.48   5.407  4.547  2.892  0.134 -0.165  -7.658 14.524  1.852  -1.451e-02  -7.558e-03
+ 240:qp9             58.64   3.522  3.139  2.898  0.110 -0.132  -3.830 16.389  1.853  -1.540e-02  -3.515e-03
+ 241:qp9             58.80   2.256  2.227  2.908  0.091 -0.105   0.650 16.906  1.855  -1.563e-02   6.807e-04
+ 242:sd7             59.24   1.055  0.770  2.962  0.045 -0.105   0.613 16.350  1.859  -1.533e-02   6.807e-04
+ 243:bend2           59.41   0.572  0.487  3.008  0.029 -0.072   0.894 16.033  1.861  -1.516e-02   9.624e-04
+ 244:bend3           59.59   0.101  0.369  3.076  0.020 -0.039   0.875 15.722  1.863  -1.499e-02   9.624e-04
+ 245:bend3           59.77  -0.371  0.416  3.149  0.016 -0.006   0.855 15.419  1.864  -1.482e-02   9.624e-04
+ 246:bend3           59.94  -0.841  0.629  3.204  0.017  0.026   0.836 15.122  1.866  -1.465e-02   9.624e-04
+ 247:bend3           60.12  -1.308  1.006  3.239  0.025  0.059   0.816 14.833  1.868  -1.448e-02   9.624e-04
+ 248:bend4           60.29  -1.798  1.546  3.262  0.038  0.092   1.064 14.550  1.870  -1.432e-02   1.225e-03
+ 249:sd7             60.73  -2.998  3.656  3.291  0.079  0.092   1.000 13.642  1.875  -1.378e-02   1.225e-03
+ 250:qp6             60.89  -4.283  4.810  3.297  0.094  0.107   3.315 12.945  1.877  -1.339e-02   3.656e-03
+ 251:qp6             61.05  -6.063  6.450  3.302  0.113  0.126   5.254 11.561  1.879  -1.261e-02   5.982e-03
+ 252:sd5             61.25  -7.234  9.109  3.306  0.138  0.126   4.759  9.558  1.882  -1.142e-02   5.982e-03
+ 253:sx7             61.25  -7.234  9.109  3.306  0.138  0.126   4.759  9.558  1.882  -1.142e-02   5.982e-03
+ 254:sd4             61.64  -9.516 15.642  3.311  0.187  0.126   3.795  6.222  1.890  -9.083e-03   5.982e-03
+ 255:qp7             61.87  -1.247 18.219  3.313  0.205  0.025   0.679  5.231  1.896  -8.227e-03   1.537e-03
+ 256:qp7             62.10   7.585 16.701  3.315  0.199 -0.079  -2.105  5.547  1.903  -8.362e-03  -2.727e-03
+ 257:sd3             62.30   6.884 13.807  3.317  0.183 -0.079  -2.300  6.428  1.909  -8.908e-03  -2.727e-03
+ 258:sx8             62.30   6.884 13.807  3.317  0.183 -0.079  -2.300  6.428  1.909  -8.908e-03  -2.727e-03
+ 259:sd2             62.69   5.518  8.970  3.323  0.152 -0.079  -2.681  8.371  1.917  -9.971e-03  -2.727e-03
+ 260:qp8             62.85   2.914  7.640  3.326  0.143 -0.039  -0.389  8.869  1.920  -1.018e-02   1.499e-04
+ 261:qp8             63.01   0.826  7.050  3.329  0.140 -0.001   1.970  8.612  1.923  -9.924e-03   3.015e-03
+ 262:sd13            66.49   0.002  4.167  3.439  0.137 -0.001   0.002  1.746  2.098   5.768e-04   3.015e-03
+ 263:sd13            69.98  -0.823  7.028  3.550  0.135 -0.001  -1.966  8.588  2.274   1.108e-02   3.015e-03
+ 264:qp8             70.14  -2.905  7.616  3.553  0.138  0.036   0.386  8.845  2.277   1.131e-02  -1.050e-04
+ 265:qp8             70.30  -5.500  8.942  3.556  0.147  0.075   2.672  8.348  2.280   1.104e-02  -3.223e-03
+ 266:sd2             70.69  -6.863 13.763  3.562  0.176  0.075   2.292  6.412  2.288   9.787e-03  -3.223e-03
+ 267:sx6             70.69  -6.863 13.763  3.562  0.176  0.075   2.292  6.412  2.288   9.787e-03  -3.223e-03
+ 268:sd3             70.89  -7.562 16.648  3.564  0.191  0.075   2.098  5.534  2.294   9.142e-03  -3.223e-03
+ 269:qp7             71.12   1.242 18.161  3.566  0.196 -0.025  -0.680  5.220  2.300   8.945e-03   1.493e-03
+ 270:qp7             71.35   9.486 15.593  3.568  0.179 -0.122  -3.790  6.210  2.307   9.842e-03   6.383e-03
+ 271:sd4             71.74   7.211  9.081  3.573  0.132 -0.122  -4.753  9.542  2.315   1.233e-02   6.383e-03
+ 272:sx5             71.74   7.211  9.081  3.573  0.132 -0.122  -4.753  9.542  2.315   1.233e-02   6.383e-03
+ 273:sd5             71.94   6.044  6.430  3.578  0.108 -0.122  -5.248 11.542  2.318   1.361e-02   6.383e-03
+ 274:qp6             72.10   4.269  4.796  3.582  0.090 -0.104  -3.312 12.925  2.320   1.443e-02   3.866e-03
+ 275:qp6             72.26   2.988  3.645  3.588  0.074 -0.089  -1.001 13.621  2.322   1.484e-02   1.240e-03
+ 276:sd7             72.70   1.791  1.542  3.618  0.035 -0.089  -1.065 14.530  2.327   1.538e-02   1.240e-03
+ 277:bend2           72.87   1.303  1.004  3.640  0.022 -0.056  -0.817 14.814  2.329   1.555e-02   9.571e-04
+ 278:bend3           73.05   0.838  0.629  3.675  0.015 -0.024  -0.837 15.104  2.331   1.572e-02   9.571e-04
+ 279:bend3           73.22   0.369  0.417  3.730  0.014  0.009  -0.857 15.401  2.332   1.589e-02   9.571e-04
+ 280:bend3           73.40  -0.101  0.369  3.804  0.018  0.042  -0.876 15.705  2.334   1.606e-02   9.571e-04
+ 281:bend3           73.57  -0.571  0.487  3.871  0.029  0.074  -0.896 16.016  2.336   1.622e-02   9.571e-04
+ 282:bend4           73.75  -1.053  0.770  3.917  0.044  0.108  -0.615 16.333  2.338   1.639e-02   6.558e-04
+ 283:sd7             74.19  -2.249  2.223  3.971  0.092  0.108  -0.652 16.891  2.342   1.668e-02   6.558e-04
+ 284:qp4             74.35  -3.365  3.110  3.981  0.111  0.130   3.060 16.501  2.343   1.649e-02  -3.068e-03
+ 285:qp4             74.51  -4.967  4.428  3.988  0.134  0.157   6.340 14.979  2.345   1.570e-02  -6.686e-03
+ 286:sd8             74.71  -6.126  6.647  3.993  0.165  0.157   5.790 12.553  2.347   1.437e-02  -6.686e-03
+ 287:sx3             74.71  -6.126  6.647  3.993  0.165  0.157   5.790 12.553  2.347   1.437e-02  -6.686e-03
+ 288:sd9             75.19  -8.886 13.798  4.001  0.240  0.157   4.481  7.660  2.355   1.118e-02  -6.686e-03
+ 289:qp5             75.35  -4.896 16.039  4.003  0.259  0.081   2.074  6.628  2.359   1.038e-02  -3.393e-03
+ 290:qp5             75.51   0.028 16.831  4.004  0.266  0.002   0.075  6.290  2.362   1.009e-02  -2.618e-04
+ 291:sd10            75.98   0.001 16.817  4.009  0.267  0.002   0.001  6.254  2.374   9.965e-03  -2.618e-04
+ 292:sx4             75.98   0.001 16.817  4.009  0.267  0.002   0.001  6.254  2.374   9.965e-03  -2.618e-04
+ 293:sd12            76.45  -0.027 16.829  4.013  0.268  0.002  -0.073  6.288  2.386   9.842e-03  -2.618e-04
+ 294:qp5             76.61   4.896 16.037  4.015  0.261 -0.079  -2.071  6.626  2.390   1.004e-02   2.698e-03
+ 295:qp5             76.77   8.886 13.796  4.017  0.243 -0.155  -4.477  7.657  2.394   1.071e-02   5.791e-03
+ 296:sd9             77.24   6.126  6.645  4.024  0.169 -0.155  -5.785 12.545  2.401   1.347e-02   5.791e-03
+ 297:sx3             77.24   6.126  6.645  4.024  0.169 -0.155  -5.785 12.545  2.401   1.347e-02   5.791e-03
+ 298:sd8             77.44   4.967  4.427  4.030  0.138 -0.155  -6.334 14.968  2.404   1.463e-02   5.791e-03
+ 299:qp4             77.60   3.365  3.109  4.037  0.115 -0.127  -3.056 16.489  2.405   1.529e-02   2.469e-03
+ 300:qp4             77.76   2.249  2.222  4.047  0.097 -0.104   0.653 16.878  2.407   1.541e-02  -9.446e-04
+ 301:sd7             78.20   1.052  0.769  4.101  0.051 -0.104   0.616 16.319  2.411   1.500e-02  -9.446e-04
+ 302:bend2           78.38   0.570  0.487  4.147  0.036 -0.070   0.897 16.001  2.413   1.478e-02  -1.220e-03
+ 303:bend3           78.55   0.100  0.369  4.214  0.026 -0.038   0.877 15.690  2.414   1.457e-02  -1.220e-03
+ 304:bend3           78.73  -0.371  0.417  4.287  0.023 -0.005   0.857 15.386  2.416   1.436e-02  -1.220e-03
+ 305:bend3           78.90  -0.840  0.629  4.343  0.025  0.028   0.838 15.089  2.418   1.414e-02  -1.220e-03
+ 306:bend3           79.08  -1.305  1.005  4.378  0.032  0.060   0.818 14.798  2.420   1.393e-02  -1.220e-03
+ 307:bend4           79.25  -1.793  1.544  4.400  0.046  0.093   1.065 14.515  2.422   1.371e-02  -1.472e-03
+ 308:sd6             80.04  -3.943  6.076  4.441  0.120  0.093   0.950 12.923  2.431   1.255e-02  -1.472e-03
+ 309:sx2             80.04  -3.943  6.076  4.441  0.120  0.093   0.950 12.923  2.431   1.255e-02  -1.472e-03
+ 310:sd5             80.24  -4.487  7.762  4.446  0.138  0.093   0.921 12.549  2.433   1.226e-02  -1.472e-03
+ 311:qp3             80.40  -5.995  9.429  4.449  0.155  0.110   2.287 12.033  2.435   1.191e-02  -2.850e-03
+ 312:qp3             80.56  -7.947 11.646  4.451  0.174  0.129   3.486 11.103  2.438   1.135e-02  -4.174e-03
+ 313:sd14            81.15 -11.196 22.940  4.457  0.250  0.129   2.788  7.402  2.448   8.885e-03  -4.174e-03
+ 314:qp2             81.38  -1.927 26.053  4.458  0.268  0.026  -0.073  6.796  2.453   8.329e-03  -7.030e-04
+ 315:qp2             81.61   8.019 24.608  4.460  0.262 -0.079  -2.961  7.474  2.458   8.557e-03   2.706e-03
+ 316:sd3             81.81   7.488 21.507  4.461  0.246 -0.079  -3.222  8.710  2.462   9.099e-03   2.706e-03
+ 317:sx1             81.81   7.488 21.507  4.461  0.246 -0.079  -3.222  8.710  2.462   9.099e-03   2.706e-03
+ 318:sd2             82.20   6.453 16.070  4.465  0.215 -0.079  -3.731 11.422  2.468   1.015e-02   2.706e-03
+ 319:qp1             82.36   3.304 14.524  4.466  0.206 -0.039  -1.588 12.282  2.471   1.043e-02   7.550e-04
+ 320:qp1             82.52   0.561 13.912  4.468  0.203 -0.000   0.747 12.418  2.473   1.039e-02  -1.219e-03
+ 321:sd1             88.52  -0.000 10.550  4.550  0.203 -0.000   0.001  7.932  2.575   3.079e-03  -1.219e-03
+ 322:sd1             94.52  -0.562 13.922  4.632  0.202 -0.000  -0.746 12.403  2.678  -4.237e-03  -1.219e-03
+ 323:qp1             94.68  -3.307 14.535  4.634  0.206  0.039   1.586 12.267  2.680  -4.362e-03  -3.467e-04
+ 324:qp1             94.84  -6.459 16.082  4.635  0.215  0.078   3.727 11.408  2.682  -4.347e-03   5.380e-04
+ 325:sd2             95.23  -7.495 21.524  4.638  0.245  0.078   3.219  8.699  2.688  -4.137e-03   5.380e-04
+ 326:sx1             95.23  -7.495 21.524  4.638  0.245  0.078   3.219  8.699  2.688  -4.137e-03   5.380e-04
+ 327:sd3             95.43  -8.026 24.628  4.640  0.261  0.078   2.958  7.464  2.692  -4.030e-03   5.380e-04
+ 328:qp2             95.66   1.928 26.074  4.641  0.267 -0.026   0.073  6.787  2.697  -4.089e-03  -1.062e-03
+ 329:qp2             95.89  11.205 22.959  4.643  0.249 -0.129  -2.785  7.393  2.702  -4.525e-03  -2.758e-03
+ 330:sd14            96.48   7.953 11.655  4.648  0.173 -0.129  -3.483 11.091  2.713  -6.153e-03  -2.758e-03
+ 331:qp3             96.64   6.000  9.436  4.651  0.154 -0.110  -2.285 12.020  2.715  -6.534e-03  -2.002e-03
+ 332:qp3             96.80   4.491  7.768  4.654  0.138 -0.093  -0.921 12.536  2.717  -6.792e-03  -1.211e-03
+ 333:sd5             97.00   3.946  6.081  4.658  0.119 -0.093  -0.950 12.910  2.719  -7.034e-03  -1.211e-03
+ 334:sx2             97.00   3.946  6.081  4.658  0.119 -0.093  -0.950 12.910  2.719  -7.034e-03  -1.211e-03
+ 335:sd6             97.79   1.795  1.546  4.700  0.046 -0.093  -1.066 14.502  2.729  -7.991e-03  -1.211e-03
+ 336:bend2           97.97   1.306  1.006  4.722  0.032 -0.060  -0.819 14.786  2.730  -8.177e-03  -1.064e-03
+ 337:bend3           98.14   0.840  0.630  4.757  0.025 -0.027  -0.839 15.077  2.732  -8.364e-03  -1.064e-03
+ 338:bend3           98.32   0.371  0.417  4.812  0.023  0.005  -0.858 15.374  2.734  -8.551e-03  -1.064e-03
+ 339:bend3           98.50  -0.100  0.370  4.885  0.026  0.038  -0.878 15.679  2.736  -8.737e-03  -1.064e-03
+ 340:bend3           98.67  -0.571  0.487  4.953  0.036  0.070  -0.898 15.990  2.738  -8.924e-03  -1.064e-03
+ 341:bend4           98.85  -1.053  0.770  4.999  0.051  0.104  -0.618 16.309  2.739  -9.111e-03  -8.969e-04
+ 342:sd7             99.29  -2.251  2.223  5.053  0.097  0.104  -0.655 16.868  2.744  -9.505e-03  -8.969e-04
+ 343:qp4             99.45  -3.368  3.112  5.063  0.115  0.127   3.053 16.480  2.745  -9.482e-03   1.190e-03
+ 344:qp4             99.61  -4.971  4.430  5.070  0.138  0.155   6.329 14.961  2.747  -9.127e-03   3.227e-03
+ 345:sd8             99.81  -6.131  6.651  5.075  0.169  0.155   5.780 12.539  2.749  -8.482e-03   3.227e-03
+ 346:sx3             99.81  -6.131  6.651  5.075  0.169  0.155   5.780 12.539  2.749  -8.482e-03   3.227e-03
+ 347:sd9             100.28  -8.894 13.808  5.083  0.243  0.155   4.473  7.655  2.757  -6.944e-03   3.227e-03
+ 348:qp5             100.44  -4.901 16.051  5.085  0.261  0.079   2.069  6.625  2.760  -6.583e-03   1.312e-03
+ 349:qp5             100.60   0.027 16.844  5.086  0.268 -0.002   0.071  6.288  2.764  -6.521e-03  -5.339e-04
+ 350:sd12            101.07  -0.001 16.832  5.091  0.267 -0.002  -0.003  6.256  2.776  -6.772e-03  -5.339e-04
+ 351:sx4             101.07  -0.001 16.832  5.091  0.267 -0.002  -0.003  6.256  2.776  -6.772e-03  -5.339e-04
+ 352:sd10            101.54  -0.028 16.845  5.095  0.266 -0.002  -0.077  6.293  2.788  -7.023e-03  -5.339e-04
+ 353:qp5             101.70   4.900 16.053  5.097  0.259 -0.081  -2.077  6.633  2.792  -7.275e-03  -2.633e-03
+ 354:qp5             101.86   8.894 13.809  5.099  0.240 -0.157  -4.486  7.666  2.795  -7.872e-03  -4.862e-03
+ 355:sd9             102.34   6.131  6.652  5.106  0.165 -0.157  -5.798 12.565  2.803  -1.019e-02  -4.862e-03
+ 356:sx3             102.34   6.131  6.652  5.106  0.165 -0.157  -5.798 12.565  2.803  -1.019e-02  -4.862e-03
+ 357:sd8             102.54   4.971  4.432  5.112  0.134 -0.157  -6.349 14.994  2.805  -1.116e-02  -4.862e-03
+ 358:qp4             102.70   3.368  3.113  5.119  0.111 -0.130  -3.065 16.519  2.807  -1.173e-02  -2.225e-03
+ 359:qp4             102.86   2.252  2.224  5.129  0.092 -0.108   0.651 16.909  2.809  -1.187e-02   4.778e-04
+ 360:sd7             103.30   1.054  0.770  5.183  0.045 -0.108   0.614 16.353  2.813  -1.166e-02   4.778e-04
+ 361:bend2           103.47   0.572  0.487  5.229  0.029 -0.074   0.895 16.036  2.814  -1.154e-02   6.920e-04
+ 362:bend3           103.65   0.102  0.369  5.296  0.019 -0.042   0.875 15.725  2.816  -1.142e-02   6.920e-04
+ 363:bend3           103.83  -0.369  0.416  5.369  0.014 -0.009   0.856 15.421  2.818  -1.130e-02   6.920e-04
+ 364:bend3           104.00  -0.838  0.628  5.425  0.015  0.024   0.836 15.125  2.820  -1.117e-02   6.920e-04
+ 365:bend3           104.18  -1.304  1.004  5.460  0.022  0.056   0.817 14.835  2.822  -1.105e-02   6.920e-04
+ 366:bend4           104.35  -1.792  1.542  5.482  0.035  0.089   1.065 14.551  2.824  -1.093e-02   8.929e-04
+ 367:sd7             104.79  -2.990  3.646  5.512  0.074  0.089   1.001 13.643  2.828  -1.054e-02   8.929e-04
+ 368:qp6             104.95  -4.272  4.797  5.518  0.090  0.104   3.316 12.945  2.830  -1.025e-02   2.751e-03
+ 369:qp6             105.11  -6.047  6.433  5.522  0.108  0.122   5.255 11.561  2.832  -9.662e-03   4.529e-03
+ 370:sd5             105.31  -7.215  9.085  5.526  0.132  0.122   4.760  9.558  2.835  -8.756e-03   4.529e-03
+ 371:sx5             105.31  -7.215  9.085  5.526  0.132  0.122   4.760  9.558  2.835  -8.756e-03   4.529e-03
+ 372:sd4             105.70  -9.492 15.600  5.532  0.180  0.122   3.795  6.221  2.843  -6.990e-03   4.529e-03
+ 373:qp7             105.93  -1.244 18.171  5.534  0.197  0.025   0.680  5.230  2.850  -6.343e-03   1.150e-03
+ 374:qp7             106.16   7.565 16.657  5.536  0.191 -0.075  -2.103  5.545  2.857  -6.450e-03  -2.093e-03
+ 375:sd3             106.36   6.866 13.771  5.538  0.176 -0.075  -2.298  6.425  2.862  -6.869e-03  -2.093e-03
+ 376:sx6             106.36   6.866 13.771  5.538  0.176 -0.075  -2.298  6.425  2.862  -6.869e-03  -2.093e-03
+ 377:sd2             106.75   5.503  8.947  5.543  0.147 -0.075  -2.678  8.366  2.870  -7.685e-03  -2.093e-03
+ 378:qp8             106.91   2.906  7.621  5.546  0.138 -0.036  -0.387  8.863  2.873  -7.854e-03  -4.665e-06
+ 379:qp8             107.07   0.823  7.032  5.550  0.135  0.001   1.971  8.606  2.876  -7.687e-03   2.086e-03
+ 380:sd13            110.55   0.000  4.166  5.660  0.137  0.001   0.001  1.740  3.052  -4.233e-04   2.086e-03
+ 381:sd13            114.04  -0.823  7.030  5.770  0.139  0.001  -1.969  8.596  3.228   6.840e-03   2.086e-03
+ 382:qp8             114.20  -2.905  7.618  5.774  0.142  0.039   0.385  8.853  3.231   7.021e-03   1.701e-04
+ 383:qp8             114.36  -5.501  8.944  5.777  0.151  0.079   2.674  8.356  3.234   6.894e-03  -1.754e-03
+ 384:sd2             114.75  -6.863 13.766  5.782  0.182  0.079   2.294  6.419  3.242   6.210e-03  -1.754e-03
+ 385:sx8             114.75  -6.863 13.766  5.782  0.182  0.079   2.294  6.419  3.242   6.210e-03  -1.754e-03
+ 386:sd3             114.95  -7.562 16.651  5.785  0.198  0.079   2.100  5.540  3.247   5.859e-03  -1.754e-03
+ 387:qp7             115.18   1.243 18.164  5.787  0.204 -0.025  -0.681  5.226  3.254   5.795e-03   1.192e-03
+ 388:qp7             115.41   9.488 15.594  5.789  0.187 -0.126  -3.794  6.216  3.261   6.419e-03   4.279e-03
+ 389:sd4             115.80   7.212  9.081  5.794  0.138 -0.126  -4.759  9.552  3.269   8.088e-03   4.279e-03
+ 390:sx7             115.80   7.212  9.081  5.794  0.138 -0.126  -4.759  9.552  3.269   8.088e-03   4.279e-03
+ 391:sd5             116.00   6.045  6.430  5.798  0.113 -0.126  -5.253 11.554  3.272   8.943e-03   4.279e-03
+ 392:qp6             116.16   4.270  4.795  5.803  0.094 -0.107  -3.316 12.939  3.274   9.499e-03   2.643e-03
+ 393:qp6             116.32   2.989  3.645  5.809  0.078 -0.092  -1.002 13.636  3.276   9.785e-03   9.289e-04
+ 394:sd7             116.76   1.792  1.541  5.838  0.038 -0.092  -1.066 14.546  3.281   1.019e-02   9.289e-04
+ 395:bend2           116.93   1.303  1.003  5.860  0.025 -0.058  -0.818 14.830  3.282   1.032e-02   7.416e-04
+ 396:bend3           117.11   0.838  0.627  5.896  0.017 -0.026  -0.838 15.120  3.284   1.045e-02   7.416e-04
+ 397:bend3           117.28   0.369  0.416  5.951  0.016  0.007  -0.858 15.418  3.286   1.058e-02   7.416e-04
+ 398:bend3           117.46  -0.102  0.369  6.024  0.020  0.039  -0.877 15.722  3.288   1.071e-02   7.416e-04
+ 399:bend3           117.63  -0.572  0.487  6.092  0.029  0.072  -0.897 16.033  3.290   1.084e-02   7.416e-04
+ 400:bend4           117.81  -1.054  0.770  6.137  0.045  0.105  -0.616 16.351  3.291   1.097e-02   5.400e-04
+ 401:sd7             118.25  -2.252  2.224  6.192  0.091  0.105  -0.652 16.909  3.296   1.121e-02   5.400e-04
+ 402:qp9             118.41  -3.516  3.134  6.201  0.110  0.132   3.829 16.393  3.297   1.106e-02  -2.426e-03
+ 403:qp9             118.57  -5.398  4.540  6.208  0.134  0.165   7.659 14.528  3.299   1.044e-02  -5.275e-03
+ 404:sd8             118.77  -6.724  6.964  6.214  0.167  0.165   6.838 11.629  3.301   9.387e-03  -5.275e-03
+ 405:sx9             118.77  -6.724  6.964  6.214  0.167  0.165   6.838 11.629  3.301   9.387e-03  -5.275e-03
+ 406:sd9             119.25  -9.884 14.876  6.221  0.246  0.165   4.882  6.047  3.310   6.874e-03  -5.275e-03
+ 407:qp10            119.41  -5.419 17.366  6.223  0.266  0.085   2.739  4.847  3.315   6.190e-03  -3.315e-03
+ 408:qp10            119.57   0.116 18.229  6.224  0.273 -0.000   1.156  4.234  3.320   5.805e-03  -1.526e-03
+ 409:sd8             119.77   0.105 18.185  6.226  0.272 -0.000   1.047  3.793  3.328   5.499e-03  -1.526e-03
+ 410:sx10            119.77   0.105 18.185  6.226  0.272 -0.000   1.047  3.793  3.328   5.499e-03  -1.526e-03
+ 411:sdac            121.67   0.001 17.982  6.242  0.272 -0.000   0.002  1.795  3.457   2.593e-03  -1.526e-03
+ 412:sdac            123.57  -0.103 18.177  6.259  0.272 -0.000  -1.042  3.776  3.586  -3.128e-04  -1.526e-03
+ 413:sx10            123.57  -0.103 18.177  6.259  0.272 -0.000  -1.042  3.776  3.586  -3.128e-04  -1.526e-03
+ 414:sd8             123.77  -0.114 18.221  6.261  0.272 -0.000  -1.152  4.214  3.594  -6.179e-04  -1.526e-03
+ 415:qp10            123.93   5.418 17.357  6.262  0.265 -0.085  -2.728  4.825  3.600  -8.880e-04  -1.864e-03
+ 416:qp10            124.09   9.880 14.868  6.264  0.245 -0.165  -4.860  6.019  3.605  -1.219e-03  -2.291e-03
+ 417:sd9             124.57   6.721  6.960  6.271  0.166 -0.165  -6.808 11.577  3.614  -2.311e-03  -2.291e-03
+ 418:sx9             124.57   6.721  6.960  6.271  0.166 -0.165  -6.808 11.577  3.614  -2.311e-03  -2.291e-03
+ 419:sd8             124.77   5.395  4.537  6.277  0.133 -0.165  -7.625 14.464  3.616  -2.769e-03  -2.291e-03
+ 420:qp9             124.93   3.515  3.132  6.284  0.109 -0.132  -3.814 16.321  3.618  -3.071e-03  -1.476e-03
+ 421:qp9             125.09   2.251  2.222  6.293  0.091 -0.106   0.648 16.835  3.619  -3.238e-03  -6.005e-04
+ 422:sd7             125.53   1.053  0.768  6.347  0.044 -0.106   0.611 16.281  3.624  -3.502e-03  -6.005e-04
+ 423:bend2           125.71   0.571  0.486  6.393  0.029 -0.072   0.891 15.965  3.625  -3.596e-03  -5.361e-04
+ 424:bend3           125.88   0.100  0.368  6.461  0.019 -0.040   0.871 15.656  3.627  -3.690e-03  -5.361e-04
+ 425:bend3           126.06  -0.371  0.416  6.534  0.015 -0.007   0.852 15.354  3.629  -3.784e-03  -5.361e-04
+ 426:bend3           126.23  -0.840  0.628  6.589  0.016  0.026   0.832 15.058  3.631  -3.878e-03  -5.361e-04
+ 427:bend3           126.41  -1.306  1.005  6.624  0.024  0.058   0.813 14.770  3.632  -3.972e-03  -5.361e-04
+ 428:bend4           126.58  -1.794  1.544  6.647  0.037  0.091   1.059 14.488  3.634  -4.066e-03  -4.614e-04
+ 429:sd7             127.02  -2.992  3.650  6.676  0.077  0.091   0.995 13.584  3.639  -4.269e-03  -4.614e-04
+ 430:qp6             127.18  -4.275  4.802  6.682  0.093  0.107   3.300 12.890  3.641  -4.283e-03   2.876e-04
+ 431:qp6             127.34  -6.051  6.438  6.687  0.111  0.125   5.231 11.512  3.643  -4.178e-03   1.025e-03
+ 432:sd5             127.54  -7.219  9.092  6.691  0.136  0.125   4.739  9.518  3.646  -3.973e-03   1.025e-03
+ 433:sx7             127.54  -7.219  9.092  6.691  0.136  0.125   4.739  9.518  3.646  -3.973e-03   1.025e-03
+ 434:sd4             127.93  -9.497 15.612  6.696  0.185  0.125   3.778  6.196  3.654  -3.573e-03   1.025e-03
+ 435:qp7             128.16  -1.243 18.183  6.698  0.202  0.025   0.676  5.210  3.661  -3.542e-03  -7.488e-04
+ 436:qp7             128.39   7.571 16.668  6.700  0.196 -0.077  -2.098  5.525  3.668  -3.924e-03  -2.610e-03
+ 437:sd3             128.59   6.872 13.780  6.702  0.181 -0.077  -2.293  6.403  3.673  -4.446e-03  -2.610e-03
+ 438:sx8             128.59   6.872 13.780  6.702  0.181 -0.077  -2.293  6.403  3.673  -4.446e-03  -2.610e-03
+ 439:sd2             128.98   5.507  8.952  6.708  0.151 -0.077  -2.673  8.340  3.681  -5.464e-03  -2.610e-03
+ 440:qp8             129.14   2.909  7.624  6.711  0.141 -0.038  -0.389  8.837  3.684  -5.757e-03  -1.028e-03
+ 441:qp8             129.30   0.824  7.036  6.714  0.138  0.000   1.962  8.581  3.687  -5.791e-03   5.972e-04
+ 442:sd13            132.79   0.001  4.161  6.825  0.138  0.000   0.000  1.746  3.863  -3.711e-03   5.972e-04
+ 443:sd13            136.27  -0.822  7.021  6.935  0.138  0.000  -1.961  8.575  4.038  -1.632e-03   5.972e-04
+ 444:qp8             136.43  -2.902  7.608  6.938  0.142  0.038   0.388  8.831  4.041  -1.500e-03   1.039e-03
+ 445:qp8             136.59  -5.495  8.933  6.942  0.151  0.078   2.670  8.334  4.044  -1.301e-03   1.437e-03
+ 446:sd2             136.98  -6.856 13.749  6.947  0.181  0.078   2.290  6.400  4.052  -7.409e-04   1.437e-03
+ 447:sx8             136.98  -6.856 13.749  6.947  0.181  0.078   2.290  6.400  4.052  -7.409e-04   1.437e-03
+ 448:sd3             137.18  -7.554 16.632  6.949  0.197  0.078   2.096  5.523  4.058  -4.535e-04   1.437e-03
+ 449:qp7             137.41   1.241 18.143  6.951  0.203 -0.025  -0.676  5.208  4.065  -1.337e-04   1.371e-03
+ 450:qp7             137.64   9.476 15.577  6.953  0.185 -0.125  -3.778  6.194  4.071   1.895e-04   1.466e-03
+ 451:sd4             138.03   7.203  9.072  6.959  0.136 -0.125  -4.739  9.516  4.079   7.611e-04   1.466e-03
+ 452:sx7             138.03   7.203  9.072  6.959  0.136 -0.125  -4.739  9.516  4.079   7.611e-04   1.466e-03
+ 453:sd5             138.23   6.038  6.424  6.963  0.111 -0.125  -5.231 11.510  4.082   1.054e-03   1.466e-03
+ 454:qp6             138.39   4.265  4.791  6.967  0.093 -0.107  -3.301 12.888  4.084   1.274e-03   1.271e-03
+ 455:qp6             138.55   2.985  3.642  6.973  0.077 -0.092  -0.996 13.582  4.086   1.459e-03   1.038e-03
+ 456:sd7             138.99   1.789  1.541  7.003  0.037 -0.092  -1.060 14.487  4.091   1.916e-03   1.038e-03
+ 457:bend2           139.16   1.302  1.004  7.025  0.024 -0.058  -0.813 14.769  4.093   2.092e-03   1.003e-03
+ 458:bend3           139.34   0.837  0.629  7.060  0.016 -0.026  -0.833 15.058  4.095   2.268e-03   1.003e-03
+ 459:bend3           139.52   0.369  0.417  7.116  0.015  0.007  -0.853 15.353  4.097   2.444e-03   1.003e-03
+ 460:bend3           139.69  -0.101  0.370  7.189  0.019  0.040  -0.872 15.656  4.099   2.620e-03   1.003e-03
+ 461:bend3           139.87  -0.570  0.488  7.256  0.029  0.072  -0.892 15.965  4.100   2.796e-03   1.003e-03
+ 462:bend4           140.04  -1.052  0.770  7.302  0.044  0.105  -0.612 16.281  4.102   2.971e-03   9.485e-04
+ 463:sd7             140.48  -2.247  2.221  7.356  0.090  0.105  -0.649 16.836  4.106   3.389e-03   9.485e-04
+ 464:qp9             140.64  -3.509  3.129  7.366  0.109  0.132   3.813 16.322  4.108   3.464e-03  -1.383e-05
+ 465:qp9             140.80  -5.387  4.532  7.372  0.133  0.165   7.625 14.465  4.109   3.384e-03  -9.825e-04
+ 466:sd8             141.00  -6.711  6.952  7.378  0.166  0.165   6.808 11.579  4.112   3.188e-03  -9.825e-04
+ 467:sx9             141.00  -6.711  6.952  7.378  0.166  0.165   6.808 11.579  4.112   3.188e-03  -9.825e-04
+ 468:sd9             141.48  -9.865 14.848  7.385  0.245  0.165   4.861  6.021  4.121   2.719e-03  -9.825e-04
+ 469:qp10            141.64  -5.409 17.334  7.387  0.265  0.085   2.727  4.826  4.126   2.633e-03  -1.082e-04
+ 470:qp10            141.80   0.116 18.195  7.388  0.272  0.000   1.151  4.216  4.131   2.685e-03   7.627e-04
+ 471:sd8             142.00   0.105 18.151  7.390  0.272  0.000   1.041  3.778  4.139   2.837e-03   7.627e-04
+ 472:sx10            142.00   0.105 18.151  7.390  0.272  0.000   1.041  3.778  4.139   2.837e-03   7.627e-04
+ 473:sdac            143.90   0.001 17.948  7.407  0.272  0.000  -0.003  1.800  4.268   4.290e-03   7.627e-04
+ 474:sdac            145.81  -0.104 18.144  7.424  0.272  0.000  -1.046  3.798  4.397   5.743e-03   7.627e-04
+ 475:sx10            145.81  -0.104 18.144  7.424  0.272  0.000  -1.046  3.798  4.397   5.743e-03   7.627e-04
+ 476:sd8             146.01  -0.115 18.188  7.425  0.272  0.000  -1.156  4.238  4.405   5.895e-03   7.627e-04
+ 477:qp10            146.17   5.408 17.327  7.427  0.265 -0.085  -2.740  4.851  4.411   6.160e-03   2.565e-03
+ 478:qp10            146.33   9.863 14.842  7.428  0.245 -0.165  -4.885  6.051  4.415   6.723e-03   4.501e-03
+ 479:sd9             146.80   6.709  6.948  7.436  0.167 -0.165  -6.840 11.636  4.424   8.867e-03   4.501e-03
+ 480:sx9             146.80   6.709  6.948  7.436  0.167 -0.165  -6.840 11.636  4.424   8.867e-03   4.501e-03
+ 481:sd8             147.00   5.385  4.529  7.441  0.134 -0.165  -7.661 14.537  4.427   9.768e-03   4.501e-03
+ 482:qp9             147.16   3.508  3.126  7.448  0.110 -0.132  -3.830 16.402  4.428   1.027e-02   1.773e-03
+ 483:qp9             147.32   2.246  2.219  7.458  0.091 -0.105   0.654 16.918  4.430   1.033e-02  -1.029e-03
+ 484:sd7             147.76   1.050  0.768  7.512  0.045 -0.105   0.617 16.359  4.434   9.878e-03  -1.029e-03
+ 485:bend2           147.94   0.569  0.487  7.558  0.029 -0.072   0.898 16.041  4.436   9.666e-03  -1.210e-03
+ 486:bend3           148.11   0.099  0.370  7.625  0.020 -0.039   0.878 15.729  4.437   9.454e-03  -1.210e-03
+ 487:bend3           148.29  -0.371  0.417  7.699  0.016 -0.007   0.859 15.424  4.439   9.241e-03  -1.210e-03
+ 488:bend3           148.46  -0.840  0.630  7.754  0.017  0.026   0.839 15.126  4.441   9.029e-03  -1.210e-03
+ 489:bend3           148.64  -1.305  1.006  7.789  0.025  0.059   0.820 14.836  4.443   8.817e-03  -1.210e-03
+ 490:bend4           148.82  -1.793  1.545  7.811  0.038  0.092   1.067 14.551  4.445   8.604e-03  -1.369e-03
+ 491:sd7             149.26  -2.989  3.648  7.841  0.078  0.092   1.003 13.641  4.450   8.002e-03  -1.369e-03
+ 492:qp6             149.42  -4.270  4.799  7.847  0.094  0.107   3.318 12.943  4.452   7.671e-03  -2.760e-03
+ 493:qp6             149.58  -6.045  6.434  7.851  0.113  0.126   5.256 11.558  4.454   7.123e-03  -4.069e-03
+ 494:sd5             149.78  -7.212  9.085  7.855  0.138  0.126   4.761  9.554  4.457   6.310e-03  -4.069e-03
+ 495:sx7             149.78  -7.212  9.085  7.855  0.138  0.126   4.761  9.554  4.457   6.310e-03  -4.069e-03
+ 496:sd4             150.17  -9.486 15.597  7.860  0.187  0.126   3.795  6.218  4.465   4.723e-03  -4.069e-03
+ 497:qp7             150.40  -1.241 18.166  7.863  0.204  0.025   0.683  5.226  4.471   4.019e-03  -2.110e-03
+ 498:qp7             150.63   7.565 16.651  7.865  0.198 -0.079  -2.097  5.539  4.478   3.732e-03  -4.084e-04
+ 499:sd3             150.83   6.866 13.765  7.867  0.182 -0.079  -2.292  6.417  4.483   3.651e-03  -4.084e-04
+ 500:sx8             150.83   6.866 13.765  7.867  0.182 -0.079  -2.292  6.417  4.483   3.651e-03  -4.084e-04
+ 501:sd2             151.22   5.502  8.942  7.872  0.152 -0.079  -2.671  8.352  4.492   3.491e-03  -4.084e-04
+ 502:qp8             151.38   2.906  7.616  7.875  0.142 -0.039  -0.383  8.848  4.495   3.344e-03  -1.429e-03
+ 503:qp8             151.54   0.824  7.028  7.879  0.139 -0.001   1.970  8.590  4.498   3.038e-03  -2.384e-03
+ 504:sd13            155.02  -0.004  4.170  7.990  0.137 -0.001  -0.005  1.747  4.674  -5.265e-03  -2.384e-03
+ 505:sd13            158.50  -0.831  7.076  8.100  0.135 -0.001  -1.981  8.662  4.849  -1.357e-02  -2.384e-03
+ 506:qp8             158.66  -2.927  7.669  8.103  0.138  0.036   0.392  8.920  4.852  -1.365e-02   1.365e-03
+ 507:qp8             158.82  -5.541  9.005  8.106  0.147  0.075   2.698  8.418  4.855  -1.313e-02   5.056e-03
+ 508:sd2             159.21  -6.914 13.862  8.112  0.176  0.075   2.315  6.463  4.863  -1.116e-02   5.056e-03
+ 509:sx6             159.21  -6.914 13.862  8.112  0.176  0.075   2.315  6.463  4.863  -1.116e-02   5.056e-03
+ 510:sd3             159.41  -7.618 16.769  8.114  0.191  0.075   2.118  5.577  4.868  -1.015e-02   5.056e-03
+ 511:qp7             159.64   1.250 18.293  8.116  0.197 -0.025  -0.680  5.258  4.875  -9.592e-03  -1.474e-04
+ 512:qp7             159.87   9.554 15.706  8.118  0.180 -0.122  -3.811  6.252  4.882  -1.022e-02  -5.361e-03
+ 513:sd4             160.26   7.263  9.147  8.123  0.132 -0.122  -4.778  9.602  4.890  -1.231e-02  -5.361e-03
+ 514:sx5             160.26   7.263  9.147  8.123  0.132 -0.122  -4.778  9.602  4.890  -1.231e-02  -5.361e-03
+ 515:sd5             160.46   6.088  6.477  8.127  0.108 -0.122  -5.275 11.613  4.893  -1.338e-02  -5.361e-03
+ 516:qp6             160.62   4.301  4.831  8.132  0.090 -0.104  -3.327 13.002  4.895  -1.405e-02  -2.902e-03
+ 517:qp6             160.78   3.010  3.672  8.138  0.075 -0.089  -1.001 13.701  4.897  -1.431e-02  -3.604e-04
+ 518:sd7             161.22   1.806  1.553  8.167  0.035 -0.089  -1.065 14.611  4.902  -1.447e-02  -3.604e-04
+ 519:bend2           161.40   1.314  1.011  8.190  0.022 -0.056  -0.816 14.893  4.904  -1.448e-02  -9.455e-05
+ 520:bend3           161.57   0.846  0.632  8.225  0.015 -0.024  -0.836 15.183  4.905  -1.450e-02  -9.455e-05
+ 521:bend3           161.75   0.374  0.418  8.280  0.014  0.009  -0.855 15.480  4.907  -1.452e-02  -9.455e-05
+ 522:bend3           161.92  -0.100  0.369  8.353  0.019  0.042  -0.875 15.783  4.909  -1.453e-02  -9.455e-05
+ 523:bend3           162.10  -0.573  0.487  8.421  0.029  0.074  -0.894 16.094  4.911  -1.455e-02  -9.455e-05
+ 524:bend4           162.27  -1.058  0.771  8.467  0.045  0.107  -0.612 16.411  4.912  -1.457e-02   1.731e-04
+ 525:sd7             162.71  -2.262  2.232  8.521  0.092  0.107  -0.649 16.966  4.917  -1.449e-02   1.731e-04
+ 526:qp4             162.87  -3.384  3.125  8.531  0.111  0.130   3.079 16.572  4.918  -1.420e-02   3.403e-03
+ 527:qp4             163.03  -4.995  4.450  8.538  0.134  0.157   6.373 15.042  4.920  -1.341e-02   6.515e-03
+ 528:sd8             163.23  -6.161  6.681  8.543  0.165  0.157   5.819 12.603  4.922  -1.210e-02   6.515e-03
+ 529:sx3             163.23  -6.161  6.681  8.543  0.165  0.157   5.819 12.603  4.922  -1.210e-02   6.515e-03
+ 530:sd9             163.71  -8.938 13.873  8.551  0.240  0.157   4.502  7.687  4.930  -9.001e-03   6.515e-03
+ 531:qp5             163.87  -4.926 16.128  8.553  0.259  0.081   2.086  6.650  4.933  -8.171e-03   3.891e-03
+ 532:qp5             164.03   0.025 16.925  8.554  0.266  0.002   0.081  6.308  4.937  -7.746e-03   1.453e-03
+ 533:sd10            164.50  -0.003 16.914  8.559  0.267  0.002   0.007  6.267  4.949  -7.063e-03   1.453e-03
+ 534:sx4             164.50  -0.003 16.914  8.559  0.267  0.002   0.007  6.267  4.949  -7.063e-03   1.453e-03
+ 535:sd12            164.97  -0.030 16.930  8.563  0.267  0.002  -0.068  6.296  4.961  -6.380e-03   1.453e-03
+ 536:qp5             165.13   4.923 16.134  8.565  0.261 -0.079  -2.068  6.632  4.965  -6.285e-03  -2.629e-04
+ 537:qp5             165.29   8.938 13.880  8.566  0.242 -0.155  -4.475  7.662  4.969  -6.465e-03  -2.001e-03
+ 538:sd9             165.77   6.162  6.687  8.574  0.168 -0.155  -5.782 12.548  4.976  -7.418e-03  -2.001e-03
+ 539:sx3             165.77   6.162  6.687  8.574  0.168 -0.155  -5.782 12.548  4.976  -7.418e-03  -2.001e-03
+ 540:sd8             165.97   4.997  4.455  8.580  0.137 -0.155  -6.331 14.971  4.979  -7.818e-03  -2.001e-03
+ 541:qp4             166.13   3.385  3.129  8.587  0.115 -0.127  -3.052 16.490  4.980  -8.002e-03  -2.853e-04
+ 542:qp4             166.29   2.263  2.236  8.597  0.097 -0.104   0.658 16.878  4.982  -7.908e-03   1.449e-03
+ 543:sd7             166.73   1.060  0.774  8.651  0.051 -0.104   0.620 16.315  4.986  -7.271e-03   1.449e-03
+ 544:bend2           166.90   0.576  0.490  8.696  0.036 -0.070   0.900 15.996  4.988  -6.993e-03   1.583e-03
+ 545:bend3           167.08   0.104  0.370  8.764  0.026 -0.038   0.881 15.684  4.989  -6.716e-03   1.583e-03
+ 546:bend3           167.25  -0.369  0.417  8.837  0.023 -0.005   0.861 15.378  4.991  -6.438e-03   1.583e-03
+ 547:bend3           167.43  -0.840  0.629  8.892  0.025  0.027   0.841 15.080  4.993  -6.160e-03   1.583e-03
+ 548:bend3           167.60  -1.308  1.006  8.928  0.032  0.060   0.821 14.788  4.995  -5.883e-03   1.583e-03
+ 549:bend4           167.78  -1.798  1.546  8.950  0.046  0.093   1.068 14.503  4.997  -5.605e-03   1.686e-03
+ 550:sd6             168.57  -3.958  6.093  8.991  0.119  0.093   0.952 12.908  5.006  -4.273e-03   1.686e-03
+ 551:sx2             168.57  -3.958  6.093  8.991  0.119  0.093   0.952 12.908  5.006  -4.273e-03   1.686e-03
+ 552:sd5             168.77  -4.504  7.786  8.996  0.138  0.093   0.922 12.533  5.008  -3.936e-03   1.686e-03
+ 553:qp3             168.93  -6.018  9.459  8.999  0.154  0.110   2.286 12.016  5.010  -3.631e-03   2.124e-03
+ 554:qp3             169.09  -7.977 11.685  9.001  0.173  0.129   3.483 11.087  5.013  -3.258e-03   2.524e-03
+ 555:sd14            169.68 -11.239 23.022  9.007  0.249  0.129   2.785  7.389  5.023  -1.769e-03   2.524e-03
+ 556:qp2             169.91  -1.937 26.147  9.008  0.267  0.026  -0.072  6.783  5.028  -1.268e-03   1.873e-03
+ 557:qp2             170.14   8.046 24.698  9.010  0.261 -0.078  -2.955  7.459  5.033  -8.950e-04   1.392e-03
+ 558:sd3             170.34   7.514 21.586  9.011  0.246 -0.078  -3.216  8.694  5.037  -6.167e-04   1.392e-03
+ 559:sx1             170.34   7.514 21.586  9.011  0.246 -0.078  -3.216  8.694  5.037  -6.167e-04   1.392e-03
+ 560:sd2             170.73   6.476 16.131  9.015  0.215 -0.078  -3.725 11.401  5.044  -7.397e-05   1.392e-03
+ 561:qp1             170.89   3.315 14.580  9.016  0.206 -0.039  -1.585 12.259  5.046   1.428e-04   1.312e-03
+ 562:qp1             171.05   0.562 13.966  9.018  0.203  0.000   0.744 12.395  5.048   3.439e-04   1.195e-03
+ 563:sd1             177.05   0.000 10.595  9.100  0.203  0.000  -0.004  7.951  5.151   7.514e-03   1.195e-03
+ 564:sd1             183.05  -0.561 13.963  9.181  0.203  0.000  -0.752 12.486  5.253   1.468e-02   1.195e-03
+ 565:qp1             183.21  -3.315 14.577  9.183  0.206  0.039   1.595 12.350  5.255   1.465e-02  -1.626e-03
+ 566:qp1             183.37  -6.475 16.128  9.185  0.216  0.079   3.751 11.486  5.257   1.417e-02  -4.398e-03
+ 567:sd2             183.76  -7.513 21.583  9.188  0.246  0.079   3.240  8.760  5.263   1.245e-02  -4.398e-03
+ 568:sx1             183.76  -7.513 21.583  9.188  0.246  0.079   3.240  8.760  5.263   1.245e-02  -4.398e-03
+ 569:sd3             183.96  -8.045 24.694  9.190  0.262  0.079   2.977  7.516  5.267   1.157e-02  -4.398e-03
+ 570:qp2             184.19   1.936 26.143  9.191  0.268 -0.026   0.073  6.835  5.272   1.109e-02   1.805e-04
+ 571:qp2             184.42  11.236 23.019  9.192  0.250 -0.129  -2.804  7.445  5.277   1.166e-02   4.772e-03
+ 572:sd14            185.01   7.975 11.684  9.198  0.174 -0.129  -3.506 11.168  5.288   1.447e-02   4.772e-03
+ 573:qp3             185.17   6.017  9.459  9.201  0.155 -0.110  -2.300 12.102  5.290   1.510e-02   3.082e-03
+ 574:qp3             185.33   4.503  7.786  9.204  0.138 -0.094  -0.926 12.622  5.292   1.545e-02   1.334e-03
+ 575:sd5             185.53   3.957  6.094  9.208  0.120 -0.094  -0.955 12.998  5.294   1.572e-02   1.334e-03
+ 576:sx2             185.53   3.957  6.094  9.208  0.120 -0.094  -0.955 12.998  5.294   1.572e-02   1.334e-03
+ 577:sd6             186.32   1.799  1.547  9.249  0.046 -0.094  -1.071 14.599  5.304   1.677e-02   1.334e-03
+ 578:bend2           186.49   1.308  1.007  9.272  0.032 -0.060  -0.822 14.884  5.305   1.695e-02   1.025e-03
+ 579:bend3           186.67   0.841  0.630  9.307  0.025 -0.028  -0.842 15.176  5.307   1.713e-02   1.025e-03
+ 580:bend3           186.84   0.370  0.417  9.362  0.023  0.005  -0.862 15.474  5.309   1.731e-02   1.025e-03
+ 581:bend3           187.02  -0.102  0.370  9.436  0.026  0.037  -0.881 15.780  5.311   1.749e-02   1.025e-03
+ 582:bend3           187.20  -0.574  0.489  9.503  0.036  0.070  -0.901 16.093  5.313   1.767e-02   1.025e-03
+ 583:bend4           187.37  -1.058  0.773  9.549  0.051  0.103  -0.619 16.412  5.314   1.785e-02   6.972e-04
+ 584:sd7             187.81  -2.260  2.233  9.603  0.097  0.103  -0.656 16.973  5.319   1.816e-02   6.972e-04
+ 585:qp4             187.97  -3.381  3.125  9.612  0.115  0.127   3.074 16.582  5.320   1.795e-02  -3.293e-03
+ 586:qp4             188.13  -4.991  4.449  9.619  0.137  0.155   6.370 15.053  5.322   1.711e-02  -7.156e-03
+ 587:sd8             188.33  -6.155  6.678  9.625  0.168  0.155   5.818 12.615  5.324   1.568e-02  -7.156e-03
+ 588:sx3             188.33  -6.155  6.678  9.625  0.168  0.155   5.818 12.615  5.324   1.568e-02  -7.156e-03
+ 589:sd9             188.81  -8.928 13.863  9.633  0.242  0.155   4.502  7.699  5.332   1.227e-02  -7.156e-03
+ 590:qp5             188.97  -4.918 16.115  9.635  0.261  0.079   2.084  6.662  5.335   1.140e-02  -3.773e-03
+ 591:qp5             189.13   0.029 16.910  9.636  0.267 -0.002   0.075  6.322  5.339   1.106e-02  -5.825e-04
+ 592:sd12            189.60   0.001 16.896  9.641  0.266 -0.002   0.001  6.286  5.351   1.078e-02  -5.825e-04
+ 593:sx4             189.60   0.001 16.896  9.641  0.266 -0.002   0.001  6.286  5.351   1.078e-02  -5.825e-04
+ 594:sd10            190.07  -0.027 16.908  9.645  0.266 -0.002  -0.073  6.320  5.363   1.051e-02  -5.825e-04
+ 595:qp5             190.23   4.920 16.112  9.647  0.259 -0.081  -2.081  6.659  5.367   1.066e-02   2.539e-03
+ 596:qp5             190.39   8.928 13.860  9.648  0.240 -0.157  -4.499  7.696  5.370   1.133e-02   5.786e-03
+ 597:sd9             190.86   6.155  6.676  9.656  0.165 -0.157  -5.814 12.608  5.378   1.408e-02   5.786e-03
+ 598:sx3             190.86   6.155  6.676  9.656  0.165 -0.157  -5.814 12.608  5.378   1.408e-02   5.786e-03
+ 599:sd8             191.06   4.990  4.447  9.662  0.134 -0.157  -6.366 15.044  5.380   1.524e-02   5.786e-03
+ 600:qp4             191.22   3.381  3.123  9.669  0.111 -0.130  -3.071 16.572  5.382   1.589e-02   2.337e-03
+ 601:qp4             191.38   2.260  2.231  9.678  0.092 -0.107   0.657 16.963  5.383   1.598e-02  -1.202e-03
+ 602:sd7             191.82   1.057  0.772  9.733  0.044 -0.107   0.620 16.401  5.388   1.546e-02  -1.202e-03
+ 603:bend2           192.00   0.573  0.489  9.779  0.029 -0.074   0.902 16.082  5.389   1.519e-02  -1.486e-03
+ 604:bend3           192.17   0.100  0.370  9.846  0.018 -0.042   0.882 15.769  5.391   1.493e-02  -1.486e-03
+ 605:bend3           192.35  -0.372  0.418  9.919  0.014 -0.009   0.862 15.463  5.393   1.467e-02  -1.486e-03
+ 606:bend3           192.53  -0.844  0.632  9.974  0.015  0.024   0.842 15.164  5.395   1.441e-02  -1.486e-03
+ 607:bend3           192.70  -1.311  1.010 10.010  0.022  0.056   0.823 14.872  5.396   1.415e-02  -1.486e-03
+ 608:bend4           192.88  -1.802  1.551 10.032  0.035  0.089   1.071 14.587  5.398   1.389e-02  -1.741e-03
+ 609:sd7             193.32  -3.005  3.666 10.061  0.074  0.089   1.006 13.672  5.403   1.313e-02  -1.741e-03
+ 610:qp6             193.48  -4.293  4.823 10.067  0.090  0.104   3.326 12.973  5.405   1.266e-02  -4.073e-03
+ 611:qp6             193.64  -6.077  6.466 10.072  0.108  0.122   5.269 11.584  5.407   1.183e-02  -6.293e-03
+ 612:sd5             193.84  -7.251  9.132 10.076  0.132  0.122   4.773  9.576  5.410   1.057e-02  -6.293e-03
+ 613:sx5             193.84  -7.251  9.132 10.076  0.132  0.122   4.773  9.576  5.410   1.057e-02  -6.293e-03
+ 614:sd4             194.23  -9.538 15.679 10.081  0.180  0.122   3.804  6.231  5.418   8.115e-03  -6.293e-03
+ 615:qp7             194.46  -1.249 18.262 10.083  0.197  0.025   0.684  5.237  5.425   7.109e-03  -2.544e-03
+ 616:qp7             194.69   7.604 16.740 10.085  0.191 -0.075  -2.102  5.551  5.432   6.922e-03   8.996e-04
+ 617:sd3             194.89   6.901 13.839 10.088  0.176 -0.075  -2.297  6.431  5.437   7.102e-03   8.996e-04
+ 618:sx6             194.89   6.901 13.839 10.088  0.176 -0.075  -2.297  6.431  5.437   7.102e-03   8.996e-04
+ 619:sd2             195.28   5.531  8.991 10.093  0.147 -0.075  -2.677  8.370  5.445   7.452e-03   8.996e-04
+ 620:qp8             195.44   2.922  7.657 10.096  0.138 -0.036  -0.385  8.868  5.448   7.438e-03  -1.078e-03
+ 621:qp8             195.60   0.829  7.066 10.100  0.135  0.001   1.973  8.610  5.451   7.110e-03  -3.011e-03
+ 622:sd13            199.08   0.001  4.177 10.210  0.137  0.001  -0.003  1.750  5.627  -3.375e-03  -3.011e-03
+ 623:sd13            202.56  -0.827  7.055 10.320  0.140  0.001  -1.980  8.658  5.803  -1.386e-02  -3.011e-03
+ 624:qp8             202.72  -2.917  7.645 10.324  0.143  0.039   0.392  8.916  5.805  -1.404e-02   7.775e-04
+ 625:qp8             202.88  -5.523  8.976 10.327  0.152  0.079   2.696  8.414  5.808  -1.361e-02   4.531e-03
+ 626:sd2             203.27  -6.891 13.818 10.332  0.183  0.079   2.313  6.461  5.817  -1.185e-02   4.531e-03
+ 627:sx8             203.27  -6.891 13.818 10.332  0.183  0.079   2.313  6.461  5.817  -1.185e-02   4.531e-03
+ 628:sd3             203.47  -7.593 16.715 10.335  0.199  0.079   2.117  5.575  5.822  -1.094e-02   4.531e-03
+ 629:qp7             203.70   1.246 18.234 10.337  0.205 -0.025  -0.680  5.257  5.829  -1.055e-02  -1.087e-03
+ 630:qp7             203.93   9.523 15.656 10.339  0.188 -0.126  -3.810  6.251  5.835  -1.145e-02  -6.828e-03
+ 631:sd4             204.32   7.239  9.119 10.344  0.138 -0.126  -4.777  9.600  5.843  -1.411e-02  -6.828e-03
+ 632:sx7             204.32   7.239  9.119 10.344  0.138 -0.126  -4.777  9.600  5.843  -1.411e-02  -6.828e-03
+ 633:sd5             204.52   6.068  6.457 10.348  0.113 -0.126  -5.273 11.610  5.846  -1.548e-02  -6.828e-03
+ 634:qp6             204.68   4.286  4.816 10.353  0.095 -0.108  -3.325 12.999  5.849  -1.635e-02  -4.005e-03
+ 635:qp6             204.84   3.000  3.662 10.359  0.079 -0.092  -1.000 13.697  5.850  -1.675e-02  -1.062e-03
+ 636:sd7             205.28   1.799  1.550 10.388  0.038 -0.092  -1.065 14.606  5.855  -1.722e-02  -1.062e-03
+ 637:bend2           205.46   1.309  1.010 10.410  0.025 -0.059  -0.816 14.889  5.857  -1.735e-02  -7.457e-04
+ 638:bend3           205.63   0.843  0.632 10.446  0.017 -0.026  -0.835 15.178  5.859  -1.748e-02  -7.457e-04
+ 639:bend3           205.81   0.372  0.419 10.501  0.016  0.006  -0.855 15.475  5.861  -1.761e-02  -7.457e-04
+ 640:bend3           205.98  -0.100  0.371 10.574  0.020  0.039  -0.874 15.778  5.863  -1.774e-02  -7.457e-04
+ 641:bend3           206.16  -0.571  0.489 10.641  0.029  0.072  -0.894 16.088  5.864  -1.787e-02  -7.457e-04
+ 642:bend4           206.33  -1.054  0.772 10.687  0.045  0.105  -0.612 16.405  5.866  -1.800e-02  -4.149e-04
+ 643:sd7             206.77  -2.255  2.228 10.741  0.091  0.105  -0.649 16.960  5.870  -1.819e-02  -4.149e-04
+ 644:qp9             206.93  -3.522  3.139 10.751  0.110  0.132   3.846 16.441  5.872  -1.786e-02   4.464e-03
+ 645:qp9             207.09  -5.406  4.547 10.758  0.134  0.165   7.685 14.569  5.873  -1.677e-02   9.149e-03
+ 646:sd8             207.29  -6.735  6.975 10.763  0.166  0.165   6.861 11.660  5.876  -1.494e-02   9.149e-03
+ 647:sx9             207.29  -6.735  6.975 10.763  0.166  0.165   6.861 11.660  5.876  -1.494e-02   9.149e-03
+ 648:sd9             207.77  -9.901 14.900 10.771  0.245  0.165   4.897  6.059  5.885  -1.058e-02   9.149e-03
+ 649:qp10            207.93  -5.429 17.394 10.772  0.265  0.084   2.749  4.856  5.890  -9.387e-03   5.850e-03
+ 650:qp10            208.09   0.116 18.259 10.774  0.272 -0.000   1.162  4.240  5.895  -8.694e-03   2.837e-03
+ 651:sd8             208.29   0.105 18.215 10.776  0.272 -0.000   1.052  3.797  5.903  -8.127e-03   2.837e-03
+ 652:sx10            208.29   0.105 18.215 10.776  0.272 -0.000   1.052  3.797  5.903  -8.127e-03   2.837e-03
+ 653:sdac            210.19  -0.000 18.016 10.792  0.271 -0.000  -0.001  1.795  6.033  -2.723e-03   2.837e-03
+ 654:sdac            212.10  -0.105 18.217 10.809  0.271 -0.000  -1.053  3.803  6.162   2.680e-03   2.837e-03
+ 655:sx10            212.10  -0.105 18.217 10.809  0.271 -0.000  -1.053  3.803  6.162   2.680e-03   2.837e-03
+ 656:sd8             212.30  -0.116 18.261 10.811  0.271 -0.000  -1.164  4.246  6.170   3.248e-03   2.837e-03
+ 657:qp10            212.46   5.429 17.396 10.812  0.264 -0.085  -2.752  4.862  6.175   3.778e-03   3.816e-03
+ 658:qp10            212.62   9.901 14.902 10.814  0.244 -0.165  -4.902  6.067  6.180   4.479e-03   4.994e-03
+ 659:sd9             213.10   6.736  6.977 10.821  0.166 -0.165  -6.866 11.672  6.189   6.858e-03   4.994e-03
+ 660:sx9             213.10   6.736  6.977 10.821  0.166 -0.165  -6.866 11.672  6.189   6.858e-03   4.994e-03
+ 661:sd8             213.30   5.407  4.548 10.827  0.133 -0.165  -7.691 14.583  6.192   7.857e-03   4.994e-03
+ 662:qp9             213.46   3.522  3.140 10.833  0.109 -0.132  -3.847 16.457  6.193   8.475e-03   2.711e-03
+ 663:qp9             213.62   2.255  2.229 10.843  0.090 -0.105   0.652 16.975  6.195   8.719e-03   3.237e-04
+ 664:sd7             214.06   1.056  0.772 10.897  0.044 -0.105   0.615 16.418  6.199   8.861e-03   3.237e-04
+ 665:bend2           214.23   0.573  0.489 10.943  0.028 -0.072   0.897 16.100  6.201   8.890e-03   1.608e-04
+ 666:bend3           214.41   0.102  0.370 11.010  0.019 -0.039   0.878 15.788  6.202   8.918e-03   1.608e-04
+ 667:bend3           214.58  -0.370  0.418 11.084  0.015 -0.007   0.858 15.484  6.204   8.946e-03   1.608e-04
+ 668:bend3           214.76  -0.840  0.630 11.139  0.016  0.026   0.839 15.186  6.206   8.974e-03   1.608e-04
+ 669:bend3           214.93  -1.306  1.007 11.174  0.024  0.059   0.819 14.896  6.208   9.003e-03   1.608e-04
+ 670:bend4           215.11  -1.796  1.546 11.196  0.037  0.092   1.068 14.612  6.210   9.031e-03  -5.093e-06
+ 671:sd7             215.55  -2.995  3.654 11.226  0.077  0.092   1.004 13.700  6.215   9.028e-03  -5.093e-06
+ 672:qp6             215.71  -4.279  4.807 11.232  0.093  0.107   3.328 13.000  6.216   8.895e-03  -1.656e-03
+ 673:qp6             215.87  -6.058  6.445 11.237  0.112  0.125   5.276 11.610  6.218   8.501e-03  -3.268e-03
+ 674:sd5             216.07  -7.227  9.102 11.241  0.137  0.125   4.779  9.599  6.221   7.847e-03  -3.268e-03
+ 675:sx7             216.07  -7.227  9.102 11.241  0.137  0.125   4.779  9.599  6.221   7.847e-03  -3.268e-03
+ 676:sd4             216.46  -9.508 15.628 11.246  0.186  0.125   3.811  6.249  6.229   6.572e-03  -3.268e-03
+ 677:qp7             216.69  -1.244 18.203 11.248  0.203  0.025   0.681  5.255  6.236   6.178e-03  -1.998e-04
+ 678:qp7             216.92   7.580 16.686 11.250  0.197 -0.078  -2.116  5.572  6.243   6.478e-03   2.840e-03
+ 679:sd3             217.12   6.879 13.794 11.252  0.181 -0.078  -2.312  6.458  6.248   7.046e-03   2.840e-03
+ 680:sx8             217.12   6.879 13.794 11.252  0.181 -0.078  -2.312  6.458  6.248   7.046e-03   2.840e-03
+ 681:sd2             217.51   5.513  8.961 11.258  0.151 -0.078  -2.695  8.411  6.257   8.154e-03   2.840e-03
+ 682:qp8             217.67   2.912  7.632 11.261  0.142 -0.038  -0.391  8.912  6.259   8.429e-03   5.853e-04
+ 683:qp8             217.83   0.826  7.042 11.264  0.139  0.000   1.979  8.654  6.262   8.340e-03  -1.696e-03
+ 684:sd13            221.31  -0.001  4.171 11.375  0.139  0.000   0.004  1.747  6.437   2.434e-03  -1.696e-03
+ 685:sd13            224.79  -0.829  7.061 11.485  0.139  0.000  -1.971  8.598  6.614  -3.472e-03  -1.696e-03
+ 686:qp8             224.95  -2.920  7.652 11.488  0.142  0.038   0.384  8.856  6.617  -3.670e-03  -7.794e-04
+ 687:qp8             225.11  -5.528  8.985 11.492  0.151  0.078   2.673  8.360  6.620  -3.719e-03   1.682e-04
+ 688:sd2             225.50  -6.897 13.831 11.497  0.182  0.078   2.294  6.423  6.628  -3.654e-03   1.682e-04
+ 689:sx8             225.50  -6.897 13.831 11.497  0.182  0.078   2.294  6.423  6.628  -3.654e-03   1.682e-04
+ 690:sd3             225.70  -7.600 16.730 11.499  0.197  0.078   2.099  5.544  6.633  -3.620e-03   1.682e-04
+ 691:qp7             225.93   1.248 18.251 11.501  0.203 -0.025  -0.684  5.231  6.640  -3.795e-03  -1.701e-03
+ 692:qp7             226.16   9.533 15.670 11.503  0.186 -0.125  -3.801  6.224  6.647  -4.418e-03  -3.771e-03
+ 693:sd4             226.55   7.246  9.126 11.508  0.137 -0.125  -4.769  9.567  6.655  -5.888e-03  -3.771e-03
+ 694:sx7             226.55   7.246  9.126 11.508  0.137 -0.125  -4.769  9.567  6.655  -5.888e-03  -3.771e-03
+ 695:sd5             226.75   6.074  6.462 11.513  0.112 -0.125  -5.265 11.574  6.658  -6.643e-03  -3.771e-03
+ 696:qp6             226.91   4.290  4.819 11.517  0.093 -0.107  -3.324 12.961  6.660  -7.146e-03  -2.508e-03
+ 697:qp6             227.07   3.003  3.663 11.523  0.077 -0.092  -1.006 13.661  6.662  -7.442e-03  -1.178e-03
+ 698:sd7             227.51   1.801  1.550 11.553  0.037 -0.092  -1.071 14.575  6.667  -7.960e-03  -1.178e-03
+ 699:bend2           227.69   1.311  1.009 11.575  0.024 -0.059  -0.823 14.860  6.668  -8.141e-03  -1.032e-03
+ 700:bend3           227.86   0.843  0.631 11.610  0.016 -0.026  -0.843 15.152  6.670  -8.322e-03  -1.032e-03
+ 701:bend3           228.04   0.372  0.417 11.665  0.015  0.007  -0.862 15.451  6.672  -8.503e-03  -1.032e-03
+ 702:bend3           228.21  -0.100  0.370 11.739  0.019  0.039  -0.882 15.757  6.674  -8.684e-03  -1.032e-03
+ 703:bend3           228.39  -0.572  0.487 11.806  0.028  0.072  -0.902 16.070  6.676  -8.864e-03  -1.032e-03
+ 704:bend4           228.57  -1.056  0.771 11.852  0.044  0.105  -0.620 16.390  6.677  -9.045e-03  -8.654e-04
+ 705:sd7             229.01  -2.258  2.229 11.906  0.090  0.105  -0.657 16.952  6.682  -9.426e-03  -8.654e-04
+ 706:qp9             229.17  -3.526  3.141 11.916  0.109  0.132   3.836 16.436  6.683  -9.363e-03   1.657e-03
+ 707:qp9             229.33  -5.413  4.551 11.923  0.133  0.165   7.675 14.567  6.685  -8.900e-03   4.102e-03
+ 708:sd8             229.53  -6.744  6.983 11.928  0.166  0.165   6.853 11.661  6.687  -8.080e-03   4.102e-03
+ 709:sx9             229.53  -6.744  6.983 11.928  0.166  0.165   6.853 11.661  6.687  -8.080e-03   4.102e-03
+ 710:sd9             230.00  -9.914 14.917 11.936  0.244  0.165   4.894  6.066  6.696  -6.126e-03   4.102e-03
+ 711:qp10            230.16  -5.437 17.415 11.937  0.264  0.084   2.745  4.863  6.701  -5.623e-03   2.205e-03
+ 712:qp10            230.32   0.114 18.281 11.939  0.271  0.000   1.157  4.249  6.706  -5.415e-03   4.161e-04
+ 713:sd8             230.52   0.103 18.238 11.940  0.271  0.000   1.048  3.808  6.714  -5.331e-03   4.161e-04
+ 714:sx10            230.52   0.103 18.238 11.940  0.271  0.000   1.048  3.808  6.714  -5.331e-03   4.161e-04
+ 715:sdac            232.43  -0.001 18.043 11.957  0.271  0.000   0.003  1.807  6.843  -4.539e-03   4.161e-04
+ 716:sdac            234.33  -0.106 18.247 11.974  0.272  0.000  -1.042  3.787  6.972  -3.746e-03   4.161e-04
+ 717:sx10            234.33  -0.106 18.247 11.974  0.272  0.000  -1.042  3.787  6.972  -3.746e-03   4.161e-04
+ 718:sd8             234.53  -0.117 18.292 11.975  0.272  0.000  -1.152  4.225  6.980  -3.663e-03   4.161e-04
+ 719:qp10            234.69   5.437 17.426 11.977  0.265 -0.084  -2.731  4.837  6.986  -3.686e-03  -7.088e-04
+ 720:qp10            234.85   9.918 14.927 11.978  0.245 -0.165  -4.869  6.033  6.990  -3.892e-03  -1.871e-03
+ 721:sd9             235.33   6.747  6.989 11.986  0.166 -0.165  -6.819 11.600  6.999  -4.783e-03  -1.871e-03
+ 722:sx9             235.33   6.747  6.989 11.986  0.166 -0.165  -6.819 11.600  6.999  -4.783e-03  -1.871e-03
+ 723:sd8             235.53   5.416  4.556 11.991  0.133 -0.165  -7.637 14.491  7.002  -5.157e-03  -1.871e-03
+ 724:qp9             235.69   3.528  3.145 11.998  0.110 -0.132  -3.819 16.351  7.003  -5.344e-03  -4.598e-04
+ 725:qp9             235.85   2.260  2.232 12.008  0.091 -0.105   0.651 16.865  7.005  -5.303e-03   9.731e-04
+ 726:sd7             236.29   1.058  0.773 12.062  0.045 -0.105   0.614 16.308  7.009  -4.875e-03   9.731e-04
+ 727:bend2           236.46   0.574  0.489 12.108  0.029 -0.072   0.894 15.991  7.011  -4.688e-03   1.063e-03
+ 728:bend3           236.64   0.102  0.370 12.175  0.020 -0.039   0.875 15.681  7.013  -4.502e-03   1.063e-03
+ 729:bend3           236.81  -0.370  0.417 12.248  0.016 -0.006   0.855 15.377  7.014  -4.316e-03   1.063e-03
+ 730:bend3           236.99  -0.841  0.630 12.304  0.017  0.026   0.835 15.081  7.016  -4.129e-03   1.063e-03
+ 731:bend3           237.16  -1.308  1.007 12.339  0.025  0.059   0.816 14.791  7.018  -3.943e-03   1.063e-03
+ 732:bend4           237.34  -1.798  1.547 12.361  0.038  0.092   1.063 14.508  7.020  -3.756e-03   1.132e-03
+ 733:sd7             237.78  -3.000  3.658 12.391  0.079  0.092   0.998 13.601  7.025  -3.258e-03   1.132e-03
+ 734:qp6             237.94  -4.286  4.812 12.397  0.094  0.108   3.306 12.906  7.027  -3.031e-03   1.699e-03
+ 735:qp6             238.10  -6.067  6.453 12.401  0.113  0.126   5.239 11.526  7.029  -2.717e-03   2.219e-03
+ 736:sd5             238.30  -7.238  9.114 12.406  0.138  0.126   4.746  9.529  7.032  -2.274e-03   2.219e-03
+ 737:sx7             238.30  -7.238  9.114 12.406  0.138  0.126   4.746  9.529  7.032  -2.274e-03   2.219e-03
+ 738:sd4             238.69  -9.523 15.651 12.411  0.187  0.126   3.783  6.202  7.040  -1.408e-03   2.219e-03
+ 739:qp7             238.92  -1.248 18.230 12.413  0.205  0.025   0.677  5.215  7.047  -9.565e-04   1.751e-03
+ 740:qp7             239.15   7.590 16.711 12.415  0.199 -0.079  -2.099  5.529  7.053  -5.869e-04   1.494e-03
+ 741:sd3             239.35   6.889 13.815 12.417  0.183 -0.079  -2.294  6.408  7.059  -2.881e-04   1.494e-03
+ 742:sx8             239.35   6.889 13.815 12.417  0.183 -0.079  -2.294  6.408  7.059  -2.881e-04   1.494e-03
+ 743:sd2             239.74   5.521  8.975 12.422  0.152 -0.079  -2.674  8.346  7.067   2.945e-04   1.494e-03
+ 744:qp8             239.90   2.916  7.645 12.426  0.143 -0.039  -0.389  8.843  7.070   5.296e-04   1.434e-03
+ 745:qp8             240.06   0.827  7.054 12.429  0.140 -0.001   1.963  8.588  7.073   7.501e-04   1.311e-03
+ 746:sd13            243.54   0.001  4.172 12.539  0.137 -0.001  -0.001  1.754  7.249   5.314e-03   1.311e-03
+ 747:sd13            247.03  -0.825  7.040 12.650  0.135 -0.001  -1.965  8.599  7.424   9.878e-03   1.311e-03
+ 748:qp8             247.19  -2.910  7.629 12.653  0.138  0.036   0.391  8.854  7.427   9.867e-03  -1.456e-03
+ 749:qp8             247.34  -5.510  8.957 12.656  0.147  0.075   2.679  8.356  7.430   9.416e-03  -4.162e-03
+ 750:sd2             247.74  -6.874 13.787 12.662  0.176  0.075   2.298  6.415  7.438   7.793e-03  -4.162e-03
+ 751:sx6             247.74  -6.874 13.787 12.662  0.176  0.075   2.298  6.415  7.438   7.793e-03  -4.162e-03
+ 752:sd3             247.94  -7.574 16.676 12.664  0.191  0.075   2.102  5.535  7.443   6.960e-03  -4.162e-03
+ 753:qp7             248.16   1.245 18.192 12.666  0.197 -0.025  -0.676  5.220  7.450   6.385e-03  -8.862e-04
+ 754:qp7             248.40   9.502 15.619 12.668  0.180 -0.122  -3.785  6.207  7.457   6.545e-03   2.287e-03
+ 755:sd4             248.78   7.223  9.096 12.673  0.132 -0.122  -4.748  9.535  7.465   7.437e-03   2.287e-03
+ 756:sx5             248.78   7.223  9.096 12.673  0.132 -0.122  -4.748  9.535  7.465   7.437e-03   2.287e-03
+ 757:sd5             248.99   6.054  6.440 12.677  0.108 -0.122  -5.241 11.533  7.468   7.894e-03   2.287e-03
+ 758:qp6             249.15   4.276  4.803 12.682  0.090 -0.104  -3.307 12.914  7.470   8.148e-03   8.713e-04
+ 759:qp6             249.31   2.993  3.651 12.688  0.074 -0.090  -0.997 13.609  7.472   8.171e-03  -5.734e-04
+ 760:sd7             249.75   1.794  1.545 12.718  0.035 -0.090  -1.062 14.515  7.477   7.919e-03  -5.734e-04
+ 761:bend2           249.92   1.305  1.006 12.740  0.022 -0.056  -0.815 14.797  7.479   7.793e-03  -7.189e-04
+ 762:bend3           250.10   0.839  0.630 12.775  0.015 -0.024  -0.834 15.087  7.481   7.667e-03  -7.189e-04
+ 763:bend3           250.27   0.369  0.418 12.830  0.014  0.009  -0.854 15.383  7.482   7.541e-03  -7.189e-04
+ 764:bend3           250.45  -0.102  0.371 12.904  0.018  0.042  -0.873 15.686  7.484   7.415e-03  -7.189e-04
+ 765:bend3           250.62  -0.573  0.489 12.971  0.029  0.074  -0.893 15.995  7.486   7.289e-03  -7.189e-04
+ 766:bend4           250.80  -1.056  0.773 13.017  0.044  0.107  -0.613 16.312  7.488   7.163e-03  -8.505e-04
+ 767:sd7             251.24  -2.255  2.229 13.071  0.092  0.107  -0.650 16.868  7.492   6.788e-03  -8.505e-04
+ 768:qp4             251.40  -3.373  3.119 13.080  0.111  0.130   3.057 16.478  7.493   6.534e-03  -2.320e-03
+ 769:qp4             251.56  -4.979  4.440 13.087  0.133  0.157   6.332 14.958  7.495   6.051e-03  -3.702e-03
+ 770:sd8             251.76  -6.141  6.664 13.093  0.165  0.157   5.783 12.535  7.497   5.310e-03  -3.702e-03
+ 771:sx3             251.76  -6.141  6.664 13.093  0.165  0.157   5.783 12.535  7.497   5.310e-03  -3.702e-03
+ 772:sd9             252.23  -8.907 13.832 13.101  0.240  0.157   4.474  7.649  7.505   3.546e-03  -3.702e-03
+ 773:qp5             252.39  -4.906 16.078 13.103  0.259  0.081   2.071  6.618  7.509   3.046e-03  -2.572e-03
+ 774:qp5             252.55   0.030 16.871 13.104  0.266  0.002   0.074  6.280  7.513   2.717e-03  -1.560e-03
+ 775:sd10            253.02   0.003 16.855 13.109  0.266  0.002  -0.000  6.246  7.524   1.984e-03  -1.560e-03
+ 776:sx4             253.02   0.003 16.855 13.109  0.266  0.002  -0.000  6.246  7.524   1.984e-03  -1.560e-03
+ 777:sd12            253.49  -0.025 16.866 13.113  0.267  0.002  -0.075  6.281  7.536   1.250e-03  -1.560e-03
+ 778:qp5             253.65   4.908 16.072 13.115  0.261 -0.079  -2.071  6.619  7.540   1.019e-03  -1.343e-03
+ 779:qp5             253.81   8.906 13.825 13.116  0.242 -0.155  -4.474  7.650  7.544   8.171e-04  -1.186e-03
+ 780:sd9             254.29   6.139  6.658 13.124  0.168 -0.155  -5.783 12.536  7.552   2.524e-04  -1.186e-03
+ 781:sx3             254.29   6.139  6.658 13.124  0.168 -0.155  -5.783 12.536  7.552   2.524e-04  -1.186e-03
+ 782:sd8             254.49   4.977  4.435 13.130  0.137 -0.155  -6.332 14.959  7.554   1.523e-05  -1.186e-03
+ 783:qp4             254.65   3.372  3.115 13.137  0.115 -0.127  -3.057 16.479  7.556  -1.677e-04  -1.096e-03
+ 784:qp4             254.81   2.254  2.225 13.146  0.097 -0.103   0.650 16.869  7.557  -3.342e-04  -9.799e-04
+ 785:sd7             255.25   1.053  0.770 13.201  0.051 -0.103   0.613 16.313  7.561  -7.653e-04  -9.799e-04
+ 786:bend2           255.43   0.570  0.488 13.247  0.036 -0.070   0.893 15.997  7.563  -9.347e-04  -9.658e-04
+ 787:bend3           255.60   0.098  0.370 13.314  0.027 -0.037   0.873 15.687  7.565  -1.104e-03  -9.658e-04
+ 788:bend3           255.78  -0.374  0.419 13.387  0.023 -0.005   0.854 15.384  7.567  -1.274e-03  -9.658e-04
+ 789:bend3           255.95  -0.844  0.633 13.442  0.025  0.028   0.834 15.088  7.568  -1.443e-03  -9.658e-04
+ 790:bend3           256.13  -1.311  1.011 13.478  0.032  0.060   0.815 14.798  7.570  -1.612e-03  -9.658e-04
+ 791:bend4           256.30  -1.801  1.552 13.500  0.046  0.094   1.062 14.516  7.572  -1.782e-03  -9.331e-04
+ 792:sd6             257.09  -3.957  6.101 13.541  0.120  0.094   0.946 12.930  7.581  -2.519e-03  -9.331e-04
+ 793:sx2             257.09  -3.957  6.101 13.541  0.120  0.094   0.946 12.930  7.581  -2.519e-03  -9.331e-04
+ 794:sd5             257.29  -4.503  7.793 13.546  0.139  0.094   0.917 12.557  7.584  -2.706e-03  -9.331e-04
+ 795:qp3             257.45  -6.017  9.466 13.549  0.155  0.110   2.284 12.042  7.586  -2.831e-03  -6.340e-04
+ 796:qp3             257.61  -7.976 11.692 13.551  0.174  0.129   3.484 11.113  7.588  -2.908e-03  -3.256e-04
+ 797:sd14            258.20 -11.236 23.026 13.557  0.250  0.129   2.787  7.413  7.598  -3.100e-03  -3.256e-04
+ 798:qp2             258.43  -1.931 26.149 13.558  0.268  0.026  -0.079  6.808  7.604  -3.320e-03  -1.598e-03
+ 799:qp2             258.66   8.051 24.698 13.560  0.262 -0.079  -2.974  7.490  7.609  -3.846e-03  -3.017e-03
+ 800:sd3             258.86   7.518 21.584 13.561  0.246 -0.079  -3.236  8.732  7.613  -4.450e-03  -3.017e-03
+ 801:sx1             258.86   7.518 21.584 13.561  0.246 -0.079  -3.236  8.732  7.613  -4.450e-03  -3.017e-03
+ 802:sd2             259.25   6.479 16.125 13.564  0.216 -0.079  -3.748 11.456  7.619  -5.627e-03  -3.017e-03
+ 803:qp1             259.41   3.319 14.573 13.566  0.206 -0.039  -1.599 12.320  7.621  -6.027e-03  -1.970e-03
+ 804:qp1             259.57   0.566 13.957 13.568  0.203 -0.000   0.743 12.459  7.623  -6.254e-03  -8.606e-04
+ 805:sd1             265.57   0.002 10.546 13.650  0.203 -0.000  -0.001  8.005  7.725  -1.142e-02  -8.606e-04
+ 806:sd1             271.57  -0.562 13.909 13.732  0.202 -0.000  -0.744 12.475  7.827  -1.658e-02  -8.606e-04
+ 807:qp1             271.73  -3.305 14.521 13.734  0.205  0.039   1.601 12.336  7.829  -1.647e-02   2.231e-03
+ 808:qp1             271.89  -6.454 16.067 13.735  0.215  0.078   3.753 11.471  7.831  -1.587e-02   5.254e-03
+ 809:sd2             272.28  -7.489 21.505 13.739  0.245  0.078   3.240  8.743  7.837  -1.382e-02   5.254e-03
+ 810:sx1             272.28  -7.489 21.505 13.739  0.245  0.078   3.240  8.743  7.837  -1.382e-02   5.254e-03
+ 811:sd3             272.48  -8.020 24.607 13.740  0.261  0.078   2.978  7.500  7.841  -1.277e-02   5.254e-03
+ 812:qp2             272.71   1.926 26.052 13.741  0.267 -0.026   0.079  6.817  7.847  -1.210e-02   5.956e-04
+ 813:qp2             272.94  11.195 22.940 13.743  0.249 -0.129  -2.789  7.422  7.852  -1.249e-02  -4.013e-03
+ 814:sd14            273.53   7.946 11.647 13.749  0.173 -0.129  -3.487 11.125  7.862  -1.486e-02  -4.013e-03
+ 815:qp3             273.69   5.995  9.430 13.751  0.154 -0.110  -2.285 12.054  7.864  -1.537e-02  -2.287e-03
+ 816:qp3             273.85   4.486  7.764 13.754  0.138 -0.093  -0.917 12.570  7.866  -1.559e-02  -5.188e-04
+ 817:sd5             274.05   3.942  6.078 13.759  0.119 -0.093  -0.946 12.942  7.869  -1.569e-02  -5.188e-04
+ 818:sx2             274.05   3.942  6.078 13.759  0.119 -0.093  -0.946 12.942  7.869  -1.569e-02  -5.188e-04
+ 819:sd6             274.84   1.793  1.547 13.800  0.045 -0.093  -1.061 14.528  7.878  -1.610e-02  -5.188e-04
+ 820:bend2           275.02   1.305  1.009 13.822  0.032 -0.060  -0.814 14.810  7.880  -1.614e-02  -2.229e-04
+ 821:bend3           275.19   0.840  0.632 13.857  0.024 -0.027  -0.833 15.099  7.882  -1.618e-02  -2.229e-04
+ 822:bend3           275.37   0.371  0.420 13.913  0.022  0.005  -0.853 15.394  7.884  -1.622e-02  -2.229e-04
+ 823:bend3           275.54  -0.100  0.373 13.985  0.026  0.038  -0.873 15.697  7.885  -1.626e-02  -2.229e-04
+ 824:bend3           275.72  -0.570  0.490 14.053  0.036  0.070  -0.892 16.007  7.887  -1.630e-02  -2.229e-04
+ 825:bend4           275.89  -1.052  0.772 14.098  0.051  0.104  -0.612 16.323  7.889  -1.634e-02   7.734e-05
+ 826:sd7             276.33  -2.249  2.224 14.153  0.097  0.104  -0.649 16.878  7.893  -1.630e-02   7.734e-05
+ 827:qp4             276.49  -3.365  3.112 14.162  0.115  0.127   3.060 16.487  7.895  -1.600e-02   3.702e-03
+ 828:qp4             276.65  -4.967  4.429 14.169  0.137  0.155   6.337 14.966  7.896  -1.513e-02   7.197e-03
+ 829:sd8             276.85  -6.126  6.648 14.175  0.169  0.155   5.787 12.541  7.898  -1.369e-02   7.197e-03
+ 830:sx3             276.85  -6.126  6.648 14.175  0.169  0.155   5.787 12.541  7.898  -1.369e-02   7.197e-03
+ 831:sd9             277.33  -8.887 13.799 14.183  0.242  0.155   4.477  7.652  7.906  -1.026e-02   7.197e-03
+ 832:qp5             277.49  -4.895 16.041 14.185  0.261  0.079   2.073  6.620  7.910  -9.355e-03   4.139e-03
+ 833:qp5             277.65   0.029 16.832 14.186  0.267 -0.002   0.076  6.282  7.914  -8.924e-03   1.278e-03
+ 834:sd12            278.12   0.001 16.818 14.191  0.267 -0.002   0.001  6.246  7.926  -8.323e-03   1.278e-03
+ 835:sx4             278.12   0.001 16.818 14.191  0.267 -0.002   0.001  6.246  7.926  -8.323e-03   1.278e-03
+ 836:sd10            278.59  -0.027 16.830 14.195  0.266 -0.002  -0.074  6.280  7.938  -7.723e-03   1.278e-03
+ 837:qp5             278.75   4.896 16.038 14.197  0.259 -0.081  -2.069  6.617  7.942  -7.697e-03  -9.532e-04
+ 838:qp5             278.91   8.887 13.797 14.198  0.240 -0.157  -4.472  7.647  7.945  -8.030e-03  -3.235e-03
+ 839:sd9             279.39   6.126  6.646 14.206  0.165 -0.157  -5.780 12.531  7.953  -9.571e-03  -3.235e-03
+ 840:sx3             279.39   6.126  6.646 14.206  0.165 -0.157  -5.780 12.531  7.953  -9.571e-03  -3.235e-03
+ 841:sd8             279.59   4.967  4.427 14.212  0.134 -0.157  -6.329 14.952  7.955  -1.022e-02  -3.235e-03
+ 842:qp4             279.75   3.364  3.110 14.219  0.111 -0.130  -3.055 16.472  7.957  -1.056e-02  -9.693e-04
+ 843:qp4             279.91   2.248  2.223 14.229  0.092 -0.107   0.650 16.861  7.958  -1.053e-02   1.341e-03
+ 844:sd7             280.35   1.050  0.771 14.283  0.045 -0.107   0.613 16.305  7.963  -9.936e-03   1.341e-03
+ 845:bend2           280.52   0.568  0.489 14.329  0.029 -0.074   0.893 15.988  7.964  -9.669e-03   1.523e-03
+ 846:bend3           280.70   0.098  0.373 14.396  0.019 -0.042   0.874 15.678  7.966  -9.402e-03   1.523e-03
+ 847:bend3           280.87  -0.373  0.421 14.469  0.014 -0.009   0.854 15.375  7.968  -9.135e-03   1.523e-03
+ 848:bend3           281.05  -0.842  0.634 14.524  0.016  0.024   0.834 15.079  7.970  -8.867e-03   1.523e-03
+ 849:bend3           281.22  -1.308  1.011 14.559  0.023  0.056   0.815 14.790  7.972  -8.600e-03   1.523e-03
+ 850:bend4           281.40  -1.796  1.551 14.582  0.035  0.090   1.061 14.508  7.973  -8.333e-03   1.676e-03
+ 851:sd7             281.84  -2.994  3.659 14.611  0.075  0.090   0.997 13.602  7.978  -7.595e-03   1.676e-03
+ 852:qp6             282.00  -4.279  4.811 14.617  0.090  0.104   3.305 12.907  7.980  -7.223e-03   2.969e-03
+ 853:qp6             282.16  -6.058  6.450 14.622  0.108  0.122   5.239 11.527  7.982  -6.650e-03   4.168e-03
+ 854:sd5             282.36  -7.227  9.107 14.626  0.133  0.122   4.745  9.530  7.985  -5.817e-03   4.168e-03
+ 855:sx5             282.36  -7.227  9.107 14.626  0.133  0.122   4.745  9.530  7.985  -5.817e-03   4.168e-03
+ 856:sd4             282.75  -9.506 15.632 14.631  0.180  0.122   3.783  6.204  7.993  -4.191e-03   4.168e-03
+ 857:qp7             282.98  -1.242 18.206 14.633  0.197  0.025   0.677  5.217  8.000  -3.481e-03   2.065e-03
+ 858:qp7             283.21   7.583 16.688 14.635  0.191 -0.075  -2.100  5.532  8.007  -3.223e-03   2.011e-04
+ 859:sd3             283.41   6.882 13.795 14.637  0.176 -0.075  -2.295  6.411  8.012  -3.183e-03   2.011e-04
+ 860:sx6             283.41   6.882 13.795 14.637  0.176 -0.075  -2.295  6.411  8.012  -3.183e-03   2.011e-04
+ 861:sd2             283.80   5.515  8.960 14.643  0.147 -0.075  -2.676  8.350  8.021  -3.104e-03   2.011e-04
+ 862:qp8             283.96   2.913  7.631 14.646  0.138 -0.037  -0.389  8.847  8.024  -3.011e-03   9.635e-04
+ 863:qp8             284.12   0.827  7.041 14.649  0.135  0.000   1.964  8.592  8.027  -2.798e-03   1.687e-03
+ 864:sd13            287.60  -0.002  4.165 14.760  0.137  0.000  -0.001  1.756  8.202   3.077e-03   1.687e-03
+ 865:sd13            291.09  -0.830  7.062 14.870  0.139  0.000  -1.967  8.611  8.377   8.953e-03   1.687e-03
+ 866:qp8             291.25  -2.922  7.654 14.874  0.142  0.039   0.392  8.867  8.380   9.032e-03  -6.974e-04
+ 867:qp8             291.41  -5.530  8.987 14.877  0.151  0.078   2.683  8.368  8.383   8.731e-03  -3.048e-03
+ 868:sd2             291.80  -6.901 13.835 14.883  0.181  0.078   2.301  6.424  8.392   7.542e-03  -3.048e-03
+ 869:sx8             291.80  -6.901 13.835 14.883  0.181  0.078   2.301  6.424  8.392   7.542e-03  -3.048e-03
+ 870:sd3             292.00  -7.603 16.736 14.885  0.197  0.078   2.106  5.543  8.397   6.933e-03  -3.048e-03
+ 871:qp7             292.23   1.247 18.258 14.887  0.203 -0.025  -0.676  5.226  8.404   6.614e-03   2.481e-04
+ 872:qp7             292.46   9.534 15.676 14.889  0.186 -0.125  -3.788  6.215  8.410   7.049e-03   3.577e-03
+ 873:sd4             292.85   7.248  9.131 14.894  0.137 -0.125  -4.751  9.545  8.418   8.444e-03   3.577e-03
+ 874:sx7             292.85   7.248  9.131 14.894  0.137 -0.125  -4.751  9.545  8.418   8.444e-03   3.577e-03
+ 875:sd5             293.05   6.076  6.467 14.898  0.112 -0.125  -5.244 11.544  8.421   9.160e-03   3.577e-03
+ 876:qp6             293.21   4.292  4.823 14.903  0.094 -0.107  -3.308 12.926  8.423   9.601e-03   1.923e-03
+ 877:qp6             293.37   3.004  3.667 14.909  0.078 -0.091  -0.997 13.621  8.425   9.772e-03   2.088e-04
+ 878:sd7             293.81   1.802  1.552 14.938  0.038 -0.091  -1.061 14.527  8.430   9.864e-03   2.088e-04
+ 879:bend2           293.98   1.312  1.011 14.960  0.024 -0.058  -0.814 14.808  8.432   9.869e-03   2.753e-05
+ 880:bend3           294.16   0.845  0.632 14.995  0.017 -0.026  -0.833 15.097  8.434   9.874e-03   2.753e-05
+ 881:bend3           294.33   0.374  0.418 15.051  0.015  0.007  -0.853 15.393  8.436   9.878e-03   2.753e-05
+ 882:bend3           294.51  -0.098  0.370 15.124  0.020  0.040  -0.872 15.696  8.438   9.883e-03   2.753e-05
+ 883:bend3           294.68  -0.570  0.487 15.191  0.029  0.072  -0.892 16.005  8.439   9.888e-03   2.753e-05
+ 884:bend4           294.86  -1.054  0.770 15.237  0.045  0.106  -0.612 16.321  8.441   9.893e-03  -1.543e-04
+ 885:sd7             295.30  -2.256  2.226 15.292  0.091  0.106  -0.648 16.876  8.445   9.825e-03  -1.543e-04
+ 886:qp9             295.46  -3.523  3.138 15.301  0.110  0.133   3.824 16.360  8.447   9.592e-03  -2.750e-03
+ 887:qp9             295.62  -5.408  4.546 15.308  0.134  0.166   7.645 14.498  8.448   8.952e-03  -5.219e-03
+ 888:sd8             295.82  -6.738  6.976 15.314  0.167  0.166   6.825 11.604  8.451   7.908e-03  -5.219e-03
+ 889:sx9             295.82  -6.738  6.976 15.314  0.167  0.166   6.825 11.604  8.451   7.908e-03  -5.219e-03
+ 890:sd9             296.29  -9.907 14.904 15.321  0.246  0.166   4.872  6.032  8.460   5.422e-03  -5.219e-03
+ 891:qp10            296.45  -5.434 17.401 15.323  0.266  0.085   2.734  4.835  8.465   4.715e-03  -3.651e-03
+ 892:qp10            296.61   0.113 18.267 15.324  0.273 -0.000   1.155  4.224  8.470   4.244e-03  -2.268e-03
+ 893:sd8             296.81   0.102 18.224 15.326  0.273 -0.000   1.044  3.784  8.478   3.790e-03  -2.268e-03
+ 894:sx10            296.81   0.102 18.224 15.326  0.273 -0.000   1.044  3.784  8.478   3.790e-03  -2.268e-03
+ 895:sdac            298.72  -0.003 18.036 15.343  0.273 -0.000  -0.004  1.802  8.608  -5.290e-04  -2.268e-03
+ 896:sdac            300.62  -0.108 18.247 15.359  0.272 -0.000  -1.052  3.814  8.736  -4.848e-03  -2.268e-03
+ 897:sx10            300.62  -0.108 18.247 15.359  0.272 -0.000  -1.052  3.814  8.736  -4.848e-03  -2.268e-03
+ 898:sd8             300.82  -0.119 18.293 15.361  0.272 -0.000  -1.162  4.257  8.744  -5.302e-03  -2.268e-03
+ 899:qp10            300.98   5.436 17.427 15.362  0.266 -0.085  -2.754  4.873  8.750  -5.804e-03  -4.039e-03
+ 900:qp10            301.14   9.917 14.929 15.364  0.245 -0.165  -4.907  6.079  8.755  -6.605e-03  -6.012e-03
+ 901:sd9             301.62   6.747  6.991 15.371  0.167 -0.165  -6.872 11.690  8.764  -9.468e-03  -6.012e-03
+ 902:sx9             301.62   6.747  6.991 15.371  0.167 -0.165  -6.872 11.690  8.764  -9.468e-03  -6.012e-03
+ 903:sd8             301.82   5.417  4.558 15.377  0.134 -0.165  -7.697 14.604  8.766  -1.067e-02  -6.012e-03
+ 904:qp9             301.98   3.528  3.147 15.384  0.110 -0.133  -3.848 16.478  8.768  -1.140e-02  -3.093e-03
+ 905:qp9             302.14   2.259  2.234 15.393  0.091 -0.106   0.657 16.996  8.769  -1.165e-02  -2.859e-05
+ 906:sd7             302.58   1.059  0.775 15.447  0.044 -0.106   0.620 16.434  8.773  -1.167e-02  -2.859e-05
+ 907:bend2           302.76   0.576  0.490 15.493  0.029 -0.072   0.903 16.114  8.775  -1.163e-02   1.858e-04
+ 908:bend3           302.93   0.104  0.371 15.560  0.019 -0.040   0.883 15.801  8.777  -1.160e-02   1.858e-04
+ 909:bend3           303.11  -0.367  0.417 15.633  0.015 -0.007   0.863 15.494  8.778  -1.157e-02   1.858e-04
+ 910:bend3           303.28  -0.838  0.628 15.689  0.016  0.025   0.844 15.195  8.780  -1.154e-02   1.858e-04
+ 911:bend3           303.46  -1.304  1.004 15.724  0.024  0.058   0.824 14.902  8.782  -1.150e-02   1.858e-04
+ 912:bend4           303.63  -1.794  1.543 15.747  0.037  0.091   1.073 14.617  8.784  -1.147e-02   3.965e-04
+ 913:sd7             304.07  -2.994  3.650 15.776  0.077  0.091   1.008 13.701  8.789  -1.130e-02   3.965e-04
+ 914:qp6             304.23  -4.278  4.802 15.782  0.093  0.106   3.333 13.000  8.791  -1.107e-02   2.425e-03
+ 915:qp6             304.39  -6.056  6.440 15.787  0.111  0.125   5.280 11.608  8.793  -1.052e-02   4.389e-03
+ 916:sd5             304.59  -7.226  9.096 15.791  0.136  0.125   4.783  9.596  8.796  -9.645e-03   4.389e-03
+ 917:sx7             304.59  -7.226  9.096 15.791  0.136  0.125   4.783  9.596  8.796  -9.645e-03   4.389e-03
+ 918:sd4             304.98  -9.507 15.622 15.796  0.185  0.125   3.813  6.243  8.804  -7.933e-03   4.389e-03
+ 919:qp7             305.21  -1.247 18.196 15.798  0.202  0.025   0.686  5.247  8.810  -7.383e-03   4.405e-04
+ 920:qp7             305.44   7.574 16.682 15.800  0.196 -0.077  -2.106  5.562  8.817  -7.727e-03  -3.459e-03
+ 921:sd3             305.64   6.875 13.792 15.802  0.180 -0.077  -2.301  6.443  8.823  -8.418e-03  -3.459e-03
+ 922:sx8             305.64   6.875 13.792 15.802  0.180 -0.077  -2.301  6.443  8.823  -8.418e-03  -3.459e-03
+ 923:sd2             306.03   5.510  8.962 15.808  0.150 -0.077  -2.682  8.387  8.831  -9.767e-03  -3.459e-03
+ 924:qp8             306.19   2.909  7.634 15.811  0.141 -0.038  -0.385  8.885  8.834  -1.010e-02  -7.402e-04
+ 925:qp8             306.35   0.823  7.045 15.815  0.138 -0.000   1.978  8.626  8.837  -1.000e-02   2.010e-03
+ 926:sd13            309.83  -0.002  4.187 15.925  0.138 -0.000  -0.002  1.744  9.013  -3.002e-03   2.010e-03
+ 927:sd13            313.32  -0.826  7.071 16.035  0.138 -0.000  -1.982  8.651  9.188   3.999e-03   2.010e-03
+ 928:qp8             313.48  -2.921  7.662 16.038  0.141  0.038   0.388  8.910  9.191   4.232e-03   8.922e-04
+ 929:qp8             313.64  -5.531  8.995 16.041  0.150  0.077   2.692  8.410  9.194   4.282e-03  -2.643e-04
+ 930:sd2             314.03  -6.901 13.844 16.047  0.180  0.077   2.310  6.459  9.203   4.179e-03  -2.643e-04
+ 931:sx8             314.03  -6.901 13.844 16.047  0.180  0.077   2.310  6.459  9.203   4.179e-03  -2.643e-04
+ 932:sd3             314.23  -7.603 16.745 16.049  0.196  0.077   2.114  5.574  9.208   4.127e-03  -2.643e-04
+ 933:qp7             314.46   1.252 18.265 16.051  0.202 -0.025  -0.684  5.258  9.215   4.313e-03   1.905e-03
+ 934:qp7             314.69   9.542 15.681 16.053  0.184 -0.124  -3.815  6.254  9.221   5.020e-03   4.298e-03
+ 935:sd4             315.08   7.253  9.131 16.058  0.136 -0.124  -4.785  9.608  9.229   6.696e-03   4.298e-03
+ 936:sx7             315.08   7.253  9.131 16.058  0.136 -0.124  -4.785  9.608  9.229   6.696e-03   4.298e-03
+ 937:sd5             315.28   6.079  6.464 16.062  0.111 -0.124  -5.282 11.622  9.232   7.556e-03   4.298e-03
+ 938:qp6             315.44   4.294  4.820 16.067  0.093 -0.106  -3.333 13.013  9.234   8.130e-03   2.862e-03
+ 939:qp6             315.60   3.006  3.663 16.073  0.077 -0.091  -1.006 13.714  9.236   8.467e-03   1.348e-03
+ 940:sd7             316.04   1.802  1.548 16.102  0.037 -0.091  -1.070 14.627  9.241   9.061e-03   1.348e-03
+ 941:bend2           316.21   1.311  1.007 16.125  0.024 -0.058  -0.821 14.912  9.243   9.268e-03   1.182e-03
+ 942:bend3           316.39   0.842  0.629 16.160  0.016 -0.025  -0.840 15.203  9.245   9.475e-03   1.182e-03
+ 943:bend3           316.56   0.370  0.416 16.215  0.015  0.007  -0.860 15.501  9.247   9.682e-03   1.182e-03
+ 944:bend3           316.74  -0.103  0.369 16.289  0.019  0.040  -0.880 15.807  9.248   9.890e-03   1.182e-03
+ 945:bend3           316.91  -0.576  0.488 16.356  0.029  0.072  -0.899 16.119  9.250   1.010e-02   1.182e-03
+ 946:bend4           317.09  -1.061  0.773 16.402  0.044  0.106  -0.617 16.437  9.252   1.030e-02   9.923e-04
+ 947:sd7             317.53  -2.265  2.237 16.456  0.091  0.106  -0.653 16.996  9.256   1.074e-02   9.923e-04
+ 948:qp9             317.69  -3.537  3.152 16.466  0.110  0.133   3.851 16.477  9.258   1.066e-02  -1.955e-03
+ 949:qp9             317.85  -5.429  4.566 16.472  0.134  0.166   7.699 14.602  9.259   1.012e-02  -4.828e-03
+ 950:sd8             318.05  -6.763  7.005 16.478  0.167  0.166   6.874 11.687  9.262   9.153e-03  -4.828e-03
+ 951:sx9             318.05  -6.763  7.005 16.478  0.167  0.166   6.874 11.687  9.262   9.153e-03  -4.828e-03
+ 952:sd9             318.53  -9.941 14.961 16.485  0.246  0.166   4.908  6.075  9.271   6.854e-03  -4.828e-03
+ 953:qp10            318.69  -5.450 17.466 16.487  0.266  0.085   2.755  4.870  9.275   6.250e-03  -2.746e-03
+ 954:qp10            318.85   0.117 18.334 16.488  0.273  0.000   1.164  4.253  9.281   5.968e-03  -8.006e-04
+ 955:sd8             319.05   0.106 18.290 16.490  0.273  0.000   1.054  3.809  9.289   5.808e-03  -8.006e-04
+ 956:sx10            319.05   0.106 18.290 16.490  0.273  0.000   1.054  3.809  9.289   5.808e-03  -8.006e-04
+ 957:sdac            320.95   0.001 18.085 16.507  0.273  0.000   0.003  1.797  9.418   4.283e-03  -8.006e-04
+ 958:sdac            322.86  -0.103 18.279 16.523  0.273  0.000  -1.048  3.788  9.547   2.758e-03  -8.006e-04
+ 959:sx10            322.86  -0.103 18.279 16.523  0.273  0.000  -1.048  3.788  9.547   2.758e-03  -8.006e-04
+ 960:sd8             323.06  -0.114 18.322 16.525  0.273  0.000  -1.159  4.230  9.555   2.598e-03  -8.006e-04
+ 961:qp10            323.22   5.449 17.454 16.527  0.266 -0.085  -2.741  4.843  9.561   2.544e-03   1.310e-04
+ 962:qp10            323.38   9.936 14.951 16.528  0.246 -0.166  -4.883  6.043  9.566   2.639e-03   1.063e-03
+ 963:sd9             323.85   6.759  6.998 16.535  0.167 -0.166  -6.840 11.627  9.575   3.146e-03   1.063e-03
+ 964:sx9             323.85   6.759  6.998 16.535  0.167 -0.166  -6.840 11.627  9.575   3.146e-03   1.063e-03
+ 965:sd8             324.05   5.425  4.561 16.541  0.134 -0.166  -7.662 14.527  9.577   3.358e-03   1.063e-03
+ 966:qp9             324.21   3.534  3.148 16.548  0.110 -0.133  -3.834 16.393  9.579   3.451e-03   9.581e-05
+ 967:qp9             324.37   2.264  2.234 16.557  0.091 -0.106   0.648 16.911  9.580   3.389e-03  -8.677e-04
+ 968:sd7             324.81   1.059  0.772 16.612  0.045 -0.106   0.611 16.357  9.584   3.007e-03  -8.677e-04
+ 969:bend2           324.99   0.574  0.487 16.658  0.029 -0.072   0.892 16.040  9.586   2.845e-03  -9.230e-04
+ 970:bend3           325.16   0.101  0.369 16.725  0.020 -0.040   0.873 15.731  9.588   2.684e-03  -9.230e-04
+ 971:bend3           325.34  -0.373  0.417 16.799  0.015 -0.007   0.853 15.428  9.590   2.522e-03  -9.230e-04
+ 972:bend3           325.51  -0.845  0.631 16.854  0.017  0.026   0.834 15.132  9.592   2.360e-03  -9.230e-04
+ 973:bend3           325.69  -1.313  1.009 16.889  0.024  0.058   0.814 14.843  9.593   2.198e-03  -9.230e-04
+ 974:bend4           325.86  -1.805  1.551 16.911  0.038  0.091   1.062 14.561  9.595   2.036e-03  -9.604e-04
+ 975:sd7             326.30  -3.010  3.670 16.941  0.078  0.091   0.998 13.655  9.600   1.613e-03  -9.604e-04
+ 976:qp6             326.46  -4.300  4.828 16.947  0.094  0.107   3.315 12.958  9.602   1.437e-03  -1.238e-03
+ 977:qp6             326.62  -6.087  6.474 16.951  0.112  0.125   5.257 11.573  9.604   1.219e-03  -1.482e-03
+ 978:sd5             326.82  -7.262  9.144 16.955  0.137  0.125   4.762  9.569  9.607   9.226e-04  -1.482e-03
+ 979:sx7             326.82  -7.262  9.144 16.955  0.137  0.125   4.762  9.569  9.607   9.226e-04  -1.482e-03
+ 980:sd4             327.21  -9.553 15.702 16.961  0.186  0.125   3.797  6.231  9.615   3.447e-04  -1.482e-03
+ 981:qp7             327.44  -1.252 18.289 16.963  0.203  0.025   0.678  5.240  9.622   2.215e-07  -1.545e-03
+ 982:qp7             327.67   7.614 16.765 16.965  0.197 -0.078  -2.112  5.558  9.629  -3.804e-04  -1.796e-03
+ 983:sd3             327.87   6.911 13.860 16.967  0.181 -0.078  -2.308  6.442  9.634  -7.396e-04  -1.796e-03
+ 984:sx8             327.87   6.911 13.860 16.967  0.181 -0.078  -2.308  6.442  9.634  -7.396e-04  -1.796e-03
+ 985:sd2             328.26   5.539  9.005 16.972  0.151 -0.078  -2.691  8.391  9.642  -1.440e-03  -1.796e-03
+ 986:qp8             328.42   2.925  7.670 16.975  0.142 -0.039  -0.393  8.892  9.645  -1.700e-03  -1.442e-03
+ 987:qp8             328.58   0.829  7.078 16.979  0.139 -0.001   1.973  8.635  9.648  -1.898e-03  -1.023e-03
+ 988:sd13            332.07   0.002  4.186 17.089  0.137 -0.001   0.002  1.756  9.823  -5.461e-03  -1.023e-03
+ 989:sd13            335.55  -0.825  7.050 17.199  0.135 -0.001  -1.968  8.601  9.999  -9.024e-03  -1.023e-03
+ 990:qp8             335.71  -2.913  7.640 17.203  0.138  0.037   0.388  8.858 10.002  -8.988e-03   1.464e-03
+ 991:qp8             335.87  -5.516  8.969 17.206  0.147  0.075   2.677  8.360 10.005  -8.558e-03   3.889e-03
+ 992:sd2             336.26  -6.882 13.805 17.211  0.176  0.075   2.297  6.420 10.013  -7.042e-03   3.889e-03
+ 993:sx6             336.26  -6.882 13.805 17.211  0.176  0.075   2.297  6.420 10.013  -7.042e-03   3.889e-03
+ 994:sd3             336.46  -7.583 16.698 17.213  0.191  0.075   2.101  5.541 10.019  -6.264e-03   3.889e-03
+ 995:qp7             336.69   1.247 18.215 17.216  0.197 -0.025  -0.680  5.226 10.026  -5.721e-03   8.791e-04
+ 996:qp7             336.92   9.515 15.638 17.218  0.180 -0.122  -3.793  6.216 10.032  -5.852e-03  -2.027e-03
+ 997:sd4             337.31   7.232  9.107 17.223  0.132 -0.122  -4.758  9.551 10.040  -6.642e-03  -2.027e-03
+ 998:sx5             337.31   7.232  9.107 17.223  0.132 -0.122  -4.758  9.551 10.040  -6.642e-03  -2.027e-03
+ 999:sd5             337.51   6.062  6.448 17.227  0.108 -0.122  -5.253 11.553 10.043  -7.048e-03  -2.027e-03
+1000:qp6             337.67   4.282  4.808 17.232  0.090 -0.104  -3.315 12.938 10.045  -7.269e-03  -7.396e-04
+1001:qp6             337.83   2.997  3.655 17.238  0.075 -0.089  -1.002 13.635 10.047  -7.283e-03   5.685e-04
+1002:sd7             338.27   1.796  1.546 17.267  0.035 -0.089  -1.066 14.545 10.052  -7.033e-03   5.685e-04
+1003:bend2           338.44   1.307  1.006 17.290  0.022 -0.056  -0.819 14.828 10.054  -6.911e-03   6.978e-04
+1004:bend3           338.62   0.840  0.630 17.325  0.015 -0.024  -0.838 15.119 10.056  -6.788e-03   6.978e-04
+1005:bend3           338.80   0.369  0.418 17.380  0.014  0.009  -0.858 15.417 10.058  -6.666e-03   6.978e-04
+1006:bend3           338.97  -0.103  0.371 17.453  0.019  0.042  -0.878 15.721 10.059  -6.543e-03   6.978e-04
+1007:bend3           339.15  -0.574  0.490 17.521  0.029  0.074  -0.897 16.032 10.061  -6.421e-03   6.978e-04
+1008:bend4           339.32  -1.058  0.774 17.566  0.045  0.108  -0.616 16.350 10.063  -6.299e-03   8.135e-04
+1009:sd7             339.76  -2.259  2.233 17.620  0.092  0.108  -0.653 16.909 10.067  -5.941e-03   8.135e-04
+1010:qp4             339.92  -3.379  3.124 17.630  0.111  0.130   3.063 16.519 10.069  -5.707e-03   2.094e-03
+1011:qp4             340.08  -4.988  4.447 17.637  0.134  0.157   6.347 14.995 10.070  -5.275e-03   3.296e-03
+1012:sd8             340.28  -6.151  6.675 17.643  0.165  0.157   5.796 12.567 10.072  -4.616e-03   3.296e-03
+1013:sx3             340.28  -6.151  6.675 17.643  0.165  0.157   5.796 12.567 10.072  -4.616e-03   3.296e-03
+1014:sd9             340.76  -8.922 13.855 17.651  0.240  0.157   4.485  7.670 10.080  -3.046e-03   3.296e-03
+1015:qp5             340.92  -4.915 16.105 17.652  0.259  0.081   2.076  6.636 10.084  -2.606e-03   2.218e-03
+1016:qp5             341.08   0.028 16.900 17.654  0.266  0.002   0.075  6.298 10.088  -2.331e-03   1.236e-03
+1017:sd10            341.55   0.001 16.886 17.658  0.267  0.002   0.001  6.262 10.100  -1.750e-03   1.236e-03
+1018:sx4             341.55   0.001 16.886 17.658  0.267  0.002   0.001  6.262 10.100  -1.750e-03   1.236e-03
+1019:sd12            342.02  -0.027 16.898 17.663  0.268  0.002  -0.074  6.296 10.111  -1.169e-03   1.236e-03
+1020:qp5             342.18   4.916 16.103 17.664  0.261 -0.079  -2.074  6.634 10.115  -1.006e-03   8.023e-04
+1021:qp5             342.34   8.922 13.852 17.666  0.243 -0.155  -4.482  7.667 10.119  -9.097e-04   4.125e-04
+1022:sd9             342.81   6.151  6.672 17.674  0.169 -0.155  -5.792 12.561 10.127  -7.132e-04   4.125e-04
+1023:sx3             342.81   6.151  6.672 17.674  0.169 -0.155  -5.792 12.561 10.127  -7.132e-04   4.125e-04
+1024:sd8             343.01   4.987  4.445 17.680  0.138 -0.155  -6.342 14.988 10.129  -6.307e-04   4.125e-04
+1025:qp4             343.17   3.379  3.122 17.686  0.115 -0.127  -3.060 16.510 10.131  -5.531e-04   5.542e-04
+1026:qp4             343.33   2.259  2.230 17.696  0.097 -0.104   0.654 16.900 10.132  -4.545e-04   6.746e-04
+1027:sd7             343.77   1.057  0.772 17.750  0.051 -0.104   0.617 16.341 10.136  -1.577e-04   6.746e-04
+1028:bend2           343.95   0.573  0.488 17.796  0.036 -0.070   0.898 16.022 10.138  -3.885e-05   6.775e-04
+1029:bend3           344.13   0.101  0.370 17.864  0.026 -0.038   0.878 15.711 10.140   7.999e-05   6.775e-04
+1030:bend3           344.30  -0.371  0.417 17.937  0.023 -0.005   0.858 15.406 10.142   1.988e-04   6.775e-04
+1031:bend3           344.48  -0.842  0.630 17.992  0.024  0.027   0.839 15.109 10.143   3.177e-04   6.775e-04
+1032:bend3           344.65  -1.309  1.007 18.027  0.032  0.060   0.819 14.818 10.145   4.365e-04   6.775e-04
+1033:bend4           344.83  -1.799  1.548 18.050  0.045  0.093   1.066 14.534 10.147   5.553e-04   6.673e-04
+1034:sd6             345.62  -3.957  6.096 18.091  0.119  0.093   0.951 12.941 10.156   1.082e-03   6.673e-04
+1035:sx2             345.62  -3.957  6.096 18.091  0.119  0.093   0.951 12.941 10.156   1.082e-03   6.673e-04
+1036:sd5             345.82  -4.503  7.788 18.095  0.138  0.093   0.921 12.566 10.159   1.216e-03   6.673e-04
+1037:qp3             345.98  -6.017  9.461 18.098  0.154  0.110   2.289 12.050 10.161   1.309e-03   4.892e-04
+1038:qp3             346.14  -7.975 11.686 18.101  0.173  0.129   3.490 11.119 10.163   1.372e-03   2.982e-04
+1039:sd14            346.73 -11.236 23.020 18.106  0.249  0.129   2.791  7.414 10.173   1.548e-03   2.982e-04
+1040:qp2             346.96  -1.934 26.144 18.108  0.267  0.026  -0.075  6.807 10.178   1.682e-03   8.757e-04
+1041:qp2             347.19   8.047 24.694 18.109  0.261 -0.078  -2.969  7.487 10.184   1.957e-03   1.532e-03
+1042:sd3             347.39   7.515 21.582 18.111  0.245 -0.078  -3.231  8.727 10.188   2.263e-03   1.532e-03
+1043:sx1             347.39   7.515 21.582 18.111  0.245 -0.078  -3.231  8.727 10.188   2.263e-03   1.532e-03
+1044:sd2             347.78   6.476 16.125 18.114  0.215 -0.078  -3.742 11.446 10.194   2.860e-03   1.532e-03
+1045:qp1             347.94   3.317 14.574 18.116  0.206 -0.039  -1.594 12.309 10.196   3.058e-03   9.288e-04
+1046:qp1             348.10   0.564 13.959 18.117  0.202  0.000   0.746 12.446 10.198   3.156e-03   2.989e-04
+1047:sd1             354.10   0.002 10.568 18.199  0.203  0.000   0.000  7.968 10.300   4.949e-03   2.989e-04
+1048:cav             354.10   0.002 10.568 18.199  0.203  0.000   0.000  7.968 10.300   4.949e-03   2.989e-04
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDC.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDC.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDC.out	(revision 17)
@@ -0,0 +1,33 @@
+#    dp           xind         zind        Betax(0)     Betaz(0)       Betax         betaz       Hx          Hz            etax        etaxp
+#
+-6.00000e-02 -2.08680e-02 -5.77447e-05 +1.83943e+01 +8.72797e+00 +2.43425e+01 +2.44905e+00 +5.34261e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-5.60000e-02 -1.91242e-02 -4.92765e-05 +1.82134e+01 +8.59018e+00 +2.35743e+01 +2.40780e+00 +5.32091e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-5.20000e-02 -1.74388e-02 -4.15147e-05 +1.79430e+01 +8.46400e+00 +2.28656e+01 +2.36765e+00 +5.28057e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.80000e-02 -1.58102e-02 -3.44509e-05 +1.75914e+01 +8.34968e+00 +2.22122e+01 +2.32815e+00 +5.22350e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.40000e-02 -1.42369e-02 -2.80768e-05 +1.71678e+01 +8.24760e+00 +2.16117e+01 +2.28888e+00 +5.15189e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.00000e-02 -1.27171e-02 -2.23831e-05 +1.66817e+01 +8.15819e+00 +2.10633e+01 +2.24943e+00 +5.06804e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-3.60000e-02 -1.12487e-02 -1.73591e-05 +1.61430e+01 +8.08191e+00 +2.05664e+01 +2.20949e+00 +4.97435e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-3.20000e-02 -9.83000e-03 -1.29924e-05 +1.55616e+01 +8.01922e+00 +2.01209e+01 +2.16878e+00 +4.87324e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.80000e-02 -8.45871e-03 -9.26919e-06 +1.49479e+01 +7.97051e+00 +1.97263e+01 +2.12712e+00 +4.76713e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.40000e-02 -7.13271e-03 -6.17469e-06 +1.43124e+01 +7.93602e+00 +1.93815e+01 +2.08444e+00 +4.65847e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.00000e-02 -5.84976e-03 -3.69355e-06 +1.36657e+01 +7.91574e+00 +1.90841e+01 +2.04075e+00 +4.54968e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-1.60000e-02 -4.60757e-03 -1.81058e-06 +1.30185e+01 +7.90934e+00 +1.88303e+01 +1.99617e+00 +4.44313e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-1.20000e-02 -3.40382e-03 -5.11412e-07 +1.23814e+01 +7.91606e+00 +1.86145e+01 +1.95094e+00 +4.34109e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-8.00000e-03 -2.23619e-03 +2.16779e-07 +1.17643e+01 +7.93466e+00 +1.84291e+01 +1.90534e+00 +4.24564e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.00000e-03 -1.10235e-03 +3.84632e-07 +1.11762e+01 +7.96331e+00 +1.82650e+01 +1.85975e+00 +4.15857e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++0.00000e+00 +0.00000e+00 +0.00000e+00 +1.06247e+01 +7.99964e+00 +1.81113e+01 +1.81455e+00 +0.00000e+00 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.00000e-03 +1.07313e-03 -9.32557e-07 +1.01157e+01 +8.04072e+00 +1.79569e+01 +1.77011e+00 +4.01487e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++8.00000e-03 +2.11923e-03 -2.41218e-06 +9.65297e+00 +8.08315e+00 +1.77911e+01 +1.72677e+00 +3.95973e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++1.20000e-02 +3.14043e-03 -4.44202e-06 +9.23800e+00 +8.12321e+00 +1.76049e+01 +1.68478e+00 +3.91594e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++1.60000e-02 +4.13876e-03 -7.02943e-06 +8.87029e+00 +8.15700e+00 +1.73919e+01 +1.64432e+00 +3.88311e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.00000e-02 +5.11615e-03 -1.01860e-05 +8.54746e+00 +8.18062e+00 +1.71491e+01 +1.60546e+00 +3.86051e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.40000e-02 +6.07438e-03 -1.39278e-05 +8.26570e+00 +8.19043e+00 +1.68769e+01 +1.56818e+00 +3.84717e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.80000e-02 +7.01514e-03 -1.82750e-05 +8.02030e+00 +8.18316e+00 +1.65787e+01 +1.53240e+00 +3.84198e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++3.20000e-02 +7.93995e-03 -2.32519e-05 +7.80610e+00 +8.15611e+00 +1.62597e+01 +1.49798e+00 +3.84377e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++3.60000e-02 +8.85020e-03 -2.88867e-05 +7.61794e+00 +8.10727e+00 +1.59267e+01 +1.46474e+00 +3.85134e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.00000e-02 +9.74712e-03 -3.52116e-05 +7.45097e+00 +8.03535e+00 +1.55864e+01 +1.43251e+00 +3.86354e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.40000e-02 +1.06318e-02 -4.22621e-05 +7.30085e+00 +7.93976e+00 +1.52453e+01 +1.40111e+00 +3.87926e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.80000e-02 +1.15053e-02 -5.00770e-05 +7.16390e+00 +7.82062e+00 +1.49092e+01 +1.37038e+00 +3.89747e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++5.20000e-02 +1.23683e-02 -5.86980e-05 +7.03702e+00 +7.67860e+00 +1.45827e+01 +1.34019e+00 +3.91721e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++5.60000e-02 +1.32215e-02 -6.81696e-05 +6.91775e+00 +7.51486e+00 +1.42695e+01 +1.31046e+00 +3.93757e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++6.00000e-02 +1.40656e-02 -7.85387e-05 +6.80416e+00 +7.33088e+00 +1.39726e+01 +1.28113e+00 +3.95776e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDL.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDL.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDL.out	(revision 17)
@@ -0,0 +1,33 @@
+#    dp           xind         zind        Betax(0)     Betaz(0)       Betax         betaz       Hx          Hz            etax        etaxp
+#
+-6.00000e-02 -1.06453e-02 +2.61204e-18 +1.83943e+01 +8.72797e+00 +1.83943e+01 +8.72797e+00 +1.71132e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-5.60000e-02 -1.00117e-02 -7.58600e-18 +1.82134e+01 +8.59018e+00 +1.82134e+01 +8.59018e+00 +1.75489e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-5.20000e-02 -9.37302e-03 +3.68122e-18 +1.79430e+01 +8.46400e+00 +1.79430e+01 +8.46400e+00 +1.81075e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-4.80000e-02 -8.72717e-03 -1.21496e-17 +1.75914e+01 +8.34968e+00 +1.75914e+01 +8.34968e+00 +1.87916e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-4.40000e-02 -8.07238e-03 -3.28731e-18 +1.71678e+01 +8.24760e+00 +1.71678e+01 +8.24760e+00 +1.96057e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-4.00000e-02 -7.40712e-03 +5.10241e-18 +1.66817e+01 +8.15819e+00 +1.66817e+01 +8.15819e+00 +2.05560e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-3.60000e-02 -6.73006e-03 +1.79884e-19 +1.61430e+01 +8.08191e+00 +1.61430e+01 +8.08191e+00 +2.16495e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-3.20000e-02 -6.04009e-03 -3.26862e-19 +1.55616e+01 +8.01922e+00 +1.55616e+01 +8.01922e+00 +2.28945e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-2.80000e-02 -5.33633e-03 -8.69113e-18 +1.49479e+01 +7.97051e+00 +1.49479e+01 +7.97051e+00 +2.42990e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-2.40000e-02 -4.61814e-03 +2.03013e-18 +1.43124e+01 +7.93602e+00 +1.43124e+01 +7.93602e+00 +2.58702e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-2.00000e-02 -3.88511e-03 +6.18825e-18 +1.36657e+01 +7.91574e+00 +1.36657e+01 +7.91574e+00 +2.76131e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-1.60000e-02 -3.13707e-03 +2.87060e-18 +1.30185e+01 +7.90934e+00 +1.30185e+01 +7.90934e+00 +2.95288e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-1.20000e-02 -2.37410e-03 -7.45135e-19 +1.23814e+01 +7.91606e+00 +1.23814e+01 +7.91606e+00 +3.16131e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-8.00000e-03 -1.59654e-03 -3.97537e-19 +1.17643e+01 +7.93466e+00 +1.17643e+01 +7.93466e+00 +3.38541e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
+-4.00000e-03 -8.04913e-04 +3.39971e-18 +1.11762e+01 +7.96331e+00 +1.11762e+01 +7.96331e+00 +3.62312e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++0.00000e+00 +0.00000e+00 +0.00000e+00 +1.06247e+01 +7.99964e+00 +1.06247e+01 +7.99964e+00 +0.00000e+00 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++4.00000e-03 +8.17247e-04 +3.23300e-18 +1.01157e+01 +8.04072e+00 +1.01157e+01 +8.04072e+00 +4.12656e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++8.00000e-03 +1.64570e-03 -3.25225e-18 +9.65297e+00 +8.08315e+00 +9.65297e+00 +8.08315e+00 +4.38392e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++1.20000e-02 +2.48411e-03 -6.55024e-18 +9.23800e+00 +8.12321e+00 +9.23800e+00 +8.12321e+00 +4.63875e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++1.60000e-02 +3.33109e-03 +6.18775e-19 +8.87029e+00 +8.15700e+00 +8.87029e+00 +8.15700e+00 +4.88646e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++2.00000e-02 +4.18519e-03 +7.68121e-18 +8.54746e+00 +8.18062e+00 +8.54746e+00 +8.18062e+00 +5.12310e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++2.40000e-02 +5.04490e-03 +4.63781e-18 +8.26570e+00 +8.19043e+00 +8.26570e+00 +8.19043e+00 +5.34568e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++2.80000e-02 +5.90868e-03 +7.45247e-19 +8.02030e+00 +8.18316e+00 +8.02030e+00 +8.18316e+00 +5.55232e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++3.20000e-02 +6.77500e-03 -1.08948e-18 +7.80610e+00 +8.15611e+00 +7.80610e+00 +8.15611e+00 +5.74228e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++3.60000e-02 +7.64232e-03 -7.03134e-18 +7.61794e+00 +8.10727e+00 +7.61794e+00 +8.10727e+00 +5.91573e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++4.00000e-02 +8.50915e-03 +7.53920e-18 +7.45097e+00 +8.03535e+00 +7.45097e+00 +8.03535e+00 +6.07352e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++4.40000e-02 +9.37403e-03 +6.01505e-18 +7.30085e+00 +7.93976e+00 +7.30085e+00 +7.93976e+00 +6.21690e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++4.80000e-02 +1.02356e-02 -7.83486e-18 +7.16390e+00 +7.82062e+00 +7.16390e+00 +7.82062e+00 +6.34733e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++5.20000e-02 +1.10924e-02 -8.76360e-19 +7.03702e+00 +7.67860e+00 +7.03702e+00 +7.67860e+00 +6.46627e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++5.60000e-02 +1.19432e-02 +3.02007e-18 +6.91775e+00 +7.51486e+00 +6.91775e+00 +7.51486e+00 +6.57506e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
++6.00000e-02 +1.27868e-02 +1.48585e-17 +6.80416e+00 +7.33088e+00 +6.80416e+00 +7.33088e+00 +6.67490e-03 +0.00000e+00 +2.02814e-01 +4.27586e-08 
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDM.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDM.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_SDM.out	(revision 17)
@@ -0,0 +1,33 @@
+#    dp           xind         zind        Betax(0)     Betaz(0)       Betax         betaz       Hx          Hz            etax        etaxp
+#
+-6.00000e-02 -6.32113e-03 +2.33668e-04 +1.83943e+01 +8.72797e+00 +5.40572e+00 +1.51940e+00 +2.05419e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-5.60000e-02 -6.02179e-03 +1.97569e-04 +1.82134e+01 +8.59018e+00 +5.39308e+00 +1.51660e+00 +2.14429e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-5.20000e-02 -5.70611e-03 +1.64940e-04 +1.79430e+01 +8.46400e+00 +5.36243e+00 +1.51572e+00 +2.24865e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.80000e-02 -5.37350e-03 +1.35654e-04 +1.75914e+01 +8.34968e+00 +5.31522e+00 +1.51693e+00 +2.36624e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.40000e-02 -5.02348e-03 +1.09589e-04 +1.71678e+01 +8.24760e+00 +5.25322e+00 +1.52040e+00 +2.49608e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.00000e-02 -4.65570e-03 +8.66199e-05 +1.66817e+01 +8.15819e+00 +5.17845e+00 +1.52630e+00 +2.63716e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-3.60000e-02 -4.26990e-03 +6.66200e-05 +1.61430e+01 +8.08191e+00 +5.09303e+00 +1.53482e+00 +2.78855e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-3.20000e-02 -3.86593e-03 +4.94608e-05 +1.55616e+01 +8.01922e+00 +4.99917e+00 +1.54616e+00 +2.94934e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.80000e-02 -3.44376e-03 +3.50134e-05 +1.49479e+01 +7.97051e+00 +4.89911e+00 +1.56053e+00 +3.11871e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.40000e-02 -3.00346e-03 +2.31507e-05 +1.43124e+01 +7.93602e+00 +4.79505e+00 +1.57814e+00 +3.29588e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.00000e-02 -2.54522e-03 +1.37498e-05 +1.36657e+01 +7.91574e+00 +4.68916e+00 +1.59917e+00 +3.48015e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-1.60000e-02 -2.06936e-03 +6.69466e-06 +1.30185e+01 +7.90934e+00 +4.58344e+00 +1.62379e+00 +3.67083e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-1.20000e-02 -1.57631e-03 +1.87890e-06 +1.23814e+01 +7.91606e+00 +4.47969e+00 +1.65209e+00 +3.86722e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-8.00000e-03 -1.06661e-03 -7.91668e-07 +1.17643e+01 +7.93466e+00 +4.37941e+00 +1.68411e+00 +4.06851e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.00000e-03 -5.40924e-04 -1.39683e-06 +1.11762e+01 +7.96331e+00 +4.28369e+00 +1.71977e+00 +4.27378e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++0.00000e+00 +0.00000e+00 +0.00000e+00 +1.06247e+01 +7.99964e+00 +4.19319e+00 +1.75887e+00 +0.00000e+00 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.00000e-03 +5.55310e-04 +3.35329e-06 +1.01157e+01 +8.04072e+00 +4.10810e+00 +1.80109e+00 +4.69159e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++8.00000e-03 +1.12408e-03 +8.63656e-06 +9.65297e+00 +8.08315e+00 +4.02821e+00 +1.84594e+00 +4.90147e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++1.20000e-02 +1.70532e-03 +1.58431e-05 +9.23800e+00 +8.12321e+00 +3.95299e+00 +1.89282e+00 +5.11021e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++1.60000e-02 +2.29799e-03 +2.49864e-05 +8.87029e+00 +8.15700e+00 +3.88175e+00 +1.94098e+00 +5.31669e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.00000e-02 +2.90102e-03 +3.61001e-05 +8.54746e+00 +8.18062e+00 +3.81375e+00 +1.98957e+00 +5.52012e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.40000e-02 +3.51331e-03 +4.92384e-05 +8.26570e+00 +8.19043e+00 +3.74833e+00 +2.03767e+00 +5.72018e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.80000e-02 +4.13377e-03 +6.44748e-05 +8.02030e+00 +8.18316e+00 +3.68494e+00 +2.08436e+00 +5.91697e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++3.20000e-02 +4.76128e-03 +8.19026e-05 +7.80610e+00 +8.15611e+00 +3.62321e+00 +2.12870e+00 +6.11096e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++3.60000e-02 +5.39478e-03 +1.01634e-04 +7.61794e+00 +8.10727e+00 +3.56292e+00 +2.16983e+00 +6.30285e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.00000e-02 +6.03321e-03 +1.23798e-04 +7.45097e+00 +8.03535e+00 +3.50396e+00 +2.20697e+00 +6.49347e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.40000e-02 +6.67554e-03 +1.48545e-04 +7.30085e+00 +7.93976e+00 +3.44630e+00 +2.23944e+00 +6.68357e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.80000e-02 +7.32076e-03 +1.76039e-04 +7.16390e+00 +7.82062e+00 +3.38998e+00 +2.26671e+00 +6.87382e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++5.20000e-02 +7.96793e-03 +2.06462e-04 +7.03702e+00 +7.67860e+00 +3.33507e+00 +2.28837e+00 +7.06468e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++5.60000e-02 +8.61611e-03 +2.40012e-04 +6.91775e+00 +7.51486e+00 +3.28166e+00 +2.30412e+00 +7.25643e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++6.00000e-02 +9.26440e-03 +2.76904e-04 +6.80416e+00 +7.33088e+00 +3.22986e+00 +2.31378e+00 +7.44912e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_achromat.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_achromat.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/amp_ind_achromat.out	(revision 17)
@@ -0,0 +1,33 @@
+#    dp           xind         zind        Betax(0)     Betaz(0)       Betax         betaz       Hx          Hz            etax        etaxp
+#
+-6.00000e-02 -1.75340e-02 -5.23539e-04 +1.83943e+01 +8.72797e+00 +3.00818e+01 +6.52563e+00 +6.12092e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-5.60000e-02 -1.62939e-02 -4.45054e-04 +1.82134e+01 +8.59018e+00 +2.96003e+01 +6.58548e+00 +5.65067e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-5.20000e-02 -1.50566e-02 -3.73008e-04 +1.79430e+01 +8.46400e+00 +2.89936e+01 +6.63586e+00 +5.23203e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.80000e-02 -1.38248e-02 -3.07501e-04 +1.75914e+01 +8.34968e+00 +2.82776e+01 +6.67631e+00 +4.86880e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.40000e-02 -1.26008e-02 -2.48563e-04 +1.71678e+01 +8.24760e+00 +2.74684e+01 +6.70633e+00 +4.56277e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.00000e-02 -1.13864e-02 -1.96168e-04 +1.66817e+01 +8.15819e+00 +2.65828e+01 +6.72537e+00 +4.31400e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-3.60000e-02 -1.01833e-02 -1.50239e-04 +1.61430e+01 +8.08191e+00 +2.56369e+01 +6.73293e+00 +4.12110e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-3.20000e-02 -8.99296e-03 -1.10656e-04 +1.55616e+01 +8.01922e+00 +2.46468e+01 +6.72858e+00 +3.98146e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.80000e-02 -7.81640e-03 -7.72653e-05 +1.49479e+01 +7.97051e+00 +2.36285e+01 +6.71203e+00 +3.89155e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.40000e-02 -6.65448e-03 -4.98858e-05 +1.43124e+01 +7.93602e+00 +2.25975e+01 +6.68322e+00 +3.84707e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-2.00000e-02 -5.50772e-03 -2.83149e-05 +1.36657e+01 +7.91574e+00 +2.15691e+01 +6.64236e+00 +3.84316e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-1.60000e-02 -4.37636e-03 -1.23373e-05 +1.30185e+01 +7.90934e+00 +2.05582e+01 +6.59003e+00 +3.87449e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-1.20000e-02 -3.26036e-03 -1.73192e-06 +1.23814e+01 +7.91606e+00 +1.95790e+01 +6.52721e+00 +3.93545e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-8.00000e-03 -2.15940e-03 +3.72082e-06 +1.17643e+01 +7.93466e+00 +1.86444e+01 +6.45528e+00 +4.02021e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
+-4.00000e-03 -1.07289e-03 +4.23242e-06 +1.11762e+01 +7.96331e+00 +1.77656e+01 +6.37598e+00 +4.12295e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++0.00000e+00 +0.00000e+00 +0.00000e+00 +1.06247e+01 +7.99964e+00 +1.69518e+01 +6.29135e+00 +0.00000e+00 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.00000e-03 +1.06031e-03 -8.79912e-06 +1.01157e+01 +8.04072e+00 +1.62091e+01 +6.20362e+00 +4.36007e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++8.00000e-03 +2.10928e-03 -2.20120e-05 +9.65297e+00 +8.08315e+00 +1.55411e+01 +6.11511e+00 +4.48466e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++1.20000e-02 +3.14831e-03 -3.95137e-05 +9.23800e+00 +8.12321e+00 +1.49480e+01 +6.02806e+00 +4.60821e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++1.60000e-02 +4.17893e-03 -6.12103e-05 +8.87029e+00 +8.15700e+00 +1.44273e+01 +5.94457e+00 +4.72837e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.00000e-02 +5.20275e-03 -8.70403e-05 +8.54746e+00 +8.18062e+00 +1.39744e+01 +5.86648e+00 +4.84413e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.40000e-02 +6.22145e-03 -1.16976e-04 +8.26570e+00 +8.19043e+00 +1.35826e+01 +5.79536e+00 +4.95571e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++2.80000e-02 +7.23677e-03 -1.51024e-04 +8.02030e+00 +8.18316e+00 +1.32444e+01 +5.73243e+00 +5.06442e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++3.20000e-02 +8.25043e-03 -1.89225e-04 +7.80610e+00 +8.15611e+00 +1.29518e+01 +5.67867e+00 +5.17233e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++3.60000e-02 +9.26416e-03 -2.31652e-04 +7.61794e+00 +8.10727e+00 +1.26970e+01 +5.63477e+00 +5.28192e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.00000e-02 +1.02797e-02 -2.78412e-04 +7.45097e+00 +8.03535e+00 +1.24728e+01 +5.60124e+00 +5.39586e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.40000e-02 +1.12986e-02 -3.29642e-04 +7.30085e+00 +7.93976e+00 +1.22726e+01 +5.57844e+00 +5.51671e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++4.80000e-02 +1.23225e-02 -3.85509e-04 +7.16390e+00 +7.82062e+00 +1.20908e+01 +5.56666e+00 +5.64683e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++5.20000e-02 +1.33531e-02 -4.46210e-04 +7.03702e+00 +7.67860e+00 +1.19228e+01 +5.56617e+00 +5.78827e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++5.60000e-02 +1.43918e-02 -5.11971e-04 +6.91775e+00 +7.51486e+00 +1.17646e+01 +5.57728e+00 +5.94283e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
++6.00000e-02 +1.54400e-02 -5.83042e-04 +6.80416e+00 +7.33088e+00 +1.16131e+01 +5.60038e+00 +6.11199e-03 +0.00000e+00 +0.00000e+00 +0.00000e+00 
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/chambre.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/chambre.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/chambre.out	(revision 17)
@@ -0,0 +1,1051 @@
+# TRACY II v. SYNCHROTRON SOLEIL -- chambre.out -- Mon Feb 16 09:27:02 2004 
+#  i  name      s   -xch(mm)   +xch(mm)  zch (mm)
+#
+   1  debut    0.00  -35.000   35.000    7.000
+   2  sd1a     0.90  -35.000   35.000    7.000
+   3  ssep     0.90  -25.000   25.000    7.000
+   4  sep      1.10  -25.000   25.000    7.000
+   5  sep      1.30  -25.000   25.000    7.000
+   6  sep      1.50  -25.000   25.000    7.000
+   7  esep     1.50  -35.000   35.000    7.000
+   8  sd1c     5.20  -35.000   35.000    7.000
+   9  ehu60    5.20  -35.000   35.000   12.500
+  10  sd1d     6.00  -35.000   35.000   12.500
+  11  qp1      6.16  -35.000   35.000   12.500
+  12  qp1      6.32  -35.000   35.000   12.500
+  13  sd2      6.71  -35.000   35.000   12.500
+  14  sx1      6.71  -35.000   35.000   12.500
+  15  sd3      6.91  -35.000   35.000   12.500
+  16  qp2      7.14  -35.000   35.000   12.500
+  17  qp2      7.37  -35.000   35.000   12.500
+  18  sd14     7.96  -35.000   35.000   12.500
+  19  qp3      8.12  -35.000   35.000   12.500
+  20  qp3      8.28  -35.000   35.000   12.500
+  21  sd5      8.48  -35.000   35.000   12.500
+  22  sx2      8.48  -35.000   35.000   12.500
+  23  sd6      9.27  -35.000   35.000   12.500
+  24  bend2    9.45  -35.000   35.000   12.500
+  25  bend3    9.62  -35.000   35.000   12.500
+  26  bend3    9.80  -35.000   35.000   12.500
+  27  bend3    9.97  -35.000   35.000   12.500
+  28  bend3   10.15  -35.000   35.000   12.500
+  29  bend4   10.32  -35.000   35.000   12.500
+  30  sd7     10.76  -35.000   35.000   12.500
+  31  qp4     10.92  -35.000   35.000   12.500
+  32  qp4     11.08  -35.000   35.000   12.500
+  33  sd8     11.28  -35.000   35.000   12.500
+  34  sx3     11.28  -35.000   35.000   12.500
+  35  sd9     11.76  -35.000   35.000   12.500
+  36  qp5     11.92  -35.000   35.000   12.500
+  37  qp5     12.08  -35.000   35.000   12.500
+  38  sd12    12.55  -35.000   35.000   12.500
+  39  sx4     12.55  -35.000   35.000   12.500
+  40  sd10    13.02  -35.000   35.000   12.500
+  41  qp5     13.18  -35.000   35.000   12.500
+  42  qp5     13.34  -35.000   35.000   12.500
+  43  sd9     13.82  -35.000   35.000   12.500
+  44  sx3     13.82  -35.000   35.000   12.500
+  45  sd8     14.02  -35.000   35.000   12.500
+  46  qp4     14.18  -35.000   35.000   12.500
+  47  qp4     14.34  -35.000   35.000   12.500
+  48  sd7     14.78  -35.000   35.000   12.500
+  49  bend2   14.95  -35.000   35.000   12.500
+  50  bend3   15.13  -35.000   35.000   12.500
+  51  bend3   15.30  -35.000   35.000   12.500
+  52  bend3   15.48  -35.000   35.000   12.500
+  53  bend3   15.65  -35.000   35.000   12.500
+  54  bend4   15.83  -35.000   35.000   12.500
+  55  sd7     16.27  -35.000   35.000   12.500
+  56  qp6     16.43  -35.000   35.000   12.500
+  57  qp6     16.59  -35.000   35.000   12.500
+  58  sd5     16.79  -35.000   35.000   12.500
+  59  sx5     16.79  -35.000   35.000   12.500
+  60  sd4     17.18  -35.000   35.000   12.500
+  61  qp7     17.41  -35.000   35.000   12.500
+  62  qp7     17.64  -35.000   35.000   12.500
+  63  sd3     17.84  -35.000   35.000   12.500
+  64  sx6     17.84  -35.000   35.000   12.500
+  65  sd2     18.23  -35.000   35.000   12.500
+  66  qp8     18.39  -35.000   35.000   12.500
+  67  qp8     18.55  -35.000   35.000   12.500
+  68  sd13c   19.28  -35.000   35.000   12.500
+  69  ssdm    19.28  -21.000   21.000    5.000
+  70  sd13a   19.48  -21.000   21.000    5.000
+  71  sd13a   19.68  -21.000   21.000    5.000
+  72  sd13a   19.88  -21.000   21.000    5.000
+  73  sd13a   20.08  -21.000   21.000    5.000
+  74  sd13a   20.28  -21.000   21.000    5.000
+  75  sd13a   20.48  -21.000   21.000    5.000
+  76  sd13a   20.68  -21.000   21.000    5.000
+  77  sd13a   20.88  -21.000   21.000    5.000
+  78  sd13a   21.08  -21.000   21.000    5.000
+  79  sd13a   21.28  -21.000   21.000    5.000
+  80  sd13a   21.48  -21.000   21.000    5.000
+  81  sd13a   21.68  -21.000   21.000    5.000
+  82  sd13a   21.88  -21.000   21.000    5.000
+  83  sd13b   22.03  -21.000   21.000    5.000
+  84  sd13b   22.18  -21.000   21.000    5.000
+  85  sd13a   22.38  -21.000   21.000    5.000
+  86  sd13a   22.58  -21.000   21.000    5.000
+  87  sd13a   22.78  -21.000   21.000    5.000
+  88  sd13a   22.98  -21.000   21.000    5.000
+  89  sd13a   23.18  -21.000   21.000    5.000
+  90  sd13a   23.38  -21.000   21.000    5.000
+  91  sd13a   23.58  -21.000   21.000    5.000
+  92  sd13a   23.78  -21.000   21.000    5.000
+  93  sd13a   23.98  -21.000   21.000    5.000
+  94  sd13a   24.18  -21.000   21.000    5.000
+  95  sd13a   24.38  -21.000   21.000    5.000
+  96  sd13a   24.58  -21.000   21.000    5.000
+  97  sd13a   24.78  -21.000   21.000    5.000
+  98  esdm    24.78  -21.000   21.000    5.000
+  99  eesdm   24.78  -35.000   35.000   12.500
+ 100  sd13c   25.51  -35.000   35.000   12.500
+ 101  qp8     25.67  -35.000   35.000   12.500
+ 102  qp8     25.83  -35.000   35.000   12.500
+ 103  sd2     26.22  -35.000   35.000   12.500
+ 104  sx8     26.22  -35.000   35.000   12.500
+ 105  sd3     26.42  -35.000   35.000   12.500
+ 106  qp7     26.65  -35.000   35.000   12.500
+ 107  qp7     26.88  -35.000   35.000   12.500
+ 108  sd4     27.27  -35.000   35.000   12.500
+ 109  sx7     27.27  -35.000   35.000   12.500
+ 110  sd5     27.47  -35.000   35.000   12.500
+ 111  qp6     27.63  -35.000   35.000   12.500
+ 112  qp6     27.79  -35.000   35.000   12.500
+ 113  sd7     28.23  -35.000   35.000   12.500
+ 114  bend2   28.41  -35.000   35.000   12.500
+ 115  bend3   28.58  -35.000   35.000   12.500
+ 116  bend3   28.76  -35.000   35.000   12.500
+ 117  bend3   28.93  -35.000   35.000   12.500
+ 118  bend3   29.11  -35.000   35.000   12.500
+ 119  bend4   29.29  -35.000   35.000   12.500
+ 120  sd7     29.73  -35.000   35.000   12.500
+ 121  qp9     29.89  -35.000   35.000   12.500
+ 122  qp9     30.05  -35.000   35.000   12.500
+ 123  sd8     30.25  -35.000   35.000   12.500
+ 124  sx9     30.25  -35.000   35.000   12.500
+ 125  sd9     30.72  -35.000   35.000   12.500
+ 126  qp10    30.88  -35.000   35.000   12.500
+ 127  qp10    31.04  -35.000   35.000   12.500
+ 128  sd8     31.24  -35.000   35.000   12.500
+ 129  sx10    31.24  -35.000   35.000   12.500
+ 130  sdac1   32.25  -35.000   35.000   12.500
+ 131  ssdac   32.25  -35.000   35.000    2.500
+ 132  sdac2   32.45  -35.000   35.000    2.500
+ 133  sdac2   32.65  -35.000   35.000    2.500
+ 134  sdac2   32.85  -35.000   35.000    2.500
+ 135  sdac2   33.05  -35.000   35.000    2.500
+ 136  sdac2   33.25  -35.000   35.000    2.500
+ 137  sdac2   33.45  -35.000   35.000    2.500
+ 138  sdac2   33.65  -35.000   35.000    2.500
+ 139  sdac2   33.85  -35.000   35.000    2.500
+ 140  sdac2   34.05  -35.000   35.000    2.500
+ 141  esdac   34.05  -35.000   35.000   12.500
+ 142  sdac1   35.05  -35.000   35.000   12.500
+ 143  sx10    35.05  -35.000   35.000   12.500
+ 144  sd8     35.25  -35.000   35.000   12.500
+ 145  qp10    35.41  -35.000   35.000   12.500
+ 146  qp10    35.57  -35.000   35.000   12.500
+ 147  sd9     36.05  -35.000   35.000   12.500
+ 148  sx9     36.05  -35.000   35.000   12.500
+ 149  sd8     36.25  -35.000   35.000   12.500
+ 150  qp9     36.41  -35.000   35.000   12.500
+ 151  qp9     36.57  -35.000   35.000   12.500
+ 152  sd7     37.01  -35.000   35.000   12.500
+ 153  bend2   37.18  -35.000   35.000   12.500
+ 154  bend3   37.36  -35.000   35.000   12.500
+ 155  bend3   37.53  -35.000   35.000   12.500
+ 156  bend3   37.71  -35.000   35.000   12.500
+ 157  bend3   37.88  -35.000   35.000   12.500
+ 158  bend4   38.06  -35.000   35.000   12.500
+ 159  sd7     38.50  -35.000   35.000   12.500
+ 160  qp6     38.66  -35.000   35.000   12.500
+ 161  qp6     38.82  -35.000   35.000   12.500
+ 162  sd5     39.02  -35.000   35.000   12.500
+ 163  sx7     39.02  -35.000   35.000   12.500
+ 164  sd4     39.41  -35.000   35.000   12.500
+ 165  qp7     39.64  -35.000   35.000   12.500
+ 166  qp7     39.87  -35.000   35.000   12.500
+ 167  sd3     40.07  -35.000   35.000   12.500
+ 168  sx8     40.07  -35.000   35.000   12.500
+ 169  sd2     40.46  -35.000   35.000   12.500
+ 170  qp8     40.62  -35.000   35.000   12.500
+ 171  qp8     40.78  -35.000   35.000   12.500
+ 172  sd13c   41.51  -35.000   35.000   12.500
+ 173  sd13a   41.71  -35.000   35.000   12.500
+ 174  sd13a   41.91  -35.000   35.000   12.500
+ 175  sd13a   42.11  -35.000   35.000   12.500
+ 176  sd13a   42.31  -35.000   35.000   12.500
+ 177  sd13a   42.51  -35.000   35.000   12.500
+ 178  sd13a   42.71  -35.000   35.000   12.500
+ 179  sd13a   42.91  -35.000   35.000   12.500
+ 180  sd13a   43.11  -35.000   35.000   12.500
+ 181  sd13a   43.31  -35.000   35.000   12.500
+ 182  sd13a   43.51  -35.000   35.000   12.500
+ 183  sd13a   43.71  -35.000   35.000   12.500
+ 184  sd13a   43.91  -35.000   35.000   12.500
+ 185  sd13a   44.11  -35.000   35.000   12.500
+ 186  sd13b   44.26  -35.000   35.000   12.500
+ 187  sd13b   44.41  -35.000   35.000   12.500
+ 188  sd13a   44.61  -35.000   35.000   12.500
+ 189  sd13a   44.81  -35.000   35.000   12.500
+ 190  sd13a   45.01  -35.000   35.000   12.500
+ 191  sd13a   45.21  -35.000   35.000   12.500
+ 192  sd13a   45.41  -35.000   35.000   12.500
+ 193  sd13a   45.61  -35.000   35.000   12.500
+ 194  sd13a   45.81  -35.000   35.000   12.500
+ 195  sd13a   46.01  -35.000   35.000   12.500
+ 196  sd13a   46.21  -35.000   35.000   12.500
+ 197  sd13a   46.41  -35.000   35.000   12.500
+ 198  sd13a   46.61  -35.000   35.000   12.500
+ 199  sd13a   46.81  -35.000   35.000   12.500
+ 200  sd13a   47.01  -35.000   35.000   12.500
+ 201  sd13c   47.74  -35.000   35.000   12.500
+ 202  qp8     47.90  -35.000   35.000   12.500
+ 203  qp8     48.06  -35.000   35.000   12.500
+ 204  sd2     48.45  -35.000   35.000   12.500
+ 205  sx8     48.45  -35.000   35.000   12.500
+ 206  sd3     48.65  -35.000   35.000   12.500
+ 207  qp7     48.88  -35.000   35.000   12.500
+ 208  qp7     49.11  -35.000   35.000   12.500
+ 209  sd4     49.50  -35.000   35.000   12.500
+ 210  sx7     49.50  -35.000   35.000   12.500
+ 211  sd5     49.70  -35.000   35.000   12.500
+ 212  qp6     49.86  -35.000   35.000   12.500
+ 213  qp6     50.02  -35.000   35.000   12.500
+ 214  sd7     50.46  -35.000   35.000   12.500
+ 215  bend2   50.64  -35.000   35.000   12.500
+ 216  bend3   50.82  -35.000   35.000   12.500
+ 217  bend3   50.99  -35.000   35.000   12.500
+ 218  bend3   51.17  -35.000   35.000   12.500
+ 219  bend3   51.34  -35.000   35.000   12.500
+ 220  bend4   51.52  -35.000   35.000   12.500
+ 221  sd7     51.96  -35.000   35.000   12.500
+ 222  qp9     52.12  -35.000   35.000   12.500
+ 223  qp9     52.28  -35.000   35.000   12.500
+ 224  sd8     52.48  -35.000   35.000   12.500
+ 225  sx9     52.48  -35.000   35.000   12.500
+ 226  sd9     52.95  -35.000   35.000   12.500
+ 227  qp10    53.11  -35.000   35.000   12.500
+ 228  qp10    53.27  -35.000   35.000   12.500
+ 229  sd8     53.47  -35.000   35.000   12.500
+ 230  sx10    53.47  -35.000   35.000   12.500
+ 231  sdac    55.38  -35.000   35.000   12.500
+ 232  sdac    57.28  -35.000   35.000   12.500
+ 233  sx10    57.28  -35.000   35.000   12.500
+ 234  sd8     57.48  -35.000   35.000   12.500
+ 235  qp10    57.64  -35.000   35.000   12.500
+ 236  qp10    57.80  -35.000   35.000   12.500
+ 237  sd9     58.28  -35.000   35.000   12.500
+ 238  sx9     58.28  -35.000   35.000   12.500
+ 239  sd8     58.48  -35.000   35.000   12.500
+ 240  qp9     58.64  -35.000   35.000   12.500
+ 241  qp9     58.80  -35.000   35.000   12.500
+ 242  sd7     59.24  -35.000   35.000   12.500
+ 243  bend2   59.41  -35.000   35.000   12.500
+ 244  bend3   59.59  -35.000   35.000   12.500
+ 245  bend3   59.77  -35.000   35.000   12.500
+ 246  bend3   59.94  -35.000   35.000   12.500
+ 247  bend3   60.12  -35.000   35.000   12.500
+ 248  bend4   60.29  -35.000   35.000   12.500
+ 249  sd7     60.73  -35.000   35.000   12.500
+ 250  qp6     60.89  -35.000   35.000   12.500
+ 251  qp6     61.05  -35.000   35.000   12.500
+ 252  sd5     61.25  -35.000   35.000   12.500
+ 253  sx7     61.25  -35.000   35.000   12.500
+ 254  sd4     61.64  -35.000   35.000   12.500
+ 255  qp7     61.87  -35.000   35.000   12.500
+ 256  qp7     62.10  -35.000   35.000   12.500
+ 257  sd3     62.30  -35.000   35.000   12.500
+ 258  sx8     62.30  -35.000   35.000   12.500
+ 259  sd2     62.69  -35.000   35.000   12.500
+ 260  qp8     62.85  -35.000   35.000   12.500
+ 261  qp8     63.01  -35.000   35.000   12.500
+ 262  sd13    66.49  -35.000   35.000   12.500
+ 263  sd13    69.98  -35.000   35.000   12.500
+ 264  qp8     70.14  -35.000   35.000   12.500
+ 265  qp8     70.30  -35.000   35.000   12.500
+ 266  sd2     70.69  -35.000   35.000   12.500
+ 267  sx6     70.69  -35.000   35.000   12.500
+ 268  sd3     70.89  -35.000   35.000   12.500
+ 269  qp7     71.12  -35.000   35.000   12.500
+ 270  qp7     71.35  -35.000   35.000   12.500
+ 271  sd4     71.74  -35.000   35.000   12.500
+ 272  sx5     71.74  -35.000   35.000   12.500
+ 273  sd5     71.94  -35.000   35.000   12.500
+ 274  qp6     72.10  -35.000   35.000   12.500
+ 275  qp6     72.26  -35.000   35.000   12.500
+ 276  sd7     72.70  -35.000   35.000   12.500
+ 277  bend2   72.87  -35.000   35.000   12.500
+ 278  bend3   73.05  -35.000   35.000   12.500
+ 279  bend3   73.22  -35.000   35.000   12.500
+ 280  bend3   73.40  -35.000   35.000   12.500
+ 281  bend3   73.57  -35.000   35.000   12.500
+ 282  bend4   73.75  -35.000   35.000   12.500
+ 283  sd7     74.19  -35.000   35.000   12.500
+ 284  qp4     74.35  -35.000   35.000   12.500
+ 285  qp4     74.51  -35.000   35.000   12.500
+ 286  sd8     74.71  -35.000   35.000   12.500
+ 287  sx3     74.71  -35.000   35.000   12.500
+ 288  sd9     75.19  -35.000   35.000   12.500
+ 289  qp5     75.35  -35.000   35.000   12.500
+ 290  qp5     75.51  -35.000   35.000   12.500
+ 291  sd10    75.98  -35.000   35.000   12.500
+ 292  sx4     75.98  -35.000   35.000   12.500
+ 293  sd12    76.45  -35.000   35.000   12.500
+ 294  qp5     76.61  -35.000   35.000   12.500
+ 295  qp5     76.77  -35.000   35.000   12.500
+ 296  sd9     77.24  -35.000   35.000   12.500
+ 297  sx3     77.24  -35.000   35.000   12.500
+ 298  sd8     77.44  -35.000   35.000   12.500
+ 299  qp4     77.60  -35.000   35.000   12.500
+ 300  qp4     77.76  -35.000   35.000   12.500
+ 301  sd7     78.20  -35.000   35.000   12.500
+ 302  bend2   78.38  -35.000   35.000   12.500
+ 303  bend3   78.55  -35.000   35.000   12.500
+ 304  bend3   78.73  -35.000   35.000   12.500
+ 305  bend3   78.90  -35.000   35.000   12.500
+ 306  bend3   79.08  -35.000   35.000   12.500
+ 307  bend4   79.25  -35.000   35.000   12.500
+ 308  sd6     80.04  -35.000   35.000   12.500
+ 309  sx2     80.04  -35.000   35.000   12.500
+ 310  sd5     80.24  -35.000   35.000   12.500
+ 311  qp3     80.40  -35.000   35.000   12.500
+ 312  qp3     80.56  -35.000   35.000   12.500
+ 313  sd14    81.15  -35.000   35.000   12.500
+ 314  qp2     81.38  -35.000   35.000   12.500
+ 315  qp2     81.61  -35.000   35.000   12.500
+ 316  sd3     81.81  -35.000   35.000   12.500
+ 317  sx1     81.81  -35.000   35.000   12.500
+ 318  sd2     82.20  -35.000   35.000   12.500
+ 319  qp1     82.36  -35.000   35.000   12.500
+ 320  qp1     82.52  -35.000   35.000   12.500
+ 321  sd1     88.52  -35.000   35.000   12.500
+ 322  sd1     94.52  -35.000   35.000   12.500
+ 323  qp1     94.68  -35.000   35.000   12.500
+ 324  qp1     94.84  -35.000   35.000   12.500
+ 325  sd2     95.23  -35.000   35.000   12.500
+ 326  sx1     95.23  -35.000   35.000   12.500
+ 327  sd3     95.43  -35.000   35.000   12.500
+ 328  qp2     95.66  -35.000   35.000   12.500
+ 329  qp2     95.89  -35.000   35.000   12.500
+ 330  sd14    96.48  -35.000   35.000   12.500
+ 331  qp3     96.64  -35.000   35.000   12.500
+ 332  qp3     96.80  -35.000   35.000   12.500
+ 333  sd5     97.00  -35.000   35.000   12.500
+ 334  sx2     97.00  -35.000   35.000   12.500
+ 335  sd6     97.79  -35.000   35.000   12.500
+ 336  bend2   97.97  -35.000   35.000   12.500
+ 337  bend3   98.14  -35.000   35.000   12.500
+ 338  bend3   98.32  -35.000   35.000   12.500
+ 339  bend3   98.50  -35.000   35.000   12.500
+ 340  bend3   98.67  -35.000   35.000   12.500
+ 341  bend4   98.85  -35.000   35.000   12.500
+ 342  sd7     99.29  -35.000   35.000   12.500
+ 343  qp4     99.45  -35.000   35.000   12.500
+ 344  qp4     99.61  -35.000   35.000   12.500
+ 345  sd8     99.81  -35.000   35.000   12.500
+ 346  sx3     99.81  -35.000   35.000   12.500
+ 347  sd9    100.28  -35.000   35.000   12.500
+ 348  qp5    100.44  -35.000   35.000   12.500
+ 349  qp5    100.60  -35.000   35.000   12.500
+ 350  sd12   101.07  -35.000   35.000   12.500
+ 351  sx4    101.07  -35.000   35.000   12.500
+ 352  sd10   101.54  -35.000   35.000   12.500
+ 353  qp5    101.70  -35.000   35.000   12.500
+ 354  qp5    101.86  -35.000   35.000   12.500
+ 355  sd9    102.34  -35.000   35.000   12.500
+ 356  sx3    102.34  -35.000   35.000   12.500
+ 357  sd8    102.54  -35.000   35.000   12.500
+ 358  qp4    102.70  -35.000   35.000   12.500
+ 359  qp4    102.86  -35.000   35.000   12.500
+ 360  sd7    103.30  -35.000   35.000   12.500
+ 361  bend2  103.47  -35.000   35.000   12.500
+ 362  bend3  103.65  -35.000   35.000   12.500
+ 363  bend3  103.83  -35.000   35.000   12.500
+ 364  bend3  104.00  -35.000   35.000   12.500
+ 365  bend3  104.18  -35.000   35.000   12.500
+ 366  bend4  104.35  -35.000   35.000   12.500
+ 367  sd7    104.79  -35.000   35.000   12.500
+ 368  qp6    104.95  -35.000   35.000   12.500
+ 369  qp6    105.11  -35.000   35.000   12.500
+ 370  sd5    105.31  -35.000   35.000   12.500
+ 371  sx5    105.31  -35.000   35.000   12.500
+ 372  sd4    105.70  -35.000   35.000   12.500
+ 373  qp7    105.93  -35.000   35.000   12.500
+ 374  qp7    106.16  -35.000   35.000   12.500
+ 375  sd3    106.36  -35.000   35.000   12.500
+ 376  sx6    106.36  -35.000   35.000   12.500
+ 377  sd2    106.75  -35.000   35.000   12.500
+ 378  qp8    106.91  -35.000   35.000   12.500
+ 379  qp8    107.07  -35.000   35.000   12.500
+ 380  sd13   110.55  -35.000   35.000   12.500
+ 381  sd13   114.04  -35.000   35.000   12.500
+ 382  qp8    114.20  -35.000   35.000   12.500
+ 383  qp8    114.36  -35.000   35.000   12.500
+ 384  sd2    114.75  -35.000   35.000   12.500
+ 385  sx8    114.75  -35.000   35.000   12.500
+ 386  sd3    114.95  -35.000   35.000   12.500
+ 387  qp7    115.18  -35.000   35.000   12.500
+ 388  qp7    115.41  -35.000   35.000   12.500
+ 389  sd4    115.80  -35.000   35.000   12.500
+ 390  sx7    115.80  -35.000   35.000   12.500
+ 391  sd5    116.00  -35.000   35.000   12.500
+ 392  qp6    116.16  -35.000   35.000   12.500
+ 393  qp6    116.32  -35.000   35.000   12.500
+ 394  sd7    116.76  -35.000   35.000   12.500
+ 395  bend2  116.93  -35.000   35.000   12.500
+ 396  bend3  117.11  -35.000   35.000   12.500
+ 397  bend3  117.28  -35.000   35.000   12.500
+ 398  bend3  117.46  -35.000   35.000   12.500
+ 399  bend3  117.63  -35.000   35.000   12.500
+ 400  bend4  117.81  -35.000   35.000   12.500
+ 401  sd7    118.25  -35.000   35.000   12.500
+ 402  qp9    118.41  -35.000   35.000   12.500
+ 403  qp9    118.57  -35.000   35.000   12.500
+ 404  sd8    118.77  -35.000   35.000   12.500
+ 405  sx9    118.77  -35.000   35.000   12.500
+ 406  sd9    119.25  -35.000   35.000   12.500
+ 407  qp10   119.41  -35.000   35.000   12.500
+ 408  qp10   119.57  -35.000   35.000   12.500
+ 409  sd8    119.77  -35.000   35.000   12.500
+ 410  sx10   119.77  -35.000   35.000   12.500
+ 411  sdac   121.67  -35.000   35.000   12.500
+ 412  sdac   123.57  -35.000   35.000   12.500
+ 413  sx10   123.57  -35.000   35.000   12.500
+ 414  sd8    123.77  -35.000   35.000   12.500
+ 415  qp10   123.93  -35.000   35.000   12.500
+ 416  qp10   124.09  -35.000   35.000   12.500
+ 417  sd9    124.57  -35.000   35.000   12.500
+ 418  sx9    124.57  -35.000   35.000   12.500
+ 419  sd8    124.77  -35.000   35.000   12.500
+ 420  qp9    124.93  -35.000   35.000   12.500
+ 421  qp9    125.09  -35.000   35.000   12.500
+ 422  sd7    125.53  -35.000   35.000   12.500
+ 423  bend2  125.71  -35.000   35.000   12.500
+ 424  bend3  125.88  -35.000   35.000   12.500
+ 425  bend3  126.06  -35.000   35.000   12.500
+ 426  bend3  126.23  -35.000   35.000   12.500
+ 427  bend3  126.41  -35.000   35.000   12.500
+ 428  bend4  126.58  -35.000   35.000   12.500
+ 429  sd7    127.02  -35.000   35.000   12.500
+ 430  qp6    127.18  -35.000   35.000   12.500
+ 431  qp6    127.34  -35.000   35.000   12.500
+ 432  sd5    127.54  -35.000   35.000   12.500
+ 433  sx7    127.54  -35.000   35.000   12.500
+ 434  sd4    127.93  -35.000   35.000   12.500
+ 435  qp7    128.16  -35.000   35.000   12.500
+ 436  qp7    128.39  -35.000   35.000   12.500
+ 437  sd3    128.59  -35.000   35.000   12.500
+ 438  sx8    128.59  -35.000   35.000   12.500
+ 439  sd2    128.98  -35.000   35.000   12.500
+ 440  qp8    129.14  -35.000   35.000   12.500
+ 441  qp8    129.30  -35.000   35.000   12.500
+ 442  sd13   132.79  -35.000   35.000   12.500
+ 443  sd13   136.27  -35.000   35.000   12.500
+ 444  qp8    136.43  -35.000   35.000   12.500
+ 445  qp8    136.59  -35.000   35.000   12.500
+ 446  sd2    136.98  -35.000   35.000   12.500
+ 447  sx8    136.98  -35.000   35.000   12.500
+ 448  sd3    137.18  -35.000   35.000   12.500
+ 449  qp7    137.41  -35.000   35.000   12.500
+ 450  qp7    137.64  -35.000   35.000   12.500
+ 451  sd4    138.03  -35.000   35.000   12.500
+ 452  sx7    138.03  -35.000   35.000   12.500
+ 453  sd5    138.23  -35.000   35.000   12.500
+ 454  qp6    138.39  -35.000   35.000   12.500
+ 455  qp6    138.55  -35.000   35.000   12.500
+ 456  sd7    138.99  -35.000   35.000   12.500
+ 457  bend2  139.16  -35.000   35.000   12.500
+ 458  bend3  139.34  -35.000   35.000   12.500
+ 459  bend3  139.52  -35.000   35.000   12.500
+ 460  bend3  139.69  -35.000   35.000   12.500
+ 461  bend3  139.87  -35.000   35.000   12.500
+ 462  bend4  140.04  -35.000   35.000   12.500
+ 463  sd7    140.48  -35.000   35.000   12.500
+ 464  qp9    140.64  -35.000   35.000   12.500
+ 465  qp9    140.80  -35.000   35.000   12.500
+ 466  sd8    141.00  -35.000   35.000   12.500
+ 467  sx9    141.00  -35.000   35.000   12.500
+ 468  sd9    141.48  -35.000   35.000   12.500
+ 469  qp10   141.64  -35.000   35.000   12.500
+ 470  qp10   141.80  -35.000   35.000   12.500
+ 471  sd8    142.00  -35.000   35.000   12.500
+ 472  sx10   142.00  -35.000   35.000   12.500
+ 473  sdac   143.90  -35.000   35.000   12.500
+ 474  sdac   145.81  -35.000   35.000   12.500
+ 475  sx10   145.81  -35.000   35.000   12.500
+ 476  sd8    146.01  -35.000   35.000   12.500
+ 477  qp10   146.17  -35.000   35.000   12.500
+ 478  qp10   146.33  -35.000   35.000   12.500
+ 479  sd9    146.80  -35.000   35.000   12.500
+ 480  sx9    146.80  -35.000   35.000   12.500
+ 481  sd8    147.00  -35.000   35.000   12.500
+ 482  qp9    147.16  -35.000   35.000   12.500
+ 483  qp9    147.32  -35.000   35.000   12.500
+ 484  sd7    147.76  -35.000   35.000   12.500
+ 485  bend2  147.94  -35.000   35.000   12.500
+ 486  bend3  148.11  -35.000   35.000   12.500
+ 487  bend3  148.29  -35.000   35.000   12.500
+ 488  bend3  148.46  -35.000   35.000   12.500
+ 489  bend3  148.64  -35.000   35.000   12.500
+ 490  bend4  148.82  -35.000   35.000   12.500
+ 491  sd7    149.26  -35.000   35.000   12.500
+ 492  qp6    149.42  -35.000   35.000   12.500
+ 493  qp6    149.58  -35.000   35.000   12.500
+ 494  sd5    149.78  -35.000   35.000   12.500
+ 495  sx7    149.78  -35.000   35.000   12.500
+ 496  sd4    150.17  -35.000   35.000   12.500
+ 497  qp7    150.40  -35.000   35.000   12.500
+ 498  qp7    150.63  -35.000   35.000   12.500
+ 499  sd3    150.83  -35.000   35.000   12.500
+ 500  sx8    150.83  -35.000   35.000   12.500
+ 501  sd2    151.22  -35.000   35.000   12.500
+ 502  qp8    151.38  -35.000   35.000   12.500
+ 503  qp8    151.54  -35.000   35.000   12.500
+ 504  sd13   155.02  -35.000   35.000   12.500
+ 505  sd13   158.50  -35.000   35.000   12.500
+ 506  qp8    158.66  -35.000   35.000   12.500
+ 507  qp8    158.82  -35.000   35.000   12.500
+ 508  sd2    159.21  -35.000   35.000   12.500
+ 509  sx6    159.21  -35.000   35.000   12.500
+ 510  sd3    159.41  -35.000   35.000   12.500
+ 511  qp7    159.64  -35.000   35.000   12.500
+ 512  qp7    159.87  -35.000   35.000   12.500
+ 513  sd4    160.26  -35.000   35.000   12.500
+ 514  sx5    160.26  -35.000   35.000   12.500
+ 515  sd5    160.46  -35.000   35.000   12.500
+ 516  qp6    160.62  -35.000   35.000   12.500
+ 517  qp6    160.78  -35.000   35.000   12.500
+ 518  sd7    161.22  -35.000   35.000   12.500
+ 519  bend2  161.40  -35.000   35.000   12.500
+ 520  bend3  161.57  -35.000   35.000   12.500
+ 521  bend3  161.75  -35.000   35.000   12.500
+ 522  bend3  161.92  -35.000   35.000   12.500
+ 523  bend3  162.10  -35.000   35.000   12.500
+ 524  bend4  162.27  -35.000   35.000   12.500
+ 525  sd7    162.71  -35.000   35.000   12.500
+ 526  qp4    162.87  -35.000   35.000   12.500
+ 527  qp4    163.03  -35.000   35.000   12.500
+ 528  sd8    163.23  -35.000   35.000   12.500
+ 529  sx3    163.23  -35.000   35.000   12.500
+ 530  sd9    163.71  -35.000   35.000   12.500
+ 531  qp5    163.87  -35.000   35.000   12.500
+ 532  qp5    164.03  -35.000   35.000   12.500
+ 533  sd10   164.50  -35.000   35.000   12.500
+ 534  sx4    164.50  -35.000   35.000   12.500
+ 535  sd12   164.97  -35.000   35.000   12.500
+ 536  qp5    165.13  -35.000   35.000   12.500
+ 537  qp5    165.29  -35.000   35.000   12.500
+ 538  sd9    165.77  -35.000   35.000   12.500
+ 539  sx3    165.77  -35.000   35.000   12.500
+ 540  sd8    165.97  -35.000   35.000   12.500
+ 541  qp4    166.13  -35.000   35.000   12.500
+ 542  qp4    166.29  -35.000   35.000   12.500
+ 543  sd7    166.73  -35.000   35.000   12.500
+ 544  bend2  166.90  -35.000   35.000   12.500
+ 545  bend3  167.08  -35.000   35.000   12.500
+ 546  bend3  167.25  -35.000   35.000   12.500
+ 547  bend3  167.43  -35.000   35.000   12.500
+ 548  bend3  167.60  -35.000   35.000   12.500
+ 549  bend4  167.78  -35.000   35.000   12.500
+ 550  sd6    168.57  -35.000   35.000   12.500
+ 551  sx2    168.57  -35.000   35.000   12.500
+ 552  sd5    168.77  -35.000   35.000   12.500
+ 553  qp3    168.93  -35.000   35.000   12.500
+ 554  qp3    169.09  -35.000   35.000   12.500
+ 555  sd14   169.68  -35.000   35.000   12.500
+ 556  qp2    169.91  -35.000   35.000   12.500
+ 557  qp2    170.14  -35.000   35.000   12.500
+ 558  sd3    170.34  -35.000   35.000   12.500
+ 559  sx1    170.34  -35.000   35.000   12.500
+ 560  sd2    170.73  -35.000   35.000   12.500
+ 561  qp1    170.89  -35.000   35.000   12.500
+ 562  qp1    171.05  -35.000   35.000   12.500
+ 563  sd1    177.05  -35.000   35.000   12.500
+ 564  sd1    183.05  -35.000   35.000   12.500
+ 565  qp1    183.21  -35.000   35.000   12.500
+ 566  qp1    183.37  -35.000   35.000   12.500
+ 567  sd2    183.76  -35.000   35.000   12.500
+ 568  sx1    183.76  -35.000   35.000   12.500
+ 569  sd3    183.96  -35.000   35.000   12.500
+ 570  qp2    184.19  -35.000   35.000   12.500
+ 571  qp2    184.42  -35.000   35.000   12.500
+ 572  sd14   185.01  -35.000   35.000   12.500
+ 573  qp3    185.17  -35.000   35.000   12.500
+ 574  qp3    185.33  -35.000   35.000   12.500
+ 575  sd5    185.53  -35.000   35.000   12.500
+ 576  sx2    185.53  -35.000   35.000   12.500
+ 577  sd6    186.32  -35.000   35.000   12.500
+ 578  bend2  186.49  -35.000   35.000   12.500
+ 579  bend3  186.67  -35.000   35.000   12.500
+ 580  bend3  186.84  -35.000   35.000   12.500
+ 581  bend3  187.02  -35.000   35.000   12.500
+ 582  bend3  187.20  -35.000   35.000   12.500
+ 583  bend4  187.37  -35.000   35.000   12.500
+ 584  sd7    187.81  -35.000   35.000   12.500
+ 585  qp4    187.97  -35.000   35.000   12.500
+ 586  qp4    188.13  -35.000   35.000   12.500
+ 587  sd8    188.33  -35.000   35.000   12.500
+ 588  sx3    188.33  -35.000   35.000   12.500
+ 589  sd9    188.81  -35.000   35.000   12.500
+ 590  qp5    188.97  -35.000   35.000   12.500
+ 591  qp5    189.13  -35.000   35.000   12.500
+ 592  sd12   189.60  -35.000   35.000   12.500
+ 593  sx4    189.60  -35.000   35.000   12.500
+ 594  sd10   190.07  -35.000   35.000   12.500
+ 595  qp5    190.23  -35.000   35.000   12.500
+ 596  qp5    190.39  -35.000   35.000   12.500
+ 597  sd9    190.86  -35.000   35.000   12.500
+ 598  sx3    190.86  -35.000   35.000   12.500
+ 599  sd8    191.06  -35.000   35.000   12.500
+ 600  qp4    191.22  -35.000   35.000   12.500
+ 601  qp4    191.38  -35.000   35.000   12.500
+ 602  sd7    191.82  -35.000   35.000   12.500
+ 603  bend2  192.00  -35.000   35.000   12.500
+ 604  bend3  192.17  -35.000   35.000   12.500
+ 605  bend3  192.35  -35.000   35.000   12.500
+ 606  bend3  192.53  -35.000   35.000   12.500
+ 607  bend3  192.70  -35.000   35.000   12.500
+ 608  bend4  192.88  -35.000   35.000   12.500
+ 609  sd7    193.32  -35.000   35.000   12.500
+ 610  qp6    193.48  -35.000   35.000   12.500
+ 611  qp6    193.64  -35.000   35.000   12.500
+ 612  sd5    193.84  -35.000   35.000   12.500
+ 613  sx5    193.84  -35.000   35.000   12.500
+ 614  sd4    194.23  -35.000   35.000   12.500
+ 615  qp7    194.46  -35.000   35.000   12.500
+ 616  qp7    194.69  -35.000   35.000   12.500
+ 617  sd3    194.89  -35.000   35.000   12.500
+ 618  sx6    194.89  -35.000   35.000   12.500
+ 619  sd2    195.28  -35.000   35.000   12.500
+ 620  qp8    195.44  -35.000   35.000   12.500
+ 621  qp8    195.60  -35.000   35.000   12.500
+ 622  sd13   199.08  -35.000   35.000   12.500
+ 623  sd13   202.56  -35.000   35.000   12.500
+ 624  qp8    202.72  -35.000   35.000   12.500
+ 625  qp8    202.88  -35.000   35.000   12.500
+ 626  sd2    203.27  -35.000   35.000   12.500
+ 627  sx8    203.27  -35.000   35.000   12.500
+ 628  sd3    203.47  -35.000   35.000   12.500
+ 629  qp7    203.70  -35.000   35.000   12.500
+ 630  qp7    203.93  -35.000   35.000   12.500
+ 631  sd4    204.32  -35.000   35.000   12.500
+ 632  sx7    204.32  -35.000   35.000   12.500
+ 633  sd5    204.52  -35.000   35.000   12.500
+ 634  qp6    204.68  -35.000   35.000   12.500
+ 635  qp6    204.84  -35.000   35.000   12.500
+ 636  sd7    205.28  -35.000   35.000   12.500
+ 637  bend2  205.46  -35.000   35.000   12.500
+ 638  bend3  205.63  -35.000   35.000   12.500
+ 639  bend3  205.81  -35.000   35.000   12.500
+ 640  bend3  205.98  -35.000   35.000   12.500
+ 641  bend3  206.16  -35.000   35.000   12.500
+ 642  bend4  206.33  -35.000   35.000   12.500
+ 643  sd7    206.77  -35.000   35.000   12.500
+ 644  qp9    206.93  -35.000   35.000   12.500
+ 645  qp9    207.09  -35.000   35.000   12.500
+ 646  sd8    207.29  -35.000   35.000   12.500
+ 647  sx9    207.29  -35.000   35.000   12.500
+ 648  sd9    207.77  -35.000   35.000   12.500
+ 649  qp10   207.93  -35.000   35.000   12.500
+ 650  qp10   208.09  -35.000   35.000   12.500
+ 651  sd8    208.29  -35.000   35.000   12.500
+ 652  sx10   208.29  -35.000   35.000   12.500
+ 653  sdac   210.19  -35.000   35.000   12.500
+ 654  sdac   212.10  -35.000   35.000   12.500
+ 655  sx10   212.10  -35.000   35.000   12.500
+ 656  sd8    212.30  -35.000   35.000   12.500
+ 657  qp10   212.46  -35.000   35.000   12.500
+ 658  qp10   212.62  -35.000   35.000   12.500
+ 659  sd9    213.10  -35.000   35.000   12.500
+ 660  sx9    213.10  -35.000   35.000   12.500
+ 661  sd8    213.30  -35.000   35.000   12.500
+ 662  qp9    213.46  -35.000   35.000   12.500
+ 663  qp9    213.62  -35.000   35.000   12.500
+ 664  sd7    214.06  -35.000   35.000   12.500
+ 665  bend2  214.23  -35.000   35.000   12.500
+ 666  bend3  214.41  -35.000   35.000   12.500
+ 667  bend3  214.58  -35.000   35.000   12.500
+ 668  bend3  214.76  -35.000   35.000   12.500
+ 669  bend3  214.93  -35.000   35.000   12.500
+ 670  bend4  215.11  -35.000   35.000   12.500
+ 671  sd7    215.55  -35.000   35.000   12.500
+ 672  qp6    215.71  -35.000   35.000   12.500
+ 673  qp6    215.87  -35.000   35.000   12.500
+ 674  sd5    216.07  -35.000   35.000   12.500
+ 675  sx7    216.07  -35.000   35.000   12.500
+ 676  sd4    216.46  -35.000   35.000   12.500
+ 677  qp7    216.69  -35.000   35.000   12.500
+ 678  qp7    216.92  -35.000   35.000   12.500
+ 679  sd3    217.12  -35.000   35.000   12.500
+ 680  sx8    217.12  -35.000   35.000   12.500
+ 681  sd2    217.51  -35.000   35.000   12.500
+ 682  qp8    217.67  -35.000   35.000   12.500
+ 683  qp8    217.83  -35.000   35.000   12.500
+ 684  sd13   221.31  -35.000   35.000   12.500
+ 685  sd13   224.79  -35.000   35.000   12.500
+ 686  qp8    224.95  -35.000   35.000   12.500
+ 687  qp8    225.11  -35.000   35.000   12.500
+ 688  sd2    225.50  -35.000   35.000   12.500
+ 689  sx8    225.50  -35.000   35.000   12.500
+ 690  sd3    225.70  -35.000   35.000   12.500
+ 691  qp7    225.93  -35.000   35.000   12.500
+ 692  qp7    226.16  -35.000   35.000   12.500
+ 693  sd4    226.55  -35.000   35.000   12.500
+ 694  sx7    226.55  -35.000   35.000   12.500
+ 695  sd5    226.75  -35.000   35.000   12.500
+ 696  qp6    226.91  -35.000   35.000   12.500
+ 697  qp6    227.07  -35.000   35.000   12.500
+ 698  sd7    227.51  -35.000   35.000   12.500
+ 699  bend2  227.69  -35.000   35.000   12.500
+ 700  bend3  227.86  -35.000   35.000   12.500
+ 701  bend3  228.04  -35.000   35.000   12.500
+ 702  bend3  228.21  -35.000   35.000   12.500
+ 703  bend3  228.39  -35.000   35.000   12.500
+ 704  bend4  228.57  -35.000   35.000   12.500
+ 705  sd7    229.01  -35.000   35.000   12.500
+ 706  qp9    229.17  -35.000   35.000   12.500
+ 707  qp9    229.33  -35.000   35.000   12.500
+ 708  sd8    229.53  -35.000   35.000   12.500
+ 709  sx9    229.53  -35.000   35.000   12.500
+ 710  sd9    230.00  -35.000   35.000   12.500
+ 711  qp10   230.16  -35.000   35.000   12.500
+ 712  qp10   230.32  -35.000   35.000   12.500
+ 713  sd8    230.52  -35.000   35.000   12.500
+ 714  sx10   230.52  -35.000   35.000   12.500
+ 715  sdac   232.43  -35.000   35.000   12.500
+ 716  sdac   234.33  -35.000   35.000   12.500
+ 717  sx10   234.33  -35.000   35.000   12.500
+ 718  sd8    234.53  -35.000   35.000   12.500
+ 719  qp10   234.69  -35.000   35.000   12.500
+ 720  qp10   234.85  -35.000   35.000   12.500
+ 721  sd9    235.33  -35.000   35.000   12.500
+ 722  sx9    235.33  -35.000   35.000   12.500
+ 723  sd8    235.53  -35.000   35.000   12.500
+ 724  qp9    235.69  -35.000   35.000   12.500
+ 725  qp9    235.85  -35.000   35.000   12.500
+ 726  sd7    236.29  -35.000   35.000   12.500
+ 727  bend2  236.46  -35.000   35.000   12.500
+ 728  bend3  236.64  -35.000   35.000   12.500
+ 729  bend3  236.81  -35.000   35.000   12.500
+ 730  bend3  236.99  -35.000   35.000   12.500
+ 731  bend3  237.16  -35.000   35.000   12.500
+ 732  bend4  237.34  -35.000   35.000   12.500
+ 733  sd7    237.78  -35.000   35.000   12.500
+ 734  qp6    237.94  -35.000   35.000   12.500
+ 735  qp6    238.10  -35.000   35.000   12.500
+ 736  sd5    238.30  -35.000   35.000   12.500
+ 737  sx7    238.30  -35.000   35.000   12.500
+ 738  sd4    238.69  -35.000   35.000   12.500
+ 739  qp7    238.92  -35.000   35.000   12.500
+ 740  qp7    239.15  -35.000   35.000   12.500
+ 741  sd3    239.35  -35.000   35.000   12.500
+ 742  sx8    239.35  -35.000   35.000   12.500
+ 743  sd2    239.74  -35.000   35.000   12.500
+ 744  qp8    239.90  -35.000   35.000   12.500
+ 745  qp8    240.06  -35.000   35.000   12.500
+ 746  sd13   243.54  -35.000   35.000   12.500
+ 747  sd13   247.03  -35.000   35.000   12.500
+ 748  qp8    247.19  -35.000   35.000   12.500
+ 749  qp8    247.34  -35.000   35.000   12.500
+ 750  sd2    247.74  -35.000   35.000   12.500
+ 751  sx6    247.74  -35.000   35.000   12.500
+ 752  sd3    247.94  -35.000   35.000   12.500
+ 753  qp7    248.16  -35.000   35.000   12.500
+ 754  qp7    248.40  -35.000   35.000   12.500
+ 755  sd4    248.78  -35.000   35.000   12.500
+ 756  sx5    248.78  -35.000   35.000   12.500
+ 757  sd5    248.99  -35.000   35.000   12.500
+ 758  qp6    249.15  -35.000   35.000   12.500
+ 759  qp6    249.31  -35.000   35.000   12.500
+ 760  sd7    249.75  -35.000   35.000   12.500
+ 761  bend2  249.92  -35.000   35.000   12.500
+ 762  bend3  250.10  -35.000   35.000   12.500
+ 763  bend3  250.27  -35.000   35.000   12.500
+ 764  bend3  250.45  -35.000   35.000   12.500
+ 765  bend3  250.62  -35.000   35.000   12.500
+ 766  bend4  250.80  -35.000   35.000   12.500
+ 767  sd7    251.24  -35.000   35.000   12.500
+ 768  qp4    251.40  -35.000   35.000   12.500
+ 769  qp4    251.56  -35.000   35.000   12.500
+ 770  sd8    251.76  -35.000   35.000   12.500
+ 771  sx3    251.76  -35.000   35.000   12.500
+ 772  sd9    252.23  -35.000   35.000   12.500
+ 773  qp5    252.39  -35.000   35.000   12.500
+ 774  qp5    252.55  -35.000   35.000   12.500
+ 775  sd10   253.02  -35.000   35.000   12.500
+ 776  sx4    253.02  -35.000   35.000   12.500
+ 777  sd12   253.49  -35.000   35.000   12.500
+ 778  qp5    253.65  -35.000   35.000   12.500
+ 779  qp5    253.81  -35.000   35.000   12.500
+ 780  sd9    254.29  -35.000   35.000   12.500
+ 781  sx3    254.29  -35.000   35.000   12.500
+ 782  sd8    254.49  -35.000   35.000   12.500
+ 783  qp4    254.65  -35.000   35.000   12.500
+ 784  qp4    254.81  -35.000   35.000   12.500
+ 785  sd7    255.25  -35.000   35.000   12.500
+ 786  bend2  255.43  -35.000   35.000   12.500
+ 787  bend3  255.60  -35.000   35.000   12.500
+ 788  bend3  255.78  -35.000   35.000   12.500
+ 789  bend3  255.95  -35.000   35.000   12.500
+ 790  bend3  256.13  -35.000   35.000   12.500
+ 791  bend4  256.30  -35.000   35.000   12.500
+ 792  sd6    257.09  -35.000   35.000   12.500
+ 793  sx2    257.09  -35.000   35.000   12.500
+ 794  sd5    257.29  -35.000   35.000   12.500
+ 795  qp3    257.45  -35.000   35.000   12.500
+ 796  qp3    257.61  -35.000   35.000   12.500
+ 797  sd14   258.20  -35.000   35.000   12.500
+ 798  qp2    258.43  -35.000   35.000   12.500
+ 799  qp2    258.66  -35.000   35.000   12.500
+ 800  sd3    258.86  -35.000   35.000   12.500
+ 801  sx1    258.86  -35.000   35.000   12.500
+ 802  sd2    259.25  -35.000   35.000   12.500
+ 803  qp1    259.41  -35.000   35.000   12.500
+ 804  qp1    259.57  -35.000   35.000   12.500
+ 805  sd1    265.57  -35.000   35.000   12.500
+ 806  sd1    271.57  -35.000   35.000   12.500
+ 807  qp1    271.73  -35.000   35.000   12.500
+ 808  qp1    271.89  -35.000   35.000   12.500
+ 809  sd2    272.28  -35.000   35.000   12.500
+ 810  sx1    272.28  -35.000   35.000   12.500
+ 811  sd3    272.48  -35.000   35.000   12.500
+ 812  qp2    272.71  -35.000   35.000   12.500
+ 813  qp2    272.94  -35.000   35.000   12.500
+ 814  sd14   273.53  -35.000   35.000   12.500
+ 815  qp3    273.69  -35.000   35.000   12.500
+ 816  qp3    273.85  -35.000   35.000   12.500
+ 817  sd5    274.05  -35.000   35.000   12.500
+ 818  sx2    274.05  -35.000   35.000   12.500
+ 819  sd6    274.84  -35.000   35.000   12.500
+ 820  bend2  275.02  -35.000   35.000   12.500
+ 821  bend3  275.19  -35.000   35.000   12.500
+ 822  bend3  275.37  -35.000   35.000   12.500
+ 823  bend3  275.54  -35.000   35.000   12.500
+ 824  bend3  275.72  -35.000   35.000   12.500
+ 825  bend4  275.89  -35.000   35.000   12.500
+ 826  sd7    276.33  -35.000   35.000   12.500
+ 827  qp4    276.49  -35.000   35.000   12.500
+ 828  qp4    276.65  -35.000   35.000   12.500
+ 829  sd8    276.85  -35.000   35.000   12.500
+ 830  sx3    276.85  -35.000   35.000   12.500
+ 831  sd9    277.33  -35.000   35.000   12.500
+ 832  qp5    277.49  -35.000   35.000   12.500
+ 833  qp5    277.65  -35.000   35.000   12.500
+ 834  sd12   278.12  -35.000   35.000   12.500
+ 835  sx4    278.12  -35.000   35.000   12.500
+ 836  sd10   278.59  -35.000   35.000   12.500
+ 837  qp5    278.75  -35.000   35.000   12.500
+ 838  qp5    278.91  -35.000   35.000   12.500
+ 839  sd9    279.39  -35.000   35.000   12.500
+ 840  sx3    279.39  -35.000   35.000   12.500
+ 841  sd8    279.59  -35.000   35.000   12.500
+ 842  qp4    279.75  -35.000   35.000   12.500
+ 843  qp4    279.91  -35.000   35.000   12.500
+ 844  sd7    280.35  -35.000   35.000   12.500
+ 845  bend2  280.52  -35.000   35.000   12.500
+ 846  bend3  280.70  -35.000   35.000   12.500
+ 847  bend3  280.87  -35.000   35.000   12.500
+ 848  bend3  281.05  -35.000   35.000   12.500
+ 849  bend3  281.22  -35.000   35.000   12.500
+ 850  bend4  281.40  -35.000   35.000   12.500
+ 851  sd7    281.84  -35.000   35.000   12.500
+ 852  qp6    282.00  -35.000   35.000   12.500
+ 853  qp6    282.16  -35.000   35.000   12.500
+ 854  sd5    282.36  -35.000   35.000   12.500
+ 855  sx5    282.36  -35.000   35.000   12.500
+ 856  sd4    282.75  -35.000   35.000   12.500
+ 857  qp7    282.98  -35.000   35.000   12.500
+ 858  qp7    283.21  -35.000   35.000   12.500
+ 859  sd3    283.41  -35.000   35.000   12.500
+ 860  sx6    283.41  -35.000   35.000   12.500
+ 861  sd2    283.80  -35.000   35.000   12.500
+ 862  qp8    283.96  -35.000   35.000   12.500
+ 863  qp8    284.12  -35.000   35.000   12.500
+ 864  sd13   287.60  -35.000   35.000   12.500
+ 865  sd13   291.09  -35.000   35.000   12.500
+ 866  qp8    291.25  -35.000   35.000   12.500
+ 867  qp8    291.41  -35.000   35.000   12.500
+ 868  sd2    291.80  -35.000   35.000   12.500
+ 869  sx8    291.80  -35.000   35.000   12.500
+ 870  sd3    292.00  -35.000   35.000   12.500
+ 871  qp7    292.23  -35.000   35.000   12.500
+ 872  qp7    292.46  -35.000   35.000   12.500
+ 873  sd4    292.85  -35.000   35.000   12.500
+ 874  sx7    292.85  -35.000   35.000   12.500
+ 875  sd5    293.05  -35.000   35.000   12.500
+ 876  qp6    293.21  -35.000   35.000   12.500
+ 877  qp6    293.37  -35.000   35.000   12.500
+ 878  sd7    293.81  -35.000   35.000   12.500
+ 879  bend2  293.98  -35.000   35.000   12.500
+ 880  bend3  294.16  -35.000   35.000   12.500
+ 881  bend3  294.33  -35.000   35.000   12.500
+ 882  bend3  294.51  -35.000   35.000   12.500
+ 883  bend3  294.68  -35.000   35.000   12.500
+ 884  bend4  294.86  -35.000   35.000   12.500
+ 885  sd7    295.30  -35.000   35.000   12.500
+ 886  qp9    295.46  -35.000   35.000   12.500
+ 887  qp9    295.62  -35.000   35.000   12.500
+ 888  sd8    295.82  -35.000   35.000   12.500
+ 889  sx9    295.82  -35.000   35.000   12.500
+ 890  sd9    296.29  -35.000   35.000   12.500
+ 891  qp10   296.45  -35.000   35.000   12.500
+ 892  qp10   296.61  -35.000   35.000   12.500
+ 893  sd8    296.81  -35.000   35.000   12.500
+ 894  sx10   296.81  -35.000   35.000   12.500
+ 895  sdac   298.72  -35.000   35.000   12.500
+ 896  sdac   300.62  -35.000   35.000   12.500
+ 897  sx10   300.62  -35.000   35.000   12.500
+ 898  sd8    300.82  -35.000   35.000   12.500
+ 899  qp10   300.98  -35.000   35.000   12.500
+ 900  qp10   301.14  -35.000   35.000   12.500
+ 901  sd9    301.62  -35.000   35.000   12.500
+ 902  sx9    301.62  -35.000   35.000   12.500
+ 903  sd8    301.82  -35.000   35.000   12.500
+ 904  qp9    301.98  -35.000   35.000   12.500
+ 905  qp9    302.14  -35.000   35.000   12.500
+ 906  sd7    302.58  -35.000   35.000   12.500
+ 907  bend2  302.76  -35.000   35.000   12.500
+ 908  bend3  302.93  -35.000   35.000   12.500
+ 909  bend3  303.11  -35.000   35.000   12.500
+ 910  bend3  303.28  -35.000   35.000   12.500
+ 911  bend3  303.46  -35.000   35.000   12.500
+ 912  bend4  303.63  -35.000   35.000   12.500
+ 913  sd7    304.07  -35.000   35.000   12.500
+ 914  qp6    304.23  -35.000   35.000   12.500
+ 915  qp6    304.39  -35.000   35.000   12.500
+ 916  sd5    304.59  -35.000   35.000   12.500
+ 917  sx7    304.59  -35.000   35.000   12.500
+ 918  sd4    304.98  -35.000   35.000   12.500
+ 919  qp7    305.21  -35.000   35.000   12.500
+ 920  qp7    305.44  -35.000   35.000   12.500
+ 921  sd3    305.64  -35.000   35.000   12.500
+ 922  sx8    305.64  -35.000   35.000   12.500
+ 923  sd2    306.03  -35.000   35.000   12.500
+ 924  qp8    306.19  -35.000   35.000   12.500
+ 925  qp8    306.35  -35.000   35.000   12.500
+ 926  sd13   309.83  -35.000   35.000   12.500
+ 927  sd13   313.32  -35.000   35.000   12.500
+ 928  qp8    313.48  -35.000   35.000   12.500
+ 929  qp8    313.64  -35.000   35.000   12.500
+ 930  sd2    314.03  -35.000   35.000   12.500
+ 931  sx8    314.03  -35.000   35.000   12.500
+ 932  sd3    314.23  -35.000   35.000   12.500
+ 933  qp7    314.46  -35.000   35.000   12.500
+ 934  qp7    314.69  -35.000   35.000   12.500
+ 935  sd4    315.08  -35.000   35.000   12.500
+ 936  sx7    315.08  -35.000   35.000   12.500
+ 937  sd5    315.28  -35.000   35.000   12.500
+ 938  qp6    315.44  -35.000   35.000   12.500
+ 939  qp6    315.60  -35.000   35.000   12.500
+ 940  sd7    316.04  -35.000   35.000   12.500
+ 941  bend2  316.21  -35.000   35.000   12.500
+ 942  bend3  316.39  -35.000   35.000   12.500
+ 943  bend3  316.56  -35.000   35.000   12.500
+ 944  bend3  316.74  -35.000   35.000   12.500
+ 945  bend3  316.91  -35.000   35.000   12.500
+ 946  bend4  317.09  -35.000   35.000   12.500
+ 947  sd7    317.53  -35.000   35.000   12.500
+ 948  qp9    317.69  -35.000   35.000   12.500
+ 949  qp9    317.85  -35.000   35.000   12.500
+ 950  sd8    318.05  -35.000   35.000   12.500
+ 951  sx9    318.05  -35.000   35.000   12.500
+ 952  sd9    318.53  -35.000   35.000   12.500
+ 953  qp10   318.69  -35.000   35.000   12.500
+ 954  qp10   318.85  -35.000   35.000   12.500
+ 955  sd8    319.05  -35.000   35.000   12.500
+ 956  sx10   319.05  -35.000   35.000   12.500
+ 957  sdac   320.95  -35.000   35.000   12.500
+ 958  sdac   322.86  -35.000   35.000   12.500
+ 959  sx10   322.86  -35.000   35.000   12.500
+ 960  sd8    323.06  -35.000   35.000   12.500
+ 961  qp10   323.22  -35.000   35.000   12.500
+ 962  qp10   323.38  -35.000   35.000   12.500
+ 963  sd9    323.85  -35.000   35.000   12.500
+ 964  sx9    323.85  -35.000   35.000   12.500
+ 965  sd8    324.05  -35.000   35.000   12.500
+ 966  qp9    324.21  -35.000   35.000   12.500
+ 967  qp9    324.37  -35.000   35.000   12.500
+ 968  sd7    324.81  -35.000   35.000   12.500
+ 969  bend2  324.99  -35.000   35.000   12.500
+ 970  bend3  325.16  -35.000   35.000   12.500
+ 971  bend3  325.34  -35.000   35.000   12.500
+ 972  bend3  325.51  -35.000   35.000   12.500
+ 973  bend3  325.69  -35.000   35.000   12.500
+ 974  bend4  325.86  -35.000   35.000   12.500
+ 975  sd7    326.30  -35.000   35.000   12.500
+ 976  qp6    326.46  -35.000   35.000   12.500
+ 977  qp6    326.62  -35.000   35.000   12.500
+ 978  sd5    326.82  -35.000   35.000   12.500
+ 979  sx7    326.82  -35.000   35.000   12.500
+ 980  sd4    327.21  -35.000   35.000   12.500
+ 981  qp7    327.44  -35.000   35.000   12.500
+ 982  qp7    327.67  -35.000   35.000   12.500
+ 983  sd3    327.87  -35.000   35.000   12.500
+ 984  sx8    327.87  -35.000   35.000   12.500
+ 985  sd2    328.26  -35.000   35.000   12.500
+ 986  qp8    328.42  -35.000   35.000   12.500
+ 987  qp8    328.58  -35.000   35.000   12.500
+ 988  sd13   332.07  -35.000   35.000   12.500
+ 989  sd13   335.55  -35.000   35.000   12.500
+ 990  qp8    335.71  -35.000   35.000   12.500
+ 991  qp8    335.87  -35.000   35.000   12.500
+ 992  sd2    336.26  -35.000   35.000   12.500
+ 993  sx6    336.26  -35.000   35.000   12.500
+ 994  sd3    336.46  -35.000   35.000   12.500
+ 995  qp7    336.69  -35.000   35.000   12.500
+ 996  qp7    336.92  -35.000   35.000   12.500
+ 997  sd4    337.31  -35.000   35.000   12.500
+ 998  sx5    337.31  -35.000   35.000   12.500
+ 999  sd5    337.51  -35.000   35.000   12.500
+1000  qp6    337.67  -35.000   35.000   12.500
+1001  qp6    337.83  -35.000   35.000   12.500
+1002  sd7    338.27  -35.000   35.000   12.500
+1003  bend2  338.44  -35.000   35.000   12.500
+1004  bend3  338.62  -35.000   35.000   12.500
+1005  bend3  338.80  -35.000   35.000   12.500
+1006  bend3  338.97  -35.000   35.000   12.500
+1007  bend3  339.15  -35.000   35.000   12.500
+1008  bend4  339.32  -35.000   35.000   12.500
+1009  sd7    339.76  -35.000   35.000   12.500
+1010  qp4    339.92  -35.000   35.000   12.500
+1011  qp4    340.08  -35.000   35.000   12.500
+1012  sd8    340.28  -35.000   35.000   12.500
+1013  sx3    340.28  -35.000   35.000   12.500
+1014  sd9    340.76  -35.000   35.000   12.500
+1015  qp5    340.92  -35.000   35.000   12.500
+1016  qp5    341.08  -35.000   35.000   12.500
+1017  sd10   341.55  -35.000   35.000   12.500
+1018  sx4    341.55  -35.000   35.000   12.500
+1019  sd12   342.02  -35.000   35.000   12.500
+1020  qp5    342.18  -35.000   35.000   12.500
+1021  qp5    342.34  -35.000   35.000   12.500
+1022  sd9    342.81  -35.000   35.000   12.500
+1023  sx3    342.81  -35.000   35.000   12.500
+1024  sd8    343.01  -35.000   35.000   12.500
+1025  qp4    343.17  -35.000   35.000   12.500
+1026  qp4    343.33  -35.000   35.000   12.500
+1027  sd7    343.77  -35.000   35.000   12.500
+1028  bend2  343.95  -35.000   35.000   12.500
+1029  bend3  344.13  -35.000   35.000   12.500
+1030  bend3  344.30  -35.000   35.000   12.500
+1031  bend3  344.48  -35.000   35.000   12.500
+1032  bend3  344.65  -35.000   35.000   12.500
+1033  bend4  344.83  -35.000   35.000   12.500
+1034  sd6    345.62  -35.000   35.000   12.500
+1035  sx2    345.62  -35.000   35.000   12.500
+1036  sd5    345.82  -35.000   35.000   12.500
+1037  qp3    345.98  -35.000   35.000   12.500
+1038  qp3    346.14  -35.000   35.000   12.500
+1039  sd14   346.73  -35.000   35.000   12.500
+1040  qp2    346.96  -35.000   35.000   12.500
+1041  qp2    347.19  -35.000   35.000   12.500
+1042  sd3    347.39  -35.000   35.000   12.500
+1043  sx1    347.39  -35.000   35.000   12.500
+1044  sd2    347.78  -35.000   35.000   12.500
+1045  qp1    347.94  -35.000   35.000   12.500
+1046  qp1    348.10  -35.000   35.000   12.500
+1047  sd1    354.10  -35.000   35.000   12.500
+1048  cav    354.10  -35.000   35.000   12.500
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/fmapdp.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/fmapdp.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/fmapdp.out	(revision 17)
@@ -0,0 +1,7704 @@
+# TRACY II v. SYNCHROTRON SOLEIL -- fmapdp.out -- Mon Feb 16 09:27:05 2004 
+# nu = f(x) 
+#    dp[m]         x[m]           fx            fz           dfx           dfz
+-6.000000e-02  1.000000e-06 -4.204721e-01 -4.204722e-01 -2.870718e-10 -5.226338e-10
+-6.000000e-02  2.042241e-03 -2.784833e-01 -4.203625e-01 -3.527296e-08 -3.777592e-08
+-6.000000e-02  2.887751e-03 -2.781762e-01 -4.202433e-01 -5.857778e-08 -2.649079e-08
+-6.000000e-02  3.536534e-03 -2.778690e-01 -4.201158e-01  2.415933e-09  1.418592e-08
+-6.000000e-02  4.083483e-03 -2.775614e-01 -4.199801e-01 -9.114180e-09  7.342881e-08
+-6.000000e-02  4.565355e-03 -2.772530e-01 -4.198364e-01  1.870827e-08  9.037395e-08
+-6.000000e-02  5.001000e-03 -2.769439e-01 -4.196852e-01  3.936549e-08 -1.326298e-07
+-6.000000e-02  5.401617e-03 -2.766340e-01 -4.195260e-01  5.284258e-09  2.606862e-07
+-6.000000e-02  5.774503e-03 -2.763235e-01 -4.193600e-01 -2.353147e-08 -3.473666e-07
+-6.000000e-02  6.124724e-03 -2.760122e-01 -4.191865e-01  7.032458e-09  1.441519e-07
+-6.000000e-02  6.455972e-03 -2.757002e-01 -4.190065e-01 -1.103112e-08 -2.835673e-07
+-6.000000e-02  6.771032e-03 -2.753876e-01 -4.188187e-01  2.992276e-08  2.889676e-07
+-6.000000e-02  7.072068e-03 -2.750746e-01 -4.186248e-01 -1.312605e-08 -1.492041e-08
+-6.000000e-02  7.360801e-03 -2.747609e-01 -4.184241e-01 -4.322716e-10 -3.883185e-07
+-6.000000e-02  7.638626e-03 -2.744469e-01 -4.182166e-01  1.989317e-08  8.046685e-07
+-6.000000e-02  7.906694e-03 -2.741326e-01 -4.180025e-01 -3.545812e-08 -1.025546e-07
+-6.000000e-02  8.165966e-03 -2.738179e-01 -4.177822e-01 -1.188353e-08  2.087764e-06
+-6.000000e-02  8.417254e-03 -2.735030e-01 -4.175565e-01  2.608769e-08  1.108236e-07
+-6.000000e-02  8.661254e-03 -2.731879e-01 -4.173252e-01 -9.686748e-08 -1.079919e-07
+-6.000000e-02  8.898565e-03 -2.728715e-01 -4.170867e-01  2.511857e-07  1.735522e-07
+-6.000000e-02  9.129709e-03 -2.725568e-01 -4.168428e-01 -5.011412e-07 -9.717895e-07
+-6.000000e-02  9.355143e-03 -2.722414e-01 -4.165921e-01 -2.123335e-09  4.613445e-07
+-6.000000e-02  9.575271e-03 -2.719257e-01 -4.163362e-01  3.955219e-08  3.104068e-08
+-6.000000e-02  9.790450e-03 -2.716102e-01 -4.160757e-01 -8.430682e-07 -2.855061e-06
+-6.000000e-02  1.000100e-02 -2.712933e-01 -4.158076e-01 -2.084859e-06 -9.481321e-06
+-6.000000e-02  1.020721e-02 -2.709924e-01 -4.155415e-01 -6.366985e-07 -2.181109e-06
+-6.000000e-02  1.040933e-02 -2.706636e-01 -4.152490e-01  2.849142e-06  1.665674e-05
+-6.000000e-02  1.060760e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.080223e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.099342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.118134e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.136615e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.154801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.172704e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.190338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.207715e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.224845e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-6.000000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.000000e-06 -4.124801e-01 -4.124801e-01 -1.108436e-07  7.082493e-09
+-5.760000e-02  2.042241e-03 -2.735110e-01 -4.123957e-01  1.065518e-08  1.700920e-08
+-5.760000e-02  2.887751e-03 -2.732268e-01 -4.123031e-01 -1.119275e-07  2.766101e-08
+-5.760000e-02  3.536534e-03 -2.729421e-01 -4.122032e-01 -3.101930e-08  1.088892e-08
+-5.760000e-02  4.083483e-03 -2.726564e-01 -4.120960e-01 -2.123588e-08 -2.220097e-08
+-5.760000e-02  4.565355e-03 -2.723701e-01 -4.119819e-01 -1.138285e-07  5.409177e-08
+-5.760000e-02  5.001000e-03 -2.720817e-01 -4.118602e-01 -1.095001e-07 -4.135350e-08
+-5.760000e-02  5.401617e-03 -2.717924e-01 -4.117320e-01 -1.414855e-07 -8.975226e-09
+-5.760000e-02  5.774503e-03 -2.715010e-01 -4.115959e-01  1.588374e-08  2.311604e-08
+-5.760000e-02  6.124724e-03 -2.712092e-01 -4.114545e-01 -2.489125e-08 -6.288303e-08
+-5.760000e-02  6.455972e-03 -2.709155e-01 -4.113053e-01 -4.472504e-08  1.911080e-07
+-5.760000e-02  6.771032e-03 -2.706207e-01 -4.111496e-01 -6.276012e-09  6.701388e-08
+-5.760000e-02  7.072068e-03 -2.703246e-01 -4.109874e-01 -1.902932e-07  1.181949e-07
+-5.760000e-02  7.360801e-03 -2.700271e-01 -4.108186e-01 -7.059939e-08 -3.993040e-08
+-5.760000e-02  7.638626e-03 -2.697284e-01 -4.106431e-01 -4.998585e-08  6.740115e-07
+-5.760000e-02  7.906694e-03 -2.694288e-01 -4.104608e-01 -2.079238e-07  2.197303e-07
+-5.760000e-02  8.165966e-03 -2.691278e-01 -4.102729e-01 -2.597034e-08  1.579131e-07
+-5.760000e-02  8.417254e-03 -2.688258e-01 -4.100781e-01 -8.027419e-09  4.862332e-08
+-5.760000e-02  8.661254e-03 -2.685229e-01 -4.098763e-01 -1.139575e-07  1.088028e-06
+-5.760000e-02  8.898565e-03 -2.682188e-01 -4.096696e-01 -2.509604e-08  3.443891e-09
+-5.760000e-02  9.129709e-03 -2.679154e-01 -4.094583e-01  8.748035e-07  1.213242e-06
+-5.760000e-02  9.355143e-03 -2.676112e-01 -4.092355e-01 -3.883401e-06 -1.468888e-06
+-5.760000e-02  9.575271e-03 -2.672982e-01 -4.090072e-01  2.059493e-07  5.844995e-07
+-5.760000e-02  9.790450e-03 -2.669882e-01 -4.087734e-01  5.884250e-07  6.763332e-07
+-5.760000e-02  1.000100e-02 -2.666769e-01 -4.085309e-01  5.884033e-07  5.337261e-07
+-5.760000e-02  1.020721e-02 -2.663597e-01 -4.082730e-01 -1.605127e-07  2.962930e-06
+-5.760000e-02  1.040933e-02 -2.660212e-01 -4.079837e-01 -4.230344e-06 -1.484170e-05
+-5.760000e-02  1.060760e-02 -2.650664e-01 -4.072856e-01  6.640830e-04  5.757098e-04
+-5.760000e-02  1.080223e-02 -2.652724e-01 -4.075608e-01 -7.943378e-05 -5.246106e-05
+-5.760000e-02  1.099342e-02 -2.653704e-01 -4.074978e-01  2.086949e-04 -1.419149e-01
+-5.760000e-02  1.118134e-02 -2.648951e-01 -4.070079e-01  1.411894e-05 -2.360606e-05
+-5.760000e-02  1.136615e-02 -2.645597e-01 -4.067450e-01 -8.340466e-07  6.790977e-07
+-5.760000e-02  1.154801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.172704e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.190338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.207715e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.224845e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.760000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.000000e-06 -4.046313e-01 -4.046327e-01  2.759217e-06  5.009258e-09
+-5.520000e-02  2.042241e-03 -2.687219e-01 -4.045778e-01 -2.753730e-08 -4.880245e-09
+-5.520000e-02  2.887751e-03 -2.684661e-01 -4.045149e-01 -2.814727e-07 -3.232462e-07
+-5.520000e-02  3.536534e-03 -2.682092e-01 -4.044443e-01 -2.133843e-07  1.046990e-06
+-5.520000e-02  4.083483e-03 -2.679507e-01 -4.043659e-01  1.212900e-07  1.408171e-06
+-5.520000e-02  4.565355e-03 -2.676904e-01 -4.042810e-01 -1.235208e-07  1.726954e-06
+-5.520000e-02  5.001000e-03 -2.674284e-01 -4.041907e-01 -1.122335e-07  2.382890e-06
+-5.520000e-02  5.401617e-03 -2.671643e-01 -4.040941e-01  7.258865e-08 -1.081127e-08
+-5.520000e-02  5.774503e-03 -2.668983e-01 -4.039880e-01 -3.065184e-07 -1.620239e-06
+-5.520000e-02  6.124724e-03 -2.666306e-01 -4.038694e-01  5.382101e-07  1.708958e-05
+-5.520000e-02  6.455972e-03 -2.663582e-01 -4.037371e-01 -1.787675e-06  3.606248e-06
+-5.520000e-02  6.771032e-03 -2.660451e-01 -4.035910e-01 -2.970704e-05  7.047823e-06
+-5.520000e-02  7.072068e-03 -2.658112e-01 -4.034993e-01 -3.694430e-07 -1.622872e-05
+-5.520000e-02  7.360801e-03 -2.655402e-01 -4.033858e-01  5.969202e-07  2.209068e-06
+-5.520000e-02  7.638626e-03 -2.652628e-01 -4.032720e-01 -1.236403e-06 -5.891503e-05
+-5.520000e-02  7.906694e-03 -2.649843e-01 -4.031242e-01  4.122686e-07 -6.861689e-05
+-5.520000e-02  8.165966e-03 -2.647040e-01 -4.029377e-01 -1.652506e-06 -3.463225e-07
+-5.520000e-02  8.417254e-03 -2.644199e-01 -4.027380e-01  9.574832e-07 -1.004673e-05
+-5.520000e-02  8.661254e-03 -2.641350e-01 -4.025797e-01 -9.937656e-06 -6.203267e-06
+-5.520000e-02  8.898565e-03 -2.638521e-01 -4.024273e-01  1.259812e-06 -9.211003e-06
+-5.520000e-02  9.129709e-03 -2.635656e-01 -4.022491e-01 -2.193816e-06 -3.647764e-05
+-5.520000e-02  9.355143e-03 -2.632766e-01 -4.020301e-01 -3.640141e-07 -2.579718e-05
+-5.520000e-02  9.575271e-03 -2.629859e-01 -4.017828e-01 -5.530638e-07  1.280156e-04
+-5.520000e-02  9.790450e-03 -2.626940e-01 -4.015705e-01 -8.208754e-07  1.162509e-05
+-5.520000e-02  1.000100e-02 -2.624006e-01 -4.014002e-01  1.393908e-06  3.500397e-05
+-5.520000e-02  1.020721e-02 -2.621064e-01 -4.012272e-01  1.852867e-07  2.250744e-05
+-5.520000e-02  1.040933e-02 -2.618116e-01 -4.010169e-01 -3.614293e-08 -3.404387e-05
+-5.520000e-02  1.060760e-02 -2.615152e-01 -4.007791e-01 -2.131912e-07 -3.427608e-06
+-5.520000e-02  1.080223e-02 -2.612168e-01 -4.005431e-01 -1.462367e-07 -2.212480e-06
+-5.520000e-02  1.099342e-02 -2.609180e-01 -4.003114e-01  4.879425e-08  1.549918e-06
+-5.520000e-02  1.118134e-02 -2.606183e-01 -4.000696e-01 -1.118699e-06 -1.940968e-06
+-5.520000e-02  1.136615e-02 -2.603157e-01 -3.998166e-01 -4.084642e-07 -9.460136e-07
+-5.520000e-02  1.154801e-02 -2.600275e-01 -3.995736e-01  5.020727e-05  4.433143e-05
+-5.520000e-02  1.172704e-02 -2.597112e-01 -3.993057e-01 -1.902877e-06 -3.958223e-06
+-5.520000e-02  1.190338e-02 -2.594065e-01 -3.990392e-01 -4.114361e-07 -7.573572e-07
+-5.520000e-02  1.207715e-02 -2.591007e-01 -3.987663e-01 -2.584187e-07  3.500688e-07
+-5.520000e-02  1.224845e-02 -2.587956e-01 -3.984905e-01 -1.725413e-06 -3.074559e-07
+-5.520000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.520000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.000000e-06 -3.969379e-01 -3.969422e-01  8.972017e-06  1.188274e-10
+-5.280000e-02  2.042241e-03 -2.640858e-01 -3.969189e-01  5.666848e-07 -9.812734e-07
+-5.280000e-02  2.887751e-03 -2.638635e-01 -3.968869e-01 -2.051147e-07 -1.334611e-06
+-5.280000e-02  3.536534e-03 -2.636397e-01 -3.968473e-01 -4.429403e-07  1.246800e-07
+-5.280000e-02  4.083483e-03 -2.634136e-01 -3.968004e-01  3.087064e-08 -1.712023e-07
+-5.280000e-02  4.565355e-03 -2.631848e-01 -3.967466e-01 -1.534241e-07  1.962994e-07
+-5.280000e-02  5.001000e-03 -2.629537e-01 -3.966862e-01 -1.438266e-07 -3.222375e-07
+-5.280000e-02  5.401617e-03 -2.627205e-01 -3.966193e-01 -1.870126e-07  7.815799e-07
+-5.280000e-02  5.774503e-03 -2.624845e-01 -3.965459e-01 -1.603837e-07 -1.497712e-06
+-5.280000e-02  6.124724e-03 -2.622456e-01 -3.964653e-01 -3.135311e-07 -4.048330e-07
+-5.280000e-02  6.455972e-03 -2.620045e-01 -3.963777e-01 -1.607538e-07 -3.519962e-07
+-5.280000e-02  6.771032e-03 -2.617612e-01 -3.962833e-01 -2.279060e-07  7.737061e-08
+-5.280000e-02  7.072068e-03 -2.615152e-01 -3.961828e-01 -2.691814e-07 -1.965442e-07
+-5.280000e-02  7.360801e-03 -2.612663e-01 -3.960761e-01 -3.397977e-07  3.130565e-07
+-5.280000e-02  7.638626e-03 -2.610154e-01 -3.959629e-01 -2.494437e-07 -1.082734e-06
+-5.280000e-02  7.906694e-03 -2.607627e-01 -3.958429e-01 -6.120413e-07 -3.528335e-09
+-5.280000e-02  8.165966e-03 -2.605073e-01 -3.957164e-01 -2.076480e-07 -3.453583e-07
+-5.280000e-02  8.417254e-03 -2.602488e-01 -3.955833e-01 -2.731852e-07 -1.613381e-07
+-5.280000e-02  8.661254e-03 -2.599888e-01 -3.954443e-01 -2.241700e-07  2.424272e-07
+-5.280000e-02  8.898565e-03 -2.597272e-01 -3.952991e-01 -1.706196e-06 -7.268410e-07
+-5.280000e-02  9.129709e-03 -2.594625e-01 -3.951475e-01 -9.315876e-08 -4.553714e-07
+-5.280000e-02  9.355143e-03 -2.591950e-01 -3.949885e-01  4.302848e-08 -2.309619e-08
+-5.280000e-02  9.575271e-03 -2.589270e-01 -3.948244e-01  1.843618e-07 -7.926593e-08
+-5.280000e-02  9.790450e-03 -2.586568e-01 -3.946540e-01 -1.762053e-06 -2.651594e-07
+-5.280000e-02  1.000100e-02 -2.583830e-01 -3.944772e-01 -9.810572e-07  4.214995e-08
+-5.280000e-02  1.020721e-02 -2.581080e-01 -3.942941e-01 -5.972632e-07 -3.873320e-07
+-5.280000e-02  1.040933e-02 -2.578324e-01 -3.941046e-01 -2.264269e-06 -1.118796e-07
+-5.280000e-02  1.060760e-02 -2.575533e-01 -3.939092e-01  5.595063e-07  5.823159e-08
+-5.280000e-02  1.080223e-02 -2.572710e-01 -3.937075e-01  2.113138e-08 -6.591339e-08
+-5.280000e-02  1.099342e-02 -2.569895e-01 -3.934992e-01  3.558657e-07  2.062361e-07
+-5.280000e-02  1.118134e-02 -2.567059e-01 -3.932849e-01 -3.269579e-06 -1.178523e-07
+-5.280000e-02  1.136615e-02 -2.564167e-01 -3.930646e-01 -1.855191e-06  2.042604e-08
+-5.280000e-02  1.154801e-02 -2.561281e-01 -3.928375e-01 -1.205987e-06 -3.242376e-08
+-5.280000e-02  1.172704e-02 -2.558404e-01 -3.926039e-01 -8.437892e-06  5.207933e-08
+-5.280000e-02  1.190338e-02 -2.555452e-01 -3.923638e-01 -1.562985e-06  6.667287e-08
+-5.280000e-02  1.207715e-02 -2.552472e-01 -3.921176e-01 -7.191247e-07 -3.765208e-07
+-5.280000e-02  1.224845e-02 -2.549546e-01 -3.918629e-01 -5.786253e-06  3.118307e-07
+-5.280000e-02  1.241739e-02 -2.546546e-01 -3.916031e-01  2.071151e-06  3.624600e-07
+-5.280000e-02  1.258406e-02 -2.543443e-01 -3.913345e-01  6.358759e-07  3.044241e-07
+-5.280000e-02  1.274855e-02 -2.540456e-01 -3.910582e-01 -5.498455e-07  1.050696e-07
+-5.280000e-02  1.291094e-02 -2.537403e-01 -3.907728e-01 -1.047828e-06 -1.830138e-07
+-5.280000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.280000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.000000e-06 -3.894220e-01 -3.894220e-01 -1.541054e-07 -7.224847e-09
+-5.040000e-02  2.042241e-03 -2.595818e-01 -3.894300e-01 -6.510773e-07  9.682265e-08
+-5.040000e-02  2.887751e-03 -2.593967e-01 -3.894292e-01 -4.707410e-07 -5.733996e-07
+-5.040000e-02  3.536534e-03 -2.592096e-01 -3.894211e-01  5.444265e-09 -6.216240e-07
+-5.040000e-02  4.083483e-03 -2.590205e-01 -3.894053e-01 -3.109238e-07  2.678660e-07
+-5.040000e-02  4.565355e-03 -2.588288e-01 -3.893823e-01 -1.010284e-06 -1.406537e-07
+-5.040000e-02  5.001000e-03 -2.586335e-01 -3.893527e-01 -1.230506e-06  1.952880e-07
+-5.040000e-02  5.401617e-03 -2.584343e-01 -3.893167e-01 -6.168537e-07  6.694918e-07
+-5.040000e-02  5.774503e-03 -2.582320e-01 -3.892740e-01  3.835589e-08 -6.597096e-08
+-5.040000e-02  6.124724e-03 -2.580279e-01 -3.892245e-01 -2.468643e-07 -1.524793e-07
+-5.040000e-02  6.455972e-03 -2.578211e-01 -3.891681e-01 -2.579651e-06  7.546098e-09
+-5.040000e-02  6.771032e-03 -2.576102e-01 -3.891052e-01 -2.245998e-07  3.425096e-08
+-5.040000e-02  7.072068e-03 -2.573951e-01 -3.890357e-01 -1.417580e-06  2.223905e-08
+-5.040000e-02  7.360801e-03 -2.571778e-01 -3.889597e-01 -4.860965e-07 -3.623303e-08
+-5.040000e-02  7.638626e-03 -2.569594e-01 -3.888771e-01  1.246263e-07  3.399056e-08
+-5.040000e-02  7.906694e-03 -2.567376e-01 -3.887880e-01 -4.556658e-06 -2.085125e-08
+-5.040000e-02  8.165966e-03 -2.565104e-01 -3.886925e-01 -1.025498e-06 -3.483449e-08
+-5.040000e-02  8.417254e-03 -2.562802e-01 -3.885904e-01  1.440210e-07 -1.124407e-08
+-5.040000e-02  8.661254e-03 -2.560503e-01 -3.884818e-01  2.496885e-07 -7.038631e-08
+-5.040000e-02  8.898565e-03 -2.558183e-01 -3.883668e-01 -8.719845e-06  1.052133e-07
+-5.040000e-02  9.129709e-03 -2.555794e-01 -3.882453e-01 -2.899257e-08 -1.096765e-08
+-5.040000e-02  9.355143e-03 -2.553360e-01 -3.881172e-01 -3.138259e-08  1.781363e-08
+-5.040000e-02  9.575271e-03 -2.550952e-01 -3.879827e-01 -1.699171e-08 -5.753483e-09
+-5.040000e-02  9.790450e-03 -2.548539e-01 -3.878413e-01 -1.529668e-05  1.234295e-07
+-5.040000e-02  1.000100e-02 -2.546021e-01 -3.876935e-01 -7.889541e-07 -2.021837e-08
+-5.040000e-02  1.020721e-02 -2.543443e-01 -3.875391e-01  7.160092e-07 -2.291324e-08
+-5.040000e-02  1.040933e-02 -2.540949e-01 -3.873776e-01  1.481028e-06 -1.271840e-07
+-5.040000e-02  1.060760e-02 -2.538455e-01 -3.872089e-01 -2.730299e-05  4.164030e-07
+-5.040000e-02  1.080223e-02 -2.535744e-01 -3.870331e-01 -1.355921e-05  2.460466e-07
+-5.040000e-02  1.099342e-02 -2.532994e-01 -3.868500e-01 -3.084569e-07 -1.217369e-07
+-5.040000e-02  1.118134e-02 -2.530516e-01 -3.866579e-01 -1.572332e-05  1.312638e-07
+-5.040000e-02  1.136615e-02 -2.527910e-01 -3.864570e-01 -5.697550e-08 -1.694002e-07
+-5.040000e-02  1.154801e-02 -2.524680e-01 -3.862461e-01 -2.484195e-05  1.195756e-07
+-5.040000e-02  1.172704e-02 -2.521960e-01 -3.860214e-01  3.169190e-06 -7.264689e-08
+-5.040000e-02  1.190338e-02 -2.520125e-01 -3.857774e-01 -1.974226e-04  1.329369e-06
+-5.040000e-02  1.207715e-02 -2.515313e-01 -3.855035e-01 -2.515303e-01  1.917634e-06
+-5.040000e-02  1.224845e-02 -2.093206e-06 -3.851381e-01  2.512464e-01 -2.926161e-05
+-5.040000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.258406e-02 -2.500343e-01 -3.841668e-01 -2.500343e-01 -3.841668e-01
+-5.040000e-02  1.274855e-02 -2.504627e-01 -3.842587e-01 -4.586508e-04 -9.709058e-05
+-5.040000e-02  1.291094e-02 -2.504560e-01 -3.842622e-01 -4.132679e-04  3.092159e-05
+-5.040000e-02  1.307132e-02 -2.503762e-01 -3.842426e-01 -3.504595e-04 -2.450971e-05
+-5.040000e-02  1.322976e-02 -2.503027e-01 -3.842230e-01 -2.945527e-04 -7.338501e-05
+-5.040000e-02  1.338632e-02 -2.502687e-01 -3.842150e-01 -2.662655e-04 -8.703239e-05
+-5.040000e-02  1.354106e-02 -2.503168e-01 -3.842347e-01 -2.926288e-04 -2.247836e-05
+-5.040000e-02  1.369406e-02 -2.505558e-01 -3.843126e-01 -4.795696e-04  1.127870e-04
+-5.040000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-5.040000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.000000e-06 -3.820874e-01 -3.820874e-01 -4.441780e-08 -4.131354e-10
+-4.800000e-02  2.042241e-03 -2.551909e-01 -3.821270e-01 -1.811430e-06  1.458019e-07
+-4.800000e-02  2.887751e-03 -2.550509e-01 -3.821567e-01  8.697197e-07  8.341993e-08
+-4.800000e-02  3.536534e-03 -2.549083e-01 -3.821791e-01 -1.112511e-05  4.690720e-07
+-4.800000e-02  4.083483e-03 -2.547602e-01 -3.821948e-01 -8.480992e-06  9.800137e-07
+-4.800000e-02  4.565355e-03 -2.546051e-01 -3.822040e-01 -1.700656e-07 -2.067263e-06
+-4.800000e-02  5.001000e-03 -2.544450e-01 -3.822062e-01 -5.583281e-06 -1.390509e-07
+-4.800000e-02  5.401617e-03 -2.542841e-01 -3.822006e-01 -3.093300e-07 -1.957050e-06
+-4.800000e-02  5.774503e-03 -2.541252e-01 -3.821875e-01  1.141825e-07 -6.722195e-07
+-4.800000e-02  6.124724e-03 -2.539656e-01 -3.821676e-01 -1.738502e-05  1.546415e-06
+-4.800000e-02  6.455972e-03 -2.537981e-01 -3.821417e-01 -1.571926e-05  6.154257e-08
+-4.800000e-02  6.771032e-03 -2.536177e-01 -3.821098e-01 -5.578255e-06  1.069316e-06
+-4.800000e-02  7.072068e-03 -2.534298e-01 -3.820714e-01 -5.574938e-06 -3.496794e-08
+-4.800000e-02  7.360801e-03 -2.532488e-01 -3.820259e-01 -5.630529e-06 -1.670474e-08
+-4.800000e-02  7.638626e-03 -2.530801e-01 -3.819733e-01 -2.794540e-06 -7.792397e-08
+-4.800000e-02  7.906694e-03 -2.529094e-01 -3.819139e-01 -7.305670e-05  7.548065e-07
+-4.800000e-02  8.165966e-03 -2.527114e-01 -3.818479e-01  3.607171e-06 -8.640918e-08
+-4.800000e-02  8.417254e-03 -2.524830e-01 -3.817753e-01 -3.307711e-05  3.380035e-07
+-4.800000e-02  8.661254e-03 -2.522761e-01 -3.816951e-01 -4.994737e-06  1.431116e-09
+-4.800000e-02  8.898565e-03 -2.521311e-01 -3.816068e-01 -3.057934e-05  3.401053e-07
+-4.800000e-02  9.129709e-03 -2.520061e-01 -3.815100e-01 -1.839323e-04  1.852159e-06
+-4.800000e-02  9.355143e-03 -2.517824e-01 -3.814053e-01 -3.156782e-04  2.881838e-06
+-4.800000e-02  9.575271e-03 -2.511912e-01 -3.812936e-01  5.380534e-04 -5.804632e-06
+-4.800000e-02  9.790450e-03 -1.106130e-06 -3.811674e-01  1.336353e-07  8.880405e-07
+-4.800000e-02  1.000100e-02 -1.295342e-06 -3.810268e-01  2.503760e-01 -4.035430e-05
+-4.800000e-02  1.020721e-02 -1.233059e-06 -3.802032e-01  2.499292e-01  1.550537e-04
+-4.800000e-02  1.040933e-02 -1.667623e-06 -3.801268e-01  2.500046e-01  3.319343e-04
+-4.800000e-02  1.060760e-02 -1.105472e-06 -3.802508e-01  2.499178e-01 -2.502599e-05
+-4.800000e-02  1.080223e-02 -2.495897e-01 -3.803576e-01  3.839646e-04  1.875536e-05
+-4.800000e-02  1.099342e-02 -2.500052e-01 -3.804449e-01  8.736893e-06  3.617373e-05
+-4.800000e-02  1.118134e-02 -2.503852e-01 -3.805265e-01 -3.463965e-04  2.127393e-05
+-4.800000e-02  1.136615e-02 -2.506978e-01 -3.806089e-01 -6.493761e-04 -2.696591e-05
+-4.800000e-02  1.154801e-02  1.167604e-06 -3.806816e-01  2.499406e-01 -3.637597e-04
+-4.800000e-02  1.172704e-02 -2.502426e-01 -3.806429e-01 -1.405096e-04  8.141039e-05
+-4.800000e-02  1.190338e-02  1.601820e-06 -3.798199e-01  4.220668e-08  2.265367e-05
+-4.800000e-02  1.207715e-02  1.566496e-06 -3.796644e-01  2.487945e-01  1.395328e-04
+-4.800000e-02  1.224845e-02 -2.483481e-01 -3.792155e-01 -3.896496e-04 -8.637305e-05
+-4.800000e-02  1.241739e-02 -2.481425e-01 -3.795543e-01 -1.423299e-04 -1.301329e-04
+-4.800000e-02  1.258406e-02 -2.479908e-01 -2.481660e-01  2.179607e-04  1.311137e-01
+-4.800000e-02  1.274855e-02 -2.477676e-01 -3.789717e-01  2.101162e-05 -1.089660e-04
+-4.800000e-02  1.291094e-02 -2.475109e-01 -3.786863e-01  4.982574e-05  9.278967e-06
+-4.800000e-02  1.307132e-02 -2.472048e-01 -3.784474e-01  3.154107e-06 -2.614168e-05
+-4.800000e-02  1.322976e-02 -2.469534e-01 -3.782516e-01  4.960050e-06 -1.048689e-04
+-4.800000e-02  1.338632e-02 -2.466865e-01 -3.778218e-01  1.799901e-06  3.399027e-05
+-4.800000e-02  1.354106e-02 -2.463180e-01 -3.772670e-01  1.197661e-04 -1.308097e-01
+-4.800000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.384537e-02 -2.456518e-01 -3.771372e-01  1.497466e-04  1.879194e-04
+-4.800000e-02  1.399505e-02 -2.454861e-01 -3.772413e-01  1.458460e-04  2.254147e-04
+-4.800000e-02  1.414314e-02 -2.453445e-01 -3.773083e-01  4.815881e-05 -1.319092e-01
+-4.800000e-02  1.428969e-02 -2.451520e-01 -2.451588e-01  4.215976e-05  2.785395e-05
+-4.800000e-02  1.443476e-02 -2.448914e-01 -2.448917e-01 -9.525212e-06 -1.139176e-05
+-4.800000e-02  1.457838e-02 -2.446032e-01 -2.446055e-01 -1.062683e-06 -6.083443e-06
+-4.800000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.000000e-06 -2.503197e-01 -3.749513e-01  1.204877e-03  2.246249e-06
+-4.560000e-02  2.042241e-03 -2.502825e-01 -3.749585e-01  6.431957e-04  1.428918e-05
+-4.560000e-02  2.887751e-03 -2.502587e-01 -3.749937e-01 -1.384373e-05  1.666506e-05
+-4.560000e-02  3.536534e-03 -2.502461e-01 -3.750288e-01  7.070090e-05  3.036373e-05
+-4.560000e-02  4.083483e-03 -2.502433e-01 -3.750625e-01  1.078561e-03  7.070461e-05
+-4.560000e-02  4.565355e-03 -2.502486e-01 -3.750941e-01 -4.825711e-05  1.828633e-04
+-4.560000e-02  5.001000e-03 -2.502589e-01 -3.751233e-01 -1.463218e-04  3.155191e-04
+-4.560000e-02  5.401617e-03 -2.502599e-01 -3.751516e-01 -2.502599e-01 -3.751516e-01
+-4.560000e-02  5.774503e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  6.124724e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  6.455972e-03 -2.496876e-01 -3.752519e-01 -2.496876e-01 -3.752519e-01
+-4.560000e-02  6.771032e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  7.072068e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  7.360801e-03 -2.497532e-01 -3.753336e-01  4.765037e-05 -1.077128e-04
+-4.560000e-02  7.638626e-03 -2.497559e-01 -3.753801e-01 -8.204807e-05 -8.574080e-05
+-4.560000e-02  7.906694e-03 -2.497410e-01 -3.754263e-01 -1.199773e-03 -5.675336e-05
+-4.560000e-02  8.165966e-03 -2.496993e-01 -3.754598e-01 -9.947771e-04 -2.597473e-05
+-4.560000e-02  8.417254e-03 -2.495997e-01 -3.754845e-01 -1.030517e-04  5.733082e-06
+-4.560000e-02  8.661254e-03 -2.493483e-01 -3.754924e-01  3.558217e-05 -1.260973e-01
+-4.560000e-02  8.898565e-03 -2.488251e-01 -3.754557e-01 -5.940076e-04  1.079992e-05
+-4.560000e-02  9.129709e-03 -2.483640e-01 -3.753397e-01  7.484580e-04 -3.773317e-04
+-4.560000e-02  9.355143e-03 -2.481180e-01 -3.751264e-01 -6.469491e-06  1.040644e-04
+-4.560000e-02  9.575271e-03 -2.479837e-01 -3.749008e-01  2.598214e-04  1.339075e-04
+-4.560000e-02  9.790450e-03 -2.478846e-01 -3.747642e-01  5.334227e-05  1.209600e-04
+-4.560000e-02  1.000100e-02 -2.477674e-01 -3.747090e-01  4.888850e-06  2.294169e-04
+-4.560000e-02  1.020721e-02 -2.475976e-01 -3.746851e-01 -7.854686e-06  1.722950e-06
+-4.560000e-02  1.040933e-02 -2.473863e-01 -3.746494e-01  4.608702e-05  6.684593e-05
+-4.560000e-02  1.060760e-02 -2.471821e-01 -3.745750e-01  1.822659e-05 -4.329781e-05
+-4.560000e-02  1.080223e-02 -2.470040e-01 -3.744624e-01  5.225117e-05  2.181003e-07
+-4.560000e-02  1.099342e-02 -2.468336e-01 -3.743358e-01  1.277605e-06  2.559784e-06
+-4.560000e-02  1.118134e-02 -2.466475e-01 -3.742139e-01 -2.395095e-06  6.321245e-06
+-4.560000e-02  1.136615e-02 -2.464412e-01 -3.740949e-01  1.608254e-05 -1.660606e-06
+-4.560000e-02  1.154801e-02 -2.462316e-01 -2.462519e-01  8.485072e-06 -1.927800e-05
+-4.560000e-02  1.172704e-02 -2.460313e-01 -2.460395e-01  1.647836e-05  1.445291e-05
+-4.560000e-02  1.190338e-02 -2.458339e-01 -3.736906e-01  2.520025e-06 -1.047391e-06
+-4.560000e-02  1.207715e-02 -2.456272e-01 -3.735462e-01  5.521010e-07 -1.166156e-06
+-4.560000e-02  1.224845e-02 -2.454102e-01 -3.733963e-01  1.790731e-06  1.674447e-06
+-4.560000e-02  1.241739e-02 -2.451925e-01 -3.732392e-01  1.362728e-05  2.490371e-06
+-4.560000e-02  1.258406e-02 -2.449787e-01 -3.730768e-01 -2.450068e-07  3.401567e-06
+-4.560000e-02  1.274855e-02 -2.447629e-01 -3.729097e-01  1.202909e-06 -5.001178e-07
+-4.560000e-02  1.291094e-02 -2.445394e-01 -2.445436e-01  4.130128e-06 -2.060087e-06
+-4.560000e-02  1.307132e-02 -2.443115e-01 -2.443176e-01  1.749911e-06 -5.800932e-06
+-4.560000e-02  1.322976e-02 -2.440849e-01 -2.440877e-01  3.753817e-06  4.185819e-06
+-4.560000e-02  1.338632e-02 -2.438581e-01 -2.438581e-01  1.281364e-06  1.422048e-07
+-4.560000e-02  1.354106e-02 -2.436264e-01 -2.436280e-01  1.480710e-06 -1.505252e-06
+-4.560000e-02  1.369406e-02 -2.433900e-01 -2.433935e-01 -3.251263e-07 -2.061288e-06
+-4.560000e-02  1.384537e-02 -2.431532e-01 -3.715777e-01  4.089723e-06 -1.955740e-07
+-4.560000e-02  1.399505e-02 -2.429163e-01 -2.429160e-01  7.071486e-07 -1.872665e-07
+-4.560000e-02  1.414314e-02 -2.426758e-01 -2.426765e-01  6.453365e-07 -1.066006e-06
+-4.560000e-02  1.428969e-02 -2.424314e-01 -2.424337e-01 -3.253290e-07 -6.707988e-07
+-4.560000e-02  1.443476e-02 -2.421860e-01 -2.421877e-01  2.898816e-06  1.803124e-06
+-4.560000e-02  1.457838e-02 -2.419416e-01 -2.419420e-01 -6.612643e-06 -8.654103e-06
+-4.560000e-02  1.472060e-02 -2.416907e-01 -2.416926e-01  5.920563e-07 -2.098424e-06
+-4.560000e-02  1.486146e-02 -2.414386e-01 -2.414392e-01  1.501739e-08  2.670837e-07
+-4.560000e-02  1.500100e-02 -2.411856e-01 -2.411875e-01  1.514119e-06  1.440285e-06
+-4.560000e-02  1.513925e-02 -2.409314e-01 -2.409316e-01  2.064024e-07 -5.369633e-07
+-4.560000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.560000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.000000e-06 -3.680399e-01 -3.680399e-01  5.422071e-09 -8.122985e-09
+-4.320000e-02  2.042241e-03 -2.467127e-01 -3.681433e-01  1.671193e-06 -5.784677e-09
+-4.320000e-02  2.887751e-03 -2.466638e-01 -3.682355e-01 -2.591967e-06  3.075461e-08
+-4.320000e-02  3.536534e-03 -2.466098e-01 -3.683200e-01 -1.223184e-07 -1.166749e-07
+-4.320000e-02  4.083483e-03 -2.465501e-01 -3.683973e-01  9.719313e-06  1.268860e-08
+-4.320000e-02  4.565355e-03 -2.464848e-01 -3.684676e-01  1.713580e-05 -7.189055e-07
+-4.320000e-02  5.001000e-03 -2.464145e-01 -3.685311e-01  1.149324e-05 -2.833479e-07
+-4.320000e-02  5.401617e-03 -2.463399e-01 -3.685876e-01 -1.430028e-06 -3.282023e-07
+-4.320000e-02  5.774503e-03 -2.462619e-01 -3.686370e-01  1.316067e-06 -6.032039e-07
+-4.320000e-02  6.124724e-03 -2.461814e-01 -3.686795e-01  2.207787e-05  2.535197e-06
+-4.320000e-02  6.455972e-03 -2.460988e-01 -3.687154e-01  2.950247e-05 -3.909667e-07
+-4.320000e-02  6.771032e-03 -2.460139e-01 -3.687453e-01  1.270623e-05  5.056681e-06
+-4.320000e-02  7.072068e-03 -2.459260e-01 -3.687696e-01 -1.200774e-06  9.780363e-07
+-4.320000e-02  7.360801e-03 -2.458337e-01 -3.687888e-01  1.809890e-07  2.840332e-06
+-4.320000e-02  7.638626e-03 -2.457359e-01 -3.688026e-01  1.086206e-06  1.377135e-06
+-4.320000e-02  7.906694e-03 -2.456318e-01 -3.688102e-01  9.665188e-07 -6.877260e-06
+-4.320000e-02  8.165966e-03 -2.455216e-01 -3.688110e-01  7.254154e-06  3.474058e-07
+-4.320000e-02  8.417254e-03 -2.454065e-01 -3.688043e-01  1.824753e-06 -8.796231e-06
+-4.320000e-02  8.661254e-03 -2.452882e-01 -3.687901e-01  1.821741e-06 -1.087051e-06
+-4.320000e-02  8.898565e-03 -2.451681e-01 -3.687690e-01  1.496346e-05 -1.838998e-06
+-4.320000e-02  9.129709e-03 -2.450463e-01 -3.687419e-01  5.592114e-06 -1.203754e-06
+-4.320000e-02  9.355143e-03 -2.449220e-01 -3.687093e-01 -5.838765e-07  4.151668e-06
+-4.320000e-02  9.575271e-03 -2.447933e-01 -3.686717e-01  1.714566e-06 -2.392696e-07
+-4.320000e-02  9.790450e-03 -2.446591e-01 -3.686289e-01  1.854015e-07  2.907331e-06
+-4.320000e-02  1.000100e-02 -2.445193e-01 -3.685804e-01  3.768827e-06  3.826932e-07
+-4.320000e-02  1.020721e-02 -2.443755e-01 -3.685258e-01 -8.021021e-07  1.508420e-07
+-4.320000e-02  1.040933e-02 -2.442293e-01 -3.684650e-01  7.489446e-06  8.995002e-08
+-4.320000e-02  1.060760e-02 -2.440815e-01 -3.683979e-01  3.456699e-06 -1.453097e-07
+-4.320000e-02  1.080223e-02 -2.439313e-01 -3.683248e-01  1.085382e-07 -9.338957e-09
+-4.320000e-02  1.099342e-02 -2.437772e-01 -3.682459e-01  4.107493e-07  2.514873e-07
+-4.320000e-02  1.118134e-02 -2.436180e-01 -3.681612e-01  1.642088e-06  1.376068e-07
+-4.320000e-02  1.136615e-02 -2.434544e-01 -3.680708e-01  7.623367e-08 -1.136375e-07
+-4.320000e-02  1.154801e-02 -2.432881e-01 -3.679744e-01  3.586533e-06  1.397118e-07
+-4.320000e-02  1.172704e-02 -2.431200e-01 -3.678722e-01  2.520128e-06 -1.215059e-07
+-4.320000e-02  1.190338e-02 -2.429496e-01 -3.677642e-01  2.460798e-07  4.732854e-09
+-4.320000e-02  1.207715e-02 -2.427756e-01 -3.676504e-01  1.479930e-08 -1.015995e-07
+-4.320000e-02  1.224845e-02 -2.425972e-01 -3.675309e-01  1.449696e-06  1.340332e-07
+-4.320000e-02  1.241739e-02 -2.424151e-01 -3.674060e-01 -1.859780e-07 -9.073807e-07
+-4.320000e-02  1.258406e-02 -2.422311e-01 -3.672751e-01  3.353359e-06 -1.759807e-06
+-4.320000e-02  1.274855e-02 -2.420447e-01 -3.671361e-01 -2.463216e-07  1.269302e-06
+-4.320000e-02  1.291094e-02 -2.418558e-01 -2.418557e-01  4.110411e-07  1.371321e-06
+-4.320000e-02  1.307132e-02 -2.416630e-01 -2.416639e-01  8.702804e-07 -4.915352e-07
+-4.320000e-02  1.322976e-02 -2.414667e-01 -2.414681e-01 -1.913899e-07  8.054839e-08
+-4.320000e-02  1.338632e-02 -2.412682e-01 -3.665358e-01  2.541184e-06  6.015811e-07
+-4.320000e-02  1.354106e-02 -2.410677e-01 -2.410680e-01 -2.000345e-07 -4.427970e-07
+-4.320000e-02  1.369406e-02 -2.408646e-01 -2.408640e-01  1.578508e-07  3.253202e-07
+-4.320000e-02  1.384537e-02 -2.406580e-01 -2.406586e-01  7.178860e-07 -1.109955e-07
+-4.320000e-02  1.399505e-02 -2.404487e-01 -2.404496e-01 -5.815545e-07 -1.489990e-06
+-4.320000e-02  1.414314e-02 -2.402367e-01 -2.402373e-01  1.268164e-06  9.719739e-07
+-4.320000e-02  1.428969e-02 -2.400230e-01 -2.400229e-01  1.800396e-07  1.070090e-08
+-4.320000e-02  1.443476e-02 -2.398064e-01 -2.398065e-01 -6.291747e-08 -2.839969e-07
+-4.320000e-02  1.457838e-02 -2.395783e-01 -2.395790e-01 -3.623933e-05 -3.616029e-05
+-4.320000e-02  1.472060e-02 -2.393717e-01 -2.393723e-01  1.312910e-06 -1.742078e-07
+-4.320000e-02  1.486146e-02 -2.391452e-01 -2.391453e-01 -8.960772e-08  2.659742e-07
+-4.320000e-02  1.500100e-02 -2.389194e-01 -2.389194e-01  9.426169e-08  1.811489e-07
+-4.320000e-02  1.513925e-02 -2.386914e-01 -2.386919e-01  1.346847e-07 -3.940795e-07
+-4.320000e-02  1.527625e-02 -2.384614e-01 -2.384611e-01 -3.620326e-06 -4.563939e-06
+-4.320000e-02  1.541204e-02 -2.382282e-01 -2.382292e-01  2.847472e-07 -6.326699e-07
+-4.320000e-02  1.554663e-02 -2.379947e-01 -2.379951e-01  2.258679e-08 -5.560281e-07
+-4.320000e-02  1.568007e-02 -2.377586e-01 -2.377585e-01  4.288428e-07 -4.411376e-07
+-4.320000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.320000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.000000e-06 -3.613612e-01 -3.613612e-01 -1.247950e-08  8.346995e-10
+-4.080000e-02  2.042241e-03 -2.426181e-01 -3.614948e-01  1.367851e-06  6.787623e-09
+-4.080000e-02  2.887751e-03 -2.426185e-01 -3.616164e-01  1.353682e-06 -6.736434e-10
+-4.080000e-02  3.536534e-03 -2.426143e-01 -3.617302e-01  1.382940e-06  9.089127e-09
+-4.080000e-02  4.083483e-03 -2.426053e-01 -3.618366e-01  1.424210e-06  2.307713e-08
+-4.080000e-02  4.565355e-03 -2.425913e-01 -3.619359e-01  1.434851e-06  5.133865e-09
+-4.080000e-02  5.001000e-03 -2.425723e-01 -3.620285e-01  1.373960e-06  1.918135e-07
+-4.080000e-02  5.401617e-03 -2.425485e-01 -3.621144e-01  1.095560e-06  5.047195e-08
+-4.080000e-02  5.774503e-03 -2.425198e-01 -3.621938e-01  5.758090e-07 -5.928246e-07
+-4.080000e-02  6.124724e-03 -2.424864e-01 -3.622668e-01  5.686525e-08 -6.018586e-08
+-4.080000e-02  6.455972e-03 -2.424482e-01 -3.623335e-01 -3.485186e-07 -4.868123e-07
+-4.080000e-02  6.771032e-03 -2.424054e-01 -3.623938e-01 -2.370211e-07 -3.028356e-06
+-4.080000e-02  7.072068e-03 -2.423581e-01 -3.624477e-01  1.077392e-06 -1.284836e-06
+-4.080000e-02  7.360801e-03 -2.423063e-01 -3.624950e-01  2.730484e-06 -5.856618e-08
+-4.080000e-02  7.638626e-03 -2.422502e-01 -3.625354e-01  3.261579e-06 -4.434626e-06
+-4.080000e-02  7.906694e-03 -2.421897e-01 -3.625689e-01  2.864039e-06  2.006872e-07
+-4.080000e-02  8.165966e-03 -2.421249e-01 -3.625957e-01  1.449465e-06  5.627927e-06
+-4.080000e-02  8.417254e-03 -2.420559e-01 -3.626159e-01 -3.079642e-07 -8.451944e-07
+-4.080000e-02  8.661254e-03 -2.419827e-01 -3.626301e-01  9.119578e-07  5.500827e-06
+-4.080000e-02  8.898565e-03 -2.419052e-01 -3.626391e-01  3.306325e-06  1.347508e-05
+-4.080000e-02  9.129709e-03 -2.418234e-01 -3.626434e-01  6.495686e-07  1.360479e-06
+-4.080000e-02  9.355143e-03 -2.417374e-01 -3.626433e-01 -2.996745e-06  5.729291e-06
+-4.080000e-02  9.575271e-03 -2.416472e-01 -3.626387e-01 -9.555872e-07  1.231048e-05
+-4.080000e-02  9.790450e-03 -2.415529e-01 -3.626290e-01  1.233319e-06 -8.936674e-06
+-4.080000e-02  1.000100e-02 -2.414547e-01 -3.626131e-01  2.830342e-07 -7.743037e-06
+-4.080000e-02  1.020721e-02 -2.413529e-01 -3.625903e-01  1.498649e-06  1.616346e-06
+-4.080000e-02  1.040933e-02 -2.412474e-01 -3.625599e-01  2.849040e-06 -1.544105e-05
+-4.080000e-02  1.060760e-02 -2.411385e-01 -3.625219e-01  6.781423e-07 -1.213594e-05
+-4.080000e-02  1.080223e-02 -2.410260e-01 -3.624766e-01 -1.300894e-08  1.417668e-06
+-4.080000e-02  1.099342e-02 -2.409097e-01 -3.624245e-01  5.205654e-07 -7.780964e-06
+-4.080000e-02  1.118134e-02 -2.407894e-01 -3.623666e-01  8.106411e-08 -4.378999e-06
+-4.080000e-02  1.136615e-02 -2.406651e-01 -3.623034e-01  6.058271e-07  6.799191e-06
+-4.080000e-02  1.154801e-02 -2.405371e-01 -3.622353e-01 -4.991643e-08  1.166838e-06
+-4.080000e-02  1.172704e-02 -2.404056e-01 -2.404066e-01  7.924718e-07 -9.489758e-07
+-4.080000e-02  1.190338e-02 -2.402710e-01 -2.402715e-01  1.627789e-06  7.910918e-07
+-4.080000e-02  1.207715e-02 -2.401331e-01 -2.401333e-01 -6.238333e-08  6.180154e-07
+-4.080000e-02  1.224845e-02 -2.399917e-01 -2.399916e-01  2.740670e-07 -4.148083e-08
+-4.080000e-02  1.241739e-02 -2.398467e-01 -3.618175e-01 -3.230259e-06 -1.791623e-06
+-4.080000e-02  1.258406e-02 -2.396993e-01 -3.617166e-01  2.415735e-07  7.137050e-07
+-4.080000e-02  1.274855e-02 -2.395474e-01 -3.616102e-01 -1.776545e-07 -3.904303e-07
+-4.080000e-02  1.291094e-02 -2.393924e-01 -3.614966e-01  7.470677e-07  3.482234e-07
+-4.080000e-02  1.307132e-02 -2.392344e-01 -3.613785e-01  5.606756e-07  1.260842e-07
+-4.080000e-02  1.322976e-02 -2.390737e-01 -3.612542e-01  5.014717e-08  7.707344e-07
+-4.080000e-02  1.338632e-02 -2.389097e-01 -2.389097e-01  5.681052e-08  1.302240e-07
+-4.080000e-02  1.354106e-02 -2.387424e-01 -2.387427e-01  3.526303e-07 -1.218366e-07
+-4.080000e-02  1.369406e-02 -2.385718e-01 -2.385723e-01 -1.682992e-09 -2.162434e-07
+-4.080000e-02  1.384537e-02 -2.383986e-01 -2.383987e-01  7.517636e-07  4.374600e-07
+-4.080000e-02  1.399505e-02 -2.382224e-01 -2.382230e-01  2.124356e-07  8.012764e-09
+-4.080000e-02  1.414314e-02 -2.380437e-01 -2.380437e-01  1.603688e-07  7.852737e-08
+-4.080000e-02  1.428969e-02 -2.378618e-01 -2.378624e-01  1.433243e-07 -1.129319e-06
+-4.080000e-02  1.443476e-02 -2.376771e-01 -2.376770e-01  3.588224e-08  7.105802e-07
+-4.080000e-02  1.457838e-02 -2.374895e-01 -2.374899e-01  4.833340e-07 -2.931308e-07
+-4.080000e-02  1.472060e-02 -2.372996e-01 -2.372998e-01  3.655430e-07  5.200842e-07
+-4.080000e-02  1.486146e-02 -2.371073e-01 -2.371073e-01  9.589369e-08  6.909079e-09
+-4.080000e-02  1.500100e-02 -2.369125e-01 -2.369125e-01  6.021394e-10 -4.375815e-08
+-4.080000e-02  1.513925e-02 -2.367150e-01 -2.367153e-01  1.362980e-07  8.565657e-08
+-4.080000e-02  1.527625e-02 -2.365155e-01 -2.365159e-01  3.638573e-07 -2.540997e-07
+-4.080000e-02  1.541204e-02 -2.363146e-01 -2.363147e-01  1.401275e-07  2.462039e-07
+-4.080000e-02  1.554663e-02 -2.361103e-01 -2.361100e-01  8.085091e-06  8.570281e-06
+-4.080000e-02  1.568007e-02 -2.359516e-01 -2.359521e-01 -3.969153e-05 -4.001425e-05
+-4.080000e-02  1.581239e-02 -2.357045e-01 -2.357050e-01 -3.343054e-05 -3.394660e-05
+-4.080000e-02  1.594361e-02 -2.354783e-01 -2.354783e-01  2.304277e-06  2.009928e-06
+-4.080000e-02  1.607375e-02 -2.352788e-01 -2.352788e-01 -9.722142e-06 -9.602595e-06
+-4.080000e-02  1.620285e-02 -2.350722e-01 -2.350717e-01 -4.047023e-07 -4.354632e-07
+-4.080000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.080000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.000000e-06 -3.549362e-01 -3.549363e-01  4.655476e-09 -4.582235e-10
+-3.840000e-02  2.042241e-03 -2.386218e-01 -3.550994e-01  7.880274e-08 -6.532438e-09
+-3.840000e-02  2.887751e-03 -2.386743e-01 -3.552496e-01  3.124807e-07 -1.395511e-08
+-3.840000e-02  3.536534e-03 -2.387215e-01 -3.553918e-01  3.803614e-07 -1.844576e-09
+-3.840000e-02  4.083483e-03 -2.387632e-01 -3.555266e-01  2.844661e-07 -1.457629e-08
+-3.840000e-02  4.565355e-03 -2.387996e-01 -3.556545e-01  1.414499e-07 -9.070617e-09
+-3.840000e-02  5.001000e-03 -2.388306e-01 -3.557755e-01  3.818375e-08 -5.835778e-10
+-3.840000e-02  5.401617e-03 -2.388563e-01 -3.558899e-01 -5.501479e-09  3.811891e-10
+-3.840000e-02  5.774503e-03 -2.388767e-01 -3.559977e-01 -6.919656e-09 -1.668546e-08
+-3.840000e-02  6.124724e-03 -2.388920e-01 -3.560989e-01  1.470663e-08 -1.525210e-09
+-3.840000e-02  6.455972e-03 -2.389021e-01 -3.561937e-01  4.217481e-08  1.023977e-07
+-3.840000e-02  6.771032e-03 -2.389072e-01 -3.562822e-01  5.404815e-08  1.207150e-07
+-3.840000e-02  7.072068e-03 -2.389074e-01 -3.563643e-01  4.598832e-08 -2.995102e-08
+-3.840000e-02  7.360801e-03 -2.389027e-01 -3.564402e-01  4.095178e-08  7.346967e-08
+-3.840000e-02  7.638626e-03 -2.388931e-01 -3.565098e-01  4.973811e-08  7.380023e-07
+-3.840000e-02  7.906694e-03 -2.388787e-01 -3.565735e-01  3.392123e-08  9.906928e-07
+-3.840000e-02  8.165966e-03 -2.388597e-01 -3.566311e-01 -2.914003e-08 -3.431205e-07
+-3.840000e-02  8.417254e-03 -2.388360e-01 -3.566828e-01 -4.876272e-08 -1.810513e-06
+-3.840000e-02  8.661254e-03 -2.388077e-01 -3.567287e-01  8.441855e-08 -7.212158e-07
+-3.840000e-02  8.898565e-03 -2.387748e-01 -3.567688e-01  2.717988e-07  9.944381e-07
+-3.840000e-02  9.129709e-03 -2.387375e-01 -3.568032e-01  2.607957e-07 -2.150368e-06
+-3.840000e-02  9.355143e-03 -2.386957e-01 -3.568316e-01  4.965451e-08 -8.313174e-06
+-3.840000e-02  9.575271e-03 -2.386495e-01 -3.568541e-01 -5.867382e-08 -7.785778e-06
+-3.840000e-02  9.790450e-03 -2.385990e-01 -3.568703e-01 -3.179005e-08 -8.063716e-07
+-3.840000e-02  1.000100e-02 -2.385442e-01 -3.568800e-01 -1.069719e-07 -1.792521e-06
+-3.840000e-02  1.020721e-02 -2.384851e-01 -3.568829e-01 -2.651619e-07 -1.261459e-05
+-3.840000e-02  1.040933e-02 -2.384219e-01 -3.568790e-01  3.007037e-07 -1.237932e-05
+-3.840000e-02  1.060760e-02 -2.383546e-01 -3.568682e-01  1.290745e-06  5.055808e-06
+-3.840000e-02  1.080223e-02 -2.382831e-01 -3.568505e-01  1.203524e-06  1.281912e-05
+-3.840000e-02  1.099342e-02 -2.382076e-01 -3.568262e-01  1.102945e-08 -8.063799e-07
+-3.840000e-02  1.118134e-02 -2.381282e-01 -3.567959e-01 -2.823721e-07 -4.527335e-06
+-3.840000e-02  1.136615e-02 -2.380448e-01 -3.567601e-01  2.008307e-06  2.057798e-05
+-3.840000e-02  1.154801e-02 -2.379573e-01 -3.567192e-01  4.718099e-06  3.574339e-05
+-3.840000e-02  1.172704e-02 -2.378659e-01 -3.566739e-01  4.075728e-06  1.953190e-05
+-3.840000e-02  1.190338e-02 -2.377707e-01 -2.377710e-01 -1.283746e-07 -5.147791e-07
+-3.840000e-02  1.207715e-02 -2.376717e-01 -2.376720e-01 -3.874499e-06 -3.686535e-06
+-3.840000e-02  1.224845e-02 -2.375690e-01 -2.375694e-01 -3.343937e-06 -3.358091e-06
+-3.840000e-02  1.241739e-02 -2.374627e-01 -2.374631e-01  1.982016e-07 -7.254760e-07
+-3.840000e-02  1.258406e-02 -2.373529e-01 -2.373532e-01  1.678284e-06  1.142405e-06
+-3.840000e-02  1.274855e-02 -2.372396e-01 -2.372398e-01  3.332651e-07  5.395473e-07
+-3.840000e-02  1.291094e-02 -2.371229e-01 -2.371230e-01 -2.092867e-07 -2.284336e-07
+-3.840000e-02  1.307132e-02 -2.370027e-01 -2.370028e-01  2.790195e-07  1.058536e-07
+-3.840000e-02  1.322976e-02 -2.368789e-01 -2.368792e-01  7.258311e-07  1.108749e-07
+-3.840000e-02  1.338632e-02 -2.367517e-01 -2.367522e-01  6.909708e-07  1.669301e-07
+-3.840000e-02  1.354106e-02 -2.366211e-01 -2.366217e-01 -8.750317e-10 -9.687301e-08
+-3.840000e-02  1.369406e-02 -2.364873e-01 -2.364878e-01  5.536350e-07 -2.170305e-07
+-3.840000e-02  1.384537e-02 -2.363504e-01 -2.363508e-01  6.447666e-07  2.569765e-07
+-3.840000e-02  1.399505e-02 -2.362106e-01 -2.362107e-01  1.300964e-07 -3.639540e-08
+-3.840000e-02  1.414314e-02 -2.360677e-01 -2.360677e-01  1.763897e-07  2.237279e-07
+-3.840000e-02  1.428969e-02 -2.359222e-01 -2.359222e-01  4.647694e-08  2.115427e-07
+-3.840000e-02  1.443476e-02 -2.357733e-01 -2.357732e-01  2.720018e-06  2.877131e-06
+-3.840000e-02  1.457838e-02 -2.356334e-01 -2.356338e-01 -1.234119e-05 -1.292665e-05
+-3.840000e-02  1.472060e-02 -2.354853e-01 -2.354853e-01  6.152948e-05  6.117703e-05
+-3.840000e-02  1.486146e-02 -2.353404e-01 -2.353405e-01 -2.883504e-06 -2.465341e-06
+-3.840000e-02  1.500100e-02 -2.351820e-01 -2.351821e-01 -6.034542e-05 -6.036831e-05
+-3.840000e-02  1.513925e-02 -2.348914e-01 -2.348909e-01  2.925192e-05  3.009313e-05
+-3.840000e-02  1.527625e-02 -2.347478e-01 -2.347479e-01  2.229919e-06  2.016353e-06
+-3.840000e-02  1.541204e-02 -2.345971e-01 -2.345974e-01 -2.567889e-05 -2.604055e-05
+-3.840000e-02  1.554663e-02 -2.344319e-01 -2.344321e-01  1.889806e-06  1.793479e-06
+-3.840000e-02  1.568007e-02 -2.342570e-01 -2.342570e-01 -1.312727e-06 -1.263590e-06
+-3.840000e-02  1.581239e-02 -2.340777e-01 -2.340777e-01  1.528264e-07  1.435979e-07
+-3.840000e-02  1.594361e-02 -2.338960e-01 -2.338961e-01  9.990992e-08 -9.453388e-09
+-3.840000e-02  1.607375e-02 -2.337112e-01 -2.337114e-01 -1.543561e-08 -3.800775e-08
+-3.840000e-02  1.620285e-02 -2.335236e-01 -2.335238e-01  3.155053e-07 -4.462473e-09
+-3.840000e-02  1.633093e-02 -2.333334e-01 -2.333334e-01 -2.482634e-08  8.199919e-08
+-3.840000e-02  1.645801e-02 -2.331405e-01 -2.331405e-01  1.285343e-07  8.907437e-08
+-3.840000e-02  1.658412e-02 -2.329451e-01 -2.329451e-01  6.123912e-08 -1.865513e-08
+-3.840000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.840000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.000000e-06 -3.487832e-01 -3.487832e-01 -2.345586e-08 -8.459770e-08
+-3.600000e-02  2.042241e-03 -2.347299e-01 -3.489747e-01  1.111666e-08  2.742420e-08
+-3.600000e-02  2.887751e-03 -2.348356e-01 -3.491523e-01  1.560681e-07  2.259020e-09
+-3.600000e-02  3.536534e-03 -2.349355e-01 -3.493219e-01  3.654450e-08 -2.325789e-08
+-3.600000e-02  4.083483e-03 -2.350295e-01 -3.494840e-01  2.367704e-08 -5.363397e-10
+-3.600000e-02  4.565355e-03 -2.351176e-01 -3.496392e-01  1.026603e-07  3.317540e-09
+-3.600000e-02  5.001000e-03 -2.351999e-01 -3.497876e-01  1.396815e-08  2.622746e-08
+-3.600000e-02  5.401617e-03 -2.352764e-01 -3.499294e-01 -4.328406e-08 -2.709707e-09
+-3.600000e-02  5.774503e-03 -2.353474e-01 -3.500648e-01  1.363058e-07 -1.474421e-07
+-3.600000e-02  6.124724e-03 -2.354128e-01 -3.501937e-01  4.493812e-07 -1.101283e-08
+-3.600000e-02  6.455972e-03 -2.354728e-01 -3.503160e-01  6.062784e-07  2.726997e-07
+-3.600000e-02  6.771032e-03 -2.355273e-01 -3.504318e-01  3.310857e-07 -9.283169e-08
+-3.600000e-02  7.072068e-03 -2.355764e-01 -3.505413e-01  9.755600e-07  2.194570e-06
+-3.600000e-02  7.360801e-03 -2.356203e-01 -3.506449e-01 -7.407957e-07 -1.328372e-06
+-3.600000e-02  7.638626e-03 -2.356591e-01 -3.507426e-01 -4.931866e-07  1.119236e-07
+-3.600000e-02  7.906694e-03 -2.356929e-01 -3.508345e-01  1.990469e-07 -6.869403e-07
+-3.600000e-02  8.165966e-03 -2.357216e-01 -3.509205e-01  6.172303e-08  2.914455e-08
+-3.600000e-02  8.417254e-03 -2.357454e-01 -3.510004e-01  1.178549e-07 -6.298882e-07
+-3.600000e-02  8.661254e-03 -2.357642e-01 -3.510742e-01  3.586312e-08 -3.377640e-06
+-3.600000e-02  8.898565e-03 -2.357781e-01 -3.511418e-01  6.431326e-09 -3.420802e-06
+-3.600000e-02  9.129709e-03 -2.357872e-01 -3.512032e-01  1.159294e-07 -7.253874e-07
+-3.600000e-02  9.355143e-03 -2.357915e-01 -3.512585e-01  1.941554e-07  6.864437e-07
+-3.600000e-02  9.575271e-03 -2.357911e-01 -3.513080e-01  2.057838e-07  3.350449e-07
+-3.600000e-02  9.790450e-03 -2.357861e-01 -3.513518e-01  2.018365e-07 -3.935796e-08
+-3.600000e-02  1.000100e-02 -2.357765e-01 -3.513899e-01  1.755255e-07 -9.841451e-08
+-3.600000e-02  1.020721e-02 -2.357625e-01 -3.514225e-01 -2.076741e-09 -1.413708e-06
+-3.600000e-02  1.040933e-02 -2.357440e-01 -3.514496e-01 -5.939028e-07 -6.636732e-06
+-3.600000e-02  1.060760e-02 -2.357211e-01 -3.514710e-01 -1.542416e-06 -1.439499e-05
+-3.600000e-02  1.080223e-02 -2.356940e-01 -3.514865e-01 -1.429240e-06 -1.192030e-05
+-3.600000e-02  1.099342e-02 -2.356625e-01 -3.514949e-01  4.122272e-07  3.185237e-06
+-3.600000e-02  1.118134e-02 -2.356267e-01 -3.514950e-01 -1.601310e-06 -7.905341e-06
+-3.600000e-02  1.136615e-02 -2.355863e-01 -3.514856e-01 -2.495275e-06 -8.411223e-06
+-3.600000e-02  1.154801e-02 -2.355412e-01 -3.514669e-01  1.429374e-05  4.090157e-05
+-3.600000e-02  1.172704e-02 -2.354910e-01 -3.514428e-01 -2.096002e-07  4.465185e-06
+-3.600000e-02  1.190338e-02 -2.354359e-01 -3.514195e-01 -1.063614e-05  3.502018e-05
+-3.600000e-02  1.207715e-02 -2.353766e-01 -3.514020e-01  5.939567e-07  1.033709e-06
+-3.600000e-02  1.224845e-02 -2.353142e-01 -3.513871e-01  5.791891e-07 -6.550163e-06
+-3.600000e-02  1.241739e-02 -2.352495e-01 -3.513634e-01 -2.920416e-07 -9.939708e-06
+-3.600000e-02  1.258406e-02 -2.351818e-01 -3.513194e-01 -6.447067e-07 -3.353053e-05
+-3.600000e-02  1.274855e-02 -2.351096e-01 -3.512582e-01  3.930875e-06  1.889819e-06
+-3.600000e-02  1.291094e-02 -2.350322e-01 -3.511978e-01 -1.833775e-07  1.364136e-05
+-3.600000e-02  1.307132e-02 -2.349505e-01 -2.349504e-01  2.221045e-07  3.613030e-07
+-3.600000e-02  1.322976e-02 -2.348657e-01 -2.348656e-01  1.110332e-07  4.346712e-07
+-3.600000e-02  1.338632e-02 -2.347776e-01 -2.347775e-01 -4.097810e-07  2.000857e-08
+-3.600000e-02  1.354106e-02 -2.346855e-01 -2.346856e-01 -5.738505e-07 -3.323858e-07
+-3.600000e-02  1.369406e-02 -2.345898e-01 -2.345898e-01 -4.902151e-08 -3.505190e-07
+-3.600000e-02  1.384537e-02 -2.344904e-01 -2.344904e-01  4.411104e-07  9.624614e-09
+-3.600000e-02  1.399505e-02 -2.343875e-01 -2.343873e-01  3.175806e-08  1.970367e-07
+-3.600000e-02  1.414314e-02 -2.342809e-01 -2.342808e-01 -7.362548e-07 -3.373647e-07
+-3.600000e-02  1.428969e-02 -2.341709e-01 -2.341707e-01 -1.169217e-06 -8.496488e-07
+-3.600000e-02  1.443476e-02 -2.340573e-01 -2.340572e-01 -1.276523e-06 -9.978052e-07
+-3.600000e-02  1.457838e-02 -2.339401e-01 -2.339401e-01 -5.958669e-07 -7.127960e-07
+-3.600000e-02  1.472060e-02 -2.338195e-01 -2.338196e-01  3.927835e-07  9.810767e-08
+-3.600000e-02  1.486146e-02 -2.336954e-01 -2.336957e-01  8.406732e-07  5.217740e-07
+-3.600000e-02  1.500100e-02 -2.335681e-01 -2.335683e-01  8.405493e-07  3.452542e-07
+-3.600000e-02  1.513925e-02 -2.334374e-01 -2.334376e-01 -2.778129e-07 -2.270122e-07
+-3.600000e-02  1.527625e-02 -2.333034e-01 -2.333036e-01 -1.355073e-06 -1.222070e-06
+-3.600000e-02  1.541204e-02 -2.331662e-01 -2.331664e-01 -8.527483e-07 -9.500441e-07
+-3.600000e-02  1.554663e-02 -2.330258e-01 -2.330260e-01  1.252913e-06  9.957717e-07
+-3.600000e-02  1.568007e-02 -2.328821e-01 -2.328823e-01  4.964959e-06  4.594189e-06
+-3.600000e-02  1.581239e-02 -2.327353e-01 -2.327356e-01  8.700456e-06  8.441532e-06
+-3.600000e-02  1.594361e-02 -2.325854e-01 -2.325856e-01  1.178276e-05  1.135020e-05
+-3.600000e-02  1.607375e-02 -2.324325e-01 -2.324327e-01  1.221141e-05  1.227093e-05
+-3.600000e-02  1.620285e-02 -2.322767e-01 -2.322767e-01  1.048369e-05  1.055722e-05
+-3.600000e-02  1.633093e-02 -2.321179e-01 -2.321179e-01  7.290910e-06  7.355849e-06
+-3.600000e-02  1.645801e-02 -2.319561e-01 -2.319561e-01  3.654821e-06  3.617532e-06
+-3.600000e-02  1.658412e-02 -2.317914e-01 -2.317915e-01  3.702818e-07  3.138349e-07
+-3.600000e-02  1.670928e-02 -2.316239e-01 -2.316240e-01 -1.505818e-06 -1.764991e-06
+-3.600000e-02  1.683351e-02 -2.314538e-01 -2.314538e-01 -2.711020e-06 -2.605849e-06
+-3.600000e-02  1.695682e-02 -2.312811e-01 -2.312810e-01 -2.694976e-06 -2.559371e-06
+-3.600000e-02  1.707925e-02 -2.311054e-01 -2.311076e-01 -1.994975e-06 -3.535240e-06
+-3.600000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.600000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.000000e-06 -3.429198e-01 -3.429199e-01  8.200854e-09 -4.813448e-07
+-3.360000e-02  2.042241e-03 -2.309515e-01 -3.431384e-01  7.880155e-08  1.051183e-07
+-3.360000e-02  2.887751e-03 -2.311116e-01 -3.433421e-01  9.027796e-09  6.490444e-10
+-3.360000e-02  3.536534e-03 -2.312653e-01 -3.435377e-01  4.426876e-08 -1.563034e-07
+-3.360000e-02  4.083483e-03 -2.314126e-01 -3.437258e-01  1.090908e-08  4.414596e-08
+-3.360000e-02  4.565355e-03 -2.315536e-01 -3.439070e-01  2.661340e-07 -1.607987e-08
+-3.360000e-02  5.001000e-03 -2.316885e-01 -3.440815e-01  8.712856e-08  1.388696e-07
+-3.360000e-02  5.401617e-03 -2.318174e-01 -3.442496e-01  6.220923e-09 -6.019406e-08
+-3.360000e-02  5.774503e-03 -2.319402e-01 -3.444111e-01  9.074013e-08  4.498003e-08
+-3.360000e-02  6.124724e-03 -2.320571e-01 -3.445663e-01 -2.435761e-09 -4.851303e-08
+-3.360000e-02  6.455972e-03 -2.321682e-01 -3.447152e-01  4.156893e-08 -1.738435e-07
+-3.360000e-02  6.771032e-03 -2.322735e-01 -3.448577e-01  2.259502e-08 -3.695565e-07
+-3.360000e-02  7.072068e-03 -2.323731e-01 -3.449941e-01 -1.650584e-08 -1.251474e-07
+-3.360000e-02  7.360801e-03 -2.324672e-01 -3.451244e-01  1.796556e-07  1.416880e-08
+-3.360000e-02  7.638626e-03 -2.325558e-01 -3.452487e-01  3.097723e-07 -3.426360e-08
+-3.360000e-02  7.906694e-03 -2.326389e-01 -3.453668e-01  1.541324e-07 -1.128888e-08
+-3.360000e-02  8.165966e-03 -2.327167e-01 -3.454789e-01 -1.184774e-08 -5.827648e-08
+-3.360000e-02  8.417254e-03 -2.327892e-01 -3.455851e-01  6.098292e-09 -5.297760e-08
+-3.360000e-02  8.661254e-03 -2.328565e-01 -3.456853e-01  8.913139e-08  5.893409e-08
+-3.360000e-02  8.898565e-03 -2.329185e-01 -3.457795e-01  1.031856e-07 -2.065920e-08
+-3.360000e-02  9.129709e-03 -2.329755e-01 -3.458679e-01  4.409153e-08 -3.080547e-09
+-3.360000e-02  9.355143e-03 -2.330273e-01 -3.459504e-01  2.482802e-09  4.380539e-08
+-3.360000e-02  9.575271e-03 -2.330741e-01 -3.460271e-01  6.016977e-09  8.635105e-08
+-3.360000e-02  9.790450e-03 -2.331160e-01 -3.460979e-01  3.830399e-08  3.462663e-08
+-3.360000e-02  1.000100e-02 -2.331530e-01 -3.461628e-01  6.430137e-08 -3.125734e-08
+-3.360000e-02  1.020721e-02 -2.331851e-01 -3.462220e-01  7.060757e-08 -5.478275e-08
+-3.360000e-02  1.040933e-02 -2.332123e-01 -3.462754e-01  5.794661e-08 -3.720079e-08
+-3.360000e-02  1.060760e-02 -2.332349e-01 -3.463230e-01  3.378110e-08 -1.711289e-08
+-3.360000e-02  1.080223e-02 -2.332527e-01 -3.463648e-01  1.268145e-08 -1.792854e-08
+-3.360000e-02  1.099342e-02 -2.332659e-01 -3.464008e-01 -1.764309e-09 -3.180485e-08
+-3.360000e-02  1.118134e-02 -2.332745e-01 -3.464311e-01 -1.044157e-08 -4.466860e-08
+-3.360000e-02  1.136615e-02 -2.332785e-01 -3.464556e-01 -1.423233e-08 -4.930829e-08
+-3.360000e-02  1.154801e-02 -2.332781e-01 -3.464744e-01 -1.368526e-08 -4.462078e-08
+-3.360000e-02  1.172704e-02 -2.332731e-01 -3.464875e-01 -8.881764e-09 -3.280046e-08
+-3.360000e-02  1.190338e-02 -2.332637e-01 -3.464948e-01  2.917161e-10 -1.741713e-08
+-3.360000e-02  1.207715e-02 -2.332500e-01 -3.464964e-01  1.446522e-08 -2.178837e-09
+-3.360000e-02  1.224845e-02 -2.332319e-01 -2.332319e-01  3.672942e-08 -3.010487e-08
+-3.360000e-02  1.241739e-02 -2.332095e-01 -2.332095e-01  6.557802e-08 -1.812388e-08
+-3.360000e-02  1.258406e-02 -2.331828e-01 -2.331828e-01  7.420117e-08 -5.423599e-09
+-3.360000e-02  1.274855e-02 -2.331519e-01 -2.331519e-01  6.676313e-08  7.631536e-09
+-3.360000e-02  1.291094e-02 -2.331169e-01 -2.331169e-01  4.734658e-08  6.446727e-10
+-3.360000e-02  1.307132e-02 -2.330777e-01 -2.330777e-01  8.484478e-09 -2.065529e-08
+-3.360000e-02  1.322976e-02 -2.330344e-01 -2.330344e-01  4.601441e-09 -3.434508e-08
+-3.360000e-02  1.338632e-02 -2.329870e-01 -2.329871e-01  3.244586e-08 -5.900836e-08
+-3.360000e-02  1.354106e-02 -2.329357e-01 -2.329357e-01  9.043824e-08 -4.175227e-08
+-3.360000e-02  1.369406e-02 -2.328803e-01 -2.328804e-01  1.175322e-07  2.927405e-08
+-3.360000e-02  1.384537e-02 -2.328210e-01 -2.328211e-01  5.112470e-08  2.522045e-08
+-3.360000e-02  1.399505e-02 -2.327577e-01 -2.327579e-01 -1.604900e-08 -2.619420e-08
+-3.360000e-02  1.414314e-02 -2.326906e-01 -2.326908e-01  3.465687e-08 -1.089704e-07
+-3.360000e-02  1.428969e-02 -2.326197e-01 -2.326198e-01  2.097436e-07 -8.064788e-08
+-3.360000e-02  1.443476e-02 -2.325450e-01 -2.325451e-01  3.129148e-07  3.870445e-08
+-3.360000e-02  1.457838e-02 -2.324665e-01 -2.324666e-01  1.826558e-07  1.729992e-07
+-3.360000e-02  1.472060e-02 -2.323844e-01 -2.323844e-01 -5.992170e-10  1.041064e-07
+-3.360000e-02  1.486146e-02 -2.322985e-01 -2.322986e-01 -1.359522e-09  1.616870e-08
+-3.360000e-02  1.500100e-02 -2.322090e-01 -2.322090e-01  6.090921e-08  3.711502e-09
+-3.360000e-02  1.513925e-02 -2.321159e-01 -2.321159e-01 -1.215437e-08  6.053397e-08
+-3.360000e-02  1.527625e-02 -2.320191e-01 -2.320192e-01  2.553558e-08 -1.942990e-08
+-3.360000e-02  1.541204e-02 -2.319188e-01 -2.319189e-01  1.128374e-07 -3.582709e-08
+-3.360000e-02  1.554663e-02 -2.318150e-01 -2.318149e-01 -9.757693e-08  2.073753e-07
+-3.360000e-02  1.568007e-02 -2.317075e-01 -2.317076e-01 -5.680822e-09 -3.996205e-08
+-3.360000e-02  1.581239e-02 -2.315963e-01 -2.315974e-01  8.388846e-07 -7.008173e-07
+-3.360000e-02  1.594361e-02 -2.314823e-01 -2.314833e-01  6.057463e-07 -1.233173e-06
+-3.360000e-02  1.607375e-02 -2.313656e-01 -2.313651e-01 -4.007209e-07 -8.978046e-07
+-3.360000e-02  1.620285e-02 -2.312438e-01 -2.312433e-01 -1.642708e-07 -1.729440e-07
+-3.360000e-02  1.633093e-02 -2.311175e-01 -2.311176e-01  1.681806e-06  1.970130e-06
+-3.360000e-02  1.645801e-02 -2.309905e-01 -2.309893e-01 -6.657231e-07  1.262326e-06
+-3.360000e-02  1.658412e-02 -2.308625e-01 -2.308615e-01 -6.860990e-06 -5.644963e-06
+-3.360000e-02  1.670928e-02 -2.307399e-01 -2.307412e-01  2.929385e-05  2.929897e-05
+-3.360000e-02  1.683351e-02 -2.305898e-01 -2.305905e-01  2.732540e-07 -1.064886e-06
+-3.360000e-02  1.695682e-02 -2.304489e-01 -2.304488e-01  6.838328e-08  2.041591e-07
+-3.360000e-02  1.707925e-02 -2.303046e-01 -2.303048e-01  1.462277e-07 -1.911124e-08
+-3.360000e-02  1.720081e-02 -2.301571e-01 -2.301565e-01 -1.295016e-08  2.307214e-08
+-3.360000e-02  1.732151e-02 -2.300065e-01 -2.300062e-01  9.996854e-08 -1.478163e-08
+-3.360000e-02  1.744137e-02 -2.298522e-01 -2.298526e-01 -3.069993e-08  2.098367e-08
+-3.360000e-02  1.756042e-02 -2.296947e-01 -2.296948e-01  1.903160e-07 -6.462537e-08
+-3.360000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.360000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.000000e-06 -3.373605e-01 -3.373638e-01  1.752005e-06  9.931571e-07
+-3.120000e-02  2.042241e-03 -2.272998e-01 -3.376079e-01  1.343135e-08 -4.607423e-07
+-3.120000e-02  2.887751e-03 -2.275150e-01 -3.378351e-01 -1.131237e-08  6.190599e-07
+-3.120000e-02  3.536534e-03 -2.277234e-01 -3.380541e-01  1.344712e-07 -1.274519e-07
+-3.120000e-02  4.083483e-03 -2.279249e-01 -3.382674e-01 -9.902203e-09  8.101228e-07
+-3.120000e-02  4.565355e-03 -2.281198e-01 -3.384746e-01  2.222472e-08 -3.972044e-07
+-3.120000e-02  5.001000e-03 -2.283081e-01 -3.386748e-01  2.359030e-08  2.228540e-07
+-3.120000e-02  5.401617e-03 -2.284899e-01 -3.388675e-01 -2.416237e-08 -1.059709e-06
+-3.120000e-02  5.774503e-03 -2.286653e-01 -3.390534e-01  1.632559e-07 -3.146412e-06
+-3.120000e-02  6.124724e-03 -2.288346e-01 -3.392332e-01  3.707289e-09  1.065134e-07
+-3.120000e-02  6.455972e-03 -2.289977e-01 -3.394069e-01  6.033595e-08  8.868353e-08
+-3.120000e-02  6.771032e-03 -2.291548e-01 -3.395745e-01 -4.162415e-09 -2.811394e-07
+-3.120000e-02  7.072068e-03 -2.293058e-01 -3.397358e-01  3.461419e-08 -5.173850e-07
+-3.120000e-02  7.360801e-03 -2.294509e-01 -3.398910e-01 -1.571394e-08  2.722694e-07
+-3.120000e-02  7.638626e-03 -2.295903e-01 -3.400402e-01  1.595254e-07 -1.030006e-07
+-3.120000e-02  7.906694e-03 -2.297239e-01 -3.401837e-01  1.067481e-07  4.473440e-07
+-3.120000e-02  8.165966e-03 -2.298518e-01 -3.403215e-01 -1.238719e-08 -1.353001e-07
+-3.120000e-02  8.417254e-03 -2.299742e-01 -3.404535e-01  6.123492e-08  4.180048e-08
+-3.120000e-02  8.661254e-03 -2.300910e-01 -3.405796e-01  6.675737e-09  2.027667e-07
+-3.120000e-02  8.898565e-03 -2.302023e-01 -3.406997e-01  1.747462e-08 -8.956787e-08
+-3.120000e-02  9.129709e-03 -2.303081e-01 -3.408139e-01  2.602884e-08 -4.041674e-07
+-3.120000e-02  9.355143e-03 -2.304086e-01 -3.409221e-01 -2.458865e-08 -1.099781e-06
+-3.120000e-02  9.575271e-03 -2.305038e-01 -3.410245e-01  8.420634e-08 -1.197213e-06
+-3.120000e-02  9.790450e-03 -2.305938e-01 -3.411212e-01  2.340320e-07 -3.827217e-07
+-3.120000e-02  1.000100e-02 -2.306786e-01 -3.412122e-01  1.323862e-07  1.332695e-07
+-3.120000e-02  1.020721e-02 -2.307583e-01 -3.412975e-01 -9.977764e-08 -6.921601e-10
+-3.120000e-02  1.040933e-02 -2.308330e-01 -3.413771e-01 -3.138066e-08 -5.259492e-09
+-3.120000e-02  1.060760e-02 -2.309026e-01 -3.414508e-01  6.084808e-08  4.380537e-08
+-3.120000e-02  1.080223e-02 -2.309672e-01 -3.415189e-01  2.355737e-08 -1.047375e-07
+-3.120000e-02  1.099342e-02 -2.310269e-01 -3.415814e-01  3.805353e-08 -2.196379e-07
+-3.120000e-02  1.118134e-02 -2.310817e-01 -3.416381e-01 -1.365766e-07 -4.990343e-07
+-3.120000e-02  1.136615e-02 -2.311316e-01 -3.416892e-01 -6.566800e-09 -4.612591e-07
+-3.120000e-02  1.154801e-02 -2.311768e-01 -3.417346e-01  7.468934e-09 -1.288073e-07
+-3.120000e-02  1.172704e-02 -2.312171e-01 -3.417742e-01 -4.418717e-08 -4.864932e-07
+-3.120000e-02  1.190338e-02 -2.312528e-01 -3.418081e-01  7.422615e-08 -2.434091e-07
+-3.120000e-02  1.207715e-02 -2.312838e-01 -3.418363e-01  1.224185e-07  3.944478e-07
+-3.120000e-02  1.224845e-02 -2.313103e-01 -3.418588e-01  5.838769e-08  4.382717e-07
+-3.120000e-02  1.241739e-02 -2.313321e-01 -3.418756e-01 -4.593693e-09  7.875939e-08
+-3.120000e-02  1.258406e-02 -2.313495e-01 -3.418868e-01 -2.952733e-08 -1.750456e-07
+-3.120000e-02  1.274855e-02 -2.313623e-01 -3.418924e-01 -3.694639e-08 -1.959818e-07
+-3.120000e-02  1.291094e-02 -2.313708e-01 -3.418922e-01 -4.394322e-08 -1.049653e-07
+-3.120000e-02  1.307132e-02 -2.313748e-01 -3.418865e-01 -5.373348e-08 -3.198518e-08
+-3.120000e-02  1.322976e-02 -2.313744e-01 -2.313741e-01 -6.189515e-08  6.279890e-07
+-3.120000e-02  1.338632e-02 -2.313697e-01 -2.313694e-01 -5.931302e-08  5.322994e-07
+-3.120000e-02  1.354106e-02 -2.313608e-01 -2.313603e-01 -3.910320e-08  3.065953e-07
+-3.120000e-02  1.369406e-02 -2.313475e-01 -2.313470e-01 -1.710181e-08  2.284084e-08
+-3.120000e-02  1.384537e-02 -2.313301e-01 -2.313295e-01 -4.779161e-08  2.504551e-08
+-3.120000e-02  1.399505e-02 -2.313084e-01 -2.313077e-01 -1.555725e-07  6.232153e-07
+-3.120000e-02  1.414314e-02 -2.312826e-01 -2.312819e-01 -1.599199e-07  1.152958e-06
+-3.120000e-02  1.428969e-02 -2.312527e-01 -2.312521e-01  9.233672e-08  4.648076e-07
+-3.120000e-02  1.443476e-02 -2.312186e-01 -2.312182e-01  1.446188e-07 -2.056110e-07
+-3.120000e-02  1.457838e-02 -2.311805e-01 -2.311804e-01 -6.222391e-08  4.898873e-07
+-3.120000e-02  1.472060e-02 -2.311383e-01 -2.311386e-01  2.315315e-07 -1.098799e-07
+-3.120000e-02  1.486146e-02 -2.310922e-01 -2.310926e-01  1.181639e-07 -5.274987e-07
+-3.120000e-02  1.500100e-02 -2.310422e-01 -2.310426e-01 -4.332856e-08 -1.660251e-07
+-3.120000e-02  1.513925e-02 -2.309880e-01 -2.309883e-01  7.325535e-08 -3.595832e-07
+-3.120000e-02  1.527625e-02 -2.309294e-01 -2.309294e-01  3.217545e-07  3.925538e-07
+-3.120000e-02  1.541204e-02 -2.308671e-01 -2.308671e-01 -9.314776e-07 -9.100126e-07
+-3.120000e-02  1.554663e-02 -2.308034e-01 -2.308036e-01 -1.467454e-05 -1.490327e-05
+-3.120000e-02  1.568007e-02 -2.307377e-01 -2.307379e-01  1.470594e-05  1.450030e-05
+-3.120000e-02  1.581239e-02 -2.306654e-01 -2.306656e-01 -1.881004e-06 -2.264119e-06
+-3.120000e-02  1.594361e-02 -2.305866e-01 -2.305867e-01 -6.110252e-07 -8.918694e-07
+-3.120000e-02  1.607375e-02 -2.305052e-01 -2.305052e-01  3.482728e-07  4.020072e-07
+-3.120000e-02  1.620285e-02 -2.304209e-01 -2.304210e-01 -6.329211e-08  2.596518e-08
+-3.120000e-02  1.633093e-02 -2.303328e-01 -2.303330e-01  4.242747e-08 -1.036773e-07
+-3.120000e-02  1.645801e-02 -2.302409e-01 -2.302412e-01  1.245848e-07 -4.843346e-07
+-3.120000e-02  1.658412e-02 -2.301454e-01 -2.301455e-01  4.341250e-08 -2.372767e-07
+-3.120000e-02  1.670928e-02 -2.300463e-01 -2.300462e-01  3.254724e-09  2.292175e-07
+-3.120000e-02  1.683351e-02 -2.299435e-01 -2.299435e-01  1.253083e-07  8.336456e-08
+-3.120000e-02  1.695682e-02 -2.298369e-01 -2.298370e-01  6.141816e-09 -1.773868e-07
+-3.120000e-02  1.707925e-02 -2.297266e-01 -2.297263e-01  6.091268e-08  3.011704e-07
+-3.120000e-02  1.720081e-02 -2.296127e-01 -2.296123e-01 -4.241597e-08  3.683205e-07
+-3.120000e-02  1.732151e-02 -2.294949e-01 -2.294950e-01 -3.153555e-07 -3.054420e-07
+-3.120000e-02  1.744137e-02 -2.293730e-01 -2.293734e-01 -5.763901e-08 -1.835504e-07
+-3.120000e-02  1.756042e-02 -2.292473e-01 -2.292475e-01  3.307336e-08 -2.069751e-08
+-3.120000e-02  1.767867e-02 -2.291174e-01 -2.291175e-01  3.801824e-09 -2.175171e-07
+-3.120000e-02  1.779613e-02 -2.289818e-01 -2.289819e-01  1.645446e-06  1.616667e-06
+-3.120000e-02  1.791282e-02 -2.288479e-01 -2.288478e-01 -2.136744e-06 -2.212324e-06
+-3.120000e-02  1.802876e-02 -2.287025e-01 -2.287024e-01 -2.287025e-01 -2.287024e-01
+-3.120000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.120000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.000000e-06 -3.321695e-01 -3.320896e-01  6.677549e-05  2.261376e-06
+-2.880000e-02  2.042241e-03 -2.237749e-01 -3.322803e-01 -2.193558e-06  2.260534e-04
+-2.880000e-02  2.887751e-03 -2.240406e-01 -3.325176e-01 -1.338851e-07 -8.476271e-06
+-2.880000e-02  3.536534e-03 -2.243066e-01 -3.329412e-01 -1.043198e-05 -1.504184e-04
+-2.880000e-02  4.083483e-03 -2.245807e-01 -3.333012e-01 -4.692005e-05 -1.766040e-04
+-2.880000e-02  4.565355e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  5.001000e-03 -2.251094e-01 -3.335386e-01 -2.251094e-01 -3.335386e-01
+-2.880000e-02  5.401617e-03 -2.253406e-01 -3.336650e-01  2.791549e-06  5.270673e-05
+-2.880000e-02  5.774503e-03 -2.255573e-01 -3.339155e-01 -8.317176e-08 -1.215576e-04
+-2.880000e-02  6.124724e-03 -2.257701e-01 -3.342590e-01 -4.653534e-08  2.800766e-05
+-2.880000e-02  6.455972e-03 -2.259816e-01 -3.345177e-01 -5.148008e-07 -1.937963e-04
+-2.880000e-02  6.771032e-03 -2.261896e-01 -3.346735e-01  1.461384e-07  1.598496e-05
+-2.880000e-02  7.072068e-03 -2.263920e-01 -3.347960e-01  1.680576e-07 -1.301153e-04
+-2.880000e-02  7.360801e-03 -2.265882e-01 -3.349280e-01  1.593499e-07  8.346281e-05
+-2.880000e-02  7.638626e-03 -2.267784e-01 -3.350827e-01  2.015560e-07  3.525497e-05
+-2.880000e-02  7.906694e-03 -2.269627e-01 -3.352533e-01 -5.861046e-08  6.804914e-05
+-2.880000e-02  8.165966e-03 -2.271411e-01 -3.354276e-01 -3.596832e-08  1.538258e-05
+-2.880000e-02  8.417254e-03 -2.273137e-01 -3.355959e-01  3.127297e-08  1.840326e-06
+-2.880000e-02  8.661254e-03 -2.274804e-01 -3.357527e-01  1.064909e-08  1.358623e-05
+-2.880000e-02  8.898565e-03 -2.276414e-01 -3.358990e-01  7.576486e-08  4.014226e-05
+-2.880000e-02  9.129709e-03 -2.277968e-01 -3.360385e-01 -4.582688e-08  2.272888e-05
+-2.880000e-02  9.355143e-03 -2.279467e-01 -3.361734e-01 -1.088519e-07 -4.164052e-06
+-2.880000e-02  9.575271e-03 -2.280909e-01 -3.363046e-01 -3.366443e-08 -6.186077e-06
+-2.880000e-02  9.790450e-03 -2.282297e-01 -3.364310e-01 -6.370536e-09 -9.438796e-06
+-2.880000e-02  1.000100e-02 -2.283630e-01 -3.365512e-01  2.941194e-08 -1.834845e-06
+-2.880000e-02  1.020721e-02 -2.284909e-01 -3.366640e-01 -3.322020e-08  4.334138e-06
+-2.880000e-02  1.040933e-02 -2.286135e-01 -3.367696e-01  9.326929e-08  1.026290e-06
+-2.880000e-02  1.060760e-02 -2.287308e-01 -3.368683e-01  6.382021e-08 -3.129633e-06
+-2.880000e-02  1.080223e-02 -2.288429e-01 -3.369606e-01 -4.621700e-08 -7.638178e-06
+-2.880000e-02  1.099342e-02 -2.289499e-01 -3.370470e-01  7.607180e-09 -1.380296e-05
+-2.880000e-02  1.118134e-02 -2.290517e-01 -3.371276e-01  5.114961e-08 -1.458366e-05
+-2.880000e-02  1.136615e-02 -2.291484e-01 -3.372029e-01  1.096121e-08 -8.795255e-06
+-2.880000e-02  1.154801e-02 -2.292401e-01 -3.372728e-01  3.819725e-08 -2.649704e-06
+-2.880000e-02  1.172704e-02 -2.293268e-01 -3.373373e-01  4.050555e-08  7.849981e-07
+-2.880000e-02  1.190338e-02 -2.294085e-01 -3.373963e-01 -1.231867e-08  1.021225e-06
+-2.880000e-02  1.207715e-02 -2.294853e-01 -3.374499e-01  1.479241e-08  3.809305e-07
+-2.880000e-02  1.224845e-02 -2.295572e-01 -3.374980e-01  1.180677e-07  1.812966e-07
+-2.880000e-02  1.241739e-02 -2.296244e-01 -3.375405e-01  1.934556e-07  6.274615e-08
+-2.880000e-02  1.258406e-02 -2.296867e-01 -3.375773e-01  1.658861e-07 -7.486194e-08
+-2.880000e-02  1.274855e-02 -2.297444e-01 -2.297444e-01  6.945662e-08 -1.400695e-07
+-2.880000e-02  1.291094e-02 -2.297973e-01 -2.297973e-01 -6.844342e-09 -1.256322e-07
+-2.880000e-02  1.307132e-02 -2.298456e-01 -2.298456e-01 -6.371112e-09 -7.125805e-08
+-2.880000e-02  1.322976e-02 -2.298893e-01 -2.298893e-01  1.011687e-08 -8.314737e-08
+-2.880000e-02  1.338632e-02 -2.299284e-01 -2.299284e-01  5.431011e-08 -2.964053e-08
+-2.880000e-02  1.354106e-02 -2.299629e-01 -2.299630e-01  5.930945e-08 -1.694827e-07
+-2.880000e-02  1.369406e-02 -2.299930e-01 -2.299930e-01  4.796955e-08 -1.575136e-07
+-2.880000e-02  1.384537e-02 -2.300185e-01 -2.300186e-01  5.108584e-08 -1.100298e-07
+-2.880000e-02  1.399505e-02 -2.300397e-01 -2.300397e-01  3.889289e-08 -1.759634e-07
+-2.880000e-02  1.414314e-02 -2.300564e-01 -2.300564e-01  1.484369e-08 -2.249000e-07
+-2.880000e-02  1.428969e-02 -2.300687e-01 -2.300687e-01 -1.123316e-09 -1.935504e-07
+-2.880000e-02  1.443476e-02 -2.300767e-01 -2.300767e-01 -5.583394e-09 -1.188036e-07
+-2.880000e-02  1.457838e-02 -2.300804e-01 -2.300804e-01 -3.676393e-09 -2.919524e-08
+-2.880000e-02  1.472060e-02 -2.300799e-01 -2.300799e-01  7.762692e-10  7.665078e-08
+-2.880000e-02  1.486146e-02 -2.300751e-01 -2.300751e-01  6.369869e-09  2.035308e-07
+-2.880000e-02  1.500100e-02 -2.300660e-01 -2.300661e-01  1.222977e-08  3.345631e-07
+-2.880000e-02  1.513925e-02 -2.300528e-01 -2.300529e-01  1.804889e-08  4.140187e-07
+-2.880000e-02  1.527625e-02 -2.300354e-01 -2.300356e-01  2.389457e-08  3.422822e-07
+-2.880000e-02  1.541204e-02 -2.300139e-01 -2.300142e-01  3.042111e-08  3.128828e-08
+-2.880000e-02  1.554663e-02 -2.299883e-01 -2.299887e-01  4.068644e-08 -4.829436e-07
+-2.880000e-02  1.568007e-02 -2.299585e-01 -2.299591e-01  4.966162e-08 -9.945408e-07
+-2.880000e-02  1.581239e-02 -2.299247e-01 -2.299255e-01  2.114731e-08 -1.352934e-06
+-2.880000e-02  1.594361e-02 -2.298868e-01 -2.298878e-01 -7.123908e-08 -1.659135e-06
+-2.880000e-02  1.607375e-02 -2.298449e-01 -2.298461e-01 -3.795296e-08 -1.511169e-06
+-2.880000e-02  1.620285e-02 -2.297989e-01 -2.298003e-01  7.407926e-08 -3.533199e-07
+-2.880000e-02  1.633093e-02 -2.297489e-01 -2.297504e-01  6.633325e-08  3.387145e-08
+-2.880000e-02  1.645801e-02 -2.296949e-01 -2.296964e-01  2.221979e-07 -9.223610e-07
+-2.880000e-02  1.658412e-02 -2.296369e-01 -2.296384e-01  1.648585e-07 -2.119689e-06
+-2.880000e-02  1.670928e-02 -2.295748e-01 -2.295764e-01  3.377782e-08 -3.394769e-06
+-2.880000e-02  1.683351e-02 -2.295086e-01 -2.295102e-01 -3.572742e-08 -2.150477e-06
+-2.880000e-02  1.695682e-02 -2.294383e-01 -2.294398e-01 -2.005825e-08  2.176963e-07
+-2.880000e-02  1.707925e-02 -2.293638e-01 -2.293649e-01  8.912442e-08  4.242000e-07
+-2.880000e-02  1.720081e-02 -2.292851e-01 -2.292855e-01 -2.776784e-08 -1.002338e-06
+-2.880000e-02  1.732151e-02 -2.292019e-01 -2.292014e-01  2.844691e-07 -1.520497e-06
+-2.880000e-02  1.744137e-02 -2.291147e-01 -2.291138e-01  9.908832e-09  1.063170e-06
+-2.880000e-02  1.756042e-02 -2.290248e-01 -2.290238e-01 -2.019733e-06  1.682248e-06
+-2.880000e-02  1.767867e-02 -2.289267e-01 -2.289254e-01 -3.264989e-08  7.187717e-07
+-2.880000e-02  1.779613e-02 -2.288247e-01 -2.288230e-01 -8.832095e-07 -9.999006e-07
+-2.880000e-02  1.791282e-02 -2.287157e-01 -2.287140e-01 -1.204982e-06  1.837470e-06
+-2.880000e-02  1.802876e-02 -2.285950e-01 -2.285938e-01  2.587375e-07  1.530807e-06
+-2.880000e-02  1.814395e-02 -2.284628e-01 -2.284626e-01  1.979674e-05  1.982308e-05
+-2.880000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.837217e-02 -2.282264e-01 -2.282264e-01  4.630155e-05  4.614037e-05
+-2.880000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.880000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.000000e-06 -3.272562e-01 -3.272556e-01 -7.829378e-07  8.742911e-07
+-2.640000e-02  2.042241e-03 -2.204253e-01 -3.275420e-01 -2.005479e-08  3.314064e-07
+-2.640000e-02  2.887751e-03 -2.207502e-01 -3.278115e-01  2.839943e-08  1.956871e-07
+-2.640000e-02  3.536534e-03 -2.210659e-01 -3.280722e-01  1.241512e-07  4.174448e-06
+-2.640000e-02  4.083483e-03 -2.213753e-01 -3.283277e-01 -2.735745e-06  2.401241e-06
+-2.640000e-02  4.565355e-03 -2.216764e-01 -3.285789e-01 -2.330139e-06 -4.318655e-06
+-2.640000e-02  5.001000e-03 -2.219680e-01 -3.288301e-01 -1.188209e-06 -1.257027e-05
+-2.640000e-02  5.401617e-03 -2.222533e-01 -3.290654e-01 -4.336118e-06 -1.187220e-05
+-2.640000e-02  5.774503e-03 -2.225658e-01 -3.294465e-01 -1.624303e-05 -5.087973e-05
+-2.640000e-02  6.124724e-03 -2.228436e-01 -3.296744e-01 -1.036042e-04 -3.977387e-04
+-2.640000e-02  6.455972e-03 -2.229549e-01 -3.293369e-01 -1.275235e-05 -7.006733e-05
+-2.640000e-02  6.771032e-03 -2.231656e-01 -2.231706e-01  1.355904e-05  7.083288e-06
+-2.640000e-02  7.072068e-03 -2.237987e-01 -3.303074e-01 -1.671269e-04  4.097700e-04
+-2.640000e-02  7.360801e-03 -2.240566e-01 -3.302036e-01 -1.295010e-04  5.421615e-04
+-2.640000e-02  7.638626e-03 -2.242097e-01 -3.306304e-01 -2.516367e-05  1.705470e-04
+-2.640000e-02  7.906694e-03 -2.244168e-01 -3.308767e-01  5.419757e-07 -4.631625e-06
+-2.640000e-02  8.165966e-03 -2.246372e-01 -3.310030e-01 -5.887709e-07 -5.089212e-06
+-2.640000e-02  8.417254e-03 -2.248513e-01 -3.311955e-01 -2.403495e-07 -6.400478e-05
+-2.640000e-02  8.661254e-03 -2.250620e-01 -3.313666e-01 -1.557183e-06 -5.608887e-05
+-2.640000e-02  8.898565e-03 -2.252681e-01 -3.315486e-01  1.005625e-07 -9.639977e-05
+-2.640000e-02  9.129709e-03 -2.254697e-01 -3.317191e-01  3.687837e-08 -1.439199e-06
+-2.640000e-02  9.355143e-03 -2.256663e-01 -3.318562e-01  8.373979e-09 -7.410582e-05
+-2.640000e-02  9.575271e-03 -2.258576e-01 -3.319781e-01 -1.008805e-07 -1.056153e-04
+-2.640000e-02  9.790450e-03 -2.260438e-01 -3.320829e-01  3.049227e-08  7.951814e-05
+-2.640000e-02  1.000100e-02 -2.262246e-01 -3.321741e-01 -4.144668e-07 -5.544222e-05
+-2.640000e-02  1.020721e-02 -2.263996e-01 -3.322603e-01  3.256382e-07  1.142146e-04
+-2.640000e-02  1.040933e-02 -2.265689e-01 -3.323423e-01 -1.160318e-07  2.342910e-04
+-2.640000e-02  1.060760e-02 -2.267326e-01 -3.324292e-01  2.419880e-06  1.596792e-04
+-2.640000e-02  1.080223e-02 -2.268909e-01 -3.325392e-01  2.434117e-07  4.325547e-05
+-2.640000e-02  1.099342e-02 -2.270443e-01 -2.270429e-01  5.122505e-06  1.059385e-01
+-2.640000e-02  1.118134e-02 -2.271931e-01 -2.271921e-01 -9.234354e-07  9.265531e-07
+-2.640000e-02  1.136615e-02 -2.273374e-01 -2.273366e-01  2.875606e-06  4.390558e-06
+-2.640000e-02  1.154801e-02 -2.274769e-01 -2.274765e-01  6.086097e-08  5.927750e-07
+-2.640000e-02  1.172704e-02 -2.276117e-01 -3.333177e-01 -9.528061e-06 -1.057154e-01
+-2.640000e-02  1.190338e-02 -2.277413e-01 -3.333963e-01 -2.277413e-01 -3.333963e-01
+-2.640000e-02  1.207715e-02 -2.278657e-01 -3.334514e-01 -2.278657e-01 -3.334514e-01
+-2.640000e-02  1.224845e-02 -2.279846e-01 -3.334920e-01 -2.279846e-01 -3.334920e-01
+-2.640000e-02  1.241739e-02 -2.280982e-01 -3.335238e-01 -2.280982e-01 -3.335238e-01
+-2.640000e-02  1.258406e-02 -2.282064e-01 -3.335509e-01 -2.282064e-01 -3.335509e-01
+-2.640000e-02  1.274855e-02 -2.283094e-01 -3.335757e-01 -2.283094e-01 -3.335757e-01
+-2.640000e-02  1.291094e-02 -2.284073e-01 -2.284074e-01 -1.864666e-06 -1.590276e-06
+-2.640000e-02  1.307132e-02 -2.285002e-01 -2.285002e-01 -6.078295e-07 -4.934752e-07
+-2.640000e-02  1.322976e-02 -2.285881e-01 -2.285881e-01  1.468527e-06  1.050051e-01
+-2.640000e-02  1.338632e-02 -2.286713e-01 -2.286712e-01  1.455846e-06  1.049519e-01
+-2.640000e-02  1.354106e-02 -2.287497e-01 -2.287495e-01  6.516318e-07 -2.487425e-07
+-2.640000e-02  1.369406e-02 -2.288233e-01 -2.288231e-01  4.604973e-08 -9.547281e-07
+-2.640000e-02  1.384537e-02 -2.288923e-01 -2.288921e-01 -1.454040e-07 -1.177999e-06
+-2.640000e-02  1.399505e-02 -2.289567e-01 -2.289564e-01 -3.415557e-08 -1.158104e-06
+-2.640000e-02  1.414314e-02 -2.290165e-01 -2.290160e-01  1.766882e-07 -7.976055e-07
+-2.640000e-02  1.428969e-02 -2.290716e-01 -2.290712e-01  3.264047e-07 -6.704188e-07
+-2.640000e-02  1.443476e-02 -2.291222e-01 -2.291218e-01  5.213329e-07 -4.634684e-07
+-2.640000e-02  1.457838e-02 -2.291682e-01 -2.291679e-01  3.462415e-07 -5.945877e-07
+-2.640000e-02  1.472060e-02 -2.292098e-01 -2.292095e-01  4.058600e-08 -7.624832e-07
+-2.640000e-02  1.486146e-02 -2.292468e-01 -2.292466e-01 -6.715736e-07 -1.258260e-06
+-2.640000e-02  1.500100e-02 -2.292795e-01 -2.292792e-01 -1.454956e-06 -1.857898e-06
+-2.640000e-02  1.513925e-02 -2.293077e-01 -2.293075e-01 -1.007111e-06 -1.016593e-06
+-2.640000e-02  1.527625e-02 -2.293316e-01 -2.293315e-01  1.726463e-06  1.978850e-06
+-2.640000e-02  1.541204e-02 -2.293512e-01 -2.293512e-01 -3.013680e-06 -2.839100e-06
+-2.640000e-02  1.554663e-02 -2.293666e-01 -2.293667e-01 -2.293666e-01 -2.293667e-01
+-2.640000e-02  1.568007e-02 -2.293779e-01 -2.293781e-01 -2.293779e-01 -2.293781e-01
+-2.640000e-02  1.581239e-02 -2.293852e-01 -2.293854e-01 -2.293852e-01 -2.293854e-01
+-2.640000e-02  1.594361e-02 -2.293885e-01 -2.293888e-01 -2.293885e-01 -2.293888e-01
+-2.640000e-02  1.607375e-02 -2.293878e-01 -2.293880e-01 -2.293878e-01 -2.293880e-01
+-2.640000e-02  1.620285e-02 -2.293831e-01 -2.293831e-01 -2.685231e-07 -2.046559e-07
+-2.640000e-02  1.633093e-02 -2.293740e-01 -2.293739e-01  4.780355e-06  4.810976e-06
+-2.640000e-02  1.645801e-02 -2.293605e-01 -2.293602e-01 -3.710993e-06 -3.074707e-06
+-2.640000e-02  1.658412e-02 -2.293421e-01 -2.293416e-01  1.455214e-06  2.755715e-06
+-2.640000e-02  1.670928e-02 -2.293188e-01 -2.293180e-01 -3.768617e-06 -2.825120e-06
+-2.640000e-02  1.683351e-02 -2.292906e-01 -2.292896e-01 -2.217422e-07 -1.075945e-07
+-2.640000e-02  1.695682e-02 -2.292579e-01 -2.292567e-01 -2.104128e-06 -1.757253e-06
+-2.640000e-02  1.707925e-02 -2.292211e-01 -2.292196e-01  1.926586e-06  3.174843e-06
+-2.640000e-02  1.720081e-02 -2.291799e-01 -2.291783e-01 -4.707633e-07  2.459764e-06
+-2.640000e-02  1.732151e-02 -2.291344e-01 -2.291326e-01  4.214037e-07  3.774769e-06
+-2.640000e-02  1.744137e-02 -2.290843e-01 -2.290826e-01  1.012301e-07  5.710283e-07
+-2.640000e-02  1.756042e-02 -2.290295e-01 -2.290282e-01  7.166707e-08 -6.745210e-07
+-2.640000e-02  1.767867e-02 -2.289698e-01 -2.289690e-01 -4.876082e-08  1.451588e-06
+-2.640000e-02  1.779613e-02 -2.289049e-01 -2.289049e-01  1.499692e-07  2.373108e-06
+-2.640000e-02  1.791282e-02 -2.288345e-01 -2.288352e-01 -6.114181e-08 -1.705325e-06
+-2.640000e-02  1.802876e-02 -2.287581e-01 -2.287592e-01  2.494339e-07 -2.529716e-06
+-2.640000e-02  1.814395e-02 -2.286754e-01 -2.286764e-01  5.539986e-08  8.113927e-07
+-2.640000e-02  1.825842e-02 -2.285855e-01 -2.285862e-01  1.010033e-07 -5.018650e-07
+-2.640000e-02  1.837217e-02 -2.284872e-01 -2.284877e-01 -2.201332e-07 -2.431802e-06
+-2.640000e-02  1.848523e-02 -2.283792e-01 -2.283799e-01 -8.200778e-07 -9.448391e-09
+-2.640000e-02  1.859759e-02 -2.282550e-01 -2.282558e-01  1.391044e-06  6.471765e-07
+-2.640000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.640000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.000000e-06 -3.227280e-01 -3.227281e-01 -7.171555e-08 -2.580141e-07
+-2.400000e-02  2.042241e-03 -2.172468e-01 -3.230333e-01 -4.345904e-09 -5.798829e-08
+-2.400000e-02  2.887751e-03 -2.176280e-01 -3.233213e-01  1.573839e-08  1.761985e-07
+-2.400000e-02  3.536534e-03 -2.180002e-01 -3.236015e-01  6.645373e-08  4.960384e-07
+-2.400000e-02  4.083483e-03 -2.183643e-01 -3.238759e-01  4.572191e-08 -1.019482e-06
+-2.400000e-02  4.565355e-03 -2.187206e-01 -3.241438e-01 -8.240066e-09 -1.697322e-06
+-2.400000e-02  5.001000e-03 -2.190692e-01 -3.244042e-01  6.598891e-08 -4.312062e-07
+-2.400000e-02  5.401617e-03 -2.194106e-01 -3.246609e-01  1.224755e-08 -6.296892e-07
+-2.400000e-02  5.774503e-03 -2.197447e-01 -3.249118e-01  3.560021e-08  2.822757e-07
+-2.400000e-02  6.124724e-03 -2.200720e-01 -3.251524e-01  4.224735e-08  4.616130e-06
+-2.400000e-02  6.455972e-03 -2.203923e-01 -3.253906e-01  1.567394e-07  5.513240e-06
+-2.400000e-02  6.771032e-03 -2.207063e-01 -3.256304e-01  4.473668e-07 -7.854820e-07
+-2.400000e-02  7.072068e-03 -2.210115e-01 -3.258638e-01 -2.586710e-06 -7.869795e-06
+-2.400000e-02  7.360801e-03 -2.213156e-01 -3.260914e-01 -1.875215e-06 -5.667003e-07
+-2.400000e-02  7.638626e-03 -2.216152e-01 -3.263181e-01 -6.885781e-06  1.559781e-06
+-2.400000e-02  7.906694e-03 -2.219049e-01 -3.265480e-01 -1.829379e-06 -6.715538e-07
+-2.400000e-02  8.165966e-03 -2.221978e-01 -3.267823e-01  5.541752e-05  4.677803e-05
+-2.400000e-02  8.417254e-03 -2.224732e-01 -3.270206e-01  3.123877e-06  1.278947e-05
+-2.400000e-02  8.661254e-03 -2.227662e-01 -3.272774e-01  9.590245e-06  4.172199e-05
+-2.400000e-02  8.898565e-03 -2.232609e-01 -3.284667e-01 -2.104698e-05 -1.651044e-04
+-2.400000e-02  9.129709e-03 -2.243278e-01 -3.283912e-01 -9.889189e-04 -1.160832e-03
+-2.400000e-02  9.355143e-03 -2.245127e-01 -3.281987e-01 -1.603496e-04  6.651343e-07
+-2.400000e-02  9.575271e-03 -2.246318e-01 -3.280741e-01  4.513875e-05 -1.173989e-05
+-2.400000e-02  9.790450e-03 -2.247212e-01 -3.279792e-01 -5.508953e-04  1.695934e-03
+-2.400000e-02  1.000100e-02 -2.247486e-01 -3.280314e-01 -2.440770e-06  1.295554e-05
+-2.400000e-02  1.020721e-02 -2.247892e-01 -3.286641e-01 -1.115613e-04  5.390709e-04
+-2.400000e-02  1.040933e-02 -2.249087e-01 -3.289835e-01  3.861849e-05 -3.306348e-04
+-2.400000e-02  1.060760e-02 -2.250834e-01 -3.289897e-01  8.625255e-06 -6.924584e-05
+-2.400000e-02  1.080223e-02 -2.252640e-01 -3.289792e-01  2.718542e-07 -2.396379e-06
+-2.400000e-02  1.099342e-02 -2.254378e-01 -3.290708e-01  1.031368e-06 -1.483869e-05
+-2.400000e-02  1.118134e-02 -2.256130e-01 -3.291761e-01  3.522429e-08  1.647192e-06
+-2.400000e-02  1.136615e-02 -2.257893e-01 -3.292463e-01  1.172694e-07  4.835362e-06
+-2.400000e-02  1.154801e-02 -2.259628e-01 -3.293362e-01 -2.403324e-07  1.703716e-05
+-2.400000e-02  1.172704e-02 -2.261333e-01 -3.294389e-01 -9.828881e-08  8.742921e-06
+-2.400000e-02  1.190338e-02 -2.263007e-01 -3.295243e-01  2.843805e-08 -3.500895e-06
+-2.400000e-02  1.207715e-02 -2.264641e-01 -3.296072e-01 -6.839333e-08  5.132550e-06
+-2.400000e-02  1.224845e-02 -2.266233e-01 -3.296960e-01  1.669368e-07 -4.805322e-06
+-2.400000e-02  1.241739e-02 -2.267783e-01 -2.267785e-01  1.295735e-07  2.887075e-07
+-2.400000e-02  1.258406e-02 -2.269289e-01 -2.269294e-01  3.348539e-07  9.238269e-07
+-2.400000e-02  1.274855e-02 -2.270750e-01 -2.270755e-01  1.682841e-08  1.008858e-06
+-2.400000e-02  1.291094e-02 -2.272162e-01 -2.272168e-01 -3.574600e-08  5.991550e-07
+-2.400000e-02  1.307132e-02 -2.273527e-01 -3.300593e-01 -4.987088e-08  1.874506e-05
+-2.400000e-02  1.322976e-02 -2.274844e-01 -3.301177e-01 -7.206385e-08  1.977327e-05
+-2.400000e-02  1.338632e-02 -2.276115e-01 -2.276127e-01  5.136749e-09 -1.715292e-06
+-2.400000e-02  1.354106e-02 -2.277337e-01 -2.277351e-01  6.179792e-08 -2.666565e-06
+-2.400000e-02  1.369406e-02 -2.278513e-01 -2.278528e-01 -7.709106e-08 -3.195469e-06
+-2.400000e-02  1.384537e-02 -2.279641e-01 -2.279657e-01 -6.732662e-08 -3.633270e-06
+-2.400000e-02  1.399505e-02 -2.280721e-01 -2.280738e-01 -5.070667e-08 -3.713888e-06
+-2.400000e-02  1.414314e-02 -2.281755e-01 -2.281772e-01 -7.259534e-08 -3.658247e-06
+-2.400000e-02  1.428969e-02 -2.282741e-01 -2.282758e-01 -6.225905e-08 -3.530985e-06
+-2.400000e-02  1.443476e-02 -2.283680e-01 -2.283697e-01 -4.475879e-08 -3.556549e-06
+-2.400000e-02  1.457838e-02 -2.284572e-01 -2.284591e-01 -1.058368e-07 -3.408705e-06
+-2.400000e-02  1.472060e-02 -2.285418e-01 -2.285436e-01 -6.751871e-08 -3.322501e-06
+-2.400000e-02  1.486146e-02 -2.286218e-01 -2.286236e-01  7.549780e-08 -3.271805e-06
+-2.400000e-02  1.500100e-02 -2.286972e-01 -2.286989e-01  1.009499e-07 -3.265655e-06
+-2.400000e-02  1.513925e-02 -2.287680e-01 -2.287698e-01  1.601230e-09 -3.325273e-06
+-2.400000e-02  1.527625e-02 -2.288343e-01 -2.288359e-01 -6.633041e-08 -3.312582e-06
+-2.400000e-02  1.541204e-02 -2.288960e-01 -2.288975e-01 -7.806113e-08 -3.182639e-06
+-2.400000e-02  1.554663e-02 -2.289532e-01 -2.289547e-01 -2.660930e-08 -3.280635e-06
+-2.400000e-02  1.568007e-02 -2.290059e-01 -2.290073e-01  2.779012e-08 -2.997395e-06
+-2.400000e-02  1.581239e-02 -2.290541e-01 -2.290555e-01 -2.145326e-08 -2.841082e-06
+-2.400000e-02  1.594361e-02 -2.290978e-01 -2.290991e-01 -5.223332e-09 -2.124073e-06
+-2.400000e-02  1.607375e-02 -2.291371e-01 -2.291381e-01 -6.671156e-08 -1.414773e-06
+-2.400000e-02  1.620285e-02 -2.291719e-01 -2.291728e-01 -2.246138e-08 -4.015188e-07
+-2.400000e-02  1.633093e-02 -2.292023e-01 -2.292029e-01 -1.099198e-08  2.020626e-07
+-2.400000e-02  1.645801e-02 -2.292282e-01 -2.292287e-01  2.640475e-08  6.980178e-07
+-2.400000e-02  1.658412e-02 -2.292497e-01 -2.292500e-01  6.136913e-08  6.331218e-07
+-2.400000e-02  1.670928e-02 -2.292667e-01 -2.292669e-01  3.834882e-08  1.644250e-07
+-2.400000e-02  1.683351e-02 -2.292793e-01 -2.292794e-01  2.868906e-08 -3.526186e-07
+-2.400000e-02  1.695682e-02 -2.292874e-01 -2.292874e-01  2.348219e-08 -6.191908e-07
+-2.400000e-02  1.707925e-02 -2.292911e-01 -2.292909e-01  8.297857e-09 -4.264137e-07
+-2.400000e-02  1.720081e-02 -2.292902e-01 -2.292900e-01  1.937140e-08  1.023155e-07
+-2.400000e-02  1.732151e-02 -2.292847e-01 -2.292845e-01  5.326347e-08  5.293032e-07
+-2.400000e-02  1.744137e-02 -2.292746e-01 -2.292744e-01  1.140756e-08  4.381884e-07
+-2.400000e-02  1.756042e-02 -2.292597e-01 -2.292595e-01  2.043428e-08  1.243424e-07
+-2.400000e-02  1.767867e-02 -2.292398e-01 -2.292398e-01  1.802002e-08  2.147516e-08
+-2.400000e-02  1.779613e-02 -2.292149e-01 -2.292149e-01  1.582606e-07  1.572240e-07
+-2.400000e-02  1.791282e-02 -2.291848e-01 -2.291849e-01 -4.531438e-08 -1.805539e-07
+-2.400000e-02  1.802876e-02 -2.291498e-01 -2.291499e-01 -3.106503e-06 -3.305344e-06
+-2.400000e-02  1.814395e-02 -2.291096e-01 -2.291097e-01  2.865467e-06  2.819867e-06
+-2.400000e-02  1.825842e-02 -2.290622e-01 -2.290623e-01 -9.721602e-07 -9.350781e-07
+-2.400000e-02  1.837217e-02 -2.290069e-01 -2.290070e-01  1.831925e-07 -4.537896e-08
+-2.400000e-02  1.848523e-02 -2.289443e-01 -2.289443e-01 -3.421196e-08 -2.100030e-08
+-2.400000e-02  1.859759e-02 -2.288723e-01 -2.288720e-01  2.152411e-07  5.991010e-07
+-2.400000e-02  1.870929e-02 -2.287902e-01 -2.287899e-01 -2.919308e-06 -2.595317e-06
+-2.400000e-02  1.882032e-02 -2.286897e-01 -2.286895e-01  1.558715e-07  3.458357e-07
+-2.400000e-02  1.893069e-02 -2.285661e-01 -2.285664e-01  3.562991e-06  2.327842e-06
+-2.400000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  1.000000e-06 -3.185757e-01 -3.185757e-01  3.988442e-08  4.861364e-09
+-2.160000e-02  2.042241e-03 -2.142643e-01 -3.188969e-01  1.875327e-08 -8.129387e-08
+-2.160000e-02  2.887751e-03 -2.147007e-01 -3.192006e-01  4.447248e-09 -3.565172e-08
+-2.160000e-02  3.536534e-03 -2.151277e-01 -3.194967e-01  3.788072e-08  3.471844e-08
+-2.160000e-02  4.083483e-03 -2.155462e-01 -3.197863e-01  4.891852e-09  4.387295e-08
+-2.160000e-02  4.565355e-03 -2.159566e-01 -3.200697e-01  1.459462e-08 -1.415953e-08
+-2.160000e-02  5.001000e-03 -2.163593e-01 -3.203475e-01  1.199726e-08  3.528043e-08
+-2.160000e-02  5.401617e-03 -2.167544e-01 -3.206191e-01  8.109681e-09  2.567826e-07
+-2.160000e-02  5.774503e-03 -2.171420e-01 -3.208858e-01  3.720064e-08 -1.142652e-06
+-2.160000e-02  6.124724e-03 -2.175225e-01 -3.211497e-01 -1.016258e-08 -4.197418e-06
+-2.160000e-02  6.455972e-03 -2.178958e-01 -3.214048e-01 -1.574872e-08 -1.500086e-06
+-2.160000e-02  6.771032e-03 -2.182621e-01 -3.216539e-01 -1.756490e-09  1.090878e-06
+-2.160000e-02  7.072068e-03 -2.186217e-01 -3.219025e-01  1.334561e-08 -4.343628e-06
+-2.160000e-02  7.360801e-03 -2.189745e-01 -3.221395e-01  7.236520e-08 -3.441749e-06
+-2.160000e-02  7.638626e-03 -2.193209e-01 -3.223714e-01  2.454753e-08  5.512894e-08
+-2.160000e-02  7.906694e-03 -2.196607e-01 -3.226093e-01  1.693965e-07 -4.312126e-06
+-2.160000e-02  8.165966e-03 -2.199948e-01 -3.228408e-01  6.900832e-08 -4.898525e-06
+-2.160000e-02  8.417254e-03 -2.203218e-01 -3.230603e-01  1.735342e-06  2.495983e-06
+-2.160000e-02  8.661254e-03 -2.206413e-01 -3.232811e-01  3.063882e-06 -3.596934e-07
+-2.160000e-02  8.898565e-03 -2.209591e-01 -3.234994e-01  2.373684e-06 -1.332005e-06
+-2.160000e-02  9.129709e-03 -2.212726e-01 -3.237144e-01  1.573501e-06 -1.026613e-07
+-2.160000e-02  9.355143e-03 -2.215855e-01 -3.239314e-01 -6.540374e-06 -1.174840e-06
+-2.160000e-02  9.575271e-03 -2.218914e-01 -3.241491e-01 -4.877212e-06  1.869536e-06
+-2.160000e-02  9.790450e-03 -2.222150e-01 -3.243922e-01 -3.492859e-05 -2.828699e-05
+-2.160000e-02  1.000100e-02 -2.224333e-01 -3.245453e-01  1.070963e-06  2.337378e-06
+-2.160000e-02  1.020721e-02 -2.227700e-01 -3.248384e-01 -6.815320e-07 -2.686195e-06
+-2.160000e-02  1.040933e-02 -2.230826e-01 -2.230935e-01  8.678438e-06  7.862898e-06
+-2.160000e-02  1.060760e-02 -2.234769e-01 -3.254981e-01  1.019581e-06 -2.276603e-05
+-2.160000e-02  1.080223e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  1.099342e-02 -2.254793e-01 -3.260447e-01 -1.227140e-03 -9.250558e-04
+-2.160000e-02  1.118134e-02 -2.253894e-01 -3.258040e-01 -1.900984e-04 -2.547608e-04
+-2.160000e-02  1.136615e-02 -2.253350e-01 -3.254525e-01  5.192140e-05  1.299253e-04
+-2.160000e-02  1.154801e-02 -2.253239e-01 -3.247213e-01 -2.457300e-04 -6.564454e-04
+-2.160000e-02  1.172704e-02 -2.253672e-01 -3.239361e-01 -4.498125e-05 -1.423736e-04
+-2.160000e-02  1.190338e-02 -2.254666e-01 -3.272379e-01  1.107291e-04 -1.250986e-03
+-2.160000e-02  1.207715e-02 -2.256061e-01 -3.229698e-01 -4.153437e-06 -1.253359e-05
+-2.160000e-02  1.224845e-02 -2.257623e-01 -3.226148e-01  1.905574e-05  4.255007e-03
+-2.160000e-02  1.241739e-02 -2.259164e-01 -3.268975e-01 -1.470612e-07  7.333282e-07
+-2.160000e-02  1.258406e-02 -2.260636e-01 -3.268706e-01 -6.264530e-06  7.574578e-05
+-2.160000e-02  1.274855e-02 -2.262112e-01 -3.269171e-01  5.714312e-06 -8.460183e-05
+-2.160000e-02  1.291094e-02 -2.263646e-01 -3.269448e-01  5.002490e-07 -7.390429e-06
+-2.160000e-02  1.307132e-02 -2.265213e-01 -2.265214e-01  1.914232e-07 -4.408965e-08
+-2.160000e-02  1.322976e-02 -2.266774e-01 -2.266770e-01 -5.662578e-07 -6.194173e-07
+-2.160000e-02  1.338632e-02 -2.268318e-01 -2.268312e-01  7.520388e-07  1.359267e-06
+-2.160000e-02  1.354106e-02 -2.269849e-01 -2.269848e-01  2.900714e-07  8.877109e-07
+-2.160000e-02  1.369406e-02 -2.271363e-01 -2.271361e-01  4.337095e-08  6.066501e-08
+-2.160000e-02  1.384537e-02 -2.272843e-01 -2.272840e-01 -7.690358e-08  3.058206e-07
+-2.160000e-02  1.399505e-02 -2.274289e-01 -2.274285e-01  1.231989e-07  7.886247e-07
+-2.160000e-02  1.414314e-02 -2.275701e-01 -2.275700e-01  2.298166e-08  5.716669e-07
+-2.160000e-02  1.428969e-02 -2.277075e-01 -2.277074e-01  1.604953e-07  1.667439e-07
+-2.160000e-02  1.443476e-02 -2.278408e-01 -2.278407e-01  3.660406e-09  1.516822e-07
+-2.160000e-02  1.457838e-02 -2.279700e-01 -2.279699e-01  2.834633e-08  4.519818e-07
+-2.160000e-02  1.472060e-02 -2.280950e-01 -2.280948e-01  1.195063e-08  1.774743e-07
+-2.160000e-02  1.486146e-02 -2.282157e-01 -2.282155e-01  1.639980e-08  3.422057e-07
+-2.160000e-02  1.500100e-02 -2.283319e-01 -2.283318e-01  4.074501e-08  1.181864e-07
+-2.160000e-02  1.513925e-02 -2.284437e-01 -2.284437e-01 -1.311821e-08  1.142328e-07
+-2.160000e-02  1.527625e-02 -2.285511e-01 -2.285510e-01  6.113392e-08  3.832655e-07
+-2.160000e-02  1.541204e-02 -2.286540e-01 -2.286539e-01  2.013299e-07  1.837426e-07
+-2.160000e-02  1.554663e-02 -2.287524e-01 -2.287524e-01  1.007656e-07  6.225432e-08
+-2.160000e-02  1.568007e-02 -2.288465e-01 -2.288464e-01 -1.431429e-08  1.656136e-07
+-2.160000e-02  1.581239e-02 -2.289360e-01 -2.289359e-01  1.779341e-08  1.262738e-07
+-2.160000e-02  1.594361e-02 -2.290210e-01 -2.290209e-01  5.732933e-08  1.364973e-07
+-2.160000e-02  1.607375e-02 -2.291015e-01 -2.291014e-01  1.216691e-08  1.418902e-07
+-2.160000e-02  1.620285e-02 -2.291775e-01 -2.291774e-01  2.464609e-11  1.967113e-07
+-2.160000e-02  1.633093e-02 -2.292491e-01 -2.292490e-01  3.197267e-08  2.778819e-07
+-2.160000e-02  1.645801e-02 -2.293162e-01 -2.293161e-01  1.787797e-08  2.411959e-07
+-2.160000e-02  1.658412e-02 -2.293788e-01 -2.293787e-01  5.497246e-09  1.977737e-07
+-2.160000e-02  1.670928e-02 -2.294370e-01 -2.294369e-01 -2.456874e-08  1.095902e-07
+-2.160000e-02  1.683351e-02 -2.294909e-01 -2.294908e-01 -1.220507e-07 -4.759582e-08
+-2.160000e-02  1.695682e-02 -2.295402e-01 -2.295402e-01 -2.615283e-07 -2.383713e-07
+-2.160000e-02  1.707925e-02 -2.295850e-01 -2.295850e-01  6.030210e-07  5.642735e-07
+-2.160000e-02  1.720081e-02 -2.296251e-01 -2.296251e-01 -2.043278e-10 -1.040568e-07
+-2.160000e-02  1.732151e-02 -2.296608e-01 -2.296609e-01 -1.616299e-08 -1.493826e-07
+-2.160000e-02  1.744137e-02 -2.296920e-01 -2.296921e-01  2.411226e-07  7.393438e-08
+-2.160000e-02  1.756042e-02 -2.297188e-01 -2.297188e-01  1.047571e-07 -7.817183e-08
+-2.160000e-02  1.767867e-02 -2.297410e-01 -2.297410e-01  1.215602e-07 -4.271393e-08
+-2.160000e-02  1.779613e-02 -2.297585e-01 -2.297586e-01  2.037870e-07  7.667855e-08
+-2.160000e-02  1.791282e-02 -2.297714e-01 -2.297715e-01  2.183260e-07  2.005103e-07
+-2.160000e-02  1.802876e-02 -2.297795e-01 -2.297796e-01  2.750436e-07  2.329730e-07
+-2.160000e-02  1.814395e-02 -2.297826e-01 -2.297827e-01  3.385815e-07  2.892025e-07
+-2.160000e-02  1.825842e-02 -2.297806e-01 -2.297807e-01  7.825672e-08  3.900151e-08
+-2.160000e-02  1.837217e-02 -2.297734e-01 -2.297735e-01  4.839894e-07  3.202985e-07
+-2.160000e-02  1.848523e-02 -2.297609e-01 -2.297610e-01 -2.184327e-07 -8.382239e-08
+-2.160000e-02  1.859759e-02 -2.297435e-01 -2.297435e-01  7.536495e-07  6.330810e-07
+-2.160000e-02  1.870929e-02 -2.297214e-01 -2.297214e-01 -1.537359e-05 -1.531495e-05
+-2.160000e-02  1.882032e-02 -2.296933e-01 -2.296934e-01  2.265158e-05  2.274289e-05
+-2.160000e-02  1.893069e-02 -2.296548e-01 -2.296548e-01 -2.046284e-06 -2.208063e-06
+-2.160000e-02  1.904043e-02 -2.296027e-01 -2.296028e-01 -6.706041e-07 -7.101402e-07
+-2.160000e-02  1.914954e-02 -2.295417e-01 -2.295418e-01  5.263208e-08 -1.755621e-08
+-2.160000e-02  1.925803e-02 -2.294656e-01 -2.294653e-01 -2.774617e-07  1.546224e-07
+-2.160000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.160000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.000000e-06 -3.148134e-01 -3.148136e-01  4.043828e-08 -4.834710e-09
+-1.920000e-02  2.042241e-03 -2.115003e-01 -3.151476e-01  6.982252e-09 -9.003244e-10
+-1.920000e-02  2.887751e-03 -2.119910e-01 -3.154639e-01  3.930505e-09  4.202118e-08
+-1.920000e-02  3.536534e-03 -2.124719e-01 -3.157729e-01  7.711399e-09  5.563120e-08
+-1.920000e-02  4.083483e-03 -2.129439e-01 -3.160757e-01  2.256583e-09 -1.344718e-07
+-1.920000e-02  4.565355e-03 -2.134077e-01 -3.163725e-01  5.090624e-09  1.005262e-08
+-1.920000e-02  5.001000e-03 -2.138634e-01 -3.166639e-01  5.305529e-09  2.720096e-09
+-1.920000e-02  5.401617e-03 -2.143113e-01 -3.169498e-01  2.389930e-09 -4.477734e-08
+-1.920000e-02  5.774503e-03 -2.147516e-01 -3.172304e-01  4.667734e-09 -3.532227e-08
+-1.920000e-02  6.124724e-03 -2.151844e-01 -3.175058e-01  2.316880e-08  1.110707e-07
+-1.920000e-02  6.455972e-03 -2.156099e-01 -3.177762e-01 -6.460190e-10  1.010224e-07
+-1.920000e-02  6.771032e-03 -2.160282e-01 -3.180405e-01  4.063094e-08  1.968499e-06
+-1.920000e-02  7.072068e-03 -2.164395e-01 -3.183039e-01  6.187100e-08  5.072797e-07
+-1.920000e-02  7.360801e-03 -2.168438e-01 -3.185609e-01  5.867720e-10 -5.202711e-06
+-1.920000e-02  7.638626e-03 -2.172412e-01 -3.188079e-01 -1.816730e-08 -7.481869e-07
+-1.920000e-02  7.906694e-03 -2.176319e-01 -3.190570e-01  1.280750e-08 -2.423534e-06
+-1.920000e-02  8.165966e-03 -2.180161e-01 -3.192940e-01  3.401891e-08 -3.350258e-06
+-1.920000e-02  8.417254e-03 -2.183937e-01 -3.195268e-01  5.573023e-08  1.087853e-06
+-1.920000e-02  8.661254e-03 -2.187650e-01 -3.197670e-01  7.087277e-09 -9.928556e-07
+-1.920000e-02  8.898565e-03 -2.191300e-01 -3.199961e-01 -7.579894e-09 -6.554422e-07
+-1.920000e-02  9.129709e-03 -2.194893e-01 -3.202191e-01 -1.104284e-07 -9.441495e-07
+-1.920000e-02  9.355143e-03 -2.198427e-01 -3.204402e-01  1.250038e-06  1.526287e-06
+-1.920000e-02  9.575271e-03 -2.201851e-01 -3.206543e-01 -6.814672e-07 -3.475980e-07
+-1.920000e-02  9.790450e-03 -2.205308e-01 -3.208705e-01  5.193855e-07 -1.891270e-06
+-1.920000e-02  1.000100e-02 -2.208681e-01 -2.208683e-01  1.162540e-07  1.245679e-06
+-1.920000e-02  1.020721e-02 -2.212019e-01 -2.212086e-01  2.889438e-06 -1.788197e-06
+-1.920000e-02  1.040933e-02 -2.215396e-01 -3.215040e-01 -1.959909e-06 -6.595260e-07
+-1.920000e-02  1.060760e-02 -2.218748e-01 -3.217225e-01 -9.199457e-06 -2.210170e-06
+-1.920000e-02  1.080223e-02 -2.222451e-01 -2.222450e-01  1.805198e-05  1.722712e-05
+-1.920000e-02  1.099342e-02 -2.223546e-01 -2.223512e-01  9.004303e-05  9.187700e-05
+-1.920000e-02  1.118134e-02 -2.227652e-01 -2.227632e-01 -4.968888e-07  5.743613e-07
+-1.920000e-02  1.136615e-02 -2.230774e-01 -2.230876e-01  7.943981e-05  9.952215e-02
+-1.920000e-02  1.154801e-02 -2.234508e-01 -3.228890e-01 -3.598308e-06 -1.274290e-05
+-1.920000e-02  1.172704e-02 -2.238570e-01 -3.233268e-01  2.037700e-05 -2.199456e-05
+-1.920000e-02  1.190338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.207715e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.224845e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.274855e-02 -2.260169e-01 -3.216418e-01  1.387869e-04  2.745929e-04
+-1.920000e-02  1.291094e-02 -2.261560e-01 -3.212724e-01 -3.496429e-06 -3.682029e-06
+-1.920000e-02  1.307132e-02 -2.263047e-01 -3.209228e-01  2.538559e-05  5.286063e-05
+-1.920000e-02  1.322976e-02 -2.264526e-01 -3.205837e-01  1.862681e-05  8.695934e-05
+-1.920000e-02  1.338632e-02 -2.265936e-01 -3.202367e-01 -2.192113e-08  2.317174e-07
+-1.920000e-02  1.354106e-02 -2.267281e-01 -3.198483e-01 -6.090152e-06 -4.704685e-05
+-1.920000e-02  1.369406e-02 -2.268621e-01 -3.247522e-01  2.234608e-06 -1.999478e-05
+-1.920000e-02  1.384537e-02 -2.270029e-01 -3.247415e-01  3.207380e-06 -3.684832e-05
+-1.920000e-02  1.399505e-02 -2.271514e-01 -3.247047e-01  2.672603e-06 -4.176715e-05
+-1.920000e-02  1.414314e-02 -2.273038e-01 -3.246628e-01  1.569693e-07 -1.221631e-06
+-1.920000e-02  1.428969e-02 -2.274566e-01 -3.246534e-01 -8.013951e-07  2.554630e-05
+-1.920000e-02  1.443476e-02 -2.276098e-01 -3.246772e-01  1.309833e-06 -3.578796e-05
+-1.920000e-02  1.457838e-02 -2.277634e-01 -2.277632e-01  2.569831e-07  7.101189e-07
+-1.920000e-02  1.472060e-02 -2.279166e-01 -2.279167e-01  5.166456e-08 -4.013354e-08
+-1.920000e-02  1.486146e-02 -2.280681e-01 -2.280680e-01 -1.449594e-07 -1.840623e-07
+-1.920000e-02  1.500100e-02 -2.282170e-01 -2.282167e-01  2.273228e-07  5.893720e-07
+-1.920000e-02  1.513925e-02 -2.283632e-01 -2.283631e-01  2.478005e-08  1.447779e-07
+-1.920000e-02  1.527625e-02 -2.285065e-01 -2.285065e-01  3.596904e-08  4.629253e-08
+-1.920000e-02  1.541204e-02 -2.286463e-01 -2.286463e-01  1.525902e-07  4.151318e-08
+-1.920000e-02  1.554663e-02 -2.287825e-01 -2.287824e-01  1.355917e-08  2.400831e-07
+-1.920000e-02  1.568007e-02 -2.289148e-01 -2.289147e-01  5.946776e-08  5.301525e-08
+-1.920000e-02  1.581239e-02 -2.290432e-01 -2.290432e-01  1.905284e-07  3.183551e-07
+-1.920000e-02  1.594361e-02 -2.291677e-01 -2.291677e-01 -1.220527e-09 -6.182021e-08
+-1.920000e-02  1.607375e-02 -2.292879e-01 -2.292879e-01  2.385919e-08 -7.370561e-08
+-1.920000e-02  1.620285e-02 -2.294039e-01 -2.294038e-01 -1.605261e-08  6.124672e-08
+-1.920000e-02  1.633093e-02 -2.295154e-01 -2.295154e-01  5.500130e-08  1.905787e-07
+-1.920000e-02  1.645801e-02 -2.296245e-01 -2.296245e-01 -1.748374e-06 -1.860502e-06
+-1.920000e-02  1.658412e-02 -2.297280e-01 -2.297280e-01 -4.739399e-06 -4.745394e-06
+-1.920000e-02  1.670928e-02 -2.298238e-01 -2.298239e-01  2.800045e-07  2.575397e-07
+-1.920000e-02  1.683351e-02 -2.299183e-01 -2.299184e-01  1.378746e-07  9.539522e-08
+-1.920000e-02  1.695682e-02 -2.300083e-01 -2.300083e-01  4.869769e-08  3.752667e-08
+-1.920000e-02  1.707925e-02 -2.300936e-01 -2.300936e-01  1.056007e-08 -1.265195e-08
+-1.920000e-02  1.720081e-02 -2.301745e-01 -2.301745e-01  5.344697e-08  1.045660e-07
+-1.920000e-02  1.732151e-02 -2.302508e-01 -2.302508e-01  2.170543e-08  7.783120e-08
+-1.920000e-02  1.744137e-02 -2.303227e-01 -2.303227e-01  1.766076e-08 -4.455612e-08
+-1.920000e-02  1.756042e-02 -2.303897e-01 -2.303897e-01  3.975129e-08  5.586848e-08
+-1.920000e-02  1.767867e-02 -2.304525e-01 -2.304524e-01 -6.833659e-07 -5.458280e-07
+-1.920000e-02  1.779613e-02 -2.305117e-01 -2.305116e-01 -4.054112e-06 -3.567605e-06
+-1.920000e-02  1.791282e-02 -2.305614e-01 -2.305612e-01 -5.901499e-06 -5.368315e-06
+-1.920000e-02  1.802876e-02 -2.305974e-01 -2.305975e-01  9.851193e-06  9.197202e-06
+-1.920000e-02  1.814395e-02 -2.306288e-01 -2.306296e-01  4.392378e-05  4.286598e-05
+-1.920000e-02  1.825842e-02 -2.306707e-01 -2.306717e-01 -1.722910e-05 -1.744790e-05
+-1.920000e-02  1.837217e-02 -2.307317e-01 -2.307324e-01  2.790216e-05  2.685780e-05
+-1.920000e-02  1.848523e-02 -2.307953e-01 -2.307952e-01  1.689658e-05  1.840539e-05
+-1.920000e-02  1.859759e-02 -2.308375e-01 -2.308365e-01 -2.114755e-06 -1.957513e-06
+-1.920000e-02  1.870929e-02 -2.308611e-01 -2.308596e-01  6.103448e-06  6.658192e-06
+-1.920000e-02  1.882032e-02 -2.308740e-01 -2.308722e-01 -1.398535e-06  1.598154e-06
+-1.920000e-02  1.893069e-02 -2.308794e-01 -2.308776e-01  1.322322e-06  4.992602e-06
+-1.920000e-02  1.904043e-02 -2.308781e-01 -2.308761e-01  9.165576e-06  1.305296e-05
+-1.920000e-02  1.914954e-02 -2.308687e-01 -2.308665e-01  7.322150e-06  1.158274e-05
+-1.920000e-02  1.925803e-02 -2.308490e-01 -2.308464e-01  3.905775e-05  4.117578e-05
+-1.920000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  1.989656e-02 -2.307883e-01 -2.307885e-01 -3.895430e-05 -3.947880e-05
+-1.920000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.920000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  1.000000e-06 -3.114549e-01 -3.114554e-01  3.168129e-09 -7.875654e-09
+-1.680000e-02  2.042241e-03 -2.089783e-01 -3.117988e-01  3.049255e-08  5.179063e-08
+-1.680000e-02  2.887751e-03 -2.095220e-01 -3.121247e-01  1.188990e-08  2.226106e-08
+-1.680000e-02  3.536534e-03 -2.100556e-01 -3.124435e-01  3.438016e-09 -5.090787e-08
+-1.680000e-02  4.083483e-03 -2.105802e-01 -3.127564e-01  2.740829e-08 -1.734746e-07
+-1.680000e-02  4.565355e-03 -2.110961e-01 -3.130636e-01  7.157510e-09 -2.438949e-08
+-1.680000e-02  5.001000e-03 -2.116038e-01 -3.133657e-01  4.825297e-09 -1.488013e-07
+-1.680000e-02  5.401617e-03 -2.121035e-01 -3.136625e-01  2.759720e-08 -3.346679e-08
+-1.680000e-02  5.774503e-03 -2.125954e-01 -3.139545e-01  1.146435e-08 -2.249497e-08
+-1.680000e-02  6.124724e-03 -2.130796e-01 -3.142415e-01  2.942685e-08 -5.727824e-08
+-1.680000e-02  6.455972e-03 -2.135564e-01 -3.145236e-01  4.239131e-09  8.139478e-08
+-1.680000e-02  6.771032e-03 -2.140257e-01 -3.148012e-01 -1.198245e-08  1.110653e-08
+-1.680000e-02  7.072068e-03 -2.144878e-01 -3.150738e-01  2.492691e-08  6.089681e-08
+-1.680000e-02  7.360801e-03 -2.149427e-01 -3.153412e-01  7.980288e-09  9.518729e-07
+-1.680000e-02  7.638626e-03 -2.153906e-01 -3.156051e-01  3.210753e-08 -2.535555e-06
+-1.680000e-02  7.906694e-03 -2.158315e-01 -3.158681e-01 -1.130585e-08 -4.216530e-07
+-1.680000e-02  8.165966e-03 -2.162656e-01 -3.161178e-01  6.154726e-10  8.263446e-08
+-1.680000e-02  8.417254e-03 -2.166930e-01 -3.163699e-01  1.771183e-08 -4.361783e-07
+-1.680000e-02  8.661254e-03 -2.171137e-01 -3.166111e-01  3.072397e-08 -2.674109e-06
+-1.680000e-02  8.898565e-03 -2.175279e-01 -3.168491e-01 -7.447910e-09  4.416330e-06
+-1.680000e-02  9.129709e-03 -2.179357e-01 -3.170938e-01  5.647063e-08  1.657011e-06
+-1.680000e-02  9.355143e-03 -2.183372e-01 -3.173248e-01  5.602753e-08 -4.592240e-07
+-1.680000e-02  9.575271e-03 -2.187327e-01 -2.187328e-01 -7.131551e-09 -3.846417e-08
+-1.680000e-02  9.790450e-03 -2.191225e-01 -3.177792e-01 -1.940391e-07 -1.042166e-06
+-1.680000e-02  1.000100e-02 -2.195052e-01 -3.179965e-01 -1.752807e-07 -3.919002e-07
+-1.680000e-02  1.020721e-02 -2.198788e-01 -3.182187e-01 -3.100411e-07  3.716090e-07
+-1.680000e-02  1.040933e-02 -2.202553e-01 -2.202555e-01  1.436946e-07  3.279639e-07
+-1.680000e-02  1.060760e-02 -2.206238e-01 -2.206241e-01  9.648459e-08 -6.220975e-07
+-1.680000e-02  1.080223e-02 -2.209870e-01 -2.209889e-01  2.754895e-06 -1.423384e-06
+-1.680000e-02  1.099342e-02 -2.213531e-01 -2.213590e-01 -5.491472e-06 -9.959034e-06
+-1.680000e-02  1.118134e-02 -2.217257e-01 -2.217164e-01 -1.987927e-08  1.221830e-05
+-1.680000e-02  1.136615e-02 -2.222833e-01 -2.222829e-01  9.666641e-05  9.438295e-05
+-1.680000e-02  1.154801e-02 -2.221890e-01 -2.221898e-01 -7.307663e-05 -7.204157e-05
+-1.680000e-02  1.172704e-02 -2.226653e-01 -2.226588e-01  6.860667e-06  7.083511e-06
+-1.680000e-02  1.190338e-02 -2.230335e-01 -2.230432e-01 -5.403209e-07 -8.180990e-06
+-1.680000e-02  1.207715e-02 -2.233364e-01 -2.233393e-01 -5.028741e-05 -5.437326e-05
+-1.680000e-02  1.224845e-02 -2.237564e-01 -3.206159e-01 -2.453914e-06  6.300994e-08
+-1.680000e-02  1.241739e-02 -2.241696e-01 -2.241694e-01  3.190118e-07 -1.606224e-07
+-1.680000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  1.354106e-02 -2.268863e-01 -3.191875e-01  5.294493e-05  7.867120e-05
+-1.680000e-02  1.369406e-02 -2.270377e-01 -3.188338e-01  2.108716e-05  4.714791e-05
+-1.680000e-02  1.384537e-02 -2.271799e-01 -3.184740e-01 -1.901932e-07  1.776252e-07
+-1.680000e-02  1.399505e-02 -2.273140e-01 -3.180918e-01 -2.548683e-06 -9.369234e-06
+-1.680000e-02  1.414314e-02 -2.274455e-01 -3.176710e-01 -1.084574e-05 -6.039191e-05
+-1.680000e-02  1.428969e-02 -2.275820e-01 -3.172165e-01  1.339981e-05  5.432162e-03
+-1.680000e-02  1.443476e-02 -2.277280e-01 -3.167617e-01 -3.589692e-07 -4.156216e-06
+-1.680000e-02  1.457838e-02 -2.278834e-01 -3.163211e-01  4.091534e-06  4.709877e-05
+-1.680000e-02  1.472060e-02 -2.280437e-01 -2.280438e-01  1.768115e-07  9.557301e-08
+-1.680000e-02  1.486146e-02 -2.282063e-01 -2.282057e-01 -1.183399e-06 -3.756532e-07
+-1.680000e-02  1.500100e-02 -2.283713e-01 -2.283707e-01  8.518088e-07  8.927974e-07
+-1.680000e-02  1.513925e-02 -2.285391e-01 -2.285390e-01  7.200752e-07  1.030301e-06
+-1.680000e-02  1.527625e-02 -2.287082e-01 -2.287082e-01  1.819551e-07  7.264481e-08
+-1.680000e-02  1.541204e-02 -2.288768e-01 -2.288767e-01 -1.638637e-07  1.416786e-07
+-1.680000e-02  1.554663e-02 -2.290441e-01 -2.290439e-01  4.595855e-08 -1.398556e-07
+-1.680000e-02  1.568007e-02 -2.292086e-01 -2.292085e-01 -3.702786e-06 -3.574522e-06
+-1.680000e-02  1.581239e-02 -2.293728e-01 -2.293728e-01 -4.104646e-08 -6.083427e-08
+-1.680000e-02  1.594361e-02 -2.295331e-01 -2.295331e-01  5.554360e-08  2.221775e-07
+-1.680000e-02  1.607375e-02 -2.296902e-01 -2.296902e-01  5.465053e-07  2.572497e-07
+-1.680000e-02  1.620285e-02 -2.298505e-01 -2.298505e-01  3.588013e-06  3.641376e-06
+-1.680000e-02  1.633093e-02 -2.299913e-01 -2.299913e-01  1.638771e-06  1.581080e-06
+-1.680000e-02  1.645801e-02 -2.301379e-01 -2.301378e-01 -4.188498e-08  3.173298e-08
+-1.680000e-02  1.658412e-02 -2.302787e-01 -2.302786e-01  2.886178e-07  3.264670e-07
+-1.680000e-02  1.670928e-02 -2.304142e-01 -2.304142e-01 -1.301828e-08  7.841480e-08
+-1.680000e-02  1.683351e-02 -2.305439e-01 -2.305438e-01  1.409834e-06  1.334279e-06
+-1.680000e-02  1.695682e-02 -2.306304e-01 -2.306308e-01  5.299178e-05  5.213879e-05
+-1.680000e-02  1.707925e-02 -2.308509e-01 -2.308507e-01  4.113436e-05  4.108971e-05
+-1.680000e-02  1.720081e-02 -2.309689e-01 -2.309689e-01 -9.325918e-06 -9.488702e-06
+-1.680000e-02  1.732151e-02 -2.310716e-01 -2.310716e-01  3.440986e-08  1.853761e-08
+-1.680000e-02  1.744137e-02 -2.311820e-01 -2.311820e-01  1.240783e-07  1.301577e-07
+-1.680000e-02  1.756042e-02 -2.312891e-01 -2.312891e-01  2.795825e-08 -1.683840e-08
+-1.680000e-02  1.767867e-02 -2.313932e-01 -2.313933e-01 -2.157858e-06 -2.120014e-06
+-1.680000e-02  1.779613e-02 -2.314931e-01 -2.314932e-01  6.204745e-08  5.226841e-08
+-1.680000e-02  1.791282e-02 -2.315888e-01 -2.315889e-01  3.029680e-07  1.873720e-07
+-1.680000e-02  1.802876e-02 -2.316809e-01 -2.316809e-01  8.369776e-08  2.622220e-08
+-1.680000e-02  1.814395e-02 -2.317688e-01 -2.317689e-01  2.324815e-07  2.032593e-07
+-1.680000e-02  1.825842e-02 -2.318532e-01 -2.318533e-01  1.204749e-06  1.111554e-06
+-1.680000e-02  1.837217e-02 -2.319408e-01 -2.319406e-01 -8.248795e-06 -8.102531e-06
+-1.680000e-02  1.848523e-02 -2.320198e-01 -2.320194e-01 -2.053781e-05 -2.009448e-05
+-1.680000e-02  1.859759e-02 -2.320674e-01 -2.320673e-01 -3.288595e-06 -2.742365e-06
+-1.680000e-02  1.870929e-02 -2.320941e-01 -2.320944e-01  7.162267e-05  7.167249e-05
+-1.680000e-02  1.882032e-02 -2.321232e-01 -2.321239e-01  8.220561e-05  8.160301e-05
+-1.680000e-02  1.893069e-02 -2.321773e-01 -2.321782e-01  4.702693e-05  4.512206e-05
+-1.680000e-02  1.904043e-02 -2.322612e-01 -2.322617e-01  4.000976e-05  3.870276e-05
+-1.680000e-02  1.914954e-02 -2.323379e-01 -2.323376e-01  1.086228e-05  1.059649e-05
+-1.680000e-02  1.925803e-02 -2.323922e-01 -2.323917e-01 -2.101123e-06 -1.954227e-06
+-1.680000e-02  1.936592e-02 -2.324341e-01 -2.324340e-01 -2.338678e-06 -1.866567e-06
+-1.680000e-02  1.947320e-02 -2.324706e-01 -2.324707e-01  1.496742e-07  1.280844e-07
+-1.680000e-02  1.957990e-02 -2.325032e-01 -2.325033e-01  2.909358e-07  8.710741e-08
+-1.680000e-02  1.968602e-02 -2.325314e-01 -2.325315e-01  3.135761e-07  9.351214e-08
+-1.680000e-02  1.979157e-02 -2.325550e-01 -2.325551e-01  2.896795e-07  1.800539e-07
+-1.680000e-02  1.989656e-02 -2.325741e-01 -2.325741e-01  2.946125e-07  1.133033e-07
+-1.680000e-02  2.000100e-02 -2.325886e-01 -2.325886e-01  2.706903e-07  1.179890e-07
+-1.680000e-02  2.010490e-02 -2.325984e-01 -2.325984e-01  2.863870e-07  4.663589e-08
+-1.680000e-02  2.020826e-02 -2.326034e-01 -2.326035e-01  2.192240e-07  2.583832e-08
+-1.680000e-02  2.031110e-02 -2.326035e-01 -2.326035e-01  2.321379e-07  8.790218e-08
+-1.680000e-02  2.041341e-02 -2.325985e-01 -2.325985e-01  2.828098e-07  1.895377e-07
+-1.680000e-02  2.051522e-02 -2.325882e-01 -2.325881e-01  3.212021e-07  2.372619e-07
+-1.680000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.680000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  1.000000e-06 -3.085145e-01 -3.085141e-01 -6.814181e-07 -3.156579e-09
+-1.440000e-02  2.042241e-03 -2.067223e-01 -3.088635e-01  1.741624e-07 -1.402771e-07
+-1.440000e-02  2.887751e-03 -2.073177e-01 -3.091952e-01  1.672664e-08 -8.575718e-08
+-1.440000e-02  3.536534e-03 -2.079025e-01 -3.095206e-01  4.313481e-08 -4.933188e-07
+-1.440000e-02  4.083483e-03 -2.084780e-01 -3.098400e-01  1.462786e-09  1.167638e-08
+-1.440000e-02  4.565355e-03 -2.090448e-01 -3.101548e-01 -6.441025e-09 -3.917170e-07
+-1.440000e-02  5.001000e-03 -2.096031e-01 -3.104641e-01  1.493287e-08 -8.026874e-08
+-1.440000e-02  5.401617e-03 -2.101532e-01 -3.107691e-01  8.665689e-09  9.768951e-09
+-1.440000e-02  5.774503e-03 -2.106954e-01 -3.110692e-01 -2.336685e-09  2.092478e-08
+-1.440000e-02  6.124724e-03 -2.112297e-01 -3.113647e-01  1.147821e-07 -1.507816e-07
+-1.440000e-02  6.455972e-03 -2.117564e-01 -3.116558e-01  1.249282e-08 -1.577169e-07
+-1.440000e-02  6.771032e-03 -2.122756e-01 -3.119422e-01  1.965554e-08  6.061190e-08
+-1.440000e-02  7.072068e-03 -2.127873e-01 -3.122244e-01 -8.101905e-08 -1.302995e-07
+-1.440000e-02  7.360801e-03 -2.132917e-01 -3.125019e-01  5.217849e-09  1.676121e-07
+-1.440000e-02  7.638626e-03 -2.137889e-01 -3.127754e-01  8.981640e-09 -1.465194e-07
+-1.440000e-02  7.906694e-03 -2.142789e-01 -3.130433e-01  1.199722e-08 -1.192767e-07
+-1.440000e-02  8.165966e-03 -2.147620e-01 -3.133112e-01  4.821132e-08  8.482661e-07
+-1.440000e-02  8.417254e-03 -2.152381e-01 -3.135717e-01 -3.943006e-08 -5.363845e-06
+-1.440000e-02  8.661254e-03 -2.157075e-01 -3.138255e-01  3.553577e-08  3.822066e-07
+-1.440000e-02  8.898565e-03 -2.161701e-01 -3.140775e-01 -5.839964e-09  4.527047e-06
+-1.440000e-02  9.129709e-03 -2.166260e-01 -3.143195e-01  1.627976e-08 -5.718068e-07
+-1.440000e-02  9.355143e-03 -2.170754e-01 -3.145712e-01  6.993679e-08  1.527542e-06
+-1.440000e-02  9.575271e-03 -2.175186e-01 -3.148094e-01  1.058170e-08 -4.377642e-07
+-1.440000e-02  9.790450e-03 -2.179553e-01 -3.150459e-01  5.631389e-08 -8.642995e-07
+-1.440000e-02  1.000100e-02 -2.183861e-01 -2.183861e-01  6.846715e-08 -2.509472e-08
+-1.440000e-02  1.020721e-02 -2.188116e-01 -2.188116e-01 -2.986815e-07 -3.423726e-07
+-1.440000e-02  1.040933e-02 -2.192264e-01 -2.192266e-01  1.612939e-05  1.586269e-05
+-1.440000e-02  1.060760e-02 -2.196396e-01 -3.159539e-01 -5.540436e-09  2.760990e-07
+-1.440000e-02  1.080223e-02 -2.200494e-01 -2.200495e-01  2.272672e-08 -5.733968e-08
+-1.440000e-02  1.099342e-02 -2.204529e-01 -2.204536e-01 -9.696192e-08 -7.194865e-07
+-1.440000e-02  1.118134e-02 -2.208525e-01 -2.208526e-01  1.780014e-09  7.115271e-07
+-1.440000e-02  1.136615e-02 -2.212517e-01 -2.212585e-01  3.213285e-06 -9.037787e-06
+-1.440000e-02  1.154801e-02 -2.216638e-01 -2.216566e-01 -7.846321e-06  9.492452e-06
+-1.440000e-02  1.172704e-02 -2.223256e-01 -2.223249e-01 -3.862785e-05 -3.808267e-05
+-1.440000e-02  1.190338e-02 -2.221593e-01 -2.221604e-01  1.183977e-04  1.160070e-04
+-1.440000e-02  1.207715e-02 -2.226809e-01 -2.226753e-01  4.129336e-06  9.539872e-07
+-1.440000e-02  1.224845e-02 -2.230870e-01 -2.230964e-01 -3.047654e-07 -2.779012e-07
+-1.440000e-02  1.241739e-02 -2.234477e-01 -2.234478e-01  6.519627e-05  6.284345e-05
+-1.440000e-02  1.258406e-02 -2.238571e-01 -2.238577e-01  7.298622e-07 -6.033094e-07
+-1.440000e-02  1.274855e-02 -2.242620e-01 -2.242616e-01  1.035692e-05  1.132384e-05
+-1.440000e-02  1.291094e-02 -2.247421e-01 -2.247418e-01 -1.770932e-06 -1.414694e-06
+-1.440000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  1.399505e-02 -2.276736e-01 -3.169846e-01 -6.584317e-07  2.576955e-06
+-1.440000e-02  1.414314e-02 -2.278173e-01 -3.165824e-01  4.749850e-06 -6.163256e-06
+-1.440000e-02  1.428969e-02 -2.279546e-01 -3.161564e-01 -1.751327e-05 -5.757628e-05
+-1.440000e-02  1.443476e-02 -2.280937e-01 -3.156998e-01  6.782534e-06  2.475496e-05
+-1.440000e-02  1.457838e-02 -2.282426e-01 -3.152203e-01  9.627468e-06  5.299437e-05
+-1.440000e-02  1.472060e-02 -2.284028e-01 -3.147446e-01  2.855421e-06  9.220317e-06
+-1.440000e-02  1.486146e-02 -2.285750e-01 -3.142624e-01  1.667819e-06 -8.568600e-02
+-1.440000e-02  1.500100e-02 -2.287516e-01 -2.287515e-01 -6.967832e-07 -8.259271e-07
+-1.440000e-02  1.513925e-02 -2.289333e-01 -2.289328e-01  2.187901e-06  3.126706e-06
+-1.440000e-02  1.527625e-02 -2.291228e-01 -2.291225e-01 -8.584525e-08  2.648255e-07
+-1.440000e-02  1.541204e-02 -2.293167e-01 -2.293167e-01 -1.920163e-07 -2.790996e-07
+-1.440000e-02  1.554663e-02 -2.295100e-01 -2.295099e-01 -5.472768e-07 -3.461391e-07
+-1.440000e-02  1.568007e-02 -2.297073e-01 -2.297072e-01  2.465927e-07  1.298944e-07
+-1.440000e-02  1.581239e-02 -2.299156e-01 -2.299156e-01 -2.589980e-06 -2.687698e-06
+-1.440000e-02  1.594361e-02 -2.300944e-01 -2.300945e-01 -9.980906e-07 -1.089682e-06
+-1.440000e-02  1.607375e-02 -2.302880e-01 -2.302879e-01  1.590609e-07  1.161601e-07
+-1.440000e-02  1.620285e-02 -2.304756e-01 -2.304756e-01  7.546624e-08  1.914964e-07
+-1.440000e-02  1.633093e-02 -2.306201e-01 -2.306203e-01  4.523762e-05  4.499715e-05
+-1.440000e-02  1.645801e-02 -2.309126e-01 -2.309124e-01 -3.765766e-05 -3.740618e-05
+-1.440000e-02  1.658412e-02 -2.310608e-01 -2.310608e-01  3.440593e-07  3.757175e-07
+-1.440000e-02  1.670928e-02 -2.312347e-01 -2.312347e-01  3.272418e-07  2.811209e-07
+-1.440000e-02  1.683351e-02 -2.314079e-01 -2.314079e-01 -2.256289e-07 -1.706050e-07
+-1.440000e-02  1.695682e-02 -2.315774e-01 -2.315774e-01  1.938190e-07  1.177164e-08
+-1.440000e-02  1.707925e-02 -2.317453e-01 -2.317454e-01 -2.521753e-06 -2.503805e-06
+-1.440000e-02  1.720081e-02 -2.319156e-01 -2.319155e-01 -1.498917e-05 -1.481295e-05
+-1.440000e-02  1.732151e-02 -2.320162e-01 -2.320163e-01  9.655680e-05  9.636375e-05
+-1.440000e-02  1.744137e-02 -2.321650e-01 -2.321651e-01  2.410813e-06  2.181910e-06
+-1.440000e-02  1.756042e-02 -2.323534e-01 -2.323533e-01 -1.534892e-06 -1.460150e-06
+-1.440000e-02  1.767867e-02 -2.324983e-01 -2.324984e-01  2.620063e-07  1.229717e-07
+-1.440000e-02  1.779613e-02 -2.326398e-01 -2.326399e-01  1.647103e-07 -1.702775e-08
+-1.440000e-02  1.791282e-02 -2.327765e-01 -2.327766e-01 -3.177540e-08 -2.039682e-08
+-1.440000e-02  1.802876e-02 -2.329086e-01 -2.329086e-01  1.055760e-07  1.443806e-08
+-1.440000e-02  1.814395e-02 -2.330362e-01 -2.330362e-01 -1.339282e-08  1.964325e-09
+-1.440000e-02  1.825842e-02 -2.331593e-01 -2.331593e-01  1.053156e-07  1.005395e-07
+-1.440000e-02  1.837217e-02 -2.332781e-01 -2.332781e-01 -2.825567e-08 -7.237698e-08
+-1.440000e-02  1.848523e-02 -2.333924e-01 -2.333925e-01  1.193467e-07  1.477687e-07
+-1.440000e-02  1.859759e-02 -2.335026e-01 -2.335027e-01  3.069268e-07  1.236758e-07
+-1.440000e-02  1.870929e-02 -2.336084e-01 -2.336085e-01  1.782678e-07  2.401355e-09
+-1.440000e-02  1.882032e-02 -2.337101e-01 -2.337102e-01 -1.974380e-08 -4.834868e-08
+-1.440000e-02  1.893069e-02 -2.338074e-01 -2.338075e-01  1.991747e-07  1.551164e-07
+-1.440000e-02  1.904043e-02 -2.339007e-01 -2.339007e-01  2.282612e-07  1.562063e-07
+-1.440000e-02  1.914954e-02 -2.339901e-01 -2.339901e-01 -1.668022e-07 -1.821566e-07
+-1.440000e-02  1.925803e-02 -2.340757e-01 -2.340757e-01 -3.501692e-07 -3.403366e-07
+-1.440000e-02  1.936592e-02 -2.341559e-01 -2.341559e-01  2.530158e-06  2.487936e-06
+-1.440000e-02  1.947320e-02 -2.342305e-01 -2.342305e-01 -9.138252e-06 -9.116484e-06
+-1.440000e-02  1.957990e-02 -2.343012e-01 -2.343012e-01  4.798695e-07  5.421180e-07
+-1.440000e-02  1.968602e-02 -2.343689e-01 -2.343690e-01  1.274145e-06  1.317878e-06
+-1.440000e-02  1.979157e-02 -2.344334e-01 -2.344335e-01  9.084300e-07  8.030605e-07
+-1.440000e-02  1.989656e-02 -2.344937e-01 -2.344938e-01  4.871087e-07  1.838193e-07
+-1.440000e-02  2.000100e-02 -2.345497e-01 -2.345498e-01  2.767354e-07  3.602729e-09
+-1.440000e-02  2.010490e-02 -2.346015e-01 -2.346017e-01  1.258502e-07 -7.792473e-08
+-1.440000e-02  2.020826e-02 -2.346494e-01 -2.346496e-01 -1.271795e-08 -1.685870e-07
+-1.440000e-02  2.031110e-02 -2.346931e-01 -2.346933e-01 -3.293008e-08 -8.106941e-08
+-1.440000e-02  2.041341e-02 -2.347328e-01 -2.347329e-01  4.628521e-08  2.147677e-07
+-1.440000e-02  2.051522e-02 -2.347686e-01 -2.347686e-01  1.101471e-07  1.997399e-07
+-1.440000e-02  2.061653e-02 -2.348003e-01 -2.348003e-01  1.223875e-07  3.678874e-08
+-1.440000e-02  2.071734e-02 -2.348280e-01 -2.348280e-01  1.843515e-07  1.109771e-07
+-1.440000e-02  2.081766e-02 -2.348516e-01 -2.348516e-01  1.302592e-07  1.159902e-07
+-1.440000e-02  2.091750e-02 -2.348712e-01 -2.348711e-01  1.437562e-07  2.171842e-07
+-1.440000e-02  2.101687e-02 -2.348868e-01 -2.348867e-01  8.566730e-08  1.708564e-07
+-1.440000e-02  2.111577e-02 -2.348983e-01 -2.348982e-01  9.073717e-08  8.706694e-08
+-1.440000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.440000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  1.000000e-06 -3.059984e-01 -3.060018e-01  1.617230e-06  1.502821e-08
+-1.200000e-02  2.042241e-03 -2.047578e-01 -3.063534e-01  3.701466e-08 -1.189862e-07
+-1.200000e-02  2.887751e-03 -2.054026e-01 -3.066870e-01  2.754150e-08  1.171620e-07
+-1.200000e-02  3.536534e-03 -2.060367e-01 -3.070155e-01  2.079374e-08 -3.452771e-08
+-1.200000e-02  4.083483e-03 -2.066613e-01 -3.073380e-01  1.204224e-08  1.748703e-07
+-1.200000e-02  4.565355e-03 -2.072770e-01 -3.076564e-01  3.232394e-08 -1.878186e-07
+-1.200000e-02  5.001000e-03 -2.078842e-01 -3.079699e-01  1.697881e-08  2.187753e-07
+-1.200000e-02  5.401617e-03 -2.084830e-01 -3.082792e-01  6.256488e-09 -3.553832e-07
+-1.200000e-02  5.774503e-03 -2.090738e-01 -3.085843e-01  1.943192e-08 -1.010894e-07
+-1.200000e-02  6.124724e-03 -2.096566e-01 -3.088849e-01  6.490446e-09 -2.008956e-07
+-1.200000e-02  6.455972e-03 -2.102316e-01 -3.091819e-01  4.363665e-08 -7.484654e-07
+-1.200000e-02  6.771032e-03 -2.107990e-01 -3.094740e-01  2.840976e-09  4.212910e-09
+-1.200000e-02  7.072068e-03 -2.113582e-01 -3.097626e-01  8.184279e-07 -2.704333e-07
+-1.200000e-02  7.360801e-03 -2.119111e-01 -3.100467e-01  4.289502e-09 -5.160825e-08
+-1.200000e-02  7.638626e-03 -2.124561e-01 -3.103272e-01  5.065961e-09 -3.352360e-08
+-1.200000e-02  7.906694e-03 -2.129938e-01 -3.106033e-01  1.401292e-08  2.012914e-07
+-1.200000e-02  8.165966e-03 -2.135245e-01 -3.108742e-01 -4.421031e-08 -8.229518e-08
+-1.200000e-02  8.417254e-03 -2.140480e-01 -3.111463e-01  7.072802e-08 -5.308494e-07
+-1.200000e-02  8.661254e-03 -2.145646e-01 -3.114089e-01  2.182737e-08 -2.589591e-07
+-1.200000e-02  8.898565e-03 -2.150743e-01 -3.116693e-01  3.442279e-08 -4.597597e-08
+-1.200000e-02  9.129709e-03 -2.155773e-01 -3.119213e-01 -4.045775e-08 -1.745534e-06
+-1.200000e-02  9.355143e-03 -2.160735e-01 -3.121750e-01  1.071710e-07  5.288747e-06
+-1.200000e-02  9.575271e-03 -2.165632e-01 -3.124276e-01 -9.745046e-09 -2.168880e-06
+-1.200000e-02  9.790450e-03 -2.170464e-01 -3.126711e-01  6.102201e-08 -1.893909e-07
+-1.200000e-02  1.000100e-02 -2.175234e-01 -3.129124e-01  1.691529e-09 -2.534744e-07
+-1.200000e-02  1.020721e-02 -2.179941e-01 -2.179942e-01  5.028461e-08  2.506436e-08
+-1.200000e-02  1.040933e-02 -2.184596e-01 -2.184595e-01 -2.708578e-07 -4.144444e-07
+-1.200000e-02  1.060760e-02 -2.189134e-01 -2.189137e-01  3.965295e-07  9.305993e-08
+-1.200000e-02  1.080223e-02 -2.193680e-01 -2.193682e-01  5.702583e-07  4.574310e-07
+-1.200000e-02  1.099342e-02 -2.198164e-01 -2.198166e-01 -2.564707e-08 -7.572783e-08
+-1.200000e-02  1.118134e-02 -2.202593e-01 -2.202596e-01  2.436361e-07  5.556409e-07
+-1.200000e-02  1.136615e-02 -2.206988e-01 -2.206989e-01  5.179241e-09  3.867556e-09
+-1.200000e-02  1.154801e-02 -2.211351e-01 -2.211401e-01 -2.768778e-07 -4.588860e-07
+-1.200000e-02  1.172704e-02 -2.215868e-01 -2.215830e-01 -7.994507e-06 -8.906673e-06
+-1.200000e-02  1.190338e-02 -2.223428e-01 -2.223421e-01 -7.697647e-05 -7.618222e-05
+-1.200000e-02  1.207715e-02 -2.221484e-01 -2.221494e-01  1.744936e-04  1.717969e-04
+-1.200000e-02  1.224845e-02 -2.227113e-01 -2.227073e-01  3.547383e-06 -2.032417e-06
+-1.200000e-02  1.241739e-02 -2.231584e-01 -2.231663e-01  5.125106e-06 -3.304118e-06
+-1.200000e-02  1.258406e-02 -2.235851e-01 -2.235842e-01  1.477676e-04  1.486696e-04
+-1.200000e-02  1.274855e-02 -2.239956e-01 -2.239962e-01 -8.071100e-07 -5.755686e-07
+-1.200000e-02  1.291094e-02 -2.244205e-01 -2.244206e-01  3.218285e-05  3.192063e-05
+-1.200000e-02  1.307132e-02 -2.248914e-01 -2.248914e-01  3.149293e-06  3.274332e-06
+-1.200000e-02  1.322976e-02 -2.254696e-01 -2.254694e-01  6.416044e-06  9.196882e-02
+-1.200000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  1.414314e-02 -2.282702e-01 -3.152215e-01  6.006085e-06 -3.705894e-06
+-1.200000e-02  1.428969e-02 -2.284289e-01 -3.147412e-01 -3.169675e-05  8.943233e-06
+-1.200000e-02  1.443476e-02 -2.285733e-01 -3.142736e-01 -5.172871e-06 -2.050254e-05
+-1.200000e-02  1.457838e-02 -2.287297e-01 -3.137662e-01  2.341996e-05  6.203645e-05
+-1.200000e-02  1.472060e-02 -2.289059e-01 -3.132291e-01  1.495401e-06 -1.209731e-05
+-1.200000e-02  1.486146e-02 -2.290856e-01 -3.127186e-01  5.587580e-06  3.484754e-05
+-1.200000e-02  1.500100e-02 -2.292888e-01 -2.292887e-01  1.650581e-06  1.650587e-06
+-1.200000e-02  1.513925e-02 -2.294922e-01 -2.294917e-01  1.209402e-06  2.173586e-06
+-1.200000e-02  1.527625e-02 -2.296995e-01 -2.296993e-01 -1.004977e-07  2.199679e-08
+-1.200000e-02  1.541204e-02 -2.299251e-01 -2.299252e-01  2.652463e-06  2.443309e-06
+-1.200000e-02  1.554663e-02 -2.301578e-01 -2.301576e-01 -1.223356e-05 -1.182458e-05
+-1.200000e-02  1.568007e-02 -2.303804e-01 -2.303803e-01 -1.220128e-06 -1.028142e-06
+-1.200000e-02  1.581239e-02 -2.305936e-01 -2.305936e-01  1.795069e-05  1.770491e-05
+-1.200000e-02  1.594361e-02 -2.309056e-01 -2.309054e-01 -3.704207e-05 -3.674075e-05
+-1.200000e-02  1.607375e-02 -2.311087e-01 -2.311087e-01  2.250320e-07  2.718437e-07
+-1.200000e-02  1.620285e-02 -2.313373e-01 -2.313373e-01  9.900667e-08  8.769936e-08
+-1.200000e-02  1.633093e-02 -2.315665e-01 -2.315665e-01 -1.470537e-06 -1.629910e-06
+-1.200000e-02  1.645801e-02 -2.317886e-01 -2.317887e-01 -7.471766e-06 -7.430954e-06
+-1.200000e-02  1.658412e-02 -2.319639e-01 -2.319641e-01  4.857869e-05  4.838927e-05
+-1.200000e-02  1.670928e-02 -2.322219e-01 -2.322218e-01 -1.419001e-06 -1.363141e-06
+-1.200000e-02  1.683351e-02 -2.324371e-01 -2.324371e-01 -5.599260e-08  1.399704e-08
+-1.200000e-02  1.695682e-02 -2.326485e-01 -2.326486e-01  1.108312e-07 -1.332823e-09
+-1.200000e-02  1.707925e-02 -2.328554e-01 -2.328555e-01  7.710436e-08  2.867098e-08
+-1.200000e-02  1.720081e-02 -2.330578e-01 -2.330578e-01  1.327982e-08 -2.873894e-08
+-1.200000e-02  1.732151e-02 -2.332555e-01 -2.332555e-01  3.089338e-08  1.809887e-09
+-1.200000e-02  1.744137e-02 -2.334488e-01 -2.334489e-01  2.258244e-07  1.368427e-07
+-1.200000e-02  1.756042e-02 -2.336377e-01 -2.336378e-01  1.040096e-07 -7.732994e-08
+-1.200000e-02  1.767867e-02 -2.338226e-01 -2.338227e-01 -3.664758e-07 -4.583190e-07
+-1.200000e-02  1.779613e-02 -2.340021e-01 -2.340021e-01  3.182074e-06  3.160819e-06
+-1.200000e-02  1.791282e-02 -2.341764e-01 -2.341764e-01  4.782265e-07  4.308850e-07
+-1.200000e-02  1.802876e-02 -2.343471e-01 -2.343472e-01  1.139766e-07  2.024706e-07
+-1.200000e-02  1.814395e-02 -2.345136e-01 -2.345137e-01  4.103417e-07  7.096506e-08
+-1.200000e-02  1.825842e-02 -2.346755e-01 -2.346757e-01 -8.218017e-08 -1.733750e-07
+-1.200000e-02  1.837217e-02 -2.348330e-01 -2.348330e-01  1.558284e-07  9.511195e-08
+-1.200000e-02  1.848523e-02 -2.349860e-01 -2.349860e-01  8.723863e-08  4.657808e-08
+-1.200000e-02  1.859759e-02 -2.351351e-01 -2.351352e-01  5.474335e-07  3.924927e-07
+-1.200000e-02  1.870929e-02 -2.352800e-01 -2.352801e-01  2.142997e-05  2.150503e-05
+-1.200000e-02  1.882032e-02 -2.354138e-01 -2.354141e-01  8.984897e-07  3.097320e-07
+-1.200000e-02  1.893069e-02 -2.355512e-01 -2.355521e-01  4.227331e-07 -2.342981e-07
+-1.200000e-02  1.904043e-02 -2.356826e-01 -2.356834e-01 -6.605363e-07 -1.043872e-07
+-1.200000e-02  1.914954e-02 -2.358091e-01 -2.358086e-01 -9.718195e-07 -1.247891e-06
+-1.200000e-02  1.925803e-02 -2.359308e-01 -2.359293e-01  3.218252e-07  6.957577e-07
+-1.200000e-02  1.936592e-02 -2.360485e-01 -2.360473e-01  8.110143e-07  3.111348e-06
+-1.200000e-02  1.947320e-02 -2.361623e-01 -2.361620e-01  1.071105e-07 -6.110579e-09
+-1.200000e-02  1.957990e-02 -2.362714e-01 -2.362715e-01  1.320560e-06  1.449080e-06
+-1.200000e-02  1.968602e-02 -2.363761e-01 -2.363757e-01  7.724934e-07  7.981416e-07
+-1.200000e-02  1.979157e-02 -2.364767e-01 -2.364758e-01  9.023137e-07  2.458994e-06
+-1.200000e-02  1.989656e-02 -2.365735e-01 -2.365726e-01  4.860549e-07  2.345077e-07
+-1.200000e-02  2.000100e-02 -2.366663e-01 -2.366660e-01  2.964669e-07  2.015040e-06
+-1.200000e-02  2.010490e-02 -2.367550e-01 -2.367556e-01  3.889487e-07 -7.645797e-07
+-1.200000e-02  2.020826e-02 -2.368385e-01 -2.368397e-01  1.409757e-06 -3.138544e-07
+-1.200000e-02  2.031110e-02 -2.369235e-01 -2.369249e-01 -3.175370e-06 -3.259912e-06
+-1.200000e-02  2.041341e-02 -2.370068e-01 -2.370079e-01  8.937262e-06  6.598128e-06
+-1.200000e-02  2.051522e-02 -2.370748e-01 -2.370758e-01 -5.037959e-06 -6.115408e-06
+-1.200000e-02  2.061653e-02 -2.371388e-01 -2.371397e-01  3.069140e-08  5.362141e-08
+-1.200000e-02  2.071734e-02 -2.372034e-01 -2.372039e-01  3.670619e-07 -1.310657e-07
+-1.200000e-02  2.081766e-02 -2.372641e-01 -2.372645e-01  9.657673e-08 -6.811039e-07
+-1.200000e-02  2.091750e-02 -2.373209e-01 -2.373211e-01  5.154722e-07  2.393343e-07
+-1.200000e-02  2.101687e-02 -2.373741e-01 -2.373742e-01  7.628206e-07  5.847644e-07
+-1.200000e-02  2.111577e-02 -2.374234e-01 -2.374237e-01  7.758246e-07  5.328579e-07
+-1.200000e-02  2.121420e-02 -2.374688e-01 -2.374691e-01  5.278219e-07  2.605206e-07
+-1.200000e-02  2.131219e-02 -2.375101e-01 -2.375103e-01 -2.218331e-07 -4.540703e-07
+-1.200000e-02  2.140972e-02 -2.375475e-01 -2.375477e-01 -2.712534e-08 -9.381915e-08
+-1.200000e-02  2.150681e-02 -2.375814e-01 -2.375814e-01 -1.442150e-07  5.058930e-07
+-1.200000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-1.200000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  1.000000e-06 -3.039186e-01 -3.039295e-01 -3.304063e-07 -8.378645e-09
+-9.600000e-03  2.042241e-03 -2.031096e-01 -3.042803e-01 -3.582176e-07 -5.940178e-07
+-9.600000e-03  2.887751e-03 -2.038018e-01 -3.046106e-01  7.645950e-08 -6.400142e-07
+-9.600000e-03  3.536534e-03 -2.044827e-01 -3.049391e-01 -8.647378e-08 -1.446783e-06
+-9.600000e-03  4.083483e-03 -2.051541e-01 -3.052596e-01  3.205882e-08 -3.237133e-07
+-9.600000e-03  4.565355e-03 -2.058165e-01 -3.055790e-01 -3.615740e-08 -1.419771e-06
+-9.600000e-03  5.001000e-03 -2.064703e-01 -3.058917e-01  2.616367e-08 -2.530231e-07
+-9.600000e-03  5.401617e-03 -2.071156e-01 -3.062028e-01 -2.816720e-08 -9.004352e-07
+-9.600000e-03  5.774503e-03 -2.077528e-01 -3.065081e-01  1.782980e-08 -2.933606e-07
+-9.600000e-03  6.124724e-03 -2.083820e-01 -3.068114e-01  7.479781e-10 -2.769869e-07
+-9.600000e-03  6.455972e-03 -2.090033e-01 -3.071095e-01  4.897223e-09 -2.342879e-07
+-9.600000e-03  6.771032e-03 -2.096169e-01 -3.074050e-01  5.547099e-09  5.682408e-08
+-9.600000e-03  7.072068e-03 -2.102228e-01 -3.076959e-01  2.751691e-08  7.325520e-08
+-9.600000e-03  7.360801e-03 -2.108212e-01 -3.079836e-01  8.443684e-09 -1.723972e-07
+-9.600000e-03  7.638626e-03 -2.114115e-01 -3.082670e-01  1.969803e-06  1.428347e-06
+-9.600000e-03  7.906694e-03 -2.119957e-01 -3.085475e-01 -3.424963e-09 -6.689686e-08
+-9.600000e-03  8.165966e-03 -2.125721e-01 -3.088245e-01  2.056718e-08 -7.684167e-07
+-9.600000e-03  8.417254e-03 -2.131413e-01 -3.090964e-01  9.433342e-08  3.747148e-07
+-9.600000e-03  8.661254e-03 -2.137035e-01 -3.093702e-01  1.749530e-08 -7.129507e-07
+-9.600000e-03  8.898565e-03 -2.142588e-01 -3.096313e-01  2.033249e-07  1.141383e-06
+-9.600000e-03  9.129709e-03 -2.148071e-01 -3.098931e-01 -1.260461e-08  2.796248e-06
+-9.600000e-03  9.355143e-03 -2.153485e-01 -3.101498e-01  1.699076e-08  7.607048e-06
+-9.600000e-03  9.575271e-03 -2.158833e-01 -3.104089e-01 -9.359683e-09 -1.925426e-06
+-9.600000e-03  9.790450e-03 -2.164115e-01 -3.106596e-01  2.614344e-08 -4.183102e-07
+-9.600000e-03  1.000100e-02 -2.169332e-01 -2.169333e-01  2.287107e-08 -7.457942e-08
+-9.600000e-03  1.020721e-02 -2.174487e-01 -2.174488e-01  1.157391e-08 -1.390217e-08
+-9.600000e-03  1.040933e-02 -2.179580e-01 -2.179583e-01  1.993165e-07  6.028257e-08
+-9.600000e-03  1.060760e-02 -2.184617e-01 -2.184620e-01 -1.598232e-06 -1.992516e-06
+-9.600000e-03  1.080223e-02 -2.189542e-01 -2.189544e-01  1.321375e-08 -3.577405e-08
+-9.600000e-03  1.099342e-02 -2.194479e-01 -2.194480e-01  5.604736e-08 -9.088750e-08
+-9.600000e-03  1.118134e-02 -2.199345e-01 -2.199346e-01  1.324362e-07 -1.373581e-07
+-9.600000e-03  1.136615e-02 -2.204163e-01 -2.204170e-01  8.835144e-08 -1.038750e-06
+-9.600000e-03  1.154801e-02 -2.208949e-01 -2.208953e-01  7.119019e-07  1.882888e-06
+-9.600000e-03  1.172704e-02 -2.213799e-01 -2.213842e-01 -6.178459e-06 -4.873183e-06
+-9.600000e-03  1.190338e-02 -2.219160e-01 -2.219098e-01  1.864373e-05  3.076143e-05
+-9.600000e-03  1.207715e-02 -2.222068e-01 -2.222070e-01  4.421874e-05  4.356598e-05
+-9.600000e-03  1.224845e-02 -2.226371e-01 -2.226311e-01 -1.415169e-06  5.494373e-06
+-9.600000e-03  1.241739e-02 -2.231288e-01 -2.231366e-01  9.157080e-06  5.533083e-06
+-9.600000e-03  1.258406e-02 -2.236038e-01 -2.236030e-01 -2.439930e-06 -5.571952e-07
+-9.600000e-03  1.274855e-02 -2.240457e-01 -2.240460e-01 -1.168952e-06 -1.000208e-06
+-9.600000e-03  1.291094e-02 -2.245105e-01 -2.245107e-01 -4.035243e-07 -8.471832e-07
+-9.600000e-03  1.307132e-02 -2.249885e-01 -2.249881e-01  1.997884e-07  8.136690e-07
+-9.600000e-03  1.322976e-02 -2.255106e-01 -2.255109e-01  1.215380e-06  1.323084e-06
+-9.600000e-03  1.338632e-02 -2.262982e-01 -3.161200e-01 -9.481138e-06 -4.321456e-05
+-9.600000e-03  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  1.399505e-02 -2.286252e-01 -3.141055e-01  2.301610e-06  6.658937e-05
+-9.600000e-03  1.414314e-02 -2.287987e-01 -3.136547e-01  9.688582e-07 -6.231746e-07
+-9.600000e-03  1.428969e-02 -2.289582e-01 -3.131567e-01 -2.565038e-05 -4.919407e-05
+-9.600000e-03  1.443476e-02 -2.291381e-01 -3.125691e-01 -1.005856e-05  7.416159e-05
+-9.600000e-03  1.457838e-02 -2.292917e-01 -3.120779e-01  1.774690e-05  3.752273e-05
+-9.600000e-03  1.472060e-02 -2.295090e-01 -3.114284e-01  1.907082e-07  2.295305e-05
+-9.600000e-03  1.486146e-02 -2.297132e-01 -2.297132e-01  8.698576e-05  8.708494e-05
+-9.600000e-03  1.500100e-02 -2.299397e-01 -2.299394e-01 -3.519796e-06 -3.400525e-06
+-9.600000e-03  1.513925e-02 -2.302165e-01 -2.302160e-01 -8.633662e-05 -8.611274e-05
+-9.600000e-03  1.527625e-02 -2.304335e-01 -2.304336e-01  2.136257e-06  2.099607e-06
+-9.600000e-03  1.541204e-02 -2.306493e-01 -2.306494e-01 -1.454316e-06 -1.662848e-06
+-9.600000e-03  1.554663e-02 -2.310043e-01 -2.310043e-01 -3.103131e-06 -3.036304e-06
+-9.600000e-03  1.568007e-02 -2.312751e-01 -2.312751e-01 -2.101556e-07 -2.627917e-07
+-9.600000e-03  1.581239e-02 -2.315611e-01 -2.315611e-01 -1.297468e-05 -1.297061e-05
+-9.600000e-03  1.594361e-02 -2.317904e-01 -2.317906e-01  3.787791e-05  3.773357e-05
+-9.600000e-03  1.607375e-02 -2.320983e-01 -2.320982e-01 -1.939647e-07 -1.730653e-07
+-9.600000e-03  1.620285e-02 -2.323740e-01 -2.323740e-01 -9.692105e-09  4.496678e-08
+-9.600000e-03  1.633093e-02 -2.326461e-01 -2.326462e-01  1.356947e-07 -9.745659e-09
+-9.600000e-03  1.645801e-02 -2.329145e-01 -2.329146e-01  1.086312e-07 -3.231156e-08
+-9.600000e-03  1.658412e-02 -2.331788e-01 -2.331788e-01  7.345514e-08  9.572240e-08
+-9.600000e-03  1.670928e-02 -2.334390e-01 -2.334391e-01  2.862132e-07  3.194090e-07
+-9.600000e-03  1.683351e-02 -2.336943e-01 -2.336944e-01 -6.999210e-07 -7.634037e-07
+-9.600000e-03  1.695682e-02 -2.339456e-01 -2.339456e-01  1.138491e-07  5.083960e-08
+-9.600000e-03  1.707925e-02 -2.341922e-01 -2.341922e-01  7.504574e-08  4.781083e-08
+-9.600000e-03  1.720081e-02 -2.344340e-01 -2.344342e-01  3.736378e-07  2.815587e-07
+-9.600000e-03  1.732151e-02 -2.346714e-01 -2.346716e-01 -2.174486e-08 -6.880056e-08
+-9.600000e-03  1.744137e-02 -2.349042e-01 -2.349043e-01  6.342310e-08 -7.619341e-08
+-9.600000e-03  1.756042e-02 -2.351326e-01 -2.351325e-01  3.616329e-07  2.832055e-07
+-9.600000e-03  1.767867e-02 -2.353513e-01 -2.353515e-01  1.694060e-07  2.472390e-07
+-9.600000e-03  1.779613e-02 -2.355716e-01 -2.355720e-01  3.236467e-07  6.065346e-08
+-9.600000e-03  1.791282e-02 -2.357862e-01 -2.357870e-01 -2.178732e-07 -2.012219e-06
+-9.600000e-03  1.802876e-02 -2.359952e-01 -2.359937e-01 -1.726195e-06  4.385793e-07
+-9.600000e-03  1.814395e-02 -2.361985e-01 -2.361978e-01  1.341186e-06  2.942929e-06
+-9.600000e-03  1.825842e-02 -2.363979e-01 -2.363980e-01  4.376128e-06  4.097601e-06
+-9.600000e-03  1.837217e-02 -2.365892e-01 -2.365887e-01  1.306630e-06  2.661124e-06
+-9.600000e-03  1.848523e-02 -2.367800e-01 -2.367815e-01  1.508816e-06 -1.200831e-06
+-9.600000e-03  1.859759e-02 -2.369717e-01 -2.369726e-01 -8.280981e-06 -1.027661e-05
+-9.600000e-03  1.870929e-02 -2.371461e-01 -2.371458e-01 -9.407361e-07 -8.705951e-07
+-9.600000e-03  1.882032e-02 -2.373217e-01 -2.373218e-01  5.050148e-07  5.368353e-07
+-9.600000e-03  1.893069e-02 -2.374929e-01 -2.374932e-01  3.659788e-07 -2.593269e-07
+-9.600000e-03  1.904043e-02 -2.376596e-01 -2.376595e-01 -1.168828e-08  1.815859e-07
+-9.600000e-03  1.914954e-02 -2.378215e-01 -2.378218e-01  4.746397e-07  4.170329e-07
+-9.600000e-03  1.925803e-02 -2.379793e-01 -2.379795e-01  1.602109e-07 -3.677621e-07
+-9.600000e-03  1.936592e-02 -2.381328e-01 -2.381329e-01 -3.318049e-07 -4.652268e-07
+-9.600000e-03  1.947320e-02 -2.382808e-01 -2.382814e-01  1.482090e-06  1.416808e-06
+-9.600000e-03  1.957990e-02 -2.384246e-01 -2.384244e-01 -9.685612e-07 -8.347219e-07
+-9.600000e-03  1.968602e-02 -2.385638e-01 -2.385640e-01 -8.533534e-08 -1.961882e-07
+-9.600000e-03  1.979157e-02 -2.386993e-01 -2.386996e-01  5.285210e-07  1.808062e-07
+-9.600000e-03  1.989656e-02 -2.388305e-01 -2.388305e-01  1.683036e-07  7.342690e-08
+-9.600000e-03  2.000100e-02 -2.389571e-01 -2.389570e-01  2.370328e-07  1.901709e-07
+-9.600000e-03  2.010490e-02 -2.390792e-01 -2.390792e-01  6.119247e-08  3.307635e-08
+-9.600000e-03  2.020826e-02 -2.391971e-01 -2.391972e-01  4.555904e-08  4.119786e-07
+-9.600000e-03  2.031110e-02 -2.393099e-01 -2.393102e-01  2.177290e-06  1.657900e-06
+-9.600000e-03  2.041341e-02 -2.394200e-01 -2.394205e-01  8.043880e-07 -1.473469e-07
+-9.600000e-03  2.051522e-02 -2.395304e-01 -2.395309e-01  3.957015e-06  3.918943e-06
+-9.600000e-03  2.061653e-02 -2.396311e-01 -2.396314e-01 -8.284069e-07 -8.852660e-07
+-9.600000e-03  2.071734e-02 -2.397268e-01 -2.397270e-01  3.887682e-07  1.177036e-08
+-9.600000e-03  2.081766e-02 -2.398221e-01 -2.398220e-01  1.424692e-06  1.471850e-06
+-9.600000e-03  2.091750e-02 -2.399110e-01 -2.399105e-01 -2.120852e-06 -1.989774e-06
+-9.600000e-03  2.101687e-02 -2.399914e-01 -2.399908e-01  1.114191e-05  1.147215e-05
+-9.600000e-03  2.111577e-02 -2.400646e-01 -2.400646e-01  2.492726e-06  3.558615e-06
+-9.600000e-03  2.121420e-02 -2.401391e-01 -2.401406e-01  2.469228e-05  2.198257e-05
+-9.600000e-03  2.131219e-02 -2.402284e-01 -2.402313e-01  9.493613e-06  9.418743e-06
+-9.600000e-03  2.140972e-02 -2.403381e-01 -2.403409e-01 -4.979897e-05 -5.570870e-05
+-9.600000e-03  2.150681e-02 -2.404530e-01 -2.404533e-01 -2.214834e-06 -2.011044e-06
+-9.600000e-03  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-9.600000e-03  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  1.000000e-06 -3.023934e-01 -3.023083e-01  5.466112e-05 -3.208746e-07
+-7.200000e-03  2.042241e-03 -2.018039e-01 -3.026494e-01 -2.474001e-07 -1.437271e-06
+-7.200000e-03  2.887751e-03 -2.025401e-01 -3.029838e-01 -7.672617e-07 -5.191127e-06
+-7.200000e-03  3.536534e-03 -2.032655e-01 -3.032968e-01  5.349589e-08 -4.819623e-08
+-7.200000e-03  4.083483e-03 -2.039806e-01 -3.036186e-01  3.172498e-08 -6.954627e-06
+-7.200000e-03  4.565355e-03 -2.046870e-01 -3.039283e-01 -1.286655e-08  3.147607e-08
+-7.200000e-03  5.001000e-03 -2.053845e-01 -3.042411e-01  1.202752e-07 -4.996212e-06
+-7.200000e-03  5.401617e-03 -2.060739e-01 -3.045458e-01 -1.593212e-08 -7.763057e-08
+-7.200000e-03  5.774503e-03 -2.067549e-01 -3.048510e-01  6.963639e-08 -3.393501e-06
+-7.200000e-03  6.124724e-03 -2.074279e-01 -3.051498e-01  2.750257e-09 -7.557469e-08
+-7.200000e-03  6.455972e-03 -2.080930e-01 -3.054481e-01  3.223878e-08 -2.499427e-06
+-7.200000e-03  6.771032e-03 -2.087503e-01 -3.057407e-01 -1.751332e-09 -8.090073e-09
+-7.200000e-03  7.072068e-03 -2.094000e-01 -3.060323e-01  1.531812e-08 -1.845408e-06
+-7.200000e-03  7.360801e-03 -2.100421e-01 -3.063186e-01  3.055070e-10 -7.426230e-08
+-7.200000e-03  7.638626e-03 -2.106767e-01 -3.066034e-01 -1.904342e-09 -1.017663e-06
+-7.200000e-03  7.906694e-03 -2.113041e-01 -3.068837e-01 -6.052496e-08 -3.530359e-07
+-7.200000e-03  8.165966e-03 -2.119238e-01 -3.071615e-01 -1.679867e-07 -4.213628e-08
+-7.200000e-03  8.417254e-03 -2.125365e-01 -3.074345e-01  4.292479e-08  2.369515e-06
+-7.200000e-03  8.661254e-03 -2.131422e-01 -3.077099e-01  3.634302e-08 -3.738918e-08
+-7.200000e-03  8.898565e-03 -2.137407e-01 -3.079741e-01  2.029024e-08  7.456541e-07
+-7.200000e-03  9.129709e-03 -2.143324e-01 -3.082360e-01 -4.227485e-08 -2.015004e-06
+-7.200000e-03  9.355143e-03 -2.149172e-01 -3.085003e-01  5.974476e-07 -3.523049e-06
+-7.200000e-03  9.575271e-03 -2.154951e-01 -3.087582e-01  9.160365e-09 -2.820357e-07
+-7.200000e-03  9.790450e-03 -2.160665e-01 -3.090138e-01  3.972469e-08 -9.862708e-07
+-7.200000e-03  1.000100e-02 -2.166313e-01 -2.166313e-01  1.262697e-09 -1.367479e-07
+-7.200000e-03  1.020721e-02 -2.171897e-01 -2.171899e-01  4.061923e-09 -9.240824e-09
+-7.200000e-03  1.040933e-02 -2.177420e-01 -2.177421e-01  9.912583e-08  9.309610e-08
+-7.200000e-03  1.060760e-02 -2.182867e-01 -2.182868e-01  1.779609e-05  1.771243e-05
+-7.200000e-03  1.080223e-02 -2.188251e-01 -2.188253e-01 -3.567721e-07 -6.720026e-07
+-7.200000e-03  1.099342e-02 -2.193599e-01 -2.193598e-01  1.283880e-08  1.117209e-07
+-7.200000e-03  1.118134e-02 -2.198888e-01 -2.198888e-01  1.091157e-07  4.540449e-07
+-7.200000e-03  1.136615e-02 -2.204130e-01 -2.204137e-01  1.170905e-07 -8.446556e-07
+-7.200000e-03  1.154801e-02 -2.209339e-01 -2.209347e-01  1.817827e-06  1.927923e-06
+-7.200000e-03  1.172704e-02 -2.214651e-01 -2.214666e-01 -3.956918e-07  4.320514e-07
+-7.200000e-03  1.190338e-02 -2.222981e-01 -2.222981e-01  1.501625e-04  1.472448e-04
+-7.200000e-03  1.207715e-02 -2.221326e-01 -2.221338e-01  1.398544e-04  1.377555e-04
+-7.200000e-03  1.224845e-02 -2.228717e-01 -2.228754e-01  8.267937e-06  8.687340e-06
+-7.200000e-03  1.241739e-02 -2.233931e-01 -2.233939e-01 -5.285920e-07  4.858512e-07
+-7.200000e-03  1.258406e-02 -2.238837e-01 -2.238841e-01  1.417716e-04  1.415187e-04
+-7.200000e-03  1.274855e-02 -2.243846e-01 -2.243846e-01 -5.193628e-08 -1.306670e-07
+-7.200000e-03  1.291094e-02 -2.248837e-01 -2.248836e-01  1.022894e-05  1.043959e-05
+-7.200000e-03  1.307132e-02 -2.254074e-01 -2.254074e-01 -1.177406e-08  1.517869e-08
+-7.200000e-03  1.322976e-02 -2.259730e-01 -2.259733e-01  2.072494e-06  1.666506e-06
+-7.200000e-03  1.338632e-02 -2.268442e-01 -3.146400e-01  4.073670e-07  5.048086e-07
+-7.200000e-03  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  1.384537e-02 -2.289993e-01 -3.129698e-01  2.624081e-05  2.423447e-05
+-7.200000e-03  1.399505e-02 -2.291935e-01 -3.124196e-01  2.876405e-06 -6.309003e-06
+-7.200000e-03  1.414314e-02 -2.293706e-01 -3.119088e-01 -1.497625e-05  1.862390e-05
+-7.200000e-03  1.428969e-02 -2.295349e-01 -3.113934e-01 -8.042266e-06 -5.337104e-05
+-7.200000e-03  1.443476e-02 -2.297698e-01 -3.106469e-01  1.864803e-05  6.922976e-05
+-7.200000e-03  1.457838e-02 -2.299354e-01 -2.299349e-01 -2.213156e-06 -2.124755e-06
+-7.200000e-03  1.472060e-02 -2.302373e-01 -2.302372e-01 -5.970060e-05 -5.977146e-05
+-7.200000e-03  1.486146e-02 -2.304680e-01 -2.304678e-01  4.140754e-06  4.455729e-06
+-7.200000e-03  1.500100e-02 -2.307043e-01 -2.307043e-01  1.222112e-04  1.217865e-04
+-7.200000e-03  1.513925e-02 -2.310769e-01 -2.310768e-01  2.563030e-07  1.937780e-07
+-7.200000e-03  1.527625e-02 -2.313987e-01 -2.313986e-01 -1.016888e-05 -1.003855e-05
+-7.200000e-03  1.541204e-02 -2.316879e-01 -2.316880e-01  1.187009e-05  1.167437e-05
+-7.200000e-03  1.554663e-02 -2.320321e-01 -2.320320e-01 -2.236963e-08  5.282506e-09
+-7.200000e-03  1.568007e-02 -2.323609e-01 -2.323610e-01 -9.426479e-08 -4.168936e-08
+-7.200000e-03  1.581239e-02 -2.326882e-01 -2.326883e-01  5.576362e-08 -3.141818e-08
+-7.200000e-03  1.594361e-02 -2.330134e-01 -2.330134e-01 -6.787374e-08 -4.679970e-08
+-7.200000e-03  1.607375e-02 -2.333351e-01 -2.333351e-01  2.812100e-08  1.160981e-07
+-7.200000e-03  1.620285e-02 -2.336534e-01 -2.336535e-01  5.431892e-08 -7.731378e-08
+-7.200000e-03  1.633093e-02 -2.339676e-01 -2.339677e-01  3.966190e-08 -3.662193e-08
+-7.200000e-03  1.645801e-02 -2.342772e-01 -2.342773e-01 -6.213003e-08 -1.325179e-08
+-7.200000e-03  1.658412e-02 -2.345822e-01 -2.345824e-01  2.697863e-07  2.221977e-09
+-7.200000e-03  1.670928e-02 -2.348829e-01 -2.348829e-01  1.032891e-07 -1.001694e-08
+-7.200000e-03  1.683351e-02 -2.351796e-01 -2.351796e-01 -2.315948e-09 -1.196273e-07
+-7.200000e-03  1.695682e-02 -2.354673e-01 -2.354675e-01  6.578164e-07  2.850199e-07
+-7.200000e-03  1.707925e-02 -2.357533e-01 -2.357535e-01  1.281245e-07  5.525128e-08
+-7.200000e-03  1.720081e-02 -2.360346e-01 -2.360352e-01 -4.638107e-08 -1.754717e-06
+-7.200000e-03  1.732151e-02 -2.363092e-01 -2.363073e-01  1.790346e-06  3.640085e-06
+-7.200000e-03  1.744137e-02 -2.365819e-01 -2.365825e-01  3.031665e-06  2.873996e-06
+-7.200000e-03  1.756042e-02 -2.368433e-01 -2.368430e-01  2.255841e-06  1.728465e-06
+-7.200000e-03  1.767867e-02 -2.371024e-01 -2.371041e-01  8.535940e-07  7.527793e-07
+-7.200000e-03  1.779613e-02 -2.373576e-01 -2.373574e-01 -3.424822e-08  3.106046e-08
+-7.200000e-03  1.791282e-02 -2.376073e-01 -2.376075e-01 -4.581098e-07 -3.079228e-07
+-7.200000e-03  1.802876e-02 -2.378515e-01 -2.378517e-01 -5.450521e-07 -1.197144e-06
+-7.200000e-03  1.814395e-02 -2.380906e-01 -2.380906e-01 -3.640960e-07 -4.699935e-07
+-7.200000e-03  1.825842e-02 -2.383245e-01 -2.383248e-01  8.776444e-07  5.937773e-07
+-7.200000e-03  1.837217e-02 -2.385534e-01 -2.385536e-01  6.848550e-08  8.318027e-08
+-7.200000e-03  1.848523e-02 -2.387776e-01 -2.387777e-01  1.943947e-07 -5.825511e-08
+-7.200000e-03  1.859759e-02 -2.389961e-01 -2.389960e-01  2.564592e-07  1.185372e-07
+-7.200000e-03  1.870929e-02 -2.392090e-01 -2.392091e-01  2.941578e-07  6.266589e-07
+-7.200000e-03  1.882032e-02 -2.394171e-01 -2.394176e-01  8.468039e-07 -2.006213e-07
+-7.200000e-03  1.893069e-02 -2.396212e-01 -2.396216e-01 -8.320776e-07 -8.473618e-07
+-7.200000e-03  1.904043e-02 -2.398200e-01 -2.398199e-01  7.832768e-07  7.826594e-07
+-7.200000e-03  1.914954e-02 -2.399902e-01 -2.399906e-01  4.162196e-05  4.174722e-05
+-7.200000e-03  1.925803e-02 -2.405938e-01 -2.405919e-01 -1.375712e-04 -1.384386e-04
+-7.200000e-03  1.936592e-02 -2.407034e-01 -2.407040e-01 -2.086051e-05 -2.273215e-05
+-7.200000e-03  1.947320e-02 -2.406949e-01 -2.406968e-01  4.409567e-05  4.196303e-05
+-7.200000e-03  1.957990e-02 -2.407944e-01 -2.407949e-01  5.607910e-06  5.674292e-06
+-7.200000e-03  1.968602e-02 -2.409731e-01 -2.409729e-01  1.636126e-06  1.329937e-06
+-7.200000e-03  1.979157e-02 -2.411338e-01 -2.411341e-01  4.203346e-07  1.050495e-06
+-7.200000e-03  1.989656e-02 -2.412923e-01 -2.412930e-01  2.720542e-06  9.176430e-07
+-7.200000e-03  2.000100e-02 -2.414478e-01 -2.414488e-01  3.473639e-08 -5.889632e-07
+-7.200000e-03  2.010490e-02 -2.416004e-01 -2.416011e-01  9.274801e-07  3.781967e-07
+-7.200000e-03  2.020826e-02 -2.417486e-01 -2.417487e-01  1.939353e-07 -1.569774e-07
+-7.200000e-03  2.031110e-02 -2.418927e-01 -2.418925e-01  5.159615e-07  3.748277e-07
+-7.200000e-03  2.041341e-02 -2.420322e-01 -2.420321e-01 -2.201082e-07  2.460195e-07
+-7.200000e-03  2.051522e-02 -2.421675e-01 -2.421680e-01  2.255512e-06  2.572990e-06
+-7.200000e-03  2.061653e-02 -2.422981e-01 -2.422990e-01  3.166150e-06  1.285254e-07
+-7.200000e-03  2.071734e-02 -2.424277e-01 -2.424296e-01 -3.564969e-07 -1.032586e-06
+-7.200000e-03  2.081766e-02 -2.425531e-01 -2.425542e-01  9.955597e-07  4.369597e-07
+-7.200000e-03  2.091750e-02 -2.426739e-01 -2.426747e-01  5.004670e-07 -4.947402e-07
+-7.200000e-03  2.101687e-02 -2.427902e-01 -2.427903e-01  5.497017e-08 -1.586541e-07
+-7.200000e-03  2.111577e-02 -2.429018e-01 -2.429011e-01  6.764852e-07  1.319545e-07
+-7.200000e-03  2.121420e-02 -2.430097e-01 -2.430094e-01 -3.733241e-07  4.489410e-07
+-7.200000e-03  2.131219e-02 -2.431137e-01 -2.431143e-01  2.047046e-06  3.128113e-06
+-7.200000e-03  2.140972e-02 -2.432143e-01 -2.432156e-01  5.307885e-06  2.414070e-06
+-7.200000e-03  2.150681e-02 -2.433119e-01 -2.433138e-01  2.610119e-06 -1.036410e-06
+-7.200000e-03  2.160347e-02 -2.434072e-01 -2.434093e-01 -2.460251e-06 -3.195799e-06
+-7.200000e-03  2.169969e-02 -2.434987e-01 -2.435006e-01  1.939060e-07 -1.161356e-07
+-7.200000e-03  2.179549e-02 -2.435862e-01 -2.435875e-01  1.459291e-06 -3.442860e-07
+-7.200000e-03  2.189088e-02 -2.436696e-01 -2.436702e-01  8.182514e-07 -5.235016e-07
+-7.200000e-03  2.198584e-02 -2.437524e-01 -2.437527e-01 -7.129567e-07 -9.486426e-07
+-7.200000e-03  2.208040e-02 -2.438404e-01 -2.438401e-01 -1.561467e-05 -1.622924e-05
+-7.200000e-03  2.217456e-02 -2.439288e-01 -2.439272e-01 -3.247683e-05 -3.256333e-05
+-7.200000e-03  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-7.200000e-03  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  1.000000e-06 -3.008018e-01 -3.011437e-01 -1.636904e-05  3.325284e-06
+-4.800000e-03  2.042241e-03 -2.008920e-01 -3.014457e-01 -2.680985e-06 -3.051393e-05
+-4.800000e-03  2.887751e-03 -2.016429e-01 -3.018374e-01 -1.820124e-06  2.042402e-07
+-4.800000e-03  3.536534e-03 -2.024095e-01 -3.021022e-01  1.495842e-07 -1.757393e-06
+-4.800000e-03  4.083483e-03 -2.031650e-01 -3.024224e-01 -3.814362e-07 -1.262898e-05
+-4.800000e-03  4.565355e-03 -2.039121e-01 -3.027160e-01 -2.606458e-08  1.713190e-07
+-4.800000e-03  5.001000e-03 -2.046502e-01 -3.030235e-01  1.641739e-07 -1.025278e-05
+-4.800000e-03  5.401617e-03 -2.053802e-01 -3.033183e-01 -1.798906e-08 -3.851156e-07
+-4.800000e-03  5.774503e-03 -2.061019e-01 -3.036178e-01  1.392968e-07 -5.343867e-06
+-4.800000e-03  6.124724e-03 -2.068157e-01 -3.039095e-01 -1.736246e-08 -8.335926e-07
+-4.800000e-03  6.455972e-03 -2.075216e-01 -3.042023e-01  7.992008e-08 -2.695523e-06
+-4.800000e-03  6.771032e-03 -2.082197e-01 -3.044896e-01  2.863068e-09 -7.388522e-07
+-4.800000e-03  7.072068e-03 -2.089103e-01 -3.047765e-01  4.381675e-08 -1.728748e-06
+-4.800000e-03  7.360801e-03 -2.095932e-01 -3.050587e-01 -1.362663e-09 -4.996133e-07
+-4.800000e-03  7.638626e-03 -2.102687e-01 -3.053399e-01  5.362227e-08 -1.476203e-06
+-4.800000e-03  7.906694e-03 -2.109369e-01 -3.056166e-01 -5.255544e-09 -1.848898e-07
+-4.800000e-03  8.165966e-03 -2.115977e-01 -3.058920e-01  7.113491e-07 -8.491814e-07
+-4.800000e-03  8.417254e-03 -2.122513e-01 -3.061639e-01  4.407389e-08 -2.120650e-06
+-4.800000e-03  8.661254e-03 -2.128979e-01 -3.064339e-01 -8.704190e-08 -1.525543e-06
+-4.800000e-03  8.898565e-03 -2.135374e-01 -3.067002e-01  1.987426e-08 -2.819480e-06
+-4.800000e-03  9.129709e-03 -2.141699e-01 -3.069593e-01  6.313640e-08 -9.078115e-07
+-4.800000e-03  9.355143e-03 -2.147956e-01 -2.147957e-01  7.893269e-09 -2.048668e-07
+-4.800000e-03  9.575271e-03 -2.154146e-01 -2.154150e-01 -2.879154e-07 -3.016248e-07
+-4.800000e-03  9.790450e-03 -2.160266e-01 -2.160268e-01  4.891418e-08  1.407381e-08
+-4.800000e-03  1.000100e-02 -2.166323e-01 -2.166324e-01  2.854509e-09 -1.532279e-07
+-4.800000e-03  1.020721e-02 -2.172316e-01 -2.172319e-01 -1.718938e-09 -1.635381e-07
+-4.800000e-03  1.040933e-02 -2.178271e-01 -2.178271e-01 -2.916565e-06 -2.971756e-06
+-4.800000e-03  1.060760e-02 -2.184068e-01 -2.184071e-01  1.571796e-06  9.930693e-07
+-4.800000e-03  1.080223e-02 -2.189897e-01 -2.189898e-01  1.319844e-07  4.754192e-08
+-4.800000e-03  1.099342e-02 -2.195648e-01 -2.195650e-01  3.243645e-09  1.263415e-07
+-4.800000e-03  1.118134e-02 -2.201346e-01 -2.201346e-01  6.976707e-08 -4.626650e-08
+-4.800000e-03  1.136615e-02 -2.207005e-01 -2.207006e-01  3.611625e-08 -3.105551e-07
+-4.800000e-03  1.154801e-02 -2.212663e-01 -2.212715e-01  2.226340e-06 -8.328391e-06
+-4.800000e-03  1.172704e-02 -2.218568e-01 -2.218502e-01 -3.023438e-06  4.076328e-06
+-4.800000e-03  1.190338e-02 -2.221775e-01 -2.221780e-01  5.245253e-05  5.182936e-05
+-4.800000e-03  1.207715e-02 -2.228306e-01 -2.228325e-01  2.336056e-06  8.823119e-06
+-4.800000e-03  1.224845e-02 -2.233947e-01 -2.233954e-01 -2.799691e-07  5.186257e-07
+-4.800000e-03  1.241739e-02 -2.239417e-01 -2.239422e-01 -8.678853e-06 -9.216766e-06
+-4.800000e-03  1.258406e-02 -2.244708e-01 -2.244709e-01  1.159946e-07 -2.244217e-08
+-4.800000e-03  1.274855e-02 -2.250117e-01 -2.250118e-01 -3.195553e-08  9.701048e-09
+-4.800000e-03  1.291094e-02 -2.255635e-01 -2.255634e-01  2.439729e-07  4.059713e-07
+-4.800000e-03  1.307132e-02 -2.261440e-01 -2.261445e-01  5.318136e-07  2.233646e-07
+-4.800000e-03  1.322976e-02 -2.268355e-01 -2.268358e-01 -7.356825e-09 -1.268649e-07
+-4.800000e-03  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  1.354106e-02 -2.291128e-01 -3.122755e-01  1.024510e-04 -2.929359e-06
+-4.800000e-03  1.369406e-02 -2.293615e-01 -3.117039e-01  6.555270e-05  4.792936e-05
+-4.800000e-03  1.384537e-02 -2.296063e-01 -3.112123e-01  7.503463e-07 -4.526972e-05
+-4.800000e-03  1.399505e-02 -2.298303e-01 -3.105364e-01 -1.130957e-06 -2.458502e-06
+-4.800000e-03  1.414314e-02 -2.300032e-01 -3.100034e-01 -5.551010e-05  6.366992e-05
+-4.800000e-03  1.428969e-02 -2.302287e-01 -2.302279e-01  1.547029e-05  1.648354e-05
+-4.800000e-03  1.443476e-02 -2.304963e-01 -2.304960e-01  6.797658e-06  7.474060e-06
+-4.800000e-03  1.457838e-02 -2.307504e-01 -2.307507e-01  2.076853e-05  2.040191e-05
+-4.800000e-03  1.472060e-02 -2.311220e-01 -2.311217e-01 -1.996172e-07 -1.482266e-07
+-4.800000e-03  1.486146e-02 -2.314492e-01 -2.314493e-01 -6.622852e-05 -6.630043e-05
+-4.800000e-03  1.500100e-02 -2.318245e-01 -2.318245e-01 -1.557116e-07 -1.460934e-07
+-4.800000e-03  1.513925e-02 -2.321996e-01 -2.321996e-01 -7.835040e-08 -1.778575e-07
+-4.800000e-03  1.527625e-02 -2.325781e-01 -2.325781e-01  5.437632e-07  3.687959e-07
+-4.800000e-03  1.541204e-02 -2.329583e-01 -2.329583e-01  6.029247e-08  5.829328e-08
+-4.800000e-03  1.554663e-02 -2.333369e-01 -2.333370e-01 -2.643500e-08  2.344321e-08
+-4.800000e-03  1.568007e-02 -2.337130e-01 -2.337132e-01 -3.192363e-08 -8.720693e-08
+-4.800000e-03  1.581239e-02 -2.340859e-01 -2.340858e-01  2.374435e-08  1.056909e-07
+-4.800000e-03  1.594361e-02 -2.344542e-01 -2.344543e-01  3.875756e-07  2.060794e-07
+-4.800000e-03  1.607375e-02 -2.348184e-01 -2.348185e-01  1.199056e-07 -3.229262e-08
+-4.800000e-03  1.620285e-02 -2.351784e-01 -2.351784e-01  4.870134e-09 -1.173056e-07
+-4.800000e-03  1.633093e-02 -2.355307e-01 -2.355310e-01  3.616859e-07 -7.447762e-08
+-4.800000e-03  1.645801e-02 -2.358801e-01 -2.358802e-01  1.486107e-07 -1.419811e-08
+-4.800000e-03  1.658412e-02 -2.362238e-01 -2.362246e-01 -5.781143e-07 -3.606223e-07
+-4.800000e-03  1.670928e-02 -2.365622e-01 -2.365603e-01  2.567883e-06  3.828985e-06
+-4.800000e-03  1.683351e-02 -2.368971e-01 -2.368970e-01 -2.368979e-06 -2.228456e-06
+-4.800000e-03  1.695682e-02 -2.372186e-01 -2.372204e-01  2.168054e-06  9.512302e-07
+-4.800000e-03  1.707925e-02 -2.375420e-01 -2.375419e-01 -9.700858e-08 -7.995488e-07
+-4.800000e-03  1.720081e-02 -2.378578e-01 -2.378580e-01  1.232229e-07 -2.512636e-07
+-4.800000e-03  1.732151e-02 -2.381681e-01 -2.381682e-01 -2.208913e-07 -1.091392e-07
+-4.800000e-03  1.744137e-02 -2.384724e-01 -2.384726e-01  3.492461e-07 -3.538460e-07
+-4.800000e-03  1.756042e-02 -2.387716e-01 -2.387717e-01  2.383652e-07 -3.925788e-08
+-4.800000e-03  1.767867e-02 -2.390643e-01 -2.390642e-01  2.030281e-07  1.385556e-07
+-4.800000e-03  1.779613e-02 -2.393516e-01 -2.393520e-01  3.338590e-07 -6.547573e-07
+-4.800000e-03  1.791282e-02 -2.396319e-01 -2.396323e-01  1.233887e-07 -1.267141e-08
+-4.800000e-03  1.802876e-02 -2.399074e-01 -2.399073e-01 -1.188830e-06 -1.083227e-06
+-4.800000e-03  1.814395e-02 -2.401635e-01 -2.401647e-01  4.247177e-06  2.905290e-06
+-4.800000e-03  1.825842e-02 -2.408037e-01 -2.408037e-01 -1.555761e-05 -1.479674e-05
+-4.800000e-03  1.837217e-02 -2.407874e-01 -2.407882e-01  2.091492e-05  2.059857e-05
+-4.800000e-03  1.848523e-02 -2.410098e-01 -2.410097e-01  2.170002e-06  2.171440e-06
+-4.800000e-03  1.859759e-02 -2.412554e-01 -2.412560e-01  3.821135e-06  2.656129e-06
+-4.800000e-03  1.870929e-02 -2.414961e-01 -2.414971e-01 -6.901849e-08 -8.086489e-08
+-4.800000e-03  1.882032e-02 -2.417335e-01 -2.417337e-01  1.477218e-07 -3.248480e-07
+-4.800000e-03  1.893069e-02 -2.419656e-01 -2.419654e-01  2.804090e-07  7.386636e-08
+-4.800000e-03  1.904043e-02 -2.421922e-01 -2.421928e-01  3.278614e-06  2.898526e-06
+-4.800000e-03  1.914954e-02 -2.424157e-01 -2.424178e-01 -5.044611e-07 -1.689348e-06
+-4.800000e-03  1.925803e-02 -2.426364e-01 -2.426373e-01 -4.327010e-08 -1.440921e-06
+-4.800000e-03  1.936592e-02 -2.428493e-01 -2.428485e-01  8.545423e-07  9.814201e-07
+-4.800000e-03  1.947320e-02 -2.430569e-01 -2.430572e-01  7.648765e-08  1.558972e-06
+-4.800000e-03  1.957990e-02 -2.432608e-01 -2.432626e-01  4.551800e-06  1.268096e-07
+-4.800000e-03  1.968602e-02 -2.434634e-01 -2.434656e-01  1.189431e-07  1.001992e-07
+-4.800000e-03  1.979157e-02 -2.436712e-01 -2.436719e-01 -2.523441e-06 -3.850696e-06
+-4.800000e-03  1.989656e-02 -2.438751e-01 -2.438738e-01 -3.916356e-05 -3.770843e-05
+-4.800000e-03  2.000100e-02 -2.439158e-01 -2.439163e-01  7.517846e-05  7.501315e-05
+-4.800000e-03  2.010490e-02 -2.441674e-01 -2.441691e-01  1.194740e-07 -3.154137e-06
+-4.800000e-03  2.020826e-02 -2.443528e-01 -2.443566e-01  5.490068e-07 -1.966308e-06
+-4.800000e-03  2.031110e-02 -2.445282e-01 -2.445311e-01  1.833867e-06 -9.011695e-07
+-4.800000e-03  2.041341e-02 -2.446966e-01 -2.446968e-01  2.439896e-07 -5.999517e-07
+-4.800000e-03  2.051522e-02 -2.448565e-01 -2.448557e-01  7.641007e-09 -1.220625e-06
+-4.800000e-03  2.061653e-02 -2.450094e-01 -2.450104e-01  1.654173e-06  6.469764e-06
+-4.800000e-03  2.071734e-02 -2.451580e-01 -2.451619e-01  1.448731e-05  5.551228e-06
+-4.800000e-03  2.081766e-02 -2.453036e-01 -2.453096e-01  5.669917e-07 -5.546608e-06
+-4.800000e-03  2.091750e-02 -2.454243e-01 -2.454306e-01  8.396626e-06  7.378931e-06
+-4.800000e-03  2.101687e-02 -2.456557e-01 -2.456562e-01  1.990159e-05  1.767799e-05
+-4.800000e-03  2.111577e-02 -2.457609e-01 -2.457598e-01  4.312024e-06  4.246281e-06
+-4.800000e-03  2.121420e-02 -2.458843e-01 -2.458825e-01 -1.182636e-07  1.045010e-06
+-4.800000e-03  2.131219e-02 -2.460066e-01 -2.460086e-01  7.827830e-06  1.699013e-05
+-4.800000e-03  2.140972e-02 -2.461298e-01 -2.461377e-01  2.780077e-05  8.798723e-06
+-4.800000e-03  2.150681e-02 -2.462538e-01 -2.462667e-01  3.921102e-06 -1.304904e-05
+-4.800000e-03  2.160347e-02 -2.463919e-01 -2.464069e-01 -8.164646e-06 -8.740543e-06
+-4.800000e-03  2.169969e-02 -2.465340e-01 -2.465430e-01 -8.416679e-06 -2.381684e-05
+-4.800000e-03  2.179549e-02 -2.465771e-01 -2.465843e-01 -7.783909e-06 -2.266249e-05
+-4.800000e-03  2.189088e-02 -2.467148e-01 -2.467140e-01 -1.681845e-07 -2.178221e-07
+-4.800000e-03  2.198584e-02 -2.468230e-01 -2.468184e-01  3.200438e-06  1.138617e-06
+-4.800000e-03  2.208040e-02 -2.469215e-01 -2.469193e-01 -4.071903e-07  1.879238e-05
+-4.800000e-03  2.217456e-02 -2.470227e-01 -2.470293e-01  5.220757e-05  5.468956e-05
+-4.800000e-03  2.226832e-02 -2.470586e-01 -2.470728e-01  1.110651e-04  6.240052e-05
+-4.800000e-03  2.236168e-02 -2.472189e-01 -2.472509e-01 -8.577479e-06 -4.845761e-05
+-4.800000e-03  2.245466e-02 -2.473242e-01 -2.473658e-01  1.043765e-05  1.333530e-05
+-4.800000e-03  2.254725e-02 -2.474282e-01 -2.474696e-01  5.473840e-05  1.765249e-05
+-4.800000e-03  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-4.800000e-03  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  1.000000e-06 -3.004680e-01 -3.004502e-01 -4.225994e-06  2.792352e-07
+-2.400000e-03  2.042241e-03 -2.003174e-01 -3.007200e-01  1.759911e-06  1.126332e-04
+-2.400000e-03  2.887751e-03 -2.011550e-01 -3.009928e-01 -1.798300e-05 -3.083978e-05
+-2.400000e-03  3.536534e-03 -2.019402e-01 -3.014231e-01  3.960612e-06 -2.764110e-05
+-2.400000e-03  4.083483e-03 -2.027313e-01 -3.016581e-01  1.705630e-08 -1.136702e-06
+-2.400000e-03  4.565355e-03 -2.035149e-01 -3.019623e-01 -4.709622e-07 -3.205605e-06
+-2.400000e-03  5.001000e-03 -2.042899e-01 -3.022381e-01  5.819427e-08 -1.135244e-06
+-2.400000e-03  5.401617e-03 -2.050566e-01 -3.025322e-01 -2.230491e-08 -9.437010e-06
+-2.400000e-03  5.774503e-03 -2.058155e-01 -3.028118e-01 -1.311871e-08  9.864027e-08
+-2.400000e-03  6.124724e-03 -2.065663e-01 -3.030987e-01  9.848737e-08 -6.720390e-06
+-2.400000e-03  6.455972e-03 -2.073095e-01 -3.033772e-01  3.803742e-09 -5.031792e-07
+-2.400000e-03  6.771032e-03 -2.080450e-01 -3.036583e-01  7.273345e-08 -3.407587e-06
+-2.400000e-03  7.072068e-03 -2.087730e-01 -3.039339e-01 -7.665461e-09 -7.720144e-07
+-2.400000e-03  7.360801e-03 -2.094935e-01 -3.042099e-01  3.015071e-08 -1.694535e-06
+-2.400000e-03  7.638626e-03 -2.102067e-01 -3.044816e-01  2.091724e-08 -6.454711e-07
+-2.400000e-03  7.906694e-03 -2.109126e-01 -3.047527e-01  2.700332e-08 -9.923621e-07
+-2.400000e-03  8.165966e-03 -2.116114e-01 -3.050196e-01  7.112805e-08 -2.677487e-07
+-2.400000e-03  8.417254e-03 -2.123027e-01 -3.052895e-01 -3.868559e-09 -1.046687e-06
+-2.400000e-03  8.661254e-03 -2.129872e-01 -2.129873e-01 -5.476227e-09 -3.089718e-07
+-2.400000e-03  8.898565e-03 -2.136647e-01 -3.058079e-01 -2.617179e-08  6.028545e-06
+-2.400000e-03  9.129709e-03 -2.143353e-01 -3.060712e-01  3.445927e-08 -1.904809e-06
+-2.400000e-03  9.355143e-03 -2.149990e-01 -2.149997e-01  2.518370e-08 -1.197529e-06
+-2.400000e-03  9.575271e-03 -2.156560e-01 -3.065808e-01 -2.484577e-09 -5.409232e-08
+-2.400000e-03  9.790450e-03 -2.163065e-01 -2.163069e-01 -1.434159e-08 -6.100629e-07
+-2.400000e-03  1.000100e-02 -2.169504e-01 -2.169504e-01  5.711634e-08 -5.371441e-08
+-2.400000e-03  1.020721e-02 -2.175901e-01 -2.175903e-01 -3.857187e-07 -3.769752e-07
+-2.400000e-03  1.040933e-02 -2.182151e-01 -2.182153e-01  1.606128e-06  1.516064e-06
+-2.400000e-03  1.060760e-02 -2.188422e-01 -2.188423e-01  2.689670e-08  1.196648e-08
+-2.400000e-03  1.080223e-02 -2.194614e-01 -2.194615e-01  4.710203e-08  5.917537e-08
+-2.400000e-03  1.099342e-02 -2.200751e-01 -2.200752e-01  8.029793e-08 -1.544721e-07
+-2.400000e-03  1.118134e-02 -2.206843e-01 -2.206845e-01 -2.199428e-08 -3.182327e-07
+-2.400000e-03  1.136615e-02 -2.212930e-01 -2.212977e-01 -1.413801e-07 -9.824984e-06
+-2.400000e-03  1.154801e-02 -2.219466e-01 -2.219426e-01  8.970175e-07  9.403043e-06
+-2.400000e-03  1.172704e-02 -2.222398e-01 -2.222396e-01  3.769672e-05  3.782390e-05
+-2.400000e-03  1.190338e-02 -2.230129e-01 -2.230192e-01 -1.489578e-07 -7.900547e-06
+-2.400000e-03  1.207715e-02 -2.236085e-01 -2.236080e-01 -7.502612e-07  7.739834e-07
+-2.400000e-03  1.224845e-02 -2.241737e-01 -2.241735e-01 -2.776799e-05 -2.796910e-05
+-2.400000e-03  1.241739e-02 -2.247688e-01 -2.247689e-01  1.446809e-08 -3.619764e-07
+-2.400000e-03  1.258406e-02 -2.253509e-01 -2.253509e-01  8.137434e-07  8.105100e-07
+-2.400000e-03  1.274855e-02 -2.259434e-01 -2.259436e-01  2.691098e-07  3.264742e-07
+-2.400000e-03  1.291094e-02 -2.265665e-01 -2.265666e-01  6.733727e-08 -1.841395e-07
+-2.400000e-03  1.307132e-02 -2.273109e-01 -2.273109e-01  7.244450e-07  7.646209e-07
+-2.400000e-03  1.322976e-02 -2.293125e-01 -3.118666e-01 -5.128900e-04 -9.963929e-05
+-2.400000e-03  1.338632e-02 -2.294869e-01 -3.110295e-01  2.903740e-05 -5.618520e-06
+-2.400000e-03  1.354106e-02 -2.298108e-01 -3.104261e-01  6.561645e-05  3.864554e-05
+-2.400000e-03  1.369406e-02 -2.300654e-01 -3.097903e-01  2.342602e-05 -4.818068e-05
+-2.400000e-03  1.384537e-02 -2.302723e-01 -3.092214e-01  1.168448e-05 -3.794204e-05
+-2.400000e-03  1.399505e-02 -2.305402e-01 -2.305396e-01 -2.230115e-05 -2.129062e-05
+-2.400000e-03  1.414314e-02 -2.307790e-01 -2.307784e-01 -7.815282e-05 -7.789088e-05
+-2.400000e-03  1.428969e-02 -2.311496e-01 -2.311496e-01 -5.048819e-06 -5.106078e-06
+-2.400000e-03  1.443476e-02 -2.315085e-01 -2.315083e-01  2.734666e-06  2.854947e-06
+-2.400000e-03  1.457838e-02 -2.319150e-01 -2.319150e-01  7.060173e-08 -7.540050e-09
+-2.400000e-03  1.472060e-02 -2.323354e-01 -2.323354e-01 -3.269572e-07 -1.667870e-07
+-2.400000e-03  1.486146e-02 -2.327657e-01 -2.327658e-01  7.705825e-08  1.192426e-07
+-2.400000e-03  1.500100e-02 -2.331990e-01 -2.331990e-01  2.282639e-08 -1.005164e-07
+-2.400000e-03  1.513925e-02 -2.336318e-01 -2.336319e-01  1.706579e-07 -1.811148e-08
+-2.400000e-03  1.527625e-02 -2.340627e-01 -2.340626e-01  3.331195e-09  1.541470e-08
+-2.400000e-03  1.541204e-02 -2.344897e-01 -2.344897e-01  4.325526e-07  1.991209e-07
+-2.400000e-03  1.554663e-02 -2.349129e-01 -2.349129e-01  7.761078e-08 -8.468146e-08
+-2.400000e-03  1.568007e-02 -2.353299e-01 -2.353300e-01 -4.092841e-07 -2.645563e-07
+-2.400000e-03  1.581239e-02 -2.357434e-01 -2.357436e-01  1.274281e-07  5.003789e-08
+-2.400000e-03  1.594361e-02 -2.361509e-01 -2.361510e-01  8.275038e-08 -2.023860e-07
+-2.400000e-03  1.607375e-02 -2.365537e-01 -2.365544e-01 -1.272577e-06 -2.984782e-06
+-2.400000e-03  1.620285e-02 -2.369502e-01 -2.369500e-01  1.387111e-06  6.415150e-07
+-2.400000e-03  1.633093e-02 -2.373352e-01 -2.373354e-01  3.603459e-06  1.584457e-06
+-2.400000e-03  1.645801e-02 -2.377230e-01 -2.377230e-01 -1.046321e-07  9.694234e-07
+-2.400000e-03  1.658412e-02 -2.381009e-01 -2.381008e-01  3.580486e-07  4.148048e-07
+-2.400000e-03  1.670928e-02 -2.384727e-01 -2.384729e-01  3.666271e-07 -3.152456e-07
+-2.400000e-03  1.683351e-02 -2.388390e-01 -2.388390e-01  1.043833e-07 -3.047743e-10
+-2.400000e-03  1.695682e-02 -2.391981e-01 -2.391982e-01 -4.944924e-08  3.834383e-07
+-2.400000e-03  1.707925e-02 -2.395505e-01 -2.395511e-01 -9.205222e-08 -1.402507e-07
+-2.400000e-03  1.720081e-02 -2.398961e-01 -2.398960e-01 -1.812732e-07 -7.302262e-08
+-2.400000e-03  1.732151e-02 -2.402187e-01 -2.402190e-01  6.847392e-06  6.471993e-06
+-2.400000e-03  1.744137e-02 -2.409294e-01 -2.409290e-01  1.637724e-06  2.289153e-06
+-2.400000e-03  1.756042e-02 -2.409431e-01 -2.409432e-01 -3.381816e-05 -3.438842e-05
+-2.400000e-03  1.767867e-02 -2.412688e-01 -2.412695e-01  1.945388e-06  4.644357e-07
+-2.400000e-03  1.779613e-02 -2.415801e-01 -2.415809e-01  7.252930e-07  3.723756e-07
+-2.400000e-03  1.791282e-02 -2.418883e-01 -2.418881e-01  5.488439e-07  3.523628e-07
+-2.400000e-03  1.802876e-02 -2.421904e-01 -2.421911e-01  2.831559e-06  2.341512e-06
+-2.400000e-03  1.814395e-02 -2.424888e-01 -2.424910e-01 -1.430295e-07 -8.875384e-07
+-2.400000e-03  1.825842e-02 -2.427828e-01 -2.427829e-01 -3.252928e-07 -6.638884e-07
+-2.400000e-03  1.837217e-02 -2.430678e-01 -2.430682e-01  4.492405e-07  2.197030e-06
+-2.400000e-03  1.848523e-02 -2.433490e-01 -2.433514e-01  6.992066e-07 -2.177700e-06
+-2.400000e-03  1.859759e-02 -2.436300e-01 -2.436310e-01  1.011361e-06 -1.012548e-06
+-2.400000e-03  1.870929e-02 -2.439095e-01 -2.439086e-01 -4.615958e-06 -2.131196e-06
+-2.400000e-03  1.882032e-02 -2.440659e-01 -2.440672e-01  4.715605e-05  4.800839e-05
+-2.400000e-03  1.893069e-02 -2.443875e-01 -2.443915e-01 -6.764782e-07 -1.492464e-06
+-2.400000e-03  1.904043e-02 -2.446434e-01 -2.446447e-01  6.418618e-07 -1.881062e-06
+-2.400000e-03  1.914954e-02 -2.448860e-01 -2.448854e-01 -2.205861e-06 -3.084157e-06
+-2.400000e-03  1.925803e-02 -2.451177e-01 -2.451213e-01  1.357869e-05  9.019904e-06
+-2.400000e-03  1.936592e-02 -2.453464e-01 -2.453529e-01 -1.037401e-06 -2.101658e-06
+-2.400000e-03  1.947320e-02 -2.456359e-01 -2.456373e-01 -7.023684e-05 -7.601878e-05
+-2.400000e-03  1.957990e-02 -2.458192e-01 -2.458175e-01  2.994671e-06  1.022582e-06
+-2.400000e-03  1.968602e-02 -2.460254e-01 -2.460286e-01  1.219853e-05  1.829413e-05
+-2.400000e-03  1.979157e-02 -2.462368e-01 -2.462498e-01  7.193714e-06 -1.231224e-05
+-2.400000e-03  1.989656e-02 -2.464791e-01 -2.464918e-01 -8.121932e-06 -2.574041e-05
+-2.400000e-03  2.000100e-02 -2.466478e-01 -2.466502e-01 -3.226390e-06 -7.418754e-06
+-2.400000e-03  2.010490e-02 -2.468518e-01 -2.468480e-01 -5.564560e-07  1.693041e-06
+-2.400000e-03  2.020826e-02 -2.470066e-01 -2.470159e-01  1.029832e-04  8.885608e-05
+-2.400000e-03  2.031110e-02 -2.472620e-01 -2.473041e-01 -5.573808e-06 -2.042354e-05
+-2.400000e-03  2.041341e-02 -2.475845e-01 -2.476056e-01  1.669162e-05 -2.905862e-05
+-2.400000e-03  2.051522e-02 -2.478424e-01 -2.478169e-01  2.526437e-05  5.068655e-05
+-2.400000e-03  2.061653e-02 -2.479999e-01 -2.480052e-01  2.316961e-04  9.951661e-05
+-2.400000e-03  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-2.400000e-03  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  1.000000e-06 -3.002956e-01 -3.002312e-01  3.610651e-05 -1.576555e-07
+-3.035766e-18  2.042241e-03 -2.001918e-01 -3.005151e-01  2.107393e-05 -3.678840e-05
+-3.035766e-18  2.887751e-03 -2.010596e-01 -3.006915e-01 -1.593496e-05  2.273881e-04
+-3.035766e-18  3.536534e-03 -2.018851e-01 -3.011309e-01 -7.386032e-06 -1.332871e-04
+-3.035766e-18  4.083483e-03 -2.027019e-01 -3.013761e-01  2.915315e-06 -9.842377e-06
+-3.035766e-18  4.565355e-03 -2.035189e-01 -3.016429e-01  5.653068e-07 -1.520209e-05
+-3.035766e-18  5.001000e-03 -2.043255e-01 -3.019074e-01  4.796261e-08  2.057975e-06
+-3.035766e-18  5.401617e-03 -2.051249e-01 -3.021820e-01 -3.551479e-08  3.609706e-07
+-3.035766e-18  5.774503e-03 -2.059163e-01 -3.024465e-01  1.710777e-08 -1.327587e-06
+-3.035766e-18  6.124724e-03 -2.067001e-01 -3.027184e-01 -5.557709e-08 -2.278452e-06
+-3.035766e-18  6.455972e-03 -2.074764e-01 -3.029819e-01  1.575468e-08 -4.185293e-07
+-3.035766e-18  6.771032e-03 -2.082453e-01 -3.032499e-01  1.553688e-08 -3.886531e-06
+-3.035766e-18  7.072068e-03 -2.090068e-01 -3.035117e-01  1.373348e-10  3.000241e-08
+-3.035766e-18  7.360801e-03 -2.097611e-01 -3.037757e-01  2.103899e-08 -3.192792e-06
+-3.035766e-18  7.638626e-03 -2.105082e-01 -3.040350e-01 -1.639720e-09  9.670721e-08
+-3.035766e-18  7.906694e-03 -2.112481e-01 -3.042950e-01  5.039492e-08 -1.546843e-06
+-3.035766e-18  8.165966e-03 -2.119803e-01 -3.045541e-01  1.702994e-07 -3.892923e-06
+-3.035766e-18  8.417254e-03 -2.127068e-01 -3.048084e-01  1.455735e-08 -1.541687e-06
+-3.035766e-18  8.661254e-03 -2.134258e-01 -3.050584e-01 -1.828401e-08  5.672951e-06
+-3.035766e-18  8.898565e-03 -2.141379e-01 -3.053155e-01  5.261742e-08 -3.292149e-06
+-3.035766e-18  9.129709e-03 -2.148432e-01 -2.148432e-01  5.294670e-10 -1.529905e-07
+-3.035766e-18  9.355143e-03 -2.155418e-01 -2.155424e-01  1.388483e-08 -1.174081e-06
+-3.035766e-18  9.575271e-03 -2.162339e-01 -2.162339e-01 -1.835856e-07 -2.136546e-07
+-3.035766e-18  9.790450e-03 -2.169194e-01 -2.169199e-01  2.295652e-08 -7.553844e-07
+-3.035766e-18  1.000100e-02 -2.176024e-01 -2.176024e-01 -4.744842e-07 -4.942126e-07
+-3.035766e-18  1.020721e-02 -2.182691e-01 -2.182693e-01 -1.034696e-07 -4.073975e-07
+-3.035766e-18  1.040933e-02 -2.189362e-01 -2.189363e-01  5.815129e-08 -5.682701e-09
+-3.035766e-18  1.060760e-02 -2.195968e-01 -2.195970e-01  5.063229e-08  1.340688e-07
+-3.035766e-18  1.080223e-02 -2.202517e-01 -2.202519e-01  1.674696e-07  3.561120e-07
+-3.035766e-18  1.099342e-02 -2.209017e-01 -2.209020e-01  7.303204e-07  1.845190e-06
+-3.035766e-18  1.118134e-02 -2.215578e-01 -2.215561e-01 -3.885263e-06 -8.343084e-06
+-3.035766e-18  1.136615e-02 -2.222337e-01 -2.222338e-01  8.141466e-06  7.855390e-06
+-3.035766e-18  1.154801e-02 -2.227750e-01 -2.227749e-01 -1.598145e-07  2.018762e-06
+-3.035766e-18  1.172704e-02 -2.234192e-01 -2.234194e-01  1.593884e-07 -3.313784e-07
+-3.035766e-18  1.190338e-02 -2.240463e-01 -2.240465e-01 -1.578085e-06 -1.695772e-06
+-3.035766e-18  1.207715e-02 -2.246657e-01 -2.246658e-01 -9.280305e-08 -1.341107e-09
+-3.035766e-18  1.224845e-02 -2.252872e-01 -2.252873e-01 -9.766595e-08 -4.339283e-08
+-3.035766e-18  1.241739e-02 -2.259131e-01 -2.259131e-01  5.963009e-08  4.237211e-08
+-3.035766e-18  1.258406e-02 -2.265540e-01 -2.265541e-01  2.618832e-08  1.752888e-07
+-3.035766e-18  1.274855e-02 -2.272439e-01 -2.272440e-01  2.268213e-07 -3.346320e-08
+-3.035766e-18  1.291094e-02 -2.306079e-01 -3.118999e-01 -4.973767e-04  1.702393e-04
+-3.035766e-18  1.307132e-02 -2.297131e-01 -3.103819e-01  3.749124e-04  2.588527e-04
+-3.035766e-18  1.322976e-02 -2.299820e-01 -3.096694e-01 -5.308600e-06 -4.050218e-06
+-3.035766e-18  1.338632e-02 -2.302658e-01 -3.090711e-01  5.827324e-05  4.556918e-05
+-3.035766e-18  1.354106e-02 -2.305565e-01 -2.305566e-01 -9.731107e-07 -1.268458e-06
+-3.035766e-18  1.369406e-02 -2.308126e-01 -2.308124e-01  2.679692e-05  2.639398e-05
+-3.035766e-18  1.384537e-02 -2.311560e-01 -2.311552e-01  9.954421e-06  1.031037e-05
+-3.035766e-18  1.399505e-02 -2.315471e-01 -2.315472e-01 -6.662059e-08 -1.258675e-07
+-3.035766e-18  1.414314e-02 -2.319881e-01 -2.319879e-01 -3.592809e-07 -2.709614e-07
+-3.035766e-18  1.428969e-02 -2.324578e-01 -2.324578e-01  3.032882e-07  4.811198e-07
+-3.035766e-18  1.443476e-02 -2.329405e-01 -2.329405e-01 -6.030298e-08 -1.727094e-07
+-3.035766e-18  1.457838e-02 -2.334276e-01 -2.334277e-01  1.737131e-07  2.155871e-07
+-3.035766e-18  1.472060e-02 -2.339153e-01 -2.339154e-01  1.700796e-08 -5.873706e-08
+-3.035766e-18  1.486146e-02 -2.344005e-01 -2.344005e-01  1.138393e-06  1.155078e-06
+-3.035766e-18  1.500100e-02 -2.348818e-01 -2.348819e-01  1.340482e-07  1.739146e-08
+-3.035766e-18  1.513925e-02 -2.353577e-01 -2.353577e-01 -2.091269e-08  6.290221e-08
+-3.035766e-18  1.527625e-02 -2.358297e-01 -2.358299e-01  2.385166e-07  6.527052e-09
+-3.035766e-18  1.541204e-02 -2.362955e-01 -2.362957e-01  2.654609e-08  2.095941e-07
+-3.035766e-18  1.554663e-02 -2.367565e-01 -2.367571e-01 -1.742998e-06 -3.399731e-06
+-3.035766e-18  1.568007e-02 -2.372122e-01 -2.372127e-01  6.412541e-07  2.964124e-07
+-3.035766e-18  1.581239e-02 -2.376550e-01 -2.376571e-01  2.389695e-06  2.996223e-07
+-3.035766e-18  1.594361e-02 -2.380980e-01 -2.380976e-01  2.900017e-07  4.413042e-07
+-3.035766e-18  1.607375e-02 -2.385327e-01 -2.385331e-01 -1.275057e-08 -9.963781e-08
+-3.035766e-18  1.620285e-02 -2.389616e-01 -2.389615e-01 -1.351484e-07 -1.445183e-07
+-3.035766e-18  1.633093e-02 -2.393821e-01 -2.393825e-01  1.118300e-06 -2.228246e-08
+-3.035766e-18  1.645801e-02 -2.397965e-01 -2.397966e-01  1.842344e-07 -6.932121e-08
+-3.035766e-18  1.658412e-02 -2.402023e-01 -2.402026e-01 -3.896008e-07  2.281031e-08
+-3.035766e-18  1.670928e-02 -2.409171e-01 -2.409165e-01 -1.963196e-04 -1.965523e-04
+-3.035766e-18  1.683351e-02 -2.410521e-01 -2.410523e-01  4.227355e-05  4.226722e-05
+-3.035766e-18  1.695682e-02 -2.414220e-01 -2.414231e-01  2.634803e-07 -8.033425e-07
+-3.035766e-18  1.707925e-02 -2.417991e-01 -2.417991e-01  1.747312e-07  1.820610e-07
+-3.035766e-18  1.720081e-02 -2.421701e-01 -2.421707e-01  2.184406e-06  2.315851e-06
+-3.035766e-18  1.732151e-02 -2.425370e-01 -2.425388e-01  1.531030e-06  1.065238e-06
+-3.035766e-18  1.744137e-02 -2.428979e-01 -2.428976e-01  3.980551e-07  2.256167e-07
+-3.035766e-18  1.756042e-02 -2.432493e-01 -2.432512e-01  4.756843e-06  3.224110e-07
+-3.035766e-18  1.767867e-02 -2.435996e-01 -2.436010e-01  1.627684e-06 -5.635758e-07
+-3.035766e-18  1.779613e-02 -2.439535e-01 -2.439529e-01  2.371045e-04  2.417511e-04
+-3.035766e-18  1.791282e-02 -2.442309e-01 -2.442340e-01  1.950450e-05  1.201674e-05
+-3.035766e-18  1.802876e-02 -2.445763e-01 -2.445787e-01  3.031564e-06 -8.918188e-07
+-3.035766e-18  1.814395e-02 -2.448915e-01 -2.448908e-01  6.764636e-07 -1.129967e-07
+-3.035766e-18  1.825842e-02 -2.451928e-01 -2.451976e-01  1.263279e-05  3.636136e-07
+-3.035766e-18  1.837217e-02 -2.454833e-01 -2.454894e-01  1.126138e-05  6.024242e-06
+-3.035766e-18  1.848523e-02 -2.458020e-01 -2.458002e-01  4.897783e-06  3.088597e-06
+-3.035766e-18  1.859759e-02 -2.460764e-01 -2.460826e-01  2.352531e-05  1.713892e-05
+-3.035766e-18  1.870929e-02 -2.463633e-01 -2.463794e-01  9.050615e-07  5.761340e-07
+-3.035766e-18  1.882032e-02 -2.466267e-01 -2.466303e-01  1.945899e-07 -6.904662e-06
+-3.035766e-18  1.893069e-02 -2.469004e-01 -2.468989e-01 -2.874946e-06  1.176955e-05
+-3.035766e-18  1.904043e-02 -2.471816e-01 -2.472143e-01  2.367429e-05 -3.644353e-05
+-3.035766e-18  1.914954e-02 -2.475311e-01 -2.475631e-01  2.446826e-06 -6.705630e-05
+-3.035766e-18  1.925803e-02 -2.478143e-01 -2.477984e-01 -9.119987e-06  4.973522e-06
+-3.035766e-18  1.936592e-02 -2.482241e-01 -2.485344e-01  6.280511e-04 -1.739627e-04
+-3.035766e-18  1.947320e-02 -2.501890e-01 -2.530415e-01  6.402246e-04 -1.591528e-03
+-3.035766e-18  1.957990e-02 -2.503409e-01 -2.520504e-01  5.216402e-05 -1.893021e-03
+-3.035766e-18  1.968602e-02 -2.519097e-01 -2.519564e-01 -7.266279e-05 -3.707054e-04
+-3.035766e-18  1.979157e-02 -2.521019e-01 -2.520504e-01 -1.226125e-04  1.983991e-05
+-3.035766e-18  1.989656e-02 -2.523770e-01 -2.523972e-01  2.977292e-05 -1.239158e-05
+-3.035766e-18  2.000100e-02 -2.526405e-01 -2.526598e-01 -3.591995e-05 -3.305772e-05
+-3.035766e-18  2.010490e-02 -2.528256e-01 -2.528214e-01 -2.227652e-05 -5.706184e-05
+-3.035766e-18  2.020826e-02 -2.530129e-01 -2.529952e-01 -3.610506e-05  6.497642e-06
+-3.035766e-18  2.031110e-02 -2.532265e-01 -2.532201e-01 -8.948226e-06 -9.811414e-06
+-3.035766e-18  2.041341e-02 -2.533651e-01 -2.533688e-01  3.240808e-06 -4.899224e-06
+-3.035766e-18  2.051522e-02 -2.535501e-01 -2.535571e-01 -1.531974e-05 -1.049382e-05
+-3.035766e-18  2.061653e-02 -2.537493e-01 -2.537484e-01 -1.178560e-05 -2.457156e-05
+-3.035766e-18  2.071734e-02 -2.538004e-01 -2.537955e-01 -3.280821e-05 -2.255648e-05
+-3.035766e-18  2.081766e-02 -2.540840e-01 -2.540773e-01 -3.285605e-06 -1.937993e-07
+-3.035766e-18  2.091750e-02 -2.542443e-01 -2.542432e-01 -2.339310e-06 -9.979739e-07
+-3.035766e-18  2.101687e-02 -2.544010e-01 -2.544034e-01 -6.598005e-06 -1.015669e-05
+-3.035766e-18  2.111577e-02 -2.545749e-01 -2.545773e-01  2.331995e-06  3.237639e-06
+-3.035766e-18  2.121420e-02 -2.547463e-01 -2.547444e-01 -5.193884e-06 -1.002476e-05
+-3.035766e-18  2.131219e-02 -2.551654e-01 -2.551620e-01 -2.064903e-04 -2.018730e-04
+-3.035766e-18  2.140972e-02 -2.550696e-01 -2.550686e-01  3.126473e-05  2.935126e-05
+-3.035766e-18  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.160347e-02 -2.552032e-01 -2.552022e-01 -2.552032e-01 -2.552022e-01
+-3.035766e-18  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+-3.035766e-18  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  1.000000e-06 -3.004584e-01 -3.004977e-01  1.670642e-04 -4.409698e-07
+ 2.400000e-03  2.042241e-03 -2.005247e-01 -3.006999e-01 -1.862947e-05  6.203936e-05
+ 2.400000e-03  2.887751e-03 -2.014101e-01 -3.009791e-01  1.455870e-07 -8.774513e-06
+ 2.400000e-03  3.536534e-03 -2.022517e-01 -3.013238e-01 -3.086729e-06 -1.241492e-05
+ 2.400000e-03  4.083483e-03 -2.031032e-01 -3.015221e-01 -1.573093e-07  1.597207e-06
+ 2.400000e-03  4.565355e-03 -2.039443e-01 -3.017857e-01  4.256486e-07 -2.414697e-05
+ 2.400000e-03  5.001000e-03 -2.047788e-01 -3.020254e-01 -1.174249e-07 -2.289061e-06
+ 2.400000e-03  5.401617e-03 -2.056051e-01 -3.022789e-01  3.101501e-07 -5.354731e-06
+ 2.400000e-03  5.774503e-03 -2.064245e-01 -3.025257e-01  4.370089e-08 -3.386797e-06
+ 2.400000e-03  6.124724e-03 -2.072363e-01 -3.027747e-01  5.932031e-08  7.063306e-07
+ 2.400000e-03  6.455972e-03 -2.080411e-01 -3.030227e-01  2.109332e-08 -8.793509e-07
+ 2.400000e-03  6.771032e-03 -2.088388e-01 -3.032692e-01 -4.309406e-09  1.110208e-07
+ 2.400000e-03  7.072068e-03 -2.096294e-01 -3.035163e-01  2.987242e-10  1.699593e-07
+ 2.400000e-03  7.360801e-03 -2.104129e-01 -3.037606e-01  1.313109e-09 -3.042191e-07
+ 2.400000e-03  7.638626e-03 -2.111896e-01 -3.040057e-01  2.726472e-08  5.173041e-08
+ 2.400000e-03  7.906694e-03 -2.119591e-01 -3.042505e-01 -1.019004e-06 -6.187444e-07
+ 2.400000e-03  8.165966e-03 -2.127224e-01 -3.044925e-01 -5.238667e-09 -7.400701e-07
+ 2.400000e-03  8.417254e-03 -2.134786e-01 -3.047306e-01 -2.296585e-08  1.261521e-06
+ 2.400000e-03  8.661254e-03 -2.142281e-01 -3.049734e-01  1.091035e-08 -9.528559e-07
+ 2.400000e-03  8.898565e-03 -2.149710e-01 -2.149710e-01  1.230803e-08 -1.373415e-07
+ 2.400000e-03  9.129709e-03 -2.157073e-01 -3.054500e-01  5.834396e-09 -7.169832e-07
+ 2.400000e-03  9.355143e-03 -2.164372e-01 -2.164372e-01 -4.106775e-08 -1.807462e-07
+ 2.400000e-03  9.575271e-03 -2.171606e-01 -2.171610e-01 -2.794264e-08 -4.496264e-07
+ 2.400000e-03  9.790450e-03 -2.178762e-01 -2.178763e-01 -2.014016e-06 -2.115570e-06
+ 2.400000e-03  1.000100e-02 -2.185872e-01 -2.185874e-01  2.584124e-08 -1.189523e-07
+ 2.400000e-03  1.020721e-02 -2.192919e-01 -2.192920e-01  3.974253e-08 -1.180013e-07
+ 2.400000e-03  1.040933e-02 -2.199906e-01 -2.199908e-01  5.113637e-08 -2.786440e-08
+ 2.400000e-03  1.060760e-02 -2.206839e-01 -2.206840e-01 -3.145181e-08 -2.114154e-07
+ 2.400000e-03  1.080223e-02 -2.213753e-01 -2.213782e-01 -5.039297e-06 -4.578568e-06
+ 2.400000e-03  1.099342e-02 -2.221191e-01 -2.221189e-01  1.174170e-05  1.157630e-05
+ 2.400000e-03  1.118134e-02 -2.227042e-01 -2.227019e-01  3.624172e-06  9.425117e-08
+ 2.400000e-03  1.136615e-02 -2.233864e-01 -2.233871e-01 -5.649373e-07  3.904221e-07
+ 2.400000e-03  1.154801e-02 -2.240535e-01 -2.240537e-01 -2.526762e-07 -3.263903e-07
+ 2.400000e-03  1.172704e-02 -2.247161e-01 -2.247163e-01  7.693279e-08 -1.089053e-07
+ 2.400000e-03  1.190338e-02 -2.253779e-01 -2.253779e-01  4.642106e-08 -5.631264e-08
+ 2.400000e-03  1.207715e-02 -2.260416e-01 -2.260417e-01  6.411712e-10 -2.418865e-07
+ 2.400000e-03  1.224845e-02 -2.267158e-01 -2.267158e-01  9.863004e-08 -1.076569e-07
+ 2.400000e-03  1.241739e-02 -2.274246e-01 -2.274246e-01  9.234501e-07  7.791576e-07
+ 2.400000e-03  1.258406e-02 -2.283580e-01 -2.283584e-01  1.354055e-06  1.159827e-06
+ 2.400000e-03  1.274855e-02 -2.300787e-01 -3.098103e-01 -4.794874e-04 -1.401429e-04
+ 2.400000e-03  1.291094e-02 -2.302125e-01 -3.090043e-01  2.390306e-04  2.432697e-04
+ 2.400000e-03  1.307132e-02 -2.305001e-01 -3.082560e-01 -6.254216e-06 -1.821345e-05
+ 2.400000e-03  1.322976e-02 -2.307952e-01 -2.307948e-01  4.493715e-05  4.608485e-05
+ 2.400000e-03  1.338632e-02 -2.311639e-01 -2.311638e-01 -8.358789e-06 -8.497615e-06
+ 2.400000e-03  1.354106e-02 -2.315758e-01 -2.315754e-01 -1.659148e-06 -1.677382e-06
+ 2.400000e-03  1.369406e-02 -2.320640e-01 -2.320639e-01 -5.912346e-07 -2.365041e-07
+ 2.400000e-03  1.384537e-02 -2.325859e-01 -2.325860e-01  3.059861e-08 -2.499027e-07
+ 2.400000e-03  1.399505e-02 -2.331235e-01 -2.331235e-01 -7.209259e-08 -8.773885e-08
+ 2.400000e-03  1.414314e-02 -2.336657e-01 -2.336659e-01 -9.551319e-08 -2.013160e-07
+ 2.400000e-03  1.428969e-02 -2.342073e-01 -2.342072e-01  2.533300e-08 -2.762923e-08
+ 2.400000e-03  1.443476e-02 -2.347459e-01 -2.347461e-01  4.025277e-08  3.971844e-08
+ 2.400000e-03  1.457838e-02 -2.352801e-01 -2.352801e-01  1.044085e-06  1.164976e-06
+ 2.400000e-03  1.472060e-02 -2.358092e-01 -2.358093e-01  1.746101e-07 -1.021263e-08
+ 2.400000e-03  1.486146e-02 -2.363324e-01 -2.363325e-01  3.771027e-07  4.516937e-07
+ 2.400000e-03  1.500100e-02 -2.368502e-01 -2.368511e-01  2.039568e-07 -1.024762e-07
+ 2.400000e-03  1.513925e-02 -2.373625e-01 -2.373630e-01 -1.327888e-07 -1.541281e-06
+ 2.400000e-03  1.527625e-02 -2.378643e-01 -2.378665e-01  6.717156e-07 -3.670786e-06
+ 2.400000e-03  1.541204e-02 -2.383629e-01 -2.383632e-01  9.818626e-07  1.587100e-07
+ 2.400000e-03  1.554663e-02 -2.388545e-01 -2.388545e-01 -1.355560e-07 -2.327060e-07
+ 2.400000e-03  1.568007e-02 -2.393381e-01 -2.393385e-01  1.290109e-06  4.101107e-07
+ 2.400000e-03  1.581239e-02 -2.398154e-01 -2.398154e-01  2.146401e-08 -1.207861e-07
+ 2.400000e-03  1.594361e-02 -2.402828e-01 -2.402833e-01  1.663814e-06  8.799139e-07
+ 2.400000e-03  1.607375e-02 -2.410138e-01 -2.410134e-01 -2.346734e-04 -2.346176e-04
+ 2.400000e-03  1.620285e-02 -2.412129e-01 -2.412135e-01  1.776165e-05  1.718093e-05
+ 2.400000e-03  1.633093e-02 -2.416726e-01 -2.416731e-01  6.940433e-07 -2.186629e-07
+ 2.400000e-03  1.645801e-02 -2.421098e-01 -2.421101e-01  4.915414e-07  1.617356e-06
+ 2.400000e-03  1.658412e-02 -2.425420e-01 -2.425432e-01  1.329996e-06  1.227322e-06
+ 2.400000e-03  1.670928e-02 -2.429667e-01 -2.429666e-01 -2.756294e-07 -4.834697e-07
+ 2.400000e-03  1.683351e-02 -2.433823e-01 -2.433847e-01 -1.562391e-07 -1.792166e-06
+ 2.400000e-03  1.695682e-02 -2.437949e-01 -2.437946e-01  1.266763e-06  1.321319e-06
+ 2.400000e-03  1.707925e-02 -2.441172e-01 -2.441191e-01  6.913655e-05  6.930740e-05
+ 2.400000e-03  1.720081e-02 -2.445725e-01 -2.445750e-01  3.155119e-06 -8.859193e-07
+ 2.400000e-03  1.732151e-02 -2.449514e-01 -2.449510e-01 -7.877318e-07  2.225995e-06
+ 2.400000e-03  1.744137e-02 -2.453181e-01 -2.453253e-01 -4.182053e-07 -5.398469e-06
+ 2.400000e-03  1.756042e-02 -2.457170e-01 -2.457163e-01 -5.046266e-05 -4.939443e-05
+ 2.400000e-03  1.767867e-02 -2.460320e-01 -2.460364e-01  1.499218e-05  1.879096e-05
+ 2.400000e-03  1.779613e-02 -2.463773e-01 -2.463931e-01  5.583941e-07  3.824238e-07
+ 2.400000e-03  1.791282e-02 -2.467190e-01 -2.467179e-01  2.175103e-06  2.190753e-06
+ 2.400000e-03  1.802876e-02 -2.470233e-01 -2.470355e-01  5.803893e-05  4.834011e-05
+ 2.400000e-03  1.814395e-02 -2.473807e-01 -2.474279e-01  3.777110e-05  1.949645e-05
+ 2.400000e-03  1.825842e-02 -2.477605e-01 -2.477529e-01  8.789302e-06  2.113980e-06
+ 2.400000e-03  1.837217e-02 -2.481323e-01 -2.483366e-01 -3.893147e-05 -1.512343e-04
+ 2.400000e-03  1.848523e-02 -2.501789e-01 -2.530969e-01 -4.579959e-04 -3.239069e-03
+ 2.400000e-03  1.859759e-02 -2.515652e-01 -2.518326e-01 -4.293308e-04 -2.450316e-04
+ 2.400000e-03  1.870929e-02 -2.520913e-01 -2.520429e-01 -1.084468e-04  3.469716e-05
+ 2.400000e-03  1.882032e-02 -2.523672e-01 -2.523867e-01  1.957211e-05 -1.921587e-05
+ 2.400000e-03  1.893069e-02 -2.526701e-01 -2.526845e-01  4.390560e-05  5.036236e-05
+ 2.400000e-03  1.904043e-02 -2.529787e-01 -2.529602e-01 -5.756302e-05 -8.592307e-06
+ 2.400000e-03  1.914954e-02 -2.532315e-01 -2.532254e-01 -2.617317e-05 -2.692389e-05
+ 2.400000e-03  1.925803e-02 -2.534933e-01 -2.535010e-01 -1.392137e-05 -1.572500e-05
+ 2.400000e-03  1.936592e-02 -2.537723e-01 -2.537692e-01 -8.858902e-06 -2.144453e-05
+ 2.400000e-03  1.947320e-02 -2.540448e-01 -2.540367e-01 -4.529242e-06  4.201759e-06
+ 2.400000e-03  1.957990e-02 -2.542925e-01 -2.542925e-01  1.150882e-06  1.030709e-06
+ 2.400000e-03  1.968602e-02 -2.545616e-01 -2.545633e-01 -4.485545e-06 -1.173370e-07
+ 2.400000e-03  1.979157e-02 -2.548330e-01 -2.548300e-01 -1.386468e-05 -9.758608e-06
+ 2.400000e-03  1.989656e-02 -2.551912e-01 -2.551892e-01  3.662211e-06  4.084223e-06
+ 2.400000e-03  2.000100e-02 -2.552725e-01 -2.552729e-01  1.593735e-06  1.018854e-06
+ 2.400000e-03  2.010490e-02 -2.555724e-01 -2.555731e-01  9.701004e-08  4.569608e-07
+ 2.400000e-03  2.020826e-02 -2.558284e-01 -2.558260e-01 -8.413723e-06 -3.382094e-06
+ 2.400000e-03  2.031110e-02 -2.560663e-01 -2.560645e-01 -1.271020e-05 -1.297790e-05
+ 2.400000e-03  2.041341e-02 -2.563214e-01 -2.563214e-01 -3.713290e-06 -3.420887e-06
+ 2.400000e-03  2.051522e-02 -2.565576e-01 -2.565578e-01 -6.347045e-07 -8.071063e-07
+ 2.400000e-03  2.061653e-02 -2.567885e-01 -2.567871e-01 -7.550464e-06 -5.208766e-06
+ 2.400000e-03  2.071734e-02 -2.570147e-01 -2.570133e-01 -8.355563e-07 -7.836574e-07
+ 2.400000e-03  2.081766e-02 -2.572225e-01 -2.572213e-01  3.070963e-04  3.068037e-04
+ 2.400000e-03  2.091750e-02 -2.571030e-01 -2.571038e-01  3.767449e-04  3.741692e-04
+ 2.400000e-03  2.101687e-02 -2.577957e-01 -2.577953e-01  8.465899e-06  9.852809e-06
+ 2.400000e-03  2.111577e-02 -2.580030e-01 -2.580023e-01  1.351824e-06  1.275286e-06
+ 2.400000e-03  2.121420e-02 -2.582069e-01 -2.582068e-01  1.926539e-06  1.887210e-06
+ 2.400000e-03  2.131219e-02 -2.584068e-01 -2.584071e-01 -9.814962e-07 -5.433816e-07
+ 2.400000e-03  2.140972e-02 -2.586043e-01 -2.586040e-01 -1.237629e-06 -2.075554e-06
+ 2.400000e-03  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-03  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  1.000000e-06 -3.011125e-01 -3.012511e-01  6.964765e-04  8.003931e-07
+ 4.800000e-03  2.042241e-03 -2.013294e-01 -3.015051e-01 -2.908853e-05  1.085749e-06
+ 4.800000e-03  2.887751e-03 -2.022019e-01 -3.017302e-01  5.994126e-06 -3.882672e-05
+ 4.800000e-03  3.536534e-03 -2.030826e-01 -3.019395e-01  2.209855e-07 -1.501420e-05
+ 4.800000e-03  4.083483e-03 -2.039515e-01 -3.021607e-01  3.488610e-07  1.952814e-06
+ 4.800000e-03  4.565355e-03 -2.048141e-01 -3.023848e-01  1.208429e-07 -1.773900e-06
+ 4.800000e-03  5.001000e-03 -2.056692e-01 -3.026050e-01  8.884694e-09 -3.790006e-07
+ 4.800000e-03  5.401617e-03 -2.065175e-01 -3.028314e-01 -6.096374e-08 -5.809403e-07
+ 4.800000e-03  5.774503e-03 -2.073589e-01 -3.030526e-01  4.209450e-08 -6.149338e-07
+ 4.800000e-03  6.124724e-03 -2.081935e-01 -3.032789e-01 -1.717546e-10 -3.199529e-06
+ 4.800000e-03  6.455972e-03 -2.090215e-01 -3.035011e-01 -2.381324e-09  2.065213e-08
+ 4.800000e-03  6.771032e-03 -2.098427e-01 -3.037266e-01  3.595889e-08 -2.871787e-06
+ 4.800000e-03  7.072068e-03 -2.106573e-01 -3.039494e-01 -2.260558e-09 -2.204450e-07
+ 4.800000e-03  7.360801e-03 -2.114652e-01 -3.041739e-01  7.037936e-08 -5.703666e-07
+ 4.800000e-03  7.638626e-03 -2.122668e-01 -3.043969e-01 -7.020300e-08  7.930768e-07
+ 4.800000e-03  7.906694e-03 -2.130617e-01 -3.046199e-01  2.320626e-08  3.647153e-07
+ 4.800000e-03  8.165966e-03 -2.138501e-01 -3.048440e-01  2.291935e-08 -2.158126e-07
+ 4.800000e-03  8.417254e-03 -2.146322e-01 -3.050661e-01  1.476370e-08 -1.825552e-07
+ 4.800000e-03  8.661254e-03 -2.154079e-01 -3.052877e-01  1.781843e-08 -5.207750e-07
+ 4.800000e-03  8.898565e-03 -2.161772e-01 -2.161776e-01  3.161819e-08  7.128021e-08
+ 4.800000e-03  9.129709e-03 -2.169404e-01 -2.169406e-01  6.186276e-08 -1.621749e-07
+ 4.800000e-03  9.355143e-03 -2.177005e-01 -2.177007e-01 -4.240350e-06 -4.181817e-06
+ 4.800000e-03  9.575271e-03 -2.184469e-01 -2.184470e-01  2.409512e-08 -2.208902e-07
+ 4.800000e-03  9.790450e-03 -2.191915e-01 -2.191918e-01 -6.792463e-09 -2.838679e-09
+ 4.800000e-03  1.000100e-02 -2.199301e-01 -2.199302e-01  1.147057e-07 -1.193897e-07
+ 4.800000e-03  1.020721e-02 -2.206629e-01 -2.206632e-01 -3.383056e-08 -2.557246e-07
+ 4.800000e-03  1.040933e-02 -2.213925e-01 -2.213948e-01 -4.268846e-06 -2.579962e-06
+ 4.800000e-03  1.060760e-02 -2.221314e-01 -2.221316e-01 -2.102083e-05 -2.056604e-05
+ 4.800000e-03  1.080223e-02 -2.228168e-01 -2.228177e-01  1.256271e-06  5.669165e-06
+ 4.800000e-03  1.099342e-02 -2.235336e-01 -2.235332e-01 -1.371356e-06 -1.332204e-06
+ 4.800000e-03  1.118134e-02 -2.242392e-01 -2.242391e-01  4.415518e-07  7.635383e-07
+ 4.800000e-03  1.136615e-02 -2.249416e-01 -2.249417e-01 -9.394555e-09 -1.957651e-07
+ 4.800000e-03  1.154801e-02 -2.256421e-01 -2.256421e-01  4.465217e-08  1.195885e-07
+ 4.800000e-03  1.172704e-02 -2.263441e-01 -2.263441e-01  2.947956e-08 -1.116005e-07
+ 4.800000e-03  1.190338e-02 -2.270556e-01 -2.270557e-01  1.457611e-07  1.667369e-08
+ 4.800000e-03  1.207715e-02 -2.278046e-01 -2.278050e-01  1.193175e-06  5.104220e-07
+ 4.800000e-03  1.224845e-02 -2.299093e-01 -3.108874e-01  1.195629e-03 -3.569267e-04
+ 4.800000e-03  1.241739e-02 -2.304516e-01 -3.093200e-01 -8.262305e-05 -7.885550e-05
+ 4.800000e-03  1.258406e-02 -2.305126e-01 -3.084016e-01  8.650354e-06 -5.961714e-05
+ 4.800000e-03  1.274855e-02 -2.307643e-01 -2.307609e-01  8.831775e-05  9.137059e-05
+ 4.800000e-03  1.291094e-02 -2.311461e-01 -2.311456e-01  1.629540e-05  1.742582e-05
+ 4.800000e-03  1.307132e-02 -2.316235e-01 -2.316231e-01  1.560410e-06  2.566756e-06
+ 4.800000e-03  1.322976e-02 -2.321665e-01 -2.321664e-01 -9.751520e-07 -1.155247e-06
+ 4.800000e-03  1.338632e-02 -2.327474e-01 -2.327475e-01 -1.053148e-07 -1.888998e-07
+ 4.800000e-03  1.354106e-02 -2.333413e-01 -2.333413e-01 -1.145492e-07 -5.748856e-08
+ 4.800000e-03  1.369406e-02 -2.339375e-01 -2.339375e-01  7.127271e-08 -4.978271e-08
+ 4.800000e-03  1.384537e-02 -2.345314e-01 -2.345315e-01  3.788297e-07  5.343341e-09
+ 4.800000e-03  1.399505e-02 -2.351216e-01 -2.351216e-01  8.930101e-08  3.011541e-08
+ 4.800000e-03  1.414314e-02 -2.357063e-01 -2.357065e-01  2.127281e-08  1.353706e-08
+ 4.800000e-03  1.428969e-02 -2.362855e-01 -2.362855e-01  6.519494e-08  2.344945e-07
+ 4.800000e-03  1.443476e-02 -2.368585e-01 -2.368590e-01  5.410548e-07 -2.380734e-07
+ 4.800000e-03  1.457838e-02 -2.374253e-01 -2.374252e-01  2.514200e-06  2.502924e-06
+ 4.800000e-03  1.472060e-02 -2.379845e-01 -2.379863e-01  9.568552e-07 -2.884231e-06
+ 4.800000e-03  1.486146e-02 -2.385388e-01 -2.385392e-01 -1.835978e-07 -3.588885e-07
+ 4.800000e-03  1.500100e-02 -2.390851e-01 -2.390849e-01 -1.285200e-08  8.750014e-08
+ 4.800000e-03  1.513925e-02 -2.396243e-01 -2.396248e-01  2.950999e-07  1.978409e-07
+ 4.800000e-03  1.527625e-02 -2.401556e-01 -2.401557e-01  3.039903e-08  6.381184e-07
+ 4.800000e-03  1.541204e-02 -2.406699e-01 -2.406706e-01  1.231568e-05  1.108048e-05
+ 4.800000e-03  1.554663e-02 -2.412367e-01 -2.412373e-01 -8.619932e-05 -8.632969e-05
+ 4.800000e-03  1.568007e-02 -2.417173e-01 -2.417176e-01  1.049601e-06  3.865472e-07
+ 4.800000e-03  1.581239e-02 -2.422156e-01 -2.422165e-01  3.170983e-06  1.878444e-06
+ 4.800000e-03  1.594361e-02 -2.427091e-01 -2.427098e-01  6.965037e-07 -5.130262e-07
+ 4.800000e-03  1.607375e-02 -2.431903e-01 -2.431913e-01  4.900239e-06  2.638319e-06
+ 4.800000e-03  1.620285e-02 -2.436674e-01 -2.436681e-01  4.718264e-07 -1.036998e-06
+ 4.800000e-03  1.633093e-02 -2.441055e-01 -2.441070e-01  1.706333e-04  1.669810e-04
+ 4.800000e-03  1.645801e-02 -2.445803e-01 -2.445825e-01  3.024501e-06 -6.357977e-07
+ 4.800000e-03  1.658412e-02 -2.450196e-01 -2.450206e-01  2.202795e-06  6.825638e-06
+ 4.800000e-03  1.670928e-02 -2.454510e-01 -2.454575e-01  4.864013e-06  2.987906e-06
+ 4.800000e-03  1.683351e-02 -2.458726e-01 -2.458716e-01  2.563769e-06  2.359792e-06
+ 4.800000e-03  1.695682e-02 -2.462698e-01 -2.462848e-01  4.627184e-07 -1.305734e-05
+ 4.800000e-03  1.707925e-02 -2.466733e-01 -2.466744e-01  4.895709e-06  4.079061e-06
+ 4.800000e-03  1.720081e-02 -2.470366e-01 -2.470511e-01  6.185191e-05  4.132087e-05
+ 4.800000e-03  1.732151e-02 -2.474478e-01 -2.474905e-01  5.094014e-05 -1.977353e-06
+ 4.800000e-03  1.744137e-02 -2.478366e-01 -2.478298e-01 -5.780576e-06  2.288674e-05
+ 4.800000e-03  1.756042e-02 -2.482809e-01 -2.486970e-01  6.508816e-04  1.849502e-04
+ 4.800000e-03  1.767867e-02 -2.505202e-01 -2.518309e-01 -2.116783e-04 -1.649014e-03
+ 4.800000e-03  1.779613e-02 -2.519280e-01 -2.519429e-01 -1.304370e-05 -2.377350e-04
+ 4.800000e-03  1.791282e-02 -2.522332e-01 -2.522145e-01 -6.231935e-06 -6.887841e-06
+ 4.800000e-03  1.802876e-02 -2.526006e-01 -2.526237e-01 -4.288985e-05 -2.160260e-05
+ 4.800000e-03  1.814395e-02 -2.529631e-01 -2.529443e-01 -6.635320e-05 -1.921321e-05
+ 4.800000e-03  1.825842e-02 -2.532671e-01 -2.532644e-01 -1.186558e-06  1.728689e-06
+ 4.800000e-03  1.837217e-02 -2.536153e-01 -2.536201e-01 -5.951677e-06 -6.160158e-07
+ 4.800000e-03  1.848523e-02 -2.539554e-01 -2.539461e-01 -1.430015e-05  7.251301e-06
+ 4.800000e-03  1.859759e-02 -2.542887e-01 -2.542886e-01 -1.886090e-07 -2.211514e-07
+ 4.800000e-03  1.870929e-02 -2.546368e-01 -2.546376e-01  1.523526e-06 -1.093366e-06
+ 4.800000e-03  1.882032e-02 -2.550065e-01 -2.550022e-01 -1.945600e-06  3.801991e-06
+ 4.800000e-03  1.893069e-02 -2.552743e-01 -2.552745e-01 -1.011324e-06 -1.195810e-06
+ 4.800000e-03  1.904043e-02 -2.556422e-01 -2.556420e-01  6.603913e-07 -2.172151e-06
+ 4.800000e-03  1.914954e-02 -2.559782e-01 -2.559758e-01  1.693973e-06  4.005531e-06
+ 4.800000e-03  1.925803e-02 -2.563159e-01 -2.563161e-01  8.326212e-07 -1.119614e-07
+ 4.800000e-03  1.936592e-02 -2.566447e-01 -2.566443e-01 -5.058326e-07 -2.632647e-06
+ 4.800000e-03  1.947320e-02 -2.569617e-01 -2.569601e-01  3.847116e-08  1.216540e-06
+ 4.800000e-03  1.957990e-02 -2.572034e-01 -2.572034e-01  4.631609e-05  4.679395e-05
+ 4.800000e-03  1.968602e-02 -2.577510e-01 -2.577499e-01 -5.566844e-05 -5.437627e-05
+ 4.800000e-03  1.979157e-02 -2.580115e-01 -2.580107e-01 -4.783039e-07 -4.638057e-07
+ 4.800000e-03  1.989656e-02 -2.583188e-01 -2.583191e-01 -6.223319e-07 -8.014684e-07
+ 4.800000e-03  2.000100e-02 -2.586293e-01 -2.586290e-01 -8.087182e-07 -1.475851e-06
+ 4.800000e-03  2.010490e-02 -2.589346e-01 -2.589338e-01  2.695981e-06  2.964484e-06
+ 4.800000e-03  2.020826e-02 -2.592395e-01 -2.592403e-01 -1.273750e-06 -2.386368e-06
+ 4.800000e-03  2.031110e-02 -2.595306e-01 -2.595300e-01 -3.381558e-07 -9.757506e-07
+ 4.800000e-03  2.041341e-02 -2.598419e-01 -2.598400e-01 -3.665415e-06 -2.436572e-06
+ 4.800000e-03  2.051522e-02 -2.601342e-01 -2.601347e-01  1.907563e-06  1.280244e-06
+ 4.800000e-03  2.061653e-02 -2.604265e-01 -2.604267e-01  1.662592e-07 -1.298658e-07
+ 4.800000e-03  2.071734e-02 -2.607130e-01 -2.607127e-01  9.415546e-07  1.876372e-06
+ 4.800000e-03  2.081766e-02 -2.610007e-01 -2.610004e-01  3.097977e-08  1.391313e-07
+ 4.800000e-03  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-03  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  1.000000e-06 -3.024430e-01 -3.025076e-01  7.403200e-05 -1.573536e-08
+ 7.200000e-03  2.042241e-03 -2.025985e-01 -3.027079e-01  3.565130e-07 -5.672892e-07
+ 7.200000e-03  2.887751e-03 -2.034972e-01 -3.028908e-01  8.581417e-08 -9.189201e-07
+ 7.200000e-03  3.536534e-03 -2.043872e-01 -3.030830e-01 -1.563839e-07 -2.547532e-06
+ 7.200000e-03  4.083483e-03 -2.052702e-01 -3.032686e-01  2.776958e-08 -1.726951e-07
+ 7.200000e-03  4.565355e-03 -2.061464e-01 -3.034618e-01  8.537118e-08 -4.736493e-06
+ 7.200000e-03  5.001000e-03 -2.070164e-01 -3.036513e-01 -1.337873e-08 -2.637022e-07
+ 7.200000e-03  5.401617e-03 -2.078800e-01 -3.038453e-01  9.387030e-08 -2.193429e-06
+ 7.200000e-03  5.774503e-03 -2.087376e-01 -3.040380e-01  1.909455e-09 -9.338825e-07
+ 7.200000e-03  6.124724e-03 -2.095889e-01 -3.042332e-01  3.962604e-08 -1.104144e-07
+ 7.200000e-03  6.455972e-03 -2.104341e-01 -3.044283e-01  7.094741e-09 -6.790465e-07
+ 7.200000e-03  6.771032e-03 -2.112732e-01 -3.046243e-01  1.396135e-08  4.246862e-07
+ 7.200000e-03  7.072068e-03 -2.121062e-01 -3.048226e-01 -4.152602e-08 -8.945785e-07
+ 7.200000e-03  7.360801e-03 -2.129332e-01 -3.050189e-01  1.602752e-08 -4.427054e-07
+ 7.200000e-03  7.638626e-03 -2.137540e-01 -3.052163e-01  6.447553e-08  1.057975e-06
+ 7.200000e-03  7.906694e-03 -2.145689e-01 -3.054147e-01 -1.301731e-08 -3.150161e-07
+ 7.200000e-03  8.165966e-03 -2.153777e-01 -3.056137e-01  5.987545e-09 -4.749781e-09
+ 7.200000e-03  8.417254e-03 -2.161806e-01 -3.058123e-01  2.431336e-08 -1.825950e-07
+ 7.200000e-03  8.661254e-03 -2.169776e-01 -2.169780e-01  5.109671e-08 -9.038033e-08
+ 7.200000e-03  8.898565e-03 -2.177717e-01 -3.062092e-01 -1.007427e-05  9.392052e-07
+ 7.200000e-03  9.129709e-03 -2.185530e-01 -2.185534e-01  9.707048e-10 -1.617335e-07
+ 7.200000e-03  9.355143e-03 -2.193323e-01 -2.193323e-01  2.215445e-08 -1.282039e-07
+ 7.200000e-03  9.575271e-03 -2.201055e-01 -2.201058e-01  6.189338e-08 -8.369982e-08
+ 7.200000e-03  9.790450e-03 -2.208726e-01 -2.208727e-01  1.448490e-07  6.307353e-07
+ 7.200000e-03  1.000100e-02 -2.216376e-01 -2.216349e-01 -6.202700e-06 -2.036635e-07
+ 7.200000e-03  1.020721e-02 -2.223993e-01 -2.223973e-01 -4.611887e-06 -3.484169e-06
+ 7.200000e-03  1.040933e-02 -2.231433e-01 -2.231471e-01  2.718737e-06  4.890860e-08
+ 7.200000e-03  1.060760e-02 -2.238899e-01 -2.238902e-01 -1.846774e-08 -6.655202e-07
+ 7.200000e-03  1.080223e-02 -2.246316e-01 -2.246317e-01 -1.028772e-07  4.480219e-08
+ 7.200000e-03  1.099342e-02 -2.253697e-01 -2.253698e-01  9.464620e-09 -5.308147e-08
+ 7.200000e-03  1.118134e-02 -2.261062e-01 -2.261062e-01  5.224188e-08  4.105299e-09
+ 7.200000e-03  1.136615e-02 -2.268451e-01 -2.268452e-01 -6.611292e-08 -1.282965e-07
+ 7.200000e-03  1.154801e-02 -2.275978e-01 -2.275978e-01  4.741547e-07  6.132126e-07
+ 7.200000e-03  1.172704e-02 -2.284194e-01 -2.284201e-01  5.112292e-06  4.214848e-06
+ 7.200000e-03  1.190338e-02 -2.309207e-01 -3.097108e-01 -1.312454e-03 -5.964299e-04
+ 7.200000e-03  1.207715e-02 -2.307231e-01 -3.089067e-01  7.037842e-05  1.004221e-04
+ 7.200000e-03  1.224845e-02 -2.308391e-01 -2.308364e-01 -2.233343e-04 -2.243550e-04
+ 7.200000e-03  1.241739e-02 -2.311559e-01 -2.311539e-01 -5.216152e-07 -5.144589e-07
+ 7.200000e-03  1.258406e-02 -2.317172e-01 -2.317168e-01 -3.849238e-06 -3.110666e-06
+ 7.200000e-03  1.274855e-02 -2.323346e-01 -2.323345e-01 -1.212326e-06 -1.083234e-06
+ 7.200000e-03  1.291094e-02 -2.329774e-01 -2.329774e-01 -2.271740e-07 -1.763417e-07
+ 7.200000e-03  1.307132e-02 -2.336251e-01 -2.336252e-01  1.600209e-07  3.388517e-08
+ 7.200000e-03  1.322976e-02 -2.342720e-01 -2.342720e-01 -1.646418e-08  4.773471e-08
+ 7.200000e-03  1.338632e-02 -2.349150e-01 -2.349150e-01  6.112074e-08 -7.417078e-08
+ 7.200000e-03  1.354106e-02 -2.355526e-01 -2.355528e-01  2.314967e-07 -1.955844e-07
+ 7.200000e-03  1.369406e-02 -2.361849e-01 -2.361848e-01  3.485527e-08  1.682375e-08
+ 7.200000e-03  1.384537e-02 -2.368111e-01 -2.368112e-01  1.895562e-07 -1.772521e-09
+ 7.200000e-03  1.399505e-02 -2.374304e-01 -2.374296e-01  2.231888e-07  9.308064e-07
+ 7.200000e-03  1.414314e-02 -2.380433e-01 -2.380447e-01  1.465552e-06 -1.703193e-06
+ 7.200000e-03  1.428969e-02 -2.386504e-01 -2.386507e-01  1.907337e-07  2.075411e-07
+ 7.200000e-03  1.443476e-02 -2.392500e-01 -2.392501e-01  6.877055e-07  8.809173e-07
+ 7.200000e-03  1.457838e-02 -2.398433e-01 -2.398433e-01 -4.173877e-09 -3.498800e-08
+ 7.200000e-03  1.472060e-02 -2.404284e-01 -2.404291e-01  4.650444e-07 -6.098285e-07
+ 7.200000e-03  1.486146e-02 -2.411754e-01 -2.411755e-01 -2.223865e-04 -2.224709e-04
+ 7.200000e-03  1.500100e-02 -2.415759e-01 -2.415769e-01 -8.074017e-07 -1.174581e-06
+ 7.200000e-03  1.513925e-02 -2.421373e-01 -2.421377e-01  1.178266e-06  2.083829e-06
+ 7.200000e-03  1.527625e-02 -2.426910e-01 -2.426916e-01  7.134251e-07 -6.990246e-07
+ 7.200000e-03  1.541204e-02 -2.432320e-01 -2.432335e-01  5.111486e-06  1.114432e-06
+ 7.200000e-03  1.554663e-02 -2.437680e-01 -2.437679e-01  1.284072e-07  2.531284e-07
+ 7.200000e-03  1.568007e-02 -2.442575e-01 -2.442611e-01 -5.968467e-05 -6.737873e-05
+ 7.200000e-03  1.581239e-02 -2.447995e-01 -2.447986e-01  1.735947e-06  1.330603e-06
+ 7.200000e-03  1.594361e-02 -2.452908e-01 -2.452977e-01  1.568964e-06 -6.680548e-06
+ 7.200000e-03  1.607375e-02 -2.457894e-01 -2.457881e-01 -1.272683e-05 -1.363951e-05
+ 7.200000e-03  1.620285e-02 -2.462366e-01 -2.462507e-01  6.819743e-06 -1.427961e-05
+ 7.200000e-03  1.633093e-02 -2.467034e-01 -2.467029e-01  1.826166e-06  2.163620e-06
+ 7.200000e-03  1.645801e-02 -2.471113e-01 -2.471376e-01  5.941895e-05 -8.657635e-06
+ 7.200000e-03  1.658412e-02 -2.475869e-01 -2.476087e-01  1.528525e-06 -4.320196e-05
+ 7.200000e-03  1.670928e-02 -2.479559e-01 -2.479944e-01  2.617414e-04  1.572018e-04
+ 7.200000e-03  1.683351e-02 -2.490448e-01 -2.494294e-01 -5.109948e-04 -2.558322e-04
+ 7.200000e-03  1.695682e-02 -2.508198e-01 -2.514647e-01  6.409414e-04  2.594836e-04
+ 7.200000e-03  1.707925e-02 -2.520329e-01 -2.519891e-01 -2.969986e-04 -1.743133e-04
+ 7.200000e-03  1.720081e-02 -2.523532e-01 -2.523702e-01  2.243924e-05 -1.107405e-05
+ 7.200000e-03  1.732151e-02 -2.528011e-01 -2.527969e-01 -5.418656e-06 -4.500987e-05
+ 7.200000e-03  1.744137e-02 -2.531697e-01 -2.531576e-01 -1.713748e-05 -1.882163e-05
+ 7.200000e-03  1.756042e-02 -2.535688e-01 -2.535754e-01 -1.326766e-05 -6.289808e-06
+ 7.200000e-03  1.767867e-02 -2.539854e-01 -2.539758e-01 -1.399893e-05  5.392112e-06
+ 7.200000e-03  1.779613e-02 -2.543788e-01 -2.543808e-01 -7.450922e-07 -4.757096e-06
+ 7.200000e-03  1.791282e-02 -2.548009e-01 -2.547981e-01 -1.188383e-05 -1.151244e-05
+ 7.200000e-03  1.802876e-02 -2.551807e-01 -2.551789e-01  1.291174e-05  1.379721e-05
+ 7.200000e-03  1.814395e-02 -2.556134e-01 -2.556137e-01  8.126938e-07 -9.337396e-07
+ 7.200000e-03  1.825842e-02 -2.560256e-01 -2.560232e-01  9.508060e-07  1.520106e-06
+ 7.200000e-03  1.837217e-02 -2.564373e-01 -2.564381e-01 -3.069710e-06 -2.430582e-06
+ 7.200000e-03  1.848523e-02 -2.568421e-01 -2.568404e-01 -4.457931e-06 -3.682961e-07
+ 7.200000e-03  1.859759e-02 -2.571832e-01 -2.571831e-01 -1.680898e-06 -1.245440e-06
+ 7.200000e-03  1.870929e-02 -2.577439e-01 -2.577430e-01 -3.048251e-05 -2.946735e-05
+ 7.200000e-03  1.882032e-02 -2.581061e-01 -2.581056e-01 -5.812636e-07 -1.559686e-07
+ 7.200000e-03  1.893069e-02 -2.585015e-01 -2.585017e-01  1.891531e-07  2.206949e-08
+ 7.200000e-03  1.904043e-02 -2.588963e-01 -2.588955e-01 -3.687189e-06 -2.977556e-06
+ 7.200000e-03  1.914954e-02 -2.592887e-01 -2.592895e-01  3.370958e-07 -1.488338e-08
+ 7.200000e-03  1.925803e-02 -2.596756e-01 -2.596752e-01  7.238750e-06  8.154972e-06
+ 7.200000e-03  1.936592e-02 -2.600678e-01 -2.600684e-01  1.097024e-06 -7.078819e-08
+ 7.200000e-03  1.947320e-02 -2.604548e-01 -2.604550e-01  3.017864e-07 -8.612263e-08
+ 7.200000e-03  1.957990e-02 -2.608390e-01 -2.608385e-01  2.608311e-08  4.485798e-07
+ 7.200000e-03  1.968602e-02 -2.612350e-01 -2.612354e-01  3.690023e-07  3.266570e-07
+ 7.200000e-03  1.979157e-02 -2.616509e-01 -2.616501e-01  6.509345e-05  6.690396e-05
+ 7.200000e-03  1.989656e-02 -2.619752e-01 -2.619755e-01  1.244338e-05  1.188160e-05
+ 7.200000e-03  2.000100e-02 -2.624070e-01 -2.624074e-01 -4.850023e-06 -5.486546e-06
+ 7.200000e-03  2.010490e-02 -2.629373e-01 -2.629400e-01  5.394346e-04  5.374522e-04
+ 7.200000e-03  2.020826e-02 -2.634200e-01 -2.634225e-01 -2.634200e-01 -2.634225e-01
+ 7.200000e-03  2.031110e-02 -2.633100e-01 -2.633151e-01 -4.818551e-05 -4.815578e-05
+ 7.200000e-03  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 7.200000e-03  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  1.000000e-06 -3.042591e-01 -3.042658e-01  1.056562e-05 -1.399951e-07
+ 9.600000e-03  2.042241e-03 -2.043905e-01 -3.044184e-01 -1.970770e-08 -6.639515e-07
+ 9.600000e-03  2.887751e-03 -2.052928e-01 -3.045663e-01  2.602787e-07 -6.473984e-07
+ 9.600000e-03  3.536534e-03 -2.061879e-01 -3.047146e-01  3.556402e-08 -9.396876e-07
+ 9.600000e-03  4.083483e-03 -2.070766e-01 -3.048653e-01  3.879776e-08  2.984699e-07
+ 9.600000e-03  4.565355e-03 -2.079599e-01 -3.050180e-01  2.577961e-08 -4.040369e-07
+ 9.600000e-03  5.001000e-03 -2.088376e-01 -3.051724e-01 -2.200873e-10  1.465911e-07
+ 9.600000e-03  5.401617e-03 -2.097099e-01 -3.053291e-01  3.949550e-09 -5.135996e-09
+ 9.600000e-03  5.774503e-03 -2.105768e-01 -3.054870e-01  1.115291e-08 -1.183161e-07
+ 9.600000e-03  6.124724e-03 -2.114384e-01 -3.056475e-01 -8.327975e-09 -4.508784e-08
+ 9.600000e-03  6.455972e-03 -2.122945e-01 -3.058094e-01  1.201326e-07 -1.034132e-06
+ 9.600000e-03  6.771032e-03 -2.131453e-01 -3.059725e-01  2.300347e-08 -3.290928e-07
+ 9.600000e-03  7.072068e-03 -2.139906e-01 -3.061359e-01 -1.806497e-08  1.343607e-06
+ 9.600000e-03  7.360801e-03 -2.148305e-01 -3.063030e-01  9.675194e-09 -5.820535e-07
+ 9.600000e-03  7.638626e-03 -2.156650e-01 -3.064699e-01  3.878466e-09 -6.159365e-08
+ 9.600000e-03  7.906694e-03 -2.164941e-01 -3.066389e-01  1.875429e-08 -6.901694e-07
+ 9.600000e-03  8.165966e-03 -2.173176e-01 -3.068075e-01  1.544237e-08 -2.529008e-08
+ 9.600000e-03  8.417254e-03 -2.181354e-01 -3.069792e-01  5.356291e-07 -1.421152e-06
+ 9.600000e-03  8.661254e-03 -2.189483e-01 -2.189484e-01  6.185024e-08  6.719010e-08
+ 9.600000e-03  8.898565e-03 -2.197556e-01 -3.073233e-01  3.493700e-08 -5.782150e-07
+ 9.600000e-03  9.129709e-03 -2.205573e-01 -2.205576e-01  1.732745e-07 -5.498121e-08
+ 9.600000e-03  9.355143e-03 -2.213540e-01 -2.213564e-01 -3.172473e-06 -5.303147e-06
+ 9.600000e-03  9.575271e-03 -2.221313e-01 -2.221312e-01  1.060177e-05  1.081503e-05
+ 9.600000e-03  9.790450e-03 -2.229327e-01 -2.229354e-01  5.166100e-06 -9.235856e-07
+ 9.600000e-03  1.000100e-02 -2.237154e-01 -2.237153e-01  4.296636e-08  9.033641e-08
+ 9.600000e-03  1.020721e-02 -2.244916e-01 -2.244918e-01  4.215609e-08 -2.399329e-07
+ 9.600000e-03  1.040933e-02 -2.252640e-01 -2.252640e-01 -5.155749e-08 -8.784885e-08
+ 9.600000e-03  1.060760e-02 -2.260334e-01 -2.260335e-01  1.146803e-08 -1.305033e-07
+ 9.600000e-03  1.080223e-02 -2.268024e-01 -2.268025e-01  2.592983e-08 -7.574450e-08
+ 9.600000e-03  1.099342e-02 -2.275782e-01 -2.275783e-01  3.003355e-07  1.524539e-07
+ 9.600000e-03  1.118134e-02 -2.283945e-01 -2.283951e-01  9.571752e-07 -3.718507e-07
+ 9.600000e-03  1.136615e-02 -2.308538e-01 -3.098801e-01 -6.677137e-05 -1.105019e-05
+ 9.600000e-03  1.154801e-02 -2.308089e-01 -3.093214e-01 -7.939188e-04 -7.931063e-02
+ 9.600000e-03  1.172704e-02 -2.308872e-01 -2.308881e-01 -2.252409e-05 -1.835683e-05
+ 9.600000e-03  1.190338e-02 -2.312639e-01 -2.312626e-01 -6.416882e-06 -5.495095e-06
+ 9.600000e-03  1.207715e-02 -2.319263e-01 -2.319260e-01 -6.900523e-07 -4.658048e-07
+ 9.600000e-03  1.224845e-02 -2.326178e-01 -2.326178e-01 -2.360698e-08 -8.296810e-08
+ 9.600000e-03  1.241739e-02 -2.333149e-01 -2.333149e-01  2.889667e-08  8.780015e-08
+ 9.600000e-03  1.258406e-02 -2.340107e-01 -2.340107e-01 -3.826010e-09 -9.690583e-08
+ 9.600000e-03  1.274855e-02 -2.347022e-01 -2.347024e-01 -3.995489e-08 -9.449290e-08
+ 9.600000e-03  1.291094e-02 -2.353886e-01 -2.353887e-01  3.240785e-07  3.386526e-07
+ 9.600000e-03  1.307132e-02 -2.360698e-01 -2.360697e-01  1.116485e-07  1.022005e-07
+ 9.600000e-03  1.322976e-02 -2.367449e-01 -2.367451e-01  1.308902e-07 -5.766873e-08
+ 9.600000e-03  1.338632e-02 -2.374135e-01 -2.374127e-01  6.637156e-07  1.968458e-07
+ 9.600000e-03  1.354106e-02 -2.380761e-01 -2.380773e-01  2.426017e-07 -2.246946e-06
+ 9.600000e-03  1.369406e-02 -2.387328e-01 -2.387330e-01  3.637940e-07 -4.200708e-08
+ 9.600000e-03  1.384537e-02 -2.393822e-01 -2.393827e-01  1.102835e-06 -2.123307e-09
+ 9.600000e-03  1.399505e-02 -2.400261e-01 -2.400259e-01  1.411623e-07 -1.011328e-08
+ 9.600000e-03  1.414314e-02 -2.406603e-01 -2.406607e-01  1.176743e-06  5.378139e-07
+ 9.600000e-03  1.428969e-02 -2.412862e-01 -2.412869e-01 -4.580644e-05 -4.730870e-05
+ 9.600000e-03  1.443476e-02 -2.419049e-01 -2.419046e-01  6.193694e-07  3.389582e-07
+ 9.600000e-03  1.457838e-02 -2.425167e-01 -2.425181e-01  5.412216e-07  4.433229e-07
+ 9.600000e-03  1.472060e-02 -2.431184e-01 -2.431190e-01  2.058461e-06  3.313279e-06
+ 9.600000e-03  1.486146e-02 -2.437130e-01 -2.437132e-01 -1.046679e-07 -6.331465e-07
+ 9.600000e-03  1.500100e-02 -2.442751e-01 -2.442787e-01  1.483096e-05  7.402500e-06
+ 9.600000e-03  1.513925e-02 -2.448631e-01 -2.448622e-01  1.354347e-06  3.389039e-08
+ 9.600000e-03  1.527625e-02 -2.454153e-01 -2.454224e-01  2.013774e-06  1.636827e-06
+ 9.600000e-03  1.541204e-02 -2.459520e-01 -2.459526e-01  6.799789e-10  7.948045e-06
+ 9.600000e-03  1.554663e-02 -2.464771e-01 -2.464900e-01  1.594413e-05  1.134894e-06
+ 9.600000e-03  1.568007e-02 -2.469637e-01 -2.469695e-01  1.808004e-05  3.795474e-05
+ 9.600000e-03  1.581239e-02 -2.474599e-01 -2.475006e-01  4.970445e-05 -8.679472e-06
+ 9.600000e-03  1.594361e-02 -2.478960e-01 -2.479064e-01  4.894944e-05  1.427927e-04
+ 9.600000e-03  1.607375e-02 -2.484415e-01 -2.489712e-01  4.734076e-04 -5.954721e-04
+ 9.600000e-03  1.620285e-02 -2.499638e-01 -2.498119e-01  6.088912e-04  4.400106e-04
+ 9.600000e-03  1.633093e-02 -2.518590e-01 -2.519094e-01  2.507595e-05 -2.036019e-05
+ 9.600000e-03  1.645801e-02 -2.522133e-01 -2.521867e-01 -3.236642e-06 -5.268501e-06
+ 9.600000e-03  1.658412e-02 -2.526789e-01 -2.526917e-01 -8.866550e-06  8.114980e-07
+ 9.600000e-03  1.670928e-02 -2.531185e-01 -2.531022e-01  8.891584e-06  1.538170e-05
+ 9.600000e-03  1.683351e-02 -2.535736e-01 -2.535799e-01 -1.262280e-05 -4.518956e-06
+ 9.600000e-03  1.695682e-02 -2.540470e-01 -2.540378e-01 -7.603367e-08  8.568614e-06
+ 9.600000e-03  1.707925e-02 -2.545175e-01 -2.545198e-01 -6.453671e-06 -2.408073e-06
+ 9.600000e-03  1.720081e-02 -2.550161e-01 -2.550123e-01  9.747341e-07  3.907601e-06
+ 9.600000e-03  1.732151e-02 -2.554731e-01 -2.554746e-01 -3.604439e-06 -2.321634e-06
+ 9.600000e-03  1.744137e-02 -2.559588e-01 -2.559561e-01 -1.032837e-06  2.592855e-06
+ 9.600000e-03  1.756042e-02 -2.564385e-01 -2.564393e-01 -2.372662e-06 -1.628938e-06
+ 9.600000e-03  1.767867e-02 -2.569136e-01 -2.569118e-01 -1.364433e-06  1.565212e-06
+ 9.600000e-03  1.779613e-02 -2.573592e-01 -2.573598e-01  5.934856e-05  5.879176e-05
+ 9.600000e-03  1.791282e-02 -2.579124e-01 -2.579112e-01  3.016961e-07  1.494927e-06
+ 9.600000e-03  1.802876e-02 -2.583793e-01 -2.583797e-01 -9.541109e-07 -5.707563e-07
+ 9.600000e-03  1.814395e-02 -2.588514e-01 -2.588505e-01 -1.458997e-06 -7.931746e-08
+ 9.600000e-03  1.825842e-02 -2.593189e-01 -2.593193e-01 -1.305374e-06 -1.807997e-06
+ 9.600000e-03  1.837217e-02 -2.597886e-01 -2.597873e-01 -1.737133e-06  2.066836e-07
+ 9.600000e-03  1.848523e-02 -2.602514e-01 -2.602515e-01 -2.954783e-07 -4.300925e-07
+ 9.600000e-03  1.859759e-02 -2.607154e-01 -2.607150e-01 -1.063973e-06 -1.404456e-07
+ 9.600000e-03  1.870929e-02 -2.611801e-01 -2.611804e-01 -3.093049e-06 -3.542264e-06
+ 9.600000e-03  1.882032e-02 -2.616745e-01 -2.616739e-01  7.101636e-05  7.216470e-05
+ 9.600000e-03  1.893069e-02 -2.620997e-01 -2.620999e-01  7.684566e-07  3.688963e-07
+ 9.600000e-03  1.904043e-02 -2.626692e-01 -2.626686e-01 -2.880280e-05 -2.799248e-05
+ 9.600000e-03  1.914954e-02 -2.640190e-01 -2.640154e-01 -4.554398e-04 -4.509709e-04
+ 9.600000e-03  1.925803e-02 -2.634598e-01 -2.634625e-01  2.171828e-04  2.117232e-04
+ 9.600000e-03  1.936592e-02 -2.634016e-01 -2.634055e-01  1.641585e-05  1.678408e-05
+ 9.600000e-03  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  1.968602e-02 -2.644709e-01 -2.644684e-01 -6.182278e-05 -5.902684e-05
+ 9.600000e-03  1.979157e-02 -2.650750e-01 -2.650751e-01 -2.004785e-07 -5.334153e-07
+ 9.600000e-03  1.989656e-02 -2.655234e-01 -2.655232e-01 -3.703472e-06 -3.337767e-06
+ 9.600000e-03  2.000100e-02 -2.659373e-01 -2.659368e-01 -1.044082e-05 -9.558952e-06
+ 9.600000e-03  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.600000e-03  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  1.000000e-06 -3.065346e-01 -3.065355e-01  7.464507e-07 -8.279578e-09
+ 1.200000e-02  2.042241e-03 -2.067107e-01 -3.066409e-01 -1.736371e-09 -4.227507e-07
+ 1.200000e-02  2.887751e-03 -2.076092e-01 -3.067421e-01  1.756430e-08 -5.713682e-08
+ 1.200000e-02  3.536534e-03 -2.085013e-01 -3.068465e-01  5.974263e-09 -6.847738e-07
+ 1.200000e-02  4.083483e-03 -2.093884e-01 -3.069528e-01  1.395150e-08 -1.425829e-08
+ 1.200000e-02  4.565355e-03 -2.102710e-01 -3.070628e-01  3.552369e-08 -7.350125e-07
+ 1.200000e-02  5.001000e-03 -2.111491e-01 -3.071749e-01  2.102504e-08 -2.640275e-09
+ 1.200000e-02  5.401617e-03 -2.120228e-01 -3.072904e-01  1.015843e-08 -7.452746e-07
+ 1.200000e-02  5.774503e-03 -2.128920e-01 -3.074084e-01  8.456422e-08 -1.091973e-06
+ 1.200000e-02  6.124724e-03 -2.137569e-01 -3.075288e-01  2.299097e-08 -7.780887e-07
+ 1.200000e-02  6.455972e-03 -2.146171e-01 -3.076512e-01  8.333531e-08 -4.443515e-07
+ 1.200000e-02  6.771032e-03 -2.154729e-01 -3.077768e-01 -6.348106e-09 -5.562029e-07
+ 1.200000e-02  7.072068e-03 -2.163240e-01 -3.079040e-01  4.866529e-09 -5.168678e-08
+ 1.200000e-02  7.360801e-03 -2.171704e-01 -3.080340e-01  1.667881e-08 -5.305505e-07
+ 1.200000e-02  7.638626e-03 -2.180150e-01 -3.081662e-01  1.077886e-05  2.332562e-06
+ 1.200000e-02  7.906694e-03 -2.188492e-01 -3.082996e-01  2.177190e-08 -5.020044e-07
+ 1.200000e-02  8.165966e-03 -2.196815e-01 -3.084351e-01  9.713893e-08 -7.929971e-09
+ 1.200000e-02  8.417254e-03 -2.205088e-01 -3.085728e-01  3.638647e-08 -4.291987e-07
+ 1.200000e-02  8.661254e-03 -2.213315e-01 -3.087121e-01 -1.863894e-06 -4.633105e-07
+ 1.200000e-02  8.898565e-03 -2.221370e-01 -2.221371e-01  1.182286e-05  1.170843e-05
+ 1.200000e-02  9.129709e-03 -2.229650e-01 -2.229674e-01  2.645233e-06 -3.217610e-06
+ 1.200000e-02  9.355143e-03 -2.237748e-01 -2.237750e-01  1.022271e-07 -1.904481e-07
+ 1.200000e-02  9.575271e-03 -2.245790e-01 -2.245790e-01 -8.564981e-08 -1.348648e-07
+ 1.200000e-02  9.790450e-03 -2.253793e-01 -2.253794e-01  3.596933e-08 -1.651868e-07
+ 1.200000e-02  1.000100e-02 -2.261763e-01 -2.261764e-01 -1.906052e-08 -9.901761e-08
+ 1.200000e-02  1.020721e-02 -2.269723e-01 -2.269725e-01 -2.077559e-10 -2.612966e-07
+ 1.200000e-02  1.040933e-02 -2.277738e-01 -2.277739e-01  9.852856e-08 -7.203392e-08
+ 1.200000e-02  1.060760e-02 -2.286158e-01 -2.286170e-01 -3.112380e-06 -4.138499e-06
+ 1.200000e-02  1.080223e-02 -2.303231e-01 -3.102414e-01 -9.032454e-04 -8.082550e-02
+ 1.200000e-02  1.099342e-02 -2.304381e-01 -2.304471e-01  8.418611e-05  8.259400e-05
+ 1.200000e-02  1.118134e-02 -2.308985e-01 -2.308963e-01 -7.086527e-05 -6.909577e-05
+ 1.200000e-02  1.136615e-02 -2.315850e-01 -2.315847e-01  1.713147e-06  2.567781e-06
+ 1.200000e-02  1.154801e-02 -2.323224e-01 -2.323222e-01 -3.804512e-08 -8.542801e-09
+ 1.200000e-02  1.172704e-02 -2.330641e-01 -2.330641e-01 -2.900930e-07 -2.196465e-07
+ 1.200000e-02  1.190338e-02 -2.338025e-01 -2.338027e-01  7.925561e-08  4.011329e-08
+ 1.200000e-02  1.207715e-02 -2.345367e-01 -2.345369e-01  3.401520e-07 -2.884007e-08
+ 1.200000e-02  1.224845e-02 -2.352661e-01 -2.352661e-01 -8.568610e-08 -4.211086e-09
+ 1.200000e-02  1.241739e-02 -2.359902e-01 -2.359901e-01  1.046774e-08  4.388145e-08
+ 1.200000e-02  1.258406e-02 -2.367085e-01 -2.367087e-01  8.919208e-08  7.228573e-08
+ 1.200000e-02  1.274855e-02 -2.374208e-01 -2.374208e-01  1.397080e-06  1.457698e-06
+ 1.200000e-02  1.291094e-02 -2.381284e-01 -2.381288e-01  1.061680e-07 -8.362438e-07
+ 1.200000e-02  1.307132e-02 -2.388294e-01 -2.388294e-01  2.609198e-08 -1.731980e-07
+ 1.200000e-02  1.322976e-02 -2.395241e-01 -2.395247e-01 -9.159861e-08 -3.149825e-07
+ 1.200000e-02  1.338632e-02 -2.402139e-01 -2.402141e-01  8.885629e-07  1.189790e-06
+ 1.200000e-02  1.354106e-02 -2.409619e-01 -2.409616e-01 -7.899925e-05 -7.902041e-05
+ 1.200000e-02  1.369406e-02 -2.415589e-01 -2.415599e-01 -7.114017e-07 -9.009397e-07
+ 1.200000e-02  1.384537e-02 -2.422280e-01 -2.422289e-01  3.259496e-06  1.659051e-06
+ 1.200000e-02  1.399505e-02 -2.428887e-01 -2.428882e-01  6.669174e-07  3.924802e-07
+ 1.200000e-02  1.414314e-02 -2.435378e-01 -2.435397e-01  1.935279e-06  6.907568e-07
+ 1.200000e-02  1.428969e-02 -2.441652e-01 -2.441675e-01  2.272165e-05  1.849065e-05
+ 1.200000e-02  1.443476e-02 -2.448066e-01 -2.448058e-01  1.796777e-06  1.249632e-06
+ 1.200000e-02  1.457838e-02 -2.454173e-01 -2.454243e-01  2.165338e-06  1.815996e-06
+ 1.200000e-02  1.472060e-02 -2.460103e-01 -2.460132e-01  9.251727e-06  1.648582e-05
+ 1.200000e-02  1.486146e-02 -2.465997e-01 -2.466054e-01  2.105979e-06 -9.928476e-06
+ 1.200000e-02  1.500100e-02 -2.471215e-01 -2.471499e-01  5.584970e-05 -1.432525e-05
+ 1.200000e-02  1.513925e-02 -2.476950e-01 -2.476971e-01 -8.423873e-06 -5.693815e-06
+ 1.200000e-02  1.527625e-02 -2.480668e-01 -2.482348e-01  1.538647e-05 -1.732132e-04
+ 1.200000e-02  1.541204e-02 -2.493190e-01 -2.494590e-01  1.113604e-04 -1.194792e-04
+ 1.200000e-02  1.554663e-02 -2.506279e-01 -2.512241e-01 -3.596621e-05 -1.352452e-04
+ 1.200000e-02  1.568007e-02 -2.519247e-01 -2.519259e-01  7.803755e-06 -1.639624e-04
+ 1.200000e-02  1.581239e-02 -2.522798e-01 -2.522770e-01 -2.298924e-06 -9.300747e-08
+ 1.200000e-02  1.594361e-02 -2.528229e-01 -2.528149e-01 -1.847411e-05 -5.486534e-05
+ 1.200000e-02  1.607375e-02 -2.533034e-01 -2.533035e-01  2.709884e-07  9.472461e-08
+ 1.200000e-02  1.620285e-02 -2.538487e-01 -2.538422e-01 -2.815142e-05 -2.507329e-05
+ 1.200000e-02  1.633093e-02 -2.543736e-01 -2.543757e-01 -5.168928e-07 -4.419951e-06
+ 1.200000e-02  1.645801e-02 -2.549296e-01 -2.549255e-01 -9.442108e-06  1.827596e-06
+ 1.200000e-02  1.658412e-02 -2.554626e-01 -2.554641e-01 -3.616966e-06 -2.604241e-06
+ 1.200000e-02  1.670928e-02 -2.560121e-01 -2.560096e-01  1.943931e-07  1.305064e-06
+ 1.200000e-02  1.683351e-02 -2.565579e-01 -2.565582e-01 -1.276526e-07 -3.910275e-07
+ 1.200000e-02  1.695682e-02 -2.570891e-01 -2.570881e-01 -6.109154e-06 -5.719662e-06
+ 1.200000e-02  1.707925e-02 -2.576915e-01 -2.576908e-01 -1.675484e-05 -1.701970e-05
+ 1.200000e-02  1.720081e-02 -2.582102e-01 -2.582102e-01  1.807222e-08 -4.245507e-08
+ 1.200000e-02  1.732151e-02 -2.587493e-01 -2.587485e-01 -2.512903e-06 -8.391426e-07
+ 1.200000e-02  1.744137e-02 -2.592845e-01 -2.592849e-01 -1.158591e-07 -8.189869e-07
+ 1.200000e-02  1.756042e-02 -2.598207e-01 -2.598196e-01 -6.924911e-07  4.492512e-07
+ 1.200000e-02  1.767867e-02 -2.603527e-01 -2.603529e-01 -4.371673e-07 -2.651577e-07
+ 1.200000e-02  1.779613e-02 -2.608845e-01 -2.608841e-01  1.420583e-06  1.449667e-06
+ 1.200000e-02  1.791282e-02 -2.614295e-01 -2.614295e-01 -1.652908e-05 -1.659943e-05
+ 1.200000e-02  1.802876e-02 -2.619504e-01 -2.619503e-01 -1.170878e-05 -1.170246e-05
+ 1.200000e-02  1.814395e-02 -2.625097e-01 -2.625099e-01 -2.122332e-06 -3.087759e-06
+ 1.200000e-02  1.825842e-02 -2.638492e-01 -2.638482e-01 -1.056211e-04 -1.050548e-04
+ 1.200000e-02  1.837217e-02 -2.635983e-01 -2.635978e-01 -2.354010e-04 -2.302237e-04
+ 1.200000e-02  1.848523e-02 -2.633687e-01 -2.633741e-01  3.514833e-04  3.433111e-04
+ 1.200000e-02  1.859759e-02 -2.631796e-01 -2.631893e-01  7.984311e-05  7.926237e-05
+ 1.200000e-02  1.870929e-02 -2.646042e-01 -2.646039e-01 -9.923571e-07 -4.168377e-07
+ 1.200000e-02  1.882032e-02 -2.651869e-01 -2.651868e-01  6.217985e-09  3.238827e-07
+ 1.200000e-02  1.893069e-02 -2.656974e-01 -2.656970e-01  2.512367e-07  6.031481e-07
+ 1.200000e-02  1.904043e-02 -2.661853e-01 -2.661841e-01 -3.861697e-07  2.255698e-06
+ 1.200000e-02  1.914954e-02 -2.666342e-01 -2.666341e-01  7.195767e-05  7.165234e-05
+ 1.200000e-02  1.925803e-02 -2.671317e-01 -2.671299e-01 -3.415878e-07 -5.164736e-07
+ 1.200000e-02  1.936592e-02 -2.675969e-01 -2.675969e-01 -2.375377e-07 -3.678495e-08
+ 1.200000e-02  1.947320e-02 -2.681184e-01 -2.681182e-01 -5.830589e-05 -5.846552e-05
+ 1.200000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.200000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.000000e-06 -2.086619e-01 -3.093239e-01  3.117321e-08 -1.112122e-09
+ 1.440000e-02  2.042241e-03 -2.095756e-01 -3.093770e-01  1.588775e-09  3.433445e-09
+ 1.440000e-02  2.887751e-03 -2.104618e-01 -3.094281e-01 -7.748471e-10 -4.568277e-09
+ 1.440000e-02  3.536534e-03 -2.113429e-01 -3.094827e-01  1.474767e-08 -1.422630e-08
+ 1.440000e-02  4.083483e-03 -2.122203e-01 -3.095407e-01  2.695396e-08  4.631989e-08
+ 1.440000e-02  4.565355e-03 -2.130944e-01 -3.096025e-01  3.430119e-08 -5.449839e-08
+ 1.440000e-02  5.001000e-03 -2.139653e-01 -3.096680e-01 -5.045017e-08  7.900833e-08
+ 1.440000e-02  5.401617e-03 -2.148328e-01 -3.097366e-01 -1.377409e-08 -1.977977e-07
+ 1.440000e-02  5.774503e-03 -2.156969e-01 -3.098095e-01  7.987776e-09 -1.050675e-07
+ 1.440000e-02  6.124724e-03 -2.165577e-01 -3.098852e-01  1.631217e-09 -1.460577e-07
+ 1.440000e-02  6.455972e-03 -2.174149e-01 -3.099644e-01  1.732853e-08 -8.076546e-08
+ 1.440000e-02  6.771032e-03 -2.182700e-01 -3.100474e-01 -2.536366e-06 -1.310709e-06
+ 1.440000e-02  7.072068e-03 -2.191185e-01 -3.101322e-01  1.456196e-08 -1.978367e-07
+ 1.440000e-02  7.360801e-03 -2.199647e-01 -3.102205e-01  6.577088e-08 -8.732125e-08
+ 1.440000e-02  7.638626e-03 -2.208069e-01 -3.103119e-01  5.206872e-08 -2.420806e-07
+ 1.440000e-02  7.906694e-03 -2.216463e-01 -3.104060e-01 -2.971124e-06 -3.925740e-07
+ 1.440000e-02  8.165966e-03 -2.224871e-01 -3.105038e-01 -4.009945e-06 -7.993755e-07
+ 1.440000e-02  8.417254e-03 -2.233138e-01 -3.106028e-01 -1.384111e-06 -2.420964e-07
+ 1.440000e-02  8.661254e-03 -2.241403e-01 -2.241404e-01 -2.715234e-07 -6.741385e-07
+ 1.440000e-02  8.898565e-03 -2.249632e-01 -2.249632e-01  3.388646e-09 -9.282687e-09
+ 1.440000e-02  9.129709e-03 -2.257829e-01 -2.257831e-01  9.810886e-08 -1.451187e-07
+ 1.440000e-02  9.355143e-03 -2.266000e-01 -2.266001e-01 -8.823555e-08 -1.796715e-07
+ 1.440000e-02  9.575271e-03 -2.274167e-01 -2.274168e-01  5.290585e-09 -4.846475e-08
+ 1.440000e-02  9.790450e-03 -2.282450e-01 -2.282464e-01 -2.358120e-06 -3.039785e-06
+ 1.440000e-02  1.000100e-02 -2.293190e-01 -3.115001e-01  7.344803e-04 -1.099154e-04
+ 1.440000e-02  1.020721e-02 -2.297579e-01 -2.297621e-01  1.676055e-04  1.561039e-04
+ 1.440000e-02  1.040933e-02 -2.306212e-01 -2.306187e-01 -8.393668e-06 -2.677358e-06
+ 1.440000e-02  1.060760e-02 -2.313882e-01 -2.313878e-01 -6.924439e-07 -5.746727e-07
+ 1.440000e-02  1.080223e-02 -2.321673e-01 -2.321673e-01  2.616031e-07  3.041820e-07
+ 1.440000e-02  1.099342e-02 -2.329446e-01 -2.329447e-01  7.089452e-08 -3.020924e-08
+ 1.440000e-02  1.118134e-02 -2.337178e-01 -2.337179e-01 -1.469813e-07 -1.477561e-07
+ 1.440000e-02  1.136615e-02 -2.344863e-01 -2.344864e-01  3.078259e-07  2.673330e-08
+ 1.440000e-02  1.154801e-02 -2.352504e-01 -2.352504e-01 -4.805653e-08  7.981421e-08
+ 1.440000e-02  1.172704e-02 -2.360097e-01 -2.360098e-01  2.829533e-08 -1.136171e-08
+ 1.440000e-02  1.190338e-02 -2.367640e-01 -2.367644e-01  8.217103e-08 -1.200614e-07
+ 1.440000e-02  1.207715e-02 -2.375128e-01 -2.375130e-01  4.573447e-07  4.969088e-09
+ 1.440000e-02  1.224845e-02 -2.382571e-01 -2.382572e-01  3.701854e-07  6.691565e-07
+ 1.440000e-02  1.241739e-02 -2.389964e-01 -2.389964e-01  2.366584e-07  1.727215e-07
+ 1.440000e-02  1.258406e-02 -2.397306e-01 -2.397309e-01  3.611953e-07 -9.994410e-08
+ 1.440000e-02  1.274855e-02 -2.404606e-01 -2.404613e-01  2.039799e-06  1.384404e-06
+ 1.440000e-02  1.291094e-02 -2.411548e-01 -2.411550e-01  1.032793e-05  1.104537e-05
+ 1.440000e-02  1.307132e-02 -2.418873e-01 -2.418870e-01  5.171268e-07  3.494620e-07
+ 1.440000e-02  1.322976e-02 -2.425966e-01 -2.425977e-01  1.461889e-06  1.892223e-07
+ 1.440000e-02  1.338632e-02 -2.432958e-01 -2.432978e-01  3.024747e-06 -1.474279e-06
+ 1.440000e-02  1.354106e-02 -2.439880e-01 -2.439879e-01  3.817340e-07  2.089444e-06
+ 1.440000e-02  1.369406e-02 -2.446744e-01 -2.446751e-01 -8.659202e-08 -1.509318e-06
+ 1.440000e-02  1.384537e-02 -2.453397e-01 -2.453469e-01 -1.281434e-06 -4.057026e-06
+ 1.440000e-02  1.399505e-02 -2.459939e-01 -2.459962e-01  5.783929e-06  1.412550e-05
+ 1.440000e-02  1.414314e-02 -2.466437e-01 -2.466466e-01 -2.389458e-06 -7.028303e-06
+ 1.440000e-02  1.428969e-02 -2.472229e-01 -2.472645e-01 -1.542196e-06 -3.456336e-05
+ 1.440000e-02  1.443476e-02 -2.478208e-01 -2.478164e-01 -6.213742e-06  7.427913e-06
+ 1.440000e-02  1.457838e-02 -2.482856e-01 -2.487059e-01  5.067260e-04  1.367815e-04
+ 1.440000e-02  1.472060e-02 -2.496428e-01 -2.495229e-01 -1.054788e-03 -6.569255e-04
+ 1.440000e-02  1.486146e-02 -2.505354e-01 -2.510466e-01  1.655881e-05 -4.883682e-04
+ 1.440000e-02  1.500100e-02 -2.518541e-01 -2.518979e-01  8.289649e-06 -4.333877e-06
+ 1.440000e-02  1.513925e-02 -2.522542e-01 -2.522426e-01 -8.492861e-06 -5.848258e-06
+ 1.440000e-02  1.527625e-02 -2.528532e-01 -2.528413e-01 -3.863764e-05 -6.224482e-05
+ 1.440000e-02  1.541204e-02 -2.533997e-01 -2.534056e-01 -4.460664e-07 -1.169549e-05
+ 1.440000e-02  1.554663e-02 -2.540061e-01 -2.539964e-01 -6.524318e-06  9.653734e-06
+ 1.440000e-02  1.568007e-02 -2.546044e-01 -2.546052e-01 -5.294465e-07  4.303468e-08
+ 1.440000e-02  1.581239e-02 -2.552004e-01 -2.551990e-01 -7.203919e-07  7.925800e-07
+ 1.440000e-02  1.594361e-02 -2.558164e-01 -2.558140e-01 -8.088593e-06 -3.771970e-06
+ 1.440000e-02  1.607375e-02 -2.564197e-01 -2.564206e-01 -1.852743e-06 -1.524330e-06
+ 1.440000e-02  1.620285e-02 -2.570212e-01 -2.570197e-01 -2.363343e-06 -2.217062e-06
+ 1.440000e-02  1.633093e-02 -2.576689e-01 -2.576683e-01 -5.704327e-06 -6.734493e-06
+ 1.440000e-02  1.645801e-02 -2.582444e-01 -2.582445e-01  5.256745e-08 -2.817350e-07
+ 1.440000e-02  1.658412e-02 -2.588432e-01 -2.588423e-01 -1.217540e-06  3.403227e-07
+ 1.440000e-02  1.670928e-02 -2.594382e-01 -2.594380e-01 -5.510172e-07 -9.576822e-08
+ 1.440000e-02  1.683351e-02 -2.600313e-01 -2.600314e-01  5.575436e-07  1.092898e-07
+ 1.440000e-02  1.695682e-02 -2.606240e-01 -2.606237e-01 -1.113013e-06 -9.353355e-07
+ 1.440000e-02  1.707925e-02 -2.612164e-01 -2.612166e-01 -1.435435e-06 -1.500068e-06
+ 1.440000e-02  1.720081e-02 -2.618103e-01 -2.618100e-01 -8.581027e-06 -8.298184e-06
+ 1.440000e-02  1.732151e-02 -2.624048e-01 -2.624050e-01  1.606277e-06  1.229563e-06
+ 1.440000e-02  1.744137e-02 -2.630770e-01 -2.630772e-01  7.984242e-05  7.640925e-05
+ 1.440000e-02  1.756042e-02 -2.637526e-01 -2.637499e-01  6.985786e-05  6.918138e-05
+ 1.440000e-02  1.767867e-02 -2.634081e-01 -2.634124e-01  9.616161e-05  9.507073e-05
+ 1.440000e-02  1.779613e-02 -2.643436e-01 -2.643427e-01  5.099390e-05  4.950497e-05
+ 1.440000e-02  1.791282e-02 -2.650289e-01 -2.650288e-01 -1.738399e-07 -2.369667e-07
+ 1.440000e-02  1.802876e-02 -2.656081e-01 -2.656078e-01  1.554569e-07  4.738338e-07
+ 1.440000e-02  1.814395e-02 -2.661660e-01 -2.661645e-01 -4.578788e-07  6.920104e-07
+ 1.440000e-02  1.825842e-02 -2.666744e-01 -2.666743e-01 -1.232930e-05 -1.238517e-05
+ 1.440000e-02  1.837217e-02 -2.672568e-01 -2.672550e-01  1.528954e-06  3.399080e-06
+ 1.440000e-02  1.848523e-02 -2.678063e-01 -2.678063e-01  7.897756e-06  7.765966e-06
+ 1.440000e-02  1.859759e-02 -2.682897e-01 -2.682896e-01  1.759598e-05  1.772004e-05
+ 1.440000e-02  1.870929e-02 -2.688409e-01 -2.688410e-01 -4.106140e-07 -6.056379e-07
+ 1.440000e-02  1.882032e-02 -2.693688e-01 -2.693687e-01  7.876552e-06  7.803265e-06
+ 1.440000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.440000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.000000e-06 -3.126380e-01 -3.126380e-01 -4.635457e-08 -3.695109e-08
+ 1.680000e-02  2.042241e-03 -2.129982e-01 -3.126349e-01  9.296662e-10 -2.551419e-08
+ 1.680000e-02  2.887751e-03 -2.138638e-01 -3.126315e-01  4.532769e-09 -7.378752e-08
+ 1.680000e-02  3.536534e-03 -2.147257e-01 -3.126322e-01 -1.059683e-09 -5.997060e-08
+ 1.680000e-02  4.083483e-03 -2.155854e-01 -3.126370e-01 -1.920905e-08 -9.327438e-08
+ 1.680000e-02  4.565355e-03 -2.164430e-01 -3.126465e-01  2.445233e-08 -1.885432e-07
+ 1.680000e-02  5.001000e-03 -2.172986e-01 -3.126601e-01  6.537916e-09 -4.263390e-08
+ 1.680000e-02  5.401617e-03 -2.181522e-01 -3.126783e-01 -4.122055e-09 -1.527396e-07
+ 1.680000e-02  5.774503e-03 -2.190040e-01 -3.127003e-01 -3.591729e-07  3.511837e-07
+ 1.680000e-02  6.124724e-03 -2.198529e-01 -3.127270e-01  2.876436e-08 -2.224306e-08
+ 1.680000e-02  6.455972e-03 -2.206997e-01 -3.127575e-01 -1.938153e-09 -7.844494e-09
+ 1.680000e-02  6.771032e-03 -2.215448e-01 -3.127921e-01 -7.262798e-07 -1.887283e-07
+ 1.680000e-02  7.072068e-03 -2.223900e-01 -3.128306e-01 -2.509019e-06 -8.713979e-08
+ 1.680000e-02  7.360801e-03 -2.232259e-01 -3.128726e-01  1.269152e-07 -7.496061e-08
+ 1.680000e-02  7.638626e-03 -2.240622e-01 -3.129186e-01  9.442588e-09 -1.603043e-07
+ 1.680000e-02  7.906694e-03 -2.248959e-01 -3.129681e-01  7.477569e-09  2.930215e-08
+ 1.680000e-02  8.165966e-03 -2.257271e-01 -3.130216e-01  8.380923e-08 -4.064112e-07
+ 1.680000e-02  8.417254e-03 -2.265562e-01 -2.265563e-01 -1.569518e-07 -3.812892e-07
+ 1.680000e-02  8.661254e-03 -2.273853e-01 -2.273854e-01 -9.371187e-08 -3.492453e-07
+ 1.680000e-02  8.898565e-03 -2.282697e-01 -2.282619e-01  2.104664e-05  2.612163e-05
+ 1.680000e-02  9.129709e-03 -2.288247e-01 -2.288257e-01  2.393559e-04  2.350559e-04
+ 1.680000e-02  9.355143e-03 -2.298439e-01 -2.298447e-01 -5.598162e-06 -2.441929e-06
+ 1.680000e-02  9.575271e-03 -2.306357e-01 -2.306354e-01 -7.644263e-07 -1.923122e-07
+ 1.680000e-02  9.790450e-03 -2.314439e-01 -2.314438e-01 -3.582015e-08  3.894779e-08
+ 1.680000e-02  1.000100e-02 -2.322468e-01 -2.322467e-01  1.845433e-08 -3.188428e-08
+ 1.680000e-02  1.020721e-02 -2.330469e-01 -2.330469e-01 -7.048905e-09 -8.510530e-08
+ 1.680000e-02  1.040933e-02 -2.338432e-01 -2.338433e-01  1.130437e-07  7.603466e-08
+ 1.680000e-02  1.060760e-02 -2.346356e-01 -2.346357e-01  3.056294e-08 -1.900971e-07
+ 1.680000e-02  1.080223e-02 -2.354242e-01 -2.354244e-01  9.955320e-07  8.529620e-07
+ 1.680000e-02  1.099342e-02 -2.362088e-01 -2.362088e-01 -5.136377e-08  1.876873e-08
+ 1.680000e-02  1.118134e-02 -2.369894e-01 -2.369893e-01  2.823945e-07  4.436710e-07
+ 1.680000e-02  1.136615e-02 -2.377660e-01 -2.377662e-01  5.277374e-08 -1.074933e-07
+ 1.680000e-02  1.154801e-02 -2.385379e-01 -2.385383e-01 -5.533593e-08 -2.807292e-07
+ 1.680000e-02  1.172704e-02 -2.393059e-01 -2.393062e-01  1.158408e-06  8.132753e-07
+ 1.680000e-02  1.190338e-02 -2.400713e-01 -2.400712e-01 -7.817820e-08 -2.435394e-08
+ 1.680000e-02  1.207715e-02 -2.408296e-01 -2.408296e-01 -8.721948e-05 -8.741938e-05
+ 1.680000e-02  1.224845e-02 -2.415751e-01 -2.415760e-01  6.164681e-07  3.776919e-07
+ 1.680000e-02  1.241739e-02 -2.423237e-01 -2.423250e-01  2.065105e-06 -8.770861e-07
+ 1.680000e-02  1.258406e-02 -2.430666e-01 -2.430669e-01  3.602088e-07  2.096846e-06
+ 1.680000e-02  1.274855e-02 -2.438044e-01 -2.438041e-01  7.440877e-07  7.069361e-07
+ 1.680000e-02  1.291094e-02 -2.445332e-01 -2.445361e-01  3.560554e-06  5.237667e-07
+ 1.680000e-02  1.307132e-02 -2.452482e-01 -2.452543e-01  6.458360e-06 -5.536338e-06
+ 1.680000e-02  1.322976e-02 -2.459582e-01 -2.459590e-01  4.020821e-07  8.589799e-06
+ 1.680000e-02  1.338632e-02 -2.466639e-01 -2.466657e-01 -2.516077e-06 -4.521497e-06
+ 1.680000e-02  1.354106e-02 -2.473103e-01 -2.473569e-01  4.015120e-06  4.601431e-06
+ 1.680000e-02  1.369406e-02 -2.479117e-01 -2.479385e-01  1.274062e-04  1.841220e-04
+ 1.680000e-02  1.384537e-02 -2.487449e-01 -2.492003e-01 -4.171720e-04 -9.158014e-04
+ 1.680000e-02  1.399505e-02 -2.497401e-01 -2.494359e-01  3.347856e-05  2.872228e-04
+ 1.680000e-02  1.414314e-02 -2.503625e-01 -2.505399e-01  1.104474e-03  4.546191e-04
+ 1.680000e-02  1.428969e-02 -2.516453e-01 -2.518289e-01 -6.200171e-04 -4.224413e-04
+ 1.680000e-02  1.443476e-02 -2.521906e-01 -2.521553e-01  3.585784e-06  8.369721e-06
+ 1.680000e-02  1.457838e-02 -2.528363e-01 -2.528263e-01 -2.767510e-05 -5.909043e-05
+ 1.680000e-02  1.472060e-02 -2.534491e-01 -2.534567e-01 -8.276717e-06 -1.725745e-05
+ 1.680000e-02  1.486146e-02 -2.541102e-01 -2.541034e-01  8.715605e-07  1.534650e-06
+ 1.680000e-02  1.500100e-02 -2.547739e-01 -2.547719e-01 -8.925683e-06 -1.218278e-05
+ 1.680000e-02  1.513925e-02 -2.554281e-01 -2.554296e-01 -3.158924e-06 -3.453316e-06
+ 1.680000e-02  1.527625e-02 -2.560898e-01 -2.560880e-01 -1.082184e-06 -1.041902e-06
+ 1.680000e-02  1.541204e-02 -2.567493e-01 -2.567480e-01 -4.538022e-06 -3.522156e-06
+ 1.680000e-02  1.554663e-02 -2.573894e-01 -2.573899e-01  7.080226e-06  7.261032e-06
+ 1.680000e-02  1.568007e-02 -2.580697e-01 -2.580691e-01 -5.119121e-07 -2.722033e-07
+ 1.680000e-02  1.581239e-02 -2.587199e-01 -2.587192e-01 -2.620257e-06 -1.455490e-06
+ 1.680000e-02  1.594361e-02 -2.593665e-01 -2.593668e-01 -4.018345e-07 -3.238523e-07
+ 1.680000e-02  1.607375e-02 -2.600118e-01 -2.600116e-01  1.052457e-07 -1.119562e-07
+ 1.680000e-02  1.620285e-02 -2.606554e-01 -2.606550e-01 -7.865952e-07 -1.444763e-07
+ 1.680000e-02  1.633093e-02 -2.613044e-01 -2.613045e-01  1.701732e-05  1.728525e-05
+ 1.680000e-02  1.645801e-02 -2.619341e-01 -2.619338e-01  1.299934e-06  1.366069e-06
+ 1.680000e-02  1.658412e-02 -2.625929e-01 -2.625929e-01  1.149315e-05  1.144404e-05
+ 1.680000e-02  1.670928e-02 -2.634493e-01 -2.634457e-01 -1.730991e-06 -1.777440e-06
+ 1.680000e-02  1.683351e-02 -2.637954e-01 -2.637936e-01 -1.237117e-04 -1.207637e-04
+ 1.680000e-02  1.695682e-02 -2.640257e-01 -2.640297e-01  8.747543e-06  8.791265e-06
+ 1.680000e-02  1.707925e-02 -2.649385e-01 -2.649382e-01 -6.419058e-07 -2.679120e-07
+ 1.680000e-02  1.720081e-02 -2.655705e-01 -2.655702e-01 -4.748859e-07 -4.541383e-08
+ 1.680000e-02  1.732151e-02 -2.661850e-01 -2.661838e-01 -2.165506e-07  2.238422e-06
+ 1.680000e-02  1.744137e-02 -2.667826e-01 -2.667836e-01 -1.464746e-06 -2.269917e-06
+ 1.680000e-02  1.756042e-02 -2.673980e-01 -2.673977e-01  6.092813e-07  1.329313e-06
+ 1.680000e-02  1.767867e-02 -2.680387e-01 -2.680385e-01 -5.292023e-05 -5.275769e-05
+ 1.680000e-02  1.779613e-02 -2.685795e-01 -2.685793e-01  6.584146e-07  8.631900e-07
+ 1.680000e-02  1.791282e-02 -2.691780e-01 -2.691779e-01  9.670166e-08  3.358763e-07
+ 1.680000e-02  1.802876e-02 -2.697750e-01 -2.697749e-01 -3.134787e-07 -5.908521e-07
+ 1.680000e-02  1.814395e-02 -2.703869e-01 -2.703867e-01  4.986637e-07  5.441673e-07
+ 1.680000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.848523e-02 -2.716556e-01 -2.716548e-01 -2.716556e-01 -2.716548e-01
+ 1.680000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.680000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.000000e-06 -3.164855e-01 -3.164855e-01 -1.150729e-07 -7.308196e-08
+ 1.920000e-02  2.042241e-03 -2.169888e-01 -3.164225e-01  2.905387e-08 -5.441048e-08
+ 1.920000e-02  2.887751e-03 -2.178256e-01 -3.163607e-01  1.142373e-08 -8.401987e-08
+ 1.920000e-02  3.536534e-03 -2.186603e-01 -3.163034e-01  1.406227e-08 -9.583769e-08
+ 1.920000e-02  4.083483e-03 -2.194943e-01 -3.162510e-01 -1.059174e-07  3.796120e-08
+ 1.920000e-02  4.565355e-03 -2.203275e-01 -3.162037e-01  6.801200e-08 -1.331956e-08
+ 1.920000e-02  5.001000e-03 -2.211601e-01 -3.161613e-01  8.003408e-08  1.918915e-08
+ 1.920000e-02  5.401617e-03 -2.219919e-01 -3.161239e-01  4.975143e-07  2.825861e-08
+ 1.920000e-02  5.774503e-03 -2.228232e-01 -3.160914e-01  3.193711e-07 -7.346976e-09
+ 1.920000e-02  6.124724e-03 -2.236543e-01 -3.160639e-01 -7.855509e-09 -8.005059e-08
+ 1.920000e-02  6.455972e-03 -2.244839e-01 -3.160410e-01  2.097778e-08 -1.103965e-07
+ 1.920000e-02  6.771032e-03 -2.253129e-01 -3.160228e-01  1.549216e-08 -5.895404e-08
+ 1.920000e-02  7.072068e-03 -2.261418e-01 -3.160090e-01  2.621215e-07  1.145656e-06
+ 1.920000e-02  7.360801e-03 -2.269764e-01 -3.160108e-01 -5.163561e-06 -2.124534e-05
+ 1.920000e-02  7.638626e-03 -2.277813e-01 -3.158994e-01  5.185053e-04 -1.967178e-05
+ 1.920000e-02  7.906694e-03 -2.285520e-01 -2.285603e-01  1.039918e-05  1.890964e-06
+ 1.920000e-02  8.165966e-03 -2.294087e-01 -3.159997e-01 -4.868787e-07  5.955280e-06
+ 1.920000e-02  8.417254e-03 -2.302298e-01 -2.302298e-01  2.651977e-08  3.215357e-08
+ 1.920000e-02  8.661254e-03 -2.310466e-01 -2.310466e-01  3.986138e-09  4.621149e-08
+ 1.920000e-02  8.898565e-03 -2.318605e-01 -2.318606e-01  1.338119e-07  1.055588e-07
+ 1.920000e-02  9.129709e-03 -2.326716e-01 -2.326717e-01  6.751720e-08 -1.033856e-07
+ 1.920000e-02  9.355143e-03 -2.334801e-01 -2.334801e-01  3.073072e-07  2.350576e-07
+ 1.920000e-02  9.575271e-03 -2.342860e-01 -2.342860e-01 -3.252585e-08 -2.413444e-08
+ 1.920000e-02  9.790450e-03 -2.350893e-01 -2.350892e-01  8.256685e-08  6.203686e-08
+ 1.920000e-02  1.000100e-02 -2.358898e-01 -2.358899e-01  6.371627e-08 -6.727366e-08
+ 1.920000e-02  1.020721e-02 -2.366873e-01 -2.366876e-01  7.776579e-08  9.224221e-08
+ 1.920000e-02  1.040933e-02 -2.374819e-01 -2.374822e-01  3.272110e-07 -2.932256e-07
+ 1.920000e-02  1.060760e-02 -2.382737e-01 -2.382739e-01  4.864876e-07  6.211242e-07
+ 1.920000e-02  1.080223e-02 -2.390630e-01 -2.390629e-01  8.958457e-08 -1.007061e-09
+ 1.920000e-02  1.099342e-02 -2.398502e-01 -2.398502e-01  2.846082e-09 -2.266590e-08
+ 1.920000e-02  1.118134e-02 -2.406184e-01 -2.406190e-01  6.814241e-06  6.585606e-06
+ 1.920000e-02  1.136615e-02 -2.414049e-01 -2.414059e-01  4.300251e-07 -9.912050e-07
+ 1.920000e-02  1.154801e-02 -2.421805e-01 -2.421811e-01  2.328630e-06  2.342407e-06
+ 1.920000e-02  1.172704e-02 -2.429529e-01 -2.429526e-01  1.723604e-07  1.450815e-08
+ 1.920000e-02  1.190338e-02 -2.437211e-01 -2.437213e-01 -4.922134e-08 -4.233934e-07
+ 1.920000e-02  1.207715e-02 -2.444825e-01 -2.444859e-01  2.429606e-06  1.409340e-06
+ 1.920000e-02  1.224845e-02 -2.452353e-01 -2.452412e-01  7.999736e-06 -4.616351e-06
+ 1.920000e-02  1.241739e-02 -2.459858e-01 -2.459875e-01  4.299659e-06  1.302639e-05
+ 1.920000e-02  1.258406e-02 -2.467387e-01 -2.467369e-01  4.145979e-06  2.701910e-06
+ 1.920000e-02  1.274855e-02 -2.474612e-01 -2.475001e-01  5.066481e-05 -7.003686e-06
+ 1.920000e-02  1.291094e-02 -2.480386e-01 -2.481868e-01  6.124664e-05 -1.510798e-04
+ 1.920000e-02  1.307132e-02 -2.494693e-01 -2.494385e-01 -7.092756e-06 -5.281931e-04
+ 1.920000e-02  1.322976e-02 -2.495818e-01 -2.488147e-01 -1.862221e-04  9.111100e-04
+ 1.920000e-02  1.338632e-02 -2.502947e-01 -2.502907e-01 -3.614575e-05  1.582886e-04
+ 1.920000e-02  1.354106e-02 -2.513327e-01 -2.517196e-01  2.266412e-04 -6.959269e-04
+ 1.920000e-02  1.369406e-02 -2.521578e-01 -2.521112e-01  4.347490e-06  3.721592e-05
+ 1.920000e-02  1.384537e-02 -2.528575e-01 -2.528453e-01 -4.189509e-05 -6.251758e-05
+ 1.920000e-02  1.399505e-02 -2.535341e-01 -2.535405e-01 -1.563488e-05 -1.038017e-05
+ 1.920000e-02  1.414314e-02 -2.542401e-01 -2.542379e-01 -2.437412e-06  7.065116e-07
+ 1.920000e-02  1.428969e-02 -2.549545e-01 -2.549498e-01 -5.220856e-06  4.265233e-06
+ 1.920000e-02  1.443476e-02 -2.556597e-01 -2.556594e-01 -8.105588e-08 -3.568004e-06
+ 1.920000e-02  1.457838e-02 -2.563611e-01 -2.563619e-01 -1.079406e-06 -1.885351e-06
+ 1.920000e-02  1.472060e-02 -2.570616e-01 -2.570605e-01 -3.858225e-07 -3.548498e-07
+ 1.920000e-02  1.486146e-02 -2.577859e-01 -2.577849e-01 -1.872694e-05 -1.635773e-05
+ 1.920000e-02  1.500100e-02 -2.584634e-01 -2.584636e-01 -2.605150e-07  5.045824e-08
+ 1.920000e-02  1.513925e-02 -2.591542e-01 -2.591542e-01 -7.845641e-08  9.611107e-08
+ 1.920000e-02  1.527625e-02 -2.598437e-01 -2.598431e-01  6.233124e-07  1.413057e-06
+ 1.920000e-02  1.541204e-02 -2.605324e-01 -2.605323e-01 -3.416951e-06 -3.948906e-06
+ 1.920000e-02  1.554663e-02 -2.612103e-01 -2.612104e-01  1.432020e-06  1.356884e-06
+ 1.920000e-02  1.568007e-02 -2.618926e-01 -2.618923e-01 -3.013655e-08 -2.754363e-08
+ 1.920000e-02  1.581239e-02 -2.625750e-01 -2.625749e-01 -1.584298e-06 -1.367388e-06
+ 1.920000e-02  1.594361e-02 -2.632537e-01 -2.632551e-01 -2.730500e-06 -2.095681e-06
+ 1.920000e-02  1.607375e-02 -2.640568e-01 -2.640546e-01 -1.212461e-04 -1.200023e-04
+ 1.920000e-02  1.620285e-02 -2.644641e-01 -2.644653e-01 -3.285859e-06 -2.862845e-06
+ 1.920000e-02  1.633093e-02 -2.651869e-01 -2.651868e-01 -4.319628e-07 -1.821034e-07
+ 1.920000e-02  1.645801e-02 -2.658538e-01 -2.658537e-01 -5.322866e-07 -4.617641e-07
+ 1.920000e-02  1.658412e-02 -2.665181e-01 -2.665194e-01 -3.983442e-06 -3.521593e-06
+ 1.920000e-02  1.670928e-02 -2.671678e-01 -2.671657e-01 -2.044344e-06 -1.130380e-06
+ 1.920000e-02  1.683351e-02 -2.678541e-01 -2.678540e-01 -2.406172e-05 -2.410539e-05
+ 1.920000e-02  1.695682e-02 -2.684577e-01 -2.684576e-01 -1.544137e-07  3.851182e-08
+ 1.920000e-02  1.707925e-02 -2.691113e-01 -2.691111e-01  4.670223e-07  6.571894e-07
+ 1.920000e-02  1.720081e-02 -2.697650e-01 -2.697651e-01 -1.379448e-07 -1.610391e-08
+ 1.920000e-02  1.732151e-02 -2.704379e-01 -2.704377e-01 -8.160874e-08  1.302672e-07
+ 1.920000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.756042e-02 -2.716085e-01 -2.716068e-01 -9.981103e-05 -9.750251e-05
+ 1.920000e-02  1.767867e-02 -2.721540e-01 -2.721526e-01  4.308288e-05  4.387131e-05
+ 1.920000e-02  1.779613e-02 -2.729841e-01 -2.729831e-01 -4.321691e-05 -4.616691e-05
+ 1.920000e-02  1.791282e-02 -2.735898e-01 -2.735920e-01  5.450383e-05  5.578703e-05
+ 1.920000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.920000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.000000e-06 -3.208746e-01 -3.208746e-01 -1.261683e-07 -9.311800e-08
+ 2.160000e-02  2.042241e-03 -2.215550e-01 -3.207485e-01 -4.659236e-08 -1.078624e-07
+ 2.160000e-02  2.887751e-03 -2.223554e-01 -3.206245e-01 -1.022645e-08  3.831420e-09
+ 2.160000e-02  3.536534e-03 -2.231554e-01 -3.205054e-01  1.567222e-07 -1.041686e-07
+ 2.160000e-02  4.083483e-03 -2.239568e-01 -3.203916e-01 -8.383764e-09 -2.341288e-07
+ 2.160000e-02  4.565355e-03 -2.247601e-01 -3.202827e-01  3.592491e-07  9.030905e-07
+ 2.160000e-02  5.001000e-03 -2.255669e-01 -3.201737e-01 -1.724066e-06 -4.485525e-06
+ 2.160000e-02  5.401617e-03 -2.264175e-01 -3.200672e-01  7.529931e-05  3.058317e-05
+ 2.160000e-02  5.774503e-03 -2.271132e-01 -3.200408e-01  8.654498e-06 -3.520680e-05
+ 2.160000e-02  6.124724e-03 -2.279488e-01 -3.199021e-01 -6.186106e-07  5.629829e-06
+ 2.160000e-02  6.455972e-03 -2.287558e-01 -3.198289e-01  1.184545e-08  1.190001e-06
+ 2.160000e-02  6.771032e-03 -2.295610e-01 -3.197540e-01  1.052062e-07 -3.195383e-07
+ 2.160000e-02  7.072068e-03 -2.303652e-01 -3.196838e-01 -4.041714e-09 -3.155713e-07
+ 2.160000e-02  7.360801e-03 -2.311687e-01 -3.196185e-01  1.970219e-08 -4.354831e-08
+ 2.160000e-02  7.638626e-03 -2.319716e-01 -3.195588e-01  7.523405e-07 -2.944921e-07
+ 2.160000e-02  7.906694e-03 -2.327734e-01 -2.327735e-01 -8.473558e-09 -1.885779e-08
+ 2.160000e-02  8.165966e-03 -2.335746e-01 -2.335747e-01  2.613404e-07 -3.021914e-08
+ 2.160000e-02  8.417254e-03 -2.343749e-01 -2.343749e-01  1.273350e-07  2.497960e-07
+ 2.160000e-02  8.661254e-03 -2.351743e-01 -2.351742e-01  4.988914e-08 -4.434849e-09
+ 2.160000e-02  8.898565e-03 -2.359725e-01 -2.359725e-01  2.241446e-08  3.882353e-08
+ 2.160000e-02  9.129709e-03 -2.367694e-01 -2.367696e-01  1.790315e-07  9.244189e-09
+ 2.160000e-02  9.355143e-03 -2.375649e-01 -2.375652e-01 -1.205733e-08 -2.781707e-07
+ 2.160000e-02  9.575271e-03 -2.383591e-01 -2.383594e-01  9.527023e-07  4.312444e-07
+ 2.160000e-02  9.790450e-03 -2.391525e-01 -2.391525e-01 -1.093953e-07  1.957431e-07
+ 2.160000e-02  1.000100e-02 -2.399499e-01 -2.399498e-01  4.090361e-06  3.987694e-06
+ 2.160000e-02  1.020721e-02 -2.407308e-01 -2.407311e-01  2.521643e-07 -3.206826e-07
+ 2.160000e-02  1.040933e-02 -2.415187e-01 -2.415197e-01  5.723343e-08  7.119578e-08
+ 2.160000e-02  1.060760e-02 -2.423041e-01 -2.423053e-01  2.531529e-06 -4.392804e-07
+ 2.160000e-02  1.080223e-02 -2.430883e-01 -2.430886e-01  9.956830e-07  2.630722e-06
+ 2.160000e-02  1.099342e-02 -2.438720e-01 -2.438714e-01  1.064546e-06  3.732284e-07
+ 2.160000e-02  1.118134e-02 -2.446534e-01 -2.446544e-01  3.467089e-07 -1.807892e-06
+ 2.160000e-02  1.136615e-02 -2.454287e-01 -2.454353e-01  3.001382e-06  2.389572e-06
+ 2.160000e-02  1.154801e-02 -2.461964e-01 -2.462081e-01  1.663481e-05 -9.085892e-06
+ 2.160000e-02  1.172704e-02 -2.469659e-01 -2.469720e-01  2.049722e-05  3.818160e-05
+ 2.160000e-02  1.190338e-02 -2.477605e-01 -2.477558e-01  8.677463e-06  1.279500e-06
+ 2.160000e-02  1.207715e-02 -2.486157e-01 -2.490854e-01 -1.087471e-04 -8.388423e-04
+ 2.160000e-02  1.224845e-02 -2.497460e-01 -2.491828e-01 -1.028989e-03  2.724465e-04
+ 2.160000e-02  1.241739e-02 -2.499829e-01 -2.499954e-01  1.516396e-05  2.073034e-06
+ 2.160000e-02  1.258406e-02 -2.502534e-01 -2.501871e-01  8.873573e-04  2.383910e-04
+ 2.160000e-02  1.274855e-02 -2.514368e-01 -2.517519e-01 -9.106962e-05 -8.291114e-04
+ 2.160000e-02  1.291094e-02 -2.522482e-01 -2.522348e-01 -8.782570e-06 -7.134800e-06
+ 2.160000e-02  1.307132e-02 -2.530261e-01 -2.530054e-01 -2.693289e-05  1.702156e-05
+ 2.160000e-02  1.322976e-02 -2.537690e-01 -2.537656e-01 -7.311797e-06 -2.009939e-05
+ 2.160000e-02  1.338632e-02 -2.545049e-01 -2.545078e-01 -6.677082e-06 -4.208296e-06
+ 2.160000e-02  1.354106e-02 -2.552465e-01 -2.552460e-01 -9.329638e-07 -5.353746e-08
+ 2.160000e-02  1.369406e-02 -2.559879e-01 -2.559853e-01  8.538058e-08  2.274110e-06
+ 2.160000e-02  1.384537e-02 -2.567237e-01 -2.567227e-01 -3.643323e-06 -3.920825e-06
+ 2.160000e-02  1.399505e-02 -2.574514e-01 -2.574519e-01 -1.236056e-06 -4.471771e-07
+ 2.160000e-02  1.414314e-02 -2.581877e-01 -2.581876e-01  2.713927e-07  4.280179e-07
+ 2.160000e-02  1.428969e-02 -2.589125e-01 -2.589117e-01  1.318122e-07  5.884192e-07
+ 2.160000e-02  1.443476e-02 -2.596368e-01 -2.596365e-01 -1.079498e-06 -1.140997e-06
+ 2.160000e-02  1.457838e-02 -2.603521e-01 -2.603522e-01 -2.861180e-07 -1.306836e-07
+ 2.160000e-02  1.472060e-02 -2.610688e-01 -2.610687e-01 -1.081370e-07  4.602599e-08
+ 2.160000e-02  1.486146e-02 -2.617822e-01 -2.617819e-01  1.453951e-07  6.249828e-07
+ 2.160000e-02  1.500100e-02 -2.624926e-01 -2.624925e-01 -8.072699e-08 -3.719038e-07
+ 2.160000e-02  1.513925e-02 -2.632016e-01 -2.632016e-01 -3.847432e-07 -3.169171e-07
+ 2.160000e-02  1.527625e-02 -2.640830e-01 -2.640830e-01  2.325368e-04  2.336916e-04
+ 2.160000e-02  1.541204e-02 -2.645543e-01 -2.645568e-01 -1.306434e-05 -1.379477e-05
+ 2.160000e-02  1.554663e-02 -2.652922e-01 -2.652920e-01 -2.680145e-07  1.166091e-07
+ 2.160000e-02  1.568007e-02 -2.659909e-01 -2.659900e-01 -5.316060e-07 -6.307685e-07
+ 2.160000e-02  1.581239e-02 -2.666670e-01 -2.666669e-01 -2.443807e-05 -2.417532e-05
+ 2.160000e-02  1.594361e-02 -2.673777e-01 -2.673773e-01  2.682112e-07  1.526040e-06
+ 2.160000e-02  1.607375e-02 -2.680463e-01 -2.680464e-01  4.639601e-06  4.643265e-06
+ 2.160000e-02  1.620285e-02 -2.687530e-01 -2.687527e-01 -2.456096e-08  2.583088e-07
+ 2.160000e-02  1.633093e-02 -2.694464e-01 -2.694464e-01  5.935863e-07  8.120473e-07
+ 2.160000e-02  1.645801e-02 -2.701584e-01 -2.701584e-01 -2.515044e-06 -2.566930e-06
+ 2.160000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.670928e-02 -2.711400e-01 -2.711402e-01  1.571188e-04  1.559938e-04
+ 2.160000e-02  1.683351e-02 -2.721087e-01 -2.721078e-01 -2.436931e-08  1.692734e-06
+ 2.160000e-02  1.695682e-02 -2.728238e-01 -2.728203e-01  2.653294e-05  3.058031e-05
+ 2.160000e-02  1.707925e-02 -2.735467e-01 -2.735581e-01  1.417868e-06 -5.313703e-06
+ 2.160000e-02  1.720081e-02 -2.742175e-01 -2.742196e-01 -1.381025e-04 -1.383827e-04
+ 2.160000e-02  1.732151e-02 -2.750560e-01 -2.750461e-01 -6.360395e-06 -4.060236e-06
+ 2.160000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.160000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.000000e-06 -3.258146e-01 -3.258152e-01 -9.242056e-08  1.278554e-07
+ 2.400000e-02  2.042241e-03 -2.266994e-01 -3.256235e-01  1.256212e-07 -1.719684e-06
+ 2.400000e-02  2.887751e-03 -2.274543e-01 -3.254347e-01 -9.552150e-10 -1.549757e-06
+ 2.400000e-02  3.536534e-03 -2.282103e-01 -3.252509e-01 -8.927628e-10 -5.555907e-07
+ 2.400000e-02  4.083483e-03 -2.289684e-01 -3.250729e-01  4.221436e-08  1.562864e-07
+ 2.400000e-02  4.565355e-03 -2.297288e-01 -3.249009e-01  9.159273e-08  1.972330e-08
+ 2.400000e-02  5.001000e-03 -2.304915e-01 -3.247347e-01  5.473857e-08 -3.808579e-07
+ 2.400000e-02  5.401617e-03 -2.312564e-01 -3.245745e-01  4.271194e-08 -3.231872e-08
+ 2.400000e-02  5.774503e-03 -2.320231e-01 -3.244201e-01  2.062301e-08 -4.477644e-07
+ 2.400000e-02  6.124724e-03 -2.327914e-01 -3.242717e-01  8.899786e-09 -7.432023e-07
+ 2.400000e-02  6.455972e-03 -2.335613e-01 -3.241294e-01  2.847886e-07 -4.947933e-07
+ 2.400000e-02  6.771032e-03 -2.343326e-01 -3.239926e-01  1.261376e-08 -6.078861e-08
+ 2.400000e-02  7.072068e-03 -2.351052e-01 -3.238621e-01  1.377256e-07 -4.568904e-07
+ 2.400000e-02  7.360801e-03 -2.358788e-01 -3.237366e-01  5.535369e-08 -6.617535e-07
+ 2.400000e-02  7.638626e-03 -2.366530e-01 -3.236171e-01 -1.811815e-08 -8.327460e-07
+ 2.400000e-02  7.906694e-03 -2.374280e-01 -3.235031e-01  6.897265e-07 -6.380921e-07
+ 2.400000e-02  8.165966e-03 -2.382040e-01 -2.382039e-01 -4.090784e-09  4.360505e-07
+ 2.400000e-02  8.417254e-03 -2.389808e-01 -2.389807e-01  2.178742e-07  1.794120e-07
+ 2.400000e-02  8.661254e-03 -2.397542e-01 -2.397544e-01  2.431812e-06  2.014929e-06
+ 2.400000e-02  8.898565e-03 -2.405330e-01 -2.405337e-01 -3.924123e-08 -7.928842e-08
+ 2.400000e-02  9.129709e-03 -2.413098e-01 -2.413105e-01  2.075763e-06  2.691990e-07
+ 2.400000e-02  9.355143e-03 -2.420875e-01 -2.420876e-01 -1.842745e-07  9.456093e-07
+ 2.400000e-02  9.575271e-03 -2.428660e-01 -2.428657e-01  7.415104e-07  4.726001e-07
+ 2.400000e-02  9.790450e-03 -2.436442e-01 -2.436451e-01  9.329750e-07 -9.106332e-07
+ 2.400000e-02  1.000100e-02 -2.444205e-01 -2.444241e-01  8.721139e-09 -3.651233e-08
+ 2.400000e-02  1.020721e-02 -2.451960e-01 -2.452009e-01  1.189135e-05 -1.497326e-07
+ 2.400000e-02  1.040933e-02 -2.459767e-01 -2.459778e-01  2.748644e-06  1.145205e-05
+ 2.400000e-02  1.060760e-02 -2.467689e-01 -2.467663e-01  5.517666e-06  2.265397e-06
+ 2.400000e-02  1.080223e-02 -2.475670e-01 -2.475902e-01  5.192560e-06 -4.500881e-05
+ 2.400000e-02  1.099342e-02 -2.482583e-01 -2.486282e-01  4.229773e-04  2.194775e-04
+ 2.400000e-02  1.118134e-02 -2.500388e-01 -2.501453e-01  2.053862e-07 -1.146032e-04
+ 2.400000e-02  1.136615e-02 -2.504168e-01 -2.501147e-01 -3.929859e-04 -8.318017e-05
+ 2.400000e-02  1.154801e-02 -2.491193e-01 -2.497241e-01  7.926553e-04  1.566173e-04
+ 2.400000e-02  1.172704e-02 -2.504116e-01 -2.506795e-01  9.602804e-04  7.320989e-06
+ 2.400000e-02  1.190338e-02 -2.520307e-01 -2.519780e-01 -2.970358e-04 -2.288068e-04
+ 2.400000e-02  1.207715e-02 -2.527440e-01 -2.527469e-01  8.913794e-06 -1.480500e-05
+ 2.400000e-02  1.224845e-02 -2.534918e-01 -2.534995e-01 -1.393867e-05 -1.593294e-05
+ 2.400000e-02  1.241739e-02 -2.542581e-01 -2.542569e-01 -1.376480e-06  4.504495e-07
+ 2.400000e-02  1.258406e-02 -2.550243e-01 -2.550200e-01  3.356080e-07  3.644232e-06
+ 2.400000e-02  1.274855e-02 -2.557826e-01 -2.557807e-01 -7.161699e-06 -5.636254e-06
+ 2.400000e-02  1.291094e-02 -2.565344e-01 -2.565349e-01 -3.171900e-07  1.103991e-07
+ 2.400000e-02  1.307132e-02 -2.572838e-01 -2.572840e-01 -6.140816e-08 -6.059401e-07
+ 2.400000e-02  1.322976e-02 -2.580329e-01 -2.580320e-01 -1.669521e-05 -1.669839e-05
+ 2.400000e-02  1.338632e-02 -2.587798e-01 -2.587790e-01 -1.684996e-06  2.751953e-07
+ 2.400000e-02  1.354106e-02 -2.595219e-01 -2.595219e-01  8.906969e-08 -4.600157e-07
+ 2.400000e-02  1.369406e-02 -2.602611e-01 -2.602612e-01 -3.073401e-07 -3.530949e-07
+ 2.400000e-02  1.384537e-02 -2.609983e-01 -2.609980e-01 -2.284163e-07 -1.008848e-08
+ 2.400000e-02  1.399505e-02 -2.617347e-01 -2.617343e-01 -6.340469e-06 -5.561523e-06
+ 2.400000e-02  1.414314e-02 -2.624642e-01 -2.624641e-01 -9.564877e-08 -3.647774e-07
+ 2.400000e-02  1.428969e-02 -2.631917e-01 -2.631918e-01 -2.383911e-07 -1.715727e-07
+ 2.400000e-02  1.443476e-02 -2.639073e-01 -2.639083e-01  3.099940e-06  3.525705e-06
+ 2.400000e-02  1.457838e-02 -2.647559e-01 -2.647546e-01 -2.883490e-04 -2.874271e-04
+ 2.400000e-02  1.472060e-02 -2.653843e-01 -2.653840e-01  7.807720e-08  2.754633e-07
+ 2.400000e-02  1.486146e-02 -2.661019e-01 -2.661003e-01  6.975253e-07  1.885587e-06
+ 2.400000e-02  1.500100e-02 -2.668190e-01 -2.668203e-01  1.403257e-06 -1.144106e-06
+ 2.400000e-02  1.513925e-02 -2.675455e-01 -2.675455e-01 -3.141335e-06 -2.879768e-06
+ 2.400000e-02  1.527625e-02 -2.682532e-01 -2.682534e-01 -1.671204e-08 -1.517375e-07
+ 2.400000e-02  1.541204e-02 -2.689732e-01 -2.689731e-01 -5.158848e-08  2.429237e-07
+ 2.400000e-02  1.554663e-02 -2.696997e-01 -2.696996e-01  1.760456e-07  1.597516e-07
+ 2.400000e-02  1.568007e-02 -2.705639e-01 -2.705633e-01 -1.442325e-04 -1.438787e-04
+ 2.400000e-02  1.581239e-02 -2.709306e-01 -2.709306e-01  1.695326e-04  1.699082e-04
+ 2.400000e-02  1.594361e-02 -2.718067e-01 -2.718064e-01 -3.700211e-07 -3.161791e-07
+ 2.400000e-02  1.607375e-02 -2.726263e-01 -2.726254e-01 -6.649151e-05 -6.527387e-05
+ 2.400000e-02  1.620285e-02 -2.732509e-01 -2.732470e-01 -4.051934e-06  3.445108e-06
+ 2.400000e-02  1.633093e-02 -2.739997e-01 -2.740143e-01  1.335404e-06 -3.984189e-06
+ 2.400000e-02  1.645801e-02 -2.747430e-01 -2.747493e-01 -5.735421e-06 -6.375336e-06
+ 2.400000e-02  1.658412e-02 -2.755754e-01 -2.755672e-01 -1.063714e-05  9.054558e-06
+ 2.400000e-02  1.670928e-02 -2.765091e-01 -2.765093e-01 -8.675418e-07 -9.917646e-07
+ 2.400000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.400000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.000000e-06 -3.313102e-01 -3.313014e-01  2.370718e-05  7.072343e-05
+ 2.640000e-02  2.042241e-03 -2.324283e-01 -3.310248e-01 -4.624350e-08  2.743545e-05
+ 2.640000e-02  2.887751e-03 -2.331323e-01 -3.307870e-01  4.451566e-08 -1.630777e-05
+ 2.640000e-02  3.536534e-03 -2.338386e-01 -3.305550e-01  5.179199e-08  2.216618e-05
+ 2.640000e-02  4.083483e-03 -2.345482e-01 -3.303178e-01  2.284172e-07 -1.268813e-05
+ 2.640000e-02  4.565355e-03 -2.352617e-01 -3.300812e-01 -2.249772e-08 -3.936523e-05
+ 2.640000e-02  5.001000e-03 -2.359789e-01 -3.298493e-01  1.304465e-08 -4.937748e-06
+ 2.640000e-02  5.401617e-03 -2.366992e-01 -3.296196e-01  7.779870e-08 -1.348484e-05
+ 2.640000e-02  5.774503e-03 -2.374227e-01 -3.293914e-01  7.089817e-07 -1.760938e-05
+ 2.640000e-02  6.124724e-03 -2.381497e-01 -3.291700e-01 -4.763058e-08 -4.772782e-06
+ 2.640000e-02  6.455972e-03 -2.388793e-01 -3.289590e-01 -1.139804e-07  6.651079e-07
+ 2.640000e-02  6.771032e-03 -2.396119e-01 -3.287561e-01  2.071946e-07 -1.731996e-07
+ 2.640000e-02  7.072068e-03 -2.403467e-01 -3.285603e-01  1.434394e-06 -1.227031e-06
+ 2.640000e-02  7.360801e-03 -2.410847e-01 -3.283706e-01 -1.510705e-07 -1.919961e-06
+ 2.640000e-02  7.638626e-03 -2.418255e-01 -3.281874e-01  1.216523e-07 -6.148647e-06
+ 2.640000e-02  7.906694e-03 -2.425676e-01 -3.280104e-01  1.164282e-06 -3.093537e-06
+ 2.640000e-02  8.165966e-03 -2.433109e-01 -3.278392e-01  2.236051e-06 -3.714481e-08
+ 2.640000e-02  8.417254e-03 -2.440582e-01 -2.440581e-01  1.602783e-06  4.376494e-06
+ 2.640000e-02  8.661254e-03 -2.448110e-01 -2.448097e-01  1.745092e-06  1.871827e-06
+ 2.640000e-02  8.898565e-03 -2.455650e-01 -2.455684e-01  4.962941e-06 -1.379843e-06
+ 2.640000e-02  9.129709e-03 -2.463128e-01 -2.463270e-01 -2.819682e-06 -6.890361e-06
+ 2.640000e-02  9.355143e-03 -2.470598e-01 -2.470769e-01  6.726927e-05  3.059568e-05
+ 2.640000e-02  9.575271e-03 -2.478393e-01 -2.478381e-01 -6.617298e-06  2.183488e-05
+ 2.640000e-02  9.790450e-03 -2.491099e-01 -2.493258e-01 -5.348082e-04 -1.792968e-04
+ 2.640000e-02  1.000100e-02 -2.511380e-01 -2.504774e-01 -1.100895e-03 -4.344088e-04
+ 2.640000e-02  1.020721e-02 -2.500101e-01 -2.500028e-01 -1.166125e-05 -4.745776e-06
+ 2.640000e-02  1.040933e-02 -2.488985e-01 -2.496034e-01  1.052140e-03  3.252914e-04
+ 2.640000e-02  1.060760e-02 -2.508045e-01 -2.514058e-01  3.525021e-04  2.076629e-04
+ 2.640000e-02  1.080223e-02 -2.521485e-01 -2.521021e-01  4.751628e-07  4.295428e-05
+ 2.640000e-02  1.099342e-02 -2.529239e-01 -2.529071e-01 -6.800121e-05 -4.201505e-05
+ 2.640000e-02  1.118134e-02 -2.536710e-01 -2.536731e-01  2.405180e-06 -2.042193e-06
+ 2.640000e-02  1.136615e-02 -2.544221e-01 -2.544246e-01 -3.533234e-06 -6.515567e-06
+ 2.640000e-02  1.154801e-02 -2.551796e-01 -2.551777e-01 -1.919945e-06 -8.019613e-07
+ 2.640000e-02  1.172704e-02 -2.559355e-01 -2.559327e-01 -2.052866e-06  2.773442e-06
+ 2.640000e-02  1.190338e-02 -2.566871e-01 -2.566863e-01 -2.058923e-06 -3.608454e-06
+ 2.640000e-02  1.207715e-02 -2.574352e-01 -2.574356e-01 -1.160103e-06 -3.195156e-07
+ 2.640000e-02  1.224845e-02 -2.581808e-01 -2.581806e-01  1.352931e-07  5.710320e-07
+ 2.640000e-02  1.241739e-02 -2.589315e-01 -2.589307e-01  1.574467e-07  6.005400e-07
+ 2.640000e-02  1.258406e-02 -2.596766e-01 -2.596761e-01 -1.589528e-06 -8.159785e-07
+ 2.640000e-02  1.274855e-02 -2.604197e-01 -2.604198e-01  1.032681e-08  1.847774e-07
+ 2.640000e-02  1.291094e-02 -2.611612e-01 -2.611612e-01 -5.202496e-07 -5.521243e-07
+ 2.640000e-02  1.307132e-02 -2.619019e-01 -2.619016e-01 -5.283569e-08 -1.330935e-08
+ 2.640000e-02  1.322976e-02 -2.626406e-01 -2.626403e-01 -6.284245e-07 -9.665489e-08
+ 2.640000e-02  1.338632e-02 -2.633766e-01 -2.633766e-01  4.878707e-08 -1.872228e-07
+ 2.640000e-02  1.354106e-02 -2.641076e-01 -2.641077e-01 -9.809649e-08 -2.881542e-07
+ 2.640000e-02  1.369406e-02 -2.648051e-01 -2.648036e-01 -3.494970e-05 -3.331556e-05
+ 2.640000e-02  1.384537e-02 -2.656122e-01 -2.656129e-01  6.241842e-06  6.519864e-06
+ 2.640000e-02  1.399505e-02 -2.663338e-01 -2.663350e-01 -1.519774e-07 -9.388264e-07
+ 2.640000e-02  1.414314e-02 -2.670644e-01 -2.670641e-01 -1.221391e-06  1.214734e-06
+ 2.640000e-02  1.428969e-02 -2.677930e-01 -2.677931e-01  1.837876e-07  1.691463e-07
+ 2.640000e-02  1.443476e-02 -2.685259e-01 -2.685258e-01 -9.834216e-08  8.210628e-08
+ 2.640000e-02  1.457838e-02 -2.692693e-01 -2.692693e-01 -4.586290e-06 -4.840001e-06
+ 2.640000e-02  1.472060e-02 -2.698889e-01 -2.698892e-01 -1.114712e-06 -1.686082e-06
+ 2.640000e-02  1.486146e-02 -2.706969e-01 -2.706969e-01 -7.726617e-07 -8.620336e-07
+ 2.640000e-02  1.500100e-02 -2.714375e-01 -2.714374e-01  4.135746e-08  2.338642e-08
+ 2.640000e-02  1.513925e-02 -2.721861e-01 -2.721861e-01 -2.924788e-07 -1.929124e-07
+ 2.640000e-02  1.527625e-02 -2.727566e-01 -2.727563e-01  9.136490e-05  9.148908e-05
+ 2.640000e-02  1.541204e-02 -2.736438e-01 -2.736437e-01  2.330016e-08  1.733218e-07
+ 2.640000e-02  1.554663e-02 -2.744130e-01 -2.744188e-01 -3.167143e-06  4.991146e-06
+ 2.640000e-02  1.568007e-02 -2.751960e-01 -2.751955e-01  2.738535e-05  2.747993e-05
+ 2.640000e-02  1.581239e-02 -2.760343e-01 -2.760178e-01 -1.498694e-05 -1.169748e-05
+ 2.640000e-02  1.594361e-02 -2.770276e-01 -2.770271e-01  3.916306e-05  3.801533e-05
+ 2.640000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.633093e-02 -2.792530e-01 -2.792524e-01 -2.792530e-01 -2.792524e-01
+ 2.640000e-02  1.645801e-02 -2.793017e-01 -2.793021e-01 -4.330121e-08 -3.414186e-07
+ 2.640000e-02  1.658412e-02 -2.792973e-01 -2.792960e-01 -1.926339e-05 -1.925047e-05
+ 2.640000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.640000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.000000e-06 -3.373538e-01 -3.373470e-01  2.136826e-06  4.991409e-06
+ 2.880000e-02  2.042241e-03 -2.387295e-01 -3.370120e-01  2.986886e-07  2.958263e-05
+ 2.880000e-02  2.887751e-03 -2.393766e-01 -3.366894e-01  1.050528e-06 -1.077823e-05
+ 2.880000e-02  3.536534e-03 -2.400281e-01 -3.363764e-01  1.032551e-07  3.926802e-05
+ 2.880000e-02  4.083483e-03 -2.406838e-01 -3.360813e-01  4.738477e-07 -3.587965e-05
+ 2.880000e-02  4.565355e-03 -2.413434e-01 -3.358026e-01  1.591239e-06 -5.447432e-05
+ 2.880000e-02  5.001000e-03 -2.420093e-01 -3.355041e-01 -1.328925e-07 -7.549142e-06
+ 2.880000e-02  5.401617e-03 -2.426801e-01 -3.351898e-01  5.051743e-07 -1.317907e-04
+ 2.880000e-02  5.774503e-03 -2.433529e-01 -3.349198e-01  6.460854e-07 -2.448824e-05
+ 2.880000e-02  6.124724e-03 -2.440324e-01 -3.346917e-01  2.398962e-07 -2.067572e-05
+ 2.880000e-02  6.455972e-03 -2.447186e-01 -3.343572e-01 -6.600176e-08 -1.056346e-04
+ 2.880000e-02  6.771032e-03 -2.454011e-01 -3.339205e-01  1.128065e-06 -4.651281e-05
+ 2.880000e-02  7.072068e-03 -2.460884e-01 -3.336774e-01  1.831034e-05 -6.404352e-05
+ 2.880000e-02  7.360801e-03 -2.468032e-01 -3.335517e-01 -2.468032e-01 -3.335517e-01
+ 2.880000e-02  7.638626e-03 -2.475184e-01 -2.475482e-01  3.688849e-05 -2.236467e-05
+ 2.880000e-02  7.906694e-03 -1.289143e-06 -2.482736e-01  3.177141e-07 -1.337137e-04
+ 2.880000e-02  8.165966e-03  4.399202e-06 -2.494487e-01  8.777291e-06 -5.252561e-04
+ 2.880000e-02  8.417254e-03  2.168331e-06 -2.502936e-01 -1.852236e-07 -4.108335e-04
+ 2.880000e-02  8.661254e-03 -1.197892e-06 -2.498557e-01  2.500333e-01  1.943318e-04
+ 2.880000e-02  8.898565e-03 -2.769108e-06 -2.502422e-01  2.503631e-01 -1.348670e-05
+ 2.880000e-02  9.129709e-03  1.155248e-06 -2.518233e-01  4.171559e-06 -4.853219e-04
+ 2.880000e-02  9.355143e-03 -2.523053e-01 -2.523179e-01  6.004501e-06  7.628345e-07
+ 2.880000e-02  9.575271e-03 -2.530599e-01 -2.530501e-01 -8.460200e-06  1.313522e-05
+ 2.880000e-02  9.790450e-03 -2.537819e-01 -2.537859e-01 -1.040856e-05 -3.629564e-05
+ 2.880000e-02  1.000100e-02 -2.544956e-01 -2.545036e-01 -6.616753e-06 -1.165039e-05
+ 2.880000e-02  1.020721e-02 -2.552187e-01 -2.552204e-01 -1.303116e-06  3.897811e-06
+ 2.880000e-02  1.040933e-02 -2.559459e-01 -2.559438e-01 -1.514894e-06  4.418872e-06
+ 2.880000e-02  1.060760e-02 -2.566704e-01 -2.566685e-01 -1.375556e-06 -6.872691e-06
+ 2.880000e-02  1.080223e-02 -2.573939e-01 -2.573917e-01 -1.281241e-06 -1.533602e-06
+ 2.880000e-02  1.099342e-02 -2.581194e-01 -2.581157e-01 -4.653792e-07  5.942217e-06
+ 2.880000e-02  1.118134e-02 -2.588445e-01 -2.588401e-01  9.417552e-07  9.632951e-06
+ 2.880000e-02  1.136615e-02 -2.595734e-01 -2.595699e-01 -3.416817e-07  2.358699e-06
+ 2.880000e-02  1.154801e-02 -2.602995e-01 -2.602968e-01 -3.673300e-07 -9.341881e-08
+ 2.880000e-02  1.172704e-02 -2.610267e-01 -2.610243e-01 -1.929412e-07  3.115660e-07
+ 2.880000e-02  1.190338e-02 -2.617543e-01 -2.617524e-01 -2.724777e-07  2.255358e-06
+ 2.880000e-02  1.207715e-02 -2.624815e-01 -2.624805e-01 -1.402058e-07  2.070768e-06
+ 2.880000e-02  1.224845e-02 -2.632083e-01 -2.632079e-01 -1.703233e-07  1.451768e-06
+ 2.880000e-02  1.241739e-02 -2.639347e-01 -2.639345e-01 -9.626865e-08  2.059255e-07
+ 2.880000e-02  1.258406e-02 -2.646595e-01 -2.646593e-01 -1.597549e-07 -5.335074e-07
+ 2.880000e-02  1.274855e-02 -2.653620e-01 -2.653621e-01  1.855497e-05  1.853062e-05
+ 2.880000e-02  1.291094e-02 -2.661702e-01 -2.661693e-01 -1.365070e-05 -1.467045e-05
+ 2.880000e-02  1.307132e-02 -2.668628e-01 -2.668643e-01 -1.939127e-08 -1.872704e-06
+ 2.880000e-02  1.322976e-02 -2.675894e-01 -2.675893e-01 -8.095986e-09  1.510700e-07
+ 2.880000e-02  1.338632e-02 -2.683304e-01 -2.683303e-01 -1.721208e-05 -1.742846e-05
+ 2.880000e-02  1.354106e-02 -2.690270e-01 -2.690268e-01  2.025126e-06  2.175129e-06
+ 2.880000e-02  1.369406e-02 -2.697623e-01 -2.697620e-01 -8.030208e-08  4.893193e-08
+ 2.880000e-02  1.384537e-02 -2.704932e-01 -2.704928e-01 -6.437552e-08  3.037903e-07
+ 2.880000e-02  1.399505e-02 -2.712265e-01 -2.712260e-01  9.833500e-08  4.850155e-07
+ 2.880000e-02  1.414314e-02 -2.719648e-01 -2.719644e-01 -4.374069e-09  7.608189e-07
+ 2.880000e-02  1.428969e-02 -2.727348e-01 -2.727343e-01  1.011917e-05  1.107377e-05
+ 2.880000e-02  1.443476e-02 -2.734180e-01 -2.734174e-01 -1.650504e-07  7.784978e-07
+ 2.880000e-02  1.457838e-02 -2.741726e-01 -2.741713e-01 -2.907274e-07  2.091521e-06
+ 2.880000e-02  1.472060e-02 -2.749396e-01 -2.749327e-01  1.377993e-06  4.766995e-06
+ 2.880000e-02  1.486146e-02 -2.757475e-01 -2.757575e-01 -3.057012e-06 -2.668673e-05
+ 2.880000e-02  1.500100e-02 -2.765871e-01 -2.765857e-01 -6.333685e-06  4.341415e-06
+ 2.880000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.527625e-02 -2.787462e-01 -2.787459e-01  2.707686e-05  2.843460e-05
+ 2.880000e-02  1.541204e-02 -2.788324e-01 -2.788320e-01  5.625387e-06  6.404663e-06
+ 2.880000e-02  1.554663e-02 -2.788830e-01 -2.788837e-01 -1.168261e-05 -1.250748e-05
+ 2.880000e-02  1.568007e-02 -2.792812e-01 -2.792809e-01  5.787492e-05  5.787737e-05
+ 2.880000e-02  1.581239e-02 -2.808605e-01 -2.808602e-01 -2.455918e-05 -2.372466e-05
+ 2.880000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.880000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.000000e-06 -3.440016e-01 -3.440015e-01  6.767622e-08  2.494086e-07
+ 3.120000e-02  2.042241e-03 -2.456116e-01 -3.436032e-01  1.440602e-06  3.422547e-07
+ 3.120000e-02  2.887751e-03 -2.461834e-01 -3.432075e-01  1.899554e-05  1.440666e-07
+ 3.120000e-02  3.536534e-03 -2.467842e-01 -3.428162e-01  5.106062e-06  1.183375e-06
+ 3.120000e-02  4.083483e-03 -2.473596e-01 -3.424300e-01  2.675494e-05 -3.349635e-07
+ 3.120000e-02  4.565355e-03 -2.479117e-01 -3.420486e-01  1.186386e-04 -1.123639e-06
+ 3.120000e-02  5.001000e-03 -2.487438e-01 -3.416673e-01 -4.250409e-04  5.947267e-06
+ 3.120000e-02  5.401617e-03  1.423908e-06 -3.412783e-01 -3.266270e-07  2.600867e-06
+ 3.120000e-02  5.774503e-03 -2.498704e-01 -3.408682e-01  7.295447e-05  6.766917e-05
+ 3.120000e-02  6.124724e-03 -2.502342e-01 -3.407227e-01 -2.502354e-01 -8.378935e-05
+ 3.120000e-02  6.455972e-03 -2.556930e-06 -3.402885e-01 -4.714116e-06 -1.981357e-05
+ 3.120000e-02  6.771032e-03 -2.517975e-01 -3.399220e-01 -1.328600e-04  3.611610e-06
+ 3.120000e-02  7.072068e-03 -2.522971e-01 -3.395846e-01  3.048100e-06  5.470791e-07
+ 3.120000e-02  7.360801e-03 -2.529719e-01 -3.392502e-01 -5.572231e-05  5.859082e-06
+ 3.120000e-02  7.638626e-03 -2.535992e-01 -2.536053e-01 -7.683602e-06 -2.896224e-06
+ 3.120000e-02  7.906694e-03 -2.542433e-01 -2.542421e-01 -2.123986e-06  4.099229e-08
+ 3.120000e-02  8.165966e-03 -2.549035e-01 -3.383046e-01 -1.032487e-05  4.640738e-06
+ 3.120000e-02  8.417254e-03 -2.555584e-01 -2.555594e-01 -7.744025e-07  2.135563e-07
+ 3.120000e-02  8.661254e-03 -2.562183e-01 -2.562183e-01 -4.338577e-07 -3.014614e-07
+ 3.120000e-02  8.898565e-03 -2.568857e-01 -2.568853e-01 -2.017399e-06  1.104621e-06
+ 3.120000e-02  9.129709e-03 -2.575536e-01 -2.575559e-01  2.690189e-07 -4.617517e-06
+ 3.120000e-02  9.355143e-03 -2.582244e-01 -2.582266e-01  1.045759e-08 -8.585144e-07
+ 3.120000e-02  9.575271e-03 -2.589000e-01 -2.589003e-01  6.314626e-08  1.335213e-06
+ 3.120000e-02  9.790450e-03 -2.595771e-01 -2.595759e-01 -2.863598e-06 -7.483500e-06
+ 3.120000e-02  1.000100e-02 -2.602576e-01 -2.602541e-01 -2.844156e-07  7.073753e-06
+ 3.120000e-02  1.020721e-02 -2.609407e-01 -2.609346e-01 -4.092147e-08  8.177347e-06
+ 3.120000e-02  1.040933e-02 -2.616265e-01 -2.616194e-01 -9.220662e-07 -5.096728e-07
+ 3.120000e-02  1.060760e-02 -2.623139e-01 -2.623077e-01 -1.146860e-07  9.393108e-06
+ 3.120000e-02  1.080223e-02 -2.630037e-01 -2.629992e-01  4.018546e-08  9.447427e-06
+ 3.120000e-02  1.099342e-02 -2.636959e-01 -2.636938e-01 -1.327112e-07 -3.759257e-06
+ 3.120000e-02  1.118134e-02 -2.643896e-01 -2.643905e-01 -2.400549e-09 -3.008786e-06
+ 3.120000e-02  1.136615e-02 -2.650849e-01 -2.650881e-01  1.024796e-07  2.826183e-06
+ 3.120000e-02  1.154801e-02 -2.657843e-01 -2.657889e-01 -2.612574e-06 -7.895530e-06
+ 3.120000e-02  1.172704e-02 -2.664407e-01 -2.664455e-01 -1.824239e-05 -2.758865e-05
+ 3.120000e-02  1.190338e-02 -2.672039e-01 -2.672062e-01 -2.515803e-06 -3.226603e-06
+ 3.120000e-02  1.207715e-02 -2.678883e-01 -2.678900e-01  1.399326e-06  2.000184e-06
+ 3.120000e-02  1.224845e-02 -2.685874e-01 -2.685872e-01  3.495851e-06  3.314336e-06
+ 3.120000e-02  1.241739e-02 -2.692893e-01 -2.692881e-01 -2.692893e-01 -2.692881e-01
+ 3.120000e-02  1.258406e-02 -2.699954e-01 -2.699940e-01 -1.451154e-04  6.327550e-02
+ 3.120000e-02  1.274855e-02 -2.707057e-01 -2.707052e-01  8.393834e-06  8.542495e-06
+ 3.120000e-02  1.291094e-02 -2.714203e-01 -2.714210e-01  2.604198e-06 -4.419058e-07
+ 3.120000e-02  1.307132e-02 -2.721397e-01 -2.721421e-01 -5.500544e-07 -3.784897e-06
+ 3.120000e-02  1.322976e-02 -2.727903e-01 -2.727940e-01 -9.866449e-05 -9.859204e-05
+ 3.120000e-02  1.338632e-02 -2.735631e-01 -2.735681e-01 -1.550861e-06 -2.452005e-06
+ 3.120000e-02  1.354106e-02 -2.742918e-01 -2.742976e-01 -1.659838e-07 -6.099677e-06
+ 3.120000e-02  1.369406e-02 -2.750283e-01 -2.750348e-01 -5.177079e-07 -1.286524e-05
+ 3.120000e-02  1.384537e-02 -2.757872e-01 -2.757940e-01 -2.686594e-07 -1.401396e-05
+ 3.120000e-02  1.399505e-02 -2.766206e-01 -2.766330e-01 -2.138342e-06 -5.548166e-06
+ 3.120000e-02  1.414314e-02 -2.780423e-01 -2.780286e-01 -3.172487e-05 -2.522062e-05
+ 3.120000e-02  1.428969e-02 -2.781578e-01 -2.781518e-01  3.126667e-05  4.833207e-05
+ 3.120000e-02  1.443476e-02 -2.783274e-01 -2.783273e-01 -1.134719e-04 -1.168528e-04
+ 3.120000e-02  1.457838e-02 -2.791116e-01 -2.791174e-01 -5.251620e-07  8.118121e-07
+ 3.120000e-02  1.472060e-02 -2.800124e-01 -2.800169e-01 -1.623701e-06 -2.906910e-06
+ 3.120000e-02  1.486146e-02 -2.808300e-01 -2.808326e-01 -5.544632e-06 -1.380755e-05
+ 3.120000e-02  1.500100e-02 -2.821838e-01 -2.821827e-01  1.188236e-05  7.060116e-06
+ 3.120000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.120000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.000000e-06 -3.512275e-01 -3.512275e-01 -2.602172e-09  4.237976e-08
+ 3.360000e-02  2.042241e-03 -2.530785e-01 -3.507578e-01 -2.400536e-06  2.257011e-07
+ 3.360000e-02  2.887751e-03 -2.535861e-01 -3.502918e-01 -9.698342e-06  8.332554e-09
+ 3.360000e-02  3.536534e-03 -2.541060e-01 -3.498296e-01  9.215768e-07  5.555193e-08
+ 3.360000e-02  4.083483e-03 -2.546350e-01 -3.493719e-01  1.073366e-06  7.438626e-08
+ 3.360000e-02  4.565355e-03 -2.551661e-01 -3.489192e-01 -1.694886e-06  2.663353e-07
+ 3.360000e-02  5.001000e-03 -2.557106e-01 -3.484720e-01 -2.693093e-06  6.528134e-08
+ 3.360000e-02  5.401617e-03 -2.562552e-01 -3.480306e-01  2.346175e-08  1.299724e-07
+ 3.360000e-02  5.774503e-03 -2.568122e-01 -3.475950e-01 -4.405495e-06  2.372083e-07
+ 3.360000e-02  6.124724e-03 -2.573712e-01 -3.471653e-01 -1.065994e-06  4.731623e-08
+ 3.360000e-02  6.455972e-03 -2.579389e-01 -3.467421e-01  1.523400e-07  4.606585e-07
+ 3.360000e-02  6.771032e-03 -2.585117e-01 -3.463256e-01  1.576742e-07 -7.449730e-08
+ 3.360000e-02  7.072068e-03 -2.590898e-01 -3.459154e-01 -3.151344e-07  1.545276e-07
+ 3.360000e-02  7.360801e-03 -2.596750e-01 -3.455118e-01 -1.548478e-06  3.826090e-07
+ 3.360000e-02  7.638626e-03 -2.602641e-01 -3.451149e-01 -3.110148e-07  4.420830e-07
+ 3.360000e-02  7.906694e-03 -2.608596e-01 -2.608593e-01  7.845144e-08  1.297644e-07
+ 3.360000e-02  8.165966e-03 -2.614598e-01 -2.614599e-01  1.387211e-08 -2.902597e-07
+ 3.360000e-02  8.417254e-03 -2.620633e-01 -2.620633e-01 -1.900038e-07 -1.617049e-07
+ 3.360000e-02  8.661254e-03 -2.626730e-01 -2.626728e-01  1.151165e-05  1.204452e-05
+ 3.360000e-02  8.898565e-03 -2.632914e-01 -2.632916e-01 -1.247272e-07 -7.382857e-08
+ 3.360000e-02  9.129709e-03 -2.639102e-01 -2.639102e-01 -1.245845e-07 -2.485737e-07
+ 3.360000e-02  9.355143e-03 -2.645340e-01 -2.645340e-01 -4.625677e-07 -2.585938e-07
+ 3.360000e-02  9.575271e-03 -2.651618e-01 -2.651618e-01 -1.340046e-07 -1.054983e-07
+ 3.360000e-02  9.790450e-03 -2.657940e-01 -2.657939e-01  2.441176e-07  1.734867e-07
+ 3.360000e-02  1.000100e-02 -2.664296e-01 -2.664302e-01 -1.009190e-07 -1.327504e-06
+ 3.360000e-02  1.020721e-02 -2.670689e-01 -2.670689e-01 -2.843226e-07  5.650304e-07
+ 3.360000e-02  1.040933e-02 -2.677101e-01 -2.677103e-01  6.254830e-07  9.140625e-08
+ 3.360000e-02  1.060760e-02 -2.683615e-01 -2.683613e-01  1.650166e-05  1.685481e-05
+ 3.360000e-02  1.080223e-02 -2.690135e-01 -2.690135e-01 -5.661495e-08 -1.279779e-07
+ 3.360000e-02  1.099342e-02 -2.696665e-01 -2.696664e-01 -1.503410e-08  1.825180e-08
+ 3.360000e-02  1.118134e-02 -2.703233e-01 -2.703233e-01 -1.777976e-07 -2.237865e-07
+ 3.360000e-02  1.136615e-02 -2.709834e-01 -2.709837e-01 -3.840129e-08 -5.942130e-08
+ 3.360000e-02  1.154801e-02 -2.716472e-01 -2.716474e-01 -3.142982e-08 -6.056601e-07
+ 3.360000e-02  1.172704e-02 -2.723160e-01 -2.723160e-01 -1.345382e-07 -2.993998e-09
+ 3.360000e-02  1.190338e-02 -2.729761e-01 -2.729759e-01 -1.395302e-06 -7.652094e-07
+ 3.360000e-02  1.207715e-02 -2.736546e-01 -2.736542e-01 -3.550224e-08  6.731587e-08
+ 3.360000e-02  1.224845e-02 -2.743337e-01 -2.743334e-01 -9.744967e-08  3.637120e-07
+ 3.360000e-02  1.241739e-02 -2.750196e-01 -2.750196e-01  2.125764e-08 -1.200498e-07
+ 3.360000e-02  1.258406e-02 -2.757202e-01 -2.757205e-01 -3.027214e-08 -1.849170e-07
+ 3.360000e-02  1.274855e-02 -2.765449e-01 -2.765448e-01 -4.932558e-05 -4.865891e-05
+ 3.360000e-02  1.291094e-02 -2.773448e-01 -2.773440e-01  9.046711e-05  8.960919e-05
+ 3.360000e-02  1.307132e-02 -2.776832e-01 -2.776873e-01 -3.224417e-05 -3.894863e-05
+ 3.360000e-02  1.322976e-02 -2.783949e-01 -2.784061e-01  7.153126e-07 -1.685543e-05
+ 3.360000e-02  1.338632e-02 -2.791400e-01 -2.791459e-01 -9.206229e-06 -1.637627e-05
+ 3.360000e-02  1.354106e-02 -2.798576e-01 -2.798489e-01  3.441944e-07 -1.253471e-06
+ 3.360000e-02  1.369406e-02 -2.806074e-01 -2.806018e-01 -1.645118e-07  6.665855e-06
+ 3.360000e-02  1.384537e-02 -2.814116e-01 -2.814048e-01  9.417063e-07  1.505983e-05
+ 3.360000e-02  1.399505e-02 -2.822124e-01 -2.822051e-01 -1.807487e-06  5.870712e-06
+ 3.360000e-02  1.414314e-02 -2.833737e-01 -2.833691e-01 -1.865881e-06 -5.379508e-06
+ 3.360000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.457838e-02 -2.857141e-01 -2.857145e-01 -2.857141e-01 -2.857145e-01
+ 3.360000e-02  1.472060e-02 -2.857142e-01 -2.857146e-01  1.192041e-07  9.244906e-06
+ 3.360000e-02  1.486146e-02 -2.857142e-01 -2.857151e-01  2.511170e-07  8.557432e-06
+ 3.360000e-02  1.500100e-02 -2.857141e-01 -2.857156e-01  3.127437e-07  7.848720e-06
+ 3.360000e-02  1.513925e-02 -2.857142e-01 -2.857161e-01  3.123962e-07  6.687187e-06
+ 3.360000e-02  1.527625e-02 -2.857143e-01 -2.857169e-01  2.763889e-07  5.060947e-06
+ 3.360000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.360000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.000000e-06 -3.590481e-01 -3.590481e-01 -7.069753e-09  2.187122e-08
+ 3.600000e-02  2.042241e-03 -2.610708e-01 -3.585069e-01 -1.007578e-07  7.101451e-08
+ 3.600000e-02  2.887751e-03 -2.615180e-01 -3.579686e-01 -2.508047e-07  1.134416e-09
+ 3.600000e-02  3.536534e-03 -2.619702e-01 -3.574332e-01 -1.828425e-07 -1.657986e-07
+ 3.600000e-02  4.083483e-03 -2.624299e-01 -3.569013e-01  4.882153e-08  8.226985e-08
+ 3.600000e-02  4.565355e-03 -2.628965e-01 -3.563738e-01 -9.004806e-08  1.296064e-07
+ 3.600000e-02  5.001000e-03 -2.633707e-01 -3.558509e-01  6.510824e-08  4.614830e-07
+ 3.600000e-02  5.401617e-03 -2.638520e-01 -3.553334e-01 -3.928838e-08  4.635128e-07
+ 3.600000e-02  5.774503e-03 -2.643407e-01 -3.548215e-01  5.849884e-08  8.630422e-07
+ 3.600000e-02  6.124724e-03 -2.648364e-01 -3.543157e-01 -7.057646e-08 -3.847128e-07
+ 3.600000e-02  6.455972e-03 -2.653391e-01 -3.538160e-01 -1.163195e-07  7.278743e-08
+ 3.600000e-02  6.771032e-03 -2.658486e-01 -3.533218e-01 -8.206346e-08 -6.271457e-08
+ 3.600000e-02  7.072068e-03 -2.663649e-01 -3.528339e-01 -6.059484e-08  2.304506e-07
+ 3.600000e-02  7.360801e-03 -2.668876e-01 -3.523529e-01 -7.212000e-08 -3.782644e-08
+ 3.600000e-02  7.638626e-03 -2.674170e-01 -3.518786e-01 -2.151560e-07 -3.862589e-08
+ 3.600000e-02  7.906694e-03 -2.679524e-01 -2.679524e-01 -3.305412e-09 -4.694057e-08
+ 3.600000e-02  8.165966e-03 -2.684942e-01 -2.684942e-01 -1.461565e-07  1.821181e-08
+ 3.600000e-02  8.417254e-03 -2.690419e-01 -2.690419e-01 -1.070912e-07 -1.147159e-07
+ 3.600000e-02  8.661254e-03 -2.695958e-01 -2.695958e-01  1.190182e-06  1.185322e-06
+ 3.600000e-02  8.898565e-03 -2.701505e-01 -2.701504e-01  4.553032e-06  4.509686e-06
+ 3.600000e-02  9.129709e-03 -2.707198e-01 -2.707198e-01 -6.808846e-09  2.078330e-08
+ 3.600000e-02  9.355143e-03 -2.712903e-01 -2.712903e-01 -1.279159e-07 -1.747390e-07
+ 3.600000e-02  9.575271e-03 -2.718659e-01 -2.718659e-01 -1.487158e-08 -3.401551e-08
+ 3.600000e-02  9.790450e-03 -2.724471e-01 -2.724471e-01 -1.138620e-07 -9.855422e-08
+ 3.600000e-02  1.000100e-02 -2.730318e-01 -2.730318e-01 -1.084697e-07 -1.262214e-07
+ 3.600000e-02  1.020721e-02 -2.736225e-01 -2.736225e-01 -2.239547e-08 -2.062530e-08
+ 3.600000e-02  1.040933e-02 -2.742176e-01 -2.742176e-01 -1.385453e-07 -1.356206e-07
+ 3.600000e-02  1.060760e-02 -2.748167e-01 -2.748167e-01 -1.255724e-07 -1.133937e-07
+ 3.600000e-02  1.080223e-02 -2.753958e-01 -2.753963e-01  1.180324e-04  1.173166e-04
+ 3.600000e-02  1.099342e-02 -2.760860e-01 -2.760855e-01  1.658004e-05  1.647003e-05
+ 3.600000e-02  1.118134e-02 -2.766658e-01 -2.766658e-01 -6.327696e-07 -5.701171e-07
+ 3.600000e-02  1.136615e-02 -2.772816e-01 -2.772814e-01 -6.161066e-08  3.733827e-07
+ 3.600000e-02  1.154801e-02 -2.779053e-01 -2.779052e-01  2.744294e-07  6.078343e-07
+ 3.600000e-02  1.172704e-02 -2.785352e-01 -2.785351e-01  1.255748e-08  3.260520e-08
+ 3.600000e-02  1.190338e-02 -2.791727e-01 -2.791728e-01 -3.895279e-08  6.749433e-09
+ 3.600000e-02  1.207715e-02 -2.798175e-01 -2.798173e-01  1.590357e-07 -1.206530e-06
+ 3.600000e-02  1.224845e-02 -2.804707e-01 -2.804788e-01  2.491960e-06 -1.769677e-05
+ 3.600000e-02  1.241739e-02 -2.811476e-01 -2.811531e-01  1.139169e-06  1.238605e-06
+ 3.600000e-02  1.258406e-02 -2.818292e-01 -2.818214e-01 -1.910372e-06  1.442779e-05
+ 3.600000e-02  1.274855e-02 -2.825552e-01 -2.825551e-01 -5.760588e-08  2.312397e-07
+ 3.600000e-02  1.291094e-02 -2.833767e-01 -2.833768e-01  7.892656e-07  7.837595e-07
+ 3.600000e-02  1.307132e-02 -2.856963e-01 -2.856969e-01  1.412188e-05  1.470929e-05
+ 3.600000e-02  1.322976e-02 -2.857080e-01 -2.857080e-01  7.382519e-06  7.224254e-06
+ 3.600000e-02  1.338632e-02 -2.857141e-01 -2.857137e-01 -2.601951e-07 -3.402815e-07
+ 3.600000e-02  1.354106e-02 -2.857141e-01 -2.857138e-01 -1.722202e-07  2.453244e-07
+ 3.600000e-02  1.369406e-02 -2.857141e-01 -2.857142e-01  2.501956e-07  1.098197e-07
+ 3.600000e-02  1.384537e-02 -2.857142e-01 -2.857147e-01  9.904492e-08 -8.060124e-07
+ 3.600000e-02  1.399505e-02 -2.857155e-01 -2.857159e-01 -2.240305e-06 -2.305244e-06
+ 3.600000e-02  1.414314e-02 -2.857188e-01 -2.857190e-01 -9.248530e-06 -1.037034e-05
+ 3.600000e-02  1.428969e-02 -2.861332e-01 -2.861438e-01  9.069976e-04  8.967450e-04
+ 3.600000e-02  1.443476e-02 -2.880756e-01 -2.880754e-01  3.438780e-05  3.488950e-05
+ 3.600000e-02  1.457838e-02 -2.889381e-01 -2.889384e-01  9.748783e-07  9.149466e-07
+ 3.600000e-02  1.472060e-02 -2.897281e-01 -2.897324e-01  7.843553e-06  9.534111e-06
+ 3.600000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.600000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.000000e-06 -2.692394e-01 -3.674737e-01  7.905577e-07 -7.335032e-08
+ 3.840000e-02  2.042241e-03 -2.696273e-01 -3.668657e-01 -2.128225e-06 -2.114088e-05
+ 3.840000e-02  2.887751e-03 -2.699984e-01 -3.662427e-01 -3.200508e-06 -2.264849e-05
+ 3.840000e-02  3.536534e-03 -2.703645e-01 -3.655277e-01  1.073627e-05  1.211810e-04
+ 3.840000e-02  4.083483e-03 -2.707377e-01 -3.649128e-01 -4.363087e-06 -2.548029e-05
+ 3.840000e-02  4.565355e-03 -2.711387e-01 -3.644527e-01 -6.653694e-05 -1.321105e-04
+ 3.840000e-02  5.001000e-03 -2.715585e-01 -3.639663e-01  1.922146e-05 -8.860790e-05
+ 3.840000e-02  5.401617e-03 -2.719793e-01 -3.632717e-01 -9.525007e-07  3.012638e-05
+ 3.840000e-02  5.774503e-03 -2.723964e-01 -3.625962e-01 -9.787794e-07  1.056626e-04
+ 3.840000e-02  6.124724e-03 -2.728177e-01 -3.620710e-01 -9.534973e-07  2.517541e-05
+ 3.840000e-02  6.455972e-03 -2.732576e-01 -3.615062e-01  1.296529e-06 -1.989339e-05
+ 3.840000e-02  6.771032e-03 -2.736961e-01 -3.609262e-01 -1.623593e-07  1.300703e-06
+ 3.840000e-02  7.072068e-03 -2.741443e-01 -3.603568e-01 -3.264843e-08  2.634939e-06
+ 3.840000e-02  7.360801e-03 -2.746001e-01 -3.597969e-01 -2.375881e-08 -5.132128e-08
+ 3.840000e-02  7.638626e-03 -2.750635e-01 -3.592392e-01 -3.297294e-09 -1.772041e-07
+ 3.840000e-02  7.906694e-03 -2.755341e-01 -2.755341e-01 -2.122137e-08 -4.802015e-08
+ 3.840000e-02  8.165966e-03 -2.760119e-01 -2.760119e-01  3.703399e-09 -2.007133e-08
+ 3.840000e-02  8.417254e-03 -2.764968e-01 -2.764968e-01 -1.165538e-08 -6.753933e-09
+ 3.840000e-02  8.661254e-03 -2.769887e-01 -2.769887e-01 -1.134705e-08 -8.771937e-08
+ 3.840000e-02  8.898565e-03 -2.774874e-01 -2.774875e-01  1.047187e-08 -1.967179e-07
+ 3.840000e-02  9.129709e-03 -2.779930e-01 -2.779929e-01  2.117542e-08  1.537621e-07
+ 3.840000e-02  9.355143e-03 -2.785052e-01 -2.785053e-01  6.299127e-09  1.638172e-08
+ 3.840000e-02  9.575271e-03 -2.790243e-01 -2.790244e-01 -4.174516e-08 -7.758388e-08
+ 3.840000e-02  9.790450e-03 -2.795500e-01 -2.795501e-01 -2.253920e-07 -2.447934e-07
+ 3.840000e-02  1.000100e-02 -2.800828e-01 -2.800829e-01 -4.862007e-08 -5.298496e-08
+ 3.840000e-02  1.020721e-02 -2.806229e-01 -2.806229e-01 -1.571506e-07 -2.064748e-07
+ 3.840000e-02  1.040933e-02 -2.811703e-01 -2.811703e-01 -1.354487e-08  1.028268e-07
+ 3.840000e-02  1.060760e-02 -2.817265e-01 -2.817264e-01 -3.514483e-08  2.356524e-07
+ 3.840000e-02  1.080223e-02 -2.822931e-01 -2.822925e-01  2.319554e-09 -8.588699e-08
+ 3.840000e-02  1.099342e-02 -2.828742e-01 -2.828681e-01 -7.064991e-07  6.959787e-06
+ 3.840000e-02  1.118134e-02 -2.834762e-01 -2.834823e-01  9.008347e-07 -5.518305e-06
+ 3.840000e-02  1.136615e-02 -2.841351e-01 -2.841366e-01  1.163719e-06 -9.774620e-06
+ 3.840000e-02  1.154801e-02 -2.856857e-01 -2.856865e-01 -5.950042e-05 -6.122508e-05
+ 3.840000e-02  1.172704e-02 -2.857136e-01 -2.857131e-01 -6.612488e-07  2.300475e-08
+ 3.840000e-02  1.190338e-02 -2.857129e-01 -2.857124e-01 -8.314015e-07 -1.576759e-07
+ 3.840000e-02  1.207715e-02 -2.857132e-01 -2.857138e-01  2.897426e-07 -6.899338e-07
+ 3.840000e-02  1.224845e-02 -2.857304e-01 -2.857312e-01 -3.497775e-05 -3.540410e-05
+ 3.840000e-02  1.241739e-02 -2.867096e-01 -2.867094e-01  7.036024e-07  7.292231e-07
+ 3.840000e-02  1.258406e-02 -2.875392e-01 -2.875424e-01  1.229821e-07  5.165810e-07
+ 3.840000e-02  1.274855e-02 -2.881953e-01 -2.881982e-01  1.578479e-06 -1.982324e-06
+ 3.840000e-02  1.291094e-02 -2.888229e-01 -2.888195e-01  3.527871e-07  7.083673e-06
+ 3.840000e-02  1.307132e-02 -2.894333e-01 -2.894330e-01  1.040867e-08  4.740013e-07
+ 3.840000e-02  1.322976e-02 -2.900446e-01 -2.900445e-01  6.156101e-07  5.533550e-07
+ 3.840000e-02  1.338632e-02 -2.906398e-01 -2.906397e-01  6.860975e-08  1.802786e-07
+ 3.840000e-02  1.354106e-02 -2.912321e-01 -2.912321e-01  5.793337e-06  5.904370e-06
+ 3.840000e-02  1.369406e-02 -2.918108e-01 -2.918099e-01  7.919284e-08  9.812791e-07
+ 3.840000e-02  1.384537e-02 -2.923670e-01 -2.923671e-01 -5.967737e-08 -1.580205e-07
+ 3.840000e-02  1.399505e-02 -2.931559e-01 -2.931599e-01 -3.048895e-04 -3.085564e-04
+ 3.840000e-02  1.414314e-02 -2.937808e-01 -2.937808e-01 -2.357064e-06 -2.360059e-06
+ 3.840000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.840000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.000000e-06 -3.765151e-01 -3.765155e-01 -2.014749e-07  3.608079e-09
+ 4.080000e-02  2.042241e-03 -2.787217e-01 -3.758301e-01 -7.981036e-09 -3.412297e-08
+ 4.080000e-02  2.887751e-03 -2.790178e-01 -3.751467e-01 -3.855875e-08 -1.398026e-09
+ 4.080000e-02  3.536534e-03 -2.793203e-01 -3.744636e-01  4.010492e-09 -3.090191e-08
+ 4.080000e-02  4.083483e-03 -2.796307e-01 -3.737822e-01  2.706078e-09 -3.212907e-08
+ 4.080000e-02  4.565355e-03 -2.799492e-01 -3.731031e-01  2.103648e-08 -3.097873e-07
+ 4.080000e-02  5.001000e-03 -2.802761e-01 -3.724267e-01  5.738671e-09 -2.603336e-08
+ 4.080000e-02  5.401617e-03 -2.806114e-01 -3.717538e-01 -5.561724e-09 -4.903021e-08
+ 4.080000e-02  5.774503e-03 -2.809552e-01 -3.710849e-01 -2.761780e-08 -4.400686e-08
+ 4.080000e-02  6.124724e-03 -2.813073e-01 -3.704202e-01 -3.980063e-09  5.145664e-08
+ 4.080000e-02  6.455972e-03 -2.816678e-01 -3.697602e-01 -1.668560e-08 -3.370932e-07
+ 4.080000e-02  6.771032e-03 -2.820368e-01 -3.691056e-01 -1.035004e-07 -1.410461e-06
+ 4.080000e-02  7.072068e-03 -2.824140e-01 -3.684557e-01 -9.813242e-08 -1.392402e-06
+ 4.080000e-02  7.360801e-03 -2.827996e-01 -3.678093e-01  1.848408e-08  6.451481e-07
+ 4.080000e-02  7.638626e-03 -2.831937e-01 -3.671697e-01  2.427277e-08  1.678914e-07
+ 4.080000e-02  7.906694e-03 -2.835964e-01 -2.835964e-01 -2.023183e-08 -6.314663e-07
+ 4.080000e-02  8.165966e-03 -2.840084e-01 -2.840060e-01  1.347536e-07  5.124291e-06
+ 4.080000e-02  8.417254e-03 -2.844313e-01 -2.844317e-01 -4.906852e-08 -1.478802e-06
+ 4.080000e-02  8.661254e-03 -2.848700e-01 -2.848705e-01  9.170732e-08 -3.874361e-07
+ 4.080000e-02  8.898565e-03 -2.854118e-01 -2.854135e-01 -8.048436e-05 -8.343442e-05
+ 4.080000e-02  9.129709e-03 -2.857413e-01 -2.857419e-01 -5.223810e-05 -5.286074e-05
+ 4.080000e-02  9.355143e-03 -2.858812e-01 -2.858796e-01  8.090642e-05  8.069037e-05
+ 4.080000e-02  9.575271e-03 -2.865364e-01 -2.865287e-01 -8.183856e-07  1.394745e-05
+ 4.080000e-02  9.790450e-03 -2.870106e-01 -2.870173e-01  9.372167e-07 -7.106670e-06
+ 4.080000e-02  1.000100e-02 -2.874839e-01 -2.874931e-01  2.998961e-07 -6.007368e-06
+ 4.080000e-02  1.020721e-02 -2.879601e-01 -2.879549e-01 -6.900461e-08  1.065052e-06
+ 4.080000e-02  1.040933e-02 -2.884398e-01 -2.884392e-01 -4.416467e-09 -2.177401e-07
+ 4.080000e-02  1.060760e-02 -2.889250e-01 -2.889248e-01 -3.833411e-09 -4.626930e-08
+ 4.080000e-02  1.080223e-02 -2.894153e-01 -2.894152e-01 -1.799964e-08 -1.458582e-08
+ 4.080000e-02  1.099342e-02 -2.899109e-01 -2.899109e-01 -2.281649e-09  5.118528e-08
+ 4.080000e-02  1.118134e-02 -2.904117e-01 -2.904117e-01 -1.654234e-07 -1.406780e-07
+ 4.080000e-02  1.136615e-02 -2.909174e-01 -2.909174e-01 -1.381289e-08 -2.452639e-08
+ 4.080000e-02  1.154801e-02 -2.914278e-01 -2.914278e-01  3.800816e-08  1.871510e-07
+ 4.080000e-02  1.172704e-02 -2.919426e-01 -2.919425e-01  3.336373e-09 -1.850903e-08
+ 4.080000e-02  1.190338e-02 -2.924614e-01 -2.924614e-01 -3.642416e-08 -6.112829e-08
+ 4.080000e-02  1.207715e-02 -2.929830e-01 -2.929829e-01  2.182546e-08  4.697950e-08
+ 4.080000e-02  1.224845e-02 -2.935043e-01 -2.935039e-01 -7.730089e-07 -8.582432e-08
+ 4.080000e-02  1.241739e-02 -2.940564e-01 -2.940561e-01 -2.387150e-05 -2.389322e-05
+ 4.080000e-02  1.258406e-02 -2.946146e-01 -2.946139e-01 -8.084096e-06 -6.711314e-06
+ 4.080000e-02  1.274855e-02 -2.951352e-01 -2.951351e-01 -4.259863e-06 -5.085373e-06
+ 4.080000e-02  1.291094e-02 -2.956766e-01 -2.956771e-01  7.146699e-07  1.109886e-06
+ 4.080000e-02  1.307132e-02 -2.962213e-01 -2.962217e-01 -1.287365e-05 -1.360199e-05
+ 4.080000e-02  1.322976e-02 -2.967645e-01 -2.967650e-01 -5.034755e-06 -5.260879e-06
+ 4.080000e-02  1.338632e-02 -2.973004e-01 -2.973004e-01 -2.973004e-01 -2.973004e-01
+ 4.080000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.080000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.000000e-06 -3.861849e-01 -3.861833e-01  1.075925e-06  8.850843e-09
+ 4.320000e-02  2.042241e-03 -2.883373e-01 -3.854278e-01 -7.312909e-08  5.222996e-07
+ 4.320000e-02  2.887751e-03 -2.885551e-01 -3.846736e-01 -1.103756e-08  3.158852e-09
+ 4.320000e-02  3.536534e-03 -2.887795e-01 -3.839172e-01 -1.807320e-07  1.433770e-06
+ 4.320000e-02  4.083483e-03 -2.890116e-01 -3.831601e-01  8.770403e-09 -2.803929e-08
+ 4.320000e-02  4.565355e-03 -2.892519e-01 -3.824067e-01  6.199338e-08  2.451995e-06
+ 4.320000e-02  5.001000e-03 -2.895010e-01 -3.816551e-01  4.230369e-10 -1.786188e-07
+ 4.320000e-02  5.401617e-03 -2.897587e-01 -3.808968e-01 -3.760868e-07  1.701833e-05
+ 4.320000e-02  5.774503e-03 -2.900250e-01 -3.801349e-01 -1.123324e-07  2.657475e-06
+ 4.320000e-02  6.124724e-03 -2.902995e-01 -3.793937e-01  6.420704e-07  3.293109e-05
+ 4.320000e-02  6.455972e-03 -2.905827e-01 -3.786893e-01  5.647827e-09 -1.562541e-06
+ 4.320000e-02  6.771032e-03 -2.908750e-01 -3.780031e-01  1.765223e-06 -1.193629e-04
+ 4.320000e-02  7.072068e-03 -2.911764e-01 -3.772953e-01 -4.511787e-07 -9.913465e-06
+ 4.320000e-02  7.360801e-03 -2.914870e-01 -3.765218e-01 -3.324358e-07 -1.135570e-04
+ 4.320000e-02  7.638626e-03 -2.918049e-01 -3.757580e-01 -6.686401e-07  8.399492e-05
+ 4.320000e-02  7.906694e-03 -2.921312e-01 -3.750269e-01 -1.347718e-07 -2.367160e-05
+ 4.320000e-02  8.165966e-03 -2.924666e-01 -2.924497e-01 -2.085880e-07  3.692357e-05
+ 4.320000e-02  8.417254e-03 -2.928093e-01 -2.928261e-01 -6.000991e-08  1.248414e-06
+ 4.320000e-02  8.661254e-03 -2.931609e-01 -2.931860e-01  2.290644e-07 -6.481116e-05
+ 4.320000e-02  8.898565e-03 -2.935209e-01 -2.935238e-01 -9.172179e-07  3.369710e-05
+ 4.320000e-02  9.129709e-03 -2.938887e-01 -2.938526e-01 -7.645361e-08  3.165978e-05
+ 4.320000e-02  9.355143e-03 -2.942641e-01 -2.941989e-01 -8.257836e-07  3.024589e-05
+ 4.320000e-02  9.575271e-03 -2.946471e-01 -2.945777e-01 -5.772331e-07  1.358831e-04
+ 4.320000e-02  9.790450e-03 -2.950376e-01 -2.949849e-01  5.632503e-07  9.933702e-07
+ 4.320000e-02  1.000100e-02 -2.954358e-01 -2.954092e-01 -2.240844e-07  2.644303e-05
+ 4.320000e-02  1.020721e-02 -2.958407e-01 -2.958401e-01  2.490034e-06  4.879040e-05
+ 4.320000e-02  1.040933e-02 -2.962528e-01 -2.962687e-01 -6.104914e-07 -4.487426e-05
+ 4.320000e-02  1.060760e-02 -2.966724e-01 -2.966983e-01  2.568041e-07 -4.454433e-05
+ 4.320000e-02  1.080223e-02 -2.970990e-01 -2.971263e-01 -2.619317e-08 -1.470887e-06
+ 4.320000e-02  1.099342e-02 -2.975321e-01 -2.975558e-01  2.830304e-07 -1.193617e-05
+ 4.320000e-02  1.118134e-02 -2.979714e-01 -2.979892e-01  2.990201e-07 -3.186156e-05
+ 4.320000e-02  1.136615e-02 -2.984169e-01 -2.984285e-01 -2.378882e-08 -2.290492e-05
+ 4.320000e-02  1.154801e-02 -2.988682e-01 -2.988747e-01 -2.960158e-07 -4.094970e-06
+ 4.320000e-02  1.172704e-02 -2.993252e-01 -2.993294e-01 -1.513318e-07  6.370837e-06
+ 4.320000e-02  1.190338e-02 -2.997886e-01 -2.997830e-01 -4.267182e-07  1.321931e-05
+ 4.320000e-02  1.207715e-02 -3.002532e-01 -3.002433e-01  7.839103e-07  7.786681e-06
+ 4.320000e-02  1.224845e-02 -3.007270e-01 -3.007286e-01 -3.046464e-07 -6.614225e-06
+ 4.320000e-02  1.241739e-02 -3.012036e-01 -3.012023e-01 -3.278936e-08 -1.262612e-06
+ 4.320000e-02  1.258406e-02 -3.016847e-01 -3.016833e-01 -3.645697e-08 -1.067230e-06
+ 4.320000e-02  1.274855e-02 -3.021746e-01 -3.021733e-01 -1.005262e-05 -1.045753e-05
+ 4.320000e-02  1.291094e-02 -3.026583e-01 -3.026572e-01 -5.190090e-08 -6.480142e-08
+ 4.320000e-02  1.307132e-02 -3.031501e-01 -3.031490e-01 -4.460809e-08  2.808195e-07
+ 4.320000e-02  1.322976e-02 -3.036452e-01 -3.036440e-01 -2.220856e-07  1.693291e-07
+ 4.320000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.320000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.000000e-06 -3.964882e-01 -3.964882e-01  1.195877e-08  1.682457e-09
+ 4.560000e-02  2.042241e-03 -2.984608e-01 -3.956690e-01 -1.279189e-07 -5.560092e-07
+ 4.560000e-02  2.887751e-03 -2.985998e-01 -3.948477e-01  1.137167e-07  2.386369e-07
+ 4.560000e-02  3.536534e-03 -2.987448e-01 -3.940232e-01 -9.992134e-08 -8.570400e-07
+ 4.560000e-02  4.083483e-03 -2.988975e-01 -3.931943e-01  4.636595e-10  2.993520e-07
+ 4.560000e-02  4.565355e-03 -2.990581e-01 -3.923663e-01 -4.636993e-08 -7.258134e-07
+ 4.560000e-02  5.001000e-03 -2.992272e-01 -3.915377e-01 -1.576129e-08 -4.688785e-07
+ 4.560000e-02  5.401617e-03 -2.994049e-01 -3.907093e-01 -6.977906e-08  7.846746e-08
+ 4.560000e-02  5.774503e-03 -2.995914e-01 -3.898827e-01 -1.325527e-08  4.742393e-07
+ 4.560000e-02  6.124724e-03 -2.997867e-01 -3.890585e-01  5.507282e-08 -6.992576e-07
+ 4.560000e-02  6.455972e-03 -2.999909e-01 -3.882366e-01 -2.508071e-09  1.731236e-07
+ 4.560000e-02  6.771032e-03 -3.002041e-01 -3.874176e-01  8.147655e-08 -4.723228e-07
+ 4.560000e-02  7.072068e-03 -3.004264e-01 -3.866019e-01 -1.071638e-07  9.396092e-08
+ 4.560000e-02  7.360801e-03 -3.006575e-01 -3.006580e-01  7.340740e-09 -1.304995e-07
+ 4.560000e-02  7.638626e-03 -3.008976e-01 -3.849833e-01 -7.833725e-10 -4.296810e-07
+ 4.560000e-02  7.906694e-03 -3.011467e-01 -3.011467e-01 -7.552399e-09 -2.206374e-09
+ 4.560000e-02  8.165966e-03 -3.014047e-01 -3.014047e-01 -2.145296e-08 -4.879573e-08
+ 4.560000e-02  8.417254e-03 -3.016716e-01 -3.016714e-01 -3.485265e-09  3.381808e-07
+ 4.560000e-02  8.661254e-03 -3.019473e-01 -3.019472e-01 -5.690942e-09 -9.526211e-08
+ 4.560000e-02  8.898565e-03 -3.022317e-01 -3.022319e-01 -3.293422e-09 -2.439514e-07
+ 4.560000e-02  9.129709e-03 -3.025248e-01 -3.025249e-01 -1.349221e-09 -1.676671e-07
+ 4.560000e-02  9.355143e-03 -3.028265e-01 -3.028263e-01 -8.390409e-10  3.793232e-07
+ 4.560000e-02  9.575271e-03 -3.031367e-01 -3.031365e-01  1.009831e-09  4.999127e-08
+ 4.560000e-02  9.790450e-03 -3.034552e-01 -3.034552e-01 -2.970172e-09  4.302065e-08
+ 4.560000e-02  1.000100e-02 -3.037819e-01 -3.037819e-01  4.139476e-09  4.329110e-08
+ 4.560000e-02  1.020721e-02 -3.041168e-01 -3.041166e-01  1.017997e-09  1.252656e-07
+ 4.560000e-02  1.040933e-02 -3.044596e-01 -3.044593e-01  4.122440e-10  3.055292e-07
+ 4.560000e-02  1.060760e-02 -3.048101e-01 -3.048100e-01 -7.437614e-10  6.825157e-08
+ 4.560000e-02  1.080223e-02 -3.051683e-01 -3.051683e-01  1.914475e-08  5.076811e-08
+ 4.560000e-02  1.099342e-02 -3.055341e-01 -3.055341e-01  2.178117e-10 -4.742051e-08
+ 4.560000e-02  1.118134e-02 -3.059069e-01 -3.059068e-01 -3.807812e-09  2.384221e-08
+ 4.560000e-02  1.136615e-02 -3.062868e-01 -3.062866e-01 -1.640211e-08  4.318838e-07
+ 4.560000e-02  1.154801e-02 -3.066735e-01 -3.066734e-01  3.295753e-11 -1.954273e-07
+ 4.560000e-02  1.172704e-02 -3.070667e-01 -3.070668e-01  3.490733e-09  1.051117e-07
+ 4.560000e-02  1.190338e-02 -3.074663e-01 -3.074664e-01  9.186609e-09  3.072991e-09
+ 4.560000e-02  1.207715e-02 -3.078718e-01 -3.078719e-01  3.209985e-08 -1.771192e-07
+ 4.560000e-02  1.224845e-02 -3.082832e-01 -3.082831e-01 -9.639555e-09  2.969337e-08
+ 4.560000e-02  1.241739e-02 -3.086999e-01 -3.086997e-01 -1.569624e-08  1.130635e-07
+ 4.560000e-02  1.258406e-02 -3.091217e-01 -3.091214e-01 -2.489805e-08  5.114173e-07
+ 4.560000e-02  1.274855e-02 -3.095483e-01 -3.095481e-01  2.860435e-09  6.592175e-07
+ 4.560000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.560000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.000000e-06 -3.090038e-01 -4.074409e-01  3.188547e-06  4.241595e-08
+ 4.800000e-02  2.042241e-03 -3.090700e-01 -4.065408e-01  2.447756e-07  4.054527e-06
+ 4.800000e-02  2.887751e-03 -3.091271e-01 -4.056667e-01 -6.306254e-07 -1.967987e-05
+ 4.800000e-02  3.536534e-03 -3.091887e-01 -4.047361e-01 -7.647942e-09  2.411825e-06
+ 4.800000e-02  4.083483e-03 -3.092583e-01 -4.038069e-01  3.104256e-08  3.227979e-06
+ 4.800000e-02  4.565355e-03 -3.093370e-01 -4.029430e-01  1.514463e-08  3.706339e-07
+ 4.800000e-02  5.001000e-03 -3.094235e-01 -4.020235e-01  1.038413e-08  6.885440e-08
+ 4.800000e-02  5.401617e-03 -3.095188e-01 -4.011131e-01 -1.213689e-09  9.389290e-08
+ 4.800000e-02  5.774503e-03 -3.096229e-01 -4.002035e-01 -1.449159e-09 -6.744106e-08
+ 4.800000e-02  6.124724e-03 -3.097363e-01 -3.992959e-01 -7.421316e-09 -2.228789e-08
+ 4.800000e-02  6.455972e-03 -3.098587e-01 -3.983899e-01  2.415328e-10 -4.390645e-08
+ 4.800000e-02  6.771032e-03 -3.099904e-01 -3.974860e-01 -2.280196e-09 -1.755019e-07
+ 4.800000e-02  7.072068e-03 -3.101313e-01 -3.965845e-01 -2.936519e-08 -1.593580e-07
+ 4.800000e-02  7.360801e-03 -3.102815e-01 -3.956861e-01  2.379908e-09 -5.709509e-10
+ 4.800000e-02  7.638626e-03 -3.104410e-01 -3.947913e-01 -7.061574e-09 -3.688312e-07
+ 4.800000e-02  7.906694e-03 -3.106100e-01 -3.939004e-01 -1.396758e-09 -5.740412e-07
+ 4.800000e-02  8.165966e-03 -3.107882e-01 -3.930133e-01 -8.565814e-09 -8.084714e-08
+ 4.800000e-02  8.417254e-03 -3.109759e-01 -3.109759e-01 -3.560021e-09 -3.319490e-08
+ 4.800000e-02  8.661254e-03 -3.111728e-01 -3.111729e-01 -1.810424e-08 -1.961738e-08
+ 4.800000e-02  8.898565e-03 -3.113791e-01 -3.113791e-01 -9.162267e-09 -2.100435e-08
+ 4.800000e-02  9.129709e-03 -3.115945e-01 -3.115946e-01  2.474070e-09 -7.022123e-08
+ 4.800000e-02  9.355143e-03 -3.118192e-01 -3.118193e-01  7.975926e-09 -1.495624e-07
+ 4.800000e-02  9.575271e-03 -3.120529e-01 -3.120531e-01 -3.247932e-08 -8.392419e-08
+ 4.800000e-02  9.790450e-03 -3.122956e-01 -3.122957e-01  7.823051e-09 -7.183255e-10
+ 4.800000e-02  1.000100e-02 -3.125473e-01 -3.125473e-01 -3.008000e-09 -1.701053e-07
+ 4.800000e-02  1.020721e-02 -3.128077e-01 -3.128077e-01 -8.849599e-09  3.488564e-08
+ 4.800000e-02  1.040933e-02 -3.130767e-01 -3.130766e-01 -3.179433e-08 -3.406171e-08
+ 4.800000e-02  1.060760e-02 -3.133541e-01 -3.133542e-01 -6.730062e-10 -7.598254e-08
+ 4.800000e-02  1.080223e-02 -3.136399e-01 -3.136400e-01  1.316973e-08 -1.611656e-07
+ 4.800000e-02  1.099342e-02 -3.139339e-01 -3.139341e-01 -2.363043e-08 -2.401015e-08
+ 4.800000e-02  1.118134e-02 -3.142358e-01 -3.142359e-01  1.219374e-09  1.398459e-09
+ 4.800000e-02  1.136615e-02 -3.145454e-01 -3.145455e-01  1.881435e-08 -2.347787e-07
+ 4.800000e-02  1.154801e-02 -3.148626e-01 -3.148626e-01 -7.982732e-09 -9.900287e-08
+ 4.800000e-02  1.172704e-02 -3.151870e-01 -3.151870e-01 -2.391078e-08  7.232039e-10
+ 4.800000e-02  1.190338e-02 -3.155185e-01 -3.155185e-01 -6.115184e-08  2.339151e-08
+ 4.800000e-02  1.207715e-02 -3.158569e-01 -3.158568e-01 -8.145818e-08  8.371492e-08
+ 4.800000e-02  1.224845e-02 -3.162017e-01 -3.162016e-01 -5.735096e-08  1.780759e-07
+ 4.800000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.800000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.000000e-06 -3.201764e-01 -4.190528e-01 -3.342192e-06 -3.332050e-08
+ 5.040000e-02  2.042241e-03 -3.201565e-01 -4.180903e-01 -1.985004e-08  4.086239e-07
+ 5.040000e-02  2.887751e-03 -3.201315e-01 -4.171262e-01 -1.692258e-08 -5.225343e-07
+ 5.040000e-02  3.536534e-03 -3.201123e-01 -4.161554e-01 -1.170872e-08 -5.369631e-07
+ 5.040000e-02  4.083483e-03 -3.201003e-01 -4.151792e-01 -7.477847e-09  4.788977e-07
+ 5.040000e-02  4.565355e-03 -3.200961e-01 -4.142000e-01 -5.797677e-09  1.052348e-07
+ 5.040000e-02  5.001000e-03 -3.201001e-01 -4.132176e-01 -7.355612e-09  9.170570e-08
+ 5.040000e-02  5.401617e-03 -3.201126e-01 -4.122322e-01 -1.188658e-08 -4.154351e-08
+ 5.040000e-02  5.774503e-03 -3.201341e-01 -4.112890e-01 -1.069761e-08  9.854426e-07
+ 5.040000e-02  6.124724e-03 -3.201639e-01 -4.102491e-01 -1.781537e-08  2.834770e-06
+ 5.040000e-02  6.455972e-03 -3.202029e-01 -4.092276e-01  1.482575e-07  3.875292e-05
+ 5.040000e-02  6.771032e-03 -3.202516e-01 -4.083102e-01 -7.953502e-08 -2.358110e-05
+ 5.040000e-02  7.072068e-03 -3.203091e-01 -4.073129e-01 -9.411284e-09 -6.290324e-06
+ 5.040000e-02  7.360801e-03 -3.203761e-01 -4.063288e-01 -2.016057e-08 -2.249276e-06
+ 5.040000e-02  7.638626e-03 -3.204525e-01 -4.053483e-01 -3.993000e-08 -6.357789e-07
+ 5.040000e-02  7.906694e-03 -3.205385e-01 -4.043707e-01 -5.772195e-09  1.844384e-07
+ 5.040000e-02  8.165966e-03 -3.206339e-01 -3.206338e-01 -6.610711e-09  1.156025e-07
+ 5.040000e-02  8.417254e-03 -3.207389e-01 -3.207389e-01 -1.260548e-07 -3.217391e-08
+ 5.040000e-02  8.661254e-03 -3.208534e-01 -3.208534e-01 -1.086233e-07 -1.036333e-08
+ 5.040000e-02  8.898565e-03 -3.209775e-01 -3.209776e-01  1.028867e-08 -7.605772e-08
+ 5.040000e-02  9.129709e-03 -3.211112e-01 -3.211113e-01 -1.847751e-08  7.205986e-08
+ 5.040000e-02  9.355143e-03 -3.212543e-01 -3.212546e-01 -4.098866e-10 -1.724050e-07
+ 5.040000e-02  9.575271e-03 -3.214071e-01 -3.214074e-01 -3.503650e-08 -6.430737e-07
+ 5.040000e-02  9.790450e-03 -3.215692e-01 -3.215696e-01  4.859877e-08 -7.549660e-07
+ 5.040000e-02  1.000100e-02 -3.217407e-01 -3.217411e-01 -1.525989e-07 -3.739614e-07
+ 5.040000e-02  1.020721e-02 -3.219215e-01 -3.219218e-01 -8.389520e-09  8.043025e-08
+ 5.040000e-02  1.040933e-02 -3.221114e-01 -3.221116e-01 -3.027866e-08 -2.573093e-07
+ 5.040000e-02  1.060760e-02 -3.223104e-01 -3.223105e-01 -7.141764e-09 -3.898160e-07
+ 5.040000e-02  1.080223e-02 -3.225184e-01 -3.225184e-01  9.582745e-09  6.075144e-08
+ 5.040000e-02  1.099342e-02 -3.227352e-01 -3.227351e-01 -2.312496e-07 -6.285833e-08
+ 5.040000e-02  1.118134e-02 -3.229605e-01 -3.229604e-01  2.874296e-08  1.165444e-07
+ 5.040000e-02  1.136615e-02 -3.231942e-01 -3.231944e-01 -1.356742e-08 -1.260027e-07
+ 5.040000e-02  1.154801e-02 -3.234363e-01 -3.234367e-01  2.947965e-08 -6.933677e-07
+ 5.040000e-02  1.172704e-02 -3.236864e-01 -3.236867e-01 -2.509481e-07 -3.269270e-07
+ 5.040000e-02  1.190338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.207715e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.224845e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.040000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.000000e-06 -3.318346e-01 -4.313353e-01 -5.764389e-05 -2.307775e-08
+ 5.280000e-02  2.042241e-03 -3.513973e-06 -4.303114e-01  2.073983e-07  8.796508e-08
+ 5.280000e-02  2.887751e-03 -5.380867e-06 -4.292867e-01 -4.223591e-07 -4.374048e-07
+ 5.280000e-02  3.536534e-03 -6.879833e-06 -4.282538e-01 -5.223638e-06 -2.203610e-06
+ 5.280000e-02  4.083483e-03 -8.024245e-06 -4.272141e-01 -1.210278e-05 -6.567360e-06
+ 5.280000e-02  4.565355e-03 -8.821150e-06 -4.261689e-01 -1.739388e-05 -9.699328e-06
+ 5.280000e-02  5.001000e-03 -9.305204e-06 -4.251190e-01 -1.888478e-05 -1.020703e-05
+ 5.280000e-02  5.401617e-03 -9.533895e-06 -4.240655e-01 -1.662666e-05 -8.916447e-06
+ 5.280000e-02  5.774503e-03 -9.576282e-06 -4.230091e-01 -1.210409e-05 -6.208517e-06
+ 5.280000e-02  6.124724e-03 -9.503616e-06 -4.219505e-01 -7.069200e-06 -3.906643e-06
+ 5.280000e-02  6.455972e-03 -9.382838e-06 -4.208913e-01 -2.753651e-06 -2.863831e-06
+ 5.280000e-02  6.771032e-03 -9.267110e-06 -4.198265e-01  3.514173e-07 -3.628710e-06
+ 5.280000e-02  7.072068e-03 -9.222733e-06 -4.187679e-01  2.299624e-06  4.068180e-06
+ 5.280000e-02  7.360801e-03 -9.285372e-06 -4.177025e-01  3.400114e-06  2.280502e-05
+ 5.280000e-02  7.638626e-03 -9.477648e-06 -4.167100e-01  3.925959e-06 -1.575651e-05
+ 5.280000e-02  7.906694e-03 -9.833546e-06 -4.155767e-01  4.091145e-06  1.884624e-05
+ 5.280000e-02  8.165966e-03 -1.039486e-05 -4.144867e-01  3.773999e-06  1.133578e-04
+ 5.280000e-02  8.417254e-03 -1.116531e-05 -4.134849e-01  2.687428e-06 -2.524950e-07
+ 5.280000e-02  8.661254e-03 -1.216111e-05 -4.124308e-01  1.904028e-07  9.728689e-07
+ 5.280000e-02  8.898565e-03 -1.337811e-05 -3.309147e-01 -4.546497e-06  7.908594e-05
+ 5.280000e-02  9.129709e-03 -1.479698e-05 -3.309664e-01 -1.220756e-05  1.055252e-04
+ 5.280000e-02  9.355143e-03 -1.637354e-05 -3.310287e-01 -2.256028e-05  1.314646e-04
+ 5.280000e-02  9.575271e-03 -1.802909e-05 -3.311020e-01 -3.352119e-05  1.528803e-04
+ 5.280000e-02  9.790450e-03 -1.963782e-05 -3.311867e-01 -4.097921e-05  1.418515e-04
+ 5.280000e-02  1.000100e-02 -2.101296e-05 -3.312821e-01 -4.012927e-05  7.644603e-05
+ 5.280000e-02  1.020721e-02 -2.189975e-05 -3.313860e-01 -2.849727e-05  1.177403e-05
+ 5.280000e-02  1.040933e-02 -2.199687e-05 -3.314940e-01 -1.024937e-05  3.613669e-06
+ 5.280000e-02  1.060760e-02 -2.102970e-05 -3.316015e-01  1.989162e-06  2.342442e-05
+ 5.280000e-02  1.080223e-02 -1.886054e-05 -3.317074e-01 -5.470825e-06 -6.549196e-06
+ 5.280000e-02  1.099342e-02 -1.555551e-05 -3.318180e-01 -2.548953e-05  1.322242e-04
+ 5.280000e-02  1.118134e-02 -1.131811e-05 -3.319490e-01 -3.358606e-05  1.893848e-04
+ 5.280000e-02  1.136615e-02 -6.351089e-06 -3.321172e-01 -1.815746e-05 -5.361307e-05
+ 5.280000e-02  1.154801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.172704e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.190338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.207715e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.224845e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.280000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.000000e-06 -3.438614e-01 -4.443005e-01 -1.538618e-08  9.338473e-08
+ 5.520000e-02  2.042241e-03 -3.436758e-01 -4.432083e-01  1.049564e-07 -3.863663e-08
+ 5.520000e-02  2.887751e-03 -3.434871e-01 -4.421144e-01 -8.680738e-09 -1.059498e-08
+ 5.520000e-02  3.536534e-03 -3.433028e-01 -4.410093e-01 -2.450541e-08  1.052151e-08
+ 5.520000e-02  4.083483e-03 -3.431242e-01 -4.398941e-01  2.218667e-07 -1.062997e-07
+ 5.520000e-02  4.565355e-03 -3.429493e-01 -4.387583e-01  3.066454e-06  2.139568e-05
+ 5.520000e-02  5.001000e-03 -3.427963e-01 -4.376502e-01 -2.062825e-06  6.060175e-06
+ 5.520000e-02  5.401617e-03 -3.426352e-01 -4.365112e-01  2.586988e-08  2.497243e-07
+ 5.520000e-02  5.774503e-03 -3.424862e-01 -4.353692e-01  2.845236e-08  2.913700e-08
+ 5.520000e-02  6.124724e-03 -3.423457e-01 -4.342233e-01 -3.445697e-08 -5.623112e-08
+ 5.520000e-02  6.455972e-03 -3.422139e-01 -4.330738e-01  1.430540e-07 -1.125317e-08
+ 5.520000e-02  6.771032e-03 -3.420909e-01 -4.319214e-01  3.488691e-07 -3.198069e-08
+ 5.520000e-02  7.072068e-03 -3.419770e-01 -4.307668e-01  4.892226e-08  1.906061e-07
+ 5.520000e-02  7.360801e-03 -3.418722e-01 -4.296103e-01  4.314071e-08  1.677870e-07
+ 5.520000e-02  7.638626e-03 -3.417769e-01 -4.284527e-01  2.083928e-07 -1.376043e-07
+ 5.520000e-02  7.906694e-03 -3.416910e-01 -4.272945e-01  9.299176e-08  5.769821e-08
+ 5.520000e-02  8.165966e-03 -3.416148e-01 -4.261362e-01 -4.452423e-08 -2.713376e-07
+ 5.520000e-02  8.417254e-03 -3.415482e-01 -3.415477e-01 -3.961816e-08  9.696508e-07
+ 5.520000e-02  8.661254e-03 -3.414915e-01 -3.414909e-01  1.288328e-08  6.056440e-07
+ 5.520000e-02  8.898565e-03 -3.414446e-01 -3.414440e-01  4.394634e-08  4.128729e-08
+ 5.520000e-02  9.129709e-03 -3.414077e-01 -3.414067e-01  7.454581e-08 -8.361678e-08
+ 5.520000e-02  9.355143e-03 -3.413809e-01 -3.413801e-01 -4.228761e-08 -6.769241e-08
+ 5.520000e-02  9.575271e-03 -3.413643e-01 -3.413634e-01 -1.504695e-07 -2.581117e-07
+ 5.520000e-02  9.790450e-03 -3.413576e-01 -3.413569e-01 -4.337379e-08 -3.760060e-07
+ 5.520000e-02  1.000100e-02 -3.413612e-01 -3.413605e-01 -4.453627e-08 -3.582064e-07
+ 5.520000e-02  1.020721e-02 -3.413749e-01 -3.413743e-01 -3.474474e-08 -2.590335e-07
+ 5.520000e-02  1.040933e-02 -3.413961e-01 -3.413956e-01 -1.326835e-05 -1.340270e-05
+ 5.520000e-02  1.060760e-02 -3.414317e-01 -3.414313e-01 -3.868575e-08  2.767353e-08
+ 5.520000e-02  1.080223e-02 -3.414754e-01 -3.414751e-01  1.002501e-08  2.505729e-07
+ 5.520000e-02  1.099342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.118134e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.136615e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.154801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.172704e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.190338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.207715e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.224845e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.520000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.000000e-06 -3.563459e-01 -4.579618e-01  7.074781e-09  3.375977e-08
+ 5.760000e-02  2.042241e-03 -3.560756e-01 -4.568101e-01  1.368227e-09  7.089061e-09
+ 5.760000e-02  2.887751e-03 -3.558054e-01 -4.556587e-01  7.459087e-09  2.289835e-08
+ 5.760000e-02  3.536534e-03 -3.555392e-01 -4.544942e-01 -4.204399e-09 -1.923171e-08
+ 5.760000e-02  4.083483e-03 -3.552782e-01 -4.533174e-01  1.029721e-08  8.809889e-08
+ 5.760000e-02  4.565355e-03 -3.550256e-01 -4.521426e-01 -5.738276e-06 -2.878254e-05
+ 5.760000e-02  5.001000e-03 -3.547742e-01 -4.509354e-01 -2.997458e-07  1.719182e-06
+ 5.760000e-02  5.401617e-03 -3.545330e-01 -4.497292e-01  1.005244e-08 -2.383991e-07
+ 5.760000e-02  5.774503e-03 -3.542989e-01 -4.485168e-01  3.043055e-09 -3.063869e-08
+ 5.760000e-02  6.124724e-03 -3.540724e-01 -4.472979e-01  1.308341e-08 -1.202639e-07
+ 5.760000e-02  6.455972e-03 -3.538540e-01 -4.460734e-01  8.208129e-08 -2.893738e-07
+ 5.760000e-02  6.771032e-03 -3.536438e-01 -4.448439e-01  8.809652e-09 -1.185257e-06
+ 5.760000e-02  7.072068e-03 -3.534422e-01 -4.436119e-01  2.314458e-08 -5.030244e-06
+ 5.760000e-02  7.360801e-03 -3.532494e-01 -4.423564e-01 -9.299111e-08  1.836433e-05
+ 5.760000e-02  7.638626e-03 -3.530656e-01 -4.411349e-01  6.371361e-08 -4.469605e-07
+ 5.760000e-02  7.906694e-03 -3.528908e-01 -4.399021e-01  5.862216e-09 -9.710374e-07
+ 5.760000e-02  8.165966e-03 -3.527255e-01 -4.386330e-01  3.220576e-09  1.622426e-05
+ 5.760000e-02  8.417254e-03 -3.525697e-01 -4.373934e-01 -1.821784e-08  1.223413e-06
+ 5.760000e-02  8.661254e-03 -3.524234e-01 -4.361457e-01  1.061121e-08  3.276583e-08
+ 5.760000e-02  8.898565e-03 -3.522868e-01 -3.522866e-01 -3.186864e-09  6.607831e-08
+ 5.760000e-02  9.129709e-03 -3.521596e-01 -3.521593e-01  8.462757e-10  1.406005e-07
+ 5.760000e-02  9.355143e-03 -3.520346e-01 -3.520348e-01 -1.033261e-05 -1.058425e-05
+ 5.760000e-02  9.575271e-03 -3.519421e-01 -3.519418e-01  1.772258e-06  2.284100e-06
+ 5.760000e-02  9.790450e-03 -3.518443e-01 -3.518443e-01  3.266020e-08  3.663350e-08
+ 5.760000e-02  1.000100e-02 -3.517578e-01 -3.517578e-01  2.872570e-08  1.295160e-07
+ 5.760000e-02  1.020721e-02 -3.516819e-01 -3.516819e-01  6.830710e-09 -5.020762e-08
+ 5.760000e-02  1.040933e-02 -3.516162e-01 -3.516163e-01  3.532245e-08 -2.251215e-07
+ 5.760000e-02  1.060760e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.080223e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.099342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.118134e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.136615e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.154801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.172704e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.190338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.207715e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.224845e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.760000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.000000e-06 -3.692351e-01 -4.723346e-01  3.009619e-08  1.749633e-08
+ 6.000000e-02  2.042241e-03 -3.688768e-01 -4.711222e-01 -8.241974e-09  8.073041e-08
+ 6.000000e-02  2.887751e-03 -3.685224e-01 -4.699123e-01 -3.446946e-10 -3.711672e-08
+ 6.000000e-02  3.536534e-03 -3.681714e-01 -4.686859e-01  5.210280e-08  1.379872e-07
+ 6.000000e-02  4.083483e-03 -3.678248e-01 -4.674436e-01 -2.031635e-08  1.909745e-07
+ 6.000000e-02  4.565355e-03 -3.674832e-01 -4.661871e-01 -1.437074e-07 -1.561718e-06
+ 6.000000e-02  5.001000e-03 -3.671472e-01 -4.649163e-01 -2.346685e-07 -1.882302e-06
+ 6.000000e-02  5.401617e-03 -3.668172e-01 -4.636324e-01 -2.644892e-07 -4.671670e-06
+ 6.000000e-02  5.774503e-03 -3.664933e-01 -4.623341e-01 -2.777197e-07 -6.190232e-06
+ 6.000000e-02  6.124724e-03 -3.661756e-01 -4.610209e-01 -2.947479e-07 -7.319949e-06
+ 6.000000e-02  6.455972e-03 -3.658635e-01 -4.596892e-01 -2.025409e-07 -5.576631e-06
+ 6.000000e-02  6.771032e-03 -3.655556e-01 -4.583291e-01 -5.050632e-11  2.237490e-07
+ 6.000000e-02  7.072068e-03 -3.652459e-01 -4.569085e-01  3.097919e-08  3.591343e-07
+ 6.000000e-02  7.360801e-03 -3.649141e-01 -4.553077e-01 -9.973303e-05 -3.349552e-04
+ 6.000000e-02  7.638626e-03 -3.641317e-01 -4.529729e-01 -1.577483e-04 -7.958890e-04
+ 6.000000e-02  7.906694e-03 -3.641619e-01 -4.534799e-01  1.723514e-04  3.113364e-04
+ 6.000000e-02  8.165966e-03 -3.643288e-01 -3.643292e-01 -1.386214e-04  8.841624e-02
+ 6.000000e-02  8.417254e-03 -3.640399e-01 -4.509674e-01  1.137726e-07 -1.158076e-05
+ 6.000000e-02  8.661254e-03 -3.637682e-01 -4.495094e-01 -1.182133e-06 -1.535238e-05
+ 6.000000e-02  8.898565e-03 -3.635344e-01 -3.635343e-01 -7.614957e-07 -6.044816e-07
+ 6.000000e-02  9.129709e-03 -3.633146e-01 -3.633146e-01 -6.834415e-08 -1.039976e-07
+ 6.000000e-02  9.355143e-03 -3.631050e-01 -3.631050e-01  8.045348e-09  4.267580e-08
+ 6.000000e-02  9.575271e-03 -3.629061e-01 -3.629061e-01  1.314808e-10 -4.338195e-08
+ 6.000000e-02  9.790450e-03 -3.627177e-01 -3.627177e-01  1.503788e-08  9.509309e-08
+ 6.000000e-02  1.000100e-02 -3.625399e-01 -3.625399e-01  4.915983e-09 -2.284032e-08
+ 6.000000e-02  1.020721e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.040933e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.060760e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.080223e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.099342e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.118134e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.136615e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.154801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.172704e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.190338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.207715e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.224845e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.241739e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.258406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.274855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.291094e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.307132e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.322976e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.338632e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.354106e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.369406e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.384537e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.399505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.414314e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.428969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.443476e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.457838e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.472060e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.486146e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.513925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.527625e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.541204e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.554663e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.568007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.581239e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.594361e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.607375e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.620285e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.633093e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.645801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.658412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.670928e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.683351e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.695682e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.707925e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.720081e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.732151e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.744137e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.756042e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.767867e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.779613e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.791282e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.802876e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.814395e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.825842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.837217e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.848523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.859759e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.870929e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.882032e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.893069e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.904043e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.914954e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.925803e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.936592e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.947320e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.957990e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.968602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.979157e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  1.989656e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.000100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.010490e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.020826e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.031110e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.041341e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.051522e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.061653e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.071734e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.081766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.091750e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.101687e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.111577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.121420e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.131219e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.140972e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.150681e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.160347e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.169969e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.179549e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.189088e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.198584e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.208040e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.217456e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.226832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.236168e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.245466e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.254725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.263946e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.273130e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.282277e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.291388e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.300462e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.309501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.318505e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.327473e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.336408e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.345308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.354174e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.363008e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.371808e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.380576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.389312e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.398016e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.406688e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.415329e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.423940e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.432520e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.441070e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.449590e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.458080e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.466541e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.474974e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.483377e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.491753e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 6.000000e-02  2.500100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/linlat.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/linlat.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/fmapdp/linlat.out	(revision 17)
@@ -0,0 +1,1052 @@
+# TRACY II v. SYNCHROTRON SOLEIL -- linlat.out -- Mon Feb 16 09:27:03 2004 
+#       name           s    alphax  betax   nux   etax   etapx  alphay  betay   nuy   etay   etapy
+#                     [m]            [m]           [m]                   [m]           [m]
+#                     exit        
+   1:debut            0.00   0.002 10.568  0.000  0.203  0.000   0.000  7.968  0.000   4.949e-03   2.989e-04
+   2:sd1a             0.90  -0.083 10.640  0.013  0.203  0.000  -0.111  8.068  0.018   5.218e-03   2.989e-04
+   3:ssep             0.90  -0.083 10.640  0.013  0.203  0.000  -0.111  8.068  0.018   5.218e-03   2.989e-04
+   4:sep              1.10  -0.101 10.677  0.016  0.203  0.000  -0.136  8.117  0.022   5.278e-03   2.989e-04
+   5:sep              1.30  -0.120 10.722  0.019  0.203  0.000  -0.161  8.177  0.026   5.338e-03   2.989e-04
+   6:sep              1.50  -0.139 10.773  0.022  0.203  0.000  -0.186  8.246  0.029   5.398e-03   2.989e-04
+   7:esep             1.50  -0.139 10.773  0.022  0.203  0.000  -0.186  8.246  0.029   5.398e-03   2.989e-04
+   8:sd1c             5.20  -0.486 13.084  0.073  0.203  0.000  -0.646 11.323  0.092   6.504e-03   2.989e-04
+   9:ehu600           5.20  -0.486 13.084  0.073  0.203  0.000  -0.646 11.323  0.092   6.504e-03   2.989e-04
+  10:sd1d             6.00  -0.560 13.921  0.082  0.203  0.000  -0.745 12.436  0.102   6.743e-03   2.989e-04
+  11:qp1              6.16  -3.306 14.533  0.084  0.206  0.039   1.593 12.299  0.104   6.687e-03  -9.949e-04
+  12:qp1              6.32  -6.456 16.079  0.085  0.216  0.079   3.739 11.437  0.107   6.426e-03  -2.259e-03
+  13:sd2              6.71  -7.492 21.519  0.089  0.246  0.079   3.228  8.720  0.113   5.545e-03  -2.259e-03
+  14:sx1              6.71  -7.492 21.519  0.089  0.246  0.079   3.228  8.720  0.113   5.545e-03  -2.259e-03
+  15:sd3              6.91  -8.022 24.622  0.090  0.262  0.079   2.967  7.480  0.117   5.093e-03  -2.259e-03
+  16:qp2              7.14   1.929 26.067  0.091  0.268 -0.026   0.076  6.801  0.122   4.816e-03  -1.661e-04
+  17:qp2              7.37  11.203 22.952  0.093  0.250 -0.129  -2.787  7.406  0.127   5.015e-03   1.908e-03
+  18:sd14             7.96   7.951 11.652  0.099  0.174 -0.129  -3.484 11.106  0.137   6.141e-03   1.908e-03
+  19:qp3              8.12   5.999  9.433  0.101  0.155 -0.110  -2.285 12.035  0.140   6.391e-03   1.207e-03
+  20:qp3              8.28   4.489  7.765  0.104  0.138 -0.094  -0.919 12.551  0.142   6.526e-03   4.821e-04
+  21:sd5              8.48   3.945  6.078  0.109  0.120 -0.094  -0.948 12.924  0.144   6.622e-03   4.821e-04
+  22:sx2              8.48   3.945  6.078  0.109  0.120 -0.094  -0.948 12.924  0.144   6.622e-03   4.821e-04
+  23:sd6              9.27   1.793  1.545  0.150  0.046 -0.094  -1.063 14.513  0.153   7.003e-03   4.821e-04
+  24:bend2            9.45   1.305  1.007  0.172  0.032 -0.060  -0.816 14.796  0.155   7.065e-03   3.534e-04
+  25:bend3            9.62   0.839  0.630  0.208  0.025 -0.028  -0.836 15.086  0.157   7.127e-03   3.534e-04
+  26:bend3            9.80   0.370  0.418  0.263  0.023  0.005  -0.856 15.383  0.159   7.189e-03   3.534e-04
+  27:bend3            9.97  -0.101  0.371  0.336  0.026  0.038  -0.875 15.686  0.161   7.251e-03   3.534e-04
+  28:bend3           10.15  -0.572  0.489  0.403  0.036  0.070  -0.895 15.997  0.162   7.313e-03   3.534e-04
+  29:bend4           10.32  -1.054  0.772  0.449  0.051  0.103  -0.615 16.314  0.164   7.375e-03   2.179e-04
+  30:sd7             10.76  -2.252  2.227  0.503  0.097  0.103  -0.652 16.872  0.168   7.471e-03   2.179e-04
+  31:qp4             10.92  -3.370  3.116  0.513  0.115  0.127   3.056 16.482  0.170   7.375e-03  -1.419e-03
+  32:qp4             11.08  -4.974  4.436  0.520  0.137  0.155   6.332 14.962  0.171   7.020e-03  -3.001e-03
+  33:sd8             11.28  -6.135  6.658  0.525  0.168  0.155   5.783 12.539  0.174   6.420e-03  -3.001e-03
+  34:sx3             11.28  -6.135  6.658  0.525  0.168  0.155   5.783 12.539  0.174   6.420e-03  -3.001e-03
+  35:sd9             11.76  -8.899 13.819  0.533  0.242  0.155   4.475  7.653  0.181   4.990e-03  -3.001e-03
+  36:qp5             11.92  -4.902 16.063  0.535  0.261  0.079   2.070  6.622  0.185   4.634e-03  -1.471e-03
+  37:qp5             12.08   0.029 16.856  0.537  0.267 -0.002   0.073  6.285  0.189   4.516e-03  -9.306e-06
+  38:sd12            12.55   0.002 16.841  0.541  0.266 -0.002  -0.001  6.251  0.201   4.511e-03  -9.306e-06
+  39:sx4             12.55   0.002 16.841  0.541  0.266 -0.002  -0.001  6.251  0.201   4.511e-03  -9.306e-06
+  40:sd10            13.02  -0.026 16.853  0.545  0.266 -0.002  -0.076  6.287  0.213   4.507e-03  -9.306e-06
+  41:qp5             13.18   4.904 16.059  0.547  0.259 -0.081  -2.074  6.625  0.217   4.628e-03   1.531e-03
+  42:qp5             13.34   8.899 13.815  0.549  0.240 -0.157  -4.480  7.657  0.220   5.000e-03   3.137e-03
+  43:sd9             13.82   6.134  6.653  0.556  0.165 -0.157  -5.789 12.549  0.228   6.495e-03   3.137e-03
+  44:sx3             13.82   6.134  6.653  0.556  0.165 -0.157  -5.789 12.549  0.228   6.495e-03   3.137e-03
+  45:sd8             14.02   4.974  4.432  0.562  0.134 -0.157  -6.339 14.974  0.230   7.122e-03   3.137e-03
+  46:qp4             14.18   3.369  3.113  0.569  0.111 -0.130  -3.060 16.496  0.232   7.495e-03   1.505e-03
+  47:qp4             14.34   2.252  2.224  0.579  0.092 -0.107   0.651 16.887  0.233   7.601e-03  -1.809e-04
+  48:sd7             14.78   1.053  0.769  0.633  0.044 -0.107   0.614 16.330  0.238   7.521e-03  -1.809e-04
+  49:bend2           14.95   0.570  0.487  0.679  0.029 -0.074   0.894 16.013  0.239   7.465e-03  -3.191e-04
+  50:bend3           15.13   0.099  0.369  0.746  0.018 -0.042   0.875 15.703  0.241   7.409e-03  -3.191e-04
+  51:bend3           15.30  -0.372  0.417  0.820  0.014 -0.009   0.855 15.399  0.243   7.353e-03  -3.191e-04
+  52:bend3           15.48  -0.842  0.630  0.875  0.015  0.024   0.836 15.103  0.245   7.297e-03  -3.191e-04
+  53:bend3           15.65  -1.308  1.008  0.910  0.022  0.056   0.816 14.813  0.247   7.241e-03  -3.191e-04
+  54:bend4           15.83  -1.797  1.547  0.932  0.035  0.089   1.063 14.530  0.248   7.185e-03  -4.511e-04
+  55:sd7             16.27  -2.996  3.657  0.962  0.074  0.089   0.999 13.622  0.253   6.987e-03  -4.511e-04
+  56:qp6             16.43  -4.281  4.810  0.968  0.090  0.104   3.311 12.926  0.255   6.817e-03  -1.670e-03
+  57:qp6             16.59  -6.060  6.449  0.972  0.108  0.122   5.247 11.544  0.257   6.455e-03  -2.837e-03
+  58:sd5             16.79  -7.230  9.107  0.976  0.132  0.122   4.753  9.544  0.260   5.888e-03  -2.837e-03
+  59:sx5             16.79  -7.230  9.107  0.976  0.132  0.122   4.753  9.544  0.260   5.888e-03  -2.837e-03
+  60:sd4             17.18  -9.510 15.635  0.982  0.180  0.122   3.789  6.212  0.268   4.781e-03  -2.837e-03
+  61:qp7             17.41  -1.244 18.210  0.984  0.197  0.025   0.678  5.223  0.275   4.409e-03  -4.335e-04
+  62:qp7             17.64   7.584 16.692  0.986  0.191 -0.075  -2.102  5.538  0.282   4.578e-03   1.921e-03
+  63:sd3             17.84   6.883 13.799  0.988  0.176 -0.075  -2.298  6.418  0.287   4.962e-03   1.921e-03
+  64:sx6             17.84   6.883 13.799  0.988  0.176 -0.075  -2.298  6.418  0.287   4.962e-03   1.921e-03
+  65:sd2             18.23   5.516  8.963  0.993  0.147 -0.075  -2.678  8.359  0.296   5.712e-03   1.921e-03
+  66:qp8             18.39   2.914  7.634  0.997  0.138 -0.036  -0.389  8.857  0.298   5.885e-03   2.433e-04
+  67:qp8             18.55   0.827  7.044  1.000  0.135  0.001   1.967  8.601  0.301   5.789e-03  -1.441e-03
+  68:sd13c           19.28   0.653  5.960  1.018  0.135  0.001   1.553  6.022  0.317   4.733e-03  -1.441e-03
+  69:ssdm            19.28   0.653  5.960  1.018  0.135  0.001   1.553  6.022  0.317   4.733e-03  -1.441e-03
+  70:sd13a           19.48   0.606  5.708  1.023  0.136  0.001   1.441  5.423  0.323   4.445e-03  -1.441e-03
+  71:sd13a           19.68   0.558  5.475  1.029  0.136  0.001   1.328  4.869  0.329   4.157e-03  -1.441e-03
+  72:sd13a           19.88   0.511  5.262  1.035  0.136  0.001   1.215  4.361  0.336   3.868e-03  -1.441e-03
+  73:sd13a           20.08   0.463  5.067  1.041  0.136  0.001   1.102  3.898  0.344   3.580e-03  -1.441e-03
+  74:sd13a           20.28   0.416  4.891  1.047  0.136  0.001   0.989  3.480  0.352   3.292e-03  -1.441e-03
+  75:sd13a           20.48   0.368  4.734  1.054  0.136  0.001   0.876  3.107  0.362   3.004e-03  -1.441e-03
+  76:sd13a           20.68   0.321  4.597  1.061  0.136  0.001   0.763  2.779  0.373   2.715e-03  -1.441e-03
+  77:sd13a           20.88   0.273  4.478  1.068  0.137  0.001   0.650  2.497  0.385   2.427e-03  -1.441e-03
+  78:sd13a           21.08   0.226  4.378  1.075  0.137  0.001   0.537  2.259  0.398   2.139e-03  -1.441e-03
+  79:sd13a           21.28   0.178  4.297  1.082  0.137  0.001   0.424  2.067  0.413   1.850e-03  -1.441e-03
+  80:sd13a           21.48   0.131  4.236  1.090  0.137  0.001   0.311  1.920  0.429   1.562e-03  -1.441e-03
+  81:sd13a           21.68   0.083  4.193  1.097  0.137  0.001   0.198  1.819  0.446   1.274e-03  -1.441e-03
+  82:sd13a           21.88   0.036  4.169  1.105  0.137  0.001   0.085  1.762  0.463   9.855e-04  -1.441e-03
+  83:sd13b           22.03   0.000  4.164  1.110  0.137  0.001  -0.000  1.750  0.477   7.693e-04  -1.441e-03
+  84:sd13b           22.18  -0.035  4.169  1.116  0.137  0.001  -0.085  1.762  0.490   5.530e-04  -1.441e-03
+  85:sd13a           22.38  -0.083  4.193  1.124  0.138  0.001  -0.198  1.819  0.508   2.648e-04  -1.441e-03
+  86:sd13a           22.58  -0.130  4.235  1.131  0.138  0.001  -0.311  1.921  0.525  -2.354e-05  -1.441e-03
+  87:sd13a           22.78  -0.178  4.297  1.139  0.138  0.001  -0.424  2.067  0.541  -3.118e-04  -1.441e-03
+  88:sd13a           22.98  -0.225  4.377  1.146  0.138  0.001  -0.537  2.259  0.556  -6.001e-04  -1.441e-03
+  89:sd13a           23.18  -0.273  4.477  1.153  0.138  0.001  -0.650  2.497  0.569  -8.884e-04  -1.441e-03
+  90:sd13a           23.38  -0.320  4.596  1.160  0.138  0.001  -0.763  2.779  0.581  -1.177e-03  -1.441e-03
+  91:sd13a           23.58  -0.368  4.733  1.167  0.138  0.001  -0.876  3.107  0.592  -1.465e-03  -1.441e-03
+  92:sd13a           23.78  -0.415  4.890  1.173  0.138  0.001  -0.989  3.480  0.601  -1.753e-03  -1.441e-03
+  93:sd13a           23.98  -0.463  5.066  1.180  0.139  0.001  -1.102  3.898  0.610  -2.042e-03  -1.441e-03
+  94:sd13a           24.18  -0.510  5.260  1.186  0.139  0.001  -1.215  4.361  0.618  -2.330e-03  -1.441e-03
+  95:sd13a           24.38  -0.558  5.474  1.192  0.139  0.001  -1.328  4.869  0.625  -2.618e-03  -1.441e-03
+  96:sd13a           24.58  -0.605  5.706  1.197  0.139  0.001  -1.441  5.423  0.631  -2.906e-03  -1.441e-03
+  97:sd13a           24.78  -0.653  5.958  1.203  0.139  0.001  -1.554  6.022  0.636  -3.195e-03  -1.441e-03
+  98:esdm            24.78  -0.653  5.958  1.203  0.139  0.001  -1.554  6.022  0.636  -3.195e-03  -1.441e-03
+  99:eesdm           24.78  -0.653  5.958  1.203  0.139  0.001  -1.554  6.022  0.636  -3.195e-03  -1.441e-03
+ 100:sd13c           25.51  -0.827  7.041  1.221  0.140  0.001  -1.967  8.601  0.652  -4.251e-03  -1.441e-03
+ 101:qp8             25.67  -2.913  7.631  1.224  0.143  0.039   0.389  8.857  0.655  -4.393e-03  -3.347e-04
+ 102:qp8             25.83  -5.514  8.960  1.227  0.152  0.079   2.679  8.359  0.658  -4.357e-03   7.833e-04
+ 103:sd2             26.22  -6.881 13.794  1.233  0.183  0.079   2.298  6.419  0.667  -4.052e-03   7.833e-04
+ 104:sx8             26.22  -6.881 13.794  1.233  0.183  0.079   2.298  6.419  0.667  -4.052e-03   7.833e-04
+ 105:sd3             26.42  -7.582 16.687  1.235  0.199  0.079   2.102  5.539  0.672  -3.895e-03   7.833e-04
+ 106:qp7             26.65   1.243 18.205  1.237  0.205 -0.025  -0.678  5.223  0.679  -3.945e-03  -1.219e-03
+ 107:qp7             26.88   9.507 15.631  1.239  0.187 -0.126  -3.788  6.212  0.685  -4.467e-03  -3.364e-03
+ 108:sd4             27.27   7.227  9.104  1.244  0.138 -0.126  -4.751  9.542  0.693  -5.779e-03  -3.364e-03
+ 109:sx7             27.27   7.227  9.104  1.244  0.138 -0.126  -4.751  9.542  0.693  -5.779e-03  -3.364e-03
+ 110:sd5             27.47   6.058  6.447  1.248  0.113 -0.126  -5.245 11.541  0.696  -6.452e-03  -3.364e-03
+ 111:qp6             27.63   4.279  4.809  1.253  0.094 -0.108  -3.309 12.923  0.698  -6.896e-03  -2.175e-03
+ 112:qp6             27.79   2.995  3.656  1.259  0.079 -0.092  -0.998 13.619  0.700  -7.144e-03  -9.218e-04
+ 113:sd7             28.23   1.797  1.548  1.289  0.038 -0.092  -1.062 14.526  0.705  -7.550e-03  -9.218e-04
+ 114:bend2           28.41   1.308  1.008  1.311  0.025 -0.059  -0.815 14.808  0.707  -7.687e-03  -7.831e-04
+ 115:bend3           28.58   0.842  0.631  1.346  0.017 -0.026  -0.834 15.097  0.709  -7.825e-03  -7.831e-04
+ 116:bend3           28.76   0.372  0.418  1.401  0.016  0.006  -0.854 15.393  0.711  -7.962e-03  -7.831e-04
+ 117:bend3           28.93  -0.099  0.370  1.474  0.020  0.039  -0.874 15.696  0.713  -8.099e-03  -7.831e-04
+ 118:bend3           29.11  -0.569  0.487  1.542  0.029  0.072  -0.893 16.006  0.714  -8.237e-03  -7.831e-04
+ 119:bend4           29.29  -1.052  0.769  1.588  0.045  0.105  -0.613 16.323  0.716  -8.374e-03  -6.292e-04
+ 120:sd7             29.73  -2.250  2.222  1.642  0.091  0.105  -0.649 16.878  0.720  -8.651e-03  -6.292e-04
+ 121:qp9             29.89  -3.514  3.131  1.652  0.110  0.132   3.824 16.363  0.722  -8.564e-03   1.707e-03
+ 122:qp9             30.05  -5.394  4.536  1.658  0.133  0.165   7.645 14.501  0.723  -8.108e-03   3.971e-03
+ 123:sd8             30.25  -6.721  6.959  1.664  0.166  0.165   6.826 11.607  0.726  -7.314e-03   3.971e-03
+ 124:sx9             30.25  -6.721  6.959  1.664  0.166  0.165   6.826 11.607  0.726  -7.314e-03   3.971e-03
+ 125:sd9             30.72  -9.881 14.867  1.671  0.245  0.165   4.873  6.034  0.735  -5.423e-03   3.971e-03
+ 126:qp10            30.88  -5.418 17.357  1.673  0.265  0.084   2.734  4.837  0.740  -4.935e-03   2.156e-03
+ 127:qp10            31.04   0.115 18.220  1.674  0.272 -0.000   1.154  4.225  0.745  -4.728e-03   4.400e-04
+ 128:sd8             31.24   0.104 18.176  1.676  0.272 -0.000   1.044  3.786  0.753  -4.640e-03   4.400e-04
+ 129:sx10            31.24   0.104 18.176  1.676  0.272 -0.000   1.044  3.786  0.753  -4.640e-03   4.400e-04
+ 130:sdac1           32.25   0.049 18.023  1.685  0.271 -0.000   0.493  2.241  0.809  -4.198e-03   4.400e-04
+ 131:ssdac           32.25   0.049 18.023  1.685  0.271 -0.000   0.493  2.241  0.809  -4.198e-03   4.400e-04
+ 132:sdac2           32.45   0.038 18.006  1.687  0.271 -0.000   0.383  2.066  0.824  -4.110e-03   4.400e-04
+ 133:sdac2           32.65   0.027 17.993  1.688  0.271 -0.000   0.273  1.935  0.839  -4.022e-03   4.400e-04
+ 134:sdac2           32.85   0.016 17.985  1.690  0.271 -0.000   0.164  1.847  0.856  -3.934e-03   4.400e-04
+ 135:sdac2           33.05   0.005 17.981  1.692  0.271 -0.000   0.054  1.804  0.873  -3.846e-03   4.400e-04
+ 136:sdac2           33.25  -0.006 17.981  1.694  0.271 -0.000  -0.056  1.804  0.891  -3.758e-03   4.400e-04
+ 137:sdac2           33.45  -0.017 17.986  1.695  0.271 -0.000  -0.165  1.848  0.908  -3.670e-03   4.400e-04
+ 138:sdac2           33.65  -0.028 17.995  1.697  0.271 -0.000  -0.275  1.936  0.925  -3.582e-03   4.400e-04
+ 139:sdac2           33.85  -0.039 18.008  1.699  0.271 -0.000  -0.385  2.069  0.941  -3.494e-03   4.400e-04
+ 140:sdac2           34.05  -0.050 18.026  1.701  0.271 -0.000  -0.495  2.244  0.956  -3.406e-03   4.400e-04
+ 141:esdac           34.05  -0.050 18.026  1.701  0.271 -0.000  -0.495  2.244  0.956  -3.406e-03   4.400e-04
+ 142:sdac1           35.05  -0.105 18.183  1.709  0.271 -0.000  -1.046  3.792  1.011  -2.964e-03   4.400e-04
+ 143:sx10            35.05  -0.105 18.183  1.709  0.271 -0.000  -1.046  3.792  1.011  -2.964e-03   4.400e-04
+ 144:sd8             35.25  -0.116 18.227  1.711  0.271 -0.000  -1.156  4.233  1.019  -2.876e-03   4.400e-04
+ 145:qp10            35.41   5.419 17.364  1.713  0.264 -0.084  -2.738  4.846  1.025  -2.864e-03  -2.912e-04
+ 146:qp10            35.57   9.883 14.874  1.714  0.244 -0.165  -4.881  6.045  1.029  -2.970e-03  -1.045e-03
+ 147:sd9             36.05   6.723  6.964  1.722  0.166 -0.165  -6.836 11.626  1.038  -3.468e-03  -1.045e-03
+ 148:sx9             36.05   6.723  6.964  1.722  0.166 -0.165  -6.836 11.626  1.038  -3.468e-03  -1.045e-03
+ 149:sd8             36.25   5.397  4.539  1.727  0.133 -0.165  -7.657 14.524  1.041  -3.677e-03  -1.045e-03
+ 150:qp9             36.41   3.516  3.134  1.734  0.109 -0.132  -3.829 16.389  1.043  -3.765e-03  -5.265e-05
+ 151:qp9             36.57   2.251  2.224  1.744  0.090 -0.105   0.651 16.905  1.044  -3.694e-03   9.453e-04
+ 152:sd7             37.01   1.053  0.770  1.798  0.044 -0.105   0.615 16.347  1.048  -3.278e-03   9.453e-04
+ 153:bend2           37.18   0.571  0.488  1.844  0.028 -0.072   0.896 16.030  1.050  -3.101e-03   1.005e-03
+ 154:bend3           37.36   0.101  0.370  1.911  0.019 -0.039   0.876 15.719  1.052  -2.925e-03   1.005e-03
+ 155:bend3           37.53  -0.370  0.417  1.984  0.015 -0.007   0.856 15.415  1.053  -2.749e-03   1.005e-03
+ 156:bend3           37.71  -0.840  0.629  2.039  0.016  0.026   0.837 15.118  1.055  -2.572e-03   1.005e-03
+ 157:bend3           37.88  -1.305  1.006  2.075  0.024  0.059   0.817 14.828  1.057  -2.396e-03   1.005e-03
+ 158:bend4           38.06  -1.794  1.545  2.097  0.037  0.092   1.065 14.545  1.059  -2.220e-03   1.046e-03
+ 159:sd7             38.50  -2.992  3.650  2.126  0.077  0.092   1.001 13.636  1.064  -1.759e-03   1.046e-03
+ 160:qp6             38.66  -4.274  4.802  2.132  0.093  0.107   3.315 12.939  1.066  -1.568e-03   1.340e-03
+ 161:qp6             38.82  -6.051  6.438  2.137  0.112  0.125   5.253 11.555  1.068  -1.333e-03   1.594e-03
+ 162:sd5             39.02  -7.219  9.092  2.141  0.137  0.125   4.758  9.553  1.071  -1.014e-03   1.594e-03
+ 163:sx7             39.02  -7.219  9.092  2.141  0.137  0.125   4.758  9.553  1.071  -1.014e-03   1.594e-03
+ 164:sd4             39.41  -9.497 15.611  2.146  0.186  0.125   3.793  6.218  1.079  -3.922e-04   1.594e-03
+ 165:qp7             39.64  -1.244 18.183  2.148  0.203  0.025   0.681  5.227  1.085  -1.544e-05   1.718e-03
+ 166:qp7             39.87   7.570 16.668  2.151  0.197 -0.078  -2.100  5.542  1.092   4.141e-04   2.053e-03
+ 167:sd3             40.07   6.870 13.780  2.153  0.182 -0.078  -2.295  6.421  1.098   8.246e-04   2.053e-03
+ 168:sx8             40.07   6.870 13.780  2.153  0.182 -0.078  -2.295  6.421  1.098   8.246e-04   2.053e-03
+ 169:sd2             40.46   5.506  8.953  2.158  0.151 -0.078  -2.675  8.359  1.106   1.625e-03   2.053e-03
+ 170:qp8             40.62   2.908  7.626  2.161  0.142 -0.038  -0.386  8.856  1.109   1.909e-03   1.485e-03
+ 171:qp8             40.78   0.824  7.038  2.165  0.139 -0.000   1.969  8.599  1.112   2.097e-03   8.564e-04
+ 172:sd13c           41.51   0.651  5.957  2.183  0.139 -0.000   1.555  6.018  1.128   2.724e-03   8.564e-04
+ 173:sd13a           41.71   0.603  5.707  2.188  0.139 -0.000   1.441  5.419  1.134   2.896e-03   8.564e-04
+ 174:sd13a           41.91   0.556  5.475  2.194  0.139 -0.000   1.328  4.865  1.140   3.067e-03   8.564e-04
+ 175:sd13a           42.11   0.508  5.262  2.200  0.139 -0.000   1.215  4.356  1.147   3.238e-03   8.564e-04
+ 176:sd13a           42.31   0.461  5.068  2.206  0.139 -0.000   1.102  3.893  1.154   3.410e-03   8.564e-04
+ 177:sd13a           42.51   0.414  4.893  2.212  0.139 -0.000   0.989  3.475  1.163   3.581e-03   8.564e-04
+ 178:sd13a           42.71   0.366  4.737  2.219  0.139 -0.000   0.876  3.102  1.173   3.752e-03   8.564e-04
+ 179:sd13a           42.91   0.319  4.600  2.226  0.139 -0.000   0.763  2.774  1.183   3.923e-03   8.564e-04
+ 180:sd13a           43.11   0.272  4.482  2.232  0.139 -0.000   0.649  2.492  1.195   4.095e-03   8.564e-04
+ 181:sd13a           43.31   0.224  4.383  2.240  0.139 -0.000   0.536  2.255  1.209   4.266e-03   8.564e-04
+ 182:sd13a           43.51   0.177  4.303  2.247  0.139 -0.000   0.423  2.063  1.223   4.437e-03   8.564e-04
+ 183:sd13a           43.71   0.129  4.241  2.254  0.139 -0.000   0.310  1.916  1.239   4.609e-03   8.564e-04
+ 184:sd13a           43.91   0.082  4.199  2.262  0.139 -0.000   0.197  1.815  1.256   4.780e-03   8.564e-04
+ 185:sd13a           44.11   0.035  4.176  2.269  0.139 -0.000   0.084  1.759  1.274   4.951e-03   8.564e-04
+ 186:sd13b           44.26  -0.001  4.171  2.275  0.139 -0.000  -0.001  1.746  1.288   5.080e-03   8.564e-04
+ 187:sd13b           44.41  -0.036  4.176  2.281  0.139 -0.000  -0.086  1.759  1.301   5.208e-03   8.564e-04
+ 188:sd13a           44.61  -0.084  4.200  2.288  0.139 -0.000  -0.199  1.816  1.319   5.379e-03   8.564e-04
+ 189:sd13a           44.81  -0.131  4.243  2.296  0.139 -0.000  -0.312  1.919  1.336   5.551e-03   8.564e-04
+ 190:sd13a           45.01  -0.178  4.305  2.303  0.139 -0.000  -0.425  2.066  1.352   5.722e-03   8.564e-04
+ 191:sd13a           45.21  -0.226  4.386  2.310  0.139 -0.000  -0.539  2.259  1.367   5.893e-03   8.564e-04
+ 192:sd13a           45.41  -0.273  4.486  2.318  0.139 -0.000  -0.652  2.497  1.380   6.064e-03   8.564e-04
+ 193:sd13a           45.61  -0.321  4.604  2.325  0.139 -0.000  -0.765  2.780  1.392   6.236e-03   8.564e-04
+ 194:sd13a           45.81  -0.368  4.742  2.331  0.139 -0.000  -0.878  3.109  1.403   6.407e-03   8.564e-04
+ 195:sd13a           46.01  -0.415  4.899  2.338  0.139 -0.000  -0.991  3.483  1.412   6.578e-03   8.564e-04
+ 196:sd13a           46.21  -0.463  5.074  2.344  0.139 -0.000  -1.104  3.902  1.421   6.750e-03   8.564e-04
+ 197:sd13a           46.41  -0.510  5.269  2.350  0.139 -0.000  -1.217  4.366  1.429   6.921e-03   8.564e-04
+ 198:sd13a           46.61  -0.557  5.482  2.356  0.139 -0.000  -1.331  4.876  1.435   7.092e-03   8.564e-04
+ 199:sd13a           46.81  -0.605  5.715  2.362  0.139 -0.000  -1.444  5.430  1.442   7.263e-03   8.564e-04
+ 200:sd13a           47.01  -0.652  5.966  2.367  0.139 -0.000  -1.557  6.031  1.447   7.435e-03   8.564e-04
+ 201:sd13c           47.74  -0.826  7.049  2.385  0.139 -0.000  -1.971  8.615  1.463   8.062e-03   8.564e-04
+ 202:qp8             47.90  -2.914  7.639  2.389  0.142  0.038   0.389  8.872  1.466   8.029e-03  -1.266e-03
+ 203:qp8             48.06  -5.517  8.968  2.392  0.151  0.078   2.682  8.373  1.469   7.660e-03  -3.329e-03
+ 204:sd2             48.45  -6.884 13.805  2.397  0.181  0.078   2.301  6.430  1.477   6.362e-03  -3.329e-03
+ 205:sx8             48.45  -6.884 13.805  2.397  0.181  0.078   2.301  6.430  1.477   6.362e-03  -3.329e-03
+ 206:sd3             48.65  -7.585 16.699  2.399  0.197  0.078   2.106  5.548  1.483   5.696e-03  -3.329e-03
+ 207:qp7             48.88   1.246 18.216  2.401  0.203 -0.025  -0.679  5.233  1.490   5.243e-03  -6.447e-04
+ 208:qp7             49.11   9.515 15.640  2.404  0.186 -0.125  -3.796  6.223  1.496   5.394e-03   1.966e-03
+ 209:sd4             49.50   7.233  9.108  2.409  0.137 -0.125  -4.761  9.561  1.504   6.160e-03   1.966e-03
+ 210:sx7             49.50   7.233  9.108  2.409  0.137 -0.125  -4.761  9.561  1.504   6.160e-03   1.966e-03
+ 211:sd5             49.70   6.062  6.449  2.413  0.112 -0.125  -5.256 11.564  1.507   6.553e-03   1.966e-03
+ 212:qp6             49.86   4.282  4.809  2.417  0.093 -0.107  -3.316 12.949  1.509   6.773e-03   7.714e-04
+ 213:qp6             50.02   2.998  3.656  2.424  0.077 -0.092  -1.000 13.646  1.511   6.799e-03  -4.450e-04
+ 214:sd7             50.46   1.797  1.546  2.453  0.037 -0.092  -1.064 14.554  1.516   6.603e-03  -4.450e-04
+ 215:bend2           50.64   1.308  1.006  2.475  0.024 -0.059  -0.817 14.837  1.518   6.504e-03  -5.664e-04
+ 216:bend3           50.82   0.841  0.629  2.510  0.016 -0.026  -0.836 15.127  1.520   6.405e-03  -5.664e-04
+ 217:bend3           50.99   0.371  0.417  2.566  0.015  0.007  -0.856 15.424  1.522   6.305e-03  -5.664e-04
+ 218:bend3           51.17  -0.101  0.369  2.639  0.019  0.039  -0.875 15.728  1.523   6.206e-03  -5.664e-04
+ 219:bend3           51.34  -0.573  0.487  2.706  0.028  0.072  -0.895 16.038  1.525   6.107e-03  -5.664e-04
+ 220:bend4           51.52  -1.056  0.771  2.752  0.044  0.105  -0.614 16.355  1.527   6.007e-03  -6.767e-04
+ 221:sd7             51.96  -2.256  2.228  2.807  0.090  0.105  -0.651 16.912  1.531   5.710e-03  -6.767e-04
+ 222:qp9             52.12  -3.523  3.139  2.816  0.109  0.132   3.832 16.395  1.532   5.485e-03  -2.116e-03
+ 223:qp9             52.28  -5.408  4.548  2.823  0.133  0.165   7.661 14.530  1.534   5.038e-03  -3.448e-03
+ 224:sd8             52.48  -6.737  6.977  2.829  0.166  0.165   6.839 11.630  1.537   4.348e-03  -3.448e-03
+ 225:sx9             52.48  -6.737  6.977  2.829  0.166  0.165   6.839 11.630  1.537   4.348e-03  -3.448e-03
+ 226:sd9             52.95  -9.903 14.903  2.836  0.244  0.165   4.883  6.046  1.546   2.706e-03  -3.448e-03
+ 227:qp10            53.11  -5.430 17.399  2.837  0.264  0.085   2.740  4.846  1.550   2.209e-03  -2.797e-03
+ 228:qp10            53.27   0.116 18.264  2.839  0.271  0.000   1.158  4.233  1.556   1.803e-03  -2.293e-03
+ 229:sd8             53.47   0.105 18.219  2.841  0.271  0.000   1.048  3.792  1.564   1.344e-03  -2.293e-03
+ 230:sx10            53.47   0.105 18.219  2.841  0.271  0.000   1.048  3.792  1.564   1.344e-03  -2.293e-03
+ 231:sdac            55.38   0.000 18.020  2.857  0.271  0.000   0.000  1.796  1.693  -3.023e-03  -2.293e-03
+ 232:sdac            57.28  -0.104 18.217  2.874  0.272  0.000  -1.047  3.790  1.822  -7.391e-03  -2.293e-03
+ 233:sx10            57.28  -0.104 18.217  2.874  0.272  0.000  -1.047  3.790  1.822  -7.391e-03  -2.293e-03
+ 234:sd8             57.48  -0.115 18.261  2.876  0.272  0.000  -1.157  4.231  1.830  -7.850e-03  -2.293e-03
+ 235:qp10            57.64   5.430 17.396  2.877  0.265 -0.084  -2.739  4.844  1.836  -8.415e-03  -4.804e-03
+ 236:qp10            57.80   9.902 14.901  2.879  0.245 -0.165  -4.881  6.044  1.840  -9.400e-03  -7.558e-03
+ 237:sd9             58.28   6.736  6.976  2.886  0.166 -0.165  -6.837 11.625  1.849  -1.300e-02  -7.558e-03
+ 238:sx9             58.28   6.736  6.976  2.886  0.166 -0.165  -6.837 11.625  1.849  -1.300e-02  -7.558e-03
+ 239:sd8             58.48   5.407  4.547  2.892  0.134 -0.165  -7.658 14.524  1.852  -1.451e-02  -7.558e-03
+ 240:qp9             58.64   3.522  3.139  2.898  0.110 -0.132  -3.830 16.389  1.853  -1.540e-02  -3.515e-03
+ 241:qp9             58.80   2.256  2.227  2.908  0.091 -0.105   0.650 16.906  1.855  -1.563e-02   6.807e-04
+ 242:sd7             59.24   1.055  0.770  2.962  0.045 -0.105   0.613 16.350  1.859  -1.533e-02   6.807e-04
+ 243:bend2           59.41   0.572  0.487  3.008  0.029 -0.072   0.894 16.033  1.861  -1.516e-02   9.624e-04
+ 244:bend3           59.59   0.101  0.369  3.076  0.020 -0.039   0.875 15.722  1.863  -1.499e-02   9.624e-04
+ 245:bend3           59.77  -0.371  0.416  3.149  0.016 -0.006   0.855 15.419  1.864  -1.482e-02   9.624e-04
+ 246:bend3           59.94  -0.841  0.629  3.204  0.017  0.026   0.836 15.122  1.866  -1.465e-02   9.624e-04
+ 247:bend3           60.12  -1.308  1.006  3.239  0.025  0.059   0.816 14.833  1.868  -1.448e-02   9.624e-04
+ 248:bend4           60.29  -1.798  1.546  3.262  0.038  0.092   1.064 14.550  1.870  -1.432e-02   1.225e-03
+ 249:sd7             60.73  -2.998  3.656  3.291  0.079  0.092   1.000 13.642  1.875  -1.378e-02   1.225e-03
+ 250:qp6             60.89  -4.283  4.810  3.297  0.094  0.107   3.315 12.945  1.877  -1.339e-02   3.656e-03
+ 251:qp6             61.05  -6.063  6.450  3.302  0.113  0.126   5.254 11.561  1.879  -1.261e-02   5.982e-03
+ 252:sd5             61.25  -7.234  9.109  3.306  0.138  0.126   4.759  9.558  1.882  -1.142e-02   5.982e-03
+ 253:sx7             61.25  -7.234  9.109  3.306  0.138  0.126   4.759  9.558  1.882  -1.142e-02   5.982e-03
+ 254:sd4             61.64  -9.516 15.642  3.311  0.187  0.126   3.795  6.222  1.890  -9.083e-03   5.982e-03
+ 255:qp7             61.87  -1.247 18.219  3.313  0.205  0.025   0.679  5.231  1.896  -8.227e-03   1.537e-03
+ 256:qp7             62.10   7.585 16.701  3.315  0.199 -0.079  -2.105  5.547  1.903  -8.362e-03  -2.727e-03
+ 257:sd3             62.30   6.884 13.807  3.317  0.183 -0.079  -2.300  6.428  1.909  -8.908e-03  -2.727e-03
+ 258:sx8             62.30   6.884 13.807  3.317  0.183 -0.079  -2.300  6.428  1.909  -8.908e-03  -2.727e-03
+ 259:sd2             62.69   5.518  8.970  3.323  0.152 -0.079  -2.681  8.371  1.917  -9.971e-03  -2.727e-03
+ 260:qp8             62.85   2.914  7.640  3.326  0.143 -0.039  -0.389  8.869  1.920  -1.018e-02   1.499e-04
+ 261:qp8             63.01   0.826  7.050  3.329  0.140 -0.001   1.970  8.612  1.923  -9.924e-03   3.015e-03
+ 262:sd13            66.49   0.002  4.167  3.439  0.137 -0.001   0.002  1.746  2.098   5.768e-04   3.015e-03
+ 263:sd13            69.98  -0.823  7.028  3.550  0.135 -0.001  -1.966  8.588  2.274   1.108e-02   3.015e-03
+ 264:qp8             70.14  -2.905  7.616  3.553  0.138  0.036   0.386  8.845  2.277   1.131e-02  -1.050e-04
+ 265:qp8             70.30  -5.500  8.942  3.556  0.147  0.075   2.672  8.348  2.280   1.104e-02  -3.223e-03
+ 266:sd2             70.69  -6.863 13.763  3.562  0.176  0.075   2.292  6.412  2.288   9.787e-03  -3.223e-03
+ 267:sx6             70.69  -6.863 13.763  3.562  0.176  0.075   2.292  6.412  2.288   9.787e-03  -3.223e-03
+ 268:sd3             70.89  -7.562 16.648  3.564  0.191  0.075   2.098  5.534  2.294   9.142e-03  -3.223e-03
+ 269:qp7             71.12   1.242 18.161  3.566  0.196 -0.025  -0.680  5.220  2.300   8.945e-03   1.493e-03
+ 270:qp7             71.35   9.486 15.593  3.568  0.179 -0.122  -3.790  6.210  2.307   9.842e-03   6.383e-03
+ 271:sd4             71.74   7.211  9.081  3.573  0.132 -0.122  -4.753  9.542  2.315   1.233e-02   6.383e-03
+ 272:sx5             71.74   7.211  9.081  3.573  0.132 -0.122  -4.753  9.542  2.315   1.233e-02   6.383e-03
+ 273:sd5             71.94   6.044  6.430  3.578  0.108 -0.122  -5.248 11.542  2.318   1.361e-02   6.383e-03
+ 274:qp6             72.10   4.269  4.796  3.582  0.090 -0.104  -3.312 12.925  2.320   1.443e-02   3.866e-03
+ 275:qp6             72.26   2.988  3.645  3.588  0.074 -0.089  -1.001 13.621  2.322   1.484e-02   1.240e-03
+ 276:sd7             72.70   1.791  1.542  3.618  0.035 -0.089  -1.065 14.530  2.327   1.538e-02   1.240e-03
+ 277:bend2           72.87   1.303  1.004  3.640  0.022 -0.056  -0.817 14.814  2.329   1.555e-02   9.571e-04
+ 278:bend3           73.05   0.838  0.629  3.675  0.015 -0.024  -0.837 15.104  2.331   1.572e-02   9.571e-04
+ 279:bend3           73.22   0.369  0.417  3.730  0.014  0.009  -0.857 15.401  2.332   1.589e-02   9.571e-04
+ 280:bend3           73.40  -0.101  0.369  3.804  0.018  0.042  -0.876 15.705  2.334   1.606e-02   9.571e-04
+ 281:bend3           73.57  -0.571  0.487  3.871  0.029  0.074  -0.896 16.016  2.336   1.622e-02   9.571e-04
+ 282:bend4           73.75  -1.053  0.770  3.917  0.044  0.108  -0.615 16.333  2.338   1.639e-02   6.558e-04
+ 283:sd7             74.19  -2.249  2.223  3.971  0.092  0.108  -0.652 16.891  2.342   1.668e-02   6.558e-04
+ 284:qp4             74.35  -3.365  3.110  3.981  0.111  0.130   3.060 16.501  2.343   1.649e-02  -3.068e-03
+ 285:qp4             74.51  -4.967  4.428  3.988  0.134  0.157   6.340 14.979  2.345   1.570e-02  -6.686e-03
+ 286:sd8             74.71  -6.126  6.647  3.993  0.165  0.157   5.790 12.553  2.347   1.437e-02  -6.686e-03
+ 287:sx3             74.71  -6.126  6.647  3.993  0.165  0.157   5.790 12.553  2.347   1.437e-02  -6.686e-03
+ 288:sd9             75.19  -8.886 13.798  4.001  0.240  0.157   4.481  7.660  2.355   1.118e-02  -6.686e-03
+ 289:qp5             75.35  -4.896 16.039  4.003  0.259  0.081   2.074  6.628  2.359   1.038e-02  -3.393e-03
+ 290:qp5             75.51   0.028 16.831  4.004  0.266  0.002   0.075  6.290  2.362   1.009e-02  -2.618e-04
+ 291:sd10            75.98   0.001 16.817  4.009  0.267  0.002   0.001  6.254  2.374   9.965e-03  -2.618e-04
+ 292:sx4             75.98   0.001 16.817  4.009  0.267  0.002   0.001  6.254  2.374   9.965e-03  -2.618e-04
+ 293:sd12            76.45  -0.027 16.829  4.013  0.268  0.002  -0.073  6.288  2.386   9.842e-03  -2.618e-04
+ 294:qp5             76.61   4.896 16.037  4.015  0.261 -0.079  -2.071  6.626  2.390   1.004e-02   2.698e-03
+ 295:qp5             76.77   8.886 13.796  4.017  0.243 -0.155  -4.477  7.657  2.394   1.071e-02   5.791e-03
+ 296:sd9             77.24   6.126  6.645  4.024  0.169 -0.155  -5.785 12.545  2.401   1.347e-02   5.791e-03
+ 297:sx3             77.24   6.126  6.645  4.024  0.169 -0.155  -5.785 12.545  2.401   1.347e-02   5.791e-03
+ 298:sd8             77.44   4.967  4.427  4.030  0.138 -0.155  -6.334 14.968  2.404   1.463e-02   5.791e-03
+ 299:qp4             77.60   3.365  3.109  4.037  0.115 -0.127  -3.056 16.489  2.405   1.529e-02   2.469e-03
+ 300:qp4             77.76   2.249  2.222  4.047  0.097 -0.104   0.653 16.878  2.407   1.541e-02  -9.446e-04
+ 301:sd7             78.20   1.052  0.769  4.101  0.051 -0.104   0.616 16.319  2.411   1.500e-02  -9.446e-04
+ 302:bend2           78.38   0.570  0.487  4.147  0.036 -0.070   0.897 16.001  2.413   1.478e-02  -1.220e-03
+ 303:bend3           78.55   0.100  0.369  4.214  0.026 -0.038   0.877 15.690  2.414   1.457e-02  -1.220e-03
+ 304:bend3           78.73  -0.371  0.417  4.287  0.023 -0.005   0.857 15.386  2.416   1.436e-02  -1.220e-03
+ 305:bend3           78.90  -0.840  0.629  4.343  0.025  0.028   0.838 15.089  2.418   1.414e-02  -1.220e-03
+ 306:bend3           79.08  -1.305  1.005  4.378  0.032  0.060   0.818 14.798  2.420   1.393e-02  -1.220e-03
+ 307:bend4           79.25  -1.793  1.544  4.400  0.046  0.093   1.065 14.515  2.422   1.371e-02  -1.472e-03
+ 308:sd6             80.04  -3.943  6.076  4.441  0.120  0.093   0.950 12.923  2.431   1.255e-02  -1.472e-03
+ 309:sx2             80.04  -3.943  6.076  4.441  0.120  0.093   0.950 12.923  2.431   1.255e-02  -1.472e-03
+ 310:sd5             80.24  -4.487  7.762  4.446  0.138  0.093   0.921 12.549  2.433   1.226e-02  -1.472e-03
+ 311:qp3             80.40  -5.995  9.429  4.449  0.155  0.110   2.287 12.033  2.435   1.191e-02  -2.850e-03
+ 312:qp3             80.56  -7.947 11.646  4.451  0.174  0.129   3.486 11.103  2.438   1.135e-02  -4.174e-03
+ 313:sd14            81.15 -11.196 22.940  4.457  0.250  0.129   2.788  7.402  2.448   8.885e-03  -4.174e-03
+ 314:qp2             81.38  -1.927 26.053  4.458  0.268  0.026  -0.073  6.796  2.453   8.329e-03  -7.030e-04
+ 315:qp2             81.61   8.019 24.608  4.460  0.262 -0.079  -2.961  7.474  2.458   8.557e-03   2.706e-03
+ 316:sd3             81.81   7.488 21.507  4.461  0.246 -0.079  -3.222  8.710  2.462   9.099e-03   2.706e-03
+ 317:sx1             81.81   7.488 21.507  4.461  0.246 -0.079  -3.222  8.710  2.462   9.099e-03   2.706e-03
+ 318:sd2             82.20   6.453 16.070  4.465  0.215 -0.079  -3.731 11.422  2.468   1.015e-02   2.706e-03
+ 319:qp1             82.36   3.304 14.524  4.466  0.206 -0.039  -1.588 12.282  2.471   1.043e-02   7.550e-04
+ 320:qp1             82.52   0.561 13.912  4.468  0.203 -0.000   0.747 12.418  2.473   1.039e-02  -1.219e-03
+ 321:sd1             88.52  -0.000 10.550  4.550  0.203 -0.000   0.001  7.932  2.575   3.079e-03  -1.219e-03
+ 322:sd1             94.52  -0.562 13.922  4.632  0.202 -0.000  -0.746 12.403  2.678  -4.237e-03  -1.219e-03
+ 323:qp1             94.68  -3.307 14.535  4.634  0.206  0.039   1.586 12.267  2.680  -4.362e-03  -3.467e-04
+ 324:qp1             94.84  -6.459 16.082  4.635  0.215  0.078   3.727 11.408  2.682  -4.347e-03   5.380e-04
+ 325:sd2             95.23  -7.495 21.524  4.638  0.245  0.078   3.219  8.699  2.688  -4.137e-03   5.380e-04
+ 326:sx1             95.23  -7.495 21.524  4.638  0.245  0.078   3.219  8.699  2.688  -4.137e-03   5.380e-04
+ 327:sd3             95.43  -8.026 24.628  4.640  0.261  0.078   2.958  7.464  2.692  -4.030e-03   5.380e-04
+ 328:qp2             95.66   1.928 26.074  4.641  0.267 -0.026   0.073  6.787  2.697  -4.089e-03  -1.062e-03
+ 329:qp2             95.89  11.205 22.959  4.643  0.249 -0.129  -2.785  7.393  2.702  -4.525e-03  -2.758e-03
+ 330:sd14            96.48   7.953 11.655  4.648  0.173 -0.129  -3.483 11.091  2.713  -6.153e-03  -2.758e-03
+ 331:qp3             96.64   6.000  9.436  4.651  0.154 -0.110  -2.285 12.020  2.715  -6.534e-03  -2.002e-03
+ 332:qp3             96.80   4.491  7.768  4.654  0.138 -0.093  -0.921 12.536  2.717  -6.792e-03  -1.211e-03
+ 333:sd5             97.00   3.946  6.081  4.658  0.119 -0.093  -0.950 12.910  2.719  -7.034e-03  -1.211e-03
+ 334:sx2             97.00   3.946  6.081  4.658  0.119 -0.093  -0.950 12.910  2.719  -7.034e-03  -1.211e-03
+ 335:sd6             97.79   1.795  1.546  4.700  0.046 -0.093  -1.066 14.502  2.729  -7.991e-03  -1.211e-03
+ 336:bend2           97.97   1.306  1.006  4.722  0.032 -0.060  -0.819 14.786  2.730  -8.177e-03  -1.064e-03
+ 337:bend3           98.14   0.840  0.630  4.757  0.025 -0.027  -0.839 15.077  2.732  -8.364e-03  -1.064e-03
+ 338:bend3           98.32   0.371  0.417  4.812  0.023  0.005  -0.858 15.374  2.734  -8.551e-03  -1.064e-03
+ 339:bend3           98.50  -0.100  0.370  4.885  0.026  0.038  -0.878 15.679  2.736  -8.737e-03  -1.064e-03
+ 340:bend3           98.67  -0.571  0.487  4.953  0.036  0.070  -0.898 15.990  2.738  -8.924e-03  -1.064e-03
+ 341:bend4           98.85  -1.053  0.770  4.999  0.051  0.104  -0.618 16.309  2.739  -9.111e-03  -8.969e-04
+ 342:sd7             99.29  -2.251  2.223  5.053  0.097  0.104  -0.655 16.868  2.744  -9.505e-03  -8.969e-04
+ 343:qp4             99.45  -3.368  3.112  5.063  0.115  0.127   3.053 16.480  2.745  -9.482e-03   1.190e-03
+ 344:qp4             99.61  -4.971  4.430  5.070  0.138  0.155   6.329 14.961  2.747  -9.127e-03   3.227e-03
+ 345:sd8             99.81  -6.131  6.651  5.075  0.169  0.155   5.780 12.539  2.749  -8.482e-03   3.227e-03
+ 346:sx3             99.81  -6.131  6.651  5.075  0.169  0.155   5.780 12.539  2.749  -8.482e-03   3.227e-03
+ 347:sd9             100.28  -8.894 13.808  5.083  0.243  0.155   4.473  7.655  2.757  -6.944e-03   3.227e-03
+ 348:qp5             100.44  -4.901 16.051  5.085  0.261  0.079   2.069  6.625  2.760  -6.583e-03   1.312e-03
+ 349:qp5             100.60   0.027 16.844  5.086  0.268 -0.002   0.071  6.288  2.764  -6.521e-03  -5.339e-04
+ 350:sd12            101.07  -0.001 16.832  5.091  0.267 -0.002  -0.003  6.256  2.776  -6.772e-03  -5.339e-04
+ 351:sx4             101.07  -0.001 16.832  5.091  0.267 -0.002  -0.003  6.256  2.776  -6.772e-03  -5.339e-04
+ 352:sd10            101.54  -0.028 16.845  5.095  0.266 -0.002  -0.077  6.293  2.788  -7.023e-03  -5.339e-04
+ 353:qp5             101.70   4.900 16.053  5.097  0.259 -0.081  -2.077  6.633  2.792  -7.275e-03  -2.633e-03
+ 354:qp5             101.86   8.894 13.809  5.099  0.240 -0.157  -4.486  7.666  2.795  -7.872e-03  -4.862e-03
+ 355:sd9             102.34   6.131  6.652  5.106  0.165 -0.157  -5.798 12.565  2.803  -1.019e-02  -4.862e-03
+ 356:sx3             102.34   6.131  6.652  5.106  0.165 -0.157  -5.798 12.565  2.803  -1.019e-02  -4.862e-03
+ 357:sd8             102.54   4.971  4.432  5.112  0.134 -0.157  -6.349 14.994  2.805  -1.116e-02  -4.862e-03
+ 358:qp4             102.70   3.368  3.113  5.119  0.111 -0.130  -3.065 16.519  2.807  -1.173e-02  -2.225e-03
+ 359:qp4             102.86   2.252  2.224  5.129  0.092 -0.108   0.651 16.909  2.809  -1.187e-02   4.778e-04
+ 360:sd7             103.30   1.054  0.770  5.183  0.045 -0.108   0.614 16.353  2.813  -1.166e-02   4.778e-04
+ 361:bend2           103.47   0.572  0.487  5.229  0.029 -0.074   0.895 16.036  2.814  -1.154e-02   6.920e-04
+ 362:bend3           103.65   0.102  0.369  5.296  0.019 -0.042   0.875 15.725  2.816  -1.142e-02   6.920e-04
+ 363:bend3           103.83  -0.369  0.416  5.369  0.014 -0.009   0.856 15.421  2.818  -1.130e-02   6.920e-04
+ 364:bend3           104.00  -0.838  0.628  5.425  0.015  0.024   0.836 15.125  2.820  -1.117e-02   6.920e-04
+ 365:bend3           104.18  -1.304  1.004  5.460  0.022  0.056   0.817 14.835  2.822  -1.105e-02   6.920e-04
+ 366:bend4           104.35  -1.792  1.542  5.482  0.035  0.089   1.065 14.551  2.824  -1.093e-02   8.929e-04
+ 367:sd7             104.79  -2.990  3.646  5.512  0.074  0.089   1.001 13.643  2.828  -1.054e-02   8.929e-04
+ 368:qp6             104.95  -4.272  4.797  5.518  0.090  0.104   3.316 12.945  2.830  -1.025e-02   2.751e-03
+ 369:qp6             105.11  -6.047  6.433  5.522  0.108  0.122   5.255 11.561  2.832  -9.662e-03   4.529e-03
+ 370:sd5             105.31  -7.215  9.085  5.526  0.132  0.122   4.760  9.558  2.835  -8.756e-03   4.529e-03
+ 371:sx5             105.31  -7.215  9.085  5.526  0.132  0.122   4.760  9.558  2.835  -8.756e-03   4.529e-03
+ 372:sd4             105.70  -9.492 15.600  5.532  0.180  0.122   3.795  6.221  2.843  -6.990e-03   4.529e-03
+ 373:qp7             105.93  -1.244 18.171  5.534  0.197  0.025   0.680  5.230  2.850  -6.343e-03   1.150e-03
+ 374:qp7             106.16   7.565 16.657  5.536  0.191 -0.075  -2.103  5.545  2.857  -6.450e-03  -2.093e-03
+ 375:sd3             106.36   6.866 13.771  5.538  0.176 -0.075  -2.298  6.425  2.862  -6.869e-03  -2.093e-03
+ 376:sx6             106.36   6.866 13.771  5.538  0.176 -0.075  -2.298  6.425  2.862  -6.869e-03  -2.093e-03
+ 377:sd2             106.75   5.503  8.947  5.543  0.147 -0.075  -2.678  8.366  2.870  -7.685e-03  -2.093e-03
+ 378:qp8             106.91   2.906  7.621  5.546  0.138 -0.036  -0.387  8.863  2.873  -7.854e-03  -4.665e-06
+ 379:qp8             107.07   0.823  7.032  5.550  0.135  0.001   1.971  8.606  2.876  -7.687e-03   2.086e-03
+ 380:sd13            110.55   0.000  4.166  5.660  0.137  0.001   0.001  1.740  3.052  -4.233e-04   2.086e-03
+ 381:sd13            114.04  -0.823  7.030  5.770  0.139  0.001  -1.969  8.596  3.228   6.840e-03   2.086e-03
+ 382:qp8             114.20  -2.905  7.618  5.774  0.142  0.039   0.385  8.853  3.231   7.021e-03   1.701e-04
+ 383:qp8             114.36  -5.501  8.944  5.777  0.151  0.079   2.674  8.356  3.234   6.894e-03  -1.754e-03
+ 384:sd2             114.75  -6.863 13.766  5.782  0.182  0.079   2.294  6.419  3.242   6.210e-03  -1.754e-03
+ 385:sx8             114.75  -6.863 13.766  5.782  0.182  0.079   2.294  6.419  3.242   6.210e-03  -1.754e-03
+ 386:sd3             114.95  -7.562 16.651  5.785  0.198  0.079   2.100  5.540  3.247   5.859e-03  -1.754e-03
+ 387:qp7             115.18   1.243 18.164  5.787  0.204 -0.025  -0.681  5.226  3.254   5.795e-03   1.192e-03
+ 388:qp7             115.41   9.488 15.594  5.789  0.187 -0.126  -3.794  6.216  3.261   6.419e-03   4.279e-03
+ 389:sd4             115.80   7.212  9.081  5.794  0.138 -0.126  -4.759  9.552  3.269   8.088e-03   4.279e-03
+ 390:sx7             115.80   7.212  9.081  5.794  0.138 -0.126  -4.759  9.552  3.269   8.088e-03   4.279e-03
+ 391:sd5             116.00   6.045  6.430  5.798  0.113 -0.126  -5.253 11.554  3.272   8.943e-03   4.279e-03
+ 392:qp6             116.16   4.270  4.795  5.803  0.094 -0.107  -3.316 12.939  3.274   9.499e-03   2.643e-03
+ 393:qp6             116.32   2.989  3.645  5.809  0.078 -0.092  -1.002 13.636  3.276   9.785e-03   9.289e-04
+ 394:sd7             116.76   1.792  1.541  5.838  0.038 -0.092  -1.066 14.546  3.281   1.019e-02   9.289e-04
+ 395:bend2           116.93   1.303  1.003  5.860  0.025 -0.058  -0.818 14.830  3.282   1.032e-02   7.416e-04
+ 396:bend3           117.11   0.838  0.627  5.896  0.017 -0.026  -0.838 15.120  3.284   1.045e-02   7.416e-04
+ 397:bend3           117.28   0.369  0.416  5.951  0.016  0.007  -0.858 15.418  3.286   1.058e-02   7.416e-04
+ 398:bend3           117.46  -0.102  0.369  6.024  0.020  0.039  -0.877 15.722  3.288   1.071e-02   7.416e-04
+ 399:bend3           117.63  -0.572  0.487  6.092  0.029  0.072  -0.897 16.033  3.290   1.084e-02   7.416e-04
+ 400:bend4           117.81  -1.054  0.770  6.137  0.045  0.105  -0.616 16.351  3.291   1.097e-02   5.400e-04
+ 401:sd7             118.25  -2.252  2.224  6.192  0.091  0.105  -0.652 16.909  3.296   1.121e-02   5.400e-04
+ 402:qp9             118.41  -3.516  3.134  6.201  0.110  0.132   3.829 16.393  3.297   1.106e-02  -2.426e-03
+ 403:qp9             118.57  -5.398  4.540  6.208  0.134  0.165   7.659 14.528  3.299   1.044e-02  -5.275e-03
+ 404:sd8             118.77  -6.724  6.964  6.214  0.167  0.165   6.838 11.629  3.301   9.387e-03  -5.275e-03
+ 405:sx9             118.77  -6.724  6.964  6.214  0.167  0.165   6.838 11.629  3.301   9.387e-03  -5.275e-03
+ 406:sd9             119.25  -9.884 14.876  6.221  0.246  0.165   4.882  6.047  3.310   6.874e-03  -5.275e-03
+ 407:qp10            119.41  -5.419 17.366  6.223  0.266  0.085   2.739  4.847  3.315   6.190e-03  -3.315e-03
+ 408:qp10            119.57   0.116 18.229  6.224  0.273 -0.000   1.156  4.234  3.320   5.805e-03  -1.526e-03
+ 409:sd8             119.77   0.105 18.185  6.226  0.272 -0.000   1.047  3.793  3.328   5.499e-03  -1.526e-03
+ 410:sx10            119.77   0.105 18.185  6.226  0.272 -0.000   1.047  3.793  3.328   5.499e-03  -1.526e-03
+ 411:sdac            121.67   0.001 17.982  6.242  0.272 -0.000   0.002  1.795  3.457   2.593e-03  -1.526e-03
+ 412:sdac            123.57  -0.103 18.177  6.259  0.272 -0.000  -1.042  3.776  3.586  -3.128e-04  -1.526e-03
+ 413:sx10            123.57  -0.103 18.177  6.259  0.272 -0.000  -1.042  3.776  3.586  -3.128e-04  -1.526e-03
+ 414:sd8             123.77  -0.114 18.221  6.261  0.272 -0.000  -1.152  4.214  3.594  -6.179e-04  -1.526e-03
+ 415:qp10            123.93   5.418 17.357  6.262  0.265 -0.085  -2.728  4.825  3.600  -8.880e-04  -1.864e-03
+ 416:qp10            124.09   9.880 14.868  6.264  0.245 -0.165  -4.860  6.019  3.605  -1.219e-03  -2.291e-03
+ 417:sd9             124.57   6.721  6.960  6.271  0.166 -0.165  -6.808 11.577  3.614  -2.311e-03  -2.291e-03
+ 418:sx9             124.57   6.721  6.960  6.271  0.166 -0.165  -6.808 11.577  3.614  -2.311e-03  -2.291e-03
+ 419:sd8             124.77   5.395  4.537  6.277  0.133 -0.165  -7.625 14.464  3.616  -2.769e-03  -2.291e-03
+ 420:qp9             124.93   3.515  3.132  6.284  0.109 -0.132  -3.814 16.321  3.618  -3.071e-03  -1.476e-03
+ 421:qp9             125.09   2.251  2.222  6.293  0.091 -0.106   0.648 16.835  3.619  -3.238e-03  -6.005e-04
+ 422:sd7             125.53   1.053  0.768  6.347  0.044 -0.106   0.611 16.281  3.624  -3.502e-03  -6.005e-04
+ 423:bend2           125.71   0.571  0.486  6.393  0.029 -0.072   0.891 15.965  3.625  -3.596e-03  -5.361e-04
+ 424:bend3           125.88   0.100  0.368  6.461  0.019 -0.040   0.871 15.656  3.627  -3.690e-03  -5.361e-04
+ 425:bend3           126.06  -0.371  0.416  6.534  0.015 -0.007   0.852 15.354  3.629  -3.784e-03  -5.361e-04
+ 426:bend3           126.23  -0.840  0.628  6.589  0.016  0.026   0.832 15.058  3.631  -3.878e-03  -5.361e-04
+ 427:bend3           126.41  -1.306  1.005  6.624  0.024  0.058   0.813 14.770  3.632  -3.972e-03  -5.361e-04
+ 428:bend4           126.58  -1.794  1.544  6.647  0.037  0.091   1.059 14.488  3.634  -4.066e-03  -4.614e-04
+ 429:sd7             127.02  -2.992  3.650  6.676  0.077  0.091   0.995 13.584  3.639  -4.269e-03  -4.614e-04
+ 430:qp6             127.18  -4.275  4.802  6.682  0.093  0.107   3.300 12.890  3.641  -4.283e-03   2.876e-04
+ 431:qp6             127.34  -6.051  6.438  6.687  0.111  0.125   5.231 11.512  3.643  -4.178e-03   1.025e-03
+ 432:sd5             127.54  -7.219  9.092  6.691  0.136  0.125   4.739  9.518  3.646  -3.973e-03   1.025e-03
+ 433:sx7             127.54  -7.219  9.092  6.691  0.136  0.125   4.739  9.518  3.646  -3.973e-03   1.025e-03
+ 434:sd4             127.93  -9.497 15.612  6.696  0.185  0.125   3.778  6.196  3.654  -3.573e-03   1.025e-03
+ 435:qp7             128.16  -1.243 18.183  6.698  0.202  0.025   0.676  5.210  3.661  -3.542e-03  -7.488e-04
+ 436:qp7             128.39   7.571 16.668  6.700  0.196 -0.077  -2.098  5.525  3.668  -3.924e-03  -2.610e-03
+ 437:sd3             128.59   6.872 13.780  6.702  0.181 -0.077  -2.293  6.403  3.673  -4.446e-03  -2.610e-03
+ 438:sx8             128.59   6.872 13.780  6.702  0.181 -0.077  -2.293  6.403  3.673  -4.446e-03  -2.610e-03
+ 439:sd2             128.98   5.507  8.952  6.708  0.151 -0.077  -2.673  8.340  3.681  -5.464e-03  -2.610e-03
+ 440:qp8             129.14   2.909  7.624  6.711  0.141 -0.038  -0.389  8.837  3.684  -5.757e-03  -1.028e-03
+ 441:qp8             129.30   0.824  7.036  6.714  0.138  0.000   1.962  8.581  3.687  -5.791e-03   5.972e-04
+ 442:sd13            132.79   0.001  4.161  6.825  0.138  0.000   0.000  1.746  3.863  -3.711e-03   5.972e-04
+ 443:sd13            136.27  -0.822  7.021  6.935  0.138  0.000  -1.961  8.575  4.038  -1.632e-03   5.972e-04
+ 444:qp8             136.43  -2.902  7.608  6.938  0.142  0.038   0.388  8.831  4.041  -1.500e-03   1.039e-03
+ 445:qp8             136.59  -5.495  8.933  6.942  0.151  0.078   2.670  8.334  4.044  -1.301e-03   1.437e-03
+ 446:sd2             136.98  -6.856 13.749  6.947  0.181  0.078   2.290  6.400  4.052  -7.409e-04   1.437e-03
+ 447:sx8             136.98  -6.856 13.749  6.947  0.181  0.078   2.290  6.400  4.052  -7.409e-04   1.437e-03
+ 448:sd3             137.18  -7.554 16.632  6.949  0.197  0.078   2.096  5.523  4.058  -4.535e-04   1.437e-03
+ 449:qp7             137.41   1.241 18.143  6.951  0.203 -0.025  -0.676  5.208  4.065  -1.337e-04   1.371e-03
+ 450:qp7             137.64   9.476 15.577  6.953  0.185 -0.125  -3.778  6.194  4.071   1.895e-04   1.466e-03
+ 451:sd4             138.03   7.203  9.072  6.959  0.136 -0.125  -4.739  9.516  4.079   7.611e-04   1.466e-03
+ 452:sx7             138.03   7.203  9.072  6.959  0.136 -0.125  -4.739  9.516  4.079   7.611e-04   1.466e-03
+ 453:sd5             138.23   6.038  6.424  6.963  0.111 -0.125  -5.231 11.510  4.082   1.054e-03   1.466e-03
+ 454:qp6             138.39   4.265  4.791  6.967  0.093 -0.107  -3.301 12.888  4.084   1.274e-03   1.271e-03
+ 455:qp6             138.55   2.985  3.642  6.973  0.077 -0.092  -0.996 13.582  4.086   1.459e-03   1.038e-03
+ 456:sd7             138.99   1.789  1.541  7.003  0.037 -0.092  -1.060 14.487  4.091   1.916e-03   1.038e-03
+ 457:bend2           139.16   1.302  1.004  7.025  0.024 -0.058  -0.813 14.769  4.093   2.092e-03   1.003e-03
+ 458:bend3           139.34   0.837  0.629  7.060  0.016 -0.026  -0.833 15.058  4.095   2.268e-03   1.003e-03
+ 459:bend3           139.52   0.369  0.417  7.116  0.015  0.007  -0.853 15.353  4.097   2.444e-03   1.003e-03
+ 460:bend3           139.69  -0.101  0.370  7.189  0.019  0.040  -0.872 15.656  4.099   2.620e-03   1.003e-03
+ 461:bend3           139.87  -0.570  0.488  7.256  0.029  0.072  -0.892 15.965  4.100   2.796e-03   1.003e-03
+ 462:bend4           140.04  -1.052  0.770  7.302  0.044  0.105  -0.612 16.281  4.102   2.971e-03   9.485e-04
+ 463:sd7             140.48  -2.247  2.221  7.356  0.090  0.105  -0.649 16.836  4.106   3.389e-03   9.485e-04
+ 464:qp9             140.64  -3.509  3.129  7.366  0.109  0.132   3.813 16.322  4.108   3.464e-03  -1.383e-05
+ 465:qp9             140.80  -5.387  4.532  7.372  0.133  0.165   7.625 14.465  4.109   3.384e-03  -9.825e-04
+ 466:sd8             141.00  -6.711  6.952  7.378  0.166  0.165   6.808 11.579  4.112   3.188e-03  -9.825e-04
+ 467:sx9             141.00  -6.711  6.952  7.378  0.166  0.165   6.808 11.579  4.112   3.188e-03  -9.825e-04
+ 468:sd9             141.48  -9.865 14.848  7.385  0.245  0.165   4.861  6.021  4.121   2.719e-03  -9.825e-04
+ 469:qp10            141.64  -5.409 17.334  7.387  0.265  0.085   2.727  4.826  4.126   2.633e-03  -1.082e-04
+ 470:qp10            141.80   0.116 18.195  7.388  0.272  0.000   1.151  4.216  4.131   2.685e-03   7.627e-04
+ 471:sd8             142.00   0.105 18.151  7.390  0.272  0.000   1.041  3.778  4.139   2.837e-03   7.627e-04
+ 472:sx10            142.00   0.105 18.151  7.390  0.272  0.000   1.041  3.778  4.139   2.837e-03   7.627e-04
+ 473:sdac            143.90   0.001 17.948  7.407  0.272  0.000  -0.003  1.800  4.268   4.290e-03   7.627e-04
+ 474:sdac            145.81  -0.104 18.144  7.424  0.272  0.000  -1.046  3.798  4.397   5.743e-03   7.627e-04
+ 475:sx10            145.81  -0.104 18.144  7.424  0.272  0.000  -1.046  3.798  4.397   5.743e-03   7.627e-04
+ 476:sd8             146.01  -0.115 18.188  7.425  0.272  0.000  -1.156  4.238  4.405   5.895e-03   7.627e-04
+ 477:qp10            146.17   5.408 17.327  7.427  0.265 -0.085  -2.740  4.851  4.411   6.160e-03   2.565e-03
+ 478:qp10            146.33   9.863 14.842  7.428  0.245 -0.165  -4.885  6.051  4.415   6.723e-03   4.501e-03
+ 479:sd9             146.80   6.709  6.948  7.436  0.167 -0.165  -6.840 11.636  4.424   8.867e-03   4.501e-03
+ 480:sx9             146.80   6.709  6.948  7.436  0.167 -0.165  -6.840 11.636  4.424   8.867e-03   4.501e-03
+ 481:sd8             147.00   5.385  4.529  7.441  0.134 -0.165  -7.661 14.537  4.427   9.768e-03   4.501e-03
+ 482:qp9             147.16   3.508  3.126  7.448  0.110 -0.132  -3.830 16.402  4.428   1.027e-02   1.773e-03
+ 483:qp9             147.32   2.246  2.219  7.458  0.091 -0.105   0.654 16.918  4.430   1.033e-02  -1.029e-03
+ 484:sd7             147.76   1.050  0.768  7.512  0.045 -0.105   0.617 16.359  4.434   9.878e-03  -1.029e-03
+ 485:bend2           147.94   0.569  0.487  7.558  0.029 -0.072   0.898 16.041  4.436   9.666e-03  -1.210e-03
+ 486:bend3           148.11   0.099  0.370  7.625  0.020 -0.039   0.878 15.729  4.437   9.454e-03  -1.210e-03
+ 487:bend3           148.29  -0.371  0.417  7.699  0.016 -0.007   0.859 15.424  4.439   9.241e-03  -1.210e-03
+ 488:bend3           148.46  -0.840  0.630  7.754  0.017  0.026   0.839 15.126  4.441   9.029e-03  -1.210e-03
+ 489:bend3           148.64  -1.305  1.006  7.789  0.025  0.059   0.820 14.836  4.443   8.817e-03  -1.210e-03
+ 490:bend4           148.82  -1.793  1.545  7.811  0.038  0.092   1.067 14.551  4.445   8.604e-03  -1.369e-03
+ 491:sd7             149.26  -2.989  3.648  7.841  0.078  0.092   1.003 13.641  4.450   8.002e-03  -1.369e-03
+ 492:qp6             149.42  -4.270  4.799  7.847  0.094  0.107   3.318 12.943  4.452   7.671e-03  -2.760e-03
+ 493:qp6             149.58  -6.045  6.434  7.851  0.113  0.126   5.256 11.558  4.454   7.123e-03  -4.069e-03
+ 494:sd5             149.78  -7.212  9.085  7.855  0.138  0.126   4.761  9.554  4.457   6.310e-03  -4.069e-03
+ 495:sx7             149.78  -7.212  9.085  7.855  0.138  0.126   4.761  9.554  4.457   6.310e-03  -4.069e-03
+ 496:sd4             150.17  -9.486 15.597  7.860  0.187  0.126   3.795  6.218  4.465   4.723e-03  -4.069e-03
+ 497:qp7             150.40  -1.241 18.166  7.863  0.204  0.025   0.683  5.226  4.471   4.019e-03  -2.110e-03
+ 498:qp7             150.63   7.565 16.651  7.865  0.198 -0.079  -2.097  5.539  4.478   3.732e-03  -4.084e-04
+ 499:sd3             150.83   6.866 13.765  7.867  0.182 -0.079  -2.292  6.417  4.483   3.651e-03  -4.084e-04
+ 500:sx8             150.83   6.866 13.765  7.867  0.182 -0.079  -2.292  6.417  4.483   3.651e-03  -4.084e-04
+ 501:sd2             151.22   5.502  8.942  7.872  0.152 -0.079  -2.671  8.352  4.492   3.491e-03  -4.084e-04
+ 502:qp8             151.38   2.906  7.616  7.875  0.142 -0.039  -0.383  8.848  4.495   3.344e-03  -1.429e-03
+ 503:qp8             151.54   0.824  7.028  7.879  0.139 -0.001   1.970  8.590  4.498   3.038e-03  -2.384e-03
+ 504:sd13            155.02  -0.004  4.170  7.990  0.137 -0.001  -0.005  1.747  4.674  -5.265e-03  -2.384e-03
+ 505:sd13            158.50  -0.831  7.076  8.100  0.135 -0.001  -1.981  8.662  4.849  -1.357e-02  -2.384e-03
+ 506:qp8             158.66  -2.927  7.669  8.103  0.138  0.036   0.392  8.920  4.852  -1.365e-02   1.365e-03
+ 507:qp8             158.82  -5.541  9.005  8.106  0.147  0.075   2.698  8.418  4.855  -1.313e-02   5.056e-03
+ 508:sd2             159.21  -6.914 13.862  8.112  0.176  0.075   2.315  6.463  4.863  -1.116e-02   5.056e-03
+ 509:sx6             159.21  -6.914 13.862  8.112  0.176  0.075   2.315  6.463  4.863  -1.116e-02   5.056e-03
+ 510:sd3             159.41  -7.618 16.769  8.114  0.191  0.075   2.118  5.577  4.868  -1.015e-02   5.056e-03
+ 511:qp7             159.64   1.250 18.293  8.116  0.197 -0.025  -0.680  5.258  4.875  -9.592e-03  -1.474e-04
+ 512:qp7             159.87   9.554 15.706  8.118  0.180 -0.122  -3.811  6.252  4.882  -1.022e-02  -5.361e-03
+ 513:sd4             160.26   7.263  9.147  8.123  0.132 -0.122  -4.778  9.602  4.890  -1.231e-02  -5.361e-03
+ 514:sx5             160.26   7.263  9.147  8.123  0.132 -0.122  -4.778  9.602  4.890  -1.231e-02  -5.361e-03
+ 515:sd5             160.46   6.088  6.477  8.127  0.108 -0.122  -5.275 11.613  4.893  -1.338e-02  -5.361e-03
+ 516:qp6             160.62   4.301  4.831  8.132  0.090 -0.104  -3.327 13.002  4.895  -1.405e-02  -2.902e-03
+ 517:qp6             160.78   3.010  3.672  8.138  0.075 -0.089  -1.001 13.701  4.897  -1.431e-02  -3.604e-04
+ 518:sd7             161.22   1.806  1.553  8.167  0.035 -0.089  -1.065 14.611  4.902  -1.447e-02  -3.604e-04
+ 519:bend2           161.40   1.314  1.011  8.190  0.022 -0.056  -0.816 14.893  4.904  -1.448e-02  -9.455e-05
+ 520:bend3           161.57   0.846  0.632  8.225  0.015 -0.024  -0.836 15.183  4.905  -1.450e-02  -9.455e-05
+ 521:bend3           161.75   0.374  0.418  8.280  0.014  0.009  -0.855 15.480  4.907  -1.452e-02  -9.455e-05
+ 522:bend3           161.92  -0.100  0.369  8.353  0.019  0.042  -0.875 15.783  4.909  -1.453e-02  -9.455e-05
+ 523:bend3           162.10  -0.573  0.487  8.421  0.029  0.074  -0.894 16.094  4.911  -1.455e-02  -9.455e-05
+ 524:bend4           162.27  -1.058  0.771  8.467  0.045  0.107  -0.612 16.411  4.912  -1.457e-02   1.731e-04
+ 525:sd7             162.71  -2.262  2.232  8.521  0.092  0.107  -0.649 16.966  4.917  -1.449e-02   1.731e-04
+ 526:qp4             162.87  -3.384  3.125  8.531  0.111  0.130   3.079 16.572  4.918  -1.420e-02   3.403e-03
+ 527:qp4             163.03  -4.995  4.450  8.538  0.134  0.157   6.373 15.042  4.920  -1.341e-02   6.515e-03
+ 528:sd8             163.23  -6.161  6.681  8.543  0.165  0.157   5.819 12.603  4.922  -1.210e-02   6.515e-03
+ 529:sx3             163.23  -6.161  6.681  8.543  0.165  0.157   5.819 12.603  4.922  -1.210e-02   6.515e-03
+ 530:sd9             163.71  -8.938 13.873  8.551  0.240  0.157   4.502  7.687  4.930  -9.001e-03   6.515e-03
+ 531:qp5             163.87  -4.926 16.128  8.553  0.259  0.081   2.086  6.650  4.933  -8.171e-03   3.891e-03
+ 532:qp5             164.03   0.025 16.925  8.554  0.266  0.002   0.081  6.308  4.937  -7.746e-03   1.453e-03
+ 533:sd10            164.50  -0.003 16.914  8.559  0.267  0.002   0.007  6.267  4.949  -7.063e-03   1.453e-03
+ 534:sx4             164.50  -0.003 16.914  8.559  0.267  0.002   0.007  6.267  4.949  -7.063e-03   1.453e-03
+ 535:sd12            164.97  -0.030 16.930  8.563  0.267  0.002  -0.068  6.296  4.961  -6.380e-03   1.453e-03
+ 536:qp5             165.13   4.923 16.134  8.565  0.261 -0.079  -2.068  6.632  4.965  -6.285e-03  -2.629e-04
+ 537:qp5             165.29   8.938 13.880  8.566  0.242 -0.155  -4.475  7.662  4.969  -6.465e-03  -2.001e-03
+ 538:sd9             165.77   6.162  6.687  8.574  0.168 -0.155  -5.782 12.548  4.976  -7.418e-03  -2.001e-03
+ 539:sx3             165.77   6.162  6.687  8.574  0.168 -0.155  -5.782 12.548  4.976  -7.418e-03  -2.001e-03
+ 540:sd8             165.97   4.997  4.455  8.580  0.137 -0.155  -6.331 14.971  4.979  -7.818e-03  -2.001e-03
+ 541:qp4             166.13   3.385  3.129  8.587  0.115 -0.127  -3.052 16.490  4.980  -8.002e-03  -2.853e-04
+ 542:qp4             166.29   2.263  2.236  8.597  0.097 -0.104   0.658 16.878  4.982  -7.908e-03   1.449e-03
+ 543:sd7             166.73   1.060  0.774  8.651  0.051 -0.104   0.620 16.315  4.986  -7.271e-03   1.449e-03
+ 544:bend2           166.90   0.576  0.490  8.696  0.036 -0.070   0.900 15.996  4.988  -6.993e-03   1.583e-03
+ 545:bend3           167.08   0.104  0.370  8.764  0.026 -0.038   0.881 15.684  4.989  -6.716e-03   1.583e-03
+ 546:bend3           167.25  -0.369  0.417  8.837  0.023 -0.005   0.861 15.378  4.991  -6.438e-03   1.583e-03
+ 547:bend3           167.43  -0.840  0.629  8.892  0.025  0.027   0.841 15.080  4.993  -6.160e-03   1.583e-03
+ 548:bend3           167.60  -1.308  1.006  8.928  0.032  0.060   0.821 14.788  4.995  -5.883e-03   1.583e-03
+ 549:bend4           167.78  -1.798  1.546  8.950  0.046  0.093   1.068 14.503  4.997  -5.605e-03   1.686e-03
+ 550:sd6             168.57  -3.958  6.093  8.991  0.119  0.093   0.952 12.908  5.006  -4.273e-03   1.686e-03
+ 551:sx2             168.57  -3.958  6.093  8.991  0.119  0.093   0.952 12.908  5.006  -4.273e-03   1.686e-03
+ 552:sd5             168.77  -4.504  7.786  8.996  0.138  0.093   0.922 12.533  5.008  -3.936e-03   1.686e-03
+ 553:qp3             168.93  -6.018  9.459  8.999  0.154  0.110   2.286 12.016  5.010  -3.631e-03   2.124e-03
+ 554:qp3             169.09  -7.977 11.685  9.001  0.173  0.129   3.483 11.087  5.013  -3.258e-03   2.524e-03
+ 555:sd14            169.68 -11.239 23.022  9.007  0.249  0.129   2.785  7.389  5.023  -1.769e-03   2.524e-03
+ 556:qp2             169.91  -1.937 26.147  9.008  0.267  0.026  -0.072  6.783  5.028  -1.268e-03   1.873e-03
+ 557:qp2             170.14   8.046 24.698  9.010  0.261 -0.078  -2.955  7.459  5.033  -8.950e-04   1.392e-03
+ 558:sd3             170.34   7.514 21.586  9.011  0.246 -0.078  -3.216  8.694  5.037  -6.167e-04   1.392e-03
+ 559:sx1             170.34   7.514 21.586  9.011  0.246 -0.078  -3.216  8.694  5.037  -6.167e-04   1.392e-03
+ 560:sd2             170.73   6.476 16.131  9.015  0.215 -0.078  -3.725 11.401  5.044  -7.397e-05   1.392e-03
+ 561:qp1             170.89   3.315 14.580  9.016  0.206 -0.039  -1.585 12.259  5.046   1.428e-04   1.312e-03
+ 562:qp1             171.05   0.562 13.966  9.018  0.203  0.000   0.744 12.395  5.048   3.439e-04   1.195e-03
+ 563:sd1             177.05   0.000 10.595  9.100  0.203  0.000  -0.004  7.951  5.151   7.514e-03   1.195e-03
+ 564:sd1             183.05  -0.561 13.963  9.181  0.203  0.000  -0.752 12.486  5.253   1.468e-02   1.195e-03
+ 565:qp1             183.21  -3.315 14.577  9.183  0.206  0.039   1.595 12.350  5.255   1.465e-02  -1.626e-03
+ 566:qp1             183.37  -6.475 16.128  9.185  0.216  0.079   3.751 11.486  5.257   1.417e-02  -4.398e-03
+ 567:sd2             183.76  -7.513 21.583  9.188  0.246  0.079   3.240  8.760  5.263   1.245e-02  -4.398e-03
+ 568:sx1             183.76  -7.513 21.583  9.188  0.246  0.079   3.240  8.760  5.263   1.245e-02  -4.398e-03
+ 569:sd3             183.96  -8.045 24.694  9.190  0.262  0.079   2.977  7.516  5.267   1.157e-02  -4.398e-03
+ 570:qp2             184.19   1.936 26.143  9.191  0.268 -0.026   0.073  6.835  5.272   1.109e-02   1.805e-04
+ 571:qp2             184.42  11.236 23.019  9.192  0.250 -0.129  -2.804  7.445  5.277   1.166e-02   4.772e-03
+ 572:sd14            185.01   7.975 11.684  9.198  0.174 -0.129  -3.506 11.168  5.288   1.447e-02   4.772e-03
+ 573:qp3             185.17   6.017  9.459  9.201  0.155 -0.110  -2.300 12.102  5.290   1.510e-02   3.082e-03
+ 574:qp3             185.33   4.503  7.786  9.204  0.138 -0.094  -0.926 12.622  5.292   1.545e-02   1.334e-03
+ 575:sd5             185.53   3.957  6.094  9.208  0.120 -0.094  -0.955 12.998  5.294   1.572e-02   1.334e-03
+ 576:sx2             185.53   3.957  6.094  9.208  0.120 -0.094  -0.955 12.998  5.294   1.572e-02   1.334e-03
+ 577:sd6             186.32   1.799  1.547  9.249  0.046 -0.094  -1.071 14.599  5.304   1.677e-02   1.334e-03
+ 578:bend2           186.49   1.308  1.007  9.272  0.032 -0.060  -0.822 14.884  5.305   1.695e-02   1.025e-03
+ 579:bend3           186.67   0.841  0.630  9.307  0.025 -0.028  -0.842 15.176  5.307   1.713e-02   1.025e-03
+ 580:bend3           186.84   0.370  0.417  9.362  0.023  0.005  -0.862 15.474  5.309   1.731e-02   1.025e-03
+ 581:bend3           187.02  -0.102  0.370  9.436  0.026  0.037  -0.881 15.780  5.311   1.749e-02   1.025e-03
+ 582:bend3           187.20  -0.574  0.489  9.503  0.036  0.070  -0.901 16.093  5.313   1.767e-02   1.025e-03
+ 583:bend4           187.37  -1.058  0.773  9.549  0.051  0.103  -0.619 16.412  5.314   1.785e-02   6.972e-04
+ 584:sd7             187.81  -2.260  2.233  9.603  0.097  0.103  -0.656 16.973  5.319   1.816e-02   6.972e-04
+ 585:qp4             187.97  -3.381  3.125  9.612  0.115  0.127   3.074 16.582  5.320   1.795e-02  -3.293e-03
+ 586:qp4             188.13  -4.991  4.449  9.619  0.137  0.155   6.370 15.053  5.322   1.711e-02  -7.156e-03
+ 587:sd8             188.33  -6.155  6.678  9.625  0.168  0.155   5.818 12.615  5.324   1.568e-02  -7.156e-03
+ 588:sx3             188.33  -6.155  6.678  9.625  0.168  0.155   5.818 12.615  5.324   1.568e-02  -7.156e-03
+ 589:sd9             188.81  -8.928 13.863  9.633  0.242  0.155   4.502  7.699  5.332   1.227e-02  -7.156e-03
+ 590:qp5             188.97  -4.918 16.115  9.635  0.261  0.079   2.084  6.662  5.335   1.140e-02  -3.773e-03
+ 591:qp5             189.13   0.029 16.910  9.636  0.267 -0.002   0.075  6.322  5.339   1.106e-02  -5.825e-04
+ 592:sd12            189.60   0.001 16.896  9.641  0.266 -0.002   0.001  6.286  5.351   1.078e-02  -5.825e-04
+ 593:sx4             189.60   0.001 16.896  9.641  0.266 -0.002   0.001  6.286  5.351   1.078e-02  -5.825e-04
+ 594:sd10            190.07  -0.027 16.908  9.645  0.266 -0.002  -0.073  6.320  5.363   1.051e-02  -5.825e-04
+ 595:qp5             190.23   4.920 16.112  9.647  0.259 -0.081  -2.081  6.659  5.367   1.066e-02   2.539e-03
+ 596:qp5             190.39   8.928 13.860  9.648  0.240 -0.157  -4.499  7.696  5.370   1.133e-02   5.786e-03
+ 597:sd9             190.86   6.155  6.676  9.656  0.165 -0.157  -5.814 12.608  5.378   1.408e-02   5.786e-03
+ 598:sx3             190.86   6.155  6.676  9.656  0.165 -0.157  -5.814 12.608  5.378   1.408e-02   5.786e-03
+ 599:sd8             191.06   4.990  4.447  9.662  0.134 -0.157  -6.366 15.044  5.380   1.524e-02   5.786e-03
+ 600:qp4             191.22   3.381  3.123  9.669  0.111 -0.130  -3.071 16.572  5.382   1.589e-02   2.337e-03
+ 601:qp4             191.38   2.260  2.231  9.678  0.092 -0.107   0.657 16.963  5.383   1.598e-02  -1.202e-03
+ 602:sd7             191.82   1.057  0.772  9.733  0.044 -0.107   0.620 16.401  5.388   1.546e-02  -1.202e-03
+ 603:bend2           192.00   0.573  0.489  9.779  0.029 -0.074   0.902 16.082  5.389   1.519e-02  -1.486e-03
+ 604:bend3           192.17   0.100  0.370  9.846  0.018 -0.042   0.882 15.769  5.391   1.493e-02  -1.486e-03
+ 605:bend3           192.35  -0.372  0.418  9.919  0.014 -0.009   0.862 15.463  5.393   1.467e-02  -1.486e-03
+ 606:bend3           192.53  -0.844  0.632  9.974  0.015  0.024   0.842 15.164  5.395   1.441e-02  -1.486e-03
+ 607:bend3           192.70  -1.311  1.010 10.010  0.022  0.056   0.823 14.872  5.396   1.415e-02  -1.486e-03
+ 608:bend4           192.88  -1.802  1.551 10.032  0.035  0.089   1.071 14.587  5.398   1.389e-02  -1.741e-03
+ 609:sd7             193.32  -3.005  3.666 10.061  0.074  0.089   1.006 13.672  5.403   1.313e-02  -1.741e-03
+ 610:qp6             193.48  -4.293  4.823 10.067  0.090  0.104   3.326 12.973  5.405   1.266e-02  -4.073e-03
+ 611:qp6             193.64  -6.077  6.466 10.072  0.108  0.122   5.269 11.584  5.407   1.183e-02  -6.293e-03
+ 612:sd5             193.84  -7.251  9.132 10.076  0.132  0.122   4.773  9.576  5.410   1.057e-02  -6.293e-03
+ 613:sx5             193.84  -7.251  9.132 10.076  0.132  0.122   4.773  9.576  5.410   1.057e-02  -6.293e-03
+ 614:sd4             194.23  -9.538 15.679 10.081  0.180  0.122   3.804  6.231  5.418   8.115e-03  -6.293e-03
+ 615:qp7             194.46  -1.249 18.262 10.083  0.197  0.025   0.684  5.237  5.425   7.109e-03  -2.544e-03
+ 616:qp7             194.69   7.604 16.740 10.085  0.191 -0.075  -2.102  5.551  5.432   6.922e-03   8.996e-04
+ 617:sd3             194.89   6.901 13.839 10.088  0.176 -0.075  -2.297  6.431  5.437   7.102e-03   8.996e-04
+ 618:sx6             194.89   6.901 13.839 10.088  0.176 -0.075  -2.297  6.431  5.437   7.102e-03   8.996e-04
+ 619:sd2             195.28   5.531  8.991 10.093  0.147 -0.075  -2.677  8.370  5.445   7.452e-03   8.996e-04
+ 620:qp8             195.44   2.922  7.657 10.096  0.138 -0.036  -0.385  8.868  5.448   7.438e-03  -1.078e-03
+ 621:qp8             195.60   0.829  7.066 10.100  0.135  0.001   1.973  8.610  5.451   7.110e-03  -3.011e-03
+ 622:sd13            199.08   0.001  4.177 10.210  0.137  0.001  -0.003  1.750  5.627  -3.375e-03  -3.011e-03
+ 623:sd13            202.56  -0.827  7.055 10.320  0.140  0.001  -1.980  8.658  5.803  -1.386e-02  -3.011e-03
+ 624:qp8             202.72  -2.917  7.645 10.324  0.143  0.039   0.392  8.916  5.805  -1.404e-02   7.775e-04
+ 625:qp8             202.88  -5.523  8.976 10.327  0.152  0.079   2.696  8.414  5.808  -1.361e-02   4.531e-03
+ 626:sd2             203.27  -6.891 13.818 10.332  0.183  0.079   2.313  6.461  5.817  -1.185e-02   4.531e-03
+ 627:sx8             203.27  -6.891 13.818 10.332  0.183  0.079   2.313  6.461  5.817  -1.185e-02   4.531e-03
+ 628:sd3             203.47  -7.593 16.715 10.335  0.199  0.079   2.117  5.575  5.822  -1.094e-02   4.531e-03
+ 629:qp7             203.70   1.246 18.234 10.337  0.205 -0.025  -0.680  5.257  5.829  -1.055e-02  -1.087e-03
+ 630:qp7             203.93   9.523 15.656 10.339  0.188 -0.126  -3.810  6.251  5.835  -1.145e-02  -6.828e-03
+ 631:sd4             204.32   7.239  9.119 10.344  0.138 -0.126  -4.777  9.600  5.843  -1.411e-02  -6.828e-03
+ 632:sx7             204.32   7.239  9.119 10.344  0.138 -0.126  -4.777  9.600  5.843  -1.411e-02  -6.828e-03
+ 633:sd5             204.52   6.068  6.457 10.348  0.113 -0.126  -5.273 11.610  5.846  -1.548e-02  -6.828e-03
+ 634:qp6             204.68   4.286  4.816 10.353  0.095 -0.108  -3.325 12.999  5.849  -1.635e-02  -4.005e-03
+ 635:qp6             204.84   3.000  3.662 10.359  0.079 -0.092  -1.000 13.697  5.850  -1.675e-02  -1.062e-03
+ 636:sd7             205.28   1.799  1.550 10.388  0.038 -0.092  -1.065 14.606  5.855  -1.722e-02  -1.062e-03
+ 637:bend2           205.46   1.309  1.010 10.410  0.025 -0.059  -0.816 14.889  5.857  -1.735e-02  -7.457e-04
+ 638:bend3           205.63   0.843  0.632 10.446  0.017 -0.026  -0.835 15.178  5.859  -1.748e-02  -7.457e-04
+ 639:bend3           205.81   0.372  0.419 10.501  0.016  0.006  -0.855 15.475  5.861  -1.761e-02  -7.457e-04
+ 640:bend3           205.98  -0.100  0.371 10.574  0.020  0.039  -0.874 15.778  5.863  -1.774e-02  -7.457e-04
+ 641:bend3           206.16  -0.571  0.489 10.641  0.029  0.072  -0.894 16.088  5.864  -1.787e-02  -7.457e-04
+ 642:bend4           206.33  -1.054  0.772 10.687  0.045  0.105  -0.612 16.405  5.866  -1.800e-02  -4.149e-04
+ 643:sd7             206.77  -2.255  2.228 10.741  0.091  0.105  -0.649 16.960  5.870  -1.819e-02  -4.149e-04
+ 644:qp9             206.93  -3.522  3.139 10.751  0.110  0.132   3.846 16.441  5.872  -1.786e-02   4.464e-03
+ 645:qp9             207.09  -5.406  4.547 10.758  0.134  0.165   7.685 14.569  5.873  -1.677e-02   9.149e-03
+ 646:sd8             207.29  -6.735  6.975 10.763  0.166  0.165   6.861 11.660  5.876  -1.494e-02   9.149e-03
+ 647:sx9             207.29  -6.735  6.975 10.763  0.166  0.165   6.861 11.660  5.876  -1.494e-02   9.149e-03
+ 648:sd9             207.77  -9.901 14.900 10.771  0.245  0.165   4.897  6.059  5.885  -1.058e-02   9.149e-03
+ 649:qp10            207.93  -5.429 17.394 10.772  0.265  0.084   2.749  4.856  5.890  -9.387e-03   5.850e-03
+ 650:qp10            208.09   0.116 18.259 10.774  0.272 -0.000   1.162  4.240  5.895  -8.694e-03   2.837e-03
+ 651:sd8             208.29   0.105 18.215 10.776  0.272 -0.000   1.052  3.797  5.903  -8.127e-03   2.837e-03
+ 652:sx10            208.29   0.105 18.215 10.776  0.272 -0.000   1.052  3.797  5.903  -8.127e-03   2.837e-03
+ 653:sdac            210.19  -0.000 18.016 10.792  0.271 -0.000  -0.001  1.795  6.033  -2.723e-03   2.837e-03
+ 654:sdac            212.10  -0.105 18.217 10.809  0.271 -0.000  -1.053  3.803  6.162   2.680e-03   2.837e-03
+ 655:sx10            212.10  -0.105 18.217 10.809  0.271 -0.000  -1.053  3.803  6.162   2.680e-03   2.837e-03
+ 656:sd8             212.30  -0.116 18.261 10.811  0.271 -0.000  -1.164  4.246  6.170   3.248e-03   2.837e-03
+ 657:qp10            212.46   5.429 17.396 10.812  0.264 -0.085  -2.752  4.862  6.175   3.778e-03   3.816e-03
+ 658:qp10            212.62   9.901 14.902 10.814  0.244 -0.165  -4.902  6.067  6.180   4.479e-03   4.994e-03
+ 659:sd9             213.10   6.736  6.977 10.821  0.166 -0.165  -6.866 11.672  6.189   6.858e-03   4.994e-03
+ 660:sx9             213.10   6.736  6.977 10.821  0.166 -0.165  -6.866 11.672  6.189   6.858e-03   4.994e-03
+ 661:sd8             213.30   5.407  4.548 10.827  0.133 -0.165  -7.691 14.583  6.192   7.857e-03   4.994e-03
+ 662:qp9             213.46   3.522  3.140 10.833  0.109 -0.132  -3.847 16.457  6.193   8.475e-03   2.711e-03
+ 663:qp9             213.62   2.255  2.229 10.843  0.090 -0.105   0.652 16.975  6.195   8.719e-03   3.237e-04
+ 664:sd7             214.06   1.056  0.772 10.897  0.044 -0.105   0.615 16.418  6.199   8.861e-03   3.237e-04
+ 665:bend2           214.23   0.573  0.489 10.943  0.028 -0.072   0.897 16.100  6.201   8.890e-03   1.608e-04
+ 666:bend3           214.41   0.102  0.370 11.010  0.019 -0.039   0.878 15.788  6.202   8.918e-03   1.608e-04
+ 667:bend3           214.58  -0.370  0.418 11.084  0.015 -0.007   0.858 15.484  6.204   8.946e-03   1.608e-04
+ 668:bend3           214.76  -0.840  0.630 11.139  0.016  0.026   0.839 15.186  6.206   8.974e-03   1.608e-04
+ 669:bend3           214.93  -1.306  1.007 11.174  0.024  0.059   0.819 14.896  6.208   9.003e-03   1.608e-04
+ 670:bend4           215.11  -1.796  1.546 11.196  0.037  0.092   1.068 14.612  6.210   9.031e-03  -5.093e-06
+ 671:sd7             215.55  -2.995  3.654 11.226  0.077  0.092   1.004 13.700  6.215   9.028e-03  -5.093e-06
+ 672:qp6             215.71  -4.279  4.807 11.232  0.093  0.107   3.328 13.000  6.216   8.895e-03  -1.656e-03
+ 673:qp6             215.87  -6.058  6.445 11.237  0.112  0.125   5.276 11.610  6.218   8.501e-03  -3.268e-03
+ 674:sd5             216.07  -7.227  9.102 11.241  0.137  0.125   4.779  9.599  6.221   7.847e-03  -3.268e-03
+ 675:sx7             216.07  -7.227  9.102 11.241  0.137  0.125   4.779  9.599  6.221   7.847e-03  -3.268e-03
+ 676:sd4             216.46  -9.508 15.628 11.246  0.186  0.125   3.811  6.249  6.229   6.572e-03  -3.268e-03
+ 677:qp7             216.69  -1.244 18.203 11.248  0.203  0.025   0.681  5.255  6.236   6.178e-03  -1.998e-04
+ 678:qp7             216.92   7.580 16.686 11.250  0.197 -0.078  -2.116  5.572  6.243   6.478e-03   2.840e-03
+ 679:sd3             217.12   6.879 13.794 11.252  0.181 -0.078  -2.312  6.458  6.248   7.046e-03   2.840e-03
+ 680:sx8             217.12   6.879 13.794 11.252  0.181 -0.078  -2.312  6.458  6.248   7.046e-03   2.840e-03
+ 681:sd2             217.51   5.513  8.961 11.258  0.151 -0.078  -2.695  8.411  6.257   8.154e-03   2.840e-03
+ 682:qp8             217.67   2.912  7.632 11.261  0.142 -0.038  -0.391  8.912  6.259   8.429e-03   5.853e-04
+ 683:qp8             217.83   0.826  7.042 11.264  0.139  0.000   1.979  8.654  6.262   8.340e-03  -1.696e-03
+ 684:sd13            221.31  -0.001  4.171 11.375  0.139  0.000   0.004  1.747  6.437   2.434e-03  -1.696e-03
+ 685:sd13            224.79  -0.829  7.061 11.485  0.139  0.000  -1.971  8.598  6.614  -3.472e-03  -1.696e-03
+ 686:qp8             224.95  -2.920  7.652 11.488  0.142  0.038   0.384  8.856  6.617  -3.670e-03  -7.794e-04
+ 687:qp8             225.11  -5.528  8.985 11.492  0.151  0.078   2.673  8.360  6.620  -3.719e-03   1.682e-04
+ 688:sd2             225.50  -6.897 13.831 11.497  0.182  0.078   2.294  6.423  6.628  -3.654e-03   1.682e-04
+ 689:sx8             225.50  -6.897 13.831 11.497  0.182  0.078   2.294  6.423  6.628  -3.654e-03   1.682e-04
+ 690:sd3             225.70  -7.600 16.730 11.499  0.197  0.078   2.099  5.544  6.633  -3.620e-03   1.682e-04
+ 691:qp7             225.93   1.248 18.251 11.501  0.203 -0.025  -0.684  5.231  6.640  -3.795e-03  -1.701e-03
+ 692:qp7             226.16   9.533 15.670 11.503  0.186 -0.125  -3.801  6.224  6.647  -4.418e-03  -3.771e-03
+ 693:sd4             226.55   7.246  9.126 11.508  0.137 -0.125  -4.769  9.567  6.655  -5.888e-03  -3.771e-03
+ 694:sx7             226.55   7.246  9.126 11.508  0.137 -0.125  -4.769  9.567  6.655  -5.888e-03  -3.771e-03
+ 695:sd5             226.75   6.074  6.462 11.513  0.112 -0.125  -5.265 11.574  6.658  -6.643e-03  -3.771e-03
+ 696:qp6             226.91   4.290  4.819 11.517  0.093 -0.107  -3.324 12.961  6.660  -7.146e-03  -2.508e-03
+ 697:qp6             227.07   3.003  3.663 11.523  0.077 -0.092  -1.006 13.661  6.662  -7.442e-03  -1.178e-03
+ 698:sd7             227.51   1.801  1.550 11.553  0.037 -0.092  -1.071 14.575  6.667  -7.960e-03  -1.178e-03
+ 699:bend2           227.69   1.311  1.009 11.575  0.024 -0.059  -0.823 14.860  6.668  -8.141e-03  -1.032e-03
+ 700:bend3           227.86   0.843  0.631 11.610  0.016 -0.026  -0.843 15.152  6.670  -8.322e-03  -1.032e-03
+ 701:bend3           228.04   0.372  0.417 11.665  0.015  0.007  -0.862 15.451  6.672  -8.503e-03  -1.032e-03
+ 702:bend3           228.21  -0.100  0.370 11.739  0.019  0.039  -0.882 15.757  6.674  -8.684e-03  -1.032e-03
+ 703:bend3           228.39  -0.572  0.487 11.806  0.028  0.072  -0.902 16.070  6.676  -8.864e-03  -1.032e-03
+ 704:bend4           228.57  -1.056  0.771 11.852  0.044  0.105  -0.620 16.390  6.677  -9.045e-03  -8.654e-04
+ 705:sd7             229.01  -2.258  2.229 11.906  0.090  0.105  -0.657 16.952  6.682  -9.426e-03  -8.654e-04
+ 706:qp9             229.17  -3.526  3.141 11.916  0.109  0.132   3.836 16.436  6.683  -9.363e-03   1.657e-03
+ 707:qp9             229.33  -5.413  4.551 11.923  0.133  0.165   7.675 14.567  6.685  -8.900e-03   4.102e-03
+ 708:sd8             229.53  -6.744  6.983 11.928  0.166  0.165   6.853 11.661  6.687  -8.080e-03   4.102e-03
+ 709:sx9             229.53  -6.744  6.983 11.928  0.166  0.165   6.853 11.661  6.687  -8.080e-03   4.102e-03
+ 710:sd9             230.00  -9.914 14.917 11.936  0.244  0.165   4.894  6.066  6.696  -6.126e-03   4.102e-03
+ 711:qp10            230.16  -5.437 17.415 11.937  0.264  0.084   2.745  4.863  6.701  -5.623e-03   2.205e-03
+ 712:qp10            230.32   0.114 18.281 11.939  0.271  0.000   1.157  4.249  6.706  -5.415e-03   4.161e-04
+ 713:sd8             230.52   0.103 18.238 11.940  0.271  0.000   1.048  3.808  6.714  -5.331e-03   4.161e-04
+ 714:sx10            230.52   0.103 18.238 11.940  0.271  0.000   1.048  3.808  6.714  -5.331e-03   4.161e-04
+ 715:sdac            232.43  -0.001 18.043 11.957  0.271  0.000   0.003  1.807  6.843  -4.539e-03   4.161e-04
+ 716:sdac            234.33  -0.106 18.247 11.974  0.272  0.000  -1.042  3.787  6.972  -3.746e-03   4.161e-04
+ 717:sx10            234.33  -0.106 18.247 11.974  0.272  0.000  -1.042  3.787  6.972  -3.746e-03   4.161e-04
+ 718:sd8             234.53  -0.117 18.292 11.975  0.272  0.000  -1.152  4.225  6.980  -3.663e-03   4.161e-04
+ 719:qp10            234.69   5.437 17.426 11.977  0.265 -0.084  -2.731  4.837  6.986  -3.686e-03  -7.088e-04
+ 720:qp10            234.85   9.918 14.927 11.978  0.245 -0.165  -4.869  6.033  6.990  -3.892e-03  -1.871e-03
+ 721:sd9             235.33   6.747  6.989 11.986  0.166 -0.165  -6.819 11.600  6.999  -4.783e-03  -1.871e-03
+ 722:sx9             235.33   6.747  6.989 11.986  0.166 -0.165  -6.819 11.600  6.999  -4.783e-03  -1.871e-03
+ 723:sd8             235.53   5.416  4.556 11.991  0.133 -0.165  -7.637 14.491  7.002  -5.157e-03  -1.871e-03
+ 724:qp9             235.69   3.528  3.145 11.998  0.110 -0.132  -3.819 16.351  7.003  -5.344e-03  -4.598e-04
+ 725:qp9             235.85   2.260  2.232 12.008  0.091 -0.105   0.651 16.865  7.005  -5.303e-03   9.731e-04
+ 726:sd7             236.29   1.058  0.773 12.062  0.045 -0.105   0.614 16.308  7.009  -4.875e-03   9.731e-04
+ 727:bend2           236.46   0.574  0.489 12.108  0.029 -0.072   0.894 15.991  7.011  -4.688e-03   1.063e-03
+ 728:bend3           236.64   0.102  0.370 12.175  0.020 -0.039   0.875 15.681  7.013  -4.502e-03   1.063e-03
+ 729:bend3           236.81  -0.370  0.417 12.248  0.016 -0.006   0.855 15.377  7.014  -4.316e-03   1.063e-03
+ 730:bend3           236.99  -0.841  0.630 12.304  0.017  0.026   0.835 15.081  7.016  -4.129e-03   1.063e-03
+ 731:bend3           237.16  -1.308  1.007 12.339  0.025  0.059   0.816 14.791  7.018  -3.943e-03   1.063e-03
+ 732:bend4           237.34  -1.798  1.547 12.361  0.038  0.092   1.063 14.508  7.020  -3.756e-03   1.132e-03
+ 733:sd7             237.78  -3.000  3.658 12.391  0.079  0.092   0.998 13.601  7.025  -3.258e-03   1.132e-03
+ 734:qp6             237.94  -4.286  4.812 12.397  0.094  0.108   3.306 12.906  7.027  -3.031e-03   1.699e-03
+ 735:qp6             238.10  -6.067  6.453 12.401  0.113  0.126   5.239 11.526  7.029  -2.717e-03   2.219e-03
+ 736:sd5             238.30  -7.238  9.114 12.406  0.138  0.126   4.746  9.529  7.032  -2.274e-03   2.219e-03
+ 737:sx7             238.30  -7.238  9.114 12.406  0.138  0.126   4.746  9.529  7.032  -2.274e-03   2.219e-03
+ 738:sd4             238.69  -9.523 15.651 12.411  0.187  0.126   3.783  6.202  7.040  -1.408e-03   2.219e-03
+ 739:qp7             238.92  -1.248 18.230 12.413  0.205  0.025   0.677  5.215  7.047  -9.565e-04   1.751e-03
+ 740:qp7             239.15   7.590 16.711 12.415  0.199 -0.079  -2.099  5.529  7.053  -5.869e-04   1.494e-03
+ 741:sd3             239.35   6.889 13.815 12.417  0.183 -0.079  -2.294  6.408  7.059  -2.881e-04   1.494e-03
+ 742:sx8             239.35   6.889 13.815 12.417  0.183 -0.079  -2.294  6.408  7.059  -2.881e-04   1.494e-03
+ 743:sd2             239.74   5.521  8.975 12.422  0.152 -0.079  -2.674  8.346  7.067   2.945e-04   1.494e-03
+ 744:qp8             239.90   2.916  7.645 12.426  0.143 -0.039  -0.389  8.843  7.070   5.296e-04   1.434e-03
+ 745:qp8             240.06   0.827  7.054 12.429  0.140 -0.001   1.963  8.588  7.073   7.501e-04   1.311e-03
+ 746:sd13            243.54   0.001  4.172 12.539  0.137 -0.001  -0.001  1.754  7.249   5.314e-03   1.311e-03
+ 747:sd13            247.03  -0.825  7.040 12.650  0.135 -0.001  -1.965  8.599  7.424   9.878e-03   1.311e-03
+ 748:qp8             247.19  -2.910  7.629 12.653  0.138  0.036   0.391  8.854  7.427   9.867e-03  -1.456e-03
+ 749:qp8             247.34  -5.510  8.957 12.656  0.147  0.075   2.679  8.356  7.430   9.416e-03  -4.162e-03
+ 750:sd2             247.74  -6.874 13.787 12.662  0.176  0.075   2.298  6.415  7.438   7.793e-03  -4.162e-03
+ 751:sx6             247.74  -6.874 13.787 12.662  0.176  0.075   2.298  6.415  7.438   7.793e-03  -4.162e-03
+ 752:sd3             247.94  -7.574 16.676 12.664  0.191  0.075   2.102  5.535  7.443   6.960e-03  -4.162e-03
+ 753:qp7             248.16   1.245 18.192 12.666  0.197 -0.025  -0.676  5.220  7.450   6.385e-03  -8.862e-04
+ 754:qp7             248.40   9.502 15.619 12.668  0.180 -0.122  -3.785  6.207  7.457   6.545e-03   2.287e-03
+ 755:sd4             248.78   7.223  9.096 12.673  0.132 -0.122  -4.748  9.535  7.465   7.437e-03   2.287e-03
+ 756:sx5             248.78   7.223  9.096 12.673  0.132 -0.122  -4.748  9.535  7.465   7.437e-03   2.287e-03
+ 757:sd5             248.99   6.054  6.440 12.677  0.108 -0.122  -5.241 11.533  7.468   7.894e-03   2.287e-03
+ 758:qp6             249.15   4.276  4.803 12.682  0.090 -0.104  -3.307 12.914  7.470   8.148e-03   8.713e-04
+ 759:qp6             249.31   2.993  3.651 12.688  0.074 -0.090  -0.997 13.609  7.472   8.171e-03  -5.734e-04
+ 760:sd7             249.75   1.794  1.545 12.718  0.035 -0.090  -1.062 14.515  7.477   7.919e-03  -5.734e-04
+ 761:bend2           249.92   1.305  1.006 12.740  0.022 -0.056  -0.815 14.797  7.479   7.793e-03  -7.189e-04
+ 762:bend3           250.10   0.839  0.630 12.775  0.015 -0.024  -0.834 15.087  7.481   7.667e-03  -7.189e-04
+ 763:bend3           250.27   0.369  0.418 12.830  0.014  0.009  -0.854 15.383  7.482   7.541e-03  -7.189e-04
+ 764:bend3           250.45  -0.102  0.371 12.904  0.018  0.042  -0.873 15.686  7.484   7.415e-03  -7.189e-04
+ 765:bend3           250.62  -0.573  0.489 12.971  0.029  0.074  -0.893 15.995  7.486   7.289e-03  -7.189e-04
+ 766:bend4           250.80  -1.056  0.773 13.017  0.044  0.107  -0.613 16.312  7.488   7.163e-03  -8.505e-04
+ 767:sd7             251.24  -2.255  2.229 13.071  0.092  0.107  -0.650 16.868  7.492   6.788e-03  -8.505e-04
+ 768:qp4             251.40  -3.373  3.119 13.080  0.111  0.130   3.057 16.478  7.493   6.534e-03  -2.320e-03
+ 769:qp4             251.56  -4.979  4.440 13.087  0.133  0.157   6.332 14.958  7.495   6.051e-03  -3.702e-03
+ 770:sd8             251.76  -6.141  6.664 13.093  0.165  0.157   5.783 12.535  7.497   5.310e-03  -3.702e-03
+ 771:sx3             251.76  -6.141  6.664 13.093  0.165  0.157   5.783 12.535  7.497   5.310e-03  -3.702e-03
+ 772:sd9             252.23  -8.907 13.832 13.101  0.240  0.157   4.474  7.649  7.505   3.546e-03  -3.702e-03
+ 773:qp5             252.39  -4.906 16.078 13.103  0.259  0.081   2.071  6.618  7.509   3.046e-03  -2.572e-03
+ 774:qp5             252.55   0.030 16.871 13.104  0.266  0.002   0.074  6.280  7.513   2.717e-03  -1.560e-03
+ 775:sd10            253.02   0.003 16.855 13.109  0.266  0.002  -0.000  6.246  7.524   1.984e-03  -1.560e-03
+ 776:sx4             253.02   0.003 16.855 13.109  0.266  0.002  -0.000  6.246  7.524   1.984e-03  -1.560e-03
+ 777:sd12            253.49  -0.025 16.866 13.113  0.267  0.002  -0.075  6.281  7.536   1.250e-03  -1.560e-03
+ 778:qp5             253.65   4.908 16.072 13.115  0.261 -0.079  -2.071  6.619  7.540   1.019e-03  -1.343e-03
+ 779:qp5             253.81   8.906 13.825 13.116  0.242 -0.155  -4.474  7.650  7.544   8.171e-04  -1.186e-03
+ 780:sd9             254.29   6.139  6.658 13.124  0.168 -0.155  -5.783 12.536  7.552   2.524e-04  -1.186e-03
+ 781:sx3             254.29   6.139  6.658 13.124  0.168 -0.155  -5.783 12.536  7.552   2.524e-04  -1.186e-03
+ 782:sd8             254.49   4.977  4.435 13.130  0.137 -0.155  -6.332 14.959  7.554   1.523e-05  -1.186e-03
+ 783:qp4             254.65   3.372  3.115 13.137  0.115 -0.127  -3.057 16.479  7.556  -1.677e-04  -1.096e-03
+ 784:qp4             254.81   2.254  2.225 13.146  0.097 -0.103   0.650 16.869  7.557  -3.342e-04  -9.799e-04
+ 785:sd7             255.25   1.053  0.770 13.201  0.051 -0.103   0.613 16.313  7.561  -7.653e-04  -9.799e-04
+ 786:bend2           255.43   0.570  0.488 13.247  0.036 -0.070   0.893 15.997  7.563  -9.347e-04  -9.658e-04
+ 787:bend3           255.60   0.098  0.370 13.314  0.027 -0.037   0.873 15.687  7.565  -1.104e-03  -9.658e-04
+ 788:bend3           255.78  -0.374  0.419 13.387  0.023 -0.005   0.854 15.384  7.567  -1.274e-03  -9.658e-04
+ 789:bend3           255.95  -0.844  0.633 13.442  0.025  0.028   0.834 15.088  7.568  -1.443e-03  -9.658e-04
+ 790:bend3           256.13  -1.311  1.011 13.478  0.032  0.060   0.815 14.798  7.570  -1.612e-03  -9.658e-04
+ 791:bend4           256.30  -1.801  1.552 13.500  0.046  0.094   1.062 14.516  7.572  -1.782e-03  -9.331e-04
+ 792:sd6             257.09  -3.957  6.101 13.541  0.120  0.094   0.946 12.930  7.581  -2.519e-03  -9.331e-04
+ 793:sx2             257.09  -3.957  6.101 13.541  0.120  0.094   0.946 12.930  7.581  -2.519e-03  -9.331e-04
+ 794:sd5             257.29  -4.503  7.793 13.546  0.139  0.094   0.917 12.557  7.584  -2.706e-03  -9.331e-04
+ 795:qp3             257.45  -6.017  9.466 13.549  0.155  0.110   2.284 12.042  7.586  -2.831e-03  -6.340e-04
+ 796:qp3             257.61  -7.976 11.692 13.551  0.174  0.129   3.484 11.113  7.588  -2.908e-03  -3.256e-04
+ 797:sd14            258.20 -11.236 23.026 13.557  0.250  0.129   2.787  7.413  7.598  -3.100e-03  -3.256e-04
+ 798:qp2             258.43  -1.931 26.149 13.558  0.268  0.026  -0.079  6.808  7.604  -3.320e-03  -1.598e-03
+ 799:qp2             258.66   8.051 24.698 13.560  0.262 -0.079  -2.974  7.490  7.609  -3.846e-03  -3.017e-03
+ 800:sd3             258.86   7.518 21.584 13.561  0.246 -0.079  -3.236  8.732  7.613  -4.450e-03  -3.017e-03
+ 801:sx1             258.86   7.518 21.584 13.561  0.246 -0.079  -3.236  8.732  7.613  -4.450e-03  -3.017e-03
+ 802:sd2             259.25   6.479 16.125 13.564  0.216 -0.079  -3.748 11.456  7.619  -5.627e-03  -3.017e-03
+ 803:qp1             259.41   3.319 14.573 13.566  0.206 -0.039  -1.599 12.320  7.621  -6.027e-03  -1.970e-03
+ 804:qp1             259.57   0.566 13.957 13.568  0.203 -0.000   0.743 12.459  7.623  -6.254e-03  -8.606e-04
+ 805:sd1             265.57   0.002 10.546 13.650  0.203 -0.000  -0.001  8.005  7.725  -1.142e-02  -8.606e-04
+ 806:sd1             271.57  -0.562 13.909 13.732  0.202 -0.000  -0.744 12.475  7.827  -1.658e-02  -8.606e-04
+ 807:qp1             271.73  -3.305 14.521 13.734  0.205  0.039   1.601 12.336  7.829  -1.647e-02   2.231e-03
+ 808:qp1             271.89  -6.454 16.067 13.735  0.215  0.078   3.753 11.471  7.831  -1.587e-02   5.254e-03
+ 809:sd2             272.28  -7.489 21.505 13.739  0.245  0.078   3.240  8.743  7.837  -1.382e-02   5.254e-03
+ 810:sx1             272.28  -7.489 21.505 13.739  0.245  0.078   3.240  8.743  7.837  -1.382e-02   5.254e-03
+ 811:sd3             272.48  -8.020 24.607 13.740  0.261  0.078   2.978  7.500  7.841  -1.277e-02   5.254e-03
+ 812:qp2             272.71   1.926 26.052 13.741  0.267 -0.026   0.079  6.817  7.847  -1.210e-02   5.956e-04
+ 813:qp2             272.94  11.195 22.940 13.743  0.249 -0.129  -2.789  7.422  7.852  -1.249e-02  -4.013e-03
+ 814:sd14            273.53   7.946 11.647 13.749  0.173 -0.129  -3.487 11.125  7.862  -1.486e-02  -4.013e-03
+ 815:qp3             273.69   5.995  9.430 13.751  0.154 -0.110  -2.285 12.054  7.864  -1.537e-02  -2.287e-03
+ 816:qp3             273.85   4.486  7.764 13.754  0.138 -0.093  -0.917 12.570  7.866  -1.559e-02  -5.188e-04
+ 817:sd5             274.05   3.942  6.078 13.759  0.119 -0.093  -0.946 12.942  7.869  -1.569e-02  -5.188e-04
+ 818:sx2             274.05   3.942  6.078 13.759  0.119 -0.093  -0.946 12.942  7.869  -1.569e-02  -5.188e-04
+ 819:sd6             274.84   1.793  1.547 13.800  0.045 -0.093  -1.061 14.528  7.878  -1.610e-02  -5.188e-04
+ 820:bend2           275.02   1.305  1.009 13.822  0.032 -0.060  -0.814 14.810  7.880  -1.614e-02  -2.229e-04
+ 821:bend3           275.19   0.840  0.632 13.857  0.024 -0.027  -0.833 15.099  7.882  -1.618e-02  -2.229e-04
+ 822:bend3           275.37   0.371  0.420 13.913  0.022  0.005  -0.853 15.394  7.884  -1.622e-02  -2.229e-04
+ 823:bend3           275.54  -0.100  0.373 13.985  0.026  0.038  -0.873 15.697  7.885  -1.626e-02  -2.229e-04
+ 824:bend3           275.72  -0.570  0.490 14.053  0.036  0.070  -0.892 16.007  7.887  -1.630e-02  -2.229e-04
+ 825:bend4           275.89  -1.052  0.772 14.098  0.051  0.104  -0.612 16.323  7.889  -1.634e-02   7.734e-05
+ 826:sd7             276.33  -2.249  2.224 14.153  0.097  0.104  -0.649 16.878  7.893  -1.630e-02   7.734e-05
+ 827:qp4             276.49  -3.365  3.112 14.162  0.115  0.127   3.060 16.487  7.895  -1.600e-02   3.702e-03
+ 828:qp4             276.65  -4.967  4.429 14.169  0.137  0.155   6.337 14.966  7.896  -1.513e-02   7.197e-03
+ 829:sd8             276.85  -6.126  6.648 14.175  0.169  0.155   5.787 12.541  7.898  -1.369e-02   7.197e-03
+ 830:sx3             276.85  -6.126  6.648 14.175  0.169  0.155   5.787 12.541  7.898  -1.369e-02   7.197e-03
+ 831:sd9             277.33  -8.887 13.799 14.183  0.242  0.155   4.477  7.652  7.906  -1.026e-02   7.197e-03
+ 832:qp5             277.49  -4.895 16.041 14.185  0.261  0.079   2.073  6.620  7.910  -9.355e-03   4.139e-03
+ 833:qp5             277.65   0.029 16.832 14.186  0.267 -0.002   0.076  6.282  7.914  -8.924e-03   1.278e-03
+ 834:sd12            278.12   0.001 16.818 14.191  0.267 -0.002   0.001  6.246  7.926  -8.323e-03   1.278e-03
+ 835:sx4             278.12   0.001 16.818 14.191  0.267 -0.002   0.001  6.246  7.926  -8.323e-03   1.278e-03
+ 836:sd10            278.59  -0.027 16.830 14.195  0.266 -0.002  -0.074  6.280  7.938  -7.723e-03   1.278e-03
+ 837:qp5             278.75   4.896 16.038 14.197  0.259 -0.081  -2.069  6.617  7.942  -7.697e-03  -9.532e-04
+ 838:qp5             278.91   8.887 13.797 14.198  0.240 -0.157  -4.472  7.647  7.945  -8.030e-03  -3.235e-03
+ 839:sd9             279.39   6.126  6.646 14.206  0.165 -0.157  -5.780 12.531  7.953  -9.571e-03  -3.235e-03
+ 840:sx3             279.39   6.126  6.646 14.206  0.165 -0.157  -5.780 12.531  7.953  -9.571e-03  -3.235e-03
+ 841:sd8             279.59   4.967  4.427 14.212  0.134 -0.157  -6.329 14.952  7.955  -1.022e-02  -3.235e-03
+ 842:qp4             279.75   3.364  3.110 14.219  0.111 -0.130  -3.055 16.472  7.957  -1.056e-02  -9.693e-04
+ 843:qp4             279.91   2.248  2.223 14.229  0.092 -0.107   0.650 16.861  7.958  -1.053e-02   1.341e-03
+ 844:sd7             280.35   1.050  0.771 14.283  0.045 -0.107   0.613 16.305  7.963  -9.936e-03   1.341e-03
+ 845:bend2           280.52   0.568  0.489 14.329  0.029 -0.074   0.893 15.988  7.964  -9.669e-03   1.523e-03
+ 846:bend3           280.70   0.098  0.373 14.396  0.019 -0.042   0.874 15.678  7.966  -9.402e-03   1.523e-03
+ 847:bend3           280.87  -0.373  0.421 14.469  0.014 -0.009   0.854 15.375  7.968  -9.135e-03   1.523e-03
+ 848:bend3           281.05  -0.842  0.634 14.524  0.016  0.024   0.834 15.079  7.970  -8.867e-03   1.523e-03
+ 849:bend3           281.22  -1.308  1.011 14.559  0.023  0.056   0.815 14.790  7.972  -8.600e-03   1.523e-03
+ 850:bend4           281.40  -1.796  1.551 14.582  0.035  0.090   1.061 14.508  7.973  -8.333e-03   1.676e-03
+ 851:sd7             281.84  -2.994  3.659 14.611  0.075  0.090   0.997 13.602  7.978  -7.595e-03   1.676e-03
+ 852:qp6             282.00  -4.279  4.811 14.617  0.090  0.104   3.305 12.907  7.980  -7.223e-03   2.969e-03
+ 853:qp6             282.16  -6.058  6.450 14.622  0.108  0.122   5.239 11.527  7.982  -6.650e-03   4.168e-03
+ 854:sd5             282.36  -7.227  9.107 14.626  0.133  0.122   4.745  9.530  7.985  -5.817e-03   4.168e-03
+ 855:sx5             282.36  -7.227  9.107 14.626  0.133  0.122   4.745  9.530  7.985  -5.817e-03   4.168e-03
+ 856:sd4             282.75  -9.506 15.632 14.631  0.180  0.122   3.783  6.204  7.993  -4.191e-03   4.168e-03
+ 857:qp7             282.98  -1.242 18.206 14.633  0.197  0.025   0.677  5.217  8.000  -3.481e-03   2.065e-03
+ 858:qp7             283.21   7.583 16.688 14.635  0.191 -0.075  -2.100  5.532  8.007  -3.223e-03   2.011e-04
+ 859:sd3             283.41   6.882 13.795 14.637  0.176 -0.075  -2.295  6.411  8.012  -3.183e-03   2.011e-04
+ 860:sx6             283.41   6.882 13.795 14.637  0.176 -0.075  -2.295  6.411  8.012  -3.183e-03   2.011e-04
+ 861:sd2             283.80   5.515  8.960 14.643  0.147 -0.075  -2.676  8.350  8.021  -3.104e-03   2.011e-04
+ 862:qp8             283.96   2.913  7.631 14.646  0.138 -0.037  -0.389  8.847  8.024  -3.011e-03   9.635e-04
+ 863:qp8             284.12   0.827  7.041 14.649  0.135  0.000   1.964  8.592  8.027  -2.798e-03   1.687e-03
+ 864:sd13            287.60  -0.002  4.165 14.760  0.137  0.000  -0.001  1.756  8.202   3.077e-03   1.687e-03
+ 865:sd13            291.09  -0.830  7.062 14.870  0.139  0.000  -1.967  8.611  8.377   8.953e-03   1.687e-03
+ 866:qp8             291.25  -2.922  7.654 14.874  0.142  0.039   0.392  8.867  8.380   9.032e-03  -6.974e-04
+ 867:qp8             291.41  -5.530  8.987 14.877  0.151  0.078   2.683  8.368  8.383   8.731e-03  -3.048e-03
+ 868:sd2             291.80  -6.901 13.835 14.883  0.181  0.078   2.301  6.424  8.392   7.542e-03  -3.048e-03
+ 869:sx8             291.80  -6.901 13.835 14.883  0.181  0.078   2.301  6.424  8.392   7.542e-03  -3.048e-03
+ 870:sd3             292.00  -7.603 16.736 14.885  0.197  0.078   2.106  5.543  8.397   6.933e-03  -3.048e-03
+ 871:qp7             292.23   1.247 18.258 14.887  0.203 -0.025  -0.676  5.226  8.404   6.614e-03   2.481e-04
+ 872:qp7             292.46   9.534 15.676 14.889  0.186 -0.125  -3.788  6.215  8.410   7.049e-03   3.577e-03
+ 873:sd4             292.85   7.248  9.131 14.894  0.137 -0.125  -4.751  9.545  8.418   8.444e-03   3.577e-03
+ 874:sx7             292.85   7.248  9.131 14.894  0.137 -0.125  -4.751  9.545  8.418   8.444e-03   3.577e-03
+ 875:sd5             293.05   6.076  6.467 14.898  0.112 -0.125  -5.244 11.544  8.421   9.160e-03   3.577e-03
+ 876:qp6             293.21   4.292  4.823 14.903  0.094 -0.107  -3.308 12.926  8.423   9.601e-03   1.923e-03
+ 877:qp6             293.37   3.004  3.667 14.909  0.078 -0.091  -0.997 13.621  8.425   9.772e-03   2.088e-04
+ 878:sd7             293.81   1.802  1.552 14.938  0.038 -0.091  -1.061 14.527  8.430   9.864e-03   2.088e-04
+ 879:bend2           293.98   1.312  1.011 14.960  0.024 -0.058  -0.814 14.808  8.432   9.869e-03   2.753e-05
+ 880:bend3           294.16   0.845  0.632 14.995  0.017 -0.026  -0.833 15.097  8.434   9.874e-03   2.753e-05
+ 881:bend3           294.33   0.374  0.418 15.051  0.015  0.007  -0.853 15.393  8.436   9.878e-03   2.753e-05
+ 882:bend3           294.51  -0.098  0.370 15.124  0.020  0.040  -0.872 15.696  8.438   9.883e-03   2.753e-05
+ 883:bend3           294.68  -0.570  0.487 15.191  0.029  0.072  -0.892 16.005  8.439   9.888e-03   2.753e-05
+ 884:bend4           294.86  -1.054  0.770 15.237  0.045  0.106  -0.612 16.321  8.441   9.893e-03  -1.543e-04
+ 885:sd7             295.30  -2.256  2.226 15.292  0.091  0.106  -0.648 16.876  8.445   9.825e-03  -1.543e-04
+ 886:qp9             295.46  -3.523  3.138 15.301  0.110  0.133   3.824 16.360  8.447   9.592e-03  -2.750e-03
+ 887:qp9             295.62  -5.408  4.546 15.308  0.134  0.166   7.645 14.498  8.448   8.952e-03  -5.219e-03
+ 888:sd8             295.82  -6.738  6.976 15.314  0.167  0.166   6.825 11.604  8.451   7.908e-03  -5.219e-03
+ 889:sx9             295.82  -6.738  6.976 15.314  0.167  0.166   6.825 11.604  8.451   7.908e-03  -5.219e-03
+ 890:sd9             296.29  -9.907 14.904 15.321  0.246  0.166   4.872  6.032  8.460   5.422e-03  -5.219e-03
+ 891:qp10            296.45  -5.434 17.401 15.323  0.266  0.085   2.734  4.835  8.465   4.715e-03  -3.651e-03
+ 892:qp10            296.61   0.113 18.267 15.324  0.273 -0.000   1.155  4.224  8.470   4.244e-03  -2.268e-03
+ 893:sd8             296.81   0.102 18.224 15.326  0.273 -0.000   1.044  3.784  8.478   3.790e-03  -2.268e-03
+ 894:sx10            296.81   0.102 18.224 15.326  0.273 -0.000   1.044  3.784  8.478   3.790e-03  -2.268e-03
+ 895:sdac            298.72  -0.003 18.036 15.343  0.273 -0.000  -0.004  1.802  8.608  -5.290e-04  -2.268e-03
+ 896:sdac            300.62  -0.108 18.247 15.359  0.272 -0.000  -1.052  3.814  8.736  -4.848e-03  -2.268e-03
+ 897:sx10            300.62  -0.108 18.247 15.359  0.272 -0.000  -1.052  3.814  8.736  -4.848e-03  -2.268e-03
+ 898:sd8             300.82  -0.119 18.293 15.361  0.272 -0.000  -1.162  4.257  8.744  -5.302e-03  -2.268e-03
+ 899:qp10            300.98   5.436 17.427 15.362  0.266 -0.085  -2.754  4.873  8.750  -5.804e-03  -4.039e-03
+ 900:qp10            301.14   9.917 14.929 15.364  0.245 -0.165  -4.907  6.079  8.755  -6.605e-03  -6.012e-03
+ 901:sd9             301.62   6.747  6.991 15.371  0.167 -0.165  -6.872 11.690  8.764  -9.468e-03  -6.012e-03
+ 902:sx9             301.62   6.747  6.991 15.371  0.167 -0.165  -6.872 11.690  8.764  -9.468e-03  -6.012e-03
+ 903:sd8             301.82   5.417  4.558 15.377  0.134 -0.165  -7.697 14.604  8.766  -1.067e-02  -6.012e-03
+ 904:qp9             301.98   3.528  3.147 15.384  0.110 -0.133  -3.848 16.478  8.768  -1.140e-02  -3.093e-03
+ 905:qp9             302.14   2.259  2.234 15.393  0.091 -0.106   0.657 16.996  8.769  -1.165e-02  -2.859e-05
+ 906:sd7             302.58   1.059  0.775 15.447  0.044 -0.106   0.620 16.434  8.773  -1.167e-02  -2.859e-05
+ 907:bend2           302.76   0.576  0.490 15.493  0.029 -0.072   0.903 16.114  8.775  -1.163e-02   1.858e-04
+ 908:bend3           302.93   0.104  0.371 15.560  0.019 -0.040   0.883 15.801  8.777  -1.160e-02   1.858e-04
+ 909:bend3           303.11  -0.367  0.417 15.633  0.015 -0.007   0.863 15.494  8.778  -1.157e-02   1.858e-04
+ 910:bend3           303.28  -0.838  0.628 15.689  0.016  0.025   0.844 15.195  8.780  -1.154e-02   1.858e-04
+ 911:bend3           303.46  -1.304  1.004 15.724  0.024  0.058   0.824 14.902  8.782  -1.150e-02   1.858e-04
+ 912:bend4           303.63  -1.794  1.543 15.747  0.037  0.091   1.073 14.617  8.784  -1.147e-02   3.965e-04
+ 913:sd7             304.07  -2.994  3.650 15.776  0.077  0.091   1.008 13.701  8.789  -1.130e-02   3.965e-04
+ 914:qp6             304.23  -4.278  4.802 15.782  0.093  0.106   3.333 13.000  8.791  -1.107e-02   2.425e-03
+ 915:qp6             304.39  -6.056  6.440 15.787  0.111  0.125   5.280 11.608  8.793  -1.052e-02   4.389e-03
+ 916:sd5             304.59  -7.226  9.096 15.791  0.136  0.125   4.783  9.596  8.796  -9.645e-03   4.389e-03
+ 917:sx7             304.59  -7.226  9.096 15.791  0.136  0.125   4.783  9.596  8.796  -9.645e-03   4.389e-03
+ 918:sd4             304.98  -9.507 15.622 15.796  0.185  0.125   3.813  6.243  8.804  -7.933e-03   4.389e-03
+ 919:qp7             305.21  -1.247 18.196 15.798  0.202  0.025   0.686  5.247  8.810  -7.383e-03   4.405e-04
+ 920:qp7             305.44   7.574 16.682 15.800  0.196 -0.077  -2.106  5.562  8.817  -7.727e-03  -3.459e-03
+ 921:sd3             305.64   6.875 13.792 15.802  0.180 -0.077  -2.301  6.443  8.823  -8.418e-03  -3.459e-03
+ 922:sx8             305.64   6.875 13.792 15.802  0.180 -0.077  -2.301  6.443  8.823  -8.418e-03  -3.459e-03
+ 923:sd2             306.03   5.510  8.962 15.808  0.150 -0.077  -2.682  8.387  8.831  -9.767e-03  -3.459e-03
+ 924:qp8             306.19   2.909  7.634 15.811  0.141 -0.038  -0.385  8.885  8.834  -1.010e-02  -7.402e-04
+ 925:qp8             306.35   0.823  7.045 15.815  0.138 -0.000   1.978  8.626  8.837  -1.000e-02   2.010e-03
+ 926:sd13            309.83  -0.002  4.187 15.925  0.138 -0.000  -0.002  1.744  9.013  -3.002e-03   2.010e-03
+ 927:sd13            313.32  -0.826  7.071 16.035  0.138 -0.000  -1.982  8.651  9.188   3.999e-03   2.010e-03
+ 928:qp8             313.48  -2.921  7.662 16.038  0.141  0.038   0.388  8.910  9.191   4.232e-03   8.922e-04
+ 929:qp8             313.64  -5.531  8.995 16.041  0.150  0.077   2.692  8.410  9.194   4.282e-03  -2.643e-04
+ 930:sd2             314.03  -6.901 13.844 16.047  0.180  0.077   2.310  6.459  9.203   4.179e-03  -2.643e-04
+ 931:sx8             314.03  -6.901 13.844 16.047  0.180  0.077   2.310  6.459  9.203   4.179e-03  -2.643e-04
+ 932:sd3             314.23  -7.603 16.745 16.049  0.196  0.077   2.114  5.574  9.208   4.127e-03  -2.643e-04
+ 933:qp7             314.46   1.252 18.265 16.051  0.202 -0.025  -0.684  5.258  9.215   4.313e-03   1.905e-03
+ 934:qp7             314.69   9.542 15.681 16.053  0.184 -0.124  -3.815  6.254  9.221   5.020e-03   4.298e-03
+ 935:sd4             315.08   7.253  9.131 16.058  0.136 -0.124  -4.785  9.608  9.229   6.696e-03   4.298e-03
+ 936:sx7             315.08   7.253  9.131 16.058  0.136 -0.124  -4.785  9.608  9.229   6.696e-03   4.298e-03
+ 937:sd5             315.28   6.079  6.464 16.062  0.111 -0.124  -5.282 11.622  9.232   7.556e-03   4.298e-03
+ 938:qp6             315.44   4.294  4.820 16.067  0.093 -0.106  -3.333 13.013  9.234   8.130e-03   2.862e-03
+ 939:qp6             315.60   3.006  3.663 16.073  0.077 -0.091  -1.006 13.714  9.236   8.467e-03   1.348e-03
+ 940:sd7             316.04   1.802  1.548 16.102  0.037 -0.091  -1.070 14.627  9.241   9.061e-03   1.348e-03
+ 941:bend2           316.21   1.311  1.007 16.125  0.024 -0.058  -0.821 14.912  9.243   9.268e-03   1.182e-03
+ 942:bend3           316.39   0.842  0.629 16.160  0.016 -0.025  -0.840 15.203  9.245   9.475e-03   1.182e-03
+ 943:bend3           316.56   0.370  0.416 16.215  0.015  0.007  -0.860 15.501  9.247   9.682e-03   1.182e-03
+ 944:bend3           316.74  -0.103  0.369 16.289  0.019  0.040  -0.880 15.807  9.248   9.890e-03   1.182e-03
+ 945:bend3           316.91  -0.576  0.488 16.356  0.029  0.072  -0.899 16.119  9.250   1.010e-02   1.182e-03
+ 946:bend4           317.09  -1.061  0.773 16.402  0.044  0.106  -0.617 16.437  9.252   1.030e-02   9.923e-04
+ 947:sd7             317.53  -2.265  2.237 16.456  0.091  0.106  -0.653 16.996  9.256   1.074e-02   9.923e-04
+ 948:qp9             317.69  -3.537  3.152 16.466  0.110  0.133   3.851 16.477  9.258   1.066e-02  -1.955e-03
+ 949:qp9             317.85  -5.429  4.566 16.472  0.134  0.166   7.699 14.602  9.259   1.012e-02  -4.828e-03
+ 950:sd8             318.05  -6.763  7.005 16.478  0.167  0.166   6.874 11.687  9.262   9.153e-03  -4.828e-03
+ 951:sx9             318.05  -6.763  7.005 16.478  0.167  0.166   6.874 11.687  9.262   9.153e-03  -4.828e-03
+ 952:sd9             318.53  -9.941 14.961 16.485  0.246  0.166   4.908  6.075  9.271   6.854e-03  -4.828e-03
+ 953:qp10            318.69  -5.450 17.466 16.487  0.266  0.085   2.755  4.870  9.275   6.250e-03  -2.746e-03
+ 954:qp10            318.85   0.117 18.334 16.488  0.273  0.000   1.164  4.253  9.281   5.968e-03  -8.006e-04
+ 955:sd8             319.05   0.106 18.290 16.490  0.273  0.000   1.054  3.809  9.289   5.808e-03  -8.006e-04
+ 956:sx10            319.05   0.106 18.290 16.490  0.273  0.000   1.054  3.809  9.289   5.808e-03  -8.006e-04
+ 957:sdac            320.95   0.001 18.085 16.507  0.273  0.000   0.003  1.797  9.418   4.283e-03  -8.006e-04
+ 958:sdac            322.86  -0.103 18.279 16.523  0.273  0.000  -1.048  3.788  9.547   2.758e-03  -8.006e-04
+ 959:sx10            322.86  -0.103 18.279 16.523  0.273  0.000  -1.048  3.788  9.547   2.758e-03  -8.006e-04
+ 960:sd8             323.06  -0.114 18.322 16.525  0.273  0.000  -1.159  4.230  9.555   2.598e-03  -8.006e-04
+ 961:qp10            323.22   5.449 17.454 16.527  0.266 -0.085  -2.741  4.843  9.561   2.544e-03   1.310e-04
+ 962:qp10            323.38   9.936 14.951 16.528  0.246 -0.166  -4.883  6.043  9.566   2.639e-03   1.063e-03
+ 963:sd9             323.85   6.759  6.998 16.535  0.167 -0.166  -6.840 11.627  9.575   3.146e-03   1.063e-03
+ 964:sx9             323.85   6.759  6.998 16.535  0.167 -0.166  -6.840 11.627  9.575   3.146e-03   1.063e-03
+ 965:sd8             324.05   5.425  4.561 16.541  0.134 -0.166  -7.662 14.527  9.577   3.358e-03   1.063e-03
+ 966:qp9             324.21   3.534  3.148 16.548  0.110 -0.133  -3.834 16.393  9.579   3.451e-03   9.581e-05
+ 967:qp9             324.37   2.264  2.234 16.557  0.091 -0.106   0.648 16.911  9.580   3.389e-03  -8.677e-04
+ 968:sd7             324.81   1.059  0.772 16.612  0.045 -0.106   0.611 16.357  9.584   3.007e-03  -8.677e-04
+ 969:bend2           324.99   0.574  0.487 16.658  0.029 -0.072   0.892 16.040  9.586   2.845e-03  -9.230e-04
+ 970:bend3           325.16   0.101  0.369 16.725  0.020 -0.040   0.873 15.731  9.588   2.684e-03  -9.230e-04
+ 971:bend3           325.34  -0.373  0.417 16.799  0.015 -0.007   0.853 15.428  9.590   2.522e-03  -9.230e-04
+ 972:bend3           325.51  -0.845  0.631 16.854  0.017  0.026   0.834 15.132  9.592   2.360e-03  -9.230e-04
+ 973:bend3           325.69  -1.313  1.009 16.889  0.024  0.058   0.814 14.843  9.593   2.198e-03  -9.230e-04
+ 974:bend4           325.86  -1.805  1.551 16.911  0.038  0.091   1.062 14.561  9.595   2.036e-03  -9.604e-04
+ 975:sd7             326.30  -3.010  3.670 16.941  0.078  0.091   0.998 13.655  9.600   1.613e-03  -9.604e-04
+ 976:qp6             326.46  -4.300  4.828 16.947  0.094  0.107   3.315 12.958  9.602   1.437e-03  -1.238e-03
+ 977:qp6             326.62  -6.087  6.474 16.951  0.112  0.125   5.257 11.573  9.604   1.219e-03  -1.482e-03
+ 978:sd5             326.82  -7.262  9.144 16.955  0.137  0.125   4.762  9.569  9.607   9.226e-04  -1.482e-03
+ 979:sx7             326.82  -7.262  9.144 16.955  0.137  0.125   4.762  9.569  9.607   9.226e-04  -1.482e-03
+ 980:sd4             327.21  -9.553 15.702 16.961  0.186  0.125   3.797  6.231  9.615   3.447e-04  -1.482e-03
+ 981:qp7             327.44  -1.252 18.289 16.963  0.203  0.025   0.678  5.240  9.622   2.215e-07  -1.545e-03
+ 982:qp7             327.67   7.614 16.765 16.965  0.197 -0.078  -2.112  5.558  9.629  -3.804e-04  -1.796e-03
+ 983:sd3             327.87   6.911 13.860 16.967  0.181 -0.078  -2.308  6.442  9.634  -7.396e-04  -1.796e-03
+ 984:sx8             327.87   6.911 13.860 16.967  0.181 -0.078  -2.308  6.442  9.634  -7.396e-04  -1.796e-03
+ 985:sd2             328.26   5.539  9.005 16.972  0.151 -0.078  -2.691  8.391  9.642  -1.440e-03  -1.796e-03
+ 986:qp8             328.42   2.925  7.670 16.975  0.142 -0.039  -0.393  8.892  9.645  -1.700e-03  -1.442e-03
+ 987:qp8             328.58   0.829  7.078 16.979  0.139 -0.001   1.973  8.635  9.648  -1.898e-03  -1.023e-03
+ 988:sd13            332.07   0.002  4.186 17.089  0.137 -0.001   0.002  1.756  9.823  -5.461e-03  -1.023e-03
+ 989:sd13            335.55  -0.825  7.050 17.199  0.135 -0.001  -1.968  8.601  9.999  -9.024e-03  -1.023e-03
+ 990:qp8             335.71  -2.913  7.640 17.203  0.138  0.037   0.388  8.858 10.002  -8.988e-03   1.464e-03
+ 991:qp8             335.87  -5.516  8.969 17.206  0.147  0.075   2.677  8.360 10.005  -8.558e-03   3.889e-03
+ 992:sd2             336.26  -6.882 13.805 17.211  0.176  0.075   2.297  6.420 10.013  -7.042e-03   3.889e-03
+ 993:sx6             336.26  -6.882 13.805 17.211  0.176  0.075   2.297  6.420 10.013  -7.042e-03   3.889e-03
+ 994:sd3             336.46  -7.583 16.698 17.213  0.191  0.075   2.101  5.541 10.019  -6.264e-03   3.889e-03
+ 995:qp7             336.69   1.247 18.215 17.216  0.197 -0.025  -0.680  5.226 10.026  -5.721e-03   8.791e-04
+ 996:qp7             336.92   9.515 15.638 17.218  0.180 -0.122  -3.793  6.216 10.032  -5.852e-03  -2.027e-03
+ 997:sd4             337.31   7.232  9.107 17.223  0.132 -0.122  -4.758  9.551 10.040  -6.642e-03  -2.027e-03
+ 998:sx5             337.31   7.232  9.107 17.223  0.132 -0.122  -4.758  9.551 10.040  -6.642e-03  -2.027e-03
+ 999:sd5             337.51   6.062  6.448 17.227  0.108 -0.122  -5.253 11.553 10.043  -7.048e-03  -2.027e-03
+1000:qp6             337.67   4.282  4.808 17.232  0.090 -0.104  -3.315 12.938 10.045  -7.269e-03  -7.396e-04
+1001:qp6             337.83   2.997  3.655 17.238  0.075 -0.089  -1.002 13.635 10.047  -7.283e-03   5.685e-04
+1002:sd7             338.27   1.796  1.546 17.267  0.035 -0.089  -1.066 14.545 10.052  -7.033e-03   5.685e-04
+1003:bend2           338.44   1.307  1.006 17.290  0.022 -0.056  -0.819 14.828 10.054  -6.911e-03   6.978e-04
+1004:bend3           338.62   0.840  0.630 17.325  0.015 -0.024  -0.838 15.119 10.056  -6.788e-03   6.978e-04
+1005:bend3           338.80   0.369  0.418 17.380  0.014  0.009  -0.858 15.417 10.058  -6.666e-03   6.978e-04
+1006:bend3           338.97  -0.103  0.371 17.453  0.019  0.042  -0.878 15.721 10.059  -6.543e-03   6.978e-04
+1007:bend3           339.15  -0.574  0.490 17.521  0.029  0.074  -0.897 16.032 10.061  -6.421e-03   6.978e-04
+1008:bend4           339.32  -1.058  0.774 17.566  0.045  0.108  -0.616 16.350 10.063  -6.299e-03   8.135e-04
+1009:sd7             339.76  -2.259  2.233 17.620  0.092  0.108  -0.653 16.909 10.067  -5.941e-03   8.135e-04
+1010:qp4             339.92  -3.379  3.124 17.630  0.111  0.130   3.063 16.519 10.069  -5.707e-03   2.094e-03
+1011:qp4             340.08  -4.988  4.447 17.637  0.134  0.157   6.347 14.995 10.070  -5.275e-03   3.296e-03
+1012:sd8             340.28  -6.151  6.675 17.643  0.165  0.157   5.796 12.567 10.072  -4.616e-03   3.296e-03
+1013:sx3             340.28  -6.151  6.675 17.643  0.165  0.157   5.796 12.567 10.072  -4.616e-03   3.296e-03
+1014:sd9             340.76  -8.922 13.855 17.651  0.240  0.157   4.485  7.670 10.080  -3.046e-03   3.296e-03
+1015:qp5             340.92  -4.915 16.105 17.652  0.259  0.081   2.076  6.636 10.084  -2.606e-03   2.218e-03
+1016:qp5             341.08   0.028 16.900 17.654  0.266  0.002   0.075  6.298 10.088  -2.331e-03   1.236e-03
+1017:sd10            341.55   0.001 16.886 17.658  0.267  0.002   0.001  6.262 10.100  -1.750e-03   1.236e-03
+1018:sx4             341.55   0.001 16.886 17.658  0.267  0.002   0.001  6.262 10.100  -1.750e-03   1.236e-03
+1019:sd12            342.02  -0.027 16.898 17.663  0.268  0.002  -0.074  6.296 10.111  -1.169e-03   1.236e-03
+1020:qp5             342.18   4.916 16.103 17.664  0.261 -0.079  -2.074  6.634 10.115  -1.006e-03   8.023e-04
+1021:qp5             342.34   8.922 13.852 17.666  0.243 -0.155  -4.482  7.667 10.119  -9.097e-04   4.125e-04
+1022:sd9             342.81   6.151  6.672 17.674  0.169 -0.155  -5.792 12.561 10.127  -7.132e-04   4.125e-04
+1023:sx3             342.81   6.151  6.672 17.674  0.169 -0.155  -5.792 12.561 10.127  -7.132e-04   4.125e-04
+1024:sd8             343.01   4.987  4.445 17.680  0.138 -0.155  -6.342 14.988 10.129  -6.307e-04   4.125e-04
+1025:qp4             343.17   3.379  3.122 17.686  0.115 -0.127  -3.060 16.510 10.131  -5.531e-04   5.542e-04
+1026:qp4             343.33   2.259  2.230 17.696  0.097 -0.104   0.654 16.900 10.132  -4.545e-04   6.746e-04
+1027:sd7             343.77   1.057  0.772 17.750  0.051 -0.104   0.617 16.341 10.136  -1.577e-04   6.746e-04
+1028:bend2           343.95   0.573  0.488 17.796  0.036 -0.070   0.898 16.022 10.138  -3.885e-05   6.775e-04
+1029:bend3           344.13   0.101  0.370 17.864  0.026 -0.038   0.878 15.711 10.140   7.999e-05   6.775e-04
+1030:bend3           344.30  -0.371  0.417 17.937  0.023 -0.005   0.858 15.406 10.142   1.988e-04   6.775e-04
+1031:bend3           344.48  -0.842  0.630 17.992  0.024  0.027   0.839 15.109 10.143   3.177e-04   6.775e-04
+1032:bend3           344.65  -1.309  1.007 18.027  0.032  0.060   0.819 14.818 10.145   4.365e-04   6.775e-04
+1033:bend4           344.83  -1.799  1.548 18.050  0.045  0.093   1.066 14.534 10.147   5.553e-04   6.673e-04
+1034:sd6             345.62  -3.957  6.096 18.091  0.119  0.093   0.951 12.941 10.156   1.082e-03   6.673e-04
+1035:sx2             345.62  -3.957  6.096 18.091  0.119  0.093   0.951 12.941 10.156   1.082e-03   6.673e-04
+1036:sd5             345.82  -4.503  7.788 18.095  0.138  0.093   0.921 12.566 10.159   1.216e-03   6.673e-04
+1037:qp3             345.98  -6.017  9.461 18.098  0.154  0.110   2.289 12.050 10.161   1.309e-03   4.892e-04
+1038:qp3             346.14  -7.975 11.686 18.101  0.173  0.129   3.490 11.119 10.163   1.372e-03   2.982e-04
+1039:sd14            346.73 -11.236 23.020 18.106  0.249  0.129   2.791  7.414 10.173   1.548e-03   2.982e-04
+1040:qp2             346.96  -1.934 26.144 18.108  0.267  0.026  -0.075  6.807 10.178   1.682e-03   8.757e-04
+1041:qp2             347.19   8.047 24.694 18.109  0.261 -0.078  -2.969  7.487 10.184   1.957e-03   1.532e-03
+1042:sd3             347.39   7.515 21.582 18.111  0.245 -0.078  -3.231  8.727 10.188   2.263e-03   1.532e-03
+1043:sx1             347.39   7.515 21.582 18.111  0.245 -0.078  -3.231  8.727 10.188   2.263e-03   1.532e-03
+1044:sd2             347.78   6.476 16.125 18.114  0.215 -0.078  -3.742 11.446 10.194   2.860e-03   1.532e-03
+1045:qp1             347.94   3.317 14.574 18.116  0.206 -0.039  -1.594 12.309 10.196   3.058e-03   9.288e-04
+1046:qp1             348.10   0.564 13.959 18.117  0.202  0.000   0.746 12.446 10.198   3.156e-03   2.989e-04
+1047:sd1             354.10   0.002 10.568 18.199  0.203  0.000   0.000  7.968 10.300   4.949e-03   2.989e-04
+1048:cav             354.10   0.002 10.568 18.199  0.203  0.000   0.000  7.968 10.300   4.949e-03   2.989e-04
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/chambre.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/chambre.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/chambre.out	(revision 17)
@@ -0,0 +1,1027 @@
+# TRACY II v. SYNCHROTRON SOLEIL -- chambre.out -- Wed Mar 17 19:37:56 2004 
+#  i  name      s   -xch(mm)   +xch(mm)  zch (mm)
+#
+   1  debut    0.00  -35.000   35.000    7.000
+   2  sd1a     0.90  -35.000   35.000    7.000
+   3  ssep     0.90  -25.000   25.000    7.000
+   4  sep      1.10  -25.000   25.000    7.000
+   5  sep      1.30  -25.000   25.000    7.000
+   6  sep      1.50  -25.000   25.000    7.000
+   7  esep     1.50  -35.000   35.000    7.000
+   8  sd1c     5.20  -35.000   35.000    7.000
+   9  ehu60    5.20  -35.000   35.000   12.500
+  10  sd1d     6.00  -35.000   35.000   12.500
+  11  qp1      6.16  -35.000   35.000   12.500
+  12  qp1      6.32  -35.000   35.000   12.500
+  13  sd2      6.71  -35.000   35.000   12.500
+  14  sx1      6.71  -35.000   35.000   12.500
+  15  sd3      6.91  -35.000   35.000   12.500
+  16  qp2      7.14  -35.000   35.000   12.500
+  17  qp2      7.37  -35.000   35.000   12.500
+  18  sd14     7.96  -35.000   35.000   12.500
+  19  qp3      8.12  -35.000   35.000   12.500
+  20  qp3      8.28  -35.000   35.000   12.500
+  21  sd5      8.48  -35.000   35.000   12.500
+  22  sx2      8.48  -35.000   35.000   12.500
+  23  sd6      9.27  -35.000   35.000   12.500
+  24  bend2    9.45  -35.000   35.000   12.500
+  25  bend3    9.62  -35.000   35.000   12.500
+  26  bend3    9.80  -35.000   35.000   12.500
+  27  bend3    9.97  -35.000   35.000   12.500
+  28  bend3   10.15  -35.000   35.000   12.500
+  29  bend4   10.32  -35.000   35.000   12.500
+  30  sd7     10.76  -35.000   35.000   12.500
+  31  qp4     10.92  -35.000   35.000   12.500
+  32  qp4     11.08  -35.000   35.000   12.500
+  33  sd8     11.28  -35.000   35.000   12.500
+  34  sx3     11.28  -35.000   35.000   12.500
+  35  sd9     11.76  -35.000   35.000   12.500
+  36  qp5     11.92  -35.000   35.000   12.500
+  37  qp5     12.08  -35.000   35.000   12.500
+  38  sd12    12.55  -35.000   35.000   12.500
+  39  sx4     12.55  -35.000   35.000   12.500
+  40  sd10    13.02  -35.000   35.000   12.500
+  41  qp5     13.18  -35.000   35.000   12.500
+  42  qp5     13.34  -35.000   35.000   12.500
+  43  sd9     13.82  -35.000   35.000   12.500
+  44  sx3     13.82  -35.000   35.000   12.500
+  45  sd8     14.02  -35.000   35.000   12.500
+  46  qp4     14.18  -35.000   35.000   12.500
+  47  qp4     14.34  -35.000   35.000   12.500
+  48  sd7     14.78  -35.000   35.000   12.500
+  49  bend2   14.95  -35.000   35.000   12.500
+  50  bend3   15.13  -35.000   35.000   12.500
+  51  bend3   15.30  -35.000   35.000   12.500
+  52  bend3   15.48  -35.000   35.000   12.500
+  53  bend3   15.65  -35.000   35.000   12.500
+  54  bend4   15.83  -35.000   35.000   12.500
+  55  sd7     16.27  -35.000   35.000   12.500
+  56  qp6     16.43  -35.000   35.000   12.500
+  57  qp6     16.59  -35.000   35.000   12.500
+  58  sd5     16.79  -35.000   35.000   12.500
+  59  sx5     16.79  -35.000   35.000   12.500
+  60  sd4     17.18  -35.000   35.000   12.500
+  61  qp7     17.41  -35.000   35.000   12.500
+  62  qp7     17.64  -35.000   35.000   12.500
+  63  sd3     17.84  -35.000   35.000   12.500
+  64  sx6     17.84  -35.000   35.000   12.500
+  65  sd2     18.23  -35.000   35.000   12.500
+  66  qp8     18.39  -35.000   35.000   12.500
+  67  qp8     18.55  -35.000   35.000   12.500
+  68  sd13c   19.28  -35.000   35.000   12.500
+  69  ssdm    19.28  -21.000   21.000    5.000
+  70  sd13a   19.48  -21.000   21.000    5.000
+  71  sd13a   19.68  -21.000   21.000    5.000
+  72  sd13a   19.88  -21.000   21.000    5.000
+  73  sd13a   20.08  -21.000   21.000    5.000
+  74  sd13a   20.28  -21.000   21.000    5.000
+  75  sd13a   20.48  -21.000   21.000    5.000
+  76  sd13a   20.68  -21.000   21.000    5.000
+  77  sd13a   20.88  -21.000   21.000    5.000
+  78  sd13a   21.08  -21.000   21.000    5.000
+  79  sd13a   21.28  -21.000   21.000    5.000
+  80  sd13a   21.48  -21.000   21.000    5.000
+  81  sd13a   21.68  -21.000   21.000    5.000
+  82  sd13a   21.88  -21.000   21.000    5.000
+  83  sd13b   22.03  -21.000   21.000    5.000
+  84  sd13b   22.18  -21.000   21.000    5.000
+  85  sd13a   22.38  -21.000   21.000    5.000
+  86  sd13a   22.58  -21.000   21.000    5.000
+  87  sd13a   22.78  -21.000   21.000    5.000
+  88  sd13a   22.98  -21.000   21.000    5.000
+  89  sd13a   23.18  -21.000   21.000    5.000
+  90  sd13a   23.38  -21.000   21.000    5.000
+  91  sd13a   23.58  -21.000   21.000    5.000
+  92  sd13a   23.78  -21.000   21.000    5.000
+  93  sd13a   23.98  -21.000   21.000    5.000
+  94  sd13a   24.18  -21.000   21.000    5.000
+  95  sd13a   24.38  -21.000   21.000    5.000
+  96  sd13a   24.58  -21.000   21.000    5.000
+  97  sd13a   24.78  -21.000   21.000    5.000
+  98  esdm    24.78  -21.000   21.000    5.000
+  99  eesdm   24.78  -35.000   35.000   12.500
+ 100  sd13c   25.51  -35.000   35.000   12.500
+ 101  qp8     25.67  -35.000   35.000   12.500
+ 102  qp8     25.83  -35.000   35.000   12.500
+ 103  sd2     26.22  -35.000   35.000   12.500
+ 104  sx8     26.22  -35.000   35.000   12.500
+ 105  sd3     26.42  -35.000   35.000   12.500
+ 106  qp7     26.65  -35.000   35.000   12.500
+ 107  qp7     26.88  -35.000   35.000   12.500
+ 108  sd4     27.27  -35.000   35.000   12.500
+ 109  sx7     27.27  -35.000   35.000   12.500
+ 110  sd5     27.47  -35.000   35.000   12.500
+ 111  qp6     27.63  -35.000   35.000   12.500
+ 112  qp6     27.79  -35.000   35.000   12.500
+ 113  sd7     28.23  -35.000   35.000   12.500
+ 114  bend2   28.41  -35.000   35.000   12.500
+ 115  bend3   28.58  -35.000   35.000   12.500
+ 116  bend3   28.76  -35.000   35.000   12.500
+ 117  bend3   28.93  -35.000   35.000   12.500
+ 118  bend3   29.11  -35.000   35.000   12.500
+ 119  bend4   29.29  -35.000   35.000   12.500
+ 120  sd7     29.73  -35.000   35.000   12.500
+ 121  qp9     29.89  -35.000   35.000   12.500
+ 122  qp9     30.05  -35.000   35.000   12.500
+ 123  sd8     30.25  -35.000   35.000   12.500
+ 124  sx9     30.25  -35.000   35.000   12.500
+ 125  sd9     30.72  -35.000   35.000   12.500
+ 126  qp10    30.88  -35.000   35.000   12.500
+ 127  qp10    31.04  -35.000   35.000   12.500
+ 128  sd8     31.24  -35.000   35.000   12.500
+ 129  sx10    31.24  -35.000   35.000   12.500
+ 130  sdac1   32.25  -35.000   35.000   12.500
+ 131  ssdac   32.25  -35.000   35.000    2.500
+ 132  sdac2   32.45  -35.000   35.000    2.500
+ 133  sdac2   32.65  -35.000   35.000    2.500
+ 134  sdac2   32.85  -35.000   35.000    2.500
+ 135  sdac2   33.05  -35.000   35.000    2.500
+ 136  sdac2   33.25  -35.000   35.000    2.500
+ 137  sdac2   33.45  -35.000   35.000    2.500
+ 138  sdac2   33.65  -35.000   35.000    2.500
+ 139  sdac2   33.85  -35.000   35.000    2.500
+ 140  sdac2   34.05  -35.000   35.000    2.500
+ 141  esdac   34.05  -35.000   35.000   12.500
+ 142  sdac1   35.05  -35.000   35.000   12.500
+ 143  sx10    35.05  -35.000   35.000   12.500
+ 144  sd8     35.25  -35.000   35.000   12.500
+ 145  qp10    35.41  -35.000   35.000   12.500
+ 146  qp10    35.57  -35.000   35.000   12.500
+ 147  sd9     36.05  -35.000   35.000   12.500
+ 148  sx9     36.05  -35.000   35.000   12.500
+ 149  sd8     36.25  -35.000   35.000   12.500
+ 150  qp9     36.41  -35.000   35.000   12.500
+ 151  qp9     36.57  -35.000   35.000   12.500
+ 152  sd7     37.01  -35.000   35.000   12.500
+ 153  bend2   37.18  -35.000   35.000   12.500
+ 154  bend3   37.36  -35.000   35.000   12.500
+ 155  bend3   37.53  -35.000   35.000   12.500
+ 156  bend3   37.71  -35.000   35.000   12.500
+ 157  bend3   37.88  -35.000   35.000   12.500
+ 158  bend4   38.06  -35.000   35.000   12.500
+ 159  sd7     38.50  -35.000   35.000   12.500
+ 160  qp6     38.66  -35.000   35.000   12.500
+ 161  qp6     38.82  -35.000   35.000   12.500
+ 162  sd5     39.02  -35.000   35.000   12.500
+ 163  sx7     39.02  -35.000   35.000   12.500
+ 164  sd4     39.41  -35.000   35.000   12.500
+ 165  qp7     39.64  -35.000   35.000   12.500
+ 166  qp7     39.87  -35.000   35.000   12.500
+ 167  sd3     40.07  -35.000   35.000   12.500
+ 168  sx8     40.07  -35.000   35.000   12.500
+ 169  sd2     40.46  -35.000   35.000   12.500
+ 170  qp8     40.62  -35.000   35.000   12.500
+ 171  qp8     40.78  -35.000   35.000   12.500
+ 172  sd13    44.26  -35.000   35.000   12.500
+ 173  sd13    47.74  -35.000   35.000   12.500
+ 174  qp8     47.90  -35.000   35.000   12.500
+ 175  qp8     48.06  -35.000   35.000   12.500
+ 176  sd2     48.45  -35.000   35.000   12.500
+ 177  sx8     48.45  -35.000   35.000   12.500
+ 178  sd3     48.65  -35.000   35.000   12.500
+ 179  qp7     48.88  -35.000   35.000   12.500
+ 180  qp7     49.11  -35.000   35.000   12.500
+ 181  sd4     49.50  -35.000   35.000   12.500
+ 182  sx7     49.50  -35.000   35.000   12.500
+ 183  sd5     49.70  -35.000   35.000   12.500
+ 184  qp6     49.86  -35.000   35.000   12.500
+ 185  qp6     50.02  -35.000   35.000   12.500
+ 186  sd7     50.46  -35.000   35.000   12.500
+ 187  bend2   50.64  -35.000   35.000   12.500
+ 188  bend3   50.82  -35.000   35.000   12.500
+ 189  bend3   50.99  -35.000   35.000   12.500
+ 190  bend3   51.17  -35.000   35.000   12.500
+ 191  bend3   51.34  -35.000   35.000   12.500
+ 192  bend4   51.52  -35.000   35.000   12.500
+ 193  sd7     51.96  -35.000   35.000   12.500
+ 194  qp9     52.12  -35.000   35.000   12.500
+ 195  qp9     52.28  -35.000   35.000   12.500
+ 196  sd8     52.48  -35.000   35.000   12.500
+ 197  sx9     52.48  -35.000   35.000   12.500
+ 198  sd9     52.95  -35.000   35.000   12.500
+ 199  qp10    53.11  -35.000   35.000   12.500
+ 200  qp10    53.27  -35.000   35.000   12.500
+ 201  sd8     53.47  -35.000   35.000   12.500
+ 202  sx10    53.47  -35.000   35.000   12.500
+ 203  sdac    55.38  -35.000   35.000   12.500
+ 204  sdac    57.28  -35.000   35.000   12.500
+ 205  sx10    57.28  -35.000   35.000   12.500
+ 206  sd8     57.48  -35.000   35.000   12.500
+ 207  qp10    57.64  -35.000   35.000   12.500
+ 208  qp10    57.80  -35.000   35.000   12.500
+ 209  sd9     58.28  -35.000   35.000   12.500
+ 210  sx9     58.28  -35.000   35.000   12.500
+ 211  sd8     58.48  -35.000   35.000   12.500
+ 212  qp9     58.64  -35.000   35.000   12.500
+ 213  qp9     58.80  -35.000   35.000   12.500
+ 214  sd7     59.24  -35.000   35.000   12.500
+ 215  bend2   59.41  -35.000   35.000   12.500
+ 216  bend3   59.59  -35.000   35.000   12.500
+ 217  bend3   59.77  -35.000   35.000   12.500
+ 218  bend3   59.94  -35.000   35.000   12.500
+ 219  bend3   60.12  -35.000   35.000   12.500
+ 220  bend4   60.29  -35.000   35.000   12.500
+ 221  sd7     60.73  -35.000   35.000   12.500
+ 222  qp6     60.89  -35.000   35.000   12.500
+ 223  qp6     61.05  -35.000   35.000   12.500
+ 224  sd5     61.25  -35.000   35.000   12.500
+ 225  sx7     61.25  -35.000   35.000   12.500
+ 226  sd4     61.64  -35.000   35.000   12.500
+ 227  qp7     61.87  -35.000   35.000   12.500
+ 228  qp7     62.10  -35.000   35.000   12.500
+ 229  sd3     62.30  -35.000   35.000   12.500
+ 230  sx8     62.30  -35.000   35.000   12.500
+ 231  sd2     62.69  -35.000   35.000   12.500
+ 232  qp8     62.85  -35.000   35.000   12.500
+ 233  qp8     63.01  -35.000   35.000   12.500
+ 234  sd13    66.49  -35.000   35.000   12.500
+ 235  sd13    69.98  -35.000   35.000   12.500
+ 236  qp8     70.14  -35.000   35.000   12.500
+ 237  qp8     70.30  -35.000   35.000   12.500
+ 238  sd2     70.69  -35.000   35.000   12.500
+ 239  sx6     70.69  -35.000   35.000   12.500
+ 240  sd3     70.89  -35.000   35.000   12.500
+ 241  qp7     71.12  -35.000   35.000   12.500
+ 242  qp7     71.35  -35.000   35.000   12.500
+ 243  sd4     71.74  -35.000   35.000   12.500
+ 244  sx5     71.74  -35.000   35.000   12.500
+ 245  sd5     71.94  -35.000   35.000   12.500
+ 246  qp6     72.10  -35.000   35.000   12.500
+ 247  qp6     72.26  -35.000   35.000   12.500
+ 248  sd7     72.70  -35.000   35.000   12.500
+ 249  bend2   72.87  -35.000   35.000   12.500
+ 250  bend3   73.05  -35.000   35.000   12.500
+ 251  bend3   73.22  -35.000   35.000   12.500
+ 252  bend3   73.40  -35.000   35.000   12.500
+ 253  bend3   73.57  -35.000   35.000   12.500
+ 254  bend4   73.75  -35.000   35.000   12.500
+ 255  sd7     74.19  -35.000   35.000   12.500
+ 256  qp4     74.35  -35.000   35.000   12.500
+ 257  qp4     74.51  -35.000   35.000   12.500
+ 258  sd8     74.71  -35.000   35.000   12.500
+ 259  sx3     74.71  -35.000   35.000   12.500
+ 260  sd9     75.19  -35.000   35.000   12.500
+ 261  qp5     75.35  -35.000   35.000   12.500
+ 262  qp5     75.51  -35.000   35.000   12.500
+ 263  sd10    75.98  -35.000   35.000   12.500
+ 264  sx4     75.98  -35.000   35.000   12.500
+ 265  sd12    76.45  -35.000   35.000   12.500
+ 266  qp5     76.61  -35.000   35.000   12.500
+ 267  qp5     76.77  -35.000   35.000   12.500
+ 268  sd9     77.24  -35.000   35.000   12.500
+ 269  sx3     77.24  -35.000   35.000   12.500
+ 270  sd8     77.44  -35.000   35.000   12.500
+ 271  qp4     77.60  -35.000   35.000   12.500
+ 272  qp4     77.76  -35.000   35.000   12.500
+ 273  sd7     78.20  -35.000   35.000   12.500
+ 274  bend2   78.38  -35.000   35.000   12.500
+ 275  bend3   78.55  -35.000   35.000   12.500
+ 276  bend3   78.73  -35.000   35.000   12.500
+ 277  bend3   78.90  -35.000   35.000   12.500
+ 278  bend3   79.08  -35.000   35.000   12.500
+ 279  bend4   79.25  -35.000   35.000   12.500
+ 280  sd6     80.04  -35.000   35.000   12.500
+ 281  sx2     80.04  -35.000   35.000   12.500
+ 282  sd5     80.24  -35.000   35.000   12.500
+ 283  qp3     80.40  -35.000   35.000   12.500
+ 284  qp3     80.56  -35.000   35.000   12.500
+ 285  sd14    81.15  -35.000   35.000   12.500
+ 286  qp2     81.38  -35.000   35.000   12.500
+ 287  qp2     81.61  -35.000   35.000   12.500
+ 288  sd3     81.81  -35.000   35.000   12.500
+ 289  sx1     81.81  -35.000   35.000   12.500
+ 290  sd2     82.20  -35.000   35.000   12.500
+ 291  qp1     82.36  -35.000   35.000   12.500
+ 292  qp1     82.52  -35.000   35.000   12.500
+ 293  sd1     88.52  -35.000   35.000   12.500
+ 294  sd1     94.52  -35.000   35.000   12.500
+ 295  qp1     94.68  -35.000   35.000   12.500
+ 296  qp1     94.84  -35.000   35.000   12.500
+ 297  sd2     95.23  -35.000   35.000   12.500
+ 298  sx1     95.23  -35.000   35.000   12.500
+ 299  sd3     95.43  -35.000   35.000   12.500
+ 300  qp2     95.66  -35.000   35.000   12.500
+ 301  qp2     95.89  -35.000   35.000   12.500
+ 302  sd14    96.48  -35.000   35.000   12.500
+ 303  qp3     96.64  -35.000   35.000   12.500
+ 304  qp3     96.80  -35.000   35.000   12.500
+ 305  sd5     97.00  -35.000   35.000   12.500
+ 306  sx2     97.00  -35.000   35.000   12.500
+ 307  sd6     97.79  -35.000   35.000   12.500
+ 308  bend2   97.97  -35.000   35.000   12.500
+ 309  bend3   98.14  -35.000   35.000   12.500
+ 310  bend3   98.32  -35.000   35.000   12.500
+ 311  bend3   98.50  -35.000   35.000   12.500
+ 312  bend3   98.67  -35.000   35.000   12.500
+ 313  bend4   98.85  -35.000   35.000   12.500
+ 314  sd7     99.29  -35.000   35.000   12.500
+ 315  qp4     99.45  -35.000   35.000   12.500
+ 316  qp4     99.61  -35.000   35.000   12.500
+ 317  sd8     99.81  -35.000   35.000   12.500
+ 318  sx3     99.81  -35.000   35.000   12.500
+ 319  sd9    100.28  -35.000   35.000   12.500
+ 320  qp5    100.44  -35.000   35.000   12.500
+ 321  qp5    100.60  -35.000   35.000   12.500
+ 322  sd12   101.07  -35.000   35.000   12.500
+ 323  sx4    101.07  -35.000   35.000   12.500
+ 324  sd10   101.54  -35.000   35.000   12.500
+ 325  qp5    101.70  -35.000   35.000   12.500
+ 326  qp5    101.86  -35.000   35.000   12.500
+ 327  sd9    102.34  -35.000   35.000   12.500
+ 328  sx3    102.34  -35.000   35.000   12.500
+ 329  sd8    102.54  -35.000   35.000   12.500
+ 330  qp4    102.70  -35.000   35.000   12.500
+ 331  qp4    102.86  -35.000   35.000   12.500
+ 332  sd7    103.30  -35.000   35.000   12.500
+ 333  bend2  103.47  -35.000   35.000   12.500
+ 334  bend3  103.65  -35.000   35.000   12.500
+ 335  bend3  103.83  -35.000   35.000   12.500
+ 336  bend3  104.00  -35.000   35.000   12.500
+ 337  bend3  104.18  -35.000   35.000   12.500
+ 338  bend4  104.35  -35.000   35.000   12.500
+ 339  sd7    104.79  -35.000   35.000   12.500
+ 340  qp6    104.95  -35.000   35.000   12.500
+ 341  qp6    105.11  -35.000   35.000   12.500
+ 342  sd5    105.31  -35.000   35.000   12.500
+ 343  sx5    105.31  -35.000   35.000   12.500
+ 344  sd4    105.70  -35.000   35.000   12.500
+ 345  qp7    105.93  -35.000   35.000   12.500
+ 346  qp7    106.16  -35.000   35.000   12.500
+ 347  sd3    106.36  -35.000   35.000   12.500
+ 348  sx6    106.36  -35.000   35.000   12.500
+ 349  sd2    106.75  -35.000   35.000   12.500
+ 350  qp8    106.91  -35.000   35.000   12.500
+ 351  qp8    107.07  -35.000   35.000   12.500
+ 352  sd13   110.55  -35.000   35.000   12.500
+ 353  sd13   114.04  -35.000   35.000   12.500
+ 354  qp8    114.20  -35.000   35.000   12.500
+ 355  qp8    114.36  -35.000   35.000   12.500
+ 356  sd2    114.75  -35.000   35.000   12.500
+ 357  sx8    114.75  -35.000   35.000   12.500
+ 358  sd3    114.95  -35.000   35.000   12.500
+ 359  qp7    115.18  -35.000   35.000   12.500
+ 360  qp7    115.41  -35.000   35.000   12.500
+ 361  sd4    115.80  -35.000   35.000   12.500
+ 362  sx7    115.80  -35.000   35.000   12.500
+ 363  sd5    116.00  -35.000   35.000   12.500
+ 364  qp6    116.16  -35.000   35.000   12.500
+ 365  qp6    116.32  -35.000   35.000   12.500
+ 366  sd7    116.76  -35.000   35.000   12.500
+ 367  bend2  116.93  -35.000   35.000   12.500
+ 368  bend3  117.11  -35.000   35.000   12.500
+ 369  bend3  117.28  -35.000   35.000   12.500
+ 370  bend3  117.46  -35.000   35.000   12.500
+ 371  bend3  117.63  -35.000   35.000   12.500
+ 372  bend4  117.81  -35.000   35.000   12.500
+ 373  sd7    118.25  -35.000   35.000   12.500
+ 374  qp9    118.41  -35.000   35.000   12.500
+ 375  qp9    118.57  -35.000   35.000   12.500
+ 376  sd8    118.77  -35.000   35.000   12.500
+ 377  sx9    118.77  -35.000   35.000   12.500
+ 378  sd9    119.25  -35.000   35.000   12.500
+ 379  qp10   119.41  -35.000   35.000   12.500
+ 380  qp10   119.57  -35.000   35.000   12.500
+ 381  sd8    119.77  -35.000   35.000   12.500
+ 382  sx10   119.77  -35.000   35.000   12.500
+ 383  sdac   121.67  -35.000   35.000   12.500
+ 384  sdac   123.57  -35.000   35.000   12.500
+ 385  sx10   123.57  -35.000   35.000   12.500
+ 386  sd8    123.77  -35.000   35.000   12.500
+ 387  qp10   123.93  -35.000   35.000   12.500
+ 388  qp10   124.09  -35.000   35.000   12.500
+ 389  sd9    124.57  -35.000   35.000   12.500
+ 390  sx9    124.57  -35.000   35.000   12.500
+ 391  sd8    124.77  -35.000   35.000   12.500
+ 392  qp9    124.93  -35.000   35.000   12.500
+ 393  qp9    125.09  -35.000   35.000   12.500
+ 394  sd7    125.53  -35.000   35.000   12.500
+ 395  bend2  125.71  -35.000   35.000   12.500
+ 396  bend3  125.88  -35.000   35.000   12.500
+ 397  bend3  126.06  -35.000   35.000   12.500
+ 398  bend3  126.23  -35.000   35.000   12.500
+ 399  bend3  126.41  -35.000   35.000   12.500
+ 400  bend4  126.58  -35.000   35.000   12.500
+ 401  sd7    127.02  -35.000   35.000   12.500
+ 402  qp6    127.18  -35.000   35.000   12.500
+ 403  qp6    127.34  -35.000   35.000   12.500
+ 404  sd5    127.54  -35.000   35.000   12.500
+ 405  sx7    127.54  -35.000   35.000   12.500
+ 406  sd4    127.93  -35.000   35.000   12.500
+ 407  qp7    128.16  -35.000   35.000   12.500
+ 408  qp7    128.39  -35.000   35.000   12.500
+ 409  sd3    128.59  -35.000   35.000   12.500
+ 410  sx8    128.59  -35.000   35.000   12.500
+ 411  sd2    128.98  -35.000   35.000   12.500
+ 412  qp8    129.14  -35.000   35.000   12.500
+ 413  qp8    129.30  -35.000   35.000   12.500
+ 414  sd13   132.79  -35.000   35.000   12.500
+ 415  sd13   136.27  -35.000   35.000   12.500
+ 416  qp8    136.43  -35.000   35.000   12.500
+ 417  qp8    136.59  -35.000   35.000   12.500
+ 418  sd2    136.98  -35.000   35.000   12.500
+ 419  sx8    136.98  -35.000   35.000   12.500
+ 420  sd3    137.18  -35.000   35.000   12.500
+ 421  qp7    137.41  -35.000   35.000   12.500
+ 422  qp7    137.64  -35.000   35.000   12.500
+ 423  sd4    138.03  -35.000   35.000   12.500
+ 424  sx7    138.03  -35.000   35.000   12.500
+ 425  sd5    138.23  -35.000   35.000   12.500
+ 426  qp6    138.39  -35.000   35.000   12.500
+ 427  qp6    138.55  -35.000   35.000   12.500
+ 428  sd7    138.99  -35.000   35.000   12.500
+ 429  bend2  139.16  -35.000   35.000   12.500
+ 430  bend3  139.34  -35.000   35.000   12.500
+ 431  bend3  139.52  -35.000   35.000   12.500
+ 432  bend3  139.69  -35.000   35.000   12.500
+ 433  bend3  139.87  -35.000   35.000   12.500
+ 434  bend4  140.04  -35.000   35.000   12.500
+ 435  sd7    140.48  -35.000   35.000   12.500
+ 436  qp9    140.64  -35.000   35.000   12.500
+ 437  qp9    140.80  -35.000   35.000   12.500
+ 438  sd8    141.00  -35.000   35.000   12.500
+ 439  sx9    141.00  -35.000   35.000   12.500
+ 440  sd9    141.48  -35.000   35.000   12.500
+ 441  qp10   141.64  -35.000   35.000   12.500
+ 442  qp10   141.80  -35.000   35.000   12.500
+ 443  sd8    142.00  -35.000   35.000   12.500
+ 444  sx10   142.00  -35.000   35.000   12.500
+ 445  sdac   143.90  -35.000   35.000   12.500
+ 446  sdac   145.81  -35.000   35.000   12.500
+ 447  sx10   145.81  -35.000   35.000   12.500
+ 448  sd8    146.01  -35.000   35.000   12.500
+ 449  qp10   146.17  -35.000   35.000   12.500
+ 450  qp10   146.33  -35.000   35.000   12.500
+ 451  sd9    146.80  -35.000   35.000   12.500
+ 452  sx9    146.80  -35.000   35.000   12.500
+ 453  sd8    147.00  -35.000   35.000   12.500
+ 454  qp9    147.16  -35.000   35.000   12.500
+ 455  qp9    147.32  -35.000   35.000   12.500
+ 456  sd7    147.76  -35.000   35.000   12.500
+ 457  bend2  147.94  -35.000   35.000   12.500
+ 458  bend3  148.11  -35.000   35.000   12.500
+ 459  bend3  148.29  -35.000   35.000   12.500
+ 460  bend3  148.46  -35.000   35.000   12.500
+ 461  bend3  148.64  -35.000   35.000   12.500
+ 462  bend4  148.82  -35.000   35.000   12.500
+ 463  sd7    149.26  -35.000   35.000   12.500
+ 464  qp6    149.42  -35.000   35.000   12.500
+ 465  qp6    149.58  -35.000   35.000   12.500
+ 466  sd5    149.78  -35.000   35.000   12.500
+ 467  sx7    149.78  -35.000   35.000   12.500
+ 468  sd4    150.17  -35.000   35.000   12.500
+ 469  qp7    150.40  -35.000   35.000   12.500
+ 470  qp7    150.63  -35.000   35.000   12.500
+ 471  sd3    150.83  -35.000   35.000   12.500
+ 472  sx8    150.83  -35.000   35.000   12.500
+ 473  sd2    151.22  -35.000   35.000   12.500
+ 474  qp8    151.38  -35.000   35.000   12.500
+ 475  qp8    151.54  -35.000   35.000   12.500
+ 476  sd13   155.02  -35.000   35.000   12.500
+ 477  sd13   158.50  -35.000   35.000   12.500
+ 478  qp8    158.66  -35.000   35.000   12.500
+ 479  qp8    158.82  -35.000   35.000   12.500
+ 480  sd2    159.21  -35.000   35.000   12.500
+ 481  sx6    159.21  -35.000   35.000   12.500
+ 482  sd3    159.41  -35.000   35.000   12.500
+ 483  qp7    159.64  -35.000   35.000   12.500
+ 484  qp7    159.87  -35.000   35.000   12.500
+ 485  sd4    160.26  -35.000   35.000   12.500
+ 486  sx5    160.26  -35.000   35.000   12.500
+ 487  sd5    160.46  -35.000   35.000   12.500
+ 488  qp6    160.62  -35.000   35.000   12.500
+ 489  qp6    160.78  -35.000   35.000   12.500
+ 490  sd7    161.22  -35.000   35.000   12.500
+ 491  bend2  161.40  -35.000   35.000   12.500
+ 492  bend3  161.57  -35.000   35.000   12.500
+ 493  bend3  161.75  -35.000   35.000   12.500
+ 494  bend3  161.92  -35.000   35.000   12.500
+ 495  bend3  162.10  -35.000   35.000   12.500
+ 496  bend4  162.27  -35.000   35.000   12.500
+ 497  sd7    162.71  -35.000   35.000   12.500
+ 498  qp4    162.87  -35.000   35.000   12.500
+ 499  qp4    163.03  -35.000   35.000   12.500
+ 500  sd8    163.23  -35.000   35.000   12.500
+ 501  sx3    163.23  -35.000   35.000   12.500
+ 502  sd9    163.71  -35.000   35.000   12.500
+ 503  qp5    163.87  -35.000   35.000   12.500
+ 504  qp5    164.03  -35.000   35.000   12.500
+ 505  sd10   164.50  -35.000   35.000   12.500
+ 506  sx4    164.50  -35.000   35.000   12.500
+ 507  sd12   164.97  -35.000   35.000   12.500
+ 508  qp5    165.13  -35.000   35.000   12.500
+ 509  qp5    165.29  -35.000   35.000   12.500
+ 510  sd9    165.77  -35.000   35.000   12.500
+ 511  sx3    165.77  -35.000   35.000   12.500
+ 512  sd8    165.97  -35.000   35.000   12.500
+ 513  qp4    166.13  -35.000   35.000   12.500
+ 514  qp4    166.29  -35.000   35.000   12.500
+ 515  sd7    166.73  -35.000   35.000   12.500
+ 516  bend2  166.90  -35.000   35.000   12.500
+ 517  bend3  167.08  -35.000   35.000   12.500
+ 518  bend3  167.25  -35.000   35.000   12.500
+ 519  bend3  167.43  -35.000   35.000   12.500
+ 520  bend3  167.60  -35.000   35.000   12.500
+ 521  bend4  167.78  -35.000   35.000   12.500
+ 522  sd6    168.57  -35.000   35.000   12.500
+ 523  sx2    168.57  -35.000   35.000   12.500
+ 524  sd5    168.77  -35.000   35.000   12.500
+ 525  qp3    168.93  -35.000   35.000   12.500
+ 526  qp3    169.09  -35.000   35.000   12.500
+ 527  sd14   169.68  -35.000   35.000   12.500
+ 528  qp2    169.91  -35.000   35.000   12.500
+ 529  qp2    170.14  -35.000   35.000   12.500
+ 530  sd3    170.34  -35.000   35.000   12.500
+ 531  sx1    170.34  -35.000   35.000   12.500
+ 532  sd2    170.73  -35.000   35.000   12.500
+ 533  qp1    170.89  -35.000   35.000   12.500
+ 534  qp1    171.05  -35.000   35.000   12.500
+ 535  sd1    177.05  -35.000   35.000   12.500
+ 536  sd1    183.05  -35.000   35.000   12.500
+ 537  qp1    183.21  -35.000   35.000   12.500
+ 538  qp1    183.37  -35.000   35.000   12.500
+ 539  sd2    183.76  -35.000   35.000   12.500
+ 540  sx1    183.76  -35.000   35.000   12.500
+ 541  sd3    183.96  -35.000   35.000   12.500
+ 542  qp2    184.19  -35.000   35.000   12.500
+ 543  qp2    184.42  -35.000   35.000   12.500
+ 544  sd14   185.01  -35.000   35.000   12.500
+ 545  qp3    185.17  -35.000   35.000   12.500
+ 546  qp3    185.33  -35.000   35.000   12.500
+ 547  sd5    185.53  -35.000   35.000   12.500
+ 548  sx2    185.53  -35.000   35.000   12.500
+ 549  sd6    186.32  -35.000   35.000   12.500
+ 550  bend2  186.49  -35.000   35.000   12.500
+ 551  bend3  186.67  -35.000   35.000   12.500
+ 552  bend3  186.84  -35.000   35.000   12.500
+ 553  bend3  187.02  -35.000   35.000   12.500
+ 554  bend3  187.20  -35.000   35.000   12.500
+ 555  bend4  187.37  -35.000   35.000   12.500
+ 556  sd7    187.81  -35.000   35.000   12.500
+ 557  qp4    187.97  -35.000   35.000   12.500
+ 558  qp4    188.13  -35.000   35.000   12.500
+ 559  sd8    188.33  -35.000   35.000   12.500
+ 560  sx3    188.33  -35.000   35.000   12.500
+ 561  sd9    188.81  -35.000   35.000   12.500
+ 562  qp5    188.97  -35.000   35.000   12.500
+ 563  qp5    189.13  -35.000   35.000   12.500
+ 564  sd12   189.60  -35.000   35.000   12.500
+ 565  sx4    189.60  -35.000   35.000   12.500
+ 566  sd10   190.07  -35.000   35.000   12.500
+ 567  qp5    190.23  -35.000   35.000   12.500
+ 568  qp5    190.39  -35.000   35.000   12.500
+ 569  sd9    190.86  -35.000   35.000   12.500
+ 570  sx3    190.86  -35.000   35.000   12.500
+ 571  sd8    191.06  -35.000   35.000   12.500
+ 572  qp4    191.22  -35.000   35.000   12.500
+ 573  qp4    191.38  -35.000   35.000   12.500
+ 574  sd7    191.82  -35.000   35.000   12.500
+ 575  bend2  192.00  -35.000   35.000   12.500
+ 576  bend3  192.17  -35.000   35.000   12.500
+ 577  bend3  192.35  -35.000   35.000   12.500
+ 578  bend3  192.53  -35.000   35.000   12.500
+ 579  bend3  192.70  -35.000   35.000   12.500
+ 580  bend4  192.88  -35.000   35.000   12.500
+ 581  sd7    193.32  -35.000   35.000   12.500
+ 582  qp6    193.48  -35.000   35.000   12.500
+ 583  qp6    193.64  -35.000   35.000   12.500
+ 584  sd5    193.84  -35.000   35.000   12.500
+ 585  sx5    193.84  -35.000   35.000   12.500
+ 586  sd4    194.23  -35.000   35.000   12.500
+ 587  qp7    194.46  -35.000   35.000   12.500
+ 588  qp7    194.69  -35.000   35.000   12.500
+ 589  sd3    194.89  -35.000   35.000   12.500
+ 590  sx6    194.89  -35.000   35.000   12.500
+ 591  sd2    195.28  -35.000   35.000   12.500
+ 592  qp8    195.44  -35.000   35.000   12.500
+ 593  qp8    195.60  -35.000   35.000   12.500
+ 594  sd13   199.08  -35.000   35.000   12.500
+ 595  sd13   202.56  -35.000   35.000   12.500
+ 596  qp8    202.72  -35.000   35.000   12.500
+ 597  qp8    202.88  -35.000   35.000   12.500
+ 598  sd2    203.27  -35.000   35.000   12.500
+ 599  sx8    203.27  -35.000   35.000   12.500
+ 600  sd3    203.47  -35.000   35.000   12.500
+ 601  qp7    203.70  -35.000   35.000   12.500
+ 602  qp7    203.93  -35.000   35.000   12.500
+ 603  sd4    204.32  -35.000   35.000   12.500
+ 604  sx7    204.32  -35.000   35.000   12.500
+ 605  sd5    204.52  -35.000   35.000   12.500
+ 606  qp6    204.68  -35.000   35.000   12.500
+ 607  qp6    204.84  -35.000   35.000   12.500
+ 608  sd7    205.28  -35.000   35.000   12.500
+ 609  bend2  205.46  -35.000   35.000   12.500
+ 610  bend3  205.63  -35.000   35.000   12.500
+ 611  bend3  205.81  -35.000   35.000   12.500
+ 612  bend3  205.98  -35.000   35.000   12.500
+ 613  bend3  206.16  -35.000   35.000   12.500
+ 614  bend4  206.33  -35.000   35.000   12.500
+ 615  sd7    206.77  -35.000   35.000   12.500
+ 616  qp9    206.93  -35.000   35.000   12.500
+ 617  qp9    207.09  -35.000   35.000   12.500
+ 618  sd8    207.29  -35.000   35.000   12.500
+ 619  sx9    207.29  -35.000   35.000   12.500
+ 620  sd9    207.77  -35.000   35.000   12.500
+ 621  qp10   207.93  -35.000   35.000   12.500
+ 622  qp10   208.09  -35.000   35.000   12.500
+ 623  sd8    208.29  -35.000   35.000   12.500
+ 624  sx10   208.29  -35.000   35.000   12.500
+ 625  sdacm  209.29  -35.000   35.000   12.500
+ 626  u20    211.09  -35.000   35.000   12.500
+ 627  sdacm  212.10  -35.000   35.000   12.500
+ 628  sx10   212.10  -35.000   35.000   12.500
+ 629  sd8    212.30  -35.000   35.000   12.500
+ 630  qp10   212.46  -35.000   35.000   12.500
+ 631  qp10   212.62  -35.000   35.000   12.500
+ 632  sd9    213.10  -35.000   35.000   12.500
+ 633  sx9    213.10  -35.000   35.000   12.500
+ 634  sd8    213.30  -35.000   35.000   12.500
+ 635  qp9    213.46  -35.000   35.000   12.500
+ 636  qp9    213.62  -35.000   35.000   12.500
+ 637  sd7    214.06  -35.000   35.000   12.500
+ 638  bend2  214.23  -35.000   35.000   12.500
+ 639  bend3  214.41  -35.000   35.000   12.500
+ 640  bend3  214.58  -35.000   35.000   12.500
+ 641  bend3  214.76  -35.000   35.000   12.500
+ 642  bend3  214.93  -35.000   35.000   12.500
+ 643  bend4  215.11  -35.000   35.000   12.500
+ 644  sd7    215.55  -35.000   35.000   12.500
+ 645  qp6    215.71  -35.000   35.000   12.500
+ 646  qp6    215.87  -35.000   35.000   12.500
+ 647  sd5    216.07  -35.000   35.000   12.500
+ 648  sx7    216.07  -35.000   35.000   12.500
+ 649  sd4    216.46  -35.000   35.000   12.500
+ 650  qp7    216.69  -35.000   35.000   12.500
+ 651  qp7    216.92  -35.000   35.000   12.500
+ 652  sd3    217.12  -35.000   35.000   12.500
+ 653  sx8    217.12  -35.000   35.000   12.500
+ 654  sd2    217.51  -35.000   35.000   12.500
+ 655  qp8    217.67  -35.000   35.000   12.500
+ 656  qp8    217.83  -35.000   35.000   12.500
+ 657  sd13   221.31  -35.000   35.000   12.500
+ 658  sd13   224.79  -35.000   35.000   12.500
+ 659  qp8    224.95  -35.000   35.000   12.500
+ 660  qp8    225.11  -35.000   35.000   12.500
+ 661  sd2    225.50  -35.000   35.000   12.500
+ 662  sx8    225.50  -35.000   35.000   12.500
+ 663  sd3    225.70  -35.000   35.000   12.500
+ 664  qp7    225.93  -35.000   35.000   12.500
+ 665  qp7    226.16  -35.000   35.000   12.500
+ 666  sd4    226.55  -35.000   35.000   12.500
+ 667  sx7    226.55  -35.000   35.000   12.500
+ 668  sd5    226.75  -35.000   35.000   12.500
+ 669  qp6    226.91  -35.000   35.000   12.500
+ 670  qp6    227.07  -35.000   35.000   12.500
+ 671  sd7    227.51  -35.000   35.000   12.500
+ 672  bend2  227.69  -35.000   35.000   12.500
+ 673  bend3  227.86  -35.000   35.000   12.500
+ 674  bend3  228.04  -35.000   35.000   12.500
+ 675  bend3  228.21  -35.000   35.000   12.500
+ 676  bend3  228.39  -35.000   35.000   12.500
+ 677  bend4  228.57  -35.000   35.000   12.500
+ 678  sd7    229.01  -35.000   35.000   12.500
+ 679  qp9    229.17  -35.000   35.000   12.500
+ 680  qp9    229.33  -35.000   35.000   12.500
+ 681  sd8    229.53  -35.000   35.000   12.500
+ 682  sx9    229.53  -35.000   35.000   12.500
+ 683  sd9    230.00  -35.000   35.000   12.500
+ 684  qp10   230.16  -35.000   35.000   12.500
+ 685  qp10   230.32  -35.000   35.000   12.500
+ 686  sd8    230.52  -35.000   35.000   12.500
+ 687  sx10   230.52  -35.000   35.000   12.500
+ 688  sdacm  231.53  -35.000   35.000   12.500
+ 689  u20    233.33  -35.000   35.000   12.500
+ 690  sdacm  234.33  -35.000   35.000   12.500
+ 691  sx10   234.33  -35.000   35.000   12.500
+ 692  sd8    234.53  -35.000   35.000   12.500
+ 693  qp10   234.69  -35.000   35.000   12.500
+ 694  qp10   234.85  -35.000   35.000   12.500
+ 695  sd9    235.33  -35.000   35.000   12.500
+ 696  sx9    235.33  -35.000   35.000   12.500
+ 697  sd8    235.53  -35.000   35.000   12.500
+ 698  qp9    235.69  -35.000   35.000   12.500
+ 699  qp9    235.85  -35.000   35.000   12.500
+ 700  sd7    236.29  -35.000   35.000   12.500
+ 701  bend2  236.46  -35.000   35.000   12.500
+ 702  bend3  236.64  -35.000   35.000   12.500
+ 703  bend3  236.81  -35.000   35.000   12.500
+ 704  bend3  236.99  -35.000   35.000   12.500
+ 705  bend3  237.16  -35.000   35.000   12.500
+ 706  bend4  237.34  -35.000   35.000   12.500
+ 707  sd7    237.78  -35.000   35.000   12.500
+ 708  qp6    237.94  -35.000   35.000   12.500
+ 709  qp6    238.10  -35.000   35.000   12.500
+ 710  sd5    238.30  -35.000   35.000   12.500
+ 711  sx7    238.30  -35.000   35.000   12.500
+ 712  sd4    238.69  -35.000   35.000   12.500
+ 713  qp7    238.92  -35.000   35.000   12.500
+ 714  qp7    239.15  -35.000   35.000   12.500
+ 715  sd3    239.35  -35.000   35.000   12.500
+ 716  sx8    239.35  -35.000   35.000   12.500
+ 717  sd2    239.74  -35.000   35.000   12.500
+ 718  qp8    239.90  -35.000   35.000   12.500
+ 719  qp8    240.06  -35.000   35.000   12.500
+ 720  sd13   243.54  -35.000   35.000   12.500
+ 721  sd13   247.03  -35.000   35.000   12.500
+ 722  qp8    247.19  -35.000   35.000   12.500
+ 723  qp8    247.34  -35.000   35.000   12.500
+ 724  sd2    247.74  -35.000   35.000   12.500
+ 725  sx6    247.74  -35.000   35.000   12.500
+ 726  sd3    247.94  -35.000   35.000   12.500
+ 727  qp7    248.16  -35.000   35.000   12.500
+ 728  qp7    248.40  -35.000   35.000   12.500
+ 729  sd4    248.78  -35.000   35.000   12.500
+ 730  sx5    248.78  -35.000   35.000   12.500
+ 731  sd5    248.99  -35.000   35.000   12.500
+ 732  qp6    249.15  -35.000   35.000   12.500
+ 733  qp6    249.31  -35.000   35.000   12.500
+ 734  sd7    249.75  -35.000   35.000   12.500
+ 735  bend2  249.92  -35.000   35.000   12.500
+ 736  bend3  250.10  -35.000   35.000   12.500
+ 737  bend3  250.27  -35.000   35.000   12.500
+ 738  bend3  250.45  -35.000   35.000   12.500
+ 739  bend3  250.62  -35.000   35.000   12.500
+ 740  bend4  250.80  -35.000   35.000   12.500
+ 741  sd7    251.24  -35.000   35.000   12.500
+ 742  qp4    251.40  -35.000   35.000   12.500
+ 743  qp4    251.56  -35.000   35.000   12.500
+ 744  sd8    251.76  -35.000   35.000   12.500
+ 745  sx3    251.76  -35.000   35.000   12.500
+ 746  sd9    252.23  -35.000   35.000   12.500
+ 747  qp5    252.39  -35.000   35.000   12.500
+ 748  qp5    252.55  -35.000   35.000   12.500
+ 749  sd10   253.02  -35.000   35.000   12.500
+ 750  sx4    253.02  -35.000   35.000   12.500
+ 751  sd12   253.49  -35.000   35.000   12.500
+ 752  qp5    253.65  -35.000   35.000   12.500
+ 753  qp5    253.81  -35.000   35.000   12.500
+ 754  sd9    254.29  -35.000   35.000   12.500
+ 755  sx3    254.29  -35.000   35.000   12.500
+ 756  sd8    254.49  -35.000   35.000   12.500
+ 757  qp4    254.65  -35.000   35.000   12.500
+ 758  qp4    254.81  -35.000   35.000   12.500
+ 759  sd7    255.25  -35.000   35.000   12.500
+ 760  bend2  255.43  -35.000   35.000   12.500
+ 761  bend3  255.60  -35.000   35.000   12.500
+ 762  bend3  255.78  -35.000   35.000   12.500
+ 763  bend3  255.95  -35.000   35.000   12.500
+ 764  bend3  256.13  -35.000   35.000   12.500
+ 765  bend4  256.30  -35.000   35.000   12.500
+ 766  sd6    257.09  -35.000   35.000   12.500
+ 767  sx2    257.09  -35.000   35.000   12.500
+ 768  sd5    257.29  -35.000   35.000   12.500
+ 769  qp3    257.45  -35.000   35.000   12.500
+ 770  qp3    257.61  -35.000   35.000   12.500
+ 771  sd14   258.20  -35.000   35.000   12.500
+ 772  qp2    258.43  -35.000   35.000   12.500
+ 773  qp2    258.66  -35.000   35.000   12.500
+ 774  sd3    258.86  -35.000   35.000   12.500
+ 775  sx1    258.86  -35.000   35.000   12.500
+ 776  sd2    259.25  -35.000   35.000   12.500
+ 777  qp1    259.41  -35.000   35.000   12.500
+ 778  qp1    259.57  -35.000   35.000   12.500
+ 779  sd1    265.57  -35.000   35.000   12.500
+ 780  sd1    271.57  -35.000   35.000   12.500
+ 781  qp1    271.73  -35.000   35.000   12.500
+ 782  qp1    271.89  -35.000   35.000   12.500
+ 783  sd2    272.28  -35.000   35.000   12.500
+ 784  sx1    272.28  -35.000   35.000   12.500
+ 785  sd3    272.48  -35.000   35.000   12.500
+ 786  qp2    272.71  -35.000   35.000   12.500
+ 787  qp2    272.94  -35.000   35.000   12.500
+ 788  sd14   273.53  -35.000   35.000   12.500
+ 789  qp3    273.69  -35.000   35.000   12.500
+ 790  qp3    273.85  -35.000   35.000   12.500
+ 791  sd5    274.05  -35.000   35.000   12.500
+ 792  sx2    274.05  -35.000   35.000   12.500
+ 793  sd6    274.84  -35.000   35.000   12.500
+ 794  bend2  275.02  -35.000   35.000   12.500
+ 795  bend3  275.19  -35.000   35.000   12.500
+ 796  bend3  275.37  -35.000   35.000   12.500
+ 797  bend3  275.54  -35.000   35.000   12.500
+ 798  bend3  275.72  -35.000   35.000   12.500
+ 799  bend4  275.89  -35.000   35.000   12.500
+ 800  sd7    276.33  -35.000   35.000   12.500
+ 801  qp4    276.49  -35.000   35.000   12.500
+ 802  qp4    276.65  -35.000   35.000   12.500
+ 803  sd8    276.85  -35.000   35.000   12.500
+ 804  sx3    276.85  -35.000   35.000   12.500
+ 805  sd9    277.33  -35.000   35.000   12.500
+ 806  qp5    277.49  -35.000   35.000   12.500
+ 807  qp5    277.65  -35.000   35.000   12.500
+ 808  sd12   278.12  -35.000   35.000   12.500
+ 809  sx4    278.12  -35.000   35.000   12.500
+ 810  sd10   278.59  -35.000   35.000   12.500
+ 811  qp5    278.75  -35.000   35.000   12.500
+ 812  qp5    278.91  -35.000   35.000   12.500
+ 813  sd9    279.39  -35.000   35.000   12.500
+ 814  sx3    279.39  -35.000   35.000   12.500
+ 815  sd8    279.59  -35.000   35.000   12.500
+ 816  qp4    279.75  -35.000   35.000   12.500
+ 817  qp4    279.91  -35.000   35.000   12.500
+ 818  sd7    280.35  -35.000   35.000   12.500
+ 819  bend2  280.52  -35.000   35.000   12.500
+ 820  bend3  280.70  -35.000   35.000   12.500
+ 821  bend3  280.87  -35.000   35.000   12.500
+ 822  bend3  281.05  -35.000   35.000   12.500
+ 823  bend3  281.22  -35.000   35.000   12.500
+ 824  bend4  281.40  -35.000   35.000   12.500
+ 825  sd7    281.84  -35.000   35.000   12.500
+ 826  qp6    282.00  -35.000   35.000   12.500
+ 827  qp6    282.16  -35.000   35.000   12.500
+ 828  sd5    282.36  -35.000   35.000   12.500
+ 829  sx5    282.36  -35.000   35.000   12.500
+ 830  sd4    282.75  -35.000   35.000   12.500
+ 831  qp7    282.98  -35.000   35.000   12.500
+ 832  qp7    283.21  -35.000   35.000   12.500
+ 833  sd3    283.41  -35.000   35.000   12.500
+ 834  sx6    283.41  -35.000   35.000   12.500
+ 835  sd2    283.80  -35.000   35.000   12.500
+ 836  qp8    283.96  -35.000   35.000   12.500
+ 837  qp8    284.12  -35.000   35.000   12.500
+ 838  sd13   287.60  -35.000   35.000   12.500
+ 839  sd13   291.09  -35.000   35.000   12.500
+ 840  qp8    291.25  -35.000   35.000   12.500
+ 841  qp8    291.41  -35.000   35.000   12.500
+ 842  sd2    291.80  -35.000   35.000   12.500
+ 843  sx8    291.80  -35.000   35.000   12.500
+ 844  sd3    292.00  -35.000   35.000   12.500
+ 845  qp7    292.23  -35.000   35.000   12.500
+ 846  qp7    292.46  -35.000   35.000   12.500
+ 847  sd4    292.85  -35.000   35.000   12.500
+ 848  sx7    292.85  -35.000   35.000   12.500
+ 849  sd5    293.05  -35.000   35.000   12.500
+ 850  qp6    293.21  -35.000   35.000   12.500
+ 851  qp6    293.37  -35.000   35.000   12.500
+ 852  sd7    293.81  -35.000   35.000   12.500
+ 853  bend2  293.98  -35.000   35.000   12.500
+ 854  bend3  294.16  -35.000   35.000   12.500
+ 855  bend3  294.33  -35.000   35.000   12.500
+ 856  bend3  294.51  -35.000   35.000   12.500
+ 857  bend3  294.68  -35.000   35.000   12.500
+ 858  bend4  294.86  -35.000   35.000   12.500
+ 859  sd7    295.30  -35.000   35.000   12.500
+ 860  qp9    295.46  -35.000   35.000   12.500
+ 861  qp9    295.62  -35.000   35.000   12.500
+ 862  sd8    295.82  -35.000   35.000   12.500
+ 863  sx9    295.82  -35.000   35.000   12.500
+ 864  sd9    296.29  -35.000   35.000   12.500
+ 865  qp10   296.45  -35.000   35.000   12.500
+ 866  qp10   296.61  -35.000   35.000   12.500
+ 867  sd8    296.81  -35.000   35.000   12.500
+ 868  sx10   296.81  -35.000   35.000   12.500
+ 869  sdacm  297.82  -35.000   35.000   12.500
+ 870  u20    299.62  -35.000   35.000   12.500
+ 871  sdacm  300.62  -35.000   35.000   12.500
+ 872  sx10   300.62  -35.000   35.000   12.500
+ 873  sd8    300.82  -35.000   35.000   12.500
+ 874  qp10   300.98  -35.000   35.000   12.500
+ 875  qp10   301.14  -35.000   35.000   12.500
+ 876  sd9    301.62  -35.000   35.000   12.500
+ 877  sx9    301.62  -35.000   35.000   12.500
+ 878  sd8    301.82  -35.000   35.000   12.500
+ 879  qp9    301.98  -35.000   35.000   12.500
+ 880  qp9    302.14  -35.000   35.000   12.500
+ 881  sd7    302.58  -35.000   35.000   12.500
+ 882  bend2  302.76  -35.000   35.000   12.500
+ 883  bend3  302.93  -35.000   35.000   12.500
+ 884  bend3  303.11  -35.000   35.000   12.500
+ 885  bend3  303.28  -35.000   35.000   12.500
+ 886  bend3  303.46  -35.000   35.000   12.500
+ 887  bend4  303.63  -35.000   35.000   12.500
+ 888  sd7    304.07  -35.000   35.000   12.500
+ 889  qp6    304.23  -35.000   35.000   12.500
+ 890  qp6    304.39  -35.000   35.000   12.500
+ 891  sd5    304.59  -35.000   35.000   12.500
+ 892  sx7    304.59  -35.000   35.000   12.500
+ 893  sd4    304.98  -35.000   35.000   12.500
+ 894  qp7    305.21  -35.000   35.000   12.500
+ 895  qp7    305.44  -35.000   35.000   12.500
+ 896  sd3    305.64  -35.000   35.000   12.500
+ 897  sx8    305.64  -35.000   35.000   12.500
+ 898  sd2    306.03  -35.000   35.000   12.500
+ 899  qp8    306.19  -35.000   35.000   12.500
+ 900  qp8    306.35  -35.000   35.000   12.500
+ 901  sd13   309.83  -35.000   35.000   12.500
+ 902  sd13   313.32  -35.000   35.000   12.500
+ 903  qp8    313.48  -35.000   35.000   12.500
+ 904  qp8    313.64  -35.000   35.000   12.500
+ 905  sd2    314.03  -35.000   35.000   12.500
+ 906  sx8    314.03  -35.000   35.000   12.500
+ 907  sd3    314.23  -35.000   35.000   12.500
+ 908  qp7    314.46  -35.000   35.000   12.500
+ 909  qp7    314.69  -35.000   35.000   12.500
+ 910  sd4    315.08  -35.000   35.000   12.500
+ 911  sx7    315.08  -35.000   35.000   12.500
+ 912  sd5    315.28  -35.000   35.000   12.500
+ 913  qp6    315.44  -35.000   35.000   12.500
+ 914  qp6    315.60  -35.000   35.000   12.500
+ 915  sd7    316.04  -35.000   35.000   12.500
+ 916  bend2  316.21  -35.000   35.000   12.500
+ 917  bend3  316.39  -35.000   35.000   12.500
+ 918  bend3  316.56  -35.000   35.000   12.500
+ 919  bend3  316.74  -35.000   35.000   12.500
+ 920  bend3  316.91  -35.000   35.000   12.500
+ 921  bend4  317.09  -35.000   35.000   12.500
+ 922  sd7    317.53  -35.000   35.000   12.500
+ 923  qp9    317.69  -35.000   35.000   12.500
+ 924  qp9    317.85  -35.000   35.000   12.500
+ 925  sd8    318.05  -35.000   35.000   12.500
+ 926  sx9    318.05  -35.000   35.000   12.500
+ 927  sd9    318.53  -35.000   35.000   12.500
+ 928  qp10   318.69  -35.000   35.000   12.500
+ 929  qp10   318.85  -35.000   35.000   12.500
+ 930  sd8    319.05  -35.000   35.000   12.500
+ 931  sx10   319.05  -35.000   35.000   12.500
+ 932  sdac   320.95  -35.000   35.000   12.500
+ 933  sdac   322.86  -35.000   35.000   12.500
+ 934  sx10   322.86  -35.000   35.000   12.500
+ 935  sd8    323.06  -35.000   35.000   12.500
+ 936  qp10   323.22  -35.000   35.000   12.500
+ 937  qp10   323.38  -35.000   35.000   12.500
+ 938  sd9    323.85  -35.000   35.000   12.500
+ 939  sx9    323.85  -35.000   35.000   12.500
+ 940  sd8    324.05  -35.000   35.000   12.500
+ 941  qp9    324.21  -35.000   35.000   12.500
+ 942  qp9    324.37  -35.000   35.000   12.500
+ 943  sd7    324.81  -35.000   35.000   12.500
+ 944  bend2  324.99  -35.000   35.000   12.500
+ 945  bend3  325.16  -35.000   35.000   12.500
+ 946  bend3  325.34  -35.000   35.000   12.500
+ 947  bend3  325.51  -35.000   35.000   12.500
+ 948  bend3  325.69  -35.000   35.000   12.500
+ 949  bend4  325.86  -35.000   35.000   12.500
+ 950  sd7    326.30  -35.000   35.000   12.500
+ 951  qp6    326.46  -35.000   35.000   12.500
+ 952  qp6    326.62  -35.000   35.000   12.500
+ 953  sd5    326.82  -35.000   35.000   12.500
+ 954  sx7    326.82  -35.000   35.000   12.500
+ 955  sd4    327.21  -35.000   35.000   12.500
+ 956  qp7    327.44  -35.000   35.000   12.500
+ 957  qp7    327.67  -35.000   35.000   12.500
+ 958  sd3    327.87  -35.000   35.000   12.500
+ 959  sx8    327.87  -35.000   35.000   12.500
+ 960  sd2    328.26  -35.000   35.000   12.500
+ 961  qp8    328.42  -35.000   35.000   12.500
+ 962  qp8    328.58  -35.000   35.000   12.500
+ 963  sd13   332.07  -35.000   35.000   12.500
+ 964  sd13   335.55  -35.000   35.000   12.500
+ 965  qp8    335.71  -35.000   35.000   12.500
+ 966  qp8    335.87  -35.000   35.000   12.500
+ 967  sd2    336.26  -35.000   35.000   12.500
+ 968  sx6    336.26  -35.000   35.000   12.500
+ 969  sd3    336.46  -35.000   35.000   12.500
+ 970  qp7    336.69  -35.000   35.000   12.500
+ 971  qp7    336.92  -35.000   35.000   12.500
+ 972  sd4    337.31  -35.000   35.000   12.500
+ 973  sx5    337.31  -35.000   35.000   12.500
+ 974  sd5    337.51  -35.000   35.000   12.500
+ 975  qp6    337.67  -35.000   35.000   12.500
+ 976  qp6    337.83  -35.000   35.000   12.500
+ 977  sd7    338.27  -35.000   35.000   12.500
+ 978  bend2  338.44  -35.000   35.000   12.500
+ 979  bend3  338.62  -35.000   35.000   12.500
+ 980  bend3  338.80  -35.000   35.000   12.500
+ 981  bend3  338.97  -35.000   35.000   12.500
+ 982  bend3  339.15  -35.000   35.000   12.500
+ 983  bend4  339.32  -35.000   35.000   12.500
+ 984  sd7    339.76  -35.000   35.000   12.500
+ 985  qp4    339.92  -35.000   35.000   12.500
+ 986  qp4    340.08  -35.000   35.000   12.500
+ 987  sd8    340.28  -35.000   35.000   12.500
+ 988  sx3    340.28  -35.000   35.000   12.500
+ 989  sd9    340.76  -35.000   35.000   12.500
+ 990  qp5    340.92  -35.000   35.000   12.500
+ 991  qp5    341.08  -35.000   35.000   12.500
+ 992  sd10   341.55  -35.000   35.000   12.500
+ 993  sx4    341.55  -35.000   35.000   12.500
+ 994  sd12   342.02  -35.000   35.000   12.500
+ 995  qp5    342.18  -35.000   35.000   12.500
+ 996  qp5    342.34  -35.000   35.000   12.500
+ 997  sd9    342.81  -35.000   35.000   12.500
+ 998  sx3    342.81  -35.000   35.000   12.500
+ 999  sd8    343.01  -35.000   35.000   12.500
+1000  qp4    343.17  -35.000   35.000   12.500
+1001  qp4    343.33  -35.000   35.000   12.500
+1002  sd7    343.77  -35.000   35.000   12.500
+1003  bend2  343.95  -35.000   35.000   12.500
+1004  bend3  344.13  -35.000   35.000   12.500
+1005  bend3  344.30  -35.000   35.000   12.500
+1006  bend3  344.48  -35.000   35.000   12.500
+1007  bend3  344.65  -35.000   35.000   12.500
+1008  bend4  344.83  -35.000   35.000   12.500
+1009  sd6    345.62  -35.000   35.000   12.500
+1010  sx2    345.62  -35.000   35.000   12.500
+1011  sd5    345.82  -35.000   35.000   12.500
+1012  qp3    345.98  -35.000   35.000   12.500
+1013  qp3    346.14  -35.000   35.000   12.500
+1014  sd14   346.73  -35.000   35.000   12.500
+1015  qp2    346.96  -35.000   35.000   12.500
+1016  qp2    347.19  -35.000   35.000   12.500
+1017  sd3    347.39  -35.000   35.000   12.500
+1018  sx1    347.39  -35.000   35.000   12.500
+1019  sd2    347.78  -35.000   35.000   12.500
+1020  qp1    347.94  -35.000   35.000   12.500
+1021  qp1    348.10  -35.000   35.000   12.500
+1022  sd1    354.10  -35.000   35.000   12.500
+1023  cav    354.10  -35.000   35.000   12.500
+1024  fin    354.10  -35.000   35.000   12.500
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/linlat.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/linlat.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/linlat.out	(revision 17)
@@ -0,0 +1,1028 @@
+# TRACY II v. SYNCHROTRON SOLEIL -- linlat.out -- Wed Mar 17 19:37:58 2004 
+#       name           s    alphax  betax   nux   etax   etapx  alphay  betay   nuy   etay   etapy
+#                     [m]            [m]           [m]                   [m]           [m]
+#                     exit        
+   1:debut            0.00   0.002 10.672  0.000  0.203  0.000  -0.007  7.951  0.000   5.072e-03   3.263e-04
+   2:sd1a             0.90  -0.082 10.744  0.013  0.203  0.000  -0.120  8.065  0.018   5.366e-03   3.263e-04
+   3:ssep             0.90  -0.082 10.744  0.013  0.203  0.000  -0.120  8.065  0.018   5.366e-03   3.263e-04
+   4:sep              1.10  -0.100 10.781  0.016  0.203  0.000  -0.144  8.118  0.022   5.431e-03   3.263e-04
+   5:sep              1.30  -0.119 10.825  0.019  0.203  0.000  -0.169  8.181  0.026   5.497e-03   3.263e-04
+   6:sep              1.50  -0.138 10.876  0.022  0.203  0.000  -0.194  8.254  0.030   5.562e-03   3.263e-04
+   7:esep             1.50  -0.138 10.876  0.022  0.203  0.000  -0.194  8.254  0.030   5.562e-03   3.263e-04
+   8:sd1c             5.20  -0.481 13.165  0.072  0.203  0.000  -0.655 11.398  0.091   6.769e-03   3.263e-04
+   9:ehu600           5.20  -0.481 13.165  0.072  0.203  0.000  -0.655 11.398  0.091   6.769e-03   3.263e-04
+  10:sd1d             6.00  -0.555 13.995  0.081  0.203  0.000  -0.755 12.526  0.102   7.030e-03   3.263e-04
+  11:qp1              6.16  -3.314 14.608  0.083  0.206  0.039   1.599 12.390  0.104   6.975e-03  -1.022e-03
+  12:qp1              6.32  -6.478 16.158  0.085  0.215  0.079   3.761 11.523  0.106   6.705e-03  -2.339e-03
+  13:sd2              6.71  -7.515 21.616  0.088  0.246  0.079   3.249  8.789  0.112   5.793e-03  -2.339e-03
+  14:sx1              6.71  -7.515 21.616  0.088  0.246  0.079   3.249  8.789  0.112   5.793e-03  -2.339e-03
+  15:sd3              6.91  -8.046 24.728  0.089  0.262  0.079   2.986  7.542  0.116   5.325e-03  -2.339e-03
+  16:qp2              7.14   1.945 26.175  0.091  0.268 -0.026   0.073  6.859  0.121   5.040e-03  -1.581e-04
+  17:qp2              7.37  11.253 23.044  0.092  0.250 -0.129  -2.814  7.471  0.127   5.251e-03   2.005e-03
+  18:sd14             7.96   7.986 11.693  0.098  0.174 -0.129  -3.517 11.206  0.137   6.434e-03   2.005e-03
+  19:qp3              8.12   6.026  9.465  0.100  0.155 -0.110  -2.307 12.144  0.139   6.696e-03   1.270e-03
+  20:qp3              8.28   4.511  7.790  0.103  0.138 -0.093  -0.929 12.665  0.141   6.839e-03   5.098e-04
+  21:sd5              8.48   3.963  6.095  0.108  0.120 -0.093  -0.958 13.043  0.143   6.941e-03   5.098e-04
+  22:sx2              8.48   3.963  6.095  0.108  0.120 -0.093  -0.958 13.043  0.143   6.941e-03   5.098e-04
+  23:sd6              9.27   1.799  1.543  0.149  0.046 -0.093  -1.074 14.648  0.153   7.344e-03   5.098e-04
+  24:bend2            9.45   1.307  1.003  0.172  0.033 -0.060  -0.825 14.934  0.154   7.409e-03   3.748e-04
+  25:bend3            9.62   0.839  0.627  0.207  0.025 -0.028  -0.844 15.227  0.156   7.475e-03   3.748e-04
+  26:bend3            9.80   0.366  0.415  0.263  0.023  0.005  -0.864 15.527  0.158   7.541e-03   3.748e-04
+  27:bend3            9.97  -0.107  0.370  0.336  0.027  0.038  -0.884 15.833  0.160   7.607e-03   3.748e-04
+  28:bend3           10.15  -0.581  0.491  0.403  0.036  0.070  -0.903 16.147  0.162   7.672e-03   3.748e-04
+  29:bend4           10.32  -1.066  0.777  0.449  0.051  0.104  -0.620 16.467  0.163   7.738e-03   2.326e-04
+  30:sd7             10.76  -2.271  2.245  0.503  0.097  0.104  -0.657 17.029  0.167   7.840e-03   2.326e-04
+  31:qp4             10.92  -3.397  3.141  0.513  0.115  0.127   3.084 16.636  0.169   7.740e-03  -1.486e-03
+  32:qp4             11.08  -5.012  4.471  0.519  0.138  0.155   6.390 15.102  0.171   7.368e-03  -3.147e-03
+  33:sd8             11.28  -6.181  6.710  0.525  0.169  0.155   5.836 12.657  0.173   6.739e-03  -3.147e-03
+  34:sx3             11.28  -6.181  6.710  0.525  0.169  0.155   5.836 12.657  0.173   6.739e-03  -3.147e-03
+  35:sd9             11.76  -8.963 13.923  0.533  0.243  0.155   4.517  7.725  0.180   5.240e-03  -3.147e-03
+  36:qp5             11.92  -4.937 16.184  0.535  0.261  0.079   2.091  6.685  0.184   4.866e-03  -1.545e-03
+  37:qp5             12.08   0.030 16.982  0.536  0.268 -0.002   0.076  6.344  0.188   4.741e-03  -1.427e-05
+  38:sd12            12.55   0.003 16.966  0.541  0.267 -0.002   0.002  6.307  0.200   4.735e-03  -1.427e-05
+  39:sx4             12.55   0.003 16.966  0.541  0.267 -0.002   0.002  6.307  0.200   4.735e-03  -1.427e-05
+  40:sd10            13.02  -0.025 16.977  0.545  0.266 -0.002  -0.072  6.340  0.212   4.728e-03  -1.427e-05
+  41:qp5             13.18   4.940 16.177  0.546  0.259 -0.081  -2.086  6.680  0.215   4.854e-03   1.593e-03
+  42:qp5             13.34   8.964 13.916  0.548  0.240 -0.157  -4.510  7.719  0.219   5.241e-03   3.269e-03
+  43:sd9             13.82   6.180  6.702  0.556  0.165 -0.157  -5.826 12.642  0.227   6.799e-03   3.269e-03
+  44:sx3             13.82   6.180  6.702  0.556  0.165 -0.157  -5.826 12.642  0.227   6.799e-03   3.269e-03
+  45:sd8             14.02   5.011  4.464  0.562  0.134 -0.157  -6.379 15.083  0.229   7.453e-03   3.269e-03
+  46:qp4             14.18   3.395  3.135  0.569  0.111 -0.130  -3.076 16.614  0.231   7.840e-03   1.562e-03
+  47:qp4             14.34   2.271  2.239  0.578  0.092 -0.108   0.660 17.006  0.232   7.949e-03  -2.007e-04
+  48:sd7             14.78   1.063  0.772  0.632  0.045 -0.108   0.623 16.441  0.236   7.861e-03  -2.007e-04
+  49:bend2           14.95   0.577  0.487  0.678  0.029 -0.074   0.905 16.120  0.238   7.801e-03  -3.451e-04
+  50:bend3           15.13   0.103  0.368  0.746  0.018 -0.042   0.886 15.806  0.240   7.740e-03  -3.451e-04
+  51:bend3           15.30  -0.372  0.415  0.819  0.014 -0.009   0.866 15.499  0.241   7.680e-03  -3.451e-04
+  52:bend3           15.48  -0.845  0.628  0.875  0.015  0.024   0.846 15.199  0.243   7.619e-03  -3.451e-04
+  53:bend3           15.65  -1.314  1.007  0.910  0.022  0.056   0.827 14.905  0.245   7.559e-03  -3.451e-04
+  54:bend4           15.83  -1.806  1.550  0.932  0.035  0.089   1.075 14.619  0.247   7.498e-03  -4.829e-04
+  55:sd7             16.27  -3.014  3.671  0.962  0.074  0.089   1.011 13.701  0.252   7.286e-03  -4.829e-04
+  56:qp6             16.43  -4.305  4.830  0.968  0.090  0.104   3.335 12.999  0.254   7.106e-03  -1.754e-03
+  57:qp6             16.59  -6.093  6.478  0.972  0.108  0.122   5.280 11.607  0.256   6.727e-03  -2.971e-03
+  58:sd5             16.79  -7.269  9.151  0.976  0.132  0.122   4.783  9.595  0.259   6.133e-03  -2.971e-03
+  59:sx5             16.79  -7.269  9.151  0.976  0.132  0.122   4.783  9.595  0.259   6.133e-03  -2.971e-03
+  60:sd4             17.18  -9.564 15.716  0.982  0.180  0.122   3.813  6.242  0.267   4.974e-03  -2.971e-03
+  61:qp7             17.41  -1.257 18.306  0.984  0.197  0.025   0.687  5.246  0.273   4.581e-03  -4.759e-04
+  62:qp7             17.64   7.617 16.784  0.986  0.191 -0.075  -2.103  5.560  0.280   4.751e-03   1.966e-03
+  63:sd3             17.84   6.914 13.877  0.988  0.176 -0.075  -2.298  6.440  0.285   5.144e-03   1.966e-03
+  64:sx6             17.84   6.914 13.877  0.988  0.176 -0.075  -2.298  6.440  0.285   5.144e-03   1.966e-03
+  65:sd2             18.23   5.543  9.019  0.993  0.147 -0.075  -2.678  8.380  0.294   5.911e-03   1.966e-03
+  66:qp8             18.39   2.926  7.684  0.996  0.138 -0.036  -0.383  8.877  0.297   6.087e-03   2.335e-04
+  67:qp8             18.55   0.827  7.092  1.000  0.135  0.001   1.977  8.618  0.300   5.985e-03  -1.505e-03
+  68:sd13c           19.28   0.654  6.007  1.018  0.135  0.001   1.561  6.026  0.316   4.883e-03  -1.505e-03
+  69:ssdm            19.28   0.654  6.007  1.018  0.135  0.001   1.561  6.026  0.316   4.883e-03  -1.505e-03
+  70:sd13a           19.48   0.607  5.755  1.023  0.135  0.001   1.447  5.425  0.321   4.582e-03  -1.505e-03
+  71:sd13a           19.68   0.560  5.522  1.029  0.136  0.001   1.334  4.869  0.327   4.281e-03  -1.505e-03
+  72:sd13a           19.88   0.512  5.308  1.035  0.136  0.001   1.220  4.358  0.334   3.980e-03  -1.505e-03
+  73:sd13a           20.08   0.465  5.112  1.041  0.136  0.001   1.106  3.893  0.342   3.679e-03  -1.505e-03
+  74:sd13a           20.28   0.418  4.936  1.047  0.136  0.001   0.992  3.473  0.351   3.378e-03  -1.505e-03
+  75:sd13a           20.48   0.371  4.778  1.053  0.136  0.001   0.879  3.099  0.360   3.077e-03  -1.505e-03
+  76:sd13a           20.68   0.324  4.639  1.060  0.136  0.001   0.765  2.770  0.371   2.776e-03  -1.505e-03
+  77:sd13a           20.88   0.277  4.519  1.067  0.136  0.001   0.651  2.487  0.383   2.475e-03  -1.505e-03
+  78:sd13a           21.08   0.229  4.418  1.074  0.137  0.001   0.538  2.249  0.397   2.174e-03  -1.505e-03
+  79:sd13a           21.28   0.182  4.335  1.081  0.137  0.001   0.424  2.057  0.411   1.873e-03  -1.505e-03
+  80:sd13a           21.48   0.135  4.272  1.089  0.137  0.001   0.310  1.910  0.427   1.572e-03  -1.505e-03
+  81:sd13a           21.68   0.088  4.227  1.096  0.137  0.001   0.197  1.808  0.444   1.271e-03  -1.505e-03
+  82:sd13a           21.88   0.041  4.202  1.104  0.137  0.001   0.083  1.752  0.462   9.700e-04  -1.505e-03
+  83:sd13b           22.03   0.005  4.195  1.109  0.137  0.001  -0.002  1.740  0.476   7.443e-04  -1.505e-03
+  84:sd13b           22.18  -0.030  4.198  1.115  0.137  0.001  -0.088  1.754  0.489   5.186e-04  -1.505e-03
+  85:sd13a           22.38  -0.077  4.220  1.123  0.137  0.001  -0.201  1.812  0.507   2.176e-04  -1.505e-03
+  86:sd13a           22.58  -0.124  4.260  1.130  0.138  0.001  -0.315  1.915  0.524  -8.341e-05  -1.505e-03
+  87:sd13a           22.78  -0.172  4.319  1.137  0.138  0.001  -0.429  2.063  0.540  -3.844e-04  -1.505e-03
+  88:sd13a           22.98  -0.219  4.398  1.145  0.138  0.001  -0.542  2.258  0.555  -6.854e-04  -1.505e-03
+  89:sd13a           23.18  -0.266  4.494  1.152  0.138  0.001  -0.656  2.497  0.568  -9.864e-04  -1.505e-03
+  90:sd13a           23.38  -0.313  4.610  1.159  0.138  0.001  -0.770  2.782  0.580  -1.287e-03  -1.505e-03
+  91:sd13a           23.58  -0.360  4.745  1.166  0.138  0.001  -0.883  3.113  0.591  -1.588e-03  -1.505e-03
+  92:sd13a           23.78  -0.407  4.898  1.172  0.138  0.001  -0.997  3.489  0.601  -1.889e-03  -1.505e-03
+  93:sd13a           23.98  -0.455  5.071  1.178  0.138  0.001  -1.111  3.911  0.609  -2.190e-03  -1.505e-03
+  94:sd13a           24.18  -0.502  5.262  1.185  0.139  0.001  -1.224  4.378  0.617  -2.491e-03  -1.505e-03
+  95:sd13a           24.38  -0.549  5.472  1.190  0.139  0.001  -1.338  4.890  0.624  -2.792e-03  -1.505e-03
+  96:sd13a           24.58  -0.596  5.701  1.196  0.139  0.001  -1.452  5.448  0.630  -3.093e-03  -1.505e-03
+  97:sd13a           24.78  -0.643  5.949  1.202  0.139  0.001  -1.565  6.051  0.635  -3.394e-03  -1.505e-03
+  98:esdm            24.78  -0.643  5.949  1.202  0.139  0.001  -1.565  6.051  0.635  -3.394e-03  -1.505e-03
+  99:eesdm           24.78  -0.643  5.949  1.202  0.139  0.001  -1.565  6.051  0.635  -3.394e-03  -1.505e-03
+ 100:sd13c           25.51  -0.816  7.018  1.220  0.139  0.001  -1.982  8.650  0.651  -4.497e-03  -1.505e-03
+ 101:qp8             25.67  -2.894  7.603  1.223  0.143  0.039   0.387  8.909  0.654  -4.644e-03  -3.307e-04
+ 102:qp8             25.83  -5.483  8.924  1.226  0.152  0.079   2.690  8.409  0.657  -4.602e-03   8.547e-04
+ 103:sd2             26.22  -6.840 13.730  1.232  0.183  0.079   2.308  6.460  0.666  -4.269e-03   8.547e-04
+ 104:sx8             26.22  -6.840 13.730  1.232  0.183  0.079   2.308  6.460  0.666  -4.269e-03   8.547e-04
+ 105:sd3             26.42  -7.536 16.606  1.234  0.199  0.079   2.113  5.576  0.671  -4.098e-03   8.547e-04
+ 106:qp7             26.65   1.243 18.113  1.236  0.205 -0.025  -0.685  5.259  0.678  -4.142e-03  -1.248e-03
+ 107:qp7             26.88   9.462 15.550  1.238  0.187 -0.126  -3.816  6.256  0.684  -4.683e-03  -3.497e-03
+ 108:sd4             27.27   7.191  9.055  1.243  0.138 -0.126  -4.786  9.611  0.692  -6.047e-03  -3.497e-03
+ 109:sx7             27.27   7.191  9.055  1.243  0.138 -0.126  -4.786  9.611  0.692  -6.047e-03  -3.497e-03
+ 110:sd5             27.47   6.027  6.411  1.247  0.113 -0.126  -5.283 11.625  0.695  -6.746e-03  -3.497e-03
+ 111:qp6             27.63   4.258  4.781  1.252  0.094 -0.107  -3.334 13.017  0.697  -7.208e-03  -2.254e-03
+ 112:qp6             27.79   2.980  3.634  1.258  0.079 -0.092  -1.007 13.718  0.699  -7.464e-03  -9.448e-04
+ 113:sd7             28.23   1.785  1.537  1.288  0.038 -0.092  -1.071 14.632  0.704  -7.880e-03  -9.448e-04
+ 114:bend2           28.41   1.298  1.001  1.310  0.025 -0.059  -0.822 14.917  0.706  -8.020e-03  -8.000e-04
+ 115:bend3           28.58   0.833  0.628  1.345  0.017 -0.026  -0.841 15.209  0.708  -8.160e-03  -8.000e-04
+ 116:bend3           28.76   0.365  0.417  1.401  0.016  0.007  -0.861 15.508  0.710  -8.301e-03  -8.000e-04
+ 117:bend3           28.93  -0.105  0.372  1.474  0.020  0.039  -0.881 15.813  0.711  -8.441e-03  -8.000e-04
+ 118:bend3           29.11  -0.574  0.491  1.541  0.029  0.072  -0.900 16.125  0.713  -8.581e-03  -8.000e-04
+ 119:bend4           29.29  -1.055  0.774  1.587  0.045  0.105  -0.618 16.445  0.715  -8.722e-03  -6.398e-04
+ 120:sd7             29.73  -2.250  2.228  1.641  0.091  0.105  -0.654 17.004  0.719  -9.003e-03  -6.398e-04
+ 121:qp9             29.89  -3.514  3.138  1.650  0.110  0.132   3.851 16.485  0.720  -8.911e-03   1.791e-03
+ 122:qp9             30.05  -5.395  4.543  1.657  0.134  0.165   7.700 14.610  0.722  -8.434e-03   4.144e-03
+ 123:sd8             30.25  -6.719  6.966  1.663  0.167  0.165   6.875 11.695  0.725  -7.605e-03   4.144e-03
+ 124:sx9             30.25  -6.719  6.966  1.663  0.167  0.165   6.875 11.695  0.725  -7.605e-03   4.144e-03
+ 125:sd9             30.72  -9.874 14.870  1.670  0.245  0.165   4.909  6.082  0.733  -5.631e-03   4.144e-03
+ 126:qp10            30.88  -5.412 17.357  1.672  0.265  0.084   2.755  4.875  0.738  -5.120e-03   2.268e-03
+ 127:qp10            31.04   0.120 18.218  1.673  0.272 -0.000   1.163  4.259  0.744  -4.900e-03   4.965e-04
+ 128:sd8             31.24   0.109 18.173  1.675  0.272 -0.000   1.053  3.816  0.752  -4.801e-03   4.965e-04
+ 129:sx10            31.24   0.109 18.173  1.675  0.272 -0.000   1.053  3.816  0.752  -4.801e-03   4.965e-04
+ 130:sdac1           32.25   0.054 18.010  1.684  0.272 -0.000   0.501  2.254  0.807  -4.302e-03   4.965e-04
+ 131:ssdac           32.25   0.054 18.010  1.684  0.272 -0.000   0.501  2.254  0.807  -4.302e-03   4.965e-04
+ 132:sdac2           32.45   0.043 17.990  1.685  0.272 -0.000   0.391  2.076  0.822  -4.202e-03   4.965e-04
+ 133:sdac2           32.65   0.032 17.975  1.687  0.272 -0.000   0.281  1.941  0.837  -4.103e-03   4.965e-04
+ 134:sdac2           32.85   0.021 17.965  1.689  0.272 -0.000   0.171  1.851  0.854  -4.004e-03   4.965e-04
+ 135:sdac2           33.05   0.010 17.959  1.691  0.272 -0.000   0.061  1.804  0.871  -3.905e-03   4.965e-04
+ 136:sdac2           33.25  -0.001 17.957  1.692  0.272 -0.000  -0.049  1.801  0.889  -3.805e-03   4.965e-04
+ 137:sdac2           33.45  -0.012 17.960  1.694  0.272 -0.000  -0.158  1.843  0.906  -3.706e-03   4.965e-04
+ 138:sdac2           33.65  -0.023 17.967  1.696  0.272 -0.000  -0.268  1.928  0.923  -3.607e-03   4.965e-04
+ 139:sdac2           33.85  -0.034 17.979  1.698  0.271 -0.000  -0.378  2.058  0.939  -3.507e-03   4.965e-04
+ 140:sdac2           34.05  -0.045 17.995  1.699  0.271 -0.000  -0.488  2.231  0.954  -3.408e-03   4.965e-04
+ 141:esdac           34.05  -0.045 17.995  1.699  0.271 -0.000  -0.488  2.231  0.954  -3.408e-03   4.965e-04
+ 142:sdac1           35.05  -0.101 18.141  1.708  0.271 -0.000  -1.040  3.767  1.010  -2.909e-03   4.965e-04
+ 143:sx10            35.05  -0.101 18.141  1.708  0.271 -0.000  -1.040  3.767  1.010  -2.909e-03   4.965e-04
+ 144:sd8             35.25  -0.112 18.184  1.710  0.271 -0.000  -1.150  4.205  1.018  -2.810e-03   4.965e-04
+ 145:qp10            35.41   5.409 17.322  1.711  0.264 -0.085  -2.723  4.814  1.023  -2.787e-03  -2.120e-04
+ 146:qp10            35.57   9.861 14.837  1.713  0.244 -0.165  -4.852  6.006  1.028  -2.879e-03  -9.396e-04
+ 147:sd9             36.05   6.707  6.945  1.720  0.166 -0.165  -6.798 11.556  1.037  -3.326e-03  -9.396e-04
+ 148:sx9             36.05   6.707  6.945  1.720  0.166 -0.165  -6.798 11.556  1.037  -3.326e-03  -9.396e-04
+ 149:sd8             36.25   5.383  4.527  1.726  0.133 -0.165  -7.615 14.438  1.040  -3.514e-03  -9.396e-04
+ 150:qp9             36.41   3.507  3.125  1.733  0.109 -0.132  -3.812 16.293  1.041  -3.589e-03   6.830e-06
+ 151:qp9             36.57   2.246  2.217  1.742  0.090 -0.105   0.641 16.808  1.043  -3.512e-03   9.558e-04
+ 152:sd7             37.01   1.049  0.768  1.797  0.044 -0.105   0.604 16.260  1.047  -3.091e-03   9.558e-04
+ 153:bend2           37.18   0.567  0.487  1.843  0.029 -0.072   0.884 15.946  1.049  -2.914e-03   1.013e-03
+ 154:bend3           37.36   0.097  0.370  1.910  0.019 -0.039   0.864 15.640  1.051  -2.736e-03   1.013e-03
+ 155:bend3           37.53  -0.373  0.419  1.983  0.015 -0.007   0.845 15.340  1.052  -2.558e-03   1.013e-03
+ 156:bend3           37.71  -0.842  0.632  2.038  0.016  0.026   0.825 15.047  1.054  -2.381e-03   1.013e-03
+ 157:bend3           37.88  -1.307  1.009  2.073  0.024  0.058   0.806 14.761  1.056  -2.203e-03   1.013e-03
+ 158:bend4           38.06  -1.795  1.549  2.096  0.037  0.092   1.053 14.482  1.058  -2.026e-03   1.050e-03
+ 159:sd7             38.50  -2.992  3.655  2.125  0.077  0.092   0.989 13.583  1.063  -1.564e-03   1.050e-03
+ 160:qp6             38.66  -4.275  4.807  2.131  0.093  0.107   3.294 12.892  1.065  -1.374e-03   1.308e-03
+ 161:qp6             38.82  -6.051  6.443  2.136  0.112  0.125   5.225 11.516  1.067  -1.147e-03   1.528e-03
+ 162:sd5             39.02  -7.219  9.097  2.140  0.137  0.125   4.734  9.524  1.070  -8.413e-04   1.528e-03
+ 163:sx7             39.02  -7.219  9.097  2.140  0.137  0.125   4.734  9.524  1.070  -8.413e-04   1.528e-03
+ 164:sd4             39.41  -9.495 15.616  2.145  0.186  0.125   3.776  6.205  1.078  -2.453e-04   1.528e-03
+ 165:qp7             39.64  -1.242 18.187  2.147  0.203  0.025   0.670  5.221  1.084   1.248e-04   1.725e-03
+ 166:qp7             39.87   7.571 16.671  2.149  0.197 -0.078  -2.109  5.540  1.091   5.642e-04   2.132e-03
+ 167:sd3             40.07   6.872 13.783  2.151  0.181 -0.078  -2.305  6.422  1.097   9.907e-04   2.132e-03
+ 168:sx8             40.07   6.872 13.783  2.151  0.181 -0.078  -2.305  6.422  1.097   9.907e-04   2.132e-03
+ 169:sd2             40.46   5.508  8.955  2.157  0.151 -0.078  -2.688  8.370  1.105   1.822e-03   2.132e-03
+ 170:qp8             40.62   2.909  7.627  2.160  0.142 -0.038  -0.397  8.871  1.108   2.115e-03   1.510e-03
+ 171:qp8             40.78   0.826  7.038  2.163  0.139 -0.000   1.962  8.616  1.111   2.302e-03   8.257e-04
+ 172:sd13            44.26  -0.001  4.166  2.274  0.139 -0.000   0.007  1.761  1.285   5.178e-03   8.257e-04
+ 173:sd13            47.74  -0.827  7.050  2.384  0.139 -0.000  -1.949  8.525  1.461   8.053e-03   8.257e-04
+ 174:qp8             47.90  -2.915  7.641  2.388  0.142  0.038   0.385  8.779  1.464   8.015e-03  -1.293e-03
+ 175:qp8             48.06  -5.519  8.971  2.391  0.151  0.078   2.654  8.286  1.467   7.643e-03  -3.351e-03
+ 176:sd2             48.45  -6.886 13.809  2.396  0.181  0.078   2.276  6.363  1.476   6.336e-03  -3.351e-03
+ 177:sx8             48.45  -6.886 13.809  2.396  0.181  0.078   2.276  6.363  1.476   6.336e-03  -3.351e-03
+ 178:sd3             48.65  -7.587 16.703  2.398  0.197  0.078   2.082  5.492  1.481   5.665e-03  -3.351e-03
+ 179:qp7             48.88   1.244 18.222  2.400  0.203 -0.025  -0.676  5.181  1.488   5.206e-03  -6.845e-04
+ 180:qp7             49.11   9.514 15.646  2.402  0.185 -0.125  -3.762  6.163  1.494   5.344e-03   1.903e-03
+ 181:sd4             49.50   7.233  9.114  2.408  0.137 -0.125  -4.720  9.471  1.502   6.087e-03   1.903e-03
+ 182:sx7             49.50   7.233  9.114  2.408  0.137 -0.125  -4.720  9.471  1.502   6.087e-03   1.903e-03
+ 183:sd5             49.70   6.064  6.455  2.412  0.112 -0.125  -5.212 11.458  1.506   6.467e-03   1.903e-03
+ 184:qp6             49.86   4.283  4.815  2.416  0.093 -0.107  -3.291 12.832  1.508   6.678e-03   7.258e-04
+ 185:qp6             50.02   2.998  3.661  2.422  0.077 -0.092  -0.998 13.524  1.510   6.699e-03  -4.727e-04
+ 186:sd7             50.46   1.799  1.550  2.452  0.037 -0.092  -1.062 14.431  1.515   6.491e-03  -4.727e-04
+ 187:bend2           50.64   1.310  1.010  2.474  0.024 -0.058  -0.817 14.714  1.516   6.387e-03  -5.920e-04
+ 188:bend3           50.82   0.844  0.632  2.509  0.016 -0.026  -0.837 15.004  1.518   6.283e-03  -5.920e-04
+ 189:bend3           50.99   0.374  0.418  2.564  0.015  0.007  -0.857 15.301  1.520   6.179e-03  -5.920e-04
+ 190:bend3           51.17  -0.098  0.370  2.637  0.019  0.039  -0.876 15.605  1.522   6.075e-03  -5.920e-04
+ 191:bend3           51.34  -0.569  0.486  2.705  0.029  0.072  -0.896 15.916  1.524   5.971e-03  -5.920e-04
+ 192:bend4           51.52  -1.051  0.768  2.751  0.044  0.105  -0.617 16.234  1.525   5.868e-03  -6.998e-04
+ 193:sd7             51.96  -2.251  2.221  2.805  0.090  0.105  -0.655 16.794  1.530   5.560e-03  -6.998e-04
+ 194:qp9             52.12  -3.514  3.130  2.815  0.109  0.132   3.795 16.284  1.531   5.335e-03  -2.098e-03
+ 195:qp9             52.28  -5.394  4.536  2.822  0.133  0.165   7.598 14.434  1.533   4.894e-03  -3.389e-03
+ 196:sd8             52.48  -6.721  6.959  2.827  0.166  0.165   6.785 11.557  1.535   4.216e-03  -3.389e-03
+ 197:sx9             52.48  -6.721  6.959  2.827  0.166  0.165   6.785 11.557  1.535   4.216e-03  -3.389e-03
+ 198:sd9             52.95  -9.881 14.867  2.835  0.244  0.165   4.847  6.017  1.544   2.602e-03  -3.389e-03
+ 199:qp10            53.11  -5.420 17.357  2.836  0.265  0.085   2.717  4.827  1.549   2.111e-03  -2.770e-03
+ 200:qp10            53.27   0.111 18.221  2.838  0.271  0.000   1.141  4.219  1.555   1.707e-03  -2.297e-03
+ 201:sd8             53.47   0.100 18.179  2.839  0.271  0.000   1.033  3.785  1.563   1.248e-03  -2.297e-03
+ 202:sx10            53.47   0.100 18.179  2.839  0.271  0.000   1.033  3.785  1.563   1.248e-03  -2.297e-03
+ 203:sdac            55.38  -0.005 17.998  2.856  0.272  0.000  -0.001  1.820  1.691  -3.126e-03  -2.297e-03
+ 204:sdac            57.28  -0.109 18.215  2.873  0.272  0.000  -1.036  3.796  1.819  -7.501e-03  -2.297e-03
+ 205:sx10            57.28  -0.109 18.215  2.873  0.272  0.000  -1.036  3.796  1.819  -7.501e-03  -2.297e-03
+ 206:sd8             57.48  -0.120 18.261  2.875  0.272  0.000  -1.144  4.232  1.827  -7.960e-03  -2.297e-03
+ 207:qp10            57.64   5.424 17.398  2.876  0.265 -0.084  -2.724  4.841  1.832  -8.529e-03  -4.841e-03
+ 208:qp10            57.80   9.897 14.905  2.877  0.245 -0.165  -4.860  6.034  1.837  -9.522e-03  -7.632e-03
+ 209:sd9             58.28   6.735  6.983  2.885  0.167 -0.165  -6.802 11.589  1.846  -1.316e-02  -7.632e-03
+ 210:sx9             58.28   6.735  6.983  2.885  0.167 -0.165  -6.802 11.589  1.846  -1.316e-02  -7.632e-03
+ 211:sd8             58.48   5.407  4.554  2.890  0.134 -0.165  -7.617 14.473  1.849  -1.468e-02  -7.632e-03
+ 212:qp9             58.64   3.523  3.145  2.897  0.110 -0.132  -3.804 16.327  1.850  -1.558e-02  -3.543e-03
+ 213:qp9             58.80   2.256  2.234  2.907  0.091 -0.105   0.657 16.838  1.852  -1.581e-02   7.006e-04
+ 214:sd7             59.24   1.059  0.775  2.961  0.045 -0.105   0.620 16.276  1.856  -1.550e-02   7.006e-04
+ 215:bend2           59.41   0.577  0.491  3.006  0.029 -0.072   0.900 15.957  1.858  -1.533e-02   9.854e-04
+ 216:bend3           59.59   0.107  0.371  3.073  0.020 -0.039   0.880 15.645  1.859  -1.516e-02   9.854e-04
+ 217:bend3           59.77  -0.364  0.416  3.147  0.016 -0.007   0.860 15.339  1.861  -1.498e-02   9.854e-04
+ 218:bend3           59.94  -0.833  0.626  3.202  0.017  0.026   0.840 15.041  1.863  -1.481e-02   9.854e-04
+ 219:bend3           60.12  -1.298  1.000  3.237  0.025  0.059   0.821 14.750  1.865  -1.464e-02   9.854e-04
+ 220:bend4           60.29  -1.786  1.536  3.260  0.038  0.092   1.067 14.465  1.867  -1.446e-02   1.251e-03
+ 221:sd7             60.73  -2.983  3.634  3.290  0.078  0.092   1.002 13.555  1.872  -1.391e-02   1.251e-03
+ 222:qp6             60.89  -4.262  4.782  3.296  0.094  0.107   3.301 12.860  1.874  -1.352e-02   3.705e-03
+ 223:qp6             61.05  -6.033  6.414  3.300  0.113  0.126   5.225 11.483  1.876  -1.273e-02   6.052e-03
+ 224:sd5             61.25  -7.198  9.060  3.304  0.138  0.126   4.732  9.491  1.879  -1.152e-02   6.052e-03
+ 225:sx7             61.25  -7.198  9.060  3.304  0.138  0.126   4.732  9.491  1.879  -1.152e-02   6.052e-03
+ 226:sd4             61.64  -9.471 15.561  3.310  0.187  0.126   3.771  6.175  1.887  -9.163e-03   6.052e-03
+ 227:qp7             61.87  -1.247 18.127  3.312  0.205  0.025   0.679  5.189  1.893  -8.294e-03   1.572e-03
+ 228:qp7             62.10   7.540 16.621  3.314  0.198 -0.079  -2.081  5.500  1.900  -8.425e-03  -2.724e-03
+ 229:sd3             62.30   6.844 13.744  3.316  0.183 -0.079  -2.275  6.371  1.906  -8.970e-03  -2.724e-03
+ 230:sx8             62.30   6.844 13.744  3.316  0.183 -0.079  -2.275  6.371  1.906  -8.970e-03  -2.724e-03
+ 231:sd2             62.69   5.487  8.935  3.321  0.152 -0.079  -2.652  8.292  1.914  -1.003e-02  -2.724e-03
+ 232:qp8             62.85   2.895  7.613  3.325  0.143 -0.039  -0.383  8.785  1.917  -1.024e-02   1.681e-04
+ 233:qp8             63.01   0.816  7.027  3.328  0.139 -0.001   1.953  8.530  1.920  -9.980e-03   3.048e-03
+ 234:sd13            66.49  -0.004  4.199  3.438  0.137 -0.001  -0.007  1.755  2.096   6.355e-04   3.048e-03
+ 235:sd13            69.98  -0.823  7.076  3.548  0.135 -0.001  -1.967  8.630  2.271   1.125e-02   3.048e-03
+ 236:qp8             70.14  -2.917  7.666  3.551  0.138  0.036   0.396  8.885  2.274   1.149e-02  -1.185e-04
+ 237:qp8             70.30  -5.527  8.998  3.554  0.146  0.075   2.691  8.384  2.276   1.121e-02  -3.283e-03
+ 238:sd2             70.69  -6.894 13.842  3.560  0.176  0.075   2.308  6.434  2.285   9.933e-03  -3.283e-03
+ 239:sx6             70.69  -6.894 13.842  3.560  0.176  0.075   2.308  6.434  2.285   9.933e-03  -3.283e-03
+ 240:sd3             70.89  -7.595 16.740  3.562  0.190  0.075   2.112  5.550  2.290   9.276e-03  -3.283e-03
+ 241:qp7             71.12   1.255 18.258  3.564  0.196 -0.025  -0.673  5.231  2.297   9.073e-03   1.499e-03
+ 242:qp7             71.35   9.540 15.673  3.566  0.179 -0.121  -3.785  6.218  2.304   9.979e-03   6.454e-03
+ 243:sd4             71.74   7.251  9.125  3.571  0.132 -0.121  -4.745  9.545  2.312   1.250e-02   6.454e-03
+ 244:sx5             71.74   7.251  9.125  3.571  0.132 -0.121  -4.745  9.545  2.312   1.250e-02   6.454e-03
+ 245:sd5             71.94   6.077  6.460  3.575  0.108 -0.121  -5.238 11.542  2.315   1.379e-02   6.454e-03
+ 246:qp6             72.10   4.293  4.816  3.580  0.090 -0.104  -3.302 12.921  2.317   1.462e-02   3.905e-03
+ 247:qp6             72.26   3.006  3.659  3.586  0.074 -0.089  -0.992 13.615  2.319   1.503e-02   1.246e-03
+ 248:sd7             72.70   1.801  1.544  3.615  0.035 -0.089  -1.056 14.516  2.323   1.558e-02   1.246e-03
+ 249:bend2           72.87   1.310  1.004  3.637  0.022 -0.056  -0.808 14.796  2.325   1.575e-02   9.597e-04
+ 250:bend3           73.05   0.841  0.626  3.673  0.015 -0.023  -0.828 15.083  2.327   1.592e-02   9.597e-04
+ 251:bend3           73.22   0.369  0.414  3.728  0.014  0.009  -0.847 15.377  2.329   1.608e-02   9.597e-04
+ 252:bend3           73.40  -0.105  0.368  3.802  0.018  0.042  -0.867 15.677  2.331   1.625e-02   9.597e-04
+ 253:bend3           73.57  -0.578  0.487  3.869  0.029  0.074  -0.886 15.985  2.333   1.642e-02   9.597e-04
+ 254:bend4           73.75  -1.063  0.773  3.915  0.045  0.108  -0.606 16.299  2.334   1.659e-02   6.548e-04
+ 255:sd7             74.19  -2.268  2.238  3.969  0.092  0.108  -0.643 16.849  2.338   1.688e-02   6.548e-04
+ 256:qp4             74.35  -3.391  3.133  3.979  0.111  0.130   3.058 16.458  2.340   1.668e-02  -3.112e-03
+ 257:qp4             74.51  -5.005  4.461  3.986  0.134  0.157   6.328 14.938  2.342   1.589e-02  -6.770e-03
+ 258:sd8             74.71  -6.172  6.696  3.991  0.165  0.157   5.778 12.516  2.344   1.453e-02  -6.770e-03
+ 259:sx3             74.71  -6.172  6.696  3.991  0.165  0.157   5.778 12.516  2.344   1.453e-02  -6.770e-03
+ 260:sd9             75.19  -8.952 13.900  3.999  0.240  0.157   4.470  7.635  2.352   1.131e-02  -6.770e-03
+ 261:qp5             75.35  -4.933 16.158  4.001  0.260  0.082   2.071  6.605  2.355   1.049e-02  -3.441e-03
+ 262:qp5             75.51   0.027 16.956  4.002  0.266  0.002   0.080  6.266  2.359   1.020e-02  -2.768e-04
+ 263:sd10            75.98  -0.001 16.944  4.007  0.267  0.002   0.005  6.226  2.371   1.007e-02  -2.768e-04
+ 264:sx4             75.98  -0.001 16.944  4.007  0.267  0.002   0.005  6.226  2.371   1.007e-02  -2.768e-04
+ 265:sd12            76.45  -0.028 16.957  4.011  0.268  0.002  -0.069  6.256  2.383   9.938e-03  -2.768e-04
+ 266:qp5             76.61   4.932 16.160  4.013  0.262 -0.079  -2.056  6.591  2.387   1.013e-02   2.711e-03
+ 267:qp5             76.77   8.952 13.902  4.014  0.243 -0.155  -4.448  7.615  2.391   1.081e-02   5.833e-03
+ 268:sd9             77.24   6.172  6.698  4.022  0.169 -0.155  -5.747 12.472  2.398   1.359e-02   5.833e-03
+ 269:sx3             77.24   6.172  6.698  4.022  0.169 -0.155  -5.747 12.472  2.398   1.359e-02   5.833e-03
+ 270:sd8             77.44   5.005  4.463  4.028  0.138 -0.155  -6.293 14.880  2.401   1.476e-02   5.833e-03
+ 271:qp4             77.60   3.392  3.135  4.035  0.115 -0.127  -3.036 16.390  2.402   1.543e-02   2.483e-03
+ 272:qp4             77.76   2.268  2.240  4.044  0.097 -0.104   0.650 16.777  2.404   1.555e-02  -9.591e-04
+ 273:sd7             78.20   1.064  0.774  4.098  0.051 -0.104   0.613 16.221  2.408   1.513e-02  -9.591e-04
+ 274:bend2           78.38   0.579  0.488  4.144  0.036 -0.070   0.891 15.905  2.410   1.491e-02  -1.237e-03
+ 275:bend3           78.55   0.106  0.368  4.211  0.027 -0.038   0.871 15.596  2.411   1.469e-02  -1.237e-03
+ 276:bend3           78.73  -0.368  0.414  4.285  0.023 -0.005   0.852 15.294  2.413   1.447e-02  -1.237e-03
+ 277:bend3           78.90  -0.840  0.626  4.341  0.025  0.027   0.832 14.999  2.415   1.426e-02  -1.237e-03
+ 278:bend3           79.08  -1.308  1.002  4.376  0.032  0.060   0.813 14.710  2.417   1.404e-02  -1.237e-03
+ 279:bend4           79.25  -1.799  1.543  4.398  0.046  0.093   1.058 14.428  2.419   1.382e-02  -1.491e-03
+ 280:sd6             80.04  -3.962  6.093  4.440  0.119  0.093   0.943 12.848  2.428   1.265e-02  -1.491e-03
+ 281:sx2             80.04  -3.962  6.093  4.440  0.119  0.093   0.943 12.848  2.428   1.265e-02  -1.491e-03
+ 282:sd5             80.24  -4.509  7.787  4.444  0.138  0.093   0.913 12.477  2.431   1.235e-02  -1.491e-03
+ 283:qp3             80.40  -6.023  9.462  4.447  0.154  0.110   2.271 11.964  2.433   1.200e-02  -2.878e-03
+ 284:qp3             80.56  -7.983 11.690  4.450  0.173  0.129   3.463 11.041  2.435   1.143e-02  -4.212e-03
+ 285:sd14            81.15 -11.249 23.036  4.455  0.249  0.129   2.769  7.364  2.445   8.944e-03  -4.212e-03
+ 286:qp2             81.38  -1.944 26.166  4.457  0.267  0.026  -0.076  6.762  2.450   8.381e-03  -7.199e-04
+ 287:qp2             81.61   8.044 24.719  4.458  0.261 -0.078  -2.950  7.438  2.456   8.608e-03   2.709e-03
+ 288:sd3             81.81   7.513 21.607  4.459  0.246 -0.078  -3.211  8.671  2.460   9.150e-03   2.709e-03
+ 289:sx1             81.81   7.513 21.607  4.459  0.246 -0.078  -3.211  8.671  2.460   9.150e-03   2.709e-03
+ 290:sd2             82.20   6.476 16.152  4.463  0.215 -0.078  -3.719 11.374  2.466   1.021e-02   2.709e-03
+ 291:qp1             82.36   3.313 14.601  4.464  0.206 -0.039  -1.586 12.231  2.468   1.048e-02   7.483e-04
+ 292:qp1             82.52   0.556 13.988  4.466  0.203 -0.000   0.738 12.368  2.470   1.044e-02  -1.235e-03
+ 293:sd1             88.52  -0.000 10.655  4.547  0.202 -0.000  -0.005  7.970  2.572   3.034e-03  -1.235e-03
+ 294:sd1             94.52  -0.556 13.995  4.629  0.202 -0.000  -0.749 12.495  2.674  -4.376e-03  -1.235e-03
+ 295:qp1             94.68  -3.315 14.609  4.630  0.205  0.039   1.600 12.357  2.676  -4.502e-03  -3.363e-04
+ 296:qp1             94.84  -6.480 16.160  4.632  0.215  0.078   3.756 11.491  2.679  -4.483e-03   5.743e-04
+ 297:sd2             95.23  -7.518 21.620  4.635  0.245  0.078   3.243  8.762  2.685  -4.259e-03   5.743e-04
+ 298:sx1             95.23  -7.518 21.620  4.635  0.245  0.078   3.243  8.762  2.685  -4.259e-03   5.743e-04
+ 299:sd3             95.43  -8.050 24.733  4.637  0.261  0.078   2.981  7.517  2.689  -4.144e-03   5.743e-04
+ 300:qp2             95.66   1.944 26.181  4.638  0.267 -0.026   0.076  6.834  2.694  -4.201e-03  -1.069e-03
+ 301:qp2             95.89  11.256 23.050  4.640  0.249 -0.129  -2.800  7.442  2.699  -4.644e-03  -2.810e-03
+ 302:sd14            96.48   7.988 11.697  4.645  0.173 -0.129  -3.499 11.159  2.709  -6.302e-03  -2.810e-03
+ 303:qp3             96.64   6.027  9.468  4.648  0.154 -0.110  -2.294 12.091  2.711  -6.690e-03  -2.036e-03
+ 304:qp3             96.80   4.512  7.792  4.651  0.138 -0.093  -0.922 12.609  2.713  -6.952e-03  -1.228e-03
+ 305:sd5             97.00   3.964  6.097  4.655  0.119 -0.093  -0.951 12.984  2.716  -7.197e-03  -1.228e-03
+ 306:sx2             97.00   3.964  6.097  4.655  0.119 -0.093  -0.951 12.984  2.716  -7.197e-03  -1.228e-03
+ 307:sd6             97.79   1.800  1.544  4.696  0.046 -0.093  -1.066 14.577  2.725  -8.167e-03  -1.228e-03
+ 308:bend2           97.97   1.309  1.003  4.719  0.032 -0.060  -0.818 14.861  2.727  -8.357e-03  -1.078e-03
+ 309:bend3           98.14   0.840  0.626  4.754  0.025 -0.027  -0.838 15.151  2.729  -8.546e-03  -1.078e-03
+ 310:bend3           98.32   0.368  0.414  4.810  0.023  0.005  -0.857 15.448  2.730  -8.735e-03  -1.078e-03
+ 311:bend3           98.50  -0.106  0.368  4.883  0.026  0.038  -0.877 15.753  2.732  -8.924e-03  -1.078e-03
+ 312:bend3           98.67  -0.579  0.489  4.951  0.036  0.070  -0.896 16.064  2.734  -9.113e-03  -1.078e-03
+ 313:bend4           98.85  -1.064  0.774  4.997  0.051  0.104  -0.615 16.381  2.736  -9.302e-03  -9.071e-04
+ 314:sd7             99.29  -2.270  2.241  5.050  0.097  0.104  -0.651 16.939  2.740  -9.701e-03  -9.071e-04
+ 315:qp4             99.45  -3.394  3.137  5.060  0.115  0.127   3.069 16.547  2.741  -9.676e-03   1.223e-03
+ 316:qp4             99.61  -5.009  4.466  5.067  0.138  0.156   6.358 15.020  2.743  -9.312e-03   3.302e-03
+ 317:sd8             99.81  -6.177  6.703  5.073  0.169  0.156   5.806 12.588  2.745  -8.652e-03   3.302e-03
+ 318:sx3             99.81  -6.177  6.703  5.073  0.169  0.156   5.806 12.588  2.745  -8.652e-03   3.302e-03
+ 319:sd9             100.28  -8.959 13.912  5.080  0.243  0.156   4.493  7.682  2.753  -7.079e-03   3.302e-03
+ 320:qp5             100.44  -4.935 16.172  5.082  0.262  0.079   2.080  6.647  2.757  -6.709e-03   1.347e-03
+ 321:qp5             100.60   0.028 16.970  5.084  0.268 -0.002   0.076  6.307  2.760  -6.645e-03  -5.356e-04
+ 322:sd12            101.07   0.001 16.956  5.088  0.267 -0.002   0.002  6.270  2.772  -6.896e-03  -5.356e-04
+ 323:sx4             101.07   0.001 16.956  5.088  0.267 -0.002   0.002  6.270  2.772  -6.896e-03  -5.356e-04
+ 324:sd10            101.54  -0.027 16.969  5.092  0.267 -0.002  -0.072  6.303  2.784  -7.148e-03  -5.356e-04
+ 325:qp5             101.70   4.936 16.170  5.094  0.260 -0.082  -2.074  6.641  2.788  -7.404e-03  -2.672e-03
+ 326:qp5             101.86   8.959 13.910  5.096  0.241 -0.158  -4.484  7.674  2.792  -8.010e-03  -4.941e-03
+ 327:sd9             102.34   6.177  6.701  5.103  0.166 -0.158  -5.793 12.569  2.799  -1.036e-02  -4.941e-03
+ 328:sx3             102.34   6.177  6.701  5.103  0.166 -0.158  -5.793 12.569  2.799  -1.036e-02  -4.941e-03
+ 329:sd8             102.54   5.008  4.464  5.109  0.134 -0.158  -6.343 14.997  2.802  -1.135e-02  -4.941e-03
+ 330:qp4             102.70   3.394  3.135  5.116  0.111 -0.130  -3.060 16.519  2.803  -1.193e-02  -2.261e-03
+ 331:qp4             102.86   2.270  2.240  5.126  0.092 -0.108   0.655 16.909  2.805  -1.207e-02   4.861e-04
+ 332:sd7             103.30   1.064  0.773  5.179  0.045 -0.108   0.618 16.349  2.809  -1.186e-02   4.861e-04
+ 333:bend2           103.47   0.579  0.487  5.225  0.029 -0.074   0.899 16.030  2.811  -1.173e-02   7.040e-04
+ 334:bend3           103.65   0.105  0.367  5.293  0.019 -0.042   0.879 15.718  2.812  -1.161e-02   7.040e-04
+ 335:bend3           103.83  -0.369  0.413  5.367  0.014 -0.009   0.859 15.414  2.814  -1.149e-02   7.040e-04
+ 336:bend3           104.00  -0.841  0.626  5.422  0.015  0.023   0.840 15.116  2.816  -1.136e-02   7.040e-04
+ 337:bend3           104.18  -1.310  1.003  5.457  0.022  0.056   0.820 14.824  2.818  -1.124e-02   7.040e-04
+ 338:bend4           104.35  -1.802  1.544  5.480  0.035  0.089   1.068 14.540  2.820  -1.112e-02   9.083e-04
+ 339:sd7             104.79  -3.008  3.661  5.509  0.074  0.089   1.003 13.629  2.825  -1.072e-02   9.083e-04
+ 340:qp6             104.95  -4.296  4.818  5.515  0.090  0.104   3.315 12.931  2.827  -1.042e-02   2.797e-03
+ 341:qp6             105.11  -6.080  6.463  5.520  0.108  0.122   5.251 11.548  2.829  -9.827e-03   4.606e-03
+ 342:sd5             105.31  -7.255  9.130  5.524  0.132  0.122   4.756  9.546  2.832  -8.906e-03   4.606e-03
+ 343:sx5             105.31  -7.255  9.130  5.524  0.132  0.122   4.756  9.546  2.832  -8.906e-03   4.606e-03
+ 344:sd4             105.70  -9.545 15.682  5.529  0.179  0.122   3.792  6.212  2.840  -7.109e-03   4.606e-03
+ 345:qp7             105.93  -1.257 18.268  5.531  0.196  0.025   0.681  5.222  2.846  -6.452e-03   1.169e-03
+ 346:qp7             106.16   7.599 16.750  5.533  0.191 -0.075  -2.097  5.535  2.853  -6.561e-03  -2.129e-03
+ 347:sd3             106.36   6.898 13.850  5.535  0.176 -0.075  -2.291  6.413  2.858  -6.987e-03  -2.129e-03
+ 348:sx6             106.36   6.898 13.850  5.535  0.176 -0.075  -2.291  6.413  2.858  -6.987e-03  -2.129e-03
+ 349:sd2             106.75   5.530  9.004  5.541  0.146 -0.075  -2.670  8.348  2.867  -7.817e-03  -2.129e-03
+ 350:qp8             106.91   2.919  7.671  5.544  0.138 -0.036  -0.385  8.844  2.870  -7.988e-03  -4.274e-06
+ 351:qp8             107.07   0.823  7.081  5.547  0.135  0.001   1.967  8.587  2.873  -7.818e-03   2.122e-03
+ 352:sd13            110.55   0.005  4.197  5.657  0.137  0.001  -0.002  1.743  3.048  -4.295e-04   2.122e-03
+ 353:sd13            114.04  -0.812  7.007  5.767  0.139  0.001  -1.970  8.610  3.224   6.959e-03   2.122e-03
+ 354:qp8             114.20  -2.886  7.591  5.770  0.142  0.039   0.388  8.867  3.227   7.143e-03   1.738e-04
+ 355:qp8             114.36  -5.471  8.909  5.773  0.151  0.078   2.679  8.369  3.230   7.014e-03  -1.783e-03
+ 356:sd2             114.75  -6.824 13.703  5.779  0.182  0.078   2.299  6.427  3.238   6.319e-03  -1.783e-03
+ 357:sx8             114.75  -6.824 13.703  5.779  0.182  0.078   2.299  6.427  3.238   6.319e-03  -1.783e-03
+ 358:sd3             114.95  -7.518 16.572  5.781  0.198  0.078   2.103  5.547  3.243   5.963e-03  -1.783e-03
+ 359:qp7             115.18   1.243 18.074  5.783  0.204 -0.025  -0.680  5.232  3.250   5.898e-03   1.215e-03
+ 360:qp7             115.41   9.444 15.515  5.785  0.186 -0.125  -3.795  6.223  3.257   6.532e-03   4.356e-03
+ 361:sd4             115.80   7.177  9.033  5.790  0.137 -0.125  -4.760  9.559  3.265   8.231e-03   4.356e-03
+ 362:sx7             115.80   7.177  9.033  5.790  0.137 -0.125  -4.760  9.559  3.265   8.231e-03   4.356e-03
+ 363:sd5             116.00   6.015  6.395  5.794  0.112 -0.125  -5.254 11.562  3.268   9.102e-03   4.356e-03
+ 364:qp6             116.16   4.249  4.768  5.799  0.094 -0.107  -3.316 12.947  3.270   9.667e-03   2.691e-03
+ 365:qp6             116.32   2.974  3.623  5.805  0.078 -0.092  -1.002 13.644  3.272   9.959e-03   9.464e-04
+ 366:sd7             116.76   1.780  1.531  5.835  0.038 -0.092  -1.066 14.554  3.277   1.038e-02   9.464e-04
+ 367:bend2           116.93   1.294  0.997  5.857  0.025 -0.058  -0.818 14.837  3.279   1.051e-02   7.558e-04
+ 368:bend3           117.11   0.829  0.624  5.893  0.017 -0.026  -0.837 15.128  3.280   1.064e-02   7.558e-04
+ 369:bend3           117.28   0.361  0.415  5.948  0.016  0.007  -0.857 15.425  3.282   1.077e-02   7.558e-04
+ 370:bend3           117.46  -0.108  0.371  6.021  0.020  0.040  -0.877 15.729  3.284   1.091e-02   7.558e-04
+ 371:bend3           117.63  -0.577  0.491  6.088  0.030  0.072  -0.896 16.040  3.286   1.104e-02   7.558e-04
+ 372:bend4           117.81  -1.057  0.775  6.134  0.045  0.105  -0.615 16.358  3.287   1.117e-02   5.505e-04
+ 373:sd7             118.25  -2.251  2.231  6.188  0.091  0.105  -0.652 16.915  3.292   1.141e-02   5.505e-04
+ 374:qp9             118.41  -3.516  3.141  6.197  0.110  0.133   3.830 16.399  3.293   1.126e-02  -2.468e-03
+ 375:qp9             118.57  -5.398  4.547  6.204  0.134  0.165   7.659 14.534  3.295   1.063e-02  -5.369e-03
+ 376:sd8             118.77  -6.723  6.971  6.210  0.167  0.165   6.838 11.634  3.297   9.556e-03  -5.369e-03
+ 377:sx9             118.77  -6.723  6.971  6.210  0.167  0.165   6.838 11.634  3.297   9.556e-03  -5.369e-03
+ 378:sd9             119.25  -9.878 14.878  6.217  0.246  0.165   4.883  6.051  3.306   6.999e-03  -5.369e-03
+ 379:qp10            119.41  -5.413 17.366  6.219  0.266  0.085   2.740  4.851  3.311   6.302e-03  -3.372e-03
+ 380:qp10            119.57   0.121 18.228  6.220  0.273 -0.000   1.156  4.238  3.316   5.910e-03  -1.550e-03
+ 381:sd8             119.77   0.110 18.181  6.222  0.273 -0.000   1.046  3.798  3.324   5.600e-03  -1.550e-03
+ 382:sx10            119.77   0.110 18.181  6.222  0.273 -0.000   1.046  3.798  3.324   5.600e-03  -1.550e-03
+ 383:sdac            121.67   0.006 17.960  6.239  0.273 -0.000   0.003  1.799  3.453   2.649e-03  -1.550e-03
+ 384:sdac            123.57  -0.099 18.137  6.255  0.272 -0.000  -1.041  3.775  3.582  -3.025e-04  -1.550e-03
+ 385:sx10            123.57  -0.099 18.137  6.255  0.272 -0.000  -1.041  3.775  3.582  -3.025e-04  -1.550e-03
+ 386:sd8             123.77  -0.110 18.178  6.257  0.272 -0.000  -1.150  4.213  3.590  -6.124e-04  -1.550e-03
+ 387:qp10            123.93   5.408 17.316  6.258  0.265 -0.085  -2.725  4.823  3.596  -8.862e-04  -1.887e-03
+ 388:qp10            124.09   9.858 14.832  6.260  0.245 -0.165  -4.856  6.016  3.601  -1.221e-03  -2.314e-03
+ 389:sd9             124.57   6.705  6.942  6.267  0.167 -0.165  -6.801 11.568  3.610  -2.323e-03  -2.314e-03
+ 390:sx9             124.57   6.705  6.942  6.267  0.167 -0.165  -6.801 11.568  3.610  -2.323e-03  -2.314e-03
+ 391:sd8             124.77   5.382  4.525  6.273  0.133 -0.165  -7.618 14.452  3.612  -2.786e-03  -2.314e-03
+ 392:qp9             124.93   3.506  3.123  6.280  0.110 -0.133  -3.811 16.308  3.614  -3.092e-03  -1.493e-03
+ 393:qp9             125.09   2.245  2.216  6.289  0.091 -0.106   0.646 16.821  3.615  -3.261e-03  -6.128e-04
+ 394:sd7             125.53   1.049  0.766  6.344  0.044 -0.106   0.609 16.269  3.619  -3.530e-03  -6.128e-04
+ 395:bend2           125.71   0.567  0.485  6.390  0.029 -0.072   0.889 15.954  3.621  -3.626e-03  -5.479e-04
+ 396:bend3           125.88   0.097  0.369  6.457  0.019 -0.040   0.869 15.646  3.623  -3.723e-03  -5.479e-04
+ 397:bend3           126.06  -0.374  0.417  6.531  0.015 -0.007   0.850 15.344  3.625  -3.819e-03  -5.479e-04
+ 398:bend3           126.23  -0.842  0.631  6.586  0.016  0.025   0.830 15.050  3.627  -3.915e-03  -5.479e-04
+ 399:bend3           126.41  -1.308  1.008  6.621  0.024  0.058   0.811 14.762  3.628  -4.011e-03  -5.479e-04
+ 400:bend4           126.58  -1.796  1.548  6.643  0.037  0.091   1.057 14.481  3.630  -4.107e-03  -4.725e-04
+ 401:sd7             127.02  -2.993  3.655  6.672  0.077  0.091   0.993 13.579  3.635  -4.315e-03  -4.725e-04
+ 402:qp6             127.18  -4.275  4.806  6.678  0.093  0.106   3.297 12.886  3.637  -4.330e-03   2.846e-04
+ 403:qp6             127.34  -6.052  6.443  6.683  0.111  0.125   5.226 11.509  3.639  -4.224e-03   1.030e-03
+ 404:sd5             127.54  -7.219  9.097  6.687  0.136  0.125   4.735  9.517  3.642  -4.018e-03   1.030e-03
+ 405:sx7             127.54  -7.219  9.097  6.687  0.136  0.125   4.735  9.517  3.642  -4.018e-03   1.030e-03
+ 406:sd4             127.93  -9.496 15.616  6.692  0.185  0.125   3.776  6.198  3.650  -3.617e-03   1.030e-03
+ 407:qp7             128.16  -1.241 18.187  6.694  0.202  0.025   0.673  5.213  3.657  -3.587e-03  -7.657e-04
+ 408:qp7             128.39   7.573 16.671  6.696  0.196 -0.077  -2.101  5.529  3.664  -3.976e-03  -2.651e-03
+ 409:sd3             128.59   6.873 13.782  6.698  0.181 -0.077  -2.297  6.409  3.669  -4.506e-03  -2.651e-03
+ 410:sx8             128.59   6.873 13.782  6.698  0.181 -0.077  -2.297  6.409  3.669  -4.506e-03  -2.651e-03
+ 411:sd2             128.98   5.508  8.953  6.704  0.150 -0.077  -2.678  8.349  3.677  -5.540e-03  -2.651e-03
+ 412:qp8             129.14   2.910  7.626  6.707  0.141 -0.038  -0.392  8.847  3.680  -5.837e-03  -1.048e-03
+ 413:qp8             129.30   0.826  7.036  6.711  0.138  0.000   1.961  8.592  3.683  -5.873e-03   5.986e-04
+ 414:sd13            132.79   0.001  4.157  6.821  0.138  0.000   0.003  1.752  3.858  -3.788e-03   5.986e-04
+ 415:sd13            136.27  -0.824  7.023  6.931  0.138  0.000  -1.954  8.546  4.034  -1.704e-03   5.986e-04
+ 416:qp8             136.43  -2.904  7.611  6.935  0.141  0.038   0.386  8.801  4.037  -1.570e-03   1.060e-03
+ 417:qp8             136.59  -5.497  8.937  6.938  0.151  0.078   2.660  8.307  4.040  -1.367e-03   1.476e-03
+ 418:sd2             136.98  -6.859 13.756  6.943  0.181  0.078   2.281  6.380  4.048  -7.911e-04   1.476e-03
+ 419:sx8             136.98  -6.859 13.756  6.943  0.181  0.078   2.281  6.380  4.048  -7.911e-04   1.476e-03
+ 420:sd3             137.18  -7.558 16.639  6.946  0.196  0.078   2.087  5.506  4.053  -4.959e-04   1.476e-03
+ 421:qp7             137.41   1.239 18.152  6.948  0.202 -0.025  -0.676  5.194  4.060  -1.695e-04   1.391e-03
+ 422:qp7             137.64   9.477 15.586  6.950  0.185 -0.125  -3.769  6.178  4.067   1.561e-04   1.467e-03
+ 423:sd4             138.03   7.205  9.080  6.955  0.136 -0.125  -4.728  9.492  4.075   7.284e-04   1.467e-03
+ 424:sx7             138.03   7.205  9.080  6.955  0.136 -0.125  -4.728  9.492  4.075   7.284e-04   1.467e-03
+ 425:sd5             138.23   6.040  6.431  6.959  0.111 -0.125  -5.220 11.482  4.078   1.022e-03   1.467e-03
+ 426:qp6             138.39   4.266  4.797  6.964  0.093 -0.107  -3.296 12.857  4.080   1.242e-03   1.279e-03
+ 427:qp6             138.55   2.986  3.648  6.970  0.077 -0.091  -0.997 13.551  4.082   1.429e-03   1.051e-03
+ 428:sd7             138.99   1.792  1.546  6.999  0.037 -0.091  -1.062 14.457  4.087   1.892e-03   1.051e-03
+ 429:bend2           139.16   1.304  1.007  7.021  0.024 -0.058  -0.816 14.740  4.089   2.070e-03   1.017e-03
+ 430:bend3           139.34   0.840  0.631  7.057  0.016 -0.026  -0.835 15.029  4.091   2.248e-03   1.017e-03
+ 431:bend3           139.52   0.372  0.418  7.112  0.015  0.007  -0.855 15.326  4.093   2.427e-03   1.017e-03
+ 432:bend3           139.69  -0.098  0.370  7.185  0.019  0.040  -0.875 15.629  4.094   2.605e-03   1.017e-03
+ 433:bend3           139.87  -0.567  0.487  7.252  0.029  0.072  -0.894 15.939  4.096   2.783e-03   1.017e-03
+ 434:bend4           140.04  -1.047  0.768  7.298  0.044  0.106  -0.615 16.257  4.098   2.961e-03   9.622e-04
+ 435:sd7             140.48  -2.242  2.215  7.352  0.091  0.106  -0.652 16.814  4.102   3.385e-03   9.622e-04
+ 436:qp9             140.64  -3.501  3.121  7.362  0.110  0.133   3.803 16.303  4.104   3.462e-03   9.145e-07
+ 437:qp9             140.80  -5.375  4.521  7.369  0.133  0.165   7.610 14.450  4.105   3.385e-03  -9.674e-04
+ 438:sd8             141.00  -6.697  6.935  7.374  0.166  0.165   6.795 11.569  4.108   3.191e-03  -9.674e-04
+ 439:sx9             141.00  -6.697  6.935  7.374  0.166  0.165   6.795 11.569  4.108   3.191e-03  -9.674e-04
+ 440:sd9             141.48  -9.845 14.815  7.382  0.245  0.165   4.853  6.021  4.117   2.730e-03  -9.674e-04
+ 441:qp10            141.64  -5.400 17.295  7.383  0.265  0.085   2.721  4.829  4.121   2.646e-03  -8.933e-05
+ 442:qp10            141.80   0.112 18.156  7.385  0.272  0.000   1.145  4.220  4.127   2.702e-03   7.862e-04
+ 443:sd8             142.00   0.101 18.113  7.387  0.272  0.000   1.036  3.784  4.135   2.859e-03   7.862e-04
+ 444:sx10            142.00   0.101 18.113  7.387  0.272  0.000   1.036  3.784  4.135   2.859e-03   7.862e-04
+ 445:sdac            143.90  -0.004 17.930  7.403  0.272  0.000  -0.001  1.813  4.263   4.356e-03   7.862e-04
+ 446:sdac            145.81  -0.109 18.145  7.420  0.273  0.000  -1.038  3.793  4.392   5.854e-03   7.862e-04
+ 447:sx10            145.81  -0.109 18.145  7.420  0.273  0.000  -1.038  3.793  4.392   5.854e-03   7.862e-04
+ 448:sd8             146.01  -0.120 18.191  7.422  0.273  0.000  -1.147  4.230  4.400   6.011e-03   7.862e-04
+ 449:qp10            146.17   5.403 17.331  7.423  0.266 -0.085  -2.727  4.840  4.405   6.283e-03   2.625e-03
+ 450:qp10            146.33   9.859 14.848  7.425  0.246 -0.165  -4.864  6.034  4.410   6.859e-03   4.601e-03
+ 451:sd9             146.80   6.709  6.956  7.432  0.167 -0.165  -6.809 11.595  4.419   9.050e-03   4.601e-03
+ 452:sx9             146.80   6.709  6.956  7.432  0.167 -0.165  -6.809 11.595  4.419   9.050e-03   4.601e-03
+ 453:sd8             147.00   5.386  4.537  7.438  0.134 -0.165  -7.626 14.482  4.422   9.971e-03   4.601e-03
+ 454:qp9             147.16   3.509  3.134  7.445  0.110 -0.132  -3.811 16.339  4.423   1.049e-02   1.818e-03
+ 455:qp9             147.32   2.247  2.226  7.454  0.091 -0.105   0.654 16.851  4.425   1.055e-02  -1.042e-03
+ 456:sd7             147.76   1.054  0.774  7.508  0.045 -0.105   0.617 16.292  4.429   1.009e-02  -1.042e-03
+ 457:bend2           147.94   0.574  0.491  7.554  0.029 -0.072   0.897 15.974  4.431   9.874e-03  -1.228e-03
+ 458:bend3           148.11   0.105  0.371  7.621  0.020 -0.039   0.877 15.662  4.432   9.659e-03  -1.228e-03
+ 459:bend3           148.29  -0.364  0.417  7.694  0.016 -0.007   0.857 15.358  4.434   9.444e-03  -1.228e-03
+ 460:bend3           148.46  -0.831  0.627  7.749  0.017  0.026   0.838 15.061  4.436   9.228e-03  -1.228e-03
+ 461:bend3           148.64  -1.295  1.000  7.784  0.025  0.058   0.818 14.770  4.438   9.013e-03  -1.228e-03
+ 462:bend4           148.82  -1.781  1.534  7.807  0.038  0.092   1.065 14.487  4.440   8.798e-03  -1.389e-03
+ 463:sd7             149.26  -2.974  3.627  7.837  0.078  0.092   1.000 13.578  4.445   8.186e-03  -1.389e-03
+ 464:qp6             149.42  -4.249  4.772  7.843  0.094  0.107   3.303 12.883  4.447   7.849e-03  -2.812e-03
+ 465:qp6             149.58  -6.016  6.399  7.847  0.112  0.125   5.231 11.504  4.449   7.291e-03  -4.152e-03
+ 466:sd5             149.78  -7.178  9.037  7.851  0.137  0.125   4.738  9.510  4.452   6.460e-03  -4.152e-03
+ 467:sx7             149.78  -7.178  9.037  7.851  0.137  0.125   4.738  9.510  4.452   6.460e-03  -4.152e-03
+ 468:sd4             150.17  -9.443 15.519  7.857  0.186  0.125   3.777  6.189  4.460   4.841e-03  -4.152e-03
+ 469:qp7             150.40  -1.241 18.078  7.859  0.204  0.025   0.679  5.203  4.466   4.125e-03  -2.137e-03
+ 470:qp7             150.63   7.521 16.574  7.861  0.198 -0.078  -2.088  5.515  4.473   3.838e-03  -3.818e-04
+ 471:sd3             150.83   6.826 13.704  7.863  0.182 -0.078  -2.282  6.389  4.479   3.762e-03  -3.818e-04
+ 472:sx8             150.83   6.826 13.704  7.863  0.182 -0.078  -2.282  6.389  4.479   3.762e-03  -3.818e-04
+ 473:sd2             151.22   5.472  8.908  7.869  0.151 -0.078  -2.661  8.316  4.487   3.613e-03  -3.818e-04
+ 474:qp8             151.38   2.888  7.589  7.872  0.142 -0.039  -0.384  8.811  4.490   3.467e-03  -1.435e-03
+ 475:qp8             151.54   0.814  7.006  7.875  0.139 -0.001   1.959  8.555  4.493   3.157e-03  -2.423e-03
+ 476:sd13            155.02  -0.008  4.201  7.986  0.137 -0.001  -0.007  1.757  4.669  -5.282e-03  -2.423e-03
+ 477:sd13            158.50  -0.831  7.123  8.095  0.135 -0.001  -1.972  8.650  4.844  -1.372e-02  -2.423e-03
+ 478:qp8             158.66  -2.939  7.717  8.098  0.138  0.036   0.396  8.906  4.846  -1.381e-02   1.366e-03
+ 479:qp8             158.82  -5.566  9.058  8.101  0.147  0.075   2.697  8.404  4.849  -1.329e-02   5.098e-03
+ 480:sd2             159.21  -6.943 13.937  8.107  0.176  0.075   2.313  6.450  4.858  -1.130e-02   5.098e-03
+ 481:sx6             159.21  -6.943 13.937  8.107  0.176  0.075   2.313  6.450  4.858  -1.130e-02   5.098e-03
+ 482:sd3             159.41  -7.649 16.855  8.109  0.191  0.075   2.117  5.564  4.863  -1.028e-02   5.098e-03
+ 483:qp7             159.64   1.263 18.384  8.111  0.197 -0.025  -0.675  5.245  4.870  -9.717e-03  -1.671e-04
+ 484:qp7             159.87   9.605 15.782  8.113  0.180 -0.122  -3.796  6.235  4.876  -1.036e-02  -5.446e-03
+ 485:sd4             160.26   7.301  9.189  8.118  0.132 -0.122  -4.759  9.571  4.884  -1.248e-02  -5.446e-03
+ 486:sx5             160.26   7.301  9.189  8.118  0.132 -0.122  -4.759  9.571  4.884  -1.248e-02  -5.446e-03
+ 487:sd5             160.46   6.119  6.505  8.122  0.108 -0.122  -5.254 11.574  4.887  -1.357e-02  -5.446e-03
+ 488:qp6             160.62   4.323  4.850  8.127  0.090 -0.104  -3.313 12.958  4.890  -1.424e-02  -2.953e-03
+ 489:qp6             160.78   3.027  3.685  8.133  0.075 -0.089  -0.996 13.654  4.891  -1.451e-02  -3.763e-04
+ 490:sd7             161.22   1.814  1.555  8.162  0.035 -0.089  -1.060 14.558  4.896  -1.468e-02  -3.763e-04
+ 491:bend2           161.40   1.320  1.010  8.184  0.022 -0.056  -0.812 14.840  4.898  -1.469e-02  -1.066e-04
+ 492:bend3           161.57   0.848  0.629  8.220  0.015 -0.024  -0.832 15.128  4.900  -1.471e-02  -1.066e-04
+ 493:bend3           161.75   0.373  0.415  8.275  0.014  0.009  -0.851 15.423  4.902  -1.473e-02  -1.066e-04
+ 494:bend3           161.92  -0.103  0.368  8.349  0.019  0.042  -0.871 15.725  4.904  -1.475e-02  -1.066e-04
+ 495:bend3           162.10  -0.580  0.487  8.417  0.029  0.074  -0.890 16.034  4.905  -1.477e-02  -1.066e-04
+ 496:bend4           162.27  -1.068  0.774  8.463  0.045  0.108  -0.609 16.350  4.907  -1.479e-02   1.651e-04
+ 497:sd7             162.71  -2.280  2.247  8.517  0.092  0.108  -0.646 16.902  4.911  -1.471e-02   1.651e-04
+ 498:qp4             162.87  -3.409  3.147  8.526  0.111  0.130   3.067 16.510  4.913  -1.443e-02   3.444e-03
+ 499:qp4             163.03  -5.031  4.481  8.533  0.134  0.157   6.347 14.986  4.915  -1.362e-02   6.604e-03
+ 500:sd8             163.23  -6.205  6.728  8.539  0.165  0.157   5.796 12.558  4.917  -1.230e-02   6.604e-03
+ 501:sx3             163.23  -6.205  6.728  8.539  0.165  0.157   5.796 12.558  4.917  -1.230e-02   6.604e-03
+ 502:sd9             163.71  -9.001 13.972  8.547  0.240  0.157   4.484  7.661  4.925  -9.153e-03   6.604e-03
+ 503:qp5             163.87  -4.961 16.242  8.548  0.260  0.081   2.077  6.628  4.928  -8.313e-03   3.935e-03
+ 504:qp5             164.03   0.024 17.045  8.550  0.266  0.002   0.079  6.288  4.932  -7.883e-03   1.457e-03
+ 505:sd10            164.50  -0.004 17.036  8.554  0.267  0.002   0.004  6.249  4.944  -7.199e-03   1.457e-03
+ 506:sx4             164.50  -0.004 17.036  8.554  0.267  0.002   0.004  6.249  4.944  -7.199e-03   1.457e-03
+ 507:sd12            164.97  -0.031 17.052  8.559  0.268  0.002  -0.071  6.281  4.956  -6.514e-03   1.457e-03
+ 508:qp5             165.13   4.957 16.251  8.560  0.262 -0.079  -2.066  6.617  4.960  -6.422e-03  -3.000e-04
+ 509:qp5             165.29   9.001 13.981  8.562  0.243 -0.155  -4.468  7.646  4.963  -6.612e-03  -2.080e-03
+ 510:sd9             165.77   6.207  6.737  8.570  0.169 -0.155  -5.774 12.524  4.971  -7.602e-03  -2.080e-03
+ 511:sx3             165.77   6.207  6.737  8.570  0.169 -0.155  -5.774 12.524  4.971  -7.602e-03  -2.080e-03
+ 512:sd8             165.97   5.034  4.489  8.575  0.138 -0.155  -6.322 14.943  4.974  -8.019e-03  -2.080e-03
+ 513:qp4             166.13   3.411  3.154  8.582  0.115 -0.127  -3.050 16.461  4.975  -8.211e-03  -3.195e-04
+ 514:qp4             166.29   2.281  2.254  8.592  0.097 -0.104   0.651 16.849  4.977  -8.120e-03   1.461e-03
+ 515:sd7             166.73   1.071  0.779  8.645  0.051 -0.104   0.614 16.293  4.981  -7.477e-03   1.461e-03
+ 516:bend2           166.90   0.585  0.491  8.691  0.036 -0.070   0.894 15.976  4.983  -7.196e-03   1.599e-03
+ 517:bend3           167.08   0.109  0.369  8.758  0.026 -0.038   0.874 15.666  4.984  -6.916e-03   1.599e-03
+ 518:bend3           167.25  -0.366  0.414  8.832  0.023 -0.005   0.854 15.362  4.986  -6.635e-03   1.599e-03
+ 519:bend3           167.43  -0.840  0.626  8.888  0.025  0.027   0.835 15.066  4.988  -6.355e-03   1.599e-03
+ 520:bend3           167.60  -1.310  1.003  8.923  0.032  0.060   0.815 14.777  4.990  -6.075e-03   1.599e-03
+ 521:bend4           167.78  -1.803  1.544  8.946  0.046  0.093   1.062 14.494  4.992  -5.794e-03   1.705e-03
+ 522:sd6             168.57  -3.975  6.110  8.987  0.119  0.093   0.946 12.908  5.001  -4.447e-03   1.705e-03
+ 523:sx2             168.57  -3.975  6.110  8.987  0.119  0.093   0.946 12.908  5.001  -4.447e-03   1.705e-03
+ 524:sd5             168.77  -4.525  7.810  8.992  0.138  0.093   0.917 12.535  5.003  -4.106e-03   1.705e-03
+ 525:qp3             168.93  -6.045  9.490  8.995  0.154  0.110   2.281 12.020  5.005  -3.796e-03   2.163e-03
+ 526:qp3             169.09  -8.010 11.726  8.997  0.173  0.129   3.478 11.093  5.008  -3.416e-03   2.581e-03
+ 527:sd14            169.68 -11.289 23.112  9.003  0.249  0.129   2.782  7.399  5.018  -1.893e-03   2.581e-03
+ 528:qp2             169.91  -1.953 26.253  9.004  0.267  0.026  -0.078  6.796  5.023  -1.384e-03   1.883e-03
+ 529:qp2             170.14   8.070 24.802  9.006  0.261 -0.078  -2.967  7.475  5.028  -1.014e-03   1.356e-03
+ 530:sd3             170.34   7.536 21.681  9.007  0.245 -0.078  -3.229  8.715  5.032  -7.430e-04   1.356e-03
+ 531:sx1             170.34   7.536 21.681  9.007  0.245 -0.078  -3.229  8.715  5.032  -7.430e-04   1.356e-03
+ 532:sd2             170.73   6.497 16.208  9.010  0.215 -0.078  -3.740 11.432  5.039  -2.141e-04   1.356e-03
+ 533:qp1             170.89   3.323 14.653  9.012  0.205 -0.039  -1.596 12.295  5.041  -8.397e-07   1.304e-03
+ 534:qp1             171.05   0.557 14.038  9.014  0.202  0.000   0.740 12.433  5.043   2.011e-04   1.214e-03
+ 535:sd1             177.05   0.000 10.697  9.095  0.203  0.000  -0.003  8.008  5.145   7.485e-03   1.214e-03
+ 536:sd1             183.05  -0.556 14.035  9.176  0.203  0.000  -0.746 12.505  5.247   1.477e-02   1.214e-03
+ 537:qp1             183.21  -3.322 14.650  9.178  0.206  0.039   1.603 12.367  5.249   1.474e-02  -1.622e-03
+ 538:qp1             183.37  -6.496 16.205  9.179  0.215  0.079   3.761 11.499  5.251   1.425e-02  -4.410e-03
+ 539:sd2             183.76  -7.535 21.677  9.183  0.246  0.079   3.247  8.766  5.257   1.253e-02  -4.410e-03
+ 540:sx1             183.76  -7.535 21.677  9.183  0.246  0.079   3.247  8.766  5.257   1.253e-02  -4.410e-03
+ 541:sd3             183.96  -8.068 24.798  9.184  0.262  0.079   2.984  7.520  5.261   1.165e-02  -4.410e-03
+ 542:qp2             184.19   1.952 26.249  9.185  0.268 -0.026   0.079  6.836  5.266   1.117e-02   1.986e-04
+ 543:qp2             184.42  11.286 23.109  9.187  0.250 -0.129  -2.797  7.443  5.271   1.174e-02   4.821e-03
+ 544:sd14            185.01   8.009 11.725  9.192  0.174 -0.129  -3.496 11.156  5.282   1.459e-02   4.821e-03
+ 545:qp3             185.17   6.043  9.490  9.195  0.155 -0.110  -2.291 12.087  5.284   1.522e-02   3.118e-03
+ 546:qp3             185.33   4.524  7.810  9.198  0.138 -0.093  -0.919 12.604  5.286   1.558e-02   1.356e-03
+ 547:sd5             185.53   3.974  6.110  9.202  0.120 -0.093  -0.949 12.978  5.288   1.585e-02   1.356e-03
+ 548:sx2             185.53   3.974  6.110  9.202  0.120 -0.093  -0.949 12.978  5.288   1.585e-02   1.356e-03
+ 549:sd6             186.32   1.804  1.546  9.244  0.046 -0.093  -1.064 14.568  5.297   1.692e-02   1.356e-03
+ 550:bend2           186.49   1.311  1.004  9.266  0.032 -0.060  -0.816 14.850  5.299   1.711e-02   1.045e-03
+ 551:bend3           186.67   0.841  0.626  9.301  0.025 -0.028  -0.835 15.140  5.301   1.729e-02   1.045e-03
+ 552:bend3           186.84   0.367  0.414  9.357  0.023  0.005  -0.855 15.436  5.303   1.747e-02   1.045e-03
+ 553:bend3           187.02  -0.108  0.369  9.431  0.027  0.038  -0.874 15.740  5.305   1.766e-02   1.045e-03
+ 554:bend3           187.20  -0.583  0.490  9.498  0.036  0.070  -0.894 16.050  5.307   1.784e-02   1.045e-03
+ 555:bend4           187.37  -1.070  0.778  9.544  0.051  0.104  -0.613 16.367  5.308   1.802e-02   7.138e-04
+ 556:sd7             187.81  -2.279  2.251  9.598  0.097  0.104  -0.650 16.922  5.312   1.834e-02   7.138e-04
+ 557:qp4             187.97  -3.407  3.150  9.607  0.115  0.127   3.068 16.531  5.314   1.813e-02  -3.314e-03
+ 558:qp4             188.13  -5.028  4.484  9.614  0.138  0.155   6.352 15.006  5.316   1.728e-02  -7.215e-03
+ 559:sd8             188.33  -6.200  6.729  9.620  0.169  0.155   5.801 12.575  5.318   1.584e-02  -7.215e-03
+ 560:sx3             188.33  -6.200  6.729  9.620  0.169  0.155   5.801 12.575  5.318   1.584e-02  -7.215e-03
+ 561:sd9             188.81  -8.991 13.965  9.628  0.243  0.155   4.489  7.673  5.326   1.240e-02  -7.215e-03
+ 562:qp5             188.97  -4.952 16.233  9.629  0.261  0.079   2.078  6.639  5.329   1.153e-02  -3.794e-03
+ 563:qp5             189.13   0.030 17.033  9.631  0.268 -0.002   0.077  6.300  5.333   1.118e-02  -5.678e-04
+ 564:sd12            189.60   0.002 17.018  9.635  0.267 -0.002   0.002  6.263  5.345   1.091e-02  -5.678e-04
+ 565:sx4             189.60   0.002 17.018  9.635  0.267 -0.002   0.002  6.263  5.345   1.091e-02  -5.678e-04
+ 566:sd10            190.07  -0.025 17.029  9.640  0.266 -0.002  -0.073  6.296  5.357   1.065e-02  -5.678e-04
+ 567:qp5             190.23   4.955 16.227  9.641  0.259 -0.081  -2.073  6.634  5.361   1.081e-02   2.595e-03
+ 568:qp5             190.39   8.992 13.959  9.643  0.240 -0.157  -4.480  7.666  5.364   1.148e-02   5.887e-03
+ 569:sd9             190.86   6.199  6.723  9.651  0.165 -0.157  -5.790 12.558  5.372   1.429e-02   5.887e-03
+ 570:sx3             190.86   6.199  6.723  9.651  0.165 -0.157  -5.790 12.558  5.372   1.429e-02   5.887e-03
+ 571:sd8             191.06   5.026  4.478  9.656  0.134 -0.157  -6.339 14.984  5.374   1.547e-02   5.887e-03
+ 572:qp4             191.22   3.406  3.145  9.663  0.111 -0.130  -3.059 16.506  5.376   1.613e-02   2.387e-03
+ 573:qp4             191.38   2.278  2.246  9.673  0.092 -0.108   0.652 16.895  5.378   1.622e-02  -1.203e-03
+ 574:sd7             191.82   1.067  0.775  9.727  0.044 -0.108   0.615 16.338  5.382   1.569e-02  -1.203e-03
+ 575:bend2           192.00   0.580  0.488  9.773  0.029 -0.074   0.896 16.020  5.383   1.543e-02  -1.492e-03
+ 576:bend3           192.17   0.104  0.369  9.840  0.018 -0.042   0.876 15.709  5.385   1.517e-02  -1.492e-03
+ 577:bend3           192.35  -0.372  0.416  9.914  0.014 -0.009   0.856 15.406  5.387   1.491e-02  -1.492e-03
+ 578:bend3           192.53  -0.846  0.629  9.970  0.015  0.024   0.837 15.109  5.389   1.465e-02  -1.492e-03
+ 579:bend3           192.70  -1.317  1.009 10.005  0.022  0.056   0.817 14.819  5.391   1.439e-02  -1.492e-03
+ 580:bend4           192.88  -1.811  1.553 10.027  0.035  0.089   1.064 14.535  5.393   1.412e-02  -1.751e-03
+ 581:sd7             193.32  -3.022  3.679 10.056  0.074  0.089   1.000 13.627  5.398   1.335e-02  -1.751e-03
+ 582:qp6             193.48  -4.316  4.842 10.062  0.090  0.104   3.312 12.931  5.399   1.288e-02  -4.123e-03
+ 583:qp6             193.64  -6.109  6.494 10.067  0.108  0.122   5.248 11.548  5.402   1.204e-02  -6.381e-03
+ 584:sd5             193.84  -7.289  9.174 10.071  0.132  0.122   4.753  9.548  5.405   1.076e-02  -6.381e-03
+ 585:sx5             193.84  -7.289  9.174 10.071  0.132  0.122   4.753  9.548  5.405   1.076e-02  -6.381e-03
+ 586:sd4             194.23  -9.589 15.756 10.076  0.179  0.122   3.790  6.216  5.413   8.276e-03  -6.381e-03
+ 587:qp7             194.46  -1.261 18.354 10.078  0.196  0.025   0.678  5.226  5.419   7.258e-03  -2.555e-03
+ 588:qp7             194.69   7.635 16.828 10.080  0.191 -0.075  -2.103  5.542  5.426   7.077e-03   9.651e-04
+ 589:sd3             194.89   6.931 13.915 10.082  0.176 -0.075  -2.299  6.422  5.431   7.270e-03   9.651e-04
+ 590:sx6             194.89   6.931 13.915 10.082  0.176 -0.075  -2.299  6.422  5.431   7.270e-03   9.651e-04
+ 591:sd2             195.28   5.556  9.045 10.088  0.147 -0.075  -2.680  8.364  5.440   7.647e-03   9.651e-04
+ 592:qp8             195.44   2.933  7.706 10.091  0.138 -0.036  -0.390  8.862  5.443   7.639e-03  -1.066e-03
+ 593:qp8             195.60   0.828  7.113 10.095  0.135  0.001   1.966  8.607  5.446   7.308e-03  -3.052e-03
+ 594:sd13            199.08   0.006  4.208 10.204  0.137  0.001  -0.000  1.760  5.621  -3.322e-03  -3.052e-03
+ 595:sd13            202.56  -0.817  7.032 10.314  0.140  0.001  -1.966  8.609  5.796  -1.395e-02  -3.052e-03
+ 596:qp8             202.72  -2.898  7.617 10.318  0.143  0.039   0.391  8.865  5.799  -1.414e-02   7.602e-04
+ 597:qp8             202.88  -5.492  8.941 10.321  0.152  0.079   2.681  8.366  5.802  -1.371e-02   4.539e-03
+ 598:sd2             203.27  -6.851 13.754 10.326  0.183  0.079   2.300  6.423  5.811  -1.194e-02   4.539e-03
+ 599:sx8             203.27  -6.851 13.754 10.326  0.183  0.079   2.300  6.423  5.811  -1.194e-02   4.539e-03
+ 600:sd3             203.47  -7.548 16.634 10.328  0.199  0.079   2.104  5.543  5.816  -1.103e-02   4.539e-03
+ 601:qp7             203.70   1.246 18.143 10.330  0.205 -0.025  -0.677  5.227  5.823  -1.064e-02  -1.125e-03
+ 602:qp7             203.93   9.478 15.575 10.333  0.187 -0.126  -3.788  6.215  5.829  -1.156e-02  -6.916e-03
+ 603:sd4             204.32   7.204  9.069 10.338  0.138 -0.126  -4.751  9.546  5.837  -1.426e-02  -6.916e-03
+ 604:sx7             204.32   7.204  9.069 10.338  0.138 -0.126  -4.751  9.546  5.837  -1.426e-02  -6.916e-03
+ 605:sd5             204.52   6.037  6.421 10.342  0.113 -0.126  -5.245 11.545  5.840  -1.564e-02  -6.916e-03
+ 606:qp6             204.68   4.265  4.789 10.347  0.095 -0.107  -3.309 12.927  5.842  -1.652e-02  -4.064e-03
+ 607:qp6             204.84   2.985  3.640 10.353  0.079 -0.092  -0.998 13.623  5.844  -1.693e-02  -1.091e-03
+ 608:sd7             205.28   1.788  1.540 10.382  0.038 -0.092  -1.063 14.530  5.849  -1.741e-02  -1.091e-03
+ 609:bend2           205.46   1.299  1.003 10.405  0.025 -0.059  -0.815 14.812  5.851  -1.755e-02  -7.708e-04
+ 610:bend3           205.63   0.834  0.629 10.440  0.018 -0.026  -0.835 15.101  5.853  -1.768e-02  -7.708e-04
+ 611:bend3           205.81   0.365  0.418 10.495  0.016  0.006  -0.854 15.398  5.855  -1.782e-02  -7.708e-04
+ 612:bend3           205.98  -0.106  0.373 10.568  0.020  0.039  -0.874 15.701  5.857  -1.796e-02  -7.708e-04
+ 613:bend3           206.16  -0.576  0.492 10.635  0.030  0.072  -0.894 16.011  5.858  -1.809e-02  -7.708e-04
+ 614:bend4           206.33  -1.058  0.777 10.681  0.045  0.105  -0.613 16.328  5.860  -1.823e-02  -4.359e-04
+ 615:sd7             206.77  -2.255  2.234 10.735  0.091  0.105  -0.650 16.884  5.864  -1.842e-02  -4.359e-04
+ 616:qp9             206.93  -3.522  3.145 10.745  0.110  0.132   3.823 16.369  5.866  -1.809e-02   4.503e-03
+ 617:qp9             207.09  -5.406  4.554 10.751  0.134  0.165   7.645 14.507  5.868  -1.699e-02   9.247e-03
+ 618:sd8             207.29  -6.734  6.982 10.757  0.167  0.165   6.825 11.613  5.870  -1.514e-02   9.247e-03
+ 619:sx9             207.29  -6.734  6.982 10.757  0.167  0.165   6.825 11.613  5.870  -1.514e-02   9.247e-03
+ 620:sd9             207.77  -9.895 14.903 10.765  0.245  0.165   4.874  6.041  5.879  -1.073e-02   9.247e-03
+ 621:qp10            207.93  -5.423 17.395 10.766  0.265  0.084   2.734  4.843  5.884  -9.525e-03   5.903e-03
+ 622:qp10            208.09   0.121 18.258 10.767  0.272 -0.000   1.152  4.232  5.889  -8.828e-03   2.848e-03
+ 623:sd8             208.29   0.110 18.212 10.769  0.272 -0.000   1.042  3.793  5.897  -8.259e-03   2.848e-03
+ 624:sx10            208.29   0.110 18.212 10.769  0.272 -0.000   1.042  3.793  5.897  -8.259e-03   2.848e-03
+ 625:sdacm           209.29   0.054 18.047 10.778  0.272 -0.000   0.492  2.252  5.953  -5.397e-03   2.848e-03
+ 626:u20             211.09  -0.045 18.030 10.794  0.271 -0.000  -0.478  2.228  6.100  -2.402e-04   2.876e-03
+ 627:sdacm           212.10  -0.100 18.176 10.803  0.271 -0.000  -1.029  3.742  6.156   2.650e-03   2.876e-03
+ 628:sx10            212.10  -0.100 18.176 10.803  0.271 -0.000  -1.029  3.742  6.156   2.650e-03   2.876e-03
+ 629:sd8             212.30  -0.111 18.218 10.804  0.271 -0.000  -1.139  4.176  6.164   3.225e-03   2.876e-03
+ 630:qp10            212.46   5.419 17.355 10.806  0.264 -0.085  -2.700  4.780  6.170   3.760e-03   3.849e-03
+ 631:qp10            212.62   9.879 14.865 10.807  0.244 -0.165  -4.813  5.962  6.175   4.467e-03   5.022e-03
+ 632:sd9             213.10   6.720  6.959 10.815  0.166 -0.165  -6.743 11.467  6.184   6.859e-03   5.022e-03
+ 633:sx9             213.10   6.720  6.959 10.815  0.166 -0.165  -6.743 11.467  6.184   6.859e-03   5.022e-03
+ 634:sd8             213.30   5.393  4.536 10.820  0.133 -0.165  -7.554 14.327  6.187   7.863e-03   5.022e-03
+ 635:qp9             213.46   3.513  3.131 10.827  0.109 -0.132  -3.780 16.166  6.188   8.486e-03   2.737e-03
+ 636:qp9             213.62   2.250  2.222 10.837  0.090 -0.105   0.638 16.677  6.190   8.734e-03   3.470e-04
+ 637:sd7             214.06   1.051  0.770 10.891  0.044 -0.105   0.601 16.131  6.194   8.886e-03   3.470e-04
+ 638:bend2           214.23   0.569  0.488 10.937  0.029 -0.072   0.878 15.820  6.196   8.919e-03   1.837e-04
+ 639:bend3           214.41   0.098  0.371 11.005  0.019 -0.039   0.858 15.515  6.197   8.951e-03   1.837e-04
+ 640:bend3           214.58  -0.373  0.419 11.078  0.015 -0.007   0.839 15.218  6.199   8.983e-03   1.837e-04
+ 641:bend3           214.76  -0.843  0.632 11.133  0.016  0.026   0.819 14.927  6.201   9.015e-03   1.837e-04
+ 642:bend3           214.93  -1.309  1.010 11.168  0.024  0.058   0.800 14.643  6.203   9.047e-03   1.837e-04
+ 643:bend4           215.11  -1.797  1.550 11.190  0.037  0.092   1.044 14.366  6.205   9.080e-03   1.688e-05
+ 644:sd7             215.55  -2.996  3.659 11.220  0.077  0.092   0.980 13.475  6.210   9.087e-03   1.688e-05
+ 645:qp6             215.71  -4.280  4.812 11.226  0.093  0.107   3.266 12.789  6.212   8.957e-03  -1.644e-03
+ 646:qp6             215.87  -6.059  6.451 11.230  0.112  0.125   5.182 11.424  6.214   8.563e-03  -3.267e-03
+ 647:sd5             216.07  -7.228  9.108 11.234  0.137  0.125   4.694  9.449  6.217   7.910e-03  -3.267e-03
+ 648:sx7             216.07  -7.228  9.108 11.234  0.137  0.125   4.694  9.449  6.217   7.910e-03  -3.267e-03
+ 649:sd4             216.46  -9.507 15.634 11.240  0.185  0.125   3.744  6.158  6.225   6.636e-03  -3.267e-03
+ 650:qp7             216.69  -1.243 18.208 11.242  0.203  0.025   0.660  5.183  6.232   6.245e-03  -1.661e-04
+ 651:qp7             216.92   7.582 16.690 11.244  0.197 -0.078  -2.102  5.502  6.239   6.557e-03   2.911e-03
+ 652:sd3             217.12   6.881 13.797 11.246  0.181 -0.078  -2.298  6.382  6.244   7.139e-03   2.911e-03
+ 653:sx8             217.12   6.881 13.797 11.246  0.181 -0.078  -2.298  6.382  6.244   7.139e-03   2.911e-03
+ 654:sd2             217.51   5.515  8.963 11.251  0.151 -0.078  -2.682  8.324  6.252   8.275e-03   2.911e-03
+ 655:qp8             217.67   2.914  7.634 11.254  0.142 -0.038  -0.403  8.825  6.255   8.558e-03   6.221e-04
+ 656:qp8             217.83   0.828  7.044 11.258  0.139  0.000   1.944  8.575  6.258   8.472e-03  -1.694e-03
+ 657:sd13            221.31  -0.001  4.166 11.368  0.139  0.000   0.006  1.782  6.432   2.573e-03  -1.694e-03
+ 658:sd13            224.79  -0.830  7.061 11.479  0.139  0.000  -1.932  8.488  6.607  -3.326e-03  -1.694e-03
+ 659:qp8             224.95  -2.921  7.653 11.482  0.142  0.038   0.392  8.738  6.610  -3.527e-03  -8.172e-04
+ 660:qp8             225.11  -5.528  8.985 11.485  0.151  0.078   2.648  8.245  6.613  -3.586e-03   9.241e-05
+ 661:sd2             225.50  -6.898 13.832 11.491  0.181  0.078   2.269  6.327  6.622  -3.550e-03   9.241e-05
+ 662:sx8             225.50  -6.898 13.832 11.491  0.181  0.078   2.269  6.327  6.622  -3.550e-03   9.241e-05
+ 663:sd3             225.70  -7.600 16.731 11.493  0.197  0.078   2.075  5.458  6.627  -3.531e-03   9.241e-05
+ 664:qp7             225.93   1.246 18.252 11.495  0.203 -0.025  -0.665  5.146  6.634  -3.718e-03  -1.734e-03
+ 665:qp7             226.16   9.530 15.672 11.497  0.186 -0.125  -3.730  6.119  6.641  -4.344e-03  -3.766e-03
+ 666:sd4             226.55   7.245  9.130 11.502  0.137 -0.125  -4.680  9.399  6.649  -5.813e-03  -3.766e-03
+ 667:sx7             226.55   7.245  9.130 11.502  0.137 -0.125  -4.680  9.399  6.649  -5.813e-03  -3.766e-03
+ 668:sd5             226.75   6.074  6.466 11.506  0.112 -0.125  -5.167 11.368  6.652  -6.567e-03  -3.766e-03
+ 669:qp6             226.91   4.290  4.824 11.511  0.093 -0.107  -3.261 12.729  6.654  -7.070e-03  -2.517e-03
+ 670:qp6             227.07   3.003  3.668 11.517  0.077 -0.092  -0.986 13.415  6.656  -7.368e-03  -1.201e-03
+ 671:sd7             227.51   1.802  1.553 11.546  0.037 -0.092  -1.050 14.311  6.661  -7.897e-03  -1.201e-03
+ 672:bend2           227.69   1.313  1.012 11.569  0.024 -0.059  -0.807 14.591  6.663  -8.082e-03  -1.056e-03
+ 673:bend3           227.86   0.846  0.633 11.604  0.016 -0.026  -0.827 14.878  6.665  -8.267e-03  -1.056e-03
+ 674:bend3           228.04   0.375  0.419 11.659  0.015  0.007  -0.847 15.171  6.667  -8.453e-03  -1.056e-03
+ 675:bend3           228.21  -0.097  0.370 11.732  0.019  0.039  -0.866 15.472  6.668  -8.638e-03  -1.056e-03
+ 676:bend3           228.39  -0.568  0.487 11.799  0.029  0.072  -0.886 15.779  6.670  -8.823e-03  -1.056e-03
+ 677:bend4           228.57  -1.052  0.768 11.846  0.044  0.105  -0.610 16.094  6.672  -9.008e-03  -8.904e-04
+ 678:sd7             229.01  -2.253  2.222 11.900  0.090  0.105  -0.647 16.647  6.676  -9.400e-03  -8.904e-04
+ 679:qp9             229.17  -3.517  3.132 11.910  0.109  0.132   3.763 16.141  6.678  -9.341e-03   1.624e-03
+ 680:qp9             229.33  -5.399  4.539 11.916  0.133  0.165   7.532 14.307  6.679  -8.884e-03   4.063e-03
+ 681:sd8             229.53  -6.727  6.964 11.922  0.166  0.165   6.725 11.456  6.682  -8.072e-03   4.063e-03
+ 682:sx9             229.53  -6.727  6.964 11.922  0.166  0.165   6.725 11.456  6.682  -8.072e-03   4.063e-03
+ 683:sd9             230.00  -9.890 14.879 11.929  0.244  0.165   4.803  5.964  6.691  -6.136e-03   4.063e-03
+ 684:qp10            230.16  -5.426 17.372 11.931  0.264  0.085   2.692  4.785  6.696  -5.640e-03   2.163e-03
+ 685:qp10            230.32   0.110 18.237 11.932  0.271  0.000   1.129  4.183  6.702  -5.438e-03   3.678e-04
+ 686:sd8             230.52   0.099 18.195 11.934  0.271  0.000   1.021  3.753  6.710  -5.365e-03   3.678e-04
+ 687:sx10            230.52   0.099 18.195 11.934  0.271  0.000   1.021  3.753  6.710  -5.365e-03   3.678e-04
+ 688:sdacm           231.53   0.043 18.052 11.943  0.271  0.000   0.476  2.249  6.766  -4.995e-03   3.678e-04
+ 689:u20             233.33  -0.056 18.074 11.959  0.272  0.000  -0.482  2.259  6.911  -4.290e-03   4.144e-04
+ 690:sdacm           234.33  -0.111 18.241 11.968  0.272  0.000  -1.026  3.775  6.967  -3.874e-03   4.144e-04
+ 691:sx10            234.33  -0.111 18.241 11.968  0.272  0.000  -1.026  3.775  6.967  -3.874e-03   4.144e-04
+ 692:sd8             234.53  -0.122 18.288 11.969  0.272  0.000  -1.135  4.207  6.975  -3.791e-03   4.144e-04
+ 693:qp10            234.69   5.430 17.424 11.971  0.265 -0.084  -2.705  4.811  6.980  -3.818e-03  -7.508e-04
+ 694:qp10            234.85   9.910 14.928 11.972  0.245 -0.165  -4.828  5.997  6.985  -4.034e-03  -1.955e-03
+ 695:sd9             235.33   6.745  6.994 11.980  0.167 -0.165  -6.759 11.516  6.994  -4.965e-03  -1.955e-03
+ 696:sx9             235.33   6.745  6.994 11.980  0.167 -0.165  -6.759 11.516  6.994  -4.965e-03  -1.955e-03
+ 697:sd8             235.53   5.415  4.562 11.985  0.134 -0.165  -7.569 14.382  6.997  -5.356e-03  -1.955e-03
+ 698:qp9             235.69   3.528  3.151 11.992  0.110 -0.132  -3.780 16.224  6.998  -5.552e-03  -4.896e-04
+ 699:qp9             235.85   2.259  2.239 12.002  0.091 -0.105   0.653 16.732  7.000  -5.511e-03   9.992e-04
+ 700:sd7             236.29   1.061  0.778 12.056  0.045 -0.105   0.616 16.173  7.004  -5.072e-03   9.992e-04
+ 701:bend2           236.46   0.579  0.493 12.101  0.029 -0.072   0.894 15.856  7.006  -4.880e-03   1.092e-03
+ 702:bend3           236.64   0.108  0.372 12.168  0.020 -0.039   0.874 15.546  7.008  -4.688e-03   1.092e-03
+ 703:bend3           236.81  -0.363  0.417 12.241  0.016 -0.006   0.854 15.243  7.010  -4.497e-03   1.092e-03
+ 704:bend3           236.99  -0.832  0.626 12.297  0.017  0.026   0.834 14.947  7.011  -4.305e-03   1.092e-03
+ 705:bend3           237.16  -1.298  1.000 12.332  0.025  0.059   0.814 14.658  7.013  -4.114e-03   1.092e-03
+ 706:bend4           237.34  -1.786  1.536 12.355  0.038  0.092   1.059 14.376  7.015  -3.922e-03   1.164e-03
+ 707:sd7             237.78  -2.985  3.636 12.384  0.078  0.092   0.994 13.472  7.020  -3.410e-03   1.164e-03
+ 708:qp6             237.94  -4.264  4.784 12.390  0.094  0.107   3.279 12.782  7.022  -3.175e-03   1.758e-03
+ 709:qp6             238.10  -6.036  6.417 12.395  0.113  0.126   5.191 11.414  7.024  -2.850e-03   2.302e-03
+ 710:sd5             238.30  -7.202  9.065 12.399  0.138  0.126   4.702  9.435  7.027  -2.389e-03   2.302e-03
+ 711:sx7             238.30  -7.202  9.065 12.399  0.138  0.126   4.702  9.435  7.027  -2.389e-03   2.302e-03
+ 712:sd4             238.69  -9.477 15.570 12.404  0.187  0.126   3.747  6.140  7.035  -1.491e-03   2.302e-03
+ 713:qp7             238.92  -1.248 18.137 12.406  0.205  0.025   0.672  5.162  7.042  -1.025e-03   1.796e-03
+ 714:qp7             239.15   7.545 16.630 12.409  0.199 -0.079  -2.076  5.473  7.049  -6.488e-04   1.506e-03
+ 715:sd3             239.35   6.848 13.751 12.411  0.183 -0.079  -2.270  6.342  7.054  -3.475e-04   1.506e-03
+ 716:sx8             239.35   6.848 13.751 12.411  0.183 -0.079  -2.270  6.342  7.054  -3.475e-04   1.506e-03
+ 717:sd2             239.74   5.490  8.939 12.416  0.152 -0.079  -2.648  8.260  7.063   2.399e-04   1.506e-03
+ 718:qp8             239.90   2.897  7.616 12.419  0.143 -0.039  -0.387  8.753  7.066   4.782e-04   1.461e-03
+ 719:qp8             240.06   0.816  7.031 12.423  0.139 -0.001   1.940  8.501  7.069   7.040e-04   1.351e-03
+ 720:sd13            243.54  -0.004  4.203 12.533  0.137 -0.001  -0.007  1.770  7.245   5.408e-03   1.351e-03
+ 721:sd13            247.03  -0.824  7.088 12.642  0.135 -0.001  -1.955  8.603  7.418   1.011e-02   1.351e-03
+ 722:qp8             247.19  -2.922  7.679 12.646  0.138  0.036   0.401  8.856  7.421   1.010e-02  -1.479e-03
+ 723:qp8             247.34  -5.536  9.013 12.649  0.147  0.075   2.687  8.354  7.424   9.642e-03  -4.247e-03
+ 724:sd2             247.74  -6.905 13.865 12.654  0.176  0.075   2.304  6.407  7.433   7.986e-03  -4.247e-03
+ 725:sx6             247.74  -6.905 13.865 12.654  0.176  0.075   2.304  6.407  7.433   7.986e-03  -4.247e-03
+ 726:sd3             247.94  -7.607 16.767 12.656  0.191  0.075   2.107  5.525  7.438   7.136e-03  -4.247e-03
+ 727:qp7             248.16   1.258 18.287 12.658  0.197 -0.025  -0.665  5.206  7.445   6.552e-03  -8.850e-04
+ 728:qp7             248.40   9.555 15.698 12.661  0.180 -0.122  -3.762  6.186  7.451   6.722e-03   2.375e-03
+ 729:sd4             248.78   7.262  9.139 12.666  0.132 -0.122  -4.717  9.493  7.460   7.648e-03   2.375e-03
+ 730:sx5             248.78   7.262  9.139 12.666  0.132 -0.122  -4.717  9.493  7.460   7.648e-03   2.375e-03
+ 731:sd5             248.99   6.086  6.470 12.670  0.108 -0.122  -5.207 11.478  7.463   8.123e-03   2.375e-03
+ 732:qp6             249.15   4.300  4.823 12.674  0.090 -0.104  -3.282 12.850  7.465   8.387e-03   9.172e-04
+ 733:qp6             249.31   3.010  3.665 12.680  0.074 -0.089  -0.985 13.539  7.467   8.414e-03  -5.702e-04
+ 734:sd7             249.75   1.803  1.547 12.710  0.035 -0.089  -1.049 14.434  7.472   8.164e-03  -5.702e-04
+ 735:bend2           249.92   1.311  1.005 12.732  0.022 -0.056  -0.803 14.712  7.473   8.037e-03  -7.202e-04
+ 736:bend3           250.10   0.842  0.628 12.768  0.015 -0.024  -0.823 14.997  7.475   7.911e-03  -7.202e-04
+ 737:bend3           250.27   0.369  0.415 12.823  0.014  0.009  -0.842 15.289  7.477   7.785e-03  -7.202e-04
+ 738:bend3           250.45  -0.106  0.369 12.897  0.018  0.042  -0.862 15.588  7.479   7.658e-03  -7.202e-04
+ 739:bend3           250.62  -0.580  0.489 12.964  0.029  0.074  -0.881 15.894  7.481   7.532e-03  -7.202e-04
+ 740:bend4           250.80  -1.066  0.776 13.010  0.044  0.108  -0.603 16.206  7.482   7.406e-03  -8.563e-04
+ 741:sd7             251.24  -2.273  2.245 13.064  0.092  0.108  -0.640 16.753  7.487   7.029e-03  -8.563e-04
+ 742:qp4             251.40  -3.399  3.141 13.073  0.111  0.130   3.040 16.364  7.488   6.769e-03  -2.378e-03
+ 743:qp4             251.56  -5.016  4.472 13.080  0.134  0.157   6.291 14.853  7.490   6.272e-03  -3.811e-03
+ 744:sd8             251.76  -6.185  6.712 13.086  0.165  0.157   5.745 12.446  7.492   5.510e-03  -3.811e-03
+ 745:sx3             251.76  -6.185  6.712 13.086  0.165  0.157   5.745 12.446  7.492   5.510e-03  -3.811e-03
+ 746:sd9             252.23  -8.971 13.932 13.094  0.240  0.157   4.444  7.593  7.500   3.695e-03  -3.811e-03
+ 747:qp5             252.39  -4.942 16.194 13.096  0.259  0.081   2.057  6.570  7.504   3.180e-03  -2.639e-03
+ 748:qp5             252.55   0.029 16.993 13.097  0.266  0.002   0.076  6.234  7.508   2.844e-03  -1.588e-03
+ 749:sd10            253.02   0.001 16.979 13.101  0.267  0.002   0.001  6.198  7.520   2.097e-03  -1.588e-03
+ 750:sx4             253.02   0.001 16.979 13.101  0.267  0.002   0.001  6.198  7.520   2.097e-03  -1.588e-03
+ 751:sd12            253.49  -0.026 16.991 13.106  0.268  0.002  -0.075  6.233  7.532   1.351e-03  -1.588e-03
+ 752:qp5             253.65   4.943 16.191 13.107  0.261 -0.079  -2.055  6.568  7.536   1.118e-03  -1.341e-03
+ 753:qp5             253.81   8.970 13.929 13.109  0.243 -0.155  -4.440  7.591  7.539   9.189e-04  -1.153e-03
+ 754:sd9             254.29   6.184  6.710 13.117  0.169 -0.155  -5.739 12.440  7.547   3.697e-04  -1.153e-03
+ 755:sx3             254.29   6.184  6.710 13.117  0.169 -0.155  -5.739 12.440  7.547   3.697e-04  -1.153e-03
+ 756:sd8             254.49   5.015  4.470 13.123  0.138 -0.155  -6.285 14.845  7.549   1.391e-04  -1.153e-03
+ 757:qp4             254.65   3.398  3.140 13.129  0.115 -0.127  -3.036 16.354  7.551  -4.085e-05  -1.092e-03
+ 758:qp4             254.81   2.273  2.243 13.139  0.097 -0.104   0.641 16.742  7.552  -2.088e-04  -1.003e-03
+ 759:sd7             255.25   1.065  0.775 13.193  0.051 -0.104   0.604 16.194  7.557  -6.503e-04  -1.003e-03
+ 760:bend2           255.43   0.579  0.489 13.239  0.036 -0.070   0.882 15.881  7.558  -8.242e-04  -9.914e-04
+ 761:bend3           255.60   0.104  0.369 13.306  0.027 -0.038   0.862 15.575  7.560  -9.981e-04  -9.914e-04
+ 762:bend3           255.78  -0.371  0.416 13.380  0.023 -0.005   0.843 15.276  7.562  -1.172e-03  -9.914e-04
+ 763:bend3           255.95  -0.844  0.629 13.436  0.025  0.028   0.823 14.984  7.564  -1.346e-03  -9.914e-04
+ 764:bend3           256.13  -1.314  1.007 13.471  0.033  0.060   0.804 14.698  7.566  -1.520e-03  -9.914e-04
+ 765:bend4           256.30  -1.806  1.550 13.493  0.046  0.093   1.049 14.420  7.568  -1.694e-03  -9.603e-04
+ 766:sd6             257.09  -3.975  6.117 13.534  0.120  0.093   0.934 12.853  7.577  -2.452e-03  -9.603e-04
+ 767:sx2             257.09  -3.975  6.117 13.534  0.120  0.093   0.934 12.853  7.577  -2.452e-03  -9.603e-04
+ 768:sd5             257.29  -4.524  7.816 13.539  0.138  0.093   0.905 12.485  7.579  -2.644e-03  -9.603e-04
+ 769:qp3             257.45  -6.043  9.497 13.542  0.155  0.110   2.264 11.974  7.581  -2.775e-03  -6.681e-04
+ 770:qp3             257.61  -8.009 11.732 13.544  0.174  0.129   3.458 11.053  7.584  -2.858e-03  -3.659e-04
+ 771:sd14            258.20 -11.285 23.115 13.550  0.250  0.129   2.767  7.381  7.594  -3.073e-03  -3.659e-04
+ 772:qp2             258.43  -1.947 26.254 13.551  0.268  0.026  -0.086  6.782  7.599  -3.301e-03  -1.630e-03
+ 773:qp2             258.66   8.074 24.800 13.553  0.262 -0.079  -2.971  7.465  7.604  -3.834e-03  -3.042e-03
+ 774:sd3             258.86   7.540 21.678 13.554  0.246 -0.079  -3.235  8.706  7.608  -4.443e-03  -3.042e-03
+ 775:sx1             258.86   7.540 21.678 13.554  0.246 -0.079  -3.235  8.706  7.608  -4.443e-03  -3.042e-03
+ 776:sd2             259.25   6.500 16.202 13.557  0.216 -0.079  -3.748 11.430  7.615  -5.629e-03  -3.042e-03
+ 777:qp1             259.41   3.326 14.646 13.559  0.206 -0.039  -1.604 12.295  7.617  -6.033e-03  -1.994e-03
+ 778:qp1             259.57   0.561 14.030 13.561  0.203 -0.000   0.732 12.436  7.619  -6.264e-03  -8.836e-04
+ 779:sd1             265.57   0.002 10.651 13.642  0.203 -0.000  -0.006  8.078  7.720  -1.157e-02  -8.836e-04
+ 780:sd1             271.57  -0.557 13.984 13.724  0.202 -0.000  -0.743 12.569  7.822  -1.687e-02  -8.836e-04
+ 781:qp1             271.73  -3.313 14.597 13.725  0.205  0.038   1.619 12.428  7.824  -1.676e-02   2.262e-03
+ 782:qp1             271.89  -6.476 16.147 13.727  0.215  0.078   3.786 11.554  7.826  -1.615e-02   5.337e-03
+ 783:sd2             272.28  -7.513 21.603 13.730  0.245  0.078   3.269  8.803  7.832  -1.407e-02   5.337e-03
+ 784:sx1             272.28  -7.513 21.603 13.730  0.245  0.078   3.269  8.803  7.832  -1.407e-02   5.337e-03
+ 785:sd3             272.48  -8.044 24.714 13.732  0.261  0.078   3.003  7.548  7.836  -1.300e-02   5.337e-03
+ 786:qp2             272.71   1.942 26.162 13.733  0.267 -0.026   0.087  6.858  7.841  -1.232e-02   5.920e-04
+ 787:qp2             272.94  11.246 23.034 13.735  0.249 -0.129  -2.796  7.463  7.846  -1.272e-02  -4.103e-03
+ 788:sd14            273.53   7.981 11.690 13.740  0.173 -0.129  -3.493 11.174  7.856  -1.514e-02  -4.103e-03
+ 789:qp3             273.69   6.022  9.463 13.743  0.154 -0.110  -2.286 12.104  7.858  -1.566e-02  -2.345e-03
+ 790:qp3             273.85   4.508  7.788 13.746  0.138 -0.093  -0.912 12.619  7.860  -1.589e-02  -5.429e-04
+ 791:sd5             274.05   3.960  6.095 13.750  0.119 -0.093  -0.941 12.989  7.863  -1.600e-02  -5.429e-04
+ 792:sx2             274.05   3.960  6.095 13.750  0.119 -0.093  -0.941 12.989  7.863  -1.600e-02  -5.429e-04
+ 793:sd6             274.84   1.798  1.545 13.792  0.045 -0.093  -1.055 14.566  7.872  -1.643e-02  -5.429e-04
+ 794:bend2           275.02   1.307  1.005 13.814  0.032 -0.060  -0.807 14.846  7.874  -1.647e-02  -2.410e-04
+ 795:bend3           275.19   0.839  0.629 13.849  0.024 -0.027  -0.826 15.132  7.876  -1.651e-02  -2.410e-04
+ 796:bend3           275.37   0.368  0.417 13.905  0.023  0.005  -0.846 15.426  7.878  -1.656e-02  -2.410e-04
+ 797:bend3           275.54  -0.106  0.371 13.978  0.026  0.038  -0.865 15.726  7.879  -1.660e-02  -2.410e-04
+ 798:bend3           275.72  -0.579  0.491 14.045  0.036  0.070  -0.885 16.033  7.881  -1.664e-02  -2.410e-04
+ 799:bend4           275.89  -1.063  0.777 14.091  0.051  0.104  -0.604 16.347  7.883  -1.668e-02   6.553e-05
+ 800:sd7             276.33  -2.267  2.242 14.145  0.097  0.104  -0.640 16.894  7.887  -1.665e-02   6.553e-05
+ 801:qp4             276.49  -3.392  3.137 14.155  0.115  0.127   3.070 16.501  7.889  -1.635e-02   3.767e-03
+ 802:qp4             276.65  -5.006  4.465 14.162  0.138  0.155   6.348 14.976  7.890  -1.546e-02   7.336e-03
+ 803:sd8             276.85  -6.172  6.701 14.167  0.169  0.155   5.796 12.547  7.893  -1.399e-02   7.336e-03
+ 804:sx3             276.85  -6.172  6.701 14.167  0.169  0.155   5.796 12.547  7.893  -1.399e-02   7.336e-03
+ 805:sd9             277.33  -8.952 13.905 14.175  0.243  0.155   4.483  7.651  7.900  -1.049e-02   7.336e-03
+ 806:qp5             277.49  -4.931 16.162 14.177  0.262  0.079   2.079  6.617  7.904  -9.574e-03   4.211e-03
+ 807:qp5             277.65   0.030 16.959 14.178  0.268 -0.002   0.083  6.277  7.908  -9.136e-03   1.284e-03
+ 808:sd12            278.12   0.002 16.944 14.183  0.267 -0.002   0.008  6.234  7.920  -8.532e-03   1.284e-03
+ 809:sx4             278.12   0.002 16.944 14.183  0.267 -0.002   0.008  6.234  7.920  -8.532e-03   1.284e-03
+ 810:sd10            278.59  -0.025 16.955 14.187  0.266 -0.002  -0.067  6.261  7.932  -7.929e-03   1.284e-03
+ 811:qp5             278.75   4.933 16.157 14.189  0.260 -0.081  -2.056  6.596  7.936  -7.907e-03  -1.008e-03
+ 812:qp5             278.91   8.952 13.899 14.190  0.241 -0.157  -4.449  7.620  7.939  -8.254e-03  -3.355e-03
+ 813:sd9             279.39   6.171  6.695 14.198  0.166 -0.157  -5.748 12.477  7.947  -9.852e-03  -3.355e-03
+ 814:sx3             279.39   6.171  6.695 14.198  0.166 -0.157  -5.748 12.477  7.947  -9.852e-03  -3.355e-03
+ 815:sd8             279.59   5.004  4.460 14.204  0.134 -0.157  -6.294 14.886  7.949  -1.052e-02  -3.355e-03
+ 816:qp4             279.75   3.391  3.133 14.211  0.111 -0.130  -3.035 16.397  7.951  -1.087e-02  -1.020e-03
+ 817:qp4             279.91   2.267  2.238 14.221  0.092 -0.108   0.651 16.783  7.953  -1.085e-02   1.360e-03
+ 818:sd7             280.35   1.061  0.774 14.275  0.045 -0.108   0.614 16.226  7.957  -1.025e-02   1.360e-03
+ 819:bend2           280.52   0.575  0.489 14.321  0.029 -0.074   0.892 15.909  7.959  -9.977e-03   1.549e-03
+ 820:bend3           280.70   0.102  0.371 14.388  0.019 -0.042   0.873 15.600  7.960  -9.706e-03   1.549e-03
+ 821:bend3           280.87  -0.372  0.418 14.461  0.014 -0.009   0.853 15.297  7.962  -9.434e-03   1.549e-03
+ 822:bend3           281.05  -0.845  0.632 14.517  0.016  0.024   0.833 15.001  7.964  -9.162e-03   1.549e-03
+ 823:bend3           281.22  -1.314  1.010 14.552  0.023  0.056   0.813 14.713  7.966  -8.891e-03   1.549e-03
+ 824:bend4           281.40  -1.806  1.553 14.574  0.035  0.089   1.059 14.431  7.968  -8.619e-03   1.707e-03
+ 825:sd7             281.84  -3.012  3.672 14.604  0.075  0.089   0.994 13.528  7.973  -7.868e-03   1.707e-03
+ 826:qp6             282.00  -4.302  4.832 14.610  0.090  0.104   3.289 12.836  7.975  -7.487e-03   3.047e-03
+ 827:qp6             282.16  -6.091  6.479 14.614  0.108  0.122   5.210 11.463  7.977  -6.898e-03   4.292e-03
+ 828:sd5             282.36  -7.266  9.150 14.618  0.132  0.122   4.719  9.477  7.980  -6.040e-03   4.292e-03
+ 829:sx5             282.36  -7.266  9.150 14.618  0.132  0.122   4.719  9.477  7.980  -6.040e-03   4.292e-03
+ 830:sd4             282.75  -9.559 15.712 14.624  0.180  0.122   3.762  6.169  7.988  -4.366e-03   4.292e-03
+ 831:qp7             282.98  -1.255 18.301 14.626  0.197  0.025   0.673  5.187  7.995  -3.637e-03   2.106e-03
+ 832:qp7             283.21   7.616 16.778 14.628  0.191 -0.075  -2.088  5.501  8.001  -3.379e-03   1.637e-04
+ 833:sd3             283.41   6.912 13.873 14.630  0.176 -0.075  -2.283  6.375  8.007  -3.346e-03   1.637e-04
+ 834:sx6             283.41   6.912 13.873 14.630  0.176 -0.075  -2.283  6.375  8.007  -3.346e-03   1.637e-04
+ 835:sd2             283.80   5.541  9.016 14.635  0.147 -0.075  -2.662  8.304  8.015  -3.282e-03   1.637e-04
+ 836:qp8             283.96   2.926  7.681 14.638  0.138 -0.037  -0.389  8.799  8.018  -3.191e-03   9.748e-04
+ 837:qp8             284.12   0.827  7.089 14.642  0.135  0.000   1.951  8.546  8.021  -2.972e-03   1.747e-03
+ 838:sd13            287.60   0.004  4.196 14.752  0.137  0.000  -0.004  1.767  8.197   3.110e-03   1.747e-03
+ 839:sd13            291.09  -0.820  7.038 14.862  0.138  0.000  -1.959  8.604  8.371   9.193e-03   1.747e-03
+ 840:qp8             291.25  -2.903  7.625 14.865  0.141  0.038   0.397  8.858  8.374   9.276e-03  -7.034e-04
+ 841:qp8             291.41  -5.499  8.950 14.868  0.151  0.078   2.684  8.358  8.377   8.969e-03  -3.120e-03
+ 842:sd2             291.80  -6.859 13.769 14.874  0.181  0.078   2.302  6.413  8.385   7.753e-03  -3.120e-03
+ 843:sx8             291.80  -6.859 13.769 14.874  0.181  0.078   2.302  6.413  8.385   7.753e-03  -3.120e-03
+ 844:sd3             292.00  -7.557 16.653 14.876  0.197  0.078   2.106  5.532  8.391   7.129e-03  -3.120e-03
+ 845:qp7             292.23   1.246 18.164 14.878  0.203 -0.025  -0.670  5.214  8.398   6.805e-03   2.741e-04
+ 846:qp7             292.46   9.488 15.594 14.880  0.186 -0.125  -3.772  6.197  8.404   7.258e-03   3.704e-03
+ 847:sd4             292.85   7.212  9.081 14.885  0.137 -0.125  -4.730  9.514  8.412   8.702e-03   3.704e-03
+ 848:sx7             292.85   7.212  9.081 14.885  0.137 -0.125  -4.730  9.514  8.412   8.702e-03   3.704e-03
+ 849:sd5             293.05   6.044  6.430 14.890  0.112 -0.125  -5.222 11.504  8.415   9.443e-03   3.704e-03
+ 850:qp6             293.21   4.270  4.795 14.894  0.093 -0.107  -3.293 12.880  8.417   9.900e-03   1.998e-03
+ 851:qp6             293.37   2.989  3.644 14.900  0.078 -0.091  -0.990 13.571  8.419   1.008e-02   2.298e-04
+ 852:sd7             293.81   1.791  1.541 14.930  0.037 -0.091  -1.054 14.471  8.424   1.018e-02   2.298e-04
+ 853:bend2           293.98   1.302  1.004 14.952  0.024 -0.058  -0.808 14.751  8.426   1.019e-02   4.270e-05
+ 854:bend3           294.16   0.836  0.629 14.988  0.017 -0.025  -0.828 15.038  8.428   1.019e-02   4.270e-05
+ 855:bend3           294.33   0.367  0.418 15.043  0.016  0.007  -0.847 15.332  8.430   1.020e-02   4.270e-05
+ 856:bend3           294.51  -0.104  0.372 15.116  0.020  0.040  -0.867 15.633  8.432   1.021e-02   4.270e-05
+ 857:bend3           294.68  -0.575  0.491 15.183  0.029  0.072  -0.886 15.940  8.433   1.022e-02   4.270e-05
+ 858:bend4           294.86  -1.057  0.775 15.229  0.045  0.106  -0.607 16.254  8.435   1.022e-02  -1.452e-04
+ 859:sd7             295.30  -2.256  2.233 15.283  0.092  0.106  -0.644 16.805  8.439   1.016e-02  -1.452e-04
+ 860:qp9             295.46  -3.523  3.144 15.292  0.111  0.133   3.808 16.291  8.441   9.922e-03  -2.830e-03
+ 861:qp9             295.62  -5.408  4.553 15.299  0.134  0.166   7.611 14.437  8.443   9.262e-03  -5.385e-03
+ 862:sd8             295.82  -6.736  6.982 15.305  0.168  0.166   6.795 11.556  8.445   8.185e-03  -5.385e-03
+ 863:sx9             295.82  -6.736  6.982 15.305  0.168  0.166   6.795 11.556  8.445   8.185e-03  -5.385e-03
+ 864:sd9             296.29  -9.900 14.906 15.312  0.247  0.166   4.851  6.009  8.454   5.620e-03  -5.385e-03
+ 865:qp10            296.45  -5.427 17.400 15.314  0.267  0.085   2.722  4.817  8.459   4.891e-03  -3.759e-03
+ 866:qp10            296.61   0.118 18.264 15.315  0.273 -0.000   1.148  4.208  8.465   4.407e-03  -2.323e-03
+ 867:sd8             296.81   0.107 18.219 15.317  0.273 -0.000   1.038  3.771  8.472   3.942e-03  -2.323e-03
+ 868:sx10            296.81   0.107 18.219 15.317  0.273 -0.000   1.038  3.771  8.472   3.942e-03  -2.323e-03
+ 869:sdacm           297.82   0.052 18.060 15.326  0.273 -0.000   0.487  2.239  8.528   1.609e-03  -2.323e-03
+ 870:u20             299.62  -0.048 18.053 15.342  0.273 -0.000  -0.485  2.235  8.676  -2.573e-03  -2.318e-03
+ 871:sdacm           300.62  -0.103 18.204 15.350  0.273 -0.000  -1.037  3.764  8.732  -4.902e-03  -2.318e-03
+ 872:sx10            300.62  -0.103 18.204 15.350  0.273 -0.000  -1.037  3.764  8.732  -4.902e-03  -2.318e-03
+ 873:sd8             300.82  -0.114 18.247 15.352  0.273 -0.000  -1.146  4.201  8.740  -5.365e-03  -2.318e-03
+ 874:qp10            300.98   5.425 17.383 15.354  0.266 -0.085  -2.717  4.809  8.745  -5.877e-03  -4.110e-03
+ 875:qp10            301.14   9.893 14.890 15.355  0.246 -0.166  -4.843  5.998  8.750  -6.691e-03  -6.108e-03
+ 876:sd9             301.62   6.730  6.972 15.363  0.167 -0.166  -6.784 11.537  8.759  -9.601e-03  -6.108e-03
+ 877:sx9             301.62   6.730  6.972 15.363  0.167 -0.166  -6.784 11.537  8.759  -9.601e-03  -6.108e-03
+ 878:sd8             301.82   5.402  4.545 15.368  0.134 -0.166  -7.599 14.413  8.762  -1.082e-02  -6.108e-03
+ 879:qp9             301.98   3.519  3.138 15.375  0.110 -0.133  -3.802 16.264  8.763  -1.157e-02  -3.148e-03
+ 880:qp9             302.14   2.253  2.227 15.385  0.091 -0.106   0.643 16.777  8.765  -1.182e-02  -3.929e-05
+ 881:sd7             302.58   1.054  0.772 15.439  0.044 -0.106   0.606 16.228  8.769  -1.184e-02  -3.929e-05
+ 882:bend2           302.76   0.572  0.489 15.485  0.029 -0.073   0.884 15.914  8.771  -1.181e-02   1.782e-04
+ 883:bend3           302.93   0.101  0.371 15.552  0.019 -0.040   0.865 15.607  8.773  -1.178e-02   1.782e-04
+ 884:bend3           303.11  -0.371  0.419 15.625  0.015 -0.007   0.845 15.307  8.774  -1.174e-02   1.782e-04
+ 885:bend3           303.28  -0.840  0.631 15.680  0.016  0.025   0.826 15.014  8.776  -1.171e-02   1.782e-04
+ 886:bend3           303.46  -1.306  1.008 15.715  0.024  0.058   0.806 14.728  8.778  -1.168e-02   1.782e-04
+ 887:bend4           303.63  -1.795  1.547 15.738  0.037  0.091   1.052 14.448  8.780  -1.165e-02   3.923e-04
+ 888:sd7             304.07  -2.994  3.655 15.767  0.077  0.091   0.988 13.551  8.785  -1.148e-02   3.923e-04
+ 889:qp6             304.23  -4.278  4.807 15.773  0.093  0.106   3.287 12.860  8.787  -1.125e-02   2.453e-03
+ 890:qp6             304.39  -6.057  6.445 15.778  0.111  0.124   5.214 11.487  8.789  -1.070e-02   4.448e-03
+ 891:sd5             304.59  -7.226  9.102 15.782  0.136  0.124   4.723  9.499  8.792  -9.807e-03   4.448e-03
+ 892:sx7             304.59  -7.226  9.102 15.782  0.136  0.124   4.723  9.499  8.792  -9.807e-03   4.448e-03
+ 893:sd4             304.98  -9.505 15.627 15.787  0.184  0.124   3.766  6.188  8.800  -8.073e-03   4.448e-03
+ 894:qp7             305.21  -1.245 18.201 15.789  0.202  0.025   0.668  5.207  8.807  -7.517e-03   4.314e-04
+ 895:qp7             305.44   7.576 16.685 15.791  0.196 -0.077  -2.105  5.525  8.814  -7.871e-03  -3.537e-03
+ 896:sd3             305.64   6.876 13.794 15.794  0.180 -0.077  -2.301  6.406  8.819  -8.578e-03  -3.537e-03
+ 897:sx8             305.64   6.876 13.794 15.794  0.180 -0.077  -2.301  6.406  8.819  -8.578e-03  -3.537e-03
+ 898:sd2             306.03   5.511  8.963 15.799  0.150 -0.077  -2.684  8.350  8.827  -9.957e-03  -3.537e-03
+ 899:qp8             306.19   2.911  7.635 15.802  0.141 -0.038  -0.398  8.851  8.830  -1.030e-02  -7.663e-04
+ 900:qp8             306.35   0.824  7.046 15.806  0.138 -0.000   1.956  8.598  8.833  -1.020e-02   2.037e-03
+ 901:sd13            309.83  -0.002  4.181 15.916  0.138 -0.000   0.005  1.771  9.008  -3.106e-03   2.037e-03
+ 902:sd13            313.32  -0.828  7.072 16.026  0.138 -0.000  -1.946  8.533  9.183   3.989e-03   2.037e-03
+ 903:qp8             313.48  -2.922  7.663 16.030  0.141  0.038   0.390  8.786  9.186   4.227e-03   9.217e-04
+ 904:qp8             313.64  -5.532  8.997 16.033  0.150  0.077   2.659  8.291  9.189   4.282e-03  -2.335e-04
+ 905:sd2             314.03  -6.902 13.846 16.038  0.180  0.077   2.280  6.365  9.197   4.191e-03  -2.335e-04
+ 906:sx8             314.03  -6.902 13.846 16.038  0.180  0.077   2.280  6.365  9.197   4.191e-03  -2.335e-04
+ 907:sd3             314.23  -7.605 16.747 16.040  0.195  0.077   2.085  5.492  9.203   4.144e-03  -2.335e-04
+ 908:qp7             314.46   1.250 18.269 16.042  0.202 -0.025  -0.672  5.179  9.210   4.339e-03   1.946e-03
+ 909:qp7             314.69   9.541 15.685 16.044  0.184 -0.124  -3.756  6.159  9.216   5.057e-03   4.355e-03
+ 910:sd4             315.08   7.253  9.136 16.050  0.136 -0.124  -4.712  9.461  9.224   6.755e-03   4.355e-03
+ 911:sx7             315.08   7.253  9.136 16.050  0.136 -0.124  -4.712  9.461  9.224   6.755e-03   4.355e-03
+ 912:sd5             315.28   6.079  6.470 16.054  0.111 -0.124  -5.202 11.444  9.227   7.626e-03   4.355e-03
+ 913:qp6             315.44   4.295  4.825 16.058  0.092 -0.106  -3.284 12.815  9.230   8.208e-03   2.905e-03
+ 914:qp6             315.60   3.006  3.668 16.064  0.077 -0.091  -0.993 13.506  9.231   8.551e-03   1.378e-03
+ 915:sd7             316.04   1.803  1.552 16.094  0.037 -0.091  -1.058 14.409  9.236   9.158e-03   1.378e-03
+ 916:bend2           316.21   1.313  1.010 16.116  0.024 -0.058  -0.813 14.690  9.238   9.370e-03   1.210e-03
+ 917:bend3           316.39   0.845  0.632 16.151  0.016 -0.025  -0.833 14.979  9.240   9.582e-03   1.210e-03
+ 918:bend3           316.56   0.373  0.418 16.206  0.015  0.007  -0.852 15.275  9.242   9.794e-03   1.210e-03
+ 919:bend3           316.74  -0.100  0.370 16.280  0.019  0.040  -0.872 15.577  9.244   1.001e-02   1.210e-03
+ 920:bend3           316.91  -0.572  0.488 16.347  0.029  0.073  -0.892 15.886  9.246   1.022e-02   1.210e-03
+ 921:bend4           317.09  -1.056  0.771 16.393  0.044  0.106  -0.614 16.203  9.247   1.043e-02   1.018e-03
+ 922:sd7             317.53  -2.260  2.230 16.447  0.091  0.106  -0.651 16.759  9.252   1.088e-02   1.018e-03
+ 923:qp9             317.69  -3.528  3.143 16.457  0.110  0.133   3.789 16.250  9.253   1.080e-02  -1.966e-03
+ 924:qp9             317.85  -5.415  4.553 16.464  0.134  0.166   7.584 14.403  9.255   1.025e-02  -4.875e-03
+ 925:sd8             318.05  -6.746  6.985 16.469  0.167  0.166   6.772 11.532  9.257   9.278e-03  -4.875e-03
+ 926:sx9             318.05  -6.746  6.985 16.469  0.167  0.166   6.772 11.532  9.257   9.278e-03  -4.875e-03
+ 927:sd9             318.53  -9.917 14.922 16.477  0.246  0.166   4.837  6.003  9.266   6.956e-03  -4.875e-03
+ 928:qp10            318.69  -5.440 17.421 16.478  0.266  0.085   2.711  4.815  9.271   6.348e-03  -2.762e-03
+ 929:qp10            318.85   0.112 18.288 16.480  0.273  0.000   1.139  4.209  9.277   6.065e-03  -7.870e-04
+ 930:sd8             319.05   0.101 18.246 16.481  0.273  0.000   1.030  3.775  9.285   5.907e-03  -7.870e-04
+ 931:sx10            319.05   0.101 18.246 16.481  0.273  0.000   1.030  3.775  9.285   5.907e-03  -7.870e-04
+ 932:sdac            320.95  -0.004 18.061 16.498  0.273  0.000  -0.006  1.824  9.413   4.408e-03  -7.870e-04
+ 933:sdac            322.86  -0.108 18.274 16.515  0.274  0.000  -1.042  3.820  9.541   2.910e-03  -7.870e-04
+ 934:sx10            322.86  -0.108 18.274 16.515  0.274  0.000  -1.042  3.820  9.541   2.910e-03  -7.870e-04
+ 935:sd8             323.06  -0.119 18.319 16.517  0.274  0.000  -1.151  4.259  9.549   2.752e-03  -7.870e-04
+ 936:qp10            323.22   5.442 17.453 16.518  0.267 -0.085  -2.740  4.871  9.555   2.705e-03   1.939e-04
+ 937:qp10            323.38   9.929 14.952 16.519  0.247 -0.166  -4.889  6.072  9.559   2.814e-03   1.178e-03
+ 938:sd9             323.85   6.757  7.004 16.527  0.168 -0.166  -6.841 11.659  9.568   3.376e-03   1.178e-03
+ 939:sx9             323.85   6.757  7.004 16.527  0.168 -0.166  -6.841 11.659  9.568   3.376e-03   1.178e-03
+ 940:sd8             324.05   5.425  4.568 16.532  0.134 -0.166  -7.661 14.559  9.571   3.611e-03   1.178e-03
+ 941:qp9             324.21   3.534  3.155 16.539  0.111 -0.133  -3.825 16.424  9.572   3.717e-03   1.411e-04
+ 942:qp9             324.37   2.264  2.240 16.549  0.092 -0.106   0.663 16.937  9.574   3.656e-03  -8.945e-04
+ 943:sd7             324.81   1.062  0.777 16.603  0.045 -0.106   0.626 16.370  9.578   3.263e-03  -8.945e-04
+ 944:bend2           324.99   0.579  0.491 16.648  0.030 -0.072   0.907 16.048  9.580   3.096e-03  -9.544e-04
+ 945:bend3           325.16   0.107  0.371 16.715  0.020 -0.040   0.887 15.733  9.581   2.928e-03  -9.544e-04
+ 946:bend3           325.34  -0.365  0.416 16.789  0.016 -0.007   0.867 15.426  9.583   2.761e-03  -9.544e-04
+ 947:bend3           325.51  -0.836  0.627 16.844  0.017  0.025   0.848 15.125  9.585   2.593e-03  -9.544e-04
+ 948:bend3           325.69  -1.303  1.002 16.880  0.024  0.058   0.828 14.831  9.587   2.426e-03  -9.544e-04
+ 949:bend4           325.86  -1.793  1.541 16.902  0.037  0.091   1.075 14.544  9.589   2.258e-03  -9.959e-04
+ 950:sd7             326.30  -2.994  3.647 16.932  0.078  0.091   1.010 13.627  9.594   1.820e-03  -9.959e-04
+ 951:qp6             326.46  -4.277  4.800 16.938  0.093  0.107   3.321 12.927  9.596   1.635e-03  -1.310e-03
+ 952:qp6             326.62  -6.055  6.437 16.942  0.112  0.125   5.255 11.542  9.598   1.403e-03  -1.588e-03
+ 953:sd5             326.82  -7.225  9.093 16.947  0.137  0.125   4.759  9.539  9.601   1.085e-03  -1.588e-03
+ 954:sx7             326.82  -7.225  9.093 16.947  0.137  0.125   4.759  9.539  9.601   1.085e-03  -1.588e-03
+ 955:sd4             327.21  -9.506 15.618 16.952  0.186  0.125   3.793  6.204  9.609   4.663e-04  -1.588e-03
+ 956:qp7             327.44  -1.252 18.194 16.954  0.203  0.025   0.686  5.212  9.615   1.042e-04  -1.594e-03
+ 957:qp7             327.67   7.568 16.682 16.956  0.197 -0.078  -2.086  5.522  9.622  -2.817e-04  -1.793e-03
+ 958:sd3             327.87   6.869 13.794 16.958  0.181 -0.078  -2.279  6.395  9.628  -6.403e-04  -1.793e-03
+ 959:sx8             327.87   6.869 13.794 16.958  0.181 -0.078  -2.279  6.395  9.628  -6.403e-04  -1.793e-03
+ 960:sd2             328.26   5.507  8.968 16.964  0.151 -0.078  -2.657  8.320  9.636  -1.340e-03  -1.793e-03
+ 961:qp8             328.42   2.906  7.641 16.967  0.141 -0.038  -0.379  8.813  9.639  -1.602e-03  -1.467e-03
+ 962:qp8             328.58   0.818  7.054 16.970  0.138 -0.000   1.963  8.556  9.642  -1.806e-03  -1.074e-03
+ 963:sd13            332.07  -0.003  4.217 17.080  0.137 -0.000  -0.010  1.754  9.819  -5.545e-03  -1.074e-03
+ 964:sd13            335.55  -0.824  7.098 17.189  0.135 -0.000  -1.984  8.699  9.993  -9.284e-03  -1.074e-03
+ 965:qp8             335.71  -2.925  7.689 17.193  0.138  0.036   0.398  8.957  9.996  -9.251e-03   1.484e-03
+ 966:qp8             335.87  -5.542  9.025 17.196  0.147  0.075   2.712  8.452  9.999  -8.812e-03   3.979e-03
+ 967:sd2             336.26  -6.913 13.882 17.201  0.176  0.075   2.327  6.486 10.007  -7.261e-03   3.979e-03
+ 968:sx6             336.26  -6.913 13.882 17.201  0.176  0.075   2.327  6.486 10.007  -7.261e-03   3.979e-03
+ 969:sd3             336.46  -7.616 16.788 17.204  0.191  0.075   2.129  5.595 10.012  -6.465e-03   3.979e-03
+ 970:qp7             336.69   1.260 18.310 17.206  0.197 -0.025  -0.677  5.273 10.019  -5.913e-03   8.702e-04
+ 971:qp7             336.92   9.568 15.717 17.208  0.180 -0.122  -3.815  6.268 10.026  -6.057e-03  -2.136e-03
+ 972:sd4             337.31   7.272  9.150 17.213  0.132 -0.122  -4.782  9.621 10.034  -6.890e-03  -2.136e-03
+ 973:sx5             337.31   7.272  9.150 17.213  0.132 -0.122  -4.782  9.621 10.034  -6.890e-03  -2.136e-03
+ 974:sd5             337.51   6.094  6.477 17.217  0.108 -0.122  -5.278 11.632 10.037  -7.317e-03  -2.136e-03
+ 975:qp6             337.67   4.305  4.829 17.222  0.090 -0.104  -3.327 13.022 10.039  -7.552e-03  -7.991e-04
+ 976:qp6             337.83   3.014  3.669 17.228  0.075 -0.089  -0.998 13.721 10.041  -7.571e-03   5.597e-04
+ 977:sd7             338.27   1.805  1.548 17.257  0.035 -0.089  -1.062 14.627 10.046  -7.325e-03   5.597e-04
+ 978:bend2           338.44   1.313  1.006 17.279  0.023 -0.056  -0.813 14.909 10.047  -7.203e-03   6.943e-04
+ 979:bend3           338.62   0.843  0.628 17.315  0.016 -0.024  -0.832 15.198 10.049  -7.082e-03   6.943e-04
+ 980:bend3           338.80   0.369  0.415 17.370  0.014  0.009  -0.852 15.493 10.051  -6.960e-03   6.943e-04
+ 981:bend3           338.97  -0.106  0.369 17.444  0.019  0.042  -0.871 15.795 10.053  -6.838e-03   6.943e-04
+ 982:bend3           339.15  -0.581  0.490 17.512  0.029  0.074  -0.890 16.104 10.055  -6.716e-03   6.943e-04
+ 983:bend4           339.32  -1.068  0.776 17.557  0.045  0.108  -0.608 16.420 10.056  -6.594e-03   8.155e-04
+ 984:sd7             339.76  -2.277  2.248 17.611  0.092  0.108  -0.645 16.971 10.061  -6.236e-03   8.155e-04
+ 985:qp4             339.92  -3.405  3.146 17.621  0.111  0.130   3.083 16.576 10.062  -5.997e-03   2.161e-03
+ 986:qp4             340.08  -5.024  4.479 17.628  0.134  0.157   6.376 15.045 10.064  -5.548e-03   3.425e-03
+ 987:sd8             340.28  -6.196  6.723 17.633  0.166  0.157   5.822 12.605 10.066  -4.863e-03   3.425e-03
+ 988:sx3             340.28  -6.196  6.723 17.633  0.166  0.157   5.822 12.605 10.066  -4.863e-03   3.425e-03
+ 989:sd9             340.76  -8.986 13.955 17.641  0.241  0.157   4.504  7.686 10.074  -3.232e-03   3.425e-03
+ 990:qp5             340.92  -4.951 16.222 17.643  0.260  0.081   2.089  6.648 10.077  -2.776e-03   2.294e-03
+ 991:qp5             341.08   0.027 17.023 17.644  0.266  0.002   0.085  6.306 10.081  -2.493e-03   1.262e-03
+ 992:sd10            341.55  -0.000 17.010 17.649  0.267  0.002   0.011  6.261 10.093  -1.900e-03   1.262e-03
+ 993:sx4             341.55  -0.000 17.010 17.649  0.267  0.002   0.011  6.261 10.093  -1.900e-03   1.262e-03
+ 994:sd12            342.02  -0.028 17.024 17.653  0.268  0.002  -0.064  6.286 10.105  -1.307e-03   1.262e-03
+ 995:qp5             342.18   4.951 16.223 17.655  0.262 -0.079  -2.060  6.620 10.109  -1.144e-03   7.863e-04
+ 996:qp5             342.34   8.987 13.956 17.656  0.243 -0.155  -4.460  7.647 10.112  -1.053e-03   3.543e-04
+ 997:sd9             342.81   6.196  6.724 17.664  0.169 -0.155  -5.762 12.516 10.120  -8.839e-04   3.543e-04
+ 998:sx3             342.81   6.196  6.724 17.664  0.169 -0.155  -5.762 12.516 10.120  -8.839e-04   3.543e-04
+ 999:sd8             343.01   5.025  4.480 17.670  0.138 -0.155  -6.308 14.930 10.122  -8.131e-04   3.543e-04
+1000:qp4             343.17   3.405  3.147 17.677  0.115 -0.127  -3.039 16.443 10.124  -7.415e-04   5.374e-04
+1001:qp4             343.33   2.277  2.248 17.686  0.097 -0.104   0.658 16.829 10.126  -6.422e-04   6.998e-04
+1002:sd7             343.77   1.068  0.776 17.740  0.051 -0.104   0.621 16.266 10.130  -3.343e-04   6.998e-04
+1003:bend2           343.95   0.582  0.489 17.786  0.036 -0.070   0.900 15.947 10.132  -2.105e-04   7.060e-04
+1004:bend3           344.13   0.107  0.368 17.853  0.026 -0.038   0.880 15.635 10.133  -8.664e-05   7.060e-04
+1005:bend3           344.30  -0.368  0.414 17.927  0.023 -0.005   0.860 15.329 10.135   3.719e-05   7.060e-04
+1006:bend3           344.48  -0.842  0.626 17.983  0.024  0.027   0.841 15.031 10.137   1.610e-04   7.060e-04
+1007:bend3           344.65  -1.312  1.004 18.018  0.032  0.060   0.821 14.739 10.139   2.849e-04   7.060e-04
+1008:bend4           344.83  -1.805  1.546 18.040  0.045  0.093   1.067 14.455 10.141   4.087e-04   6.985e-04
+1009:sd6             345.62  -3.975  6.112 18.082  0.119  0.093   0.950 12.862 10.150   9.605e-04   6.985e-04
+1010:sx2             345.62  -3.975  6.112 18.082  0.119  0.093   0.950 12.862 10.150   9.605e-04   6.985e-04
+1011:sd5             345.82  -4.525  7.812 18.086  0.138  0.093   0.921 12.487 10.152   1.100e-03   6.985e-04
+1012:qp3             345.98  -6.044  9.493 18.089  0.154  0.110   2.279 11.972 10.154   1.199e-03   5.335e-04
+1013:qp3             346.14  -8.009 11.728 18.091  0.173  0.129   3.471 11.047 10.157   1.270e-03   3.547e-04
+1014:sd14            346.73 -11.287 23.112 18.097  0.249  0.129   2.774  7.362 10.167   1.479e-03   3.547e-04
+1015:qp2             346.96  -1.950 26.252 18.099  0.267  0.026  -0.071  6.758 10.172   1.624e-03   9.074e-04
+1016:qp2             347.19   8.071 24.800 18.100  0.261 -0.078  -2.944  7.432 10.178   1.903e-03   1.542e-03
+1017:sd3             347.39   7.538 21.679 18.101  0.245 -0.078  -3.204  8.661 10.181   2.211e-03   1.542e-03
+1018:sx1             347.39   7.538 21.679 18.101  0.245 -0.078  -3.204  8.661 10.181   2.211e-03   1.542e-03
+1019:sd2             347.78   6.498 16.205 18.105  0.215 -0.078  -3.710 11.357 10.188   2.813e-03   1.542e-03
+1020:qp1             347.94   3.324 14.649 18.106  0.205 -0.038  -1.580 12.213 10.190   3.012e-03   9.477e-04
+1021:qp1             348.10   0.559 14.034 18.108  0.202  0.000   0.740 12.348 10.192   3.114e-03   3.263e-04
+1022:sd1             354.10   0.002 10.672 18.189  0.203  0.000  -0.007  7.951 10.295   5.072e-03   3.263e-04
+1023:cav             354.10   0.002 10.672 18.189  0.203  0.000  -0.007  7.951 10.295   5.072e-03   3.263e-04
+1024:fin             354.10   0.002 10.672 18.189  0.203  0.000  -0.007  7.951 10.295   5.072e-03   3.263e-04
Index: /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/soleil.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/soleil.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/example/lifetime/soleil.out	(revision 17)
@@ -0,0 +1,348 @@
+# TRACY II v. SYNCHROTRON SOLEIL  -- Wed Mar 17 19:37:59 2004 
+#  i        s         dp      s_lost  name_lost 
+#
+   1    0.00000    0.05100   81.38418 qp2            
+   2    0.90000    0.05100   81.38418 qp2            
+   3    0.90000    0.05100   81.38418 qp2            
+   4    1.10000    0.05100   81.38418 qp2            
+   5    1.30000    0.05100   81.38418 qp2            
+   6    1.50000    0.05100   81.38418 qp2            
+   7    1.50000    0.05100   81.38418 qp2            
+   8    5.20000    0.05100   81.38418 qp2            
+   9    5.20000    0.05100   81.38418 qp2            
+  10    6.00000    0.05100   81.38418 qp2            
+  11    6.16000    0.05100   81.38418 qp2            
+  12    6.32000    0.05100   81.38418 qp2            
+  13    6.71000    0.03600   34.04609 sdac2          
+  14    6.71000    0.05100   81.38418 qp2            
+  15    6.91000    0.05100   81.38418 qp2            
+  16    7.14000    0.05100   81.38418 qp2            
+  17    7.37000    0.05100   81.38418 qp2            
+  18    7.96000    0.03600  233.32645 u20            
+  19    8.12000    0.05100   81.38418 qp2            
+  20    8.28000    0.05100   81.38418 qp2            
+  21    8.48000    0.05100   81.38418 qp2            
+  22    8.48000    0.05100   81.38418 qp2            
+  23    9.27000    0.03600  233.32645 u20            
+  24    9.44541    0.03600  233.32645 u20            
+  25    9.62081    0.06000    9.62081 bend3          
+  26    9.79622    0.06000    9.79622 bend3          
+  27    9.97162    0.06000    9.97162 bend3          
+  28   10.14703    0.06000   10.14703 bend3          
+  29   10.32243    0.05500   33.84609 sdac2          
+  30   10.76243    0.05500   95.66418 qp2            
+  31   10.92243    0.05500  258.43254 qp2            
+  32   11.08243    0.05500   95.66418 qp2            
+  33   11.28243    0.05500   95.66418 qp2            
+  34   11.28243    0.05500  258.43254 qp2            
+  35   11.75877    0.03500   34.04609 sdac2          
+  36   11.91877    0.05500  258.43254 qp2            
+  37   12.07877    0.05500  258.43254 qp2            
+  38   12.54877    0.05500   95.66418 qp2            
+  39   12.54877    0.05500   95.66418 qp2            
+  40   13.01877    0.05500   95.66418 qp2            
+  41   13.17877    0.05500   95.66418 qp2            
+  42   13.33877    0.05500   95.66418 qp2            
+  43   13.81511    0.05500   95.66418 qp2            
+  44   13.81511    0.05500   95.66418 qp2            
+  45   14.01511    0.05500   95.66418 qp2            
+  46   14.17511    0.05500   95.66418 qp2            
+  47   14.33511    0.05500   95.66418 qp2            
+  48   14.77511    0.05500   95.66418 qp2            
+  49   14.95052    0.05500   95.66418 qp2            
+  50   15.12592    0.06000   15.12592 bend3          
+  51   15.30133    0.06000   15.30133 bend3          
+  52   15.47673    0.06000   15.47673 bend3          
+  53   15.65214    0.06000   15.65214 bend3          
+  54   15.82754    0.06000   15.82754 bend4          
+  55   16.26754    0.03600  299.61863 u20            
+  56   16.42754    0.03600   34.04609 sdac2          
+  57   16.58754    0.03600   34.04609 sdac2          
+  58   16.78754    0.03600   34.04609 sdac2          
+  59   16.78754    0.03600   34.04609 sdac2          
+  60   17.17754    0.03600   34.04609 sdac2          
+  61   17.40754    0.03600   34.04609 sdac2          
+  62   17.63754    0.03600  233.32645 u20            
+  63   17.83754    0.03600   34.04609 sdac2          
+  64   17.83754    0.03600  233.32645 u20            
+  65   18.22754    0.03600  233.32645 u20            
+  66   18.38754    0.03600  233.32645 u20            
+  67   18.54754    0.03600  233.32645 u20            
+  68   19.28009    0.03600  233.32645 u20            
+  69   19.28009    0.03600  233.32645 u20            
+  70   19.48009    0.03600  233.32645 u20            
+  71   19.68009    0.03600  233.32645 u20            
+  72   19.88009    0.03600  233.32645 u20            
+  73   20.08009    0.03600  233.32645 u20            
+  74   20.28009    0.03600  233.32645 u20            
+  75   20.48009    0.03600  233.32645 u20            
+  76   20.68009    0.03600  233.32645 u20            
+  77   20.88009    0.03600  233.32645 u20            
+  78   21.08009    0.03600  233.32645 u20            
+  79   21.28009    0.03600  233.32645 u20            
+  80   21.48009    0.03600  233.32645 u20            
+  81   21.68009    0.03600  233.32645 u20            
+  82   21.88009    0.03600  233.32645 u20            
+  83   22.03009    0.03600  233.32645 u20            
+  84   22.18009    0.03600  233.32645 u20            
+  85   22.38009    0.03600  233.32645 u20            
+  86   22.58009    0.03600  233.32645 u20            
+  87   22.78009    0.03600  233.32645 u20            
+  88   22.98009    0.03600  233.32645 u20            
+  89   23.18009    0.03600  233.32645 u20            
+  90   23.38009    0.03600  233.32645 u20            
+  91   23.58009    0.03600  233.32645 u20            
+  92   23.78009    0.03600  233.32645 u20            
+  93   23.98009    0.03600  233.32645 u20            
+  94   24.18009    0.03600  233.32645 u20            
+  95   24.38009    0.03600  233.32645 u20            
+  96   24.58009    0.03600  233.32645 u20            
+  97   24.78009    0.03600  233.32645 u20            
+  98   24.78009    0.03600  233.32645 u20            
+  99   24.78009    0.03600  233.32645 u20            
+ 100   25.51264    0.03600  233.32645 u20            
+ 101   25.67264    0.03600   34.04609 sdac2          
+ 102   25.83264    0.03600  299.61863 u20            
+ 103   26.22264    0.03600   34.04609 sdac2          
+ 104   26.22264    0.03600   34.04609 sdac2          
+ 105   26.42264    0.03600   34.04609 sdac2          
+ 106   26.65264    0.03600   34.04609 sdac2          
+ 107   26.88264    0.03600   34.04609 sdac2          
+ 108   27.27264    0.03600  233.32645 u20            
+ 109   27.27264    0.03600  233.32645 u20            
+ 110   27.47264    0.03600  233.32645 u20            
+ 111   27.63264    0.03600  233.32645 u20            
+ 112   27.79264    0.03600  233.32645 u20            
+ 113   28.23264    0.03600   34.04609 sdac2          
+ 114   28.40805    0.03600  233.32645 u20            
+ 115   28.58345    0.06000   28.58345 bend3          
+ 116   28.75886    0.06000   28.75886 bend3          
+ 117   28.93426    0.06000   28.93426 bend3          
+ 118   29.10966    0.06000   29.10966 bend3          
+ 119   29.28507    0.06000   29.28507 bend4          
+ 120   29.72507    0.06000   29.72507 sd7            
+ 121   29.88507    0.06000   29.88507 qp9            
+ 122   30.04507    0.06000   30.04507 qp9            
+ 123   30.24507    0.06000   30.24507 sd8            
+ 124   30.24507    0.06000   30.24507 sx9            
+ 125   30.72141    0.03400   34.04609 sdac2          
+ 126   30.88141    0.06000   30.88141 qp10           
+ 127   31.04141    0.06000   31.04141 qp10           
+ 128   31.24141    0.06000   31.24141 sd8            
+ 129   31.24141    0.06000   31.24141 sx10           
+ 130   32.24609    0.03400   33.84609 sdac2          
+ 131   32.24609    0.06000   32.24609 ssdac          
+ 132   32.44609    0.06000   32.44609 sdac2          
+ 133   32.64609    0.06000   32.64609 sdac2          
+ 134   32.84609    0.06000   32.84609 sdac2          
+ 135   33.04609    0.06000   33.04609 sdac2          
+ 136   33.24609    0.06000   33.24609 sdac2          
+ 137   33.44609    0.06000   33.44609 sdac2          
+ 138   33.64609    0.06000   33.64609 sdac2          
+ 139   33.84609    0.06000   33.84609 sdac2          
+ 140   34.04609    0.06000   34.04609 sdac2          
+ 141   34.04609    0.06000   34.04609 esdac          
+ 142   35.05077    0.03400   33.84609 sdac2          
+ 143   35.05077    0.06000   35.05077 sx10           
+ 144   35.25077    0.06000   35.25077 sd8            
+ 145   35.41077    0.06000   35.41077 qp10           
+ 146   35.57077    0.06000   35.57077 qp10           
+ 147   36.04711    0.03400   34.04609 sdac2          
+ 148   36.04711    0.06000   36.04711 sx9            
+ 149   36.24711    0.03400   34.04609 sdac2          
+ 150   36.40711    0.03400   34.04609 sdac2          
+ 151   36.56711    0.06000   36.56711 qp9            
+ 152   37.00711    0.06000   37.00711 sd7            
+ 153   37.18252    0.06000   37.18252 bend2          
+ 154   37.35792    0.06000   37.35792 bend3          
+ 155   37.53332    0.03300   34.04609 sdac2          
+ 156   37.70873    0.03300   34.04609 sdac2          
+ 157   37.88414    0.03300   34.04609 sdac2          
+ 158   38.05954    0.06000   38.05954 bend4          
+ 159   38.49954    0.05600   81.38418 qp2            
+ 160   38.65954    0.05600   81.38418 qp2            
+ 161   38.81954    0.05600   81.38418 qp2            
+ 162   39.01954    0.03500   34.04609 sdac2          
+ 163   39.01954    0.05600   81.38418 qp2            
+ 164   39.40954    0.03500   34.04609 sdac2          
+ 165   39.63954    0.03500  233.32645 u20            
+ 166   39.86954    0.03500  233.32645 u20            
+ 167   40.06954    0.03500  233.32645 u20            
+ 168   40.06954    0.03500  299.61863 u20            
+ 169   40.45954    0.03500  233.32645 u20            
+ 170   40.61954    0.05600   81.38418 qp2            
+ 171   40.77954    0.05600   81.38418 qp2            
+ 172   44.26209    0.03500  233.32645 u20            
+
+   1    0.00000   -0.06000    0.00000 debut          
+   2    0.90000   -0.06000    0.90000 sd1a           
+   3    0.90000   -0.06000    0.90000 ssep           
+   4    1.10000   -0.06000    1.10000 sep            
+   5    1.30000   -0.06000    1.30000 sep            
+   6    1.50000   -0.06000    1.50000 sep            
+   7    1.50000   -0.06000    1.50000 esep           
+   8    5.20000   -0.06000    5.20000 sd1c           
+   9    5.20000   -0.06000    5.20000 ehu600         
+  10    6.00000   -0.06000    6.00000 sd1d           
+  11    6.16000   -0.06000    6.16000 qp1            
+  12    6.32000   -0.06000    6.32000 qp1            
+  13    6.71000   -0.06000    6.71000 sd2            
+  14    6.71000   -0.06000    6.71000 sx1            
+  15    6.91000   -0.06000    6.91000 sd3            
+  16    7.14000   -0.06000    7.14000 qp2            
+  17    7.37000   -0.06000    7.37000 qp2            
+  18    7.96000   -0.06000    7.96000 sd14           
+  19    8.12000   -0.06000    8.12000 qp3            
+  20    8.28000   -0.06000    8.28000 qp3            
+  21    8.48000   -0.06000    8.48000 sd5            
+  22    8.48000   -0.06000    8.48000 sx2            
+  23    9.27000   -0.06000    9.27000 sd6            
+  24    9.44541   -0.06000    9.44541 bend2          
+  25    9.62081   -0.06000    9.62081 bend3          
+  26    9.79622   -0.06000    9.79622 bend3          
+  27    9.97162   -0.06000    9.97162 bend3          
+  28   10.14703   -0.05900   57.48277 sd8            
+  29   10.32243   -0.05400  189.12713 qp5            
+  30   10.76243   -0.04700   12.07877 qp5            
+  31   10.92243   -0.04600  342.01795 sd12           
+  32   11.08243   -0.04700   12.07877 qp5            
+  33   11.28243   -0.04600  342.01795 sd12           
+  34   11.28243   -0.04600  100.60295 qp5            
+  35   11.75877   -0.04600  189.12713 qp5            
+  36   11.91877   -0.04700   12.07877 qp5            
+  37   12.07877   -0.04700   12.07877 qp5            
+  38   12.54877   -0.04700   12.07877 qp5            
+  39   12.54877   -0.04600  341.07795 qp5            
+  40   13.01877   -0.04600  252.55377 qp5            
+  41   13.17877   -0.04700   12.07877 qp5            
+  42   13.33877   -0.04600  100.60295 qp5            
+  43   13.81511   -0.04700   12.07877 qp5            
+  44   13.81511   -0.04600  341.07795 qp5            
+  45   14.01511   -0.04700   12.07877 qp5            
+  46   14.17511   -0.04600  342.01795 sd12           
+  47   14.33511   -0.04600  342.01795 sd12           
+  48   14.77511   -0.04700   12.07877 qp5            
+  49   14.95052   -0.04600  342.01795 sd12           
+  50   15.12592   -0.04900   12.07877 qp5            
+  51   15.30133   -0.05200  296.61395 qp10           
+  52   15.47673   -0.05600  296.61395 qp10           
+  53   15.65214   -0.06000   15.65214 bend3          
+  54   15.82754   -0.06000   15.82754 bend4          
+  55   16.26754   -0.06000   16.26754 sd7            
+  56   16.42754   -0.06000   16.42754 qp6            
+  57   16.58754   -0.06000   16.58754 qp6            
+  58   16.78754   -0.06000   16.78754 sd5            
+  59   16.78754   -0.06000   16.78754 sx5            
+  60   17.17754   -0.06000   17.17754 sd4            
+  61   17.40754   -0.06000   17.40754 qp7            
+  62   17.63754   -0.06000   17.63754 qp7            
+  63   17.83754   -0.06000   17.83754 sd3            
+  64   17.83754   -0.06000   17.83754 sx6            
+  65   18.22754   -0.06000   18.22754 sd2            
+  66   18.38754   -0.06000   18.38754 qp8            
+  67   18.54754   -0.06000   18.54754 qp8            
+  68   19.28009   -0.06000   19.28009 sd13c          
+  69   19.28009   -0.06000   19.28009 ssdm           
+  70   19.48009   -0.06000   19.48009 sd13a          
+  71   19.68009   -0.06000   19.68009 sd13a          
+  72   19.88009   -0.06000   19.88009 sd13a          
+  73   20.08009   -0.06000   20.08009 sd13a          
+  74   20.28009   -0.06000   20.28009 sd13a          
+  75   20.48009   -0.06000   20.48009 sd13a          
+  76   20.68009   -0.06000   20.68009 sd13a          
+  77   20.88009   -0.06000   20.88009 sd13a          
+  78   21.08009   -0.06000   21.08009 sd13a          
+  79   21.28009   -0.06000   21.28009 sd13a          
+  80   21.48009   -0.06000   21.48009 sd13a          
+  81   21.68009   -0.06000   21.68009 sd13a          
+  82   21.88009   -0.06000   21.88009 sd13a          
+  83   22.03009   -0.06000   22.03009 sd13b          
+  84   22.18009   -0.06000   22.18009 sd13b          
+  85   22.38009   -0.06000   22.38009 sd13a          
+  86   22.58009   -0.06000   22.58009 sd13a          
+  87   22.78009   -0.06000   22.78009 sd13a          
+  88   22.98009   -0.06000   22.98009 sd13a          
+  89   23.18009   -0.06000   23.18009 sd13a          
+  90   23.38009   -0.06000   23.38009 sd13a          
+  91   23.58009   -0.06000   23.58009 sd13a          
+  92   23.78009   -0.06000   23.78009 sd13a          
+  93   23.98009   -0.06000   23.98009 sd13a          
+  94   24.18009   -0.06000   24.18009 sd13a          
+  95   24.38009   -0.06000   24.38009 sd13a          
+  96   24.58009   -0.06000   24.58009 sd13a          
+  97   24.78009   -0.06000   24.78009 sd13a          
+  98   24.78009   -0.06000   24.78009 esdm           
+  99   24.78009   -0.06000   24.78009 eesdm          
+ 100   25.51264   -0.06000   25.51264 sd13c          
+ 101   25.67264   -0.06000   25.67264 qp8            
+ 102   25.83264   -0.06000   25.83264 qp8            
+ 103   26.22264   -0.06000   26.22264 sd2            
+ 104   26.22264   -0.06000   26.22264 sx8            
+ 105   26.42264   -0.06000   26.42264 sd3            
+ 106   26.65264   -0.06000   26.65264 qp7            
+ 107   26.88264   -0.06000   26.88264 qp7            
+ 108   27.27264   -0.06000   27.27264 sd4            
+ 109   27.27264   -0.06000   27.27264 sx7            
+ 110   27.47264   -0.06000   27.47264 sd5            
+ 111   27.63264   -0.06000   27.63264 qp6            
+ 112   27.79264   -0.06000   27.79264 qp6            
+ 113   28.23264   -0.06000   28.23264 sd7            
+ 114   28.40805   -0.06000   28.40805 bend2          
+ 115   28.58345   -0.06000   28.58345 bend3          
+ 116   28.75886   -0.06000   28.75886 bend3          
+ 117   28.93426   -0.06000   28.93426 bend3          
+ 118   29.10966   -0.05100  296.61395 qp10           
+ 119   29.28507   -0.04300  100.60295 qp5            
+ 120   29.72507   -0.03400   32.24609 ssdac          
+ 121   29.88507   -0.03700  100.44295 qp5            
+ 122   30.04507   -0.03700  100.44295 qp5            
+ 123   30.24507   -0.03400   32.24609 ssdac          
+ 124   30.24507   -0.03400   32.24609 ssdac          
+ 125   30.72141   -0.03500   34.04609 sdac2          
+ 126   30.88141   -0.03500   34.04609 sdac2          
+ 127   31.04141   -0.03500   33.84609 sdac2          
+ 128   31.24141   -0.03400   32.24609 ssdac          
+ 129   31.24141   -0.03400   32.24609 ssdac          
+ 130   32.24609   -0.03400   32.24609 ssdac          
+ 131   32.24609   -0.03700  100.44295 qp5            
+ 132   32.44609   -0.03700  100.44295 qp5            
+ 133   32.64609   -0.03700  100.44295 qp5            
+ 134   32.84609   -0.03700  100.44295 qp5            
+ 135   33.04609   -0.03700  100.44295 qp5            
+ 136   33.24609   -0.03700  100.44295 qp5            
+ 137   33.44609   -0.03700  100.44295 qp5            
+ 138   33.64609   -0.03700  100.44295 qp5            
+ 139   33.84609   -0.03700  100.44295 qp5            
+ 140   34.04609   -0.03700  100.44295 qp5            
+ 141   34.04609   -0.03700  100.44295 qp5            
+ 142   35.05077   -0.03400   32.24609 ssdac          
+ 143   35.05077   -0.03700  100.44295 qp5            
+ 144   35.25077   -0.03500   33.84609 sdac2          
+ 145   35.41077   -0.03500   34.04609 sdac2          
+ 146   35.57077   -0.03400   32.24609 ssdac          
+ 147   36.04711   -0.03400   32.24609 ssdac          
+ 148   36.04711   -0.03400   32.24609 ssdac          
+ 149   36.24711   -0.03600  189.12713 qp5            
+ 150   36.40711   -0.03400   32.24609 ssdac          
+ 151   36.56711   -0.03400   32.24609 ssdac          
+ 152   37.00711   -0.03400   32.24609 ssdac          
+ 153   37.18252   -0.03700  100.44295 qp5            
+ 154   37.35792   -0.03700   34.04609 sdac2          
+ 155   37.53332   -0.04500  277.49131 qp5            
+ 156   37.70873   -0.05300  296.45395 qp10           
+ 157   37.88414   -0.06000   37.88414 bend3          
+ 158   38.05954   -0.06000   38.05954 bend4          
+ 159   38.49954   -0.04900   11.91877 qp5            
+ 160   38.65954   -0.04900   11.91877 qp5            
+ 161   38.81954   -0.04900   11.91877 qp5            
+ 162   39.01954   -0.04700  100.60295 qp5            
+ 163   39.01954   -0.04900   11.91877 qp5            
+ 164   39.40954   -0.04900   12.07877 qp5            
+ 165   39.63954   -0.04900  208.08977 qp10           
+ 166   39.86954   -0.04800   12.07877 qp5            
+ 167   40.06954   -0.04800  164.96959 sd12           
+ 168   40.06954   -0.04800   12.07877 qp5            
+ 169   40.45954   -0.04900  208.08977 qp10           
+ 170   40.61954   -0.04900  208.08977 qp10           
+ 171   40.77954   -0.04900  208.08977 qp10           
+ 172   44.26209   -0.04100   34.04609 sdac2          
Index: /trunk/machine/SOLEIL/common/naff/naffutils/fmap.out
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/fmap.out	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/fmap.out	(revision 17)
@@ -0,0 +1,43265 @@
+    x[mm]         z[mm]          fx            fz 
+ 1.000000e-06  1.000000e-06 -1.997147e-01 -2.996580e-01  6.939133e-10 -5.455822e-10
+ 1.000000e-06  2.006944e-03 -2.000673e-01 -2.996034e-01 -3.303946e-07  3.123280e-10
+ 1.000000e-06  2.837833e-03 -2.004230e-01 -2.995513e-01 -3.695410e-08  1.725420e-10
+ 1.000000e-06  3.475396e-03 -2.007823e-01 -2.995017e-01  4.218428e-08 -3.888889e-10
+ 1.000000e-06  4.012887e-03 -2.011448e-01 -2.994545e-01  2.369932e-07 -9.724728e-10
+ 1.000000e-06  4.486426e-03 -2.015111e-01 -2.994097e-01  6.667642e-08  1.231789e-09
+ 1.000000e-06  4.914538e-03 -2.018806e-01 -2.993673e-01  3.431638e-08  6.421055e-10
+ 1.000000e-06  5.308228e-03 -2.022538e-01 -2.993273e-01  1.691004e-06  2.223399e-08
+ 1.000000e-06  5.674665e-03 -2.026313e-01 -2.992896e-01  5.648867e-06  8.828400e-08
+ 1.000000e-06  6.018831e-03 -2.030153e-01 -2.992544e-01 -3.979598e-07 -8.214154e-09
+ 1.000000e-06  6.344350e-03 -2.034094e-01 -2.992217e-01 -1.962741e-05 -4.394512e-07
+ 1.000000e-06  6.653962e-03 -2.038152e-01 -2.991916e-01 -6.093713e-06 -1.658843e-07
+ 1.000000e-06  6.949792e-03 -2.042261e-01 -2.991641e-01 -2.631321e-05 -8.921559e-07
+ 1.000000e-06  7.233532e-03 -2.046262e-01 -2.991388e-01 -6.035154e-05 -2.472920e-06
+ 1.000000e-06  7.506553e-03 -2.050002e-01 -2.991145e-01  2.073186e-04  1.313628e-05
+ 1.000000e-06  7.769986e-03 -2.053467e-01 -2.990905e-01  1.359533e-04  8.886830e-06
+ 1.000000e-06  8.024774e-03 -2.056921e-01 -2.990672e-01 -1.092705e-04 -6.899655e-06
+ 1.000000e-06  8.271717e-03 -2.060932e-01 -2.990464e-01  1.662500e-05 -6.770504e-06
+ 1.000000e-06  8.511498e-03 -2.065540e-01 -2.990301e-01 -2.710315e-05  3.651194e-06
+ 1.000000e-06  8.744705e-03 -2.069867e-01 -2.990184e-01 -9.654226e-06  5.584435e-07
+ 1.000000e-06  8.971852e-03 -2.073933e-01 -2.990087e-01 -3.354350e-06  1.162513e-07
+ 1.000000e-06  9.193388e-03 -2.078132e-01 -2.990000e-01  4.322899e-06 -9.261899e-08
+ 1.000000e-06  9.409709e-03 -2.082480e-01 -2.989928e-01  1.222615e-06 -1.757511e-08
+ 1.000000e-06  9.621167e-03 -2.086799e-01 -2.989878e-01  1.860143e-06 -1.638383e-08
+ 1.000000e-06  9.828076e-03 -2.091147e-01 -2.989847e-01  2.579273e-07 -1.175225e-09
+ 1.000000e-06  1.003072e-02 -2.095534e-01 -2.989836e-01  1.167431e-07 -1.626126e-10
+ 1.000000e-06  1.022935e-02 -2.099942e-01 -2.989843e-01  1.596688e-09  2.498612e-12
+ 1.000000e-06  1.042419e-02 -2.104387e-01 -2.989870e-01 -1.316695e-08 -2.216788e-11
+ 1.000000e-06  1.061546e-02 -2.108859e-01 -2.989915e-01  8.610140e-09  9.679590e-11
+ 1.000000e-06  1.080334e-02 -2.113364e-01 -2.989979e-01 -7.721861e-09  1.518335e-11
+ 1.000000e-06  1.098801e-02 -2.117896e-01 -2.990061e-01 -4.338876e-10  3.937523e-11
+ 1.000000e-06  1.116962e-02 -2.122460e-01 -2.990160e-01 -1.611526e-10  1.762385e-11
+ 1.000000e-06  1.134833e-02 -2.127051e-01 -2.990278e-01  3.572497e-09  5.278672e-11
+ 1.000000e-06  1.152427e-02 -2.131670e-01 -2.990412e-01  1.964048e-08  3.164410e-10
+ 1.000000e-06  1.169756e-02 -2.136315e-01 -2.990563e-01  1.790889e-08  4.213790e-10
+ 1.000000e-06  1.186832e-02 -2.140987e-01 -2.990730e-01  2.397663e-08  5.164394e-10
+ 1.000000e-06  1.203666e-02 -2.145683e-01 -2.990914e-01  5.609803e-09  3.298032e-10
+ 1.000000e-06  1.220268e-02 -2.150403e-01 -2.991113e-01 -1.077438e-08  2.131444e-10
+ 1.000000e-06  1.236647e-02 -2.155145e-01 -2.991328e-01  3.136674e-09 -5.641027e-11
+ 1.000000e-06  1.252811e-02 -2.159909e-01 -2.991557e-01 -5.038250e-09 -7.218726e-11
+ 1.000000e-06  1.268770e-02 -2.164692e-01 -2.991801e-01  3.569497e-08 -7.956626e-10
+ 1.000000e-06  1.284531e-02 -2.169494e-01 -2.992058e-01 -4.504514e-09 -8.883992e-10
+ 1.000000e-06  1.300100e-02 -2.174313e-01 -2.992329e-01  5.037326e-09 -1.038229e-09
+ 1.000000e-06  1.315485e-02 -2.179148e-01 -2.992613e-01  1.488371e-09 -1.048312e-09
+ 1.000000e-06  1.330692e-02 -2.183996e-01 -2.992909e-01 -1.311743e-09 -7.783592e-10
+ 1.000000e-06  1.345728e-02 -2.188857e-01 -2.993217e-01  2.489827e-09 -4.197703e-10
+ 1.000000e-06  1.360597e-02 -2.193729e-01 -2.993536e-01  2.069305e-09 -3.702710e-11
+ 1.000000e-06  1.375306e-02 -2.198609e-01 -2.993866e-01  1.667092e-09  2.053179e-10
+ 1.000000e-06  1.389858e-02 -2.203496e-01 -2.994206e-01 -2.784995e-09  1.685254e-10
+ 1.000000e-06  1.404260e-02 -2.208389e-01 -2.994555e-01  2.799360e-09  1.388506e-10
+ 1.000000e-06  1.418516e-02 -2.213285e-01 -2.994913e-01 -3.589931e-08 -1.120727e-10
+ 1.000000e-06  1.432630e-02 -2.218178e-01 -2.995279e-01 -1.309428e-07 -6.184187e-10
+ 1.000000e-06  1.446606e-02 -2.223075e-01 -2.995651e-01  2.039952e-07  1.679697e-09
+ 1.000000e-06  1.460449e-02 -2.227968e-01 -2.996031e-01 -6.176356e-08 -3.584212e-10
+ 1.000000e-06  1.474161e-02 -2.232857e-01 -2.996415e-01  6.814893e-09  5.968870e-10
+ 1.000000e-06  1.487748e-02 -2.237736e-01 -2.996805e-01 -4.788151e-09 -2.454806e-10
+ 1.000000e-06  1.501211e-02 -2.242605e-01 -2.997198e-01  3.345685e-10 -1.272919e-10
+ 1.000000e-06  1.514554e-02 -2.247462e-01 -2.997594e-01 -4.998093e-09 -1.378163e-09
+ 1.000000e-06  1.527781e-02 -2.252303e-01 -2.997991e-01 -8.611199e-09  1.312891e-10
+ 1.000000e-06  1.540894e-02 -2.257127e-01 -2.998390e-01 -5.606800e-08  2.427018e-08
+ 1.000000e-06  1.553897e-02 -2.261929e-01 -2.998789e-01  1.054920e-07 -4.047515e-08
+ 1.000000e-06  1.566792e-02 -2.266709e-01 -2.999186e-01  7.626558e-08 -2.916903e-08
+ 1.000000e-06  1.579582e-02 -2.271465e-01 -2.999581e-01 -4.362435e-08  2.047972e-08
+ 1.000000e-06  1.592268e-02 -2.276190e-01 -2.999972e-01  3.526021e-09  1.370855e-10
+ 1.000000e-06  1.604855e-02 -2.280883e-01 -3.000358e-01  8.149203e-08 -3.242579e-08
+ 1.000000e-06  1.617343e-02 -2.285543e-01 -3.000738e-01 -1.246211e-07  5.741530e-08
+ 1.000000e-06  1.629736e-02 -2.290165e-01 -3.001111e-01 -5.166999e-08  2.850825e-08
+ 1.000000e-06  1.642036e-02 -2.294745e-01 -3.001475e-01  1.361991e-08 -5.894755e-09
+ 1.000000e-06  1.654243e-02 -2.299281e-01 -3.001829e-01  2.526362e-08 -1.002058e-08
+ 1.000000e-06  1.666362e-02 -2.303770e-01 -3.002171e-01  8.756331e-09 -5.650852e-09
+ 1.000000e-06  1.678393e-02 -2.308210e-01 -3.002500e-01 -1.845396e-09 -3.160994e-09
+ 1.000000e-06  1.690338e-02 -2.312594e-01 -3.002814e-01  9.543185e-08 -2.201463e-09
+ 1.000000e-06  1.702200e-02 -2.316918e-01 -3.003111e-01  7.242109e-08 -1.096191e-09
+ 1.000000e-06  1.713979e-02 -2.321188e-01 -3.003390e-01 -2.011727e-07 -2.689733e-08
+ 1.000000e-06  1.725678e-02 -2.325392e-01 -3.003649e-01  1.787173e-08 -8.270852e-09
+ 1.000000e-06  1.737298e-02 -2.329528e-01 -3.003886e-01  1.995872e-08 -1.758477e-08
+ 1.000000e-06  1.748841e-02 -2.333592e-01 -3.004100e-01 -2.714158e-07  3.546650e-09
+ 1.000000e-06  1.760308e-02 -2.337585e-01 -3.004287e-01 -9.379810e-07 -1.031653e-08
+ 1.000000e-06  1.771701e-02 -2.341489e-01 -3.004448e-01 -3.633912e-07  1.758340e-08
+ 1.000000e-06  1.783022e-02 -2.345329e-01 -3.004579e-01 -1.794251e-07 -2.259751e-09
+ 1.000000e-06  1.794270e-02 -2.349073e-01 -3.004678e-01 -6.387785e-08 -3.361242e-09
+ 1.000000e-06  1.805449e-02 -2.352729e-01 -3.004744e-01  8.674864e-08 -4.471847e-08
+ 1.000000e-06  1.816559e-02 -2.356297e-01 -3.004773e-01 -2.860390e-09 -2.751338e-09
+ 1.000000e-06  1.827602e-02 -2.359768e-01 -3.004765e-01  3.688992e-09  5.989675e-10
+ 1.000000e-06  1.838578e-02 -2.363141e-01 -3.004716e-01  4.430278e-08  1.429013e-09
+ 1.000000e-06  1.849489e-02 -2.366413e-01 -3.004625e-01  1.875927e-09 -1.102862e-09
+ 1.000000e-06  1.860336e-02 -2.369581e-01 -3.004490e-01  8.248796e-09 -1.026613e-09
+ 1.000000e-06  1.871120e-02 -2.372642e-01 -3.004307e-01  3.445558e-08  1.752093e-10
+ 1.000000e-06  1.881842e-02 -2.375594e-01 -3.004076e-01  7.470980e-09 -1.378712e-09
+ 1.000000e-06  1.892503e-02 -2.378432e-01 -3.003793e-01  5.255515e-08 -2.954348e-10
+ 1.000000e-06  1.903105e-02 -2.381156e-01 -3.003457e-01  2.934993e-09 -1.179133e-09
+ 1.000000e-06  1.913648e-02 -2.383762e-01 -3.003066e-01  3.105457e-08 -4.506603e-09
+ 1.000000e-06  1.924133e-02 -2.386248e-01 -3.002619e-01 -1.595349e-08 -2.304271e-08
+ 1.000000e-06  1.934562e-02 -2.388612e-01 -3.002112e-01  7.886677e-08 -1.396500e-08
+ 1.000000e-06  1.944934e-02 -2.390854e-01 -3.001547e-01  1.295201e-07 -1.029372e-07
+ 1.000000e-06  1.955252e-02 -2.392981e-01 -3.000918e-01 -6.948790e-08  2.726880e-08
+ 1.000000e-06  1.965515e-02 -2.394975e-01 -3.000232e-01  7.607261e-08 -8.123594e-08
+ 1.000000e-06  1.975725e-02 -2.396857e-01 -2.999481e-01 -4.320248e-07  7.528752e-07
+ 1.000000e-06  1.985883e-02 -2.398627e-01 -2.998658e-01  4.250292e-07 -4.249363e-07
+ 1.000000e-06  1.995989e-02 -2.400272e-01 -2.997775e-01  5.635902e-07 -7.452326e-09
+ 1.000000e-06  2.006044e-02 -2.401801e-01 -2.996826e-01  1.842569e-07  6.370107e-08
+ 1.000000e-06  2.016048e-02 -2.403209e-01 -2.995812e-01  1.656807e-07  1.282900e-09
+ 1.000000e-06  2.026004e-02 -2.404497e-01 -2.994736e-01  1.294398e-07 -5.639708e-09
+ 1.000000e-06  2.035910e-02 -2.405663e-01 -2.993599e-01  1.521636e-08 -2.353084e-09
+ 1.000000e-06  2.045769e-02 -2.406706e-01 -2.992405e-01  1.214669e-06 -4.796613e-08
+ 1.000000e-06  2.055580e-02 -2.407628e-01 -2.991157e-01 -1.599936e-07  3.202138e-08
+ 1.000000e-06  2.065345e-02 -2.408411e-01 -2.989861e-01 -4.642715e-08  5.283448e-09
+ 1.000000e-06  2.075064e-02 -2.409045e-01 -2.988526e-01 -1.314309e-07  3.146352e-08
+ 1.000000e-06  2.084738e-02 -2.409540e-01 -2.987133e-01 -1.075209e-07  6.206519e-08
+ 1.000000e-06  2.094367e-02 -2.409856e-01 -2.985722e-01 -3.972135e-09 -2.091756e-08
+ 1.000000e-06  2.103951e-02 -2.409984e-01 -2.984289e-01  3.436237e-08 -1.620597e-07
+ 1.000000e-06  2.113493e-02 -2.409823e-01 -2.982826e-01  8.225955e-07  2.453225e-07
+ 1.000000e-06  2.122991e-02 -2.409843e-01 -2.981502e-01  8.472884e-06  2.220185e-06
+ 1.000000e-06  2.132447e-02 -2.409290e-01 -2.980171e-01  1.605678e-05  2.214526e-05
+ 1.000000e-06  2.141862e-02 -2.408169e-01 -2.977633e-01 -3.627696e-07  2.871144e-07
+ 1.000000e-06  2.151235e-02 -2.407116e-01 -2.976169e-01  6.090450e-06 -4.349545e-06
+ 1.000000e-06  2.160567e-02 -2.405654e-01 -2.974567e-01  8.997728e-06  7.387728e-06
+ 1.000000e-06  2.169860e-02 -2.404108e-01 -2.972904e-01  4.843673e-06  2.421029e-06
+ 1.000000e-06  2.179112e-02 -2.401308e-01 -2.970348e-01 -8.737358e-05  2.157564e-05
+ 1.000000e-06  2.188326e-02 -2.399284e-01 -2.969249e-01  8.801450e-06  2.253939e-06
+ 1.000000e-06  2.197501e-02 -2.396410e-01 -2.967263e-01 -2.189189e-05 -2.941966e-06
+ 1.000000e-06  2.206638e-02 -2.393797e-01 -2.965301e-01 -4.443301e-05  2.611334e-05
+ 1.000000e-06  2.215737e-02 -2.391894e-01 -2.963544e-01 -1.069775e-05 -4.903780e-06
+ 1.000000e-06  2.224799e-02 -2.387686e-01 -2.960909e-01  1.818369e-05  5.049753e-06
+ 1.000000e-06  2.233824e-02 -2.378865e-01 -2.957993e-01 -2.378865e-01 -2.957993e-01
+ 1.000000e-06  2.242813e-02 -2.385661e-01 -2.956962e-01  1.263681e-04  8.738810e-05
+ 1.000000e-06  2.251766e-02  0.000000e+00  0.000000e+00  2.386924e-01  2.957836e-01
+ 1.000000e-06  2.260684e-02  0.000000e+00  0.000000e+00  2.386924e-01  2.957836e-01
+ 1.000000e-06  2.269566e-02  0.000000e+00  0.000000e+00  2.386924e-01  2.957836e-01
+ 1.000000e-06  2.278414e-02  0.000000e+00  0.000000e+00  2.386924e-01  2.957836e-01
+ 1.000000e-06  2.287228e-02  0.000000e+00  0.000000e+00  2.386924e-01  2.957836e-01
+ 1.000000e-06  2.296007e-02  0.000000e+00  0.000000e+00  2.386924e-01  2.957836e-01
+ 1.000000e-06  2.304754e-02  0.000000e+00  0.000000e+00  2.386924e-01  2.957836e-01
+ 1.000000e-06  2.313467e-02 -2.310584e-01 -2.948255e-01 -2.947296e-06  1.403221e-06
+ 1.000000e-06  2.322148e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.330796e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.339412e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.347997e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.356550e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.365073e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.373564e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.382026e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.390458e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.398860e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.407232e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.415576e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.423891e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.432177e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.440436e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.448666e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.456869e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.465045e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.473193e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.481315e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.489410e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.497480e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.505523e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.513540e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.521532e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.529499e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.537440e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.545357e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.553249e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.561117e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.568961e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.576781e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.584577e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.592350e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 1.000000e-06  2.600100e-02  0.000000e+00  0.000000e+00  2.310555e-01  2.948269e-01
+ 2.004918e-03  1.000000e-06 -2.005292e-01 -2.999225e-01  4.962604e-10 -5.754269e-08
+ 2.004918e-03  2.006944e-03 -2.008546e-01 -2.998583e-01  9.515943e-09 -8.591371e-08
+ 2.004918e-03  2.837833e-03 -2.011830e-01 -2.997968e-01 -3.540282e-07 -1.363897e-08
+ 2.004918e-03  3.475396e-03 -2.015146e-01 -2.997377e-01 -1.880079e-06 -7.207528e-08
+ 2.004918e-03  4.012887e-03 -2.018496e-01 -2.996810e-01 -4.741531e-06 -2.046733e-07
+ 2.004918e-03  4.486426e-03 -2.021882e-01 -2.996266e-01 -7.440038e-06 -3.190138e-07
+ 2.004918e-03  4.914538e-03 -2.025312e-01 -2.995745e-01 -5.342997e-06 -2.241863e-07
+ 2.004918e-03  5.308228e-03 -2.028797e-01 -2.995248e-01  1.089713e-05  4.300916e-07
+ 2.004918e-03  5.674665e-03 -2.032354e-01 -2.994774e-01  5.044135e-05  1.771712e-06
+ 2.004918e-03  6.018831e-03 -2.035999e-01 -2.994323e-01  9.625846e-05  2.943648e-06
+ 2.004918e-03  6.344350e-03 -2.039737e-01 -2.993895e-01  9.205396e-05  2.637943e-06
+ 2.004918e-03  6.653962e-03 -2.043551e-01 -2.993489e-01  2.166999e-05  6.365055e-07
+ 2.004918e-03  6.949792e-03 -2.047391e-01 -2.993104e-01 -5.116347e-05 -1.541471e-06
+ 2.004918e-03  7.233532e-03 -2.051191e-01 -2.992736e-01 -5.459045e-05 -1.599322e-06
+ 2.004918e-03  7.506553e-03 -2.054911e-01 -2.992386e-01 -8.545168e-06 -2.484302e-07
+ 2.004918e-03  7.769986e-03 -2.058567e-01 -2.992053e-01 -6.418072e-06 -1.975085e-07
+ 2.004918e-03  8.024774e-03 -2.062226e-01 -2.991739e-01 -1.942737e-05 -6.457218e-07
+ 2.004918e-03  8.271717e-03 -2.065963e-01 -2.991446e-01  1.038706e-07  3.656868e-09
+ 2.004918e-03  8.511498e-03 -2.069800e-01 -2.991174e-01  3.406250e-06  1.898761e-07
+ 2.004918e-03  8.744705e-03 -2.073700e-01 -2.990922e-01  8.622486e-09  1.561005e-09
+ 2.004918e-03  8.971852e-03 -2.077627e-01 -2.990689e-01 -1.959059e-07  1.170804e-08
+ 2.004918e-03  9.193388e-03 -2.081584e-01 -2.990474e-01 -1.290910e-08  3.104225e-10
+ 2.004918e-03  9.409709e-03 -2.085583e-01 -2.990277e-01 -7.067385e-07  5.583772e-09
+ 2.004918e-03  9.621167e-03 -2.089611e-01 -2.990099e-01 -1.574380e-07  5.304284e-10
+ 2.004918e-03  9.828076e-03 -2.093669e-01 -2.989938e-01  1.769898e-08 -9.586087e-11
+ 2.004918e-03  1.003072e-02 -2.097769e-01 -2.989795e-01 -5.739615e-07  1.566680e-10
+ 2.004918e-03  1.022935e-02 -2.101899e-01 -2.989669e-01 -1.053650e-07 -4.689754e-11
+ 2.004918e-03  1.042419e-02 -2.106059e-01 -2.989561e-01  1.903089e-08  5.189382e-11
+ 2.004918e-03  1.061546e-02 -2.110257e-01 -2.989469e-01 -2.687609e-07 -1.525413e-10
+ 2.004918e-03  1.080334e-02  4.021214e-01 -2.989393e-01 -4.843598e-09 -7.404832e-11
+ 2.004918e-03  1.098801e-02  4.021332e-01 -2.989334e-01 -1.592541e-09 -1.104294e-11
+ 2.004918e-03  1.116962e-02  4.021419e-01 -2.989291e-01 -1.659414e-10  1.237389e-10
+ 2.004918e-03  1.134833e-02  4.021474e-01 -2.989263e-01  3.820163e-10  1.322802e-10
+ 2.004918e-03  1.152427e-02  4.021498e-01 -2.989251e-01 -1.657247e-09  8.572260e-11
+ 2.004918e-03  1.169756e-02  4.021492e-01 -2.989254e-01 -2.001322e-09  8.769407e-11
+ 2.004918e-03  1.186832e-02  4.021457e-01 -2.989272e-01 -2.602576e-09  5.808598e-11
+ 2.004918e-03  1.203666e-02  4.021392e-01 -2.989304e-01 -2.229883e-09  7.995565e-11
+ 2.004918e-03  1.220268e-02  4.021300e-01 -2.989350e-01 -1.405278e-09  8.172241e-11
+ 2.004918e-03  1.236647e-02  4.021179e-01 -2.989410e-01  3.701428e-12  7.221429e-11
+ 2.004918e-03  1.252811e-02  4.021031e-01 -2.989484e-01  1.092180e-09  7.574730e-11
+ 2.004918e-03  1.268770e-02  4.020858e-01 -2.989571e-01  7.790657e-10  5.205503e-11
+ 2.004918e-03  1.284531e-02  4.020658e-01 -2.989671e-01  1.578784e-10  3.137124e-11
+ 2.004918e-03  1.300100e-02  4.020434e-01 -2.989783e-01 -4.778804e-10 -1.240197e-11
+ 2.004918e-03  1.315485e-02  4.020186e-01 -2.989907e-01  7.701872e-11 -1.409811e-11
+ 2.004918e-03  1.330692e-02  4.019914e-01 -2.990043e-01  6.148833e-10 -1.252343e-11
+ 2.004918e-03  1.345728e-02  4.019620e-01 -2.990190e-01  9.234247e-11 -8.533341e-12
+ 2.004918e-03  1.360597e-02  4.019305e-01 -2.990348e-01  2.747059e-10  3.584205e-11
+ 2.004918e-03  1.375306e-02  4.018969e-01 -2.990516e-01  1.008634e-09  1.065427e-10
+ 2.004918e-03  1.389858e-02  4.018613e-01 -2.990693e-01  1.119580e-10  1.273955e-10
+ 2.004918e-03  1.404260e-02  4.018239e-01 -2.990880e-01  7.228484e-10  1.535606e-10
+ 2.004918e-03  1.418516e-02  4.017848e-01 -2.991076e-01  3.842048e-10  1.107477e-10
+ 2.004918e-03  1.432630e-02  4.017440e-01 -2.991280e-01  1.343921e-10 -4.035577e-11
+ 2.004918e-03  1.446606e-02  4.017016e-01 -2.991492e-01  1.113430e-09 -2.130492e-10
+ 2.004918e-03  1.460449e-02  4.016579e-01 -2.991710e-01  7.675621e-11 -5.395858e-10
+ 2.004918e-03  1.474161e-02  4.016129e-01 -2.991936e-01  1.144632e-09 -7.822041e-10
+ 2.004918e-03  1.487748e-02  4.015667e-01 -2.992166e-01 -1.012548e-09 -1.052914e-09
+ 2.004918e-03  1.501211e-02  4.015196e-01 -2.992402e-01  4.324321e-10 -1.098956e-09
+ 2.004918e-03  1.514554e-02  4.014715e-01 -2.992642e-01 -2.651390e-10 -1.100780e-09
+ 2.004918e-03  1.527781e-02  4.014228e-01 -2.992886e-01  7.120203e-10 -8.279674e-10
+ 2.004918e-03  1.540894e-02  4.013735e-01 -2.993132e-01 -5.013889e-10 -5.906425e-10
+ 2.004918e-03  1.553897e-02  4.013238e-01 -2.993381e-01 -9.771177e-10 -1.328949e-10
+ 2.004918e-03  1.566792e-02  4.012740e-01 -2.993630e-01 -4.402356e-10 -2.080563e-11
+ 2.004918e-03  1.579582e-02  4.012240e-01 -2.993880e-01 -2.493206e-09  2.851723e-10
+ 2.004918e-03  1.592268e-02  4.011743e-01 -2.994129e-01 -8.009698e-10  1.116801e-10
+ 2.004918e-03  1.604855e-02  4.011249e-01 -2.994375e-01 -4.612569e-09  4.224459e-10
+ 2.004918e-03  1.617343e-02  4.010761e-01 -2.994620e-01 -6.637136e-10  1.054606e-11
+ 2.004918e-03  1.629736e-02  4.010281e-01 -2.994860e-01 -3.490399e-09  3.440714e-10
+ 2.004918e-03  1.642036e-02  4.009810e-01 -2.995095e-01 -3.653025e-09  4.567269e-11
+ 2.004918e-03  1.654243e-02  4.009353e-01 -2.995324e-01 -1.016750e-08  6.729884e-10
+ 2.004918e-03  1.666362e-02  4.008911e-01 -2.995545e-01 -9.262669e-09  3.616289e-10
+ 2.004918e-03  1.678393e-02  4.008486e-01 -2.995757e-01 -5.060078e-09  3.867793e-10
+ 2.004918e-03  1.690338e-02  4.008082e-01 -2.995959e-01 -1.949825e-08  6.462464e-10
+ 2.004918e-03  1.702200e-02  4.007701e-01 -2.996149e-01 -5.380159e-09  1.503435e-10
+ 2.004918e-03  1.713979e-02  4.007346e-01 -2.996326e-01 -8.336875e-08  2.053099e-09
+ 2.004918e-03  1.725678e-02  4.007023e-01 -2.996489e-01  5.433406e-08  6.323867e-09
+ 2.004918e-03  1.737298e-02  4.006730e-01 -2.996635e-01 -2.435032e-07 -4.239477e-10
+ 2.004918e-03  1.748841e-02  4.006476e-01 -2.996762e-01  4.783471e-07 -1.835777e-09
+ 2.004918e-03  1.760308e-02  4.006264e-01 -2.996870e-01  6.199922e-07  8.356429e-09
+ 2.004918e-03  1.771701e-02  4.006088e-01 -2.996956e-01 -2.281592e-07 -2.251033e-08
+ 2.004918e-03  1.783022e-02  4.005964e-01 -2.997017e-01 -4.158647e-08 -1.916955e-09
+ 2.004918e-03  1.794270e-02  4.005896e-01 -2.997053e-01  3.621361e-07 -3.344416e-08
+ 2.004918e-03  1.805449e-02  4.005876e-01 -2.997059e-01 -2.845146e-07 -8.015383e-09
+ 2.004918e-03  1.816559e-02  4.005922e-01 -2.997036e-01 -7.704528e-07  1.230237e-09
+ 2.004918e-03  1.827602e-02 -2.353688e-01 -2.996979e-01  3.166376e-07 -1.288839e-09
+ 2.004918e-03  1.838578e-02  4.006229e-01 -2.996886e-01 -4.717251e-08  1.644758e-09
+ 2.004918e-03  1.849489e-02 -2.360701e-01 -2.996755e-01  1.182738e-07 -3.524094e-10
+ 2.004918e-03  1.860336e-02 -2.364078e-01 -2.996582e-01  3.087530e-08 -2.956658e-10
+ 2.004918e-03  1.871120e-02 -2.367362e-01 -2.996364e-01  2.254563e-08  3.756215e-09
+ 2.004918e-03  1.881842e-02 -2.370552e-01 -2.996098e-01  2.575168e-08  1.474045e-10
+ 2.004918e-03  1.892503e-02 -2.373644e-01 -2.995780e-01  5.316878e-08  1.261720e-09
+ 2.004918e-03  1.903105e-02 -2.376635e-01 -2.995406e-01 -3.721992e-10  2.939374e-09
+ 2.004918e-03  1.913648e-02 -2.379523e-01 -2.994971e-01  3.291111e-09  8.082038e-10
+ 2.004918e-03  1.924133e-02 -2.382304e-01 -2.994472e-01  2.734034e-08  1.451254e-09
+ 2.004918e-03  1.934562e-02 -2.384978e-01 -2.993903e-01  8.835036e-09  4.149971e-10
+ 2.004918e-03  1.944934e-02 -2.387540e-01 -2.993258e-01  6.314865e-08  1.015641e-09
+ 2.004918e-03  1.955252e-02 -2.389991e-01 -2.992530e-01  2.059983e-08 -1.527097e-09
+ 2.004918e-03  1.965515e-02 -2.392328e-01 -2.991711e-01  5.767509e-08  1.193221e-09
+ 2.004918e-03  1.975725e-02 -2.394552e-01 -2.990794e-01 -2.313109e-09 -1.613281e-10
+ 2.004918e-03  1.985883e-02 -2.396662e-01 -2.989767e-01  2.546350e-08 -3.948430e-10
+ 2.004918e-03  1.995989e-02 -2.398663e-01 -2.988617e-01  3.729820e-08  1.152138e-09
+ 2.004918e-03  2.006044e-02 -2.400557e-01 -2.987327e-01 -1.489453e-08 -2.783359e-09
+ 2.004918e-03  2.016048e-02 -2.402351e-01 -2.985878e-01  7.804211e-08 -3.582884e-09
+ 2.004918e-03  2.026004e-02 -2.404058e-01 -2.984239e-01  1.755227e-08  4.986054e-09
+ 2.004918e-03  2.035910e-02 -2.405696e-01 -2.982373e-01 -2.412449e-08  9.281901e-10
+ 2.004918e-03  2.045769e-02 -2.407287e-01 -2.980234e-01  3.476795e-07 -3.581359e-07
+ 2.004918e-03  2.055580e-02 -2.408938e-01 -2.977660e-01  5.931821e-08 -1.513469e-07
+ 2.004918e-03  2.065345e-02 -2.410718e-01 -2.974537e-01  2.475272e-07 -5.007659e-08
+ 2.004918e-03  2.075064e-02 -2.412959e-01 -2.970425e-01  2.953007e-07 -1.139397e-09
+ 2.004918e-03  2.084738e-02 -2.416845e-01 -2.963918e-01 -4.723160e-07  3.766034e-08
+ 2.004918e-03  2.094367e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.103951e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.113493e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.122991e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.132447e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.141862e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.151235e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.160567e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.169860e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.179112e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.188326e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.197501e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.206638e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.215737e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.224799e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.233824e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.242813e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.251766e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.260684e-02  0.000000e+00  0.000000e+00  2.416840e-01  2.963918e-01
+ 2.004918e-03  2.269566e-02 -2.360018e-01 -2.940000e-01 -2.360018e-01 -2.940000e-01
+ 2.004918e-03  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004918e-03  2.287228e-02 -2.341484e-01 -2.943086e-01 -8.969449e-05  1.234959e-05
+ 2.004918e-03  2.296007e-02 -2.345968e-01 -2.942338e-01 -4.882735e-04  8.133719e-05
+ 2.004918e-03  2.304754e-02 -2.343083e-01 -2.942819e-01 -1.008153e-05  1.836496e-06
+ 2.004918e-03  2.313467e-02 -2.343033e-01 -2.942827e-01  5.622115e-07  4.026215e-08
+ 2.004918e-03  2.322148e-02 -2.342946e-01 -2.942842e-01  1.948416e-06 -3.915044e-07
+ 2.004918e-03  2.330796e-02 -2.340600e-01 -2.943235e-01 -7.608313e-07 -1.798680e-07
+ 2.004918e-03  2.339412e-02 -2.338901e-01 -2.943516e-01 -1.468103e-07 -6.441029e-09
+ 2.004918e-03  2.347997e-02 -2.337392e-01 -2.943768e-01  3.318889e-09 -1.701082e-09
+ 2.004918e-03  2.356550e-02 -2.336254e-01 -2.943958e-01  1.009526e-07 -2.490008e-09
+ 2.004918e-03  2.365073e-02 -2.336070e-01 -2.943988e-01  2.472085e-07 -8.365632e-09
+ 2.004918e-03  2.373564e-02 -2.336247e-01 -2.943958e-01  3.405841e-06 -4.890379e-07
+ 2.004918e-03  2.382026e-02 -2.336275e-01 -2.943953e-01  3.968263e-06 -5.791192e-07
+ 2.004918e-03  2.390458e-02  0.000000e+00  0.000000e+00  2.336315e-01  2.943948e-01
+ 2.004918e-03  2.398860e-02  0.000000e+00  0.000000e+00  2.336315e-01  2.943948e-01
+ 2.004918e-03  2.407232e-02 -2.337675e-01 -2.943716e-01 -2.337675e-01 -2.943716e-01
+ 2.004918e-03  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004918e-03  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004918e-03  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004918e-03  2.440436e-02 -2.337686e-01 -2.943716e-01  3.024967e-06  4.570950e-07
+ 2.004918e-03  2.448666e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.456869e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.465045e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.473193e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.481315e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.489410e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.497480e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.505523e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.513540e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.521532e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.529499e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.537440e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.545357e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.553249e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.561117e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.568961e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.576781e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.584577e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.592350e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.004918e-03  2.600100e-02  0.000000e+00  0.000000e+00  2.337717e-01  2.943721e-01
+ 2.834968e-03  1.000000e-06 -2.013379e-01 -3.001860e-01  3.265529e-10  1.063504e-08
+ 2.834968e-03  2.006944e-03 -2.016506e-01 -3.001193e-01 -5.756852e-09  2.832578e-08
+ 2.834968e-03  2.837833e-03 -2.019665e-01 -3.000549e-01  1.027101e-08 -7.488094e-09
+ 2.834968e-03  3.475396e-03 -2.022858e-01 -2.999928e-01  3.246524e-09  3.766230e-09
+ 2.834968e-03  4.012887e-03 -2.026087e-01 -2.999329e-01  1.525544e-08 -6.232796e-09
+ 2.834968e-03  4.486426e-03 -2.029354e-01 -2.998754e-01  3.347385e-08 -1.281854e-08
+ 2.834968e-03  4.914538e-03 -2.032659e-01 -2.998200e-01  5.910614e-08 -2.176070e-08
+ 2.834968e-03  5.308228e-03 -2.036005e-01 -2.997669e-01  8.227146e-08 -2.651271e-08
+ 2.834968e-03  5.674665e-03 -2.039390e-01 -2.997159e-01  7.756505e-08 -2.210743e-08
+ 2.834968e-03  6.018831e-03 -2.042816e-01 -2.996671e-01  2.701558e-08 -6.694169e-09
+ 2.834968e-03  6.344350e-03 -2.046282e-01 -2.996204e-01 -4.612805e-08  1.039046e-08
+ 2.834968e-03  6.653962e-03 -2.049787e-01 -2.995758e-01 -4.924147e-09  1.312529e-09
+ 2.834968e-03  6.949792e-03 -2.053330e-01 -2.995333e-01  2.353724e-07 -4.092757e-08
+ 2.834968e-03  7.233532e-03 -2.056911e-01 -2.994929e-01  4.100949e-07 -6.654311e-08
+ 2.834968e-03  7.506553e-03 -2.060529e-01 -2.994544e-01  2.007482e-07 -3.098174e-08
+ 2.834968e-03  7.769986e-03 -2.064185e-01 -2.994179e-01  1.176612e-11  1.237241e-10
+ 2.834968e-03  8.024774e-03 -2.067877e-01 -2.993833e-01  1.072557e-07 -1.604467e-08
+ 2.834968e-03  8.271717e-03 -2.071604e-01 -2.993506e-01  3.903583e-08 -6.021562e-09
+ 2.834968e-03  8.511498e-03 -2.075365e-01 -2.993197e-01  2.507259e-08 -4.408136e-09
+ 2.834968e-03  8.744705e-03 -2.079159e-01 -2.992907e-01  9.597236e-08 -1.839671e-08
+ 2.834968e-03  8.971852e-03 -2.082987e-01 -2.992635e-01  1.191989e-09 -1.352109e-09
+ 2.834968e-03  9.193388e-03 -2.086849e-01 -2.992381e-01  2.150314e-08 -7.644923e-09
+ 2.834968e-03  9.409709e-03 -2.090743e-01 -2.992144e-01  9.995610e-10 -7.420453e-10
+ 2.834968e-03  9.621167e-03 -2.094669e-01 -2.991924e-01 -6.595471e-10 -7.181271e-09
+ 2.834968e-03  9.828076e-03 -2.098627e-01 -2.991720e-01 -2.520603e-10 -6.110205e-10
+ 2.834968e-03  1.003072e-02 -2.102616e-01 -2.991533e-01 -1.092593e-08 -2.173676e-09
+ 2.834968e-03  1.022935e-02 -2.106637e-01 -2.991363e-01 -1.606613e-08 -1.806143e-09
+ 2.834968e-03  1.042419e-02 -2.110689e-01 -2.991208e-01 -2.647563e-09 -2.560335e-10
+ 2.834968e-03  1.061546e-02 -2.114770e-01 -2.991068e-01 -2.039087e-08 -1.068403e-09
+ 2.834968e-03  1.080334e-02 -2.118881e-01 -2.990944e-01 -1.723635e-08 -6.432666e-10
+ 2.834968e-03  1.098801e-02 -2.123022e-01 -2.990835e-01 -8.599003e-10  8.362716e-11
+ 2.834968e-03  1.116962e-02 -2.127191e-01 -2.990741e-01 -1.249991e-08 -2.510800e-10
+ 2.834968e-03  1.134833e-02 -2.131389e-01 -2.990661e-01 -3.181509e-08 -5.638014e-10
+ 2.834968e-03  1.152427e-02 -2.135614e-01 -2.990596e-01 -9.233901e-09 -1.337856e-10
+ 2.834968e-03  1.169756e-02 -2.139865e-01 -2.990544e-01  1.048015e-09  6.584844e-11
+ 2.834968e-03  1.186832e-02 -2.144143e-01 -2.990506e-01  2.453386e-09  4.541478e-11
+ 2.834968e-03  1.203666e-02 -2.148445e-01 -2.990481e-01  9.527498e-09 -1.101398e-10
+ 2.834968e-03  1.220268e-02 -2.152772e-01 -2.990469e-01 -5.425973e-08  6.153700e-11
+ 2.834968e-03  1.236647e-02 -2.157122e-01 -2.990470e-01 -1.993190e-08 -1.769085e-12
+ 2.834968e-03  1.252811e-02 -2.161495e-01 -2.990483e-01 -2.601679e-08 -3.574863e-12
+ 2.834968e-03  1.268770e-02 -2.165890e-01 -2.990508e-01 -1.539831e-08  2.833539e-11
+ 2.834968e-03  1.284531e-02 -2.170305e-01 -2.990545e-01 -1.681892e-08  6.090534e-11
+ 2.834968e-03  1.300100e-02  4.018813e-01 -2.990594e-01 -2.429731e-09  7.961043e-11
+ 2.834968e-03  1.315485e-02  4.018694e-01 -2.990653e-01 -1.037478e-09  9.322271e-11
+ 2.834968e-03  1.330692e-02  4.018555e-01 -2.990723e-01 -1.746447e-09  1.135818e-10
+ 2.834968e-03  1.345728e-02  4.018394e-01 -2.990803e-01 -4.482018e-10  1.402332e-10
+ 2.834968e-03  1.360597e-02  4.018215e-01 -2.990893e-01  8.181332e-10  1.526499e-10
+ 2.834968e-03  1.375306e-02  4.018016e-01 -2.990992e-01  7.191220e-11  1.484463e-10
+ 2.834968e-03  1.389858e-02  4.017799e-01 -2.991100e-01  6.915332e-10  8.437212e-11
+ 2.834968e-03  1.404260e-02  4.017565e-01 -2.991217e-01 -1.154720e-09  5.782763e-12
+ 2.834968e-03  1.418516e-02  4.017315e-01 -2.991342e-01  7.811208e-10 -8.464179e-11
+ 2.834968e-03  1.432630e-02  4.017050e-01 -2.991475e-01  6.213626e-10 -1.831760e-10
+ 2.834968e-03  1.446606e-02  4.016771e-01 -2.991614e-01  8.459412e-10 -4.113251e-10
+ 2.834968e-03  1.460449e-02  4.016479e-01 -2.991760e-01  6.844597e-11 -6.087190e-10
+ 2.834968e-03  1.474161e-02  4.016175e-01 -2.991912e-01  3.974193e-11 -7.691406e-10
+ 2.834968e-03  1.487748e-02  4.015861e-01 -2.992070e-01  4.360657e-10 -9.496254e-10
+ 2.834968e-03  1.501211e-02  4.015536e-01 -2.992232e-01 -2.978190e-11 -1.101488e-09
+ 2.834968e-03  1.514554e-02  4.015204e-01 -2.992398e-01  6.470369e-10 -1.082484e-09
+ 2.834968e-03  1.527781e-02  4.014865e-01 -2.992568e-01  1.894918e-11 -1.085545e-09
+ 2.834968e-03  1.540894e-02  4.014520e-01 -2.992740e-01  1.186762e-10 -1.044754e-09
+ 2.834968e-03  1.553897e-02  4.014172e-01 -2.992914e-01 -3.725792e-10 -7.769027e-10
+ 2.834968e-03  1.566792e-02  4.013821e-01 -2.993090e-01 -1.766444e-10 -6.229165e-10
+ 2.834968e-03  1.579582e-02  4.013469e-01 -2.993265e-01 -5.439383e-10 -3.676441e-10
+ 2.834968e-03  1.592268e-02  4.013119e-01 -2.993441e-01 -2.149391e-09 -1.091588e-11
+ 2.834968e-03  1.604855e-02  4.012771e-01 -2.993615e-01 -7.713101e-10  1.474493e-11
+ 2.834968e-03  1.617343e-02  4.012428e-01 -2.993786e-01 -1.353248e-09  1.309826e-10
+ 2.834968e-03  1.629736e-02  4.012091e-01 -2.993954e-01 -3.166078e-09  3.196127e-10
+ 2.834968e-03  1.642036e-02  4.011764e-01 -2.994118e-01 -1.186519e-09  1.451937e-10
+ 2.834968e-03  1.654243e-02  4.011447e-01 -2.994276e-01 -2.946659e-09  2.873650e-10
+ 2.834968e-03  1.666362e-02  4.011143e-01 -2.994428e-01 -1.027028e-08  5.034440e-10
+ 2.834968e-03  1.678393e-02  4.010856e-01 -2.994572e-01 -2.058835e-09  1.180809e-10
+ 2.834968e-03  1.690338e-02  4.010586e-01 -2.994707e-01 -2.981902e-09  3.983136e-11
+ 2.834968e-03  1.702200e-02  4.010337e-01 -2.994832e-01 -9.887367e-09  4.386269e-11
+ 2.834968e-03  1.713979e-02  4.010111e-01 -2.994944e-01  5.419888e-09  1.274396e-09
+ 2.834968e-03  1.725678e-02  4.009912e-01 -2.995044e-01 -1.493705e-08  2.345750e-10
+ 2.834968e-03  1.737298e-02  4.009743e-01 -2.995128e-01 -2.133974e-08 -4.279840e-10
+ 2.834968e-03  1.748841e-02  4.009605e-01 -2.995197e-01 -2.136664e-07  9.839197e-10
+ 2.834968e-03  1.760308e-02  4.009507e-01 -2.995247e-01  2.712086e-07  1.085373e-10
+ 2.834968e-03  1.771701e-02  4.009448e-01 -2.995277e-01  2.069934e-07  2.106331e-09
+ 2.834968e-03  1.783022e-02  4.009429e-01 -2.995286e-01 -9.600828e-08  7.418494e-11
+ 2.834968e-03  1.794270e-02  4.009458e-01 -2.995270e-01 -1.795962e-08  6.717685e-10
+ 2.834968e-03  1.805449e-02  4.009542e-01 -2.995229e-01  1.883880e-07  4.243209e-09
+ 2.834968e-03  1.816559e-02  4.009680e-01 -2.995160e-01 -3.552243e-07  1.174088e-08
+ 2.834968e-03  1.827602e-02  4.009877e-01 -2.995060e-01 -2.149996e-09  3.349054e-11
+ 2.834968e-03  1.838578e-02  4.010144e-01 -2.994926e-01 -6.000231e-07  2.799964e-09
+ 2.834968e-03  1.849489e-02  4.010486e-01 -2.994757e-01  2.949987e-07 -1.721056e-09
+ 2.834968e-03  1.860336e-02  4.010902e-01 -2.994550e-01 -2.225041e-08  2.239685e-10
+ 2.834968e-03  1.871120e-02  4.011401e-01 -2.994300e-01  6.689355e-08  5.073259e-10
+ 2.834968e-03  1.881842e-02  4.011991e-01 -2.994005e-01 -8.052996e-09  4.516021e-10
+ 2.834968e-03  1.892503e-02  4.012680e-01 -2.993660e-01  2.427332e-08 -7.692802e-11
+ 2.834968e-03  1.903105e-02  4.013475e-01 -2.993263e-01 -1.293212e-09 -1.993132e-10
+ 2.834968e-03  1.913648e-02  4.014386e-01 -2.992807e-01  2.266943e-08 -9.375154e-10
+ 2.834968e-03  1.924133e-02  4.015422e-01 -2.992289e-01  7.808355e-09 -1.032122e-09
+ 2.834968e-03  1.934562e-02  4.016595e-01 -2.991703e-01  2.133444e-09 -3.273845e-10
+ 2.834968e-03  1.944934e-02  4.017918e-01 -2.991041e-01 -6.554612e-09  7.915946e-12
+ 2.834968e-03  1.955252e-02  4.019407e-01 -2.990297e-01  9.918455e-09 -4.208484e-10
+ 2.834968e-03  1.965515e-02  4.021078e-01 -2.989461e-01  8.959679e-09  1.981479e-10
+ 2.834968e-03  1.975725e-02  4.022955e-01 -2.988523e-01  6.512313e-09  3.834910e-10
+ 2.834968e-03  1.985883e-02  4.025062e-01 -2.987469e-01  3.665996e-09 -1.406319e-09
+ 2.834968e-03  1.995989e-02  4.027435e-01 -2.986282e-01  2.850551e-09  2.668379e-10
+ 2.834968e-03  2.006044e-02 -2.398964e-01 -2.984941e-01  1.837596e-08 -5.594256e-10
+ 2.834968e-03  2.016048e-02 -2.400677e-01 -2.983413e-01  2.656629e-08 -9.205707e-10
+ 2.834968e-03  2.026004e-02 -2.402256e-01 -2.981654e-01  1.586896e-07 -5.347566e-10
+ 2.834968e-03  2.035910e-02 -2.403708e-01 -2.979593e-01 -5.504456e-08  1.669604e-08
+ 2.834968e-03  2.045769e-02 -2.405029e-01 -2.977105e-01  1.070834e-07  1.076785e-09
+ 2.834968e-03  2.055580e-02 -2.406246e-01 -2.973938e-01  2.236484e-07 -2.340097e-08
+ 2.834968e-03  2.065345e-02 -2.407441e-01 -2.969395e-01  4.272783e-07  1.527720e-07
+ 2.834968e-03  2.075064e-02 -2.409798e-01 -2.956946e-01 -7.729118e-06 -4.062453e-07
+ 2.834968e-03  2.084738e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.094367e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.103951e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.113493e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.122991e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.132447e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.141862e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.151235e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.160567e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.169860e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.179112e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.188326e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.197501e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.206638e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.215737e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.224799e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.233824e-02  0.000000e+00  0.000000e+00  2.409721e-01  2.956942e-01
+ 2.834968e-03  2.242813e-02 -2.371724e-01 -2.938041e-01 -2.371724e-01 -2.938041e-01
+ 2.834968e-03  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.296007e-02 -2.373682e-01 -2.937732e-01 -2.373682e-01 -2.937732e-01
+ 2.834968e-03  2.304754e-02 -2.368399e-01 -2.938597e-01 -2.335000e-08  4.647963e-07
+ 2.834968e-03  2.313467e-02 -2.366567e-01 -2.938909e-01 -1.491414e-05  2.629278e-06
+ 2.834968e-03  2.322148e-02 -2.363915e-01 -2.939346e-01  1.162173e-06 -2.757696e-07
+ 2.834968e-03  2.330796e-02 -2.362327e-01 -2.939613e-01  7.710064e-07 -1.575135e-07
+ 2.834968e-03  2.339412e-02 -2.360853e-01 -2.939857e-01 -3.764776e-07  2.276938e-07
+ 2.834968e-03  2.347997e-02 -2.359216e-01 -2.940131e-01 -2.843197e-06  4.942206e-07
+ 2.834968e-03  2.356550e-02 -2.358172e-01 -2.940304e-01 -1.106128e-03  1.844612e-04
+ 2.834968e-03  2.365073e-02 -2.358030e-01 -2.940324e-01  8.662364e-05 -1.420959e-05
+ 2.834968e-03  2.373564e-02 -2.346001e-01 -2.942333e-01 -1.141444e-04  1.898261e-05
+ 2.834968e-03  2.382026e-02 -2.347870e-01 -2.942021e-01  3.126155e-04 -5.226259e-05
+ 2.834968e-03  2.390458e-02 -2.360249e-01 -2.939950e-01 -3.205232e-04  5.378503e-05
+ 2.834968e-03  2.398860e-02 -2.360197e-01 -2.939965e-01  7.664130e-05 -1.253961e-05
+ 2.834968e-03  2.407232e-02 -2.338468e-01 -2.943578e-01  1.844961e-04 -2.939398e-05
+ 2.834968e-03  2.415576e-02  0.000000e+00  0.000000e+00  2.340312e-01  2.943284e-01
+ 2.834968e-03  2.423891e-02 -2.350050e-01 -2.941662e-01 -2.350050e-01 -2.941662e-01
+ 2.834968e-03  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.834968e-03  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  1.000000e-06 -2.021403e-01 -3.004494e-01  5.373344e-10  4.650627e-09
+ 3.471887e-03  2.006944e-03 -2.024428e-01 -3.003808e-01 -6.402097e-10  8.265157e-09
+ 3.471887e-03  2.837833e-03 -2.027482e-01 -3.003146e-01  5.170501e-09 -5.136315e-09
+ 3.471887e-03  3.475396e-03 -2.030569e-01 -3.002506e-01  2.288710e-09 -1.224771e-09
+ 3.471887e-03  4.012887e-03 -2.033691e-01 -3.001889e-01  8.094796e-09 -7.183972e-09
+ 3.471887e-03  4.486426e-03 -2.036847e-01 -3.001294e-01  5.025797e-09 -1.835480e-09
+ 3.471887e-03  4.914538e-03 -2.040040e-01 -3.000720e-01  4.858171e-09 -2.404198e-09
+ 3.471887e-03  5.308228e-03 -2.043271e-01 -3.000168e-01  1.496366e-09 -7.320448e-10
+ 3.471887e-03  5.674665e-03 -2.046539e-01 -2.999637e-01  3.762851e-09 -1.417552e-09
+ 3.471887e-03  6.018831e-03 -2.049845e-01 -2.999127e-01  3.244705e-09 -1.944679e-09
+ 3.471887e-03  6.344350e-03 -2.053190e-01 -2.998637e-01  7.790943e-09 -3.845083e-09
+ 3.471887e-03  6.653962e-03 -2.056574e-01 -2.998168e-01  1.623829e-08 -7.239702e-09
+ 3.471887e-03  6.949792e-03 -2.059997e-01 -2.997719e-01  1.940349e-08 -9.280318e-09
+ 3.471887e-03  7.233532e-03 -2.063459e-01 -2.997290e-01  1.537787e-08 -7.181638e-09
+ 3.471887e-03  7.506553e-03 -2.066959e-01 -2.996879e-01  3.719233e-09 -1.966508e-09
+ 3.471887e-03  7.769986e-03 -2.070497e-01 -2.996488e-01  6.014287e-09 -1.674822e-09
+ 3.471887e-03  8.024774e-03 -2.074073e-01 -2.996116e-01  1.541395e-08 -5.261438e-09
+ 3.471887e-03  8.271717e-03 -2.077686e-01 -2.995762e-01  8.458164e-09 -2.318649e-09
+ 3.471887e-03  8.511498e-03 -2.081335e-01 -2.995426e-01  4.655739e-09 -5.158440e-10
+ 3.471887e-03  8.744705e-03 -2.085020e-01 -2.995108e-01  1.951656e-08 -6.008230e-09
+ 3.471887e-03  8.971852e-03 -2.088741e-01 -2.994807e-01  5.817188e-09 -1.688243e-09
+ 3.471887e-03  9.193388e-03 -2.092496e-01 -2.994524e-01  6.023429e-09 -1.730122e-09
+ 3.471887e-03  9.409709e-03 -2.096285e-01 -2.994257e-01  6.099109e-09 -1.725774e-09
+ 3.471887e-03  9.621167e-03 -2.100108e-01 -2.994006e-01  5.487681e-09 -1.095562e-09
+ 3.471887e-03  9.828076e-03 -2.103963e-01 -2.993771e-01  5.091748e-09 -2.230044e-09
+ 3.471887e-03  1.003072e-02 -2.107850e-01 -2.993553e-01  1.989896e-09 -8.267995e-10
+ 3.471887e-03  1.022935e-02 -2.111769e-01 -2.993349e-01  1.540078e-09 -1.065842e-09
+ 3.471887e-03  1.042419e-02 -2.115718e-01 -2.993161e-01  1.094754e-09 -2.068770e-09
+ 3.471887e-03  1.061546e-02 -2.119698e-01 -2.992987e-01  2.978839e-09 -9.524025e-10
+ 3.471887e-03  1.080334e-02 -2.123707e-01 -2.992828e-01 -1.102749e-09 -1.927534e-09
+ 3.471887e-03  1.098801e-02 -2.127745e-01 -2.992683e-01 -2.184803e-09 -1.555942e-09
+ 3.471887e-03  1.116962e-02 -2.131811e-01 -2.992552e-01 -1.687954e-10 -1.336044e-09
+ 3.471887e-03  1.134833e-02 -2.135905e-01 -2.992434e-01 -5.575041e-09 -1.681078e-09
+ 3.471887e-03  1.152427e-02 -2.140025e-01 -2.992330e-01 -3.402119e-09 -1.516656e-09
+ 3.471887e-03  1.169756e-02 -2.144171e-01 -2.992238e-01  1.992681e-09 -1.134138e-09
+ 3.471887e-03  1.186832e-02 -2.148343e-01 -2.992159e-01 -4.735977e-10 -1.162177e-09
+ 3.471887e-03  1.203666e-02 -2.152539e-01 -2.992092e-01 -1.921940e-08 -1.198523e-09
+ 3.471887e-03  1.220268e-02 -2.156758e-01 -2.992038e-01  1.198845e-08 -1.315574e-09
+ 3.471887e-03  1.236647e-02 -2.160999e-01 -2.991995e-01  1.225230e-08 -1.107783e-09
+ 3.471887e-03  1.252811e-02 -2.165263e-01 -2.991963e-01  1.394095e-08 -1.023362e-09
+ 3.471887e-03  1.268770e-02 -2.169547e-01 -2.991943e-01 -8.088396e-10 -8.564189e-10
+ 3.471887e-03  1.284531e-02 -2.173850e-01 -2.991933e-01 -4.490320e-09 -8.813335e-10
+ 3.471887e-03  1.300100e-02 -2.178172e-01 -2.991934e-01 -1.450628e-09 -8.585541e-10
+ 3.471887e-03  1.315485e-02 -2.182512e-01 -2.991944e-01 -5.338290e-09 -8.678163e-10
+ 3.471887e-03  1.330692e-02 -2.186867e-01 -2.991964e-01 -4.424064e-09 -8.587915e-10
+ 3.471887e-03  1.345728e-02 -2.191238e-01 -2.991994e-01 -5.766500e-09 -9.044805e-10
+ 3.471887e-03  1.360597e-02 -2.195622e-01 -2.992032e-01 -2.479109e-09 -9.413341e-10
+ 3.471887e-03  1.375306e-02 -2.200019e-01 -2.992080e-01  1.488503e-09 -9.986413e-10
+ 3.471887e-03  1.389858e-02  4.015731e-01 -2.992135e-01 -1.746496e-09 -1.055979e-09
+ 3.471887e-03  1.404260e-02  4.015605e-01 -2.992198e-01 -1.174725e-09 -1.091354e-09
+ 3.471887e-03  1.418516e-02  4.015464e-01 -2.992268e-01  2.225554e-09 -1.083359e-09
+ 3.471887e-03  1.432630e-02  4.015310e-01 -2.992345e-01  1.858900e-09 -1.240127e-09
+ 3.471887e-03  1.446606e-02  4.015144e-01 -2.992428e-01  1.411801e-09 -1.081544e-09
+ 3.471887e-03  1.460449e-02  4.014965e-01 -2.992517e-01 -3.745604e-10 -1.121393e-09
+ 3.471887e-03  1.474161e-02  4.014776e-01 -2.992612e-01 -1.041702e-09 -1.105686e-09
+ 3.471887e-03  1.487748e-02  4.014578e-01 -2.992711e-01 -5.774797e-11 -1.074102e-09
+ 3.471887e-03  1.501211e-02  4.014371e-01 -2.992815e-01 -7.079837e-11 -9.337977e-10
+ 3.471887e-03  1.514554e-02  4.014156e-01 -2.992922e-01  1.464653e-09 -7.710513e-10
+ 3.471887e-03  1.527781e-02  4.013936e-01 -2.993032e-01 -1.167982e-10 -6.590783e-10
+ 3.471887e-03  1.540894e-02  4.013711e-01 -2.993144e-01  5.701554e-10 -5.761421e-10
+ 3.471887e-03  1.553897e-02  4.013483e-01 -2.993259e-01 -7.828369e-10 -3.798571e-10
+ 3.471887e-03  1.566792e-02  4.013253e-01 -2.993374e-01 -9.382607e-10 -1.033655e-10
+ 3.471887e-03  1.579582e-02  4.013022e-01 -2.993489e-01 -1.288533e-09  1.752276e-11
+ 3.471887e-03  1.592268e-02  4.012793e-01 -2.993604e-01 -1.783140e-10  9.276580e-12
+ 3.471887e-03  1.604855e-02  4.012566e-01 -2.993717e-01  5.285162e-10  1.061651e-11
+ 3.471887e-03  1.617343e-02  4.012344e-01 -2.993828e-01 -1.115747e-09  2.327690e-10
+ 3.471887e-03  1.629736e-02  4.012128e-01 -2.993936e-01 -2.466852e-09  3.312052e-10
+ 3.471887e-03  1.642036e-02  4.011921e-01 -2.994040e-01 -1.030958e-09  2.398463e-10
+ 3.471887e-03  1.654243e-02  4.011724e-01 -2.994138e-01  3.965145e-11  1.396504e-10
+ 3.471887e-03  1.666362e-02  4.011539e-01 -2.994231e-01 -1.288571e-09  2.050940e-10
+ 3.471887e-03  1.678393e-02  4.011369e-01 -2.994316e-01 -5.986194e-09  4.086143e-10
+ 3.471887e-03  1.690338e-02  4.011215e-01 -2.994392e-01 -9.537269e-09  5.415262e-10
+ 3.471887e-03  1.702200e-02  4.011082e-01 -2.994459e-01 -9.702676e-09  5.123796e-10
+ 3.471887e-03  1.713979e-02  4.010970e-01 -2.994515e-01 -6.943201e-09  3.888773e-10
+ 3.471887e-03  1.725678e-02  4.010883e-01 -2.994559e-01 -1.275156e-08  2.501304e-10
+ 3.471887e-03  1.737298e-02  4.010823e-01 -2.994588e-01 -3.159220e-09  9.734386e-11
+ 3.471887e-03  1.748841e-02  4.010794e-01 -2.994603e-01 -3.324652e-08  2.026563e-10
+ 3.471887e-03  1.760308e-02  4.010799e-01 -2.994601e-01  4.898005e-08 -3.721823e-11
+ 3.471887e-03  1.771701e-02  4.010841e-01 -2.994580e-01 -1.216263e-08  1.741859e-10
+ 3.471887e-03  1.783022e-02  4.010924e-01 -2.994539e-01  2.477793e-07 -1.141030e-09
+ 3.471887e-03  1.794270e-02  4.011049e-01 -2.994475e-01 -1.403075e-07 -2.298589e-10
+ 3.471887e-03  1.805449e-02  4.011224e-01 -2.994388e-01 -2.228764e-08  7.480065e-10
+ 3.471887e-03  1.816559e-02  4.011452e-01 -2.994274e-01  1.211694e-07 -1.797055e-09
+ 3.471887e-03  1.827602e-02  4.011735e-01 -2.994132e-01 -2.129376e-07  2.560258e-09
+ 3.471887e-03  1.838578e-02  4.012080e-01 -2.993959e-01 -7.857095e-08  3.336832e-10
+ 3.471887e-03  1.849489e-02  4.012495e-01 -2.993752e-01 -3.325053e-07  1.541045e-09
+ 3.471887e-03  1.860336e-02  4.012982e-01 -2.993509e-01  1.845752e-07 -8.974264e-10
+ 3.471887e-03  1.871120e-02  4.013547e-01 -2.993227e-01 -2.826772e-09 -4.702680e-10
+ 3.471887e-03  1.881842e-02  4.014197e-01 -2.992902e-01  4.949693e-08 -9.429882e-10
+ 3.471887e-03  1.892503e-02  4.014938e-01 -2.992531e-01 -7.494490e-09 -8.185881e-10
+ 3.471887e-03  1.903105e-02  4.015781e-01 -2.992110e-01  1.777564e-08 -1.135510e-09
+ 3.471887e-03  1.913648e-02  4.016732e-01 -2.991634e-01  4.375966e-09 -3.888482e-10
+ 3.471887e-03  1.924133e-02  4.017801e-01 -2.991099e-01 -1.053164e-09  1.647552e-10
+ 3.471887e-03  1.934562e-02  4.019001e-01 -2.990500e-01  1.407555e-08  1.047698e-10
+ 3.471887e-03  1.944934e-02  4.020342e-01 -2.989829e-01  1.356831e-08 -1.844949e-10
+ 3.471887e-03  1.955252e-02  4.021841e-01 -2.989079e-01  4.251596e-09  3.843666e-10
+ 3.471887e-03  1.965515e-02  4.023515e-01 -2.988242e-01 -5.808282e-09 -8.410674e-10
+ 3.471887e-03  1.975725e-02  4.025386e-01 -2.987307e-01  6.294008e-10 -1.066814e-09
+ 3.471887e-03  1.985883e-02  4.027479e-01 -2.986260e-01 -1.631113e-09 -1.252576e-10
+ 3.471887e-03  1.995989e-02  4.029831e-01 -2.985085e-01 -1.674573e-10  2.221530e-10
+ 3.471887e-03  2.006044e-02  4.032486e-01 -2.983757e-01  2.207922e-08  2.188839e-09
+ 3.471887e-03  2.016048e-02  4.035509e-01 -2.982246e-01  1.713981e-08 -1.495955e-09
+ 3.471887e-03  2.026004e-02  4.038994e-01 -2.980503e-01  6.062459e-08 -4.762563e-09
+ 3.471887e-03  2.035910e-02  4.043097e-01 -2.978452e-01  1.519952e-07 -6.764397e-09
+ 3.471887e-03  2.045769e-02 -2.402840e-01 -2.975954e-01  2.152164e-07 -9.448954e-09
+ 3.471887e-03  2.055580e-02 -2.403481e-01 -2.972705e-01  8.210983e-07 -1.309057e-09
+ 3.471887e-03  2.065345e-02 -2.403553e-01 -2.967716e-01 -1.597659e-05 -1.422847e-07
+ 3.471887e-03  2.075064e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.084738e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.094367e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.103951e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.113493e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.122991e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.132447e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.141862e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.151235e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.160567e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.169860e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.179112e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.188326e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.197501e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.206638e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.215737e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.224799e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.233824e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.242813e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.251766e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.260684e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.269566e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.278414e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.287228e-02  0.000000e+00  0.000000e+00  2.403393e-01  2.967714e-01
+ 3.471887e-03  2.296007e-02 -2.383017e-01 -2.936162e-01  2.690008e-05 -4.104443e-06
+ 3.471887e-03  2.304754e-02  0.000000e+00  0.000000e+00  2.383286e-01  2.936121e-01
+ 3.471887e-03  2.313467e-02  0.000000e+00  0.000000e+00  2.383286e-01  2.936121e-01
+ 3.471887e-03  2.322148e-02 -2.378164e-01 -2.936973e-01 -4.964510e-05  8.425878e-06
+ 3.471887e-03  2.330796e-02 -2.377504e-01 -2.937083e-01  4.994797e-06 -8.247763e-07
+ 3.471887e-03  2.339412e-02 -2.375477e-01 -2.937422e-01 -4.976675e-07  2.610202e-07
+ 3.471887e-03  2.347997e-02 -2.373313e-01 -2.937781e-01  4.937653e-08 -9.911914e-09
+ 3.471887e-03  2.356550e-02 -2.371300e-01 -2.938116e-01  9.461452e-08 -1.608241e-08
+ 3.471887e-03  2.365073e-02 -2.369399e-01 -2.938435e-01  1.875385e-04 -3.199792e-05
+ 3.471887e-03  2.373564e-02 -2.367356e-01 -2.938775e-01 -1.485557e-06  4.380083e-07
+ 3.471887e-03  2.382026e-02 -2.365140e-01 -2.939143e-01 -4.975031e-06  9.423654e-07
+ 3.471887e-03  2.390458e-02 -2.364959e-01 -2.939176e-01 -1.497202e-06  3.614555e-07
+ 3.471887e-03  2.398860e-02 -2.364704e-01 -2.939217e-01  1.854377e-05 -3.288724e-06
+ 3.471887e-03  2.407232e-02 -2.365076e-01 -2.939154e-01  1.730683e-04 -2.934895e-05
+ 3.471887e-03  2.415576e-02  0.000000e+00  0.000000e+00  2.366806e-01  2.938861e-01
+ 3.471887e-03  2.423891e-02  0.000000e+00  0.000000e+00  2.366806e-01  2.938861e-01
+ 3.471887e-03  2.432177e-02  0.000000e+00  0.000000e+00  2.366806e-01  2.938861e-01
+ 3.471887e-03  2.440436e-02 -2.350107e-01 -2.941641e-01 -2.350107e-01 -2.941641e-01
+ 3.471887e-03  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 3.471887e-03  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  1.000000e-06 -2.029364e-01 -3.007122e-01  2.000969e-11 -1.270919e-09
+ 4.008835e-03  2.006944e-03 -2.032296e-01 -3.006423e-01 -4.215118e-09  2.719996e-08
+ 4.008835e-03  2.837833e-03 -2.035259e-01 -3.005747e-01 -2.010420e-08  5.058725e-08
+ 4.008835e-03  3.475396e-03 -2.038253e-01 -3.005095e-01  1.118941e-08 -1.773612e-08
+ 4.008835e-03  4.012887e-03 -2.041280e-01 -3.004464e-01 -1.429418e-11  1.743720e-09
+ 4.008835e-03  4.486426e-03 -2.044341e-01 -3.003854e-01  2.900516e-10  3.541775e-10
+ 4.008835e-03  4.914538e-03 -2.047437e-01 -3.003266e-01  1.163062e-09 -6.691731e-10
+ 4.008835e-03  5.308228e-03 -2.050569e-01 -3.002699e-01  1.696536e-09 -1.857168e-09
+ 4.008835e-03  5.674665e-03 -2.053738e-01 -3.002153e-01  3.729049e-09 -3.669819e-09
+ 4.008835e-03  6.018831e-03 -2.056943e-01 -3.001627e-01  4.103884e-09 -2.913769e-09
+ 4.008835e-03  6.344350e-03 -2.060186e-01 -3.001121e-01  4.871020e-09 -2.461941e-09
+ 4.008835e-03  6.653962e-03 -2.063466e-01 -3.000635e-01  2.818233e-09 -1.144578e-09
+ 4.008835e-03  6.949792e-03 -2.066785e-01 -3.000168e-01  3.773168e-09 -7.756591e-10
+ 4.008835e-03  7.233532e-03 -2.070141e-01 -2.999720e-01  1.976735e-09 -3.344528e-10
+ 4.008835e-03  7.506553e-03 -2.073536e-01 -2.999291e-01  3.889039e-09 -1.371713e-09
+ 4.008835e-03  7.769986e-03 -2.076969e-01 -2.998880e-01  4.553097e-09 -1.979417e-09
+ 4.008835e-03  8.024774e-03 -2.080439e-01 -2.998487e-01  4.515567e-09 -1.498835e-09
+ 4.008835e-03  8.271717e-03 -2.083946e-01 -2.998112e-01  8.101899e-10 -5.009784e-10
+ 4.008835e-03  8.511498e-03 -2.087491e-01 -2.997755e-01  2.397523e-09 -2.004202e-09
+ 4.008835e-03  8.744705e-03 -2.091072e-01 -2.997415e-01  5.515512e-09 -3.467386e-09
+ 4.008835e-03  8.971852e-03 -2.094688e-01 -2.997091e-01  2.264066e-09 -1.634805e-09
+ 4.008835e-03  9.193388e-03 -2.098341e-01 -2.996784e-01  1.407078e-09 -1.480849e-09
+ 4.008835e-03  9.409709e-03 -2.102028e-01 -2.996493e-01  2.522048e-09 -1.644521e-09
+ 4.008835e-03  9.621167e-03 -2.105749e-01 -2.996218e-01  1.357085e-09 -1.985433e-10
+ 4.008835e-03  9.828076e-03 -2.109503e-01 -2.995958e-01  4.710272e-09 -1.570647e-09
+ 4.008835e-03  1.003072e-02 -2.113290e-01 -2.995713e-01  7.294723e-11  3.931439e-11
+ 4.008835e-03  1.022935e-02 -2.117109e-01 -2.995483e-01  2.151503e-09 -9.682072e-10
+ 4.008835e-03  1.042419e-02 -2.120960e-01 -2.995268e-01  3.812214e-10 -3.638423e-12
+ 4.008835e-03  1.061546e-02 -2.124841e-01 -2.995066e-01  3.869098e-09 -1.129107e-09
+ 4.008835e-03  1.080334e-02 -2.128751e-01 -2.994878e-01  2.207131e-09 -1.779527e-10
+ 4.008835e-03  1.098801e-02 -2.132691e-01 -2.994703e-01  1.411605e-09 -5.114440e-10
+ 4.008835e-03  1.116962e-02 -2.136659e-01 -2.994542e-01  9.752965e-10 -5.557920e-10
+ 4.008835e-03  1.134833e-02 -2.140655e-01 -2.994393e-01  9.841257e-10 -2.693662e-11
+ 4.008835e-03  1.152427e-02 -2.144677e-01 -2.994257e-01  2.003953e-09 -2.948787e-10
+ 4.008835e-03  1.169756e-02 -2.148724e-01 -2.994133e-01  7.951034e-10 -2.323731e-10
+ 4.008835e-03  1.186832e-02 -2.152797e-01 -2.994020e-01  6.312436e-09  2.933087e-11
+ 4.008835e-03  1.203666e-02 -2.156894e-01 -2.993919e-01 -3.802104e-08  5.653881e-10
+ 4.008835e-03  1.220268e-02 -2.161013e-01 -2.993829e-01 -8.646649e-09 -3.712847e-11
+ 4.008835e-03  1.236647e-02 -2.165154e-01 -2.993750e-01  4.989029e-09 -1.021384e-10
+ 4.008835e-03  1.252811e-02 -2.169317e-01 -2.993682e-01  4.697156e-10 -1.529832e-12
+ 4.008835e-03  1.268770e-02 -2.173500e-01 -2.993624e-01  2.491088e-09 -6.758905e-11
+ 4.008835e-03  1.284531e-02 -2.177702e-01 -2.993575e-01 -2.665752e-09 -1.976781e-10
+ 4.008835e-03  1.300100e-02 -2.181922e-01 -2.993536e-01 -1.083369e-09 -1.867055e-10
+ 4.008835e-03  1.315485e-02 -2.186158e-01 -2.993506e-01  3.698770e-10 -1.735015e-10
+ 4.008835e-03  1.330692e-02 -2.190410e-01 -2.993485e-01  1.119853e-09 -1.239775e-10
+ 4.008835e-03  1.345728e-02 -2.194677e-01 -2.993473e-01 -8.604259e-10 -1.519411e-10
+ 4.008835e-03  1.360597e-02 -2.198957e-01 -2.993468e-01 -2.537878e-09 -1.158204e-10
+ 4.008835e-03  1.375306e-02 -2.203249e-01 -2.993471e-01  5.219048e-09 -7.316836e-11
+ 4.008835e-03  1.389858e-02 -2.207551e-01 -2.993482e-01 -5.812105e-10 -8.894663e-11
+ 4.008835e-03  1.404260e-02 -2.211863e-01 -2.993499e-01 -5.714559e-10 -6.994455e-11
+ 4.008835e-03  1.418516e-02 -2.216181e-01 -2.993523e-01  2.688712e-07  9.832534e-10
+ 4.008835e-03  1.432630e-02 -2.220508e-01 -2.993553e-01  2.798578e-07  9.946428e-10
+ 4.008835e-03  1.446606e-02 -2.224836e-01 -2.993589e-01 -5.868639e-08 -2.576410e-10
+ 4.008835e-03  1.460449e-02 -2.229173e-01 -2.993629e-01 -8.444458e-08 -2.930646e-10
+ 4.008835e-03  1.474161e-02  4.012650e-01 -2.993675e-01  2.923177e-10 -5.218936e-12
+ 4.008835e-03  1.487748e-02  4.012551e-01 -2.993724e-01 -4.791556e-12  5.432516e-11
+ 4.008835e-03  1.501211e-02  4.012445e-01 -2.993778e-01 -6.155739e-10  1.019337e-10
+ 4.008835e-03  1.514554e-02  4.012332e-01 -2.993834e-01  9.072382e-10  1.193433e-10
+ 4.008835e-03  1.527781e-02  4.012215e-01 -2.993892e-01 -4.110014e-09  2.412124e-10
+ 4.008835e-03  1.540894e-02  4.012094e-01 -2.993953e-01  3.077340e-09  2.483638e-10
+ 4.008835e-03  1.553897e-02  4.011970e-01 -2.994015e-01  2.838899e-10  2.469128e-10
+ 4.008835e-03  1.566792e-02  4.011845e-01 -2.994077e-01  5.497429e-10  1.833995e-10
+ 4.008835e-03  1.579582e-02  4.011721e-01 -2.994140e-01  8.919439e-10  1.538775e-10
+ 4.008835e-03  1.592268e-02  4.011598e-01 -2.994201e-01 -1.115091e-09  1.358966e-10
+ 4.008835e-03  1.604855e-02  4.011478e-01 -2.994261e-01 -1.950395e-10  2.389890e-10
+ 4.008835e-03  1.617343e-02  4.011363e-01 -2.994318e-01 -3.802641e-09  3.250514e-10
+ 4.008835e-03  1.629736e-02  4.011255e-01 -2.994373e-01 -3.893066e-09  4.759391e-10
+ 4.008835e-03  1.642036e-02  4.011155e-01 -2.994423e-01 -5.441573e-09  4.817922e-10
+ 4.008835e-03  1.654243e-02  4.011065e-01 -2.994468e-01 -6.131792e-09  4.384007e-10
+ 4.008835e-03  1.666362e-02  4.010987e-01 -2.994506e-01 -1.929107e-09  3.200842e-10
+ 4.008835e-03  1.678393e-02  4.010924e-01 -2.994538e-01 -3.998569e-09  2.904876e-10
+ 4.008835e-03  1.690338e-02  4.010877e-01 -2.994562e-01  7.283587e-10  1.614573e-10
+ 4.008835e-03  1.702200e-02  4.010848e-01 -2.994576e-01 -2.270154e-09  2.453122e-10
+ 4.008835e-03  1.713979e-02  4.010841e-01 -2.994580e-01 -2.387780e-09  1.656061e-10
+ 4.008835e-03  1.725678e-02  4.010857e-01 -2.994572e-01  5.060560e-09  1.903963e-10
+ 4.008835e-03  1.737298e-02  4.010899e-01 -2.994550e-01 -5.588685e-09  2.103135e-10
+ 4.008835e-03  1.748841e-02  4.010970e-01 -2.994515e-01  3.474544e-09  3.722176e-10
+ 4.008835e-03  1.760308e-02  4.011074e-01 -2.994463e-01 -1.919032e-08  6.233604e-10
+ 4.008835e-03  1.771701e-02  4.011212e-01 -2.994394e-01 -1.590206e-08  7.001755e-10
+ 4.008835e-03  1.783022e-02  4.011389e-01 -2.994306e-01  1.850715e-08  4.095435e-10
+ 4.008835e-03  1.794270e-02  4.011607e-01 -2.994196e-01 -2.854056e-08  1.574987e-10
+ 4.008835e-03  1.805449e-02  4.011872e-01 -2.994064e-01 -3.148064e-09  2.520888e-10
+ 4.008835e-03  1.816559e-02  4.012186e-01 -2.993907e-01  3.447754e-08  4.814506e-10
+ 4.008835e-03  1.827602e-02  4.012553e-01 -2.993723e-01 -7.547260e-08  1.037134e-09
+ 4.008835e-03  1.838578e-02  4.012978e-01 -2.993510e-01 -7.979182e-09  2.423811e-10
+ 4.008835e-03  1.849489e-02  4.013467e-01 -2.993266e-01 -1.877837e-07  5.054919e-10
+ 4.008835e-03  1.860336e-02  4.014025e-01 -2.992987e-01 -1.634725e-08 -4.987409e-10
+ 4.008835e-03  1.871120e-02  4.014657e-01 -2.992672e-01  7.836058e-08 -1.472849e-09
+ 4.008835e-03  1.881842e-02  4.015368e-01 -2.992316e-01 -4.183925e-09 -1.003855e-09
+ 4.008835e-03  1.892503e-02  4.016165e-01 -2.991918e-01  2.905985e-08 -8.045820e-10
+ 4.008835e-03  1.903105e-02  4.017056e-01 -2.991472e-01 -6.497782e-09  6.492701e-11
+ 4.008835e-03  1.913648e-02  4.018050e-01 -2.990975e-01  4.613790e-09  1.925601e-10
+ 4.008835e-03  1.924133e-02  4.019155e-01 -2.990423e-01  8.876731e-09  1.603082e-10
+ 4.008835e-03  1.934562e-02  4.020381e-01 -2.989810e-01 -1.090971e-09 -8.802914e-11
+ 4.008835e-03  1.944934e-02  4.021740e-01 -2.989130e-01  2.400996e-11  7.505041e-11
+ 4.008835e-03  1.955252e-02  4.023247e-01 -2.988377e-01  1.263486e-08 -5.437119e-10
+ 4.008835e-03  1.965515e-02  4.024917e-01 -2.987542e-01  8.745390e-09 -1.315135e-09
+ 4.008835e-03  1.975725e-02  4.026769e-01 -2.986615e-01  1.667487e-08 -5.044971e-10
+ 4.008835e-03  1.985883e-02  4.028830e-01 -2.985585e-01  1.556018e-08 -2.004705e-10
+ 4.008835e-03  1.995989e-02  4.031129e-01 -2.984435e-01  1.815822e-08 -2.272318e-10
+ 4.008835e-03  2.006044e-02  4.033710e-01 -2.983145e-01  5.911470e-09 -7.022881e-10
+ 4.008835e-03  2.016048e-02  4.036628e-01 -2.981686e-01 -2.455270e-08  5.401660e-10
+ 4.008835e-03  2.026004e-02  4.039969e-01 -2.980015e-01 -4.435004e-09  2.092052e-09
+ 4.008835e-03  2.035910e-02  4.043868e-01 -2.978066e-01  4.323323e-08 -4.016832e-09
+ 4.008835e-03  2.045769e-02  4.048559e-01 -2.975719e-01 -9.589312e-07  4.411490e-08
+ 4.008835e-03  2.055580e-02  4.054554e-01 -2.972722e-01 -1.547107e-07  3.382816e-09
+ 4.008835e-03  2.065345e-02  4.063379e-01 -2.968323e-01  2.313282e-08 -1.058496e-07
+ 4.008835e-03  2.075064e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.084738e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.094367e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.103951e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.113493e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.063378e-01  2.968322e-01
+ 4.008835e-03  2.287228e-02 -2.409758e-01 -2.931671e-01 -2.409758e-01 -2.931671e-01
+ 4.008835e-03  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.304754e-02 -2.401731e-01 -2.933044e-01 -2.401731e-01 -2.933044e-01
+ 4.008835e-03  2.313467e-02 -2.398047e-01 -2.933658e-01  8.132435e-06 -1.360984e-06
+ 4.008835e-03  2.322148e-02 -2.395671e-01 -2.934055e-01 -7.617974e-06  1.267498e-06
+ 4.008835e-03  2.330796e-02 -2.393516e-01 -2.934414e-01 -2.531094e-05  4.204309e-06
+ 4.008835e-03  2.339412e-02 -2.390889e-01 -2.934852e-01  2.945307e-07 -2.467921e-08
+ 4.008835e-03  2.347997e-02 -2.388817e-01 -2.935197e-01 -3.380318e-07  2.671034e-08
+ 4.008835e-03  2.356550e-02 -2.386779e-01 -2.935537e-01 -2.716133e-08 -7.268722e-08
+ 4.008835e-03  2.365073e-02 -2.384880e-01 -2.935853e-01 -1.760702e-07  2.604469e-08
+ 4.008835e-03  2.373564e-02 -2.383187e-01 -2.936136e-01  1.130618e-06 -1.127187e-07
+ 4.008835e-03  2.382026e-02 -2.375942e-01 -2.937343e-01 -2.375942e-01 -2.937343e-01
+ 4.008835e-03  2.390458e-02 -2.375228e-01 -2.937461e-01  2.846643e-04 -4.682090e-05
+ 4.008835e-03  2.398860e-02  0.000000e+00  0.000000e+00  2.378075e-01  2.936992e-01
+ 4.008835e-03  2.407232e-02  0.000000e+00  0.000000e+00  2.378075e-01  2.936992e-01
+ 4.008835e-03  2.415576e-02  0.000000e+00  0.000000e+00  2.378075e-01  2.936992e-01
+ 4.008835e-03  2.423891e-02  0.000000e+00  0.000000e+00  2.378075e-01  2.936992e-01
+ 4.008835e-03  2.432177e-02  0.000000e+00  0.000000e+00  2.378075e-01  2.936992e-01
+ 4.008835e-03  2.440436e-02 -2.364274e-01 -2.939277e-01  5.423305e-06  3.240319e-07
+ 4.008835e-03  2.448666e-02 -2.364240e-01 -2.939282e-01  8.631475e-06 -2.306742e-07
+ 4.008835e-03  2.456869e-02 -2.364248e-01 -2.939286e-01 -2.364248e-01 -2.939286e-01
+ 4.008835e-03  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.008835e-03  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.481896e-03  1.000000e-06 -2.037258e-01 -3.009742e-01  1.057600e-09  1.509846e-09
+ 4.481896e-03  2.006944e-03 -2.040107e-01 -3.009033e-01  2.171151e-09 -1.466017e-08
+ 4.481896e-03  2.837833e-03 -2.042984e-01 -3.008348e-01 -2.120106e-10  6.180200e-10
+ 4.481896e-03  3.475396e-03 -2.045893e-01 -3.007685e-01  1.394352e-08 -2.821537e-08
+ 4.481896e-03  4.012887e-03 -2.048834e-01 -3.007044e-01  3.642368e-09 -6.834189e-09
+ 4.481896e-03  4.486426e-03 -2.051808e-01 -3.006424e-01  1.071451e-08 -1.207786e-08
+ 4.481896e-03  4.914538e-03 -2.054815e-01 -3.005825e-01  3.829156e-09 -3.994688e-09
+ 4.481896e-03  5.308228e-03 -2.057858e-01 -3.005246e-01  5.514160e-09 -4.567016e-09
+ 4.481896e-03  5.674665e-03 -2.060936e-01 -3.004688e-01  3.402615e-09 -1.604894e-09
+ 4.481896e-03  6.018831e-03 -2.064050e-01 -3.004150e-01  2.334749e-09 -1.499057e-09
+ 4.481896e-03  6.344350e-03 -2.067200e-01 -3.003631e-01  7.427782e-10 -3.566193e-10
+ 4.481896e-03  6.653962e-03 -2.070387e-01 -3.003131e-01  1.741824e-09 -8.610747e-10
+ 4.481896e-03  6.949792e-03 -2.073610e-01 -3.002650e-01  3.409408e-10 -1.223465e-09
+ 4.481896e-03  7.233532e-03 -2.076871e-01 -3.002188e-01  6.121629e-10 -1.722089e-09
+ 4.481896e-03  7.506553e-03 -2.080170e-01 -3.001744e-01  2.487910e-09 -1.436225e-09
+ 4.481896e-03  7.769986e-03 -2.083505e-01 -3.001317e-01 -1.589542e-10 -4.396340e-10
+ 4.481896e-03  8.024774e-03 -2.086878e-01 -3.000908e-01  3.468115e-10  3.242817e-11
+ 4.481896e-03  8.271717e-03 -2.090288e-01 -3.000517e-01  1.847907e-09 -3.521944e-11
+ 4.481896e-03  8.511498e-03 -2.093735e-01 -3.000142e-01  1.569853e-09 -1.077659e-09
+ 4.481896e-03  8.744705e-03 -2.097217e-01 -2.999783e-01  4.030309e-10 -5.593729e-10
+ 4.481896e-03  8.971852e-03 -2.100736e-01 -2.999441e-01  2.767249e-09 -5.973742e-10
+ 4.481896e-03  9.193388e-03 -2.104290e-01 -2.999114e-01  2.422046e-09 -6.987154e-10
+ 4.481896e-03  9.409709e-03 -2.107880e-01 -2.998803e-01  4.473414e-09 -1.745529e-09
+ 4.481896e-03  9.621167e-03 -2.111503e-01 -2.998507e-01 -9.980324e-10  2.786279e-10
+ 4.481896e-03  9.828076e-03 -2.115160e-01 -2.998226e-01  1.328351e-09 -6.115328e-10
+ 4.481896e-03  1.003072e-02 -2.118851e-01 -2.997959e-01  4.311930e-10 -7.472654e-10
+ 4.481896e-03  1.022935e-02 -2.122573e-01 -2.997706e-01  3.438896e-10 -1.389776e-09
+ 4.481896e-03  1.042419e-02 -2.126327e-01 -2.997467e-01 -9.836725e-10 -1.169037e-09
+ 4.481896e-03  1.061546e-02 -2.130112e-01 -2.997242e-01  9.591473e-10 -1.442899e-09
+ 4.481896e-03  1.080334e-02 -2.133927e-01 -2.997029e-01  1.567685e-09 -1.251302e-09
+ 4.481896e-03  1.098801e-02 -2.137772e-01 -2.996829e-01 -1.578699e-10 -1.131318e-09
+ 4.481896e-03  1.116962e-02 -2.141644e-01 -2.996641e-01  6.321678e-10 -6.865788e-10
+ 4.481896e-03  1.134833e-02 -2.145544e-01 -2.996466e-01 -1.915143e-10 -7.692826e-10
+ 4.481896e-03  1.152427e-02 -2.149471e-01 -2.996302e-01  4.852056e-09 -2.133719e-10
+ 4.481896e-03  1.169756e-02 -2.153424e-01 -2.996149e-01  9.094562e-09 -4.272942e-10
+ 4.481896e-03  1.186832e-02 -2.157401e-01 -2.996008e-01  1.025305e-09 -2.887647e-10
+ 4.481896e-03  1.203666e-02 -2.161402e-01 -2.995877e-01  4.321074e-09  5.375173e-11
+ 4.481896e-03  1.220268e-02 -2.165426e-01 -2.995757e-01  2.578715e-08 -5.639194e-10
+ 4.481896e-03  1.236647e-02 -2.169472e-01 -2.995646e-01 -5.598604e-09  1.594433e-10
+ 4.481896e-03  1.252811e-02 -2.173539e-01 -2.995546e-01  4.965797e-09  1.392912e-10
+ 4.481896e-03  1.268770e-02 -2.177625e-01 -2.995454e-01  6.066084e-10  2.344224e-10
+ 4.481896e-03  1.284531e-02 -2.181730e-01 -2.995372e-01 -1.991390e-09  1.229991e-10
+ 4.481896e-03  1.300100e-02 -2.185853e-01 -2.995298e-01 -1.231796e-09  1.230740e-10
+ 4.481896e-03  1.315485e-02 -2.189992e-01 -2.995233e-01  1.268601e-10  7.723228e-11
+ 4.481896e-03  1.330692e-02 -2.194147e-01 -2.995176e-01 -5.384950e-10 -2.815181e-11
+ 4.481896e-03  1.345728e-02 -2.198315e-01 -2.995126e-01  2.320238e-09 -6.207879e-11
+ 4.481896e-03  1.360597e-02 -2.202496e-01 -2.995084e-01  7.166218e-09 -6.277223e-11
+ 4.481896e-03  1.375306e-02 -2.206689e-01 -2.995049e-01  1.026530e-08  2.255168e-11
+ 4.481896e-03  1.389858e-02 -2.210892e-01 -2.995020e-01 -3.762783e-09 -2.445494e-11
+ 4.481896e-03  1.404260e-02 -2.215103e-01 -2.994997e-01 -5.774341e-09  1.718997e-11
+ 4.481896e-03  1.418516e-02 -2.219328e-01 -2.994980e-01 -1.038344e-06 -6.481110e-09
+ 4.481896e-03  1.432630e-02 -2.223549e-01 -2.994969e-01  2.176049e-07  1.434029e-09
+ 4.481896e-03  1.446606e-02 -2.227779e-01 -2.994962e-01  4.452100e-08  3.737430e-10
+ 4.481896e-03  1.460449e-02 -2.232010e-01 -2.994960e-01 -3.758495e-08 -9.889189e-11
+ 4.481896e-03  1.474161e-02 -2.236244e-01 -2.994962e-01  5.215125e-09  2.547694e-10
+ 4.481896e-03  1.487748e-02 -2.240478e-01 -2.994967e-01  7.795347e-10  7.632867e-11
+ 4.481896e-03  1.501211e-02 -2.244710e-01 -2.994975e-01 -1.025860e-09  1.168425e-10
+ 4.481896e-03  1.514554e-02 -2.248938e-01 -2.994986e-01  1.343393e-09  1.224963e-10
+ 4.481896e-03  1.527781e-02 -2.253162e-01 -2.994999e-01 -1.614914e-10  1.398447e-10
+ 4.481896e-03  1.540894e-02 -2.257378e-01 -2.995013e-01 -9.938295e-09  1.150801e-10
+ 4.481896e-03  1.553897e-02  4.009945e-01 -2.995027e-01 -1.632507e-09  1.155847e-10
+ 4.481896e-03  1.566792e-02 -2.265783e-01 -2.995042e-01  8.978808e-09  8.502138e-11
+ 4.481896e-03  1.579582e-02  4.009887e-01 -2.995057e-01 -2.289625e-09  5.931428e-11
+ 4.481896e-03  1.592268e-02  4.009860e-01 -2.995070e-01 -1.398423e-09  3.446199e-11
+ 4.481896e-03  1.604855e-02  4.009838e-01 -2.995081e-01  2.536422e-09  1.986328e-11
+ 4.481896e-03  1.617343e-02  4.009820e-01 -2.995090e-01  2.070856e-10  1.152972e-11
+ 4.481896e-03  1.629736e-02  4.009810e-01 -2.995095e-01  6.290795e-09 -8.403872e-11
+ 4.481896e-03  1.642036e-02  4.009809e-01 -2.995096e-01 -6.813543e-10  6.555151e-11
+ 4.481896e-03  1.654243e-02  4.009817e-01 -2.995091e-01  1.766624e-09  7.850165e-12
+ 4.481896e-03  1.666362e-02  4.009838e-01 -2.995081e-01 -1.388404e-09  4.752726e-11
+ 4.481896e-03  1.678393e-02  4.009873e-01 -2.995063e-01 -1.786996e-09  6.908812e-11
+ 4.481896e-03  1.690338e-02  4.009925e-01 -2.995038e-01  9.987242e-09  1.380110e-10
+ 4.481896e-03  1.702200e-02  4.009994e-01 -2.995003e-01  6.714649e-10  6.036051e-10
+ 4.481896e-03  1.713979e-02  4.010084e-01 -2.994958e-01  1.190810e-08  9.168098e-10
+ 4.481896e-03  1.725678e-02  4.010197e-01 -2.994901e-01 -1.064971e-08  6.211427e-10
+ 4.481896e-03  1.737298e-02  4.010335e-01 -2.994832e-01 -1.580915e-08  6.579998e-11
+ 4.481896e-03  1.748841e-02  4.010502e-01 -2.994749e-01  1.044858e-07 -2.592040e-10
+ 4.481896e-03  1.760308e-02  4.010698e-01 -2.994651e-01 -1.263647e-07  5.097135e-10
+ 4.481896e-03  1.771701e-02  4.010928e-01 -2.994535e-01 -1.337956e-09  3.370255e-10
+ 4.481896e-03  1.783022e-02  4.011196e-01 -2.994402e-01 -1.860490e-07  1.034433e-09
+ 4.481896e-03  1.794270e-02  4.011504e-01 -2.994248e-01  6.333713e-08 -5.072735e-10
+ 4.481896e-03  1.805449e-02  4.011855e-01 -2.994072e-01 -2.544622e-09  2.311524e-10
+ 4.481896e-03  1.816559e-02  4.012253e-01 -2.993873e-01 -3.948798e-08  6.350958e-10
+ 4.481896e-03  1.827602e-02  4.012702e-01 -2.993649e-01  2.143334e-08 -1.746292e-11
+ 4.481896e-03  1.838578e-02  4.013207e-01 -2.993397e-01 -1.177241e-08  1.855646e-10
+ 4.481896e-03  1.849489e-02  4.013771e-01 -2.993114e-01 -1.273271e-08 -5.253626e-10
+ 4.481896e-03  1.860336e-02  4.014400e-01 -2.992800e-01 -2.051132e-08 -8.207603e-10
+ 4.481896e-03  1.871120e-02  4.015098e-01 -2.992451e-01  2.335309e-08 -1.018127e-09
+ 4.481896e-03  1.881842e-02  4.015872e-01 -2.992064e-01 -4.022121e-09 -8.573001e-10
+ 4.481896e-03  1.892503e-02  4.016728e-01 -2.991636e-01  1.114991e-08 -4.787424e-10
+ 4.481896e-03  1.903105e-02  4.017671e-01 -2.991164e-01  8.191538e-09 -1.262329e-11
+ 4.481896e-03  1.913648e-02  4.018711e-01 -2.990645e-01 -3.827741e-09  1.480308e-10
+ 4.481896e-03  1.924133e-02  4.019854e-01 -2.990073e-01  6.436285e-09 -3.514977e-11
+ 4.481896e-03  1.934562e-02  4.021111e-01 -2.989445e-01  3.895614e-09  1.327247e-10
+ 4.481896e-03  1.944934e-02  4.022491e-01 -2.988754e-01 -1.101623e-09 -6.700751e-13
+ 4.481896e-03  1.955252e-02  4.024009e-01 -2.987996e-01 -1.828440e-09 -9.457758e-10
+ 4.481896e-03  1.965515e-02  4.025677e-01 -2.987162e-01 -1.938863e-09 -8.871118e-10
+ 4.481896e-03  1.975725e-02  4.027514e-01 -2.986243e-01  5.452788e-09  3.526074e-11
+ 4.481896e-03  1.985883e-02  4.029541e-01 -2.985230e-01  3.745087e-09 -1.783734e-11
+ 4.481896e-03  1.995989e-02  4.031785e-01 -2.984108e-01 -5.643397e-11 -2.819800e-11
+ 4.481896e-03  2.006044e-02  4.034282e-01 -2.982859e-01 -1.588854e-09 -1.259628e-09
+ 4.481896e-03  2.016048e-02  4.037080e-01 -2.981460e-01 -8.726006e-09  8.041247e-10
+ 4.481896e-03  2.026004e-02  4.040250e-01 -2.979875e-01  7.098279e-09  6.021250e-10
+ 4.481896e-03  2.035910e-02  4.043898e-01 -2.978051e-01  7.208007e-08 -2.439998e-09
+ 4.481896e-03  2.045769e-02  4.048205e-01 -2.975898e-01 -2.394391e-07  8.963663e-09
+ 4.481896e-03  2.055580e-02  4.053524e-01 -2.973237e-01 -3.166170e-07  8.792155e-09
+ 4.481896e-03  2.065345e-02  4.060784e-01 -2.969612e-01  1.207543e-06 -4.543570e-08
+ 4.481896e-03  2.075064e-02  4.074977e-01 -2.962512e-01  4.969047e-07 -1.918265e-08
+ 4.481896e-03  2.084738e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.094367e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.103951e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.113493e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.074972e-01  2.962512e-01
+ 4.481896e-03  2.339412e-02 -2.407634e-01 -2.932061e-01  1.460130e-07  1.239729e-09
+ 4.481896e-03  2.347997e-02 -2.405132e-01 -2.932478e-01  6.460367e-08  6.649940e-10
+ 4.481896e-03  2.356550e-02 -2.402628e-01 -2.932895e-01  1.179875e-07  5.648414e-09
+ 4.481896e-03  2.365073e-02 -2.400160e-01 -2.933307e-01  2.995080e-06 -5.458526e-07
+ 4.481896e-03  2.373564e-02 -2.397704e-01 -2.933716e-01  1.396344e-07 -1.739345e-08
+ 4.481896e-03  2.382026e-02 -2.395374e-01 -2.934104e-01 -2.326187e-05  3.885401e-06
+ 4.481896e-03  2.390458e-02 -2.393823e-01 -2.934363e-01  6.209227e-06 -9.970499e-07
+ 4.481896e-03  2.398860e-02 -2.390565e-01 -2.934905e-01 -1.981202e-06  3.068635e-07
+ 4.481896e-03  2.407232e-02 -2.388626e-01 -2.935232e-01  8.633117e-07 -9.251674e-08
+ 4.481896e-03  2.415576e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.423891e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.432177e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.440436e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.448666e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.456869e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.465045e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.473193e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.481315e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.489410e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.497480e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.505523e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.513540e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.521532e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.529499e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.537440e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.545357e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.553249e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.561117e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.568961e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.576781e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.584577e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.592350e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.481896e-03  2.600100e-02  0.000000e+00  0.000000e+00  2.388635e-01  2.935231e-01
+ 4.909576e-03  1.000000e-06 -2.045087e-01 -3.012353e-01 -1.398904e-10  4.627770e-10
+ 4.909576e-03  2.006944e-03 -2.047856e-01 -3.011638e-01  3.595944e-10 -3.560756e-09
+ 4.909576e-03  2.837833e-03 -2.050654e-01 -3.010944e-01 -1.750716e-08  7.037365e-08
+ 4.909576e-03  3.475396e-03 -2.053482e-01 -3.010273e-01 -3.761632e-08  9.542909e-08
+ 4.909576e-03  4.012887e-03 -2.056341e-01 -3.009625e-01  1.856680e-08 -3.192580e-08
+ 4.909576e-03  4.486426e-03 -2.059234e-01 -3.008996e-01 -9.753640e-10  1.367634e-09
+ 4.909576e-03  4.914538e-03 -2.062159e-01 -3.008388e-01  1.562006e-09 -1.462653e-09
+ 4.909576e-03  5.308228e-03 -2.065118e-01 -3.007801e-01 -1.721520e-11 -1.591040e-10
+ 4.909576e-03  5.674665e-03 -2.068111e-01 -3.007233e-01 -8.795065e-11 -1.231267e-09
+ 4.909576e-03  6.018831e-03 -2.071139e-01 -3.006685e-01  2.441158e-09 -1.765783e-09
+ 4.909576e-03  6.344350e-03 -2.074203e-01 -3.006156e-01  5.890552e-10 -9.615342e-10
+ 4.909576e-03  6.653962e-03 -2.077302e-01 -3.005645e-01  1.964443e-09 -1.143891e-09
+ 4.909576e-03  6.949792e-03 -2.080438e-01 -3.005153e-01  3.075868e-09 -7.206310e-10
+ 4.909576e-03  7.233532e-03 -2.083610e-01 -3.004678e-01  2.607239e-09 -1.126528e-09
+ 4.909576e-03  7.506553e-03 -2.086819e-01 -3.004222e-01  1.791471e-09 -5.462154e-10
+ 4.909576e-03  7.769986e-03 -2.090064e-01 -3.003782e-01  3.701572e-09 -8.268812e-10
+ 4.909576e-03  8.024774e-03 -2.093345e-01 -3.003360e-01  1.957007e-09 -9.217377e-10
+ 4.909576e-03  8.271717e-03 -2.096663e-01 -3.002954e-01  2.652143e-09 -1.847347e-09
+ 4.909576e-03  8.511498e-03 -2.100017e-01 -3.002564e-01  3.878207e-09 -1.966642e-09
+ 4.909576e-03  8.744705e-03 -2.103408e-01 -3.002190e-01  1.902730e-09 -1.818115e-09
+ 4.909576e-03  8.971852e-03 -2.106833e-01 -3.001832e-01  1.502966e-09 -1.590965e-09
+ 4.909576e-03  9.193388e-03 -2.110294e-01 -3.001489e-01  4.656154e-09 -1.695961e-09
+ 4.909576e-03  9.409709e-03 -2.113790e-01 -3.001160e-01 -3.835910e-10  2.846950e-10
+ 4.909576e-03  9.621167e-03 -2.117320e-01 -3.000846e-01  5.972964e-11  3.846264e-10
+ 4.909576e-03  9.828076e-03 -2.120884e-01 -3.000546e-01 -2.906692e-10  1.864488e-10
+ 4.909576e-03  1.003072e-02 -2.124481e-01 -3.000260e-01  6.294850e-09 -1.365847e-09
+ 4.909576e-03  1.022935e-02 -2.128110e-01 -2.999988e-01  1.112738e-09 -3.476292e-10
+ 4.909576e-03  1.042419e-02 -2.131771e-01 -2.999728e-01 -3.806077e-09  1.000743e-09
+ 4.909576e-03  1.061546e-02 -2.135462e-01 -2.999481e-01  3.535934e-09 -8.819953e-10
+ 4.909576e-03  1.080334e-02 -2.139184e-01 -2.999247e-01  1.283264e-08 -4.183055e-09
+ 4.909576e-03  1.098801e-02 -2.142935e-01 -2.999024e-01  5.277221e-10  7.346068e-11
+ 4.909576e-03  1.116962e-02 -2.146715e-01 -2.998813e-01  1.298044e-08 -4.561642e-09
+ 4.909576e-03  1.134833e-02 -2.150522e-01 -2.998614e-01  8.771900e-09 -3.142890e-09
+ 4.909576e-03  1.152427e-02 -2.154356e-01 -2.998425e-01 -7.915323e-09  3.307730e-09
+ 4.909576e-03  1.169756e-02 -2.158216e-01 -2.998247e-01 -2.446141e-08  2.705744e-09
+ 4.909576e-03  1.186832e-02 -2.162100e-01 -2.998080e-01  5.514023e-09 -7.934187e-10
+ 4.909576e-03  1.203666e-02 -2.166009e-01 -2.997922e-01 -1.122411e-08  3.023726e-11
+ 4.909576e-03  1.220268e-02 -2.169939e-01 -2.997774e-01  3.135251e-08 -1.711448e-09
+ 4.909576e-03  1.236647e-02 -2.173892e-01 -2.997636e-01  5.964197e-09 -1.272169e-09
+ 4.909576e-03  1.252811e-02 -2.177866e-01 -2.997506e-01  3.183899e-09 -9.990192e-10
+ 4.909576e-03  1.268770e-02 -2.181859e-01 -2.997385e-01 -2.330030e-09 -1.984480e-10
+ 4.909576e-03  1.284531e-02 -2.185871e-01 -2.997273e-01 -2.094810e-09 -4.152725e-10
+ 4.909576e-03  1.300100e-02 -2.189900e-01 -2.997168e-01  1.087112e-09 -1.022011e-09
+ 4.909576e-03  1.315485e-02 -2.193945e-01 -2.997071e-01 -1.636719e-10 -1.133942e-09
+ 4.909576e-03  1.330692e-02 -2.198005e-01 -2.996981e-01  3.724747e-09 -7.928365e-10
+ 4.909576e-03  1.345728e-02 -2.202079e-01 -2.996898e-01 -8.687240e-10 -4.817685e-10
+ 4.909576e-03  1.360597e-02 -2.206165e-01 -2.996822e-01  1.333130e-08 -2.895351e-10
+ 4.909576e-03  1.375306e-02 -2.210263e-01 -2.996751e-01  1.492888e-09 -5.442938e-10
+ 4.909576e-03  1.389858e-02 -2.214371e-01 -2.996687e-01 -6.420734e-09 -7.677937e-10
+ 4.909576e-03  1.404260e-02 -2.218492e-01 -2.996628e-01 -7.243633e-08 -1.398482e-09
+ 4.909576e-03  1.418516e-02 -2.222611e-01 -2.996574e-01 -2.456817e-07 -2.488415e-09
+ 4.909576e-03  1.432630e-02 -2.226736e-01 -2.996525e-01 -2.553743e-07 -2.499910e-09
+ 4.909576e-03  1.446606e-02 -2.230871e-01 -2.996480e-01 -7.995541e-10  2.977679e-10
+ 4.909576e-03  1.460449e-02 -2.235007e-01 -2.996439e-01 -1.391664e-08  3.195880e-10
+ 4.909576e-03  1.474161e-02 -2.239144e-01 -2.996401e-01 -8.252421e-09  6.240614e-10
+ 4.909576e-03  1.487748e-02 -2.243280e-01 -2.996365e-01 -4.193290e-09  7.245091e-10
+ 4.909576e-03  1.501211e-02 -2.247414e-01 -2.996333e-01  8.176516e-09  8.294912e-10
+ 4.909576e-03  1.514554e-02 -2.251545e-01 -2.996302e-01  1.042578e-08  6.534211e-10
+ 4.909576e-03  1.527781e-02 -2.255670e-01 -2.996272e-01  1.135158e-08  5.824767e-10
+ 4.909576e-03  1.540894e-02 -2.259789e-01 -2.996244e-01 -2.990808e-09  4.395672e-10
+ 4.909576e-03  1.553897e-02 -2.263898e-01 -2.996215e-01  3.181784e-09  3.268386e-10
+ 4.909576e-03  1.566792e-02 -2.267997e-01 -2.996187e-01 -2.892105e-09  2.091020e-10
+ 4.909576e-03  1.579582e-02 -2.272084e-01 -2.996157e-01 -5.767144e-10  8.334999e-11
+ 4.909576e-03  1.592268e-02 -2.276156e-01 -2.996126e-01  8.977041e-09  2.417194e-11
+ 4.909576e-03  1.604855e-02  4.007816e-01 -2.996092e-01  2.948403e-09  8.887557e-12
+ 4.909576e-03  1.617343e-02 -2.284249e-01 -2.996055e-01  9.019443e-09  1.562888e-10
+ 4.909576e-03  1.629736e-02  4.007970e-01 -2.996015e-01 -1.655023e-09  2.103206e-10
+ 4.909576e-03  1.642036e-02  4.008060e-01 -2.995970e-01 -7.881747e-09  4.335905e-10
+ 4.909576e-03  1.654243e-02  4.008160e-01 -2.995920e-01 -8.095845e-09  8.341852e-10
+ 4.909576e-03  1.666362e-02  4.008273e-01 -2.995863e-01 -9.876279e-09  8.989360e-10
+ 4.909576e-03  1.678393e-02  4.008401e-01 -2.995800e-01  6.414968e-09  6.846858e-10
+ 4.909576e-03  1.690338e-02  4.008544e-01 -2.995728e-01 -4.230620e-09  4.073652e-10
+ 4.909576e-03  1.702200e-02  4.008706e-01 -2.995647e-01 -9.340788e-09 -4.144472e-10
+ 4.909576e-03  1.713979e-02  4.008888e-01 -2.995556e-01  7.740050e-08  3.114576e-09
+ 4.909576e-03  1.725678e-02  4.009092e-01 -2.995454e-01 -2.195396e-08  9.050306e-10
+ 4.909576e-03  1.737298e-02  4.009322e-01 -2.995339e-01  3.194281e-08  1.338966e-09
+ 4.909576e-03  1.748841e-02  4.009579e-01 -2.995211e-01  1.117658e-07  1.441013e-10
+ 4.909576e-03  1.760308e-02  4.009863e-01 -2.995068e-01 -2.113164e-07  7.163483e-10
+ 4.909576e-03  1.771701e-02  4.010181e-01 -2.994908e-01 -2.089086e-07  2.614084e-09
+ 4.909576e-03  1.783022e-02  4.010537e-01 -2.994731e-01 -1.247173e-07  1.384918e-09
+ 4.909576e-03  1.794270e-02  4.010932e-01 -2.994534e-01  8.362168e-08 -8.237227e-10
+ 4.909576e-03  1.805449e-02  4.011366e-01 -2.994317e-01 -1.062555e-08  6.979841e-10
+ 4.909576e-03  1.816559e-02  4.011846e-01 -2.994077e-01 -1.061851e-07  1.743632e-09
+ 4.909576e-03  1.827602e-02  4.012376e-01 -2.993812e-01  1.299496e-07  1.267586e-09
+ 4.909576e-03  1.838578e-02  4.012959e-01 -2.993521e-01 -1.455545e-08  3.134821e-10
+ 4.909576e-03  1.849489e-02  4.013597e-01 -2.993202e-01  1.298581e-07 -1.103289e-09
+ 4.909576e-03  1.860336e-02  4.014297e-01 -2.992852e-01  3.425840e-08 -9.289252e-10
+ 4.909576e-03  1.871120e-02  4.015063e-01 -2.992468e-01 -4.922011e-08 -6.412855e-10
+ 4.909576e-03  1.881842e-02  4.015901e-01 -2.992049e-01 -5.089001e-09 -7.902199e-10
+ 4.909576e-03  1.892503e-02  4.016816e-01 -2.991592e-01 -6.310091e-09 -2.317497e-10
+ 4.909576e-03  1.903105e-02  4.017814e-01 -2.991093e-01 -2.607975e-09  1.721304e-10
+ 4.909576e-03  1.913648e-02  4.018902e-01 -2.990549e-01 -5.453530e-09  2.447987e-10
+ 4.909576e-03  1.924133e-02  4.020088e-01 -2.989956e-01 -1.194402e-09  5.591105e-11
+ 4.909576e-03  1.934562e-02  4.021379e-01 -2.989310e-01  3.977088e-09  1.048335e-10
+ 4.909576e-03  1.944934e-02  4.022787e-01 -2.988607e-01 -1.116874e-09 -1.113665e-10
+ 4.909576e-03  1.955252e-02  4.024320e-01 -2.987840e-01  1.232664e-10 -1.073935e-09
+ 4.909576e-03  1.965515e-02  4.025993e-01 -2.987003e-01 -3.835692e-09 -7.787793e-10
+ 4.909576e-03  1.975725e-02  4.027821e-01 -2.986090e-01 -1.214362e-09  1.270103e-10
+ 4.909576e-03  1.985883e-02  4.029821e-01 -2.985089e-01 -1.638837e-09  2.614631e-11
+ 4.909576e-03  1.995989e-02  4.032018e-01 -2.983991e-01 -2.336840e-09  1.126595e-10
+ 4.909576e-03  2.006044e-02  4.034441e-01 -2.982780e-01  2.254428e-09 -1.116470e-09
+ 4.909576e-03  2.016048e-02  4.037129e-01 -2.981435e-01  9.484069e-09 -2.068168e-10
+ 4.909576e-03  2.026004e-02  4.040138e-01 -2.979931e-01  1.756597e-08 -2.582973e-10
+ 4.909576e-03  2.035910e-02  4.043549e-01 -2.978226e-01  1.369834e-08 -2.815660e-09
+ 4.909576e-03  2.045769e-02  4.047496e-01 -2.976253e-01  1.442059e-08 -8.518872e-10
+ 4.909576e-03  2.055580e-02  4.052209e-01 -2.973894e-01 -1.512195e-07  2.870404e-09
+ 4.909576e-03  2.065345e-02  4.058228e-01 -2.970886e-01 -4.203947e-07  4.239074e-08
+ 4.909576e-03  2.075064e-02  4.067286e-01 -2.966354e-01 -8.093883e-07  6.540881e-08
+ 4.909576e-03  2.084738e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.094367e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.103951e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.113493e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.067294e-01  2.966355e-01
+ 4.909576e-03  2.330796e-02 -2.427804e-01 -2.928699e-01  2.611693e-06 -3.857874e-07
+ 4.909576e-03  2.339412e-02 -2.425208e-01 -2.929132e-01 -6.181117e-08  4.185063e-09
+ 4.909576e-03  2.347997e-02 -2.422470e-01 -2.929588e-01  1.519290e-07  7.128877e-09
+ 4.909576e-03  2.356550e-02  0.000000e+00  0.000000e+00  2.422472e-01  2.929588e-01
+ 4.909576e-03  2.365073e-02  0.000000e+00  0.000000e+00  2.422472e-01  2.929588e-01
+ 4.909576e-03  2.373564e-02  0.000000e+00  0.000000e+00  2.422472e-01  2.929588e-01
+ 4.909576e-03  2.382026e-02  0.000000e+00  0.000000e+00  2.422472e-01  2.929588e-01
+ 4.909576e-03  2.390458e-02  0.000000e+00  0.000000e+00  2.422472e-01  2.929588e-01
+ 4.909576e-03  2.398860e-02 -2.404657e-01 -2.932557e-01  1.189514e-06 -2.086915e-07
+ 4.909576e-03  2.407232e-02 -2.401862e-01 -2.933023e-01 -2.003226e-05  3.359846e-06
+ 4.909576e-03  2.415576e-02  0.000000e+00  0.000000e+00  2.401661e-01  2.933056e-01
+ 4.909576e-03  2.423891e-02 -2.398467e-01 -2.933586e-01  8.097802e-05 -1.307433e-05
+ 4.909576e-03  2.432177e-02 -2.395165e-01 -2.934139e-01 -2.395165e-01 -2.934139e-01
+ 4.909576e-03  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 4.909576e-03  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 5.302868e-03  1.000000e-06 -2.052850e-01 -3.014955e-01 -1.192244e-10  3.950031e-10
+ 5.302868e-03  2.006944e-03 -2.055543e-01 -3.014234e-01  1.165515e-10  5.015824e-09
+ 5.302868e-03  2.837833e-03 -2.058264e-01 -3.013535e-01  6.874796e-09 -3.089841e-08
+ 5.302868e-03  3.475396e-03 -2.061016e-01 -3.012857e-01  1.064367e-09  9.882202e-10
+ 5.302868e-03  4.012887e-03 -2.063798e-01 -3.012202e-01  1.436625e-08 -3.256962e-08
+ 5.302868e-03  4.486426e-03 -2.066612e-01 -3.011567e-01  4.134182e-09 -6.499850e-09
+ 5.302868e-03  4.914538e-03 -2.069458e-01 -3.010952e-01  9.463487e-09 -1.386685e-08
+ 5.302868e-03  5.308228e-03 -2.072337e-01 -3.010357e-01  4.106319e-09 -4.962771e-09
+ 5.302868e-03  5.674665e-03 -2.075251e-01 -3.009782e-01  8.022299e-09 -7.249960e-09
+ 5.302868e-03  6.018831e-03 -2.078198e-01 -3.009225e-01  3.649845e-09 -3.224896e-09
+ 5.302868e-03  6.344350e-03 -2.081180e-01 -3.008687e-01  8.025848e-09 -3.741126e-09
+ 5.302868e-03  6.653962e-03 -2.084196e-01 -3.008168e-01  3.121486e-09 -1.996742e-09
+ 5.302868e-03  6.949792e-03 -2.087248e-01 -3.007666e-01  4.069348e-09 -2.965243e-09
+ 5.302868e-03  7.233532e-03 -2.090336e-01 -3.007182e-01  3.547500e-09 -2.404415e-09
+ 5.302868e-03  7.506553e-03 -2.093459e-01 -3.006714e-01  2.338228e-09 -2.440554e-09
+ 5.302868e-03  7.769986e-03 -2.096619e-01 -3.006264e-01  1.413736e-09 -1.318601e-09
+ 5.302868e-03  8.024774e-03 -2.099814e-01 -3.005830e-01  3.341370e-09 -8.876258e-10
+ 5.302868e-03  8.271717e-03 -2.103044e-01 -3.005412e-01  9.344019e-10 -3.586388e-10
+ 5.302868e-03  8.511498e-03 -2.106311e-01 -3.005009e-01  1.569109e-09 -4.329748e-10
+ 5.302868e-03  8.744705e-03 -2.109613e-01 -3.004622e-01  2.491380e-09 -4.850469e-10
+ 5.302868e-03  8.971852e-03 -2.112950e-01 -3.004249e-01  1.714581e-09 -7.062728e-10
+ 5.302868e-03  9.193388e-03 -2.116321e-01 -3.003891e-01  1.084570e-09 -3.624457e-10
+ 5.302868e-03  9.409709e-03 -2.119728e-01 -3.003548e-01  3.364443e-09 -3.646393e-10
+ 5.302868e-03  9.621167e-03 -2.123168e-01 -3.003218e-01  1.276937e-09 -6.851668e-10
+ 5.302868e-03  9.828076e-03 -2.126641e-01 -3.002901e-01  1.808779e-09 -1.348341e-09
+ 5.302868e-03  1.003072e-02 -2.130148e-01 -3.002598e-01  2.456669e-09 -1.502851e-09
+ 5.302868e-03  1.022935e-02 -2.133686e-01 -3.002308e-01  3.049439e-09 -1.657826e-09
+ 5.302868e-03  1.042419e-02 -2.137257e-01 -3.002030e-01  1.501148e-09 -1.706325e-09
+ 5.302868e-03  1.061546e-02 -2.140858e-01 -3.001764e-01  3.725251e-09 -2.272001e-09
+ 5.302868e-03  1.080334e-02 -2.144489e-01 -3.001509e-01  5.870615e-09 -2.249334e-09
+ 5.302868e-03  1.098801e-02 -2.148149e-01 -3.001266e-01 -7.704173e-09  3.827293e-09
+ 5.302868e-03  1.116962e-02 -2.151838e-01 -3.001035e-01 -5.322584e-10  1.112764e-10
+ 5.302868e-03  1.134833e-02 -2.155555e-01 -3.000813e-01 -8.751815e-09  3.575896e-09
+ 5.302868e-03  1.152427e-02 -2.159298e-01 -3.000602e-01 -3.276748e-09  4.765941e-09
+ 5.302868e-03  1.169756e-02 -2.163067e-01 -3.000402e-01 -2.675072e-08 -1.988651e-09
+ 5.302868e-03  1.186832e-02 -2.166860e-01 -3.000210e-01  1.014314e-08 -2.627386e-09
+ 5.302868e-03  1.203666e-02 -2.170678e-01 -3.000028e-01  1.033998e-09 -9.178958e-11
+ 5.302868e-03  1.220268e-02 -2.174518e-01 -2.999855e-01 -1.611851e-08  1.749486e-09
+ 5.302868e-03  1.236647e-02 -2.178380e-01 -2.999691e-01 -1.377506e-08  6.195459e-09
+ 5.302868e-03  1.252811e-02 -2.182263e-01 -2.999535e-01 -3.256951e-09  1.776338e-09
+ 5.302868e-03  1.268770e-02 -2.186165e-01 -2.999387e-01  2.900831e-08 -1.125646e-08
+ 5.302868e-03  1.284531e-02 -2.190085e-01 -2.999246e-01  3.715961e-08 -1.302474e-08
+ 5.302868e-03  1.300100e-02 -2.194022e-01 -2.999113e-01  9.812630e-09 -3.445375e-09
+ 5.302868e-03  1.315485e-02 -2.197976e-01 -2.998987e-01  9.076975e-09 -6.219487e-10
+ 5.302868e-03  1.330692e-02 -2.201945e-01 -2.998867e-01  2.917026e-08 -1.035655e-08
+ 5.302868e-03  1.345728e-02 -2.205927e-01 -2.998753e-01  6.188745e-08 -1.867137e-08
+ 5.302868e-03  1.360597e-02 -2.209921e-01 -2.998645e-01  6.503399e-08 -1.426186e-08
+ 5.302868e-03  1.375306e-02 -2.213926e-01 -2.998543e-01 -3.297349e-08 -1.313066e-09
+ 5.302868e-03  1.389858e-02 -2.217945e-01 -2.998446e-01  2.663842e-08  1.186136e-08
+ 5.302868e-03  1.404260e-02 -2.221964e-01 -2.998354e-01  3.625621e-08  1.386535e-08
+ 5.302868e-03  1.418516e-02 -2.225989e-01 -2.998265e-01  1.189777e-06  2.462568e-08
+ 5.302868e-03  1.432630e-02 -2.230030e-01 -2.998181e-01 -1.945542e-08  3.909665e-09
+ 5.302868e-03  1.446606e-02 -2.234070e-01 -2.998101e-01 -3.853622e-09  5.360101e-11
+ 5.302868e-03  1.460449e-02 -2.238112e-01 -2.998024e-01 -3.567600e-09 -5.205185e-10
+ 5.302868e-03  1.474161e-02 -2.242155e-01 -2.997949e-01 -5.551283e-09  6.088362e-10
+ 5.302868e-03  1.487748e-02 -2.246197e-01 -2.997876e-01  2.156061e-08  1.649066e-09
+ 5.302868e-03  1.501211e-02 -2.250237e-01 -2.997806e-01 -1.896920e-08  1.237374e-09
+ 5.302868e-03  1.514554e-02 -2.254273e-01 -2.997736e-01 -2.067613e-08 -8.663426e-11
+ 5.302868e-03  1.527781e-02 -2.258304e-01 -2.997668e-01 -5.153638e-09 -1.436983e-09
+ 5.302868e-03  1.540894e-02 -2.262328e-01 -2.997600e-01  1.239832e-09 -1.641473e-09
+ 5.302868e-03  1.553897e-02 -2.266343e-01 -2.997531e-01  4.239880e-09 -3.824134e-10
+ 5.302868e-03  1.566792e-02 -2.270347e-01 -2.997462e-01  1.987111e-09  1.555929e-09
+ 5.302868e-03  1.579582e-02 -2.274339e-01 -2.997391e-01 -1.165702e-08  2.947509e-09
+ 5.302868e-03  1.592268e-02 -2.278316e-01 -2.997318e-01 -1.019457e-08  3.015102e-09
+ 5.302868e-03  1.604855e-02 -2.282278e-01 -2.997242e-01 -5.718284e-09  1.580423e-09
+ 5.302868e-03  1.617343e-02 -2.286221e-01 -2.997163e-01  2.472454e-09 -2.030385e-10
+ 5.302868e-03  1.629736e-02  4.005839e-01 -2.997080e-01  4.279405e-09 -1.067547e-09
+ 5.302868e-03  1.642036e-02 -2.294046e-01 -2.996993e-01  2.588566e-09 -4.448205e-10
+ 5.302868e-03  1.654243e-02  4.006202e-01 -2.996899e-01 -2.217006e-08  5.766587e-10
+ 5.302868e-03  1.666362e-02  4.006402e-01 -2.996799e-01 -1.643357e-09  4.307307e-10
+ 5.302868e-03  1.678393e-02  4.006616e-01 -2.996692e-01 -7.765799e-09 -4.862312e-10
+ 5.302868e-03  1.690338e-02  4.006846e-01 -2.996577e-01 -5.367887e-09 -7.525849e-10
+ 5.302868e-03  1.702200e-02  4.007095e-01 -2.996452e-01  9.534825e-09 -3.848821e-11
+ 5.302868e-03  1.713979e-02  4.007364e-01 -2.996318e-01 -3.769265e-08  3.251971e-09
+ 5.302868e-03  1.725678e-02  4.007656e-01 -2.996172e-01 -4.047635e-09  5.360434e-10
+ 5.302868e-03  1.737298e-02  4.007974e-01 -2.996014e-01  3.868487e-07 -1.805646e-09
+ 5.302868e-03  1.748841e-02  4.008313e-01 -2.995843e-01 -3.519249e-07  4.102617e-09
+ 5.302868e-03  1.760308e-02  4.008682e-01 -2.995657e-01 -5.656407e-08  2.775574e-10
+ 5.302868e-03  1.771701e-02  4.009088e-01 -2.995455e-01 -5.743447e-07  2.726334e-10
+ 5.302868e-03  1.783022e-02  4.009529e-01 -2.995236e-01  2.578562e-07 -7.697561e-09
+ 5.302868e-03  1.794270e-02  4.010005e-01 -2.994998e-01 -1.103930e-08 -1.533141e-10
+ 5.302868e-03  1.805449e-02  4.010521e-01 -2.994739e-01 -1.000008e-07  9.553641e-11
+ 5.302868e-03  1.816559e-02  4.011081e-01 -2.994459e-01 -1.646948e-08  7.786291e-10
+ 5.302868e-03  1.827602e-02  4.011690e-01 -2.994156e-01  1.840804e-07 -2.057852e-09
+ 5.302868e-03  1.838578e-02  4.012349e-01 -2.993827e-01  2.070862e-08 -1.824146e-10
+ 5.302868e-03  1.849489e-02  4.013061e-01 -2.993470e-01  2.946994e-07 -1.018604e-09
+ 5.302868e-03  1.860336e-02  4.013831e-01 -2.993085e-01 -1.947515e-08 -4.623675e-10
+ 5.302868e-03  1.871120e-02  4.014665e-01 -2.992667e-01 -8.715129e-08 -6.460740e-10
+ 5.302868e-03  1.881842e-02  4.015568e-01 -2.992216e-01  2.471629e-09 -1.078028e-09
+ 5.302868e-03  1.892503e-02  4.016543e-01 -2.991728e-01 -1.698708e-08 -4.805064e-10
+ 5.302868e-03  1.903105e-02  4.017598e-01 -2.991201e-01 -1.054800e-08  1.101336e-10
+ 5.302868e-03  1.913648e-02  4.018737e-01 -2.990631e-01 -1.384523e-09  2.106248e-10
+ 5.302868e-03  1.924133e-02  4.019968e-01 -2.990016e-01 -6.058609e-09  1.113426e-10
+ 5.302868e-03  1.934562e-02  4.021299e-01 -2.989351e-01 -3.113070e-09  1.589973e-10
+ 5.302868e-03  1.944934e-02  4.022737e-01 -2.988631e-01 -2.792272e-09 -5.348000e-11
+ 5.302868e-03  1.955252e-02  4.024293e-01 -2.987854e-01  1.587038e-10 -1.061719e-09
+ 5.302868e-03  1.965515e-02  4.025978e-01 -2.987011e-01 -1.829417e-09 -7.525684e-10
+ 5.302868e-03  1.975725e-02  4.027804e-01 -2.986098e-01 -1.546928e-09  1.447987e-10
+ 5.302868e-03  1.985883e-02  4.029788e-01 -2.985106e-01 -1.400004e-09  1.015743e-12
+ 5.302868e-03  1.995989e-02  4.031950e-01 -2.984025e-01 -1.409269e-09  1.053843e-10
+ 5.302868e-03  2.006044e-02  4.034313e-01 -2.982843e-01  3.599330e-09 -1.242073e-09
+ 5.302868e-03  2.016048e-02  4.036910e-01 -2.981545e-01  6.421076e-09 -2.831727e-10
+ 5.302868e-03  2.026004e-02  4.039783e-01 -2.980109e-01  2.204107e-09 -6.313300e-11
+ 5.302868e-03  2.035910e-02  4.042994e-01 -2.978503e-01 -3.797356e-08  1.238532e-09
+ 5.302868e-03  2.045769e-02  4.046639e-01 -2.976681e-01  7.415711e-08  2.826293e-09
+ 5.302868e-03  2.055580e-02  4.050879e-01 -2.974563e-01  2.683829e-07 -9.389712e-09
+ 5.302868e-03  2.065345e-02  4.056010e-01 -2.971993e-01  3.176160e-08 -1.746205e-09
+ 5.302868e-03  2.075064e-02  4.062835e-01 -2.968583e-01  5.932967e-08 -2.378098e-08
+ 5.302868e-03  2.084738e-02  4.075408e-01 -2.962296e-01 -8.209604e-08 -1.440647e-08
+ 5.302868e-03  2.094367e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.103951e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.113493e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.075408e-01  2.962296e-01
+ 5.302868e-03  2.304754e-02  4.151294e-01 -2.924352e-01 -9.552899e-07 -4.679559e-07
+ 5.302868e-03  2.313467e-02  4.150688e-01 -2.924656e-01  1.240491e-08 -2.924690e-08
+ 5.302868e-03  2.322148e-02  4.149962e-01 -2.925018e-01 -1.768524e-06 -6.144252e-07
+ 5.302868e-03  2.330796e-02  4.149118e-01 -2.925440e-01  6.994469e-08  1.687269e-08
+ 5.302868e-03  2.339412e-02  4.148179e-01 -2.925910e-01 -7.543315e-09 -8.337624e-09
+ 5.302868e-03  2.347997e-02 -2.441592e-01 -2.926400e-01  9.076769e-07  1.470995e-08
+ 5.302868e-03  2.356550e-02 -2.437700e-01 -2.927050e-01 -1.195221e-06  2.049972e-07
+ 5.302868e-03  2.365073e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.373564e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.382026e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.390458e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.398860e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.407232e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.415576e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.423891e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.432177e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.440436e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.448666e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.456869e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.465045e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.473193e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.481315e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.489410e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.497480e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.505523e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.513540e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.521532e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.529499e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.537440e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.545357e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.553249e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.561117e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.568961e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.576781e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.584577e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.592350e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.302868e-03  2.600100e-02  0.000000e+00  0.000000e+00  2.437688e-01  2.927052e-01
+ 5.668935e-03  1.000000e-06 -2.060547e-01 -3.017547e-01  8.260624e-10 -5.880307e-10
+ 5.668935e-03  2.006944e-03 -2.063167e-01 -3.016821e-01 -1.685820e-09  1.638785e-08
+ 5.668935e-03  2.837833e-03 -2.065814e-01 -3.016118e-01  2.984638e-09 -8.725224e-09
+ 5.668935e-03  3.475396e-03 -2.068492e-01 -3.015435e-01 -3.508114e-08  1.220287e-07
+ 5.668935e-03  4.012887e-03 -2.071199e-01 -3.014774e-01 -5.320649e-08  1.397476e-07
+ 5.668935e-03  4.486426e-03 -2.073938e-01 -3.014134e-01  3.521572e-08 -7.114081e-08
+ 5.668935e-03  4.914538e-03 -2.076708e-01 -3.013513e-01  2.734997e-09 -3.854946e-09
+ 5.668935e-03  5.308228e-03 -2.079511e-01 -3.012912e-01  6.737184e-09 -9.295369e-09
+ 5.668935e-03  5.674665e-03 -2.082347e-01 -3.012330e-01 -8.785555e-10 -1.591245e-09
+ 5.668935e-03  6.018831e-03 -2.085217e-01 -3.011767e-01  2.521641e-09 -2.808342e-09
+ 5.668935e-03  6.344350e-03 -2.088120e-01 -3.011222e-01  3.954068e-11 -4.129349e-10
+ 5.668935e-03  6.653962e-03 -2.091057e-01 -3.010694e-01  1.532087e-09 -1.726949e-10
+ 5.668935e-03  6.949792e-03 -2.094029e-01 -3.010184e-01 -2.399309e-10  2.207375e-10
+ 5.668935e-03  7.233532e-03 -2.097036e-01 -3.009691e-01 -5.725434e-11 -7.605694e-12
+ 5.668935e-03  7.506553e-03 -2.100078e-01 -3.009215e-01  1.534906e-09  8.175904e-12
+ 5.668935e-03  7.769986e-03 -2.103155e-01 -3.008755e-01  7.880979e-11  1.892390e-10
+ 5.668935e-03  8.024774e-03 -2.106267e-01 -3.008310e-01 -6.074807e-12  3.536060e-11
+ 5.668935e-03  8.271717e-03 -2.109414e-01 -3.007881e-01  1.223052e-09 -4.888725e-10
+ 5.668935e-03  8.511498e-03 -2.112596e-01 -3.007467e-01 -1.415285e-10 -9.967736e-10
+ 5.668935e-03  8.744705e-03 -2.115813e-01 -3.007068e-01  5.165318e-10 -1.358064e-09
+ 5.668935e-03  8.971852e-03 -2.119065e-01 -3.006683e-01  1.169656e-09 -1.034397e-09
+ 5.668935e-03  9.193388e-03 -2.122351e-01 -3.006312e-01  1.110141e-10 -5.768115e-10
+ 5.668935e-03  9.409709e-03 -2.125671e-01 -3.005955e-01  2.896569e-10 -1.455346e-10
+ 5.668935e-03  9.621167e-03 -2.129024e-01 -3.005611e-01  1.634296e-09 -3.763195e-10
+ 5.668935e-03  9.828076e-03 -2.132410e-01 -3.005279e-01  1.900113e-10 -8.540701e-11
+ 5.668935e-03  1.003072e-02 -2.135829e-01 -3.004961e-01  4.056306e-10 -1.534892e-10
+ 5.668935e-03  1.022935e-02 -2.139280e-01 -3.004654e-01  2.762111e-09 -3.626389e-10
+ 5.668935e-03  1.042419e-02 -2.142763e-01 -3.004359e-01  1.302421e-09 -3.777244e-10
+ 5.668935e-03  1.061546e-02 -2.146276e-01 -3.004076e-01  1.206737e-09 -1.383491e-10
+ 5.668935e-03  1.080334e-02 -2.149819e-01 -3.003803e-01  2.288143e-09 -4.227535e-10
+ 5.668935e-03  1.098801e-02 -2.153391e-01 -3.003542e-01  3.403394e-09 -2.925431e-10
+ 5.668935e-03  1.116962e-02 -2.156991e-01 -3.003291e-01 -8.036501e-10 -6.495968e-10
+ 5.668935e-03  1.134833e-02 -2.160619e-01 -3.003049e-01  8.528012e-09 -1.335572e-09
+ 5.668935e-03  1.152427e-02 -2.164274e-01 -3.002818e-01  3.891928e-09 -9.959978e-10
+ 5.668935e-03  1.169756e-02 -2.167953e-01 -3.002596e-01  1.332877e-08 -1.864280e-09
+ 5.668935e-03  1.186832e-02 -2.171658e-01 -3.002382e-01  2.481359e-08 -1.773906e-09
+ 5.668935e-03  1.203666e-02 -2.175387e-01 -3.002178e-01  1.664169e-08 -2.710746e-09
+ 5.668935e-03  1.220268e-02 -2.179138e-01 -3.001982e-01 -3.028271e-09 -1.037751e-09
+ 5.668935e-03  1.236647e-02 -2.182911e-01 -3.001793e-01  7.802044e-09 -3.335761e-09
+ 5.668935e-03  1.252811e-02 -2.186704e-01 -3.001613e-01  1.684885e-08 -7.482530e-09
+ 5.668935e-03  1.268770e-02 -2.190517e-01 -3.001439e-01 -3.726086e-09  1.476287e-09
+ 5.668935e-03  1.284531e-02 -2.194348e-01 -3.001273e-01 -3.235179e-08  1.296864e-08
+ 5.668935e-03  1.300100e-02 -2.198196e-01 -3.001113e-01 -6.485911e-09  7.281483e-09
+ 5.668935e-03  1.315485e-02 -2.202061e-01 -3.000959e-01 -5.356153e-09 -3.968843e-10
+ 5.668935e-03  1.330692e-02 -2.205939e-01 -3.000812e-01 -1.137968e-08  1.147624e-08
+ 5.668935e-03  1.345728e-02 -2.209831e-01 -3.000669e-01 -1.219001e-08  2.045474e-08
+ 5.668935e-03  1.360597e-02 -2.213735e-01 -3.000532e-01 -4.457489e-08  6.364198e-09
+ 5.668935e-03  1.375306e-02 -2.217653e-01 -3.000400e-01 -2.648825e-07 -1.500811e-08
+ 5.668935e-03  1.389858e-02 -2.221573e-01 -3.000273e-01 -1.071480e-08 -1.177950e-08
+ 5.668935e-03  1.404260e-02 -2.225500e-01 -3.000149e-01  1.310812e-06  1.557693e-08
+ 5.668935e-03  1.418516e-02 -2.229448e-01 -3.000029e-01 -6.873156e-08 -1.041927e-09
+ 5.668935e-03  1.432630e-02 -2.233392e-01 -2.999913e-01 -5.100282e-09  9.130737e-10
+ 5.668935e-03  1.446606e-02 -2.237341e-01 -2.999799e-01 -2.055393e-08  9.095914e-09
+ 5.668935e-03  1.460449e-02 -2.241292e-01 -2.999688e-01 -4.329491e-08  1.924291e-08
+ 5.668935e-03  1.474161e-02 -2.245243e-01 -2.999579e-01 -1.568918e-08  1.392903e-08
+ 5.668935e-03  1.487748e-02 -2.249194e-01 -2.999471e-01  7.471532e-09 -1.207529e-08
+ 5.668935e-03  1.501211e-02 -2.253142e-01 -2.999365e-01  1.459266e-07 -3.732560e-08
+ 5.668935e-03  1.514554e-02 -2.257087e-01 -2.999260e-01  1.008516e-07 -4.012242e-08
+ 5.668935e-03  1.527781e-02 -2.261026e-01 -2.999155e-01  5.506682e-08 -1.916990e-08
+ 5.668935e-03  1.540894e-02 -2.264958e-01 -2.999049e-01  8.036155e-12 -7.398679e-10
+ 5.668935e-03  1.553897e-02 -2.268881e-01 -2.998943e-01  2.565801e-08 -9.091639e-09
+ 5.668935e-03  1.566792e-02 -2.272794e-01 -2.998835e-01  9.331264e-08 -3.751891e-08
+ 5.668935e-03  1.579582e-02 -2.276694e-01 -2.998726e-01  1.320177e-07 -5.198684e-08
+ 5.668935e-03  1.592268e-02 -2.280580e-01 -2.998614e-01  8.544855e-08 -2.892884e-08
+ 5.668935e-03  1.604855e-02 -2.284450e-01 -2.998498e-01 -3.401875e-08  1.398461e-08
+ 5.668935e-03  1.617343e-02 -2.288302e-01 -2.998379e-01 -8.604541e-08  3.623913e-08
+ 5.668935e-03  1.629736e-02 -2.292134e-01 -2.998256e-01 -6.212105e-08  2.337160e-08
+ 5.668935e-03  1.642036e-02 -2.295945e-01 -2.998128e-01 -1.161328e-09  3.138336e-09
+ 5.668935e-03  1.654243e-02 -2.299731e-01 -2.997994e-01  3.050787e-08  5.749269e-10
+ 5.668935e-03  1.666362e-02 -2.303493e-01 -2.997853e-01 -2.129127e-08  4.024602e-09
+ 5.668935e-03  1.678393e-02 -2.307226e-01 -2.997705e-01 -4.457693e-09 -1.045692e-09
+ 5.668935e-03  1.690338e-02  4.004904e-01 -2.997548e-01  6.710780e-08 -8.961801e-10
+ 5.668935e-03  1.702200e-02 -2.314602e-01 -2.997382e-01 -2.545709e-08  5.903311e-09
+ 5.668935e-03  1.713979e-02  4.005588e-01 -2.997206e-01 -4.504758e-08  2.362461e-09
+ 5.668935e-03  1.725678e-02  4.005963e-01 -2.997019e-01  3.417898e-07 -4.295835e-09
+ 5.668935e-03  1.737298e-02  4.006363e-01 -2.996819e-01 -1.393623e-07  2.594602e-09
+ 5.668935e-03  1.748841e-02  4.006782e-01 -2.996607e-01 -2.839706e-08 -5.841916e-09
+ 5.668935e-03  1.760308e-02  4.007235e-01 -2.996380e-01 -9.078231e-07  6.661122e-09
+ 5.668935e-03  1.771701e-02  4.007726e-01 -2.996137e-01  2.211380e-07 -9.213742e-09
+ 5.668935e-03  1.783022e-02  4.008247e-01 -2.995877e-01  1.777373e-08  7.081126e-09
+ 5.668935e-03  1.794270e-02  4.008801e-01 -2.995599e-01 -1.841924e-08 -3.425865e-09
+ 5.668935e-03  1.805449e-02  4.009396e-01 -2.995301e-01 -2.701623e-07  1.362999e-08
+ 5.668935e-03  1.816559e-02  4.010036e-01 -2.994983e-01  3.367599e-07  7.866913e-09
+ 5.668935e-03  1.827602e-02  4.010721e-01 -2.994641e-01 -6.248639e-09  3.676486e-10
+ 5.668935e-03  1.838578e-02  4.011454e-01 -2.994275e-01  3.496555e-07 -1.739813e-09
+ 5.668935e-03  1.849489e-02  4.012237e-01 -2.993882e-01  2.563019e-07 -8.570650e-10
+ 5.668935e-03  1.860336e-02  4.013078e-01 -2.993461e-01 -1.951082e-07  8.507003e-10
+ 5.668935e-03  1.871120e-02  4.013979e-01 -2.993010e-01 -5.867193e-08 -2.697785e-10
+ 5.668935e-03  1.881842e-02  4.014947e-01 -2.992526e-01 -1.295757e-08 -8.871601e-10
+ 5.668935e-03  1.892503e-02  4.015984e-01 -2.992008e-01 -4.173835e-08 -5.630995e-10
+ 5.668935e-03  1.903105e-02  4.017096e-01 -2.991452e-01 -1.681458e-08  7.734713e-11
+ 5.668935e-03  1.913648e-02  4.018289e-01 -2.990856e-01 -1.041564e-10  2.192397e-10
+ 5.668935e-03  1.924133e-02  4.019568e-01 -2.990216e-01 -8.561488e-09  1.009630e-10
+ 5.668935e-03  1.934562e-02  4.020940e-01 -2.989530e-01 -1.230075e-08  2.521366e-10
+ 5.668935e-03  1.944934e-02  4.022414e-01 -2.988793e-01 -1.884446e-09  4.726541e-11
+ 5.668935e-03  1.955252e-02  4.023998e-01 -2.988001e-01 -2.407824e-09 -8.584249e-10
+ 5.668935e-03  1.965515e-02  4.025700e-01 -2.987150e-01 -6.957329e-10 -8.596330e-10
+ 5.668935e-03  1.975725e-02  4.027534e-01 -2.986233e-01 -5.495884e-10  9.962281e-11
+ 5.668935e-03  1.985883e-02  4.029512e-01 -2.985244e-01 -7.565576e-10 -4.313772e-13
+ 5.668935e-03  1.995989e-02  4.031651e-01 -2.984174e-01 -1.181363e-09  1.551584e-10
+ 5.668935e-03  2.006044e-02  4.033970e-01 -2.983015e-01  1.330856e-09 -1.052545e-09
+ 5.668935e-03  2.016048e-02  4.036496e-01 -2.981752e-01  2.570132e-09 -3.552015e-10
+ 5.668935e-03  2.026004e-02  4.039262e-01 -2.980369e-01  6.692225e-09 -4.129987e-10
+ 5.668935e-03  2.035910e-02  4.042314e-01 -2.978843e-01  9.430275e-09 -1.141090e-09
+ 5.668935e-03  2.045769e-02  4.045722e-01 -2.977139e-01  1.260923e-08 -2.058215e-10
+ 5.668935e-03  2.055580e-02  4.049592e-01 -2.975204e-01  1.279607e-07 -2.727651e-09
+ 5.668935e-03  2.065345e-02  4.054113e-01 -2.972943e-01 -1.798464e-07  1.968334e-09
+ 5.668935e-03  2.075064e-02  4.059691e-01 -2.970156e-01  2.269126e-07 -4.557723e-08
+ 5.668935e-03  2.084738e-02  4.067512e-01 -2.966246e-01  4.476318e-07 -8.707400e-09
+ 5.668935e-03  2.094367e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.103951e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.113493e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.067507e-01  2.966245e-01
+ 5.668935e-03  2.304754e-02  4.158149e-01 -2.920923e-01 -1.532986e-07  9.863373e-08
+ 5.668935e-03  2.313467e-02  4.157692e-01 -2.921148e-01 -8.530115e-07 -3.734887e-09
+ 5.668935e-03  2.322148e-02  4.157009e-01 -2.921486e-01 -2.265481e-06  4.095635e-07
+ 5.668935e-03  2.330796e-02  4.156135e-01 -2.921931e-01  3.182858e-07  1.756720e-07
+ 5.668935e-03  2.339412e-02  4.155163e-01 -2.922416e-01 -3.033236e-07  9.415873e-08
+ 5.668935e-03  2.347997e-02  4.154028e-01 -2.922984e-01  4.983349e-08  7.419032e-09
+ 5.668935e-03  2.356550e-02  4.152819e-01 -2.923589e-01 -2.014165e-07 -3.175265e-09
+ 5.668935e-03  2.365073e-02  4.151557e-01 -2.924220e-01 -3.383863e-08 -3.806079e-08
+ 5.668935e-03  2.373564e-02  4.150373e-01 -2.924813e-01  1.368489e-07  1.087049e-07
+ 5.668935e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 5.668935e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.150372e-01  2.924814e-01
+ 6.012753e-03  1.000000e-06 -2.068178e-01 -3.020128e-01 -3.532963e-11  3.519181e-10
+ 6.012753e-03  2.006944e-03 -2.070727e-01 -3.019399e-01  5.073373e-09 -4.440349e-08
+ 6.012753e-03  2.837833e-03 -2.073303e-01 -3.018691e-01 -1.856183e-09  1.184604e-08
+ 6.012753e-03  3.475396e-03 -2.075908e-01 -3.018005e-01  1.807322e-08 -6.478847e-08
+ 6.012753e-03  4.012887e-03 -2.078543e-01 -3.017338e-01 -5.857460e-09  1.525150e-08
+ 6.012753e-03  4.486426e-03 -2.081209e-01 -3.016694e-01 -7.857029e-09  2.577553e-08
+ 6.012753e-03  4.914538e-03 -2.083906e-01 -3.016069e-01  1.122646e-09 -7.073914e-10
+ 6.012753e-03  5.308228e-03 -2.086635e-01 -3.015463e-01  2.608984e-09 -5.516348e-09
+ 6.012753e-03  5.674665e-03 -2.089396e-01 -3.014875e-01  1.614492e-09 -1.623861e-09
+ 6.012753e-03  6.018831e-03 -2.092190e-01 -3.014306e-01  3.491605e-09 -4.308427e-09
+ 6.012753e-03  6.344350e-03 -2.095017e-01 -3.013755e-01  3.348600e-09 -1.639479e-09
+ 6.012753e-03  6.653962e-03 -2.097878e-01 -3.013220e-01  3.235645e-09 -2.869216e-09
+ 6.012753e-03  6.949792e-03 -2.100773e-01 -3.012703e-01  2.897590e-09 -1.955138e-09
+ 6.012753e-03  7.233532e-03 -2.103702e-01 -3.012203e-01  2.544635e-09 -3.074234e-09
+ 6.012753e-03  7.506553e-03 -2.106665e-01 -3.011718e-01  1.245110e-09 -2.217828e-09
+ 6.012753e-03  7.769986e-03 -2.109662e-01 -3.011249e-01  3.824792e-09 -1.963317e-09
+ 6.012753e-03  8.024774e-03 -2.112694e-01 -3.010796e-01  1.099498e-09 -8.722828e-10
+ 6.012753e-03  8.271717e-03 -2.115761e-01 -3.010357e-01  2.306236e-09 -8.132838e-10
+ 6.012753e-03  8.511498e-03 -2.118862e-01 -3.009933e-01  1.757179e-09 -5.089950e-10
+ 6.012753e-03  8.744705e-03 -2.121997e-01 -3.009523e-01  1.213592e-09 -6.291254e-10
+ 6.012753e-03  8.971852e-03 -2.125166e-01 -3.009127e-01  1.981308e-09 -2.072917e-10
+ 6.012753e-03  9.193388e-03 -2.128369e-01 -3.008744e-01  3.670108e-10 -4.578818e-10
+ 6.012753e-03  9.409709e-03 -2.131605e-01 -3.008374e-01  4.136902e-10 -8.424977e-11
+ 6.012753e-03  9.621167e-03 -2.134874e-01 -3.008017e-01  1.913664e-09 -4.830612e-10
+ 6.012753e-03  9.828076e-03 -2.138176e-01 -3.007672e-01  3.651947e-10 -8.127367e-10
+ 6.012753e-03  1.003072e-02 -2.141510e-01 -3.007339e-01  8.794067e-10 -1.020669e-09
+ 6.012753e-03  1.022935e-02 -2.144876e-01 -3.007018e-01  1.011263e-09 -1.317100e-09
+ 6.012753e-03  1.042419e-02 -2.148273e-01 -3.006707e-01  1.419843e-09 -1.071480e-09
+ 6.012753e-03  1.061546e-02 -2.151700e-01 -3.006408e-01  3.590433e-10 -7.341867e-10
+ 6.012753e-03  1.080334e-02 -2.155157e-01 -3.006119e-01  9.978386e-09 -2.480971e-10
+ 6.012753e-03  1.098801e-02 -2.158643e-01 -3.005840e-01  6.551906e-09 -3.271636e-10
+ 6.012753e-03  1.116962e-02 -2.162157e-01 -3.005570e-01  2.574214e-09 -8.598794e-11
+ 6.012753e-03  1.134833e-02 -2.165698e-01 -3.005311e-01 -1.030796e-08  4.064898e-10
+ 6.012753e-03  1.152427e-02 -2.169265e-01 -3.005060e-01  8.432740e-09 -1.236682e-09
+ 6.012753e-03  1.169756e-02 -2.172859e-01 -3.004818e-01 -7.429661e-09  5.558576e-10
+ 6.012753e-03  1.186832e-02 -2.176476e-01 -3.004584e-01  2.282094e-08 -1.766028e-09
+ 6.012753e-03  1.203666e-02 -2.180118e-01 -3.004358e-01  2.388733e-09 -2.822477e-10
+ 6.012753e-03  1.220268e-02 -2.183781e-01 -3.004140e-01  2.379258e-09 -2.683215e-11
+ 6.012753e-03  1.236647e-02 -2.187467e-01 -3.003930e-01  2.710221e-09 -6.431422e-11
+ 6.012753e-03  1.252811e-02 -2.191173e-01 -3.003726e-01 -4.287324e-10 -1.290040e-10
+ 6.012753e-03  1.268770e-02 -2.194898e-01 -3.003529e-01  9.728551e-11 -1.936076e-10
+ 6.012753e-03  1.284531e-02 -2.198641e-01 -3.003338e-01 -5.424600e-09 -1.317843e-09
+ 6.012753e-03  1.300100e-02 -2.202402e-01 -3.003153e-01  1.058858e-08 -4.018295e-10
+ 6.012753e-03  1.315485e-02 -2.206178e-01 -3.002974e-01  2.050301e-08 -3.564511e-10
+ 6.012753e-03  1.330692e-02 -2.209968e-01 -3.002800e-01  3.162977e-08 -1.112752e-10
+ 6.012753e-03  1.345728e-02 -2.213773e-01 -3.002631e-01 -3.251685e-08 -3.173892e-09
+ 6.012753e-03  1.360597e-02 -2.217591e-01 -3.002467e-01 -4.017978e-07 -9.859822e-09
+ 6.012753e-03  1.375306e-02 -2.221413e-01 -3.002306e-01 -9.157656e-08 -1.026277e-09
+ 6.012753e-03  1.389858e-02 -2.225243e-01 -3.002150e-01  7.950850e-07  1.190378e-08
+ 6.012753e-03  1.404260e-02 -2.229097e-01 -3.001997e-01 -2.341091e-07 -5.798440e-09
+ 6.012753e-03  1.418516e-02 -2.232947e-01 -3.001847e-01  1.323700e-09 -3.679123e-09
+ 6.012753e-03  1.432630e-02 -2.236803e-01 -3.001700e-01  3.619973e-08 -1.498556e-08
+ 6.012753e-03  1.446606e-02 -2.240663e-01 -3.001555e-01  3.481972e-08 -1.544011e-08
+ 6.012753e-03  1.460449e-02 -2.244524e-01 -3.001412e-01  1.361439e-08  1.108751e-08
+ 6.012753e-03  1.474161e-02 -2.248387e-01 -3.001270e-01 -1.009831e-07  3.356144e-08
+ 6.012753e-03  1.487748e-02 -2.252249e-01 -3.001130e-01  2.470484e-08  2.060867e-08
+ 6.012753e-03  1.501211e-02 -2.256109e-01 -3.000990e-01  9.451270e-09  2.398559e-10
+ 6.012753e-03  1.514554e-02 -2.259964e-01 -3.000850e-01 -3.946189e-08  1.731625e-08
+ 6.012753e-03  1.527781e-02 -2.263814e-01 -3.000710e-01 -1.060598e-07  4.590984e-08
+ 6.012753e-03  1.540894e-02 -2.267656e-01 -3.000570e-01 -6.487588e-08  2.828365e-08
+ 6.012753e-03  1.553897e-02 -2.271490e-01 -3.000428e-01  4.747933e-08 -1.806241e-08
+ 6.012753e-03  1.566792e-02 -2.275313e-01 -3.000284e-01  7.573895e-08 -2.790549e-08
+ 6.012753e-03  1.579582e-02 -2.279123e-01 -3.000138e-01  1.275328e-08 -6.412177e-09
+ 6.012753e-03  1.592268e-02 -2.282920e-01 -2.999989e-01  1.994654e-11  1.530609e-12
+ 6.012753e-03  1.604855e-02 -2.286701e-01 -2.999837e-01 -1.992363e-08  1.092607e-08
+ 6.012753e-03  1.617343e-02 -2.290464e-01 -2.999680e-01 -7.740509e-08  3.754093e-08
+ 6.012753e-03  1.629736e-02 -2.294207e-01 -2.999519e-01 -6.393249e-09  2.961856e-09
+ 6.012753e-03  1.642036e-02 -2.297928e-01 -2.999352e-01  1.832634e-07 -6.887424e-08
+ 6.012753e-03  1.654243e-02 -2.301626e-01 -2.999179e-01  1.002583e-07 -4.196845e-08
+ 6.012753e-03  1.666362e-02 -2.305299e-01 -2.999000e-01  1.388067e-08 -1.347275e-09
+ 6.012753e-03  1.678393e-02 -2.308945e-01 -2.998812e-01  2.204566e-07 -6.603007e-08
+ 6.012753e-03  1.690338e-02 -2.312563e-01 -2.998616e-01  8.873862e-08 -4.279464e-08
+ 6.012753e-03  1.702200e-02 -2.316148e-01 -2.998410e-01 -1.196102e-07  4.806292e-08
+ 6.012753e-03  1.713979e-02  4.003609e-01 -2.998194e-01  1.732341e-07  1.441580e-08
+ 6.012753e-03  1.725678e-02 -2.323218e-01 -2.997967e-01 -5.815531e-07  1.408448e-08
+ 6.012753e-03  1.737298e-02  4.004542e-01 -2.997728e-01  6.157141e-07 -8.254460e-10
+ 6.012753e-03  1.748841e-02  4.005042e-01 -2.997476e-01 -1.021268e-06  5.162086e-09
+ 6.012753e-03  1.760308e-02  4.005577e-01 -2.997210e-01 -2.300923e-08 -8.016561e-09
+ 6.012753e-03  1.771701e-02  4.006146e-01 -2.996928e-01  6.758825e-08  4.208769e-09
+ 6.012753e-03  1.783022e-02  4.006742e-01 -2.996629e-01  9.724602e-09 -2.880188e-09
+ 6.012753e-03  1.794270e-02  4.007373e-01 -2.996312e-01 -4.316980e-07  1.964896e-08
+ 6.012753e-03  1.805449e-02  4.008047e-01 -2.995976e-01  3.491146e-07  2.075066e-08
+ 6.012753e-03  1.816559e-02  4.008764e-01 -2.995620e-01  7.827044e-08 -3.605658e-09
+ 6.012753e-03  1.827602e-02  4.009522e-01 -2.995241e-01  2.928476e-07 -3.798248e-09
+ 6.012753e-03  1.838578e-02  4.010326e-01 -2.994838e-01  5.309176e-07 -2.080124e-09
+ 6.012753e-03  1.849489e-02  4.011180e-01 -2.994410e-01 -1.934901e-07  1.298349e-09
+ 6.012753e-03  1.860336e-02  4.012090e-01 -2.993955e-01 -1.637500e-07  1.092229e-09
+ 6.012753e-03  1.871120e-02  4.013059e-01 -2.993470e-01 -6.945174e-09  3.358248e-10
+ 6.012753e-03  1.881842e-02  4.014091e-01 -2.992954e-01 -6.001999e-08 -3.873158e-10
+ 6.012753e-03  1.892503e-02  4.015190e-01 -2.992405e-01 -3.792754e-08 -6.514578e-10
+ 6.012753e-03  1.903105e-02  4.016360e-01 -2.991820e-01 -9.053172e-10 -5.393201e-10
+ 6.012753e-03  1.913648e-02  4.017607e-01 -2.991196e-01 -7.914289e-09  2.084499e-11
+ 6.012753e-03  1.924133e-02  4.018936e-01 -2.990532e-01 -2.109511e-08  3.876769e-10
+ 6.012753e-03  1.934562e-02  4.020354e-01 -2.989823e-01 -9.661985e-09  1.374664e-10
+ 6.012753e-03  1.944934e-02  4.021866e-01 -2.989067e-01 -2.216820e-09  2.201661e-10
+ 6.012753e-03  1.955252e-02  4.023482e-01 -2.988259e-01  2.840386e-10 -5.333810e-10
+ 6.012753e-03  1.965515e-02  4.025209e-01 -2.987395e-01  6.337921e-10 -1.094928e-09
+ 6.012753e-03  1.975725e-02  4.027057e-01 -2.986471e-01  6.588169e-11 -7.177853e-11
+ 6.012753e-03  1.985883e-02  4.029038e-01 -2.985481e-01 -3.724041e-10  8.395856e-11
+ 6.012753e-03  1.995989e-02  4.031166e-01 -2.984417e-01  1.342852e-09  1.495963e-10
+ 6.012753e-03  2.006044e-02  4.033457e-01 -2.983272e-01 -1.994280e-09 -7.171819e-10
+ 6.012753e-03  2.016048e-02  4.035931e-01 -2.982035e-01 -1.587313e-09 -6.345669e-10
+ 6.012753e-03  2.026004e-02  4.038615e-01 -2.980692e-01 -6.259598e-10  6.721923e-11
+ 6.012753e-03  2.035910e-02  4.041546e-01 -2.979227e-01  1.656100e-09  9.600676e-11
+ 6.012753e-03  2.045769e-02  4.044772e-01 -2.977614e-01  5.942861e-09 -1.209400e-09
+ 6.012753e-03  2.055580e-02  4.048367e-01 -2.975816e-01 -2.035703e-08  1.397289e-09
+ 6.012753e-03  2.065345e-02  4.052456e-01 -2.973772e-01 -1.640751e-07  1.656868e-09
+ 6.012753e-03  2.075064e-02  4.057262e-01 -2.971369e-01 -1.777587e-08  2.825886e-10
+ 6.012753e-03  2.084738e-02  4.063298e-01 -2.968351e-01 -1.076389e-09  1.292741e-08
+ 6.012753e-03  2.094367e-02  4.072499e-01 -2.963750e-01 -4.748064e-08 -4.732840e-10
+ 6.012753e-03  2.103951e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.113493e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.072500e-01  2.963750e-01
+ 6.012753e-03  2.296007e-02  4.167415e-01 -2.916381e-01  2.416026e-05  4.512575e-06
+ 6.012753e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.167174e-01  2.916426e-01
+ 6.012753e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.167174e-01  2.916426e-01
+ 6.012753e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.167174e-01  2.916426e-01
+ 6.012753e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.167174e-01  2.916426e-01
+ 6.012753e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.167174e-01  2.916426e-01
+ 6.012753e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.167174e-01  2.916426e-01
+ 6.012753e-03  2.356550e-02  4.160754e-01 -2.919629e-01  5.267360e-07 -2.196298e-07
+ 6.012753e-03  2.365073e-02  4.158942e-01 -2.920518e-01  1.194579e-07  9.120882e-08
+ 6.012753e-03  2.373564e-02  4.157474e-01 -2.921255e-01 -1.520657e-06  4.218649e-07
+ 6.012753e-03  2.382026e-02  4.156061e-01 -2.921968e-01 -1.998028e-06 -8.471524e-07
+ 6.012753e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.012753e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.156081e-01  2.921959e-01
+ 6.337944e-03  1.000000e-06 -2.075744e-01 -3.022698e-01  1.565131e-09  1.246217e-10
+ 6.337944e-03  2.006944e-03 -2.078223e-01 -3.021966e-01  4.283421e-11 -1.281662e-09
+ 6.337944e-03  2.837833e-03 -2.080729e-01 -3.021255e-01 -3.122445e-09  3.148030e-08
+ 6.337944e-03  3.475396e-03 -2.083264e-01 -3.020565e-01  1.469402e-09 -6.364002e-09
+ 6.337944e-03  4.012887e-03 -2.085828e-01 -3.019896e-01 -4.843747e-08  1.594646e-07
+ 6.337944e-03  4.486426e-03 -2.088423e-01 -3.019246e-01 -5.257186e-08  1.364795e-07
+ 6.337944e-03  4.914538e-03 -2.091048e-01 -3.018618e-01  6.986685e-08 -1.455668e-07
+ 6.337944e-03  5.308228e-03 -2.093705e-01 -3.018007e-01  1.015226e-08 -1.842389e-08
+ 6.337944e-03  5.674665e-03 -2.096393e-01 -3.017415e-01  1.710007e-08 -2.675360e-08
+ 6.337944e-03  6.018831e-03 -2.099114e-01 -3.016840e-01  6.001272e-09 -8.828593e-09
+ 6.337944e-03  6.344350e-03 -2.101868e-01 -3.016283e-01  8.287975e-09 -1.076809e-08
+ 6.337944e-03  6.653962e-03 -2.104654e-01 -3.015743e-01  5.273885e-09 -4.222729e-09
+ 6.337944e-03  6.949792e-03 -2.107474e-01 -3.015220e-01  5.509282e-09 -5.065684e-09
+ 6.337944e-03  7.233532e-03 -2.110327e-01 -3.014712e-01  4.561173e-09 -2.599135e-09
+ 6.337944e-03  7.506553e-03 -2.113213e-01 -3.014221e-01  4.073302e-09 -3.298222e-09
+ 6.337944e-03  7.769986e-03 -2.116134e-01 -3.013744e-01  2.697339e-09 -1.742595e-09
+ 6.337944e-03  8.024774e-03 -2.119088e-01 -3.013282e-01  4.607714e-09 -2.263449e-09
+ 6.337944e-03  8.271717e-03 -2.122076e-01 -3.012835e-01  2.438224e-09 -1.727413e-09
+ 6.337944e-03  8.511498e-03 -2.125098e-01 -3.012402e-01  4.455103e-09 -2.544236e-09
+ 6.337944e-03  8.744705e-03 -2.128154e-01 -3.011982e-01  1.987863e-09 -2.243980e-09
+ 6.337944e-03  8.971852e-03 -2.131243e-01 -3.011575e-01  2.528508e-09 -2.079540e-09
+ 6.337944e-03  9.193388e-03 -2.134365e-01 -3.011181e-01  3.835071e-09 -1.371890e-09
+ 6.337944e-03  9.409709e-03 -2.137520e-01 -3.010800e-01  1.833727e-09 -9.916056e-10
+ 6.337944e-03  9.621167e-03 -2.140708e-01 -3.010431e-01  1.066555e-09 -4.341331e-10
+ 6.337944e-03  9.828076e-03 -2.143928e-01 -3.010073e-01  3.513506e-09 -3.771642e-10
+ 6.337944e-03  1.003072e-02 -2.147179e-01 -3.009727e-01 -6.426149e-10 -2.405615e-10
+ 6.337944e-03  1.022935e-02 -2.150462e-01 -3.009392e-01  8.101895e-09 -8.692219e-11
+ 6.337944e-03  1.042419e-02 -2.153775e-01 -3.009067e-01  3.868455e-09  8.213430e-13
+ 6.337944e-03  1.061546e-02 -2.157119e-01 -3.008752e-01  3.620103e-09  1.402453e-10
+ 6.337944e-03  1.080334e-02 -2.160492e-01 -3.008448e-01  6.992953e-10  1.568562e-11
+ 6.337944e-03  1.098801e-02 -2.163893e-01 -3.008152e-01  3.391856e-09 -2.149835e-10
+ 6.337944e-03  1.116962e-02 -2.167322e-01 -3.007866e-01 -1.163480e-08  3.766780e-10
+ 6.337944e-03  1.134833e-02 -2.170779e-01 -3.007589e-01 -2.585728e-08  6.853559e-10
+ 6.337944e-03  1.152427e-02 -2.174261e-01 -3.007320e-01 -1.970695e-09 -1.315194e-09
+ 6.337944e-03  1.169756e-02 -2.177769e-01 -3.007060e-01  3.447621e-09 -1.418520e-09
+ 6.337944e-03  1.186832e-02 -2.181301e-01 -3.006807e-01 -1.359334e-08 -3.540577e-10
+ 6.337944e-03  1.203666e-02 -2.184857e-01 -3.006561e-01  6.651105e-10 -1.106002e-09
+ 6.337944e-03  1.220268e-02 -2.188435e-01 -3.006322e-01  2.828498e-09 -7.680251e-10
+ 6.337944e-03  1.236647e-02 -2.192035e-01 -3.006090e-01  4.256118e-11 -5.539192e-10
+ 6.337944e-03  1.252811e-02 -2.195655e-01 -3.005865e-01  3.055169e-09  5.591245e-10
+ 6.337944e-03  1.268770e-02 -2.199294e-01 -3.005646e-01  4.660785e-09  2.474598e-11
+ 6.337944e-03  1.284531e-02 -2.202951e-01 -3.005432e-01  1.381815e-08  7.970663e-11
+ 6.337944e-03  1.300100e-02 -2.206625e-01 -3.005223e-01  1.916358e-08  3.145575e-10
+ 6.337944e-03  1.315485e-02 -2.210315e-01 -3.005020e-01 -7.942532e-10  9.848306e-11
+ 6.337944e-03  1.330692e-02 -2.214020e-01 -3.004821e-01 -4.523412e-08 -1.088556e-09
+ 6.337944e-03  1.345728e-02 -2.217740e-01 -3.004626e-01 -2.261574e-07 -5.565283e-09
+ 6.337944e-03  1.360597e-02 -2.221464e-01 -3.004436e-01 -8.740764e-08  1.564791e-09
+ 6.337944e-03  1.375306e-02 -2.225197e-01 -3.004249e-01  7.269580e-07  1.595544e-08
+ 6.337944e-03  1.389858e-02 -2.228958e-01 -3.004065e-01 -3.116255e-07 -7.048218e-09
+ 6.337944e-03  1.404260e-02 -2.232714e-01 -3.003884e-01 -2.547205e-08 -5.389592e-10
+ 6.337944e-03  1.418516e-02 -2.236478e-01 -3.003706e-01  1.622050e-09 -2.781264e-10
+ 6.337944e-03  1.432630e-02 -2.240247e-01 -3.003529e-01  8.384625e-10 -6.205034e-10
+ 6.337944e-03  1.446606e-02 -2.244019e-01 -3.003355e-01  7.295700e-09 -5.281914e-11
+ 6.337944e-03  1.460449e-02 -2.247794e-01 -3.003182e-01 -3.760977e-10 -9.130043e-10
+ 6.337944e-03  1.474161e-02 -2.251569e-01 -3.003009e-01 -1.014972e-09  2.573004e-10
+ 6.337944e-03  1.487748e-02 -2.255344e-01 -3.002838e-01 -2.868064e-11 -1.212187e-09
+ 6.337944e-03  1.501211e-02 -2.259116e-01 -3.002666e-01  6.068765e-09 -3.985262e-09
+ 6.337944e-03  1.514554e-02 -2.262884e-01 -3.002494e-01 -2.402136e-10 -2.377936e-09
+ 6.337944e-03  1.527781e-02 -2.266647e-01 -3.002321e-01  7.936961e-09 -6.623389e-10
+ 6.337944e-03  1.540894e-02 -2.270402e-01 -3.002147e-01  1.331363e-08 -4.237119e-09
+ 6.337944e-03  1.553897e-02 -2.274148e-01 -3.001972e-01  6.163476e-10 -1.279671e-09
+ 6.337944e-03  1.566792e-02 -2.277884e-01 -3.001794e-01  2.576114e-08 -1.258739e-08
+ 6.337944e-03  1.579582e-02 -2.281607e-01 -3.001613e-01  7.315997e-08 -3.294053e-08
+ 6.337944e-03  1.592268e-02 -2.285317e-01 -3.001428e-01 -1.716249e-08  1.304705e-08
+ 6.337944e-03  1.604855e-02 -2.289011e-01 -3.001240e-01 -1.292790e-07  5.882062e-08
+ 6.337944e-03  1.617343e-02 -2.292687e-01 -3.001047e-01 -1.259926e-08  9.649016e-09
+ 6.337944e-03  1.629736e-02 -2.296344e-01 -3.000849e-01 -5.817979e-08  2.810822e-08
+ 6.337944e-03  1.642036e-02 -2.299979e-01 -3.000646e-01 -1.398662e-07  6.977984e-08
+ 6.337944e-03  1.654243e-02 -2.303590e-01 -3.000436e-01  7.384747e-08 -2.356752e-08
+ 6.337944e-03  1.666362e-02 -2.307177e-01 -3.000219e-01  7.600025e-08 -2.724864e-08
+ 6.337944e-03  1.678393e-02 -2.310738e-01 -2.999994e-01  7.966344e-09  8.369255e-11
+ 6.337944e-03  1.690338e-02 -2.314269e-01 -2.999760e-01 -2.182299e-08  3.575425e-08
+ 6.337944e-03  1.702200e-02 -2.317769e-01 -2.999517e-01  3.080315e-07  1.067511e-09
+ 6.337944e-03  1.713979e-02 -2.321239e-01 -2.999264e-01 -2.590869e-07 -8.686486e-08
+ 6.337944e-03  1.725678e-02 -2.324675e-01 -2.998999e-01  3.444778e-08 -1.801170e-09
+ 6.337944e-03  1.737298e-02 -2.328067e-01 -2.998722e-01  1.092611e-07 -9.992904e-08
+ 6.337944e-03  1.748841e-02 -2.331423e-01 -2.998431e-01  4.700077e-07  2.311176e-08
+ 6.337944e-03  1.760308e-02 -2.334747e-01 -2.998127e-01 -3.801360e-07  2.288463e-08
+ 6.337944e-03  1.771701e-02  4.004385e-01 -2.997807e-01 -1.128898e-07 -2.328921e-09
+ 6.337944e-03  1.783022e-02  4.005056e-01 -2.997471e-01 -5.924578e-07  3.529288e-08
+ 6.337944e-03  1.794270e-02  4.005766e-01 -2.997117e-01  4.044397e-07  2.855623e-08
+ 6.337944e-03  1.805449e-02  4.006516e-01 -2.996744e-01  8.560276e-08 -4.624310e-09
+ 6.337944e-03  1.816559e-02  4.007303e-01 -2.996351e-01  2.935930e-07 -3.854127e-09
+ 6.337944e-03  1.827602e-02  4.008131e-01 -2.995936e-01  6.929129e-07 -1.889143e-09
+ 6.337944e-03  1.838578e-02  4.009005e-01 -2.995498e-01 -1.955640e-07  1.292304e-09
+ 6.337944e-03  1.849489e-02  4.009929e-01 -2.995035e-01 -2.366575e-07  8.775266e-10
+ 6.337944e-03  1.860336e-02  4.010908e-01 -2.994545e-01 -1.901390e-09  3.407097e-10
+ 6.337944e-03  1.871120e-02  4.011943e-01 -2.994028e-01 -6.852449e-08  3.375316e-10
+ 6.337944e-03  1.881842e-02  4.013039e-01 -2.993480e-01 -6.376744e-08  8.568146e-10
+ 6.337944e-03  1.892503e-02  4.014200e-01 -2.992900e-01 -2.717825e-09 -6.349539e-10
+ 6.337944e-03  1.903105e-02  4.015428e-01 -2.992286e-01 -1.441689e-08 -1.025306e-09
+ 6.337944e-03  1.913648e-02  4.016730e-01 -2.991635e-01 -2.527182e-08 -2.479129e-10
+ 6.337944e-03  1.924133e-02  4.018110e-01 -2.990945e-01 -1.618644e-08  4.514155e-10
+ 6.337944e-03  1.934562e-02  4.019575e-01 -2.990213e-01 -2.631400e-09  8.741230e-12
+ 6.337944e-03  1.944934e-02  4.021129e-01 -2.989435e-01  2.252799e-09  3.387085e-10
+ 6.337944e-03  1.955252e-02  4.022781e-01 -2.988610e-01 -3.305315e-09 -5.670864e-11
+ 6.337944e-03  1.965515e-02  4.024537e-01 -2.987732e-01 -2.517329e-09 -1.090626e-09
+ 6.337944e-03  1.975725e-02  4.026406e-01 -2.986797e-01  1.085321e-09 -3.596645e-10
+ 6.337944e-03  1.985883e-02  4.028398e-01 -2.985801e-01 -4.661471e-10  2.343051e-10
+ 6.337944e-03  1.995989e-02  4.030524e-01 -2.984738e-01  1.710170e-09  2.020251e-10
+ 6.337944e-03  2.006044e-02  4.032799e-01 -2.983601e-01 -2.043598e-09 -1.506574e-10
+ 6.337944e-03  2.016048e-02  4.035239e-01 -2.982381e-01 -5.322777e-09 -9.185995e-10
+ 6.337944e-03  2.026004e-02  4.037865e-01 -2.981068e-01 -4.030575e-09  2.773325e-10
+ 6.337944e-03  2.035910e-02  4.040705e-01 -2.979648e-01 -3.435171e-10  1.754839e-10
+ 6.337944e-03  2.045769e-02  4.043795e-01 -2.978102e-01 -3.964952e-09 -1.022269e-09
+ 6.337944e-03  2.055580e-02  4.047190e-01 -2.976405e-01 -3.929840e-11 -5.312667e-11
+ 6.337944e-03  2.065345e-02  4.050970e-01 -2.974515e-01 -1.054830e-08  1.215914e-10
+ 6.337944e-03  2.075064e-02  4.055269e-01 -2.972365e-01 -3.994274e-09 -1.038365e-09
+ 6.337944e-03  2.084738e-02  4.060354e-01 -2.969823e-01  9.353727e-09 -6.638186e-10
+ 6.337944e-03  2.094367e-02  4.066891e-01 -2.966555e-01  1.357428e-07 -4.315459e-09
+ 6.337944e-03  2.103951e-02  4.078496e-01 -2.960752e-01 -5.089569e-08 -1.309974e-08
+ 6.337944e-03  2.113493e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.337944e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.078496e-01  2.960752e-01
+ 6.647243e-03  1.000000e-06 -2.083245e-01 -3.025255e-01  1.347039e-11  3.382866e-10
+ 6.647243e-03  2.006944e-03 -2.085655e-01 -3.024521e-01  4.344291e-09 -4.572784e-08
+ 6.647243e-03  2.837833e-03 -2.088092e-01 -3.023808e-01  1.308470e-08 -9.699890e-08
+ 6.647243e-03  3.475396e-03 -2.090558e-01 -3.023115e-01 -5.787641e-09  3.686788e-08
+ 6.647243e-03  4.012887e-03 -2.093053e-01 -3.022444e-01  3.040531e-08 -1.108874e-07
+ 6.647243e-03  4.486426e-03 -2.095579e-01 -3.021790e-01 -3.557877e-08  1.056383e-07
+ 6.647243e-03  4.914538e-03 -2.098134e-01 -3.021157e-01 -8.400913e-08  1.972819e-07
+ 6.647243e-03  5.308228e-03 -2.100719e-01 -3.020544e-01  1.386398e-08 -2.508558e-08
+ 6.647243e-03  5.674665e-03 -2.103337e-01 -3.019947e-01 -3.222536e-09  5.347669e-09
+ 6.647243e-03  6.018831e-03 -2.105986e-01 -3.019368e-01  3.244110e-09 -3.993281e-09
+ 6.647243e-03  6.344350e-03 -2.108667e-01 -3.018806e-01 -5.484751e-10  8.280830e-10
+ 6.647243e-03  6.653962e-03 -2.111381e-01 -3.018261e-01  1.149746e-09 -1.416634e-09
+ 6.647243e-03  6.949792e-03 -2.114128e-01 -3.017732e-01  5.771356e-10 -2.829604e-10
+ 6.647243e-03  7.233532e-03 -2.116907e-01 -3.017218e-01  9.680611e-10 -2.062603e-09
+ 6.647243e-03  7.506553e-03 -2.119719e-01 -3.016720e-01  2.277864e-09 -1.452847e-09
+ 6.647243e-03  7.769986e-03 -2.122564e-01 -3.016236e-01  1.064672e-09 -1.753575e-09
+ 6.647243e-03  8.024774e-03 -2.125443e-01 -3.015767e-01  7.240683e-10 -1.583387e-09
+ 6.647243e-03  8.271717e-03 -2.128355e-01 -3.015311e-01  2.077414e-09 -6.918069e-10
+ 6.647243e-03  8.511498e-03 -2.131300e-01 -3.014869e-01  9.193287e-10 -8.970432e-10
+ 6.647243e-03  8.744705e-03 -2.134278e-01 -3.014440e-01  4.233907e-09 -1.242604e-09
+ 6.647243e-03  8.971852e-03 -2.137289e-01 -3.014024e-01  1.430369e-09 -8.963751e-10
+ 6.647243e-03  9.193388e-03 -2.140332e-01 -3.013620e-01  2.245556e-09 -1.162764e-09
+ 6.647243e-03  9.409709e-03 -2.143408e-01 -3.013228e-01  3.734048e-09 -8.730308e-10
+ 6.647243e-03  9.621167e-03 -2.146517e-01 -3.012848e-01  1.921109e-09 -1.428713e-09
+ 6.647243e-03  9.828076e-03 -2.149656e-01 -3.012478e-01  3.393137e-09 -1.503007e-09
+ 6.647243e-03  1.003072e-02 -2.152827e-01 -3.012120e-01  2.078445e-09 -1.965581e-09
+ 6.647243e-03  1.022935e-02 -2.156029e-01 -3.011771e-01  1.284740e-09 -1.724101e-09
+ 6.647243e-03  1.042419e-02 -2.159261e-01 -3.011433e-01  3.859962e-09 -1.360269e-09
+ 6.647243e-03  1.061546e-02 -2.162523e-01 -3.011104e-01  7.973188e-10 -6.236914e-10
+ 6.647243e-03  1.080334e-02 -2.165813e-01 -3.010785e-01  4.442588e-10 -2.171111e-10
+ 6.647243e-03  1.098801e-02 -2.169132e-01 -3.010474e-01  8.593864e-09 -5.235274e-10
+ 6.647243e-03  1.116962e-02 -2.172479e-01 -3.010172e-01 -2.135044e-08  2.258186e-09
+ 6.647243e-03  1.134833e-02 -2.175852e-01 -3.009878e-01 -7.660388e-10 -1.527756e-11
+ 6.647243e-03  1.152427e-02 -2.179251e-01 -3.009593e-01  2.523610e-08 -1.429392e-09
+ 6.647243e-03  1.169756e-02 -2.182675e-01 -3.009314e-01  1.142171e-08 -8.066846e-10
+ 6.647243e-03  1.186832e-02 -2.186124e-01 -3.009043e-01 -3.535768e-09  3.747203e-11
+ 6.647243e-03  1.203666e-02 -2.189596e-01 -3.008778e-01  3.472905e-09  2.578552e-10
+ 6.647243e-03  1.220268e-02 -2.193090e-01 -3.008520e-01  7.460258e-09 -3.127265e-11
+ 6.647243e-03  1.236647e-02 -2.196605e-01 -3.008268e-01  8.000256e-09  3.288508e-11
+ 6.647243e-03  1.252811e-02 -2.200140e-01 -3.008022e-01  1.083157e-08  2.137309e-10
+ 6.647243e-03  1.268770e-02 -2.203695e-01 -3.007781e-01  1.440328e-09 -9.946560e-10
+ 6.647243e-03  1.284531e-02 -2.207267e-01 -3.007545e-01  5.936513e-10 -1.077759e-09
+ 6.647243e-03  1.300100e-02 -2.210857e-01 -3.007315e-01 -8.516480e-09 -1.411397e-09
+ 6.647243e-03  1.315485e-02 -2.214462e-01 -3.007088e-01 -3.647802e-09 -1.400429e-09
+ 6.647243e-03  1.330692e-02 -2.218087e-01 -3.006866e-01  2.297947e-07  4.932797e-09
+ 6.647243e-03  1.345728e-02 -2.221711e-01 -3.006646e-01  1.878707e-08 -2.580804e-09
+ 6.647243e-03  1.360597e-02 -2.225347e-01 -3.006431e-01  1.289460e-06  3.257046e-08
+ 6.647243e-03  1.375306e-02 -2.229014e-01 -3.006219e-01 -3.244539e-07 -8.222036e-09
+ 6.647243e-03  1.389858e-02 -2.232677e-01 -3.006009e-01 -3.238768e-08 -1.164841e-09
+ 6.647243e-03  1.404260e-02 -2.236349e-01 -3.005801e-01  6.961304e-09 -5.253559e-11
+ 6.647243e-03  1.418516e-02 -2.240027e-01 -3.005596e-01  1.199494e-08 -7.240397e-11
+ 6.647243e-03  1.432630e-02 -2.243711e-01 -3.005392e-01  1.311375e-08 -1.903339e-11
+ 6.647243e-03  1.446606e-02 -2.247398e-01 -3.005189e-01  4.793642e-09 -1.171254e-10
+ 6.647243e-03  1.460449e-02 -2.251087e-01 -3.004987e-01 -8.510816e-09 -2.208287e-10
+ 6.647243e-03  1.474161e-02 -2.254777e-01 -3.004785e-01 -1.372737e-08 -2.917943e-10
+ 6.647243e-03  1.487748e-02 -2.258466e-01 -3.004584e-01  5.124976e-10 -5.834082e-10
+ 6.647243e-03  1.501211e-02 -2.262153e-01 -3.004382e-01 -1.397646e-09 -1.687028e-11
+ 6.647243e-03  1.514554e-02 -2.265835e-01 -3.004179e-01  6.967556e-09 -3.237205e-10
+ 6.647243e-03  1.527781e-02 -2.269512e-01 -3.003975e-01  8.737280e-10 -1.900048e-10
+ 6.647243e-03  1.540894e-02 -2.273182e-01 -3.003769e-01  1.377391e-09 -3.573011e-10
+ 6.647243e-03  1.553897e-02 -2.276843e-01 -3.003560e-01  2.949403e-09 -1.047725e-09
+ 6.647243e-03  1.566792e-02 -2.280493e-01 -3.003350e-01  1.419331e-08  5.279782e-11
+ 6.647243e-03  1.579582e-02 -2.284131e-01 -3.003135e-01  1.381922e-09 -1.558889e-09
+ 6.647243e-03  1.592268e-02 -2.287755e-01 -3.002918e-01  1.530379e-10 -5.843817e-10
+ 6.647243e-03  1.604855e-02 -2.291364e-01 -3.002695e-01  2.338956e-08 -4.952822e-09
+ 6.647243e-03  1.617343e-02 -2.294955e-01 -3.002468e-01  1.303883e-08 -1.718928e-09
+ 6.647243e-03  1.629736e-02 -2.298527e-01 -3.002236e-01  3.764643e-09 -3.572223e-09
+ 6.647243e-03  1.642036e-02 -2.302078e-01 -3.001997e-01  4.592617e-08 -2.340394e-09
+ 6.647243e-03  1.654243e-02 -2.305606e-01 -3.001752e-01  4.856559e-08 -2.566647e-08
+ 6.647243e-03  1.666362e-02 -2.309109e-01 -3.001499e-01  4.098306e-08 -1.821478e-08
+ 6.647243e-03  1.678393e-02 -2.312586e-01 -3.001238e-01  3.396032e-08  7.814253e-08
+ 6.647243e-03  1.690338e-02 -2.316036e-01 -3.000968e-01 -2.527339e-08  2.836350e-10
+ 6.647243e-03  1.702200e-02 -2.319456e-01 -3.000688e-01 -4.402199e-07  9.409431e-08
+ 6.647243e-03  1.713979e-02 -2.322843e-01 -3.000399e-01 -1.514414e-07 -3.186218e-08
+ 6.647243e-03  1.725678e-02 -2.326193e-01 -3.000098e-01 -6.028959e-07 -4.530773e-09
+ 6.647243e-03  1.737298e-02 -2.329500e-01 -2.999784e-01  1.489576e-06 -1.077967e-08
+ 6.647243e-03  1.748841e-02 -2.332781e-01 -2.999457e-01  1.353995e-07 -3.777339e-08
+ 6.647243e-03  1.760308e-02 -2.336024e-01 -2.999117e-01 -1.328175e-07 -4.358054e-08
+ 6.647243e-03  1.771701e-02 -2.339210e-01 -2.998760e-01  8.651308e-07 -5.942310e-08
+ 6.647243e-03  1.783022e-02 -2.342365e-01 -2.998387e-01 -2.307659e-08  9.016715e-08
+ 6.647243e-03  1.794270e-02 -2.345460e-01 -2.997997e-01 -5.041017e-09  9.649949e-10
+ 6.647243e-03  1.805449e-02  4.004829e-01 -2.997589e-01  6.545247e-07 -9.212709e-09
+ 6.647243e-03  1.816559e-02 -2.351518e-01 -2.997160e-01  8.038808e-07 -3.389032e-09
+ 6.647243e-03  1.827602e-02 -2.354470e-01 -2.996710e-01 -3.192800e-07 -1.078639e-10
+ 6.647243e-03  1.838578e-02  4.007523e-01 -2.996238e-01 -2.567733e-07  1.884218e-09
+ 6.647243e-03  1.849489e-02  4.008517e-01 -2.995741e-01 -3.025106e-10  5.315667e-10
+ 6.647243e-03  1.860336e-02  4.009562e-01 -2.995218e-01 -8.840774e-08  1.075252e-09
+ 6.647243e-03  1.871120e-02  4.010663e-01 -2.994668e-01 -4.279184e-08  8.185294e-10
+ 6.647243e-03  1.881842e-02  4.011822e-01 -2.994089e-01 -3.022079e-10  3.625268e-10
+ 6.647243e-03  1.892503e-02  4.013042e-01 -2.993479e-01 -2.780098e-08  3.219067e-10
+ 6.647243e-03  1.903105e-02  4.014329e-01 -2.992836e-01 -3.572820e-08 -6.187311e-10
+ 6.647243e-03  1.913648e-02  4.015686e-01 -2.992157e-01 -1.312598e-08 -8.491750e-10
+ 6.647243e-03  1.924133e-02  4.017118e-01 -2.991441e-01 -1.493693e-09  1.091814e-10
+ 6.647243e-03  1.934562e-02  4.018631e-01 -2.990684e-01 -8.095156e-10  2.390396e-10
+ 6.647243e-03  1.944934e-02  4.020229e-01 -2.989885e-01 -4.679305e-09  5.426892e-11
+ 6.647243e-03  1.955252e-02  4.021919e-01 -2.989040e-01 -1.239083e-08  3.423188e-10
+ 6.647243e-03  1.965515e-02  4.023708e-01 -2.988146e-01 -1.312762e-08 -6.106761e-10
+ 6.647243e-03  1.975725e-02  4.025603e-01 -2.987198e-01 -6.139427e-09 -9.197621e-10
+ 6.647243e-03  1.985883e-02  4.027612e-01 -2.986194e-01 -8.289879e-09  1.207478e-10
+ 6.647243e-03  1.995989e-02  4.029746e-01 -2.985127e-01 -2.934277e-09  4.315676e-11
+ 6.647243e-03  2.006044e-02  4.032016e-01 -2.983992e-01  2.094312e-09  7.154266e-11
+ 6.647243e-03  2.016048e-02  4.034436e-01 -2.982782e-01 -6.068426e-09 -1.015159e-09
+ 6.647243e-03  2.026004e-02  4.037022e-01 -2.981489e-01 -7.681657e-09  2.025873e-10
+ 6.647243e-03  2.035910e-02  4.039798e-01 -2.980101e-01  3.296989e-09 -1.637206e-10
+ 6.647243e-03  2.045769e-02  4.042789e-01 -2.978605e-01 -2.877730e-08  2.307953e-10
+ 6.647243e-03  2.055580e-02  4.046036e-01 -2.976982e-01  5.720907e-09 -1.449893e-10
+ 6.647243e-03  2.065345e-02  4.049594e-01 -2.975203e-01 -2.780751e-08  4.781294e-10
+ 6.647243e-03  2.075064e-02  4.053550e-01 -2.973225e-01  1.081915e-08 -1.184387e-09
+ 6.647243e-03  2.084738e-02  4.058055e-01 -2.970972e-01 -3.842957e-09 -4.317224e-11
+ 6.647243e-03  2.094367e-02  4.063417e-01 -2.968291e-01 -5.074863e-08 -5.312701e-10
+ 6.647243e-03  2.103951e-02  4.070510e-01 -2.964745e-01 -5.871011e-08  1.402404e-09
+ 6.647243e-03  2.113493e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.070511e-01  2.964745e-01
+ 6.647243e-03  2.398860e-02  4.171776e-01 -2.914147e-01 -4.987285e-06 -8.975173e-06
+ 6.647243e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.647243e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.171826e-01  2.914057e-01
+ 6.942775e-03  1.000000e-06 -2.090680e-01 -3.027800e-01  1.628660e-09  2.095765e-10
+ 6.942775e-03  2.006944e-03 -2.093023e-01 -3.027063e-01 -9.777975e-10  1.653633e-08
+ 6.942775e-03  2.837833e-03 -2.095393e-01 -3.026349e-01  1.956907e-09 -3.009120e-09
+ 6.942775e-03  3.475396e-03 -2.097791e-01 -3.025654e-01 -9.488839e-10  5.158588e-09
+ 6.942775e-03  4.012887e-03 -2.100218e-01 -3.024980e-01  1.823048e-09  6.175438e-11
+ 6.942775e-03  4.486426e-03 -2.102674e-01 -3.024324e-01 -2.826393e-08  8.973704e-08
+ 6.942775e-03  4.914538e-03 -2.105161e-01 -3.023686e-01 -1.178100e-08  3.560044e-08
+ 6.942775e-03  5.308228e-03 -2.107677e-01 -3.023071e-01  6.328484e-08 -1.391784e-07
+ 6.942775e-03  5.674665e-03 -2.110225e-01 -3.022471e-01  7.863719e-09 -1.212700e-08
+ 6.942775e-03  6.018831e-03 -2.112804e-01 -3.021887e-01  1.159829e-08 -2.050377e-08
+ 6.942775e-03  6.344350e-03 -2.115415e-01 -3.021321e-01  3.957267e-09 -5.394226e-09
+ 6.942775e-03  6.653962e-03 -2.118057e-01 -3.020771e-01  4.671109e-09 -6.644838e-09
+ 6.942775e-03  6.949792e-03 -2.120732e-01 -3.020236e-01  1.689308e-09 -1.647648e-09
+ 6.942775e-03  7.233532e-03 -2.123439e-01 -3.019717e-01  2.032546e-09 -3.190143e-09
+ 6.942775e-03  7.506553e-03 -2.126178e-01 -3.019213e-01  2.325628e-10 -8.103599e-10
+ 6.942775e-03  7.769986e-03 -2.128950e-01 -3.018722e-01  2.062088e-09 -8.265165e-10
+ 6.942775e-03  8.024774e-03 -2.131755e-01 -3.018246e-01  1.638623e-10  5.198370e-11
+ 6.942775e-03  8.271717e-03 -2.134592e-01 -3.017783e-01  2.296515e-09 -2.824216e-10
+ 6.942775e-03  8.511498e-03 -2.137462e-01 -3.017333e-01 -4.065912e-10 -8.788421e-10
+ 6.942775e-03  8.744705e-03 -2.140364e-01 -3.016896e-01 -5.023335e-10 -1.201017e-09
+ 6.942775e-03  8.971852e-03 -2.143299e-01 -3.016471e-01 -1.244803e-10 -1.335294e-09
+ 6.942775e-03  9.193388e-03 -2.146266e-01 -3.016057e-01  1.703091e-09 -6.784151e-10
+ 6.942775e-03  9.409709e-03 -2.149264e-01 -3.015655e-01  3.463385e-09 -6.123315e-10
+ 6.942775e-03  9.621167e-03 -2.152295e-01 -3.015264e-01  6.051764e-10 -4.163823e-10
+ 6.942775e-03  9.828076e-03 -2.155356e-01 -3.014883e-01  1.674999e-09 -7.151770e-10
+ 6.942775e-03  1.003072e-02 -2.158448e-01 -3.014513e-01  3.855203e-09 -9.271557e-10
+ 6.942775e-03  1.022935e-02 -2.161571e-01 -3.014152e-01  2.381590e-09 -1.000981e-09
+ 6.942775e-03  1.042419e-02 -2.164723e-01 -3.013801e-01  1.965081e-09 -5.510220e-10
+ 6.942775e-03  1.061546e-02 -2.167905e-01 -3.013459e-01  3.109341e-09 -5.266730e-10
+ 6.942775e-03  1.080334e-02 -2.171115e-01 -3.013126e-01  1.362865e-08 -1.503360e-09
+ 6.942775e-03  1.098801e-02 -2.174353e-01 -3.012800e-01 -3.088595e-10 -4.794699e-10
+ 6.942775e-03  1.116962e-02 -2.177618e-01 -3.012483e-01  1.293538e-08 -1.130439e-09
+ 6.942775e-03  1.134833e-02 -2.180910e-01 -3.012174e-01  2.337504e-09 -1.210134e-09
+ 6.942775e-03  1.152427e-02 -2.184227e-01 -3.011872e-01  2.943506e-08 -4.472493e-09
+ 6.942775e-03  1.169756e-02 -2.187570e-01 -3.011576e-01  2.183088e-09 -1.347622e-09
+ 6.942775e-03  1.186832e-02 -2.190936e-01 -3.011287e-01 -1.920807e-09 -5.155071e-10
+ 6.942775e-03  1.203666e-02 -2.194325e-01 -3.011005e-01 -1.568495e-09 -6.763985e-10
+ 6.942775e-03  1.220268e-02 -2.197736e-01 -3.010728e-01  3.220704e-09 -1.294940e-10
+ 6.942775e-03  1.236647e-02 -2.201169e-01 -3.010457e-01  2.298102e-09  1.621901e-10
+ 6.942775e-03  1.252811e-02 -2.204621e-01 -3.010191e-01 -1.758955e-10 -3.434585e-10
+ 6.942775e-03  1.268770e-02 -2.208092e-01 -3.009930e-01  6.842476e-09  1.169153e-10
+ 6.942775e-03  1.284531e-02 -2.211581e-01 -3.009673e-01 -9.925240e-10 -3.723147e-10
+ 6.942775e-03  1.300100e-02 -2.215087e-01 -3.009421e-01 -1.391923e-08 -6.973295e-10
+ 6.942775e-03  1.315485e-02 -2.218620e-01 -3.009172e-01 -5.009216e-07 -1.533442e-08
+ 6.942775e-03  1.330692e-02 -2.222144e-01 -3.008927e-01  5.482319e-08 -4.179028e-09
+ 6.942775e-03  1.345728e-02 -2.225682e-01 -3.008684e-01  2.175656e-06  6.434423e-08
+ 6.942775e-03  1.360597e-02 -2.229255e-01 -3.008445e-01 -2.080000e-07 -5.890390e-09
+ 6.942775e-03  1.375306e-02 -2.232825e-01 -3.008209e-01 -1.730682e-08 -5.746986e-10
+ 6.942775e-03  1.389858e-02 -2.236405e-01 -3.007974e-01  1.178407e-08 -2.474762e-10
+ 6.942775e-03  1.404260e-02 -2.239993e-01 -3.007741e-01 -1.707799e-09 -6.519612e-10
+ 6.942775e-03  1.418516e-02 -2.243589e-01 -3.007509e-01 -2.098042e-07 -2.954555e-09
+ 6.942775e-03  1.432630e-02 -2.247187e-01 -3.007279e-01  3.994192e-08 -8.843226e-10
+ 6.942775e-03  1.446606e-02 -2.250790e-01 -3.007049e-01 -4.388067e-09 -1.335398e-09
+ 6.942775e-03  1.460449e-02 -2.254395e-01 -3.006819e-01  4.087813e-09  2.993377e-09
+ 6.942775e-03  1.474161e-02 -2.258001e-01 -3.006589e-01 -7.106865e-10 -1.171810e-09
+ 6.942775e-03  1.487748e-02 -2.261606e-01 -3.006359e-01  2.680769e-09 -6.839809e-10
+ 6.942775e-03  1.501211e-02 -2.265209e-01 -3.006128e-01  4.270124e-09 -5.827694e-10
+ 6.942775e-03  1.514554e-02 -2.268807e-01 -3.005895e-01 -5.429243e-10 -5.674516e-11
+ 6.942775e-03  1.527781e-02 -2.272400e-01 -3.005661e-01 -8.775342e-11 -1.745432e-10
+ 6.942775e-03  1.540894e-02 -2.275986e-01 -3.005425e-01  1.356558e-08  4.993039e-11
+ 6.942775e-03  1.553897e-02 -2.279563e-01 -3.005185e-01  1.422117e-09  5.184841e-11
+ 6.942775e-03  1.566792e-02 -2.283130e-01 -3.004943e-01 -1.543085e-10 -6.187162e-11
+ 6.942775e-03  1.579582e-02 -2.286684e-01 -3.004697e-01  1.135748e-08 -7.180719e-10
+ 6.942775e-03  1.592268e-02 -2.290225e-01 -3.004447e-01  9.322494e-09  1.469547e-10
+ 6.942775e-03  1.604855e-02 -2.293750e-01 -3.004192e-01 -8.242160e-11  4.936153e-10
+ 6.942775e-03  1.617343e-02 -2.297258e-01 -3.003932e-01  3.035252e-08  6.729173e-12
+ 6.942775e-03  1.629736e-02 -2.300748e-01 -3.003666e-01  1.217561e-08 -1.428943e-09
+ 6.942775e-03  1.642036e-02 -2.304216e-01 -3.003394e-01  1.003461e-08  1.844251e-10
+ 6.942775e-03  1.654243e-02 -2.307661e-01 -3.003115e-01  4.471860e-08  3.374606e-11
+ 6.942775e-03  1.666362e-02 -2.311082e-01 -3.002828e-01  2.353852e-07 -3.483410e-09
+ 6.942775e-03  1.678393e-02 -2.314479e-01 -3.002532e-01 -3.209700e-07  1.355533e-09
+ 6.942775e-03  1.690338e-02 -2.317849e-01 -3.002228e-01  3.163733e-08 -5.025021e-09
+ 6.942775e-03  1.702200e-02 -2.321186e-01 -3.001914e-01 -6.500106e-07  8.923076e-09
+ 6.942775e-03  1.713979e-02 -2.324488e-01 -3.001589e-01  1.403827e-07 -5.599638e-08
+ 6.942775e-03  1.725678e-02 -2.327762e-01 -3.001252e-01 -3.598543e-07  3.893702e-08
+ 6.942775e-03  1.737298e-02 -2.330990e-01 -3.000902e-01  1.277867e-06  3.856202e-08
+ 6.942775e-03  1.748841e-02 -2.334194e-01 -3.000541e-01 -4.405818e-07  3.926700e-08
+ 6.942775e-03  1.760308e-02 -2.337359e-01 -3.000165e-01 -7.061087e-07 -1.932162e-08
+ 6.942775e-03  1.771701e-02 -2.340470e-01 -2.999774e-01  1.973590e-07  2.351774e-08
+ 6.942775e-03  1.783022e-02 -2.343538e-01 -2.999367e-01  2.876599e-07 -1.120889e-07
+ 6.942775e-03  1.794270e-02 -2.346565e-01 -2.998943e-01  8.739336e-07 -2.851325e-08
+ 6.942775e-03  1.805449e-02 -2.349549e-01 -2.998498e-01  2.467051e-07  2.667725e-08
+ 6.942775e-03  1.816559e-02 -2.352481e-01 -2.998035e-01 -3.931412e-07 -8.027224e-10
+ 6.942775e-03  1.827602e-02 -2.355359e-01 -2.997552e-01 -1.014687e-07 -9.292664e-10
+ 6.942775e-03  1.838578e-02  4.005906e-01 -2.997046e-01 -1.409770e-08 -1.127882e-09
+ 6.942775e-03  1.849489e-02 -2.360945e-01 -2.996516e-01 -1.177525e-07  1.303797e-09
+ 6.942775e-03  1.860336e-02 -2.363650e-01 -2.995961e-01  4.630133e-09  1.155623e-09
+ 6.942775e-03  1.871120e-02  4.009241e-01 -2.995379e-01 -2.907837e-08  2.092602e-09
+ 6.942775e-03  1.881842e-02  4.010461e-01 -2.994770e-01 -4.279230e-08  5.164177e-10
+ 6.942775e-03  1.892503e-02  4.011741e-01 -2.994129e-01 -2.578952e-08  8.320986e-10
+ 6.942775e-03  1.903105e-02  4.013085e-01 -2.993457e-01 -1.068683e-08  9.033410e-10
+ 6.942775e-03  1.913648e-02  4.014497e-01 -2.992751e-01  2.151893e-09 -8.582590e-10
+ 6.942775e-03  1.924133e-02  4.015982e-01 -2.992009e-01 -8.556475e-09 -6.515934e-10
+ 6.942775e-03  1.934562e-02  4.017544e-01 -2.991228e-01 -2.110682e-08  2.955430e-11
+ 6.942775e-03  1.944934e-02  4.019187e-01 -2.990406e-01 -2.458273e-08  5.287731e-10
+ 6.942775e-03  1.955252e-02  4.020918e-01 -2.989541e-01 -2.195888e-08  3.106347e-10
+ 6.942775e-03  1.965515e-02  4.022743e-01 -2.988629e-01 -2.065931e-08  2.383741e-10
+ 6.942775e-03  1.975725e-02  4.024667e-01 -2.987666e-01 -1.381952e-08 -7.662385e-10
+ 6.942775e-03  1.985883e-02  4.026699e-01 -2.986650e-01 -1.895872e-08  6.996198e-11
+ 6.942775e-03  1.995989e-02  4.028847e-01 -2.985576e-01 -1.387998e-08  2.769117e-10
+ 6.942775e-03  2.006044e-02  4.031121e-01 -2.984439e-01  1.497638e-09  4.268371e-10
+ 6.942775e-03  2.016048e-02  4.033532e-01 -2.983234e-01  1.289118e-10 -7.756397e-10
+ 6.942775e-03  2.026004e-02  4.036095e-01 -2.981952e-01 -1.146889e-08 -3.016334e-10
+ 6.942775e-03  2.035910e-02  4.038826e-01 -2.980587e-01 -1.516173e-08  7.264734e-10
+ 6.942775e-03  2.045769e-02  4.041748e-01 -2.979126e-01 -2.595522e-08 -1.189961e-10
+ 6.942775e-03  2.055580e-02  4.044888e-01 -2.977556e-01 -4.321209e-09 -1.283963e-09
+ 6.942775e-03  2.065345e-02  4.048289e-01 -2.975856e-01  1.330649e-07 -6.330988e-09
+ 6.942775e-03  2.075064e-02  4.052006e-01 -2.973998e-01  1.271506e-07 -1.700616e-09
+ 6.942775e-03  2.084738e-02  4.056133e-01 -2.971934e-01  2.440404e-08 -4.196961e-10
+ 6.942775e-03  2.094367e-02  4.060837e-01 -2.969581e-01 -2.815492e-10  3.552074e-10
+ 6.942775e-03  2.103951e-02  4.066478e-01 -2.966761e-01  1.511438e-08 -3.793445e-10
+ 6.942775e-03  2.113493e-02  4.074221e-01 -2.962889e-01  1.622233e-08 -1.876057e-09
+ 6.942775e-03  2.122991e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 6.942775e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.074221e-01  2.962889e-01
+ 7.226228e-03  1.000000e-06 -2.098051e-01 -3.030331e-01 -1.936343e-11  5.950695e-11
+ 7.226228e-03  2.006944e-03 -2.100328e-01 -3.029593e-01  1.178816e-09  1.019162e-08
+ 7.226228e-03  2.837833e-03 -2.102631e-01 -3.028877e-01  1.098997e-08 -9.847652e-08
+ 7.226228e-03  3.475396e-03 -2.104961e-01 -3.028181e-01  2.324748e-08 -1.270842e-07
+ 7.226228e-03  4.012887e-03 -2.107321e-01 -3.027504e-01 -2.349940e-08  1.030923e-07
+ 7.226228e-03  4.486426e-03 -2.109710e-01 -3.026847e-01  3.068593e-08 -1.017514e-07
+ 7.226228e-03  4.914538e-03 -2.112129e-01 -3.026206e-01 -1.056858e-07  3.011005e-07
+ 7.226228e-03  5.308228e-03 -2.114578e-01 -3.025585e-01 -1.342987e-07  3.284129e-07
+ 7.226228e-03  5.674665e-03 -2.117056e-01 -3.024984e-01  8.659487e-08 -1.794380e-07
+ 7.226228e-03  6.018831e-03 -2.119567e-01 -3.024397e-01  1.487032e-08 -2.285513e-08
+ 7.226228e-03  6.344350e-03 -2.122108e-01 -3.023827e-01  2.304997e-08 -3.860740e-08
+ 7.226228e-03  6.653962e-03 -2.124680e-01 -3.023272e-01  1.015135e-08 -1.149791e-08
+ 7.226228e-03  6.949792e-03 -2.127284e-01 -3.022733e-01  1.144436e-08 -1.567409e-08
+ 7.226228e-03  7.233532e-03 -2.129920e-01 -3.022208e-01  7.265775e-09 -7.283589e-09
+ 7.226228e-03  7.506553e-03 -2.132588e-01 -3.021698e-01  6.491366e-09 -8.816777e-09
+ 7.226228e-03  7.769986e-03 -2.135288e-01 -3.021202e-01  4.495849e-09 -4.469856e-09
+ 7.226228e-03  8.024774e-03 -2.138021e-01 -3.020719e-01  2.824617e-09 -4.049695e-09
+ 7.226228e-03  8.271717e-03 -2.140785e-01 -3.020249e-01  1.748956e-09 -1.590779e-09
+ 7.226228e-03  8.511498e-03 -2.143581e-01 -3.019791e-01  3.757361e-09 -1.509069e-09
+ 7.226228e-03  8.744705e-03 -2.146409e-01 -3.019346e-01  7.025212e-10 -5.401968e-10
+ 7.226228e-03  8.971852e-03 -2.149269e-01 -3.018912e-01  2.552088e-09 -4.147790e-10
+ 7.226228e-03  9.193388e-03 -2.152161e-01 -3.018489e-01 -2.234253e-10  6.542372e-11
+ 7.226228e-03  9.409709e-03 -2.155084e-01 -3.018078e-01 -1.257592e-10  2.890899e-11
+ 7.226228e-03  9.621167e-03 -2.158038e-01 -3.017677e-01  1.781338e-09 -4.481758e-10
+ 7.226228e-03  9.828076e-03 -2.161022e-01 -3.017285e-01  9.311442e-10 -1.000983e-09
+ 7.226228e-03  1.003072e-02 -2.164037e-01 -3.016904e-01  3.864857e-09 -1.731465e-09
+ 7.226228e-03  1.022935e-02 -2.167082e-01 -3.016531e-01  1.582118e-09 -1.556670e-09
+ 7.226228e-03  1.042419e-02 -2.170156e-01 -3.016168e-01  1.962078e-09 -1.534762e-09
+ 7.226228e-03  1.061546e-02 -2.173259e-01 -3.015813e-01  1.162590e-08 -1.804128e-09
+ 7.226228e-03  1.080334e-02 -2.176390e-01 -3.015466e-01  1.758255e-09 -6.602341e-10
+ 7.226228e-03  1.098801e-02 -2.179549e-01 -3.015127e-01  4.235473e-09 -2.726630e-09
+ 7.226228e-03  1.116962e-02 -2.182735e-01 -3.014796e-01 -3.891160e-09  1.113071e-09
+ 7.226228e-03  1.134833e-02 -2.185946e-01 -3.014471e-01  5.675793e-09 -1.242945e-09
+ 7.226228e-03  1.152427e-02 -2.189184e-01 -3.014153e-01 -5.528159e-09  4.608048e-10
+ 7.226228e-03  1.169756e-02 -2.192446e-01 -3.013842e-01 -1.913126e-08 -8.302198e-09
+ 7.226228e-03  1.186832e-02 -2.195731e-01 -3.013536e-01 -1.370806e-09  1.785729e-10
+ 7.226228e-03  1.203666e-02 -2.199039e-01 -3.013236e-01  6.561166e-10  4.478551e-11
+ 7.226228e-03  1.220268e-02 -2.202369e-01 -3.012942e-01  2.470031e-09 -6.693812e-10
+ 7.226228e-03  1.236647e-02 -2.205719e-01 -3.012652e-01  4.435827e-09 -9.739117e-10
+ 7.226228e-03  1.252811e-02 -2.209090e-01 -3.012367e-01  3.289313e-08  4.031653e-10
+ 7.226228e-03  1.268770e-02 -2.212479e-01 -3.012086e-01  1.149652e-07  2.446418e-09
+ 7.226228e-03  1.284531e-02 -2.215884e-01 -3.011809e-01  6.150611e-07  1.989942e-08
+ 7.226228e-03  1.300100e-02 -2.219323e-01 -3.011537e-01 -2.455449e-06 -8.518795e-08
+ 7.226228e-03  1.315485e-02 -2.222753e-01 -3.011266e-01 -6.032683e-07 -2.173444e-08
+ 7.226228e-03  1.330692e-02 -2.226194e-01 -3.010999e-01  1.411139e-06  4.641043e-08
+ 7.226228e-03  1.345728e-02 -2.229669e-01 -3.010735e-01 -1.719655e-08 -7.405532e-10
+ 7.226228e-03  1.360597e-02 -2.233147e-01 -3.010473e-01  2.542081e-09  5.474082e-11
+ 7.226228e-03  1.375306e-02 -2.236636e-01 -3.010213e-01  5.921853e-09  1.230681e-10
+ 7.226228e-03  1.389858e-02 -2.240133e-01 -3.009954e-01  6.263988e-08  7.996617e-10
+ 7.226228e-03  1.404260e-02 -2.243639e-01 -3.009697e-01  6.807609e-08  7.356664e-10
+ 7.226228e-03  1.418516e-02 -2.247149e-01 -3.009440e-01  2.641801e-08  1.704756e-10
+ 7.226228e-03  1.432630e-02 -2.250667e-01 -3.009184e-01 -1.067334e-08 -9.301548e-11
+ 7.226228e-03  1.446606e-02 -2.254187e-01 -3.008928e-01  4.558219e-10  1.891859e-11
+ 7.226228e-03  1.460449e-02 -2.257710e-01 -3.008672e-01 -9.856229e-09 -3.019957e-10
+ 7.226228e-03  1.474161e-02 -2.261233e-01 -3.008415e-01  7.356810e-09 -3.845696e-11
+ 7.226228e-03  1.487748e-02 -2.264755e-01 -3.008157e-01 -8.429522e-10 -3.422591e-10
+ 7.226228e-03  1.501211e-02 -2.268275e-01 -3.007898e-01 -3.457670e-10 -7.753704e-10
+ 7.226228e-03  1.514554e-02 -2.271791e-01 -3.007637e-01  6.311680e-09 -9.974656e-10
+ 7.226228e-03  1.527781e-02 -2.275302e-01 -3.007374e-01  8.164290e-09 -9.343193e-10
+ 7.226228e-03  1.540894e-02 -2.278805e-01 -3.007108e-01 -5.497766e-10 -7.300971e-10
+ 7.226228e-03  1.553897e-02 -2.282300e-01 -3.006839e-01  9.177490e-09 -1.335994e-09
+ 7.226228e-03  1.566792e-02 -2.285785e-01 -3.006566e-01  9.758545e-09 -7.541947e-10
+ 7.226228e-03  1.579582e-02 -2.289257e-01 -3.006290e-01  6.209791e-10 -6.483207e-10
+ 7.226228e-03  1.592268e-02 -2.292716e-01 -3.006008e-01  2.023585e-08  3.148866e-10
+ 7.226228e-03  1.604855e-02 -2.296160e-01 -3.005722e-01  1.413228e-08 -1.277860e-09
+ 7.226228e-03  1.617343e-02 -2.299587e-01 -3.005431e-01  7.678129e-09  2.347863e-10
+ 7.226228e-03  1.629736e-02 -2.302994e-01 -3.005133e-01  6.238302e-09 -8.644940e-10
+ 7.226228e-03  1.642036e-02 -2.306381e-01 -3.004828e-01  2.273681e-07 -2.124233e-09
+ 7.226228e-03  1.654243e-02 -2.309747e-01 -3.004516e-01 -1.845320e-07  5.002706e-09
+ 7.226228e-03  1.666362e-02 -2.313091e-01 -3.004196e-01 -7.033477e-08 -1.078978e-09
+ 7.226228e-03  1.678393e-02 -2.316407e-01 -3.003868e-01 -3.250872e-07  3.083939e-08
+ 7.226228e-03  1.690338e-02 -2.319694e-01 -3.003530e-01 -3.066764e-07  1.738302e-08
+ 7.226228e-03  1.702200e-02 -2.322949e-01 -3.003183e-01  3.150795e-07 -6.995032e-08
+ 7.226228e-03  1.713979e-02 -2.326176e-01 -3.002823e-01 -1.423998e-08 -1.050875e-08
+ 7.226228e-03  1.725678e-02 -2.329372e-01 -3.002453e-01 -5.816700e-08 -1.418159e-08
+ 7.226228e-03  1.737298e-02 -2.332521e-01 -3.002070e-01  1.362845e-06  7.045740e-08
+ 7.226228e-03  1.748841e-02 -2.335652e-01 -3.001675e-01  5.347846e-07 -1.093347e-08
+ 7.226228e-03  1.760308e-02 -2.338738e-01 -3.001264e-01 -9.439005e-07  1.089144e-07
+ 7.226228e-03  1.771701e-02 -2.341773e-01 -3.000839e-01  3.448431e-07  2.516830e-08
+ 7.226228e-03  1.783022e-02 -2.344772e-01 -3.000399e-01  8.015599e-07 -6.088089e-08
+ 7.226228e-03  1.794270e-02 -2.347729e-01 -2.999940e-01 -1.748639e-07  1.996406e-09
+ 7.226228e-03  1.805449e-02 -2.350637e-01 -2.999463e-01 -1.706170e-07 -4.633386e-08
+ 7.226228e-03  1.816559e-02 -2.353493e-01 -2.998968e-01  6.525133e-08 -1.241342e-08
+ 7.226228e-03  1.827602e-02 -2.356302e-01 -2.998450e-01 -2.375848e-07  6.135329e-08
+ 7.226228e-03  1.838578e-02 -2.359055e-01 -2.997912e-01 -6.459290e-08  7.826606e-09
+ 7.226228e-03  1.849489e-02 -2.361752e-01 -2.997350e-01 -4.438699e-08  1.039573e-08
+ 7.226228e-03  1.860336e-02 -2.364391e-01 -2.996764e-01 -8.706414e-09  7.597470e-10
+ 7.226228e-03  1.871120e-02 -2.366970e-01 -2.996151e-01 -6.132794e-08  3.545403e-10
+ 7.226228e-03  1.881842e-02 -2.369485e-01 -2.995511e-01  4.255266e-09  4.740833e-10
+ 7.226228e-03  1.892503e-02 -2.371934e-01 -2.994842e-01  4.116185e-09  4.232203e-10
+ 7.226228e-03  1.903105e-02  4.011717e-01 -2.994141e-01 -1.025963e-08  1.167443e-10
+ 7.226228e-03  1.913648e-02  4.013184e-01 -2.993408e-01 -4.604559e-08  7.806422e-11
+ 7.226228e-03  1.924133e-02  4.014721e-01 -2.992640e-01 -2.504099e-08 -9.343702e-10
+ 7.226228e-03  1.934562e-02  4.016331e-01 -2.991834e-01 -2.860482e-08 -7.411808e-10
+ 7.226228e-03  1.944934e-02  4.018021e-01 -2.990990e-01 -1.948683e-08  7.741064e-10
+ 7.226228e-03  1.955252e-02  4.019794e-01 -2.990103e-01 -6.596934e-09  5.601991e-11
+ 7.226228e-03  1.965515e-02  4.021656e-01 -2.989172e-01 -1.108462e-08  2.874804e-10
+ 7.226228e-03  1.975725e-02  4.023613e-01 -2.988194e-01 -8.523375e-09 -4.698632e-10
+ 7.226228e-03  1.985883e-02  4.025672e-01 -2.987164e-01 -1.434666e-08 -6.562696e-10
+ 7.226228e-03  1.995989e-02  4.027839e-01 -2.986080e-01 -1.954977e-08  5.789503e-10
+ 7.226228e-03  2.006044e-02  4.030124e-01 -2.984938e-01 -9.894244e-09  1.620937e-10
+ 7.226228e-03  2.016048e-02  4.032536e-01 -2.983732e-01 -5.936257e-09 -5.605194e-11
+ 7.226228e-03  2.026004e-02  4.035087e-01 -2.982456e-01 -1.416786e-09 -8.159444e-10
+ 7.226228e-03  2.035910e-02  4.037791e-01 -2.981104e-01 -2.212845e-08  1.064394e-09
+ 7.226228e-03  2.045769e-02  4.040664e-01 -2.979668e-01 -8.053447e-09  1.219637e-09
+ 7.226228e-03  2.055580e-02  4.043730e-01 -2.978135e-01 -3.718153e-08 -7.759332e-10
+ 7.226228e-03  2.065345e-02  4.047016e-01 -2.976492e-01 -6.027918e-09  1.773725e-09
+ 7.226228e-03  2.075064e-02  4.050565e-01 -2.974717e-01 -4.255353e-07  1.617798e-08
+ 7.226228e-03  2.084738e-02  4.054440e-01 -2.972780e-01  1.445300e-08 -1.600140e-09
+ 7.226228e-03  2.094367e-02  4.058735e-01 -2.970632e-01 -3.907550e-08  3.220595e-09
+ 7.226228e-03  2.103951e-02  4.063636e-01 -2.968182e-01  1.554962e-08 -2.599739e-10
+ 7.226228e-03  2.113493e-02  4.069560e-01 -2.965220e-01 -1.958286e-10  2.486241e-10
+ 7.226228e-03  2.122991e-02  4.078120e-01 -2.960940e-01 -4.281522e-09 -1.998281e-10
+ 7.226228e-03  2.132447e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.226228e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.078120e-01  2.960940e-01
+ 7.498974e-03  1.000000e-06 -2.105358e-01 -3.032849e-01  1.720980e-09  2.232028e-10
+ 7.498974e-03  2.006944e-03 -2.107569e-01 -3.032110e-01 -1.415796e-10  2.494014e-09
+ 7.498974e-03  2.837833e-03 -2.109806e-01 -3.031392e-01 -4.084030e-09  5.651251e-08
+ 7.498974e-03  3.475396e-03 -2.112070e-01 -3.030695e-01  6.277127e-09 -4.062921e-08
+ 7.498974e-03  4.012887e-03 -2.114364e-01 -3.030016e-01  2.838784e-08 -1.289178e-07
+ 7.498974e-03  4.486426e-03 -2.116686e-01 -3.029356e-01 -1.586998e-09  5.509420e-09
+ 7.498974e-03  4.914538e-03 -2.119038e-01 -3.028716e-01  4.458442e-08 -1.325274e-07
+ 7.498974e-03  5.308228e-03 -2.121420e-01 -3.028089e-01 -2.056200e-08  5.328081e-08
+ 7.498974e-03  5.674665e-03 -2.123831e-01 -3.027485e-01 -8.992681e-08  2.061756e-07
+ 7.498974e-03  6.018831e-03 -2.126272e-01 -3.026896e-01  1.273922e-08 -2.724102e-08
+ 7.498974e-03  6.344350e-03 -2.128745e-01 -3.026321e-01 -2.735012e-09  5.585228e-09
+ 7.498974e-03  6.653962e-03 -2.131249e-01 -3.025763e-01  7.189004e-09 -1.194282e-08
+ 7.498974e-03  6.949792e-03 -2.133784e-01 -3.025219e-01  3.086997e-09 -2.125606e-09
+ 7.498974e-03  7.233532e-03 -2.136350e-01 -3.024689e-01  6.494567e-09 -8.370323e-09
+ 7.498974e-03  7.506553e-03 -2.138948e-01 -3.024174e-01  5.295024e-09 -3.946310e-09
+ 7.498974e-03  7.769986e-03 -2.141577e-01 -3.023672e-01  7.971628e-09 -6.242582e-09
+ 7.498974e-03  8.024774e-03 -2.144238e-01 -3.023182e-01  4.555630e-09 -4.273159e-09
+ 7.498974e-03  8.271717e-03 -2.146930e-01 -3.022706e-01  5.388221e-09 -5.289400e-09
+ 7.498974e-03  8.511498e-03 -2.149654e-01 -3.022241e-01  4.553152e-09 -3.804549e-09
+ 7.498974e-03  8.744705e-03 -2.152409e-01 -3.021788e-01  3.773503e-09 -4.344227e-09
+ 7.498974e-03  8.971852e-03 -2.155196e-01 -3.021346e-01  1.800474e-09 -2.724954e-09
+ 7.498974e-03  9.193388e-03 -2.158014e-01 -3.020915e-01  3.556450e-09 -1.922883e-09
+ 7.498974e-03  9.409709e-03 -2.160862e-01 -3.020494e-01  1.183370e-09 -4.722501e-10
+ 7.498974e-03  9.621167e-03 -2.163742e-01 -3.020083e-01  3.830320e-09 -1.548655e-10
+ 7.498974e-03  9.828076e-03 -2.166651e-01 -3.019682e-01  6.661749e-10  1.431703e-10
+ 7.498974e-03  1.003072e-02 -2.169590e-01 -3.019290e-01  8.428133e-11 -6.646550e-11
+ 7.498974e-03  1.022935e-02 -2.172559e-01 -3.018906e-01  2.667045e-09 -2.167943e-10
+ 7.498974e-03  1.042419e-02 -2.175556e-01 -3.018531e-01  3.200230e-09 -3.079959e-10
+ 7.498974e-03  1.061546e-02 -2.178582e-01 -3.018164e-01 -5.556063e-09  4.568780e-10
+ 7.498974e-03  1.080334e-02 -2.181636e-01 -3.017804e-01  1.144435e-09 -8.446888e-10
+ 7.498974e-03  1.098801e-02 -2.184716e-01 -3.017452e-01 -6.598386e-09 -1.213086e-09
+ 7.498974e-03  1.116962e-02 -2.187824e-01 -3.017106e-01  4.502346e-09 -1.790306e-09
+ 7.498974e-03  1.134833e-02 -2.190957e-01 -3.016767e-01 -1.333965e-08 -6.809354e-10
+ 7.498974e-03  1.152427e-02 -2.194115e-01 -3.016434e-01 -8.784733e-10 -1.223530e-09
+ 7.498974e-03  1.169756e-02 -2.197298e-01 -3.016107e-01  3.730909e-09 -8.775770e-10
+ 7.498974e-03  1.186832e-02 -2.200503e-01 -3.015785e-01 -2.958815e-09 -3.939219e-10
+ 7.498974e-03  1.203666e-02 -2.203732e-01 -3.015469e-01  6.723875e-10 -6.927908e-11
+ 7.498974e-03  1.220268e-02 -2.206982e-01 -3.015157e-01  6.129881e-09 -3.204486e-10
+ 7.498974e-03  1.236647e-02 -2.210252e-01 -3.014850e-01  4.880870e-09  3.562881e-10
+ 7.498974e-03  1.252811e-02 -2.213542e-01 -3.014546e-01  4.945233e-09  1.856396e-10
+ 7.498974e-03  1.268770e-02 -2.216848e-01 -3.014247e-01 -1.071278e-07 -4.359639e-09
+ 7.498974e-03  1.284531e-02 -2.220183e-01 -3.013951e-01  4.419788e-07  1.692817e-08
+ 7.498974e-03  1.300100e-02 -2.223523e-01 -3.013657e-01  5.108584e-07  2.323422e-08
+ 7.498974e-03  1.315485e-02 -2.226877e-01 -3.013367e-01 -7.740077e-07 -2.913570e-08
+ 7.498974e-03  1.330692e-02 -2.230251e-01 -3.013079e-01 -4.082568e-08 -1.848323e-09
+ 7.498974e-03  1.345728e-02 -2.233636e-01 -3.012793e-01 -6.561473e-09 -1.041591e-09
+ 7.498974e-03  1.360597e-02 -2.237032e-01 -3.012509e-01  1.068497e-09 -1.174211e-09
+ 7.498974e-03  1.375306e-02 -2.240440e-01 -3.012226e-01  5.872811e-08 -1.691412e-10
+ 7.498974e-03  1.389858e-02 -2.243856e-01 -3.011944e-01  3.565075e-08 -8.653356e-10
+ 7.498974e-03  1.404260e-02 -2.247279e-01 -3.011663e-01 -2.738291e-08 -9.510372e-10
+ 7.498974e-03  1.418516e-02 -2.250710e-01 -3.011382e-01  9.249007e-09 -8.758552e-10
+ 7.498974e-03  1.432630e-02 -2.254145e-01 -3.011102e-01 -4.731154e-09 -3.749662e-10
+ 7.498974e-03  1.446606e-02 -2.257584e-01 -3.010820e-01 -1.290504e-08 -1.090437e-08
+ 7.498974e-03  1.460449e-02 -2.261025e-01 -3.010539e-01  8.135416e-09  1.125768e-10
+ 7.498974e-03  1.474161e-02 -2.264467e-01 -3.010256e-01 -3.026109e-10  1.025603e-10
+ 7.498974e-03  1.487748e-02 -2.267908e-01 -3.009972e-01 -6.848596e-10 -1.695869e-10
+ 7.498974e-03  1.501211e-02 -2.271346e-01 -3.009685e-01  6.583782e-09 -5.216774e-10
+ 7.498974e-03  1.514554e-02 -2.274781e-01 -3.009397e-01  1.784582e-09  6.737344e-11
+ 7.498974e-03  1.527781e-02 -2.278211e-01 -3.009106e-01  1.043135e-08 -2.737546e-10
+ 7.498974e-03  1.540894e-02 -2.281633e-01 -3.008812e-01  1.213996e-09  5.827321e-10
+ 7.498974e-03  1.553897e-02 -2.285047e-01 -3.008514e-01  9.444715e-09 -1.672308e-10
+ 7.498974e-03  1.566792e-02 -2.288451e-01 -3.008212e-01  2.138362e-08  4.213133e-10
+ 7.498974e-03  1.579582e-02 -2.291843e-01 -3.007906e-01  6.616444e-09 -5.932106e-10
+ 7.498974e-03  1.592268e-02 -2.295222e-01 -3.007595e-01  1.069458e-08 -4.423260e-10
+ 7.498974e-03  1.604855e-02 -2.298585e-01 -3.007279e-01  1.933539e-09 -8.736577e-09
+ 7.498974e-03  1.617343e-02 -2.301931e-01 -3.006957e-01  1.948552e-07 -3.572299e-09
+ 7.498974e-03  1.629736e-02 -2.305261e-01 -3.006628e-01 -1.126509e-07  2.979171e-09
+ 7.498974e-03  1.642036e-02 -2.308571e-01 -3.006292e-01 -1.201874e-07 -1.786530e-09
+ 7.498974e-03  1.654243e-02 -2.311858e-01 -3.005948e-01 -3.234042e-07  2.264388e-09
+ 7.498974e-03  1.666362e-02 -2.315120e-01 -3.005597e-01 -4.590566e-07 -1.594468e-08
+ 7.498974e-03  1.678393e-02 -2.318355e-01 -3.005237e-01  1.322743e-07 -7.717640e-08
+ 7.498974e-03  1.690338e-02 -2.321564e-01 -3.004867e-01  1.364677e-08  3.623562e-08
+ 7.498974e-03  1.702200e-02 -2.324746e-01 -3.004487e-01 -1.355700e-08 -2.469405e-08
+ 7.498974e-03  1.713979e-02 -2.327896e-01 -3.004095e-01 -1.569159e-07  7.077487e-08
+ 7.498974e-03  1.725678e-02 -2.331015e-01 -3.003692e-01  2.293882e-07  8.133871e-08
+ 7.498974e-03  1.737298e-02 -2.334087e-01 -3.003278e-01  1.422220e-06 -4.258278e-08
+ 7.498974e-03  1.748841e-02 -2.337142e-01 -3.002849e-01 -3.010449e-07  6.343656e-10
+ 7.498974e-03  1.760308e-02 -2.340157e-01 -3.002406e-01 -5.648885e-07  6.191314e-09
+ 7.498974e-03  1.771701e-02 -2.343118e-01 -3.001949e-01  7.128311e-08  5.576407e-10
+ 7.498974e-03  1.783022e-02 -2.346048e-01 -3.001475e-01 -2.746560e-07 -1.084927e-08
+ 7.498974e-03  1.794270e-02 -2.348933e-01 -3.000983e-01  2.121334e-09  8.472564e-10
+ 7.498974e-03  1.805449e-02 -2.351767e-01 -3.000475e-01 -1.834030e-08 -1.281207e-08
+ 7.498974e-03  1.816559e-02 -2.354554e-01 -2.999947e-01 -7.497731e-08  1.595937e-09
+ 7.498974e-03  1.827602e-02 -2.357291e-01 -2.999399e-01  2.656600e-07 -1.115775e-07
+ 7.498974e-03  1.838578e-02 -2.359976e-01 -2.998829e-01  2.743367e-07 -1.099521e-07
+ 7.498974e-03  1.849489e-02 -2.362610e-01 -2.998235e-01 -1.571865e-07  4.472526e-08
+ 7.498974e-03  1.860336e-02 -2.365184e-01 -2.997619e-01 -8.366931e-09 -3.153381e-09
+ 7.498974e-03  1.871120e-02 -2.367699e-01 -2.996976e-01  1.697627e-08  9.792501e-10
+ 7.498974e-03  1.881842e-02 -2.370153e-01 -2.996307e-01 -3.244768e-08  3.049290e-09
+ 7.498974e-03  1.892503e-02 -2.372543e-01 -2.995609e-01 -4.472961e-09  2.795054e-10
+ 7.498974e-03  1.903105e-02 -2.374865e-01 -2.994880e-01 -3.322160e-08  2.083694e-09
+ 7.498974e-03  1.913648e-02  4.011760e-01 -2.994120e-01 -2.016666e-08 -2.564288e-10
+ 7.498974e-03  1.924133e-02  4.013348e-01 -2.993326e-01 -8.008897e-09  5.217837e-11
+ 7.498974e-03  1.934562e-02  4.015008e-01 -2.992496e-01  1.796622e-08  4.753744e-10
+ 7.498974e-03  1.944934e-02  4.016743e-01 -2.991628e-01 -7.025835e-09 -2.154878e-10
+ 7.498974e-03  1.955252e-02  4.018559e-01 -2.990720e-01  8.207192e-09  3.106764e-10
+ 7.498974e-03  1.965515e-02  4.020461e-01 -2.989770e-01 -7.684163e-10  2.379311e-10
+ 7.498974e-03  1.975725e-02  4.022452e-01 -2.988774e-01  3.131737e-10  9.485723e-11
+ 7.498974e-03  1.985883e-02  4.024541e-01 -2.987730e-01  4.895390e-09 -1.249290e-09
+ 7.498974e-03  1.995989e-02  4.026732e-01 -2.986634e-01 -1.049018e-08 -8.769907e-11
+ 7.498974e-03  2.006044e-02  4.029034e-01 -2.985483e-01 -1.310424e-08  3.100550e-10
+ 7.498974e-03  2.016048e-02  4.031454e-01 -2.984273e-01 -1.959746e-08  5.949617e-10
+ 7.498974e-03  2.026004e-02  4.034003e-01 -2.982998e-01 -3.860870e-09  1.334044e-10
+ 7.498974e-03  2.035910e-02  4.036692e-01 -2.981654e-01 -2.112731e-09 -9.863471e-11
+ 7.498974e-03  2.045769e-02  4.039535e-01 -2.980233e-01 -3.752475e-08  1.423064e-09
+ 7.498974e-03  2.055580e-02  4.042549e-01 -2.978725e-01 -1.238887e-07  6.625752e-09
+ 7.498974e-03  2.065345e-02  4.045756e-01 -2.977122e-01 -2.840372e-08  3.965553e-10
+ 7.498974e-03  2.075064e-02  4.049188e-01 -2.975406e-01 -1.425698e-07  2.108698e-09
+ 7.498974e-03  2.084738e-02  4.052888e-01 -2.973557e-01  2.959653e-07 -4.830262e-09
+ 7.498974e-03  2.094367e-02  4.056915e-01 -2.971543e-01  1.669176e-07 -5.753806e-09
+ 7.498974e-03  2.103951e-02  4.061377e-01 -2.969311e-01  5.505363e-09  1.116056e-09
+ 7.498974e-03  2.113493e-02  4.066475e-01 -2.966762e-01 -6.483073e-08  1.743580e-09
+ 7.498974e-03  2.122991e-02  4.072697e-01 -2.963652e-01 -8.423823e-09 -1.568064e-09
+ 7.498974e-03  2.132447e-02  4.082433e-01 -2.958784e-01 -4.224059e-10 -1.049623e-09
+ 7.498974e-03  2.141862e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.498974e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.082433e-01  2.958783e-01
+ 7.762140e-03  1.000000e-06 -2.112601e-01 -3.035352e-01  2.664902e-11 -1.707460e-10
+ 7.762140e-03  2.006944e-03 -2.114746e-01 -3.034612e-01  1.997384e-09 -6.327401e-10
+ 7.762140e-03  2.837833e-03 -2.116918e-01 -3.033893e-01 -6.038312e-10  6.511431e-09
+ 7.762140e-03  3.475396e-03 -2.119117e-01 -3.033195e-01  1.616172e-08 -1.065289e-07
+ 7.762140e-03  4.012887e-03 -2.121345e-01 -3.032516e-01  1.252444e-08 -6.639343e-08
+ 7.762140e-03  4.486426e-03 -2.123601e-01 -3.031853e-01 -3.733063e-08  1.492347e-07
+ 7.762140e-03  4.914538e-03 -2.125887e-01 -3.031211e-01  5.278604e-09 -1.943039e-08
+ 7.762140e-03  5.308228e-03 -2.128202e-01 -3.030583e-01 -9.492581e-08  2.709238e-07
+ 7.762140e-03  5.674665e-03 -2.130548e-01 -3.029972e-01 -3.879664e-08  9.616996e-08
+ 7.762140e-03  6.018831e-03 -2.132921e-01 -3.029382e-01  9.339697e-08 -2.021727e-07
+ 7.762140e-03  6.344350e-03 -2.135326e-01 -3.028805e-01  5.605660e-09 -9.809207e-09
+ 7.762140e-03  6.653962e-03 -2.137762e-01 -3.028242e-01  7.130240e-09 -1.188558e-08
+ 7.762140e-03  6.949792e-03 -2.140228e-01 -3.027694e-01  3.428419e-11 -6.379677e-10
+ 7.762140e-03  7.233532e-03 -2.142726e-01 -3.027159e-01 -5.581245e-10 -5.543830e-10
+ 7.762140e-03  7.506553e-03 -2.145254e-01 -3.026639e-01  2.835164e-10 -1.765506e-09
+ 7.762140e-03  7.769986e-03 -2.147814e-01 -3.026131e-01  3.754554e-10 -4.127206e-10
+ 7.762140e-03  8.024774e-03 -2.150405e-01 -3.025636e-01  1.936795e-09 -2.541539e-09
+ 7.762140e-03  8.271717e-03 -2.153027e-01 -3.025153e-01  2.425026e-09 -1.356025e-09
+ 7.762140e-03  8.511498e-03 -2.155679e-01 -3.024681e-01  3.616955e-09 -3.513689e-09
+ 7.762140e-03  8.744705e-03 -2.158363e-01 -3.024221e-01  5.123307e-09 -2.601099e-09
+ 7.762140e-03  8.971852e-03 -2.161078e-01 -3.023771e-01  4.890881e-09 -3.562983e-09
+ 7.762140e-03  9.193388e-03 -2.163823e-01 -3.023332e-01  6.244330e-09 -2.104060e-09
+ 7.762140e-03  9.409709e-03 -2.166598e-01 -3.022902e-01  3.285243e-09 -2.498696e-09
+ 7.762140e-03  9.621167e-03 -2.169404e-01 -3.022482e-01  2.396676e-09 -1.691795e-09
+ 7.762140e-03  9.828076e-03 -2.172239e-01 -3.022071e-01  1.888433e-09 -1.961087e-09
+ 7.762140e-03  1.003072e-02 -2.175104e-01 -3.021668e-01  1.360308e-09 -1.666995e-09
+ 7.762140e-03  1.022935e-02 -2.177997e-01 -3.021274e-01  3.527331e-09 -1.107280e-09
+ 7.762140e-03  1.042419e-02 -2.180920e-01 -3.020888e-01 -1.328096e-08  1.167900e-09
+ 7.762140e-03  1.061546e-02 -2.183870e-01 -3.020508e-01 -1.327082e-08  1.842547e-09
+ 7.762140e-03  1.080334e-02 -2.186847e-01 -3.020136e-01  9.841435e-09  2.318170e-09
+ 7.762140e-03  1.098801e-02 -2.189851e-01 -3.019771e-01  1.685484e-08 -6.111238e-10
+ 7.762140e-03  1.116962e-02 -2.192882e-01 -3.019412e-01  1.234445e-08 -1.051467e-09
+ 7.762140e-03  1.134833e-02 -2.195938e-01 -3.019059e-01 -2.954080e-10 -6.900386e-11
+ 7.762140e-03  1.152427e-02 -2.199018e-01 -3.018712e-01  2.419786e-09 -5.719948e-10
+ 7.762140e-03  1.169756e-02 -2.202123e-01 -3.018370e-01  4.138459e-09 -2.472006e-10
+ 7.762140e-03  1.186832e-02 -2.205250e-01 -3.018032e-01  4.277801e-08  6.281338e-09
+ 7.762140e-03  1.203666e-02 -2.208400e-01 -3.017700e-01  7.625330e-09  7.215566e-10
+ 7.762140e-03  1.220268e-02 -2.211571e-01 -3.017371e-01 -3.098541e-09 -1.111071e-09
+ 7.762140e-03  1.236647e-02 -2.214763e-01 -3.017047e-01 -6.441839e-09 -1.321631e-09
+ 7.762140e-03  1.252811e-02 -2.217981e-01 -3.016726e-01  1.600382e-07  5.530969e-09
+ 7.762140e-03  1.268770e-02 -2.221201e-01 -3.016408e-01 -7.926508e-08 -7.360256e-09
+ 7.762140e-03  1.284531e-02 -2.224443e-01 -3.016092e-01 -1.168796e-07 -5.540082e-09
+ 7.762140e-03  1.300100e-02 -2.227717e-01 -3.015780e-01  8.038111e-08  2.646225e-09
+ 7.762140e-03  1.315485e-02 -2.230992e-01 -3.015470e-01  1.495892e-08  2.176943e-10
+ 7.762140e-03  1.330692e-02 -2.234284e-01 -3.015162e-01  6.294399e-09  1.573851e-10
+ 7.762140e-03  1.345728e-02 -2.237588e-01 -3.014855e-01  7.241407e-08  1.398095e-09
+ 7.762140e-03  1.360597e-02 -2.240906e-01 -3.014549e-01  1.148835e-08  4.929779e-12
+ 7.762140e-03  1.375306e-02 -2.244232e-01 -3.014245e-01 -4.577998e-08 -1.008954e-09
+ 7.762140e-03  1.389858e-02 -2.247568e-01 -3.013941e-01 -6.901821e-08 -1.129774e-09
+ 7.762140e-03  1.404260e-02 -2.250911e-01 -3.013637e-01  1.459890e-09  1.350975e-11
+ 7.762140e-03  1.418516e-02 -2.254261e-01 -3.013333e-01 -2.724322e-09 -1.236835e-10
+ 7.762140e-03  1.432630e-02 -2.257616e-01 -3.013028e-01 -1.314694e-09 -1.119506e-09
+ 7.762140e-03  1.446606e-02 -2.260975e-01 -3.012723e-01  6.131346e-09 -3.969629e-09
+ 7.762140e-03  1.460449e-02 -2.264336e-01 -3.012416e-01 -2.424827e-09 -8.856191e-10
+ 7.762140e-03  1.474161e-02 -2.267697e-01 -3.012108e-01 -1.002363e-09 -1.159764e-09
+ 7.762140e-03  1.487748e-02 -2.271058e-01 -3.011798e-01  1.007930e-08 -5.668476e-10
+ 7.762140e-03  1.501211e-02 -2.274416e-01 -3.011486e-01  3.577828e-09 -8.988728e-10
+ 7.762140e-03  1.514554e-02 -2.277771e-01 -3.011171e-01 -1.083967e-10 -1.191489e-10
+ 7.762140e-03  1.527781e-02 -2.281121e-01 -3.010853e-01  5.592237e-09 -2.098773e-10
+ 7.762140e-03  1.540894e-02 -2.284464e-01 -3.010531e-01  2.746111e-08 -6.833994e-11
+ 7.762140e-03  1.553897e-02 -2.287798e-01 -3.010206e-01  2.583489e-10  1.560049e-10
+ 7.762140e-03  1.566792e-02 -2.291123e-01 -3.009876e-01  6.134520e-09 -1.308896e-10
+ 7.762140e-03  1.579582e-02 -2.294435e-01 -3.009542e-01  1.530538e-08  1.132401e-09
+ 7.762140e-03  1.592268e-02 -2.297735e-01 -3.009202e-01  1.741117e-07 -4.120699e-09
+ 7.762140e-03  1.604855e-02 -2.301020e-01 -3.008856e-01 -2.419415e-07 -2.062018e-08
+ 7.762140e-03  1.617343e-02 -2.304290e-01 -3.008504e-01 -6.068619e-08  1.009250e-09
+ 7.762140e-03  1.629736e-02 -2.307541e-01 -3.008146e-01 -1.744590e-07  3.467094e-08
+ 7.762140e-03  1.642036e-02 -2.310771e-01 -3.007780e-01 -4.488412e-07 -2.009373e-08
+ 7.762140e-03  1.654243e-02 -2.313978e-01 -3.007407e-01 -9.046920e-09 -9.350070e-08
+ 7.762140e-03  1.666362e-02 -2.317162e-01 -3.007024e-01 -2.338400e-08  4.488230e-08
+ 7.762140e-03  1.678393e-02 -2.320324e-01 -3.006633e-01  1.269996e-08 -2.170635e-08
+ 7.762140e-03  1.690338e-02 -2.323459e-01 -3.006232e-01 -2.114558e-07  5.688961e-08
+ 7.762140e-03  1.702200e-02 -2.326563e-01 -3.005820e-01  1.998588e-07  7.506447e-08
+ 7.762140e-03  1.713979e-02 -2.329636e-01 -3.005398e-01  2.049496e-07 -3.679942e-08
+ 7.762140e-03  1.725678e-02 -2.332677e-01 -3.004965e-01  1.581857e-07 -1.170467e-08
+ 7.762140e-03  1.737298e-02 -2.335680e-01 -3.004518e-01  1.647990e-06 -1.258894e-08
+ 7.762140e-03  1.748841e-02 -2.338664e-01 -3.004058e-01  2.971672e-08  3.655118e-09
+ 7.762140e-03  1.760308e-02 -2.341609e-01 -3.003583e-01 -1.849864e-06 -5.533424e-09
+ 7.762140e-03  1.771701e-02 -2.344496e-01 -3.003094e-01  1.028922e-07 -7.623754e-09
+ 7.762140e-03  1.783022e-02 -2.347352e-01 -3.002589e-01  2.221839e-08 -2.072465e-08
+ 7.762140e-03  1.794270e-02 -2.350164e-01 -3.002067e-01 -7.913056e-08 -4.211161e-09
+ 7.762140e-03  1.805449e-02 -2.352931e-01 -3.001527e-01  9.977912e-08 -4.789595e-08
+ 7.762140e-03  1.816559e-02 -2.355653e-01 -3.000966e-01 -1.565092e-08  2.846420e-10
+ 7.762140e-03  1.827602e-02 -2.358322e-01 -3.000388e-01  1.713989e-07 -7.450313e-08
+ 7.762140e-03  1.838578e-02 -2.360943e-01 -2.999788e-01 -1.270715e-07  4.851073e-08
+ 7.762140e-03  1.849489e-02 -2.363507e-01 -2.999166e-01  2.311603e-07 -7.453701e-08
+ 7.762140e-03  1.860336e-02 -2.366021e-01 -2.998518e-01 -6.862847e-08  1.831504e-08
+ 7.762140e-03  1.871120e-02 -2.368475e-01 -2.997847e-01 -1.436039e-08  9.922261e-09
+ 7.762140e-03  1.881842e-02 -2.370869e-01 -2.997149e-01 -2.233022e-08  5.978441e-10
+ 7.762140e-03  1.892503e-02 -2.373201e-01 -2.996423e-01  3.030470e-08  3.937410e-09
+ 7.762140e-03  1.903105e-02 -2.375467e-01 -2.995667e-01 -5.543826e-09  7.418255e-11
+ 7.762140e-03  1.913648e-02 -2.377666e-01 -2.994881e-01  4.287136e-08  1.287004e-09
+ 7.762140e-03  1.924133e-02 -2.379794e-01 -2.994061e-01  9.755422e-09 -9.232404e-10
+ 7.762140e-03  1.934562e-02 -2.381847e-01 -2.993207e-01 -1.701847e-08 -9.412271e-11
+ 7.762140e-03  1.944934e-02  4.015368e-01 -2.992316e-01 -1.401013e-08 -6.707633e-10
+ 7.762140e-03  1.955252e-02  4.017227e-01 -2.991387e-01 -7.305624e-09  2.461950e-10
+ 7.762140e-03  1.965515e-02  4.019168e-01 -2.990416e-01 -1.270793e-08  1.309318e-09
+ 7.762140e-03  1.975725e-02  4.021196e-01 -2.989402e-01 -9.408115e-09  3.851151e-10
+ 7.762140e-03  1.985883e-02  4.023316e-01 -2.988342e-01  3.305764e-09 -2.621417e-10
+ 7.762140e-03  1.995989e-02  4.025534e-01 -2.987233e-01 -5.138267e-09 -6.270719e-10
+ 7.762140e-03  2.006044e-02  4.027856e-01 -2.986072e-01 -3.530347e-09 -1.456931e-10
+ 7.762140e-03  2.016048e-02  4.030290e-01 -2.984855e-01 -1.421523e-08  4.890198e-10
+ 7.762140e-03  2.026004e-02  4.032845e-01 -2.983578e-01 -2.114278e-08  7.795337e-11
+ 7.762140e-03  2.035910e-02  4.035529e-01 -2.982236e-01  1.026606e-09  6.093254e-10
+ 7.762140e-03  2.045769e-02  4.038355e-01 -2.980823e-01 -3.719425e-08  1.365261e-09
+ 7.762140e-03  2.055580e-02  4.041336e-01 -2.979332e-01 -3.921844e-08  1.849502e-09
+ 7.762140e-03  2.065345e-02  4.044489e-01 -2.977755e-01 -1.495299e-08 -3.747240e-10
+ 7.762140e-03  2.075064e-02  4.047837e-01 -2.976080e-01 -3.469472e-07  1.649642e-08
+ 7.762140e-03  2.084738e-02  4.051414e-01 -2.974292e-01 -6.028576e-07  2.373056e-08
+ 7.762140e-03  2.094367e-02  4.055263e-01 -2.972369e-01  1.210844e-08  5.542289e-10
+ 7.762140e-03  2.103951e-02  4.059446e-01 -2.970277e-01 -1.241575e-07  3.381718e-08
+ 7.762140e-03  2.113493e-02  4.064080e-01 -2.967959e-01 -9.192203e-08  7.481203e-09
+ 7.762140e-03  2.122991e-02  4.069387e-01 -2.965307e-01 -9.358041e-08  2.351269e-09
+ 7.762140e-03  2.132447e-02  4.075935e-01 -2.962033e-01 -1.521453e-08  8.104888e-10
+ 7.762140e-03  2.141862e-02  4.088346e-01 -2.955827e-01 -6.040770e-08 -2.725212e-08
+ 7.762140e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 7.762140e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.088347e-01  2.955827e-01
+ 8.016671e-03  1.000000e-06 -2.119781e-01 -3.037840e-01  1.957452e-09  9.514617e-11
+ 8.016671e-03  2.006944e-03 -2.121861e-01 -3.037100e-01  1.586005e-10  4.041226e-09
+ 8.016671e-03  2.837833e-03 -2.123968e-01 -3.036380e-01  3.510449e-10  6.433779e-09
+ 8.016671e-03  3.475396e-03 -2.126103e-01 -3.035680e-01 -1.314403e-08  9.706330e-08
+ 8.016671e-03  4.012887e-03 -2.128265e-01 -3.035001e-01  3.233351e-08 -1.792809e-07
+ 8.016671e-03  4.486426e-03 -2.130456e-01 -3.034338e-01  6.894062e-08 -3.028535e-07
+ 8.016671e-03  4.914538e-03 -2.132676e-01 -3.033691e-01 -3.058905e-08  1.103028e-07
+ 8.016671e-03  5.308228e-03 -2.134925e-01 -3.033064e-01  6.604384e-08 -1.983361e-07
+ 8.016671e-03  5.674665e-03 -2.137205e-01 -3.032449e-01 -1.648646e-07  4.377350e-07
+ 8.016671e-03  6.018831e-03 -2.139513e-01 -3.031853e-01 -1.933257e-07  4.550055e-07
+ 8.016671e-03  6.344350e-03 -2.141850e-01 -3.031276e-01  1.437881e-07 -2.995258e-07
+ 8.016671e-03  6.653962e-03 -2.144219e-01 -3.030708e-01  2.236463e-08 -4.141312e-08
+ 8.016671e-03  6.949792e-03 -2.146618e-01 -3.030156e-01  2.979530e-08 -4.992876e-08
+ 8.016671e-03  7.233532e-03 -2.149048e-01 -3.029618e-01  1.020187e-08 -1.166269e-08
+ 8.016671e-03  7.506553e-03 -2.151508e-01 -3.029092e-01  8.520325e-09 -1.162110e-08
+ 8.016671e-03  7.769986e-03 -2.153999e-01 -3.028579e-01  4.382116e-09 -1.947394e-09
+ 8.016671e-03  8.024774e-03 -2.156520e-01 -3.028078e-01  1.015336e-09 -1.125677e-09
+ 8.016671e-03  8.271717e-03 -2.159072e-01 -3.027589e-01  2.200075e-09 -1.843427e-10
+ 8.016671e-03  8.511498e-03 -2.161655e-01 -3.027111e-01 -4.179743e-10 -6.282669e-10
+ 8.016671e-03  8.744705e-03 -2.164268e-01 -3.026643e-01  3.303499e-09 -2.515536e-09
+ 8.016671e-03  8.971852e-03 -2.166912e-01 -3.026186e-01  1.648215e-09 -2.172005e-09
+ 8.016671e-03  9.193388e-03 -2.169585e-01 -3.025739e-01  3.622323e-09 -3.236733e-09
+ 8.016671e-03  9.409709e-03 -2.172289e-01 -3.025301e-01  3.140552e-09 -2.200579e-09
+ 8.016671e-03  9.621167e-03 -2.175022e-01 -3.024871e-01  3.482542e-09 -2.747375e-09
+ 8.016671e-03  9.828076e-03 -2.177785e-01 -3.024451e-01  6.572230e-09 -1.897185e-09
+ 8.016671e-03  1.003072e-02 -2.180576e-01 -3.024038e-01  4.139083e-09 -1.710769e-09
+ 8.016671e-03  1.022935e-02 -2.183396e-01 -3.023633e-01 -6.564283e-09  1.326847e-09
+ 8.016671e-03  1.042419e-02 -2.186244e-01 -3.023236e-01  2.421093e-07  9.673855e-08
+ 8.016671e-03  1.061546e-02 -2.189119e-01 -3.022845e-01  1.685099e-10 -5.188311e-11
+ 8.016671e-03  1.080334e-02 -2.192022e-01 -3.022461e-01  2.707351e-08 -1.768028e-09
+ 8.016671e-03  1.098801e-02 -2.194951e-01 -3.022083e-01  2.167189e-08 -4.653864e-09
+ 8.016671e-03  1.116962e-02 -2.197905e-01 -3.021711e-01  3.080330e-09 -1.374274e-09
+ 8.016671e-03  1.134833e-02 -2.200885e-01 -3.021345e-01 -3.317925e-09 -1.777822e-09
+ 8.016671e-03  1.152427e-02 -2.203889e-01 -3.020983e-01 -5.830221e-10 -1.213475e-09
+ 8.016671e-03  1.169756e-02 -2.206917e-01 -3.020627e-01  2.080555e-09 -2.222001e-09
+ 8.016671e-03  1.186832e-02 -2.209967e-01 -3.020274e-01 -2.989749e-09 -6.285637e-09
+ 8.016671e-03  1.203666e-02 -2.213039e-01 -3.019926e-01  1.797572e-07  7.759243e-09
+ 8.016671e-03  1.220268e-02 -2.216129e-01 -3.019581e-01  9.420910e-07  4.361437e-08
+ 8.016671e-03  1.236647e-02 -2.219262e-01 -3.019241e-01 -2.862348e-06 -1.317875e-07
+ 8.016671e-03  1.252811e-02 -2.222380e-01 -3.018901e-01 -9.361464e-07 -3.587043e-07
+ 8.016671e-03  1.268770e-02 -2.225516e-01 -3.018565e-01  2.379332e-06  1.079221e-07
+ 8.016671e-03  1.284531e-02 -2.228703e-01 -3.018233e-01 -4.693602e-07 -2.096219e-08
+ 8.016671e-03  1.300100e-02 -2.231885e-01 -3.017902e-01 -9.944532e-08 -4.816285e-09
+ 8.016671e-03  1.315485e-02 -2.235084e-01 -3.017572e-01 -3.829046e-08 -2.262709e-09
+ 8.016671e-03  1.330692e-02 -2.238298e-01 -3.017244e-01  4.621636e-09 -1.302896e-09
+ 8.016671e-03  1.345728e-02 -2.241523e-01 -3.016917e-01  4.343167e-09 -1.555213e-09
+ 8.016671e-03  1.360597e-02 -2.244759e-01 -3.016591e-01 -1.003249e-08 -1.743026e-09
+ 8.016671e-03  1.375306e-02 -2.248008e-01 -3.016265e-01 -1.127593e-09 -1.065073e-09
+ 8.016671e-03  1.389858e-02 -2.251265e-01 -3.015940e-01  3.682644e-09 -5.970885e-10
+ 8.016671e-03  1.404260e-02 -2.254529e-01 -3.015613e-01 -1.615578e-09 -3.150723e-10
+ 8.016671e-03  1.418516e-02 -2.257800e-01 -3.015287e-01 -3.058326e-09 -2.648307e-10
+ 8.016671e-03  1.432630e-02 -2.261076e-01 -3.014959e-01 -6.103781e-08 -5.511358e-08
+ 8.016671e-03  1.446606e-02 -2.264355e-01 -3.014630e-01 -1.932126e-09 -3.019363e-11
+ 8.016671e-03  1.460449e-02 -2.267637e-01 -3.014300e-01  5.123640e-09 -3.017207e-10
+ 8.016671e-03  1.474161e-02 -2.270919e-01 -3.013967e-01  7.288279e-09  3.146664e-10
+ 8.016671e-03  1.487748e-02 -2.274201e-01 -3.013633e-01 -6.654909e-10  1.761724e-11
+ 8.016671e-03  1.501211e-02 -2.277481e-01 -3.013295e-01  2.721461e-09  7.660684e-10
+ 8.016671e-03  1.514554e-02 -2.280757e-01 -3.012954e-01  3.065222e-08 -2.782949e-10
+ 8.016671e-03  1.527781e-02 -2.284028e-01 -3.012610e-01 -5.247738e-09  1.091304e-09
+ 8.016671e-03  1.540894e-02 -2.287293e-01 -3.012262e-01 -4.571270e-08 -1.095063e-08
+ 8.016671e-03  1.553897e-02 -2.290547e-01 -3.011910e-01  9.421041e-08  6.804110e-09
+ 8.016671e-03  1.566792e-02 -2.293794e-01 -3.011553e-01  1.183913e-07 -2.283466e-09
+ 8.016671e-03  1.579582e-02 -2.297030e-01 -3.011191e-01 -1.869509e-07  1.031828e-08
+ 8.016671e-03  1.592268e-02 -2.300254e-01 -3.010823e-01  8.533097e-09 -4.391187e-11
+ 8.016671e-03  1.604855e-02 -2.303461e-01 -3.010449e-01 -2.035564e-07  6.052243e-08
+ 8.016671e-03  1.617343e-02 -2.306653e-01 -3.010069e-01 -3.917497e-07  1.923150e-08
+ 8.016671e-03  1.629736e-02 -2.309823e-01 -3.009683e-01 -3.332963e-08 -1.129215e-07
+ 8.016671e-03  1.642036e-02 -2.312977e-01 -3.009287e-01 -4.879081e-08  1.876738e-08
+ 8.016671e-03  1.654243e-02 -2.316111e-01 -3.008884e-01 -8.583337e-09 -3.675627e-08
+ 8.016671e-03  1.666362e-02 -2.319223e-01 -3.008472e-01 -3.305747e-07  1.021069e-07
+ 8.016671e-03  1.678393e-02 -2.322305e-01 -3.008051e-01  2.811347e-07  1.189191e-07
+ 8.016671e-03  1.690338e-02 -2.325363e-01 -3.007621e-01  1.248454e-07 -3.950276e-08
+ 8.016671e-03  1.702200e-02 -2.328393e-01 -3.007179e-01  7.530185e-08 -2.266370e-08
+ 8.016671e-03  1.713979e-02 -2.331395e-01 -3.006727e-01  4.690049e-07 -3.539056e-09
+ 8.016671e-03  1.725678e-02 -2.334364e-01 -3.006262e-01  1.503438e-07  1.850763e-10
+ 8.016671e-03  1.737298e-02 -2.337296e-01 -3.005785e-01  8.002465e-07 -6.339873e-09
+ 8.016671e-03  1.748841e-02 -2.340206e-01 -3.005295e-01 -7.350253e-08 -9.471801e-09
+ 8.016671e-03  1.760308e-02 -2.343081e-01 -3.004790e-01 -2.086952e-06  4.610436e-08
+ 8.016671e-03  1.771701e-02 -2.345895e-01 -3.004270e-01  1.288290e-07  1.246413e-08
+ 8.016671e-03  1.783022e-02 -2.348681e-01 -3.003735e-01  5.027145e-08 -4.922755e-09
+ 8.016671e-03  1.794270e-02 -2.351426e-01 -3.003182e-01 -5.034761e-09 -6.384375e-09
+ 8.016671e-03  1.805449e-02 -2.354125e-01 -3.002612e-01  1.822686e-08 -1.148554e-08
+ 8.016671e-03  1.816559e-02 -2.356779e-01 -3.002023e-01  3.134818e-09 -4.350499e-09
+ 8.016671e-03  1.827602e-02 -2.359385e-01 -3.001414e-01 -1.023882e-07  4.696778e-08
+ 8.016671e-03  1.838578e-02 -2.361943e-01 -3.000783e-01 -3.013611e-07  1.169903e-07
+ 8.016671e-03  1.849489e-02 -2.364445e-01 -3.000133e-01  2.780447e-08 -1.641841e-08
+ 8.016671e-03  1.860336e-02 -2.366895e-01 -2.999457e-01  1.581631e-07 -6.506816e-08
+ 8.016671e-03  1.871120e-02 -2.369288e-01 -2.998758e-01  4.426058e-07 -1.567188e-07
+ 8.016671e-03  1.881842e-02 -2.371626e-01 -2.998031e-01 -1.308062e-08 -4.072537e-10
+ 8.016671e-03  1.892503e-02 -2.373901e-01 -2.997278e-01 -1.420974e-08  9.737632e-09
+ 8.016671e-03  1.903105e-02 -2.376113e-01 -2.996496e-01 -2.851007e-08  1.770063e-09
+ 8.016671e-03  1.913648e-02 -2.378259e-01 -2.995684e-01  4.461038e-08  2.549291e-10
+ 8.016671e-03  1.924133e-02 -2.380337e-01 -2.994839e-01 -8.507655e-09  1.025176e-09
+ 8.016671e-03  1.934562e-02 -2.382342e-01 -2.993961e-01  1.840771e-08  1.282247e-09
+ 8.016671e-03  1.944934e-02 -2.384273e-01 -2.993048e-01  6.614324e-09 -1.058554e-09
+ 8.016671e-03  1.955252e-02  4.015806e-01 -2.992097e-01 -1.613315e-08 -1.398155e-09
+ 8.016671e-03  1.965515e-02  4.017787e-01 -2.991106e-01  6.878743e-09  1.290622e-09
+ 8.016671e-03  1.975725e-02  4.019852e-01 -2.990074e-01  2.801635e-09  1.413633e-09
+ 8.016671e-03  1.985883e-02  4.022005e-01 -2.988998e-01 -5.019691e-09 -1.105860e-10
+ 8.016671e-03  1.995989e-02  4.024252e-01 -2.987874e-01 -1.949258e-08 -5.231869e-10
+ 8.016671e-03  2.006044e-02  4.026598e-01 -2.986701e-01 -7.304623e-09  3.239864e-11
+ 8.016671e-03  2.016048e-02  4.029050e-01 -2.985475e-01  9.940642e-09 -8.150391e-11
+ 8.016671e-03  2.026004e-02  4.031616e-01 -2.984192e-01 -2.084876e-08  5.990805e-10
+ 8.016671e-03  2.035910e-02  4.034302e-01 -2.982849e-01 -2.096369e-08 -1.264826e-09
+ 8.016671e-03  2.045769e-02  4.037120e-01 -2.981439e-01 -3.394919e-08  4.168179e-09
+ 8.016671e-03  2.055580e-02  4.040082e-01 -2.979959e-01 -5.290627e-08  1.091361e-09
+ 8.016671e-03  2.065345e-02  4.043201e-01 -2.978400e-01  1.043451e-07  3.699796e-09
+ 8.016671e-03  2.075064e-02  4.046493e-01 -2.976753e-01 -1.556741e-07 -2.291011e-09
+ 8.016671e-03  2.084738e-02  4.049987e-01 -2.975007e-01 -1.762302e-07  1.048932e-09
+ 8.016671e-03  2.094367e-02  4.053711e-01 -2.973145e-01  4.291832e-07 -6.049084e-09
+ 8.016671e-03  2.103951e-02  4.057711e-01 -2.971146e-01  4.717982e-07 -2.366423e-08
+ 8.016671e-03  2.113493e-02  4.062057e-01 -2.968972e-01  1.420698e-08  6.758413e-09
+ 8.016671e-03  2.122991e-02  4.066875e-01 -2.966562e-01 -1.488015e-07  2.135136e-09
+ 8.016671e-03  2.132447e-02  4.072414e-01 -2.963793e-01  2.938703e-08  4.928165e-09
+ 8.016671e-03  2.141862e-02  4.079364e-01 -2.960318e-01 -5.512503e-08  4.946569e-09
+ 8.016671e-03  2.151235e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.016671e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.079365e-01  2.960318e-01
+ 8.263364e-03  1.000000e-06 -2.126897e-01 -3.040313e-01  1.392791e-11 -4.257371e-10
+ 8.263364e-03  2.006944e-03 -2.128914e-01 -3.039573e-01  1.463260e-09  1.739568e-10
+ 8.263364e-03  2.837833e-03 -2.130956e-01 -3.038853e-01 -2.030669e-10  4.377716e-10
+ 8.263364e-03  3.475396e-03 -2.133026e-01 -3.038152e-01 -8.911968e-11  2.193900e-10
+ 8.263364e-03  4.012887e-03 -2.135124e-01 -3.037470e-01 -2.292267e-09  1.975080e-08
+ 8.263364e-03  4.486426e-03 -2.137250e-01 -3.036808e-01  7.404350e-10 -5.195267e-09
+ 8.263364e-03  4.914538e-03 -2.139405e-01 -3.036159e-01  2.595307e-08 -9.432456e-08
+ 8.263364e-03  5.308228e-03 -2.141589e-01 -3.035528e-01  1.633627e-10  4.128189e-09
+ 8.263364e-03  5.674665e-03 -2.143802e-01 -3.034914e-01  7.276229e-08 -2.012238e-07
+ 8.263364e-03  6.018831e-03 -2.146046e-01 -3.034311e-01 -5.526350e-08  1.384064e-07
+ 8.263364e-03  6.344350e-03 -2.148318e-01 -3.033730e-01 -2.002078e-07  4.494229e-07
+ 8.263364e-03  6.653962e-03 -2.150619e-01 -3.033163e-01  6.591833e-08 -1.316216e-07
+ 8.263364e-03  6.949792e-03 -2.152952e-01 -3.032605e-01  9.942401e-09 -1.662183e-08
+ 8.263364e-03  7.233532e-03 -2.155314e-01 -3.032063e-01  3.004643e-08 -5.083362e-08
+ 8.263364e-03  7.506553e-03 -2.157707e-01 -3.031532e-01  1.240911e-08 -1.847687e-08
+ 8.263364e-03  7.769986e-03 -2.160130e-01 -3.031014e-01  1.561514e-08 -2.268262e-08
+ 8.263364e-03  8.024774e-03 -2.162583e-01 -3.030508e-01  6.411274e-09 -8.012411e-09
+ 8.263364e-03  8.271717e-03 -2.165067e-01 -3.030012e-01  5.375703e-09 -6.735712e-09
+ 8.263364e-03  8.511498e-03 -2.167580e-01 -3.029528e-01  2.894173e-09 -1.248849e-09
+ 8.263364e-03  8.744705e-03 -2.170124e-01 -3.029054e-01  8.512944e-10 -6.167895e-10
+ 8.263364e-03  8.971852e-03 -2.172697e-01 -3.028589e-01  1.727122e-09  1.767142e-12
+ 8.263364e-03  9.193388e-03 -2.175300e-01 -3.028134e-01  1.673303e-10  6.162604e-11
+ 8.263364e-03  9.409709e-03 -2.177933e-01 -3.027687e-01  4.487099e-09 -1.694776e-09
+ 8.263364e-03  9.621167e-03 -2.180595e-01 -3.027249e-01  4.693432e-09 -2.287721e-09
+ 8.263364e-03  9.828076e-03 -2.183284e-01 -3.026819e-01  1.135616e-07  3.212792e-08
+ 8.263364e-03  1.003072e-02 -2.186005e-01 -3.026398e-01 -6.982584e-09 -1.040842e-09
+ 8.263364e-03  1.022935e-02 -2.188752e-01 -3.025982e-01 -2.244433e-08  3.770354e-10
+ 8.263364e-03  1.042419e-02 -2.191527e-01 -3.025574e-01  6.902834e-10 -1.354662e-09
+ 8.263364e-03  1.061546e-02 -2.194329e-01 -3.025172e-01  2.161172e-08 -1.108910e-09
+ 8.263364e-03  1.080334e-02 -2.197157e-01 -3.024777e-01  2.966507e-08 -4.091476e-09
+ 8.263364e-03  1.098801e-02 -2.200012e-01 -3.024387e-01  1.037542e-08  4.011005e-10
+ 8.263364e-03  1.116962e-02 -2.202892e-01 -3.024002e-01  2.199353e-08  1.061848e-09
+ 8.263364e-03  1.134833e-02 -2.205797e-01 -3.023622e-01  3.975442e-09 -1.302058e-09
+ 8.263364e-03  1.152427e-02 -2.208725e-01 -3.023247e-01  7.862529e-09  5.330492e-10
+ 8.263364e-03  1.169756e-02 -2.211678e-01 -3.022876e-01  3.710513e-09  4.800793e-10
+ 8.263364e-03  1.186832e-02 -2.214652e-01 -3.022509e-01  4.083875e-09 -7.885796e-10
+ 8.263364e-03  1.203666e-02 -2.217652e-01 -3.022146e-01 -5.397386e-07 -2.892836e-08
+ 8.263364e-03  1.220268e-02 -2.220667e-01 -3.021786e-01  8.528434e-07  1.866647e-08
+ 8.263364e-03  1.236647e-02 -2.223701e-01 -3.021426e-01  1.006269e-06  9.166859e-08
+ 8.263364e-03  1.252811e-02 -2.226754e-01 -3.021072e-01 -6.820300e-07 -3.480284e-08
+ 8.263364e-03  1.268770e-02 -2.229832e-01 -3.020720e-01  9.954212e-09  1.035310e-10
+ 8.263364e-03  1.284531e-02 -2.232923e-01 -3.020369e-01  2.318645e-09 -2.156036e-11
+ 8.263364e-03  1.300100e-02 -2.236030e-01 -3.020020e-01 -7.729114e-08 -2.780842e-09
+ 8.263364e-03  1.315485e-02 -2.239152e-01 -3.019672e-01 -7.791305e-08 -2.634948e-09
+ 8.263364e-03  1.330692e-02 -2.242286e-01 -3.019324e-01  9.743546e-08  2.385315e-09
+ 8.263364e-03  1.345728e-02 -2.245436e-01 -3.018978e-01 -9.426429e-08 -2.699995e-09
+ 8.263364e-03  1.360597e-02 -2.248595e-01 -3.018631e-01 -2.173227e-09 -2.753269e-10
+ 8.263364e-03  1.375306e-02 -2.251765e-01 -3.018285e-01  3.873047e-09 -1.546988e-10
+ 8.263364e-03  1.389858e-02 -2.254944e-01 -3.017938e-01 -1.860233e-09 -4.391115e-10
+ 8.263364e-03  1.404260e-02 -2.258130e-01 -3.017591e-01 -4.654706e-09 -1.033185e-09
+ 8.263364e-03  1.418516e-02 -2.261322e-01 -3.017242e-01  2.355460e-08  6.581650e-09
+ 8.263364e-03  1.432630e-02 -2.264520e-01 -3.016892e-01 -9.150953e-10 -7.966683e-10
+ 8.263364e-03  1.446606e-02 -2.267722e-01 -3.016540e-01 -9.925924e-10 -1.243400e-09
+ 8.263364e-03  1.460449e-02 -2.270925e-01 -3.016187e-01  7.810663e-09 -6.427663e-10
+ 8.263364e-03  1.474161e-02 -2.274130e-01 -3.015831e-01 -1.547557e-08 -7.895454e-09
+ 8.263364e-03  1.487748e-02 -2.277333e-01 -3.015471e-01 -3.242851e-08 -5.983278e-09
+ 8.263364e-03  1.501211e-02 -2.280535e-01 -3.015109e-01  3.583608e-09 -5.019450e-10
+ 8.263364e-03  1.514554e-02 -2.283734e-01 -3.014744e-01  6.134739e-10  4.581220e-10
+ 8.263364e-03  1.527781e-02 -2.286927e-01 -3.014375e-01  1.290628e-07 -2.201381e-09
+ 8.263364e-03  1.540894e-02 -2.290114e-01 -3.014001e-01 -1.672235e-08  1.620232e-09
+ 8.263364e-03  1.553897e-02 -2.293295e-01 -3.013623e-01 -1.787203e-07  1.456790e-09
+ 8.263364e-03  1.566792e-02 -2.296465e-01 -3.013239e-01 -1.704620e-08  3.374605e-09
+ 8.263364e-03  1.579582e-02 -2.299623e-01 -3.012850e-01 -3.862581e-07 -6.361745e-09
+ 8.263364e-03  1.592268e-02 -2.302770e-01 -3.012456e-01  1.798826e-08 -6.359886e-09
+ 8.263364e-03  1.604855e-02 -2.305894e-01 -3.012056e-01  8.891461e-07 -1.005351e-07
+ 8.263364e-03  1.617343e-02 -2.309014e-01 -3.011647e-01  7.520756e-08 -1.842445e-08
+ 8.263364e-03  1.629736e-02 -2.312112e-01 -3.011232e-01 -2.195954e-07 -8.271175e-09
+ 8.263364e-03  1.642036e-02 -2.315193e-01 -3.010808e-01 -5.564904e-07  9.433014e-08
+ 8.263364e-03  1.654243e-02 -2.318246e-01 -3.010377e-01  3.868943e-07  1.160945e-07
+ 8.263364e-03  1.666362e-02 -2.321282e-01 -3.009937e-01  1.493725e-08 -1.694255e-08
+ 8.263364e-03  1.678393e-02 -2.324292e-01 -3.009488e-01  1.846507e-07 -3.110630e-08
+ 8.263364e-03  1.690338e-02 -2.327279e-01 -3.009028e-01  4.371805e-07 -6.137483e-09
+ 8.263364e-03  1.702200e-02 -2.330238e-01 -3.008557e-01 -8.929917e-08 -1.119172e-08
+ 8.263364e-03  1.713979e-02 -2.333169e-01 -3.008076e-01 -1.545202e-07 -3.034828e-10
+ 8.263364e-03  1.725678e-02 -2.336067e-01 -3.007582e-01  1.636592e-07  2.451917e-09
+ 8.263364e-03  1.737298e-02 -2.338926e-01 -3.007076e-01  1.250094e-07 -2.148571e-08
+ 8.263364e-03  1.748841e-02 -2.341764e-01 -3.006556e-01 -2.949866e-07  1.721562e-09
+ 8.263364e-03  1.760308e-02 -2.344569e-01 -3.006021e-01 -2.183218e-06  2.099700e-08
+ 8.263364e-03  1.771701e-02 -2.347313e-01 -3.005473e-01  3.875169e-07 -1.804340e-08
+ 8.263364e-03  1.783022e-02 -2.350033e-01 -3.004907e-01  6.900064e-08 -7.712593e-09
+ 8.263364e-03  1.794270e-02 -2.352709e-01 -3.004326e-01  3.114343e-08 -4.459188e-09
+ 8.263364e-03  1.805449e-02 -2.355343e-01 -3.003726e-01 -1.923316e-08 -1.259666e-09
+ 8.263364e-03  1.816559e-02 -2.357932e-01 -3.003108e-01 -2.724412e-09 -1.351555e-09
+ 8.263364e-03  1.827602e-02 -2.360474e-01 -3.002471e-01 -1.600852e-08 -2.730661e-09
+ 8.263364e-03  1.838578e-02 -2.362966e-01 -3.001813e-01  8.537306e-08 -2.525242e-08
+ 8.263364e-03  1.849489e-02 -2.365412e-01 -3.001131e-01 -2.175411e-07  8.933368e-08
+ 8.263364e-03  1.860336e-02 -2.367800e-01 -3.000429e-01  1.613847e-07 -5.818301e-08
+ 8.263364e-03  1.871120e-02 -2.370137e-01 -2.999702e-01 -2.570202e-07  9.366154e-08
+ 8.263364e-03  1.881842e-02 -2.372412e-01 -2.998950e-01  8.737987e-08 -2.725788e-08
+ 8.263364e-03  1.892503e-02 -2.374637e-01 -2.998169e-01 -6.748170e-08  2.183897e-08
+ 8.263364e-03  1.903105e-02 -2.376795e-01 -2.997362e-01 -4.611644e-08  1.321206e-08
+ 8.263364e-03  1.913648e-02 -2.378890e-01 -2.996525e-01  1.285346e-08  1.231658e-09
+ 8.263364e-03  1.924133e-02 -2.380919e-01 -2.995656e-01 -6.565915e-09  4.757411e-11
+ 8.263364e-03  1.934562e-02 -2.382879e-01 -2.994755e-01  5.081599e-08  3.862895e-10
+ 8.263364e-03  1.944934e-02 -2.384767e-01 -2.993819e-01 -1.381914e-08  2.746625e-10
+ 8.263364e-03  1.955252e-02 -2.386578e-01 -2.992847e-01 -5.462874e-09 -8.846751e-10
+ 8.263364e-03  1.965515e-02 -2.388309e-01 -2.991836e-01  5.535805e-08 -8.072922e-10
+ 8.263364e-03  1.975725e-02 -2.389957e-01 -2.990785e-01 -5.417719e-09  9.824573e-10
+ 8.263364e-03  1.985883e-02 -2.391514e-01 -2.989692e-01  3.084710e-08  2.959044e-10
+ 8.263364e-03  1.995989e-02  4.022893e-01 -2.988553e-01 -6.470093e-09  4.983937e-10
+ 8.263364e-03  2.006044e-02  4.025265e-01 -2.987367e-01 -8.700121e-09 -6.255343e-10
+ 8.263364e-03  2.016048e-02  4.027738e-01 -2.986131e-01  5.973255e-09  3.195876e-09
+ 8.263364e-03  2.026004e-02  4.030319e-01 -2.984841e-01  1.482569e-09  2.910990e-10
+ 8.263364e-03  2.035910e-02  4.033014e-01 -2.983493e-01 -2.612876e-08  9.901368e-10
+ 8.263364e-03  2.045769e-02  4.035833e-01 -2.982084e-01 -1.149504e-08 -1.010284e-09
+ 8.263364e-03  2.055580e-02  4.038785e-01 -2.980608e-01  4.733086e-08 -3.935961e-09
+ 8.263364e-03  2.065345e-02  4.041880e-01 -2.979059e-01 -2.082428e-07  1.292891e-08
+ 8.263364e-03  2.075064e-02  4.045137e-01 -2.977431e-01 -7.893969e-08 -1.164567e-09
+ 8.263364e-03  2.084738e-02  4.048576e-01 -2.975714e-01  3.876697e-07 -1.647671e-08
+ 8.263364e-03  2.094367e-02  4.052212e-01 -2.973895e-01  1.367702e-07 -3.941955e-09
+ 8.263364e-03  2.103951e-02  4.056085e-01 -2.971958e-01  3.776264e-08  1.118930e-08
+ 8.263364e-03  2.113493e-02  4.060244e-01 -2.969877e-01 -2.400946e-07  1.062671e-07
+ 8.263364e-03  2.122991e-02  4.064769e-01 -2.967615e-01 -3.403556e-07  1.649700e-08
+ 8.263364e-03  2.132447e-02  4.069801e-01 -2.965099e-01 -2.456681e-07  7.669449e-09
+ 8.263364e-03  2.141862e-02  4.075633e-01 -2.962183e-01  2.605721e-08  2.912553e-09
+ 8.263364e-03  2.151235e-02  4.083193e-01 -2.958404e-01  8.128402e-09  1.459522e-09
+ 8.263364e-03  2.160567e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.263364e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.083193e-01  2.958404e-01
+ 8.502903e-03  1.000000e-06 -2.133951e-01 -3.042770e-01  1.829490e-09  2.331450e-10
+ 8.502903e-03  2.006944e-03 -2.135904e-01 -3.042030e-01 -3.168980e-10  4.346031e-10
+ 8.502903e-03  2.837833e-03 -2.137882e-01 -3.041309e-01 -4.352096e-10  6.085596e-09
+ 8.502903e-03  3.475396e-03 -2.139888e-01 -3.040608e-01  7.017159e-10  3.496592e-09
+ 8.502903e-03  4.012887e-03 -2.141922e-01 -3.039924e-01 -1.022302e-08  6.539340e-08
+ 8.502903e-03  4.486426e-03 -2.143984e-01 -3.039260e-01  5.808928e-08 -2.814179e-07
+ 8.502903e-03  4.914538e-03 -2.146074e-01 -3.038613e-01  4.334039e-08 -1.814758e-07
+ 8.502903e-03  5.308228e-03 -2.148194e-01 -3.037978e-01 -6.700399e-08  2.415900e-07
+ 8.502903e-03  5.674665e-03 -2.150342e-01 -3.037362e-01  5.554091e-09 -1.753134e-08
+ 8.502903e-03  6.018831e-03 -2.152520e-01 -3.036760e-01 -9.047375e-08  2.418076e-07
+ 8.502903e-03  6.344350e-03 -2.154728e-01 -3.036169e-01 -5.027114e-09  1.293944e-08
+ 8.502903e-03  6.653962e-03 -2.156963e-01 -3.035600e-01 -1.296472e-08  2.712165e-08
+ 8.502903e-03  6.949792e-03 -2.159229e-01 -3.035042e-01  7.365297e-09 -1.049059e-08
+ 8.502903e-03  7.233532e-03 -2.161525e-01 -3.034493e-01 -6.343938e-09  1.101356e-08
+ 8.502903e-03  7.506553e-03 -2.163851e-01 -3.033959e-01  1.730040e-08 -2.274493e-08
+ 8.502903e-03  7.769986e-03 -2.166207e-01 -3.033435e-01  6.174989e-09 -9.168833e-09
+ 8.502903e-03  8.024774e-03 -2.168593e-01 -3.032924e-01  1.784830e-08 -2.074481e-08
+ 8.502903e-03  8.271717e-03 -2.171008e-01 -3.032423e-01  8.503304e-09 -1.024738e-08
+ 8.502903e-03  8.511498e-03 -2.173454e-01 -3.031932e-01  1.366298e-08 -1.237809e-08
+ 8.502903e-03  8.744705e-03 -2.175928e-01 -3.031451e-01  3.624008e-09 -5.496433e-09
+ 8.502903e-03  8.971852e-03 -2.178433e-01 -3.030979e-01  6.125069e-09 -3.986591e-09
+ 8.502903e-03  9.193388e-03 -2.180965e-01 -3.030516e-01  9.243535e-08  3.041923e-08
+ 8.502903e-03  9.409709e-03 -2.183530e-01 -3.030062e-01  1.597432e-08  3.554606e-09
+ 8.502903e-03  9.621167e-03 -2.186121e-01 -3.029615e-01  1.137411e-09 -3.909829e-10
+ 8.502903e-03  9.828076e-03 -2.188740e-01 -3.029176e-01 -7.757142e-09  7.034869e-10
+ 8.502903e-03  1.003072e-02 -2.191388e-01 -3.028745e-01 -2.125365e-08  1.213060e-09
+ 8.502903e-03  1.022935e-02 -2.194064e-01 -3.028320e-01  4.026361e-09 -1.677698e-09
+ 8.502903e-03  1.042419e-02 -2.196767e-01 -3.027901e-01  1.935458e-08 -2.104760e-09
+ 8.502903e-03  1.061546e-02 -2.199496e-01 -3.027488e-01  2.973294e-08 -4.672012e-09
+ 8.502903e-03  1.080334e-02 -2.202252e-01 -3.027081e-01  3.560383e-09 -1.253223e-09
+ 8.502903e-03  1.098801e-02 -2.205033e-01 -3.026679e-01 -3.366376e-09 -2.239664e-09
+ 8.502903e-03  1.116962e-02 -2.207840e-01 -3.026282e-01 -9.525990e-09 -3.690140e-09
+ 8.502903e-03  1.134833e-02 -2.210671e-01 -3.025890e-01 -1.274065e-08 -1.442689e-10
+ 8.502903e-03  1.152427e-02 -2.213525e-01 -3.025501e-01  6.184600e-09 -6.030177e-10
+ 8.502903e-03  1.169756e-02 -2.216398e-01 -3.025116e-01  9.202289e-07  4.996638e-08
+ 8.502903e-03  1.186832e-02 -2.219319e-01 -3.024736e-01 -3.124866e-06 -1.680712e-07
+ 8.502903e-03  1.203666e-02 -2.222222e-01 -3.024356e-01  2.890324e-09 -2.372533e-09
+ 8.502903e-03  1.220268e-02 -2.225147e-01 -3.023979e-01  9.372732e-07  4.768207e-08
+ 8.502903e-03  1.236647e-02 -2.228130e-01 -3.023607e-01  6.658058e-08  2.842269e-09
+ 8.502903e-03  1.252811e-02 -2.231106e-01 -3.023236e-01  5.749038e-08  2.386967e-09
+ 8.502903e-03  1.268770e-02 -2.234103e-01 -3.022866e-01  6.975651e-08  2.714334e-09
+ 8.502903e-03  1.284531e-02 -2.237120e-01 -3.022498e-01  1.026369e-07  3.312072e-09
+ 8.502903e-03  1.300100e-02 -2.240149e-01 -3.022131e-01 -4.009623e-10 -8.999761e-10
+ 8.502903e-03  1.315485e-02 -2.243195e-01 -3.021765e-01  5.972893e-08  6.082027e-10
+ 8.502903e-03  1.330692e-02 -2.246253e-01 -3.021399e-01 -1.100776e-08 -1.390960e-09
+ 8.502903e-03  1.345728e-02 -2.249324e-01 -3.021034e-01 -7.339115e-09 -8.645074e-10
+ 8.502903e-03  1.360597e-02 -2.252407e-01 -3.020668e-01  8.764767e-11 -2.273293e-10
+ 8.502903e-03  1.375306e-02 -2.255500e-01 -3.020301e-01  8.833244e-09 -1.908013e-10
+ 8.502903e-03  1.389858e-02 -2.258601e-01 -3.019934e-01 -1.479725e-09 -2.140871e-10
+ 8.502903e-03  1.404260e-02 -2.261710e-01 -3.019565e-01 -3.300032e-08 -7.510150e-09
+ 8.502903e-03  1.418516e-02 -2.264826e-01 -3.019196e-01  1.054434e-07  8.609729e-08
+ 8.502903e-03  1.432630e-02 -2.267947e-01 -3.018824e-01  1.707616e-08 -3.642849e-10
+ 8.502903e-03  1.446606e-02 -2.271071e-01 -3.018450e-01  8.444772e-09 -2.507348e-10
+ 8.502903e-03  1.460449e-02 -2.274198e-01 -3.018074e-01 -3.595002e-09  4.601892e-10
+ 8.502903e-03  1.474161e-02 -2.277325e-01 -3.017694e-01 -2.133022e-09 -8.389961e-10
+ 8.502903e-03  1.487748e-02 -2.280452e-01 -3.017312e-01  1.018615e-07  9.401946e-11
+ 8.502903e-03  1.501211e-02 -2.283577e-01 -3.016926e-01  4.545913e-08 -1.580752e-09
+ 8.502903e-03  1.514554e-02 -2.286700e-01 -3.016536e-01 -1.604278e-07  9.431571e-09
+ 8.502903e-03  1.527781e-02 -2.289818e-01 -3.016143e-01  9.049139e-09 -1.218588e-09
+ 8.502903e-03  1.540894e-02 -2.292929e-01 -3.015744e-01 -1.261807e-07  5.732357e-08
+ 8.502903e-03  1.553897e-02 -2.296033e-01 -3.015341e-01 -4.054952e-07  1.088736e-08
+ 8.502903e-03  1.566792e-02 -2.299123e-01 -3.014933e-01 -3.469314e-07 -1.440160e-07
+ 8.502903e-03  1.579582e-02 -2.302204e-01 -3.014517e-01 -1.418151e-07  6.032116e-08
+ 8.502903e-03  1.592268e-02 -2.305276e-01 -3.014096e-01  5.446049e-08 -1.468193e-08
+ 8.502903e-03  1.604855e-02 -2.308336e-01 -3.013668e-01  1.321100e-08  3.010550e-08
+ 8.502903e-03  1.617343e-02 -2.311374e-01 -3.013233e-01  3.228104e-07  3.640666e-08
+ 8.502903e-03  1.629736e-02 -2.314395e-01 -3.012792e-01  2.799530e-07 -4.643651e-08
+ 8.502903e-03  1.642036e-02 -2.317400e-01 -3.012342e-01 -1.382458e-08  7.081871e-09
+ 8.502903e-03  1.654243e-02 -2.320384e-01 -3.011883e-01  3.291815e-07 -1.165459e-08
+ 8.502903e-03  1.666362e-02 -2.323347e-01 -3.011415e-01  2.523088e-07 -8.227545e-09
+ 8.502903e-03  1.678393e-02 -2.326287e-01 -3.010937e-01 -1.839032e-07 -4.939243e-09
+ 8.502903e-03  1.690338e-02 -2.329201e-01 -3.010450e-01 -4.559495e-08  3.951461e-09
+ 8.502903e-03  1.702200e-02 -2.332088e-01 -3.009951e-01  6.495681e-09 -6.037562e-10
+ 8.502903e-03  1.713979e-02 -2.334943e-01 -3.009441e-01  1.514564e-07  4.579981e-09
+ 8.502903e-03  1.725678e-02 -2.337773e-01 -3.008919e-01 -1.367868e-08 -6.910811e-10
+ 8.502903e-03  1.737298e-02 -2.340563e-01 -3.008384e-01  4.251453e-07 -1.543410e-09
+ 8.502903e-03  1.748841e-02 -2.343333e-01 -3.007836e-01 -3.276474e-07 -8.656320e-10
+ 8.502903e-03  1.760308e-02 -2.346069e-01 -3.007273e-01 -2.053927e-06 -2.817664e-09
+ 8.502903e-03  1.771701e-02 -2.348745e-01 -3.006696e-01  4.772120e-07  4.084717e-08
+ 8.502903e-03  1.783022e-02 -2.351398e-01 -3.006103e-01  6.373851e-08  3.381961e-08
+ 8.502903e-03  1.794270e-02 -2.354009e-01 -3.005493e-01  6.774191e-08 -5.270474e-09
+ 8.502903e-03  1.805449e-02 -2.356579e-01 -3.004865e-01  1.384683e-08 -2.825317e-09
+ 8.502903e-03  1.816559e-02 -2.359104e-01 -3.004219e-01  3.035464e-08 -1.176232e-09
+ 8.502903e-03  1.827602e-02 -2.361583e-01 -3.003554e-01 -6.810966e-09 -3.177732e-09
+ 8.502903e-03  1.838578e-02 -2.364015e-01 -3.002868e-01 -2.212146e-08 -3.674416e-08
+ 8.502903e-03  1.849489e-02 -2.366398e-01 -3.002160e-01  2.018618e-08 -1.126724e-08
+ 8.502903e-03  1.860336e-02 -2.368730e-01 -3.001430e-01 -5.019742e-08  3.564530e-08
+ 8.502903e-03  1.871120e-02 -2.371011e-01 -3.000676e-01 -4.442430e-07  1.757356e-07
+ 8.502903e-03  1.881842e-02 -2.373234e-01 -2.999898e-01  1.675938e-08  9.439981e-09
+ 8.502903e-03  1.892503e-02 -2.375396e-01 -2.999094e-01  5.460454e-08 -2.397005e-08
+ 8.502903e-03  1.903105e-02 -2.377509e-01 -2.998260e-01 -1.776406e-07  6.834175e-08
+ 8.502903e-03  1.913648e-02 -2.379554e-01 -2.997398e-01 -6.721863e-08  1.311477e-08
+ 8.502903e-03  1.924133e-02 -2.381535e-01 -2.996506e-01 -2.125442e-08  1.709513e-09
+ 8.502903e-03  1.934562e-02 -2.383450e-01 -2.995582e-01  3.938989e-08  1.123377e-09
+ 8.502903e-03  1.944934e-02 -2.385296e-01 -2.994625e-01 -1.274346e-08  2.719132e-10
+ 8.502903e-03  1.955252e-02 -2.387069e-01 -2.993631e-01  1.520203e-08  8.450134e-10
+ 8.502903e-03  1.965515e-02 -2.388764e-01 -2.992601e-01 -4.965799e-09 -2.690712e-10
+ 8.502903e-03  1.975725e-02 -2.390380e-01 -2.991532e-01  3.941271e-09 -2.265576e-10
+ 8.502903e-03  1.985883e-02 -2.391910e-01 -2.990422e-01  3.225720e-08 -1.066828e-09
+ 8.502903e-03  1.995989e-02 -2.393348e-01 -2.989268e-01  6.497085e-08  1.838209e-09
+ 8.502903e-03  2.006044e-02 -2.394690e-01 -2.988068e-01 -1.405782e-10 -2.261228e-10
+ 8.502903e-03  2.016048e-02  4.026359e-01 -2.986820e-01 -2.419696e-09 -6.404622e-10
+ 8.502903e-03  2.026004e-02  4.028958e-01 -2.985521e-01 -1.336357e-08  1.085461e-09
+ 8.502903e-03  2.035910e-02  4.031665e-01 -2.984167e-01 -3.813906e-10 -2.241277e-10
+ 8.502903e-03  2.045769e-02  4.034489e-01 -2.982755e-01 -2.586288e-08  6.550153e-10
+ 8.502903e-03  2.055580e-02  4.037439e-01 -2.981281e-01 -6.786550e-08  4.916879e-09
+ 8.502903e-03  2.065345e-02  4.040524e-01 -2.979738e-01 -4.789041e-08  1.187467e-09
+ 8.502903e-03  2.075064e-02  4.043757e-01 -2.978122e-01  7.503825e-08 -6.080617e-09
+ 8.502903e-03  2.084738e-02  4.047152e-01 -2.976424e-01 -8.257188e-08 -4.279830e-10
+ 8.502903e-03  2.094367e-02  4.050729e-01 -2.974634e-01 -8.547926e-07  2.686668e-08
+ 8.502903e-03  2.103951e-02  4.054523e-01 -2.972740e-01  5.780152e-07 -7.400509e-09
+ 8.502903e-03  2.113493e-02  4.058560e-01 -2.970723e-01  7.524685e-07 -5.515979e-08
+ 8.502903e-03  2.122991e-02  4.062894e-01 -2.968553e-01  2.307002e-08  1.839777e-08
+ 8.502903e-03  2.132447e-02  4.067626e-01 -2.966186e-01 -3.559245e-07  4.271123e-09
+ 8.502903e-03  2.141862e-02  4.072927e-01 -2.963537e-01  9.296343e-08  5.525145e-09
+ 8.502903e-03  2.151235e-02  4.079189e-01 -2.960405e-01 -2.929205e-08  5.593956e-09
+ 8.502903e-03  2.160567e-02  4.088216e-01 -2.955892e-01  1.035060e-07  4.957965e-08
+ 8.502903e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.088215e-01  2.955892e-01
+ 8.502903e-03  2.521532e-02  4.560348e-01 -2.719824e-01  7.317432e-07  4.844853e-07
+ 8.502903e-03  2.529499e-02  4.594547e-01 -2.702722e-01  4.594547e-01 -2.702722e-01
+ 8.502903e-03  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.502903e-03  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.502903e-03  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.502903e-03  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.502903e-03  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.502903e-03  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.502903e-03  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.502903e-03  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.502903e-03  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 8.735875e-03  1.000000e-06 -2.140943e-01 -3.045211e-01  4.578301e-10 -8.907712e-10
+ 8.735875e-03  2.006944e-03 -2.142832e-01 -3.044471e-01  7.543521e-12  9.462559e-10
+ 8.735875e-03  2.837833e-03 -2.144747e-01 -3.043750e-01  1.009011e-09  2.134699e-09
+ 8.735875e-03  3.475396e-03 -2.146689e-01 -3.043048e-01 -1.253949e-09  1.153822e-08
+ 8.735875e-03  4.012887e-03 -2.148659e-01 -3.042364e-01  1.278224e-10  1.376108e-08
+ 8.735875e-03  4.486426e-03 -2.150658e-01 -3.041697e-01 -3.451800e-08  1.857686e-07
+ 8.735875e-03  4.914538e-03 -2.152684e-01 -3.041049e-01  5.715645e-08 -2.551742e-07
+ 8.735875e-03  5.308228e-03 -2.154739e-01 -3.040415e-01  1.242722e-07 -4.661979e-07
+ 8.735875e-03  5.674665e-03 -2.156823e-01 -3.039793e-01 -6.264665e-08  2.043584e-07
+ 8.735875e-03  6.018831e-03 -2.158936e-01 -3.039191e-01  7.084376e-08 -1.958294e-07
+ 8.735875e-03  6.344350e-03 -2.161079e-01 -3.038598e-01 -2.515443e-07  6.422048e-07
+ 8.735875e-03  6.653962e-03 -2.163251e-01 -3.038020e-01 -1.397468e-07  3.253610e-07
+ 8.735875e-03  6.949792e-03 -2.165450e-01 -3.037461e-01  1.744112e-07 -3.614267e-07
+ 8.735875e-03  7.233532e-03 -2.167680e-01 -3.036910e-01  8.025474e-09 -1.275509e-08
+ 8.735875e-03  7.506553e-03 -2.169940e-01 -3.036370e-01  1.823317e-09 -4.198709e-09
+ 8.735875e-03  7.769986e-03 -2.172229e-01 -3.035843e-01  1.866684e-09 -3.497134e-09
+ 8.735875e-03  8.024774e-03 -2.174549e-01 -3.035325e-01 -1.914464e-10  6.551754e-11
+ 8.735875e-03  8.271717e-03 -2.176897e-01 -3.034818e-01  1.039264e-08 -1.244740e-08
+ 8.735875e-03  8.511498e-03 -2.179274e-01 -3.034321e-01 -2.640422e-07 -9.757232e-08
+ 8.735875e-03  8.744705e-03 -2.181682e-01 -3.033834e-01  1.106692e-08 -1.281495e-08
+ 8.735875e-03  8.971852e-03 -2.184118e-01 -3.033355e-01  7.033639e-09 -6.179492e-09
+ 8.735875e-03  9.193388e-03 -2.186583e-01 -3.032885e-01  9.032258e-09 -5.601565e-09
+ 8.735875e-03  9.409709e-03 -2.189076e-01 -3.032422e-01  1.800600e-09 -1.763984e-09
+ 8.735875e-03  9.621167e-03 -2.191598e-01 -3.031967e-01 -9.331686e-09  3.204367e-10
+ 8.735875e-03  9.828076e-03 -2.194148e-01 -3.031520e-01 -2.301684e-08  2.052957e-09
+ 8.735875e-03  1.003072e-02 -2.196726e-01 -3.031079e-01  1.206863e-08 -6.983915e-10
+ 8.735875e-03  1.022935e-02 -2.199330e-01 -3.030644e-01  8.503729e-09 -1.593760e-09
+ 8.735875e-03  1.042419e-02 -2.201962e-01 -3.030215e-01  1.248949e-08 -4.428414e-09
+ 8.735875e-03  1.061546e-02 -2.204620e-01 -3.029792e-01 -3.159298e-09 -8.683230e-10
+ 8.735875e-03  1.080334e-02 -2.207304e-01 -3.029374e-01 -1.327799e-09 -1.895483e-09
+ 8.735875e-03  1.098801e-02 -2.210013e-01 -3.028960e-01  6.217740e-08  5.035131e-09
+ 8.735875e-03  1.116962e-02 -2.212747e-01 -3.028551e-01  2.275005e-07  1.519200e-08
+ 8.735875e-03  1.134833e-02 -2.215503e-01 -3.028146e-01  2.518224e-07  1.521622e-08
+ 8.735875e-03  1.152427e-02 -2.218300e-01 -3.027745e-01  3.174576e-07  1.897114e-08
+ 8.735875e-03  1.169756e-02 -2.221100e-01 -3.027352e-01  3.483581e-08 -9.540215e-09
+ 8.735875e-03  1.186832e-02 -2.223909e-01 -3.026947e-01  9.777847e-07  1.570972e-08
+ 8.735875e-03  1.203666e-02 -2.226756e-01 -3.026556e-01 -7.395338e-07 -4.428126e-08
+ 8.735875e-03  1.220268e-02 -2.229628e-01 -3.026166e-01 -9.792241e-09 -2.427774e-09
+ 8.735875e-03  1.236647e-02 -2.232515e-01 -3.025777e-01  2.021470e-08 -4.629284e-10
+ 8.735875e-03  1.252811e-02 -2.235423e-01 -3.025390e-01 -1.072876e-07 -6.776751e-09
+ 8.735875e-03  1.268770e-02 -2.238344e-01 -3.025004e-01  5.119704e-08  1.588126e-09
+ 8.735875e-03  1.284531e-02 -2.241283e-01 -3.024619e-01 -2.522695e-08 -1.608389e-09
+ 8.735875e-03  1.300100e-02 -2.244238e-01 -3.024235e-01  3.566308e-08  5.072670e-09
+ 8.735875e-03  1.315485e-02 -2.247208e-01 -3.023851e-01  1.444736e-08  1.497653e-09
+ 8.735875e-03  1.330692e-02 -2.250191e-01 -3.023467e-01 -2.089627e-09 -1.604183e-10
+ 8.735875e-03  1.345728e-02 -2.253186e-01 -3.023083e-01 -3.526869e-09  6.832366e-10
+ 8.735875e-03  1.360597e-02 -2.256193e-01 -3.022698e-01  7.217249e-09 -2.793539e-10
+ 8.735875e-03  1.375306e-02 -2.259210e-01 -3.022312e-01  8.654708e-10 -7.698397e-11
+ 8.735875e-03  1.389858e-02 -2.262235e-01 -3.021924e-01  1.695520e-08 -1.729195e-09
+ 8.735875e-03  1.404260e-02 -2.265268e-01 -3.021535e-01  6.222072e-08  4.364427e-08
+ 8.735875e-03  1.418516e-02 -2.268308e-01 -3.021145e-01 -3.218077e-09 -8.190914e-10
+ 8.735875e-03  1.432630e-02 -2.271352e-01 -3.020752e-01  4.454470e-09 -7.513020e-10
+ 8.735875e-03  1.446606e-02 -2.274400e-01 -3.020357e-01  8.321058e-08  7.446976e-10
+ 8.735875e-03  1.460449e-02 -2.277451e-01 -3.019958e-01  4.339247e-08 -3.631335e-10
+ 8.735875e-03  1.474161e-02 -2.280503e-01 -3.019557e-01 -1.215985e-07  1.235655e-08
+ 8.735875e-03  1.487748e-02 -2.283555e-01 -3.019152e-01 -2.890724e-09 -1.350621e-10
+ 8.735875e-03  1.501211e-02 -2.286605e-01 -3.018742e-01 -9.042090e-08  6.278216e-08
+ 8.735875e-03  1.514554e-02 -2.289652e-01 -3.018329e-01 -3.720631e-07 -3.809880e-08
+ 8.735875e-03  1.527781e-02 -2.292693e-01 -3.017913e-01 -2.025311e-07 -1.482924e-07
+ 8.735875e-03  1.540894e-02 -2.295722e-01 -3.017489e-01  4.777668e-07  3.140749e-08
+ 8.735875e-03  1.553897e-02 -2.298756e-01 -3.017061e-01 -1.184885e-07  2.376710e-08
+ 8.735875e-03  1.566792e-02 -2.301775e-01 -3.016627e-01 -4.149875e-08  9.959030e-10
+ 8.735875e-03  1.579582e-02 -2.304785e-01 -3.016186e-01 -3.699631e-07  2.689339e-08
+ 8.735875e-03  1.592268e-02 -2.307775e-01 -3.015741e-01  4.995164e-07  8.799052e-08
+ 8.735875e-03  1.604855e-02 -2.310759e-01 -3.015288e-01  4.200535e-09 -1.388582e-08
+ 8.735875e-03  1.617343e-02 -2.313725e-01 -3.014827e-01  1.452913e-07 -3.613642e-08
+ 8.735875e-03  1.629736e-02 -2.316676e-01 -3.014359e-01  3.326632e-07 -6.714090e-09
+ 8.735875e-03  1.642036e-02 -2.319609e-01 -3.013882e-01 -3.343843e-08 -9.215110e-10
+ 8.735875e-03  1.654243e-02 -2.322522e-01 -3.013397e-01 -1.476990e-07 -8.009473e-10
+ 8.735875e-03  1.666362e-02 -2.325412e-01 -3.012902e-01  5.324290e-09 -2.769751e-10
+ 8.735875e-03  1.678393e-02 -2.328279e-01 -3.012397e-01 -3.971055e-08 -2.472797e-09
+ 8.735875e-03  1.690338e-02 -2.331121e-01 -3.011883e-01 -3.224366e-08 -8.484365e-10
+ 8.735875e-03  1.702200e-02 -2.333937e-01 -3.011357e-01 -9.096835e-08 -3.975189e-09
+ 8.735875e-03  1.713979e-02 -2.336722e-01 -3.010819e-01 -3.017701e-08 -1.711093e-09
+ 8.735875e-03  1.725678e-02 -2.339483e-01 -3.010270e-01  1.420193e-07  3.607176e-09
+ 8.735875e-03  1.737298e-02 -2.342202e-01 -3.009708e-01 -4.506199e-08 -8.911903e-10
+ 8.735875e-03  1.748841e-02 -2.344908e-01 -3.009132e-01 -2.051094e-07  2.719549e-09
+ 8.735875e-03  1.760308e-02 -2.347576e-01 -3.008542e-01 -1.635011e-06  1.167831e-08
+ 8.735875e-03  1.771701e-02 -2.350185e-01 -3.007937e-01  6.165855e-07  7.351535e-09
+ 8.735875e-03  1.783022e-02 -2.352773e-01 -3.007316e-01  2.025991e-07 -2.058834e-08
+ 8.735875e-03  1.794270e-02 -2.355321e-01 -3.006678e-01  6.570111e-08 -8.493917e-09
+ 8.735875e-03  1.805449e-02 -2.357826e-01 -3.006024e-01  5.086203e-08 -4.840184e-09
+ 8.735875e-03  1.816559e-02 -2.360290e-01 -3.005351e-01  6.680932e-09  2.210532e-09
+ 8.735875e-03  1.827602e-02 -2.362708e-01 -3.004658e-01  1.735842e-08 -2.676574e-10
+ 8.735875e-03  1.838578e-02 -2.365081e-01 -3.003946e-01 -1.999840e-08 -9.606990e-09
+ 8.735875e-03  1.849489e-02 -2.367405e-01 -3.003212e-01  6.955836e-09 -2.011865e-09
+ 8.735875e-03  1.860336e-02 -2.369680e-01 -3.002456e-01 -9.442389e-09 -2.336401e-09
+ 8.735875e-03  1.871120e-02 -2.371902e-01 -3.001677e-01  2.097801e-07 -9.215126e-08
+ 8.735875e-03  1.881842e-02 -2.374076e-01 -3.000872e-01 -1.113317e-07  5.156682e-08
+ 8.735875e-03  1.892503e-02 -2.376187e-01 -3.000043e-01 -3.787654e-09 -1.003277e-09
+ 8.735875e-03  1.903105e-02 -2.378241e-01 -2.999188e-01  3.790535e-07 -1.147867e-07
+ 8.735875e-03  1.913648e-02 -2.380244e-01 -2.998301e-01 -2.769431e-07  9.155957e-08
+ 8.735875e-03  1.924133e-02 -2.382179e-01 -2.997386e-01 -2.146054e-08  1.427881e-08
+ 8.735875e-03  1.934562e-02 -2.384050e-01 -2.996440e-01 -2.013298e-09  4.120006e-09
+ 8.735875e-03  1.944934e-02 -2.385855e-01 -2.995461e-01 -1.440863e-08  2.067088e-09
+ 8.735875e-03  1.955252e-02 -2.387590e-01 -2.994448e-01  6.098018e-08  2.183076e-09
+ 8.735875e-03  1.965515e-02 -2.389252e-01 -2.993398e-01 -2.083437e-08  9.532501e-10
+ 8.735875e-03  1.975725e-02 -2.390837e-01 -2.992311e-01 -2.237289e-08 -1.011954e-09
+ 8.735875e-03  1.985883e-02 -2.392340e-01 -2.991184e-01  7.451906e-08  1.372889e-09
+ 8.735875e-03  1.995989e-02 -2.393758e-01 -2.990014e-01  2.828023e-09 -5.650524e-10
+ 8.735875e-03  2.006044e-02 -2.395083e-01 -2.988801e-01 -1.517155e-08 -6.186821e-10
+ 8.735875e-03  2.016048e-02 -2.396309e-01 -2.987541e-01 -4.987440e-08 -4.022585e-09
+ 8.735875e-03  2.026004e-02  4.027536e-01 -2.986232e-01  1.241906e-09 -2.805196e-09
+ 8.735875e-03  2.035910e-02  4.030258e-01 -2.984871e-01 -1.971226e-08  2.488414e-10
+ 8.735875e-03  2.045769e-02  4.033092e-01 -2.983454e-01  1.313012e-08 -2.365083e-10
+ 8.735875e-03  2.055580e-02  4.036044e-01 -2.981978e-01 -1.153966e-07 -2.650773e-09
+ 8.735875e-03  2.065345e-02  4.039124e-01 -2.980438e-01  5.211574e-08 -3.279266e-09
+ 8.735875e-03  2.075064e-02  4.042344e-01 -2.978828e-01  4.088553e-08 -5.467340e-09
+ 8.735875e-03  2.084738e-02  4.045713e-01 -2.977143e-01 -7.425016e-08 -1.108646e-09
+ 8.735875e-03  2.094367e-02  4.049256e-01 -2.975374e-01  1.063231e-06 -4.611474e-08
+ 8.735875e-03  2.103951e-02  4.052982e-01 -2.973509e-01 -8.664523e-08  3.708939e-09
+ 8.735875e-03  2.113493e-02  4.056933e-01 -2.971534e-01 -1.387382e-07 -6.495976e-08
+ 8.735875e-03  2.122991e-02  4.061145e-01 -2.969426e-01 -5.984494e-07  2.692372e-07
+ 8.735875e-03  2.132447e-02  4.065687e-01 -2.967156e-01 -3.620533e-07 -6.424207e-08
+ 8.735875e-03  2.141862e-02  4.070680e-01 -2.964659e-01 -2.224856e-07  1.199757e-08
+ 8.735875e-03  2.151235e-02  4.076362e-01 -2.961819e-01  2.497718e-08  1.429892e-10
+ 8.735875e-03  2.160567e-02  4.083434e-01 -2.958283e-01 -5.478033e-09  1.691978e-08
+ 8.735875e-03  2.169860e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.083435e-01  2.958283e-01
+ 8.735875e-03  2.529499e-02  4.580277e-01 -2.709862e-01  4.220207e-09 -6.251818e-09
+ 8.735875e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.735875e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.735875e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.735875e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.735875e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.735875e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.735875e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.735875e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.735875e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.580277e-01  2.709862e-01
+ 8.962793e-03  1.000000e-06 -2.147873e-01 -3.047636e-01  6.284785e-10  1.359207e-10
+ 8.962793e-03  2.006944e-03 -2.149699e-01 -3.046895e-01  1.028237e-09  2.062823e-10
+ 8.962793e-03  2.837833e-03 -2.151550e-01 -3.046174e-01  1.531335e-10 -1.159941e-09
+ 8.962793e-03  3.475396e-03 -2.153430e-01 -3.045472e-01  1.797604e-09  1.612917e-09
+ 8.962793e-03  4.012887e-03 -2.155336e-01 -3.044787e-01  1.817121e-10 -3.829319e-09
+ 8.962793e-03  4.486426e-03 -2.157271e-01 -3.044119e-01 -1.272991e-10  2.434861e-09
+ 8.962793e-03  4.914538e-03 -2.159234e-01 -3.043468e-01  1.283549e-09  2.573565e-09
+ 8.962793e-03  5.308228e-03 -2.161224e-01 -3.042835e-01  4.544959e-09 -1.638865e-08
+ 8.962793e-03  5.674665e-03 -2.163245e-01 -3.042212e-01  8.220290e-08 -2.769630e-07
+ 8.962793e-03  6.018831e-03 -2.165294e-01 -3.041604e-01 -1.326623e-08  3.822924e-08
+ 8.962793e-03  6.344350e-03 -2.167371e-01 -3.041013e-01  1.426358e-07 -3.845739e-07
+ 8.962793e-03  6.653962e-03 -2.169480e-01 -3.040428e-01 -2.380640e-07  5.798987e-07
+ 8.962793e-03  6.949792e-03 -2.171616e-01 -3.039861e-01 -3.176735e-07  6.989679e-07
+ 8.962793e-03  7.233532e-03 -2.173779e-01 -3.039311e-01  2.343726e-07 -4.636852e-07
+ 8.962793e-03  7.506553e-03 -2.175973e-01 -3.038767e-01  7.534704e-08 -3.460502e-08
+ 8.962793e-03  7.769986e-03 -2.178198e-01 -3.038234e-01  1.152936e-08 -4.853025e-08
+ 8.962793e-03  8.024774e-03 -2.180450e-01 -3.037712e-01  3.370921e-09 -1.437718e-09
+ 8.962793e-03  8.271717e-03 -2.182732e-01 -3.037199e-01  2.104236e-09  1.164633e-09
+ 8.962793e-03  8.511498e-03 -2.185043e-01 -3.036696e-01  3.485765e-09 -5.510396e-09
+ 8.962793e-03  8.744705e-03 -2.187383e-01 -3.036202e-01  5.863980e-09 -4.866641e-09
+ 8.962793e-03  8.971852e-03 -2.189751e-01 -3.035716e-01  1.285363e-08 -1.150114e-08
+ 8.962793e-03  9.193388e-03 -2.192148e-01 -3.035238e-01  8.861517e-09 -7.302373e-09
+ 8.962793e-03  9.409709e-03 -2.194574e-01 -3.034768e-01 -4.005128e-09 -5.996377e-09
+ 8.962793e-03  9.621167e-03 -2.197027e-01 -3.034305e-01 -1.361567e-08  7.476611e-10
+ 8.962793e-03  9.828076e-03 -2.199507e-01 -3.033849e-01  1.560417e-08 -8.907488e-10
+ 8.962793e-03  1.003072e-02 -2.202016e-01 -3.033399e-01 -1.665452e-09  6.694867e-11
+ 8.962793e-03  1.022935e-02 -2.204551e-01 -3.032954e-01  5.597169e-09 -1.637469e-09
+ 8.962793e-03  1.042419e-02 -2.207112e-01 -3.032515e-01 -1.027273e-08 -3.826731e-10
+ 8.962793e-03  1.061546e-02 -2.209700e-01 -3.032082e-01  9.178175e-08  6.040657e-09
+ 8.962793e-03  1.080334e-02 -2.212312e-01 -3.031653e-01  9.243683e-08  4.090938e-10
+ 8.962793e-03  1.098801e-02 -2.214951e-01 -3.031228e-01 -1.880938e-08 -3.696909e-09
+ 8.962793e-03  1.116962e-02 -2.217618e-01 -3.030808e-01 -6.811908e-07 -4.530280e-08
+ 8.962793e-03  1.134833e-02 -2.220309e-01 -3.030392e-01  1.183471e-06  1.412042e-07
+ 8.962793e-03  1.152427e-02 -2.222979e-01 -3.029959e-01  1.695735e-06  1.123588e-06
+ 8.962793e-03  1.169756e-02 -2.225716e-01 -3.029559e-01  3.251152e-06  1.998668e-07
+ 8.962793e-03  1.186832e-02 -2.228492e-01 -3.029152e-01 -3.746483e-07 -2.294175e-08
+ 8.962793e-03  1.203666e-02 -2.231262e-01 -3.028745e-01  7.218713e-08  4.220289e-09
+ 8.962793e-03  1.220268e-02 -2.234058e-01 -3.028340e-01  3.948246e-08  2.349742e-09
+ 8.962793e-03  1.236647e-02 -2.236870e-01 -3.027936e-01  7.480461e-08  3.095471e-09
+ 8.962793e-03  1.252811e-02 -2.239701e-01 -3.027533e-01 -7.908342e-08 -4.697769e-09
+ 8.962793e-03  1.268770e-02 -2.242550e-01 -3.027132e-01 -3.478553e-09 -2.185844e-09
+ 8.962793e-03  1.284531e-02 -2.245415e-01 -3.026730e-01 -6.308441e-09 -1.947538e-09
+ 8.962793e-03  1.300100e-02 -2.248296e-01 -3.026329e-01 -4.329117e-09 -1.976528e-09
+ 8.962793e-03  1.315485e-02 -2.251191e-01 -3.025928e-01  3.272942e-09 -1.201729e-09
+ 8.962793e-03  1.330692e-02 -2.254099e-01 -3.025526e-01  1.119800e-08  3.330655e-10
+ 8.962793e-03  1.345728e-02 -2.257020e-01 -3.025123e-01  7.895208e-09  2.630732e-10
+ 8.962793e-03  1.360597e-02 -2.259951e-01 -3.024720e-01 -8.373675e-10  2.418218e-09
+ 8.962793e-03  1.375306e-02 -2.262893e-01 -3.024315e-01  1.829382e-09 -2.982862e-10
+ 8.962793e-03  1.389858e-02 -2.265843e-01 -3.023908e-01  8.216154e-09 -2.108502e-09
+ 8.962793e-03  1.404260e-02 -2.268802e-01 -3.023500e-01  9.178396e-08 -3.085844e-09
+ 8.962793e-03  1.418516e-02 -2.271766e-01 -3.023088e-01 -1.589883e-09  2.764072e-10
+ 8.962793e-03  1.432630e-02 -2.274736e-01 -3.022675e-01 -1.368896e-07  6.853743e-09
+ 8.962793e-03  1.446606e-02 -2.277709e-01 -3.022258e-01  5.619702e-09 -1.908475e-09
+ 8.962793e-03  1.460449e-02 -2.280685e-01 -3.021838e-01 -5.692002e-08  6.731661e-08
+ 8.962793e-03  1.474161e-02 -2.283662e-01 -3.021415e-01 -3.676461e-07 -2.219243e-08
+ 8.962793e-03  1.487748e-02 -2.286638e-01 -3.020989e-01 -3.094782e-07 -1.680256e-07
+ 8.962793e-03  1.501211e-02 -2.289607e-01 -3.020557e-01  4.557593e-07  4.084180e-08
+ 8.962793e-03  1.514554e-02 -2.292584e-01 -3.020120e-01 -1.261975e-07  2.261884e-08
+ 8.962793e-03  1.527781e-02 -2.295551e-01 -3.019679e-01 -1.154148e-07 -2.050777e-10
+ 8.962793e-03  1.540894e-02 -2.298515e-01 -3.019232e-01 -7.386340e-07  6.192493e-08
+ 8.962793e-03  1.553897e-02 -2.301462e-01 -3.018780e-01  4.523910e-07  1.596599e-07
+ 8.962793e-03  1.566792e-02 -2.304409e-01 -3.018323e-01 -6.396708e-09 -3.212886e-08
+ 8.962793e-03  1.579582e-02 -2.307343e-01 -3.017859e-01  8.932920e-08 -4.222879e-08
+ 8.962793e-03  1.592268e-02 -2.310266e-01 -3.017388e-01  3.289313e-07 -5.230178e-09
+ 8.962793e-03  1.604855e-02 -2.313176e-01 -3.016910e-01  3.101476e-08 -2.721616e-09
+ 8.962793e-03  1.617343e-02 -2.316072e-01 -3.016424e-01 -1.552090e-07 -4.903528e-09
+ 8.962793e-03  1.629736e-02 -2.318950e-01 -3.015930e-01 -1.082118e-08 -9.457258e-10
+ 8.962793e-03  1.642036e-02 -2.321810e-01 -3.015428e-01 -1.951514e-08 -3.505369e-09
+ 8.962793e-03  1.654243e-02 -2.324650e-01 -3.014916e-01 -1.933599e-08  7.285789e-10
+ 8.962793e-03  1.666362e-02 -2.327469e-01 -3.014395e-01 -1.270468e-08  4.856282e-09
+ 8.962793e-03  1.678393e-02 -2.330265e-01 -3.013865e-01 -1.744927e-08 -1.712891e-09
+ 8.962793e-03  1.690338e-02 -2.333038e-01 -3.013324e-01 -1.707270e-08 -3.404769e-10
+ 8.962793e-03  1.702200e-02 -2.335785e-01 -3.012771e-01 -7.668469e-08 -2.787057e-09
+ 8.962793e-03  1.713979e-02 -2.338505e-01 -3.012207e-01  1.195675e-07  1.676829e-09
+ 8.962793e-03  1.725678e-02 -2.341197e-01 -3.011631e-01 -7.151365e-07 -2.308036e-08
+ 8.962793e-03  1.737298e-02 -2.343846e-01 -3.011042e-01 -2.409687e-07  5.151357e-09
+ 8.962793e-03  1.748841e-02 -2.346485e-01 -3.010440e-01 -6.202175e-08 -6.271184e-10
+ 8.962793e-03  1.760308e-02 -2.349086e-01 -3.009823e-01 -8.205892e-07  2.721780e-09
+ 8.962793e-03  1.771701e-02 -2.351630e-01 -3.009191e-01  5.791056e-07 -2.206376e-08
+ 8.962793e-03  1.783022e-02 -2.354155e-01 -3.008544e-01  7.676391e-08  5.030456e-08
+ 8.962793e-03  1.794270e-02 -2.356639e-01 -3.007880e-01 -3.006425e-08  9.169328e-08
+ 8.962793e-03  1.805449e-02 -2.359082e-01 -3.007199e-01  6.316806e-08 -5.194718e-09
+ 8.962793e-03  1.816559e-02 -2.361485e-01 -3.006500e-01  1.999898e-08 -4.711878e-09
+ 8.962793e-03  1.827602e-02 -2.363843e-01 -3.005781e-01  4.357641e-08  8.575394e-10
+ 8.962793e-03  1.838578e-02 -2.366157e-01 -3.005044e-01  5.612314e-09  6.789986e-10
+ 8.962793e-03  1.849489e-02 -2.368424e-01 -3.004284e-01  5.135932e-08  4.892645e-10
+ 8.962793e-03  1.860336e-02 -2.370643e-01 -3.003503e-01  7.469567e-09 -2.292672e-09
+ 8.962793e-03  1.871120e-02 -2.372812e-01 -3.002699e-01  6.784466e-08 -1.259612e-08
+ 8.962793e-03  1.881842e-02 -2.374929e-01 -3.001871e-01  1.453453e-08 -1.089484e-08
+ 8.962793e-03  1.892503e-02 -2.376996e-01 -3.001016e-01 -2.607181e-08  9.381880e-09
+ 8.962793e-03  1.903105e-02 -2.379001e-01 -3.000137e-01  7.497294e-08 -2.143044e-08
+ 8.962793e-03  1.913648e-02 -2.380949e-01 -2.999230e-01  4.557237e-07 -1.635389e-07
+ 8.962793e-03  1.924133e-02 -2.382845e-01 -2.998291e-01 -2.173895e-07  9.201731e-08
+ 8.962793e-03  1.934562e-02 -2.384674e-01 -2.997324e-01 -6.197508e-08  1.516317e-08
+ 8.962793e-03  1.944934e-02 -2.386439e-01 -2.996325e-01 -3.409495e-08  4.560710e-09
+ 8.962793e-03  1.955252e-02 -2.388137e-01 -2.995292e-01  5.512273e-08  2.499948e-09
+ 8.962793e-03  1.965515e-02 -2.389766e-01 -2.994223e-01 -1.028735e-08  8.749612e-11
+ 8.962793e-03  1.975725e-02 -2.391321e-01 -2.993118e-01 -2.171016e-08 -6.185869e-10
+ 8.962793e-03  1.985883e-02 -2.392799e-01 -2.991974e-01  8.055130e-08  2.235030e-09
+ 8.962793e-03  1.995989e-02 -2.394196e-01 -2.990790e-01 -4.654631e-08  1.214765e-09
+ 8.962793e-03  2.006044e-02 -2.395506e-01 -2.989563e-01 -2.654721e-08 -3.613926e-10
+ 8.962793e-03  2.016048e-02 -2.396722e-01 -2.988291e-01  2.627165e-08  1.316169e-10
+ 8.962793e-03  2.026004e-02 -2.397838e-01 -2.986972e-01  7.556784e-08  2.428241e-10
+ 8.962793e-03  2.035910e-02 -2.398844e-01 -2.985602e-01 -5.227032e-09  6.958165e-10
+ 8.962793e-03  2.045769e-02 -2.399729e-01 -2.984179e-01  1.286063e-09  1.239930e-09
+ 8.962793e-03  2.055580e-02 -2.400478e-01 -2.982700e-01 -2.458047e-08 -2.434326e-09
+ 8.962793e-03  2.065345e-02 -2.401070e-01 -2.981160e-01  5.079298e-07 -3.271522e-08
+ 8.962793e-03  2.075064e-02  4.040891e-01 -2.979553e-01 -3.491856e-08  1.996121e-09
+ 8.962793e-03  2.084738e-02  4.044247e-01 -2.977876e-01 -1.272804e-08  2.547438e-09
+ 8.962793e-03  2.094367e-02  4.047757e-01 -2.976121e-01 -9.998241e-08  2.269838e-09
+ 8.962793e-03  2.103951e-02  4.051437e-01 -2.974276e-01 -2.426359e-07  3.397186e-09
+ 8.962793e-03  2.113493e-02  4.055338e-01 -2.972332e-01  6.436224e-07 -6.011042e-09
+ 8.962793e-03  2.122991e-02  4.059468e-01 -2.970270e-01  4.891000e-07 -9.031104e-08
+ 8.962793e-03  2.132447e-02  4.063879e-01 -2.968061e-01 -1.640800e-08 -1.801431e-08
+ 8.962793e-03  2.141862e-02  4.068675e-01 -2.965662e-01 -8.258344e-07  2.125663e-08
+ 8.962793e-03  2.151235e-02  4.074026e-01 -2.962987e-01  1.792244e-07  5.503617e-09
+ 8.962793e-03  2.160567e-02  4.080342e-01 -2.959829e-01  1.942587e-08  4.268426e-09
+ 8.962793e-03  2.169860e-02  4.089858e-01 -2.955071e-01  1.631713e-07  9.539138e-08
+ 8.962793e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.089856e-01  2.955072e-01
+ 8.962793e-03  2.537440e-02  4.597506e-01 -2.701247e-01 -1.849721e-04 -9.255240e-05
+ 8.962793e-03  2.545357e-02  4.633896e-01 -2.683054e-01  2.771333e-07  1.311658e-08
+ 8.962793e-03  2.553249e-02  4.666666e-01 -2.666668e-01 -1.116777e-07 -1.588963e-08
+ 8.962793e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.666667e-01  2.666668e-01
+ 8.962793e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.666667e-01  2.666668e-01
+ 8.962793e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.666667e-01  2.666668e-01
+ 8.962793e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.666667e-01  2.666668e-01
+ 8.962793e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.666667e-01  2.666668e-01
+ 8.962793e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.666667e-01  2.666668e-01
+ 9.184105e-03  1.000000e-06 -2.154742e-01 -3.050043e-01  9.048627e-10 -3.585316e-10
+ 9.184105e-03  2.006944e-03 -2.156504e-01 -3.049303e-01 -9.342935e-11  8.901315e-10
+ 9.184105e-03  2.837833e-03 -2.158293e-01 -3.048582e-01  1.877852e-09  3.565302e-09
+ 9.184105e-03  3.475396e-03 -2.160109e-01 -3.047879e-01 -5.343957e-10  4.912900e-09
+ 9.184105e-03  4.012887e-03 -2.161953e-01 -3.047193e-01 -3.033965e-09  2.058961e-08
+ 9.184105e-03  4.486426e-03 -2.163825e-01 -3.046525e-01  1.184740e-09  1.200744e-08
+ 9.184105e-03  4.914538e-03 -2.165725e-01 -3.045871e-01 -2.173297e-08  1.078539e-07
+ 9.184105e-03  5.308228e-03 -2.167652e-01 -3.045235e-01  9.315396e-08 -3.896621e-07
+ 9.184105e-03  5.674665e-03 -2.169608e-01 -3.044615e-01  3.483302e-08 -1.279140e-07
+ 9.184105e-03  6.018831e-03 -2.171594e-01 -3.044002e-01 -5.552516e-08  1.779831e-07
+ 9.184105e-03  6.344350e-03 -2.173607e-01 -3.043407e-01 -7.838445e-08 -2.616161e-08
+ 9.184105e-03  6.653962e-03 -2.175650e-01 -3.042824e-01  8.365876e-08 -2.405802e-07
+ 9.184105e-03  6.949792e-03 -2.177724e-01 -3.042248e-01 -9.876126e-08  2.366785e-07
+ 9.184105e-03  7.233532e-03 -2.179824e-01 -3.041692e-01 -3.583689e-07  7.652322e-07
+ 9.184105e-03  7.506553e-03 -2.181951e-01 -3.041148e-01  1.774699e-07 -3.475564e-07
+ 9.184105e-03  7.769986e-03 -2.184110e-01 -3.040609e-01  3.431375e-08 -5.995624e-08
+ 9.184105e-03  8.024774e-03 -2.186297e-01 -3.040082e-01  4.780366e-08 -7.671440e-08
+ 9.184105e-03  8.271717e-03 -2.188513e-01 -3.039564e-01  1.075198e-08 -1.226095e-08
+ 9.184105e-03  8.511498e-03 -2.190758e-01 -3.039054e-01  4.172475e-09 -5.878391e-09
+ 9.184105e-03  8.744705e-03 -2.193031e-01 -3.038554e-01  8.963528e-09  2.078180e-10
+ 9.184105e-03  8.971852e-03 -2.195333e-01 -3.038061e-01  3.435890e-09 -7.146689e-10
+ 9.184105e-03  9.193388e-03 -2.197663e-01 -3.037576e-01 -9.385208e-10 -6.471995e-09
+ 9.184105e-03  9.409709e-03 -2.200021e-01 -3.037099e-01 -4.269217e-09 -3.016778e-09
+ 9.184105e-03  9.621167e-03 -2.202406e-01 -3.036627e-01  1.951883e-08 -9.377730e-09
+ 9.184105e-03  9.828076e-03 -2.204818e-01 -3.036163e-01  3.222934e-09 -5.531929e-09
+ 9.184105e-03  1.003072e-02 -2.207258e-01 -3.035703e-01  3.772423e-09 -5.892719e-09
+ 9.184105e-03  1.022935e-02 -2.209724e-01 -3.035250e-01  7.250709e-08  7.331150e-09
+ 9.184105e-03  1.042419e-02 -2.212216e-01 -3.034801e-01  1.085643e-07  1.772704e-08
+ 9.184105e-03  1.061546e-02 -2.214735e-01 -3.034357e-01 -4.352807e-09 -6.399201e-10
+ 9.184105e-03  1.080334e-02 -2.217279e-01 -3.033918e-01 -1.035291e-06 -6.719484e-08
+ 9.184105e-03  1.098801e-02 -2.219864e-01 -3.033485e-01 -1.180941e-06 -7.086769e-08
+ 9.184105e-03  1.116962e-02 -2.222409e-01 -3.033036e-01 -1.272571e-05 -5.657969e-06
+ 9.184105e-03  1.134833e-02 -2.225022e-01 -3.032612e-01  4.190023e-07  2.038605e-08
+ 9.184105e-03  1.152427e-02 -2.227685e-01 -3.032188e-01  5.584278e-08  1.750773e-09
+ 9.184105e-03  1.169756e-02 -2.230341e-01 -3.031764e-01 -1.141802e-07 -9.715827e-09
+ 9.184105e-03  1.186832e-02 -2.233024e-01 -3.031341e-01  4.587668e-08  2.038389e-09
+ 9.184105e-03  1.203666e-02 -2.235726e-01 -3.030921e-01 -2.859663e-08 -2.631268e-09
+ 9.184105e-03  1.220268e-02 -2.238447e-01 -3.030501e-01 -8.264501e-09 -2.917276e-10
+ 9.184105e-03  1.236647e-02 -2.241187e-01 -3.030083e-01  1.127253e-08  3.006911e-11
+ 9.184105e-03  1.252811e-02 -2.243946e-01 -3.029665e-01  9.133080e-11 -5.223857e-10
+ 9.184105e-03  1.268770e-02 -2.246721e-01 -3.029247e-01  1.484117e-08 -7.683015e-11
+ 9.184105e-03  1.284531e-02 -2.249513e-01 -3.028830e-01  8.048027e-09 -6.686688e-10
+ 9.184105e-03  1.300100e-02 -2.252320e-01 -3.028412e-01 -4.947456e-11  1.597814e-09
+ 9.184105e-03  1.315485e-02 -2.255141e-01 -3.027994e-01 -2.113547e-09 -1.208183e-09
+ 9.184105e-03  1.330692e-02 -2.257976e-01 -3.027574e-01 -2.807530e-09 -4.345291e-10
+ 9.184105e-03  1.345728e-02 -2.260822e-01 -3.027154e-01  7.045950e-08  3.929390e-10
+ 9.184105e-03  1.360597e-02 -2.263680e-01 -3.026732e-01  4.649127e-08 -8.078227e-10
+ 9.184105e-03  1.375306e-02 -2.266547e-01 -3.026308e-01 -7.376245e-08  1.337739e-08
+ 9.184105e-03  1.389858e-02 -2.269425e-01 -3.025883e-01 -3.294111e-08  1.060951e-08
+ 9.184105e-03  1.404260e-02 -2.272309e-01 -3.025455e-01 -3.658127e-08  1.792145e-08
+ 9.184105e-03  1.418516e-02 -2.275198e-01 -3.025024e-01 -2.294319e-07 -2.112069e-09
+ 9.184105e-03  1.432630e-02 -2.278096e-01 -3.024591e-01 -2.295588e-07  4.994538e-08
+ 9.184105e-03  1.446606e-02 -2.280989e-01 -3.024154e-01 -1.424120e-07 -1.897037e-07
+ 9.184105e-03  1.460449e-02 -2.283890e-01 -3.023712e-01 -1.821138e-07  6.413768e-08
+ 9.184105e-03  1.474161e-02 -2.286795e-01 -3.023268e-01 -1.542631e-09  2.483830e-10
+ 9.184105e-03  1.487748e-02 -2.289700e-01 -3.022819e-01  2.194864e-07  1.530483e-08
+ 9.184105e-03  1.501211e-02 -2.292601e-01 -3.022364e-01 -1.089390e-07  3.666184e-09
+ 9.184105e-03  1.514554e-02 -2.295493e-01 -3.021906e-01  5.417200e-07  9.494598e-08
+ 9.184105e-03  1.527781e-02 -2.298389e-01 -3.021443e-01 -5.550268e-09 -1.634432e-08
+ 9.184105e-03  1.540894e-02 -2.301276e-01 -3.020974e-01  9.227144e-08 -4.606347e-08
+ 9.184105e-03  1.553897e-02 -2.304157e-01 -3.020499e-01  2.826935e-07 -4.859416e-09
+ 9.184105e-03  1.566792e-02 -2.307030e-01 -3.020017e-01  1.584224e-08  1.818294e-10
+ 9.184105e-03  1.579582e-02 -2.309893e-01 -3.019529e-01 -1.207886e-07 -2.796302e-09
+ 9.184105e-03  1.592268e-02 -2.312744e-01 -3.019034e-01 -1.600954e-08 -8.227301e-10
+ 9.184105e-03  1.604855e-02 -2.315581e-01 -3.018532e-01 -1.224449e-08 -8.146815e-09
+ 9.184105e-03  1.617343e-02 -2.318403e-01 -3.018021e-01 -3.622097e-08  5.999503e-09
+ 9.184105e-03  1.629736e-02 -2.321209e-01 -3.017502e-01 -2.433512e-09 -1.476975e-09
+ 9.184105e-03  1.642036e-02 -2.323998e-01 -3.016975e-01  1.863962e-09 -2.769104e-09
+ 9.184105e-03  1.654243e-02 -2.326768e-01 -3.016439e-01 -2.632744e-08  6.801140e-09
+ 9.184105e-03  1.666362e-02 -2.329518e-01 -3.015893e-01  2.916288e-08  8.457141e-10
+ 9.184105e-03  1.678393e-02 -2.332245e-01 -3.015336e-01 -1.219046e-08 -1.448512e-09
+ 9.184105e-03  1.690338e-02 -2.334948e-01 -3.014770e-01  5.305368e-10  3.042701e-10
+ 9.184105e-03  1.702200e-02 -2.337623e-01 -3.014191e-01  7.444300e-07  2.585841e-08
+ 9.184105e-03  1.713979e-02 -2.340277e-01 -3.013602e-01  3.962414e-08  8.202652e-10
+ 9.184105e-03  1.725678e-02 -2.342903e-01 -3.013000e-01  8.933740e-08  2.763293e-09
+ 9.184105e-03  1.737298e-02 -2.345489e-01 -3.012385e-01 -5.660324e-07  3.617295e-09
+ 9.184105e-03  1.748841e-02 -2.348060e-01 -3.011757e-01  2.159492e-07 -2.862470e-09
+ 9.184105e-03  1.760308e-02 -2.350595e-01 -3.011114e-01  1.690016e-08 -7.241953e-10
+ 9.184105e-03  1.771701e-02 -2.353075e-01 -3.010457e-01  2.239544e-07 -1.933235e-10
+ 9.184105e-03  1.783022e-02 -2.355538e-01 -3.009784e-01  3.324680e-08  1.858315e-08
+ 9.184105e-03  1.794270e-02 -2.357960e-01 -3.009094e-01  1.019592e-07 -1.968635e-08
+ 9.184105e-03  1.805449e-02 -2.360343e-01 -3.008387e-01  2.837567e-08 -3.559406e-09
+ 9.184105e-03  1.816559e-02 -2.362684e-01 -3.007663e-01  4.808135e-08 -1.149604e-08
+ 9.184105e-03  1.827602e-02 -2.364985e-01 -3.006920e-01  1.703263e-07  1.442566e-07
+ 9.184105e-03  1.838578e-02 -2.367241e-01 -3.006157e-01  1.351834e-09  1.414828e-09
+ 9.184105e-03  1.849489e-02 -2.369452e-01 -3.005373e-01  6.908973e-09  1.333335e-09
+ 9.184105e-03  1.860336e-02 -2.371616e-01 -3.004568e-01  1.568282e-09 -1.396198e-09
+ 9.184105e-03  1.871120e-02 -2.373732e-01 -3.003740e-01  4.456290e-08 -1.626785e-09
+ 9.184105e-03  1.881842e-02 -2.375798e-01 -3.002888e-01  2.297821e-09 -1.004264e-09
+ 9.184105e-03  1.892503e-02 -2.377811e-01 -3.002011e-01  5.554571e-08 -4.083166e-09
+ 9.184105e-03  1.903105e-02 -2.379775e-01 -3.001107e-01 -2.231497e-07  8.425019e-08
+ 9.184105e-03  1.913648e-02 -2.381676e-01 -3.000179e-01  1.162277e-07 -4.403581e-08
+ 9.184105e-03  1.924133e-02 -2.383522e-01 -2.999221e-01  4.990468e-07 -1.612623e-07
+ 9.184105e-03  1.934562e-02 -2.385315e-01 -2.998231e-01 -1.840871e-07  5.918480e-08
+ 9.184105e-03  1.944934e-02 -2.387041e-01 -2.997212e-01 -3.347067e-08  3.076939e-08
+ 9.184105e-03  1.955252e-02 -2.388703e-01 -2.996160e-01  2.310060e-08  9.426875e-10
+ 9.184105e-03  1.965515e-02 -2.390300e-01 -2.995073e-01 -4.845587e-10  1.412660e-10
+ 9.184105e-03  1.975725e-02 -2.391826e-01 -2.993951e-01  4.117546e-09 -2.547851e-12
+ 9.184105e-03  1.985883e-02 -2.393279e-01 -2.992791e-01  4.370755e-08  3.454235e-10
+ 9.184105e-03  1.995989e-02 -2.394656e-01 -2.991592e-01  9.465068e-10 -4.135723e-09
+ 9.184105e-03  2.006044e-02 -2.395951e-01 -2.990351e-01 -5.340569e-08  4.251590e-09
+ 9.184105e-03  2.016048e-02 -2.397159e-01 -2.989067e-01  6.925807e-08  1.543811e-09
+ 9.184105e-03  2.026004e-02 -2.398273e-01 -2.987737e-01  4.772058e-08  9.079136e-10
+ 9.184105e-03  2.035910e-02 -2.399285e-01 -2.986359e-01 -7.343210e-09  3.003790e-09
+ 9.184105e-03  2.045769e-02 -2.400186e-01 -2.984929e-01  6.392467e-09 -1.851198e-09
+ 9.184105e-03  2.055580e-02 -2.400962e-01 -2.983446e-01 -6.840745e-09 -3.568680e-10
+ 9.184105e-03  2.065345e-02 -2.401599e-01 -2.981904e-01  7.159585e-08 -6.308737e-09
+ 9.184105e-03  2.075064e-02 -2.402075e-01 -2.980299e-01  1.488548e-07 -4.977043e-09
+ 9.184105e-03  2.084738e-02  4.042747e-01 -2.978627e-01  1.730204e-07 -3.838104e-09
+ 9.184105e-03  2.094367e-02 -2.402435e-01 -2.976881e-01  5.193922e-08 -2.403500e-10
+ 9.184105e-03  2.103951e-02  4.049893e-01 -2.975051e-01 -6.614827e-07  3.063871e-08
+ 9.184105e-03  2.113493e-02  4.053742e-01 -2.973129e-01 -3.408031e-07  5.708208e-09
+ 9.184105e-03  2.122991e-02  4.057810e-01 -2.971096e-01 -2.901469e-07 -1.126829e-07
+ 9.184105e-03  2.132447e-02  4.062137e-01 -2.968931e-01 -7.665583e-07  2.759704e-07
+ 9.184105e-03  2.141862e-02  4.066798e-01 -2.966603e-01  8.122028e-07 -4.519798e-07
+ 9.184105e-03  2.151235e-02  4.071930e-01 -2.964034e-01 -1.344930e-07  9.972306e-09
+ 9.184105e-03  2.160567e-02  4.077828e-01 -2.961086e-01 -6.403718e-08  2.065463e-08
+ 9.184105e-03  2.169860e-02  4.085503e-01 -2.957248e-01  5.121881e-08  2.180907e-08
+ 9.184105e-03  2.179112e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.085503e-01  2.957249e-01
+ 9.184105e-03  2.553249e-02  4.656678e-01 -2.671660e-01 -1.304892e-07  1.174837e-07
+ 9.184105e-03  2.561117e-02  4.685379e-01 -2.657313e-01  4.685379e-01 -2.657313e-01
+ 9.184105e-03  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.184105e-03  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.184105e-03  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.184105e-03  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.184105e-03  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 9.400207e-03  1.000000e-06 -2.161550e-01 -3.052433e-01 -1.198364e-10  1.920578e-10
+ 9.400207e-03  2.006944e-03 -2.163250e-01 -3.051693e-01  2.452609e-09 -6.167050e-10
+ 9.400207e-03  2.837833e-03 -2.164976e-01 -3.050972e-01 -3.292294e-10 -1.294924e-09
+ 9.400207e-03  3.475396e-03 -2.166729e-01 -3.050269e-01  7.296361e-11 -9.784240e-11
+ 9.400207e-03  4.012887e-03 -2.168510e-01 -3.049583e-01  2.474509e-09  1.359598e-09
+ 9.400207e-03  4.486426e-03 -2.170319e-01 -3.048913e-01 -1.723664e-08  1.287722e-08
+ 9.400207e-03  4.914538e-03 -2.172156e-01 -3.048258e-01 -6.012879e-09  2.335183e-08
+ 9.400207e-03  5.308228e-03 -2.174021e-01 -3.047618e-01 -5.936618e-08  2.801861e-07
+ 9.400207e-03  5.674665e-03 -2.175914e-01 -3.046997e-01  1.266888e-07 -4.946355e-07
+ 9.400207e-03  6.018831e-03 -2.177835e-01 -3.046387e-01  1.563715e-07 -5.278859e-07
+ 9.400207e-03  6.344350e-03 -2.179787e-01 -3.045783e-01 -1.331417e-07  4.067224e-07
+ 9.400207e-03  6.653962e-03 -2.181765e-01 -3.045200e-01  1.208026e-08 -3.385754e-08
+ 9.400207e-03  6.949792e-03 -2.183773e-01 -3.044624e-01 -9.208315e-08  2.386664e-07
+ 9.400207e-03  7.233532e-03 -2.185812e-01 -3.044055e-01 -4.591989e-09  9.699422e-09
+ 9.400207e-03  7.506553e-03 -2.187875e-01 -3.043508e-01 -2.352711e-07  4.931418e-07
+ 9.400207e-03  7.769986e-03 -2.189967e-01 -3.042969e-01  9.641758e-08 -1.737653e-07
+ 9.400207e-03  8.024774e-03 -2.192090e-01 -3.042435e-01  2.161087e-08 -3.547074e-08
+ 9.400207e-03  8.271717e-03 -2.194241e-01 -3.041912e-01  5.285800e-08 -8.837543e-08
+ 9.400207e-03  8.511498e-03 -2.196420e-01 -3.041397e-01  2.457286e-08 -2.380102e-08
+ 9.400207e-03  8.744705e-03 -2.198628e-01 -3.040890e-01  1.848105e-08 -1.918469e-08
+ 9.400207e-03  8.971852e-03 -2.200863e-01 -3.040390e-01 -8.008952e-09 -5.666684e-10
+ 9.400207e-03  9.193388e-03 -2.203126e-01 -3.039898e-01  1.034362e-08  4.767456e-09
+ 9.400207e-03  9.409709e-03 -2.205417e-01 -3.039413e-01  2.905206e-09 -4.442051e-09
+ 9.400207e-03  9.621167e-03 -2.207736e-01 -3.038934e-01  9.404364e-09 -5.392234e-09
+ 9.400207e-03  9.828076e-03 -2.210081e-01 -3.038461e-01  5.089868e-08 -8.314625e-09
+ 9.400207e-03  1.003072e-02 -2.212452e-01 -3.037993e-01  1.345315e-07  3.434622e-09
+ 9.400207e-03  1.022935e-02 -2.214852e-01 -3.037530e-01 -2.521123e-08 -7.470022e-09
+ 9.400207e-03  1.042419e-02 -2.217278e-01 -3.037073e-01 -1.083371e-06 -7.834531e-08
+ 9.400207e-03  1.061546e-02 -2.219748e-01 -3.036623e-01 -1.989458e-06 -1.353184e-07
+ 9.400207e-03  1.080334e-02 -2.222194e-01 -3.036166e-01  3.434505e-06  1.499403e-06
+ 9.400207e-03  1.098801e-02 -2.224660e-01 -3.035708e-01 -4.526925e-07 -4.290243e-08
+ 9.400207e-03  1.116962e-02 -2.227204e-01 -3.035269e-01 -8.959126e-07 -6.378314e-08
+ 9.400207e-03  1.134833e-02 -2.229752e-01 -3.034828e-01 -2.266354e-07 -2.315022e-08
+ 9.400207e-03  1.152427e-02 -2.232318e-01 -3.034389e-01 -9.446361e-08 -8.323784e-09
+ 9.400207e-03  1.169756e-02 -2.234906e-01 -3.033952e-01  3.175993e-08  1.714673e-09
+ 9.400207e-03  1.186832e-02 -2.237519e-01 -3.033517e-01 -8.052102e-10  5.716327e-10
+ 9.400207e-03  1.203666e-02 -2.240148e-01 -3.033082e-01  8.404940e-09 -3.941276e-10
+ 9.400207e-03  1.220268e-02 -2.242798e-01 -3.032648e-01  1.052399e-09 -3.656137e-11
+ 9.400207e-03  1.236647e-02 -2.245467e-01 -3.032215e-01 -8.474547e-09  7.292403e-10
+ 9.400207e-03  1.252811e-02 -2.248153e-01 -3.031782e-01 -4.884704e-09 -1.749854e-09
+ 9.400207e-03  1.268770e-02 -2.250856e-01 -3.031349e-01  1.072574e-08  8.592578e-10
+ 9.400207e-03  1.284531e-02 -2.253575e-01 -3.030916e-01  6.099247e-08 -1.573811e-09
+ 9.400207e-03  1.300100e-02 -2.256309e-01 -3.030482e-01  4.153293e-08 -5.399936e-10
+ 9.400207e-03  1.315485e-02 -2.259058e-01 -3.030047e-01 -6.520153e-08  1.420730e-08
+ 9.400207e-03  1.330692e-02 -2.261820e-01 -3.029611e-01 -5.571788e-08 -4.785598e-09
+ 9.400207e-03  1.345728e-02 -2.264594e-01 -3.029173e-01 -1.061535e-08  3.942759e-09
+ 9.400207e-03  1.360597e-02 -2.267378e-01 -3.028733e-01 -9.613086e-08  4.479840e-08
+ 9.400207e-03  1.375306e-02 -2.270173e-01 -3.028291e-01 -2.799745e-07  3.997262e-08
+ 9.400207e-03  1.389858e-02 -2.272976e-01 -3.027849e-01 -3.484834e-07 -1.865332e-07
+ 9.400207e-03  1.404260e-02 -2.275781e-01 -3.027401e-01  6.505497e-07  1.485447e-08
+ 9.400207e-03  1.418516e-02 -2.278602e-01 -3.026950e-01  9.095732e-09 -3.176191e-09
+ 9.400207e-03  1.432630e-02 -2.281423e-01 -3.026497e-01 -2.500018e-07 -3.747114e-08
+ 9.400207e-03  1.446606e-02 -2.284254e-01 -3.026038e-01 -8.969773e-07  1.506222e-07
+ 9.400207e-03  1.460449e-02 -2.287075e-01 -3.025577e-01  3.490558e-07  1.795195e-07
+ 9.400207e-03  1.474161e-02 -2.289904e-01 -3.025112e-01  1.593887e-07 -7.083894e-08
+ 9.400207e-03  1.487748e-02 -2.292735e-01 -3.024643e-01 -8.135747e-09  1.347621e-08
+ 9.400207e-03  1.501211e-02 -2.295562e-01 -3.024167e-01  1.609536e-07 -2.198333e-08
+ 9.400207e-03  1.514554e-02 -2.298387e-01 -3.023687e-01  2.110246e-07 -8.612629e-09
+ 9.400207e-03  1.527781e-02 -2.301209e-01 -3.023201e-01 -7.034167e-08 -4.917323e-09
+ 9.400207e-03  1.540894e-02 -2.304025e-01 -3.022710e-01 -8.309558e-08 -1.263553e-09
+ 9.400207e-03  1.553897e-02 -2.306834e-01 -3.022212e-01 -1.161260e-09 -9.719573e-10
+ 9.400207e-03  1.566792e-02 -2.309633e-01 -3.021708e-01 -1.266693e-08 -6.169308e-09
+ 9.400207e-03  1.579582e-02 -2.312423e-01 -3.021196e-01 -2.387918e-08 -1.796019e-10
+ 9.400207e-03  1.592268e-02 -2.315202e-01 -3.020678e-01  1.461626e-08 -1.307757e-10
+ 9.400207e-03  1.604855e-02 -2.317968e-01 -3.020151e-01 -1.719608e-08  9.604914e-10
+ 9.400207e-03  1.617343e-02 -2.320720e-01 -3.019617e-01 -7.084092e-09 -1.294660e-10
+ 9.400207e-03  1.629736e-02 -2.323456e-01 -3.019074e-01  3.061231e-09 -4.617157e-11
+ 9.400207e-03  1.642036e-02 -2.326174e-01 -3.018522e-01 -7.875529e-09  1.204742e-08
+ 9.400207e-03  1.654243e-02 -2.328875e-01 -3.017962e-01  1.034279e-08  7.843985e-10
+ 9.400207e-03  1.666362e-02 -2.331555e-01 -3.017391e-01 -1.325882e-09 -1.044943e-09
+ 9.400207e-03  1.678393e-02 -2.334213e-01 -3.016810e-01 -1.890768e-08 -3.088235e-09
+ 9.400207e-03  1.690338e-02 -2.336849e-01 -3.016218e-01 -6.323542e-08 -3.359629e-09
+ 9.400207e-03  1.702200e-02 -2.339456e-01 -3.015615e-01 -2.868300e-08 -1.695759e-09
+ 9.400207e-03  1.713979e-02 -2.342043e-01 -3.015000e-01  2.986821e-07  1.100015e-08
+ 9.400207e-03  1.725678e-02 -2.344598e-01 -3.014373e-01  1.287314e-08  6.299213e-10
+ 9.400207e-03  1.737298e-02 -2.347123e-01 -3.013733e-01 -5.129273e-07  7.589810e-09
+ 9.400207e-03  1.748841e-02 -2.349627e-01 -3.013080e-01  4.594471e-07 -3.414886e-09
+ 9.400207e-03  1.760308e-02 -2.352096e-01 -3.012412e-01  6.234884e-07 -7.333429e-09
+ 9.400207e-03  1.771701e-02 -2.354516e-01 -3.011730e-01 -2.287135e-07 -4.324440e-09
+ 9.400207e-03  1.783022e-02 -2.356917e-01 -3.011032e-01  1.388088e-09 -1.864530e-08
+ 9.400207e-03  1.794270e-02 -2.359278e-01 -3.010317e-01 -6.211657e-08  4.896501e-08
+ 9.400207e-03  1.805449e-02 -2.361600e-01 -3.009587e-01 -1.586115e-07  1.709203e-07
+ 9.400207e-03  1.816559e-02 -2.363883e-01 -3.008837e-01  2.354132e-08 -3.001429e-09
+ 9.400207e-03  1.827602e-02 -2.366128e-01 -3.008070e-01 -7.068381e-09 -2.439764e-08
+ 9.400207e-03  1.838578e-02 -2.368327e-01 -3.007283e-01  4.248354e-08 -8.495848e-10
+ 9.400207e-03  1.849489e-02 -2.370484e-01 -3.006475e-01 -4.411719e-09 -1.114948e-09
+ 9.400207e-03  1.860336e-02 -2.372594e-01 -3.005646e-01  2.689446e-08  3.025108e-11
+ 9.400207e-03  1.871120e-02 -2.374658e-01 -3.004795e-01 -1.115584e-08 -4.696555e-10
+ 9.400207e-03  1.881842e-02 -2.376674e-01 -3.003921e-01 -6.624694e-09  2.922788e-10
+ 9.400207e-03  1.892503e-02 -2.378639e-01 -3.003022e-01  4.135882e-08 -1.730671e-09
+ 9.400207e-03  1.903105e-02 -2.380552e-01 -3.002097e-01  2.341804e-08 -1.279474e-08
+ 9.400207e-03  1.913648e-02 -2.382416e-01 -3.001145e-01 -2.876559e-07  1.281258e-07
+ 9.400207e-03  1.924133e-02 -2.384217e-01 -3.000167e-01  1.004648e-07 -3.850964e-08
+ 9.400207e-03  1.934562e-02 -2.385962e-01 -2.999160e-01  2.700699e-07 -9.704038e-08
+ 9.400207e-03  1.944934e-02 -2.387656e-01 -2.998119e-01  3.692321e-08  7.916334e-09
+ 9.400207e-03  1.955252e-02 -2.389283e-01 -2.997049e-01 -1.986298e-08 -2.249507e-10
+ 9.400207e-03  1.965515e-02 -2.390848e-01 -2.995945e-01 -1.430019e-08  1.922322e-09
+ 9.400207e-03  1.975725e-02 -2.392346e-01 -2.994806e-01  5.392316e-08  6.676489e-10
+ 9.400207e-03  1.985883e-02 -2.393776e-01 -2.993630e-01  2.181330e-08  3.761181e-09
+ 9.400207e-03  1.995989e-02 -2.395133e-01 -2.992417e-01 -6.852643e-09 -4.736829e-09
+ 9.400207e-03  2.006044e-02 -2.396413e-01 -2.991163e-01 -2.211606e-08  1.854506e-09
+ 9.400207e-03  2.016048e-02 -2.397612e-01 -2.989867e-01  9.519347e-08  1.860575e-09
+ 9.400207e-03  2.026004e-02 -2.398724e-01 -2.988527e-01 -1.275317e-08 -1.098127e-09
+ 9.400207e-03  2.035910e-02 -2.399743e-01 -2.987140e-01  4.121858e-09  1.492453e-09
+ 9.400207e-03  2.045769e-02 -2.400658e-01 -2.985703e-01 -1.256235e-08 -5.548830e-10
+ 9.400207e-03  2.055580e-02 -2.401460e-01 -2.984215e-01 -9.795307e-09  2.784908e-09
+ 9.400207e-03  2.065345e-02 -2.402135e-01 -2.982670e-01  1.150132e-07 -5.654068e-10
+ 9.400207e-03  2.075064e-02 -2.402666e-01 -2.981066e-01  6.749522e-08 -1.646331e-08
+ 9.400207e-03  2.084738e-02 -2.403035e-01 -2.979397e-01  4.270056e-08  3.164880e-09
+ 9.400207e-03  2.094367e-02 -2.403203e-01 -2.977657e-01  6.897914e-08 -2.054342e-09
+ 9.400207e-03  2.103951e-02 -2.403141e-01 -2.975839e-01 -1.336029e-07  3.300207e-08
+ 9.400207e-03  2.113493e-02  4.052132e-01 -2.973933e-01 -3.500987e-07  1.782080e-08
+ 9.400207e-03  2.122991e-02  4.056154e-01 -2.971925e-01  5.763156e-07 -1.801019e-08
+ 9.400207e-03  2.132447e-02  4.060417e-01 -2.969794e-01 -5.784691e-07  4.426463e-10
+ 9.400207e-03  2.141862e-02  4.064978e-01 -2.967511e-01 -6.121976e-07 -1.115895e-08
+ 9.400207e-03  2.151235e-02  4.069957e-01 -2.965019e-01 -1.140327e-06  5.957221e-08
+ 9.400207e-03  2.160567e-02  4.075583e-01 -2.962209e-01  2.755496e-07  3.770944e-09
+ 9.400207e-03  2.169860e-02  4.082470e-01 -2.958765e-01  2.409654e-08  9.286845e-09
+ 9.400207e-03  2.179112e-02  4.097511e-01 -2.951244e-01 -1.043230e-06 -5.132442e-07
+ 9.400207e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.097521e-01  2.951239e-01
+ 9.400207e-03  2.561117e-02  4.666651e-01 -2.666676e-01  1.627769e-03  7.944113e-04
+ 9.400207e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.650373e-01  2.674620e-01
+ 9.400207e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.650373e-01  2.674620e-01
+ 9.400207e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.650373e-01  2.674620e-01
+ 9.400207e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.650373e-01  2.674620e-01
+ 9.400207e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.650373e-01  2.674620e-01
+ 9.611452e-03  1.000000e-06 -2.168297e-01 -3.054805e-01  2.632476e-09 -1.403537e-10
+ 9.611452e-03  2.006944e-03 -2.169935e-01 -3.054065e-01  6.011275e-11  1.015882e-09
+ 9.611452e-03  2.837833e-03 -2.171598e-01 -3.053344e-01 -5.314599e-10  1.358767e-09
+ 9.611452e-03  3.475396e-03 -2.173289e-01 -3.052641e-01  3.369899e-09  4.033807e-09
+ 9.611452e-03  4.012887e-03 -2.175008e-01 -3.051954e-01 -6.523296e-10  1.240639e-09
+ 9.611452e-03  4.486426e-03 -2.176754e-01 -3.051284e-01  4.029819e-10  4.203515e-09
+ 9.611452e-03  4.914538e-03 -2.178529e-01 -3.050628e-01  3.744884e-09 -6.396765e-09
+ 9.611452e-03  5.308228e-03 -2.180331e-01 -3.049987e-01  2.068827e-09  3.982595e-10
+ 9.611452e-03  5.674665e-03 -2.182162e-01 -3.049360e-01 -5.011475e-08  2.095724e-07
+ 9.611452e-03  6.018831e-03 -2.184019e-01 -3.048751e-01  6.865018e-08 -2.405213e-07
+ 9.611452e-03  6.344350e-03 -2.185907e-01 -3.048148e-01  2.253366e-07 -7.252213e-07
+ 9.611452e-03  6.653962e-03 -2.187824e-01 -3.047555e-01 -1.088993e-07  3.226162e-07
+ 9.611452e-03  6.949792e-03 -2.189767e-01 -3.046980e-01  8.198422e-08 -2.041180e-07
+ 9.611452e-03  7.233532e-03 -2.191741e-01 -3.046410e-01 -3.132277e-07  7.484918e-07
+ 9.611452e-03  7.506553e-03 -2.193744e-01 -3.045849e-01 -3.595476e-08  8.889512e-08
+ 9.611452e-03  7.769986e-03 -2.195771e-01 -3.045308e-01 -2.878161e-08  6.057283e-08
+ 9.611452e-03  8.024774e-03 -2.197828e-01 -3.044773e-01  3.237916e-08 -5.222716e-08
+ 9.611452e-03  8.271717e-03 -2.199915e-01 -3.044242e-01  1.681600e-08 -2.504249e-09
+ 9.611452e-03  8.511498e-03 -2.202029e-01 -3.043722e-01  5.582788e-08 -7.903178e-08
+ 9.611452e-03  8.744705e-03 -2.204172e-01 -3.043208e-01  1.461082e-08 -2.856747e-08
+ 9.611452e-03  8.971852e-03 -2.206342e-01 -3.042702e-01  6.195052e-08 -2.355305e-08
+ 9.611452e-03  9.193388e-03 -2.208539e-01 -3.042204e-01 -1.070146e-09 -4.420522e-09
+ 9.611452e-03  9.409709e-03 -2.210765e-01 -3.041711e-01 -9.376267e-09 -3.568521e-09
+ 9.611452e-03  9.621167e-03 -2.213016e-01 -3.041224e-01  2.410049e-07  9.903857e-09
+ 9.611452e-03  9.828076e-03 -2.215295e-01 -3.040743e-01  5.940461e-08  2.299381e-09
+ 9.611452e-03  1.003072e-02 -2.217610e-01 -3.040268e-01 -7.668234e-07 -6.721734e-08
+ 9.611452e-03  1.022935e-02 -2.219959e-01 -3.039802e-01 -5.856633e-07 -3.172734e-08
+ 9.611452e-03  1.042419e-02 -2.222260e-01 -3.039315e-01 -6.408573e-06 -2.793797e-06
+ 9.611452e-03  1.061546e-02 -2.224620e-01 -3.038845e-01 -4.968071e-07 -5.796805e-08
+ 9.611452e-03  1.080334e-02 -2.227049e-01 -3.038390e-01 -1.213846e-06 -9.158542e-08
+ 9.611452e-03  1.098801e-02 -2.229485e-01 -3.037934e-01  2.828745e-09  5.815084e-09
+ 9.611452e-03  1.116962e-02 -2.231939e-01 -3.037479e-01 -1.104365e-07 -8.351114e-09
+ 9.611452e-03  1.134833e-02 -2.234412e-01 -3.037026e-01  1.390332e-07  1.135101e-08
+ 9.611452e-03  1.152427e-02 -2.236912e-01 -3.036575e-01 -3.827122e-08 -5.891506e-09
+ 9.611452e-03  1.169756e-02 -2.239431e-01 -3.036125e-01 -9.886710e-09 -6.287611e-09
+ 9.611452e-03  1.186832e-02 -2.241970e-01 -3.035676e-01 -2.616749e-08 -3.249572e-09
+ 9.611452e-03  1.203666e-02 -2.244530e-01 -3.035228e-01  3.503458e-08  1.105259e-09
+ 9.611452e-03  1.220268e-02 -2.247109e-01 -3.034780e-01  5.314695e-08  6.229922e-11
+ 9.611452e-03  1.236647e-02 -2.249706e-01 -3.034333e-01 -2.737744e-08  4.255439e-09
+ 9.611452e-03  1.252811e-02 -2.252322e-01 -3.033885e-01 -8.709456e-08  6.592045e-09
+ 9.611452e-03  1.268770e-02 -2.254954e-01 -3.033437e-01 -7.940853e-09 -5.746994e-10
+ 9.611452e-03  1.284531e-02 -2.257602e-01 -3.032988e-01 -4.086627e-08  4.499642e-08
+ 9.611452e-03  1.300100e-02 -2.260264e-01 -3.032538e-01 -1.916466e-07 -1.749459e-08
+ 9.611452e-03  1.315485e-02 -2.262942e-01 -3.032088e-01 -2.226808e-07  5.259892e-08
+ 9.611452e-03  1.330692e-02 -2.265629e-01 -3.031636e-01 -3.986424e-07 -2.085891e-07
+ 9.611452e-03  1.345728e-02 -2.268326e-01 -3.031180e-01  4.148970e-07  4.126723e-08
+ 9.611452e-03  1.360597e-02 -2.271043e-01 -3.030722e-01  1.150271e-08 -1.373207e-08
+ 9.611452e-03  1.375306e-02 -2.273764e-01 -3.030264e-01 -2.047866e-07 -7.037672e-08
+ 9.611452e-03  1.389858e-02 -2.276499e-01 -3.029799e-01 -4.649196e-07  1.347580e-07
+ 9.611452e-03  1.404260e-02 -2.279232e-01 -3.029333e-01  3.854469e-07  8.433534e-08
+ 9.611452e-03  1.418516e-02 -2.281974e-01 -3.028865e-01  3.929757e-07 -6.199513e-09
+ 9.611452e-03  1.432630e-02 -2.284725e-01 -3.028392e-01  4.688146e-09  3.561454e-09
+ 9.611452e-03  1.446606e-02 -2.287477e-01 -3.027915e-01  6.956406e-08 -4.887280e-08
+ 9.611452e-03  1.460449e-02 -2.290233e-01 -3.027434e-01  2.252445e-07 -3.953138e-09
+ 9.611452e-03  1.474161e-02 -2.292991e-01 -3.026948e-01  3.702365e-08 -1.447792e-09
+ 9.611452e-03  1.487748e-02 -2.295748e-01 -3.026457e-01 -1.077718e-07 -6.942040e-09
+ 9.611452e-03  1.501211e-02 -2.298504e-01 -3.025961e-01 -3.159019e-08 -1.658244e-09
+ 9.611452e-03  1.514554e-02 -2.301257e-01 -3.025460e-01 -1.803733e-09 -1.068307e-09
+ 9.611452e-03  1.527781e-02 -2.304006e-01 -3.024952e-01 -3.094758e-08 -1.404363e-09
+ 9.611452e-03  1.540894e-02 -2.306749e-01 -3.024439e-01 -9.379950e-09 -1.245097e-09
+ 9.611452e-03  1.553897e-02 -2.309486e-01 -3.023919e-01  8.041115e-09 -7.866982e-10
+ 9.611452e-03  1.566792e-02 -2.312214e-01 -3.023392e-01 -1.278242e-08 -7.676930e-10
+ 9.611452e-03  1.579582e-02 -2.314933e-01 -3.022858e-01  1.238630e-08  3.243678e-11
+ 9.611452e-03  1.592268e-02 -2.317641e-01 -3.022316e-01 -5.732809e-09 -1.971533e-09
+ 9.611452e-03  1.604855e-02 -2.320336e-01 -3.021767e-01 -3.479792e-09 -1.005548e-09
+ 9.611452e-03  1.617343e-02 -2.323017e-01 -3.021209e-01 -1.049246e-08  3.069865e-08
+ 9.611452e-03  1.629736e-02 -2.325681e-01 -3.020642e-01  9.301131e-09  1.836805e-09
+ 9.611452e-03  1.642036e-02 -2.328332e-01 -3.020067e-01 -8.866890e-09 -1.217743e-09
+ 9.611452e-03  1.654243e-02 -2.330962e-01 -3.019482e-01 -1.209213e-08 -3.694413e-10
+ 9.611452e-03  1.666362e-02 -2.333573e-01 -3.018887e-01  1.260494e-08 -1.027915e-10
+ 9.611452e-03  1.678393e-02 -2.336162e-01 -3.018282e-01 -5.946695e-08 -8.629394e-09
+ 9.611452e-03  1.690338e-02 -2.338726e-01 -3.017666e-01 -2.328680e-07 -9.086225e-09
+ 9.611452e-03  1.702200e-02 -2.341271e-01 -3.017038e-01 -2.735522e-07 -1.947367e-08
+ 9.611452e-03  1.713979e-02 -2.343792e-01 -3.016399e-01 -1.016972e-06 -5.050537e-08
+ 9.611452e-03  1.725678e-02 -2.346276e-01 -3.015747e-01 -7.029815e-07 -1.171701e-07
+ 9.611452e-03  1.737298e-02 -2.348734e-01 -3.015082e-01 -6.957648e-07 -5.586191e-08
+ 9.611452e-03  1.748841e-02 -2.351165e-01 -3.014404e-01  1.620265e-06  1.707678e-07
+ 9.611452e-03  1.760308e-02 -2.353563e-01 -3.013711e-01  2.824476e-06  2.876423e-07
+ 9.611452e-03  1.771701e-02 -2.355922e-01 -3.013004e-01  1.659912e-06  2.832755e-07
+ 9.611452e-03  1.783022e-02 -2.358261e-01 -3.012282e-01  1.988304e-06  2.450243e-07
+ 9.611452e-03  1.794270e-02 -2.360567e-01 -3.011545e-01  1.852699e-06  2.357644e-07
+ 9.611452e-03  1.805449e-02 -2.362837e-01 -3.010790e-01  1.468663e-06  1.224174e-07
+ 9.611452e-03  1.816559e-02 -2.365069e-01 -3.010016e-01 -3.918278e-08 -1.415929e-07
+ 9.611452e-03  1.827602e-02 -2.367262e-01 -3.009229e-01 -4.326241e-07 -5.073590e-08
+ 9.611452e-03  1.838578e-02 -2.369410e-01 -3.008418e-01 -6.541714e-08  3.029703e-09
+ 9.611452e-03  1.849489e-02 -2.371513e-01 -3.007588e-01 -3.424991e-08  1.642257e-09
+ 9.611452e-03  1.860336e-02 -2.373573e-01 -3.006736e-01  4.014308e-08  8.849107e-10
+ 9.611452e-03  1.871120e-02 -2.375587e-01 -3.005863e-01 -4.168669e-09  1.707492e-09
+ 9.611452e-03  1.881842e-02 -2.377553e-01 -3.004966e-01  3.741691e-08  8.498782e-10
+ 9.611452e-03  1.892503e-02 -2.379471e-01 -3.004046e-01 -4.082216e-10 -9.867692e-10
+ 9.611452e-03  1.903105e-02 -2.381338e-01 -3.003100e-01 -3.039298e-10 -4.812238e-09
+ 9.611452e-03  1.913648e-02 -2.383154e-01 -3.002128e-01  9.582998e-08 -1.295260e-08
+ 9.611452e-03  1.924133e-02 -2.384921e-01 -3.001128e-01 -3.020959e-07  1.146523e-07
+ 9.611452e-03  1.934562e-02 -2.386625e-01 -3.000102e-01  3.338866e-08 -1.127040e-08
+ 9.611452e-03  1.944934e-02 -2.388273e-01 -2.999046e-01  6.850218e-08 -1.200456e-09
+ 9.611452e-03  1.955252e-02 -2.389872e-01 -2.997955e-01  5.099670e-08 -8.097961e-08
+ 9.611452e-03  1.965515e-02 -2.391405e-01 -2.996835e-01 -2.394645e-08  3.831286e-09
+ 9.611452e-03  1.975725e-02 -2.392876e-01 -2.995680e-01  7.802177e-08  1.543168e-09
+ 9.611452e-03  1.985883e-02 -2.394282e-01 -2.994489e-01 -2.010062e-09  8.008431e-09
+ 9.611452e-03  1.995989e-02 -2.395620e-01 -2.993262e-01 -1.150158e-08 -9.259477e-10
+ 9.611452e-03  2.006044e-02 -2.396885e-01 -2.991995e-01  3.347809e-08  3.891671e-09
+ 9.611452e-03  2.016048e-02 -2.398076e-01 -2.990688e-01  7.665590e-08  1.149878e-09
+ 9.611452e-03  2.026004e-02 -2.399186e-01 -2.989337e-01  1.264899e-08 -2.272886e-09
+ 9.611452e-03  2.035910e-02 -2.400208e-01 -2.987942e-01  1.028061e-08  9.185780e-10
+ 9.611452e-03  2.045769e-02 -2.401138e-01 -2.986499e-01  4.960441e-10  2.249798e-09
+ 9.611452e-03  2.055580e-02 -2.401964e-01 -2.985005e-01  6.774669e-08  2.054481e-09
+ 9.611452e-03  2.065345e-02 -2.402676e-01 -2.983458e-01  7.489823e-08  7.033551e-09
+ 9.611452e-03  2.075064e-02 -2.403257e-01 -2.981853e-01  9.216310e-08 -1.900817e-09
+ 9.611452e-03  2.084738e-02 -2.403695e-01 -2.980186e-01  1.585645e-08  2.300292e-09
+ 9.611452e-03  2.094367e-02 -2.403958e-01 -2.978451e-01 -2.444649e-08  3.324867e-10
+ 9.611452e-03  2.103951e-02 -2.404016e-01 -2.976642e-01  1.545785e-08  1.217788e-09
+ 9.611452e-03  2.113493e-02 -2.403830e-01 -2.974749e-01  3.295396e-08  3.801368e-09
+ 9.611452e-03  2.122991e-02 -2.403334e-01 -2.972760e-01 -1.558066e-07  3.056929e-09
+ 9.611452e-03  2.132447e-02 -2.402433e-01 -2.970653e-01  2.338830e-06 -9.114828e-08
+ 9.611452e-03  2.141862e-02  4.063193e-01 -2.968409e-01  1.792149e-06 -2.061028e-07
+ 9.611452e-03  2.151235e-02  4.068051e-01 -2.965980e-01  1.205013e-06 -8.247090e-08
+ 9.611452e-03  2.160567e-02  4.073459e-01 -2.963268e-01 -2.742592e-07  1.463431e-08
+ 9.611452e-03  2.169860e-02  4.079876e-01 -2.960062e-01  1.085180e-08  3.772122e-09
+ 9.611452e-03  2.179112e-02  4.089272e-01 -2.955363e-01 -8.194074e-09  5.695015e-08
+ 9.611452e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.089272e-01  2.955364e-01
+ 9.611452e-03  2.584577e-02  4.769281e-01 -2.615360e-01 -2.431571e-06 -1.201897e-06
+ 9.611452e-03  2.592350e-02  4.801028e-01 -2.599486e-01 -4.477661e-07 -4.949372e-07
+ 9.611452e-03  2.600100e-02  0.000000e+00  0.000000e+00 -4.801033e-01  2.599481e-01
+ 9.818152e-03  1.000000e-06 -2.174985e-01 -3.057158e-01 -5.051925e-10  1.225570e-10
+ 9.818152e-03  2.006944e-03 -2.176560e-01 -3.056419e-01  6.117044e-10 -7.049620e-10
+ 9.818152e-03  2.837833e-03 -2.178162e-01 -3.055699e-01  2.835764e-09 -6.689858e-10
+ 9.818152e-03  3.475396e-03 -2.179791e-01 -3.054995e-01  6.368304e-10  1.125227e-09
+ 9.818152e-03  4.012887e-03 -2.181447e-01 -3.054308e-01 -1.417563e-09  7.414152e-09
+ 9.818152e-03  4.486426e-03 -2.183131e-01 -3.053636e-01  3.977119e-09  8.624552e-09
+ 9.818152e-03  4.914538e-03 -2.184843e-01 -3.052980e-01 -5.520099e-09  3.012140e-08
+ 9.818152e-03  5.308228e-03 -2.186583e-01 -3.052337e-01  2.075986e-09  6.433143e-09
+ 9.818152e-03  5.674665e-03 -2.188352e-01 -3.051707e-01 -9.230735e-09  5.252012e-08
+ 9.818152e-03  6.018831e-03 -2.190147e-01 -3.051093e-01  5.206286e-08 -1.800525e-07
+ 9.818152e-03  6.344350e-03 -2.191971e-01 -3.050494e-01  4.157722e-09 -1.234116e-08
+ 9.818152e-03  6.653962e-03 -2.193825e-01 -3.049898e-01  1.693478e-07 -5.061370e-07
+ 9.818152e-03  6.949792e-03 -2.195707e-01 -3.049314e-01 -4.920308e-08  1.374902e-07
+ 9.818152e-03  7.233532e-03 -2.197615e-01 -3.048746e-01  1.817547e-07 -4.499715e-07
+ 9.818152e-03  7.506553e-03 -2.199555e-01 -3.048180e-01 -4.330437e-07  1.033559e-06
+ 9.818152e-03  7.769986e-03 -2.201523e-01 -3.047625e-01 -1.905759e-07  4.109015e-07
+ 9.818152e-03  8.024774e-03 -2.203513e-01 -3.047091e-01  1.880847e-07 -3.430307e-07
+ 9.818152e-03  8.271717e-03 -2.205535e-01 -3.046557e-01  4.825201e-09 -3.671984e-09
+ 9.818152e-03  8.511498e-03 -2.207586e-01 -3.046029e-01 -1.174855e-08  1.564037e-08
+ 9.818152e-03  8.744705e-03 -2.209664e-01 -3.045510e-01  1.293394e-07 -5.346335e-08
+ 9.818152e-03  8.971852e-03 -2.211770e-01 -3.044998e-01  9.014109e-09 -2.899616e-08
+ 9.818152e-03  9.193388e-03 -2.213904e-01 -3.044492e-01 -5.919812e-08 -4.977723e-08
+ 9.818152e-03  9.409709e-03 -2.216060e-01 -3.043993e-01  1.228324e-06  9.029912e-08
+ 9.818152e-03  9.621167e-03 -2.218274e-01 -3.043503e-01  4.215159e-07  3.491420e-08
+ 9.818152e-03  9.828076e-03 -2.220499e-01 -3.043023e-01  2.666019e-06  6.353293e-07
+ 9.818152e-03  1.003072e-02 -2.222538e-01 -3.042452e-01 -4.947152e-05 -2.126292e-05
+ 9.818152e-03  1.022935e-02 -2.224898e-01 -3.042019e-01 -1.061990e-07 -1.806820e-08
+ 9.818152e-03  1.042419e-02 -2.227223e-01 -3.041549e-01 -1.152317e-06 -1.106087e-07
+ 9.818152e-03  1.061546e-02 -2.229538e-01 -3.041077e-01 -1.143995e-07 -1.911380e-08
+ 9.818152e-03  1.080334e-02 -2.231876e-01 -3.040606e-01  2.564359e-07  3.866833e-08
+ 9.818152e-03  1.098801e-02 -2.234241e-01 -3.040138e-01  1.356363e-08  2.150075e-09
+ 9.818152e-03  1.116962e-02 -2.236625e-01 -3.039671e-01  7.248821e-08 -4.649629e-10
+ 9.818152e-03  1.134833e-02 -2.239032e-01 -3.039207e-01 -9.990383e-09 -1.365976e-09
+ 9.818152e-03  1.152427e-02 -2.241461e-01 -3.038743e-01 -4.099583e-08  9.940362e-09
+ 9.818152e-03  1.169756e-02 -2.243911e-01 -3.038281e-01 -6.519223e-08 -1.587393e-09
+ 9.818152e-03  1.186832e-02 -2.246381e-01 -3.037819e-01  1.116063e-08 -2.418106e-09
+ 9.818152e-03  1.203666e-02 -2.248871e-01 -3.037357e-01 -3.169477e-08  4.313365e-08
+ 9.818152e-03  1.220268e-02 -2.251380e-01 -3.036896e-01 -1.261619e-07  2.521042e-09
+ 9.818152e-03  1.236647e-02 -2.253908e-01 -3.036435e-01 -2.113314e-07  1.704932e-08
+ 9.818152e-03  1.252811e-02 -2.256452e-01 -3.035974e-01 -1.048708e-07 -1.745467e-07
+ 9.818152e-03  1.268770e-02 -2.259009e-01 -3.035511e-01  6.974142e-07 -1.392079e-07
+ 9.818152e-03  1.284531e-02 -2.261588e-01 -3.035046e-01 -9.000652e-09  4.548976e-09
+ 9.818152e-03  1.300100e-02 -2.264180e-01 -3.034580e-01  1.002717e-09 -1.225772e-09
+ 9.818152e-03  1.315485e-02 -2.266786e-01 -3.034113e-01 -8.228336e-09  2.524382e-09
+ 9.818152e-03  1.330692e-02 -2.269406e-01 -3.033642e-01 -8.235510e-07  1.233427e-07
+ 9.818152e-03  1.345728e-02 -2.272030e-01 -3.033170e-01  2.791137e-07  2.322454e-07
+ 9.818152e-03  1.360597e-02 -2.274672e-01 -3.032697e-01  4.371455e-07  1.551247e-07
+ 9.818152e-03  1.375306e-02 -2.277323e-01 -3.032221e-01 -9.433916e-10  1.550898e-08
+ 9.818152e-03  1.389858e-02 -2.279981e-01 -3.031740e-01  7.311044e-08 -4.700181e-08
+ 9.818152e-03  1.404260e-02 -2.282647e-01 -3.031256e-01  1.818344e-07 -5.955574e-09
+ 9.818152e-03  1.418516e-02 -2.285320e-01 -3.030768e-01  5.483919e-08 -4.446511e-10
+ 9.818152e-03  1.432630e-02 -2.287998e-01 -3.030276e-01 -1.088125e-07 -8.511135e-09
+ 9.818152e-03  1.446606e-02 -2.290679e-01 -3.029779e-01 -2.367274e-08 -5.930194e-10
+ 9.818152e-03  1.460449e-02 -2.293363e-01 -3.029279e-01  1.533360e-09  5.775004e-10
+ 9.818152e-03  1.474161e-02 -2.296048e-01 -3.028773e-01 -2.464836e-08 -3.125097e-09
+ 9.818152e-03  1.487748e-02 -2.298733e-01 -3.028262e-01 -1.399004e-08 -8.604006e-11
+ 9.818152e-03  1.501211e-02 -2.301417e-01 -3.027745e-01 -5.016930e-10  6.072670e-11
+ 9.818152e-03  1.514554e-02 -2.304098e-01 -3.027222e-01 -9.614417e-09 -2.323090e-09
+ 9.818152e-03  1.527781e-02 -2.306775e-01 -3.026694e-01 -6.906953e-09 -9.313676e-10
+ 9.818152e-03  1.540894e-02 -2.309447e-01 -3.026159e-01  1.050313e-08 -7.397460e-10
+ 9.818152e-03  1.553897e-02 -2.312111e-01 -3.025617e-01 -1.054827e-08 -1.135482e-09
+ 9.818152e-03  1.566792e-02 -2.314767e-01 -3.025068e-01 -6.746779e-09 -2.775608e-09
+ 9.818152e-03  1.579582e-02 -2.317414e-01 -3.024511e-01 -3.595454e-08 -7.155872e-09
+ 9.818152e-03  1.592268e-02 -2.320049e-01 -3.023947e-01 -5.995034e-07 -1.225937e-07
+ 9.818152e-03  1.604855e-02 -2.322657e-01 -3.023371e-01  1.900211e-06  3.697665e-07
+ 9.818152e-03  1.617343e-02 -2.325232e-01 -3.022783e-01  7.274705e-07  1.008881e-07
+ 9.818152e-03  1.629736e-02 -2.327818e-01 -3.022193e-01  6.169843e-06  1.142138e-06
+ 9.818152e-03  1.642036e-02 -2.330445e-01 -3.021603e-01 -2.333362e-05 -4.242393e-06
+ 9.818152e-03  1.654243e-02 -2.333091e-01 -3.021010e-01  2.364194e-05  4.149556e-06
+ 9.818152e-03  1.666362e-02 -2.335691e-01 -3.020401e-01 -1.283240e-07 -1.946858e-08
+ 9.818152e-03  1.678393e-02 -2.338225e-01 -3.019774e-01 -7.364058e-06 -1.210288e-06
+ 9.818152e-03  1.690338e-02 -2.340704e-01 -3.019131e-01  1.803708e-07 -1.120654e-08
+ 9.818152e-03  1.702200e-02 -2.343165e-01 -3.018476e-01 -1.716851e-06 -2.678759e-07
+ 9.818152e-03  1.713979e-02 -2.345606e-01 -3.017811e-01 -2.235830e-06 -3.329612e-07
+ 9.818152e-03  1.725678e-02 -2.348022e-01 -3.017134e-01 -5.032712e-07 -7.548453e-08
+ 9.818152e-03  1.737298e-02 -2.350416e-01 -3.016445e-01  4.540323e-07  7.842746e-08
+ 9.818152e-03  1.748841e-02 -2.352785e-01 -3.015742e-01  9.967188e-07  1.114165e-07
+ 9.818152e-03  1.760308e-02 -2.355124e-01 -3.015026e-01  1.116110e-06  1.072696e-07
+ 9.818152e-03  1.771701e-02 -2.357428e-01 -3.014295e-01  4.333726e-07  1.016327e-07
+ 9.818152e-03  1.783022e-02 -2.359705e-01 -3.013549e-01  5.109102e-07  6.484941e-08
+ 9.818152e-03  1.794270e-02 -2.361947e-01 -3.012787e-01 -2.913122e-07 -5.374292e-08
+ 9.818152e-03  1.805449e-02 -2.364156e-01 -3.012008e-01 -1.636169e-06 -1.628879e-07
+ 9.818152e-03  1.816559e-02 -2.366334e-01 -3.011218e-01 -1.249687e-06 -1.678688e-07
+ 9.818152e-03  1.827602e-02 -2.368469e-01 -3.010401e-01 -9.775246e-07 -1.030377e-07
+ 9.818152e-03  1.838578e-02 -2.370554e-01 -3.009566e-01 -3.390692e-06 -3.450284e-07
+ 9.818152e-03  1.849489e-02 -2.372571e-01 -3.008709e-01  9.421497e-06  7.706998e-07
+ 9.818152e-03  1.860336e-02 -2.374544e-01 -3.007833e-01 -5.829585e-06 -1.805472e-07
+ 9.818152e-03  1.871120e-02 -2.376508e-01 -3.006940e-01  4.757840e-07 -1.501081e-07
+ 9.818152e-03  1.881842e-02 -2.378435e-01 -3.006023e-01 -1.966515e-07 -8.115767e-08
+ 9.818152e-03  1.892503e-02 -2.380304e-01 -3.005080e-01  1.953888e-07  4.012570e-08
+ 9.818152e-03  1.903105e-02 -2.382127e-01 -3.004114e-01  1.632164e-08 -2.723319e-09
+ 9.818152e-03  1.913648e-02 -2.383899e-01 -3.003123e-01  3.512099e-08 -3.490991e-09
+ 9.818152e-03  1.924133e-02 -2.385620e-01 -3.002104e-01  3.414201e-08 -1.379492e-08
+ 9.818152e-03  1.934562e-02 -2.387292e-01 -3.001056e-01 -6.143652e-08  4.248475e-08
+ 9.818152e-03  1.944934e-02 -2.388904e-01 -2.999982e-01  8.519893e-09  1.662205e-09
+ 9.818152e-03  1.955252e-02 -2.390459e-01 -2.998878e-01  3.499649e-07 -1.183567e-07
+ 9.818152e-03  1.965515e-02 -2.391965e-01 -2.997740e-01  2.726652e-08  5.238323e-10
+ 9.818152e-03  1.975725e-02 -2.393409e-01 -2.996569e-01  4.722315e-08  9.444213e-10
+ 9.818152e-03  1.985883e-02 -2.394791e-01 -2.995364e-01 -6.387627e-09  4.870095e-09
+ 9.818152e-03  1.995989e-02 -2.396110e-01 -2.994124e-01 -2.892906e-09 -8.302342e-09
+ 9.818152e-03  2.006044e-02 -2.397361e-01 -2.992845e-01  9.286975e-08  2.697272e-09
+ 9.818152e-03  2.016048e-02 -2.398542e-01 -2.991527e-01  5.707334e-08 -4.839977e-09
+ 9.818152e-03  2.026004e-02 -2.399650e-01 -2.990167e-01  1.636264e-08 -3.020383e-09
+ 9.818152e-03  2.035910e-02 -2.400677e-01 -2.988763e-01 -1.697089e-08  4.900247e-11
+ 9.818152e-03  2.045769e-02 -2.401619e-01 -2.987314e-01  1.812297e-08 -5.654106e-09
+ 9.818152e-03  2.055580e-02 -2.402467e-01 -2.985815e-01  1.332011e-07  1.256341e-09
+ 9.818152e-03  2.065345e-02 -2.403213e-01 -2.984265e-01  4.683376e-08  1.614100e-09
+ 9.818152e-03  2.075064e-02 -2.403844e-01 -2.982660e-01 -1.090217e-07  9.503742e-09
+ 9.818152e-03  2.084738e-02 -2.404343e-01 -2.980997e-01 -5.686590e-08 -1.016489e-07
+ 9.818152e-03  2.094367e-02 -2.404693e-01 -2.979264e-01 -1.977039e-08  4.478977e-09
+ 9.818152e-03  2.103951e-02 -2.404866e-01 -2.977463e-01 -7.306239e-08 -1.092336e-09
+ 9.818152e-03  2.113493e-02 -2.404824e-01 -2.975581e-01 -2.079609e-08 -2.719464e-08
+ 9.818152e-03  2.122991e-02 -2.404522e-01 -2.973609e-01  8.656254e-08 -1.622074e-08
+ 9.818152e-03  2.132447e-02 -2.403886e-01 -2.971528e-01 -6.464013e-08 -1.009698e-08
+ 9.818152e-03  2.141862e-02 -2.402805e-01 -2.969314e-01  1.066941e-07  1.519732e-09
+ 9.818152e-03  2.151235e-02 -2.401162e-01 -2.966929e-01 -3.284367e-06 -7.293087e-08
+ 9.818152e-03  2.160567e-02  4.071379e-01 -2.964299e-01 -4.639536e-07  2.059328e-07
+ 9.818152e-03  2.169860e-02  4.077468e-01 -2.961267e-01  1.091923e-07 -9.579085e-09
+ 9.818152e-03  2.179112e-02  4.085453e-01 -2.957274e-01  3.190138e-08  7.370863e-09
+ 9.818152e-03  2.188326e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.197501e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.206638e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.215737e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.224799e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.233824e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.242813e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.251766e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.260684e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.269566e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.278414e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.287228e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.296007e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.304754e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.313467e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.322148e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.330796e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.339412e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.347997e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.356550e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.365073e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.373564e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.382026e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.390458e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.398860e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.407232e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.415576e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.423891e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.432177e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.440436e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.448666e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.456869e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.465045e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.473193e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.481315e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.489410e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.497480e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.505523e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.513540e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.521532e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.529499e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.537440e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.545357e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.553249e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.561117e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.568961e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.576781e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.584577e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.592350e-02  0.000000e+00  0.000000e+00 -4.085452e-01  2.957274e-01
+ 9.818152e-03  2.600100e-02  4.829190e-01 -2.585405e-01 -1.305535e-08  1.491361e-10
+ 1.002059e-02  1.000000e-06 -2.181614e-01 -3.059494e-01 -4.116820e-10 -3.099054e-11
+ 1.002059e-02  2.006944e-03 -2.183127e-01 -3.058755e-01  5.146644e-09  5.632531e-10
+ 1.002059e-02  2.837833e-03 -2.184667e-01 -3.058035e-01 -7.828622e-10  9.359026e-10
+ 1.002059e-02  3.475396e-03 -2.186233e-01 -3.057331e-01  1.218312e-09  3.574905e-10
+ 1.002059e-02  4.012887e-03 -2.187828e-01 -3.056644e-01  2.816638e-09 -3.733497e-10
+ 1.002059e-02  4.486426e-03 -2.189450e-01 -3.055971e-01  1.284469e-09  2.802737e-10
+ 1.002059e-02  4.914538e-03 -2.191100e-01 -3.055313e-01 -1.775775e-09  3.444305e-09
+ 1.002059e-02  5.308228e-03 -2.192778e-01 -3.054669e-01 -4.371891e-10  3.901464e-08
+ 1.002059e-02  5.674665e-03 -2.194484e-01 -3.054038e-01 -9.460428e-09  3.709839e-08
+ 1.002059e-02  6.018831e-03 -2.196219e-01 -3.053418e-01 -5.187548e-08  2.394913e-07
+ 1.002059e-02  6.344350e-03 -2.197980e-01 -3.052815e-01  1.755617e-07 -6.135543e-07
+ 1.002059e-02  6.653962e-03 -2.199769e-01 -3.052224e-01  4.865932e-08 -9.902871e-08
+ 1.002059e-02  6.949792e-03 -2.201590e-01 -3.051634e-01  1.766711e-08 -4.348635e-08
+ 1.002059e-02  7.233532e-03 -2.203437e-01 -3.051058e-01  1.112319e-08  2.485122e-08
+ 1.002059e-02  7.506553e-03 -2.205311e-01 -3.050496e-01  2.501237e-07 -6.052795e-07
+ 1.002059e-02  7.769986e-03 -2.207218e-01 -3.049933e-01 -4.547715e-07  1.019929e-06
+ 1.002059e-02  8.024774e-03 -2.209150e-01 -3.049385e-01 -3.386378e-07  8.073889e-07
+ 1.002059e-02  8.271717e-03 -2.211106e-01 -3.048854e-01  3.140114e-07 -6.187405e-07
+ 1.002059e-02  8.511498e-03 -2.213092e-01 -3.048322e-01  2.277215e-07  1.090588e-08
+ 1.002059e-02  8.744705e-03 -2.215110e-01 -3.047796e-01 -4.703089e-08  1.084562e-08
+ 1.002059e-02  8.971852e-03 -2.217155e-01 -3.047280e-01 -9.397023e-07 -9.819460e-08
+ 1.002059e-02  9.193388e-03 -2.219262e-01 -3.046776e-01 -3.710129e-06 -3.041041e-07
+ 1.002059e-02  9.409709e-03 -2.221555e-01 -3.046358e-01 -2.285894e-05 -9.264490e-06
+ 1.002059e-02  9.621167e-03 -2.223228e-01 -3.045663e-01 -2.723252e-08  1.298346e-09
+ 1.002059e-02  9.828076e-03 -2.225501e-01 -3.045228e-01  3.204927e-06  2.493242e-07
+ 1.002059e-02  1.003072e-02 -2.227712e-01 -3.044742e-01  9.687709e-08  5.131085e-09
+ 1.002059e-02  1.022935e-02 -2.229907e-01 -3.044253e-01  2.076694e-07  4.042962e-08
+ 1.002059e-02  1.042419e-02 -2.232137e-01 -3.043768e-01 -1.319207e-07  1.316939e-09
+ 1.002059e-02  1.061546e-02 -2.234384e-01 -3.043284e-01 -1.921687e-08 -9.286799e-09
+ 1.002059e-02  1.080334e-02 -2.236655e-01 -3.042803e-01  1.567410e-08 -7.895180e-09
+ 1.002059e-02  1.098801e-02 -2.238949e-01 -3.042323e-01 -5.005936e-08  3.694089e-08
+ 1.002059e-02  1.116962e-02 -2.241266e-01 -3.041845e-01 -7.101595e-08  2.667532e-08
+ 1.002059e-02  1.134833e-02 -2.243605e-01 -3.041369e-01 -1.625721e-07 -4.875278e-08
+ 1.002059e-02  1.152427e-02 -2.245966e-01 -3.040895e-01  2.163515e-08 -2.543081e-08
+ 1.002059e-02  1.169756e-02 -2.248345e-01 -3.040421e-01 -1.926604e-07 -2.062250e-07
+ 1.002059e-02  1.186832e-02 -2.250745e-01 -3.039945e-01  3.027664e-07  3.093404e-08
+ 1.002059e-02  1.203666e-02 -2.253168e-01 -3.039470e-01  7.232896e-08 -3.563103e-08
+ 1.002059e-02  1.220268e-02 -2.255607e-01 -3.038996e-01  4.568454e-08 -3.823318e-08
+ 1.002059e-02  1.236647e-02 -2.258066e-01 -3.038520e-01  3.873625e-08  5.652259e-09
+ 1.002059e-02  1.252811e-02 -2.260542e-01 -3.038042e-01 -6.420241e-07  1.305713e-07
+ 1.002059e-02  1.268770e-02 -2.263029e-01 -3.037565e-01  2.714182e-07  1.762875e-07
+ 1.002059e-02  1.284531e-02 -2.265535e-01 -3.037086e-01  2.876150e-07 -4.783118e-09
+ 1.002059e-02  1.300100e-02 -2.268058e-01 -3.036606e-01 -1.306194e-08 -1.956900e-08
+ 1.002059e-02  1.315485e-02 -2.270592e-01 -3.036123e-01  3.483082e-08 -4.557020e-08
+ 1.002059e-02  1.330692e-02 -2.273139e-01 -3.035637e-01  1.464320e-07 -6.019414e-09
+ 1.002059e-02  1.345728e-02 -2.275697e-01 -3.035148e-01  1.988316e-07  3.816692e-08
+ 1.002059e-02  1.360597e-02 -2.278269e-01 -3.034658e-01 -4.431054e-08 -4.727573e-09
+ 1.002059e-02  1.375306e-02 -2.280848e-01 -3.034163e-01 -6.763309e-08 -6.925717e-09
+ 1.002059e-02  1.389858e-02 -2.283436e-01 -3.033665e-01 -1.062430e-08 -1.760864e-09
+ 1.002059e-02  1.404260e-02 -2.286030e-01 -3.033163e-01  4.286456e-09 -2.996608e-09
+ 1.002059e-02  1.418516e-02 -2.288631e-01 -3.032656e-01 -2.610570e-08 -2.058316e-09
+ 1.002059e-02  1.432630e-02 -2.291236e-01 -3.032146e-01 -3.118191e-09 -2.082426e-09
+ 1.002059e-02  1.446606e-02 -2.293845e-01 -3.031630e-01  9.198770e-09 -6.986966e-10
+ 1.002059e-02  1.460449e-02 -2.296457e-01 -3.031110e-01 -2.994613e-08 -5.979037e-09
+ 1.002059e-02  1.474161e-02 -2.299068e-01 -3.030584e-01 -2.874096e-07 -6.309084e-08
+ 1.002059e-02  1.487748e-02 -2.301664e-01 -3.030049e-01  4.712389e-07  1.005552e-07
+ 1.002059e-02  1.501211e-02 -2.304256e-01 -3.029508e-01  4.666389e-06  9.690738e-07
+ 1.002059e-02  1.514554e-02 -2.306895e-01 -3.028971e-01 -1.483090e-05 -3.011222e-06
+ 1.002059e-02  1.527781e-02 -2.309570e-01 -3.028436e-01  1.358786e-05  2.667235e-06
+ 1.002059e-02  1.540894e-02 -2.312199e-01 -3.027885e-01 -5.180477e-06 -9.940402e-07
+ 1.002059e-02  1.553897e-02 -2.314775e-01 -3.027318e-01 -6.737395e-07 -1.291707e-07
+ 1.002059e-02  1.566792e-02 -2.317344e-01 -3.026744e-01 -9.026248e-09 -2.725569e-09
+ 1.002059e-02  1.579582e-02 -2.319918e-01 -3.026165e-01  1.329827e-07  1.980264e-08
+ 1.002059e-02  1.592268e-02 -2.322487e-01 -3.025579e-01  1.180227e-08  5.812181e-09
+ 1.002059e-02  1.604855e-02 -2.325045e-01 -3.024985e-01  3.681864e-07  1.656979e-07
+ 1.002059e-02  1.617343e-02 -2.327589e-01 -3.024382e-01  1.809029e-08 -5.160345e-08
+ 1.002059e-02  1.629736e-02 -2.330118e-01 -3.023771e-01  7.291252e-09  7.666736e-10
+ 1.002059e-02  1.642036e-02 -2.332632e-01 -3.023150e-01 -1.644949e-08 -1.021598e-09
+ 1.002059e-02  1.654243e-02 -2.335129e-01 -3.022519e-01  9.567159e-09  5.217883e-10
+ 1.002059e-02  1.666362e-02 -2.337607e-01 -3.021878e-01  1.037911e-08 -5.936251e-10
+ 1.002059e-02  1.678393e-02 -2.340065e-01 -3.021226e-01 -1.529171e-07 -8.763195e-09
+ 1.002059e-02  1.690338e-02 -2.342501e-01 -3.020564e-01  3.469879e-07  1.632879e-08
+ 1.002059e-02  1.702200e-02 -2.344917e-01 -3.019890e-01 -1.496963e-08 -1.209855e-09
+ 1.002059e-02  1.713979e-02 -2.347301e-01 -3.019203e-01  3.464082e-07  1.510062e-08
+ 1.002059e-02  1.725678e-02 -2.349666e-01 -3.018505e-01  1.204358e-07  3.304672e-09
+ 1.002059e-02  1.737298e-02 -2.352005e-01 -3.017794e-01  3.382183e-07 -2.765909e-09
+ 1.002059e-02  1.748841e-02 -2.354309e-01 -3.017069e-01 -3.542085e-07  2.701294e-09
+ 1.002059e-02  1.760308e-02 -2.356587e-01 -3.016330e-01 -3.229685e-07  1.476440e-09
+ 1.002059e-02  1.771701e-02 -2.358838e-01 -3.015576e-01  3.829251e-07 -1.678386e-09
+ 1.002059e-02  1.783022e-02 -2.361050e-01 -3.014807e-01  1.884850e-08  1.944865e-10
+ 1.002059e-02  1.794270e-02 -2.363230e-01 -3.014022e-01  3.791978e-08  2.836807e-09
+ 1.002059e-02  1.805449e-02 -2.365371e-01 -3.013217e-01  4.156883e-07  3.384152e-07
+ 1.002059e-02  1.816559e-02 -2.367487e-01 -3.012403e-01  5.167708e-08  1.325755e-09
+ 1.002059e-02  1.827602e-02 -2.369560e-01 -3.011564e-01 -2.167888e-08  1.265394e-08
+ 1.002059e-02  1.838578e-02 -2.371590e-01 -3.010710e-01  5.119767e-08 -4.107769e-08
+ 1.002059e-02  1.849489e-02 -2.373582e-01 -3.009835e-01  3.837437e-08  9.257348e-09
+ 1.002059e-02  1.860336e-02 -2.375532e-01 -3.008939e-01  2.263522e-09  6.464960e-09
+ 1.002059e-02  1.871120e-02 -2.377437e-01 -3.008023e-01  8.689739e-08  4.433119e-08
+ 1.002059e-02  1.881842e-02 -2.379293e-01 -3.007085e-01 -3.667291e-09 -7.371441e-10
+ 1.002059e-02  1.892503e-02 -2.381095e-01 -3.006122e-01 -5.892373e-06  2.950575e-07
+ 1.002059e-02  1.903105e-02 -2.382938e-01 -3.005135e-01  1.338774e-05  1.818960e-07
+ 1.002059e-02  1.913648e-02 -2.384678e-01 -3.004126e-01 -6.875684e-07 -3.708966e-08
+ 1.002059e-02  1.924133e-02 -2.386326e-01 -3.003088e-01  3.538359e-08 -2.672045e-09
+ 1.002059e-02  1.934562e-02 -2.387953e-01 -3.002024e-01  1.120841e-07 -3.134575e-09
+ 1.002059e-02  1.944934e-02 -2.389535e-01 -3.000930e-01 -3.110219e-08  1.342259e-08
+ 1.002059e-02  1.955252e-02 -2.391056e-01 -2.999809e-01 -1.731799e-07  5.914756e-08
+ 1.002059e-02  1.965515e-02 -2.392525e-01 -2.998656e-01  5.929080e-07 -1.523981e-07
+ 1.002059e-02  1.975725e-02 -2.393941e-01 -2.997472e-01 -3.676518e-08  1.022898e-08
+ 1.002059e-02  1.985883e-02 -2.395299e-01 -2.996253e-01 -3.243296e-09  2.754823e-09
+ 1.002059e-02  1.995989e-02 -2.396597e-01 -2.995000e-01  2.785183e-08 -2.783880e-08
+ 1.002059e-02  2.006044e-02 -2.397834e-01 -2.993709e-01  8.281452e-08  9.337747e-10
+ 1.002059e-02  2.016048e-02 -2.399006e-01 -2.992381e-01 -2.106324e-08 -1.546288e-10
+ 1.002059e-02  2.026004e-02 -2.400110e-01 -2.991012e-01 -8.676165e-09  1.185729e-09
+ 1.002059e-02  2.035910e-02 -2.401141e-01 -2.989601e-01 -4.985006e-08  7.799447e-09
+ 1.002059e-02  2.045769e-02 -2.402094e-01 -2.988145e-01  1.063967e-07  1.747892e-09
+ 1.002059e-02  2.055580e-02 -2.402963e-01 -2.986643e-01  7.656544e-08  7.656180e-09
+ 1.002059e-02  2.065345e-02 -2.403740e-01 -2.985090e-01 -1.552466e-08  2.848812e-09
+ 1.002059e-02  2.075064e-02 -2.404415e-01 -2.983485e-01 -4.467979e-09 -2.769807e-09
+ 1.002059e-02  2.084738e-02 -2.404973e-01 -2.981822e-01  1.369445e-07 -3.097226e-08
+ 1.002059e-02  2.094367e-02 -2.405411e-01 -2.980090e-01 -8.193024e-07  3.725940e-07
+ 1.002059e-02  2.103951e-02 -2.405678e-01 -2.978301e-01  1.667125e-09 -3.239238e-08
+ 1.002059e-02  2.113493e-02 -2.405769e-01 -2.976430e-01 -1.772707e-08 -3.461784e-10
+ 1.002059e-02  2.122991e-02 -2.405640e-01 -2.974474e-01  3.844494e-08 -4.787043e-08
+ 1.002059e-02  2.132447e-02 -2.405239e-01 -2.972414e-01 -2.707814e-07 -5.108085e-09
+ 1.002059e-02  2.141862e-02 -2.404477e-01 -2.970227e-01  1.443837e-06 -1.611310e-06
+ 1.002059e-02  2.151235e-02 -2.403367e-01 -2.967891e-01 -1.266934e-05 -1.042192e-07
+ 1.002059e-02  2.160567e-02 -2.401393e-01 -2.965326e-01 -3.385914e-06 -1.915424e-07
+ 1.002059e-02  2.169860e-02  4.075153e-01 -2.962423e-01  2.994525e-07  5.875760e-08
+ 1.002059e-02  2.179112e-02  4.082351e-01 -2.958825e-01 -7.327521e-09  3.329881e-09
+ 1.002059e-02  2.188326e-02 -2.384333e-01 -2.951988e-01  1.912124e-07  7.064631e-08
+ 1.002059e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.002059e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.384335e-01  2.951989e-01
+ 1.021902e-02  1.000000e-06 -2.188184e-01 -3.061811e-01  3.156971e-09 -9.609880e-11
+ 1.021902e-02  2.006944e-03 -2.189636e-01 -3.061073e-01  3.025732e-09 -5.007204e-10
+ 1.021902e-02  2.837833e-03 -2.191114e-01 -3.060353e-01 -1.156059e-09 -4.585905e-10
+ 1.021902e-02  3.475396e-03 -2.192619e-01 -3.059649e-01  4.725753e-09  2.765713e-09
+ 1.021902e-02  4.012887e-03 -2.194152e-01 -3.058961e-01 -1.131501e-09  3.047734e-09
+ 1.021902e-02  4.486426e-03 -2.195712e-01 -3.058288e-01 -6.793391e-10  5.995580e-09
+ 1.021902e-02  4.914538e-03 -2.197301e-01 -3.057629e-01  2.904620e-09 -1.486345e-10
+ 1.021902e-02  5.308228e-03 -2.198917e-01 -3.056983e-01 -2.756511e-10  4.389427e-10
+ 1.021902e-02  5.674665e-03 -2.200562e-01 -3.056350e-01 -3.050150e-09  1.340494e-08
+ 1.021902e-02  6.018831e-03 -2.202234e-01 -3.055729e-01 -1.915662e-09  3.389015e-08
+ 1.021902e-02  6.344350e-03 -2.203935e-01 -3.055119e-01 -1.147910e-07  4.319706e-07
+ 1.021902e-02  6.653962e-03 -2.205663e-01 -3.054526e-01  2.582644e-07 -7.978292e-07
+ 1.021902e-02  6.949792e-03 -2.207419e-01 -3.053941e-01  1.604998e-07 -4.666145e-07
+ 1.021902e-02  7.233532e-03 -2.209206e-01 -3.053356e-01 -5.632532e-08  3.917366e-07
+ 1.021902e-02  7.506553e-03 -2.211021e-01 -3.052788e-01  1.660195e-08  1.522383e-09
+ 1.021902e-02  7.769986e-03 -2.212861e-01 -3.052230e-01  5.121391e-07 -5.322717e-07
+ 1.021902e-02  8.024774e-03 -2.214738e-01 -3.051670e-01 -3.921416e-07  8.039833e-07
+ 1.021902e-02  8.271717e-03 -2.216635e-01 -3.051129e-01  6.316117e-09  1.167706e-06
+ 1.021902e-02  8.511498e-03 -2.218595e-01 -3.050608e-01 -2.759492e-07 -7.901752e-07
+ 1.021902e-02  8.744705e-03 -2.220591e-01 -3.050101e-01  1.510077e-06  1.485236e-07
+ 1.021902e-02  8.971852e-03 -2.222293e-01 -3.049461e-01 -2.409306e-05 -9.994164e-06
+ 1.021902e-02  9.193388e-03 -2.224363e-01 -3.048970e-01  4.840220e-08 -2.119875e-08
+ 1.021902e-02  9.409709e-03 -2.226429e-01 -3.048470e-01  7.537985e-07  7.308965e-08
+ 1.021902e-02  9.621167e-03 -2.228511e-01 -3.047965e-01 -1.362686e-08  7.337302e-08
+ 1.021902e-02  9.828076e-03 -2.230597e-01 -3.047462e-01 -1.712896e-07 -6.432383e-08
+ 1.021902e-02  1.003072e-02 -2.232707e-01 -3.046961e-01 -1.461026e-07 -2.316930e-08
+ 1.021902e-02  1.022935e-02 -2.234841e-01 -3.046463e-01 -9.323500e-09 -2.616952e-08
+ 1.021902e-02  1.042419e-02 -2.236998e-01 -3.045967e-01 -1.680345e-07 -1.893910e-07
+ 1.021902e-02  1.061546e-02 -2.239178e-01 -3.045473e-01  2.783188e-07 -1.006921e-07
+ 1.021902e-02  1.080334e-02 -2.241382e-01 -3.044980e-01 -3.214579e-08  5.184899e-08
+ 1.021902e-02  1.098801e-02 -2.243610e-01 -3.044490e-01 -4.286646e-09 -4.701854e-10
+ 1.021902e-02  1.116962e-02 -2.245859e-01 -3.044002e-01  8.141620e-09 -6.046813e-08
+ 1.021902e-02  1.134833e-02 -2.248132e-01 -3.043514e-01  3.535283e-08  7.795520e-09
+ 1.021902e-02  1.152427e-02 -2.250425e-01 -3.043025e-01 -4.108600e-07  1.357168e-07
+ 1.021902e-02  1.169756e-02 -2.252736e-01 -3.042538e-01  1.956699e-07  6.289292e-08
+ 1.021902e-02  1.186832e-02 -2.255068e-01 -3.042051e-01  2.725787e-07  1.596047e-07
+ 1.021902e-02  1.203666e-02 -2.257421e-01 -3.041565e-01 -3.222631e-08 -8.353600e-08
+ 1.021902e-02  1.220268e-02 -2.259792e-01 -3.041077e-01  2.260762e-09  1.273624e-08
+ 1.021902e-02  1.236647e-02 -2.262181e-01 -3.040588e-01  3.848718e-08 -5.116306e-08
+ 1.021902e-02  1.252811e-02 -2.264586e-01 -3.040097e-01  1.338778e-07 -2.702112e-09
+ 1.021902e-02  1.268770e-02 -2.267008e-01 -3.039605e-01  9.423948e-08 -6.276383e-09
+ 1.021902e-02  1.284531e-02 -2.269445e-01 -3.039111e-01 -5.022699e-08 -9.191498e-09
+ 1.021902e-02  1.300100e-02 -2.271896e-01 -3.038614e-01 -6.197722e-08 -4.384477e-09
+ 1.021902e-02  1.315485e-02 -2.274361e-01 -3.038115e-01 -3.633851e-08 -5.690542e-09
+ 1.021902e-02  1.330692e-02 -2.276835e-01 -3.037613e-01  1.536757e-07  4.368773e-08
+ 1.021902e-02  1.345728e-02 -2.279317e-01 -3.037108e-01 -9.340624e-08 -4.376267e-08
+ 1.021902e-02  1.360597e-02 -2.281810e-01 -3.036598e-01  9.881958e-07  2.178899e-07
+ 1.021902e-02  1.375306e-02 -2.284335e-01 -3.036090e-01 -4.009924e-06 -8.590103e-07
+ 1.021902e-02  1.389858e-02 -2.286881e-01 -3.035580e-01  3.840407e-06  7.943347e-07
+ 1.021902e-02  1.404260e-02 -2.289412e-01 -3.035062e-01 -1.238060e-06 -2.504740e-07
+ 1.021902e-02  1.418516e-02 -2.291932e-01 -3.034536e-01 -7.498796e-07 -1.480644e-07
+ 1.021902e-02  1.432630e-02 -2.294462e-01 -3.034005e-01  3.048387e-07  5.478690e-08
+ 1.021902e-02  1.446606e-02 -2.297002e-01 -3.033472e-01 -9.835131e-09 -6.682457e-10
+ 1.021902e-02  1.460449e-02 -2.299545e-01 -3.032933e-01  1.083614e-08  1.420958e-10
+ 1.021902e-02  1.474161e-02 -2.302089e-01 -3.032388e-01  9.613915e-10 -7.307240e-10
+ 1.021902e-02  1.487748e-02 -2.304634e-01 -3.031838e-01  1.061487e-08 -1.475613e-09
+ 1.021902e-02  1.501211e-02 -2.307178e-01 -3.031281e-01  2.693719e-09 -1.053189e-09
+ 1.021902e-02  1.514554e-02 -2.309720e-01 -3.030719e-01  1.524703e-08 -6.739063e-10
+ 1.021902e-02  1.527781e-02 -2.312259e-01 -3.030149e-01 -1.081779e-09 -1.498991e-09
+ 1.021902e-02  1.540894e-02 -2.314792e-01 -3.029573e-01  1.337228e-08  1.466725e-10
+ 1.021902e-02  1.553897e-02 -2.317320e-01 -3.028990e-01 -3.037629e-10 -6.683574e-10
+ 1.021902e-02  1.566792e-02 -2.319840e-01 -3.028398e-01  1.643946e-08 -3.572143e-11
+ 1.021902e-02  1.579582e-02 -2.322352e-01 -3.027799e-01 -7.529754e-09 -1.407832e-09
+ 1.021902e-02  1.592268e-02 -2.324859e-01 -3.027195e-01 -3.745212e-07 -1.782021e-07
+ 1.021902e-02  1.604855e-02 -2.327345e-01 -3.026578e-01 -1.815098e-08 -2.335148e-10
+ 1.021902e-02  1.617343e-02 -2.329822e-01 -3.025954e-01  2.411336e-08  1.514405e-07
+ 1.021902e-02  1.629736e-02 -2.332285e-01 -3.025320e-01 -3.672229e-09 -7.265227e-10
+ 1.021902e-02  1.642036e-02 -2.334733e-01 -3.024677e-01  1.546826e-08  5.650210e-10
+ 1.021902e-02  1.654243e-02 -2.337164e-01 -3.024024e-01 -2.533634e-08  3.101983e-09
+ 1.021902e-02  1.666362e-02 -2.339576e-01 -3.023361e-01 -2.982463e-08 -2.603969e-09
+ 1.021902e-02  1.678393e-02 -2.341963e-01 -3.022687e-01  1.135318e-06  5.643903e-08
+ 1.021902e-02  1.690338e-02 -2.344340e-01 -3.022002e-01  2.991961e-08 -5.207190e-10
+ 1.021902e-02  1.702200e-02 -2.346696e-01 -3.021306e-01 -2.712795e-07 -1.501448e-08
+ 1.021902e-02  1.713979e-02 -2.349015e-01 -3.020597e-01  3.474348e-08 -2.537596e-10
+ 1.021902e-02  1.725678e-02 -2.351316e-01 -3.019876e-01  5.298650e-08 -6.340624e-10
+ 1.021902e-02  1.737298e-02 -2.353593e-01 -3.019142e-01  5.386636e-07 -4.276700e-09
+ 1.021902e-02  1.748841e-02 -2.355830e-01 -3.018394e-01 -8.174938e-07  6.353184e-09
+ 1.021902e-02  1.760308e-02 -2.358049e-01 -3.017633e-01 -5.558423e-07  4.315475e-09
+ 1.021902e-02  1.771701e-02 -2.360246e-01 -3.016856e-01  8.284097e-07 -7.799828e-09
+ 1.021902e-02  1.783022e-02 -2.362395e-01 -3.016065e-01  5.717597e-10 -3.112526e-09
+ 1.021902e-02  1.794270e-02 -2.364516e-01 -3.015257e-01 -4.012511e-09 -7.678949e-09
+ 1.021902e-02  1.805449e-02 -2.366613e-01 -3.014441e-01  9.328506e-07  7.924874e-07
+ 1.021902e-02  1.816559e-02 -2.368660e-01 -3.013595e-01  1.499466e-08  2.117592e-08
+ 1.021902e-02  1.827602e-02 -2.370673e-01 -3.012739e-01  8.124314e-08 -1.009923e-07
+ 1.021902e-02  1.838578e-02 -2.372653e-01 -3.011859e-01  1.562560e-08  1.270201e-08
+ 1.021902e-02  1.849489e-02 -2.374593e-01 -3.010963e-01  3.963787e-08 -1.459739e-08
+ 1.021902e-02  1.860336e-02 -2.376491e-01 -3.010047e-01  1.391678e-09  1.223072e-10
+ 1.021902e-02  1.871120e-02 -2.378348e-01 -3.009110e-01  5.810213e-08  1.802086e-09
+ 1.021902e-02  1.881842e-02 -2.380162e-01 -3.008151e-01  1.607148e-09  7.719083e-10
+ 1.021902e-02  1.892503e-02 -2.381931e-01 -3.007170e-01  1.415812e-08 -1.567559e-09
+ 1.021902e-02  1.903105e-02 -2.383652e-01 -3.006165e-01 -2.721564e-07  8.372630e-08
+ 1.021902e-02  1.913648e-02 -2.385280e-01 -3.005142e-01  1.062247e-06 -1.444063e-07
+ 1.021902e-02  1.924133e-02 -2.386979e-01 -3.004078e-01 -2.774368e-06  1.854223e-07
+ 1.021902e-02  1.934562e-02 -2.388708e-01 -3.002992e-01 -1.770705e-06  4.726640e-08
+ 1.021902e-02  1.944934e-02 -2.390159e-01 -3.001887e-01  6.196496e-08 -8.417362e-09
+ 1.021902e-02  1.955252e-02 -2.391649e-01 -3.000748e-01 -5.643126e-07  2.185484e-07
+ 1.021902e-02  1.965515e-02 -2.393082e-01 -2.999581e-01 -1.948382e-07  1.003339e-07
+ 1.021902e-02  1.975725e-02 -2.394467e-01 -2.998383e-01 -4.155435e-07  1.215485e-07
+ 1.021902e-02  1.985883e-02 -2.395800e-01 -2.997151e-01 -1.283266e-08  1.581568e-09
+ 1.021902e-02  1.995989e-02 -2.397077e-01 -2.995886e-01  6.794239e-08  8.934408e-08
+ 1.021902e-02  2.006044e-02 -2.398298e-01 -2.994585e-01  3.316192e-08 -3.295290e-09
+ 1.021902e-02  2.016048e-02 -2.399460e-01 -2.993246e-01 -1.697363e-08 -5.594469e-10
+ 1.021902e-02  2.026004e-02 -2.400559e-01 -2.991869e-01 -1.230245e-08  1.150403e-09
+ 1.021902e-02  2.035910e-02 -2.401591e-01 -2.990451e-01  2.221920e-08  2.481421e-09
+ 1.021902e-02  2.045769e-02 -2.402554e-01 -2.988991e-01  9.273199e-08  4.570988e-09
+ 1.021902e-02  2.055580e-02 -2.403441e-01 -2.987485e-01  2.425450e-07  1.476076e-08
+ 1.021902e-02  2.065345e-02 -2.404249e-01 -2.985930e-01 -9.367775e-09  2.167830e-09
+ 1.021902e-02  2.075064e-02 -2.404964e-01 -2.984325e-01  4.643726e-09  5.970008e-09
+ 1.021902e-02  2.084738e-02 -2.405579e-01 -2.982664e-01  2.121277e-08 -1.023334e-08
+ 1.021902e-02  2.094367e-02 -2.406077e-01 -2.980946e-01 -6.916286e-09  6.558314e-08
+ 1.021902e-02  2.103951e-02 -2.406451e-01 -2.979154e-01  8.186237e-08 -1.010626e-09
+ 1.021902e-02  2.113493e-02 -2.406663e-01 -2.977297e-01  3.356830e-08  2.070130e-09
+ 1.021902e-02  2.122991e-02 -2.406688e-01 -2.975356e-01  3.504284e-07 -9.062692e-08
+ 1.021902e-02  2.132447e-02 -2.406487e-01 -2.973317e-01  8.037555e-08 -6.121076e-09
+ 1.021902e-02  2.141862e-02 -2.405994e-01 -2.971163e-01  2.496250e-07  1.843402e-08
+ 1.021902e-02  2.151235e-02 -2.405116e-01 -2.968860e-01  6.930371e-07 -8.074391e-08
+ 1.021902e-02  2.160567e-02 -2.403647e-01 -2.966353e-01  2.842975e-05  1.668651e-06
+ 1.021902e-02  2.169860e-02 -2.401610e-01 -2.963571e-01  2.689278e-05  4.874233e-07
+ 1.021902e-02  2.179112e-02  4.079546e-01 -2.960227e-01  4.429007e-07  2.659388e-07
+ 1.021902e-02  2.188326e-02 -2.392796e-01 -2.955436e-01  2.143022e-06  3.196593e-06
+ 1.021902e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.021902e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.392817e-01  2.955468e-01
+ 1.041366e-02  1.000000e-06 -2.194698e-01 -3.064109e-01 -4.194954e-10 -7.816958e-11
+ 1.041366e-02  2.006944e-03 -2.196088e-01 -3.063372e-01  5.537907e-09  9.042533e-10
+ 1.041366e-02  2.837833e-03 -2.197505e-01 -3.062652e-01  1.823510e-09 -2.239181e-10
+ 1.041366e-02  3.475396e-03 -2.198949e-01 -3.061948e-01  1.072497e-10  1.619482e-10
+ 1.041366e-02  4.012887e-03 -2.200420e-01 -3.061260e-01  2.625833e-09  1.334163e-09
+ 1.041366e-02  4.486426e-03 -2.201920e-01 -3.060586e-01 -1.133757e-09  3.245276e-09
+ 1.041366e-02  4.914538e-03 -2.203447e-01 -3.059926e-01  1.369004e-08  1.835494e-08
+ 1.041366e-02  5.308228e-03 -2.205003e-01 -3.059279e-01 -6.855322e-09  1.965727e-08
+ 1.041366e-02  5.674665e-03 -2.206587e-01 -3.058644e-01  2.996132e-08  4.140835e-08
+ 1.041366e-02  6.018831e-03 -2.208199e-01 -3.058022e-01 -7.484898e-09  1.634786e-08
+ 1.041366e-02  6.344350e-03 -2.209839e-01 -3.057410e-01  6.390757e-08  3.378962e-08
+ 1.041366e-02  6.653962e-03 -2.211509e-01 -3.056809e-01 -1.570635e-07  4.472447e-07
+ 1.041366e-02  6.949792e-03 -2.213204e-01 -3.056225e-01  3.593041e-07 -7.038861e-07
+ 1.041366e-02  7.233532e-03 -2.214933e-01 -3.055646e-01  2.432387e-07 -9.106488e-07
+ 1.041366e-02  7.506553e-03 -2.216691e-01 -3.055069e-01  1.389524e-07  6.636793e-07
+ 1.041366e-02  7.769986e-03 -2.218514e-01 -3.054518e-01 -2.886024e-07 -1.913886e-08
+ 1.041366e-02  8.024774e-03 -2.220366e-01 -3.053984e-01  5.313362e-06  1.150111e-06
+ 1.041366e-02  8.271717e-03 -2.222212e-01 -3.053433e-01  5.050666e-06  2.650603e-06
+ 1.041366e-02  8.511498e-03 -2.223735e-01 -3.052752e-01  5.956130e-06  3.560546e-06
+ 1.041366e-02  8.744705e-03 -2.225707e-01 -3.052265e-01  4.456109e-06 -4.500888e-07
+ 1.041366e-02  8.971852e-03 -2.227673e-01 -3.051743e-01  4.545743e-08 -2.305296e-08
+ 1.041366e-02  9.193388e-03 -2.229621e-01 -3.051219e-01 -5.505984e-08 -6.209799e-08
+ 1.041366e-02  9.409709e-03 -2.231593e-01 -3.050700e-01 -7.332413e-08  4.549134e-09
+ 1.041366e-02  9.621167e-03 -2.233588e-01 -3.050183e-01 -2.551287e-08 -5.844985e-08
+ 1.041366e-02  9.828076e-03 -2.235607e-01 -3.049669e-01 -6.352516e-08 -4.542022e-08
+ 1.041366e-02  1.003072e-02 -2.237651e-01 -3.049157e-01 -3.202279e-08  7.151815e-08
+ 1.041366e-02  1.022935e-02 -2.239719e-01 -3.048649e-01 -1.368280e-07  1.740565e-08
+ 1.041366e-02  1.042419e-02 -2.241809e-01 -3.048143e-01  1.280240e-07  1.344240e-07
+ 1.041366e-02  1.061546e-02 -2.243924e-01 -3.047640e-01  1.858657e-07  1.402890e-07
+ 1.041366e-02  1.080334e-02 -2.246062e-01 -3.047138e-01 -4.372624e-09 -8.245930e-08
+ 1.041366e-02  1.098801e-02 -2.248223e-01 -3.046638e-01  3.501173e-08  5.656435e-09
+ 1.041366e-02  1.116962e-02 -2.250405e-01 -3.046138e-01  1.646722e-08 -3.963244e-08
+ 1.041366e-02  1.134833e-02 -2.252608e-01 -3.045638e-01  2.843300e-07  2.472921e-08
+ 1.041366e-02  1.152427e-02 -2.254834e-01 -3.045139e-01 -4.240846e-07 -1.219520e-07
+ 1.041366e-02  1.169756e-02 -2.257082e-01 -3.044640e-01 -1.930228e-07 -5.949669e-08
+ 1.041366e-02  1.186832e-02 -2.259352e-01 -3.044142e-01  1.016028e-06  2.159918e-07
+ 1.041366e-02  1.203666e-02 -2.261639e-01 -3.043642e-01 -5.290336e-07 -1.051520e-07
+ 1.041366e-02  1.220268e-02 -2.263942e-01 -3.043140e-01 -2.125332e-08 -2.317734e-09
+ 1.041366e-02  1.236647e-02 -2.266260e-01 -3.042637e-01 -9.843993e-08 -2.284594e-08
+ 1.041366e-02  1.252811e-02 -2.268597e-01 -3.042133e-01  4.215719e-08  1.542680e-09
+ 1.041366e-02  1.268770e-02 -2.270951e-01 -3.041626e-01 -1.465964e-09 -2.953636e-09
+ 1.041366e-02  1.284531e-02 -2.273319e-01 -3.041118e-01 -2.283425e-09 -3.340990e-09
+ 1.041366e-02  1.300100e-02 -2.275702e-01 -3.040607e-01  1.143913e-08 -1.294991e-09
+ 1.041366e-02  1.315485e-02 -2.278098e-01 -3.040092e-01 -1.907936e-08 -1.064961e-08
+ 1.041366e-02  1.330692e-02 -2.280509e-01 -3.039577e-01 -1.131517e-07 -8.754126e-08
+ 1.041366e-02  1.345728e-02 -2.282928e-01 -3.039055e-01  2.584265e-10  4.329559e-11
+ 1.041366e-02  1.360597e-02 -2.285358e-01 -3.038531e-01  6.917869e-09 -1.351412e-09
+ 1.041366e-02  1.375306e-02 -2.287798e-01 -3.038003e-01 -6.493228e-09 -4.697722e-10
+ 1.041366e-02  1.389858e-02 -2.290247e-01 -3.037470e-01  8.309044e-09 -8.466483e-11
+ 1.041366e-02  1.404260e-02 -2.292703e-01 -3.036933e-01  6.121828e-10 -1.236050e-09
+ 1.041366e-02  1.418516e-02 -2.295165e-01 -3.036392e-01  3.058389e-08  9.486876e-10
+ 1.041366e-02  1.432630e-02 -2.297633e-01 -3.035845e-01 -1.508048e-08 -4.107063e-09
+ 1.041366e-02  1.446606e-02 -2.300104e-01 -3.035293e-01  1.440583e-08 -5.084336e-10
+ 1.041366e-02  1.460449e-02 -2.302578e-01 -3.034736e-01  1.748087e-09 -1.003432e-09
+ 1.041366e-02  1.474161e-02 -2.305054e-01 -3.034173e-01  1.176750e-08 -6.053719e-10
+ 1.041366e-02  1.487748e-02 -2.307530e-01 -3.033603e-01 -2.063139e-10 -8.379066e-10
+ 1.041366e-02  1.501211e-02 -2.310005e-01 -3.033028e-01  1.601694e-08 -1.560657e-10
+ 1.041366e-02  1.514554e-02 -2.312479e-01 -3.032446e-01 -4.280823e-10  5.714106e-10
+ 1.041366e-02  1.527781e-02 -2.314949e-01 -3.031856e-01  1.514281e-08 -1.073228e-09
+ 1.041366e-02  1.540894e-02 -2.317414e-01 -3.031260e-01  4.269035e-10 -1.256881e-09
+ 1.041366e-02  1.553897e-02 -2.319873e-01 -3.030656e-01  1.680439e-08 -2.937598e-10
+ 1.041366e-02  1.566792e-02 -2.322323e-01 -3.030043e-01  1.358835e-07  7.468106e-08
+ 1.041366e-02  1.579582e-02 -2.324773e-01 -3.029427e-01  7.670320e-08  8.951282e-09
+ 1.041366e-02  1.592268e-02 -2.327206e-01 -3.028798e-01 -1.750108e-09 -3.245573e-10
+ 1.041366e-02  1.604855e-02 -2.329628e-01 -3.028161e-01  1.993474e-08  2.408249e-10
+ 1.041366e-02  1.617343e-02 -2.332039e-01 -3.027516e-01 -1.030960e-08 -5.330024e-08
+ 1.041366e-02  1.629736e-02 -2.334435e-01 -3.026861e-01  9.916452e-09 -1.893299e-09
+ 1.041366e-02  1.642036e-02 -2.336817e-01 -3.026196e-01 -1.311374e-08 -2.023805e-09
+ 1.041366e-02  1.654243e-02 -2.339182e-01 -3.025522e-01  2.590293e-08  2.770331e-10
+ 1.041366e-02  1.666362e-02 -2.341531e-01 -3.024837e-01  7.733677e-08  5.810978e-09
+ 1.041366e-02  1.678393e-02 -2.343854e-01 -3.024141e-01  1.382882e-07  5.102774e-09
+ 1.041366e-02  1.690338e-02 -2.346164e-01 -3.023434e-01  3.384857e-07  1.779688e-08
+ 1.041366e-02  1.702200e-02 -2.348449e-01 -3.022715e-01 -3.428994e-07 -1.943023e-08
+ 1.041366e-02  1.713979e-02 -2.350712e-01 -3.021985e-01 -7.764113e-09 -2.671113e-09
+ 1.041366e-02  1.725678e-02 -2.352950e-01 -3.021241e-01  6.904413e-08 -1.183892e-09
+ 1.041366e-02  1.737298e-02 -2.355167e-01 -3.020485e-01  3.774328e-07 -3.158295e-09
+ 1.041366e-02  1.748841e-02 -2.357337e-01 -3.019716e-01 -6.095366e-07  4.850256e-09
+ 1.041366e-02  1.760308e-02 -2.359498e-01 -3.018932e-01 -2.250687e-07  2.415783e-09
+ 1.041366e-02  1.771701e-02 -2.361642e-01 -3.018134e-01  2.494344e-07 -1.729660e-09
+ 1.041366e-02  1.783022e-02 -2.363725e-01 -3.017320e-01  4.484849e-08  2.467483e-10
+ 1.041366e-02  1.794270e-02 -2.365782e-01 -3.016485e-01  4.763336e-08  2.052977e-08
+ 1.041366e-02  1.805449e-02 -2.367826e-01 -3.015650e-01  5.783613e-08  1.782805e-08
+ 1.041366e-02  1.816559e-02 -2.369820e-01 -3.014787e-01 -5.003208e-09  1.677068e-08
+ 1.041366e-02  1.827602e-02 -2.371781e-01 -3.013907e-01  9.095280e-09  3.011337e-09
+ 1.041366e-02  1.838578e-02 -2.373709e-01 -3.013005e-01 -1.130232e-07  1.387129e-07
+ 1.041366e-02  1.849489e-02 -2.375592e-01 -3.012092e-01  1.079789e-07 -7.010516e-08
+ 1.041366e-02  1.860336e-02 -2.377440e-01 -3.011155e-01 -1.382011e-08  2.278660e-08
+ 1.041366e-02  1.871120e-02 -2.379247e-01 -3.010198e-01  5.563586e-09  4.349465e-09
+ 1.041366e-02  1.881842e-02 -2.381013e-01 -3.009220e-01 -3.850485e-10  2.435522e-09
+ 1.041366e-02  1.892503e-02 -2.382737e-01 -3.008220e-01  6.263445e-08  2.813735e-09
+ 1.041366e-02  1.903105e-02 -2.384417e-01 -3.007197e-01 -9.065774e-09  4.827935e-10
+ 1.041366e-02  1.913648e-02 -2.386051e-01 -3.006150e-01 -1.119124e-08  7.146173e-11
+ 1.041366e-02  1.924133e-02 -2.387633e-01 -3.005079e-01  7.511938e-08  6.977413e-10
+ 1.041366e-02  1.934562e-02 -2.389094e-01 -3.003995e-01  1.423975e-07 -2.695798e-08
+ 1.041366e-02  1.944934e-02 -2.390753e-01 -3.002843e-01  2.541973e-05 -3.311322e-06
+ 1.041366e-02  1.955252e-02 -2.392306e-01 -3.001684e-01 -4.762600e-06  2.605510e-07
+ 1.041366e-02  1.965515e-02 -2.393639e-01 -3.000509e-01 -1.134436e-07  4.034698e-08
+ 1.041366e-02  1.975725e-02 -2.394984e-01 -2.999297e-01  7.247495e-07 -1.823986e-07
+ 1.041366e-02  1.985883e-02 -2.396290e-01 -2.998055e-01  1.044413e-08  1.082301e-09
+ 1.041366e-02  1.995989e-02 -2.397544e-01 -2.996779e-01  1.199729e-07  1.525427e-07
+ 1.041366e-02  2.006044e-02 -2.398747e-01 -2.995468e-01 -3.011142e-08 -2.803489e-09
+ 1.041366e-02  2.016048e-02 -2.399896e-01 -2.994120e-01  9.964919e-09 -9.494927e-11
+ 1.041366e-02  2.026004e-02 -2.400989e-01 -2.992736e-01 -1.227154e-08 -1.047634e-09
+ 1.041366e-02  2.035910e-02 -2.402022e-01 -2.991312e-01  7.120356e-08  9.267564e-09
+ 1.041366e-02  2.045769e-02 -2.402992e-01 -2.989846e-01  8.329243e-08  2.441013e-09
+ 1.041366e-02  2.055580e-02 -2.403896e-01 -2.988337e-01 -3.562314e-09  1.555455e-09
+ 1.041366e-02  2.065345e-02 -2.404729e-01 -2.986782e-01  2.543014e-08 -1.211771e-09
+ 1.041366e-02  2.075064e-02 -2.405482e-01 -2.985178e-01  4.691009e-10  1.442803e-09
+ 1.041366e-02  2.084738e-02 -2.406147e-01 -2.983521e-01 -2.521497e-09 -4.601123e-09
+ 1.041366e-02  2.094367e-02 -2.406714e-01 -2.981807e-01  7.405986e-08 -2.544091e-09
+ 1.041366e-02  2.103951e-02 -2.407155e-01 -2.980044e-01 -1.435481e-06  2.328710e-06
+ 1.041366e-02  2.113493e-02 -2.407499e-01 -2.978177e-01  1.348925e-07 -9.639657e-09
+ 1.041366e-02  2.122991e-02 -2.407667e-01 -2.976253e-01  1.762979e-07  2.353576e-07
+ 1.041366e-02  2.132447e-02 -2.407645e-01 -2.974236e-01  7.100646e-08 -2.141649e-08
+ 1.041366e-02  2.141862e-02 -2.407389e-01 -2.972111e-01  1.218025e-07  3.231315e-09
+ 1.041366e-02  2.151235e-02 -2.406826e-01 -2.969858e-01 -6.136071e-07  1.190245e-06
+ 1.041366e-02  2.160567e-02 -2.405878e-01 -2.967409e-01  4.975627e-06  4.648890e-08
+ 1.041366e-02  2.169860e-02 -2.404402e-01 -2.964714e-01 -1.832344e-06 -2.427039e-07
+ 1.041366e-02  2.179112e-02 -2.402097e-01 -2.961592e-01 -2.949687e-07  3.207983e-08
+ 1.041366e-02  2.188326e-02 -2.398314e-01 -2.957516e-01  7.896643e-08  3.943397e-08
+ 1.041366e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.041366e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.398315e-01  2.957516e-01
+ 1.060474e-02  1.000000e-06 -2.201158e-01 -3.066389e-01 -1.186649e-09 -1.079945e-09
+ 1.060474e-02  2.006944e-03 -2.202487e-01 -3.065653e-01  1.382079e-08 -1.578961e-09
+ 1.060474e-02  2.837833e-03 -2.203843e-01 -3.064934e-01 -1.746907e-09 -3.228777e-09
+ 1.060474e-02  3.475396e-03 -2.205226e-01 -3.064230e-01 -3.508783e-09 -3.250177e-09
+ 1.060474e-02  4.012887e-03 -2.206638e-01 -3.063542e-01  3.586033e-08 -1.419865e-09
+ 1.060474e-02  4.486426e-03 -2.208078e-01 -3.062868e-01  1.782869e-09 -1.050308e-08
+ 1.060474e-02  4.914538e-03 -2.209545e-01 -3.062207e-01  1.010305e-07 -2.810428e-09
+ 1.060474e-02  5.308228e-03 -2.211043e-01 -3.061560e-01 -1.168314e-08 -1.099706e-08
+ 1.060474e-02  5.674665e-03 -2.212567e-01 -3.060924e-01  2.156472e-07  2.069328e-08
+ 1.060474e-02  6.018831e-03 -2.214125e-01 -3.060301e-01 -9.542431e-08  2.907575e-08
+ 1.060474e-02  6.344350e-03 -2.215707e-01 -3.059690e-01  7.151017e-07  8.978572e-08
+ 1.060474e-02  6.653962e-03 -2.217337e-01 -3.059092e-01 -1.246622e-06 -6.551390e-08
+ 1.060474e-02  6.949792e-03 -2.219030e-01 -3.058515e-01 -3.430752e-06 -1.580336e-08
+ 1.060474e-02  7.233532e-03 -2.220902e-01 -3.058026e-01 -1.649069e-05 -6.974437e-06
+ 1.060474e-02  7.506553e-03 -2.222222e-01 -3.057306e-01  3.459605e-09 -1.262998e-06
+ 1.060474e-02  7.769986e-03 -2.223668e-01 -3.056614e-01  1.188320e-05  5.286373e-06
+ 1.060474e-02  8.024774e-03 -2.225563e-01 -3.056124e-01  3.732964e-06  3.026125e-07
+ 1.060474e-02  8.271717e-03 -2.227396e-01 -3.055583e-01 -6.491506e-07  2.570018e-07
+ 1.060474e-02  8.511498e-03 -2.229213e-01 -3.055031e-01 -4.572617e-07  2.523044e-07
+ 1.060474e-02  8.744705e-03 -2.231043e-01 -3.054496e-01 -6.186512e-07  1.268855e-06
+ 1.060474e-02  8.971852e-03 -2.232894e-01 -3.053967e-01  3.508574e-07 -7.588201e-07
+ 1.060474e-02  9.193388e-03 -2.234776e-01 -3.053432e-01  4.705279e-08 -8.714687e-08
+ 1.060474e-02  9.409709e-03 -2.236681e-01 -3.052903e-01  4.106079e-08 -7.250035e-08
+ 1.060474e-02  9.621167e-03 -2.238610e-01 -3.052377e-01 -2.521247e-08 -4.892793e-08
+ 1.060474e-02  9.828076e-03 -2.240564e-01 -3.051854e-01  5.877101e-08 -6.023091e-09
+ 1.060474e-02  1.003072e-02 -2.242543e-01 -3.051335e-01  9.054327e-08 -3.693709e-08
+ 1.060474e-02  1.022935e-02 -2.244546e-01 -3.050817e-01  6.200346e-08 -2.621781e-08
+ 1.060474e-02  1.042419e-02 -2.246572e-01 -3.050302e-01  1.714967e-08 -1.534784e-08
+ 1.060474e-02  1.061546e-02 -2.248622e-01 -3.049789e-01 -5.000419e-08 -1.265990e-08
+ 1.060474e-02  1.080334e-02 -2.250695e-01 -3.049276e-01 -2.864109e-08 -3.652962e-09
+ 1.060474e-02  1.098801e-02 -2.252790e-01 -3.048765e-01 -1.051347e-08 -4.273260e-09
+ 1.060474e-02  1.116962e-02 -2.254907e-01 -3.048254e-01 -1.775396e-09 -3.588187e-09
+ 1.060474e-02  1.134833e-02 -2.257046e-01 -3.047744e-01  1.447248e-09 -8.232774e-09
+ 1.060474e-02  1.152427e-02 -2.259205e-01 -3.047233e-01 -1.840794e-08 -4.431708e-09
+ 1.060474e-02  1.169756e-02 -2.261384e-01 -3.046722e-01 -1.074713e-08 -1.361782e-09
+ 1.060474e-02  1.186832e-02 -2.263583e-01 -3.046210e-01 -7.347710e-09 -5.194156e-11
+ 1.060474e-02  1.203666e-02 -2.265801e-01 -3.045697e-01  1.300714e-09 -3.049448e-10
+ 1.060474e-02  1.220268e-02 -2.268037e-01 -3.045183e-01 -9.594159e-09 -2.075246e-09
+ 1.060474e-02  1.236647e-02 -2.270290e-01 -3.044667e-01  5.631161e-09 -1.088887e-09
+ 1.060474e-02  1.252811e-02 -2.272560e-01 -3.044149e-01  6.375684e-09 -2.959702e-09
+ 1.060474e-02  1.268770e-02 -2.274846e-01 -3.043628e-01  6.862270e-09 -3.271795e-09
+ 1.060474e-02  1.284531e-02 -2.277147e-01 -3.043105e-01 -3.574604e-09 -3.687277e-09
+ 1.060474e-02  1.300100e-02 -2.279461e-01 -3.042579e-01 -4.085455e-09 -1.470591e-10
+ 1.060474e-02  1.315485e-02 -2.281790e-01 -3.042050e-01  3.100773e-07  2.269631e-07
+ 1.060474e-02  1.330692e-02 -2.284130e-01 -3.041518e-01 -3.987088e-09 -1.625424e-09
+ 1.060474e-02  1.345728e-02 -2.286482e-01 -3.040981e-01  9.665726e-10 -2.346834e-09
+ 1.060474e-02  1.360597e-02 -2.288844e-01 -3.040441e-01  2.522547e-09 -2.215325e-09
+ 1.060474e-02  1.375306e-02 -2.291216e-01 -3.039896e-01  7.926577e-09 -1.330899e-09
+ 1.060474e-02  1.389858e-02 -2.293596e-01 -3.039347e-01  6.246664e-09 -2.703624e-09
+ 1.060474e-02  1.404260e-02 -2.295983e-01 -3.038793e-01  2.130963e-08  3.098668e-10
+ 1.060474e-02  1.418516e-02 -2.298377e-01 -3.038234e-01 -2.047424e-08 -4.430148e-09
+ 1.060474e-02  1.432630e-02 -2.300775e-01 -3.037670e-01  7.600632e-09 -1.162094e-10
+ 1.060474e-02  1.446606e-02 -2.303178e-01 -3.037100e-01 -2.146491e-09 -1.194363e-09
+ 1.060474e-02  1.460449e-02 -2.305584e-01 -3.036525e-01  8.550965e-09 -1.445775e-09
+ 1.060474e-02  1.474161e-02 -2.307991e-01 -3.035943e-01 -8.198462e-10 -1.539051e-09
+ 1.060474e-02  1.487748e-02 -2.310399e-01 -3.035355e-01  9.640879e-09 -2.234260e-10
+ 1.060474e-02  1.501211e-02 -2.312806e-01 -3.034760e-01 -9.927930e-10 -6.670725e-10
+ 1.060474e-02  1.514554e-02 -2.315211e-01 -3.034159e-01  1.392947e-08 -8.353954e-10
+ 1.060474e-02  1.527781e-02 -2.317612e-01 -3.033550e-01  5.570974e-09 -1.406665e-09
+ 1.060474e-02  1.540894e-02 -2.320009e-01 -3.032934e-01  7.141970e-10  1.661873e-10
+ 1.060474e-02  1.553897e-02 -2.322398e-01 -3.032308e-01 -2.483429e-06 -1.134281e-06
+ 1.060474e-02  1.566792e-02 -2.324789e-01 -3.031680e-01  5.520497e-08 -2.913137e-09
+ 1.060474e-02  1.579582e-02 -2.327165e-01 -3.031039e-01 -2.766370e-09 -1.546704e-09
+ 1.060474e-02  1.592268e-02 -2.329532e-01 -3.030391e-01  2.079951e-08  3.332107e-11
+ 1.060474e-02  1.604855e-02 -2.331888e-01 -3.029734e-01  3.598758e-09 -3.417311e-10
+ 1.060474e-02  1.617343e-02 -2.334232e-01 -3.029068e-01  2.094482e-08 -3.054555e-09
+ 1.060474e-02  1.629736e-02 -2.336563e-01 -3.028391e-01 -2.107975e-09 -4.110859e-09
+ 1.060474e-02  1.642036e-02 -2.338879e-01 -3.027705e-01  2.153069e-08  5.295647e-10
+ 1.060474e-02  1.654243e-02 -2.341179e-01 -3.027009e-01 -3.468891e-09 -1.725060e-09
+ 1.060474e-02  1.666362e-02 -2.343456e-01 -3.026303e-01  6.713098e-07  3.617064e-08
+ 1.060474e-02  1.678393e-02 -2.345726e-01 -3.025586e-01 -3.296511e-07 -1.821896e-08
+ 1.060474e-02  1.690338e-02 -2.347975e-01 -3.024858e-01 -1.341925e-06 -7.723807e-08
+ 1.060474e-02  1.702200e-02 -2.350189e-01 -3.024117e-01  2.989902e-07  1.504210e-08
+ 1.060474e-02  1.713979e-02 -2.352390e-01 -3.023365e-01  5.461660e-08  2.892026e-09
+ 1.060474e-02  1.725678e-02 -2.354566e-01 -3.022600e-01  3.557236e-08  5.316964e-10
+ 1.060474e-02  1.737298e-02 -2.356722e-01 -3.021822e-01 -5.471283e-08 -9.451692e-10
+ 1.060474e-02  1.748841e-02 -2.358826e-01 -3.021031e-01  5.573236e-07 -3.468859e-09
+ 1.060474e-02  1.760308e-02 -2.360931e-01 -3.020226e-01  3.513539e-07 -3.248420e-09
+ 1.060474e-02  1.771701e-02 -2.363020e-01 -3.019406e-01 -1.619631e-06  1.074283e-08
+ 1.060474e-02  1.783022e-02 -2.365037e-01 -3.018570e-01  2.866084e-07 -9.805104e-09
+ 1.060474e-02  1.794270e-02 -2.367058e-01 -3.017729e-01  4.030533e-06  3.188353e-06
+ 1.060474e-02  1.805449e-02 -2.369026e-01 -3.016859e-01  1.083020e-07 -2.121712e-10
+ 1.060474e-02  1.816559e-02 -2.370966e-01 -3.015975e-01  5.459105e-08 -4.835965e-09
+ 1.060474e-02  1.827602e-02 -2.372872e-01 -3.015074e-01  7.608033e-08  1.424999e-09
+ 1.060474e-02  1.838578e-02 -2.374738e-01 -3.014160e-01  3.038029e-07 -4.058502e-07
+ 1.060474e-02  1.849489e-02 -2.376576e-01 -3.013218e-01 -9.897117e-09  1.329960e-08
+ 1.060474e-02  1.860336e-02 -2.378373e-01 -3.012262e-01  6.325077e-08 -4.368842e-09
+ 1.060474e-02  1.871120e-02 -2.380130e-01 -3.011286e-01 -3.372311e-08  1.211224e-08
+ 1.060474e-02  1.881842e-02 -2.381848e-01 -3.010288e-01  3.584474e-09  5.725264e-10
+ 1.060474e-02  1.892503e-02 -2.383525e-01 -3.009270e-01  6.307650e-08  6.550956e-10
+ 1.060474e-02  1.903105e-02 -2.385161e-01 -3.008228e-01  4.297311e-09 -4.981923e-10
+ 1.060474e-02  1.913648e-02 -2.386754e-01 -3.007164e-01  4.698463e-09 -4.669239e-10
+ 1.060474e-02  1.924133e-02 -2.388301e-01 -3.006076e-01  7.445470e-08  1.070360e-10
+ 1.060474e-02  1.934562e-02 -2.389801e-01 -3.004963e-01  1.127522e-08  1.912091e-09
+ 1.060474e-02  1.944934e-02 -2.391245e-01 -3.003826e-01 -7.228020e-07  2.433020e-07
+ 1.060474e-02  1.955252e-02 -2.392473e-01 -3.002696e-01  1.369985e-05 -3.017915e-06
+ 1.060474e-02  1.965515e-02 -2.394412e-01 -3.001393e-01 -2.356029e-05  3.875559e-06
+ 1.060474e-02  1.975725e-02 -2.395504e-01 -3.000211e-01  3.105808e-07 -9.037989e-08
+ 1.060474e-02  1.985883e-02 -2.396760e-01 -2.998964e-01  2.292116e-07 -6.587248e-08
+ 1.060474e-02  1.995989e-02 -2.397993e-01 -2.997674e-01  4.076971e-08 -2.032619e-07
+ 1.060474e-02  2.006044e-02 -2.399176e-01 -2.996354e-01 -3.075328e-09  4.140610e-09
+ 1.060474e-02  2.016048e-02 -2.400309e-01 -2.994999e-01  5.229093e-09  1.369081e-09
+ 1.060474e-02  2.026004e-02 -2.401393e-01 -2.993607e-01  1.327500e-08 -6.284742e-10
+ 1.060474e-02  2.035910e-02 -2.402424e-01 -2.992178e-01  1.180707e-07  2.245640e-09
+ 1.060474e-02  2.045769e-02 -2.403400e-01 -2.990709e-01  8.370940e-08 -1.379343e-08
+ 1.060474e-02  2.055580e-02 -2.404318e-01 -2.989197e-01 -8.670522e-08  1.709603e-08
+ 1.060474e-02  2.065345e-02 -2.405172e-01 -2.987643e-01 -2.542623e-08 -3.205605e-08
+ 1.060474e-02  2.075064e-02 -2.405959e-01 -2.986039e-01  2.497963e-08  1.093818e-09
+ 1.060474e-02  2.084738e-02 -2.406670e-01 -2.984386e-01  6.578477e-08 -1.506347e-09
+ 1.060474e-02  2.094367e-02 -2.407299e-01 -2.982680e-01  1.249221e-07  1.257816e-10
+ 1.060474e-02  2.103951e-02 -2.407831e-01 -2.980915e-01  1.262598e-07 -2.069372e-09
+ 1.060474e-02  2.113493e-02 -2.408285e-01 -2.979052e-01 -5.266777e-07  4.515623e-07
+ 1.060474e-02  2.122991e-02 -2.408563e-01 -2.977162e-01 -8.961687e-08 -3.048225e-07
+ 1.060474e-02  2.132447e-02 -2.408703e-01 -2.975171e-01  8.560062e-08 -5.391106e-08
+ 1.060474e-02  2.141862e-02 -2.408657e-01 -2.973076e-01 -5.236593e-08 -1.080986e-09
+ 1.060474e-02  2.151235e-02 -2.408371e-01 -2.970856e-01 -2.487473e-07 -3.795864e-09
+ 1.060474e-02  2.160567e-02 -2.407768e-01 -2.968471e-01  9.373467e-07 -1.346929e-08
+ 1.060474e-02  2.169860e-02 -2.406872e-01 -2.965869e-01 -1.020541e-05  1.893589e-07
+ 1.060474e-02  2.179112e-02 -2.405274e-01 -2.962924e-01 -1.351559e-06  1.780709e-07
+ 1.060474e-02  2.188326e-02 -2.402620e-01 -2.959259e-01  6.030994e-07  2.376031e-06
+ 1.060474e-02  2.197501e-02 -2.398071e-01 -2.953429e-01  3.277320e-07  1.053075e-06
+ 1.060474e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.060474e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.398074e-01  2.953440e-01
+ 1.079243e-02  1.000000e-06 -2.207570e-01 -3.068653e-01 -3.055145e-09  5.930985e-09
+ 1.079243e-02  2.006944e-03 -2.208839e-01 -3.067918e-01  1.760485e-08  1.658704e-08
+ 1.079243e-02  2.837833e-03 -2.210137e-01 -3.067200e-01  3.440878e-08  7.695119e-09
+ 1.079243e-02  3.475396e-03 -2.211463e-01 -3.066498e-01  7.488232e-09  1.232494e-08
+ 1.079243e-02  4.012887e-03 -2.212817e-01 -3.065811e-01  2.917069e-07  3.468636e-08
+ 1.079243e-02  4.486426e-03 -2.214205e-01 -3.065139e-01 -2.449651e-08  3.361785e-08
+ 1.079243e-02  4.914538e-03 -2.215619e-01 -3.064481e-01  4.483690e-07 -4.261171e-08
+ 1.079243e-02  5.308228e-03 -2.217073e-01 -3.063839e-01 -9.120943e-07 -1.010453e-07
+ 1.079243e-02  5.674665e-03 -2.218600e-01 -3.063219e-01 -7.211608e-07 -7.817415e-08
+ 1.079243e-02  6.018831e-03 -2.220170e-01 -3.062626e-01  2.318798e-06  6.332791e-07
+ 1.079243e-02  6.344350e-03 -2.222466e-01 -3.062313e-01 -8.339409e-05 -3.196890e-05
+ 1.079243e-02  6.653962e-03 -2.222034e-01 -3.060944e-01  6.699230e-05  2.614359e-05
+ 1.079243e-02  6.949792e-03 -2.224310e-01 -3.060614e-01 -2.689755e-07 -4.844394e-08
+ 1.079243e-02  7.233532e-03 -2.225994e-01 -3.060063e-01  3.613587e-06  2.869360e-08
+ 1.079243e-02  7.506553e-03 -2.227682e-01 -3.059505e-01  1.102339e-07 -8.652131e-08
+ 1.079243e-02  7.769986e-03 -2.229354e-01 -3.058934e-01  1.468345e-07 -1.159540e-06
+ 1.079243e-02  8.024774e-03 -2.231049e-01 -3.058364e-01 -1.845468e-07  5.306607e-07
+ 1.079243e-02  8.271717e-03 -2.232763e-01 -3.057811e-01  1.322885e-08 -2.171631e-07
+ 1.079243e-02  8.511498e-03 -2.234505e-01 -3.057253e-01 -3.017081e-07  6.279375e-07
+ 1.079243e-02  8.744705e-03 -2.236274e-01 -3.056695e-01 -3.624915e-08  3.920855e-08
+ 1.079243e-02  8.971852e-03 -2.238061e-01 -3.056158e-01 -6.342371e-07  1.173059e-06
+ 1.079243e-02  9.193388e-03 -2.239873e-01 -3.055624e-01  3.364497e-07 -6.043413e-07
+ 1.079243e-02  9.409709e-03 -2.241715e-01 -3.055084e-01  4.966361e-08 -1.121539e-07
+ 1.079243e-02  9.621167e-03 -2.243580e-01 -3.054550e-01  5.050477e-08 -9.614321e-08
+ 1.079243e-02  9.828076e-03 -2.245470e-01 -3.054019e-01 -2.085927e-08  3.888991e-09
+ 1.079243e-02  1.003072e-02 -2.247385e-01 -3.053490e-01 -8.370358e-09  4.811353e-09
+ 1.079243e-02  1.022935e-02 -2.249323e-01 -3.052964e-01  1.645302e-08 -2.849977e-08
+ 1.079243e-02  1.042419e-02 -2.251285e-01 -3.052439e-01  1.821907e-08 -1.689452e-08
+ 1.079243e-02  1.061546e-02 -2.253270e-01 -3.051916e-01  1.609572e-08 -2.693062e-08
+ 1.079243e-02  1.080334e-02 -2.255278e-01 -3.051394e-01 -2.757900e-09 -8.079808e-09
+ 1.079243e-02  1.098801e-02 -2.257308e-01 -3.050872e-01 -2.135065e-09 -3.780538e-09
+ 1.079243e-02  1.116962e-02 -2.259359e-01 -3.050350e-01 -2.162075e-09  3.020082e-09
+ 1.079243e-02  1.134833e-02 -2.261432e-01 -3.049829e-01  5.962950e-09 -4.237302e-09
+ 1.079243e-02  1.152427e-02 -2.263526e-01 -3.049306e-01  8.282109e-09 -3.109422e-08
+ 1.079243e-02  1.169756e-02 -2.265639e-01 -3.048783e-01  6.330886e-09 -1.238015e-08
+ 1.079243e-02  1.186832e-02 -2.267772e-01 -3.048259e-01 -3.549900e-09 -3.260159e-09
+ 1.079243e-02  1.203666e-02 -2.269923e-01 -3.047734e-01  4.756109e-10 -1.149262e-08
+ 1.079243e-02  1.220268e-02 -2.272093e-01 -3.047206e-01  2.820234e-09  5.267212e-09
+ 1.079243e-02  1.236647e-02 -2.274279e-01 -3.046677e-01 -2.634072e-09  6.220665e-09
+ 1.079243e-02  1.252811e-02 -2.276482e-01 -3.046145e-01  1.738035e-09 -1.528619e-09
+ 1.079243e-02  1.268770e-02 -2.278701e-01 -3.045611e-01 -4.371572e-09 -1.460723e-09
+ 1.079243e-02  1.284531e-02 -2.280934e-01 -3.045073e-01  7.197160e-09 -1.893758e-09
+ 1.079243e-02  1.300100e-02 -2.283181e-01 -3.044532e-01 -1.841654e-07 -1.484826e-07
+ 1.079243e-02  1.315485e-02 -2.285442e-01 -3.043989e-01  3.155498e-08 -4.708167e-09
+ 1.079243e-02  1.330692e-02 -2.287715e-01 -3.043441e-01  3.269059e-08 -9.208090e-09
+ 1.079243e-02  1.345728e-02 -2.289999e-01 -3.042889e-01  3.944454e-08 -7.082171e-09
+ 1.079243e-02  1.360597e-02 -2.292293e-01 -3.042333e-01  1.132358e-08 -3.698826e-09
+ 1.079243e-02  1.375306e-02 -2.294597e-01 -3.041772e-01 -2.018272e-09  1.200120e-09
+ 1.079243e-02  1.389858e-02 -2.296909e-01 -3.041206e-01 -2.339041e-08 -1.157654e-09
+ 1.079243e-02  1.404260e-02 -2.299229e-01 -3.040636e-01 -5.850904e-09 -5.805400e-09
+ 1.079243e-02  1.418516e-02 -2.301554e-01 -3.040059e-01  7.203885e-09 -1.996592e-09
+ 1.079243e-02  1.432630e-02 -2.303885e-01 -3.039478e-01  5.017161e-10  3.672478e-10
+ 1.079243e-02  1.446606e-02 -2.306219e-01 -3.038890e-01 -1.034783e-08  1.800284e-09
+ 1.079243e-02  1.460449e-02 -2.308557e-01 -3.038297e-01 -1.522822e-09 -5.590173e-11
+ 1.079243e-02  1.474161e-02 -2.310896e-01 -3.037697e-01  1.165866e-08 -1.697666e-09
+ 1.079243e-02  1.487748e-02 -2.313236e-01 -3.037090e-01 -4.584543e-09 -3.243974e-10
+ 1.079243e-02  1.501211e-02 -2.315575e-01 -3.036477e-01 -6.205773e-09  5.271235e-10
+ 1.079243e-02  1.514554e-02 -2.317912e-01 -3.035856e-01  1.473780e-08 -3.479170e-09
+ 1.079243e-02  1.527781e-02 -2.320245e-01 -3.035228e-01 -1.224108e-07 -4.553587e-08
+ 1.079243e-02  1.540894e-02 -2.322588e-01 -3.034598e-01 -1.036653e-07  3.091964e-09
+ 1.079243e-02  1.553897e-02 -2.324905e-01 -3.033951e-01 -8.458526e-08  1.181983e-08
+ 1.079243e-02  1.566792e-02 -2.327223e-01 -3.033299e-01  1.296312e-08 -2.192708e-09
+ 1.079243e-02  1.579582e-02 -2.329532e-01 -3.032639e-01  2.092314e-08 -1.831872e-10
+ 1.079243e-02  1.592268e-02 -2.331833e-01 -3.031971e-01 -1.502505e-08 -8.542829e-10
+ 1.079243e-02  1.604855e-02 -2.334123e-01 -3.031293e-01  4.921522e-08 -4.533378e-09
+ 1.079243e-02  1.617343e-02 -2.336401e-01 -3.030607e-01 -7.910215e-09 -1.958999e-08
+ 1.079243e-02  1.629736e-02 -2.338666e-01 -3.029909e-01  3.213055e-09  1.536146e-08
+ 1.079243e-02  1.642036e-02 -2.340918e-01 -3.029203e-01 -2.484148e-08 -5.073240e-10
+ 1.079243e-02  1.654243e-02 -2.343154e-01 -3.028486e-01  4.826863e-08  1.345418e-09
+ 1.079243e-02  1.666362e-02 -2.345365e-01 -3.027759e-01 -1.776264e-07 -1.065328e-08
+ 1.079243e-02  1.678393e-02 -2.347568e-01 -3.027020e-01 -5.771381e-08 -4.654726e-09
+ 1.079243e-02  1.690338e-02 -2.349753e-01 -3.026271e-01 -2.997888e-08 -3.871376e-09
+ 1.079243e-02  1.702200e-02 -2.351910e-01 -3.025510e-01 -3.966220e-09  3.769922e-10
+ 1.079243e-02  1.713979e-02 -2.354047e-01 -3.024736e-01  9.199059e-09 -1.623506e-10
+ 1.079243e-02  1.725678e-02 -2.356162e-01 -3.023950e-01 -6.244516e-08  2.533435e-10
+ 1.079243e-02  1.737298e-02 -2.358256e-01 -3.023151e-01 -5.509117e-07  5.994784e-09
+ 1.079243e-02  1.748841e-02 -2.360296e-01 -3.022338e-01  2.299743e-06 -1.847685e-08
+ 1.079243e-02  1.760308e-02 -2.362346e-01 -3.021512e-01  5.462689e-07 -4.802992e-09
+ 1.079243e-02  1.771701e-02 -2.364378e-01 -3.020670e-01 -3.768013e-06  2.007030e-08
+ 1.079243e-02  1.783022e-02 -2.366319e-01 -3.019805e-01  8.938551e-07  5.918784e-09
+ 1.079243e-02  1.794270e-02 -2.368295e-01 -3.018953e-01  6.719651e-08 -2.484872e-07
+ 1.079243e-02  1.805449e-02 -2.370208e-01 -3.018061e-01  1.025381e-07  1.410681e-09
+ 1.079243e-02  1.816559e-02 -2.372092e-01 -3.017157e-01  5.001843e-08  3.253244e-09
+ 1.079243e-02  1.827602e-02 -2.373943e-01 -3.016237e-01  4.070460e-08  1.984117e-09
+ 1.079243e-02  1.838578e-02 -2.375759e-01 -3.015299e-01 -3.611757e-08  3.669310e-08
+ 1.079243e-02  1.849489e-02 -2.377547e-01 -3.014335e-01 -4.380122e-07  4.561144e-07
+ 1.079243e-02  1.860336e-02 -2.379286e-01 -3.013365e-01  1.164059e-07 -9.850019e-08
+ 1.079243e-02  1.871120e-02 -2.380994e-01 -3.012369e-01 -8.497782e-09  1.188081e-08
+ 1.079243e-02  1.881842e-02 -2.382662e-01 -3.011354e-01  2.566412e-08  2.767869e-08
+ 1.079243e-02  1.892503e-02 -2.384292e-01 -3.010316e-01  1.567048e-07 -5.428431e-09
+ 1.079243e-02  1.903105e-02 -2.385883e-01 -3.009257e-01  7.586962e-08 -2.290034e-09
+ 1.079243e-02  1.913648e-02 -2.387433e-01 -3.008176e-01 -1.463641e-07  1.073540e-08
+ 1.079243e-02  1.924133e-02 -2.388942e-01 -3.007071e-01 -3.546778e-07  1.355936e-08
+ 1.079243e-02  1.934562e-02 -2.390407e-01 -3.005942e-01 -3.836602e-07  1.672291e-08
+ 1.079243e-02  1.944934e-02 -2.391825e-01 -3.004788e-01 -3.793701e-07  2.213314e-08
+ 1.079243e-02  1.955252e-02 -2.393188e-01 -3.003612e-01 -3.382596e-07  3.496809e-09
+ 1.079243e-02  1.965515e-02 -2.394398e-01 -3.002440e-01  2.845520e-06 -1.100451e-06
+ 1.079243e-02  1.975725e-02 -2.396098e-01 -3.001084e-01  1.135754e-04 -3.122007e-05
+ 1.079243e-02  1.985883e-02 -2.397260e-01 -2.999847e-01  4.046139e-06 -6.043061e-07
+ 1.079243e-02  1.995989e-02 -2.398427e-01 -2.998564e-01  5.229495e-07 -1.450314e-07
+ 1.079243e-02  2.006044e-02 -2.399580e-01 -2.997239e-01 -1.081359e-08  9.590352e-09
+ 1.079243e-02  2.016048e-02 -2.400694e-01 -2.995877e-01  2.151667e-08  1.342867e-09
+ 1.079243e-02  2.026004e-02 -2.401766e-01 -2.994480e-01  4.192270e-08  3.986483e-09
+ 1.079243e-02  2.035910e-02 -2.402791e-01 -2.993046e-01  1.182758e-07  8.119100e-11
+ 1.079243e-02  2.045769e-02 -2.403769e-01 -2.991573e-01  8.690150e-09 -1.023616e-09
+ 1.079243e-02  2.055580e-02 -2.404696e-01 -2.990061e-01  1.883513e-08 -2.665528e-09
+ 1.079243e-02  2.065345e-02 -2.405569e-01 -2.988506e-01 -3.955031e-09 -3.535876e-09
+ 1.079243e-02  2.075064e-02 -2.406384e-01 -2.986906e-01  3.861641e-07  1.598482e-08
+ 1.079243e-02  2.084738e-02 -2.407138e-01 -2.985258e-01  1.288107e-07  3.130380e-10
+ 1.079243e-02  2.094367e-02 -2.407822e-01 -2.983559e-01  9.882852e-08  1.970414e-08
+ 1.079243e-02  2.103951e-02 -2.408427e-01 -2.981805e-01  3.256362e-09  1.191162e-08
+ 1.079243e-02  2.113493e-02 -2.408931e-01 -2.980004e-01  2.897014e-07 -8.838670e-07
+ 1.079243e-02  2.122991e-02 -2.409374e-01 -2.978077e-01 -1.976802e-08  5.353111e-09
+ 1.079243e-02  2.132447e-02 -2.409659e-01 -2.976116e-01 -3.047188e-08  4.751179e-09
+ 1.079243e-02  2.141862e-02 -2.409797e-01 -2.974053e-01 -3.926477e-08  3.288612e-08
+ 1.079243e-02  2.151235e-02 -2.409748e-01 -2.971875e-01  9.322755e-08 -6.619365e-08
+ 1.079243e-02  2.160567e-02 -2.409456e-01 -2.969554e-01  3.000023e-07 -8.956928e-08
+ 1.079243e-02  2.169860e-02 -2.408842e-01 -2.967029e-01  2.866982e-07 -1.327142e-07
+ 1.079243e-02  2.179112e-02 -2.407646e-01 -2.964203e-01  2.796326e-05  2.292495e-06
+ 1.079243e-02  2.188326e-02 -2.406005e-01 -2.960910e-01  5.760648e-08 -3.748210e-07
+ 1.079243e-02  2.197501e-02 -2.403431e-01 -2.956419e-01  5.181245e-07 -2.375014e-10
+ 1.079243e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.079243e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.403436e-01  2.956419e-01
+ 1.097691e-02  1.000000e-06 -2.213960e-01 -3.070909e-01 -9.731597e-08 -7.916313e-09
+ 1.097691e-02  2.006944e-03 -2.215179e-01 -3.070180e-01 -2.675070e-09 -2.289120e-08
+ 1.097691e-02  2.837833e-03 -2.216429e-01 -3.069468e-01  1.193396e-06  1.318076e-07
+ 1.097691e-02  3.475396e-03 -2.217740e-01 -3.068779e-01 -4.223822e-07  6.148893e-08
+ 1.097691e-02  4.012887e-03 -2.219115e-01 -3.068117e-01 -3.723733e-06 -3.647700e-07
+ 1.097691e-02  4.486426e-03 -2.220729e-01 -3.067556e-01 -1.445661e-05 -5.497689e-06
+ 1.097691e-02  4.914538e-03 -2.222627e-01 -3.067105e-01 -7.397364e-05 -2.745922e-05
+ 1.097691e-02  5.308228e-03 -2.221901e-01 -3.065672e-01  6.626256e-05  2.482983e-05
+ 1.097691e-02  5.674665e-03 -2.223815e-01 -3.065215e-01  4.677409e-06  1.435505e-06
+ 1.097691e-02  6.018831e-03 -2.225468e-01 -3.064676e-01  3.370456e-06  3.388523e-07
+ 1.097691e-02  6.344350e-03 -2.227012e-01 -3.064083e-01 -1.398421e-06 -1.356572e-07
+ 1.097691e-02  6.653962e-03 -2.228537e-01 -3.063486e-01 -5.911972e-07 -2.042942e-08
+ 1.097691e-02  6.949792e-03 -2.230062e-01 -3.062891e-01 -5.066273e-08  5.968334e-08
+ 1.097691e-02  7.233532e-03 -2.231616e-01 -3.062300e-01 -1.510687e-07  3.315122e-07
+ 1.097691e-02  7.506553e-03 -2.233188e-01 -3.061721e-01  2.360672e-07 -7.081503e-07
+ 1.097691e-02  7.769986e-03 -2.234786e-01 -3.061151e-01 -1.478096e-08 -2.754788e-09
+ 1.097691e-02  8.024774e-03 -2.236412e-01 -3.060573e-01  3.559377e-07 -9.177985e-07
+ 1.097691e-02  8.271717e-03 -2.238065e-01 -3.060002e-01 -1.659551e-07  3.742453e-07
+ 1.097691e-02  8.511498e-03 -2.239738e-01 -3.059447e-01  1.742601e-07 -4.024710e-07
+ 1.097691e-02  8.744705e-03 -2.241442e-01 -3.058885e-01 -5.193683e-07  1.085610e-06
+ 1.097691e-02  8.971852e-03 -2.243173e-01 -3.058324e-01 -3.743376e-09  2.222615e-09
+ 1.097691e-02  9.193388e-03 -2.244920e-01 -3.057785e-01 -5.163674e-07  9.368772e-07
+ 1.097691e-02  9.409709e-03 -2.246694e-01 -3.057247e-01  2.755023e-07 -4.762879e-07
+ 1.097691e-02  9.621167e-03 -2.248498e-01 -3.056702e-01  5.422635e-08 -1.104117e-07
+ 1.097691e-02  9.828076e-03 -2.250324e-01 -3.056162e-01  7.649751e-08 -1.239083e-07
+ 1.097691e-02  1.003072e-02 -2.252175e-01 -3.055625e-01 -9.931078e-10 -7.848217e-09
+ 1.097691e-02  1.022935e-02 -2.254050e-01 -3.055089e-01 -5.648867e-09  3.430184e-09
+ 1.097691e-02  1.042419e-02 -2.255948e-01 -3.054556e-01  2.162841e-08 -2.220267e-08
+ 1.097691e-02  1.061546e-02 -2.257869e-01 -3.054022e-01  1.055790e-08 -1.841485e-08
+ 1.097691e-02  1.080334e-02 -2.259812e-01 -3.053490e-01  1.974841e-08 -2.659398e-08
+ 1.097691e-02  1.098801e-02 -2.261778e-01 -3.052958e-01  6.899091e-09 -1.025546e-08
+ 1.097691e-02  1.116962e-02 -2.263765e-01 -3.052425e-01  8.429184e-10 -2.137978e-09
+ 1.097691e-02  1.134833e-02 -2.265772e-01 -3.051892e-01  7.930860e-09 -7.428680e-09
+ 1.097691e-02  1.152427e-02 -2.267801e-01 -3.051359e-01 -5.574419e-09  8.427386e-09
+ 1.097691e-02  1.169756e-02 -2.269849e-01 -3.050824e-01  4.133215e-09  1.055945e-08
+ 1.097691e-02  1.186832e-02 -2.271916e-01 -3.050287e-01  4.496788e-09 -1.016592e-08
+ 1.097691e-02  1.203666e-02 -2.274002e-01 -3.049749e-01  1.799278e-09  2.383855e-09
+ 1.097691e-02  1.220268e-02 -2.276105e-01 -3.049209e-01  8.872024e-09 -3.336309e-09
+ 1.097691e-02  1.236647e-02 -2.278225e-01 -3.048667e-01  1.475294e-09 -6.616997e-09
+ 1.097691e-02  1.252811e-02 -2.280362e-01 -3.048121e-01  8.688433e-09  1.045308e-09
+ 1.097691e-02  1.268770e-02 -2.282514e-01 -3.047573e-01 -2.349179e-09  1.882710e-09
+ 1.097691e-02  1.284531e-02 -2.284681e-01 -3.047021e-01 -1.251926e-09  6.234625e-09
+ 1.097691e-02  1.300100e-02 -2.286862e-01 -3.046467e-01  1.169473e-08 -3.745533e-08
+ 1.097691e-02  1.315485e-02 -2.289055e-01 -3.045908e-01  6.397061e-09 -2.509453e-08
+ 1.097691e-02  1.330692e-02 -2.291261e-01 -3.045345e-01  4.330073e-09  9.731617e-10
+ 1.097691e-02  1.345728e-02 -2.293478e-01 -3.044777e-01  3.137828e-09 -1.770614e-08
+ 1.097691e-02  1.360597e-02 -2.295705e-01 -3.044205e-01  4.440083e-09  1.359779e-08
+ 1.097691e-02  1.375306e-02 -2.297942e-01 -3.043629e-01 -5.010902e-09  5.848450e-09
+ 1.097691e-02  1.389858e-02 -2.300186e-01 -3.043047e-01  2.169965e-08  1.188291e-09
+ 1.097691e-02  1.404260e-02 -2.302438e-01 -3.042459e-01 -2.173592e-09 -1.685947e-09
+ 1.097691e-02  1.418516e-02 -2.304696e-01 -3.041867e-01  1.537009e-08  1.332113e-09
+ 1.097691e-02  1.432630e-02 -2.306959e-01 -3.041268e-01 -3.729533e-09  1.058470e-09
+ 1.097691e-02  1.446606e-02 -2.309227e-01 -3.040663e-01  8.963852e-09 -9.107278e-10
+ 1.097691e-02  1.460449e-02 -2.311497e-01 -3.040052e-01 -2.311798e-09 -7.759407e-10
+ 1.097691e-02  1.474161e-02 -2.313769e-01 -3.039434e-01  1.434655e-09  1.886170e-09
+ 1.097691e-02  1.487748e-02 -2.316041e-01 -3.038809e-01 -1.344804e-08  1.303371e-09
+ 1.097691e-02  1.501211e-02 -2.318312e-01 -3.038177e-01 -4.980978e-08  2.735646e-09
+ 1.097691e-02  1.514554e-02 -2.320575e-01 -3.037534e-01 -3.484452e-06 -1.566021e-06
+ 1.097691e-02  1.527781e-02 -2.322856e-01 -3.036894e-01  1.815682e-08  1.609967e-09
+ 1.097691e-02  1.540894e-02 -2.325118e-01 -3.036239e-01 -5.275720e-09 -1.829086e-09
+ 1.097691e-02  1.553897e-02 -2.327375e-01 -3.035576e-01  1.071030e-07 -9.463060e-09
+ 1.097691e-02  1.566792e-02 -2.329627e-01 -3.034905e-01  9.101040e-08 -4.212230e-09
+ 1.097691e-02  1.579582e-02 -2.331871e-01 -3.034225e-01 -3.485436e-08  2.467191e-09
+ 1.097691e-02  1.592268e-02 -2.334106e-01 -3.033537e-01  4.545495e-08 -1.232558e-09
+ 1.097691e-02  1.604855e-02 -2.336331e-01 -3.032839e-01 -2.581098e-08  2.247831e-09
+ 1.097691e-02  1.617343e-02 -2.338544e-01 -3.032132e-01  3.791738e-08  4.849325e-09
+ 1.097691e-02  1.629736e-02 -2.340744e-01 -3.031414e-01 -2.616678e-08  2.389516e-08
+ 1.097691e-02  1.642036e-02 -2.342931e-01 -3.030688e-01  8.818580e-09 -5.971749e-10
+ 1.097691e-02  1.654243e-02 -2.345099e-01 -3.029951e-01 -8.552923e-08  1.533498e-08
+ 1.097691e-02  1.666362e-02 -2.347258e-01 -3.029203e-01 -1.656665e-07 -1.548478e-08
+ 1.097691e-02  1.678393e-02 -2.349397e-01 -3.028444e-01 -7.285502e-07 -4.505221e-08
+ 1.097691e-02  1.690338e-02 -2.351506e-01 -3.027673e-01  4.589304e-07  2.456328e-08
+ 1.097691e-02  1.702200e-02 -2.353606e-01 -3.026891e-01  1.094056e-07  4.987550e-09
+ 1.097691e-02  1.713979e-02 -2.355681e-01 -3.026097e-01  4.559189e-09  9.097423e-10
+ 1.097691e-02  1.725678e-02 -2.357734e-01 -3.025290e-01 -9.283308e-08 -2.823911e-09
+ 1.097691e-02  1.737298e-02 -2.359767e-01 -3.024470e-01 -9.217679e-07  9.005782e-09
+ 1.097691e-02  1.748841e-02 -2.361745e-01 -3.023636e-01  3.830379e-06 -2.687848e-08
+ 1.097691e-02  1.760308e-02 -2.363741e-01 -3.022788e-01  9.263894e-08  4.759280e-10
+ 1.097691e-02  1.771701e-02 -2.365710e-01 -3.021925e-01 -4.301737e-06  9.307829e-09
+ 1.097691e-02  1.783022e-02 -2.367622e-01 -3.021063e-01  7.823516e-06  5.367759e-06
+ 1.097691e-02  1.794270e-02 -2.369510e-01 -3.020166e-01  2.017088e-07 -1.541960e-09
+ 1.097691e-02  1.805449e-02 -2.371369e-01 -3.019257e-01  3.206006e-08 -2.118386e-09
+ 1.097691e-02  1.816559e-02 -2.373197e-01 -3.018333e-01  4.800603e-08  4.335145e-10
+ 1.097691e-02  1.827602e-02 -2.374993e-01 -3.017392e-01 -4.100154e-10 -1.974210e-09
+ 1.097691e-02  1.838578e-02 -2.376756e-01 -3.016434e-01  7.970435e-08 -1.690555e-08
+ 1.097691e-02  1.849489e-02 -2.378478e-01 -3.015465e-01  4.143160e-07 -5.013830e-07
+ 1.097691e-02  1.860336e-02 -2.380180e-01 -3.014461e-01 -2.733500e-07  2.196909e-08
+ 1.097691e-02  1.871120e-02 -2.381837e-01 -3.013447e-01 -1.045268e-08 -8.865750e-10
+ 1.097691e-02  1.881842e-02 -2.383457e-01 -3.012413e-01 -1.266018e-07  9.438969e-09
+ 1.097691e-02  1.892503e-02 -2.385038e-01 -3.011358e-01 -4.207310e-07  4.868329e-08
+ 1.097691e-02  1.903105e-02 -2.386582e-01 -3.010282e-01 -1.439044e-07  6.290030e-09
+ 1.097691e-02  1.913648e-02 -2.388086e-01 -3.009183e-01  1.748261e-07 -1.987829e-09
+ 1.097691e-02  1.924133e-02 -2.389551e-01 -3.008062e-01  2.076719e-07 -1.067052e-08
+ 1.097691e-02  1.934562e-02 -2.390976e-01 -3.006917e-01  2.440514e-07 -1.270457e-08
+ 1.097691e-02  1.944934e-02 -2.392358e-01 -3.005748e-01  3.299914e-07 -8.643530e-09
+ 1.097691e-02  1.955252e-02 -2.393697e-01 -3.004555e-01  2.198039e-07 -6.912543e-09
+ 1.097691e-02  1.965515e-02 -2.394985e-01 -3.003339e-01 -8.365046e-08  1.382625e-08
+ 1.097691e-02  1.975725e-02 -2.396187e-01 -3.002110e-01 -7.171986e-07  1.053299e-07
+ 1.097691e-02  1.985883e-02 -2.397515e-01 -3.000780e-01 -5.814005e-06  1.835168e-06
+ 1.097691e-02  1.995989e-02 -2.398893e-01 -2.999431e-01  9.646487e-07 -3.864425e-07
+ 1.097691e-02  2.006044e-02 -2.399971e-01 -2.998112e-01 -4.782848e-07  9.646490e-09
+ 1.097691e-02  2.016048e-02 -2.401047e-01 -2.996749e-01 -1.644319e-07  7.450068e-09
+ 1.097691e-02  2.026004e-02 -2.402098e-01 -2.995348e-01  3.118318e-07 -1.531023e-08
+ 1.097691e-02  2.035910e-02 -2.403114e-01 -2.993910e-01  2.419246e-07  3.991955e-08
+ 1.097691e-02  2.045769e-02 -2.404090e-01 -2.992436e-01 -6.452768e-08 -1.955778e-08
+ 1.097691e-02  2.055580e-02 -2.405022e-01 -2.990923e-01 -1.085554e-07 -2.322344e-08
+ 1.097691e-02  2.065345e-02 -2.405909e-01 -2.989369e-01 -6.850075e-08 -1.408115e-08
+ 1.097691e-02  2.075064e-02 -2.406747e-01 -2.987777e-01  1.723386e-07 -3.393045e-07
+ 1.097691e-02  2.084738e-02 -2.407538e-01 -2.986131e-01 -2.910051e-08 -1.462142e-08
+ 1.097691e-02  2.094367e-02 -2.408270e-01 -2.984441e-01  9.622688e-08  1.451646e-08
+ 1.097691e-02  2.103951e-02 -2.408940e-01 -2.982699e-01 -1.733372e-08 -8.371047e-08
+ 1.097691e-02  2.113493e-02 -2.409536e-01 -2.980900e-01 -7.988521e-09  1.004397e-07
+ 1.097691e-02  2.122991e-02 -2.410089e-01 -2.978975e-01  2.062384e-05 -2.228528e-05
+ 1.097691e-02  2.132447e-02 -2.410499e-01 -2.977063e-01  1.075181e-08  1.531940e-08
+ 1.097691e-02  2.141862e-02 -2.410800e-01 -2.975038e-01  1.813875e-07 -5.140036e-08
+ 1.097691e-02  2.151235e-02 -2.410962e-01 -2.972903e-01 -2.109454e-08 -5.202954e-09
+ 1.097691e-02  2.160567e-02 -2.410943e-01 -2.970637e-01 -4.247040e-08 -7.197543e-09
+ 1.097691e-02  2.169860e-02 -2.410685e-01 -2.968197e-01 -6.134088e-08 -6.388739e-08
+ 1.097691e-02  2.179112e-02 -2.410101e-01 -2.965517e-01  1.837534e-06  1.538568e-08
+ 1.097691e-02  2.188326e-02 -2.409162e-01 -2.962481e-01  3.091753e-06  7.915975e-06
+ 1.097691e-02  2.197501e-02 -2.407513e-01 -2.958660e-01 -6.625011e-06 -7.978512e-07
+ 1.097691e-02  2.206638e-02 -2.404619e-01 -2.952141e-01 -3.525752e-07 -1.150071e-06
+ 1.097691e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.097691e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.404615e-01  2.952130e-01
+ 1.115834e-02  1.000000e-06 -2.221963e-01 -3.073727e-01  1.471161e-04  5.267987e-05
+ 1.115834e-02  2.006944e-03 -2.222824e-01 -3.072909e-01 -2.528212e-05 -8.828006e-06
+ 1.115834e-02  2.837833e-03 -2.222105e-01 -3.071519e-01  2.899308e-06  9.921835e-07
+ 1.115834e-02  3.475396e-03 -2.221515e-01 -3.070162e-01  1.378392e-04  4.988421e-05
+ 1.115834e-02  4.012887e-03 -2.224439e-01 -3.070083e-01 -2.375806e-07 -6.857346e-08
+ 1.115834e-02  4.486426e-03 -2.225849e-01 -3.069463e-01  4.150775e-06  4.975323e-07
+ 1.115834e-02  4.914538e-03 -2.227230e-01 -3.068827e-01 -1.121262e-06 -1.314461e-07
+ 1.115834e-02  5.308228e-03 -2.228587e-01 -3.068189e-01 -6.334498e-07 -5.532420e-08
+ 1.115834e-02  5.674665e-03 -2.229947e-01 -3.067555e-01 -1.393492e-08  1.390253e-09
+ 1.115834e-02  6.018831e-03 -2.231333e-01 -3.066929e-01  2.412460e-08  2.182167e-08
+ 1.115834e-02  6.344350e-03 -2.232740e-01 -3.066310e-01 -5.755804e-08  2.088918e-09
+ 1.115834e-02  6.653962e-03 -2.234173e-01 -3.065699e-01 -2.046531e-09  5.729360e-09
+ 1.115834e-02  6.949792e-03 -2.235630e-01 -3.065096e-01 -7.560332e-08  1.022430e-08
+ 1.115834e-02  7.233532e-03 -2.237113e-01 -3.064499e-01 -1.231142e-08  5.941426e-08
+ 1.115834e-02  7.506553e-03 -2.238623e-01 -3.063908e-01 -2.209504e-07  5.520548e-07
+ 1.115834e-02  7.769986e-03 -2.240156e-01 -3.063331e-01  3.624038e-07 -1.084530e-06
+ 1.115834e-02  8.024774e-03 -2.241714e-01 -3.062759e-01  1.625574e-08 -9.030184e-08
+ 1.115834e-02  8.271717e-03 -2.243304e-01 -3.062179e-01  2.124074e-07 -5.463039e-07
+ 1.115834e-02  8.511498e-03 -2.244919e-01 -3.061608e-01 -1.079023e-07  2.206180e-07
+ 1.115834e-02  8.744705e-03 -2.246555e-01 -3.061051e-01  2.890063e-07 -6.299833e-07
+ 1.115834e-02  8.971852e-03 -2.248223e-01 -3.060484e-01 -7.215926e-07  1.471642e-06
+ 1.115834e-02  9.193388e-03 -2.249916e-01 -3.059921e-01 -4.805785e-08  8.896206e-08
+ 1.115834e-02  9.409709e-03 -2.251626e-01 -3.059379e-01 -3.403800e-07  6.202453e-07
+ 1.115834e-02  9.621167e-03 -2.253362e-01 -3.058835e-01  1.992200e-07 -3.465834e-07
+ 1.115834e-02  9.828076e-03 -2.255127e-01 -3.058284e-01  5.398728e-08 -9.665722e-08
+ 1.115834e-02  1.003072e-02 -2.256915e-01 -3.057738e-01  9.757665e-08 -1.473836e-07
+ 1.115834e-02  1.022935e-02 -2.258726e-01 -3.057194e-01  5.974721e-09 -1.374542e-08
+ 1.115834e-02  1.042419e-02 -2.260561e-01 -3.056650e-01  2.004883e-09  1.975267e-09
+ 1.115834e-02  1.061546e-02 -2.262418e-01 -3.056107e-01  1.023098e-08 -1.658450e-08
+ 1.115834e-02  1.080334e-02 -2.264298e-01 -3.055564e-01  5.587841e-09 -1.868794e-08
+ 1.115834e-02  1.098801e-02 -2.266199e-01 -3.055022e-01  3.149722e-08 -2.718344e-08
+ 1.115834e-02  1.116962e-02 -2.268122e-01 -3.054479e-01  6.040347e-09 -1.003698e-08
+ 1.115834e-02  1.134833e-02 -2.270066e-01 -3.053935e-01  7.101372e-09 -4.885138e-09
+ 1.115834e-02  1.152427e-02 -2.272029e-01 -3.053390e-01 -9.739259e-10  1.912936e-10
+ 1.115834e-02  1.169756e-02 -2.274013e-01 -3.052843e-01 -1.296978e-09 -1.954509e-09
+ 1.115834e-02  1.186832e-02 -2.276015e-01 -3.052295e-01  1.349712e-08 -5.453477e-09
+ 1.115834e-02  1.203666e-02 -2.278035e-01 -3.051744e-01  4.575809e-09 -6.225069e-09
+ 1.115834e-02  1.220268e-02 -2.280073e-01 -3.051191e-01  1.344637e-08 -8.092729e-09
+ 1.115834e-02  1.236647e-02 -2.282128e-01 -3.050635e-01  2.416799e-09 -8.903393e-09
+ 1.115834e-02  1.252811e-02 -2.284199e-01 -3.050077e-01  1.345640e-09 -3.427355e-09
+ 1.115834e-02  1.268770e-02 -2.286285e-01 -3.049515e-01 -5.328650e-08 -3.351744e-08
+ 1.115834e-02  1.284531e-02 -2.288386e-01 -3.048949e-01 -1.248971e-09 -2.031234e-09
+ 1.115834e-02  1.300100e-02 -2.290500e-01 -3.048380e-01  3.023752e-09  4.022561e-08
+ 1.115834e-02  1.315485e-02 -2.292628e-01 -3.047806e-01 -7.194307e-10  4.246716e-09
+ 1.115834e-02  1.330692e-02 -2.294767e-01 -3.047228e-01  8.668056e-09  6.088216e-09
+ 1.115834e-02  1.345728e-02 -2.296918e-01 -3.046646e-01 -4.301045e-09 -4.860088e-10
+ 1.115834e-02  1.360597e-02 -2.299078e-01 -3.046059e-01  1.018379e-08 -1.073283e-08
+ 1.115834e-02  1.375306e-02 -2.301248e-01 -3.045466e-01  9.662750e-09 -1.409938e-09
+ 1.115834e-02  1.389858e-02 -2.303426e-01 -3.044868e-01 -2.645540e-09  1.196584e-08
+ 1.115834e-02  1.404260e-02 -2.305611e-01 -3.044264e-01  1.303212e-08 -1.636930e-08
+ 1.115834e-02  1.418516e-02 -2.307802e-01 -3.043655e-01  1.445304e-08 -5.542635e-08
+ 1.115834e-02  1.432630e-02 -2.309999e-01 -3.043039e-01  1.243594e-08  7.821979e-09
+ 1.115834e-02  1.446606e-02 -2.312199e-01 -3.042417e-01  3.460650e-08 -2.557494e-08
+ 1.115834e-02  1.460449e-02 -2.314402e-01 -3.041788e-01  7.078090e-09  2.423332e-08
+ 1.115834e-02  1.474161e-02 -2.316607e-01 -3.041152e-01  3.683617e-09 -2.080801e-09
+ 1.115834e-02  1.487748e-02 -2.318806e-01 -3.040507e-01  4.514682e-07  2.080924e-07
+ 1.115834e-02  1.501211e-02 -2.321032e-01 -3.039866e-01 -3.582394e-07 -1.796163e-07
+ 1.115834e-02  1.514554e-02 -2.323228e-01 -3.039205e-01 -1.487654e-08  3.560398e-09
+ 1.115834e-02  1.527781e-02 -2.325429e-01 -3.038539e-01  3.092847e-09 -8.750297e-10
+ 1.115834e-02  1.540894e-02 -2.327626e-01 -3.037866e-01 -4.335591e-09  8.415540e-11
+ 1.115834e-02  1.553897e-02 -2.329818e-01 -3.037184e-01  1.240310e-08  9.851464e-10
+ 1.115834e-02  1.566792e-02 -2.332004e-01 -3.036494e-01 -1.408669e-08 -1.214088e-09
+ 1.115834e-02  1.579582e-02 -2.334182e-01 -3.035795e-01  2.026502e-08 -3.769884e-10
+ 1.115834e-02  1.592268e-02 -2.336352e-01 -3.035087e-01 -6.321665e-09  1.620977e-09
+ 1.115834e-02  1.604855e-02 -2.338512e-01 -3.034370e-01 -9.372461e-09 -4.854793e-10
+ 1.115834e-02  1.617343e-02 -2.340660e-01 -3.033643e-01 -4.371365e-08  8.628178e-10
+ 1.115834e-02  1.629736e-02 -2.342796e-01 -3.032905e-01 -1.072971e-08 -1.671277e-08
+ 1.115834e-02  1.642036e-02 -2.344919e-01 -3.032159e-01  8.892915e-08 -3.331270e-09
+ 1.115834e-02  1.654243e-02 -2.347017e-01 -3.031401e-01  7.046725e-08 -4.402850e-09
+ 1.115834e-02  1.666362e-02 -2.349113e-01 -3.030633e-01  1.643333e-08 -2.347694e-09
+ 1.115834e-02  1.678393e-02 -2.351195e-01 -3.029854e-01  9.040775e-08  8.705187e-09
+ 1.115834e-02  1.690338e-02 -2.353242e-01 -3.029063e-01 -2.180711e-08 -6.632927e-10
+ 1.115834e-02  1.702200e-02 -2.355279e-01 -3.028260e-01  3.279894e-08 -2.251717e-10
+ 1.115834e-02  1.713979e-02 -2.357294e-01 -3.027445e-01 -3.229588e-07 -2.246582e-09
+ 1.115834e-02  1.725678e-02 -2.359283e-01 -3.026617e-01 -2.433456e-07  2.059807e-09
+ 1.115834e-02  1.737298e-02 -2.361254e-01 -3.025777e-01 -9.317934e-07  3.008139e-08
+ 1.115834e-02  1.748841e-02 -2.363171e-01 -3.024923e-01  4.094534e-06 -2.651671e-08
+ 1.115834e-02  1.760308e-02 -2.365111e-01 -3.024053e-01 -5.337598e-07  1.495598e-09
+ 1.115834e-02  1.771701e-02 -2.366995e-01 -3.023154e-01 -2.417713e-06  3.803115e-08
+ 1.115834e-02  1.783022e-02 -2.368873e-01 -3.022290e-01 -3.127294e-08 -4.892165e-07
+ 1.115834e-02  1.794270e-02 -2.370704e-01 -3.021371e-01 -7.657052e-09 -1.918187e-09
+ 1.115834e-02  1.805449e-02 -2.372507e-01 -3.020443e-01  2.118777e-08  6.207324e-11
+ 1.115834e-02  1.816559e-02 -2.374281e-01 -3.019499e-01 -1.559379e-07  1.042793e-08
+ 1.115834e-02  1.827602e-02 -2.376022e-01 -3.018538e-01 -7.699236e-08  6.330169e-09
+ 1.115834e-02  1.838578e-02 -2.377728e-01 -3.017561e-01 -1.358378e-07 -4.119295e-09
+ 1.115834e-02  1.849489e-02 -2.379402e-01 -3.016566e-01  8.181128e-08  6.608936e-08
+ 1.115834e-02  1.860336e-02 -2.381053e-01 -3.015541e-01 -8.356832e-07  8.875862e-07
+ 1.115834e-02  1.871120e-02 -2.382650e-01 -3.014517e-01  2.022210e-07 -1.222670e-07
+ 1.115834e-02  1.881842e-02 -2.384221e-01 -3.013465e-01 -1.020910e-07  2.047420e-08
+ 1.115834e-02  1.892503e-02 -2.385755e-01 -3.012392e-01 -2.083809e-07  1.590720e-08
+ 1.115834e-02  1.903105e-02 -2.387252e-01 -3.011298e-01 -3.031575e-08 -4.022498e-08
+ 1.115834e-02  1.913648e-02 -2.388710e-01 -3.010183e-01 -3.576954e-08  5.603135e-09
+ 1.115834e-02  1.924133e-02 -2.390132e-01 -3.009046e-01  1.663093e-08 -2.248035e-11
+ 1.115834e-02  1.934562e-02 -2.391515e-01 -3.007885e-01  3.230732e-09  9.408677e-10
+ 1.115834e-02  1.944934e-02 -2.392859e-01 -3.006701e-01 -3.885890e-08  7.185426e-09
+ 1.115834e-02  1.955252e-02 -2.394163e-01 -3.005494e-01 -2.999199e-07  1.177056e-08
+ 1.115834e-02  1.965515e-02 -2.395424e-01 -3.004262e-01 -2.864765e-07  1.578012e-08
+ 1.115834e-02  1.975725e-02 -2.396634e-01 -3.003009e-01 -5.003296e-08  2.061943e-08
+ 1.115834e-02  1.985883e-02 -2.397769e-01 -3.001740e-01 -2.305282e-06  1.526352e-06
+ 1.115834e-02  1.995989e-02 -2.398891e-01 -3.000414e-01 -9.796132e-05  3.913141e-05
+ 1.115834e-02  2.006044e-02 -2.400365e-01 -2.998948e-01  3.257160e-06 -8.709484e-07
+ 1.115834e-02  2.016048e-02 -2.401374e-01 -2.997603e-01 -7.095906e-07 -3.659146e-08
+ 1.115834e-02  2.026004e-02 -2.402395e-01 -2.996204e-01 -1.107850e-07  2.721097e-08
+ 1.115834e-02  2.035910e-02 -2.403388e-01 -2.994766e-01 -6.109122e-08  6.685583e-09
+ 1.115834e-02  2.045769e-02 -2.404353e-01 -2.993291e-01  7.425105e-08 -1.214585e-09
+ 1.115834e-02  2.055580e-02 -2.405287e-01 -2.991778e-01 -4.544481e-09  7.317282e-10
+ 1.115834e-02  2.065345e-02 -2.406182e-01 -2.990227e-01  7.034190e-08 -1.022202e-08
+ 1.115834e-02  2.075064e-02 -2.407040e-01 -2.988635e-01  1.175309e-07  4.746594e-09
+ 1.115834e-02  2.084738e-02 -2.407859e-01 -2.986999e-01  1.712663e-07 -1.738477e-08
+ 1.115834e-02  2.094367e-02 -2.408634e-01 -2.985319e-01 -4.146382e-07 -2.613093e-08
+ 1.115834e-02  2.103951e-02 -2.409357e-01 -2.983589e-01 -3.209051e-09 -1.035969e-10
+ 1.115834e-02  2.113493e-02 -2.410027e-01 -2.981807e-01 -1.290114e-08 -6.644534e-09
+ 1.115834e-02  2.122991e-02 -2.410624e-01 -2.979978e-01  1.259213e-07 -1.505934e-08
+ 1.115834e-02  2.132447e-02 -2.411223e-01 -2.977992e-01  1.212520e-06 -1.009875e-06
+ 1.115834e-02  2.141862e-02 -2.411658e-01 -2.976019e-01  9.661678e-08  6.951800e-09
+ 1.115834e-02  2.151235e-02 -2.412004e-01 -2.973933e-01  3.730875e-08  1.788140e-08
+ 1.115834e-02  2.160567e-02 -2.412220e-01 -2.971725e-01  2.991808e-08  3.020454e-08
+ 1.115834e-02  2.169860e-02 -2.412267e-01 -2.969368e-01  1.505631e-07  4.364793e-09
+ 1.115834e-02  2.179112e-02 -2.412093e-01 -2.966807e-01  7.713116e-07 -7.666548e-08
+ 1.115834e-02  2.188326e-02 -2.411746e-01 -2.963945e-01 -1.754796e-05 -1.086092e-06
+ 1.115834e-02  2.197501e-02 -2.410747e-01 -2.960555e-01 -4.567924e-06 -3.751040e-07
+ 1.115834e-02  2.206638e-02 -2.409262e-01 -2.955950e-01  1.581950e-07  5.955354e-08
+ 1.115834e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.115834e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.409264e-01  2.955951e-01
+ 1.133687e-02  1.000000e-06 -2.225985e-01 -3.075157e-01  3.756081e-06  4.016926e-07
+ 1.133687e-02  2.006944e-03 -2.227177e-01 -3.074456e-01 -1.244831e-06 -1.578743e-07
+ 1.133687e-02  2.837833e-03 -2.228347e-01 -3.073757e-01 -2.903321e-07 -5.029722e-08
+ 1.133687e-02  3.475396e-03 -2.229517e-01 -3.073064e-01 -1.323205e-07 -6.346664e-09
+ 1.133687e-02  4.012887e-03 -2.230710e-01 -3.072383e-01 -6.997140e-08 -6.246114e-08
+ 1.133687e-02  4.486426e-03 -2.231925e-01 -3.071711e-01 -1.789978e-07 -3.022640e-08
+ 1.133687e-02  4.914538e-03 -2.233162e-01 -3.071049e-01  9.297782e-11  1.140054e-10
+ 1.133687e-02  5.308228e-03 -2.234425e-01 -3.070398e-01  1.373380e-08  5.015912e-09
+ 1.133687e-02  5.674665e-03 -2.235713e-01 -3.069756e-01 -6.223655e-08 -6.434329e-09
+ 1.133687e-02  6.018831e-03 -2.237027e-01 -3.069123e-01 -6.769868e-09 -4.896178e-10
+ 1.133687e-02  6.344350e-03 -2.238368e-01 -3.068499e-01 -3.151806e-08  1.672390e-08
+ 1.133687e-02  6.653962e-03 -2.239734e-01 -3.067883e-01  1.757736e-09  1.936240e-08
+ 1.133687e-02  6.949792e-03 -2.241128e-01 -3.067274e-01 -4.958913e-09  3.101473e-08
+ 1.133687e-02  7.233532e-03 -2.242548e-01 -3.066673e-01 -2.856655e-09 -1.004240e-08
+ 1.133687e-02  7.506553e-03 -2.243995e-01 -3.066077e-01 -9.995223e-09  3.430497e-08
+ 1.133687e-02  7.769986e-03 -2.245468e-01 -3.065487e-01 -2.486714e-07  7.218400e-07
+ 1.133687e-02  8.024774e-03 -2.246964e-01 -3.064911e-01  4.631695e-07 -1.306334e-06
+ 1.133687e-02  8.271717e-03 -2.248488e-01 -3.064338e-01  1.210106e-07 -3.498471e-07
+ 1.133687e-02  8.511498e-03 -2.250042e-01 -3.063755e-01  4.200402e-08 -1.085524e-07
+ 1.133687e-02  8.744705e-03 -2.251620e-01 -3.063183e-01 -4.725751e-08  1.043042e-07
+ 1.133687e-02  8.971852e-03 -2.253220e-01 -3.062623e-01  3.914616e-07 -8.472031e-07
+ 1.133687e-02  9.193388e-03 -2.254852e-01 -3.062050e-01 -8.716513e-07  1.754814e-06
+ 1.133687e-02  9.409709e-03 -2.256508e-01 -3.061484e-01 -1.487230e-07  2.939534e-07
+ 1.133687e-02  9.621167e-03 -2.258179e-01 -3.060938e-01 -1.441997e-07  2.492915e-07
+ 1.133687e-02  9.828076e-03 -2.259877e-01 -3.060387e-01  1.326143e-07 -2.270951e-07
+ 1.133687e-02  1.003072e-02 -2.261605e-01 -3.059828e-01  7.254361e-08 -6.575426e-08
+ 1.133687e-02  1.022935e-02 -2.263353e-01 -3.059275e-01  1.058256e-07 -1.650711e-07
+ 1.133687e-02  1.042419e-02 -2.265124e-01 -3.058722e-01  1.689916e-08 -2.423109e-08
+ 1.133687e-02  1.061546e-02 -2.266919e-01 -3.058169e-01  2.845407e-09 -2.520238e-09
+ 1.133687e-02  1.080334e-02 -2.268735e-01 -3.057617e-01  5.853182e-09 -9.133479e-09
+ 1.133687e-02  1.098801e-02 -2.270573e-01 -3.057064e-01  1.639323e-08 -1.192200e-08
+ 1.133687e-02  1.116962e-02 -2.272432e-01 -3.056510e-01  2.122922e-08 -2.865394e-08
+ 1.133687e-02  1.134833e-02 -2.274312e-01 -3.055955e-01  8.488683e-09 -1.373103e-08
+ 1.133687e-02  1.152427e-02 -2.276211e-01 -3.055398e-01  1.340967e-08 -9.059661e-09
+ 1.133687e-02  1.169756e-02 -2.278130e-01 -3.054840e-01 -4.926021e-10 -1.074192e-09
+ 1.133687e-02  1.186832e-02 -2.280068e-01 -3.054280e-01  6.065380e-09  1.069220e-09
+ 1.133687e-02  1.203666e-02 -2.282024e-01 -3.053717e-01  2.818293e-09 -3.831870e-09
+ 1.133687e-02  1.220268e-02 -2.283997e-01 -3.053151e-01  2.861774e-09 -4.059583e-09
+ 1.133687e-02  1.236647e-02 -2.285987e-01 -3.052583e-01  1.559587e-08 -7.259548e-09
+ 1.133687e-02  1.252811e-02 -2.287994e-01 -3.052012e-01 -5.733474e-08 -4.056854e-08
+ 1.133687e-02  1.268770e-02 -2.290013e-01 -3.051435e-01  2.661039e-08  1.051110e-08
+ 1.133687e-02  1.284531e-02 -2.292049e-01 -3.050856e-01 -1.081293e-09 -2.614755e-09
+ 1.133687e-02  1.300100e-02 -2.294098e-01 -3.050272e-01  6.775731e-10 -3.069854e-09
+ 1.133687e-02  1.315485e-02 -2.296160e-01 -3.049684e-01  8.739957e-10  1.744942e-10
+ 1.133687e-02  1.330692e-02 -2.298233e-01 -3.049091e-01  4.010733e-09  3.107181e-11
+ 1.133687e-02  1.345728e-02 -2.300318e-01 -3.048494e-01  4.821826e-09 -4.859399e-09
+ 1.133687e-02  1.360597e-02 -2.302412e-01 -3.047891e-01  4.657439e-09 -6.967412e-09
+ 1.133687e-02  1.375306e-02 -2.304516e-01 -3.047283e-01  1.349339e-08 -2.522420e-09
+ 1.133687e-02  1.389858e-02 -2.306628e-01 -3.046669e-01  2.095170e-09 -9.950037e-09
+ 1.133687e-02  1.404260e-02 -2.308747e-01 -3.046049e-01 -1.017874e-08  5.564252e-08
+ 1.133687e-02  1.418516e-02 -2.310872e-01 -3.045423e-01  5.853992e-09 -9.586294e-09
+ 1.133687e-02  1.432630e-02 -2.313002e-01 -3.044791e-01 -5.209861e-09  2.046735e-08
+ 1.133687e-02  1.446606e-02 -2.315135e-01 -3.044151e-01  2.001290e-08 -1.895387e-08
+ 1.133687e-02  1.460449e-02 -2.317270e-01 -3.043504e-01 -4.257134e-09 -6.309696e-09
+ 1.133687e-02  1.474161e-02 -2.319438e-01 -3.042864e-01  3.935471e-07  1.956223e-07
+ 1.133687e-02  1.487748e-02 -2.321560e-01 -3.042196e-01  4.474608e-08 -4.994240e-08
+ 1.133687e-02  1.501211e-02 -2.323698e-01 -3.041528e-01  2.455099e-08 -2.064816e-08
+ 1.133687e-02  1.514554e-02 -2.325835e-01 -3.040851e-01  1.252822e-08 -2.142803e-08
+ 1.133687e-02  1.527781e-02 -2.327971e-01 -3.040168e-01 -3.706138e-08  2.272204e-08
+ 1.133687e-02  1.540894e-02 -2.330103e-01 -3.039476e-01 -4.776948e-08 -9.730651e-09
+ 1.133687e-02  1.553897e-02 -2.332230e-01 -3.038776e-01 -6.873383e-08 -1.412561e-08
+ 1.133687e-02  1.566792e-02 -2.334350e-01 -3.038067e-01 -3.990430e-08 -3.906466e-09
+ 1.133687e-02  1.579582e-02 -2.336464e-01 -3.037349e-01 -4.736281e-08 -9.622381e-09
+ 1.133687e-02  1.592268e-02 -2.338569e-01 -3.036622e-01 -3.432243e-08 -1.153877e-08
+ 1.133687e-02  1.604855e-02 -2.340664e-01 -3.035885e-01 -8.707218e-08 -1.308478e-08
+ 1.133687e-02  1.617343e-02 -2.342747e-01 -3.035139e-01 -1.246486e-07 -2.345225e-08
+ 1.133687e-02  1.629736e-02 -2.344819e-01 -3.034382e-01 -1.545779e-07 -1.761013e-07
+ 1.133687e-02  1.642036e-02 -2.346874e-01 -3.033615e-01 -1.119155e-07 -1.318937e-08
+ 1.133687e-02  1.654243e-02 -2.348923e-01 -3.032838e-01  1.281551e-07  1.203036e-08
+ 1.133687e-02  1.666362e-02 -2.350952e-01 -3.032049e-01  1.392201e-07  1.093316e-08
+ 1.133687e-02  1.678393e-02 -2.352958e-01 -3.031250e-01 -1.903332e-07 -9.536355e-09
+ 1.133687e-02  1.690338e-02 -2.354951e-01 -3.030439e-01 -5.815620e-08 -8.971032e-10
+ 1.133687e-02  1.702200e-02 -2.356922e-01 -3.029616e-01  3.822504e-07  8.438192e-09
+ 1.133687e-02  1.713979e-02 -2.358876e-01 -3.028780e-01 -1.327008e-07  5.364426e-11
+ 1.133687e-02  1.725678e-02 -2.360808e-01 -3.027932e-01 -2.867767e-07 -4.656568e-10
+ 1.133687e-02  1.737298e-02 -2.362716e-01 -3.027071e-01 -7.165276e-07  4.488890e-10
+ 1.133687e-02  1.748841e-02 -2.364578e-01 -3.026196e-01  2.301321e-06 -5.158455e-08
+ 1.133687e-02  1.760308e-02 -2.366454e-01 -3.025304e-01 -2.827272e-07 -5.256377e-09
+ 1.133687e-02  1.771701e-02 -2.368334e-01 -3.024431e-01  1.031558e-05  8.069963e-06
+ 1.133687e-02  1.783022e-02 -2.370097e-01 -3.023500e-01 -7.237137e-07  4.886232e-09
+ 1.133687e-02  1.794270e-02 -2.371874e-01 -3.022565e-01 -1.177436e-07  3.560822e-09
+ 1.133687e-02  1.805449e-02 -2.373619e-01 -3.021617e-01  1.123252e-07 -5.641244e-09
+ 1.133687e-02  1.816559e-02 -2.375336e-01 -3.020654e-01 -3.379797e-09 -1.026438e-09
+ 1.133687e-02  1.827602e-02 -2.377021e-01 -3.019674e-01 -1.314436e-07  9.072236e-09
+ 1.133687e-02  1.838578e-02 -2.378674e-01 -3.018677e-01  1.451070e-07 -3.970946e-09
+ 1.133687e-02  1.849489e-02 -2.380294e-01 -3.017663e-01  2.922831e-07 -3.533923e-08
+ 1.133687e-02  1.860336e-02 -2.381872e-01 -3.016641e-01  2.981222e-07 -4.194199e-07
+ 1.133687e-02  1.871120e-02 -2.383437e-01 -3.015576e-01  1.339884e-07  6.082489e-09
+ 1.133687e-02  1.881842e-02 -2.384956e-01 -3.014506e-01  2.913476e-07 -1.258503e-08
+ 1.133687e-02  1.892503e-02 -2.386440e-01 -3.013416e-01  3.639103e-07 -1.882047e-08
+ 1.133687e-02  1.903105e-02 -2.387888e-01 -3.012306e-01  4.191836e-07 -1.486930e-08
+ 1.133687e-02  1.913648e-02 -2.389301e-01 -3.011174e-01  2.874024e-07 -1.605564e-08
+ 1.133687e-02  1.924133e-02 -2.390677e-01 -3.010020e-01  3.326551e-07 -1.642916e-08
+ 1.133687e-02  1.934562e-02 -2.392016e-01 -3.008844e-01  4.720925e-07 -1.979227e-08
+ 1.133687e-02  1.944934e-02 -2.393317e-01 -3.007646e-01  5.710692e-07 -2.414368e-08
+ 1.133687e-02  1.955252e-02 -2.394582e-01 -3.006424e-01  3.575647e-07 -1.803308e-08
+ 1.133687e-02  1.965515e-02 -2.395807e-01 -3.005178e-01  1.824281e-08 -1.858268e-09
+ 1.133687e-02  1.975725e-02 -2.396992e-01 -3.003910e-01  3.237546e-07 -1.503704e-08
+ 1.133687e-02  1.985883e-02 -2.398130e-01 -3.002623e-01  6.625959e-07 -7.924553e-08
+ 1.133687e-02  1.995989e-02 -2.399194e-01 -3.001322e-01 -2.966629e-06  2.088811e-06
+ 1.133687e-02  2.006044e-02 -2.400356e-01 -2.999908e-01 -5.461694e-05  2.947908e-05
+ 1.133687e-02  2.016048e-02 -2.401675e-01 -2.998415e-01  5.427579e-06 -1.867673e-06
+ 1.133687e-02  2.026004e-02 -2.402639e-01 -2.997037e-01  2.883992e-07 -5.389257e-09
+ 1.133687e-02  2.035910e-02 -2.403611e-01 -2.995604e-01 -4.524683e-07  1.969522e-08
+ 1.133687e-02  2.045769e-02 -2.404560e-01 -2.994131e-01 -9.423685e-07  3.889278e-08
+ 1.133687e-02  2.055580e-02 -2.405479e-01 -2.992621e-01  5.168222e-07 -2.207950e-08
+ 1.133687e-02  2.065345e-02 -2.406379e-01 -2.991072e-01  6.923714e-08 -4.421838e-09
+ 1.133687e-02  2.075064e-02 -2.407247e-01 -2.989486e-01  2.054164e-07  5.644269e-09
+ 1.133687e-02  2.084738e-02 -2.408083e-01 -2.987864e-01 -6.590880e-07  1.265816e-06
+ 1.133687e-02  2.094367e-02 -2.408892e-01 -2.986187e-01 -1.561848e-07 -2.004914e-08
+ 1.133687e-02  2.103951e-02 -2.409664e-01 -2.984471e-01  1.254176e-07  9.496090e-09
+ 1.133687e-02  2.113493e-02 -2.410397e-01 -2.982706e-01  1.265636e-08  2.443024e-08
+ 1.133687e-02  2.122991e-02 -2.411081e-01 -2.980891e-01 -2.383382e-08 -2.309325e-08
+ 1.133687e-02  2.132447e-02 -2.411619e-01 -2.979152e-01  3.127438e-09 -8.278447e-07
+ 1.133687e-02  2.141862e-02 -2.412360e-01 -2.976980e-01 -1.839089e-07  1.270491e-08
+ 1.133687e-02  2.151235e-02 -2.412859e-01 -2.974954e-01  2.431621e-07 -8.753103e-08
+ 1.133687e-02  2.160567e-02 -2.413278e-01 -2.972808e-01 -1.230564e-09 -9.624298e-09
+ 1.133687e-02  2.169860e-02 -2.413585e-01 -2.970529e-01 -8.992360e-08  7.187259e-09
+ 1.133687e-02  2.179112e-02 -2.413751e-01 -2.968070e-01  1.695950e-06 -3.897395e-06
+ 1.133687e-02  2.188326e-02 -2.413697e-01 -2.965381e-01  8.621208e-07 -9.368851e-07
+ 1.133687e-02  2.197501e-02 -2.413460e-01 -2.962301e-01 -1.828304e-05 -7.960348e-07
+ 1.133687e-02  2.206638e-02 -2.412995e-01 -2.958541e-01 -4.258814e-05 -4.222525e-06
+ 1.133687e-02  2.215737e-02 -2.411747e-01 -2.952593e-01  9.460143e-07  5.487871e-07
+ 1.133687e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.133687e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.411757e-01  2.952598e-01
+ 1.151263e-02  1.000000e-06 -2.232355e-01 -3.077399e-01 -1.732337e-07 -9.372068e-09
+ 1.151263e-02  2.006944e-03 -2.233395e-01 -3.076672e-01 -6.346423e-09  1.595586e-08
+ 1.151263e-02  2.837833e-03 -2.234460e-01 -3.075958e-01  1.606803e-08  1.360477e-08
+ 1.151263e-02  3.475396e-03 -2.235551e-01 -3.075258e-01 -8.127842e-08 -1.127795e-08
+ 1.151263e-02  4.012887e-03 -2.236667e-01 -3.074570e-01  1.764996e-09 -3.878596e-09
+ 1.151263e-02  4.486426e-03 -2.237811e-01 -3.073893e-01  5.656691e-09  1.691869e-09
+ 1.151263e-02  4.914538e-03 -2.238981e-01 -3.073228e-01 -3.263868e-08 -2.461715e-09
+ 1.151263e-02  5.308228e-03 -2.240178e-01 -3.072572e-01 -6.819574e-09  7.780925e-10
+ 1.151263e-02  5.674665e-03 -2.241402e-01 -3.071926e-01  1.856181e-09  9.669012e-09
+ 1.151263e-02  6.018831e-03 -2.242653e-01 -3.071290e-01 -2.726372e-09  2.191896e-09
+ 1.151263e-02  6.344350e-03 -2.243930e-01 -3.070662e-01  3.108194e-09 -5.283457e-10
+ 1.151263e-02  6.653962e-03 -2.245235e-01 -3.070042e-01 -1.958740e-08  8.456067e-09
+ 1.151263e-02  6.949792e-03 -2.246567e-01 -3.069429e-01 -1.466997e-09  2.324329e-08
+ 1.151263e-02  7.233532e-03 -2.247925e-01 -3.068822e-01 -2.200010e-08  6.355815e-08
+ 1.151263e-02  7.506553e-03 -2.249310e-01 -3.068223e-01  4.691886e-09 -1.764749e-08
+ 1.151263e-02  7.769986e-03 -2.250722e-01 -3.067627e-01  2.738200e-09  6.566842e-09
+ 1.151263e-02  8.024774e-03 -2.252160e-01 -3.067038e-01 -2.669992e-07  7.822809e-07
+ 1.151263e-02  8.271717e-03 -2.253621e-01 -3.066463e-01  4.909918e-07 -1.347464e-06
+ 1.151263e-02  8.511498e-03 -2.255109e-01 -3.065886e-01  2.796309e-07 -7.288361e-07
+ 1.151263e-02  8.744705e-03 -2.256629e-01 -3.065299e-01 -1.325869e-07  3.246947e-07
+ 1.151263e-02  8.971852e-03 -2.258170e-01 -3.064726e-01 -3.757617e-08  2.766081e-08
+ 1.151263e-02  9.193388e-03 -2.259734e-01 -3.064161e-01  4.822010e-07 -1.018502e-06
+ 1.151263e-02  9.409709e-03 -2.261330e-01 -3.063582e-01 -9.567959e-07  1.908106e-06
+ 1.151263e-02  9.621167e-03 -2.262948e-01 -3.063011e-01 -3.215759e-07  6.005236e-07
+ 1.151263e-02  9.828076e-03 -2.264581e-01 -3.062460e-01  7.984180e-08 -1.473563e-07
+ 1.151263e-02  1.003072e-02 -2.266241e-01 -3.061900e-01  8.047566e-08 -1.235945e-07
+ 1.151263e-02  1.022935e-02 -2.267930e-01 -3.061334e-01  2.467521e-08 -4.458106e-08
+ 1.151263e-02  1.042419e-02 -2.269639e-01 -3.060772e-01  1.140558e-07 -1.739996e-07
+ 1.151263e-02  1.061546e-02 -2.271370e-01 -3.060210e-01  2.865348e-08 -3.731834e-08
+ 1.151263e-02  1.080334e-02 -2.273124e-01 -3.059647e-01  8.609668e-09 -1.213113e-08
+ 1.151263e-02  1.098801e-02 -2.274899e-01 -3.059084e-01  4.519464e-09 -3.228081e-09
+ 1.151263e-02  1.116962e-02 -2.276695e-01 -3.058519e-01  7.296728e-09 -7.247412e-09
+ 1.151263e-02  1.134833e-02 -2.278511e-01 -3.057953e-01  2.075816e-08 -2.544734e-08
+ 1.151263e-02  1.152427e-02 -2.280347e-01 -3.057385e-01  2.146270e-08 -1.476554e-08
+ 1.151263e-02  1.169756e-02 -2.282202e-01 -3.056815e-01  9.409029e-09 -1.197640e-08
+ 1.151263e-02  1.186832e-02 -2.284076e-01 -3.056243e-01 -3.291788e-10 -2.895141e-09
+ 1.151263e-02  1.203666e-02 -2.285968e-01 -3.055668e-01  7.050792e-09 -9.929027e-10
+ 1.151263e-02  1.220268e-02 -2.287877e-01 -3.055090e-01  2.421226e-09 -2.423214e-09
+ 1.151263e-02  1.236647e-02 -2.289804e-01 -3.054510e-01 -4.121580e-08 -3.392609e-08
+ 1.151263e-02  1.252811e-02 -2.291742e-01 -3.053922e-01  1.313401e-08  6.611309e-10
+ 1.151263e-02  1.268770e-02 -2.293699e-01 -3.053334e-01  3.157333e-09 -4.151147e-09
+ 1.151263e-02  1.284531e-02 -2.295670e-01 -3.052740e-01  1.402860e-08 -5.253446e-09
+ 1.151263e-02  1.300100e-02 -2.297654e-01 -3.052143e-01  6.302803e-10 -2.813874e-09
+ 1.151263e-02  1.315485e-02 -2.299651e-01 -3.051541e-01  2.624548e-08  1.327065e-09
+ 1.151263e-02  1.330692e-02 -2.301659e-01 -3.050933e-01 -2.088513e-09 -1.654836e-09
+ 1.151263e-02  1.345728e-02 -2.303679e-01 -3.050321e-01 -2.322648e-11 -1.641898e-09
+ 1.151263e-02  1.360597e-02 -2.305708e-01 -3.049703e-01  7.130274e-09  2.992472e-10
+ 1.151263e-02  1.375306e-02 -2.307746e-01 -3.049079e-01 -2.309399e-10 -3.947729e-10
+ 1.151263e-02  1.389858e-02 -2.309792e-01 -3.048449e-01  1.631643e-08 -2.327267e-09
+ 1.151263e-02  1.404260e-02 -2.311845e-01 -3.047813e-01 -1.953546e-10 -9.533671e-10
+ 1.151263e-02  1.418516e-02 -2.313904e-01 -3.047171e-01  8.599029e-09 -2.838459e-09
+ 1.151263e-02  1.432630e-02 -2.315966e-01 -3.046521e-01 -2.230900e-08 -6.749463e-09
+ 1.151263e-02  1.446606e-02 -2.318042e-01 -3.045868e-01 -1.577018e-07 -7.587089e-08
+ 1.151263e-02  1.460449e-02 -2.320119e-01 -3.045208e-01  4.425467e-08 -1.678242e-08
+ 1.151263e-02  1.474161e-02 -2.322191e-01 -3.044536e-01 -8.717014e-09  4.557716e-08
+ 1.151263e-02  1.487748e-02 -2.324265e-01 -3.043858e-01 -6.047279e-10  1.236837e-08
+ 1.151263e-02  1.501211e-02 -2.326339e-01 -3.043173e-01 -9.058119e-09  2.528036e-08
+ 1.151263e-02  1.514554e-02 -2.328411e-01 -3.042480e-01  1.229413e-08 -2.135621e-08
+ 1.151263e-02  1.527781e-02 -2.330482e-01 -3.041778e-01  2.675647e-09 -4.405808e-09
+ 1.151263e-02  1.540894e-02 -2.332549e-01 -3.041068e-01 -1.121424e-08  2.815217e-08
+ 1.151263e-02  1.553897e-02 -2.334611e-01 -3.040350e-01  5.329375e-08 -9.004666e-08
+ 1.151263e-02  1.566792e-02 -2.336667e-01 -3.039622e-01  3.875794e-09 -6.598566e-10
+ 1.151263e-02  1.579582e-02 -2.338716e-01 -3.038885e-01  1.465202e-08  1.791089e-08
+ 1.151263e-02  1.592268e-02 -2.340756e-01 -3.038139e-01  7.555768e-09  1.167672e-09
+ 1.151263e-02  1.604855e-02 -2.342787e-01 -3.037383e-01 -6.395856e-09 -4.152457e-09
+ 1.151263e-02  1.617343e-02 -2.344808e-01 -3.036617e-01  1.733321e-08  6.237011e-09
+ 1.151263e-02  1.629736e-02 -2.346818e-01 -3.035842e-01  2.197303e-08  1.693566e-07
+ 1.151263e-02  1.642036e-02 -2.348803e-01 -3.035054e-01  6.758612e-08  6.200522e-09
+ 1.151263e-02  1.654243e-02 -2.350789e-01 -3.034258e-01  4.356193e-08  2.894562e-09
+ 1.151263e-02  1.666362e-02 -2.352764e-01 -3.033450e-01 -4.114833e-07 -2.933223e-08
+ 1.151263e-02  1.678393e-02 -2.354702e-01 -3.032630e-01  1.255613e-07  8.616484e-09
+ 1.151263e-02  1.690338e-02 -2.356633e-01 -3.031799e-01  4.130036e-08  2.289285e-09
+ 1.151263e-02  1.702200e-02 -2.358544e-01 -3.030956e-01  3.622662e-08  2.201814e-09
+ 1.151263e-02  1.713979e-02 -2.360435e-01 -3.030101e-01 -2.575389e-08 -3.054172e-09
+ 1.151263e-02  1.725678e-02 -2.362306e-01 -3.029232e-01 -2.362210e-07  1.353083e-08
+ 1.151263e-02  1.737298e-02 -2.364150e-01 -3.028350e-01 -1.346516e-07  8.442143e-09
+ 1.151263e-02  1.748841e-02 -2.365953e-01 -3.027454e-01  2.732579e-07 -1.339421e-08
+ 1.151263e-02  1.760308e-02 -2.367729e-01 -3.026512e-01  2.877244e-06  1.940923e-06
+ 1.151263e-02  1.771701e-02 -2.369574e-01 -3.025646e-01  8.568177e-07 -3.447644e-07
+ 1.151263e-02  1.783022e-02 -2.371302e-01 -3.024700e-01 -1.237049e-06 -3.166977e-08
+ 1.151263e-02  1.794270e-02 -2.373014e-01 -3.023746e-01  1.739916e-07 -1.648339e-08
+ 1.151263e-02  1.805449e-02 -2.374703e-01 -3.022779e-01 -1.110472e-09 -1.274328e-09
+ 1.151263e-02  1.816559e-02 -2.376363e-01 -3.021796e-01  2.747669e-07 -1.461452e-08
+ 1.151263e-02  1.827602e-02 -2.377993e-01 -3.020796e-01  3.846838e-08  2.999183e-09
+ 1.151263e-02  1.838578e-02 -2.379592e-01 -3.019780e-01 -1.391232e-07  1.082587e-08
+ 1.151263e-02  1.849489e-02 -2.381158e-01 -3.018748e-01  7.776224e-09 -2.594228e-08
+ 1.151263e-02  1.860336e-02 -2.382691e-01 -3.017698e-01 -9.390849e-09  1.071608e-07
+ 1.151263e-02  1.871120e-02 -2.384206e-01 -3.016609e-01 -1.250696e-06  1.379323e-06
+ 1.151263e-02  1.881842e-02 -2.385662e-01 -3.015535e-01  1.095313e-07 -1.562463e-07
+ 1.151263e-02  1.892503e-02 -2.387094e-01 -3.014427e-01 -8.698912e-09  2.267755e-08
+ 1.151263e-02  1.903105e-02 -2.388493e-01 -3.013300e-01  2.082638e-08  1.004284e-08
+ 1.151263e-02  1.913648e-02 -2.389857e-01 -3.012152e-01 -3.282539e-08  2.823861e-09
+ 1.151263e-02  1.924133e-02 -2.391186e-01 -3.010982e-01 -3.287344e-08  1.143495e-09
+ 1.151263e-02  1.934562e-02 -2.392480e-01 -3.009791e-01  4.381485e-08  5.833960e-09
+ 1.151263e-02  1.944934e-02 -2.393739e-01 -3.008577e-01  6.974807e-09  8.587792e-10
+ 1.151263e-02  1.955252e-02 -2.394963e-01 -3.007341e-01 -5.200985e-09  5.321983e-09
+ 1.151263e-02  1.965515e-02 -2.396152e-01 -3.006082e-01 -2.916559e-07  7.613554e-09
+ 1.151263e-02  1.975725e-02 -2.397300e-01 -3.004801e-01  2.799121e-07  1.955251e-07
+ 1.151263e-02  1.985883e-02 -2.398406e-01 -3.003497e-01  5.794527e-07 -8.915314e-08
+ 1.151263e-02  1.995989e-02 -2.399463e-01 -3.002179e-01  1.616045e-07  1.511156e-08
+ 1.151263e-02  2.006044e-02 -2.400443e-01 -3.000858e-01 -3.472623e-06  3.674336e-06
+ 1.151263e-02  2.016048e-02 -2.402189e-01 -2.998997e-01 -2.313788e-05  1.403399e-05
+ 1.151263e-02  2.026004e-02 -2.402859e-01 -2.997819e-01  4.145966e-07 -1.569882e-07
+ 1.151263e-02  2.035910e-02 -2.403761e-01 -2.996415e-01  4.825714e-07 -1.711145e-08
+ 1.151263e-02  2.045769e-02 -2.404689e-01 -2.994949e-01 -1.113106e-06  4.930726e-08
+ 1.151263e-02  2.055580e-02 -2.405602e-01 -2.993443e-01 -6.714658e-07  2.855875e-08
+ 1.151263e-02  2.065345e-02 -2.406485e-01 -2.991899e-01  7.228832e-07 -2.713482e-08
+ 1.151263e-02  2.075064e-02 -2.407358e-01 -2.990318e-01  2.353519e-07 -7.595133e-09
+ 1.151263e-02  2.084738e-02 -2.408208e-01 -2.988700e-01  7.796784e-08  4.032240e-08
+ 1.151263e-02  2.094367e-02 -2.409042e-01 -2.987035e-01 -2.046744e-07  7.116317e-08
+ 1.151263e-02  2.103951e-02 -2.409846e-01 -2.985336e-01  6.454247e-08  1.227804e-08
+ 1.151263e-02  2.113493e-02 -2.410629e-01 -2.983589e-01  1.228847e-08 -1.584574e-09
+ 1.151263e-02  2.122991e-02 -2.411382e-01 -2.981795e-01  4.662061e-08  2.380851e-09
+ 1.151263e-02  2.132447e-02 -2.412092e-01 -2.979960e-01  1.429750e-07  5.831456e-08
+ 1.151263e-02  2.141862e-02 -2.413038e-01 -2.977731e-01 -7.004351e-07  7.624418e-07
+ 1.151263e-02  2.151235e-02 -2.413512e-01 -2.975946e-01 -4.074269e-08 -1.136917e-09
+ 1.151263e-02  2.160567e-02 -2.414099e-01 -2.973870e-01 -5.734124e-07  3.779760e-09
+ 1.151263e-02  2.169860e-02 -2.414633e-01 -2.971669e-01 -2.718522e-07 -8.661667e-10
+ 1.151263e-02  2.179112e-02 -2.415070e-01 -2.969321e-01  8.779828e-08  1.025249e-08
+ 1.151263e-02  2.188326e-02 -2.415383e-01 -2.966790e-01 -2.268121e-07 -1.071959e-07
+ 1.151263e-02  2.197501e-02 -2.415544e-01 -2.963948e-01  1.265711e-06 -1.205007e-07
+ 1.151263e-02  2.206638e-02 -2.415258e-01 -2.960613e-01  5.985740e-05  5.361549e-06
+ 1.151263e-02  2.215737e-02 -2.415117e-01 -2.956292e-01 -3.762215e-06 -7.253326e-07
+ 1.151263e-02  2.224799e-02 -2.415595e-01 -2.947562e-01 -2.415595e-01 -2.947562e-01
+ 1.151263e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.151263e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.168575e-02  1.000000e-06 -2.238498e-01 -3.079564e-01 -4.043464e-08 -5.286354e-09
+ 1.168575e-02  2.006944e-03 -2.239469e-01 -3.078834e-01 -3.043632e-09 -2.783443e-10
+ 1.168575e-02  2.837833e-03 -2.240467e-01 -3.078119e-01 -4.476865e-09 -7.286974e-09
+ 1.168575e-02  3.475396e-03 -2.241492e-01 -3.077417e-01 -6.438552e-09  2.743326e-10
+ 1.168575e-02  4.012887e-03 -2.242544e-01 -3.076726e-01 -5.817094e-09  4.021181e-10
+ 1.168575e-02  4.486426e-03 -2.243624e-01 -3.076047e-01 -4.350289e-09 -1.273899e-09
+ 1.168575e-02  4.914538e-03 -2.244732e-01 -3.075379e-01 -4.430316e-09  2.956961e-09
+ 1.168575e-02  5.308228e-03 -2.245866e-01 -3.074721e-01  6.865535e-10 -1.164402e-09
+ 1.168575e-02  5.674665e-03 -2.247029e-01 -3.074073e-01  7.868684e-09  2.243554e-09
+ 1.168575e-02  6.018831e-03 -2.248218e-01 -3.073433e-01 -1.374750e-08  7.018139e-09
+ 1.168575e-02  6.344350e-03 -2.249435e-01 -3.072801e-01 -2.300525e-09  7.853886e-09
+ 1.168575e-02  6.653962e-03 -2.250679e-01 -3.072177e-01  2.949788e-09  6.812521e-09
+ 1.168575e-02  6.949792e-03 -2.251949e-01 -3.071560e-01 -2.998329e-09  1.024544e-09
+ 1.168575e-02  7.233532e-03 -2.253247e-01 -3.070950e-01 -1.263162e-08  1.578044e-08
+ 1.168575e-02  7.506553e-03 -2.254571e-01 -3.070345e-01 -2.971258e-08  9.144411e-08
+ 1.168575e-02  7.769986e-03 -2.255922e-01 -3.069746e-01  7.071110e-09 -2.834577e-09
+ 1.168575e-02  8.024774e-03 -2.257300e-01 -3.069149e-01 -2.019485e-10  4.160569e-09
+ 1.168575e-02  8.271717e-03 -2.258703e-01 -3.068560e-01 -2.462091e-07  6.949214e-07
+ 1.168575e-02  8.511498e-03 -2.260128e-01 -3.067984e-01  4.623302e-07 -1.224176e-06
+ 1.168575e-02  8.744705e-03 -2.261582e-01 -3.067402e-01  4.673774e-07 -1.155418e-06
+ 1.168575e-02  8.971852e-03 -2.263066e-01 -3.066811e-01 -3.038185e-07  7.047306e-07
+ 1.168575e-02  9.193388e-03 -2.264571e-01 -3.066234e-01 -5.228531e-09  3.473288e-09
+ 1.168575e-02  9.409709e-03 -2.266098e-01 -3.065663e-01  5.432526e-07 -1.105408e-06
+ 1.168575e-02  9.621167e-03 -2.267659e-01 -3.065076e-01 -9.878110e-07  1.917142e-06
+ 1.168575e-02  9.828076e-03 -2.269238e-01 -3.064501e-01 -5.364717e-07  9.855458e-07
+ 1.168575e-02  1.003072e-02 -2.270832e-01 -3.063943e-01  3.220485e-07 -5.476200e-07
+ 1.168575e-02  1.022935e-02 -2.272454e-01 -3.063374e-01  2.706672e-08 -4.780929e-08
+ 1.168575e-02  1.042419e-02 -2.274104e-01 -3.062798e-01  5.365727e-09 -1.092219e-08
+ 1.168575e-02  1.061546e-02 -2.275773e-01 -3.062227e-01  1.220796e-07 -1.684186e-07
+ 1.168575e-02  1.080334e-02 -2.277464e-01 -3.061654e-01  3.146751e-08 -4.793535e-08
+ 1.168575e-02  1.098801e-02 -2.279177e-01 -3.061080e-01  1.756271e-08 -2.640470e-08
+ 1.168575e-02  1.116962e-02 -2.280910e-01 -3.060505e-01  7.348068e-09 -1.862590e-09
+ 1.168575e-02  1.134833e-02 -2.282664e-01 -3.059928e-01  1.017493e-09 -3.008875e-09
+ 1.168575e-02  1.152427e-02 -2.284436e-01 -3.059349e-01  1.890372e-08 -2.174037e-08
+ 1.168575e-02  1.169756e-02 -2.286229e-01 -3.058768e-01  1.751967e-08 -1.483359e-08
+ 1.168575e-02  1.186832e-02 -2.288039e-01 -3.058183e-01  1.368359e-08 -1.511033e-08
+ 1.168575e-02  1.203666e-02 -2.289867e-01 -3.057596e-01  1.450969e-08 -3.052651e-09
+ 1.168575e-02  1.220268e-02 -2.291716e-01 -3.057007e-01 -1.214419e-07 -7.677640e-08
+ 1.168575e-02  1.236647e-02 -2.293571e-01 -3.056409e-01  2.867982e-09  1.144821e-09
+ 1.168575e-02  1.252811e-02 -2.295450e-01 -3.055812e-01  1.204733e-08 -2.267311e-09
+ 1.168575e-02  1.268770e-02 -2.297343e-01 -3.055210e-01  4.146453e-09 -5.730649e-09
+ 1.168575e-02  1.284531e-02 -2.299249e-01 -3.054603e-01  1.234833e-08 -3.433798e-09
+ 1.168575e-02  1.300100e-02 -2.301169e-01 -3.053992e-01  7.767732e-09 -4.852637e-09
+ 1.168575e-02  1.315485e-02 -2.303101e-01 -3.053375e-01  9.845951e-09 -1.059429e-09
+ 1.168575e-02  1.330692e-02 -2.305045e-01 -3.052753e-01  1.744863e-08 -2.960852e-09
+ 1.168575e-02  1.345728e-02 -2.306999e-01 -3.052126e-01  4.485731e-10 -1.201074e-09
+ 1.168575e-02  1.360597e-02 -2.308964e-01 -3.051493e-01  5.436313e-09 -1.478284e-09
+ 1.168575e-02  1.375306e-02 -2.310937e-01 -3.050854e-01  1.832763e-09 -1.712489e-09
+ 1.168575e-02  1.389858e-02 -2.312917e-01 -3.050208e-01 -9.624626e-10 -1.150024e-09
+ 1.168575e-02  1.404260e-02 -2.314903e-01 -3.049555e-01 -7.750506e-09  3.054582e-09
+ 1.168575e-02  1.418516e-02 -2.316891e-01 -3.048894e-01 -8.847521e-06 -3.793753e-06
+ 1.168575e-02  1.432630e-02 -2.318913e-01 -3.048239e-01  1.247955e-08  3.571888e-10
+ 1.168575e-02  1.446606e-02 -2.320913e-01 -3.047565e-01 -1.855340e-09 -2.836019e-10
+ 1.168575e-02  1.460449e-02 -2.322919e-01 -3.046885e-01 -3.833872e-09 -2.587732e-09
+ 1.168575e-02  1.474161e-02 -2.324927e-01 -3.046197e-01  1.519014e-08 -1.848375e-09
+ 1.168575e-02  1.487748e-02 -2.326937e-01 -3.045502e-01  9.580368e-10 -2.958861e-09
+ 1.168575e-02  1.501211e-02 -2.328947e-01 -3.044800e-01  1.196173e-07 -3.221414e-08
+ 1.168575e-02  1.514554e-02 -2.330955e-01 -3.044089e-01 -6.093900e-09  3.460958e-09
+ 1.168575e-02  1.527781e-02 -2.332961e-01 -3.043369e-01  9.359725e-10 -9.426325e-09
+ 1.168575e-02  1.540894e-02 -2.334964e-01 -3.042641e-01 -9.859650e-09  5.342889e-08
+ 1.168575e-02  1.553897e-02 -2.336961e-01 -3.041904e-01 -1.502126e-08  2.270928e-08
+ 1.168575e-02  1.566792e-02 -2.338953e-01 -3.041158e-01  1.024638e-08 -2.993863e-08
+ 1.168575e-02  1.579582e-02 -2.340938e-01 -3.040403e-01 -1.161930e-08 -6.956897e-09
+ 1.168575e-02  1.592268e-02 -2.342914e-01 -3.039638e-01 -7.551000e-09 -9.272399e-09
+ 1.168575e-02  1.604855e-02 -2.344881e-01 -3.038864e-01 -7.210639e-09 -2.251560e-08
+ 1.168575e-02  1.617343e-02 -2.346838e-01 -3.038079e-01 -1.445787e-08 -3.017151e-08
+ 1.168575e-02  1.629736e-02 -2.348778e-01 -3.037284e-01  2.273579e-07 -2.338629e-09
+ 1.168575e-02  1.642036e-02 -2.350717e-01 -3.036478e-01  9.414514e-08  1.253592e-09
+ 1.168575e-02  1.654243e-02 -2.352634e-01 -3.035661e-01  4.584175e-07  4.074391e-08
+ 1.168575e-02  1.666362e-02 -2.354533e-01 -3.034833e-01 -4.747252e-07 -3.835174e-08
+ 1.168575e-02  1.678393e-02 -2.356420e-01 -3.033994e-01 -8.106360e-08  5.683642e-09
+ 1.168575e-02  1.690338e-02 -2.358288e-01 -3.033143e-01  2.985509e-09  8.329505e-10
+ 1.168575e-02  1.702200e-02 -2.360137e-01 -3.032280e-01 -1.035082e-07  8.113869e-09
+ 1.168575e-02  1.713979e-02 -2.361966e-01 -3.031405e-01 -6.138428e-08 -4.788338e-09
+ 1.168575e-02  1.725678e-02 -2.363773e-01 -3.030516e-01 -7.299157e-08  5.625570e-09
+ 1.168575e-02  1.737298e-02 -2.365557e-01 -3.029613e-01  2.523844e-08 -7.770060e-09
+ 1.168575e-02  1.748841e-02 -2.367299e-01 -3.028693e-01 -1.361274e-06 -3.360752e-07
+ 1.168575e-02  1.760308e-02 -2.369134e-01 -3.027826e-01  1.636444e-06  4.606598e-07
+ 1.168575e-02  1.771701e-02 -2.370790e-01 -3.026845e-01  9.661222e-07  6.336585e-08
+ 1.168575e-02  1.783022e-02 -2.372480e-01 -3.025886e-01  9.891424e-07  1.300936e-08
+ 1.168575e-02  1.794270e-02 -2.374130e-01 -3.024913e-01 -2.865868e-08 -1.362559e-09
+ 1.168575e-02  1.805449e-02 -2.375769e-01 -3.023926e-01 -6.348519e-07 -5.419191e-08
+ 1.168575e-02  1.816559e-02 -2.377359e-01 -3.022923e-01  6.607226e-08 -5.911316e-09
+ 1.168575e-02  1.827602e-02 -2.378935e-01 -3.021904e-01  5.975189e-08  1.586284e-09
+ 1.168575e-02  1.838578e-02 -2.380477e-01 -3.020869e-01  6.279708e-08  2.988977e-09
+ 1.168575e-02  1.849489e-02 -2.381987e-01 -3.019817e-01  5.725333e-08  3.820667e-09
+ 1.168575e-02  1.860336e-02 -2.383466e-01 -3.018748e-01  6.223296e-08 -1.966508e-08
+ 1.168575e-02  1.871120e-02 -2.384903e-01 -3.017676e-01  1.884578e-07 -3.618068e-07
+ 1.168575e-02  1.881842e-02 -2.386332e-01 -3.016547e-01 -1.980058e-08  5.921283e-09
+ 1.168575e-02  1.892503e-02 -2.387711e-01 -3.015424e-01  5.322767e-08  2.307495e-09
+ 1.168575e-02  1.903105e-02 -2.389058e-01 -3.014279e-01 -2.362403e-09  4.715030e-09
+ 1.168575e-02  1.913648e-02 -2.390372e-01 -3.013114e-01 -1.068363e-09  3.918429e-09
+ 1.168575e-02  1.924133e-02 -2.391651e-01 -3.011929e-01  1.117384e-08 -8.219744e-09
+ 1.168575e-02  1.934562e-02 -2.392898e-01 -3.010722e-01  8.864400e-08  4.269910e-09
+ 1.168575e-02  1.944934e-02 -2.394111e-01 -3.009494e-01 -1.054977e-07 -2.377328e-08
+ 1.168575e-02  1.955252e-02 -2.395291e-01 -3.008244e-01  7.828797e-09  2.451634e-08
+ 1.168575e-02  1.965515e-02 -2.396432e-01 -3.006970e-01 -5.287809e-07 -2.324732e-07
+ 1.168575e-02  1.975725e-02 -2.397543e-01 -3.005675e-01  8.263365e-08  1.835195e-08
+ 1.168575e-02  1.985883e-02 -2.398622e-01 -3.004359e-01  1.900172e-08  3.670570e-09
+ 1.168575e-02  1.995989e-02 -2.399659e-01 -3.003025e-01 -4.194856e-07  4.518431e-08
+ 1.168575e-02  2.006044e-02 -2.400640e-01 -3.001683e-01  8.560801e-07 -3.714580e-07
+ 1.168575e-02  2.016048e-02 -2.401471e-01 -3.000400e-01  1.372982e-05 -1.558204e-05
+ 1.168575e-02  2.026004e-02 -2.403463e-01 -2.998217e-01 -8.537341e-07  1.118128e-06
+ 1.168575e-02  2.035910e-02 -2.403869e-01 -2.997171e-01  1.090358e-07 -2.292078e-07
+ 1.168575e-02  2.045769e-02 -2.404733e-01 -2.995734e-01  3.105946e-07 -1.782365e-08
+ 1.168575e-02  2.055580e-02 -2.405622e-01 -2.994237e-01 -1.204630e-06  5.420407e-08
+ 1.168575e-02  2.065345e-02 -2.406503e-01 -2.992700e-01 -6.844377e-07  3.216405e-08
+ 1.168575e-02  2.075064e-02 -2.407358e-01 -2.991126e-01  9.035934e-07 -2.885865e-08
+ 1.168575e-02  2.084738e-02 -2.408213e-01 -2.989515e-01  1.255530e-07  3.927364e-09
+ 1.168575e-02  2.094367e-02 -2.409057e-01 -2.987864e-01  6.224128e-07 -1.222903e-06
+ 1.168575e-02  2.103951e-02 -2.409882e-01 -2.986175e-01  6.143269e-07  9.498750e-08
+ 1.168575e-02  2.113493e-02 -2.410704e-01 -2.984447e-01 -6.970272e-08 -3.353325e-09
+ 1.168575e-02  2.122991e-02 -2.411511e-01 -2.982675e-01  4.171166e-08 -2.026592e-08
+ 1.168575e-02  2.132447e-02 -2.412299e-01 -2.980861e-01  2.019623e-07  2.453030e-08
+ 1.168575e-02  2.141862e-02 -2.413029e-01 -2.979039e-01 -1.177911e-06  3.135236e-06
+ 1.168575e-02  2.151235e-02 -2.413964e-01 -2.976869e-01  1.630654e-07 -1.025634e-07
+ 1.168575e-02  2.160567e-02 -2.414670e-01 -2.974893e-01  3.420953e-07 -9.519932e-08
+ 1.168575e-02  2.169860e-02 -2.415377e-01 -2.972776e-01  2.591895e-08 -1.730205e-08
+ 1.168575e-02  2.179112e-02 -2.416046e-01 -2.970526e-01  1.514669e-07  2.028932e-09
+ 1.168575e-02  2.188326e-02 -2.416682e-01 -2.968110e-01 -4.743436e-08 -2.342276e-08
+ 1.168575e-02  2.197501e-02 -2.417199e-01 -2.965494e-01  7.082033e-07  4.316866e-08
+ 1.168575e-02  2.206638e-02 -2.417642e-01 -2.962528e-01 -1.071477e-06 -2.331678e-07
+ 1.168575e-02  2.215737e-02 -2.417716e-01 -2.958944e-01  1.270393e-05  2.580775e-06
+ 1.168575e-02  2.224799e-02 -2.418325e-01 -2.954088e-01  1.494600e-05  1.421527e-06
+ 1.168575e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.168575e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.418475e-01  2.954102e-01
+ 1.185634e-02  1.000000e-06 -2.244561e-01 -3.081698e-01 -3.292589e-09 -9.805231e-09
+ 1.185634e-02  2.006944e-03 -2.245469e-01 -3.080968e-01 -1.169326e-08  1.862368e-09
+ 1.185634e-02  2.837833e-03 -2.246404e-01 -3.080252e-01  6.443776e-09 -1.442787e-09
+ 1.185634e-02  3.475396e-03 -2.247367e-01 -3.079549e-01  2.117510e-09 -2.620670e-09
+ 1.185634e-02  4.012887e-03 -2.248357e-01 -3.078858e-01 -8.740835e-09  3.220817e-09
+ 1.185634e-02  4.486426e-03 -2.249376e-01 -3.078177e-01  5.614284e-11  1.578069e-10
+ 1.185634e-02  4.914538e-03 -2.250422e-01 -3.077507e-01  5.457968e-09  4.165151e-09
+ 1.185634e-02  5.308228e-03 -2.251496e-01 -3.076847e-01 -3.039906e-09  2.274378e-09
+ 1.185634e-02  5.674665e-03 -2.252597e-01 -3.076196e-01 -7.231913e-10  1.304673e-09
+ 1.185634e-02  6.018831e-03 -2.253726e-01 -3.075553e-01  1.515556e-10 -1.236104e-09
+ 1.185634e-02  6.344350e-03 -2.254883e-01 -3.074918e-01 -7.178466e-09  3.290975e-09
+ 1.185634e-02  6.653962e-03 -2.256066e-01 -3.074290e-01  4.630900e-09  1.036951e-08
+ 1.185634e-02  6.949792e-03 -2.257277e-01 -3.073669e-01 -2.728100e-09  1.755054e-08
+ 1.185634e-02  7.233532e-03 -2.258514e-01 -3.073054e-01 -2.715633e-09 -3.033471e-09
+ 1.185634e-02  7.506553e-03 -2.259778e-01 -3.072444e-01 -3.396735e-09  9.082238e-09
+ 1.185634e-02  7.769986e-03 -2.261068e-01 -3.071839e-01 -2.566696e-08  1.076055e-07
+ 1.185634e-02  8.024774e-03 -2.262385e-01 -3.071240e-01 -1.011649e-08  3.056314e-08
+ 1.185634e-02  8.271717e-03 -2.263729e-01 -3.070641e-01 -1.798751e-08  5.209142e-08
+ 1.185634e-02  8.511498e-03 -2.265097e-01 -3.070050e-01 -1.635312e-07  4.512024e-07
+ 1.185634e-02  8.744705e-03 -2.266486e-01 -3.069472e-01  3.841323e-07 -9.768942e-07
+ 1.185634e-02  8.971852e-03 -2.267906e-01 -3.068884e-01  6.443224e-07 -1.564575e-06
+ 1.185634e-02  9.193388e-03 -2.269355e-01 -3.068287e-01 -4.362576e-07  9.881916e-07
+ 1.185634e-02  9.409709e-03 -2.270822e-01 -3.067707e-01  7.932155e-09 -3.637002e-11
+ 1.185634e-02  9.621167e-03 -2.272313e-01 -3.067128e-01  5.271631e-07 -1.065449e-06
+ 1.185634e-02  9.828076e-03 -2.273837e-01 -3.066533e-01 -9.319867e-07  1.777396e-06
+ 1.185634e-02  1.003072e-02 -2.275378e-01 -3.065951e-01 -7.767766e-07  1.417217e-06
+ 1.185634e-02  1.022935e-02 -2.276933e-01 -3.065385e-01  5.357300e-07 -9.204936e-07
+ 1.185634e-02  1.042419e-02 -2.278518e-01 -3.064806e-01  3.194849e-09 -6.832550e-09
+ 1.185634e-02  1.061546e-02 -2.280128e-01 -3.064220e-01 -5.117257e-09  1.882039e-08
+ 1.185634e-02  1.080334e-02 -2.281756e-01 -3.063639e-01  1.024690e-07 -1.506427e-07
+ 1.185634e-02  1.098801e-02 -2.283407e-01 -3.063054e-01  3.937400e-08 -5.606335e-08
+ 1.185634e-02  1.116962e-02 -2.285078e-01 -3.062468e-01  3.921339e-08 -4.143967e-08
+ 1.185634e-02  1.134833e-02 -2.286769e-01 -3.061880e-01  1.806872e-10 -9.577804e-10
+ 1.185634e-02  1.152427e-02 -2.288480e-01 -3.061290e-01 -1.700654e-09  1.198380e-10
+ 1.185634e-02  1.169756e-02 -2.290209e-01 -3.060697e-01  2.332114e-08 -1.675293e-08
+ 1.185634e-02  1.186832e-02 -2.291957e-01 -3.060101e-01  1.164068e-08 -1.377542e-08
+ 1.185634e-02  1.203666e-02 -2.293727e-01 -3.059505e-01 -4.202903e-07 -2.931329e-07
+ 1.185634e-02  1.220268e-02 -2.295500e-01 -3.058895e-01  4.846091e-08  1.800646e-08
+ 1.185634e-02  1.236647e-02 -2.297301e-01 -3.058290e-01  1.651575e-09 -3.955255e-09
+ 1.185634e-02  1.252811e-02 -2.299115e-01 -3.057679e-01  5.104829e-10 -1.049928e-09
+ 1.185634e-02  1.268770e-02 -2.300944e-01 -3.057063e-01  3.710172e-08  7.919707e-09
+ 1.185634e-02  1.284531e-02 -2.302787e-01 -3.056443e-01 -3.469563e-08 -1.344234e-08
+ 1.185634e-02  1.300100e-02 -2.304642e-01 -3.055818e-01  1.702600e-08 -3.185995e-09
+ 1.185634e-02  1.315485e-02 -2.306511e-01 -3.055187e-01  4.608771e-09 -5.902235e-09
+ 1.185634e-02  1.330692e-02 -2.308390e-01 -3.054551e-01  2.885223e-09 -3.709228e-09
+ 1.185634e-02  1.345728e-02 -2.310280e-01 -3.053909e-01  1.682924e-08 -3.570501e-09
+ 1.185634e-02  1.360597e-02 -2.312179e-01 -3.053260e-01  2.621849e-09 -2.221100e-09
+ 1.185634e-02  1.375306e-02 -2.314085e-01 -3.052604e-01 -7.646451e-09 -8.618493e-09
+ 1.185634e-02  1.389858e-02 -2.316011e-01 -3.051947e-01 -6.839666e-07 -2.920923e-07
+ 1.185634e-02  1.404260e-02 -2.317945e-01 -3.051284e-01  1.415890e-08  3.480968e-09
+ 1.185634e-02  1.418516e-02 -2.319871e-01 -3.050609e-01  1.488673e-08 -4.629169e-10
+ 1.185634e-02  1.432630e-02 -2.321805e-01 -3.049927e-01 -1.291801e-09 -3.371918e-10
+ 1.185634e-02  1.446606e-02 -2.323744e-01 -3.049238e-01  7.701048e-09  4.583390e-10
+ 1.185634e-02  1.460449e-02 -2.325687e-01 -3.048542e-01 -1.385453e-09 -7.800305e-11
+ 1.185634e-02  1.474161e-02 -2.327631e-01 -3.047838e-01 -2.639744e-09 -4.122203e-12
+ 1.185634e-02  1.487748e-02 -2.329577e-01 -3.047126e-01  2.169128e-08 -3.516093e-11
+ 1.185634e-02  1.501211e-02 -2.331522e-01 -3.046406e-01 -2.802260e-09 -1.515766e-09
+ 1.185634e-02  1.514554e-02 -2.333466e-01 -3.045678e-01 -1.622140e-08  5.995415e-09
+ 1.185634e-02  1.527781e-02 -2.335408e-01 -3.044941e-01 -8.993350e-09 -7.587000e-09
+ 1.185634e-02  1.540894e-02 -2.337347e-01 -3.044195e-01 -1.734927e-09 -4.930755e-10
+ 1.185634e-02  1.553897e-02 -2.339280e-01 -3.043440e-01  3.173505e-08 -1.846934e-08
+ 1.185634e-02  1.566792e-02 -2.341208e-01 -3.042676e-01 -1.680423e-09 -5.019977e-09
+ 1.185634e-02  1.579582e-02 -2.343130e-01 -3.041902e-01 -2.327122e-08  6.636606e-08
+ 1.185634e-02  1.592268e-02 -2.345043e-01 -3.041118e-01  5.141707e-09 -1.416814e-08
+ 1.185634e-02  1.604855e-02 -2.346946e-01 -3.040325e-01  7.112672e-09 -1.090996e-08
+ 1.185634e-02  1.617343e-02 -2.348842e-01 -3.039522e-01  1.349227e-07  8.953556e-09
+ 1.185634e-02  1.629736e-02 -2.350714e-01 -3.038707e-01 -1.521529e-07  4.197847e-09
+ 1.185634e-02  1.642036e-02 -2.352588e-01 -3.037883e-01  7.090901e-08 -7.635179e-09
+ 1.185634e-02  1.654243e-02 -2.354454e-01 -3.037047e-01 -8.694555e-07 -7.647967e-08
+ 1.185634e-02  1.666362e-02 -2.356282e-01 -3.036199e-01  3.578089e-07  2.652882e-08
+ 1.185634e-02  1.678393e-02 -2.358107e-01 -3.035341e-01  9.759346e-08  1.546346e-08
+ 1.185634e-02  1.690338e-02 -2.359913e-01 -3.034470e-01  1.112673e-07 -1.027946e-08
+ 1.185634e-02  1.702200e-02 -2.361700e-01 -3.033587e-01 -3.327018e-08  1.143244e-09
+ 1.185634e-02  1.713979e-02 -2.363467e-01 -3.032691e-01  8.693824e-08 -9.624005e-09
+ 1.185634e-02  1.725678e-02 -2.365213e-01 -3.031782e-01 -9.866199e-08  6.484672e-09
+ 1.185634e-02  1.737298e-02 -2.366931e-01 -3.030857e-01 -2.075745e-08 -2.258050e-08
+ 1.185634e-02  1.748841e-02 -2.368565e-01 -3.029875e-01  3.286501e-06  2.944756e-06
+ 1.185634e-02  1.760308e-02 -2.370350e-01 -3.029004e-01  3.610295e-07  4.713287e-07
+ 1.185634e-02  1.771701e-02 -2.371987e-01 -3.028033e-01 -8.492340e-07  7.034226e-09
+ 1.185634e-02  1.783022e-02 -2.373633e-01 -3.027054e-01  7.054064e-07 -7.862175e-09
+ 1.185634e-02  1.794270e-02 -2.375208e-01 -3.026062e-01  7.831025e-07  4.583782e-08
+ 1.185634e-02  1.805449e-02 -2.376787e-01 -3.025056e-01  3.735347e-07  1.229028e-08
+ 1.185634e-02  1.816559e-02 -2.378328e-01 -3.024033e-01  6.590105e-08 -7.295215e-09
+ 1.185634e-02  1.827602e-02 -2.379852e-01 -3.022996e-01 -1.097969e-06 -8.532559e-08
+ 1.185634e-02  1.838578e-02 -2.381330e-01 -3.021941e-01  1.201428e-06 -2.799263e-08
+ 1.185634e-02  1.849489e-02 -2.382782e-01 -3.020870e-01  1.352967e-07 -5.474904e-09
+ 1.185634e-02  1.860336e-02 -2.384206e-01 -3.019783e-01  3.107752e-08 -3.883031e-08
+ 1.185634e-02  1.871120e-02 -2.385596e-01 -3.018678e-01 -1.042060e-07  1.284432e-07
+ 1.185634e-02  1.881842e-02 -2.386977e-01 -3.017524e-01 -1.762970e-06  2.156283e-06
+ 1.185634e-02  1.892503e-02 -2.388287e-01 -3.016403e-01  2.075343e-07 -1.676333e-07
+ 1.185634e-02  1.903105e-02 -2.389582e-01 -3.015241e-01 -8.072712e-09  2.468780e-08
+ 1.185634e-02  1.913648e-02 -2.390843e-01 -3.014059e-01 -1.702862e-08 -3.544122e-10
+ 1.185634e-02  1.924133e-02 -2.392071e-01 -3.012858e-01  6.853285e-08  1.640636e-08
+ 1.185634e-02  1.934562e-02 -2.393269e-01 -3.011636e-01 -3.872684e-07  1.566902e-07
+ 1.185634e-02  1.944934e-02 -2.394430e-01 -3.010391e-01  2.203432e-07  9.814365e-08
+ 1.185634e-02  1.955252e-02 -2.395559e-01 -3.009124e-01  1.883144e-07  9.085061e-08
+ 1.185634e-02  1.965515e-02 -2.396660e-01 -3.007839e-01  4.177875e-08  1.986519e-08
+ 1.185634e-02  1.975725e-02 -2.397728e-01 -3.006531e-01  6.476218e-08  3.283802e-09
+ 1.185634e-02  1.985883e-02 -2.398764e-01 -3.005202e-01 -2.772234e-08 -6.284721e-10
+ 1.185634e-02  1.995989e-02 -2.399767e-01 -3.003855e-01 -1.184990e-07 -1.028461e-08
+ 1.185634e-02  2.006044e-02 -2.400732e-01 -3.002494e-01 -4.611176e-08 -1.319356e-07
+ 1.185634e-02  2.016048e-02 -2.401642e-01 -3.001124e-01 -9.782627e-07  9.064620e-07
+ 1.185634e-02  2.026004e-02 -2.402164e-01 -3.000086e-01  9.967815e-07 -6.945209e-07
+ 1.185634e-02  2.035910e-02 -2.403905e-01 -2.997827e-01  9.247411e-06 -5.748953e-06
+ 1.185634e-02  2.045769e-02 -2.404703e-01 -2.996465e-01 -4.861218e-07  2.565248e-08
+ 1.185634e-02  2.055580e-02 -2.405538e-01 -2.994993e-01  5.032381e-07 -2.703391e-08
+ 1.185634e-02  2.065345e-02 -2.406398e-01 -2.993466e-01 -1.362385e-06  6.773721e-08
+ 1.185634e-02  2.075064e-02 -2.407246e-01 -2.991900e-01 -1.272394e-06  7.088751e-08
+ 1.185634e-02  2.084738e-02 -2.408082e-01 -2.990298e-01  4.561728e-07 -4.528224e-09
+ 1.185634e-02  2.094367e-02 -2.408927e-01 -2.988662e-01 -6.259289e-08  3.666874e-08
+ 1.185634e-02  2.103951e-02 -2.409772e-01 -2.986979e-01 -6.585282e-08  6.248656e-08
+ 1.185634e-02  2.113493e-02 -2.410610e-01 -2.985271e-01 -1.559297e-07 -2.320024e-08
+ 1.185634e-02  2.122991e-02 -2.411453e-01 -2.983521e-01  1.389277e-07  1.110762e-08
+ 1.185634e-02  2.132447e-02 -2.412291e-01 -2.981731e-01  1.271763e-07  8.990704e-10
+ 1.185634e-02  2.141862e-02 -2.413120e-01 -2.979919e-01  2.941323e-07 -6.347630e-07
+ 1.185634e-02  2.151235e-02 -2.414382e-01 -2.977406e-01 -3.202838e-05  4.033044e-05
+ 1.185634e-02  2.160567e-02 -2.414970e-01 -2.975847e-01  1.769226e-08 -1.296782e-08
+ 1.185634e-02  2.169860e-02 -2.415812e-01 -2.973825e-01  1.457135e-07 -8.068512e-08
+ 1.185634e-02  2.179112e-02 -2.416673e-01 -2.971671e-01  1.351908e-07  1.563750e-08
+ 1.185634e-02  2.188326e-02 -2.417526e-01 -2.969385e-01 -8.807086e-08 -1.523517e-08
+ 1.185634e-02  2.197501e-02 -2.418397e-01 -2.966884e-01  1.400049e-05 -1.653563e-05
+ 1.185634e-02  2.206638e-02 -2.419165e-01 -2.964233e-01 -2.697537e-06 -3.863796e-07
+ 1.185634e-02  2.215737e-02 -2.419978e-01 -2.961162e-01 -2.734313e-07 -8.235392e-08
+ 1.185634e-02  2.224799e-02 -2.420584e-01 -2.957378e-01 -1.745556e-05 -1.741219e-06
+ 1.185634e-02  2.233824e-02 -2.422156e-01 -2.951929e-01  7.697187e-06  2.709969e-07
+ 1.185634e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.185634e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.422233e-01  2.951932e-01
+ 1.202451e-02  1.000000e-06 -2.250559e-01 -3.083807e-01  3.370480e-09 -1.154227e-10
+ 1.202451e-02  2.006944e-03 -2.251406e-01 -3.083078e-01  4.302746e-10 -3.312486e-09
+ 1.202451e-02  2.837833e-03 -2.252279e-01 -3.082361e-01 -5.566289e-11  4.114648e-09
+ 1.202451e-02  3.475396e-03 -2.253181e-01 -3.081658e-01 -6.507967e-10  2.000792e-09
+ 1.202451e-02  4.012887e-03 -2.254111e-01 -3.080965e-01  1.866573e-09  3.061982e-09
+ 1.202451e-02  4.486426e-03 -2.255069e-01 -3.080283e-01 -6.696254e-09 -2.048340e-09
+ 1.202451e-02  4.914538e-03 -2.256055e-01 -3.079611e-01  6.669253e-09 -8.772972e-10
+ 1.202451e-02  5.308228e-03 -2.257069e-01 -3.078949e-01  2.723376e-09  1.363442e-10
+ 1.202451e-02  5.674665e-03 -2.258110e-01 -3.078295e-01 -5.605808e-09  3.145818e-09
+ 1.202451e-02  6.018831e-03 -2.259179e-01 -3.077649e-01 -1.210130e-09  4.349532e-09
+ 1.202451e-02  6.344350e-03 -2.260275e-01 -3.077011e-01  2.322738e-09  3.290144e-09
+ 1.202451e-02  6.653962e-03 -2.261399e-01 -3.076379e-01  3.075166e-09  4.330226e-10
+ 1.202451e-02  6.949792e-03 -2.262549e-01 -3.075754e-01 -2.737975e-09  7.875523e-09
+ 1.202451e-02  7.233532e-03 -2.263727e-01 -3.075134e-01 -6.602620e-09  2.671124e-08
+ 1.202451e-02  7.506553e-03 -2.264931e-01 -3.074520e-01 -1.469208e-09  2.281320e-11
+ 1.202451e-02  7.769986e-03 -2.266161e-01 -3.073910e-01  6.997038e-09  1.239539e-09
+ 1.202451e-02  8.024774e-03 -2.267418e-01 -3.073304e-01 -3.257723e-08  1.021003e-07
+ 1.202451e-02  8.271717e-03 -2.268701e-01 -3.072702e-01 -2.352031e-08  7.034783e-08
+ 1.202451e-02  8.511498e-03 -2.270010e-01 -3.072100e-01 -5.587105e-08  1.709696e-07
+ 1.202451e-02  8.744705e-03 -2.271343e-01 -3.071507e-01 -2.198921e-08  6.574010e-08
+ 1.202451e-02  8.971852e-03 -2.272697e-01 -3.070925e-01  2.613013e-07 -6.598778e-07
+ 1.202451e-02  9.193388e-03 -2.274082e-01 -3.070330e-01  7.995757e-07 -1.888628e-06
+ 1.202451e-02  9.409709e-03 -2.275495e-01 -3.069727e-01 -5.103540e-07  1.148788e-06
+ 1.202451e-02  9.621167e-03 -2.276925e-01 -3.069141e-01  1.673045e-09 -4.709755e-09
+ 1.202451e-02  9.828076e-03 -2.278380e-01 -3.068553e-01  4.368477e-07 -8.650951e-07
+ 1.202451e-02  1.003072e-02 -2.279868e-01 -3.067948e-01 -7.908964e-07  1.490495e-06
+ 1.202451e-02  1.022935e-02 -2.281369e-01 -3.067360e-01 -1.036634e-06  1.849983e-06
+ 1.202451e-02  1.042419e-02 -2.282885e-01 -3.066785e-01  7.232295e-07 -1.221360e-06
+ 1.202451e-02  1.061546e-02 -2.284431e-01 -3.066194e-01  2.967538e-09 -5.026385e-09
+ 1.202451e-02  1.080334e-02 -2.286001e-01 -3.065598e-01 -1.693055e-08  3.458901e-08
+ 1.202451e-02  1.098801e-02 -2.287589e-01 -3.065005e-01  8.044556e-08 -1.198901e-07
+ 1.202451e-02  1.116962e-02 -2.289199e-01 -3.064407e-01  4.114596e-08 -5.709806e-08
+ 1.202451e-02  1.134833e-02 -2.290828e-01 -3.063809e-01  5.178469e-08 -5.833567e-08
+ 1.202451e-02  1.152427e-02 -2.292477e-01 -3.063207e-01  4.544885e-09 -6.303453e-09
+ 1.202451e-02  1.169756e-02 -2.294145e-01 -3.062603e-01  1.505480e-09  2.167217e-09
+ 1.202451e-02  1.186832e-02 -2.295836e-01 -3.061999e-01 -3.118492e-07 -2.168972e-07
+ 1.202451e-02  1.203666e-02 -2.297528e-01 -3.061380e-01  1.436947e-07  9.263346e-08
+ 1.202451e-02  1.220268e-02 -2.299250e-01 -3.060766e-01  1.864088e-08 -2.023760e-08
+ 1.202451e-02  1.236647e-02 -2.300986e-01 -3.060147e-01  4.040643e-08 -3.687951e-09
+ 1.202451e-02  1.252811e-02 -2.302737e-01 -3.059523e-01  7.646799e-09 -7.711571e-09
+ 1.202451e-02  1.268770e-02 -2.304503e-01 -3.058894e-01 -1.120780e-08 -6.673631e-09
+ 1.202451e-02  1.284531e-02 -2.306282e-01 -3.058260e-01  1.062227e-09  4.444165e-10
+ 1.202451e-02  1.300100e-02 -2.308075e-01 -3.057621e-01  2.494769e-10 -1.242909e-09
+ 1.202451e-02  1.315485e-02 -2.309879e-01 -3.056976e-01  1.762390e-08 -1.239290e-09
+ 1.202451e-02  1.330692e-02 -2.311693e-01 -3.056324e-01  1.242452e-08 -7.874741e-09
+ 1.202451e-02  1.345728e-02 -2.313513e-01 -3.055665e-01 -2.829015e-07 -1.057744e-07
+ 1.202451e-02  1.360597e-02 -2.315409e-01 -3.055027e-01 -6.407370e-07 -2.731980e-07
+ 1.202451e-02  1.375306e-02 -2.317220e-01 -3.054343e-01  2.730003e-08 -8.608456e-09
+ 1.202451e-02  1.389858e-02 -2.319069e-01 -3.053666e-01  1.409772e-08 -2.419229e-09
+ 1.202451e-02  1.404260e-02 -2.320929e-01 -3.052983e-01  7.095737e-10 -1.850298e-09
+ 1.202451e-02  1.418516e-02 -2.322795e-01 -3.052292e-01 -5.421422e-10 -1.997648e-09
+ 1.202451e-02  1.432630e-02 -2.324666e-01 -3.051595e-01  1.882441e-08 -1.222707e-09
+ 1.202451e-02  1.446606e-02 -2.326542e-01 -3.050890e-01 -5.261130e-11 -2.329896e-09
+ 1.202451e-02  1.460449e-02 -2.328421e-01 -3.050178e-01  5.131664e-09 -1.059964e-09
+ 1.202451e-02  1.474161e-02 -2.330302e-01 -3.049458e-01  6.699132e-09 -5.629227e-10
+ 1.202451e-02  1.487748e-02 -2.332183e-01 -3.048729e-01 -6.686829e-08 -2.284255e-08
+ 1.202451e-02  1.501211e-02 -2.334065e-01 -3.047992e-01  2.368104e-08  1.010539e-09
+ 1.202451e-02  1.514554e-02 -2.335946e-01 -3.047246e-01 -1.061984e-09  8.217815e-12
+ 1.202451e-02  1.527781e-02 -2.337824e-01 -3.046492e-01  4.900547e-09 -1.421211e-09
+ 1.202451e-02  1.540894e-02 -2.339699e-01 -3.045728e-01 -2.457702e-09  6.447763e-10
+ 1.202451e-02  1.553897e-02 -2.341569e-01 -3.044956e-01  1.246422e-09  1.669997e-12
+ 1.202451e-02  1.566792e-02 -2.343434e-01 -3.044173e-01  1.683159e-08 -5.587409e-09
+ 1.202451e-02  1.579582e-02 -2.345292e-01 -3.043381e-01 -5.282302e-08  5.044156e-09
+ 1.202451e-02  1.592268e-02 -2.347142e-01 -3.042580e-01 -8.544057e-08 -1.242542e-08
+ 1.202451e-02  1.604855e-02 -2.348983e-01 -3.041768e-01 -1.479771e-07 -1.605379e-08
+ 1.202451e-02  1.617343e-02 -2.350806e-01 -3.040944e-01  9.875854e-07  1.524500e-07
+ 1.202451e-02  1.629736e-02 -2.352634e-01 -3.040112e-01 -1.330506e-07 -5.960866e-09
+ 1.202451e-02  1.642036e-02 -2.354439e-01 -3.039269e-01  5.697625e-07  2.491066e-09
+ 1.202451e-02  1.654243e-02 -2.356229e-01 -3.038413e-01 -5.365264e-07 -6.067798e-08
+ 1.202451e-02  1.666362e-02 -2.358006e-01 -3.037547e-01  2.614457e-08 -9.907312e-08
+ 1.202451e-02  1.678393e-02 -2.359767e-01 -3.036668e-01 -1.040809e-08 -1.705848e-08
+ 1.202451e-02  1.690338e-02 -2.361511e-01 -3.035778e-01 -4.904044e-08  3.015053e-08
+ 1.202451e-02  1.702200e-02 -2.363235e-01 -3.034875e-01  7.793662e-09  5.050501e-10
+ 1.202451e-02  1.713979e-02 -2.364940e-01 -3.033959e-01 -1.287572e-08  2.611846e-09
+ 1.202451e-02  1.725678e-02 -2.366621e-01 -3.033028e-01  1.163947e-08  1.117007e-09
+ 1.202451e-02  1.737298e-02 -2.368258e-01 -3.032068e-01  2.047014e-06  1.356981e-06
+ 1.202451e-02  1.748841e-02 -2.370033e-01 -3.031215e-01 -4.803079e-06 -4.018297e-06
+ 1.202451e-02  1.760308e-02 -2.371568e-01 -3.030190e-01 -1.221812e-06  2.552512e-08
+ 1.202451e-02  1.771701e-02 -2.373154e-01 -3.029204e-01 -2.162302e-07  2.057438e-09
+ 1.202451e-02  1.783022e-02 -2.374751e-01 -3.028206e-01 -2.425063e-06  2.021731e-09
+ 1.202451e-02  1.794270e-02 -2.376263e-01 -3.027193e-01  9.753820e-07  6.682069e-09
+ 1.202451e-02  1.805449e-02 -2.377779e-01 -3.026168e-01  3.468352e-07 -5.749629e-09
+ 1.202451e-02  1.816559e-02 -2.379257e-01 -3.025125e-01  1.444528e-06  1.159035e-07
+ 1.202451e-02  1.827602e-02 -2.380723e-01 -3.024069e-01 -9.263266e-08 -7.840691e-09
+ 1.202451e-02  1.838578e-02 -2.382149e-01 -3.022995e-01  3.174900e-07  2.512523e-08
+ 1.202451e-02  1.849489e-02 -2.383545e-01 -3.021905e-01  3.068049e-07  2.295975e-08
+ 1.202451e-02  1.860336e-02 -2.384913e-01 -3.020797e-01 -5.302201e-08  4.838091e-09
+ 1.202451e-02  1.871120e-02 -2.386240e-01 -3.019674e-01  1.727999e-07 -3.243523e-08
+ 1.202451e-02  1.881842e-02 -2.387529e-01 -3.018555e-01  3.895879e-07 -5.684556e-07
+ 1.202451e-02  1.892503e-02 -2.388823e-01 -3.017360e-01  4.491674e-08  8.745593e-09
+ 1.202451e-02  1.903105e-02 -2.390061e-01 -3.016182e-01  2.424904e-08 -4.325093e-09
+ 1.202451e-02  1.913648e-02 -2.391268e-01 -3.014985e-01 -6.512954e-08 -2.213580e-08
+ 1.202451e-02  1.924133e-02 -2.392443e-01 -3.013766e-01  9.357873e-07  3.443107e-07
+ 1.202451e-02  1.934562e-02 -2.393580e-01 -3.012525e-01 -3.943826e-07 -1.855618e-07
+ 1.202451e-02  1.944934e-02 -2.394694e-01 -3.011265e-01 -2.972203e-08  2.087869e-08
+ 1.202451e-02  1.955252e-02 -2.395775e-01 -3.009986e-01 -1.889480e-08 -8.387161e-09
+ 1.202451e-02  1.965515e-02 -2.396825e-01 -3.008686e-01  1.934973e-08  1.640214e-09
+ 1.202451e-02  1.975725e-02 -2.397845e-01 -3.007364e-01  9.629269e-08  1.230257e-09
+ 1.202451e-02  1.985883e-02 -2.398836e-01 -3.006023e-01 -1.130261e-08 -6.526729e-11
+ 1.202451e-02  1.995989e-02 -2.399797e-01 -3.004662e-01 -6.977777e-08  1.714513e-09
+ 1.202451e-02  2.006044e-02 -2.400723e-01 -3.003287e-01  1.998287e-09  8.694325e-09
+ 1.202451e-02  2.016048e-02 -2.401611e-01 -3.001899e-01  6.664237e-07 -1.759718e-06
+ 1.202451e-02  2.026004e-02 -2.402434e-01 -3.000540e-01  2.822678e-06 -5.606894e-06
+ 1.202451e-02  2.035910e-02 -2.404021e-01 -2.998114e-01 -5.780996e-05  6.650161e-05
+ 1.202451e-02  2.045769e-02 -2.404569e-01 -2.997113e-01  5.267250e-07  3.876413e-08
+ 1.202451e-02  2.055580e-02 -2.405351e-01 -2.995696e-01 -2.530517e-08 -3.433880e-08
+ 1.202451e-02  2.065345e-02 -2.406161e-01 -2.994189e-01  6.864488e-07 -3.460290e-08
+ 1.202451e-02  2.075064e-02 -2.406996e-01 -2.992632e-01  1.413487e-09  8.891585e-09
+ 1.202451e-02  2.084738e-02 -2.407811e-01 -2.991040e-01  1.711905e-07  1.981068e-08
+ 1.202451e-02  2.094367e-02 -2.408639e-01 -2.989413e-01  3.413322e-08  1.484553e-08
+ 1.202451e-02  2.103951e-02 -2.409496e-01 -2.987718e-01 -1.285214e-06  2.556194e-06
+ 1.202451e-02  2.113493e-02 -2.410320e-01 -2.986051e-01  5.501504e-07  1.613951e-07
+ 1.202451e-02  2.122991e-02 -2.411182e-01 -2.984321e-01  1.098641e-07  3.838750e-08
+ 1.202451e-02  2.132447e-02 -2.412056e-01 -2.982557e-01  2.312954e-07  2.678587e-08
+ 1.202451e-02  2.141862e-02 -2.412940e-01 -2.980765e-01 -4.520782e-08 -1.111202e-08
+ 1.202451e-02  2.151235e-02 -2.413794e-01 -2.978996e-01  2.819202e-06 -5.867227e-06
+ 1.202451e-02  2.160567e-02 -2.414986e-01 -2.976671e-01 -6.023192e-08  7.092985e-08
+ 1.202451e-02  2.169860e-02 -2.415901e-01 -2.974793e-01  3.507429e-07 -1.126307e-07
+ 1.202451e-02  2.179112e-02 -2.416893e-01 -2.972743e-01  2.617146e-07  1.263142e-08
+ 1.202451e-02  2.188326e-02 -2.417937e-01 -2.970566e-01 -2.819114e-07 -1.384789e-08
+ 1.202451e-02  2.197501e-02 -2.419011e-01 -2.968253e-01  3.576281e-08 -2.756598e-07
+ 1.202451e-02  2.206638e-02 -2.420085e-01 -2.965794e-01 -6.506853e-07  6.218474e-07
+ 1.202451e-02  2.215737e-02 -2.421240e-01 -2.963031e-01 -7.025717e-07  1.391141e-06
+ 1.202451e-02  2.224799e-02 -2.422454e-01 -2.959884e-01 -6.756926e-07  1.365112e-06
+ 1.202451e-02  2.233824e-02 -2.423579e-01 -2.955906e-01  1.218693e-06  2.432009e-06
+ 1.202451e-02  2.242813e-02 -2.426209e-01 -2.950152e-01  1.801469e-05  2.405526e-05
+ 1.202451e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.202451e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.426390e-01  2.950393e-01
+ 1.219036e-02  1.000000e-06 -2.256498e-01 -3.085892e-01  5.847305e-09 -2.114344e-10
+ 1.219036e-02  2.006944e-03 -2.257283e-01 -3.085163e-01  2.019435e-09  6.106145e-09
+ 1.219036e-02  2.837833e-03 -2.258097e-01 -3.084447e-01 -5.015384e-09 -1.814251e-09
+ 1.219036e-02  3.475396e-03 -2.258938e-01 -3.083742e-01 -1.000778e-09 -1.807192e-10
+ 1.219036e-02  4.012887e-03 -2.259808e-01 -3.083049e-01 -1.092729e-09 -6.141974e-10
+ 1.219036e-02  4.486426e-03 -2.260706e-01 -3.082366e-01  6.003016e-09  8.085405e-11
+ 1.219036e-02  4.914538e-03 -2.261632e-01 -3.081692e-01  1.650297e-09  1.641022e-09
+ 1.219036e-02  5.308228e-03 -2.262586e-01 -3.081028e-01 -1.057049e-09  1.086814e-09
+ 1.219036e-02  5.674665e-03 -2.263567e-01 -3.080371e-01  6.864040e-10 -7.582014e-10
+ 1.219036e-02  6.018831e-03 -2.264576e-01 -3.079723e-01 -3.475163e-09  2.163438e-10
+ 1.219036e-02  6.344350e-03 -2.265613e-01 -3.079081e-01  5.798154e-09  5.148596e-09
+ 1.219036e-02  6.653962e-03 -2.266677e-01 -3.078445e-01  2.299766e-09  8.333891e-09
+ 1.219036e-02  6.949792e-03 -2.267768e-01 -3.077816e-01 -2.432190e-09 -1.004142e-09
+ 1.219036e-02  7.233532e-03 -2.268886e-01 -3.077192e-01 -1.705237e-09  4.936131e-09
+ 1.219036e-02  7.506553e-03 -2.270030e-01 -3.076572e-01 -4.346222e-09  3.439742e-08
+ 1.219036e-02  7.769986e-03 -2.271201e-01 -3.075957e-01 -8.903182e-10  9.133670e-09
+ 1.219036e-02  8.024774e-03 -2.272398e-01 -3.075345e-01 -4.574538e-09  3.830010e-10
+ 1.219036e-02  8.271717e-03 -2.273621e-01 -3.074738e-01 -9.161627e-09  7.734427e-08
+ 1.219036e-02  8.511498e-03 -2.274870e-01 -3.074132e-01 -3.251933e-08  1.017261e-07
+ 1.219036e-02  8.744705e-03 -2.276145e-01 -3.073526e-01 -1.230321e-07  3.598768e-07
+ 1.219036e-02  8.971852e-03 -2.277442e-01 -3.072930e-01  1.649205e-07 -4.341969e-07
+ 1.219036e-02  9.193388e-03 -2.278761e-01 -3.072342e-01  1.369632e-07 -3.362924e-07
+ 1.219036e-02  9.409709e-03 -2.280111e-01 -3.071738e-01  9.016159e-07 -2.056683e-06
+ 1.219036e-02  9.621167e-03 -2.281488e-01 -3.071128e-01 -5.387336e-07  1.171208e-06
+ 1.219036e-02  9.828076e-03 -2.282881e-01 -3.070536e-01  1.973337e-08 -4.561352e-08
+ 1.219036e-02  1.003072e-02 -2.284300e-01 -3.069937e-01  2.411027e-07 -4.701758e-07
+ 1.219036e-02  1.022935e-02 -2.285750e-01 -3.069322e-01 -5.786179e-07  1.081628e-06
+ 1.219036e-02  1.042419e-02 -2.287211e-01 -3.068727e-01 -1.264538e-06  2.207466e-06
+ 1.219036e-02  1.061546e-02 -2.288688e-01 -3.068141e-01  8.453923e-07 -1.406935e-06
+ 1.219036e-02  1.080334e-02 -2.290196e-01 -3.067537e-01  3.566973e-08 -3.976260e-08
+ 1.219036e-02  1.098801e-02 -2.291726e-01 -3.066929e-01 -2.089291e-08  3.021786e-08
+ 1.219036e-02  1.116962e-02 -2.293273e-01 -3.066324e-01  5.260381e-08 -7.785523e-08
+ 1.219036e-02  1.134833e-02 -2.294842e-01 -3.065713e-01  4.586968e-08 -4.942411e-08
+ 1.219036e-02  1.152427e-02 -2.296430e-01 -3.065101e-01  5.520048e-08 -7.191782e-08
+ 1.219036e-02  1.169756e-02 -2.298039e-01 -3.064488e-01  2.550453e-06  1.630029e-06
+ 1.219036e-02  1.186832e-02 -2.299654e-01 -3.063862e-01  6.913068e-08  3.798522e-08
+ 1.219036e-02  1.203666e-02 -2.301296e-01 -3.063240e-01 -1.207480e-08 -6.089709e-09
+ 1.219036e-02  1.220268e-02 -2.302954e-01 -3.062612e-01 -5.070808e-09 -6.465271e-09
+ 1.219036e-02  1.236647e-02 -2.304628e-01 -3.061980e-01  8.207394e-09 -1.935757e-08
+ 1.219036e-02  1.252811e-02 -2.306317e-01 -3.061343e-01  1.195286e-08 -1.081126e-08
+ 1.219036e-02  1.268770e-02 -2.308019e-01 -3.060700e-01  1.089219e-08 -1.282335e-08
+ 1.219036e-02  1.284531e-02 -2.309735e-01 -3.060053e-01  2.003149e-08 -5.261021e-09
+ 1.219036e-02  1.300100e-02 -2.311461e-01 -3.059398e-01 -3.027426e-08  1.826881e-10
+ 1.219036e-02  1.315485e-02 -2.313160e-01 -3.058722e-01  4.408845e-06  1.801441e-06
+ 1.219036e-02  1.330692e-02 -2.314995e-01 -3.058091e-01 -1.172770e-06 -5.145644e-07
+ 1.219036e-02  1.345728e-02 -2.316741e-01 -3.057412e-01 -6.877599e-09  2.060099e-09
+ 1.219036e-02  1.360597e-02 -2.318513e-01 -3.056734e-01  3.238101e-09 -1.451626e-09
+ 1.219036e-02  1.375306e-02 -2.320294e-01 -3.056050e-01  1.153609e-08 -3.362977e-09
+ 1.219036e-02  1.389858e-02 -2.322084e-01 -3.055358e-01  2.862047e-09 -3.177590e-09
+ 1.219036e-02  1.404260e-02 -2.323882e-01 -3.054660e-01  1.574194e-08 -2.471176e-09
+ 1.219036e-02  1.418516e-02 -2.325685e-01 -3.053955e-01  2.286900e-09 -2.047170e-09
+ 1.219036e-02  1.432630e-02 -2.327494e-01 -3.053242e-01  1.508218e-09 -2.216841e-09
+ 1.219036e-02  1.446606e-02 -2.329307e-01 -3.052521e-01  5.348058e-08  8.678053e-09
+ 1.219036e-02  1.460449e-02 -2.331122e-01 -3.051793e-01 -1.299210e-09 -3.026500e-09
+ 1.219036e-02  1.474161e-02 -2.332940e-01 -3.051056e-01  1.782617e-09 -2.709431e-09
+ 1.219036e-02  1.487748e-02 -2.334759e-01 -3.050310e-01  2.062342e-08 -1.476818e-09
+ 1.219036e-02  1.501211e-02 -2.336577e-01 -3.049557e-01  1.745020e-09 -1.067722e-09
+ 1.219036e-02  1.514554e-02 -2.338395e-01 -3.048794e-01  1.550135e-08 -3.882541e-09
+ 1.219036e-02  1.527781e-02 -2.340210e-01 -3.048022e-01 -4.285480e-09  1.448816e-09
+ 1.219036e-02  1.540894e-02 -2.342021e-01 -3.047241e-01 -1.155086e-08  6.233167e-09
+ 1.219036e-02  1.553897e-02 -2.343829e-01 -3.046450e-01  2.719967e-08 -7.278473e-09
+ 1.219036e-02  1.566792e-02 -2.345630e-01 -3.045650e-01 -7.822144e-09  1.182125e-09
+ 1.219036e-02  1.579582e-02 -2.347425e-01 -3.044840e-01  2.527829e-08 -1.232490e-08
+ 1.219036e-02  1.592268e-02 -2.349211e-01 -3.044020e-01 -7.820870e-09 -4.161692e-09
+ 1.219036e-02  1.604855e-02 -2.350991e-01 -3.043190e-01 -1.553912e-07 -2.428369e-08
+ 1.219036e-02  1.617343e-02 -2.352751e-01 -3.042348e-01 -1.987219e-07 -1.602302e-08
+ 1.219036e-02  1.629736e-02 -2.354510e-01 -3.041497e-01 -2.981482e-09 -2.430926e-08
+ 1.219036e-02  1.642036e-02 -2.356265e-01 -3.040635e-01 -8.170550e-07 -1.413583e-07
+ 1.219036e-02  1.654243e-02 -2.357983e-01 -3.039759e-01  4.649308e-07  1.005154e-07
+ 1.219036e-02  1.666362e-02 -2.359699e-01 -3.038874e-01  1.158931e-07  3.526448e-08
+ 1.219036e-02  1.678393e-02 -2.361398e-01 -3.037976e-01 -1.678030e-09  3.476537e-09
+ 1.219036e-02  1.690338e-02 -2.363079e-01 -3.037066e-01  2.000483e-08 -3.560511e-08
+ 1.219036e-02  1.702200e-02 -2.364740e-01 -3.036143e-01 -1.298895e-08  5.781004e-09
+ 1.219036e-02  1.713979e-02 -2.366381e-01 -3.035205e-01 -1.780526e-08  3.317610e-08
+ 1.219036e-02  1.725678e-02 -2.367993e-01 -3.034250e-01 -1.572163e-08 -3.656178e-08
+ 1.219036e-02  1.737298e-02 -2.369605e-01 -3.033293e-01 -2.183294e-05 -1.589765e-05
+ 1.219036e-02  1.748841e-02 -2.371235e-01 -3.032356e-01  8.337061e-07  2.923554e-08
+ 1.219036e-02  1.760308e-02 -2.372757e-01 -3.031359e-01 -4.034954e-07  2.606637e-09
+ 1.219036e-02  1.771701e-02 -2.374295e-01 -3.030355e-01  7.514812e-07 -4.122889e-10
+ 1.219036e-02  1.783022e-02 -2.375836e-01 -3.029337e-01 -5.759115e-06  2.527558e-09
+ 1.219036e-02  1.794270e-02 -2.377277e-01 -3.028306e-01  1.501522e-06 -3.176431e-10
+ 1.219036e-02  1.805449e-02 -2.378738e-01 -3.027258e-01 -9.573565e-08  7.959197e-08
+ 1.219036e-02  1.816559e-02 -2.380162e-01 -3.026198e-01 -4.207322e-08 -4.575309e-09
+ 1.219036e-02  1.827602e-02 -2.381558e-01 -3.025121e-01 -1.196546e-07 -1.205472e-08
+ 1.219036e-02  1.838578e-02 -2.382923e-01 -3.024028e-01 -3.394169e-07 -3.300844e-08
+ 1.219036e-02  1.849489e-02 -2.384261e-01 -3.022918e-01  4.417051e-08  4.929669e-09
+ 1.219036e-02  1.860336e-02 -2.385579e-01 -3.021793e-01 -1.154456e-06 -1.154615e-07
+ 1.219036e-02  1.871120e-02 -2.386844e-01 -3.020649e-01  4.240102e-07 -5.858763e-09
+ 1.219036e-02  1.881842e-02 -2.388087e-01 -3.019491e-01 -3.923033e-07  2.462281e-07
+ 1.219036e-02  1.892503e-02 -2.389331e-01 -3.018267e-01 -2.387986e-06  3.046111e-06
+ 1.219036e-02  1.903105e-02 -2.390494e-01 -3.017103e-01 -2.361412e-07 -3.223792e-07
+ 1.219036e-02  1.913648e-02 -2.391636e-01 -3.015884e-01 -1.141861e-06 -4.494057e-07
+ 1.219036e-02  1.924133e-02 -2.392753e-01 -3.014648e-01  1.626775e-07  4.457180e-08
+ 1.219036e-02  1.934562e-02 -2.393843e-01 -3.013394e-01 -2.238751e-08 -1.167345e-08
+ 1.219036e-02  1.944934e-02 -2.394900e-01 -3.012118e-01 -1.130568e-08  8.137429e-09
+ 1.219036e-02  1.955252e-02 -2.395928e-01 -3.010822e-01 -9.820919e-09 -4.376043e-09
+ 1.219036e-02  1.965515e-02 -2.396924e-01 -3.009507e-01  4.470723e-08  1.598407e-09
+ 1.219036e-02  1.975725e-02 -2.397892e-01 -3.008171e-01  8.655985e-08  4.513464e-09
+ 1.219036e-02  1.985883e-02 -2.398832e-01 -3.006816e-01 -1.449708e-08  1.039987e-09
+ 1.219036e-02  1.995989e-02 -2.399744e-01 -3.005442e-01 -2.592164e-08  2.275165e-09
+ 1.219036e-02  2.006044e-02 -2.400627e-01 -3.004054e-01  9.617799e-08  4.209227e-08
+ 1.219036e-02  2.016048e-02 -2.401476e-01 -3.002671e-01 -1.918454e-08 -1.724984e-06
+ 1.219036e-02  2.026004e-02 -2.402300e-01 -3.001252e-01 -1.214649e-06  6.976010e-07
+ 1.219036e-02  2.035910e-02 -2.402978e-01 -2.999976e-01  4.605553e-06 -9.050921e-06
+ 1.219036e-02  2.045769e-02 -2.404258e-01 -2.997693e-01  1.212885e-05 -1.284864e-05
+ 1.219036e-02  2.055580e-02 -2.405032e-01 -2.996330e-01 -9.095690e-07  8.045395e-08
+ 1.219036e-02  2.065345e-02 -2.405793e-01 -2.994857e-01  3.978994e-07 -4.287167e-08
+ 1.219036e-02  2.075064e-02 -2.406589e-01 -2.993315e-01 -1.643018e-06  8.798477e-08
+ 1.219036e-02  2.084738e-02 -2.407382e-01 -2.991731e-01 -1.574495e-06  9.050404e-08
+ 1.219036e-02  2.094367e-02 -2.408176e-01 -2.990115e-01  3.275102e-07 -9.755639e-08
+ 1.219036e-02  2.103951e-02 -2.408996e-01 -2.988470e-01  1.784291e-08  1.498849e-07
+ 1.219036e-02  2.113493e-02 -2.409843e-01 -2.986765e-01 -2.771601e-07  4.282263e-07
+ 1.219036e-02  2.122991e-02 -2.410696e-01 -2.985067e-01  1.850464e-07  2.732123e-09
+ 1.219036e-02  2.132447e-02 -2.411576e-01 -2.983325e-01 -4.961820e-07 -1.862453e-07
+ 1.219036e-02  2.141862e-02 -2.412476e-01 -2.981557e-01  7.631863e-07  1.747221e-07
+ 1.219036e-02  2.151235e-02 -2.413399e-01 -2.979797e-01 -1.063231e-07  3.893717e-07
+ 1.219036e-02  2.160567e-02 -2.414790e-01 -2.977093e-01 -5.478067e-06  9.082934e-06
+ 1.219036e-02  2.169860e-02 -2.415617e-01 -2.975649e-01 -2.268830e-07  3.439474e-07
+ 1.219036e-02  2.179112e-02 -2.416698e-01 -2.973707e-01  3.389656e-07 -4.099598e-08
+ 1.219036e-02  2.188326e-02 -2.417864e-01 -2.971634e-01  1.347296e-07 -1.401989e-08
+ 1.219036e-02  2.197501e-02 -2.419102e-01 -2.969451e-01  1.884866e-07  1.718386e-08
+ 1.219036e-02  2.206638e-02 -2.420441e-01 -2.967098e-01  3.979759e-07 -7.429457e-07
+ 1.219036e-02  2.215737e-02 -2.421795e-01 -2.964650e-01  1.397413e-07  9.854885e-08
+ 1.219036e-02  2.224799e-02 -2.423327e-01 -2.961866e-01 -3.625947e-07  4.157052e-08
+ 1.219036e-02  2.233824e-02 -2.425100e-01 -2.958616e-01 -6.004362e-06  5.525022e-06
+ 1.219036e-02  2.242813e-02 -2.426661e-01 -2.954642e-01  1.114859e-04  1.357910e-05
+ 1.219036e-02  2.251766e-02 -2.430354e-01 -2.948720e-01 -6.838107e-06 -2.582619e-06
+ 1.219036e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.219036e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.430286e-01  2.948694e-01
+ 1.235398e-02  1.000000e-06 -2.262379e-01 -3.087953e-01 -1.735196e-10 -4.187734e-09
+ 1.235398e-02  2.006944e-03 -2.263104e-01 -3.087225e-01 -7.595349e-10  2.170042e-10
+ 1.235398e-02  2.837833e-03 -2.263857e-01 -3.086509e-01 -1.250253e-10 -4.439174e-10
+ 1.235398e-02  3.475396e-03 -2.264639e-01 -3.085804e-01 -3.073250e-09 -1.258094e-09
+ 1.235398e-02  4.012887e-03 -2.265449e-01 -3.085110e-01  4.964179e-09 -8.720293e-10
+ 1.235398e-02  4.486426e-03 -2.266287e-01 -3.084425e-01  6.534553e-09 -4.249989e-10
+ 1.235398e-02  4.914538e-03 -2.267153e-01 -3.083750e-01  2.603426e-10  2.252813e-10
+ 1.235398e-02  5.308228e-03 -2.268048e-01 -3.083083e-01 -2.663232e-09  8.031715e-10
+ 1.235398e-02  5.674665e-03 -2.268970e-01 -3.082424e-01 -8.929363e-10  2.656047e-09
+ 1.235398e-02  6.018831e-03 -2.269919e-01 -3.081772e-01  1.732276e-09  2.809578e-09
+ 1.235398e-02  6.344350e-03 -2.270897e-01 -3.081127e-01  1.116795e-08 -6.788268e-10
+ 1.235398e-02  6.653962e-03 -2.271901e-01 -3.080488e-01 -2.286405e-08  2.177633e-09
+ 1.235398e-02  6.949792e-03 -2.272933e-01 -3.079854e-01 -3.950162e-09  1.149057e-08
+ 1.235398e-02  7.233532e-03 -2.273991e-01 -3.079225e-01 -5.407836e-09  1.038497e-09
+ 1.235398e-02  7.506553e-03 -2.275076e-01 -3.078601e-01  4.660072e-09  9.929959e-10
+ 1.235398e-02  7.769986e-03 -2.276188e-01 -3.077980e-01 -2.440189e-09  3.344190e-08
+ 1.235398e-02  8.024774e-03 -2.277326e-01 -3.077363e-01 -8.845127e-09  2.405662e-08
+ 1.235398e-02  8.271717e-03 -2.278490e-01 -3.076748e-01 -5.505053e-09  1.694783e-08
+ 1.235398e-02  8.511498e-03 -2.279679e-01 -3.076137e-01 -1.111677e-08  4.080372e-08
+ 1.235398e-02  8.744705e-03 -2.280893e-01 -3.075527e-01 -3.214499e-08  1.114130e-07
+ 1.235398e-02  8.971852e-03 -2.282134e-01 -3.074915e-01 -2.278991e-07  6.077865e-07
+ 1.235398e-02  9.193388e-03 -2.283395e-01 -3.074315e-01  3.946045e-07 -9.976416e-07
+ 1.235398e-02  9.409709e-03 -2.284679e-01 -3.073720e-01  4.053108e-08 -8.784427e-08
+ 1.235398e-02  9.621167e-03 -2.285994e-01 -3.073106e-01  9.026720e-07 -2.010805e-06
+ 1.235398e-02  9.828076e-03 -2.287335e-01 -3.072488e-01 -4.996727e-07  1.055383e-06
+ 1.235398e-02  1.003072e-02 -2.288690e-01 -3.071889e-01  7.751894e-08 -1.597701e-07
+ 1.235398e-02  1.022935e-02 -2.290073e-01 -3.071278e-01 -6.274587e-08  1.375915e-07
+ 1.235398e-02  1.042419e-02 -2.291485e-01 -3.070653e-01 -3.389194e-07  6.116068e-07
+ 1.235398e-02  1.061546e-02 -2.292907e-01 -3.070050e-01 -1.391357e-06  2.390440e-06
+ 1.235398e-02  1.080334e-02 -2.294345e-01 -3.069452e-01  8.775263e-07 -1.430501e-06
+ 1.235398e-02  1.098801e-02 -2.295814e-01 -3.068834e-01  7.274053e-08 -1.010564e-07
+ 1.235398e-02  1.116962e-02 -2.297304e-01 -3.068214e-01  5.049729e-09 -7.306795e-09
+ 1.235398e-02  1.134833e-02 -2.298812e-01 -3.067596e-01  8.204124e-08 -6.749756e-10
+ 1.235398e-02  1.152427e-02 -2.300332e-01 -3.066967e-01 -1.787970e-06 -1.219378e-06
+ 1.235398e-02  1.169756e-02 -2.301876e-01 -3.066340e-01 -4.656509e-09 -1.199758e-07
+ 1.235398e-02  1.186832e-02 -2.303440e-01 -3.065709e-01  5.645754e-08 -1.734461e-08
+ 1.235398e-02  1.203666e-02 -2.305020e-01 -3.065073e-01  2.333133e-08 -1.719460e-08
+ 1.235398e-02  1.220268e-02 -2.306616e-01 -3.064433e-01  1.358007e-08  3.781789e-09
+ 1.235398e-02  1.236647e-02 -2.308227e-01 -3.063788e-01 -3.250200e-09 -1.601804e-10
+ 1.235398e-02  1.252811e-02 -2.309851e-01 -3.063137e-01  2.292217e-08 -8.173000e-09
+ 1.235398e-02  1.268770e-02 -2.311473e-01 -3.062474e-01  1.433215e-06  5.803281e-07
+ 1.235398e-02  1.284531e-02 -2.313219e-01 -3.061850e-01 -4.467694e-06 -1.844196e-06
+ 1.235398e-02  1.300100e-02 -2.314840e-01 -3.061165e-01  4.269407e-08 -9.794380e-09
+ 1.235398e-02  1.315485e-02 -2.316516e-01 -3.060491e-01  5.290634e-09 -7.038215e-09
+ 1.235398e-02  1.330692e-02 -2.318206e-01 -3.059811e-01  7.016291e-10 -2.343233e-09
+ 1.235398e-02  1.345728e-02 -2.319907e-01 -3.059126e-01  1.653233e-08 -2.806911e-10
+ 1.235398e-02  1.360597e-02 -2.321619e-01 -3.058434e-01 -1.405789e-09  1.806980e-10
+ 1.235398e-02  1.375306e-02 -2.323339e-01 -3.057735e-01 -3.748681e-10 -6.739529e-10
+ 1.235398e-02  1.389858e-02 -2.325067e-01 -3.057030e-01 -3.909888e-08 -1.753937e-08
+ 1.235398e-02  1.404260e-02 -2.326803e-01 -3.056316e-01  1.723554e-09 -1.677495e-09
+ 1.235398e-02  1.418516e-02 -2.328544e-01 -3.055596e-01  1.004042e-08 -2.044723e-09
+ 1.235398e-02  1.432630e-02 -2.330290e-01 -3.054867e-01  1.065340e-08  1.382379e-10
+ 1.235398e-02  1.446606e-02 -2.332040e-01 -3.054130e-01 -8.366436e-10 -2.630775e-09
+ 1.235398e-02  1.460449e-02 -2.333794e-01 -3.053386e-01  1.911305e-08  1.347807e-09
+ 1.235398e-02  1.474161e-02 -2.335549e-01 -3.052632e-01 -8.210037e-10  4.303316e-09
+ 1.235398e-02  1.487748e-02 -2.337305e-01 -3.051871e-01 -2.226619e-09 -4.802224e-09
+ 1.235398e-02  1.501211e-02 -2.339060e-01 -3.051100e-01  2.103055e-08 -2.782492e-10
+ 1.235398e-02  1.514554e-02 -2.340815e-01 -3.050320e-01  6.001692e-09 -9.073898e-09
+ 1.235398e-02  1.527781e-02 -2.342567e-01 -3.049531e-01  2.363236e-09 -1.328877e-09
+ 1.235398e-02  1.540894e-02 -2.344316e-01 -3.048733e-01  3.462120e-08 -5.689455e-09
+ 1.235398e-02  1.553897e-02 -2.346060e-01 -3.047925e-01 -1.517854e-08  6.174953e-09
+ 1.235398e-02  1.566792e-02 -2.347800e-01 -3.047106e-01 -1.122500e-07  3.346353e-08
+ 1.235398e-02  1.579582e-02 -2.349531e-01 -3.046279e-01  7.828877e-09 -7.918349e-10
+ 1.235398e-02  1.592268e-02 -2.351257e-01 -3.045440e-01 -2.938933e-07 -2.776221e-08
+ 1.235398e-02  1.604855e-02 -2.352960e-01 -3.044590e-01  1.890008e-06  1.680653e-07
+ 1.235398e-02  1.617343e-02 -2.354676e-01 -3.043732e-01 -4.795539e-07 -4.338767e-08
+ 1.235398e-02  1.629736e-02 -2.356371e-01 -3.042861e-01  9.143259e-08  8.262400e-09
+ 1.235398e-02  1.642036e-02 -2.358046e-01 -3.041980e-01 -6.168749e-07  1.888548e-07
+ 1.235398e-02  1.654243e-02 -2.359713e-01 -3.041086e-01 -1.302484e-09 -4.063910e-09
+ 1.235398e-02  1.666362e-02 -2.361365e-01 -3.040181e-01 -1.150233e-08 -2.057364e-09
+ 1.235398e-02  1.678393e-02 -2.363000e-01 -3.039262e-01 -3.388236e-08  9.982974e-08
+ 1.235398e-02  1.690338e-02 -2.364618e-01 -3.038333e-01 -1.386343e-08  3.459227e-08
+ 1.235398e-02  1.702200e-02 -2.366215e-01 -3.037389e-01  4.318265e-10  7.681368e-10
+ 1.235398e-02  1.713979e-02 -2.367788e-01 -3.036428e-01  1.164480e-08 -9.713974e-08
+ 1.235398e-02  1.725678e-02 -2.369248e-01 -3.035389e-01  2.991904e-06  2.006422e-06
+ 1.235398e-02  1.737298e-02 -2.370989e-01 -3.034555e-01 -2.228426e-06 -1.867231e-06
+ 1.235398e-02  1.748841e-02 -2.372463e-01 -3.033522e-01  3.773535e-07  2.521310e-09
+ 1.235398e-02  1.760308e-02 -2.373916e-01 -3.032509e-01  2.720044e-06 -1.323281e-09
+ 1.235398e-02  1.771701e-02 -2.375407e-01 -3.031485e-01  2.896492e-07  4.784273e-10
+ 1.235398e-02  1.783022e-02 -2.376881e-01 -3.030447e-01 -4.721723e-06 -3.944233e-09
+ 1.235398e-02  1.794270e-02 -2.378259e-01 -3.029396e-01  2.639611e-07  3.898716e-10
+ 1.235398e-02  1.805449e-02 -2.379660e-01 -3.028330e-01 -1.287523e-07  7.462584e-10
+ 1.235398e-02  1.816559e-02 -2.381025e-01 -3.027248e-01  4.373074e-07 -2.556467e-07
+ 1.235398e-02  1.827602e-02 -2.382359e-01 -3.026152e-01  6.339927e-08  2.048209e-09
+ 1.235398e-02  1.838578e-02 -2.383668e-01 -3.025039e-01 -1.992691e-07 -2.391552e-08
+ 1.235398e-02  1.849489e-02 -2.384932e-01 -3.023909e-01  1.668546e-06  1.711623e-07
+ 1.235398e-02  1.860336e-02 -2.386188e-01 -3.022764e-01  1.789155e-08 -6.192280e-10
+ 1.235398e-02  1.871120e-02 -2.387414e-01 -3.021603e-01 -1.769059e-06 -1.743193e-07
+ 1.235398e-02  1.881842e-02 -2.388589e-01 -3.020423e-01  2.249486e-07 -9.725549e-08
+ 1.235398e-02  1.892503e-02 -2.389723e-01 -3.019260e-01  8.258170e-07 -1.733417e-06
+ 1.235398e-02  1.903105e-02 -2.390862e-01 -3.017990e-01  4.632548e-07  1.719921e-07
+ 1.235398e-02  1.913648e-02 -2.391955e-01 -3.016760e-01  1.213481e-07  1.745326e-08
+ 1.235398e-02  1.924133e-02 -2.393015e-01 -3.015507e-01  9.483273e-08  4.746361e-09
+ 1.235398e-02  1.934562e-02 -2.394044e-01 -3.014235e-01 -4.569391e-09  2.875020e-09
+ 1.235398e-02  1.944934e-02 -2.395043e-01 -3.012943e-01 -1.723709e-08 -5.950428e-09
+ 1.235398e-02  1.955252e-02 -2.396012e-01 -3.011630e-01  1.533465e-07 -1.851561e-07
+ 1.235398e-02  1.965515e-02 -2.396952e-01 -3.010299e-01  4.059941e-08  1.884845e-09
+ 1.235398e-02  1.975725e-02 -2.397863e-01 -3.008948e-01  8.851848e-08  3.775796e-09
+ 1.235398e-02  1.985883e-02 -2.398748e-01 -3.007579e-01  1.079233e-08 -3.052564e-09
+ 1.235398e-02  1.995989e-02 -2.399606e-01 -3.006191e-01 -3.896253e-08 -3.079872e-09
+ 1.235398e-02  2.006044e-02 -2.400438e-01 -3.004790e-01 -1.189835e-07 -1.793575e-08
+ 1.235398e-02  2.016048e-02 -2.401240e-01 -3.003381e-01  9.116165e-08  5.701223e-08
+ 1.235398e-02  2.026004e-02 -2.402031e-01 -3.001935e-01  1.471431e-07  1.499941e-08
+ 1.235398e-02  2.035910e-02 -2.402748e-01 -3.000595e-01  1.476306e-06 -4.912235e-06
+ 1.235398e-02  2.045769e-02 -2.403975e-01 -2.997775e-01  9.098933e-07 -1.474841e-08
+ 1.235398e-02  2.055580e-02 -2.404550e-01 -2.996888e-01 -2.784764e-07 -6.085877e-07
+ 1.235398e-02  2.065345e-02 -2.405273e-01 -2.995463e-01  5.892283e-08  1.918557e-07
+ 1.235398e-02  2.075064e-02 -2.406020e-01 -2.993940e-01 -1.638383e-06  8.403767e-08
+ 1.235398e-02  2.084738e-02 -2.406778e-01 -2.992367e-01 -1.556885e-06  8.443755e-08
+ 1.235398e-02  2.094367e-02 -2.407530e-01 -2.990758e-01  6.427866e-07 -5.933122e-09
+ 1.235398e-02  2.103951e-02 -2.408317e-01 -2.989120e-01  1.009550e-08  3.979813e-08
+ 1.235398e-02  2.113493e-02 -2.409135e-01 -2.987422e-01 -3.906551e-07  4.928642e-07
+ 1.235398e-02  2.122991e-02 -2.409961e-01 -2.985746e-01  4.826767e-08  3.173260e-08
+ 1.235398e-02  2.132447e-02 -2.410826e-01 -2.984023e-01  1.362394e-07  3.553401e-08
+ 1.235398e-02  2.141862e-02 -2.411731e-01 -2.982280e-01  5.624991e-08 -1.056483e-08
+ 1.235398e-02  2.151235e-02 -2.412671e-01 -2.980536e-01 -4.267949e-08 -8.505822e-08
+ 1.235398e-02  2.160567e-02 -2.413600e-01 -2.978859e-01 -1.659888e-06  7.943224e-06
+ 1.235398e-02  2.169860e-02 -2.414920e-01 -2.976362e-01 -8.829422e-09 -6.334785e-07
+ 1.235398e-02  2.179112e-02 -2.416044e-01 -2.974551e-01  4.867765e-08 -2.575964e-08
+ 1.235398e-02  2.188326e-02 -2.417273e-01 -2.972589e-01  5.511961e-07 -1.742813e-07
+ 1.235398e-02  2.197501e-02 -2.418621e-01 -2.970501e-01 -1.612135e-07 -1.447305e-08
+ 1.235398e-02  2.206638e-02 -2.420061e-01 -2.968323e-01  8.142306e-07 -1.429847e-06
+ 1.235398e-02  2.215737e-02 -2.421624e-01 -2.966023e-01  5.798039e-07 -3.011218e-07
+ 1.235398e-02  2.224799e-02 -2.423323e-01 -2.963527e-01 -3.985654e-08  3.396302e-08
+ 1.235398e-02  2.233824e-02 -2.425249e-01 -2.960734e-01  4.253394e-06 -6.880376e-06
+ 1.235398e-02  2.242813e-02 -2.427436e-01 -2.957568e-01 -1.908304e-06 -3.479338e-07
+ 1.235398e-02  2.251766e-02 -2.429904e-01 -2.953579e-01 -5.499006e-06 -1.743353e-06
+ 1.235398e-02  2.260684e-02 -2.435278e-01 -2.947814e-01 -1.497644e-04 -1.616488e-05
+ 1.235398e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.235398e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.433780e-01  2.947652e-01
+ 1.251546e-02  1.000000e-06 -2.268203e-01 -3.089990e-01 -1.619896e-09 -1.936651e-09
+ 1.251546e-02  2.006944e-03 -2.268869e-01 -3.089263e-01 -4.392468e-10 -1.185635e-09
+ 1.251546e-02  2.837833e-03 -2.269562e-01 -3.088547e-01 -6.647309e-10  3.090750e-10
+ 1.251546e-02  3.475396e-03 -2.270284e-01 -3.087842e-01  5.651360e-09  1.725893e-10
+ 1.251546e-02  4.012887e-03 -2.271034e-01 -3.087146e-01  1.600481e-08 -3.834894e-10
+ 1.251546e-02  4.486426e-03 -2.271813e-01 -3.086461e-01 -3.459836e-08  9.128650e-10
+ 1.251546e-02  4.914538e-03 -2.272620e-01 -3.085784e-01  3.494887e-09  3.633317e-10
+ 1.251546e-02  5.308228e-03 -2.273455e-01 -3.085115e-01  1.141897e-08 -4.752089e-10
+ 1.251546e-02  5.674665e-03 -2.274318e-01 -3.084453e-01 -4.806590e-09 -1.117710e-09
+ 1.251546e-02  6.018831e-03 -2.275208e-01 -3.083798e-01  5.266584e-09  2.306006e-09
+ 1.251546e-02  6.344350e-03 -2.276127e-01 -3.083149e-01  6.027175e-09  5.982489e-09
+ 1.251546e-02  6.653962e-03 -2.277072e-01 -3.082506e-01 -1.170849e-09  1.450908e-09
+ 1.251546e-02  6.949792e-03 -2.278045e-01 -3.081868e-01 -1.392455e-09  1.489823e-09
+ 1.251546e-02  7.233532e-03 -2.279044e-01 -3.081235e-01 -4.304792e-09  1.470081e-08
+ 1.251546e-02  7.506553e-03 -2.280070e-01 -3.080605e-01  5.048140e-09  5.613113e-09
+ 1.251546e-02  7.769986e-03 -2.281123e-01 -3.079979e-01  5.503153e-09 -1.113589e-09
+ 1.251546e-02  8.024774e-03 -2.282202e-01 -3.079357e-01 -8.229991e-09  2.501854e-08
+ 1.251546e-02  8.271717e-03 -2.283306e-01 -3.078736e-01 -1.034759e-08  3.502908e-08
+ 1.251546e-02  8.511498e-03 -2.284437e-01 -3.078117e-01 -1.390827e-08  4.601527e-08
+ 1.251546e-02  8.744705e-03 -2.285592e-01 -3.077501e-01  9.090994e-09  2.629866e-09
+ 1.251546e-02  8.971852e-03 -2.286773e-01 -3.076884e-01 -3.580401e-08  9.808271e-08
+ 1.251546e-02  9.193388e-03 -2.287979e-01 -3.076267e-01 -3.404477e-07  8.875832e-07
+ 1.251546e-02  9.409709e-03 -2.289204e-01 -3.075662e-01  6.311721e-07 -1.551393e-06
+ 1.251546e-02  9.621167e-03 -2.290452e-01 -3.075058e-01  1.063975e-08 -2.497355e-09
+ 1.251546e-02  9.828076e-03 -2.291733e-01 -3.074433e-01  7.736636e-07 -1.699518e-06
+ 1.251546e-02  1.003072e-02 -2.293037e-01 -3.073807e-01 -3.951191e-07  8.206923e-07
+ 1.251546e-02  1.022935e-02 -2.294355e-01 -3.073200e-01  2.032533e-07 -3.909469e-07
+ 1.251546e-02  1.042419e-02 -2.295702e-01 -3.072575e-01 -4.885666e-07  9.297579e-07
+ 1.251546e-02  1.061546e-02 -2.297077e-01 -3.071939e-01 -1.132044e-07  1.980367e-07
+ 1.251546e-02  1.080334e-02 -2.298458e-01 -3.071327e-01 -1.353882e-06  2.286291e-06
+ 1.251546e-02  1.098801e-02 -2.299858e-01 -3.070716e-01  8.024169e-07 -1.264192e-06
+ 1.251546e-02  1.116962e-02 -2.301296e-01 -3.070089e-01  7.812393e-08 -1.793153e-07
+ 1.251546e-02  1.134833e-02 -2.302720e-01 -3.069440e-01  4.033735e-07  1.454665e-07
+ 1.251546e-02  1.152427e-02 -2.304195e-01 -3.068813e-01  2.516469e-08 -1.720787e-09
+ 1.251546e-02  1.169756e-02 -2.305681e-01 -3.068173e-01  3.525500e-08 -9.421430e-10
+ 1.251546e-02  1.186832e-02 -2.307182e-01 -3.067530e-01  6.304820e-08 -5.872538e-08
+ 1.251546e-02  1.203666e-02 -2.308699e-01 -3.066882e-01  1.526284e-08 -3.175003e-08
+ 1.251546e-02  1.220268e-02 -2.310214e-01 -3.066221e-01  1.591640e-06  6.004913e-07
+ 1.251546e-02  1.236647e-02 -2.311858e-01 -3.065601e-01  9.228791e-07  3.719068e-07
+ 1.251546e-02  1.252811e-02 -2.313380e-01 -3.064921e-01  1.500762e-08  4.769700e-09
+ 1.251546e-02  1.268770e-02 -2.314956e-01 -3.064251e-01  1.859031e-08  1.371932e-09
+ 1.251546e-02  1.284531e-02 -2.316548e-01 -3.063576e-01 -6.939307e-10 -2.708383e-09
+ 1.251546e-02  1.300100e-02 -2.318155e-01 -3.062896e-01  8.034732e-09 -9.369079e-09
+ 1.251546e-02  1.315485e-02 -2.319773e-01 -3.062210e-01  4.363203e-08 -3.479950e-10
+ 1.251546e-02  1.330692e-02 -2.321405e-01 -3.061518e-01  1.201945e-07  2.869342e-08
+ 1.251546e-02  1.345728e-02 -2.323046e-01 -3.060819e-01  4.477425e-09 -5.959664e-09
+ 1.251546e-02  1.360597e-02 -2.324696e-01 -3.060113e-01  1.846872e-08 -5.098843e-09
+ 1.251546e-02  1.375306e-02 -2.326355e-01 -3.059400e-01  7.414345e-09  2.098391e-10
+ 1.251546e-02  1.389858e-02 -2.328022e-01 -3.058679e-01  6.506209e-09  1.285617e-09
+ 1.251546e-02  1.404260e-02 -2.329696e-01 -3.057951e-01  1.442796e-08 -1.152090e-09
+ 1.251546e-02  1.418516e-02 -2.331376e-01 -3.057215e-01 -2.140747e-10 -6.827489e-11
+ 1.251546e-02  1.432630e-02 -2.333060e-01 -3.056471e-01 -1.385783e-09 -1.243054e-09
+ 1.251546e-02  1.446606e-02 -2.334748e-01 -3.055718e-01  1.932638e-08 -3.208533e-09
+ 1.251546e-02  1.460449e-02 -2.336439e-01 -3.054958e-01  3.102034e-09 -5.779233e-09
+ 1.251546e-02  1.474161e-02 -2.338132e-01 -3.054188e-01  3.527000e-10  5.734646e-09
+ 1.251546e-02  1.487748e-02 -2.339826e-01 -3.053410e-01  1.132704e-08  8.423208e-10
+ 1.251546e-02  1.501211e-02 -2.341519e-01 -3.052622e-01  1.430852e-09 -4.889320e-10
+ 1.251546e-02  1.514554e-02 -2.343211e-01 -3.051826e-01  1.358967e-08  1.419090e-09
+ 1.251546e-02  1.527781e-02 -2.344901e-01 -3.051019e-01  1.009088e-08 -1.166433e-09
+ 1.251546e-02  1.540894e-02 -2.346587e-01 -3.050204e-01  1.028773e-09 -2.864324e-10
+ 1.251546e-02  1.553897e-02 -2.348268e-01 -3.049378e-01 -1.243884e-08 -2.417998e-09
+ 1.251546e-02  1.566792e-02 -2.349944e-01 -3.048542e-01 -6.130477e-08 -6.823341e-09
+ 1.251546e-02  1.579582e-02 -2.351615e-01 -3.047695e-01 -1.320281e-07  3.410444e-08
+ 1.251546e-02  1.592268e-02 -2.353272e-01 -3.046839e-01 -5.727169e-07 -5.480934e-08
+ 1.251546e-02  1.604855e-02 -2.354923e-01 -3.045971e-01  4.986582e-07  4.496206e-08
+ 1.251546e-02  1.617343e-02 -2.356563e-01 -3.045093e-01 -1.042368e-07 -1.040443e-08
+ 1.251546e-02  1.629736e-02 -2.358205e-01 -3.044204e-01 -2.303350e-07 -2.277039e-08
+ 1.251546e-02  1.642036e-02 -2.359811e-01 -3.043302e-01  4.146288e-07 -2.081827e-07
+ 1.251546e-02  1.654243e-02 -2.361416e-01 -3.042390e-01  1.321200e-07  1.152329e-08
+ 1.251546e-02  1.666362e-02 -2.363004e-01 -3.041465e-01  2.272859e-08 -1.223664e-09
+ 1.251546e-02  1.678393e-02 -2.364575e-01 -3.040528e-01 -1.466892e-08 -2.800007e-09
+ 1.251546e-02  1.690338e-02 -2.366128e-01 -3.039577e-01 -1.625034e-08 -5.170654e-09
+ 1.251546e-02  1.702200e-02 -2.367658e-01 -3.038609e-01 -2.146881e-08  8.196306e-08
+ 1.251546e-02  1.713979e-02 -2.369148e-01 -3.037616e-01  9.124132e-08  4.938358e-08
+ 1.251546e-02  1.725678e-02 -2.370850e-01 -3.036776e-01 -9.026787e-06 -6.883128e-06
+ 1.251546e-02  1.737298e-02 -2.372210e-01 -3.035691e-01  1.593014e-07 -1.033674e-07
+ 1.251546e-02  1.748841e-02 -2.373659e-01 -3.034667e-01 -6.762923e-07 -1.250335e-08
+ 1.251546e-02  1.760308e-02 -2.375048e-01 -3.033635e-01  5.538690e-06 -3.477120e-09
+ 1.251546e-02  1.771701e-02 -2.376486e-01 -3.032592e-01 -7.843542e-07  3.502129e-09
+ 1.251546e-02  1.783022e-02 -2.377884e-01 -3.031535e-01 -3.366319e-07  1.535968e-09
+ 1.251546e-02  1.794270e-02 -2.379210e-01 -3.030463e-01 -1.017156e-06 -2.816655e-09
+ 1.251546e-02  1.805449e-02 -2.380546e-01 -3.029377e-01  2.566441e-08  3.607186e-10
+ 1.251546e-02  1.816559e-02 -2.381846e-01 -3.028275e-01 -1.253725e-08  1.836238e-09
+ 1.251546e-02  1.827602e-02 -2.383115e-01 -3.027160e-01  3.134509e-07 -1.374948e-07
+ 1.251546e-02  1.838578e-02 -2.384362e-01 -3.026025e-01 -3.562192e-08 -1.287958e-08
+ 1.251546e-02  1.849489e-02 -2.385579e-01 -3.024876e-01 -3.051022e-07 -2.803974e-08
+ 1.251546e-02  1.860336e-02 -2.386755e-01 -3.023711e-01  1.620510e-06  1.667817e-07
+ 1.251546e-02  1.871120e-02 -2.387915e-01 -3.022528e-01  1.099579e-06  4.783700e-07
+ 1.251546e-02  1.881842e-02 -2.389037e-01 -3.021327e-01 -1.134757e-06 -1.847406e-08
+ 1.251546e-02  1.892503e-02 -2.390115e-01 -3.020114e-01  6.059165e-07  2.365516e-07
+ 1.251546e-02  1.903105e-02 -2.391224e-01 -3.018814e-01 -1.324511e-06  1.898588e-06
+ 1.251546e-02  1.913648e-02 -2.392213e-01 -3.017609e-01  4.665894e-07 -2.117550e-07
+ 1.251546e-02  1.924133e-02 -2.393214e-01 -3.016337e-01  7.472965e-08  1.416405e-08
+ 1.251546e-02  1.934562e-02 -2.394182e-01 -3.015047e-01 -1.691010e-08  4.605957e-09
+ 1.251546e-02  1.944934e-02 -2.395119e-01 -3.013737e-01 -3.527812e-09  5.856052e-09
+ 1.251546e-02  1.955252e-02 -2.396026e-01 -3.012408e-01 -1.393579e-08  1.958217e-09
+ 1.251546e-02  1.965515e-02 -2.396904e-01 -3.011059e-01  8.078972e-08  1.782950e-08
+ 1.251546e-02  1.975725e-02 -2.397755e-01 -3.009692e-01  7.947178e-08  4.536671e-09
+ 1.251546e-02  1.985883e-02 -2.398579e-01 -3.008307e-01  2.641524e-08  1.252315e-09
+ 1.251546e-02  1.995989e-02 -2.399378e-01 -3.006906e-01 -3.224712e-08  7.936155e-10
+ 1.251546e-02  2.006044e-02 -2.400151e-01 -3.005490e-01 -1.726788e-08 -3.571789e-09
+ 1.251546e-02  2.016048e-02 -2.400898e-01 -3.004066e-01  1.652442e-07  2.868544e-08
+ 1.251546e-02  2.026004e-02 -2.401604e-01 -3.002674e-01  6.465337e-07 -1.965427e-06
+ 1.251546e-02  2.035910e-02 -2.402342e-01 -3.001210e-01 -1.566095e-06  8.781630e-07
+ 1.251546e-02  2.045769e-02 -2.402934e-01 -2.999953e-01  1.098694e-06 -1.639241e-05
+ 1.251546e-02  2.055580e-02 -2.403891e-01 -2.997364e-01 -1.030767e-06  2.695905e-09
+ 1.251546e-02  2.065345e-02 -2.404581e-01 -2.996003e-01  1.935346e-07  2.212596e-07
+ 1.251546e-02  2.075064e-02 -2.405281e-01 -2.994502e-01 -1.914544e-06  1.036056e-07
+ 1.251546e-02  2.084738e-02 -2.405985e-01 -2.992940e-01 -1.924459e-06  7.838500e-08
+ 1.251546e-02  2.094367e-02 -2.406688e-01 -2.991336e-01  2.412967e-07  5.644478e-08
+ 1.251546e-02  2.103951e-02 -2.407426e-01 -2.989704e-01  1.792111e-07 -9.638370e-09
+ 1.251546e-02  2.113493e-02 -2.408167e-01 -2.988090e-01  2.296975e-07 -1.404802e-07
+ 1.251546e-02  2.122991e-02 -2.408977e-01 -2.986351e-01  1.085405e-06  1.418539e-07
+ 1.251546e-02  2.132447e-02 -2.409811e-01 -2.984643e-01 -3.064007e-07 -5.563282e-08
+ 1.251546e-02  2.141862e-02 -2.410690e-01 -2.982921e-01 -2.463053e-07 -6.728466e-08
+ 1.251546e-02  2.151235e-02 -2.411606e-01 -2.981198e-01  5.621996e-07  1.273692e-07
+ 1.251546e-02  2.160567e-02 -2.412565e-01 -2.979544e-01 -8.195133e-07  2.173019e-06
+ 1.251546e-02  2.169860e-02 -2.413777e-01 -2.976969e-01  1.230920e-06  6.510620e-06
+ 1.251546e-02  2.179112e-02 -2.414926e-01 -2.975261e-01 -1.712541e-08 -3.078202e-08
+ 1.251546e-02  2.188326e-02 -2.416181e-01 -2.973379e-01  4.191243e-07  1.769448e-08
+ 1.251546e-02  2.197501e-02 -2.417558e-01 -2.971384e-01  4.381583e-07 -6.874214e-07
+ 1.251546e-02  2.206638e-02 -2.419060e-01 -2.969307e-01 -8.045619e-08  1.529459e-08
+ 1.251546e-02  2.215737e-02 -2.420737e-01 -2.967079e-01 -3.139092e-06  4.595528e-06
+ 1.251546e-02  2.224799e-02 -2.422456e-01 -2.964907e-01 -1.527471e-07  1.164073e-07
+ 1.251546e-02  2.233824e-02 -2.424507e-01 -2.962360e-01 -9.193480e-07 -6.408745e-08
+ 1.251546e-02  2.242813e-02 -2.426794e-01 -2.959586e-01  5.953746e-06 -7.735940e-06
+ 1.251546e-02  2.251766e-02 -2.429427e-01 -2.956427e-01 -5.529768e-08 -1.658436e-07
+ 1.251546e-02  2.260684e-02 -2.432590e-01 -2.952547e-01 -5.013823e-05  1.397544e-05
+ 1.251546e-02  2.269566e-02 -2.438319e-01 -2.946696e-01  2.770176e-05  3.296350e-06
+ 1.251546e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.251546e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.438596e-01  2.946729e-01
+ 1.267489e-02  1.000000e-06 -2.273972e-01 -3.092004e-01 -1.021612e-08 -5.813661e-10
+ 1.267489e-02  2.006944e-03 -2.274577e-01 -3.091277e-01 -6.401895e-09 -2.117578e-11
+ 1.267489e-02  2.837833e-03 -2.275211e-01 -3.090561e-01  5.566915e-09  1.161327e-09
+ 1.267489e-02  3.475396e-03 -2.275874e-01 -3.089855e-01  4.409269e-09 -2.798823e-09
+ 1.267489e-02  4.012887e-03 -2.276565e-01 -3.089159e-01  2.104230e-08  4.707810e-09
+ 1.267489e-02  4.486426e-03 -2.277285e-01 -3.088472e-01 -1.851945e-08 -4.716387e-09
+ 1.267489e-02  4.914538e-03 -2.278033e-01 -3.087794e-01 -1.380559e-09 -2.040036e-09
+ 1.267489e-02  5.308228e-03 -2.278809e-01 -3.087122e-01 -1.520662e-08 -4.081646e-09
+ 1.267489e-02  5.674665e-03 -2.279612e-01 -3.086458e-01  1.334130e-08  7.294610e-09
+ 1.267489e-02  6.018831e-03 -2.280444e-01 -3.085800e-01  9.587253e-09 -4.422616e-10
+ 1.267489e-02  6.344350e-03 -2.281304e-01 -3.085148e-01  3.444480e-09 -9.919376e-10
+ 1.267489e-02  6.653962e-03 -2.282190e-01 -3.084501e-01  1.205251e-09  7.412222e-09
+ 1.267489e-02  6.949792e-03 -2.283104e-01 -3.083858e-01 -2.992968e-10  2.545304e-09
+ 1.267489e-02  7.233532e-03 -2.284045e-01 -3.083220e-01 -2.953101e-10  6.238060e-10
+ 1.267489e-02  7.506553e-03 -2.285013e-01 -3.082586e-01  4.659286e-09  1.285969e-08
+ 1.267489e-02  7.769986e-03 -2.286007e-01 -3.081954e-01  6.500546e-09  1.362750e-08
+ 1.267489e-02  8.024774e-03 -2.287028e-01 -3.081326e-01 -3.161979e-09  5.878352e-09
+ 1.267489e-02  8.271717e-03 -2.288074e-01 -3.080699e-01 -2.808724e-09  1.272236e-08
+ 1.267489e-02  8.511498e-03 -2.289146e-01 -3.080074e-01 -1.140692e-08  3.736676e-08
+ 1.267489e-02  8.744705e-03 -2.290243e-01 -3.079450e-01 -1.729010e-08  8.641725e-08
+ 1.267489e-02  8.971852e-03 -2.291364e-01 -3.078829e-01  1.275514e-08 -2.330236e-08
+ 1.267489e-02  9.193388e-03 -2.292512e-01 -3.078204e-01 -2.133774e-08  5.872874e-08
+ 1.267489e-02  9.409709e-03 -2.293683e-01 -3.077580e-01 -4.504031e-07  1.139315e-06
+ 1.267489e-02  9.621167e-03 -2.294873e-01 -3.076969e-01  8.433641e-07 -1.990630e-06
+ 1.267489e-02  9.828076e-03 -2.296087e-01 -3.076355e-01  7.609064e-08 -1.615577e-07
+ 1.267489e-02  1.003072e-02 -2.297334e-01 -3.075718e-01  5.147742e-07 -1.107254e-06
+ 1.267489e-02  1.022935e-02 -2.298601e-01 -3.075084e-01 -2.563349e-07  5.200243e-07
+ 1.267489e-02  1.042419e-02 -2.299882e-01 -3.074466e-01  4.067998e-07 -7.513703e-07
+ 1.267489e-02  1.061546e-02 -2.301195e-01 -3.073827e-01 -9.803709e-07  1.806297e-06
+ 1.267489e-02  1.080334e-02 -2.302532e-01 -3.073181e-01  3.297722e-09  3.054243e-09
+ 1.267489e-02  1.098801e-02 -2.303885e-01 -3.072567e-01 -3.002193e-08  2.481837e-06
+ 1.267489e-02  1.116962e-02 -2.305218e-01 -3.071923e-01  6.737821e-07 -8.697975e-07
+ 1.267489e-02  1.134833e-02 -2.306616e-01 -3.071280e-01  1.392169e-07 -1.828830e-07
+ 1.267489e-02  1.152427e-02 -2.308019e-01 -3.070632e-01  8.356752e-08 -1.822423e-07
+ 1.267489e-02  1.169756e-02 -2.309390e-01 -3.069961e-01  5.363876e-06  2.094319e-06
+ 1.267489e-02  1.186832e-02 -2.310968e-01 -3.069359e-01 -1.018345e-06 -3.928903e-07
+ 1.267489e-02  1.203666e-02 -2.312381e-01 -3.068682e-01  3.588258e-08 -4.438666e-08
+ 1.267489e-02  1.220268e-02 -2.313853e-01 -3.068015e-01  2.932969e-08 -2.661495e-08
+ 1.267489e-02  1.236647e-02 -2.315343e-01 -3.067345e-01  7.645772e-08 -2.624253e-08
+ 1.267489e-02  1.252811e-02 -2.316851e-01 -3.066671e-01  3.123655e-07  9.102391e-08
+ 1.267489e-02  1.268770e-02 -2.318372e-01 -3.065990e-01  2.456800e-08 -9.199361e-09
+ 1.267489e-02  1.284531e-02 -2.319906e-01 -3.065303e-01  2.022601e-08 -1.308789e-09
+ 1.267489e-02  1.300100e-02 -2.321455e-01 -3.064610e-01 -8.957024e-10 -2.552845e-10
+ 1.267489e-02  1.315485e-02 -2.323014e-01 -3.063911e-01  2.613507e-09 -2.591693e-09
+ 1.267489e-02  1.330692e-02 -2.324585e-01 -3.063205e-01  2.788782e-08 -2.562182e-09
+ 1.267489e-02  1.345728e-02 -2.326166e-01 -3.062492e-01  4.784044e-09 -6.669935e-09
+ 1.267489e-02  1.360597e-02 -2.327757e-01 -3.061772e-01  6.926588e-09 -4.741733e-09
+ 1.267489e-02  1.375306e-02 -2.329356e-01 -3.061044e-01  2.350833e-08 -9.201981e-09
+ 1.267489e-02  1.389858e-02 -2.330962e-01 -3.060309e-01  2.366050e-09 -3.752387e-09
+ 1.267489e-02  1.404260e-02 -2.332575e-01 -3.059566e-01  5.310025e-09 -3.283312e-09
+ 1.267489e-02  1.418516e-02 -2.334193e-01 -3.058814e-01  3.031981e-08  2.496485e-10
+ 1.267489e-02  1.432630e-02 -2.335816e-01 -3.058055e-01  4.222204e-09  1.851164e-11
+ 1.267489e-02  1.446606e-02 -2.337443e-01 -3.057287e-01 -1.211639e-09 -1.484732e-09
+ 1.267489e-02  1.460449e-02 -2.339072e-01 -3.056510e-01  1.768677e-08 -4.144756e-09
+ 1.267489e-02  1.474161e-02 -2.340703e-01 -3.055724e-01  3.542521e-09  1.422015e-10
+ 1.267489e-02  1.487748e-02 -2.342335e-01 -3.054929e-01  5.463983e-09  1.112838e-09
+ 1.267489e-02  1.501211e-02 -2.343965e-01 -3.054125e-01  2.273717e-08  1.603326e-09
+ 1.267489e-02  1.514554e-02 -2.345595e-01 -3.053311e-01 -6.320350e-09  8.445460e-10
+ 1.267489e-02  1.527781e-02 -2.347221e-01 -3.052487e-01 -1.458885e-08 -1.932505e-09
+ 1.267489e-02  1.540894e-02 -2.348844e-01 -3.051654e-01  2.181330e-08 -2.509436e-09
+ 1.267489e-02  1.553897e-02 -2.350462e-01 -3.050810e-01 -4.093003e-10 -6.785542e-10
+ 1.267489e-02  1.566792e-02 -2.352074e-01 -3.049957e-01 -3.505017e-08 -1.009440e-08
+ 1.267489e-02  1.579582e-02 -2.353682e-01 -3.049093e-01  1.439379e-07  1.204542e-08
+ 1.267489e-02  1.592268e-02 -2.355268e-01 -3.048215e-01  3.917848e-07  5.941399e-08
+ 1.267489e-02  1.604855e-02 -2.356865e-01 -3.047331e-01 -1.841911e-07 -1.809628e-08
+ 1.267489e-02  1.617343e-02 -2.358449e-01 -3.046434e-01 -1.300995e-06 -1.286604e-07
+ 1.267489e-02  1.629736e-02 -2.360004e-01 -3.045524e-01 -3.821244e-07 -3.867003e-08
+ 1.267489e-02  1.642036e-02 -2.361558e-01 -3.044602e-01 -3.665645e-08 -1.313015e-07
+ 1.267489e-02  1.654243e-02 -2.363096e-01 -3.043672e-01  2.916206e-08  9.025355e-09
+ 1.267489e-02  1.666362e-02 -2.364619e-01 -3.042727e-01  1.567545e-08  3.548701e-10
+ 1.267489e-02  1.678393e-02 -2.366124e-01 -3.041768e-01  1.132492e-08  2.571795e-09
+ 1.267489e-02  1.690338e-02 -2.367609e-01 -3.040795e-01  8.997223e-09 -2.508152e-09
+ 1.267489e-02  1.702200e-02 -2.369065e-01 -3.039802e-01  1.612696e-08 -2.216678e-08
+ 1.267489e-02  1.713979e-02 -2.370493e-01 -3.038785e-01 -3.773193e-05 -2.631790e-05
+ 1.267489e-02  1.725678e-02 -2.372044e-01 -3.037864e-01  1.045116e-06  8.683529e-07
+ 1.267489e-02  1.737298e-02 -2.373435e-01 -3.036829e-01  3.193976e-08 -2.082596e-08
+ 1.267489e-02  1.748841e-02 -2.374824e-01 -3.035789e-01 -1.434385e-06  3.362667e-08
+ 1.267489e-02  1.760308e-02 -2.376150e-01 -3.034739e-01  5.241747e-06  1.032423e-08
+ 1.267489e-02  1.771701e-02 -2.377529e-01 -3.033675e-01 -3.052817e-07  1.612265e-08
+ 1.267489e-02  1.783022e-02 -2.378847e-01 -3.032597e-01  1.606066e-06  1.229603e-08
+ 1.267489e-02  1.794270e-02 -2.380129e-01 -3.031505e-01  4.206272e-07 -2.271938e-09
+ 1.267489e-02  1.805449e-02 -2.381391e-01 -3.030398e-01 -4.099265e-08 -1.498719e-09
+ 1.267489e-02  1.816559e-02 -2.382627e-01 -3.029276e-01  1.681903e-07 -2.444694e-09
+ 1.267489e-02  1.827602e-02 -2.383836e-01 -3.028138e-01  2.290643e-07  1.331059e-08
+ 1.267489e-02  1.838578e-02 -2.385020e-01 -3.026988e-01 -8.805793e-08 -5.324457e-08
+ 1.267489e-02  1.849489e-02 -2.386165e-01 -3.025816e-01  1.340736e-06  5.198289e-07
+ 1.267489e-02  1.860336e-02 -2.387275e-01 -3.024626e-01  4.856583e-07  2.077871e-07
+ 1.267489e-02  1.871120e-02 -2.388356e-01 -3.023423e-01  1.664867e-06  2.364989e-07
+ 1.267489e-02  1.881842e-02 -2.389428e-01 -3.022206e-01 -3.108951e-07 -4.152716e-08
+ 1.267489e-02  1.892503e-02 -2.390464e-01 -3.020972e-01 -2.384878e-06 -3.218506e-07
+ 1.267489e-02  1.903105e-02 -2.391414e-01 -3.019772e-01  3.003504e-06 -5.335910e-06
+ 1.267489e-02  1.913648e-02 -2.392429e-01 -3.018416e-01  1.255912e-09  9.337930e-08
+ 1.267489e-02  1.924133e-02 -2.393348e-01 -3.017136e-01  1.401020e-07 -3.743618e-08
+ 1.267489e-02  1.934562e-02 -2.394251e-01 -3.015827e-01  8.504733e-11 -3.590601e-09
+ 1.267489e-02  1.944934e-02 -2.395123e-01 -3.014498e-01 -3.622103e-09 -2.223607e-09
+ 1.267489e-02  1.955252e-02 -2.395965e-01 -3.013151e-01 -6.239597e-09  2.772536e-09
+ 1.267489e-02  1.965515e-02 -2.396776e-01 -3.011787e-01 -1.420249e-07  2.728964e-07
+ 1.267489e-02  1.975725e-02 -2.397563e-01 -3.010401e-01  6.490231e-08  3.352217e-08
+ 1.267489e-02  1.985883e-02 -2.398321e-01 -3.008999e-01  4.002239e-08  4.438048e-10
+ 1.267489e-02  1.995989e-02 -2.399054e-01 -3.007581e-01 -1.308217e-08 -2.063492e-10
+ 1.267489e-02  2.006044e-02 -2.399764e-01 -3.006150e-01 -3.948522e-08 -4.035810e-09
+ 1.267489e-02  2.016048e-02 -2.400450e-01 -3.004711e-01 -1.600010e-07 -2.730532e-08
+ 1.267489e-02  2.026004e-02 -2.401106e-01 -3.003279e-01  1.627481e-07  4.373208e-07
+ 1.267489e-02  2.035910e-02 -2.401796e-01 -3.001792e-01  7.577894e-06 -6.926338e-06
+ 1.267489e-02  2.045769e-02 -2.402372e-01 -3.000467e-01  2.226933e-07 -1.750420e-06
+ 1.267489e-02  2.055580e-02 -2.403017e-01 -2.997803e-01  7.119071e-07  3.016821e-06
+ 1.267489e-02  2.065345e-02 -2.403709e-01 -2.996480e-01  9.331680e-07 -1.437671e-07
+ 1.267489e-02  2.075064e-02 -2.404368e-01 -2.994999e-01 -1.100659e-06  7.941607e-08
+ 1.267489e-02  2.084738e-02 -2.405000e-01 -2.993447e-01 -4.157767e-07  3.583892e-08
+ 1.267489e-02  2.094367e-02 -2.405651e-01 -2.991848e-01  8.624854e-08 -4.195905e-09
+ 1.267489e-02  2.103951e-02 -2.406323e-01 -2.990219e-01  1.394004e-06  3.211197e-07
+ 1.267489e-02  2.113493e-02 -2.407033e-01 -2.988571e-01 -1.226642e-06 -3.912148e-07
+ 1.267489e-02  2.122991e-02 -2.407805e-01 -2.986894e-01 -4.432646e-06 -2.647065e-06
+ 1.267489e-02  2.132447e-02 -2.408617e-01 -2.985203e-01 -5.666726e-07 -8.889072e-08
+ 1.267489e-02  2.141862e-02 -2.409459e-01 -2.983501e-01 -3.042833e-06 -8.253998e-07
+ 1.267489e-02  2.151235e-02 -2.410351e-01 -2.981804e-01 -5.215160e-06 -1.372872e-06
+ 1.267489e-02  2.160567e-02 -2.411272e-01 -2.980182e-01 -4.578058e-07  5.673140e-08
+ 1.267489e-02  2.169860e-02 -2.412194e-01 -2.977492e-01  1.298908e-05  8.760899e-06
+ 1.267489e-02  2.179112e-02 -2.413509e-01 -2.975876e-01 -1.245467e-05 -2.474548e-06
+ 1.267489e-02  2.188326e-02 -2.414669e-01 -2.974047e-01 -6.708526e-06 -3.347588e-07
+ 1.267489e-02  2.197501e-02 -2.415970e-01 -2.972069e-01  2.525229e-06  1.371246e-06
+ 1.267489e-02  2.206638e-02 -2.417435e-01 -2.970107e-01  4.119850e-07  8.891648e-08
+ 1.267489e-02  2.215737e-02 -2.419073e-01 -2.968018e-01  1.015601e-06 -1.340775e-06
+ 1.267489e-02  2.224799e-02 -2.420645e-01 -2.966400e-01  2.016369e-05 -4.271198e-05
+ 1.267489e-02  2.233824e-02 -2.422880e-01 -2.963631e-01  2.485943e-09 -1.331127e-06
+ 1.267489e-02  2.242813e-02 -2.425173e-01 -2.961079e-01 -1.770000e-07  6.747585e-07
+ 1.267489e-02  2.251766e-02 -2.427625e-01 -2.958486e-01  8.977270e-06 -1.143121e-05
+ 1.267489e-02  2.260684e-02 -2.430856e-01 -2.955057e-01  3.860310e-06  2.580275e-07
+ 1.267489e-02  2.269566e-02 -2.434287e-01 -2.950744e-01  1.409057e-04  1.996495e-05
+ 1.267489e-02  2.278414e-02 -2.441641e-01 -2.944950e-01 -7.834813e-05 -8.609630e-05
+ 1.267489e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.267489e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.440858e-01  2.944089e-01
+ 1.283233e-02  1.000000e-06 -2.279685e-01 -3.093993e-01  2.456856e-09 -6.662664e-10
+ 1.283233e-02  2.006944e-03 -2.280231e-01 -3.093267e-01  7.951310e-09 -9.729612e-11
+ 1.283233e-02  2.837833e-03 -2.280806e-01 -3.092551e-01  8.106877e-09 -1.257580e-10
+ 1.283233e-02  3.475396e-03 -2.281409e-01 -3.091845e-01  3.031075e-09  4.182004e-10
+ 1.283233e-02  4.012887e-03 -2.282041e-01 -3.091148e-01 -9.547051e-10 -4.361073e-11
+ 1.283233e-02  4.486426e-03 -2.282702e-01 -3.090460e-01 -5.712910e-10 -9.452493e-10
+ 1.283233e-02  4.914538e-03 -2.283390e-01 -3.089779e-01 -5.482914e-10 -1.722895e-10
+ 1.283233e-02  5.308228e-03 -2.284107e-01 -3.089105e-01 -1.882443e-09 -3.974827e-10
+ 1.283233e-02  5.674665e-03 -2.284852e-01 -3.088438e-01  5.877295e-09  4.490360e-10
+ 1.283233e-02  6.018831e-03 -2.285625e-01 -3.087777e-01  8.667380e-09  3.365804e-09
+ 1.283233e-02  6.344350e-03 -2.286424e-01 -3.087121e-01 -3.285188e-08 -1.845955e-09
+ 1.283233e-02  6.653962e-03 -2.287250e-01 -3.086469e-01  9.998974e-08  1.348062e-08
+ 1.283233e-02  6.949792e-03 -2.288100e-01 -3.085821e-01  8.632969e-08  1.974826e-08
+ 1.283233e-02  7.233532e-03 -2.288972e-01 -3.085176e-01  9.739434e-07  1.849996e-07
+ 1.283233e-02  7.506553e-03 -2.289873e-01 -3.084534e-01 -1.171796e-07 -2.553261e-08
+ 1.283233e-02  7.769986e-03 -2.290811e-01 -3.083897e-01 -9.719951e-06 -2.156191e-06
+ 1.283233e-02  8.024774e-03 -2.291795e-01 -3.083267e-01  1.295364e-06  3.200458e-07
+ 1.283233e-02  8.271717e-03 -2.292818e-01 -3.082643e-01  1.749358e-05  4.231978e-06
+ 1.283233e-02  8.511498e-03 -2.293867e-01 -3.082021e-01  6.328766e-06  1.587171e-06
+ 1.283233e-02  8.744705e-03 -2.294931e-01 -3.081397e-01 -8.830795e-06 -2.252308e-06
+ 1.283233e-02  8.971852e-03 -2.296000e-01 -3.080769e-01 -2.321391e-06 -4.742540e-07
+ 1.283233e-02  9.193388e-03 -2.297078e-01 -3.080137e-01 -9.139094e-07 -2.753494e-07
+ 1.283233e-02  9.409709e-03 -2.298174e-01 -3.079500e-01 -4.365295e-06 -1.179429e-06
+ 1.283233e-02  9.621167e-03 -2.299294e-01 -3.078864e-01 -1.793931e-06  9.188185e-07
+ 1.283233e-02  9.828076e-03 -2.300439e-01 -3.078243e-01  3.140604e-06 -1.590589e-06
+ 1.283233e-02  1.003072e-02 -2.301616e-01 -3.077616e-01  1.687074e-06 -2.332617e-07
+ 1.283233e-02  1.022935e-02 -2.302832e-01 -3.076967e-01  2.224112e-07 -2.523453e-07
+ 1.283233e-02  1.042419e-02 -2.304066e-01 -3.076327e-01  2.685903e-08  2.764049e-07
+ 1.283233e-02  1.061546e-02 -2.305319e-01 -3.075702e-01  4.627992e-07 -1.380450e-06
+ 1.283233e-02  1.080334e-02 -2.306571e-01 -3.075029e-01 -6.881742e-06 -7.560068e-07
+ 1.283233e-02  1.098801e-02 -2.307827e-01 -3.074358e-01  1.777242e-06  9.075555e-07
+ 1.283233e-02  1.116962e-02 -2.309272e-01 -3.073783e-01 -6.453728e-06 -1.376250e-06
+ 1.283233e-02  1.134833e-02 -2.310538e-01 -3.073117e-01  1.015519e-06 -3.097648e-07
+ 1.283233e-02  1.152427e-02 -2.311897e-01 -3.072455e-01  3.007000e-07 -7.934013e-08
+ 1.283233e-02  1.169756e-02 -2.313260e-01 -3.071793e-01  1.910105e-07 -2.235360e-07
+ 1.283233e-02  1.186832e-02 -2.314646e-01 -3.071128e-01  8.303566e-08 -1.729352e-08
+ 1.283233e-02  1.203666e-02 -2.316051e-01 -3.070456e-01  1.116410e-07  2.166735e-08
+ 1.283233e-02  1.220268e-02 -2.317470e-01 -3.069781e-01  6.929572e-08  1.137640e-08
+ 1.283233e-02  1.236647e-02 -2.318906e-01 -3.069100e-01  1.259140e-08 -1.316477e-08
+ 1.283233e-02  1.252811e-02 -2.320356e-01 -3.068413e-01  5.281007e-08 -2.564993e-08
+ 1.283233e-02  1.268770e-02 -2.321820e-01 -3.067720e-01  1.326068e-07  9.599789e-09
+ 1.283233e-02  1.284531e-02 -2.323297e-01 -3.067021e-01  1.563663e-07  1.826108e-08
+ 1.283233e-02  1.300100e-02 -2.324786e-01 -3.066315e-01  8.517910e-08  1.136834e-08
+ 1.283233e-02  1.315485e-02 -2.326288e-01 -3.065602e-01  1.918874e-09 -3.633226e-09
+ 1.283233e-02  1.330692e-02 -2.327799e-01 -3.064883e-01  2.423787e-08  6.171335e-09
+ 1.283233e-02  1.345728e-02 -2.329321e-01 -3.064155e-01  8.161337e-08  1.678971e-08
+ 1.283233e-02  1.360597e-02 -2.330852e-01 -3.063421e-01  2.514677e-08  4.405474e-09
+ 1.283233e-02  1.375306e-02 -2.332390e-01 -3.062679e-01 -3.604501e-09 -3.194500e-09
+ 1.283233e-02  1.389858e-02 -2.333935e-01 -3.061928e-01  6.612218e-08  6.897051e-09
+ 1.283233e-02  1.404260e-02 -2.335486e-01 -3.061169e-01  7.192104e-08  1.290685e-08
+ 1.283233e-02  1.418516e-02 -2.337042e-01 -3.060402e-01  2.270088e-08 -1.065965e-09
+ 1.283233e-02  1.432630e-02 -2.338602e-01 -3.059627e-01  2.463701e-08 -1.675357e-09
+ 1.283233e-02  1.446606e-02 -2.340165e-01 -3.058842e-01  4.111034e-08  4.692159e-09
+ 1.283233e-02  1.460449e-02 -2.341731e-01 -3.058049e-01  1.057394e-08 -2.021972e-10
+ 1.283233e-02  1.474161e-02 -2.343297e-01 -3.057246e-01  3.302952e-08  5.881670e-10
+ 1.283233e-02  1.487748e-02 -2.344864e-01 -3.056434e-01  3.806631e-08 -2.280370e-11
+ 1.283233e-02  1.501211e-02 -2.346430e-01 -3.055612e-01  1.208370e-09 -3.670255e-09
+ 1.283233e-02  1.514554e-02 -2.347993e-01 -3.054780e-01  4.155515e-08  5.871731e-09
+ 1.283233e-02  1.527781e-02 -2.349555e-01 -3.053939e-01  1.833738e-08 -8.600889e-10
+ 1.283233e-02  1.540894e-02 -2.351111e-01 -3.053087e-01  7.904846e-09  2.177900e-10
+ 1.283233e-02  1.553897e-02 -2.352664e-01 -3.052225e-01  3.068996e-08  1.487466e-09
+ 1.283233e-02  1.566792e-02 -2.354211e-01 -3.051353e-01 -2.879953e-07 -2.832139e-08
+ 1.283233e-02  1.579582e-02 -2.355738e-01 -3.050468e-01  1.808036e-06  1.797117e-07
+ 1.283233e-02  1.592268e-02 -2.357279e-01 -3.049575e-01  9.070666e-08  1.072709e-08
+ 1.283233e-02  1.604855e-02 -2.358799e-01 -3.048668e-01  4.481471e-07  1.360330e-07
+ 1.283233e-02  1.617343e-02 -2.360315e-01 -3.047752e-01  2.442787e-07  2.449317e-08
+ 1.283233e-02  1.629736e-02 -2.361804e-01 -3.046823e-01  1.533227e-07  1.484436e-08
+ 1.283233e-02  1.642036e-02 -2.363290e-01 -3.045881e-01  1.931015e-07  1.217984e-07
+ 1.283233e-02  1.654243e-02 -2.364762e-01 -3.044931e-01 -1.524905e-08 -1.275620e-08
+ 1.283233e-02  1.666362e-02 -2.366216e-01 -3.043964e-01 -1.798554e-08  4.375484e-09
+ 1.283233e-02  1.678393e-02 -2.367651e-01 -3.042984e-01  3.647004e-09 -1.480905e-09
+ 1.283233e-02  1.690338e-02 -2.369060e-01 -3.041983e-01  3.791029e-08  5.056365e-09
+ 1.283233e-02  1.702200e-02 -2.370307e-01 -3.040871e-01  1.268962e-05  8.507487e-06
+ 1.283233e-02  1.713979e-02 -2.372009e-01 -3.040079e-01 -3.722241e-06 -2.899538e-06
+ 1.283233e-02  1.725678e-02 -2.373299e-01 -3.038995e-01  8.809353e-08  3.741071e-09
+ 1.283233e-02  1.737298e-02 -2.374635e-01 -3.037945e-01 -2.773936e-07  6.906710e-08
+ 1.283233e-02  1.748841e-02 -2.375958e-01 -3.036887e-01 -1.222328e-06  2.401434e-08
+ 1.283233e-02  1.760308e-02 -2.377225e-01 -3.035816e-01  2.079400e-06 -6.377004e-10
+ 1.283233e-02  1.771701e-02 -2.378532e-01 -3.034732e-01  9.963666e-07 -4.548811e-08
+ 1.283233e-02  1.783022e-02 -2.379773e-01 -3.033633e-01 -1.720538e-07  3.330823e-08
+ 1.283233e-02  1.794270e-02 -2.381015e-01 -3.032521e-01  1.408068e-06  6.052372e-10
+ 1.283233e-02  1.805449e-02 -2.382194e-01 -3.031393e-01  4.750738e-07  2.437182e-08
+ 1.283233e-02  1.816559e-02 -2.383371e-01 -3.030252e-01 -4.753119e-08 -1.951267e-07
+ 1.283233e-02  1.827602e-02 -2.384506e-01 -3.029090e-01 -4.505930e-07 -1.819257e-07
+ 1.283233e-02  1.838578e-02 -2.385614e-01 -3.027911e-01  4.241424e-07  1.722579e-07
+ 1.283233e-02  1.849489e-02 -2.386699e-01 -3.026725e-01  7.964189e-09  1.560476e-09
+ 1.283233e-02  1.860336e-02 -2.387753e-01 -3.025518e-01  2.510181e-08 -1.171510e-09
+ 1.283233e-02  1.871120e-02 -2.388776e-01 -3.024294e-01 -2.350943e-07 -3.615500e-08
+ 1.283233e-02  1.881842e-02 -2.389752e-01 -3.023052e-01  2.509210e-06  3.491346e-07
+ 1.283233e-02  1.892503e-02 -2.390722e-01 -3.021798e-01  2.234560e-07  5.352543e-08
+ 1.283233e-02  1.903105e-02 -2.391657e-01 -3.020532e-01 -1.089875e-06 -1.396716e-07
+ 1.283233e-02  1.913648e-02 -2.392586e-01 -3.019160e-01 -2.444807e-09  1.430880e-07
+ 1.283233e-02  1.924133e-02 -2.393434e-01 -3.017887e-01 -8.470831e-07  8.347016e-07
+ 1.283233e-02  1.934562e-02 -2.394250e-01 -3.016573e-01 -2.182441e-08  3.118685e-09
+ 1.283233e-02  1.944934e-02 -2.395054e-01 -3.015224e-01 -5.663987e-08  4.679583e-09
+ 1.283233e-02  1.955252e-02 -2.395826e-01 -3.013858e-01  3.817655e-09  5.007157e-10
+ 1.283233e-02  1.965515e-02 -2.396569e-01 -3.012473e-01  1.704537e-08  5.005185e-09
+ 1.283233e-02  1.975725e-02 -2.397284e-01 -3.011070e-01  9.908004e-08  7.655329e-09
+ 1.283233e-02  1.985883e-02 -2.397972e-01 -3.009651e-01  7.602232e-08  2.631324e-09
+ 1.283233e-02  1.995989e-02 -2.398634e-01 -3.008216e-01  1.384819e-08  3.197475e-09
+ 1.283233e-02  2.006044e-02 -2.399273e-01 -3.006768e-01 -6.506494e-08  3.275500e-09
+ 1.283233e-02  2.016048e-02 -2.399889e-01 -3.005313e-01 -6.575363e-08  1.502976e-08
+ 1.283233e-02  2.026004e-02 -2.400482e-01 -3.003863e-01  1.486339e-07  1.172059e-07
+ 1.283233e-02  2.035910e-02 -2.401025e-01 -3.002493e-01  8.794086e-08 -2.587542e-07
+ 1.283233e-02  2.045769e-02 -2.401733e-01 -3.000946e-01 -4.343550e-07 -7.319300e-07
+ 1.283233e-02  2.055580e-02 -2.402059e-01 -2.998415e-01 -2.129686e-06 -2.493008e-05
+ 1.283233e-02  2.065345e-02 -2.402676e-01 -2.996894e-01  7.193921e-07  2.979344e-07
+ 1.283233e-02  2.075064e-02 -2.403303e-01 -2.995442e-01 -4.793402e-06 -1.352450e-06
+ 1.283233e-02  2.084738e-02 -2.403922e-01 -2.993917e-01  1.985963e-07 -2.979177e-07
+ 1.283233e-02  2.094367e-02 -2.404513e-01 -2.992319e-01 -1.230192e-05 -4.025485e-06
+ 1.283233e-02  2.103951e-02 -2.404859e-01 -2.990608e-01 -2.690450e-05 -8.842118e-06
+ 1.283233e-02  2.113493e-02 -2.405327e-01 -2.988905e-01  1.410130e-05  4.483688e-06
+ 1.283233e-02  2.122991e-02 -2.406063e-01 -2.987168e-01 -7.106544e-07  5.866013e-06
+ 1.283233e-02  2.132447e-02 -2.406782e-01 -2.985565e-01  2.123248e-06  7.066943e-07
+ 1.283233e-02  2.141862e-02 -2.407534e-01 -2.983876e-01 -2.284637e-06 -6.437460e-07
+ 1.283233e-02  2.151235e-02 -2.408338e-01 -2.982197e-01 -1.029532e-06 -2.818269e-07
+ 1.283233e-02  2.160567e-02 -2.409113e-01 -2.980468e-01  6.303031e-06  1.001882e-05
+ 1.283233e-02  2.169860e-02 -2.409933e-01 -2.977895e-01 -5.363058e-06  4.417697e-06
+ 1.283233e-02  2.179112e-02 -2.411051e-01 -2.976252e-01  2.076054e-07 -2.961132e-08
+ 1.283233e-02  2.188326e-02 -2.412219e-01 -2.974477e-01 -6.486820e-07  7.065463e-08
+ 1.283233e-02  2.197501e-02 -2.413478e-01 -2.972616e-01 -2.895424e-06  5.004194e-07
+ 1.283233e-02  2.206638e-02 -2.414760e-01 -2.970663e-01  1.398430e-05  1.029251e-06
+ 1.283233e-02  2.215737e-02 -2.416297e-01 -2.968636e-01  3.595005e-05  3.282331e-06
+ 1.283233e-02  2.224799e-02 -2.418664e-01 -2.966813e-01 -9.850953e-06 -8.835716e-06
+ 1.283233e-02  2.233824e-02 -2.420560e-01 -2.964519e-01 -1.293363e-06 -3.581946e-07
+ 1.283233e-02  2.242813e-02 -2.422745e-01 -2.962148e-01 -4.895685e-07  5.394613e-07
+ 1.283233e-02  2.251766e-02 -2.425229e-01 -2.959617e-01  9.154744e-06 -1.317449e-05
+ 1.283233e-02  2.260684e-02 -2.428198e-01 -2.956594e-01 -3.594989e-06  5.253111e-06
+ 1.283233e-02  2.269566e-02 -2.431855e-01 -2.953002e-01 -3.150553e-05 -1.922902e-06
+ 1.283233e-02  2.278414e-02 -2.435995e-01 -2.949369e-01  3.436589e-05 -1.080036e-05
+ 1.283233e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.283233e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.436339e-01  2.949261e-01
+ 1.298787e-02  1.000000e-06 -2.285343e-01 -3.095958e-01  1.007327e-08 -4.466389e-10
+ 1.298787e-02  2.006944e-03 -2.285830e-01 -3.095232e-01  8.688141e-09 -1.439192e-09
+ 1.298787e-02  2.837833e-03 -2.286345e-01 -3.094517e-01  3.271954e-09 -1.541492e-09
+ 1.298787e-02  3.475396e-03 -2.286890e-01 -3.093810e-01 -1.254098e-09  1.874326e-10
+ 1.298787e-02  4.012887e-03 -2.287463e-01 -3.093113e-01 -1.569598e-09  1.304575e-09
+ 1.298787e-02  4.486426e-03 -2.288065e-01 -3.092423e-01 -2.963509e-10 -1.821454e-10
+ 1.298787e-02  4.914538e-03 -2.288695e-01 -3.091740e-01 -1.185957e-09 -1.978455e-09
+ 1.298787e-02  5.308228e-03 -2.289353e-01 -3.091064e-01  1.918974e-09 -2.042135e-09
+ 1.298787e-02  5.674665e-03 -2.290040e-01 -3.090394e-01  9.634831e-09 -4.184256e-09
+ 1.298787e-02  6.018831e-03 -2.290754e-01 -3.089730e-01  8.444861e-09 -5.544592e-09
+ 1.298787e-02  6.344350e-03 -2.291496e-01 -3.089070e-01  3.262398e-10 -1.233793e-09
+ 1.298787e-02  6.653962e-03 -2.292265e-01 -3.088415e-01 -1.194359e-09 -4.013815e-10
+ 1.298787e-02  6.949792e-03 -2.293060e-01 -3.087763e-01  1.336475e-10 -3.862925e-09
+ 1.298787e-02  7.233532e-03 -2.293883e-01 -3.087115e-01 -1.672603e-09 -2.053980e-09
+ 1.298787e-02  7.506553e-03 -2.294731e-01 -3.086470e-01  7.853687e-09  8.624063e-11
+ 1.298787e-02  7.769986e-03 -2.295606e-01 -3.085826e-01  9.332231e-09 -4.684659e-09
+ 1.298787e-02  8.024774e-03 -2.296506e-01 -3.085185e-01 -5.527312e-10 -8.463225e-09
+ 1.298787e-02  8.271717e-03 -2.297431e-01 -3.084545e-01 -6.817930e-09  9.392467e-09
+ 1.298787e-02  8.511498e-03 -2.298380e-01 -3.083905e-01 -1.356481e-08  3.364953e-08
+ 1.298787e-02  8.744705e-03 -2.299353e-01 -3.083266e-01  1.577177e-09  2.219590e-09
+ 1.298787e-02  8.971852e-03 -2.300350e-01 -3.082626e-01 -2.234313e-08  2.121625e-08
+ 1.298787e-02  9.193388e-03 -2.301368e-01 -3.081986e-01 -1.013735e-07  1.566477e-07
+ 1.298787e-02  9.409709e-03 -2.302407e-01 -3.081345e-01  9.920120e-11  4.244122e-09
+ 1.298787e-02  9.621167e-03 -2.303469e-01 -3.080698e-01 -1.179558e-07 -2.192017e-08
+ 1.298787e-02  9.828076e-03 -2.304547e-01 -3.080052e-01 -4.643716e-07  1.198948e-06
+ 1.298787e-02  1.003072e-02 -2.305635e-01 -3.079418e-01 -3.989300e-07 -2.198164e-06
+ 1.298787e-02  1.022935e-02 -2.306700e-01 -3.078755e-01  1.031935e-06 -1.619798e-06
+ 1.298787e-02  1.042419e-02 -2.307944e-01 -3.078133e-01  4.962832e-06  8.167140e-07
+ 1.298787e-02  1.061546e-02 -2.308865e-01 -3.077396e-01  4.431411e-06  1.505336e-06
+ 1.298787e-02  1.080334e-02 -2.309885e-01 -3.076717e-01  2.599752e-05  3.812357e-06
+ 1.298787e-02  1.098801e-02 -2.310942e-01 -3.076000e-01 -1.333220e-04 -2.781547e-05
+ 1.298787e-02  1.116962e-02 -2.312118e-01 -3.075312e-01 -1.032741e-04 -2.331214e-05
+ 1.298787e-02  1.134833e-02 -2.313421e-01 -3.074676e-01 -2.750427e-05 -6.552276e-06
+ 1.298787e-02  1.152427e-02 -2.314853e-01 -3.074045e-01  1.159016e-05  2.449056e-06
+ 1.298787e-02  1.169756e-02 -2.316383e-01 -3.073416e-01  1.904913e-05  4.278944e-06
+ 1.298787e-02  1.186832e-02 -2.317978e-01 -3.072800e-01  5.665310e-06  1.000162e-06
+ 1.298787e-02  1.203666e-02 -2.319626e-01 -3.072186e-01 -1.939795e-05 -4.436602e-06
+ 1.298787e-02  1.220268e-02 -2.321316e-01 -3.071570e-01 -4.912977e-05 -1.101090e-05
+ 1.298787e-02  1.236647e-02 -2.323036e-01 -3.070953e-01 -7.960073e-05 -1.762106e-05
+ 1.298787e-02  1.252811e-02 -2.324783e-01 -3.070329e-01 -1.088959e-04 -2.388837e-05
+ 1.298787e-02  1.268770e-02 -2.326549e-01 -3.069700e-01 -1.367584e-04 -2.970827e-05
+ 1.298787e-02  1.284531e-02 -2.328328e-01 -3.069063e-01 -1.638204e-04 -3.519119e-05
+ 1.298787e-02  1.300100e-02 -2.330114e-01 -3.068416e-01 -1.912635e-04 -4.062495e-05
+ 1.298787e-02  1.315485e-02 -2.331893e-01 -3.067756e-01 -2.199995e-04 -4.617066e-05
+ 1.298787e-02  1.330692e-02 -2.333646e-01 -3.067080e-01 -2.483595e-04 -5.155753e-05
+ 1.298787e-02  1.345728e-02 -2.335324e-01 -3.066379e-01 -2.652338e-04 -5.450691e-05
+ 1.298787e-02  1.360597e-02 -2.336805e-01 -3.065630e-01 -2.168149e-04 -4.402225e-05
+ 1.298787e-02  1.375306e-02 -2.337694e-01 -3.064760e-01  1.254265e-04  2.389336e-05
+ 1.298787e-02  1.389858e-02 -2.337980e-01 -3.063748e-01 -6.698616e-05 -1.424123e-05
+ 1.298787e-02  1.404260e-02 -2.338919e-01 -3.062857e-01  2.115725e-05  4.506295e-06
+ 1.298787e-02  1.418516e-02 -2.340262e-01 -3.062042e-01  8.487157e-06  1.809243e-06
+ 1.298787e-02  1.432630e-02 -2.341736e-01 -3.061245e-01  1.110540e-06  2.342699e-07
+ 1.298787e-02  1.446606e-02 -2.343208e-01 -3.060439e-01  3.403651e-07  6.917628e-08
+ 1.298787e-02  1.460449e-02 -2.344659e-01 -3.059617e-01  1.040005e-06  2.148470e-07
+ 1.298787e-02  1.474161e-02 -2.346113e-01 -3.058788e-01  9.914646e-07  2.071592e-07
+ 1.298787e-02  1.487748e-02 -2.347585e-01 -3.057952e-01  1.686928e-07  3.469907e-08
+ 1.298787e-02  1.501211e-02 -2.349061e-01 -3.057107e-01  1.562427e-07  2.654909e-08
+ 1.298787e-02  1.514554e-02 -2.350534e-01 -3.056253e-01  2.763252e-07  5.561157e-08
+ 1.298787e-02  1.527781e-02 -2.352005e-01 -3.055388e-01  8.845836e-08  1.650438e-08
+ 1.298787e-02  1.540894e-02 -2.353478e-01 -3.054515e-01  1.100241e-07  2.245797e-08
+ 1.298787e-02  1.553897e-02 -2.354949e-01 -3.053631e-01 -2.493713e-07 -1.743587e-08
+ 1.298787e-02  1.566792e-02 -2.356407e-01 -3.052736e-01 -5.746824e-08  9.663156e-10
+ 1.298787e-02  1.579582e-02 -2.357868e-01 -3.051832e-01  6.245414e-07  6.653939e-08
+ 1.298787e-02  1.592268e-02 -2.359318e-01 -3.050916e-01 -7.534305e-08 -9.675762e-09
+ 1.298787e-02  1.604855e-02 -2.360775e-01 -3.049991e-01 -1.736760e-06 -1.677728e-07
+ 1.298787e-02  1.617343e-02 -2.362198e-01 -3.049049e-01  4.556625e-07  1.597025e-07
+ 1.298787e-02  1.629736e-02 -2.363621e-01 -3.048101e-01  1.021134e-09 -6.332371e-10
+ 1.298787e-02  1.642036e-02 -2.365032e-01 -3.047139e-01 -1.299013e-08  3.252566e-10
+ 1.298787e-02  1.654243e-02 -2.366428e-01 -3.046165e-01 -2.044245e-08 -1.593254e-08
+ 1.298787e-02  1.666362e-02 -2.367806e-01 -3.045175e-01  5.338272e-08  4.646162e-09
+ 1.298787e-02  1.678393e-02 -2.369161e-01 -3.044168e-01 -6.566419e-08 -4.139519e-08
+ 1.298787e-02  1.690338e-02 -2.370410e-01 -3.043088e-01  3.861737e-06  2.508864e-06
+ 1.298787e-02  1.702200e-02 -2.372111e-01 -3.042320e-01 -1.048670e-05 -7.708856e-06
+ 1.298787e-02  1.713979e-02 -2.373259e-01 -3.041164e-01  5.732160e-08 -1.038343e-08
+ 1.298787e-02  1.725678e-02 -2.374538e-01 -3.040103e-01 -1.161937e-08 -1.381426e-09
+ 1.298787e-02  1.737298e-02 -2.375808e-01 -3.039035e-01 -3.265730e-07 -3.615377e-09
+ 1.298787e-02  1.748841e-02 -2.377061e-01 -3.037957e-01 -5.258699e-07 -2.434434e-08
+ 1.298787e-02  1.760308e-02 -2.378270e-01 -3.036865e-01 -8.229830e-07 -2.752903e-09
+ 1.298787e-02  1.771701e-02 -2.379496e-01 -3.035760e-01  4.621467e-07  4.489227e-09
+ 1.298787e-02  1.783022e-02 -2.380667e-01 -3.034642e-01 -1.111105e-06 -1.396476e-07
+ 1.298787e-02  1.794270e-02 -2.381865e-01 -3.033509e-01 -2.148990e-06  1.577462e-07
+ 1.298787e-02  1.805449e-02 -2.382943e-01 -3.032355e-01  3.324257e-08 -5.975641e-07
+ 1.298787e-02  1.816559e-02 -2.384052e-01 -3.031191e-01  1.974481e-07  5.200037e-09
+ 1.298787e-02  1.827602e-02 -2.385131e-01 -3.030012e-01 -9.211350e-08 -1.704767e-08
+ 1.298787e-02  1.838578e-02 -2.386176e-01 -3.028816e-01 -7.178735e-09 -3.727428e-09
+ 1.298787e-02  1.849489e-02 -2.387187e-01 -3.027606e-01 -9.608206e-07  9.358293e-07
+ 1.298787e-02  1.860336e-02 -2.388172e-01 -3.026376e-01  8.239424e-08 -4.537211e-09
+ 1.298787e-02  1.871120e-02 -2.389126e-01 -3.025131e-01 -1.112568e-07 -2.439772e-08
+ 1.298787e-02  1.881842e-02 -2.390050e-01 -3.023870e-01 -6.715367e-07 -1.073942e-07
+ 1.298787e-02  1.892503e-02 -2.390924e-01 -3.022590e-01  6.443440e-07  7.898440e-08
+ 1.298787e-02  1.903105e-02 -2.391786e-01 -3.021298e-01 -4.363600e-07 -1.937991e-09
+ 1.298787e-02  1.913648e-02 -2.392579e-01 -3.020053e-01  2.184961e-06 -3.901524e-06
+ 1.298787e-02  1.924133e-02 -2.393424e-01 -3.018618e-01  1.412048e-07 -9.374415e-08
+ 1.298787e-02  1.934562e-02 -2.394170e-01 -3.017289e-01 -3.689325e-06  4.025288e-06
+ 1.298787e-02  1.944934e-02 -2.394907e-01 -3.015913e-01  1.492489e-08 -1.149292e-09
+ 1.298787e-02  1.955252e-02 -2.395606e-01 -3.014526e-01 -2.009715e-09 -2.986368e-09
+ 1.298787e-02  1.965515e-02 -2.396275e-01 -3.013121e-01  2.632766e-08 -6.275585e-09
+ 1.298787e-02  1.975725e-02 -2.396914e-01 -3.011699e-01 -1.736412e-07  5.529128e-07
+ 1.298787e-02  1.985883e-02 -2.397527e-01 -3.010259e-01  1.068771e-07 -4.950018e-08
+ 1.298787e-02  1.995989e-02 -2.398113e-01 -3.008806e-01  6.960801e-08  6.380256e-09
+ 1.298787e-02  2.006044e-02 -2.398676e-01 -3.007341e-01 -1.939282e-08 -3.982008e-09
+ 1.298787e-02  2.016048e-02 -2.399216e-01 -3.005869e-01 -3.795665e-08  1.224404e-09
+ 1.298787e-02  2.026004e-02 -2.399738e-01 -3.004402e-01 -6.211258e-08  1.121901e-08
+ 1.298787e-02  2.035910e-02 -2.400241e-01 -3.002966e-01  5.186457e-08  1.441795e-07
+ 1.298787e-02  2.045769e-02 -2.400638e-01 -3.001690e-01  1.046898e-05 -1.400062e-05
+ 1.298787e-02  2.055580e-02 -2.401043e-01 -2.999142e-01  3.909312e-05  1.523173e-04
+ 1.298787e-02  2.065345e-02 -2.401311e-01 -2.997187e-01 -1.644023e-05 -6.208285e-06
+ 1.298787e-02  2.075064e-02 -2.401692e-01 -2.995693e-01  1.418016e-05  4.715560e-06
+ 1.298787e-02  2.084738e-02 -2.402267e-01 -2.994175e-01  5.456031e-06  1.948298e-06
+ 1.298787e-02  2.094367e-02 -2.402806e-01 -2.992590e-01 -1.136969e-06 -4.179214e-07
+ 1.298787e-02  2.103951e-02 -2.403299e-01 -2.990952e-01  7.153073e-08 -9.469973e-08
+ 1.298787e-02  2.113493e-02 -2.403815e-01 -2.989286e-01 -3.942762e-07 -2.558042e-07
+ 1.298787e-02  2.122991e-02 -2.404362e-01 -2.987677e-01  7.459270e-07 -2.549902e-06
+ 1.298787e-02  2.132447e-02 -2.404960e-01 -2.985905e-01 -1.053400e-06 -1.963821e-07
+ 1.298787e-02  2.141862e-02 -2.405583e-01 -2.984222e-01  7.450663e-07  3.435451e-07
+ 1.298787e-02  2.151235e-02 -2.406250e-01 -2.982523e-01  2.947270e-06  2.380697e-06
+ 1.298787e-02  2.160567e-02 -2.407171e-01 -2.981080e-01  1.802411e-06  2.186591e-06
+ 1.298787e-02  2.169860e-02 -2.407482e-01 -2.978319e-01 -1.089362e-06  2.836611e-05
+ 1.298787e-02  2.179112e-02 -2.408554e-01 -2.976550e-01 -5.479600e-07  6.897262e-07
+ 1.298787e-02  2.188326e-02 -2.409618e-01 -2.974810e-01 -9.678238e-08 -3.100882e-07
+ 1.298787e-02  2.197501e-02 -2.410797e-01 -2.973005e-01 -3.476790e-08 -5.794682e-10
+ 1.298787e-02  2.206638e-02 -2.412099e-01 -2.971068e-01  2.109779e-07  2.875405e-08
+ 1.298787e-02  2.215737e-02 -2.413597e-01 -2.969167e-01 -7.400445e-07 -9.560943e-07
+ 1.298787e-02  2.224799e-02 -2.415226e-01 -2.967110e-01 -4.373727e-06  4.639173e-06
+ 1.298787e-02  2.233824e-02 -2.416958e-01 -2.965050e-01 -3.068809e-07  1.666510e-08
+ 1.298787e-02  2.242813e-02 -2.418881e-01 -2.962752e-01  5.097212e-06  1.837575e-07
+ 1.298787e-02  2.251766e-02 -2.422090e-01 -2.960518e-01  9.667936e-06  1.904724e-06
+ 1.298787e-02  2.260684e-02 -2.424939e-01 -2.957657e-01 -1.002622e-05 -2.340895e-06
+ 1.298787e-02  2.269566e-02 -2.427591e-01 -2.954275e-01  9.702461e-05  2.169437e-05
+ 1.298787e-02  2.278414e-02 -2.432057e-01 -2.950879e-01 -1.856435e-05 -1.285520e-06
+ 1.298787e-02  2.287228e-02 -2.437008e-01 -2.945729e-01  5.096244e-05 -3.159395e-06
+ 1.298787e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.298787e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.437518e-01  2.945698e-01
+ 1.314157e-02  1.000000e-06 -2.290946e-01 -3.097899e-01  6.272266e-09 -7.506840e-11
+ 1.314157e-02  2.006944e-03 -2.291374e-01 -3.097174e-01  1.553663e-09 -1.409459e-10
+ 1.314157e-02  2.837833e-03 -2.291831e-01 -3.096458e-01 -1.249040e-09  3.863962e-10
+ 1.314157e-02  3.475396e-03 -2.292317e-01 -3.095751e-01 -9.340666e-10 -3.013815e-10
+ 1.314157e-02  4.012887e-03 -2.292832e-01 -3.095052e-01  7.388065e-11 -1.716063e-09
+ 1.314157e-02  4.486426e-03 -2.293375e-01 -3.094361e-01 -1.252602e-09 -8.482861e-10
+ 1.314157e-02  4.914538e-03 -2.293946e-01 -3.093676e-01 -1.062588e-09  6.735310e-10
+ 1.314157e-02  5.308228e-03 -2.294546e-01 -3.092998e-01  5.816684e-09  8.768847e-11
+ 1.314157e-02  5.674665e-03 -2.295174e-01 -3.092325e-01  1.162741e-08  6.970349e-10
+ 1.314157e-02  6.018831e-03 -2.295830e-01 -3.091657e-01  6.912407e-09  2.020901e-09
+ 1.314157e-02  6.344350e-03 -2.296513e-01 -3.090994e-01 -6.754069e-10  5.441938e-10
+ 1.314157e-02  6.653962e-03 -2.297224e-01 -3.090334e-01 -1.713887e-09 -4.130387e-10
+ 1.314157e-02  6.949792e-03 -2.297961e-01 -3.089678e-01 -1.248352e-09  2.406146e-09
+ 1.314157e-02  7.233532e-03 -2.298725e-01 -3.089025e-01 -1.663279e-09  2.360511e-09
+ 1.314157e-02  7.506553e-03 -2.299516e-01 -3.088374e-01  7.198717e-09  2.798000e-10
+ 1.314157e-02  7.769986e-03 -2.300332e-01 -3.087725e-01  8.940819e-09  7.268622e-09
+ 1.314157e-02  8.024774e-03 -2.301174e-01 -3.087077e-01 -3.685900e-09  1.136158e-08
+ 1.314157e-02  8.271717e-03 -2.302040e-01 -3.086430e-01 -2.524961e-09 -2.399343e-09
+ 1.314157e-02  8.511498e-03 -2.302930e-01 -3.085783e-01 -3.056177e-08  2.723529e-09
+ 1.314157e-02  8.744705e-03 -2.303836e-01 -3.085133e-01  9.531699e-07  4.088686e-07
+ 1.314157e-02  8.971852e-03 -2.304743e-01 -3.084475e-01  1.691680e-06  6.136229e-07
+ 1.314157e-02  9.193388e-03 -2.305831e-01 -3.083872e-01 -2.971440e-06 -1.079199e-06
+ 1.314157e-02  9.409709e-03 -2.306781e-01 -3.083211e-01 -4.196870e-07  2.899821e-08
+ 1.314157e-02  9.621167e-03 -2.307783e-01 -3.082559e-01 -2.614836e-08  5.804220e-08
+ 1.314157e-02  9.828076e-03 -2.308816e-01 -3.081903e-01 -3.868630e-08  9.675935e-08
+ 1.314157e-02  1.003072e-02 -2.309884e-01 -3.081261e-01 -8.052475e-07  4.623017e-07
+ 1.314157e-02  1.022935e-02 -2.310909e-01 -3.080596e-01 -2.480122e-06 -3.393743e-06
+ 1.314157e-02  1.042419e-02 -2.312018e-01 -3.079945e-01  8.786216e-07 -2.308970e-06
+ 1.314157e-02  1.061546e-02 -2.313144e-01 -3.079265e-01 -6.848994e-07  1.354960e-06
+ 1.314157e-02  1.080334e-02 -2.314277e-01 -3.078602e-01  2.343519e-08 -4.653988e-09
+ 1.314157e-02  1.098801e-02 -2.315428e-01 -3.077937e-01  8.743756e-07 -1.600221e-06
+ 1.314157e-02  1.116962e-02 -2.316609e-01 -3.077241e-01 -1.521420e-06  2.632797e-06
+ 1.314157e-02  1.134833e-02 -2.317797e-01 -3.076560e-01 -1.223620e-06  1.933993e-06
+ 1.314157e-02  1.152427e-02 -2.318986e-01 -3.075895e-01  8.088285e-07 -1.312015e-06
+ 1.314157e-02  1.169756e-02 -2.320200e-01 -3.075206e-01 -2.624397e-09 -5.867653e-09
+ 1.314157e-02  1.186832e-02 -2.321433e-01 -3.074504e-01 -1.089861e-07  2.641997e-08
+ 1.314157e-02  1.203666e-02 -2.322673e-01 -3.073802e-01  8.887236e-08 -1.763658e-07
+ 1.314157e-02  1.220268e-02 -2.323922e-01 -3.073091e-01 -4.845828e-07 -1.689220e-07
+ 1.314157e-02  1.236647e-02 -2.325175e-01 -3.072372e-01  5.424490e-08 -8.362223e-08
+ 1.314157e-02  1.252811e-02 -2.326433e-01 -3.071645e-01 -5.028435e-07 -1.037215e-07
+ 1.314157e-02  1.268770e-02 -2.327706e-01 -3.070911e-01 -8.549362e-08 -1.913868e-08
+ 1.314157e-02  1.284531e-02 -2.328970e-01 -3.070168e-01 -9.690664e-06 -1.798692e-06
+ 1.314157e-02  1.300100e-02 -2.330078e-01 -3.069384e-01  8.570705e-06  1.605571e-06
+ 1.314157e-02  1.315485e-02 -2.330547e-01 -3.068466e-01  8.964758e-07  1.551864e-07
+ 1.314157e-02  1.330692e-02 -2.330672e-01 -3.067451e-01  1.774749e-04  3.629614e-05
+ 1.314157e-02  1.345728e-02 -2.331913e-01 -3.066661e-01  2.258674e-04  4.604851e-05
+ 1.314157e-02  1.360597e-02 -2.333620e-01 -3.065963e-01  1.269050e-04  2.577788e-05
+ 1.314157e-02  1.375306e-02 -2.335517e-01 -3.065293e-01  4.933398e-05  9.883842e-06
+ 1.314157e-02  1.389858e-02 -2.337502e-01 -3.064629e-01  1.227439e-05  2.406406e-06
+ 1.314157e-02  1.404260e-02 -2.339530e-01 -3.063960e-01  1.107738e-06  2.074181e-07
+ 1.314157e-02  1.418516e-02 -2.341580e-01 -3.063281e-01  5.059295e-08  8.257506e-09
+ 1.314157e-02  1.432630e-02 -2.343644e-01 -3.062590e-01 -4.287939e-07 -8.234779e-08
+ 1.314157e-02  1.446606e-02 -2.345724e-01 -3.061887e-01 -3.978273e-06 -7.017050e-07
+ 1.314157e-02  1.460449e-02 -2.347827e-01 -3.061172e-01 -9.986750e-06 -1.705944e-06
+ 1.314157e-02  1.474161e-02 -2.349968e-01 -3.060446e-01 -1.542283e-05 -2.544483e-06
+ 1.314157e-02  1.487748e-02 -2.352163e-01 -3.059711e-01 -1.608956e-05 -2.543511e-06
+ 1.314157e-02  1.501211e-02 -2.354430e-01 -3.058967e-01 -8.575163e-06 -1.292751e-06
+ 1.314157e-02  1.514554e-02 -2.356780e-01 -3.058211e-01  2.114316e-07  2.713734e-08
+ 1.314157e-02  1.527781e-02 -2.359182e-01 -3.057437e-01 -4.709861e-05 -5.999454e-06
+ 1.314157e-02  1.540894e-02 -2.361180e-01 -3.056593e-01 -3.444040e-04 -4.179439e-05
+ 1.314157e-02  1.553897e-02 -2.358091e-01 -3.055132e-01  4.274265e-05  6.563693e-06
+ 1.314157e-02  1.566792e-02 -2.359143e-01 -3.054167e-01  3.692861e-06  5.486694e-07
+ 1.314157e-02  1.579582e-02 -2.360340e-01 -3.053214e-01  2.743012e-06  4.473640e-07
+ 1.314157e-02  1.592268e-02 -2.361624e-01 -3.052264e-01 -1.738388e-06 -1.546233e-07
+ 1.314157e-02  1.604855e-02 -2.362909e-01 -3.051305e-01  2.945124e-08  2.234665e-08
+ 1.314157e-02  1.617343e-02 -2.364215e-01 -3.050339e-01  6.970947e-08  1.146082e-08
+ 1.314157e-02  1.629736e-02 -2.365530e-01 -3.049361e-01  3.142690e-08  1.879783e-08
+ 1.314157e-02  1.642036e-02 -2.366835e-01 -3.048376e-01 -1.291367e-07 -1.404892e-07
+ 1.314157e-02  1.654243e-02 -2.368135e-01 -3.047370e-01 -1.272535e-07  6.032312e-08
+ 1.314157e-02  1.666362e-02 -2.369414e-01 -3.046355e-01  2.378644e-09 -1.655814e-08
+ 1.314157e-02  1.678393e-02 -2.370637e-01 -3.045295e-01  4.558525e-06  2.886702e-06
+ 1.314157e-02  1.690338e-02 -2.372250e-01 -3.044495e-01 -1.332726e-05 -9.377142e-06
+ 1.314157e-02  1.702200e-02 -2.373333e-01 -3.043333e-01  6.054817e-08  2.548980e-08
+ 1.314157e-02  1.713979e-02 -2.374548e-01 -3.042260e-01  1.632833e-08  7.389681e-09
+ 1.314157e-02  1.725678e-02 -2.375760e-01 -3.041183e-01 -5.192336e-08  1.064356e-09
+ 1.314157e-02  1.737298e-02 -2.376957e-01 -3.040096e-01 -3.016094e-07 -1.979704e-09
+ 1.314157e-02  1.748841e-02 -2.378136e-01 -3.038997e-01 -4.054235e-08  4.130094e-09
+ 1.314157e-02  1.760308e-02 -2.379285e-01 -3.037885e-01 -1.372596e-06 -7.117892e-08
+ 1.314157e-02  1.771701e-02 -2.380417e-01 -3.036757e-01 -1.719649e-06 -1.324492e-07
+ 1.314157e-02  1.783022e-02 -2.381519e-01 -3.035615e-01  6.190770e-07  7.140945e-08
+ 1.314157e-02  1.794270e-02 -2.382654e-01 -3.034461e-01 -7.199608e-06 -1.116766e-07
+ 1.314157e-02  1.805449e-02 -2.383663e-01 -3.033290e-01  1.256507e-06  1.848433e-08
+ 1.314157e-02  1.816559e-02 -2.384705e-01 -3.032104e-01 -1.531328e-07 -3.957697e-09
+ 1.314157e-02  1.827602e-02 -2.385709e-01 -3.030902e-01  7.337860e-09 -4.659625e-10
+ 1.314157e-02  1.838578e-02 -2.386682e-01 -3.029684e-01  8.945241e-09  1.528162e-09
+ 1.314157e-02  1.849489e-02 -2.387625e-01 -3.028450e-01  1.474238e-07 -2.398810e-10
+ 1.314157e-02  1.860336e-02 -2.388535e-01 -3.027202e-01 -2.283892e-09  2.521594e-08
+ 1.314157e-02  1.871120e-02 -2.389417e-01 -3.025934e-01 -9.283660e-08 -2.358091e-08
+ 1.314157e-02  1.881842e-02 -2.390267e-01 -3.024650e-01 -1.122414e-08  9.197820e-11
+ 1.314157e-02  1.892503e-02 -2.391085e-01 -3.023350e-01  4.246339e-07  7.659972e-08
+ 1.314157e-02  1.903105e-02 -2.391866e-01 -3.022035e-01  4.283402e-07  1.592345e-07
+ 1.314157e-02  1.913648e-02 -2.392619e-01 -3.020713e-01 -5.063702e-07  4.377532e-07
+ 1.314157e-02  1.924133e-02 -2.393363e-01 -3.019279e-01 -9.559065e-07  2.181526e-06
+ 1.314157e-02  1.934562e-02 -2.394037e-01 -3.017933e-01 -2.088226e-07  6.539319e-07
+ 1.314157e-02  1.944934e-02 -2.394680e-01 -3.016564e-01 -1.190113e-07  1.219090e-07
+ 1.314157e-02  1.955252e-02 -2.395304e-01 -3.015153e-01 -1.100821e-07  1.253114e-08
+ 1.314157e-02  1.965515e-02 -2.395893e-01 -3.013726e-01  1.339497e-07 -3.613076e-09
+ 1.314157e-02  1.975725e-02 -2.396454e-01 -3.012284e-01 -2.397450e-09  1.625403e-09
+ 1.314157e-02  1.985883e-02 -2.396986e-01 -3.010823e-01  9.578306e-08 -5.047998e-09
+ 1.314157e-02  1.995989e-02 -2.397491e-01 -3.009350e-01  1.316486e-07  5.315793e-09
+ 1.314157e-02  2.006044e-02 -2.397972e-01 -3.007866e-01  9.910323e-08  1.594972e-08
+ 1.314157e-02  2.016048e-02 -2.398433e-01 -3.006377e-01  4.324700e-08  2.439709e-08
+ 1.314157e-02  2.026004e-02 -2.398880e-01 -3.004896e-01  5.116089e-08  1.778556e-08
+ 1.314157e-02  2.035910e-02 -2.399317e-01 -3.003445e-01  2.585491e-07  5.222782e-07
+ 1.314157e-02  2.045769e-02 -2.399755e-01 -3.002090e-01 -4.592665e-06 -3.471396e-06
+ 1.314157e-02  2.055580e-02 -2.399556e-01 -2.998827e-01 -6.520029e-06 -2.360880e-06
+ 1.314157e-02  2.065345e-02 -2.399978e-01 -2.997482e-01  3.033851e-06 -7.512452e-08
+ 1.314157e-02  2.075064e-02 -2.400371e-01 -2.996030e-01  1.532156e-07 -4.807628e-08
+ 1.314157e-02  2.084738e-02 -2.400772e-01 -2.994475e-01 -1.418234e-08 -7.803669e-09
+ 1.314157e-02  2.094367e-02 -2.401150e-01 -2.992860e-01 -2.443717e-08 -2.269815e-08
+ 1.314157e-02  2.103951e-02 -2.401526e-01 -2.991209e-01  3.763822e-07  1.857429e-06
+ 1.314157e-02  2.113493e-02 -2.401904e-01 -2.989506e-01  4.133725e-08  3.128897e-08
+ 1.314157e-02  2.122991e-02 -2.402350e-01 -2.987879e-01 -1.387829e-07  2.726770e-07
+ 1.314157e-02  2.132447e-02 -2.402817e-01 -2.986120e-01  5.820567e-07  1.158223e-07
+ 1.314157e-02  2.141862e-02 -2.403288e-01 -2.984423e-01 -1.384893e-05 -8.972013e-06
+ 1.314157e-02  2.151235e-02 -2.403977e-01 -2.982855e-01  4.691658e-07  3.873043e-07
+ 1.314157e-02  2.160567e-02 -2.403844e-01 -2.980000e-01 -4.758217e-06 -7.546696e-06
+ 1.314157e-02  2.169860e-02 -2.404699e-01 -2.978240e-01  2.216331e-06 -2.485458e-05
+ 1.314157e-02  2.179112e-02 -2.405592e-01 -2.976743e-01 -1.398366e-06 -9.807189e-07
+ 1.314157e-02  2.188326e-02 -2.406528e-01 -2.974942e-01  1.109949e-07 -7.788666e-08
+ 1.314157e-02  2.197501e-02 -2.407566e-01 -2.973153e-01  5.072469e-07  2.770988e-07
+ 1.314157e-02  2.206638e-02 -2.408786e-01 -2.971296e-01 -4.602672e-08 -5.279125e-08
+ 1.314157e-02  2.215737e-02 -2.410117e-01 -2.969463e-01  2.660680e-06  3.905251e-06
+ 1.314157e-02  2.224799e-02 -2.411591e-01 -2.967298e-01 -1.380248e-06 -3.795776e-07
+ 1.314157e-02  2.233824e-02 -2.413293e-01 -2.965326e-01  1.385180e-06 -5.842939e-08
+ 1.314157e-02  2.242813e-02 -2.415205e-01 -2.963263e-01 -4.458242e-06 -3.519461e-06
+ 1.314157e-02  2.251766e-02 -2.417564e-01 -2.961067e-01 -2.491653e-05 -9.636786e-06
+ 1.314157e-02  2.260684e-02 -2.419282e-01 -2.958175e-01  8.799477e-05  1.726467e-05
+ 1.314157e-02  2.269566e-02 -2.422436e-01 -2.954913e-01 -8.277098e-06 -1.345615e-05
+ 1.314157e-02  2.278414e-02 -2.427273e-01 -2.952435e-01 -2.157898e-05 -3.913050e-05
+ 1.314157e-02  2.287228e-02 -2.431394e-01 -2.947937e-01 -2.431394e-01 -2.947937e-01
+ 1.314157e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.314157e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.329349e-02  1.000000e-06 -2.296496e-01 -3.099815e-01 -4.320373e-10 -1.999828e-09
+ 1.329349e-02  2.006944e-03 -2.296865e-01 -3.099090e-01 -1.946883e-09 -1.176813e-09
+ 1.329349e-02  2.837833e-03 -2.297263e-01 -3.098374e-01 -1.222387e-09  6.069983e-11
+ 1.329349e-02  3.475396e-03 -2.297690e-01 -3.097667e-01 -6.953398e-10 -5.422690e-10
+ 1.329349e-02  4.012887e-03 -2.298146e-01 -3.096967e-01 -2.609050e-09 -1.831565e-09
+ 1.329349e-02  4.486426e-03 -2.298630e-01 -3.096274e-01 -4.473653e-09 -2.656181e-09
+ 1.329349e-02  4.914538e-03 -2.299143e-01 -3.095587e-01  3.085083e-09  1.257576e-09
+ 1.329349e-02  5.308228e-03 -2.299684e-01 -3.094906e-01  1.561839e-08  5.473813e-09
+ 1.329349e-02  5.674665e-03 -2.300253e-01 -3.094230e-01  9.036740e-09 -1.137000e-09
+ 1.329349e-02  6.018831e-03 -2.300848e-01 -3.093558e-01 -1.690721e-07 -5.937857e-08
+ 1.329349e-02  6.344350e-03 -2.301462e-01 -3.092887e-01  2.732732e-07  1.023468e-07
+ 1.329349e-02  6.653962e-03 -2.302101e-01 -3.092218e-01  2.379942e-06  8.364670e-07
+ 1.329349e-02  6.949792e-03 -2.302815e-01 -3.091569e-01  4.064827e-07  1.413967e-07
+ 1.329349e-02  7.233532e-03 -2.303562e-01 -3.090925e-01 -3.454721e-06 -1.178444e-06
+ 1.329349e-02  7.506553e-03 -2.304276e-01 -3.090262e-01 -1.021048e-06 -3.502666e-07
+ 1.329349e-02  7.769986e-03 -2.305025e-01 -3.089604e-01  3.839350e-08  6.385008e-09
+ 1.329349e-02  8.024774e-03 -2.305809e-01 -3.088950e-01  1.543531e-08  2.926061e-09
+ 1.329349e-02  8.271717e-03 -2.306618e-01 -3.088297e-01 -3.031922e-09  2.423490e-08
+ 1.329349e-02  8.511498e-03 -2.307453e-01 -3.087645e-01  7.189554e-10  6.887313e-10
+ 1.329349e-02  8.744705e-03 -2.308313e-01 -3.086992e-01 -1.373363e-08 -1.502962e-09
+ 1.329349e-02  8.971852e-03 -2.309197e-01 -3.086338e-01  6.309804e-09  6.049587e-08
+ 1.329349e-02  9.193388e-03 -2.310106e-01 -3.085685e-01  7.569033e-09  1.558439e-08
+ 1.329349e-02  9.409709e-03 -2.311040e-01 -3.085029e-01 -2.149249e-08 -8.930069e-09
+ 1.329349e-02  9.621167e-03 -2.312006e-01 -3.084379e-01 -1.033320e-07  1.014276e-07
+ 1.329349e-02  9.828076e-03 -2.312955e-01 -3.083703e-01 -5.657302e-06 -3.103012e-06
+ 1.329349e-02  1.003072e-02 -2.313956e-01 -3.083036e-01  2.363172e-07  5.885582e-07
+ 1.329349e-02  1.022935e-02 -2.314978e-01 -3.082380e-01  7.090366e-08 -1.504466e-07
+ 1.329349e-02  1.042419e-02 -2.316012e-01 -3.081730e-01  3.706643e-07 -8.085492e-07
+ 1.329349e-02  1.061546e-02 -2.317076e-01 -3.081053e-01  1.362433e-06 -2.812521e-06
+ 1.329349e-02  1.080334e-02 -2.318166e-01 -3.080360e-01 -8.516475e-07  1.661662e-06
+ 1.329349e-02  1.098801e-02 -2.319262e-01 -3.079688e-01 -1.849676e-09 -8.869790e-09
+ 1.329349e-02  1.116962e-02 -2.320380e-01 -3.079004e-01  5.340748e-07 -9.400667e-07
+ 1.329349e-02  1.134833e-02 -2.321529e-01 -3.078293e-01 -9.800894e-07  1.661862e-06
+ 1.329349e-02  1.152427e-02 -2.322680e-01 -3.077604e-01 -1.782988e-06  2.889606e-06
+ 1.329349e-02  1.169756e-02 -2.323837e-01 -3.076925e-01  1.205532e-06 -1.856939e-06
+ 1.329349e-02  1.186832e-02 -2.325023e-01 -3.076218e-01  5.911857e-08 -7.091230e-08
+ 1.329349e-02  1.203666e-02 -2.326226e-01 -3.075503e-01 -1.980996e-08  1.869898e-08
+ 1.329349e-02  1.220268e-02 -2.327439e-01 -3.074787e-01  3.893743e-08 -5.948094e-08
+ 1.329349e-02  1.236647e-02 -2.328667e-01 -3.074061e-01  3.070477e-08 -4.033460e-08
+ 1.329349e-02  1.252811e-02 -2.329906e-01 -3.073331e-01  8.443365e-08 -8.990883e-08
+ 1.329349e-02  1.268770e-02 -2.331157e-01 -3.072593e-01  1.229454e-08 -3.762927e-08
+ 1.329349e-02  1.284531e-02 -2.332418e-01 -3.071847e-01  1.483740e-08 -2.829547e-08
+ 1.329349e-02  1.300100e-02 -2.333687e-01 -3.071094e-01 -1.920210e-08 -8.407054e-09
+ 1.329349e-02  1.315485e-02 -2.334964e-01 -3.070333e-01  1.247821e-08 -7.109142e-10
+ 1.329349e-02  1.330692e-02 -2.336246e-01 -3.069563e-01 -4.377636e-08 -8.331243e-09
+ 1.329349e-02  1.345728e-02 -2.337533e-01 -3.068785e-01 -4.679869e-08 -9.198794e-09
+ 1.329349e-02  1.360597e-02 -2.338818e-01 -3.067997e-01 -1.018173e-07 -2.652055e-08
+ 1.329349e-02  1.375306e-02 -2.340102e-01 -3.067200e-01 -1.039664e-07 -2.303625e-08
+ 1.329349e-02  1.389858e-02 -2.341381e-01 -3.066392e-01  5.697028e-09 -1.111337e-08
+ 1.329349e-02  1.404260e-02 -2.342639e-01 -3.065571e-01 -1.344253e-06 -2.055742e-07
+ 1.329349e-02  1.418516e-02 -2.343859e-01 -3.064735e-01 -2.360806e-07 -4.644764e-08
+ 1.329349e-02  1.432630e-02 -2.345079e-01 -3.063888e-01 -1.546325e-06 -2.386503e-07
+ 1.329349e-02  1.446606e-02 -2.345677e-01 -3.062934e-01  6.359919e-05  9.958175e-06
+ 1.329349e-02  1.460449e-02 -2.343975e-01 -3.061544e-01  3.007463e-04  5.296005e-05
+ 1.329349e-02  1.474161e-02 -2.345800e-01 -3.060782e-01  4.191292e-05  7.395535e-06
+ 1.329349e-02  1.487748e-02 -2.348095e-01 -3.060090e-01  1.899513e-06  3.149974e-07
+ 1.329349e-02  1.501211e-02 -2.350444e-01 -3.059389e-01  2.664664e-05  4.237126e-06
+ 1.329349e-02  1.514554e-02 -2.352761e-01 -3.058662e-01  3.473793e-05  5.240746e-06
+ 1.329349e-02  1.527781e-02 -2.355043e-01 -3.057908e-01  1.697368e-05  2.424598e-06
+ 1.329349e-02  1.540894e-02 -2.357319e-01 -3.057131e-01 -1.620930e-05 -2.165190e-06
+ 1.329349e-02  1.553897e-02 -2.359610e-01 -3.056330e-01 -5.397333e-05 -6.685260e-06
+ 1.329349e-02  1.566792e-02 -2.362009e-01 -3.055513e-01 -8.990793e-05 -1.004935e-05
+ 1.329349e-02  1.579582e-02 -2.364584e-01 -3.054679e-01 -1.065334e-04 -1.044903e-05
+ 1.329349e-02  1.592268e-02 -2.367408e-01 -3.053822e-01 -6.528106e-05 -5.140692e-06
+ 1.329349e-02  1.604855e-02 -2.370524e-01 -3.052957e-01 -1.482543e-05 -3.629342e-06
+ 1.329349e-02  1.617343e-02 -2.372459e-01 -3.051847e-01 -5.060495e-04 -1.992547e-05
+ 1.329349e-02  1.629736e-02 -2.368066e-01 -3.050637e-01  3.779342e-06  4.355333e-07
+ 1.329349e-02  1.642036e-02 -2.368972e-01 -3.049612e-01 -4.987589e-07 -8.964328e-07
+ 1.329349e-02  1.654243e-02 -2.370040e-01 -3.048532e-01 -1.843412e-06  9.561368e-07
+ 1.329349e-02  1.666362e-02 -2.371073e-01 -3.047461e-01  7.357350e-06  4.387117e-06
+ 1.329349e-02  1.678393e-02 -2.372611e-01 -3.046667e-01 -1.040719e-05 -6.852751e-06
+ 1.329349e-02  1.690338e-02 -2.373590e-01 -3.045499e-01  1.426759e-07  1.441583e-07
+ 1.329349e-02  1.702200e-02 -2.374712e-01 -3.044414e-01  8.713166e-08  1.464130e-08
+ 1.329349e-02  1.713979e-02 -2.375846e-01 -3.043327e-01 -2.545345e-07 -5.658415e-08
+ 1.329349e-02  1.725678e-02 -2.376964e-01 -3.042228e-01  8.337083e-07  2.465308e-07
+ 1.329349e-02  1.737298e-02 -2.378094e-01 -3.041125e-01  4.742606e-07  2.120030e-07
+ 1.329349e-02  1.748841e-02 -2.379191e-01 -3.040005e-01 -7.469105e-08 -7.042793e-08
+ 1.329349e-02  1.760308e-02 -2.380266e-01 -3.038870e-01  7.517667e-08  7.540346e-10
+ 1.329349e-02  1.771701e-02 -2.381302e-01 -3.037722e-01 -1.037008e-06 -5.348841e-09
+ 1.329349e-02  1.783022e-02 -2.382351e-01 -3.036559e-01  9.227901e-07 -1.810685e-11
+ 1.329349e-02  1.794270e-02 -2.383401e-01 -3.035382e-01 -5.118182e-06 -3.240340e-08
+ 1.329349e-02  1.805449e-02 -2.384338e-01 -3.034190e-01 -9.713650e-07 -5.635995e-08
+ 1.329349e-02  1.816559e-02 -2.385307e-01 -3.032982e-01  1.448095e-08  1.703848e-08
+ 1.329349e-02  1.827602e-02 -2.386235e-01 -3.031758e-01 -5.318191e-10  1.143852e-09
+ 1.329349e-02  1.838578e-02 -2.387134e-01 -3.030518e-01  2.336634e-07  7.394604e-09
+ 1.329349e-02  1.849489e-02 -2.388004e-01 -3.029262e-01  9.261470e-08 -1.517442e-09
+ 1.329349e-02  1.860336e-02 -2.388847e-01 -3.027984e-01 -3.547720e-07  4.672371e-07
+ 1.329349e-02  1.871120e-02 -2.389648e-01 -3.026701e-01 -5.202795e-09  6.377870e-10
+ 1.329349e-02  1.881842e-02 -2.390423e-01 -3.025394e-01  2.819010e-08 -4.745117e-09
+ 1.329349e-02  1.892503e-02 -2.391163e-01 -3.024071e-01 -5.120934e-09 -2.774208e-08
+ 1.329349e-02  1.903105e-02 -2.391857e-01 -3.022730e-01  1.767355e-06  2.469509e-07
+ 1.329349e-02  1.913648e-02 -2.392539e-01 -3.021379e-01  3.732169e-07  3.223120e-07
+ 1.329349e-02  1.924133e-02 -2.393178e-01 -3.020002e-01 -8.502095e-06  2.529883e-05
+ 1.329349e-02  1.934562e-02 -2.393807e-01 -3.018561e-01  2.039559e-07 -3.913141e-07
+ 1.329349e-02  1.944934e-02 -2.394367e-01 -3.017194e-01 -2.453074e-06  6.936340e-06
+ 1.329349e-02  1.955252e-02 -2.394915e-01 -3.015738e-01 -2.278893e-08  1.492292e-08
+ 1.329349e-02  1.965515e-02 -2.395424e-01 -3.014288e-01  2.351063e-09  5.230445e-09
+ 1.329349e-02  1.975725e-02 -2.395901e-01 -3.012822e-01 -9.831537e-08  1.971557e-09
+ 1.329349e-02  1.985883e-02 -2.396348e-01 -3.011338e-01  1.159623e-08  4.778197e-08
+ 1.329349e-02  1.995989e-02 -2.396768e-01 -3.009846e-01  5.755509e-08  1.635377e-09
+ 1.329349e-02  2.006044e-02 -2.397167e-01 -3.008343e-01  6.936175e-08  2.071702e-08
+ 1.329349e-02  2.016048e-02 -2.397544e-01 -3.006837e-01  6.658424e-07  2.410733e-07
+ 1.329349e-02  2.026004e-02 -2.397969e-01 -3.005367e-01 -5.428850e-06 -2.309868e-06
+ 1.329349e-02  2.035910e-02 -2.398402e-01 -3.003940e-01 -2.068967e-05 -9.050319e-06
+ 1.329349e-02  2.045769e-02 -2.398093e-01 -3.002068e-01 -1.742459e-04 -3.007090e-04
+ 1.329349e-02  2.055580e-02 -2.398591e-01 -3.001192e-01  9.489686e-05  7.886861e-05
+ 1.329349e-02  2.065345e-02 -2.398168e-01 -2.997804e-01 -6.628673e-05  3.724860e-05
+ 1.329349e-02  2.075064e-02 -2.398821e-01 -2.996228e-01  7.271585e-07 -1.458427e-07
+ 1.329349e-02  2.084738e-02 -2.399075e-01 -2.994661e-01  3.937956e-07  1.938537e-07
+ 1.329349e-02  2.094367e-02 -2.399314e-01 -2.993036e-01 -1.146452e-07 -3.063800e-07
+ 1.329349e-02  2.103951e-02 -2.399549e-01 -2.991346e-01 -9.197127e-07 -2.618726e-06
+ 1.329349e-02  2.113493e-02 -2.399704e-01 -2.989509e-01  9.317612e-06  1.419734e-05
+ 1.329349e-02  2.122991e-02 -2.400072e-01 -2.987996e-01 -8.235761e-06 -8.528403e-07
+ 1.329349e-02  2.132447e-02 -2.400477e-01 -2.986257e-01  1.831502e-05  1.719884e-05
+ 1.329349e-02  2.141862e-02 -2.400841e-01 -2.984593e-01 -5.721592e-07 -1.848888e-06
+ 1.329349e-02  2.151235e-02 -2.401365e-01 -2.983038e-01  9.574080e-07 -6.209707e-07
+ 1.329349e-02  2.160567e-02 -2.400768e-01 -2.979954e-01 -2.899474e-06 -5.237719e-06
+ 1.329349e-02  2.169860e-02 -2.401512e-01 -2.978362e-01  7.184931e-07  2.370691e-07
+ 1.329349e-02  2.179112e-02 -2.401967e-01 -2.976529e-01  1.462003e-05  9.893008e-06
+ 1.329349e-02  2.188326e-02 -2.403207e-01 -2.975137e-01  5.351656e-06  7.568330e-06
+ 1.329349e-02  2.197501e-02 -2.404009e-01 -2.973204e-01  2.575023e-06  2.326887e-06
+ 1.329349e-02  2.206638e-02 -2.405067e-01 -2.971360e-01  1.224613e-06  3.072462e-06
+ 1.329349e-02  2.215737e-02 -2.406049e-01 -2.969143e-01  1.744426e-06  2.516805e-06
+ 1.329349e-02  2.224799e-02 -2.407521e-01 -2.967313e-01  6.711797e-07  1.735667e-07
+ 1.329349e-02  2.233824e-02 -2.409216e-01 -2.965398e-01 -1.734054e-05 -3.497157e-06
+ 1.329349e-02  2.242813e-02 -2.410733e-01 -2.963314e-01 -1.578862e-05 -1.316266e-06
+ 1.329349e-02  2.251766e-02 -2.413037e-01 -2.960946e-01 -6.980628e-06 -3.821451e-06
+ 1.329349e-02  2.260684e-02 -2.415306e-01 -2.958625e-01  1.704175e-05  3.959828e-06
+ 1.329349e-02  2.269566e-02 -2.419220e-01 -2.955866e-01 -1.388899e-04 -1.251657e-05
+ 1.329349e-02  2.278414e-02 -2.421275e-01 -2.951890e-01 -6.464413e-06 -2.569575e-06
+ 1.329349e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.329349e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.421210e-01  2.951865e-01
+ 1.344369e-02  1.000000e-06 -2.301991e-01 -3.101706e-01 -1.234968e-09  9.343826e-10
+ 1.344369e-02  2.006944e-03 -2.302302e-01 -3.100981e-01  4.694534e-10  1.658555e-09
+ 1.344369e-02  2.837833e-03 -2.302642e-01 -3.100266e-01  1.556038e-09  1.105179e-09
+ 1.344369e-02  3.475396e-03 -2.303011e-01 -3.099558e-01  6.610091e-10  7.145025e-10
+ 1.344369e-02  4.012887e-03 -2.303410e-01 -3.098857e-01 -7.134944e-10  3.433417e-10
+ 1.344369e-02  4.486426e-03 -2.303837e-01 -3.098163e-01  3.475518e-10  3.477512e-10
+ 1.344369e-02  4.914538e-03 -2.304292e-01 -3.097475e-01  7.294829e-09  1.203144e-09
+ 1.344369e-02  5.308228e-03 -2.304777e-01 -3.096791e-01  1.325818e-08  1.511796e-10
+ 1.344369e-02  5.674665e-03 -2.305289e-01 -3.096113e-01  1.197208e-08  4.199415e-10
+ 1.344369e-02  6.018831e-03 -2.305829e-01 -3.095438e-01  4.907103e-09  1.678572e-09
+ 1.344369e-02  6.344350e-03 -2.306397e-01 -3.094767e-01 -8.704328e-10 -1.432503e-09
+ 1.344369e-02  6.653962e-03 -2.306993e-01 -3.094099e-01 -1.382264e-09  5.562120e-10
+ 1.344369e-02  6.949792e-03 -2.307615e-01 -3.093434e-01 -7.484797e-10  4.638542e-09
+ 1.344369e-02  7.233532e-03 -2.308265e-01 -3.092771e-01 -1.835785e-09 -1.995050e-10
+ 1.344369e-02  7.506553e-03 -2.308940e-01 -3.092109e-01  4.717888e-09  2.444315e-09
+ 1.344369e-02  7.769986e-03 -2.309643e-01 -3.091449e-01  3.183938e-09  4.258480e-09
+ 1.344369e-02  8.024774e-03 -2.310370e-01 -3.090790e-01  1.379596e-08  2.721363e-09
+ 1.344369e-02  8.271717e-03 -2.311124e-01 -3.090130e-01 -1.104671e-08 -5.415760e-09
+ 1.344369e-02  8.511498e-03 -2.311903e-01 -3.089471e-01  2.073207e-09  2.567902e-08
+ 1.344369e-02  8.744705e-03 -2.312706e-01 -3.088812e-01 -1.661227e-08 -4.054644e-10
+ 1.344369e-02  8.971852e-03 -2.313535e-01 -3.088152e-01  1.237711e-08  7.026664e-09
+ 1.344369e-02  9.193388e-03 -2.314399e-01 -3.087497e-01 -4.121614e-10  4.726836e-08
+ 1.344369e-02  9.409709e-03 -2.315247e-01 -3.086819e-01 -4.607605e-06 -2.552625e-06
+ 1.344369e-02  9.621167e-03 -2.316140e-01 -3.086149e-01  5.532355e-07  3.480185e-07
+ 1.344369e-02  9.828076e-03 -2.317066e-01 -3.085486e-01 -2.085985e-08  6.027761e-08
+ 1.344369e-02  1.003072e-02 -2.318010e-01 -3.084814e-01 -6.794864e-08  1.596925e-07
+ 1.344369e-02  1.022935e-02 -2.318976e-01 -3.084136e-01 -3.373338e-07  8.161543e-07
+ 1.344369e-02  1.042419e-02 -2.319956e-01 -3.083468e-01  5.973987e-07 -1.300937e-06
+ 1.344369e-02  1.061546e-02 -2.320953e-01 -3.082803e-01  6.577930e-08 -1.427953e-07
+ 1.344369e-02  1.080334e-02 -2.321982e-01 -3.082107e-01  1.360515e-06 -2.744532e-06
+ 1.344369e-02  1.098801e-02 -2.323033e-01 -3.081402e-01 -7.298984e-07  1.396534e-06
+ 1.344369e-02  1.116962e-02 -2.324089e-01 -3.080718e-01  1.600411e-07 -2.654753e-07
+ 1.344369e-02  1.134833e-02 -2.325172e-01 -3.080013e-01 -2.980998e-07  5.362740e-07
+ 1.344369e-02  1.152427e-02 -2.326283e-01 -3.079287e-01 -2.910574e-07  4.802911e-07
+ 1.344369e-02  1.169756e-02 -2.327390e-01 -3.078589e-01 -1.875569e-06  2.986673e-06
+ 1.344369e-02  1.186832e-02 -2.328509e-01 -3.077891e-01  1.065031e-06 -1.612941e-06
+ 1.344369e-02  1.203666e-02 -2.329658e-01 -3.077163e-01  1.587887e-07 -2.055790e-07
+ 1.344369e-02  1.220268e-02 -2.330820e-01 -3.076433e-01  8.733284e-08 -1.287760e-07
+ 1.344369e-02  1.236647e-02 -2.331993e-01 -3.075699e-01 -3.143007e-09 -1.910160e-09
+ 1.344369e-02  1.252811e-02 -2.333181e-01 -3.074955e-01 -3.698619e-10  3.064740e-09
+ 1.344369e-02  1.268770e-02 -2.334380e-01 -3.074207e-01  6.054764e-08 -4.954012e-08
+ 1.344369e-02  1.284531e-02 -2.335592e-01 -3.073450e-01  2.466744e-08 -3.251098e-08
+ 1.344369e-02  1.300100e-02 -2.336814e-01 -3.072686e-01  3.830639e-08 -4.589179e-08
+ 1.344369e-02  1.315485e-02 -2.338045e-01 -3.071914e-01  1.779993e-08 -1.877697e-08
+ 1.344369e-02  1.330692e-02 -2.339284e-01 -3.071134e-01  3.797205e-08 -1.494075e-08
+ 1.344369e-02  1.345728e-02 -2.340531e-01 -3.070346e-01 -5.224122e-09 -5.221123e-09
+ 1.344369e-02  1.360597e-02 -2.341785e-01 -3.069549e-01 -1.561141e-10 -1.287152e-09
+ 1.344369e-02  1.375306e-02 -2.343043e-01 -3.068743e-01 -2.173376e-09 -4.715411e-10
+ 1.344369e-02  1.389858e-02 -2.344305e-01 -3.067928e-01  9.014088e-09 -4.474852e-10
+ 1.344369e-02  1.404260e-02 -2.345569e-01 -3.067104e-01  3.271695e-10 -2.448380e-09
+ 1.344369e-02  1.418516e-02 -2.346833e-01 -3.066271e-01 -1.054111e-08 -4.425710e-09
+ 1.344369e-02  1.432630e-02 -2.348094e-01 -3.065427e-01 -4.350814e-08 -1.124712e-08
+ 1.344369e-02  1.446606e-02 -2.349348e-01 -3.064573e-01  2.164311e-08 -3.219903e-09
+ 1.344369e-02  1.460449e-02 -2.350595e-01 -3.063708e-01 -2.177100e-08 -6.699058e-09
+ 1.344369e-02  1.474161e-02 -2.351823e-01 -3.062831e-01 -2.624607e-07 -3.003653e-08
+ 1.344369e-02  1.487748e-02 -2.353025e-01 -3.061941e-01 -3.532369e-07 -4.250468e-08
+ 1.344369e-02  1.501211e-02 -2.354185e-01 -3.061035e-01 -1.473754e-06 -1.600596e-07
+ 1.344369e-02  1.514554e-02 -2.355237e-01 -3.060107e-01 -1.686084e-06 -1.835991e-07
+ 1.344369e-02  1.527781e-02 -2.355960e-01 -3.059128e-01 -1.387721e-05 -1.613299e-06
+ 1.344369e-02  1.540894e-02 -2.353168e-01 -3.057616e-01  1.286609e-04  1.929180e-05
+ 1.344369e-02  1.553897e-02 -2.355736e-01 -3.056890e-01  1.624262e-05  2.231288e-06
+ 1.344369e-02  1.566792e-02 -2.358444e-01 -3.056153e-01  8.205285e-05  1.008439e-05
+ 1.344369e-02  1.579582e-02 -2.361031e-01 -3.055369e-01  7.296030e-05  8.124863e-06
+ 1.344369e-02  1.592268e-02 -2.363521e-01 -3.054538e-01  2.560514e-05  2.519383e-06
+ 1.344369e-02  1.604855e-02 -2.366004e-01 -3.053667e-01 -3.305526e-05 -2.717281e-06
+ 1.344369e-02  1.617343e-02 -2.368634e-01 -3.052756e-01 -9.529233e-05 -5.734422e-06
+ 1.344369e-02  1.629736e-02 -2.371659e-01 -3.051686e-01 -1.621267e-04 -3.633984e-06
+ 1.344369e-02  1.642036e-02 -2.375481e-01 -3.050635e-01 -8.924029e-05  7.960736e-06
+ 1.344369e-02  1.654243e-02 -2.379463e-01 -3.049250e-01 -3.879813e-04  4.415605e-05
+ 1.344369e-02  1.666362e-02 -2.374017e-01 -3.048751e-01  1.134451e-03 -2.154380e-04
+ 1.344369e-02  1.678393e-02 -2.374386e-01 -3.047622e-01 -1.410803e-05 -4.346210e-06
+ 1.344369e-02  1.690338e-02 -2.375346e-01 -3.046578e-01  1.693305e-05  5.851270e-06
+ 1.344369e-02  1.702200e-02 -2.376277e-01 -3.045485e-01 -2.928171e-06 -1.232913e-06
+ 1.344369e-02  1.713979e-02 -2.377222e-01 -3.044364e-01 -4.882196e-07 -2.628949e-07
+ 1.344369e-02  1.725678e-02 -2.378220e-01 -3.043244e-01 -7.177231e-10  7.450381e-09
+ 1.344369e-02  1.737298e-02 -2.379226e-01 -3.042115e-01 -7.948197e-08  2.676522e-09
+ 1.344369e-02  1.748841e-02 -2.380226e-01 -3.040974e-01 -1.170762e-09 -2.185083e-09
+ 1.344369e-02  1.760308e-02 -2.381221e-01 -3.039818e-01  1.048771e-06  7.212812e-09
+ 1.344369e-02  1.771701e-02 -2.382156e-01 -3.038649e-01  2.802526e-06  1.867201e-08
+ 1.344369e-02  1.783022e-02 -2.383142e-01 -3.037466e-01 -4.962373e-07  7.618022e-10
+ 1.344369e-02  1.794270e-02 -2.384095e-01 -3.036267e-01  5.793078e-07 -1.915823e-09
+ 1.344369e-02  1.805449e-02 -2.384975e-01 -3.035053e-01 -1.482289e-07 -3.955300e-09
+ 1.344369e-02  1.816559e-02 -2.385854e-01 -3.033823e-01 -7.673005e-09 -2.198493e-08
+ 1.344369e-02  1.827602e-02 -2.386706e-01 -3.032578e-01  3.865295e-07  8.047365e-09
+ 1.344369e-02  1.838578e-02 -2.387530e-01 -3.031315e-01  1.427021e-07  2.002341e-09
+ 1.344369e-02  1.849489e-02 -2.388325e-01 -3.030037e-01  3.246424e-08  1.477024e-08
+ 1.344369e-02  1.860336e-02 -2.389087e-01 -3.028741e-01  3.077169e-08  1.109224e-08
+ 1.344369e-02  1.871120e-02 -2.389814e-01 -3.027434e-01  1.173982e-07 -1.436362e-07
+ 1.344369e-02  1.881842e-02 -2.390513e-01 -3.026101e-01  3.733852e-08  3.263238e-09
+ 1.344369e-02  1.892503e-02 -2.391178e-01 -3.024754e-01 -1.518484e-07 -2.639262e-08
+ 1.344369e-02  1.903105e-02 -2.391811e-01 -3.023391e-01 -2.914038e-07 -5.325789e-08
+ 1.344369e-02  1.913648e-02 -2.392398e-01 -3.022012e-01  1.392880e-08  8.264593e-08
+ 1.344369e-02  1.924133e-02 -2.392955e-01 -3.020649e-01 -1.239521e-08 -1.647940e-06
+ 1.344369e-02  1.934562e-02 -2.393504e-01 -3.019130e-01  7.091030e-07 -1.116819e-06
+ 1.344369e-02  1.944934e-02 -2.393991e-01 -3.017666e-01 -3.801509e-08  2.765055e-06
+ 1.344369e-02  1.955252e-02 -2.394441e-01 -3.016279e-01  1.633966e-08  3.143656e-08
+ 1.344369e-02  1.965515e-02 -2.394863e-01 -3.014803e-01  2.812758e-08  5.645652e-09
+ 1.344369e-02  1.975725e-02 -2.395254e-01 -3.013314e-01 -2.146285e-08  1.179558e-08
+ 1.344369e-02  1.985883e-02 -2.395614e-01 -3.011816e-01  6.059042e-08 -4.087173e-07
+ 1.344369e-02  1.995989e-02 -2.395951e-01 -3.010296e-01  1.107295e-07  7.466233e-08
+ 1.344369e-02  2.006044e-02 -2.396278e-01 -3.008781e-01 -7.873652e-07 -3.516471e-07
+ 1.344369e-02  2.016048e-02 -2.396709e-01 -3.007320e-01 -1.733404e-05 -7.680528e-06
+ 1.344369e-02  2.026004e-02 -2.396441e-01 -3.005558e-01  2.123724e-05  1.041571e-05
+ 1.344369e-02  2.035910e-02 -2.396826e-01 -3.004141e-01  2.683869e-06  1.248808e-06
+ 1.344369e-02  2.045769e-02 -2.396857e-01 -3.002414e-01  2.080021e-05  2.594962e-05
+ 1.344369e-02  2.055580e-02 -2.396042e-01 -2.999040e-01  1.022413e-06  4.810526e-06
+ 1.344369e-02  2.065345e-02 -2.396341e-01 -2.998084e-01 -1.900988e-06  4.525280e-06
+ 1.344369e-02  2.075064e-02 -2.396009e-01 -2.996728e-01  2.339103e-06 -8.741918e-07
+ 1.344369e-02  2.084738e-02 -2.397288e-01 -2.994727e-01  1.065044e-05 -1.813175e-06
+ 1.344369e-02  2.094367e-02 -2.397326e-01 -2.993081e-01 -2.264462e-07 -3.054793e-07
+ 1.344369e-02  2.103951e-02 -2.397373e-01 -2.991376e-01 -2.730523e-07 -2.429272e-06
+ 1.344369e-02  2.113493e-02 -2.397569e-01 -2.989794e-01 -5.936986e-07 -3.141773e-08
+ 1.344369e-02  2.122991e-02 -2.397759e-01 -2.988091e-01  5.471713e-06  3.417382e-06
+ 1.344369e-02  2.132447e-02 -2.397835e-01 -2.986067e-01 -1.178459e-06  1.875110e-05
+ 1.344369e-02  2.141862e-02 -2.398142e-01 -2.984666e-01  3.267417e-06  7.650345e-06
+ 1.344369e-02  2.151235e-02 -2.398094e-01 -2.982539e-01 -1.472417e-04 -1.409724e-04
+ 1.344369e-02  2.160567e-02 -2.397353e-01 -2.979785e-01 -6.110656e-05 -3.856550e-05
+ 1.344369e-02  2.169860e-02 -2.398594e-01 -2.978585e-01  2.427861e-05  1.429060e-05
+ 1.344369e-02  2.179112e-02 -2.398631e-01 -2.976491e-01 -5.689318e-06 -5.539502e-06
+ 1.344369e-02  2.188326e-02 -2.399539e-01 -2.974905e-01 -3.926421e-06 -4.703506e-07
+ 1.344369e-02  2.197501e-02 -2.400211e-01 -2.973184e-01  6.190435e-06  7.266405e-07
+ 1.344369e-02  2.206638e-02 -2.398965e-01 -2.970147e-01 -1.245935e-05 -1.815950e-06
+ 1.344369e-02  2.215737e-02 -2.399848e-01 -2.968374e-01  2.803043e-05  4.605630e-06
+ 1.344369e-02  2.224799e-02 -2.401363e-01 -2.966645e-01  3.634321e-05  3.459226e-05
+ 1.344369e-02  2.233824e-02 -2.402937e-01 -2.964766e-01  5.435639e-05  4.220621e-05
+ 1.344369e-02  2.242813e-02 -2.404553e-01 -2.962186e-01  5.742322e-05  1.695489e-05
+ 1.344369e-02  2.251766e-02 -2.406041e-01 -2.959882e-01 -2.544908e-07  5.410321e-06
+ 1.344369e-02  2.260684e-02 -2.408827e-01 -2.958476e-01 -7.201656e-07  3.610015e-05
+ 1.344369e-02  2.269566e-02 -2.411230e-01 -2.955534e-01 -3.831357e-05 -3.262749e-05
+ 1.344369e-02  2.278414e-02 -2.414334e-01 -2.947917e-01 -2.414334e-01 -2.947917e-01
+ 1.344369e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.344369e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  1.000000e-06 -2.307432e-01 -3.103571e-01  3.836848e-10 -2.773654e-10
+ 1.359223e-02  2.006944e-03 -2.307685e-01 -3.102847e-01 -3.372403e-10  6.561657e-11
+ 1.359223e-02  2.837833e-03 -2.307967e-01 -3.102132e-01 -1.622061e-09 -1.383362e-10
+ 1.359223e-02  3.475396e-03 -2.308278e-01 -3.101423e-01 -1.015852e-09  2.741732e-10
+ 1.359223e-02  4.012887e-03 -2.308618e-01 -3.100721e-01  4.299883e-10  1.304802e-10
+ 1.359223e-02  4.486426e-03 -2.308987e-01 -3.100025e-01  4.045710e-09 -1.734643e-09
+ 1.359223e-02  4.914538e-03 -2.309385e-01 -3.099335e-01  1.170208e-08 -1.399560e-09
+ 1.359223e-02  5.308228e-03 -2.309811e-01 -3.098649e-01  1.224774e-09 -4.258012e-09
+ 1.359223e-02  5.674665e-03 -2.310266e-01 -3.097967e-01  1.154924e-08  6.993106e-10
+ 1.359223e-02  6.018831e-03 -2.310748e-01 -3.097289e-01  4.075537e-09 -4.285339e-11
+ 1.359223e-02  6.344350e-03 -2.311258e-01 -3.096614e-01  1.531198e-10  4.828643e-09
+ 1.359223e-02  6.653962e-03 -2.311796e-01 -3.095942e-01 -5.209424e-10  1.494530e-09
+ 1.359223e-02  6.949792e-03 -2.312361e-01 -3.095272e-01 -8.176768e-09 -8.049624e-09
+ 1.359223e-02  7.233532e-03 -2.312953e-01 -3.094603e-01 -7.798787e-11  5.553226e-09
+ 1.359223e-02  7.506553e-03 -2.313572e-01 -3.093937e-01 -2.090247e-08 -1.379598e-08
+ 1.359223e-02  7.769986e-03 -2.314217e-01 -3.093270e-01 -9.205286e-09 -1.287687e-08
+ 1.359223e-02  8.024774e-03 -2.314887e-01 -3.092605e-01  1.506551e-08  1.137679e-08
+ 1.359223e-02  8.271717e-03 -2.315584e-01 -3.091939e-01  1.269613e-08  9.739353e-09
+ 1.359223e-02  8.511498e-03 -2.316307e-01 -3.091274e-01  1.170664e-07  6.690211e-08
+ 1.359223e-02  8.744705e-03 -2.317070e-01 -3.090616e-01 -1.685650e-06 -9.067436e-07
+ 1.359223e-02  8.971852e-03 -2.317799e-01 -3.089926e-01 -5.973487e-06 -3.245623e-06
+ 1.359223e-02  9.193388e-03 -2.318600e-01 -3.089259e-01  4.269946e-07  2.370827e-07
+ 1.359223e-02  9.409709e-03 -2.319421e-01 -3.088590e-01  9.803615e-09  2.832857e-08
+ 1.359223e-02  9.621167e-03 -2.320263e-01 -3.087916e-01 -9.558095e-09  5.318642e-08
+ 1.359223e-02  9.828076e-03 -2.321126e-01 -3.087238e-01 -3.502420e-08  8.701369e-08
+ 1.359223e-02  1.003072e-02 -2.322010e-01 -3.086560e-01  5.544452e-09 -1.414188e-08
+ 1.359223e-02  1.022935e-02 -2.322917e-01 -3.085874e-01 -4.985394e-08  1.142568e-07
+ 1.359223e-02  1.042419e-02 -2.323846e-01 -3.085183e-01 -5.809932e-07  1.354949e-06
+ 1.359223e-02  1.061546e-02 -2.324787e-01 -3.084505e-01  1.112016e-06 -2.386418e-06
+ 1.359223e-02  1.080334e-02 -2.325747e-01 -3.083823e-01  3.731965e-08 -7.889184e-08
+ 1.359223e-02  1.098801e-02 -2.326741e-01 -3.083107e-01  8.663902e-07 -1.709915e-06
+ 1.359223e-02  1.116962e-02 -2.327752e-01 -3.082391e-01 -4.017795e-07  7.414398e-07
+ 1.359223e-02  1.134833e-02 -2.328768e-01 -3.081693e-01  5.403248e-07 -9.373984e-07
+ 1.359223e-02  1.152427e-02 -2.329816e-01 -3.080964e-01 -1.380710e-06  2.390601e-06
+ 1.359223e-02  1.169756e-02 -2.330884e-01 -3.080226e-01 -1.330761e-08  1.140915e-08
+ 1.359223e-02  1.186832e-02 -2.331946e-01 -3.079518e-01 -1.116208e-06  1.743093e-06
+ 1.359223e-02  1.203666e-02 -2.333026e-01 -3.078796e-01  5.404630e-07 -8.089124e-07
+ 1.359223e-02  1.220268e-02 -2.334135e-01 -3.078049e-01  1.536904e-07 -1.862714e-07
+ 1.359223e-02  1.236647e-02 -2.335253e-01 -3.077302e-01  2.053832e-07 -2.769482e-07
+ 1.359223e-02  1.252811e-02 -2.336384e-01 -3.076548e-01  2.830059e-08 -3.857852e-08
+ 1.359223e-02  1.268770e-02 -2.337528e-01 -3.075786e-01  5.639040e-09 -1.231209e-08
+ 1.359223e-02  1.284531e-02 -2.338683e-01 -3.075017e-01  2.053232e-08 -5.294199e-09
+ 1.359223e-02  1.300100e-02 -2.339851e-01 -3.074240e-01  1.445136e-08 -4.998348e-09
+ 1.359223e-02  1.315485e-02 -2.341027e-01 -3.073456e-01  2.261648e-08 -2.851131e-08
+ 1.359223e-02  1.330692e-02 -2.342213e-01 -3.072663e-01  1.222069e-08 -1.986979e-08
+ 1.359223e-02  1.345728e-02 -2.343407e-01 -3.071862e-01  4.616538e-08 -2.561473e-08
+ 1.359223e-02  1.360597e-02 -2.344608e-01 -3.071053e-01  2.751275e-08 -1.388708e-08
+ 1.359223e-02  1.375306e-02 -2.345816e-01 -3.070234e-01  9.099524e-09 -1.410745e-08
+ 1.359223e-02  1.389858e-02 -2.347029e-01 -3.069407e-01  4.379338e-09 -5.981919e-09
+ 1.359223e-02  1.404260e-02 -2.348245e-01 -3.068570e-01  2.076310e-08 -3.210104e-09
+ 1.359223e-02  1.418516e-02 -2.349465e-01 -3.067724e-01 -3.870075e-09 -2.236532e-09
+ 1.359223e-02  1.432630e-02 -2.350685e-01 -3.066868e-01 -1.465468e-08 -1.226020e-09
+ 1.359223e-02  1.446606e-02 -2.351906e-01 -3.066003e-01 -2.011610e-08 -2.993320e-09
+ 1.359223e-02  1.460449e-02 -2.353124e-01 -3.065127e-01  1.338113e-08 -5.339781e-10
+ 1.359223e-02  1.474161e-02 -2.354338e-01 -3.064241e-01  2.519854e-09  9.980605e-11
+ 1.359223e-02  1.487748e-02 -2.355546e-01 -3.063344e-01 -3.523761e-08 -1.651120e-09
+ 1.359223e-02  1.501211e-02 -2.356744e-01 -3.062436e-01 -7.538781e-08 -6.644807e-09
+ 1.359223e-02  1.514554e-02 -2.357927e-01 -3.061517e-01 -9.754692e-08 -9.707614e-09
+ 1.359223e-02  1.527781e-02 -2.359093e-01 -3.060586e-01 -1.113724e-07 -1.386471e-08
+ 1.359223e-02  1.540894e-02 -2.360215e-01 -3.059640e-01  1.314047e-06  1.662753e-07
+ 1.359223e-02  1.553897e-02 -2.361302e-01 -3.058682e-01  2.869311e-07  5.097687e-08
+ 1.359223e-02  1.566792e-02 -2.362297e-01 -3.057706e-01 -2.248127e-06 -1.301111e-07
+ 1.359223e-02  1.579582e-02 -2.363122e-01 -3.056703e-01 -2.782552e-07  2.295940e-08
+ 1.359223e-02  1.592268e-02 -2.359159e-01 -3.055148e-01  1.718517e-04  2.073732e-05
+ 1.359223e-02  1.604855e-02 -2.362114e-01 -3.054380e-01  5.860318e-05  5.849603e-06
+ 1.359223e-02  1.617343e-02 -2.365157e-01 -3.053571e-01  1.191922e-04  9.676627e-06
+ 1.359223e-02  1.629736e-02 -2.367963e-01 -3.052686e-01  6.421243e-05  3.977920e-06
+ 1.359223e-02  1.642036e-02 -2.370713e-01 -3.051733e-01 -1.615548e-05 -1.113118e-06
+ 1.359223e-02  1.654243e-02 -2.373997e-01 -3.050664e-01 -1.181467e-04 -6.216394e-06
+ 1.359223e-02  1.666362e-02 -2.377080e-01 -3.049611e-01 -1.639713e-04  1.522133e-05
+ 1.359223e-02  1.678393e-02 -2.382858e-01 -3.047568e-01 -2.082763e-04  3.481216e-05
+ 1.359223e-02  1.690338e-02 -2.384011e-01 -3.046275e-01 -4.982446e-04  1.078178e-04
+ 1.359223e-02  1.702200e-02 -2.378268e-01 -3.046430e-01  3.269922e-06  1.518990e-07
+ 1.359223e-02  1.713979e-02 -2.378775e-01 -3.045327e-01  5.844478e-07 -8.524555e-08
+ 1.359223e-02  1.725678e-02 -2.379542e-01 -3.044199e-01 -5.818952e-07 -1.155211e-07
+ 1.359223e-02  1.737298e-02 -2.380386e-01 -3.043055e-01  7.546800e-07  1.439828e-07
+ 1.359223e-02  1.748841e-02 -2.381259e-01 -3.041896e-01 -3.285386e-07 -4.475943e-08
+ 1.359223e-02  1.760308e-02 -2.382151e-01 -3.040723e-01  8.759423e-07  1.239020e-08
+ 1.359223e-02  1.771701e-02 -2.382981e-01 -3.039534e-01  6.757035e-06  5.696163e-08
+ 1.359223e-02  1.783022e-02 -2.383891e-01 -3.038331e-01 -8.690293e-07 -2.655345e-09
+ 1.359223e-02  1.794270e-02 -2.384736e-01 -3.037112e-01  1.637512e-06  1.039734e-08
+ 1.359223e-02  1.805449e-02 -2.385567e-01 -3.035877e-01  1.855540e-06  2.021974e-08
+ 1.359223e-02  1.816559e-02 -2.386345e-01 -3.034625e-01  9.061873e-07  4.688384e-09
+ 1.359223e-02  1.827602e-02 -2.387121e-01 -3.033358e-01  4.038810e-07  1.192181e-08
+ 1.359223e-02  1.838578e-02 -2.387869e-01 -3.032074e-01  1.731365e-08  1.020749e-08
+ 1.359223e-02  1.849489e-02 -2.388585e-01 -3.030773e-01  3.956541e-08  7.715647e-09
+ 1.359223e-02  1.860336e-02 -2.389269e-01 -3.029454e-01  4.885955e-08  3.041376e-10
+ 1.359223e-02  1.871120e-02 -2.389924e-01 -3.028110e-01 -2.376271e-07  5.976093e-07
+ 1.359223e-02  1.881842e-02 -2.390537e-01 -3.026767e-01 -5.717783e-08 -1.089884e-08
+ 1.359223e-02  1.892503e-02 -2.391121e-01 -3.025396e-01  7.756833e-08 -1.088528e-07
+ 1.359223e-02  1.903105e-02 -2.391668e-01 -3.024008e-01  3.258998e-08 -2.085112e-08
+ 1.359223e-02  1.913648e-02 -2.392165e-01 -3.022602e-01  2.728813e-06  4.251433e-07
+ 1.359223e-02  1.924133e-02 -2.392646e-01 -3.021190e-01 -2.604194e-07  4.005912e-07
+ 1.359223e-02  1.934562e-02 -2.393154e-01 -3.019556e-01 -5.106153e-06  1.326365e-05
+ 1.359223e-02  1.944934e-02 -2.393513e-01 -3.018210e-01  2.157296e-07 -6.415084e-07
+ 1.359223e-02  1.955252e-02 -2.393883e-01 -3.016776e-01 -3.737598e-08  8.426308e-08
+ 1.359223e-02  1.965515e-02 -2.394215e-01 -3.015272e-01 -2.831835e-08  2.777421e-08
+ 1.359223e-02  1.975725e-02 -2.394517e-01 -3.013760e-01 -2.482377e-08  1.306525e-08
+ 1.359223e-02  1.985883e-02 -2.394792e-01 -3.012236e-01  1.351955e-08 -2.827862e-08
+ 1.359223e-02  1.995989e-02 -2.395113e-01 -3.010734e-01 -6.280682e-06 -2.957580e-06
+ 1.359223e-02  2.006044e-02 -2.395129e-01 -3.009096e-01 -3.946423e-05 -1.929562e-05
+ 1.359223e-02  2.016048e-02 -2.395146e-01 -3.007465e-01  8.125273e-06  4.061860e-06
+ 1.359223e-02  2.026004e-02 -2.395379e-01 -3.005967e-01  1.505946e-06 -1.797071e-07
+ 1.359223e-02  2.035910e-02 -2.395545e-01 -3.004462e-01 -6.802236e-07 -2.208217e-07
+ 1.359223e-02  2.045769e-02 -2.396141e-01 -3.003420e-01 -3.760252e-05 -3.650853e-05
+ 1.359223e-02  2.055580e-02 -2.394235e-01 -2.998853e-01  5.523122e-07 -2.836483e-05
+ 1.359223e-02  2.065345e-02 -2.394473e-01 -2.998588e-01 -5.705515e-07  1.245391e-06
+ 1.359223e-02  2.075064e-02 -2.394453e-01 -2.996628e-01  8.577722e-07 -5.636008e-07
+ 1.359223e-02  2.084738e-02 -2.394242e-01 -2.994982e-01 -3.520909e-06  1.766452e-06
+ 1.359223e-02  2.094367e-02 -2.395670e-01 -2.992926e-01 -9.435323e-05  1.300216e-05
+ 1.359223e-02  2.103951e-02 -2.394840e-01 -2.991047e-01  2.771492e-05  1.663442e-05
+ 1.359223e-02  2.113493e-02 -2.395218e-01 -2.989700e-01 -3.355437e-08 -1.525911e-07
+ 1.359223e-02  2.122991e-02 -2.395040e-01 -2.987897e-01 -1.832151e-07 -7.416677e-08
+ 1.359223e-02  2.132447e-02 -2.395160e-01 -2.986483e-01 -3.008763e-06 -7.928546e-06
+ 1.359223e-02  2.141862e-02 -2.395546e-01 -2.984908e-01 -1.937216e-05 -2.175079e-05
+ 1.359223e-02  2.151235e-02 -2.393091e-01 -2.980962e-01  3.468149e-05  7.694765e-06
+ 1.359223e-02  2.160567e-02 -2.392240e-01 -2.978918e-01 -1.013212e-04 -3.858821e-05
+ 1.359223e-02  2.169860e-02 -2.394561e-01 -2.978172e-01 -1.337050e-05  1.148834e-06
+ 1.359223e-02  2.179112e-02 -2.393430e-01 -2.975733e-01  2.692506e-04  1.116965e-04
+ 1.359223e-02  2.188326e-02 -2.396062e-01 -2.975066e-01  4.373926e-05  2.087354e-05
+ 1.359223e-02  2.197501e-02 -2.393917e-01 -2.971727e-01  1.083551e-04  1.035369e-04
+ 1.359223e-02  2.206638e-02 -2.394990e-01 -2.969788e-01  1.091443e-05  1.095404e-06
+ 1.359223e-02  2.215737e-02 -2.395009e-01 -2.968566e-01  1.720892e-05 -2.317822e-05
+ 1.359223e-02  2.224799e-02 -2.396972e-01 -2.966597e-01 -4.583906e-05  1.051323e-05
+ 1.359223e-02  2.233824e-02 -2.397630e-01 -2.964058e-01  2.302539e-06  3.329590e-07
+ 1.359223e-02  2.242813e-02 -2.399485e-01 -2.962125e-01  7.641075e-05  1.472315e-05
+ 1.359223e-02  2.251766e-02 -2.400539e-01 -2.960573e-01 -1.383727e-04 -1.322417e-04
+ 1.359223e-02  2.260684e-02 -2.400938e-01 -2.956387e-01  1.659316e-05 -1.240831e-05
+ 1.359223e-02  2.269566e-02 -2.404216e-01 -2.953962e-01  2.842456e-05  1.501332e-05
+ 1.359223e-02  2.278414e-02 -2.407451e-01 -2.951486e-01  1.553966e-06 -2.051941e-06
+ 1.359223e-02  2.287228e-02 -2.411870e-01 -2.947943e-01 -2.411870e-01 -2.947943e-01
+ 1.359223e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.359223e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.373917e-02  1.000000e-06 -2.312821e-01 -3.105411e-01 -1.237966e-09 -1.783635e-09
+ 1.373917e-02  2.006944e-03 -2.313015e-01 -3.104688e-01 -2.038568e-09 -4.057055e-09
+ 1.373917e-02  2.837833e-03 -2.313239e-01 -3.103972e-01 -2.810127e-09 -6.937715e-09
+ 1.373917e-02  3.475396e-03 -2.313492e-01 -3.103263e-01  2.965686e-09  1.414282e-08
+ 1.373917e-02  4.012887e-03 -2.313775e-01 -3.102560e-01  4.843586e-09  4.781028e-09
+ 1.373917e-02  4.486426e-03 -2.314086e-01 -3.101862e-01  1.001311e-08  2.712455e-09
+ 1.373917e-02  4.914538e-03 -2.314426e-01 -3.101169e-01  1.313345e-08 -1.026482e-09
+ 1.373917e-02  5.308228e-03 -2.314794e-01 -3.100481e-01  2.045530e-08  6.488641e-09
+ 1.373917e-02  5.674665e-03 -2.315191e-01 -3.099796e-01  3.026143e-10 -1.673393e-08
+ 1.373917e-02  6.018831e-03 -2.315616e-01 -3.099114e-01 -1.110659e-09 -6.440829e-09
+ 1.373917e-02  6.344350e-03 -2.316069e-01 -3.098435e-01  6.034117e-09  7.604275e-09
+ 1.373917e-02  6.653962e-03 -2.316550e-01 -3.097758e-01 -1.843153e-09  2.550060e-09
+ 1.373917e-02  6.949792e-03 -2.317057e-01 -3.097084e-01  3.913525e-10  2.988500e-09
+ 1.373917e-02  7.233532e-03 -2.317592e-01 -3.096410e-01 -3.862328e-10  7.022909e-10
+ 1.373917e-02  7.506553e-03 -2.318154e-01 -3.095738e-01 -2.139625e-09  4.028019e-09
+ 1.373917e-02  7.769986e-03 -2.318742e-01 -3.095066e-01  1.030115e-08  5.938889e-09
+ 1.373917e-02  8.024774e-03 -2.319362e-01 -3.094397e-01 -3.353039e-07 -1.928145e-07
+ 1.373917e-02  8.271717e-03 -2.320002e-01 -3.093725e-01  5.610054e-06  2.989003e-06
+ 1.373917e-02  8.511498e-03 -2.320631e-01 -3.093033e-01  1.775947e-06  9.405807e-07
+ 1.373917e-02  8.744705e-03 -2.321335e-01 -3.092367e-01 -1.798733e-07 -8.933040e-08
+ 1.373917e-02  8.971852e-03 -2.322049e-01 -3.091692e-01 -1.311386e-08  5.587058e-09
+ 1.373917e-02  9.193388e-03 -2.322787e-01 -3.091014e-01 -1.128596e-08  2.162793e-08
+ 1.373917e-02  9.409709e-03 -2.323547e-01 -3.090334e-01 -3.771505e-09  2.120246e-08
+ 1.373917e-02  9.621167e-03 -2.324330e-01 -3.089651e-01  1.651851e-08  2.267698e-09
+ 1.373917e-02  9.828076e-03 -2.325135e-01 -3.088964e-01 -6.378550e-09  4.615591e-08
+ 1.373917e-02  1.003072e-02 -2.325963e-01 -3.088275e-01 -6.628277e-08  1.671355e-07
+ 1.373917e-02  1.022935e-02 -2.326811e-01 -3.087583e-01  1.446083e-08 -3.686472e-08
+ 1.373917e-02  1.042419e-02 -2.327682e-01 -3.086882e-01 -1.091507e-08  2.006363e-08
+ 1.373917e-02  1.061546e-02 -2.328572e-01 -3.086179e-01 -7.283280e-07  1.644906e-06
+ 1.373917e-02  1.080334e-02 -2.329474e-01 -3.085491e-01  1.343405e-06 -2.814503e-06
+ 1.373917e-02  1.098801e-02 -2.330398e-01 -3.084789e-01  4.849510e-07 -9.758616e-07
+ 1.373917e-02  1.116962e-02 -2.331356e-01 -3.084052e-01 -2.785418e-08  4.838780e-08
+ 1.373917e-02  1.134833e-02 -2.332324e-01 -3.083327e-01 -6.936509e-08  1.447201e-07
+ 1.373917e-02  1.152427e-02 -2.333301e-01 -3.082611e-01  1.022596e-06 -1.776249e-06
+ 1.373917e-02  1.169756e-02 -2.334313e-01 -3.081858e-01 -2.059637e-06  3.488944e-06
+ 1.373917e-02  1.186832e-02 -2.335336e-01 -3.081109e-01 -6.130482e-07  9.874963e-07
+ 1.373917e-02  1.203666e-02 -2.336352e-01 -3.080388e-01  2.579620e-07 -3.984697e-07
+ 1.373917e-02  1.220268e-02 -2.337395e-01 -3.079642e-01  7.945173e-08 -1.223405e-07
+ 1.373917e-02  1.236647e-02 -2.338460e-01 -3.078875e-01  2.014103e-08 -9.524746e-09
+ 1.373917e-02  1.252811e-02 -2.339533e-01 -3.078110e-01  2.016604e-07 -2.478791e-07
+ 1.373917e-02  1.268770e-02 -2.340621e-01 -3.077335e-01  6.193685e-08 -8.644142e-08
+ 1.373917e-02  1.284531e-02 -2.341720e-01 -3.076554e-01  6.509098e-08 -8.107650e-08
+ 1.373917e-02  1.300100e-02 -2.342829e-01 -3.075764e-01  1.111878e-08 -1.326990e-08
+ 1.373917e-02  1.315485e-02 -2.343949e-01 -3.074966e-01  3.007440e-08 -3.588729e-09
+ 1.373917e-02  1.330692e-02 -2.345078e-01 -3.074161e-01  4.263139e-09 -1.440655e-09
+ 1.373917e-02  1.345728e-02 -2.346217e-01 -3.073346e-01  4.932451e-10 -1.933078e-09
+ 1.373917e-02  1.360597e-02 -2.347362e-01 -3.072523e-01  1.215057e-09 -1.258000e-08
+ 1.373917e-02  1.375306e-02 -2.348514e-01 -3.071691e-01  3.124773e-08 -8.402589e-09
+ 1.373917e-02  1.389858e-02 -2.349671e-01 -3.070850e-01  2.927286e-08 -1.471392e-08
+ 1.373917e-02  1.404260e-02 -2.350834e-01 -3.070000e-01  5.407340e-09 -1.094068e-08
+ 1.373917e-02  1.418516e-02 -2.351999e-01 -3.069140e-01  8.482526e-09 -1.132337e-08
+ 1.373917e-02  1.432630e-02 -2.353167e-01 -3.068270e-01  2.485459e-08 -6.108490e-09
+ 1.373917e-02  1.446606e-02 -2.354336e-01 -3.067390e-01  2.087372e-08 -8.796341e-09
+ 1.373917e-02  1.460449e-02 -2.355505e-01 -3.066500e-01 -1.930290e-09 -5.896301e-09
+ 1.373917e-02  1.474161e-02 -2.356672e-01 -3.065600e-01 -7.530238e-09 -5.844284e-09
+ 1.373917e-02  1.487748e-02 -2.357836e-01 -3.064690e-01 -1.766029e-08 -4.904561e-09
+ 1.373917e-02  1.501211e-02 -2.358994e-01 -3.063768e-01 -8.811510e-09 -7.463452e-09
+ 1.373917e-02  1.514554e-02 -2.360149e-01 -3.062836e-01 -1.630602e-07 -2.069357e-08
+ 1.373917e-02  1.527781e-02 -2.361279e-01 -3.061891e-01  1.291453e-06  1.509357e-07
+ 1.373917e-02  1.540894e-02 -2.362413e-01 -3.060937e-01  5.973059e-07  6.661537e-08
+ 1.373917e-02  1.553897e-02 -2.363524e-01 -3.059970e-01  1.817596e-07  1.940067e-08
+ 1.373917e-02  1.566792e-02 -2.364620e-01 -3.058992e-01 -8.814970e-07 -1.057248e-07
+ 1.373917e-02  1.579582e-02 -2.365667e-01 -3.057999e-01 -1.290553e-07  3.976812e-09
+ 1.373917e-02  1.592268e-02 -2.366657e-01 -3.056992e-01  5.816733e-07  1.937611e-07
+ 1.373917e-02  1.604855e-02 -2.367567e-01 -3.055969e-01  1.751218e-08  5.967071e-08
+ 1.373917e-02  1.617343e-02 -2.368277e-01 -3.054932e-01 -2.802596e-06 -1.483794e-07
+ 1.373917e-02  1.629736e-02 -2.363554e-01 -3.053432e-01  3.669419e-04  3.334301e-05
+ 1.373917e-02  1.642036e-02 -2.366708e-01 -3.052570e-01  6.705627e-05  7.959995e-06
+ 1.373917e-02  1.654243e-02 -2.370062e-01 -3.051676e-01  1.567091e-04  2.374499e-06
+ 1.373917e-02  1.666362e-02 -2.372124e-01 -3.050913e-01  3.041485e-06 -4.196913e-07
+ 1.373917e-02  1.678393e-02 -2.376038e-01 -3.049654e-01 -3.316205e-05  9.909436e-07
+ 1.373917e-02  1.690338e-02 -2.381023e-01 -3.048033e-01  1.217014e-06 -5.266625e-07
+ 1.373917e-02  1.702200e-02 -2.386255e-01 -3.044608e-01 -2.909018e-04  1.418471e-04
+ 1.373917e-02  1.713979e-02 -2.381786e-01 -3.045932e-01 -6.785091e-05  9.265424e-06
+ 1.373917e-02  1.725678e-02 -2.381168e-01 -3.045029e-01  2.049590e-06 -1.294573e-07
+ 1.373917e-02  1.737298e-02 -2.381648e-01 -3.043912e-01 -5.991205e-08 -1.244785e-08
+ 1.373917e-02  1.748841e-02 -2.382318e-01 -3.042753e-01 -9.047948e-08 -6.979088e-09
+ 1.373917e-02  1.760308e-02 -2.383069e-01 -3.041571e-01  5.167390e-08  4.302765e-09
+ 1.373917e-02  1.771701e-02 -2.383780e-01 -3.040368e-01  7.620798e-06  6.605148e-08
+ 1.373917e-02  1.783022e-02 -2.384594e-01 -3.039149e-01  5.837699e-07  1.149605e-09
+ 1.373917e-02  1.794270e-02 -2.385332e-01 -3.037912e-01 -7.765112e-07 -9.422683e-09
+ 1.373917e-02  1.805449e-02 -2.386107e-01 -3.036658e-01 -2.577382e-06 -2.734894e-08
+ 1.373917e-02  1.816559e-02 -2.386778e-01 -3.035386e-01  2.272857e-06  2.568626e-08
+ 1.373917e-02  1.827602e-02 -2.387480e-01 -3.034098e-01 -9.968290e-08  2.826128e-09
+ 1.373917e-02  1.838578e-02 -2.388147e-01 -3.032792e-01  7.509508e-08  3.568697e-09
+ 1.373917e-02  1.849489e-02 -2.388781e-01 -3.031468e-01  1.024855e-07  5.132914e-09
+ 1.373917e-02  1.860336e-02 -2.389385e-01 -3.030127e-01  8.514508e-08  1.349689e-09
+ 1.373917e-02  1.871120e-02 -2.389957e-01 -3.028766e-01 -3.113070e-08 -2.589380e-09
+ 1.373917e-02  1.881842e-02 -2.390491e-01 -3.027395e-01  8.406834e-08 -8.829422e-08
+ 1.373917e-02  1.892503e-02 -2.390993e-01 -3.025997e-01  3.519863e-08  1.033126e-09
+ 1.373917e-02  1.903105e-02 -2.391459e-01 -3.024583e-01 -1.836206e-07 -4.762871e-08
+ 1.373917e-02  1.913648e-02 -2.391887e-01 -3.023153e-01  3.908412e-07  5.554253e-08
+ 1.373917e-02  1.924133e-02 -2.392275e-01 -3.021710e-01 -2.406127e-07 -1.056773e-07
+ 1.373917e-02  1.934562e-02 -2.392600e-01 -3.020363e-01 -4.757657e-07 -1.450782e-07
+ 1.373917e-02  1.944934e-02 -2.392957e-01 -3.018666e-01  1.823085e-07  1.885430e-08
+ 1.373917e-02  1.955252e-02 -2.393244e-01 -3.017244e-01 -8.169820e-08 -1.997923e-06
+ 1.373917e-02  1.965515e-02 -2.393481e-01 -3.015695e-01  1.392600e-07  3.259188e-08
+ 1.373917e-02  1.975725e-02 -2.393695e-01 -3.014161e-01  1.480795e-07  7.271476e-08
+ 1.373917e-02  1.985883e-02 -2.394018e-01 -3.012684e-01 -1.988192e-07 -9.465814e-08
+ 1.373917e-02  1.995989e-02 -2.393568e-01 -3.010818e-01  2.216465e-05  1.147600e-05
+ 1.373917e-02  2.006044e-02 -2.393884e-01 -3.009354e-01 -2.349719e-06 -1.167993e-06
+ 1.373917e-02  2.016048e-02 -2.393980e-01 -3.007790e-01 -9.662130e-07  3.208199e-08
+ 1.373917e-02  2.026004e-02 -2.394030e-01 -3.006236e-01  1.609611e-06 -5.685805e-08
+ 1.373917e-02  2.035910e-02 -2.394232e-01 -3.004829e-01 -5.479264e-06 -4.234366e-06
+ 1.373917e-02  2.045769e-02 -2.392834e-01 -3.001694e-01 -7.821504e-05 -9.393823e-05
+ 1.373917e-02  2.055580e-02 -2.392472e-01 -2.999645e-01 -3.951507e-06 -7.058391e-06
+ 1.373917e-02  2.065345e-02 -2.392486e-01 -2.998585e-01 -1.300195e-06 -1.196400e-05
+ 1.373917e-02  2.075064e-02 -2.392267e-01 -2.996652e-01 -1.474600e-06 -3.403358e-06
+ 1.373917e-02  2.084738e-02 -2.391947e-01 -2.994845e-01  3.848725e-06  4.093459e-06
+ 1.373917e-02  2.094367e-02 -2.391452e-01 -2.993060e-01  4.879961e-06  3.261257e-06
+ 1.373917e-02  2.103951e-02 -2.391292e-01 -2.991594e-01 -3.227654e-06  6.374172e-07
+ 1.373917e-02  2.113493e-02 -2.390088e-01 -2.989731e-01  3.330873e-05 -1.108112e-05
+ 1.373917e-02  2.122991e-02 -2.392538e-01 -2.987734e-01  1.746692e-06  2.665388e-06
+ 1.373917e-02  2.132447e-02 -2.392428e-01 -2.986190e-01  6.514783e-06  7.545002e-06
+ 1.373917e-02  2.141862e-02 -2.385751e-01 -2.981784e-01 -3.513412e-05 -5.088270e-05
+ 1.373917e-02  2.151235e-02 -2.389151e-01 -2.980508e-01 -8.472933e-06  4.225726e-06
+ 1.373917e-02  2.160567e-02 -2.389636e-01 -2.978692e-01 -2.275122e-05  1.310646e-05
+ 1.373917e-02  2.169860e-02 -2.389926e-01 -2.977320e-01  8.678793e-06 -1.737516e-05
+ 1.373917e-02  2.179112e-02 -2.390365e-01 -2.975487e-01 -2.417783e-05  1.417668e-05
+ 1.373917e-02  2.188326e-02 -2.388894e-01 -2.972554e-01  9.540961e-05  1.301670e-04
+ 1.373917e-02  2.197501e-02 -2.389738e-01 -2.971261e-01  4.027514e-05  2.582725e-05
+ 1.373917e-02  2.206638e-02 -2.390184e-01 -2.969306e-01 -9.516910e-05 -4.258470e-05
+ 1.373917e-02  2.215737e-02 -2.389209e-01 -2.966043e-01  2.249025e-04  1.829323e-04
+ 1.373917e-02  2.224799e-02 -2.389333e-01 -2.964540e-01  2.634634e-06  1.056640e-05
+ 1.373917e-02  2.233824e-02 -2.389951e-01 -2.962818e-01  1.510621e-05  1.014796e-05
+ 1.373917e-02  2.242813e-02 -2.391406e-01 -2.960416e-01  3.068241e-06 -6.040937e-07
+ 1.373917e-02  2.251766e-02 -2.393632e-01 -2.958321e-01  8.651053e-06  2.134836e-06
+ 1.373917e-02  2.260684e-02 -2.394833e-01 -2.955735e-01 -5.918509e-06  1.743401e-05
+ 1.373917e-02  2.269566e-02 -2.398286e-01 -2.952582e-01 -5.367727e-06 -3.679334e-05
+ 1.373917e-02  2.278414e-02 -2.400011e-01 -2.949995e-01 -7.248823e-06  3.915327e-07
+ 1.373917e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.373917e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.399939e-01  2.949999e-01
+ 1.388455e-02  1.000000e-06 -2.318156e-01 -3.107225e-01 -1.657327e-09 -1.691017e-08
+ 1.388455e-02  2.006944e-03 -2.318293e-01 -3.106502e-01 -5.219368e-10  4.300529e-09
+ 1.388455e-02  2.837833e-03 -2.318459e-01 -3.105786e-01  1.677287e-09  5.052301e-09
+ 1.388455e-02  3.475396e-03 -2.318654e-01 -3.105077e-01  3.981459e-09 -9.551305e-10
+ 1.388455e-02  4.012887e-03 -2.318879e-01 -3.104372e-01  7.977319e-09 -1.973875e-09
+ 1.388455e-02  4.486426e-03 -2.319133e-01 -3.103673e-01  1.330872e-08  1.113749e-09
+ 1.388455e-02  4.914538e-03 -2.319415e-01 -3.102978e-01  1.644306e-08  1.132333e-10
+ 1.388455e-02  5.308228e-03 -2.319726e-01 -3.102286e-01  1.677685e-08  5.091726e-10
+ 1.388455e-02  5.674665e-03 -2.320066e-01 -3.101598e-01  1.313239e-08  1.253912e-09
+ 1.388455e-02  6.018831e-03 -2.320434e-01 -3.100913e-01  6.359406e-09  3.265159e-10
+ 1.388455e-02  6.344350e-03 -2.320829e-01 -3.100230e-01 -4.088704e-11  5.921079e-10
+ 1.388455e-02  6.653962e-03 -2.321253e-01 -3.099549e-01  5.138882e-10  1.102267e-09
+ 1.388455e-02  6.949792e-03 -2.321704e-01 -3.098869e-01 -8.906139e-10  3.340023e-10
+ 1.388455e-02  7.233532e-03 -2.322186e-01 -3.098193e-01 -2.771835e-07 -1.465514e-07
+ 1.388455e-02  7.506553e-03 -2.322695e-01 -3.097517e-01  2.742038e-06  1.426397e-06
+ 1.388455e-02  7.769986e-03 -2.323195e-01 -3.096823e-01 -5.221984e-07 -2.601649e-07
+ 1.388455e-02  8.024774e-03 -2.323760e-01 -3.096149e-01  3.504110e-07  1.743856e-07
+ 1.388455e-02  8.271717e-03 -2.324345e-01 -3.095471e-01  9.367412e-09 -1.453857e-09
+ 1.388455e-02  8.511498e-03 -2.324952e-01 -3.094791e-01  1.186909e-08  5.739311e-10
+ 1.388455e-02  8.744705e-03 -2.325584e-01 -3.094109e-01 -1.558005e-09  1.060546e-08
+ 1.388455e-02  8.971852e-03 -2.326240e-01 -3.093425e-01 -5.744554e-09  1.149411e-08
+ 1.388455e-02  9.193388e-03 -2.326919e-01 -3.092738e-01 -6.169630e-10  1.373206e-09
+ 1.388455e-02  9.409709e-03 -2.327622e-01 -3.092049e-01 -8.588704e-09  2.038846e-08
+ 1.388455e-02  9.621167e-03 -2.328348e-01 -3.091357e-01 -1.277980e-08  4.934060e-08
+ 1.388455e-02  9.828076e-03 -2.329096e-01 -3.090663e-01  2.077400e-08 -5.596183e-09
+ 1.388455e-02  1.003072e-02 -2.329866e-01 -3.089963e-01  8.086019e-09  1.687274e-08
+ 1.388455e-02  1.022935e-02 -2.330658e-01 -3.089261e-01 -8.679405e-08  2.146986e-07
+ 1.388455e-02  1.042419e-02 -2.331470e-01 -3.088555e-01 -1.567915e-08  3.528647e-08
+ 1.388455e-02  1.061546e-02 -2.332305e-01 -3.087838e-01 -2.134722e-08  4.188939e-08
+ 1.388455e-02  1.080334e-02 -2.333156e-01 -3.087124e-01 -5.388456e-07  1.180272e-06
+ 1.388455e-02  1.098801e-02 -2.334018e-01 -3.086423e-01  1.057985e-06 -2.152155e-06
+ 1.388455e-02  1.116962e-02 -2.334907e-01 -3.085698e-01  1.281164e-06 -2.502930e-06
+ 1.388455e-02  1.134833e-02 -2.335827e-01 -3.084943e-01 -8.484488e-07  1.592602e-06
+ 1.388455e-02  1.152427e-02 -2.336751e-01 -3.084209e-01  1.334131e-08 -9.374167e-09
+ 1.388455e-02  1.169756e-02 -2.337691e-01 -3.083470e-01  1.047297e-06 -1.804698e-06
+ 1.388455e-02  1.186832e-02 -2.338665e-01 -3.082694e-01 -1.673795e-06  2.778599e-06
+ 1.388455e-02  1.203666e-02 -2.339639e-01 -3.081938e-01 -1.783606e-06  2.829987e-06
+ 1.388455e-02  1.220268e-02 -2.340612e-01 -3.081198e-01  1.315608e-06 -1.982281e-06
+ 1.388455e-02  1.236647e-02 -2.341616e-01 -3.080426e-01  2.537248e-08 -3.985844e-08
+ 1.388455e-02  1.252811e-02 -2.342636e-01 -3.079642e-01 -3.039683e-08  3.792604e-08
+ 1.388455e-02  1.268770e-02 -2.343664e-01 -3.078857e-01  7.805149e-08 -7.203738e-08
+ 1.388455e-02  1.284531e-02 -2.344706e-01 -3.078061e-01  4.585267e-08 -4.142995e-08
+ 1.388455e-02  1.300100e-02 -2.345758e-01 -3.077259e-01  7.625091e-08 -9.767815e-08
+ 1.388455e-02  1.315485e-02 -2.346821e-01 -3.076448e-01  3.287093e-08 -4.301528e-08
+ 1.388455e-02  1.330692e-02 -2.347893e-01 -3.075628e-01  3.882105e-08 -4.255129e-08
+ 1.388455e-02  1.345728e-02 -2.348973e-01 -3.074801e-01  5.214930e-08 -9.406605e-09
+ 1.388455e-02  1.360597e-02 -2.350062e-01 -3.073963e-01  5.465842e-09 -6.387321e-09
+ 1.388455e-02  1.375306e-02 -2.351157e-01 -3.073118e-01  2.419435e-09  1.418188e-11
+ 1.388455e-02  1.389858e-02 -2.352257e-01 -3.072262e-01 -9.663266e-09 -3.181045e-10
+ 1.388455e-02  1.404260e-02 -2.353363e-01 -3.071398e-01  2.738350e-08 -1.129290e-09
+ 1.388455e-02  1.418516e-02 -2.354472e-01 -3.070523e-01  1.876094e-08 -1.177696e-09
+ 1.388455e-02  1.432630e-02 -2.355584e-01 -3.069639e-01 -1.457446e-08 -5.051760e-09
+ 1.388455e-02  1.446606e-02 -2.356697e-01 -3.068744e-01 -4.568101e-09  3.846295e-09
+ 1.388455e-02  1.460449e-02 -2.357811e-01 -3.067840e-01  1.051778e-08 -5.531120e-09
+ 1.388455e-02  1.474161e-02 -2.358924e-01 -3.066925e-01  5.824710e-09 -4.110814e-09
+ 1.388455e-02  1.487748e-02 -2.360035e-01 -3.065999e-01 -3.749465e-08 -9.544943e-09
+ 1.388455e-02  1.501211e-02 -2.361144e-01 -3.065062e-01 -2.880638e-07 -3.614861e-08
+ 1.388455e-02  1.514554e-02 -2.362236e-01 -3.064114e-01  4.988406e-07  5.715652e-08
+ 1.388455e-02  1.527781e-02 -2.363332e-01 -3.063155e-01  1.717737e-07  1.627282e-08
+ 1.388455e-02  1.540894e-02 -2.364422e-01 -3.062185e-01  2.710350e-09 -2.238536e-09
+ 1.388455e-02  1.553897e-02 -2.365499e-01 -3.061203e-01  3.063416e-07  3.478746e-08
+ 1.388455e-02  1.566792e-02 -2.366559e-01 -3.060209e-01  2.512944e-07  2.958387e-08
+ 1.388455e-02  1.579582e-02 -2.367580e-01 -3.059199e-01  1.400540e-06  3.371022e-07
+ 1.388455e-02  1.592268e-02 -2.368575e-01 -3.058172e-01  2.725541e-06  1.003449e-06
+ 1.388455e-02  1.604855e-02 -2.369613e-01 -3.057160e-01  1.274918e-05  4.064261e-06
+ 1.388455e-02  1.617343e-02 -2.370611e-01 -3.056132e-01 -4.758908e-06 -1.297353e-06
+ 1.388455e-02  1.629736e-02 -2.371465e-01 -3.055067e-01 -4.758139e-06 -9.591434e-07
+ 1.388455e-02  1.642036e-02 -2.372173e-01 -3.053973e-01 -1.344712e-07  9.233173e-07
+ 1.388455e-02  1.654243e-02 -2.372482e-01 -3.052788e-01 -1.944804e-04 -3.565179e-05
+ 1.388455e-02  1.666362e-02 -2.367626e-01 -3.051787e-01  4.518018e-04  4.499729e-05
+ 1.388455e-02  1.678393e-02 -2.371459e-01 -3.050777e-01  1.726162e-04 -1.783611e-05
+ 1.388455e-02  1.690338e-02 -2.375271e-01 -3.049673e-01  7.871388e-05 -8.085923e-06
+ 1.388455e-02  1.702200e-02 -2.379626e-01 -3.048270e-01 -9.899185e-06  1.211929e-06
+ 1.388455e-02  1.713979e-02 -2.386457e-01 -3.044236e-01 -2.286220e-04  1.421205e-04
+ 1.388455e-02  1.725678e-02 -2.384584e-01 -3.045000e-01 -1.934970e-04  5.860784e-05
+ 1.388455e-02  1.737298e-02 -2.383178e-01 -3.044571e-01  4.347553e-06 -8.352911e-07
+ 1.388455e-02  1.748841e-02 -2.383444e-01 -3.043501e-01  9.061694e-07 -1.128040e-07
+ 1.388455e-02  1.760308e-02 -2.383985e-01 -3.042341e-01 -3.664673e-07 -2.986309e-08
+ 1.388455e-02  1.771701e-02 -2.384553e-01 -3.041140e-01  5.801123e-06  4.836271e-08
+ 1.388455e-02  1.783022e-02 -2.385247e-01 -3.039913e-01  1.290494e-06  5.162486e-09
+ 1.388455e-02  1.794270e-02 -2.385881e-01 -3.038662e-01 -8.540352e-07 -5.313232e-09
+ 1.388455e-02  1.805449e-02 -2.386585e-01 -3.037392e-01 -8.692465e-06 -1.025220e-07
+ 1.388455e-02  1.816559e-02 -2.387157e-01 -3.036102e-01 -3.142993e-08  3.157029e-08
+ 1.388455e-02  1.827602e-02 -2.387776e-01 -3.034794e-01  2.811521e-07 -1.276954e-08
+ 1.388455e-02  1.838578e-02 -2.388359e-01 -3.033467e-01  1.431026e-07  6.975028e-09
+ 1.388455e-02  1.849489e-02 -2.388912e-01 -3.032121e-01  2.671837e-07 -6.097592e-08
+ 1.388455e-02  1.860336e-02 -2.389435e-01 -3.030757e-01 -4.390119e-08 -7.590868e-09
+ 1.388455e-02  1.871120e-02 -2.389924e-01 -3.029374e-01 -9.984503e-09 -8.406707e-09
+ 1.388455e-02  1.881842e-02 -2.390379e-01 -3.027966e-01  1.065677e-06 -3.372015e-06
+ 1.388455e-02  1.892503e-02 -2.390793e-01 -3.026555e-01 -3.155774e-08 -1.159758e-08
+ 1.388455e-02  1.903105e-02 -2.391173e-01 -3.025114e-01 -1.184391e-08  1.298232e-08
+ 1.388455e-02  1.913648e-02 -2.391516e-01 -3.023659e-01 -6.240239e-07 -1.525337e-07
+ 1.388455e-02  1.924133e-02 -2.391810e-01 -3.022186e-01 -3.625523e-07 -9.574140e-08
+ 1.388455e-02  1.934562e-02 -2.392081e-01 -3.020716e-01 -1.997715e-06 -3.402213e-07
+ 1.388455e-02  1.944934e-02 -2.392344e-01 -3.019000e-01 -1.164931e-06  3.178728e-06
+ 1.388455e-02  1.955252e-02 -2.392546e-01 -3.017714e-01 -1.563111e-06 -6.224433e-06
+ 1.388455e-02  1.965515e-02 -2.392669e-01 -3.016075e-01  2.763725e-07  9.479589e-08
+ 1.388455e-02  1.975725e-02 -2.392973e-01 -3.014612e-01 -2.080922e-06 -1.088121e-06
+ 1.388455e-02  1.985883e-02 -2.392413e-01 -3.012697e-01  1.923410e-07  4.405951e-08
+ 1.388455e-02  1.995989e-02 -2.392628e-01 -3.011199e-01 -1.083189e-07  2.022354e-08
+ 1.388455e-02  2.006044e-02 -2.392643e-01 -3.009612e-01 -1.929592e-08  1.115319e-08
+ 1.388455e-02  2.016048e-02 -2.392603e-01 -3.008019e-01 -2.110711e-07 -7.566302e-07
+ 1.388455e-02  2.026004e-02 -2.392427e-01 -3.006340e-01 -7.030957e-06 -5.182090e-06
+ 1.388455e-02  2.035910e-02 -2.392641e-01 -3.005003e-01 -1.701477e-07  1.717657e-06
+ 1.388455e-02  2.045769e-02 -2.392228e-01 -3.003144e-01 -6.812827e-05 -7.040592e-05
+ 1.388455e-02  2.055580e-02 -2.390361e-01 -2.999578e-01 -1.818611e-06 -3.922351e-06
+ 1.388455e-02  2.065345e-02 -2.390214e-01 -2.997856e-01  3.764114e-07  3.052419e-06
+ 1.388455e-02  2.075064e-02 -2.389874e-01 -2.996539e-01  2.752220e-07  1.570741e-07
+ 1.388455e-02  2.084738e-02 -2.389420e-01 -2.994654e-01 -3.666639e-06 -1.015653e-06
+ 1.388455e-02  2.094367e-02 -2.388607e-01 -2.992595e-01  5.500013e-06  5.164200e-06
+ 1.388455e-02  2.103951e-02 -2.388494e-01 -2.991207e-01 -6.709348e-06 -1.748313e-06
+ 1.388455e-02  2.113493e-02 -2.387840e-01 -2.989421e-01  9.613095e-08  9.300214e-07
+ 1.388455e-02  2.122991e-02 -2.386552e-01 -2.987384e-01 -2.565051e-04 -1.637596e-04
+ 1.388455e-02  2.132447e-02 -2.382999e-01 -2.983682e-01  8.120959e-05  4.131730e-05
+ 1.388455e-02  2.141862e-02 -2.382671e-01 -2.982403e-01 -9.110253e-06 -2.851925e-05
+ 1.388455e-02  2.151235e-02 -2.386494e-01 -2.979983e-01 -3.914739e-04 -8.440890e-05
+ 1.388455e-02  2.160567e-02 -2.386396e-01 -2.978598e-01 -2.386396e-01 -2.978598e-01
+ 1.388455e-02  2.169860e-02 -2.384995e-01 -2.975916e-01 -4.528290e-04 -1.387776e-04
+ 1.388455e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.380467e-01  2.974528e-01
+ 1.388455e-02  2.188326e-02 -2.384185e-01 -2.972093e-01  4.456208e-04  2.396571e-04
+ 1.388455e-02  2.197501e-02 -2.383875e-01 -2.969658e-01 -1.447740e-04 -4.476709e-05
+ 1.388455e-02  2.206638e-02 -2.384414e-01 -2.968308e-01  3.907276e-05  3.440124e-06
+ 1.388455e-02  2.215737e-02 -2.382083e-01 -2.964053e-01 -3.703648e-06 -4.396768e-08
+ 1.388455e-02  2.224799e-02 -2.384629e-01 -2.961665e-01  1.208927e-05 -5.331395e-08
+ 1.388455e-02  2.233824e-02 -2.383078e-01 -2.960559e-01 -3.784814e-05 -2.437551e-05
+ 1.388455e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.382699e-01  2.960315e-01
+ 1.388455e-02  2.251766e-02 -2.385038e-01 -2.957436e-01 -2.922589e-05  5.153993e-05
+ 1.388455e-02  2.260684e-02 -2.385888e-01 -2.952321e-01 -3.210845e-04 -2.279355e-04
+ 1.388455e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.382677e-01  2.950041e-01
+ 1.388455e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.382677e-01  2.950041e-01
+ 1.388455e-02  2.287228e-02 -2.402272e-01 -2.932963e-01 -6.203412e-05  9.094328e-06
+ 1.388455e-02  2.296007e-02 -2.405425e-01 -2.932440e-01 -2.405425e-01 -2.932440e-01
+ 1.388455e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.388455e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  1.000000e-06 -2.323438e-01 -3.109013e-01  2.378447e-09 -1.367337e-09
+ 1.402842e-02  2.006944e-03 -2.323518e-01 -3.108291e-01  3.784423e-09 -2.737119e-10
+ 1.402842e-02  2.837833e-03 -2.323626e-01 -3.107575e-01  5.921713e-09 -1.572726e-10
+ 1.402842e-02  3.475396e-03 -2.323764e-01 -3.106864e-01  8.833443e-09 -1.350811e-10
+ 1.402842e-02  4.012887e-03 -2.323931e-01 -3.106158e-01  1.239839e-08  3.212008e-10
+ 1.402842e-02  4.486426e-03 -2.324128e-01 -3.105457e-01  1.591251e-08 -7.145849e-10
+ 1.402842e-02  4.914538e-03 -2.324353e-01 -3.104760e-01  1.832121e-08 -1.183575e-09
+ 1.402842e-02  5.308228e-03 -2.324607e-01 -3.104066e-01  1.927882e-08 -6.859916e-10
+ 1.402842e-02  5.674665e-03 -2.324889e-01 -3.103374e-01  1.780856e-08  1.808419e-09
+ 1.402842e-02  6.018831e-03 -2.325201e-01 -3.102686e-01 -1.674050e-11 -3.302321e-09
+ 1.402842e-02  6.344350e-03 -2.325545e-01 -3.102001e-01 -4.403828e-07 -2.318689e-07
+ 1.402842e-02  6.653962e-03 -2.325904e-01 -3.101312e-01  1.186719e-06  5.871313e-07
+ 1.402842e-02  6.949792e-03 -2.326284e-01 -3.100620e-01  1.012847e-06  4.787676e-07
+ 1.402842e-02  7.233532e-03 -2.326711e-01 -3.099939e-01  9.726672e-08  4.246980e-08
+ 1.402842e-02  7.506553e-03 -2.327159e-01 -3.099255e-01 -8.022932e-09 -1.704374e-09
+ 1.402842e-02  7.769986e-03 -2.327633e-01 -3.098571e-01 -3.624868e-09  3.985587e-09
+ 1.402842e-02  8.024774e-03 -2.328132e-01 -3.097886e-01 -5.131911e-10 -7.341544e-11
+ 1.402842e-02  8.271717e-03 -2.328657e-01 -3.097199e-01  1.016877e-08  5.397567e-09
+ 1.402842e-02  8.511498e-03 -2.329207e-01 -3.096511e-01  1.785145e-08  9.001128e-09
+ 1.402842e-02  8.744705e-03 -2.329781e-01 -3.095821e-01  1.640351e-08 -5.083670e-10
+ 1.402842e-02  8.971852e-03 -2.330380e-01 -3.095129e-01  2.129313e-09  7.248686e-09
+ 1.402842e-02  9.193388e-03 -2.331003e-01 -3.094435e-01 -1.221981e-08  2.058565e-08
+ 1.402842e-02  9.409709e-03 -2.331648e-01 -3.093738e-01  5.207296e-10 -7.641022e-10
+ 1.402842e-02  9.621167e-03 -2.332317e-01 -3.093037e-01 -5.184997e-09  8.496568e-09
+ 1.402842e-02  9.828076e-03 -2.333008e-01 -3.092332e-01 -2.233783e-08  6.667486e-08
+ 1.402842e-02  1.003072e-02 -2.333721e-01 -3.091625e-01  1.027677e-08  1.496526e-08
+ 1.402842e-02  1.022935e-02 -2.334456e-01 -3.090911e-01  2.059453e-08  2.798553e-10
+ 1.402842e-02  1.042419e-02 -2.335212e-01 -3.090195e-01 -6.404407e-08  1.715456e-07
+ 1.402842e-02  1.061546e-02 -2.335987e-01 -3.089473e-01 -6.875529e-08  1.565408e-07
+ 1.402842e-02  1.080334e-02 -2.336786e-01 -3.088741e-01 -2.005354e-07  4.457077e-07
+ 1.402842e-02  1.098801e-02 -2.337597e-01 -3.088017e-01  1.528704e-07 -3.296684e-07
+ 1.402842e-02  1.116962e-02 -2.338420e-01 -3.087300e-01  3.828687e-07 -7.498808e-07
+ 1.402842e-02  1.134833e-02 -2.339275e-01 -3.086548e-01  1.789298e-06 -3.405645e-06
+ 1.402842e-02  1.152427e-02 -2.340155e-01 -3.085779e-01 -1.024677e-06  1.886679e-06
+ 1.402842e-02  1.169756e-02 -2.341034e-01 -3.085034e-01  2.440046e-08 -1.080606e-07
+ 1.402842e-02  1.186832e-02 -2.341938e-01 -3.084267e-01  8.921919e-09 -1.751336e-08
+ 1.402842e-02  1.203666e-02 -2.342871e-01 -3.083473e-01 -5.003040e-07  8.063391e-07
+ 1.402842e-02  1.220268e-02 -2.343794e-01 -3.082709e-01 -2.215862e-06  3.450391e-06
+ 1.402842e-02  1.236647e-02 -2.344727e-01 -3.081946e-01  1.245771e-06 -1.820177e-06
+ 1.402842e-02  1.252811e-02 -2.345690e-01 -3.081148e-01  1.663547e-07 -2.411928e-07
+ 1.402842e-02  1.268770e-02 -2.346663e-01 -3.080347e-01  1.340960e-07 -1.858249e-07
+ 1.402842e-02  1.284531e-02 -2.347646e-01 -3.079541e-01  2.188636e-09 -4.286062e-09
+ 1.402842e-02  1.300100e-02 -2.348642e-01 -3.078724e-01  1.647760e-08  9.062096e-09
+ 1.402842e-02  1.315485e-02 -2.349646e-01 -3.077900e-01  4.970216e-08 -2.407380e-08
+ 1.402842e-02  1.330692e-02 -2.350661e-01 -3.077067e-01  1.562784e-08 -1.903633e-08
+ 1.402842e-02  1.345728e-02 -2.351684e-01 -3.076225e-01  3.588525e-08 -4.274633e-08
+ 1.402842e-02  1.360597e-02 -2.352714e-01 -3.075374e-01  2.713528e-08 -2.568415e-08
+ 1.402842e-02  1.375306e-02 -2.353752e-01 -3.074514e-01  5.835200e-08 -2.753506e-08
+ 1.402842e-02  1.389858e-02 -2.354795e-01 -3.073645e-01  1.635302e-08 -1.382871e-08
+ 1.402842e-02  1.404260e-02 -2.355843e-01 -3.072765e-01  1.035269e-08 -1.176896e-08
+ 1.402842e-02  1.418516e-02 -2.356894e-01 -3.071876e-01 -1.723033e-08 -8.785070e-09
+ 1.402842e-02  1.432630e-02 -2.357949e-01 -3.070977e-01  2.288117e-08 -4.273071e-09
+ 1.402842e-02  1.446606e-02 -2.359005e-01 -3.070068e-01  3.001874e-08 -1.791070e-09
+ 1.402842e-02  1.460449e-02 -2.360062e-01 -3.069148e-01 -3.826732e-08 -4.366817e-09
+ 1.402842e-02  1.474161e-02 -2.361117e-01 -3.068217e-01 -3.129454e-08 -5.149185e-09
+ 1.402842e-02  1.487748e-02 -2.362174e-01 -3.067276e-01 -3.507334e-07 -4.702350e-08
+ 1.402842e-02  1.501211e-02 -2.363217e-01 -3.066322e-01 -6.445700e-08 -1.080639e-08
+ 1.402842e-02  1.514554e-02 -2.364259e-01 -3.065358e-01 -8.594724e-08  1.789990e-08
+ 1.402842e-02  1.527781e-02 -2.365303e-01 -3.064382e-01  4.539566e-08  1.032361e-07
+ 1.402842e-02  1.540894e-02 -2.366350e-01 -3.063400e-01  3.705442e-06  1.028819e-06
+ 1.402842e-02  1.553897e-02 -2.367386e-01 -3.062404e-01 -1.513199e-08 -3.455675e-09
+ 1.402842e-02  1.566792e-02 -2.368375e-01 -3.061389e-01  9.212297e-07  1.249486e-07
+ 1.402842e-02  1.579582e-02 -2.369374e-01 -3.060366e-01 -4.488016e-09 -5.341724e-09
+ 1.402842e-02  1.592268e-02 -2.370349e-01 -3.059328e-01  8.886253e-08  1.306666e-08
+ 1.402842e-02  1.604855e-02 -2.371297e-01 -3.058274e-01 -3.009840e-07 -1.151669e-07
+ 1.402842e-02  1.617343e-02 -2.372207e-01 -3.057201e-01 -8.609750e-08 -4.510159e-08
+ 1.402842e-02  1.629736e-02 -2.372865e-01 -3.055984e-01  2.923604e-06  1.710398e-06
+ 1.402842e-02  1.642036e-02 -2.374463e-01 -3.055353e-01 -2.932703e-05 -1.821910e-05
+ 1.402842e-02  1.654243e-02 -2.374991e-01 -3.054101e-01  2.444929e-06  1.589127e-06
+ 1.402842e-02  1.666362e-02 -2.375639e-01 -3.053000e-01  3.166168e-06 -3.148719e-07
+ 1.402842e-02  1.678393e-02 -2.376024e-01 -3.051867e-01 -2.297104e-06  2.833094e-07
+ 1.402842e-02  1.690338e-02 -2.370193e-01 -3.050688e-01  2.542171e-04  1.613380e-05
+ 1.402842e-02  1.702200e-02 -2.374264e-01 -3.049610e-01  4.126500e-05 -2.326544e-05
+ 1.402842e-02  1.713979e-02 -2.378585e-01 -3.048407e-01  1.289478e-05 -1.511442e-06
+ 1.402842e-02  1.725678e-02 -2.386409e-01 -3.044203e-01 -2.975110e-04  2.000484e-04
+ 1.402842e-02  1.737298e-02 -2.385229e-01 -3.044562e-01 -1.324055e-04  5.928734e-05
+ 1.402842e-02  1.748841e-02 -2.384647e-01 -3.044034e-01  4.556460e-06 -1.348816e-06
+ 1.402842e-02  1.760308e-02 -2.384904e-01 -3.042990e-01  5.809556e-08 -1.539218e-07
+ 1.402842e-02  1.771701e-02 -2.385294e-01 -3.041829e-01  3.771666e-06  1.809019e-09
+ 1.402842e-02  1.783022e-02 -2.385846e-01 -3.040611e-01  1.872594e-08 -1.715932e-08
+ 1.402842e-02  1.794270e-02 -2.386382e-01 -3.039357e-01  9.658845e-07  1.460533e-09
+ 1.402842e-02  1.805449e-02 -2.386988e-01 -3.038077e-01 -6.017952e-06 -7.839303e-08
+ 1.402842e-02  1.816559e-02 -2.387480e-01 -3.036771e-01 -1.173838e-06 -6.921523e-09
+ 1.402842e-02  1.827602e-02 -2.388010e-01 -3.035445e-01  7.334003e-09 -9.528291e-09
+ 1.402842e-02  1.838578e-02 -2.388503e-01 -3.034100e-01  5.004003e-07  5.217982e-08
+ 1.402842e-02  1.849489e-02 -2.388978e-01 -3.032732e-01 -3.412083e-08  1.516985e-08
+ 1.402842e-02  1.860336e-02 -2.389418e-01 -3.031345e-01 -2.417177e-08  1.035126e-08
+ 1.402842e-02  1.871120e-02 -2.389822e-01 -3.029938e-01  8.518186e-08 -1.016012e-08
+ 1.402842e-02  1.881842e-02 -2.390192e-01 -3.028510e-01  2.365943e-08 -3.860961e-08
+ 1.402842e-02  1.892503e-02 -2.390521e-01 -3.027071e-01  4.928588e-08 -3.861078e-10
+ 1.402842e-02  1.903105e-02 -2.390814e-01 -3.025605e-01  4.355683e-08  6.433557e-07
+ 1.402842e-02  1.913648e-02 -2.391066e-01 -3.024119e-01 -3.425535e-08 -3.697573e-08
+ 1.402842e-02  1.924133e-02 -2.391264e-01 -3.022615e-01  1.983018e-06  4.798134e-07
+ 1.402842e-02  1.934562e-02 -2.391449e-01 -3.021108e-01  5.279967e-07  3.705666e-07
+ 1.402842e-02  1.944934e-02 -2.391543e-01 -3.019672e-01  1.095425e-06 -3.818853e-06
+ 1.402842e-02  1.955252e-02 -2.391798e-01 -3.018123e-01  1.417547e-05  3.062530e-05
+ 1.402842e-02  1.965515e-02 -2.391980e-01 -3.016518e-01 -2.028246e-06 -1.134337e-06
+ 1.402842e-02  1.975725e-02 -2.391353e-01 -3.014576e-01  9.480955e-06  5.454209e-06
+ 1.402842e-02  1.985883e-02 -2.391455e-01 -3.013046e-01 -8.141093e-08 -4.087443e-08
+ 1.402842e-02  1.995989e-02 -2.391389e-01 -3.011428e-01 -4.441646e-07 -1.162297e-06
+ 1.402842e-02  2.006044e-02 -2.391278e-01 -3.009806e-01 -8.623256e-07 -3.774616e-07
+ 1.402842e-02  2.016048e-02 -2.391118e-01 -3.008176e-01 -4.610863e-07 -9.591804e-08
+ 1.402842e-02  2.026004e-02 -2.391072e-01 -3.006668e-01  5.863662e-07  1.299578e-07
+ 1.402842e-02  2.035910e-02 -2.390590e-01 -3.004815e-01 -2.030187e-05 -1.970930e-05
+ 1.402842e-02  2.045769e-02 -2.388163e-01 -3.000922e-01  2.937880e-06  4.138356e-06
+ 1.402842e-02  2.055580e-02 -2.388101e-01 -2.999515e-01 -3.005305e-06 -2.390973e-06
+ 1.402842e-02  2.065345e-02 -2.387667e-01 -2.997116e-01  2.640132e-06  2.280783e-05
+ 1.402842e-02  2.075064e-02 -2.387319e-01 -2.996407e-01  4.024693e-06  3.973114e-06
+ 1.402842e-02  2.084738e-02 -2.386762e-01 -2.994492e-01 -8.487825e-06 -5.654295e-06
+ 1.402842e-02  2.094367e-02 -2.386595e-01 -2.992933e-01  1.148258e-05  4.873445e-06
+ 1.402842e-02  2.103951e-02 -2.385610e-01 -2.990952e-01 -1.937256e-06  1.642464e-06
+ 1.402842e-02  2.113493e-02 -2.384163e-01 -2.988554e-01 -1.650229e-04 -8.748268e-05
+ 1.402842e-02  2.122991e-02 -2.380271e-01 -2.984819e-01  4.124631e-04  2.793554e-04
+ 1.402842e-02  2.132447e-02 -2.381141e-01 -2.984518e-01 -3.689419e-05 -1.386974e-05
+ 1.402842e-02  2.141862e-02 -2.379463e-01 -2.981608e-01  1.371474e-04  1.144077e-04
+ 1.402842e-02  2.151235e-02 -2.376769e-01 -2.979396e-01 -8.489318e-05 -8.262669e-05
+ 1.402842e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.375920e-01  2.978570e-01
+ 1.402842e-02  2.169860e-02 -2.378308e-01 -2.974034e-01  2.561011e-04  2.171018e-04
+ 1.402842e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.380869e-01  2.976205e-01
+ 1.402842e-02  2.287228e-02 -2.395152e-01 -2.934141e-01 -8.219389e-06  1.508605e-06
+ 1.402842e-02  2.296007e-02 -2.398736e-01 -2.933544e-01 -5.699837e-07  1.571809e-07
+ 1.402842e-02  2.304754e-02 -2.397127e-01 -2.935476e-01 -2.397127e-01 -2.935476e-01
+ 1.402842e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.402842e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  1.000000e-06 -2.328668e-01 -3.110774e-01  1.039230e-08 -2.231836e-10
+ 1.417084e-02  2.006944e-03 -2.328690e-01 -3.110052e-01  1.088452e-08 -1.816382e-09
+ 1.417084e-02  2.837833e-03 -2.328741e-01 -3.109336e-01  1.209184e-08 -2.277372e-09
+ 1.417084e-02  3.475396e-03 -2.328822e-01 -3.108625e-01  1.404768e-08 -6.135410e-10
+ 1.417084e-02  4.012887e-03 -2.328932e-01 -3.107918e-01  2.298992e-08  4.780250e-09
+ 1.417084e-02  4.486426e-03 -2.329072e-01 -3.107215e-01  6.219241e-09 -6.866762e-09
+ 1.417084e-02  4.914538e-03 -2.329241e-01 -3.106516e-01 -5.104964e-08 -3.629619e-08
+ 1.417084e-02  5.308228e-03 -2.329435e-01 -3.105817e-01 -3.692856e-07 -1.792670e-07
+ 1.417084e-02  5.674665e-03 -2.329655e-01 -3.105120e-01  4.412503e-07  1.791061e-07
+ 1.417084e-02  6.018831e-03 -2.329911e-01 -3.104428e-01  1.543238e-07  5.403560e-08
+ 1.417084e-02  6.344350e-03 -2.330193e-01 -3.103737e-01  6.957756e-09  9.721869e-10
+ 1.417084e-02  6.653962e-03 -2.330502e-01 -3.103046e-01 -2.435903e-09 -4.390945e-10
+ 1.417084e-02  6.949792e-03 -2.330839e-01 -3.102356e-01 -4.645662e-09 -3.757472e-10
+ 1.417084e-02  7.233532e-03 -2.331202e-01 -3.101666e-01 -4.733265e-09  3.256810e-09
+ 1.417084e-02  7.506553e-03 -2.331592e-01 -3.100976e-01 -6.199723e-10  4.534594e-10
+ 1.417084e-02  7.769986e-03 -2.332008e-01 -3.100285e-01 -2.012007e-09 -5.109712e-10
+ 1.417084e-02  8.024774e-03 -2.332451e-01 -3.099593e-01 -4.875730e-09  4.293892e-09
+ 1.417084e-02  8.271717e-03 -2.332919e-01 -3.098899e-01 -1.263364e-10 -2.076546e-10
+ 1.417084e-02  8.511498e-03 -2.333412e-01 -3.098204e-01  7.300805e-09  2.646190e-09
+ 1.417084e-02  8.744705e-03 -2.333929e-01 -3.097506e-01  1.601851e-08  1.289379e-08
+ 1.417084e-02  8.971852e-03 -2.334471e-01 -3.096806e-01  2.035106e-08  1.541651e-09
+ 1.417084e-02  9.193388e-03 -2.335037e-01 -3.096103e-01  1.059605e-08  3.172910e-09
+ 1.417084e-02  9.409709e-03 -2.335627e-01 -3.095397e-01 -1.051303e-08  2.695597e-08
+ 1.417084e-02  9.621167e-03 -2.336239e-01 -3.094688e-01 -3.621257e-09  7.668250e-09
+ 1.417084e-02  9.828076e-03 -2.336873e-01 -3.093974e-01 -1.261828e-09 -8.315932e-10
+ 1.417084e-02  1.003072e-02 -2.337530e-01 -3.093257e-01 -2.237852e-08  5.535270e-08
+ 1.417084e-02  1.022935e-02 -2.338208e-01 -3.092535e-01 -1.264811e-08  5.162019e-08
+ 1.417084e-02  1.042419e-02 -2.338907e-01 -3.091807e-01  4.983349e-09  4.634908e-08
+ 1.417084e-02  1.061546e-02 -2.339625e-01 -3.091077e-01 -1.116889e-10  4.249232e-08
+ 1.417084e-02  1.080334e-02 -2.340365e-01 -3.090338e-01 -8.040235e-08  1.804755e-07
+ 1.417084e-02  1.098801e-02 -2.341125e-01 -3.089590e-01 -5.910407e-07  1.280352e-06
+ 1.417084e-02  1.116962e-02 -2.341895e-01 -3.088855e-01  1.118781e-06 -2.319631e-06
+ 1.417084e-02  1.134833e-02 -2.342681e-01 -3.088118e-01  9.615179e-10 -4.853623e-09
+ 1.417084e-02  1.152427e-02 -2.343501e-01 -3.087340e-01  1.248934e-06 -2.314889e-06
+ 1.417084e-02  1.169756e-02 -2.344337e-01 -3.086559e-01 -5.112974e-07  9.467550e-07
+ 1.417084e-02  1.186832e-02 -2.345173e-01 -3.085799e-01  6.247208e-07 -1.055472e-06
+ 1.417084e-02  1.203666e-02 -2.346043e-01 -3.085002e-01 -1.737056e-06  2.850770e-06
+ 1.417084e-02  1.220268e-02 -2.346930e-01 -3.084195e-01 -5.436150e-08  8.204469e-08
+ 1.417084e-02  1.236647e-02 -2.347804e-01 -3.083422e-01 -8.956807e-07  1.354353e-06
+ 1.417084e-02  1.252811e-02 -2.348697e-01 -3.082630e-01  4.219169e-07 -5.687134e-07
+ 1.417084e-02  1.268770e-02 -2.349617e-01 -3.081810e-01  1.033370e-07 -1.271001e-07
+ 1.417084e-02  1.284531e-02 -2.350543e-01 -3.080990e-01  2.341321e-07 -3.204300e-07
+ 1.417084e-02  1.300100e-02 -2.351481e-01 -3.080161e-01  5.997784e-08 -8.559864e-08
+ 1.417084e-02  1.315485e-02 -2.352428e-01 -3.079323e-01  5.511730e-08 -6.397674e-08
+ 1.417084e-02  1.330692e-02 -2.353384e-01 -3.078477e-01  3.144836e-08 -3.285170e-09
+ 1.417084e-02  1.345728e-02 -2.354350e-01 -3.077620e-01  1.734310e-08  7.958277e-09
+ 1.417084e-02  1.360597e-02 -2.355322e-01 -3.076756e-01 -1.195772e-09 -2.151606e-09
+ 1.417084e-02  1.375306e-02 -2.356302e-01 -3.075882e-01 -6.786047e-09 -4.343070e-09
+ 1.417084e-02  1.389858e-02 -2.357287e-01 -3.074998e-01  9.281219e-09 -1.774051e-08
+ 1.417084e-02  1.404260e-02 -2.358277e-01 -3.074104e-01  2.576140e-08 -8.844371e-09
+ 1.417084e-02  1.418516e-02 -2.359270e-01 -3.073200e-01  3.487963e-08 -1.246343e-08
+ 1.417084e-02  1.432630e-02 -2.360267e-01 -3.072286e-01  3.690929e-09 -1.152391e-08
+ 1.417084e-02  1.446606e-02 -2.361263e-01 -3.071360e-01 -3.932309e-08 -1.775134e-08
+ 1.417084e-02  1.460449e-02 -2.362262e-01 -3.070425e-01 -8.324210e-07 -2.893187e-07
+ 1.417084e-02  1.474161e-02 -2.363268e-01 -3.069481e-01 -2.865162e-07 -4.597105e-08
+ 1.417084e-02  1.487748e-02 -2.364256e-01 -3.068522e-01 -4.144648e-07 -7.929594e-08
+ 1.417084e-02  1.501211e-02 -2.365244e-01 -3.067553e-01 -3.006412e-07 -4.553290e-08
+ 1.417084e-02  1.514554e-02 -2.366244e-01 -3.066574e-01 -5.891324e-07 -7.999574e-08
+ 1.417084e-02  1.527781e-02 -2.367222e-01 -3.065582e-01  6.434058e-07  7.678905e-08
+ 1.417084e-02  1.540894e-02 -2.368212e-01 -3.064579e-01 -1.221268e-06 -1.639426e-07
+ 1.417084e-02  1.553897e-02 -2.369161e-01 -3.063561e-01 -1.847288e-08 -9.998555e-09
+ 1.417084e-02  1.566792e-02 -2.370118e-01 -3.062532e-01  3.570757e-08  1.053494e-08
+ 1.417084e-02  1.579582e-02 -2.371055e-01 -3.061487e-01  1.675767e-07  1.572618e-08
+ 1.417084e-02  1.592268e-02 -2.371971e-01 -3.060426e-01 -6.634889e-09 -2.847776e-09
+ 1.417084e-02  1.604855e-02 -2.372855e-01 -3.059345e-01 -2.072478e-06 -1.228768e-06
+ 1.417084e-02  1.617343e-02 -2.373469e-01 -3.058101e-01  3.481207e-05  2.056670e-05
+ 1.417084e-02  1.629736e-02 -2.375069e-01 -3.057450e-01 -4.860753e-08 -3.031253e-08
+ 1.417084e-02  1.642036e-02 -2.375688e-01 -3.056216e-01  7.362004e-08  5.383496e-08
+ 1.417084e-02  1.654243e-02 -2.376469e-01 -3.055090e-01 -2.502788e-08  3.029377e-08
+ 1.417084e-02  1.666362e-02 -2.377210e-01 -3.053947e-01  1.496402e-06  2.261895e-06
+ 1.417084e-02  1.678393e-02 -2.377895e-01 -3.052865e-01  1.937927e-07 -1.657992e-07
+ 1.417084e-02  1.690338e-02 -2.378448e-01 -3.051740e-01 -1.533618e-06  1.362927e-06
+ 1.417084e-02  1.702200e-02 -2.378673e-01 -3.050644e-01 -3.748550e-06  6.610343e-07
+ 1.417084e-02  1.713979e-02 -2.372779e-01 -3.049805e-01  1.004308e-04 -5.510162e-06
+ 1.417084e-02  1.725678e-02 -2.377607e-01 -3.048512e-01  4.853339e-06 -5.966754e-07
+ 1.417084e-02  1.737298e-02 -2.386272e-01 -3.044378e-01 -2.855332e-04  2.023844e-04
+ 1.417084e-02  1.748841e-02 -2.385650e-01 -3.044281e-01 -1.621477e-06  2.136407e-07
+ 1.417084e-02  1.760308e-02 -2.385772e-01 -3.043454e-01  2.208788e-06 -8.097696e-07
+ 1.417084e-02  1.771701e-02 -2.385980e-01 -3.042405e-01  3.013663e-06 -2.019124e-07
+ 1.417084e-02  1.783022e-02 -2.386381e-01 -3.041230e-01 -1.679334e-06 -6.890906e-08
+ 1.417084e-02  1.794270e-02 -2.386824e-01 -3.039989e-01  8.027071e-07  1.014507e-08
+ 1.417084e-02  1.805449e-02 -2.387312e-01 -3.038706e-01  1.116867e-06  2.183083e-08
+ 1.417084e-02  1.816559e-02 -2.387748e-01 -3.037392e-01  2.038642e-06  3.548956e-08
+ 1.417084e-02  1.827602e-02 -2.388167e-01 -3.036050e-01  1.352313e-06 -1.318178e-08
+ 1.417084e-02  1.838578e-02 -2.388588e-01 -3.034683e-01  3.451869e-08  2.094054e-07
+ 1.417084e-02  1.849489e-02 -2.388973e-01 -3.033301e-01  2.158387e-08  8.771811e-09
+ 1.417084e-02  1.860336e-02 -2.389330e-01 -3.031890e-01  8.083089e-08 -1.174942e-09
+ 1.417084e-02  1.871120e-02 -2.389650e-01 -3.030459e-01  6.544799e-08 -1.267789e-09
+ 1.417084e-02  1.881842e-02 -2.389934e-01 -3.029007e-01 -2.193631e-08 -1.880999e-08
+ 1.417084e-02  1.892503e-02 -2.390176e-01 -3.027551e-01  1.093492e-07 -7.222853e-08
+ 1.417084e-02  1.903105e-02 -2.390381e-01 -3.026049e-01  2.688747e-08 -7.550054e-08
+ 1.417084e-02  1.913648e-02 -2.390544e-01 -3.024535e-01  1.732323e-08  9.742906e-09
+ 1.417084e-02  1.924133e-02 -2.390653e-01 -3.023003e-01  1.004130e-06  2.951860e-07
+ 1.417084e-02  1.934562e-02 -2.390740e-01 -3.021465e-01 -4.066213e-07 -1.042968e-08
+ 1.417084e-02  1.944934e-02 -2.390783e-01 -3.019952e-01  2.744720e-07 -6.537578e-07
+ 1.417084e-02  1.955252e-02 -2.391108e-01 -3.018564e-01 -8.102826e-06 -6.757318e-06
+ 1.417084e-02  1.965515e-02 -2.390342e-01 -3.016424e-01  1.287166e-05  7.899762e-06
+ 1.417084e-02  1.975725e-02 -2.390363e-01 -3.014879e-01 -1.831536e-07 -1.130275e-07
+ 1.417084e-02  1.985883e-02 -2.390228e-01 -3.013249e-01  5.502881e-08  1.475062e-09
+ 1.417084e-02  1.995989e-02 -2.390030e-01 -3.011593e-01  4.415397e-08  2.671353e-07
+ 1.417084e-02  2.006044e-02 -2.389771e-01 -3.009929e-01  6.898043e-07 -4.103757e-08
+ 1.417084e-02  2.016048e-02 -2.389758e-01 -3.008457e-01  2.017781e-05  1.427532e-05
+ 1.417084e-02  2.026004e-02 -2.389436e-01 -3.006811e-01 -8.795840e-06 -5.573507e-06
+ 1.417084e-02  2.035910e-02 -2.388957e-01 -3.005056e-01  1.332072e-05  1.265806e-05
+ 1.417084e-02  2.045769e-02 -2.386299e-01 -3.001246e-01 -1.685218e-05 -3.522671e-06
+ 1.417084e-02  2.055580e-02 -2.385935e-01 -2.999525e-01 -3.834355e-05 -2.806964e-05
+ 1.417084e-02  2.065345e-02 -2.384440e-01 -2.996324e-01  2.056788e-05  4.160182e-05
+ 1.417084e-02  2.075064e-02 -2.385172e-01 -2.997306e-01 -4.350831e-05 -9.667624e-07
+ 1.417084e-02  2.084738e-02 -2.383762e-01 -2.994181e-01 -7.425965e-06 -6.087929e-07
+ 1.417084e-02  2.094367e-02 -2.383542e-01 -2.992678e-01 -2.954582e-04 -1.531167e-04
+ 1.417084e-02  2.103951e-02 -2.377631e-01 -2.987896e-01 -3.867327e-05 -1.985814e-06
+ 1.417084e-02  2.113493e-02 -2.380059e-01 -2.987937e-01 -1.322236e-04 -6.933576e-05
+ 1.417084e-02  2.122991e-02 -2.373012e-01 -2.982973e-01 -2.373012e-01 -2.982973e-01
+ 1.417084e-02  2.132447e-02 -2.377545e-01 -2.984278e-01 -2.377545e-01 -2.984278e-01
+ 1.417084e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.417084e-02  2.287228e-02 -2.388390e-01 -2.935265e-01  1.926466e-06  2.378393e-07
+ 1.417084e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.417084e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.388410e-01  2.935268e-01
+ 1.431184e-02  1.000000e-06 -2.333845e-01 -3.112509e-01  1.831017e-08 -6.504057e-10
+ 1.431184e-02  2.006944e-03 -2.333810e-01 -3.111788e-01  1.840372e-08 -7.270352e-10
+ 1.431184e-02  2.837833e-03 -2.333804e-01 -3.111071e-01  4.409248e-09 -4.270414e-09
+ 1.431184e-02  3.475396e-03 -2.333828e-01 -3.110359e-01  2.624847e-08  1.360190e-09
+ 1.431184e-02  4.012887e-03 -2.333881e-01 -3.109651e-01  3.415311e-08  1.874481e-09
+ 1.431184e-02  4.486426e-03 -2.333963e-01 -3.108945e-01  1.624075e-08 -2.694001e-09
+ 1.431184e-02  4.914538e-03 -2.334073e-01 -3.108243e-01  2.010208e-08  1.137826e-10
+ 1.431184e-02  5.308228e-03 -2.334213e-01 -3.107543e-01  2.004275e-08  3.851081e-10
+ 1.431184e-02  5.674665e-03 -2.334381e-01 -3.106844e-01  2.071621e-08 -5.649554e-10
+ 1.431184e-02  6.018831e-03 -2.334577e-01 -3.106147e-01  1.992881e-08  1.005429e-09
+ 1.431184e-02  6.344350e-03 -2.334802e-01 -3.105451e-01  1.626223e-08  9.962864e-12
+ 1.431184e-02  6.653962e-03 -2.335054e-01 -3.104756e-01  1.032678e-08 -4.340936e-10
+ 1.431184e-02  6.949792e-03 -2.335334e-01 -3.104060e-01  2.134374e-09  4.568850e-10
+ 1.431184e-02  7.233532e-03 -2.335640e-01 -3.103365e-01 -2.260221e-09 -3.209033e-11
+ 1.431184e-02  7.506553e-03 -2.335974e-01 -3.102668e-01 -2.215197e-09  3.551714e-09
+ 1.431184e-02  7.769986e-03 -2.336334e-01 -3.101971e-01 -1.027422e-09  2.314580e-09
+ 1.431184e-02  8.024774e-03 -2.336719e-01 -3.101272e-01 -1.107152e-09  2.518208e-11
+ 1.431184e-02  8.271717e-03 -2.337131e-01 -3.100571e-01 -3.291270e-09  5.973599e-09
+ 1.431184e-02  8.511498e-03 -2.337567e-01 -3.099868e-01 -3.477017e-09  1.962575e-09
+ 1.431184e-02  8.744705e-03 -2.338029e-01 -3.099163e-01  2.162428e-09 -1.337130e-09
+ 1.431184e-02  8.971852e-03 -2.338514e-01 -3.098455e-01  1.184972e-08  1.217887e-08
+ 1.431184e-02  9.193388e-03 -2.339024e-01 -3.097744e-01  2.376775e-08  9.060231e-09
+ 1.431184e-02  9.409709e-03 -2.339557e-01 -3.097029e-01  2.078961e-08  1.448610e-09
+ 1.431184e-02  9.621167e-03 -2.340112e-01 -3.096310e-01 -1.202516e-09  2.082559e-08
+ 1.431184e-02  9.828076e-03 -2.340691e-01 -3.095588e-01 -1.125109e-08  2.328204e-08
+ 1.431184e-02  1.003072e-02 -2.341291e-01 -3.094860e-01 -6.984286e-09  1.174070e-08
+ 1.431184e-02  1.022935e-02 -2.341912e-01 -3.094129e-01 -7.224414e-09  1.645265e-08
+ 1.431184e-02  1.042419e-02 -2.342555e-01 -3.093392e-01 -3.436569e-08  6.039115e-08
+ 1.431184e-02  1.061546e-02 -2.343218e-01 -3.092649e-01 -5.511503e-08  1.650367e-07
+ 1.431184e-02  1.080334e-02 -2.343899e-01 -3.091903e-01  4.739307e-08 -4.492884e-08
+ 1.431184e-02  1.098801e-02 -2.344603e-01 -3.091146e-01 -1.886338e-09  4.154834e-08
+ 1.431184e-02  1.116962e-02 -2.345324e-01 -3.090384e-01 -8.944833e-07  1.888119e-06
+ 1.431184e-02  1.134833e-02 -2.346052e-01 -3.089639e-01  1.591731e-06 -3.217701e-06
+ 1.431184e-02  1.152427e-02 -2.346802e-01 -3.088876e-01  6.391694e-07 -1.233566e-06
+ 1.431184e-02  1.169756e-02 -2.347586e-01 -3.088073e-01 -2.213686e-07  4.043042e-07
+ 1.431184e-02  1.186832e-02 -2.348376e-01 -3.087284e-01  5.691155e-08  2.547293e-08
+ 1.431184e-02  1.203666e-02 -2.349172e-01 -3.086502e-01  1.326584e-06 -2.168419e-06
+ 1.431184e-02  1.220268e-02 -2.350006e-01 -3.085675e-01 -2.368306e-06  3.807172e-06
+ 1.431184e-02  1.236647e-02 -2.350841e-01 -3.084861e-01 -1.378266e-06  2.113263e-06
+ 1.431184e-02  1.252811e-02 -2.351668e-01 -3.084072e-01  1.115874e-06 -1.643608e-06
+ 1.431184e-02  1.268770e-02 -2.352524e-01 -3.083249e-01  4.319195e-09 -1.585063e-09
+ 1.431184e-02  1.284531e-02 -2.353397e-01 -3.082409e-01 -2.148714e-08  6.341570e-08
+ 1.431184e-02  1.300100e-02 -2.354275e-01 -3.081569e-01  1.088976e-07 -1.171067e-07
+ 1.431184e-02  1.315485e-02 -2.355167e-01 -3.080716e-01  4.092735e-08 -5.821872e-08
+ 1.431184e-02  1.330692e-02 -2.356065e-01 -3.079857e-01  8.437207e-08 -1.140062e-07
+ 1.431184e-02  1.345728e-02 -2.356973e-01 -3.078987e-01  3.742471e-08 -4.307739e-08
+ 1.431184e-02  1.360597e-02 -2.357887e-01 -3.078108e-01  9.051273e-08 -2.870772e-08
+ 1.431184e-02  1.375306e-02 -2.358809e-01 -3.077220e-01  3.276895e-08 -1.816467e-08
+ 1.431184e-02  1.389858e-02 -2.359737e-01 -3.076321e-01 -7.781447e-08 -4.026588e-08
+ 1.431184e-02  1.404260e-02 -2.360669e-01 -3.075413e-01 -3.205347e-08 -1.177436e-08
+ 1.431184e-02  1.418516e-02 -2.361604e-01 -3.074494e-01 -3.194886e-10 -1.780908e-09
+ 1.431184e-02  1.432630e-02 -2.362542e-01 -3.073564e-01 -7.850689e-08 -1.126020e-08
+ 1.431184e-02  1.446606e-02 -2.363481e-01 -3.072624e-01 -5.951446e-09 -4.406624e-09
+ 1.431184e-02  1.460449e-02 -2.364424e-01 -3.071674e-01 -3.034101e-07 -4.116530e-08
+ 1.431184e-02  1.474161e-02 -2.365357e-01 -3.070711e-01 -3.186981e-07 -4.250461e-08
+ 1.431184e-02  1.487748e-02 -2.366289e-01 -3.069736e-01 -2.736278e-07 -3.730255e-08
+ 1.431184e-02  1.501211e-02 -2.367236e-01 -3.068753e-01 -6.268731e-07 -8.470384e-08
+ 1.431184e-02  1.514554e-02 -2.368159e-01 -3.067755e-01  3.193618e-07  3.892493e-08
+ 1.431184e-02  1.527781e-02 -2.369098e-01 -3.066748e-01 -2.203177e-06 -2.888154e-07
+ 1.431184e-02  1.540894e-02 -2.369999e-01 -3.065724e-01 -7.054442e-07 -9.472310e-08
+ 1.431184e-02  1.553897e-02 -2.370903e-01 -3.064689e-01  2.460281e-08  2.582540e-09
+ 1.431184e-02  1.566792e-02 -2.371794e-01 -3.063638e-01  4.428960e-08 -4.081440e-09
+ 1.431184e-02  1.579582e-02 -2.372662e-01 -3.062568e-01 -1.862267e-07 -9.552749e-08
+ 1.431184e-02  1.592268e-02 -2.373480e-01 -3.061466e-01 -3.266158e-09 -5.597131e-08
+ 1.431184e-02  1.604855e-02 -2.374276e-01 -3.060344e-01 -1.515999e-05 -8.823085e-06
+ 1.431184e-02  1.617343e-02 -2.375584e-01 -3.059523e-01 -9.118605e-06 -5.462694e-06
+ 1.431184e-02  1.629736e-02 -2.376268e-01 -3.058335e-01  1.123458e-07  6.721792e-08
+ 1.431184e-02  1.642036e-02 -2.377043e-01 -3.057201e-01 -7.945853e-09 -3.542970e-09
+ 1.431184e-02  1.654243e-02 -2.377806e-01 -3.056064e-01  2.671063e-08 -7.997283e-09
+ 1.431184e-02  1.666362e-02 -2.378534e-01 -3.054894e-01  1.558221e-07  2.487789e-07
+ 1.431184e-02  1.678393e-02 -2.379239e-01 -3.053823e-01  4.210908e-08 -3.014609e-07
+ 1.431184e-02  1.690338e-02 -2.379880e-01 -3.052647e-01 -1.607348e-07  5.613919e-08
+ 1.431184e-02  1.702200e-02 -2.380434e-01 -3.051492e-01 -6.811397e-07  3.295364e-07
+ 1.431184e-02  1.713979e-02 -2.380784e-01 -3.050378e-01 -2.535275e-06  6.747321e-07
+ 1.431184e-02  1.725678e-02 -2.380377e-01 -3.049369e-01 -3.089794e-05  6.888356e-06
+ 1.431184e-02  1.737298e-02 -2.376679e-01 -3.048613e-01  2.352624e-05 -7.059321e-07
+ 1.431184e-02  1.748841e-02 -2.386609e-01 -3.044108e-01 -1.970562e-04  1.834839e-04
+ 1.431184e-02  1.760308e-02 -2.386186e-01 -3.043936e-01  4.315641e-05 -3.508283e-05
+ 1.431184e-02  1.771701e-02 -2.386541e-01 -3.042857e-01  3.331195e-06 -1.004300e-06
+ 1.431184e-02  1.783022e-02 -2.386831e-01 -3.041760e-01 -1.901579e-06 -2.078437e-07
+ 1.431184e-02  1.794270e-02 -2.387190e-01 -3.040554e-01 -7.758596e-07 -9.356931e-08
+ 1.431184e-02  1.805449e-02 -2.387556e-01 -3.039280e-01  1.654919e-06  5.445690e-09
+ 1.431184e-02  1.816559e-02 -2.387950e-01 -3.037961e-01 -1.225340e-06 -1.522239e-08
+ 1.431184e-02  1.827602e-02 -2.388253e-01 -3.036608e-01  2.444410e-06  5.561601e-08
+ 1.431184e-02  1.838578e-02 -2.388600e-01 -3.035226e-01 -7.156305e-08 -4.955915e-08
+ 1.431184e-02  1.849489e-02 -2.388903e-01 -3.033825e-01 -4.679799e-07  1.795326e-06
+ 1.431184e-02  1.860336e-02 -2.389174e-01 -3.032392e-01  1.930120e-07 -2.428842e-08
+ 1.431184e-02  1.871120e-02 -2.389410e-01 -3.030937e-01 -5.384320e-08  5.292416e-08
+ 1.431184e-02  1.881842e-02 -2.389606e-01 -3.029460e-01 -2.989494e-08 -3.947936e-09
+ 1.431184e-02  1.892503e-02 -2.389761e-01 -3.027950e-01  2.304081e-07 -4.341793e-06
+ 1.431184e-02  1.903105e-02 -2.389876e-01 -3.026448e-01  1.206730e-08  2.797798e-09
+ 1.431184e-02  1.913648e-02 -2.389947e-01 -3.024906e-01 -1.051906e-07 -3.246459e-08
+ 1.431184e-02  1.924133e-02 -2.389974e-01 -3.023350e-01 -4.223728e-07 -1.537864e-07
+ 1.431184e-02  1.934562e-02 -2.389974e-01 -3.021788e-01  1.064235e-07 -1.238727e-07
+ 1.431184e-02  1.944934e-02 -2.390060e-01 -3.020299e-01 -1.100870e-05 -6.260647e-06
+ 1.431184e-02  1.955252e-02 -2.389411e-01 -3.018083e-01  9.800753e-06  1.195192e-05
+ 1.431184e-02  1.965515e-02 -2.389347e-01 -3.016693e-01 -5.876994e-08 -5.110932e-07
+ 1.431184e-02  1.975725e-02 -2.389145e-01 -3.015051e-01 -7.005801e-08  2.204181e-08
+ 1.431184e-02  1.985883e-02 -2.388886e-01 -3.013394e-01 -1.303113e-06 -1.527250e-06
+ 1.431184e-02  1.995989e-02 -2.388535e-01 -3.011682e-01  1.653953e-06 -5.079701e-08
+ 1.431184e-02  2.006044e-02 -2.388072e-01 -3.009917e-01  5.960154e-06  4.109749e-06
+ 1.431184e-02  2.016048e-02 -2.387899e-01 -3.008388e-01  1.402104e-08  8.184747e-08
+ 1.431184e-02  2.026004e-02 -2.387439e-01 -3.006707e-01  6.361086e-06  5.253868e-06
+ 1.431184e-02  2.035910e-02 -2.385916e-01 -3.003944e-01 -1.221708e-04 -1.234058e-04
+ 1.431184e-02  2.045769e-02 -2.383909e-01 -3.001096e-01  1.211162e-06  8.950566e-07
+ 1.431184e-02  2.055580e-02 -2.382507e-01 -2.998769e-01  2.886006e-05  1.779908e-05
+ 1.431184e-02  2.065345e-02 -2.382281e-01 -2.997164e-01  1.198879e-05  5.796611e-06
+ 1.431184e-02  2.075064e-02 -2.382030e-01 -2.996529e-01  4.409470e-06 -7.315215e-06
+ 1.431184e-02  2.084738e-02 -2.379684e-01 -2.993408e-01  1.268204e-04  6.564539e-05
+ 1.431184e-02  2.094367e-02 -2.378023e-01 -2.991035e-01 -2.378023e-01 -2.991035e-01
+ 1.431184e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.113493e-02 -2.377348e-01 -2.987779e-01 -2.377348e-01 -2.987779e-01
+ 1.431184e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.322148e-02 -2.326568e-01 -2.945465e-01 -2.326568e-01 -2.945465e-01
+ 1.431184e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.431184e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  1.000000e-06 -2.338970e-01 -3.114217e-01  2.356567e-08 -4.027085e-09
+ 1.445146e-02  2.006944e-03 -2.338878e-01 -3.113496e-01  2.248203e-08 -1.974390e-09
+ 1.445146e-02  2.837833e-03 -2.338816e-01 -3.112779e-01  2.157870e-08 -1.327949e-10
+ 1.445146e-02  3.475396e-03 -2.338783e-01 -3.112066e-01  2.107128e-08 -2.025783e-10
+ 1.445146e-02  4.012887e-03 -2.338779e-01 -3.111356e-01  2.087673e-08 -1.228430e-10
+ 1.445146e-02  4.486426e-03 -2.338804e-01 -3.110649e-01  2.124405e-08  4.650095e-10
+ 1.445146e-02  4.914538e-03 -2.338858e-01 -3.109944e-01  2.173362e-08 -2.020683e-09
+ 1.445146e-02  5.308228e-03 -2.338941e-01 -3.109241e-01  2.280532e-08 -2.712730e-09
+ 1.445146e-02  5.674665e-03 -2.339052e-01 -3.108539e-01  2.377485e-08 -3.101374e-10
+ 1.445146e-02  6.018831e-03 -2.339192e-01 -3.107838e-01  2.423655e-08  1.090160e-10
+ 1.445146e-02  6.344350e-03 -2.339360e-01 -3.107137e-01  2.165774e-08  2.240497e-11
+ 1.445146e-02  6.653962e-03 -2.339555e-01 -3.106437e-01  1.892005e-08  1.809204e-09
+ 1.445146e-02  6.949792e-03 -2.339778e-01 -3.105736e-01  1.346499e-08  3.736590e-10
+ 1.445146e-02  7.233532e-03 -2.340029e-01 -3.105035e-01  5.854349e-09  9.328094e-11
+ 1.445146e-02  7.506553e-03 -2.340306e-01 -3.104332e-01 -1.528559e-10 -8.822410e-10
+ 1.445146e-02  7.769986e-03 -2.340609e-01 -3.103628e-01 -3.142714e-09  1.261930e-09
+ 1.445146e-02  8.024774e-03 -2.340939e-01 -3.102923e-01 -3.520877e-09  3.957398e-09
+ 1.445146e-02  8.271717e-03 -2.341294e-01 -3.102215e-01 -8.055335e-10  1.117718e-09
+ 1.445146e-02  8.511498e-03 -2.341674e-01 -3.101505e-01 -6.922289e-10  3.952696e-09
+ 1.445146e-02  8.744705e-03 -2.342079e-01 -3.100791e-01 -3.880528e-09  6.610409e-09
+ 1.445146e-02  8.971852e-03 -2.342509e-01 -3.100075e-01 -3.365656e-09  7.723092e-10
+ 1.445146e-02  9.193388e-03 -2.342962e-01 -3.099356e-01  2.541649e-09  4.402763e-09
+ 1.445146e-02  9.409709e-03 -2.343439e-01 -3.098632e-01  1.375512e-08  1.401687e-08
+ 1.445146e-02  9.621167e-03 -2.343939e-01 -3.097904e-01  2.374849e-08  1.012144e-08
+ 1.445146e-02  9.828076e-03 -2.344461e-01 -3.097173e-01  1.858886e-08  4.173136e-09
+ 1.445146e-02  1.003072e-02 -2.345005e-01 -3.096436e-01 -4.798025e-09  2.595359e-08
+ 1.445146e-02  1.022935e-02 -2.345571e-01 -3.095694e-01 -2.260837e-08  5.189446e-08
+ 1.445146e-02  1.042419e-02 -2.346157e-01 -3.094948e-01  1.339639e-09 -8.011915e-09
+ 1.445146e-02  1.061546e-02 -2.346763e-01 -3.094195e-01 -9.818573e-09  2.153583e-08
+ 1.445146e-02  1.080334e-02 -2.347390e-01 -3.093437e-01 -1.096561e-07  2.476652e-07
+ 1.445146e-02  1.098801e-02 -2.348034e-01 -3.092674e-01 -1.294740e-08  5.557223e-08
+ 1.445146e-02  1.116962e-02 -2.348701e-01 -3.091897e-01 -5.425207e-09  9.598063e-08
+ 1.445146e-02  1.134833e-02 -2.349381e-01 -3.091124e-01 -4.586655e-07  9.928136e-07
+ 1.445146e-02  1.152427e-02 -2.350068e-01 -3.090364e-01  9.751638e-07 -1.913048e-06
+ 1.445146e-02  1.169756e-02 -2.350784e-01 -3.089570e-01  1.810048e-06 -3.407975e-06
+ 1.445146e-02  1.186832e-02 -2.351529e-01 -3.088748e-01 -1.199087e-06  2.155044e-06
+ 1.445146e-02  1.203666e-02 -2.352271e-01 -3.087951e-01 -1.599423e-07  4.974995e-08
+ 1.445146e-02  1.220268e-02 -2.353032e-01 -3.087138e-01  4.602401e-07 -1.005862e-06
+ 1.445146e-02  1.236647e-02 -2.353825e-01 -3.086288e-01 -5.362024e-07  1.632209e-06
+ 1.445146e-02  1.252811e-02 -2.354604e-01 -3.085470e-01 -2.852668e-06  3.747786e-06
+ 1.445146e-02  1.268770e-02 -2.355388e-01 -3.084656e-01  1.507506e-06 -2.110121e-06
+ 1.445146e-02  1.284531e-02 -2.356205e-01 -3.083803e-01  1.924946e-07 -2.458732e-07
+ 1.445146e-02  1.300100e-02 -2.357029e-01 -3.082945e-01  1.440031e-07 -1.920963e-07
+ 1.445146e-02  1.315485e-02 -2.357861e-01 -3.082082e-01  2.068573e-08 -4.214810e-09
+ 1.445146e-02  1.330692e-02 -2.358704e-01 -3.081207e-01  2.631853e-08  8.411333e-09
+ 1.445146e-02  1.345728e-02 -2.359553e-01 -3.080324e-01  2.648915e-08 -1.840272e-08
+ 1.445146e-02  1.360597e-02 -2.360411e-01 -3.079430e-01 -5.929139e-09 -1.363228e-08
+ 1.445146e-02  1.375306e-02 -2.361274e-01 -3.078528e-01  3.011802e-08 -3.436068e-08
+ 1.445146e-02  1.389858e-02 -2.362143e-01 -3.077615e-01 -1.862270e-08 -2.604970e-08
+ 1.445146e-02  1.404260e-02 -2.363017e-01 -3.076691e-01  4.760403e-08 -2.886549e-08
+ 1.445146e-02  1.418516e-02 -2.363894e-01 -3.075757e-01 -4.092729e-08 -2.873783e-08
+ 1.445146e-02  1.432630e-02 -2.364773e-01 -3.074813e-01 -1.179620e-08 -2.436890e-08
+ 1.445146e-02  1.446606e-02 -2.365657e-01 -3.073858e-01 -1.555376e-07 -3.384161e-08
+ 1.445146e-02  1.460449e-02 -2.366530e-01 -3.072890e-01  4.021523e-08 -8.109286e-09
+ 1.445146e-02  1.474161e-02 -2.367406e-01 -3.071911e-01 -2.798459e-07 -4.661221e-08
+ 1.445146e-02  1.487748e-02 -2.368296e-01 -3.070923e-01 -5.725439e-07 -9.142423e-08
+ 1.445146e-02  1.501211e-02 -2.369164e-01 -3.069920e-01  1.319675e-07  1.070399e-08
+ 1.445146e-02  1.514554e-02 -2.370049e-01 -3.068907e-01 -2.567056e-06 -3.522885e-07
+ 1.445146e-02  1.527781e-02 -2.370898e-01 -3.067878e-01 -8.049099e-07 -1.145384e-07
+ 1.445146e-02  1.540894e-02 -2.371747e-01 -3.066836e-01  2.631884e-07  2.948869e-08
+ 1.445146e-02  1.553897e-02 -2.372586e-01 -3.065779e-01 -1.839079e-08 -1.027850e-08
+ 1.445146e-02  1.566792e-02 -2.373398e-01 -3.064700e-01 -1.242064e-07 -1.056437e-07
+ 1.445146e-02  1.579582e-02 -2.374069e-01 -3.063535e-01  9.220130e-06  5.160459e-06
+ 1.445146e-02  1.592268e-02 -2.375415e-01 -3.062745e-01  6.795198e-06  3.850187e-06
+ 1.445146e-02  1.604855e-02 -2.376129e-01 -3.061596e-01 -2.576208e-06 -1.519784e-06
+ 1.445146e-02  1.617343e-02 -2.376850e-01 -3.060446e-01  1.363461e-08  2.974608e-09
+ 1.445146e-02  1.629736e-02 -2.377597e-01 -3.059307e-01  6.733805e-08  1.459373e-08
+ 1.445146e-02  1.642036e-02 -2.378336e-01 -3.058164e-01  7.783979e-08  3.745407e-08
+ 1.445146e-02  1.654243e-02 -2.379057e-01 -3.057010e-01  1.980582e-08  1.024482e-09
+ 1.445146e-02  1.666362e-02 -2.379750e-01 -3.055827e-01  4.594115e-07  1.294053e-06
+ 1.445146e-02  1.678393e-02 -2.380427e-01 -3.054753e-01  3.353037e-07 -4.787159e-06
+ 1.445146e-02  1.690338e-02 -2.381052e-01 -3.053531e-01  3.290983e-08  1.079786e-08
+ 1.445146e-02  1.702200e-02 -2.381621e-01 -3.052358e-01  4.990131e-07 -6.539090e-07
+ 1.445146e-02  1.713979e-02 -2.382126e-01 -3.051177e-01 -1.820052e-07  4.035503e-08
+ 1.445146e-02  1.725678e-02 -2.382477e-01 -3.050034e-01 -2.709222e-07  1.355811e-07
+ 1.445146e-02  1.737298e-02 -2.382529e-01 -3.048944e-01  3.824010e-08  7.400674e-09
+ 1.445146e-02  1.748841e-02 -2.376182e-01 -3.048649e-01  6.074837e-04 -9.595390e-05
+ 1.445146e-02  1.760308e-02 -2.387249e-01 -3.043393e-01 -4.137885e-06 -2.382278e-08
+ 1.445146e-02  1.771701e-02 -2.386839e-01 -3.043313e-01  8.481602e-07 -2.818199e-07
+ 1.445146e-02  1.783022e-02 -2.387153e-01 -3.042215e-01 -2.517695e-07 -5.848784e-09
+ 1.445146e-02  1.794270e-02 -2.387464e-01 -3.041050e-01 -8.474086e-07 -3.215913e-08
+ 1.445146e-02  1.805449e-02 -2.387725e-01 -3.039796e-01 -1.339319e-06 -5.144245e-08
+ 1.445146e-02  1.816559e-02 -2.388070e-01 -3.038481e-01 -9.984770e-06  1.615170e-07
+ 1.445146e-02  1.827602e-02 -2.388277e-01 -3.037119e-01 -1.171528e-06 -1.721100e-08
+ 1.445146e-02  1.838578e-02 -2.388542e-01 -3.035723e-01  1.214432e-08 -1.221380e-10
+ 1.445146e-02  1.849489e-02 -2.388760e-01 -3.034289e-01  2.382498e-07 -2.109889e-06
+ 1.445146e-02  1.860336e-02 -2.388951e-01 -3.032851e-01 -6.100973e-08  6.047018e-08
+ 1.445146e-02  1.871120e-02 -2.389100e-01 -3.031371e-01 -1.811759e-08  3.490272e-09
+ 1.445146e-02  1.881842e-02 -2.389209e-01 -3.029869e-01  1.027002e-07 -1.242514e-08
+ 1.445146e-02  1.892503e-02 -2.389275e-01 -3.028340e-01  5.269663e-08 -4.515690e-08
+ 1.445146e-02  1.903105e-02 -2.389299e-01 -3.026804e-01 -2.952722e-08 -1.934272e-08
+ 1.445146e-02  1.913648e-02 -2.389280e-01 -3.025235e-01  9.033091e-08 -2.481053e-08
+ 1.445146e-02  1.924133e-02 -2.389229e-01 -3.023658e-01  2.836212e-07  1.135888e-07
+ 1.445146e-02  1.934562e-02 -2.389181e-01 -3.022095e-01 -1.562697e-06 -1.024975e-06
+ 1.445146e-02  1.944934e-02 -2.388424e-01 -3.020128e-01  1.121044e-04  6.889414e-05
+ 1.445146e-02  1.955252e-02 -2.388392e-01 -3.018862e-01  1.002831e-05  1.573882e-05
+ 1.445146e-02  1.965515e-02 -2.388155e-01 -3.016830e-01  7.710014e-08 -2.868481e-07
+ 1.445146e-02  1.975725e-02 -2.387817e-01 -3.015152e-01 -2.239030e-07 -1.234077e-08
+ 1.445146e-02  1.985883e-02 -2.387391e-01 -3.013425e-01 -1.477675e-06  5.978260e-07
+ 1.445146e-02  1.995989e-02 -2.386913e-01 -3.011690e-01 -1.044734e-07 -3.109871e-08
+ 1.445146e-02  2.006044e-02 -2.386543e-01 -3.010050e-01 -1.764195e-06  9.209917e-08
+ 1.445146e-02  2.016048e-02 -2.386030e-01 -3.008357e-01 -5.730812e-07 -3.774628e-07
+ 1.445146e-02  2.026004e-02 -2.385382e-01 -3.006585e-01  3.567480e-06  2.413309e-06
+ 1.445146e-02  2.035910e-02 -2.381977e-01 -3.002469e-01  9.344247e-05  8.116048e-05
+ 1.445146e-02  2.045769e-02 -2.380457e-01 -3.000301e-01  1.387011e-05  6.134162e-06
+ 1.445146e-02  2.055580e-02 -2.380657e-01 -2.999040e-01 -7.956516e-05 -3.379892e-05
+ 1.445146e-02  2.065345e-02 -2.376827e-01 -2.995389e-01  2.568151e-07 -1.451531e-05
+ 1.445146e-02  2.075064e-02 -2.378342e-01 -2.995465e-01 -4.655854e-06 -2.114114e-05
+ 1.445146e-02  2.084738e-02 -2.375682e-01 -2.992673e-01 -2.375682e-01 -2.992673e-01
+ 1.445146e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.278414e-02 -2.368700e-01 -2.938562e-01 -2.368700e-01 -2.938562e-01
+ 1.445146e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.445146e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  1.000000e-06 -2.344044e-01 -3.115898e-01  2.668832e-08 -1.522966e-09
+ 1.458974e-02  2.006944e-03 -2.343895e-01 -3.115177e-01  2.642567e-08 -3.993809e-09
+ 1.458974e-02  2.837833e-03 -2.343776e-01 -3.114460e-01  2.520227e-08 -3.272437e-09
+ 1.458974e-02  3.475396e-03 -2.343686e-01 -3.113746e-01  2.373990e-08 -1.653040e-09
+ 1.458974e-02  4.012887e-03 -2.343625e-01 -3.113035e-01  2.250050e-08  1.175486e-10
+ 1.458974e-02  4.486426e-03 -2.343594e-01 -3.112325e-01  2.153194e-08 -9.806790e-10
+ 1.458974e-02  4.914538e-03 -2.343591e-01 -3.111618e-01  2.139948e-08 -1.855731e-09
+ 1.458974e-02  5.308228e-03 -2.343617e-01 -3.110911e-01  2.208939e-08 -3.891349e-10
+ 1.458974e-02  5.674665e-03 -2.343672e-01 -3.110206e-01  2.364224e-08 -8.738943e-10
+ 1.458974e-02  6.018831e-03 -2.343756e-01 -3.109501e-01  2.482906e-08 -1.151342e-09
+ 1.458974e-02  6.344350e-03 -2.343867e-01 -3.108796e-01  2.660502e-08 -6.580114e-11
+ 1.458974e-02  6.653962e-03 -2.344006e-01 -3.108090e-01  2.676804e-08  5.947425e-10
+ 1.458974e-02  6.949792e-03 -2.344173e-01 -3.107384e-01  2.548698e-08  2.579408e-09
+ 1.458974e-02  7.233532e-03 -2.344367e-01 -3.106677e-01  2.118126e-08 -7.947867e-10
+ 1.458974e-02  7.506553e-03 -2.344588e-01 -3.105968e-01  1.066266e-08 -5.334869e-10
+ 1.458974e-02  7.769986e-03 -2.344835e-01 -3.105258e-01  6.190487e-09  9.745706e-10
+ 1.458974e-02  8.024774e-03 -2.345109e-01 -3.104545e-01  1.994039e-08  2.983533e-09
+ 1.458974e-02  8.271717e-03 -2.345408e-01 -3.103830e-01  1.897334e-08  9.000372e-09
+ 1.458974e-02  8.511498e-03 -2.345732e-01 -3.103112e-01  7.453928e-09  8.314374e-09
+ 1.458974e-02  8.744705e-03 -2.346081e-01 -3.102391e-01  2.962762e-09  1.660806e-09
+ 1.458974e-02  8.971852e-03 -2.346454e-01 -3.101666e-01  1.220353e-09  7.639239e-09
+ 1.458974e-02  9.193388e-03 -2.346852e-01 -3.100938e-01  5.082125e-10  1.122875e-08
+ 1.458974e-02  9.409709e-03 -2.347273e-01 -3.100206e-01  1.167924e-08  3.154132e-09
+ 1.458974e-02  9.621167e-03 -2.347717e-01 -3.099469e-01  3.341468e-08  1.867815e-08
+ 1.458974e-02  9.828076e-03 -2.348183e-01 -3.098728e-01  5.147925e-08  4.115232e-08
+ 1.458974e-02  1.003072e-02 -2.348671e-01 -3.097982e-01  4.673038e-08  5.987520e-09
+ 1.458974e-02  1.022935e-02 -2.349181e-01 -3.097231e-01  7.559693e-09  3.806516e-09
+ 1.458974e-02  1.042419e-02 -2.349712e-01 -3.096474e-01 -2.949127e-08  8.275857e-08
+ 1.458974e-02  1.061546e-02 -2.350262e-01 -3.095712e-01 -1.299980e-08  2.350120e-08
+ 1.458974e-02  1.080334e-02 -2.350833e-01 -3.094942e-01 -5.885494e-09  4.829881e-09
+ 1.458974e-02  1.098801e-02 -2.351422e-01 -3.094168e-01 -6.358877e-08  1.461026e-07
+ 1.458974e-02  1.116962e-02 -2.352030e-01 -3.093385e-01 -1.045191e-07  2.108264e-07
+ 1.458974e-02  1.134833e-02 -2.352659e-01 -3.092591e-01 -4.328274e-07  9.374619e-07
+ 1.458974e-02  1.152427e-02 -2.353295e-01 -3.091808e-01  8.608350e-07 -1.676989e-06
+ 1.458974e-02  1.169756e-02 -2.353943e-01 -3.091027e-01  7.476742e-08 -9.170746e-08
+ 1.458974e-02  1.186832e-02 -2.354627e-01 -3.090201e-01  1.718432e-06 -3.149935e-06
+ 1.458974e-02  1.203666e-02 -2.355327e-01 -3.089366e-01 -7.522649e-07  1.310838e-06
+ 1.458974e-02  1.220268e-02 -2.356022e-01 -3.088556e-01  5.939367e-07 -9.495867e-07
+ 1.458974e-02  1.236647e-02 -2.356750e-01 -3.087707e-01 -1.781504e-06  2.837881e-06
+ 1.458974e-02  1.252811e-02 -2.357495e-01 -3.086843e-01 -5.183883e-08  6.291092e-08
+ 1.458974e-02  1.268770e-02 -2.358222e-01 -3.086018e-01 -8.506366e-07  1.383662e-06
+ 1.458974e-02  1.284531e-02 -2.358968e-01 -3.085171e-01  3.821143e-07 -5.145057e-07
+ 1.458974e-02  1.300100e-02 -2.359740e-01 -3.084293e-01  6.335376e-08 -9.751382e-08
+ 1.458974e-02  1.315485e-02 -2.360515e-01 -3.083417e-01  2.332023e-07 -3.242574e-07
+ 1.458974e-02  1.330692e-02 -2.361300e-01 -3.082528e-01  9.019478e-08 -9.679429e-08
+ 1.458974e-02  1.345728e-02 -2.362093e-01 -3.081631e-01  1.923782e-08 -1.133769e-07
+ 1.458974e-02  1.360597e-02 -2.362891e-01 -3.080724e-01  2.994798e-08 -2.594279e-08
+ 1.458974e-02  1.375306e-02 -2.363698e-01 -3.079806e-01  5.731429e-08 -1.091266e-08
+ 1.458974e-02  1.389858e-02 -2.364508e-01 -3.078878e-01  8.538069e-09 -3.934497e-11
+ 1.458974e-02  1.404260e-02 -2.365324e-01 -3.077940e-01 -1.354061e-08  1.337495e-10
+ 1.458974e-02  1.418516e-02 -2.366142e-01 -3.076991e-01  2.348429e-09 -1.512093e-09
+ 1.458974e-02  1.432630e-02 -2.366967e-01 -3.076031e-01  8.472942e-08  1.242412e-08
+ 1.458974e-02  1.446606e-02 -2.367777e-01 -3.075058e-01  9.045766e-07  1.178391e-07
+ 1.458974e-02  1.460449e-02 -2.368599e-01 -3.074075e-01 -2.203765e-07 -3.691058e-08
+ 1.458974e-02  1.474161e-02 -2.369430e-01 -3.073082e-01 -6.248942e-07 -9.304448e-08
+ 1.458974e-02  1.487748e-02 -2.370241e-01 -3.072074e-01  1.039545e-07  1.154761e-08
+ 1.458974e-02  1.501211e-02 -2.371070e-01 -3.071057e-01 -2.602634e-06 -3.662737e-07
+ 1.458974e-02  1.514554e-02 -2.371865e-01 -3.070023e-01 -6.810188e-07 -9.686169e-08
+ 1.458974e-02  1.527781e-02 -2.372656e-01 -3.068975e-01  5.653461e-07  7.324340e-08
+ 1.458974e-02  1.540894e-02 -2.373440e-01 -3.067910e-01 -8.342573e-08 -4.487183e-08
+ 1.458974e-02  1.553897e-02 -2.374200e-01 -3.066826e-01 -1.840795e-06 -1.044565e-06
+ 1.458974e-02  1.566792e-02 -2.374678e-01 -3.065577e-01  1.947234e-05  1.074398e-05
+ 1.458974e-02  1.579582e-02 -2.376303e-01 -3.064957e-01 -2.273210e-05 -1.258862e-05
+ 1.458974e-02  1.592268e-02 -2.376759e-01 -3.063684e-01  2.621685e-06  1.467044e-06
+ 1.458974e-02  1.604855e-02 -2.377472e-01 -3.062548e-01  1.944091e-07  6.391932e-08
+ 1.458974e-02  1.617343e-02 -2.378183e-01 -3.061407e-01  9.602768e-08  1.921691e-08
+ 1.458974e-02  1.629736e-02 -2.378887e-01 -3.060257e-01  3.078461e-08 -2.627886e-10
+ 1.458974e-02  1.642036e-02 -2.379575e-01 -3.059097e-01 -1.153469e-08  2.950944e-09
+ 1.458974e-02  1.654243e-02 -2.380245e-01 -3.057924e-01 -3.426537e-08  4.674252e-09
+ 1.458974e-02  1.666362e-02 -2.380891e-01 -3.056731e-01  4.981543e-08  7.039986e-08
+ 1.458974e-02  1.678393e-02 -2.381524e-01 -3.055629e-01  1.485262e-06  1.941841e-05
+ 1.458974e-02  1.690338e-02 -2.382104e-01 -3.054385e-01  3.122734e-08  2.565146e-08
+ 1.458974e-02  1.702200e-02 -2.382652e-01 -3.053177e-01  4.914678e-08  8.321331e-09
+ 1.458974e-02  1.713979e-02 -2.383158e-01 -3.051961e-01 -5.744166e-07  7.778687e-07
+ 1.458974e-02  1.725678e-02 -2.383577e-01 -3.050775e-01  2.518172e-07  8.812728e-08
+ 1.458974e-02  1.737298e-02 -2.383878e-01 -3.049617e-01 -5.005714e-07  3.372376e-07
+ 1.458974e-02  1.748841e-02 -2.383920e-01 -3.048529e-01 -3.366661e-06  1.731643e-06
+ 1.458974e-02  1.760308e-02 -2.377709e-01 -3.048681e-01  5.604818e-04 -9.962464e-05
+ 1.458974e-02  1.771701e-02 -2.387099e-01 -3.043674e-01 -1.611838e-05  2.914917e-05
+ 1.458974e-02  1.783022e-02 -2.387357e-01 -3.042603e-01  5.009920e-06  8.940054e-08
+ 1.458974e-02  1.794270e-02 -2.387635e-01 -3.041484e-01  1.195073e-06 -1.622691e-07
+ 1.458974e-02  1.805449e-02 -2.387821e-01 -3.040258e-01  1.100719e-07 -2.817760e-07
+ 1.458974e-02  1.816559e-02 -2.388095e-01 -3.038952e-01 -5.823445e-06 -8.115222e-08
+ 1.458974e-02  1.827602e-02 -2.388247e-01 -3.037584e-01  6.704896e-07  3.521175e-09
+ 1.458974e-02  1.838578e-02 -2.388407e-01 -3.036176e-01  1.187002e-06 -6.281475e-08
+ 1.458974e-02  1.849489e-02 -2.388544e-01 -3.034715e-01  6.572685e-07  1.346149e-06
+ 1.458974e-02  1.860336e-02 -2.388660e-01 -3.033267e-01  1.937173e-08  1.381670e-07
+ 1.458974e-02  1.871120e-02 -2.388722e-01 -3.031762e-01  2.290659e-07  1.635966e-08
+ 1.458974e-02  1.881842e-02 -2.388744e-01 -3.030235e-01 -8.514270e-09  1.214090e-07
+ 1.458974e-02  1.892503e-02 -2.388720e-01 -3.028681e-01 -1.367061e-08 -6.362228e-09
+ 1.458974e-02  1.903105e-02 -2.388656e-01 -3.027118e-01  1.076540e-07  5.057092e-08
+ 1.458974e-02  1.913648e-02 -2.388552e-01 -3.025524e-01 -7.630135e-08 -1.783079e-07
+ 1.458974e-02  1.924133e-02 -2.388424e-01 -3.023930e-01  1.711396e-06  9.863012e-07
+ 1.458974e-02  1.934562e-02 -2.387442e-01 -3.021796e-01  1.137738e-06  6.468372e-07
+ 1.458974e-02  1.944934e-02 -2.387402e-01 -3.020241e-01  6.556836e-06  7.199655e-06
+ 1.458974e-02  1.955252e-02 -2.387250e-01 -3.018807e-01  4.297121e-07  3.037197e-06
+ 1.458974e-02  1.965515e-02 -2.386842e-01 -3.016886e-01  1.834801e-07 -2.021744e-06
+ 1.458974e-02  1.975725e-02 -2.386371e-01 -3.015189e-01 -3.947801e-07 -1.025512e-07
+ 1.458974e-02  1.985883e-02 -2.385798e-01 -3.013423e-01  3.001514e-07  2.956060e-07
+ 1.458974e-02  1.995989e-02 -2.385411e-01 -3.011793e-01 -3.353773e-06 -3.127505e-06
+ 1.458974e-02  2.006044e-02 -2.384707e-01 -3.009997e-01  6.367927e-07 -3.107717e-07
+ 1.458974e-02  2.016048e-02 -2.384190e-01 -3.008374e-01 -5.716856e-06 -4.197789e-06
+ 1.458974e-02  2.026004e-02 -2.382302e-01 -3.005583e-01 -6.009421e-07  5.575595e-06
+ 1.458974e-02  2.035910e-02 -2.378745e-01 -3.001671e-01  6.094683e-05  2.776862e-05
+ 1.458974e-02  2.045769e-02 -2.379525e-01 -3.000971e-01  4.278402e-06 -9.582192e-07
+ 1.458974e-02  2.055580e-02 -2.376186e-01 -2.997753e-01 -2.376186e-01 -2.997753e-01
+ 1.458974e-02  2.065345e-02 -2.365172e-01 -2.991192e-01 -2.235528e-04  4.987937e-04
+ 1.458974e-02  2.075064e-02 -2.372992e-01 -2.994248e-01 -2.372992e-01 -2.994248e-01
+ 1.458974e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.269566e-02 -2.352925e-01 -2.941162e-01  5.432633e-06  6.881241e-07
+ 1.458974e-02  2.278414e-02 -2.353019e-01 -2.941192e-01 -9.306241e-06 -2.072282e-06
+ 1.458974e-02  2.287228e-02 -2.352755e-01 -2.941237e-01 -2.352755e-01 -2.941237e-01
+ 1.458974e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.458974e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  1.000000e-06 -2.349065e-01 -3.117552e-01  2.798481e-08 -3.103778e-09
+ 1.472673e-02  2.006944e-03 -2.348860e-01 -3.116831e-01  2.938258e-08 -6.355431e-10
+ 1.472673e-02  2.837833e-03 -2.348685e-01 -3.116113e-01  2.816261e-08 -3.312287e-10
+ 1.472673e-02  3.475396e-03 -2.348538e-01 -3.115398e-01  2.565854e-08  2.281669e-09
+ 1.472673e-02  4.012887e-03 -2.348421e-01 -3.114685e-01  2.209776e-08 -6.153465e-09
+ 1.472673e-02  4.486426e-03 -2.348333e-01 -3.113974e-01  1.965026e-08 -4.027437e-09
+ 1.472673e-02  4.914538e-03 -2.348274e-01 -3.113263e-01  1.831326e-08  2.086265e-09
+ 1.472673e-02  5.308228e-03 -2.348244e-01 -3.112554e-01  1.697336e-08 -6.772112e-09
+ 1.472673e-02  5.674665e-03 -2.348242e-01 -3.111845e-01  1.753960e-08 -1.018684e-08
+ 1.472673e-02  6.018831e-03 -2.348269e-01 -3.111135e-01  1.872032e-08 -5.281723e-09
+ 1.472673e-02  6.344350e-03 -2.348325e-01 -3.110426e-01  1.931678e-08 -1.493651e-09
+ 1.472673e-02  6.653962e-03 -2.348408e-01 -3.109715e-01  2.136043e-08  1.001166e-10
+ 1.472673e-02  6.949792e-03 -2.348518e-01 -3.109004e-01  2.358476e-08 -7.134807e-10
+ 1.472673e-02  7.233532e-03 -2.348656e-01 -3.108291e-01  2.770985e-08  4.203677e-09
+ 1.472673e-02  7.506553e-03 -2.348821e-01 -3.107576e-01  3.183939e-08  5.276889e-09
+ 1.472673e-02  7.769986e-03 -2.349013e-01 -3.106859e-01  2.750724e-08  1.958304e-09
+ 1.472673e-02  8.024774e-03 -2.349230e-01 -3.106139e-01  2.399630e-08  7.254659e-09
+ 1.472673e-02  8.271717e-03 -2.349474e-01 -3.105417e-01  1.887019e-08  2.803361e-09
+ 1.472673e-02  8.511498e-03 -2.349743e-01 -3.104691e-01  7.054909e-09 -1.251481e-09
+ 1.472673e-02  8.744705e-03 -2.350036e-01 -3.103962e-01 -6.254259e-09  1.290040e-09
+ 1.472673e-02  8.971852e-03 -2.350354e-01 -3.103230e-01 -2.448508e-09 -7.652810e-09
+ 1.472673e-02  9.193388e-03 -2.350696e-01 -3.102493e-01 -4.207688e-09 -5.653535e-09
+ 1.472673e-02  9.409709e-03 -2.351061e-01 -3.101752e-01 -3.445380e-09  1.521043e-08
+ 1.472673e-02  9.621167e-03 -2.351450e-01 -3.101006e-01 -1.731905e-09  4.782568e-09
+ 1.472673e-02  9.828076e-03 -2.351861e-01 -3.100255e-01 -3.592212e-09 -1.630231e-09
+ 1.472673e-02  1.003072e-02 -2.352293e-01 -3.099500e-01 -1.458201e-08  2.933785e-08
+ 1.472673e-02  1.022935e-02 -2.352747e-01 -3.098738e-01 -8.696305e-10  1.874329e-08
+ 1.472673e-02  1.042419e-02 -2.353222e-01 -3.097971e-01  2.146269e-08  3.212900e-09
+ 1.472673e-02  1.061546e-02 -2.353717e-01 -3.097198e-01  2.714740e-08  4.848322e-08
+ 1.472673e-02  1.080334e-02 -2.354231e-01 -3.096419e-01 -5.382882e-09  7.191310e-08
+ 1.472673e-02  1.098801e-02 -2.354765e-01 -3.095632e-01 -4.617536e-08  1.260952e-07
+ 1.472673e-02  1.116962e-02 -2.355317e-01 -3.094841e-01  1.620499e-09 -4.168469e-08
+ 1.472673e-02  1.134833e-02 -2.355888e-01 -3.094038e-01 -4.838009e-08  9.298579e-08
+ 1.472673e-02  1.152427e-02 -2.356477e-01 -3.093228e-01 -9.902962e-07  2.024225e-06
+ 1.472673e-02  1.169756e-02 -2.357070e-01 -3.092435e-01  1.796664e-06 -3.520509e-06
+ 1.472673e-02  1.186832e-02 -2.357682e-01 -3.091625e-01  6.163589e-07 -1.134618e-06
+ 1.472673e-02  1.203666e-02 -2.358330e-01 -3.090768e-01 -1.584547e-07  3.408247e-07
+ 1.472673e-02  1.220268e-02 -2.358981e-01 -3.089927e-01  1.187782e-07 -3.553168e-08
+ 1.472673e-02  1.236647e-02 -2.359635e-01 -3.089093e-01  1.466156e-06 -2.369186e-06
+ 1.472673e-02  1.252811e-02 -2.360329e-01 -3.088209e-01 -2.523817e-06  3.928544e-06
+ 1.472673e-02  1.268770e-02 -2.361018e-01 -3.087343e-01 -1.880163e-06  2.814518e-06
+ 1.472673e-02  1.284531e-02 -2.361696e-01 -3.086500e-01  1.525647e-06 -2.209513e-06
+ 1.472673e-02  1.300100e-02 -2.362405e-01 -3.085617e-01  3.637379e-08 -5.134724e-08
+ 1.472673e-02  1.315485e-02 -2.363128e-01 -3.084720e-01  5.295597e-09  2.021250e-08
+ 1.472673e-02  1.330692e-02 -2.363853e-01 -3.083820e-01  6.191629e-08 -3.702635e-08
+ 1.472673e-02  1.345728e-02 -2.364590e-01 -3.082907e-01  5.253580e-10 -1.412957e-08
+ 1.472673e-02  1.360597e-02 -2.365331e-01 -3.081986e-01  7.557730e-08 -6.993692e-08
+ 1.472673e-02  1.375306e-02 -2.366079e-01 -3.081054e-01 -2.670822e-08 -5.039711e-08
+ 1.472673e-02  1.389858e-02 -2.366833e-01 -3.080111e-01  4.748654e-08 -5.732751e-08
+ 1.472673e-02  1.404260e-02 -2.367590e-01 -3.079158e-01 -1.294276e-07 -5.366631e-08
+ 1.472673e-02  1.418516e-02 -2.368353e-01 -3.078194e-01  5.033880e-08 -3.838275e-08
+ 1.472673e-02  1.432630e-02 -2.369101e-01 -3.077217e-01  2.071248e-06  2.816337e-07
+ 1.472673e-02  1.446606e-02 -2.369868e-01 -3.076230e-01  1.827314e-07  1.303771e-08
+ 1.472673e-02  1.460449e-02 -2.370638e-01 -3.075232e-01 -5.223289e-07 -8.481570e-08
+ 1.472673e-02  1.474161e-02 -2.371392e-01 -3.074219e-01  2.963487e-07  3.392708e-08
+ 1.472673e-02  1.487748e-02 -2.372163e-01 -3.073197e-01 -2.592345e-06 -3.757994e-07
+ 1.472673e-02  1.501211e-02 -2.372901e-01 -3.072157e-01 -5.715519e-07 -9.518255e-08
+ 1.472673e-02  1.514554e-02 -2.373633e-01 -3.071102e-01  7.026567e-07  7.866855e-08
+ 1.472673e-02  1.527781e-02 -2.374355e-01 -3.070028e-01 -1.904346e-07 -1.002261e-07
+ 1.472673e-02  1.540894e-02 -2.374978e-01 -3.068893e-01  1.133785e-05  6.026762e-06
+ 1.472673e-02  1.553897e-02 -2.375843e-01 -3.067880e-01 -6.826942e-05 -3.689465e-05
+ 1.472673e-02  1.566792e-02 -2.376929e-01 -3.066979e-01 -8.712996e-06 -4.694402e-06
+ 1.472673e-02  1.579582e-02 -2.377481e-01 -3.065783e-01  2.329997e-07  1.061203e-07
+ 1.472673e-02  1.592268e-02 -2.378151e-01 -3.064644e-01  8.918421e-08  1.462693e-08
+ 1.472673e-02  1.604855e-02 -2.378822e-01 -3.063499e-01  2.623434e-08 -3.059962e-09
+ 1.472673e-02  1.617343e-02 -2.379484e-01 -3.062345e-01 -1.291817e-08 -1.130342e-09
+ 1.472673e-02  1.629736e-02 -2.380133e-01 -3.061178e-01  2.362162e-10 -5.177042e-09
+ 1.472673e-02  1.642036e-02 -2.380764e-01 -3.059999e-01 -3.509841e-09  3.659904e-09
+ 1.472673e-02  1.654243e-02 -2.381377e-01 -3.058807e-01 -1.407493e-08 -8.772361e-09
+ 1.472673e-02  1.666362e-02 -2.381967e-01 -3.057597e-01 -1.582047e-07 -4.367311e-07
+ 1.472673e-02  1.678393e-02 -2.382545e-01 -3.056429e-01  1.264980e-06  9.704856e-06
+ 1.472673e-02  1.690338e-02 -2.383075e-01 -3.055207e-01  7.558800e-08  1.569826e-08
+ 1.472673e-02  1.702200e-02 -2.383578e-01 -3.053971e-01 -5.332024e-08  5.077921e-09
+ 1.472673e-02  1.713979e-02 -2.384038e-01 -3.052744e-01  1.482279e-07 -3.000400e-07
+ 1.472673e-02  1.725678e-02 -2.384459e-01 -3.051504e-01  6.936595e-09 -4.867338e-09
+ 1.472673e-02  1.737298e-02 -2.384801e-01 -3.050296e-01  1.815018e-08 -5.092721e-08
+ 1.472673e-02  1.748841e-02 -2.385029e-01 -3.049124e-01  2.195494e-07  3.873732e-07
+ 1.472673e-02  1.760308e-02 -2.385059e-01 -3.048024e-01 -2.259916e-06  1.626293e-06
+ 1.472673e-02  1.771701e-02 -2.381474e-01 -3.048321e-01  1.864175e-04 -7.494547e-05
+ 1.472673e-02  1.783022e-02 -2.387392e-01 -3.043114e-01  1.215258e-05 -4.863194e-07
+ 1.472673e-02  1.794270e-02 -2.387693e-01 -3.041884e-01  1.127604e-06 -2.424075e-07
+ 1.472673e-02  1.805449e-02 -2.387848e-01 -3.040671e-01  1.421624e-06 -1.062563e-07
+ 1.472673e-02  1.816559e-02 -2.388027e-01 -3.039376e-01  2.622550e-06  5.195733e-08
+ 1.472673e-02  1.827602e-02 -2.388159e-01 -3.038003e-01  8.032204e-07  5.016876e-08
+ 1.472673e-02  1.838578e-02 -2.388201e-01 -3.036584e-01  2.647024e-06  8.216574e-08
+ 1.472673e-02  1.849489e-02 -2.388265e-01 -3.035101e-01  1.615914e-07  1.607466e-07
+ 1.472673e-02  1.860336e-02 -2.388302e-01 -3.033642e-01  5.502774e-07  3.575649e-07
+ 1.472673e-02  1.871120e-02 -2.388279e-01 -3.032111e-01 -2.473051e-08 -2.310219e-07
+ 1.472673e-02  1.881842e-02 -2.388212e-01 -3.030556e-01  6.126705e-08  6.610066e-08
+ 1.472673e-02  1.892503e-02 -2.388100e-01 -3.028978e-01  2.418241e-07  8.291849e-10
+ 1.472673e-02  1.903105e-02 -2.387955e-01 -3.027406e-01 -1.879806e-07 -3.198961e-07
+ 1.472673e-02  1.913648e-02 -2.387781e-01 -3.025788e-01 -9.323006e-08 -8.296974e-08
+ 1.472673e-02  1.924133e-02 -2.387805e-01 -3.024326e-01 -4.090428e-05 -2.632179e-05
+ 1.472673e-02  1.934562e-02 -2.386706e-01 -3.022141e-01  3.270430e-08  5.296062e-08
+ 1.472673e-02  1.944934e-02 -2.386013e-01 -3.020071e-01  3.110320e-05  3.621518e-05
+ 1.472673e-02  1.955252e-02 -2.385977e-01 -3.018862e-01  2.517004e-07  9.736672e-07
+ 1.472673e-02  1.965515e-02 -2.385413e-01 -3.016703e-01  6.351370e-08  8.857831e-08
+ 1.472673e-02  1.975725e-02 -2.384806e-01 -3.015154e-01 -2.894251e-07 -4.235485e-07
+ 1.472673e-02  1.985883e-02 -2.384002e-01 -3.013274e-01  1.214620e-05  8.493394e-06
+ 1.472673e-02  1.995989e-02 -2.383466e-01 -3.011599e-01 -1.410404e-06  3.659102e-07
+ 1.472673e-02  2.006044e-02 -2.382841e-01 -3.009914e-01 -7.403165e-06 -3.453046e-06
+ 1.472673e-02  2.016048e-02 -2.379262e-01 -3.005995e-01  6.559194e-05  2.623312e-05
+ 1.472673e-02  2.026004e-02 -2.375426e-01 -3.002295e-01 -5.583554e-04 -3.152001e-04
+ 1.472673e-02  2.035910e-02 -2.377331e-01 -3.002297e-01 -3.980918e-04 -6.213989e-04
+ 1.472673e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.373350e-01  2.996083e-01
+ 1.472673e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.373350e-01  2.996083e-01
+ 1.472673e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.373350e-01  2.996083e-01
+ 1.472673e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.373350e-01  2.996083e-01
+ 1.472673e-02  2.084738e-02 -2.361783e-01 -2.989856e-01  1.619694e-05  8.325830e-05
+ 1.472673e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.361945e-01  2.990689e-01
+ 1.472673e-02  2.251766e-02 -2.352911e-01 -2.941173e-01  3.847841e-06  5.716898e-07
+ 1.472673e-02  2.260684e-02 -2.352946e-01 -2.941175e-01 -1.919805e-06  1.134718e-07
+ 1.472673e-02  2.269566e-02 -2.352933e-01 -2.941175e-01 -7.224317e-07 -6.125715e-08
+ 1.472673e-02  2.278414e-02 -2.352855e-01 -2.941158e-01  2.201251e-06  7.935083e-07
+ 1.472673e-02  2.287228e-02 -2.352902e-01 -2.941171e-01  1.018728e-05  1.528665e-06
+ 1.472673e-02  2.296007e-02 -2.353019e-01 -2.941191e-01 -6.039389e-06 -8.589232e-07
+ 1.472673e-02  2.304754e-02 -2.354837e-01 -2.940861e-01 -2.354837e-01 -2.940861e-01
+ 1.472673e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.472673e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.486245e-02  1.000000e-06 -2.354035e-01 -3.119178e-01  2.925226e-08 -2.092469e-09
+ 1.486245e-02  2.006944e-03 -2.353774e-01 -3.118457e-01  3.237549e-08 -4.880246e-09
+ 1.486245e-02  2.837833e-03 -2.353542e-01 -3.117739e-01  3.095021e-08  7.167693e-10
+ 1.486245e-02  3.475396e-03 -2.353340e-01 -3.117023e-01  2.478248e-08 -1.390975e-08
+ 1.486245e-02  4.012887e-03 -2.353166e-01 -3.116308e-01  2.001490e-08 -5.011296e-09
+ 1.486245e-02  4.486426e-03 -2.353022e-01 -3.115594e-01  1.551750e-08  4.038210e-10
+ 1.486245e-02  4.914538e-03 -2.352907e-01 -3.114881e-01  1.106357e-08 -2.453537e-09
+ 1.486245e-02  5.308228e-03 -2.352820e-01 -3.114168e-01  8.543760e-09 -7.284727e-10
+ 1.486245e-02  5.674665e-03 -2.352763e-01 -3.113455e-01  5.303728e-09 -2.986839e-09
+ 1.486245e-02  6.018831e-03 -2.352733e-01 -3.112741e-01  3.302627e-09 -4.240453e-09
+ 1.486245e-02  6.344350e-03 -2.352733e-01 -3.112027e-01  4.388577e-09 -4.334904e-10
+ 1.486245e-02  6.653962e-03 -2.352760e-01 -3.111312e-01  6.302076e-09  9.355317e-11
+ 1.486245e-02  6.949792e-03 -2.352814e-01 -3.110594e-01  7.753713e-09  1.048142e-09
+ 1.486245e-02  7.233532e-03 -2.352897e-01 -3.109875e-01  8.795490e-09 -1.070233e-09
+ 1.486245e-02  7.506553e-03 -2.353006e-01 -3.109154e-01 -7.569954e-09 -6.149219e-09
+ 1.486245e-02  7.769986e-03 -2.353141e-01 -3.108431e-01  1.890978e-08  2.205019e-09
+ 1.486245e-02  8.024774e-03 -2.353303e-01 -3.107704e-01  2.310688e-08 -6.938813e-10
+ 1.486245e-02  8.271717e-03 -2.353491e-01 -3.106974e-01  2.875642e-08  2.168637e-09
+ 1.486245e-02  8.511498e-03 -2.353704e-01 -3.106241e-01  2.862628e-08  1.968081e-09
+ 1.486245e-02  8.744705e-03 -2.353943e-01 -3.105504e-01  3.493946e-08  1.250737e-09
+ 1.486245e-02  8.971852e-03 -2.354205e-01 -3.104763e-01  2.177990e-08  4.623757e-09
+ 1.486245e-02  9.193388e-03 -2.354492e-01 -3.104018e-01  1.144270e-08  4.192647e-09
+ 1.486245e-02  9.409709e-03 -2.354802e-01 -3.103268e-01 -3.519231e-09 -1.703110e-09
+ 1.486245e-02  9.621167e-03 -2.355135e-01 -3.102513e-01  8.827163e-09  1.774532e-08
+ 1.486245e-02  9.828076e-03 -2.355490e-01 -3.101753e-01 -1.545506e-08  1.334877e-08
+ 1.486245e-02  1.003072e-02 -2.355868e-01 -3.100987e-01  1.462057e-09  5.664644e-09
+ 1.486245e-02  1.022935e-02 -2.356266e-01 -3.100216e-01  2.947727e-09  1.264632e-08
+ 1.486245e-02  1.042419e-02 -2.356686e-01 -3.099439e-01 -2.326418e-08  2.566905e-08
+ 1.486245e-02  1.061546e-02 -2.357126e-01 -3.098655e-01 -2.197076e-08  4.407828e-08
+ 1.486245e-02  1.080334e-02 -2.357585e-01 -3.097866e-01  6.340971e-09 -5.616275e-09
+ 1.486245e-02  1.098801e-02 -2.358063e-01 -3.097068e-01  1.077103e-08  3.655304e-08
+ 1.486245e-02  1.116962e-02 -2.358560e-01 -3.096265e-01 -8.038283e-08  2.706184e-07
+ 1.486245e-02  1.134833e-02 -2.359074e-01 -3.095455e-01  5.458644e-09  4.450745e-08
+ 1.486245e-02  1.152427e-02 -2.359608e-01 -3.094630e-01 -3.705333e-08  8.998598e-08
+ 1.486245e-02  1.169756e-02 -2.360154e-01 -3.093808e-01 -5.123594e-07  1.008866e-06
+ 1.486245e-02  1.186832e-02 -2.360704e-01 -3.093000e-01  9.811901e-07 -1.869171e-06
+ 1.486245e-02  1.203666e-02 -2.361284e-01 -3.092153e-01  2.130663e-06 -3.869866e-06
+ 1.486245e-02  1.220268e-02 -2.361892e-01 -3.091277e-01 -1.359168e-06  2.339021e-06
+ 1.486245e-02  1.236647e-02 -2.362490e-01 -3.090430e-01 -9.744161e-08  2.512961e-08
+ 1.486245e-02  1.252811e-02 -2.363112e-01 -3.089558e-01  1.947245e-08  9.697950e-09
+ 1.486245e-02  1.268770e-02 -2.363762e-01 -3.088651e-01 -3.934502e-07  6.607888e-07
+ 1.486245e-02  1.284531e-02 -2.364392e-01 -3.087784e-01 -2.491535e-06  3.651605e-06
+ 1.486245e-02  1.300100e-02 -2.365029e-01 -3.086910e-01  1.120974e-06 -1.580448e-06
+ 1.486245e-02  1.315485e-02 -2.365697e-01 -3.085996e-01  1.990231e-07 -2.690828e-07
+ 1.486245e-02  1.330692e-02 -2.366367e-01 -3.085080e-01  2.545428e-07 -3.529336e-07
+ 1.486245e-02  1.345728e-02 -2.367045e-01 -3.084154e-01  4.898748e-08 -6.799940e-08
+ 1.486245e-02  1.360597e-02 -2.367731e-01 -3.083218e-01 -6.219058e-09 -5.933373e-08
+ 1.486245e-02  1.375306e-02 -2.368420e-01 -3.082271e-01  8.305357e-09 -6.695693e-09
+ 1.486245e-02  1.389858e-02 -2.369118e-01 -3.081314e-01 -3.575816e-07 -5.530904e-08
+ 1.486245e-02  1.404260e-02 -2.369814e-01 -3.080345e-01 -6.693396e-07 -1.014276e-07
+ 1.486245e-02  1.418516e-02 -2.370503e-01 -3.079363e-01  2.016642e-06  2.963280e-07
+ 1.486245e-02  1.432630e-02 -2.371215e-01 -3.078373e-01  8.292664e-07  1.282106e-07
+ 1.486245e-02  1.446606e-02 -2.371920e-01 -3.077369e-01 -1.682914e-07 -2.954426e-08
+ 1.486245e-02  1.460449e-02 -2.372618e-01 -3.076353e-01  7.185822e-07  9.907146e-08
+ 1.486245e-02  1.474161e-02 -2.373330e-01 -3.075325e-01 -2.357171e-06 -3.485945e-07
+ 1.486245e-02  1.487748e-02 -2.374007e-01 -3.074279e-01 -6.370915e-07 -9.624939e-08
+ 1.486245e-02  1.501211e-02 -2.374676e-01 -3.073215e-01  6.600289e-07  6.770299e-08
+ 1.486245e-02  1.514554e-02 -2.375334e-01 -3.072132e-01 -3.732634e-06 -1.962905e-06
+ 1.486245e-02  1.527781e-02 -2.375726e-01 -3.070902e-01  3.259637e-05  1.704440e-05
+ 1.486245e-02  1.540894e-02 -2.377261e-01 -3.070259e-01 -2.408344e-05 -1.247096e-05
+ 1.486245e-02  1.553897e-02 -2.377638e-01 -3.069004e-01  3.953388e-06  2.012847e-06
+ 1.486245e-02  1.566792e-02 -2.378266e-01 -3.067871e-01  1.690403e-07  6.363393e-08
+ 1.486245e-02  1.579582e-02 -2.378895e-01 -3.066731e-01  5.577943e-08  3.228651e-10
+ 1.486245e-02  1.592268e-02 -2.379522e-01 -3.065583e-01 -1.397783e-08 -1.335750e-08
+ 1.486245e-02  1.604855e-02 -2.380139e-01 -3.064424e-01  1.510778e-08  3.863053e-09
+ 1.486245e-02  1.617343e-02 -2.380744e-01 -3.063252e-01  2.028634e-09 -1.013564e-09
+ 1.486245e-02  1.629736e-02 -2.381334e-01 -3.062068e-01  5.652953e-09 -2.299420e-09
+ 1.486245e-02  1.642036e-02 -2.381905e-01 -3.060869e-01  3.396278e-09 -2.265064e-09
+ 1.486245e-02  1.654243e-02 -2.382457e-01 -3.059656e-01  6.682961e-08  7.642562e-09
+ 1.486245e-02  1.666362e-02 -2.382987e-01 -3.058424e-01  5.969684e-08 -2.014581e-08
+ 1.486245e-02  1.678393e-02 -2.383497e-01 -3.057164e-01 -3.204901e-06 -2.271986e-05
+ 1.486245e-02  1.690338e-02 -2.383981e-01 -3.056000e-01 -1.423503e-07  7.688301e-07
+ 1.486245e-02  1.702200e-02 -2.384429e-01 -3.054733e-01  1.553751e-08 -1.826402e-09
+ 1.486245e-02  1.713979e-02 -2.384844e-01 -3.053471e-01 -4.829285e-08  7.044771e-09
+ 1.486245e-02  1.725678e-02 -2.385226e-01 -3.052199e-01 -5.308786e-07  7.181364e-07
+ 1.486245e-02  1.737298e-02 -2.385547e-01 -3.050957e-01 -7.416131e-08  9.159977e-09
+ 1.486245e-02  1.748841e-02 -2.385803e-01 -3.049734e-01 -1.631180e-07  1.027894e-07
+ 1.486245e-02  1.760308e-02 -2.385952e-01 -3.048560e-01 -1.401968e-07  2.570326e-08
+ 1.486245e-02  1.771701e-02 -2.385989e-01 -3.047394e-01 -4.835408e-06  4.233118e-06
+ 1.486245e-02  1.783022e-02 -2.387472e-01 -3.043426e-01 -1.011557e-05  9.396211e-05
+ 1.486245e-02  1.794270e-02 -2.387658e-01 -3.042267e-01 -2.326076e-06 -3.039737e-06
+ 1.486245e-02  1.805449e-02 -2.387805e-01 -3.041049e-01 -1.182089e-06  1.886477e-08
+ 1.486245e-02  1.816559e-02 -2.387882e-01 -3.039760e-01 -5.830938e-07 -4.321970e-08
+ 1.486245e-02  1.827602e-02 -2.387994e-01 -3.038381e-01 -1.084555e-05 -2.459381e-06
+ 1.486245e-02  1.838578e-02 -2.387943e-01 -3.036952e-01 -1.692513e-06 -3.791683e-08
+ 1.486245e-02  1.849489e-02 -2.387910e-01 -3.035435e-01  5.822927e-07  6.891658e-07
+ 1.486245e-02  1.860336e-02 -2.387882e-01 -3.033976e-01  5.601039e-07  8.984653e-08
+ 1.486245e-02  1.871120e-02 -2.387774e-01 -3.032420e-01  3.361750e-08 -9.888430e-08
+ 1.486245e-02  1.881842e-02 -2.387615e-01 -3.030837e-01  3.768595e-07  5.318692e-08
+ 1.486245e-02  1.892503e-02 -2.387419e-01 -3.029235e-01 -9.665218e-08  2.017912e-07
+ 1.486245e-02  1.903105e-02 -2.387195e-01 -3.027631e-01  9.311496e-07  2.748498e-06
+ 1.486245e-02  1.913648e-02 -2.387043e-01 -3.026075e-01 -1.860584e-05 -1.215452e-05
+ 1.486245e-02  1.924133e-02 -2.386004e-01 -3.023942e-01  1.562073e-07  1.546097e-08
+ 1.486245e-02  1.934562e-02 -2.385632e-01 -3.022272e-01 -4.715091e-07 -6.332454e-07
+ 1.486245e-02  1.944934e-02 -2.385107e-01 -3.020520e-01  1.653806e-06  1.724910e-06
+ 1.486245e-02  1.955252e-02 -2.384586e-01 -3.018843e-01 -2.269899e-07  1.656215e-07
+ 1.486245e-02  1.965515e-02 -2.383911e-01 -3.017212e-01 -3.525216e-06 -2.284704e-05
+ 1.486245e-02  1.975725e-02 -2.383039e-01 -3.014970e-01  1.659791e-06  8.184434e-07
+ 1.486245e-02  1.985883e-02 -2.382398e-01 -3.013271e-01 -7.240431e-07  1.100945e-07
+ 1.486245e-02  1.995989e-02 -2.381261e-01 -3.011274e-01 -1.433106e-05 -1.898502e-05
+ 1.486245e-02  2.006044e-02 -2.380241e-01 -3.009452e-01  2.633222e-05  1.572550e-05
+ 1.486245e-02  2.016048e-02 -2.378018e-01 -3.006402e-01  4.563207e-05  2.966250e-05
+ 1.486245e-02  2.026004e-02 -2.379495e-01 -3.006414e-01  1.092007e-05  2.703191e-05
+ 1.486245e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.379604e-01  3.006684e-01
+ 1.486245e-02  2.206638e-02 -2.352886e-01 -2.941188e-01 -2.352886e-01 -2.941188e-01
+ 1.486245e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.486245e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.486245e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.486245e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.486245e-02  2.251766e-02 -2.352949e-01 -2.941184e-01 -2.352949e-01 -2.941184e-01
+ 1.486245e-02  2.260684e-02 -2.352942e-01 -2.941177e-01  6.077379e-08  1.039333e-08
+ 1.486245e-02  2.269566e-02 -2.352956e-01 -2.941179e-01 -5.594278e-06 -1.093037e-06
+ 1.486245e-02  2.278414e-02 -2.352932e-01 -2.941175e-01 -4.323679e-08 -2.532586e-08
+ 1.486245e-02  2.287228e-02 -2.352932e-01 -2.941174e-01 -5.582164e-07 -6.601115e-08
+ 1.486245e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.486245e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.352927e-01  2.941174e-01
+ 1.499695e-02  1.000000e-06 -2.358954e-01 -3.120776e-01  3.122359e-08 -2.436056e-07
+ 1.499695e-02  2.006944e-03 -2.358637e-01 -3.120056e-01  3.723032e-08  4.265199e-08
+ 1.499695e-02  2.837833e-03 -2.358349e-01 -3.119337e-01  2.199775e-08 -1.466145e-07
+ 1.499695e-02  3.475396e-03 -2.358090e-01 -3.118619e-01  2.174221e-08 -2.736254e-08
+ 1.499695e-02  4.012887e-03 -2.357861e-01 -3.117902e-01  1.494565e-08 -9.054487e-09
+ 1.499695e-02  4.486426e-03 -2.357660e-01 -3.117186e-01  9.263623e-09  1.194955e-09
+ 1.499695e-02  4.914538e-03 -2.357489e-01 -3.116470e-01  2.992562e-09 -2.764452e-09
+ 1.499695e-02  5.308228e-03 -2.357346e-01 -3.115754e-01 -7.187285e-09 -2.407400e-08
+ 1.499695e-02  5.674665e-03 -2.357233e-01 -3.115037e-01 -4.123503e-09 -6.932108e-09
+ 1.499695e-02  6.018831e-03 -2.357148e-01 -3.114319e-01 -4.899213e-09 -1.881763e-09
+ 1.499695e-02  6.344350e-03 -2.357091e-01 -3.113600e-01 -8.751704e-09 -5.663710e-09
+ 1.499695e-02  6.653962e-03 -2.357062e-01 -3.112879e-01 -3.433423e-09  2.730358e-09
+ 1.499695e-02  6.949792e-03 -2.357061e-01 -3.112156e-01  8.113979e-09  6.484378e-09
+ 1.499695e-02  7.233532e-03 -2.357088e-01 -3.111431e-01  7.391907e-09  2.588221e-09
+ 1.499695e-02  7.506553e-03 -2.357141e-01 -3.110704e-01 -9.832044e-09 -3.422856e-09
+ 1.499695e-02  7.769986e-03 -2.357222e-01 -3.109973e-01 -4.017398e-09 -2.450998e-09
+ 1.499695e-02  8.024774e-03 -2.357328e-01 -3.109240e-01 -1.348370e-09  9.018468e-10
+ 1.499695e-02  8.271717e-03 -2.357461e-01 -3.108503e-01  1.396939e-09  2.181501e-09
+ 1.499695e-02  8.511498e-03 -2.357619e-01 -3.107762e-01 -1.221720e-08 -3.914460e-09
+ 1.499695e-02  8.744705e-03 -2.357802e-01 -3.107017e-01  2.427406e-07  5.659735e-08
+ 1.499695e-02  8.971852e-03 -2.358008e-01 -3.106267e-01  1.043431e-07  2.137846e-08
+ 1.499695e-02  9.193388e-03 -2.358240e-01 -3.105513e-01  2.598975e-08  7.981710e-10
+ 1.499695e-02  9.409709e-03 -2.358495e-01 -3.104754e-01  2.803797e-08  4.944422e-09
+ 1.499695e-02  9.621167e-03 -2.358773e-01 -3.103990e-01  4.241275e-08  8.211814e-09
+ 1.499695e-02  9.828076e-03 -2.359074e-01 -3.103221e-01  1.885810e-08 -1.933424e-09
+ 1.499695e-02  1.003072e-02 -2.359396e-01 -3.102445e-01  8.468725e-09  1.243944e-08
+ 1.499695e-02  1.022935e-02 -2.359740e-01 -3.101664e-01 -1.327305e-08  2.538005e-08
+ 1.499695e-02  1.042419e-02 -2.360104e-01 -3.100877e-01 -2.937658e-09 -1.974816e-09
+ 1.499695e-02  1.061546e-02 -2.360489e-01 -3.100083e-01 -2.352673e-08  9.174443e-09
+ 1.499695e-02  1.080334e-02 -2.360893e-01 -3.099282e-01 -3.286999e-08  8.313834e-08
+ 1.499695e-02  1.098801e-02 -2.361316e-01 -3.098475e-01 -6.952935e-09  2.887662e-08
+ 1.499695e-02  1.116962e-02 -2.361758e-01 -3.097659e-01 -7.514283e-09  8.158847e-09
+ 1.499695e-02  1.134833e-02 -2.362217e-01 -3.096838e-01 -6.376456e-08  1.386852e-07
+ 1.499695e-02  1.152427e-02 -2.362694e-01 -3.096006e-01 -9.472778e-08  2.343074e-07
+ 1.499695e-02  1.169756e-02 -2.363190e-01 -3.095162e-01 -5.936958e-07  1.275844e-06
+ 1.499695e-02  1.186832e-02 -2.363690e-01 -3.094332e-01  1.340155e-06 -2.523696e-06
+ 1.499695e-02  1.203666e-02 -2.364201e-01 -3.093499e-01  2.339105e-08 -8.407763e-09
+ 1.499695e-02  1.220268e-02 -2.364750e-01 -3.092614e-01  1.307190e-06 -2.327392e-06
+ 1.499695e-02  1.236647e-02 -2.365308e-01 -3.091728e-01 -5.057251e-07  8.070658e-07
+ 1.499695e-02  1.252811e-02 -2.365860e-01 -3.090865e-01  1.103561e-06 -1.791422e-06
+ 1.499695e-02  1.268770e-02 -2.366450e-01 -3.089951e-01 -2.781984e-06  4.295928e-06
+ 1.499695e-02  1.284531e-02 -2.367046e-01 -3.089037e-01 -8.015458e-07  1.185074e-06
+ 1.499695e-02  1.300100e-02 -2.367620e-01 -3.088159e-01  6.790398e-07 -9.920531e-07
+ 1.499695e-02  1.315485e-02 -2.368221e-01 -3.087246e-01  4.682835e-08 -1.717213e-08
+ 1.499695e-02  1.330692e-02 -2.368840e-01 -3.086308e-01 -8.865813e-08  5.723593e-08
+ 1.499695e-02  1.345728e-02 -2.369459e-01 -3.085371e-01  1.184197e-07 -1.366872e-07
+ 1.499695e-02  1.360597e-02 -2.370088e-01 -3.084418e-01 -3.290011e-08 -6.669904e-08
+ 1.499695e-02  1.375306e-02 -2.370723e-01 -3.083458e-01  1.993167e-07 -9.392981e-08
+ 1.499695e-02  1.389858e-02 -2.371351e-01 -3.082484e-01  1.806038e-07 -2.966562e-08
+ 1.499695e-02  1.404260e-02 -2.371985e-01 -3.081499e-01  2.433083e-07 -3.116721e-08
+ 1.499695e-02  1.418516e-02 -2.372640e-01 -3.080505e-01  4.482315e-07  3.008777e-08
+ 1.499695e-02  1.432630e-02 -2.373277e-01 -3.079495e-01  2.052887e-07 -9.444169e-09
+ 1.499695e-02  1.446606e-02 -2.373920e-01 -3.078475e-01  9.254947e-07  1.173482e-07
+ 1.499695e-02  1.460449e-02 -2.374567e-01 -3.077440e-01 -1.694617e-06 -2.743483e-07
+ 1.499695e-02  1.474161e-02 -2.375179e-01 -3.076386e-01 -9.875681e-07 -2.196234e-07
+ 1.499695e-02  1.487748e-02 -2.375789e-01 -3.075317e-01 -2.081123e-06 -1.322720e-06
+ 1.499695e-02  1.501211e-02 -2.376165e-01 -3.074114e-01  4.860312e-06  2.466774e-06
+ 1.499695e-02  1.514554e-02 -2.377523e-01 -3.073402e-01 -2.267754e-05 -1.142325e-05
+ 1.499695e-02  1.527781e-02 -2.378000e-01 -3.072232e-01 -8.190366e-06 -4.064033e-06
+ 1.499695e-02  1.540894e-02 -2.378534e-01 -3.071083e-01  3.873941e-07  1.310977e-07
+ 1.499695e-02  1.553897e-02 -2.379120e-01 -3.069950e-01  3.652652e-08  7.781391e-09
+ 1.499695e-02  1.566792e-02 -2.379707e-01 -3.068810e-01  1.537731e-08 -1.265832e-08
+ 1.499695e-02  1.579582e-02 -2.380288e-01 -3.067659e-01  1.502938e-08 -4.419089e-09
+ 1.499695e-02  1.592268e-02 -2.380859e-01 -3.066495e-01  1.545810e-08  1.380198e-08
+ 1.499695e-02  1.604855e-02 -2.381418e-01 -3.065318e-01 -2.726707e-09 -9.557129e-09
+ 1.499695e-02  1.617343e-02 -2.381963e-01 -3.064128e-01  2.211971e-08 -5.849807e-09
+ 1.499695e-02  1.629736e-02 -2.382490e-01 -3.062923e-01  1.965071e-08 -3.721006e-08
+ 1.499695e-02  1.642036e-02 -2.383000e-01 -3.061704e-01  5.481013e-08  1.881966e-09
+ 1.499695e-02  1.654243e-02 -2.383490e-01 -3.060470e-01  4.559634e-08  6.418671e-10
+ 1.499695e-02  1.666362e-02 -2.383957e-01 -3.059216e-01  1.046966e-08 -4.993823e-09
+ 1.499695e-02  1.678393e-02 -2.384389e-01 -3.057867e-01 -4.903412e-06 -2.591905e-05
+ 1.499695e-02  1.690338e-02 -2.384830e-01 -3.056775e-01  2.383711e-07 -2.574138e-06
+ 1.499695e-02  1.702200e-02 -2.385217e-01 -3.055461e-01 -1.796717e-09  8.290073e-09
+ 1.499695e-02  1.713979e-02 -2.385575e-01 -3.054170e-01 -1.817292e-08 -1.864895e-09
+ 1.499695e-02  1.725678e-02 -2.385895e-01 -3.052889e-01  3.256464e-07 -7.382131e-07
+ 1.499695e-02  1.737298e-02 -2.386184e-01 -3.051593e-01 -5.982580e-08  3.108873e-08
+ 1.499695e-02  1.748841e-02 -2.386416e-01 -3.050330e-01 -1.654125e-07  4.344890e-07
+ 1.499695e-02  1.760308e-02 -2.386581e-01 -3.049101e-01 -1.237512e-07  2.650714e-07
+ 1.499695e-02  1.771701e-02 -2.386641e-01 -3.047940e-01 -1.944074e-06  2.433617e-06
+ 1.499695e-02  1.783022e-02 -2.386516e-01 -3.046854e-01  1.241497e-05 -1.688344e-05
+ 1.499695e-02  1.794270e-02 -2.387559e-01 -3.042657e-01  3.078993e-06 -2.922614e-07
+ 1.499695e-02  1.805449e-02 -2.387689e-01 -3.041401e-01  2.771368e-07 -5.608137e-07
+ 1.499695e-02  1.816559e-02 -2.387688e-01 -3.040113e-01 -4.498879e-07 -3.612113e-07
+ 1.499695e-02  1.827602e-02 -2.387743e-01 -3.038735e-01 -3.343141e-06  3.827854e-06
+ 1.499695e-02  1.838578e-02 -2.387646e-01 -3.037279e-01  2.233494e-06  4.131166e-08
+ 1.499695e-02  1.849489e-02 -2.387469e-01 -3.035710e-01  5.128315e-06  3.190031e-06
+ 1.499695e-02  1.860336e-02 -2.387406e-01 -3.034269e-01 -1.222043e-07 -4.103644e-08
+ 1.499695e-02  1.871120e-02 -2.387204e-01 -3.032686e-01  1.944563e-07 -3.079256e-08
+ 1.499695e-02  1.881842e-02 -2.386960e-01 -3.031077e-01  6.670217e-08  4.615280e-08
+ 1.499695e-02  1.892503e-02 -2.386686e-01 -3.029456e-01  3.951589e-08  3.255539e-08
+ 1.499695e-02  1.903105e-02 -2.386377e-01 -3.027813e-01  1.890172e-06  2.491703e-06
+ 1.499695e-02  1.913648e-02 -2.385322e-01 -3.025693e-01 -9.705562e-08 -6.591815e-08
+ 1.499695e-02  1.924133e-02 -2.384942e-01 -3.024040e-01  1.046272e-06  6.349207e-07
+ 1.499695e-02  1.934562e-02 -2.384385e-01 -3.022276e-01 -8.332720e-07 -5.885347e-07
+ 1.499695e-02  1.944934e-02 -2.384258e-01 -3.021044e-01 -3.491909e-05 -3.726825e-05
+ 1.499695e-02  1.955252e-02 -2.383095e-01 -3.018765e-01 -2.410091e-07 -8.235958e-08
+ 1.499695e-02  1.965515e-02 -2.382260e-01 -3.017029e-01  5.545703e-07 -9.108421e-06
+ 1.499695e-02  1.975725e-02 -2.381659e-01 -3.015072e-01 -5.670465e-05 -3.136382e-05
+ 1.499695e-02  1.985883e-02 -2.380288e-01 -3.012999e-01 -9.835835e-07 -4.893993e-07
+ 1.499695e-02  1.995989e-02 -2.379177e-01 -3.011099e-01 -6.372047e-06  3.984921e-06
+ 1.499695e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.379113e-01  3.011139e-01
+ 1.499695e-02  2.016048e-02 -2.375729e-01 -3.006299e-01 -2.375729e-01 -3.006299e-01
+ 1.499695e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.065345e-02 -2.362560e-01 -2.994057e-01 -2.362560e-01 -2.994057e-01
+ 1.499695e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.499695e-02  2.242813e-02 -2.352971e-01 -2.941182e-01 -1.342359e-06  2.651567e-08
+ 1.499695e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.352958e-01  2.941182e-01
+ 1.499695e-02  2.260684e-02 -2.352940e-01 -2.941176e-01  5.447578e-08  9.312568e-09
+ 1.499695e-02  2.269566e-02 -2.352942e-01 -2.941177e-01 -5.601473e-07 -1.134602e-07
+ 1.499695e-02  2.278414e-02 -2.352942e-01 -2.941177e-01 -1.756547e-08 -4.112333e-09
+ 1.499695e-02  2.287228e-02 -2.352942e-01 -2.941177e-01 -3.249414e-08 -9.934884e-09
+ 1.499695e-02  2.296007e-02 -2.352929e-01 -2.941174e-01 -5.415077e-07 -8.173695e-08
+ 1.499695e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.499695e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.352923e-01  2.941173e-01
+ 1.513025e-02  1.000000e-06 -2.363822e-01 -3.122344e-01  3.505978e-08 -4.464172e-08
+ 1.513025e-02  2.006944e-03 -2.363449e-01 -3.121624e-01  4.092323e-08  2.653700e-08
+ 1.513025e-02  2.837833e-03 -2.363105e-01 -3.120906e-01  1.957393e-08 -1.979599e-07
+ 1.513025e-02  3.475396e-03 -2.362791e-01 -3.120186e-01  4.659276e-08  2.487818e-07
+ 1.513025e-02  4.012887e-03 -2.362505e-01 -3.119466e-01 -1.042997e-09 -6.217781e-08
+ 1.513025e-02  4.486426e-03 -2.362248e-01 -3.118746e-01  5.662724e-08  2.947273e-07
+ 1.513025e-02  4.914538e-03 -2.362020e-01 -3.118028e-01  1.322476e-07  5.553565e-07
+ 1.513025e-02  5.308228e-03 -2.361822e-01 -3.117310e-01 -2.318722e-08 -6.197346e-08
+ 1.513025e-02  5.674665e-03 -2.361653e-01 -3.116590e-01 -4.595903e-08 -1.159917e-07
+ 1.513025e-02  6.018831e-03 -2.361512e-01 -3.115868e-01  1.016855e-08  2.999578e-08
+ 1.513025e-02  6.344350e-03 -2.361400e-01 -3.115144e-01 -3.086567e-08 -5.808257e-08
+ 1.513025e-02  6.653962e-03 -2.361315e-01 -3.114418e-01 -3.618094e-08 -6.235545e-08
+ 1.513025e-02  6.949792e-03 -2.361259e-01 -3.113689e-01 -4.172576e-09 -5.875667e-09
+ 1.513025e-02  7.233532e-03 -2.361230e-01 -3.112958e-01 -3.810240e-09 -2.324370e-09
+ 1.513025e-02  7.506553e-03 -2.361228e-01 -3.112224e-01 -5.254786e-09 -5.934886e-09
+ 1.513025e-02  7.769986e-03 -2.361253e-01 -3.111487e-01  3.188288e-09  6.273775e-09
+ 1.513025e-02  8.024774e-03 -2.361305e-01 -3.110746e-01 -2.985348e-09 -8.637510e-10
+ 1.513025e-02  8.271717e-03 -2.361382e-01 -3.110001e-01 -1.618781e-08 -1.377080e-08
+ 1.513025e-02  8.511498e-03 -2.361485e-01 -3.109253e-01 -1.669837e-08 -8.150660e-09
+ 1.513025e-02  8.744705e-03 -2.361613e-01 -3.108499e-01 -6.681714e-09 -2.806132e-09
+ 1.513025e-02  8.971852e-03 -2.361766e-01 -3.107742e-01 -4.615097e-09  2.024543e-09
+ 1.513025e-02  9.193388e-03 -2.361942e-01 -3.106979e-01 -7.542537e-09  8.236390e-09
+ 1.513025e-02  9.409709e-03 -2.362143e-01 -3.106211e-01 -5.791850e-09 -9.231130e-10
+ 1.513025e-02  9.621167e-03 -2.362367e-01 -3.105438e-01 -5.786960e-08 -8.130198e-09
+ 1.513025e-02  9.828076e-03 -2.362614e-01 -3.104659e-01  5.731837e-07  1.329729e-07
+ 1.513025e-02  1.003072e-02 -2.362875e-01 -3.103873e-01  2.920206e-07  6.510561e-08
+ 1.513025e-02  1.022935e-02 -2.363167e-01 -3.103082e-01  2.852054e-08  1.237122e-09
+ 1.513025e-02  1.042419e-02 -2.363477e-01 -3.102284e-01  3.547034e-08  3.320408e-08
+ 1.513025e-02  1.061546e-02 -2.363807e-01 -3.101480e-01  2.079451e-08  1.761948e-08
+ 1.513025e-02  1.080334e-02 -2.364157e-01 -3.100668e-01  1.362648e-08  7.801919e-10
+ 1.513025e-02  1.098801e-02 -2.364525e-01 -3.099850e-01 -2.598826e-08  3.009693e-08
+ 1.513025e-02  1.116962e-02 -2.364912e-01 -3.099024e-01 -6.209814e-08  7.329187e-08
+ 1.513025e-02  1.134833e-02 -2.365317e-01 -3.098189e-01 -8.750402e-08  1.837704e-07
+ 1.513025e-02  1.152427e-02 -2.365737e-01 -3.097350e-01  2.128212e-08 -5.613327e-08
+ 1.513025e-02  1.169756e-02 -2.366177e-01 -3.096495e-01 -1.156886e-08  2.210855e-08
+ 1.513025e-02  1.186832e-02 -2.366631e-01 -3.095636e-01 -1.103076e-06  2.145877e-06
+ 1.513025e-02  1.203666e-02 -2.367085e-01 -3.094795e-01  1.821507e-06 -3.428949e-06
+ 1.513025e-02  1.220268e-02 -2.367563e-01 -3.093925e-01  1.534828e-06 -2.743878e-06
+ 1.513025e-02  1.236647e-02 -2.368074e-01 -3.093010e-01 -1.114116e-06  1.993106e-06
+ 1.513025e-02  1.252811e-02 -2.368578e-01 -3.092123e-01 -1.665513e-08  5.815219e-08
+ 1.513025e-02  1.268770e-02 -2.369094e-01 -3.091224e-01  1.051751e-06 -1.690834e-06
+ 1.513025e-02  1.284531e-02 -2.369645e-01 -3.090278e-01 -1.362689e-06  2.048257e-06
+ 1.513025e-02  1.300100e-02 -2.370178e-01 -3.089367e-01 -3.022152e-06  4.316026e-06
+ 1.513025e-02  1.315485e-02 -2.370707e-01 -3.088461e-01  1.649694e-06 -2.275197e-06
+ 1.513025e-02  1.330692e-02 -2.371268e-01 -3.087510e-01  2.149725e-07 -3.013056e-07
+ 1.513025e-02  1.345728e-02 -2.371836e-01 -3.086554e-01 -8.314863e-08 -3.496468e-07
+ 1.513025e-02  1.360597e-02 -2.372402e-01 -3.085589e-01 -5.491259e-07 -1.327507e-07
+ 1.513025e-02  1.375306e-02 -2.372966e-01 -3.084609e-01  2.252187e-06  3.133736e-07
+ 1.513025e-02  1.389858e-02 -2.373549e-01 -3.083623e-01  1.353617e-07  1.652207e-08
+ 1.513025e-02  1.404260e-02 -2.374138e-01 -3.082623e-01 -5.847761e-07 -9.004343e-08
+ 1.513025e-02  1.418516e-02 -2.374710e-01 -3.081609e-01 -1.376552e-07 -2.434483e-08
+ 1.513025e-02  1.432630e-02 -2.375297e-01 -3.080582e-01 -2.327561e-07 -3.802454e-08
+ 1.513025e-02  1.446606e-02 -2.375871e-01 -3.079540e-01 -3.621809e-07 -7.344039e-08
+ 1.513025e-02  1.460449e-02 -2.376417e-01 -3.078478e-01 -4.015380e-06 -1.792745e-06
+ 1.513025e-02  1.474161e-02 -2.376750e-01 -3.077295e-01  5.479190e-06  2.555684e-06
+ 1.513025e-02  1.487748e-02 -2.377971e-01 -3.076537e-01 -2.589000e-06 -1.276513e-06
+ 1.513025e-02  1.501211e-02 -2.378504e-01 -3.075430e-01 -1.014687e-05 -4.942079e-06
+ 1.513025e-02  1.514554e-02 -2.378961e-01 -3.074275e-01  8.749397e-08  2.733412e-08
+ 1.513025e-02  1.527781e-02 -2.379503e-01 -3.073153e-01  2.434927e-07  6.090717e-08
+ 1.513025e-02  1.540894e-02 -2.380049e-01 -3.072022e-01  4.276446e-09  4.913236e-12
+ 1.513025e-02  1.553897e-02 -2.380591e-01 -3.070880e-01 -1.336210e-08 -1.951667e-08
+ 1.513025e-02  1.566792e-02 -2.381123e-01 -3.069725e-01 -6.167052e-08 -2.384608e-08
+ 1.513025e-02  1.579582e-02 -2.381647e-01 -3.068557e-01  1.282329e-08  5.759938e-09
+ 1.513025e-02  1.592268e-02 -2.382159e-01 -3.067375e-01  2.771503e-09  2.263667e-08
+ 1.513025e-02  1.604855e-02 -2.382656e-01 -3.066179e-01  5.846359e-08  1.192598e-08
+ 1.513025e-02  1.617343e-02 -2.383139e-01 -3.064969e-01  5.534511e-08 -3.580824e-09
+ 1.513025e-02  1.629736e-02 -2.383604e-01 -3.063744e-01  4.752166e-08  7.475809e-09
+ 1.513025e-02  1.642036e-02 -2.384050e-01 -3.062505e-01  1.163449e-08 -1.021089e-09
+ 1.513025e-02  1.654243e-02 -2.384476e-01 -3.061249e-01 -3.908571e-09 -3.736617e-09
+ 1.513025e-02  1.666362e-02 -2.384878e-01 -3.059973e-01 -2.555451e-08 -5.982096e-08
+ 1.513025e-02  1.678393e-02 -2.385234e-01 -3.058574e-01  3.232235e-06  1.227095e-05
+ 1.513025e-02  1.690338e-02 -2.385629e-01 -3.057545e-01  2.392231e-11 -2.648405e-07
+ 1.513025e-02  1.702200e-02 -2.385949e-01 -3.056153e-01 -2.776213e-08  2.104773e-08
+ 1.513025e-02  1.713979e-02 -2.386244e-01 -3.054834e-01 -1.985170e-08  1.394930e-08
+ 1.513025e-02  1.725678e-02 -2.386508e-01 -3.053517e-01 -6.313425e-09  2.813632e-08
+ 1.513025e-02  1.737298e-02 -2.386739e-01 -3.052194e-01 -1.240093e-07  2.205943e-07
+ 1.513025e-02  1.748841e-02 -2.386926e-01 -3.050896e-01  5.906767e-08  2.162999e-08
+ 1.513025e-02  1.760308e-02 -2.387066e-01 -3.049626e-01 -5.222573e-08  4.485543e-08
+ 1.513025e-02  1.771701e-02 -2.387137e-01 -3.048409e-01  7.199893e-08  9.623092e-08
+ 1.513025e-02  1.783022e-02 -2.387136e-01 -3.047212e-01 -2.083466e-06  3.078039e-06
+ 1.513025e-02  1.794270e-02 -2.387489e-01 -3.043363e-01  9.300871e-06 -9.949862e-06
+ 1.513025e-02  1.805449e-02 -2.387497e-01 -3.041728e-01  1.026221e-06 -5.133329e-08
+ 1.513025e-02  1.816559e-02 -2.387459e-01 -3.040430e-01  2.431164e-06  3.671575e-06
+ 1.513025e-02  1.827602e-02 -2.387409e-01 -3.039054e-01  4.522422e-06  3.497020e-06
+ 1.513025e-02  1.838578e-02 -2.387298e-01 -3.037567e-01 -4.286522e-06 -6.842409e-08
+ 1.513025e-02  1.849489e-02 -2.387001e-01 -3.035982e-01 -8.809046e-06 -1.202033e-05
+ 1.513025e-02  1.860336e-02 -2.386866e-01 -3.034521e-01 -4.174492e-08 -3.078379e-08
+ 1.513025e-02  1.871120e-02 -2.386575e-01 -3.032911e-01  1.658541e-07 -4.507079e-07
+ 1.513025e-02  1.881842e-02 -2.386254e-01 -3.031281e-01  1.059537e-07  5.378793e-08
+ 1.513025e-02  1.892503e-02 -2.385915e-01 -3.029654e-01  8.844286e-07  3.942416e-07
+ 1.513025e-02  1.903105e-02 -2.384606e-01 -3.027342e-01 -6.678630e-07 -4.073650e-07
+ 1.513025e-02  1.913648e-02 -2.384345e-01 -3.025814e-01  1.105220e-09 -6.588129e-08
+ 1.513025e-02  1.924133e-02 -2.383782e-01 -3.024075e-01  4.868912e-07  3.943753e-07
+ 1.513025e-02  1.934562e-02 -2.383027e-01 -3.022208e-01 -7.516106e-08 -1.653871e-07
+ 1.513025e-02  1.944934e-02 -2.382421e-01 -3.020549e-01 -1.309820e-07 -8.114044e-08
+ 1.513025e-02  1.955252e-02 -2.381482e-01 -3.018612e-01 -6.132800e-07 -3.181618e-07
+ 1.513025e-02  1.965515e-02 -2.380025e-01 -3.016436e-01  2.617942e-05  1.668039e-05
+ 1.513025e-02  1.975725e-02 -2.379227e-01 -3.014532e-01  3.603753e-06  3.732145e-06
+ 1.513025e-02  1.985883e-02 -2.378103e-01 -3.012688e-01 -1.441125e-06 -9.687097e-07
+ 1.513025e-02  1.995989e-02 -2.377202e-01 -3.011203e-01 -3.312111e-05 -1.965164e-05
+ 1.513025e-02  2.006044e-02 -2.366994e-01 -3.003480e-01  9.735178e-04  3.732020e-04
+ 1.513025e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.376730e-01  3.007212e-01
+ 1.513025e-02  2.026004e-02 -2.361318e-01 -2.999091e-01  1.250939e-03  6.007861e-04
+ 1.513025e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.373827e-01  3.005099e-01
+ 1.513025e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.373827e-01  3.005099e-01
+ 1.513025e-02  2.055580e-02 -2.362732e-01 -2.995123e-01 -9.335115e-06 -6.263100e-05
+ 1.513025e-02  2.065345e-02 -2.362477e-01 -2.993572e-01 -5.009250e-05 -2.788598e-04
+ 1.513025e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.361976e-01  2.990783e-01
+ 1.513025e-02  2.215737e-02 -2.360422e-01 -2.939880e-01 -2.360422e-01 -2.939880e-01
+ 1.513025e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.513025e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.513025e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.513025e-02  2.251766e-02 -2.352879e-01 -2.941161e-01 -2.352879e-01 -2.941161e-01
+ 1.513025e-02  2.260684e-02 -2.352925e-01 -2.941172e-01  2.610483e-06  7.673492e-07
+ 1.513025e-02  2.269566e-02 -2.352974e-01 -2.941183e-01 -7.208886e-06 -1.357480e-06
+ 1.513025e-02  2.278414e-02 -2.352942e-01 -2.941177e-01  1.580830e-07  4.153086e-08
+ 1.513025e-02  2.287228e-02 -2.352926e-01 -2.941173e-01  1.861934e-06  3.322878e-07
+ 1.513025e-02  2.296007e-02 -2.352950e-01 -2.941178e-01  3.013494e-07  4.850370e-08
+ 1.513025e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.513025e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.352953e-01  2.941179e-01
+ 1.526238e-02  1.000000e-06 -2.368639e-01 -3.123886e-01  4.086197e-08  4.841958e-08
+ 1.526238e-02  2.006944e-03 -2.368210e-01 -3.123164e-01  5.183091e-08  2.818995e-07
+ 1.526238e-02  2.837833e-03 -2.367811e-01 -3.122445e-01  1.340511e-08 -2.472961e-07
+ 1.526238e-02  3.475396e-03 -2.367441e-01 -3.121727e-01  1.943076e-08  8.134737e-08
+ 1.526238e-02  4.012887e-03 -2.367099e-01 -3.121008e-01 -7.048671e-08 -4.839741e-07
+ 1.526238e-02  4.486426e-03 -2.366787e-01 -3.120286e-01 -8.590933e-08 -4.278216e-07
+ 1.526238e-02  4.914538e-03 -2.366503e-01 -3.119562e-01  4.735820e-08  2.202987e-07
+ 1.526238e-02  5.308228e-03 -2.366249e-01 -3.118838e-01 -5.329481e-09 -1.410442e-08
+ 1.526238e-02  5.674665e-03 -2.366023e-01 -3.118113e-01  1.004052e-08  2.533464e-08
+ 1.526238e-02  6.018831e-03 -2.365827e-01 -3.117387e-01 -3.980611e-08 -9.317519e-08
+ 1.526238e-02  6.344350e-03 -2.365659e-01 -3.116659e-01 -1.657862e-08 -2.833875e-08
+ 1.526238e-02  6.653962e-03 -2.365519e-01 -3.115927e-01  8.389760e-08  1.432935e-07
+ 1.526238e-02  6.949792e-03 -2.365406e-01 -3.115191e-01 -1.743279e-08 -2.071655e-08
+ 1.526238e-02  7.233532e-03 -2.365322e-01 -3.114453e-01  3.008947e-08  4.641706e-08
+ 1.526238e-02  7.506553e-03 -2.365265e-01 -3.113713e-01  2.599782e-07  3.171586e-07
+ 1.526238e-02  7.769986e-03 -2.365235e-01 -3.112969e-01  2.159081e-07  2.380596e-07
+ 1.526238e-02  8.024774e-03 -2.365232e-01 -3.112222e-01 -3.384653e-08 -2.582047e-08
+ 1.526238e-02  8.271717e-03 -2.365255e-01 -3.111470e-01 -1.105962e-07 -8.916480e-08
+ 1.526238e-02  8.511498e-03 -2.365304e-01 -3.110714e-01 -2.135560e-08 -1.261045e-08
+ 1.526238e-02  8.744705e-03 -2.365377e-01 -3.109953e-01  1.437082e-08  1.676438e-08
+ 1.526238e-02  8.971852e-03 -2.365475e-01 -3.109186e-01 -3.712731e-08 -2.063034e-08
+ 1.526238e-02  9.193388e-03 -2.365597e-01 -3.108415e-01 -6.993638e-08 -4.493651e-08
+ 1.526238e-02  9.409709e-03 -2.365743e-01 -3.107638e-01 -4.750806e-08 -2.114807e-08
+ 1.526238e-02  9.621167e-03 -2.365912e-01 -3.106855e-01 -1.381874e-08 -2.306844e-10
+ 1.526238e-02  9.828076e-03 -2.366103e-01 -3.106066e-01 -7.150227e-10  9.644747e-10
+ 1.526238e-02  1.003072e-02 -2.366317e-01 -3.105271e-01 -1.247110e-08  6.140851e-09
+ 1.526238e-02  1.022935e-02 -2.366552e-01 -3.104470e-01 -1.766706e-08  9.486903e-09
+ 1.526238e-02  1.042419e-02 -2.366808e-01 -3.103662e-01 -1.044987e-08  6.156264e-09
+ 1.526238e-02  1.061546e-02 -2.367087e-01 -3.102848e-01 -1.604919e-08  6.504269e-09
+ 1.526238e-02  1.080334e-02 -2.367377e-01 -3.102025e-01 -1.304905e-08  3.055918e-08
+ 1.526238e-02  1.098801e-02 -2.367683e-01 -3.101194e-01  3.179641e-08  7.018388e-08
+ 1.526238e-02  1.116962e-02 -2.368020e-01 -3.100358e-01  1.358577e-08 -1.325692e-08
+ 1.526238e-02  1.134833e-02 -2.368371e-01 -3.099512e-01  1.144551e-08 -3.722810e-09
+ 1.526238e-02  1.152427e-02 -2.368738e-01 -3.098659e-01 -1.125508e-07  2.584290e-07
+ 1.526238e-02  1.169756e-02 -2.369121e-01 -3.097798e-01 -8.531293e-08  1.682211e-07
+ 1.526238e-02  1.186832e-02 -2.369523e-01 -3.096920e-01 -3.248334e-07  5.760272e-07
+ 1.526238e-02  1.203666e-02 -2.369929e-01 -3.096052e-01  4.855829e-07 -9.625570e-07
+ 1.526238e-02  1.220268e-02 -2.370341e-01 -3.095191e-01  1.814525e-07 -3.465942e-07
+ 1.526238e-02  1.236647e-02 -2.370790e-01 -3.094276e-01  2.144598e-06 -3.786008e-06
+ 1.526238e-02  1.252811e-02 -2.371254e-01 -3.093348e-01 -9.039759e-07  1.491261e-06
+ 1.526238e-02  1.268770e-02 -2.371705e-01 -3.092451e-01  7.554255e-07 -1.233122e-06
+ 1.526238e-02  1.284531e-02 -2.372192e-01 -3.091504e-01 -2.446969e-06  3.752494e-06
+ 1.526238e-02  1.300100e-02 -2.372689e-01 -3.090547e-01 -3.121959e-07  4.635894e-07
+ 1.526238e-02  1.315485e-02 -2.373161e-01 -3.089632e-01 -2.845830e-07 -7.859064e-08
+ 1.526238e-02  1.330692e-02 -2.373654e-01 -3.088683e-01  4.304419e-08 -1.215186e-07
+ 1.526238e-02  1.345728e-02 -2.374157e-01 -3.087703e-01  1.062986e-06  2.242416e-07
+ 1.526238e-02  1.360597e-02 -2.374663e-01 -3.086724e-01  1.086560e-07 -1.899167e-07
+ 1.526238e-02  1.375306e-02 -2.375191e-01 -3.085731e-01  5.814170e-07  1.237174e-08
+ 1.526238e-02  1.389858e-02 -2.375704e-01 -3.084726e-01  9.088406e-08 -1.277556e-07
+ 1.526238e-02  1.404260e-02 -2.376217e-01 -3.083706e-01  4.999438e-07  2.398973e-08
+ 1.526238e-02  1.418516e-02 -2.376738e-01 -3.082673e-01 -2.446264e-06 -5.217566e-07
+ 1.526238e-02  1.432630e-02 -2.377208e-01 -3.081608e-01  3.974684e-06  1.784829e-06
+ 1.526238e-02  1.446606e-02 -2.377500e-01 -3.080447e-01  2.988629e-05  1.436533e-05
+ 1.526238e-02  1.460449e-02 -2.378751e-01 -3.079729e-01 -2.909484e-05 -1.367792e-05
+ 1.526238e-02  1.474161e-02 -2.379119e-01 -3.078578e-01 -9.042251e-06 -4.223097e-06
+ 1.526238e-02  1.487748e-02 -2.379556e-01 -3.077449e-01  1.237375e-07  1.505069e-08
+ 1.526238e-02  1.501211e-02 -2.380055e-01 -3.076337e-01  5.808684e-08  4.885965e-09
+ 1.526238e-02  1.514554e-02 -2.380555e-01 -3.075216e-01  1.013779e-07  7.503818e-09
+ 1.526238e-02  1.527781e-02 -2.381053e-01 -3.074084e-01  1.793438e-10 -1.400746e-08
+ 1.526238e-02  1.540894e-02 -2.381546e-01 -3.072939e-01 -1.873476e-08 -1.239623e-08
+ 1.526238e-02  1.553897e-02 -2.382029e-01 -3.071780e-01  2.743764e-07  7.498153e-08
+ 1.526238e-02  1.566792e-02 -2.382505e-01 -3.070609e-01  3.458557e-08 -1.626791e-09
+ 1.526238e-02  1.579582e-02 -2.382969e-01 -3.069423e-01 -4.051560e-08 -3.930442e-08
+ 1.526238e-02  1.592268e-02 -2.383418e-01 -3.068222e-01  6.912026e-08  8.451682e-09
+ 1.526238e-02  1.604855e-02 -2.383854e-01 -3.067007e-01  3.092637e-08 -6.447006e-09
+ 1.526238e-02  1.617343e-02 -2.384273e-01 -3.065777e-01  5.605699e-08  1.595073e-08
+ 1.526238e-02  1.629736e-02 -2.384674e-01 -3.064531e-01  2.634518e-10 -7.567611e-09
+ 1.526238e-02  1.642036e-02 -2.385056e-01 -3.063270e-01 -8.423305e-09 -1.379454e-09
+ 1.526238e-02  1.654243e-02 -2.385416e-01 -3.061992e-01 -7.011467e-10 -4.377133e-09
+ 1.526238e-02  1.666362e-02 -2.385753e-01 -3.060694e-01 -6.212642e-09 -2.174117e-08
+ 1.526238e-02  1.678393e-02 -2.386042e-01 -3.059291e-01 -9.806771e-09  1.266425e-08
+ 1.526238e-02  1.690338e-02 -2.386386e-01 -3.058279e-01 -8.629070e-07 -1.119459e-05
+ 1.526238e-02  1.702200e-02 -2.386627e-01 -3.056811e-01 -3.019351e-08  4.684471e-09
+ 1.526238e-02  1.713979e-02 -2.386856e-01 -3.055462e-01  1.083792e-08  2.575030e-10
+ 1.526238e-02  1.725678e-02 -2.387056e-01 -3.054115e-01  3.720590e-08  6.142640e-09
+ 1.526238e-02  1.737298e-02 -2.387224e-01 -3.052766e-01  2.960976e-07 -1.608461e-06
+ 1.526238e-02  1.748841e-02 -2.387356e-01 -3.051430e-01  8.709004e-08 -3.744722e-09
+ 1.526238e-02  1.760308e-02 -2.387450e-01 -3.050122e-01 -4.317679e-08  1.386871e-08
+ 1.526238e-02  1.771701e-02 -2.387498e-01 -3.048853e-01  1.788798e-07  4.121860e-08
+ 1.526238e-02  1.783022e-02 -2.387494e-01 -3.047639e-01 -1.409447e-06  3.056210e-06
+ 1.526238e-02  1.794270e-02 -2.387264e-01 -3.046885e-01  6.290972e-06 -2.113935e-05
+ 1.526238e-02  1.805449e-02 -2.387251e-01 -3.042075e-01 -3.569300e-06 -2.881847e-06
+ 1.526238e-02  1.816559e-02 -2.387179e-01 -3.040705e-01 -2.108889e-06 -1.248522e-06
+ 1.526238e-02  1.827602e-02 -2.387019e-01 -3.039330e-01  2.009411e-06  6.244525e-06
+ 1.526238e-02  1.838578e-02 -2.386868e-01 -3.037815e-01 -1.159252e-05 -2.774312e-07
+ 1.526238e-02  1.849489e-02 -2.386616e-01 -3.036351e-01  1.085591e-06  4.014776e-07
+ 1.526238e-02  1.860336e-02 -2.386259e-01 -3.034734e-01  2.515541e-06  1.033890e-07
+ 1.526238e-02  1.871120e-02 -2.385898e-01 -3.033098e-01 -2.360996e-07 -8.165650e-09
+ 1.526238e-02  1.881842e-02 -2.385503e-01 -3.031457e-01  1.899312e-07 -1.477398e-07
+ 1.526238e-02  1.892503e-02 -2.385097e-01 -3.029820e-01  1.105185e-05  7.764797e-06
+ 1.526238e-02  1.903105e-02 -2.383777e-01 -3.027529e-01 -3.373393e-06 -5.914129e-06
+ 1.526238e-02  1.913648e-02 -2.383237e-01 -3.025844e-01  6.471975e-07 -4.891849e-07
+ 1.526238e-02  1.924133e-02 -2.382473e-01 -3.024004e-01 -8.845904e-07 -6.243687e-07
+ 1.526238e-02  1.934562e-02 -2.381139e-01 -3.021656e-01  3.192016e-05  3.091404e-05
+ 1.526238e-02  1.944934e-02 -2.380811e-01 -3.020346e-01 -1.542702e-06 -1.190116e-06
+ 1.526238e-02  1.955252e-02 -2.379491e-01 -3.018252e-01  1.827799e-06 -1.134137e-08
+ 1.526238e-02  1.965515e-02 -2.378402e-01 -3.016319e-01 -1.830932e-06 -4.710325e-07
+ 1.526238e-02  1.975725e-02 -2.376893e-01 -3.014155e-01  3.970342e-05  2.885073e-05
+ 1.526238e-02  1.985883e-02 -2.375354e-01 -3.012162e-01 -2.060169e-05 -1.472855e-05
+ 1.526238e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.375148e-01  3.012015e-01
+ 1.526238e-02  2.006044e-02 -2.362845e-01 -3.003619e-01  4.188432e-04  1.222268e-04
+ 1.526238e-02  2.016048e-02 -2.365983e-01 -3.001228e-01 -2.235134e-04 -5.285626e-05
+ 1.526238e-02  2.026004e-02 -2.363614e-01 -2.999870e-01 -2.363614e-01 -2.999870e-01
+ 1.526238e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.055580e-02 -2.362723e-01 -2.994972e-01 -2.362723e-01 -2.994972e-01
+ 1.526238e-02  2.065345e-02 -2.362555e-01 -2.994130e-01 -2.362555e-01 -2.994130e-01
+ 1.526238e-02  2.075064e-02 -2.361520e-01 -2.991568e-01 -2.361520e-01 -2.991568e-01
+ 1.526238e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.094367e-02 -2.361542e-01 -2.989701e-01 -2.361542e-01 -2.989701e-01
+ 1.526238e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.251766e-02 -2.352896e-01 -2.941169e-01 -2.352896e-01 -2.941169e-01
+ 1.526238e-02  2.260684e-02 -2.352926e-01 -2.941175e-01 -4.418945e-06 -1.161655e-06
+ 1.526238e-02  2.269566e-02 -2.352947e-01 -2.941179e-01 -2.352947e-01 -2.941179e-01
+ 1.526238e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.526238e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  1.000000e-06 -2.373405e-01 -3.125399e-01  4.863263e-08  2.269288e-08
+ 1.539338e-02  2.006944e-03 -2.372921e-01 -3.124678e-01  4.345362e-08 -8.045724e-09
+ 1.539338e-02  2.837833e-03 -2.372466e-01 -3.123956e-01  2.044241e-08 -4.165822e-09
+ 1.539338e-02  3.475396e-03 -2.372039e-01 -3.123235e-01  4.077847e-09  3.326016e-08
+ 1.539338e-02  4.012887e-03 -2.371642e-01 -3.122512e-01 -2.807924e-09  2.033436e-08
+ 1.539338e-02  4.486426e-03 -2.371274e-01 -3.121789e-01 -4.734379e-09 -9.358680e-09
+ 1.539338e-02  4.914538e-03 -2.370935e-01 -3.121063e-01 -1.279783e-09 -4.343587e-09
+ 1.539338e-02  5.308228e-03 -2.370625e-01 -3.120336e-01  3.596098e-08  1.259055e-07
+ 1.539338e-02  5.674665e-03 -2.370344e-01 -3.119607e-01  3.200249e-08  9.888365e-08
+ 1.539338e-02  6.018831e-03 -2.370092e-01 -3.118876e-01 -6.993363e-08 -1.539577e-07
+ 1.539338e-02  6.344350e-03 -2.369869e-01 -3.118144e-01  1.393189e-08  4.107322e-08
+ 1.539338e-02  6.653962e-03 -2.369674e-01 -3.117408e-01 -9.857839e-08 -1.669370e-07
+ 1.539338e-02  6.949792e-03 -2.369507e-01 -3.116667e-01 -2.546680e-07 -3.899585e-07
+ 1.539338e-02  7.233532e-03 -2.369367e-01 -3.115923e-01 -8.832452e-09 -2.052005e-08
+ 1.539338e-02  7.506553e-03 -2.369255e-01 -3.115175e-01  1.028766e-07  1.144791e-07
+ 1.539338e-02  7.769986e-03 -2.369170e-01 -3.114423e-01  7.381955e-09 -1.065555e-08
+ 1.539338e-02  8.024774e-03 -2.369112e-01 -3.113668e-01  2.871952e-08  9.249003e-09
+ 1.539338e-02  8.271717e-03 -2.369080e-01 -3.112909e-01 -5.798505e-10 -1.409882e-08
+ 1.539338e-02  8.511498e-03 -2.369074e-01 -3.112144e-01 -6.719146e-08 -6.791501e-08
+ 1.539338e-02  8.744705e-03 -2.369093e-01 -3.111375e-01  2.583124e-08  8.574266e-09
+ 1.539338e-02  8.971852e-03 -2.369136e-01 -3.110600e-01  1.470611e-07  8.073575e-08
+ 1.539338e-02  9.193388e-03 -2.369204e-01 -3.109819e-01  5.808386e-08  3.324377e-08
+ 1.539338e-02  9.409709e-03 -2.369294e-01 -3.109033e-01 -3.691944e-08 -2.768270e-08
+ 1.539338e-02  9.621167e-03 -2.369409e-01 -3.108240e-01  8.323025e-08  4.986509e-08
+ 1.539338e-02  9.828076e-03 -2.369546e-01 -3.107442e-01  3.119488e-07  1.951986e-07
+ 1.539338e-02  1.003072e-02 -2.369705e-01 -3.106637e-01  3.796996e-07  2.373851e-07
+ 1.539338e-02  1.022935e-02 -2.369886e-01 -3.105826e-01  2.195712e-07  1.285295e-07
+ 1.539338e-02  1.042419e-02 -2.370089e-01 -3.105008e-01 -1.869343e-08  2.995504e-09
+ 1.539338e-02  1.061546e-02 -2.370311e-01 -3.104183e-01 -1.533194e-07 -4.191018e-08
+ 1.539338e-02  1.080334e-02 -2.370553e-01 -3.103351e-01 -1.202086e-07 -6.149010e-08
+ 1.539338e-02  1.098801e-02 -2.370813e-01 -3.102510e-01 -2.988271e-08 -1.667962e-08
+ 1.539338e-02  1.116962e-02 -2.371092e-01 -3.101662e-01 -1.254189e-08  9.031009e-08
+ 1.539338e-02  1.134833e-02 -2.371393e-01 -3.100806e-01 -1.737499e-07  5.417098e-08
+ 1.539338e-02  1.152427e-02 -2.371702e-01 -3.099940e-01  2.679865e-06  5.585866e-07
+ 1.539338e-02  1.169756e-02 -2.372011e-01 -3.099064e-01  5.404585e-08 -4.155248e-08
+ 1.539338e-02  1.186832e-02 -2.372366e-01 -3.098180e-01 -1.583177e-07  6.690492e-08
+ 1.539338e-02  1.203666e-02 -2.372727e-01 -3.097284e-01 -1.216160e-06  2.249266e-06
+ 1.539338e-02  1.220268e-02 -2.373086e-01 -3.096409e-01  2.124541e-06 -3.975505e-06
+ 1.539338e-02  1.236647e-02 -2.373464e-01 -3.095510e-01  1.019651e-06 -1.874771e-06
+ 1.539338e-02  1.252811e-02 -2.373878e-01 -3.094558e-01 -7.509935e-07  1.360276e-06
+ 1.539338e-02  1.268770e-02 -2.374284e-01 -3.093630e-01  1.602460e-07 -1.928666e-07
+ 1.539338e-02  1.284531e-02 -2.374697e-01 -3.092699e-01  1.090326e-06 -2.308813e-06
+ 1.539338e-02  1.300100e-02 -2.375148e-01 -3.091713e-01 -1.845811e-06  2.746551e-06
+ 1.539338e-02  1.315485e-02 -2.375568e-01 -3.090759e-01 -2.752711e-06  4.518401e-06
+ 1.539338e-02  1.330692e-02 -2.375983e-01 -3.089815e-01  2.600589e-06 -2.369883e-06
+ 1.539338e-02  1.345728e-02 -2.376444e-01 -3.088824e-01  9.031619e-07 -1.997259e-07
+ 1.539338e-02  1.360597e-02 -2.376897e-01 -3.087824e-01 -2.915068e-07 -3.881980e-07
+ 1.539338e-02  1.375306e-02 -2.377336e-01 -3.086811e-01 -8.879800e-08 -6.516198e-08
+ 1.539338e-02  1.389858e-02 -2.377789e-01 -3.085784e-01 -2.480122e-06 -1.363327e-06
+ 1.539338e-02  1.404260e-02 -2.378081e-01 -3.084671e-01 -1.326906e-06 -1.425249e-07
+ 1.539338e-02  1.418516e-02 -2.378762e-01 -3.083732e-01 -6.622199e-05 -3.102173e-05
+ 1.539338e-02  1.432630e-02 -2.379614e-01 -3.082853e-01 -4.225767e-06 -2.103333e-06
+ 1.539338e-02  1.446606e-02 -2.379883e-01 -3.081693e-01  2.515217e-06  1.097890e-06
+ 1.539338e-02  1.460449e-02 -2.380326e-01 -3.080602e-01  1.890381e-07  3.779413e-08
+ 1.539338e-02  1.474161e-02 -2.380777e-01 -3.079502e-01  4.511319e-09 -1.756964e-09
+ 1.539338e-02  1.487748e-02 -2.381232e-01 -3.078393e-01 -2.058055e-09 -4.865415e-10
+ 1.539338e-02  1.501211e-02 -2.381684e-01 -3.077271e-01  5.846561e-08  1.405358e-08
+ 1.539338e-02  1.514554e-02 -2.382133e-01 -3.076137e-01  2.388531e-08 -2.249470e-09
+ 1.539338e-02  1.527781e-02 -2.382575e-01 -3.074989e-01  1.158734e-07  2.364037e-08
+ 1.539338e-02  1.540894e-02 -2.383010e-01 -3.073827e-01  5.783868e-08  1.601468e-09
+ 1.539338e-02  1.553897e-02 -2.383435e-01 -3.072651e-01  4.676143e-08 -5.423719e-10
+ 1.539338e-02  1.566792e-02 -2.383850e-01 -3.071461e-01 -1.324245e-08 -2.758496e-08
+ 1.539338e-02  1.579582e-02 -2.384250e-01 -3.070255e-01  9.685222e-08  1.377241e-08
+ 1.539338e-02  1.592268e-02 -2.384638e-01 -3.069035e-01  3.473771e-08 -4.308419e-09
+ 1.539338e-02  1.604855e-02 -2.385011e-01 -3.067800e-01 -3.893765e-08 -1.514314e-08
+ 1.539338e-02  1.617343e-02 -2.385364e-01 -3.066548e-01  5.373036e-08 -2.092592e-08
+ 1.539338e-02  1.629736e-02 -2.385701e-01 -3.065281e-01  3.253870e-08  9.291017e-09
+ 1.539338e-02  1.642036e-02 -2.386017e-01 -3.063998e-01  1.105139e-08  4.997813e-09
+ 1.539338e-02  1.654243e-02 -2.386310e-01 -3.062698e-01  1.829710e-08 -4.177378e-09
+ 1.539338e-02  1.666362e-02 -2.386580e-01 -3.061377e-01  7.613078e-09 -1.102220e-08
+ 1.539338e-02  1.678393e-02 -2.386812e-01 -3.059989e-01  1.588560e-06  4.430549e-06
+ 1.539338e-02  1.690338e-02 -2.387091e-01 -3.058915e-01  1.095928e-05  5.583035e-05
+ 1.539338e-02  1.702200e-02 -2.387254e-01 -3.057431e-01  3.152334e-08  9.662689e-08
+ 1.539338e-02  1.713979e-02 -2.387415e-01 -3.056051e-01  8.242963e-08  2.687956e-09
+ 1.539338e-02  1.725678e-02 -2.387547e-01 -3.054675e-01  5.676107e-08  1.194505e-09
+ 1.539338e-02  1.737298e-02 -2.387648e-01 -3.053307e-01  1.710691e-08  1.031402e-09
+ 1.539338e-02  1.748841e-02 -2.387718e-01 -3.051928e-01  7.341102e-08  1.420209e-08
+ 1.539338e-02  1.760308e-02 -2.387755e-01 -3.050579e-01 -1.329825e-07  2.615326e-07
+ 1.539338e-02  1.771701e-02 -2.387759e-01 -3.049277e-01 -4.819678e-07 -2.352549e-08
+ 1.539338e-02  1.783022e-02 -2.387723e-01 -3.048023e-01 -5.230276e-07  6.700960e-07
+ 1.539338e-02  1.794270e-02 -2.387663e-01 -3.046511e-01 -3.684317e-06  2.598868e-05
+ 1.539338e-02  1.805449e-02 -2.386956e-01 -3.042349e-01  5.914546e-06 -3.460992e-07
+ 1.539338e-02  1.816559e-02 -2.386836e-01 -3.040956e-01  1.473099e-07 -2.645182e-06
+ 1.539338e-02  1.827602e-02 -2.386571e-01 -3.039521e-01 -6.335618e-06 -1.200785e-05
+ 1.539338e-02  1.838578e-02 -2.386336e-01 -3.038017e-01  2.178503e-06  1.613647e-08
+ 1.539338e-02  1.849489e-02 -2.386245e-01 -3.036730e-01  8.350464e-06  1.385648e-05
+ 1.539338e-02  1.860336e-02 -2.385602e-01 -3.034909e-01  5.007758e-07  1.398451e-08
+ 1.539338e-02  1.871120e-02 -2.385171e-01 -3.033252e-01 -1.812929e-07 -8.420396e-08
+ 1.539338e-02  1.881842e-02 -2.384728e-01 -3.031619e-01  3.211766e-07 -1.397158e-07
+ 1.539338e-02  1.892503e-02 -2.383377e-01 -3.029332e-01 -1.604847e-05 -1.211391e-05
+ 1.539338e-02  1.903105e-02 -2.382737e-01 -3.027567e-01  1.299310e-06  1.953187e-06
+ 1.539338e-02  1.913648e-02 -2.382012e-01 -3.025795e-01  1.036514e-07  6.253759e-08
+ 1.539338e-02  1.924133e-02 -2.381109e-01 -3.023902e-01 -4.991470e-07  3.278162e-07
+ 1.539338e-02  1.934562e-02 -2.380440e-01 -3.022263e-01 -4.205564e-06 -3.616050e-06
+ 1.539338e-02  1.944934e-02 -2.378836e-01 -3.019952e-01  7.531263e-07 -2.502324e-08
+ 1.539338e-02  1.955252e-02 -2.377825e-01 -3.018104e-01 -4.403772e-06 -3.852816e-06
+ 1.539338e-02  1.965515e-02 -2.375939e-01 -3.015713e-01  2.873172e-08  7.430175e-07
+ 1.539338e-02  1.975725e-02 -2.374513e-01 -3.013715e-01  1.319782e-06  2.441722e-06
+ 1.539338e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.374526e-01  3.013739e-01
+ 1.539338e-02  1.995989e-02 -2.367699e-01 -3.007715e-01 -2.716485e-04  3.217742e-05
+ 1.539338e-02  2.006044e-02 -2.369508e-01 -3.006169e-01 -2.369508e-01 -3.006169e-01
+ 1.539338e-02  2.016048e-02 -2.364049e-01 -3.002072e-01  4.617421e-04  5.151083e-04
+ 1.539338e-02  2.026004e-02 -2.363589e-01 -2.999735e-01 -2.363589e-01 -2.999735e-01
+ 1.539338e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.045769e-02 -2.363175e-01 -2.997479e-01 -3.660123e-06 -1.359646e-05
+ 1.539338e-02  2.055580e-02 -2.362657e-01 -2.994376e-01  1.319395e-05  9.466152e-05
+ 1.539338e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.362789e-01  2.995322e-01
+ 1.539338e-02  2.251766e-02 -2.352944e-01 -2.941174e-01 -2.165506e-05  9.721885e-06
+ 1.539338e-02  2.260684e-02 -2.352989e-01 -2.941179e-01 -2.352989e-01 -2.941179e-01
+ 1.539338e-02  2.269566e-02 -2.352958e-01 -2.941180e-01 -2.352958e-01 -2.941180e-01
+ 1.539338e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.539338e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.552328e-02  1.000000e-06 -2.378121e-01 -3.126882e-01  5.552576e-08 -1.002156e-10
+ 1.552328e-02  2.006944e-03 -2.377581e-01 -3.126160e-01  3.803815e-08 -7.048783e-10
+ 1.552328e-02  2.837833e-03 -2.377070e-01 -3.125438e-01  7.799907e-09  8.746992e-09
+ 1.552328e-02  3.475396e-03 -2.376587e-01 -3.124715e-01 -5.603799e-09  1.578202e-09
+ 1.552328e-02  4.012887e-03 -2.376134e-01 -3.123990e-01 -3.356075e-09 -2.019935e-09
+ 1.552328e-02  4.486426e-03 -2.375710e-01 -3.123264e-01  7.191785e-10  1.988901e-09
+ 1.552328e-02  4.914538e-03 -2.375315e-01 -3.122535e-01  2.840849e-10  1.537343e-08
+ 1.552328e-02  5.308228e-03 -2.374950e-01 -3.121805e-01 -6.670889e-09 -4.490632e-10
+ 1.552328e-02  5.674665e-03 -2.374613e-01 -3.121072e-01 -3.596022e-09  2.788730e-09
+ 1.552328e-02  6.018831e-03 -2.374306e-01 -3.120335e-01  6.984817e-09  3.799074e-09
+ 1.552328e-02  6.344350e-03 -2.374027e-01 -3.119596e-01  3.517718e-08  2.983499e-08
+ 1.552328e-02  6.653962e-03 -2.373777e-01 -3.118854e-01  3.235567e-08 -5.986770e-09
+ 1.552328e-02  6.949792e-03 -2.373555e-01 -3.118108e-01  4.333025e-08 -1.072628e-09
+ 1.552328e-02  7.233532e-03 -2.373361e-01 -3.117358e-01  4.708099e-08 -7.148023e-10
+ 1.552328e-02  7.506553e-03 -2.373194e-01 -3.116604e-01  1.008870e-07  6.059960e-08
+ 1.552328e-02  7.769986e-03 -2.373055e-01 -3.115846e-01  1.380767e-07  9.765897e-08
+ 1.552328e-02  8.024774e-03 -2.372942e-01 -3.115084e-01 -8.862580e-09 -5.031747e-08
+ 1.552328e-02  8.271717e-03 -2.372856e-01 -3.114317e-01 -3.008474e-08 -5.924901e-08
+ 1.552328e-02  8.511498e-03 -2.372797e-01 -3.113545e-01  7.665395e-08  3.280525e-08
+ 1.552328e-02  8.744705e-03 -2.372762e-01 -3.112767e-01 -1.041488e-07 -1.014092e-07
+ 1.552328e-02  8.971852e-03 -2.372752e-01 -3.111984e-01 -3.238480e-07 -2.381981e-07
+ 1.552328e-02  9.193388e-03 -2.372765e-01 -3.111194e-01 -1.432065e-07 -1.164376e-07
+ 1.552328e-02  9.409709e-03 -2.372802e-01 -3.110399e-01  1.295317e-07  6.547415e-08
+ 1.552328e-02  9.621167e-03 -2.372863e-01 -3.109597e-01  1.370924e-07  7.140484e-08
+ 1.552328e-02  9.828076e-03 -2.372946e-01 -3.108789e-01  2.856546e-08 -3.158044e-09
+ 1.552328e-02  1.003072e-02 -2.373051e-01 -3.107974e-01  4.014430e-08 -3.542429e-10
+ 1.552328e-02  1.022935e-02 -2.373178e-01 -3.107153e-01  9.791634e-08  3.828618e-08
+ 1.552328e-02  1.042419e-02 -2.373326e-01 -3.106324e-01 -1.609939e-08 -1.993368e-08
+ 1.552328e-02  1.061546e-02 -2.373495e-01 -3.105488e-01 -6.871235e-08 -6.004933e-08
+ 1.552328e-02  1.080334e-02 -2.373682e-01 -3.104645e-01 -7.272052e-09  2.374246e-09
+ 1.552328e-02  1.098801e-02 -2.373888e-01 -3.103793e-01  1.231434e-07  9.193504e-08
+ 1.552328e-02  1.116962e-02 -2.374111e-01 -3.102932e-01  1.417550e-07  1.282416e-07
+ 1.552328e-02  1.134833e-02 -2.374352e-01 -3.102064e-01  2.072435e-08  1.823412e-08
+ 1.552328e-02  1.152427e-02 -2.374611e-01 -3.101186e-01 -6.640889e-08 -4.613319e-10
+ 1.552328e-02  1.169756e-02 -2.374885e-01 -3.100300e-01 -1.814163e-07  2.997743e-07
+ 1.552328e-02  1.186832e-02 -2.375175e-01 -3.099407e-01  1.308164e-07  2.363301e-07
+ 1.552328e-02  1.203666e-02 -2.375496e-01 -3.098496e-01 -9.663549e-07  4.247267e-07
+ 1.552328e-02  1.220268e-02 -2.375774e-01 -3.097587e-01 -3.431388e-06 -4.070936e-07
+ 1.552328e-02  1.236647e-02 -2.376094e-01 -3.096693e-01  9.311558e-07 -4.500291e-07
+ 1.552328e-02  1.252811e-02 -2.376449e-01 -3.095746e-01  2.321196e-06 -4.194221e-06
+ 1.552328e-02  1.268770e-02 -2.376815e-01 -3.094778e-01 -1.419969e-06  1.675629e-06
+ 1.552328e-02  1.284531e-02 -2.377154e-01 -3.093843e-01  1.355882e-06 -1.166221e-06
+ 1.552328e-02  1.300100e-02 -2.377531e-01 -3.092856e-01 -1.815434e-06  3.761243e-06
+ 1.552328e-02  1.315485e-02 -2.377929e-01 -3.091857e-01  1.508697e-07  4.920066e-07
+ 1.552328e-02  1.330692e-02 -2.378286e-01 -3.090900e-01 -4.464252e-07 -3.200236e-07
+ 1.552328e-02  1.345728e-02 -2.378639e-01 -3.089897e-01  4.345066e-08 -8.564568e-08
+ 1.552328e-02  1.360597e-02 -2.378883e-01 -3.088804e-01  4.244172e-06  1.773334e-06
+ 1.552328e-02  1.375306e-02 -2.379489e-01 -3.087876e-01 -6.084418e-05 -2.720920e-05
+ 1.552328e-02  1.389858e-02 -2.380278e-01 -3.087011e-01 -1.665361e-05 -7.397033e-06
+ 1.552328e-02  1.404260e-02 -2.380505e-01 -3.085888e-01 -3.610028e-06 -1.916872e-06
+ 1.552328e-02  1.418516e-02 -2.380875e-01 -3.084810e-01  1.475245e-07 -7.463776e-08
+ 1.552328e-02  1.432630e-02 -2.381277e-01 -3.083735e-01  1.401989e-07 -2.847623e-08
+ 1.552328e-02  1.446606e-02 -2.381680e-01 -3.082648e-01  2.193874e-07  8.052675e-09
+ 1.552328e-02  1.460449e-02 -2.382086e-01 -3.081550e-01  3.219536e-08 -4.959061e-08
+ 1.552328e-02  1.474161e-02 -2.382491e-01 -3.080439e-01  9.898398e-08 -3.494669e-09
+ 1.552328e-02  1.487748e-02 -2.382892e-01 -3.079316e-01  1.295565e-07 -1.023614e-08
+ 1.552328e-02  1.501211e-02 -2.383290e-01 -3.078179e-01  8.302898e-08  6.678540e-10
+ 1.552328e-02  1.514554e-02 -2.383681e-01 -3.077028e-01  7.840840e-08 -2.364089e-08
+ 1.552328e-02  1.527781e-02 -2.384064e-01 -3.075862e-01  1.177741e-08 -4.657927e-08
+ 1.552328e-02  1.540894e-02 -2.384439e-01 -3.074682e-01  1.026517e-08 -3.325055e-08
+ 1.552328e-02  1.553897e-02 -2.384803e-01 -3.073488e-01  9.267035e-08 -1.951004e-08
+ 1.552328e-02  1.566792e-02 -2.385155e-01 -3.072278e-01 -9.218157e-09 -1.181063e-08
+ 1.552328e-02  1.579582e-02 -2.385493e-01 -3.071053e-01 -4.188013e-09 -1.199346e-08
+ 1.552328e-02  1.592268e-02 -2.385816e-01 -3.069813e-01 -8.207546e-08 -2.338850e-08
+ 1.552328e-02  1.604855e-02 -2.386125e-01 -3.068557e-01 -2.643184e-08 -6.943253e-09
+ 1.552328e-02  1.617343e-02 -2.386416e-01 -3.067285e-01 -2.841422e-07 -1.090177e-07
+ 1.552328e-02  1.629736e-02 -2.386684e-01 -3.065995e-01  6.905730e-08  2.214989e-08
+ 1.552328e-02  1.642036e-02 -2.386933e-01 -3.064690e-01  9.425914e-09  2.605954e-10
+ 1.552328e-02  1.654243e-02 -2.387160e-01 -3.063366e-01  3.589124e-08 -4.180696e-09
+ 1.552328e-02  1.666362e-02 -2.387362e-01 -3.062022e-01  3.428632e-08 -8.690806e-09
+ 1.552328e-02  1.678393e-02 -2.387533e-01 -3.060637e-01 -1.888895e-07 -6.199469e-07
+ 1.552328e-02  1.690338e-02 -2.387730e-01 -3.059435e-01  5.361211e-06  2.529813e-05
+ 1.552328e-02  1.702200e-02 -2.387833e-01 -3.058013e-01  4.903177e-08  1.494453e-07
+ 1.552328e-02  1.713979e-02 -2.387921e-01 -3.056602e-01  1.070051e-07  3.130192e-08
+ 1.552328e-02  1.725678e-02 -2.387983e-01 -3.055196e-01  5.555114e-08 -1.280292e-08
+ 1.552328e-02  1.737298e-02 -2.388015e-01 -3.053792e-01  1.148830e-07  1.911388e-08
+ 1.552328e-02  1.748841e-02 -2.388018e-01 -3.052384e-01  8.033329e-08  2.194064e-07
+ 1.552328e-02  1.760308e-02 -2.387990e-01 -3.051006e-01 -5.223345e-08  9.489643e-09
+ 1.552328e-02  1.771701e-02 -2.387936e-01 -3.049662e-01  2.003147e-07  1.404297e-08
+ 1.552328e-02  1.783022e-02 -2.387859e-01 -3.048373e-01 -2.534560e-07  4.630841e-07
+ 1.552328e-02  1.794270e-02 -2.387748e-01 -3.047046e-01  4.727812e-07  3.843475e-06
+ 1.552328e-02  1.805449e-02 -2.386597e-01 -3.042515e-01  1.544420e-05  9.117495e-06
+ 1.552328e-02  1.816559e-02 -2.386437e-01 -3.041208e-01 -1.747788e-06  2.313689e-07
+ 1.552328e-02  1.827602e-02 -2.386078e-01 -3.039655e-01  9.768126e-07  2.817193e-06
+ 1.552328e-02  1.838578e-02 -2.385718e-01 -3.038159e-01 -2.819266e-06 -1.939305e-06
+ 1.552328e-02  1.849489e-02 -2.385526e-01 -3.036746e-01 -1.261749e-05  2.265979e-07
+ 1.552328e-02  1.860336e-02 -2.384917e-01 -3.035038e-01 -4.554062e-06 -4.428654e-06
+ 1.552328e-02  1.871120e-02 -2.384400e-01 -3.033386e-01  3.180494e-06  2.589333e-07
+ 1.552328e-02  1.881842e-02 -2.384057e-01 -3.031852e-01 -3.380339e-05 -2.467131e-05
+ 1.552328e-02  1.892503e-02 -2.382340e-01 -3.029334e-01  1.876813e-06  1.134201e-06
+ 1.552328e-02  1.903105e-02 -2.381571e-01 -3.027520e-01  6.343274e-07  1.181093e-06
+ 1.552328e-02  1.913648e-02 -2.380706e-01 -3.025694e-01  2.525451e-07 -1.478270e-07
+ 1.552328e-02  1.924133e-02 -2.379686e-01 -3.023737e-01 -6.500025e-06 -3.595536e-06
+ 1.552328e-02  1.934562e-02 -2.378295e-01 -3.021678e-01  2.856160e-06 -1.206096e-07
+ 1.552328e-02  1.944934e-02 -2.376438e-01 -3.019281e-01 -3.402682e-06 -1.598203e-06
+ 1.552328e-02  1.955252e-02 -2.374805e-01 -3.017120e-01  2.433939e-06  1.508515e-06
+ 1.552328e-02  1.965515e-02 -2.371682e-01 -3.014061e-01 -2.371682e-01 -3.014061e-01
+ 1.552328e-02  1.975725e-02 -2.365648e-01 -3.010795e-01 -1.443179e-05 -3.280688e-06
+ 1.552328e-02  1.985883e-02 -2.363501e-01 -3.007974e-01  1.467938e-04 -9.947957e-05
+ 1.552328e-02  1.995989e-02 -2.365062e-01 -3.008033e-01  3.146954e-05  1.634778e-04
+ 1.552328e-02  2.006044e-02 -2.363678e-01 -3.003939e-01  7.567275e-05  4.234716e-05
+ 1.552328e-02  2.016048e-02 -2.364183e-01 -3.003618e-01 -2.364183e-01 -3.003618e-01
+ 1.552328e-02  2.026004e-02 -2.363758e-01 -3.000661e-01 -5.867641e-07 -6.165076e-07
+ 1.552328e-02  2.035910e-02 -2.363442e-01 -2.999203e-01 -2.363442e-01 -2.999203e-01
+ 1.552328e-02  2.045769e-02 -2.363116e-01 -2.997176e-01 -2.363116e-01 -2.997176e-01
+ 1.552328e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.552328e-02  2.065345e-02 -2.362762e-01 -2.995266e-01 -6.161414e-06 -4.086086e-05
+ 1.552328e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.552328e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.362700e-01  2.994858e-01
+ 1.565210e-02  1.000000e-06 -2.382787e-01 -3.128336e-01  5.948251e-08 -4.643644e-09
+ 1.565210e-02  2.006944e-03 -2.382188e-01 -3.127613e-01  2.182479e-08  3.490794e-09
+ 1.565210e-02  2.837833e-03 -2.381620e-01 -3.126889e-01 -7.537432e-09  5.418563e-09
+ 1.565210e-02  3.475396e-03 -2.381081e-01 -3.126164e-01 -4.641123e-09 -3.230072e-09
+ 1.565210e-02  4.012887e-03 -2.380572e-01 -3.125437e-01 -7.176693e-11  7.846419e-10
+ 1.565210e-02  4.486426e-03 -2.380092e-01 -3.124708e-01 -4.441698e-09  5.572412e-09
+ 1.565210e-02  4.914538e-03 -2.379642e-01 -3.123976e-01 -6.670110e-09 -2.183701e-08
+ 1.565210e-02  5.308228e-03 -2.379221e-01 -3.123241e-01  3.755652e-09  1.831218e-09
+ 1.565210e-02  5.674665e-03 -2.378829e-01 -3.122504e-01  2.983130e-08  5.966844e-11
+ 1.565210e-02  6.018831e-03 -2.378466e-01 -3.121763e-01  4.895843e-08  6.531791e-09
+ 1.565210e-02  6.344350e-03 -2.378133e-01 -3.121019e-01  5.665822e-08  4.133547e-09
+ 1.565210e-02  6.653962e-03 -2.377828e-01 -3.120271e-01  5.020012e-08  1.660759e-10
+ 1.565210e-02  6.949792e-03 -2.377552e-01 -3.119519e-01  4.170929e-08  7.922551e-09
+ 1.565210e-02  7.233532e-03 -2.377303e-01 -3.118763e-01  2.116866e-08 -5.510662e-10
+ 1.565210e-02  7.506553e-03 -2.377082e-01 -3.118003e-01  3.549846e-09 -2.048712e-09
+ 1.565210e-02  7.769986e-03 -2.376889e-01 -3.117238e-01 -8.703742e-10  2.006971e-09
+ 1.565210e-02  8.024774e-03 -2.376722e-01 -3.116468e-01 -2.380364e-10  8.018030e-09
+ 1.565210e-02  8.271717e-03 -2.376582e-01 -3.115692e-01  9.428608e-09  1.673188e-08
+ 1.565210e-02  8.511498e-03 -2.376468e-01 -3.114912e-01 -6.970553e-09 -7.337644e-10
+ 1.565210e-02  8.744705e-03 -2.376379e-01 -3.114126e-01 -8.052840e-09  1.239881e-09
+ 1.565210e-02  8.971852e-03 -2.376315e-01 -3.113334e-01 -7.376065e-09  4.351339e-10
+ 1.565210e-02  9.193388e-03 -2.376275e-01 -3.112536e-01  1.007370e-08  1.302855e-08
+ 1.565210e-02  9.409709e-03 -2.376259e-01 -3.111731e-01  9.226920e-08  6.608735e-08
+ 1.565210e-02  9.621167e-03 -2.376266e-01 -3.110920e-01  8.674385e-08  5.769737e-08
+ 1.565210e-02  9.828076e-03 -2.376297e-01 -3.110103e-01 -7.075156e-08 -3.336614e-08
+ 1.565210e-02  1.003072e-02 -2.376349e-01 -3.109279e-01 -1.188453e-07 -5.470992e-08
+ 1.565210e-02  1.022935e-02 -2.376423e-01 -3.108447e-01  5.077255e-09  1.496967e-08
+ 1.565210e-02  1.042419e-02 -2.376518e-01 -3.107609e-01  2.330972e-10  5.755007e-09
+ 1.565210e-02  1.061546e-02 -2.376633e-01 -3.106762e-01 -2.789190e-07 -1.332214e-07
+ 1.565210e-02  1.080334e-02 -2.376767e-01 -3.105907e-01 -4.370948e-07 -2.128228e-07
+ 1.565210e-02  1.098801e-02 -2.376918e-01 -3.105044e-01 -2.390264e-07 -1.503200e-07
+ 1.565210e-02  1.116962e-02 -2.377088e-01 -3.104172e-01  4.888914e-08  3.787720e-08
+ 1.565210e-02  1.134833e-02 -2.377274e-01 -3.103292e-01  7.423614e-08  1.864267e-07
+ 1.565210e-02  1.152427e-02 -2.377478e-01 -3.102403e-01  3.924584e-08  9.413488e-08
+ 1.565210e-02  1.169756e-02 -2.377697e-01 -3.101503e-01 -1.819944e-08  4.904677e-08
+ 1.565210e-02  1.186832e-02 -2.377931e-01 -3.100598e-01  4.624927e-08  1.524031e-08
+ 1.565210e-02  1.203666e-02 -2.378182e-01 -3.099677e-01 -2.380305e-07  1.509747e-07
+ 1.565210e-02  1.220268e-02 -2.378447e-01 -3.098746e-01 -1.153621e-06  2.310612e-06
+ 1.565210e-02  1.236647e-02 -2.378702e-01 -3.097833e-01  1.605180e-06 -4.331524e-06
+ 1.565210e-02  1.252811e-02 -2.378982e-01 -3.096897e-01  2.625517e-06 -1.634224e-06
+ 1.565210e-02  1.268770e-02 -2.379256e-01 -3.095900e-01 -7.313621e-06  6.262046e-07
+ 1.565210e-02  1.284531e-02 -2.379554e-01 -3.094928e-01  6.389574e-07 -1.295715e-07
+ 1.565210e-02  1.300100e-02 -2.379754e-01 -3.093906e-01  6.962080e-07 -2.133824e-06
+ 1.565210e-02  1.315485e-02 -2.380094e-01 -3.092877e-01  2.942392e-06  3.778003e-06
+ 1.565210e-02  1.330692e-02 -2.380849e-01 -3.092074e-01 -7.256529e-06  2.645569e-06
+ 1.565210e-02  1.345728e-02 -2.381179e-01 -3.091093e-01 -6.778539e-07 -2.985565e-06
+ 1.565210e-02  1.360597e-02 -2.381401e-01 -3.090007e-01  2.733128e-06  8.156823e-07
+ 1.565210e-02  1.375306e-02 -2.381724e-01 -3.088961e-01  4.075068e-07  1.836750e-07
+ 1.565210e-02  1.389858e-02 -2.382066e-01 -3.087910e-01  1.105013e-06  6.047137e-07
+ 1.565210e-02  1.404260e-02 -2.382419e-01 -3.086847e-01  2.564626e-07  1.774669e-07
+ 1.565210e-02  1.418516e-02 -2.382770e-01 -3.085774e-01  2.795005e-08 -1.299783e-07
+ 1.565210e-02  1.432630e-02 -2.383125e-01 -3.084687e-01  2.988250e-08 -2.236291e-07
+ 1.565210e-02  1.446606e-02 -2.383479e-01 -3.083589e-01  2.061286e-08 -6.947755e-08
+ 1.565210e-02  1.460449e-02 -2.383830e-01 -3.082476e-01  1.105943e-07  5.230930e-08
+ 1.565210e-02  1.474161e-02 -2.384179e-01 -3.081350e-01 -3.273290e-09 -2.042124e-08
+ 1.565210e-02  1.487748e-02 -2.384524e-01 -3.080210e-01 -8.105697e-08 -1.451957e-07
+ 1.565210e-02  1.501211e-02 -2.384862e-01 -3.079055e-01 -3.339725e-08 -1.182461e-07
+ 1.565210e-02  1.514554e-02 -2.385193e-01 -3.077886e-01 -2.281150e-08 -2.940230e-08
+ 1.565210e-02  1.527781e-02 -2.385516e-01 -3.076703e-01 -7.629112e-09 -9.072765e-09
+ 1.565210e-02  1.540894e-02 -2.385829e-01 -3.075504e-01  6.730105e-09 -2.322378e-08
+ 1.565210e-02  1.553897e-02 -2.386131e-01 -3.074291e-01 -9.734405e-10  1.064090e-09
+ 1.565210e-02  1.566792e-02 -2.386420e-01 -3.073061e-01 -4.773470e-08 -1.193648e-09
+ 1.565210e-02  1.579582e-02 -2.386696e-01 -3.071816e-01 -1.621113e-08 -5.671984e-08
+ 1.565210e-02  1.592268e-02 -2.386955e-01 -3.070555e-01  9.019634e-09 -2.620430e-08
+ 1.565210e-02  1.604855e-02 -2.387198e-01 -3.069277e-01  1.281935e-07  3.873723e-08
+ 1.565210e-02  1.617343e-02 -2.387421e-01 -3.067983e-01  9.133584e-08  1.615096e-08
+ 1.565210e-02  1.629736e-02 -2.387626e-01 -3.066672e-01  2.713577e-08 -7.593803e-09
+ 1.565210e-02  1.642036e-02 -2.387806e-01 -3.065343e-01  1.515853e-07  1.290548e-08
+ 1.565210e-02  1.654243e-02 -2.387965e-01 -3.063996e-01  3.886081e-08 -1.333365e-08
+ 1.565210e-02  1.666362e-02 -2.388097e-01 -3.062627e-01  2.292522e-08 -1.832658e-08
+ 1.565210e-02  1.678393e-02 -2.388201e-01 -3.061227e-01 -4.544376e-07 -1.275301e-06
+ 1.565210e-02  1.690338e-02 -2.388303e-01 -3.059866e-01 -1.667437e-06 -8.137237e-06
+ 1.565210e-02  1.702200e-02 -2.388363e-01 -3.058563e-01 -4.519381e-08  1.744310e-06
+ 1.565210e-02  1.713979e-02 -2.388377e-01 -3.057113e-01  4.613327e-08  3.155142e-10
+ 1.565210e-02  1.725678e-02 -2.388367e-01 -3.055677e-01  1.010967e-08  5.758146e-09
+ 1.565210e-02  1.737298e-02 -2.388326e-01 -3.054241e-01  8.758403e-08  1.039556e-08
+ 1.565210e-02  1.748841e-02 -2.388257e-01 -3.052800e-01  3.119540e-08 -2.142770e-06
+ 1.565210e-02  1.760308e-02 -2.388162e-01 -3.051391e-01  2.839228e-08  2.091455e-08
+ 1.565210e-02  1.771701e-02 -2.388044e-01 -3.050013e-01  6.662732e-08 -1.980377e-08
+ 1.565210e-02  1.783022e-02 -2.387915e-01 -3.048683e-01 -8.698053e-08  2.338671e-09
+ 1.565210e-02  1.794270e-02 -2.387760e-01 -3.047369e-01  7.209937e-08  6.580915e-07
+ 1.565210e-02  1.805449e-02 -2.386240e-01 -3.042710e-01 -3.784822e-06 -6.784513e-06
+ 1.565210e-02  1.816559e-02 -2.386027e-01 -3.041497e-01 -1.266767e-06 -5.829772e-06
+ 1.565210e-02  1.827602e-02 -2.385608e-01 -3.039870e-01 -9.120846e-08 -9.487667e-07
+ 1.565210e-02  1.838578e-02 -2.384801e-01 -3.037970e-01  3.083460e-05  3.245302e-05
+ 1.565210e-02  1.849489e-02 -2.384817e-01 -3.036850e-01  2.121724e-06  2.076076e-07
+ 1.565210e-02  1.860336e-02 -2.384230e-01 -3.035149e-01 -1.489011e-06 -7.026343e-08
+ 1.565210e-02  1.871120e-02 -2.383613e-01 -3.033504e-01 -9.726108e-08  2.881857e-07
+ 1.565210e-02  1.881842e-02 -2.381950e-01 -3.031019e-01 -5.119275e-07 -4.456456e-07
+ 1.565210e-02  1.892503e-02 -2.381234e-01 -3.029289e-01  6.457458e-07  4.523504e-07
+ 1.565210e-02  1.903105e-02 -2.380317e-01 -3.027410e-01  1.021817e-06  1.540014e-06
+ 1.565210e-02  1.913648e-02 -2.379297e-01 -3.025506e-01  3.417713e-06  1.950087e-06
+ 1.565210e-02  1.924133e-02 -2.377456e-01 -3.023069e-01  4.677680e-06  4.097046e-06
+ 1.565210e-02  1.934562e-02 -2.376303e-01 -3.021216e-01 -3.154418e-06 -1.648570e-06
+ 1.565210e-02  1.944934e-02 -2.373799e-01 -3.018608e-01 -4.311923e-06 -3.018357e-06
+ 1.565210e-02  1.955252e-02 -2.366080e-01 -3.013687e-01  9.688653e-06  1.083023e-05
+ 1.565210e-02  1.965515e-02 -2.366112e-01 -3.013654e-01  4.381251e-06 -5.686098e-05
+ 1.565210e-02  1.975725e-02 -2.366017e-01 -3.012958e-01 -6.557273e-06  7.760791e-06
+ 1.565210e-02  1.985883e-02 -2.365790e-01 -3.012133e-01  2.804466e-05  1.290935e-04
+ 1.565210e-02  1.995989e-02 -2.365147e-01 -3.008232e-01  7.422856e-05  4.400957e-04
+ 1.565210e-02  2.006044e-02 -2.364535e-01 -3.004914e-01 -1.111179e-07  1.032548e-06
+ 1.565210e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.364534e-01  3.004925e-01
+ 1.565210e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.364534e-01  3.004925e-01
+ 1.565210e-02  2.035910e-02 -2.363589e-01 -2.999669e-01  1.420188e-05  8.876122e-05
+ 1.565210e-02  2.045769e-02 -2.362998e-01 -2.996391e-01 -2.362998e-01 -2.996391e-01
+ 1.565210e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.565210e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  1.000000e-06 -2.387402e-01 -3.129766e-01  5.390758e-08 -6.398736e-07
+ 1.577986e-02  2.006944e-03 -2.386686e-01 -3.129018e-01 -2.813796e-06 -1.095291e-06
+ 1.577986e-02  2.837833e-03 -2.386023e-01 -3.128276e-01  1.178335e-08  6.032688e-09
+ 1.577986e-02  3.475396e-03 -2.385482e-01 -3.127569e-01 -5.026097e-07 -1.941965e-07
+ 1.577986e-02  4.012887e-03 -2.384927e-01 -3.126843e-01 -6.189453e-09  3.710216e-10
+ 1.577986e-02  4.486426e-03 -2.384393e-01 -3.126111e-01  2.100572e-08  9.054116e-09
+ 1.577986e-02  4.914538e-03 -2.383892e-01 -3.125377e-01 -3.487135e-08 -2.484404e-08
+ 1.577986e-02  5.308228e-03 -2.383418e-01 -3.124640e-01  1.830751e-08 -1.278981e-08
+ 1.577986e-02  5.674665e-03 -2.382974e-01 -3.123899e-01  4.275824e-08 -1.994816e-08
+ 1.577986e-02  6.018831e-03 -2.382560e-01 -3.123154e-01  4.178829e-08  1.493242e-08
+ 1.577986e-02  6.344350e-03 -2.382173e-01 -3.122405e-01  1.091551e-08  1.065968e-10
+ 1.577986e-02  6.653962e-03 -2.381815e-01 -3.121652e-01 -1.290867e-09  1.229605e-09
+ 1.577986e-02  6.949792e-03 -2.381486e-01 -3.120895e-01 -1.877376e-08 -1.592890e-09
+ 1.577986e-02  7.233532e-03 -2.381184e-01 -3.120133e-01 -1.756347e-08 -1.019582e-08
+ 1.577986e-02  7.506553e-03 -2.380911e-01 -3.119366e-01 -2.854090e-09  7.476257e-10
+ 1.577986e-02  7.769986e-03 -2.380664e-01 -3.118594e-01 -4.616727e-09 -2.071657e-09
+ 1.577986e-02  8.024774e-03 -2.380444e-01 -3.117817e-01 -4.087240e-09  1.789200e-09
+ 1.577986e-02  8.271717e-03 -2.380251e-01 -3.117034e-01 -1.832588e-09  7.178295e-09
+ 1.577986e-02  8.511498e-03 -2.380083e-01 -3.116246e-01 -2.757706e-09  1.067865e-08
+ 1.577986e-02  8.744705e-03 -2.379942e-01 -3.115452e-01 -7.295445e-09 -4.190765e-09
+ 1.577986e-02  8.971852e-03 -2.379825e-01 -3.114651e-01 -2.195688e-08 -2.376910e-08
+ 1.577986e-02  9.193388e-03 -2.379732e-01 -3.113844e-01 -2.656238e-08 -2.281228e-08
+ 1.577986e-02  9.409709e-03 -2.379663e-01 -3.113031e-01 -3.516984e-08 -3.079689e-08
+ 1.577986e-02  9.621167e-03 -2.379617e-01 -3.112211e-01 -3.239919e-08 -2.397969e-08
+ 1.577986e-02  9.828076e-03 -2.379594e-01 -3.111383e-01 -6.106489e-09 -1.188279e-09
+ 1.577986e-02  1.003072e-02 -2.379593e-01 -3.110549e-01 -1.446181e-08 -1.821624e-08
+ 1.577986e-02  1.022935e-02 -2.379613e-01 -3.109706e-01 -3.575458e-08 -2.968410e-08
+ 1.577986e-02  1.042419e-02 -2.379654e-01 -3.108857e-01 -4.202366e-08 -1.299087e-08
+ 1.577986e-02  1.061546e-02 -2.379715e-01 -3.107999e-01 -8.705859e-08 -3.898300e-08
+ 1.577986e-02  1.080334e-02 -2.379794e-01 -3.107132e-01 -5.910901e-08 -3.145685e-08
+ 1.577986e-02  1.098801e-02 -2.379891e-01 -3.106258e-01  8.387648e-08  7.914638e-08
+ 1.577986e-02  1.116962e-02 -2.380006e-01 -3.105374e-01  5.304565e-08  9.446224e-08
+ 1.577986e-02  1.134833e-02 -2.380139e-01 -3.104481e-01 -1.619955e-07 -1.238662e-08
+ 1.577986e-02  1.152427e-02 -2.380286e-01 -3.103580e-01 -3.600675e-07 -1.280961e-07
+ 1.577986e-02  1.169756e-02 -2.380450e-01 -3.102668e-01 -3.669517e-08  5.835075e-09
+ 1.577986e-02  1.186832e-02 -2.380624e-01 -3.101746e-01 -2.367611e-06 -4.567496e-07
+ 1.577986e-02  1.203666e-02 -2.380771e-01 -3.100800e-01  5.980683e-06  2.313387e-06
+ 1.577986e-02  1.220268e-02 -2.380890e-01 -3.099814e-01  1.859126e-06  8.962188e-07
+ 1.577986e-02  1.236647e-02 -2.381107e-01 -3.098875e-01  1.005950e-05  3.282810e-06
+ 1.577986e-02  1.252811e-02 -2.381612e-01 -3.098064e-01  4.632941e-05  1.799213e-05
+ 1.577986e-02  1.268770e-02 -2.382019e-01 -3.097142e-01 -1.481121e-05 -1.158474e-05
+ 1.577986e-02  1.284531e-02 -2.382198e-01 -3.096098e-01 -5.518591e-06 -6.814739e-08
+ 1.577986e-02  1.300100e-02 -2.382399e-01 -3.095101e-01  2.609136e-06 -5.258345e-07
+ 1.577986e-02  1.315485e-02 -2.382633e-01 -3.094067e-01 -6.051207e-06  3.937927e-06
+ 1.577986e-02  1.330692e-02 -2.382933e-01 -3.093031e-01 -5.345635e-07  1.153692e-06
+ 1.577986e-02  1.345728e-02 -2.383180e-01 -3.092038e-01  6.012836e-07 -1.273139e-06
+ 1.577986e-02  1.360597e-02 -2.383460e-01 -3.091004e-01  8.404790e-07  6.188030e-08
+ 1.577986e-02  1.375306e-02 -2.383762e-01 -3.089945e-01 -1.117902e-07 -7.940054e-08
+ 1.577986e-02  1.389858e-02 -2.384055e-01 -3.088885e-01  1.244688e-08 -3.230477e-08
+ 1.577986e-02  1.404260e-02 -2.384354e-01 -3.087806e-01  2.768913e-07  2.274480e-07
+ 1.577986e-02  1.418516e-02 -2.384651e-01 -3.086717e-01  9.340644e-08  5.523910e-08
+ 1.577986e-02  1.432630e-02 -2.384950e-01 -3.085613e-01 -4.464051e-08 -1.194245e-07
+ 1.577986e-02  1.446606e-02 -2.385246e-01 -3.084496e-01  1.655768e-07  1.159620e-07
+ 1.577986e-02  1.460449e-02 -2.385541e-01 -3.083367e-01  3.022557e-07  6.471278e-07
+ 1.577986e-02  1.474161e-02 -2.385831e-01 -3.082224e-01  2.950984e-07  6.547609e-07
+ 1.577986e-02  1.487748e-02 -2.386117e-01 -3.081068e-01  5.233784e-08  5.978261e-08
+ 1.577986e-02  1.501211e-02 -2.386397e-01 -3.079898e-01 -9.147194e-08 -2.962873e-07
+ 1.577986e-02  1.514554e-02 -2.386668e-01 -3.078712e-01 -1.204414e-09 -5.798938e-08
+ 1.577986e-02  1.527781e-02 -2.386930e-01 -3.077510e-01  4.049946e-08  3.050229e-08
+ 1.577986e-02  1.540894e-02 -2.387181e-01 -3.076292e-01 -1.999554e-10 -1.465744e-07
+ 1.577986e-02  1.553897e-02 -2.387420e-01 -3.075058e-01  3.896104e-08 -9.963462e-08
+ 1.577986e-02  1.566792e-02 -2.387646e-01 -3.073808e-01  7.037536e-08  5.433108e-09
+ 1.577986e-02  1.579582e-02 -2.387856e-01 -3.072543e-01  1.061223e-07 -3.314570e-08
+ 1.577986e-02  1.592268e-02 -2.388052e-01 -3.071260e-01  7.843053e-08  1.977046e-10
+ 1.577986e-02  1.604855e-02 -2.388228e-01 -3.069961e-01  5.489853e-08 -3.699235e-08
+ 1.577986e-02  1.617343e-02 -2.388386e-01 -3.068644e-01  7.747517e-08 -2.683020e-08
+ 1.577986e-02  1.629736e-02 -2.388522e-01 -3.067310e-01  1.116559e-07  1.450427e-08
+ 1.577986e-02  1.642036e-02 -2.388637e-01 -3.065959e-01 -2.670794e-07 -1.040512e-07
+ 1.577986e-02  1.654243e-02 -2.388724e-01 -3.064587e-01  4.877003e-08  3.341501e-09
+ 1.577986e-02  1.666362e-02 -2.388787e-01 -3.063194e-01 -9.833488e-09 -3.763811e-08
+ 1.577986e-02  1.678393e-02 -2.388819e-01 -3.061768e-01 -6.079394e-09 -1.083330e-08
+ 1.577986e-02  1.690338e-02 -2.388816e-01 -3.060243e-01 -8.404551e-06 -3.786431e-05
+ 1.577986e-02  1.702200e-02 -2.388847e-01 -3.059106e-01 -2.143208e-07 -5.418621e-06
+ 1.577986e-02  1.713979e-02 -2.388782e-01 -3.057584e-01  5.171058e-08  2.402548e-08
+ 1.577986e-02  1.725678e-02 -2.388697e-01 -3.056116e-01 -2.474713e-08 -3.322164e-10
+ 1.577986e-02  1.737298e-02 -2.388583e-01 -3.054649e-01  3.380568e-08 -1.203934e-09
+ 1.577986e-02  1.748841e-02 -2.388442e-01 -3.053195e-01 -1.955032e-08 -8.768492e-08
+ 1.577986e-02  1.760308e-02 -2.388272e-01 -3.051734e-01  1.171695e-07  1.627510e-08
+ 1.577986e-02  1.771701e-02 -2.388087e-01 -3.050321e-01  2.000190e-07  7.100423e-07
+ 1.577986e-02  1.783022e-02 -2.387897e-01 -3.048959e-01 -4.746807e-07  1.321911e-07
+ 1.577986e-02  1.794270e-02 -2.387689e-01 -3.047606e-01  3.694940e-07  3.265782e-06
+ 1.577986e-02  1.805449e-02 -2.385743e-01 -3.042724e-01 -2.208734e-06 -1.708986e-07
+ 1.577986e-02  1.816559e-02 -2.385653e-01 -3.041818e-01 -1.021294e-06 -1.841487e-05
+ 1.577986e-02  1.827602e-02 -2.385033e-01 -3.040010e-01 -8.561304e-07 -7.303094e-07
+ 1.577986e-02  1.838578e-02 -2.384576e-01 -3.038489e-01 -3.510288e-07  2.015850e-07
+ 1.577986e-02  1.849489e-02 -2.384060e-01 -3.036938e-01 -1.184287e-06  1.223222e-08
+ 1.577986e-02  1.860336e-02 -2.383498e-01 -3.035245e-01 -1.387499e-05 -5.094347e-07
+ 1.577986e-02  1.871120e-02 -2.381503e-01 -3.032583e-01  1.171031e-04  8.842163e-05
+ 1.577986e-02  1.881842e-02 -2.380926e-01 -3.031000e-01  4.135891e-06  2.449717e-07
+ 1.577986e-02  1.892503e-02 -2.380087e-01 -3.029193e-01 -7.486502e-07 -4.262554e-07
+ 1.577986e-02  1.903105e-02 -2.378960e-01 -3.027234e-01  5.422791e-06  2.781540e-06
+ 1.577986e-02  1.913648e-02 -2.377316e-01 -3.024987e-01 -2.354326e-06 -1.619487e-06
+ 1.577986e-02  1.924133e-02 -2.375524e-01 -3.022735e-01  3.239185e-06  1.607420e-06
+ 1.577986e-02  1.934562e-02 -2.372831e-01 -3.020014e-01  4.371417e-06  3.655783e-06
+ 1.577986e-02  1.944934e-02 -2.366691e-01 -3.015683e-01 -3.472020e-04 -2.320106e-04
+ 1.577986e-02  1.955252e-02 -2.365972e-01 -3.013336e-01  4.024848e-05  2.517389e-04
+ 1.577986e-02  1.965515e-02 -2.366188e-01 -3.013776e-01 -5.112474e-06  1.330990e-05
+ 1.577986e-02  1.975725e-02 -2.366021e-01 -3.013167e-01 -1.011388e-06 -6.042806e-06
+ 1.577986e-02  1.985883e-02 -2.365444e-01 -3.009721e-01  1.295757e-05  1.143366e-04
+ 1.577986e-02  1.995989e-02 -2.365087e-01 -3.007708e-01  2.059168e-04  1.032538e-04
+ 1.577986e-02  2.006044e-02 -2.365362e-01 -3.009790e-01  2.170649e-05  9.815438e-05
+ 1.577986e-02  2.016048e-02 -2.364557e-01 -3.005196e-01 -7.194165e-06 -7.422132e-05
+ 1.577986e-02  2.026004e-02 -2.364060e-01 -3.002151e-01 -2.364060e-01 -3.002151e-01
+ 1.577986e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.045769e-02 -2.370190e-01 -2.999346e-01 -2.370190e-01 -2.999346e-01
+ 1.577986e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.577986e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.590660e-02  1.000000e-06 -2.391968e-01 -3.131156e-01  3.381142e-08 -1.931814e-09
+ 1.590660e-02  2.006944e-03 -2.391278e-01 -3.130438e-01 -9.312196e-09 -1.731784e-08
+ 1.590660e-02  2.837833e-03 -2.390617e-01 -3.129717e-01  1.722390e-09 -1.780176e-08
+ 1.590660e-02  3.475396e-03 -2.389985e-01 -3.128994e-01  1.045722e-08 -6.639023e-09
+ 1.590660e-02  4.012887e-03 -2.389384e-01 -3.128269e-01  9.852591e-08  2.616654e-08
+ 1.590660e-02  4.486426e-03 -2.388816e-01 -3.127541e-01  1.494527e-07  3.686953e-08
+ 1.590660e-02  4.914538e-03 -2.388274e-01 -3.126810e-01  1.520612e-06  4.518406e-07
+ 1.590660e-02  5.308228e-03 -2.387807e-01 -3.126089e-01 -5.385021e-06 -1.771436e-06
+ 1.590660e-02  5.674665e-03 -2.387450e-01 -3.125393e-01 -3.498496e-07 -1.346450e-07
+ 1.590660e-02  6.018831e-03 -2.387071e-01 -3.124676e-01 -3.107796e-05 -1.065647e-05
+ 1.590660e-02  6.344350e-03 -2.386412e-01 -3.123848e-01  3.212642e-05  1.118148e-05
+ 1.590660e-02  6.653962e-03 -2.385552e-01 -3.122931e-01  6.167399e-06  2.195300e-06
+ 1.590660e-02  6.949792e-03 -2.385034e-01 -3.122119e-01  2.993293e-05  1.072667e-05
+ 1.590660e-02  7.233532e-03 -2.384725e-01 -3.121366e-01  1.255621e-06  4.561121e-07
+ 1.590660e-02  7.506553e-03 -2.384479e-01 -3.120622e-01  5.910822e-06  2.141948e-06
+ 1.590660e-02  7.769986e-03 -2.384247e-01 -3.119867e-01  1.028621e-05  3.737611e-06
+ 1.590660e-02  8.024774e-03 -2.384018e-01 -3.119098e-01  4.327544e-06  1.570286e-06
+ 1.590660e-02  8.271717e-03 -2.383797e-01 -3.118317e-01 -1.224920e-06 -4.601246e-07
+ 1.590660e-02  8.511498e-03 -2.383590e-01 -3.117525e-01 -3.211675e-06 -1.189855e-06
+ 1.590660e-02  8.744705e-03 -2.383403e-01 -3.116725e-01 -3.375525e-06 -1.257324e-06
+ 1.590660e-02  8.971852e-03 -2.383237e-01 -3.115918e-01 -3.178703e-06 -1.190522e-06
+ 1.590660e-02  9.193388e-03 -2.383093e-01 -3.115102e-01 -3.115696e-06 -1.180959e-06
+ 1.590660e-02  9.409709e-03 -2.382972e-01 -3.114280e-01 -3.052108e-06 -1.162383e-06
+ 1.590660e-02  9.621167e-03 -2.382870e-01 -3.113448e-01 -2.298259e-06 -8.773969e-07
+ 1.590660e-02  9.828076e-03 -2.382785e-01 -3.112608e-01  2.884587e-07  9.156435e-08
+ 1.590660e-02  1.003072e-02 -2.382715e-01 -3.111757e-01  4.846816e-06  1.831575e-06
+ 1.590660e-02  1.022935e-02 -2.382654e-01 -3.110893e-01  7.314239e-06  2.800398e-06
+ 1.590660e-02  1.042419e-02 -2.382602e-01 -3.110018e-01  2.616893e-06  1.005964e-06
+ 1.590660e-02  1.061546e-02 -2.382568e-01 -3.109132e-01  1.782250e-06  7.035311e-07
+ 1.590660e-02  1.080334e-02 -2.382573e-01 -3.108246e-01  1.910494e-05  7.526722e-06
+ 1.590660e-02  1.098801e-02 -2.382663e-01 -3.107377e-01  1.059572e-05  4.199537e-06
+ 1.590660e-02  1.116962e-02 -2.382883e-01 -3.106545e-01 -5.128587e-05 -2.039325e-05
+ 1.590660e-02  1.134833e-02 -2.383164e-01 -3.105722e-01  2.214949e-05  8.715567e-06
+ 1.590660e-02  1.152427e-02 -2.383347e-01 -3.104846e-01 -1.880780e-05 -7.749000e-06
+ 1.590660e-02  1.169756e-02 -2.383427e-01 -3.103911e-01 -1.211636e-06 -4.074144e-07
+ 1.590660e-02  1.186832e-02 -2.383485e-01 -3.102948e-01 -4.901867e-06 -2.020760e-06
+ 1.590660e-02  1.203666e-02 -2.383580e-01 -3.101990e-01  1.450592e-06  5.984600e-07
+ 1.590660e-02  1.220268e-02 -2.383723e-01 -3.101028e-01 -9.561511e-08  1.799864e-07
+ 1.590660e-02  1.236647e-02 -2.383886e-01 -3.100060e-01 -1.232524e-06  2.609568e-06
+ 1.590660e-02  1.252811e-02 -2.384047e-01 -3.099113e-01  3.168883e-06 -3.946223e-06
+ 1.590660e-02  1.268770e-02 -2.384235e-01 -3.098140e-01  3.595251e-07 -2.925761e-06
+ 1.590660e-02  1.284531e-02 -2.384457e-01 -3.097111e-01 -2.643969e-06  1.847102e-06
+ 1.590660e-02  1.300100e-02 -2.384654e-01 -3.096113e-01 -1.713636e-07  2.855551e-07
+ 1.590660e-02  1.315485e-02 -2.384862e-01 -3.095097e-01  6.121310e-07 -1.216555e-06
+ 1.590660e-02  1.330692e-02 -2.385118e-01 -3.094032e-01 -1.050485e-06  8.985558e-07
+ 1.590660e-02  1.345728e-02 -2.385318e-01 -3.093012e-01 -6.433789e-06  3.506182e-06
+ 1.590660e-02  1.360597e-02 -2.385527e-01 -3.091982e-01  1.144611e-06 -1.729958e-06
+ 1.590660e-02  1.375306e-02 -2.385775e-01 -3.090905e-01  4.413478e-07 -9.737863e-09
+ 1.590660e-02  1.389858e-02 -2.386016e-01 -3.089827e-01  4.119985e-07 -2.384887e-07
+ 1.590660e-02  1.404260e-02 -2.386259e-01 -3.088734e-01  8.053633e-08 -1.470261e-07
+ 1.590660e-02  1.418516e-02 -2.386503e-01 -3.087629e-01  1.571416e-07 -1.218853e-07
+ 1.590660e-02  1.432630e-02 -2.386743e-01 -3.086512e-01 -1.040814e-07 -8.764076e-08
+ 1.590660e-02  1.446606e-02 -2.386982e-01 -3.085380e-01 -9.732902e-09 -2.506059e-07
+ 1.590660e-02  1.460449e-02 -2.387219e-01 -3.084234e-01  9.394292e-08 -2.673033e-08
+ 1.590660e-02  1.474161e-02 -2.387450e-01 -3.083072e-01  1.767777e-07  2.366023e-07
+ 1.590660e-02  1.487748e-02 -2.387675e-01 -3.081895e-01  8.427079e-08 -1.272667e-08
+ 1.590660e-02  1.501211e-02 -2.387893e-01 -3.080703e-01  1.270527e-07  2.279358e-08
+ 1.590660e-02  1.514554e-02 -2.388103e-01 -3.079496e-01  3.221998e-07  7.899096e-07
+ 1.590660e-02  1.527781e-02 -2.388303e-01 -3.078276e-01  2.400037e-07  5.823707e-07
+ 1.590660e-02  1.540894e-02 -2.388493e-01 -3.077041e-01  2.953164e-10 -2.605707e-07
+ 1.590660e-02  1.553897e-02 -2.388669e-01 -3.075790e-01  1.896424e-08 -1.060567e-07
+ 1.590660e-02  1.566792e-02 -2.388832e-01 -3.074520e-01  2.626448e-08  4.580765e-09
+ 1.590660e-02  1.579582e-02 -2.388978e-01 -3.073233e-01 -1.811007e-08 -1.867271e-07
+ 1.590660e-02  1.592268e-02 -2.389106e-01 -3.071929e-01  1.679109e-07  3.959208e-08
+ 1.590660e-02  1.604855e-02 -2.389217e-01 -3.070606e-01 -2.270271e-08 -1.574840e-08
+ 1.590660e-02  1.617343e-02 -2.389307e-01 -3.069268e-01 -1.944156e-08  1.602460e-09
+ 1.590660e-02  1.629736e-02 -2.389376e-01 -3.067910e-01  3.222995e-08 -3.232353e-08
+ 1.590660e-02  1.642036e-02 -2.389420e-01 -3.066534e-01 -5.300980e-08 -2.309788e-08
+ 1.590660e-02  1.654243e-02 -2.389441e-01 -3.065139e-01 -5.032824e-08 -2.773821e-08
+ 1.590660e-02  1.666362e-02 -2.389430e-01 -3.063719e-01 -1.412189e-08 -7.402994e-09
+ 1.590660e-02  1.678393e-02 -2.389389e-01 -3.062266e-01 -7.978841e-08 -1.806741e-07
+ 1.590660e-02  1.690338e-02 -2.389275e-01 -3.060596e-01 -1.572023e-05 -6.812928e-05
+ 1.590660e-02  1.702200e-02 -2.389294e-01 -3.059661e-01 -7.143154e-08 -2.231902e-07
+ 1.590660e-02  1.713979e-02 -2.389138e-01 -3.058014e-01 -5.457120e-08  1.762726e-08
+ 1.590660e-02  1.725678e-02 -2.388976e-01 -3.056512e-01 -9.752986e-09  1.084705e-08
+ 1.590660e-02  1.737298e-02 -2.388786e-01 -3.055014e-01  3.866236e-09 -2.496889e-09
+ 1.590660e-02  1.748841e-02 -2.388569e-01 -3.053523e-01 -4.372661e-08 -2.209581e-07
+ 1.590660e-02  1.760308e-02 -2.388324e-01 -3.052033e-01  1.299638e-07  2.338145e-08
+ 1.590660e-02  1.771701e-02 -2.388068e-01 -3.050583e-01 -5.286239e-08  2.513030e-07
+ 1.590660e-02  1.783022e-02 -2.387813e-01 -3.049196e-01 -5.465654e-07 -5.263433e-08
+ 1.590660e-02  1.794270e-02 -2.387548e-01 -3.047815e-01 -4.068163e-07  5.317185e-07
+ 1.590660e-02  1.805449e-02 -2.385201e-01 -3.042727e-01 -1.758770e-05 -2.516971e-05
+ 1.590660e-02  1.816559e-02 -2.385192e-01 -3.041986e-01 -8.608452e-06 -1.221564e-05
+ 1.590660e-02  1.827602e-02 -2.384334e-01 -3.040053e-01 -8.472093e-07  4.156452e-07
+ 1.590660e-02  1.838578e-02 -2.384401e-01 -3.039066e-01 -2.939886e-06 -4.177310e-06
+ 1.590660e-02  1.849489e-02 -2.383215e-01 -3.036917e-01  2.969978e-06  1.765760e-06
+ 1.590660e-02  1.860336e-02 -2.382680e-01 -3.035319e-01  4.121766e-06  8.134256e-07
+ 1.590660e-02  1.871120e-02 -2.380737e-01 -3.032666e-01 -5.258638e-06  7.792388e-07
+ 1.590660e-02  1.881842e-02 -2.379690e-01 -3.030818e-01  1.573026e-06  2.553907e-06
+ 1.590660e-02  1.892503e-02 -2.378754e-01 -3.028997e-01  2.876543e-06  4.285475e-07
+ 1.590660e-02  1.903105e-02 -2.376989e-01 -3.026674e-01 -1.070069e-06 -7.400320e-07
+ 1.590660e-02  1.913648e-02 -2.374644e-01 -3.023999e-01  2.438844e-05  1.764142e-05
+ 1.590660e-02  1.924133e-02 -2.364450e-01 -3.017480e-01  2.663831e-04  2.220739e-04
+ 1.590660e-02  1.934562e-02 -2.366880e-01 -3.018157e-01 -6.207154e-07 -6.083438e-05
+ 1.590660e-02  1.944934e-02 -2.360289e-01 -3.011202e-01 -2.360289e-01 -3.011202e-01
+ 1.590660e-02  1.955252e-02 -2.366158e-01 -3.013682e-01  1.622206e-06  1.332785e-05
+ 1.590660e-02  1.965515e-02 -2.366151e-01 -3.013766e-01 -8.053512e-07 -1.916683e-07
+ 1.590660e-02  1.975725e-02 -2.365733e-01 -3.011710e-01 -1.287976e-05 -8.350327e-05
+ 1.590660e-02  1.985883e-02 -2.365260e-01 -3.008897e-01  7.105804e-05  3.985074e-04
+ 1.590660e-02  1.995989e-02 -2.365028e-01 -3.007501e-01 -3.199490e-06 -4.509411e-06
+ 1.590660e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.364996e-01  3.007456e-01
+ 1.590660e-02  2.016048e-02 -2.373760e-01 -3.011355e-01 -6.827096e-04 -4.814054e-04
+ 1.590660e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.590660e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.366933e-01  3.006541e-01
+ 1.603234e-02  1.000000e-06 -2.396484e-01 -3.132519e-01  5.862030e-09  1.440323e-07
+ 1.603234e-02  2.006944e-03 -2.395736e-01 -3.131800e-01 -1.827584e-08 -1.403302e-07
+ 1.603234e-02  2.837833e-03 -2.395014e-01 -3.131077e-01 -1.335641e-08 -7.392746e-08
+ 1.603234e-02  3.475396e-03 -2.394319e-01 -3.130350e-01 -5.178684e-09  2.242155e-08
+ 1.603234e-02  4.012887e-03 -2.393653e-01 -3.129618e-01  2.164881e-08 -3.773630e-09
+ 1.603234e-02  4.486426e-03 -2.393015e-01 -3.128883e-01  5.036077e-08 -6.041754e-08
+ 1.603234e-02  4.914538e-03 -2.392405e-01 -3.128143e-01  3.260841e-08 -6.762205e-08
+ 1.603234e-02  5.308228e-03 -2.391826e-01 -3.127399e-01 -8.313417e-09 -4.190784e-08
+ 1.603234e-02  5.674665e-03 -2.391275e-01 -3.126650e-01 -2.190891e-08 -1.883823e-08
+ 1.603234e-02  6.018831e-03 -2.390754e-01 -3.125897e-01 -2.732667e-09 -2.835321e-09
+ 1.603234e-02  6.344350e-03 -2.390262e-01 -3.125139e-01  1.780433e-09  1.048838e-09
+ 1.603234e-02  6.653962e-03 -2.389799e-01 -3.124376e-01 -6.409355e-09 -1.973054e-09
+ 1.603234e-02  6.949792e-03 -2.389364e-01 -3.123608e-01  2.059520e-08  1.079611e-08
+ 1.603234e-02  7.233532e-03 -2.388958e-01 -3.122835e-01  1.403606e-08  3.064940e-09
+ 1.603234e-02  7.506553e-03 -2.388580e-01 -3.122056e-01  5.892564e-08  1.045853e-08
+ 1.603234e-02  7.769986e-03 -2.388228e-01 -3.121271e-01  1.227926e-07  2.412311e-08
+ 1.603234e-02  8.024774e-03 -2.387905e-01 -3.120480e-01  2.570243e-07  6.980939e-08
+ 1.603234e-02  8.271717e-03 -2.387608e-01 -3.119683e-01  5.315761e-08 -4.330681e-09
+ 1.603234e-02  8.511498e-03 -2.387335e-01 -3.118879e-01  3.133588e-08 -6.956904e-09
+ 1.603234e-02  8.744705e-03 -2.387087e-01 -3.118068e-01  1.392937e-07  4.616417e-08
+ 1.603234e-02  8.971852e-03 -2.386862e-01 -3.117250e-01  7.964098e-08  3.085302e-08
+ 1.603234e-02  9.193388e-03 -2.386661e-01 -3.116424e-01 -3.487632e-08 -2.610627e-09
+ 1.603234e-02  9.409709e-03 -2.386484e-01 -3.115591e-01 -2.363708e-08  6.372131e-09
+ 1.603234e-02  9.621167e-03 -2.386329e-01 -3.114751e-01  9.614014e-08  3.527430e-08
+ 1.603234e-02  9.828076e-03 -2.386196e-01 -3.113903e-01  1.026712e-07  4.386296e-08
+ 1.603234e-02  1.003072e-02 -2.386084e-01 -3.113046e-01 -1.350862e-07 -3.675527e-09
+ 1.603234e-02  1.022935e-02 -2.385993e-01 -3.112182e-01 -1.574315e-07 -1.439545e-08
+ 1.603234e-02  1.042419e-02 -2.385921e-01 -3.111308e-01  5.707944e-07  1.540944e-07
+ 1.603234e-02  1.061546e-02 -2.385869e-01 -3.110427e-01  1.257752e-06  3.173066e-07
+ 1.603234e-02  1.080334e-02 -2.385838e-01 -3.109537e-01  6.383638e-07  1.664102e-07
+ 1.603234e-02  1.098801e-02 -2.385829e-01 -3.108639e-01 -8.936241e-08 -2.616216e-09
+ 1.603234e-02  1.116962e-02 -2.385840e-01 -3.107733e-01  4.149475e-07  1.245559e-07
+ 1.603234e-02  1.134833e-02 -2.385869e-01 -3.106818e-01  1.329257e-07  7.863532e-08
+ 1.603234e-02  1.152427e-02 -2.385911e-01 -3.105892e-01 -4.168338e-07 -3.426801e-08
+ 1.603234e-02  1.169756e-02 -2.385966e-01 -3.104957e-01  9.675988e-08  1.324413e-08
+ 1.603234e-02  1.186832e-02 -2.386038e-01 -3.104011e-01 -1.029259e-07  1.231695e-08
+ 1.603234e-02  1.203666e-02 -2.386129e-01 -3.103057e-01  4.915565e-07  4.516183e-07
+ 1.603234e-02  1.220268e-02 -2.386236e-01 -3.102094e-01 -1.090309e-06  6.809897e-09
+ 1.603234e-02  1.236647e-02 -2.386358e-01 -3.101111e-01 -1.847028e-06  4.715950e-07
+ 1.603234e-02  1.252811e-02 -2.386472e-01 -3.100139e-01  1.174351e-06 -1.638577e-06
+ 1.603234e-02  1.268770e-02 -2.386585e-01 -3.099169e-01 -6.297532e-07 -1.804386e-07
+ 1.603234e-02  1.284531e-02 -2.386741e-01 -3.098136e-01  2.435889e-06 -2.858113e-06
+ 1.603234e-02  1.300100e-02 -2.386908e-01 -3.097099e-01 -3.279911e-07  9.179484e-07
+ 1.603234e-02  1.315485e-02 -2.387058e-01 -3.096089e-01  1.691255e-06 -2.450080e-06
+ 1.603234e-02  1.330692e-02 -2.387249e-01 -3.095012e-01 -3.385016e-06  5.239936e-06
+ 1.603234e-02  1.345728e-02 -2.387429e-01 -3.093950e-01 -2.102256e-06  3.407714e-06
+ 1.603234e-02  1.360597e-02 -2.387586e-01 -3.092920e-01  1.898303e-06 -3.021700e-06
+ 1.603234e-02  1.375306e-02 -2.387761e-01 -3.091837e-01  1.157314e-07 -2.864346e-07
+ 1.603234e-02  1.389858e-02 -2.387941e-01 -3.090740e-01  4.514366e-07 -8.403457e-08
+ 1.603234e-02  1.404260e-02 -2.388129e-01 -3.089636e-01 -4.233086e-08 -3.517322e-07
+ 1.603234e-02  1.418516e-02 -2.388318e-01 -3.088513e-01 -2.571242e-07 -7.224056e-07
+ 1.603234e-02  1.432630e-02 -2.388500e-01 -3.087378e-01 -2.520789e-08 -1.792170e-07
+ 1.603234e-02  1.446606e-02 -2.388681e-01 -3.086226e-01  1.680074e-07  3.038398e-07
+ 1.603234e-02  1.460449e-02 -2.388858e-01 -3.085061e-01  1.951895e-08  1.349954e-08
+ 1.603234e-02  1.474161e-02 -2.389032e-01 -3.083882e-01 -1.045924e-08  5.840666e-09
+ 1.603234e-02  1.487748e-02 -2.389195e-01 -3.082690e-01 -5.676175e-07 -1.155772e-07
+ 1.603234e-02  1.501211e-02 -2.389354e-01 -3.081482e-01 -6.032645e-08 -1.979834e-07
+ 1.603234e-02  1.514554e-02 -2.389502e-01 -3.080256e-01  1.864024e-08  2.460884e-07
+ 1.603234e-02  1.527781e-02 -2.389640e-01 -3.079013e-01  1.729791e-08  3.251214e-08
+ 1.603234e-02  1.540894e-02 -2.389765e-01 -3.077753e-01  3.196817e-08  1.558334e-07
+ 1.603234e-02  1.553897e-02 -2.389878e-01 -3.076478e-01  2.055039e-07  9.965562e-07
+ 1.603234e-02  1.566792e-02 -2.389976e-01 -3.075190e-01  1.208507e-08 -1.336014e-08
+ 1.603234e-02  1.579582e-02 -2.390058e-01 -3.073885e-01 -3.504122e-08 -2.057097e-07
+ 1.603234e-02  1.592268e-02 -2.390120e-01 -3.072559e-01  5.085321e-08  2.928066e-08
+ 1.603234e-02  1.604855e-02 -2.390164e-01 -3.071215e-01 -1.810063e-07 -5.332282e-08
+ 1.603234e-02  1.617343e-02 -2.390187e-01 -3.069851e-01 -1.467204e-09 -1.726799e-09
+ 1.603234e-02  1.629736e-02 -2.390186e-01 -3.068470e-01 -1.541472e-09  3.658882e-09
+ 1.603234e-02  1.642036e-02 -2.390159e-01 -3.067069e-01  9.101537e-08 -2.951678e-09
+ 1.603234e-02  1.654243e-02 -2.390108e-01 -3.065648e-01 -3.282044e-08 -2.715630e-08
+ 1.603234e-02  1.666362e-02 -2.390027e-01 -3.064203e-01  6.144048e-08  1.106326e-08
+ 1.603234e-02  1.678393e-02 -2.389913e-01 -3.062723e-01  2.824502e-09  4.160327e-09
+ 1.603234e-02  1.690338e-02 -2.389691e-01 -3.060948e-01 -2.137374e-05 -8.451131e-05
+ 1.603234e-02  1.702200e-02 -2.389711e-01 -3.060196e-01 -4.883373e-06 -2.806729e-05
+ 1.603234e-02  1.713979e-02 -2.389444e-01 -3.058404e-01 -4.269784e-08  5.673883e-08
+ 1.603234e-02  1.725678e-02 -2.389204e-01 -3.056866e-01 -7.260215e-08 -1.000523e-08
+ 1.603234e-02  1.737298e-02 -2.388936e-01 -3.055334e-01  1.777266e-08  4.324311e-09
+ 1.603234e-02  1.748841e-02 -2.388640e-01 -3.053808e-01 -1.548627e-09  4.278091e-08
+ 1.603234e-02  1.760308e-02 -2.388319e-01 -3.052286e-01  1.232433e-07  3.325872e-08
+ 1.603234e-02  1.771701e-02 -2.387989e-01 -3.050806e-01 -1.069174e-07  6.397540e-08
+ 1.603234e-02  1.783022e-02 -2.387665e-01 -3.049385e-01 -4.695667e-07  5.213684e-08
+ 1.603234e-02  1.794270e-02 -2.387340e-01 -3.047980e-01 -5.109064e-07 -1.649914e-08
+ 1.603234e-02  1.805449e-02 -2.385183e-01 -3.043482e-01 -7.691315e-05 -9.603807e-05
+ 1.603234e-02  1.816559e-02 -2.384418e-01 -3.041774e-01  9.569925e-06  1.357611e-05
+ 1.603234e-02  1.827602e-02 -2.383031e-01 -3.039483e-01  1.233793e-05  1.436710e-06
+ 1.603234e-02  1.838578e-02 -2.383458e-01 -3.038903e-01 -4.840740e-06 -3.619418e-06
+ 1.603234e-02  1.849489e-02 -2.382508e-01 -3.036992e-01 -2.413812e-06 -1.249943e-06
+ 1.603234e-02  1.860336e-02 -2.380524e-01 -3.034359e-01  1.626274e-04  1.278942e-04
+ 1.603234e-02  1.871120e-02 -2.379668e-01 -3.032551e-01 -1.050212e-05 -1.977083e-07
+ 1.603234e-02  1.881842e-02 -2.378624e-01 -3.030711e-01  4.048848e-06  4.127708e-07
+ 1.603234e-02  1.892503e-02 -2.376769e-01 -3.028391e-01 -6.134888e-07 -7.222903e-08
+ 1.603234e-02  1.903105e-02 -2.374643e-01 -3.025906e-01  2.406891e-06  8.082802e-07
+ 1.603234e-02  1.913648e-02 -2.365546e-01 -3.019384e-01  1.332437e-04  1.123050e-04
+ 1.603234e-02  1.924133e-02 -2.359896e-01 -3.014713e-01  7.458397e-04  4.596828e-04
+ 1.603234e-02  1.934562e-02 -2.366953e-01 -3.018114e-01  1.829013e-06  1.746212e-05
+ 1.603234e-02  1.944934e-02 -2.355308e-01 -3.008269e-01  1.573849e-03  7.942930e-04
+ 1.603234e-02  1.955252e-02 -2.366138e-01 -3.013932e-01  3.318092e-07 -2.242393e-05
+ 1.603234e-02  1.965515e-02 -2.366110e-01 -3.013595e-01  8.070619e-08  5.836055e-07
+ 1.603234e-02  1.975725e-02 -2.365895e-01 -3.012346e-01 -1.294366e-06 -4.973392e-06
+ 1.603234e-02  1.985883e-02 -2.365127e-01 -3.008229e-01  6.596483e-07 -1.059479e-06
+ 1.603234e-02  1.995989e-02 -2.364972e-01 -3.007311e-01 -4.745871e-07 -1.097672e-06
+ 1.603234e-02  2.006044e-02 -2.360447e-01 -3.005264e-01  4.795329e-04  8.171619e-05
+ 1.603234e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.603234e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.365243e-01  3.006081e-01
+ 1.615710e-02  1.000000e-06 -2.400951e-01 -3.133854e-01 -1.158341e-08 -2.676373e-08
+ 1.615710e-02  2.006944e-03 -2.400147e-01 -3.133133e-01  1.977521e-08  2.687294e-08
+ 1.615710e-02  2.837833e-03 -2.399369e-01 -3.132409e-01 -2.188712e-08 -5.218076e-08
+ 1.615710e-02  3.475396e-03 -2.398618e-01 -3.131679e-01 -9.661100e-09 -1.039328e-07
+ 1.615710e-02  4.012887e-03 -2.397895e-01 -3.130944e-01  1.058870e-07  5.246832e-08
+ 1.615710e-02  4.486426e-03 -2.397199e-01 -3.130204e-01  1.402244e-07  1.378126e-07
+ 1.615710e-02  4.914538e-03 -2.396533e-01 -3.129459e-01  3.524356e-08  4.158208e-08
+ 1.615710e-02  5.308228e-03 -2.395895e-01 -3.128710e-01 -4.783519e-08 -4.802726e-08
+ 1.615710e-02  5.674665e-03 -2.395286e-01 -3.127955e-01 -3.945835e-09 -3.864583e-09
+ 1.615710e-02  6.018831e-03 -2.394706e-01 -3.127196e-01  1.251926e-07  1.287567e-07
+ 1.615710e-02  6.344350e-03 -2.394156e-01 -3.126431e-01  2.731084e-07  2.482811e-07
+ 1.615710e-02  6.653962e-03 -2.393635e-01 -3.125661e-01  4.331265e-07  3.180635e-07
+ 1.615710e-02  6.949792e-03 -2.393142e-01 -3.124886e-01  5.553716e-07  3.385005e-07
+ 1.615710e-02  7.233532e-03 -2.392678e-01 -3.124104e-01  6.146245e-07  3.291061e-07
+ 1.615710e-02  7.506553e-03 -2.392243e-01 -3.123317e-01  6.241973e-07  3.172607e-07
+ 1.615710e-02  7.769986e-03 -2.391834e-01 -3.122523e-01  6.291159e-07  3.123655e-07
+ 1.615710e-02  8.024774e-03 -2.391453e-01 -3.121723e-01  6.583791e-07  3.123073e-07
+ 1.615710e-02  8.271717e-03 -2.391099e-01 -3.120917e-01  7.167560e-07  3.147700e-07
+ 1.615710e-02  8.511498e-03 -2.390771e-01 -3.120104e-01  7.622193e-07  3.096419e-07
+ 1.615710e-02  8.744705e-03 -2.390468e-01 -3.119284e-01  7.395224e-07  2.766292e-07
+ 1.615710e-02  8.971852e-03 -2.390191e-01 -3.118457e-01  5.783661e-07  2.048402e-07
+ 1.615710e-02  9.193388e-03 -2.389939e-01 -3.117623e-01  2.794107e-07  9.777813e-08
+ 1.615710e-02  9.409709e-03 -2.389711e-01 -3.116781e-01 -2.751183e-08 -6.562912e-09
+ 1.615710e-02  9.621167e-03 -2.389506e-01 -3.115932e-01 -1.377856e-07 -3.265828e-08
+ 1.615710e-02  9.828076e-03 -2.389325e-01 -3.115075e-01  9.334484e-08  3.369594e-08
+ 1.615710e-02  1.003072e-02 -2.389167e-01 -3.114210e-01  3.807682e-07  1.034193e-07
+ 1.615710e-02  1.022935e-02 -2.389030e-01 -3.113337e-01  2.407072e-07  6.727674e-08
+ 1.615710e-02  1.042419e-02 -2.388913e-01 -3.112456e-01 -2.187619e-07 -4.430626e-08
+ 1.615710e-02  1.061546e-02 -2.388814e-01 -3.111565e-01 -2.679774e-07 -5.899797e-08
+ 1.615710e-02  1.080334e-02 -2.388734e-01 -3.110666e-01  6.779051e-08  1.349563e-08
+ 1.615710e-02  1.098801e-02 -2.388673e-01 -3.109757e-01 -6.346432e-09  9.921928e-09
+ 1.615710e-02  1.116962e-02 -2.388632e-01 -3.108839e-01  9.385080e-08  5.479023e-08
+ 1.615710e-02  1.134833e-02 -2.388610e-01 -3.107914e-01  6.106795e-07  1.295757e-07
+ 1.615710e-02  1.152427e-02 -2.388607e-01 -3.106978e-01 -5.653449e-07 -1.206640e-07
+ 1.615710e-02  1.169756e-02 -2.388618e-01 -3.106032e-01 -1.721352e-06 -2.691437e-07
+ 1.615710e-02  1.186832e-02 -2.388640e-01 -3.105076e-01 -2.310610e-07  4.194018e-08
+ 1.615710e-02  1.203666e-02 -2.388673e-01 -3.104107e-01 -1.027380e-07  1.513024e-07
+ 1.615710e-02  1.220268e-02 -2.388716e-01 -3.103131e-01 -4.337125e-07 -1.518586e-07
+ 1.615710e-02  1.236647e-02 -2.388779e-01 -3.102136e-01  6.171641e-07  1.473285e-07
+ 1.615710e-02  1.252811e-02 -2.388853e-01 -3.101137e-01 -9.980095e-07  2.378978e-06
+ 1.615710e-02  1.268770e-02 -2.388919e-01 -3.100160e-01  1.856180e-06 -3.243772e-06
+ 1.615710e-02  1.284531e-02 -2.389012e-01 -3.099136e-01  2.632434e-06 -4.471897e-06
+ 1.615710e-02  1.300100e-02 -2.389133e-01 -3.098069e-01 -1.661812e-06  2.868661e-06
+ 1.615710e-02  1.315485e-02 -2.389229e-01 -3.097042e-01  2.305451e-07 -1.189479e-07
+ 1.615710e-02  1.330692e-02 -2.389352e-01 -3.095971e-01 -1.419504e-06  2.082826e-06
+ 1.615710e-02  1.345728e-02 -2.389494e-01 -3.094869e-01 -1.459549e-08 -1.342661e-08
+ 1.615710e-02  1.360597e-02 -2.389592e-01 -3.093820e-01 -6.834084e-07  1.119270e-06
+ 1.615710e-02  1.375306e-02 -2.389710e-01 -3.092736e-01  1.775357e-07 -2.105553e-07
+ 1.615710e-02  1.389858e-02 -2.389853e-01 -3.091615e-01 -4.501295e-07  1.978023e-07
+ 1.615710e-02  1.404260e-02 -2.389951e-01 -3.090495e-01 -3.459670e-06  2.924371e-07
+ 1.615710e-02  1.418516e-02 -2.390091e-01 -3.089355e-01 -1.210605e-08 -1.584563e-07
+ 1.615710e-02  1.432630e-02 -2.390219e-01 -3.088206e-01  2.920439e-08 -2.325646e-07
+ 1.615710e-02  1.446606e-02 -2.390344e-01 -3.087040e-01  4.724867e-08  4.198922e-08
+ 1.615710e-02  1.460449e-02 -2.390462e-01 -3.085861e-01 -1.460926e-07 -6.904520e-07
+ 1.615710e-02  1.474161e-02 -2.390574e-01 -3.084663e-01 -1.624522e-07 -6.285631e-07
+ 1.615710e-02  1.487748e-02 -2.390679e-01 -3.083448e-01  1.146597e-07  2.842884e-07
+ 1.615710e-02  1.501211e-02 -2.390775e-01 -3.082217e-01  1.623323e-08  1.571698e-08
+ 1.615710e-02  1.514554e-02 -2.390864e-01 -3.080974e-01 -1.483263e-07  1.133520e-08
+ 1.615710e-02  1.527781e-02 -2.390935e-01 -3.079714e-01  1.591094e-07 -1.888866e-07
+ 1.615710e-02  1.540894e-02 -2.391000e-01 -3.078437e-01 -4.026772e-10  5.961210e-08
+ 1.615710e-02  1.553897e-02 -2.391048e-01 -3.077139e-01  4.416681e-08  1.767223e-07
+ 1.615710e-02  1.566792e-02 -2.391080e-01 -3.075823e-01  1.888804e-08  1.295140e-07
+ 1.615710e-02  1.579582e-02 -2.391096e-01 -3.074493e-01  2.419852e-07  1.126247e-06
+ 1.615710e-02  1.592268e-02 -2.391092e-01 -3.073148e-01 -4.141801e-08 -3.116401e-07
+ 1.615710e-02  1.604855e-02 -2.391069e-01 -3.071784e-01 -2.557193e-08  7.213102e-08
+ 1.615710e-02  1.617343e-02 -2.391023e-01 -3.070397e-01 -3.512546e-08 -2.025473e-07
+ 1.615710e-02  1.629736e-02 -2.390952e-01 -3.068990e-01  6.385420e-09 -1.324258e-08
+ 1.615710e-02  1.642036e-02 -2.390857e-01 -3.067565e-01 -4.169629e-08 -2.330473e-08
+ 1.615710e-02  1.654243e-02 -2.390732e-01 -3.066118e-01 -7.048773e-08 -7.010593e-08
+ 1.615710e-02  1.666362e-02 -2.390582e-01 -3.064647e-01 -4.829853e-07 -1.687457e-07
+ 1.615710e-02  1.678393e-02 -2.390391e-01 -3.063139e-01 -3.771286e-08 -5.883297e-08
+ 1.615710e-02  1.690338e-02 -2.390072e-01 -3.061309e-01  1.151925e-05  3.172386e-05
+ 1.615710e-02  1.702200e-02 -2.390079e-01 -3.060634e-01  3.117607e-05  9.832342e-05
+ 1.615710e-02  1.713979e-02 -2.389701e-01 -3.058751e-01 -1.019372e-08  6.302252e-09
+ 1.615710e-02  1.725678e-02 -2.389381e-01 -3.057175e-01 -5.636218e-08 -1.893767e-08
+ 1.615710e-02  1.737298e-02 -2.389033e-01 -3.055610e-01  2.390644e-08  1.066098e-08
+ 1.615710e-02  1.748841e-02 -2.388657e-01 -3.054050e-01  1.413673e-08  7.155712e-09
+ 1.615710e-02  1.760308e-02 -2.388255e-01 -3.052489e-01  1.592065e-07  3.300977e-08
+ 1.615710e-02  1.771701e-02 -2.387850e-01 -3.050982e-01  1.041353e-08  2.758752e-08
+ 1.615710e-02  1.783022e-02 -2.387457e-01 -3.049530e-01 -3.548014e-07  1.783691e-07
+ 1.615710e-02  1.794270e-02 -2.387067e-01 -3.048097e-01 -1.479922e-07  2.841526e-08
+ 1.615710e-02  1.805449e-02 -2.386429e-01 -3.046505e-01 -5.224911e-05 -9.382552e-05
+ 1.615710e-02  1.816559e-02 -2.383964e-01 -3.041980e-01  2.824480e-05  2.993971e-05
+ 1.615710e-02  1.827602e-02 -2.382945e-01 -3.040099e-01  1.507030e-05  9.838852e-06
+ 1.615710e-02  1.838578e-02 -2.382535e-01 -3.038784e-01  2.082465e-07 -4.070926e-07
+ 1.615710e-02  1.849489e-02 -2.381589e-01 -3.036904e-01  2.779663e-06  1.113931e-06
+ 1.615710e-02  1.860336e-02 -2.379594e-01 -3.034310e-01 -3.481221e-06 -3.922292e-06
+ 1.615710e-02  1.871120e-02 -2.378583e-01 -3.032462e-01  1.616682e-06 -1.212571e-06
+ 1.615710e-02  1.881842e-02 -2.376731e-01 -3.030073e-01 -1.378730e-05  1.066302e-06
+ 1.615710e-02  1.892503e-02 -2.374550e-01 -3.027606e-01 -2.391094e-06 -3.099605e-06
+ 1.615710e-02  1.903105e-02 -2.367922e-01 -3.022854e-01 -4.287157e-06  2.720770e-05
+ 1.615710e-02  1.913648e-02 -2.367513e-01 -3.021432e-01  6.295118e-07 -2.218617e-05
+ 1.615710e-02  1.924133e-02 -2.365437e-01 -3.018421e-01 -2.343100e-05 -6.615555e-06
+ 1.615710e-02  1.934562e-02 -2.367013e-01 -3.018591e-01 -6.744849e-07 -3.485792e-06
+ 1.615710e-02  1.944934e-02 -2.366608e-01 -3.015852e-01 -3.752575e-07 -1.598175e-05
+ 1.615710e-02  1.955252e-02 -2.366141e-01 -3.013718e-01  2.687100e-06  1.115263e-06
+ 1.615710e-02  1.965515e-02 -2.366050e-01 -3.013304e-01 -5.837254e-06 -2.857872e-05
+ 1.615710e-02  1.975725e-02 -2.365739e-01 -3.011836e-01 -4.931117e-05 -2.917814e-04
+ 1.615710e-02  1.985883e-02 -2.365077e-01 -3.007962e-01  2.624090e-06  1.544651e-05
+ 1.615710e-02  1.995989e-02 -2.364955e-01 -3.007347e-01  1.415813e-06 -8.001704e-06
+ 1.615710e-02  2.006044e-02 -2.367648e-01 -3.008075e-01 -2.417092e-05  4.018629e-06
+ 1.615710e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.615710e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.367407e-01  3.008115e-01
+ 1.628090e-02  1.000000e-06 -2.405368e-01 -3.135158e-01 -6.337183e-09  1.614100e-07
+ 1.628090e-02  2.006944e-03 -2.404509e-01 -3.134436e-01 -7.784141e-09 -6.032485e-08
+ 1.628090e-02  2.837833e-03 -2.403676e-01 -3.133710e-01 -1.797738e-08 -1.096939e-07
+ 1.628090e-02  3.475396e-03 -2.402870e-01 -3.132979e-01  1.070298e-07  5.185271e-08
+ 1.628090e-02  4.012887e-03 -2.402092e-01 -3.132242e-01  3.002805e-08 -1.560292e-07
+ 1.628090e-02  4.486426e-03 -2.401341e-01 -3.131499e-01 -1.913765e-07 -4.151915e-07
+ 1.628090e-02  4.914538e-03 -2.400619e-01 -3.130750e-01 -1.695672e-07 -2.701116e-07
+ 1.628090e-02  5.308228e-03 -2.399926e-01 -3.129996e-01  4.321745e-08  3.336744e-08
+ 1.628090e-02  5.674665e-03 -2.399262e-01 -3.129236e-01  1.034516e-07  1.349800e-07
+ 1.628090e-02  6.018831e-03 -2.398627e-01 -3.128471e-01  9.509124e-08  8.198556e-08
+ 1.628090e-02  6.344350e-03 -2.398021e-01 -3.127701e-01  8.612323e-08  6.762939e-09
+ 1.628090e-02  6.653962e-03 -2.397445e-01 -3.126924e-01  6.578117e-08 -1.899146e-08
+ 1.628090e-02  6.949792e-03 -2.396898e-01 -3.126142e-01  2.726929e-08 -9.496675e-09
+ 1.628090e-02  7.233532e-03 -2.396380e-01 -3.125354e-01  7.033791e-09  6.208881e-09
+ 1.628090e-02  7.506553e-03 -2.395891e-01 -3.124559e-01  1.383339e-08  1.308196e-08
+ 1.628090e-02  7.769986e-03 -2.395429e-01 -3.123758e-01  2.896599e-08  1.642425e-08
+ 1.628090e-02  8.024774e-03 -2.394995e-01 -3.122950e-01  3.418860e-08  1.757534e-08
+ 1.628090e-02  8.271717e-03 -2.394588e-01 -3.122136e-01  2.732125e-08  2.021470e-08
+ 1.628090e-02  8.511498e-03 -2.394207e-01 -3.121314e-01  3.152353e-08  1.793900e-08
+ 1.628090e-02  8.744705e-03 -2.393852e-01 -3.120486e-01  4.258665e-08  1.379629e-08
+ 1.628090e-02  8.971852e-03 -2.393523e-01 -3.119650e-01  4.768836e-08  9.235082e-09
+ 1.628090e-02  9.193388e-03 -2.393218e-01 -3.118806e-01  3.594970e-08 -8.402407e-09
+ 1.628090e-02  9.409709e-03 -2.392938e-01 -3.117955e-01  2.140938e-08 -1.380508e-08
+ 1.628090e-02  9.621167e-03 -2.392681e-01 -3.117096e-01  7.435831e-08  7.085217e-09
+ 1.628090e-02  9.828076e-03 -2.392448e-01 -3.116230e-01  2.575370e-07  5.528842e-08
+ 1.628090e-02  1.003072e-02 -2.392238e-01 -3.115355e-01  4.964575e-07  1.218469e-07
+ 1.628090e-02  1.022935e-02 -2.392050e-01 -3.114472e-01  3.505977e-07  9.303659e-08
+ 1.628090e-02  1.042419e-02 -2.391884e-01 -3.113580e-01 -3.770597e-07 -9.947247e-08
+ 1.628090e-02  1.061546e-02 -2.391737e-01 -3.112679e-01 -1.258896e-06 -3.072432e-07
+ 1.628090e-02  1.080334e-02 -2.391609e-01 -3.111770e-01 -1.247985e-06 -2.733140e-07
+ 1.628090e-02  1.098801e-02 -2.391498e-01 -3.110850e-01 -2.681716e-07 -4.601641e-08
+ 1.628090e-02  1.116962e-02 -2.391403e-01 -3.109921e-01  1.615730e-07  3.854428e-08
+ 1.628090e-02  1.134833e-02 -2.391324e-01 -3.108982e-01 -4.070931e-07 -7.094701e-08
+ 1.628090e-02  1.152427e-02 -2.391262e-01 -3.108033e-01 -3.178449e-07 -2.210020e-08
+ 1.628090e-02  1.169756e-02 -2.391217e-01 -3.107074e-01  4.616122e-07  1.863922e-07
+ 1.628090e-02  1.186832e-02 -2.391188e-01 -3.106106e-01  3.925150e-07  8.186044e-08
+ 1.628090e-02  1.203666e-02 -2.391174e-01 -3.105126e-01 -7.939578e-09 -1.261563e-09
+ 1.628090e-02  1.220268e-02 -2.391172e-01 -3.104137e-01 -1.174440e-07  2.268691e-07
+ 1.628090e-02  1.236647e-02 -2.391181e-01 -3.103134e-01 -2.018243e-07  2.807333e-07
+ 1.628090e-02  1.252811e-02 -2.391205e-01 -3.102114e-01 -8.845984e-07  1.829620e-06
+ 1.628090e-02  1.268770e-02 -2.391222e-01 -3.101113e-01  2.335846e-06 -3.956097e-06
+ 1.628090e-02  1.284531e-02 -2.391248e-01 -3.100098e-01  4.531658e-07 -7.937763e-07
+ 1.628090e-02  1.300100e-02 -2.391315e-01 -3.099016e-01 -2.621032e-07  4.178890e-07
+ 1.628090e-02  1.315485e-02 -2.391369e-01 -3.097953e-01  2.048204e-07 -5.423516e-07
+ 1.628090e-02  1.330692e-02 -2.391421e-01 -3.096892e-01  1.792057e-06 -2.568683e-06
+ 1.628090e-02  1.345728e-02 -2.391513e-01 -3.095766e-01 -1.903772e-06  2.694985e-06
+ 1.628090e-02  1.360597e-02 -2.391571e-01 -3.094682e-01 -3.695807e-06  4.964958e-06
+ 1.628090e-02  1.375306e-02 -2.391617e-01 -3.093600e-01  1.679669e-06 -2.106011e-06
+ 1.628090e-02  1.389858e-02 -2.391697e-01 -3.092463e-01  2.526019e-07 -2.700447e-07
+ 1.628090e-02  1.404260e-02 -2.391769e-01 -3.091323e-01  4.096098e-07 -4.558284e-07
+ 1.628090e-02  1.418516e-02 -2.391851e-01 -3.090167e-01 -5.090216e-07 -7.881873e-08
+ 1.628090e-02  1.432630e-02 -2.391895e-01 -3.088999e-01  2.828887e-07 -1.211858e-07
+ 1.628090e-02  1.446606e-02 -2.391965e-01 -3.087813e-01  1.811831e-07  2.234715e-07
+ 1.628090e-02  1.460449e-02 -2.392024e-01 -3.086614e-01  8.261298e-08 -1.325871e-07
+ 1.628090e-02  1.474161e-02 -2.392078e-01 -3.085401e-01  2.831920e-08 -1.843719e-07
+ 1.628090e-02  1.487748e-02 -2.392123e-01 -3.084172e-01  9.959376e-08 -3.173325e-08
+ 1.628090e-02  1.501211e-02 -2.392158e-01 -3.082925e-01 -1.401953e-07 -9.600346e-07
+ 1.628090e-02  1.514554e-02 -2.392183e-01 -3.081659e-01  7.544972e-08 -3.529800e-08
+ 1.628090e-02  1.527781e-02 -2.392195e-01 -3.080374e-01  1.227385e-07  1.525018e-07
+ 1.628090e-02  1.540894e-02 -2.392195e-01 -3.079075e-01  2.250009e-08  1.102627e-08
+ 1.628090e-02  1.553897e-02 -2.392176e-01 -3.077761e-01  1.512475e-07 -2.451836e-07
+ 1.628090e-02  1.566792e-02 -2.392145e-01 -3.076427e-01  2.917679e-08  2.255606e-07
+ 1.628090e-02  1.579582e-02 -2.392093e-01 -3.075069e-01  7.783469e-08 -6.625002e-08
+ 1.628090e-02  1.592268e-02 -2.392022e-01 -3.073695e-01  1.391311e-07  9.510509e-07
+ 1.628090e-02  1.604855e-02 -2.391931e-01 -3.072308e-01  7.819806e-09  7.535484e-08
+ 1.628090e-02  1.617343e-02 -2.391815e-01 -3.070902e-01  2.693419e-08 -5.653702e-08
+ 1.628090e-02  1.629736e-02 -2.391675e-01 -3.069471e-01  3.533812e-08 -2.304664e-07
+ 1.628090e-02  1.642036e-02 -2.391508e-01 -3.068018e-01 -1.959092e-08 -9.493381e-09
+ 1.628090e-02  1.654243e-02 -2.391311e-01 -3.066544e-01 -9.641603e-08 -2.767444e-08
+ 1.628090e-02  1.666362e-02 -2.391084e-01 -3.065045e-01 -6.982258e-08 -7.887216e-08
+ 1.628090e-02  1.678393e-02 -2.390821e-01 -3.063511e-01 -2.022979e-08 -1.634284e-07
+ 1.628090e-02  1.690338e-02 -2.390422e-01 -3.061673e-01  3.759069e-06  9.416205e-06
+ 1.628090e-02  1.702200e-02 -2.390378e-01 -3.060944e-01  1.674767e-05  5.124778e-05
+ 1.628090e-02  1.713979e-02 -2.389910e-01 -3.059054e-01  1.481620e-08  1.772865e-07
+ 1.628090e-02  1.725678e-02 -2.389507e-01 -3.057439e-01 -1.161638e-08  4.063821e-09
+ 1.628090e-02  1.737298e-02 -2.389077e-01 -3.055839e-01  2.683892e-08  4.780935e-09
+ 1.628090e-02  1.748841e-02 -2.388620e-01 -3.054244e-01  5.770730e-08  6.789613e-09
+ 1.628090e-02  1.760308e-02 -2.388135e-01 -3.052644e-01  5.217254e-07  1.301773e-06
+ 1.628090e-02  1.771701e-02 -2.387653e-01 -3.051110e-01  1.096265e-07  2.976337e-08
+ 1.628090e-02  1.783022e-02 -2.387189e-01 -3.049630e-01 -1.709151e-07  1.474819e-07
+ 1.628090e-02  1.794270e-02 -2.386729e-01 -3.048161e-01  2.999066e-07  1.499536e-07
+ 1.628090e-02  1.805449e-02 -2.383191e-01 -3.042606e-01 -1.189231e-04 -1.197526e-04
+ 1.628090e-02  1.816559e-02 -2.383455e-01 -3.042143e-01  2.359208e-04  3.342850e-04
+ 1.628090e-02  1.827602e-02 -2.382681e-01 -3.040503e-01 -4.355740e-06 -2.302150e-06
+ 1.628090e-02  1.838578e-02 -2.381559e-01 -3.038615e-01  5.991336e-06 -6.406781e-06
+ 1.628090e-02  1.849489e-02 -2.379456e-01 -3.035881e-01  1.723826e-06  1.639947e-06
+ 1.628090e-02  1.860336e-02 -2.378639e-01 -3.034210e-01 -2.932162e-06 -6.261825e-07
+ 1.628090e-02  1.871120e-02 -2.376468e-01 -3.031680e-01  1.394154e-05  9.695218e-06
+ 1.628090e-02  1.881842e-02 -2.374518e-01 -3.029313e-01 -6.942228e-06 -6.936375e-06
+ 1.628090e-02  1.892503e-02 -2.368127e-01 -3.024427e-01 -8.168947e-04 -4.852082e-04
+ 1.628090e-02  1.903105e-02 -2.368029e-01 -3.022881e-01 -7.614393e-04 -4.598419e-04
+ 1.628090e-02  1.913648e-02 -2.367568e-01 -3.021393e-01  2.314587e-07  6.625028e-05
+ 1.628090e-02  1.924133e-02 -2.366879e-01 -3.019491e-01 -8.675601e-04 -5.879537e-04
+ 1.628090e-02  1.934562e-02 -2.367076e-01 -3.018920e-01 -9.329048e-07 -1.323606e-06
+ 1.628090e-02  1.944934e-02 -2.366593e-01 -3.015677e-01 -5.691046e-08 -1.998175e-06
+ 1.628090e-02  1.955252e-02 -2.366493e-01 -3.015743e-01  3.384473e-07 -5.701391e-07
+ 1.628090e-02  1.965515e-02 -2.366035e-01 -3.013543e-01 -9.321229e-06 -1.215496e-04
+ 1.628090e-02  1.975725e-02 -2.365770e-01 -3.012213e-01 -1.694635e-05 -1.810430e-04
+ 1.628090e-02  1.985883e-02 -2.364983e-01 -3.007463e-01  3.851232e-06 -3.031178e-05
+ 1.628090e-02  1.995989e-02 -2.363743e-01 -3.009053e-01  1.713906e-04  9.087367e-05
+ 1.628090e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.628090e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.365457e-01  3.009962e-01
+ 1.640377e-02  1.000000e-06 -2.409736e-01 -3.136431e-01 -2.205416e-10  1.275645e-08
+ 1.640377e-02  2.006944e-03 -2.408798e-01 -3.135702e-01  1.262921e-06  4.391830e-07
+ 1.640377e-02  2.837833e-03 -2.407927e-01 -3.134978e-01  8.468843e-08  2.630484e-08
+ 1.640377e-02  3.475396e-03 -2.407068e-01 -3.134244e-01  1.134980e-07  4.685433e-09
+ 1.640377e-02  4.012887e-03 -2.406236e-01 -3.133504e-01  3.158819e-09 -1.124575e-08
+ 1.640377e-02  4.486426e-03 -2.405431e-01 -3.132758e-01 -7.049973e-09 -9.192297e-11
+ 1.640377e-02  4.914538e-03 -2.404654e-01 -3.132006e-01 -3.449697e-09  1.308686e-09
+ 1.640377e-02  5.308228e-03 -2.403906e-01 -3.131248e-01  3.105248e-08  5.068514e-08
+ 1.640377e-02  5.674665e-03 -2.403187e-01 -3.130484e-01  1.573774e-07  1.248916e-07
+ 1.640377e-02  6.018831e-03 -2.402498e-01 -3.129714e-01  2.065740e-07  1.013203e-07
+ 1.640377e-02  6.344350e-03 -2.401839e-01 -3.128938e-01  4.661369e-08 -1.310987e-08
+ 1.640377e-02  6.653962e-03 -2.401210e-01 -3.128156e-01 -1.320321e-07 -9.885392e-08
+ 1.640377e-02  6.949792e-03 -2.400610e-01 -3.127368e-01 -1.643292e-07 -1.062132e-07
+ 1.640377e-02  7.233532e-03 -2.400039e-01 -3.126573e-01 -1.440753e-07 -7.572596e-08
+ 1.640377e-02  7.506553e-03 -2.399496e-01 -3.125771e-01 -3.506885e-08 -7.412946e-09
+ 1.640377e-02  7.769986e-03 -2.398982e-01 -3.124963e-01  4.133763e-08  2.507266e-08
+ 1.640377e-02  8.024774e-03 -2.398495e-01 -3.124148e-01  1.130182e-07  3.719559e-08
+ 1.640377e-02  8.271717e-03 -2.398036e-01 -3.123325e-01  1.717515e-07  4.508830e-08
+ 1.640377e-02  8.511498e-03 -2.397604e-01 -3.122496e-01  1.935935e-07  4.285648e-08
+ 1.640377e-02  8.744705e-03 -2.397197e-01 -3.121658e-01  1.592335e-07  4.525364e-08
+ 1.640377e-02  8.971852e-03 -2.396816e-01 -3.120814e-01  1.421027e-07  4.215309e-08
+ 1.640377e-02  9.193388e-03 -2.396461e-01 -3.119961e-01  9.116795e-08  2.874589e-08
+ 1.640377e-02  9.409709e-03 -2.396129e-01 -3.119100e-01  7.354005e-09  5.806917e-09
+ 1.640377e-02  9.621167e-03 -2.395820e-01 -3.118232e-01 -1.480240e-07 -3.981628e-08
+ 1.640377e-02  9.828076e-03 -2.395535e-01 -3.117355e-01 -3.113879e-07 -8.433481e-08
+ 1.640377e-02  1.003072e-02 -2.395272e-01 -3.116469e-01 -3.776606e-07 -9.685667e-08
+ 1.640377e-02  1.022935e-02 -2.395030e-01 -3.115575e-01 -2.303908e-07 -5.689770e-08
+ 1.640377e-02  1.042419e-02 -2.394809e-01 -3.114672e-01  1.258410e-07  3.442532e-08
+ 1.640377e-02  1.061546e-02 -2.394610e-01 -3.113760e-01  4.034337e-07  1.141601e-07
+ 1.640377e-02  1.080334e-02 -2.394429e-01 -3.112839e-01  4.114848e-07  1.167656e-07
+ 1.640377e-02  1.098801e-02 -2.394268e-01 -3.111909e-01  1.535210e-07  3.710590e-08
+ 1.640377e-02  1.116962e-02 -2.394125e-01 -3.110969e-01 -1.639769e-08  7.765835e-09
+ 1.640377e-02  1.134833e-02 -2.393999e-01 -3.110019e-01 -2.063300e-08  4.504138e-08
+ 1.640377e-02  1.152427e-02 -2.393888e-01 -3.109059e-01 -2.866287e-08  1.312044e-08
+ 1.640377e-02  1.169756e-02 -2.393792e-01 -3.108088e-01 -1.151922e-08  2.397343e-09
+ 1.640377e-02  1.186832e-02 -2.393710e-01 -3.107107e-01  1.054154e-07  5.522622e-08
+ 1.640377e-02  1.203666e-02 -2.393642e-01 -3.106114e-01  8.420678e-08  1.055788e-07
+ 1.640377e-02  1.220268e-02 -2.393588e-01 -3.105110e-01 -1.223149e-07  3.233910e-07
+ 1.640377e-02  1.236647e-02 -2.393543e-01 -3.104098e-01  1.398880e-08  3.493831e-08
+ 1.640377e-02  1.252811e-02 -2.393515e-01 -3.103063e-01 -8.441036e-08  1.996907e-07
+ 1.640377e-02  1.268770e-02 -2.393486e-01 -3.102034e-01  2.760044e-08  7.332127e-08
+ 1.640377e-02  1.284531e-02 -2.393452e-01 -3.101017e-01  4.949674e-07 -6.649188e-07
+ 1.640377e-02  1.300100e-02 -2.393456e-01 -3.099935e-01  2.720303e-06 -4.307108e-06
+ 1.640377e-02  1.315485e-02 -2.393470e-01 -3.098835e-01 -8.433346e-07  1.431402e-06
+ 1.640377e-02  1.330692e-02 -2.393459e-01 -3.097772e-01  1.471477e-06 -2.127169e-06
+ 1.640377e-02  1.345728e-02 -2.393490e-01 -3.096638e-01 -3.689786e-06  5.341342e-06
+ 1.640377e-02  1.360597e-02 -2.393510e-01 -3.095512e-01 -2.085757e-06  2.938071e-06
+ 1.640377e-02  1.375306e-02 -2.393494e-01 -3.094424e-01  2.232617e-06 -2.876765e-06
+ 1.640377e-02  1.389858e-02 -2.393510e-01 -3.093279e-01  1.930878e-07 -1.904630e-07
+ 1.640377e-02  1.404260e-02 -2.393528e-01 -3.092116e-01  2.042309e-07 -1.899832e-07
+ 1.640377e-02  1.418516e-02 -2.393540e-01 -3.090946e-01  8.892750e-08  1.646177e-08
+ 1.640377e-02  1.432630e-02 -2.393554e-01 -3.089757e-01 -1.206400e-07  5.582433e-09
+ 1.640377e-02  1.446606e-02 -2.393546e-01 -3.088558e-01  3.088704e-07 -1.209718e-07
+ 1.640377e-02  1.460449e-02 -2.393551e-01 -3.087338e-01  5.004236e-08 -9.169874e-09
+ 1.640377e-02  1.474161e-02 -2.393543e-01 -3.086103e-01  9.671226e-08  1.512550e-07
+ 1.640377e-02  1.487748e-02 -2.393527e-01 -3.084851e-01  8.697568e-08  1.785623e-07
+ 1.640377e-02  1.501211e-02 -2.393501e-01 -3.083586e-01 -7.748687e-09 -2.865058e-07
+ 1.640377e-02  1.514554e-02 -2.393464e-01 -3.082305e-01  6.880813e-08  6.696769e-08
+ 1.640377e-02  1.527781e-02 -2.393413e-01 -3.081004e-01 -1.021009e-07 -1.036710e-06
+ 1.640377e-02  1.540894e-02 -2.393348e-01 -3.079681e-01  9.223038e-08  2.021270e-07
+ 1.640377e-02  1.553897e-02 -2.393266e-01 -3.078340e-01  7.383810e-08 -1.727017e-08
+ 1.640377e-02  1.566792e-02 -2.393168e-01 -3.076984e-01  4.318804e-07  4.844378e-08
+ 1.640377e-02  1.579582e-02 -2.393050e-01 -3.075610e-01  7.737874e-08 -9.288291e-08
+ 1.640377e-02  1.592268e-02 -2.392911e-01 -3.074212e-01  1.034399e-07  1.157823e-07
+ 1.640377e-02  1.604855e-02 -2.392750e-01 -3.072792e-01  1.249901e-07  8.116370e-07
+ 1.640377e-02  1.617343e-02 -2.392565e-01 -3.071361e-01  7.995441e-08  5.854451e-08
+ 1.640377e-02  1.629736e-02 -2.392354e-01 -3.069908e-01  5.828926e-08  1.214496e-07
+ 1.640377e-02  1.642036e-02 -2.392115e-01 -3.068430e-01  3.629760e-08 -2.100970e-07
+ 1.640377e-02  1.654243e-02 -2.391845e-01 -3.066928e-01 -2.534531e-08 -3.872097e-08
+ 1.640377e-02  1.666362e-02 -2.391544e-01 -3.065402e-01  5.567295e-08  7.157542e-09
+ 1.640377e-02  1.678393e-02 -2.391204e-01 -3.063838e-01 -4.249883e-08 -1.024429e-07
+ 1.640377e-02  1.690338e-02 -2.390737e-01 -3.062018e-01  3.015238e-07  7.122422e-07
+ 1.640377e-02  1.702200e-02 -2.390603e-01 -3.061147e-01  6.442423e-06  1.905007e-05
+ 1.640377e-02  1.713979e-02 -2.390070e-01 -3.059311e-01 -3.451175e-09  2.830039e-07
+ 1.640377e-02  1.725678e-02 -2.389581e-01 -3.057657e-01 -4.012631e-08 -1.212684e-08
+ 1.640377e-02  1.737298e-02 -2.389068e-01 -3.056020e-01  8.062420e-10  1.325464e-08
+ 1.640377e-02  1.748841e-02 -2.388527e-01 -3.054390e-01  1.062587e-07  1.704574e-08
+ 1.640377e-02  1.760308e-02 -2.387960e-01 -3.052758e-01 -1.232217e-06 -3.382304e-06
+ 1.640377e-02  1.771701e-02 -2.387397e-01 -3.051188e-01  1.345741e-07  1.425969e-08
+ 1.640377e-02  1.783022e-02 -2.386862e-01 -3.049682e-01 -7.211806e-08  2.989778e-08
+ 1.640377e-02  1.794270e-02 -2.386328e-01 -3.048174e-01  1.055141e-06  2.719524e-06
+ 1.640377e-02  1.805449e-02 -2.382250e-01 -3.042333e-01  1.734267e-04  1.883707e-04
+ 1.640377e-02  1.816559e-02 -2.381938e-01 -3.041288e-01 -6.948003e-06 -3.333066e-06
+ 1.640377e-02  1.827602e-02 -2.382435e-01 -3.040928e-01 -2.288322e-05 -2.334818e-05
+ 1.640377e-02  1.838578e-02 -2.381270e-01 -3.039002e-01 -3.071502e-06 -3.483370e-06
+ 1.640377e-02  1.849489e-02 -2.377831e-01 -3.035312e-01  2.946666e-05  2.037967e-05
+ 1.640377e-02  1.860336e-02 -2.377288e-01 -3.033853e-01 -4.034230e-05 -2.959110e-05
+ 1.640377e-02  1.871120e-02 -2.372585e-01 -3.029811e-01  1.064222e-04  6.490555e-05
+ 1.640377e-02  1.881842e-02 -2.366140e-01 -3.024823e-01  2.270302e-04  1.401654e-04
+ 1.640377e-02  1.892503e-02 -2.368194e-01 -3.024830e-01  8.661578e-05  9.789560e-06
+ 1.640377e-02  1.903105e-02 -2.368029e-01 -3.023615e-01 -2.047490e-05 -4.072571e-06
+ 1.640377e-02  1.913648e-02 -2.367599e-01 -3.021818e-01 -2.378042e-04 -1.975903e-04
+ 1.640377e-02  1.924133e-02 -2.367374e-01 -3.020624e-01  2.703330e-06 -4.691343e-06
+ 1.640377e-02  1.934562e-02 -2.367151e-01 -3.019336e-01 -1.846990e-08 -1.166729e-06
+ 1.640377e-02  1.944934e-02 -2.366805e-01 -3.017674e-01 -2.559406e-05 -6.052076e-05
+ 1.640377e-02  1.955252e-02 -2.366566e-01 -3.016074e-01 -1.109356e-06 -1.091334e-05
+ 1.640377e-02  1.965515e-02 -2.366142e-01 -3.014089e-01 -6.626617e-06 -1.187205e-04
+ 1.640377e-02  1.975725e-02 -2.361778e-01 -3.009031e-01  3.891026e-04  2.678835e-04
+ 1.640377e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.365669e-01  3.011710e-01
+ 1.640377e-02  2.122991e-02 -2.374554e-01 -3.001048e-01 -2.374554e-01 -3.001048e-01
+ 1.640377e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.640377e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.652573e-02  1.000000e-06 -2.414054e-01 -3.137674e-01 -1.891544e-08  6.872140e-09
+ 1.652573e-02  2.006944e-03 -2.413093e-01 -3.136951e-01  5.252485e-08  2.153842e-09
+ 1.652573e-02  2.837833e-03 -2.412157e-01 -3.136222e-01  1.502860e-07 -1.661183e-09
+ 1.652573e-02  3.475396e-03 -2.411250e-01 -3.135488e-01  3.017402e-08  1.642485e-09
+ 1.652573e-02  4.012887e-03 -2.410381e-01 -3.134750e-01  2.267195e-07  6.798254e-08
+ 1.652573e-02  4.486426e-03 -2.409520e-01 -3.134002e-01  2.644767e-05  7.438655e-06
+ 1.652573e-02  4.914538e-03 -2.408596e-01 -3.133218e-01  2.782445e-06  8.695808e-07
+ 1.652573e-02  5.308228e-03 -2.407823e-01 -3.132465e-01  4.552783e-08 -1.770570e-08
+ 1.652573e-02  5.674665e-03 -2.407057e-01 -3.131698e-01  1.073259e-07 -1.665459e-09
+ 1.652573e-02  6.018831e-03 -2.406318e-01 -3.130924e-01  2.363022e-08  7.371361e-09
+ 1.652573e-02  6.344350e-03 -2.405606e-01 -3.130143e-01  1.557344e-08  2.222328e-08
+ 1.652573e-02  6.653962e-03 -2.404924e-01 -3.129355e-01  2.989464e-08  2.527002e-08
+ 1.652573e-02  6.949792e-03 -2.404271e-01 -3.128560e-01 -2.796688e-09  8.838466e-09
+ 1.652573e-02  7.233532e-03 -2.403646e-01 -3.127758e-01  1.210551e-08 -3.168789e-09
+ 1.652573e-02  7.506553e-03 -2.403051e-01 -3.126950e-01  5.576702e-08 -4.571117e-09
+ 1.652573e-02  7.769986e-03 -2.402484e-01 -3.126134e-01  9.496580e-08 -5.211567e-09
+ 1.652573e-02  8.024774e-03 -2.401945e-01 -3.125311e-01  6.320074e-08  1.176672e-09
+ 1.652573e-02  8.271717e-03 -2.401434e-01 -3.124480e-01  8.850720e-09 -2.358311e-09
+ 1.652573e-02  8.511498e-03 -2.400950e-01 -3.123642e-01 -1.563389e-08 -1.415893e-09
+ 1.652573e-02  8.744705e-03 -2.400492e-01 -3.122797e-01 -4.361811e-11  5.821950e-09
+ 1.652573e-02  8.971852e-03 -2.400060e-01 -3.121943e-01 -7.711722e-08 -2.517550e-08
+ 1.652573e-02  9.193388e-03 -2.399653e-01 -3.121082e-01 -1.365518e-08  3.507875e-09
+ 1.652573e-02  9.409709e-03 -2.399271e-01 -3.120212e-01 -1.526990e-08  4.120140e-10
+ 1.652573e-02  9.621167e-03 -2.398912e-01 -3.119334e-01 -1.297108e-08 -4.563807e-09
+ 1.652573e-02  9.828076e-03 -2.398576e-01 -3.118447e-01  7.149432e-09  3.079366e-09
+ 1.652573e-02  1.003072e-02 -2.398263e-01 -3.117552e-01  2.985703e-08 -3.078727e-09
+ 1.652573e-02  1.022935e-02 -2.397972e-01 -3.116648e-01  2.891905e-08 -4.216940e-09
+ 1.652573e-02  1.042419e-02 -2.397701e-01 -3.115734e-01  8.785738e-08  1.491905e-08
+ 1.652573e-02  1.061546e-02 -2.397451e-01 -3.114812e-01  1.405954e-07  2.228364e-08
+ 1.652573e-02  1.080334e-02 -2.397219e-01 -3.113879e-01  1.700995e-07  2.657040e-08
+ 1.652573e-02  1.098801e-02 -2.397007e-01 -3.112938e-01  7.650501e-08  2.693136e-08
+ 1.652573e-02  1.116962e-02 -2.396812e-01 -3.111986e-01  6.185335e-08  3.137696e-08
+ 1.652573e-02  1.134833e-02 -2.396635e-01 -3.111024e-01  1.261372e-10  2.076340e-08
+ 1.652573e-02  1.152427e-02 -2.396472e-01 -3.110052e-01  7.945222e-09 -1.640342e-09
+ 1.652573e-02  1.169756e-02 -2.396326e-01 -3.109068e-01 -1.560684e-08  1.519292e-08
+ 1.652573e-02  1.186832e-02 -2.396193e-01 -3.108074e-01 -6.652327e-08  1.056268e-07
+ 1.652573e-02  1.203666e-02 -2.396073e-01 -3.107070e-01 -6.400869e-09  7.038854e-08
+ 1.652573e-02  1.220268e-02 -2.395966e-01 -3.106052e-01 -1.868992e-09  9.213327e-08
+ 1.652573e-02  1.236647e-02 -2.395869e-01 -3.105026e-01  9.047279e-09 -2.457796e-08
+ 1.652573e-02  1.252811e-02 -2.395786e-01 -3.103981e-01 -6.105535e-08  9.423110e-08
+ 1.652573e-02  1.268770e-02 -2.395711e-01 -3.102926e-01 -1.500488e-06  2.659024e-06
+ 1.652573e-02  1.284531e-02 -2.395623e-01 -3.101895e-01  2.265169e-06 -3.863825e-06
+ 1.652573e-02  1.300100e-02 -2.395560e-01 -3.100819e-01  2.678396e-06 -4.324249e-06
+ 1.652573e-02  1.315485e-02 -2.395527e-01 -3.099693e-01 -1.875688e-06  2.983515e-06
+ 1.652573e-02  1.330692e-02 -2.395466e-01 -3.098609e-01  1.416544e-07 -8.711698e-08
+ 1.652573e-02  1.345728e-02 -2.395428e-01 -3.097478e-01 -1.622110e-06  2.321262e-06
+ 1.652573e-02  1.360597e-02 -2.395408e-01 -3.096316e-01 -5.069115e-08  7.190029e-08
+ 1.652573e-02  1.375306e-02 -2.395338e-01 -3.095208e-01 -3.191173e-07  4.411008e-07
+ 1.652573e-02  1.389858e-02 -2.395287e-01 -3.094059e-01  5.761395e-08 -7.001393e-08
+ 1.652573e-02  1.404260e-02 -2.395252e-01 -3.092875e-01 -2.449888e-08  9.047871e-08
+ 1.652573e-02  1.418516e-02 -2.395203e-01 -3.091689e-01  1.070641e-07 -7.554724e-08
+ 1.652573e-02  1.432630e-02 -2.395157e-01 -3.090481e-01  1.097608e-08  1.427344e-09
+ 1.652573e-02  1.446606e-02 -2.395102e-01 -3.089261e-01  9.801133e-08 -2.481774e-08
+ 1.652573e-02  1.460449e-02 -2.395040e-01 -3.088023e-01  2.653866e-07  1.550711e-07
+ 1.652573e-02  1.474161e-02 -2.394972e-01 -3.086771e-01  1.434244e-08 -3.664771e-08
+ 1.652573e-02  1.487748e-02 -2.394895e-01 -3.085500e-01  2.296630e-08 -1.326007e-08
+ 1.652573e-02  1.501211e-02 -2.394806e-01 -3.084212e-01  3.446847e-08  1.663675e-07
+ 1.652573e-02  1.514554e-02 -2.394706e-01 -3.082906e-01 -5.719645e-09  1.094305e-07
+ 1.652573e-02  1.527781e-02 -2.394591e-01 -3.081586e-01 -3.286137e-08 -1.664502e-07
+ 1.652573e-02  1.540894e-02 -2.394462e-01 -3.080249e-01 -8.002788e-08 -4.202793e-07
+ 1.652573e-02  1.553897e-02 -2.394316e-01 -3.078887e-01 -1.061747e-07 -6.193586e-07
+ 1.652573e-02  1.566792e-02 -2.394150e-01 -3.077502e-01  4.746087e-08  2.138718e-07
+ 1.652573e-02  1.579582e-02 -2.393966e-01 -3.076103e-01  2.806654e-08  3.242755e-08
+ 1.652573e-02  1.592268e-02 -2.393758e-01 -3.074687e-01 -6.438436e-09 -1.829186e-07
+ 1.652573e-02  1.604855e-02 -2.393527e-01 -3.073243e-01  4.553632e-08  9.044236e-08
+ 1.652573e-02  1.617343e-02 -2.393271e-01 -3.071779e-01  8.900324e-08  1.065725e-06
+ 1.652573e-02  1.629736e-02 -2.392988e-01 -3.070302e-01  1.342530e-07 -3.775236e-07
+ 1.652573e-02  1.642036e-02 -2.392676e-01 -3.068799e-01  6.897518e-08  3.798713e-08
+ 1.652573e-02  1.654243e-02 -2.392333e-01 -3.067269e-01  7.325086e-08 -4.230861e-08
+ 1.652573e-02  1.666362e-02 -2.391953e-01 -3.065712e-01  3.846886e-07  1.068301e-07
+ 1.652573e-02  1.678393e-02 -2.391541e-01 -3.064121e-01 -4.999359e-07 -2.252598e-07
+ 1.652573e-02  1.690338e-02 -2.391008e-01 -3.062318e-01  4.426656e-06  9.496435e-06
+ 1.652573e-02  1.702200e-02 -2.390762e-01 -3.061272e-01  1.172330e-06  3.288800e-06
+ 1.652573e-02  1.713979e-02 -2.390181e-01 -3.059528e-01  4.153506e-07  3.347172e-06
+ 1.652573e-02  1.725678e-02 -2.389604e-01 -3.057829e-01 -6.504001e-08 -4.157739e-08
+ 1.652573e-02  1.737298e-02 -2.389006e-01 -3.056153e-01  2.710056e-10  1.161180e-08
+ 1.652573e-02  1.748841e-02 -2.388380e-01 -3.054487e-01  1.366720e-07  3.604937e-08
+ 1.652573e-02  1.760308e-02 -2.387731e-01 -3.052827e-01 -1.748413e-06 -3.916003e-06
+ 1.652573e-02  1.771701e-02 -2.387085e-01 -3.051216e-01  1.411857e-08 -7.924799e-09
+ 1.652573e-02  1.783022e-02 -2.386477e-01 -3.049684e-01 -2.935032e-07  2.674727e-08
+ 1.652573e-02  1.794270e-02 -2.385867e-01 -3.048137e-01  2.631574e-06  2.299780e-06
+ 1.652573e-02  1.805449e-02 -2.385377e-01 -3.046932e-01 -2.716457e-04 -3.507818e-04
+ 1.652573e-02  1.816559e-02 -2.381639e-01 -3.041659e-01 -7.357775e-07 -5.636289e-07
+ 1.652573e-02  1.827602e-02 -2.380953e-01 -3.040208e-01  1.492474e-06  3.563746e-06
+ 1.652573e-02  1.838578e-02 -2.378064e-01 -3.036996e-01  7.583897e-05  6.148450e-05
+ 1.652573e-02  1.849489e-02 -2.378018e-01 -3.036045e-01 -5.959863e-05 -5.381764e-05
+ 1.652573e-02  1.860336e-02 -2.374577e-01 -3.032640e-01 -3.844761e-04 -2.340507e-04
+ 1.652573e-02  1.871120e-02 -2.368723e-01 -3.027973e-01 -1.972719e-06  1.567669e-06
+ 1.652573e-02  1.881842e-02 -2.368533e-01 -3.026772e-01 -2.778207e-06 -5.528622e-07
+ 1.652573e-02  1.892503e-02 -2.368219e-01 -3.025342e-01 -2.714955e-06  1.612296e-06
+ 1.652573e-02  1.903105e-02 -2.368089e-01 -3.024070e-01 -4.193848e-06 -1.270657e-06
+ 1.652573e-02  1.913648e-02 -2.367790e-01 -3.022602e-01  1.096524e-07 -1.517910e-05
+ 1.652573e-02  1.924133e-02 -2.367460e-01 -3.021204e-01  2.363517e-06  9.576155e-08
+ 1.652573e-02  1.934562e-02 -2.367224e-01 -3.019736e-01  5.031711e-08  8.755626e-08
+ 1.652573e-02  1.944934e-02 -2.366964e-01 -3.018365e-01  1.219845e-06 -2.756999e-06
+ 1.652573e-02  1.955252e-02 -2.366150e-01 -3.013955e-01 -2.366150e-01 -3.013955e-01
+ 1.652573e-02  1.965515e-02 -2.363723e-01 -3.012951e-01  4.966348e-04  1.028109e-04
+ 1.652573e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.652573e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.368690e-01  3.013979e-01
+ 1.664679e-02  1.000000e-06 -2.418324e-01 -3.138885e-01  1.021660e-09 -2.724477e-09
+ 1.664679e-02  2.006944e-03 -2.417309e-01 -3.138160e-01  1.733394e-07  1.765980e-09
+ 1.664679e-02  2.837833e-03 -2.416318e-01 -3.137429e-01  6.756568e-08  2.183758e-09
+ 1.664679e-02  3.475396e-03 -2.415351e-01 -3.136691e-01 -2.073267e-08  6.556040e-09
+ 1.664679e-02  4.012887e-03 -2.414410e-01 -3.135946e-01 -4.819769e-09 -2.448023e-10
+ 1.664679e-02  4.486426e-03 -2.413498e-01 -3.135194e-01 -2.822823e-09 -7.081906e-10
+ 1.664679e-02  4.914538e-03 -2.412616e-01 -3.134435e-01  1.301362e-07  9.511244e-09
+ 1.664679e-02  5.308228e-03 -2.411767e-01 -3.133671e-01  1.211361e-07  2.367033e-09
+ 1.664679e-02  5.674665e-03 -2.410957e-01 -3.132903e-01 -2.400883e-09  5.287979e-09
+ 1.664679e-02  6.018831e-03 -2.410302e-01 -3.132163e-01 -1.153739e-05 -3.255503e-06
+ 1.664679e-02  6.344350e-03 -2.409158e-01 -3.131266e-01  7.341396e-06  2.211100e-06
+ 1.664679e-02  6.653962e-03 -2.408560e-01 -3.130513e-01 -1.555312e-08  6.643425e-10
+ 1.664679e-02  6.949792e-03 -2.407866e-01 -3.129716e-01  9.342360e-08  4.334238e-09
+ 1.664679e-02  7.233532e-03 -2.407197e-01 -3.128909e-01  1.281194e-07  9.856777e-09
+ 1.664679e-02  7.506553e-03 -2.406553e-01 -3.128095e-01  5.629840e-08  5.440035e-09
+ 1.664679e-02  7.769986e-03 -2.405937e-01 -3.127272e-01 -1.061036e-08  6.631048e-10
+ 1.664679e-02  8.024774e-03 -2.405348e-01 -3.126442e-01 -1.318892e-08  1.057656e-09
+ 1.664679e-02  8.271717e-03 -2.404786e-01 -3.125604e-01 -2.169426e-08 -2.833174e-09
+ 1.664679e-02  8.511498e-03 -2.404251e-01 -3.124758e-01 -1.631945e-08  1.788656e-09
+ 1.664679e-02  8.744705e-03 -2.403743e-01 -3.123904e-01 -7.412838e-09 -3.187338e-09
+ 1.664679e-02  8.971852e-03 -2.403260e-01 -3.123042e-01  5.049843e-08  1.788992e-09
+ 1.664679e-02  9.193388e-03 -2.402802e-01 -3.122171e-01  1.048809e-07  7.736322e-09
+ 1.664679e-02  9.409709e-03 -2.402370e-01 -3.121292e-01  1.131646e-07  3.047145e-09
+ 1.664679e-02  9.621167e-03 -2.401961e-01 -3.120404e-01  7.289628e-08  6.779599e-09
+ 1.664679e-02  9.828076e-03 -2.401575e-01 -3.119508e-01  1.698525e-08  1.933802e-09
+ 1.664679e-02  1.003072e-02 -2.401212e-01 -3.118602e-01 -1.040623e-08 -3.172769e-09
+ 1.664679e-02  1.022935e-02 -2.400871e-01 -3.117688e-01 -2.259978e-08  3.959683e-09
+ 1.664679e-02  1.042419e-02 -2.400550e-01 -3.116764e-01 -1.089720e-08  8.692855e-09
+ 1.664679e-02  1.061546e-02 -2.400249e-01 -3.115830e-01  2.727931e-08  1.024682e-08
+ 1.664679e-02  1.080334e-02 -2.399968e-01 -3.114887e-01  6.819387e-08  2.476173e-08
+ 1.664679e-02  1.098801e-02 -2.399705e-01 -3.113934e-01  5.814653e-09  2.416887e-08
+ 1.664679e-02  1.116962e-02 -2.399459e-01 -3.112970e-01  2.870375e-08  1.375529e-08
+ 1.664679e-02  1.134833e-02 -2.399230e-01 -3.111996e-01  2.087866e-08  4.574861e-09
+ 1.664679e-02  1.152427e-02 -2.399018e-01 -3.111012e-01 -7.715329e-08  2.612288e-08
+ 1.664679e-02  1.169756e-02 -2.398820e-01 -3.110016e-01 -8.057099e-09  4.149067e-08
+ 1.664679e-02  1.186832e-02 -2.398635e-01 -3.109009e-01 -6.978675e-09  6.653951e-08
+ 1.664679e-02  1.203666e-02 -2.398464e-01 -3.107992e-01  3.283757e-08 -6.537013e-09
+ 1.664679e-02  1.220268e-02 -2.398305e-01 -3.106960e-01  4.388587e-08  9.580522e-09
+ 1.664679e-02  1.236647e-02 -2.398156e-01 -3.105920e-01  4.937751e-09  2.777307e-07
+ 1.664679e-02  1.252811e-02 -2.398018e-01 -3.104865e-01 -6.795118e-08  3.027009e-07
+ 1.664679e-02  1.268770e-02 -2.397894e-01 -3.103790e-01 -9.517317e-07  1.863239e-06
+ 1.664679e-02  1.284531e-02 -2.397758e-01 -3.102735e-01  2.549248e-06 -4.201271e-06
+ 1.664679e-02  1.300100e-02 -2.397630e-01 -3.101664e-01  7.517213e-07 -1.076875e-06
+ 1.664679e-02  1.315485e-02 -2.397543e-01 -3.100522e-01 -5.730133e-07  1.056017e-06
+ 1.664679e-02  1.330692e-02 -2.397437e-01 -3.099405e-01  1.730600e-07 -3.417538e-07
+ 1.664679e-02  1.345728e-02 -2.397331e-01 -3.098280e-01  1.476665e-06 -1.979268e-06
+ 1.664679e-02  1.360597e-02 -2.397262e-01 -3.097092e-01 -1.036768e-06  1.547990e-06
+ 1.664679e-02  1.375306e-02 -2.397147e-01 -3.095953e-01 -3.276722e-06  4.427242e-06
+ 1.664679e-02  1.389858e-02 -2.397028e-01 -3.094803e-01  1.062507e-06 -1.266249e-06
+ 1.664679e-02  1.404260e-02 -2.396936e-01 -3.093599e-01  1.689644e-07 -1.262008e-07
+ 1.664679e-02  1.418516e-02 -2.396831e-01 -3.092394e-01  3.725808e-07 -3.447766e-07
+ 1.664679e-02  1.432630e-02 -2.396724e-01 -3.091169e-01  1.662262e-07 -9.170143e-08
+ 1.664679e-02  1.446606e-02 -2.396610e-01 -3.089931e-01  1.508919e-07 -1.266993e-07
+ 1.664679e-02  1.460449e-02 -2.396490e-01 -3.088674e-01  5.068349e-08 -2.251602e-08
+ 1.664679e-02  1.474161e-02 -2.396362e-01 -3.087399e-01  2.072355e-06 -6.518486e-07
+ 1.664679e-02  1.487748e-02 -2.396224e-01 -3.086110e-01  3.697024e-08  3.445559e-08
+ 1.664679e-02  1.501211e-02 -2.396072e-01 -3.084803e-01  1.591994e-08 -5.466865e-08
+ 1.664679e-02  1.514554e-02 -2.395908e-01 -3.083476e-01 -1.761924e-08 -1.684154e-08
+ 1.664679e-02  1.527781e-02 -2.395730e-01 -3.082130e-01  1.330174e-08  3.470912e-07
+ 1.664679e-02  1.540894e-02 -2.395536e-01 -3.080768e-01 -5.955488e-08 -3.572319e-07
+ 1.664679e-02  1.553897e-02 -2.395323e-01 -3.079390e-01 -3.866784e-08 -1.594248e-08
+ 1.664679e-02  1.566792e-02 -2.395091e-01 -3.077987e-01 -6.376697e-08 -9.320712e-07
+ 1.664679e-02  1.579582e-02 -2.394838e-01 -3.076558e-01  3.573071e-08  2.788993e-07
+ 1.664679e-02  1.592268e-02 -2.394563e-01 -3.075114e-01  1.452816e-07 -4.132762e-08
+ 1.664679e-02  1.604855e-02 -2.394262e-01 -3.073652e-01  2.454146e-09 -5.574289e-09
+ 1.664679e-02  1.617343e-02 -2.393934e-01 -3.072160e-01  4.899590e-09 -1.730707e-07
+ 1.664679e-02  1.629736e-02 -2.393579e-01 -3.070650e-01  4.464714e-08  1.100102e-06
+ 1.664679e-02  1.642036e-02 -2.393193e-01 -3.069123e-01  6.032544e-08 -2.010895e-07
+ 1.664679e-02  1.654243e-02 -2.392774e-01 -3.067566e-01  9.537403e-08 -2.183468e-07
+ 1.664679e-02  1.666362e-02 -2.392319e-01 -3.065979e-01 -3.136674e-08 -5.964699e-08
+ 1.664679e-02  1.678393e-02 -2.391825e-01 -3.064355e-01  1.103134e-07 -3.064872e-08
+ 1.664679e-02  1.690338e-02 -2.391228e-01 -3.062560e-01  6.341132e-06  1.292257e-05
+ 1.664679e-02  1.702200e-02 -2.390861e-01 -3.061340e-01 -6.919990e-07 -1.856034e-06
+ 1.664679e-02  1.713979e-02 -2.390248e-01 -3.059717e-01  4.064874e-07  2.309839e-06
+ 1.664679e-02  1.725678e-02 -2.389576e-01 -3.057952e-01 -7.180551e-08 -3.652031e-09
+ 1.664679e-02  1.737298e-02 -2.388891e-01 -3.056237e-01 -2.296113e-08  5.608033e-09
+ 1.664679e-02  1.748841e-02 -2.388178e-01 -3.054533e-01  6.157676e-08  5.665154e-09
+ 1.664679e-02  1.760308e-02 -2.387444e-01 -3.052842e-01  4.583112e-07  1.036959e-06
+ 1.664679e-02  1.771701e-02 -2.386714e-01 -3.051192e-01  4.168712e-08 -3.225286e-08
+ 1.664679e-02  1.783022e-02 -2.386035e-01 -3.049635e-01 -2.182615e-09  1.717628e-07
+ 1.664679e-02  1.794270e-02 -2.385295e-01 -3.047943e-01  2.263947e-06  3.588925e-06
+ 1.664679e-02  1.805449e-02 -2.381667e-01 -3.043073e-01 -9.153451e-06 -9.356708e-06
+ 1.664679e-02  1.816559e-02 -2.381293e-01 -3.041968e-01 -3.672234e-08  7.130247e-08
+ 1.664679e-02  1.827602e-02 -2.380021e-01 -3.040035e-01 -7.384137e-05 -6.106886e-05
+ 1.664679e-02  1.838578e-02 -2.378002e-01 -3.037496e-01  1.726876e-04  1.368442e-04
+ 1.664679e-02  1.849489e-02 -2.376547e-01 -3.035503e-01 -1.958166e-04 -1.317514e-04
+ 1.664679e-02  1.860336e-02 -2.368947e-01 -3.029659e-01  1.624071e-05 -5.096083e-06
+ 1.664679e-02  1.871120e-02 -2.368753e-01 -3.028361e-01 -5.378069e-06 -2.559261e-06
+ 1.664679e-02  1.881842e-02 -2.368602e-01 -3.027158e-01  1.455813e-06  2.965698e-07
+ 1.664679e-02  1.892503e-02 -2.368302e-01 -3.025795e-01  2.141490e-06 -3.764993e-07
+ 1.664679e-02  1.903105e-02 -2.368136e-01 -3.024509e-01  4.440293e-06  1.045623e-05
+ 1.664679e-02  1.913648e-02 -2.367905e-01 -3.023049e-01 -8.587211e-06 -1.617158e-07
+ 1.664679e-02  1.924133e-02 -2.367539e-01 -3.021608e-01 -2.275734e-06  1.480262e-06
+ 1.664679e-02  1.934562e-02 -2.366994e-01 -3.019539e-01 -1.745597e-04 -2.457296e-04
+ 1.664679e-02  1.944934e-02 -2.367002e-01 -3.018604e-01  1.780418e-06  3.391900e-07
+ 1.664679e-02  1.955252e-02 -2.366799e-01 -3.017038e-01 -6.621361e-05 -1.384784e-05
+ 1.664679e-02  1.965515e-02 -2.366695e-01 -3.017168e-01 -1.757789e-05 -1.787679e-04
+ 1.664679e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.664679e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.366519e-01  3.015380e-01
+ 1.676698e-02  1.000000e-06 -2.422545e-01 -3.140063e-01  1.485523e-07 -1.737296e-09
+ 1.676698e-02  2.006944e-03 -2.421478e-01 -3.139338e-01  1.423667e-07  7.772134e-10
+ 1.676698e-02  2.837833e-03 -2.420432e-01 -3.138605e-01 -2.126710e-08 -5.773969e-09
+ 1.676698e-02  3.475396e-03 -2.419410e-01 -3.137864e-01 -1.756089e-08  2.296746e-08
+ 1.676698e-02  4.012887e-03 -2.418413e-01 -3.137116e-01 -8.858080e-09  1.419239e-09
+ 1.676698e-02  4.486426e-03 -2.417443e-01 -3.136360e-01  1.566121e-07  2.265547e-09
+ 1.676698e-02  4.914538e-03 -2.416503e-01 -3.135596e-01  1.022219e-07  1.390702e-09
+ 1.676698e-02  5.308228e-03 -2.415593e-01 -3.134826e-01 -1.567711e-08 -1.025061e-09
+ 1.676698e-02  5.674665e-03 -2.414714e-01 -3.134048e-01 -9.243206e-09  9.756316e-09
+ 1.676698e-02  6.018831e-03 -2.413866e-01 -3.133263e-01 -2.078631e-08 -2.776495e-10
+ 1.676698e-02  6.344350e-03 -2.413050e-01 -3.132472e-01  5.413386e-08  4.425840e-09
+ 1.676698e-02  6.653962e-03 -2.412268e-01 -3.131674e-01  1.621529e-07  5.241513e-09
+ 1.676698e-02  6.949792e-03 -2.411527e-01 -3.130872e-01  6.437723e-08 -2.083362e-09
+ 1.676698e-02  7.233532e-03 -2.410879e-01 -3.130080e-01 -5.762705e-06 -1.609078e-06
+ 1.676698e-02  7.506553e-03 -2.409962e-01 -3.129195e-01 -3.430864e-05 -1.015613e-05
+ 1.676698e-02  7.769986e-03 -2.409263e-01 -3.128355e-01  4.483344e-06  1.366919e-06
+ 1.676698e-02  8.024774e-03 -2.408671e-01 -3.127531e-01  2.512143e-08  1.090892e-08
+ 1.676698e-02  8.271717e-03 -2.408072e-01 -3.126689e-01  6.833420e-08  2.911955e-09
+ 1.676698e-02  8.511498e-03 -2.407494e-01 -3.125837e-01  1.225548e-07  5.930668e-09
+ 1.676698e-02  8.744705e-03 -2.406939e-01 -3.124976e-01  9.832656e-08  9.135745e-10
+ 1.676698e-02  8.971852e-03 -2.406409e-01 -3.124105e-01  2.089517e-08  2.625999e-09
+ 1.676698e-02  9.193388e-03 -2.405903e-01 -3.123226e-01 -1.251595e-08 -1.187809e-09
+ 1.676698e-02  9.409709e-03 -2.405422e-01 -3.122338e-01 -1.036570e-08  1.978205e-09
+ 1.676698e-02  9.621167e-03 -2.404964e-01 -3.121441e-01 -1.382272e-09  3.822841e-09
+ 1.676698e-02  9.828076e-03 -2.404529e-01 -3.120535e-01 -6.019480e-09 -2.561877e-10
+ 1.676698e-02  1.003072e-02 -2.404116e-01 -3.119619e-01 -1.968672e-08  3.378592e-09
+ 1.676698e-02  1.022935e-02 -2.403725e-01 -3.118695e-01 -1.759594e-08  2.993002e-09
+ 1.676698e-02  1.042419e-02 -2.403355e-01 -3.117760e-01  2.386826e-08  2.727797e-09
+ 1.676698e-02  1.061546e-02 -2.403004e-01 -3.116815e-01  7.908528e-08  7.827873e-09
+ 1.676698e-02  1.080334e-02 -2.402673e-01 -3.115861e-01  1.035639e-07  1.714021e-08
+ 1.676698e-02  1.098801e-02 -2.402360e-01 -3.114896e-01  1.179463e-07  1.754664e-08
+ 1.676698e-02  1.116962e-02 -2.402065e-01 -3.113921e-01  1.020629e-07  6.133085e-09
+ 1.676698e-02  1.134833e-02 -2.401786e-01 -3.112935e-01  7.009801e-08  2.167006e-08
+ 1.676698e-02  1.152427e-02 -2.401522e-01 -3.111938e-01  2.138729e-08  5.161131e-08
+ 1.676698e-02  1.169756e-02 -2.401273e-01 -3.110930e-01 -6.128486e-09  1.811817e-08
+ 1.676698e-02  1.186832e-02 -2.401039e-01 -3.109910e-01 -3.265663e-08  6.260734e-10
+ 1.676698e-02  1.203666e-02 -2.400816e-01 -3.108880e-01 -2.478638e-08  3.259724e-08
+ 1.676698e-02  1.220268e-02 -2.400605e-01 -3.107836e-01 -4.586476e-08  8.295279e-08
+ 1.676698e-02  1.236647e-02 -2.400405e-01 -3.106780e-01 -1.529152e-07  3.480507e-07
+ 1.676698e-02  1.252811e-02 -2.400214e-01 -3.105713e-01  4.430389e-09  9.404491e-08
+ 1.676698e-02  1.268770e-02 -2.400037e-01 -3.104623e-01 -3.248203e-07  3.903150e-07
+ 1.676698e-02  1.284531e-02 -2.399856e-01 -3.103543e-01  7.176909e-07 -1.017567e-06
+ 1.676698e-02  1.300100e-02 -2.399667e-01 -3.102469e-01  7.262111e-08 -1.278294e-07
+ 1.676698e-02  1.315485e-02 -2.399520e-01 -3.101321e-01  1.970892e-06 -3.071185e-06
+ 1.676698e-02  1.330692e-02 -2.399371e-01 -3.100168e-01 -3.826884e-07  6.720636e-07
+ 1.676698e-02  1.345728e-02 -2.399201e-01 -3.099042e-01  2.109338e-06 -3.057089e-06
+ 1.676698e-02  1.360597e-02 -2.399074e-01 -3.097839e-01 -3.398885e-06  4.745229e-06
+ 1.676698e-02  1.375306e-02 -2.398918e-01 -3.096664e-01 -3.709579e-06  4.914610e-06
+ 1.676698e-02  1.389858e-02 -2.398733e-01 -3.095508e-01  2.286691e-06 -2.907910e-06
+ 1.676698e-02  1.404260e-02 -2.398583e-01 -3.094289e-01  3.032349e-07 -3.559642e-07
+ 1.676698e-02  1.418516e-02 -2.398422e-01 -3.093063e-01  4.112612e-07 -4.373871e-07
+ 1.676698e-02  1.432630e-02 -2.398255e-01 -3.091821e-01  1.979111e-07 -1.275830e-07
+ 1.676698e-02  1.446606e-02 -2.398082e-01 -3.090562e-01  1.843068e-07 -1.363643e-07
+ 1.676698e-02  1.460449e-02 -2.397900e-01 -3.089287e-01  1.750086e-07 -4.494607e-08
+ 1.676698e-02  1.474161e-02 -2.397709e-01 -3.087995e-01 -1.732878e-08  3.310220e-08
+ 1.676698e-02  1.487748e-02 -2.397521e-01 -3.086677e-01  2.051540e-06 -8.052294e-07
+ 1.676698e-02  1.501211e-02 -2.397300e-01 -3.085352e-01  1.214539e-07  6.932232e-09
+ 1.676698e-02  1.514554e-02 -2.397071e-01 -3.084005e-01  8.854301e-08 -2.696716e-08
+ 1.676698e-02  1.527781e-02 -2.396828e-01 -3.082639e-01  4.940433e-08 -2.441467e-08
+ 1.676698e-02  1.540894e-02 -2.396568e-01 -3.081251e-01 -2.750907e-08  2.450559e-07
+ 1.676698e-02  1.553897e-02 -2.396289e-01 -3.079846e-01  7.827981e-09 -3.088972e-07
+ 1.676698e-02  1.566792e-02 -2.395990e-01 -3.078425e-01  4.695904e-08  5.372419e-08
+ 1.676698e-02  1.579582e-02 -2.395668e-01 -3.076977e-01  4.847726e-08 -7.127583e-07
+ 1.676698e-02  1.592268e-02 -2.395323e-01 -3.075502e-01  2.577661e-08  9.296809e-08
+ 1.676698e-02  1.604855e-02 -2.394952e-01 -3.074014e-01 -3.936417e-08 -3.740906e-09
+ 1.676698e-02  1.617343e-02 -2.394554e-01 -3.072501e-01 -6.924121e-08  3.903218e-07
+ 1.676698e-02  1.629736e-02 -2.394125e-01 -3.070957e-01  1.170423e-08  5.117943e-07
+ 1.676698e-02  1.642036e-02 -2.393665e-01 -3.069398e-01  2.960865e-08 -5.394283e-07
+ 1.676698e-02  1.654243e-02 -2.393170e-01 -3.067818e-01  6.763368e-08 -4.967750e-08
+ 1.676698e-02  1.666362e-02 -2.392638e-01 -3.066200e-01 -3.288368e-09 -2.586142e-08
+ 1.676698e-02  1.678393e-02 -2.392062e-01 -3.064543e-01  6.485951e-08 -3.029605e-08
+ 1.676698e-02  1.690338e-02 -2.391394e-01 -3.062739e-01  5.196959e-06  1.014539e-05
+ 1.676698e-02  1.702200e-02 -2.390905e-01 -3.061364e-01 -3.754246e-07 -9.522456e-07
+ 1.676698e-02  1.713979e-02 -2.390274e-01 -3.059884e-01 -2.058055e-06 -8.283426e-06
+ 1.676698e-02  1.725678e-02 -2.389497e-01 -3.058026e-01 -4.178833e-08 -1.038037e-08
+ 1.676698e-02  1.737298e-02 -2.388722e-01 -3.056270e-01 -4.124780e-08  8.666568e-09
+ 1.676698e-02  1.748841e-02 -2.387920e-01 -3.054527e-01  1.566028e-07  4.294650e-08
+ 1.676698e-02  1.760308e-02 -2.387098e-01 -3.052798e-01  8.909012e-07  1.746633e-06
+ 1.676698e-02  1.771701e-02 -2.386286e-01 -3.051114e-01 -1.149474e-07  7.100122e-08
+ 1.676698e-02  1.783022e-02 -2.385539e-01 -3.049537e-01  1.568841e-07  1.553503e-07
+ 1.676698e-02  1.794270e-02 -2.384671e-01 -3.047728e-01 -1.705719e-04 -2.114478e-04
+ 1.676698e-02  1.805449e-02 -2.379900e-01 -3.042029e-01  4.293404e-04  4.690886e-04
+ 1.676698e-02  1.816559e-02 -2.380983e-01 -3.042296e-01 -5.063786e-06 -4.096818e-06
+ 1.676698e-02  1.827602e-02 -2.378904e-01 -3.039665e-01 -1.998628e-06 -2.978713e-06
+ 1.676698e-02  1.838578e-02 -2.376866e-01 -3.037184e-01 -5.105388e-04 -3.428242e-04
+ 1.676698e-02  1.849489e-02 -2.369474e-01 -3.031338e-01 -8.248189e-07  1.026757e-05
+ 1.676698e-02  1.860336e-02 -2.369095e-01 -3.030129e-01 -7.674720e-06 -9.190895e-06
+ 1.676698e-02  1.871120e-02 -2.368804e-01 -3.028846e-01  1.226828e-05  1.089481e-06
+ 1.676698e-02  1.881842e-02 -2.368653e-01 -3.027527e-01  2.199850e-06  9.707865e-07
+ 1.676698e-02  1.892503e-02 -2.368417e-01 -3.026287e-01  1.770052e-06  1.103281e-05
+ 1.676698e-02  1.903105e-02 -2.368167e-01 -3.024856e-01  7.295370e-07 -2.745546e-08
+ 1.676698e-02  1.913648e-02 -2.367986e-01 -3.023428e-01 -1.818450e-05 -1.957603e-07
+ 1.676698e-02  1.924133e-02 -2.367631e-01 -3.022002e-01 -8.933841e-07  1.467448e-06
+ 1.676698e-02  1.934562e-02 -2.367351e-01 -3.020637e-01  3.481410e-06 -5.512811e-06
+ 1.676698e-02  1.944934e-02 -2.367062e-01 -3.018827e-01  9.683034e-07  4.927830e-06
+ 1.676698e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.367071e-01  3.018876e-01
+ 1.676698e-02  1.965515e-02 -2.364350e-01 -3.015510e-01 -1.962167e-04 -4.527481e-05
+ 1.676698e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.676698e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.362387e-01  3.015058e-01
+ 1.688631e-02  1.000000e-06 -2.426718e-01 -3.141210e-01  2.532349e-07 -4.022273e-09
+ 1.688631e-02  2.006944e-03 -2.425599e-01 -3.140484e-01 -9.269947e-09  1.587881e-08
+ 1.688631e-02  2.837833e-03 -2.424499e-01 -3.139749e-01  1.570799e-08 -2.706797e-08
+ 1.688631e-02  3.475396e-03 -2.423421e-01 -3.139005e-01 -5.010818e-08  4.054564e-08
+ 1.688631e-02  4.012887e-03 -2.422367e-01 -3.138254e-01  1.875389e-07 -4.922775e-09
+ 1.688631e-02  4.486426e-03 -2.421345e-01 -3.137494e-01  3.738333e-08  2.233391e-08
+ 1.688631e-02  4.914538e-03 -2.420348e-01 -3.136726e-01 -2.261153e-08 -2.644515e-10
+ 1.688631e-02  5.308228e-03 -2.419383e-01 -3.135951e-01 -9.291635e-09  2.836056e-09
+ 1.688631e-02  5.674665e-03 -2.418447e-01 -3.135168e-01 -1.851441e-08  2.316107e-09
+ 1.688631e-02  6.018831e-03 -2.417542e-01 -3.134377e-01  1.521028e-07 -8.065084e-10
+ 1.688631e-02  6.344350e-03 -2.416669e-01 -3.133578e-01  1.182480e-07  1.073293e-08
+ 1.688631e-02  6.653962e-03 -2.415827e-01 -3.132773e-01 -6.115220e-09 -7.635416e-10
+ 1.688631e-02  6.949792e-03 -2.415018e-01 -3.131959e-01 -1.220478e-08  4.969161e-09
+ 1.688631e-02  7.233532e-03 -2.414239e-01 -3.131138e-01 -1.156631e-08  1.276423e-12
+ 1.688631e-02  7.506553e-03 -2.413492e-01 -3.130310e-01 -2.055114e-09 -8.949266e-10
+ 1.688631e-02  7.769986e-03 -2.412779e-01 -3.129474e-01  1.101040e-07  8.539129e-09
+ 1.688631e-02  8.024774e-03 -2.412102e-01 -3.128633e-01  2.720682e-07  3.494619e-08
+ 1.688631e-02  8.271717e-03 -2.411466e-01 -3.127787e-01  2.616847e-06  7.128163e-07
+ 1.688631e-02  8.511498e-03 -2.411037e-01 -3.126983e-01 -2.365343e-05 -6.681165e-06
+ 1.688631e-02  8.744705e-03 -2.409849e-01 -3.125945e-01  7.000394e-06  2.069840e-06
+ 1.688631e-02  8.971852e-03 -2.409467e-01 -3.125124e-01 -1.701326e-06 -5.080822e-07
+ 1.688631e-02  9.193388e-03 -2.408929e-01 -3.124240e-01 -1.738895e-07 -5.221532e-08
+ 1.688631e-02  9.409709e-03 -2.408409e-01 -3.123346e-01 -9.121281e-09 -2.229509e-09
+ 1.688631e-02  9.621167e-03 -2.407909e-01 -3.122441e-01  9.049980e-08  4.273615e-09
+ 1.688631e-02  9.828076e-03 -2.407429e-01 -3.121526e-01  1.268653e-07  6.967654e-09
+ 1.688631e-02  1.003072e-02 -2.406970e-01 -3.120602e-01  1.011363e-07  1.098121e-08
+ 1.688631e-02  1.022935e-02 -2.406532e-01 -3.119667e-01  4.241482e-08  1.611370e-09
+ 1.688631e-02  1.042419e-02 -2.406114e-01 -3.118722e-01 -4.844543e-09 -1.054741e-09
+ 1.688631e-02  1.061546e-02 -2.405715e-01 -3.117767e-01 -1.722878e-08  1.179759e-08
+ 1.688631e-02  1.080334e-02 -2.405335e-01 -3.116801e-01 -1.100194e-08  6.947720e-09
+ 1.688631e-02  1.098801e-02 -2.404973e-01 -3.115825e-01 -1.008176e-09  1.278858e-10
+ 1.688631e-02  1.116962e-02 -2.404628e-01 -3.114838e-01 -9.146932e-09  1.326485e-08
+ 1.688631e-02  1.134833e-02 -2.404300e-01 -3.113840e-01 -1.343220e-08  2.183094e-08
+ 1.688631e-02  1.152427e-02 -2.403986e-01 -3.112831e-01 -1.497571e-08  2.704858e-08
+ 1.688631e-02  1.169756e-02 -2.403687e-01 -3.111810e-01  1.494895e-08  2.603207e-10
+ 1.688631e-02  1.186832e-02 -2.403401e-01 -3.110777e-01  3.581731e-08  1.530937e-08
+ 1.688631e-02  1.203666e-02 -2.403127e-01 -3.109733e-01  1.151558e-07  1.081116e-07
+ 1.688631e-02  1.220268e-02 -2.402866e-01 -3.108677e-01  6.238029e-08  9.217514e-08
+ 1.688631e-02  1.236647e-02 -2.402615e-01 -3.107606e-01  3.275590e-08  1.721304e-07
+ 1.688631e-02  1.252811e-02 -2.402371e-01 -3.106526e-01  1.484180e-07 -6.117833e-08
+ 1.688631e-02  1.268770e-02 -2.402141e-01 -3.105424e-01  9.008943e-08  7.296933e-09
+ 1.688631e-02  1.284531e-02 -2.401912e-01 -3.104318e-01 -1.074614e-06  1.981732e-06
+ 1.688631e-02  1.300100e-02 -2.401668e-01 -3.103232e-01  1.409416e-06 -2.243271e-06
+ 1.688631e-02  1.315485e-02 -2.401458e-01 -3.102084e-01  3.343332e-06 -5.223009e-06
+ 1.688631e-02  1.330692e-02 -2.401264e-01 -3.100902e-01 -1.415039e-06  2.133033e-06
+ 1.688631e-02  1.345728e-02 -2.401038e-01 -3.099763e-01  1.085035e-06 -1.670483e-06
+ 1.688631e-02  1.360597e-02 -2.400848e-01 -3.098553e-01 -3.862911e-06  5.339511e-06
+ 1.688631e-02  1.375306e-02 -2.400649e-01 -3.097341e-01 -1.872657e-06  2.487531e-06
+ 1.688631e-02  1.389858e-02 -2.400404e-01 -3.096172e-01  2.289792e-06 -2.894013e-06
+ 1.688631e-02  1.404260e-02 -2.400189e-01 -3.094943e-01  2.038971e-07 -1.961052e-07
+ 1.688631e-02  1.418516e-02 -2.399975e-01 -3.093694e-01  2.942521e-07 -2.166553e-07
+ 1.688631e-02  1.432630e-02 -2.399749e-01 -3.092436e-01 -9.286888e-08 -7.319858e-08
+ 1.688631e-02  1.446606e-02 -2.399517e-01 -3.091156e-01 -5.128561e-09 -6.241942e-08
+ 1.688631e-02  1.460449e-02 -2.399274e-01 -3.089862e-01 -6.727904e-08 -2.689686e-08
+ 1.688631e-02  1.474161e-02 -2.399022e-01 -3.088549e-01 -5.000685e-08 -3.426542e-08
+ 1.688631e-02  1.487748e-02 -2.398754e-01 -3.087222e-01  2.003795e-07 -3.030330e-07
+ 1.688631e-02  1.501211e-02 -2.398502e-01 -3.085855e-01 -4.274149e-07  1.736680e-07
+ 1.688631e-02  1.514554e-02 -2.398196e-01 -3.084494e-01  8.919898e-08 -4.004458e-09
+ 1.688631e-02  1.527781e-02 -2.397887e-01 -3.083105e-01  2.397197e-07  8.877039e-08
+ 1.688631e-02  1.540894e-02 -2.397560e-01 -3.081697e-01  1.302492e-07 -1.488614e-09
+ 1.688631e-02  1.553897e-02 -2.397215e-01 -3.080265e-01  9.085853e-08  3.107844e-07
+ 1.688631e-02  1.566792e-02 -2.396848e-01 -3.078816e-01  6.197169e-08 -3.649683e-07
+ 1.688631e-02  1.579582e-02 -2.396457e-01 -3.077350e-01  5.947522e-09 -3.469166e-07
+ 1.688631e-02  1.592268e-02 -2.396042e-01 -3.075852e-01 -2.826830e-09  7.611512e-09
+ 1.688631e-02  1.604855e-02 -2.395600e-01 -3.074331e-01  1.670217e-08 -5.992035e-08
+ 1.688631e-02  1.617343e-02 -2.395128e-01 -3.072794e-01  6.215496e-08 -2.595500e-07
+ 1.688631e-02  1.629736e-02 -2.394626e-01 -3.071224e-01  3.622618e-08 -1.824536e-07
+ 1.688631e-02  1.642036e-02 -2.394091e-01 -3.069636e-01 -1.323380e-07  6.335395e-07
+ 1.688631e-02  1.654243e-02 -2.393519e-01 -3.068023e-01  1.780814e-08  6.793678e-08
+ 1.688631e-02  1.666362e-02 -2.392908e-01 -3.066373e-01  5.577519e-08 -5.270406e-08
+ 1.688631e-02  1.678393e-02 -2.392252e-01 -3.064684e-01  1.527815e-08 -3.444410e-08
+ 1.688631e-02  1.690338e-02 -2.391504e-01 -3.062856e-01  3.463778e-06  6.460361e-06
+ 1.688631e-02  1.702200e-02 -2.390900e-01 -3.061353e-01  1.251598e-06  2.939750e-06
+ 1.688631e-02  1.713979e-02 -2.390263e-01 -3.060032e-01 -4.395631e-06 -1.481941e-05
+ 1.688631e-02  1.725678e-02 -2.389366e-01 -3.058050e-01  8.361826e-10 -1.055471e-08
+ 1.688631e-02  1.737298e-02 -2.388499e-01 -3.056251e-01 -4.064234e-08 -1.265754e-08
+ 1.688631e-02  1.748841e-02 -2.387606e-01 -3.054467e-01  5.907910e-08  1.013235e-10
+ 1.688631e-02  1.760308e-02 -2.386688e-01 -3.052689e-01 -3.567887e-06 -6.312129e-06
+ 1.688631e-02  1.771701e-02 -2.385797e-01 -3.050982e-01  7.430137e-10 -8.064640e-08
+ 1.688631e-02  1.783022e-02 -2.384979e-01 -3.049381e-01 -3.077713e-07 -1.242903e-06
+ 1.688631e-02  1.794270e-02 -2.383640e-01 -3.047288e-01 -4.479604e-04 -4.746847e-04
+ 1.688631e-02  1.805449e-02 -2.380485e-01 -3.043139e-01 -1.326888e-04 -1.185134e-04
+ 1.688631e-02  1.816559e-02 -2.379335e-01 -3.041413e-01  4.904176e-05  4.471682e-05
+ 1.688631e-02  1.827602e-02 -2.378712e-01 -3.040080e-01 -8.781617e-06 -7.421961e-06
+ 1.688631e-02  1.838578e-02 -2.369647e-01 -3.032804e-01 -4.443456e-06 -8.824203e-06
+ 1.688631e-02  1.849489e-02 -2.369402e-01 -3.031690e-01 -1.092062e-06 -2.468553e-06
+ 1.688631e-02  1.860336e-02 -2.369178e-01 -3.030483e-01 -1.145201e-06 -2.172759e-07
+ 1.688631e-02  1.871120e-02 -2.368874e-01 -3.029274e-01  1.601281e-05 -2.157909e-06
+ 1.688631e-02  1.881842e-02 -2.368688e-01 -3.027900e-01 -3.174357e-06 -9.982968e-06
+ 1.688631e-02  1.892503e-02 -2.368437e-01 -3.026386e-01 -4.051633e-06 -2.649160e-05
+ 1.688631e-02  1.903105e-02 -2.368212e-01 -3.025272e-01 -3.659553e-06 -2.948523e-07
+ 1.688631e-02  1.913648e-02 -2.368041e-01 -3.023783e-01 -1.300222e-05  2.572792e-06
+ 1.688631e-02  1.924133e-02 -2.367746e-01 -3.022487e-01  2.080561e-06 -1.069473e-05
+ 1.688631e-02  1.934562e-02 -2.363324e-01 -3.017926e-01 -4.000645e-04 -2.560437e-04
+ 1.688631e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.359324e-01  3.015366e-01
+ 1.688631e-02  1.955252e-02 -2.357069e-01 -3.012809e-01 -2.357069e-01 -3.012809e-01
+ 1.688631e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.561117e-02 -2.373348e-01 -2.937758e-01 -2.373348e-01 -2.937758e-01
+ 1.688631e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.688631e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  1.000000e-06 -2.430842e-01 -3.142325e-01  8.427702e-08 -5.989266e-10
+ 1.700481e-02  2.006944e-03 -2.429672e-01 -3.141597e-01 -2.337161e-09 -2.166271e-08
+ 1.700481e-02  2.837833e-03 -2.428516e-01 -3.140862e-01  2.520179e-08 -1.006774e-07
+ 1.700481e-02  3.475396e-03 -2.427382e-01 -3.140116e-01  1.975043e-07 -5.739438e-09
+ 1.700481e-02  4.012887e-03 -2.426277e-01 -3.139359e-01  2.275537e-07 -6.688618e-08
+ 1.700481e-02  4.486426e-03 -2.425197e-01 -3.138595e-01 -1.217277e-07  6.587005e-08
+ 1.700481e-02  4.914538e-03 -2.424144e-01 -3.137824e-01 -6.386382e-09 -2.128542e-09
+ 1.700481e-02  5.308228e-03 -2.423122e-01 -3.137043e-01 -8.168666e-08  3.903028e-08
+ 1.700481e-02  5.674665e-03 -2.422138e-01 -3.136257e-01 -2.506107e-07 -1.290660e-07
+ 1.700481e-02  6.018831e-03 -2.421175e-01 -3.135459e-01  5.338988e-08  5.836592e-09
+ 1.700481e-02  6.344350e-03 -2.420247e-01 -3.134655e-01 -2.710098e-08  1.243689e-09
+ 1.700481e-02  6.653962e-03 -2.419352e-01 -3.133842e-01  2.184561e-09 -4.264409e-09
+ 1.700481e-02  6.949792e-03 -2.418487e-01 -3.133022e-01 -3.832009e-08  9.029819e-09
+ 1.700481e-02  7.233532e-03 -2.417654e-01 -3.132193e-01  1.278402e-07  2.460274e-09
+ 1.700481e-02  7.506553e-03 -2.416852e-01 -3.131357e-01  1.479854e-07  1.051879e-08
+ 1.700481e-02  7.769986e-03 -2.416081e-01 -3.130512e-01  2.599935e-08  9.720498e-10
+ 1.700481e-02  8.024774e-03 -2.415340e-01 -3.129659e-01 -1.478968e-08  9.527672e-10
+ 1.700481e-02  8.271717e-03 -2.414629e-01 -3.128797e-01  1.687930e-10  1.588807e-09
+ 1.700481e-02  8.511498e-03 -2.413948e-01 -3.127928e-01 -1.600880e-08  9.437903e-10
+ 1.700481e-02  8.744705e-03 -2.413298e-01 -3.127050e-01  1.933610e-08  9.356530e-09
+ 1.700481e-02  8.971852e-03 -2.412680e-01 -3.126166e-01  1.401894e-07  4.973051e-09
+ 1.700481e-02  9.193388e-03 -2.412100e-01 -3.125275e-01  1.896734e-07  2.097513e-08
+ 1.700481e-02  9.409709e-03 -2.411666e-01 -3.124408e-01 -4.953324e-06 -1.360605e-06
+ 1.700481e-02  9.621167e-03 -2.410747e-01 -3.123392e-01 -2.214448e-05 -6.303033e-06
+ 1.700481e-02  9.828076e-03 -2.410147e-01 -3.122446e-01  9.776367e-06  2.837457e-06
+ 1.700481e-02  1.003072e-02 -2.409734e-01 -3.121538e-01 -1.902368e-07 -5.129552e-08
+ 1.700481e-02  1.022935e-02 -2.409266e-01 -3.120598e-01 -1.616065e-08  1.148790e-09
+ 1.700481e-02  1.042419e-02 -2.408810e-01 -3.119645e-01 -3.777781e-08 -3.462130e-09
+ 1.700481e-02  1.061546e-02 -2.408369e-01 -3.118681e-01  9.030312e-09  9.040620e-09
+ 1.700481e-02  1.080334e-02 -2.407945e-01 -3.117705e-01  8.758720e-08  4.739269e-09
+ 1.700481e-02  1.098801e-02 -2.407537e-01 -3.116718e-01  1.224274e-07  1.008235e-08
+ 1.700481e-02  1.116962e-02 -2.407145e-01 -3.115720e-01  1.100973e-07  2.959535e-08
+ 1.700481e-02  1.134833e-02 -2.406768e-01 -3.114710e-01  7.139389e-08  1.373636e-08
+ 1.700481e-02  1.152427e-02 -2.406406e-01 -3.113689e-01  2.591841e-08  2.619053e-09
+ 1.700481e-02  1.169756e-02 -2.406058e-01 -3.112656e-01 -1.128479e-08  1.590747e-08
+ 1.700481e-02  1.186832e-02 -2.405723e-01 -3.111610e-01 -2.447163e-08  4.161615e-08
+ 1.700481e-02  1.203666e-02 -2.405400e-01 -3.110553e-01 -4.357949e-08  1.030168e-07
+ 1.700481e-02  1.220268e-02 -2.405087e-01 -3.109483e-01 -3.218924e-09  2.043708e-08
+ 1.700481e-02  1.236647e-02 -2.404786e-01 -3.108398e-01  2.393355e-07  1.162806e-08
+ 1.700481e-02  1.252811e-02 -2.404491e-01 -3.107304e-01 -4.963427e-08  7.768140e-08
+ 1.700481e-02  1.268770e-02 -2.404206e-01 -3.106190e-01 -1.279449e-07  2.039790e-07
+ 1.700481e-02  1.284531e-02 -2.403929e-01 -3.105061e-01 -1.629180e-06  2.803600e-06
+ 1.700481e-02  1.300100e-02 -2.403634e-01 -3.103957e-01  2.681342e-06 -4.435738e-06
+ 1.700481e-02  1.315485e-02 -2.403359e-01 -3.102811e-01  2.654686e-06 -4.157524e-06
+ 1.700481e-02  1.330692e-02 -2.403116e-01 -3.101605e-01 -1.935519e-06  3.111794e-06
+ 1.700481e-02  1.345728e-02 -2.402838e-01 -3.100444e-01  3.358254e-07 -1.480951e-07
+ 1.700481e-02  1.360597e-02 -2.402583e-01 -3.099230e-01 -1.990556e-06  2.930567e-06
+ 1.700481e-02  1.375306e-02 -2.402339e-01 -3.097986e-01 -1.415979e-07  3.427027e-07
+ 1.700481e-02  1.389858e-02 -2.402039e-01 -3.096798e-01  7.325827e-07 -7.823983e-07
+ 1.700481e-02  1.404260e-02 -2.401761e-01 -3.095560e-01  5.914519e-08  2.712339e-09
+ 1.700481e-02  1.418516e-02 -2.401489e-01 -3.094289e-01  4.381967e-08  1.524141e-08
+ 1.700481e-02  1.432630e-02 -2.401202e-01 -3.093012e-01  6.766444e-09  8.136854e-09
+ 1.700481e-02  1.446606e-02 -2.400911e-01 -3.091712e-01 -7.510842e-08  1.222439e-08
+ 1.700481e-02  1.460449e-02 -2.400607e-01 -3.090398e-01  8.832823e-08 -1.124075e-08
+ 1.700481e-02  1.474161e-02 -2.400295e-01 -3.089064e-01  5.735660e-08  7.337235e-09
+ 1.700481e-02  1.487748e-02 -2.399969e-01 -3.087713e-01  2.390410e-07  3.266806e-08
+ 1.700481e-02  1.501211e-02 -2.399613e-01 -3.086357e-01  1.492093e-06 -1.684289e-06
+ 1.700481e-02  1.514554e-02 -2.399282e-01 -3.084941e-01  3.388311e-07 -7.217572e-08
+ 1.700481e-02  1.527781e-02 -2.398905e-01 -3.083531e-01  4.024736e-08  1.908216e-09
+ 1.700481e-02  1.540894e-02 -2.398512e-01 -3.082099e-01  4.197593e-08  1.059538e-08
+ 1.700481e-02  1.553897e-02 -2.398099e-01 -3.080646e-01  9.968488e-08 -1.013289e-08
+ 1.700481e-02  1.566792e-02 -2.397664e-01 -3.079168e-01  6.672269e-08  3.973245e-07
+ 1.700481e-02  1.579582e-02 -2.397204e-01 -3.077674e-01  5.426465e-08 -2.106256e-07
+ 1.700481e-02  1.592268e-02 -2.396717e-01 -3.076159e-01  1.031916e-07 -1.247505e-06
+ 1.700481e-02  1.604855e-02 -2.396203e-01 -3.074607e-01  2.218562e-08  3.812578e-07
+ 1.700481e-02  1.617343e-02 -2.395659e-01 -3.073040e-01  1.188899e-07 -3.082002e-07
+ 1.700481e-02  1.629736e-02 -2.395082e-01 -3.071447e-01 -1.365329e-08  3.687202e-07
+ 1.700481e-02  1.642036e-02 -2.394471e-01 -3.069821e-01 -1.458085e-07  1.319914e-06
+ 1.700481e-02  1.654243e-02 -2.393821e-01 -3.068180e-01  4.719330e-08 -2.023995e-07
+ 1.700481e-02  1.666362e-02 -2.393131e-01 -3.066500e-01  7.742861e-08 -1.572447e-07
+ 1.700481e-02  1.678393e-02 -2.392393e-01 -3.064775e-01  1.394480e-08 -4.224985e-08
+ 1.700481e-02  1.690338e-02 -2.391558e-01 -3.062912e-01  2.596180e-06  4.587218e-06
+ 1.700481e-02  1.702200e-02 -2.390848e-01 -3.061313e-01  3.500557e-06  7.756512e-06
+ 1.700481e-02  1.713979e-02 -2.390216e-01 -3.060148e-01 -3.038810e-06 -8.830111e-06
+ 1.700481e-02  1.725678e-02 -2.389182e-01 -3.058022e-01 -5.518514e-08  3.712102e-08
+ 1.700481e-02  1.737298e-02 -2.388221e-01 -3.056178e-01  9.699925e-08  2.873669e-08
+ 1.700481e-02  1.748841e-02 -2.387236e-01 -3.054352e-01  5.593830e-08  4.413764e-09
+ 1.700481e-02  1.760308e-02 -2.386209e-01 -3.052510e-01 -3.601273e-06 -6.120845e-06
+ 1.700481e-02  1.771701e-02 -2.385244e-01 -3.050787e-01 -7.319060e-09  3.620258e-08
+ 1.700481e-02  1.783022e-02 -2.384361e-01 -3.049154e-01  5.306802e-08  1.190960e-07
+ 1.700481e-02  1.794270e-02 -2.383594e-01 -3.047747e-01 -6.659427e-04 -6.505943e-04
+ 1.700481e-02  1.805449e-02 -2.379314e-01 -3.042642e-01  3.703964e-04  3.889743e-04
+ 1.700481e-02  1.816559e-02 -2.379069e-01 -3.041731e-01  2.998423e-05  2.613464e-05
+ 1.700481e-02  1.827602e-02 -2.377429e-01 -3.039585e-01  2.417252e-04  1.978914e-04
+ 1.700481e-02  1.838578e-02 -2.369777e-01 -3.033275e-01 -7.586019e-07 -3.603929e-06
+ 1.700481e-02  1.849489e-02 -2.369495e-01 -3.032050e-01 -3.670187e-06 -9.146795e-07
+ 1.700481e-02  1.860336e-02 -2.369262e-01 -3.030863e-01  1.887452e-06 -4.382557e-06
+ 1.700481e-02  1.871120e-02 -2.368952e-01 -3.029615e-01  5.992060e-06 -4.849753e-06
+ 1.700481e-02  1.881842e-02 -2.368734e-01 -3.028318e-01 -2.011878e-06 -2.892787e-07
+ 1.700481e-02  1.892503e-02 -2.368563e-01 -3.026951e-01 -9.656849e-07 -4.537155e-07
+ 1.700481e-02  1.903105e-02 -2.368260e-01 -3.025619e-01  5.707225e-07  2.741012e-07
+ 1.700481e-02  1.913648e-02 -2.368056e-01 -3.023942e-01 -7.240417e-06  5.224639e-06
+ 1.700481e-02  1.924133e-02 -2.365553e-01 -3.020982e-01  2.240033e-04  1.731932e-04
+ 1.700481e-02  1.934562e-02 -2.366861e-01 -3.021034e-01  8.656528e-05  4.181334e-05
+ 1.700481e-02  1.944934e-02 -2.358099e-01 -3.014652e-01 -2.358099e-01 -3.014652e-01
+ 1.700481e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.700481e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  1.000000e-06 -2.434919e-01 -3.143407e-01 -3.838994e-08 -8.863260e-09
+ 1.712248e-02  2.006944e-03 -2.433696e-01 -3.142678e-01 -3.811459e-08  2.817984e-08
+ 1.712248e-02  2.837833e-03 -2.432486e-01 -3.141940e-01  1.651569e-07 -1.363441e-08
+ 1.712248e-02  3.475396e-03 -2.431298e-01 -3.141190e-01  3.058625e-07 -6.145951e-08
+ 1.712248e-02  4.012887e-03 -2.430132e-01 -3.140434e-01  2.433934e-07 -2.119117e-07
+ 1.712248e-02  4.486426e-03 -2.428996e-01 -3.139666e-01 -6.577839e-08  3.299295e-08
+ 1.712248e-02  4.914538e-03 -2.427893e-01 -3.138887e-01  1.523880e-07 -6.602908e-08
+ 1.712248e-02  5.308228e-03 -2.426815e-01 -3.138103e-01  1.514053e-07  5.826831e-08
+ 1.712248e-02  5.674665e-03 -2.425769e-01 -3.137310e-01  3.822731e-08 -8.621138e-09
+ 1.712248e-02  6.018831e-03 -2.424757e-01 -3.136508e-01 -1.146674e-07  5.018020e-08
+ 1.712248e-02  6.344350e-03 -2.423774e-01 -3.135698e-01 -4.288683e-08 -2.149188e-09
+ 1.712248e-02  6.653962e-03 -2.422834e-01 -3.134881e-01  2.986715e-06  7.721565e-07
+ 1.712248e-02  6.949792e-03 -2.421913e-01 -3.134053e-01  2.227811e-07  5.178681e-10
+ 1.712248e-02  7.233532e-03 -2.421027e-01 -3.133217e-01  4.417563e-08 -2.326386e-09
+ 1.712248e-02  7.506553e-03 -2.420174e-01 -3.132373e-01 -3.141034e-08  5.233369e-09
+ 1.712248e-02  7.769986e-03 -2.419351e-01 -3.131520e-01 -2.331796e-09 -1.425335e-09
+ 1.712248e-02  8.024774e-03 -2.418557e-01 -3.130659e-01 -4.045141e-08  9.090676e-09
+ 1.712248e-02  8.271717e-03 -2.417793e-01 -3.129789e-01  1.003829e-07  2.609663e-09
+ 1.712248e-02  8.511498e-03 -2.417059e-01 -3.128910e-01  1.712401e-07  8.015370e-09
+ 1.712248e-02  8.744705e-03 -2.416353e-01 -3.128022e-01  7.736985e-08  4.334804e-09
+ 1.712248e-02  8.971852e-03 -2.415675e-01 -3.127125e-01 -1.606807e-08  4.229576e-10
+ 1.712248e-02  9.193388e-03 -2.415024e-01 -3.126219e-01  5.381137e-09  2.619820e-09
+ 1.712248e-02  9.409709e-03 -2.414401e-01 -3.125304e-01 -4.496395e-09  6.146978e-10
+ 1.712248e-02  9.621167e-03 -2.413804e-01 -3.124380e-01 -1.959167e-08  2.355101e-09
+ 1.712248e-02  9.828076e-03 -2.413238e-01 -3.123448e-01  5.149036e-08  9.384218e-09
+ 1.712248e-02  1.003072e-02 -2.412706e-01 -3.122509e-01  1.325821e-07  1.241172e-08
+ 1.712248e-02  1.022935e-02 -2.412229e-01 -3.121569e-01 -1.720135e-06 -4.670003e-07
+ 1.712248e-02  1.042419e-02 -2.411939e-01 -3.120662e-01 -3.358916e-05 -8.734609e-06
+ 1.712248e-02  1.061546e-02 -2.410681e-01 -3.119480e-01  1.588278e-06  4.427386e-07
+ 1.712248e-02  1.080334e-02 -2.410453e-01 -3.118560e-01 -3.750684e-06 -1.045609e-06
+ 1.712248e-02  1.098801e-02 -2.410016e-01 -3.117566e-01 -4.724530e-08 -1.182936e-09
+ 1.712248e-02  1.116962e-02 -2.409593e-01 -3.116561e-01 -2.787168e-08  1.296351e-08
+ 1.712248e-02  1.134833e-02 -2.409178e-01 -3.115542e-01 -2.619599e-08 -3.987774e-09
+ 1.712248e-02  1.152427e-02 -2.408773e-01 -3.114510e-01 -1.588912e-08 -3.432070e-10
+ 1.712248e-02  1.169756e-02 -2.408380e-01 -3.113465e-01 -8.418409e-10  4.201592e-08
+ 1.712248e-02  1.186832e-02 -2.407998e-01 -3.112407e-01  6.164392e-08  4.481651e-08
+ 1.712248e-02  1.203666e-02 -2.407626e-01 -3.111336e-01  9.788384e-08  5.551100e-08
+ 1.712248e-02  1.220268e-02 -2.407264e-01 -3.110253e-01  1.349174e-07 -2.266493e-09
+ 1.712248e-02  1.236647e-02 -2.406912e-01 -3.109155e-01  9.383086e-08  1.991414e-08
+ 1.712248e-02  1.252811e-02 -2.406567e-01 -3.108045e-01 -8.966708e-08  2.992327e-07
+ 1.712248e-02  1.268770e-02 -2.406232e-01 -3.106920e-01 -1.917732e-07  3.126867e-07
+ 1.712248e-02  1.284531e-02 -2.405905e-01 -3.105772e-01 -1.180957e-06  2.039493e-06
+ 1.712248e-02  1.300100e-02 -2.405561e-01 -3.104646e-01  2.760108e-06 -4.607439e-06
+ 1.712248e-02  1.315485e-02 -2.405225e-01 -3.103497e-01  1.127600e-06 -1.808121e-06
+ 1.712248e-02  1.330692e-02 -2.404928e-01 -3.102274e-01 -1.378651e-06  2.085736e-06
+ 1.712248e-02  1.345728e-02 -2.404602e-01 -3.101085e-01  2.592262e-08  5.104679e-07
+ 1.712248e-02  1.360597e-02 -2.404282e-01 -3.099869e-01  1.683436e-07 -2.568423e-07
+ 1.712248e-02  1.375306e-02 -2.403989e-01 -3.098598e-01 -1.584181e-07  1.976508e-07
+ 1.712248e-02  1.389858e-02 -2.403637e-01 -3.097386e-01 -1.614524e-06  2.091686e-06
+ 1.712248e-02  1.404260e-02 -2.403293e-01 -3.096138e-01  2.396457e-07 -2.298781e-07
+ 1.712248e-02  1.418516e-02 -2.402965e-01 -3.094846e-01  1.538239e-08  8.638769e-08
+ 1.712248e-02  1.432630e-02 -2.402618e-01 -3.093549e-01  2.192222e-07 -6.136811e-08
+ 1.712248e-02  1.446606e-02 -2.402269e-01 -3.092230e-01  5.938330e-08  1.402474e-08
+ 1.712248e-02  1.460449e-02 -2.401904e-01 -3.090895e-01  9.717902e-08 -2.025497e-08
+ 1.712248e-02  1.474161e-02 -2.401529e-01 -3.089540e-01  6.665006e-08 -3.260144e-09
+ 1.712248e-02  1.487748e-02 -2.401139e-01 -3.088167e-01  2.193046e-07  9.765320e-09
+ 1.712248e-02  1.501211e-02 -2.400735e-01 -3.086775e-01 -9.993589e-08  9.565816e-08
+ 1.712248e-02  1.514554e-02 -2.400331e-01 -3.085334e-01  5.269064e-06 -6.127508e-06
+ 1.712248e-02  1.527781e-02 -2.399885e-01 -3.083914e-01  4.759675e-07 -3.295640e-09
+ 1.712248e-02  1.540894e-02 -2.399424e-01 -3.082460e-01  5.133171e-09  7.185529e-09
+ 1.712248e-02  1.553897e-02 -2.398942e-01 -3.080982e-01  9.168737e-09 -3.806723e-08
+ 1.712248e-02  1.566792e-02 -2.398437e-01 -3.079481e-01  6.276764e-08  3.551971e-09
+ 1.712248e-02  1.579582e-02 -2.397907e-01 -3.077956e-01  9.343643e-08  2.037024e-08
+ 1.712248e-02  1.592268e-02 -2.397350e-01 -3.076416e-01  9.911234e-08  8.074197e-08
+ 1.712248e-02  1.604855e-02 -2.396763e-01 -3.074843e-01 -1.784768e-08 -1.053167e-07
+ 1.712248e-02  1.617343e-02 -2.396145e-01 -3.073243e-01 -2.434293e-08 -1.435053e-08
+ 1.712248e-02  1.629736e-02 -2.395493e-01 -3.071622e-01 -4.267875e-09  9.314723e-08
+ 1.712248e-02  1.642036e-02 -2.394805e-01 -3.069964e-01 -6.043019e-08  5.563101e-07
+ 1.712248e-02  1.654243e-02 -2.394076e-01 -3.068289e-01  5.542688e-08 -4.609192e-07
+ 1.712248e-02  1.666362e-02 -2.393305e-01 -3.066578e-01  8.061150e-08 -2.418192e-07
+ 1.712248e-02  1.678393e-02 -2.392484e-01 -3.064816e-01  1.082234e-07 -2.054088e-08
+ 1.712248e-02  1.690338e-02 -2.391555e-01 -3.062904e-01  3.223946e-06  5.503089e-06
+ 1.712248e-02  1.702200e-02 -2.390755e-01 -3.061251e-01  5.697199e-06  1.189913e-05
+ 1.712248e-02  1.713979e-02 -2.390127e-01 -3.060214e-01 -4.303233e-07 -1.095089e-06
+ 1.712248e-02  1.725678e-02 -2.388945e-01 -3.057941e-01  2.392250e-08  1.824991e-07
+ 1.712248e-02  1.737298e-02 -2.387887e-01 -3.056050e-01  8.310413e-08  1.595788e-08
+ 1.712248e-02  1.748841e-02 -2.386806e-01 -3.054179e-01  1.831167e-08  1.650477e-08
+ 1.712248e-02  1.760308e-02 -2.385671e-01 -3.052274e-01  2.566887e-06  4.124280e-06
+ 1.712248e-02  1.771701e-02 -2.384637e-01 -3.050541e-01 -2.515244e-06 -3.372977e-06
+ 1.712248e-02  1.783022e-02 -2.383704e-01 -3.048898e-01  6.112566e-07  7.192261e-07
+ 1.712248e-02  1.794270e-02 -2.377521e-01 -3.042216e-01  1.456508e-04  1.250728e-04
+ 1.712248e-02  1.805449e-02 -2.380208e-01 -3.043999e-01 -7.095760e-05 -6.575190e-05
+ 1.712248e-02  1.816559e-02 -2.379196e-01 -3.042354e-01  7.741737e-05  6.830544e-05
+ 1.712248e-02  1.827602e-02 -2.370149e-01 -3.034814e-01  7.085856e-04  5.079816e-04
+ 1.712248e-02  1.838578e-02 -2.369757e-01 -3.033585e-01 -2.516484e-06 -1.839499e-06
+ 1.712248e-02  1.849489e-02 -2.369546e-01 -3.032435e-01 -1.442497e-06 -1.592809e-07
+ 1.712248e-02  1.860336e-02 -2.369342e-01 -3.031249e-01  1.177707e-07 -3.623099e-07
+ 1.712248e-02  1.871120e-02 -2.369046e-01 -3.029986e-01 -2.780703e-06 -1.086723e-07
+ 1.712248e-02  1.881842e-02 -2.368773e-01 -3.028664e-01  7.213303e-06  3.752875e-07
+ 1.712248e-02  1.892503e-02 -2.368626e-01 -3.027342e-01  3.931185e-06  1.242682e-06
+ 1.712248e-02  1.903105e-02 -2.368330e-01 -3.025915e-01  3.010936e-06  9.293073e-07
+ 1.712248e-02  1.913648e-02 -2.368105e-01 -3.024263e-01 -4.138843e-06 -2.446307e-05
+ 1.712248e-02  1.924133e-02 -2.371536e-01 -3.024920e-01 -1.611380e-03 -9.675391e-04
+ 1.712248e-02  1.934562e-02 -2.359589e-01 -3.017682e-01  2.190661e-04  1.373370e-04
+ 1.712248e-02  1.944934e-02 -2.362381e-01 -3.018242e-01 -5.997516e-04 -4.150640e-04
+ 1.712248e-02  1.955252e-02 -2.349515e-01 -3.009089e-01 -2.349515e-01 -3.009089e-01
+ 1.712248e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.712248e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.723935e-02  1.000000e-06 -2.438948e-01 -3.144456e-01 -3.581787e-09  8.097828e-10
+ 1.723935e-02  2.006944e-03 -2.437671e-01 -3.143726e-01  6.650398e-08 -1.220042e-08
+ 1.723935e-02  2.837833e-03 -2.436408e-01 -3.142984e-01  2.395643e-07  1.223469e-07
+ 1.723935e-02  3.475396e-03 -2.435163e-01 -3.142234e-01 -1.055017e-07  4.915383e-08
+ 1.723935e-02  4.012887e-03 -2.433944e-01 -3.141472e-01 -3.346099e-08  1.775390e-08
+ 1.723935e-02  4.486426e-03 -2.432751e-01 -3.140700e-01  1.582149e-07 -5.448995e-08
+ 1.723935e-02  4.914538e-03 -2.431580e-01 -3.139923e-01  1.320851e-06 -4.937189e-07
+ 1.723935e-02  5.308228e-03 -2.430453e-01 -3.139132e-01 -3.483590e-07  1.550201e-07
+ 1.723935e-02  5.674665e-03 -2.429360e-01 -3.138331e-01 -9.854246e-08  3.903694e-08
+ 1.723935e-02  6.018831e-03 -2.428290e-01 -3.137524e-01 -5.456134e-08  9.507152e-09
+ 1.723935e-02  6.344350e-03 -2.427255e-01 -3.136708e-01  2.671980e-07 -1.399809e-08
+ 1.723935e-02  6.653962e-03 -2.426254e-01 -3.135883e-01  6.341890e-08  3.391541e-08
+ 1.723935e-02  6.949792e-03 -2.425286e-01 -3.135050e-01 -2.541248e-08 -2.350014e-09
+ 1.723935e-02  7.233532e-03 -2.424348e-01 -3.134207e-01 -7.038387e-08  2.374384e-08
+ 1.723935e-02  7.506553e-03 -2.423452e-01 -3.133358e-01  3.211384e-06  7.964109e-07
+ 1.723935e-02  7.769986e-03 -2.422576e-01 -3.132497e-01  1.271739e-07  1.312684e-08
+ 1.723935e-02  8.024774e-03 -2.421732e-01 -3.131628e-01  1.837682e-07  3.327456e-09
+ 1.723935e-02  8.271717e-03 -2.420918e-01 -3.130749e-01  2.734600e-08  1.322836e-09
+ 1.723935e-02  8.511498e-03 -2.420134e-01 -3.129861e-01 -2.617178e-08  2.019870e-09
+ 1.723935e-02  8.744705e-03 -2.419378e-01 -3.128964e-01  1.309675e-09 -2.075400e-09
+ 1.723935e-02  8.971852e-03 -2.418649e-01 -3.128058e-01 -2.386295e-08  7.435551e-09
+ 1.723935e-02  9.193388e-03 -2.417947e-01 -3.127142e-01  6.857534e-08  3.865564e-09
+ 1.723935e-02  9.409709e-03 -2.417270e-01 -3.126216e-01  1.856343e-07  9.942977e-09
+ 1.723935e-02  9.621167e-03 -2.416620e-01 -3.125281e-01  1.254111e-07  8.404828e-09
+ 1.723935e-02  9.828076e-03 -2.415994e-01 -3.124335e-01  8.493525e-09  1.948336e-09
+ 1.723935e-02  1.003072e-02 -2.415392e-01 -3.123380e-01 -1.246455e-08 -1.752383e-09
+ 1.723935e-02  1.022935e-02 -2.414814e-01 -3.122415e-01  1.742038e-10  8.531868e-09
+ 1.723935e-02  1.042419e-02 -2.414261e-01 -3.121439e-01 -9.212007e-09  4.470472e-09
+ 1.723935e-02  1.061546e-02 -2.413733e-01 -3.120455e-01 -1.857256e-08 -8.730041e-10
+ 1.723935e-02  1.080334e-02 -2.413236e-01 -3.119462e-01  8.305755e-09  4.553995e-09
+ 1.723935e-02  1.098801e-02 -2.412770e-01 -3.118461e-01  4.568099e-06  1.052068e-06
+ 1.723935e-02  1.116962e-02 -2.412586e-01 -3.117512e-01 -1.179221e-05 -2.795302e-06
+ 1.723935e-02  1.134833e-02 -2.411176e-01 -3.116247e-01  2.036598e-05  5.229244e-06
+ 1.723935e-02  1.152427e-02 -2.411015e-01 -3.115276e-01 -4.169411e-06 -1.069923e-06
+ 1.723935e-02  1.169756e-02 -2.410607e-01 -3.114227e-01 -2.999659e-08  4.671910e-08
+ 1.723935e-02  1.186832e-02 -2.410200e-01 -3.113162e-01 -7.108312e-08  1.309106e-09
+ 1.723935e-02  1.203666e-02 -2.409792e-01 -3.112080e-01 -3.631506e-09  6.885169e-09
+ 1.723935e-02  1.220268e-02 -2.409388e-01 -3.110985e-01 -3.711241e-08  2.197068e-08
+ 1.723935e-02  1.236647e-02 -2.408991e-01 -3.109874e-01 -5.697114e-08  6.824835e-08
+ 1.723935e-02  1.252811e-02 -2.408599e-01 -3.108750e-01 -1.988812e-07  3.740144e-07
+ 1.723935e-02  1.268770e-02 -2.408212e-01 -3.107612e-01 -5.759812e-08  1.923475e-07
+ 1.723935e-02  1.284531e-02 -2.407838e-01 -3.106448e-01 -5.614129e-07  9.985672e-07
+ 1.723935e-02  1.300100e-02 -2.407446e-01 -3.105299e-01  1.942396e-06 -2.999910e-06
+ 1.723935e-02  1.315485e-02 -2.407051e-01 -3.104144e-01  2.741089e-07 -2.356583e-07
+ 1.723935e-02  1.330692e-02 -2.406699e-01 -3.102908e-01  2.055943e-07 -1.953393e-07
+ 1.723935e-02  1.345728e-02 -2.406326e-01 -3.101689e-01 -5.616468e-08 -6.601425e-07
+ 1.723935e-02  1.360597e-02 -2.405944e-01 -3.100468e-01  1.710800e-06 -2.383480e-06
+ 1.723935e-02  1.375306e-02 -2.405598e-01 -3.099176e-01 -1.226065e-06  1.628822e-06
+ 1.723935e-02  1.389858e-02 -2.405196e-01 -3.097935e-01 -3.360436e-06  4.302322e-06
+ 1.723935e-02  1.404260e-02 -2.404788e-01 -3.096678e-01  7.605121e-07 -9.406411e-07
+ 1.723935e-02  1.418516e-02 -2.404403e-01 -3.095365e-01  2.788186e-09 -2.040227e-08
+ 1.723935e-02  1.432630e-02 -2.403997e-01 -3.094048e-01  1.697927e-07 -2.096277e-07
+ 1.723935e-02  1.446606e-02 -2.403586e-01 -3.092708e-01  5.631648e-08 -2.985152e-08
+ 1.723935e-02  1.460449e-02 -2.403161e-01 -3.091353e-01  1.475751e-07 -5.056229e-08
+ 1.723935e-02  1.474161e-02 -2.402724e-01 -3.089976e-01  1.340196e-07  4.741156e-09
+ 1.723935e-02  1.487748e-02 -2.402272e-01 -3.088581e-01  6.664301e-08 -3.784701e-08
+ 1.723935e-02  1.501211e-02 -2.401804e-01 -3.087165e-01  1.055116e-07  1.995292e-08
+ 1.723935e-02  1.514554e-02 -2.401305e-01 -3.085753e-01 -2.849642e-08 -2.566683e-08
+ 1.723935e-02  1.527781e-02 -2.400823e-01 -3.084250e-01  5.768366e-09 -1.061655e-08
+ 1.723935e-02  1.540894e-02 -2.400292e-01 -3.082777e-01  1.073069e-07 -2.706915e-08
+ 1.723935e-02  1.553897e-02 -2.399745e-01 -3.081274e-01 -1.664398e-07  8.607737e-08
+ 1.723935e-02  1.566792e-02 -2.399170e-01 -3.079749e-01  2.391215e-09 -1.951469e-08
+ 1.723935e-02  1.579582e-02 -2.398569e-01 -3.078197e-01 -5.064055e-09  3.570632e-07
+ 1.723935e-02  1.592268e-02 -2.397939e-01 -3.076625e-01  1.444403e-07 -1.991952e-07
+ 1.723935e-02  1.604855e-02 -2.397278e-01 -3.075031e-01  2.305546e-07 -1.289965e-06
+ 1.723935e-02  1.617343e-02 -2.396586e-01 -3.073398e-01 -5.964766e-09 -2.790419e-08
+ 1.723935e-02  1.629736e-02 -2.395858e-01 -3.071748e-01  4.848651e-08 -3.152406e-07
+ 1.723935e-02  1.642036e-02 -2.395094e-01 -3.070060e-01  2.055615e-08 -7.550203e-08
+ 1.723935e-02  1.654243e-02 -2.394284e-01 -3.068350e-01  1.152320e-07 -3.552005e-07
+ 1.723935e-02  1.666362e-02 -2.393432e-01 -3.066606e-01  7.042899e-08 -2.712136e-07
+ 1.723935e-02  1.678393e-02 -2.392525e-01 -3.064807e-01  1.405808e-07  7.482312e-09
+ 1.723935e-02  1.690338e-02 -2.391489e-01 -3.062826e-01  6.113745e-06  1.020979e-05
+ 1.723935e-02  1.702200e-02 -2.390626e-01 -3.061172e-01  7.055323e-06  1.390683e-05
+ 1.723935e-02  1.713979e-02 -2.389986e-01 -3.060210e-01 -2.090721e-07 -4.856031e-07
+ 1.723935e-02  1.725678e-02 -2.388654e-01 -3.057804e-01  1.420908e-07  3.127463e-07
+ 1.723935e-02  1.737298e-02 -2.387498e-01 -3.055865e-01  1.484817e-07  6.153811e-08
+ 1.723935e-02  1.748841e-02 -2.386317e-01 -3.053947e-01 -4.257001e-08  2.142311e-08
+ 1.723935e-02  1.760308e-02 -2.385088e-01 -3.052006e-01  3.813361e-07  6.080067e-07
+ 1.723935e-02  1.771701e-02 -2.383978e-01 -3.050249e-01 -2.501571e-07 -4.765869e-07
+ 1.723935e-02  1.783022e-02 -2.382835e-01 -3.048354e-01  2.420402e-05  3.493717e-05
+ 1.723935e-02  1.794270e-02 -2.377133e-01 -3.042370e-01  1.410832e-05  1.185776e-05
+ 1.723935e-02  1.805449e-02 -2.378396e-01 -3.042861e-01  2.426989e-04  2.293324e-04
+ 1.723935e-02  1.816559e-02 -2.370288e-01 -3.036003e-01  3.302088e-04  2.362992e-04
+ 1.723935e-02  1.827602e-02 -2.369990e-01 -3.035011e-01  2.327466e-06 -4.370724e-06
+ 1.723935e-02  1.838578e-02 -2.369819e-01 -3.033931e-01 -2.847035e-07  3.434890e-08
+ 1.723935e-02  1.849489e-02 -2.369601e-01 -3.032793e-01 -2.013046e-07 -1.916215e-07
+ 1.723935e-02  1.860336e-02 -2.369406e-01 -3.031596e-01 -3.419772e-06 -9.862079e-08
+ 1.723935e-02  1.871120e-02 -2.369135e-01 -3.030330e-01 -2.589113e-06 -2.432828e-08
+ 1.723935e-02  1.881842e-02 -2.368828e-01 -3.029023e-01  1.707294e-05  6.107542e-07
+ 1.723935e-02  1.892503e-02 -2.368669e-01 -3.027688e-01  4.733484e-07 -1.070783e-06
+ 1.723935e-02  1.903105e-02 -2.368392e-01 -3.026247e-01  1.942126e-06 -2.250225e-06
+ 1.723935e-02  1.913648e-02 -2.363547e-01 -3.022185e-01  4.397399e-04  2.711667e-04
+ 1.723935e-02  1.924133e-02 -2.368336e-01 -3.024170e-01 -2.320760e-05 -1.806652e-05
+ 1.723935e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.723935e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.368103e-01  3.023989e-01
+ 1.735544e-02  1.000000e-06 -2.442927e-01 -3.145473e-01 -6.152416e-08  1.278720e-09
+ 1.735544e-02  2.006944e-03 -2.441597e-01 -3.144741e-01  5.242972e-07 -2.036616e-08
+ 1.735544e-02  2.837833e-03 -2.440279e-01 -3.143998e-01 -3.899352e-08  3.174061e-08
+ 1.735544e-02  3.475396e-03 -2.438982e-01 -3.143242e-01 -6.671162e-08  3.549397e-08
+ 1.735544e-02  4.012887e-03 -2.437704e-01 -3.142476e-01 -8.771612e-08  6.045938e-08
+ 1.735544e-02  4.486426e-03 -2.436449e-01 -3.141703e-01  2.122123e-07  8.598526e-08
+ 1.735544e-02  4.914538e-03 -2.435234e-01 -3.140917e-01 -2.475762e-07  9.897016e-08
+ 1.735544e-02  5.308228e-03 -2.434045e-01 -3.140124e-01 -2.743209e-07  8.989384e-08
+ 1.735544e-02  5.674665e-03 -2.432880e-01 -3.139324e-01  2.220521e-06 -7.744982e-07
+ 1.735544e-02  6.018831e-03 -2.431769e-01 -3.138508e-01  8.033854e-08  8.250237e-08
+ 1.735544e-02  6.344350e-03 -2.430688e-01 -3.137684e-01 -6.176500e-07  2.122250e-07
+ 1.735544e-02  6.653962e-03 -2.429633e-01 -3.136855e-01 -6.799175e-09 -2.059893e-09
+ 1.735544e-02  6.949792e-03 -2.428614e-01 -3.136014e-01 -9.665843e-08  1.891297e-08
+ 1.735544e-02  7.233532e-03 -2.427625e-01 -3.135165e-01  1.236029e-07  2.614191e-09
+ 1.735544e-02  7.506553e-03 -2.426670e-01 -3.134307e-01  2.621423e-07 -1.842435e-09
+ 1.735544e-02  7.769986e-03 -2.425747e-01 -3.133439e-01 -1.158694e-08  6.875214e-09
+ 1.735544e-02  8.024774e-03 -2.424853e-01 -3.132561e-01 -5.728033e-08 -1.308241e-08
+ 1.735544e-02  8.271717e-03 -2.424007e-01 -3.131678e-01  5.453511e-06  1.314569e-06
+ 1.735544e-02  8.511498e-03 -2.423167e-01 -3.130781e-01  1.663658e-08  9.678497e-09
+ 1.735544e-02  8.744705e-03 -2.422361e-01 -3.129875e-01  1.670334e-07  1.285808e-08
+ 1.735544e-02  8.971852e-03 -2.421583e-01 -3.128959e-01  1.678476e-07  4.734702e-09
+ 1.735544e-02  9.193388e-03 -2.420833e-01 -3.128034e-01  2.816772e-08  8.013272e-09
+ 1.735544e-02  9.409709e-03 -2.420109e-01 -3.127098e-01 -1.366934e-08 -8.855333e-10
+ 1.735544e-02  9.621167e-03 -2.419409e-01 -3.126152e-01  1.039891e-08  5.184212e-09
+ 1.735544e-02  9.828076e-03 -2.418733e-01 -3.125196e-01 -2.969860e-08 -1.846712e-09
+ 1.735544e-02  1.003072e-02 -2.418080e-01 -3.124229e-01  5.014136e-08  9.901876e-10
+ 1.735544e-02  1.022935e-02 -2.417450e-01 -3.123252e-01  1.608625e-07  1.472192e-08
+ 1.735544e-02  1.042419e-02 -2.416841e-01 -3.122264e-01  1.631623e-07  5.900178e-09
+ 1.735544e-02  1.061546e-02 -2.416254e-01 -3.121265e-01  5.437396e-08  6.343151e-09
+ 1.735544e-02  1.080334e-02 -2.415687e-01 -3.120255e-01 -1.702513e-08  1.339888e-08
+ 1.735544e-02  1.098801e-02 -2.415140e-01 -3.119233e-01 -9.751558e-09  8.359793e-09
+ 1.735544e-02  1.116962e-02 -2.414614e-01 -3.118201e-01  1.452232e-08  2.477226e-09
+ 1.735544e-02  1.134833e-02 -2.414112e-01 -3.117159e-01  1.904563e-08  1.909196e-08
+ 1.735544e-02  1.152427e-02 -2.413640e-01 -3.116107e-01 -4.846966e-08  1.716038e-08
+ 1.735544e-02  1.169756e-02 -2.413205e-01 -3.115048e-01  2.946007e-06  6.335087e-07
+ 1.735544e-02  1.186832e-02 -2.413059e-01 -3.114034e-01 -3.144366e-05 -6.501213e-06
+ 1.735544e-02  1.203666e-02 -2.411563e-01 -3.112711e-01  2.393071e-07  4.114653e-08
+ 1.735544e-02  1.220268e-02 -2.411406e-01 -3.111669e-01 -3.871612e-06 -8.393428e-07
+ 1.735544e-02  1.236647e-02 -2.410979e-01 -3.110549e-01 -2.616332e-07  4.878054e-08
+ 1.735544e-02  1.252811e-02 -2.410560e-01 -3.109413e-01 -1.777574e-07  3.128733e-07
+ 1.735544e-02  1.268770e-02 -2.410135e-01 -3.108264e-01 -3.662548e-08  1.599737e-08
+ 1.735544e-02  1.284531e-02 -2.409715e-01 -3.107087e-01 -1.670380e-07  2.816291e-07
+ 1.735544e-02  1.300100e-02 -2.409283e-01 -3.105915e-01  8.228477e-07 -9.310691e-07
+ 1.735544e-02  1.315485e-02 -2.408835e-01 -3.104751e-01  3.818294e-08 -9.440937e-08
+ 1.735544e-02  1.330692e-02 -2.408427e-01 -3.103505e-01  1.739313e-06 -2.603644e-06
+ 1.735544e-02  1.345728e-02 -2.408008e-01 -3.102257e-01 -1.536811e-07  7.708119e-08
+ 1.735544e-02  1.360597e-02 -2.407566e-01 -3.101028e-01  2.396173e-06 -3.199129e-06
+ 1.735544e-02  1.375306e-02 -2.407165e-01 -3.099717e-01 -2.424018e-06  3.425745e-06
+ 1.735544e-02  1.389858e-02 -2.406715e-01 -3.098448e-01 -4.076816e-06  5.314178e-06
+ 1.735544e-02  1.404260e-02 -2.406244e-01 -3.097178e-01  1.472652e-06 -1.789915e-06
+ 1.735544e-02  1.418516e-02 -2.405801e-01 -3.095845e-01  1.341961e-07 -1.708309e-07
+ 1.735544e-02  1.432630e-02 -2.405337e-01 -3.094508e-01  2.941046e-07 -3.453958e-07
+ 1.735544e-02  1.446606e-02 -2.404866e-01 -3.093147e-01  7.751645e-08 -7.626044e-08
+ 1.735544e-02  1.460449e-02 -2.404379e-01 -3.091770e-01  6.822607e-08 -1.230205e-07
+ 1.735544e-02  1.474161e-02 -2.403880e-01 -3.090371e-01 -3.214338e-09 -2.547181e-08
+ 1.735544e-02  1.487748e-02 -2.403363e-01 -3.088953e-01  1.790121e-07 -3.209017e-08
+ 1.735544e-02  1.501211e-02 -2.402833e-01 -3.087515e-01 -9.205515e-08 -3.349159e-08
+ 1.735544e-02  1.514554e-02 -2.402279e-01 -3.086059e-01  2.583178e-08  4.167349e-08
+ 1.735544e-02  1.527781e-02 -2.401727e-01 -3.084519e-01  7.689489e-07 -1.105711e-06
+ 1.735544e-02  1.540894e-02 -2.401122e-01 -3.083050e-01 -6.384142e-08 -1.570389e-08
+ 1.735544e-02  1.553897e-02 -2.400502e-01 -3.081524e-01  4.368518e-08 -2.650317e-08
+ 1.735544e-02  1.566792e-02 -2.399860e-01 -3.079972e-01  3.480415e-07 -1.090997e-07
+ 1.735544e-02  1.579582e-02 -2.399187e-01 -3.078395e-01  3.186704e-09 -7.038108e-09
+ 1.735544e-02  1.592268e-02 -2.398484e-01 -3.076791e-01  3.374517e-08 -3.689047e-07
+ 1.735544e-02  1.604855e-02 -2.397750e-01 -3.075172e-01  1.602606e-07 -6.664959e-07
+ 1.735544e-02  1.617343e-02 -2.396982e-01 -3.073510e-01  5.600457e-08  4.523784e-07
+ 1.735544e-02  1.629736e-02 -2.396176e-01 -3.071822e-01  1.803355e-07  2.034805e-07
+ 1.735544e-02  1.642036e-02 -2.395335e-01 -3.070109e-01  1.314476e-08 -1.800172e-07
+ 1.735544e-02  1.654243e-02 -2.394445e-01 -3.068363e-01  9.576831e-08 -1.218088e-07
+ 1.735544e-02  1.666362e-02 -2.393509e-01 -3.066585e-01  8.619878e-08 -2.569443e-07
+ 1.735544e-02  1.678393e-02 -2.392515e-01 -3.064745e-01  1.031982e-07  2.486696e-08
+ 1.735544e-02  1.690338e-02 -2.391351e-01 -3.062664e-01  1.152658e-05  1.858027e-05
+ 1.735544e-02  1.702200e-02 -2.390468e-01 -3.061082e-01  6.663252e-06  1.239352e-05
+ 1.735544e-02  1.713979e-02 -2.389781e-01 -3.060115e-01 -6.614599e-07 -1.474679e-06
+ 1.735544e-02  1.725678e-02 -2.388309e-01 -3.057611e-01  1.291561e-07  3.156594e-07
+ 1.735544e-02  1.737298e-02 -2.387050e-01 -3.055621e-01  7.886089e-09  9.139217e-10
+ 1.735544e-02  1.748841e-02 -2.385765e-01 -3.053653e-01 -5.943971e-08  4.249281e-10
+ 1.735544e-02  1.760308e-02 -2.384441e-01 -3.051678e-01 -3.301578e-07 -4.914150e-07
+ 1.735544e-02  1.771701e-02 -2.383239e-01 -3.049868e-01  5.460897e-08  3.320261e-07
+ 1.735544e-02  1.783022e-02 -2.381532e-01 -3.047620e-01  2.870343e-05  3.418573e-05
+ 1.735544e-02  1.794270e-02 -2.374725e-01 -3.041054e-01 -4.322732e-04 -3.423332e-04
+ 1.735544e-02  1.805449e-02 -2.371393e-01 -3.037908e-01  7.016711e-04  5.457038e-04
+ 1.735544e-02  1.816559e-02 -2.370413e-01 -3.036480e-01  1.709398e-04  1.332371e-04
+ 1.735544e-02  1.827602e-02 -2.370071e-01 -3.035330e-01 -1.162612e-06 -3.663503e-07
+ 1.735544e-02  1.838578e-02 -2.369876e-01 -3.034272e-01 -8.276158e-07  1.245524e-07
+ 1.735544e-02  1.849489e-02 -2.369661e-01 -3.033136e-01 -1.159488e-07  3.010402e-07
+ 1.735544e-02  1.860336e-02 -2.369461e-01 -3.031931e-01 -3.792293e-06 -6.707408e-08
+ 1.735544e-02  1.871120e-02 -2.369219e-01 -3.030666e-01  1.108172e-06 -2.318946e-07
+ 1.735544e-02  1.881842e-02 -2.368892e-01 -3.029353e-01  1.512093e-05  3.066664e-06
+ 1.735544e-02  1.892503e-02 -2.368687e-01 -3.027962e-01 -4.341048e-06 -1.993299e-06
+ 1.735544e-02  1.903105e-02 -2.362832e-01 -3.023249e-01 -8.347051e-04 -5.277592e-04
+ 1.735544e-02  1.913648e-02 -2.362438e-01 -3.022198e-01  5.849255e-04  3.586319e-04
+ 1.735544e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.735544e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.368287e-01  3.025784e-01
+ 1.747075e-02  1.000000e-06 -2.446858e-01 -3.146456e-01  5.169919e-07 -6.016104e-09
+ 1.747075e-02  2.006944e-03 -2.445478e-01 -3.145723e-01  1.831388e-07 -1.162471e-08
+ 1.747075e-02  2.837833e-03 -2.444103e-01 -3.144977e-01  1.142074e-09 -6.375958e-10
+ 1.747075e-02  3.475396e-03 -2.442741e-01 -3.144219e-01  1.503158e-07 -8.547581e-08
+ 1.747075e-02  4.012887e-03 -2.441404e-01 -3.143450e-01  3.815176e-07  4.645860e-08
+ 1.747075e-02  4.486426e-03 -2.440106e-01 -3.142668e-01 -1.161230e-06  3.901831e-07
+ 1.747075e-02  4.914538e-03 -2.438828e-01 -3.141880e-01  4.425726e-07 -1.489561e-07
+ 1.747075e-02  5.308228e-03 -2.437577e-01 -3.141084e-01  2.983991e-07 -5.621084e-08
+ 1.747075e-02  5.674665e-03 -2.436376e-01 -3.140273e-01  4.127244e-07 -1.189441e-08
+ 1.747075e-02  6.018831e-03 -2.435192e-01 -3.139459e-01 -3.981363e-07  9.958355e-08
+ 1.747075e-02  6.344350e-03 -2.434049e-01 -3.138632e-01  1.206245e-06 -3.249626e-07
+ 1.747075e-02  6.653962e-03 -2.432961e-01 -3.137791e-01  5.191637e-07 -1.363789e-07
+ 1.747075e-02  6.949792e-03 -2.431890e-01 -3.136945e-01 -1.983536e-07  1.153023e-07
+ 1.747075e-02  7.233532e-03 -2.430851e-01 -3.136090e-01  1.107689e-07 -5.680500e-09
+ 1.747075e-02  7.506553e-03 -2.429850e-01 -3.135224e-01 -2.386768e-07  5.606591e-08
+ 1.747075e-02  7.769986e-03 -2.428877e-01 -3.134349e-01 -2.416115e-08 -9.012873e-10
+ 1.747075e-02  8.024774e-03 -2.427936e-01 -3.133464e-01 -5.356574e-08  2.104047e-08
+ 1.747075e-02  8.271717e-03 -2.427025e-01 -3.132570e-01  2.624757e-07  6.049176e-09
+ 1.747075e-02  8.511498e-03 -2.426145e-01 -3.131665e-01  9.598586e-08  1.083257e-08
+ 1.747075e-02  8.744705e-03 -2.425289e-01 -3.130750e-01  3.077969e-08  9.764396e-09
+ 1.747075e-02  8.971852e-03 -2.424496e-01 -3.129832e-01  9.042108e-07  2.037783e-07
+ 1.747075e-02  9.193388e-03 -2.423680e-01 -3.128893e-01 -3.528812e-08 -3.389398e-09
+ 1.747075e-02  9.409709e-03 -2.422906e-01 -3.127947e-01  6.432359e-08  2.515919e-09
+ 1.747075e-02  9.621167e-03 -2.422159e-01 -3.126991e-01  1.870816e-07  1.097245e-08
+ 1.747075e-02  9.828076e-03 -2.421435e-01 -3.126025e-01  1.505888e-07  4.144115e-09
+ 1.747075e-02  1.003072e-02 -2.420735e-01 -3.125047e-01 -2.385061e-08  3.803864e-09
+ 1.747075e-02  1.022935e-02 -2.420057e-01 -3.124059e-01 -1.785729e-08  3.538080e-09
+ 1.747075e-02  1.042419e-02 -2.419400e-01 -3.123059e-01 -1.230745e-08  1.632031e-09
+ 1.747075e-02  1.061546e-02 -2.418762e-01 -3.122048e-01 -2.443967e-08  3.630918e-09
+ 1.747075e-02  1.080334e-02 -2.418143e-01 -3.121025e-01  2.074613e-08  2.001044e-08
+ 1.747075e-02  1.098801e-02 -2.417543e-01 -3.119990e-01  1.510362e-07  9.674408e-09
+ 1.747075e-02  1.116962e-02 -2.416960e-01 -3.118943e-01  1.760748e-07  1.209899e-08
+ 1.747075e-02  1.134833e-02 -2.416394e-01 -3.117885e-01  8.141102e-08  2.575318e-08
+ 1.747075e-02  1.152427e-02 -2.415846e-01 -3.116813e-01 -6.883739e-09  2.510793e-08
+ 1.747075e-02  1.169756e-02 -2.415314e-01 -3.115730e-01 -6.497639e-09  1.967629e-08
+ 1.747075e-02  1.186832e-02 -2.414801e-01 -3.114635e-01  4.847877e-08  9.724992e-09
+ 1.747075e-02  1.203666e-02 -2.414310e-01 -3.113527e-01  1.736592e-07  5.018704e-08
+ 1.747075e-02  1.220268e-02 -2.413843e-01 -3.112409e-01  2.090666e-07  1.468684e-07
+ 1.747075e-02  1.236647e-02 -2.413611e-01 -3.111315e-01 -1.021171e-05 -1.596609e-06
+ 1.747075e-02  1.252811e-02 -2.412066e-01 -3.109963e-01  4.138989e-05  8.526222e-06
+ 1.747075e-02  1.268770e-02 -2.411927e-01 -3.108865e-01 -6.271608e-06 -1.395014e-06
+ 1.747075e-02  1.284531e-02 -2.411495e-01 -3.107680e-01  1.566335e-07  4.581321e-08
+ 1.747075e-02  1.300100e-02 -2.411044e-01 -3.106492e-01 -6.045713e-07  9.420219e-07
+ 1.747075e-02  1.315485e-02 -2.410558e-01 -3.105316e-01  1.226781e-07 -7.957750e-07
+ 1.747075e-02  1.330692e-02 -2.410104e-01 -3.104062e-01  2.855416e-06 -4.315087e-06
+ 1.747075e-02  1.345728e-02 -2.409642e-01 -3.102789e-01 -5.731680e-07  1.062088e-06
+ 1.747075e-02  1.360597e-02 -2.409147e-01 -3.101547e-01  2.170060e-06 -3.138689e-06
+ 1.747075e-02  1.375306e-02 -2.408690e-01 -3.100219e-01 -3.570237e-06  4.748621e-06
+ 1.747075e-02  1.389858e-02 -2.408192e-01 -3.098923e-01 -4.152320e-06  5.371000e-06
+ 1.747075e-02  1.404260e-02 -2.407660e-01 -3.097639e-01  2.150369e-06 -2.480684e-06
+ 1.747075e-02  1.418516e-02 -2.407159e-01 -3.096286e-01  3.669805e-07 -2.775782e-07
+ 1.747075e-02  1.432630e-02 -2.406637e-01 -3.094928e-01  4.317411e-07 -4.159614e-07
+ 1.747075e-02  1.446606e-02 -2.406105e-01 -3.093546e-01  8.888642e-08 -1.119196e-07
+ 1.747075e-02  1.460449e-02 -2.405557e-01 -3.092147e-01  1.175410e-07 -1.282379e-07
+ 1.747075e-02  1.474161e-02 -2.404996e-01 -3.090726e-01  4.260736e-08 -4.071898e-08
+ 1.747075e-02  1.487748e-02 -2.404416e-01 -3.089285e-01  4.573143e-08 -3.930938e-08
+ 1.747075e-02  1.501211e-02 -2.403820e-01 -3.087822e-01  6.016415e-09 -4.938114e-09
+ 1.747075e-02  1.514554e-02 -2.403204e-01 -3.086341e-01 -1.623077e-07  1.911975e-09
+ 1.747075e-02  1.527781e-02 -2.402552e-01 -3.084884e-01  1.100485e-06 -4.994482e-06
+ 1.747075e-02  1.540894e-02 -2.401906e-01 -3.083277e-01  2.861221e-07  1.843070e-08
+ 1.747075e-02  1.553897e-02 -2.401219e-01 -3.081729e-01  1.374700e-08 -1.564150e-08
+ 1.747075e-02  1.566792e-02 -2.400504e-01 -3.080151e-01  4.064874e-08  4.282621e-08
+ 1.747075e-02  1.579582e-02 -2.399763e-01 -3.078546e-01 -1.027297e-07  7.187729e-08
+ 1.747075e-02  1.592268e-02 -2.398987e-01 -3.076914e-01 -7.135564e-08  3.474114e-07
+ 1.747075e-02  1.604855e-02 -2.398177e-01 -3.075264e-01 -1.235867e-08  1.607241e-07
+ 1.747075e-02  1.617343e-02 -2.397333e-01 -3.073576e-01  5.692326e-08  4.368332e-07
+ 1.747075e-02  1.629736e-02 -2.396450e-01 -3.071855e-01 -6.191161e-07 -2.579735e-06
+ 1.747075e-02  1.642036e-02 -2.395528e-01 -3.070109e-01  1.612024e-08 -6.147475e-09
+ 1.747075e-02  1.654243e-02 -2.394558e-01 -3.068326e-01 -9.329557e-09  4.191238e-10
+ 1.747075e-02  1.666362e-02 -2.393537e-01 -3.066512e-01  1.137148e-07 -2.467649e-07
+ 1.747075e-02  1.678393e-02 -2.392454e-01 -3.064630e-01 -4.396090e-08 -7.419325e-08
+ 1.747075e-02  1.690338e-02 -2.391121e-01 -3.062390e-01  1.352385e-05  2.116659e-05
+ 1.747075e-02  1.702200e-02 -2.390288e-01 -3.060989e-01  3.515389e-06  6.158090e-06
+ 1.747075e-02  1.713979e-02 -2.389498e-01 -3.059913e-01 -1.084827e-07 -6.634135e-08
+ 1.747075e-02  1.725678e-02 -2.387907e-01 -3.057357e-01  2.846830e-07  3.906791e-07
+ 1.747075e-02  1.737298e-02 -2.386542e-01 -3.055314e-01 -3.030647e-09  1.733080e-08
+ 1.747075e-02  1.748841e-02 -2.385148e-01 -3.053290e-01  2.225638e-07  4.027474e-07
+ 1.747075e-02  1.760308e-02 -2.383708e-01 -3.051256e-01  6.922260e-08  5.596852e-08
+ 1.747075e-02  1.771701e-02 -2.382431e-01 -3.049417e-01 -1.148071e-07 -1.100336e-07
+ 1.747075e-02  1.783022e-02 -2.381499e-01 -3.048042e-01  2.485180e-05  3.245519e-05
+ 1.747075e-02  1.794270e-02 -2.377464e-01 -3.043612e-01  1.471718e-04  1.264520e-04
+ 1.747075e-02  1.805449e-02 -2.370844e-01 -3.037783e-01 -4.295511e-05 -3.192613e-05
+ 1.747075e-02  1.816559e-02 -2.370321e-01 -3.036633e-01 -2.642988e-06 -1.668854e-06
+ 1.747075e-02  1.827602e-02 -2.370129e-01 -3.035658e-01 -4.331543e-07  2.764725e-07
+ 1.747075e-02  1.838578e-02 -2.369933e-01 -3.034600e-01 -1.061865e-06 -2.508249e-07
+ 1.747075e-02  1.849489e-02 -2.369719e-01 -3.033457e-01  2.323654e-07  3.473830e-08
+ 1.747075e-02  1.860336e-02 -2.369509e-01 -3.032249e-01 -1.557508e-06 -1.477471e-07
+ 1.747075e-02  1.871120e-02 -2.369286e-01 -3.030967e-01  3.484688e-06  9.137927e-07
+ 1.747075e-02  1.881842e-02 -2.368943e-01 -3.029647e-01  5.551935e-06  4.538893e-07
+ 1.747075e-02  1.892503e-02 -2.368723e-01 -3.028291e-01 -2.667804e-06 -6.444052e-06
+ 1.747075e-02  1.903105e-02 -2.358745e-01 -3.021162e-01  2.114189e-04  1.284676e-04
+ 1.747075e-02  1.913648e-02 -2.354337e-01 -3.017424e-01 -2.354337e-01 -3.017424e-01
+ 1.747075e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.747075e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.758531e-02  1.000000e-06 -2.450743e-01 -3.147405e-01  6.090511e-07 -7.205647e-09
+ 1.758531e-02  2.006944e-03 -2.449310e-01 -3.146670e-01 -4.689311e-08 -6.536941e-09
+ 1.758531e-02  2.837833e-03 -2.447873e-01 -3.145921e-01 -9.445468e-08  4.698295e-10
+ 1.758531e-02  3.475396e-03 -2.446450e-01 -3.145160e-01  6.802229e-07 -1.374322e-08
+ 1.758531e-02  4.012887e-03 -2.445057e-01 -3.144388e-01 -3.547156e-08 -2.773926e-11
+ 1.758531e-02  4.486426e-03 -2.443689e-01 -3.143606e-01  3.589247e-07 -1.129728e-07
+ 1.758531e-02  4.914538e-03 -2.442360e-01 -3.142811e-01  6.616176e-07 -1.197572e-07
+ 1.758531e-02  5.308228e-03 -2.441073e-01 -3.142005e-01 -2.077546e-06  5.762833e-07
+ 1.758531e-02  5.674665e-03 -2.439798e-01 -3.141195e-01 -2.603746e-07  4.697752e-08
+ 1.758531e-02  6.018831e-03 -2.438573e-01 -3.140372e-01 -5.071829e-09  2.829818e-09
+ 1.758531e-02  6.344350e-03 -2.437384e-01 -3.139538e-01  5.172999e-07 -9.319202e-08
+ 1.758531e-02  6.653962e-03 -2.436210e-01 -3.138700e-01  3.650389e-06 -7.074079e-07
+ 1.758531e-02  6.949792e-03 -2.435105e-01 -3.137844e-01 -9.006870e-07  2.024613e-07
+ 1.758531e-02  7.233532e-03 -2.434033e-01 -3.136979e-01 -7.955525e-07  1.620841e-07
+ 1.758531e-02  7.506553e-03 -2.432975e-01 -3.136108e-01  1.518277e-08 -5.518992e-09
+ 1.758531e-02  7.769986e-03 -2.431955e-01 -3.135225e-01  2.822974e-07  2.227119e-08
+ 1.758531e-02  8.024774e-03 -2.430968e-01 -3.134333e-01  1.283096e-07  1.351136e-09
+ 1.758531e-02  8.271717e-03 -2.430013e-01 -3.133431e-01 -1.766913e-08 -4.679795e-09
+ 1.758531e-02  8.511498e-03 -2.429086e-01 -3.132518e-01 -2.740366e-08  4.664228e-09
+ 1.758531e-02  8.744705e-03 -2.428188e-01 -3.131595e-01 -5.619809e-09 -2.914229e-09
+ 1.758531e-02  8.971852e-03 -2.427316e-01 -3.130661e-01  1.874582e-07  1.333282e-08
+ 1.758531e-02  9.193388e-03 -2.426472e-01 -3.129717e-01  2.126129e-07  5.717451e-09
+ 1.758531e-02  9.409709e-03 -2.425638e-01 -3.128758e-01  4.186021e-07  9.688720e-08
+ 1.758531e-02  9.621167e-03 -2.424882e-01 -3.127800e-01 -7.857133e-08 -1.045075e-08
+ 1.758531e-02  9.828076e-03 -2.424101e-01 -3.126821e-01 -2.818196e-08  4.793432e-09
+ 1.758531e-02  1.003072e-02 -2.423352e-01 -3.125832e-01 -2.443741e-08  4.188096e-09
+ 1.758531e-02  1.022935e-02 -2.422627e-01 -3.124833e-01  1.156530e-07  1.144470e-08
+ 1.758531e-02  1.042419e-02 -2.421922e-01 -3.123821e-01  1.802781e-07  8.272606e-09
+ 1.758531e-02  1.061546e-02 -2.421237e-01 -3.122798e-01  8.812664e-08  1.465813e-08
+ 1.758531e-02  1.080334e-02 -2.420571e-01 -3.121763e-01 -2.109465e-08  9.043562e-09
+ 1.758531e-02  1.098801e-02 -2.419922e-01 -3.120716e-01 -1.313960e-08  2.163962e-09
+ 1.758531e-02  1.116962e-02 -2.419289e-01 -3.119656e-01 -7.201648e-09  3.514289e-09
+ 1.758531e-02  1.134833e-02 -2.418672e-01 -3.118584e-01 -3.560441e-08  2.434268e-08
+ 1.758531e-02  1.152427e-02 -2.418069e-01 -3.117498e-01  3.621469e-08  1.862884e-08
+ 1.758531e-02  1.169756e-02 -2.417480e-01 -3.116399e-01  1.519118e-07  1.811800e-08
+ 1.758531e-02  1.186832e-02 -2.416905e-01 -3.115287e-01  1.688740e-07  1.705513e-08
+ 1.758531e-02  1.203666e-02 -2.416343e-01 -3.114161e-01  6.001337e-08  3.676921e-08
+ 1.758531e-02  1.220268e-02 -2.415794e-01 -3.113021e-01 -5.487129e-08  1.175368e-07
+ 1.758531e-02  1.236647e-02 -2.415261e-01 -3.111868e-01 -1.438360e-08  7.000713e-08
+ 1.758531e-02  1.252811e-02 -2.414750e-01 -3.110700e-01  6.203457e-08  1.363963e-07
+ 1.758531e-02  1.268770e-02 -2.414260e-01 -3.109524e-01  2.604685e-07 -4.453019e-08
+ 1.758531e-02  1.284531e-02 -2.414054e-01 -3.108353e-01 -7.652336e-06 -8.711616e-07
+ 1.758531e-02  1.300100e-02 -2.412338e-01 -3.106970e-01 -1.723577e-07  2.380823e-06
+ 1.758531e-02  1.315485e-02 -2.412182e-01 -3.105839e-01 -1.168527e-06 -2.507941e-06
+ 1.758531e-02  1.330692e-02 -2.411695e-01 -3.104577e-01  3.619720e-06 -5.450594e-06
+ 1.758531e-02  1.345728e-02 -2.411209e-01 -3.103283e-01 -1.097186e-06  1.589059e-06
+ 1.758531e-02  1.360597e-02 -2.410673e-01 -3.102026e-01  1.844120e-06 -2.642013e-06
+ 1.758531e-02  1.375306e-02 -2.410167e-01 -3.100683e-01 -4.132241e-06  5.465733e-06
+ 1.758531e-02  1.389858e-02 -2.409623e-01 -3.099361e-01 -3.912296e-06  4.973926e-06
+ 1.758531e-02  1.404260e-02 -2.409035e-01 -3.098060e-01  2.381216e-06 -2.928071e-06
+ 1.758531e-02  1.418516e-02 -2.408476e-01 -3.096688e-01  3.357019e-07 -3.303899e-07
+ 1.758531e-02  1.432630e-02 -2.407895e-01 -3.095307e-01  5.089172e-07 -4.473192e-07
+ 1.758531e-02  1.446606e-02 -2.407303e-01 -3.093904e-01  2.488807e-07 -1.126540e-07
+ 1.758531e-02  1.460449e-02 -2.406695e-01 -3.092482e-01  2.073428e-07 -1.369059e-07
+ 1.758531e-02  1.474161e-02 -2.406072e-01 -3.091039e-01  4.495473e-08 -4.621195e-08
+ 1.758531e-02  1.487748e-02 -2.405429e-01 -3.089574e-01  9.040623e-08 -6.093787e-08
+ 1.758531e-02  1.501211e-02 -2.404768e-01 -3.088087e-01 -4.544966e-08  4.128776e-09
+ 1.758531e-02  1.514554e-02 -2.404085e-01 -3.086580e-01 -5.711379e-08  1.884162e-10
+ 1.758531e-02  1.527781e-02 -2.403379e-01 -3.085062e-01 -2.195212e-07 -1.242186e-07
+ 1.758531e-02  1.540894e-02 -2.402653e-01 -3.083448e-01 -1.841538e-07  1.402825e-06
+ 1.758531e-02  1.553897e-02 -2.401893e-01 -3.081888e-01  1.308333e-08 -8.069993e-09
+ 1.758531e-02  1.566792e-02 -2.401108e-01 -3.080284e-01  2.023488e-08 -7.099019e-09
+ 1.758531e-02  1.579582e-02 -2.400291e-01 -3.078654e-01  8.736510e-08 -1.629170e-07
+ 1.758531e-02  1.592268e-02 -2.399445e-01 -3.076991e-01  3.895397e-08  6.375418e-07
+ 1.758531e-02  1.604855e-02 -2.398560e-01 -3.075308e-01 -7.875796e-09  3.898085e-08
+ 1.758531e-02  1.617343e-02 -2.397639e-01 -3.073593e-01  1.232035e-07 -2.098895e-07
+ 1.758531e-02  1.629736e-02 -2.396682e-01 -3.071849e-01  1.205630e-06  3.467612e-06
+ 1.758531e-02  1.642036e-02 -2.395675e-01 -3.070058e-01 -3.667733e-08  1.173107e-07
+ 1.758531e-02  1.654243e-02 -2.394623e-01 -3.068240e-01 -5.090343e-08 -1.409826e-08
+ 1.758531e-02  1.666362e-02 -2.393516e-01 -3.066386e-01  1.072848e-07 -2.631589e-07
+ 1.758531e-02  1.678393e-02 -2.392339e-01 -3.064460e-01 -1.208091e-07 -3.465546e-07
+ 1.758531e-02  1.690338e-02 -2.390770e-01 -3.061959e-01  8.135818e-07  1.255188e-06
+ 1.758531e-02  1.702200e-02 -2.390095e-01 -3.060901e-01 -3.336520e-06 -5.622886e-06
+ 1.758531e-02  1.713979e-02 -2.389124e-01 -3.059586e-01 -4.075480e-06 -7.708963e-06
+ 1.758531e-02  1.725678e-02 -2.387446e-01 -3.057041e-01  2.165033e-07  2.753335e-07
+ 1.758531e-02  1.737298e-02 -2.385971e-01 -3.054942e-01 -3.335341e-08 -4.360617e-08
+ 1.758531e-02  1.748841e-02 -2.384478e-01 -3.052882e-01 -1.840478e-08  2.251969e-08
+ 1.758531e-02  1.760308e-02 -2.382884e-01 -3.050741e-01  4.016846e-07  4.565314e-07
+ 1.758531e-02  1.771701e-02 -2.381545e-01 -3.048864e-01  4.892472e-06  9.642777e-06
+ 1.758531e-02  1.783022e-02 -2.378126e-01 -3.045074e-01 -5.826416e-04 -4.683112e-04
+ 1.758531e-02  1.794270e-02 -2.378385e-01 -3.044832e-01  3.811363e-04  3.815490e-04
+ 1.758531e-02  1.805449e-02 -2.370543e-01 -3.037821e-01 -5.127413e-06 -8.273648e-07
+ 1.758531e-02  1.816559e-02 -2.370372e-01 -3.036972e-01 -1.544293e-06 -2.513443e-07
+ 1.758531e-02  1.827602e-02 -2.370181e-01 -3.035977e-01 -8.213629e-08  3.550200e-07
+ 1.758531e-02  1.838578e-02 -2.369987e-01 -3.034909e-01 -7.594253e-07 -1.658691e-07
+ 1.758531e-02  1.849489e-02 -2.369772e-01 -3.033760e-01  6.965849e-07  3.113439e-07
+ 1.758531e-02  1.860336e-02 -2.369551e-01 -3.032532e-01  2.738956e-07  8.110228e-07
+ 1.758531e-02  1.871120e-02 -2.369322e-01 -3.031265e-01  4.465388e-06  1.925535e-06
+ 1.758531e-02  1.881842e-02 -2.370300e-01 -3.030705e-01 -1.295558e-04 -7.832387e-05
+ 1.758531e-02  1.892503e-02 -2.358132e-01 -3.021930e-01  1.033273e-03  6.660044e-04
+ 1.758531e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.368465e-01  3.028590e-01
+ 1.758531e-02  1.913648e-02 -2.352589e-01 -3.017349e-01  5.764615e-04  3.766467e-04
+ 1.758531e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.758531e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.358354e-01  3.021116e-01
+ 1.769912e-02  1.000000e-06 -2.454583e-01 -3.148321e-01 -1.100393e-07 -1.400027e-09
+ 1.769912e-02  2.006944e-03 -2.453091e-01 -3.147584e-01 -1.261855e-07 -1.326503e-08
+ 1.769912e-02  2.837833e-03 -2.451587e-01 -3.146832e-01  8.211063e-07 -1.459248e-08
+ 1.769912e-02  3.475396e-03 -2.450105e-01 -3.146067e-01  3.230261e-08 -2.359911e-08
+ 1.769912e-02  4.012887e-03 -2.448648e-01 -3.145291e-01  7.771330e-08 -1.883507e-08
+ 1.769912e-02  4.486426e-03 -2.447220e-01 -3.144505e-01  2.010789e-07 -5.519438e-09
+ 1.769912e-02  4.914538e-03 -2.445829e-01 -3.143708e-01  7.072707e-07 -5.132081e-08
+ 1.769912e-02  5.308228e-03 -2.444476e-01 -3.142900e-01 -5.491392e-07  7.591880e-08
+ 1.769912e-02  5.674665e-03 -2.443180e-01 -3.142079e-01 -1.386775e-06  2.225585e-07
+ 1.769912e-02  6.018831e-03 -2.441898e-01 -3.141251e-01  1.038947e-06 -1.043913e-07
+ 1.769912e-02  6.344350e-03 -2.440641e-01 -3.140415e-01  2.678564e-07 -1.434303e-08
+ 1.769912e-02  6.653962e-03 -2.439453e-01 -3.139565e-01 -1.441646e-07  1.436706e-08
+ 1.769912e-02  6.949792e-03 -2.438265e-01 -3.138709e-01 -7.668911e-07  1.218990e-07
+ 1.769912e-02  7.233532e-03 -2.437126e-01 -3.137841e-01  1.933954e-06 -2.685285e-07
+ 1.769912e-02  7.506553e-03 -2.436054e-01 -3.136957e-01  9.522846e-07 -1.212503e-07
+ 1.769912e-02  7.769986e-03 -2.434987e-01 -3.136068e-01 -4.461718e-07  7.081703e-08
+ 1.769912e-02  8.024774e-03 -2.433953e-01 -3.135169e-01  6.765662e-08 -1.565279e-08
+ 1.769912e-02  8.271717e-03 -2.432951e-01 -3.134258e-01  2.354405e-07  1.166961e-07
+ 1.769912e-02  8.511498e-03 -2.431977e-01 -3.133337e-01  3.231266e-07  6.129703e-09
+ 1.769912e-02  8.744705e-03 -2.431035e-01 -3.132405e-01  4.964120e-08  2.617279e-08
+ 1.769912e-02  8.971852e-03 -2.430121e-01 -3.131463e-01 -3.295634e-08  5.778042e-10
+ 1.769912e-02  9.193388e-03 -2.429233e-01 -3.130509e-01 -5.520252e-08  1.230410e-08
+ 1.769912e-02  9.409709e-03 -2.428369e-01 -3.129545e-01 -3.617305e-08 -4.378119e-09
+ 1.769912e-02  9.621167e-03 -2.427530e-01 -3.128569e-01  1.198738e-07  1.312465e-08
+ 1.769912e-02  9.828076e-03 -2.426714e-01 -3.127581e-01  2.528774e-07  1.044010e-08
+ 1.769912e-02  1.003072e-02 -2.425926e-01 -3.126583e-01 -8.204980e-07 -1.475855e-07
+ 1.769912e-02  1.022935e-02 -2.425161e-01 -3.125573e-01 -1.778998e-08  7.830316e-10
+ 1.769912e-02  1.042419e-02 -2.424409e-01 -3.124551e-01 -1.404236e-08  4.217344e-09
+ 1.769912e-02  1.061546e-02 -2.423677e-01 -3.123516e-01 -3.935218e-08  4.602039e-09
+ 1.769912e-02  1.080334e-02 -2.422963e-01 -3.122468e-01  4.834793e-08  1.317248e-08
+ 1.769912e-02  1.098801e-02 -2.422266e-01 -3.121408e-01  1.996108e-07  8.510588e-09
+ 1.769912e-02  1.116962e-02 -2.421585e-01 -3.120335e-01  1.553528e-07  1.839719e-08
+ 1.769912e-02  1.134833e-02 -2.420920e-01 -3.119249e-01 -4.614635e-09  2.123901e-08
+ 1.769912e-02  1.152427e-02 -2.420268e-01 -3.118150e-01 -2.762394e-08  8.833155e-09
+ 1.769912e-02  1.169756e-02 -2.419629e-01 -3.117036e-01  8.014227e-10  6.243202e-10
+ 1.769912e-02  1.186832e-02 -2.419000e-01 -3.115909e-01 -2.475998e-08  2.014040e-08
+ 1.769912e-02  1.203666e-02 -2.418383e-01 -3.114767e-01 -2.475118e-08  3.937546e-08
+ 1.769912e-02  1.220268e-02 -2.417775e-01 -3.113611e-01  5.314787e-08  1.178847e-07
+ 1.769912e-02  1.236647e-02 -2.417177e-01 -3.112440e-01  1.667343e-07  5.251918e-08
+ 1.769912e-02  1.252811e-02 -2.416590e-01 -3.111252e-01  9.456723e-08  6.995048e-08
+ 1.769912e-02  1.268770e-02 -2.416013e-01 -3.110053e-01  3.503859e-08 -3.177384e-08
+ 1.769912e-02  1.284531e-02 -2.415456e-01 -3.108829e-01 -4.216983e-08  3.539174e-08
+ 1.769912e-02  1.300100e-02 -2.414923e-01 -3.107599e-01 -1.450701e-06  2.281676e-06
+ 1.769912e-02  1.315485e-02 -2.414411e-01 -3.106393e-01  3.676867e-06 -1.889076e-06
+ 1.769912e-02  1.330692e-02 -2.413376e-01 -3.105079e-01 -5.599277e-06 -6.218377e-06
+ 1.769912e-02  1.345728e-02 -2.412661e-01 -3.103738e-01 -1.080849e-05  1.227447e-06
+ 1.769912e-02  1.360597e-02 -2.412108e-01 -3.102465e-01  1.264977e-06 -2.149829e-06
+ 1.769912e-02  1.375306e-02 -2.411578e-01 -3.101108e-01 -4.381052e-06  5.730127e-06
+ 1.769912e-02  1.389858e-02 -2.410999e-01 -3.099761e-01 -3.595893e-06  4.497268e-06
+ 1.769912e-02  1.404260e-02 -2.410361e-01 -3.098442e-01  2.574402e-06 -3.144059e-06
+ 1.769912e-02  1.418516e-02 -2.409749e-01 -3.097050e-01  3.134004e-07 -3.712264e-07
+ 1.769912e-02  1.432630e-02 -2.409113e-01 -3.095647e-01  3.959090e-07 -4.723148e-07
+ 1.769912e-02  1.446606e-02 -2.408462e-01 -3.094222e-01  1.320433e-07 -1.329367e-07
+ 1.769912e-02  1.460449e-02 -2.407793e-01 -3.092777e-01  2.467802e-07 -1.388650e-07
+ 1.769912e-02  1.474161e-02 -2.407107e-01 -3.091310e-01  1.612857e-07 -3.715753e-08
+ 1.769912e-02  1.487748e-02 -2.406401e-01 -3.089821e-01  2.339342e-08 -3.253135e-08
+ 1.769912e-02  1.501211e-02 -2.405674e-01 -3.088310e-01  1.249969e-07 -4.302261e-08
+ 1.769912e-02  1.514554e-02 -2.404925e-01 -3.086777e-01  3.064875e-08 -1.553862e-08
+ 1.769912e-02  1.527781e-02 -2.404152e-01 -3.085227e-01  7.474841e-08  2.172165e-08
+ 1.769912e-02  1.540894e-02 -2.403353e-01 -3.083535e-01 -2.392850e-08  7.477629e-06
+ 1.769912e-02  1.553897e-02 -2.402524e-01 -3.082001e-01  6.037041e-08  2.041166e-08
+ 1.769912e-02  1.566792e-02 -2.401669e-01 -3.080371e-01 -4.544522e-08 -2.002833e-08
+ 1.769912e-02  1.579582e-02 -2.400780e-01 -3.078711e-01 -3.038259e-08  2.003045e-08
+ 1.769912e-02  1.592268e-02 -2.399859e-01 -3.077019e-01  2.975181e-07 -1.654040e-08
+ 1.769912e-02  1.604855e-02 -2.398898e-01 -3.075305e-01  8.257530e-08 -3.428442e-07
+ 1.769912e-02  1.617343e-02 -2.397899e-01 -3.073562e-01  2.741097e-07 -8.280286e-07
+ 1.769912e-02  1.629736e-02 -2.396867e-01 -3.071792e-01 -2.597926e-07 -3.794910e-07
+ 1.769912e-02  1.642036e-02 -2.395775e-01 -3.069958e-01 -3.079266e-08  1.752921e-07
+ 1.769912e-02  1.654243e-02 -2.394638e-01 -3.068102e-01 -8.995496e-09 -1.587462e-07
+ 1.769912e-02  1.666362e-02 -2.393445e-01 -3.066208e-01  8.800534e-08 -2.332725e-07
+ 1.769912e-02  1.678393e-02 -2.392172e-01 -3.064231e-01 -2.512729e-07 -4.263463e-07
+ 1.769912e-02  1.690338e-02 -2.390288e-01 -3.061360e-01  5.877835e-05  8.842033e-05
+ 1.769912e-02  1.702200e-02 -2.389901e-01 -3.060823e-01 -1.472415e-05 -2.340429e-05
+ 1.769912e-02  1.713979e-02 -2.388654e-01 -3.059137e-01 -1.345035e-05 -2.453901e-05
+ 1.769912e-02  1.725678e-02 -2.386926e-01 -3.056661e-01 -8.153410e-09  6.286750e-09
+ 1.769912e-02  1.737298e-02 -2.385330e-01 -3.054496e-01 -1.373617e-07 -1.720889e-07
+ 1.769912e-02  1.748841e-02 -2.383661e-01 -3.052304e-01 -3.211982e-06 -3.963409e-06
+ 1.769912e-02  1.760308e-02 -2.381934e-01 -3.050105e-01  1.152975e-08  3.069910e-10
+ 1.769912e-02  1.771701e-02 -2.379401e-01 -3.047166e-01  6.657933e-05  4.085163e-05
+ 1.769912e-02  1.783022e-02 -2.378010e-01 -3.045418e-01 -7.397589e-07 -4.247936e-07
+ 1.769912e-02  1.794270e-02 -2.373243e-01 -3.040905e-01 -2.338676e-05 -1.717544e-05
+ 1.769912e-02  1.805449e-02 -2.370574e-01 -3.038185e-01  1.912684e-06 -1.216432e-06
+ 1.769912e-02  1.816559e-02 -2.370422e-01 -3.037270e-01 -8.808887e-07 -2.814275e-07
+ 1.769912e-02  1.827602e-02 -2.370233e-01 -3.036274e-01 -2.198571e-08 -7.466134e-08
+ 1.769912e-02  1.838578e-02 -2.370037e-01 -3.035197e-01 -3.474456e-07  4.857255e-07
+ 1.769912e-02  1.849489e-02 -2.369820e-01 -3.034038e-01  7.987013e-07  9.783486e-08
+ 1.769912e-02  1.860336e-02 -2.369576e-01 -3.032832e-01  3.770064e-06  1.367998e-06
+ 1.769912e-02  1.871120e-02 -2.369385e-01 -3.031474e-01  8.763671e-06  1.299319e-05
+ 1.769912e-02  1.881842e-02 -2.360733e-01 -3.025013e-01  1.566838e-04  1.067953e-04
+ 1.769912e-02  1.892503e-02 -2.356275e-01 -3.021084e-01  1.011665e-04  3.921174e-05
+ 1.769912e-02  1.903105e-02 -2.353041e-01 -3.018254e-01  3.741313e-04  2.572372e-04
+ 1.769912e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.356782e-01  3.020826e-01
+ 1.769912e-02  1.924133e-02 -2.346281e-01 -3.012656e-01 -2.346281e-01 -3.012656e-01
+ 1.769912e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.769912e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.000000e-06 -2.458374e-01 -3.149202e-01 -3.518108e-08 -1.150421e-09
+ 1.781221e-02  2.006944e-03 -2.456814e-01 -3.148463e-01  6.597794e-07 -1.045301e-07
+ 1.781221e-02  2.837833e-03 -2.455244e-01 -3.147707e-01  3.412165e-07  1.604365e-09
+ 1.781221e-02  3.475396e-03 -2.453695e-01 -3.146940e-01 -2.688824e-08 -4.419934e-08
+ 1.781221e-02  4.012887e-03 -2.452169e-01 -3.146161e-01  2.614866e-07 -2.852337e-09
+ 1.781221e-02  4.486426e-03 -2.450683e-01 -3.145370e-01  5.233681e-07 -2.613013e-08
+ 1.781221e-02  4.914538e-03 -2.449239e-01 -3.144569e-01  6.400144e-08 -2.323737e-08
+ 1.781221e-02  5.308228e-03 -2.447833e-01 -3.143756e-01 -1.031048e-07 -9.534307e-09
+ 1.781221e-02  5.674665e-03 -2.446457e-01 -3.142935e-01  1.640918e-06 -1.207562e-07
+ 1.781221e-02  6.018831e-03 -2.445147e-01 -3.142100e-01  1.031253e-06 -1.311451e-07
+ 1.781221e-02  6.344350e-03 -2.443878e-01 -3.141253e-01 -4.219937e-06  5.087771e-07
+ 1.781221e-02  6.653962e-03 -2.442598e-01 -3.140402e-01 -6.552869e-07  7.774582e-08
+ 1.781221e-02  6.949792e-03 -2.441390e-01 -3.139537e-01  8.691170e-08  5.863826e-08
+ 1.781221e-02  7.233532e-03 -2.440210e-01 -3.138661e-01 -3.815070e-07  3.989030e-08
+ 1.781221e-02  7.506553e-03 -2.439042e-01 -3.137779e-01  5.561100e-06 -7.290378e-07
+ 1.781221e-02  7.769986e-03 -2.437960e-01 -3.136878e-01 -1.708079e-07  2.451407e-08
+ 1.781221e-02  8.024774e-03 -2.436889e-01 -3.135970e-01 -9.600762e-07  1.964443e-07
+ 1.781221e-02  8.271717e-03 -2.435837e-01 -3.135052e-01  1.339664e-07  2.621019e-08
+ 1.781221e-02  8.511498e-03 -2.434825e-01 -3.134122e-01 -3.494031e-07  4.032576e-08
+ 1.781221e-02  8.744705e-03 -2.433839e-01 -3.133183e-01 -5.959217e-08 -8.545388e-09
+ 1.781221e-02  8.971852e-03 -2.432878e-01 -3.132230e-01 -9.168736e-08  2.020158e-08
+ 1.781221e-02  9.193388e-03 -2.431945e-01 -3.131268e-01  3.167984e-07  1.157598e-08
+ 1.781221e-02  9.409709e-03 -2.431039e-01 -3.130294e-01  1.075680e-07  1.886759e-08
+ 1.781221e-02  9.621167e-03 -2.430158e-01 -3.129308e-01 -3.249058e-08 -3.719171e-09
+ 1.781221e-02  9.828076e-03 -2.429300e-01 -3.128310e-01 -2.428035e-08  9.183961e-09
+ 1.781221e-02  1.003072e-02 -2.428463e-01 -3.127301e-01 -4.490636e-08  3.790734e-09
+ 1.781221e-02  1.022935e-02 -2.427646e-01 -3.126279e-01  1.289648e-07  2.626623e-08
+ 1.781221e-02  1.042419e-02 -2.426842e-01 -3.125243e-01  7.898151e-07  1.193677e-07
+ 1.781221e-02  1.061546e-02 -2.426082e-01 -3.124199e-01 -2.067864e-08  8.421131e-09
+ 1.781221e-02  1.080334e-02 -2.425319e-01 -3.123139e-01 -3.092912e-08  1.822294e-09
+ 1.781221e-02  1.098801e-02 -2.424576e-01 -3.122067e-01 -6.412888e-09  3.749152e-09
+ 1.781221e-02  1.116962e-02 -2.423848e-01 -3.120981e-01 -2.810173e-08  8.062305e-09
+ 1.781221e-02  1.134833e-02 -2.423135e-01 -3.119881e-01 -5.523205e-08  1.357208e-08
+ 1.781221e-02  1.152427e-02 -2.422433e-01 -3.118768e-01  1.853767e-07  1.570919e-08
+ 1.781221e-02  1.169756e-02 -2.421745e-01 -3.117640e-01  2.030480e-07  1.275831e-08
+ 1.781221e-02  1.186832e-02 -2.421067e-01 -3.116498e-01  4.066990e-08  3.326743e-08
+ 1.781221e-02  1.203666e-02 -2.420398e-01 -3.115341e-01 -5.470201e-08  4.721191e-08
+ 1.781221e-02  1.220268e-02 -2.419739e-01 -3.114168e-01 -4.873668e-08  9.951893e-08
+ 1.781221e-02  1.236647e-02 -2.419085e-01 -3.112981e-01 -2.586797e-08  2.136290e-08
+ 1.781221e-02  1.252811e-02 -2.418440e-01 -3.111775e-01 -2.412894e-08  2.942823e-08
+ 1.781221e-02  1.268770e-02 -2.417799e-01 -3.110558e-01  9.796295e-08  1.845580e-08
+ 1.781221e-02  1.284531e-02 -2.417169e-01 -3.109315e-01  1.306461e-07  1.070978e-07
+ 1.781221e-02  1.300100e-02 -2.416545e-01 -3.108060e-01 -1.485113e-06  2.642446e-06
+ 1.781221e-02  1.315485e-02 -2.415907e-01 -3.106828e-01  1.827802e-06 -2.752522e-06
+ 1.781221e-02  1.330692e-02 -2.415326e-01 -3.105528e-01  4.040645e-06 -5.413958e-06
+ 1.781221e-02  1.345728e-02 -2.414790e-01 -3.104190e-01  7.387305e-06  1.359983e-06
+ 1.781221e-02  1.360597e-02 -2.413487e-01 -3.102879e-01  2.651519e-05 -4.975420e-07
+ 1.781221e-02  1.375306e-02 -2.412897e-01 -3.101500e-01 -1.147992e-05  5.302935e-06
+ 1.781221e-02  1.389858e-02 -2.412295e-01 -3.100127e-01 -3.279485e-06  4.071827e-06
+ 1.781221e-02  1.404260e-02 -2.411628e-01 -3.098787e-01  2.763039e-06 -3.229408e-06
+ 1.781221e-02  1.418516e-02 -2.410972e-01 -3.097374e-01  3.103986e-07 -3.767554e-07
+ 1.781221e-02  1.432630e-02 -2.410285e-01 -3.095948e-01  4.151630e-07 -4.711145e-07
+ 1.781221e-02  1.446606e-02 -2.409578e-01 -3.094500e-01  1.247050e-07 -1.317453e-07
+ 1.781221e-02  1.460449e-02 -2.408849e-01 -3.093031e-01  1.256956e-07 -1.515956e-07
+ 1.781221e-02  1.474161e-02 -2.408101e-01 -3.091539e-01  1.150604e-07 -4.647901e-08
+ 1.781221e-02  1.487748e-02 -2.407331e-01 -3.090026e-01  1.785333e-07 -2.425229e-08
+ 1.781221e-02  1.501211e-02 -2.406539e-01 -3.088489e-01  1.063322e-07 -1.415596e-08
+ 1.781221e-02  1.514554e-02 -2.405724e-01 -3.086929e-01 -2.989063e-09  2.986663e-09
+ 1.781221e-02  1.527781e-02 -2.404884e-01 -3.085350e-01 -1.137256e-07  4.248403e-08
+ 1.781221e-02  1.540894e-02 -2.404012e-01 -3.083728e-01  6.343955e-07  7.130924e-06
+ 1.781221e-02  1.553897e-02 -2.403113e-01 -3.082067e-01  1.401037e-07  1.034274e-08
+ 1.781221e-02  1.566792e-02 -2.402184e-01 -3.080411e-01  3.010466e-08 -1.704145e-08
+ 1.781221e-02  1.579582e-02 -2.401223e-01 -3.078722e-01 -1.192321e-08  7.882526e-08
+ 1.781221e-02  1.592268e-02 -2.400226e-01 -3.077007e-01  2.008155e-07  1.608280e-07
+ 1.781221e-02  1.604855e-02 -2.399191e-01 -3.075253e-01  1.026148e-07 -4.467093e-07
+ 1.781221e-02  1.617343e-02 -2.398114e-01 -3.073481e-01  3.966015e-07 -1.174219e-06
+ 1.781221e-02  1.629736e-02 -2.397006e-01 -3.071681e-01 -9.494753e-07 -1.882240e-06
+ 1.781221e-02  1.642036e-02 -2.395828e-01 -3.069805e-01 -8.967077e-09  1.208227e-07
+ 1.781221e-02  1.654243e-02 -2.394605e-01 -3.067913e-01  7.951785e-08 -3.893907e-07
+ 1.781221e-02  1.666362e-02 -2.393323e-01 -3.065975e-01 -3.443811e-08 -1.216379e-07
+ 1.781221e-02  1.678393e-02 -2.391950e-01 -3.063942e-01 -3.675398e-07 -3.815883e-08
+ 1.781221e-02  1.690338e-02 -2.389788e-01 -3.060760e-01 -1.991081e-05 -3.134829e-05
+ 1.781221e-02  1.702200e-02 -2.389715e-01 -3.060762e-01 -3.132813e-05 -4.731512e-05
+ 1.781221e-02  1.713979e-02 -2.388109e-01 -3.058608e-01 -7.586382e-06 -1.319426e-05
+ 1.781221e-02  1.725678e-02 -2.386340e-01 -3.056212e-01  7.007595e-09  2.039846e-08
+ 1.781221e-02  1.737298e-02 -2.384614e-01 -3.053972e-01  3.839509e-08  3.990217e-08
+ 1.781221e-02  1.748841e-02 -2.382754e-01 -3.051646e-01  7.519349e-07  9.463536e-07
+ 1.781221e-02  1.760308e-02 -2.379267e-01 -3.047871e-01  1.202279e-04  1.105444e-04
+ 1.781221e-02  1.771701e-02 -2.379538e-01 -3.047912e-01  9.485416e-05  7.747630e-05
+ 1.781221e-02  1.783022e-02 -2.370769e-01 -3.039766e-01  7.399162e-06  5.303705e-06
+ 1.781221e-02  1.794270e-02 -2.370740e-01 -3.039227e-01 -1.067256e-06 -1.067291e-06
+ 1.781221e-02  1.805449e-02 -2.370627e-01 -3.038448e-01 -8.749732e-07 -1.255328e-06
+ 1.781221e-02  1.816559e-02 -2.370468e-01 -3.037548e-01 -4.769222e-07 -2.459515e-07
+ 1.781221e-02  1.827602e-02 -2.370279e-01 -3.036550e-01  1.820814e-10 -7.071737e-08
+ 1.781221e-02  1.838578e-02 -2.370079e-01 -3.035457e-01 -1.293742e-07  3.084587e-08
+ 1.781221e-02  1.849489e-02 -2.369871e-01 -3.034289e-01  1.657087e-07  1.458129e-06
+ 1.781221e-02  1.860336e-02 -2.369625e-01 -3.033043e-01  2.315378e-06  1.001093e-06
+ 1.781221e-02  1.871120e-02 -2.364457e-01 -3.028764e-01  1.121998e-03  7.291817e-04
+ 1.781221e-02  1.881842e-02 -2.357616e-01 -3.023344e-01  1.091331e-05  1.165292e-07
+ 1.781221e-02  1.892503e-02 -2.353045e-01 -3.019408e-01 -9.107188e-05 -5.977221e-05
+ 1.781221e-02  1.903105e-02 -2.346941e-01 -3.014287e-01 -2.346941e-01 -3.014287e-01
+ 1.781221e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.781221e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.000000e-06 -2.462112e-01 -3.150049e-01  1.485134e-07 -1.034661e-09
+ 1.792459e-02  2.006944e-03 -2.460477e-01 -3.149309e-01  9.549803e-07 -4.664653e-07
+ 1.792459e-02  2.837833e-03 -2.458828e-01 -3.148551e-01 -1.198070e-08 -3.570556e-09
+ 1.792459e-02  3.475396e-03 -2.457196e-01 -3.147778e-01  5.760014e-08 -2.056206e-07
+ 1.792459e-02  4.012887e-03 -2.455607e-01 -3.146995e-01  7.428277e-07 -1.018141e-07
+ 1.792459e-02  4.486426e-03 -2.454068e-01 -3.146201e-01  8.704176e-08 -1.193742e-08
+ 1.792459e-02  4.914538e-03 -2.452566e-01 -3.145396e-01 -1.042231e-07 -4.192224e-08
+ 1.792459e-02  5.308228e-03 -2.451106e-01 -3.144580e-01  1.176808e-06 -2.023669e-08
+ 1.792459e-02  5.674665e-03 -2.449697e-01 -3.143753e-01 -1.418821e-07 -2.772624e-08
+ 1.792459e-02  6.018831e-03 -2.448319e-01 -3.142915e-01  1.001817e-06 -9.179785e-08
+ 1.792459e-02  6.344350e-03 -2.446985e-01 -3.142065e-01 -3.125492e-07  5.577097e-08
+ 1.792459e-02  6.653962e-03 -2.445726e-01 -3.141202e-01 -5.038292e-06  4.605236e-07
+ 1.792459e-02  6.949792e-03 -2.444449e-01 -3.140333e-01  1.246565e-06 -1.313453e-07
+ 1.792459e-02  7.233532e-03 -2.443214e-01 -3.139452e-01  7.888889e-07 -7.382877e-08
+ 1.792459e-02  7.506553e-03 -2.442040e-01 -3.138558e-01  1.414790e-06 -7.622130e-08
+ 1.792459e-02  7.769986e-03 -2.440852e-01 -3.137657e-01  4.316298e-06 -3.934183e-07
+ 1.792459e-02  8.024774e-03 -2.439754e-01 -3.136740e-01 -1.444624e-06  1.543615e-07
+ 1.792459e-02  8.271717e-03 -2.438687e-01 -3.135812e-01 -1.208420e-06  7.819234e-08
+ 1.792459e-02  8.511498e-03 -2.437618e-01 -3.134875e-01  8.692599e-08 -2.139091e-09
+ 1.792459e-02  8.744705e-03 -2.436591e-01 -3.133925e-01  2.161114e-07  6.789149e-08
+ 1.792459e-02  8.971852e-03 -2.435590e-01 -3.132965e-01  6.852860e-08 -1.996620e-09
+ 1.792459e-02  9.193388e-03 -2.434618e-01 -3.131993e-01 -1.361302e-07  1.432368e-09
+ 1.792459e-02  9.409709e-03 -2.433667e-01 -3.131009e-01 -4.693110e-08 -2.564637e-09
+ 1.792459e-02  9.621167e-03 -2.432742e-01 -3.130013e-01  3.260600e-08  7.465024e-09
+ 1.792459e-02  9.828076e-03 -2.431840e-01 -3.129005e-01  3.299654e-07  1.459262e-08
+ 1.792459e-02  1.003072e-02 -2.430961e-01 -3.127985e-01  1.066791e-07  1.439856e-08
+ 1.792459e-02  1.022935e-02 -2.430103e-01 -3.126952e-01 -2.505736e-08 -2.741561e-08
+ 1.792459e-02  1.042419e-02 -2.429263e-01 -3.125906e-01 -1.451256e-08  2.823948e-09
+ 1.792459e-02  1.061546e-02 -2.428442e-01 -3.124847e-01 -3.351895e-08 -2.562478e-09
+ 1.792459e-02  1.080334e-02 -2.427637e-01 -3.123775e-01  1.034479e-07  4.250279e-08
+ 1.792459e-02  1.098801e-02 -2.426844e-01 -3.122689e-01  6.169164e-07  1.150072e-07
+ 1.792459e-02  1.116962e-02 -2.426074e-01 -3.121591e-01  8.745786e-08  1.733553e-08
+ 1.792459e-02  1.134833e-02 -2.425314e-01 -3.120478e-01 -3.378917e-08  1.842808e-08
+ 1.792459e-02  1.152427e-02 -2.424566e-01 -3.119350e-01 -3.083629e-09  2.069117e-09
+ 1.792459e-02  1.169756e-02 -2.423829e-01 -3.118208e-01 -1.811289e-08  7.499684e-10
+ 1.792459e-02  1.186832e-02 -2.423101e-01 -3.117051e-01 -7.426105e-09  3.472410e-08
+ 1.792459e-02  1.203666e-02 -2.422382e-01 -3.115878e-01  2.493282e-07  7.681817e-08
+ 1.792459e-02  1.220268e-02 -2.421671e-01 -3.114690e-01  1.479313e-07  1.039095e-07
+ 1.792459e-02  1.236647e-02 -2.420966e-01 -3.113486e-01  2.376515e-08  1.399596e-08
+ 1.792459e-02  1.252811e-02 -2.420267e-01 -3.112263e-01 -3.621813e-08  1.667266e-08
+ 1.792459e-02  1.268770e-02 -2.419570e-01 -3.111028e-01 -1.369700e-08  4.054339e-08
+ 1.792459e-02  1.284531e-02 -2.418881e-01 -3.109767e-01 -9.963707e-08  1.114679e-07
+ 1.792459e-02  1.300100e-02 -2.418192e-01 -3.108492e-01 -1.650562e-06  2.729974e-06
+ 1.792459e-02  1.315485e-02 -2.417481e-01 -3.107240e-01  2.056815e-06 -2.946524e-06
+ 1.792459e-02  1.330692e-02 -2.416807e-01 -3.105919e-01  3.864046e-06 -5.449340e-06
+ 1.792459e-02  1.345728e-02 -2.416161e-01 -3.104556e-01 -1.137353e-06  1.788891e-06
+ 1.792459e-02  1.360597e-02 -2.415509e-01 -3.103230e-01  1.868652e-06 -2.724146e-06
+ 1.792459e-02  1.375306e-02 -2.415051e-01 -3.101794e-01 -2.653475e-05  7.899721e-06
+ 1.792459e-02  1.389858e-02 -2.413220e-01 -3.100471e-01  1.591203e-05  3.280009e-06
+ 1.792459e-02  1.404260e-02 -2.412798e-01 -3.099103e-01  2.540386e-06 -3.255131e-06
+ 1.792459e-02  1.418516e-02 -2.412130e-01 -3.097662e-01  4.233014e-07 -3.516527e-07
+ 1.792459e-02  1.432630e-02 -2.411405e-01 -3.096211e-01  4.644005e-07 -4.646105e-07
+ 1.792459e-02  1.446606e-02 -2.410648e-01 -3.094738e-01  9.497828e-08 -1.292515e-07
+ 1.792459e-02  1.460449e-02 -2.409862e-01 -3.093244e-01  1.303202e-07 -1.314964e-07
+ 1.792459e-02  1.474161e-02 -2.409054e-01 -3.091727e-01  2.146640e-08 -3.691588e-08
+ 1.792459e-02  1.487748e-02 -2.408220e-01 -3.090187e-01  8.095254e-08 -2.976614e-08
+ 1.792459e-02  1.501211e-02 -2.407363e-01 -3.088624e-01  1.395829e-07  1.255151e-08
+ 1.792459e-02  1.514554e-02 -2.406481e-01 -3.087038e-01  4.377966e-08  2.895749e-09
+ 1.792459e-02  1.527781e-02 -2.405574e-01 -3.085430e-01 -1.231443e-07  2.754035e-08
+ 1.792459e-02  1.540894e-02 -2.404651e-01 -3.083887e-01 -1.734097e-06 -9.677854e-06
+ 1.792459e-02  1.553897e-02 -2.403660e-01 -3.082087e-01 -1.605370e-07 -7.275321e-08
+ 1.792459e-02  1.566792e-02 -2.402657e-01 -3.080405e-01  1.288147e-07 -9.603619e-09
+ 1.792459e-02  1.579582e-02 -2.401623e-01 -3.078686e-01  2.414332e-08  7.770108e-08
+ 1.792459e-02  1.592268e-02 -2.400551e-01 -3.076938e-01  5.523118e-08  5.282522e-08
+ 1.792459e-02  1.604855e-02 -2.399438e-01 -3.075153e-01  8.839228e-08 -3.290540e-07
+ 1.792459e-02  1.617343e-02 -2.398282e-01 -3.073349e-01  4.230114e-07 -1.296439e-06
+ 1.792459e-02  1.629736e-02 -2.397097e-01 -3.071519e-01 -1.096751e-06 -2.086005e-06
+ 1.792459e-02  1.642036e-02 -2.395833e-01 -3.069601e-01  2.761980e-08 -3.872967e-08
+ 1.792459e-02  1.654243e-02 -2.394522e-01 -3.067671e-01  1.191830e-07 -5.100970e-07
+ 1.792459e-02  1.666362e-02 -2.393148e-01 -3.065686e-01  6.588038e-08 -1.037008e-07
+ 1.792459e-02  1.678393e-02 -2.391667e-01 -3.063591e-01 -4.051547e-07 -5.829329e-07
+ 1.792459e-02  1.690338e-02 -2.389377e-01 -3.060340e-01  5.667300e-05  8.305822e-05
+ 1.792459e-02  1.702200e-02 -2.389545e-01 -3.060716e-01 -5.388682e-05 -7.727126e-05
+ 1.792459e-02  1.713979e-02 -2.387518e-01 -3.058050e-01  6.114320e-06  9.973179e-06
+ 1.792459e-02  1.725678e-02 -2.385687e-01 -3.055691e-01  6.382610e-08  9.214787e-08
+ 1.792459e-02  1.737298e-02 -2.383809e-01 -3.053356e-01  1.741990e-08  1.397424e-08
+ 1.792459e-02  1.748841e-02 -2.381692e-01 -3.050844e-01 -6.956608e-07 -5.087913e-07
+ 1.792459e-02  1.760308e-02 -2.379351e-01 -3.047929e-01  3.539118e-05  3.570048e-05
+ 1.792459e-02  1.771701e-02 -2.378529e-01 -3.047130e-01 -3.847536e-05 -3.940638e-05
+ 1.792459e-02  1.783022e-02 -2.370852e-01 -3.040129e-01  6.059252e-05  4.598726e-05
+ 1.792459e-02  1.794270e-02 -2.370812e-01 -3.039507e-01 -4.446031e-07 -5.606924e-07
+ 1.792459e-02  1.805449e-02 -2.370680e-01 -3.038715e-01 -8.067308e-07 -5.707785e-07
+ 1.792459e-02  1.816559e-02 -2.370511e-01 -3.037809e-01 -2.165913e-07  5.764766e-09
+ 1.792459e-02  1.827602e-02 -2.370320e-01 -3.036806e-01  9.311447e-07  2.344655e-06
+ 1.792459e-02  1.838578e-02 -2.370117e-01 -3.035699e-01  1.670488e-06  1.301646e-06
+ 1.792459e-02  1.849489e-02 -2.369849e-01 -3.034520e-01  1.728308e-06 -7.879989e-07
+ 1.792459e-02  1.860336e-02 -2.362417e-01 -3.028510e-01  1.961570e-05  1.389752e-05
+ 1.792459e-02  1.871120e-02 -2.359040e-01 -3.025398e-01 -2.547145e-06  1.222427e-05
+ 1.792459e-02  1.881842e-02 -2.353133e-01 -3.020453e-01 -1.426998e-06 -1.711177e-06
+ 1.792459e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.353119e-01  3.020436e-01
+ 1.792459e-02  1.903105e-02 -2.349715e-01 -3.016673e-01 -2.349715e-01 -3.016673e-01
+ 1.792459e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.792459e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.803626e-02  1.000000e-06 -2.465801e-01 -3.150861e-01  2.609203e-06 -2.518467e-08
+ 1.803626e-02  2.006944e-03 -2.463877e-01 -3.150002e-01  2.074545e-05  1.927354e-05
+ 1.803626e-02  2.837833e-03 -2.462287e-01 -3.149383e-01 -1.095828e-05 -1.020973e-05
+ 1.803626e-02  3.475396e-03 -2.460564e-01 -3.148580e-01  1.544148e-06  2.239881e-07
+ 1.803626e-02  4.012887e-03 -2.458934e-01 -3.147797e-01 -3.262597e-07 -3.036299e-07
+ 1.803626e-02  4.486426e-03 -2.457341e-01 -3.147001e-01 -1.153037e-07 -7.330375e-08
+ 1.803626e-02  4.914538e-03 -2.455794e-01 -3.146192e-01  1.046262e-06 -4.135047e-08
+ 1.803626e-02  5.308228e-03 -2.454298e-01 -3.145371e-01 -2.264473e-07 -9.394208e-08
+ 1.803626e-02  5.674665e-03 -2.452841e-01 -3.144539e-01 -5.168985e-08 -5.655314e-09
+ 1.803626e-02  6.018831e-03 -2.451424e-01 -3.143696e-01  7.303499e-07 -1.286065e-08
+ 1.803626e-02  6.344350e-03 -2.450052e-01 -3.142841e-01  1.896819e-07 -1.181411e-08
+ 1.803626e-02  6.653962e-03 -2.448711e-01 -3.141976e-01 -6.762833e-07  1.718759e-08
+ 1.803626e-02  6.949792e-03 -2.447452e-01 -3.141096e-01 -1.244036e-06  6.973276e-08
+ 1.803626e-02  7.233532e-03 -2.446185e-01 -3.140208e-01  1.513572e-06 -5.137328e-08
+ 1.803626e-02  7.506553e-03 -2.444930e-01 -3.139310e-01  3.035774e-07 -1.825997e-08
+ 1.803626e-02  7.769986e-03 -2.443761e-01 -3.138397e-01  2.898406e-07 -1.868510e-08
+ 1.803626e-02  8.024774e-03 -2.442564e-01 -3.137476e-01  7.005028e-07 -5.105574e-08
+ 1.803626e-02  8.271717e-03 -2.441441e-01 -3.136542e-01  2.744618e-08  5.301651e-08
+ 1.803626e-02  8.511498e-03 -2.440376e-01 -3.135593e-01 -2.350389e-07  2.622349e-08
+ 1.803626e-02  8.744705e-03 -2.439299e-01 -3.134636e-01  1.110383e-08 -1.197766e-08
+ 1.803626e-02  8.971852e-03 -2.438258e-01 -3.133666e-01 -1.205176e-07  1.395712e-09
+ 1.803626e-02  9.193388e-03 -2.437240e-01 -3.132684e-01  2.649374e-07  1.590486e-09
+ 1.803626e-02  9.409709e-03 -2.436251e-01 -3.131691e-01  3.015979e-07  1.938921e-08
+ 1.803626e-02  9.621167e-03 -2.435286e-01 -3.130685e-01 -6.914370e-08 -9.797015e-09
+ 1.803626e-02  9.828076e-03 -2.434342e-01 -3.129666e-01 -4.460211e-08  2.811754e-09
+ 1.803626e-02  1.003072e-02 -2.433419e-01 -3.128635e-01 -4.827964e-08 -1.168887e-09
+ 1.803626e-02  1.022935e-02 -2.432517e-01 -3.127590e-01  1.238916e-07  1.222148e-08
+ 1.803626e-02  1.042419e-02 -2.431634e-01 -3.126533e-01  3.208052e-07  1.719855e-08
+ 1.803626e-02  1.061546e-02 -2.430770e-01 -3.125462e-01  5.315381e-08  1.943696e-08
+ 1.803626e-02  1.080334e-02 -2.429922e-01 -3.124377e-01 -2.294722e-08 -4.769281e-09
+ 1.803626e-02  1.098801e-02 -2.429090e-01 -3.123279e-01 -6.874671e-09  1.368850e-09
+ 1.803626e-02  1.116962e-02 -2.428274e-01 -3.122167e-01 -1.847726e-07  2.019773e-08
+ 1.803626e-02  1.134833e-02 -2.427440e-01 -3.121037e-01  1.833129e-06  2.858821e-07
+ 1.803626e-02  1.152427e-02 -2.426661e-01 -3.119897e-01  2.397308e-07  1.240460e-08
+ 1.803626e-02  1.169756e-02 -2.425878e-01 -3.118740e-01  4.327331e-08  2.926626e-09
+ 1.803626e-02  1.186832e-02 -2.425103e-01 -3.117568e-01 -3.844697e-08  3.481842e-08
+ 1.803626e-02  1.203666e-02 -2.424335e-01 -3.116379e-01 -2.211257e-08  4.671576e-08
+ 1.803626e-02  1.220268e-02 -2.423573e-01 -3.115174e-01 -8.339413e-08  8.689554e-08
+ 1.803626e-02  1.236647e-02 -2.422815e-01 -3.113954e-01  5.395125e-08  1.953311e-08
+ 1.803626e-02  1.252811e-02 -2.422063e-01 -3.112714e-01  2.074316e-07  3.778983e-08
+ 1.803626e-02  1.268770e-02 -2.421312e-01 -3.111460e-01  9.736725e-08  3.832923e-08
+ 1.803626e-02  1.284531e-02 -2.420567e-01 -3.110181e-01 -8.360019e-08  1.083290e-07
+ 1.803626e-02  1.300100e-02 -2.419821e-01 -3.108887e-01 -1.656276e-06  2.679104e-06
+ 1.803626e-02  1.315485e-02 -2.419048e-01 -3.107616e-01  1.782394e-06 -2.786459e-06
+ 1.803626e-02  1.330692e-02 -2.418307e-01 -3.106274e-01  3.693673e-06 -5.417976e-06
+ 1.803626e-02  1.345728e-02 -2.417581e-01 -3.104891e-01 -9.782376e-07  1.681864e-06
+ 1.803626e-02  1.360597e-02 -2.416826e-01 -3.103544e-01  2.199243e-06 -2.774187e-06
+ 1.803626e-02  1.375306e-02 -2.416137e-01 -3.102101e-01 -3.483601e-06  4.623353e-06
+ 1.803626e-02  1.389858e-02 -2.415436e-01 -3.100684e-01 -5.829233e-07  4.465344e-06
+ 1.803626e-02  1.404260e-02 -2.413898e-01 -3.099409e-01  4.156432e-05 -7.726054e-06
+ 1.803626e-02  1.418516e-02 -2.413210e-01 -3.097928e-01  3.527755e-07 -3.549449e-07
+ 1.803626e-02  1.432630e-02 -2.412461e-01 -3.096443e-01  5.063178e-07 -4.233147e-07
+ 1.803626e-02  1.446606e-02 -2.411667e-01 -3.094939e-01  1.720234e-07 -1.070045e-07
+ 1.803626e-02  1.460449e-02 -2.410831e-01 -3.093418e-01  9.560482e-08 -1.172831e-07
+ 1.803626e-02  1.474161e-02 -2.409964e-01 -3.091873e-01  1.721254e-08 -2.566242e-08
+ 1.803626e-02  1.487748e-02 -2.409068e-01 -3.090307e-01 -6.411747e-09 -2.027875e-08
+ 1.803626e-02  1.501211e-02 -2.408147e-01 -3.088715e-01  9.815956e-08  1.518963e-10
+ 1.803626e-02  1.514554e-02 -2.407196e-01 -3.087102e-01  1.557334e-07  3.571903e-08
+ 1.803626e-02  1.527781e-02 -2.406221e-01 -3.085465e-01  2.947705e-08 -2.958269e-09
+ 1.803626e-02  1.540894e-02 -2.405229e-01 -3.083871e-01 -2.458319e-08 -4.153078e-07
+ 1.803626e-02  1.553897e-02 -2.404159e-01 -3.082058e-01  4.413140e-08 -3.784729e-08
+ 1.803626e-02  1.566792e-02 -2.403089e-01 -3.080350e-01  6.703981e-08  3.745872e-09
+ 1.803626e-02  1.579582e-02 -2.401979e-01 -3.078602e-01 -4.849256e-08  2.568303e-08
+ 1.803626e-02  1.592268e-02 -2.400830e-01 -3.076820e-01 -2.827194e-07 -4.492293e-07
+ 1.803626e-02  1.604855e-02 -2.399639e-01 -3.075000e-01  9.696573e-08 -2.365368e-07
+ 1.803626e-02  1.617343e-02 -2.398404e-01 -3.073167e-01  5.079655e-07 -1.339126e-06
+ 1.803626e-02  1.629736e-02 -2.397138e-01 -3.071301e-01  1.452196e-06  2.651291e-06
+ 1.803626e-02  1.642036e-02 -2.395789e-01 -3.069343e-01  8.594973e-08 -1.544549e-07
+ 1.803626e-02  1.654243e-02 -2.394389e-01 -3.067375e-01  2.461544e-07 -2.446848e-08
+ 1.803626e-02  1.666362e-02 -2.392917e-01 -3.065338e-01  4.699749e-07 -2.849242e-09
+ 1.803626e-02  1.678393e-02 -2.391335e-01 -3.063188e-01 -9.042263e-07 -1.245979e-06
+ 1.803626e-02  1.690338e-02 -2.389075e-01 -3.060107e-01  7.775838e-05  1.085042e-04
+ 1.803626e-02  1.702200e-02 -2.389385e-01 -3.060668e-01 -8.077970e-05 -1.101836e-04
+ 1.803626e-02  1.713979e-02 -2.386902e-01 -3.057490e-01  1.342581e-06  2.224465e-06
+ 1.803626e-02  1.725678e-02 -2.384958e-01 -3.055088e-01 -1.881463e-08 -2.577095e-08
+ 1.803626e-02  1.737298e-02 -2.382870e-01 -3.052604e-01  3.595300e-07  2.303683e-07
+ 1.803626e-02  1.748841e-02 -2.378559e-01 -3.047962e-01 -1.186102e-04 -1.096849e-04
+ 1.803626e-02  1.760308e-02 -2.379367e-01 -3.048246e-01  1.765097e-06  1.744886e-06
+ 1.803626e-02  1.771701e-02 -2.377235e-01 -3.046166e-01  2.623386e-05  2.528419e-05
+ 1.803626e-02  1.783022e-02 -2.371017e-01 -3.040468e-01 -4.776264e-06 -3.565657e-06
+ 1.803626e-02  1.794270e-02 -2.370867e-01 -3.039759e-01  5.965459e-07  5.065340e-07
+ 1.803626e-02  1.805449e-02 -2.370721e-01 -3.038960e-01 -2.267178e-07 -1.163807e-07
+ 1.803626e-02  1.816559e-02 -2.370550e-01 -3.038047e-01  7.383608e-07  4.846547e-07
+ 1.803626e-02  1.827602e-02 -2.370360e-01 -3.037032e-01  1.583476e-06  3.253041e-07
+ 1.803626e-02  1.838578e-02 -2.370174e-01 -3.035922e-01  2.846898e-05  2.768943e-05
+ 1.803626e-02  1.849489e-02 -2.367653e-01 -3.033227e-01  2.746316e-04  1.861959e-04
+ 1.803626e-02  1.860336e-02 -2.360044e-01 -3.027245e-01  8.011867e-06  7.266248e-06
+ 1.803626e-02  1.871120e-02 -2.352854e-01 -3.021317e-01  1.919485e-04  1.401326e-04
+ 1.803626e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.354774e-01  3.022718e-01
+ 1.803626e-02  1.892503e-02 -2.346459e-01 -3.015446e-01 -8.389022e-08  1.046170e-06
+ 1.803626e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.803626e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346458e-01  3.015457e-01
+ 1.814725e-02  1.000000e-06 -2.469456e-01 -3.151638e-01 -1.152322e-07  1.535719e-09
+ 1.814725e-02  2.006944e-03 -2.468208e-01 -3.150837e-01 -1.887861e-05  1.146956e-05
+ 1.814725e-02  2.837833e-03 -2.466539e-01 -3.150514e-01  2.367904e-04 -2.133358e-05
+ 1.814725e-02  3.475396e-03 -2.463255e-01 -3.149152e-01  4.554113e-05  2.481962e-05
+ 1.814725e-02  4.012887e-03 -2.462120e-01 -3.148624e-01  2.716698e-07 -3.832237e-09
+ 1.814725e-02  4.486426e-03 -2.460464e-01 -3.147783e-01 -6.285732e-07 -1.166718e-06
+ 1.814725e-02  4.914538e-03 -2.458894e-01 -3.146959e-01 -5.565155e-07 -4.490757e-07
+ 1.814725e-02  5.308228e-03 -2.457365e-01 -3.146132e-01 -2.053502e-08  6.650331e-09
+ 1.814725e-02  5.674665e-03 -2.455879e-01 -3.145295e-01  1.073402e-06 -9.012041e-08
+ 1.814725e-02  6.018831e-03 -2.454441e-01 -3.144447e-01 -1.404005e-07 -4.506501e-09
+ 1.814725e-02  6.344350e-03 -2.453033e-01 -3.143586e-01  3.029730e-08 -5.175883e-08
+ 1.814725e-02  6.653962e-03 -2.451664e-01 -3.142713e-01  6.855673e-07 -6.639937e-10
+ 1.814725e-02  6.949792e-03 -2.450321e-01 -3.141830e-01  1.349194e-06 -3.232672e-08
+ 1.814725e-02  7.233532e-03 -2.449066e-01 -3.140934e-01  1.617074e-06 -5.240387e-08
+ 1.814725e-02  7.506553e-03 -2.447818e-01 -3.140026e-01 -2.662084e-06  9.205980e-08
+ 1.814725e-02  7.769986e-03 -2.446542e-01 -3.139109e-01 -1.961848e-07  1.732412e-08
+ 1.814725e-02  8.024774e-03 -2.445371e-01 -3.138177e-01 -6.095068e-07  1.199600e-08
+ 1.814725e-02  8.271717e-03 -2.444176e-01 -3.137236e-01 -1.242272e-06  7.660203e-08
+ 1.814725e-02  8.511498e-03 -2.443034e-01 -3.136282e-01  1.206150e-06 -7.259751e-08
+ 1.814725e-02  8.744705e-03 -2.441964e-01 -3.135313e-01  7.923569e-07 -8.043037e-09
+ 1.814725e-02  8.971852e-03 -2.440875e-01 -3.134334e-01  2.591542e-07  1.128022e-08
+ 1.814725e-02  9.193388e-03 -2.439823e-01 -3.133343e-01 -4.536085e-08  4.542424e-09
+ 1.814725e-02  9.409709e-03 -2.438793e-01 -3.132339e-01 -1.167534e-08 -2.045051e-09
+ 1.814725e-02  9.621167e-03 -2.437786e-01 -3.131322e-01 -8.722395e-09  9.573007e-09
+ 1.814725e-02  9.828076e-03 -2.436800e-01 -3.130293e-01  4.002584e-07  6.067315e-09
+ 1.814725e-02  1.003072e-02 -2.435840e-01 -3.129251e-01  1.225396e-07  1.151591e-08
+ 1.814725e-02  1.022935e-02 -2.434894e-01 -3.128194e-01 -3.546341e-08 -3.742346e-09
+ 1.814725e-02  1.042419e-02 -2.433970e-01 -3.127125e-01 -3.299221e-08  1.007725e-08
+ 1.814725e-02  1.061546e-02 -2.433061e-01 -3.126042e-01  1.002436e-09  3.842117e-09
+ 1.814725e-02  1.080334e-02 -2.432168e-01 -3.124944e-01  2.584112e-07 -1.149584e-08
+ 1.814725e-02  1.098801e-02 -2.431291e-01 -3.123833e-01  1.903552e-07  1.078480e-08
+ 1.814725e-02  1.116962e-02 -2.430428e-01 -3.122706e-01 -1.114816e-08  2.611796e-09
+ 1.814725e-02  1.134833e-02 -2.429578e-01 -3.121565e-01 -1.170630e-08  2.817251e-08
+ 1.814725e-02  1.152427e-02 -2.428752e-01 -3.120409e-01 -4.806702e-07  6.587984e-09
+ 1.814725e-02  1.169756e-02 -2.427869e-01 -3.119234e-01  3.606480e-07  3.711805e-08
+ 1.814725e-02  1.186832e-02 -2.427066e-01 -3.118048e-01  2.407777e-07  5.051071e-08
+ 1.814725e-02  1.203666e-02 -2.426251e-01 -3.116843e-01  1.310182e-07  5.921308e-08
+ 1.814725e-02  1.220268e-02 -2.425440e-01 -3.115622e-01 -6.582527e-08  9.413548e-08
+ 1.814725e-02  1.236647e-02 -2.424632e-01 -3.114384e-01 -9.486119e-09  1.652050e-08
+ 1.814725e-02  1.252811e-02 -2.423829e-01 -3.113126e-01 -1.679167e-08  9.919038e-09
+ 1.814725e-02  1.268770e-02 -2.423022e-01 -3.111854e-01  7.910276e-08  1.768724e-08
+ 1.814725e-02  1.284531e-02 -2.422223e-01 -3.110556e-01  1.718060e-07  8.970695e-08
+ 1.814725e-02  1.300100e-02 -2.421419e-01 -3.109244e-01 -1.392790e-06  2.456643e-06
+ 1.814725e-02  1.315485e-02 -2.420588e-01 -3.107953e-01  1.442801e-06 -2.241451e-06
+ 1.814725e-02  1.330692e-02 -2.419789e-01 -3.106587e-01  3.556099e-06 -5.180875e-06
+ 1.814725e-02  1.345728e-02 -2.418996e-01 -3.105186e-01 -8.547896e-07  1.338064e-06
+ 1.814725e-02  1.360597e-02 -2.418167e-01 -3.103817e-01  2.273607e-06 -3.109785e-06
+ 1.814725e-02  1.375306e-02 -2.417389e-01 -3.102355e-01 -3.267824e-06  4.474898e-06
+ 1.814725e-02  1.389858e-02 -2.416583e-01 -3.100917e-01 -4.250751e-06  5.395372e-06
+ 1.814725e-02  1.404260e-02 -2.415796e-01 -3.099462e-01  1.208990e-06 -1.201577e-06
+ 1.814725e-02  1.418516e-02 -2.415438e-01 -3.097748e-01 -5.713616e-05  2.625738e-05
+ 1.814725e-02  1.432630e-02 -2.413450e-01 -3.096658e-01 -1.979948e-07 -3.878826e-07
+ 1.814725e-02  1.446606e-02 -2.412626e-01 -3.095113e-01  2.067979e-07 -7.769922e-08
+ 1.814725e-02  1.460449e-02 -2.411751e-01 -3.093556e-01  1.959094e-07 -6.558104e-08
+ 1.814725e-02  1.474161e-02 -2.410831e-01 -3.091979e-01 -1.023222e-08 -7.340882e-09
+ 1.814725e-02  1.487748e-02 -2.409875e-01 -3.090383e-01 -5.322582e-09  2.232602e-09
+ 1.814725e-02  1.501211e-02 -2.408888e-01 -3.088764e-01 -5.191242e-08 -4.012874e-08
+ 1.814725e-02  1.514554e-02 -2.407870e-01 -3.087121e-01  3.896329e-08  3.063178e-09
+ 1.814725e-02  1.527781e-02 -2.406825e-01 -3.085455e-01  8.342777e-08 -1.925028e-08
+ 1.814725e-02  1.540894e-02 -2.405757e-01 -3.083798e-01 -6.432572e-07 -2.277119e-06
+ 1.814725e-02  1.553897e-02 -2.404616e-01 -3.081984e-01  1.275534e-07  4.161395e-09
+ 1.814725e-02  1.566792e-02 -2.403473e-01 -3.080248e-01  4.416276e-08  2.959118e-08
+ 1.814725e-02  1.579582e-02 -2.402290e-01 -3.078469e-01  1.687775e-07  2.496692e-08
+ 1.814725e-02  1.592268e-02 -2.401063e-01 -3.076654e-01  5.319001e-08  1.969547e-07
+ 1.814725e-02  1.604855e-02 -2.399794e-01 -3.074798e-01  1.439137e-07 -6.362394e-09
+ 1.814725e-02  1.617343e-02 -2.398479e-01 -3.072933e-01  4.899922e-07 -1.237202e-06
+ 1.814725e-02  1.629736e-02 -2.397115e-01 -3.071004e-01  8.041477e-07  1.265421e-06
+ 1.814725e-02  1.642036e-02 -2.395703e-01 -3.069041e-01  1.533900e-08  2.897876e-08
+ 1.814725e-02  1.654243e-02 -2.394204e-01 -3.067021e-01  8.118811e-08  1.432373e-07
+ 1.814725e-02  1.666362e-02 -2.392636e-01 -3.064933e-01 -3.549323e-08 -1.095265e-07
+ 1.814725e-02  1.678393e-02 -2.390899e-01 -3.062662e-01 -7.965343e-06 -9.865227e-06
+ 1.814725e-02  1.690338e-02 -2.388880e-01 -3.060025e-01  6.088325e-05  8.118221e-05
+ 1.814725e-02  1.702200e-02 -2.389189e-01 -3.060551e-01 -9.686010e-05 -1.259441e-04
+ 1.814725e-02  1.713979e-02 -2.386238e-01 -3.056890e-01  4.098393e-07  6.772636e-07
+ 1.814725e-02  1.725678e-02 -2.384138e-01 -3.054390e-01  1.639365e-07  1.139932e-07
+ 1.814725e-02  1.737298e-02 -2.381822e-01 -3.051753e-01 -3.558041e-06 -4.695352e-06
+ 1.814725e-02  1.748841e-02 -2.379075e-01 -3.048560e-01 -4.968114e-06 -3.387446e-06
+ 1.814725e-02  1.760308e-02 -2.378995e-01 -3.048237e-01  2.114800e-05  2.102609e-05
+ 1.814725e-02  1.771701e-02 -2.371237e-01 -3.041245e-01 -7.055853e-06 -4.185760e-06
+ 1.814725e-02  1.783022e-02 -2.371047e-01 -3.040685e-01 -2.390669e-06 -1.477727e-06
+ 1.814725e-02  1.794270e-02 -2.370911e-01 -3.039995e-01 -4.219531e-07 -3.036636e-07
+ 1.814725e-02  1.805449e-02 -2.370758e-01 -3.039182e-01  6.544189e-07  3.416163e-07
+ 1.814725e-02  1.816559e-02 -2.370595e-01 -3.038286e-01  3.205474e-07  3.960803e-07
+ 1.814725e-02  1.827602e-02 -2.370413e-01 -3.037206e-01  7.147528e-07  1.906658e-06
+ 1.814725e-02  1.838578e-02 -2.371898e-01 -3.037314e-01  5.378133e-04  4.071989e-04
+ 1.814725e-02  1.849489e-02 -2.361110e-01 -3.029000e-01 -8.253116e-05 -5.993554e-05
+ 1.814725e-02  1.860336e-02 -2.356794e-01 -3.025197e-01 -4.462182e-05 -3.296412e-05
+ 1.814725e-02  1.871120e-02 -2.351235e-01 -3.020519e-01 -4.850993e-05 -3.655678e-05
+ 1.814725e-02  1.881842e-02 -2.346371e-01 -3.016658e-01  2.890001e-06  4.008610e-05
+ 1.814725e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346400e-01  3.017059e-01
+ 1.814725e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346400e-01  3.017059e-01
+ 1.814725e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346400e-01  3.017059e-01
+ 1.814725e-02  1.924133e-02 -2.348776e-01 -3.015161e-01 -2.348776e-01 -3.015161e-01
+ 1.814725e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.814725e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.825756e-02  1.000000e-06 -2.473065e-01 -3.152380e-01 -9.508940e-08  3.674412e-10
+ 1.825756e-02  2.006944e-03 -2.471438e-01 -3.151650e-01  2.613284e-06 -3.736009e-07
+ 1.825756e-02  2.837833e-03 -2.470218e-01 -3.150931e-01 -1.117548e-06  2.143137e-06
+ 1.825756e-02  3.475396e-03 -2.470495e-01 -3.150150e-01 -4.199160e-06  8.956260e-07
+ 1.825756e-02  4.012887e-03 -2.464851e-01 -3.149461e-01  1.571864e-04  4.589904e-05
+ 1.825756e-02  4.486426e-03 -2.463479e-01 -3.148628e-01 -4.766982e-05 -2.185131e-05
+ 1.825756e-02  4.914538e-03 -2.461788e-01 -3.147715e-01  1.666431e-06  4.949792e-07
+ 1.825756e-02  5.308228e-03 -2.460281e-01 -3.146877e-01  2.673465e-08 -5.645990e-07
+ 1.825756e-02  5.674665e-03 -2.458801e-01 -3.146030e-01 -3.567776e-08 -3.668411e-08
+ 1.825756e-02  6.018831e-03 -2.457337e-01 -3.145171e-01 -6.605599e-08 -9.707601e-08
+ 1.825756e-02  6.344350e-03 -2.455911e-01 -3.144302e-01  1.003986e-06 -6.861036e-08
+ 1.825756e-02  6.653962e-03 -2.454521e-01 -3.143422e-01  5.252631e-07 -6.846937e-09
+ 1.825756e-02  6.949792e-03 -2.453171e-01 -3.142531e-01 -1.235307e-07 -3.504490e-08
+ 1.825756e-02  7.233532e-03 -2.451828e-01 -3.141629e-01  3.097312e-06  6.128211e-09
+ 1.825756e-02  7.506553e-03 -2.450572e-01 -3.140714e-01  2.714173e-06 -1.973665e-08
+ 1.825756e-02  7.769986e-03 -2.449346e-01 -3.139787e-01 -6.059589e-06  7.672978e-08
+ 1.825756e-02  8.024774e-03 -2.448060e-01 -3.138849e-01 -1.579615e-06 -3.186509e-08
+ 1.825756e-02  8.271717e-03 -2.446882e-01 -3.137897e-01 -6.340733e-07  1.650212e-08
+ 1.825756e-02  8.511498e-03 -2.445683e-01 -3.136934e-01 -1.503032e-06  8.935498e-08
+ 1.825756e-02  8.744705e-03 -2.444533e-01 -3.135959e-01  2.200882e-06 -7.287822e-08
+ 1.825756e-02  8.971852e-03 -2.443459e-01 -3.134969e-01  4.991205e-07 -2.542911e-08
+ 1.825756e-02  9.193388e-03 -2.442356e-01 -3.133968e-01  1.462157e-07  7.904583e-09
+ 1.825756e-02  9.409709e-03 -2.441289e-01 -3.132954e-01  4.675446e-07  2.274044e-08
+ 1.825756e-02  9.621167e-03 -2.440244e-01 -3.131927e-01  8.733613e-09  6.915742e-09
+ 1.825756e-02  9.828076e-03 -2.439222e-01 -3.130886e-01 -5.588791e-08  5.852301e-09
+ 1.825756e-02  1.003072e-02 -2.438218e-01 -3.129832e-01 -5.415250e-08  6.618919e-09
+ 1.825756e-02  1.022935e-02 -2.437233e-01 -3.128765e-01  2.049506e-07  9.254494e-10
+ 1.825756e-02  1.042419e-02 -2.436267e-01 -3.127683e-01  1.112827e-06  7.479463e-08
+ 1.825756e-02  1.061546e-02 -2.435315e-01 -3.126587e-01 -5.509535e-08  1.298485e-08
+ 1.825756e-02  1.080334e-02 -2.434381e-01 -3.125476e-01  6.520866e-09  1.854318e-09
+ 1.825756e-02  1.098801e-02 -2.433459e-01 -3.124351e-01 -5.549437e-08 -4.867905e-09
+ 1.825756e-02  1.116962e-02 -2.432550e-01 -3.123210e-01  1.371567e-07  2.037656e-08
+ 1.825756e-02  1.134833e-02 -2.431652e-01 -3.122054e-01  3.130309e-07  8.124443e-08
+ 1.825756e-02  1.152427e-02 -2.430766e-01 -3.120883e-01  5.812914e-08  7.176189e-09
+ 1.825756e-02  1.169756e-02 -2.429892e-01 -3.119695e-01 -6.492508e-09 -6.309913e-09
+ 1.825756e-02  1.186832e-02 -2.429065e-01 -3.118491e-01 -9.627803e-07  4.514118e-08
+ 1.825756e-02  1.203666e-02 -2.428127e-01 -3.117269e-01 -1.449329e-07  3.471742e-08
+ 1.825756e-02  1.220268e-02 -2.427270e-01 -3.116031e-01  1.730654e-07  1.223907e-07
+ 1.825756e-02  1.236647e-02 -2.426413e-01 -3.114775e-01  1.805245e-07  4.564183e-08
+ 1.825756e-02  1.252811e-02 -2.425558e-01 -3.113499e-01 -4.301828e-08  5.640951e-08
+ 1.825756e-02  1.268770e-02 -2.424701e-01 -3.112209e-01  3.719973e-08 -3.427392e-08
+ 1.825756e-02  1.284531e-02 -2.423847e-01 -3.110890e-01 -4.994734e-08  1.013364e-08
+ 1.825756e-02  1.300100e-02 -2.422986e-01 -3.109562e-01 -1.163195e-06  1.860076e-06
+ 1.825756e-02  1.315485e-02 -2.422096e-01 -3.108250e-01  1.101414e-06 -1.354101e-06
+ 1.825756e-02  1.330692e-02 -2.421242e-01 -3.106857e-01  3.187263e-06 -4.445532e-06
+ 1.825756e-02  1.345728e-02 -2.420384e-01 -3.105441e-01 -4.692785e-07  7.793947e-07
+ 1.825756e-02  1.360597e-02 -2.419492e-01 -3.104047e-01  2.422525e-06 -3.312086e-06
+ 1.825756e-02  1.375306e-02 -2.418644e-01 -3.102561e-01 -2.490953e-06  3.173460e-06
+ 1.825756e-02  1.389858e-02 -2.417745e-01 -3.101110e-01 -3.047302e-06  3.252847e-06
+ 1.825756e-02  1.404260e-02 -2.416847e-01 -3.099637e-01  7.688920e-07 -6.563140e-07
+ 1.825756e-02  1.418516e-02 -2.416025e-01 -3.098066e-01  4.467526e-07 -2.823027e-07
+ 1.825756e-02  1.432630e-02 -2.415416e-01 -3.096310e-01 -5.589292e-05  3.796974e-05
+ 1.825756e-02  1.446606e-02 -2.413516e-01 -3.095275e-01 -3.256820e-07 -1.240261e-08
+ 1.825756e-02  1.460449e-02 -2.412619e-01 -3.093665e-01  4.341697e-08  1.325084e-08
+ 1.825756e-02  1.474161e-02 -2.411653e-01 -3.092049e-01  8.924115e-08  1.167821e-08
+ 1.825756e-02  1.487748e-02 -2.410638e-01 -3.090419e-01 -1.411899e-08  1.586264e-09
+ 1.825756e-02  1.501211e-02 -2.409588e-01 -3.088768e-01 -4.246487e-08 -4.635741e-09
+ 1.825756e-02  1.514554e-02 -2.408503e-01 -3.087094e-01  1.381078e-08 -9.373738e-09
+ 1.825756e-02  1.527781e-02 -2.407388e-01 -3.085398e-01  1.521533e-07 -3.444155e-09
+ 1.825756e-02  1.540894e-02 -2.406246e-01 -3.083697e-01  3.947024e-07  1.044353e-06
+ 1.825756e-02  1.553897e-02 -2.405032e-01 -3.081862e-01 -2.320996e-08 -7.678617e-08
+ 1.825756e-02  1.566792e-02 -2.403817e-01 -3.080097e-01  1.088239e-07  4.998237e-08
+ 1.825756e-02  1.579582e-02 -2.402554e-01 -3.078286e-01  6.518856e-09  2.484721e-09
+ 1.825756e-02  1.592268e-02 -2.401253e-01 -3.076439e-01  6.198489e-08  2.919608e-08
+ 1.825756e-02  1.604855e-02 -2.399904e-01 -3.074550e-01 -9.105831e-07 -3.363696e-06
+ 1.825756e-02  1.617343e-02 -2.398509e-01 -3.072646e-01  3.500784e-07 -8.166472e-07
+ 1.825756e-02  1.629736e-02 -2.397030e-01 -3.070632e-01  2.182169e-06  3.020991e-06
+ 1.825756e-02  1.642036e-02 -2.395548e-01 -3.068657e-01 -3.036147e-06 -2.876098e-06
+ 1.825756e-02  1.654243e-02 -2.393968e-01 -3.066611e-01  2.231932e-08 -6.878477e-08
+ 1.825756e-02  1.666362e-02 -2.392294e-01 -3.064461e-01 -1.570175e-07 -3.267138e-07
+ 1.825756e-02  1.678393e-02 -2.390077e-01 -3.061679e-01  1.850500e-05  2.241652e-05
+ 1.825756e-02  1.690338e-02 -2.388798e-01 -3.060066e-01  2.553010e-05  3.245263e-05
+ 1.825756e-02  1.702200e-02 -2.388759e-01 -3.060133e-01 -1.329071e-05 -1.640493e-05
+ 1.825756e-02  1.713979e-02 -2.385494e-01 -3.056202e-01 -9.217647e-08 -1.039469e-07
+ 1.825756e-02  1.725678e-02 -2.383204e-01 -3.053572e-01  1.182178e-07 -3.146158e-09
+ 1.825756e-02  1.737298e-02 -2.374588e-01 -3.044885e-01 -4.921285e-04 -4.360613e-04
+ 1.825756e-02  1.748841e-02 -2.378808e-01 -3.048492e-01 -1.381726e-06 -1.358047e-06
+ 1.825756e-02  1.760308e-02 -2.378562e-01 -3.048236e-01  7.623739e-05  8.368637e-05
+ 1.825756e-02  1.771701e-02 -2.371190e-01 -3.041433e-01 -8.254248e-06 -6.534923e-06
+ 1.825756e-02  1.783022e-02 -2.371079e-01 -3.040900e-01 -7.256884e-07 -6.266346e-07
+ 1.825756e-02  1.794270e-02 -2.370947e-01 -3.040203e-01 -1.486734e-07 -5.277731e-09
+ 1.825756e-02  1.805449e-02 -2.370796e-01 -3.039387e-01  9.381370e-07  3.403281e-07
+ 1.825756e-02  1.816559e-02 -2.370611e-01 -3.038481e-01  3.297330e-06 -2.370365e-07
+ 1.825756e-02  1.827602e-02 -2.374041e-01 -3.040120e-01 -2.418146e-04 -1.812645e-04
+ 1.825756e-02  1.838578e-02 -2.362564e-01 -3.030954e-01 -2.311501e-05 -1.777636e-05
+ 1.825756e-02  1.849489e-02 -2.358549e-01 -3.027367e-01  5.230804e-05  3.975102e-05
+ 1.825756e-02  1.860336e-02 -2.353918e-01 -3.023386e-01  3.724862e-05  2.227466e-05
+ 1.825756e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.825756e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.354291e-01  3.023608e-01
+ 1.836721e-02  1.000000e-06 -2.476589e-01 -3.153087e-01  1.754132e-06 -1.400444e-08
+ 1.836721e-02  2.006944e-03 -2.474910e-01 -3.152345e-01  3.275516e-06 -9.542702e-09
+ 1.836721e-02  2.837833e-03 -2.473443e-01 -3.151607e-01  6.349038e-07 -6.825803e-07
+ 1.836721e-02  3.475396e-03 -2.472235e-01 -3.150899e-01  2.199549e-07 -4.868995e-07
+ 1.836721e-02  4.012887e-03 -2.471413e-01 -3.150248e-01  4.298256e-05 -1.092909e-05
+ 1.836721e-02  4.486426e-03 -2.472227e-01 -3.149466e-01 -1.422600e-04  2.055401e-05
+ 1.836721e-02  4.914538e-03 -2.463678e-01 -3.148255e-01  1.248846e-04  4.284029e-05
+ 1.836721e-02  5.308228e-03 -2.463122e-01 -3.147681e-01 -3.346439e-06 -1.359917e-06
+ 1.836721e-02  5.674665e-03 -2.461561e-01 -3.146767e-01  6.025983e-07 -4.250769e-07
+ 1.836721e-02  6.018831e-03 -2.460094e-01 -3.145879e-01 -9.279094e-07 -6.758906e-07
+ 1.836721e-02  6.344350e-03 -2.458671e-01 -3.144995e-01  4.797406e-07 -6.624519e-09
+ 1.836721e-02  6.653962e-03 -2.457274e-01 -3.144106e-01 -4.001124e-08 -9.044300e-08
+ 1.836721e-02  6.949792e-03 -2.455899e-01 -3.143206e-01  2.006943e-06  1.565085e-08
+ 1.836721e-02  7.233532e-03 -2.454569e-01 -3.142294e-01 -8.042881e-08 -2.195641e-08
+ 1.836721e-02  7.506553e-03 -2.453239e-01 -3.141370e-01  3.050519e-06  1.867047e-08
+ 1.836721e-02  7.769986e-03 -2.451984e-01 -3.140435e-01  2.712681e-06  4.645112e-08
+ 1.836721e-02  8.024774e-03 -2.450769e-01 -3.139488e-01 -7.357104e-06 -5.658537e-08
+ 1.836721e-02  8.271717e-03 -2.449482e-01 -3.138528e-01 -1.732234e-06 -6.061006e-08
+ 1.836721e-02  8.511498e-03 -2.448305e-01 -3.137556e-01 -1.353542e-06 -3.849333e-08
+ 1.836721e-02  8.744705e-03 -2.447096e-01 -3.136570e-01 -1.566652e-06  6.555244e-08
+ 1.836721e-02  8.971852e-03 -2.445937e-01 -3.135572e-01  2.277578e-06 -1.077319e-09
+ 1.836721e-02  9.193388e-03 -2.444857e-01 -3.134561e-01  1.748293e-07 -7.380183e-09
+ 1.836721e-02  9.409709e-03 -2.443744e-01 -3.133536e-01  6.091826e-09 -1.994161e-09
+ 1.836721e-02  9.621167e-03 -2.442662e-01 -3.132498e-01 -1.113827e-07  7.683269e-09
+ 1.836721e-02  9.828076e-03 -2.441598e-01 -3.131446e-01  5.749702e-07  3.082137e-08
+ 1.836721e-02  1.003072e-02 -2.440558e-01 -3.130381e-01  1.065668e-08  1.730634e-08
+ 1.836721e-02  1.022935e-02 -2.439535e-01 -3.129300e-01 -2.777179e-08 -6.044529e-09
+ 1.836721e-02  1.042419e-02 -2.438528e-01 -3.128206e-01 -1.054370e-07 -1.001279e-09
+ 1.836721e-02  1.061546e-02 -2.437535e-01 -3.127097e-01  1.214094e-07  1.557747e-08
+ 1.836721e-02  1.080334e-02 -2.436553e-01 -3.125973e-01  4.193265e-07  3.097544e-08
+ 1.836721e-02  1.098801e-02 -2.435591e-01 -3.124833e-01  6.728525e-08  4.795146e-09
+ 1.836721e-02  1.116962e-02 -2.434640e-01 -3.123678e-01 -7.441864e-08  1.358391e-08
+ 1.836721e-02  1.134833e-02 -2.433696e-01 -3.122507e-01 -3.096556e-08  2.910324e-08
+ 1.836721e-02  1.152427e-02 -2.432762e-01 -3.121320e-01  5.780295e-08  2.835767e-08
+ 1.836721e-02  1.169756e-02 -2.431836e-01 -3.120116e-01  3.251454e-07  2.387058e-08
+ 1.836721e-02  1.186832e-02 -2.430919e-01 -3.118895e-01  1.069902e-07  2.563102e-08
+ 1.836721e-02  1.203666e-02 -2.430017e-01 -3.117656e-01  5.260700e-07 -3.891583e-08
+ 1.836721e-02  1.220268e-02 -2.429000e-01 -3.116404e-01  3.609445e-06  9.074185e-08
+ 1.836721e-02  1.236647e-02 -2.428157e-01 -3.115128e-01 -5.212707e-08  5.533022e-08
+ 1.836721e-02  1.252811e-02 -2.427253e-01 -3.113833e-01  1.654225e-07  1.368467e-07
+ 1.836721e-02  1.268770e-02 -2.426343e-01 -3.112524e-01  2.218469e-07 -5.702694e-08
+ 1.836721e-02  1.284531e-02 -2.425437e-01 -3.111184e-01 -2.211618e-08  1.145961e-08
+ 1.836721e-02  1.300100e-02 -2.424518e-01 -3.109839e-01 -4.529954e-07  6.966299e-07
+ 1.836721e-02  1.315485e-02 -2.423571e-01 -3.108506e-01  3.407887e-07 -4.465547e-07
+ 1.836721e-02  1.330692e-02 -2.422663e-01 -3.107083e-01  2.159457e-06 -2.895530e-06
+ 1.836721e-02  1.345728e-02 -2.421738e-01 -3.105654e-01 -7.170283e-08 -5.409623e-08
+ 1.836721e-02  1.360597e-02 -2.420788e-01 -3.104231e-01  2.143578e-06 -2.836273e-06
+ 1.836721e-02  1.375306e-02 -2.419875e-01 -3.102722e-01 -1.124859e-06  1.431524e-06
+ 1.836721e-02  1.389858e-02 -2.418893e-01 -3.101266e-01 -2.582154e-06  3.009040e-06
+ 1.836721e-02  1.404260e-02 -2.417917e-01 -3.099759e-01  2.099682e-07 -1.542292e-07
+ 1.836721e-02  1.418516e-02 -2.416977e-01 -3.098182e-01  1.519496e-07  4.887070e-08
+ 1.836721e-02  1.432630e-02 -2.416065e-01 -3.096542e-01  1.363392e-06 -1.364713e-06
+ 1.836721e-02  1.446606e-02 -2.413914e-01 -3.095637e-01  1.349332e-05 -6.103749e-06
+ 1.836721e-02  1.460449e-02 -2.413420e-01 -3.093766e-01 -1.654047e-08 -3.232094e-08
+ 1.836721e-02  1.474161e-02 -2.412429e-01 -3.092088e-01  1.157411e-07  3.687741e-08
+ 1.836721e-02  1.487748e-02 -2.411360e-01 -3.090416e-01  5.048127e-08 -7.949546e-09
+ 1.836721e-02  1.501211e-02 -2.410246e-01 -3.088730e-01 -1.297421e-08 -3.629660e-08
+ 1.836721e-02  1.514554e-02 -2.409093e-01 -3.087023e-01  6.410453e-08 -3.234895e-08
+ 1.836721e-02  1.527781e-02 -2.407908e-01 -3.085295e-01  5.731262e-08 -1.058203e-09
+ 1.836721e-02  1.540894e-02 -2.406694e-01 -3.083560e-01  5.071310e-07  1.087225e-06
+ 1.836721e-02  1.553897e-02 -2.405403e-01 -3.081693e-01 -2.245904e-08 -1.307185e-07
+ 1.836721e-02  1.566792e-02 -2.404117e-01 -3.079897e-01 -5.585649e-07 -9.557662e-08
+ 1.836721e-02  1.579582e-02 -2.402775e-01 -3.078053e-01  5.727457e-07  7.985280e-08
+ 1.836721e-02  1.592268e-02 -2.401397e-01 -3.076174e-01  4.022392e-09 -2.542508e-10
+ 1.836721e-02  1.604855e-02 -2.399968e-01 -3.074252e-01 -8.141417e-07 -2.739533e-06
+ 1.836721e-02  1.617343e-02 -2.398491e-01 -3.072307e-01  1.146005e-07 -2.306498e-07
+ 1.836721e-02  1.629736e-02 -2.396935e-01 -3.070272e-01  9.501519e-07  8.017520e-07
+ 1.836721e-02  1.642036e-02 -2.395352e-01 -3.068233e-01 -4.322082e-07  1.757751e-06
+ 1.836721e-02  1.654243e-02 -2.393679e-01 -3.066140e-01  9.738861e-08 -2.906474e-07
+ 1.836721e-02  1.666362e-02 -2.391886e-01 -3.063914e-01 -2.394930e-07  3.584021e-07
+ 1.836721e-02  1.678393e-02 -2.388835e-01 -3.060186e-01 -1.882638e-05 -2.368772e-05
+ 1.836721e-02  1.690338e-02 -2.388833e-01 -3.060208e-01 -2.236600e-05 -2.712359e-05
+ 1.836721e-02  1.702200e-02 -2.387524e-01 -3.058754e-01 -1.432292e-06 -1.903288e-06
+ 1.836721e-02  1.713979e-02 -2.384658e-01 -3.055415e-01  1.896696e-07  3.405926e-07
+ 1.836721e-02  1.725678e-02 -2.381914e-01 -3.052391e-01  5.691699e-06  5.892221e-06
+ 1.836721e-02  1.737298e-02 -2.378363e-01 -3.048666e-01 -7.593873e-04 -6.947680e-04
+ 1.836721e-02  1.748841e-02 -2.378626e-01 -3.048550e-01  1.702825e-07 -1.204471e-07
+ 1.836721e-02  1.760308e-02 -2.375678e-01 -3.045677e-01  2.524566e-04  2.458379e-04
+ 1.836721e-02  1.771701e-02 -2.371266e-01 -3.041685e-01 -4.330955e-06 -4.659923e-06
+ 1.836721e-02  1.783022e-02 -2.371108e-01 -3.041091e-01 -2.908327e-07 -3.290310e-07
+ 1.836721e-02  1.794270e-02 -2.370978e-01 -3.040384e-01 -1.659350e-07 -2.354526e-08
+ 1.836721e-02  1.805449e-02 -2.370817e-01 -3.039572e-01  4.024139e-06  1.475766e-06
+ 1.836721e-02  1.816559e-02 -2.370642e-01 -3.038542e-01  2.380877e-06  2.306954e-06
+ 1.836721e-02  1.827602e-02 -2.364072e-01 -3.032943e-01  1.382556e-06  1.397900e-06
+ 1.836721e-02  1.838578e-02 -2.359465e-01 -3.028887e-01 -2.408556e-07 -1.829292e-07
+ 1.836721e-02  1.849489e-02 -2.355153e-01 -3.025137e-01 -5.945241e-05 -4.680411e-05
+ 1.836721e-02  1.860336e-02 -2.347435e-01 -3.018810e-01 -2.347435e-01 -3.018810e-01
+ 1.836721e-02  1.871120e-02 -2.346303e-01 -3.017047e-01  6.492980e-06  3.100035e-05
+ 1.836721e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.836721e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346368e-01  3.017357e-01
+ 1.847621e-02  1.000000e-06 -2.480068e-01 -3.153757e-01  1.105376e-05 -7.174012e-08
+ 1.847621e-02  2.006944e-03 -2.478382e-01 -3.153012e-01  1.019941e-08 -2.076648e-08
+ 1.847621e-02  2.837833e-03 -2.476740e-01 -3.152260e-01  3.505365e-07 -1.253959e-08
+ 1.847621e-02  3.475396e-03 -2.475331e-01 -3.151505e-01  6.412237e-06 -1.657481e-07
+ 1.847621e-02  4.012887e-03 -2.474202e-01 -3.150762e-01  1.854037e-06 -1.041431e-06
+ 1.847621e-02  4.486426e-03 -2.473351e-01 -3.150069e-01  2.715823e-06 -7.769704e-07
+ 1.847621e-02  4.914538e-03 -2.472574e-01 -3.149432e-01  9.036451e-05 -1.816614e-05
+ 1.847621e-02  5.308228e-03 -2.474193e-01 -3.148473e-01 -6.555563e-05  9.175752e-06
+ 1.847621e-02  5.674665e-03 -2.464565e-01 -3.147663e-01 -6.525617e-05 -2.170175e-05
+ 1.847621e-02  6.018831e-03 -2.462713e-01 -3.146600e-01 -5.327366e-06 -2.085659e-06
+ 1.847621e-02  6.344350e-03 -2.461275e-01 -3.145680e-01  2.273136e-06  1.570531e-08
+ 1.847621e-02  6.653962e-03 -2.459897e-01 -3.144772e-01  1.801397e-07 -2.297971e-07
+ 1.847621e-02  6.949792e-03 -2.458540e-01 -3.143858e-01 -1.872247e-08 -2.386080e-10
+ 1.847621e-02  7.233532e-03 -2.457184e-01 -3.142934e-01  1.072716e-06 -4.720260e-08
+ 1.847621e-02  7.506553e-03 -2.455865e-01 -3.142000e-01  1.132586e-06  5.310036e-09
+ 1.847621e-02  7.769986e-03 -2.454552e-01 -3.141054e-01  3.471264e-06  1.089919e-07
+ 1.847621e-02  8.024774e-03 -2.453314e-01 -3.140099e-01  2.429839e-06  6.475252e-08
+ 1.847621e-02  8.271717e-03 -2.452102e-01 -3.139130e-01 -7.578427e-06 -1.884598e-07
+ 1.847621e-02  8.511498e-03 -2.450807e-01 -3.138146e-01 -9.922329e-07 -8.759884e-08
+ 1.847621e-02  8.744705e-03 -2.449635e-01 -3.137152e-01 -1.150055e-06 -5.293424e-08
+ 1.847621e-02  8.971852e-03 -2.448417e-01 -3.136142e-01 -1.201121e-06  6.952731e-09
+ 1.847621e-02  9.193388e-03 -2.447258e-01 -3.135121e-01  6.356045e-08  8.479529e-09
+ 1.847621e-02  9.409709e-03 -2.446161e-01 -3.134085e-01 -8.463373e-08  3.041591e-08
+ 1.847621e-02  9.621167e-03 -2.445035e-01 -3.133036e-01 -2.088753e-08 -2.764496e-09
+ 1.847621e-02  9.828076e-03 -2.443941e-01 -3.131973e-01 -3.201615e-07  1.241232e-08
+ 1.847621e-02  1.003072e-02 -2.442859e-01 -3.130895e-01 -5.285228e-08  7.263680e-09
+ 1.847621e-02  1.022935e-02 -2.441796e-01 -3.129802e-01  3.648054e-07  5.680101e-08
+ 1.847621e-02  1.042419e-02 -2.440750e-01 -3.128695e-01  1.887283e-07 -6.353469e-08
+ 1.847621e-02  1.061546e-02 -2.439719e-01 -3.127572e-01 -7.676877e-08  7.301053e-09
+ 1.847621e-02  1.080334e-02 -2.438700e-01 -3.126433e-01  2.465284e-08  6.272472e-08
+ 1.847621e-02  1.098801e-02 -2.437695e-01 -3.125280e-01 -3.167122e-07  2.643321e-09
+ 1.847621e-02  1.116962e-02 -2.436692e-01 -3.124110e-01  4.055030e-07  3.273564e-08
+ 1.847621e-02  1.134833e-02 -2.435705e-01 -3.122923e-01  8.540032e-08  4.742091e-08
+ 1.847621e-02  1.152427e-02 -2.434727e-01 -3.121720e-01 -3.204904e-08  2.841681e-08
+ 1.847621e-02  1.169756e-02 -2.433754e-01 -3.120499e-01 -2.788786e-08 -2.002862e-09
+ 1.847621e-02  1.186832e-02 -2.432785e-01 -3.119262e-01  4.620657e-08  4.603097e-09
+ 1.847621e-02  1.203666e-02 -2.431823e-01 -3.118005e-01  3.150948e-07  5.387282e-08
+ 1.847621e-02  1.220268e-02 -2.430870e-01 -3.116730e-01  5.755246e-08  1.220519e-07
+ 1.847621e-02  1.236647e-02 -2.429921e-01 -3.115438e-01  2.324939e-05 -3.085705e-06
+ 1.847621e-02  1.252811e-02 -2.428905e-01 -3.114128e-01 -1.286516e-07  2.134369e-07
+ 1.847621e-02  1.268770e-02 -2.427949e-01 -3.112798e-01  5.165929e-08 -3.556480e-08
+ 1.847621e-02  1.284531e-02 -2.426990e-01 -3.111435e-01  8.871077e-08  2.813851e-07
+ 1.847621e-02  1.300100e-02 -2.426012e-01 -3.110076e-01  8.490497e-07 -1.188879e-06
+ 1.847621e-02  1.315485e-02 -2.425012e-01 -3.108717e-01  6.834837e-09 -4.543824e-09
+ 1.847621e-02  1.330692e-02 -2.424051e-01 -3.107265e-01  1.811656e-07 -4.637056e-07
+ 1.847621e-02  1.345728e-02 -2.423059e-01 -3.105825e-01 -1.674302e-07 -2.821854e-07
+ 1.847621e-02  1.360597e-02 -2.422052e-01 -3.104369e-01  1.022416e-06 -1.027874e-06
+ 1.847621e-02  1.375306e-02 -2.421072e-01 -3.102840e-01 -2.418665e-08  9.852775e-08
+ 1.847621e-02  1.389858e-02 -2.420016e-01 -3.101368e-01 -2.788652e-07  3.197540e-07
+ 1.847621e-02  1.404260e-02 -2.418974e-01 -3.099829e-01 -4.005233e-08  1.066317e-07
+ 1.847621e-02  1.418516e-02 -2.417942e-01 -3.098240e-01  2.413941e-07 -1.860933e-07
+ 1.847621e-02  1.432630e-02 -2.416918e-01 -3.096591e-01  2.957616e-07 -1.286483e-07
+ 1.847621e-02  1.446606e-02 -2.416040e-01 -3.094647e-01 -1.474749e-05  2.472809e-05
+ 1.847621e-02  1.460449e-02 -2.414121e-01 -3.093905e-01  5.048224e-06 -3.455844e-06
+ 1.847621e-02  1.474161e-02 -2.413154e-01 -3.092109e-01  7.042586e-09  7.667235e-09
+ 1.847621e-02  1.487748e-02 -2.412039e-01 -3.090378e-01  1.673930e-07 -9.572665e-09
+ 1.847621e-02  1.501211e-02 -2.410862e-01 -3.088650e-01  7.472597e-08 -1.056602e-08
+ 1.847621e-02  1.514554e-02 -2.409642e-01 -3.086905e-01  1.151916e-07  1.182920e-07
+ 1.847621e-02  1.527781e-02 -2.408386e-01 -3.085145e-01 -5.266058e-10  1.630703e-08
+ 1.847621e-02  1.540894e-02 -2.407101e-01 -3.083377e-01  5.388532e-07  9.541340e-07
+ 1.847621e-02  1.553897e-02 -2.405731e-01 -3.081475e-01 -7.908838e-09 -9.238224e-09
+ 1.847621e-02  1.566792e-02 -2.404370e-01 -3.079648e-01 -1.371079e-07 -3.889808e-08
+ 1.847621e-02  1.579582e-02 -2.402952e-01 -3.077769e-01  5.483605e-07  1.461972e-07
+ 1.847621e-02  1.592268e-02 -2.401495e-01 -3.075856e-01  6.426413e-09 -6.593910e-09
+ 1.847621e-02  1.604855e-02 -2.399985e-01 -3.073901e-01 -4.584163e-07 -1.985967e-06
+ 1.847621e-02  1.617343e-02 -2.398427e-01 -3.071914e-01 -1.090024e-07  4.828325e-07
+ 1.847621e-02  1.629736e-02 -2.396793e-01 -3.069856e-01  6.512990e-08  2.016556e-08
+ 1.847621e-02  1.642036e-02 -2.395110e-01 -3.067763e-01 -1.982655e-07  3.990375e-07
+ 1.847621e-02  1.654243e-02 -2.393333e-01 -3.065604e-01  1.263797e-07 -2.640883e-08
+ 1.847621e-02  1.666362e-02 -2.391415e-01 -3.063305e-01  8.528673e-07  8.618091e-07
+ 1.847621e-02  1.678393e-02 -2.388343e-01 -3.059647e-01  1.235128e-04  1.467652e-04
+ 1.847621e-02  1.690338e-02 -2.388971e-01 -3.060410e-01 -8.541346e-05 -9.902492e-05
+ 1.847621e-02  1.702200e-02 -2.386256e-01 -3.057343e-01  9.149933e-06  1.132722e-05
+ 1.847621e-02  1.713979e-02 -2.383721e-01 -3.054526e-01 -7.988474e-08 -2.558866e-08
+ 1.847621e-02  1.725678e-02 -2.378327e-01 -3.049012e-01 -9.252198e-04 -8.737898e-04
+ 1.847621e-02  1.737298e-02 -2.378353e-01 -3.048680e-01 -5.367709e-06 -5.543890e-06
+ 1.847621e-02  1.748841e-02 -2.378430e-01 -3.048609e-01  8.310229e-07  2.375122e-06
+ 1.847621e-02  1.760308e-02 -2.374655e-01 -3.045095e-01  3.976517e-04  3.740422e-04
+ 1.847621e-02  1.771701e-02 -2.371268e-01 -3.041844e-01 -5.080135e-07 -6.672862e-07
+ 1.847621e-02  1.783022e-02 -2.371137e-01 -3.041258e-01  1.083113e-07  8.752911e-08
+ 1.847621e-02  1.794270e-02 -2.371003e-01 -3.040536e-01  2.387259e-06  2.050899e-06
+ 1.847621e-02  1.805449e-02 -2.370787e-01 -3.039658e-01 -1.462445e-07  1.694349e-07
+ 1.847621e-02  1.816559e-02 -2.367424e-01 -3.036272e-01  2.684853e-04  2.039237e-04
+ 1.847621e-02  1.827602e-02 -2.361174e-01 -3.030964e-01 -1.847550e-06 -9.695725e-07
+ 1.847621e-02  1.838578e-02 -2.356805e-01 -3.027116e-01 -4.474413e-06 -3.084657e-06
+ 1.847621e-02  1.849489e-02 -2.349159e-01 -3.021028e-01  3.370693e-05  2.226013e-05
+ 1.847621e-02  1.860336e-02 -2.346245e-01 -3.018100e-01 -2.685793e-06 -1.198798e-06
+ 1.847621e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.847621e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346218e-01  3.018088e-01
+ 1.858457e-02  1.000000e-06 -2.483584e-01 -3.154390e-01 -8.122359e-07  2.419121e-08
+ 1.858457e-02  2.006944e-03 -2.481735e-01 -3.153643e-01 -1.026502e-06  6.553770e-09
+ 1.858457e-02  2.837833e-03 -2.480043e-01 -3.152883e-01  1.057344e-05 -2.071996e-08
+ 1.858457e-02  3.475396e-03 -2.478543e-01 -3.152113e-01  1.576689e-07  2.076918e-08
+ 1.858457e-02  4.012887e-03 -2.477122e-01 -3.151338e-01  4.058563e-06  5.455120e-08
+ 1.858457e-02  4.486426e-03 -2.476016e-01 -3.150570e-01  5.530202e-06 -2.560724e-07
+ 1.858457e-02  4.914538e-03 -2.475160e-01 -3.149802e-01  6.779228e-06 -3.519462e-07
+ 1.858457e-02  5.308228e-03 -2.474449e-01 -3.149098e-01 -4.118426e-06 -1.171014e-06
+ 1.858457e-02  5.674665e-03 -2.473733e-01 -3.148352e-01  6.871017e-05 -1.251118e-05
+ 1.858457e-02  6.018831e-03 -2.465057e-01 -3.147328e-01  1.804628e-04  4.672205e-05
+ 1.858457e-02  6.344350e-03 -2.463800e-01 -3.146395e-01  5.272479e-07  6.354428e-08
+ 1.858457e-02  6.653962e-03 -2.462401e-01 -3.145441e-01 -2.335523e-06 -6.380505e-07
+ 1.858457e-02  6.949792e-03 -2.461036e-01 -3.144498e-01  2.452343e-06  7.146516e-08
+ 1.858457e-02  7.233532e-03 -2.459705e-01 -3.143554e-01 -5.024955e-07 -2.247608e-07
+ 1.858457e-02  7.506553e-03 -2.458379e-01 -3.142605e-01  1.092141e-06  1.951481e-08
+ 1.858457e-02  7.769986e-03 -2.457080e-01 -3.141648e-01  3.600308e-07 -2.233510e-09
+ 1.858457e-02  8.024774e-03 -2.455773e-01 -3.140679e-01  4.767922e-06  1.982989e-07
+ 1.858457e-02  8.271717e-03 -2.454560e-01 -3.139701e-01  3.023642e-06  1.507065e-07
+ 1.858457e-02  8.511498e-03 -2.453348e-01 -3.138710e-01 -5.494377e-06 -2.271584e-07
+ 1.858457e-02  8.744705e-03 -2.452049e-01 -3.137701e-01 -5.703995e-07 -6.870344e-08
+ 1.858457e-02  8.971852e-03 -2.450877e-01 -3.136683e-01  6.451284e-07  2.181054e-08
+ 1.858457e-02  9.193388e-03 -2.449644e-01 -3.135649e-01  1.784708e-06  2.324619e-08
+ 1.858457e-02  9.409709e-03 -2.448498e-01 -3.134602e-01 -1.874011e-06 -4.778125e-08
+ 1.858457e-02  9.621167e-03 -2.447377e-01 -3.133542e-01 -1.651928e-06 -1.858713e-08
+ 1.858457e-02  9.828076e-03 -2.446234e-01 -3.132466e-01  6.233443e-07  3.498381e-08
+ 1.858457e-02  1.003072e-02 -2.445124e-01 -3.131375e-01 -3.508831e-07  9.974361e-09
+ 1.858457e-02  1.022935e-02 -2.444025e-01 -3.130270e-01  2.121514e-08  2.089120e-09
+ 1.858457e-02  1.042419e-02 -2.442939e-01 -3.129149e-01 -1.048997e-07 -4.179444e-09
+ 1.858457e-02  1.061546e-02 -2.441865e-01 -3.128012e-01  4.588201e-07  2.342244e-08
+ 1.858457e-02  1.080334e-02 -2.440806e-01 -3.126859e-01  2.657325e-07  4.335686e-08
+ 1.858457e-02  1.098801e-02 -2.439758e-01 -3.125691e-01 -6.789179e-08  1.294707e-08
+ 1.858457e-02  1.116962e-02 -2.438718e-01 -3.124505e-01 -4.296065e-08 -1.136540e-08
+ 1.858457e-02  1.134833e-02 -2.437680e-01 -3.123302e-01  1.619974e-07  2.865912e-08
+ 1.858457e-02  1.152427e-02 -2.436655e-01 -3.122082e-01  4.067464e-07  5.939206e-08
+ 1.858457e-02  1.169756e-02 -2.435636e-01 -3.120844e-01  6.770286e-08  3.821468e-08
+ 1.858457e-02  1.186832e-02 -2.434621e-01 -3.119589e-01 -1.805056e-08 -3.211627e-09
+ 1.858457e-02  1.203666e-02 -2.433608e-01 -3.118314e-01 -4.336026e-08  5.845211e-09
+ 1.858457e-02  1.220268e-02 -2.432597e-01 -3.117021e-01  7.088318e-08  1.032439e-07
+ 1.858457e-02  1.236647e-02 -2.431592e-01 -3.115706e-01  2.707069e-07  1.279633e-07
+ 1.858457e-02  1.252811e-02 -2.430685e-01 -3.114351e-01 -9.605407e-06  2.575952e-06
+ 1.858457e-02  1.268770e-02 -2.429509e-01 -3.113033e-01 -9.121854e-08  9.921182e-08
+ 1.858457e-02  1.284531e-02 -2.428507e-01 -3.111646e-01 -5.565562e-07  8.331742e-07
+ 1.858457e-02  1.300100e-02 -2.427469e-01 -3.110272e-01  2.414511e-06 -3.451218e-06
+ 1.858457e-02  1.315485e-02 -2.426417e-01 -3.108883e-01  8.673837e-07 -9.644579e-07
+ 1.858457e-02  1.330692e-02 -2.425402e-01 -3.107403e-01 -1.476788e-06  2.049183e-06
+ 1.858457e-02  1.345728e-02 -2.424342e-01 -3.105952e-01  5.439037e-08  4.868239e-07
+ 1.858457e-02  1.360597e-02 -2.423284e-01 -3.104457e-01 -1.786895e-06  2.199924e-06
+ 1.858457e-02  1.375306e-02 -2.422232e-01 -3.102914e-01 -3.128476e-07  6.718420e-07
+ 1.858457e-02  1.389858e-02 -2.421104e-01 -3.101423e-01  2.136385e-06 -2.453044e-06
+ 1.858457e-02  1.404260e-02 -2.420002e-01 -3.099847e-01  4.685384e-07 -2.586116e-06
+ 1.858457e-02  1.418516e-02 -2.418889e-01 -3.098244e-01  3.703371e-07 -4.400902e-07
+ 1.858457e-02  1.432630e-02 -2.417770e-01 -3.096584e-01  2.536224e-07 -1.591763e-07
+ 1.858457e-02  1.446606e-02 -2.416682e-01 -3.094789e-01  1.733902e-07  2.723908e-08
+ 1.858457e-02  1.460449e-02 -2.415793e-01 -3.092076e-01  2.421816e-06 -2.940769e-04
+ 1.858457e-02  1.474161e-02 -2.413823e-01 -3.092138e-01 -4.020869e-07  3.535069e-07
+ 1.858457e-02  1.487748e-02 -2.412676e-01 -3.090311e-01  1.297784e-07  2.303263e-09
+ 1.858457e-02  1.501211e-02 -2.411438e-01 -3.088529e-01  7.075642e-08  8.249679e-09
+ 1.858457e-02  1.514554e-02 -2.410150e-01 -3.086746e-01  1.167913e-07  4.657995e-07
+ 1.858457e-02  1.527781e-02 -2.408822e-01 -3.084947e-01 -3.844541e-08 -2.013872e-09
+ 1.858457e-02  1.540894e-02 -2.407466e-01 -3.083148e-01  7.703823e-07  1.308456e-06
+ 1.858457e-02  1.553897e-02 -2.406016e-01 -3.081209e-01 -6.578046e-08 -1.170270e-07
+ 1.858457e-02  1.566792e-02 -2.404578e-01 -3.079348e-01  1.225644e-07  3.248996e-08
+ 1.858457e-02  1.579582e-02 -2.403084e-01 -3.077435e-01  2.999981e-07  5.501266e-09
+ 1.858457e-02  1.592268e-02 -2.401548e-01 -3.075486e-01  2.015767e-09 -2.364806e-08
+ 1.858457e-02  1.604855e-02 -2.399951e-01 -3.073489e-01 -2.738886e-06 -5.877483e-06
+ 1.858457e-02  1.617343e-02 -2.398315e-01 -3.071468e-01 -6.112763e-08  4.724254e-07
+ 1.858457e-02  1.629736e-02 -2.396594e-01 -3.069370e-01 -2.563613e-07  5.135876e-07
+ 1.858457e-02  1.642036e-02 -2.394810e-01 -3.067229e-01  3.394022e-08 -7.166747e-07
+ 1.858457e-02  1.654243e-02 -2.392924e-01 -3.065005e-01  1.692578e-07 -1.298567e-08
+ 1.858457e-02  1.666362e-02 -2.390770e-01 -3.062501e-01  4.842560e-07  5.962299e-07
+ 1.858457e-02  1.678393e-02 -2.388352e-01 -3.059703e-01  8.220724e-05  9.373739e-05
+ 1.858457e-02  1.690338e-02 -2.389096e-01 -3.060531e-01 -1.462772e-04 -1.625055e-04
+ 1.858457e-02  1.702200e-02 -2.385370e-01 -3.056429e-01  2.883281e-07  4.337174e-07
+ 1.858457e-02  1.713979e-02 -2.382634e-01 -3.053482e-01 -5.148587e-07 -5.785637e-07
+ 1.858457e-02  1.725678e-02 -2.370980e-01 -3.042195e-01  1.394829e-04  1.327663e-04
+ 1.858457e-02  1.737298e-02 -2.378261e-01 -3.048703e-01  1.259351e-07 -1.710562e-07
+ 1.858457e-02  1.748841e-02 -2.378036e-01 -3.048528e-01 -6.324951e-04 -5.708845e-04
+ 1.858457e-02  1.760308e-02 -2.371381e-01 -3.042377e-01 -9.649907e-06 -7.120133e-06
+ 1.858457e-02  1.771701e-02 -2.371280e-01 -3.041987e-01 -8.113936e-08 -6.197386e-08
+ 1.858457e-02  1.783022e-02 -2.371155e-01 -3.041387e-01  1.254785e-06  1.137396e-06
+ 1.858457e-02  1.794270e-02 -2.370968e-01 -3.040633e-01  2.158620e-06  7.781797e-07
+ 1.858457e-02  1.805449e-02 -2.370753e-01 -3.039686e-01  1.055695e-05  7.073597e-06
+ 1.858457e-02  1.816559e-02 -2.362966e-01 -3.033052e-01  2.962517e-05  1.672370e-05
+ 1.858457e-02  1.827602e-02 -2.358241e-01 -3.028916e-01  5.850935e-06  4.759836e-06
+ 1.858457e-02  1.838578e-02 -2.350544e-01 -3.022737e-01  2.354167e-04  1.619668e-04
+ 1.858457e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.352898e-01  3.024356e-01
+ 1.858457e-02  1.860336e-02 -2.349712e-01 -3.020658e-01 -2.349712e-01 -3.020658e-01
+ 1.858457e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.858457e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.869230e-02  1.000000e-06 -2.486889e-01 -3.154988e-01 -1.206226e-05  7.781350e-08
+ 1.869230e-02  2.006944e-03 -2.484995e-01 -3.154237e-01  3.166528e-05 -7.279908e-08
+ 1.869230e-02  2.837833e-03 -2.483398e-01 -3.153472e-01  1.557248e-08 -3.846475e-09
+ 1.869230e-02  3.475396e-03 -2.481692e-01 -3.152694e-01 -1.630933e-07 -4.841580e-08
+ 1.869230e-02  4.012887e-03 -2.480188e-01 -3.151905e-01  9.563089e-06 -1.378259e-07
+ 1.869230e-02  4.486426e-03 -2.478885e-01 -3.151104e-01 -1.758330e-06 -2.088053e-07
+ 1.869230e-02  4.914538e-03 -2.477667e-01 -3.150289e-01  1.471766e-05  1.077587e-06
+ 1.869230e-02  5.308228e-03 -2.476845e-01 -3.149494e-01 -2.488258e-06 -3.410072e-07
+ 1.869230e-02  5.674665e-03 -2.476164e-01 -3.148659e-01  5.156696e-06  5.256176e-07
+ 1.869230e-02  6.018831e-03 -2.475166e-01 -3.147937e-01  4.134173e-05 -6.472895e-06
+ 1.869230e-02  6.344350e-03 -2.477261e-01 -3.146495e-01 -3.694675e-05  5.493587e-06
+ 1.869230e-02  6.653962e-03 -2.464992e-01 -3.146183e-01 -7.413898e-06 -2.070956e-06
+ 1.869230e-02  6.949792e-03 -2.463464e-01 -3.145151e-01  2.740197e-08 -7.607488e-09
+ 1.869230e-02  7.233532e-03 -2.462093e-01 -3.144166e-01 -5.938398e-07 -4.217923e-07
+ 1.869230e-02  7.506553e-03 -2.460783e-01 -3.143193e-01  1.039452e-06 -2.652589e-08
+ 1.869230e-02  7.769986e-03 -2.459487e-01 -3.142219e-01  1.065856e-06  5.978047e-08
+ 1.869230e-02  8.024774e-03 -2.458217e-01 -3.141238e-01 -1.776148e-07 -4.359407e-08
+ 1.869230e-02  8.271717e-03 -2.456917e-01 -3.140243e-01  3.374840e-06  2.068502e-07
+ 1.869230e-02  8.511498e-03 -2.455728e-01 -3.139243e-01  3.162574e-06  1.634119e-07
+ 1.869230e-02  8.744705e-03 -2.454500e-01 -3.138226e-01 -3.271840e-07 -1.951466e-08
+ 1.869230e-02  8.971852e-03 -2.453216e-01 -3.137191e-01  8.003527e-07  8.986892e-08
+ 1.869230e-02  9.193388e-03 -2.452035e-01 -3.136147e-01  1.919854e-06  1.797470e-07
+ 1.869230e-02  9.409709e-03 -2.450785e-01 -3.135086e-01  7.975839e-06  3.586782e-07
+ 1.869230e-02  9.621167e-03 -2.449653e-01 -3.134014e-01 -7.495173e-07 -3.123744e-08
+ 1.869230e-02  9.828076e-03 -2.448503e-01 -3.132926e-01 -1.454953e-06 -3.810507e-08
+ 1.869230e-02  1.003072e-02 -2.447346e-01 -3.131822e-01  2.548075e-07  1.362715e-08
+ 1.869230e-02  1.022935e-02 -2.446212e-01 -3.130703e-01  5.768451e-07  4.252377e-08
+ 1.869230e-02  1.042419e-02 -2.445092e-01 -3.129568e-01 -2.314040e-08 -2.483509e-09
+ 1.869230e-02  1.061546e-02 -2.443982e-01 -3.128417e-01  4.033385e-09  3.771745e-09
+ 1.869230e-02  1.080334e-02 -2.442880e-01 -3.127249e-01 -1.103818e-07  1.449860e-08
+ 1.869230e-02  1.098801e-02 -2.441787e-01 -3.126064e-01  5.262425e-07  3.039899e-08
+ 1.869230e-02  1.116962e-02 -2.440704e-01 -3.124862e-01  2.054992e-07  1.905249e-08
+ 1.869230e-02  1.134833e-02 -2.439630e-01 -3.123642e-01 -7.223731e-08  3.982906e-08
+ 1.869230e-02  1.152427e-02 -2.438549e-01 -3.122407e-01  7.218176e-09  3.339694e-09
+ 1.869230e-02  1.169756e-02 -2.437487e-01 -3.121150e-01  1.222122e-07  6.212931e-08
+ 1.869230e-02  1.186832e-02 -2.436422e-01 -3.119876e-01  3.821171e-07  4.283001e-08
+ 1.869230e-02  1.203666e-02 -2.435360e-01 -3.118582e-01 -9.340380e-09  4.226259e-08
+ 1.869230e-02  1.220268e-02 -2.434298e-01 -3.117270e-01 -1.333719e-08  3.924157e-08
+ 1.869230e-02  1.236647e-02 -2.433235e-01 -3.115936e-01 -8.327690e-08  6.846790e-08
+ 1.869230e-02  1.252811e-02 -2.432175e-01 -3.114580e-01  6.084484e-08  3.923557e-07
+ 1.869230e-02  1.268770e-02 -2.431210e-01 -3.113172e-01 -1.426788e-06  8.692837e-07
+ 1.869230e-02  1.284531e-02 -2.429974e-01 -3.111819e-01 -1.217113e-06  1.898647e-06
+ 1.869230e-02  1.300100e-02 -2.428887e-01 -3.110428e-01  3.175382e-06 -4.871668e-06
+ 1.869230e-02  1.315485e-02 -2.427787e-01 -3.109001e-01  2.413216e-06 -3.423710e-06
+ 1.869230e-02  1.330692e-02 -2.426714e-01 -3.107496e-01 -1.976575e-06  3.217131e-06
+ 1.869230e-02  1.345728e-02 -2.425588e-01 -3.106033e-01  5.229457e-07 -8.948472e-07
+ 1.869230e-02  1.360597e-02 -2.424481e-01 -3.104496e-01 -4.213292e-06  5.289223e-06
+ 1.869230e-02  1.375306e-02 -2.423352e-01 -3.102945e-01 -2.834325e-06  3.413100e-06
+ 1.869230e-02  1.389858e-02 -2.422157e-01 -3.101428e-01  2.958661e-06 -3.195436e-06
+ 1.869230e-02  1.404260e-02 -2.420994e-01 -3.099836e-01  3.438850e-07 -1.235577e-06
+ 1.869230e-02  1.418516e-02 -2.419806e-01 -3.098195e-01  3.665696e-07 -4.025654e-07
+ 1.869230e-02  1.432630e-02 -2.418607e-01 -3.096516e-01  2.851561e-08 -5.380912e-08
+ 1.869230e-02  1.446606e-02 -2.417405e-01 -3.094740e-01  1.561357e-07  3.313696e-08
+ 1.869230e-02  1.460449e-02 -2.416308e-01 -3.092209e-01 -9.977414e-06  6.069071e-05
+ 1.869230e-02  1.474161e-02 -2.414376e-01 -3.092287e-01  1.394555e-05 -1.864710e-05
+ 1.869230e-02  1.487748e-02 -2.413272e-01 -3.090227e-01  5.051988e-08 -1.283460e-08
+ 1.869230e-02  1.501211e-02 -2.411974e-01 -3.088371e-01  1.103439e-07  4.894574e-08
+ 1.869230e-02  1.514554e-02 -2.410617e-01 -3.086543e-01  8.668972e-09 -2.166794e-07
+ 1.869230e-02  1.527781e-02 -2.409216e-01 -3.084702e-01  4.088134e-08 -1.074692e-08
+ 1.869230e-02  1.540894e-02 -2.407790e-01 -3.082876e-01  3.027087e-07  3.317009e-07
+ 1.869230e-02  1.553897e-02 -2.406259e-01 -3.080896e-01  6.502617e-09  2.544648e-08
+ 1.869230e-02  1.566792e-02 -2.404742e-01 -3.078996e-01 -3.618413e-08 -1.627369e-08
+ 1.869230e-02  1.579582e-02 -2.403171e-01 -3.077050e-01  6.558014e-07  6.463937e-07
+ 1.869230e-02  1.592268e-02 -2.401554e-01 -3.075063e-01  1.294821e-08  9.767063e-10
+ 1.869230e-02  1.604855e-02 -2.399863e-01 -3.073012e-01 -3.240101e-06 -5.921066e-06
+ 1.869230e-02  1.617343e-02 -2.398156e-01 -3.070970e-01  1.457885e-07  3.897744e-08
+ 1.869230e-02  1.629736e-02 -2.396351e-01 -3.068832e-01 -4.723217e-07 -6.621905e-07
+ 1.869230e-02  1.642036e-02 -2.394455e-01 -3.066632e-01 -8.844959e-08  4.552728e-08
+ 1.869230e-02  1.654243e-02 -2.392440e-01 -3.064320e-01 -3.551005e-07 -5.452729e-07
+ 1.869230e-02  1.666362e-02 -2.389048e-01 -3.060530e-01 -2.040448e-04 -2.347136e-04
+ 1.869230e-02  1.678393e-02 -2.388671e-01 -3.060046e-01  5.641384e-06  6.151257e-06
+ 1.869230e-02  1.690338e-02 -2.388482e-01 -3.059823e-01  1.109460e-04  1.160542e-04
+ 1.869230e-02  1.702200e-02 -2.384425e-01 -3.055460e-01  4.107906e-07  5.406526e-07
+ 1.869230e-02  1.713979e-02 -2.380978e-01 -3.051865e-01  1.477769e-05  1.480165e-05
+ 1.869230e-02  1.725678e-02 -2.378122e-01 -3.048899e-01 -4.578108e-07 -4.034723e-07
+ 1.869230e-02  1.737298e-02 -2.378064e-01 -3.048706e-01  6.694000e-06  2.511718e-06
+ 1.869230e-02  1.748841e-02 -2.371387e-01 -3.042655e-01  2.079931e-04  1.828612e-04
+ 1.869230e-02  1.760308e-02 -2.371375e-01 -3.042509e-01 -5.600803e-06 -5.598392e-06
+ 1.869230e-02  1.771701e-02 -2.371288e-01 -3.042103e-01  5.545221e-08  6.405692e-09
+ 1.869230e-02  1.783022e-02 -2.371144e-01 -3.041459e-01  7.826144e-07  8.502031e-07
+ 1.869230e-02  1.794270e-02 -2.370972e-01 -3.040669e-01  1.187850e-05  9.584391e-06
+ 1.869230e-02  1.805449e-02 -2.364358e-01 -3.034816e-01  9.961263e-06  7.589759e-06
+ 1.869230e-02  1.816559e-02 -2.359864e-01 -3.030818e-01 -1.821630e-06 -2.018185e-06
+ 1.869230e-02  1.827602e-02 -2.355269e-01 -3.026813e-01  2.769443e-06  2.072878e-06
+ 1.869230e-02  1.838578e-02 -2.351839e-01 -3.023496e-01 -1.880373e-04 -1.266430e-04
+ 1.869230e-02  1.849489e-02 -2.346199e-01 -3.018935e-01 -1.822752e-06 -5.845739e-07
+ 1.869230e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.869230e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346181e-01  3.018929e-01
+ 1.879941e-02  1.000000e-06 -2.489726e-01 -3.155550e-01  1.751716e-04 -6.774954e-07
+ 1.879941e-02  2.006944e-03 -2.488474e-01 -3.154795e-01  3.570883e-07  5.753248e-08
+ 1.879941e-02  2.837833e-03 -2.486495e-01 -3.154025e-01 -2.839049e-06 -1.288906e-08
+ 1.879941e-02  3.475396e-03 -2.484802e-01 -3.153240e-01  2.356867e-05  7.924624e-08
+ 1.879941e-02  4.012887e-03 -2.483320e-01 -3.152440e-01  4.189171e-07  8.517992e-08
+ 1.879941e-02  4.486426e-03 -2.481772e-01 -3.151623e-01 -2.269857e-06 -1.187374e-07
+ 1.879941e-02  4.914538e-03 -2.480427e-01 -3.150793e-01  1.665655e-05  2.986625e-07
+ 1.879941e-02  5.308228e-03 -2.479332e-01 -3.149951e-01  3.229358e-06  4.175614e-08
+ 1.879941e-02  5.674665e-03 -2.478298e-01 -3.149074e-01  9.532065e-06  2.011758e-07
+ 1.879941e-02  6.018831e-03 -2.477738e-01 -3.148198e-01 -5.840611e-06 -3.482462e-06
+ 1.879941e-02  6.344350e-03 -2.476920e-01 -3.147300e-01  6.282783e-06 -1.452167e-06
+ 1.879941e-02  6.653962e-03 -2.476681e-01 -3.146121e-01 -2.244455e-04  5.578140e-05
+ 1.879941e-02  6.949792e-03 -2.466286e-01 -3.145925e-01 -3.241809e-06 -1.187048e-06
+ 1.879941e-02  7.233532e-03 -2.464437e-01 -3.144796e-01 -4.816223e-06 -1.194191e-06
+ 1.879941e-02  7.506553e-03 -2.463073e-01 -3.143775e-01 -1.257043e-06 -4.645844e-07
+ 1.879941e-02  7.769986e-03 -2.461793e-01 -3.142774e-01  2.355070e-07  1.379196e-07
+ 1.879941e-02  8.024774e-03 -2.460519e-01 -3.141773e-01  1.777487e-06  2.575918e-08
+ 1.879941e-02  8.271717e-03 -2.459273e-01 -3.140766e-01 -2.586749e-07 -1.658329e-08
+ 1.879941e-02  8.511498e-03 -2.457993e-01 -3.139745e-01 -4.227559e-07 -3.877051e-08
+ 1.879941e-02  8.744705e-03 -2.456830e-01 -3.138721e-01 -3.370700e-06 -3.108205e-07
+ 1.879941e-02  8.971852e-03 -2.455562e-01 -3.137675e-01  3.929146e-06  1.949340e-07
+ 1.879941e-02  9.193388e-03 -2.454309e-01 -3.136614e-01  1.234265e-06  1.074908e-07
+ 1.879941e-02  9.409709e-03 -2.453105e-01 -3.135542e-01  2.427626e-07  2.481843e-08
+ 1.879941e-02  9.621167e-03 -2.451855e-01 -3.134453e-01  8.767822e-06  5.535711e-07
+ 1.879941e-02  9.828076e-03 -2.450718e-01 -3.133354e-01  1.785699e-06  9.348588e-08
+ 1.879941e-02  1.003072e-02 -2.449536e-01 -3.132236e-01 -1.917899e-07 -5.174899e-09
+ 1.879941e-02  1.022935e-02 -2.448369e-01 -3.131102e-01 -1.521173e-07  2.582249e-09
+ 1.879941e-02  1.042419e-02 -2.447207e-01 -3.129952e-01  2.585445e-07  1.682018e-08
+ 1.879941e-02  1.061546e-02 -2.446059e-01 -3.128785e-01  4.802665e-07  4.025078e-08
+ 1.879941e-02  1.080334e-02 -2.444921e-01 -3.127602e-01 -6.038609e-08  1.110261e-08
+ 1.879941e-02  1.098801e-02 -2.443789e-01 -3.126401e-01  1.732973e-08  7.072921e-09
+ 1.879941e-02  1.116962e-02 -2.442662e-01 -3.125182e-01 -4.232005e-09 -1.336267e-08
+ 1.879941e-02  1.134833e-02 -2.441539e-01 -3.123945e-01  4.992572e-07  8.108403e-08
+ 1.879941e-02  1.152427e-02 -2.440423e-01 -3.122690e-01  8.190309e-08  6.225153e-08
+ 1.879941e-02  1.169756e-02 -2.439310e-01 -3.121416e-01  6.857800e-07 -1.079780e-07
+ 1.879941e-02  1.186832e-02 -2.438192e-01 -3.120123e-01 -1.015117e-07  1.506128e-08
+ 1.879941e-02  1.203666e-02 -2.437078e-01 -3.118809e-01  3.174215e-07  4.695971e-08
+ 1.879941e-02  1.220268e-02 -2.435964e-01 -3.117477e-01  2.241748e-07  2.435722e-08
+ 1.879941e-02  1.236647e-02 -2.434850e-01 -3.116122e-01 -3.836653e-08  8.346551e-09
+ 1.879941e-02  1.252811e-02 -2.433730e-01 -3.114748e-01 -1.548791e-07  2.171526e-07
+ 1.879941e-02  1.268770e-02 -2.432613e-01 -3.113345e-01 -4.095049e-08  2.606394e-07
+ 1.879941e-02  1.284531e-02 -2.431618e-01 -3.111863e-01 -9.406619e-06  6.628665e-06
+ 1.879941e-02  1.300100e-02 -2.430253e-01 -3.110545e-01  2.600190e-06 -4.017993e-06
+ 1.879941e-02  1.315485e-02 -2.429122e-01 -3.109071e-01  3.738314e-06 -5.342872e-06
+ 1.879941e-02  1.330692e-02 -2.427986e-01 -3.107548e-01 -1.408543e-06  1.970081e-06
+ 1.879941e-02  1.345728e-02 -2.426796e-01 -3.106063e-01  2.215599e-06 -2.542706e-06
+ 1.879941e-02  1.360597e-02 -2.425639e-01 -3.104486e-01 -3.954127e-06  4.985401e-06
+ 1.879941e-02  1.375306e-02 -2.424428e-01 -3.102933e-01 -4.427521e-06  5.405856e-06
+ 1.879941e-02  1.389858e-02 -2.423176e-01 -3.101380e-01  1.358046e-06 -1.576348e-06
+ 1.879941e-02  1.404260e-02 -2.421947e-01 -3.099751e-01  2.432811e-07  4.618697e-08
+ 1.879941e-02  1.418516e-02 -2.420686e-01 -3.098093e-01  7.755240e-08 -9.863940e-08
+ 1.879941e-02  1.432630e-02 -2.419412e-01 -3.096390e-01 -1.649481e-08  5.062453e-08
+ 1.879941e-02  1.446606e-02 -2.418120e-01 -3.094608e-01  2.304727e-08  2.441068e-08
+ 1.879941e-02  1.460449e-02 -2.416829e-01 -3.092553e-01  3.514289e-07 -1.366429e-06
+ 1.879941e-02  1.474161e-02 -2.414977e-01 -3.092446e-01  3.336679e-05 -6.627103e-05
+ 1.879941e-02  1.487748e-02 -2.413829e-01 -3.090145e-01 -5.085496e-07  9.510407e-07
+ 1.879941e-02  1.501211e-02 -2.412472e-01 -3.088178e-01  1.572913e-07 -1.013373e-08
+ 1.879941e-02  1.514554e-02 -2.411042e-01 -3.086292e-01  1.139510e-08 -1.011054e-07
+ 1.879941e-02  1.527781e-02 -2.409568e-01 -3.084409e-01  2.490542e-08 -7.718437e-09
+ 1.879941e-02  1.540894e-02 -2.408082e-01 -3.082573e-01 -1.895476e-06 -3.848648e-06
+ 1.879941e-02  1.553897e-02 -2.406459e-01 -3.080533e-01  3.445408e-08 -3.668867e-08
+ 1.879941e-02  1.566792e-02 -2.404862e-01 -3.078593e-01 -1.588084e-07  4.495956e-08
+ 1.879941e-02  1.579582e-02 -2.403208e-01 -3.076605e-01  4.199419e-07  2.341977e-07
+ 1.879941e-02  1.592268e-02 -2.401513e-01 -3.074587e-01  4.559451e-08  3.071973e-08
+ 1.879941e-02  1.604855e-02 -2.399726e-01 -3.072477e-01  2.267609e-06  3.710299e-06
+ 1.879941e-02  1.617343e-02 -2.397984e-01 -3.070468e-01 -1.083893e-06 -1.510884e-06
+ 1.879941e-02  1.629736e-02 -2.396012e-01 -3.068177e-01  1.436461e-06  2.721787e-06
+ 1.879941e-02  1.642036e-02 -2.394037e-01 -3.065963e-01  4.284115e-07 -1.437583e-07
+ 1.879941e-02  1.654243e-02 -2.391890e-01 -3.063563e-01  7.375253e-08 -2.510996e-08
+ 1.879941e-02  1.666362e-02 -2.388260e-01 -3.059590e-01  1.581299e-04  1.694705e-04
+ 1.879941e-02  1.678393e-02 -2.389211e-01 -3.060535e-01 -9.327354e-05 -9.761301e-05
+ 1.879941e-02  1.690338e-02 -2.386354e-01 -3.057510e-01 -4.333289e-06 -4.693398e-06
+ 1.879941e-02  1.702200e-02 -2.383340e-01 -3.054350e-01  7.102381e-07  3.609654e-07
+ 1.879941e-02  1.713979e-02 -2.371024e-01 -3.042445e-01 -1.136710e-06  6.646496e-06
+ 1.879941e-02  1.725678e-02 -2.378011e-01 -3.048826e-01 -5.421732e-04 -4.961240e-04
+ 1.879941e-02  1.737298e-02 -2.377809e-01 -3.048703e-01 -1.367228e-04 -1.244254e-04
+ 1.879941e-02  1.748841e-02 -2.373888e-01 -3.044929e-01 -2.147304e-04 -2.001153e-04
+ 1.879941e-02  1.760308e-02 -2.371398e-01 -3.042643e-01 -3.088242e-06 -2.706506e-06
+ 1.879941e-02  1.771701e-02 -2.371285e-01 -3.042172e-01  8.238923e-07  9.713999e-07
+ 1.879941e-02  1.783022e-02 -2.371128e-01 -3.041521e-01  6.324520e-06  4.224519e-06
+ 1.879941e-02  1.794270e-02 -2.366768e-01 -3.037295e-01 -1.006890e-05 -7.945959e-06
+ 1.879941e-02  1.805449e-02 -2.361626e-01 -3.032770e-01 -4.019339e-06 -3.269607e-06
+ 1.879941e-02  1.816559e-02 -2.356909e-01 -3.028636e-01 -1.443302e-05 -1.153235e-05
+ 1.879941e-02  1.827602e-02 -2.352949e-01 -3.025073e-01 -6.443359e-05 -3.938633e-05
+ 1.879941e-02  1.838578e-02 -2.345648e-01 -3.019071e-01 -2.345648e-01 -3.019071e-01
+ 1.879941e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.879941e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.890592e-02  1.000000e-06 -2.496256e-01 -3.156063e-01  8.625057e-05 -9.285517e-08
+ 1.890592e-02  2.006944e-03 -2.490945e-01 -3.155315e-01 -4.645237e-05  4.147101e-08
+ 1.890592e-02  2.837833e-03 -2.489444e-01 -3.154540e-01  9.406235e-05  2.782733e-07
+ 1.890592e-02  3.475396e-03 -2.488109e-01 -3.153751e-01  3.101574e-06  3.165666e-08
+ 1.890592e-02  4.012887e-03 -2.486205e-01 -3.152941e-01  9.621949e-06  1.180499e-07
+ 1.890592e-02  4.486426e-03 -2.484679e-01 -3.152114e-01  1.808673e-05  2.603732e-07
+ 1.890592e-02  4.914538e-03 -2.483318e-01 -3.151270e-01  6.704651e-07  9.914261e-08
+ 1.890592e-02  5.308228e-03 -2.481978e-01 -3.150410e-01 -6.188242e-06 -4.347518e-07
+ 1.890592e-02  5.674665e-03 -2.480714e-01 -3.149514e-01  1.541486e-05  2.316681e-07
+ 1.890592e-02  6.018831e-03 -2.479752e-01 -3.148587e-01 -8.903118e-07 -6.219988e-07
+ 1.890592e-02  6.344350e-03 -2.479005e-01 -3.147633e-01 -4.871857e-06 -2.137450e-06
+ 1.890592e-02  6.653962e-03 -2.478520e-01 -3.146595e-01  4.180117e-06 -3.709810e-06
+ 1.890592e-02  6.949792e-03 -2.477609e-01 -3.145498e-01  9.897132e-05 -2.941525e-05
+ 1.890592e-02  7.233532e-03 -2.467453e-01 -3.145558e-01 -8.772490e-05 -1.380671e-05
+ 1.890592e-02  7.506553e-03 -2.465319e-01 -3.144375e-01 -8.573034e-06 -2.007054e-06
+ 1.890592e-02  7.769986e-03 -2.463981e-01 -3.143323e-01 -5.073737e-07 -1.386548e-07
+ 1.890592e-02  8.024774e-03 -2.462739e-01 -3.142295e-01 -1.207655e-06  6.614619e-08
+ 1.890592e-02  8.271717e-03 -2.461490e-01 -3.141266e-01  9.047098e-07 -2.149149e-08
+ 1.890592e-02  8.511498e-03 -2.460251e-01 -3.140230e-01  1.587442e-06  1.089007e-07
+ 1.890592e-02  8.744705e-03 -2.459007e-01 -3.139183e-01 -2.984287e-06 -2.924738e-07
+ 1.890592e-02  8.971852e-03 -2.457861e-01 -3.138133e-01 -1.442631e-05 -1.360266e-06
+ 1.890592e-02  9.193388e-03 -2.456546e-01 -3.137055e-01  7.078358e-07  1.667970e-08
+ 1.890592e-02  9.409709e-03 -2.455329e-01 -3.135969e-01 -9.085167e-07 -1.215097e-07
+ 1.890592e-02  9.621167e-03 -2.454083e-01 -3.134865e-01 -2.332318e-06 -1.009009e-07
+ 1.890592e-02  9.828076e-03 -2.452861e-01 -3.133748e-01  1.283517e-07  1.374426e-08
+ 1.890592e-02  1.003072e-02 -2.451691e-01 -3.132618e-01 -3.747612e-07 -3.693973e-08
+ 1.890592e-02  1.022935e-02 -2.450482e-01 -3.131468e-01  3.183514e-07  2.518478e-08
+ 1.890592e-02  1.042419e-02 -2.449295e-01 -3.130302e-01 -3.408444e-07 -1.187345e-08
+ 1.890592e-02  1.061546e-02 -2.448108e-01 -3.129119e-01 -8.082279e-08 -7.185543e-09
+ 1.890592e-02  1.080334e-02 -2.446927e-01 -3.127919e-01  4.691737e-07  4.090036e-08
+ 1.890592e-02  1.098801e-02 -2.445755e-01 -3.126700e-01  3.411304e-07  4.094571e-08
+ 1.890592e-02  1.116962e-02 -2.444588e-01 -3.125464e-01 -4.463035e-08  1.093510e-08
+ 1.890592e-02  1.134833e-02 -2.443422e-01 -3.124209e-01 -2.844444e-08  2.325811e-08
+ 1.890592e-02  1.152427e-02 -2.442257e-01 -3.122935e-01  1.677229e-07 -8.504275e-08
+ 1.890592e-02  1.169756e-02 -2.441095e-01 -3.121641e-01  3.798873e-07  5.051659e-08
+ 1.890592e-02  1.186832e-02 -2.439938e-01 -3.120326e-01  3.266057e-06 -9.013980e-07
+ 1.890592e-02  1.203666e-02 -2.438766e-01 -3.118995e-01 -5.924256e-08  7.227027e-08
+ 1.890592e-02  1.220268e-02 -2.437598e-01 -3.117641e-01  9.088233e-08  4.501807e-09
+ 1.890592e-02  1.236647e-02 -2.436428e-01 -3.116264e-01  2.916522e-07  5.945912e-08
+ 1.890592e-02  1.252811e-02 -2.435254e-01 -3.114869e-01 -2.217263e-08 -3.405085e-08
+ 1.890592e-02  1.268770e-02 -2.434080e-01 -3.113441e-01 -1.013915e-08  1.168340e-08
+ 1.890592e-02  1.284531e-02 -2.432898e-01 -3.111997e-01 -8.801582e-07  1.402117e-06
+ 1.890592e-02  1.300100e-02 -2.431746e-01 -3.110535e-01  2.047461e-05 -1.248558e-05
+ 1.890592e-02  1.315485e-02 -2.430412e-01 -3.109096e-01  2.682113e-06 -3.797243e-06
+ 1.890592e-02  1.330692e-02 -2.429215e-01 -3.107560e-01 -3.223234e-07  1.353720e-07
+ 1.890592e-02  1.345728e-02 -2.427970e-01 -3.106039e-01  2.218107e-06 -2.849018e-06
+ 1.890592e-02  1.360597e-02 -2.426754e-01 -3.104431e-01 -7.500836e-07  1.309088e-06
+ 1.890592e-02  1.375306e-02 -2.425461e-01 -3.102876e-01 -2.186823e-06  2.615048e-06
+ 1.890592e-02  1.389858e-02 -2.424157e-01 -3.101277e-01  1.644140e-07 -3.629810e-09
+ 1.890592e-02  1.404260e-02 -2.422859e-01 -3.099623e-01  6.754608e-08  1.040792e-08
+ 1.890592e-02  1.418516e-02 -2.421527e-01 -3.097937e-01  1.832518e-07 -9.877707e-09
+ 1.890592e-02  1.432630e-02 -2.420180e-01 -3.096212e-01  8.775656e-08 -1.295825e-07
+ 1.890592e-02  1.446606e-02 -2.418806e-01 -3.094411e-01  5.277998e-08 -1.022404e-07
+ 1.890592e-02  1.460449e-02 -2.417409e-01 -3.092406e-01  1.821593e-07 -1.518218e-07
+ 1.890592e-02  1.474161e-02 -2.415659e-01 -3.087515e-01  1.649221e-05  1.246245e-04
+ 1.890592e-02  1.487748e-02 -2.414358e-01 -3.090075e-01 -1.711863e-07  6.162968e-07
+ 1.890592e-02  1.501211e-02 -2.412934e-01 -3.087955e-01  7.735471e-09 -2.907269e-09
+ 1.890592e-02  1.514554e-02 -2.411428e-01 -3.085997e-01  2.227443e-08  4.837304e-08
+ 1.890592e-02  1.527781e-02 -2.409877e-01 -3.084067e-01 -8.311188e-08  1.904903e-08
+ 1.890592e-02  1.540894e-02 -2.408347e-01 -3.082246e-01 -7.808360e-07 -1.511656e-06
+ 1.890592e-02  1.553897e-02 -2.406614e-01 -3.080118e-01  7.028994e-08 -1.042022e-09
+ 1.890592e-02  1.566792e-02 -2.404937e-01 -3.078138e-01 -1.235488e-07  6.521482e-09
+ 1.890592e-02  1.579582e-02 -2.403203e-01 -3.076114e-01  6.499640e-07  2.450743e-07
+ 1.890592e-02  1.592268e-02 -2.401427e-01 -3.074056e-01 -1.557850e-07  3.698024e-07
+ 1.890592e-02  1.604855e-02 -2.399556e-01 -3.071914e-01  1.029638e-06 -8.058251e-07
+ 1.890592e-02  1.617343e-02 -2.397599e-01 -3.069689e-01  5.902401e-06  7.449784e-06
+ 1.890592e-02  1.629736e-02 -2.395669e-01 -3.067534e-01 -1.021652e-06  1.137213e-06
+ 1.890592e-02  1.642036e-02 -2.393556e-01 -3.065220e-01 -5.023352e-07 -3.717202e-07
+ 1.890592e-02  1.654243e-02 -2.390918e-01 -3.062378e-01  4.048189e-05  4.092806e-05
+ 1.890592e-02  1.666362e-02 -2.388626e-01 -3.059890e-01  8.295315e-05  8.553237e-05
+ 1.890592e-02  1.678393e-02 -2.389693e-01 -3.060864e-01 -1.779183e-04 -1.789187e-04
+ 1.890592e-02  1.690338e-02 -2.385279e-01 -3.056336e-01  7.410208e-07  8.717012e-07
+ 1.890592e-02  1.702200e-02 -2.381983e-01 -3.052961e-01  2.169934e-07  5.305075e-07
+ 1.890592e-02  1.713979e-02 -2.377990e-01 -3.048942e-01 -3.515369e-06 -5.096374e-06
+ 1.890592e-02  1.725678e-02 -2.377973e-01 -3.048807e-01 -4.604600e-06 -2.149579e-06
+ 1.890592e-02  1.737298e-02 -2.374502e-01 -3.045444e-01  6.054920e-05  8.436680e-05
+ 1.890592e-02  1.748841e-02 -2.373985e-01 -3.045076e-01  3.660158e-04  3.346736e-04
+ 1.890592e-02  1.760308e-02 -2.371404e-01 -3.042726e-01  4.694902e-07  4.390982e-07
+ 1.890592e-02  1.771701e-02 -2.371278e-01 -3.042194e-01  5.900337e-06  5.310600e-06
+ 1.890592e-02  1.783022e-02 -2.371204e-01 -3.041607e-01 -1.541260e-06 -5.403917e-06
+ 1.890592e-02  1.794270e-02 -2.363423e-01 -3.034698e-01 -3.130364e-07 -1.903242e-07
+ 1.890592e-02  1.805449e-02 -2.358978e-01 -3.030764e-01  3.554361e-07  2.521371e-07
+ 1.890592e-02  1.816559e-02 -2.353538e-01 -3.026150e-01 -7.203780e-05 -5.784281e-05
+ 1.890592e-02  1.827602e-02 -2.346177e-01 -3.019992e-01 -9.463611e-04 -7.403362e-04
+ 1.890592e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.890592e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.336713e-01  3.012589e-01
+ 1.901183e-02  1.000000e-06 -2.498726e-01 -3.156569e-01  3.298310e-05 -5.302938e-06
+ 1.901183e-02  2.006944e-03 -2.498200e-01 -3.155791e-01 -6.012269e-04 -1.579156e-07
+ 1.901183e-02  2.837833e-03 -2.494110e-01 -3.155020e-01  1.391118e-04  5.226727e-07
+ 1.901183e-02  3.475396e-03 -2.490335e-01 -3.154217e-01  5.487827e-05  5.247637e-07
+ 1.901183e-02  4.012887e-03 -2.489191e-01 -3.153407e-01  2.541027e-05  3.071378e-07
+ 1.901183e-02  4.486426e-03 -2.487758e-01 -3.152574e-01 -8.161903e-07 -1.075214e-08
+ 1.901183e-02  4.914538e-03 -2.485977e-01 -3.151717e-01  2.073122e-05  3.194121e-07
+ 1.901183e-02  5.308228e-03 -2.484594e-01 -3.150840e-01  1.411358e-05  1.603804e-07
+ 1.901183e-02  5.674665e-03 -2.483347e-01 -3.149936e-01 -1.168733e-06 -3.041660e-07
+ 1.901183e-02  6.018831e-03 -2.482198e-01 -3.149005e-01 -6.669868e-07  1.808849e-07
+ 1.901183e-02  6.344350e-03 -2.481149e-01 -3.148020e-01  8.933869e-06 -4.889155e-07
+ 1.901183e-02  6.653962e-03 -2.480054e-01 -3.146945e-01  6.119749e-05  5.879182e-06
+ 1.901183e-02  6.949792e-03 -2.479895e-01 -3.145798e-01 -1.343860e-06 -2.274243e-06
+ 1.901183e-02  7.233532e-03 -2.479096e-01 -3.144538e-01  1.148365e-04 -5.790852e-05
+ 1.901183e-02  7.506553e-03 -2.468358e-01 -3.145075e-01 -1.459320e-04 -1.576037e-05
+ 1.901183e-02  7.769986e-03 -2.466128e-01 -3.143887e-01 -8.423654e-06 -1.615688e-06
+ 1.901183e-02  8.024774e-03 -2.464823e-01 -3.142810e-01 -1.721673e-07 -1.865357e-09
+ 1.901183e-02  8.271717e-03 -2.463620e-01 -3.141753e-01 -2.163796e-08  6.637177e-08
+ 1.901183e-02  8.511498e-03 -2.462408e-01 -3.140696e-01 -7.877404e-07 -7.042901e-08
+ 1.901183e-02  8.744705e-03 -2.461163e-01 -3.139629e-01  6.265183e-06  5.497055e-07
+ 1.901183e-02  8.971852e-03 -2.459971e-01 -3.138557e-01  1.952317e-06  1.997871e-07
+ 1.901183e-02  9.193388e-03 -2.458802e-01 -3.137475e-01 -1.039392e-05 -1.108534e-06
+ 1.901183e-02  9.409709e-03 -2.457474e-01 -3.136363e-01 -1.284779e-06 -2.289329e-07
+ 1.901183e-02  9.621167e-03 -2.456269e-01 -3.135249e-01  1.832594e-06  1.933030e-07
+ 1.901183e-02  9.828076e-03 -2.454981e-01 -3.134111e-01  5.865765e-06  5.641020e-07
+ 1.901183e-02  1.003072e-02 -2.453792e-01 -3.132966e-01 -5.016857e-07 -5.078294e-08
+ 1.901183e-02  1.022935e-02 -2.452569e-01 -3.131801e-01 -9.725032e-07 -7.462212e-08
+ 1.901183e-02  1.042419e-02 -2.451340e-01 -3.130617e-01  9.867726e-07  7.046730e-08
+ 1.901183e-02  1.061546e-02 -2.450122e-01 -3.129417e-01  5.002027e-08 -2.783177e-10
+ 1.901183e-02  1.080334e-02 -2.448907e-01 -3.128199e-01 -7.971830e-08  1.973592e-09
+ 1.901183e-02  1.098801e-02 -2.447692e-01 -3.126962e-01 -3.103827e-08  9.650103e-09
+ 1.901183e-02  1.116962e-02 -2.446479e-01 -3.125706e-01  6.557801e-07  7.414077e-08
+ 1.901183e-02  1.134833e-02 -2.445270e-01 -3.124432e-01  3.083933e-08  1.041880e-08
+ 1.901183e-02  1.152427e-02 -2.444062e-01 -3.123138e-01 -3.785956e-09  3.643746e-10
+ 1.901183e-02  1.169756e-02 -2.442850e-01 -3.121825e-01 -9.105919e-08 -4.801571e-08
+ 1.901183e-02  1.186832e-02 -2.441637e-01 -3.120490e-01  4.934485e-07  5.605229e-08
+ 1.901183e-02  1.203666e-02 -2.440420e-01 -3.119136e-01 -6.150584e-07  4.148768e-07
+ 1.901183e-02  1.220268e-02 -2.439200e-01 -3.117761e-01 -4.228131e-08  2.107285e-08
+ 1.901183e-02  1.236647e-02 -2.437976e-01 -3.116361e-01 -1.651087e-07  2.289978e-07
+ 1.901183e-02  1.252811e-02 -2.436743e-01 -3.114943e-01  4.119497e-07  3.090081e-08
+ 1.901183e-02  1.268770e-02 -2.435512e-01 -3.113490e-01 -2.338371e-07  4.265807e-07
+ 1.901183e-02  1.284531e-02 -2.434258e-01 -3.112039e-01  1.764420e-06 -2.498806e-06
+ 1.901183e-02  1.300100e-02 -2.432997e-01 -3.110566e-01  4.082345e-07 -6.520273e-07
+ 1.901183e-02  1.315485e-02 -2.431522e-01 -3.109175e-01  8.697681e-06 -5.307007e-06
+ 1.901183e-02  1.330692e-02 -2.430397e-01 -3.107534e-01  2.350906e-07  3.725649e-07
+ 1.901183e-02  1.345728e-02 -2.429111e-01 -3.105960e-01 -1.171366e-06  1.477890e-06
+ 1.901183e-02  1.360597e-02 -2.427824e-01 -3.104335e-01 -3.093814e-07  4.772597e-07
+ 1.901183e-02  1.375306e-02 -2.426453e-01 -3.102765e-01  2.245850e-06 -2.325467e-06
+ 1.901183e-02  1.389858e-02 -2.425101e-01 -3.101121e-01  1.965178e-07 -2.607546e-07
+ 1.901183e-02  1.404260e-02 -2.423728e-01 -3.099445e-01  3.614278e-07 -4.313977e-07
+ 1.901183e-02  1.418516e-02 -2.422328e-01 -3.097728e-01  3.010217e-07 -1.648990e-07
+ 1.901183e-02  1.432630e-02 -2.420906e-01 -3.095976e-01  1.476093e-07 -1.243165e-07
+ 1.901183e-02  1.446606e-02 -2.419457e-01 -3.094151e-01 -5.418246e-09 -1.145960e-08
+ 1.901183e-02  1.460449e-02 -2.417967e-01 -3.092153e-01 -5.077797e-08 -1.827841e-07
+ 1.901183e-02  1.474161e-02 -2.415588e-01 -3.086028e-01  9.941070e-07  4.219040e-06
+ 1.901183e-02  1.487748e-02 -2.414723e-01 -3.090632e-01  1.527224e-05 -6.722231e-05
+ 1.901183e-02  1.501211e-02 -2.413362e-01 -3.087708e-01 -2.334792e-08  1.420877e-07
+ 1.901183e-02  1.514554e-02 -2.411774e-01 -3.085658e-01  1.081555e-07  2.072523e-08
+ 1.901183e-02  1.527781e-02 -2.410144e-01 -3.083677e-01 -1.383394e-07  1.999949e-08
+ 1.901183e-02  1.540894e-02 -2.408527e-01 -3.081790e-01 -3.269611e-07 -6.086340e-07
+ 1.901183e-02  1.553897e-02 -2.406725e-01 -3.079650e-01  3.311626e-08  6.342571e-08
+ 1.901183e-02  1.566792e-02 -2.404967e-01 -3.077629e-01 -4.887004e-08  8.632303e-09
+ 1.901183e-02  1.579582e-02 -2.403151e-01 -3.075567e-01  4.836940e-07  1.161786e-07
+ 1.901183e-02  1.592268e-02 -2.401293e-01 -3.073471e-01 -2.337904e-07  4.417781e-07
+ 1.901183e-02  1.604855e-02 -2.399344e-01 -3.071303e-01 -2.116001e-08 -1.351241e-06
+ 1.901183e-02  1.617343e-02 -2.397330e-01 -3.069079e-01  1.017458e-07 -2.404850e-08
+ 1.901183e-02  1.629736e-02 -2.395237e-01 -3.066799e-01  1.858711e-07 -5.036134e-07
+ 1.901183e-02  1.642036e-02 -2.392977e-01 -3.064377e-01 -9.165169e-07 -7.023559e-07
+ 1.901183e-02  1.654243e-02 -2.388757e-01 -3.059988e-01  1.086990e-04  1.100048e-04
+ 1.901183e-02  1.666362e-02 -2.389488e-01 -3.060600e-01 -4.059664e-05 -4.023501e-05
+ 1.901183e-02  1.678393e-02 -2.388183e-01 -3.059199e-01 -2.765801e-07 -3.690001e-07
+ 1.901183e-02  1.690338e-02 -2.384204e-01 -3.055169e-01  7.996937e-07  9.496090e-07
+ 1.901183e-02  1.702200e-02 -2.376472e-01 -3.047453e-01 -3.437187e-05 -2.795114e-05
+ 1.901183e-02  1.713979e-02 -2.377927e-01 -3.048862e-01 -7.422804e-05 -6.771128e-05
+ 1.901183e-02  1.725678e-02 -2.377897e-01 -3.048801e-01 -9.306967e-06 -2.354878e-06
+ 1.901183e-02  1.737298e-02 -2.377782e-01 -3.048707e-01 -5.249616e-05 -4.608841e-05
+ 1.901183e-02  1.748841e-02 -2.371505e-01 -3.043047e-01 -4.940440e-06 -5.780735e-06
+ 1.901183e-02  1.760308e-02 -2.371412e-01 -3.042761e-01  6.826974e-07  6.910669e-07
+ 1.901183e-02  1.771701e-02 -2.371270e-01 -3.042200e-01  7.734239e-06  4.948493e-06
+ 1.901183e-02  1.783022e-02 -2.365124e-01 -3.036494e-01 -1.955188e-05 -1.552930e-05
+ 1.901183e-02  1.794270e-02 -2.360556e-01 -3.032436e-01  1.617958e-05  1.360832e-05
+ 1.901183e-02  1.805449e-02 -2.355708e-01 -3.028247e-01  5.080943e-06  3.924069e-06
+ 1.901183e-02  1.816559e-02 -2.351787e-01 -3.024750e-01 -4.734328e-06 -2.968046e-06
+ 1.901183e-02  1.827602e-02 -2.348245e-01 -3.021551e-01 -2.348245e-01 -3.021551e-01
+ 1.901183e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.901183e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.000000e-06 -2.502164e-01 -3.157109e-01 -1.860162e-04 -2.877639e-06
+ 1.911716e-02  2.006944e-03 -2.498626e-01 -3.156261e-01 -2.043713e-04 -4.530282e-06
+ 1.911716e-02  2.837833e-03 -2.498648e-01 -3.155464e-01 -3.790935e-05  1.555947e-06
+ 1.911716e-02  3.475396e-03 -2.497507e-01 -3.154679e-01 -2.136192e-04 -1.780273e-06
+ 1.911716e-02  4.012887e-03 -2.492300e-01 -3.153835e-01 -5.716196e-05 -5.777150e-07
+ 1.911716e-02  4.486426e-03 -2.489937e-01 -3.152984e-01  1.586746e-04  2.241044e-06
+ 1.911716e-02  4.914538e-03 -2.488923e-01 -3.152131e-01  1.333573e-07 -2.646734e-08
+ 1.911716e-02  5.308228e-03 -2.487408e-01 -3.151244e-01 -8.240974e-06 -8.313368e-08
+ 1.911716e-02  5.674665e-03 -2.485768e-01 -3.150325e-01  3.011544e-05  8.335123e-07
+ 1.911716e-02  6.018831e-03 -2.484512e-01 -3.149377e-01  1.265147e-05  3.983618e-07
+ 1.911716e-02  6.344350e-03 -2.483510e-01 -3.148403e-01 -1.487710e-05 -1.942986e-06
+ 1.911716e-02  6.653962e-03 -2.482338e-01 -3.147337e-01  2.500290e-06 -2.556453e-07
+ 1.911716e-02  6.949792e-03 -2.481317e-01 -3.146174e-01  1.914145e-06 -2.388810e-09
+ 1.911716e-02  7.233532e-03 -2.480969e-01 -3.144843e-01  3.013287e-05 -1.209198e-07
+ 1.911716e-02  7.506553e-03 -2.481162e-01 -3.142913e-01 -1.156630e-04  2.563080e-05
+ 1.911716e-02  7.769986e-03 -2.469126e-01 -3.144512e-01 -1.553009e-04 -1.020394e-05
+ 1.911716e-02  8.024774e-03 -2.466876e-01 -3.143335e-01 -1.070517e-05 -9.431913e-07
+ 1.911716e-02  8.271717e-03 -2.465611e-01 -3.142234e-01  2.127319e-06  9.592443e-08
+ 1.911716e-02  8.511498e-03 -2.464439e-01 -3.141146e-01  1.652363e-06  1.322011e-07
+ 1.911716e-02  8.744705e-03 -2.463270e-01 -3.140060e-01 -1.027518e-07 -4.452754e-10
+ 1.911716e-02  8.971852e-03 -2.462025e-01 -3.138959e-01  3.885294e-06  4.589379e-07
+ 1.911716e-02  9.193388e-03 -2.460891e-01 -3.137863e-01  2.167649e-06  1.541528e-07
+ 1.911716e-02  9.409709e-03 -2.459642e-01 -3.136741e-01  3.007653e-06  2.769077e-07
+ 1.911716e-02  9.621167e-03 -2.458360e-01 -3.135600e-01  1.308246e-06  2.011727e-07
+ 1.911716e-02  9.828076e-03 -2.457112e-01 -3.134449e-01 -2.453793e-07 -3.713744e-08
+ 1.911716e-02  1.003072e-02 -2.455826e-01 -3.133278e-01  5.988340e-06  6.783734e-07
+ 1.911716e-02  1.022935e-02 -2.454623e-01 -3.132100e-01 -1.030880e-08  7.972505e-09
+ 1.911716e-02  1.042419e-02 -2.453360e-01 -3.130898e-01 -6.003699e-08  2.750581e-09
+ 1.911716e-02  1.061546e-02 -2.452104e-01 -3.129679e-01  8.133181e-08  1.364993e-08
+ 1.911716e-02  1.080334e-02 -2.450849e-01 -3.128441e-01  7.308586e-07  4.776640e-08
+ 1.911716e-02  1.098801e-02 -2.449598e-01 -3.127185e-01 -1.078320e-07 -6.771436e-09
+ 1.911716e-02  1.116962e-02 -2.448344e-01 -3.125910e-01 -9.748330e-08  1.993439e-08
+ 1.911716e-02  1.134833e-02 -2.447087e-01 -3.124615e-01  3.451042e-07  4.810341e-08
+ 1.911716e-02  1.152427e-02 -2.445830e-01 -3.123300e-01  4.460312e-07  5.696058e-08
+ 1.911716e-02  1.169756e-02 -2.444573e-01 -3.121965e-01 -5.441953e-08 -2.206467e-10
+ 1.911716e-02  1.186832e-02 -2.443311e-01 -3.120609e-01 -8.128323e-08 -1.996936e-08
+ 1.911716e-02  1.203666e-02 -2.442042e-01 -3.119232e-01  3.408016e-07  6.357467e-08
+ 1.911716e-02  1.220268e-02 -2.440748e-01 -3.117842e-01  1.910320e-06 -5.620651e-07
+ 1.911716e-02  1.236647e-02 -2.439487e-01 -3.116414e-01 -2.333489e-07  3.576164e-07
+ 1.911716e-02  1.252811e-02 -2.438200e-01 -3.114969e-01 -2.388313e-07  2.595157e-07
+ 1.911716e-02  1.268770e-02 -2.436909e-01 -3.113493e-01 -1.015552e-06  2.212387e-06
+ 1.911716e-02  1.284531e-02 -2.435583e-01 -3.112033e-01  3.255337e-06 -4.751326e-06
+ 1.911716e-02  1.300100e-02 -2.434265e-01 -3.110520e-01  3.020253e-06 -4.321281e-06
+ 1.911716e-02  1.315485e-02 -2.433003e-01 -3.108897e-01 -2.569795e-06  3.178273e-06
+ 1.911716e-02  1.330692e-02 -2.431527e-01 -3.107473e-01  8.865114e-07 -1.115538e-06
+ 1.911716e-02  1.345728e-02 -2.430213e-01 -3.105828e-01 -4.466409e-06  5.530447e-06
+ 1.911716e-02  1.360597e-02 -2.428843e-01 -3.104201e-01 -3.801486e-06  4.549119e-06
+ 1.911716e-02  1.375306e-02 -2.427409e-01 -3.102597e-01  2.379272e-06 -2.516400e-06
+ 1.911716e-02  1.389858e-02 -2.425999e-01 -3.100914e-01  2.758768e-07 -1.720844e-07
+ 1.911716e-02  1.404260e-02 -2.424554e-01 -3.099213e-01  3.104197e-07 -1.517508e-07
+ 1.911716e-02  1.418516e-02 -2.423086e-01 -3.097464e-01  1.503770e-08 -2.485495e-08
+ 1.911716e-02  1.432630e-02 -2.421590e-01 -3.095685e-01  1.740929e-07  1.709542e-08
+ 1.911716e-02  1.446606e-02 -2.420064e-01 -3.093832e-01  2.101045e-08 -3.144548e-08
+ 1.911716e-02  1.460449e-02 -2.418489e-01 -3.091823e-01  5.211800e-08 -1.479157e-08
+ 1.911716e-02  1.474161e-02 -2.415562e-01 -3.084961e-01  6.921823e-06  2.381842e-05
+ 1.911716e-02  1.487748e-02 -2.414956e-01 -3.091792e-01  4.775462e-05 -2.493381e-04
+ 1.911716e-02  1.501211e-02 -2.413759e-01 -3.087453e-01 -4.743927e-08  1.622732e-07
+ 1.911716e-02  1.514554e-02 -2.412081e-01 -3.085276e-01  1.895502e-07  1.084472e-08
+ 1.911716e-02  1.527781e-02 -2.410368e-01 -3.083235e-01 -4.563971e-09  2.573858e-09
+ 1.911716e-02  1.540894e-02 -2.408528e-01 -3.081073e-01  2.832170e-06  4.284496e-06
+ 1.911716e-02  1.553897e-02 -2.406790e-01 -3.079128e-01  1.313937e-07 -9.557528e-10
+ 1.911716e-02  1.566792e-02 -2.404952e-01 -3.077068e-01  5.254140e-07  5.093626e-07
+ 1.911716e-02  1.579582e-02 -2.403053e-01 -3.074966e-01  3.601265e-09  2.585615e-07
+ 1.911716e-02  1.592268e-02 -2.401110e-01 -3.072833e-01  1.300883e-07 -2.376480e-07
+ 1.911716e-02  1.604855e-02 -2.399072e-01 -3.070611e-01 -1.799177e-07  6.793912e-07
+ 1.911716e-02  1.617343e-02 -2.396988e-01 -3.068373e-01 -2.289354e-06 -2.292647e-06
+ 1.911716e-02  1.629736e-02 -2.394740e-01 -3.065990e-01 -1.942075e-07  7.234143e-09
+ 1.911716e-02  1.642036e-02 -2.392180e-01 -3.063317e-01  1.629070e-06  1.398429e-06
+ 1.911716e-02  1.654243e-02 -2.389038e-01 -3.060085e-01  1.347810e-04  1.316014e-04
+ 1.911716e-02  1.666362e-02 -2.390516e-01 -3.061346e-01 -1.872908e-04 -1.786127e-04
+ 1.911716e-02  1.678393e-02 -2.386221e-01 -3.057093e-01  3.672493e-06  3.636786e-06
+ 1.911716e-02  1.690338e-02 -2.382966e-01 -3.053835e-01 -6.305618e-06 -6.394151e-06
+ 1.911716e-02  1.702200e-02 -2.376625e-01 -3.047564e-01  1.287473e-04  1.306280e-04
+ 1.911716e-02  1.713979e-02 -2.377929e-01 -3.048831e-01 -4.072952e-07 -3.568780e-07
+ 1.911716e-02  1.725678e-02 -2.377803e-01 -3.048768e-01 -6.920566e-04 -6.526998e-04
+ 1.911716e-02  1.737298e-02 -2.377719e-01 -3.048687e-01 -4.124075e-04 -3.901889e-04
+ 1.911716e-02  1.748841e-02 -2.371473e-01 -3.043101e-01 -3.963734e-08  2.221817e-08
+ 1.911716e-02  1.760308e-02 -2.371404e-01 -3.042745e-01  2.138994e-06  2.093067e-07
+ 1.911716e-02  1.771701e-02 -2.375471e-01 -3.045831e-01 -3.895591e-04 -3.397405e-04
+ 1.911716e-02  1.783022e-02 -2.362427e-01 -3.034298e-01  4.446632e-06  3.907239e-06
+ 1.911716e-02  1.794270e-02 -2.358162e-01 -3.030538e-01  1.789154e-06  1.482991e-06
+ 1.911716e-02  1.805449e-02 -2.353766e-01 -3.026652e-01 -9.917593e-05 -7.586339e-05
+ 1.911716e-02  1.816559e-02 -2.346116e-01 -3.020304e-01 -2.346116e-01 -3.020304e-01
+ 1.911716e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.911716e-02  2.179112e-02 -2.343219e-01 -3.015565e-01  4.024092e-04  2.715224e-04
+ 1.911716e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.911716e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.347243e-01  3.018281e-01
+ 1.922190e-02  1.000000e-06 -2.501304e-01 -3.157431e-01 -1.520705e-05  2.022864e-06
+ 1.922190e-02  2.006944e-03 -2.501479e-01 -3.156668e-01  2.990538e-04  5.099576e-06
+ 1.922190e-02  2.837833e-03 -2.498374e-01 -3.155826e-01  1.020327e-04  2.803788e-06
+ 1.922190e-02  3.475396e-03 -2.498728e-01 -3.155090e-01  2.699023e-05 -1.094554e-06
+ 1.922190e-02  4.012887e-03 -2.498442e-01 -3.154256e-01 -5.536282e-04 -6.427080e-06
+ 1.922190e-02  4.486426e-03 -2.496136e-01 -3.153409e-01  9.922960e-05  1.650796e-06
+ 1.922190e-02  4.914538e-03 -2.491138e-01 -3.152495e-01 -6.297830e-05 -1.488055e-06
+ 1.922190e-02  5.308228e-03 -2.489625e-01 -3.151599e-01  1.552018e-04  2.860999e-06
+ 1.922190e-02  5.674665e-03 -2.488602e-01 -3.150690e-01 -1.383839e-06  1.703410e-09
+ 1.922190e-02  6.018831e-03 -2.487045e-01 -3.149734e-01 -1.280120e-05 -3.930341e-07
+ 1.922190e-02  6.344350e-03 -2.485565e-01 -3.148732e-01  3.630088e-05  1.046282e-06
+ 1.922190e-02  6.653962e-03 -2.484487e-01 -3.147690e-01  1.287503e-05  7.058619e-07
+ 1.922190e-02  6.949792e-03 -2.483450e-01 -3.146554e-01 -3.509867e-06 -1.388858e-06
+ 1.922190e-02  7.233532e-03 -2.482597e-01 -3.145294e-01 -1.018920e-05 -1.316061e-06
+ 1.922190e-02  7.506553e-03 -2.481968e-01 -3.143721e-01  1.360385e-06 -7.305034e-06
+ 1.922190e-02  7.769986e-03 -2.488234e-01 -3.137106e-01 -1.096432e-04  6.532343e-05
+ 1.922190e-02  8.024774e-03 -2.469779e-01 -3.143879e-01 -1.222169e-04 -3.035667e-06
+ 1.922190e-02  8.271717e-03 -2.467572e-01 -3.142719e-01 -1.076176e-05 -4.626287e-07
+ 1.922190e-02  8.511498e-03 -2.466354e-01 -3.141593e-01  1.688168e-06  2.444900e-08
+ 1.922190e-02  8.744705e-03 -2.465213e-01 -3.140475e-01  1.355060e-06  1.303659e-07
+ 1.922190e-02  8.971852e-03 -2.464067e-01 -3.139354e-01  1.119547e-07  5.029054e-08
+ 1.922190e-02  9.193388e-03 -2.462862e-01 -3.138222e-01 -3.466739e-06 -4.554893e-07
+ 1.922190e-02  9.409709e-03 -2.461740e-01 -3.137095e-01 -1.512181e-05 -2.288700e-06
+ 1.922190e-02  9.621167e-03 -2.460409e-01 -3.135927e-01 -7.936977e-07 -2.949867e-07
+ 1.922190e-02  9.828076e-03 -2.459183e-01 -3.134759e-01 -1.153844e-06 -2.520248e-07
+ 1.922190e-02  1.003072e-02 -2.457867e-01 -3.133564e-01  1.963147e-06  2.520231e-07
+ 1.922190e-02  1.022935e-02 -2.456614e-01 -3.132364e-01 -8.765258e-08 -9.794213e-08
+ 1.922190e-02  1.042419e-02 -2.455345e-01 -3.131144e-01 -3.817759e-07 -8.253013e-08
+ 1.922190e-02  1.061546e-02 -2.454058e-01 -3.129904e-01  2.419517e-08  2.044977e-08
+ 1.922190e-02  1.080334e-02 -2.452766e-01 -3.128646e-01 -1.359952e-07 -2.803995e-09
+ 1.922190e-02  1.098801e-02 -2.451470e-01 -3.127369e-01  8.067929e-07  6.566997e-08
+ 1.922190e-02  1.116962e-02 -2.450175e-01 -3.126072e-01  1.524150e-07  1.016551e-08
+ 1.922190e-02  1.134833e-02 -2.448877e-01 -3.124756e-01 -1.371496e-08  1.193035e-08
+ 1.922190e-02  1.152427e-02 -2.447572e-01 -3.123419e-01 -1.167066e-07  4.599265e-08
+ 1.922190e-02  1.169756e-02 -2.446261e-01 -3.122062e-01  6.513581e-07  8.677130e-08
+ 1.922190e-02  1.186832e-02 -2.444950e-01 -3.120683e-01 -7.925755e-08  3.954806e-08
+ 1.922190e-02  1.203666e-02 -2.443631e-01 -3.119284e-01 -5.054046e-08 -5.605264e-08
+ 1.922190e-02  1.220268e-02 -2.442304e-01 -3.117857e-01  1.950673e-07 -9.699486e-09
+ 1.922190e-02  1.236647e-02 -2.440957e-01 -3.116420e-01  9.413652e-08  1.427351e-07
+ 1.922190e-02  1.252811e-02 -2.439621e-01 -3.114945e-01 -9.817463e-08  1.137539e-07
+ 1.922190e-02  1.268770e-02 -2.438267e-01 -3.113452e-01 -1.571080e-06  2.290173e-06
+ 1.922190e-02  1.284531e-02 -2.436872e-01 -3.111974e-01  1.492650e-06 -1.580569e-06
+ 1.922190e-02  1.300100e-02 -2.435510e-01 -3.110410e-01  3.000637e-06 -4.097047e-06
+ 1.922190e-02  1.315485e-02 -2.434141e-01 -3.108808e-01 -3.453138e-07  2.151969e-07
+ 1.922190e-02  1.330692e-02 -2.432672e-01 -3.107312e-01 -2.871376e-05  3.308303e-05
+ 1.922190e-02  1.345728e-02 -2.431267e-01 -3.105655e-01 -1.330313e-06  2.323646e-06
+ 1.922190e-02  1.360597e-02 -2.429813e-01 -3.104023e-01 -2.875546e-06  3.385378e-06
+ 1.922190e-02  1.375306e-02 -2.428331e-01 -3.102369e-01  1.079873e-07 -1.613406e-07
+ 1.922190e-02  1.389858e-02 -2.426852e-01 -3.100656e-01  2.576288e-07  6.884836e-08
+ 1.922190e-02  1.404260e-02 -2.425339e-01 -3.098927e-01 -2.410526e-08 -2.903357e-08
+ 1.922190e-02  1.418516e-02 -2.423798e-01 -3.097146e-01  1.845059e-07  2.072140e-07
+ 1.922190e-02  1.432630e-02 -2.422231e-01 -3.095337e-01  2.789956e-07 -3.555233e-08
+ 1.922190e-02  1.446606e-02 -2.420628e-01 -3.093455e-01  3.068676e-08 -6.834504e-08
+ 1.922190e-02  1.460449e-02 -2.418971e-01 -3.091423e-01 -3.254661e-08 -1.574459e-08
+ 1.922190e-02  1.474161e-02 -2.415506e-01 -3.083852e-01 -4.330253e-06 -8.554381e-06
+ 1.922190e-02  1.487748e-02 -2.415918e-01 -3.089182e-01 -4.140444e-07 -4.084702e-06
+ 1.922190e-02  1.501211e-02 -2.414133e-01 -3.087195e-01 -4.368490e-08  8.920052e-07
+ 1.922190e-02  1.514554e-02 -2.412349e-01 -3.084847e-01  1.611627e-07  1.276917e-07
+ 1.922190e-02  1.527781e-02 -2.410549e-01 -3.082743e-01  1.330420e-08  1.578746e-08
+ 1.922190e-02  1.540894e-02 -2.408646e-01 -3.080570e-01  1.072344e-06  1.589886e-06
+ 1.922190e-02  1.553897e-02 -2.406809e-01 -3.078552e-01  1.328520e-07  2.367350e-08
+ 1.922190e-02  1.566792e-02 -2.404887e-01 -3.076446e-01 -1.825993e-07 -2.661114e-08
+ 1.922190e-02  1.579582e-02 -2.402908e-01 -3.074307e-01  2.190348e-08 -4.224157e-07
+ 1.922190e-02  1.592268e-02 -2.400880e-01 -3.072144e-01  1.519447e-07 -1.725713e-07
+ 1.922190e-02  1.604855e-02 -2.398756e-01 -3.069875e-01  8.344618e-07  8.900794e-07
+ 1.922190e-02  1.617343e-02 -2.396513e-01 -3.067508e-01 -1.402896e-07  4.286315e-07
+ 1.922190e-02  1.629736e-02 -2.394134e-01 -3.065061e-01 -1.010654e-06 -1.173221e-06
+ 1.922190e-02  1.642036e-02 -2.389609e-01 -3.060559e-01  4.742770e-05  4.563752e-05
+ 1.922190e-02  1.654243e-02 -2.390285e-01 -3.061032e-01 -2.399827e-05 -2.261421e-05
+ 1.922190e-02  1.666362e-02 -2.389809e-01 -3.060391e-01 -1.669017e-04 -1.555085e-04
+ 1.922190e-02  1.678393e-02 -2.385170e-01 -3.055887e-01  8.052153e-07  8.283246e-07
+ 1.922190e-02  1.690338e-02 -2.381107e-01 -3.051891e-01  4.727625e-06  4.532318e-06
+ 1.922190e-02  1.702200e-02 -2.377955e-01 -3.048827e-01 -2.187318e-06 -7.090337e-07
+ 1.922190e-02  1.713979e-02 -2.377941e-01 -3.048823e-01  1.888354e-07  1.063719e-07
+ 1.922190e-02  1.725678e-02 -2.377632e-01 -3.048609e-01  2.203419e-05  2.212433e-05
+ 1.922190e-02  1.737298e-02 -2.371609e-01 -3.043037e-01 -7.605229e-05 -7.691545e-05
+ 1.922190e-02  1.748841e-02 -2.371365e-01 -3.042957e-01 -3.282916e-07 -5.338366e-06
+ 1.922190e-02  1.760308e-02 -2.378247e-01 -3.048905e-01 -7.018933e-04 -6.459434e-04
+ 1.922190e-02  1.771701e-02 -2.364412e-01 -3.036201e-01 -2.034124e-06 -1.839415e-06
+ 1.922190e-02  1.783022e-02 -2.359978e-01 -3.032276e-01 -2.196163e-06 -6.189189e-07
+ 1.922190e-02  1.794270e-02 -2.355309e-01 -3.028233e-01 -1.307561e-05 -9.624242e-06
+ 1.922190e-02  1.805449e-02 -2.349869e-01 -3.023593e-01  2.774275e-05  2.163079e-05
+ 1.922190e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.922190e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.350146e-01  3.023809e-01
+ 1.932608e-02  1.000000e-06 -2.504729e-01 -3.157804e-01 -1.594377e-04 -4.851746e-07
+ 1.932608e-02  2.006944e-03 -2.501531e-01 -3.157037e-01  5.130388e-04  9.501382e-07
+ 1.932608e-02  2.837833e-03 -2.501286e-01 -3.156212e-01 -8.137902e-06  8.575650e-10
+ 1.932608e-02  3.475396e-03 -2.501945e-01 -3.155502e-01 -1.654193e-04 -5.483783e-06
+ 1.932608e-02  4.012887e-03 -2.498581e-01 -3.154588e-01 -3.356584e-04 -6.991643e-06
+ 1.932608e-02  4.486426e-03 -2.498696e-01 -3.153763e-01  1.333793e-05 -6.055232e-07
+ 1.932608e-02  4.914538e-03 -2.497954e-01 -3.152904e-01 -4.785520e-04 -9.156488e-06
+ 1.932608e-02  5.308228e-03 -2.493752e-01 -3.151955e-01  1.047639e-04  1.823151e-06
+ 1.932608e-02  5.674665e-03 -2.490393e-01 -3.150989e-01  4.074334e-05  1.357062e-06
+ 1.932608e-02  6.018831e-03 -2.489327e-01 -3.150041e-01  5.722987e-05  1.765664e-06
+ 1.932608e-02  6.344350e-03 -2.488200e-01 -3.149052e-01  2.477388e-06 -5.948168e-08
+ 1.932608e-02  6.653962e-03 -2.486645e-01 -3.147996e-01 -8.179297e-06 -3.177648e-07
+ 1.932608e-02  6.949792e-03 -2.485338e-01 -3.146871e-01  3.728647e-05  1.396144e-06
+ 1.932608e-02  7.233532e-03 -2.484400e-01 -3.145655e-01  9.579164e-06 -3.599356e-07
+ 1.932608e-02  7.506553e-03 -2.483637e-01 -3.144249e-01  4.641789e-06 -1.469598e-06
+ 1.932608e-02  7.769986e-03 -2.482880e-01 -3.142434e-01 -4.467561e-06 -4.068974e-06
+ 1.932608e-02  8.024774e-03 -2.485738e-01 -3.133746e-01 -4.350297e-06 -3.926061e-06
+ 1.932608e-02  8.271717e-03 -2.470143e-01 -3.143183e-01 -2.478341e-05  6.295155e-07
+ 1.932608e-02  8.511498e-03 -2.468230e-01 -3.142038e-01 -7.035273e-06 -4.900450e-07
+ 1.932608e-02  8.744705e-03 -2.467065e-01 -3.140884e-01 -6.261295e-07  2.070678e-07
+ 1.932608e-02  8.971852e-03 -2.465963e-01 -3.139735e-01  2.600194e-06  2.768208e-08
+ 1.932608e-02  9.193388e-03 -2.464804e-01 -3.138573e-01  6.272306e-06  9.740445e-07
+ 1.932608e-02  9.409709e-03 -2.463689e-01 -3.137416e-01  4.243489e-06  7.104291e-07
+ 1.932608e-02  9.621167e-03 -2.462478e-01 -3.136239e-01 -4.970333e-07 -4.579490e-08
+ 1.932608e-02  9.828076e-03 -2.461156e-01 -3.135033e-01  3.268115e-06  4.776478e-07
+ 1.932608e-02  1.003072e-02 -2.459897e-01 -3.133825e-01  2.906523e-07  5.768723e-08
+ 1.932608e-02  1.022935e-02 -2.458574e-01 -3.132594e-01  4.195202e-06  7.722882e-07
+ 1.932608e-02  1.042419e-02 -2.457301e-01 -3.131356e-01 -1.901703e-07 -3.942979e-08
+ 1.932608e-02  1.061546e-02 -2.455973e-01 -3.130093e-01  1.178730e-06  8.373183e-08
+ 1.932608e-02  1.080334e-02 -2.454652e-01 -3.128813e-01 -2.094025e-07 -1.125879e-08
+ 1.932608e-02  1.098801e-02 -2.453320e-01 -3.127513e-01 -8.671313e-08  1.677962e-08
+ 1.932608e-02  1.116962e-02 -2.451976e-01 -3.126193e-01  5.561306e-07  3.858840e-08
+ 1.932608e-02  1.134833e-02 -2.450631e-01 -3.124854e-01  5.236218e-07  4.266996e-08
+ 1.932608e-02  1.152427e-02 -2.449282e-01 -3.123494e-01 -5.845855e-08  1.795047e-08
+ 1.932608e-02  1.169756e-02 -2.447923e-01 -3.122112e-01 -1.482115e-07  5.787483e-08
+ 1.932608e-02  1.186832e-02 -2.446554e-01 -3.120710e-01  5.310448e-07  1.656693e-07
+ 1.932608e-02  1.203666e-02 -2.445181e-01 -3.119286e-01  2.918753e-09  8.851088e-08
+ 1.932608e-02  1.220268e-02 -2.443802e-01 -3.117838e-01 -2.393131e-07  5.983378e-08
+ 1.932608e-02  1.236647e-02 -2.442415e-01 -3.116361e-01 -2.975602e-07  4.816933e-07
+ 1.932608e-02  1.252811e-02 -2.441002e-01 -3.114871e-01  1.194951e-07  4.288972e-07
+ 1.932608e-02  1.268770e-02 -2.439580e-01 -3.113369e-01  1.602198e-06 -2.468644e-06
+ 1.932608e-02  1.284531e-02 -2.438131e-01 -3.111855e-01  3.433172e-07 -5.810267e-07
+ 1.932608e-02  1.300100e-02 -2.436717e-01 -3.110245e-01 -9.248162e-07  1.855457e-06
+ 1.932608e-02  1.315485e-02 -2.435262e-01 -3.108656e-01  5.684846e-07  6.593851e-07
+ 1.932608e-02  1.330692e-02 -2.433828e-01 -3.106969e-01 -2.051020e-06  1.554999e-06
+ 1.932608e-02  1.345728e-02 -2.432262e-01 -3.105463e-01 -5.708287e-09  3.795685e-07
+ 1.932608e-02  1.360597e-02 -2.430736e-01 -3.103794e-01  2.406994e-06 -2.629769e-06
+ 1.932608e-02  1.375306e-02 -2.429215e-01 -3.102082e-01  7.449092e-08 -3.137204e-07
+ 1.932608e-02  1.389858e-02 -2.427659e-01 -3.100347e-01  5.217793e-07 -4.327098e-07
+ 1.932608e-02  1.404260e-02 -2.426079e-01 -3.098585e-01  1.521715e-07  1.141795e-07
+ 1.932608e-02  1.418516e-02 -2.424466e-01 -3.096774e-01  2.096794e-07  2.308708e-07
+ 1.932608e-02  1.432630e-02 -2.422826e-01 -3.094932e-01  8.502177e-08  6.759716e-09
+ 1.932608e-02  1.446606e-02 -2.421146e-01 -3.093017e-01  1.062464e-07  6.656067e-08
+ 1.932608e-02  1.460449e-02 -2.419405e-01 -3.090954e-01  7.762062e-08 -6.230251e-08
+ 1.932608e-02  1.474161e-02 -2.415571e-01 -3.083141e-01 -4.649745e-06 -1.232695e-05
+ 1.932608e-02  1.487748e-02 -2.416058e-01 -3.087428e-01  3.884749e-06  1.639223e-05
+ 1.932608e-02  1.501211e-02 -2.414495e-01 -3.087008e-01 -2.698758e-08 -3.577832e-08
+ 1.932608e-02  1.514554e-02 -2.412577e-01 -3.084374e-01  1.637767e-07 -2.601782e-08
+ 1.932608e-02  1.527781e-02 -2.410687e-01 -3.082198e-01  6.218650e-08  1.467507e-08
+ 1.932608e-02  1.540894e-02 -2.408736e-01 -3.080031e-01 -9.435282e-08 -1.286383e-07
+ 1.932608e-02  1.553897e-02 -2.406782e-01 -3.077920e-01  1.151545e-07 -3.345795e-09
+ 1.932608e-02  1.566792e-02 -2.404777e-01 -3.075772e-01 -6.277062e-07 -2.051239e-07
+ 1.932608e-02  1.579582e-02 -2.402710e-01 -3.073588e-01 -2.278426e-07 -5.821605e-07
+ 1.932608e-02  1.592268e-02 -2.400602e-01 -3.071407e-01  6.439740e-07  8.556218e-07
+ 1.932608e-02  1.604855e-02 -2.398298e-01 -3.068974e-01 -8.989089e-06 -1.212237e-05
+ 1.932608e-02  1.617343e-02 -2.395996e-01 -3.066617e-01 -1.058341e-06  1.080385e-07
+ 1.932608e-02  1.629736e-02 -2.393202e-01 -3.063824e-01  2.592222e-05  2.419563e-05
+ 1.932608e-02  1.642036e-02 -2.390048e-01 -3.060694e-01  1.435326e-04  1.330230e-04
+ 1.932608e-02  1.654243e-02 -2.391768e-01 -3.062052e-01 -1.994800e-04 -1.809293e-04
+ 1.932608e-02  1.666362e-02 -2.387236e-01 -3.057721e-01  7.701328e-06  7.056572e-06
+ 1.932608e-02  1.678393e-02 -2.383989e-01 -3.054549e-01 -1.986466e-08 -1.386921e-07
+ 1.932608e-02  1.690338e-02 -2.378071e-01 -3.048798e-01 -8.524346e-06  2.216443e-08
+ 1.932608e-02  1.702200e-02 -2.378009e-01 -3.048797e-01 -5.991160e-07 -3.009210e-07
+ 1.932608e-02  1.713979e-02 -2.377965e-01 -3.048812e-01  3.649103e-07  4.638034e-07
+ 1.932608e-02  1.725678e-02 -2.376155e-01 -3.047094e-01  1.292645e-04  1.302507e-04
+ 1.932608e-02  1.737298e-02 -2.371320e-01 -3.043042e-01  2.296320e-06  2.156308e-06
+ 1.932608e-02  1.748841e-02 -2.378101e-01 -3.049122e-01 -1.694614e-05 -1.481836e-05
+ 1.932608e-02  1.760308e-02 -2.366212e-01 -3.037883e-01 -1.742812e-07  1.553829e-07
+ 1.932608e-02  1.771701e-02 -2.361832e-01 -3.034003e-01 -2.491380e-06 -3.016882e-06
+ 1.932608e-02  1.783022e-02 -2.356931e-01 -3.029725e-01 -9.715453e-06 -7.880856e-06
+ 1.932608e-02  1.794270e-02 -2.353003e-01 -3.026334e-01  6.236313e-05  5.071499e-05
+ 1.932608e-02  1.805449e-02 -2.346105e-01 -3.020541e-01 -9.285430e-06 -2.871115e-06
+ 1.932608e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.932608e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346012e-01  3.020513e-01
+ 1.942970e-02  1.000000e-06 -2.510325e-01 -3.158137e-01 -1.685958e-04 -1.898528e-07
+ 1.942970e-02  2.006944e-03 -2.507713e-01 -3.157367e-01  5.808398e-05  2.059243e-07
+ 1.942970e-02  2.837833e-03 -2.502133e-01 -3.156550e-01  4.179673e-04  3.004223e-06
+ 1.942970e-02  3.475396e-03 -2.501291e-01 -3.155729e-01 -2.208936e-05  2.024003e-06
+ 1.942970e-02  4.012887e-03 -2.501477e-01 -3.154925e-01  2.913229e-04  5.654262e-06
+ 1.942970e-02  4.486426e-03 -2.498329e-01 -3.153993e-01  1.213128e-04  4.745939e-06
+ 1.942970e-02  4.914538e-03 -2.498726e-01 -3.153189e-01  1.794139e-05  3.717533e-07
+ 1.942970e-02  5.308228e-03 -2.498519e-01 -3.152301e-01 -4.069081e-04 -9.926584e-06
+ 1.942970e-02  5.674665e-03 -2.496934e-01 -3.151363e-01 -1.347536e-05 -4.477072e-07
+ 1.942970e-02  6.018831e-03 -2.491776e-01 -3.150315e-01 -7.894066e-05 -2.666165e-06
+ 1.942970e-02  6.344350e-03 -2.489871e-01 -3.149296e-01  1.711340e-04  5.394809e-06
+ 1.942970e-02  6.653962e-03 -2.488965e-01 -3.148270e-01  3.161358e-06  1.929227e-07
+ 1.942970e-02  6.949792e-03 -2.487683e-01 -3.147163e-01 -1.317529e-06  6.109211e-08
+ 1.942970e-02  7.233532e-03 -2.486205e-01 -3.145950e-01  4.867745e-06 -7.423171e-08
+ 1.942970e-02  7.506553e-03 -2.485196e-01 -3.144614e-01  4.240192e-05  2.246524e-06
+ 1.942970e-02  7.769986e-03 -2.484487e-01 -3.142957e-01  1.541767e-05 -5.052354e-06
+ 1.942970e-02  8.024774e-03 -2.485674e-01 -3.139148e-01 -1.201098e-04  1.414139e-04
+ 1.942970e-02  8.271717e-03 -2.483114e-01 -3.136688e-01 -1.226975e-05  3.367608e-05
+ 1.942970e-02  8.511498e-03 -2.470290e-01 -3.142449e-01 -1.186299e-06  8.437008e-07
+ 1.942970e-02  8.744705e-03 -2.468858e-01 -3.141290e-01 -2.158356e-06  2.767047e-07
+ 1.942970e-02  8.971852e-03 -2.467761e-01 -3.140106e-01 -1.052973e-06  7.094165e-07
+ 1.942970e-02  9.193388e-03 -2.466684e-01 -3.138920e-01  8.790004e-07  4.847806e-08
+ 1.942970e-02  9.409709e-03 -2.465524e-01 -3.137717e-01 -2.843741e-07 -2.715040e-07
+ 1.942970e-02  9.621167e-03 -2.464457e-01 -3.136528e-01 -1.494297e-05 -2.667874e-06
+ 1.942970e-02  9.828076e-03 -2.463128e-01 -3.135291e-01 -1.581784e-06 -3.564221e-07
+ 1.942970e-02  1.003072e-02 -2.461863e-01 -3.134057e-01 -9.463352e-08 -2.214320e-07
+ 1.942970e-02  1.022935e-02 -2.460512e-01 -3.132795e-01  4.774074e-06  7.528636e-07
+ 1.942970e-02  1.042419e-02 -2.459218e-01 -3.131532e-01 -1.107917e-07  9.248695e-09
+ 1.942970e-02  1.061546e-02 -2.457871e-01 -3.130246e-01 -3.050902e-07 -4.403655e-08
+ 1.942970e-02  1.080334e-02 -2.456504e-01 -3.128940e-01  1.010510e-06  6.866672e-08
+ 1.942970e-02  1.098801e-02 -2.455133e-01 -3.127615e-01  2.000439e-07  4.263920e-08
+ 1.942970e-02  1.116962e-02 -2.453753e-01 -3.126272e-01  1.305509e-07  2.162535e-08
+ 1.942970e-02  1.134833e-02 -2.452358e-01 -3.124907e-01  8.251783e-08  3.660452e-08
+ 1.942970e-02  1.152427e-02 -2.450955e-01 -3.123523e-01  7.823537e-07  6.813753e-08
+ 1.942970e-02  1.169756e-02 -2.449548e-01 -3.122116e-01 -6.950484e-08  1.053388e-09
+ 1.942970e-02  1.186832e-02 -2.448126e-01 -3.120691e-01 -5.554470e-07  3.096613e-07
+ 1.942970e-02  1.203666e-02 -2.446695e-01 -3.119239e-01  6.461824e-07  1.032022e-07
+ 1.942970e-02  1.220268e-02 -2.445259e-01 -3.117766e-01 -1.100173e-07  3.620136e-07
+ 1.942970e-02  1.236647e-02 -2.443812e-01 -3.116268e-01 -1.688289e-07  3.403207e-07
+ 1.942970e-02  1.252811e-02 -2.442323e-01 -3.114770e-01  4.188649e-07  6.167219e-07
+ 1.942970e-02  1.268770e-02 -2.440847e-01 -3.113237e-01  3.117390e-06 -4.135699e-06
+ 1.942970e-02  1.284531e-02 -2.439360e-01 -3.111667e-01  3.535156e-06 -4.951501e-06
+ 1.942970e-02  1.300100e-02 -2.437878e-01 -3.110036e-01 -1.470699e-06  1.948259e-06
+ 1.942970e-02  1.315485e-02 -2.436345e-01 -3.108436e-01  2.296885e-06 -2.494998e-06
+ 1.942970e-02  1.330692e-02 -2.434851e-01 -3.106719e-01 -3.295999e-06  4.377607e-06
+ 1.942970e-02  1.345728e-02 -2.433112e-01 -3.105464e-01 -4.898100e-06  9.315138e-06
+ 1.942970e-02  1.360597e-02 -2.431628e-01 -3.103506e-01  1.698226e-06 -1.539654e-06
+ 1.942970e-02  1.375306e-02 -2.430046e-01 -3.101745e-01 -9.117350e-09 -4.750331e-09
+ 1.942970e-02  1.389858e-02 -2.428423e-01 -3.099981e-01  9.097907e-07 -2.000464e-07
+ 1.942970e-02  1.404260e-02 -2.426772e-01 -3.098185e-01  3.319702e-07  3.989970e-08
+ 1.942970e-02  1.418516e-02 -2.425088e-01 -3.096345e-01 -3.751085e-08 -1.119389e-07
+ 1.942970e-02  1.432630e-02 -2.423375e-01 -3.094469e-01  3.961769e-08 -7.721227e-08
+ 1.942970e-02  1.446606e-02 -2.421618e-01 -3.092518e-01  2.128729e-07 -1.129295e-08
+ 1.942970e-02  1.460449e-02 -2.419793e-01 -3.090417e-01  1.264822e-08 -9.750045e-09
+ 1.942970e-02  1.474161e-02 -2.417419e-01 -3.086848e-01 -2.037607e-05 -5.573654e-05
+ 1.942970e-02  1.487748e-02 -2.416221e-01 -3.086531e-01 -3.079671e-06 -1.031788e-05
+ 1.942970e-02  1.501211e-02 -2.414851e-01 -3.086834e-01  2.617088e-06  1.722582e-05
+ 1.942970e-02  1.514554e-02 -2.412767e-01 -3.083852e-01  6.457809e-08  4.145823e-08
+ 1.942970e-02  1.527781e-02 -2.410780e-01 -3.081597e-01  5.275381e-08  1.945562e-07
+ 1.942970e-02  1.540894e-02 -2.408750e-01 -3.079392e-01 -2.351155e-08 -1.973386e-08
+ 1.942970e-02  1.553897e-02 -2.406709e-01 -3.077233e-01  4.239846e-08 -9.496162e-08
+ 1.942970e-02  1.566792e-02 -2.404613e-01 -3.075037e-01 -2.221392e-07 -3.845761e-07
+ 1.942970e-02  1.579582e-02 -2.402462e-01 -3.072810e-01  2.476093e-08  3.101238e-07
+ 1.942970e-02  1.592268e-02 -2.400353e-01 -3.070724e-01 -6.678716e-06 -1.259142e-05
+ 1.942970e-02  1.604855e-02 -2.397880e-01 -3.068135e-01 -1.015677e-06 -1.016377e-06
+ 1.942970e-02  1.617343e-02 -2.395364e-01 -3.065615e-01 -3.120408e-07 -5.315220e-08
+ 1.942970e-02  1.629736e-02 -2.390579e-01 -3.061045e-01  1.472431e-04  1.341971e-04
+ 1.942970e-02  1.642036e-02 -2.391842e-01 -3.061977e-01 -6.424581e-05 -5.746610e-05
+ 1.942970e-02  1.654243e-02 -2.390503e-01 -3.060532e-01 -6.955521e-07 -6.235755e-07
+ 1.942970e-02  1.666362e-02 -2.386186e-01 -3.056456e-01  8.212322e-07  8.698893e-07
+ 1.942970e-02  1.678393e-02 -2.382423e-01 -3.052822e-01 -1.894203e-06 -1.993054e-06
+ 1.942970e-02  1.690338e-02 -2.378103e-01 -3.048756e-01  2.324015e-08  7.897546e-07
+ 1.942970e-02  1.702200e-02 -2.378070e-01 -3.048773e-01 -2.370344e-07 -2.462601e-07
+ 1.942970e-02  1.713979e-02 -2.377997e-01 -3.048797e-01 -3.830256e-07  1.161280e-06
+ 1.942970e-02  1.725678e-02 -2.376258e-01 -3.047194e-01  1.277592e-04  1.298042e-04
+ 1.942970e-02  1.737298e-02 -2.371910e-01 -3.043438e-01 -9.578706e-05 -8.794027e-05
+ 1.942970e-02  1.748841e-02 -2.368565e-01 -3.039952e-01  1.496007e-05  1.248476e-05
+ 1.942970e-02  1.760308e-02 -2.363631e-01 -3.035611e-01 -1.776229e-07 -4.902348e-07
+ 1.942970e-02  1.771701e-02 -2.359353e-01 -3.031850e-01 -2.421772e-06 -9.588775e-07
+ 1.942970e-02  1.783022e-02 -2.355279e-01 -3.028326e-01  8.748491e-05  7.315774e-05
+ 1.942970e-02  1.794270e-02 -2.349093e-01 -3.023097e-01  1.900722e-05  1.480439e-05
+ 1.942970e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.942970e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.349283e-01  3.023245e-01
+ 1.953277e-02  1.000000e-06 -2.512841e-01 -3.158431e-01  1.207463e-05 -1.046502e-08
+ 1.953277e-02  2.006944e-03 -2.510805e-01 -3.157657e-01 -2.626880e-05 -1.949057e-07
+ 1.953277e-02  2.837833e-03 -2.509241e-01 -3.156866e-01  2.489604e-05  3.032114e-07
+ 1.953277e-02  3.475396e-03 -2.503692e-01 -3.156016e-01 -8.153293e-05 -1.328165e-06
+ 1.953277e-02  4.012887e-03 -2.501449e-01 -3.155159e-01  3.081451e-04  4.090639e-06
+ 1.953277e-02  4.486426e-03 -2.501298e-01 -3.154292e-01  1.949918e-05  7.657720e-07
+ 1.953277e-02  4.914538e-03 -2.502116e-01 -3.153502e-01 -1.807641e-04 -5.594932e-06
+ 1.953277e-02  5.308228e-03 -2.498596e-01 -3.152497e-01 -3.226097e-04 -8.040676e-06
+ 1.953277e-02  5.674665e-03 -2.498701e-01 -3.151609e-01  1.437621e-05  1.260406e-07
+ 1.953277e-02  6.018831e-03 -2.498008e-01 -3.150665e-01 -4.863489e-04 -1.507190e-05
+ 1.953277e-02  6.344350e-03 -2.494212e-01 -3.149583e-01  1.474884e-04  3.987177e-06
+ 1.953277e-02  6.653962e-03 -2.490574e-01 -3.148472e-01  3.525002e-06  1.900425e-07
+ 1.953277e-02  6.949792e-03 -2.489455e-01 -3.147381e-01  1.012594e-04  4.018905e-06
+ 1.953277e-02  7.233532e-03 -2.488479e-01 -3.146223e-01  1.115819e-06  1.463617e-07
+ 1.953277e-02  7.506553e-03 -2.487069e-01 -3.144918e-01 -1.704483e-05 -1.476068e-06
+ 1.953277e-02  7.769986e-03 -2.485898e-01 -3.143408e-01  2.034923e-05 -2.924717e-07
+ 1.953277e-02  8.024774e-03 -2.485118e-01 -3.141287e-01  3.133589e-05 -6.116800e-06
+ 1.953277e-02  8.271717e-03 -2.486350e-01 -3.133651e-01 -2.102813e-04  3.106153e-04
+ 1.953277e-02  8.511498e-03 -2.469514e-01 -3.143220e-01  6.434207e-05 -8.688317e-06
+ 1.953277e-02  8.744705e-03 -2.470477e-01 -3.141687e-01 -7.076557e-06  1.472755e-06
+ 1.953277e-02  8.971852e-03 -2.469440e-01 -3.140478e-01 -7.253380e-07  2.306132e-07
+ 1.953277e-02  9.193388e-03 -2.468449e-01 -3.139257e-01 -1.621808e-06  8.382542e-08
+ 1.953277e-02  9.409709e-03 -2.467356e-01 -3.138021e-01  5.231242e-06  1.276722e-06
+ 1.953277e-02  9.621167e-03 -2.466276e-01 -3.136787e-01  6.697891e-06  1.031255e-06
+ 1.953277e-02  9.828076e-03 -2.465084e-01 -3.135535e-01  1.788403e-06  2.054336e-07
+ 1.953277e-02  1.003072e-02 -2.463771e-01 -3.134255e-01  1.106126e-06  3.266310e-07
+ 1.953277e-02  1.022935e-02 -2.462451e-01 -3.132970e-01 -1.605975e-06 -2.208131e-07
+ 1.953277e-02  1.042419e-02 -2.461087e-01 -3.131670e-01  1.790376e-06  1.503821e-07
+ 1.953277e-02  1.061546e-02 -2.459737e-01 -3.130361e-01 -8.228822e-07 -2.305495e-07
+ 1.953277e-02  1.080334e-02 -2.458338e-01 -3.129027e-01 -5.819446e-09  1.411843e-08
+ 1.953277e-02  1.098801e-02 -2.456919e-01 -3.127676e-01  5.443398e-07  4.720323e-08
+ 1.953277e-02  1.116962e-02 -2.455492e-01 -3.126305e-01  7.660841e-07  6.348998e-08
+ 1.953277e-02  1.134833e-02 -2.454056e-01 -3.124915e-01 -3.584707e-08  4.191841e-08
+ 1.953277e-02  1.152427e-02 -2.452602e-01 -3.123504e-01 -1.096602e-07  3.517381e-08
+ 1.953277e-02  1.169756e-02 -2.451137e-01 -3.122071e-01  8.539739e-07  1.608554e-07
+ 1.953277e-02  1.186832e-02 -2.449666e-01 -3.120618e-01 -8.545012e-08  1.896381e-08
+ 1.953277e-02  1.203666e-02 -2.448180e-01 -3.119141e-01 -1.351420e-07  4.930894e-08
+ 1.953277e-02  1.220268e-02 -2.446678e-01 -3.117644e-01  6.852964e-07  1.058585e-08
+ 1.953277e-02  1.236647e-02 -2.445177e-01 -3.116113e-01 -6.772538e-08 -3.095653e-08
+ 1.953277e-02  1.252811e-02 -2.443653e-01 -3.114570e-01 -7.124715e-09 -2.488183e-08
+ 1.953277e-02  1.268770e-02 -2.442078e-01 -3.113048e-01  4.086777e-07  9.592525e-09
+ 1.953277e-02  1.284531e-02 -2.440552e-01 -3.111416e-01  7.021972e-07 -7.909355e-07
+ 1.953277e-02  1.300100e-02 -2.438988e-01 -3.109790e-01 -3.771480e-07 -4.687994e-07
+ 1.953277e-02  1.315485e-02 -2.437401e-01 -3.108141e-01  2.770625e-07 -1.000025e-07
+ 1.953277e-02  1.330692e-02 -2.435832e-01 -3.106411e-01  3.985332e-08  6.748017e-09
+ 1.953277e-02  1.345728e-02 -2.434262e-01 -3.104347e-01  1.600671e-06  9.026513e-07
+ 1.953277e-02  1.360597e-02 -2.432483e-01 -3.103166e-01  1.831226e-07  2.573649e-09
+ 1.953277e-02  1.375306e-02 -2.430831e-01 -3.101358e-01  3.518966e-07 -2.822702e-07
+ 1.953277e-02  1.389858e-02 -2.429139e-01 -3.099558e-01  8.161412e-08 -1.068779e-07
+ 1.953277e-02  1.404260e-02 -2.427420e-01 -3.097730e-01  1.430422e-06 -4.593892e-07
+ 1.953277e-02  1.418516e-02 -2.425664e-01 -3.095857e-01  2.921195e-10 -8.722645e-08
+ 1.953277e-02  1.432630e-02 -2.423876e-01 -3.093947e-01  1.209295e-08 -1.348396e-08
+ 1.953277e-02  1.446606e-02 -2.422042e-01 -3.091958e-01  1.993963e-07  2.232284e-08
+ 1.953277e-02  1.460449e-02 -2.420130e-01 -3.089812e-01  5.569962e-09 -4.786409e-08
+ 1.953277e-02  1.474161e-02 -2.415783e-01 -3.081917e-01 -5.824924e-05 -1.228412e-04
+ 1.953277e-02  1.487748e-02 -2.416370e-01 -3.085753e-01 -6.987526e-06 -2.042296e-05
+ 1.953277e-02  1.501211e-02 -2.415602e-01 -3.090055e-01 -3.041750e-05  2.099136e-04
+ 1.953277e-02  1.514554e-02 -2.412913e-01 -3.083271e-01  1.319050e-07  2.532770e-07
+ 1.953277e-02  1.527781e-02 -2.410830e-01 -3.080951e-01 -7.588603e-08 -2.104969e-07
+ 1.953277e-02  1.540894e-02 -2.408715e-01 -3.078694e-01 -2.371001e-08 -2.095707e-09
+ 1.953277e-02  1.553897e-02 -2.406585e-01 -3.076485e-01  5.926300e-08  6.045032e-08
+ 1.953277e-02  1.566792e-02 -2.404400e-01 -3.074245e-01  3.939740e-08  1.242261e-07
+ 1.953277e-02  1.579582e-02 -2.402159e-01 -3.071969e-01  1.612659e-07  8.852329e-07
+ 1.953277e-02  1.592268e-02 -2.399662e-01 -3.069390e-01  1.256693e-05  2.024511e-05
+ 1.953277e-02  1.604855e-02 -2.397299e-01 -3.067106e-01 -2.065994e-07 -5.748327e-07
+ 1.953277e-02  1.617343e-02 -2.393492e-01 -3.063493e-01  4.855305e-07  3.388877e-07
+ 1.953277e-02  1.629736e-02 -2.391887e-01 -3.061846e-01  8.997653e-05  7.915555e-05
+ 1.953277e-02  1.642036e-02 -2.393492e-01 -3.062970e-01 -1.398781e-04 -1.212045e-04
+ 1.953277e-02  1.654243e-02 -2.388289e-01 -3.058191e-01  3.055066e-07  3.469358e-07
+ 1.953277e-02  1.666362e-02 -2.385060e-01 -3.055110e-01 -7.932101e-08 -7.517093e-08
+ 1.953277e-02  1.678393e-02 -2.376029e-01 -3.046451e-01  2.174498e-04  2.023014e-04
+ 1.953277e-02  1.690338e-02 -2.378235e-01 -3.048691e-01 -8.744450e-06 -7.693332e-06
+ 1.953277e-02  1.702200e-02 -2.378138e-01 -3.048743e-01  4.469671e-07  3.100547e-07
+ 1.953277e-02  1.713979e-02 -2.378001e-01 -3.048781e-01  5.016588e-06 -6.880547e-07
+ 1.953277e-02  1.725678e-02 -2.372607e-01 -3.043399e-01  2.110175e-05  2.505458e-05
+ 1.953277e-02  1.737298e-02 -2.376035e-01 -3.047045e-01  1.970467e-05  2.141726e-05
+ 1.953277e-02  1.748841e-02 -2.365287e-01 -3.037020e-01 -7.299474e-06 -6.986409e-06
+ 1.953277e-02  1.760308e-02 -2.361239e-01 -3.033472e-01  9.640242e-07 -2.232891e-07
+ 1.953277e-02  1.771701e-02 -2.357158e-01 -3.029925e-01 -6.582219e-05 -5.750231e-05
+ 1.953277e-02  1.783022e-02 -2.352293e-01 -3.025769e-01  1.462202e-05  1.247479e-05
+ 1.953277e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.953277e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.352439e-01  3.025893e-01
+ 1.963530e-02  1.000000e-06 -2.515824e-01 -3.158687e-01 -1.059727e-06 -5.989224e-09
+ 1.963530e-02  2.006944e-03 -2.513695e-01 -3.157909e-01 -4.902726e-06 -3.973658e-08
+ 1.963530e-02  2.837833e-03 -2.511343e-01 -3.157106e-01  1.986117e-06 -2.534905e-08
+ 1.963530e-02  3.475396e-03 -2.509975e-01 -3.156292e-01 -1.367676e-04 -1.920890e-06
+ 1.963530e-02  4.012887e-03 -2.506336e-01 -3.155424e-01 -9.446401e-05 -1.219707e-06
+ 1.963530e-02  4.486426e-03 -2.501796e-01 -3.154497e-01  6.019431e-04  1.197627e-05
+ 1.963530e-02  4.914538e-03 -2.501266e-01 -3.153606e-01 -3.222545e-05  1.238305e-06
+ 1.963530e-02  5.308228e-03 -2.501535e-01 -3.152755e-01  3.749282e-05  1.155541e-06
+ 1.963530e-02  5.674665e-03 -2.498432e-01 -3.151724e-01  6.439993e-05  2.565139e-06
+ 1.963530e-02  6.018831e-03 -2.498740e-01 -3.150826e-01  2.824430e-05  1.102059e-06
+ 1.963530e-02  6.344350e-03 -2.498449e-01 -3.149865e-01 -5.421879e-04 -2.029924e-05
+ 1.963530e-02  6.653962e-03 -2.496641e-01 -3.148778e-01  3.724462e-05  1.719767e-06
+ 1.963530e-02  6.949792e-03 -2.491677e-01 -3.147569e-01 -8.069180e-05 -3.905195e-06
+ 1.963530e-02  7.233532e-03 -2.489853e-01 -3.146390e-01  1.735812e-04  7.437137e-06
+ 1.963530e-02  7.506553e-03 -2.488997e-01 -3.145162e-01  4.159769e-06  2.222521e-07
+ 1.963530e-02  7.769986e-03 -2.487847e-01 -3.143756e-01  4.032257e-06  2.470567e-07
+ 1.963530e-02  8.024774e-03 -2.486587e-01 -3.142003e-01 -6.456672e-06 -7.449399e-07
+ 1.963530e-02  8.271717e-03 -2.486299e-01 -3.138342e-01  1.472181e-04 -2.492332e-05
+ 1.963530e-02  8.511498e-03 -2.483582e-01 -3.136780e-01 -1.949319e-04  2.738360e-04
+ 1.963530e-02  8.744705e-03 -2.472428e-01 -3.142023e-01 -6.026601e-05  9.733507e-06
+ 1.963530e-02  8.971852e-03 -2.470878e-01 -3.140872e-01  8.965560e-06 -1.530967e-06
+ 1.963530e-02  9.193388e-03 -2.470009e-01 -3.139602e-01  2.169963e-06  1.259636e-06
+ 1.963530e-02  9.409709e-03 -2.469106e-01 -3.138327e-01 -5.576191e-07 -2.721427e-08
+ 1.963530e-02  9.621167e-03 -2.468032e-01 -3.137034e-01 -3.453667e-06 -5.746951e-07
+ 1.963530e-02  9.828076e-03 -2.466975e-01 -3.135761e-01 -1.543899e-05 -3.531082e-06
+ 1.963530e-02  1.003072e-02 -2.465630e-01 -3.134432e-01  9.454504e-07 -4.495713e-07
+ 1.963530e-02  1.022935e-02 -2.464349e-01 -3.133118e-01  5.278515e-07  4.839055e-07
+ 1.963530e-02  1.042419e-02 -2.462951e-01 -3.131776e-01  4.353574e-06  1.573119e-06
+ 1.963530e-02  1.061546e-02 -2.461568e-01 -3.130437e-01  1.452025e-06  1.917455e-07
+ 1.963530e-02  1.080334e-02 -2.460134e-01 -3.129072e-01  5.010274e-07  5.962309e-08
+ 1.963530e-02  1.098801e-02 -2.458685e-01 -3.127692e-01 -2.187885e-09  8.098904e-09
+ 1.963530e-02  1.116962e-02 -2.457206e-01 -3.126292e-01  2.437234e-07  2.198881e-08
+ 1.963530e-02  1.134833e-02 -2.455715e-01 -3.124874e-01  9.861925e-07  8.441569e-08
+ 1.963530e-02  1.152427e-02 -2.454217e-01 -3.123435e-01 -5.729827e-08  8.590797e-09
+ 1.963530e-02  1.169756e-02 -2.452697e-01 -3.121976e-01 -1.396355e-07  6.388639e-08
+ 1.963530e-02  1.186832e-02 -2.451164e-01 -3.120494e-01  8.619381e-07  1.694727e-07
+ 1.963530e-02  1.203666e-02 -2.449627e-01 -3.118988e-01 -4.772763e-07  5.618997e-07
+ 1.963530e-02  1.220268e-02 -2.448066e-01 -3.117465e-01 -2.652215e-07  2.521052e-07
+ 1.963530e-02  1.236647e-02 -2.446499e-01 -3.115906e-01 -6.232783e-07  2.045703e-06
+ 1.963530e-02  1.252811e-02 -2.444901e-01 -3.114361e-01  2.822148e-06 -4.618447e-06
+ 1.963530e-02  1.268770e-02 -2.443264e-01 -3.112819e-01  4.843913e-06 -7.320755e-06
+ 1.963530e-02  1.284531e-02 -2.441694e-01 -3.111117e-01 -1.378366e-06  2.690037e-06
+ 1.963530e-02  1.300100e-02 -2.440052e-01 -3.109491e-01  1.189016e-06 -1.718052e-06
+ 1.963530e-02  1.315485e-02 -2.438427e-01 -3.107774e-01 -4.193930e-06  5.096230e-06
+ 1.963530e-02  1.330692e-02 -2.436755e-01 -3.106060e-01 -3.747771e-06  4.966003e-06
+ 1.963530e-02  1.345728e-02 -2.435047e-01 -3.104277e-01  8.675971e-07 -1.342689e-06
+ 1.963530e-02  1.360597e-02 -2.433294e-01 -3.102802e-01 -5.757796e-07  3.124104e-06
+ 1.963530e-02  1.375306e-02 -2.431570e-01 -3.100917e-01  4.757507e-07 -1.268783e-07
+ 1.963530e-02  1.389858e-02 -2.429811e-01 -3.099077e-01 -3.016292e-08  8.348603e-09
+ 1.963530e-02  1.404260e-02 -2.428016e-01 -3.097219e-01 -2.692111e-08  2.750766e-08
+ 1.963530e-02  1.418516e-02 -2.426194e-01 -3.095310e-01  1.745981e-06 -8.881267e-07
+ 1.963530e-02  1.432630e-02 -2.424330e-01 -3.093364e-01  4.322250e-08 -3.191485e-08
+ 1.963530e-02  1.446606e-02 -2.422415e-01 -3.091336e-01  1.867478e-07 -1.265544e-08
+ 1.963530e-02  1.460449e-02 -2.420415e-01 -3.089135e-01  4.202998e-09 -7.763093e-07
+ 1.963530e-02  1.474161e-02 -2.414784e-01 -3.079304e-01 -9.722774e-05 -1.423878e-04
+ 1.963530e-02  1.487748e-02 -2.416479e-01 -3.084956e-01 -3.261267e-07 -1.570664e-06
+ 1.963530e-02  1.501211e-02 -2.416214e-01 -3.090733e-01 -2.180322e-05 -1.667936e-04
+ 1.963530e-02  1.514554e-02 -2.413019e-01 -3.082644e-01  2.559148e-07  8.517809e-07
+ 1.963530e-02  1.527781e-02 -2.410827e-01 -3.080217e-01  1.517082e-06  2.533849e-06
+ 1.963530e-02  1.540894e-02 -2.408630e-01 -3.077934e-01  1.362896e-08 -1.215560e-08
+ 1.963530e-02  1.553897e-02 -2.406411e-01 -3.075676e-01  1.477264e-06  2.527314e-06
+ 1.963530e-02  1.566792e-02 -2.404138e-01 -3.073392e-01  9.758237e-08  2.656851e-09
+ 1.963530e-02  1.579582e-02 -2.401794e-01 -3.071064e-01 -4.338809e-08 -9.622811e-07
+ 1.963530e-02  1.592268e-02 -2.399384e-01 -3.068703e-01 -5.519297e-06 -6.914421e-06
+ 1.963530e-02  1.604855e-02 -2.396512e-01 -3.065900e-01 -1.257250e-05 -9.864794e-06
+ 1.963530e-02  1.617343e-02 -2.392350e-01 -3.062048e-01  1.912935e-04  1.664075e-04
+ 1.963530e-02  1.629736e-02 -2.394315e-01 -3.063476e-01 -1.622661e-04 -1.383303e-04
+ 1.963530e-02  1.642036e-02 -2.390596e-01 -3.060014e-01 -1.611810e-05 -1.366037e-05
+ 1.963530e-02  1.654243e-02 -2.387239e-01 -3.056870e-01  5.856812e-07  4.339017e-07
+ 1.963530e-02  1.666362e-02 -2.383762e-01 -3.053586e-01  5.301287e-07  3.548646e-07
+ 1.963530e-02  1.678393e-02 -2.378423e-01 -3.048624e-01  7.153795e-07  6.173164e-07
+ 1.963530e-02  1.690338e-02 -2.378349e-01 -3.048661e-01 -2.511437e-06 -7.155106e-07
+ 1.963530e-02  1.702200e-02 -2.378226e-01 -3.048712e-01 -2.640148e-07  5.540156e-07
+ 1.963530e-02  1.713979e-02 -2.378045e-01 -3.048662e-01 -7.007405e-04 -6.820526e-04
+ 1.963530e-02  1.725678e-02 -2.369478e-01 -3.040648e-01 -6.264819e-06 -1.702075e-05
+ 1.963530e-02  1.737298e-02 -2.366732e-01 -3.038161e-01 -1.475243e-07 -5.002713e-07
+ 1.963530e-02  1.748841e-02 -2.362981e-01 -3.034884e-01  1.413606e-07  9.216098e-08
+ 1.963530e-02  1.760308e-02 -2.358737e-01 -3.031208e-01  1.040376e-07 -2.190748e-07
+ 1.963530e-02  1.771701e-02 -2.354524e-01 -3.027629e-01 -3.618267e-05 -3.243966e-05
+ 1.963530e-02  1.783022e-02 -2.345681e-01 -3.020048e-01  3.087233e-04  2.642940e-04
+ 1.963530e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.963530e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.348768e-01  3.022691e-01
+ 1.973730e-02  1.000000e-06 -2.518808e-01 -3.158904e-01 -8.211518e-06 -4.973772e-08
+ 1.973730e-02  2.006944e-03 -2.516439e-01 -3.158121e-01  7.024811e-07 -1.920280e-08
+ 1.973730e-02  2.837833e-03 -2.514394e-01 -3.157317e-01 -3.524434e-05 -4.002801e-07
+ 1.973730e-02  3.475396e-03 -2.511985e-01 -3.156483e-01 -2.688599e-06 -4.898259e-08
+ 1.973730e-02  4.012887e-03 -2.510413e-01 -3.155639e-01 -1.472581e-04 -2.292850e-06
+ 1.973730e-02  4.486426e-03 -2.508218e-01 -3.154756e-01  7.881741e-05  1.774771e-06
+ 1.973730e-02  4.914538e-03 -2.502485e-01 -3.153774e-01  2.118082e-04  5.506814e-06
+ 1.973730e-02  5.308228e-03 -2.501332e-01 -3.152843e-01  1.737452e-05  4.202394e-07
+ 1.973730e-02  5.674665e-03 -2.501373e-01 -3.151936e-01  2.524121e-04  8.082880e-06
+ 1.973730e-02  6.018831e-03 -2.497749e-01 -3.150878e-01  2.059533e-04  6.911941e-06
+ 1.973730e-02  6.344350e-03 -2.498684e-01 -3.149938e-01 -7.602703e-05 -4.292540e-06
+ 1.973730e-02  6.653962e-03 -2.498640e-01 -3.148956e-01 -6.383249e-05 -4.557353e-06
+ 1.973730e-02  6.949792e-03 -2.497766e-01 -3.147871e-01 -3.501952e-04 -1.563329e-05
+ 1.973730e-02  7.233532e-03 -2.493162e-01 -3.146590e-01  2.955377e-05  1.249196e-06
+ 1.973730e-02  7.506553e-03 -2.490274e-01 -3.145298e-01  6.809084e-05  4.120262e-06
+ 1.973730e-02  7.769986e-03 -2.489336e-01 -3.143967e-01  6.242794e-05  3.497155e-06
+ 1.973730e-02  8.024774e-03 -2.488529e-01 -3.142429e-01 -4.812334e-06 -1.581209e-06
+ 1.973730e-02  8.271717e-03 -2.487628e-01 -3.140183e-01 -1.679524e-05 -1.017049e-06
+ 1.973730e-02  8.511498e-03 -2.486369e-01 -3.133998e-01 -1.199162e-04  4.153155e-04
+ 1.973730e-02  8.744705e-03 -2.481523e-01 -3.138550e-01  6.444285e-06  8.040465e-06
+ 1.973730e-02  8.971852e-03 -2.473068e-01 -3.141068e-01 -6.810103e-05  1.678492e-05
+ 1.973730e-02  9.193388e-03 -2.471464e-01 -3.139954e-01 -8.357202e-06  3.486525e-06
+ 1.973730e-02  9.409709e-03 -2.470660e-01 -3.138640e-01  2.825997e-06  3.850045e-07
+ 1.973730e-02  9.621167e-03 -2.469722e-01 -3.137294e-01  7.397647e-06  1.848642e-06
+ 1.973730e-02  9.828076e-03 -2.468751e-01 -3.135964e-01  1.903953e-06  6.225641e-07
+ 1.973730e-02  1.003072e-02 -2.467505e-01 -3.134600e-01  2.167478e-06  5.023240e-07
+ 1.973730e-02  1.022935e-02 -2.466181e-01 -3.133232e-01  1.642155e-06 -1.812119e-07
+ 1.973730e-02  1.042419e-02 -2.464790e-01 -3.131850e-01  1.274370e-06  3.238375e-07
+ 1.973730e-02  1.061546e-02 -2.463384e-01 -3.130473e-01  3.351960e-08  2.514217e-08
+ 1.973730e-02  1.080334e-02 -2.461908e-01 -3.129075e-01  5.385567e-07  4.590827e-08
+ 1.973730e-02  1.098801e-02 -2.460410e-01 -3.127661e-01  1.076430e-06  7.591092e-08
+ 1.973730e-02  1.116962e-02 -2.458895e-01 -3.126231e-01  5.484712e-08  4.679859e-08
+ 1.973730e-02  1.134833e-02 -2.457350e-01 -3.124783e-01 -1.427650e-08  4.489074e-08
+ 1.973730e-02  1.152427e-02 -2.455790e-01 -3.123314e-01  1.050282e-06  1.547883e-07
+ 1.973730e-02  1.169756e-02 -2.454221e-01 -3.121827e-01  3.140510e-08 -8.548338e-08
+ 1.973730e-02  1.186832e-02 -2.452631e-01 -3.120316e-01 -1.084469e-07  2.075630e-08
+ 1.973730e-02  1.203666e-02 -2.451025e-01 -3.118786e-01  8.701675e-07  4.047024e-08
+ 1.973730e-02  1.220268e-02 -2.449415e-01 -3.117227e-01 -5.781583e-08  7.334638e-10
+ 1.973730e-02  1.236647e-02 -2.447778e-01 -3.115654e-01 -4.812909e-07  6.139980e-07
+ 1.973730e-02  1.252811e-02 -2.446104e-01 -3.114086e-01  7.521059e-07 -2.098100e-08
+ 1.973730e-02  1.268770e-02 -2.444474e-01 -3.112412e-01  1.682996e-07 -3.177996e-07
+ 1.973730e-02  1.284531e-02 -2.442780e-01 -3.110783e-01 -7.881262e-07 -8.428393e-07
+ 1.973730e-02  1.300100e-02 -2.441081e-01 -3.109109e-01  9.959045e-07 -6.837302e-07
+ 1.973730e-02  1.315485e-02 -2.439397e-01 -3.107361e-01 -7.069885e-09  5.326099e-09
+ 1.973730e-02  1.330692e-02 -2.437625e-01 -3.105657e-01  1.098463e-06 -1.219787e-06
+ 1.973730e-02  1.345728e-02 -2.435866e-01 -3.103843e-01  3.817000e-07 -2.308921e-07
+ 1.973730e-02  1.360597e-02 -2.434003e-01 -3.102929e-01 -4.528496e-06  2.988151e-05
+ 1.973730e-02  1.375306e-02 -2.432265e-01 -3.100421e-01  3.325262e-07 -6.217915e-08
+ 1.973730e-02  1.389858e-02 -2.430433e-01 -3.098540e-01  1.319413e-07 -1.397132e-07
+ 1.973730e-02  1.404260e-02 -2.428571e-01 -3.096646e-01 -4.044750e-08 -5.605250e-08
+ 1.973730e-02  1.418516e-02 -2.426665e-01 -3.094710e-01  3.930152e-07 -6.036430e-08
+ 1.973730e-02  1.432630e-02 -2.424741e-01 -3.092715e-01 -6.030024e-07  2.003977e-07
+ 1.973730e-02  1.446606e-02 -2.422739e-01 -3.090648e-01  1.243008e-07 -4.825573e-10
+ 1.973730e-02  1.460449e-02 -2.420644e-01 -3.088386e-01 -2.324506e-08 -9.784575e-08
+ 1.973730e-02  1.474161e-02 -2.414506e-01 -3.078250e-01 -4.391054e-06 -2.341281e-06
+ 1.973730e-02  1.487748e-02 -2.416568e-01 -3.084170e-01 -6.081380e-07 -1.736075e-06
+ 1.973730e-02  1.501211e-02 -2.416436e-01 -3.088333e-01 -4.468980e-05 -1.668068e-04
+ 1.973730e-02  1.514554e-02 -2.413072e-01 -3.081945e-01  3.135177e-08 -1.109372e-07
+ 1.973730e-02  1.527781e-02 -2.410794e-01 -3.079476e-01 -7.578773e-07 -1.529373e-06
+ 1.973730e-02  1.540894e-02 -2.408495e-01 -3.077112e-01 -1.441613e-09 -1.077417e-08
+ 1.973730e-02  1.553897e-02 -2.406175e-01 -3.074790e-01  2.581697e-08 -3.488400e-10
+ 1.973730e-02  1.566792e-02 -2.403808e-01 -3.072469e-01  7.121516e-07  2.512086e-07
+ 1.973730e-02  1.579582e-02 -2.401359e-01 -3.070094e-01 -6.675955e-06 -1.306312e-05
+ 1.973730e-02  1.592268e-02 -2.398644e-01 -3.067455e-01  1.584621e-05  1.844377e-05
+ 1.973730e-02  1.604855e-02 -2.393594e-01 -3.062873e-01  7.695802e-05  6.655430e-05
+ 1.973730e-02  1.617343e-02 -2.394909e-01 -3.063741e-01 -5.702605e-05 -4.793245e-05
+ 1.973730e-02  1.629736e-02 -2.394044e-01 -3.062702e-01 -6.153587e-05 -5.160042e-05
+ 1.973730e-02  1.642036e-02 -2.389372e-01 -3.058501e-01 -3.082524e-07 -2.091691e-07
+ 1.973730e-02  1.654243e-02 -2.386162e-01 -3.055509e-01  1.089888e-07  2.385421e-08
+ 1.973730e-02  1.666362e-02 -2.382944e-01 -3.052495e-01 -8.858359e-05 -8.565870e-05
+ 1.973730e-02  1.678393e-02 -2.378812e-01 -3.048688e-01 -2.129747e-05 -1.495435e-05
+ 1.973730e-02  1.690338e-02 -2.378450e-01 -3.048619e-01 -2.296626e-08 -4.266649e-08
+ 1.973730e-02  1.702200e-02 -2.378202e-01 -3.048568e-01 -4.705232e-04 -4.606988e-04
+ 1.973730e-02  1.713979e-02 -2.370198e-01 -3.041016e-01  7.214373e-04  6.970166e-04
+ 1.973730e-02  1.725678e-02 -2.367676e-01 -3.038774e-01  4.224656e-07 -4.595683e-07
+ 1.973730e-02  1.737298e-02 -2.364548e-01 -3.036064e-01 -3.226856e-07 -2.043425e-07
+ 1.973730e-02  1.748841e-02 -2.360568e-01 -3.032626e-01  3.863619e-06  3.406859e-06
+ 1.973730e-02  1.760308e-02 -2.356057e-01 -3.028738e-01  2.506935e-05  2.465787e-05
+ 1.973730e-02  1.771701e-02 -2.352373e-01 -3.025678e-01  2.947518e-05  2.596284e-05
+ 1.973730e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.973730e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.352667e-01  3.025937e-01
+ 1.983877e-02  1.000000e-06 -2.521653e-01 -3.159081e-01 -8.911114e-08 -5.600626e-09
+ 1.983877e-02  2.006944e-03 -2.519390e-01 -3.158296e-01 -1.517368e-05 -1.355424e-07
+ 1.983877e-02  2.837833e-03 -2.517024e-01 -3.157484e-01 -1.942469e-07 -2.396366e-09
+ 1.983877e-02  3.475396e-03 -2.514953e-01 -3.156649e-01 -3.367101e-05 -5.029210e-07
+ 1.983877e-02  4.012887e-03 -2.512654e-01 -3.155786e-01  9.492471e-06  1.360878e-07
+ 1.983877e-02  4.486426e-03 -2.510753e-01 -3.154904e-01 -3.652533e-05 -9.112819e-07
+ 1.983877e-02  4.914538e-03 -2.509196e-01 -3.154004e-01  3.141840e-05  1.184936e-06
+ 1.983877e-02  5.308228e-03 -2.503742e-01 -3.152993e-01 -8.808191e-05 -3.016863e-06
+ 1.983877e-02  5.674665e-03 -2.501464e-01 -3.151986e-01  3.665011e-04  1.267923e-05
+ 1.983877e-02  6.018831e-03 -2.501281e-01 -3.151035e-01  2.527040e-06  1.668835e-07
+ 1.983877e-02  6.344350e-03 -2.501927e-01 -3.150088e-01 -1.642796e-04 -6.699891e-06
+ 1.983877e-02  6.653962e-03 -2.498575e-01 -3.148957e-01 -3.525193e-04 -9.292677e-06
+ 1.983877e-02  6.949792e-03 -2.498717e-01 -3.147953e-01  2.162876e-05  1.799022e-06
+ 1.983877e-02  7.233532e-03 -2.498287e-01 -3.146834e-01 -6.181718e-04 -2.972466e-05
+ 1.983877e-02  7.506553e-03 -2.494785e-01 -3.145517e-01  1.693521e-04  7.380429e-06
+ 1.983877e-02  7.769986e-03 -2.490733e-01 -3.144101e-01 -2.228117e-05 -1.664831e-06
+ 1.983877e-02  8.024774e-03 -2.489567e-01 -3.142622e-01  1.465863e-04  7.982078e-06
+ 1.983877e-02  8.271717e-03 -2.488943e-01 -3.140864e-01 -8.930257e-06 -2.664742e-06
+ 1.983877e-02  8.511498e-03 -2.489287e-01 -3.135150e-01 -1.311871e-04  2.897202e-04
+ 1.983877e-02  8.744705e-03 -2.484216e-01 -3.136779e-01 -3.870994e-05  6.210978e-05
+ 1.983877e-02  8.971852e-03 -2.471054e-01 -3.142354e-01  2.652882e-04 -6.974231e-05
+ 1.983877e-02  9.193388e-03 -2.472982e-01 -3.140256e-01 -9.646573e-06  3.454005e-06
+ 1.983877e-02  9.409709e-03 -2.472104e-01 -3.138951e-01 -1.997101e-06  2.403049e-06
+ 1.983877e-02  9.621167e-03 -2.471329e-01 -3.137574e-01  2.094270e-06  1.033855e-06
+ 1.983877e-02  9.828076e-03 -2.470389e-01 -3.136158e-01  1.619357e-06 -2.304583e-07
+ 1.983877e-02  1.003072e-02 -2.469338e-01 -3.134758e-01 -6.789114e-06 -1.837519e-06
+ 1.983877e-02  1.022935e-02 -2.467999e-01 -3.133317e-01  7.305903e-07  5.283994e-07
+ 1.983877e-02  1.042419e-02 -2.466609e-01 -3.131893e-01  4.698584e-07 -1.425804e-07
+ 1.983877e-02  1.061546e-02 -2.465158e-01 -3.130466e-01  9.159096e-07 -1.936482e-07
+ 1.983877e-02  1.080334e-02 -2.463664e-01 -3.129033e-01  4.091915e-08 -1.241733e-07
+ 1.983877e-02  1.098801e-02 -2.462115e-01 -3.127582e-01  1.780060e-07  6.020965e-09
+ 1.983877e-02  1.116962e-02 -2.460542e-01 -3.126118e-01  1.384380e-06  1.205648e-07
+ 1.983877e-02  1.134833e-02 -2.458954e-01 -3.124638e-01 -5.336252e-08  1.232391e-08
+ 1.983877e-02  1.152427e-02 -2.457336e-01 -3.123139e-01 -2.007562e-08  7.192590e-08
+ 1.983877e-02  1.169756e-02 -2.455702e-01 -3.121620e-01  9.375881e-07  1.711947e-07
+ 1.983877e-02  1.186832e-02 -2.454059e-01 -3.120082e-01 -2.296282e-07  3.319081e-07
+ 1.983877e-02  1.203666e-02 -2.452392e-01 -3.118521e-01 -1.151341e-07  2.667258e-07
+ 1.983877e-02  1.220268e-02 -2.450719e-01 -3.116926e-01 -3.431372e-07  1.256347e-06
+ 1.983877e-02  1.236647e-02 -2.449004e-01 -3.115355e-01  2.971476e-06 -4.268619e-06
+ 1.983877e-02  1.252811e-02 -2.447285e-01 -3.113729e-01  3.281941e-06 -4.242143e-06
+ 1.983877e-02  1.268770e-02 -2.445582e-01 -3.112034e-01 -1.535755e-06  2.138672e-06
+ 1.983877e-02  1.284531e-02 -2.443824e-01 -3.110403e-01  1.372811e-06 -1.759774e-06
+ 1.983877e-02  1.300100e-02 -2.442082e-01 -3.108650e-01 -3.537638e-06  4.802773e-06
+ 1.983877e-02  1.315485e-02 -2.440296e-01 -3.106917e-01 -4.078795e-06  4.823261e-06
+ 1.983877e-02  1.330692e-02 -2.438463e-01 -3.105177e-01  1.063139e-06 -1.320950e-06
+ 1.983877e-02  1.345728e-02 -2.436642e-01 -3.103331e-01  3.738839e-07  1.064891e-07
+ 1.983877e-02  1.360597e-02 -2.434794e-01 -3.101396e-01  1.261524e-07  7.030681e-06
+ 1.983877e-02  1.375306e-02 -2.432915e-01 -3.099871e-01 -9.320902e-09  4.577436e-08
+ 1.983877e-02  1.389858e-02 -2.431008e-01 -3.097943e-01  1.395741e-07  2.085302e-08
+ 1.983877e-02  1.404260e-02 -2.429074e-01 -3.096013e-01  1.661802e-08 -3.740616e-08
+ 1.983877e-02  1.418516e-02 -2.427098e-01 -3.094052e-01  1.544275e-07 -8.698603e-07
+ 1.983877e-02  1.432630e-02 -2.425074e-01 -3.092025e-01  7.108795e-07 -1.031318e-06
+ 1.983877e-02  1.446606e-02 -2.423011e-01 -3.089893e-01  2.219194e-07 -4.253584e-08
+ 1.983877e-02  1.460449e-02 -2.420816e-01 -3.087560e-01  4.925983e-08 -9.786321e-08
+ 1.983877e-02  1.474161e-02 -2.416886e-01 -3.081180e-01  1.320829e-05  6.221023e-05
+ 1.983877e-02  1.487748e-02 -2.416656e-01 -3.083429e-01 -5.093003e-07 -1.514940e-06
+ 1.983877e-02  1.501211e-02 -2.416327e-01 -3.086323e-01 -2.432738e-05 -7.504502e-05
+ 1.983877e-02  1.514554e-02 -2.413070e-01 -3.081168e-01 -8.495209e-08 -1.915940e-07
+ 1.983877e-02  1.527781e-02 -2.410692e-01 -3.078629e-01 -1.020694e-07  2.866218e-08
+ 1.983877e-02  1.540894e-02 -2.408307e-01 -3.076228e-01  6.594014e-08  4.821812e-08
+ 1.983877e-02  1.553897e-02 -2.405893e-01 -3.073861e-01  1.081223e-07  3.970782e-08
+ 1.983877e-02  1.566792e-02 -2.403416e-01 -3.071470e-01  3.652058e-08  2.396477e-07
+ 1.983877e-02  1.579582e-02 -2.400874e-01 -3.069106e-01  9.032132e-06  1.608296e-05
+ 1.983877e-02  1.592268e-02 -2.395742e-01 -3.064379e-01 -3.366522e-04 -2.816826e-04
+ 1.983877e-02  1.604855e-02 -2.395728e-01 -3.064149e-01  3.728625e-05  3.139349e-05
+ 1.983877e-02  1.617343e-02 -2.396805e-01 -3.064713e-01  2.542800e-04  1.943304e-04
+ 1.983877e-02  1.629736e-02 -2.391473e-01 -3.060028e-01 -5.956188e-07 -7.174212e-07
+ 1.983877e-02  1.642036e-02 -2.388348e-01 -3.057145e-01  2.464180e-08 -1.315291e-08
+ 1.983877e-02  1.654243e-02 -2.384982e-01 -3.054033e-01 -7.979484e-07 -6.859014e-07
+ 1.983877e-02  1.666362e-02 -2.378848e-01 -3.048407e-01 -7.938707e-04 -8.510677e-04
+ 1.983877e-02  1.678393e-02 -2.379008e-01 -3.048626e-01 -6.109235e-04 -6.383477e-04
+ 1.983877e-02  1.690338e-02 -2.378583e-01 -3.048559e-01 -7.644005e-04 -7.785573e-04
+ 1.983877e-02  1.702200e-02 -2.378328e-01 -3.048622e-01  4.238403e-06  4.017547e-06
+ 1.983877e-02  1.713979e-02 -2.368496e-01 -3.039268e-01 -7.089732e-06 -8.558483e-06
+ 1.983877e-02  1.725678e-02 -2.365812e-01 -3.036883e-01  1.594345e-08 -2.292566e-07
+ 1.983877e-02  1.737298e-02 -2.362365e-01 -3.033941e-01 -5.589537e-07  4.640839e-08
+ 1.983877e-02  1.748841e-02 -2.357876e-01 -3.030099e-01 -4.790099e-05 -4.243843e-05
+ 1.983877e-02  1.760308e-02 -2.352612e-01 -3.025646e-01  9.947802e-06  9.249164e-06
+ 1.983877e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.983877e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.352711e-01  3.025739e-01
+ 1.993973e-02  1.000000e-06 -2.524566e-01 -3.159219e-01 -6.984781e-06 -4.646942e-08
+ 1.993973e-02  2.006944e-03 -2.522150e-01 -3.158429e-01  4.334411e-07 -9.636028e-10
+ 1.993973e-02  2.837833e-03 -2.519881e-01 -3.157614e-01 -1.189366e-05 -1.604951e-07
+ 1.993973e-02  3.475396e-03 -2.517554e-01 -3.156771e-01  2.933744e-06  3.555027e-08
+ 1.993973e-02  4.012887e-03 -2.515410e-01 -3.155905e-01 -1.411219e-05 -2.925385e-07
+ 1.993973e-02  4.486426e-03 -2.513250e-01 -3.155011e-01  1.012587e-05  2.070741e-07
+ 1.993973e-02  4.914538e-03 -2.511083e-01 -3.154090e-01  9.470265e-08 -1.642013e-09
+ 1.993973e-02  5.308228e-03 -2.509752e-01 -3.153170e-01 -7.540891e-05 -2.555471e-06
+ 1.993973e-02  5.674665e-03 -2.505397e-01 -3.152136e-01 -1.656060e-04 -4.588232e-06
+ 1.993973e-02  6.018831e-03 -2.501654e-01 -3.151046e-01  6.207413e-04  2.313494e-05
+ 1.993973e-02  6.344350e-03 -2.501256e-01 -3.150056e-01 -3.072934e-05 -1.718639e-06
+ 1.993973e-02  6.653962e-03 -2.501564e-01 -3.149082e-01 -6.486932e-05 -3.461993e-06
+ 1.993973e-02  6.949792e-03 -2.498477e-01 -3.147898e-01 -5.139920e-05 -1.847917e-06
+ 1.993973e-02  7.233532e-03 -2.498744e-01 -3.146853e-01  3.184548e-05  3.129841e-06
+ 1.993973e-02  7.506553e-03 -2.498510e-01 -3.145673e-01 -2.731738e-04 -3.039947e-05
+ 1.993973e-02  7.769986e-03 -2.496009e-01 -3.144330e-01  1.133333e-04  7.646117e-06
+ 1.993973e-02  8.024774e-03 -2.491162e-01 -3.142787e-01 -6.508623e-05 -5.492351e-06
+ 1.993973e-02  8.271717e-03 -2.489709e-01 -3.141108e-01  1.765332e-04  8.518952e-06
+ 1.993973e-02  8.511498e-03 -2.489101e-01 -3.138702e-01  2.413203e-05  3.125459e-06
+ 1.993973e-02  8.744705e-03 -2.486502e-01 -3.134435e-01 -7.038822e-05  1.712367e-04
+ 1.993973e-02  8.971852e-03 -2.482475e-01 -3.138050e-01 -3.998714e-05  5.164407e-05
+ 1.993973e-02  9.193388e-03 -2.474352e-01 -3.140552e-01 -1.457222e-04  4.670515e-05
+ 1.993973e-02  9.409709e-03 -2.473263e-01 -3.139344e-01  8.385832e-07  6.131798e-07
+ 1.993973e-02  9.621167e-03 -2.472806e-01 -3.137866e-01 -8.049815e-07  3.587044e-07
+ 1.993973e-02  9.828076e-03 -2.471992e-01 -3.136367e-01  2.682684e-06  8.448958e-07
+ 1.993973e-02  1.003072e-02 -2.471076e-01 -3.134900e-01 -7.951183e-06 -3.467547e-06
+ 1.993973e-02  1.022935e-02 -2.469772e-01 -3.133382e-01 -5.227796e-08 -6.299596e-07
+ 1.993973e-02  1.042419e-02 -2.468417e-01 -3.131903e-01  3.409250e-07  5.741471e-07
+ 1.993973e-02  1.061546e-02 -2.466922e-01 -3.130416e-01  5.965192e-07  6.692927e-07
+ 1.993973e-02  1.080334e-02 -2.465376e-01 -3.128941e-01  2.135462e-06 -6.694432e-08
+ 1.993973e-02  1.098801e-02 -2.463798e-01 -3.127451e-01 -1.100094e-07  5.161751e-08
+ 1.993973e-02  1.116962e-02 -2.462167e-01 -3.125950e-01  7.731462e-08  4.706211e-08
+ 1.993973e-02  1.134833e-02 -2.460514e-01 -3.124435e-01  1.200230e-06  1.868435e-07
+ 1.993973e-02  1.152427e-02 -2.458847e-01 -3.122906e-01  1.899376e-08  3.796222e-08
+ 1.993973e-02  1.169756e-02 -2.457151e-01 -3.121355e-01  2.037273e-07  1.024198e-07
+ 1.993973e-02  1.186832e-02 -2.455438e-01 -3.119789e-01  5.526455e-07  1.682112e-07
+ 1.993973e-02  1.203666e-02 -2.453721e-01 -3.118191e-01 -2.959816e-08  5.677965e-08
+ 1.993973e-02  1.220268e-02 -2.451968e-01 -3.116589e-01  9.831128e-07 -6.865403e-07
+ 1.993973e-02  1.236647e-02 -2.450186e-01 -3.114987e-01  1.414988e-07 -9.911263e-09
+ 1.993973e-02  1.252811e-02 -2.448436e-01 -3.113294e-01 -3.507729e-07  4.083355e-07
+ 1.993973e-02  1.268770e-02 -2.446639e-01 -3.111612e-01  1.249632e-06  7.700763e-07
+ 1.993973e-02  1.284531e-02 -2.444815e-01 -3.109982e-01 -2.174840e-06  1.097920e-05
+ 1.993973e-02  1.300100e-02 -2.443025e-01 -3.108147e-01 -3.514564e-07  3.554457e-07
+ 1.993973e-02  1.315485e-02 -2.441137e-01 -3.106420e-01  2.374395e-06 -2.182192e-06
+ 1.993973e-02  1.330692e-02 -2.439266e-01 -3.104619e-01  2.208435e-07 -3.286384e-07
+ 1.993973e-02  1.345728e-02 -2.437366e-01 -3.102759e-01  5.712005e-07 -4.158148e-07
+ 1.993973e-02  1.360597e-02 -2.435310e-01 -3.099717e-01  9.278205e-06  7.427316e-05
+ 1.993973e-02  1.375306e-02 -2.433517e-01 -3.099272e-01  7.900356e-08 -1.220372e-07
+ 1.993973e-02  1.389858e-02 -2.431534e-01 -3.097284e-01  4.182814e-07  3.580401e-08
+ 1.993973e-02  1.404260e-02 -2.429531e-01 -3.095327e-01 -1.820641e-07 -3.218737e-07
+ 1.993973e-02  1.418516e-02 -2.427477e-01 -3.093316e-01  1.474063e-06  5.258990e-06
+ 1.993973e-02  1.432630e-02 -2.425383e-01 -3.091246e-01 -7.246536e-08  7.564579e-08
+ 1.993973e-02  1.446606e-02 -2.423234e-01 -3.089060e-01  4.377958e-06 -5.969420e-06
+ 1.993973e-02  1.460449e-02 -2.420927e-01 -3.086646e-01 -5.780782e-08  8.911903e-08
+ 1.993973e-02  1.474161e-02 -2.415563e-01 -3.078933e-01  1.506494e-04  2.558677e-04
+ 1.993973e-02  1.487748e-02 -2.416750e-01 -3.082738e-01  3.421770e-07  1.984708e-07
+ 1.993973e-02  1.501211e-02 -2.416299e-01 -3.085046e-01  3.080173e-05  8.050816e-05
+ 1.993973e-02  1.514554e-02 -2.412986e-01 -3.080282e-01 -3.489319e-07 -6.483144e-07
+ 1.993973e-02  1.527781e-02 -2.410540e-01 -3.077726e-01 -5.517553e-09  2.879523e-08
+ 1.993973e-02  1.540894e-02 -2.408059e-01 -3.075275e-01 -2.422051e-09 -5.259708e-08
+ 1.993973e-02  1.553897e-02 -2.405535e-01 -3.072841e-01 -1.377372e-06 -1.737402e-06
+ 1.993973e-02  1.566792e-02 -2.402905e-01 -3.070362e-01  3.342241e-07  7.323745e-08
+ 1.993973e-02  1.579582e-02 -2.400219e-01 -3.068102e-01 -2.108948e-05 -2.883024e-05
+ 1.993973e-02  1.592268e-02 -2.396981e-01 -3.064839e-01  8.779754e-05  7.346703e-05
+ 1.993973e-02  1.604855e-02 -2.398589e-01 -3.065800e-01  2.019412e-04  1.438965e-04
+ 1.993973e-02  1.617343e-02 -2.393551e-01 -3.061454e-01  1.614430e-05  1.290997e-05
+ 1.993973e-02  1.629736e-02 -2.390478e-01 -3.058648e-01 -5.876227e-08  6.797061e-09
+ 1.993973e-02  1.642036e-02 -2.387312e-01 -3.055759e-01 -9.206861e-08 -1.029374e-07
+ 1.993973e-02  1.654243e-02 -2.383541e-01 -3.052291e-01  2.218691e-06  2.030746e-06
+ 1.993973e-02  1.666362e-02 -2.379133e-01 -3.048352e-01 -3.932514e-08 -5.160550e-07
+ 1.993973e-02  1.678393e-02 -2.378851e-01 -3.048334e-01  1.967208e-04  1.704668e-04
+ 1.993973e-02  1.690338e-02 -2.377320e-01 -3.047099e-01 -7.477606e-04 -7.489823e-04
+ 1.993973e-02  1.702200e-02 -2.372738e-01 -3.042677e-01  9.726899e-05  1.152809e-04
+ 1.993973e-02  1.713979e-02 -2.366771e-01 -3.037349e-01  5.321409e-06  6.323134e-06
+ 1.993973e-02  1.725678e-02 -2.363836e-01 -3.034877e-01 -6.564743e-07 -4.035690e-07
+ 1.993973e-02  1.737298e-02 -2.360059e-01 -3.031680e-01 -5.011282e-06 -4.694043e-06
+ 1.993973e-02  1.748841e-02 -2.355536e-01 -3.027839e-01 -3.980767e-06 -2.667926e-06
+ 1.993973e-02  1.760308e-02 -2.350619e-01 -3.023763e-01 -1.586214e-06 -1.458292e-06
+ 1.993973e-02  1.771701e-02 -2.344745e-01 -3.018983e-01 -2.344745e-01 -3.018983e-01
+ 1.993973e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 1.993973e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.004018e-02  1.000000e-06 -2.527368e-01 -3.159316e-01  6.926228e-07  1.643225e-09
+ 2.004018e-02  2.006944e-03 -2.524968e-01 -3.158522e-01 -4.232937e-06 -5.341399e-08
+ 2.004018e-02  2.837833e-03 -2.522579e-01 -3.157702e-01  1.518536e-06  1.182277e-08
+ 2.004018e-02  3.475396e-03 -2.520288e-01 -3.156856e-01 -5.266485e-06 -9.752270e-08
+ 2.004018e-02  4.012887e-03 -2.518007e-01 -3.155982e-01  3.355592e-06  6.199934e-08
+ 2.004018e-02  4.486426e-03 -2.515790e-01 -3.155081e-01 -1.708656e-06 -3.446277e-08
+ 2.004018e-02  4.914538e-03 -2.513725e-01 -3.154156e-01 -6.272564e-06 -1.747974e-07
+ 2.004018e-02  5.308228e-03 -2.511407e-01 -3.153196e-01  1.256441e-06 -6.080991e-09
+ 2.004018e-02  5.674665e-03 -2.510066e-01 -3.152244e-01 -1.593783e-04 -5.343945e-06
+ 2.004018e-02  6.018831e-03 -2.506722e-01 -3.151190e-01 -4.422616e-05 -1.252164e-06
+ 2.004018e-02  6.344350e-03 -2.501885e-01 -3.150027e-01  5.613776e-04  2.307131e-05
+ 2.004018e-02  6.653962e-03 -2.501266e-01 -3.148991e-01 -2.950364e-05 -1.940912e-06
+ 2.004018e-02  6.949792e-03 -2.501502e-01 -3.147983e-01  1.409407e-04  4.325085e-06
+ 2.004018e-02  7.233532e-03 -2.498422e-01 -3.146761e-01  8.044078e-05  4.951363e-06
+ 2.004018e-02  7.506553e-03 -2.498747e-01 -3.145657e-01  2.779352e-05  3.330324e-06
+ 2.004018e-02  7.769986e-03 -2.498614e-01 -3.144399e-01 -6.465415e-05 -2.209887e-05
+ 2.004018e-02  8.024774e-03 -2.496726e-01 -3.143002e-01  2.559951e-05  4.189903e-06
+ 2.004018e-02  8.271717e-03 -2.491559e-01 -3.141309e-01 -7.484193e-05 -8.855618e-06
+ 2.004018e-02  8.511498e-03 -2.490019e-01 -3.139373e-01  1.431107e-04  4.467413e-06
+ 2.004018e-02  8.744705e-03 -2.489826e-01 -3.128692e-01  1.833121e-04  8.019584e-05
+ 2.004018e-02  8.971852e-03 -2.484843e-01 -3.136344e-01  5.323206e-05 -5.702328e-05
+ 2.004018e-02  9.193388e-03 -2.470480e-01 -3.142735e-01  5.957291e-05 -1.729977e-05
+ 2.004018e-02  9.409709e-03 -2.474943e-01 -3.139436e-01 -4.281952e-05  1.885396e-05
+ 2.004018e-02  9.621167e-03 -2.473982e-01 -3.138219e-01 -5.745982e-06  3.401271e-06
+ 2.004018e-02  9.828076e-03 -2.473514e-01 -3.136635e-01  5.710041e-06  1.590813e-06
+ 2.004018e-02  1.003072e-02 -2.472743e-01 -3.135041e-01  2.465277e-06  1.466490e-06
+ 2.004018e-02  1.022935e-02 -2.471533e-01 -3.133439e-01  2.797510e-06  6.510866e-07
+ 2.004018e-02  1.042419e-02 -2.470166e-01 -3.131876e-01  2.478696e-06  1.544429e-07
+ 2.004018e-02  1.061546e-02 -2.468678e-01 -3.130323e-01 -6.332600e-07  1.562068e-06
+ 2.004018e-02  1.080334e-02 -2.467076e-01 -3.128798e-01  3.201911e-07 -1.123100e-07
+ 2.004018e-02  1.098801e-02 -2.465434e-01 -3.127263e-01  1.915682e-06  1.968647e-07
+ 2.004018e-02  1.116962e-02 -2.463764e-01 -3.125724e-01 -4.251090e-08  8.415778e-09
+ 2.004018e-02  1.134833e-02 -2.462045e-01 -3.124174e-01  2.666011e-07  5.640080e-08
+ 2.004018e-02  1.152427e-02 -2.460310e-01 -3.122609e-01  9.100141e-07  1.265306e-07
+ 2.004018e-02  1.169756e-02 -2.458561e-01 -3.121029e-01 -5.792588e-09  1.835311e-07
+ 2.004018e-02  1.186832e-02 -2.456782e-01 -3.119428e-01  5.913423e-07  3.133646e-07
+ 2.004018e-02  1.203666e-02 -2.454997e-01 -3.117804e-01 -1.609255e-06  2.472545e-06
+ 2.004018e-02  1.220268e-02 -2.453166e-01 -3.116198e-01  1.790414e-06 -2.792134e-06
+ 2.004018e-02  1.236647e-02 -2.451343e-01 -3.114528e-01  4.283394e-06 -4.401144e-06
+ 2.004018e-02  1.252811e-02 -2.449520e-01 -3.112811e-01 -5.113176e-07  1.355044e-06
+ 2.004018e-02  1.268770e-02 -2.447651e-01 -3.111123e-01  2.051530e-06 -2.880962e-06
+ 2.004018e-02  1.284531e-02 -2.445809e-01 -3.109273e-01 -1.361256e-06  2.909640e-06
+ 2.004018e-02  1.300100e-02 -2.443882e-01 -3.107620e-01 -2.725739e-06  3.722516e-06
+ 2.004018e-02  1.315485e-02 -2.441948e-01 -3.105839e-01  7.204325e-07 -2.543143e-07
+ 2.004018e-02  1.330692e-02 -2.440017e-01 -3.104002e-01 -1.307091e-07 -1.471090e-08
+ 2.004018e-02  1.345728e-02 -2.438043e-01 -3.102119e-01 -3.737859e-08 -4.502486e-09
+ 2.004018e-02  1.360597e-02 -2.435923e-01 -3.099443e-01  5.243025e-07  6.978810e-07
+ 2.004018e-02  1.375306e-02 -2.434074e-01 -3.098621e-01  1.562479e-09 -1.772352e-08
+ 2.004018e-02  1.389858e-02 -2.432011e-01 -3.096565e-01  3.885858e-07 -1.759686e-08
+ 2.004018e-02  1.404260e-02 -2.429931e-01 -3.094562e-01  2.891948e-06  5.340895e-06
+ 2.004018e-02  1.418516e-02 -2.427798e-01 -3.092497e-01 -2.174451e-06 -7.504738e-06
+ 2.004018e-02  1.432630e-02 -2.425633e-01 -3.090408e-01 -1.882363e-07  1.987895e-07
+ 2.004018e-02  1.446606e-02 -2.423377e-01 -3.088218e-01  2.309959e-08 -3.976949e-07
+ 2.004018e-02  1.460449e-02 -2.420968e-01 -3.085632e-01  4.481295e-07 -9.878381e-08
+ 2.004018e-02  1.474161e-02 -2.417134e-01 -3.080079e-01 -1.442548e-04 -1.526172e-04
+ 2.004018e-02  1.487748e-02 -2.416846e-01 -3.082079e-01 -1.621183e-07 -6.145095e-07
+ 2.004018e-02  1.501211e-02 -2.416356e-01 -3.084178e-01  2.579793e-05  6.023731e-05
+ 2.004018e-02  1.514554e-02 -2.412810e-01 -3.079255e-01  1.069245e-05  1.447002e-05
+ 2.004018e-02  1.527781e-02 -2.410344e-01 -3.076770e-01  1.455649e-06  1.774791e-06
+ 2.004018e-02  1.540894e-02 -2.407742e-01 -3.074245e-01 -3.819269e-08 -4.828630e-09
+ 2.004018e-02  1.553897e-02 -2.405068e-01 -3.071721e-01 -4.995899e-07 -4.010826e-07
+ 2.004018e-02  1.566792e-02 -2.401917e-01 -3.068854e-01  4.667500e-05  3.780451e-05
+ 2.004018e-02  1.579582e-02 -2.398113e-01 -3.065608e-01  1.174526e-05  9.598251e-06
+ 2.004018e-02  1.592268e-02 -2.400452e-01 -3.067041e-01 -1.712096e-04 -1.370356e-04
+ 2.004018e-02  1.604855e-02 -2.395736e-01 -3.062888e-01  1.811481e-05  1.331682e-05
+ 2.004018e-02  1.617343e-02 -2.392627e-01 -3.060099e-01  4.779720e-07 -2.661959e-07
+ 2.004018e-02  1.629736e-02 -2.389514e-01 -3.057281e-01  2.169236e-07  2.032900e-07
+ 2.004018e-02  1.642036e-02 -2.386196e-01 -3.054281e-01  6.818264e-08  1.259332e-07
+ 2.004018e-02  1.654243e-02 -2.370813e-01 -3.038866e-01  8.238457e-04  8.645516e-04
+ 2.004018e-02  1.666362e-02 -2.378940e-01 -3.047787e-01 -7.954297e-04 -8.433717e-04
+ 2.004018e-02  1.678393e-02 -2.379010e-01 -3.048283e-01  8.399645e-07  2.202751e-07
+ 2.004018e-02  1.690338e-02 -2.378831e-01 -3.048477e-01 -2.482586e-06 -3.078958e-06
+ 2.004018e-02  1.702200e-02 -2.368204e-01 -3.038338e-01  5.998735e-06  5.867233e-06
+ 2.004018e-02  1.713979e-02 -2.365028e-01 -3.035473e-01  3.843227e-07 -2.394756e-07
+ 2.004018e-02  1.725678e-02 -2.361745e-01 -3.032752e-01  5.993224e-07  9.974572e-08
+ 2.004018e-02  1.737298e-02 -2.357217e-01 -3.028928e-01  7.818360e-06  7.228134e-06
+ 2.004018e-02  1.748841e-02 -2.352844e-01 -3.025306e-01  2.966676e-06  7.213422e-07
+ 2.004018e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.004018e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.352874e-01  3.025313e-01
+ 2.014012e-02  1.000000e-06 -2.530165e-01 -3.159372e-01 -9.789355e-07 -1.093937e-08
+ 2.014012e-02  2.006944e-03 -2.527699e-01 -3.158575e-01  7.891186e-07  5.721856e-09
+ 2.014012e-02  2.837833e-03 -2.525296e-01 -3.157750e-01 -1.645814e-06 -3.043263e-08
+ 2.014012e-02  3.475396e-03 -2.522929e-01 -3.156898e-01  1.278312e-06  2.739604e-08
+ 2.014012e-02  4.012887e-03 -2.520616e-01 -3.156019e-01 -1.004696e-06 -2.183193e-08
+ 2.014012e-02  4.486426e-03 -2.518367e-01 -3.155112e-01 -3.578185e-07 -1.015280e-08
+ 2.014012e-02  4.914538e-03 -2.516096e-01 -3.154176e-01  1.493779e-06  3.671015e-08
+ 2.014012e-02  5.308228e-03 -2.514075e-01 -3.153219e-01 -2.309084e-05 -7.519001e-07
+ 2.014012e-02  5.674665e-03 -2.511695e-01 -3.152220e-01 -2.396876e-06 -1.389053e-07
+ 2.014012e-02  6.018831e-03 -2.510257e-01 -3.151230e-01 -1.785791e-04 -6.051326e-06
+ 2.014012e-02  6.344350e-03 -2.507550e-01 -3.150156e-01  2.852351e-05  9.451220e-07
+ 2.014012e-02  6.653962e-03 -2.502119e-01 -3.148927e-01  4.200856e-04  1.915986e-05
+ 2.014012e-02  6.949792e-03 -2.501285e-01 -3.147837e-01 -1.935021e-05 -1.870941e-06
+ 2.014012e-02  7.233532e-03 -2.501446e-01 -3.146792e-01  3.276183e-04  9.126287e-06
+ 2.014012e-02  7.506553e-03 -2.498318e-01 -3.145541e-01  1.255953e-04  6.348807e-06
+ 2.014012e-02  7.769986e-03 -2.498745e-01 -3.144368e-01  2.069665e-05  2.777466e-06
+ 2.014012e-02  8.024774e-03 -2.498639e-01 -3.143032e-01 -2.341175e-04 -1.650288e-05
+ 2.014012e-02  8.271717e-03 -2.496600e-01 -3.141606e-01  5.424574e-05  2.762622e-06
+ 2.014012e-02  8.511498e-03 -2.491697e-01 -3.139630e-01 -7.107097e-05 -5.483497e-06
+ 2.014012e-02  8.744705e-03 -2.489981e-01 -3.136950e-01  1.016766e-04  2.545837e-06
+ 2.014012e-02  8.971852e-03 -2.487020e-01 -3.134535e-01  2.528519e-05 -2.324273e-05
+ 2.014012e-02  9.193388e-03 -2.483418e-01 -3.137435e-01 -4.502805e-08  1.244951e-08
+ 2.014012e-02  9.409709e-03 -2.474512e-01 -3.140365e-01  2.582765e-04 -1.009782e-04
+ 2.014012e-02  9.621167e-03 -2.475082e-01 -3.138524e-01  1.793375e-06  4.099029e-06
+ 2.014012e-02  9.828076e-03 -2.474862e-01 -3.136922e-01 -1.870740e-06  4.129039e-06
+ 2.014012e-02  1.003072e-02 -2.474287e-01 -3.135192e-01 -3.092574e-06  9.525531e-07
+ 2.014012e-02  1.022935e-02 -2.473300e-01 -3.133486e-01  5.030657e-07  7.277812e-07
+ 2.014012e-02  1.042419e-02 -2.471912e-01 -3.131808e-01  6.677706e-08 -2.208810e-07
+ 2.014012e-02  1.061546e-02 -2.470387e-01 -3.130179e-01  1.982419e-06  1.545150e-06
+ 2.014012e-02  1.080334e-02 -2.468757e-01 -3.128597e-01 -2.756384e-07  9.261801e-08
+ 2.014012e-02  1.098801e-02 -2.467054e-01 -3.127013e-01  3.236279e-08  6.480367e-08
+ 2.014012e-02  1.116962e-02 -2.465309e-01 -3.125433e-01  1.595880e-06  2.385571e-07
+ 2.014012e-02  1.134833e-02 -2.463544e-01 -3.123847e-01 -1.003013e-07  9.200492e-08
+ 2.014012e-02  1.152427e-02 -2.461736e-01 -3.122247e-01  8.361787e-07  3.391926e-07
+ 2.014012e-02  1.169756e-02 -2.459918e-01 -3.120637e-01  1.599183e-07  1.089507e-07
+ 2.014012e-02  1.186832e-02 -2.458088e-01 -3.118999e-01 -7.326926e-07  8.620458e-07
+ 2.014012e-02  1.203666e-02 -2.456211e-01 -3.117371e-01  3.781891e-06 -3.433856e-06
+ 2.014012e-02  1.220268e-02 -2.454329e-01 -3.115720e-01  1.364174e-06 -2.017901e-06
+ 2.014012e-02  1.236647e-02 -2.452464e-01 -3.113985e-01 -1.493424e-06  1.498809e-07
+ 2.014012e-02  1.252811e-02 -2.450547e-01 -3.112300e-01  5.896894e-07 -7.718547e-07
+ 2.014012e-02  1.268770e-02 -2.448637e-01 -3.110533e-01 -3.666565e-06  4.479290e-06
+ 2.014012e-02  1.284531e-02 -2.446698e-01 -3.108741e-01 -2.224797e-06  3.344807e-06
+ 2.014012e-02  1.300100e-02 -2.444701e-01 -3.107023e-01  2.221898e-06 -2.637938e-06
+ 2.014012e-02  1.315485e-02 -2.442729e-01 -3.105175e-01 -2.484664e-07  1.403273e-07
+ 2.014012e-02  1.330692e-02 -2.440709e-01 -3.103325e-01  7.147781e-07  4.069011e-07
+ 2.014012e-02  1.345728e-02 -2.438671e-01 -3.101411e-01 -2.629551e-08 -2.537957e-08
+ 2.014012e-02  1.360597e-02 -2.436556e-01 -3.099245e-01 -1.670239e-06 -9.826161e-06
+ 2.014012e-02  1.375306e-02 -2.434589e-01 -3.097925e-01 -2.690026e-08  1.686166e-08
+ 2.014012e-02  1.389858e-02 -2.432438e-01 -3.095783e-01  2.080845e-07  2.139833e-08
+ 2.014012e-02  1.404260e-02 -2.430269e-01 -3.093716e-01  3.031862e-08  2.063382e-08
+ 2.014012e-02  1.418516e-02 -2.428068e-01 -3.091620e-01 -3.359260e-06 -1.002816e-05
+ 2.014012e-02  1.432630e-02 -2.425829e-01 -3.089506e-01 -1.365276e-08  4.738403e-08
+ 2.014012e-02  1.446606e-02 -2.423487e-01 -3.087233e-01 -8.234837e-08 -2.175946e-09
+ 2.014012e-02  1.460449e-02 -2.420950e-01 -3.084421e-01  4.613499e-06 -1.085060e-05
+ 2.014012e-02  1.474161e-02 -2.417293e-01 -3.078878e-01 -1.026574e-06  2.943658e-05
+ 2.014012e-02  1.487748e-02 -2.416939e-01 -3.081436e-01 -1.171864e-07 -3.045453e-07
+ 2.014012e-02  1.501211e-02 -2.416422e-01 -3.083448e-01  2.441863e-05  7.428044e-05
+ 2.014012e-02  1.514554e-02 -2.413249e-01 -3.079113e-01 -5.696941e-06 -7.896419e-06
+ 2.014012e-02  1.527781e-02 -2.410058e-01 -3.075713e-01  1.823179e-07  3.263242e-07
+ 2.014012e-02  1.540894e-02 -2.407320e-01 -3.073106e-01 -3.840138e-07  4.819341e-08
+ 2.014012e-02  1.553897e-02 -2.404268e-01 -3.070314e-01  1.724722e-05  1.419017e-05
+ 2.014012e-02  1.566792e-02 -2.400034e-01 -3.066557e-01  1.958047e-04  1.633522e-04
+ 2.014012e-02  1.579582e-02 -2.402241e-01 -3.067986e-01 -3.116553e-05 -2.473586e-05
+ 2.014012e-02  1.592268e-02 -2.397911e-01 -3.064240e-01 -3.450977e-06 -9.055784e-07
+ 2.014012e-02  1.604855e-02 -2.394725e-01 -3.061404e-01  3.024577e-07  7.596910e-07
+ 2.014012e-02  1.617343e-02 -2.391678e-01 -3.058690e-01  8.924252e-08 -3.847495e-08
+ 2.014012e-02  1.629736e-02 -2.388515e-01 -3.055864e-01  2.262252e-08  1.330816e-07
+ 2.014012e-02  1.642036e-02 -2.384657e-01 -3.052385e-01  2.671991e-05  2.541069e-05
+ 2.014012e-02  1.654243e-02 -2.379720e-01 -3.048041e-01 -4.164078e-06 -7.802483e-06
+ 2.014012e-02  1.666362e-02 -2.379575e-01 -3.048174e-01 -5.189452e-04 -5.592171e-04
+ 2.014012e-02  1.678393e-02 -2.379375e-01 -3.048349e-01 -6.299540e-04 -6.728696e-04
+ 2.014012e-02  1.690338e-02 -2.378779e-01 -3.048211e-01 -5.978113e-04 -6.282559e-04
+ 2.014012e-02  1.702200e-02 -2.366103e-01 -3.035899e-01  1.497930e-05  1.580376e-05
+ 2.014012e-02  1.713979e-02 -2.363216e-01 -3.033526e-01  1.747341e-05  1.717797e-05
+ 2.014012e-02  1.725678e-02 -2.359379e-01 -3.030353e-01 -3.313253e-06 -3.240953e-06
+ 2.014012e-02  1.737298e-02 -2.354867e-01 -3.026600e-01 -4.099481e-06 -3.903226e-06
+ 2.014012e-02  1.748841e-02 -2.349256e-01 -3.021932e-01  6.644990e-05  5.927945e-05
+ 2.014012e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.014012e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.349921e-01  3.022525e-01
+ 2.023958e-02  1.000000e-06 -2.532907e-01 -3.159388e-01  2.600562e-08  1.536343e-10
+ 2.023958e-02  2.006944e-03 -2.530404e-01 -3.158587e-01 -1.770778e-07 -5.475302e-09
+ 2.023958e-02  2.837833e-03 -2.527955e-01 -3.157758e-01  3.122203e-07  7.109487e-10
+ 2.023958e-02  3.475396e-03 -2.525547e-01 -3.156900e-01 -2.372248e-07 -4.304549e-09
+ 2.023958e-02  4.012887e-03 -2.523195e-01 -3.156015e-01 -5.627850e-08  3.960765e-09
+ 2.023958e-02  4.486426e-03 -2.520862e-01 -3.155101e-01  5.610595e-07  6.648841e-09
+ 2.023958e-02  4.914538e-03 -2.518629e-01 -3.154160e-01 -4.885949e-06 -1.459792e-07
+ 2.023958e-02  5.308228e-03 -2.516324e-01 -3.153188e-01  1.206422e-06  2.211787e-08
+ 2.023958e-02  5.674665e-03 -2.514310e-01 -3.152196e-01 -3.278638e-05 -1.169683e-06
+ 2.023958e-02  6.018831e-03 -2.511912e-01 -3.151159e-01 -3.083020e-06 -1.381617e-07
+ 2.023958e-02  6.344350e-03 -2.510374e-01 -3.150130e-01 -1.595060e-04 -5.982708e-06
+ 2.023958e-02  6.653962e-03 -2.508075e-01 -3.149031e-01  8.403185e-05  4.190163e-06
+ 2.023958e-02  6.949792e-03 -2.502290e-01 -3.147739e-01  3.125031e-04  1.614421e-05
+ 2.023958e-02  7.233532e-03 -2.501299e-01 -3.146594e-01 -8.908112e-06 -1.079366e-06
+ 2.023958e-02  7.506553e-03 -2.501417e-01 -3.145510e-01  3.552833e-04  1.082592e-05
+ 2.023958e-02  7.769986e-03 -2.498258e-01 -3.144228e-01  1.406249e-04  5.788896e-06
+ 2.023958e-02  8.024774e-03 -2.498748e-01 -3.142990e-01  2.046427e-05  2.909193e-06
+ 2.023958e-02  8.271717e-03 -2.498560e-01 -3.141613e-01 -2.998680e-04 -2.674270e-05
+ 2.023958e-02  8.511498e-03 -2.496580e-01 -3.139968e-01  4.924329e-05  4.507390e-06
+ 2.023958e-02  8.744705e-03 -2.491830e-01 -3.137724e-01 -8.797855e-05 -1.243206e-05
+ 2.023958e-02  8.971852e-03 -2.489392e-01 -3.130966e-01  1.830983e-05  3.289442e-04
+ 2.023958e-02  9.193388e-03 -2.485532e-01 -3.135732e-01  4.912093e-05 -4.088687e-05
+ 2.023958e-02  9.409709e-03 -2.470598e-01 -3.142937e-01  4.814482e-04 -1.489949e-04
+ 2.023958e-02  9.621167e-03 -2.476379e-01 -3.138643e-01 -1.721416e-04  9.544650e-05
+ 2.023958e-02  9.828076e-03 -2.475853e-01 -3.137350e-01  5.651473e-06  1.137834e-06
+ 2.023958e-02  1.003072e-02 -2.475719e-01 -3.135401e-01  9.926320e-06  3.091805e-06
+ 2.023958e-02  1.022935e-02 -2.474984e-01 -3.133530e-01 -3.462585e-06 -3.576965e-06
+ 2.023958e-02  1.042419e-02 -2.473660e-01 -3.131701e-01 -1.635237e-07  3.458823e-07
+ 2.023958e-02  1.061546e-02 -2.472102e-01 -3.129982e-01 -1.409921e-06  3.697579e-07
+ 2.023958e-02  1.080334e-02 -2.470385e-01 -3.128329e-01  2.855212e-06  4.756147e-07
+ 2.023958e-02  1.098801e-02 -2.468647e-01 -3.126696e-01 -8.522458e-08  1.837692e-08
+ 2.023958e-02  1.116962e-02 -2.466826e-01 -3.125073e-01  6.896517e-07  7.063287e-08
+ 2.023958e-02  1.134833e-02 -2.464987e-01 -3.123448e-01  6.942564e-07  5.659663e-08
+ 2.023958e-02  1.152427e-02 -2.463125e-01 -3.121820e-01 -3.548433e-08 -2.926193e-08
+ 2.023958e-02  1.169756e-02 -2.461233e-01 -3.120169e-01  1.785697e-06  1.866089e-07
+ 2.023958e-02  1.186832e-02 -2.459330e-01 -3.118517e-01 -3.512647e-07  2.891529e-07
+ 2.023958e-02  1.203666e-02 -2.457381e-01 -3.116872e-01 -4.087789e-08  2.045311e-08
+ 2.023958e-02  1.220268e-02 -2.455460e-01 -3.115145e-01  1.191631e-06 -6.538782e-07
+ 2.023958e-02  1.236647e-02 -2.453508e-01 -3.113422e-01 -6.415972e-07 -7.004101e-07
+ 2.023958e-02  1.252811e-02 -2.451529e-01 -3.111687e-01  1.079692e-06 -1.740714e-07
+ 2.023958e-02  1.268770e-02 -2.449567e-01 -3.109884e-01 -9.231586e-08  1.394209e-08
+ 2.023958e-02  1.284531e-02 -2.447521e-01 -3.108117e-01  1.068636e-06 -1.288654e-06
+ 2.023958e-02  1.300100e-02 -2.445486e-01 -3.106339e-01  2.507851e-07 -8.557112e-08
+ 2.023958e-02  1.315485e-02 -2.443434e-01 -3.104472e-01  1.576512e-07 -2.556437e-07
+ 2.023958e-02  1.330692e-02 -2.441353e-01 -3.102576e-01  6.838971e-07  1.327669e-07
+ 2.023958e-02  1.345728e-02 -2.439245e-01 -3.100639e-01  1.435236e-07 -1.239904e-07
+ 2.023958e-02  1.360597e-02 -2.437055e-01 -3.098463e-01  1.774596e-07 -5.553051e-07
+ 2.023958e-02  1.375306e-02 -2.435057e-01 -3.097171e-01  6.540346e-08  6.246236e-07
+ 2.023958e-02  1.389858e-02 -2.432814e-01 -3.094935e-01  5.446548e-08  6.381685e-09
+ 2.023958e-02  1.404260e-02 -2.430574e-01 -3.092840e-01  2.840321e-09 -1.197843e-08
+ 2.023958e-02  1.418516e-02 -2.428288e-01 -3.090689e-01 -5.388032e-06 -1.456773e-05
+ 2.023958e-02  1.432630e-02 -2.425967e-01 -3.088528e-01  1.565405e-07  2.293565e-07
+ 2.023958e-02  1.446606e-02 -2.423530e-01 -3.086188e-01 -7.866283e-08 -1.441648e-08
+ 2.023958e-02  1.460449e-02 -2.420729e-01 -3.083362e-01 -5.883496e-06  3.422988e-05
+ 2.023958e-02  1.474161e-02 -2.417286e-01 -3.079236e-01  1.464313e-07 -6.288192e-07
+ 2.023958e-02  1.487748e-02 -2.417024e-01 -3.080814e-01  3.935357e-07  2.103527e-07
+ 2.023958e-02  1.501211e-02 -2.416483e-01 -3.082841e-01  2.627840e-05  8.688579e-05
+ 2.023958e-02  1.514554e-02 -2.412630e-01 -3.077511e-01 -1.953984e-07 -2.638890e-07
+ 2.023958e-02  1.527781e-02 -2.409685e-01 -3.074570e-01 -8.038094e-07 -7.476472e-07
+ 2.023958e-02  1.540894e-02 -2.406661e-01 -3.071788e-01 -3.870633e-06 -2.184022e-06
+ 2.023958e-02  1.553897e-02 -2.402331e-01 -3.068010e-01 -1.866921e-04 -2.166013e-04
+ 2.023958e-02  1.566792e-02 -2.403950e-01 -3.068983e-01 -1.524969e-05 -1.192303e-05
+ 2.023958e-02  1.579582e-02 -2.399344e-01 -3.064469e-01  1.063601e-05  2.949687e-05
+ 2.023958e-02  1.592268e-02 -2.396844e-01 -3.062672e-01  1.079042e-06  1.085545e-06
+ 2.023958e-02  1.604855e-02 -2.393820e-01 -3.059993e-01  1.030134e-07  1.229247e-07
+ 2.023958e-02  1.617343e-02 -2.390754e-01 -3.057292e-01  1.541888e-07  1.773240e-07
+ 2.023958e-02  1.629736e-02 -2.387465e-01 -3.054385e-01 -8.625556e-07 -1.012644e-06
+ 2.023958e-02  1.642036e-02 -2.374875e-01 -3.041882e-01 -4.512168e-04 -4.953060e-04
+ 2.023958e-02  1.654243e-02 -2.380029e-01 -3.047991e-01  2.764131e-06  2.844688e-07
+ 2.023958e-02  1.666362e-02 -2.379730e-01 -3.048106e-01  1.337416e-06 -1.804848e-06
+ 2.023958e-02  1.678393e-02 -2.379353e-01 -3.048188e-01  1.692812e-06  6.060836e-06
+ 2.023958e-02  1.690338e-02 -2.376288e-01 -3.045584e-01  1.428279e-04  1.269617e-04
+ 2.023958e-02  1.702200e-02 -2.364280e-01 -3.033834e-01  2.912790e-06  3.023664e-06
+ 2.023958e-02  1.713979e-02 -2.361093e-01 -3.031275e-01 -1.467947e-06 -1.224927e-07
+ 2.023958e-02  1.725678e-02 -2.357123e-01 -3.028036e-01 -3.768255e-07 -5.967329e-07
+ 2.023958e-02  1.737298e-02 -2.353170e-01 -3.024828e-01  1.341051e-06  1.680373e-06
+ 2.023958e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.023958e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.353184e-01  3.024844e-01
+ 2.033854e-02  1.000000e-06 -2.535605e-01 -3.159363e-01  2.044255e-07  1.172676e-09
+ 2.033854e-02  2.006944e-03 -2.533069e-01 -3.158558e-01 -3.743632e-07 -8.935550e-09
+ 2.033854e-02  2.837833e-03 -2.530572e-01 -3.157724e-01  1.583131e-07  2.176808e-10
+ 2.033854e-02  3.475396e-03 -2.528131e-01 -3.156861e-01 -3.180642e-07 -1.324146e-08
+ 2.033854e-02  4.012887e-03 -2.525718e-01 -3.155969e-01  2.965529e-07  8.139068e-09
+ 2.033854e-02  4.486426e-03 -2.523371e-01 -3.155049e-01 -1.411145e-06 -4.254352e-08
+ 2.033854e-02  4.914538e-03 -2.521023e-01 -3.154100e-01  8.644934e-07  3.183717e-08
+ 2.033854e-02  5.308228e-03 -2.518793e-01 -3.153125e-01 -7.968484e-06 -2.754986e-07
+ 2.033854e-02  5.674665e-03 -2.516464e-01 -3.152116e-01  5.805919e-07  5.909820e-09
+ 2.033854e-02  6.018831e-03 -2.514440e-01 -3.151088e-01 -3.653065e-05 -1.465729e-06
+ 2.033854e-02  6.344350e-03 -2.512031e-01 -3.150012e-01 -2.307305e-06 -1.091207e-07
+ 2.033854e-02  6.653962e-03 -2.510427e-01 -3.148943e-01 -1.437037e-04 -6.054234e-06
+ 2.033854e-02  6.949792e-03 -2.508232e-01 -3.147807e-01  7.889503e-05  4.537226e-06
+ 2.033854e-02  7.233532e-03 -2.502332e-01 -3.146455e-01  2.869096e-04  1.637001e-05
+ 2.033854e-02  7.506553e-03 -2.501299e-01 -3.145263e-01 -7.795084e-06 -1.103638e-06
+ 2.033854e-02  7.769986e-03 -2.501420e-01 -3.144138e-01  3.543104e-04  1.105129e-05
+ 2.033854e-02  8.024774e-03 -2.498330e-01 -3.142808e-01  1.227798e-04  6.535375e-06
+ 2.033854e-02  8.271717e-03 -2.498733e-01 -3.141553e-01  3.234464e-05  1.371413e-06
+ 2.033854e-02  8.511498e-03 -2.498508e-01 -3.140025e-01 -4.643972e-04 -3.657461e-05
+ 2.033854e-02  8.744705e-03 -2.496329e-01 -3.138089e-01  9.176694e-05 -6.495346e-06
+ 2.033854e-02  8.971852e-03 -2.491859e-01 -3.134861e-01  6.794410e-06 -8.219972e-05
+ 2.033854e-02  9.193388e-03 -2.487707e-01 -3.134289e-01  2.619032e-05 -6.276193e-05
+ 2.033854e-02  9.409709e-03 -2.484173e-01 -3.136758e-01 -1.240634e-05  2.318402e-05
+ 2.033854e-02  9.621167e-03 -2.474606e-01 -3.140308e-01  4.938476e-04 -2.438503e-04
+ 2.033854e-02  9.828076e-03 -2.477001e-01 -3.137474e-01 -1.994017e-07  4.103106e-06
+ 2.033854e-02  1.003072e-02 -2.477037e-01 -3.135744e-01  6.572996e-07  9.294370e-06
+ 2.033854e-02  1.022935e-02 -2.476636e-01 -3.133585e-01 -4.383685e-06 -2.183443e-06
+ 2.033854e-02  1.042419e-02 -2.475351e-01 -3.131544e-01  6.233761e-06  1.388000e-06
+ 2.033854e-02  1.061546e-02 -2.473800e-01 -3.129717e-01 -3.144257e-07  7.851120e-08
+ 2.033854e-02  1.080334e-02 -2.472008e-01 -3.127989e-01 -1.240177e-06  1.108966e-07
+ 2.033854e-02  1.098801e-02 -2.470177e-01 -3.126302e-01  2.638407e-06  3.121512e-07
+ 2.033854e-02  1.116962e-02 -2.468312e-01 -3.124637e-01 -2.130535e-08  4.793908e-08
+ 2.033854e-02  1.134833e-02 -2.466385e-01 -3.122978e-01  1.897094e-06  4.077695e-07
+ 2.033854e-02  1.152427e-02 -2.464459e-01 -3.121313e-01 -2.808567e-07  1.907564e-07
+ 2.033854e-02  1.169756e-02 -2.462505e-01 -3.119636e-01 -1.847995e-06  2.232172e-06
+ 2.033854e-02  1.186832e-02 -2.460503e-01 -3.117980e-01  2.934645e-06 -2.093251e-06
+ 2.033854e-02  1.203666e-02 -2.458527e-01 -3.116264e-01  3.088484e-06 -4.027181e-06
+ 2.033854e-02  1.220268e-02 -2.456525e-01 -3.114515e-01  9.125545e-07  1.225042e-06
+ 2.033854e-02  1.236647e-02 -2.454499e-01 -3.112792e-01  1.892206e-06 -2.730567e-06
+ 2.033854e-02  1.252811e-02 -2.452487e-01 -3.110984e-01 -1.811827e-06  2.209103e-06
+ 2.033854e-02  1.268770e-02 -2.450407e-01 -3.109210e-01 -2.473546e-06  3.281771e-06
+ 2.033854e-02  1.284531e-02 -2.448312e-01 -3.107401e-01  1.441265e-07 -1.887995e-07
+ 2.033854e-02  1.300100e-02 -2.446221e-01 -3.105589e-01  6.028120e-07  1.595659e-07
+ 2.033854e-02  1.315485e-02 -2.444096e-01 -3.103694e-01  1.822688e-08  1.791049e-08
+ 2.033854e-02  1.330692e-02 -2.441953e-01 -3.101758e-01  2.270208e-06 -2.807365e-06
+ 2.033854e-02  1.345728e-02 -2.439767e-01 -3.099800e-01 -9.241205e-09 -5.400730e-08
+ 2.033854e-02  1.360597e-02 -2.437498e-01 -3.097593e-01  1.501171e-07 -9.629043e-09
+ 2.033854e-02  1.375306e-02 -2.435474e-01 -3.096342e-01  4.294030e-07  1.490595e-06
+ 2.033854e-02  1.389858e-02 -2.433138e-01 -3.094022e-01 -6.341832e-09 -3.541550e-08
+ 2.033854e-02  1.404260e-02 -2.430821e-01 -3.091887e-01  7.359138e-08  1.919231e-08
+ 2.033854e-02  1.418516e-02 -2.428466e-01 -3.089723e-01 -1.048865e-06 -2.621315e-06
+ 2.033854e-02  1.432630e-02 -2.426050e-01 -3.087484e-01 -1.153115e-07  1.267960e-07
+ 2.033854e-02  1.446606e-02 -2.423504e-01 -3.085058e-01 -7.480300e-08  7.115547e-08
+ 2.033854e-02  1.460449e-02 -2.420456e-01 -3.082029e-01 -1.440024e-07 -4.154941e-07
+ 2.033854e-02  1.474161e-02 -2.417253e-01 -3.079572e-01  1.132627e-05 -1.141555e-04
+ 2.033854e-02  1.487748e-02 -2.417102e-01 -3.080235e-01  3.200610e-07 -5.797273e-08
+ 2.033854e-02  1.501211e-02 -2.416651e-01 -3.082183e-01 -1.877806e-06 -2.978553e-06
+ 2.033854e-02  1.514554e-02 -2.412307e-01 -3.076336e-01  7.436706e-07  8.007009e-07
+ 2.033854e-02  1.527781e-02 -2.409065e-01 -3.073209e-01 -6.938163e-06 -5.002064e-06
+ 2.033854e-02  1.540894e-02 -2.404752e-01 -3.069479e-01 -7.078783e-05 -5.548396e-05
+ 2.033854e-02  1.553897e-02 -2.406372e-01 -3.070333e-01  1.068928e-04  8.104597e-05
+ 2.033854e-02  1.566792e-02 -2.402741e-01 -3.067247e-01 -5.555988e-05 -4.464792e-05
+ 2.033854e-02  1.579582e-02 -2.398896e-01 -3.063755e-01  1.284823e-05  2.314070e-05
+ 2.033854e-02  1.592268e-02 -2.395997e-01 -3.061254e-01 -2.666011e-07 -1.294795e-07
+ 2.033854e-02  1.604855e-02 -2.392975e-01 -3.058633e-01  1.784306e-06  8.065481e-07
+ 2.033854e-02  1.617343e-02 -2.389799e-01 -3.055848e-01 -1.091198e-06 -9.930136e-07
+ 2.033854e-02  1.629736e-02 -2.386152e-01 -3.052636e-01  9.843810e-06  9.360238e-06
+ 2.033854e-02  1.642036e-02 -2.359995e-01 -3.025423e-01  5.499960e-04  5.996261e-04
+ 2.033854e-02  1.654243e-02 -2.380287e-01 -3.047887e-01  1.890979e-07 -1.945733e-08
+ 2.033854e-02  1.666362e-02 -2.379939e-01 -3.048023e-01  2.135430e-07  2.948836e-07
+ 2.033854e-02  1.678393e-02 -2.373478e-01 -3.041689e-01  1.276297e-04  1.268801e-04
+ 2.033854e-02  1.690338e-02 -2.365735e-01 -3.034527e-01 -1.344417e-05 -1.493818e-05
+ 2.033854e-02  1.702200e-02 -2.362461e-01 -3.031785e-01 -1.009409e-05 -1.150683e-05
+ 2.033854e-02  1.713979e-02 -2.359006e-01 -3.029051e-01 -3.208160e-06 -3.393021e-06
+ 2.033854e-02  1.725678e-02 -2.353565e-01 -3.024541e-01 -2.288056e-07 -2.325868e-06
+ 2.033854e-02  1.737298e-02 -2.348967e-01 -3.020746e-01  1.049603e-06  8.315480e-07
+ 2.033854e-02  1.748841e-02 -2.343644e-01 -3.016329e-01 -4.772952e-05 -3.497773e-05
+ 2.033854e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.343167e-01  3.015979e-01
+ 2.033854e-02  1.771701e-02 -2.343700e-01 -3.016989e-01 -2.343700e-01 -3.016989e-01
+ 2.033854e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.033854e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.043703e-02  1.000000e-06 -2.538269e-01 -3.159296e-01 -9.124371e-07 -1.348439e-08
+ 2.043703e-02  2.006944e-03 -2.535683e-01 -3.158487e-01  2.196437e-07 -1.410411e-09
+ 2.043703e-02  2.837833e-03 -2.533157e-01 -3.157648e-01 -6.302054e-07 -1.490783e-08
+ 2.043703e-02  3.475396e-03 -2.530661e-01 -3.156780e-01  2.615692e-07  4.973464e-09
+ 2.043703e-02  4.012887e-03 -2.528224e-01 -3.155882e-01 -7.326592e-07 -1.417789e-08
+ 2.043703e-02  4.486426e-03 -2.525805e-01 -3.154956e-01  4.412064e-07  1.043682e-08
+ 2.043703e-02  4.914538e-03 -2.523456e-01 -3.154001e-01 -2.085718e-06 -5.778503e-08
+ 2.043703e-02  5.308228e-03 -2.521095e-01 -3.153015e-01  8.695661e-07  5.100542e-08
+ 2.043703e-02  5.674665e-03 -2.518857e-01 -3.152004e-01 -9.148607e-06 -3.448990e-07
+ 2.043703e-02  6.018831e-03 -2.516510e-01 -3.150957e-01  3.671069e-07 -6.466342e-09
+ 2.043703e-02  6.344350e-03 -2.514468e-01 -3.149891e-01 -3.717546e-05 -1.650998e-06
+ 2.043703e-02  6.653962e-03 -2.512040e-01 -3.148775e-01 -2.217581e-06 -1.080204e-07
+ 2.043703e-02  6.949792e-03 -2.510419e-01 -3.147669e-01 -1.468359e-04 -6.774733e-06
+ 2.043703e-02  7.233532e-03 -2.508119e-01 -3.146486e-01  7.702131e-05  4.700122e-06
+ 2.043703e-02  7.506553e-03 -2.502216e-01 -3.145072e-01  3.470361e-04  2.108379e-05
+ 2.043703e-02  7.769986e-03 -2.501284e-01 -3.143846e-01 -1.718381e-05 -2.810200e-06
+ 2.043703e-02  8.024774e-03 -2.501455e-01 -3.142674e-01  2.863150e-04  9.063409e-06
+ 2.043703e-02  8.271717e-03 -2.498432e-01 -3.141285e-01  7.197256e-05  6.090665e-06
+ 2.043703e-02  8.511498e-03 -2.498671e-01 -3.140038e-01  4.368054e-05 -3.108252e-06
+ 2.043703e-02  8.744705e-03 -2.498379e-01 -3.138311e-01 -6.127882e-04 -4.993809e-05
+ 2.043703e-02  8.971852e-03 -2.495708e-01 -3.135955e-01  1.156772e-04  1.571488e-06
+ 2.043703e-02  9.193388e-03 -2.489359e-01 -3.132357e-01  5.086996e-05  1.087929e-04
+ 2.043703e-02  9.409709e-03 -2.486301e-01 -3.135117e-01  3.735891e-06  3.414504e-06
+ 2.043703e-02  9.621167e-03 -2.470521e-01 -3.143165e-01  6.526780e-04 -2.276235e-04
+ 2.043703e-02  9.828076e-03 -2.477466e-01 -3.137990e-01 -1.598753e-04  1.103144e-04
+ 2.043703e-02  1.003072e-02 -2.478135e-01 -3.136135e-01 -6.073895e-06  9.507267e-06
+ 2.043703e-02  1.022935e-02 -2.478257e-01 -3.133665e-01  2.546596e-06  3.246322e-06
+ 2.043703e-02  1.042419e-02 -2.477087e-01 -3.131347e-01 -1.187867e-06 -2.116308e-07
+ 2.043703e-02  1.061546e-02 -2.475435e-01 -3.129369e-01  7.825355e-06  8.478639e-07
+ 2.043703e-02  1.080334e-02 -2.473602e-01 -3.127564e-01 -1.393951e-06  1.346953e-07
+ 2.043703e-02  1.098801e-02 -2.471680e-01 -3.125824e-01  1.060885e-06  2.034119e-07
+ 2.043703e-02  1.116962e-02 -2.469730e-01 -3.124119e-01  4.465348e-07  3.577607e-07
+ 2.043703e-02  1.134833e-02 -2.467750e-01 -3.122427e-01 -5.439122e-07  1.512993e-07
+ 2.043703e-02  1.152427e-02 -2.465736e-01 -3.120725e-01  1.422768e-06  1.899078e-06
+ 2.043703e-02  1.169756e-02 -2.463703e-01 -3.119051e-01  2.797755e-06 -3.742894e-06
+ 2.043703e-02  1.186832e-02 -2.461647e-01 -3.117341e-01  3.807627e-06 -3.444886e-06
+ 2.043703e-02  1.203666e-02 -2.459615e-01 -3.115578e-01 -1.689798e-06  2.179603e-06
+ 2.043703e-02  1.220268e-02 -2.457533e-01 -3.113853e-01  9.641850e-07 -1.532118e-06
+ 2.043703e-02  1.236647e-02 -2.455460e-01 -3.112048e-01 -3.027095e-06  4.487818e-06
+ 2.043703e-02  1.252811e-02 -2.453355e-01 -3.110258e-01 -3.574123e-06  4.131316e-06
+ 2.043703e-02  1.268770e-02 -2.451197e-01 -3.108465e-01  2.404623e-06 -1.594445e-06
+ 2.043703e-02  1.284531e-02 -2.449063e-01 -3.106602e-01  6.836606e-08 -7.909773e-08
+ 2.043703e-02  1.300100e-02 -2.446899e-01 -3.104795e-01  5.622415e-07 -1.148335e-06
+ 2.043703e-02  1.315485e-02 -2.444705e-01 -3.102846e-01 -5.239163e-08 -7.724736e-08
+ 2.043703e-02  1.330692e-02 -2.442481e-01 -3.100906e-01  1.707479e-07 -1.139156e-07
+ 2.043703e-02  1.345728e-02 -2.440236e-01 -3.098892e-01  5.935651e-08 -2.177946e-08
+ 2.043703e-02  1.360597e-02 -2.437885e-01 -3.096642e-01  8.324118e-08  1.166223e-07
+ 2.043703e-02  1.375306e-02 -2.435841e-01 -3.095445e-01  2.352926e-06  7.379733e-06
+ 2.043703e-02  1.389858e-02 -2.433411e-01 -3.093046e-01 -1.201304e-07 -1.030601e-07
+ 2.043703e-02  1.404260e-02 -2.431012e-01 -3.090865e-01  1.614091e-07 -1.619179e-08
+ 2.043703e-02  1.418516e-02 -2.428609e-01 -3.088735e-01  8.589986e-06  2.101417e-05
+ 2.043703e-02  1.432630e-02 -2.426069e-01 -3.086359e-01 -4.715567e-07  2.669339e-07
+ 2.043703e-02  1.446606e-02 -2.423397e-01 -3.083827e-01 -6.843936e-08 -1.157612e-07
+ 2.043703e-02  1.460449e-02 -2.418591e-01 -3.078150e-01 -9.499304e-05 -1.607758e-04
+ 2.043703e-02  1.474161e-02 -2.417452e-01 -3.077912e-01 -8.924556e-06  3.608174e-05
+ 2.043703e-02  1.487748e-02 -2.417166e-01 -3.079958e-01  3.468672e-07 -1.236046e-05
+ 2.043703e-02  1.501211e-02 -2.416629e-01 -3.081578e-01 -2.304718e-04 -3.861670e-04
+ 2.043703e-02  1.514554e-02 -2.411806e-01 -3.074994e-01 -1.118329e-05 -9.198737e-06
+ 2.043703e-02  1.527781e-02 -2.407342e-01 -3.070997e-01 -1.190968e-04 -8.847379e-05
+ 2.043703e-02  1.540894e-02 -2.408865e-01 -3.071748e-01  1.756138e-04  1.354354e-04
+ 2.043703e-02  1.553897e-02 -2.404529e-01 -3.068060e-01  7.562253e-06  5.725589e-06
+ 2.043703e-02  1.566792e-02 -2.401462e-01 -3.065440e-01  8.557143e-08 -1.284981e-06
+ 2.043703e-02  1.579582e-02 -2.398228e-01 -3.062535e-01 -5.549031e-06 -9.953360e-06
+ 2.043703e-02  1.592268e-02 -2.395158e-01 -3.059833e-01  1.525422e-07 -1.082623e-08
+ 2.043703e-02  1.604855e-02 -2.392079e-01 -3.057176e-01 -1.934253e-06 -2.336797e-06
+ 2.043703e-02  1.617343e-02 -2.388767e-01 -3.054314e-01 -1.841295e-07 -1.375984e-07
+ 2.043703e-02  1.629736e-02 -2.384475e-01 -3.050485e-01 -4.231303e-06 -4.575580e-06
+ 2.043703e-02  1.642036e-02 -2.380918e-01 -3.047636e-01  5.175945e-07 -4.223405e-07
+ 2.043703e-02  1.654243e-02 -2.380535e-01 -3.047785e-01 -4.126256e-08 -3.982733e-08
+ 2.043703e-02  1.666362e-02 -2.380175e-01 -3.047950e-01 -8.006341e-04 -8.467746e-04
+ 2.043703e-02  1.678393e-02 -2.379712e-01 -3.048156e-01 -1.080568e-05 -1.078056e-06
+ 2.043703e-02  1.690338e-02 -2.363486e-01 -3.031902e-01 -1.588694e-05 -1.738736e-05
+ 2.043703e-02  1.702200e-02 -2.360058e-01 -3.029203e-01  3.827410e-06  3.406924e-06
+ 2.043703e-02  1.713979e-02 -2.356344e-01 -3.026276e-01  1.273216e-05  1.221995e-05
+ 2.043703e-02  1.725678e-02 -2.353924e-01 -3.024565e-01 -5.424231e-05 -4.888166e-05
+ 2.043703e-02  1.737298e-02 -2.345187e-01 -3.017137e-01 -8.092716e-07 -1.369422e-06
+ 2.043703e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.043703e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.345179e-01  3.017123e-01
+ 2.053505e-02  1.000000e-06 -2.540878e-01 -3.159187e-01  9.713794e-08 -9.218999e-10
+ 2.053505e-02  2.006944e-03 -2.538266e-01 -3.158374e-01 -9.076978e-07 -1.795668e-08
+ 2.053505e-02  2.837833e-03 -2.535688e-01 -3.157530e-01  2.201250e-07  1.437356e-09
+ 2.053505e-02  3.475396e-03 -2.533166e-01 -3.156657e-01 -6.585031e-07 -1.549731e-08
+ 2.053505e-02  4.012887e-03 -2.530671e-01 -3.155753e-01  2.692009e-07  6.884390e-09
+ 2.053505e-02  4.486426e-03 -2.528230e-01 -3.154820e-01 -7.629275e-07 -2.103668e-08
+ 2.053505e-02  4.914538e-03 -2.525806e-01 -3.153858e-01  4.408141e-07 -1.633615e-09
+ 2.053505e-02  5.308228e-03 -2.523448e-01 -3.152866e-01 -2.111972e-06 -9.382898e-08
+ 2.053505e-02  5.674665e-03 -2.521074e-01 -3.151844e-01  7.738902e-07 -2.114496e-09
+ 2.053505e-02  6.018831e-03 -2.518820e-01 -3.150795e-01 -8.479364e-06 -3.636582e-07
+ 2.053505e-02  6.344350e-03 -2.516458e-01 -3.149710e-01  6.095619e-07 -1.220644e-08
+ 2.053505e-02  6.653962e-03 -2.514395e-01 -3.148607e-01 -3.547450e-05 -1.743990e-06
+ 2.053505e-02  6.949792e-03 -2.511935e-01 -3.147449e-01 -3.005210e-06 -1.794912e-07
+ 2.053505e-02  7.233532e-03 -2.510347e-01 -3.146309e-01 -1.670680e-04 -8.243798e-06
+ 2.053505e-02  7.506553e-03 -2.507744e-01 -3.145067e-01  6.067922e-05  3.638160e-06
+ 2.053505e-02  7.769986e-03 -2.502008e-01 -3.143593e-01  4.914861e-04  3.122248e-05
+ 2.053505e-02  8.024774e-03 -2.501261e-01 -3.142346e-01 -2.796965e-05 -5.096351e-06
+ 2.053505e-02  8.271717e-03 -2.501513e-01 -3.141113e-01  3.916654e-05  1.723562e-06
+ 2.053505e-02  8.511498e-03 -2.498518e-01 -3.139661e-01 -9.431217e-05 -3.164317e-06
+ 2.053505e-02  8.744705e-03 -2.498902e-01 -3.137790e-01 -7.362846e-06  1.448802e-05
+ 2.053505e-02  8.971852e-03 -2.498053e-01 -3.136437e-01 -5.165225e-04 -1.521424e-05
+ 2.053505e-02  9.193388e-03 -2.491780e-01 -3.128551e-01 -5.923430e-05  2.193549e-04
+ 2.053505e-02  9.409709e-03 -2.488308e-01 -3.133825e-01  5.502361e-06 -2.242840e-05
+ 2.053505e-02  9.621167e-03 -2.484800e-01 -3.136178e-01 -2.640011e-06  5.119612e-05
+ 2.053505e-02  9.828076e-03 -2.474866e-01 -3.140291e-01  5.783004e-04 -3.440355e-04
+ 2.053505e-02  1.003072e-02 -2.479018e-01 -3.136354e-01 -1.144164e-04  1.186843e-04
+ 2.053505e-02  1.022935e-02 -2.479729e-01 -3.133876e-01 -3.072920e-06  4.662140e-06
+ 2.053505e-02  1.042419e-02 -2.478819e-01 -3.131066e-01  4.880289e-07 -8.189453e-07
+ 2.053505e-02  1.061546e-02 -2.477098e-01 -3.128926e-01 -7.696347e-07 -1.093425e-07
+ 2.053505e-02  1.080334e-02 -2.475109e-01 -3.127037e-01  4.387686e-06  5.979385e-07
+ 2.053505e-02  1.098801e-02 -2.473152e-01 -3.125253e-01 -2.620462e-07  1.369072e-07
+ 2.053505e-02  1.116962e-02 -2.471091e-01 -3.123513e-01  3.916800e-06  4.369396e-07
+ 2.053505e-02  1.134833e-02 -2.469053e-01 -3.121785e-01 -7.323068e-07  5.861515e-07
+ 2.053505e-02  1.152427e-02 -2.466952e-01 -3.120082e-01  2.600411e-06 -2.978503e-06
+ 2.053505e-02  1.169756e-02 -2.464844e-01 -3.118373e-01  1.592267e-06 -1.527999e-06
+ 2.053505e-02  1.186832e-02 -2.462762e-01 -3.116602e-01 -2.090355e-06  2.259939e-06
+ 2.053505e-02  1.203666e-02 -2.460625e-01 -3.114865e-01  1.760524e-06 -1.052070e-07
+ 2.053505e-02  1.220268e-02 -2.458502e-01 -3.113071e-01 -3.020279e-06  3.614913e-06
+ 2.053505e-02  1.236647e-02 -2.456350e-01 -3.111258e-01 -5.785525e-07  2.292984e-06
+ 2.053505e-02  1.252811e-02 -2.454151e-01 -3.109478e-01  2.187194e-06 -2.559955e-06
+ 2.053505e-02  1.268770e-02 -2.451960e-01 -3.107621e-01  7.114707e-07 -1.418285e-07
+ 2.053505e-02  1.284531e-02 -2.449748e-01 -3.105744e-01  2.403446e-07 -3.583083e-07
+ 2.053505e-02  1.300100e-02 -2.447538e-01 -3.103969e-01  9.530507e-08 -3.653627e-07
+ 2.053505e-02  1.315485e-02 -2.445258e-01 -3.101934e-01  1.434427e-07 -9.229048e-09
+ 2.053505e-02  1.330692e-02 -2.442971e-01 -3.099961e-01 -1.041214e-07 -3.119829e-08
+ 2.053505e-02  1.345728e-02 -2.440655e-01 -3.097906e-01 -9.896771e-08  6.464145e-07
+ 2.053505e-02  1.360597e-02 -2.438209e-01 -3.095596e-01 -3.461009e-08  2.137324e-08
+ 2.053505e-02  1.375306e-02 -2.436144e-01 -3.094445e-01  1.157503e-06  2.675158e-06
+ 2.053505e-02  1.389858e-02 -2.433616e-01 -3.091979e-01  6.868451e-08  1.073913e-07
+ 2.053505e-02  1.404260e-02 -2.431145e-01 -3.089771e-01  1.884975e-07  5.001817e-08
+ 2.053505e-02  1.418516e-02 -2.428648e-01 -3.087573e-01 -8.063182e-07 -1.820414e-06
+ 2.053505e-02  1.432630e-02 -2.426011e-01 -3.085147e-01  2.234477e-07 -8.581668e-08
+ 2.053505e-02  1.446606e-02 -2.423167e-01 -3.082460e-01 -2.749240e-07 -4.456564e-07
+ 2.053505e-02  1.460449e-02 -2.417872e-01 -3.076023e-01 -7.429339e-06 -4.348196e-05
+ 2.053505e-02  1.474161e-02 -2.417499e-01 -3.077299e-01  1.570132e-05 -1.197925e-04
+ 2.053505e-02  1.487748e-02 -2.417290e-01 -3.078922e-01  1.835920e-06 -1.306822e-06
+ 2.053505e-02  1.501211e-02 -2.416552e-01 -3.080528e-01 -6.555919e-05 -8.039322e-05
+ 2.053505e-02  1.514554e-02 -2.409768e-01 -3.072450e-01 -2.054941e-04 -1.540068e-04
+ 2.053505e-02  1.527781e-02 -2.411328e-01 -3.073114e-01  2.507106e-04  2.213648e-04
+ 2.053505e-02  1.540894e-02 -2.406644e-01 -3.069112e-01  1.281418e-05  8.402886e-06
+ 2.053505e-02  1.553897e-02 -2.403667e-01 -3.066550e-01  9.771380e-07  9.633931e-08
+ 2.053505e-02  1.566792e-02 -2.400706e-01 -3.064033e-01  1.441738e-05  1.851792e-05
+ 2.053505e-02  1.579582e-02 -2.397383e-01 -3.061007e-01  9.187685e-07  7.340697e-07
+ 2.053505e-02  1.592268e-02 -2.394307e-01 -3.058362e-01 -2.029001e-06 -4.023084e-07
+ 2.053505e-02  1.604855e-02 -2.391156e-01 -3.055699e-01 -3.542876e-08 -1.536465e-09
+ 2.053505e-02  1.617343e-02 -2.387863e-01 -3.052887e-01  1.397032e-06  1.444095e-06
+ 2.053505e-02  1.629736e-02 -2.369443e-01 -3.033632e-01  4.488759e-04  6.015343e-04
+ 2.053505e-02  1.642036e-02 -2.381210e-01 -3.047520e-01 -8.787209e-07 -7.226735e-07
+ 2.053505e-02  1.654243e-02 -2.380782e-01 -3.047683e-01  7.555811e-07  1.019919e-06
+ 2.053505e-02  1.666362e-02 -2.372723e-01 -3.039611e-01 -6.307683e-04 -6.666153e-04
+ 2.053505e-02  1.678393e-02 -2.365376e-01 -3.032948e-01  7.648702e-04  7.986081e-04
+ 2.053505e-02  1.690338e-02 -2.361371e-01 -3.029457e-01 -8.825228e-06 -9.199393e-06
+ 2.053505e-02  1.702200e-02 -2.357695e-01 -3.026611e-01 -1.134819e-05 -1.109368e-05
+ 2.053505e-02  1.713979e-02 -2.354126e-01 -3.023881e-01 -1.554703e-06 -1.065506e-06
+ 2.053505e-02  1.725678e-02 -2.348298e-01 -3.019154e-01  1.225639e-04  1.338935e-04
+ 2.053505e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.053505e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.349524e-01  3.020493e-01
+ 2.063260e-02  1.000000e-06 -2.543457e-01 -3.159036e-01 -1.044989e-06 -1.660981e-08
+ 2.063260e-02  2.006944e-03 -2.540795e-01 -3.158219e-01  1.236068e-07 -1.042425e-08
+ 2.063260e-02  2.837833e-03 -2.538190e-01 -3.157371e-01 -7.459374e-07 -1.901780e-08
+ 2.063260e-02  3.475396e-03 -2.535616e-01 -3.156491e-01  2.046392e-07  1.096601e-08
+ 2.063260e-02  4.012887e-03 -2.533093e-01 -3.155582e-01 -4.428857e-07 -1.251609e-08
+ 2.063260e-02  4.486426e-03 -2.530596e-01 -3.154642e-01  1.926030e-07  8.269090e-09
+ 2.063260e-02  4.914538e-03 -2.528147e-01 -3.153673e-01 -3.907910e-07 -1.308284e-08
+ 2.063260e-02  5.308228e-03 -2.525716e-01 -3.152674e-01  2.941265e-07  1.650386e-08
+ 2.063260e-02  5.674665e-03 -2.523342e-01 -3.151646e-01 -1.181558e-06 -4.875735e-08
+ 2.063260e-02  6.018831e-03 -2.520961e-01 -3.150586e-01  8.191414e-07  5.231570e-08
+ 2.063260e-02  6.344350e-03 -2.518677e-01 -3.149499e-01 -5.816902e-06 -2.743718e-07
+ 2.063260e-02  6.653962e-03 -2.516306e-01 -3.148375e-01  1.269534e-06  9.555330e-08
+ 2.063260e-02  6.949792e-03 -2.514214e-01 -3.147233e-01 -2.926601e-05 -1.606533e-06
+ 2.063260e-02  7.233532e-03 -2.511724e-01 -3.146034e-01 -2.660169e-06 -2.043476e-07
+ 2.063260e-02  7.506553e-03 -2.510204e-01 -3.144863e-01 -1.794552e-04 -9.931834e-06
+ 2.063260e-02  7.769986e-03 -2.506986e-01 -3.143544e-01 -1.208609e-05 -6.306018e-07
+ 2.063260e-02  8.024774e-03 -2.501771e-01 -3.142023e-01  6.108509e-04  4.362877e-05
+ 2.063260e-02  8.271717e-03 -2.501244e-01 -3.140769e-01 -3.059888e-05 -5.868900e-06
+ 2.063260e-02  8.511498e-03 -2.501625e-01 -3.139431e-01 -1.073028e-04 -8.959023e-06
+ 2.063260e-02  8.744705e-03 -2.498646e-01 -3.138016e-01 -2.907004e-04 -1.265593e-05
+ 2.063260e-02  8.971852e-03 -2.498734e-01 -3.136138e-01  1.280843e-05  2.027732e-06
+ 2.063260e-02  9.193388e-03 -2.497497e-01 -3.134044e-01 -2.155450e-04 -5.714079e-05
+ 2.063260e-02  9.409709e-03 -2.489504e-01 -3.132457e-01  1.190042e-04  5.911045e-06
+ 2.063260e-02  9.621167e-03 -2.487120e-01 -3.134518e-01 -4.056425e-05  4.858571e-05
+ 2.063260e-02  9.828076e-03 -2.470313e-01 -3.143335e-01  5.228568e-04 -1.862918e-04
+ 2.063260e-02  1.003072e-02 -2.478204e-01 -3.137806e-01  1.973591e-04 -1.589625e-04
+ 2.063260e-02  1.022935e-02 -2.480984e-01 -3.134070e-01  2.092202e-05  7.453216e-06
+ 2.063260e-02  1.042419e-02 -2.480482e-01 -3.130680e-01  1.799070e-05  2.140071e-06
+ 2.063260e-02  1.061546e-02 -2.478732e-01 -3.128352e-01 -3.973626e-06  2.406212e-07
+ 2.063260e-02  1.080334e-02 -2.476593e-01 -3.126396e-01  3.433175e-06  2.807532e-07
+ 2.063260e-02  1.098801e-02 -2.474528e-01 -3.124579e-01  7.671451e-07  1.993679e-08
+ 2.063260e-02  1.116962e-02 -2.472423e-01 -3.122808e-01 -9.429159e-07  5.407451e-08
+ 2.063260e-02  1.134833e-02 -2.470266e-01 -3.121073e-01  4.187854e-06 -1.200237e-06
+ 2.063260e-02  1.152427e-02 -2.468111e-01 -3.119357e-01  1.869859e-07 -3.656063e-07
+ 2.063260e-02  1.169756e-02 -2.465956e-01 -3.117577e-01  1.714610e-06  1.536786e-06
+ 2.063260e-02  1.186832e-02 -2.463788e-01 -3.115827e-01  9.526706e-07  1.066616e-06
+ 2.063260e-02  1.203666e-02 -2.461591e-01 -3.114042e-01 -9.616618e-08  1.729462e-06
+ 2.063260e-02  1.220268e-02 -2.459411e-01 -3.112222e-01 -5.113798e-07  3.344234e-07
+ 2.063260e-02  1.236647e-02 -2.457155e-01 -3.110434e-01  1.812259e-06 -1.830711e-06
+ 2.063260e-02  1.252811e-02 -2.454918e-01 -3.108595e-01  1.927228e-07 -7.640596e-08
+ 2.063260e-02  1.268770e-02 -2.452660e-01 -3.106724e-01  1.930571e-07 -4.424060e-07
+ 2.063260e-02  1.284531e-02 -2.450380e-01 -3.104815e-01  3.427888e-07 -7.642530e-08
+ 2.063260e-02  1.300100e-02 -2.448121e-01 -3.103059e-01 -1.984854e-06 -7.855046e-06
+ 2.063260e-02  1.315485e-02 -2.445758e-01 -3.100953e-01  6.238774e-07  2.972665e-07
+ 2.063260e-02  1.330692e-02 -2.443404e-01 -3.098953e-01 -4.284924e-08 -4.038297e-08
+ 2.063260e-02  1.345728e-02 -2.441000e-01 -3.096912e-01 -2.241986e-06  1.260017e-05
+ 2.063260e-02  1.360597e-02 -2.438464e-01 -3.094448e-01 -2.473990e-07 -5.328964e-07
+ 2.063260e-02  1.375306e-02 -2.436382e-01 -3.093348e-01  5.346752e-07  6.377864e-07
+ 2.063260e-02  1.389858e-02 -2.433774e-01 -3.090857e-01  7.927642e-09 -2.354689e-08
+ 2.063260e-02  1.404260e-02 -2.431214e-01 -3.088599e-01  2.264409e-07  1.398018e-08
+ 2.063260e-02  1.418516e-02 -2.428605e-01 -3.086310e-01  6.095732e-08  2.082194e-07
+ 2.063260e-02  1.432630e-02 -2.425839e-01 -3.083816e-01 -8.133224e-07 -1.962395e-06
+ 2.063260e-02  1.446606e-02 -2.422161e-01 -3.080401e-01  1.081184e-05  9.029116e-06
+ 2.063260e-02  1.460449e-02 -2.418062e-01 -3.074335e-01 -1.656155e-05  5.703869e-05
+ 2.063260e-02  1.474161e-02 -2.417764e-01 -3.075689e-01 -1.808434e-06  2.592882e-06
+ 2.063260e-02  1.487748e-02 -2.417387e-01 -3.078110e-01  9.740664e-07  2.258867e-05
+ 2.063260e-02  1.501211e-02 -2.417035e-01 -3.080208e-01 -1.061591e-04 -1.527314e-04
+ 2.063260e-02  1.514554e-02 -2.413870e-01 -3.074804e-01  8.636839e-05  9.736738e-05
+ 2.063260e-02  1.527781e-02 -2.409063e-01 -3.070420e-01  3.547513e-06  3.424210e-06
+ 2.063260e-02  1.540894e-02 -2.405960e-01 -3.067683e-01  6.063408e-06  1.103708e-05
+ 2.063260e-02  1.553897e-02 -2.402929e-01 -3.065076e-01  3.463382e-06  4.605918e-06
+ 2.063260e-02  1.566792e-02 -2.399394e-01 -3.061773e-01 -1.198767e-05 -1.487413e-05
+ 2.063260e-02  1.579582e-02 -2.396590e-01 -3.059548e-01 -1.329415e-07 -1.504525e-07
+ 2.063260e-02  1.592268e-02 -2.393492e-01 -3.056952e-01 -3.321888e-07 -5.593933e-07
+ 2.063260e-02  1.604855e-02 -2.390163e-01 -3.054135e-01 -6.996496e-08 -7.362106e-08
+ 2.063260e-02  1.617343e-02 -2.386439e-01 -3.050941e-01 -7.403003e-07 -1.167055e-06
+ 2.063260e-02  1.629736e-02 -2.376107e-01 -3.041306e-01 -6.621930e-04 -9.208702e-04
+ 2.063260e-02  1.642036e-02 -2.381495e-01 -3.047401e-01  1.833234e-07  3.124172e-07
+ 2.063260e-02  1.654243e-02 -2.367760e-01 -3.033050e-01  4.804707e-05  5.680458e-05
+ 2.063260e-02  1.666362e-02 -2.370270e-01 -3.036581e-01 -2.035871e-07 -1.104109e-05
+ 2.063260e-02  1.678393e-02 -2.370786e-01 -3.038332e-01  6.689467e-04  6.928593e-04
+ 2.063260e-02  1.690338e-02 -2.360164e-01 -3.027982e-01  7.261642e-05  7.776281e-05
+ 2.063260e-02  1.702200e-02 -2.354605e-01 -3.023340e-01 -6.191417e-07 -4.959559e-07
+ 2.063260e-02  1.713979e-02 -2.350928e-01 -3.020602e-01 -2.330464e-05 -2.227374e-05
+ 2.063260e-02  1.725678e-02 -2.345900e-01 -3.016021e-01  2.039962e-05  6.950638e-05
+ 2.063260e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.063260e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346104e-01  3.016716e-01
+ 2.072969e-02  1.000000e-06 -2.545981e-01 -3.158843e-01  2.168052e-08 -5.946892e-09
+ 2.072969e-02  2.006944e-03 -2.543293e-01 -3.158022e-01 -8.467969e-07 -1.473589e-08
+ 2.072969e-02  2.837833e-03 -2.540639e-01 -3.157168e-01  1.513273e-07  6.277230e-09
+ 2.072969e-02  3.475396e-03 -2.538037e-01 -3.156284e-01 -4.176377e-07 -2.520002e-08
+ 2.072969e-02  4.012887e-03 -2.535464e-01 -3.155368e-01  1.246566e-07  1.394637e-09
+ 2.072969e-02  4.486426e-03 -2.532935e-01 -3.154422e-01 -4.533872e-08  8.507824e-09
+ 2.072969e-02  4.914538e-03 -2.530435e-01 -3.153445e-01 -1.015282e-07 -5.943445e-09
+ 2.072969e-02  5.308228e-03 -2.527972e-01 -3.152439e-01  2.632988e-07  8.909830e-09
+ 2.072969e-02  5.674665e-03 -2.525535e-01 -3.151403e-01 -2.965427e-07 -5.962186e-09
+ 2.072969e-02  6.018831e-03 -2.523136e-01 -3.150337e-01  3.243029e-07  3.738799e-09
+ 2.072969e-02  6.344350e-03 -2.520750e-01 -3.149240e-01 -6.776768e-09 -4.563617e-08
+ 2.072969e-02  6.653962e-03 -2.518428e-01 -3.148114e-01 -1.933042e-06 -1.924479e-07
+ 2.072969e-02  6.949792e-03 -2.516059e-01 -3.146953e-01  1.351488e-06  1.207367e-07
+ 2.072969e-02  7.233532e-03 -2.513911e-01 -3.145770e-01 -1.523202e-05 -8.784358e-07
+ 2.072969e-02  7.506553e-03 -2.511429e-01 -3.144532e-01  9.587504e-07  3.345918e-08
+ 2.072969e-02  7.769986e-03 -2.509965e-01 -3.143331e-01 -1.333904e-04 -9.214041e-06
+ 2.072969e-02  8.024774e-03 -2.505658e-01 -3.141910e-01 -1.562414e-04 -8.447542e-06
+ 2.072969e-02  8.271717e-03 -2.501549e-01 -3.140377e-01  5.359635e-04  4.332108e-05
+ 2.072969e-02  8.511498e-03 -2.501260e-01 -3.139122e-01 -2.843230e-07 -7.262660e-08
+ 2.072969e-02  8.744705e-03 -2.502167e-01 -3.137542e-01 -2.169266e-04  2.283921e-05
+ 2.072969e-02  8.971852e-03 -2.498687e-01 -3.136217e-01 -6.300433e-06 -1.012889e-05
+ 2.072969e-02  9.193388e-03 -2.498545e-01 -3.134325e-01 -3.666673e-04 -5.164057e-05
+ 2.072969e-02  9.409709e-03 -2.490838e-01 -3.130457e-01 -3.629603e-05  1.132657e-04
+ 2.072969e-02  9.621167e-03 -2.488831e-01 -3.133255e-01 -5.871767e-06  3.321696e-05
+ 2.072969e-02  9.828076e-03 -2.485285e-01 -3.135958e-01  6.468949e-05 -5.620054e-05
+ 2.072969e-02  1.003072e-02 -2.475157e-01 -3.140536e-01  4.593213e-04 -3.175146e-04
+ 2.072969e-02  1.022935e-02 -2.480783e-01 -3.136505e-01  1.713418e-04 -2.826533e-04
+ 2.072969e-02  1.042419e-02 -2.482267e-01 -3.130107e-01 -2.122991e-06 -3.406580e-08
+ 2.072969e-02  1.061546e-02 -2.480235e-01 -3.127613e-01 -2.095427e-06  1.083636e-06
+ 2.072969e-02  1.080334e-02 -2.478048e-01 -3.125635e-01  3.293700e-06  2.382987e-07
+ 2.072969e-02  1.098801e-02 -2.475836e-01 -3.123788e-01  8.144242e-06  8.529983e-07
+ 2.072969e-02  1.116962e-02 -2.473668e-01 -3.122020e-01  5.100730e-07 -4.788257e-07
+ 2.072969e-02  1.134833e-02 -2.471415e-01 -3.120283e-01  2.626679e-06  2.625153e-07
+ 2.072969e-02  1.152427e-02 -2.469230e-01 -3.118500e-01 -5.160797e-07  2.454632e-07
+ 2.072969e-02  1.169756e-02 -2.466991e-01 -3.116736e-01  3.447658e-07  1.591763e-07
+ 2.072969e-02  1.186832e-02 -2.464750e-01 -3.114958e-01  5.277210e-08  1.575026e-07
+ 2.072969e-02  1.203666e-02 -2.462519e-01 -3.113132e-01 -2.829066e-07 -2.205924e-08
+ 2.072969e-02  1.220268e-02 -2.460217e-01 -3.111346e-01  1.176041e-06 -4.845179e-07
+ 2.072969e-02  1.236647e-02 -2.457930e-01 -3.109509e-01 -1.501082e-07 -6.551742e-08
+ 2.072969e-02  1.252811e-02 -2.455627e-01 -3.107644e-01  9.541510e-07 -2.432315e-07
+ 2.072969e-02  1.268770e-02 -2.453305e-01 -3.105749e-01  5.511341e-09 -1.274402e-09
+ 2.072969e-02  1.284531e-02 -2.450957e-01 -3.103818e-01  8.179698e-07  1.495001e-08
+ 2.072969e-02  1.300100e-02 -2.448642e-01 -3.102045e-01 -2.493400e-06 -9.123568e-06
+ 2.072969e-02  1.315485e-02 -2.446202e-01 -3.099904e-01  6.564089e-07 -8.773781e-08
+ 2.072969e-02  1.330692e-02 -2.443781e-01 -3.097875e-01 -4.707222e-08 -8.115211e-09
+ 2.072969e-02  1.345728e-02 -2.441308e-01 -3.095784e-01  5.094753e-07  5.564016e-07
+ 2.072969e-02  1.360597e-02 -2.438427e-01 -3.092646e-01  1.681380e-05  4.216467e-05
+ 2.072969e-02  1.375306e-02 -2.436540e-01 -3.092130e-01  3.097689e-06  5.517831e-06
+ 2.072969e-02  1.389858e-02 -2.433861e-01 -3.089651e-01 -4.217445e-08 -2.011220e-08
+ 2.072969e-02  1.404260e-02 -2.431200e-01 -3.087336e-01  1.925164e-07  7.029026e-08
+ 2.072969e-02  1.418516e-02 -2.428459e-01 -3.084962e-01 -1.470595e-06 -1.793689e-06
+ 2.072969e-02  1.432630e-02 -2.424767e-01 -3.081765e-01  1.668698e-05  1.303525e-05
+ 2.072969e-02  1.446606e-02 -2.424040e-01 -3.080580e-01  2.209812e-04  1.678440e-04
+ 2.072969e-02  1.460449e-02 -2.418060e-01 -3.073272e-01  1.093439e-06  1.838891e-05
+ 2.072969e-02  1.474161e-02 -2.417818e-01 -3.075323e-01 -1.867272e-06  1.370043e-05
+ 2.072969e-02  1.487748e-02 -2.417437e-01 -3.078216e-01 -6.905070e-06  1.939833e-05
+ 2.072969e-02  1.501211e-02 -2.417366e-01 -3.080164e-01  5.855488e-06 -1.673859e-04
+ 2.072969e-02  1.514554e-02 -2.411642e-01 -3.071871e-01  5.223892e-07  2.897814e-07
+ 2.072969e-02  1.527781e-02 -2.408404e-01 -3.068940e-01  3.433109e-06  4.262939e-06
+ 2.072969e-02  1.540894e-02 -2.405307e-01 -3.066235e-01  1.379226e-07 -5.562579e-07
+ 2.072969e-02  1.553897e-02 -2.402518e-01 -3.063966e-01 -9.953758e-08 -1.296320e-07
+ 2.072969e-02  1.566792e-02 -2.398719e-01 -3.060419e-01  1.423985e-06  2.136017e-06
+ 2.072969e-02  1.579582e-02 -2.395758e-01 -3.058036e-01  2.210611e-07 -1.118757e-08
+ 2.072969e-02  1.592268e-02 -2.392538e-01 -3.055364e-01  4.363804e-07 -1.303226e-08
+ 2.072969e-02  1.604855e-02 -2.389310e-01 -3.052676e-01  1.152227e-06  1.296883e-06
+ 2.072969e-02  1.617343e-02 -2.373159e-01 -3.036554e-01  8.883890e-04  9.712131e-04
+ 2.072969e-02  1.629736e-02 -2.382284e-01 -3.047086e-01 -6.409419e-07 -3.391264e-07
+ 2.072969e-02  1.642036e-02 -2.381785e-01 -3.047280e-01  2.120082e-06  2.912230e-07
+ 2.072969e-02  1.654243e-02 -2.378441e-01 -3.044593e-01  2.580315e-04  2.582773e-04
+ 2.072969e-02  1.666362e-02 -2.379830e-01 -3.046651e-01 -1.951989e-04 -2.150487e-04
+ 2.072969e-02  1.678393e-02 -2.361125e-01 -3.027739e-01 -4.711779e-04 -4.734971e-04
+ 2.072969e-02  1.690338e-02 -2.357566e-01 -3.025068e-01  1.254584e-04  1.313661e-04
+ 2.072969e-02  1.702200e-02 -2.354762e-01 -3.023115e-01 -8.034401e-07  7.547313e-07
+ 2.072969e-02  1.713979e-02 -2.346470e-01 -3.016525e-01  5.184366e-06 -3.786305e-06
+ 2.072969e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.072969e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346521e-01  3.016488e-01
+ 2.082632e-02  1.000000e-06 -2.548473e-01 -3.158607e-01 -8.494717e-07 -1.785031e-08
+ 2.082632e-02  2.006944e-03 -2.545739e-01 -3.157781e-01  7.645423e-08 -1.169225e-08
+ 2.082632e-02  2.837833e-03 -2.543057e-01 -3.156923e-01 -5.030033e-07 -3.916075e-08
+ 2.082632e-02  3.475396e-03 -2.540408e-01 -3.156033e-01  1.213423e-07  8.293423e-10
+ 2.082632e-02  4.012887e-03 -2.537802e-01 -3.155111e-01 -1.752531e-08  2.894422e-09
+ 2.082632e-02  4.486426e-03 -2.535229e-01 -3.154159e-01 -1.741496e-07 -3.020711e-08
+ 2.082632e-02  4.914538e-03 -2.532689e-01 -3.153175e-01  3.768521e-07  1.114741e-08
+ 2.082632e-02  5.308228e-03 -2.530185e-01 -3.152162e-01 -9.224214e-07 -2.813527e-08
+ 2.082632e-02  5.674665e-03 -2.527702e-01 -3.151118e-01  7.879838e-07  3.435389e-08
+ 2.082632e-02  6.018831e-03 -2.525259e-01 -3.150044e-01 -1.916638e-06 -8.551297e-08
+ 2.082632e-02  6.344350e-03 -2.522827e-01 -3.148940e-01  1.527012e-06  7.701523e-08
+ 2.082632e-02  6.653962e-03 -2.520442e-01 -3.147806e-01 -3.028952e-06 -1.764426e-07
+ 2.082632e-02  6.949792e-03 -2.518068e-01 -3.146641e-01  2.715599e-06  1.605695e-07
+ 2.082632e-02  7.233532e-03 -2.515718e-01 -3.145443e-01 -2.952835e-06 -1.520318e-07
+ 2.082632e-02  7.506553e-03 -2.513468e-01 -3.144218e-01  4.267103e-06  2.599151e-07
+ 2.082632e-02  7.769986e-03 -2.511087e-01 -3.142949e-01  1.794388e-07 -1.725635e-08
+ 2.082632e-02  8.024774e-03 -2.509555e-01 -3.141708e-01 -2.760930e-05 -2.505452e-06
+ 2.082632e-02  8.271717e-03 -2.503870e-01 -3.140163e-01 -1.043111e-04 -8.734677e-06
+ 2.082632e-02  8.511498e-03 -2.501369e-01 -3.138678e-01  8.270083e-05  1.609306e-05
+ 2.082632e-02  8.744705e-03 -2.501349e-01 -3.137404e-01  2.836696e-04  1.471694e-05
+ 2.082632e-02  8.971852e-03 -2.498492e-01 -3.135930e-01  1.185702e-04  5.002031e-07
+ 2.082632e-02  9.193388e-03 -2.498753e-01 -3.133918e-01  3.201130e-05  2.455300e-06
+ 2.082632e-02  9.409709e-03 -2.498645e-01 -3.131155e-01 -4.947361e-04 -3.673899e-05
+ 2.082632e-02  9.621167e-03 -2.489763e-01 -3.132103e-01  1.810625e-04  7.206703e-06
+ 2.082632e-02  9.828076e-03 -2.487988e-01 -3.134126e-01 -3.297830e-05  1.284255e-05
+ 2.082632e-02  1.003072e-02 -2.470883e-01 -3.143199e-01  4.749425e-04 -2.053374e-04
+ 2.082632e-02  1.022935e-02 -2.478162e-01 -3.139596e-01  1.117066e-04 -1.116425e-04
+ 2.082632e-02  1.042419e-02 -2.483926e-01 -3.129193e-01 -2.841662e-06  1.931827e-06
+ 2.082632e-02  1.061546e-02 -2.481688e-01 -3.126699e-01 -5.771688e-06 -1.110691e-07
+ 2.082632e-02  1.080334e-02 -2.479372e-01 -3.124726e-01  1.052206e-06  1.058067e-07
+ 2.082632e-02  1.098801e-02 -2.477100e-01 -3.122902e-01 -1.025984e-06 -3.983714e-07
+ 2.082632e-02  1.116962e-02 -2.474797e-01 -3.121145e-01  2.630196e-06  2.909138e-07
+ 2.082632e-02  1.134833e-02 -2.472553e-01 -3.119355e-01 -7.301763e-07 -3.144080e-08
+ 2.082632e-02  1.152427e-02 -2.470251e-01 -3.117586e-01  2.836651e-06  1.980175e-07
+ 2.082632e-02  1.169756e-02 -2.467968e-01 -3.115812e-01  1.486584e-07 -4.072886e-07
+ 2.082632e-02  1.186832e-02 -2.465672e-01 -3.113986e-01  2.476051e-06  3.165560e-07
+ 2.082632e-02  1.203666e-02 -2.463339e-01 -3.112202e-01 -2.434240e-07  2.605669e-07
+ 2.082632e-02  1.220268e-02 -2.460988e-01 -3.110372e-01  1.798786e-06  2.225941e-07
+ 2.082632e-02  1.236647e-02 -2.458651e-01 -3.108506e-01  9.543699e-08 -4.208166e-08
+ 2.082632e-02  1.252811e-02 -2.456276e-01 -3.106626e-01  1.199976e-06 -1.257101e-07
+ 2.082632e-02  1.268770e-02 -2.453894e-01 -3.104706e-01  7.128290e-08 -3.796137e-08
+ 2.082632e-02  1.284531e-02 -2.451478e-01 -3.102751e-01  9.339871e-07  1.834990e-08
+ 2.082632e-02  1.300100e-02 -2.449094e-01 -3.100924e-01  4.013756e-08 -1.207824e-08
+ 2.082632e-02  1.315485e-02 -2.446591e-01 -3.098787e-01  8.239511e-07  2.864534e-07
+ 2.082632e-02  1.330692e-02 -2.444100e-01 -3.096727e-01  1.019241e-08 -9.283301e-09
+ 2.082632e-02  1.345728e-02 -2.441551e-01 -3.094595e-01  5.071174e-07  4.239280e-08
+ 2.082632e-02  1.360597e-02 -2.437873e-01 -3.089991e-01  9.239549e-05  2.026449e-04
+ 2.082632e-02  1.375306e-02 -2.436608e-01 -3.090795e-01 -3.201389e-06 -5.545684e-06
+ 2.082632e-02  1.389858e-02 -2.433843e-01 -3.088338e-01  2.398861e-08  2.575078e-08
+ 2.082632e-02  1.404260e-02 -2.430950e-01 -3.085869e-01  1.154858e-05  8.603326e-06
+ 2.082632e-02  1.418516e-02 -2.427370e-01 -3.082891e-01 -3.904347e-04 -2.931790e-04
+ 2.082632e-02  1.432630e-02 -2.427070e-01 -3.082203e-01  3.486711e-04  2.464089e-04
+ 2.082632e-02  1.446606e-02 -2.422628e-01 -3.078016e-01  3.688910e-06  4.121278e-06
+ 2.082632e-02  1.460449e-02 -2.418196e-01 -3.072774e-01 -7.794200e-07 -2.219404e-05
+ 2.082632e-02  1.474161e-02 -2.417912e-01 -3.074648e-01  1.632684e-08 -2.681132e-07
+ 2.082632e-02  1.487748e-02 -2.417688e-01 -3.075867e-01 -2.393404e-05  2.270962e-04
+ 2.082632e-02  1.501211e-02 -2.417285e-01 -3.077838e-01 -1.185646e-06  3.687011e-05
+ 2.082632e-02  1.514554e-02 -2.410994e-01 -3.070325e-01 -1.404003e-06 -1.758946e-06
+ 2.082632e-02  1.527781e-02 -2.407725e-01 -3.067385e-01  1.879408e-06  2.460650e-06
+ 2.082632e-02  1.540894e-02 -2.404702e-01 -3.064839e-01 -2.747915e-06 -4.357382e-06
+ 2.082632e-02  1.553897e-02 -2.401479e-01 -3.062086e-01  1.514730e-06  2.991119e-06
+ 2.082632e-02  1.566792e-02 -2.397999e-01 -3.058982e-01  6.965035e-07  5.323234e-07
+ 2.082632e-02  1.579582e-02 -2.394830e-01 -3.056402e-01  1.523540e-06  1.411335e-06
+ 2.082632e-02  1.592268e-02 -2.391680e-01 -3.053907e-01 -2.146250e-05 -2.414526e-05
+ 2.082632e-02  1.604855e-02 -2.388041e-01 -3.050822e-01  1.516300e-07  3.769434e-07
+ 2.082632e-02  1.617343e-02 -2.383180e-01 -3.046763e-01 -4.152853e-06 -3.584905e-06
+ 2.082632e-02  1.629736e-02 -2.382604e-01 -3.046955e-01  5.752896e-07  5.008436e-07
+ 2.082632e-02  1.642036e-02 -2.382069e-01 -3.047146e-01 -2.465047e-07  5.103620e-07
+ 2.082632e-02  1.654243e-02 -2.379098e-01 -3.045117e-01 -7.661223e-04 -8.063811e-04
+ 2.082632e-02  1.666362e-02 -2.360166e-01 -3.025345e-01  1.012754e-03  1.065011e-03
+ 2.082632e-02  1.678393e-02 -2.356043e-01 -3.022282e-01  4.826228e-04  4.936496e-04
+ 2.082632e-02  1.690338e-02 -2.355333e-01 -3.022476e-01 -7.322659e-08  1.896902e-08
+ 2.082632e-02  1.702200e-02 -2.350376e-01 -3.018635e-01 -8.989146e-05 -8.039910e-05
+ 2.082632e-02  1.713979e-02 -2.343084e-01 -3.012544e-01 -7.405164e-08 -1.790902e-06
+ 2.082632e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.082632e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.343083e-01  3.012526e-01
+ 2.092252e-02  1.000000e-06 -2.550914e-01 -3.158328e-01  9.884160e-09 -5.522789e-09
+ 2.092252e-02  2.006944e-03 -2.548152e-01 -3.157498e-01 -5.956411e-07 -1.533835e-08
+ 2.092252e-02  2.837833e-03 -2.545426e-01 -3.156634e-01  1.035482e-07  4.141434e-08
+ 2.092252e-02  3.475396e-03 -2.542744e-01 -3.155739e-01 -8.088755e-08 -5.863313e-09
+ 2.092252e-02  4.012887e-03 -2.540097e-01 -3.154811e-01 -1.419776e-07 -7.821777e-09
+ 2.092252e-02  4.486426e-03 -2.537484e-01 -3.153852e-01  2.868379e-07  3.457147e-09
+ 2.092252e-02  4.914538e-03 -2.534908e-01 -3.152862e-01 -9.973510e-07 -3.332164e-08
+ 2.092252e-02  5.308228e-03 -2.532352e-01 -3.151841e-01  5.419308e-07 -2.101828e-08
+ 2.092252e-02  5.674665e-03 -2.529842e-01 -3.150790e-01 -2.474998e-06 -1.035208e-07
+ 2.092252e-02  6.018831e-03 -2.527334e-01 -3.149708e-01  6.610590e-07  2.793341e-08
+ 2.092252e-02  6.344350e-03 -2.524887e-01 -3.148597e-01 -4.964152e-06 -2.459138e-07
+ 2.092252e-02  6.653962e-03 -2.522414e-01 -3.147454e-01  1.184750e-06  6.173333e-08
+ 2.092252e-02  6.949792e-03 -2.520035e-01 -3.146285e-01 -9.574583e-06 -5.435426e-07
+ 2.092252e-02  7.233532e-03 -2.517586e-01 -3.145080e-01  3.127922e-06  1.109587e-07
+ 2.092252e-02  7.506553e-03 -2.515296e-01 -3.143851e-01 -1.836219e-05 -1.073384e-06
+ 2.092252e-02  7.769986e-03 -2.512871e-01 -3.142578e-01  1.261330e-05  8.949019e-07
+ 2.092252e-02  8.024774e-03 -2.510733e-01 -3.141293e-01 -4.243173e-05 -3.214286e-06
+ 2.092252e-02  8.271717e-03 -2.508785e-01 -3.139985e-01  6.914033e-05  6.639355e-06
+ 2.092252e-02  8.511498e-03 -2.502467e-01 -3.138323e-01  2.089975e-04  1.791464e-05
+ 2.092252e-02  8.744705e-03 -2.501244e-01 -3.136944e-01 -2.307935e-05 -6.707917e-06
+ 2.092252e-02  8.971852e-03 -2.501547e-01 -3.135564e-01 -2.212241e-05 -6.046305e-07
+ 2.092252e-02  9.193388e-03 -2.498457e-01 -3.134515e-01 -1.055615e-04 -5.098954e-05
+ 2.092252e-02  9.409709e-03 -2.498620e-01 -3.132020e-01 -2.311654e-05 -1.143769e-05
+ 2.092252e-02  9.621167e-03 -2.491205e-01 -3.131059e-01 -6.903345e-05 -2.240877e-05
+ 2.092252e-02  9.828076e-03 -2.489334e-01 -3.132982e-01  7.140814e-05 -8.208111e-05
+ 2.092252e-02  1.003072e-02 -2.485361e-01 -3.137372e-01  1.586809e-04 -4.180731e-04
+ 2.092252e-02  1.022935e-02 -2.475829e-01 -3.141053e-01  2.233829e-04 -1.150368e-04
+ 2.092252e-02  1.042419e-02 -2.485231e-01 -3.127871e-01  3.621838e-05  5.275574e-06
+ 2.092252e-02  1.061546e-02 -2.483016e-01 -3.125593e-01  5.580006e-07  6.587517e-08
+ 2.092252e-02  1.080334e-02 -2.480557e-01 -3.123694e-01  1.635833e-05  6.164652e-07
+ 2.092252e-02  1.098801e-02 -2.478262e-01 -3.121922e-01  3.320169e-07 -1.725202e-07
+ 2.092252e-02  1.116962e-02 -2.475899e-01 -3.120123e-01  6.675179e-06  1.467657e-06
+ 2.092252e-02  1.134833e-02 -2.473587e-01 -3.118365e-01  3.380654e-08  1.155821e-07
+ 2.092252e-02  1.152427e-02 -2.471213e-01 -3.116589e-01  3.554693e-06  3.907340e-07
+ 2.092252e-02  1.169756e-02 -2.468897e-01 -3.114777e-01 -1.971259e-07 -5.841515e-09
+ 2.092252e-02  1.186832e-02 -2.466490e-01 -3.112995e-01  1.524366e-06  5.005849e-07
+ 2.092252e-02  1.203666e-02 -2.464112e-01 -3.111175e-01 -1.869752e-07 -2.724073e-08
+ 2.092252e-02  1.220268e-02 -2.461713e-01 -3.109316e-01  9.968031e-07  1.049673e-07
+ 2.092252e-02  1.236647e-02 -2.459305e-01 -3.107436e-01 -1.521653e-07  1.399733e-07
+ 2.092252e-02  1.252811e-02 -2.456871e-01 -3.105534e-01  6.726521e-07  1.171035e-08
+ 2.092252e-02  1.268770e-02 -2.454422e-01 -3.103595e-01 -8.078526e-08 -4.998834e-08
+ 2.092252e-02  1.284531e-02 -2.451942e-01 -3.101616e-01  6.791986e-07 -1.513580e-06
+ 2.092252e-02  1.300100e-02 -2.449473e-01 -3.099696e-01 -7.603556e-07 -2.024144e-06
+ 2.092252e-02  1.315485e-02 -2.446920e-01 -3.097598e-01  6.097061e-07  2.833263e-07
+ 2.092252e-02  1.330692e-02 -2.444353e-01 -3.095504e-01 -1.024694e-07 -5.218135e-08
+ 2.092252e-02  1.345728e-02 -2.441717e-01 -3.093319e-01  3.123804e-07  4.054543e-08
+ 2.092252e-02  1.360597e-02 -2.438658e-01 -3.090447e-01  1.457136e-06 -1.388029e-05
+ 2.092252e-02  1.375306e-02 -2.436628e-01 -3.089474e-01 -6.878722e-06 -7.184705e-06
+ 2.092252e-02  1.389858e-02 -2.432979e-01 -3.086373e-01  8.649994e-05  6.428229e-05
+ 2.092252e-02  1.404260e-02 -2.431634e-01 -3.085061e-01  1.103730e-04  7.959981e-05
+ 2.092252e-02  1.418516e-02 -2.429424e-01 -3.083050e-01  2.348406e-06  3.099114e-06
+ 2.092252e-02  1.432630e-02 -2.425773e-01 -3.079905e-01  6.766762e-07  1.724153e-07
+ 2.092252e-02  1.446606e-02 -2.419393e-01 -3.071984e-01  1.847846e-04  2.918968e-04
+ 2.092252e-02  1.460449e-02 -2.418267e-01 -3.072128e-01 -1.322886e-06  4.324624e-06
+ 2.092252e-02  1.474161e-02 -2.418040e-01 -3.073775e-01  3.859772e-06 -2.973573e-05
+ 2.092252e-02  1.487748e-02 -2.417715e-01 -3.075954e-01 -4.219035e-06  5.687231e-05
+ 2.092252e-02  1.501211e-02 -2.414274e-01 -3.072655e-01  1.783157e-05  6.032052e-06
+ 2.092252e-02  1.514554e-02 -2.410396e-01 -3.068798e-01  2.949505e-07  3.845251e-07
+ 2.092252e-02  1.527781e-02 -2.407222e-01 -3.066049e-01 -3.597877e-06 -5.172257e-06
+ 2.092252e-02  1.540894e-02 -2.404045e-01 -3.063345e-01  5.697975e-07  1.613844e-06
+ 2.092252e-02  1.553897e-02 -2.401081e-01 -3.060996e-01 -2.391243e-06 -3.095786e-06
+ 2.092252e-02  1.566792e-02 -2.397212e-01 -3.057453e-01 -3.575363e-06 -3.990633e-06
+ 2.092252e-02  1.579582e-02 -2.394095e-01 -3.054987e-01  1.487205e-06  1.095328e-06
+ 2.092252e-02  1.592268e-02 -2.390757e-01 -3.052286e-01 -2.899502e-07 -1.497761e-07
+ 2.092252e-02  1.604855e-02 -2.386419e-01 -3.048566e-01 -4.451225e-06 -4.409598e-06
+ 2.092252e-02  1.617343e-02 -2.383520e-01 -3.046611e-01 -3.115315e-07 -3.481865e-07
+ 2.092252e-02  1.629736e-02 -2.382934e-01 -3.046805e-01  1.020937e-06 -5.047805e-07
+ 2.092252e-02  1.642036e-02 -2.375095e-01 -3.038901e-01 -7.279067e-04 -8.075476e-04
+ 2.092252e-02  1.654243e-02 -2.369948e-01 -3.034470e-01 -7.850519e-06 -7.664841e-06
+ 2.092252e-02  1.666362e-02 -2.380297e-01 -3.046843e-01  6.482189e-05  7.066398e-05
+ 2.092252e-02  1.678393e-02 -2.355972e-01 -3.021768e-01 -3.214778e-06 -5.258506e-07
+ 2.092252e-02  1.690338e-02 -2.355038e-01 -3.021813e-01  4.926481e-05  4.552067e-05
+ 2.092252e-02  1.702200e-02 -2.347850e-01 -3.015874e-01 -1.384494e-04 -1.343785e-04
+ 2.092252e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.092252e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346465e-01  3.014530e-01
+ 2.101827e-02  1.000000e-06 -2.553320e-01 -3.158006e-01 -6.239854e-07 -2.002926e-08
+ 2.101827e-02  2.006944e-03 -2.550516e-01 -3.157171e-01  7.274945e-08  1.684182e-09
+ 2.101827e-02  2.837833e-03 -2.547759e-01 -3.156303e-01 -1.832167e-07 -7.742627e-09
+ 2.101827e-02  3.475396e-03 -2.545037e-01 -3.155401e-01 -4.645212e-08  3.143975e-09
+ 2.101827e-02  4.012887e-03 -2.542352e-01 -3.154467e-01  1.661566e-07  3.963555e-08
+ 2.101827e-02  4.486426e-03 -2.539704e-01 -3.153502e-01 -8.181936e-07 -3.519017e-08
+ 2.101827e-02  4.914538e-03 -2.537079e-01 -3.152504e-01  2.403708e-07  1.084231e-09
+ 2.101827e-02  5.308228e-03 -2.534498e-01 -3.151476e-01 -2.143765e-06 -9.153496e-08
+ 2.101827e-02  5.674665e-03 -2.531923e-01 -3.150417e-01  1.060274e-07  1.790868e-08
+ 2.101827e-02  6.018831e-03 -2.529404e-01 -3.149330e-01 -3.967610e-06 -2.493620e-07
+ 2.101827e-02  6.344350e-03 -2.526869e-01 -3.148210e-01  2.814273e-08  4.905648e-09
+ 2.101827e-02  6.653962e-03 -2.524413e-01 -3.147062e-01 -7.521556e-06 -4.222997e-07
+ 2.101827e-02  6.949792e-03 -2.521901e-01 -3.145881e-01 -1.080875e-07  1.266540e-08
+ 2.101827e-02  7.233532e-03 -2.519520e-01 -3.144677e-01 -1.534080e-05 -9.279526e-07
+ 2.101827e-02  7.506553e-03 -2.517002e-01 -3.143433e-01 -2.625781e-07 -5.556217e-08
+ 2.101827e-02  7.769986e-03 -2.514766e-01 -3.142175e-01 -3.861096e-05 -2.582046e-06
+ 2.101827e-02  8.024774e-03 -2.512147e-01 -3.140856e-01 -4.378583e-07 -2.669391e-08
+ 2.101827e-02  8.271717e-03 -2.510356e-01 -3.139571e-01 -1.663054e-04 -1.115080e-05
+ 2.101827e-02  8.511498e-03 -2.507203e-01 -3.138144e-01  1.301205e-05  8.342585e-07
+ 2.101827e-02  8.744705e-03 -2.501732e-01 -3.136446e-01  6.200542e-04  5.312021e-05
+ 2.101827e-02  8.971852e-03 -2.501214e-01 -3.135182e-01 -7.377540e-06 -2.111830e-06
+ 2.101827e-02  9.193388e-03 -2.498150e-01 -3.134060e-01  1.528087e-04  4.040403e-05
+ 2.101827e-02  9.409709e-03 -2.498713e-01 -3.131896e-01 -6.759440e-06 -7.857069e-05
+ 2.101827e-02  9.621167e-03 -2.495122e-01 -3.130041e-01  1.672839e-04  1.981049e-05
+ 2.101827e-02  9.828076e-03 -2.490406e-01 -3.132465e-01  4.001619e-05 -1.580055e-04
+ 2.101827e-02  1.003072e-02 -2.488685e-01 -3.135826e-01  1.106496e-05 -2.471184e-04
+ 2.101827e-02  1.022935e-02 -2.483142e-01 -3.138299e-01  5.884537e-04 -8.718183e-04
+ 2.101827e-02  1.042419e-02 -2.486681e-01 -3.126295e-01 -1.592001e-05 -1.246274e-06
+ 2.101827e-02  1.061546e-02 -2.484114e-01 -3.124334e-01  8.463934e-06 -1.548979e-06
+ 2.101827e-02  1.080334e-02 -2.481689e-01 -3.122556e-01  1.529376e-06 -1.346341e-06
+ 2.101827e-02  1.098801e-02 -2.479334e-01 -3.120781e-01 -9.049649e-07  1.865086e-06
+ 2.101827e-02  1.116962e-02 -2.476923e-01 -3.119042e-01 -5.758951e-07 -1.947533e-07
+ 2.101827e-02  1.134833e-02 -2.474531e-01 -3.117281e-01 -6.086731e-07  1.411267e-06
+ 2.101827e-02  1.152427e-02 -2.472144e-01 -3.115486e-01 -6.122185e-07  5.110911e-08
+ 2.101827e-02  1.169756e-02 -2.469701e-01 -3.113720e-01  9.438894e-07 -4.195454e-07
+ 2.101827e-02  1.186832e-02 -2.467270e-01 -3.111909e-01 -3.439814e-07 -4.754112e-08
+ 2.101827e-02  1.203666e-02 -2.464832e-01 -3.110062e-01  3.552875e-07  1.085820e-08
+ 2.101827e-02  1.220268e-02 -2.462374e-01 -3.108195e-01 -1.603953e-07 -2.707661e-08
+ 2.101827e-02  1.236647e-02 -2.459901e-01 -3.106299e-01  1.734127e-07 -1.170968e-08
+ 2.101827e-02  1.252811e-02 -2.457407e-01 -3.104374e-01 -3.513134e-08 -1.574749e-08
+ 2.101827e-02  1.268770e-02 -2.454892e-01 -3.102413e-01  4.096816e-08 -6.436431e-08
+ 2.101827e-02  1.284531e-02 -2.452347e-01 -3.100420e-01  9.756414e-08 -3.937013e-07
+ 2.101827e-02  1.300100e-02 -2.449795e-01 -3.098431e-01  7.016845e-08  8.751522e-08
+ 2.101827e-02  1.315485e-02 -2.447173e-01 -3.096325e-01  2.565064e-07  1.919647e-07
+ 2.101827e-02  1.330692e-02 -2.444516e-01 -3.094189e-01 -4.685291e-07 -4.362631e-07
+ 2.101827e-02  1.345728e-02 -2.441495e-01 -3.091731e-01  5.669187e-06  3.906645e-06
+ 2.101827e-02  1.360597e-02 -2.439000e-01 -3.089415e-01 -1.164637e-05  5.426789e-05
+ 2.101827e-02  1.375306e-02 -2.436709e-01 -3.088114e-01 -5.489997e-05 -3.993630e-05
+ 2.101827e-02  1.389858e-02 -2.434970e-01 -3.086441e-01 -4.109286e-05 -2.852775e-05
+ 2.101827e-02  1.404260e-02 -2.431448e-01 -3.083551e-01  4.718007e-06  2.985490e-06
+ 2.101827e-02  1.418516e-02 -2.428496e-01 -3.081046e-01  5.076730e-08  3.538729e-07
+ 2.101827e-02  1.432630e-02 -2.425276e-01 -3.078136e-01  7.018282e-08 -1.050656e-07
+ 2.101827e-02  1.446606e-02 -2.419047e-01 -3.070221e-01 -3.765181e-05 -4.209702e-05
+ 2.101827e-02  1.460449e-02 -2.418368e-01 -3.071418e-01 -2.611449e-07  5.474006e-07
+ 2.101827e-02  1.474161e-02 -2.418115e-01 -3.073195e-01 -1.533928e-06  1.060712e-05
+ 2.101827e-02  1.487748e-02 -2.417894e-01 -3.074662e-01 -2.978821e-06  4.660723e-05
+ 2.101827e-02  1.501211e-02 -2.413489e-01 -3.070770e-01  1.490279e-07  4.363378e-07
+ 2.101827e-02  1.514554e-02 -2.409772e-01 -3.067211e-01  1.411269e-06  2.162089e-06
+ 2.101827e-02  1.527781e-02 -2.406484e-01 -3.064358e-01  3.160006e-06  3.375731e-06
+ 2.101827e-02  1.540894e-02 -2.403508e-01 -3.061995e-01 -1.840579e-05 -2.209984e-05
+ 2.101827e-02  1.553897e-02 -2.399466e-01 -3.058275e-01 -2.370879e-05 -3.398679e-05
+ 2.101827e-02  1.566792e-02 -2.396363e-01 -3.055836e-01  6.063216e-07  1.044521e-06
+ 2.101827e-02  1.579582e-02 -2.393322e-01 -3.053481e-01  3.855039e-05  3.533370e-05
+ 2.101827e-02  1.592268e-02 -2.389603e-01 -3.050452e-01  2.140189e-06  2.723231e-06
+ 2.101827e-02  1.604855e-02 -2.384563e-01 -3.046240e-01 -6.669017e-06 -5.334672e-06
+ 2.101827e-02  1.617343e-02 -2.383870e-01 -3.046444e-01  6.230648e-07  6.865396e-07
+ 2.101827e-02  1.629736e-02 -2.383345e-01 -3.046679e-01  3.622933e-05  2.632829e-05
+ 2.101827e-02  1.642036e-02 -2.369691e-01 -3.032856e-01  3.302417e-05  3.635188e-05
+ 2.101827e-02  1.654243e-02 -2.364505e-01 -3.028257e-01 -1.237027e-03 -1.333921e-03
+ 2.101827e-02  1.666362e-02 -2.361906e-01 -3.026516e-01  8.120938e-04  8.402707e-04
+ 2.101827e-02  1.678393e-02 -2.356638e-01 -3.022089e-01  3.043642e-04  3.109596e-04
+ 2.101827e-02  1.690338e-02 -2.350232e-01 -3.016750e-01 -1.534405e-03 -1.615189e-03
+ 2.101827e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.101827e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.334888e-01  3.000598e-01
+ 2.111358e-02  1.000000e-06 -2.555678e-01 -3.157640e-01  2.056869e-08 -5.435958e-10
+ 2.111358e-02  2.006944e-03 -2.552844e-01 -3.156801e-01 -2.999875e-07  1.612435e-08
+ 2.111358e-02  2.837833e-03 -2.550047e-01 -3.155927e-01  3.056374e-08  5.854923e-09
+ 2.111358e-02  3.475396e-03 -2.547290e-01 -3.155020e-01  1.225550e-07  2.591491e-09
+ 2.111358e-02  4.012887e-03 -2.544569e-01 -3.154080e-01 -5.793918e-07 -2.836687e-08
+ 2.111358e-02  4.486426e-03 -2.541876e-01 -3.153107e-01  1.350376e-07 -5.366272e-09
+ 2.111358e-02  4.914538e-03 -2.539225e-01 -3.152103e-01 -1.700327e-06 -3.202106e-08
+ 2.111358e-02  5.308228e-03 -2.536586e-01 -3.151068e-01  1.503380e-08 -6.715735e-09
+ 2.111358e-02  5.674665e-03 -2.533995e-01 -3.150003e-01 -2.678027e-06 -1.280408e-07
+ 2.111358e-02  6.018831e-03 -2.531403e-01 -3.148905e-01 -6.121295e-09  4.736164e-09
+ 2.111358e-02  6.344350e-03 -2.528867e-01 -3.147780e-01 -3.778940e-06 -2.100055e-07
+ 2.111358e-02  6.653962e-03 -2.526309e-01 -3.146623e-01  2.306093e-07  7.056300e-09
+ 2.111358e-02  6.949792e-03 -2.523827e-01 -3.145440e-01 -5.293743e-06 -3.808847e-07
+ 2.111358e-02  7.233532e-03 -2.521293e-01 -3.144223e-01  5.068166e-07  4.995232e-08
+ 2.111358e-02  7.506553e-03 -2.518880e-01 -3.142984e-01 -9.547034e-06 -6.471752e-07
+ 2.111358e-02  7.769986e-03 -2.516340e-01 -3.141706e-01  1.086719e-06  1.027556e-07
+ 2.111358e-02  8.024774e-03 -2.514073e-01 -3.140417e-01 -2.318544e-05 -1.765794e-06
+ 2.111358e-02  8.271717e-03 -2.511426e-01 -3.139068e-01  2.262823e-06  3.268059e-07
+ 2.111358e-02  8.511498e-03 -2.509825e-01 -3.137780e-01 -9.404468e-05 -8.593955e-06
+ 2.111358e-02  8.744705e-03 -2.504325e-01 -3.136177e-01 -1.418271e-04 -1.215244e-05
+ 2.111358e-02  8.971852e-03 -2.501388e-01 -3.134591e-01  1.572103e-04  2.428917e-05
+ 2.111358e-02  9.193388e-03 -2.501392e-01 -3.133391e-01  3.276692e-04  1.379471e-05
+ 2.111358e-02  9.409709e-03 -2.498362e-01 -3.132331e-01 -2.888901e-04 -4.184359e-05
+ 2.111358e-02  9.621167e-03 -2.498706e-01 -3.130413e-01 -2.705715e-04 -5.550499e-04
+ 2.111358e-02  9.828076e-03 -2.497937e-01 -3.127536e-01 -5.007555e-04  2.093860e-04
+ 2.111358e-02  1.003072e-02 -2.496193e-01 -3.128229e-01  1.152741e-04  1.318958e-05
+ 2.111358e-02  1.022935e-02 -2.489699e-01 -3.126215e-01  1.698805e-04  1.540776e-05
+ 2.111358e-02  1.042419e-02 -2.487767e-01 -3.124643e-01  5.681507e-06  2.884137e-07
+ 2.111358e-02  1.061546e-02 -2.485088e-01 -3.122950e-01  3.953891e-05  9.546290e-07
+ 2.111358e-02  1.080334e-02 -2.482807e-01 -3.121277e-01 -1.884530e-06  1.184263e-06
+ 2.111358e-02  1.098801e-02 -2.480265e-01 -3.119584e-01  1.504996e-05  7.407552e-07
+ 2.111358e-02  1.116962e-02 -2.477895e-01 -3.117858e-01 -3.386018e-06  3.188220e-06
+ 2.111358e-02  1.134833e-02 -2.475414e-01 -3.116099e-01  5.798540e-06  2.045741e-06
+ 2.111358e-02  1.152427e-02 -2.472956e-01 -3.114361e-01  1.294157e-06 -1.686208e-06
+ 2.111358e-02  1.169756e-02 -2.470462e-01 -3.112563e-01  3.851467e-06  3.733756e-07
+ 2.111358e-02  1.186832e-02 -2.467998e-01 -3.110737e-01 -1.811388e-07 -1.621376e-07
+ 2.111358e-02  1.203666e-02 -2.465484e-01 -3.108883e-01  2.107591e-06  2.520655e-07
+ 2.111358e-02  1.220268e-02 -2.462977e-01 -3.107000e-01 -2.122587e-07 -7.436488e-08
+ 2.111358e-02  1.236647e-02 -2.460434e-01 -3.105086e-01  1.058781e-06  1.157172e-07
+ 2.111358e-02  1.252811e-02 -2.457881e-01 -3.103140e-01 -2.509160e-07 -6.824568e-08
+ 2.111358e-02  1.268770e-02 -2.455292e-01 -3.101154e-01  2.054970e-07 -7.369050e-08
+ 2.111358e-02  1.284531e-02 -2.452672e-01 -3.099123e-01 -2.611092e-07 -4.479599e-07
+ 2.111358e-02  1.300100e-02 -2.450015e-01 -3.097082e-01 -1.600615e-06 -1.446507e-06
+ 2.111358e-02  1.315485e-02 -2.446961e-01 -3.094689e-01  2.581841e-05  1.880117e-05
+ 2.111358e-02  1.330692e-02 -2.444568e-01 -3.092771e-01 -1.341860e-04 -9.540352e-05
+ 2.111358e-02  1.345728e-02 -2.442858e-01 -3.091250e-01 -1.543171e-05 -1.068459e-05
+ 2.111358e-02  1.360597e-02 -2.439333e-01 -3.087896e-01  2.102852e-05  6.587301e-05
+ 2.111358e-02  1.375306e-02 -2.437057e-01 -3.086914e-01  6.912584e-06  5.211248e-06
+ 2.111358e-02  1.389858e-02 -2.434123e-01 -3.084442e-01  3.090869e-07  1.564904e-07
+ 2.111358e-02  1.404260e-02 -2.431160e-01 -3.081950e-01 -2.041031e-07 -5.487247e-07
+ 2.111358e-02  1.418516e-02 -2.428130e-01 -3.079391e-01  9.592371e-07 -3.558925e-07
+ 2.111358e-02  1.432630e-02 -2.424711e-01 -3.076216e-01  2.952172e-08  6.433286e-08
+ 2.111358e-02  1.446606e-02 -2.418772e-01 -3.068919e-01 -3.721337e-06 -6.515604e-06
+ 2.111358e-02  1.460449e-02 -2.418475e-01 -3.070719e-01 -6.399116e-07 -1.202481e-06
+ 2.111358e-02  1.474161e-02 -2.418186e-01 -3.072708e-01  1.429820e-07 -1.726242e-06
+ 2.111358e-02  1.487748e-02 -2.417948e-01 -3.074109e-01 -7.982580e-07  4.327024e-05
+ 2.111358e-02  1.501211e-02 -2.412817e-01 -3.069022e-01 -4.255167e-07 -7.315139e-07
+ 2.111358e-02  1.514554e-02 -2.409222e-01 -3.065717e-01  8.731630e-07  1.069158e-06
+ 2.111358e-02  1.527781e-02 -2.405828e-01 -3.062813e-01  1.495352e-06 -2.070140e-07
+ 2.111358e-02  1.540894e-02 -2.402514e-01 -3.060077e-01  3.225905e-09  5.017737e-07
+ 2.111358e-02  1.553897e-02 -2.398603e-01 -3.056549e-01  3.633717e-07  6.349568e-07
+ 2.111358e-02  1.566792e-02 -2.395010e-01 -3.053605e-01  2.074538e-06 -4.797162e-06
+ 2.111358e-02  1.579582e-02 -2.392104e-01 -3.051507e-01  5.005059e-06  7.445250e-06
+ 2.111358e-02  1.592268e-02 -2.388563e-01 -3.048741e-01 -7.660974e-07 -1.945873e-07
+ 2.111358e-02  1.604855e-02 -2.384887e-01 -3.046049e-01 -1.055943e-06 -3.805207e-07
+ 2.111358e-02  1.617343e-02 -2.384278e-01 -3.046290e-01 -1.673750e-07 -8.549783e-07
+ 2.111358e-02  1.629736e-02 -2.381438e-01 -3.044192e-01 -1.295677e-05 -1.442054e-05
+ 2.111358e-02  1.642036e-02 -2.384250e-01 -3.048157e-01 -8.468236e-04 -8.841181e-04
+ 2.111358e-02  1.654243e-02 -2.358050e-01 -3.020875e-01  2.449284e-03  2.665028e-03
+ 2.111358e-02  1.666362e-02 -2.356661e-01 -3.020588e-01  7.319148e-04  7.712682e-04
+ 2.111358e-02  1.678393e-02 -2.351661e-01 -3.016725e-01  9.398322e-05  8.622817e-05
+ 2.111358e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.111358e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.352601e-01  3.017587e-01
+ 2.120847e-02  1.000000e-06 -2.557999e-01 -3.157230e-01 -3.935586e-07 -1.092589e-08
+ 2.120847e-02  2.006944e-03 -2.555127e-01 -3.156386e-01  6.163355e-08  5.714931e-09
+ 2.120847e-02  2.837833e-03 -2.552296e-01 -3.155508e-01  5.124177e-08 -2.220832e-08
+ 2.120847e-02  3.475396e-03 -2.549504e-01 -3.154595e-01 -3.744593e-07 -1.313663e-08
+ 2.120847e-02  4.012887e-03 -2.546742e-01 -3.153648e-01  8.470369e-08 -8.754860e-09
+ 2.120847e-02  4.486426e-03 -2.544020e-01 -3.152670e-01 -1.199883e-06 -7.431453e-08
+ 2.120847e-02  4.914538e-03 -2.541317e-01 -3.151658e-01 -3.352008e-09  7.074416e-10
+ 2.120847e-02  5.308228e-03 -2.538657e-01 -3.150616e-01 -1.592356e-06 -8.348283e-08
+ 2.120847e-02  5.674665e-03 -2.536005e-01 -3.149542e-01  1.648431e-08  4.924687e-08
+ 2.120847e-02  6.018831e-03 -2.533396e-01 -3.148439e-01 -1.363420e-06 -8.555219e-08
+ 2.120847e-02  6.344350e-03 -2.530789e-01 -3.147305e-01  3.046020e-07  2.307454e-08
+ 2.120847e-02  6.653962e-03 -2.528224e-01 -3.146143e-01 -7.343614e-07 -3.555300e-08
+ 2.120847e-02  6.949792e-03 -2.525658e-01 -3.144951e-01  1.706867e-07  7.947253e-09
+ 2.120847e-02  7.233532e-03 -2.523127e-01 -3.143732e-01  3.291226e-07  4.016304e-08
+ 2.120847e-02  7.506553e-03 -2.520599e-01 -3.142484e-01 -9.891739e-07 -1.033887e-07
+ 2.120847e-02  7.769986e-03 -2.518098e-01 -3.141209e-01  3.114043e-06  1.769513e-07
+ 2.120847e-02  8.024774e-03 -2.515623e-01 -3.139907e-01 -6.174425e-06 -4.378468e-07
+ 2.120847e-02  8.271717e-03 -2.513168e-01 -3.138581e-01  1.170149e-05  8.229274e-07
+ 2.120847e-02  8.511498e-03 -2.510809e-01 -3.137236e-01 -2.711445e-05 -2.468399e-06
+ 2.120847e-02  8.744705e-03 -2.508746e-01 -3.135893e-01  7.133366e-05  7.736541e-06
+ 2.120847e-02  8.971852e-03 -2.502218e-01 -3.134147e-01  3.468242e-04  3.200004e-05
+ 2.120847e-02  9.193388e-03 -2.501276e-01 -3.132724e-01 -3.154999e-05 -7.877114e-06
+ 2.120847e-02  9.409709e-03 -2.502153e-01 -3.131057e-01 -2.340023e-04  1.611674e-04
+ 2.120847e-02  9.621167e-03 -2.499087e-01 -3.131527e-01  5.890403e-06  9.503605e-06
+ 2.120847e-02  9.828076e-03 -2.498527e-01 -3.126306e-01 -1.668434e-04  5.678615e-05
+ 2.120847e-02  1.003072e-02 -2.494962e-01 -3.125004e-01  1.857006e-04  2.093720e-05
+ 2.120847e-02  1.022935e-02 -2.490286e-01 -3.124059e-01  8.583883e-05  9.675384e-06
+ 2.120847e-02  1.042419e-02 -2.488646e-01 -3.122943e-01  1.386114e-06  2.620844e-06
+ 2.120847e-02  1.061546e-02 -2.486015e-01 -3.121485e-01  1.918321e-05  1.902187e-06
+ 2.120847e-02  1.080334e-02 -2.483719e-01 -3.119941e-01  4.818077e-08 -1.667637e-06
+ 2.120847e-02  1.098801e-02 -2.481191e-01 -3.118275e-01  6.471744e-06  3.134603e-06
+ 2.120847e-02  1.116962e-02 -2.478758e-01 -3.116601e-01 -3.716385e-06  3.026257e-06
+ 2.120847e-02  1.134833e-02 -2.476197e-01 -3.114892e-01  7.058757e-06 -1.236316e-06
+ 2.120847e-02  1.152427e-02 -2.473722e-01 -3.113128e-01 -1.223847e-07 -2.641311e-07
+ 2.120847e-02  1.169756e-02 -2.471172e-01 -3.111326e-01  3.977836e-06  1.904398e-07
+ 2.120847e-02  1.186832e-02 -2.468650e-01 -3.109497e-01  4.691415e-08 -7.809821e-08
+ 2.120847e-02  1.203666e-02 -2.466076e-01 -3.107629e-01  2.758806e-06  2.625909e-07
+ 2.120847e-02  1.220268e-02 -2.463507e-01 -3.105730e-01  8.072626e-08 -3.106479e-08
+ 2.120847e-02  1.236647e-02 -2.460896e-01 -3.103794e-01  1.814129e-06  1.727709e-07
+ 2.120847e-02  1.252811e-02 -2.458242e-01 -3.101799e-01  3.132725e-06  2.366305e-06
+ 2.120847e-02  1.268770e-02 -2.455369e-01 -3.099634e-01  1.272752e-05  8.852542e-06
+ 2.120847e-02  1.284531e-02 -2.452779e-01 -3.097653e-01 -1.422443e-04 -1.087854e-04
+ 2.120847e-02  1.300100e-02 -2.450774e-01 -3.096084e-01  1.488733e-04  1.181565e-04
+ 2.120847e-02  1.315485e-02 -2.448216e-01 -3.094063e-01 -4.988156e-06 -3.188827e-06
+ 2.120847e-02  1.330692e-02 -2.445158e-01 -3.091688e-01  5.291398e-06  3.353780e-06
+ 2.120847e-02  1.345728e-02 -2.442297e-01 -3.089357e-01  1.948666e-07  1.764891e-07
+ 2.120847e-02  1.360597e-02 -2.439687e-01 -3.087576e-01 -1.843498e-06 -4.310100e-06
+ 2.120847e-02  1.375306e-02 -2.436871e-01 -3.085291e-01 -4.179588e-09  1.167923e-07
+ 2.120847e-02  1.389858e-02 -2.433907e-01 -3.082854e-01 -3.831160e-07 -1.416251e-07
+ 2.120847e-02  1.404260e-02 -2.430879e-01 -3.080318e-01  1.579666e-06  3.249030e-06
+ 2.120847e-02  1.418516e-02 -2.427744e-01 -3.077654e-01  1.140388e-07 -3.053775e-08
+ 2.120847e-02  1.432630e-02 -2.423734e-01 -3.073706e-01  2.270223e-05  3.011997e-05
+ 2.120847e-02  1.446606e-02 -2.418856e-01 -3.068048e-01  1.203703e-06  2.189882e-06
+ 2.120847e-02  1.460449e-02 -2.418574e-01 -3.069993e-01 -9.229209e-08 -1.054848e-06
+ 2.120847e-02  1.474161e-02 -2.418277e-01 -3.072053e-01 -1.795640e-07  1.039926e-07
+ 2.120847e-02  1.487748e-02 -2.417945e-01 -3.074363e-01  2.207284e-06 -7.748464e-06
+ 2.120847e-02  1.501211e-02 -2.412161e-01 -3.067297e-01 -6.922241e-07 -1.298492e-06
+ 2.120847e-02  1.514554e-02 -2.408545e-01 -3.064044e-01 -6.798234e-07 -5.344286e-07
+ 2.120847e-02  1.527781e-02 -2.405251e-01 -3.061324e-01 -7.527004e-07  6.482282e-07
+ 2.120847e-02  1.540894e-02 -2.402181e-01 -3.058982e-01 -9.525350e-06 -1.104653e-05
+ 2.120847e-02  1.553897e-02 -2.397877e-01 -3.055025e-01  8.470687e-08 -1.363046e-07
+ 2.120847e-02  1.566792e-02 -2.394864e-01 -3.052804e-01 -2.063803e-05 -3.306351e-05
+ 2.120847e-02  1.579582e-02 -2.391868e-01 -3.050753e-01 -2.258665e-05 -3.333683e-05
+ 2.120847e-02  1.592268e-02 -2.385306e-01 -3.044745e-01  1.379729e-04  1.384656e-04
+ 2.120847e-02  1.604855e-02 -2.385271e-01 -3.045845e-01  7.134361e-07  1.008629e-06
+ 2.120847e-02  1.617343e-02 -2.384609e-01 -3.045793e-01 -1.391637e-04 -1.302924e-04
+ 2.120847e-02  1.629736e-02 -2.379746e-01 -3.042117e-01  5.074114e-04  5.147640e-04
+ 2.120847e-02  1.642036e-02 -2.363174e-01 -3.024533e-01 -2.859768e-04 -3.283120e-04
+ 2.120847e-02  1.654243e-02 -2.376233e-01 -3.040800e-01 -6.983069e-04 -9.572683e-04
+ 2.120847e-02  1.666362e-02 -2.357380e-01 -3.021202e-01  1.232990e-03  1.264118e-03
+ 2.120847e-02  1.678393e-02 -2.346134e-01 -3.010769e-01 -1.149963e-03 -9.929170e-04
+ 2.120847e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.334635e-01  3.000840e-01
+ 2.120847e-02  1.702200e-02 -2.336993e-01 -3.001323e-01 -2.336993e-01 -3.001323e-01
+ 2.120847e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.120847e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  1.000000e-06 -2.560274e-01 -3.156776e-01  4.394493e-08  9.156967e-10
+ 2.130294e-02  2.006944e-03 -2.557367e-01 -3.155928e-01 -9.166488e-08  3.101424e-08
+ 2.130294e-02  2.837833e-03 -2.554506e-01 -3.155043e-01 -1.922465e-07 -2.768521e-08
+ 2.130294e-02  3.475396e-03 -2.551674e-01 -3.154125e-01  6.867366e-08 -5.902965e-08
+ 2.130294e-02  4.012887e-03 -2.548882e-01 -3.153172e-01 -8.821289e-07 -3.755320e-08
+ 2.130294e-02  4.486426e-03 -2.546114e-01 -3.152186e-01  3.801064e-09 -2.405947e-09
+ 2.130294e-02  4.914538e-03 -2.543385e-01 -3.151169e-01 -9.711872e-07 -3.380537e-08
+ 2.130294e-02  5.308228e-03 -2.540672e-01 -3.150119e-01  1.503596e-07  7.584351e-09
+ 2.130294e-02  5.674665e-03 -2.537995e-01 -3.149039e-01 -3.344081e-07 -2.444845e-08
+ 2.130294e-02  6.018831e-03 -2.535334e-01 -3.147928e-01 -1.543055e-08 -6.404883e-10
+ 2.130294e-02  6.344350e-03 -2.532697e-01 -3.146787e-01  2.520388e-07  5.200529e-08
+ 2.130294e-02  6.653962e-03 -2.530084e-01 -3.145618e-01 -1.382234e-06 -6.969004e-08
+ 2.130294e-02  6.949792e-03 -2.527474e-01 -3.144420e-01  7.887850e-07  5.488790e-08
+ 2.130294e-02  7.233532e-03 -2.524910e-01 -3.143195e-01 -4.719150e-06 -3.199262e-07
+ 2.130294e-02  7.506553e-03 -2.522313e-01 -3.141941e-01  8.610306e-07  8.441342e-08
+ 2.130294e-02  7.769986e-03 -2.519813e-01 -3.140667e-01 -1.289765e-05 -9.386751e-07
+ 2.130294e-02  8.024774e-03 -2.517196e-01 -3.139358e-01  5.388942e-07  7.423395e-08
+ 2.130294e-02  8.271717e-03 -2.514825e-01 -3.138045e-01 -3.723545e-05 -2.894522e-06
+ 2.130294e-02  8.511498e-03 -2.512094e-01 -3.136680e-01 -9.929423e-07 -2.278622e-07
+ 2.130294e-02  8.744705e-03 -2.510245e-01 -3.135379e-01 -1.812747e-04 -1.405012e-05
+ 2.130294e-02  8.971852e-03 -2.506088e-01 -3.133869e-01 -1.236156e-04 -8.206645e-06
+ 2.130294e-02  9.193388e-03 -2.501487e-01 -3.132205e-01  4.741583e-04  4.876339e-05
+ 2.130294e-02  9.409709e-03 -2.501296e-01 -3.131160e-01  2.562632e-04  2.668673e-05
+ 2.130294e-02  9.621167e-03 -2.499288e-01 -3.126030e-01 -1.660423e-04  5.368942e-04
+ 2.130294e-02  9.828076e-03 -2.499151e-01 -3.127333e-01  1.976844e-05 -5.652335e-05
+ 2.130294e-02  1.003072e-02 -2.497334e-01 -3.123546e-01 -1.175388e-04  5.711788e-06
+ 2.130294e-02  1.022935e-02 -2.491109e-01 -3.122288e-01 -5.828182e-05 -8.708509e-06
+ 2.130294e-02  1.042419e-02 -2.489241e-01 -3.121294e-01  3.971518e-05  3.676627e-06
+ 2.130294e-02  1.061546e-02 -2.487003e-01 -3.119991e-01 -1.683904e-05  1.566147e-06
+ 2.130294e-02  1.080334e-02 -2.484521e-01 -3.118502e-01  1.006477e-05  1.660551e-06
+ 2.130294e-02  1.098801e-02 -2.482037e-01 -3.116942e-01 -4.271377e-06  3.625648e-07
+ 2.130294e-02  1.116962e-02 -2.479496e-01 -3.115295e-01  2.772673e-06 -7.631157e-08
+ 2.130294e-02  1.134833e-02 -2.476961e-01 -3.113577e-01 -7.584946e-07 -1.366514e-07
+ 2.130294e-02  1.152427e-02 -2.474403e-01 -3.111820e-01  2.515824e-07 -2.514885e-07
+ 2.130294e-02  1.169756e-02 -2.471817e-01 -3.110018e-01  4.119754e-08 -5.059416e-07
+ 2.130294e-02  1.186832e-02 -2.469206e-01 -3.108163e-01  2.368574e-06  1.809491e-06
+ 2.130294e-02  1.203666e-02 -2.466488e-01 -3.106219e-01  2.348222e-06  6.636606e-07
+ 2.130294e-02  1.220268e-02 -2.463806e-01 -3.104271e-01 -8.740631e-06 -6.340060e-06
+ 2.130294e-02  1.236647e-02 -2.461386e-01 -3.102497e-01 -1.013251e-05 -7.986391e-06
+ 2.130294e-02  1.252811e-02 -2.459079e-01 -3.100761e-01  2.041123e-05  1.380159e-05
+ 2.130294e-02  1.268770e-02 -2.456359e-01 -3.098727e-01  1.241842e-06  1.191057e-07
+ 2.130294e-02  1.284531e-02 -2.453485e-01 -3.096563e-01  3.387819e-06  2.061232e-06
+ 2.130294e-02  1.300100e-02 -2.450747e-01 -3.094495e-01  1.206956e-06 -1.816605e-07
+ 2.130294e-02  1.315485e-02 -2.447966e-01 -3.092354e-01  1.254796e-07  1.050779e-07
+ 2.130294e-02  1.330692e-02 -2.445150e-01 -3.090158e-01  9.632518e-08 -7.835871e-09
+ 2.130294e-02  1.345728e-02 -2.442222e-01 -3.087770e-01 -1.567608e-06 -3.140587e-06
+ 2.130294e-02  1.360597e-02 -2.440023e-01 -3.086895e-01 -2.288232e-05 -4.688164e-05
+ 2.130294e-02  1.375306e-02 -2.436691e-01 -3.083662e-01  4.085527e-07 -6.256769e-08
+ 2.130294e-02  1.389858e-02 -2.433674e-01 -3.081215e-01 -1.003357e-07 -1.027213e-08
+ 2.130294e-02  1.404260e-02 -2.430628e-01 -3.078743e-01  6.658447e-08  1.172335e-07
+ 2.130294e-02  1.418516e-02 -2.427298e-01 -3.075824e-01 -7.164559e-07 -5.353596e-07
+ 2.130294e-02  1.432630e-02 -2.422477e-01 -3.070573e-01 -2.868720e-04 -4.470069e-04
+ 2.130294e-02  1.446606e-02 -2.418946e-01 -3.067265e-01 -1.003892e-07  7.710993e-07
+ 2.130294e-02  1.460449e-02 -2.418685e-01 -3.069246e-01  5.319791e-07 -6.651298e-06
+ 2.130294e-02  1.474161e-02 -2.418370e-01 -3.071402e-01  1.695846e-07  8.190312e-07
+ 2.130294e-02  1.487748e-02 -2.417922e-01 -3.074526e-01  8.010384e-06 -7.256647e-05
+ 2.130294e-02  1.501211e-02 -2.411458e-01 -3.065506e-01  7.322568e-08  3.093184e-07
+ 2.130294e-02  1.514554e-02 -2.407918e-01 -3.062445e-01  8.533088e-07  1.749161e-07
+ 2.130294e-02  1.527781e-02 -2.404159e-01 -3.059214e-01  1.038025e-05  1.316206e-05
+ 2.130294e-02  1.540894e-02 -2.401182e-01 -3.057051e-01  7.991937e-06  1.006041e-05
+ 2.130294e-02  1.553897e-02 -2.397037e-01 -3.053324e-01  3.744937e-07  3.917241e-07
+ 2.130294e-02  1.566792e-02 -2.394007e-01 -3.051220e-01 -6.448873e-06 -1.239843e-05
+ 2.130294e-02  1.579582e-02 -2.390639e-01 -3.048663e-01 -2.785041e-06 -1.956922e-06
+ 2.130294e-02  1.592268e-02 -2.386370e-01 -3.045385e-01  1.588530e-05  1.668498e-05
+ 2.130294e-02  1.604855e-02 -2.384698e-01 -3.044430e-01  2.195302e-05  1.823619e-05
+ 2.130294e-02  1.617343e-02 -2.380579e-01 -3.041373e-01 -1.425011e-06 -1.523565e-06
+ 2.130294e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.380565e-01  3.041358e-01
+ 2.130294e-02  1.642036e-02 -2.371643e-01 -3.034123e-01 -4.961970e-04 -5.938202e-04
+ 2.130294e-02  1.654243e-02 -2.368166e-01 -3.030517e-01  3.901305e-04  4.660867e-04
+ 2.130294e-02  1.666362e-02 -2.351782e-01 -3.014872e-01 -2.351782e-01 -3.014872e-01
+ 2.130294e-02  1.678393e-02 -2.343616e-01 -3.007967e-01  3.358402e-05  4.224354e-05
+ 2.130294e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.343952e-01  3.008390e-01
+ 2.130294e-02  1.924133e-02 -2.262507e-01 -2.956251e-01 -2.262507e-01 -2.956251e-01
+ 2.130294e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.130294e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.139699e-02  1.000000e-06 -2.562511e-01 -3.156277e-01 -1.393255e-07 -3.705395e-09
+ 2.139699e-02  2.006944e-03 -2.559570e-01 -3.155425e-01 -5.667480e-08 -2.176546e-09
+ 2.139699e-02  2.837833e-03 -2.556674e-01 -3.154534e-01  2.221133e-06 -6.609935e-07
+ 2.139699e-02  3.475396e-03 -2.553810e-01 -3.153610e-01 -6.418818e-07  5.750183e-08
+ 2.139699e-02  4.012887e-03 -2.550975e-01 -3.152652e-01  3.143021e-09 -4.872590e-09
+ 2.139699e-02  4.486426e-03 -2.548179e-01 -3.151659e-01 -6.234697e-07 -2.720452e-08
+ 2.139699e-02  4.914538e-03 -2.545403e-01 -3.150634e-01  1.493822e-07 -1.154517e-08
+ 2.139699e-02  5.308228e-03 -2.542661e-01 -3.149578e-01  1.232879e-08  5.129278e-09
+ 2.139699e-02  5.674665e-03 -2.539941e-01 -3.148490e-01 -3.948352e-07 -2.815705e-08
+ 2.139699e-02  6.018831e-03 -2.537239e-01 -3.147372e-01  2.989298e-07  2.071885e-08
+ 2.139699e-02  6.344350e-03 -2.534570e-01 -3.146225e-01 -1.919092e-06 -1.184640e-07
+ 2.139699e-02  6.653962e-03 -2.531899e-01 -3.145048e-01  7.900506e-08  1.352550e-08
+ 2.139699e-02  6.949792e-03 -2.529278e-01 -3.143845e-01 -4.293153e-06 -2.669997e-07
+ 2.139699e-02  7.233532e-03 -2.526629e-01 -3.142613e-01 -3.559870e-07  3.991312e-08
+ 2.139699e-02  7.506553e-03 -2.524053e-01 -3.141359e-01 -6.921323e-06 -4.897220e-07
+ 2.139699e-02  7.769986e-03 -2.521410e-01 -3.140075e-01  2.514233e-07  2.901323e-08
+ 2.139699e-02  8.024774e-03 -2.518890e-01 -3.138777e-01 -9.750518e-06 -7.147957e-07
+ 2.139699e-02  8.271717e-03 -2.516241e-01 -3.137447e-01  1.407906e-06  1.217087e-07
+ 2.139699e-02  8.511498e-03 -2.513833e-01 -3.136118e-01 -1.125554e-05 -8.877367e-07
+ 2.139699e-02  8.744705e-03 -2.511138e-01 -3.134751e-01  1.499983e-06  3.449058e-07
+ 2.139699e-02  8.971852e-03 -2.509321e-01 -3.133465e-01  1.538770e-05  1.845651e-06
+ 2.139699e-02  9.193388e-03 -2.502610e-01 -3.131748e-01  1.416249e-04  1.549995e-05
+ 2.139699e-02  9.409709e-03 -2.501233e-01 -3.130351e-01 -2.779490e-05 -6.186618e-06
+ 2.139699e-02  9.621167e-03 -2.498489e-01 -3.131226e-01  1.200879e-04 -8.199534e-04
+ 2.139699e-02  9.828076e-03 -2.498570e-01 -3.121383e-01 -2.564154e-05 -1.495290e-05
+ 2.139699e-02  1.003072e-02 -2.497732e-01 -3.121283e-01 -3.374584e-04 -1.875784e-05
+ 2.139699e-02  1.022935e-02 -2.492660e-01 -3.120657e-01 -1.725082e-05  1.459468e-06
+ 2.139699e-02  1.042419e-02 -2.489732e-01 -3.119671e-01  1.854659e-04  2.287135e-05
+ 2.139699e-02  1.061546e-02 -2.487932e-01 -3.118514e-01 -2.176406e-06 -5.312714e-08
+ 2.139699e-02  1.080334e-02 -2.485190e-01 -3.117063e-01  3.917469e-05  3.225733e-06
+ 2.139699e-02  1.098801e-02 -2.482809e-01 -3.115523e-01  1.279126e-06  1.612282e-06
+ 2.139699e-02  1.116962e-02 -2.480158e-01 -3.113870e-01  1.340765e-05  1.912804e-06
+ 2.139699e-02  1.134833e-02 -2.477629e-01 -3.112186e-01 -2.214438e-05 -1.477641e-05
+ 2.139699e-02  1.152427e-02 -2.475058e-01 -3.110472e-01  2.167406e-06 -1.104816e-06
+ 2.139699e-02  1.169756e-02 -2.472566e-01 -3.108751e-01  3.267681e-05  2.159165e-05
+ 2.139699e-02  1.186832e-02 -2.469994e-01 -3.106960e-01 -1.378100e-05 -9.373049e-06
+ 2.139699e-02  1.203666e-02 -2.467314e-01 -3.105063e-01 -1.959799e-06 -7.657747e-07
+ 2.139699e-02  1.220268e-02 -2.464578e-01 -3.103110e-01 -5.415231e-07  9.244365e-08
+ 2.139699e-02  1.236647e-02 -2.461868e-01 -3.101151e-01 -1.425020e-07  2.780109e-08
+ 2.139699e-02  1.252811e-02 -2.459159e-01 -3.099166e-01 -9.443568e-07 -1.062970e-07
+ 2.139699e-02  1.268770e-02 -2.456409e-01 -3.097138e-01  3.502407e-07  1.438199e-07
+ 2.139699e-02  1.284531e-02 -2.453643e-01 -3.095062e-01 -9.188434e-07 -1.010305e-07
+ 2.139699e-02  1.300100e-02 -2.450856e-01 -3.092973e-01 -2.702016e-07  3.824581e-07
+ 2.139699e-02  1.315485e-02 -2.448031e-01 -3.090827e-01 -1.138110e-06 -1.539036e-07
+ 2.139699e-02  1.330692e-02 -2.445157e-01 -3.088603e-01 -1.159470e-06  2.938241e-08
+ 2.139699e-02  1.345728e-02 -2.442116e-01 -3.086080e-01  2.608439e-07  1.197983e-06
+ 2.139699e-02  1.360597e-02 -2.440644e-01 -3.086760e-01 -3.451327e-06 -7.489354e-06
+ 2.139699e-02  1.375306e-02 -2.436493e-01 -3.081970e-01 -1.098994e-06 -2.505635e-06
+ 2.139699e-02  1.389858e-02 -2.433426e-01 -3.079531e-01 -1.627690e-06 -1.409197e-06
+ 2.139699e-02  1.404260e-02 -2.430246e-01 -3.076925e-01 -5.192529e-08 -5.034062e-08
+ 2.139699e-02  1.418516e-02 -2.425365e-01 -3.072086e-01  4.004990e-05  5.291441e-05
+ 2.139699e-02  1.432630e-02 -2.417979e-01 -3.062496e-01  1.361718e-04  1.957688e-04
+ 2.139699e-02  1.446606e-02 -2.419047e-01 -3.066467e-01  4.775572e-06 -1.500949e-06
+ 2.139699e-02  1.460449e-02 -2.418793e-01 -3.068529e-01 -1.077410e-06  7.527202e-08
+ 2.139699e-02  1.474161e-02 -2.418463e-01 -3.070780e-01  1.086095e-07  3.335315e-07
+ 2.139699e-02  1.487748e-02 -2.418025e-01 -3.073190e-01  2.777960e-04  3.910096e-04
+ 2.139699e-02  1.501211e-02 -2.410859e-01 -3.063882e-01  1.119259e-07 -1.047218e-07
+ 2.139699e-02  1.514554e-02 -2.407497e-01 -3.061153e-01 -2.181313e-06 -4.973303e-06
+ 2.139699e-02  1.527781e-02 -2.403630e-01 -3.057771e-01 -4.343324e-06 -4.401378e-06
+ 2.139699e-02  1.540894e-02 -2.399692e-01 -3.054386e-01  1.311612e-04  1.821463e-04
+ 2.139699e-02  1.553897e-02 -2.396087e-01 -3.051472e-01 -8.151244e-06 -8.522907e-06
+ 2.139699e-02  1.566792e-02 -2.393065e-01 -3.049394e-01 -5.891084e-06  2.927561e-08
+ 2.139699e-02  1.579582e-02 -2.389929e-01 -3.047207e-01 -2.357392e-07  1.609711e-06
+ 2.139699e-02  1.592268e-02 -2.385780e-01 -3.043945e-01 -1.402669e-06 -1.927477e-06
+ 2.139699e-02  1.604855e-02 -2.382333e-01 -3.041473e-01 -6.616921e-06 -4.820888e-06
+ 2.139699e-02  1.617343e-02 -2.379089e-01 -3.039238e-01 -2.379089e-01 -3.039238e-01
+ 2.139699e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.139699e-02  1.642036e-02 -2.368899e-01 -3.029508e-01 -2.121055e-05 -1.470137e-04
+ 2.139699e-02  1.654243e-02 -2.352930e-01 -3.014092e-01 -9.172321e-06  5.015245e-06
+ 2.139699e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.352838e-01  3.014142e-01
+ 2.139699e-02  1.678393e-02 -2.345450e-01 -3.009409e-01  1.374736e-04  1.560819e-04
+ 2.139699e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.139699e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.346825e-01  3.010970e-01
+ 2.149062e-02  1.000000e-06 -2.564704e-01 -3.155734e-01  1.880108e-08  5.534971e-10
+ 2.149062e-02  2.006944e-03 -2.561731e-01 -3.154876e-01  6.243576e-08  2.128194e-09
+ 2.149062e-02  2.837833e-03 -2.558798e-01 -3.153982e-01 -4.608377e-07 -1.746176e-08
+ 2.149062e-02  3.475396e-03 -2.555903e-01 -3.153049e-01  2.076610e-09 -5.132924e-09
+ 2.149062e-02  4.012887e-03 -2.553036e-01 -3.152085e-01 -4.528942e-07 -1.546338e-08
+ 2.149062e-02  4.486426e-03 -2.550198e-01 -3.151087e-01  7.437673e-08  2.409798e-08
+ 2.149062e-02  4.914538e-03 -2.547390e-01 -3.150055e-01  8.519154e-08  1.201997e-08
+ 2.149062e-02  5.308228e-03 -2.544609e-01 -3.148991e-01 -5.388081e-07 -2.362892e-08
+ 2.149062e-02  5.674665e-03 -2.541847e-01 -3.147896e-01  1.143989e-07  6.154361e-09
+ 2.149062e-02  6.018831e-03 -2.539118e-01 -3.146772e-01 -1.741328e-06 -9.869048e-08
+ 2.149062e-02  6.344350e-03 -2.536392e-01 -3.145617e-01 -2.032325e-08  1.014225e-08
+ 2.149062e-02  6.653962e-03 -2.533707e-01 -3.144435e-01 -2.212531e-06 -1.114420e-07
+ 2.149062e-02  6.949792e-03 -2.531012e-01 -3.143224e-01  1.935492e-07 -4.929067e-08
+ 2.149062e-02  7.233532e-03 -2.528359e-01 -3.141989e-01 -1.373466e-06 -6.957748e-08
+ 2.149062e-02  7.506553e-03 -2.525696e-01 -3.140728e-01  3.026248e-07  5.351488e-08
+ 2.149062e-02  7.769986e-03 -2.523065e-01 -3.139446e-01  5.864003e-07  1.129147e-07
+ 2.149062e-02  8.024774e-03 -2.520443e-01 -3.138143e-01 -3.390434e-06 -1.845170e-07
+ 2.149062e-02  8.271717e-03 -2.517805e-01 -3.136820e-01  3.949289e-06  2.828924e-07
+ 2.149062e-02  8.511498e-03 -2.515272e-01 -3.135492e-01 -2.078434e-05 -1.595812e-06
+ 2.149062e-02  8.744705e-03 -2.512554e-01 -3.134140e-01  7.863413e-06  6.256684e-07
+ 2.149062e-02  8.971852e-03 -2.510427e-01 -3.132842e-01 -1.465349e-04 -1.177069e-05
+ 2.149062e-02  9.193388e-03 -2.506755e-01 -3.131403e-01 -4.085596e-05 -2.614628e-06
+ 2.149062e-02  9.409709e-03 -2.501503e-01 -3.129717e-01  5.151814e-04  5.572587e-05
+ 2.149062e-02  9.621167e-03 -2.501248e-01 -3.124056e-01 -1.559810e-04 -3.746517e-04
+ 2.149062e-02  9.828076e-03 -2.499913e-01 -3.127834e-01 -9.668501e-07  2.662516e-04
+ 2.149062e-02  1.003072e-02 -2.498254e-01 -3.119913e-01 -5.955755e-04 -6.345581e-05
+ 2.149062e-02  1.022935e-02 -2.494750e-01 -3.119114e-01  1.712248e-04  1.554725e-05
+ 2.149062e-02  1.042419e-02 -2.490124e-01 -3.117983e-01  1.064307e-04  1.392267e-05
+ 2.149062e-02  1.061546e-02 -2.488579e-01 -3.116936e-01 -1.167097e-06 -8.016499e-07
+ 2.149062e-02  1.080334e-02 -2.485890e-01 -3.115550e-01  2.521989e-05  2.849289e-06
+ 2.149062e-02  1.098801e-02 -2.483539e-01 -3.114078e-01 -5.506744e-07 -3.269762e-07
+ 2.149062e-02  1.116962e-02 -2.480870e-01 -3.112469e-01  1.362184e-05  1.699912e-06
+ 2.149062e-02  1.134833e-02 -2.478332e-01 -3.110803e-01  1.265289e-06  7.202481e-08
+ 2.149062e-02  1.152427e-02 -2.475650e-01 -3.109060e-01  1.002303e-05  1.193038e-06
+ 2.149062e-02  1.169756e-02 -2.473026e-01 -3.107273e-01  2.405268e-06  1.643774e-07
+ 2.149062e-02  1.186832e-02 -2.470324e-01 -3.105431e-01  5.504435e-06  6.423392e-07
+ 2.149062e-02  1.203666e-02 -2.467636e-01 -3.103552e-01  9.531273e-07  4.899494e-08
+ 2.149062e-02  1.220268e-02 -2.464908e-01 -3.101628e-01  1.207030e-06  1.322267e-07
+ 2.149062e-02  1.236647e-02 -2.462165e-01 -3.099666e-01  1.359956e-07  1.545075e-08
+ 2.149062e-02  1.252811e-02 -2.459400e-01 -3.097667e-01 -4.805133e-07 -9.394056e-08
+ 2.149062e-02  1.268770e-02 -2.456601e-01 -3.095624e-01  4.368045e-07  9.264042e-08
+ 2.149062e-02  1.284531e-02 -2.453760e-01 -3.093486e-01 -3.192842e-07  6.616661e-07
+ 2.149062e-02  1.300100e-02 -2.450930e-01 -3.091393e-01  5.734404e-07  2.855941e-06
+ 2.149062e-02  1.315485e-02 -2.448050e-01 -3.089250e-01 -8.664823e-07  8.654672e-09
+ 2.149062e-02  1.330692e-02 -2.445114e-01 -3.087003e-01 -4.194459e-07  2.590327e-07
+ 2.149062e-02  1.345728e-02 -2.440798e-01 -3.082137e-01  5.801305e-05  1.053254e-04
+ 2.149062e-02  1.360597e-02 -2.439503e-01 -3.083100e-01 -8.013523e-07 -2.853901e-08
+ 2.149062e-02  1.375306e-02 -2.436198e-01 -3.080105e-01  2.198489e-06  7.051122e-06
+ 2.149062e-02  1.389858e-02 -2.433054e-01 -3.077719e-01  1.427917e-06  9.893603e-08
+ 2.149062e-02  1.404260e-02 -2.429749e-01 -3.075009e-01  4.409926e-06  3.666825e-07
+ 2.149062e-02  1.418516e-02 -2.426670e-01 -3.072467e-01 -1.301651e-05 -2.482220e-05
+ 2.149062e-02  1.432630e-02 -2.419477e-01 -3.063688e-01 -1.734697e-06 -6.148677e-06
+ 2.149062e-02  1.446606e-02 -2.419185e-01 -3.065689e-01 -5.583955e-07 -1.716131e-07
+ 2.149062e-02  1.460449e-02 -2.418884e-01 -3.067806e-01 -1.141127e-07  1.856119e-08
+ 2.149062e-02  1.474161e-02 -2.418568e-01 -3.070033e-01  2.739541e-06 -2.430327e-05
+ 2.149062e-02  1.487748e-02 -2.414799e-01 -3.066813e-01  3.668468e-06  5.927557e-06
+ 2.149062e-02  1.501211e-02 -2.409941e-01 -3.061827e-01 -6.768214e-07 -5.994347e-07
+ 2.149062e-02  1.514554e-02 -2.406582e-01 -3.059059e-01 -1.341126e-04 -1.697286e-04
+ 2.149062e-02  1.527781e-02 -2.402946e-01 -3.056143e-01  7.172588e-07  5.054299e-07
+ 2.149062e-02  1.540894e-02 -2.398774e-01 -3.052510e-01 -1.307474e-04 -1.673995e-04
+ 2.149062e-02  1.553897e-02 -2.396257e-01 -3.051014e-01 -1.543059e-05 -1.987469e-05
+ 2.149062e-02  1.566792e-02 -2.392169e-01 -3.047728e-01 -6.018494e-07  1.192194e-07
+ 2.149062e-02  1.579582e-02 -2.387101e-01 -3.043580e-01  3.651487e-04  3.889166e-04
+ 2.149062e-02  1.592268e-02 -2.384108e-01 -3.041554e-01 -3.368910e-06 -1.624879e-06
+ 2.149062e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.384074e-01  3.041538e-01
+ 2.149062e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.384074e-01  3.041538e-01
+ 2.149062e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.384074e-01  3.041538e-01
+ 2.149062e-02  1.642036e-02 -2.374079e-01 -3.036472e-01 -5.268321e-04 -7.498281e-04
+ 2.149062e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.368811e-01  3.028973e-01
+ 2.149062e-02  1.666362e-02 -2.343369e-01 -3.005649e-01 -2.343369e-01 -3.005649e-01
+ 2.149062e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.149062e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.158385e-02  1.000000e-06 -2.566857e-01 -3.155145e-01  3.430664e-08  1.114635e-09
+ 2.158385e-02  2.006944e-03 -2.563852e-01 -3.154282e-01 -2.979851e-07 -1.074269e-08
+ 2.158385e-02  2.837833e-03 -2.560883e-01 -3.153383e-01 -1.586081e-09 -3.494712e-09
+ 2.158385e-02  3.475396e-03 -2.557949e-01 -3.152448e-01 -3.773120e-07 -1.006803e-08
+ 2.158385e-02  4.012887e-03 -2.555054e-01 -3.151474e-01  5.369882e-08  4.553762e-09
+ 2.158385e-02  4.486426e-03 -2.552181e-01 -3.150469e-01  8.397796e-08 -1.874989e-08
+ 2.158385e-02  4.914538e-03 -2.549339e-01 -3.149430e-01 -5.426409e-07 -2.799339e-08
+ 2.158385e-02  5.308228e-03 -2.546517e-01 -3.148359e-01 -2.939293e-08  3.915001e-08
+ 2.158385e-02  5.674665e-03 -2.543726e-01 -3.147258e-01 -1.246061e-06 -5.998396e-08
+ 2.158385e-02  6.018831e-03 -2.540946e-01 -3.146125e-01  7.874348e-08  2.209805e-09
+ 2.158385e-02  6.344350e-03 -2.538198e-01 -3.144965e-01 -7.663401e-07 -3.836714e-08
+ 2.158385e-02  6.653962e-03 -2.535456e-01 -3.143775e-01  1.171127e-07  8.324525e-09
+ 2.158385e-02  6.949792e-03 -2.532737e-01 -3.142560e-01  3.320952e-07  4.710029e-08
+ 2.158385e-02  7.233532e-03 -2.530036e-01 -3.141320e-01 -1.556321e-06 -8.370371e-08
+ 2.158385e-02  7.506553e-03 -2.527332e-01 -3.140056e-01  6.535854e-07  5.198924e-08
+ 2.158385e-02  7.769986e-03 -2.524677e-01 -3.138773e-01 -6.482469e-06 -5.368703e-07
+ 2.158385e-02  8.024774e-03 -2.521967e-01 -3.137467e-01  1.593146e-07  1.873757e-07
+ 2.158385e-02  8.271717e-03 -2.519375e-01 -3.136155e-01 -1.453735e-05 -7.771678e-07
+ 2.158385e-02  8.511498e-03 -2.516627e-01 -3.134818e-01 -1.524813e-06 -5.441144e-07
+ 2.158385e-02  8.744705e-03 -2.514163e-01 -3.133496e-01 -2.771654e-05 -2.673626e-06
+ 2.158385e-02  8.971852e-03 -2.511306e-01 -3.132142e-01  3.087841e-06  1.651846e-06
+ 2.158385e-02  9.193388e-03 -2.509444e-01 -3.130902e-01 -6.197384e-06 -6.934480e-07
+ 2.158385e-02  9.409709e-03 -2.502520e-01 -3.129176e-01  1.818702e-04  1.873278e-05
+ 2.158385e-02  9.621167e-03 -2.501254e-01 -3.127255e-01 -3.394154e-05 -1.095010e-05
+ 2.158385e-02  9.828076e-03 -2.498631e-01 -3.119407e-01 -3.550007e-04 -2.719792e-05
+ 2.158385e-02  1.003072e-02 -2.498802e-01 -3.118556e-01  1.373206e-05  8.136457e-06
+ 2.158385e-02  1.022935e-02 -2.498025e-01 -3.117963e-01 -5.414424e-04 -7.406875e-05
+ 2.158385e-02  1.042419e-02 -2.490774e-01 -3.116386e-01 -3.342641e-05 -5.406021e-06
+ 2.158385e-02  1.061546e-02 -2.489071e-01 -3.115346e-01  1.217688e-05  1.606540e-06
+ 2.158385e-02  1.080334e-02 -2.486609e-01 -3.114022e-01 -7.285784e-06 -9.401127e-07
+ 2.158385e-02  1.098801e-02 -2.484135e-01 -3.112557e-01  5.038401e-07  6.856641e-08
+ 2.158385e-02  1.116962e-02 -2.481499e-01 -3.110971e-01  2.821123e-06  2.922366e-07
+ 2.158385e-02  1.134833e-02 -2.478903e-01 -3.109310e-01 -1.044393e-06 -1.646892e-07
+ 2.158385e-02  1.152427e-02 -2.476193e-01 -3.107570e-01  5.186018e-06  6.664833e-07
+ 2.158385e-02  1.169756e-02 -2.473523e-01 -3.105782e-01  7.626681e-08 -1.684749e-08
+ 2.158385e-02  1.186832e-02 -2.470771e-01 -3.103934e-01  4.967730e-06  6.360989e-07
+ 2.158385e-02  1.203666e-02 -2.468038e-01 -3.102047e-01  2.667526e-07 -2.937736e-08
+ 2.158385e-02  1.220268e-02 -2.465252e-01 -3.100111e-01  1.632749e-06  2.100545e-07
+ 2.158385e-02  1.236647e-02 -2.462458e-01 -3.098137e-01 -4.658703e-07 -7.220753e-08
+ 2.158385e-02  1.252811e-02 -2.459634e-01 -3.096120e-01 -6.518224e-07 -7.220326e-08
+ 2.158385e-02  1.268770e-02 -2.456778e-01 -3.094057e-01  4.870668e-08  2.100679e-07
+ 2.158385e-02  1.284531e-02 -2.453925e-01 -3.092007e-01  5.820208e-06  1.501705e-05
+ 2.158385e-02  1.300100e-02 -2.450989e-01 -3.089794e-01 -2.527566e-06 -1.184617e-05
+ 2.158385e-02  1.315485e-02 -2.448050e-01 -3.087619e-01 -1.230487e-06 -6.869230e-08
+ 2.158385e-02  1.330692e-02 -2.445013e-01 -3.085283e-01 -1.194590e-06 -1.824113e-07
+ 2.158385e-02  1.345728e-02 -2.441488e-01 -3.082036e-01  2.878604e-05  5.167689e-05
+ 2.158385e-02  1.360597e-02 -2.439216e-01 -3.081225e-01 -5.817900e-07 -8.691449e-07
+ 2.158385e-02  1.375306e-02 -2.435858e-01 -3.078061e-01  5.147024e-06  2.404443e-05
+ 2.158385e-02  1.389858e-02 -2.432658e-01 -3.075795e-01 -4.457557e-07 -2.734959e-07
+ 2.158385e-02  1.404260e-02 -2.429003e-01 -3.072708e-01  2.102457e-06 -2.063666e-06
+ 2.158385e-02  1.418516e-02 -2.425451e-01 -3.069493e-01  8.526008e-06  1.264551e-05
+ 2.158385e-02  1.432630e-02 -2.419627e-01 -3.062818e-01 -1.186838e-06 -4.861469e-07
+ 2.158385e-02  1.446606e-02 -2.419309e-01 -3.064905e-01 -1.114891e-06  9.393094e-07
+ 2.158385e-02  1.460449e-02 -2.418961e-01 -3.067075e-01  2.863032e-06  2.184560e-07
+ 2.158385e-02  1.474161e-02 -2.418669e-01 -3.069284e-01 -8.345903e-09  5.996532e-06
+ 2.158385e-02  1.487748e-02 -2.413715e-01 -3.064261e-01 -1.858340e-06 -4.120937e-06
+ 2.158385e-02  1.501211e-02 -2.409428e-01 -3.060361e-01 -3.792414e-06 -8.615801e-06
+ 2.158385e-02  1.514554e-02 -2.405261e-01 -3.056637e-01 -1.178537e-06 -8.939029e-06
+ 2.158385e-02  1.527781e-02 -2.402439e-01 -3.054779e-01  3.099273e-05  2.794179e-05
+ 2.158385e-02  1.540894e-02 -2.397112e-01 -3.049705e-01  7.964516e-05  9.488729e-05
+ 2.158385e-02  1.553897e-02 -2.395099e-01 -3.048959e-01  4.839091e-05  4.861005e-05
+ 2.158385e-02  1.566792e-02 -2.391391e-01 -3.046264e-01  1.254935e-05  7.980278e-06
+ 2.158385e-02  1.579582e-02 -2.386672e-01 -3.042482e-01  2.995910e-04  3.064026e-04
+ 2.158385e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.158385e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.389668e-01  3.045546e-01
+ 2.167668e-02  1.000000e-06 -2.568969e-01 -3.154511e-01 -1.531700e-07 -5.023323e-09
+ 2.167668e-02  2.006944e-03 -2.565930e-01 -3.153643e-01  2.051031e-09 -3.412909e-09
+ 2.167668e-02  2.837833e-03 -2.562932e-01 -3.152738e-01 -3.320513e-07 -1.453897e-08
+ 2.167668e-02  3.475396e-03 -2.559964e-01 -3.151797e-01  4.526155e-08  4.293069e-09
+ 2.167668e-02  4.012887e-03 -2.557036e-01 -3.150815e-01  3.113313e-06 -1.373520e-06
+ 2.167668e-02  4.486426e-03 -2.554128e-01 -3.149805e-01 -4.726237e-07 -2.911548e-08
+ 2.167668e-02  4.914538e-03 -2.551245e-01 -3.148760e-01  2.084791e-09 -7.050823e-09
+ 2.167668e-02  5.308228e-03 -2.548394e-01 -3.147682e-01 -8.075361e-07 -4.127670e-08
+ 2.167668e-02  5.674665e-03 -2.545558e-01 -3.146573e-01  1.139083e-07 -1.415531e-08
+ 2.167668e-02  6.018831e-03 -2.542749e-01 -3.145435e-01 -8.882378e-08 -5.018909e-09
+ 2.167668e-02  6.344350e-03 -2.539957e-01 -3.144267e-01 -3.546046e-07  5.166695e-10
+ 2.167668e-02  6.653962e-03 -2.537179e-01 -3.143072e-01  2.801142e-07  3.414410e-08
+ 2.167668e-02  6.949792e-03 -2.534429e-01 -3.141852e-01 -2.315198e-06 -1.577630e-07
+ 2.167668e-02  7.233532e-03 -2.531670e-01 -3.140605e-01 -1.374826e-08  3.144316e-08
+ 2.167668e-02  7.506553e-03 -2.528958e-01 -3.139340e-01 -4.047652e-06 -2.874078e-07
+ 2.167668e-02  7.769986e-03 -2.526214e-01 -3.138052e-01  3.176986e-07  1.601499e-07
+ 2.167668e-02  8.024774e-03 -2.523531e-01 -3.136752e-01 -2.884810e-06 -2.637989e-07
+ 2.167668e-02  8.271717e-03 -2.520807e-01 -3.135435e-01  4.054435e-07  1.586396e-07
+ 2.167668e-02  8.511498e-03 -2.518129e-01 -3.134112e-01  2.658280e-06  4.818015e-07
+ 2.167668e-02  8.744705e-03 -2.515473e-01 -3.132794e-01 -1.159714e-05  1.687627e-07
+ 2.167668e-02  8.971852e-03 -2.512722e-01 -3.131483e-01  1.053766e-05 -1.212383e-06
+ 2.167668e-02  9.193388e-03 -2.510452e-01 -3.130230e-01 -1.412117e-04 -1.294453e-05
+ 2.167668e-02  9.409709e-03 -2.506322e-01 -3.128752e-01 -8.804733e-05 -5.592154e-06
+ 2.167668e-02  9.621167e-03 -2.501350e-01 -3.126425e-01  6.029244e-05  1.040066e-05
+ 2.167668e-02  9.828076e-03 -2.497988e-01 -3.118671e-01 -1.153804e-04 -1.499857e-05
+ 2.167668e-02  1.003072e-02 -2.498895e-01 -3.116632e-01  1.083164e-05  4.896447e-06
+ 2.167668e-02  1.022935e-02 -2.498357e-01 -3.116294e-01 -6.400961e-04 -7.705120e-05
+ 2.167668e-02  1.042419e-02 -2.493958e-01 -3.115073e-01  8.727071e-05  8.328490e-06
+ 2.167668e-02  1.061546e-02 -2.489350e-01 -3.113713e-01  9.373690e-05  1.137854e-05
+ 2.167668e-02  1.080334e-02 -2.487303e-01 -3.112459e-01 -1.104060e-05 -1.143450e-06
+ 2.167668e-02  1.098801e-02 -2.484660e-01 -3.110991e-01  1.659585e-05  2.255925e-06
+ 2.167668e-02  1.116962e-02 -2.482100e-01 -3.109429e-01 -5.435414e-06 -6.330817e-07
+ 2.167668e-02  1.134833e-02 -2.479414e-01 -3.107767e-01  1.336812e-06  1.756145e-07
+ 2.167668e-02  1.152427e-02 -2.476686e-01 -3.106030e-01  1.592222e-06  1.889050e-07
+ 2.167668e-02  1.169756e-02 -2.473957e-01 -3.104237e-01 -4.384253e-07 -8.107546e-08
+ 2.167668e-02  1.186832e-02 -2.471159e-01 -3.102382e-01  3.326816e-06  5.000302e-07
+ 2.167668e-02  1.203666e-02 -2.468379e-01 -3.100485e-01 -4.353018e-07 -3.542900e-08
+ 2.167668e-02  1.220268e-02 -2.465540e-01 -3.098537e-01  2.227986e-06  3.163663e-07
+ 2.167668e-02  1.236647e-02 -2.462696e-01 -3.096544e-01  1.269228e-07  2.510983e-07
+ 2.167668e-02  1.252811e-02 -2.459821e-01 -3.094517e-01  5.262013e-07  8.495808e-08
+ 2.167668e-02  1.268770e-02 -2.456915e-01 -3.092439e-01  1.042975e-06  1.173812e-07
+ 2.167668e-02  1.284531e-02 -2.453997e-01 -3.090343e-01  6.543814e-07  5.346560e-07
+ 2.167668e-02  1.300100e-02 -2.451023e-01 -3.088178e-01  3.977269e-06  1.277394e-05
+ 2.167668e-02  1.315485e-02 -2.448020e-01 -3.085938e-01  1.741760e-07  3.680031e-08
+ 2.167668e-02  1.330692e-02 -2.444910e-01 -3.083557e-01  3.483504e-07  2.774990e-08
+ 2.167668e-02  1.345728e-02 -2.441867e-01 -3.081353e-01  1.655575e-06  2.018159e-06
+ 2.167668e-02  1.360597e-02 -2.438922e-01 -3.079291e-01 -1.309717e-06 -2.218729e-06
+ 2.167668e-02  1.375306e-02 -2.435481e-01 -3.076086e-01 -7.913099e-07 -3.152306e-06
+ 2.167668e-02  1.389858e-02 -2.432501e-01 -3.074347e-01 -1.844709e-05 -3.314864e-05
+ 2.167668e-02  1.404260e-02 -2.428949e-01 -3.071245e-01 -1.528103e-06 -3.096810e-06
+ 2.167668e-02  1.418516e-02 -2.423071e-01 -3.064632e-01  1.830241e-04  2.766033e-04
+ 2.167668e-02  1.432630e-02 -2.419743e-01 -3.061993e-01 -3.534566e-06  5.712716e-07
+ 2.167668e-02  1.446606e-02 -2.419406e-01 -3.064106e-01  6.683113e-07 -1.684865e-07
+ 2.167668e-02  1.460449e-02 -2.419065e-01 -3.066341e-01  2.821226e-06  2.262875e-07
+ 2.167668e-02  1.474161e-02 -2.418777e-01 -3.068647e-01 -1.156514e-06  9.421567e-08
+ 2.167668e-02  1.487748e-02 -2.412671e-01 -3.061909e-01  9.879841e-06  4.985179e-06
+ 2.167668e-02  1.501211e-02 -2.408778e-01 -3.058535e-01  8.186494e-06  1.506990e-05
+ 2.167668e-02  1.514554e-02 -2.404773e-01 -3.055102e-01  2.289774e-05  2.511713e-05
+ 2.167668e-02  1.527781e-02 -2.401575e-01 -3.052946e-01 -3.600753e-07  7.940910e-07
+ 2.167668e-02  1.540894e-02 -2.396994e-01 -3.048760e-01  6.648886e-07 -7.353885e-07
+ 2.167668e-02  1.553897e-02 -2.394189e-01 -3.047074e-01 -1.970652e-05 -3.489764e-05
+ 2.167668e-02  1.566792e-02 -2.390370e-01 -3.044263e-01 -3.872115e-05 -1.842200e-05
+ 2.167668e-02  1.579582e-02 -2.385315e-01 -3.040286e-01 -2.385315e-01 -3.040286e-01
+ 2.167668e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.167668e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.176912e-02  1.000000e-06 -2.571039e-01 -3.153830e-01  1.553059e-08 -2.445429e-09
+ 2.176912e-02  2.006944e-03 -2.567971e-01 -3.152958e-01 -3.058046e-07 -1.407520e-08
+ 2.176912e-02  2.837833e-03 -2.564938e-01 -3.152048e-01  4.002487e-08  1.753719e-09
+ 2.176912e-02  3.475396e-03 -2.561938e-01 -3.151100e-01  5.010384e-08  3.379886e-09
+ 2.176912e-02  4.012887e-03 -2.558969e-01 -3.150117e-01 -3.832006e-07 -1.310568e-08
+ 2.176912e-02  4.486426e-03 -2.556036e-01 -3.149093e-01  4.348976e-09 -2.777452e-09
+ 2.176912e-02  4.914538e-03 -2.553121e-01 -3.148043e-01 -5.166714e-07 -5.045663e-08
+ 2.176912e-02  5.308228e-03 -2.550228e-01 -3.146959e-01  6.597623e-08 -8.986083e-08
+ 2.176912e-02  5.674665e-03 -2.547360e-01 -3.145843e-01  7.916549e-08  5.292437e-08
+ 2.176912e-02  6.018831e-03 -2.544514e-01 -3.144698e-01 -6.731392e-07 -4.048718e-08
+ 2.176912e-02  6.344350e-03 -2.541680e-01 -3.143524e-01  5.315080e-08  1.427308e-08
+ 2.176912e-02  6.653962e-03 -2.538876e-01 -3.142323e-01 -1.794971e-06 -1.034833e-07
+ 2.176912e-02  6.949792e-03 -2.536070e-01 -3.141096e-01  1.006153e-07  2.994368e-08
+ 2.176912e-02  7.233532e-03 -2.533297e-01 -3.139848e-01 -1.084970e-06  4.104797e-08
+ 2.176912e-02  7.506553e-03 -2.530520e-01 -3.138579e-01  8.088066e-08 -2.013818e-08
+ 2.176912e-02  7.769986e-03 -2.527761e-01 -3.137290e-01  7.354684e-07  1.775840e-07
+ 2.176912e-02  8.024774e-03 -2.525025e-01 -3.135987e-01 -3.794015e-06 -2.691565e-07
+ 2.176912e-02  8.271717e-03 -2.522255e-01 -3.134673e-01  7.774016e-07  1.245369e-06
+ 2.176912e-02  8.511498e-03 -2.519583e-01 -3.133371e-01 -1.518390e-05 -2.354674e-06
+ 2.176912e-02  8.744705e-03 -2.516761e-01 -3.132062e-01 -6.277108e-07 -1.511012e-06
+ 2.176912e-02  8.971852e-03 -2.514217e-01 -3.130779e-01 -2.931461e-05 -3.145637e-06
+ 2.176912e-02  9.193388e-03 -2.511263e-01 -3.129446e-01  2.713630e-06 -1.954328e-06
+ 2.176912e-02  9.409709e-03 -2.509152e-01 -3.128132e-01  3.990511e-05  8.229466e-06
+ 2.176912e-02  9.621167e-03 -2.501345e-01 -3.122995e-01  4.087749e-05 -3.915220e-04
+ 2.176912e-02  9.828076e-03 -2.502041e-01 -3.112583e-01 -1.998669e-04  3.411087e-04
+ 2.176912e-02  1.003072e-02 -2.498622e-01 -3.116247e-01  3.344677e-05  8.387563e-06
+ 2.176912e-02  1.022935e-02 -2.498980e-01 -3.113343e-01  1.026554e-05  8.799184e-06
+ 2.176912e-02  1.042419e-02 -2.495383e-01 -3.113499e-01  1.614699e-04  1.892342e-05
+ 2.176912e-02  1.061546e-02 -2.490188e-01 -3.112083e-01  8.580872e-05  1.313060e-05
+ 2.176912e-02  1.080334e-02 -2.487504e-01 -3.110825e-01  8.168493e-07 -2.883023e-07
+ 2.176912e-02  1.098801e-02 -2.485107e-01 -3.109382e-01  3.700804e-05  4.985841e-06
+ 2.176912e-02  1.116962e-02 -2.482616e-01 -3.107839e-01 -2.302780e-06 -3.614982e-07
+ 2.176912e-02  1.134833e-02 -2.479852e-01 -3.106171e-01  8.420214e-06  1.137585e-06
+ 2.176912e-02  1.152427e-02 -2.477135e-01 -3.104440e-01 -1.080350e-06 -1.872351e-07
+ 2.176912e-02  1.169756e-02 -2.474352e-01 -3.102638e-01  1.842865e-07  8.167646e-09
+ 2.176912e-02  1.186832e-02 -2.471525e-01 -3.100778e-01  1.051009e-06  2.023475e-07
+ 2.176912e-02  1.203666e-02 -2.468699e-01 -3.098870e-01 -2.524864e-06 -2.063878e-07
+ 2.176912e-02  1.220268e-02 -2.465811e-01 -3.096909e-01 -5.215532e-07  1.449858e-07
+ 2.176912e-02  1.236647e-02 -2.462920e-01 -3.094904e-01 -3.307361e-06 -2.906227e-07
+ 2.176912e-02  1.252811e-02 -2.459987e-01 -3.092858e-01 -2.027207e-06 -1.080502e-07
+ 2.176912e-02  1.268770e-02 -2.457026e-01 -3.090761e-01 -9.479148e-07  1.898329e-08
+ 2.176912e-02  1.284531e-02 -2.454045e-01 -3.088635e-01 -4.858588e-07 -5.487515e-08
+ 2.176912e-02  1.300100e-02 -2.451027e-01 -3.086495e-01  1.972889e-06  2.832050e-06
+ 2.176912e-02  1.315485e-02 -2.447836e-01 -3.084022e-01  4.023681e-06  5.907256e-06
+ 2.176912e-02  1.330692e-02 -2.444755e-01 -3.081736e-01 -5.761570e-09 -2.190448e-08
+ 2.176912e-02  1.345728e-02 -2.442255e-01 -3.080662e-01 -2.556831e-05 -4.712467e-05
+ 2.176912e-02  1.360597e-02 -2.438617e-01 -3.077395e-01  1.170399e-06 -9.854346e-08
+ 2.176912e-02  1.375306e-02 -2.435084e-01 -3.074139e-01 -4.176481e-05 -1.278024e-04
+ 2.176912e-02  1.389858e-02 -2.431418e-01 -3.071418e-01 -1.148335e-06  3.295696e-06
+ 2.176912e-02  1.404260e-02 -2.428607e-01 -3.069421e-01 -2.272680e-06  6.336959e-07
+ 2.176912e-02  1.418516e-02 -2.420107e-01 -3.058593e-01 -2.420107e-01 -3.058593e-01
+ 2.176912e-02  1.432630e-02 -2.419842e-01 -3.061089e-01  2.043313e-07 -6.380767e-06
+ 2.176912e-02  1.446606e-02 -2.419530e-01 -3.063310e-01  7.656358e-07  7.910129e-08
+ 2.176912e-02  1.460449e-02 -2.419201e-01 -3.065603e-01  7.557998e-08  6.810668e-08
+ 2.176912e-02  1.474161e-02 -2.418852e-01 -3.067885e-01  1.029016e-07  1.744659e-05
+ 2.176912e-02  1.487748e-02 -2.412090e-01 -3.060118e-01  4.611337e-06  5.762419e-06
+ 2.176912e-02  1.501211e-02 -2.407979e-01 -3.056416e-01 -1.393352e-04 -2.103911e-04
+ 2.176912e-02  1.514554e-02 -2.403725e-01 -3.052945e-01  1.351326e-05  1.898024e-05
+ 2.176912e-02  1.527781e-02 -2.401377e-01 -3.051874e-01 -1.070035e-03 -1.228983e-03
+ 2.176912e-02  1.540894e-02 -2.391618e-01 -3.042250e-01 -2.391618e-01 -3.042250e-01
+ 2.176912e-02  1.553897e-02 -2.391395e-01 -3.043150e-01  3.664200e-05  2.692871e-05
+ 2.176912e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.391761e-01  3.043419e-01
+ 2.176912e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.391761e-01  3.043419e-01
+ 2.176912e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.391761e-01  3.043419e-01
+ 2.176912e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.391761e-01  3.043419e-01
+ 2.176912e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.391761e-01  3.043419e-01
+ 2.176912e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.391761e-01  3.043419e-01
+ 2.176912e-02  1.642036e-02 -2.368203e-01 -3.027608e-01 -1.573856e-05 -3.677636e-04
+ 2.176912e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.368046e-01  3.023930e-01
+ 2.176912e-02  2.188326e-02 -2.349332e-01 -3.020957e-01  1.063341e-04  7.939372e-05
+ 2.176912e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.176912e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.350396e-01  3.021751e-01
+ 2.186116e-02  1.000000e-06 -2.573071e-01 -3.153103e-01 -2.691452e-07  4.423843e-09
+ 2.186116e-02  2.006944e-03 -2.569968e-01 -3.152227e-01  3.103141e-08  7.256884e-11
+ 2.186116e-02  2.837833e-03 -2.566905e-01 -3.151311e-01  2.738224e-08  1.806179e-09
+ 2.186116e-02  3.475396e-03 -2.563875e-01 -3.150357e-01 -2.894488e-07 -8.294082e-09
+ 2.186116e-02  4.012887e-03 -2.560870e-01 -3.149367e-01 -1.842857e-09  1.071694e-08
+ 2.186116e-02  4.486426e-03 -2.557885e-01 -3.148350e-01  3.827325e-07 -4.500625e-07
+ 2.186116e-02  4.914538e-03 -2.554954e-01 -3.147280e-01  3.254601e-08  1.719951e-09
+ 2.186116e-02  5.308228e-03 -2.552027e-01 -3.146189e-01  1.105203e-07  6.584144e-08
+ 2.186116e-02  5.674665e-03 -2.549126e-01 -3.145067e-01 -7.433756e-07 -5.718826e-08
+ 2.186116e-02  6.018831e-03 -2.546238e-01 -3.143915e-01  1.669797e-09 -3.059731e-08
+ 2.186116e-02  6.344350e-03 -2.543378e-01 -3.142735e-01 -9.667999e-07 -1.077953e-08
+ 2.186116e-02  6.653962e-03 -2.540525e-01 -3.141529e-01  1.493738e-07  9.259869e-08
+ 2.186116e-02  6.949792e-03 -2.537693e-01 -3.140298e-01  1.044279e-07  5.378272e-09
+ 2.186116e-02  7.233532e-03 -2.534877e-01 -3.139045e-01 -1.086007e-06  1.213217e-08
+ 2.186116e-02  7.506553e-03 -2.532060e-01 -3.137770e-01  2.474529e-07  4.788325e-08
+ 2.186116e-02  7.769986e-03 -2.529281e-01 -3.136482e-01 -4.352260e-06  6.212573e-07
+ 2.186116e-02  8.024774e-03 -2.526470e-01 -3.135186e-01  6.932878e-08 -4.527917e-07
+ 2.186116e-02  8.271717e-03 -2.523723e-01 -3.133891e-01 -4.668582e-06 -2.049447e-06
+ 2.186116e-02  8.511498e-03 -2.520923e-01 -3.132586e-01  7.366842e-07 -2.732690e-08
+ 2.186116e-02  8.744705e-03 -2.518178e-01 -3.131280e-01  1.886167e-06 -2.192872e-06
+ 2.186116e-02  8.971852e-03 -2.515438e-01 -3.129979e-01 -1.302203e-05 -6.046411e-07
+ 2.186116e-02  9.193388e-03 -2.512540e-01 -3.128670e-01  8.068206e-06  1.719577e-06
+ 2.186116e-02  9.409709e-03 -2.510212e-01 -3.127327e-01 -1.779876e-04 -1.774747e-05
+ 2.186116e-02  9.621167e-03 -2.501698e-01 -3.121357e-01  2.828576e-04  7.590027e-05
+ 2.186116e-02  9.828076e-03 -2.501556e-01 -3.112793e-01 -6.300204e-05 -2.715290e-05
+ 2.186116e-02  1.003072e-02 -2.498650e-01 -3.115006e-01 -9.453132e-05 -8.253977e-05
+ 2.186116e-02  1.022935e-02 -2.498717e-01 -3.113141e-01 -1.346394e-05 -4.530984e-07
+ 2.186116e-02  1.042419e-02 -2.497562e-01 -3.111882e-01 -2.084139e-04 -3.345617e-05
+ 2.186116e-02  1.061546e-02 -2.490584e-01 -3.110406e-01 -9.515528e-07 -1.383209e-07
+ 2.186116e-02  1.080334e-02 -2.488817e-01 -3.109230e-01  1.711893e-06 -5.994385e-07
+ 2.186116e-02  1.098801e-02 -2.485214e-01 -3.107725e-01  9.323369e-05  8.776537e-06
+ 2.186116e-02  1.116962e-02 -2.483048e-01 -3.106200e-01  3.104230e-07  4.178355e-08
+ 2.186116e-02  1.134833e-02 -2.480256e-01 -3.104531e-01  1.429529e-05  1.795284e-06
+ 2.186116e-02  1.152427e-02 -2.477528e-01 -3.102797e-01 -1.345802e-06 -1.950221e-07
+ 2.186116e-02  1.169756e-02 -2.474680e-01 -3.100986e-01  2.569378e-06  3.289280e-07
+ 2.186116e-02  1.186832e-02 -2.471820e-01 -3.099117e-01  1.154767e-06  1.043224e-07
+ 2.186116e-02  1.203666e-02 -2.468937e-01 -3.097197e-01  3.477356e-07  5.756053e-09
+ 2.186116e-02  1.220268e-02 -2.465998e-01 -3.095221e-01  2.807931e-06  4.058934e-07
+ 2.186116e-02  1.236647e-02 -2.463057e-01 -3.093200e-01 -5.362934e-07 -4.561581e-08
+ 2.186116e-02  1.252811e-02 -2.460076e-01 -3.091146e-01 -1.108410e-07 -3.274869e-08
+ 2.186116e-02  1.268770e-02 -2.457059e-01 -3.089021e-01 -1.956352e-08  1.625954e-08
+ 2.186116e-02  1.284531e-02 -2.454023e-01 -3.086872e-01  7.579598e-08  1.422458e-07
+ 2.186116e-02  1.300100e-02 -2.450965e-01 -3.084737e-01 -3.911740e-07 -6.127216e-06
+ 2.186116e-02  1.315485e-02 -2.447772e-01 -3.082318e-01  5.026291e-07  4.359633e-08
+ 2.186116e-02  1.330692e-02 -2.444503e-01 -3.079810e-01  2.888109e-07  1.434156e-07
+ 2.186116e-02  1.345728e-02 -2.441829e-01 -3.078398e-01  3.784179e-06  7.583414e-06
+ 2.186116e-02  1.360597e-02 -2.438243e-01 -3.075408e-01  1.079977e-06  7.632350e-08
+ 2.186116e-02  1.375306e-02 -2.434494e-01 -3.071898e-01 -3.046979e-05 -8.338047e-05
+ 2.186116e-02  1.389858e-02 -2.431424e-01 -3.069999e-01  1.252832e-06  7.003059e-07
+ 2.186116e-02  1.404260e-02 -2.427410e-01 -3.066465e-01 -2.812308e-06 -3.790971e-06
+ 2.186116e-02  1.418516e-02 -2.417710e-01 -3.054683e-01 -1.153123e-04 -1.886686e-04
+ 2.186116e-02  1.432630e-02 -2.419958e-01 -3.060235e-01  1.212518e-06  1.780998e-06
+ 2.186116e-02  1.446606e-02 -2.419674e-01 -3.062513e-01 -5.583356e-06 -4.297906e-07
+ 2.186116e-02  1.460449e-02 -2.419316e-01 -3.064838e-01 -7.634243e-07  5.442609e-07
+ 2.186116e-02  1.474161e-02 -2.418912e-01 -3.067455e-01 -3.494896e-07  1.417241e-06
+ 2.186116e-02  1.487748e-02 -2.411425e-01 -3.058301e-01  4.405003e-05  5.855704e-05
+ 2.186116e-02  1.501211e-02 -2.406479e-01 -3.053723e-01  1.800532e-05  7.146184e-05
+ 2.186116e-02  1.514554e-02 -2.403727e-01 -3.052160e-01  6.848292e-05  8.956447e-05
+ 2.186116e-02  1.527781e-02 -2.398678e-01 -3.047213e-01 -2.398678e-01 -3.047213e-01
+ 2.186116e-02  1.540894e-02 -2.393288e-01 -3.042746e-01 -1.699217e-05 -1.782784e-06
+ 2.186116e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.186116e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.393118e-01  3.042728e-01
+ 2.195282e-02  1.000000e-06 -2.575059e-01 -3.152331e-01  1.602427e-08 -1.003482e-10
+ 2.195282e-02  2.006944e-03 -2.571914e-01 -3.151452e-01  4.458361e-07 -5.388701e-08
+ 2.195282e-02  2.837833e-03 -2.568833e-01 -3.150528e-01 -2.033869e-07 -9.049097e-09
+ 2.195282e-02  3.475396e-03 -2.565769e-01 -3.149568e-01 -2.310393e-09  2.912968e-09
+ 2.195282e-02  4.012887e-03 -2.562736e-01 -3.148571e-01 -2.499042e-07 -5.611144e-09
+ 2.195282e-02  4.486426e-03 -2.559727e-01 -3.147541e-01 -6.492497e-10  7.690442e-09
+ 2.195282e-02  4.914538e-03 -2.556758e-01 -3.146466e-01  2.521043e-07 -9.977092e-08
+ 2.195282e-02  5.308228e-03 -2.553793e-01 -3.145373e-01 -6.558228e-07 -3.787243e-09
+ 2.195282e-02  5.674665e-03 -2.550851e-01 -3.144245e-01  1.276448e-08  4.810110e-08
+ 2.195282e-02  6.018831e-03 -2.547936e-01 -3.143086e-01 -3.831574e-07 -1.445184e-08
+ 2.195282e-02  6.344350e-03 -2.545033e-01 -3.141901e-01 -5.200139e-08  2.241196e-08
+ 2.195282e-02  6.653962e-03 -2.542147e-01 -3.140688e-01  2.004479e-07  7.271510e-08
+ 2.195282e-02  6.949792e-03 -2.539283e-01 -3.139451e-01 -1.580213e-06 -7.546980e-09
+ 2.195282e-02  7.233532e-03 -2.536417e-01 -3.138194e-01 -4.519711e-08  8.774398e-07
+ 2.195282e-02  7.506553e-03 -2.533585e-01 -3.136926e-01 -1.962465e-06 -7.164256e-07
+ 2.195282e-02  7.769986e-03 -2.530742e-01 -3.135645e-01  3.492535e-07 -1.375337e-06
+ 2.195282e-02  8.024774e-03 -2.527925e-01 -3.134352e-01  3.996188e-07 -2.457854e-08
+ 2.195282e-02  8.271717e-03 -2.525118e-01 -3.133046e-01 -3.077820e-06 -2.361144e-06
+ 2.195282e-02  8.511498e-03 -2.522283e-01 -3.131733e-01  9.405960e-07  4.227730e-07
+ 2.195282e-02  8.744705e-03 -2.519539e-01 -3.130443e-01 -1.518788e-05 -5.121964e-07
+ 2.195282e-02  8.971852e-03 -2.516634e-01 -3.129154e-01 -9.962977e-08  8.274094e-08
+ 2.195282e-02  9.193388e-03 -2.513970e-01 -3.127879e-01 -1.885897e-05 -2.877341e-06
+ 2.195282e-02  9.409709e-03 -2.510906e-01 -3.126409e-01 -1.045803e-05 -5.230589e-08
+ 2.195282e-02  9.621167e-03 -2.502970e-01 -3.121523e-01  2.801026e-04 -1.173529e-03
+ 2.195282e-02  9.828076e-03 -2.501375e-01 -3.112690e-01  3.136829e-04 -6.177270e-05
+ 2.195282e-02  1.003072e-02 -2.498411e-01 -3.113309e-01  8.068540e-05  4.413271e-05
+ 2.195282e-02  1.022935e-02 -2.498508e-01 -3.113033e-01 -5.811514e-05 -2.977495e-05
+ 2.195282e-02  1.042419e-02 -2.498514e-01 -3.109265e-01 -6.413049e-04 -5.033782e-05
+ 2.195282e-02  1.061546e-02 -2.491547e-01 -3.108697e-01 -8.215288e-05 -1.307988e-05
+ 2.195282e-02  1.080334e-02 -2.489144e-01 -3.107512e-01  1.983956e-05  2.995202e-06
+ 2.195282e-02  1.098801e-02 -2.486512e-01 -3.106078e-01 -1.606944e-06 -2.148462e-07
+ 2.195282e-02  1.116962e-02 -2.484000e-01 -3.104540e-01 -1.869108e-06  9.122505e-08
+ 2.195282e-02  1.134833e-02 -2.480566e-01 -3.102841e-01  8.420058e-06  1.655219e-06
+ 2.195282e-02  1.152427e-02 -2.477856e-01 -3.101105e-01 -3.984712e-08 -1.074478e-07
+ 2.195282e-02  1.169756e-02 -2.474975e-01 -3.099282e-01  4.157711e-06  5.319615e-07
+ 2.195282e-02  1.186832e-02 -2.472086e-01 -3.097405e-01 -4.419527e-07 -6.375395e-08
+ 2.195282e-02  1.203666e-02 -2.469150e-01 -3.095468e-01  1.514728e-07  4.230269e-08
+ 2.195282e-02  1.220268e-02 -2.466171e-01 -3.093480e-01  2.435752e-06  3.759766e-07
+ 2.195282e-02  1.236647e-02 -2.463177e-01 -3.091441e-01 -6.126155e-08 -6.344236e-09
+ 2.195282e-02  1.252811e-02 -2.460141e-01 -3.089367e-01  5.725273e-07  2.391467e-07
+ 2.195282e-02  1.268770e-02 -2.457068e-01 -3.087221e-01  4.610029e-07  3.698835e-07
+ 2.195282e-02  1.284531e-02 -2.453978e-01 -3.085058e-01 -4.254523e-09 -9.197937e-08
+ 2.195282e-02  1.300100e-02 -2.450760e-01 -3.082766e-01 -9.656223e-06 -1.071461e-05
+ 2.195282e-02  1.315485e-02 -2.447598e-01 -3.080443e-01  3.362709e-07  4.746941e-08
+ 2.195282e-02  1.330692e-02 -2.443881e-01 -3.077171e-01  1.907254e-05  3.721229e-05
+ 2.195282e-02  1.345728e-02 -2.441281e-01 -3.076054e-01  1.595163e-06  2.649118e-07
+ 2.195282e-02  1.360597e-02 -2.437808e-01 -3.073363e-01  9.489737e-07  1.203658e-07
+ 2.195282e-02  1.375306e-02 -2.433303e-01 -3.069113e-01 -1.870599e-06  2.253646e-05
+ 2.195282e-02  1.389858e-02 -2.431388e-01 -3.068526e-01  2.731643e-06  2.398527e-06
+ 2.195282e-02  1.404260e-02 -2.427349e-01 -3.065011e-01 -9.747056e-06 -1.417953e-05
+ 2.195282e-02  1.418516e-02 -2.420437e-01 -3.056932e-01 -1.130201e-04 -1.327036e-04
+ 2.195282e-02  1.432630e-02 -2.420092e-01 -3.059363e-01 -1.986969e-07 -1.838049e-07
+ 2.195282e-02  1.446606e-02 -2.419776e-01 -3.061708e-01  6.188876e-07  6.652868e-08
+ 2.195282e-02  1.460449e-02 -2.419397e-01 -3.064166e-01  4.874025e-07  3.596867e-06
+ 2.195282e-02  1.474161e-02 -2.422617e-01 -3.072171e-01 -9.006802e-05 -1.330980e-04
+ 2.195282e-02  1.487748e-02 -2.410489e-01 -3.055976e-01  1.505215e-06  5.765023e-07
+ 2.195282e-02  1.501211e-02 -2.405428e-01 -3.051251e-01 -7.413122e-05 -7.889122e-05
+ 2.195282e-02  1.514554e-02 -2.402908e-01 -3.050163e-01  1.972989e-06  5.312986e-06
+ 2.195282e-02  1.527781e-02 -2.394689e-01 -3.042003e-01 -2.394689e-01 -3.042003e-01
+ 2.195282e-02  1.540894e-02 -2.393753e-01 -3.042594e-01 -5.015421e-05  4.175283e-06
+ 2.195282e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.393252e-01  3.042636e-01
+ 2.195282e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.393252e-01  3.042636e-01
+ 2.195282e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.393252e-01  3.042636e-01
+ 2.195282e-02  1.592268e-02 -2.385637e-01 -3.040485e-01 -2.385637e-01 -3.040485e-01
+ 2.195282e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.195282e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.000000e-06 -2.577009e-01 -3.151511e-01 -4.254989e-08 -1.618363e-09
+ 2.204410e-02  2.006944e-03 -2.573852e-01 -3.150622e-01 -1.209830e-07 -6.320247e-09
+ 2.204410e-02  2.837833e-03 -2.570717e-01 -3.149699e-01 -1.674270e-08  5.452764e-09
+ 2.204410e-02  3.475396e-03 -2.567627e-01 -3.148732e-01 -2.038077e-07  7.444479e-09
+ 2.204410e-02  4.012887e-03 -2.564561e-01 -3.147729e-01 -1.001640e-08  3.438706e-08
+ 2.204410e-02  4.486426e-03 -2.561520e-01 -3.146691e-01  5.028981e-08  2.837618e-08
+ 2.204410e-02  4.914538e-03 -2.558501e-01 -3.145623e-01 -5.294845e-07 -3.842878e-08
+ 2.204410e-02  5.308228e-03 -2.555518e-01 -3.144510e-01  4.148436e-08  2.040048e-08
+ 2.204410e-02  5.674665e-03 -2.552546e-01 -3.143375e-01 -8.096335e-08  2.570235e-08
+ 2.204410e-02  6.018831e-03 -2.549592e-01 -3.142210e-01 -2.824370e-07  1.409211e-08
+ 2.204410e-02  6.344350e-03 -2.546653e-01 -3.141017e-01  4.210971e-08  4.313064e-07
+ 2.204410e-02  6.653962e-03 -2.543739e-01 -3.139802e-01 -1.279777e-06  4.750374e-07
+ 2.204410e-02  6.949792e-03 -2.540828e-01 -3.138567e-01  1.562585e-07 -1.038908e-06
+ 2.204410e-02  7.233532e-03 -2.537941e-01 -3.137314e-01 -2.115575e-07 -8.381770e-07
+ 2.204410e-02  7.506553e-03 -2.535062e-01 -3.136041e-01 -5.625273e-07 -2.720310e-07
+ 2.204410e-02  7.769986e-03 -2.532187e-01 -3.134748e-01  3.825862e-07 -1.781636e-06
+ 2.204410e-02  8.024774e-03 -2.529346e-01 -3.133447e-01 -4.238517e-06  1.307350e-07
+ 2.204410e-02  8.271717e-03 -2.526472e-01 -3.132145e-01  5.182853e-08  6.544573e-07
+ 2.204410e-02  8.511498e-03 -2.523660e-01 -3.130860e-01 -4.107871e-06 -4.125289e-07
+ 2.204410e-02  8.744705e-03 -2.520794e-01 -3.129578e-01  3.850207e-07 -8.973012e-07
+ 2.204410e-02  8.971852e-03 -2.517948e-01 -3.128297e-01  3.767136e-06  2.181062e-07
+ 2.204410e-02  9.193388e-03 -2.515143e-01 -3.126995e-01 -2.542896e-05  2.282330e-08
+ 2.204410e-02  9.409709e-03 -2.511938e-01 -3.125453e-01  2.504288e-06  3.094274e-06
+ 2.204410e-02  9.621167e-03 -2.501309e-01 -3.107193e-01  1.868502e-04  6.850223e-05
+ 2.204410e-02  9.828076e-03 -2.501211e-01 -3.109532e-01 -1.345385e-06 -6.885576e-05
+ 2.204410e-02  1.003072e-02 -2.501005e-01 -3.108166e-01 -1.148168e-04 -1.755269e-03
+ 2.204410e-02  1.022935e-02 -2.498790e-01 -3.110868e-01  2.904897e-05  1.230608e-05
+ 2.204410e-02  1.042419e-02 -2.498253e-01 -3.109054e-01 -6.151548e-04 -8.559631e-05
+ 2.204410e-02  1.061546e-02 -2.493642e-01 -3.106828e-01  1.049499e-04  9.118452e-06
+ 2.204410e-02  1.080334e-02 -2.489423e-01 -3.105733e-01  7.863084e-05  1.714921e-05
+ 2.204410e-02  1.098801e-02 -2.487004e-01 -3.104351e-01 -1.412883e-05 -1.858838e-06
+ 2.204410e-02  1.116962e-02 -2.484255e-01 -3.102783e-01  7.072750e-06  1.208111e-06
+ 2.204410e-02  1.134833e-02 -2.481947e-01 -3.101104e-01 -3.537906e-05  1.624152e-06
+ 2.204410e-02  1.152427e-02 -2.478031e-01 -3.099362e-01  1.536285e-06  5.602606e-07
+ 2.204410e-02  1.169756e-02 -2.475193e-01 -3.097529e-01  5.569068e-06  9.862154e-07
+ 2.204410e-02  1.186832e-02 -2.472295e-01 -3.095640e-01 -5.243179e-07 -1.801229e-07
+ 2.204410e-02  1.203666e-02 -2.469319e-01 -3.093689e-01 -2.176459e-07 -4.002201e-08
+ 2.204410e-02  1.220268e-02 -2.466297e-01 -3.091690e-01  2.320270e-06  2.234679e-07
+ 2.204410e-02  1.236647e-02 -2.463269e-01 -3.089658e-01  6.501944e-08 -2.559626e-07
+ 2.204410e-02  1.252811e-02 -2.460164e-01 -3.087535e-01  5.936314e-07  1.270716e-07
+ 2.204410e-02  1.268770e-02 -2.457054e-01 -3.085404e-01  7.478442e-07  4.565040e-07
+ 2.204410e-02  1.284531e-02 -2.453904e-01 -3.083202e-01  1.796332e-07 -1.820593e-07
+ 2.204410e-02  1.300100e-02 -2.450666e-01 -3.080939e-01 -1.633537e-06 -7.473190e-06
+ 2.204410e-02  1.315485e-02 -2.447381e-01 -3.078499e-01  3.739725e-07  8.315462e-08
+ 2.204410e-02  1.330692e-02 -2.443738e-01 -3.075533e-01  7.967890e-06  1.380326e-05
+ 2.204410e-02  1.345728e-02 -2.440856e-01 -3.073903e-01  1.085662e-06  1.152662e-06
+ 2.204410e-02  1.360597e-02 -2.437282e-01 -3.071140e-01  3.342914e-07  2.805507e-07
+ 2.204410e-02  1.375306e-02 -2.433747e-01 -3.068782e-01  2.056743e-05 -1.888781e-06
+ 2.204410e-02  1.389858e-02 -2.430089e-01 -3.065368e-01  7.942907e-06  1.163012e-05
+ 2.204410e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.430169e-01  3.065484e-01
+ 2.204410e-02  1.418516e-02 -2.420519e-01 -3.056392e-01  1.654701e-06 -2.670430e-05
+ 2.204410e-02  1.432630e-02 -2.420213e-01 -3.058506e-01 -6.828467e-07  3.696127e-06
+ 2.204410e-02  1.446606e-02 -2.419864e-01 -3.060894e-01 -1.036171e-06 -1.886210e-07
+ 2.204410e-02  1.460449e-02 -2.419507e-01 -3.063430e-01 -2.185045e-07 -1.515355e-07
+ 2.204410e-02  1.474161e-02 -2.419105e-01 -3.065676e-01  1.086875e-05 -3.922593e-06
+ 2.204410e-02  1.487748e-02 -2.409202e-01 -3.053328e-01 -3.493656e-04 -4.582864e-04
+ 2.204410e-02  1.501211e-02 -2.404826e-01 -3.049412e-01 -1.878560e-05 -4.775367e-05
+ 2.204410e-02  1.514554e-02 -2.402906e-01 -3.049318e-01 -3.835724e-04 -5.773620e-04
+ 2.204410e-02  1.527781e-02 -2.395781e-01 -3.042347e-01 -2.395781e-01 -3.042347e-01
+ 2.204410e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.204410e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.000000e-06 -2.578919e-01 -3.150644e-01 -5.612595e-08 -3.248599e-09
+ 2.213499e-02  2.006944e-03 -2.575730e-01 -3.149751e-01  3.374204e-09 -2.749856e-11
+ 2.213499e-02  2.837833e-03 -2.572607e-01 -3.148804e-01 -4.323334e-07  1.213015e-07
+ 2.213499e-02  3.475396e-03 -2.569443e-01 -3.147849e-01 -8.835763e-09  1.577821e-08
+ 2.213499e-02  4.012887e-03 -2.566347e-01 -3.146839e-01  3.547764e-08  2.908549e-08
+ 2.213499e-02  4.486426e-03 -2.563278e-01 -3.145794e-01 -4.106150e-07 -1.774002e-08
+ 2.213499e-02  4.914538e-03 -2.560227e-01 -3.144715e-01  4.606603e-08  4.572019e-08
+ 2.213499e-02  5.308228e-03 -2.557227e-01 -3.143584e-01 -5.368480e-07  7.751280e-07
+ 2.213499e-02  5.674665e-03 -2.554203e-01 -3.142458e-01 -4.372593e-07  4.243643e-07
+ 2.213499e-02  6.018831e-03 -2.551212e-01 -3.141290e-01  3.300710e-08 -3.778764e-07
+ 2.213499e-02  6.344350e-03 -2.548245e-01 -3.140100e-01 -1.060073e-06 -5.375762e-07
+ 2.213499e-02  6.653962e-03 -2.545289e-01 -3.138881e-01  9.201866e-08 -6.647037e-08
+ 2.213499e-02  6.949792e-03 -2.542349e-01 -3.137637e-01  2.260215e-07 -8.146037e-07
+ 2.213499e-02  7.233532e-03 -2.539428e-01 -3.136371e-01 -1.319301e-06 -1.309673e-06
+ 2.213499e-02  7.506553e-03 -2.536506e-01 -3.135088e-01 -1.845388e-08  8.569841e-07
+ 2.213499e-02  7.769986e-03 -2.533616e-01 -3.133802e-01 -2.061622e-06  1.129003e-07
+ 2.213499e-02  8.024774e-03 -2.530714e-01 -3.132514e-01  2.758578e-07 -2.596404e-08
+ 2.213499e-02  8.271717e-03 -2.527834e-01 -3.131226e-01  5.531983e-07 -1.044907e-06
+ 2.213499e-02  8.511498e-03 -2.524970e-01 -3.129938e-01 -4.228764e-06  1.205471e-07
+ 2.213499e-02  8.744705e-03 -2.522057e-01 -3.128649e-01  6.569221e-07  2.248983e-06
+ 2.213499e-02  8.971852e-03 -2.519232e-01 -3.127377e-01 -1.371702e-05 -1.249878e-06
+ 2.213499e-02  9.193388e-03 -2.516210e-01 -3.126060e-01  4.650669e-06  2.674999e-06
+ 2.213499e-02  9.409709e-03 -2.513348e-01 -3.124487e-01 -8.046406e-06  9.416136e-07
+ 2.213499e-02  9.621167e-03 -2.501481e-01 -3.103772e-01  7.269446e-04  9.181070e-04
+ 2.213499e-02  9.828076e-03 -2.502511e-01 -3.120820e-01  6.043196e-05 -1.221942e-03
+ 2.213499e-02  1.003072e-02 -2.501620e-01 -3.105433e-01 -1.258237e-04  1.560696e-04
+ 2.213499e-02  1.022935e-02 -2.498757e-01 -3.108702e-01 -1.726207e-04  6.495432e-06
+ 2.213499e-02  1.042419e-02 -2.498016e-01 -3.108917e-01 -5.321345e-04 -1.351357e-04
+ 2.213499e-02  1.061546e-02 -2.496445e-01 -3.104228e-01  5.382103e-05  1.034607e-04
+ 2.213499e-02  1.080334e-02 -2.489742e-01 -3.103820e-01  1.842505e-04  2.302850e-05
+ 2.213499e-02  1.098801e-02 -2.487491e-01 -3.102574e-01 -6.732904e-06 -7.939339e-07
+ 2.213499e-02  1.116962e-02 -2.484566e-01 -3.100993e-01  1.309093e-05  1.990270e-06
+ 2.213499e-02  1.134833e-02 -2.481763e-01 -3.099321e-01 -2.157374e-06 -6.598044e-07
+ 2.213499e-02  1.152427e-02 -2.479306e-01 -3.097536e-01 -4.615360e-06  1.713673e-07
+ 2.213499e-02  1.169756e-02 -2.475175e-01 -3.095728e-01  3.031302e-05  2.685651e-06
+ 2.213499e-02  1.186832e-02 -2.472415e-01 -3.093820e-01 -2.113810e-06 -1.392064e-06
+ 2.213499e-02  1.203666e-02 -2.469426e-01 -3.091855e-01 -2.306833e-08 -9.975928e-08
+ 2.213499e-02  1.220268e-02 -2.466366e-01 -3.089825e-01  2.257977e-06  2.492924e-07
+ 2.213499e-02  1.236647e-02 -2.463284e-01 -3.087766e-01 -9.262352e-08 -1.484254e-08
+ 2.213499e-02  1.252811e-02 -2.460145e-01 -3.085648e-01  7.234652e-07  1.036123e-07
+ 2.213499e-02  1.268770e-02 -2.456975e-01 -3.083483e-01  5.238325e-07  9.368835e-08
+ 2.213499e-02  1.284531e-02 -2.453665e-01 -3.081111e-01 -2.317037e-06 -3.162480e-06
+ 2.213499e-02  1.300100e-02 -2.450487e-01 -3.078989e-01 -8.222013e-07 -3.403602e-06
+ 2.213499e-02  1.315485e-02 -2.447116e-01 -3.076485e-01  4.039003e-07  1.620617e-07
+ 2.213499e-02  1.330692e-02 -2.444395e-01 -3.075250e-01  2.149827e-08  7.743000e-09
+ 2.213499e-02  1.345728e-02 -2.440336e-01 -3.071636e-01 -5.626638e-06 -8.382038e-06
+ 2.213499e-02  1.360597e-02 -2.435983e-01 -3.067948e-01 -3.150841e-05 -4.248060e-05
+ 2.213499e-02  1.375306e-02 -2.434614e-01 -3.068349e-01 -3.824409e-05 -4.773852e-05
+ 2.213499e-02  1.389858e-02 -2.428731e-01 -3.062062e-01  2.760868e-05  3.891319e-05
+ 2.213499e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.429007e-01  3.062451e-01
+ 2.213499e-02  1.418516e-02 -2.404811e-01 -3.035552e-01 -2.404811e-01 -3.035552e-01
+ 2.213499e-02  1.432630e-02 -2.420342e-01 -3.057593e-01 -2.307108e-07  3.455432e-06
+ 2.213499e-02  1.446606e-02 -2.419979e-01 -3.060093e-01  6.268500e-07  5.799721e-06
+ 2.213499e-02  1.460449e-02 -2.419652e-01 -3.062715e-01 -3.586151e-06 -6.251998e-07
+ 2.213499e-02  1.474161e-02 -2.413148e-01 -3.055560e-01  2.003633e-06  4.396846e-06
+ 2.213499e-02  1.487748e-02 -2.409373e-01 -3.052610e-01  4.568305e-06 -1.692562e-07
+ 2.213499e-02  1.501211e-02 -2.405043e-01 -3.048907e-01  1.868694e-05  3.217958e-05
+ 2.213499e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.405230e-01  3.049228e-01
+ 2.213499e-02  1.527781e-02 -2.396857e-01 -3.042862e-01  2.841371e-05 -1.567421e-04
+ 2.213499e-02  1.540894e-02 -2.397447e-01 -3.045117e-01 -2.397447e-01 -3.045117e-01
+ 2.213499e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.213499e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.000000e-06 -2.580788e-01 -3.149729e-01  1.006478e-08  3.936498e-09
+ 2.222552e-02  2.006944e-03 -2.577571e-01 -3.148831e-01 -1.791557e-07  1.904066e-08
+ 2.222552e-02  2.837833e-03 -2.574390e-01 -3.147890e-01  3.958902e-09  9.553398e-08
+ 2.222552e-02  3.475396e-03 -2.571197e-01 -3.146928e-01  1.524979e-06 -2.640315e-07
+ 2.222552e-02  4.012887e-03 -2.568096e-01 -3.145902e-01 -3.309748e-07  1.877789e-07
+ 2.222552e-02  4.486426e-03 -2.564994e-01 -3.144851e-01  3.054815e-08 -7.976438e-08
+ 2.222552e-02  4.914538e-03 -2.561914e-01 -3.143768e-01  7.197280e-08 -5.857320e-07
+ 2.222552e-02  5.308228e-03 -2.558852e-01 -3.142658e-01 -4.372306e-07 -6.270986e-07
+ 2.222552e-02  5.674665e-03 -2.555823e-01 -3.141501e-01  7.257244e-09 -4.299249e-08
+ 2.222552e-02  6.018831e-03 -2.552803e-01 -3.140327e-01 -2.533555e-07 -4.505099e-07
+ 2.222552e-02  6.344350e-03 -2.549799e-01 -3.139123e-01 -7.102199e-08 -1.136813e-06
+ 2.222552e-02  6.653962e-03 -2.546809e-01 -3.137893e-01  1.006862e-07  1.045709e-07
+ 2.222552e-02  6.949792e-03 -2.543841e-01 -3.136645e-01 -1.289709e-06  6.020378e-07
+ 2.222552e-02  7.233532e-03 -2.540875e-01 -3.135383e-01  1.020632e-07  3.467316e-08
+ 2.222552e-02  7.506553e-03 -2.537933e-01 -3.134111e-01 -2.272574e-07 -2.464374e-07
+ 2.222552e-02  7.769986e-03 -2.534998e-01 -3.132826e-01 -7.498503e-07 -1.041118e-06
+ 2.222552e-02  8.024774e-03 -2.532065e-01 -3.131532e-01  3.450629e-07  1.381335e-06
+ 2.222552e-02  8.271717e-03 -2.529167e-01 -3.130240e-01 -4.241846e-06  8.190836e-07
+ 2.222552e-02  8.511498e-03 -2.526233e-01 -3.128959e-01  3.309291e-07  2.631263e-07
+ 2.222552e-02  8.744705e-03 -2.523347e-01 -3.127701e-01 -7.591110e-07  2.110592e-06
+ 2.222552e-02  8.971852e-03 -2.520421e-01 -3.126439e-01 -3.497612e-06 -2.676881e-07
+ 2.222552e-02  9.193388e-03 -2.517370e-01 -3.125106e-01  4.723401e-06 -6.081307e-07
+ 2.222552e-02  9.409709e-03 -2.514482e-01 -3.123369e-01 -3.666839e-05 -7.588505e-07
+ 2.222552e-02  9.621167e-03 -2.502290e-01 -3.103472e-01  2.734699e-04  2.892678e-04
+ 2.222552e-02  9.828076e-03 -2.501228e-01 -3.105685e-01  3.550162e-04  6.629994e-04
+ 2.222552e-02  1.003072e-02 -2.501466e-01 -3.105184e-01  1.691688e-04  9.958756e-06
+ 2.222552e-02  1.022935e-02 -2.498544e-01 -3.107810e-01 -2.905978e-04  2.785403e-05
+ 2.222552e-02  1.042419e-02 -2.498524e-01 -3.107022e-01 -5.020734e-04 -5.800091e-05
+ 2.222552e-02  1.061546e-02 -2.495598e-01 -3.103891e-01  1.473727e-04  2.886542e-05
+ 2.222552e-02  1.080334e-02 -2.490244e-01 -3.101546e-01  6.990081e-05  1.016469e-05
+ 2.222552e-02  1.098801e-02 -2.487995e-01 -3.100703e-01  3.099443e-06  4.056459e-07
+ 2.222552e-02  1.116962e-02 -2.484868e-01 -3.099150e-01  2.758363e-05  4.054790e-06
+ 2.222552e-02  1.134833e-02 -2.482036e-01 -3.097481e-01 -3.542465e-06 -4.782515e-07
+ 2.222552e-02  1.152427e-02 -2.479134e-01 -3.095708e-01  2.040033e-07 -4.440756e-07
+ 2.222552e-02  1.169756e-02 -2.476394e-01 -3.093826e-01 -2.105461e-05  4.180673e-06
+ 2.222552e-02  1.186832e-02 -2.472196e-01 -3.091964e-01  2.954080e-05  1.230977e-06
+ 2.222552e-02  1.203666e-02 -2.469446e-01 -3.089971e-01 -3.670395e-07  4.782761e-07
+ 2.222552e-02  1.220268e-02 -2.466400e-01 -3.087960e-01  9.360631e-06  1.160547e-05
+ 2.222552e-02  1.236647e-02 -2.463262e-01 -3.085840e-01  3.008165e-07  6.284147e-08
+ 2.222552e-02  1.252811e-02 -2.460086e-01 -3.083705e-01 -2.437747e-07 -4.918572e-08
+ 2.222552e-02  1.268770e-02 -2.456880e-01 -3.081543e-01  5.864531e-07  1.640810e-07
+ 2.222552e-02  1.284531e-02 -2.453531e-01 -3.079169e-01 -7.101788e-08 -3.103230e-08
+ 2.222552e-02  1.300100e-02 -2.450242e-01 -3.076931e-01  8.645880e-06  2.359969e-05
+ 2.222552e-02  1.315485e-02 -2.446807e-01 -3.074408e-01  5.066394e-07  7.221316e-08
+ 2.222552e-02  1.330692e-02 -2.443506e-01 -3.072191e-01  1.509158e-07  3.494920e-07
+ 2.222552e-02  1.345728e-02 -2.439728e-01 -3.069275e-01 -2.845640e-07 -4.326767e-07
+ 2.222552e-02  1.360597e-02 -2.436726e-01 -3.067344e-01  8.904649e-07  6.144487e-07
+ 2.222552e-02  1.375306e-02 -2.433680e-01 -3.066181e-01 -5.626320e-06 -9.606953e-06
+ 2.222552e-02  1.389858e-02 -2.428308e-01 -3.060045e-01  5.031511e-07  1.495916e-06
+ 2.222552e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.428313e-01  3.060060e-01
+ 2.222552e-02  1.418516e-02 -2.420798e-01 -3.054458e-01 -7.130584e-05 -8.178876e-05
+ 2.222552e-02  1.432630e-02 -2.420461e-01 -3.056782e-01 -7.599564e-08 -1.425797e-06
+ 2.222552e-02  1.446606e-02 -2.420107e-01 -3.059252e-01  6.692030e-08 -6.866582e-07
+ 2.222552e-02  1.460449e-02 -2.419730e-01 -3.061943e-01 -2.101025e-06  3.310076e-06
+ 2.222552e-02  1.474161e-02 -2.412684e-01 -3.053927e-01  6.100670e-04  9.029976e-04
+ 2.222552e-02  1.487748e-02 -2.406572e-01 -3.048135e-01  6.701466e-05  7.846925e-05
+ 2.222552e-02  1.501211e-02 -2.403845e-01 -3.046441e-01  4.908527e-04  5.981894e-04
+ 2.222552e-02  1.514554e-02 -2.397091e-01 -3.039951e-01 -2.397091e-01 -3.039951e-01
+ 2.222552e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.222552e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.231568e-02  1.000000e-06 -2.582618e-01 -3.148767e-01 -1.725157e-07 -1.664010e-08
+ 2.231568e-02  2.006944e-03 -2.579372e-01 -3.147864e-01  1.498412e-08 -9.945072e-08
+ 2.231568e-02  2.837833e-03 -2.576160e-01 -3.146920e-01  2.825815e-08 -1.463377e-07
+ 2.231568e-02  3.475396e-03 -2.572988e-01 -3.145931e-01 -2.377977e-07 -1.197780e-07
+ 2.231568e-02  4.012887e-03 -2.569801e-01 -3.144924e-01  3.362111e-08 -3.993965e-10
+ 2.231568e-02  4.486426e-03 -2.566674e-01 -3.143864e-01  5.266976e-08 -1.507489e-07
+ 2.231568e-02  4.914538e-03 -2.563565e-01 -3.142771e-01 -3.748104e-07 -6.426456e-07
+ 2.231568e-02  5.308228e-03 -2.560472e-01 -3.141647e-01  4.714319e-08 -6.513866e-07
+ 2.231568e-02  5.674665e-03 -2.557422e-01 -3.140473e-01 -7.018606e-07  8.344302e-07
+ 2.231568e-02  6.018831e-03 -2.554357e-01 -3.139302e-01 -3.226091e-07  5.178590e-07
+ 2.231568e-02  6.344350e-03 -2.551318e-01 -3.138097e-01  5.003115e-09  3.888561e-08
+ 2.231568e-02  6.653962e-03 -2.548300e-01 -3.136871e-01 -7.308860e-07 -5.037095e-08
+ 2.231568e-02  6.949792e-03 -2.545291e-01 -3.135623e-01  1.124654e-07 -7.004046e-07
+ 2.231568e-02  7.233532e-03 -2.542299e-01 -3.134356e-01  2.079244e-07  1.616114e-08
+ 2.231568e-02  7.506553e-03 -2.539325e-01 -3.133074e-01 -1.521505e-06  1.502599e-06
+ 2.231568e-02  7.769986e-03 -2.536348e-01 -3.131786e-01  2.694662e-09  1.792783e-07
+ 2.231568e-02  8.024774e-03 -2.533402e-01 -3.130505e-01 -1.381234e-06  9.087626e-07
+ 2.231568e-02  8.271717e-03 -2.530449e-01 -3.129234e-01  1.249215e-07  1.420205e-06
+ 2.231568e-02  8.511498e-03 -2.527504e-01 -3.127972e-01  8.716596e-07 -8.799104e-07
+ 2.231568e-02  8.744705e-03 -2.524587e-01 -3.126717e-01 -7.067507e-06 -1.255880e-06
+ 2.231568e-02  8.971852e-03 -2.521584e-01 -3.125441e-01  1.096569e-07  1.599397e-07
+ 2.231568e-02  9.193388e-03 -2.518604e-01 -3.124075e-01 -5.375409e-06 -3.532036e-07
+ 2.231568e-02  9.409709e-03 -2.515254e-01 -3.122083e-01 -2.723453e-05 -3.355205e-06
+ 2.231568e-02  9.621167e-03 -2.504556e-01 -3.103616e-01 -1.382332e-04 -2.248827e-06
+ 2.231568e-02  9.828076e-03 -2.507043e-01 -3.118616e-01  1.505034e-04  7.039573e-05
+ 2.231568e-02  1.003072e-02 -2.501298e-01 -3.103805e-01  1.847229e-04  1.411327e-05
+ 2.231568e-02  1.022935e-02 -2.498309e-01 -3.107204e-01  1.279791e-04 -4.277594e-05
+ 2.231568e-02  1.042419e-02 -2.498726e-01 -3.104842e-01  5.545109e-06  4.426967e-06
+ 2.231568e-02  1.061546e-02 -2.495004e-01 -3.103489e-01  1.867263e-04 -1.435233e-05
+ 2.231568e-02  1.080334e-02 -2.491321e-01 -3.098251e-01 -9.865893e-05  8.234345e-05
+ 2.231568e-02  1.098801e-02 -2.488431e-01 -3.098723e-01  1.657709e-06 -8.412743e-07
+ 2.231568e-02  1.116962e-02 -2.485151e-01 -3.097265e-01  3.766285e-05  5.433191e-06
+ 2.231568e-02  1.134833e-02 -2.482317e-01 -3.095588e-01 -3.509021e-06 -6.200356e-07
+ 2.231568e-02  1.152427e-02 -2.479297e-01 -3.093800e-01  4.375132e-07  5.847180e-08
+ 2.231568e-02  1.169756e-02 -2.476284e-01 -3.091936e-01  4.084284e-06 -3.489469e-08
+ 2.231568e-02  1.186832e-02 -2.473420e-01 -3.089979e-01 -8.209486e-06  1.113430e-06
+ 2.231568e-02  1.203666e-02 -2.469049e-01 -3.088055e-01  2.678858e-05  7.178811e-07
+ 2.231568e-02  1.220268e-02 -2.466304e-01 -3.085988e-01  2.130284e-06  7.646739e-07
+ 2.231568e-02  1.236647e-02 -2.463182e-01 -3.083868e-01 -1.115563e-07 -2.563477e-08
+ 2.231568e-02  1.252811e-02 -2.459966e-01 -3.081704e-01 -4.044126e-10 -6.065785e-07
+ 2.231568e-02  1.268770e-02 -2.456403e-01 -3.079071e-01  9.671823e-06  1.226667e-05
+ 2.231568e-02  1.284531e-02 -2.453346e-01 -3.077149e-01 -2.306215e-06 -1.329020e-06
+ 2.231568e-02  1.300100e-02 -2.449931e-01 -3.074746e-01 -8.969096e-06 -2.515113e-05
+ 2.231568e-02  1.315485e-02 -2.446448e-01 -3.072269e-01  5.011683e-07  1.241279e-07
+ 2.231568e-02  1.330692e-02 -2.442914e-01 -3.069755e-01  5.496869e-08  2.699208e-09
+ 2.231568e-02  1.345728e-02 -2.438732e-01 -3.066376e-01 -1.740028e-06 -2.778714e-06
+ 2.231568e-02  1.360597e-02 -2.437572e-01 -3.066898e-01  7.030384e-06  9.546390e-06
+ 2.231568e-02  1.375306e-02 -2.431064e-01 -3.059191e-01  1.694069e-04  3.803870e-04
+ 2.231568e-02  1.389858e-02 -2.423174e-01 -3.051184e-01 -2.423174e-01 -3.051184e-01
+ 2.231568e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.231568e-02  1.418516e-02 -2.420914e-01 -3.053728e-01 -1.231167e-05  9.302182e-07
+ 2.231568e-02  1.432630e-02 -2.420589e-01 -3.055880e-01 -7.726159e-08  1.896905e-08
+ 2.231568e-02  1.446606e-02 -2.420233e-01 -3.058342e-01  1.217144e-06 -6.260119e-06
+ 2.231568e-02  1.460449e-02 -2.419842e-01 -3.060985e-01 -5.784918e-05 -6.948429e-05
+ 2.231568e-02  1.474161e-02 -2.418626e-01 -3.061840e-01  5.141723e-04  7.763443e-04
+ 2.231568e-02  1.487748e-02 -2.408022e-01 -3.048945e-01  2.524507e-04  3.220161e-04
+ 2.231568e-02  1.501211e-02 -2.407329e-01 -3.049919e-01  4.057398e-04  5.403155e-04
+ 2.231568e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.231568e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.411386e-01  3.055322e-01
+ 2.240548e-02  1.000000e-06 -2.584408e-01 -3.147756e-01  1.856309e-08  7.979705e-10
+ 2.240548e-02  2.006944e-03 -2.581134e-01 -3.146848e-01  2.554330e-08 -9.829166e-08
+ 2.240548e-02  2.837833e-03 -2.577894e-01 -3.145897e-01 -2.190690e-07 -1.407116e-07
+ 2.240548e-02  3.475396e-03 -2.574684e-01 -3.144905e-01  2.764471e-08 -1.318945e-08
+ 2.240548e-02  4.012887e-03 -2.571463e-01 -3.143898e-01 -2.098419e-05  1.060659e-05
+ 2.240548e-02  4.486426e-03 -2.568316e-01 -3.142821e-01 -3.384275e-07  2.857496e-07
+ 2.240548e-02  4.914538e-03 -2.565177e-01 -3.141721e-01  3.328746e-08  1.358997e-07
+ 2.240548e-02  5.308228e-03 -2.562056e-01 -3.140592e-01  2.877938e-08  3.449092e-09
+ 2.240548e-02  5.674665e-03 -2.558949e-01 -3.139442e-01 -6.431065e-07  1.777005e-07
+ 2.240548e-02  6.018831e-03 -2.555875e-01 -3.138242e-01  1.979633e-08 -5.491257e-07
+ 2.240548e-02  6.344350e-03 -2.552808e-01 -3.137031e-01 -2.703663e-07 -1.675275e-07
+ 2.240548e-02  6.653962e-03 -2.549756e-01 -3.135790e-01 -1.824380e-07  1.352856e-06
+ 2.240548e-02  6.949792e-03 -2.546713e-01 -3.134538e-01  6.183622e-08  5.029115e-07
+ 2.240548e-02  7.233532e-03 -2.543694e-01 -3.133273e-01 -1.231545e-06  1.429724e-07
+ 2.240548e-02  7.506553e-03 -2.540677e-01 -3.132002e-01  1.835252e-07  1.526431e-06
+ 2.240548e-02  7.769986e-03 -2.537682e-01 -3.130730e-01  1.374464e-07 -1.283756e-07
+ 2.240548e-02  8.024774e-03 -2.534700e-01 -3.129457e-01 -1.686859e-06 -1.069631e-06
+ 2.240548e-02  8.271717e-03 -2.531710e-01 -3.128185e-01 -1.149910e-08 -4.174782e-08
+ 2.240548e-02  8.511498e-03 -2.528757e-01 -3.126925e-01 -3.440259e-06 -4.467647e-07
+ 2.240548e-02  8.744705e-03 -2.525763e-01 -3.125667e-01  1.146149e-06  2.316161e-07
+ 2.240548e-02  8.971852e-03 -2.522755e-01 -3.124389e-01  4.110436e-06  6.586282e-07
+ 2.240548e-02  9.193388e-03 -2.519821e-01 -3.122982e-01 -2.226345e-05 -1.977111e-06
+ 2.240548e-02  9.409709e-03 -2.516088e-01 -3.120388e-01 -1.859065e-07  1.545552e-06
+ 2.240548e-02  9.621167e-03 -2.506101e-01 -3.100394e-01 -2.407611e-04  2.616523e-05
+ 2.240548e-02  9.828076e-03 -2.509398e-01 -3.117324e-01 -8.120161e-05 -9.043074e-04
+ 2.240548e-02  1.003072e-02 -2.501216e-01 -3.102165e-01 -1.382638e-05 -9.930763e-05
+ 2.240548e-02  1.022935e-02 -2.499601e-01 -3.104762e-01  2.908802e-05  3.361243e-04
+ 2.240548e-02  1.042419e-02 -2.498790e-01 -3.102861e-01  3.010763e-05 -1.853902e-05
+ 2.240548e-02  1.061546e-02 -2.493899e-01 -3.103925e-01  2.253504e-04 -3.545073e-05
+ 2.240548e-02  1.080334e-02 -2.490853e-01 -3.097903e-01 -3.671285e-05 -2.644688e-05
+ 2.240548e-02  1.098801e-02 -2.488871e-01 -3.096454e-01 -2.280650e-06 -3.080501e-07
+ 2.240548e-02  1.116962e-02 -2.485499e-01 -3.095243e-01  3.860805e-05  5.963260e-06
+ 2.240548e-02  1.134833e-02 -2.482588e-01 -3.093639e-01 -2.237989e-06 -3.907904e-07
+ 2.240548e-02  1.152427e-02 -2.479475e-01 -3.091839e-01  2.237361e-06  5.781259e-07
+ 2.240548e-02  1.169756e-02 -2.476371e-01 -3.089950e-01  4.020584e-06  7.903009e-07
+ 2.240548e-02  1.186832e-02 -2.473319e-01 -3.087997e-01  5.355405e-08 -8.104572e-09
+ 2.240548e-02  1.203666e-02 -2.470222e-01 -3.085877e-01 -3.492371e-06 -2.860505e-05
+ 2.240548e-02  1.220268e-02 -2.465773e-01 -3.084020e-01  3.198932e-05  6.080291e-07
+ 2.240548e-02  1.236647e-02 -2.462997e-01 -3.081848e-01 -2.765776e-07  7.309389e-08
+ 2.240548e-02  1.252811e-02 -2.459899e-01 -3.079856e-01  1.800395e-05  3.390627e-05
+ 2.240548e-02  1.268770e-02 -2.456423e-01 -3.077322e-01  1.108200e-06  8.482668e-08
+ 2.240548e-02  1.284531e-02 -2.453055e-01 -3.075017e-01 -3.341294e-08  2.973107e-07
+ 2.240548e-02  1.300100e-02 -2.449570e-01 -3.072516e-01  3.286656e-06  9.317815e-06
+ 2.240548e-02  1.315485e-02 -2.446122e-01 -3.070226e-01 -4.890934e-06 -7.891976e-06
+ 2.240548e-02  1.330692e-02 -2.441694e-01 -3.066535e-01 -9.561736e-07 -2.176300e-06
+ 2.240548e-02  1.345728e-02 -2.439629e-01 -3.065898e-01  1.268126e-06 -5.881111e-07
+ 2.240548e-02  1.360597e-02 -2.435597e-01 -3.062814e-01 -8.566083e-06 -1.179167e-05
+ 2.240548e-02  1.375306e-02 -2.430054e-01 -3.055339e-01  1.092750e-06 -8.159023e-05
+ 2.240548e-02  1.389858e-02 -2.414919e-01 -3.038955e-01 -2.414919e-01 -3.038955e-01
+ 2.240548e-02  1.404260e-02 -2.421499e-01 -3.049470e-01 -1.003956e-03 -1.151714e-03
+ 2.240548e-02  1.418516e-02 -2.421084e-01 -3.052409e-01  9.379475e-08 -5.309705e-07
+ 2.240548e-02  1.432630e-02 -2.420717e-01 -3.054976e-01  1.063678e-08  6.053876e-07
+ 2.240548e-02  1.446606e-02 -2.420327e-01 -3.057735e-01  4.156153e-07 -7.278278e-06
+ 2.240548e-02  1.460449e-02 -2.417829e-01 -3.056999e-01 -7.781922e-05 -6.877503e-05
+ 2.240548e-02  1.474161e-02 -2.401582e-01 -3.039840e-01 -4.448681e-06 -3.098051e-06
+ 2.240548e-02  1.487748e-02 -2.405139e-01 -3.044157e-01 -2.908012e-04 -2.369803e-04
+ 2.240548e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.240548e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.402231e-01  3.041787e-01
+ 2.249492e-02  1.000000e-06 -2.586159e-01 -3.146697e-01  2.178024e-08  1.524851e-09
+ 2.249492e-02  2.006944e-03 -2.582859e-01 -3.145783e-01 -1.856511e-07 -9.823530e-09
+ 2.249492e-02  2.837833e-03 -2.579589e-01 -3.144827e-01  2.333614e-08 -1.029814e-10
+ 2.249492e-02  3.475396e-03 -2.576349e-01 -3.143829e-01  3.242534e-08 -1.828588e-08
+ 2.249492e-02  4.012887e-03 -2.573144e-01 -3.142789e-01 -2.597743e-07 -1.478296e-07
+ 2.249492e-02  4.486426e-03 -2.569910e-01 -3.141743e-01  9.378292e-09 -2.875136e-07
+ 2.249492e-02  4.914538e-03 -2.566752e-01 -3.140630e-01  5.143849e-08 -2.485933e-07
+ 2.249492e-02  5.308228e-03 -2.563604e-01 -3.139491e-01 -3.986104e-07  3.901787e-07
+ 2.249492e-02  5.674665e-03 -2.560468e-01 -3.138325e-01 -8.290428e-10  8.875147e-07
+ 2.249492e-02  6.018831e-03 -2.557366e-01 -3.137117e-01 -1.811458e-08  1.932513e-07
+ 2.249492e-02  6.344350e-03 -2.554261e-01 -3.135908e-01 -3.802811e-07  1.855858e-07
+ 2.249492e-02  6.653962e-03 -2.551174e-01 -3.134674e-01 -2.544057e-08  1.173027e-06
+ 2.249492e-02  6.949792e-03 -2.548108e-01 -3.133428e-01 -5.563026e-07  1.554863e-07
+ 2.249492e-02  7.233532e-03 -2.545051e-01 -3.132166e-01 -4.167601e-08 -8.258830e-07
+ 2.249492e-02  7.506553e-03 -2.542007e-01 -3.130894e-01  1.674039e-07 -1.331304e-07
+ 2.249492e-02  7.769986e-03 -2.538986e-01 -3.129619e-01 -1.790976e-06 -2.284608e-07
+ 2.249492e-02  8.024774e-03 -2.535960e-01 -3.128346e-01  2.116541e-07 -1.974577e-08
+ 2.249492e-02  8.271717e-03 -2.532960e-01 -3.127084e-01 -9.190496e-08 -2.874075e-08
+ 2.249492e-02  8.511498e-03 -2.529963e-01 -3.125834e-01 -1.929184e-06 -3.476486e-07
+ 2.249492e-02  8.744705e-03 -2.526938e-01 -3.124581e-01 -8.361134e-08  2.139762e-09
+ 2.249492e-02  8.971852e-03 -2.523902e-01 -3.123289e-01 -6.329519e-06 -5.379976e-07
+ 2.249492e-02  9.193388e-03 -2.520852e-01 -3.121788e-01 -7.200634e-06 -8.752278e-07
+ 2.249492e-02  9.409709e-03 -2.514727e-01 -3.111888e-01  3.062945e-06  2.068228e-04
+ 2.249492e-02  9.621167e-03 -2.508489e-01 -3.100630e-01  9.265566e-05  6.005456e-05
+ 2.249492e-02  9.828076e-03 -2.510641e-01 -3.116744e-01 -6.144201e-06 -5.292080e-05
+ 2.249492e-02  1.003072e-02 -2.501226e-01 -3.100650e-01 -2.793438e-05 -8.906669e-06
+ 2.249492e-02  1.022935e-02 -2.498250e-01 -3.090071e-01  1.639029e-04  3.366182e-05
+ 2.249492e-02  1.042419e-02 -2.498773e-01 -3.101270e-01  8.859135e-07  5.738110e-08
+ 2.249492e-02  1.061546e-02 -2.497806e-01 -3.100304e-01 -3.425059e-04 -5.358160e-05
+ 2.249492e-02  1.080334e-02 -2.490655e-01 -3.097304e-01 -1.610816e-05  8.479205e-06
+ 2.249492e-02  1.098801e-02 -2.489439e-01 -3.091390e-01  3.516632e-05  1.675728e-04
+ 2.249492e-02  1.116962e-02 -2.485822e-01 -3.093138e-01  2.773190e-05  5.065251e-06
+ 2.249492e-02  1.134833e-02 -2.482883e-01 -3.091569e-01 -3.118378e-06  2.954001e-06
+ 2.249492e-02  1.152427e-02 -2.479651e-01 -3.089841e-01  4.139278e-06  3.277880e-07
+ 2.249492e-02  1.169756e-02 -2.476473e-01 -3.087924e-01  2.918472e-06  5.185102e-07
+ 2.249492e-02  1.186832e-02 -2.473318e-01 -3.085945e-01 -6.045113e-08 -2.919637e-07
+ 2.249492e-02  1.203666e-02 -2.470156e-01 -3.083912e-01  2.677774e-06  8.857513e-07
+ 2.249492e-02  1.220268e-02 -2.467050e-01 -3.081820e-01  1.194213e-05 -4.416824e-06
+ 2.249492e-02  1.236647e-02 -2.462405e-01 -3.079857e-01  4.626073e-05  2.029001e-06
+ 2.249492e-02  1.252811e-02 -2.459396e-01 -3.077400e-01 -8.263725e-06 -6.692364e-06
+ 2.249492e-02  1.268770e-02 -2.456120e-01 -3.075184e-01  1.230323e-06 -9.552228e-08
+ 2.249492e-02  1.284531e-02 -2.452730e-01 -3.072854e-01 -2.121522e-07 -1.797804e-07
+ 2.249492e-02  1.300100e-02 -2.449208e-01 -3.070371e-01  9.188996e-07  2.019474e-06
+ 2.249492e-02  1.315485e-02 -2.445315e-01 -3.067397e-01  2.644378e-07  1.340437e-07
+ 2.249492e-02  1.330692e-02 -2.441709e-01 -3.064862e-01 -2.523149e-07 -8.828129e-07
+ 2.249492e-02  1.345728e-02 -2.439592e-01 -3.064272e-01 -5.056566e-06 -6.354543e-06
+ 2.249492e-02  1.360597e-02 -2.434772e-01 -3.060202e-01  2.106134e-06  2.346952e-06
+ 2.249492e-02  1.375306e-02 -2.429041e-01 -3.053635e-01  6.427483e-05  9.905353e-05
+ 2.249492e-02  1.389858e-02 -2.412701e-01 -3.032195e-01 -2.412701e-01 -3.032195e-01
+ 2.249492e-02  1.404260e-02 -2.421544e-01 -3.049190e-01 -6.034975e-07  6.242961e-06
+ 2.249492e-02  1.418516e-02 -2.421214e-01 -3.051498e-01  1.659196e-07 -7.107663e-07
+ 2.249492e-02  1.432630e-02 -2.420810e-01 -3.054327e-01  3.872041e-06 -2.847137e-05
+ 2.249492e-02  1.446606e-02 -2.420476e-01 -3.056534e-01 -2.420476e-01 -3.056534e-01
+ 2.249492e-02  1.460449e-02 -2.404747e-01 -3.038058e-01 -2.404747e-01 -3.038058e-01
+ 2.249492e-02  1.474161e-02 -2.401919e-01 -3.038224e-01  8.121716e-04  8.620398e-04
+ 2.249492e-02  1.487748e-02 -2.411620e-01 -3.051061e-01 -1.059485e-03 -1.051220e-03
+ 2.249492e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.249492e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.401025e-01  3.040549e-01
+ 2.258401e-02  1.000000e-06 -2.587872e-01 -3.145588e-01 -1.525288e-07  1.289993e-07
+ 2.258401e-02  2.006944e-03 -2.584544e-01 -3.144669e-01  1.876311e-08  7.108680e-08
+ 2.258401e-02  2.837833e-03 -2.581247e-01 -3.143706e-01  2.518416e-08  2.074730e-07
+ 2.258401e-02  3.475396e-03 -2.577979e-01 -3.142703e-01 -2.275478e-07  3.121756e-07
+ 2.258401e-02  4.012887e-03 -2.574737e-01 -3.141658e-01  2.282989e-08  2.769463e-07
+ 2.258401e-02  4.486426e-03 -2.571632e-01 -3.140502e-01 -8.116910e-06  5.864901e-06
+ 2.258401e-02  4.914538e-03 -2.568290e-01 -3.139485e-01 -3.335154e-07  3.803019e-08
+ 2.258401e-02  5.308228e-03 -2.565113e-01 -3.138340e-01  2.245621e-08  5.759483e-07
+ 2.258401e-02  5.674665e-03 -2.561951e-01 -3.137172e-01  3.061486e-08  7.168573e-07
+ 2.258401e-02  6.018831e-03 -2.558775e-01 -3.136021e-01  2.462722e-06 -4.002087e-06
+ 2.258401e-02  6.344350e-03 -2.555680e-01 -3.134754e-01  3.096367e-08 -5.863159e-07
+ 2.258401e-02  6.653962e-03 -2.552566e-01 -3.133518e-01 -8.607785e-08 -1.184417e-07
+ 2.258401e-02  6.949792e-03 -2.549466e-01 -3.132265e-01 -4.185939e-07 -1.263123e-07
+ 2.258401e-02  7.233532e-03 -2.546378e-01 -3.131000e-01  4.976693e-09 -4.705348e-08
+ 2.258401e-02  7.506553e-03 -2.543312e-01 -3.129730e-01 -8.839379e-07 -7.974684e-08
+ 2.258401e-02  7.769986e-03 -2.540252e-01 -3.128460e-01  1.346310e-08 -1.083950e-07
+ 2.258401e-02  8.024774e-03 -2.537204e-01 -3.127197e-01  2.815409e-07  8.934295e-09
+ 2.258401e-02  8.271717e-03 -2.534179e-01 -3.125944e-01 -2.532037e-06 -2.598834e-07
+ 2.258401e-02  8.511498e-03 -2.531133e-01 -3.124697e-01  6.561754e-07  7.904633e-08
+ 2.258401e-02  8.744705e-03 -2.528104e-01 -3.123447e-01 -2.068425e-07 -2.651661e-08
+ 2.258401e-02  8.971852e-03 -2.525060e-01 -3.122137e-01  6.354292e-07  1.225337e-07
+ 2.258401e-02  9.193388e-03 -2.521709e-01 -3.120480e-01 -4.780871e-06  7.393454e-07
+ 2.258401e-02  9.409709e-03 -2.515968e-01 -3.113101e-01 -1.938268e-05  4.729961e-06
+ 2.258401e-02  9.621167e-03 -2.510028e-01 -3.102198e-01 -2.683415e-04 -1.983086e-04
+ 2.258401e-02  9.828076e-03 -2.511182e-01 -3.115553e-01  3.943804e-05  9.814212e-05
+ 2.258401e-02  1.003072e-02 -2.501306e-01 -3.099015e-01  2.426605e-05  5.920097e-05
+ 2.258401e-02  1.022935e-02 -2.497140e-01 -3.084966e-01  2.654294e-04  2.506694e-05
+ 2.258401e-02  1.042419e-02 -2.498695e-01 -3.099824e-01 -2.268724e-04 -2.278404e-05
+ 2.258401e-02  1.061546e-02 -2.498278e-01 -3.098340e-01 -6.222748e-04 -9.900544e-05
+ 2.258401e-02  1.080334e-02 -2.490487e-01 -3.096916e-01  6.822385e-06  1.080949e-05
+ 2.258401e-02  1.098801e-02 -2.489238e-01 -3.091376e-01  6.635974e-05 -5.037764e-05
+ 2.258401e-02  1.116962e-02 -2.486187e-01 -3.090839e-01  1.244071e-05  2.185306e-06
+ 2.258401e-02  1.134833e-02 -2.483079e-01 -3.089496e-01  4.689659e-07  7.954703e-08
+ 2.258401e-02  1.152427e-02 -2.479775e-01 -3.087735e-01  6.220476e-06  1.243181e-06
+ 2.258401e-02  1.169756e-02 -2.476559e-01 -3.085833e-01  2.070508e-06  2.882875e-07
+ 2.258401e-02  1.186832e-02 -2.473387e-01 -3.083916e-01 -1.547271e-06 -1.674653e-06
+ 2.258401e-02  1.203666e-02 -2.470084e-01 -3.081820e-01  2.326604e-06  1.268833e-06
+ 2.258401e-02  1.220268e-02 -2.466854e-01 -3.079679e-01  8.405344e-07  2.979534e-07
+ 2.258401e-02  1.236647e-02 -2.463718e-01 -3.077568e-01  7.822676e-06 -4.475060e-06
+ 2.258401e-02  1.252811e-02 -2.458807e-01 -3.075348e-01  5.223835e-05 -1.083885e-06
+ 2.258401e-02  1.268770e-02 -2.455733e-01 -3.073015e-01 -1.821926e-07  4.892101e-07
+ 2.258401e-02  1.284531e-02 -2.452307e-01 -3.070608e-01  1.119654e-07 -3.465726e-08
+ 2.258401e-02  1.300100e-02 -2.448772e-01 -3.068155e-01  1.672314e-07  2.879191e-09
+ 2.258401e-02  1.315485e-02 -2.443834e-01 -3.063789e-01  5.250620e-07  7.426817e-07
+ 2.258401e-02  1.330692e-02 -2.442619e-01 -3.064398e-01  8.023945e-07  9.960047e-07
+ 2.258401e-02  1.345728e-02 -2.438130e-01 -3.060781e-01  8.353033e-07  5.041564e-07
+ 2.258401e-02  1.360597e-02 -2.434002e-01 -3.057583e-01 -3.973810e-07  1.097902e-06
+ 2.258401e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.433998e-01  3.057594e-01
+ 2.258401e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.433998e-01  3.057594e-01
+ 2.258401e-02  1.404260e-02 -2.421626e-01 -3.048494e-01 -9.304090e-04 -8.579601e-04
+ 2.258401e-02  1.418516e-02 -2.421353e-01 -3.050526e-01  1.232645e-07  8.329959e-08
+ 2.258401e-02  1.432630e-02 -2.409892e-01 -3.040329e-01 -2.067614e-04 -5.417316e-04
+ 2.258401e-02  1.446606e-02 -2.419795e-01 -3.055521e-01 -2.419795e-01 -3.055521e-01
+ 2.258401e-02  1.460449e-02 -2.420089e-01 -3.057823e-01  2.499088e-05 -2.398641e-05
+ 2.258401e-02  1.474161e-02 -2.416430e-01 -3.054497e-01 -2.691359e-04 -3.702072e-04
+ 2.258401e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.258401e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.413738e-01  3.050795e-01
+ 2.267274e-02  1.000000e-06 -2.589545e-01 -3.144434e-01  1.432483e-08 -3.675096e-07
+ 2.267274e-02  2.006944e-03 -2.586191e-01 -3.143506e-01  2.099458e-08  9.538535e-08
+ 2.267274e-02  2.837833e-03 -2.582868e-01 -3.142538e-01 -1.867646e-07  2.002224e-07
+ 2.267274e-02  3.475396e-03 -2.579570e-01 -3.141529e-01  2.146692e-08  2.209354e-07
+ 2.267274e-02  4.012887e-03 -2.576299e-01 -3.140480e-01  3.047644e-08  7.375283e-08
+ 2.267274e-02  4.486426e-03 -2.573062e-01 -3.139390e-01 -2.562964e-07 -2.696126e-07
+ 2.267274e-02  4.914538e-03 -2.569774e-01 -3.138315e-01 -3.821724e-08 -3.188215e-07
+ 2.267274e-02  5.308228e-03 -2.566587e-01 -3.137151e-01  5.316294e-08 -1.453658e-07
+ 2.267274e-02  5.674665e-03 -2.563399e-01 -3.135973e-01 -4.099162e-07 -3.163963e-08
+ 2.267274e-02  6.018831e-03 -2.560220e-01 -3.134775e-01  4.967873e-08 -5.603949e-08
+ 2.267274e-02  6.344350e-03 -2.557070e-01 -3.133539e-01  6.460970e-08 -4.058468e-09
+ 2.267274e-02  6.653962e-03 -2.553925e-01 -3.132303e-01 -6.015303e-07 -7.117644e-08
+ 2.267274e-02  6.949792e-03 -2.550795e-01 -3.131044e-01 -7.464796e-08  1.872548e-07
+ 2.267274e-02  7.233532e-03 -2.547681e-01 -3.129790e-01 -1.079968e-07 -4.187294e-08
+ 2.267274e-02  7.506553e-03 -2.544582e-01 -3.128523e-01 -5.574780e-07 -5.316276e-08
+ 2.267274e-02  7.769986e-03 -2.541491e-01 -3.127259e-01  2.275857e-08 -2.521006e-09
+ 2.267274e-02  8.024774e-03 -2.538427e-01 -3.126005e-01 -1.260253e-06 -1.241079e-07
+ 2.267274e-02  8.271717e-03 -2.535360e-01 -3.124759e-01  4.096072e-09 -2.122879e-08
+ 2.267274e-02  8.511498e-03 -2.532295e-01 -3.123520e-01  3.107927e-07  4.398533e-08
+ 2.267274e-02  8.744705e-03 -2.529215e-01 -3.122262e-01 -8.127644e-07  1.628729e-07
+ 2.267274e-02  8.971852e-03 -2.526198e-01 -3.120923e-01 -2.189316e-05 -2.824397e-06
+ 2.267274e-02  9.193388e-03 -2.522745e-01 -3.119063e-01 -2.965811e-06  2.058161e-07
+ 2.267274e-02  9.409709e-03 -2.513151e-01 -3.101694e-01 -2.123031e-04 -6.326946e-04
+ 2.267274e-02  9.621167e-03 -2.510309e-01 -3.098958e-01 -3.010134e-04 -2.581917e-04
+ 2.267274e-02  9.828076e-03 -2.512477e-01 -3.116981e-01 -7.377745e-04 -1.533050e-03
+ 2.267274e-02  1.003072e-02 -2.501380e-01 -3.096407e-01  2.020386e-04  5.639497e-05
+ 2.267274e-02  1.022935e-02 -2.497579e-01 -3.082154e-01  2.407996e-04  3.766876e-04
+ 2.267274e-02  1.042419e-02 -2.498543e-01 -3.098694e-01 -1.778041e-04 -1.090646e-05
+ 2.267274e-02  1.061546e-02 -2.498499e-01 -3.096489e-01 -5.419119e-04 -9.028213e-05
+ 2.267274e-02  1.080334e-02 -2.490146e-01 -3.097952e-01  6.976844e-05 -1.067409e-04
+ 2.267274e-02  1.098801e-02 -2.489170e-01 -3.090723e-01  3.125337e-05 -4.571919e-07
+ 2.267274e-02  1.116962e-02 -2.487122e-01 -3.086233e-01 -4.560758e-05  1.037778e-04
+ 2.267274e-02  1.134833e-02 -2.483301e-01 -3.087304e-01  7.096833e-06  7.788350e-06
+ 2.267274e-02  1.152427e-02 -2.479926e-01 -3.085544e-01  8.174092e-06  2.487146e-06
+ 2.267274e-02  1.169756e-02 -2.476615e-01 -3.083667e-01  1.536425e-06  6.089397e-07
+ 2.267274e-02  1.186832e-02 -2.473370e-01 -3.081733e-01 -2.258738e-08 -6.290006e-08
+ 2.267274e-02  1.203666e-02 -2.470006e-01 -3.079621e-01  1.727132e-06  4.989871e-07
+ 2.267274e-02  1.220268e-02 -2.466698e-01 -3.077513e-01  7.758799e-07 -8.433296e-08
+ 2.267274e-02  1.236647e-02 -2.462955e-01 -3.074582e-01  1.150462e-05  2.145580e-05
+ 2.267274e-02  1.252811e-02 -2.460016e-01 -3.072891e-01  5.809637e-06 -1.023549e-06
+ 2.267274e-02  1.268770e-02 -2.455221e-01 -3.070865e-01  6.534095e-06 -1.933755e-06
+ 2.267274e-02  1.284531e-02 -2.451778e-01 -3.068319e-01  4.248101e-07 -3.165523e-07
+ 2.267274e-02  1.300100e-02 -2.448201e-01 -3.065921e-01 -1.686889e-05 -2.688464e-05
+ 2.267274e-02  1.315485e-02 -2.444759e-01 -3.063333e-01  4.282133e-08  8.940995e-08
+ 2.267274e-02  1.330692e-02 -2.442078e-01 -3.062062e-01  4.295909e-06  4.707817e-06
+ 2.267274e-02  1.345728e-02 -2.437504e-01 -3.058311e-01  2.595069e-06  3.410136e-06
+ 2.267274e-02  1.360597e-02 -2.433659e-01 -3.055713e-01  5.173416e-06  7.153957e-06
+ 2.267274e-02  1.375306e-02 -2.420646e-01 -3.036622e-01 -2.615944e-04 -1.415506e-03
+ 2.267274e-02  1.389858e-02 -2.416016e-01 -3.039457e-01 -2.416016e-01 -3.039457e-01
+ 2.267274e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.267274e-02  1.418516e-02 -2.421467e-01 -3.049755e-01 -1.572498e-05 -7.244931e-06
+ 2.267274e-02  1.432630e-02 -2.421054e-01 -3.052499e-01 -2.421054e-01 -3.052499e-01
+ 2.267274e-02  1.446606e-02 -2.417190e-01 -3.049879e-01 -2.417190e-01 -3.049879e-01
+ 2.267274e-02  1.460449e-02 -2.405810e-01 -3.037213e-01 -2.405810e-01 -3.037213e-01
+ 2.267274e-02  1.474161e-02 -2.419578e-01 -3.057906e-01 -1.596758e-04 -2.204521e-04
+ 2.267274e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.267274e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.417981e-01  3.055702e-01
+ 2.276113e-02  1.000000e-06 -2.591179e-01 -3.143225e-01  3.112770e-08  2.817408e-08
+ 2.276113e-02  2.006944e-03 -2.587800e-01 -3.142295e-01 -1.530661e-07  3.726561e-08
+ 2.276113e-02  2.837833e-03 -2.584450e-01 -3.141320e-01  2.142528e-08  1.781925e-08
+ 2.276113e-02  3.475396e-03 -2.581126e-01 -3.140305e-01  2.489193e-08 -2.450356e-09
+ 2.276113e-02  4.012887e-03 -2.577827e-01 -3.139251e-01 -2.159968e-07 -3.818645e-08
+ 2.276113e-02  4.486426e-03 -2.574553e-01 -3.138157e-01  2.299524e-08 -2.895188e-08
+ 2.276113e-02  4.914538e-03 -2.571401e-01 -3.136950e-01 -9.184197e-07  8.487220e-07
+ 2.276113e-02  5.308228e-03 -2.568023e-01 -3.135908e-01 -3.190576e-07 -2.327994e-08
+ 2.276113e-02  5.674665e-03 -2.564809e-01 -3.134722e-01  3.112802e-08 -5.983125e-08
+ 2.276113e-02  6.018831e-03 -2.561605e-01 -3.133518e-01  5.940185e-08 -4.295024e-08
+ 2.276113e-02  6.344350e-03 -2.558449e-01 -3.132244e-01 -1.329240e-06  1.303500e-06
+ 2.276113e-02  6.653962e-03 -2.555249e-01 -3.131044e-01  6.789110e-08 -1.921064e-08
+ 2.276113e-02  6.949792e-03 -2.552092e-01 -3.129791e-01  9.831232e-08  3.395780e-08
+ 2.276113e-02  7.233532e-03 -2.548952e-01 -3.128534e-01 -8.601657e-07 -7.325121e-08
+ 2.276113e-02  7.506553e-03 -2.545820e-01 -3.127275e-01  1.451083e-08 -2.157763e-07
+ 2.276113e-02  7.769986e-03 -2.542711e-01 -3.126016e-01 -3.282003e-08 -2.007935e-09
+ 2.276113e-02  8.024774e-03 -2.539613e-01 -3.124769e-01 -8.328485e-07 -7.548832e-08
+ 2.276113e-02  8.271717e-03 -2.536516e-01 -3.123530e-01  1.922209e-07  9.234436e-08
+ 2.276113e-02  8.511498e-03 -2.533440e-01 -3.122298e-01 -1.582079e-06 -1.296721e-07
+ 2.276113e-02  8.744705e-03 -2.530331e-01 -3.121031e-01  4.664209e-07  2.225399e-07
+ 2.276113e-02  8.971852e-03 -2.527147e-01 -3.119609e-01  4.439209e-06  9.157071e-07
+ 2.276113e-02  9.193388e-03 -2.523461e-01 -3.117359e-01 -8.070570e-06 -1.397930e-07
+ 2.276113e-02  9.409709e-03 -2.515452e-01 -3.103857e-01  2.573624e-04  7.421718e-04
+ 2.276113e-02  9.621167e-03 -2.510643e-01 -3.097078e-01 -8.148838e-05 -1.021666e-05
+ 2.276113e-02  9.828076e-03 -2.512532e-01 -3.112791e-01  1.412945e-04  2.154890e-04
+ 2.276113e-02  1.003072e-02 -2.501546e-01 -3.094464e-01  6.035298e-04  1.117741e-04
+ 2.276113e-02  1.022935e-02 -2.501418e-01 -3.092090e-01  3.168353e-04  2.461510e-05
+ 2.276113e-02  1.042419e-02 -2.498409e-01 -3.099241e-01  1.188278e-04 -1.560822e-04
+ 2.276113e-02  1.061546e-02 -2.498632e-01 -3.094476e-01 -1.584744e-04 -4.718565e-05
+ 2.276113e-02  1.080334e-02 -2.492517e-01 -3.092893e-01 -4.192928e-05 -5.301268e-06
+ 2.276113e-02  1.098801e-02 -2.489109e-01 -3.090117e-01  9.093465e-06  5.914991e-06
+ 2.276113e-02  1.116962e-02 -2.486922e-01 -3.083670e-01  2.175274e-05 -1.163276e-04
+ 2.276113e-02  1.134833e-02 -2.483457e-01 -3.084880e-01 -9.836873e-07 -1.748019e-06
+ 2.276113e-02  1.152427e-02 -2.480008e-01 -3.083304e-01  1.044551e-05  1.916411e-06
+ 2.276113e-02  1.169756e-02 -2.476918e-01 -3.081873e-01 -1.217634e-05 -1.966446e-05
+ 2.276113e-02  1.186832e-02 -2.473344e-01 -3.079502e-01 -1.854911e-07 -4.489568e-07
+ 2.276113e-02  1.203666e-02 -2.469932e-01 -3.077404e-01  1.861163e-06  6.687768e-07
+ 2.276113e-02  1.220268e-02 -2.466641e-01 -3.075410e-01  1.364329e-06  1.505224e-07
+ 2.276113e-02  1.236647e-02 -2.463113e-01 -3.073057e-01 -8.643181e-07 -1.459129e-06
+ 2.276113e-02  1.252811e-02 -2.459626e-01 -3.070546e-01 -9.764298e-08 -3.016117e-07
+ 2.276113e-02  1.268770e-02 -2.456236e-01 -3.068140e-01  5.160873e-06 -2.174410e-06
+ 2.276113e-02  1.284531e-02 -2.451249e-01 -3.065870e-01 -3.544635e-05  9.146420e-07
+ 2.276113e-02  1.300100e-02 -2.446692e-01 -3.062310e-01  6.843439e-06  3.210621e-06
+ 2.276113e-02  1.315485e-02 -2.445534e-01 -3.062885e-01  5.823528e-06  5.233372e-06
+ 2.276113e-02  1.330692e-02 -2.440926e-01 -3.058943e-01  7.541186e-07  5.723010e-07
+ 2.276113e-02  1.345728e-02 -2.436489e-01 -3.055360e-01 -7.385012e-07 -5.947598e-07
+ 2.276113e-02  1.360597e-02 -2.432717e-01 -3.053059e-01 -5.363706e-05 -8.042414e-05
+ 2.276113e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.432180e-01  3.052255e-01
+ 2.276113e-02  1.389858e-02 -2.413371e-01 -3.032484e-01  8.768891e-04  1.177015e-03
+ 2.276113e-02  1.404260e-02 -2.417537e-01 -3.044105e-01 -2.417537e-01 -3.044105e-01
+ 2.276113e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.276113e-02  1.432630e-02 -2.400600e-01 -3.030861e-01 -2.400600e-01 -3.030861e-01
+ 2.276113e-02  1.446606e-02 -2.417768e-01 -3.049628e-01 -2.417768e-01 -3.049628e-01
+ 2.276113e-02  1.460449e-02 -2.420272e-01 -3.055148e-01 -1.375480e-04 -1.646863e-04
+ 2.276113e-02  1.474161e-02 -2.405637e-01 -3.038514e-01  9.959941e-04  1.228933e-03
+ 2.276113e-02  1.487748e-02 -2.401233e-01 -3.038477e-01  6.380570e-04  2.507315e-04
+ 2.276113e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.276113e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.407613e-01  3.040984e-01
+ 2.284918e-02  1.000000e-06 -2.592776e-01 -3.141965e-01 -1.287265e-07 -7.998098e-08
+ 2.284918e-02  2.006944e-03 -2.589371e-01 -3.141030e-01  1.240449e-08 -3.626637e-08
+ 2.284918e-02  2.837833e-03 -2.585995e-01 -3.140050e-01  2.657253e-08  5.729109e-08
+ 2.284918e-02  3.475396e-03 -2.582645e-01 -3.139030e-01 -1.755220e-07 -4.173704e-08
+ 2.284918e-02  4.012887e-03 -2.579318e-01 -3.137970e-01  1.002301e-08 -1.798024e-08
+ 2.284918e-02  4.486426e-03 -2.576014e-01 -3.136872e-01  1.854210e-08 -3.879674e-09
+ 2.284918e-02  4.914538e-03 -2.572744e-01 -3.135733e-01 -2.263190e-07 -2.445071e-08
+ 2.284918e-02  5.308228e-03 -2.569403e-01 -3.134636e-01 -5.071504e-08  6.519888e-09
+ 2.284918e-02  5.674665e-03 -2.566184e-01 -3.133425e-01  2.163958e-08 -8.813680e-09
+ 2.284918e-02  6.018831e-03 -2.562957e-01 -3.132215e-01 -3.472439e-07 -2.787246e-08
+ 2.284918e-02  6.344350e-03 -2.559735e-01 -3.130997e-01 -2.229032e-07  3.687310e-07
+ 2.284918e-02  6.653962e-03 -2.556544e-01 -3.129737e-01  5.268465e-08 -1.124308e-08
+ 2.284918e-02  6.949792e-03 -2.553361e-01 -3.128487e-01 -6.379585e-07 -5.634470e-08
+ 2.284918e-02  7.233532e-03 -2.550188e-01 -3.127234e-01  9.287733e-08 -1.704295e-08
+ 2.284918e-02  7.506553e-03 -2.547035e-01 -3.125977e-01  1.611895e-07  8.378921e-08
+ 2.284918e-02  7.769986e-03 -2.543901e-01 -3.124729e-01 -1.269700e-06 -1.391275e-07
+ 2.284918e-02  8.024774e-03 -2.540771e-01 -3.123490e-01  1.068914e-07 -3.907990e-09
+ 2.284918e-02  8.271717e-03 -2.537656e-01 -3.122261e-01  1.228114e-07  8.090141e-09
+ 2.284918e-02  8.511498e-03 -2.534527e-01 -3.121024e-01  1.420029e-06  4.043142e-07
+ 2.284918e-02  8.744705e-03 -2.531479e-01 -3.119754e-01 -1.721963e-05 -2.735359e-06
+ 2.284918e-02  8.971852e-03 -2.528110e-01 -3.118218e-01  3.368100e-06  6.153858e-07
+ 2.284918e-02  9.193388e-03 -2.524190e-01 -3.115042e-01  1.271237e-06  2.211165e-06
+ 2.284918e-02  9.409709e-03 -2.519527e-01 -3.109952e-01 -1.323350e-04 -2.265456e-04
+ 2.284918e-02  9.621167e-03 -2.511012e-01 -3.095250e-01 -5.871391e-06 -1.237457e-05
+ 2.284918e-02  9.828076e-03 -2.510169e-01 -3.099425e-01  3.996942e-05  3.892083e-04
+ 2.284918e-02  1.003072e-02 -2.501798e-01 -3.092491e-01  5.874897e-04  1.015111e-04
+ 2.284918e-02  1.022935e-02 -2.501277e-01 -3.090670e-01  1.794999e-04  1.395545e-05
+ 2.284918e-02  1.042419e-02 -2.499056e-01 -3.105148e-01  8.625810e-05 -7.600998e-04
+ 2.284918e-02  1.061546e-02 -2.498712e-01 -3.092665e-01 -8.838744e-06 -5.592366e-06
+ 2.284918e-02  1.080334e-02 -2.493829e-01 -3.090735e-01  1.148998e-04  1.426608e-05
+ 2.284918e-02  1.098801e-02 -2.489088e-01 -3.089657e-01 -4.802282e-06  5.608954e-05
+ 2.284918e-02  1.116962e-02 -2.486698e-01 -3.082619e-01 -1.051200e-05 -6.042280e-06
+ 2.284918e-02  1.134833e-02 -2.483688e-01 -3.082169e-01 -3.970953e-06 -1.788884e-06
+ 2.284918e-02  1.152427e-02 -2.480041e-01 -3.080902e-01  1.132912e-05  1.579508e-06
+ 2.284918e-02  1.169756e-02 -2.476739e-01 -3.079197e-01  8.164614e-07 -2.765386e-07
+ 2.284918e-02  1.186832e-02 -2.473291e-01 -3.077205e-01  8.455133e-07  9.173468e-07
+ 2.284918e-02  1.203666e-02 -2.469873e-01 -3.075175e-01  1.243789e-06  4.676871e-07
+ 2.284918e-02  1.220268e-02 -2.466103e-01 -3.072569e-01  2.994848e-06  8.616994e-07
+ 2.284918e-02  1.236647e-02 -2.462725e-01 -3.070480e-01  1.263677e-07  1.702133e-07
+ 2.284918e-02  1.252811e-02 -2.459194e-01 -3.068103e-01  1.477497e-07  5.063636e-07
+ 2.284918e-02  1.268770e-02 -2.455675e-01 -3.065600e-01  7.558676e-07  3.666616e-07
+ 2.284918e-02  1.284531e-02 -2.451987e-01 -3.062619e-01 -3.949539e-05 -2.525419e-05
+ 2.284918e-02  1.300100e-02 -2.447256e-01 -3.062006e-01  3.224828e-05  1.097194e-06
+ 2.284918e-02  1.315485e-02 -2.444369e-01 -3.059667e-01 -3.619298e-07 -4.521878e-07
+ 2.284918e-02  1.330692e-02 -2.439894e-01 -3.056050e-01  6.026167e-06  9.404873e-06
+ 2.284918e-02  1.345728e-02 -2.435757e-01 -3.053048e-01  3.970277e-06 -2.385758e-06
+ 2.284918e-02  1.360597e-02 -2.431164e-01 -3.049623e-01 -2.431164e-01 -3.049623e-01
+ 2.284918e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.284918e-02  1.389858e-02 -2.421499e-01 -3.043250e-01  7.961418e-05  4.331418e-05
+ 2.284918e-02  1.404260e-02 -2.419675e-01 -3.041835e-01 -6.426290e-05 -2.446655e-04
+ 2.284918e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.419032e-01  3.039388e-01
+ 2.284918e-02  1.432630e-02 -2.409572e-01 -3.033818e-01  9.071813e-04  1.219089e-03
+ 2.284918e-02  1.446606e-02 -2.406838e-01 -3.033083e-01  9.317184e-04  9.186764e-04
+ 2.284918e-02  1.460449e-02 -2.419470e-01 -3.050213e-01 -1.110339e-03 -1.385465e-03
+ 2.284918e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.284918e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.408367e-01  3.036359e-01
+ 2.293689e-02  1.000000e-06 -2.594333e-01 -3.140658e-01 -5.989667e-09  1.990406e-07
+ 2.293689e-02  2.006944e-03 -2.590904e-01 -3.139715e-01 -5.976302e-09  8.419301e-09
+ 2.293689e-02  2.837833e-03 -2.587504e-01 -3.138733e-01 -1.485805e-07 -4.629832e-08
+ 2.293689e-02  3.475396e-03 -2.584127e-01 -3.137704e-01  1.788771e-09 -2.702933e-09
+ 2.293689e-02  4.012887e-03 -2.580773e-01 -3.136638e-01  1.010644e-08 -1.913188e-09
+ 2.293689e-02  4.486426e-03 -2.577443e-01 -3.135536e-01 -1.516643e-07 -2.123591e-08
+ 2.293689e-02  4.914538e-03 -2.574136e-01 -3.134397e-01 -4.345496e-08 -2.145240e-08
+ 2.293689e-02  5.308228e-03 -2.570978e-01 -3.133104e-01 -7.006820e-07  7.180469e-07
+ 2.293689e-02  5.674665e-03 -2.567523e-01 -3.132084e-01 -1.643688e-07 -1.371680e-08
+ 2.293689e-02  6.018831e-03 -2.564273e-01 -3.130864e-01 -1.180585e-07 -3.071049e-09
+ 2.293689e-02  6.344350e-03 -2.561028e-01 -3.129637e-01  3.435813e-09 -2.542763e-09
+ 2.293689e-02  6.653962e-03 -2.557811e-01 -3.128380e-01 -2.896870e-07 -2.974342e-08
+ 2.293689e-02  6.949792e-03 -2.554597e-01 -3.127136e-01 -1.313124e-07 -2.652379e-08
+ 2.293689e-02  7.233532e-03 -2.551398e-01 -3.125892e-01  5.031414e-08 -1.414973e-07
+ 2.293689e-02  7.506553e-03 -2.548224e-01 -3.124638e-01 -6.580700e-07 -6.585477e-08
+ 2.293689e-02  7.769986e-03 -2.545058e-01 -3.123398e-01  9.473277e-08 -1.269058e-07
+ 2.293689e-02  8.024774e-03 -2.541906e-01 -3.122167e-01  3.498661e-07  8.517570e-08
+ 2.293689e-02  8.271717e-03 -2.538774e-01 -3.120946e-01 -1.787700e-06 -1.708643e-07
+ 2.293689e-02  8.511498e-03 -2.535622e-01 -3.119708e-01  9.116187e-07  2.436315e-07
+ 2.293689e-02  8.744705e-03 -2.532459e-01 -3.118390e-01  5.238777e-06  1.129172e-06
+ 2.293689e-02  8.971852e-03 -2.529106e-01 -3.116723e-01  1.195802e-07 -9.596855e-08
+ 2.293689e-02  9.193388e-03 -2.517614e-01 -3.096361e-01  4.937569e-04  1.183763e-03
+ 2.293689e-02  9.409709e-03 -2.520015e-01 -3.108754e-01  2.053868e-05  8.768872e-05
+ 2.293689e-02  9.621167e-03 -2.511484e-01 -3.093495e-01 -1.412081e-06 -7.746300e-06
+ 2.293689e-02  9.828076e-03 -2.511364e-01 -3.101593e-01 -7.120094e-05 -1.671611e-04
+ 2.293689e-02  1.003072e-02 -2.502330e-01 -3.090948e-01  2.694909e-04  5.132887e-05
+ 2.293689e-02  1.022935e-02 -2.501226e-01 -3.088965e-01 -2.794290e-06  2.997167e-06
+ 2.293689e-02  1.042419e-02 -2.500277e-01 -3.092775e-01 -2.866947e-05 -8.972827e-05
+ 2.293689e-02  1.061546e-02 -2.498766e-01 -3.090809e-01  2.405474e-05  1.618146e-05
+ 2.293689e-02  1.080334e-02 -2.495061e-01 -3.088727e-01  1.707185e-04  2.564949e-05
+ 2.293689e-02  1.098801e-02 -2.489084e-01 -3.089886e-01  1.150861e-05 -1.703874e-05
+ 2.293689e-02  1.116962e-02 -2.486545e-01 -3.081892e-01 -6.554777e-06 -3.085142e-06
+ 2.293689e-02  1.134833e-02 -2.483715e-01 -3.070345e-01 -2.677452e-05  3.507218e-04
+ 2.293689e-02  1.152427e-02 -2.480214e-01 -3.078603e-01  1.379428e-05  2.516109e-06
+ 2.293689e-02  1.169756e-02 -2.476731e-01 -3.076840e-01  4.500693e-06  4.581863e-06
+ 2.293689e-02  1.186832e-02 -2.473251e-01 -3.074919e-01  3.323835e-07 -2.901335e-07
+ 2.293689e-02  1.203666e-02 -2.469930e-01 -3.073083e-01 -1.314444e-05 -2.041125e-05
+ 2.293689e-02  1.220268e-02 -2.465907e-01 -3.070171e-01  3.027605e-06  3.402581e-07
+ 2.293689e-02  1.236647e-02 -2.462354e-01 -3.067854e-01  5.073749e-06  1.235828e-05
+ 2.293689e-02  1.252811e-02 -2.458788e-01 -3.065619e-01 -1.187814e-06 -1.438016e-06
+ 2.293689e-02  1.268770e-02 -2.454963e-01 -3.062825e-01  2.488277e-06  2.617063e-06
+ 2.293689e-02  1.284531e-02 -2.451390e-01 -3.059995e-01 -1.170572e-05 -3.416530e-05
+ 2.293689e-02  1.300100e-02 -2.449777e-01 -3.059285e-01  2.385141e-06  7.917830e-06
+ 2.293689e-02  1.315485e-02 -2.443148e-01 -3.056703e-01 -2.049024e-06 -5.592993e-06
+ 2.293689e-02  1.330692e-02 -2.438975e-01 -3.053290e-01  8.503530e-06  2.032533e-05
+ 2.293689e-02  1.345728e-02 -2.434301e-01 -3.049374e-01 -3.485021e-05 -1.228285e-04
+ 2.293689e-02  1.360597e-02 -2.421581e-01 -3.037653e-01  1.030564e-04 -3.708655e-04
+ 2.293689e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.422612e-01  3.033944e-01
+ 2.293689e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.422612e-01  3.033944e-01
+ 2.293689e-02  1.404260e-02 -2.416301e-01 -3.036625e-01 -2.416301e-01 -3.036625e-01
+ 2.293689e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.432630e-02 -2.415372e-01 -3.045322e-01  5.136743e-04  3.979902e-04
+ 2.293689e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.420509e-01  3.049302e-01
+ 2.293689e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.420509e-01  3.049302e-01
+ 2.293689e-02  1.474161e-02 -2.407856e-01 -3.036782e-01 -2.407856e-01 -3.036782e-01
+ 2.293689e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.514554e-02 -2.401351e-01 -3.038919e-01 -2.401351e-01 -3.038919e-01
+ 2.293689e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.293689e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.000000e-06 -2.595854e-01 -3.139302e-01  2.062290e-08 -8.134654e-08
+ 2.302426e-02  2.006944e-03 -2.592401e-01 -3.138354e-01 -1.595608e-07 -1.283701e-07
+ 2.302426e-02  2.837833e-03 -2.588975e-01 -3.137362e-01  2.337625e-09  3.304884e-08
+ 2.302426e-02  3.475396e-03 -2.585572e-01 -3.136330e-01  6.556392e-09  1.022347e-08
+ 2.302426e-02  4.012887e-03 -2.582193e-01 -3.135256e-01 -9.948461e-08 -8.195222e-09
+ 2.302426e-02  4.486426e-03 -2.578835e-01 -3.134149e-01 -7.622563e-08 -9.198649e-09
+ 2.302426e-02  4.914538e-03 -2.575499e-01 -3.133006e-01 -2.599578e-10 -2.272988e-10
+ 2.302426e-02  5.308228e-03 -2.572198e-01 -3.131820e-01 -5.550693e-08 -3.070271e-08
+ 2.302426e-02  5.674665e-03 -2.568806e-01 -3.130715e-01 -2.209349e-07 -2.161827e-08
+ 2.302426e-02  6.018831e-03 -2.565553e-01 -3.129467e-01  6.049309e-09 -4.680400e-09
+ 2.302426e-02  6.344350e-03 -2.562289e-01 -3.128235e-01 -1.858251e-08 -2.991927e-09
+ 2.302426e-02  6.653962e-03 -2.559062e-01 -3.126935e-01 -2.071338e-06  4.094734e-06
+ 2.302426e-02  6.949792e-03 -2.555802e-01 -3.125738e-01  2.938551e-08  6.507477e-09
+ 2.302426e-02  7.233532e-03 -2.552586e-01 -3.124483e-01 -1.115683e-07  1.041615e-07
+ 2.302426e-02  7.506553e-03 -2.549382e-01 -3.123254e-01 -5.147573e-07 -6.924272e-08
+ 2.302426e-02  7.769986e-03 -2.546191e-01 -3.122022e-01  6.294495e-09  6.884235e-08
+ 2.302426e-02  8.024774e-03 -2.543021e-01 -3.120802e-01 -5.897428e-07 -9.215007e-08
+ 2.302426e-02  8.271717e-03 -2.539836e-01 -3.119580e-01  2.034677e-06  4.620075e-07
+ 2.302426e-02  8.511498e-03 -2.536753e-01 -3.118353e-01 -1.633434e-05 -2.903198e-06
+ 2.302426e-02  8.744705e-03 -2.533412e-01 -3.116956e-01  1.652929e-06  1.745879e-07
+ 2.302426e-02  8.971852e-03 -2.529764e-01 -3.115003e-01  3.102859e-05  3.646468e-06
+ 2.302426e-02  9.193388e-03 -2.518377e-01 -3.094487e-01 -1.241303e-04 -3.078624e-04
+ 2.302426e-02  9.409709e-03 -2.521832e-01 -3.108626e-01 -6.415928e-04 -1.492420e-03
+ 2.302426e-02  9.621167e-03 -2.512080e-01 -3.091765e-01 -3.508350e-06 -5.007725e-06
+ 2.302426e-02  9.828076e-03 -2.510488e-01 -3.093514e-01  2.071786e-04  7.775030e-04
+ 2.302426e-02  1.003072e-02 -2.503107e-01 -3.089055e-01 -3.498335e-06 -2.455354e-06
+ 2.302426e-02  1.022935e-02 -2.501193e-01 -3.086744e-01 -2.518794e-05  8.618770e-06
+ 2.302426e-02  1.042419e-02 -2.500032e-01 -3.087372e-01 -3.828053e-06 -1.485377e-05
+ 2.302426e-02  1.061546e-02 -2.498790e-01 -3.088974e-01  2.890936e-05  1.635096e-05
+ 2.302426e-02  1.080334e-02 -2.496138e-01 -3.086745e-01  1.099786e-04  2.244007e-05
+ 2.302426e-02  1.098801e-02 -2.489507e-01 -3.086040e-01  1.391557e-04  2.506018e-05
+ 2.302426e-02  1.116962e-02 -2.486428e-01 -3.081409e-01 -1.526740e-07  7.564523e-07
+ 2.302426e-02  1.134833e-02 -2.483420e-01 -3.071675e-01  9.574685e-05  4.057827e-04
+ 2.302426e-02  1.152427e-02 -2.480235e-01 -3.075895e-01  1.455562e-05  2.746241e-06
+ 2.302426e-02  1.169756e-02 -2.476657e-01 -3.074305e-01 -4.558307e-06 -1.001245e-05
+ 2.302426e-02  1.186832e-02 -2.473271e-01 -3.072557e-01  4.922961e-08  1.097064e-07
+ 2.302426e-02  1.203666e-02 -2.469293e-01 -3.069939e-01  4.943145e-07  4.889823e-07
+ 2.302426e-02  1.220268e-02 -2.465995e-01 -3.068284e-01 -1.497953e-05 -3.161744e-05
+ 2.302426e-02  1.236647e-02 -2.462201e-01 -3.065780e-01  2.208090e-05  5.258347e-05
+ 2.302426e-02  1.252811e-02 -2.458410e-01 -3.063067e-01 -2.539126e-06 -2.230868e-06
+ 2.302426e-02  1.268770e-02 -2.453585e-01 -3.059000e-01 -8.256688e-05 -1.193914e-04
+ 2.302426e-02  1.284531e-02 -2.452191e-01 -3.059615e-01  7.032883e-07  3.466557e-07
+ 2.302426e-02  1.300100e-02 -2.448451e-01 -3.056748e-01 -1.495712e-05 -3.106283e-05
+ 2.302426e-02  1.315485e-02 -2.444103e-01 -3.053337e-01 -1.064894e-05 -7.202819e-05
+ 2.302426e-02  1.330692e-02 -2.437653e-01 -3.050171e-01  6.304411e-05  1.242079e-04
+ 2.302426e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.438284e-01  3.051413e-01
+ 2.302426e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.438284e-01  3.051413e-01
+ 2.302426e-02  1.375306e-02 -2.423162e-01 -3.021155e-01  9.103065e-05  8.198125e-04
+ 2.302426e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.424072e-01  3.029353e-01
+ 2.302426e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.424072e-01  3.029353e-01
+ 2.302426e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.424072e-01  3.029353e-01
+ 2.302426e-02  1.432630e-02 -2.411873e-01 -3.036735e-01  8.005443e-04  1.343232e-03
+ 2.302426e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.419879e-01  3.050167e-01
+ 2.302426e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.419879e-01  3.050167e-01
+ 2.302426e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.419879e-01  3.050167e-01
+ 2.302426e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.419879e-01  3.050167e-01
+ 2.302426e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.419879e-01  3.050167e-01
+ 2.302426e-02  1.514554e-02 -2.398994e-01 -3.035474e-01 -2.398994e-01 -3.035474e-01
+ 2.302426e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.302426e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.000000e-06 -2.597337e-01 -3.137892e-01 -1.107680e-07 -1.092317e-08
+ 2.311131e-02  2.006944e-03 -2.593860e-01 -3.136939e-01  4.700151e-09 -9.565296e-08
+ 2.311131e-02  2.837833e-03 -2.590409e-01 -3.135939e-01 -2.878851e-08 -1.336106e-07
+ 2.311131e-02  3.475396e-03 -2.586982e-01 -3.134900e-01 -7.300563e-08 -6.964319e-09
+ 2.311131e-02  4.012887e-03 -2.583577e-01 -3.133822e-01 -8.666368e-08  1.644825e-08
+ 2.311131e-02  4.486426e-03 -2.580193e-01 -3.132710e-01  2.618523e-09 -3.559145e-09
+ 2.311131e-02  4.914538e-03 -2.576830e-01 -3.131564e-01 -6.121156e-09 -2.665906e-09
+ 2.311131e-02  5.308228e-03 -2.573492e-01 -3.130383e-01 -2.241576e-07 -2.386421e-08
+ 2.311131e-02  5.674665e-03 -2.570380e-01 -3.128946e-01 -1.816030e-05  2.113873e-05
+ 2.311131e-02  6.018831e-03 -2.566799e-01 -3.128027e-01  4.490593e-08  3.336330e-09
+ 2.311131e-02  6.344350e-03 -2.563516e-01 -3.126787e-01 -4.077802e-07 -4.352177e-08
+ 2.311131e-02  6.653962e-03 -2.560234e-01 -3.125556e-01 -1.276316e-07  4.211645e-07
+ 2.311131e-02  6.949792e-03 -2.556981e-01 -3.124294e-01  7.523358e-08  4.181276e-09
+ 2.311131e-02  7.233532e-03 -2.553740e-01 -3.123054e-01 -6.807058e-07 -4.441468e-08
+ 2.311131e-02  7.506553e-03 -2.550509e-01 -3.121825e-01  1.805960e-07  5.537528e-08
+ 2.311131e-02  7.769986e-03 -2.547300e-01 -3.120602e-01  5.035228e-07  9.463531e-08
+ 2.311131e-02  8.024774e-03 -2.544107e-01 -3.119394e-01 -1.110132e-06 -3.814575e-07
+ 2.311131e-02  8.271717e-03 -2.540927e-01 -3.118179e-01  2.872440e-06  6.204113e-07
+ 2.311131e-02  8.511498e-03 -2.537710e-01 -3.116910e-01  2.203129e-06  5.103372e-07
+ 2.311131e-02  8.744705e-03 -2.534420e-01 -3.115450e-01  1.857037e-06  4.995835e-08
+ 2.311131e-02  8.971852e-03 -2.530694e-01 -3.113007e-01 -2.165176e-06 -1.995709e-07
+ 2.311131e-02  9.193388e-03 -2.523089e-01 -3.101977e-01  1.806128e-04  4.454104e-04
+ 2.311131e-02  9.409709e-03 -2.522718e-01 -3.107839e-01 -1.347250e-05  2.941126e-05
+ 2.311131e-02  9.621167e-03 -2.512790e-01 -3.090048e-01  1.038697e-05 -1.128539e-07
+ 2.311131e-02  9.828076e-03 -2.510753e-01 -3.091421e-01  4.608293e-06  8.739229e-05
+ 2.311131e-02  1.003072e-02 -2.504166e-01 -3.087005e-01 -1.418133e-04 -4.451757e-05
+ 2.311131e-02  1.022935e-02 -2.501242e-01 -3.085256e-01 -2.746947e-05 -3.250373e-05
+ 2.311131e-02  1.042419e-02 -2.500228e-01 -3.083775e-01 -2.339875e-05 -3.875805e-05
+ 2.311131e-02  1.061546e-02 -2.498787e-01 -3.087208e-01  1.504276e-05  7.552872e-06
+ 2.311131e-02  1.080334e-02 -2.496855e-01 -3.084664e-01  1.922955e-05  4.008573e-06
+ 2.311131e-02  1.098801e-02 -2.489690e-01 -3.083088e-01  1.795480e-04  2.605927e-05
+ 2.311131e-02  1.116962e-02 -2.486341e-01 -3.080992e-01  4.989567e-06  1.900815e-06
+ 2.311131e-02  1.134833e-02 -2.482070e-01 -3.066834e-01 -2.395686e-04 -8.104973e-04
+ 2.311131e-02  1.152427e-02 -2.480303e-01 -3.072879e-01  1.326735e-05  1.631807e-06
+ 2.311131e-02  1.169756e-02 -2.476718e-01 -3.071918e-01  2.951528e-07  4.330234e-07
+ 2.311131e-02  1.186832e-02 -2.472671e-01 -3.069398e-01 -4.124787e-07  2.502911e-07
+ 2.311131e-02  1.203666e-02 -2.469116e-01 -3.067460e-01 -3.953799e-07 -5.426999e-08
+ 2.311131e-02  1.220268e-02 -2.465599e-01 -3.065473e-01 -1.168305e-06 -4.526629e-06
+ 2.311131e-02  1.236647e-02 -2.461478e-01 -3.062651e-01  1.304607e-05  1.262972e-05
+ 2.311131e-02  1.252811e-02 -2.452577e-01 -3.052731e-01 -3.067789e-05 -6.529287e-05
+ 2.311131e-02  1.268770e-02 -2.454575e-01 -3.058421e-01 -2.083979e-06  6.648504e-07
+ 2.311131e-02  1.284531e-02 -2.453278e-01 -3.059194e-01 -6.712361e-05 -9.760363e-05
+ 2.311131e-02  1.300100e-02 -2.447278e-01 -3.053277e-01  3.184104e-06  3.935574e-06
+ 2.311131e-02  1.315485e-02 -2.443740e-01 -3.050580e-01  1.031870e-05  6.184729e-06
+ 2.311131e-02  1.330692e-02 -2.441173e-01 -3.048670e-01 -6.237255e-05 -3.930663e-05
+ 2.311131e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.440550e-01  3.048277e-01
+ 2.311131e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.440550e-01  3.048277e-01
+ 2.311131e-02  1.375306e-02 -2.423032e-01 -3.035687e-01  2.442299e-04 -4.183386e-04
+ 2.311131e-02  1.389858e-02 -2.422031e-01 -3.038673e-01 -1.065000e-04 -2.581180e-04
+ 2.311131e-02  1.404260e-02 -2.414381e-01 -3.033910e-01 -2.414381e-01 -3.033910e-01
+ 2.311131e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.446606e-02 -2.420240e-01 -3.049452e-01 -2.420240e-01 -3.049452e-01
+ 2.311131e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.311131e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.319802e-02  1.000000e-06 -2.598781e-01 -3.136430e-01  3.348426e-09  6.504555e-08
+ 2.319802e-02  2.006944e-03 -2.595281e-01 -3.135470e-01 -3.580487e-09  7.789213e-08
+ 2.319802e-02  2.837833e-03 -2.591807e-01 -3.134466e-01 -6.597415e-08 -3.268872e-08
+ 2.319802e-02  3.475396e-03 -2.588356e-01 -3.133419e-01 -9.122236e-08  1.113787e-08
+ 2.319802e-02  4.012887e-03 -2.584926e-01 -3.132339e-01 -4.272238e-09 -5.880881e-08
+ 2.319802e-02  4.486426e-03 -2.581517e-01 -3.131220e-01  1.580073e-08 -5.156802e-09
+ 2.319802e-02  4.914538e-03 -2.578128e-01 -3.130070e-01 -2.127976e-07 -3.201634e-08
+ 2.319802e-02  5.308228e-03 -2.574759e-01 -3.128889e-01  2.749491e-08 -5.601523e-10
+ 2.319802e-02  5.674665e-03 -2.571433e-01 -3.127657e-01  5.478252e-08 -2.281029e-08
+ 2.319802e-02  6.018831e-03 -2.567999e-01 -3.126556e-01 -3.161452e-07 -3.053042e-08
+ 2.319802e-02  6.344350e-03 -2.564708e-01 -3.125292e-01  1.788416e-08  2.512457e-09
+ 2.319802e-02  6.653962e-03 -2.561408e-01 -3.124055e-01  5.008480e-08  4.016716e-09
+ 2.319802e-02  6.949792e-03 -2.558132e-01 -3.122802e-01 -4.255654e-07 -3.770773e-08
+ 2.319802e-02  7.233532e-03 -2.554864e-01 -3.121572e-01  1.300975e-08 -5.865693e-09
+ 2.319802e-02  7.506553e-03 -2.551615e-01 -3.120354e-01  5.570370e-08  1.793469e-09
+ 2.319802e-02  7.769986e-03 -2.548388e-01 -3.119138e-01 -9.292846e-07 -1.612829e-06
+ 2.319802e-02  8.024774e-03 -2.545149e-01 -3.117930e-01 -2.819865e-07  1.616064e-07
+ 2.319802e-02  8.271717e-03 -2.542015e-01 -3.116732e-01 -1.147239e-05 -2.326693e-06
+ 2.319802e-02  8.511498e-03 -2.538688e-01 -3.115417e-01 -4.324630e-07 -8.727945e-08
+ 2.319802e-02  8.744705e-03 -2.535153e-01 -3.113793e-01  2.746496e-05  3.980907e-06
+ 2.319802e-02  8.971852e-03 -2.530730e-01 -3.109577e-01  7.174442e-07  2.414849e-06
+ 2.319802e-02  9.193388e-03 -2.519443e-01 -3.090100e-01 -3.664826e-05 -5.262573e-05
+ 2.319802e-02  9.409709e-03 -2.518351e-01 -3.094164e-01  5.572335e-04  1.313625e-03
+ 2.319802e-02  9.621167e-03 -2.513506e-01 -3.088343e-01  1.863594e-06 -1.190125e-06
+ 2.319802e-02  9.828076e-03 -2.511043e-01 -3.089320e-01 -3.898934e-07  1.208884e-05
+ 2.319802e-02  1.003072e-02 -2.505708e-01 -3.085120e-01 -1.506815e-04 -2.944629e-05
+ 2.319802e-02  1.022935e-02 -2.501279e-01 -3.082966e-01 -5.052020e-06 -6.041645e-06
+ 2.319802e-02  1.042419e-02 -2.500248e-01 -3.080130e-01 -2.294164e-05  1.171205e-05
+ 2.319802e-02  1.061546e-02 -2.498751e-01 -3.085667e-01 -8.630411e-05 -1.718547e-05
+ 2.319802e-02  1.080334e-02 -2.497337e-01 -3.082707e-01 -1.081770e-04 -1.558128e-05
+ 2.319802e-02  1.098801e-02 -2.489791e-01 -3.080531e-01  1.837584e-04  2.991714e-05
+ 2.319802e-02  1.116962e-02 -2.486344e-01 -3.080621e-01 -1.633889e-05 -4.773315e-05
+ 2.319802e-02  1.134833e-02 -2.483383e-01 -3.070998e-01 -1.251084e-05 -4.773935e-05
+ 2.319802e-02  1.152427e-02 -2.480436e-01 -3.068140e-01  2.384904e-05 -8.958175e-05
+ 2.319802e-02  1.169756e-02 -2.476320e-01 -3.068754e-01  5.366443e-05  7.540160e-05
+ 2.319802e-02  1.186832e-02 -2.472571e-01 -3.066833e-01 -2.968105e-06 -5.177789e-06
+ 2.319802e-02  1.203666e-02 -2.468907e-01 -3.064645e-01 -3.535152e-07  4.993327e-06
+ 2.319802e-02  1.220268e-02 -2.465026e-01 -3.062472e-01  7.438999e-08 -1.222154e-06
+ 2.319802e-02  1.236647e-02 -2.460775e-01 -3.059534e-01 -5.160114e-06 -1.166994e-05
+ 2.319802e-02  1.252811e-02 -2.457083e-01 -3.057178e-01 -1.131120e-06  3.164392e-08
+ 2.319802e-02  1.268770e-02 -2.455620e-01 -3.057898e-01  1.215985e-06 -2.620044e-08
+ 2.319802e-02  1.284531e-02 -2.452395e-01 -3.056362e-01 -1.042533e-04 -1.569132e-04
+ 2.319802e-02  1.300100e-02 -2.446143e-01 -3.049922e-01  5.576866e-06  9.045364e-06
+ 2.319802e-02  1.315485e-02 -2.442816e-01 -3.047691e-01 -1.796917e-04 -2.337114e-04
+ 2.319802e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.441019e-01  3.045354e-01
+ 2.319802e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.441019e-01  3.045354e-01
+ 2.319802e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.441019e-01  3.045354e-01
+ 2.319802e-02  1.375306e-02 -2.420300e-01 -3.033786e-01  4.640468e-04  5.464503e-04
+ 2.319802e-02  1.389858e-02 -2.423098e-01 -3.038381e-01 -4.495633e-04 -3.629301e-04
+ 2.319802e-02  1.404260e-02 -2.419492e-01 -3.039838e-01 -5.366856e-04 -4.999097e-04
+ 2.319802e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.319802e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.414125e-01  3.034839e-01
+ 2.328442e-02  1.000000e-06 -2.600189e-01 -3.134917e-01  3.282901e-09 -5.907538e-08
+ 2.328442e-02  2.006944e-03 -2.596666e-01 -3.133950e-01 -3.767298e-08 -4.155899e-08
+ 2.328442e-02  2.837833e-03 -2.593169e-01 -3.132941e-01 -3.381092e-08  6.377879e-08
+ 2.328442e-02  3.475396e-03 -2.589694e-01 -3.131890e-01  9.505062e-09 -2.711212e-09
+ 2.328442e-02  4.012887e-03 -2.586241e-01 -3.130801e-01  6.641188e-09 -4.210135e-08
+ 2.328442e-02  4.486426e-03 -2.582807e-01 -3.129680e-01 -1.731306e-07  3.994748e-08
+ 2.328442e-02  4.914538e-03 -2.579391e-01 -3.128524e-01  2.040105e-08  9.863395e-09
+ 2.328442e-02  5.308228e-03 -2.575997e-01 -3.127341e-01  1.712897e-08 -2.285563e-10
+ 2.328442e-02  5.674665e-03 -2.572631e-01 -3.126125e-01 -1.980124e-07 -1.588819e-08
+ 2.328442e-02  6.018831e-03 -2.568971e-01 -3.125282e-01  2.238386e-05 -2.664421e-05
+ 2.328442e-02  6.344350e-03 -2.565866e-01 -3.123756e-01  1.643546e-09 -3.347233e-09
+ 2.328442e-02  6.653962e-03 -2.562552e-01 -3.122513e-01 -1.512643e-07 -1.220715e-08
+ 2.328442e-02  6.949792e-03 -2.559256e-01 -3.121253e-01 -4.832174e-07  9.410005e-07
+ 2.328442e-02  7.233532e-03 -2.555962e-01 -3.120045e-01 -2.044920e-08 -8.773044e-09
+ 2.328442e-02  7.506553e-03 -2.552694e-01 -3.118838e-01  1.360330e-07  5.330786e-08
+ 2.328442e-02  7.769986e-03 -2.549437e-01 -3.117637e-01  1.140804e-06  2.370246e-07
+ 2.328442e-02  8.024774e-03 -2.546242e-01 -3.116443e-01 -1.386638e-06 -2.894100e-07
+ 2.328442e-02  8.271717e-03 -2.542936e-01 -3.115201e-01 -3.018389e-06 -4.253092e-07
+ 2.328442e-02  8.511498e-03 -2.539646e-01 -3.113853e-01 -1.288658e-06 -1.131170e-07
+ 2.328442e-02  8.744705e-03 -2.536150e-01 -3.112013e-01  5.187542e-06  1.490564e-06
+ 2.328442e-02  8.971852e-03 -2.521892e-01 -3.086413e-01 -3.155496e-06 -9.329930e-06
+ 2.328442e-02  9.193388e-03 -2.519173e-01 -3.085950e-01 -1.008075e-04 -2.225079e-04
+ 2.328442e-02  9.409709e-03 -2.523171e-01 -3.101904e-01  2.053592e-04  4.657049e-04
+ 2.328442e-02  9.621167e-03 -2.514176e-01 -3.086643e-01 -2.733813e-05 -5.244483e-06
+ 2.328442e-02  9.828076e-03 -2.511485e-01 -3.087590e-01 -1.716096e-05 -7.026369e-05
+ 2.328442e-02  1.003072e-02 -2.507029e-01 -3.083061e-01 -9.240752e-06  2.225104e-06
+ 2.328442e-02  1.022935e-02 -2.501298e-01 -3.080540e-01  1.857340e-05 -5.326363e-06
+ 2.328442e-02  1.042419e-02 -2.500119e-01 -3.076954e-01 -1.134171e-05  2.735773e-05
+ 2.328442e-02  1.061546e-02 -2.498657e-01 -3.084453e-01 -3.727458e-04 -2.322689e-05
+ 2.328442e-02  1.080334e-02 -2.497510e-01 -3.080465e-01 -1.665135e-04 -2.226554e-05
+ 2.328442e-02  1.098801e-02 -2.489905e-01 -3.078157e-01  1.652218e-04  2.867858e-05
+ 2.328442e-02  1.116962e-02 -2.486446e-01 -3.080756e-01 -8.488242e-06  2.231837e-04
+ 2.328442e-02  1.134833e-02 -2.483275e-01 -3.070637e-01  1.386962e-06  3.360228e-06
+ 2.328442e-02  1.152427e-02 -2.473773e-01 -3.048838e-01 -2.473773e-01 -3.048838e-01
+ 2.328442e-02  1.169756e-02 -2.476161e-01 -3.065771e-01  4.293622e-06 -1.402322e-07
+ 2.328442e-02  1.186832e-02 -2.472246e-01 -3.064006e-01  8.421030e-06  1.011213e-05
+ 2.328442e-02  1.203666e-02 -2.468876e-01 -3.062602e-01 -2.996162e-05 -5.447750e-05
+ 2.328442e-02  1.220268e-02 -2.464376e-01 -3.059359e-01  4.657300e-06  2.496876e-06
+ 2.328442e-02  1.236647e-02 -2.459739e-01 -3.055853e-01 -1.195826e-06 -4.480626e-07
+ 2.328442e-02  1.252811e-02 -2.458232e-01 -3.056597e-01 -6.785503e-08  1.497150e-07
+ 2.328442e-02  1.268770e-02 -2.454682e-01 -3.054471e-01 -1.130363e-04 -1.808504e-04
+ 2.328442e-02  1.284531e-02 -2.449964e-01 -3.050610e-01  5.874536e-05  8.850001e-05
+ 2.328442e-02  1.300100e-02 -2.446609e-01 -3.048538e-01  6.418816e-05  7.834784e-05
+ 2.328442e-02  1.315485e-02 -2.442200e-01 -3.045142e-01  1.240174e-04  1.639338e-04
+ 2.328442e-02  1.330692e-02 -2.437702e-01 -3.041433e-01 -2.437702e-01 -3.041433e-01
+ 2.328442e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.328442e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.000000e-06 -2.601561e-01 -3.133352e-01 -3.745367e-08 -2.312847e-08
+ 2.337050e-02  2.006944e-03 -2.598015e-01 -3.132378e-01 -8.703407e-08  2.074922e-07
+ 2.337050e-02  2.837833e-03 -2.594494e-01 -3.131362e-01  4.441059e-08  6.533872e-08
+ 2.337050e-02  3.475396e-03 -2.590997e-01 -3.130305e-01 -3.457573e-08 -9.343316e-08
+ 2.337050e-02  4.012887e-03 -2.587519e-01 -3.129210e-01 -1.239693e-07  1.175580e-07
+ 2.337050e-02  4.486426e-03 -2.584060e-01 -3.128083e-01  4.644636e-08 -4.226297e-08
+ 2.337050e-02  4.914538e-03 -2.580621e-01 -3.126925e-01  4.261267e-08  1.470022e-07
+ 2.337050e-02  5.308228e-03 -2.577203e-01 -3.125742e-01 -9.036626e-08 -1.247747e-08
+ 2.337050e-02  5.674665e-03 -2.573807e-01 -3.124531e-01 -1.363676e-07 -1.042471e-08
+ 2.337050e-02  6.018831e-03 -2.570472e-01 -3.123244e-01  1.206068e-07 -1.994205e-07
+ 2.337050e-02  6.344350e-03 -2.566987e-01 -3.122185e-01  9.805418e-09  3.687812e-10
+ 2.337050e-02  6.653962e-03 -2.563664e-01 -3.120927e-01 -3.475976e-07 -3.412557e-08
+ 2.337050e-02  6.949792e-03 -2.560326e-01 -3.119746e-01  1.318576e-06 -4.395553e-06
+ 2.337050e-02  7.233532e-03 -2.557035e-01 -3.118472e-01  1.486932e-07  3.432836e-08
+ 2.337050e-02  7.506553e-03 -2.553749e-01 -3.117294e-01 -6.132399e-07 -1.839354e-06
+ 2.337050e-02  7.769986e-03 -2.550474e-01 -3.116083e-01 -2.966183e-07 -7.017766e-08
+ 2.337050e-02  8.024774e-03 -2.547246e-01 -3.114891e-01  2.600499e-06  6.266777e-07
+ 2.337050e-02  8.271717e-03 -2.543952e-01 -3.113636e-01 -3.529738e-06 -3.983980e-07
+ 2.337050e-02  8.511498e-03 -2.540444e-01 -3.112173e-01  1.876982e-05  2.670238e-06
+ 2.337050e-02  8.744705e-03 -2.536808e-01 -3.109895e-01  3.079280e-07  8.459925e-07
+ 2.337050e-02  8.971852e-03 -2.523838e-01 -3.087447e-01  1.316001e-04  3.206268e-04
+ 2.337050e-02  9.193388e-03 -2.521260e-01 -3.087774e-01  1.420370e-06 -3.336356e-06
+ 2.337050e-02  9.409709e-03 -2.518217e-01 -3.087058e-01  3.645654e-06 -1.320649e-06
+ 2.337050e-02  9.621167e-03 -2.514776e-01 -3.084946e-01 -3.868563e-05 -5.271467e-06
+ 2.337050e-02  9.828076e-03 -2.511899e-01 -3.085451e-01 -7.174813e-06 -1.787378e-05
+ 2.337050e-02  1.003072e-02 -2.507815e-01 -3.080811e-01  6.089776e-05  2.156088e-05
+ 2.337050e-02  1.022935e-02 -2.501338e-01 -3.078145e-01  1.048115e-04  4.262180e-05
+ 2.337050e-02  1.042419e-02 -2.499975e-01 -3.072773e-01  2.679550e-06  1.246221e-05
+ 2.337050e-02  1.061546e-02 -2.498891e-01 -3.088118e-01  6.596996e-05 -2.934022e-04
+ 2.337050e-02  1.080334e-02 -2.497886e-01 -3.078527e-01 -3.913890e-04 -7.512192e-05
+ 2.337050e-02  1.098801e-02 -2.490028e-01 -3.075841e-01  1.337889e-04  2.450487e-05
+ 2.337050e-02  1.116962e-02 -2.487332e-01 -3.076763e-01  6.488794e-05  3.908915e-05
+ 2.337050e-02  1.134833e-02 -2.483233e-01 -3.070504e-01 -1.748236e-07 -2.892243e-06
+ 2.337050e-02  1.152427e-02 -2.478554e-01 -3.056996e-01  3.275786e-04  9.335480e-04
+ 2.337050e-02  1.169756e-02 -2.475967e-01 -3.062473e-01  5.617655e-06  8.348149e-07
+ 2.337050e-02  1.186832e-02 -2.472026e-01 -3.061138e-01 -5.232645e-07 -3.741805e-07
+ 2.337050e-02  1.203666e-02 -2.468003e-01 -3.058880e-01  1.638067e-06  2.877640e-06
+ 2.337050e-02  1.220268e-02 -2.462506e-01 -3.054480e-01 -4.846901e-06 -1.119671e-06
+ 2.337050e-02  1.236647e-02 -2.460909e-01 -3.055253e-01  1.840807e-06  4.895044e-07
+ 2.337050e-02  1.252811e-02 -2.459371e-01 -3.056034e-01 -5.501557e-06  2.730597e-06
+ 2.337050e-02  1.268770e-02 -2.454884e-01 -3.052968e-01 -9.351456e-05 -1.482954e-04
+ 2.337050e-02  1.284531e-02 -2.449173e-01 -3.047463e-01  5.300604e-07 -9.810686e-07
+ 2.337050e-02  1.300100e-02 -2.444501e-01 -3.043384e-01  4.747506e-05  6.841419e-05
+ 2.337050e-02  1.315485e-02 -2.440376e-01 -3.040416e-01 -1.595525e-05  6.219797e-05
+ 2.337050e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.440216e-01  3.041037e-01
+ 2.337050e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.440216e-01  3.041037e-01
+ 2.337050e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.440216e-01  3.041037e-01
+ 2.337050e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.440216e-01  3.041037e-01
+ 2.337050e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.440216e-01  3.041037e-01
+ 2.337050e-02  1.404260e-02 -2.422165e-01 -3.037507e-01  6.583198e-05  2.170758e-04
+ 2.337050e-02  1.418516e-02 -2.419300e-01 -3.034035e-01  1.233951e-03  2.380199e-03
+ 2.337050e-02  1.432630e-02 -2.420362e-01 -3.040255e-01 -2.420362e-01 -3.040255e-01
+ 2.337050e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.337050e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.345626e-02  1.000000e-06 -2.602895e-01 -3.131733e-01 -6.843945e-08 -3.152304e-08
+ 2.345626e-02  2.006944e-03 -2.599327e-01 -3.130753e-01  2.793197e-10  2.253142e-07
+ 2.345626e-02  2.837833e-03 -2.595785e-01 -3.129731e-01  2.340215e-08  2.197406e-08
+ 2.345626e-02  3.475396e-03 -2.592265e-01 -3.128669e-01 -1.280892e-07 -3.612806e-08
+ 2.345626e-02  4.012887e-03 -2.588763e-01 -3.127569e-01 -2.612933e-08 -6.224205e-09
+ 2.345626e-02  4.486426e-03 -2.585281e-01 -3.126435e-01 -9.241177e-09 -4.332907e-08
+ 2.345626e-02  4.914538e-03 -2.581820e-01 -3.125278e-01 -1.435826e-07 -4.603428e-07
+ 2.345626e-02  5.308228e-03 -2.578377e-01 -3.124090e-01 -1.840809e-07 -2.243255e-08
+ 2.345626e-02  5.674665e-03 -2.574954e-01 -3.122882e-01  2.830453e-08  1.525963e-08
+ 2.345626e-02  6.018831e-03 -2.571567e-01 -3.121637e-01  5.404523e-08  1.138551e-09
+ 2.345626e-02  6.344350e-03 -2.568048e-01 -3.120619e-01 -3.270623e-06  3.851999e-06
+ 2.345626e-02  6.653962e-03 -2.564743e-01 -3.119299e-01  1.853596e-08 -2.028384e-10
+ 2.345626e-02  6.949792e-03 -2.561402e-01 -3.118078e-01  5.549102e-08  2.468774e-08
+ 2.345626e-02  7.233532e-03 -2.558084e-01 -3.116855e-01 -5.483135e-07 -7.827921e-08
+ 2.345626e-02  7.506553e-03 -2.554763e-01 -3.115643e-01  5.517108e-07  5.959425e-07
+ 2.345626e-02  7.769986e-03 -2.551538e-01 -3.114499e-01 -1.060599e-05 -2.494076e-06
+ 2.345626e-02  8.024774e-03 -2.548182e-01 -3.113279e-01  1.364973e-06  2.745070e-07
+ 2.345626e-02  8.271717e-03 -2.544811e-01 -3.111983e-01 -1.652707e-06 -1.155122e-06
+ 2.345626e-02  8.511498e-03 -2.541457e-01 -3.110413e-01  7.790541e-07  4.713394e-07
+ 2.345626e-02  8.744705e-03 -2.537120e-01 -3.106891e-01  1.133909e-06 -1.304855e-06
+ 2.345626e-02  8.971852e-03 -2.530884e-01 -3.099557e-01  7.210754e-05  1.790655e-04
+ 2.345626e-02  9.193388e-03 -2.522082e-01 -3.086366e-01  1.652936e-07 -2.800164e-07
+ 2.345626e-02  9.409709e-03 -2.518294e-01 -3.083715e-01  9.304611e-05  2.319935e-04
+ 2.345626e-02  9.621167e-03 -2.515322e-01 -3.083246e-01 -1.890012e-05 -3.274210e-06
+ 2.345626e-02  9.828076e-03 -2.512139e-01 -3.082565e-01  1.829814e-05  5.652680e-05
+ 2.345626e-02  1.003072e-02 -2.508571e-01 -3.078783e-01  8.347852e-05  3.794734e-05
+ 2.345626e-02  1.022935e-02 -2.501583e-01 -3.076438e-01  5.921992e-04  8.485993e-05
+ 2.345626e-02  1.042419e-02 -2.500081e-01 -3.070467e-01 -8.354672e-06 -1.109139e-05
+ 2.345626e-02  1.061546e-02 -2.502463e-01 -3.092229e-01 -2.474512e-04 -4.894422e-04
+ 2.345626e-02  1.080334e-02 -2.498017e-01 -3.076179e-01 -4.987848e-04 -8.929677e-05
+ 2.345626e-02  1.098801e-02 -2.490053e-01 -3.073310e-01  1.267498e-04  3.232004e-05
+ 2.345626e-02  1.116962e-02 -2.487248e-01 -3.073021e-01 -3.552509e-05 -4.293233e-05
+ 2.345626e-02  1.134833e-02 -2.483208e-01 -3.070394e-01 -3.862306e-06 -1.222464e-05
+ 2.345626e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.483170e-01  3.070272e-01
+ 2.345626e-02  1.169756e-02 -2.475601e-01 -3.058338e-01  8.301729e-06  1.688331e-05
+ 2.345626e-02  1.186832e-02 -2.471660e-01 -3.058108e-01  3.552268e-06  3.519982e-06
+ 2.345626e-02  1.203666e-02 -2.465580e-01 -3.053003e-01  1.999090e-05  1.759329e-05
+ 2.345626e-02  1.220268e-02 -2.463846e-01 -3.053790e-01  1.447671e-06 -8.088661e-07
+ 2.345626e-02  1.236647e-02 -2.462067e-01 -3.054678e-01  7.806568e-07 -8.479841e-08
+ 2.345626e-02  1.252811e-02 -2.460093e-01 -3.054978e-01  3.529011e-05  5.119808e-05
+ 2.345626e-02  1.268770e-02 -2.451181e-01 -3.045064e-01 -1.026543e-04 -1.295657e-04
+ 2.345626e-02  1.284531e-02 -2.448394e-01 -3.044480e-01  5.418928e-06  2.330739e-06
+ 2.345626e-02  1.300100e-02 -2.444310e-01 -3.041856e-01  4.492642e-07 -6.417974e-06
+ 2.345626e-02  1.315485e-02 -2.441134e-01 -3.039980e-01  1.064451e-04  1.254560e-04
+ 2.345626e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.442199e-01  3.041234e-01
+ 2.345626e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.442199e-01  3.041234e-01
+ 2.345626e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.442199e-01  3.041234e-01
+ 2.345626e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.442199e-01  3.041234e-01
+ 2.345626e-02  1.389858e-02 -2.427070e-01 -3.041066e-01  4.527454e-04  8.745358e-04
+ 2.345626e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.345626e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.431598e-01  3.049812e-01
+ 2.354170e-02  1.000000e-06 -2.604193e-01 -3.130059e-01  8.711734e-09 -2.877438e-07
+ 2.354170e-02  2.006944e-03 -2.600603e-01 -3.129075e-01  1.508067e-08 -5.651967e-08
+ 2.354170e-02  2.837833e-03 -2.597039e-01 -3.128047e-01 -8.750199e-08 -5.608187e-09
+ 2.354170e-02  3.475396e-03 -2.593497e-01 -3.126979e-01 -1.908785e-07 -2.641428e-07
+ 2.354170e-02  4.012887e-03 -2.589973e-01 -3.125873e-01 -3.267435e-09 -1.802560e-08
+ 2.354170e-02  4.486426e-03 -2.586469e-01 -3.124737e-01  7.178189e-09 -9.397680e-09
+ 2.354170e-02  4.914538e-03 -2.582986e-01 -3.123573e-01  1.806582e-07 -3.270746e-07
+ 2.354170e-02  5.308228e-03 -2.579517e-01 -3.122387e-01 -8.865182e-09 -1.093124e-07
+ 2.354170e-02  5.674665e-03 -2.576072e-01 -3.121180e-01  3.362178e-08  3.483327e-08
+ 2.354170e-02  6.018831e-03 -2.572655e-01 -3.119951e-01 -2.120199e-07 -2.249280e-08
+ 2.354170e-02  6.344350e-03 -2.569426e-01 -3.118429e-01 -6.830962e-06  1.244154e-05
+ 2.354170e-02  6.653962e-03 -2.565789e-01 -3.117635e-01 -1.359689e-08  3.791075e-09
+ 2.354170e-02  6.949792e-03 -2.562440e-01 -3.116405e-01  1.208252e-07  8.280782e-08
+ 2.354170e-02  7.233532e-03 -2.559099e-01 -3.115189e-01  9.606889e-07  3.305573e-07
+ 2.354170e-02  7.506553e-03 -2.555811e-01 -3.114019e-01 -1.517216e-06 -3.885797e-07
+ 2.354170e-02  7.769986e-03 -2.552457e-01 -3.112837e-01 -1.960596e-06 -3.436192e-07
+ 2.354170e-02  8.024774e-03 -2.549162e-01 -3.111627e-01  1.052814e-06  2.746948e-07
+ 2.354170e-02  8.271717e-03 -2.545735e-01 -3.110264e-01 -4.710687e-06 -1.120729e-06
+ 2.354170e-02  8.511498e-03 -2.542194e-01 -3.108440e-01  2.843232e-07  4.189625e-07
+ 2.354170e-02  8.744705e-03 -2.535051e-01 -3.098921e-01 -2.072472e-05 -1.242853e-05
+ 2.354170e-02  8.971852e-03 -2.531962e-01 -3.098644e-01 -1.081105e-04 -2.369992e-04
+ 2.354170e-02  9.193388e-03 -2.522919e-01 -3.084914e-01  1.662034e-06  1.460838e-06
+ 2.354170e-02  9.409709e-03 -2.519080e-01 -3.082314e-01 -1.585717e-05 -8.784805e-06
+ 2.354170e-02  9.621167e-03 -2.515856e-01 -3.081535e-01 -6.513964e-08  1.181095e-06
+ 2.354170e-02  9.828076e-03 -2.512563e-01 -3.080501e-01  5.071452e-06 -4.332381e-06
+ 2.354170e-02  1.003072e-02 -2.509401e-01 -3.077200e-01  4.208314e-05  4.212828e-04
+ 2.354170e-02  1.022935e-02 -2.501569e-01 -3.073778e-01  5.121592e-04  2.844891e-05
+ 2.354170e-02  1.042419e-02 -2.500033e-01 -3.067394e-01 -3.944436e-06 -6.709621e-05
+ 2.354170e-02  1.061546e-02 -2.499569e-01 -3.082343e-01  5.053987e-05  2.280878e-04
+ 2.354170e-02  1.080334e-02 -2.498230e-01 -3.074286e-01 -5.979184e-04 -1.233014e-04
+ 2.354170e-02  1.098801e-02 -2.490270e-01 -3.071196e-01  6.155266e-05 -8.902506e-06
+ 2.354170e-02  1.116962e-02 -2.487516e-01 -3.070616e-01 -2.175081e-05 -2.821748e-05
+ 2.354170e-02  1.134833e-02 -2.483154e-01 -3.070184e-01  2.492955e-05  8.771267e-05
+ 2.354170e-02  1.152427e-02 -2.479447e-01 -3.057483e-01  5.257823e-05 -4.677151e-04
+ 2.354170e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.479973e-01  3.052806e-01
+ 2.354170e-02  1.186832e-02 -2.468897e-01 -3.051325e-01 -3.981942e-05 -4.072011e-05
+ 2.354170e-02  1.203666e-02 -2.466819e-01 -3.052292e-01  3.068886e-06 -2.113163e-07
+ 2.354170e-02  1.220268e-02 -2.465080e-01 -3.053169e-01 -3.990353e-07  6.424546e-07
+ 2.354170e-02  1.236647e-02 -2.463444e-01 -3.054016e-01 -1.219025e-06 -2.479525e-06
+ 2.354170e-02  1.252811e-02 -2.457066e-01 -3.048570e-01 -3.166294e-06 -9.033509e-06
+ 2.354170e-02  1.268770e-02 -2.453566e-01 -3.046730e-01 -3.110827e-04 -4.612820e-04
+ 2.354170e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.450455e-01  3.042117e-01
+ 2.354170e-02  1.300100e-02 -2.444033e-01 -3.039358e-01  1.609907e-05  1.651844e-05
+ 2.354170e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.444194e-01  3.039523e-01
+ 2.354170e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.444194e-01  3.039523e-01
+ 2.354170e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.444194e-01  3.039523e-01
+ 2.354170e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.444194e-01  3.039523e-01
+ 2.354170e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.444194e-01  3.039523e-01
+ 2.354170e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.444194e-01  3.039523e-01
+ 2.354170e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.444194e-01  3.039523e-01
+ 2.354170e-02  1.418516e-02 -2.421361e-01 -3.039387e-01  2.460444e-05  8.423696e-04
+ 2.354170e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.354170e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.421608e-01  3.047810e-01
+ 2.362684e-02  1.000000e-06 -2.605457e-01 -3.128329e-01  1.068871e-08 -1.832698e-07
+ 2.362684e-02  2.006944e-03 -2.601844e-01 -3.127342e-01 -6.533280e-08 -9.418732e-08
+ 2.362684e-02  2.837833e-03 -2.598258e-01 -3.126308e-01 -4.943757e-08 -5.755509e-09
+ 2.362684e-02  3.475396e-03 -2.594693e-01 -3.125233e-01  5.206197e-08  7.269770e-08
+ 2.362684e-02  4.012887e-03 -2.591148e-01 -3.124123e-01  1.690668e-08 -5.184496e-09
+ 2.362684e-02  4.486426e-03 -2.587623e-01 -3.122983e-01 -1.558961e-07 -2.066315e-08
+ 2.362684e-02  4.914538e-03 -2.584115e-01 -3.121814e-01  1.326012e-07  5.012362e-07
+ 2.362684e-02  5.308228e-03 -2.580626e-01 -3.120631e-01  6.775958e-08  1.745097e-07
+ 2.362684e-02  5.674665e-03 -2.577160e-01 -3.119426e-01 -5.684715e-08  6.104247e-08
+ 2.362684e-02  6.018831e-03 -2.573718e-01 -3.118206e-01 -1.639319e-07 -1.879890e-08
+ 2.362684e-02  6.344350e-03 -2.570326e-01 -3.116929e-01  8.891518e-08 -2.429582e-08
+ 2.362684e-02  6.653962e-03 -2.566793e-01 -3.115957e-01  1.317194e-07  4.677919e-08
+ 2.362684e-02  6.949792e-03 -2.563451e-01 -3.114693e-01 -4.333659e-07 -4.893167e-08
+ 2.362684e-02  7.233532e-03 -2.560109e-01 -3.113457e-01  1.031355e-06  1.035177e-06
+ 2.362684e-02  7.506553e-03 -2.556774e-01 -3.112319e-01  2.333926e-06  6.751102e-07
+ 2.362684e-02  7.769986e-03 -2.553448e-01 -3.111150e-01 -1.688399e-06 -1.945363e-07
+ 2.362684e-02  8.024774e-03 -2.549993e-01 -3.109887e-01  1.591141e-05  3.090990e-06
+ 2.362684e-02  8.271717e-03 -2.546665e-01 -3.108453e-01 -5.051219e-06 -5.243653e-07
+ 2.362684e-02  8.511498e-03 -2.542840e-01 -3.106154e-01 -4.657865e-07  1.841194e-07
+ 2.362684e-02  8.744705e-03 -2.533096e-01 -3.090816e-01 -1.235375e-04 -3.361046e-04
+ 2.362684e-02  8.971852e-03 -2.527728e-01 -3.085834e-01 -9.915367e-05 -2.144059e-04
+ 2.362684e-02  9.193388e-03 -2.523766e-01 -3.083441e-01 -2.828326e-06 -2.043113e-06
+ 2.362684e-02  9.409709e-03 -2.519594e-01 -3.080309e-01 -1.971859e-05 -1.537851e-05
+ 2.362684e-02  9.621167e-03 -2.516404e-01 -3.079840e-01  4.874733e-06  7.800141e-07
+ 2.362684e-02  9.828076e-03 -2.512917e-01 -3.078062e-01  2.029182e-05  1.689716e-05
+ 2.362684e-02  1.003072e-02 -2.509400e-01 -3.074219e-01 -7.174993e-07 -9.342161e-06
+ 2.362684e-02  1.022935e-02 -2.501760e-01 -3.071508e-01  6.189676e-04  1.199250e-04
+ 2.362684e-02  1.042419e-02 -2.500034e-01 -3.062958e-01 -2.884496e-06 -6.709423e-06
+ 2.362684e-02  1.061546e-02 -2.499342e-01 -3.078489e-01  6.645930e-05  1.342924e-04
+ 2.362684e-02  1.080334e-02 -2.498231e-01 -3.071748e-01 -6.005530e-04 -9.930922e-05
+ 2.362684e-02  1.098801e-02 -2.490472e-01 -3.069014e-01  1.623122e-05 -2.289181e-06
+ 2.362684e-02  1.116962e-02 -2.487436e-01 -3.067735e-01 -7.723683e-06 -2.851839e-06
+ 2.362684e-02  1.134833e-02 -2.481381e-01 -3.064542e-01  2.540050e-04  9.061463e-04
+ 2.362684e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.483921e-01  3.073604e-01
+ 2.362684e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.483921e-01  3.073604e-01
+ 2.362684e-02  1.186832e-02 -2.470219e-01 -3.050609e-01  2.395558e-04  3.568814e-04
+ 2.362684e-02  1.203666e-02 -2.468202e-01 -3.051613e-01  1.263769e-07 -2.596139e-07
+ 2.362684e-02  1.220268e-02 -2.466350e-01 -3.052528e-01  2.645484e-06  9.066351e-07
+ 2.362684e-02  1.236647e-02 -2.461076e-01 -3.048608e-01  3.720092e-05  5.645693e-05
+ 2.362684e-02  1.252811e-02 -2.452515e-01 -3.039367e-01 -4.569257e-05 -7.826527e-05
+ 2.362684e-02  1.268770e-02 -2.449769e-01 -3.038957e-01 -1.087534e-04 -2.108031e-04
+ 2.362684e-02  1.284531e-02 -2.447348e-01 -3.040097e-01  4.722847e-04  6.505125e-04
+ 2.362684e-02  1.300100e-02 -2.444830e-01 -3.037932e-01  9.354488e-05  8.569912e-05
+ 2.362684e-02  1.315485e-02 -2.445131e-01 -3.039747e-01 -2.445131e-01 -3.039747e-01
+ 2.362684e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362684e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362684e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.362684e-02  1.375306e-02 -2.422529e-01 -3.032997e-01 -2.422529e-01 -3.032997e-01
+ 2.362684e-02  1.389858e-02 -2.425551e-01 -3.044883e-01  5.524361e-04  9.128658e-04
+ 2.362684e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.362684e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.431075e-01  3.054012e-01
+ 2.371167e-02  1.000000e-06 -2.606689e-01 -3.126538e-01 -5.271021e-08  1.127850e-08
+ 2.371167e-02  2.006944e-03 -2.603049e-01 -3.125555e-01 -5.194361e-08 -9.674719e-09
+ 2.371167e-02  2.837833e-03 -2.599442e-01 -3.124515e-01  1.041403e-08 -3.560363e-08
+ 2.371167e-02  3.475396e-03 -2.595856e-01 -3.123435e-01  2.790856e-08 -3.107073e-09
+ 2.371167e-02  4.012887e-03 -2.592291e-01 -3.122321e-01 -1.458193e-07 -6.092137e-08
+ 2.371167e-02  4.486426e-03 -2.588743e-01 -3.121176e-01 -3.039707e-08 -7.432259e-09
+ 2.371167e-02  4.914538e-03 -2.585215e-01 -3.120009e-01 -2.415148e-08 -9.282751e-08
+ 2.371167e-02  5.308228e-03 -2.581708e-01 -3.118821e-01 -4.333712e-08  2.200321e-07
+ 2.371167e-02  5.674665e-03 -2.578219e-01 -3.117624e-01 -2.302839e-07 -1.317932e-07
+ 2.371167e-02  6.018831e-03 -2.574753e-01 -3.116409e-01  4.886699e-08  7.039109e-09
+ 2.371167e-02  6.344350e-03 -2.571325e-01 -3.115171e-01  2.863932e-08  1.938087e-09
+ 2.371167e-02  6.653962e-03 -2.567589e-01 -3.114585e-01  9.431889e-07 -2.318322e-06
+ 2.371167e-02  6.949792e-03 -2.564423e-01 -3.112942e-01 -8.804790e-07 -2.433196e-07
+ 2.371167e-02  7.233532e-03 -2.561094e-01 -3.111835e-01 -3.678552e-06 -7.120981e-06
+ 2.371167e-02  7.506553e-03 -2.557715e-01 -3.110572e-01 -2.231339e-07 -6.175120e-09
+ 2.371167e-02  7.769986e-03 -2.554302e-01 -3.109386e-01  5.112893e-06  1.199472e-06
+ 2.371167e-02  8.024774e-03 -2.550999e-01 -3.108116e-01  1.750536e-06  3.905241e-07
+ 2.371167e-02  8.271717e-03 -2.547451e-01 -3.106495e-01  2.352125e-07 -7.713852e-08
+ 2.371167e-02  8.511498e-03 -2.543025e-01 -3.102811e-01  3.445154e-06  8.096822e-06
+ 2.371167e-02  8.744705e-03 -2.530757e-01 -3.082834e-01  6.417330e-04  1.419178e-03
+ 2.371167e-02  8.971852e-03 -2.527348e-01 -3.081699e-01 -1.218047e-05 -1.561003e-05
+ 2.371167e-02  9.193388e-03 -2.523716e-01 -3.080131e-01  2.174706e-06  1.134905e-05
+ 2.371167e-02  9.409709e-03 -2.519794e-01 -3.077519e-01 -1.833315e-05 -9.250175e-06
+ 2.371167e-02  9.621167e-03 -2.516991e-01 -3.078187e-01 -2.085446e-07  1.037208e-06
+ 2.371167e-02  9.828076e-03 -2.513236e-01 -3.075519e-01 -2.355077e-05 -5.980206e-05
+ 2.371167e-02  1.003072e-02 -2.509778e-01 -3.071884e-01 -5.670476e-05  2.012965e-06
+ 2.371167e-02  1.022935e-02 -2.501957e-01 -3.069232e-01  5.491124e-04  8.235188e-05
+ 2.371167e-02  1.042419e-02 -2.499996e-01 -3.058971e-01  7.551733e-07  1.013720e-04
+ 2.371167e-02  1.061546e-02 -2.499918e-01 -3.075929e-01  2.106228e-06  6.882998e-05
+ 2.371167e-02  1.080334e-02 -2.498494e-01 -3.070083e-01 -5.550649e-04 -1.121029e-04
+ 2.371167e-02  1.098801e-02 -2.490108e-01 -3.065718e-01  1.154786e-04  2.165001e-05
+ 2.371167e-02  1.116962e-02 -2.487042e-01 -3.064726e-01 -1.535571e-05 -2.479029e-06
+ 2.371167e-02  1.134833e-02 -2.482358e-01 -3.067075e-01 -2.566101e-05 -3.487328e-05
+ 2.371167e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.482101e-01  3.066727e-01
+ 2.371167e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.482101e-01  3.066727e-01
+ 2.371167e-02  1.186832e-02 -2.472166e-01 -3.050113e-01  3.105342e-05 -4.781617e-05
+ 2.371167e-02  1.203666e-02 -2.469673e-01 -3.050874e-01  1.433239e-06 -1.175586e-06
+ 2.371167e-02  1.220268e-02 -2.464342e-01 -3.047370e-01 -3.808048e-05 -6.037626e-05
+ 2.371167e-02  1.236647e-02 -2.460302e-01 -3.045137e-01  1.556526e-04  2.211502e-04
+ 2.371167e-02  1.252811e-02 -2.451738e-01 -3.036286e-01 -2.451738e-01 -3.036286e-01
+ 2.371167e-02  1.268770e-02 -2.449347e-01 -3.035859e-01 -2.449347e-01 -3.035859e-01
+ 2.371167e-02  1.284531e-02 -2.447984e-01 -3.036785e-01 -2.447984e-01 -3.036785e-01
+ 2.371167e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.371167e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.371167e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.371167e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.371167e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.371167e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.371167e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.371167e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.371167e-02  1.418516e-02 -2.419018e-01 -3.040143e-01 -2.419018e-01 -3.040143e-01
+ 2.371167e-02  1.432630e-02 -2.419869e-01 -3.039776e-01  2.339328e-05 -2.975015e-04
+ 2.371167e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.371167e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.420103e-01  3.036801e-01
+ 2.379620e-02  1.000000e-06 -2.607904e-01 -3.124659e-01  3.537543e-07 -5.304979e-07
+ 2.379620e-02  2.006944e-03 -2.604219e-01 -3.123711e-01  7.560641e-09  1.617539e-08
+ 2.379620e-02  2.837833e-03 -2.600591e-01 -3.122667e-01  1.802360e-08 -7.592124e-08
+ 2.379620e-02  3.475396e-03 -2.596986e-01 -3.121579e-01 -1.099683e-07  1.033914e-07
+ 2.379620e-02  4.012887e-03 -2.593399e-01 -3.120463e-01 -1.421882e-07 -1.478769e-07
+ 2.379620e-02  4.486426e-03 -2.589830e-01 -3.119315e-01  2.862712e-09 -8.023905e-09
+ 2.379620e-02  4.914538e-03 -2.586282e-01 -3.118146e-01  2.201290e-08 -7.826469e-09
+ 2.379620e-02  5.308228e-03 -2.582754e-01 -3.116959e-01 -1.950713e-07 -6.233709e-08
+ 2.379620e-02  5.674665e-03 -2.579238e-01 -3.115767e-01  6.652090e-07 -2.627310e-07
+ 2.379620e-02  6.018831e-03 -2.575761e-01 -3.114560e-01  4.896277e-08  1.122153e-07
+ 2.379620e-02  6.344350e-03 -2.572310e-01 -3.113344e-01 -1.744734e-07 -4.361702e-08
+ 2.379620e-02  6.653962e-03 -2.568940e-01 -3.111997e-01  1.623311e-06 -5.112525e-06
+ 2.379620e-02  6.949792e-03 -2.565412e-01 -3.111178e-01 -6.386313e-06 -1.871614e-06
+ 2.379620e-02  7.233532e-03 -2.562000e-01 -3.109975e-01  8.311485e-07  2.263345e-07
+ 2.379620e-02  7.506553e-03 -2.558623e-01 -3.108774e-01 -3.290711e-06 -7.858962e-07
+ 2.379620e-02  7.769986e-03 -2.555261e-01 -3.107593e-01 -9.121063e-07 -1.911469e-07
+ 2.379620e-02  8.024774e-03 -2.551827e-01 -3.106228e-01  1.055818e-07  1.585993e-07
+ 2.379620e-02  8.271717e-03 -2.548157e-01 -3.104315e-01 -4.600594e-07  2.761043e-07
+ 2.379620e-02  8.511498e-03 -2.540778e-01 -3.094537e-01 -2.704051e-05  2.672651e-06
+ 2.379620e-02  8.744705e-03 -2.531324e-01 -3.080619e-01 -6.478480e-07  6.805422e-06
+ 2.379620e-02  8.971852e-03 -2.527334e-01 -3.078342e-01 -1.185175e-05 -3.180889e-05
+ 2.379620e-02  9.193388e-03 -2.524195e-01 -3.077820e-01 -1.165572e-05 -1.777271e-05
+ 2.379620e-02  9.409709e-03 -2.520473e-01 -3.075814e-01 -1.113936e-05 -1.745130e-05
+ 2.379620e-02  9.621167e-03 -2.517649e-01 -3.076229e-01  8.497888e-06  1.694607e-05
+ 2.379620e-02  9.828076e-03 -2.513866e-01 -3.073740e-01 -1.588752e-05 -8.858042e-06
+ 2.379620e-02  1.003072e-02 -2.509619e-01 -3.068987e-01 -6.454250e-05  7.359602e-05
+ 2.379620e-02  1.022935e-02 -2.501544e-01 -3.065519e-01  5.183426e-04  4.332589e-05
+ 2.379620e-02  1.042419e-02 -2.500265e-01 -3.061236e-01 -4.057026e-04 -1.837953e-03
+ 2.379620e-02  1.061546e-02 -2.500028e-01 -3.071059e-01 -2.568751e-06 -5.120846e-05
+ 2.379620e-02  1.080334e-02 -2.498475e-01 -3.067931e-01 -5.519129e-04 -1.031225e-04
+ 2.379620e-02  1.098801e-02 -2.489949e-01 -3.062243e-01  5.991174e-05 -1.050098e-04
+ 2.379620e-02  1.116962e-02 -2.487429e-01 -3.062857e-01 -5.701789e-05 -5.564695e-05
+ 2.379620e-02  1.134833e-02 -2.483523e-01 -3.075662e-01  5.994850e-06 -2.338266e-04
+ 2.379620e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.483583e-01  3.073323e-01
+ 2.379620e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.483583e-01  3.073323e-01
+ 2.379620e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.483583e-01  3.073323e-01
+ 2.379620e-02  1.203666e-02 -2.468255e-01 -3.046397e-01  3.379540e-04  3.719232e-04
+ 2.379620e-02  1.220268e-02 -2.462515e-01 -3.042832e-01 -1.063358e-04 -1.279198e-04
+ 2.379620e-02  1.236647e-02 -2.460392e-01 -3.043086e-01 -9.303726e-05 -1.328631e-04
+ 2.379620e-02  1.252811e-02 -2.457090e-01 -3.041795e-01 -2.457090e-01 -3.041795e-01
+ 2.379620e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.284531e-02 -2.450036e-01 -3.037696e-01 -2.450036e-01 -3.037696e-01
+ 2.379620e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.379620e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.000000e-06 -2.608784e-01 -3.123223e-01 -3.292317e-05  5.447861e-05
+ 2.388044e-02  2.006944e-03 -2.605355e-01 -3.121810e-01  8.741111e-09 -7.652755e-10
+ 2.388044e-02  2.837833e-03 -2.601706e-01 -3.120763e-01 -4.670758e-08 -1.025873e-07
+ 2.388044e-02  3.475396e-03 -2.598080e-01 -3.119672e-01 -7.074470e-08 -4.946160e-09
+ 2.388044e-02  4.012887e-03 -2.594472e-01 -3.118549e-01  5.045160e-08  6.277717e-08
+ 2.388044e-02  4.486426e-03 -2.590885e-01 -3.117400e-01 -1.960856e-08 -5.961563e-08
+ 2.388044e-02  4.914538e-03 -2.587318e-01 -3.116230e-01 -1.266985e-07 -1.362230e-08
+ 2.388044e-02  5.308228e-03 -2.583770e-01 -3.115047e-01 -5.579645e-08 -1.623223e-08
+ 2.388044e-02  5.674665e-03 -2.580245e-01 -3.113852e-01 -2.265732e-08 -5.451631e-08
+ 2.388044e-02  6.018831e-03 -2.576741e-01 -3.112664e-01 -1.329673e-07 -5.035405e-07
+ 2.388044e-02  6.344350e-03 -2.573266e-01 -3.111461e-01  7.208133e-07  3.179314e-07
+ 2.388044e-02  6.653962e-03 -2.569876e-01 -3.110220e-01 -4.084876e-06 -1.380967e-06
+ 2.388044e-02  6.949792e-03 -2.566278e-01 -3.109403e-01 -1.297600e-06  9.264609e-08
+ 2.388044e-02  7.233532e-03 -2.562938e-01 -3.108144e-01  4.704849e-07  1.610442e-07
+ 2.388044e-02  7.506553e-03 -2.559518e-01 -3.106921e-01 -2.260725e-06 -4.865407e-07
+ 2.388044e-02  7.769986e-03 -2.556151e-01 -3.105726e-01 -9.983849e-07 -5.800373e-08
+ 2.388044e-02  8.024774e-03 -2.552639e-01 -3.104229e-01 -6.598590e-07  1.473696e-07
+ 2.388044e-02  8.271717e-03 -2.548723e-01 -3.101856e-01  3.354707e-06 -4.822718e-08
+ 2.388044e-02  8.511498e-03 -2.542059e-01 -3.093669e-01  4.303127e-05  7.590843e-05
+ 2.388044e-02  8.744705e-03 -2.532266e-01 -3.079371e-01 -5.291521e-05 -1.183917e-04
+ 2.388044e-02  8.971852e-03 -2.527971e-01 -3.076241e-01  6.594903e-05  1.145177e-04
+ 2.388044e-02  9.193388e-03 -2.524936e-01 -3.076136e-01 -6.339950e-06 -7.247035e-06
+ 2.388044e-02  9.409709e-03 -2.520601e-01 -3.073075e-01  4.305110e-06  2.753569e-06
+ 2.388044e-02  9.621167e-03 -2.518281e-01 -3.074781e-01  2.274754e-05  6.187932e-05
+ 2.388044e-02  9.828076e-03 -2.514210e-01 -3.071589e-01 -1.961694e-05  2.234791e-05
+ 2.388044e-02  1.003072e-02 -2.510260e-01 -3.067572e-01 -9.386827e-05  7.740512e-06
+ 2.388044e-02  1.022935e-02 -2.502315e-01 -3.064213e-01  2.732174e-04  6.557596e-05
+ 2.388044e-02  1.042419e-02 -2.498422e-01 -3.054169e-01  1.038131e-04  2.278531e-04
+ 2.388044e-02  1.061546e-02 -2.500019e-01 -3.068899e-01 -1.734496e-06 -1.188608e-04
+ 2.388044e-02  1.080334e-02 -2.498329e-01 -3.064782e-01 -6.299236e-04 -2.393550e-04
+ 2.388044e-02  1.098801e-02 -2.490957e-01 -3.062919e-01 -4.515871e-05 -7.444804e-06
+ 2.388044e-02  1.116962e-02 -2.486073e-01 -3.058207e-01  1.516566e-05  4.868699e-06
+ 2.388044e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.486225e-01  3.058255e-01
+ 2.388044e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.486225e-01  3.058255e-01
+ 2.388044e-02  1.169756e-02 -2.478408e-01 -3.055274e-01  2.076363e-04  6.721383e-04
+ 2.388044e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.480485e-01  3.061995e-01
+ 2.388044e-02  1.203666e-02 -2.467608e-01 -3.042052e-01 -7.304360e-05 -8.662643e-05
+ 2.388044e-02  1.220268e-02 -2.463960e-01 -3.041731e-01 -9.655443e-06 -1.089672e-05
+ 2.388044e-02  1.236647e-02 -2.457695e-01 -3.036168e-01 -2.457695e-01 -3.036168e-01
+ 2.388044e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.388044e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.396437e-02  1.000000e-06 -2.610095e-01 -3.120957e-01 -5.464537e-09  5.698752e-08
+ 2.396437e-02  2.006944e-03 -2.606459e-01 -3.119846e-01 -3.269390e-08 -1.942832e-08
+ 2.396437e-02  2.837833e-03 -2.602786e-01 -3.118802e-01 -7.117908e-08 -1.120077e-07
+ 2.396437e-02  3.475396e-03 -2.599140e-01 -3.117707e-01  1.303166e-08  4.332771e-09
+ 2.396437e-02  4.012887e-03 -2.595514e-01 -3.116581e-01  1.109332e-08  4.077418e-09
+ 2.396437e-02  4.486426e-03 -2.591907e-01 -3.115429e-01 -4.527974e-08  2.483940e-08
+ 2.396437e-02  4.914538e-03 -2.588321e-01 -3.114260e-01 -1.086230e-07 -2.871670e-08
+ 2.396437e-02  5.308228e-03 -2.584755e-01 -3.113080e-01  1.927273e-08 -8.800526e-09
+ 2.396437e-02  5.674665e-03 -2.581214e-01 -3.111894e-01  1.350120e-07 -1.030802e-08
+ 2.396437e-02  6.018831e-03 -2.577702e-01 -3.110708e-01  3.886706e-06 -2.417037e-06
+ 2.396437e-02  6.344350e-03 -2.574219e-01 -3.109534e-01  1.169692e-07 -9.832573e-08
+ 2.396437e-02  6.653962e-03 -2.570754e-01 -3.108324e-01 -8.607092e-07 -2.360751e-07
+ 2.396437e-02  6.949792e-03 -2.566948e-01 -3.108200e-01  1.690732e-05 -4.283326e-05
+ 2.396437e-02  7.233532e-03 -2.563783e-01 -3.106264e-01  5.747231e-06  1.440704e-06
+ 2.396437e-02  7.506553e-03 -2.560441e-01 -3.105009e-01 -3.055953e-06 -7.350079e-07
+ 2.396437e-02  7.769986e-03 -2.557001e-01 -3.103822e-01 -6.025096e-07 -9.937195e-08
+ 2.396437e-02  8.024774e-03 -2.553369e-01 -3.102050e-01 -1.336879e-06 -1.837024e-07
+ 2.396437e-02  8.271717e-03 -2.548908e-01 -3.098364e-01  2.277684e-05  5.129626e-05
+ 2.396437e-02  8.511498e-03 -2.537131e-01 -3.080074e-01 -5.084801e-05 -1.120617e-04
+ 2.396437e-02  8.744705e-03 -2.532752e-01 -3.076956e-01 -3.403458e-06 -7.373095e-06
+ 2.396437e-02  8.971852e-03 -2.528739e-01 -3.074754e-01 -3.526211e-06 -6.704167e-07
+ 2.396437e-02  9.193388e-03 -2.525184e-01 -3.073363e-01 -5.059145e-06 -2.020316e-05
+ 2.396437e-02  9.409709e-03 -2.520418e-01 -3.069394e-01 -2.435217e-05 -5.385256e-05
+ 2.396437e-02  9.621167e-03 -2.518633e-01 -3.071927e-01  1.016784e-07  9.637421e-06
+ 2.396437e-02  9.828076e-03 -2.514280e-01 -3.068806e-01 -4.386712e-05 -3.137799e-05
+ 2.396437e-02  1.003072e-02 -2.509045e-01 -3.061929e-01  4.980160e-05  4.385603e-05
+ 2.396437e-02  1.022935e-02 -2.501615e-01 -3.061171e-01  6.421861e-04  1.012059e-04
+ 2.396437e-02  1.042419e-02 -2.496406e-01 -3.052070e-01  7.955359e-04  8.327864e-04
+ 2.396437e-02  1.061546e-02 -2.499976e-01 -3.066054e-01  1.819733e-06 -1.216746e-04
+ 2.396437e-02  1.080334e-02 -2.498544e-01 -3.062670e-01 -1.658693e-04  2.041810e-04
+ 2.396437e-02  1.098801e-02 -2.489426e-01 -3.055557e-01 -1.577795e-04 -3.753174e-04
+ 2.396437e-02  1.116962e-02 -2.486773e-01 -3.056969e-01 -1.495083e-05  1.378756e-07
+ 2.396437e-02  1.134833e-02 -2.483225e-01 -3.060229e-01  4.901382e-05  2.845835e-04
+ 2.396437e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.483715e-01  3.063075e-01
+ 2.396437e-02  1.169756e-02 -2.480504e-01 -3.063645e-01 -2.480504e-01 -3.063645e-01
+ 2.396437e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.396437e-02  1.203666e-02 -2.465069e-01 -3.035437e-01 -2.465069e-01 -3.035437e-01
+ 2.396437e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.396437e-02  1.236647e-02 -2.457211e-01 -3.032797e-01  9.051884e-05  1.284917e-04
+ 2.396437e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.458116e-01  3.034082e-01
+ 2.396437e-02  1.404260e-02 -2.426840e-01 -3.028275e-01 -8.490201e-04  5.362094e-04
+ 2.396437e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.418349e-01  3.033637e-01
+ 2.396437e-02  1.713979e-02 -2.396963e-01 -3.037984e-01  1.496076e-04  2.528919e-04
+ 2.396437e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.396437e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.398459e-01  3.040513e-01
+ 2.404801e-02  1.000000e-06 -2.611190e-01 -3.118936e-01 -1.861774e-08  1.315157e-08
+ 2.404801e-02  2.006944e-03 -2.607539e-01 -3.117805e-01  2.743359e-09 -1.760034e-07
+ 2.404801e-02  2.837833e-03 -2.603832e-01 -3.116785e-01  1.636547e-08 -1.002505e-07
+ 2.404801e-02  3.475396e-03 -2.600167e-01 -3.115686e-01  3.211957e-09  4.089350e-09
+ 2.404801e-02  4.012887e-03 -2.596522e-01 -3.114558e-01 -2.314579e-08 -6.902891e-09
+ 2.404801e-02  4.486426e-03 -2.592897e-01 -3.113404e-01 -1.312095e-07 -3.292868e-08
+ 2.404801e-02  4.914538e-03 -2.589293e-01 -3.112236e-01  2.973849e-08  8.355236e-09
+ 2.404801e-02  5.308228e-03 -2.585711e-01 -3.111059e-01  7.763765e-08  2.683747e-08
+ 2.404801e-02  5.674665e-03 -2.582154e-01 -3.109881e-01 -7.531398e-08 -1.436217e-08
+ 2.404801e-02  6.018831e-03 -2.578631e-01 -3.108706e-01  7.177018e-07  5.043076e-07
+ 2.404801e-02  6.344350e-03 -2.575117e-01 -3.107551e-01  5.208747e-07  2.672731e-07
+ 2.404801e-02  6.653962e-03 -2.571661e-01 -3.106378e-01  5.457001e-07  1.098470e-07
+ 2.404801e-02  6.949792e-03 -2.568240e-01 -3.105015e-01  1.594115e-06  1.756094e-07
+ 2.404801e-02  7.233532e-03 -2.564712e-01 -3.104393e-01 -1.574679e-06 -3.615746e-07
+ 2.404801e-02  7.506553e-03 -2.561263e-01 -3.102775e-01  4.279850e-07  1.782402e-05
+ 2.404801e-02  7.769986e-03 -2.557809e-01 -3.101799e-01  8.166049e-06  3.463370e-05
+ 2.404801e-02  8.024774e-03 -2.553926e-01 -3.099481e-01  1.287280e-06  4.517252e-06
+ 2.404801e-02  8.271717e-03 -2.542540e-01 -3.080737e-01 -4.546327e-04 -7.881939e-04
+ 2.404801e-02  8.511498e-03 -2.538265e-01 -3.078663e-01  6.470884e-04  1.329303e-03
+ 2.404801e-02  8.744705e-03 -2.533317e-01 -3.074791e-01  1.440478e-06  6.168291e-06
+ 2.404801e-02  8.971852e-03 -2.529556e-01 -3.073153e-01  1.325132e-06  1.709957e-05
+ 2.404801e-02  9.193388e-03 -2.525034e-01 -3.069980e-01 -4.781375e-06  1.692419e-05
+ 2.404801e-02  9.409709e-03 -2.521047e-01 -3.067430e-01 -3.937884e-06 -7.442098e-06
+ 2.404801e-02  9.621167e-03 -2.518360e-01 -3.068313e-01  1.326353e-05 -1.242553e-05
+ 2.404801e-02  9.828076e-03 -2.514379e-01 -3.065973e-01 -3.945086e-04 -7.292589e-04
+ 2.404801e-02  1.003072e-02 -2.510383e-01 -3.062333e-01  1.749811e-04  5.588282e-04
+ 2.404801e-02  1.022935e-02 -2.502657e-01 -3.059958e-01  1.325164e-04  1.502884e-05
+ 2.404801e-02  1.042419e-02 -2.496341e-01 -3.039357e-01 -2.496341e-01 -3.039357e-01
+ 2.404801e-02  1.061546e-02 -2.499946e-01 -3.062295e-01  5.922498e-06  8.994542e-06
+ 2.404801e-02  1.080334e-02 -2.499455e-01 -3.067147e-01 -7.530861e-05 -7.438484e-04
+ 2.404801e-02  1.098801e-02 -2.489328e-01 -3.054102e-01 -2.670220e-04 -4.542007e-04
+ 2.404801e-02  1.116962e-02 -2.485723e-01 -3.053038e-01  3.656135e-05 -2.834844e-06
+ 2.404801e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.486089e-01  3.053009e-01
+ 2.404801e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.486089e-01  3.053009e-01
+ 2.404801e-02  1.169756e-02 -2.479534e-01 -3.057824e-01  1.610077e-05  1.389284e-04
+ 2.404801e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.479695e-01  3.059213e-01
+ 2.404801e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.479695e-01  3.059213e-01
+ 2.404801e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.479695e-01  3.059213e-01
+ 2.404801e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.479695e-01  3.059213e-01
+ 2.404801e-02  1.252811e-02 -2.459474e-01 -3.037846e-01 -1.103918e-04 -4.314211e-05
+ 2.404801e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.458370e-01  3.037415e-01
+ 2.404801e-02  1.944934e-02 -2.353450e-01 -3.015673e-01 -5.053281e-04 -5.067553e-04
+ 2.404801e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.404801e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.348397e-01  3.010605e-01
+ 2.413136e-02  1.000000e-06 -2.612241e-01 -3.116873e-01 -7.393993e-08  4.659872e-09
+ 2.413136e-02  2.006944e-03 -2.608670e-01 -3.115513e-01  1.010356e-05 -2.196803e-05
+ 2.413136e-02  2.837833e-03 -2.604845e-01 -3.114709e-01  7.310274e-09 -1.055475e-07
+ 2.413136e-02  3.475396e-03 -2.601160e-01 -3.113608e-01  6.062606e-11  3.440983e-09
+ 2.413136e-02  4.012887e-03 -2.597498e-01 -3.112478e-01 -1.202476e-07  2.228754e-08
+ 2.413136e-02  4.486426e-03 -2.593856e-01 -3.111325e-01  1.777320e-08  8.656433e-09
+ 2.413136e-02  4.914538e-03 -2.590235e-01 -3.110158e-01  4.251182e-09 -1.442057e-07
+ 2.413136e-02  5.308228e-03 -2.586638e-01 -3.108987e-01 -2.012229e-08 -8.764889e-09
+ 2.413136e-02  5.674665e-03 -2.583068e-01 -3.107818e-01  3.714886e-09  5.489742e-08
+ 2.413136e-02  6.018831e-03 -2.579532e-01 -3.106661e-01  9.205514e-07  3.570356e-07
+ 2.413136e-02  6.344350e-03 -2.576054e-01 -3.105486e-01 -2.599402e-06  1.811715e-06
+ 2.413136e-02  6.653962e-03 -2.572489e-01 -3.104361e-01  6.751220e-06  1.984596e-06
+ 2.413136e-02  6.949792e-03 -2.569109e-01 -3.103140e-01 -2.202661e-06 -5.772643e-07
+ 2.413136e-02  7.233532e-03 -2.565522e-01 -3.102532e-01 -1.814801e-07  6.102585e-07
+ 2.413136e-02  7.506553e-03 -2.562159e-01 -3.101563e-01 -4.585950e-06 -3.194860e-05
+ 2.413136e-02  7.769986e-03 -2.558495e-01 -3.099389e-01 -1.621349e-06 -3.357478e-06
+ 2.413136e-02  8.024774e-03 -2.554558e-01 -3.097025e-01 -6.696874e-06 -1.445289e-05
+ 2.413136e-02  8.271717e-03 -2.546451e-01 -3.085595e-01  5.176584e-04  1.126927e-03
+ 2.413136e-02  8.511498e-03 -2.536995e-01 -3.072930e-01 -6.897949e-06 -2.135430e-05
+ 2.413136e-02  8.744705e-03 -2.533105e-01 -3.071117e-01 -2.260552e-07 -2.663796e-06
+ 2.413136e-02  8.971852e-03 -2.529676e-01 -3.070289e-01 -2.265036e-06  1.596783e-05
+ 2.413136e-02  9.193388e-03 -2.525240e-01 -3.067252e-01  1.308944e-05  2.250225e-05
+ 2.413136e-02  9.409709e-03 -2.521621e-01 -3.065536e-01  1.950351e-06  1.620849e-05
+ 2.413136e-02  9.621167e-03 -2.517990e-01 -3.064571e-01  2.707155e-05  5.593659e-05
+ 2.413136e-02  9.828076e-03 -2.515138e-01 -3.064871e-01 -2.259111e-05  3.703551e-05
+ 2.413136e-02  1.003072e-02 -2.509554e-01 -3.058167e-01 -1.381906e-04 -8.279741e-06
+ 2.413136e-02  1.022935e-02 -2.506646e-01 -3.058008e-01  3.916156e-04  1.674723e-04
+ 2.413136e-02  1.042419e-02 -2.494692e-01 -3.039011e-01  5.408263e-04 -1.144021e-04
+ 2.413136e-02  1.061546e-02 -2.500546e-01 -3.063980e-01 -5.354232e-05 -2.223818e-04
+ 2.413136e-02  1.080334e-02 -2.496848e-01 -3.055117e-01 -4.953386e-04 -4.454051e-04
+ 2.413136e-02  1.098801e-02 -2.489454e-01 -3.052091e-01  1.197100e-04  2.400279e-05
+ 2.413136e-02  1.116962e-02 -2.486668e-01 -3.051102e-01  3.263454e-06  5.536666e-06
+ 2.413136e-02  1.134833e-02 -2.481958e-01 -3.049547e-01 -1.129690e-04 -2.426086e-04
+ 2.413136e-02  1.152427e-02 -2.480996e-01 -3.057023e-01 -2.480996e-01 -3.057023e-01
+ 2.413136e-02  1.169756e-02 -2.479115e-01 -3.062749e-01  6.454495e-05  6.100828e-05
+ 2.413136e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.479760e-01  3.063359e-01
+ 2.413136e-02  1.690338e-02 -2.323522e-01 -2.946082e-01 -2.323522e-01 -2.946082e-01
+ 2.413136e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.075064e-02 -2.411097e-01 -3.036332e-01 -2.411097e-01 -3.036332e-01
+ 2.413136e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.413136e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.000000e-06 -2.613255e-01 -3.114757e-01 -5.393769e-09  1.923911e-08
+ 2.421443e-02  2.006944e-03 -2.609483e-01 -3.113790e-01 -4.116853e-07  9.528871e-07
+ 2.421443e-02  2.837833e-03 -2.605825e-01 -3.112572e-01  1.727192e-08 -1.032794e-07
+ 2.421443e-02  3.475396e-03 -2.602121e-01 -3.111473e-01 -8.901553e-08 -4.142952e-09
+ 2.421443e-02  4.012887e-03 -2.598441e-01 -3.110338e-01  1.743192e-07 -1.175803e-06
+ 2.421443e-02  4.486426e-03 -2.594782e-01 -3.109187e-01  3.779099e-08  5.326254e-08
+ 2.421443e-02  4.914538e-03 -2.591146e-01 -3.108024e-01  1.993459e-08 -4.101430e-08
+ 2.421443e-02  5.308228e-03 -2.587535e-01 -3.106861e-01 -2.999098e-07 -9.991914e-08
+ 2.421443e-02  5.674665e-03 -2.583960e-01 -3.105706e-01  5.113629e-07  2.151698e-07
+ 2.421443e-02  6.018831e-03 -2.580402e-01 -3.104559e-01 -5.626550e-07 -1.862822e-07
+ 2.421443e-02  6.344350e-03 -2.576852e-01 -3.103413e-01  5.748854e-06  2.279934e-06
+ 2.421443e-02  6.653962e-03 -2.573368e-01 -3.102326e-01  6.047636e-07 -1.116240e-07
+ 2.421443e-02  6.949792e-03 -2.569919e-01 -3.101131e-01  1.187166e-06 -1.333436e-06
+ 2.421443e-02  7.233532e-03 -2.566165e-01 -3.101526e-01  2.405030e-06 -1.400430e-05
+ 2.421443e-02  7.506553e-03 -2.562914e-01 -3.099175e-01 -4.282307e-07  1.095514e-07
+ 2.421443e-02  7.769986e-03 -2.559066e-01 -3.096779e-01  3.788013e-06  9.600215e-06
+ 2.421443e-02  8.024774e-03 -2.551055e-01 -3.086048e-01  3.363191e-05  6.524760e-05
+ 2.421443e-02  8.271717e-03 -2.541900e-01 -3.073377e-01  7.478358e-05  1.473340e-04
+ 2.421443e-02  8.511498e-03 -2.537851e-01 -3.071264e-01 -4.010085e-05 -7.509976e-05
+ 2.421443e-02  8.744705e-03 -2.533625e-01 -3.068921e-01 -1.404503e-05 -2.552852e-05
+ 2.421443e-02  8.971852e-03 -2.529815e-01 -3.067267e-01  1.198587e-05  2.784716e-05
+ 2.421443e-02  9.193388e-03 -2.525921e-01 -3.065401e-01  6.375724e-06  1.006160e-05
+ 2.421443e-02  9.409709e-03 -2.522237e-01 -3.063923e-01 -2.520139e-06 -7.730841e-06
+ 2.421443e-02  9.621167e-03 -2.517046e-01 -3.060774e-01  1.667397e-04  1.349542e-04
+ 2.421443e-02  9.828076e-03 -2.514143e-01 -3.059818e-01 -7.806935e-06 -9.448485e-05
+ 2.421443e-02  1.003072e-02 -2.510535e-01 -3.056489e-01 -1.017658e-04 -2.010532e-05
+ 2.421443e-02  1.022935e-02 -2.504167e-01 -3.054387e-01 -1.017510e-04  4.913414e-05
+ 2.421443e-02  1.042419e-02 -2.496696e-01 -3.048383e-01  3.296527e-04  4.194462e-04
+ 2.421443e-02  1.061546e-02 -2.499801e-01 -3.059169e-01  1.868787e-05 -1.971282e-04
+ 2.421443e-02  1.080334e-02 -2.498538e-01 -3.054647e-01 -4.751645e-04 -9.288996e-05
+ 2.421443e-02  1.098801e-02 -2.490162e-01 -3.050166e-01  9.563325e-05  1.429706e-05
+ 2.421443e-02  1.116962e-02 -2.480365e-01 -3.039326e-01 -2.480365e-01 -3.039326e-01
+ 2.421443e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.152427e-02 -2.474031e-01 -3.053926e-01 -2.474031e-01 -3.053926e-01
+ 2.421443e-02  1.169756e-02 -2.477653e-01 -3.052345e-01  1.336658e-04  5.719453e-04
+ 2.421443e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.478990e-01  3.058065e-01
+ 2.421443e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.478990e-01  3.058065e-01
+ 2.421443e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.478990e-01  3.058065e-01
+ 2.421443e-02  1.236647e-02 -2.452443e-01 -3.019537e-01  1.204431e-03  1.560805e-03
+ 2.421443e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.464487e-01  3.035145e-01
+ 2.421443e-02  1.389858e-02 -2.416404e-01 -3.014916e-01 -2.416404e-01 -3.014916e-01
+ 2.421443e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.421443e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.000000e-06 -2.614233e-01 -3.112584e-01  2.282442e-09  5.461437e-08
+ 2.429721e-02  2.006944e-03 -2.610467e-01 -3.111561e-01  6.524591e-09  1.239917e-08
+ 2.429721e-02  2.837833e-03 -2.606775e-01 -3.110368e-01 -5.670987e-08 -9.314289e-08
+ 2.429721e-02  3.475396e-03 -2.603048e-01 -3.109279e-01 -4.857790e-08 -7.219576e-09
+ 2.429721e-02  4.012887e-03 -2.599352e-01 -3.108143e-01  1.703096e-08 -7.917847e-08
+ 2.429721e-02  4.486426e-03 -2.595678e-01 -3.106995e-01  3.380917e-08  3.051801e-08
+ 2.429721e-02  4.914538e-03 -2.592027e-01 -3.105836e-01 -1.933284e-07  3.321002e-08
+ 2.429721e-02  5.308228e-03 -2.588411e-01 -3.104685e-01  7.950285e-08  6.138308e-08
+ 2.429721e-02  5.674665e-03 -2.584812e-01 -3.103538e-01 -4.178987e-07 -1.618757e-07
+ 2.429721e-02  6.018831e-03 -2.581225e-01 -3.102401e-01  4.069728e-06  1.364217e-06
+ 2.429721e-02  6.344350e-03 -2.577731e-01 -3.101300e-01 -2.857808e-07 -1.359462e-07
+ 2.429721e-02  6.653962e-03 -2.574256e-01 -3.100163e-01 -1.496925e-06  2.439378e-06
+ 2.429721e-02  6.949792e-03 -2.570721e-01 -3.099060e-01 -6.339046e-09 -1.449090e-08
+ 2.429721e-02  7.233532e-03 -2.567266e-01 -3.097405e-01  1.165676e-06 -2.064264e-05
+ 2.429721e-02  7.506553e-03 -2.563668e-01 -3.097022e-01 -4.877138e-07 -4.711973e-08
+ 2.429721e-02  7.769986e-03 -2.559721e-01 -3.094381e-01  2.004793e-06  3.003388e-06
+ 2.429721e-02  8.024774e-03 -2.545745e-01 -3.071754e-01 -3.070850e-05 -7.041479e-05
+ 2.429721e-02  8.271717e-03 -2.541583e-01 -3.069939e-01  3.961828e-05  3.165803e-05
+ 2.429721e-02  8.511498e-03 -2.537686e-01 -3.067898e-01  5.423383e-05  6.752557e-05
+ 2.429721e-02  8.744705e-03 -2.534628e-01 -3.067185e-01 -1.831404e-05 -1.985289e-05
+ 2.429721e-02  8.971852e-03 -2.531266e-01 -3.066135e-01 -6.806833e-05 -7.740297e-05
+ 2.429721e-02  9.193388e-03 -2.526635e-01 -3.063312e-01 -8.324451e-06 -1.720061e-05
+ 2.429721e-02  9.409709e-03 -2.522852e-01 -3.062113e-01  2.091589e-06  1.842221e-05
+ 2.429721e-02  9.621167e-03 -2.518873e-01 -3.059772e-01  8.965622e-06  6.251951e-05
+ 2.429721e-02  9.828076e-03 -2.514979e-01 -3.057620e-01 -3.761165e-04 -7.809870e-04
+ 2.429721e-02  1.003072e-02 -2.510769e-01 -3.054445e-01 -1.003088e-05 -3.311920e-05
+ 2.429721e-02  1.022935e-02 -2.502869e-01 -3.051122e-01  5.147087e-05  6.610321e-05
+ 2.429721e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.503384e-01  3.051783e-01
+ 2.429721e-02  1.061546e-02 -2.500096e-01 -3.056231e-01 -9.216793e-06  1.998355e-05
+ 2.429721e-02  1.080334e-02 -2.498817e-01 -3.051881e-01 -1.577240e-04  3.818353e-05
+ 2.429721e-02  1.098801e-02 -2.486028e-01 -3.040250e-01  6.045605e-04  8.902271e-04
+ 2.429721e-02  1.116962e-02 -2.484845e-01 -3.043181e-01  5.301917e-05 -1.211899e-05
+ 2.429721e-02  1.134833e-02 -2.484495e-01 -3.046773e-01 -2.484495e-01 -3.046773e-01
+ 2.429721e-02  1.152427e-02 -2.482959e-01 -3.049996e-01 -5.185138e-05 -2.679864e-05
+ 2.429721e-02  1.169756e-02 -2.480849e-01 -3.055735e-01  1.082235e-04  1.030116e-03
+ 2.429721e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.481931e-01  3.066036e-01
+ 2.429721e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.481931e-01  3.066036e-01
+ 2.429721e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.481931e-01  3.066036e-01
+ 2.429721e-02  1.236647e-02 -2.449805e-01 -3.016509e-01 -2.449805e-01 -3.016509e-01
+ 2.429721e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.429721e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.437971e-02  1.000000e-06 -2.615177e-01 -3.110355e-01  7.884125e-09  9.047332e-08
+ 2.437971e-02  2.006944e-03 -2.611401e-01 -3.109308e-01 -3.659698e-08  1.319081e-08
+ 2.437971e-02  2.837833e-03 -2.607702e-01 -3.108073e-01 -5.214716e-08 -7.103103e-08
+ 2.437971e-02  3.475396e-03 -2.603943e-01 -3.107027e-01  1.025916e-08 -4.872241e-09
+ 2.437971e-02  4.012887e-03 -2.600231e-01 -3.105892e-01  8.417813e-09 -4.328478e-09
+ 2.437971e-02  4.486426e-03 -2.596542e-01 -3.104746e-01 -1.730800e-07 -9.101490e-08
+ 2.437971e-02  4.914538e-03 -2.592885e-01 -3.103597e-01 -9.846105e-08 -1.938398e-08
+ 2.437971e-02  5.308228e-03 -2.589247e-01 -3.102451e-01 -3.102117e-07 -1.444080e-07
+ 2.437971e-02  5.674665e-03 -2.585624e-01 -3.101314e-01  3.094581e-06  1.115764e-06
+ 2.437971e-02  6.018831e-03 -2.582081e-01 -3.100213e-01 -9.576354e-08 -1.255152e-08
+ 2.437971e-02  6.344350e-03 -2.578539e-01 -3.099119e-01 -8.503848e-08 -4.556111e-09
+ 2.437971e-02  6.653962e-03 -2.575039e-01 -3.098020e-01  1.073671e-07  1.709837e-07
+ 2.437971e-02  6.949792e-03 -2.571399e-01 -3.096958e-01  2.139548e-09 -1.092487e-08
+ 2.437971e-02  7.233532e-03 -2.567980e-01 -3.095384e-01 -2.450997e-07  4.345327e-07
+ 2.437971e-02  7.506553e-03 -2.564428e-01 -3.095041e-01 -2.213225e-06 -7.351661e-06
+ 2.437971e-02  7.769986e-03 -2.556200e-01 -3.083127e-01 -2.296600e-05 -1.218512e-05
+ 2.437971e-02  8.024774e-03 -2.553127e-01 -3.082787e-01  6.933677e-05  1.656968e-04
+ 2.437971e-02  8.271717e-03 -2.543365e-01 -3.069376e-01  3.885847e-05  2.829718e-05
+ 2.437971e-02  8.511498e-03 -2.538895e-01 -3.066510e-01 -2.234232e-06 -1.120481e-07
+ 2.437971e-02  8.744705e-03 -2.534704e-01 -3.064287e-01 -1.414376e-06  3.228973e-07
+ 2.437971e-02  8.971852e-03 -2.531259e-01 -3.063424e-01 -8.941191e-06 -1.554277e-05
+ 2.437971e-02  9.193388e-03 -2.527147e-01 -3.061178e-01  2.265707e-05  4.282941e-05
+ 2.437971e-02  9.409709e-03 -2.523447e-01 -3.060212e-01  3.739512e-05  9.662488e-05
+ 2.437971e-02  9.621167e-03 -2.518955e-01 -3.057015e-01  3.437067e-05  9.105884e-05
+ 2.437971e-02  9.828076e-03 -2.517056e-01 -3.059410e-01  3.829459e-05  5.764256e-05
+ 2.437971e-02  1.003072e-02 -2.512078e-01 -3.054491e-01 -6.114505e-07 -4.573229e-06
+ 2.437971e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.512072e-01  3.054446e-01
+ 2.437971e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.512072e-01  3.054446e-01
+ 2.437971e-02  1.061546e-02 -2.499883e-01 -3.053873e-01  9.967954e-06 -2.361126e-04
+ 2.437971e-02  1.080334e-02 -2.479584e-01 -3.030007e-01  4.750184e-04  2.014983e-03
+ 2.437971e-02  1.098801e-02 -2.488443e-01 -3.041403e-01 -5.090630e-05 -2.080808e-05
+ 2.437971e-02  1.116962e-02 -2.486315e-01 -3.042415e-01  3.567231e-06  6.372765e-07
+ 2.437971e-02  1.134833e-02 -2.484606e-01 -3.043359e-01  4.690472e-06  2.987489e-06
+ 2.437971e-02  1.152427e-02 -2.474356e-01 -3.048933e-01 -1.610595e-04  3.788310e-05
+ 2.437971e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.472746e-01  3.049311e-01
+ 2.437971e-02  1.566792e-02 -2.463345e-01 -3.023402e-01  2.278924e-03 -3.629729e-05
+ 2.437971e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.437971e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.486135e-01  3.023039e-01
+ 2.446193e-02  1.000000e-06 -2.616086e-01 -3.108068e-01 -1.742326e-08  8.643860e-08
+ 2.446193e-02  2.006944e-03 -2.612297e-01 -3.107005e-01 -7.168254e-08 -1.888386e-08
+ 2.446193e-02  2.837833e-03 -2.608662e-01 -3.105511e-01  1.301127e-05 -3.939987e-05
+ 2.446193e-02  3.475396e-03 -2.604806e-01 -3.104714e-01  2.191815e-09 -9.645276e-09
+ 2.446193e-02  4.012887e-03 -2.601078e-01 -3.103582e-01 -8.087271e-08 -6.008650e-08
+ 2.446193e-02  4.486426e-03 -2.597381e-01 -3.102443e-01 -3.465513e-08  3.234563e-08
+ 2.446193e-02  4.914538e-03 -2.593706e-01 -3.101300e-01 -4.382096e-07 -4.036412e-07
+ 2.446193e-02  5.308228e-03 -2.590046e-01 -3.100160e-01  2.487610e-06  9.915111e-07
+ 2.446193e-02  5.674665e-03 -2.586455e-01 -3.099055e-01 -2.176744e-07 -9.404426e-08
+ 2.446193e-02  6.018831e-03 -2.582875e-01 -3.097964e-01 -1.091466e-07  1.981509e-09
+ 2.446193e-02  6.344350e-03 -2.579334e-01 -3.096891e-01  1.966165e-09 -9.215368e-09
+ 2.446193e-02  6.653962e-03 -2.575825e-01 -3.095808e-01 -5.290056e-08 -6.184018e-08
+ 2.446193e-02  6.949792e-03 -2.572350e-01 -3.094620e-01  3.358704e-07 -9.994083e-07
+ 2.446193e-02  7.233532e-03 -2.568640e-01 -3.093172e-01 -7.266838e-07 -5.536709e-07
+ 2.446193e-02  7.506553e-03 -2.565318e-01 -3.094108e-01 -2.018841e-05 -1.121618e-04
+ 2.446193e-02  7.769986e-03 -2.557477e-01 -3.082071e-01  4.973024e-04  1.094235e-03
+ 2.446193e-02  8.024774e-03 -2.546721e-01 -3.066469e-01  1.577999e-05  3.823498e-05
+ 2.446193e-02  8.271717e-03 -2.543063e-01 -3.065149e-01 -9.339866e-06 -2.519546e-05
+ 2.446193e-02  8.511498e-03 -2.538755e-01 -3.062848e-01  3.101046e-05  6.361217e-05
+ 2.446193e-02  8.744705e-03 -2.535361e-01 -3.062328e-01  4.793081e-05  1.060833e-04
+ 2.446193e-02  8.971852e-03 -2.531652e-01 -3.061025e-01 -9.913711e-07 -2.401928e-06
+ 2.446193e-02  9.193388e-03 -2.527111e-01 -3.057992e-01  5.954203e-06  1.995579e-06
+ 2.446193e-02  9.409709e-03 -2.522218e-01 -3.054758e-01 -4.430488e-05 -7.726728e-05
+ 2.446193e-02  9.621167e-03 -2.520123e-01 -3.056209e-01 -4.547635e-06  1.596847e-05
+ 2.446193e-02  9.828076e-03 -2.513940e-01 -3.048705e-01 -2.236067e-05  2.041847e-05
+ 2.446193e-02  1.003072e-02 -2.512493e-01 -3.052601e-01  1.989741e-04  3.947505e-04
+ 2.446193e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.514483e-01  3.056548e-01
+ 2.446193e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.514483e-01  3.056548e-01
+ 2.446193e-02  1.061546e-02 -2.499613e-01 -3.047862e-01  1.303534e-05  6.865233e-04
+ 2.446193e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.499743e-01  3.054727e-01
+ 2.446193e-02  1.098801e-02 -2.488611e-01 -3.041504e-01 -4.630664e-04 -1.024806e-03
+ 2.446193e-02  1.116962e-02 -2.488431e-01 -3.041508e-01  5.736242e-06 -5.658626e-06
+ 2.446193e-02  1.134833e-02 -2.484384e-01 -3.041842e-01 -2.902719e-06  9.423400e-05
+ 2.446193e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.484355e-01  3.042784e-01
+ 2.446193e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.484355e-01  3.042784e-01
+ 2.446193e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.484355e-01  3.042784e-01
+ 2.446193e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.484355e-01  3.042784e-01
+ 2.446193e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.484355e-01  3.042784e-01
+ 2.446193e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.484355e-01  3.042784e-01
+ 2.446193e-02  1.252811e-02 -2.456358e-01 -3.017450e-01 -2.059692e-04  8.235914e-05
+ 2.446193e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.454299e-01  3.018273e-01
+ 2.446193e-02  1.487748e-02 -2.436368e-01 -3.016468e-01 -2.436368e-01 -3.016468e-01
+ 2.446193e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.446193e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.000000e-06 -2.616961e-01 -3.105722e-01 -6.798860e-08 -6.505743e-08
+ 2.454388e-02  2.006944e-03 -2.613158e-01 -3.104645e-01 -7.456713e-09 -1.036045e-07
+ 2.454388e-02  2.837833e-03 -2.609332e-01 -3.103681e-01 -1.602954e-08  5.142184e-08
+ 2.454388e-02  3.475396e-03 -2.605638e-01 -3.102339e-01 -1.461418e-08 -2.572140e-08
+ 2.454388e-02  4.012887e-03 -2.601897e-01 -3.101216e-01  5.769033e-08  7.405945e-08
+ 2.454388e-02  4.486426e-03 -2.598183e-01 -3.100080e-01 -2.186094e-07 -9.033362e-08
+ 2.454388e-02  4.914538e-03 -2.594487e-01 -3.098940e-01  1.993002e-06  9.506372e-07
+ 2.454388e-02  5.308228e-03 -2.590851e-01 -3.097831e-01 -4.543536e-07 -2.083997e-07
+ 2.454388e-02  5.674665e-03 -2.587232e-01 -3.096736e-01 -3.631291e-08  1.511601e-08
+ 2.454388e-02  6.018831e-03 -2.583653e-01 -3.095668e-01 -7.557440e-08 -4.423293e-09
+ 2.454388e-02  6.344350e-03 -2.580111e-01 -3.094614e-01  1.746010e-08  8.694083e-09
+ 2.454388e-02  6.653962e-03 -2.576588e-01 -3.093532e-01 -2.182785e-07 -1.678586e-07
+ 2.454388e-02  6.949792e-03 -2.573061e-01 -3.092304e-01 -4.135262e-07 -2.337090e-07
+ 2.454388e-02  7.233532e-03 -2.568959e-01 -3.090775e-01  2.814951e-05  4.273891e-06
+ 2.454388e-02  7.506553e-03 -2.564429e-01 -3.087505e-01  8.263749e-05  1.547116e-04
+ 2.454388e-02  7.769986e-03 -2.551727e-01 -3.066864e-01  1.712866e-05  3.295461e-05
+ 2.454388e-02  8.024774e-03 -2.547794e-01 -3.065325e-01 -2.945436e-05 -4.755788e-05
+ 2.454388e-02  8.271717e-03 -2.542947e-01 -3.062681e-01  2.313049e-04  2.912090e-04
+ 2.454388e-02  8.511498e-03 -2.538438e-01 -3.059880e-01  7.610149e-05  7.328888e-05
+ 2.454388e-02  8.744705e-03 -2.536563e-01 -3.060917e-01 -8.581677e-05 -1.340638e-04
+ 2.454388e-02  8.971852e-03 -2.531637e-01 -3.057183e-01  6.705206e-06 -4.695816e-06
+ 2.454388e-02  9.193388e-03 -2.526991e-01 -3.053872e-01 -1.616316e-04 -3.202228e-04
+ 2.454388e-02  9.409709e-03 -2.524040e-01 -3.054867e-01  9.550002e-05  2.367044e-04
+ 2.454388e-02  9.621167e-03 -2.519482e-01 -3.051695e-01 -2.833628e-05 -1.881851e-05
+ 2.454388e-02  9.828076e-03 -2.510408e-01 -3.042853e-01  1.624276e-04  6.493418e-05
+ 2.454388e-02  1.003072e-02 -2.513186e-01 -3.049438e-01  1.605615e-04  2.223218e-04
+ 2.454388e-02  1.022935e-02 -2.500681e-01 -3.039870e-01 -2.500681e-01 -3.039870e-01
+ 2.454388e-02  1.042419e-02 -2.500642e-01 -3.041388e-01 -6.761720e-05 -3.360345e-04
+ 2.454388e-02  1.061546e-02 -2.499924e-01 -3.053917e-01  6.817181e-06  2.622356e-04
+ 2.454388e-02  1.080334e-02 -2.494962e-01 -3.039961e-01  3.906154e-04  1.323949e-03
+ 2.454388e-02  1.098801e-02 -2.490342e-01 -3.039854e-01  3.923028e-05  4.594443e-05
+ 2.454388e-02  1.116962e-02 -2.488692e-01 -3.041459e-01  4.396624e-05  2.040140e-04
+ 2.454388e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.489132e-01  3.043499e-01
+ 2.454388e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.489132e-01  3.043499e-01
+ 2.454388e-02  1.169756e-02 -2.470636e-01 -3.046293e-01 -2.470636e-01 -3.046293e-01
+ 2.454388e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.454388e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.462555e-02  1.000000e-06 -2.617802e-01 -3.103316e-01 -2.887468e-08 -2.728656e-07
+ 2.462555e-02  2.006944e-03 -2.613985e-01 -3.102226e-01  7.598498e-09 -3.422226e-08
+ 2.462555e-02  2.837833e-03 -2.610175e-01 -3.101162e-01 -3.780726e-10 -6.163771e-09
+ 2.462555e-02  3.475396e-03 -2.606440e-01 -3.099899e-01  6.102633e-08  6.621882e-08
+ 2.462555e-02  4.012887e-03 -2.602682e-01 -3.098788e-01 -1.254821e-07 -3.530406e-08
+ 2.462555e-02  4.486426e-03 -2.598950e-01 -3.097658e-01  1.178064e-06  5.826405e-07
+ 2.462555e-02  4.914538e-03 -2.595267e-01 -3.096541e-01 -5.041304e-07 -2.131545e-07
+ 2.462555e-02  5.308228e-03 -2.591608e-01 -3.095438e-01  9.524861e-08  1.584101e-07
+ 2.462555e-02  5.674665e-03 -2.587991e-01 -3.094369e-01 -1.399882e-07 -2.325562e-08
+ 2.462555e-02  6.018831e-03 -2.584411e-01 -3.093324e-01  2.764140e-08  1.525422e-09
+ 2.462555e-02  6.344350e-03 -2.580866e-01 -3.092284e-01 -4.254572e-08 -1.433059e-08
+ 2.462555e-02  6.653962e-03 -2.577336e-01 -3.091191e-01 -1.238518e-07 -6.991957e-08
+ 2.462555e-02  6.949792e-03 -2.573724e-01 -3.089842e-01  6.352148e-07  1.503984e-06
+ 2.462555e-02  7.233532e-03 -2.569847e-01 -3.087451e-01 -1.312350e-06 -2.957227e-06
+ 2.462555e-02  7.506553e-03 -2.564694e-01 -3.082991e-01 -7.491267e-04 -1.591336e-03
+ 2.462555e-02  7.769986e-03 -2.551672e-01 -3.063242e-01 -7.633304e-05 -2.014956e-04
+ 2.462555e-02  8.024774e-03 -2.547666e-01 -3.061610e-01  1.004319e-05  3.408748e-05
+ 2.462555e-02  8.271717e-03 -2.543920e-01 -3.060423e-01  2.848733e-06  6.056243e-06
+ 2.462555e-02  8.511498e-03 -2.539690e-01 -3.058204e-01 -8.867410e-07  6.823813e-07
+ 2.462555e-02  8.744705e-03 -2.535577e-01 -3.056428e-01 -8.546079e-08 -5.837795e-07
+ 2.462555e-02  8.971852e-03 -2.531192e-01 -3.053908e-01  2.797395e-06  5.900979e-06
+ 2.462555e-02  9.193388e-03 -2.527142e-01 -3.051788e-01  2.760546e-05  3.097198e-05
+ 2.462555e-02  9.409709e-03 -2.525951e-01 -3.054695e-01 -2.320172e-05 -1.513662e-04
+ 2.462555e-02  9.621167e-03 -2.519959e-01 -3.049447e-01 -4.682102e-05 -5.862016e-05
+ 2.462555e-02  9.828076e-03 -2.512801e-01 -3.042689e-01  4.372838e-04  7.403671e-04
+ 2.462555e-02  1.003072e-02 -2.511327e-01 -3.043132e-01  5.099241e-04  7.416730e-04
+ 2.462555e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.516426e-01  3.050548e-01
+ 2.462555e-02  1.042419e-02 -2.503558e-01 -3.032462e-01 -1.042358e-03 -1.530994e-03
+ 2.462555e-02  1.061546e-02 -2.500043e-01 -3.049346e-01 -2.194889e-04 -5.213875e-05
+ 2.462555e-02  1.080334e-02 -2.498672e-01 -3.050689e-01 -3.530204e-04 -4.070011e-04
+ 2.462555e-02  1.098801e-02 -2.492145e-01 -3.039431e-01 -6.675252e-05 -1.606311e-05
+ 2.462555e-02  1.116962e-02 -2.490501e-01 -3.043179e-01  7.039656e-04  4.088244e-04
+ 2.462555e-02  1.134833e-02 -2.485052e-01 -3.045463e-01  1.605346e-04  2.343319e-04
+ 2.462555e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.486657e-01  3.047806e-01
+ 2.462555e-02  1.169756e-02 -2.480830e-01 -3.039660e-01 -2.242217e-05  2.500548e-04
+ 2.462555e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.462555e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.480606e-01  3.042161e-01
+ 2.470696e-02  1.000000e-06 -2.618610e-01 -3.100850e-01  1.187786e-08 -2.390000e-07
+ 2.470696e-02  2.006944e-03 -2.614779e-01 -3.099748e-01 -1.597553e-09  2.864626e-07
+ 2.470696e-02  2.837833e-03 -2.610963e-01 -3.098656e-01  2.680941e-08  3.950520e-08
+ 2.470696e-02  3.475396e-03 -2.607212e-01 -3.097383e-01 -2.661909e-08  3.376526e-08
+ 2.470696e-02  4.012887e-03 -2.603433e-01 -3.096299e-01  3.417717e-07  2.023351e-07
+ 2.470696e-02  4.486426e-03 -2.599704e-01 -3.095188e-01 -3.151669e-07 -1.401836e-07
+ 2.470696e-02  4.914538e-03 -2.596005e-01 -3.094079e-01 -5.850129e-08 -2.286501e-08
+ 2.470696e-02  5.308228e-03 -2.592346e-01 -3.093000e-01 -1.754395e-07 -1.230359e-07
+ 2.470696e-02  5.674665e-03 -2.588727e-01 -3.091953e-01 -3.025270e-08  9.222410e-09
+ 2.470696e-02  6.018831e-03 -2.585148e-01 -3.090929e-01  9.420310e-09  2.508763e-08
+ 2.470696e-02  6.344350e-03 -2.581599e-01 -3.089896e-01 -4.555083e-08  4.475964e-08
+ 2.470696e-02  6.653962e-03 -2.578045e-01 -3.088760e-01 -2.367561e-07  2.649441e-08
+ 2.470696e-02  6.949792e-03 -2.574394e-01 -3.087263e-01 -2.123796e-07 -5.104384e-08
+ 2.470696e-02  7.233532e-03 -2.570292e-01 -3.084457e-01 -2.922216e-06 -6.811813e-06
+ 2.470696e-02  7.506553e-03 -2.557382e-01 -3.064358e-01 -3.202681e-05 -6.525870e-05
+ 2.470696e-02  7.769986e-03 -2.553135e-01 -3.061966e-01  1.080763e-05  2.773393e-05
+ 2.470696e-02  8.024774e-03 -2.548263e-01 -3.059520e-01  1.010595e-05  3.056092e-05
+ 2.470696e-02  8.271717e-03 -2.544088e-01 -3.057395e-01  2.472056e-06  8.048450e-06
+ 2.470696e-02  8.511498e-03 -2.539852e-01 -3.055055e-01  2.564523e-05  5.698135e-05
+ 2.470696e-02  8.744705e-03 -2.535812e-01 -3.053467e-01  6.230521e-07  1.172006e-06
+ 2.470696e-02  8.971852e-03 -2.530411e-01 -3.049167e-01  3.390944e-05  6.551344e-05
+ 2.470696e-02  9.193388e-03 -2.527415e-01 -3.048644e-01  3.211032e-05  9.387287e-05
+ 2.470696e-02  9.409709e-03 -2.523645e-01 -3.048118e-01  1.048826e-05  2.820181e-05
+ 2.470696e-02  9.621167e-03 -2.517362e-01 -3.043866e-01  2.986710e-06 -1.492354e-04
+ 2.470696e-02  9.828076e-03 -2.513868e-01 -3.040379e-01 -4.421283e-05 -5.259778e-05
+ 2.470696e-02  1.003072e-02 -2.499543e-01 -3.036746e-01 -2.499543e-01 -3.036746e-01
+ 2.470696e-02  1.022935e-02 -2.496034e-01 -3.009250e-01 -2.496034e-01 -3.009250e-01
+ 2.470696e-02  1.042419e-02 -2.497284e-01 -3.040945e-01 -2.497284e-01 -3.040945e-01
+ 2.470696e-02  1.061546e-02 -2.499969e-01 -3.047700e-01  3.560270e-07  1.375029e-04
+ 2.470696e-02  1.080334e-02 -2.500598e-01 -3.052136e-01 -1.128281e-04 -3.028637e-04
+ 2.470696e-02  1.098801e-02 -2.499886e-01 -3.048045e-01 -3.522448e-04 -7.275355e-04
+ 2.470696e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.496364e-01  3.040770e-01
+ 2.470696e-02  1.134833e-02 -2.474892e-01 -3.026666e-01  9.948587e-04  1.948096e-03
+ 2.470696e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.470696e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.484840e-01  3.046147e-01
+ 2.478809e-02  1.000000e-06 -2.619384e-01 -3.098322e-01 -3.347819e-10  2.104146e-08
+ 2.478809e-02  2.006944e-03 -2.615539e-01 -3.097209e-01 -4.154361e-09  1.916344e-07
+ 2.478809e-02  2.837833e-03 -2.611713e-01 -3.096101e-01 -2.918193e-08  3.531590e-09
+ 2.478809e-02  3.475396e-03 -2.607961e-01 -3.094760e-01  8.488254e-07 -4.321752e-06
+ 2.478809e-02  4.012887e-03 -2.604162e-01 -3.093755e-01 -5.830183e-08 -3.407998e-08
+ 2.478809e-02  4.486426e-03 -2.600421e-01 -3.092659e-01 -8.571775e-08 -4.302412e-09
+ 2.478809e-02  4.914538e-03 -2.596720e-01 -3.091565e-01 -5.677598e-08 -2.386266e-09
+ 2.478809e-02  5.308228e-03 -2.593059e-01 -3.090508e-01 -3.180648e-08  9.693463e-08
+ 2.478809e-02  5.674665e-03 -2.589443e-01 -3.089487e-01  1.105047e-08 -4.293178e-09
+ 2.478809e-02  6.018831e-03 -2.585866e-01 -3.088483e-01  2.515259e-09  1.603823e-09
+ 2.478809e-02  6.344350e-03 -2.582310e-01 -3.087442e-01 -1.981274e-07 -2.426594e-08
+ 2.478809e-02  6.653962e-03 -2.578719e-01 -3.086218e-01  7.188131e-07  1.174857e-06
+ 2.478809e-02  6.949792e-03 -2.574868e-01 -3.084248e-01  1.003722e-06  2.165151e-06
+ 2.478809e-02  7.233532e-03 -2.569130e-01 -3.079173e-01 -2.380343e-04 -4.209969e-04
+ 2.478809e-02  7.506553e-03 -2.557272e-01 -3.060349e-01 -1.401306e-05 -1.911927e-04
+ 2.478809e-02  7.769986e-03 -2.553075e-01 -3.058678e-01 -1.476925e-06 -4.199947e-06
+ 2.478809e-02  8.024774e-03 -2.549299e-01 -3.057249e-01 -6.915945e-07 -2.149842e-06
+ 2.478809e-02  8.271717e-03 -2.544796e-01 -3.055781e-01 -7.509893e-05 -1.315227e-04
+ 2.478809e-02  8.511498e-03 -2.540845e-01 -3.053877e-01  1.766274e-06  4.487930e-06
+ 2.478809e-02  8.744705e-03 -2.536075e-01 -3.050663e-01 -8.086030e-05 -1.816655e-04
+ 2.478809e-02  8.971852e-03 -2.532272e-01 -3.049110e-01  9.705271e-06 -3.786679e-06
+ 2.478809e-02  9.193388e-03 -2.528213e-01 -3.047462e-01 -7.932063e-07 -7.464132e-07
+ 2.478809e-02  9.409709e-03 -2.523864e-01 -3.045180e-01  7.850470e-06  2.998969e-05
+ 2.478809e-02  9.621167e-03 -2.516815e-01 -3.037500e-01 -5.231560e-04 -8.991985e-04
+ 2.478809e-02  9.828076e-03 -2.514744e-01 -3.040529e-01  3.016601e-04  9.786641e-04
+ 2.478809e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.517760e-01  3.050316e-01
+ 2.478809e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.517760e-01  3.050316e-01
+ 2.478809e-02  1.042419e-02 -2.496696e-01 -3.016103e-01  1.452359e-03  2.237541e-03
+ 2.478809e-02  1.061546e-02 -2.499280e-01 -3.046897e-01  2.143065e-04  9.223906e-04
+ 2.478809e-02  1.080334e-02 -2.494535e-01 -3.034201e-01  6.127130e-04  2.277533e-03
+ 2.478809e-02  1.098801e-02 -2.498746e-01 -3.041310e-01  5.765247e-05  5.712491e-04
+ 2.478809e-02  1.116962e-02 -2.491454e-01 -3.038212e-01  3.753458e-04  5.261636e-04
+ 2.478809e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.495207e-01  3.043474e-01
+ 2.478809e-02  1.152427e-02 -2.483898e-01 -3.040624e-01 -2.483898e-01 -3.040624e-01
+ 2.478809e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.629736e-02 -2.454163e-01 -3.023792e-01 -2.454163e-01 -3.023792e-01
+ 2.478809e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.478809e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.000000e-06 -2.620125e-01 -3.095733e-01  6.930434e-09 -9.955730e-08
+ 2.486897e-02  2.006944e-03 -2.616267e-01 -3.094609e-01 -3.496659e-08 -6.181623e-08
+ 2.486897e-02  2.837833e-03 -2.612430e-01 -3.093488e-01 -1.089858e-07 -4.917361e-08
+ 2.486897e-02  3.475396e-03 -2.608675e-01 -3.092095e-01  7.284730e-06 -3.478106e-05
+ 2.486897e-02  4.012887e-03 -2.604859e-01 -3.091149e-01 -2.438884e-08 -3.508394e-09
+ 2.486897e-02  4.486426e-03 -2.601112e-01 -3.090088e-01 -2.229854e-08 -3.663413e-07
+ 2.486897e-02  4.914538e-03 -2.597409e-01 -3.088998e-01 -1.131668e-07 -1.491879e-08
+ 2.486897e-02  5.308228e-03 -2.593752e-01 -3.087970e-01 -1.482656e-07 -2.235966e-07
+ 2.486897e-02  5.674665e-03 -2.590139e-01 -3.086972e-01 -2.047803e-09 -1.616844e-08
+ 2.486897e-02  6.018831e-03 -2.586564e-01 -3.085980e-01 -1.796866e-08  5.421772e-09
+ 2.486897e-02  6.344350e-03 -2.582990e-01 -3.084903e-01  1.152400e-07  1.328048e-07
+ 2.486897e-02  6.653962e-03 -2.579327e-01 -3.083493e-01 -3.947971e-08  1.377454e-08
+ 2.486897e-02  6.949792e-03 -2.574885e-01 -3.080019e-01  4.111397e-06  1.025528e-05
+ 2.486897e-02  7.233532e-03 -2.563567e-01 -3.062241e-01  4.082242e-04  1.166426e-03
+ 2.486897e-02  7.506553e-03 -2.558158e-01 -3.059184e-01  2.208702e-05  3.785902e-05
+ 2.486897e-02  7.769986e-03 -2.554057e-01 -3.056911e-01  2.223994e-06  1.848143e-06
+ 2.486897e-02  8.024774e-03 -2.549284e-01 -3.053975e-01 -6.654413e-06 -8.971139e-06
+ 2.486897e-02  8.271717e-03 -2.545505e-01 -3.052521e-01  2.366674e-06  5.978633e-06
+ 2.486897e-02  8.511498e-03 -2.540293e-01 -3.049836e-01 -9.127841e-06 -1.099129e-05
+ 2.486897e-02  8.744705e-03 -2.535843e-01 -3.046995e-01 -1.825354e-06 -1.075859e-06
+ 2.486897e-02  8.971852e-03 -2.532483e-01 -3.046487e-01  2.500305e-06 -1.225130e-06
+ 2.486897e-02  9.193388e-03 -2.528829e-01 -3.045421e-01  1.267478e-05  3.576015e-05
+ 2.486897e-02  9.409709e-03 -2.523997e-01 -3.042259e-01 -1.416128e-05 -1.767867e-05
+ 2.486897e-02  9.621167e-03 -2.516188e-01 -3.032545e-01  6.507031e-05  5.342652e-05
+ 2.486897e-02  9.828076e-03 -2.511165e-01 -3.031357e-01 -2.511165e-01 -3.031357e-01
+ 2.486897e-02  1.003072e-02 -2.501632e-01 -3.034166e-01 -2.501632e-01 -3.034166e-01
+ 2.486897e-02  1.022935e-02 -2.497063e-01 -3.018481e-01 -2.497063e-01 -3.018481e-01
+ 2.486897e-02  1.042419e-02 -2.488781e-01 -3.004717e-01 -2.488781e-01 -3.004717e-01
+ 2.486897e-02  1.061546e-02 -2.499954e-01 -3.029976e-01  5.981068e-07 -1.330332e-03
+ 2.486897e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.499960e-01  3.016672e-01
+ 2.486897e-02  1.098801e-02 -2.498948e-01 -3.037020e-01 -3.237089e-03 -3.992025e-03
+ 2.486897e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.466577e-01  2.997100e-01
+ 2.486897e-02  1.134833e-02 -2.482273e-01 -3.009175e-01 -2.482273e-01 -3.009175e-01
+ 2.486897e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.486897e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.000000e-06 -2.620834e-01 -3.093080e-01 -3.608278e-09  3.995531e-08
+ 2.494957e-02  2.006944e-03 -2.616963e-01 -3.091947e-01 -6.415980e-08  1.197944e-07
+ 2.494957e-02  2.837833e-03 -2.613115e-01 -3.090817e-01 -1.459892e-08 -6.407764e-09
+ 2.494957e-02  3.475396e-03 -2.609245e-01 -3.089948e-01  2.732483e-06 -1.410858e-05
+ 2.494957e-02  4.012887e-03 -2.605527e-01 -3.088481e-01  3.341780e-09 -3.885259e-09
+ 2.494957e-02  4.486426e-03 -2.601777e-01 -3.087462e-01 -1.275752e-07  5.995918e-06
+ 2.494957e-02  4.914538e-03 -2.598075e-01 -3.086379e-01 -7.334451e-08  5.319583e-09
+ 2.494957e-02  5.308228e-03 -2.594421e-01 -3.085375e-01  4.117404e-08  6.268583e-08
+ 2.494957e-02  5.674665e-03 -2.590816e-01 -3.084406e-01  9.713407e-09  1.065471e-08
+ 2.494957e-02  6.018831e-03 -2.587240e-01 -3.083413e-01 -6.069058e-08  8.280139e-08
+ 2.494957e-02  6.344350e-03 -2.583642e-01 -3.082256e-01 -1.132856e-07  8.339111e-08
+ 2.494957e-02  6.653962e-03 -2.579813e-01 -3.080423e-01  1.963548e-07  5.498595e-07
+ 2.494957e-02  6.949792e-03 -2.566883e-01 -3.058726e-01 -2.117302e-04 -5.151879e-04
+ 2.494957e-02  7.233532e-03 -2.560964e-01 -3.051057e-01 -5.783438e-05 -4.401180e-04
+ 2.494957e-02  7.506553e-03 -2.558121e-01 -3.055644e-01  6.807053e-06  6.088561e-06
+ 2.494957e-02  7.769986e-03 -2.554376e-01 -3.051401e-01 -2.402563e-06  1.794346e-04
+ 2.494957e-02  8.024774e-03 -2.549931e-01 -3.051678e-01  3.547697e-06  6.524092e-06
+ 2.494957e-02  8.271717e-03 -2.545752e-01 -3.049748e-01  8.563873e-07  1.169377e-06
+ 2.494957e-02  8.511498e-03 -2.541463e-01 -3.047369e-01  2.101564e-06  4.374578e-06
+ 2.494957e-02  8.744705e-03 -2.537091e-01 -3.046159e-01  2.956672e-05  1.244743e-04
+ 2.494957e-02  8.971852e-03 -2.532572e-01 -3.043436e-01 -5.303072e-06 -7.240122e-06
+ 2.494957e-02  9.193388e-03 -2.529687e-01 -3.044176e-01 -1.565838e-05 -1.649894e-05
+ 2.494957e-02  9.409709e-03 -2.523060e-01 -3.037699e-01  1.234085e-06  4.230812e-06
+ 2.494957e-02  9.621167e-03 -2.514775e-01 -3.027088e-01  2.295666e-04  7.081817e-04
+ 2.494957e-02  9.828076e-03 -2.512330e-01 -3.029575e-01  1.775399e-05 -8.070614e-06
+ 2.494957e-02  1.003072e-02 -2.511029e-01 -3.029597e-01  7.639889e-05  1.599989e-04
+ 2.494957e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.511793e-01  3.031197e-01
+ 2.494957e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.511793e-01  3.031197e-01
+ 2.494957e-02  1.061546e-02 -2.500378e-01 -3.028729e-01 -2.500378e-01 -3.028729e-01
+ 2.494957e-02  1.080334e-02 -2.500389e-01 -3.031979e-01  5.385493e-04  9.130093e-04
+ 2.494957e-02  1.098801e-02 -2.499486e-01 -3.032782e-01 -2.499486e-01 -3.032782e-01
+ 2.494957e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.494957e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.000000e-06 -2.621510e-01 -3.090366e-01 -5.039867e-08 -9.830506e-09
+ 2.502992e-02  2.006944e-03 -2.617625e-01 -3.089223e-01 -9.092931e-08 -4.712711e-08
+ 2.502992e-02  2.837833e-03 -2.613767e-01 -3.088084e-01  8.119673e-09  6.392995e-09
+ 2.502992e-02  3.475396e-03 -2.609926e-01 -3.087034e-01 -6.931766e-09  4.311321e-08
+ 2.502992e-02  4.012887e-03 -2.606167e-01 -3.085750e-01 -9.871836e-09 -1.832901e-09
+ 2.502992e-02  4.486426e-03 -2.602416e-01 -3.084691e-01 -3.600913e-07 -1.506114e-05
+ 2.502992e-02  4.914538e-03 -2.598718e-01 -3.083709e-01 -5.485898e-09 -2.380610e-10
+ 2.502992e-02  5.308228e-03 -2.595072e-01 -3.082735e-01  4.896975e-10  1.279687e-08
+ 2.502992e-02  5.674665e-03 -2.591473e-01 -3.081782e-01  2.837404e-07  5.043843e-07
+ 2.502992e-02  6.018831e-03 -2.587890e-01 -3.080764e-01 -1.403767e-07  2.340005e-08
+ 2.502992e-02  6.344350e-03 -2.584225e-01 -3.079425e-01  1.089840e-07  2.755892e-07
+ 2.502992e-02  6.653962e-03 -2.579886e-01 -3.076242e-01  3.350429e-07  9.740285e-07
+ 2.502992e-02  6.949792e-03 -2.572653e-01 -3.070538e-01 -5.590677e-04 -1.483163e-03
+ 2.502992e-02  7.233532e-03 -2.562220e-01 -3.050602e-01  1.105312e-05  8.681333e-06
+ 2.502992e-02  7.506553e-03 -2.558701e-01 -3.053566e-01  5.817588e-06 -2.523382e-06
+ 2.502992e-02  7.769986e-03 -2.553662e-01 -3.051687e-01  4.734976e-06 -1.237208e-07
+ 2.502992e-02  8.024774e-03 -2.550274e-01 -3.048651e-01  1.699816e-07  4.149856e-07
+ 2.502992e-02  8.271717e-03 -2.545720e-01 -3.046298e-01  8.717408e-07 -2.083721e-06
+ 2.502992e-02  8.511498e-03 -2.541243e-01 -3.043802e-01  5.733722e-07  4.163482e-07
+ 2.502992e-02  8.744705e-03 -2.537817e-01 -3.042887e-01  7.955860e-07 -8.581718e-07
+ 2.502992e-02  8.971852e-03 -2.531554e-01 -3.038235e-01  2.426050e-05 -6.654135e-05
+ 2.502992e-02  9.193388e-03 -2.527473e-01 -3.036983e-01  7.226397e-05  9.429467e-05
+ 2.502992e-02  9.409709e-03 -2.524014e-01 -3.035986e-01  6.133698e-05  1.161185e-04
+ 2.502992e-02  9.621167e-03 -2.516556e-01 -3.027439e-01  2.392261e-05 -4.744107e-06
+ 2.502992e-02  9.828076e-03 -2.514040e-01 -3.028848e-01 -2.200063e-05 -4.958194e-06
+ 2.502992e-02  1.003072e-02 -2.510785e-01 -3.027519e-01 -2.510785e-01 -3.027519e-01
+ 2.502992e-02  1.022935e-02 -2.492915e-01 -3.000262e-01 -2.492915e-01 -3.000262e-01
+ 2.502992e-02  1.042419e-02 -2.500062e-01 -3.031168e-01 -2.500062e-01 -3.031168e-01
+ 2.502992e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.080334e-02 -2.499271e-01 -3.033749e-01 -9.900933e-04 -2.971018e-03
+ 2.502992e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.489370e-01  3.004038e-01
+ 2.502992e-02  1.783022e-02 -2.414661e-01 -3.043183e-01 -2.414661e-01 -3.043183e-01
+ 2.502992e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.502992e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.511002e-02  1.000000e-06 -2.622154e-01 -3.087588e-01 -5.371841e-08  3.813253e-09
+ 2.511002e-02  2.006944e-03 -2.618258e-01 -3.086432e-01  1.565392e-09 -5.223291e-09
+ 2.511002e-02  2.837833e-03 -2.614389e-01 -3.085288e-01  6.226677e-10 -1.349495e-08
+ 2.511002e-02  3.475396e-03 -2.610548e-01 -3.084210e-01  8.401303e-09  7.410027e-09
+ 2.511002e-02  4.012887e-03 -2.606781e-01 -3.082952e-01 -6.590542e-08 -2.276325e-08
+ 2.511002e-02  4.486426e-03 -2.603028e-01 -3.081882e-01  2.026039e-07  6.762999e-06
+ 2.511002e-02  4.914538e-03 -2.599340e-01 -3.080988e-01  4.095221e-09 -5.439979e-09
+ 2.511002e-02  5.308228e-03 -2.595705e-01 -3.080042e-01  4.122033e-08  4.188609e-08
+ 2.511002e-02  5.674665e-03 -2.592113e-01 -3.079098e-01 -3.291832e-08  1.546025e-07
+ 2.511002e-02  6.018831e-03 -2.588507e-01 -3.078003e-01 -1.909035e-08  1.526694e-07
+ 2.511002e-02  6.344350e-03 -2.584689e-01 -3.076237e-01 -5.854714e-08  4.973572e-09
+ 2.511002e-02  6.653962e-03 -2.572422e-01 -3.055860e-01 -2.959951e-04 -6.201272e-04
+ 2.511002e-02  6.949792e-03 -2.573864e-01 -3.069374e-01 -1.016744e-05  4.001025e-05
+ 2.511002e-02  7.233532e-03 -2.562767e-01 -3.049368e-01 -2.338713e-05  2.129324e-05
+ 2.511002e-02  7.506553e-03 -2.558980e-01 -3.050668e-01 -3.272031e-05 -6.582932e-05
+ 2.511002e-02  7.769986e-03 -2.554693e-01 -3.048681e-01 -9.129074e-08  1.941680e-07
+ 2.511002e-02  8.024774e-03 -2.551267e-01 -3.042947e-01  1.747652e-05  5.755669e-05
+ 2.511002e-02  8.271717e-03 -2.546027e-01 -3.043293e-01 -4.207643e-07 -3.848543e-07
+ 2.511002e-02  8.511498e-03 -2.542663e-01 -3.042917e-01  1.330938e-06  2.660258e-06
+ 2.511002e-02  8.744705e-03 -2.537630e-01 -3.039318e-01 -8.902546e-06 -1.554249e-05
+ 2.511002e-02  8.971852e-03 -2.532949e-01 -3.036807e-01  3.594371e-05  1.859431e-05
+ 2.511002e-02  9.193388e-03 -2.526280e-01 -3.032687e-01  1.100069e-04  1.381321e-04
+ 2.511002e-02  9.409709e-03 -2.524563e-01 -3.028698e-01  2.045609e-04  2.523864e-04
+ 2.511002e-02  9.621167e-03 -2.518723e-01 -3.029758e-01 -1.516850e-04 -2.578449e-04
+ 2.511002e-02  9.828076e-03 -2.519883e-01 -3.038023e-01  3.583849e-04  6.795709e-04
+ 2.511002e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.523467e-01  3.044819e-01
+ 2.511002e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.523467e-01  3.044819e-01
+ 2.511002e-02  1.042419e-02 -2.504066e-01 -3.020385e-01 -2.504066e-01 -3.020385e-01
+ 2.511002e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.511002e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.511002e-02  1.098801e-02 -2.495908e-01 -3.036110e-01 -1.074185e-03 -2.304835e-03
+ 2.511002e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.511002e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.485166e-01  3.013062e-01
+ 2.518986e-02  1.000000e-06 -2.622765e-01 -3.084744e-01 -1.759777e-08 -6.236000e-08
+ 2.518986e-02  2.006944e-03 -2.618857e-01 -3.083576e-01  5.786639e-09  1.032163e-08
+ 2.518986e-02  2.837833e-03 -2.614980e-01 -3.082430e-01  2.157220e-09 -1.349933e-08
+ 2.518986e-02  3.475396e-03 -2.611137e-01 -3.081342e-01 -2.039998e-08 -1.725592e-08
+ 2.518986e-02  4.012887e-03 -2.607370e-01 -3.080079e-01 -7.109902e-08 -4.827545e-08
+ 2.518986e-02  4.486426e-03 -2.603619e-01 -3.079087e-01  3.383901e-08  5.833493e-07
+ 2.518986e-02  4.914538e-03 -2.599944e-01 -3.078219e-01 -5.449080e-09 -1.458188e-09
+ 2.518986e-02  5.308228e-03 -2.596321e-01 -3.077292e-01  3.133928e-08  2.392546e-08
+ 2.518986e-02  5.674665e-03 -2.592728e-01 -3.076335e-01 -2.266875e-10  8.420674e-08
+ 2.518986e-02  6.018831e-03 -2.589065e-01 -3.075056e-01  4.162916e-08  1.314483e-07
+ 2.518986e-02  6.344350e-03 -2.584673e-01 -3.071736e-01  8.798892e-07  2.370454e-06
+ 2.518986e-02  6.653962e-03 -2.572769e-01 -3.053446e-01 -5.698116e-05 -1.268081e-04
+ 2.518986e-02  6.949792e-03 -2.568116e-01 -3.050957e-01  6.776021e-04  1.763805e-03
+ 2.518986e-02  7.233532e-03 -2.563530e-01 -3.047535e-01 -2.506552e-05 -4.202226e-05
+ 2.518986e-02  7.506553e-03 -2.559617e-01 -3.048952e-01  5.734388e-06 -6.710405e-06
+ 2.518986e-02  7.769986e-03 -2.555052e-01 -3.045665e-01  9.993334e-07 -1.464055e-07
+ 2.518986e-02  8.024774e-03 -2.550475e-01 -3.042903e-01  2.801473e-06 -8.063723e-06
+ 2.518986e-02  8.271717e-03 -2.546611e-01 -3.040631e-01  6.515100e-07 -1.446127e-07
+ 2.518986e-02  8.511498e-03 -2.542448e-01 -3.039020e-01 -1.467731e-06 -2.714700e-06
+ 2.518986e-02  8.744705e-03 -2.538096e-01 -3.036822e-01  4.887455e-06  8.833420e-06
+ 2.518986e-02  8.971852e-03 -2.534456e-01 -3.036369e-01 -7.582192e-05 -1.439351e-04
+ 2.518986e-02  9.193388e-03 -2.529361e-01 -3.032097e-01 -4.465288e-06  8.786681e-06
+ 2.518986e-02  9.409709e-03 -2.521850e-01 -3.024659e-01 -1.710071e-04  2.640335e-04
+ 2.518986e-02  9.621167e-03 -2.519170e-01 -3.026209e-01 -3.740142e-05  5.171632e-06
+ 2.518986e-02  9.828076e-03 -2.515141e-01 -3.025543e-01  8.815412e-05  2.077634e-04
+ 2.518986e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.516023e-01  3.027620e-01
+ 2.518986e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.516023e-01  3.027620e-01
+ 2.518986e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.516023e-01  3.027620e-01
+ 2.518986e-02  1.061546e-02 -2.501517e-01 -3.037637e-01 -1.528830e-04 -2.945704e-04
+ 2.518986e-02  1.080334e-02 -2.499823e-01 -3.035142e-01 -5.979370e-04  2.725797e-04
+ 2.518986e-02  1.098801e-02 -2.499420e-01 -3.033689e-01 -2.499420e-01 -3.033689e-01
+ 2.518986e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.518986e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.000000e-06 -2.623345e-01 -3.081834e-01  5.324304e-09  2.557686e-07
+ 2.526944e-02  2.006944e-03 -2.619426e-01 -3.080656e-01 -1.940143e-09 -1.710923e-08
+ 2.526944e-02  2.837833e-03 -2.615538e-01 -3.079512e-01  2.443352e-07 -4.593509e-07
+ 2.526944e-02  3.475396e-03 -2.611696e-01 -3.078420e-01 -5.922967e-08 -5.119866e-09
+ 2.526944e-02  4.012887e-03 -2.607938e-01 -3.077111e-01  3.833461e-07 -3.699639e-06
+ 2.526944e-02  4.486426e-03 -2.604190e-01 -3.076246e-01  9.424609e-08  1.090855e-06
+ 2.526944e-02  4.914538e-03 -2.600531e-01 -3.075401e-01  3.243914e-09  2.921856e-08
+ 2.526944e-02  5.308228e-03 -2.596923e-01 -3.074504e-01  7.836615e-08  8.283145e-07
+ 2.526944e-02  5.674665e-03 -2.593314e-01 -3.073460e-01 -3.749446e-08  3.740910e-08
+ 2.526944e-02  6.018831e-03 -2.589494e-01 -3.071722e-01  7.223253e-07  2.151042e-06
+ 2.526944e-02  6.344350e-03 -2.582287e-01 -3.063261e-01 -1.685943e-05  1.953213e-05
+ 2.526944e-02  6.653962e-03 -2.572636e-01 -3.049521e-01  5.076106e-04  1.144255e-03
+ 2.526944e-02  6.949792e-03 -2.568386e-01 -3.048059e-01  5.175400e-05  1.382462e-04
+ 2.526944e-02  7.233532e-03 -2.563728e-01 -3.044505e-01  1.010676e-05  3.554567e-06
+ 2.526944e-02  7.506553e-03 -2.560612e-01 -3.051364e-01  1.630318e-04  5.208529e-04
+ 2.526944e-02  7.769986e-03 -2.555204e-01 -3.042431e-01 -1.476560e-05 -2.384472e-05
+ 2.526944e-02  8.024774e-03 -2.549475e-01 -3.042182e-01 -2.360796e-05 -1.955918e-04
+ 2.526944e-02  8.271717e-03 -2.548310e-01 -3.035645e-01 -1.022257e-05  6.247217e-05
+ 2.526944e-02  8.511498e-03 -2.542483e-01 -3.035402e-01  5.086483e-05  1.112278e-04
+ 2.526944e-02  8.744705e-03 -2.537028e-01 -3.031593e-01  2.642188e-05  4.422405e-05
+ 2.526944e-02  8.971852e-03 -2.532695e-01 -3.029488e-01 -1.537372e-06 -1.787345e-06
+ 2.526944e-02  9.193388e-03 -2.524823e-01 -3.022252e-01 -2.524823e-01 -3.022252e-01
+ 2.526944e-02  9.409709e-03 -2.523386e-01 -3.024060e-01  7.857268e-06 -5.278117e-06
+ 2.526944e-02  9.621167e-03 -2.521551e-01 -3.024938e-01 -4.232309e-05  2.861082e-05
+ 2.526944e-02  9.828076e-03 -2.519111e-01 -3.027700e-01  3.440497e-05  6.346269e-05
+ 2.526944e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.519455e-01  3.028335e-01
+ 2.526944e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.519455e-01  3.028335e-01
+ 2.526944e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.519455e-01  3.028335e-01
+ 2.526944e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.519455e-01  3.028335e-01
+ 2.526944e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.519455e-01  3.028335e-01
+ 2.526944e-02  1.098801e-02 -2.492115e-01 -3.027510e-01  1.125775e-03  1.263976e-03
+ 2.526944e-02  1.116962e-02 -2.480452e-01 -3.005161e-01 -2.480452e-01 -3.005161e-01
+ 2.526944e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.526944e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.000000e-06 -2.623893e-01 -3.078860e-01  2.887572e-09  2.772712e-08
+ 2.534878e-02  2.006944e-03 -2.619963e-01 -3.077670e-01  9.983873e-09 -3.788161e-09
+ 2.534878e-02  2.837833e-03 -2.616073e-01 -3.076517e-01 -7.015561e-09 -1.528483e-07
+ 2.534878e-02  3.475396e-03 -2.612228e-01 -3.075441e-01 -7.489825e-08 -1.323111e-08
+ 2.534878e-02  4.012887e-03 -2.608536e-01 -3.073503e-01  1.797742e-05 -1.970565e-04
+ 2.534878e-02  4.486426e-03 -2.604742e-01 -3.073337e-01 -1.318932e-07 -1.245984e-06
+ 2.534878e-02  4.914538e-03 -2.601105e-01 -3.072544e-01 -2.279399e-07 -1.156053e-06
+ 2.534878e-02  5.308228e-03 -2.597501e-01 -3.071614e-01 -1.049628e-07  3.344433e-08
+ 2.534878e-02  5.674665e-03 -2.593843e-01 -3.070393e-01 -8.681019e-09 -2.798205e-08
+ 2.534878e-02  6.018831e-03 -2.589297e-01 -3.066631e-01 -2.451231e-06 -6.556750e-06
+ 2.534878e-02  6.344350e-03 -2.577306e-01 -3.048449e-01  1.282703e-05  2.991308e-05
+ 2.534878e-02  6.653962e-03 -2.572932e-01 -3.046431e-01 -2.603624e-05 -5.941887e-05
+ 2.534878e-02  6.949792e-03 -2.569070e-01 -3.045859e-01  1.540413e-05  3.605899e-05
+ 2.534878e-02  7.233532e-03 -2.564403e-01 -3.042666e-01 -9.041899e-06 -2.679421e-05
+ 2.534878e-02  7.506553e-03 -2.560141e-01 -3.041254e-01 -2.749728e-07 -2.426786e-06
+ 2.534878e-02  7.769986e-03 -2.555681e-01 -3.039701e-01 -6.223054e-06 -9.018123e-06
+ 2.534878e-02  8.024774e-03 -2.551309e-01 -3.037871e-01 -3.510783e-07 -5.302832e-08
+ 2.534878e-02  8.271717e-03 -2.547070e-01 -3.034412e-01  5.328260e-06 -1.270882e-05
+ 2.534878e-02  8.511498e-03 -2.541976e-01 -3.030783e-01 -1.279538e-05 -2.070130e-05
+ 2.534878e-02  8.744705e-03 -2.537419e-01 -3.028609e-01  4.925070e-06  5.743041e-06
+ 2.534878e-02  8.971852e-03 -2.532320e-01 -3.025485e-01 -2.865047e-04 -4.572989e-04
+ 2.534878e-02  9.193388e-03 -2.527322e-01 -3.022064e-01 -3.806379e-04 -7.592493e-04
+ 2.534878e-02  9.409709e-03 -2.525111e-01 -3.023155e-01  5.385066e-06 -3.646836e-06
+ 2.534878e-02  9.621167e-03 -2.521848e-01 -3.021882e-01 -1.710653e-04 -3.680112e-04
+ 2.534878e-02  9.828076e-03 -2.515552e-01 -3.014595e-01 -2.515552e-01 -3.014595e-01
+ 2.534878e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.534878e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.542787e-02  1.000000e-06 -2.624410e-01 -3.075818e-01  9.028872e-11 -9.354120e-08
+ 2.542787e-02  2.006944e-03 -2.620469e-01 -3.074616e-01  7.311125e-09 -5.273809e-09
+ 2.542787e-02  2.837833e-03 -2.616574e-01 -3.073466e-01 -5.020484e-08 -5.454251e-09
+ 2.542787e-02  3.475396e-03 -2.612732e-01 -3.072404e-01 -5.444470e-08 -4.570833e-08
+ 2.542787e-02  4.012887e-03 -2.608887e-01 -3.072270e-01 -6.464481e-06  7.047117e-05
+ 2.542787e-02  4.486426e-03 -2.605276e-01 -3.070365e-01 -1.271486e-08 -1.502398e-07
+ 2.542787e-02  4.914538e-03 -2.601670e-01 -3.069661e-01 -9.045065e-07 -4.482477e-06
+ 2.542787e-02  5.308228e-03 -2.598052e-01 -3.068618e-01 -1.343525e-07 -5.044971e-08
+ 2.542787e-02  5.674665e-03 -2.594210e-01 -3.066828e-01 -5.089365e-08 -3.904028e-08
+ 2.542787e-02  6.018831e-03 -2.582946e-01 -3.049106e-01 -3.036313e-05 -5.972183e-05
+ 2.542787e-02  6.344350e-03 -2.578321e-01 -3.046922e-01 -2.617856e-06 -4.153919e-07
+ 2.542787e-02  6.653962e-03 -2.573429e-01 -3.043793e-01  3.364902e-07  9.454511e-07
+ 2.542787e-02  6.949792e-03 -2.569231e-01 -3.042525e-01  5.934847e-06  1.846181e-05
+ 2.542787e-02  7.233532e-03 -2.564718e-01 -3.039443e-01  1.957317e-06  1.081767e-05
+ 2.542787e-02  7.506553e-03 -2.560265e-01 -3.032993e-01 -6.608775e-05 -3.796306e-05
+ 2.542787e-02  7.769986e-03 -2.555918e-01 -3.036772e-01 -7.936402e-07 -1.562646e-06
+ 2.542787e-02  8.024774e-03 -2.551810e-01 -3.035106e-01 -1.447358e-06 -4.152608e-06
+ 2.542787e-02  8.271717e-03 -2.546765e-01 -3.033469e-01 -2.070645e-05 -6.138322e-06
+ 2.542787e-02  8.511498e-03 -2.542477e-01 -3.026661e-01 -6.795266e-06 -8.078984e-06
+ 2.542787e-02  8.744705e-03 -2.536462e-01 -3.022797e-01 -1.695029e-04 -3.158920e-04
+ 2.542787e-02  8.971852e-03 -2.531216e-01 -3.020105e-01  2.006755e-04  3.168091e-04
+ 2.542787e-02  9.193388e-03 -2.528802e-01 -3.021322e-01 -7.245591e-06  1.169877e-06
+ 2.542787e-02  9.409709e-03 -2.526436e-01 -3.022488e-01 -3.216207e-06  1.740078e-06
+ 2.542787e-02  9.621167e-03 -2.518501e-01 -3.012293e-01 -3.632592e-05  3.123109e-05
+ 2.542787e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.518138e-01  3.012605e-01
+ 2.542787e-02  1.003072e-02 -2.503028e-01 -2.985177e-01  1.701229e-03  2.489076e-03
+ 2.542787e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.542787e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.520041e-01  3.010068e-01
+ 2.550671e-02  1.000000e-06 -2.624895e-01 -3.072707e-01  5.397112e-09 -1.089339e-09
+ 2.550671e-02  2.006944e-03 -2.620945e-01 -3.071495e-01 -1.245921e-08 -6.900312e-09
+ 2.550671e-02  2.837833e-03 -2.617047e-01 -3.070350e-01 -6.837327e-08 -4.849968e-09
+ 2.550671e-02  3.475396e-03 -2.613211e-01 -3.069311e-01  8.603505e-08 -1.235655e-07
+ 2.550671e-02  4.012887e-03 -2.609448e-01 -3.068530e-01 -3.256838e-07  4.541142e-06
+ 2.550671e-02  4.486426e-03 -2.605796e-01 -3.067333e-01  1.289312e-08 -1.371872e-08
+ 2.550671e-02  4.914538e-03 -2.602175e-01 -3.066473e-01  5.165311e-07  3.211912e-06
+ 2.550671e-02  5.308228e-03 -2.598516e-01 -3.065320e-01  1.995601e-06  6.705618e-06
+ 2.550671e-02  5.674665e-03 -2.591578e-01 -3.056452e-01 -3.213781e-04 -7.256875e-04
+ 2.550671e-02  6.018831e-03 -2.582971e-01 -3.045565e-01 -3.579320e-07  5.624549e-08
+ 2.550671e-02  6.344350e-03 -2.578466e-01 -3.043495e-01 -1.259878e-07 -1.292676e-08
+ 2.550671e-02  6.653962e-03 -2.573907e-01 -3.041103e-01 -1.307175e-05 -1.668294e-05
+ 2.550671e-02  6.949792e-03 -2.569548e-01 -3.039343e-01 -3.116174e-06  7.174049e-07
+ 2.550671e-02  7.233532e-03 -2.565001e-01 -3.036422e-01  6.457645e-06  1.335245e-05
+ 2.550671e-02  7.506553e-03 -2.559882e-01 -3.032711e-01 -4.013802e-04 -2.408658e-03
+ 2.550671e-02  7.769986e-03 -2.556617e-01 -3.034616e-01  1.493086e-05  3.349364e-05
+ 2.550671e-02  8.024774e-03 -2.551572e-01 -3.031102e-01  9.001483e-06  9.796626e-06
+ 2.550671e-02  8.271717e-03 -2.544446e-01 -3.030708e-01 -1.122973e-04 -1.070256e-04
+ 2.550671e-02  8.511498e-03 -2.542655e-01 -3.023491e-01  1.760639e-05  4.356434e-05
+ 2.550671e-02  8.744705e-03 -2.535572e-01 -3.017960e-01 -6.325112e-06  6.460172e-07
+ 2.550671e-02  8.971852e-03 -2.532886e-01 -3.019300e-01 -5.440345e-06 -1.154185e-06
+ 2.550671e-02  9.193388e-03 -2.530485e-01 -3.020487e-01 -2.067341e-06  1.091796e-06
+ 2.550671e-02  9.409709e-03 -2.523505e-01 -3.012210e-01  3.700879e-04  8.961307e-04
+ 2.550671e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.550671e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.527206e-01  3.021172e-01
+ 2.558531e-02  1.000000e-06 -2.625350e-01 -3.069527e-01  5.304501e-09 -5.282720e-09
+ 2.558531e-02  2.006944e-03 -2.621391e-01 -3.068305e-01 -4.510739e-08 -9.205103e-10
+ 2.558531e-02  2.837833e-03 -2.617493e-01 -3.067169e-01 -4.803139e-08 -7.294933e-09
+ 2.558531e-02  3.475396e-03 -2.613673e-01 -3.066148e-01 -2.907821e-08  1.271138e-07
+ 2.558531e-02  4.012887e-03 -2.609936e-01 -3.065359e-01  2.404547e-09  6.404772e-08
+ 2.558531e-02  4.486426e-03 -2.606302e-01 -3.064231e-01 -2.155765e-08 -6.736033e-08
+ 2.558531e-02  4.914538e-03 -2.602692e-01 -3.063380e-01 -1.936381e-07 -5.782978e-07
+ 2.558531e-02  5.308228e-03 -2.598963e-01 -3.061945e-01  3.464785e-06  1.036553e-05
+ 2.558531e-02  5.674665e-03 -2.588146e-01 -3.045226e-01 -8.825592e-06 -1.454796e-05
+ 2.558531e-02  6.018831e-03 -2.583283e-01 -3.042556e-01 -9.192800e-07 -6.261746e-07
+ 2.558531e-02  6.344350e-03 -2.578830e-01 -3.040509e-01  5.121971e-07  1.186190e-06
+ 2.558531e-02  6.653962e-03 -2.574303e-01 -3.038107e-01  5.329950e-06  1.762218e-05
+ 2.558531e-02  6.949792e-03 -2.570124e-01 -3.036704e-01  7.151357e-07  2.039127e-08
+ 2.558531e-02  7.233532e-03 -2.565381e-01 -3.033529e-01 -6.175561e-07 -8.243158e-07
+ 2.558531e-02  7.506553e-03 -2.560928e-01 -3.030443e-01  1.058429e-06 -2.242934e-06
+ 2.558531e-02  7.769986e-03 -2.556647e-01 -3.031404e-01  4.424540e-06  9.314120e-06
+ 2.558531e-02  8.024774e-03 -2.552008e-01 -3.028175e-01  6.696265e-06  1.294433e-05
+ 2.558531e-02  8.271717e-03 -2.546697e-01 -3.025005e-01 -3.041663e-06 -4.350177e-06
+ 2.558531e-02  8.511498e-03 -2.541251e-01 -3.019823e-01  1.826047e-05  3.653641e-05
+ 2.558531e-02  8.744705e-03 -2.537461e-01 -3.017002e-01  9.748229e-07 -1.248712e-06
+ 2.558531e-02  8.971852e-03 -2.534562e-01 -3.018432e-01 -2.207071e-06 -2.753982e-07
+ 2.558531e-02  9.193388e-03 -2.532008e-01 -3.019729e-01 -1.981789e-05  9.850780e-06
+ 2.558531e-02  9.409709e-03 -2.525939e-01 -3.015487e-01 -2.525939e-01 -3.015487e-01
+ 2.558531e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.558531e-02  9.828076e-03 -2.522591e-01 -3.019625e-01  1.079479e-05  6.839152e-05
+ 2.558531e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.558531e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.522699e-01  3.020309e-01
+ 2.566367e-02  1.000000e-06 -2.625774e-01 -3.066277e-01 -1.019622e-08 -7.916834e-11
+ 2.566367e-02  2.006944e-03 -2.621807e-01 -3.065047e-01 -5.902602e-08 -1.156561e-08
+ 2.566367e-02  2.837833e-03 -2.617912e-01 -3.063925e-01 -1.728716e-08  1.569322e-08
+ 2.566367e-02  3.475396e-03 -2.614107e-01 -3.062948e-01  1.447660e-08  7.388770e-08
+ 2.566367e-02  4.012887e-03 -2.610409e-01 -3.062170e-01  6.858581e-08 -1.866374e-07
+ 2.566367e-02  4.486426e-03 -2.606788e-01 -3.061025e-01 -9.637556e-08 -3.093731e-07
+ 2.566367e-02  4.914538e-03 -2.603102e-01 -3.059886e-01 -2.022561e-07 -2.977655e-07
+ 2.566367e-02  5.308228e-03 -2.593529e-01 -3.045220e-01 -9.852935e-07 -2.778654e-06
+ 2.566367e-02  5.674665e-03 -2.588241e-01 -3.041805e-01 -8.597464e-07 -1.116285e-06
+ 2.566367e-02  6.018831e-03 -2.583749e-01 -3.039748e-01 -3.117857e-07 -4.666514e-07
+ 2.566367e-02  6.344350e-03 -2.579292e-01 -3.037675e-01 -5.606423e-07 -7.857734e-07
+ 2.566367e-02  6.653962e-03 -2.574727e-01 -3.035150e-01  8.230745e-06  2.494728e-05
+ 2.566367e-02  6.949792e-03 -2.570234e-01 -3.033183e-01  3.670605e-05  7.643722e-05
+ 2.566367e-02  7.233532e-03 -2.565045e-01 -3.029210e-01  2.370893e-06  5.351311e-06
+ 2.566367e-02  7.506553e-03 -2.561253e-01 -3.027673e-01  1.661056e-06  2.551496e-06
+ 2.566367e-02  7.769986e-03 -2.556987e-01 -3.028547e-01 -1.280375e-04 -3.260126e-04
+ 2.566367e-02  8.024774e-03 -2.551667e-01 -3.023901e-01 -8.072403e-07 -1.363921e-06
+ 2.566367e-02  8.271717e-03 -2.546618e-01 -3.020923e-01 -1.833636e-05 -2.859920e-05
+ 2.566367e-02  8.511498e-03 -2.539678e-01 -3.015875e-01 -3.266035e-06 -5.048413e-07
+ 2.566367e-02  8.744705e-03 -2.539691e-01 -3.015876e-01 -7.594364e-07 -3.488449e-07
+ 2.566367e-02  8.971852e-03 -2.536361e-01 -3.017540e-01  2.676533e-06 -3.999052e-06
+ 2.566367e-02  9.193388e-03 -2.529395e-01 -3.011504e-01 -3.516100e-05 -4.072997e-05
+ 2.566367e-02  9.409709e-03 -2.520019e-01 -2.999903e-01  1.223908e-04 -4.220187e-04
+ 2.566367e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.566367e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.521242e-01  2.995683e-01
+ 2.574179e-02  1.000000e-06 -2.626167e-01 -3.062956e-01 -3.335139e-08 -1.147986e-08
+ 2.574179e-02  2.006944e-03 -2.622194e-01 -3.061718e-01 -5.195786e-08 -4.660762e-09
+ 2.574179e-02  2.837833e-03 -2.618306e-01 -3.060618e-01  1.837517e-09 -9.790217e-09
+ 2.574179e-02  3.475396e-03 -2.614527e-01 -3.059693e-01  1.225677e-09  9.921393e-09
+ 2.574179e-02  4.012887e-03 -2.610872e-01 -3.058938e-01  6.431630e-08  8.751195e-08
+ 2.574179e-02  4.486426e-03 -2.607226e-01 -3.057592e-01 -2.698355e-07 -6.767191e-07
+ 2.574179e-02  4.914538e-03 -2.603520e-01 -3.056422e-01 -3.506447e-04 -8.395167e-04
+ 2.574179e-02  5.308228e-03 -2.593229e-01 -3.041088e-01  1.939927e-07  8.004526e-08
+ 2.574179e-02  5.674665e-03 -2.588616e-01 -3.038861e-01 -7.918578e-07 -4.619551e-07
+ 2.574179e-02  6.018831e-03 -2.584140e-01 -3.036790e-01 -3.494927e-06 -7.056627e-06
+ 2.574179e-02  6.344350e-03 -2.579691e-01 -3.034709e-01  5.478835e-06  1.533521e-05
+ 2.574179e-02  6.653962e-03 -2.575232e-01 -3.032521e-01  3.475089e-06  1.093367e-06
+ 2.574179e-02  6.949792e-03 -2.570684e-01 -3.030259e-01  1.736946e-06  3.287307e-06
+ 2.574179e-02  7.233532e-03 -2.566129e-01 -3.027553e-01 -6.516947e-07 -1.099916e-06
+ 2.574179e-02  7.506553e-03 -2.561368e-01 -3.024516e-01  1.473431e-05  1.635324e-05
+ 2.574179e-02  7.769986e-03 -2.557750e-01 -3.027549e-01 -1.231412e-06 -4.218268e-05
+ 2.574179e-02  8.024774e-03 -2.552208e-01 -3.020951e-01 -3.197012e-05 -3.700593e-05
+ 2.574179e-02  8.271717e-03 -2.542538e-01 -3.009538e-01 -1.029975e-04 -2.169193e-04
+ 2.574179e-02  8.511498e-03 -2.539784e-01 -3.015843e-01 -3.931583e-05  1.460708e-05
+ 2.574179e-02  8.744705e-03 -2.539689e-01 -3.015871e-01 -1.013419e-06 -2.485916e-07
+ 2.574179e-02  8.971852e-03 -2.536514e-01 -3.009790e-01 -1.999622e-04 -7.011280e-04
+ 2.574179e-02  9.193388e-03 -2.531053e-01 -3.010581e-01  3.066364e-05  3.157448e-05
+ 2.574179e-02  9.409709e-03 -2.524727e-01 -3.005770e-01  1.001035e-04  2.089217e-04
+ 2.574179e-02  9.621167e-03 -2.518741e-01 -2.998247e-01  5.075000e-04  1.055789e-03
+ 2.574179e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.574179e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.523816e-01  3.008805e-01
+ 2.581967e-02  1.000000e-06 -2.626530e-01 -3.059562e-01 -4.951953e-08  5.623103e-09
+ 2.581967e-02  2.006944e-03 -2.622552e-01 -3.058320e-01 -3.137759e-08 -2.318785e-09
+ 2.581967e-02  2.837833e-03 -2.618678e-01 -3.057252e-01  1.679100e-08  3.744413e-08
+ 2.581967e-02  3.475396e-03 -2.614936e-01 -3.056390e-01  1.266244e-08  1.300079e-07
+ 2.581967e-02  4.012887e-03 -2.611300e-01 -3.055733e-01 -6.001611e-06  2.552851e-05
+ 2.581967e-02  4.486426e-03 -2.604316e-01 -3.045712e-01  1.227613e-04  2.854782e-04
+ 2.581967e-02  4.914538e-03 -2.598294e-01 -3.040457e-01 -5.049538e-08  9.070423e-09
+ 2.581967e-02  5.308228e-03 -2.593530e-01 -3.038015e-01 -1.025729e-06 -2.221794e-06
+ 2.581967e-02  5.674665e-03 -2.589016e-01 -3.035906e-01  2.087106e-06  3.693390e-06
+ 2.581967e-02  6.018831e-03 -2.584588e-01 -3.033896e-01 -2.583139e-06 -4.629677e-06
+ 2.581967e-02  6.344350e-03 -2.580103e-01 -3.031696e-01 -7.890810e-07 -9.810096e-07
+ 2.581967e-02  6.653962e-03 -2.575521e-01 -3.029298e-01 -1.527194e-06 -1.499992e-06
+ 2.581967e-02  6.949792e-03 -2.570486e-01 -3.026042e-01  2.131575e-06  4.633852e-06
+ 2.581967e-02  7.233532e-03 -2.566323e-01 -3.024153e-01  2.089390e-06  3.733760e-06
+ 2.581967e-02  7.506553e-03 -2.561839e-01 -3.021575e-01 -3.084380e-05 -5.341210e-05
+ 2.581967e-02  7.769986e-03 -2.558327e-01 -3.029318e-01 -9.665397e-05 -5.905903e-04
+ 2.581967e-02  8.024774e-03 -2.551857e-01 -3.016968e-01 -6.173609e-06 -1.030242e-05
+ 2.581967e-02  8.271717e-03 -2.546126e-01 -3.012656e-01 -2.907908e-07 -6.069732e-07
+ 2.581967e-02  8.511498e-03 -2.543396e-01 -3.014019e-01 -1.638790e-06 -9.165785e-08
+ 2.581967e-02  8.744705e-03 -2.541772e-01 -3.020448e-01 -1.752145e-04 -3.484305e-04
+ 2.581967e-02  8.971852e-03 -2.537023e-01 -3.009269e-01  4.247440e-04  1.077607e-03
+ 2.581967e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.541271e-01  3.020045e-01
+ 2.581967e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.541271e-01  3.020045e-01
+ 2.581967e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.541271e-01  3.020045e-01
+ 2.581967e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.541271e-01  3.020045e-01
+ 2.581967e-02  1.003072e-02 -2.510971e-01 -2.995638e-01 -2.510971e-01 -2.995638e-01
+ 2.581967e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.581967e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.000000e-06 -2.626863e-01 -3.056095e-01 -5.172022e-08 -8.857905e-09
+ 2.589732e-02  2.006944e-03 -2.622883e-01 -3.054852e-01 -1.053217e-08 -2.608541e-09
+ 2.589732e-02  2.837833e-03 -2.619031e-01 -3.053830e-01  3.201900e-09 -6.196668e-10
+ 2.589732e-02  3.475396e-03 -2.615338e-01 -3.053042e-01  1.240781e-08  1.705000e-08
+ 2.589732e-02  4.012887e-03 -2.611756e-01 -3.052294e-01  5.695561e-08  3.419999e-07
+ 2.589732e-02  4.486426e-03 -2.603849e-01 -3.040673e-01 -1.449517e-05 -2.579171e-05
+ 2.589732e-02  4.914538e-03 -2.598479e-01 -3.037199e-01 -5.087922e-07 -7.208541e-07
+ 2.589732e-02  5.308228e-03 -2.593945e-01 -3.035092e-01 -5.261625e-07 -1.306737e-06
+ 2.589732e-02  5.674665e-03 -2.589465e-01 -3.032985e-01  1.901039e-07 -8.529095e-08
+ 2.589732e-02  6.018831e-03 -2.584954e-01 -3.030755e-01  1.458420e-07  5.381846e-08
+ 2.589732e-02  6.344350e-03 -2.580429e-01 -3.028512e-01 -1.689304e-06 -1.026596e-06
+ 2.589732e-02  6.653962e-03 -2.575837e-01 -3.026020e-01  5.301421e-07  2.982372e-07
+ 2.589732e-02  6.949792e-03 -2.571286e-01 -3.023726e-01  1.657039e-06  3.925110e-06
+ 2.589732e-02  7.233532e-03 -2.566699e-01 -3.021113e-01 -1.422086e-06 -3.435611e-06
+ 2.589732e-02  7.506553e-03 -2.561332e-01 -3.016806e-01  3.474543e-05  8.563579e-05
+ 2.589732e-02  7.769986e-03 -2.559002e-01 -3.032387e-01  2.737106e-04  1.935712e-03
+ 2.589732e-02  8.024774e-03 -2.550315e-01 -3.010591e-01  3.467092e-06 -1.576456e-06
+ 2.589732e-02  8.271717e-03 -2.547795e-01 -3.011819e-01  5.088167e-08 -1.411887e-07
+ 2.589732e-02  8.511498e-03 -2.545126e-01 -3.013160e-01 -3.715715e-06 -1.584659e-06
+ 2.589732e-02  8.744705e-03 -2.540476e-01 -3.017108e-01 -2.070842e-04 -4.787578e-04
+ 2.589732e-02  8.971852e-03 -2.525861e-01 -2.986246e-01  1.049904e-03 -8.380454e-05
+ 2.589732e-02  9.193388e-03 -2.525909e-01 -2.992892e-01 -2.525909e-01 -2.992892e-01
+ 2.589732e-02  9.409709e-03 -2.517234e-01 -2.986558e-01 -2.517234e-01 -2.986558e-01
+ 2.589732e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.589732e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.000000e-06 -2.627166e-01 -3.052553e-01 -4.206384e-08 -6.939290e-09
+ 2.597474e-02  2.006944e-03 -2.623187e-01 -3.051316e-01  4.232223e-09  1.961182e-08
+ 2.597474e-02  2.837833e-03 -2.619371e-01 -3.050360e-01  9.822932e-09  5.919782e-08
+ 2.597474e-02  3.475396e-03 -2.615741e-01 -3.049639e-01  1.895020e-07  8.054694e-07
+ 2.597474e-02  4.012887e-03 -2.612048e-01 -3.048338e-01 -5.138867e-07 -6.644889e-07
+ 2.597474e-02  4.486426e-03 -2.603426e-01 -3.036351e-01  7.824109e-07  1.048703e-06
+ 2.597474e-02  4.914538e-03 -2.598862e-01 -3.034238e-01 -2.974445e-07 -4.354143e-07
+ 2.597474e-02  5.308228e-03 -2.594364e-01 -3.032123e-01  1.378594e-07  5.229242e-08
+ 2.597474e-02  5.674665e-03 -2.589849e-01 -3.029890e-01 -1.946718e-06 -5.708579e-06
+ 2.597474e-02  6.018831e-03 -2.585340e-01 -3.027626e-01  3.516350e-06  3.372674e-06
+ 2.597474e-02  6.344350e-03 -2.580743e-01 -3.025214e-01 -5.271113e-07 -3.072640e-07
+ 2.597474e-02  6.653962e-03 -2.576423e-01 -3.023296e-01 -1.578333e-05 -3.179910e-05
+ 2.597474e-02  6.949792e-03 -2.571513e-01 -3.020288e-01  2.745248e-08  6.976421e-07
+ 2.597474e-02  7.233532e-03 -2.566401e-01 -3.016713e-01 -9.776683e-06 -1.489802e-05
+ 2.597474e-02  7.506553e-03 -2.561616e-01 -3.013614e-01 -4.704740e-08 -1.896945e-06
+ 2.597474e-02  7.769986e-03 -2.556540e-01 -3.016274e-01  8.779634e-05  5.144074e-04
+ 2.597474e-02  8.024774e-03 -2.551806e-01 -3.009807e-01  7.056524e-06 -1.321874e-06
+ 2.597474e-02  8.271717e-03 -2.549457e-01 -3.010985e-01 -5.464320e-06  2.822066e-06
+ 2.597474e-02  8.511498e-03 -2.543925e-01 -3.007161e-01  4.803644e-05  8.516314e-05
+ 2.597474e-02  8.744705e-03 -2.536440e-01 -3.001975e-01 -2.536440e-01 -3.001975e-01
+ 2.597474e-02  8.971852e-03 -2.535019e-01 -3.004054e-01  2.577517e-04  6.587524e-04
+ 2.597474e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.537596e-01  3.010641e-01
+ 2.597474e-02  9.409709e-03 -2.503953e-01 -2.984652e-01 -2.503953e-01 -2.984652e-01
+ 2.597474e-02  9.621167e-03 -2.514395e-01 -2.982785e-01 -2.514395e-01 -2.982785e-01
+ 2.597474e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.169756e-02 -2.500121e-01 -2.999591e-01 -2.500121e-01 -2.999591e-01
+ 2.597474e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.432630e-02 -2.423152e-01 -3.034254e-01 -2.423152e-01 -3.034254e-01
+ 2.597474e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.597474e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.605193e-02  1.000000e-06 -2.627440e-01 -3.048935e-01 -2.725548e-08 -6.874779e-09
+ 2.605193e-02  2.006944e-03 -2.623468e-01 -3.047714e-01  1.018087e-08  4.057923e-08
+ 2.605193e-02  2.837833e-03 -2.619708e-01 -3.046851e-01  9.754169e-08  4.808647e-07
+ 2.605193e-02  3.475396e-03 -2.616131e-01 -3.046084e-01  1.503520e-07  6.616865e-07
+ 2.605193e-02  4.012887e-03 -2.608382e-01 -3.035546e-01  4.766565e-06  2.533382e-05
+ 2.605193e-02  4.486426e-03 -2.603807e-01 -3.033362e-01  7.346206e-06 -8.414194e-06
+ 2.605193e-02  4.914538e-03 -2.599296e-01 -3.031282e-01 -1.805421e-08 -6.962954e-08
+ 2.605193e-02  5.308228e-03 -2.594793e-01 -3.029081e-01 -1.081834e-06 -8.274878e-07
+ 2.605193e-02  5.674665e-03 -2.590244e-01 -3.026760e-01 -7.206537e-08 -3.249650e-07
+ 2.605193e-02  6.018831e-03 -2.585676e-01 -3.024379e-01 -1.570061e-07 -8.763967e-08
+ 2.605193e-02  6.344350e-03 -2.580966e-01 -3.021781e-01  2.238028e-06  1.475147e-06
+ 2.605193e-02  6.653962e-03 -2.576358e-01 -3.019259e-01  1.083984e-09 -3.054032e-09
+ 2.605193e-02  6.949792e-03 -2.571746e-01 -3.016850e-01 -9.389397e-06 -1.613493e-05
+ 2.605193e-02  7.233532e-03 -2.566597e-01 -3.013296e-01 -5.630431e-07 -1.364228e-06
+ 2.605193e-02  7.506553e-03 -2.561258e-01 -3.009385e-01  5.343182e-07  3.933744e-07
+ 2.605193e-02  7.769986e-03 -2.557883e-01 -3.006976e-01 -3.820665e-04  1.083024e-04
+ 2.605193e-02  8.024774e-03 -2.553419e-01 -3.009006e-01 -5.992675e-07  5.150809e-08
+ 2.605193e-02  8.271717e-03 -2.548731e-01 -3.005867e-01 -4.032723e-05 -7.028457e-05
+ 2.605193e-02  8.511498e-03 -2.542903e-01 -3.001209e-01  1.849053e-05  4.182074e-05
+ 2.605193e-02  8.744705e-03 -2.538547e-01 -2.999964e-01 -7.872910e-06 -1.782674e-06
+ 2.605193e-02  8.971852e-03 -2.536298e-01 -3.007539e-01 -6.323890e-05 -1.785225e-04
+ 2.605193e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.605193e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.535665e-01  3.005753e-01
+ 2.612889e-02  1.000000e-06 -2.627684e-01 -3.045239e-01 -1.321752e-08 -1.720167e-09
+ 2.612889e-02  2.006944e-03 -2.623729e-01 -3.044051e-01  1.767754e-08  1.081888e-07
+ 2.612889e-02  2.837833e-03 -2.620055e-01 -3.043306e-01 -1.438638e-08 -1.025952e-07
+ 2.612889e-02  3.475396e-03 -2.612446e-01 -3.032863e-01 -3.551787e-05 -9.924132e-05
+ 2.612889e-02  4.012887e-03 -2.608708e-01 -3.032701e-01  4.019491e-05  1.343423e-04
+ 2.612889e-02  4.486426e-03 -2.604215e-01 -3.030417e-01 -2.385243e-07 -2.755440e-07
+ 2.612889e-02  4.914538e-03 -2.599716e-01 -3.028221e-01 -4.483622e-09 -3.138230e-09
+ 2.612889e-02  5.308228e-03 -2.595172e-01 -3.025891e-01 -3.854518e-08 -1.744528e-07
+ 2.612889e-02  5.674665e-03 -2.590575e-01 -3.023461e-01  4.210341e-07  4.127416e-07
+ 2.612889e-02  6.018831e-03 -2.585948e-01 -3.020921e-01  2.160487e-06  1.471413e-06
+ 2.612889e-02  6.344350e-03 -2.581301e-01 -3.018413e-01 -1.623155e-06 -1.196539e-06
+ 2.612889e-02  6.653962e-03 -2.576578e-01 -3.015727e-01  4.738818e-08  1.667653e-08
+ 2.612889e-02  6.949792e-03 -2.571617e-01 -3.012633e-01  3.431022e-08 -5.598131e-08
+ 2.612889e-02  7.233532e-03 -2.566684e-01 -3.009541e-01 -3.329504e-07  4.168974e-07
+ 2.612889e-02  7.506553e-03 -2.561157e-01 -3.005160e-01  2.942549e-07 -1.180857e-05
+ 2.612889e-02  7.769986e-03 -2.557646e-01 -3.002447e-01  1.336367e-04  3.783808e-04
+ 2.612889e-02  8.024774e-03 -2.554987e-01 -3.008575e-01  3.449256e-04  1.567421e-03
+ 2.612889e-02  8.271717e-03 -2.546559e-01 -2.999341e-01  4.769769e-05  5.571128e-05
+ 2.612889e-02  8.511498e-03 -2.540108e-01 -2.992942e-01 -2.015296e-04 -4.455997e-04
+ 2.612889e-02  8.744705e-03 -2.532268e-01 -2.989459e-01 -3.843042e-04 -8.247148e-05
+ 2.612889e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.528425e-01  2.988635e-01
+ 2.612889e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.528425e-01  2.988635e-01
+ 2.612889e-02  9.409709e-03 -2.532310e-01 -2.986911e-01 -2.532310e-01 -2.986911e-01
+ 2.612889e-02  9.621167e-03 -2.532078e-01 -2.990492e-01 -2.532078e-01 -2.990492e-01
+ 2.612889e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.612889e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.620562e-02  1.000000e-06 -2.627899e-01 -3.041465e-01 -3.098830e-09 -2.016516e-08
+ 2.620562e-02  2.006944e-03 -2.623982e-01 -3.040349e-01 -3.064163e-09 -3.047924e-08
+ 2.620562e-02  2.837833e-03 -2.620330e-01 -3.039302e-01  7.555386e-08  2.889662e-07
+ 2.620562e-02  3.475396e-03 -2.613544e-01 -3.031539e-01  8.839366e-06  2.225177e-05
+ 2.620562e-02  4.012887e-03 -2.609243e-01 -3.030348e-01 -5.031411e-06 -2.883253e-05
+ 2.620562e-02  4.486426e-03 -2.604637e-01 -3.027348e-01 -2.677036e-07 -2.824100e-07
+ 2.620562e-02  4.914538e-03 -2.600090e-01 -3.025014e-01 -2.583380e-06  1.641479e-06
+ 2.620562e-02  5.308228e-03 -2.595508e-01 -3.022563e-01 -1.560360e-08 -8.435565e-08
+ 2.620562e-02  5.674665e-03 -2.590881e-01 -3.020046e-01 -7.819667e-07 -2.291150e-06
+ 2.620562e-02  6.018831e-03 -2.586119e-01 -3.017295e-01 -8.434181e-06  7.423134e-06
+ 2.620562e-02  6.344350e-03 -2.581485e-01 -3.014795e-01  5.194466e-08 -1.571097e-07
+ 2.620562e-02  6.653962e-03 -2.576531e-01 -3.011645e-01 -1.012827e-07 -2.062224e-07
+ 2.620562e-02  6.949792e-03 -2.571750e-01 -3.008888e-01  7.268346e-07  1.374988e-06
+ 2.620562e-02  7.233532e-03 -2.565457e-01 -3.003305e-01 -3.642489e-05 -6.598199e-05
+ 2.620562e-02  7.506553e-03 -2.562746e-01 -3.004339e-01  2.172817e-08  5.444370e-07
+ 2.620562e-02  7.769986e-03 -2.559082e-01 -3.003686e-01  8.895215e-05  2.152555e-04
+ 2.620562e-02  8.024774e-03 -2.553234e-01 -3.001021e-01 -3.088156e-06 -1.730283e-05
+ 2.620562e-02  8.271717e-03 -2.548327e-01 -2.997840e-01  1.403776e-04  2.372063e-04
+ 2.620562e-02  8.511498e-03 -2.538797e-01 -2.987206e-01 -1.652321e-04 -2.031322e-04
+ 2.620562e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.537145e-01  2.985174e-01
+ 2.620562e-02  8.971852e-03 -2.527926e-01 -2.986368e-01  2.905830e-04  4.338767e-04
+ 2.620562e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.620562e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.530831e-01  2.990707e-01
+ 2.628213e-02  1.000000e-06 -2.628085e-01 -3.037610e-01  2.675665e-09 -2.875519e-09
+ 2.628213e-02  2.006944e-03 -2.624235e-01 -3.036524e-01  3.888287e-08  1.979714e-07
+ 2.628213e-02  2.837833e-03 -2.618616e-01 -3.031059e-01 -2.161224e-06 -2.918759e-06
+ 2.628213e-02  3.475396e-03 -2.614086e-01 -3.028938e-01  7.761282e-06  2.726867e-05
+ 2.628213e-02  4.012887e-03 -2.609590e-01 -3.026860e-01  1.618091e-07  1.378074e-06
+ 2.628213e-02  4.486426e-03 -2.605032e-01 -3.023986e-01  1.903965e-07 -1.859707e-06
+ 2.628213e-02  4.914538e-03 -2.600422e-01 -3.021639e-01  5.639684e-09 -1.380011e-08
+ 2.628213e-02  5.308228e-03 -2.595796e-01 -3.019077e-01  1.010224e-08 -1.920097e-08
+ 2.628213e-02  5.674665e-03 -2.591111e-01 -3.016440e-01  1.382156e-07  5.092776e-09
+ 2.628213e-02  6.018831e-03 -2.586396e-01 -3.013783e-01 -1.274875e-06 -1.002848e-06
+ 2.628213e-02  6.344350e-03 -2.581779e-01 -3.011242e-01 -4.192320e-08 -3.778939e-08
+ 2.628213e-02  6.653962e-03 -2.576697e-01 -3.007966e-01 -4.109476e-08 -4.764828e-08
+ 2.628213e-02  6.949792e-03 -2.571646e-01 -3.004616e-01  1.236300e-06  4.317716e-06
+ 2.628213e-02  7.233532e-03 -2.566966e-01 -3.002235e-01 -5.752962e-08 -4.095828e-08
+ 2.628213e-02  7.506553e-03 -2.562459e-01 -2.999809e-01  1.104092e-05  4.046133e-05
+ 2.628213e-02  7.769986e-03 -2.557847e-01 -2.996467e-01  2.462139e-06  2.204625e-06
+ 2.628213e-02  8.024774e-03 -2.553512e-01 -2.998411e-01 -3.057784e-04 -5.927739e-04
+ 2.628213e-02  8.271717e-03 -2.547997e-01 -2.992841e-01  1.088838e-05 -9.866858e-06
+ 2.628213e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.548106e-01  2.992743e-01
+ 2.628213e-02  8.744705e-03 -2.522441e-01 -2.970342e-01 -2.522441e-01 -2.970342e-01
+ 2.628213e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.628213e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.635842e-02  1.000000e-06 -2.628242e-01 -3.033674e-01  5.181429e-09 -8.829490e-09
+ 2.635842e-02  2.006944e-03 -2.622915e-01 -3.029367e-01  2.796856e-05  3.889195e-05
+ 2.635842e-02  2.837833e-03 -2.618967e-01 -3.028004e-01 -6.024593e-07 -4.985452e-07
+ 2.635842e-02  3.475396e-03 -2.614469e-01 -3.025689e-01 -2.335621e-08 -7.796011e-08
+ 2.635842e-02  4.012887e-03 -2.609939e-01 -3.023443e-01  6.421786e-09  7.946868e-08
+ 2.635842e-02  4.486426e-03 -2.605335e-01 -3.020585e-01 -3.747619e-08 -2.274730e-07
+ 2.635842e-02  4.914538e-03 -2.600698e-01 -3.018099e-01  1.559165e-08  4.993914e-09
+ 2.635842e-02  5.308228e-03 -2.596002e-01 -3.015472e-01  5.827972e-07 -5.707251e-07
+ 2.635842e-02  5.674665e-03 -2.591346e-01 -3.012768e-01 -4.768925e-07  1.460809e-07
+ 2.635842e-02  6.018831e-03 -2.586579e-01 -3.010024e-01 -5.828501e-08 -4.868303e-08
+ 2.635842e-02  6.344350e-03 -2.581795e-01 -3.007373e-01 -8.301196e-06 -2.958978e-05
+ 2.635842e-02  6.653962e-03 -2.576797e-01 -3.004009e-01  3.807375e-08  2.726303e-08
+ 2.635842e-02  6.949792e-03 -2.571123e-01 -3.000146e-01  1.429729e-05 -3.928270e-06
+ 2.635842e-02  7.233532e-03 -2.568573e-01 -3.001179e-01  3.127604e-05  5.994478e-05
+ 2.635842e-02  7.506553e-03 -2.562118e-01 -2.995055e-01  1.241575e-05  3.089687e-05
+ 2.635842e-02  7.769986e-03 -2.557783e-01 -2.992712e-01  1.132044e-04  2.004280e-04
+ 2.635842e-02  8.024774e-03 -2.553763e-01 -2.994284e-01 -2.501855e-05 -4.765805e-05
+ 2.635842e-02  8.271717e-03 -2.547785e-01 -2.988426e-01 -3.655266e-04 -6.069072e-04
+ 2.635842e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.544130e-01  2.982357e-01
+ 2.635842e-02  8.744705e-03 -2.530806e-01 -2.981923e-01  7.185167e-04  1.055040e-03
+ 2.635842e-02  8.971852e-03 -2.531483e-01 -2.985188e-01  4.003354e-05  2.187596e-04
+ 2.635842e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.635842e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.531883e-01  2.987376e-01
+ 2.643449e-02  1.000000e-06 -2.628371e-01 -3.029654e-01  5.756712e-09 -7.247823e-09
+ 2.643449e-02  2.006944e-03 -2.623861e-01 -3.027122e-01 -2.198943e-07 -6.626305e-08
+ 2.643449e-02  2.837833e-03 -2.619335e-01 -3.024695e-01  5.355860e-09  1.920701e-09
+ 2.643449e-02  3.475396e-03 -2.614801e-01 -3.022262e-01 -7.272533e-07 -3.699338e-06
+ 2.643449e-02  4.012887e-03 -2.610224e-01 -3.019840e-01  2.534256e-11  6.878444e-08
+ 2.643449e-02  4.486426e-03 -2.605589e-01 -3.016948e-01  5.349008e-08  4.980187e-08
+ 2.643449e-02  4.914538e-03 -2.600917e-01 -3.014404e-01  1.244876e-08  8.427280e-09
+ 2.643449e-02  5.308228e-03 -2.596203e-01 -3.011664e-01  7.452219e-07  1.344461e-06
+ 2.643449e-02  5.674665e-03 -2.591467e-01 -3.008880e-01  3.115252e-07  1.690650e-07
+ 2.643449e-02  6.018831e-03 -2.586638e-01 -3.005997e-01 -7.927927e-08 -1.355239e-07
+ 2.643449e-02  6.344350e-03 -2.581750e-01 -3.002969e-01 -1.003312e-07 -2.353282e-07
+ 2.643449e-02  6.653962e-03 -2.576492e-01 -2.999318e-01 -5.505682e-07 -1.466596e-06
+ 2.643449e-02  6.949792e-03 -2.573024e-01 -2.999109e-01 -2.444841e-06 -1.239003e-05
+ 2.643449e-02  7.233532e-03 -2.567838e-01 -2.995092e-01 -3.151120e-05 -1.297997e-05
+ 2.643449e-02  7.506553e-03 -2.562010e-01 -2.991223e-01 -6.457240e-06 -1.111240e-05
+ 2.643449e-02  7.769986e-03 -2.556539e-01 -2.986391e-01  6.602832e-05  1.371837e-04
+ 2.643449e-02  8.024774e-03 -2.553437e-01 -2.994423e-01 -5.812869e-05 -4.432697e-04
+ 2.643449e-02  8.271717e-03 -2.545736e-01 -2.981687e-01  5.375920e-05 -1.394142e-05
+ 2.643449e-02  8.511498e-03 -2.533084e-01 -2.962530e-01  9.535651e-04  2.042808e-03
+ 2.643449e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.542619e-01  2.982958e-01
+ 2.643449e-02  8.971852e-03 -2.522659e-01 -2.898380e-01 -2.522659e-01 -2.898380e-01
+ 2.643449e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.446606e-02 -2.423607e-01 -3.025297e-01 -2.423607e-01 -3.025297e-01
+ 2.643449e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.643449e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.000000e-06 -2.628471e-01 -3.025549e-01  5.465725e-09  1.274475e-11
+ 2.651034e-02  2.006944e-03 -2.624099e-01 -3.023438e-01  8.134189e-09 -9.893581e-09
+ 2.651034e-02  2.837833e-03 -2.619592e-01 -3.021011e-01 -2.828138e-08  1.271253e-08
+ 2.651034e-02  3.475396e-03 -2.615031e-01 -3.018490e-01 -7.587948e-08 -2.849624e-07
+ 2.651034e-02  4.012887e-03 -2.610443e-01 -3.016046e-01  2.256630e-08  3.271928e-08
+ 2.651034e-02  4.486426e-03 -2.605785e-01 -3.013132e-01 -2.404368e-08 -1.346611e-07
+ 2.651034e-02  4.914538e-03 -2.601080e-01 -3.010581e-01  2.177001e-08  2.176306e-07
+ 2.651034e-02  5.308228e-03 -2.596369e-01 -3.007782e-01  7.784067e-07  4.576095e-07
+ 2.651034e-02  5.674665e-03 -2.591630e-01 -3.005090e-01 -6.863333e-06 -1.308609e-05
+ 2.651034e-02  6.018831e-03 -2.586742e-01 -3.002009e-01  1.743039e-07  5.254175e-07
+ 2.651034e-02  6.344350e-03 -2.581763e-01 -2.998848e-01 -3.023846e-07 -8.234178e-07
+ 2.651034e-02  6.653962e-03 -2.577382e-01 -2.996927e-01  1.870862e-06  3.905681e-06
+ 2.651034e-02  6.949792e-03 -2.572025e-01 -2.992541e-01  2.150573e-05  8.807214e-05
+ 2.651034e-02  7.233532e-03 -2.567434e-01 -2.990757e-01 -5.784181e-08  1.228527e-07
+ 2.651034e-02  7.506553e-03 -2.562230e-01 -2.986957e-01  1.735698e-05  3.029484e-05
+ 2.651034e-02  7.769986e-03 -2.553906e-01 -2.977418e-01 -3.813132e-04 -1.381639e-04
+ 2.651034e-02  8.024774e-03 -2.540356e-01 -2.964076e-01 -2.540356e-01 -2.964076e-01
+ 2.651034e-02  8.271717e-03 -2.539351e-01 -2.966976e-01 -2.539351e-01 -2.966976e-01
+ 2.651034e-02  8.511498e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.252811e-02 -2.507322e-01 -2.996267e-01 -2.507322e-01 -2.996267e-01
+ 2.651034e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.651034e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.000000e-06 -2.628544e-01 -3.021356e-01  4.959294e-09 -5.600922e-09
+ 2.658597e-02  2.006944e-03 -2.624236e-01 -3.019405e-01 -5.312872e-09  1.837052e-08
+ 2.658597e-02  2.837833e-03 -2.619757e-01 -3.017061e-01  7.417830e-09 -3.929337e-08
+ 2.658597e-02  3.475396e-03 -2.615201e-01 -3.014561e-01  1.668918e-09 -6.093988e-09
+ 2.658597e-02  4.012887e-03 -2.610602e-01 -3.012084e-01  2.597256e-08  2.038195e-08
+ 2.658597e-02  4.486426e-03 -2.605927e-01 -3.009154e-01  9.462538e-09 -1.823367e-08
+ 2.658597e-02  4.914538e-03 -2.601187e-01 -3.006705e-01 -6.656062e-06  3.709863e-05
+ 2.658597e-02  5.308228e-03 -2.596463e-01 -3.003740e-01  2.544693e-07  2.635761e-07
+ 2.658597e-02  5.674665e-03 -2.591630e-01 -3.000834e-01  8.339740e-08  3.437195e-07
+ 2.658597e-02  6.018831e-03 -2.586896e-01 -2.997748e-01 -2.737557e-06  1.517391e-06
+ 2.658597e-02  6.344350e-03 -2.581838e-01 -2.994806e-01 -1.584019e-06 -3.061169e-06
+ 2.658597e-02  6.653962e-03 -2.577128e-01 -2.992185e-01 -2.818474e-07 -3.362666e-08
+ 2.658597e-02  6.949792e-03 -2.572473e-01 -2.990358e-01 -1.770337e-05 -7.216068e-05
+ 2.658597e-02  7.233532e-03 -2.567243e-01 -2.986284e-01  5.420624e-07  1.054175e-06
+ 2.658597e-02  7.506553e-03 -2.562471e-01 -2.983411e-01 -1.970422e-06 -3.408524e-06
+ 2.658597e-02  7.769986e-03 -2.548326e-01 -2.955523e-01  5.147375e-04  2.006507e-03
+ 2.658597e-02  8.024774e-03 -2.558286e-01 -2.983967e-01 -7.882110e-04 -1.369884e-03
+ 2.658597e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.550404e-01  2.970268e-01
+ 2.658597e-02  8.511498e-03 -2.535198e-01 -2.956909e-01 -2.535198e-01 -2.956909e-01
+ 2.658597e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.658597e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.666139e-02  1.000000e-06 -2.628588e-01 -3.017075e-01  4.555800e-09 -1.689960e-08
+ 2.666139e-02  2.006944e-03 -2.624309e-01 -3.015192e-01 -4.490492e-09  2.579958e-08
+ 2.666139e-02  2.837833e-03 -2.619857e-01 -3.012920e-01  1.453999e-08  1.568524e-08
+ 2.666139e-02  3.475396e-03 -2.615310e-01 -3.010451e-01  1.530600e-09 -1.805183e-08
+ 2.666139e-02  4.012887e-03 -2.610707e-01 -3.007967e-01  7.800986e-09  1.186949e-08
+ 2.666139e-02  4.486426e-03 -2.606020e-01 -3.005030e-01  5.179937e-09 -3.639312e-09
+ 2.666139e-02  4.914538e-03 -2.601311e-01 -3.002229e-01 -2.463129e-07 -2.926796e-06
+ 2.666139e-02  5.308228e-03 -2.596506e-01 -2.999546e-01 -9.281518e-07 -1.035042e-06
+ 2.666139e-02  5.674665e-03 -2.591653e-01 -2.996596e-01  6.623387e-08  1.333293e-07
+ 2.666139e-02  6.018831e-03 -2.585912e-01 -2.992050e-01 -1.112052e-06 -5.643690e-06
+ 2.666139e-02  6.344350e-03 -2.582029e-01 -2.990849e-01 -5.930919e-08 -4.569994e-08
+ 2.666139e-02  6.653962e-03 -2.577025e-01 -2.987749e-01 -4.255577e-08  5.241513e-07
+ 2.666139e-02  6.949792e-03 -2.572515e-01 -2.986595e-01 -2.018269e-05 -8.749728e-05
+ 2.666139e-02  7.233532e-03 -2.567248e-01 -2.982029e-01  1.523264e-06  2.941478e-06
+ 2.666139e-02  7.506553e-03 -2.558124e-01 -2.970967e-01  2.086885e-04  4.492298e-04
+ 2.666139e-02  7.769986e-03 -2.554189e-01 -2.969531e-01  2.161068e-04  6.190525e-04
+ 2.666139e-02  8.024774e-03 -2.547121e-01 -2.965353e-01 -2.547121e-01 -2.965353e-01
+ 2.666139e-02  8.271717e-03 -2.544891e-01 -2.966596e-01 -1.377147e-06  5.455138e-04
+ 2.666139e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.666139e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.544877e-01  2.972051e-01
+ 2.673660e-02  1.000000e-06 -2.628605e-01 -3.012702e-01  4.389369e-09 -1.274738e-08
+ 2.673660e-02  2.006944e-03 -2.624339e-01 -3.010849e-01 -6.619469e-10  8.001824e-09
+ 2.673660e-02  2.837833e-03 -2.619907e-01 -3.008629e-01  1.386919e-08  1.642450e-08
+ 2.673660e-02  3.475396e-03 -2.615368e-01 -3.006186e-01  9.095436e-09  2.353870e-08
+ 2.673660e-02  4.012887e-03 -2.610764e-01 -3.003708e-01  2.157011e-08  4.527510e-08
+ 2.673660e-02  4.486426e-03 -2.606068e-01 -3.000766e-01 -1.977205e-09 -7.390683e-09
+ 2.673660e-02  4.914538e-03 -2.601340e-01 -2.997988e-01 -4.092711e-07 -4.717675e-07
+ 2.673660e-02  5.308228e-03 -2.596513e-01 -2.995249e-01 -1.888573e-08 -4.677880e-10
+ 2.673660e-02  5.674665e-03 -2.591604e-01 -2.992171e-01  1.889225e-07  3.723378e-07
+ 2.673660e-02  6.018831e-03 -2.586875e-01 -2.989566e-01 -7.535622e-08  3.766819e-08
+ 2.673660e-02  6.344350e-03 -2.581814e-01 -2.986372e-01  2.065381e-06 -1.601506e-06
+ 2.673660e-02  6.653962e-03 -2.576937e-01 -2.983239e-01 -2.557104e-07 -4.107344e-08
+ 2.673660e-02  6.949792e-03 -2.572284e-01 -2.981191e-01  2.126677e-08  6.183491e-08
+ 2.673660e-02  7.233532e-03 -2.566309e-01 -2.975939e-01 -9.428754e-05 -1.746059e-04
+ 2.673660e-02  7.506553e-03 -2.559127e-01 -2.968867e-01  3.064756e-04  6.209699e-04
+ 2.673660e-02  7.769986e-03 -2.549454e-01 -2.953024e-01  1.955173e-04  7.316549e-04
+ 2.673660e-02  8.024774e-03 -2.552385e-01 -2.972801e-01 -2.620848e-05 -5.110085e-05
+ 2.673660e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.673660e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.552123e-01  2.972290e-01
+ 2.681159e-02  1.000000e-06 -2.628595e-01 -3.008237e-01  4.496156e-09  1.809141e-08
+ 2.681159e-02  2.006944e-03 -2.624334e-01 -3.006394e-01 -6.391379e-10 -1.443871e-08
+ 2.681159e-02  2.837833e-03 -2.619914e-01 -3.004208e-01  1.302971e-08 -4.502435e-10
+ 2.681159e-02  3.475396e-03 -2.615375e-01 -3.001733e-01  9.156195e-07  5.902453e-06
+ 2.681159e-02  4.012887e-03 -2.610780e-01 -2.999318e-01  7.960886e-09  2.020730e-08
+ 2.681159e-02  4.486426e-03 -2.606070e-01 -2.996363e-01 -4.111498e-07 -6.618387e-07
+ 2.681159e-02  4.914538e-03 -2.601331e-01 -2.993599e-01 -6.662794e-07 -8.574282e-07
+ 2.681159e-02  5.308228e-03 -2.596472e-01 -2.990821e-01  1.251360e-07  4.287110e-07
+ 2.681159e-02  5.674665e-03 -2.591706e-01 -2.988011e-01  7.983044e-08  2.132947e-07
+ 2.681159e-02  6.018831e-03 -2.586674e-01 -2.984673e-01  1.048466e-06  3.457045e-06
+ 2.681159e-02  6.344350e-03 -2.581755e-01 -2.981861e-01  2.829031e-06  7.745135e-06
+ 2.681159e-02  6.653962e-03 -2.576967e-01 -2.978792e-01  2.696922e-07  1.626592e-07
+ 2.681159e-02  6.949792e-03 -2.572308e-01 -2.976715e-01 -2.053398e-04 -4.286646e-04
+ 2.681159e-02  7.233532e-03 -2.564388e-01 -2.968128e-01  5.671634e-05  1.003643e-04
+ 2.681159e-02  7.506553e-03 -2.558591e-01 -2.963574e-01  1.569327e-05  8.155645e-05
+ 2.681159e-02  7.769986e-03 -2.554971e-01 -2.960704e-01  3.651579e-05  8.677845e-05
+ 2.681159e-02  8.024774e-03 -2.538339e-01 -2.942174e-01 -2.538339e-01 -2.942174e-01
+ 2.681159e-02  8.271717e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  8.511498e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.022935e-02 -2.500057e-01 -2.916676e-01 -2.500057e-01 -2.916676e-01
+ 2.681159e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.681159e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.000000e-06 -2.628557e-01 -3.003675e-01  4.852744e-09  9.327381e-09
+ 2.688638e-02  2.006944e-03 -2.624296e-01 -3.001831e-01  3.507195e-09  6.052416e-08
+ 2.688638e-02  2.837833e-03 -2.619885e-01 -2.999666e-01  1.597809e-08 -2.682415e-08
+ 2.688638e-02  3.475396e-03 -2.615369e-01 -2.997318e-01 -1.544801e-07 -9.143552e-07
+ 2.688638e-02  4.012887e-03 -2.610756e-01 -2.994803e-01  3.583072e-09  9.620888e-09
+ 2.688638e-02  4.486426e-03 -2.606045e-01 -2.991857e-01 -1.885903e-08 -1.415594e-08
+ 2.688638e-02  4.914538e-03 -2.601279e-01 -2.989063e-01 -3.368173e-08 -1.606398e-07
+ 2.688638e-02  5.308228e-03 -2.596551e-01 -2.986639e-01 -2.171506e-06  1.213235e-06
+ 2.688638e-02  5.674665e-03 -2.591575e-01 -2.983334e-01  2.564306e-07  5.245021e-07
+ 2.688638e-02  6.018831e-03 -2.586622e-01 -2.980234e-01  3.114877e-08  2.436932e-10
+ 2.688638e-02  6.344350e-03 -2.581714e-01 -2.977324e-01 -6.742292e-08 -2.097382e-07
+ 2.688638e-02  6.653962e-03 -2.576528e-01 -2.974834e-01 -3.788500e-05  3.761516e-05
+ 2.688638e-02  6.949792e-03 -2.569458e-01 -2.966793e-01  8.721872e-06  1.134869e-05
+ 2.688638e-02  7.233532e-03 -2.563839e-01 -2.962914e-01 -5.779220e-05 -6.333154e-05
+ 2.688638e-02  7.506553e-03 -2.559590e-01 -2.961154e-01  2.591588e-06  4.906332e-05
+ 2.688638e-02  7.769986e-03 -2.553229e-01 -2.954693e-01 -2.073761e-04  4.687721e-04
+ 2.688638e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.551156e-01  2.959381e-01
+ 2.688638e-02  1.022935e-02 -2.500043e-01 -2.916670e-01 -2.500043e-01 -2.916670e-01
+ 2.688638e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.688638e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.000000e-06 -2.628492e-01 -2.999015e-01  5.354094e-09 -5.985430e-08
+ 2.696096e-02  2.006944e-03 -2.624229e-01 -2.997164e-01 -2.590733e-09 -1.653435e-07
+ 2.696096e-02  2.837833e-03 -2.619823e-01 -2.995010e-01  1.294895e-08 -1.452069e-07
+ 2.696096e-02  3.475396e-03 -2.615304e-01 -2.992645e-01  8.506266e-09 -1.203380e-07
+ 2.696096e-02  4.012887e-03 -2.610696e-01 -2.990167e-01  1.575786e-07  2.300688e-07
+ 2.696096e-02  4.486426e-03 -2.605974e-01 -2.987210e-01 -3.448160e-08 -2.577653e-09
+ 2.696096e-02  4.914538e-03 -2.601279e-01 -2.984577e-01 -3.285055e-06 -6.534121e-06
+ 2.696096e-02  5.308228e-03 -2.596402e-01 -2.981290e-01  5.508761e-06 -5.202108e-05
+ 2.696096e-02  5.674665e-03 -2.591450e-01 -2.978623e-01  1.512212e-06  3.010898e-06
+ 2.696096e-02  6.018831e-03 -2.586537e-01 -2.975607e-01 -2.392837e-07 -4.684187e-08
+ 2.696096e-02  6.344350e-03 -2.581735e-01 -2.972884e-01  1.609729e-07  3.308529e-07
+ 2.696096e-02  6.653962e-03 -2.574480e-01 -2.965323e-01 -1.491383e-05 -6.483571e-05
+ 2.696096e-02  6.949792e-03 -2.570318e-01 -2.962117e-01  2.674811e-05 -2.678773e-05
+ 2.696096e-02  7.233532e-03 -2.564032e-01 -2.958623e-01 -2.513237e-07 -1.533935e-06
+ 2.696096e-02  7.506553e-03 -2.558658e-01 -2.954732e-01  2.965855e-05  4.532217e-05
+ 2.696096e-02  7.769986e-03 -2.529465e-01 -2.909790e-01 -2.529465e-01 -2.909790e-01
+ 2.696096e-02  8.024774e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  8.271717e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  8.511498e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.696096e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.703533e-02  1.000000e-06 -2.628400e-01 -2.994256e-01  5.743906e-09 -3.497422e-07
+ 2.703533e-02  2.006944e-03 -2.624134e-01 -2.992393e-01 -9.775213e-09 -6.204351e-07
+ 2.703533e-02  2.837833e-03 -2.619729e-01 -2.990242e-01 -7.673858e-10 -5.761821e-07
+ 2.703533e-02  3.475396e-03 -2.615211e-01 -2.987881e-01  9.317750e-09 -4.822615e-07
+ 2.703533e-02  4.012887e-03 -2.610600e-01 -2.985410e-01 -1.523619e-07 -6.908755e-07
+ 2.703533e-02  4.486426e-03 -2.605895e-01 -2.982501e-01  4.501438e-06  9.520525e-06
+ 2.703533e-02  4.914538e-03 -2.601096e-01 -2.979660e-01  1.601871e-08  2.244398e-07
+ 2.703533e-02  5.308228e-03 -2.596257e-01 -2.976586e-01 -3.464746e-07 -1.011335e-06
+ 2.703533e-02  5.674665e-03 -2.591341e-01 -2.973899e-01  7.304619e-07  1.578899e-06
+ 2.703533e-02  6.018831e-03 -2.586511e-01 -2.971045e-01  1.394040e-07  3.030268e-07
+ 2.703533e-02  6.344350e-03 -2.580445e-01 -2.965834e-01 -3.993781e-05 -8.176775e-05
+ 2.703533e-02  6.653962e-03 -2.575086e-01 -2.962942e-01 -1.728453e-05 -6.154862e-05
+ 2.703533e-02  6.949792e-03 -2.568157e-01 -2.958441e-01  7.233261e-07  1.714299e-06
+ 2.703533e-02  7.233532e-03 -2.563871e-01 -2.953500e-01  1.430060e-06  7.450822e-06
+ 2.703533e-02  7.506553e-03 -2.554281e-01 -2.942973e-01 -2.008464e-04 -1.731734e-04
+ 2.703533e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.552272e-01  2.941241e-01
+ 2.703533e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.552272e-01  2.941241e-01
+ 2.703533e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.552272e-01  2.941241e-01
+ 2.703533e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.552272e-01  2.941241e-01
+ 2.703533e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.552272e-01  2.941241e-01
+ 2.703533e-02  8.971852e-03 -2.500366e-01 -2.916071e-01 -2.500366e-01 -2.916071e-01
+ 2.703533e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.703533e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.703533e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.703533e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.703533e-02  1.003072e-02 -2.499999e-01 -2.916667e-01  1.332110e-07 -2.145912e-08
+ 2.703533e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.703533e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.000000e-06 -2.628281e-01 -2.989405e-01  5.510509e-09 -2.529978e-06
+ 2.710950e-02  2.006944e-03 -2.624010e-01 -2.987526e-01 -4.034484e-08 -3.304241e-06
+ 2.710950e-02  2.837833e-03 -2.619605e-01 -2.985374e-01 -8.229129e-08 -3.371015e-06
+ 2.710950e-02  3.475396e-03 -2.615089e-01 -2.983021e-01 -1.463178e-07 -3.290187e-06
+ 2.710950e-02  4.012887e-03 -2.610473e-01 -2.980552e-01 -9.373711e-07 -4.491100e-06
+ 2.710950e-02  4.486426e-03 -2.605739e-01 -2.977583e-01  5.666797e-09  5.513066e-07
+ 2.710950e-02  4.914538e-03 -2.600950e-01 -2.974774e-01  2.230011e-07  2.629555e-06
+ 2.710950e-02  5.308228e-03 -2.596100e-01 -2.971758e-01  3.016826e-07  2.794807e-06
+ 2.710950e-02  5.674665e-03 -2.591322e-01 -2.969403e-01 -5.799824e-06 -1.997864e-05
+ 2.710950e-02  6.018831e-03 -2.585058e-01 -2.963515e-01  8.356938e-07  9.907025e-06
+ 2.710950e-02  6.344350e-03 -2.579981e-01 -2.960384e-01  1.049367e-06  5.747501e-06
+ 2.710950e-02  6.653962e-03 -2.575662e-01 -2.960975e-01 -3.365670e-05 -1.178775e-04
+ 2.710950e-02  6.949792e-03 -2.568912e-01 -2.952864e-01 -5.232124e-07 -1.977149e-06
+ 2.710950e-02  7.233532e-03 -2.562440e-01 -2.945213e-01 -3.116750e-07 -2.394190e-06
+ 2.710950e-02  7.506553e-03 -2.556657e-01 -2.941507e-01  1.142527e-04  2.313975e-04
+ 2.710950e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.557799e-01  2.943821e-01
+ 2.710950e-02  1.003072e-02 -2.500000e-01 -2.916667e-01  4.195278e-08  2.714313e-09
+ 2.710950e-02  1.022935e-02 -2.499998e-01 -2.916667e-01  2.185927e-07 -1.093915e-09
+ 2.710950e-02  1.042419e-02 -2.500000e-01 -2.916666e-01 -2.334384e-08 -4.757488e-10
+ 2.710950e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.710950e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.000000e-06 -2.628137e-01 -2.984379e-01  3.748593e-09  5.253664e-06
+ 2.718346e-02  2.006944e-03 -2.623859e-01 -2.982476e-01  1.035513e-07  7.945109e-06
+ 2.718346e-02  2.837833e-03 -2.619450e-01 -2.980315e-01  2.785738e-07  8.689397e-06
+ 2.718346e-02  3.475396e-03 -2.614929e-01 -2.977957e-01  3.112977e-07  7.202783e-06
+ 2.718346e-02  4.012887e-03 -2.610314e-01 -2.975510e-01  3.023497e-07  5.416004e-06
+ 2.718346e-02  4.486426e-03 -2.605569e-01 -2.972539e-01 -5.556860e-08 -7.380459e-07
+ 2.718346e-02  4.914538e-03 -2.600776e-01 -2.969740e-01 -3.079981e-07 -1.355380e-06
+ 2.718346e-02  5.308228e-03 -2.595962e-01 -2.966873e-01 -3.413115e-06 -4.284741e-06
+ 2.718346e-02  5.674665e-03 -2.590245e-01 -2.962459e-01 -2.061146e-05 -3.990964e-05
+ 2.718346e-02  6.018831e-03 -2.585117e-01 -2.959089e-01 -7.469320e-07 -5.358153e-07
+ 2.718346e-02  6.344350e-03 -2.579754e-01 -2.955277e-01 -8.317261e-08  3.203088e-06
+ 2.718346e-02  6.653962e-03 -2.574472e-01 -2.952247e-01 -7.534232e-07 -1.468565e-06
+ 2.718346e-02  6.949792e-03 -2.568712e-01 -2.947796e-01 -1.291415e-04 -2.544337e-04
+ 2.718346e-02  7.233532e-03 -2.560502e-01 -2.940990e-01 -1.456035e-04 -2.785852e-04
+ 2.718346e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.559046e-01  2.938204e-01
+ 2.718346e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.559046e-01  2.938204e-01
+ 2.718346e-02  8.024774e-03 -2.550446e-01 -2.956321e-01  2.728991e-04  1.596555e-03
+ 2.718346e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.553175e-01  2.972287e-01
+ 2.718346e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.553175e-01  2.972287e-01
+ 2.718346e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.553175e-01  2.972287e-01
+ 2.718346e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.553175e-01  2.972287e-01
+ 2.718346e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.553175e-01  2.972287e-01
+ 2.718346e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.553175e-01  2.972287e-01
+ 2.718346e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.553175e-01  2.972287e-01
+ 2.718346e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.553175e-01  2.972287e-01
+ 2.718346e-02  1.003072e-02 -2.500001e-01 -2.916667e-01 -6.091086e-08  1.734676e-09
+ 2.718346e-02  1.022935e-02 -2.499999e-01 -2.916667e-01  6.817375e-08  7.880177e-09
+ 2.718346e-02  1.042419e-02 -2.499999e-01 -2.916667e-01  1.319753e-07 -1.005679e-08
+ 2.718346e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.718346e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916666e-01
+ 2.725723e-02  1.000000e-06 -2.627966e-01 -2.979318e-01 -6.825563e-10  1.791498e-06
+ 2.725723e-02  2.006944e-03 -2.623681e-01 -2.977400e-01  3.976936e-08  2.661950e-06
+ 2.725723e-02  2.837833e-03 -2.619270e-01 -2.975230e-01 -6.085407e-07 -1.208541e-06
+ 2.725723e-02  3.475396e-03 -2.614746e-01 -2.972866e-01  8.218636e-08  2.723622e-06
+ 2.725723e-02  4.012887e-03 -2.610128e-01 -2.970430e-01  8.554637e-08  2.479591e-06
+ 2.725723e-02  4.486426e-03 -2.605374e-01 -2.967439e-01 -1.197227e-07 -3.223396e-06
+ 2.725723e-02  4.914538e-03 -2.600601e-01 -2.964693e-01 -2.675528e-07 -5.785825e-06
+ 2.725723e-02  5.308228e-03 -2.595120e-01 -2.960469e-01  1.132668e-05  2.337644e-05
+ 2.725723e-02  5.674665e-03 -2.590174e-01 -2.957758e-01  3.046622e-07  7.149419e-07
+ 2.725723e-02  6.018831e-03 -2.584971e-01 -2.954117e-01  8.942159e-06 -1.951809e-06
+ 2.725723e-02  6.344350e-03 -2.579433e-01 -2.949975e-01 -7.565467e-08 -7.452613e-07
+ 2.725723e-02  6.653962e-03 -2.573135e-01 -2.944796e-01  7.583885e-05  1.473512e-04
+ 2.725723e-02  6.949792e-03 -2.567358e-01 -2.940629e-01  2.052098e-07  1.025691e-06
+ 2.725723e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.567360e-01  2.940639e-01
+ 2.725723e-02  7.506553e-03 -2.541556e-01 -2.909672e-01 -8.271830e-06 -1.002238e-03
+ 2.725723e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.541473e-01  2.899649e-01
+ 2.725723e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.541473e-01  2.899649e-01
+ 2.725723e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.541473e-01  2.899649e-01
+ 2.725723e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.541473e-01  2.899649e-01
+ 2.725723e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.541473e-01  2.899649e-01
+ 2.725723e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.541473e-01  2.899649e-01
+ 2.725723e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.541473e-01  2.899649e-01
+ 2.725723e-02  9.409709e-03 -2.511399e-01 -2.914773e-01  4.346159e-07  4.196223e-06
+ 2.725723e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.511403e-01  2.914815e-01
+ 2.725723e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.511403e-01  2.914815e-01
+ 2.725723e-02  1.003072e-02 -2.500002e-01 -2.916667e-01 -2.063032e-07 -3.174883e-08
+ 2.725723e-02  1.022935e-02 -2.500000e-01 -2.916667e-01 -2.170395e-08 -1.681014e-09
+ 2.725723e-02  1.042419e-02 -2.499999e-01 -2.916667e-01  1.357096e-07  2.744025e-08
+ 2.725723e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.725723e-02  1.252811e-02 -2.536345e-01 -2.961653e-01 -2.536345e-01 -2.961653e-01
+ 2.725723e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.725723e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.733079e-02  1.000000e-06 -2.627768e-01 -2.974163e-01 -8.919473e-09 -9.322107e-07
+ 2.733079e-02  2.006944e-03 -2.623478e-01 -2.972231e-01 -1.904780e-08 -3.192905e-06
+ 2.733079e-02  2.837833e-03 -2.619064e-01 -2.970058e-01 -8.612618e-08 -3.756718e-06
+ 2.733079e-02  3.475396e-03 -2.614534e-01 -2.967674e-01 -8.203300e-08 -2.410306e-06
+ 2.733079e-02  4.012887e-03 -2.609914e-01 -2.965253e-01 -4.177676e-08 -1.014183e-06
+ 2.733079e-02  4.486426e-03 -2.605167e-01 -2.962243e-01  2.111573e-07  3.437992e-06
+ 2.733079e-02  4.914538e-03 -2.599959e-01 -2.958559e-01  8.687925e-06  1.703464e-05
+ 2.733079e-02  5.308228e-03 -2.595125e-01 -2.955727e-01  2.460113e-07  2.100862e-07
+ 2.733079e-02  5.674665e-03 -2.589930e-01 -2.952828e-01  1.346480e-06 -2.310157e-05
+ 2.733079e-02  6.018831e-03 -2.584594e-01 -2.948570e-01 -7.199209e-06 -1.915757e-05
+ 2.733079e-02  6.344350e-03 -2.577904e-01 -2.941738e-01 -1.250935e-04 -4.533797e-04
+ 2.733079e-02  6.653962e-03 -2.572869e-01 -2.939376e-01  1.290495e-05  2.423846e-05
+ 2.733079e-02  6.949792e-03 -2.564462e-01 -2.929744e-01  9.409366e-05  1.660768e-04
+ 2.733079e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.565403e-01  2.931405e-01
+ 2.733079e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.565403e-01  2.931405e-01
+ 2.733079e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.565403e-01  2.931405e-01
+ 2.733079e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.565403e-01  2.931405e-01
+ 2.733079e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.565403e-01  2.931405e-01
+ 2.733079e-02  8.511498e-03 -2.527947e-01 -2.912005e-01 -2.363089e-05  4.627290e-06
+ 2.733079e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.527711e-01  2.912051e-01
+ 2.733079e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.527711e-01  2.912051e-01
+ 2.733079e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.527711e-01  2.912051e-01
+ 2.733079e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.527711e-01  2.912051e-01
+ 2.733079e-02  9.621167e-03 -2.510805e-01 -2.915025e-01 -3.036476e-05 -7.811871e-06
+ 2.733079e-02  9.828076e-03 -2.499151e-01 -2.916616e-01 -2.499151e-01 -2.916616e-01
+ 2.733079e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.733079e-02  1.022935e-02 -2.500002e-01 -2.916667e-01 -1.459767e-07 -6.880028e-08
+ 2.733079e-02  1.042419e-02 -2.500000e-01 -2.916667e-01  2.327705e-08 -1.962301e-08
+ 2.733079e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.500000e-01  2.916667e-01
+ 2.733079e-02  1.360597e-02 -2.492498e-01 -2.988294e-01  1.557732e-03  3.952857e-03
+ 2.733079e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.733079e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.508075e-01  3.027822e-01
+ 2.740416e-02  1.000000e-06 -2.627546e-01 -2.968824e-01 -2.119103e-08  1.558837e-08
+ 2.740416e-02  2.006944e-03 -2.623247e-01 -2.966863e-01  1.087483e-08  6.777947e-08
+ 2.740416e-02  2.837833e-03 -2.618827e-01 -2.964673e-01  5.618321e-09 -3.834799e-09
+ 2.740416e-02  3.475396e-03 -2.614292e-01 -2.962286e-01  2.629186e-08  5.548677e-08
+ 2.740416e-02  4.012887e-03 -2.609680e-01 -2.959923e-01  7.231212e-08  1.425390e-07
+ 2.740416e-02  4.486426e-03 -2.604750e-01 -2.956514e-01 -3.368254e-06 -6.202638e-06
+ 2.740416e-02  4.914538e-03 -2.599897e-01 -2.953613e-01 -9.718031e-08 -3.774277e-08
+ 2.740416e-02  5.308228e-03 -2.594841e-01 -2.950292e-01  5.510988e-08 -2.693785e-08
+ 2.740416e-02  5.674665e-03 -2.589670e-01 -2.945938e-01 -2.515923e-06  4.582107e-05
+ 2.740416e-02  6.018831e-03 -2.584384e-01 -2.943320e-01 -1.349873e-05 -2.752127e-05
+ 2.740416e-02  6.344350e-03 -2.577430e-01 -2.934903e-01  2.517188e-05  8.392812e-05
+ 2.740416e-02  6.653962e-03 -2.570681e-01 -2.930058e-01  2.570700e-05  3.492448e-05
+ 2.740416e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.570938e-01  2.930407e-01
+ 2.740416e-02  7.233532e-03 -2.548686e-01 -2.908514e-01 -8.012348e-04 -5.494724e-04
+ 2.740416e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.540674e-01  2.903019e-01
+ 2.740416e-02  7.769986e-03 -2.545522e-01 -2.909071e-01 -3.471420e-05  7.551237e-06
+ 2.740416e-02  8.024774e-03 -2.539803e-01 -2.910036e-01  2.413291e-05 -4.228767e-06
+ 2.740416e-02  8.271717e-03 -2.534161e-01 -2.910979e-01  2.152170e-04 -3.613637e-05
+ 2.740416e-02  8.511498e-03 -2.532847e-01 -2.911197e-01  4.677313e-05 -7.609773e-06
+ 2.740416e-02  8.744705e-03 -2.527853e-01 -2.912033e-01  5.303233e-05 -8.656999e-06
+ 2.740416e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.528383e-01  2.911946e-01
+ 2.740416e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.528383e-01  2.911946e-01
+ 2.740416e-02  9.409709e-03 -2.518951e-01 -2.913536e-01 -2.518951e-01 -2.913536e-01
+ 2.740416e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.740416e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.000000e-06 -2.627297e-01 -2.963389e-01 -3.567978e-08  2.408735e-08
+ 2.747734e-02  2.006944e-03 -2.622991e-01 -2.961403e-01 -6.031740e-09  4.230977e-09
+ 2.747734e-02  2.837833e-03 -2.618565e-01 -2.959199e-01  1.712022e-08  7.875525e-09
+ 2.747734e-02  3.475396e-03 -2.614028e-01 -2.956809e-01  1.688907e-10  2.046144e-08
+ 2.747734e-02  4.012887e-03 -2.609375e-01 -2.954462e-01  5.497477e-06  2.459536e-05
+ 2.747734e-02  4.486426e-03 -2.604532e-01 -2.951155e-01  7.471278e-09  1.529087e-08
+ 2.747734e-02  4.914538e-03 -2.599603e-01 -2.948099e-01  3.533307e-08 -2.106183e-08
+ 2.747734e-02  5.308228e-03 -2.594502e-01 -2.944706e-01  2.692823e-07  6.512995e-07
+ 2.747734e-02  5.674665e-03 -2.588971e-01 -2.940368e-01 -7.371730e-06 -1.625269e-05
+ 2.747734e-02  6.018831e-03 -2.583439e-01 -2.936498e-01 -1.121701e-07  5.419807e-08
+ 2.747734e-02  6.344350e-03 -2.577992e-01 -2.934113e-01 -4.095939e-05 -1.511223e-04
+ 2.747734e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.577583e-01  2.932602e-01
+ 2.747734e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.577583e-01  2.932602e-01
+ 2.747734e-02  7.233532e-03 -2.551093e-01 -2.907972e-01 -4.534799e-05  2.689921e-05
+ 2.747734e-02  7.506553e-03 -2.543356e-01 -2.909429e-01  7.662493e-05 -7.754148e-04
+ 2.747734e-02  7.769986e-03 -2.545439e-01 -2.909105e-01  1.628366e-06  4.969537e-07
+ 2.747734e-02  8.024774e-03 -2.542856e-01 -2.909527e-01 -6.828024e-06  1.410362e-06
+ 2.747734e-02  8.271717e-03 -2.538818e-01 -2.910200e-01  1.351891e-05 -3.113941e-06
+ 2.747734e-02  8.511498e-03 -2.536532e-01 -2.910579e-01 -2.536532e-01 -2.910579e-01
+ 2.747734e-02  8.744705e-03 -2.531783e-01 -2.911367e-01 -1.835630e-05  3.143742e-06
+ 2.747734e-02  8.971852e-03 -2.527207e-01 -2.912133e-01  1.727204e-05 -2.406320e-06
+ 2.747734e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.527380e-01  2.912109e-01
+ 2.747734e-02  9.409709e-03 -2.521231e-01 -2.913127e-01 -4.449886e-05  8.671365e-06
+ 2.747734e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.520786e-01  2.913214e-01
+ 2.747734e-02  1.236647e-02 -2.515950e-01 -2.993573e-01 -2.515950e-01 -2.993573e-01
+ 2.747734e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.747734e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.755031e-02  1.000000e-06 -2.627023e-01 -2.957827e-01 -4.824568e-08  6.392564e-09
+ 2.755031e-02  2.006944e-03 -2.622709e-01 -2.955817e-01 -1.665804e-08  6.960354e-08
+ 2.755031e-02  2.837833e-03 -2.618280e-01 -2.953605e-01 -2.555954e-08 -6.547377e-08
+ 2.755031e-02  3.475396e-03 -2.613719e-01 -2.951163e-01  7.360257e-09  2.001554e-08
+ 2.755031e-02  4.012887e-03 -2.609139e-01 -2.949402e-01 -3.480745e-07 -3.309786e-06
+ 2.755031e-02  4.486426e-03 -2.604214e-01 -2.945507e-01 -6.924525e-08 -4.743577e-08
+ 2.755031e-02  4.914538e-03 -2.599253e-01 -2.942389e-01 -2.560402e-08 -6.518383e-07
+ 2.755031e-02  5.308228e-03 -2.593986e-01 -2.938673e-01  2.591401e-07  6.224599e-07
+ 2.755031e-02  5.674665e-03 -2.588601e-01 -2.934696e-01 -6.960571e-07 -1.310366e-08
+ 2.755031e-02  6.018831e-03 -2.582507e-01 -2.929542e-01  5.965309e-07  3.806856e-07
+ 2.755031e-02  6.344350e-03 -2.574268e-01 -2.920412e-01 -8.845463e-05 -2.605804e-04
+ 2.755031e-02  6.653962e-03 -2.562279e-01 -2.903680e-01  3.768258e-04  4.904369e-04
+ 2.755031e-02  6.949792e-03 -2.557701e-01 -2.907063e-01 -8.048373e-05  1.083080e-05
+ 2.755031e-02  7.233532e-03 -2.555255e-01 -2.907391e-01 -6.276736e-05  9.323481e-06
+ 2.755031e-02  7.506553e-03 -2.550223e-01 -2.908305e-01 -1.585675e-06 -1.092685e-06
+ 2.755031e-02  7.769986e-03 -2.545448e-01 -2.909092e-01  1.190208e-06  4.057846e-08
+ 2.755031e-02  8.024774e-03 -2.545444e-01 -2.909093e-01  3.183890e-06 -4.076191e-07
+ 2.755031e-02  8.271717e-03 -2.541284e-01 -2.909783e-01 -9.241492e-08 -3.445981e-07
+ 2.755031e-02  8.511498e-03 -2.537374e-01 -2.910439e-01  1.718763e-07  2.445194e-07
+ 2.755031e-02  8.744705e-03 -2.533535e-01 -2.911081e-01  1.872136e-04 -3.218570e-05
+ 2.755031e-02  8.971852e-03 -2.530381e-01 -2.911607e-01  7.066055e-07  1.755457e-07
+ 2.755031e-02  9.193388e-03 -2.526382e-01 -2.912269e-01 -6.440036e-06  8.196185e-07
+ 2.755031e-02  9.409709e-03 -2.525220e-01 -2.912482e-01 -2.525220e-01 -2.912482e-01
+ 2.755031e-02  9.621167e-03 -2.519469e-01 -2.913460e-01 -1.619839e-05 -5.787672e-06
+ 2.755031e-02  9.828076e-03 -2.516582e-01 -2.913906e-01 -1.167691e-05  7.407457e-06
+ 2.755031e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.755031e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.516465e-01  2.913980e-01
+ 2.762310e-02  1.000000e-06 -2.626724e-01 -2.952133e-01 -5.301703e-08 -2.016062e-08
+ 2.762310e-02  2.006944e-03 -2.622401e-01 -2.950101e-01 -3.279019e-08 -1.334569e-08
+ 2.762310e-02  2.837833e-03 -2.617960e-01 -2.947857e-01 -2.306988e-08  2.116786e-09
+ 2.762310e-02  3.475396e-03 -2.613398e-01 -2.945415e-01 -4.599174e-09 -1.735434e-08
+ 2.762310e-02  4.012887e-03 -2.608707e-01 -2.942731e-01  1.045621e-05  9.234007e-05
+ 2.762310e-02  4.486426e-03 -2.603853e-01 -2.939689e-01  4.118558e-08  5.241091e-08
+ 2.762310e-02  4.914538e-03 -2.598801e-01 -2.936354e-01  1.900833e-08  1.117123e-06
+ 2.762310e-02  5.308228e-03 -2.593572e-01 -2.932746e-01 -8.242361e-07 -2.097971e-06
+ 2.762310e-02  5.674665e-03 -2.587828e-01 -2.928091e-01  1.048655e-06  4.483063e-07
+ 2.762310e-02  6.018831e-03 -2.573848e-01 -2.905745e-01 -4.598255e-05 -1.295678e-04
+ 2.762310e-02  6.344350e-03 -2.568097e-01 -2.905332e-01 -4.870084e-06 -1.594416e-04
+ 2.762310e-02  6.653962e-03 -2.564795e-01 -2.905868e-01 -4.787431e-07  8.984984e-07
+ 2.762310e-02  6.949792e-03 -2.560628e-01 -2.906574e-01  6.222261e-07  2.076950e-06
+ 2.762310e-02  7.233532e-03 -2.557940e-01 -2.906985e-01 -1.636753e-05  4.616026e-06
+ 2.762310e-02  7.506553e-03 -2.553865e-01 -2.907701e-01 -9.659232e-06 -7.198685e-07
+ 2.762310e-02  7.769986e-03 -2.549697e-01 -2.908384e-01 -3.871716e-06  5.328753e-07
+ 2.762310e-02  8.024774e-03 -2.545463e-01 -2.909090e-01 -2.182382e-06  4.598834e-07
+ 2.762310e-02  8.271717e-03 -2.545356e-01 -2.909110e-01  1.367111e-06 -2.118710e-07
+ 2.762310e-02  8.511498e-03 -2.540028e-01 -2.909999e-01 -6.218235e-07 -4.690889e-08
+ 2.762310e-02  8.744705e-03 -2.535454e-01 -2.910762e-01 -5.528502e-05  8.573725e-06
+ 2.762310e-02  8.971852e-03 -2.532766e-01 -2.911212e-01  4.576967e-07  1.497342e-07
+ 2.762310e-02  9.193388e-03 -2.529878e-01 -2.911692e-01 -3.296776e-06 -7.318948e-07
+ 2.762310e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.529845e-01  2.911685e-01
+ 2.762310e-02  9.621167e-03 -2.522492e-01 -2.912914e-01 -4.692558e-06  2.709079e-06
+ 2.762310e-02  9.828076e-03 -2.518075e-01 -2.913668e-01  7.546935e-06  4.391953e-06
+ 2.762310e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.762310e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.518150e-01  2.913712e-01
+ 2.769569e-02  1.000000e-06 -2.626400e-01 -2.946303e-01 -4.553142e-08 -3.690874e-09
+ 2.769569e-02  2.006944e-03 -2.622069e-01 -2.944246e-01 -5.726192e-08 -1.011333e-08
+ 2.769569e-02  2.837833e-03 -2.617620e-01 -2.941982e-01 -3.914609e-08  6.154883e-09
+ 2.769569e-02  3.475396e-03 -2.613048e-01 -2.939521e-01 -2.015804e-08  6.682693e-09
+ 2.769569e-02  4.012887e-03 -2.608230e-01 -2.935919e-01  3.466348e-07  3.687914e-07
+ 2.769569e-02  4.486426e-03 -2.603447e-01 -2.933690e-01  9.644169e-08  6.946943e-08
+ 2.769569e-02  4.914538e-03 -2.598351e-01 -2.930297e-01 -2.005357e-07 -1.993227e-07
+ 2.769569e-02  5.308228e-03 -2.592890e-01 -2.926211e-01 -5.624029e-06  3.977451e-09
+ 2.769569e-02  5.674665e-03 -2.586482e-01 -2.920112e-01  5.055875e-09  8.672159e-09
+ 2.769569e-02  6.018831e-03 -2.574021e-01 -2.904299e-01  1.136037e-05 -1.319138e-06
+ 2.769569e-02  6.344350e-03 -2.570497e-01 -2.904917e-01 -3.511979e-06  1.052481e-06
+ 2.769569e-02  6.653962e-03 -2.566342e-01 -2.905606e-01 -6.857680e-06  1.788225e-06
+ 2.769569e-02  6.949792e-03 -2.563309e-01 -2.906117e-01  5.615509e-07  5.717553e-08
+ 2.769569e-02  7.233532e-03 -2.559451e-01 -2.906750e-01  1.790098e-06  8.882053e-07
+ 2.769569e-02  7.506553e-03 -2.556108e-01 -2.907313e-01 -1.057174e-06 -3.437576e-07
+ 2.769569e-02  7.769986e-03 -2.553120e-01 -2.907811e-01 -4.051237e-05  6.514056e-06
+ 2.769569e-02  8.024774e-03 -2.548593e-01 -2.908570e-01 -9.340455e-07 -3.123198e-07
+ 2.769569e-02  8.271717e-03 -2.545460e-01 -2.909090e-01 -5.941525e-07  1.949160e-07
+ 2.769569e-02  8.511498e-03 -2.543227e-01 -2.909466e-01 -2.462121e-06 -5.513689e-08
+ 2.769569e-02  8.744705e-03 -2.538855e-01 -2.910197e-01  5.711754e-06 -2.038042e-06
+ 2.769569e-02  8.971852e-03 -2.535228e-01 -2.910799e-01 -9.276921e-07  1.372073e-07
+ 2.769569e-02  9.193388e-03 -2.531500e-01 -2.911409e-01  2.819373e-05 -3.931055e-06
+ 2.769569e-02  9.409709e-03 -2.529411e-01 -2.911753e-01 -1.550412e-04  2.717077e-05
+ 2.769569e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.527860e-01  2.912025e-01
+ 2.769569e-02  1.446606e-02 -2.499371e-01 -3.023776e-01 -2.499371e-01 -3.023776e-01
+ 2.769569e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.769569e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.000000e-06 -2.626051e-01 -2.940331e-01 -2.673561e-08  1.841176e-08
+ 2.776810e-02  2.006944e-03 -2.621711e-01 -2.938248e-01 -5.634159e-08  7.728024e-09
+ 2.776810e-02  2.837833e-03 -2.617253e-01 -2.935964e-01 -5.804809e-08  1.669621e-08
+ 2.776810e-02  3.475396e-03 -2.612669e-01 -2.933477e-01 -1.198037e-07 -9.709426e-08
+ 2.776810e-02  4.012887e-03 -2.607895e-01 -2.930402e-01 -1.882842e-07 -1.049698e-06
+ 2.776810e-02  4.486426e-03 -2.602993e-01 -2.927499e-01 -4.178312e-08  7.269509e-08
+ 2.776810e-02  4.914538e-03 -2.597771e-01 -2.923834e-01 -1.070180e-07 -8.679807e-08
+ 2.776810e-02  5.308228e-03 -2.591870e-01 -2.918760e-01 -6.589737e-08 -3.592701e-08
+ 2.776810e-02  5.674665e-03 -2.580938e-01 -2.903235e-01 -2.616341e-05 -2.166050e-06
+ 2.776810e-02  6.018831e-03 -2.576279e-01 -2.903952e-01  3.668442e-07 -8.374876e-07
+ 2.776810e-02  6.344350e-03 -2.572636e-01 -2.904560e-01  1.816206e-05 -2.986225e-06
+ 2.776810e-02  6.653962e-03 -2.569012e-01 -2.905166e-01 -1.534888e-05  2.332958e-06
+ 2.776810e-02  6.949792e-03 -2.565545e-01 -2.905741e-01  9.245019e-07 -1.729849e-07
+ 2.776810e-02  7.233532e-03 -2.562121e-01 -2.906334e-01 -6.001869e-06 -2.432558e-06
+ 2.776810e-02  7.506553e-03 -2.558626e-01 -2.906898e-01  1.971185e-05 -2.542507e-06
+ 2.776810e-02  7.769986e-03 -2.555088e-01 -2.907485e-01  3.047765e-07  1.827484e-07
+ 2.776810e-02  8.024774e-03 -2.552026e-01 -2.908000e-01 -1.615607e-06  9.555432e-07
+ 2.776810e-02  8.271717e-03 -2.547423e-01 -2.908764e-01  6.807251e-06 -1.119928e-06
+ 2.776810e-02  8.511498e-03 -2.545451e-01 -2.909092e-01  5.750614e-07  1.626455e-09
+ 2.776810e-02  8.744705e-03 -2.541991e-01 -2.909660e-01  1.388670e-06  9.826971e-07
+ 2.776810e-02  8.971852e-03 -2.536737e-01 -2.910543e-01 -1.610405e-04  2.795230e-05
+ 2.776810e-02  9.193388e-03 -2.535212e-01 -2.910800e-01 -2.470251e-08 -1.185677e-07
+ 2.776810e-02  9.409709e-03 -2.532013e-01 -2.911335e-01 -2.532013e-01 -2.911335e-01
+ 2.776810e-02  9.621167e-03 -2.527232e-01 -2.912136e-01  6.806432e-05 -1.137709e-05
+ 2.776810e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.527913e-01  2.912022e-01
+ 2.776810e-02  1.003072e-02 -2.518078e-01 -2.913781e-01 -2.518078e-01 -2.913781e-01
+ 2.776810e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.776810e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.784031e-02  1.000000e-06 -2.625677e-01 -2.934210e-01 -5.407202e-09 -3.669118e-09
+ 2.784031e-02  2.006944e-03 -2.621329e-01 -2.932103e-01 -4.166072e-08  2.728465e-09
+ 2.784031e-02  2.837833e-03 -2.616861e-01 -2.929795e-01 -3.000057e-08 -8.365807e-08
+ 2.784031e-02  3.475396e-03 -2.612259e-01 -2.927273e-01 -6.597699e-08 -1.300987e-08
+ 2.784031e-02  4.012887e-03 -2.607458e-01 -2.924199e-01 -1.192847e-07 -8.843824e-08
+ 2.784031e-02  4.486426e-03 -2.602444e-01 -2.920982e-01 -2.962465e-07 -7.138790e-07
+ 2.784031e-02  4.914538e-03 -2.596922e-01 -2.916668e-01  6.129735e-08  1.191779e-06
+ 2.784031e-02  5.308228e-03 -2.586144e-01 -2.902344e-01 -8.308695e-07 -2.340413e-06
+ 2.784031e-02  5.674665e-03 -2.582240e-01 -2.902964e-01 -6.275816e-07  2.609554e-07
+ 2.784031e-02  6.018831e-03 -2.578823e-01 -2.903532e-01  5.312171e-06 -1.066166e-06
+ 2.784031e-02  6.344350e-03 -2.575020e-01 -2.904163e-01  3.797961e-07  9.726535e-08
+ 2.784031e-02  6.653962e-03 -2.571536e-01 -2.904745e-01  3.648302e-06 -7.907091e-07
+ 2.784031e-02  6.949792e-03 -2.568149e-01 -2.905309e-01 -2.860219e-07 -9.219996e-08
+ 2.784031e-02  7.233532e-03 -2.564692e-01 -2.905885e-01 -5.334814e-08  2.334173e-08
+ 2.784031e-02  7.506553e-03 -2.561283e-01 -2.906436e-01 -1.721835e-06  3.561770e-07
+ 2.784031e-02  7.769986e-03 -2.557977e-01 -2.907019e-01 -6.369380e-06  1.095044e-06
+ 2.784031e-02  8.024774e-03 -2.554109e-01 -2.907648e-01 -1.257227e-06 -1.574929e-07
+ 2.784031e-02  8.271717e-03 -2.551313e-01 -2.908110e-01  1.157733e-05 -1.988069e-06
+ 2.784031e-02  8.511498e-03 -2.545504e-01 -2.909081e-01 -8.009336e-06  2.150473e-06
+ 2.784031e-02  8.744705e-03 -2.545424e-01 -2.909106e-01 -8.774625e-08 -9.515504e-07
+ 2.784031e-02  8.971852e-03 -2.541511e-01 -2.909736e-01 -2.541511e-01 -2.909736e-01
+ 2.784031e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.784031e-02  9.409709e-03 -2.535809e-01 -2.910709e-01 -5.410489e-06  1.577884e-07
+ 2.784031e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.784031e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.535755e-01  2.910710e-01
+ 2.791234e-02  1.000000e-06 -2.625279e-01 -2.927932e-01  6.404658e-09  1.240499e-08
+ 2.791234e-02  2.006944e-03 -2.620922e-01 -2.925801e-01 -1.102638e-08 -1.599773e-08
+ 2.791234e-02  2.837833e-03 -2.616443e-01 -2.923464e-01 -4.592552e-08 -2.678739e-08
+ 2.791234e-02  3.475396e-03 -2.611816e-01 -2.920894e-01 -6.802827e-08 -2.602940e-08
+ 2.791234e-02  4.012887e-03 -2.606956e-01 -2.917734e-01 -6.792565e-08 -2.190790e-08
+ 2.791234e-02  4.486426e-03 -2.601727e-01 -2.914012e-01 -2.282913e-07 -5.175654e-07
+ 2.791234e-02  4.914538e-03 -2.591880e-01 -2.901363e-01  3.352978e-06 -2.269224e-06
+ 2.791234e-02  5.308228e-03 -2.588026e-01 -2.902007e-01 -8.977198e-06 -6.363057e-07
+ 2.791234e-02  5.674665e-03 -2.584548e-01 -2.902578e-01 -7.519972e-07  1.595143e-07
+ 2.791234e-02  6.018831e-03 -2.581306e-01 -2.903126e-01 -9.132469e-06 -1.443273e-06
+ 2.791234e-02  6.344350e-03 -2.577636e-01 -2.903728e-01  1.362899e-07 -1.146027e-07
+ 2.791234e-02  6.653962e-03 -2.574250e-01 -2.904292e-01  8.537603e-08  4.813722e-08
+ 2.791234e-02  6.949792e-03 -2.570858e-01 -2.904860e-01 -5.866807e-07 -1.595814e-07
+ 2.791234e-02  7.233532e-03 -2.567456e-01 -2.905426e-01 -7.247811e-07  9.657846e-09
+ 2.791234e-02  7.506553e-03 -2.564105e-01 -2.905984e-01  7.544877e-07 -1.580435e-07
+ 2.791234e-02  7.769986e-03 -2.560538e-01 -2.906513e-01  1.566568e-05  7.200674e-06
+ 2.791234e-02  8.024774e-03 -2.558192e-01 -2.907017e-01 -5.493021e-05  2.792508e-06
+ 2.791234e-02  8.271717e-03 -2.552700e-01 -2.907912e-01 -2.972918e-05 -9.342159e-07
+ 2.791234e-02  8.511498e-03 -2.550725e-01 -2.908200e-01 -1.705079e-05  4.008011e-06
+ 2.791234e-02  8.744705e-03 -2.545481e-01 -2.909085e-01 -3.505194e-06  3.595207e-07
+ 2.791234e-02  8.971852e-03 -2.545405e-01 -2.909114e-01  1.714422e-06  2.637094e-07
+ 2.791234e-02  9.193388e-03 -2.539080e-01 -2.910148e-01 -2.539080e-01 -2.910148e-01
+ 2.791234e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.080334e-02 -2.540133e-01 -2.962603e-01 -2.540133e-01 -2.962603e-01
+ 2.791234e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.791234e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798419e-02  1.000000e-06 -2.624856e-01 -2.921491e-01  4.991872e-09  4.264865e-09
+ 2.798419e-02  2.006944e-03 -2.620490e-01 -2.919335e-01  4.980479e-09 -2.196917e-08
+ 2.798419e-02  2.837833e-03 -2.615995e-01 -2.916962e-01 -1.143318e-08 -2.504813e-09
+ 2.798419e-02  3.475396e-03 -2.611327e-01 -2.914306e-01 -3.278067e-08 -1.024433e-08
+ 2.798419e-02  4.012887e-03 -2.606319e-01 -2.910848e-01  2.993290e-07  1.211796e-06
+ 2.798419e-02  4.486426e-03 -2.597790e-01 -2.900375e-01 -8.737802e-07 -1.673135e-06
+ 2.798419e-02  4.914538e-03 -2.594093e-01 -2.901007e-01  1.306980e-08 -7.288220e-07
+ 2.798419e-02  5.308228e-03 -2.590573e-01 -2.901580e-01 -3.841791e-07 -1.856378e-07
+ 2.798419e-02  5.674665e-03 -2.587137e-01 -2.902145e-01 -1.544405e-07 -1.459591e-07
+ 2.798419e-02  6.018831e-03 -2.583839e-01 -2.902691e-01  1.671725e-05 -2.296648e-06
+ 2.798419e-02  6.344350e-03 -2.580078e-01 -2.903303e-01  4.557846e-07 -2.522573e-08
+ 2.798419e-02  6.653962e-03 -2.576748e-01 -2.903868e-01  7.603594e-06 -9.556128e-07
+ 2.798419e-02  6.949792e-03 -2.573810e-01 -2.904363e-01  6.107117e-08  2.387948e-07
+ 2.798419e-02  7.233532e-03 -2.570347e-01 -2.904942e-01  9.817498e-07  1.579549e-07
+ 2.798419e-02  7.506553e-03 -2.566753e-01 -2.905537e-01 -3.647446e-06  7.089766e-07
+ 2.798419e-02  7.769986e-03 -2.563590e-01 -2.906072e-01  2.506297e-07 -4.359498e-08
+ 2.798419e-02  8.024774e-03 -2.559884e-01 -2.906659e-01  1.542738e-05 -6.783999e-06
+ 2.798419e-02  8.271717e-03 -2.557170e-01 -2.907081e-01  7.430131e-05 -1.025270e-05
+ 2.798419e-02  8.511498e-03 -2.552086e-01 -2.907957e-01  1.743858e-05  1.676473e-06
+ 2.798419e-02  8.744705e-03 -2.550735e-01 -2.904611e-01 -2.550735e-01 -2.904611e-01
+ 2.798419e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798419e-02  9.193388e-03 -2.544898e-01 -2.909137e-01 -2.544898e-01 -2.909137e-01
+ 2.798419e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798419e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798419e-02  9.828076e-03 -2.523536e-01 -2.896451e-01 -2.523536e-01 -2.896451e-01
+ 2.798419e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.798419e-02  1.022935e-02 -2.510234e-01 -2.914683e-01  1.166893e-04  3.320589e-05
+ 2.798419e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.798419e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.511401e-01  2.915015e-01
+ 2.805585e-02  1.000000e-06 -2.624410e-01 -2.914878e-01  9.421913e-11  4.915178e-09
+ 2.805585e-02  2.006944e-03 -2.620034e-01 -2.912695e-01  4.082538e-09 -2.356105e-08
+ 2.805585e-02  2.837833e-03 -2.615514e-01 -2.910266e-01  7.696362e-09  3.773622e-09
+ 2.805585e-02  3.475396e-03 -2.610729e-01 -2.907378e-01  2.991405e-07 -2.035406e-07
+ 2.805585e-02  4.012887e-03 -2.603733e-01 -2.899846e-01 -8.715427e-07 -3.132611e-06
+ 2.805585e-02  4.486426e-03 -2.599953e-01 -2.900030e-01 -8.197311e-07 -1.667394e-06
+ 2.805585e-02  4.914538e-03 -2.596521e-01 -2.900583e-01 -5.004062e-08 -5.386053e-08
+ 2.805585e-02  5.308228e-03 -2.593172e-01 -2.901139e-01  4.061602e-07  1.119577e-06
+ 2.805585e-02  5.674665e-03 -2.589866e-01 -2.901685e-01  2.872975e-07  3.195828e-07
+ 2.805585e-02  6.018831e-03 -2.586647e-01 -2.902228e-01 -3.317859e-06 -2.489852e-07
+ 2.805585e-02  6.344350e-03 -2.583107e-01 -2.902800e-01  2.619526e-06  5.804055e-07
+ 2.805585e-02  6.653962e-03 -2.580678e-01 -2.903220e-01 -1.276036e-05  2.169790e-06
+ 2.805585e-02  6.949792e-03 -2.577576e-01 -2.903750e-01 -4.018615e-05  5.083062e-06
+ 2.805585e-02  7.233532e-03 -2.573441e-01 -2.904437e-01 -9.408933e-06  1.284038e-06
+ 2.805585e-02  7.506553e-03 -2.569779e-01 -2.905028e-01  2.231272e-05  5.082718e-07
+ 2.805585e-02  7.769986e-03 -2.566804e-01 -2.905530e-01  1.144518e-05 -1.029438e-07
+ 2.805585e-02  8.024774e-03 -2.563055e-01 -2.906153e-01  1.283387e-06 -2.096711e-06
+ 2.805585e-02  8.271717e-03 -2.555733e-01 -2.899610e-01 -2.555733e-01 -2.899610e-01
+ 2.805585e-02  8.511498e-03 -2.555760e-01 -2.907375e-01  4.746901e-05 -2.009688e-05
+ 2.805585e-02  8.744705e-03 -2.541945e-01 -2.907959e-01 -2.541945e-01 -2.907959e-01
+ 2.805585e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.805585e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.805585e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.805585e-02  9.621167e-03 -2.533964e-01 -2.900122e-01  1.680218e-03  7.779215e-04
+ 2.805585e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.805585e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.550766e-01  2.907901e-01
+ 2.812733e-02  1.000000e-06 -2.623940e-01 -2.908083e-01  2.296977e-09  2.602799e-09
+ 2.812733e-02  2.006944e-03 -2.619551e-01 -2.905868e-01 -4.411724e-09 -5.386559e-09
+ 2.812733e-02  2.837833e-03 -2.614956e-01 -2.903266e-01 -1.106872e-08 -5.711165e-08
+ 2.812733e-02  3.475396e-03 -2.609023e-01 -2.898320e-01  2.664647e-05  5.430150e-05
+ 2.812733e-02  4.012887e-03 -2.605821e-01 -2.899032e-01 -8.773111e-08 -2.069449e-07
+ 2.812733e-02  4.486426e-03 -2.602511e-01 -2.899555e-01  3.013744e-06  6.449591e-06
+ 2.812733e-02  4.914538e-03 -2.599272e-01 -2.900078e-01  8.419107e-07  1.793065e-06
+ 2.812733e-02  5.308228e-03 -2.596103e-01 -2.900652e-01 -3.076547e-07 -5.046149e-07
+ 2.812733e-02  5.674665e-03 -2.592967e-01 -2.901162e-01 -1.195993e-06  3.918120e-06
+ 2.812733e-02  6.018831e-03 -2.589785e-01 -2.901644e-01  2.472110e-05  7.265782e-06
+ 2.812733e-02  6.344350e-03 -2.586454e-01 -2.902215e-01 -1.030253e-06  1.563356e-06
+ 2.812733e-02  6.653962e-03 -2.583474e-01 -2.902554e-01 -4.503042e-04 -1.148165e-03
+ 2.812733e-02  6.949792e-03 -2.580590e-01 -2.903186e-01  4.027641e-05  8.191287e-06
+ 2.812733e-02  7.233532e-03 -2.577346e-01 -2.904076e-01 -5.522449e-05 -9.934490e-05
+ 2.812733e-02  7.506553e-03 -2.568301e-01 -2.892813e-01 -7.571049e-04 -1.288296e-03
+ 2.812733e-02  7.769986e-03 -2.574398e-01 -2.914645e-01 -5.726474e-04 -9.427583e-04
+ 2.812733e-02  8.024774e-03 -2.553550e-01 -2.871529e-01  2.625425e-04  8.021120e-04
+ 2.812733e-02  8.271717e-03 -2.561727e-01 -2.905230e-01 -8.708895e-05 -3.040209e-04
+ 2.812733e-02  8.511498e-03 -2.557677e-01 -2.901955e-01 -1.272748e-03 -3.897307e-03
+ 2.812733e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.544950e-01  2.862982e-01
+ 2.812733e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.544950e-01  2.862982e-01
+ 2.812733e-02  9.193388e-03 -2.545413e-01 -2.909025e-01 -8.734844e-06 -2.026673e-06
+ 2.812733e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.545325e-01  2.909005e-01
+ 2.812733e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.545325e-01  2.909005e-01
+ 2.812733e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.545325e-01  2.909005e-01
+ 2.812733e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.545325e-01  2.909005e-01
+ 2.812733e-02  1.022935e-02 -2.532680e-01 -2.911135e-01 -2.532680e-01 -2.911135e-01
+ 2.812733e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.812733e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.819862e-02  1.000000e-06 -2.623446e-01 -2.901095e-01  6.271855e-09  9.895035e-09
+ 2.819862e-02  2.006944e-03 -2.618995e-01 -2.898715e-01  2.281277e-06  7.619557e-06
+ 2.819862e-02  2.837833e-03 -2.615116e-01 -2.897895e-01 -3.979576e-05 -8.790783e-05
+ 2.819862e-02  3.475396e-03 -2.612400e-01 -2.899330e-01 -1.592442e-04 -3.385881e-04
+ 2.819862e-02  4.012887e-03 -2.606254e-01 -2.893434e-01  3.752489e-08  6.082462e-08
+ 2.819862e-02  4.486426e-03 -2.601768e-01 -2.891308e-01  9.921332e-09  5.869037e-08
+ 2.819862e-02  4.914538e-03 -2.597275e-01 -2.889248e-01 -6.562247e-08  6.281037e-08
+ 2.819862e-02  5.308228e-03 -2.592776e-01 -2.887246e-01 -1.570181e-07 -2.674559e-08
+ 2.819862e-02  5.674665e-03 -2.588236e-01 -2.885212e-01 -1.326085e-07 -1.696031e-07
+ 2.819862e-02  6.018831e-03 -2.583775e-01 -2.883436e-01 -3.105538e-07 -9.031208e-07
+ 2.819862e-02  6.344350e-03 -2.579427e-01 -2.882325e-01  1.186399e-06  5.700136e-06
+ 2.819862e-02  6.653962e-03 -2.575255e-01 -2.880010e-01  2.283777e-05  1.004720e-04
+ 2.819862e-02  6.949792e-03 -2.570357e-01 -2.878632e-01  8.646783e-06  8.773157e-06
+ 2.819862e-02  7.233532e-03 -2.567399e-01 -2.877624e-01 -8.046419e-05  6.521955e-06
+ 2.819862e-02  7.506553e-03 -2.561851e-01 -2.876338e-01 -3.571809e-05 -1.038160e-04
+ 2.819862e-02  7.769986e-03 -2.557887e-01 -2.876438e-01 -1.244584e-03 -2.174492e-03
+ 2.819862e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.545442e-01  2.854693e-01
+ 2.819862e-02  8.271717e-03 -2.567514e-01 -2.909432e-01 -1.956386e-04 -3.835954e-04
+ 2.819862e-02  8.511498e-03 -2.561441e-01 -2.898401e-01 -7.867937e-04 -1.983543e-03
+ 2.819862e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.819862e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.553573e-01  2.878566e-01
+ 2.826974e-02  1.000000e-06 -2.622929e-01 -2.893901e-01 -8.140692e-09  8.146501e-09
+ 2.826974e-02  2.006944e-03 -2.618550e-01 -2.891710e-01  1.154464e-08 -3.335489e-08
+ 2.826974e-02  2.837833e-03 -2.614124e-01 -2.889502e-01  4.221925e-09  2.841905e-08
+ 2.826974e-02  3.475396e-03 -2.609665e-01 -2.887357e-01  1.741671e-08  4.368273e-08
+ 2.826974e-02  4.012887e-03 -2.605144e-01 -2.885062e-01 -1.731176e-06  7.097684e-06
+ 2.826974e-02  4.486426e-03 -2.600623e-01 -2.882884e-01  7.980316e-09  2.408476e-09
+ 2.826974e-02  4.914538e-03 -2.596073e-01 -2.880752e-01  3.666969e-08  6.260029e-08
+ 2.826974e-02  5.308228e-03 -2.591498e-01 -2.878651e-01  9.180620e-07  2.318806e-06
+ 2.826974e-02  5.674665e-03 -2.586946e-01 -2.876695e-01 -1.471037e-07  1.872949e-07
+ 2.826974e-02  6.018831e-03 -2.582815e-01 -2.876495e-01 -5.747369e-06 -2.285197e-05
+ 2.826974e-02  6.344350e-03 -2.577969e-01 -2.873715e-01  4.934498e-07 -5.445452e-07
+ 2.826974e-02  6.653962e-03 -2.572947e-01 -2.864998e-01  1.272919e-04 -4.860141e-04
+ 2.826974e-02  6.949792e-03 -2.568680e-01 -2.869523e-01 -3.388843e-08 -2.398064e-06
+ 2.826974e-02  7.233532e-03 -2.563980e-01 -2.868030e-01 -1.714882e-06  2.653430e-06
+ 2.826974e-02  7.506553e-03 -2.559998e-01 -2.866578e-01 -3.282081e-05 -6.829433e-05
+ 2.826974e-02  7.769986e-03 -2.551167e-01 -2.857520e-01 -2.035419e-04 -3.854830e-04
+ 2.826974e-02  8.024774e-03 -2.542701e-01 -2.854510e-01 -2.542701e-01 -2.854510e-01
+ 2.826974e-02  8.271717e-03 -2.566088e-01 -2.901181e-01 -7.743429e-04 -1.675532e-03
+ 2.826974e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.826974e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.558345e-01  2.884426e-01
+ 2.834068e-02  1.000000e-06 -2.622388e-01 -2.886489e-01 -4.238457e-08 -1.233212e-08
+ 2.834068e-02  2.006944e-03 -2.617991e-01 -2.884257e-01 -2.094392e-08  6.003316e-09
+ 2.834068e-02  2.837833e-03 -2.613527e-01 -2.881969e-01  5.142213e-09  6.074511e-08
+ 2.834068e-02  3.475396e-03 -2.609034e-01 -2.879875e-01 -1.178796e-06 -1.272815e-05
+ 2.834068e-02  4.012887e-03 -2.604447e-01 -2.877344e-01 -2.224010e-10  4.017829e-09
+ 2.834068e-02  4.486426e-03 -2.599864e-01 -2.875064e-01  4.623241e-10 -2.885895e-10
+ 2.834068e-02  4.914538e-03 -2.595251e-01 -2.872849e-01 -4.504411e-08 -1.759542e-08
+ 2.834068e-02  5.308228e-03 -2.590675e-01 -2.870800e-01 -3.467920e-06 -6.925286e-06
+ 2.834068e-02  5.674665e-03 -2.585968e-01 -2.868517e-01 -1.911261e-06 -4.842639e-06
+ 2.834068e-02  6.018831e-03 -2.581489e-01 -2.867155e-01 -3.029333e-09 -1.832498e-09
+ 2.834068e-02  6.344350e-03 -2.576922e-01 -2.865571e-01  2.439867e-06  5.333874e-06
+ 2.834068e-02  6.653962e-03 -2.572775e-01 -2.862037e-01  1.360902e-05  5.307900e-04
+ 2.834068e-02  6.949792e-03 -2.567974e-01 -2.861834e-01 -4.918563e-06 -1.123061e-05
+ 2.834068e-02  7.233532e-03 -2.563740e-01 -2.861252e-01  2.052459e-05  5.052259e-05
+ 2.834068e-02  7.506553e-03 -2.556523e-01 -2.857363e-01 -3.594481e-05 -4.168576e-05
+ 2.834068e-02  7.769986e-03 -2.554946e-01 -2.854648e-01  3.894799e-04  6.999991e-04
+ 2.834068e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.834068e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.558841e-01  2.861648e-01
+ 2.841144e-02  1.000000e-06 -2.621824e-01 -2.878843e-01 -6.030028e-08  1.624285e-07
+ 2.841144e-02  2.006944e-03 -2.617417e-01 -2.876590e-01 -5.378124e-08 -1.794104e-08
+ 2.841144e-02  2.837833e-03 -2.612933e-01 -2.874263e-01 -2.604119e-08 -6.705644e-08
+ 2.841144e-02  3.475396e-03 -2.608379e-01 -2.871861e-01  9.424899e-07  3.928974e-06
+ 2.841144e-02  4.012887e-03 -2.603792e-01 -2.869552e-01 -4.708835e-09 -2.971968e-08
+ 2.841144e-02  4.486426e-03 -2.599177e-01 -2.867189e-01 -1.574602e-08 -1.571340e-07
+ 2.841144e-02  4.914538e-03 -2.594522e-01 -2.864956e-01  1.883917e-06  5.998271e-06
+ 2.841144e-02  5.308228e-03 -2.589864e-01 -2.862783e-01 -1.095812e-08  6.894121e-09
+ 2.841144e-02  5.674665e-03 -2.584518e-01 -2.858203e-01  1.245549e-05 -2.128164e-05
+ 2.841144e-02  6.018831e-03 -2.580836e-01 -2.859520e-01  2.022065e-07  4.405362e-07
+ 2.841144e-02  6.344350e-03 -2.576419e-01 -2.858329e-01  1.109216e-05  2.313739e-05
+ 2.841144e-02  6.653962e-03 -2.570200e-01 -2.850645e-01  7.367116e-06  1.182565e-04
+ 2.841144e-02  6.949792e-03 -2.566438e-01 -2.852167e-01 -9.639351e-07 -4.495659e-06
+ 2.841144e-02  7.233532e-03 -2.561771e-01 -2.851493e-01 -3.505842e-06 -3.057247e-06
+ 2.841144e-02  7.506553e-03 -2.555004e-01 -2.846374e-01 -4.124374e-04 -7.222886e-04
+ 2.841144e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.550880e-01  2.839151e-01
+ 2.841144e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.550880e-01  2.839151e-01
+ 2.841144e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.550880e-01  2.839151e-01
+ 2.841144e-02  8.511498e-03 -2.548852e-01 -2.866804e-01 -2.548852e-01 -2.866804e-01
+ 2.841144e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  9.193388e-03 -2.542626e-01 -2.908972e-01  4.355069e-04  2.835105e-04
+ 2.841144e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.546981e-01  2.911807e-01
+ 2.841144e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.546981e-01  2.911807e-01
+ 2.841144e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.546981e-01  2.911807e-01
+ 2.841144e-02  1.003072e-02 -2.553738e-01 -2.907734e-01 -2.553738e-01 -2.907734e-01
+ 2.841144e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.841144e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.000000e-06 -2.621238e-01 -2.870945e-01 -3.693654e-08 -2.635714e-07
+ 2.848202e-02  2.006944e-03 -2.616821e-01 -2.868675e-01 -5.522796e-08  1.351222e-07
+ 2.848202e-02  2.837833e-03 -2.612322e-01 -2.866322e-01 -6.980263e-08 -1.743612e-08
+ 2.848202e-02  3.475396e-03 -2.607762e-01 -2.863990e-01 -6.806180e-08  5.029398e-08
+ 2.848202e-02  4.012887e-03 -2.603141e-01 -2.861579e-01 -2.861836e-08 -5.245247e-09
+ 2.848202e-02  4.486426e-03 -2.598450e-01 -2.859423e-01  5.357190e-08 -3.213308e-07
+ 2.848202e-02  4.914538e-03 -2.593679e-01 -2.856624e-01  1.163521e-05  2.339019e-05
+ 2.848202e-02  5.308228e-03 -2.589056e-01 -2.854566e-01 -1.711621e-08 -1.797788e-08
+ 2.848202e-02  5.674665e-03 -2.584479e-01 -2.853035e-01 -8.792272e-09 -1.553125e-07
+ 2.848202e-02  6.018831e-03 -2.579760e-01 -2.850852e-01 -7.395947e-08 -5.573624e-08
+ 2.848202e-02  6.344350e-03 -2.575127e-01 -2.849400e-01  2.073601e-05  5.931796e-05
+ 2.848202e-02  6.653962e-03 -2.570045e-01 -2.855515e-01  2.700523e-04  6.632524e-04
+ 2.848202e-02  6.949792e-03 -2.565502e-01 -2.843898e-01 -6.276409e-07 -7.864440e-07
+ 2.848202e-02  7.233532e-03 -2.558934e-01 -2.838718e-01  1.739934e-04  4.224343e-04
+ 2.848202e-02  7.506553e-03 -2.558585e-01 -2.847624e-01  1.734613e-05  2.476156e-05
+ 2.848202e-02  7.769986e-03 -2.552616e-01 -2.843362e-01 -6.774744e-06 -2.936745e-06
+ 2.848202e-02  8.024774e-03 -2.549019e-01 -2.843123e-01  6.140788e-04  1.192289e-03
+ 2.848202e-02  8.271717e-03 -2.552085e-01 -2.857210e-01 -5.273633e-05 -8.984310e-05
+ 2.848202e-02  8.511498e-03 -2.547757e-01 -2.856450e-01 -2.547757e-01 -2.856450e-01
+ 2.848202e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.848202e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.000000e-06 -2.620628e-01 -2.862768e-01  4.611527e-09  5.188507e-07
+ 2.855243e-02  2.006944e-03 -2.616203e-01 -2.860491e-01 -3.202724e-08 -5.240034e-08
+ 2.855243e-02  2.837833e-03 -2.611690e-01 -2.858114e-01 -5.467779e-08 -2.597105e-08
+ 2.855243e-02  3.475396e-03 -2.607120e-01 -2.855809e-01 -8.719917e-08 -1.404011e-08
+ 2.855243e-02  4.012887e-03 -2.602479e-01 -2.853371e-01 -8.300689e-08  9.479668e-09
+ 2.855243e-02  4.486426e-03 -2.597797e-01 -2.851041e-01 -1.141699e-07 -6.288425e-08
+ 2.855243e-02  4.914538e-03 -2.593129e-01 -2.848660e-01 -9.175564e-08  8.946245e-07
+ 2.855243e-02  5.308228e-03 -2.588403e-01 -2.846458e-01  1.005107e-07  1.377800e-08
+ 2.855243e-02  5.674665e-03 -2.583776e-01 -2.844749e-01 -4.986329e-06 -1.009455e-05
+ 2.855243e-02  6.018831e-03 -2.579154e-01 -2.843092e-01 -6.670430e-07 -1.929767e-06
+ 2.855243e-02  6.344350e-03 -2.574726e-01 -2.841774e-01 -2.996039e-06 -4.666847e-07
+ 2.855243e-02  6.653962e-03 -2.570074e-01 -2.841449e-01 -3.498475e-05 -1.051820e-04
+ 2.855243e-02  6.949792e-03 -2.565183e-01 -2.835645e-01 -3.229133e-05 -1.147341e-04
+ 2.855243e-02  7.233532e-03 -2.560515e-01 -2.835409e-01  8.688565e-05  2.028561e-04
+ 2.855243e-02  7.506553e-03 -2.541381e-01 -2.816484e-01 -2.541381e-01 -2.816484e-01
+ 2.855243e-02  7.769986e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  8.024774e-03 -2.544909e-01 -2.837284e-01 -2.544909e-01 -2.837284e-01
+ 2.855243e-02  8.271717e-03 -2.530808e-01 -2.813751e-01 -2.530808e-01 -2.813751e-01
+ 2.855243e-02  8.511498e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.116962e-02 -2.542007e-01 -2.816372e-01 -2.542007e-01 -2.816372e-01
+ 2.855243e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.855243e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.862267e-02  1.000000e-06 -2.619996e-01 -2.854288e-01  2.999258e-09  1.393405e-06
+ 2.862267e-02  2.006944e-03 -2.615565e-01 -2.852029e-01 -1.027375e-07 -5.581954e-07
+ 2.862267e-02  2.837833e-03 -2.611036e-01 -2.849606e-01 -4.075671e-09  5.283567e-09
+ 2.862267e-02  3.475396e-03 -2.606460e-01 -2.847348e-01 -2.545390e-08  3.065046e-08
+ 2.862267e-02  4.012887e-03 -2.601807e-01 -2.844920e-01 -4.037121e-07 -1.377542e-06
+ 2.862267e-02  4.486426e-03 -2.597126e-01 -2.842610e-01 -8.967707e-08 -4.133567e-08
+ 2.862267e-02  4.914538e-03 -2.592659e-01 -2.839453e-01 -1.442639e-05  5.826080e-05
+ 2.862267e-02  5.308228e-03 -2.587766e-01 -2.838113e-01 -1.918026e-07 -2.421928e-07
+ 2.862267e-02  5.674665e-03 -2.583243e-01 -2.836715e-01 -1.506647e-07 -4.907839e-08
+ 2.862267e-02  6.018831e-03 -2.578658e-01 -2.835151e-01  1.852543e-07  5.831298e-07
+ 2.862267e-02  6.344350e-03 -2.574096e-01 -2.834085e-01  1.206552e-07  2.828871e-07
+ 2.862267e-02  6.653962e-03 -2.570581e-01 -2.834533e-01 -2.154876e-06 -3.540118e-05
+ 2.862267e-02  6.949792e-03 -2.564763e-01 -2.829845e-01 -2.396058e-04 -1.065521e-03
+ 2.862267e-02  7.233532e-03 -2.546107e-01 -2.797941e-01 -3.384799e-04 -5.719313e-04
+ 2.862267e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.862267e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.542722e-01  2.792222e-01
+ 2.869274e-02  1.000000e-06 -2.619342e-01 -2.845507e-01  7.812609e-10 -5.104741e-08
+ 2.869274e-02  2.006944e-03 -2.614900e-01 -2.843215e-01 -2.850058e-07 -1.478193e-06
+ 2.869274e-02  2.837833e-03 -2.610355e-01 -2.840744e-01  9.132967e-09 -4.801611e-09
+ 2.869274e-02  3.475396e-03 -2.605783e-01 -2.838592e-01  1.750887e-08  2.309283e-08
+ 2.869274e-02  4.012887e-03 -2.601135e-01 -2.836210e-01 -4.157671e-09 -3.413741e-08
+ 2.869274e-02  4.486426e-03 -2.596489e-01 -2.834016e-01 -4.784003e-08 -6.703990e-09
+ 2.869274e-02  4.914538e-03 -2.591878e-01 -2.832205e-01 -2.723955e-08  3.120414e-07
+ 2.869274e-02  5.308228e-03 -2.587566e-01 -2.830737e-01 -4.939973e-06 -1.866674e-05
+ 2.869274e-02  5.674665e-03 -2.583050e-01 -2.829068e-01 -6.539906e-06 -1.583091e-05
+ 2.869274e-02  6.018831e-03 -2.578483e-01 -2.827535e-01 -2.167103e-06 -4.965121e-06
+ 2.869274e-02  6.344350e-03 -2.568537e-01 -2.816778e-01  2.458456e-04  4.858276e-04
+ 2.869274e-02  6.653962e-03 -2.555230e-01 -2.783042e-01 -2.555230e-01 -2.783042e-01
+ 2.869274e-02  6.949792e-03 -2.555140e-01 -2.805307e-01  2.126752e-04 -2.618022e-04
+ 2.869274e-02  7.233532e-03 -2.565654e-01 -2.821130e-01 -5.888183e-04 -1.444411e-05
+ 2.869274e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.559766e-01  2.820985e-01
+ 2.869274e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.559766e-01  2.820985e-01
+ 2.869274e-02  8.024774e-03 -2.542344e-01 -2.817609e-01 -6.343393e-04 -6.081414e-05
+ 2.869274e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.869274e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.536001e-01  2.817001e-01
+ 2.876263e-02  1.000000e-06 -2.618666e-01 -2.836350e-01  8.015890e-09  4.050189e-08
+ 2.876263e-02  2.006944e-03 -2.614215e-01 -2.834055e-01 -2.307748e-07 -1.134919e-06
+ 2.876263e-02  2.837833e-03 -2.609646e-01 -2.831426e-01 -1.666333e-07 -7.847640e-07
+ 2.876263e-02  3.475396e-03 -2.605119e-01 -2.829571e-01  5.353734e-08  1.442319e-07
+ 2.876263e-02  4.012887e-03 -2.600599e-01 -2.827503e-01  7.154128e-08  1.296248e-07
+ 2.876263e-02  4.486426e-03 -2.594483e-01 -2.822123e-01  1.274086e-05  2.584495e-05
+ 2.876263e-02  4.914538e-03 -2.589554e-01 -2.819528e-01  6.957641e-06  1.547389e-05
+ 2.876263e-02  5.308228e-03 -2.584639e-01 -2.816819e-01  6.461255e-06  8.048515e-06
+ 2.876263e-02  5.674665e-03 -2.579549e-01 -2.814425e-01  1.241505e-07  1.505590e-06
+ 2.876263e-02  6.018831e-03 -2.574346e-01 -2.812059e-01 -6.181338e-07 -4.246330e-06
+ 2.876263e-02  6.344350e-03 -2.567367e-01 -2.805299e-01 -5.573722e-06 -1.511576e-05
+ 2.876263e-02  6.653962e-03 -2.560763e-01 -2.820117e-01 -5.152415e-05  4.778453e-04
+ 2.876263e-02  6.949792e-03 -2.552924e-01 -2.788958e-01  3.169453e-04  7.439329e-04
+ 2.876263e-02  7.233532e-03 -2.551351e-01 -2.798305e-01  3.093196e-05  1.474467e-05
+ 2.876263e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.551660e-01  2.798452e-01
+ 2.876263e-02  7.769986e-03 -2.551348e-01 -2.818897e-01 -5.364357e-05 -2.164886e-06
+ 2.876263e-02  8.024774e-03 -2.540866e-01 -2.817551e-01  3.154947e-04  3.711155e-06
+ 2.876263e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.876263e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.544020e-01  2.817589e-01
+ 2.883236e-02  1.000000e-06 -2.617967e-01 -2.826790e-01 -2.377565e-08 -4.695934e-09
+ 2.883236e-02  2.006944e-03 -2.613503e-01 -2.824482e-01 -2.198992e-08 -5.389330e-08
+ 2.883236e-02  2.837833e-03 -2.608697e-01 -2.820009e-01 -1.770723e-06 -2.514185e-05
+ 2.883236e-02  3.475396e-03 -2.604289e-01 -2.819847e-01 -7.554784e-07 -1.148000e-06
+ 2.883236e-02  4.012887e-03 -2.599499e-01 -2.817260e-01  2.494309e-08 -1.964475e-08
+ 2.883236e-02  4.486426e-03 -2.594602e-01 -2.814642e-01  4.497196e-07  1.281905e-06
+ 2.883236e-02  4.914538e-03 -2.589620e-01 -2.812158e-01 -3.347106e-06 -1.079980e-05
+ 2.883236e-02  5.308228e-03 -2.584363e-01 -2.809456e-01  3.700013e-06 -2.138471e-05
+ 2.883236e-02  5.674665e-03 -2.579336e-01 -2.806233e-01  1.887190e-07  1.565768e-07
+ 2.883236e-02  6.018831e-03 -2.573864e-01 -2.803399e-01  3.526981e-07  4.749555e-07
+ 2.883236e-02  6.344350e-03 -2.568314e-01 -2.800615e-01 -1.214922e-06  5.002510e-06
+ 2.883236e-02  6.653962e-03 -2.563507e-01 -2.800187e-01  7.922010e-05  1.510945e-04
+ 2.883236e-02  6.949792e-03 -2.553852e-01 -2.767673e-01  6.190963e-04  4.221763e-03
+ 2.883236e-02  7.233532e-03 -2.551559e-01 -2.789338e-01  3.130378e-04  6.936430e-04
+ 2.883236e-02  7.506553e-03 -2.552256e-01 -2.801779e-01  1.061862e-03  2.561601e-03
+ 2.883236e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.562875e-01  2.827395e-01
+ 2.883236e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.562875e-01  2.827395e-01
+ 2.883236e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.562875e-01  2.827395e-01
+ 2.883236e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.562875e-01  2.827395e-01
+ 2.883236e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.562875e-01  2.827395e-01
+ 2.883236e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.562875e-01  2.827395e-01
+ 2.883236e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.562875e-01  2.827395e-01
+ 2.883236e-02  9.409709e-03 -2.538204e-01 -2.852217e-01 -2.538204e-01 -2.852217e-01
+ 2.883236e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.883236e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.890191e-02  1.000000e-06 -2.617247e-01 -2.816776e-01 -6.369269e-08 -2.438941e-08
+ 2.890191e-02  2.006944e-03 -2.612773e-01 -2.814465e-01 -5.567465e-08 -6.971576e-08
+ 2.890191e-02  2.837833e-03 -2.608543e-01 -2.815214e-01  5.372340e-05  4.701914e-04
+ 2.890191e-02  3.475396e-03 -2.603555e-01 -2.810016e-01  1.804710e-07 -6.118176e-07
+ 2.890191e-02  4.012887e-03 -2.598790e-01 -2.807507e-01  1.086679e-07  1.024573e-07
+ 2.890191e-02  4.486426e-03 -2.593924e-01 -2.805052e-01  1.852295e-07  4.808350e-07
+ 2.890191e-02  4.914538e-03 -2.588888e-01 -2.802362e-01 -9.658196e-08 -1.477873e-07
+ 2.890191e-02  5.308228e-03 -2.583756e-01 -2.800375e-01 -1.910948e-07 -1.394452e-07
+ 2.890191e-02  5.674665e-03 -2.578804e-01 -2.796557e-01  2.458527e-08  5.213334e-08
+ 2.890191e-02  6.018831e-03 -2.573701e-01 -2.794970e-01 -5.319279e-05 -1.110649e-04
+ 2.890191e-02  6.344350e-03 -2.567507e-01 -2.791678e-01  3.546645e-05  7.018906e-05
+ 2.890191e-02  6.653962e-03 -2.562849e-01 -2.791886e-01 -2.361284e-06 -1.753358e-05
+ 2.890191e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.562825e-01  2.791711e-01
+ 2.890191e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.562825e-01  2.791711e-01
+ 2.890191e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.562825e-01  2.791711e-01
+ 2.890191e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.562825e-01  2.791711e-01
+ 2.890191e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.562825e-01  2.791711e-01
+ 2.890191e-02  8.271717e-03 -2.545665e-01 -2.795895e-01  9.009638e-04  1.914594e-03
+ 2.890191e-02  8.511498e-03 -2.553673e-01 -2.832924e-01  2.268832e-04  2.552392e-04
+ 2.890191e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.890191e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.555942e-01  2.835477e-01
+ 2.897130e-02  1.000000e-06 -2.616505e-01 -2.806244e-01 -4.861822e-08 -4.018822e-08
+ 2.897130e-02  2.006944e-03 -2.612017e-01 -2.803914e-01 -7.903704e-08 -4.628333e-08
+ 2.897130e-02  2.837833e-03 -2.607529e-01 -2.802459e-01  2.659782e-08  1.212847e-06
+ 2.897130e-02  3.475396e-03 -2.602801e-01 -2.799639e-01 -7.210022e-07 -9.368034e-07
+ 2.897130e-02  4.012887e-03 -2.598032e-01 -2.797205e-01 -2.323722e-06 -2.023525e-06
+ 2.897130e-02  4.486426e-03 -2.593154e-01 -2.794881e-01  4.651020e-07  1.571994e-06
+ 2.897130e-02  4.914538e-03 -2.588091e-01 -2.792176e-01 -1.428063e-07 -3.021484e-08
+ 2.897130e-02  5.308228e-03 -2.582942e-01 -2.789937e-01 -2.532666e-07 -1.112750e-07
+ 2.897130e-02  5.674665e-03 -2.577727e-01 -2.785102e-01 -4.819347e-07 -1.932941e-06
+ 2.897130e-02  6.018831e-03 -2.571949e-01 -2.782414e-01  1.909287e-05  6.214452e-05
+ 2.897130e-02  6.344350e-03 -2.566564e-01 -2.779017e-01  1.178608e-05  1.942939e-04
+ 2.897130e-02  6.653962e-03 -2.560192e-01 -2.780865e-01  1.018442e-04 -3.333570e-05
+ 2.897130e-02  6.949792e-03 -2.537943e-01 -2.723598e-01  1.780816e-03  7.228584e-03
+ 2.897130e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.897130e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.555751e-01  2.795884e-01
+ 2.904053e-02  1.000000e-06 -2.615740e-01 -2.795110e-01  2.722680e-09  9.863063e-09
+ 2.904053e-02  2.006944e-03 -2.611234e-01 -2.792723e-01 -2.216857e-08 -6.402070e-09
+ 2.904053e-02  2.837833e-03 -2.606731e-01 -2.791314e-01 -6.781858e-08  1.119871e-08
+ 2.904053e-02  3.475396e-03 -2.602002e-01 -2.788708e-01 -1.083479e-07 -8.545259e-08
+ 2.904053e-02  4.012887e-03 -2.597173e-01 -2.786344e-01  2.389197e-07  3.059625e-07
+ 2.904053e-02  4.486426e-03 -2.592555e-01 -2.785136e-01 -2.720749e-06 -1.142512e-05
+ 2.904053e-02  4.914538e-03 -2.587116e-01 -2.781139e-01  1.032754e-07  1.056791e-07
+ 2.904053e-02  5.308228e-03 -2.581711e-01 -2.778348e-01 -2.333508e-08 -5.200765e-08
+ 2.904053e-02  5.674665e-03 -2.573198e-01 -2.768430e-01  2.332764e-04  8.965450e-04
+ 2.904053e-02  6.018831e-03 -2.570846e-01 -2.771256e-01  9.297345e-07 -4.317689e-07
+ 2.904053e-02  6.344350e-03 -2.563349e-01 -2.768999e-01 -6.059007e-06  2.127769e-06
+ 2.904053e-02  6.653962e-03 -2.555589e-01 -2.763094e-01 -2.555589e-01 -2.763094e-01
+ 2.904053e-02  6.949792e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  7.233532e-03 -2.552891e-01 -2.772125e-01 -2.552891e-01 -2.772125e-01
+ 2.904053e-02  7.506553e-03 -2.543614e-01 -2.763065e-01 -2.543614e-01 -2.763065e-01
+ 2.904053e-02  7.769986e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  8.024774e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  8.271717e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  8.511498e-03 -2.527597e-01 -2.745844e-01 -2.527597e-01 -2.745844e-01
+ 2.904053e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.904053e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  1.000000e-06 -2.614954e-01 -2.783263e-01  4.156442e-09 -2.297588e-09
+ 2.910959e-02  2.006944e-03 -2.610415e-01 -2.780685e-01  6.915162e-09 -1.438535e-08
+ 2.910959e-02  2.837833e-03 -2.605923e-01 -2.779617e-01  7.435771e-09  1.490671e-08
+ 2.910959e-02  3.475396e-03 -2.601201e-01 -2.777204e-01 -2.008941e-07 -1.188859e-06
+ 2.910959e-02  4.012887e-03 -2.596425e-01 -2.775073e-01 -1.164082e-07 -3.810135e-07
+ 2.910959e-02  4.486426e-03 -2.591289e-01 -2.772393e-01  3.784906e-06 -9.067530e-06
+ 2.910959e-02  4.914538e-03 -2.586598e-01 -2.770586e-01  3.448391e-07  4.001170e-07
+ 2.910959e-02  5.308228e-03 -2.581691e-01 -2.768961e-01 -6.014599e-07  1.012560e-06
+ 2.910959e-02  5.674665e-03 -2.577086e-01 -2.769094e-01  1.527105e-05  4.643841e-05
+ 2.910959e-02  6.018831e-03 -2.571820e-01 -2.763376e-01 -2.326554e-05 -8.742612e-05
+ 2.910959e-02  6.344350e-03 -2.570777e-01 -2.771889e-01 -3.118750e-05 -6.052991e-05
+ 2.910959e-02  6.653962e-03 -2.564670e-01 -2.769357e-01  7.934743e-05  2.396282e-05
+ 2.910959e-02  6.949792e-03 -2.554961e-01 -2.763446e-01 -1.762998e-03 -1.235239e-03
+ 2.910959e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.537331e-01  2.751094e-01
+ 2.910959e-02  7.506553e-03 -2.548112e-01 -2.755321e-01  5.784405e-04  2.362682e-03
+ 2.910959e-02  7.769986e-03 -2.544150e-01 -2.763242e-01 -2.544150e-01 -2.763242e-01
+ 2.910959e-02  8.024774e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  8.271717e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  8.511498e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.910959e-02  1.061546e-02 -2.552354e-01 -2.905243e-01  5.290795e-04 -8.472457e-06
+ 2.910959e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.910959e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.557645e-01  2.905158e-01
+ 2.917848e-02  1.000000e-06 -2.614146e-01 -2.770550e-01  3.816185e-09  2.656465e-09
+ 2.917848e-02  2.006944e-03 -2.609506e-01 -2.767069e-01 -1.069339e-06 -1.124239e-05
+ 2.917848e-02  2.837833e-03 -2.605091e-01 -2.767166e-01 -1.052503e-09  8.823492e-09
+ 2.917848e-02  3.475396e-03 -2.600348e-01 -2.764869e-01  5.026913e-08  7.361690e-08
+ 2.917848e-02  4.012887e-03 -2.595597e-01 -2.763128e-01  2.531464e-08  2.579560e-07
+ 2.917848e-02  4.486426e-03 -2.590469e-01 -2.760210e-01 -2.589702e-07 -6.873118e-07
+ 2.917848e-02  4.914538e-03 -2.586141e-01 -2.757420e-01  2.219239e-07  1.871598e-06
+ 2.917848e-02  5.308228e-03 -2.580438e-01 -2.756309e-01 -2.903372e-07 -5.772359e-07
+ 2.917848e-02  5.674665e-03 -2.575594e-01 -2.756025e-01  2.058789e-07  7.266063e-07
+ 2.917848e-02  6.018831e-03 -2.569963e-01 -2.756505e-01  1.899256e-05  7.059543e-05
+ 2.917848e-02  6.344350e-03 -2.566612e-01 -2.742545e-01 -2.796203e-04 -7.566348e-04
+ 2.917848e-02  6.653962e-03 -2.561402e-01 -2.755121e-01  3.126115e-05  1.827712e-04
+ 2.917848e-02  6.949792e-03 -2.557912e-01 -2.762579e-01 -2.557912e-01 -2.762579e-01
+ 2.917848e-02  7.233532e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.917848e-02  7.506553e-03 -2.552989e-01 -2.779618e-01 -9.058899e-05 -2.363177e-03
+ 2.917848e-02  7.769986e-03 -2.543550e-01 -2.747863e-01  1.074469e-03  3.719036e-03
+ 2.917848e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.554295e-01  2.785053e-01
+ 2.917848e-02  8.271717e-03 -2.531332e-01 -2.755876e-01 -2.531332e-01 -2.755876e-01
+ 2.917848e-02  8.511498e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.917848e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.917848e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.917848e-02  9.193388e-03 -2.511153e-01 -2.292954e-01 -2.511153e-01 -2.292954e-01
+ 2.917848e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.917848e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.917848e-02  9.828076e-03 -2.540533e-01 -2.866410e-01  9.856533e-04  6.587558e-04
+ 2.917848e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.917848e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.550389e-01  2.872998e-01
+ 2.924722e-02  1.000000e-06 -2.613315e-01 -2.756753e-01 -2.221045e-09 -7.224098e-08
+ 2.924722e-02  2.006944e-03 -2.608605e-01 -2.752592e-01  1.039656e-06  1.206099e-05
+ 2.924722e-02  2.837833e-03 -2.604240e-01 -2.753784e-01  3.074476e-08  6.246707e-08
+ 2.924722e-02  3.475396e-03 -2.599486e-01 -2.751708e-01  3.787619e-08  2.837599e-08
+ 2.924722e-02  4.012887e-03 -2.594370e-01 -2.748355e-01 -3.783812e-06 -1.341276e-05
+ 2.924722e-02  4.486426e-03 -2.589540e-01 -2.747173e-01  3.445884e-07  6.547448e-07
+ 2.924722e-02  4.914538e-03 -2.584461e-01 -2.745492e-01 -2.604890e-06 -1.262396e-06
+ 2.924722e-02  5.308228e-03 -2.580090e-01 -2.744650e-01  2.413694e-06  8.309989e-06
+ 2.924722e-02  5.674665e-03 -2.574664e-01 -2.743647e-01 -1.472539e-06 -6.189733e-06
+ 2.924722e-02  6.018831e-03 -2.569361e-01 -2.745652e-01 -2.190386e-04  5.457045e-05
+ 2.924722e-02  6.344350e-03 -2.564942e-01 -2.738368e-01 -2.048437e-04 -7.730226e-04
+ 2.924722e-02  6.653962e-03 -2.559883e-01 -2.738538e-01 -6.539561e-04 -1.385322e-03
+ 2.924722e-02  6.949792e-03 -2.555094e-01 -2.743817e-01 -2.555094e-01 -2.743817e-01
+ 2.924722e-02  7.233532e-03 -2.556934e-01 -2.780436e-01 -2.556934e-01 -2.780436e-01
+ 2.924722e-02  7.506553e-03 -2.544832e-01 -2.733115e-01  3.093218e-04  1.728836e-03
+ 2.924722e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.547926e-01  2.750404e-01
+ 2.924722e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.547926e-01  2.750404e-01
+ 2.924722e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.547926e-01  2.750404e-01
+ 2.924722e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.547926e-01  2.750404e-01
+ 2.924722e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.547926e-01  2.750404e-01
+ 2.924722e-02  8.971852e-03 -2.549972e-01 -2.817397e-01 -4.885343e-04 -1.909025e-04
+ 2.924722e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.924722e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.545086e-01  2.815488e-01
+ 2.931579e-02  1.000000e-06 -2.612460e-01 -2.741521e-01 -6.716250e-08 -8.734944e-08
+ 2.931579e-02  2.006944e-03 -2.609029e-01 -2.752849e-01 -6.675558e-05 -7.957100e-04
+ 2.931579e-02  2.837833e-03 -2.603369e-01 -2.739228e-01 -2.574681e-08  3.094803e-09
+ 2.931579e-02  3.475396e-03 -2.598637e-01 -2.737634e-01  8.562050e-09  1.155313e-07
+ 2.931579e-02  4.012887e-03 -2.593432e-01 -2.734370e-01 -8.822151e-07 -2.887393e-06
+ 2.931579e-02  4.486426e-03 -2.588441e-01 -2.732669e-01 -3.060866e-08  2.456102e-08
+ 2.931579e-02  4.914538e-03 -2.583102e-01 -2.730515e-01 -3.586511e-06 -1.528956e-05
+ 2.931579e-02  5.308228e-03 -2.577325e-01 -2.731555e-01 -2.855183e-05  4.025875e-05
+ 2.931579e-02  5.674665e-03 -2.573335e-01 -2.728841e-01  5.787745e-06  1.109839e-05
+ 2.931579e-02  6.018831e-03 -2.567776e-01 -2.728956e-01  7.238635e-06  7.442964e-06
+ 2.931579e-02  6.344350e-03 -2.560332e-01 -2.721207e-01  5.443740e-05  2.015373e-04
+ 2.931579e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.560877e-01  2.723223e-01
+ 2.931579e-02  6.949792e-03 -2.547585e-01 -2.711254e-01 -2.547585e-01 -2.711254e-01
+ 2.931579e-02  7.233532e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  7.506553e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  7.769986e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  8.024774e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  8.271717e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  8.511498e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.931579e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.000000e-06 -2.611578e-01 -2.724241e-01 -5.517466e-08 -4.246326e-08
+ 2.938420e-02  2.006944e-03 -2.607270e-01 -2.726094e-01  5.701769e-07  6.340363e-07
+ 2.938420e-02  2.837833e-03 -2.602471e-01 -2.723087e-01 -1.488770e-07 -2.528860e-08
+ 2.938420e-02  3.475396e-03 -2.597149e-01 -2.718896e-01 -5.008899e-07 -3.216088e-06
+ 2.938420e-02  4.012887e-03 -2.592415e-01 -2.718644e-01 -5.325165e-06 -2.302115e-05
+ 2.938420e-02  4.486426e-03 -2.586586e-01 -2.714405e-01 -5.220017e-06 -1.973737e-05
+ 2.938420e-02  4.914538e-03 -2.582570e-01 -2.716805e-01  4.005743e-07  5.464372e-07
+ 2.938420e-02  5.308228e-03 -2.577111e-01 -2.715720e-01 -2.941855e-07 -7.267215e-08
+ 2.938420e-02  5.674665e-03 -2.570834e-01 -2.712501e-01 -7.590178e-05 -2.287392e-04
+ 2.938420e-02  6.018831e-03 -2.564539e-01 -2.707993e-01  6.569397e-05  2.840936e-04
+ 2.938420e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.565196e-01  2.710834e-01
+ 2.938420e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.565196e-01  2.710834e-01
+ 2.938420e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.565196e-01  2.710834e-01
+ 2.938420e-02  7.233532e-03 -2.546691e-01 -2.715702e-01 -2.546691e-01 -2.715702e-01
+ 2.938420e-02  7.506553e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  7.769986e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  8.024774e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  8.271717e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  8.511498e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  8.744705e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  8.971852e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.938420e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.945246e-02  1.000000e-06 -2.610656e-01 -2.703584e-01 -4.940073e-09 -3.099234e-07
+ 2.945246e-02  2.006944e-03 -2.606305e-01 -2.706700e-01  1.122865e-06  5.359486e-07
+ 2.945246e-02  2.837833e-03 -2.601607e-01 -2.705186e-01 -3.181942e-06 -1.700457e-06
+ 2.945246e-02  3.475396e-03 -2.596149e-01 -2.701135e-01  2.787017e-06  1.485447e-06
+ 2.945246e-02  4.012887e-03 -2.590208e-01 -2.696463e-01  3.251745e-06 -5.921097e-06
+ 2.945246e-02  4.486426e-03 -2.586256e-01 -2.700631e-01  2.190573e-07 -8.006650e-06
+ 2.945246e-02  4.914538e-03 -2.580874e-01 -2.699109e-01  1.609799e-07  6.787414e-07
+ 2.945246e-02  5.308228e-03 -2.576413e-01 -2.698567e-01 -5.396793e-05 -1.192784e-04
+ 2.945246e-02  5.674665e-03 -2.569798e-01 -2.698687e-01 -9.013992e-06 -2.997548e-05
+ 2.945246e-02  6.018831e-03 -2.564104e-01 -2.692310e-01 -1.376893e-07 -3.313946e-07
+ 2.945246e-02  6.344350e-03 -2.561441e-01 -2.706576e-01 -4.118244e-05  1.839490e-03
+ 2.945246e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.945246e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.561029e-01  2.724971e-01
+ 2.952055e-02  1.000000e-06 -2.609618e-01 -2.673973e-01 -5.362009e-07 -1.681022e-05
+ 2.952055e-02  2.006944e-03 -2.605541e-01 -2.684693e-01 -1.673537e-06 -1.430968e-05
+ 2.952055e-02  2.837833e-03 -2.599658e-01 -2.677402e-01  9.127273e-06  5.181450e-05
+ 2.952055e-02  3.475396e-03 -2.594407e-01 -2.676585e-01 -1.047154e-06 -7.982057e-07
+ 2.952055e-02  4.012887e-03 -2.590297e-01 -2.680999e-01 -4.161357e-05 -1.643097e-04
+ 2.952055e-02  4.486426e-03 -2.584523e-01 -2.678877e-01  6.372350e-05  2.110334e-04
+ 2.952055e-02  4.914538e-03 -2.578076e-01 -2.675177e-01 -2.578076e-01 -2.675177e-01
+ 2.952055e-02  5.308228e-03 -2.572722e-01 -2.676172e-01  2.331866e-06 -8.383142e-06
+ 2.952055e-02  5.674665e-03 -2.570076e-01 -2.682242e-01  5.385638e-06  1.690339e-05
+ 2.952055e-02  6.018831e-03 -2.561618e-01 -2.684698e-01  6.848261e-05  5.993062e-04
+ 2.952055e-02  6.344350e-03 -2.555646e-01 -2.666976e-01  2.528947e-04  6.308253e-04
+ 2.952055e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.558175e-01  2.673284e-01
+ 2.952055e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.558175e-01  2.673284e-01
+ 2.952055e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.558175e-01  2.673284e-01
+ 2.952055e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.558175e-01  2.673284e-01
+ 2.952055e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.558175e-01  2.673284e-01
+ 2.952055e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.558175e-01  2.673284e-01
+ 2.952055e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.558175e-01  2.673284e-01
+ 2.952055e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.558175e-01  2.673284e-01
+ 2.952055e-02  8.744705e-03 -2.541963e-01 -2.761909e-01 -2.541963e-01 -2.761909e-01
+ 2.952055e-02  8.971852e-03 -2.533843e-01 -2.770363e-01 -2.533843e-01 -2.770363e-01
+ 2.952055e-02  9.193388e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  9.409709e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  9.621167e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  9.828076e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.003072e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.022935e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.042419e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.061546e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.080334e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.098801e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.116962e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.134833e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.152427e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.169756e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.186832e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.203666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.220268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.236647e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.252811e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.268770e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.284531e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.300100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.315485e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.330692e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.345728e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.360597e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.375306e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.389858e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.404260e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.418516e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.432630e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.446606e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.460449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.474161e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.487748e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.501211e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.514554e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.527781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.540894e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.553897e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.566792e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.579582e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.592268e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.604855e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.617343e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.629736e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.642036e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.654243e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.666362e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.678393e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.690338e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.702200e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.713979e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.725678e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.737298e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.748841e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.760308e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.771701e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.783022e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.794270e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.805449e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.816559e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.827602e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.838578e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.849489e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.860336e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.871120e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.881842e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.892503e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.903105e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.913648e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.924133e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.934562e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.944934e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.955252e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.965515e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.975725e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.985883e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  1.995989e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.006044e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.016048e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.026004e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.035910e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.045769e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.055580e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.065345e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.075064e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.084738e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.094367e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.103951e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.113493e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.122991e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.132447e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.141862e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.151235e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.160567e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.169860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.179112e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.188326e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.197501e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.206638e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.215737e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.224799e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.233824e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.242813e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.251766e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.260684e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.269566e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.278414e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.287228e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.296007e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.304754e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.313467e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.322148e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.330796e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.339412e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.347997e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.356550e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.365073e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.373564e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.382026e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.390458e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.398860e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.407232e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.415576e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.423891e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.432177e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.440436e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.448666e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.456869e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.465045e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.473193e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.481315e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.489410e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.497480e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.505523e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.513540e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.521532e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.529499e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.537440e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.545357e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.553249e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.561117e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.568961e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.576781e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.584577e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.592350e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.952055e-02  2.600100e-02  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  1.000000e-06 -2.608560e-01 -2.610127e-01 -2.608560e-01 -2.610127e-01
+ 2.958849e-02  2.006944e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  2.837833e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  3.475396e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  4.012887e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  4.486426e-03 -2.588021e-01 -2.672043e-01  6.342674e-05  1.867212e-04
+ 2.958849e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.588655e-01  2.673910e-01
+ 2.958849e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.588655e-01  2.673910e-01
+ 2.958849e-02  5.674665e-03 -2.566212e-01 -2.659407e-01  5.274982e-04  1.371414e-03
+ 2.958849e-02  6.018831e-03 -2.557334e-01 -2.669562e-01 -2.557334e-01 -2.669562e-01
+ 2.958849e-02  6.344350e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  6.653962e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  6.949792e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  7.233532e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  7.506553e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  7.769986e-03  0.000000e+00  0.000000e+00  0.000000e+00  0.000000e+00
+ 2.958849e-02  8.024774e-03 -2.558295e-01 -2.783109e-01  5.646685e-04  3.048768e-03
+ 2.958849e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.958849e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.965627e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.972390e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.979138e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.985870e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.992587e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 2.999289e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.005977e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.012649e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.019306e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.025949e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.032578e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.039192e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.045791e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.052377e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.058948e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.065505e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.072048e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.078577e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.085092e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.091594e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.098082e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.104556e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.111017e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.117464e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.123899e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.130320e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.136727e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.143122e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.149504e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.155873e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.162229e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.168572e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.174903e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.181221e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.187526e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.193819e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.000000e-06  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.006944e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.837833e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  3.475396e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  4.012887e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  4.486426e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  4.914538e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  5.308228e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  5.674665e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  6.018831e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  6.344350e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  6.653962e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  6.949792e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  7.233532e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  7.506553e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  7.769986e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  8.024774e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  8.271717e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  8.511498e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  8.744705e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  8.971852e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  9.193388e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  9.409709e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  9.621167e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  9.828076e-03  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.003072e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.022935e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.042419e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.061546e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.080334e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.098801e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.116962e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.134833e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.152427e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.169756e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.186832e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.203666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.220268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.236647e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.252811e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.268770e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.284531e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.300100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.315485e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.330692e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.345728e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.360597e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.375306e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.389858e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.404260e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.418516e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.432630e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.446606e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.460449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.474161e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.487748e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.501211e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.514554e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.527781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.540894e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.553897e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.566792e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.579582e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.592268e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.604855e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.617343e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.629736e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.642036e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.654243e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.666362e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.678393e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.690338e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.702200e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.713979e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.725678e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.737298e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.748841e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.760308e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.771701e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.783022e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.794270e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.805449e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.816559e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.827602e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.838578e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.849489e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.860336e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.871120e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.881842e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.892503e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.903105e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.913648e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.924133e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.934562e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.944934e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.955252e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.965515e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.975725e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.985883e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  1.995989e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.006044e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.016048e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.026004e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.035910e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.045769e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.055580e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.065345e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.075064e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.084738e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.094367e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.103951e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.113493e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.122991e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.132447e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.141862e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.151235e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.160567e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.169860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.179112e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.188326e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.197501e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.206638e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.215737e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.224799e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.233824e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.242813e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.251766e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.260684e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.269566e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.278414e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.287228e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.296007e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.304754e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.313467e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.322148e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.330796e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.339412e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.347997e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.356550e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.365073e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.373564e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.382026e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.390458e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.398860e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.407232e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.415576e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.423891e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.432177e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.440436e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.448666e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.456869e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.465045e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.473193e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.481315e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.489410e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.497480e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.505523e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.513540e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.521532e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.529499e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.537440e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.545357e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.553249e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.561117e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.568961e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.576781e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.584577e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.592350e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
+ 3.200100e-02  2.600100e-02  0.000000e+00  0.000000e+00  2.563942e-01  2.813597e-01
Index: /trunk/machine/SOLEIL/common/naff/naffutils/fmap_nudp.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/fmap_nudp.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/fmap_nudp.m	(revision 17)
@@ -0,0 +1,89 @@
+function [nux,nuy, delta]=fmap_nudp(ndp,deltamax)
+% fmap_nudp(ndp,deltamax) - Compute tuneshift with energy
+%
+% Routine's out of Andrei Terebilos ATtoolbox and
+% Jacques Laskars NAFF algorithm
+% (calcnaff.mex or calcnaff.dll)
+%
+% INPUTS
+% 1. ndp	    	number of horizontal amplitudes
+% 2. deltmax		number of vertical amplitudes
+%
+% OUTPUTS
+% 1. nux		horizontal betatron tune
+% 2. nuy		vertical betatron tune
+% 3. delta      energy offset
+
+%
+% Laurent Nadolski, ALS 09/01/02
+% Revised, April 22, 2011                   
+
+DisplayFlag =1;
+global THERING
+
+radiationoff;
+cavityoff;
+
+%plotbeta;
+
+%fprintf('Type any key to continue ...\n');
+%pause;
+
+NT = 1026;
+
+T = ringpass(THERING,[0;0;0;0;0;0],1);
+
+delta = (-ndp:1:ndp)*deltamax/ndp;
+
+for i=1:(2*ndp+1)
+    %fprintf('amp_x=%g mm, amp_y=%g mm\n',ampx,ampy);
+    cod = getcod(THERING,delta(i));
+    X0=[1e-6 0 1e-6 0 delta(i) 0]' + [cod(:,1); 0; 0] ;
+
+    cpustart=cputime;
+    [T LOSSFLAG] = ringpass(THERING,X0,NT,'reuse');
+    cpustop=cputime;
+    fprintf('track time for %d turns : %g s\n', NT, cpustop-cpustart);
+
+    Tx = T(1,:);  Txp = T(2,:);
+    Ty = T(3,:);  Typ = T(4,:);
+    TE = T(5,:);  Tphi = T(6,:);
+
+    if (length(Ty)==NT) & (all(Ty<0.004)) ...
+            & (~any(isnan(Ty))) & (LOSSFLAG==0)
+
+        cpustart = cputime;
+        tmpnux1 = calcnaff(Tx(1:NT),Txp(1:NT),1);
+        tmpnux1 = abs(tmpnux1/(2*pi));
+        tmpnuy1 = calcnaff(Ty(1:NT),Typ(1:NT),1);
+        tmpnuy1 = abs(tmpnuy1/(2*pi));
+
+        cpustop=cputime;
+        fprintf('NAFF CPU time (4*512 turns) : %g s\n',cpustop-cpustart);
+
+        nux(i)=NaN; nuy(i) = NaN;
+        
+        if abs(tmpnux1(1)) > 1e-6
+            nux(i) = tmpnux1(1);
+        else
+            nux(i) = tmpnux1(2);
+        end
+
+        if abs(tmpnuy1(1)) > 1e-6
+            nuy(i) = tmpnuy1(1);
+        else
+            nuy(i) = tmpnuy1(2);
+        end
+    end
+end
+
+%%
+if DisplayFlag
+  figure
+  plot(delta*100, nux, 'b.'); 
+  hold on;
+  plot(delta*100, nuy, 'r.'); 
+  ylabel('Fractional tune');
+  legend('H-tune', 'V-tune');
+  xlabel('Energy offset %)');
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/fmap_select.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/fmap_select.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/fmap_select.m	(revision 17)
@@ -0,0 +1,15 @@
+function xy = fmap_select
+
+xy = [];
+% Loop, picking up the points.
+disp('Left mouse button picks points.')
+disp('Right mouse button picks last point.')
+hold on
+button = 1;
+n=0;
+while button == 1
+    [xi,yi,button] = ginput(1);
+    plot(xi,yi,'ro')
+    n = n+1;
+    xy(:,n) = [xi;yi];
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/fmap_soleilnu.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/fmap_soleilnu.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/fmap_soleilnu.m	(revision 17)
@@ -0,0 +1,223 @@
+function [nux,nuy,diffu]=fmap_soleilnu(nx,ny,ax,ay)
+% fmap_soleilnu - simulates a frequency map using the tracking
+%
+% simulates a frequency map using the tracking
+% routine's out of Andrei Terebilo's ATtoolbox and
+% Jacques Laskars NAFF algorithm
+% (calcnaff.mex or calcnaff.dll)
+%
+% INPUTS
+% 1. nx		number of horizontal amplitudes
+% 2. ny		number of vertical amplitudes
+% 3. ax		maximum horizontal amplitude [mm]
+% 4. ay		maximum vertical amplitude [mm]
+%
+% OUTPUTS
+% 1. nux    H-betatron tune value
+% 2. nuy 	V-betatron tune value
+% 3. diffu	Diffusion rate
+
+%
+% Laurent Nadolski, SOLEIL 16/05/11
+
+global THERING
+
+Tymax = 1e-2;   % maximum vertical coordinates
+tunesep = 1e-3; % tune separation for h/v tunes
+TWOPI = 2*pi;
+
+%% Initialization part
+% Frequencies
+nux = zeros(nx,ny);
+nuy = zeros(nx,ny);
+
+% Amplitudes
+pampx = ones(nx,ny)*NaN;
+pampy = ones(nx,ny)*NaN;
+
+%% load lattice
+refreshthering;
+
+[BetaX, BetaY, Sx, Sy, Tune] = modelbeta;
+HtuneIntegerPart = floor(Tune(1));
+VtuneIntegerPart = floor(Tune(2));
+
+%% set 4D tracking
+setcavity('off');
+setradiation('off');
+
+% Tracking number of turns
+NT = 2*516; % multiple of 6 for NAFF efficiency
+
+% First call for next 'reuse' flag
+% Do not remove
+T = ringpass(THERING,[0;0;0;0;0;0],1);
+
+%% tracking over the set of initial conditions
+for i=1:nx, % loop over H-plane
+    ampx = ax*sqrt(i/nx); % H-amplitude
+    
+    for j=1:ny % loop over V-plane
+
+        ampy = ay*sqrt(j/ny); % V-amplitude
+               
+        fprintf('amp_x=%g mm, amp_y=%g mm\n',ampx,ampy);
+        
+        X0=[ampx/1000 0 ampy/1000 0 0 0]'; % Initial tracking coordinates in SI units
+        
+        % tracking
+        cpustart=cputime;
+        %[T LOSSFLAG] = ringpass(THERING,X0,NT,'reuse');
+        [T LOSSFLAG] = ringpass(THERING,X0,NT);
+        cpustop=cputime;
+        fprintf('track time for 2*%d turns : %g s\n', NT/2, cpustop-cpustart);
+        
+        % new varaibles with tracking coordinates
+        Tx = T(1,:); Txp = T(2,:); Ty = T(3,:); Typ = T(4,:);
+        
+        % Tymax usefulness
+        if (length(Ty)==NT) & (all(Ty<Tymax)) ...
+                & (~any(isnan(Ty))) & (LOSSFLAG==0)
+            
+            % NAFF part
+            cpustart=cputime;
+            tmpnux1=abs(calcnaff(Tx(1:NT/2),Txp(1:NT/2),1)/TWOPI);
+            tmpnuy1=abs(calcnaff(Ty(1:NT/2),Typ(1:NT/2),1)/TWOPI);
+            tmpnux2=abs(calcnaff(Tx(NT/2+1:NT),Txp(NT/2+1:NT),1)/TWOPI);
+            tmpnuy2=abs(calcnaff(Ty(NT/2+1:NT),Typ(NT/2+1:NT),1)/TWOPI);
+            cpustop=cputime;
+            fprintf('NAFF CPU time (4*%d turns) : %g s\n',NT/2, cpustop-cpustart);
+            
+            % Particle amplitudes
+            pampy(i,j)=ampx;
+            pampy(i,j)=ampy;
+            
+            % build frequency vectors  for NT/2 first turns                      
+            if ((abs(tmpnuy1(1))>tunesep) && (abs(tmpnuy1(1)-tmpnux1(1))>tunesep))
+                nuy(i,j)=tmpnuy1(1);
+            else
+                nuy(i,j)=tmpnuy1(2);
+            end
+            
+            % avoid misidentification nux=nuy
+            if (abs(tmpnux1(1))>tunesep)
+                nux(i,j)=tmpnux1(1);
+            else
+                nux(i,j)=tmpnux1(2);
+            end
+            
+            % build frequency vectors  for NT/2 last turns                      
+            if ((abs(tmpnuy2(1))>tunesep) && (abs(tmpnuy2(1)-tmpnux2(1))>tunesep))
+                nuy2=tmpnuy2(1);
+            else
+                nuy2=tmpnuy2(2);
+            end
+            
+            if (abs(tmpnux2(1))>tunesep)
+                nux2=tmpnux2(1);
+            else
+                nux2=tmpnux2(2);
+            end
+            
+            
+            if (length(nux2)==1) && (length(nuy2)==1) && ...
+                    (length(nux(i,j))==1) && (length(nuy(i,j))==1)
+                diffu(i,j)=log10(sqrt((nux2-nux(i,j))^2+(nuy2-nuy(i,j))^2)/NT*2);
+            else
+                diffu(i,j) = -3;
+            end
+            
+            if (diffu(i,j) < -10)
+                diffu(i,j) = -10;
+            end
+            
+            taxi = ax*sqrt(i/nx);
+            taxii = ax*sqrt((i-1)/nx);
+            tayj = ay*sqrt(j/ny);
+            tayjj = ay*sqrt((j-1)/ny);
+            
+            if (i>1) && (j>1)
+                xpos(:,(i-1)*(ny)+j) = [taxii;taxii;taxi;taxi];
+                ypos(:,(i-1)*(ny)+j) = [tayjj;tayj;tayj;tayjj];
+            elseif (i>1)
+                xpos(:,(i-1)*(ny)+j) = [taxii;taxii;taxi;taxi];
+                ypos(:,(i-1)*(ny)+j) = [0;tayj;tayj;0];
+            elseif (j>1)
+                xpos(:,(i-1)*(ny)+j) = [0;0;taxi;taxi];
+                ypos(:,(i-1)*(ny)+j) = [tayjj;tayj;tayj;tayjj];
+            else
+                xpos(:,(i-1)*(ny)+j) = [0;0;taxi;taxi];
+                ypos(:,(i-1)*(ny)+j) = [0;tayj;tayj;0];
+            end
+            
+            nuxpos(:,(i-1)*(ny)+j) = ...
+                [nux(i,j)-.0001;nux(i,j)-.0001;nux(i,j)+.0001;nux(i,j)+.0001];
+            nuypos(:,(i-1)*(ny)+j) = ...
+                [nuy(i,j)-.0006;nuy(i,j)+.0006;nuy(i,j)+.0006;nuy(i,j)-.0006];
+            
+            diffuvec(1:4,(i-1)*(ny)+j) = diffu(i,j);
+            
+            
+        else %particle unstable
+            nux(i,j)=0.0; nuy(i,j)=0.0;
+            pampy(i,j)=-1;pampy(i,j)=-1;
+            xpos(:,(i-1)*(ny)+j) = [0;0;0;0];
+            ypos(:,(i-1)*(ny)+j) = [0;0;0;0];
+            nuxpos(:,(i-1)*(ny)+j) = [0;0;0;0];
+            nuypos(:,(i-1)*(ny)+j) = [0;0;0;0];
+            diffu(i,j)=-10;
+            diffuvec(1:4,(i-1)*(ny)+j) = [-10;-10;-10;-10];
+        end
+        
+        if nux(i,j) && nuy(i,j)
+            fprintf('nu_x=%g, nu_y=%g\n',HtuneIntegerPart+nux(i,j),VtuneIntegerPart+nuy(i,j));
+        else
+            fprintf('particle lost\n');
+        end
+        
+    end
+    
+    save 'freqmap_new' nux nuy diffu nuxpos nuypos xpos ypos diffuvec pampy pampy
+    
+end
+
+%% PLOTS
+
+f1=figure;
+plot(HtuneIntegerPart+nux,VtuneIntegerPart+nuy,'b.');
+axis([18.2 18.5 10.0 10.5]);
+title('SOLEIL lattice, calculated frequency map (NAFF)');
+xlabel('\nu_x');
+ylabel('\nu_y');
+pause(0.1);
+
+%% Plot diffusion
+if min(size(diffu)) > 1
+    
+    figure;
+    fill(xpos,ypos,diffuvec);
+    axis([0 ax 0 ay]);
+    caxis([-10 -3]);
+    hold on;
+    shading flat;
+    colormap('jet');
+    colorbar;
+    title('SOLEIL lattice, calculated frequency map (NAFF)');
+    xlabel('x position (mm) (injection straight)');
+    ylabel('z position (mm)');
+    hold off;
+    
+    figure;
+    fill(HtuneIntegerPart+nuxpos,VtuneIntegerPart+nuypos,diffuvec);
+    axis([18.2 18.5 10.0 10.5]);
+    caxis([-10 -3]);
+    hold on;
+    shading flat;
+    colormap('jet');
+    colorbar;
+    title('SOLEIL lattice, calculated frequency map (NAFF)');
+    xlabel('\nu_x');
+    ylabel('\nu_z');
+    hold off;
+    
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/ind_amplitude.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/ind_amplitude.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/ind_amplitude.m	(revision 17)
@@ -0,0 +1,54 @@
+function ind_amplitude
+%function induced_amplitude
+%
+% Plot induced amplitudes in achromat and straight section
+% transported back to the beginning of the lattice
+% NB: use files computed w/ solamor2.lat
+%
+
+% Written by Laurent S. Nadolski, SOLEIL 04/2004
+% Updated September 2009 with last lattice 
+
+hold_state = ishold;
+hold on
+
+%% Doesnot work for Pascale
+%PATH=[getenv('HOME') '/matlab/soleil/']
+PATH='/home/nadolski/matlab/soleil/';
+
+%% amplitude induite dans les achromates
+%file = [PATH 'amp_ind_achromat.out']; 
+file = [PATH 'amp_ind_achromat_soleil2009.out']; 
+[header data] = hdrload(file);
+x_achromat = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+%x_achromat = sqrt(data(:,8).*data(:,4)).*(data(:,1))*1e3;
+
+%% amplitude induite dans sections moyennes
+%file = [PATH 'amp_ind_SDM.out']; 
+file = [PATH 'amp_ind_SDM_soleil2009.out']; 
+[header data] = hdrload(file);
+x_SDM = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+%x_SDM = sqrt(data(:,8).*data(:,4)).*(data(:,1))*1e3;
+
+%% amplitude induite dans sections courtes
+%file = [PATH 'amp_ind_SDC.out']; 
+file = [PATH 'amp_ind_SDC_soleil2009.out']; 
+[header data] = hdrload(file);
+x_SDC = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+%x_SDC = sqrt(data(:,8).*data(:,4)).*(data(:,1))*1e3;
+
+%% amplitudes induites dans sections longues
+%file = [PATH 'amp_ind_SDL.out']; 
+file = [PATH 'amp_ind_SDL_soleil2009.out']; 
+[header data] = hdrload(file);
+x_SDL = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+%x_SDL = sqrt(data(:,8).*data(:,4)).*(data(:,1))*1e3;
+delta = data(:,1)*100;
+
+
+%h=plot(delta,x_SDL,'k-.',delta,x_SDC,'k--',delta,x_achromat,'k-',[delta(delta<0); 0; 0; delta(delta>0)], [-(20+x_SDL(delta<0)); -20; 35; 35-x_SDL(delta>0)],'r:');
+h=plot(delta,x_SDL,'k-.',delta,x_SDC,'k--',delta,x_achromat,'k-',delta,min(20-x_SDL,35-x_SDL),'r:');
+%h=plot(delta,x_SDL,'k-.',delta,x_SDM,'c--',delta,x_SDC,'k--',delta,x_achromat,'k-',delta,min(20-x_SDL,35-x_SDL),'r:');
+%h=plot(delta,x_SDL,'g-.',delta,x_SDC,'g--',delta,x_achromat,'g-',delta,20-x_SDL,'g:');
+set(h,'LineWidth',3)
+legend('SDL/SDM','SDC', 'Achromat', 'Physical')
Index: /trunk/machine/SOLEIL/common/naff/naffutils/ind_amplitude6D.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/ind_amplitude6D.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/ind_amplitude6D.m	(revision 17)
@@ -0,0 +1,40 @@
+function induced_amplitude6D
+%function induced_amplitude
+%
+% Plot induced amplitudes in achromat and straight section
+% transported back to the beginning of the lattice
+% NB: use files computed w/ solamor2.lat
+%
+% Written by Laurent S. Nadolski, SOLEIL 04/2004
+
+hold_state = ishold;
+hold on
+
+%% Doesnot work for Pascale
+%PATH=[getenv('HOME') '/matlab/soleil/']
+PATH='/home/nadolski/matlab/soleil/';
+
+%% amplitude induite dans les achromates
+file = [PATH 'amp_ind_achromat.out']; 
+[header data] = hdrload(file);
+x_achromat = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+
+%% amplitude induite dans sections moyennes
+file = [PATH 'amp_ind_SDM.out']; 
+[header data] = hdrload(file);
+x_SDM = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+
+%% amplitude induite dans sections courtes
+file = [PATH 'amp_ind_SDC.out']; 
+[header data] = hdrload(file);
+x_SDC = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+
+%% ampltudes induites dans sections longues
+file = [PATH 'amp_ind_SDL.out']; 
+[header data] = hdrload(file);
+x_SDL = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+delta = data(:,1)*100;
+
+h=plot(delta,2*x_SDL,'k-.',delta,2*x_SDC,'k--',delta,2*x_achromat,'k-');
+set(h,'LineWidth',3)
+legend('SDL/SDM','SDC', 'Achromat', 'Physical')
Index: /trunk/machine/SOLEIL/common/naff/naffutils/naffgui.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/naffgui.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/naffgui.m	(revision 17)
@@ -0,0 +1,392 @@
+function varargout = naffgui(varargin)
+% NAFFGUI M-file for naffgui.fig
+%      NAFFGUI, by itself, creates a new NAFFGUI or raises the existing
+%      singleton*.
+%
+%      H = NAFFGUI returns the handle to a new NAFFGUI or the handle to
+%      the existing singleton*.
+%
+%      NAFFGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in NAFFGUI.M with the given input arguments.
+%
+%      NAFFGUI('Property','Value',...) creates a new NAFFGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before naffgui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to naffgui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help naffgui
+
+% Last Modified by GUIDE v2.5 28-Jan-2012 11:09:40
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @naffgui_OpeningFcn, ...
+                   'gui_OutputFcn',  @naffgui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before naffgui is made visible.
+function naffgui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to naffgui (see VARARGIN)
+
+% Choose default command line output for naffgui
+handles.output = hObject;
+handles.a = 3;
+handles.b = 1;
+handles.c = 65;
+handles.periodicity = 4;
+handles.order = 4;
+handles.fen=[18 19 10 11];
+
+reson(handles.order,handles.periodicity,handles.fen);
+set(handles.periodicityvalue,'String',num2str(handles.periodicity));
+set(handles.ordervalue,'String',num2str(handles.order));
+set(handles.avalue,'String',num2str(handles.a));
+set(handles.bvalue,'String',num2str(handles.b));
+set(handles.cvalue,'String',num2str(handles.c));
+set(handles.eq1,'String',[num2str(handles.a) ' nux + ' num2str(handles.b) ...
+        ' nuz = ' num2str(handles.c)]); 
+
+reson(handles.order,handles.periodicity,handles.fen);
+hold on
+reson(3,handles.periodicity,handles.fen);
+reson(5,handles.periodicity,handles.fen);
+reson(7,handles.periodicity,handles.fen);
+axis(handles.fen);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes naffgui wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = naffgui_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton1.
+function pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+%% Ferme toutes les fenetres sauf le gui !
+figs=findobj('Type','Figure');
+close(figs(figs~=gcbf));
+
+% --- Executes on button press in pushbutton2.
+function pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+plot_fmap('fmap.out')
+% ces 2 autres versions permettent de superposer des résultats TRACY en
+% couleurs et les mesures on-momentum en noir sur la figure(1000)
+% prérequis : fmap.out de TRACY -> fmap_simulation.out
+%             fmap.out des mesures -> fmap_mesure.out
+%plot_fmap_version_mat_simulation('fmap_simulation.out')
+%plot_fmap_version_mat_mesure('fmap_mesure.out')
+
+% --- Executes on button press in pushbutton3.
+function pushbutton3_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tracy_plotnudx
+
+% --- Executes on button press in pushbutton_nudp.
+function pushbutton_nudp_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_nudp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+plotnudpT
+
+% --- Executes on button press in pushbutton5.
+function pushbutton5_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+if get(handles.checkbox_tracy3,'Value') == 1
+    plotchamberT('tracy3')
+else
+    plotchamberT
+end
+    
+
+% --- Executes on button press in pushbutton6.
+function pushbutton6_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+plot_fmapdp('fmapdp.out')
+
+% --- Executes during object creation, after setting all properties.
+function cvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to cvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function cvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to cvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of cvalue as text
+%        str2double(get(hObject,'String')) returns contents of cvalue as a double
+
+val = str2double(get(hObject,'String'));
+handles.c = val;
+guidata(hObject, handles);
+set(handles.eq1,'String',[num2str(handles.a) ' nux + ' num2str(handles.b) ...
+        ' nuz = ' num2str(handles.c)]); 
+plot_reson(handles.a,handles.b,handles.c,handles.fen)
+
+% --- Executes during object creation, after setting all properties.
+function avalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to avalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function avalue_Callback(hObject, eventdata, handles)
+% hObject    handle to avalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of avalue as text
+%        str2double(get(hObject,'String')) returns contents of avalue as a double
+val = str2double(get(hObject,'String'));
+handles.a = val;
+guidata(hObject, handles);
+set(handles.eq1,'String',[num2str(handles.a) ' nux + ' num2str(handles.b) ...
+        ' nuz = ' num2str(handles.c)]); 
+plot_reson(handles.a,handles.b,handles.c,handles.fen)
+
+
+% --- Executes during object creation, after setting all properties.
+function bvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to bvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function bvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to bvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of bvalue as text
+%        str2double(get(hObject,'String')) returns contents of bvalue as a double
+val = str2double(get(hObject,'String'));
+handles.b = val;
+guidata(hObject, handles);
+set(handles.eq1,'String',[num2str(handles.a) ' nux + ' num2str(handles.b) ...
+        ' nuz = ' num2str(handles.c)]); 
+plot_reson(handles.a,handles.b,handles.c,handles.fen)
+
+
+% --- Executes during object creation, after setting all properties.
+function periodicityvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to periodicityvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function periodicityvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to periodicityvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of periodicityvalue as text
+%        str2double(get(hObject,'String')) returns contents of periodicityvalue as a double
+val = str2double(get(hObject,'String'));
+handles.periodicity = val;
+guidata(hObject, handles);
+reson(handles.order,handles.periodicity,handles.fen);
+
+
+% --- Executes during object creation, after setting all properties.
+function ordervalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ordervalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function ordervalue_Callback(hObject, eventdata, handles)
+% hObject    handle to ordervalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ordervalue as text
+%        str2double(get(hObject,'String')) returns contents of ordervalue as a double
+val = str2double(get(hObject,'String'));
+handles.order = val;
+guidata(hObject, handles);
+reson(handles.order,handles.periodicity,handles.fen);
+
+
+% --- Executes on button press in pushbutton7.
+function pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+reson(handles.order,handles.periodicity,handles.fen);
+
+
+% --- Executes on button press in pushbutton8.
+function pushbutton8_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+cla
+
+
+% --- Executes on button press in pushbutton10.
+function pushbutton10_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in pushbutton_touschek.
+function pushbutton_touschek_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_touschek (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+prompt = {...
+    'Tracy output filename', ...
+    'Tracy linear optics ouput filename',...
+    'RMS H-emittance value (nm.rad):', ...
+    'RMS bunch length (mm):', ...
+    'Coupling value:' , ...
+    'Energy value (GeV):',  ...
+    'Full Machine (0/1)'};
+dlg_title = 'Input for Touscheck lifetime computation';
+num_lines = 1;
+def = {'soleil.out','linlat.out', '3.7E-9', ...
+    '6E-3', '1E-2',  '2.739', '0'};
+answer = inputdlg(prompt,dlg_title,num_lines,def);
+
+if ~isempty(answer)
+    if strcmp(answer{length(def)}, '1'),
+        Type = 'FullMachine';
+    else
+        Type = 'SuperPeriode';
+    end
+    
+    fprintf('Computing ...');
+    [T, Tp, Tn] = Calc_Tous( ...
+        answer{1}, answer{2}, ...
+        str2double(answer{3}), str2double(answer{4}),...
+        str2double(answer{5}), str2double(answer{6}),...
+        Type);
+    fprintf('Touschek lifetime T=%4.2f h Tp=%4.2f h Tn=%4.2f h\n', T, Tp, Tn);
+end
+
+
+% --- Executes on button press in pushbutton_beta.
+function pushbutton_beta_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_beta (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+plottwissT;
+
+% --- Executes on button press in pushbutton_dispersion.
+function pushbutton_dispersion_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_dispersion (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+plot_fmapdp6D('fmapdp.out');
+
+% --- Executes on button press in pushbutton_twiss.
+function pushbutton_twiss_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_twiss (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in checkbox_tracy3.
+function checkbox_tracy3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox_tracy3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox_tracy3
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap.m	(revision 17)
@@ -0,0 +1,131 @@
+function plot_fmap(file)
+%  PLOT_FMAP - Plots frequency map
+%  plot_fmap('fmap.out')
+%
+%  INPUTS
+%  1. file - filename for plotting frequency maps (output file from Tracy
+%  II)
+%
+%  See also naffgui, plot_fmapdp
+
+% Written by Laurent S. Nadolski, SOLEIL, 03/04
+% Modifications for R14 compatibility, June'05
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesZgrid','on');
+
+if nargin <1
+  help (mfilename)
+  file ='fmap.out';
+end
+
+try
+    [header data] = hdrload(file);
+catch
+    error('Error while opening filename %s ',file)
+end
+
+%% dimensions en mm
+x = data(:,1)*1e3;
+z = data(:,2)*1e3;
+%% ajoute partie entiere
+fx = 18 + abs(data(:,3));
+fz = 10 + abs(data(:,4));
+
+%% cas si diffusion
+if size(data,2) == 6
+    diffusion = 1;
+    dfx = data(:,5);
+    dfz = data(:,6);
+else
+    clear data
+    diffusion = 0
+end
+
+% select stable particles
+indx=(fx~=18.0);
+
+%%% carte en frequence N&B
+figure; 
+subplot(2,1,1)
+plot(fx,fz,'.','MarkerSize',0.5); hold on;
+xlabel('\nu_x', 'interpreter', 'Tex'); ylabel('\nu_z', 'interpreter', 'Tex')
+%axis([18.10 18.30 10.60 10.80])
+
+subplot(2,1,2)
+plot(x(indx),z(indx),'.','MarkerSize',0.5); hold on
+xlabel('x(mm)'); ylabel('z(mm)');
+
+pwd0 = pwd;
+[pathName DirName] = fileparts (pwd0);
+addlabel(0,0, DirName);
+
+% Get Matlab version
+v = ver('matlab');
+
+%% cas diffusion
+if diffusion    
+    figure;  clf
+    xgrid = [];  dfxgrid = []; fxgrid = []; 
+    zgrid = [];  dfzgrid = []; fzgrid = [];
+    
+    %% calcul automatique la taille des donnees
+    nz = sum(x==x(1));
+    nx = size(x,1)/nz;
+    
+    xgrid = reshape(x,nz,nx);
+    zgrid = reshape(z,nz,nx);
+    fxgrid = reshape(fx,nz,nx);
+    fzgrid = reshape(fz,nz,nx);
+    dfxgrid = reshape(dfx,nz,nx);
+    dfzgrid = reshape(dfz,nz,nx);
+    
+    %% Diffusion computation and get rid of log of zero
+    temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+    nonzero = (temp ~= 0);
+    diffu = NaN*ones(size(temp));
+    diffu(nonzero) = log10(temp(nonzero));
+    clear nonzero temp;
+    diffumax = -2; diffumin = -10;
+    diffu(diffu< diffumin) = diffumin; %very stable
+    diffu(diffu> diffumax) = diffumax; %chaotic
+
+    h1=subplot(2,1,1);
+    %% frequency map   
+    if strcmp(v.Release,'(R13SP1)')  
+        h=mesh(fxgrid,fzgrid,diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none');
+    else % For Release R14 and later
+        h=mesh(fxgrid,fzgrid,diffu,'Marker','.','MarkerSize',5.0,'FaceColor','none','LineStyle','none');
+    end
+    
+    caxis([-10 -2]); % Echelle absolue
+    view(2); hold on;
+    %axis([18.195 18.27 10.26 10.32])
+    %axis([18.195 18.22 10.28 10.32]) % modif mat oct 09 0.2 0.3
+    %axis([18.15 18.22 10.28 10.36]) % modif mat oct 09 0.202 0.317
+    shading flat
+    xlabel('\nu_x', 'interpreter', 'Tex');  ylabel('\nu_z', 'interpreter', 'Tex');
+    %% colorbar position
+    
+    h2=subplot(2,1,2);
+    %% dynamic aperture
+    pcolor(xgrid,zgrid,diffu); hold on;
+    if xgrid(end) > 0
+        xaxis([0 25])
+    else
+        xaxis([-25 0])
+    end
+    caxis([-10 -2]); % Echelle absolue
+    shading flat;
+    xlabel('x(mm)'); ylabel('z(mm)');
+    
+    
+    %% colorbar position
+    hp=colorbar('location', 'EastOutside');
+    p1 = get(h1,'position'); p2 = get(h2,'position'); p0 = get(hp,'position');
+    set(hp,'position',[p1(1) + 1.03*p1(3) p0(2)  0.03 p1(4)*2.4]);
+    pwd0 = pwd;
+    [pathName DirName] = fileparts (pwd0); 
+    addlabel(0,0, DirName);
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_sauvegarde.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_sauvegarde.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_sauvegarde.m	(revision 17)
@@ -0,0 +1,129 @@
+function plot_fmap(file)
+%  PLOT_FMAP - Plots frequency map
+%  plot_fmap('fmap.out')
+%
+%  INPUTS
+%  1. file - filename for plotting frequency maps (output file from Tracy
+%  II)
+%
+%  See also naffgui, plot_fmapdp
+
+% Written by Laurent S. Nadolski, SOLEIL, 03/04
+% Modifications for R14 compatibility, June'05
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesZgrid','on');
+
+if nargin <1
+  help (mfilename)
+  file ='fmap.out';
+end
+
+try
+    [header data] = hdrload(file);
+catch
+    error('Error while opening filename %s ',file)
+end
+
+%% dimensions en mm
+x = data(:,1)*1e3;
+z = data(:,2)*1e3;
+%% ajoute partie entiere
+fx = 18 + abs(data(:,3));
+fz = 10 + abs(data(:,4));
+
+%% cas si diffusion
+if size(data,2) == 6
+    diffusion = 1;
+    dfx = data(:,5);
+    dfz = data(:,6);
+else
+    clear data
+    diffusion = 0
+end
+
+% select stable particles
+indx=(fx~=18.0);
+
+%%% carte en frequence N&B
+figure; 
+subplot(2,1,1)
+plot(fx,fz,'.','MarkerSize',0.5); hold on;
+xlabel('\nu_x', 'interpreter', 'Tex'); ylabel('\nu_z', 'interpreter', 'Tex')
+axis([18.15 18.27 10.265 10.32])
+
+subplot(2,1,2)
+plot(x(indx),z(indx),'.','MarkerSize',0.5); hold on
+xlabel('x(mm)'); ylabel('z(mm)');
+
+pwd0 = pwd;
+[pathName DirName] = fileparts (pwd0);
+addlabel(0,0, DirName);
+
+% Get Matlab version
+v = ver('matlab');
+
+%% cas diffusion
+if diffusion    
+    figure;  clf
+    xgrid = [];  dfxgrid = []; fxgrid = []; 
+    zgrid = [];  dfzgrid = []; fzgrid = [];
+    
+    %% calcul automayique la taille des donnees
+    nz = sum(x==x(1));
+    nx = size(x,1)/nz;
+    
+    xgrid = reshape(x,nz,nx);
+    zgrid = reshape(z,nz,nx);
+    fxgrid = reshape(fx,nz,nx);
+    fzgrid = reshape(fz,nz,nx);
+    dfxgrid = reshape(dfx,nz,nx);
+    dfzgrid = reshape(dfz,nz,nx);
+    
+    %% Diffusion computation and get rid of log of zero
+    temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+    nonzero = (temp ~= 0);
+    diffu = NaN*ones(size(temp));
+    diffu(nonzero) = log10(temp(nonzero));
+    clear nonzero temp;
+    diffumax = -2; diffumin = -10;
+    diffu(diffu< diffumin) = diffumin; % very stable
+    diffu(diffu> diffumax) = diffumax; %chaotic
+
+    h1=subplot(2,1,1);
+    %% frequency map   
+    if strcmp(v.Release,'(R13SP1)')  
+        h=mesh(fxgrid,fzgrid,diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none');
+    else % For Release R14 and later
+        h=mesh(fxgrid,fzgrid,diffu,'Marker','.','MarkerSize',5.0,'FaceColor','none','LineStyle','none');
+    end
+    
+    caxis([-10 -2]); % Echelle absolue
+    view(2); hold on;
+    %axis([18.195 18.27 10.26 10.32])
+    shading flat
+    xlabel('\nu_x', 'interpreter', 'Tex');  ylabel('\nu_z', 'interpreter', 'Tex');
+    %% colorbar position
+    
+    h2=subplot(2,1,2);
+    %% dynamic aperture
+    pcolor(xgrid,zgrid,diffu); hold on;
+    if xgrid(end) > 0
+        xaxis([0 25])
+    else
+        xaxis([-25 0])
+    end
+    caxis([-10 -2]); % Echelle absolue
+    shading flat;
+    xlabel('x(mm)'); ylabel('z(mm)');
+    
+    
+    %% colorbar position
+    hp=colorbar('location', 'EastOutside');
+    p1 = get(h1,'position'); p2 = get(h2,'position'); p0 = get(hp,'position');
+    set(hp,'position',[p1(1) + 1.03*p1(3) p0(2)  0.03 p1(4)*2.4]);
+    pwd0 = pwd;
+    [pathName DirName] = fileparts (pwd0); 
+    addlabel(0,0, DirName);
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat.m	(revision 17)
@@ -0,0 +1,134 @@
+function plot_fmap(file)
+%  PLOT_FMAP - Plots frequency map
+%  plot_fmap('fmap.out')
+%
+%  INPUTS
+%  1. file - filename for plotting frequency maps (output file from Tracy
+%  II)
+%
+%  See also naffgui, plot_fmapdp
+
+% Written by Laurent S. Nadolski, SOLEIL, 03/04
+% Modifications for R14 compatibility, June'05
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesZgrid','on');
+
+if nargin <1
+  help (mfilename)
+  file ='fmap.out';
+end
+
+try
+    [header data] = hdrload(file);
+catch
+    error('Error while opening filename %s ',file)
+end
+
+%% dimensions en mm
+x = data(:,1)*1e3;
+z = data(:,2)*1e3;
+%% courant
+dI = data(:,5);
+%% ajoute partie entiere
+fx = 18 + abs(data(:,3));
+fz = 10 + abs(data(:,4));
+
+%% cas si diffusion
+if size(data,2) == 6
+    diffusion = 1;
+    dfx = data(:,5);
+    dfz = data(:,6);
+else
+    clear data
+    diffusion = 0
+end
+
+% select stable particles
+%indx=(fx~=18.0);
+indx=(floor(fx)==18);
+%%% carte en frequence N&B
+figure(4); hold on; 
+subplot(2,1,1)
+plot(fx,fz,'ko','MarkerSize',1.8); hold on;
+xlabel('\nu_x', 'interpreter', 'Tex'); ylabel('\nu_z', 'interpreter', 'Tex')
+axis([18.19 18.22 10.30 10.33])
+
+subplot(2,1,2)
+xa = x(indx);za = z(indx);dIa = dI(indx);
+for i=1:length(xa)
+    hold on ;plot(xa(i),za(i),'ko','MarkerSize',dIa(i));% on prend en compte les pertes en courant
+end
+xlabel('x(mm)'); ylabel('z(mm)');
+
+pwd0 = pwd;
+[pathName DirName] = fileparts (pwd0);
+addlabel(0,0, DirName);
+
+% Get Matlab version
+v = ver('matlab');
+
+%% cas diffusion
+if diffusion    
+    figure;  clf
+    xgrid = [];  dfxgrid = []; fxgrid = []; 
+    zgrid = [];  dfzgrid = []; fzgrid = [];
+    
+    %% calcul automayique la taille des donnees
+    nz = sum(x==x(1));
+    nx = size(x,1)/nz;
+    
+    xgrid = reshape(x,nz,nx);
+    zgrid = reshape(z,nz,nx);
+    fxgrid = reshape(fx,nz,nx);
+    fzgrid = reshape(fz,nz,nx);
+    dfxgrid = reshape(dfx,nz,nx);
+    dfzgrid = reshape(dfz,nz,nx);
+    
+    %% Diffusion computation and get rid of log of zero
+    temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+    nonzero = (temp ~= 0);
+    diffu = NaN*ones(size(temp));
+    diffu(nonzero) = log10(temp(nonzero));
+    clear nonzero temp;
+    diffumax = -2; diffumin = -10;
+    diffu(diffu< diffumin) = diffumin; % very stable
+    diffu(diffu> diffumax) = diffumax; %chaotic
+
+    h1=subplot(2,1,1);
+    %% frequency map   
+    if strcmp(v.Release,'(R13SP1)')  
+        h=mesh(fxgrid,fzgrid,diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none');
+    else % For Release R14 and later
+        h=mesh(fxgrid,fzgrid,diffu,'Marker','.','MarkerSize',5.0,'FaceColor','none','LineStyle','none');
+    end
+    
+    caxis([-10 -2]); % Echelle absolue
+    view(2); hold on;
+    %axis([18.195 18.27 10.26 10.32])
+    shading flat
+    xlabel('\nu_x', 'interpreter', 'Tex');  ylabel('\nu_z', 'interpreter', 'Tex');
+    %% colorbar position
+    
+    h2=subplot(2,1,2);
+    %% dynamic aperture
+    pcolor(xgrid,zgrid,diffu); hold on;
+    if xgrid(end) > 0
+        xaxis([0 25])
+    else
+        xaxis([-25 0])
+    end
+    caxis([-10 -2]); % Echelle absolue
+    shading flat;
+    xlabel('x(mm)'); ylabel('z(mm)');
+    
+    
+    %% colorbar position
+    hp=colorbar('location', 'EastOutside');
+    p1 = get(h1,'position'); p2 = get(h2,'position'); p0 = get(hp,'position');
+    set(hp,'position',[p1(1) + 1.03*p1(3) p0(2)  0.03 p1(4)*2.4]);
+    pwd0 = pwd;
+    [pathName DirName] = fileparts (pwd0); 
+    addlabel(0,0, DirName);
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat_mesure.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat_mesure.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat_mesure.m	(revision 17)
@@ -0,0 +1,134 @@
+function plot_fmap(file)
+%  PLOT_FMAP - Plots frequency map
+%  plot_fmap('fmap.out')
+%
+%  INPUTS
+%  1. file - filename for plotting frequency maps (output file from Tracy
+%  II)
+%
+%  See also naffgui, plot_fmapdp
+
+% Written by Laurent S. Nadolski, SOLEIL, 03/04
+% Modifications for R14 compatibility, June'05
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesZgrid','on');
+
+if nargin <1
+  help (mfilename)
+  file ='fmap_mesure.out';
+end
+
+try
+    [header data] = hdrload(file);
+catch
+    error('Error while opening filename %s ',file)
+end
+
+%% dimensions en mm
+x = data(:,1)*1e3;
+z = data(:,2)*1e3;
+%% courant
+dI = data(:,5);
+%% ajoute partie entiere
+fx = 18 + abs(data(:,3));
+fz = 10 + abs(data(:,4));
+
+%% cas si diffusion
+if size(data,2) == 6
+    diffusion = 1;
+    dfx = data(:,5);
+    dfz = data(:,6);
+else
+    clear data
+    diffusion = 0
+end
+
+% select stable particles
+%indx=(fx~=18.0);
+indx=(floor(fx)==18);
+%%% carte en frequence N&B
+figure(1000); hold on; 
+subplot(2,1,1)
+plot(fx,fz,'ko','MarkerSize',1.8); hold on;
+xlabel('\nu_x', 'interpreter', 'Tex'); ylabel('\nu_z', 'interpreter', 'Tex')
+axis([18.19 18.22 10.30 10.33])
+
+subplot(2,1,2)
+xa = x(indx);za = z(indx);dIa = dI(indx);
+for i=1:length(xa)
+    hold on ;plot(xa(i),za(i),'ko','MarkerSize',dIa(i));% on prend en compte les pertes en courant
+end
+xlabel('x(mm)'); ylabel('z(mm)');
+
+pwd0 = pwd;
+[pathName DirName] = fileparts (pwd0);
+addlabel(0,0, DirName);
+
+% Get Matlab version
+v = ver('matlab');
+
+%% cas diffusion
+if diffusion    
+    figure;  clf
+    xgrid = [];  dfxgrid = []; fxgrid = []; 
+    zgrid = [];  dfzgrid = []; fzgrid = [];
+    
+    %% calcul automayique la taille des donnees
+    nz = sum(x==x(1));
+    nx = size(x,1)/nz;
+    
+    xgrid = reshape(x,nz,nx);
+    zgrid = reshape(z,nz,nx);
+    fxgrid = reshape(fx,nz,nx);
+    fzgrid = reshape(fz,nz,nx);
+    dfxgrid = reshape(dfx,nz,nx);
+    dfzgrid = reshape(dfz,nz,nx);
+    
+    %% Diffusion computation and get rid of log of zero
+    temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+    nonzero = (temp ~= 0);
+    diffu = NaN*ones(size(temp));
+    diffu(nonzero) = log10(temp(nonzero));
+    clear nonzero temp;
+    diffumax = -2; diffumin = -10;
+    diffu(diffu< diffumin) = diffumin; % very stable
+    diffu(diffu> diffumax) = diffumax; %chaotic
+
+    h1=subplot(2,1,1);
+    %% frequency map   
+    if strcmp(v.Release,'(R13SP1)')  
+        h=mesh(fxgrid,fzgrid,diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none');
+    else % For Release R14 and later
+        h=mesh(fxgrid,fzgrid,diffu,'Marker','.','MarkerSize',5.0,'FaceColor','none','LineStyle','none');
+    end
+    
+    caxis([-10 -2]); % Echelle absolue
+    view(2); hold on;
+    %axis([18.195 18.27 10.26 10.32])
+    shading flat
+    xlabel('\nu_x', 'interpreter', 'Tex');  ylabel('\nu_z', 'interpreter', 'Tex');
+    %% colorbar position
+    
+    h2=subplot(2,1,2);
+    %% dynamic aperture
+    pcolor(xgrid,zgrid,diffu); hold on;
+    if xgrid(end) > 0
+        xaxis([0 25])
+    else
+        xaxis([-25 0])
+    end
+    caxis([-10 -2]); % Echelle absolue
+    shading flat;
+    xlabel('x(mm)'); ylabel('z(mm)');
+    
+    
+    %% colorbar position
+    hp=colorbar('location', 'EastOutside');
+    p1 = get(h1,'position'); p2 = get(h2,'position'); p0 = get(hp,'position');
+    set(hp,'position',[p1(1) + 1.03*p1(3) p0(2)  0.03 p1(4)*2.4]);
+    pwd0 = pwd;
+    [pathName DirName] = fileparts (pwd0); 
+    addlabel(0,0, DirName);
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat_simulation.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat_simulation.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmap_version_mat_simulation.m	(revision 17)
@@ -0,0 +1,131 @@
+function plot_fmap(file)
+%  PLOT_FMAP - Plots frequency map
+%  plot_fmap('fmap.out')
+%
+%  INPUTS
+%  1. file - filename for plotting frequency maps (output file from Tracy
+%  II)
+%
+%  See also naffgui, plot_fmapdp
+
+% Written by Laurent S. Nadolski, SOLEIL, 03/04
+% Modifications for R14 compatibility, June'05
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesZgrid','on');
+
+if nargin <1
+  help (mfilename)
+  file ='fmap_simulation.out';
+end
+
+try
+    [header data] = hdrload(file);
+catch
+    error('Error while opening filename %s ',file)
+end
+
+%% dimensions en mm
+x = data(:,1)*1e3;
+z = data(:,2)*1e3;
+%% ajoute partie entiere
+fx = 18 + abs(data(:,3));
+fz = 10 + abs(data(:,4));
+
+%% cas si diffusion
+if size(data,2) == 6
+    diffusion = 1;
+    dfx = data(:,5);
+    dfz = data(:,6);
+else
+    clear data
+    diffusion = 0
+end
+
+% select stable particles
+indx=(fx~=18.0);
+
+%%% carte en frequence N&B
+figure; 
+subplot(2,1,1)
+plot(fx,fz,'.','MarkerSize',0.5); hold on;
+xlabel('\nu_x', 'interpreter', 'Tex'); ylabel('\nu_z', 'interpreter', 'Tex')
+axis([18.15 18.27 10.265 10.32])
+
+
+subplot(2,1,2)
+plot(x(indx),z(indx),'.','MarkerSize',0.5); hold on
+xlabel('x(mm)'); ylabel('z(mm)');
+
+pwd0 = pwd;
+[pathName DirName] = fileparts (pwd0);
+addlabel(0,0, DirName);
+
+% Get Matlab version
+v = ver('matlab');
+
+%% cas diffusion
+if diffusion    
+    figure(1000);  hold on % clf
+    xgrid = [];  dfxgrid = []; fxgrid = []; 
+    zgrid = [];  dfzgrid = []; fzgrid = [];
+    
+    %% calcul automayique la taille des donnees
+    nz = sum(x==x(1));
+    nx = size(x,1)/nz;
+    
+    xgrid = reshape(x,nz,nx);
+    zgrid = reshape(z,nz,nx);
+    fxgrid = reshape(fx,nz,nx);
+    fzgrid = reshape(fz,nz,nx);
+    dfxgrid = reshape(dfx,nz,nx);
+    dfzgrid = reshape(dfz,nz,nx);
+    
+    %% Diffusion computation and get rid of log of zero
+    temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+    nonzero = (temp ~= 0);
+    diffu = NaN*ones(size(temp));
+    diffu(nonzero) = log10(temp(nonzero));
+    clear nonzero temp;
+    diffumax = -2; diffumin = -10;
+    diffu(diffu< diffumin) = diffumin; % very stable
+    diffu(diffu> diffumax) = diffumax; %chaotic
+
+    h1=subplot(2,1,1);
+    %% frequency map   
+    if strcmp(v.Release,'(R13SP1)')  
+        h=mesh(fxgrid,fzgrid,diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none');
+    else % For Release R14 and later
+        h=mesh(fxgrid,fzgrid,diffu,'Marker','.','MarkerSize',5.0,'FaceColor','none','LineStyle','none');
+    end
+    axis([18.19 18.22 10.30 10.33])
+    
+    caxis([-10 -2]); % Echelle absolue
+    view(2); hold on;
+    %axis([18.195 18.27 10.26 10.32])
+    shading flat
+    xlabel('\nu_x', 'interpreter', 'Tex');  ylabel('\nu_z', 'interpreter', 'Tex');
+    %% colorbar position
+    
+    h2=subplot(2,1,2);
+    %% dynamic aperture
+    pcolor(xgrid,zgrid,diffu); hold on;
+    if xgrid(end) > 0
+        xaxis([0 25])
+    else
+        xaxis([-25 0])
+    end
+    caxis([-10 -2]); % Echelle absolue
+    shading flat;
+    xlabel('x(mm)'); ylabel('z(mm)');
+    
+    
+    %% colorbar position
+    hp=colorbar('location', 'EastOutside');
+    p1 = get(h1,'position'); p2 = get(h2,'position'); p0 = get(hp,'position');
+    set(hp,'position',[p1(1) + 1.03*p1(3) p0(2)  0.03 p1(4)*2.4]);
+    pwd0 = pwd;
+    [pathName DirName] = fileparts (pwd0); 
+    addlabel(0,0, DirName);
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp.m	(revision 17)
@@ -0,0 +1,130 @@
+function plot_fmapdp(file)
+% PLOT_FMAPDP - Plot frequency map
+% plot_fmapdp('fmapdp.out')
+%
+%  INPUTS
+%  1. file - filename for plotting frequency maps (output file from Tracy
+%  II)
+%
+%  See also naffgui, plot_fmap, resongui
+
+%
+% Written Laurent S. Nadolski, SOLEIL, 03/04
+% Modifications for R14 compatibility, June'05
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesYgrid','on');
+pwd0 = pwd;
+ 
+if nargin <1
+  help (mfilename)
+  file ='fmapdp.out';
+end
+
+try
+    [dp x fx fz dfx dfz] = textread(file,'%f %f %f %f %f %f','headerlines',3);
+catch
+    error('Error while opening filename %s',file)
+end
+
+%% ajoute parties entieres
+fx=18+abs(fx);
+fz=10+abs(fz);
+%% energie en %
+dp = dp*1e2;
+%% position en mm
+x = x*1e3;
+            
+% select stable particles
+indx=(fx~=18.0);
+
+%% carte N&B
+figure; clf;
+subplot(2,1,1)
+plot(fx,fz,'.','MarkerSize',0.5)
+xlabel('\nu_x'); ylabel('\nu_z')
+%axis([18.15 18.27 10.265 10.32])
+
+subplot(2,1,2)
+plot(dp(indx),x(indx),'.','MarkerSize',0.5); hold on
+ind_amplitude
+xlabel('\delta (%)'); ylabel('x(mm)')
+[pathName DirName] = fileparts (pwd0);
+addlabel(0,0, DirName);
+
+%% Carte avec diffusion
+figure; clf 
+dpgrid = [];
+xgrid = [];
+dfxgrid = [];
+dfzgrid = [];
+fxgrid = [];
+fzgrid = [];
+
+%% Calcul automatique de la taille des donnees
+nx = sum(dp==dp(1));
+ndp = size(dp,1)/nx;
+
+xgrid = reshape(x,nx,ndp);
+dpgrid = reshape(dp,nx,ndp);
+fxgrid = reshape(fx,nx,ndp);
+fzgrid = reshape(fz,nx,ndp);
+dfxgrid = reshape(dfx,nx,ndp);
+dfzgrid = reshape(dfz,nx,ndp);
+
+%% Diffusion
+temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+nonzero = (temp ~= 0);
+diffu = NaN*ones(size(temp));
+diffu(nonzero) = log10(temp(nonzero));
+clear nonzero temp;
+
+% diffu = log10(sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid));
+
+%% saturation
+% ind = isinf(diffu); 
+% diffu(ind) = NaN;
+diffumax = -2; diffumin = -10;
+diffu(diffu< diffumin) = diffumin; % very stable
+diffu(diffu> diffumax) = diffumax; %chaotic
+diffu(end)    = diffumin;
+diffu(end-1) = diffumax;
+
+%% fmap
+h1=subplot(2,1,1);
+
+% Get Matlab version
+v = ver('matlab');
+
+if strcmp(v.Release,'(R13SP1)')
+    mesh(fxgrid,fzgrid,diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none');
+else % For Release R14 and later
+    mesh(fxgrid,fzgrid,diffu,'Marker','.','LineStyle','none','MarkerSize',5.0,'FaceColor','none');
+end
+
+caxis([-10 -2]); % Echelle absolue
+%axis([18.15 18.27 10.26 10.32])
+% axis([18.195 18.27 s10.26 10.32])
+set(gca,'View',[0 90]);
+hold on
+shading flat
+%hp=colorbar('horiz');
+xlabel('\nu_x')
+ylabel('\nu_z')
+
+%% DA
+h2=subplot(2,1,2);
+%% colorbar position
+% p1 = get(h1,'position'); p2 = get(h2,'position'); p0 = get(hp,'position');
+% set(hp,'position',[p0(1) p1(2) - 1.2*(p1(2)-p2(2)-p2(4))/2 p0(3:4)]);
+% 
+ pcolor(dpgrid,xgrid,diffu); hold on
+ caxis([-10 -2]); % Echelle absolue
+ shading flat
+xlabel('dp (%)')
+ylabel('x(mm)')
+%axis([-6 6 -25 0 ])
+% ind_amplitude
+[pathName DirName] = fileparts (pwd0);
+addlabel(0,0, DirName);
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp6D.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp6D.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp6D.m	(revision 17)
@@ -0,0 +1,50 @@
+function plot_fmapdp(file)
+% Plot frequency map
+% eg:
+% plot_fmapdp('fmapdp.out')
+%
+% Laurent S. Nadolski, SOLEIL, 03/04
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesYgrid','on');
+
+if nargin <1
+  help (mfilename)
+  file ='fmapdp.out';
+end
+
+try
+    [dp x fx fz dfx dfz] = textread(file,'%f %f %f %f %f %f','headerlines',3);
+catch
+    error('Error while opening filename %s',file)
+end
+
+%% ajoute parties entieres
+fx=18+abs(fx);
+fz=10+abs(fz);
+%% energie en %
+dp = dp*1e2;
+%% position en mm
+x = abs(x)*1e3;
+            
+% select stable particles
+indx=(fx~=18.0);
+
+%% carte N&B
+figure(6); clf;
+subplot(2,1,1)
+plot(fx,fz,'.','MarkerSize',0.5)
+xlabel('\nu_x'); ylabel('\nu_z')
+%axis([18.15 18.27 10.265 10.32])
+
+subplot(2,1,2)
+plot(dp(indx),x(indx),'.','MarkerSize',0.5); hold on
+plot([-6 6],[25 25],'r-.')
+plot([-6 -6],[0 26],'k--')
+plot([6 6],[0 26],'k--')
+plot([4 4],[0 26],'k--')
+ind_amplitude6D
+xlabel('\delta (%)'); ylabel('x(mm)')
+axis([-6.2 6.2 0 26])
+%addlabel(0,0,datestr(now))
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp_sauvegarde.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp_sauvegarde.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp_sauvegarde.m	(revision 17)
@@ -0,0 +1,127 @@
+function plot_fmapdp(file)
+% PLOT_FMAPDP - Plot frequency map
+% plot_fmapdp('fmapdp.out')
+%
+%  INPUTS
+%  1. file - filename for plotting frequency maps (output file from Tracy
+%  II)
+%
+%  See also naffgui, plot_fmap, resongui
+
+%
+% Written Laurent S. Nadolski, SOLEIL, 03/04
+% Modifications for R14 compatibility, June'05
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesYgrid','on');
+
+if nargin <1
+  help (mfilename)
+  file ='fmapdp.out';
+end
+
+try
+    [dp x fx fz dfx dfz] = textread(file,'%f %f %f %f %f %f','headerlines',3);
+catch
+    error('Error while opening filename %s',file)
+end
+
+%% ajoute parties entieres
+fx=18+abs(fx);
+fz=10+abs(fz);
+%% energie en %
+dp = dp*1e2;
+%% position en mm
+x = x*1e3;
+            
+% select stable particles
+indx=(fx~=18.0);
+
+%% carte N&B
+figure(6); clf;
+subplot(2,1,1)
+plot(fx,fz,'.','MarkerSize',0.5)
+xlabel('\nu_x'); ylabel('\nu_z')
+%axis([18.15 18.27 10.265 10.32])
+
+subplot(2,1,2)
+plot(dp(indx),x(indx),'.','MarkerSize',0.5); hold on
+ind_amplitude
+xlabel('\delta (%)'); ylabel('x(mm)')
+addlabel(0,0,datestr(now));
+
+%% Carte avec diffusion
+figure(7); clf 
+dpgrid = [];
+xgrid = [];
+dfxgrid = [];
+dfzgrid = [];
+fxgrid = [];
+fzgrid = [];
+
+%% Calcul automatique de la taille des donnees
+nx = sum(dp==dp(1));
+ndp = size(dp,1)/nx;
+
+xgrid = reshape(x,nx,ndp);
+dpgrid = reshape(dp,nx,ndp);
+fxgrid = reshape(fx,nx,ndp);
+fzgrid = reshape(fz,nx,ndp);
+dfxgrid = reshape(dfx,nx,ndp);
+dfzgrid = reshape(dfz,nx,ndp);
+
+%% Diffusion
+temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+nonzero = (temp ~= 0);
+diffu = NaN*ones(size(temp));
+diffu(nonzero) = log10(temp(nonzero));
+clear nonzero temp;
+
+% diffu = log10(sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid));
+
+%% saturation
+% ind = isinf(diffu); 
+% diffu(ind) = NaN;
+diffumax = -2; diffumin = -10;
+diffu(diffu< diffumin) = diffumin; % very stable
+diffu(diffu> diffumax) = diffumax; %chaotic
+diffu(end)    = diffumin;
+diffu(end-1) = diffumax;
+
+%% fmap
+h1=subplot(2,1,1);
+
+% Get Matlab version
+v = ver('matlab');
+
+if strcmp(v.Release,'(R13SP1)')
+    mesh(fxgrid,fzgrid,diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none');
+else % For Release R14 and later
+    mesh(fxgrid,fzgrid,diffu,'Marker','.','LineStyle','none','MarkerSize',5.0,'FaceColor','none');
+end
+
+caxis([-10 -2]); % Echelle absolue
+%axis([18.15 18.27 10.26 10.32])
+% axis([18.195 18.27 s10.26 10.32])
+set(gca,'View',[0 90]);
+hold on
+shading flat
+hp=colorbar('horiz');
+xlabel('\nu_x')
+ylabel('\nu_z')
+
+%% DA
+h2=subplot(2,1,2);
+%% colorbar position
+p1 = get(h1,'position'); p2 = get(h2,'position'); p0 = get(hp,'position');
+set(hp,'position',[p0(1) p1(2) - 1.2*(p1(2)-p2(2)-p2(4))/2 p0(3:4)]);
+
+pcolor(dpgrid,xgrid,diffu); hold on
+caxis([-10 -2]); % Echelle absolue
+shading flat
+xlabel('dp (%)')
+ylabel('x(mm)')
+ind_amplitude
+
+% addlabel(0,0,datestr(now))
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp_sauvegarde_251009.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp_sauvegarde_251009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_fmapdp_sauvegarde_251009.m	(revision 17)
@@ -0,0 +1,127 @@
+function plot_fmapdp(file)
+% PLOT_FMAPDP - Plot frequency map
+% plot_fmapdp('fmapdp.out')
+%
+%  INPUTS
+%  1. file - filename for plotting frequency maps (output file from Tracy
+%  II)
+%
+%  See also naffgui, plot_fmap, resongui
+
+%
+% Written Laurent S. Nadolski, SOLEIL, 03/04
+% Modifications for R14 compatibility, June'05
+
+%% grille par defaut
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesYgrid','on');
+
+if nargin <1
+  help (mfilename)
+  file ='fmapdp.out';
+end
+
+try
+    [dp x fx fz dfx dfz] = textread(file,'%f %f %f %f %f %f','headerlines',3);
+catch
+    error('Error while opening filename %s',file)
+end
+
+%% ajoute parties entieres
+fx=18+abs(fx);
+fz=10+abs(fz);
+%% energie en %
+dp = dp*1e2;
+%% position en mm
+x = x*1e3;
+            
+% select stable particles
+indx=(fx~=18.0);
+
+%% carte N&B
+figure; clf;
+subplot(2,1,1)
+plot(fx,fz,'.','MarkerSize',0.5)
+xlabel('\nu_x'); ylabel('\nu_z')
+%axis([18.15 18.27 10.265 10.32])
+
+subplot(2,1,2)
+plot(dp(indx),x(indx),'.','MarkerSize',0.5); hold on
+ind_amplitude
+xlabel('\delta (%)'); ylabel('x(mm)')
+addlabel(0,0,datestr(now));
+
+%% Carte avec diffusion
+figure; clf 
+dpgrid = [];
+xgrid = [];
+dfxgrid = [];
+dfzgrid = [];
+fxgrid = [];
+fzgrid = [];
+
+%% Calcul automatique de la taille des donnees
+nx = sum(dp==dp(1));
+ndp = size(dp,1)/nx;
+
+xgrid = reshape(x,nx,ndp);
+dpgrid = reshape(dp,nx,ndp);
+fxgrid = reshape(fx,nx,ndp);
+fzgrid = reshape(fz,nx,ndp);
+dfxgrid = reshape(dfx,nx,ndp);
+dfzgrid = reshape(dfz,nx,ndp);
+
+%% Diffusion
+temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+nonzero = (temp ~= 0);
+diffu = NaN*ones(size(temp));
+diffu(nonzero) = log10(temp(nonzero));
+clear nonzero temp;
+
+% diffu = log10(sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid));
+
+%% saturation
+% ind = isinf(diffu); 
+% diffu(ind) = NaN;
+diffumax = -2; diffumin = -10;
+diffu(diffu< diffumin) = diffumin; % very stable
+diffu(diffu> diffumax) = diffumax; %chaotic
+diffu(end)    = diffumin;
+diffu(end-1) = diffumax;
+
+%% fmap
+h1=subplot(2,1,1);
+
+% Get Matlab version
+v = ver('matlab');
+
+if strcmp(v.Release,'(R13SP1)')
+    mesh(fxgrid,fzgrid,diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none');
+else % For Release R14 and later
+    mesh(fxgrid,fzgrid,diffu,'Marker','.','LineStyle','none','MarkerSize',5.0,'FaceColor','none');
+end
+
+caxis([-10 -2]); % Echelle absolue
+%axis([18.15 18.27 10.26 10.32])
+% axis([18.195 18.27 s10.26 10.32])
+set(gca,'View',[0 90]);
+hold on
+shading flat
+hp=colorbar('horiz');
+xlabel('\nu_x')
+ylabel('\nu_z')
+
+%% DA
+h2=subplot(2,1,2);
+%% colorbar position
+p1 = get(h1,'position'); p2 = get(h2,'position'); p0 = get(hp,'position');
+set(hp,'position',[p0(1) p1(2) - 1.2*(p1(2)-p2(2)-p2(4))/2 p0(3:4)]);
+
+pcolor(dpgrid,xgrid,diffu); hold on
+caxis([-10 -2]); % Echelle absolue
+shading flat
+xlabel('dp (%)')
+ylabel('x(mm)')
+ind_amplitude
+
+% addlabel(0,0,datestr(now))
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plot_reson.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plot_reson.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plot_reson.m	(revision 17)
@@ -0,0 +1,82 @@
+function plot_reson(a,b,c,fen)
+% function plot_reson(a,b,c,fen)
+% plot resonance whose equation is: a*fx+ b*fz = c 
+% in a windows whose dimensions are in fen=[xmin xmax zmin zmax]
+% eg:
+% plot_reson(3,1,65,[18 19 10 11])
+%
+% Laurent S. Nadolski, Synchrotron SOLEIL, 02/04
+
+%% Check input argument
+if nargin < 3
+    help reson
+    return
+end
+
+%% build straight line equation
+x=[fen(1) fen(2)];
+
+if (b ~=0)
+    y = (c-a*x)/b;
+elseif (a ==0 & b ==0)
+    % ne fait rien
+    return
+else
+    x = c/a*ones(2,1);
+    y = [fen(3) fen(4)];
+end
+
+%% define resonance order
+order = abs(a)+abs(b);
+
+%% appearance options depending on order
+width = 0.5;
+style = '-';
+
+switch order
+    case 1
+        color = 'k';
+        width = 3;
+    case 2
+        color = 'c';
+    case 3
+        color = 'm';
+        style = '--';
+    case 4
+        color = 'r';
+    case 5
+        color = 'b';
+    case 6
+        color = 'y';
+    case 7
+        color = 'g';
+    case 8
+        color = 'c';
+        style = '-.';
+    case 9
+        color = 'm';
+        style = '-.';
+    case 10
+        color = 'y';
+        style = '-.';
+    case 11
+        color = 'r';
+        style = '-.';
+    case 12
+        color = 'g';
+        style = '-.';
+    case 13
+        color = 'k';
+        style = '-.';
+    case 14
+        color = 'b';
+        style = '-.';
+    case 15
+        color = 'c';
+        style = '--';
+    otherwise
+        color ='k';
+        style = '--'
+end
+
+line(x,y,'LineWidth', width, 'LineStyle', style, 'Color',color);
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plotchamberT.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plotchamberT.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plotchamberT.m	(revision 17)
@@ -0,0 +1,56 @@
+function plotchamberT(TracyVersion)
+% Plot vaccum chamber produced by Tracy code
+%
+% TracyVersion : tracy2 or tracy3 format
+
+if nargin == 0
+    TracyVersion='tracy2';
+end
+
+% lecture du fichier de structure
+files = fullfile(getmmlroot, 'machine/SOLEIL/common/naff/naffutils/structure');
+try
+    struc=dlmread(files);
+catch
+    error('Error while opening file %s',files)
+end
+
+%% Lecture du fichier de la chambre
+file0 = 'chambre.out';
+
+try
+    if strcmpi(TracyVersion, 'tracy2')
+    % Tracy 2
+    [num dummy s mxch pxch vch ] = textread(file0,'%d %s %f %f %f %f','headerlines',3);
+    else
+    % Tracy 3
+    [num dummy s mxch pxch vch vch] = textread(file0,'%d %s %f %f %f %f %f','headerlines',3);
+    end
+catch
+    error('Error while opening file %s',file0)
+end
+
+figure(42)
+clf
+subplot(2,1,1)
+plot(s,pxch,'k-');
+hold on
+plot(s,mxch,'k-');
+plot(struc(:,1),struc(:,2)/2*0.3*max(pxch),'k-');
+axis([0 44.2621 1.1*min(mxch) 1.1*max(pxch)]);
+grid on
+xlabel('s (m)')
+ylabel('x (mm)')
+title('Vacuum pipe dimensions')
+
+subplot(2,1,2)
+plot(s,vch,'k-');
+hold on
+plot(struc(:,1),struc(:,2)/2*0.3*max(vch),'k-')
+plot(s,-vch,'k-');
+axis([0 44.2621 -1.1*max(vch) 1.1*max(vch)]);
+grid on
+xlabel('s (m)')
+ylabel('z (mm)')
+
+addlabel(0,0,datestr(now));
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plotnudpT.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plotnudpT.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plotnudpT.m	(revision 17)
@@ -0,0 +1,67 @@
+function plotnudpT(file)
+% function plotnudpT(file)
+% plot tune shift with energy from tracy output file
+
+if nargin < 1
+    file ='nudp.out'
+end
+
+try
+    [header data] = hdrload(file);
+catch
+    error('Error while opening filename %s',file)
+end
+
+%% energy in percent
+dp = data(:,1)*100;
+
+%% fractional tunes
+nux = data(:,2);
+nuz = data(:,3);
+nux(nux==0)=NaN;
+nuz(nuz==0)=NaN;
+
+%% closed orbit
+xcod = data(:,4)*1e3;
+zcod = data(:,5)*1e3;
+
+%% Set default properties
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesYgrid','on');
+
+%% Plot
+figure(44)
+subplot(1,2,1)
+plot(dp,nux,'.')
+xlabel('\delta (%)')
+ylabel('\nu_x')
+
+subplot(1,2,2)
+plot(dp,nuz,'.')
+xlabel('\delta (%)')
+ylabel('\nu_z')
+suptitle('Tune shift with energy')
+
+addlabel(0,0,datestr(now))
+
+h=figure(45)
+pos=get(h,'Position');
+set(h,'Position', [pos(1:2)  900 380]);
+subplot(1,2,1)
+plot(dp,xcod,'.')
+xlabel('\delta (%)')
+ylabel('xcod (mm)')
+
+subplot(1,2,2)
+plot(dp,zcod,'.')
+xlabel('\delta (%)')
+ylabel('zcod (mm)')
+suptitle('Closed orbit variation with energy')
+
+addlabel(0,0,datestr(now))
+
+figure(441)
+plot(dp,1-nux,'-r');hold on
+plot(dp,1-nuz,'-b');hold on
+xlabel('\delta (%)')
+ylabel('\nu')
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plottwissT.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plottwissT.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plottwissT.m	(revision 17)
@@ -0,0 +1,61 @@
+function plottwissT(file,cell)
+%function plottwissT(file,cell)
+%
+% plot Twiss function from Tracy output file
+% cell = 1 show all the ring
+% cell = 4 show one out of 4 periods
+
+%
+% Written by Laurent S. Nadolski, 03/04, SOLEIL
+
+if nargin == 0
+  file = 'linlat.out';
+end
+
+if (nargin ==2 && ~isempty(cell))
+    cell = 4;
+else
+    cell = 1;
+end
+
+[dummy s ax bx mux etax etaxp az bz muz etaz etazp] = ...
+ textread(file,'%s %f %f %f %f %f %f %f %f %f %f %f','headerlines',4);
+[s2 idx] = unique(s);
+ax2 = ax(idx); az2 = az(idx);
+bx2 = bx(idx); bz2 = bz(idx);
+etax2 = etax(idx); etaz2 = etaz(idx);
+
+%%
+h = figure(21);
+cla
+% beta functions
+plot(s,bx,'r-',s,bz,'b-');
+hold on;
+% eta functions
+plot(s,10*etax,'g-',s,10*etaz,'k--')
+% draw lattice
+drawlattice(0,2,gca)
+legend('\beta_x','\beta_z','10\eta_x','10\eta_z')
+xaxis([0 s(end)/cell])
+title('Optical functions')
+xlabel('s (m)')
+datalabel on
+
+%% interpolation
+si    = (s2(1):0.2:s2(end))';
+bxi   = interp1(s2,bx2,si,'pchip');
+bzi   = interp1(s2,bz2,si,'pchip');
+etaxi = interp1(s2,etax2,si,'pchip');
+etazi = interp1(s2,etaz2,si,'pchip');
+
+figure(22)
+cla
+hold on;
+plot(si,bxi,'r-',si,bzi,'b-');
+plot(si,10*etaxi,'g-',si,10*etazi,'k--')
+drawlattice(0,2,gca)
+legend('\beta_x','\beta_z','10\eta_x','10\eta_z')
+xaxis([0 s(end)/cell])
+title('Optical functions with interpolation')
+xlabel('s (m)')
+
Index: /trunk/machine/SOLEIL/common/naff/naffutils/plusprochereson.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/plusprochereson.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/plusprochereson.m	(revision 17)
@@ -0,0 +1,13 @@
+function str = plusprochereson(pt,tab)
+% function str = plusprochereson(pt,tab)
+% Cherche la droite definie dans tab la plus proche du point pt
+
+d= []; 
+for k=1:size(tab,1)
+    d(k) = dist_point_droite(tab(k,1),tab(k,2),tab(k,3), pt);
+end
+[a ai]=min(d);
+k=ai;
+
+str = sprintf('%d fx + %d fz = %d', tab(k,1), tab(k,2), tab(k,3));
+fprintf('Resonance: %d fx + %d fz = %d\n', tab(k,1), tab(k,2), tab(k,3));
Index: /trunk/machine/SOLEIL/common/naff/naffutils/reson.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/reson.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/reson.m	(revision 17)
@@ -0,0 +1,67 @@
+function [k, tab]=reson(ordre,period,fen)
+% function reson(ordre, period, fen)
+% Recherche des droites de resonance a x + b y = c
+% passant dans la fenetre [x1 x2 y1 y2]
+% Ordre de la resonance |a| + |b|
+% Critere de recherche c = period * entie
+% eg:
+% [k, tab] = reson(4,1,[18 19 10 11]
+%
+% Laurent S. Nadolski, Synchrotron SOLEIL, 02/04
+
+%% check argument number
+if nargin < 2
+    help reson
+    return
+end
+
+%% window dimensions
+x1=fen(1); x2=fen(2); y1=fen(3); y2=fen(4);
+
+tab = [];
+k=0;
+%% diagonal of the window used to check wether resonsonce is within the
+%% window frame
+d0 = sqrt(power(fen(2)-fen(1),2) + power(fen(4)-fen(3),2))/2;
+
+%% Look for resonance
+for m1 = -ordre:ordre
+    am1 = abs(m1);
+    for m2 = -ordre+am1:ordre-am1
+        %%% Recherche des bornes de C
+        if (m2 == 0)
+            c(1)=m1*x1;
+            c(2)=m1*x2;            
+        elseif (m1/m2<=0)
+            c(1)= m1*x1+m2*y2;
+            c(2)= m1*x2+m2*y1;
+        else
+            c(1)= m1*x1+m2*y1;
+            c(2)= m1*x2+m2*y2;
+        end
+        cmin = floor(min(c));
+        cmax= floor(max(c));
+        
+        for m3=cmin:cmax        
+            if (mod(m3,period) == 0) 
+                if (abs(m1) + abs(m2) == ordre)
+                    % check whether resonance within the window
+                    d = distance(m1,m2,m3,fen);   
+                    if (d < d0)
+                        k=k+1;
+                        tab(k,:)=[m1 m2 m3];
+                        plot_reson(m1,m2,m3,fen)
+                    end
+                    
+                end
+            end
+        end
+    end
+end        
+
+function d = distance(m1,m2,m3,fen)
+% calcul la distance entre la droite et la centre de la fenetre
+% centre de la fenetre
+pt= [fen(1) + (fen(2)-fen(1))/2, fen(3) + (fen(4)-fen(3))/2];
+
+d = dist_point_droite(m1,m2,m3,pt);
Index: /trunk/machine/SOLEIL/common/naff/naffutils/resongui.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/resongui.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/resongui.m	(revision 17)
@@ -0,0 +1,713 @@
+function varargout = resongui(varargin)
+% RESONGUI M-file for resongui.fig
+%      RESONGUI, by itself, creates a new RESONGUI or raises the existing
+%      singleton*.
+%
+%      H = RESONGUI returns the handle to a new RESONGUI or the handle to
+%      the existing singleton*.
+%
+%      RESONGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in RESONGUI.M with the given input arguments.
+%
+%      RESONGUI('Property','Value',...) creates a new RESONGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before resongui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to resongui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help resongui
+
+% Last Modified by GUIDE v2.5 16-Apr-2011 23:34:51
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+    'gui_Singleton',  gui_Singleton, ...
+    'gui_OpeningFcn', @resongui_OpeningFcn, ...
+    'gui_OutputFcn',  @resongui_OutputFcn, ...
+    'gui_LayoutFcn',  [] , ...
+    'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before resongui is made visible.
+function resongui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to resongui (see VARARGIN)
+
+% Choose default command line output for resongui
+handles.output = hObject;
+
+%Met la barre d'outil (zoom)
+set(hObject,'ToolBar','figure');
+
+% Update handles structure
+guidata(hObject, handles);
+
+%% Lit les donnees
+handles.pathname = pwd; %chemin de lancement
+handles.dataname = 'fmap.out'; % carte par defaut
+handles.color='off'; % carte en couleur avec diffusion
+handles.maptype = 'fmap'; %% fmap or fmapdp
+handles.data_inducedamplitude = fullfile(pwd,'induced_amplitude.out');
+
+loaddata(hObject,handles); %% charge les donnees
+% OBLIGATOIRE car la fonction loaddata a modifie handles et 
+% travailler sur une copie de handles
+handles = guidata(hObject); 
+handles.str='';
+
+%% Couleur de depart pour identifiactaion point a point
+handles.couleurs=[1 0 0];
+%% zoom 
+handles.type='shift';
+set(handles.edit_shift,'String','0.05');
+handles.shiftaxis = str2double(get(handles.edit_shift,'String'));
+handles.zoomaxis= str2double(get(handles.edit_zoom,'String'));
+
+%%% Variable pour echange avec autres gui
+setappdata(handles.figure1, 'Tab',[]);
+guidata(hObject, handles);
+
+set(handles.edit_color,'BackgroundColor',handles.couleurs);
+%%% Affiche le point de fonctionnement
+print_value(handles,handles.x1(1),handles.x2(1),handles.f1(1),handles.f2(1));
+%%%% dessine les donnees
+plotdata(handles);
+
+%%% axes par defaut
+%set(handles.fmap,'Xlim',[18.1 18.3],'Ylim',[10.20 10.4]);
+
+% UIWAIT makes resongui wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = resongui_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+function loaddata(hObject,handles)
+
+fname = fullfile(handles.pathname, handles.dataname)
+try
+    [header data]=hdrload(fname);
+    return %break;
+catch
+    %     error('Error while opening filename %s ',fname)
+    uiwait(errordlg('No input data found'));
+    handles = getdata(handles);
+end
+
+z = data(:,2)*1e3;
+switch handles.maptype
+    case 'fmap'
+        x = data(:,1)*1e3; %% z in mm
+    case 'fmapdp'
+        x = data(:,1)*1e2; %% energy in %
+end
+
+fx=18+abs(data(:,3));
+fz=10+abs(data(:,4));
+
+if size(data,2) == 6;
+    %%% Data for color printing
+    nz = sum(x==x(1));
+    nx = size(x,1)/nz;
+    dfx=data(:,5);
+    dfz=data(:,6);
+    
+    xgrid = reshape(x,nz,nx);
+    zgrid = reshape(z,nz,nx);
+    fxgrid = reshape(fx,nz,nx);
+    fzgrid = reshape(fz,nz,nx);
+    dfxgrid = reshape(dfx,nz,nx);
+    dfzgrid = reshape(dfz,nz,nx);
+    diffusion = 1;
+    diffu = log10(sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid));
+    %% saturation
+    ind = isinf(diffu); 
+    diffu(ind) = NaN;
+    diffumax = -2; diffumin = -10;
+    diffu(diffu< diffumin) = diffumin; % very stable
+    diffu(diffu> diffumax) = diffumax; %chaotic
+    %%  pour affichage couleur
+    handles.diffu = diffu;
+    handles.fxgrid=fxgrid;
+    handles.fzgrid=fzgrid;
+    handles.xgrid=xgrid;
+    handles.zgrid=zgrid;
+end
+%% pour affichage noir et blanc
+indx=(fx~=18.0);
+handles.f1=fx(indx);
+handles.f2=fz(indx);
+handles.x1=x(indx);
+handles.x2=z(indx);    
+
+guidata(hObject,handles);
+% select stable particles
+
+
+% --- Executes on button press in pushbutton_replot.
+function pushbutton_replot_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_replot (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+%Efface figure et redessine les donnees brutes
+children=get(handles.fmap,'Children');
+%children=findobj(handles.axes,'Children','Type','Line'))
+%child=findobj(handles.axes,'Children','Tag','fmap'))
+%children(children==child)=[];
+%delete(children mais pas child)
+cla(handles.fmap);
+cla(handles.da);
+plotdata(handles);
+getappdata(handles.figure1,'Tab');
+
+function plotdata(handles)
+
+switch handles.color
+    case 'off'
+        axes(handles.fmap); %  hold on;
+        get(handles.fmap,'Children')
+        %         if ~isempty(get(handles.fmap,'Children'))
+        %             delete(findobj(get(handles.fmap,'Children'),'Tag','fspace'));
+        %         end
+        plot(handles.f1,handles.f2,'kd','MarkerSize',0.5,'MarkerFaceColor','k','Tag','fspace');
+        grid on; hold on;
+        %         xlabel('fx');  ylabel('fz');
+        %axis([18.15 18.27 10.265 10.32]) 
+        axis([min(handles.f1) max(handles.f1) min(handles.f2) max(handles.f2)]) % modification 8 mars 2010 à cause pb échelle (mat)
+        axes(handles.da); hold off;        
+        %%% Choix des axes
+        switch handles.maptype
+            case 'fmap'
+                strx = 'x(mm)';
+                stry = 'z(mm)';
+            case 'fmapdp'
+                strx = 'dp (%)';
+                stry = 'x (mm)';
+        end
+        plot(handles.x1,handles.x2,'kd','MarkerSize',2.0,'MarkerFaceColor','k','Tag','cspace');
+        xlabel(strx); ylabel(stry);
+        grid on;  hold on;
+    case 'on'
+        axes(handles.fmap);  %hold on
+        get(handles.fmap,'Children')
+        switch handles.color
+            case 'off'
+                mesh(handles.fxgrid,handles.fzgrid, handles.diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none','Tag','fspace');
+            case 'on'
+                mesh(handles.fxgrid,handles.fzgrid, handles.diffu,'Marker','.','MarkerSize',5.0,'FaceColor','none','LineStyle','none','Tag','fspace');
+        end
+        %         if ~isempty(get(handles.fmap,'Children'))
+        %             delete(findobj(get(handles.fmap,'Children'),'Tag','fspace'));
+        %         end
+        %image(cat(3,handles.diffu,handles.diffu,handles.diffu)/-10,'Tag','fspace');
+        view(2); grid on; hold on
+        xlabel('fx'); ylabel('fz')
+        axes(handles.da);
+        switch handles.color
+            case 'off'
+                mesh(handles.xgrid,handles.zgrid,handles.diffu,'LineStyle','.','MarkerSize',5.0,'FaceColor','none','Tag','cspace');
+            case 'on'
+                mesh(handles.xgrid,handles.zgrid,handles.diffu,'Marker','.','MarkerSize',5.0,'FaceColor','none','LineStyle','none','Tag','fspace');
+        end
+        %image(reshape(handles.xgrid,1,prod(size(handles.xgrid))), ...
+%             reshape(handles.zgrid,1 ,prod(size(handles.zgrid))), ...
+%             cat(3,handles.diffu,handles.diffu,handles.diffu)/-10);
+        view(2); grid on; hold on        
+end
+
+
+%datalabel on
+
+% hc=uicontextmenu;
+% hm=uimenu('parent',hc);
+% set(h,'UIContextMenu',hc);
+% hha=findobj(get(handles.da,'Children'),'Type','axes');
+% set(get(handles.da,'Parent'),'WindowButtonDownFcn', ...
+%     'pt=get(gca,''CurrentPoint'' ); disp(pt); disp(hm); set(hm,''Label'',[num2str(pt(1,1)) '', '' num2str(pt(1,2))])' )
+
+
+%%% Affiche le point de fonctionnement
+print_value(handles,handles.x1(1),handles.x2(1),handles.f1(1),handles.f2(1));
+
+% --- Executes on button press in bouton_resonid.
+function bouton_resonid_Callback(hObject, eventdata, handles)
+% hObject    handle to bouton_resonid (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Loop, picking up the points.
+disp('Left mouse button picks points.')
+disp('Right mouse button picks last point.')
+hold on
+button = 1;
+n=0;
+while button == 1
+    [xi,yi,button] = ginput(1);
+    %    plot(xi,yi,'o','Color',handles.couleurs,2.0,'MarkerFaceColor',handles.couleurs)
+    n = n+1;
+    identifier(xi,yi,handles)    
+end
+
+function identifier(xi,yi,handles)
+
+%%% cherche le point le plus proche au sens de la norme 2
+[dp1, i1]=min((handles.f1-xi).^2+(handles.f2-yi).^2);
+[dp2, i2]=min((handles.x1-xi).^2+(handles.x2-yi).^2);
+
+%selectionne la bonne figure sur laquelle on a clique
+if (dp1 < dp2)
+    i3 = i1;
+else
+    i3 =i2;
+end
+
+%%% affiche le point selectionne
+axes(handles.da);
+plot(handles.x1(i3),handles.x2(i3),'o','Color',handles.couleurs);
+axes(handles.fmap);
+plot(handles.f1(i3),handles.f2(i3),'o','Color',handles.couleurs);
+
+print_value(handles,handles.x1(i3),handles.x2(i3),handles.f1(i3),handles.f2(i3));
+
+function print_value(handles,x1,x2,f1,f2)
+%%% Met a jour les valeurs selectionnees
+formatda='% 6.4f';
+formatfmap='% 8.5f';
+
+switch handles.maptype
+    case 'fmap'
+        strx ='x  =';
+        stry ='z  =';
+    case 'fmapdp'
+        strx ='dp =';
+        stry ='x  =';
+end
+string=sprintf([strx,formatda],x1);
+set(handles.text_x,'String',string);
+string=sprintf([stry,formatda],x2);
+set(handles.text_z,'String',string);
+string=sprintf(['fx = ',formatfmap],f1);
+set(handles.text_fx,'String',string);
+string=sprintf(['fz = ',formatfmap],f2);
+set(handles.text_fz,'String',string);
+
+% --- Executes during object creation, after setting all properties.
+function edit_color_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_color (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function edit_color_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_color (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_color as text
+%        str2double(get(hObject,'String')) returns contents of edit_color as a double
+h = uisetcolor;
+if (size(h,2) ~=1) 
+    handles.couleurs = h;
+    guidata(hObject, handles);
+    set(handles.edit_color,'BackgroundColor',handles.couleurs);
+end
+
+
+% --- Executes on button press in increaseV.
+function increaseV_Callback(hObject, eventdata, handles)
+% hObject    handle to increaseV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+prop ='Ylim';
+zoomshift(handles,prop,1);
+
+
+% --- Executes on button press in increaseH.
+function increaseH_Callback(hObject, eventdata, handles)
+% hObject    handle to increaseH (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+prop ='Xlim';
+zoomshift(handles,prop,1);
+
+% --- Executes on button press in decreaseV.
+function decreaseV_Callback(hObject, eventdata, handles)
+% hObject    handle to decreaseV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+prop ='Ylim';
+zoomshift(handles,prop,-1);
+
+
+% --- Executes on button press in decreaseH.
+function decreaseH_Callback(hObject, eventdata, handles)
+% hObject    handle to decreaseH (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+prop ='Xlim';
+zoomshift(handles,prop,-1);
+
+function zoomshift(handles,prop,fac)
+%% Fonction qui gere zoom et deplacement d'axe
+
+scale = get(handles.fmap,prop);
+
+switch handles.type
+    case 'shift'
+        set(handles.fmap,prop,scale+fac*handles.shiftaxis);        
+    case 'zoom'
+        w = scale(2)-scale(1);
+        mid=scale(1) + w/2;
+        if fac ==-1
+            newscale = mid + [-1 1]*0.5*w*handles.zoomaxis;
+        else
+            newscale = mid + [-1 1]*0.5*w/handles.zoomaxis;
+        end
+        set(handles.fmap,prop,newscale);
+end
+axes(handles.fmap);
+setappdata(handles.figure1, 'fen',axis);
+
+% --- Executes during object creation, after setting all properties.
+function edit_zoom_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_zoom (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function edit_zoom_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_zoom (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_zoom as text
+%        str2double(get(hObject,'String')) returns contents of edit_zoom as a double
+handles.zoomaxis= str2double(get(hObject,'String'));
+guidata(hObject, handles);
+
+
+% --- Executes on button press in radiobutton_zoom.
+function radiobutton_zoom_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton_zoom (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton_zoom
+mutual_exclude(handles.radiobutton_shift);
+handles.type='zoom';
+guidata(hObject, handles);
+
+% --- Executes on button press in radiobutton_shift.
+function radiobutton_shift_Callback(hObject, eventdata, handles)
+% hObject    handle to radiobutton_shift (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of radiobutton_shift
+mutual_exclude(handles.radiobutton_zoom);
+handles.type='shift';
+guidata(hObject, handles);
+
+%%% fonction pour faire des radioboutons
+function mutual_exclude(off)
+set(off,'Value',0);
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_shift_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_shift (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function edit_shift_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_shift (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_shift as text
+%        str2double(get(hObject,'String')) returns contents of edit_shift as a double
+handles.shiftaxis= str2double(get(hObject,'String'));
+guidata(hObject, handles);
+
+
+% --- Executes on button press in resetfmap.
+function resetfmap_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_replot (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+set(handles.fmap,'XLimMode','auto','YLimMode','auto');
+pause(0.1);
+set(handles.fmap,'XLimMode','manual','YLimMode','manual');
+
+
+% --------------------------------------------------------------------
+function souris_Callback(hObject, eventdata, handles)
+% hObject    handle to souris (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+pt=get(gca,'CurrentPoint');
+tab = getappdata(handles.figure1,'Tab');
+handles.str = plusprochereson([pt(1,1), pt(1,2)],tab);
+set(handles.resonance,'Label', handles.str);
+guidata(hObject,handles); %% mise a jour donnees
+
+% --------------------------------------------------------------------
+function Untitled_3_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in pushbutton_reson.
+function pushbutton_reson_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_reson (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+setappdata(handles.figure1, 'where2plot',handles.fmap);
+axes(handles.fmap);
+setappdata(handles.figure1, 'fen',axis);
+% if ~isfield(handles,'showreson')
+handles.showreson=showresongui(handles);
+guidata(hObject,handles);
+% end 
+% showresongui('where2plot',handles.fmap,'fen',axis);
+
+
+% --------------------------------------------------------------------
+function resonance_Callback(hObject, eventdata, handles)
+% hObject    handle to resonance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+disp(handles.str)
+
+
+% --------------------------------------------------------------------
+function Untitled_1_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function LoadDataFile_Callback(hObject, eventdata, handles)
+% hObject    handle to LoadDataFile (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles = getdata(handles);
+guidata(hObject,handles);
+loaddata(hObject, handles);
+handles=guidata(hObject); % mis a jour des modification dans loaddata
+
+
+% --------------------------------------------------------------------
+function handles = getdata(handles);
+% fonction pour ouvrir un fichier de donnees
+% utilise l'interface graphique
+% ne rend la main que si un fichier a ete correctement choisi!
+
+[filename, pathname] = uigetfile('*.out', 'Pick an data file');
+
+if isequal(filename,0) | isequal(pathname,0)
+    disp('User pressed cancel')
+else
+    disp(['User selected ', fullfile(pathname, filename)])
+    handles.dataname = filename;
+    handles.pathname = pathname;
+end
+
+% --------------------------------------------------------------------
+function LoadDataInduced_Callback(hObject, eventdata, handles)
+% hObject    handle to LoadDataInduced (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in toggle_IA.
+function toggle_IA_Callback(hObject, eventdata, handles)
+% hObject    handle to toggle_IA (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of toggle_IA
+val = get(hObject,'Value')
+switch val
+    case 1
+        fname = handles.data_inducedamplitude;
+        if exist(fname)
+            axes(handles.da);
+            [header A] = hdrload(fname);
+            plot(A(:,1),A(:,2),'k-.','Tag','IA');
+        else
+            warning('Filname %s not found\n',fname);
+            set(handles.toggle_IA,'Value',0);
+        end
+    otherwise
+        delete(findobj(get(handles.da,'Children'),'Tag','IA'))        
+end
+
+% --- Executes on button press in toogle_color.
+function toogle_color_Callback(hObject, eventdata, handles)
+% hObject    handle to toogle_color (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of toogle_color
+val = get(hObject,'Value');
+switch val
+    case 0
+        handles.color = 'off';
+    case 1
+        if isfield(handles,'diffu')
+            handles.color = 'on';
+        else
+            set(hObject,'Value',0);
+        end        
+end
+guidata(hObject,handles);
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_typemap_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_typemap (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_typemap.
+function popupmenu_typemap_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_typemap (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_typemap contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_typemap
+
+contents = get(hObject,'String');
+val = contents{get(hObject,'Value')};
+switch val
+    case 'fmap'
+        handles.maptype = 'fmap';
+        xlabel('x (mm)'); ylabel('z (mm)');
+    case 'fmapdp'
+        handles.maptype = 'fmapdp';
+        xlabel('dp (%)'); ylabel('x (mm)');
+end
+guidata(hObject,handles);
+
+
+% --------------------------------------------------------------------
+function menu_popup_Callback(hObject, eventdata, handles)
+% hObject    handle to menu_popup (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function menu_popup1_Callback(hObject, eventdata, handles)
+% hObject    handle to menu_popup1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+a = figure;
+b = copyobj(handles.fmap, a); 
+% set(b, 'Position', [0.1300    0.5811    0.7750    0.3439]);
+set(b, 'Position', get(0,'FactoryAxesPosition'));
+% set(b, 'ButtonDownFcn','');
+
+% --------------------------------------------------------------------
+function menu_popup2_Callback(hObject, eventdata, handles)
+% hObject    handle to menu_popup2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+a = figure;
+b = copyobj(handles.da, a); 
+% set(b, 'Position', [0.1300    0.5811    0.7750    0.3439]);
+set(b, 'Position', get(0,'FactoryAxesPosition'));
+set(b, 'ButtonDownFcn','');
+
+% --------------------------------------------------------------------
+function menu_popup12_Callback(hObject, eventdata, handles)
+% hObject    handle to menu_popup12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+a = figure;
+b = copyobj(handles.fmap, a); 
+set(b, 'Position', [0.1300    0.5811    0.7750    0.3439]);
+set(b, 'ButtonDownFcn','');
+% if strcmpi(get(handles.('AddPlot1_Lattice'),'Checked'),'On')
+%     b = copyobj(handles.('Graph3'), a); 
+%     set(b, 'Position', [0.1300    0.5811    0.7750    0.3439]);
+% end
+
+b = copyobj(handles.da, a); 
+set(b, 'Position', [0.1300    0.1100    0.7750    0.3439]);
+set(b, 'ButtonDownFcn','');
+% if strcmpi(get(handles.('AddPlot2_Lattice'),'Checked'),'On')
+%     b = copyobj(handles.('Graph4'), a); 
+%     set(b, 'Position', [0.1300    0.1100    0.7750    0.3439]);
+% end
+xlabel('Position [meters]');
+
+Data = getappdata(gcbf, 'RawY');
+if isfield(Data, 'TimeStamp')
+    addlabel(1,0,datestr(Data.TimeStamp,21));
+end
+orient tall
Index: /trunk/machine/SOLEIL/common/naff/naffutils/showresongui.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/showresongui.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/showresongui.m	(revision 17)
@@ -0,0 +1,515 @@
+function varargout = showresongui(varargin)
+% SHOWRESONGUI M-file for showresongui.fig
+% Gui for plotting resonances in a given window 
+% Can be a standalone application or called from another gui
+% 
+%  If varargin is not void then it has to be a structure with a fieldname 
+%  'figure1' containing a handles to a figure with three private variables
+%  where2plot, handle to the axe
+%  fen, window dimension [xmin xmax zmin zmax] 
+%  Tab, tab where to store resonances
+%  eg: getappdata(handles_figure) should return at least
+%
+%        fen: [18 20 10 12]
+%        where2plot: 217.0009
+%        Tab: []
+%
+% Laurent S. Nadolski, Synchrotron SOLEIL, 02/04
+
+%
+%      SHOWRESONGUI, by itself, creates a new SHOWRESONGUI or raises the existing
+%      singleton*.
+%
+%      H = SHOWRESONGUI returns the handle to a new SHOWRESONGUI or the handle to
+%      the existing singleton*.
+%
+%      SHOWRESONGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in SHOWRESONGUI.M with the given input arguments.
+%
+%      SHOWRESONGUI('Property','Value',...) creates a new SHOWRESONGUI or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before showresongui_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to showresongui_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help showresongui
+
+% Last Modified by GUIDE v2.5 06-Mar-2004 19:43:28
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @showresongui_OpeningFcn, ...
+                   'gui_OutputFcn',  @showresongui_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin & isstr(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before showresongui is made visible.
+function showresongui_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to showresongui (see VARARGIN)
+
+% Choose default command line output for showresongui
+
+if iscell(varargin) && ~isempty(varargin)    
+    %%%% Laurent
+    % store handle from caller
+    handles.caller = varargin{1}.figure1;
+    
+    % Update handles structure
+    guidata(hObject, handles);
+
+    %%%%% Laurent    
+    % Get A and B values from Application-Defined data
+    handles.where2plot = getappdata(handles.caller, 'where2plot');
+    handles.fen = getappdata(handles.caller, 'fen');
+else
+    figure
+    handles.where2plot =axes;
+    handles.fen = [18 19 10 11];
+    handles.caller = hObject;
+    set(hObject,'Tag','main');
+    setappdata(hObject,'Tab',[]);
+    %% souris contextualmenu to identify resonances
+%     cmenu = uicontextmenu;
+%     set(handles.where2plot, 'UIContextMenu', cmenu);
+%     uimenu(cmenu, 'Callback','souris_Callback(handles)');
+%    handles.toto=uimenu(cmenu, 'Callback', ' showresongui(''souris_Callback'',gcbo,[],guidata(gcbo))');    
+end
+
+set(handles.caller,'DoubleBuffer','on');
+
+handles.output = hObject;
+handles.a = 3;
+handles.b = 1;
+handles.c = 65;
+handles.periodicity = 4;
+handles.order = 4;
+handles.tab = [];
+axes(handles.where2plot);
+
+set(handles.periodicityvalue,'String',num2str(handles.periodicity));
+set(handles.ordervalue,'String',num2str(handles.order));
+set(handles.avalue,'String',num2str(handles.a));
+set(handles.bvalue,'String',num2str(handles.b));
+set(handles.cvalue,'String',num2str(handles.c));
+set(handles.eq1,'String',[num2str(handles.a) ' nux + ' num2str(handles.b) ...
+        ' nuz = ' num2str(handles.c)]); 
+
+% reson(handles.order,handles.periodicity,handles.fen);
+hold on
+% reson(3,handles.periodicity,handles.fen);
+% reson(5,handles.periodicity,handles.fen);
+% reson(7,handles.periodicity,handles.fen);
+axis(handles.fen);
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes showresongui wait for user response (see UIRESUME)
+% uiwait(handles.main);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = showresongui_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes during object creation, after setting all properties.
+function cvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to cvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function cvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to cvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of cvalue as text
+%        str2double(get(hObject,'String')) returns contents of cvalue as a double
+
+val = str2double(get(hObject,'String'));
+handles.c = val;
+guidata(hObject, handles);
+set(handles.eq1,'String',[num2str(handles.a) ' nux + ' num2str(handles.b) ...
+        ' nuz = ' num2str(handles.c)]); 
+axes(handles.where2plot);
+plot_reson(handles.a,handles.b,handles.c,handles.fen)
+
+% --- Executes during object creation, after setting all properties.
+function avalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to avalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function avalue_Callback(hObject, eventdata, handles)
+% hObject    handle to avalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of avalue as text
+%        str2double(get(hObject,'String')) returns contents of avalue as a double
+val = str2double(get(hObject,'String'));
+handles.a = val;
+guidata(hObject, handles);
+set(handles.eq1,'String',[num2str(handles.a) ' nux + ' num2str(handles.b) ...
+        ' nuz = ' num2str(handles.c)]); 
+axes(handles.where2plot);
+plot_reson(handles.a,handles.b,handles.c,handles.fen)
+
+
+% --- Executes during object creation, after setting all properties.
+function bvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to bvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+
+function bvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to bvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of bvalue as text
+%        str2double(get(hObject,'String')) returns contents of bvalue as a double
+val = str2double(get(hObject,'String'));
+handles.b = val;
+guidata(hObject, handles);
+set(handles.eq1,'String',[num2str(handles.a) ' nux + ' num2str(handles.b) ...
+        ' nuz = ' num2str(handles.c)]); 
+axes(handles.where2plot);
+plot_reson(handles.a,handles.b,handles.c,handles.fen)
+
+
+% --- Executes during object creation, after setting all properties.
+function periodicityvalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to periodicityvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function periodicityvalue_Callback(hObject, eventdata, handles)
+% hObject    handle to periodicityvalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of periodicityvalue as text
+%        str2double(get(hObject,'String')) returns contents of periodicityvalue as a double
+val = str2double(get(hObject,'String'));
+if isnan(val)
+    uiwait(errordlg('Incorrect value'));        
+else
+    handles.periodicity = val;
+    % guidata(hObject, handles);
+    % axes(handles.where2plot);
+    % reson(handles.order,handles.periodicity,handles.fen);
+    plotandsettab(hObject,handles)
+end
+
+% --- Executes during object creation, after setting all properties.
+function ordervalue_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ordervalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function ordervalue_Callback(hObject, eventdata, handles)
+% hObject    handle to ordervalue (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ordervalue as text
+%        str2double(get(hObject,'String')) returns contents of ordervalue as a double
+
+% set resonance order
+val = str2double(get(hObject,'String'));
+if isnan(val)
+    uiwait(errordlg('Incorrect value'));        
+else
+    plotandsettab(hObject,handles)
+end
+
+% --- Executes on button press in pushbutton7.
+function pushbutton7_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+%plotandsettab(hObject,handles)
+
+function plotandsettab(hObject,handles)
+
+if hObject ~= handles.periodicityvalue    
+    handles.order=str2double(get(hObject,'String'));
+    set(handles.ordervalue,'String',num2str(handles.order));
+end
+
+axes(handles.where2plot);
+[k tab] =reson(handles.order,handles.periodicity,handles.fen);
+
+if (k ~=0)
+    % Force le premier coef a etre positif
+    tab(tab(:,1) <0,:)=-tab(tab(:,1) <0,:);
+    % Si a = 0, force le coef de nuz a etre positif
+    r= tab(:,2) <0 & tab(:,1) ==0; 
+    tab(r,:)=-tab(r,:);
+    %% remove redundancy
+    handles.tab = unique(handles.tab,'rows');
+    
+    %% cherche le pgcd et prend le pgcd des pgcd
+    %% dans ce cas on perd la periodicite N, mais c'est plus clair
+    pgcd =gcd(gcd(tab(:,1),tab(:,2)),gcd(tab(:,2),tab(:,3)));
+    tab= tab./repmat(pgcd,1,3);
+    
+    % Complete le tableau des resonances
+    handles.tab = [handles.tab; tab];
+    %% remove redundancy
+    handles.tab = unique(handles.tab,'rows');
+end
+axes(handles.where2plot);
+
+handles.tab
+% size(handles.tab)
+guidata(hObject, handles);
+setappdata(handles.caller,'Tab',handles.tab);
+% setappdata(handles.toto,'Tab',handles.tab);
+
+% --- Executes on button press in pushbutton_clear.
+function pushbutton_clear_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_clear (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+axes(handles.where2plot);
+%% Deselectionne toutes les checkbox
+set(findobj(get(handles.main,'Children'),'Style','CheckBox'),'Value',0);
+cla
+handles.tab = [];
+guidata(hObject, handles);
+
+
+% --- Executes on button press in checkbox1.
+function checkbox1_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox1
+plotandsettab(hObject,handles)
+
+
+% --- Executes on button press in checkbox2.
+function checkbox2_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox2
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox3.
+function checkbox3_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox3
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox4.
+function checkbox4_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox4
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox5.
+function checkbox5_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox5
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox6.
+function checkbox6_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox6
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox7.
+function checkbox7_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox7
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox8.
+function checkbox8_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox8 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox8
+plotandsettab(hObject,handles)
+
+
+% --- Executes on button press in checkbox9.
+function checkbox9_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox9 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox9
+plotandsettab(hObject,handles)
+
+
+% --- Executes on button press in checkbox10.
+function checkbox10_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox10
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox11.
+function checkbox11_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox11
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox12.
+function checkbox12_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox12
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox13.
+function checkbox13_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox13
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox14.
+function checkbox14_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox14
+plotandsettab(hObject,handles)
+
+% --- Executes on button press in checkbox15.
+function checkbox15_Callback(hObject, eventdata, handles)
+% hObject    handle to checkbox15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of checkbox15
+plotandsettab(hObject,handles)
+
+
+% --- Executes on button press in pushbutton_axis.
+function pushbutton_axis_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_axis (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+axes(handles.where2plot);
+uiwait(axlimdlg('Axis limits'));
+handles.fen = [get(handles.where2plot,'Xlim') get(handles.where2plot,'Ylim')];
+guidata(hObject,handles);
+
+% --------------------------------------------------------------------
+function souris_Callback(hObject, eventdata, handles)
+% hObject    handle to souris (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+pt=get(gca,'CurrentPoint');
+tab = getappdata(gcbo,'Tab');
+pt=[pt(1,1), pt(1,2)];
+str=plusprochereson(pt,tab);
+%set(gcbo,'Label', str);
+text(pt(1),pt(2),str,'BackgroundColor','y');
+
Index: /trunk/machine/SOLEIL/common/naff/naffutils/structure
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/structure	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/structure	(revision 17)
@@ -0,0 +1,352 @@
+   0.60000E+01   0.00000E+00
+   0.60000E+01   0.14683E+01
+   0.61600E+01   0.73413E+00
+   0.63200E+01   0.14683E+01
+   0.63200E+01   0.00000E+00
+   0.67100E+01   0.00000E+00
+   0.67100E+01   0.29365E+01
+   0.67100E+01   0.29365E+01
+   0.67100E+01   0.00000E+00
+   0.69100E+01   0.00000E+00
+   0.69100E+01   0.14683E+01
+   0.71400E+01   0.22024E+01
+   0.73700E+01   0.14683E+01
+   0.73700E+01   0.00000E+00
+   0.79600E+01   0.00000E+00
+   0.79600E+01   0.14683E+01
+   0.81200E+01   0.73413E+00
+   0.82800E+01   0.14683E+01
+   0.82800E+01   0.00000E+00
+   0.84800E+01   0.00000E+00
+   0.84800E+01   0.29365E+01
+   0.84800E+01   0.29365E+01
+   0.84800E+01   0.00000E+00
+   0.92700E+01   0.00000E+00
+   0.92700E+01   0.14683E+01
+   0.10322E+02   0.14683E+01
+   0.10322E+02   0.00000E+00
+   0.10762E+02   0.00000E+00
+   0.10762E+02   0.14683E+01
+   0.10922E+02   0.73413E+00
+   0.11082E+02   0.14683E+01
+   0.11082E+02   0.00000E+00
+   0.11282E+02   0.00000E+00
+   0.11282E+02   0.29365E+01
+   0.11282E+02   0.29365E+01
+   0.11282E+02   0.00000E+00
+   0.11759E+02   0.00000E+00
+   0.11759E+02   0.14683E+01
+   0.11919E+02   0.22024E+01
+   0.12079E+02   0.14683E+01
+   0.12079E+02   0.00000E+00
+   0.12549E+02   0.00000E+00
+   0.12549E+02   0.29365E+01
+   0.12549E+02   0.29365E+01
+   0.12549E+02   0.00000E+00
+   0.13019E+02   0.00000E+00
+   0.13019E+02   0.14683E+01
+   0.13179E+02   0.22024E+01
+   0.13339E+02   0.14683E+01
+   0.13339E+02   0.00000E+00
+   0.13815E+02   0.00000E+00
+   0.13815E+02   0.29365E+01
+   0.13815E+02   0.29365E+01
+   0.13815E+02   0.00000E+00
+   0.14015E+02   0.00000E+00
+   0.14015E+02   0.14683E+01
+   0.14175E+02   0.73413E+00
+   0.14335E+02   0.14683E+01
+   0.14335E+02   0.00000E+00
+   0.14775E+02   0.00000E+00
+   0.14775E+02   0.14683E+01
+   0.15828E+02   0.14683E+01
+   0.15828E+02   0.00000E+00
+   0.16268E+02   0.00000E+00
+   0.16268E+02   0.14683E+01
+   0.16428E+02   0.73413E+00
+   0.16588E+02   0.14683E+01
+   0.16588E+02   0.00000E+00
+   0.16788E+02   0.00000E+00
+   0.16788E+02   0.29365E+01
+   0.16788E+02   0.29365E+01
+   0.16788E+02   0.00000E+00
+   0.17178E+02   0.00000E+00
+   0.17178E+02   0.14683E+01
+   0.17408E+02   0.22024E+01
+   0.17638E+02   0.14683E+01
+   0.17638E+02   0.00000E+00
+   0.17838E+02   0.00000E+00
+   0.17838E+02   0.29365E+01
+   0.17838E+02   0.29365E+01
+   0.17838E+02   0.00000E+00
+   0.18228E+02   0.00000E+00
+   0.18228E+02   0.14683E+01
+   0.18388E+02   0.73413E+00
+   0.18548E+02   0.14683E+01
+   0.18548E+02   0.00000E+00
+   0.25513E+02   0.00000E+00
+   0.25513E+02   0.14683E+01
+   0.25673E+02   0.73413E+00
+   0.25833E+02   0.14683E+01
+   0.25833E+02   0.00000E+00
+   0.26223E+02   0.00000E+00
+   0.26223E+02   0.29365E+01
+   0.26223E+02   0.29365E+01
+   0.26223E+02   0.00000E+00
+   0.26423E+02   0.00000E+00
+   0.26423E+02   0.14683E+01
+   0.26653E+02   0.22024E+01
+   0.26883E+02   0.14683E+01
+   0.26883E+02   0.00000E+00
+   0.27273E+02   0.00000E+00
+   0.27273E+02   0.29365E+01
+   0.27273E+02   0.29365E+01
+   0.27273E+02   0.00000E+00
+   0.27473E+02   0.00000E+00
+   0.27473E+02   0.14683E+01
+   0.27633E+02   0.73413E+00
+   0.27793E+02   0.14683E+01
+   0.27793E+02   0.00000E+00
+   0.28233E+02   0.00000E+00
+   0.28233E+02   0.14683E+01
+   0.29285E+02   0.14683E+01
+   0.29285E+02   0.00000E+00
+   0.29725E+02   0.00000E+00
+   0.29725E+02   0.14683E+01
+   0.29885E+02   0.73413E+00
+   0.30045E+02   0.14683E+01
+   0.30045E+02   0.00000E+00
+   0.30245E+02   0.00000E+00
+   0.30245E+02   0.29365E+01
+   0.30245E+02   0.29365E+01
+   0.30245E+02   0.00000E+00
+   0.30721E+02   0.00000E+00
+   0.30721E+02   0.14683E+01
+   0.30881E+02   0.22024E+01
+   0.31041E+02   0.14683E+01
+   0.31041E+02   0.00000E+00
+   0.31241E+02   0.00000E+00
+   0.31241E+02   0.29365E+01
+   0.31241E+02   0.29365E+01
+   0.31241E+02   0.00000E+00
+   0.35051E+02   0.00000E+00
+   0.35051E+02   0.29365E+01
+   0.35051E+02   0.29365E+01
+   0.35051E+02   0.00000E+00
+   0.35251E+02   0.00000E+00
+   0.35251E+02   0.14683E+01
+   0.35411E+02   0.22024E+01
+   0.35571E+02   0.14683E+01
+   0.35571E+02   0.00000E+00
+   0.36047E+02   0.00000E+00
+   0.36047E+02   0.29365E+01
+   0.36047E+02   0.29365E+01
+   0.36047E+02   0.00000E+00
+   0.36247E+02   0.00000E+00
+   0.36247E+02   0.14683E+01
+   0.36407E+02   0.73413E+00
+   0.36567E+02   0.14683E+01
+   0.36567E+02   0.00000E+00
+   0.37007E+02   0.00000E+00
+   0.37007E+02   0.14683E+01
+   0.38060E+02   0.14683E+01
+   0.38060E+02   0.00000E+00
+   0.38500E+02   0.00000E+00
+   0.38500E+02   0.14683E+01
+   0.38660E+02   0.73413E+00
+   0.38820E+02   0.14683E+01
+   0.38820E+02   0.00000E+00
+   0.39020E+02   0.00000E+00
+   0.39020E+02   0.29365E+01
+   0.39020E+02   0.29365E+01
+   0.39020E+02   0.00000E+00
+   0.39410E+02   0.00000E+00
+   0.39410E+02   0.14683E+01
+   0.39640E+02   0.22024E+01
+   0.39870E+02   0.14683E+01
+   0.39870E+02   0.00000E+00
+   0.40070E+02   0.00000E+00
+   0.40070E+02   0.29365E+01
+   0.40070E+02   0.29365E+01
+   0.40070E+02   0.00000E+00
+   0.40460E+02   0.00000E+00
+   0.40460E+02   0.14683E+01
+   0.40620E+02   0.73413E+00
+   0.40780E+02   0.14683E+01
+   0.40780E+02   0.00000E+00
+   0.47745E+02   0.00000E+00
+   0.47745E+02   0.14683E+01
+   0.47905E+02   0.73413E+00
+   0.48065E+02   0.14683E+01
+   0.48065E+02   0.00000E+00
+   0.48455E+02   0.00000E+00
+   0.48455E+02   0.29365E+01
+   0.48455E+02   0.29365E+01
+   0.48455E+02   0.00000E+00
+   0.48655E+02   0.00000E+00
+   0.48655E+02   0.14683E+01
+   0.48885E+02   0.22024E+01
+   0.49115E+02   0.14683E+01
+   0.49115E+02   0.00000E+00
+   0.49505E+02   0.00000E+00
+   0.49505E+02   0.29365E+01
+   0.49505E+02   0.29365E+01
+   0.49505E+02   0.00000E+00
+   0.49705E+02   0.00000E+00
+   0.49705E+02   0.14683E+01
+   0.49865E+02   0.73413E+00
+   0.50025E+02   0.14683E+01
+   0.50025E+02   0.00000E+00
+   0.50465E+02   0.00000E+00
+   0.50465E+02   0.14683E+01
+   0.51517E+02   0.14683E+01
+   0.51517E+02   0.00000E+00
+   0.51957E+02   0.00000E+00
+   0.51957E+02   0.14683E+01
+   0.52117E+02   0.73413E+00
+   0.52277E+02   0.14683E+01
+   0.52277E+02   0.00000E+00
+   0.52477E+02   0.00000E+00
+   0.52477E+02   0.29365E+01
+   0.52477E+02   0.29365E+01
+   0.52477E+02   0.00000E+00
+   0.52953E+02   0.00000E+00
+   0.52953E+02   0.14683E+01
+   0.53113E+02   0.22024E+01
+   0.53273E+02   0.14683E+01
+   0.53273E+02   0.00000E+00
+   0.53473E+02   0.00000E+00
+   0.53473E+02   0.29365E+01
+   0.53473E+02   0.29365E+01
+   0.53473E+02   0.00000E+00
+   0.57283E+02   0.00000E+00
+   0.57283E+02   0.29365E+01
+   0.57283E+02   0.29365E+01
+   0.57283E+02   0.00000E+00
+   0.57483E+02   0.00000E+00
+   0.57483E+02   0.14683E+01
+   0.57643E+02   0.22024E+01
+   0.57803E+02   0.14683E+01
+   0.57803E+02   0.00000E+00
+   0.58279E+02   0.00000E+00
+   0.58279E+02   0.29365E+01
+   0.58279E+02   0.29365E+01
+   0.58279E+02   0.00000E+00
+   0.58479E+02   0.00000E+00
+   0.58479E+02   0.14683E+01
+   0.58639E+02   0.73413E+00
+   0.58799E+02   0.14683E+01
+   0.58799E+02   0.00000E+00
+   0.59239E+02   0.00000E+00
+   0.59239E+02   0.14683E+01
+   0.60292E+02   0.14683E+01
+   0.60292E+02   0.00000E+00
+   0.60732E+02   0.00000E+00
+   0.60732E+02   0.14683E+01
+   0.60892E+02   0.73413E+00
+   0.61052E+02   0.14683E+01
+   0.61052E+02   0.00000E+00
+   0.61252E+02   0.00000E+00
+   0.61252E+02   0.29365E+01
+   0.61252E+02   0.29365E+01
+   0.61252E+02   0.00000E+00
+   0.61642E+02   0.00000E+00
+   0.61642E+02   0.14683E+01
+   0.61872E+02   0.22024E+01
+   0.62102E+02   0.14683E+01
+   0.62102E+02   0.00000E+00
+   0.62302E+02   0.00000E+00
+   0.62302E+02   0.29365E+01
+   0.62302E+02   0.29365E+01
+   0.62302E+02   0.00000E+00
+   0.62692E+02   0.00000E+00
+   0.62692E+02   0.14683E+01
+   0.62852E+02   0.73413E+00
+   0.63012E+02   0.14683E+01
+   0.63012E+02   0.00000E+00
+   0.69977E+02   0.00000E+00
+   0.69977E+02   0.14683E+01
+   0.70137E+02   0.73413E+00
+   0.70297E+02   0.14683E+01
+   0.70297E+02   0.00000E+00
+   0.70687E+02   0.00000E+00
+   0.70687E+02   0.29365E+01
+   0.70687E+02   0.29365E+01
+   0.70687E+02   0.00000E+00
+   0.70887E+02   0.00000E+00
+   0.70887E+02   0.14683E+01
+   0.71117E+02   0.22024E+01
+   0.71347E+02   0.14683E+01
+   0.71347E+02   0.00000E+00
+   0.71737E+02   0.00000E+00
+   0.71737E+02   0.29365E+01
+   0.71737E+02   0.29365E+01
+   0.71737E+02   0.00000E+00
+   0.71937E+02   0.00000E+00
+   0.71937E+02   0.14683E+01
+   0.72097E+02   0.73413E+00
+   0.72257E+02   0.14683E+01
+   0.72257E+02   0.00000E+00
+   0.72697E+02   0.00000E+00
+   0.72697E+02   0.14683E+01
+   0.73749E+02   0.14683E+01
+   0.73749E+02   0.00000E+00
+   0.74189E+02   0.00000E+00
+   0.74189E+02   0.14683E+01
+   0.74349E+02   0.73413E+00
+   0.74509E+02   0.14683E+01
+   0.74509E+02   0.00000E+00
+   0.74709E+02   0.00000E+00
+   0.74709E+02   0.29365E+01
+   0.74709E+02   0.29365E+01
+   0.74709E+02   0.00000E+00
+   0.75185E+02   0.00000E+00
+   0.75185E+02   0.14683E+01
+   0.75345E+02   0.22024E+01
+   0.75505E+02   0.14683E+01
+   0.75505E+02   0.00000E+00
+   0.75975E+02   0.00000E+00
+   0.75975E+02   0.29365E+01
+   0.75975E+02   0.29365E+01
+   0.75975E+02   0.00000E+00
+   0.76445E+02   0.00000E+00
+   0.76445E+02   0.14683E+01
+   0.76605E+02   0.22024E+01
+   0.76765E+02   0.14683E+01
+   0.76765E+02   0.00000E+00
+   0.77242E+02   0.00000E+00
+   0.77242E+02   0.29365E+01
+   0.77242E+02   0.29365E+01
+   0.77242E+02   0.00000E+00
+   0.77442E+02   0.00000E+00
+   0.77442E+02   0.14683E+01
+   0.77602E+02   0.73413E+00
+   0.77762E+02   0.14683E+01
+   0.77762E+02   0.00000E+00
+   0.78202E+02   0.00000E+00
+   0.78202E+02   0.14683E+01
+   0.79254E+02   0.14683E+01
+   0.79254E+02   0.00000E+00
+   0.80044E+02   0.00000E+00
+   0.80044E+02   0.29365E+01
+   0.80044E+02   0.29365E+01
+   0.80044E+02   0.00000E+00
+   0.80244E+02   0.00000E+00
+   0.80244E+02   0.14683E+01
+   0.80404E+02   0.73413E+00
+   0.80564E+02   0.14683E+01
+   0.80564E+02   0.00000E+00
+   0.81154E+02   0.00000E+00
+   0.81154E+02   0.14683E+01
+   0.81384E+02   0.22024E+01
+   0.81614E+02   0.14683E+01
+   0.81614E+02   0.00000E+00
+   0.81814E+02   0.00000E+00
+   0.81814E+02   0.29365E+01
+   0.81814E+02   0.29365E+01
+   0.81814E+02   0.00000E+00
+   0.82204E+02   0.00000E+00
+   0.82204E+02   0.14683E+01
+   0.82364E+02   0.73413E+00
+   0.82524E+02   0.14683E+01
+   0.82524E+02   0.00000E+00
Index: /trunk/machine/SOLEIL/common/naff/naffutils/structure_nanoscopium
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/structure_nanoscopium	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/structure_nanoscopium	(revision 17)
@@ -0,0 +1,3348 @@
+  0.59798999E+01  0.00000000E+00
+  0.59798999E+01  0.16920083E+01
+  0.61599998E+01  0.84600413E+00
+  0.63400998E+01  0.16920083E+01
+  0.63400998E+01  0.00000000E+00
+  0.66300001E+01  0.00000000E+00
+  0.66300001E+01  0.33840165E+01
+  0.66300001E+01  0.33840165E+01
+  0.66300001E+01  0.00000000E+00
+  0.66700001E+01  0.00000000E+00
+  0.66700001E+01  0.33840165E+01
+  0.66700001E+01  0.33840165E+01
+  0.66700001E+01  0.00000000E+00
+  0.67100000E+01  0.00000000E+00
+  0.67100000E+01  0.33840165E+01
+  0.67100000E+01  0.33840165E+01
+  0.67100000E+01  0.00000000E+00
+  0.67500000E+01  0.00000000E+00
+  0.67500000E+01  0.33840165E+01
+  0.67500000E+01  0.33840165E+01
+  0.67500000E+01  0.00000000E+00
+  0.67900000E+01  0.00000000E+00
+  0.67900000E+01  0.33840165E+01
+  0.67900000E+01  0.33840165E+01
+  0.67900000E+01  0.00000000E+00
+  0.68919001E+01  0.00000000E+00
+  0.68919001E+01  0.16920083E+01
+  0.71399999E+01  0.25380125E+01
+  0.73880997E+01  0.16920083E+01
+  0.73880997E+01  0.00000000E+00
+  0.79398999E+01  0.00000000E+00
+  0.79398999E+01  0.16920083E+01
+  0.81199999E+01  0.84600413E+00
+  0.83001003E+01  0.16920083E+01
+  0.83001003E+01  0.00000000E+00
+  0.83999996E+01  0.00000000E+00
+  0.83999996E+01  0.33840165E+01
+  0.83999996E+01  0.33840165E+01
+  0.83999996E+01  0.00000000E+00
+  0.84399996E+01  0.00000000E+00
+  0.84399996E+01  0.33840165E+01
+  0.84399996E+01  0.33840165E+01
+  0.84399996E+01  0.00000000E+00
+  0.84799995E+01  0.00000000E+00
+  0.84799995E+01  0.33840165E+01
+  0.84799995E+01  0.33840165E+01
+  0.84799995E+01  0.00000000E+00
+  0.85199995E+01  0.00000000E+00
+  0.85199995E+01  0.33840165E+01
+  0.85199995E+01  0.33840165E+01
+  0.85199995E+01  0.00000000E+00
+  0.85599995E+01  0.00000000E+00
+  0.85599995E+01  0.33840165E+01
+  0.85599995E+01  0.33840165E+01
+  0.85599995E+01  0.00000000E+00
+  0.92699995E+01  0.00000000E+00
+  0.92699995E+01  0.16920083E+01
+  0.10322435E+02  0.16920083E+01
+  0.10322435E+02  0.00000000E+00
+  0.10742336E+02  0.00000000E+00
+  0.10742336E+02  0.16920083E+01
+  0.10922436E+02  0.84600413E+00
+  0.11102536E+02  0.16920083E+01
+  0.11102536E+02  0.00000000E+00
+  0.11202435E+02  0.00000000E+00
+  0.11202435E+02  0.33840165E+01
+  0.11202435E+02  0.33840165E+01
+  0.11202435E+02  0.00000000E+00
+  0.11242435E+02  0.00000000E+00
+  0.11242435E+02  0.33840165E+01
+  0.11242435E+02  0.33840165E+01
+  0.11242435E+02  0.00000000E+00
+  0.11282435E+02  0.00000000E+00
+  0.11282435E+02  0.33840165E+01
+  0.11282435E+02  0.33840165E+01
+  0.11282435E+02  0.00000000E+00
+  0.11322435E+02  0.00000000E+00
+  0.11322435E+02  0.33840165E+01
+  0.11322435E+02  0.33840165E+01
+  0.11322435E+02  0.00000000E+00
+  0.11362435E+02  0.00000000E+00
+  0.11362435E+02  0.33840165E+01
+  0.11362435E+02  0.33840165E+01
+  0.11362435E+02  0.00000000E+00
+  0.11738676E+02  0.00000000E+00
+  0.11738676E+02  0.16920083E+01
+  0.11918776E+02  0.25380125E+01
+  0.12098876E+02  0.16920083E+01
+  0.12098876E+02  0.00000000E+00
+  0.12468776E+02  0.00000000E+00
+  0.12468776E+02  0.33840165E+01
+  0.12468776E+02  0.33840165E+01
+  0.12468776E+02  0.00000000E+00
+  0.12508776E+02  0.00000000E+00
+  0.12508776E+02  0.33840165E+01
+  0.12508776E+02  0.33840165E+01
+  0.12508776E+02  0.00000000E+00
+  0.12548776E+02  0.00000000E+00
+  0.12548776E+02  0.33840165E+01
+  0.12548776E+02  0.33840165E+01
+  0.12548776E+02  0.00000000E+00
+  0.12588776E+02  0.00000000E+00
+  0.12588776E+02  0.33840165E+01
+  0.12588776E+02  0.33840165E+01
+  0.12588776E+02  0.00000000E+00
+  0.12628776E+02  0.00000000E+00
+  0.12628776E+02  0.33840165E+01
+  0.12628776E+02  0.33840165E+01
+  0.12628776E+02  0.00000000E+00
+  0.12998675E+02  0.00000000E+00
+  0.12998675E+02  0.16920083E+01
+  0.13178776E+02  0.25380125E+01
+  0.13358875E+02  0.16920083E+01
+  0.13358875E+02  0.00000000E+00
+  0.13735116E+02  0.00000000E+00
+  0.13735116E+02  0.33840165E+01
+  0.13735116E+02  0.33840165E+01
+  0.13735116E+02  0.00000000E+00
+  0.13775116E+02  0.00000000E+00
+  0.13775116E+02  0.33840165E+01
+  0.13775116E+02  0.33840165E+01
+  0.13775116E+02  0.00000000E+00
+  0.13815116E+02  0.00000000E+00
+  0.13815116E+02  0.33840165E+01
+  0.13815116E+02  0.33840165E+01
+  0.13815116E+02  0.00000000E+00
+  0.13855116E+02  0.00000000E+00
+  0.13855116E+02  0.33840165E+01
+  0.13855116E+02  0.33840165E+01
+  0.13855116E+02  0.00000000E+00
+  0.13895116E+02  0.00000000E+00
+  0.13895116E+02  0.33840165E+01
+  0.13895116E+02  0.33840165E+01
+  0.13895116E+02  0.00000000E+00
+  0.13995016E+02  0.00000000E+00
+  0.13995016E+02  0.16920083E+01
+  0.14175116E+02  0.84600413E+00
+  0.14355216E+02  0.16920083E+01
+  0.14355216E+02  0.00000000E+00
+  0.14775116E+02  0.00000000E+00
+  0.14775116E+02  0.16920083E+01
+  0.15827552E+02  0.16920083E+01
+  0.15827552E+02  0.00000000E+00
+  0.16247452E+02  0.00000000E+00
+  0.16247452E+02  0.16920083E+01
+  0.16427551E+02  0.84600413E+00
+  0.16607651E+02  0.16920083E+01
+  0.16607651E+02  0.00000000E+00
+  0.16707552E+02  0.00000000E+00
+  0.16707552E+02  0.33840165E+01
+  0.16707552E+02  0.33840165E+01
+  0.16707552E+02  0.00000000E+00
+  0.16747551E+02  0.00000000E+00
+  0.16747551E+02  0.33840165E+01
+  0.16747551E+02  0.33840165E+01
+  0.16747551E+02  0.00000000E+00
+  0.16787552E+02  0.00000000E+00
+  0.16787552E+02  0.33840165E+01
+  0.16787552E+02  0.33840165E+01
+  0.16787552E+02  0.00000000E+00
+  0.16827551E+02  0.00000000E+00
+  0.16827551E+02  0.33840165E+01
+  0.16827551E+02  0.33840165E+01
+  0.16827551E+02  0.00000000E+00
+  0.16867552E+02  0.00000000E+00
+  0.16867552E+02  0.33840165E+01
+  0.16867552E+02  0.33840165E+01
+  0.16867552E+02  0.00000000E+00
+  0.17159452E+02  0.00000000E+00
+  0.17159452E+02  0.16920083E+01
+  0.17407551E+02  0.25380125E+01
+  0.17655651E+02  0.16920083E+01
+  0.17655651E+02  0.00000000E+00
+  0.17757551E+02  0.00000000E+00
+  0.17757551E+02  0.33840165E+01
+  0.17757551E+02  0.33840165E+01
+  0.17757551E+02  0.00000000E+00
+  0.17797552E+02  0.00000000E+00
+  0.17797552E+02  0.33840165E+01
+  0.17797552E+02  0.33840165E+01
+  0.17797552E+02  0.00000000E+00
+  0.17837551E+02  0.00000000E+00
+  0.17837551E+02  0.33840165E+01
+  0.17837551E+02  0.33840165E+01
+  0.17837551E+02  0.00000000E+00
+  0.17877552E+02  0.00000000E+00
+  0.17877552E+02  0.33840165E+01
+  0.17877552E+02  0.33840165E+01
+  0.17877552E+02  0.00000000E+00
+  0.17917551E+02  0.00000000E+00
+  0.17917551E+02  0.33840165E+01
+  0.17917551E+02  0.33840165E+01
+  0.17917551E+02  0.00000000E+00
+  0.18207451E+02  0.00000000E+00
+  0.18207451E+02  0.16920083E+01
+  0.18387550E+02  0.84600413E+00
+  0.18567652E+02  0.16920083E+01
+  0.18567652E+02  0.00000000E+00
+  0.25492552E+02  0.00000000E+00
+  0.25492552E+02  0.16920083E+01
+  0.25672651E+02  0.84600413E+00
+  0.25852751E+02  0.16920083E+01
+  0.25852751E+02  0.00000000E+00
+  0.26142653E+02  0.00000000E+00
+  0.26142653E+02  0.33840165E+01
+  0.26142653E+02  0.33840165E+01
+  0.26142653E+02  0.00000000E+00
+  0.26182652E+02  0.00000000E+00
+  0.26182652E+02  0.33840165E+01
+  0.26182652E+02  0.33840165E+01
+  0.26182652E+02  0.00000000E+00
+  0.26222652E+02  0.00000000E+00
+  0.26222652E+02  0.33840165E+01
+  0.26222652E+02  0.33840165E+01
+  0.26222652E+02  0.00000000E+00
+  0.26262651E+02  0.00000000E+00
+  0.26262651E+02  0.33840165E+01
+  0.26262651E+02  0.33840165E+01
+  0.26262651E+02  0.00000000E+00
+  0.26302652E+02  0.00000000E+00
+  0.26302652E+02  0.33840165E+01
+  0.26302652E+02  0.33840165E+01
+  0.26302652E+02  0.00000000E+00
+  0.26404552E+02  0.00000000E+00
+  0.26404552E+02  0.16920083E+01
+  0.26652653E+02  0.25380125E+01
+  0.26900751E+02  0.16920083E+01
+  0.26900751E+02  0.00000000E+00
+  0.27192652E+02  0.00000000E+00
+  0.27192652E+02  0.33840165E+01
+  0.27192652E+02  0.33840165E+01
+  0.27192652E+02  0.00000000E+00
+  0.27232653E+02  0.00000000E+00
+  0.27232653E+02  0.33840165E+01
+  0.27232653E+02  0.33840165E+01
+  0.27232653E+02  0.00000000E+00
+  0.27272652E+02  0.00000000E+00
+  0.27272652E+02  0.33840165E+01
+  0.27272652E+02  0.33840165E+01
+  0.27272652E+02  0.00000000E+00
+  0.27312653E+02  0.00000000E+00
+  0.27312653E+02  0.33840165E+01
+  0.27312653E+02  0.33840165E+01
+  0.27312653E+02  0.00000000E+00
+  0.27352652E+02  0.00000000E+00
+  0.27352652E+02  0.33840165E+01
+  0.27352652E+02  0.33840165E+01
+  0.27352652E+02  0.00000000E+00
+  0.27452551E+02  0.00000000E+00
+  0.27452551E+02  0.16920083E+01
+  0.27632652E+02  0.84600413E+00
+  0.27812752E+02  0.16920083E+01
+  0.27812752E+02  0.00000000E+00
+  0.28232653E+02  0.00000000E+00
+  0.28232653E+02  0.16920083E+01
+  0.29285088E+02  0.16920083E+01
+  0.29285088E+02  0.00000000E+00
+  0.29704988E+02  0.00000000E+00
+  0.29704988E+02  0.16920083E+01
+  0.29885088E+02  0.84600413E+00
+  0.30065187E+02  0.16920083E+01
+  0.30065187E+02  0.00000000E+00
+  0.30165087E+02  0.00000000E+00
+  0.30165087E+02  0.33840165E+01
+  0.30165087E+02  0.33840165E+01
+  0.30165087E+02  0.00000000E+00
+  0.30205088E+02  0.00000000E+00
+  0.30205088E+02  0.33840165E+01
+  0.30205088E+02  0.33840165E+01
+  0.30205088E+02  0.00000000E+00
+  0.30245089E+02  0.00000000E+00
+  0.30245089E+02  0.33840165E+01
+  0.30245089E+02  0.33840165E+01
+  0.30245089E+02  0.00000000E+00
+  0.30285088E+02  0.00000000E+00
+  0.30285088E+02  0.33840165E+01
+  0.30285088E+02  0.33840165E+01
+  0.30285088E+02  0.00000000E+00
+  0.30325089E+02  0.00000000E+00
+  0.30325089E+02  0.33840165E+01
+  0.30325089E+02  0.33840165E+01
+  0.30325089E+02  0.00000000E+00
+  0.30701328E+02  0.00000000E+00
+  0.30701328E+02  0.16920083E+01
+  0.30881428E+02  0.25380125E+01
+  0.31061527E+02  0.16920083E+01
+  0.31061527E+02  0.00000000E+00
+  0.31161428E+02  0.00000000E+00
+  0.31161428E+02  0.33840165E+01
+  0.31161428E+02  0.33840165E+01
+  0.31161428E+02  0.00000000E+00
+  0.31201427E+02  0.00000000E+00
+  0.31201427E+02  0.33840165E+01
+  0.31201427E+02  0.33840165E+01
+  0.31201427E+02  0.00000000E+00
+  0.31241428E+02  0.00000000E+00
+  0.31241428E+02  0.33840165E+01
+  0.31241428E+02  0.33840165E+01
+  0.31241428E+02  0.00000000E+00
+  0.31281427E+02  0.00000000E+00
+  0.31281427E+02  0.33840165E+01
+  0.31281427E+02  0.33840165E+01
+  0.31281427E+02  0.00000000E+00
+  0.31321428E+02  0.00000000E+00
+  0.31321428E+02  0.33840165E+01
+  0.31321428E+02  0.33840165E+01
+  0.31321428E+02  0.00000000E+00
+  0.34970787E+02  0.00000000E+00
+  0.34970787E+02  0.33840165E+01
+  0.34970787E+02  0.33840165E+01
+  0.34970787E+02  0.00000000E+00
+  0.35010788E+02  0.00000000E+00
+  0.35010788E+02  0.33840165E+01
+  0.35010788E+02  0.33840165E+01
+  0.35010788E+02  0.00000000E+00
+  0.35050789E+02  0.00000000E+00
+  0.35050789E+02  0.33840165E+01
+  0.35050789E+02  0.33840165E+01
+  0.35050789E+02  0.00000000E+00
+  0.35090786E+02  0.00000000E+00
+  0.35090786E+02  0.33840165E+01
+  0.35090786E+02  0.33840165E+01
+  0.35090786E+02  0.00000000E+00
+  0.35130787E+02  0.00000000E+00
+  0.35130787E+02  0.33840165E+01
+  0.35130787E+02  0.33840165E+01
+  0.35130787E+02  0.00000000E+00
+  0.35230686E+02  0.00000000E+00
+  0.35230686E+02  0.16920083E+01
+  0.35410789E+02  0.25380125E+01
+  0.35590889E+02  0.16920083E+01
+  0.35590889E+02  0.00000000E+00
+  0.35967129E+02  0.00000000E+00
+  0.35967129E+02  0.33840165E+01
+  0.35967129E+02  0.33840165E+01
+  0.35967129E+02  0.00000000E+00
+  0.36007126E+02  0.00000000E+00
+  0.36007126E+02  0.33840165E+01
+  0.36007126E+02  0.33840165E+01
+  0.36007126E+02  0.00000000E+00
+  0.36047127E+02  0.00000000E+00
+  0.36047127E+02  0.33840165E+01
+  0.36047127E+02  0.33840165E+01
+  0.36047127E+02  0.00000000E+00
+  0.36087128E+02  0.00000000E+00
+  0.36087128E+02  0.33840165E+01
+  0.36087128E+02  0.33840165E+01
+  0.36087128E+02  0.00000000E+00
+  0.36127129E+02  0.00000000E+00
+  0.36127129E+02  0.33840165E+01
+  0.36127129E+02  0.33840165E+01
+  0.36127129E+02  0.00000000E+00
+  0.36227028E+02  0.00000000E+00
+  0.36227028E+02  0.16920083E+01
+  0.36407127E+02  0.84600413E+00
+  0.36587227E+02  0.16920083E+01
+  0.36587227E+02  0.00000000E+00
+  0.37007126E+02  0.00000000E+00
+  0.37007126E+02  0.16920083E+01
+  0.38059563E+02  0.16920083E+01
+  0.38059563E+02  0.00000000E+00
+  0.38479462E+02  0.00000000E+00
+  0.38479462E+02  0.16920083E+01
+  0.38659561E+02  0.84600413E+00
+  0.38839664E+02  0.16920083E+01
+  0.38839664E+02  0.00000000E+00
+  0.38939564E+02  0.00000000E+00
+  0.38939564E+02  0.33840165E+01
+  0.38939564E+02  0.33840165E+01
+  0.38939564E+02  0.00000000E+00
+  0.38979565E+02  0.00000000E+00
+  0.38979565E+02  0.33840165E+01
+  0.38979565E+02  0.33840165E+01
+  0.38979565E+02  0.00000000E+00
+  0.39019562E+02  0.00000000E+00
+  0.39019562E+02  0.33840165E+01
+  0.39019562E+02  0.33840165E+01
+  0.39019562E+02  0.00000000E+00
+  0.39059563E+02  0.00000000E+00
+  0.39059563E+02  0.33840165E+01
+  0.39059563E+02  0.33840165E+01
+  0.39059563E+02  0.00000000E+00
+  0.39099564E+02  0.00000000E+00
+  0.39099564E+02  0.33840165E+01
+  0.39099564E+02  0.33840165E+01
+  0.39099564E+02  0.00000000E+00
+  0.39391464E+02  0.00000000E+00
+  0.39391464E+02  0.16920083E+01
+  0.39639565E+02  0.25380125E+01
+  0.39887665E+02  0.16920083E+01
+  0.39887665E+02  0.00000000E+00
+  0.39989563E+02  0.00000000E+00
+  0.39989563E+02  0.33840165E+01
+  0.39989563E+02  0.33840165E+01
+  0.39989563E+02  0.00000000E+00
+  0.40029564E+02  0.00000000E+00
+  0.40029564E+02  0.33840165E+01
+  0.40029564E+02  0.33840165E+01
+  0.40029564E+02  0.00000000E+00
+  0.40069565E+02  0.00000000E+00
+  0.40069565E+02  0.33840165E+01
+  0.40069565E+02  0.33840165E+01
+  0.40069565E+02  0.00000000E+00
+  0.40109562E+02  0.00000000E+00
+  0.40109562E+02  0.33840165E+01
+  0.40109562E+02  0.33840165E+01
+  0.40109562E+02  0.00000000E+00
+  0.40149563E+02  0.00000000E+00
+  0.40149563E+02  0.33840165E+01
+  0.40149563E+02  0.33840165E+01
+  0.40149563E+02  0.00000000E+00
+  0.40439465E+02  0.00000000E+00
+  0.40439465E+02  0.16920083E+01
+  0.40619564E+02  0.84600413E+00
+  0.40799664E+02  0.16920083E+01
+  0.40799664E+02  0.00000000E+00
+  0.47724564E+02  0.00000000E+00
+  0.47724564E+02  0.16920083E+01
+  0.47904663E+02  0.84600413E+00
+  0.48084763E+02  0.16920083E+01
+  0.48084763E+02  0.00000000E+00
+  0.48374664E+02  0.00000000E+00
+  0.48374664E+02  0.33840165E+01
+  0.48374664E+02  0.33840165E+01
+  0.48374664E+02  0.00000000E+00
+  0.48414665E+02  0.00000000E+00
+  0.48414665E+02  0.33840165E+01
+  0.48414665E+02  0.33840165E+01
+  0.48414665E+02  0.00000000E+00
+  0.48454662E+02  0.00000000E+00
+  0.48454662E+02  0.33840165E+01
+  0.48454662E+02  0.33840165E+01
+  0.48454662E+02  0.00000000E+00
+  0.48494663E+02  0.00000000E+00
+  0.48494663E+02  0.33840165E+01
+  0.48494663E+02  0.33840165E+01
+  0.48494663E+02  0.00000000E+00
+  0.48534664E+02  0.00000000E+00
+  0.48534664E+02  0.33840165E+01
+  0.48534664E+02  0.33840165E+01
+  0.48534664E+02  0.00000000E+00
+  0.48636562E+02  0.00000000E+00
+  0.48636562E+02  0.16920083E+01
+  0.48884663E+02  0.25380125E+01
+  0.49132763E+02  0.16920083E+01
+  0.49132763E+02  0.00000000E+00
+  0.49424664E+02  0.00000000E+00
+  0.49424664E+02  0.33840165E+01
+  0.49424664E+02  0.33840165E+01
+  0.49424664E+02  0.00000000E+00
+  0.49464664E+02  0.00000000E+00
+  0.49464664E+02  0.33840165E+01
+  0.49464664E+02  0.33840165E+01
+  0.49464664E+02  0.00000000E+00
+  0.49504665E+02  0.00000000E+00
+  0.49504665E+02  0.33840165E+01
+  0.49504665E+02  0.33840165E+01
+  0.49504665E+02  0.00000000E+00
+  0.49544662E+02  0.00000000E+00
+  0.49544662E+02  0.33840165E+01
+  0.49544662E+02  0.33840165E+01
+  0.49544662E+02  0.00000000E+00
+  0.49584663E+02  0.00000000E+00
+  0.49584663E+02  0.33840165E+01
+  0.49584663E+02  0.33840165E+01
+  0.49584663E+02  0.00000000E+00
+  0.49684563E+02  0.00000000E+00
+  0.49684563E+02  0.16920083E+01
+  0.49864662E+02  0.84600413E+00
+  0.50044762E+02  0.16920083E+01
+  0.50044762E+02  0.00000000E+00
+  0.50464664E+02  0.00000000E+00
+  0.50464664E+02  0.16920083E+01
+  0.51517101E+02  0.16920083E+01
+  0.51517101E+02  0.00000000E+00
+  0.51937000E+02  0.00000000E+00
+  0.51937000E+02  0.16920083E+01
+  0.52117100E+02  0.84600413E+00
+  0.52297199E+02  0.16920083E+01
+  0.52297199E+02  0.00000000E+00
+  0.52397099E+02  0.00000000E+00
+  0.52397099E+02  0.33840165E+01
+  0.52397099E+02  0.33840165E+01
+  0.52397099E+02  0.00000000E+00
+  0.52437099E+02  0.00000000E+00
+  0.52437099E+02  0.33840165E+01
+  0.52437099E+02  0.33840165E+01
+  0.52437099E+02  0.00000000E+00
+  0.52477100E+02  0.00000000E+00
+  0.52477100E+02  0.33840165E+01
+  0.52477100E+02  0.33840165E+01
+  0.52477100E+02  0.00000000E+00
+  0.52517101E+02  0.00000000E+00
+  0.52517101E+02  0.33840165E+01
+  0.52517101E+02  0.33840165E+01
+  0.52517101E+02  0.00000000E+00
+  0.52557098E+02  0.00000000E+00
+  0.52557098E+02  0.33840165E+01
+  0.52557098E+02  0.33840165E+01
+  0.52557098E+02  0.00000000E+00
+  0.52933338E+02  0.00000000E+00
+  0.52933338E+02  0.16920083E+01
+  0.53113441E+02  0.25380125E+01
+  0.53293541E+02  0.16920083E+01
+  0.53293541E+02  0.00000000E+00
+  0.53393440E+02  0.00000000E+00
+  0.53393440E+02  0.33840165E+01
+  0.53393440E+02  0.33840165E+01
+  0.53393440E+02  0.00000000E+00
+  0.53433441E+02  0.00000000E+00
+  0.53433441E+02  0.33840165E+01
+  0.53433441E+02  0.33840165E+01
+  0.53433441E+02  0.00000000E+00
+  0.53473438E+02  0.00000000E+00
+  0.53473438E+02  0.33840165E+01
+  0.53473438E+02  0.33840165E+01
+  0.53473438E+02  0.00000000E+00
+  0.53513439E+02  0.00000000E+00
+  0.53513439E+02  0.33840165E+01
+  0.53513439E+02  0.33840165E+01
+  0.53513439E+02  0.00000000E+00
+  0.53553440E+02  0.00000000E+00
+  0.53553440E+02  0.33840165E+01
+  0.53553440E+02  0.33840165E+01
+  0.53553440E+02  0.00000000E+00
+  0.57202801E+02  0.00000000E+00
+  0.57202801E+02  0.33840165E+01
+  0.57202801E+02  0.33840165E+01
+  0.57202801E+02  0.00000000E+00
+  0.57242798E+02  0.00000000E+00
+  0.57242798E+02  0.33840165E+01
+  0.57242798E+02  0.33840165E+01
+  0.57242798E+02  0.00000000E+00
+  0.57282799E+02  0.00000000E+00
+  0.57282799E+02  0.33840165E+01
+  0.57282799E+02  0.33840165E+01
+  0.57282799E+02  0.00000000E+00
+  0.57322800E+02  0.00000000E+00
+  0.57322800E+02  0.33840165E+01
+  0.57322800E+02  0.33840165E+01
+  0.57322800E+02  0.00000000E+00
+  0.57362801E+02  0.00000000E+00
+  0.57362801E+02  0.33840165E+01
+  0.57362801E+02  0.33840165E+01
+  0.57362801E+02  0.00000000E+00
+  0.57462700E+02  0.00000000E+00
+  0.57462700E+02  0.16920083E+01
+  0.57642799E+02  0.25380125E+01
+  0.57822899E+02  0.16920083E+01
+  0.57822899E+02  0.00000000E+00
+  0.58199139E+02  0.00000000E+00
+  0.58199139E+02  0.33840165E+01
+  0.58199139E+02  0.33840165E+01
+  0.58199139E+02  0.00000000E+00
+  0.58239140E+02  0.00000000E+00
+  0.58239140E+02  0.33840165E+01
+  0.58239140E+02  0.33840165E+01
+  0.58239140E+02  0.00000000E+00
+  0.58279140E+02  0.00000000E+00
+  0.58279140E+02  0.33840165E+01
+  0.58279140E+02  0.33840165E+01
+  0.58279140E+02  0.00000000E+00
+  0.58319138E+02  0.00000000E+00
+  0.58319138E+02  0.33840165E+01
+  0.58319138E+02  0.33840165E+01
+  0.58319138E+02  0.00000000E+00
+  0.58359138E+02  0.00000000E+00
+  0.58359138E+02  0.33840165E+01
+  0.58359138E+02  0.33840165E+01
+  0.58359138E+02  0.00000000E+00
+  0.58459038E+02  0.00000000E+00
+  0.58459038E+02  0.16920083E+01
+  0.58639137E+02  0.84600413E+00
+  0.58819241E+02  0.16920083E+01
+  0.58819241E+02  0.00000000E+00
+  0.59239140E+02  0.00000000E+00
+  0.59239140E+02  0.16920083E+01
+  0.60291576E+02  0.16920083E+01
+  0.60291576E+02  0.00000000E+00
+  0.60711475E+02  0.00000000E+00
+  0.60711475E+02  0.16920083E+01
+  0.60891575E+02  0.84600413E+00
+  0.61071674E+02  0.16920083E+01
+  0.61071674E+02  0.00000000E+00
+  0.61171574E+02  0.00000000E+00
+  0.61171574E+02  0.33840165E+01
+  0.61171574E+02  0.33840165E+01
+  0.61171574E+02  0.00000000E+00
+  0.61211575E+02  0.00000000E+00
+  0.61211575E+02  0.33840165E+01
+  0.61211575E+02  0.33840165E+01
+  0.61211575E+02  0.00000000E+00
+  0.61251575E+02  0.00000000E+00
+  0.61251575E+02  0.33840165E+01
+  0.61251575E+02  0.33840165E+01
+  0.61251575E+02  0.00000000E+00
+  0.61291576E+02  0.00000000E+00
+  0.61291576E+02  0.33840165E+01
+  0.61291576E+02  0.33840165E+01
+  0.61291576E+02  0.00000000E+00
+  0.61331573E+02  0.00000000E+00
+  0.61331573E+02  0.33840165E+01
+  0.61331573E+02  0.33840165E+01
+  0.61331573E+02  0.00000000E+00
+  0.61623474E+02  0.00000000E+00
+  0.61623474E+02  0.16920083E+01
+  0.61871574E+02  0.25380125E+01
+  0.62119675E+02  0.16920083E+01
+  0.62119675E+02  0.00000000E+00
+  0.62221577E+02  0.00000000E+00
+  0.62221577E+02  0.33840165E+01
+  0.62221577E+02  0.33840165E+01
+  0.62221577E+02  0.00000000E+00
+  0.62261574E+02  0.00000000E+00
+  0.62261574E+02  0.33840165E+01
+  0.62261574E+02  0.33840165E+01
+  0.62261574E+02  0.00000000E+00
+  0.62301575E+02  0.00000000E+00
+  0.62301575E+02  0.33840165E+01
+  0.62301575E+02  0.33840165E+01
+  0.62301575E+02  0.00000000E+00
+  0.62341576E+02  0.00000000E+00
+  0.62341576E+02  0.33840165E+01
+  0.62341576E+02  0.33840165E+01
+  0.62341576E+02  0.00000000E+00
+  0.62381577E+02  0.00000000E+00
+  0.62381577E+02  0.33840165E+01
+  0.62381577E+02  0.33840165E+01
+  0.62381577E+02  0.00000000E+00
+  0.62671474E+02  0.00000000E+00
+  0.62671474E+02  0.16920083E+01
+  0.62851578E+02  0.84600413E+00
+  0.63031677E+02  0.16920083E+01
+  0.63031677E+02  0.00000000E+00
+  0.69956573E+02  0.00000000E+00
+  0.69956573E+02  0.16920083E+01
+  0.70136673E+02  0.84600413E+00
+  0.70316772E+02  0.16920083E+01
+  0.70316772E+02  0.00000000E+00
+  0.70606674E+02  0.00000000E+00
+  0.70606674E+02  0.33840165E+01
+  0.70606674E+02  0.33840165E+01
+  0.70606674E+02  0.00000000E+00
+  0.70646675E+02  0.00000000E+00
+  0.70646675E+02  0.33840165E+01
+  0.70646675E+02  0.33840165E+01
+  0.70646675E+02  0.00000000E+00
+  0.70686676E+02  0.00000000E+00
+  0.70686676E+02  0.33840165E+01
+  0.70686676E+02  0.33840165E+01
+  0.70686676E+02  0.00000000E+00
+  0.70726677E+02  0.00000000E+00
+  0.70726677E+02  0.33840165E+01
+  0.70726677E+02  0.33840165E+01
+  0.70726677E+02  0.00000000E+00
+  0.70766678E+02  0.00000000E+00
+  0.70766678E+02  0.33840165E+01
+  0.70766678E+02  0.33840165E+01
+  0.70766678E+02  0.00000000E+00
+  0.70868576E+02  0.00000000E+00
+  0.70868576E+02  0.16920083E+01
+  0.71116676E+02  0.25380125E+01
+  0.71364777E+02  0.16920083E+01
+  0.71364777E+02  0.00000000E+00
+  0.71656677E+02  0.00000000E+00
+  0.71656677E+02  0.33840165E+01
+  0.71656677E+02  0.33840165E+01
+  0.71656677E+02  0.00000000E+00
+  0.71696678E+02  0.00000000E+00
+  0.71696678E+02  0.33840165E+01
+  0.71696678E+02  0.33840165E+01
+  0.71696678E+02  0.00000000E+00
+  0.71736679E+02  0.00000000E+00
+  0.71736679E+02  0.33840165E+01
+  0.71736679E+02  0.33840165E+01
+  0.71736679E+02  0.00000000E+00
+  0.71776672E+02  0.00000000E+00
+  0.71776672E+02  0.33840165E+01
+  0.71776672E+02  0.33840165E+01
+  0.71776672E+02  0.00000000E+00
+  0.71816673E+02  0.00000000E+00
+  0.71816673E+02  0.33840165E+01
+  0.71816673E+02  0.33840165E+01
+  0.71816673E+02  0.00000000E+00
+  0.71916573E+02  0.00000000E+00
+  0.71916573E+02  0.16920083E+01
+  0.72096680E+02  0.84600413E+00
+  0.72276779E+02  0.16920083E+01
+  0.72276779E+02  0.00000000E+00
+  0.72696678E+02  0.00000000E+00
+  0.72696678E+02  0.16920083E+01
+  0.73749115E+02  0.16920083E+01
+  0.73749115E+02  0.00000000E+00
+  0.74169014E+02  0.00000000E+00
+  0.74169014E+02  0.16920083E+01
+  0.74349113E+02  0.84600413E+00
+  0.74529213E+02  0.16920083E+01
+  0.74529213E+02  0.00000000E+00
+  0.74629112E+02  0.00000000E+00
+  0.74629112E+02  0.33840165E+01
+  0.74629112E+02  0.33840165E+01
+  0.74629112E+02  0.00000000E+00
+  0.74669113E+02  0.00000000E+00
+  0.74669113E+02  0.33840165E+01
+  0.74669113E+02  0.33840165E+01
+  0.74669113E+02  0.00000000E+00
+  0.74709114E+02  0.00000000E+00
+  0.74709114E+02  0.33840165E+01
+  0.74709114E+02  0.33840165E+01
+  0.74709114E+02  0.00000000E+00
+  0.74749115E+02  0.00000000E+00
+  0.74749115E+02  0.33840165E+01
+  0.74749115E+02  0.33840165E+01
+  0.74749115E+02  0.00000000E+00
+  0.74789108E+02  0.00000000E+00
+  0.74789108E+02  0.33840165E+01
+  0.74789108E+02  0.33840165E+01
+  0.74789108E+02  0.00000000E+00
+  0.75165352E+02  0.00000000E+00
+  0.75165352E+02  0.16920083E+01
+  0.75345451E+02  0.25380125E+01
+  0.75525551E+02  0.16920083E+01
+  0.75525551E+02  0.00000000E+00
+  0.75895454E+02  0.00000000E+00
+  0.75895454E+02  0.33840165E+01
+  0.75895454E+02  0.33840165E+01
+  0.75895454E+02  0.00000000E+00
+  0.75935448E+02  0.00000000E+00
+  0.75935448E+02  0.33840165E+01
+  0.75935448E+02  0.33840165E+01
+  0.75935448E+02  0.00000000E+00
+  0.75975449E+02  0.00000000E+00
+  0.75975449E+02  0.33840165E+01
+  0.75975449E+02  0.33840165E+01
+  0.75975449E+02  0.00000000E+00
+  0.76015450E+02  0.00000000E+00
+  0.76015450E+02  0.33840165E+01
+  0.76015450E+02  0.33840165E+01
+  0.76015450E+02  0.00000000E+00
+  0.76055450E+02  0.00000000E+00
+  0.76055450E+02  0.33840165E+01
+  0.76055450E+02  0.33840165E+01
+  0.76055450E+02  0.00000000E+00
+  0.76425354E+02  0.00000000E+00
+  0.76425354E+02  0.16920083E+01
+  0.76605453E+02  0.25380125E+01
+  0.76785553E+02  0.16920083E+01
+  0.76785553E+02  0.00000000E+00
+  0.77161789E+02  0.00000000E+00
+  0.77161789E+02  0.33840165E+01
+  0.77161789E+02  0.33840165E+01
+  0.77161789E+02  0.00000000E+00
+  0.77201790E+02  0.00000000E+00
+  0.77201790E+02  0.33840165E+01
+  0.77201790E+02  0.33840165E+01
+  0.77201790E+02  0.00000000E+00
+  0.77241791E+02  0.00000000E+00
+  0.77241791E+02  0.33840165E+01
+  0.77241791E+02  0.33840165E+01
+  0.77241791E+02  0.00000000E+00
+  0.77281792E+02  0.00000000E+00
+  0.77281792E+02  0.33840165E+01
+  0.77281792E+02  0.33840165E+01
+  0.77281792E+02  0.00000000E+00
+  0.77321793E+02  0.00000000E+00
+  0.77321793E+02  0.33840165E+01
+  0.77321793E+02  0.33840165E+01
+  0.77321793E+02  0.00000000E+00
+  0.77421692E+02  0.00000000E+00
+  0.77421692E+02  0.16920083E+01
+  0.77601791E+02  0.84600413E+00
+  0.77781891E+02  0.16920083E+01
+  0.77781891E+02  0.00000000E+00
+  0.78201790E+02  0.00000000E+00
+  0.78201790E+02  0.16920083E+01
+  0.79254227E+02  0.16920083E+01
+  0.79254227E+02  0.00000000E+00
+  0.79964226E+02  0.00000000E+00
+  0.79964226E+02  0.33840165E+01
+  0.79964226E+02  0.33840165E+01
+  0.79964226E+02  0.00000000E+00
+  0.80004227E+02  0.00000000E+00
+  0.80004227E+02  0.33840165E+01
+  0.80004227E+02  0.33840165E+01
+  0.80004227E+02  0.00000000E+00
+  0.80044228E+02  0.00000000E+00
+  0.80044228E+02  0.33840165E+01
+  0.80044228E+02  0.33840165E+01
+  0.80044228E+02  0.00000000E+00
+  0.80084229E+02  0.00000000E+00
+  0.80084229E+02  0.33840165E+01
+  0.80084229E+02  0.33840165E+01
+  0.80084229E+02  0.00000000E+00
+  0.80124229E+02  0.00000000E+00
+  0.80124229E+02  0.33840165E+01
+  0.80124229E+02  0.33840165E+01
+  0.80124229E+02  0.00000000E+00
+  0.80224129E+02  0.00000000E+00
+  0.80224129E+02  0.16920083E+01
+  0.80404228E+02  0.84600413E+00
+  0.80584328E+02  0.16920083E+01
+  0.80584328E+02  0.00000000E+00
+  0.81136124E+02  0.00000000E+00
+  0.81136124E+02  0.16920083E+01
+  0.81384224E+02  0.25380125E+01
+  0.81632324E+02  0.16920083E+01
+  0.81632324E+02  0.00000000E+00
+  0.81734230E+02  0.00000000E+00
+  0.81734230E+02  0.33840165E+01
+  0.81734230E+02  0.33840165E+01
+  0.81734230E+02  0.00000000E+00
+  0.81774231E+02  0.00000000E+00
+  0.81774231E+02  0.33840165E+01
+  0.81774231E+02  0.33840165E+01
+  0.81774231E+02  0.00000000E+00
+  0.81814224E+02  0.00000000E+00
+  0.81814224E+02  0.33840165E+01
+  0.81814224E+02  0.33840165E+01
+  0.81814224E+02  0.00000000E+00
+  0.81854225E+02  0.00000000E+00
+  0.81854225E+02  0.33840165E+01
+  0.81854225E+02  0.33840165E+01
+  0.81854225E+02  0.00000000E+00
+  0.81894226E+02  0.00000000E+00
+  0.81894226E+02  0.33840165E+01
+  0.81894226E+02  0.33840165E+01
+  0.81894226E+02  0.00000000E+00
+  0.82184128E+02  0.00000000E+00
+  0.82184128E+02  0.16920083E+01
+  0.82364227E+02  0.84600413E+00
+  0.82544327E+02  0.16920083E+01
+  0.82544327E+02  0.00000000E+00
+  0.94504128E+02  0.00000000E+00
+  0.94504128E+02  0.16920083E+01
+  0.94684227E+02  0.84600413E+00
+  0.94864326E+02  0.16920083E+01
+  0.94864326E+02  0.00000000E+00
+  0.95154228E+02  0.00000000E+00
+  0.95154228E+02  0.33840165E+01
+  0.95154228E+02  0.33840165E+01
+  0.95154228E+02  0.00000000E+00
+  0.95194229E+02  0.00000000E+00
+  0.95194229E+02  0.33840165E+01
+  0.95194229E+02  0.33840165E+01
+  0.95194229E+02  0.00000000E+00
+  0.95234230E+02  0.00000000E+00
+  0.95234230E+02  0.33840165E+01
+  0.95234230E+02  0.33840165E+01
+  0.95234230E+02  0.00000000E+00
+  0.95274223E+02  0.00000000E+00
+  0.95274223E+02  0.33840165E+01
+  0.95274223E+02  0.33840165E+01
+  0.95274223E+02  0.00000000E+00
+  0.95314224E+02  0.00000000E+00
+  0.95314224E+02  0.33840165E+01
+  0.95314224E+02  0.33840165E+01
+  0.95314224E+02  0.00000000E+00
+  0.95416130E+02  0.00000000E+00
+  0.95416130E+02  0.16920083E+01
+  0.95664230E+02  0.25380125E+01
+  0.95912331E+02  0.16920083E+01
+  0.95912331E+02  0.00000000E+00
+  0.96464127E+02  0.00000000E+00
+  0.96464127E+02  0.16920083E+01
+  0.96644226E+02  0.84600413E+00
+  0.96824326E+02  0.16920083E+01
+  0.96824326E+02  0.00000000E+00
+  0.96924225E+02  0.00000000E+00
+  0.96924225E+02  0.33840165E+01
+  0.96924225E+02  0.33840165E+01
+  0.96924225E+02  0.00000000E+00
+  0.96964226E+02  0.00000000E+00
+  0.96964226E+02  0.33840165E+01
+  0.96964226E+02  0.33840165E+01
+  0.96964226E+02  0.00000000E+00
+  0.97004227E+02  0.00000000E+00
+  0.97004227E+02  0.33840165E+01
+  0.97004227E+02  0.33840165E+01
+  0.97004227E+02  0.00000000E+00
+  0.97044228E+02  0.00000000E+00
+  0.97044228E+02  0.33840165E+01
+  0.97044228E+02  0.33840165E+01
+  0.97044228E+02  0.00000000E+00
+  0.97084229E+02  0.00000000E+00
+  0.97084229E+02  0.33840165E+01
+  0.97084229E+02  0.33840165E+01
+  0.97084229E+02  0.00000000E+00
+  0.97794228E+02  0.00000000E+00
+  0.97794228E+02  0.16920083E+01
+  0.98846664E+02  0.16920083E+01
+  0.98846664E+02  0.00000000E+00
+  0.99266563E+02  0.00000000E+00
+  0.99266563E+02  0.16920083E+01
+  0.99446663E+02  0.84600413E+00
+  0.99626762E+02  0.16920083E+01
+  0.99626762E+02  0.00000000E+00
+  0.99726662E+02  0.00000000E+00
+  0.99726662E+02  0.33840165E+01
+  0.99726662E+02  0.33840165E+01
+  0.99726662E+02  0.00000000E+00
+  0.99766663E+02  0.00000000E+00
+  0.99766663E+02  0.33840165E+01
+  0.99766663E+02  0.33840165E+01
+  0.99766663E+02  0.00000000E+00
+  0.99806664E+02  0.00000000E+00
+  0.99806664E+02  0.33840165E+01
+  0.99806664E+02  0.33840165E+01
+  0.99806664E+02  0.00000000E+00
+  0.99846664E+02  0.00000000E+00
+  0.99846664E+02  0.33840165E+01
+  0.99846664E+02  0.33840165E+01
+  0.99846664E+02  0.00000000E+00
+  0.99886665E+02  0.00000000E+00
+  0.99886665E+02  0.33840165E+01
+  0.99886665E+02  0.33840165E+01
+  0.99886665E+02  0.00000000E+00
+  0.10026290E+03  0.00000000E+00
+  0.10026290E+03  0.16920083E+01
+  0.10044300E+03  0.25380125E+01
+  0.10062310E+03  0.16920083E+01
+  0.10062310E+03  0.00000000E+00
+  0.10099300E+03  0.00000000E+00
+  0.10099300E+03  0.33840165E+01
+  0.10099300E+03  0.33840165E+01
+  0.10099300E+03  0.00000000E+00
+  0.10103300E+03  0.00000000E+00
+  0.10103300E+03  0.33840165E+01
+  0.10103300E+03  0.33840165E+01
+  0.10103300E+03  0.00000000E+00
+  0.10107301E+03  0.00000000E+00
+  0.10107301E+03  0.33840165E+01
+  0.10107301E+03  0.33840165E+01
+  0.10107301E+03  0.00000000E+00
+  0.10111301E+03  0.00000000E+00
+  0.10111301E+03  0.33840165E+01
+  0.10111301E+03  0.33840165E+01
+  0.10111301E+03  0.00000000E+00
+  0.10115300E+03  0.00000000E+00
+  0.10115300E+03  0.33840165E+01
+  0.10115300E+03  0.33840165E+01
+  0.10115300E+03  0.00000000E+00
+  0.10152290E+03  0.00000000E+00
+  0.10152290E+03  0.16920083E+01
+  0.10170300E+03  0.25380125E+01
+  0.10188310E+03  0.16920083E+01
+  0.10188310E+03  0.00000000E+00
+  0.10225935E+03  0.00000000E+00
+  0.10225935E+03  0.33840165E+01
+  0.10225935E+03  0.33840165E+01
+  0.10225935E+03  0.00000000E+00
+  0.10229934E+03  0.00000000E+00
+  0.10229934E+03  0.33840165E+01
+  0.10229934E+03  0.33840165E+01
+  0.10229934E+03  0.00000000E+00
+  0.10233934E+03  0.00000000E+00
+  0.10233934E+03  0.33840165E+01
+  0.10233934E+03  0.33840165E+01
+  0.10233934E+03  0.00000000E+00
+  0.10237934E+03  0.00000000E+00
+  0.10237934E+03  0.33840165E+01
+  0.10237934E+03  0.33840165E+01
+  0.10237934E+03  0.00000000E+00
+  0.10241934E+03  0.00000000E+00
+  0.10241934E+03  0.33840165E+01
+  0.10241934E+03  0.33840165E+01
+  0.10241934E+03  0.00000000E+00
+  0.10251924E+03  0.00000000E+00
+  0.10251924E+03  0.16920083E+01
+  0.10269934E+03  0.84600413E+00
+  0.10287944E+03  0.16920083E+01
+  0.10287944E+03  0.00000000E+00
+  0.10329934E+03  0.00000000E+00
+  0.10329934E+03  0.16920083E+01
+  0.10435178E+03  0.16920083E+01
+  0.10435178E+03  0.00000000E+00
+  0.10477168E+03  0.00000000E+00
+  0.10477168E+03  0.16920083E+01
+  0.10495178E+03  0.84600413E+00
+  0.10513188E+03  0.16920083E+01
+  0.10513188E+03  0.00000000E+00
+  0.10523178E+03  0.00000000E+00
+  0.10523178E+03  0.33840165E+01
+  0.10523178E+03  0.33840165E+01
+  0.10523178E+03  0.00000000E+00
+  0.10527178E+03  0.00000000E+00
+  0.10527178E+03  0.33840165E+01
+  0.10527178E+03  0.33840165E+01
+  0.10527178E+03  0.00000000E+00
+  0.10531178E+03  0.00000000E+00
+  0.10531178E+03  0.33840165E+01
+  0.10531178E+03  0.33840165E+01
+  0.10531178E+03  0.00000000E+00
+  0.10535178E+03  0.00000000E+00
+  0.10535178E+03  0.33840165E+01
+  0.10535178E+03  0.33840165E+01
+  0.10535178E+03  0.00000000E+00
+  0.10539178E+03  0.00000000E+00
+  0.10539178E+03  0.33840165E+01
+  0.10539178E+03  0.33840165E+01
+  0.10539178E+03  0.00000000E+00
+  0.10568368E+03  0.00000000E+00
+  0.10568368E+03  0.16920083E+01
+  0.10593178E+03  0.25380125E+01
+  0.10617988E+03  0.16920083E+01
+  0.10617988E+03  0.00000000E+00
+  0.10628178E+03  0.00000000E+00
+  0.10628178E+03  0.33840165E+01
+  0.10628178E+03  0.33840165E+01
+  0.10628178E+03  0.00000000E+00
+  0.10632178E+03  0.00000000E+00
+  0.10632178E+03  0.33840165E+01
+  0.10632178E+03  0.33840165E+01
+  0.10632178E+03  0.00000000E+00
+  0.10636178E+03  0.00000000E+00
+  0.10636178E+03  0.33840165E+01
+  0.10636178E+03  0.33840165E+01
+  0.10636178E+03  0.00000000E+00
+  0.10640178E+03  0.00000000E+00
+  0.10640178E+03  0.33840165E+01
+  0.10640178E+03  0.33840165E+01
+  0.10640178E+03  0.00000000E+00
+  0.10644178E+03  0.00000000E+00
+  0.10644178E+03  0.33840165E+01
+  0.10644178E+03  0.33840165E+01
+  0.10644178E+03  0.00000000E+00
+  0.10673168E+03  0.00000000E+00
+  0.10673168E+03  0.16920083E+01
+  0.10691178E+03  0.84600413E+00
+  0.10709188E+03  0.16920083E+01
+  0.10709188E+03  0.00000000E+00
+  0.11401678E+03  0.00000000E+00
+  0.11401678E+03  0.16920083E+01
+  0.11419688E+03  0.84600413E+00
+  0.11437698E+03  0.16920083E+01
+  0.11437698E+03  0.00000000E+00
+  0.11466688E+03  0.00000000E+00
+  0.11466688E+03  0.33840165E+01
+  0.11466688E+03  0.33840165E+01
+  0.11466688E+03  0.00000000E+00
+  0.11470688E+03  0.00000000E+00
+  0.11470688E+03  0.33840165E+01
+  0.11470688E+03  0.33840165E+01
+  0.11470688E+03  0.00000000E+00
+  0.11474688E+03  0.00000000E+00
+  0.11474688E+03  0.33840165E+01
+  0.11474688E+03  0.33840165E+01
+  0.11474688E+03  0.00000000E+00
+  0.11478688E+03  0.00000000E+00
+  0.11478688E+03  0.33840165E+01
+  0.11478688E+03  0.33840165E+01
+  0.11478688E+03  0.00000000E+00
+  0.11482688E+03  0.00000000E+00
+  0.11482688E+03  0.33840165E+01
+  0.11482688E+03  0.33840165E+01
+  0.11482688E+03  0.00000000E+00
+  0.11492878E+03  0.00000000E+00
+  0.11492878E+03  0.16920083E+01
+  0.11517688E+03  0.25380125E+01
+  0.11542498E+03  0.16920083E+01
+  0.11542498E+03  0.00000000E+00
+  0.11571688E+03  0.00000000E+00
+  0.11571688E+03  0.33840165E+01
+  0.11571688E+03  0.33840165E+01
+  0.11571688E+03  0.00000000E+00
+  0.11575688E+03  0.00000000E+00
+  0.11575688E+03  0.33840165E+01
+  0.11575688E+03  0.33840165E+01
+  0.11575688E+03  0.00000000E+00
+  0.11579688E+03  0.00000000E+00
+  0.11579688E+03  0.33840165E+01
+  0.11579688E+03  0.33840165E+01
+  0.11579688E+03  0.00000000E+00
+  0.11583688E+03  0.00000000E+00
+  0.11583688E+03  0.33840165E+01
+  0.11583688E+03  0.33840165E+01
+  0.11583688E+03  0.00000000E+00
+  0.11587688E+03  0.00000000E+00
+  0.11587688E+03  0.33840165E+01
+  0.11587688E+03  0.33840165E+01
+  0.11587688E+03  0.00000000E+00
+  0.11597678E+03  0.00000000E+00
+  0.11597678E+03  0.16920083E+01
+  0.11615688E+03  0.84600413E+00
+  0.11633698E+03  0.16920083E+01
+  0.11633698E+03  0.00000000E+00
+  0.11675688E+03  0.00000000E+00
+  0.11675688E+03  0.16920083E+01
+  0.11780932E+03  0.16920083E+01
+  0.11780932E+03  0.00000000E+00
+  0.11822922E+03  0.00000000E+00
+  0.11822922E+03  0.16920083E+01
+  0.11840932E+03  0.84600413E+00
+  0.11858942E+03  0.16920083E+01
+  0.11858942E+03  0.00000000E+00
+  0.11868932E+03  0.00000000E+00
+  0.11868932E+03  0.33840165E+01
+  0.11868932E+03  0.33840165E+01
+  0.11868932E+03  0.00000000E+00
+  0.11872932E+03  0.00000000E+00
+  0.11872932E+03  0.33840165E+01
+  0.11872932E+03  0.33840165E+01
+  0.11872932E+03  0.00000000E+00
+  0.11876932E+03  0.00000000E+00
+  0.11876932E+03  0.33840165E+01
+  0.11876932E+03  0.33840165E+01
+  0.11876932E+03  0.00000000E+00
+  0.11880932E+03  0.00000000E+00
+  0.11880932E+03  0.33840165E+01
+  0.11880932E+03  0.33840165E+01
+  0.11880932E+03  0.00000000E+00
+  0.11884931E+03  0.00000000E+00
+  0.11884931E+03  0.33840165E+01
+  0.11884931E+03  0.33840165E+01
+  0.11884931E+03  0.00000000E+00
+  0.11922556E+03  0.00000000E+00
+  0.11922556E+03  0.16920083E+01
+  0.11940565E+03  0.25380125E+01
+  0.11958575E+03  0.16920083E+01
+  0.11958575E+03  0.00000000E+00
+  0.11968565E+03  0.00000000E+00
+  0.11968565E+03  0.33840165E+01
+  0.11968565E+03  0.33840165E+01
+  0.11968565E+03  0.00000000E+00
+  0.11972565E+03  0.00000000E+00
+  0.11972565E+03  0.33840165E+01
+  0.11972565E+03  0.33840165E+01
+  0.11972565E+03  0.00000000E+00
+  0.11976566E+03  0.00000000E+00
+  0.11976566E+03  0.33840165E+01
+  0.11976566E+03  0.33840165E+01
+  0.11976566E+03  0.00000000E+00
+  0.11980566E+03  0.00000000E+00
+  0.11980566E+03  0.33840165E+01
+  0.11980566E+03  0.33840165E+01
+  0.11980566E+03  0.00000000E+00
+  0.11984566E+03  0.00000000E+00
+  0.11984566E+03  0.33840165E+01
+  0.11984566E+03  0.33840165E+01
+  0.11984566E+03  0.00000000E+00
+  0.12349502E+03  0.00000000E+00
+  0.12349502E+03  0.33840165E+01
+  0.12349502E+03  0.33840165E+01
+  0.12349502E+03  0.00000000E+00
+  0.12353501E+03  0.00000000E+00
+  0.12353501E+03  0.33840165E+01
+  0.12353501E+03  0.33840165E+01
+  0.12353501E+03  0.00000000E+00
+  0.12357501E+03  0.00000000E+00
+  0.12357501E+03  0.33840165E+01
+  0.12357501E+03  0.33840165E+01
+  0.12357501E+03  0.00000000E+00
+  0.12361501E+03  0.00000000E+00
+  0.12361501E+03  0.33840165E+01
+  0.12361501E+03  0.33840165E+01
+  0.12361501E+03  0.00000000E+00
+  0.12365501E+03  0.00000000E+00
+  0.12365501E+03  0.33840165E+01
+  0.12365501E+03  0.33840165E+01
+  0.12365501E+03  0.00000000E+00
+  0.12375491E+03  0.00000000E+00
+  0.12375491E+03  0.16920083E+01
+  0.12393501E+03  0.25380125E+01
+  0.12411511E+03  0.16920083E+01
+  0.12411511E+03  0.00000000E+00
+  0.12449136E+03  0.00000000E+00
+  0.12449136E+03  0.33840165E+01
+  0.12449136E+03  0.33840165E+01
+  0.12449136E+03  0.00000000E+00
+  0.12453136E+03  0.00000000E+00
+  0.12453136E+03  0.33840165E+01
+  0.12453136E+03  0.33840165E+01
+  0.12453136E+03  0.00000000E+00
+  0.12457136E+03  0.00000000E+00
+  0.12457136E+03  0.33840165E+01
+  0.12457136E+03  0.33840165E+01
+  0.12457136E+03  0.00000000E+00
+  0.12461135E+03  0.00000000E+00
+  0.12461135E+03  0.33840165E+01
+  0.12461135E+03  0.33840165E+01
+  0.12461135E+03  0.00000000E+00
+  0.12465135E+03  0.00000000E+00
+  0.12465135E+03  0.33840165E+01
+  0.12465135E+03  0.33840165E+01
+  0.12465135E+03  0.00000000E+00
+  0.12475125E+03  0.00000000E+00
+  0.12475125E+03  0.16920083E+01
+  0.12493135E+03  0.84600413E+00
+  0.12511146E+03  0.16920083E+01
+  0.12511146E+03  0.00000000E+00
+  0.12553136E+03  0.00000000E+00
+  0.12553136E+03  0.16920083E+01
+  0.12658379E+03  0.16920083E+01
+  0.12658379E+03  0.00000000E+00
+  0.12700369E+03  0.00000000E+00
+  0.12700369E+03  0.16920083E+01
+  0.12718379E+03  0.84600413E+00
+  0.12736389E+03  0.16920083E+01
+  0.12736389E+03  0.00000000E+00
+  0.12746379E+03  0.00000000E+00
+  0.12746379E+03  0.33840165E+01
+  0.12746379E+03  0.33840165E+01
+  0.12746379E+03  0.00000000E+00
+  0.12750379E+03  0.00000000E+00
+  0.12750379E+03  0.33840165E+01
+  0.12750379E+03  0.33840165E+01
+  0.12750379E+03  0.00000000E+00
+  0.12754379E+03  0.00000000E+00
+  0.12754379E+03  0.33840165E+01
+  0.12754379E+03  0.33840165E+01
+  0.12754379E+03  0.00000000E+00
+  0.12758379E+03  0.00000000E+00
+  0.12758379E+03  0.33840165E+01
+  0.12758379E+03  0.33840165E+01
+  0.12758379E+03  0.00000000E+00
+  0.12762379E+03  0.00000000E+00
+  0.12762379E+03  0.33840165E+01
+  0.12762379E+03  0.33840165E+01
+  0.12762379E+03  0.00000000E+00
+  0.12791569E+03  0.00000000E+00
+  0.12791569E+03  0.16920083E+01
+  0.12816379E+03  0.25380125E+01
+  0.12841190E+03  0.16920083E+01
+  0.12841190E+03  0.00000000E+00
+  0.12851379E+03  0.00000000E+00
+  0.12851379E+03  0.33840165E+01
+  0.12851379E+03  0.33840165E+01
+  0.12851379E+03  0.00000000E+00
+  0.12855379E+03  0.00000000E+00
+  0.12855379E+03  0.33840165E+01
+  0.12855379E+03  0.33840165E+01
+  0.12855379E+03  0.00000000E+00
+  0.12859380E+03  0.00000000E+00
+  0.12859380E+03  0.33840165E+01
+  0.12859380E+03  0.33840165E+01
+  0.12859380E+03  0.00000000E+00
+  0.12863379E+03  0.00000000E+00
+  0.12863379E+03  0.33840165E+01
+  0.12863379E+03  0.33840165E+01
+  0.12863379E+03  0.00000000E+00
+  0.12867380E+03  0.00000000E+00
+  0.12867380E+03  0.33840165E+01
+  0.12867380E+03  0.33840165E+01
+  0.12867380E+03  0.00000000E+00
+  0.12896368E+03  0.00000000E+00
+  0.12896368E+03  0.16920083E+01
+  0.12914378E+03  0.84600413E+00
+  0.12932388E+03  0.16920083E+01
+  0.12932388E+03  0.00000000E+00
+  0.13624879E+03  0.00000000E+00
+  0.13624879E+03  0.16920083E+01
+  0.13642889E+03  0.84600413E+00
+  0.13660899E+03  0.16920083E+01
+  0.13660899E+03  0.00000000E+00
+  0.13689890E+03  0.00000000E+00
+  0.13689890E+03  0.33840165E+01
+  0.13689890E+03  0.33840165E+01
+  0.13689890E+03  0.00000000E+00
+  0.13693889E+03  0.00000000E+00
+  0.13693889E+03  0.33840165E+01
+  0.13693889E+03  0.33840165E+01
+  0.13693889E+03  0.00000000E+00
+  0.13697890E+03  0.00000000E+00
+  0.13697890E+03  0.33840165E+01
+  0.13697890E+03  0.33840165E+01
+  0.13697890E+03  0.00000000E+00
+  0.13701889E+03  0.00000000E+00
+  0.13701889E+03  0.33840165E+01
+  0.13701889E+03  0.33840165E+01
+  0.13701889E+03  0.00000000E+00
+  0.13705888E+03  0.00000000E+00
+  0.13705888E+03  0.33840165E+01
+  0.13705888E+03  0.33840165E+01
+  0.13705888E+03  0.00000000E+00
+  0.13716080E+03  0.00000000E+00
+  0.13716080E+03  0.16920083E+01
+  0.13740891E+03  0.25380125E+01
+  0.13765700E+03  0.16920083E+01
+  0.13765700E+03  0.00000000E+00
+  0.13794888E+03  0.00000000E+00
+  0.13794888E+03  0.33840165E+01
+  0.13794888E+03  0.33840165E+01
+  0.13794888E+03  0.00000000E+00
+  0.13798889E+03  0.00000000E+00
+  0.13798889E+03  0.33840165E+01
+  0.13798889E+03  0.33840165E+01
+  0.13798889E+03  0.00000000E+00
+  0.13802888E+03  0.00000000E+00
+  0.13802888E+03  0.33840165E+01
+  0.13802888E+03  0.33840165E+01
+  0.13802888E+03  0.00000000E+00
+  0.13806889E+03  0.00000000E+00
+  0.13806889E+03  0.33840165E+01
+  0.13806889E+03  0.33840165E+01
+  0.13806889E+03  0.00000000E+00
+  0.13810889E+03  0.00000000E+00
+  0.13810889E+03  0.33840165E+01
+  0.13810889E+03  0.33840165E+01
+  0.13810889E+03  0.00000000E+00
+  0.13820879E+03  0.00000000E+00
+  0.13820879E+03  0.16920083E+01
+  0.13838889E+03  0.84600413E+00
+  0.13856898E+03  0.16920083E+01
+  0.13856898E+03  0.00000000E+00
+  0.13898889E+03  0.00000000E+00
+  0.13898889E+03  0.16920083E+01
+  0.14004132E+03  0.16920083E+01
+  0.14004132E+03  0.00000000E+00
+  0.14046123E+03  0.00000000E+00
+  0.14046123E+03  0.16920083E+01
+  0.14064133E+03  0.84600413E+00
+  0.14082143E+03  0.16920083E+01
+  0.14082143E+03  0.00000000E+00
+  0.14092133E+03  0.00000000E+00
+  0.14092133E+03  0.33840165E+01
+  0.14092133E+03  0.33840165E+01
+  0.14092133E+03  0.00000000E+00
+  0.14096133E+03  0.00000000E+00
+  0.14096133E+03  0.33840165E+01
+  0.14096133E+03  0.33840165E+01
+  0.14096133E+03  0.00000000E+00
+  0.14100133E+03  0.00000000E+00
+  0.14100133E+03  0.33840165E+01
+  0.14100133E+03  0.33840165E+01
+  0.14100133E+03  0.00000000E+00
+  0.14104132E+03  0.00000000E+00
+  0.14104132E+03  0.33840165E+01
+  0.14104132E+03  0.33840165E+01
+  0.14104132E+03  0.00000000E+00
+  0.14108133E+03  0.00000000E+00
+  0.14108133E+03  0.33840165E+01
+  0.14108133E+03  0.33840165E+01
+  0.14108133E+03  0.00000000E+00
+  0.14145757E+03  0.00000000E+00
+  0.14145757E+03  0.16920083E+01
+  0.14163766E+03  0.25380125E+01
+  0.14181776E+03  0.16920083E+01
+  0.14181776E+03  0.00000000E+00
+  0.14191766E+03  0.00000000E+00
+  0.14191766E+03  0.33840165E+01
+  0.14191766E+03  0.33840165E+01
+  0.14191766E+03  0.00000000E+00
+  0.14195767E+03  0.00000000E+00
+  0.14195767E+03  0.33840165E+01
+  0.14195767E+03  0.33840165E+01
+  0.14195767E+03  0.00000000E+00
+  0.14199767E+03  0.00000000E+00
+  0.14199767E+03  0.33840165E+01
+  0.14199767E+03  0.33840165E+01
+  0.14199767E+03  0.00000000E+00
+  0.14203767E+03  0.00000000E+00
+  0.14203767E+03  0.33840165E+01
+  0.14203767E+03  0.33840165E+01
+  0.14203767E+03  0.00000000E+00
+  0.14207767E+03  0.00000000E+00
+  0.14207767E+03  0.33840165E+01
+  0.14207767E+03  0.33840165E+01
+  0.14207767E+03  0.00000000E+00
+  0.14572702E+03  0.00000000E+00
+  0.14572702E+03  0.33840165E+01
+  0.14572702E+03  0.33840165E+01
+  0.14572702E+03  0.00000000E+00
+  0.14576703E+03  0.00000000E+00
+  0.14576703E+03  0.33840165E+01
+  0.14576703E+03  0.33840165E+01
+  0.14576703E+03  0.00000000E+00
+  0.14580702E+03  0.00000000E+00
+  0.14580702E+03  0.33840165E+01
+  0.14580702E+03  0.33840165E+01
+  0.14580702E+03  0.00000000E+00
+  0.14584703E+03  0.00000000E+00
+  0.14584703E+03  0.33840165E+01
+  0.14584703E+03  0.33840165E+01
+  0.14584703E+03  0.00000000E+00
+  0.14588702E+03  0.00000000E+00
+  0.14588702E+03  0.33840165E+01
+  0.14588702E+03  0.33840165E+01
+  0.14588702E+03  0.00000000E+00
+  0.14598692E+03  0.00000000E+00
+  0.14598692E+03  0.16920083E+01
+  0.14616702E+03  0.25380125E+01
+  0.14634712E+03  0.16920083E+01
+  0.14634712E+03  0.00000000E+00
+  0.14672337E+03  0.00000000E+00
+  0.14672337E+03  0.33840165E+01
+  0.14672337E+03  0.33840165E+01
+  0.14672337E+03  0.00000000E+00
+  0.14676337E+03  0.00000000E+00
+  0.14676337E+03  0.33840165E+01
+  0.14676337E+03  0.33840165E+01
+  0.14676337E+03  0.00000000E+00
+  0.14680336E+03  0.00000000E+00
+  0.14680336E+03  0.33840165E+01
+  0.14680336E+03  0.33840165E+01
+  0.14680336E+03  0.00000000E+00
+  0.14684337E+03  0.00000000E+00
+  0.14684337E+03  0.33840165E+01
+  0.14684337E+03  0.33840165E+01
+  0.14684337E+03  0.00000000E+00
+  0.14688336E+03  0.00000000E+00
+  0.14688336E+03  0.33840165E+01
+  0.14688336E+03  0.33840165E+01
+  0.14688336E+03  0.00000000E+00
+  0.14698326E+03  0.00000000E+00
+  0.14698326E+03  0.16920083E+01
+  0.14716336E+03  0.84600413E+00
+  0.14734346E+03  0.16920083E+01
+  0.14734346E+03  0.00000000E+00
+  0.14776337E+03  0.00000000E+00
+  0.14776337E+03  0.16920083E+01
+  0.14881580E+03  0.16920083E+01
+  0.14881580E+03  0.00000000E+00
+  0.14923570E+03  0.00000000E+00
+  0.14923570E+03  0.16920083E+01
+  0.14941580E+03  0.84600413E+00
+  0.14959590E+03  0.16920083E+01
+  0.14959590E+03  0.00000000E+00
+  0.14969580E+03  0.00000000E+00
+  0.14969580E+03  0.33840165E+01
+  0.14969580E+03  0.33840165E+01
+  0.14969580E+03  0.00000000E+00
+  0.14973581E+03  0.00000000E+00
+  0.14973581E+03  0.33840165E+01
+  0.14973581E+03  0.33840165E+01
+  0.14973581E+03  0.00000000E+00
+  0.14977580E+03  0.00000000E+00
+  0.14977580E+03  0.33840165E+01
+  0.14977580E+03  0.33840165E+01
+  0.14977580E+03  0.00000000E+00
+  0.14981580E+03  0.00000000E+00
+  0.14981580E+03  0.33840165E+01
+  0.14981580E+03  0.33840165E+01
+  0.14981580E+03  0.00000000E+00
+  0.14985580E+03  0.00000000E+00
+  0.14985580E+03  0.33840165E+01
+  0.14985580E+03  0.33840165E+01
+  0.14985580E+03  0.00000000E+00
+  0.15014771E+03  0.00000000E+00
+  0.15014771E+03  0.16920083E+01
+  0.15039581E+03  0.25380125E+01
+  0.15064391E+03  0.16920083E+01
+  0.15064391E+03  0.00000000E+00
+  0.15074580E+03  0.00000000E+00
+  0.15074580E+03  0.33840165E+01
+  0.15074580E+03  0.33840165E+01
+  0.15074580E+03  0.00000000E+00
+  0.15078580E+03  0.00000000E+00
+  0.15078580E+03  0.33840165E+01
+  0.15078580E+03  0.33840165E+01
+  0.15078580E+03  0.00000000E+00
+  0.15082581E+03  0.00000000E+00
+  0.15082581E+03  0.33840165E+01
+  0.15082581E+03  0.33840165E+01
+  0.15082581E+03  0.00000000E+00
+  0.15086580E+03  0.00000000E+00
+  0.15086580E+03  0.33840165E+01
+  0.15086580E+03  0.33840165E+01
+  0.15086580E+03  0.00000000E+00
+  0.15090581E+03  0.00000000E+00
+  0.15090581E+03  0.33840165E+01
+  0.15090581E+03  0.33840165E+01
+  0.15090581E+03  0.00000000E+00
+  0.15119571E+03  0.00000000E+00
+  0.15119571E+03  0.16920083E+01
+  0.15137581E+03  0.84600413E+00
+  0.15155591E+03  0.16920083E+01
+  0.15155591E+03  0.00000000E+00
+  0.15848080E+03  0.00000000E+00
+  0.15848080E+03  0.16920083E+01
+  0.15866090E+03  0.84600413E+00
+  0.15884100E+03  0.16920083E+01
+  0.15884100E+03  0.00000000E+00
+  0.15913091E+03  0.00000000E+00
+  0.15913091E+03  0.33840165E+01
+  0.15913091E+03  0.33840165E+01
+  0.15913091E+03  0.00000000E+00
+  0.15917090E+03  0.00000000E+00
+  0.15917090E+03  0.33840165E+01
+  0.15917090E+03  0.33840165E+01
+  0.15917090E+03  0.00000000E+00
+  0.15921091E+03  0.00000000E+00
+  0.15921091E+03  0.33840165E+01
+  0.15921091E+03  0.33840165E+01
+  0.15921091E+03  0.00000000E+00
+  0.15925090E+03  0.00000000E+00
+  0.15925090E+03  0.33840165E+01
+  0.15925090E+03  0.33840165E+01
+  0.15925090E+03  0.00000000E+00
+  0.15929091E+03  0.00000000E+00
+  0.15929091E+03  0.33840165E+01
+  0.15929091E+03  0.33840165E+01
+  0.15929091E+03  0.00000000E+00
+  0.15939281E+03  0.00000000E+00
+  0.15939281E+03  0.16920083E+01
+  0.15964090E+03  0.25380125E+01
+  0.15988901E+03  0.16920083E+01
+  0.15988901E+03  0.00000000E+00
+  0.16018091E+03  0.00000000E+00
+  0.16018091E+03  0.33840165E+01
+  0.16018091E+03  0.33840165E+01
+  0.16018091E+03  0.00000000E+00
+  0.16022090E+03  0.00000000E+00
+  0.16022090E+03  0.33840165E+01
+  0.16022090E+03  0.33840165E+01
+  0.16022090E+03  0.00000000E+00
+  0.16026091E+03  0.00000000E+00
+  0.16026091E+03  0.33840165E+01
+  0.16026091E+03  0.33840165E+01
+  0.16026091E+03  0.00000000E+00
+  0.16030090E+03  0.00000000E+00
+  0.16030090E+03  0.33840165E+01
+  0.16030090E+03  0.33840165E+01
+  0.16030090E+03  0.00000000E+00
+  0.16034090E+03  0.00000000E+00
+  0.16034090E+03  0.33840165E+01
+  0.16034090E+03  0.33840165E+01
+  0.16034090E+03  0.00000000E+00
+  0.16044080E+03  0.00000000E+00
+  0.16044080E+03  0.16920083E+01
+  0.16062090E+03  0.84600413E+00
+  0.16080099E+03  0.16920083E+01
+  0.16080099E+03  0.00000000E+00
+  0.16122090E+03  0.00000000E+00
+  0.16122090E+03  0.16920083E+01
+  0.16227335E+03  0.16920083E+01
+  0.16227335E+03  0.00000000E+00
+  0.16269324E+03  0.00000000E+00
+  0.16269324E+03  0.16920083E+01
+  0.16287334E+03  0.84600413E+00
+  0.16305344E+03  0.16920083E+01
+  0.16305344E+03  0.00000000E+00
+  0.16315334E+03  0.00000000E+00
+  0.16315334E+03  0.33840165E+01
+  0.16315334E+03  0.33840165E+01
+  0.16315334E+03  0.00000000E+00
+  0.16319334E+03  0.00000000E+00
+  0.16319334E+03  0.33840165E+01
+  0.16319334E+03  0.33840165E+01
+  0.16319334E+03  0.00000000E+00
+  0.16323334E+03  0.00000000E+00
+  0.16323334E+03  0.33840165E+01
+  0.16323334E+03  0.33840165E+01
+  0.16323334E+03  0.00000000E+00
+  0.16327335E+03  0.00000000E+00
+  0.16327335E+03  0.33840165E+01
+  0.16327335E+03  0.33840165E+01
+  0.16327335E+03  0.00000000E+00
+  0.16331334E+03  0.00000000E+00
+  0.16331334E+03  0.33840165E+01
+  0.16331334E+03  0.33840165E+01
+  0.16331334E+03  0.00000000E+00
+  0.16368958E+03  0.00000000E+00
+  0.16368958E+03  0.16920083E+01
+  0.16386967E+03  0.25380125E+01
+  0.16404977E+03  0.16920083E+01
+  0.16404977E+03  0.00000000E+00
+  0.16441968E+03  0.00000000E+00
+  0.16441968E+03  0.33840165E+01
+  0.16441968E+03  0.33840165E+01
+  0.16441968E+03  0.00000000E+00
+  0.16445967E+03  0.00000000E+00
+  0.16445967E+03  0.33840165E+01
+  0.16445967E+03  0.33840165E+01
+  0.16445967E+03  0.00000000E+00
+  0.16449968E+03  0.00000000E+00
+  0.16449968E+03  0.33840165E+01
+  0.16449968E+03  0.33840165E+01
+  0.16449968E+03  0.00000000E+00
+  0.16453967E+03  0.00000000E+00
+  0.16453967E+03  0.33840165E+01
+  0.16453967E+03  0.33840165E+01
+  0.16453967E+03  0.00000000E+00
+  0.16457968E+03  0.00000000E+00
+  0.16457968E+03  0.33840165E+01
+  0.16457968E+03  0.33840165E+01
+  0.16457968E+03  0.00000000E+00
+  0.16494958E+03  0.00000000E+00
+  0.16494958E+03  0.16920083E+01
+  0.16512968E+03  0.25380125E+01
+  0.16530978E+03  0.16920083E+01
+  0.16530978E+03  0.00000000E+00
+  0.16568602E+03  0.00000000E+00
+  0.16568602E+03  0.33840165E+01
+  0.16568602E+03  0.33840165E+01
+  0.16568602E+03  0.00000000E+00
+  0.16572601E+03  0.00000000E+00
+  0.16572601E+03  0.33840165E+01
+  0.16572601E+03  0.33840165E+01
+  0.16572601E+03  0.00000000E+00
+  0.16576602E+03  0.00000000E+00
+  0.16576602E+03  0.33840165E+01
+  0.16576602E+03  0.33840165E+01
+  0.16576602E+03  0.00000000E+00
+  0.16580602E+03  0.00000000E+00
+  0.16580602E+03  0.33840165E+01
+  0.16580602E+03  0.33840165E+01
+  0.16580602E+03  0.00000000E+00
+  0.16584602E+03  0.00000000E+00
+  0.16584602E+03  0.33840165E+01
+  0.16584602E+03  0.33840165E+01
+  0.16584602E+03  0.00000000E+00
+  0.16594592E+03  0.00000000E+00
+  0.16594592E+03  0.16920083E+01
+  0.16612602E+03  0.84600413E+00
+  0.16630612E+03  0.16920083E+01
+  0.16630612E+03  0.00000000E+00
+  0.16672601E+03  0.00000000E+00
+  0.16672601E+03  0.16920083E+01
+  0.16777846E+03  0.16920083E+01
+  0.16777846E+03  0.00000000E+00
+  0.16848845E+03  0.00000000E+00
+  0.16848845E+03  0.33840165E+01
+  0.16848845E+03  0.33840165E+01
+  0.16848845E+03  0.00000000E+00
+  0.16852846E+03  0.00000000E+00
+  0.16852846E+03  0.33840165E+01
+  0.16852846E+03  0.33840165E+01
+  0.16852846E+03  0.00000000E+00
+  0.16856845E+03  0.00000000E+00
+  0.16856845E+03  0.33840165E+01
+  0.16856845E+03  0.33840165E+01
+  0.16856845E+03  0.00000000E+00
+  0.16860846E+03  0.00000000E+00
+  0.16860846E+03  0.33840165E+01
+  0.16860846E+03  0.33840165E+01
+  0.16860846E+03  0.00000000E+00
+  0.16864845E+03  0.00000000E+00
+  0.16864845E+03  0.33840165E+01
+  0.16864845E+03  0.33840165E+01
+  0.16864845E+03  0.00000000E+00
+  0.16874835E+03  0.00000000E+00
+  0.16874835E+03  0.16920083E+01
+  0.16892845E+03  0.84600413E+00
+  0.16910855E+03  0.16920083E+01
+  0.16910855E+03  0.00000000E+00
+  0.16966035E+03  0.00000000E+00
+  0.16966035E+03  0.16920083E+01
+  0.16990845E+03  0.25380125E+01
+  0.17015656E+03  0.16920083E+01
+  0.17015656E+03  0.00000000E+00
+  0.17025845E+03  0.00000000E+00
+  0.17025845E+03  0.33840165E+01
+  0.17025845E+03  0.33840165E+01
+  0.17025845E+03  0.00000000E+00
+  0.17029846E+03  0.00000000E+00
+  0.17029846E+03  0.33840165E+01
+  0.17029846E+03  0.33840165E+01
+  0.17029846E+03  0.00000000E+00
+  0.17033846E+03  0.00000000E+00
+  0.17033846E+03  0.33840165E+01
+  0.17033846E+03  0.33840165E+01
+  0.17033846E+03  0.00000000E+00
+  0.17037845E+03  0.00000000E+00
+  0.17037845E+03  0.33840165E+01
+  0.17037845E+03  0.33840165E+01
+  0.17037845E+03  0.00000000E+00
+  0.17041846E+03  0.00000000E+00
+  0.17041846E+03  0.33840165E+01
+  0.17041846E+03  0.33840165E+01
+  0.17041846E+03  0.00000000E+00
+  0.17070836E+03  0.00000000E+00
+  0.17070836E+03  0.16920083E+01
+  0.17088846E+03  0.84600413E+00
+  0.17106856E+03  0.16920083E+01
+  0.17106856E+03  0.00000000E+00
+  0.18302835E+03  0.00000000E+00
+  0.18302835E+03  0.16920083E+01
+  0.18320845E+03  0.84600413E+00
+  0.18338855E+03  0.16920083E+01
+  0.18338855E+03  0.00000000E+00
+  0.18367845E+03  0.00000000E+00
+  0.18367845E+03  0.33840165E+01
+  0.18367845E+03  0.33840165E+01
+  0.18367845E+03  0.00000000E+00
+  0.18371846E+03  0.00000000E+00
+  0.18371846E+03  0.33840165E+01
+  0.18371846E+03  0.33840165E+01
+  0.18371846E+03  0.00000000E+00
+  0.18375845E+03  0.00000000E+00
+  0.18375845E+03  0.33840165E+01
+  0.18375845E+03  0.33840165E+01
+  0.18375845E+03  0.00000000E+00
+  0.18379845E+03  0.00000000E+00
+  0.18379845E+03  0.33840165E+01
+  0.18379845E+03  0.33840165E+01
+  0.18379845E+03  0.00000000E+00
+  0.18383846E+03  0.00000000E+00
+  0.18383846E+03  0.33840165E+01
+  0.18383846E+03  0.33840165E+01
+  0.18383846E+03  0.00000000E+00
+  0.18394035E+03  0.00000000E+00
+  0.18394035E+03  0.16920083E+01
+  0.18418845E+03  0.25380125E+01
+  0.18443655E+03  0.16920083E+01
+  0.18443655E+03  0.00000000E+00
+  0.18498836E+03  0.00000000E+00
+  0.18498836E+03  0.16920083E+01
+  0.18516846E+03  0.84600413E+00
+  0.18534856E+03  0.16920083E+01
+  0.18534856E+03  0.00000000E+00
+  0.18544846E+03  0.00000000E+00
+  0.18544846E+03  0.33840165E+01
+  0.18544846E+03  0.33840165E+01
+  0.18544846E+03  0.00000000E+00
+  0.18548845E+03  0.00000000E+00
+  0.18548845E+03  0.33840165E+01
+  0.18548845E+03  0.33840165E+01
+  0.18548845E+03  0.00000000E+00
+  0.18552846E+03  0.00000000E+00
+  0.18552846E+03  0.33840165E+01
+  0.18552846E+03  0.33840165E+01
+  0.18552846E+03  0.00000000E+00
+  0.18556845E+03  0.00000000E+00
+  0.18556845E+03  0.33840165E+01
+  0.18556845E+03  0.33840165E+01
+  0.18556845E+03  0.00000000E+00
+  0.18560846E+03  0.00000000E+00
+  0.18560846E+03  0.33840165E+01
+  0.18560846E+03  0.33840165E+01
+  0.18560846E+03  0.00000000E+00
+  0.18631845E+03  0.00000000E+00
+  0.18631845E+03  0.16920083E+01
+  0.18737090E+03  0.16920083E+01
+  0.18737090E+03  0.00000000E+00
+  0.18779079E+03  0.00000000E+00
+  0.18779079E+03  0.16920083E+01
+  0.18797089E+03  0.84600413E+00
+  0.18815099E+03  0.16920083E+01
+  0.18815099E+03  0.00000000E+00
+  0.18825089E+03  0.00000000E+00
+  0.18825089E+03  0.33840165E+01
+  0.18825089E+03  0.33840165E+01
+  0.18825089E+03  0.00000000E+00
+  0.18829089E+03  0.00000000E+00
+  0.18829089E+03  0.33840165E+01
+  0.18829089E+03  0.33840165E+01
+  0.18829089E+03  0.00000000E+00
+  0.18833089E+03  0.00000000E+00
+  0.18833089E+03  0.33840165E+01
+  0.18833089E+03  0.33840165E+01
+  0.18833089E+03  0.00000000E+00
+  0.18837090E+03  0.00000000E+00
+  0.18837090E+03  0.33840165E+01
+  0.18837090E+03  0.33840165E+01
+  0.18837090E+03  0.00000000E+00
+  0.18841089E+03  0.00000000E+00
+  0.18841089E+03  0.33840165E+01
+  0.18841089E+03  0.33840165E+01
+  0.18841089E+03  0.00000000E+00
+  0.18878712E+03  0.00000000E+00
+  0.18878712E+03  0.16920083E+01
+  0.18896722E+03  0.25380125E+01
+  0.18914732E+03  0.16920083E+01
+  0.18914732E+03  0.00000000E+00
+  0.18951723E+03  0.00000000E+00
+  0.18951723E+03  0.33840165E+01
+  0.18951723E+03  0.33840165E+01
+  0.18951723E+03  0.00000000E+00
+  0.18955724E+03  0.00000000E+00
+  0.18955724E+03  0.33840165E+01
+  0.18955724E+03  0.33840165E+01
+  0.18955724E+03  0.00000000E+00
+  0.18959723E+03  0.00000000E+00
+  0.18959723E+03  0.33840165E+01
+  0.18959723E+03  0.33840165E+01
+  0.18959723E+03  0.00000000E+00
+  0.18963724E+03  0.00000000E+00
+  0.18963724E+03  0.33840165E+01
+  0.18963724E+03  0.33840165E+01
+  0.18963724E+03  0.00000000E+00
+  0.18967723E+03  0.00000000E+00
+  0.18967723E+03  0.33840165E+01
+  0.18967723E+03  0.33840165E+01
+  0.18967723E+03  0.00000000E+00
+  0.19004713E+03  0.00000000E+00
+  0.19004713E+03  0.16920083E+01
+  0.19022723E+03  0.25380125E+01
+  0.19040733E+03  0.16920083E+01
+  0.19040733E+03  0.00000000E+00
+  0.19078357E+03  0.00000000E+00
+  0.19078357E+03  0.33840165E+01
+  0.19078357E+03  0.33840165E+01
+  0.19078357E+03  0.00000000E+00
+  0.19082356E+03  0.00000000E+00
+  0.19082356E+03  0.33840165E+01
+  0.19082356E+03  0.33840165E+01
+  0.19082356E+03  0.00000000E+00
+  0.19086357E+03  0.00000000E+00
+  0.19086357E+03  0.33840165E+01
+  0.19086357E+03  0.33840165E+01
+  0.19086357E+03  0.00000000E+00
+  0.19090356E+03  0.00000000E+00
+  0.19090356E+03  0.33840165E+01
+  0.19090356E+03  0.33840165E+01
+  0.19090356E+03  0.00000000E+00
+  0.19094357E+03  0.00000000E+00
+  0.19094357E+03  0.33840165E+01
+  0.19094357E+03  0.33840165E+01
+  0.19094357E+03  0.00000000E+00
+  0.19104347E+03  0.00000000E+00
+  0.19104347E+03  0.16920083E+01
+  0.19122357E+03  0.84600413E+00
+  0.19140367E+03  0.16920083E+01
+  0.19140367E+03  0.00000000E+00
+  0.19182356E+03  0.00000000E+00
+  0.19182356E+03  0.16920083E+01
+  0.19287601E+03  0.16920083E+01
+  0.19287601E+03  0.00000000E+00
+  0.19329590E+03  0.00000000E+00
+  0.19329590E+03  0.16920083E+01
+  0.19347601E+03  0.84600413E+00
+  0.19365611E+03  0.16920083E+01
+  0.19365611E+03  0.00000000E+00
+  0.19375601E+03  0.00000000E+00
+  0.19375601E+03  0.33840165E+01
+  0.19375601E+03  0.33840165E+01
+  0.19375601E+03  0.00000000E+00
+  0.19379601E+03  0.00000000E+00
+  0.19379601E+03  0.33840165E+01
+  0.19379601E+03  0.33840165E+01
+  0.19379601E+03  0.00000000E+00
+  0.19383600E+03  0.00000000E+00
+  0.19383600E+03  0.33840165E+01
+  0.19383600E+03  0.33840165E+01
+  0.19383600E+03  0.00000000E+00
+  0.19387601E+03  0.00000000E+00
+  0.19387601E+03  0.33840165E+01
+  0.19387601E+03  0.33840165E+01
+  0.19387601E+03  0.00000000E+00
+  0.19391600E+03  0.00000000E+00
+  0.19391600E+03  0.33840165E+01
+  0.19391600E+03  0.33840165E+01
+  0.19391600E+03  0.00000000E+00
+  0.19420790E+03  0.00000000E+00
+  0.19420790E+03  0.16920083E+01
+  0.19445599E+03  0.25380125E+01
+  0.19470410E+03  0.16920083E+01
+  0.19470410E+03  0.00000000E+00
+  0.19480600E+03  0.00000000E+00
+  0.19480600E+03  0.33840165E+01
+  0.19480600E+03  0.33840165E+01
+  0.19480600E+03  0.00000000E+00
+  0.19484601E+03  0.00000000E+00
+  0.19484601E+03  0.33840165E+01
+  0.19484601E+03  0.33840165E+01
+  0.19484601E+03  0.00000000E+00
+  0.19488600E+03  0.00000000E+00
+  0.19488600E+03  0.33840165E+01
+  0.19488600E+03  0.33840165E+01
+  0.19488600E+03  0.00000000E+00
+  0.19492601E+03  0.00000000E+00
+  0.19492601E+03  0.33840165E+01
+  0.19492601E+03  0.33840165E+01
+  0.19492601E+03  0.00000000E+00
+  0.19496600E+03  0.00000000E+00
+  0.19496600E+03  0.33840165E+01
+  0.19496600E+03  0.33840165E+01
+  0.19496600E+03  0.00000000E+00
+  0.19525591E+03  0.00000000E+00
+  0.19525591E+03  0.16920083E+01
+  0.19543600E+03  0.84600413E+00
+  0.19561610E+03  0.16920083E+01
+  0.19561610E+03  0.00000000E+00
+  0.20254100E+03  0.00000000E+00
+  0.20254100E+03  0.16920083E+01
+  0.20272110E+03  0.84600413E+00
+  0.20290120E+03  0.16920083E+01
+  0.20290120E+03  0.00000000E+00
+  0.20319110E+03  0.00000000E+00
+  0.20319110E+03  0.33840165E+01
+  0.20319110E+03  0.33840165E+01
+  0.20319110E+03  0.00000000E+00
+  0.20323111E+03  0.00000000E+00
+  0.20323111E+03  0.33840165E+01
+  0.20323111E+03  0.33840165E+01
+  0.20323111E+03  0.00000000E+00
+  0.20327110E+03  0.00000000E+00
+  0.20327110E+03  0.33840165E+01
+  0.20327110E+03  0.33840165E+01
+  0.20327110E+03  0.00000000E+00
+  0.20331111E+03  0.00000000E+00
+  0.20331111E+03  0.33840165E+01
+  0.20331111E+03  0.33840165E+01
+  0.20331111E+03  0.00000000E+00
+  0.20335110E+03  0.00000000E+00
+  0.20335110E+03  0.33840165E+01
+  0.20335110E+03  0.33840165E+01
+  0.20335110E+03  0.00000000E+00
+  0.20345300E+03  0.00000000E+00
+  0.20345300E+03  0.16920083E+01
+  0.20370111E+03  0.25380125E+01
+  0.20394920E+03  0.16920083E+01
+  0.20394920E+03  0.00000000E+00
+  0.20424110E+03  0.00000000E+00
+  0.20424110E+03  0.33840165E+01
+  0.20424110E+03  0.33840165E+01
+  0.20424110E+03  0.00000000E+00
+  0.20428111E+03  0.00000000E+00
+  0.20428111E+03  0.33840165E+01
+  0.20428111E+03  0.33840165E+01
+  0.20428111E+03  0.00000000E+00
+  0.20432111E+03  0.00000000E+00
+  0.20432111E+03  0.33840165E+01
+  0.20432111E+03  0.33840165E+01
+  0.20432111E+03  0.00000000E+00
+  0.20436110E+03  0.00000000E+00
+  0.20436110E+03  0.33840165E+01
+  0.20436110E+03  0.33840165E+01
+  0.20436110E+03  0.00000000E+00
+  0.20440111E+03  0.00000000E+00
+  0.20440111E+03  0.33840165E+01
+  0.20440111E+03  0.33840165E+01
+  0.20440111E+03  0.00000000E+00
+  0.20450101E+03  0.00000000E+00
+  0.20450101E+03  0.16920083E+01
+  0.20468111E+03  0.84600413E+00
+  0.20486121E+03  0.16920083E+01
+  0.20486121E+03  0.00000000E+00
+  0.20528111E+03  0.00000000E+00
+  0.20528111E+03  0.16920083E+01
+  0.20633354E+03  0.16920083E+01
+  0.20633354E+03  0.00000000E+00
+  0.20675345E+03  0.00000000E+00
+  0.20675345E+03  0.16920083E+01
+  0.20693355E+03  0.84600413E+00
+  0.20711365E+03  0.16920083E+01
+  0.20711365E+03  0.00000000E+00
+  0.20721355E+03  0.00000000E+00
+  0.20721355E+03  0.33840165E+01
+  0.20721355E+03  0.33840165E+01
+  0.20721355E+03  0.00000000E+00
+  0.20725354E+03  0.00000000E+00
+  0.20725354E+03  0.33840165E+01
+  0.20725354E+03  0.33840165E+01
+  0.20725354E+03  0.00000000E+00
+  0.20729355E+03  0.00000000E+00
+  0.20729355E+03  0.33840165E+01
+  0.20729355E+03  0.33840165E+01
+  0.20729355E+03  0.00000000E+00
+  0.20733354E+03  0.00000000E+00
+  0.20733354E+03  0.33840165E+01
+  0.20733354E+03  0.33840165E+01
+  0.20733354E+03  0.00000000E+00
+  0.20737354E+03  0.00000000E+00
+  0.20737354E+03  0.33840165E+01
+  0.20737354E+03  0.33840165E+01
+  0.20737354E+03  0.00000000E+00
+  0.20774979E+03  0.00000000E+00
+  0.20774979E+03  0.16920083E+01
+  0.20792989E+03  0.25380125E+01
+  0.20810999E+03  0.16920083E+01
+  0.20810999E+03  0.00000000E+00
+  0.20820988E+03  0.00000000E+00
+  0.20820988E+03  0.33840165E+01
+  0.20820988E+03  0.33840165E+01
+  0.20820988E+03  0.00000000E+00
+  0.20824988E+03  0.00000000E+00
+  0.20824988E+03  0.33840165E+01
+  0.20824988E+03  0.33840165E+01
+  0.20824988E+03  0.00000000E+00
+  0.20828989E+03  0.00000000E+00
+  0.20828989E+03  0.33840165E+01
+  0.20828989E+03  0.33840165E+01
+  0.20828989E+03  0.00000000E+00
+  0.20832988E+03  0.00000000E+00
+  0.20832988E+03  0.33840165E+01
+  0.20832988E+03  0.33840165E+01
+  0.20832988E+03  0.00000000E+00
+  0.20836989E+03  0.00000000E+00
+  0.20836989E+03  0.33840165E+01
+  0.20836989E+03  0.33840165E+01
+  0.20836989E+03  0.00000000E+00
+  0.21201924E+03  0.00000000E+00
+  0.21201924E+03  0.33840165E+01
+  0.21201924E+03  0.33840165E+01
+  0.21201924E+03  0.00000000E+00
+  0.21205923E+03  0.00000000E+00
+  0.21205923E+03  0.33840165E+01
+  0.21205923E+03  0.33840165E+01
+  0.21205923E+03  0.00000000E+00
+  0.21209924E+03  0.00000000E+00
+  0.21209924E+03  0.33840165E+01
+  0.21209924E+03  0.33840165E+01
+  0.21209924E+03  0.00000000E+00
+  0.21213924E+03  0.00000000E+00
+  0.21213924E+03  0.33840165E+01
+  0.21213924E+03  0.33840165E+01
+  0.21213924E+03  0.00000000E+00
+  0.21217924E+03  0.00000000E+00
+  0.21217924E+03  0.33840165E+01
+  0.21217924E+03  0.33840165E+01
+  0.21217924E+03  0.00000000E+00
+  0.21227914E+03  0.00000000E+00
+  0.21227914E+03  0.16920083E+01
+  0.21245924E+03  0.25380125E+01
+  0.21263934E+03  0.16920083E+01
+  0.21263934E+03  0.00000000E+00
+  0.21301558E+03  0.00000000E+00
+  0.21301558E+03  0.33840165E+01
+  0.21301558E+03  0.33840165E+01
+  0.21301558E+03  0.00000000E+00
+  0.21305559E+03  0.00000000E+00
+  0.21305559E+03  0.33840165E+01
+  0.21305559E+03  0.33840165E+01
+  0.21305559E+03  0.00000000E+00
+  0.21309558E+03  0.00000000E+00
+  0.21309558E+03  0.33840165E+01
+  0.21309558E+03  0.33840165E+01
+  0.21309558E+03  0.00000000E+00
+  0.21313557E+03  0.00000000E+00
+  0.21313557E+03  0.33840165E+01
+  0.21313557E+03  0.33840165E+01
+  0.21313557E+03  0.00000000E+00
+  0.21317558E+03  0.00000000E+00
+  0.21317558E+03  0.33840165E+01
+  0.21317558E+03  0.33840165E+01
+  0.21317558E+03  0.00000000E+00
+  0.21327548E+03  0.00000000E+00
+  0.21327548E+03  0.16920083E+01
+  0.21345558E+03  0.84600413E+00
+  0.21363568E+03  0.16920083E+01
+  0.21363568E+03  0.00000000E+00
+  0.21405559E+03  0.00000000E+00
+  0.21405559E+03  0.16920083E+01
+  0.21510802E+03  0.16920083E+01
+  0.21510802E+03  0.00000000E+00
+  0.21552792E+03  0.00000000E+00
+  0.21552792E+03  0.16920083E+01
+  0.21570802E+03  0.84600413E+00
+  0.21588812E+03  0.16920083E+01
+  0.21588812E+03  0.00000000E+00
+  0.21598802E+03  0.00000000E+00
+  0.21598802E+03  0.33840165E+01
+  0.21598802E+03  0.33840165E+01
+  0.21598802E+03  0.00000000E+00
+  0.21602802E+03  0.00000000E+00
+  0.21602802E+03  0.33840165E+01
+  0.21602802E+03  0.33840165E+01
+  0.21602802E+03  0.00000000E+00
+  0.21606802E+03  0.00000000E+00
+  0.21606802E+03  0.33840165E+01
+  0.21606802E+03  0.33840165E+01
+  0.21606802E+03  0.00000000E+00
+  0.21610802E+03  0.00000000E+00
+  0.21610802E+03  0.33840165E+01
+  0.21610802E+03  0.33840165E+01
+  0.21610802E+03  0.00000000E+00
+  0.21614801E+03  0.00000000E+00
+  0.21614801E+03  0.33840165E+01
+  0.21614801E+03  0.33840165E+01
+  0.21614801E+03  0.00000000E+00
+  0.21643991E+03  0.00000000E+00
+  0.21643991E+03  0.16920083E+01
+  0.21668802E+03  0.25380125E+01
+  0.21693611E+03  0.16920083E+01
+  0.21693611E+03  0.00000000E+00
+  0.21703802E+03  0.00000000E+00
+  0.21703802E+03  0.33840165E+01
+  0.21703802E+03  0.33840165E+01
+  0.21703802E+03  0.00000000E+00
+  0.21707802E+03  0.00000000E+00
+  0.21707802E+03  0.33840165E+01
+  0.21707802E+03  0.33840165E+01
+  0.21707802E+03  0.00000000E+00
+  0.21711801E+03  0.00000000E+00
+  0.21711801E+03  0.33840165E+01
+  0.21711801E+03  0.33840165E+01
+  0.21711801E+03  0.00000000E+00
+  0.21715802E+03  0.00000000E+00
+  0.21715802E+03  0.33840165E+01
+  0.21715802E+03  0.33840165E+01
+  0.21715802E+03  0.00000000E+00
+  0.21719801E+03  0.00000000E+00
+  0.21719801E+03  0.33840165E+01
+  0.21719801E+03  0.33840165E+01
+  0.21719801E+03  0.00000000E+00
+  0.21748792E+03  0.00000000E+00
+  0.21748792E+03  0.16920083E+01
+  0.21766801E+03  0.84600413E+00
+  0.21784811E+03  0.16920083E+01
+  0.21784811E+03  0.00000000E+00
+  0.22477301E+03  0.00000000E+00
+  0.22477301E+03  0.16920083E+01
+  0.22495312E+03  0.84600413E+00
+  0.22513322E+03  0.16920083E+01
+  0.22513322E+03  0.00000000E+00
+  0.22542311E+03  0.00000000E+00
+  0.22542311E+03  0.33840165E+01
+  0.22542311E+03  0.33840165E+01
+  0.22542311E+03  0.00000000E+00
+  0.22546312E+03  0.00000000E+00
+  0.22546312E+03  0.33840165E+01
+  0.22546312E+03  0.33840165E+01
+  0.22546312E+03  0.00000000E+00
+  0.22550311E+03  0.00000000E+00
+  0.22550311E+03  0.33840165E+01
+  0.22550311E+03  0.33840165E+01
+  0.22550311E+03  0.00000000E+00
+  0.22554312E+03  0.00000000E+00
+  0.22554312E+03  0.33840165E+01
+  0.22554312E+03  0.33840165E+01
+  0.22554312E+03  0.00000000E+00
+  0.22558311E+03  0.00000000E+00
+  0.22558311E+03  0.33840165E+01
+  0.22558311E+03  0.33840165E+01
+  0.22558311E+03  0.00000000E+00
+  0.22568501E+03  0.00000000E+00
+  0.22568501E+03  0.16920083E+01
+  0.22593311E+03  0.25380125E+01
+  0.22618121E+03  0.16920083E+01
+  0.22618121E+03  0.00000000E+00
+  0.22647311E+03  0.00000000E+00
+  0.22647311E+03  0.33840165E+01
+  0.22647311E+03  0.33840165E+01
+  0.22647311E+03  0.00000000E+00
+  0.22651312E+03  0.00000000E+00
+  0.22651312E+03  0.33840165E+01
+  0.22651312E+03  0.33840165E+01
+  0.22651312E+03  0.00000000E+00
+  0.22655312E+03  0.00000000E+00
+  0.22655312E+03  0.33840165E+01
+  0.22655312E+03  0.33840165E+01
+  0.22655312E+03  0.00000000E+00
+  0.22659312E+03  0.00000000E+00
+  0.22659312E+03  0.33840165E+01
+  0.22659312E+03  0.33840165E+01
+  0.22659312E+03  0.00000000E+00
+  0.22663312E+03  0.00000000E+00
+  0.22663312E+03  0.33840165E+01
+  0.22663312E+03  0.33840165E+01
+  0.22663312E+03  0.00000000E+00
+  0.22673302E+03  0.00000000E+00
+  0.22673302E+03  0.16920083E+01
+  0.22691312E+03  0.84600413E+00
+  0.22709322E+03  0.16920083E+01
+  0.22709322E+03  0.00000000E+00
+  0.22751312E+03  0.00000000E+00
+  0.22751312E+03  0.16920083E+01
+  0.22856555E+03  0.16920083E+01
+  0.22856555E+03  0.00000000E+00
+  0.22898546E+03  0.00000000E+00
+  0.22898546E+03  0.16920083E+01
+  0.22916556E+03  0.84600413E+00
+  0.22934566E+03  0.16920083E+01
+  0.22934566E+03  0.00000000E+00
+  0.22944556E+03  0.00000000E+00
+  0.22944556E+03  0.33840165E+01
+  0.22944556E+03  0.33840165E+01
+  0.22944556E+03  0.00000000E+00
+  0.22948555E+03  0.00000000E+00
+  0.22948555E+03  0.33840165E+01
+  0.22948555E+03  0.33840165E+01
+  0.22948555E+03  0.00000000E+00
+  0.22952556E+03  0.00000000E+00
+  0.22952556E+03  0.33840165E+01
+  0.22952556E+03  0.33840165E+01
+  0.22952556E+03  0.00000000E+00
+  0.22956555E+03  0.00000000E+00
+  0.22956555E+03  0.33840165E+01
+  0.22956555E+03  0.33840165E+01
+  0.22956555E+03  0.00000000E+00
+  0.22960556E+03  0.00000000E+00
+  0.22960556E+03  0.33840165E+01
+  0.22960556E+03  0.33840165E+01
+  0.22960556E+03  0.00000000E+00
+  0.22998180E+03  0.00000000E+00
+  0.22998180E+03  0.16920083E+01
+  0.23016190E+03  0.25380125E+01
+  0.23034200E+03  0.16920083E+01
+  0.23034200E+03  0.00000000E+00
+  0.23044189E+03  0.00000000E+00
+  0.23044189E+03  0.33840165E+01
+  0.23044189E+03  0.33840165E+01
+  0.23044189E+03  0.00000000E+00
+  0.23048189E+03  0.00000000E+00
+  0.23048189E+03  0.33840165E+01
+  0.23048189E+03  0.33840165E+01
+  0.23048189E+03  0.00000000E+00
+  0.23052190E+03  0.00000000E+00
+  0.23052190E+03  0.33840165E+01
+  0.23052190E+03  0.33840165E+01
+  0.23052190E+03  0.00000000E+00
+  0.23056189E+03  0.00000000E+00
+  0.23056189E+03  0.33840165E+01
+  0.23056189E+03  0.33840165E+01
+  0.23056189E+03  0.00000000E+00
+  0.23060190E+03  0.00000000E+00
+  0.23060190E+03  0.33840165E+01
+  0.23060190E+03  0.33840165E+01
+  0.23060190E+03  0.00000000E+00
+  0.23425125E+03  0.00000000E+00
+  0.23425125E+03  0.33840165E+01
+  0.23425125E+03  0.33840165E+01
+  0.23425125E+03  0.00000000E+00
+  0.23429126E+03  0.00000000E+00
+  0.23429126E+03  0.33840165E+01
+  0.23429126E+03  0.33840165E+01
+  0.23429126E+03  0.00000000E+00
+  0.23433125E+03  0.00000000E+00
+  0.23433125E+03  0.33840165E+01
+  0.23433125E+03  0.33840165E+01
+  0.23433125E+03  0.00000000E+00
+  0.23437125E+03  0.00000000E+00
+  0.23437125E+03  0.33840165E+01
+  0.23437125E+03  0.33840165E+01
+  0.23437125E+03  0.00000000E+00
+  0.23441125E+03  0.00000000E+00
+  0.23441125E+03  0.33840165E+01
+  0.23441125E+03  0.33840165E+01
+  0.23441125E+03  0.00000000E+00
+  0.23451115E+03  0.00000000E+00
+  0.23451115E+03  0.16920083E+01
+  0.23469125E+03  0.25380125E+01
+  0.23487135E+03  0.16920083E+01
+  0.23487135E+03  0.00000000E+00
+  0.23524759E+03  0.00000000E+00
+  0.23524759E+03  0.33840165E+01
+  0.23524759E+03  0.33840165E+01
+  0.23524759E+03  0.00000000E+00
+  0.23528760E+03  0.00000000E+00
+  0.23528760E+03  0.33840165E+01
+  0.23528760E+03  0.33840165E+01
+  0.23528760E+03  0.00000000E+00
+  0.23532759E+03  0.00000000E+00
+  0.23532759E+03  0.33840165E+01
+  0.23532759E+03  0.33840165E+01
+  0.23532759E+03  0.00000000E+00
+  0.23536760E+03  0.00000000E+00
+  0.23536760E+03  0.33840165E+01
+  0.23536760E+03  0.33840165E+01
+  0.23536760E+03  0.00000000E+00
+  0.23540759E+03  0.00000000E+00
+  0.23540759E+03  0.33840165E+01
+  0.23540759E+03  0.33840165E+01
+  0.23540759E+03  0.00000000E+00
+  0.23550749E+03  0.00000000E+00
+  0.23550749E+03  0.16920083E+01
+  0.23568759E+03  0.84600413E+00
+  0.23586769E+03  0.16920083E+01
+  0.23586769E+03  0.00000000E+00
+  0.23628760E+03  0.00000000E+00
+  0.23628760E+03  0.16920083E+01
+  0.23734003E+03  0.16920083E+01
+  0.23734003E+03  0.00000000E+00
+  0.23775993E+03  0.00000000E+00
+  0.23775993E+03  0.16920083E+01
+  0.23794003E+03  0.84600413E+00
+  0.23812013E+03  0.16920083E+01
+  0.23812013E+03  0.00000000E+00
+  0.23822003E+03  0.00000000E+00
+  0.23822003E+03  0.33840165E+01
+  0.23822003E+03  0.33840165E+01
+  0.23822003E+03  0.00000000E+00
+  0.23826003E+03  0.00000000E+00
+  0.23826003E+03  0.33840165E+01
+  0.23826003E+03  0.33840165E+01
+  0.23826003E+03  0.00000000E+00
+  0.23830003E+03  0.00000000E+00
+  0.23830003E+03  0.33840165E+01
+  0.23830003E+03  0.33840165E+01
+  0.23830003E+03  0.00000000E+00
+  0.23834003E+03  0.00000000E+00
+  0.23834003E+03  0.33840165E+01
+  0.23834003E+03  0.33840165E+01
+  0.23834003E+03  0.00000000E+00
+  0.23838004E+03  0.00000000E+00
+  0.23838004E+03  0.33840165E+01
+  0.23838004E+03  0.33840165E+01
+  0.23838004E+03  0.00000000E+00
+  0.23867194E+03  0.00000000E+00
+  0.23867194E+03  0.16920083E+01
+  0.23892004E+03  0.25380125E+01
+  0.23916814E+03  0.16920083E+01
+  0.23916814E+03  0.00000000E+00
+  0.23927003E+03  0.00000000E+00
+  0.23927003E+03  0.33840165E+01
+  0.23927003E+03  0.33840165E+01
+  0.23927003E+03  0.00000000E+00
+  0.23931003E+03  0.00000000E+00
+  0.23931003E+03  0.33840165E+01
+  0.23931003E+03  0.33840165E+01
+  0.23931003E+03  0.00000000E+00
+  0.23935004E+03  0.00000000E+00
+  0.23935004E+03  0.33840165E+01
+  0.23935004E+03  0.33840165E+01
+  0.23935004E+03  0.00000000E+00
+  0.23939003E+03  0.00000000E+00
+  0.23939003E+03  0.33840165E+01
+  0.23939003E+03  0.33840165E+01
+  0.23939003E+03  0.00000000E+00
+  0.23943002E+03  0.00000000E+00
+  0.23943002E+03  0.33840165E+01
+  0.23943002E+03  0.33840165E+01
+  0.23943002E+03  0.00000000E+00
+  0.23971992E+03  0.00000000E+00
+  0.23971992E+03  0.16920083E+01
+  0.23990002E+03  0.84600413E+00
+  0.24008012E+03  0.16920083E+01
+  0.24008012E+03  0.00000000E+00
+  0.24700504E+03  0.00000000E+00
+  0.24700504E+03  0.16920083E+01
+  0.24718513E+03  0.84600413E+00
+  0.24736523E+03  0.16920083E+01
+  0.24736523E+03  0.00000000E+00
+  0.24765514E+03  0.00000000E+00
+  0.24765514E+03  0.33840165E+01
+  0.24765514E+03  0.33840165E+01
+  0.24765514E+03  0.00000000E+00
+  0.24769513E+03  0.00000000E+00
+  0.24769513E+03  0.33840165E+01
+  0.24769513E+03  0.33840165E+01
+  0.24769513E+03  0.00000000E+00
+  0.24773512E+03  0.00000000E+00
+  0.24773512E+03  0.33840165E+01
+  0.24773512E+03  0.33840165E+01
+  0.24773512E+03  0.00000000E+00
+  0.24777513E+03  0.00000000E+00
+  0.24777513E+03  0.33840165E+01
+  0.24777513E+03  0.33840165E+01
+  0.24777513E+03  0.00000000E+00
+  0.24781512E+03  0.00000000E+00
+  0.24781512E+03  0.33840165E+01
+  0.24781512E+03  0.33840165E+01
+  0.24781512E+03  0.00000000E+00
+  0.24791702E+03  0.00000000E+00
+  0.24791702E+03  0.16920083E+01
+  0.24816513E+03  0.25380125E+01
+  0.24841322E+03  0.16920083E+01
+  0.24841322E+03  0.00000000E+00
+  0.24870512E+03  0.00000000E+00
+  0.24870512E+03  0.33840165E+01
+  0.24870512E+03  0.33840165E+01
+  0.24870512E+03  0.00000000E+00
+  0.24874513E+03  0.00000000E+00
+  0.24874513E+03  0.33840165E+01
+  0.24874513E+03  0.33840165E+01
+  0.24874513E+03  0.00000000E+00
+  0.24878513E+03  0.00000000E+00
+  0.24878513E+03  0.33840165E+01
+  0.24878513E+03  0.33840165E+01
+  0.24878513E+03  0.00000000E+00
+  0.24882513E+03  0.00000000E+00
+  0.24882513E+03  0.33840165E+01
+  0.24882513E+03  0.33840165E+01
+  0.24882513E+03  0.00000000E+00
+  0.24886513E+03  0.00000000E+00
+  0.24886513E+03  0.33840165E+01
+  0.24886513E+03  0.33840165E+01
+  0.24886513E+03  0.00000000E+00
+  0.24896503E+03  0.00000000E+00
+  0.24896503E+03  0.16920083E+01
+  0.24914513E+03  0.84600413E+00
+  0.24932523E+03  0.16920083E+01
+  0.24932523E+03  0.00000000E+00
+  0.24974513E+03  0.00000000E+00
+  0.24974513E+03  0.16920083E+01
+  0.25079756E+03  0.16920083E+01
+  0.25079756E+03  0.00000000E+00
+  0.25121747E+03  0.00000000E+00
+  0.25121747E+03  0.16920083E+01
+  0.25139757E+03  0.84600413E+00
+  0.25157767E+03  0.16920083E+01
+  0.25157767E+03  0.00000000E+00
+  0.25167757E+03  0.00000000E+00
+  0.25167757E+03  0.33840165E+01
+  0.25167757E+03  0.33840165E+01
+  0.25167757E+03  0.00000000E+00
+  0.25171756E+03  0.00000000E+00
+  0.25171756E+03  0.33840165E+01
+  0.25171756E+03  0.33840165E+01
+  0.25171756E+03  0.00000000E+00
+  0.25175757E+03  0.00000000E+00
+  0.25175757E+03  0.33840165E+01
+  0.25175757E+03  0.33840165E+01
+  0.25175757E+03  0.00000000E+00
+  0.25179756E+03  0.00000000E+00
+  0.25179756E+03  0.33840165E+01
+  0.25179756E+03  0.33840165E+01
+  0.25179756E+03  0.00000000E+00
+  0.25183757E+03  0.00000000E+00
+  0.25183757E+03  0.33840165E+01
+  0.25183757E+03  0.33840165E+01
+  0.25183757E+03  0.00000000E+00
+  0.25221381E+03  0.00000000E+00
+  0.25221381E+03  0.16920083E+01
+  0.25239391E+03  0.25380125E+01
+  0.25257401E+03  0.16920083E+01
+  0.25257401E+03  0.00000000E+00
+  0.25294391E+03  0.00000000E+00
+  0.25294391E+03  0.33840165E+01
+  0.25294391E+03  0.33840165E+01
+  0.25294391E+03  0.00000000E+00
+  0.25298390E+03  0.00000000E+00
+  0.25298390E+03  0.33840165E+01
+  0.25298390E+03  0.33840165E+01
+  0.25298390E+03  0.00000000E+00
+  0.25302391E+03  0.00000000E+00
+  0.25302391E+03  0.33840165E+01
+  0.25302391E+03  0.33840165E+01
+  0.25302391E+03  0.00000000E+00
+  0.25306390E+03  0.00000000E+00
+  0.25306390E+03  0.33840165E+01
+  0.25306390E+03  0.33840165E+01
+  0.25306390E+03  0.00000000E+00
+  0.25310391E+03  0.00000000E+00
+  0.25310391E+03  0.33840165E+01
+  0.25310391E+03  0.33840165E+01
+  0.25310391E+03  0.00000000E+00
+  0.25347380E+03  0.00000000E+00
+  0.25347380E+03  0.16920083E+01
+  0.25365390E+03  0.25380125E+01
+  0.25383400E+03  0.16920083E+01
+  0.25383400E+03  0.00000000E+00
+  0.25421025E+03  0.00000000E+00
+  0.25421025E+03  0.33840165E+01
+  0.25421025E+03  0.33840165E+01
+  0.25421025E+03  0.00000000E+00
+  0.25425024E+03  0.00000000E+00
+  0.25425024E+03  0.33840165E+01
+  0.25425024E+03  0.33840165E+01
+  0.25425024E+03  0.00000000E+00
+  0.25429025E+03  0.00000000E+00
+  0.25429025E+03  0.33840165E+01
+  0.25429025E+03  0.33840165E+01
+  0.25429025E+03  0.00000000E+00
+  0.25433025E+03  0.00000000E+00
+  0.25433025E+03  0.33840165E+01
+  0.25433025E+03  0.33840165E+01
+  0.25433025E+03  0.00000000E+00
+  0.25437024E+03  0.00000000E+00
+  0.25437024E+03  0.33840165E+01
+  0.25437024E+03  0.33840165E+01
+  0.25437024E+03  0.00000000E+00
+  0.25447014E+03  0.00000000E+00
+  0.25447014E+03  0.16920083E+01
+  0.25465024E+03  0.84600413E+00
+  0.25483035E+03  0.16920083E+01
+  0.25483035E+03  0.00000000E+00
+  0.25525024E+03  0.00000000E+00
+  0.25525024E+03  0.16920083E+01
+  0.25630267E+03  0.16920083E+01
+  0.25630267E+03  0.00000000E+00
+  0.25701270E+03  0.00000000E+00
+  0.25701270E+03  0.33840165E+01
+  0.25701270E+03  0.33840165E+01
+  0.25701270E+03  0.00000000E+00
+  0.25705267E+03  0.00000000E+00
+  0.25705267E+03  0.33840165E+01
+  0.25705267E+03  0.33840165E+01
+  0.25705267E+03  0.00000000E+00
+  0.25709268E+03  0.00000000E+00
+  0.25709268E+03  0.33840165E+01
+  0.25709268E+03  0.33840165E+01
+  0.25709268E+03  0.00000000E+00
+  0.25713269E+03  0.00000000E+00
+  0.25713269E+03  0.33840165E+01
+  0.25713269E+03  0.33840165E+01
+  0.25713269E+03  0.00000000E+00
+  0.25717267E+03  0.00000000E+00
+  0.25717267E+03  0.33840165E+01
+  0.25717267E+03  0.33840165E+01
+  0.25717267E+03  0.00000000E+00
+  0.25727258E+03  0.00000000E+00
+  0.25727258E+03  0.16920083E+01
+  0.25745270E+03  0.84600413E+00
+  0.25763278E+03  0.16920083E+01
+  0.25763278E+03  0.00000000E+00
+  0.25818457E+03  0.00000000E+00
+  0.25818457E+03  0.16920083E+01
+  0.25843268E+03  0.25380125E+01
+  0.25868079E+03  0.16920083E+01
+  0.25868079E+03  0.00000000E+00
+  0.25878268E+03  0.00000000E+00
+  0.25878268E+03  0.33840165E+01
+  0.25878268E+03  0.33840165E+01
+  0.25878268E+03  0.00000000E+00
+  0.25882269E+03  0.00000000E+00
+  0.25882269E+03  0.33840165E+01
+  0.25882269E+03  0.33840165E+01
+  0.25882269E+03  0.00000000E+00
+  0.25886267E+03  0.00000000E+00
+  0.25886267E+03  0.33840165E+01
+  0.25886267E+03  0.33840165E+01
+  0.25886267E+03  0.00000000E+00
+  0.25890268E+03  0.00000000E+00
+  0.25890268E+03  0.33840165E+01
+  0.25890268E+03  0.33840165E+01
+  0.25890268E+03  0.00000000E+00
+  0.25894269E+03  0.00000000E+00
+  0.25894269E+03  0.33840165E+01
+  0.25894269E+03  0.33840165E+01
+  0.25894269E+03  0.00000000E+00
+  0.25923257E+03  0.00000000E+00
+  0.25923257E+03  0.16920083E+01
+  0.25941266E+03  0.84600413E+00
+  0.25959277E+03  0.16920083E+01
+  0.25959277E+03  0.00000000E+00
+  0.26450259E+03  0.00000000E+00
+  0.26450259E+03  0.16920083E+01
+  0.26468268E+03  0.84600413E+00
+  0.26486279E+03  0.16920083E+01
+  0.26486279E+03  0.00000000E+00
+  0.26532458E+03  0.00000000E+00
+  0.26532458E+03  0.16920083E+01
+  0.26544864E+03  0.25380125E+01
+  0.26557269E+03  0.16920083E+01
+  0.26557269E+03  0.00000000E+00
+  0.26557269E+03  0.00000000E+00
+  0.26557269E+03  0.16920083E+01
+  0.26569672E+03  0.25380125E+01
+  0.26582077E+03  0.16920083E+01
+  0.26582077E+03  0.00000000E+00
+  0.26628259E+03  0.00000000E+00
+  0.26628259E+03  0.16920083E+01
+  0.26646271E+03  0.84600413E+00
+  0.26664279E+03  0.16920083E+01
+  0.26664279E+03  0.00000000E+00
+  0.27155258E+03  0.00000000E+00
+  0.27155258E+03  0.16920083E+01
+  0.27173267E+03  0.84600413E+00
+  0.27191278E+03  0.16920083E+01
+  0.27191278E+03  0.00000000E+00
+  0.27220267E+03  0.00000000E+00
+  0.27220267E+03  0.33840165E+01
+  0.27220267E+03  0.33840165E+01
+  0.27220267E+03  0.00000000E+00
+  0.27224268E+03  0.00000000E+00
+  0.27224268E+03  0.33840165E+01
+  0.27224268E+03  0.33840165E+01
+  0.27224268E+03  0.00000000E+00
+  0.27228268E+03  0.00000000E+00
+  0.27228268E+03  0.33840165E+01
+  0.27228268E+03  0.33840165E+01
+  0.27228268E+03  0.00000000E+00
+  0.27232269E+03  0.00000000E+00
+  0.27232269E+03  0.33840165E+01
+  0.27232269E+03  0.33840165E+01
+  0.27232269E+03  0.00000000E+00
+  0.27236267E+03  0.00000000E+00
+  0.27236267E+03  0.33840165E+01
+  0.27236267E+03  0.33840165E+01
+  0.27236267E+03  0.00000000E+00
+  0.27246457E+03  0.00000000E+00
+  0.27246457E+03  0.16920083E+01
+  0.27271268E+03  0.25380125E+01
+  0.27296078E+03  0.16920083E+01
+  0.27296078E+03  0.00000000E+00
+  0.27351257E+03  0.00000000E+00
+  0.27351257E+03  0.16920083E+01
+  0.27369269E+03  0.84600413E+00
+  0.27387277E+03  0.16920083E+01
+  0.27387277E+03  0.00000000E+00
+  0.27397269E+03  0.00000000E+00
+  0.27397269E+03  0.33840165E+01
+  0.27397269E+03  0.33840165E+01
+  0.27397269E+03  0.00000000E+00
+  0.27401270E+03  0.00000000E+00
+  0.27401270E+03  0.33840165E+01
+  0.27401270E+03  0.33840165E+01
+  0.27401270E+03  0.00000000E+00
+  0.27405267E+03  0.00000000E+00
+  0.27405267E+03  0.33840165E+01
+  0.27405267E+03  0.33840165E+01
+  0.27405267E+03  0.00000000E+00
+  0.27409268E+03  0.00000000E+00
+  0.27409268E+03  0.33840165E+01
+  0.27409268E+03  0.33840165E+01
+  0.27409268E+03  0.00000000E+00
+  0.27413269E+03  0.00000000E+00
+  0.27413269E+03  0.33840165E+01
+  0.27413269E+03  0.33840165E+01
+  0.27413269E+03  0.00000000E+00
+  0.27484268E+03  0.00000000E+00
+  0.27484268E+03  0.16920083E+01
+  0.27589511E+03  0.16920083E+01
+  0.27589511E+03  0.00000000E+00
+  0.27631500E+03  0.00000000E+00
+  0.27631500E+03  0.16920083E+01
+  0.27649512E+03  0.84600413E+00
+  0.27667523E+03  0.16920083E+01
+  0.27667523E+03  0.00000000E+00
+  0.27677512E+03  0.00000000E+00
+  0.27677512E+03  0.33840165E+01
+  0.27677512E+03  0.33840165E+01
+  0.27677512E+03  0.00000000E+00
+  0.27681512E+03  0.00000000E+00
+  0.27681512E+03  0.33840165E+01
+  0.27681512E+03  0.33840165E+01
+  0.27681512E+03  0.00000000E+00
+  0.27685510E+03  0.00000000E+00
+  0.27685510E+03  0.33840165E+01
+  0.27685510E+03  0.33840165E+01
+  0.27685510E+03  0.00000000E+00
+  0.27689511E+03  0.00000000E+00
+  0.27689511E+03  0.33840165E+01
+  0.27689511E+03  0.33840165E+01
+  0.27689511E+03  0.00000000E+00
+  0.27693512E+03  0.00000000E+00
+  0.27693512E+03  0.33840165E+01
+  0.27693512E+03  0.33840165E+01
+  0.27693512E+03  0.00000000E+00
+  0.27731137E+03  0.00000000E+00
+  0.27731137E+03  0.16920083E+01
+  0.27749146E+03  0.25380125E+01
+  0.27767157E+03  0.16920083E+01
+  0.27767157E+03  0.00000000E+00
+  0.27804144E+03  0.00000000E+00
+  0.27804144E+03  0.33840165E+01
+  0.27804144E+03  0.33840165E+01
+  0.27804144E+03  0.00000000E+00
+  0.27808145E+03  0.00000000E+00
+  0.27808145E+03  0.33840165E+01
+  0.27808145E+03  0.33840165E+01
+  0.27808145E+03  0.00000000E+00
+  0.27812146E+03  0.00000000E+00
+  0.27812146E+03  0.33840165E+01
+  0.27812146E+03  0.33840165E+01
+  0.27812146E+03  0.00000000E+00
+  0.27816147E+03  0.00000000E+00
+  0.27816147E+03  0.33840165E+01
+  0.27816147E+03  0.33840165E+01
+  0.27816147E+03  0.00000000E+00
+  0.27820145E+03  0.00000000E+00
+  0.27820145E+03  0.33840165E+01
+  0.27820145E+03  0.33840165E+01
+  0.27820145E+03  0.00000000E+00
+  0.27857135E+03  0.00000000E+00
+  0.27857135E+03  0.16920083E+01
+  0.27875146E+03  0.25380125E+01
+  0.27893155E+03  0.16920083E+01
+  0.27893155E+03  0.00000000E+00
+  0.27930780E+03  0.00000000E+00
+  0.27930780E+03  0.33840165E+01
+  0.27930780E+03  0.33840165E+01
+  0.27930780E+03  0.00000000E+00
+  0.27934781E+03  0.00000000E+00
+  0.27934781E+03  0.33840165E+01
+  0.27934781E+03  0.33840165E+01
+  0.27934781E+03  0.00000000E+00
+  0.27938779E+03  0.00000000E+00
+  0.27938779E+03  0.33840165E+01
+  0.27938779E+03  0.33840165E+01
+  0.27938779E+03  0.00000000E+00
+  0.27942780E+03  0.00000000E+00
+  0.27942780E+03  0.33840165E+01
+  0.27942780E+03  0.33840165E+01
+  0.27942780E+03  0.00000000E+00
+  0.27946780E+03  0.00000000E+00
+  0.27946780E+03  0.33840165E+01
+  0.27946780E+03  0.33840165E+01
+  0.27946780E+03  0.00000000E+00
+  0.27956769E+03  0.00000000E+00
+  0.27956769E+03  0.16920083E+01
+  0.27974780E+03  0.84600413E+00
+  0.27992789E+03  0.16920083E+01
+  0.27992789E+03  0.00000000E+00
+  0.28034781E+03  0.00000000E+00
+  0.28034781E+03  0.16920083E+01
+  0.28140024E+03  0.16920083E+01
+  0.28140024E+03  0.00000000E+00
+  0.28182013E+03  0.00000000E+00
+  0.28182013E+03  0.16920083E+01
+  0.28200024E+03  0.84600413E+00
+  0.28218033E+03  0.16920083E+01
+  0.28218033E+03  0.00000000E+00
+  0.28228024E+03  0.00000000E+00
+  0.28228024E+03  0.33840165E+01
+  0.28228024E+03  0.33840165E+01
+  0.28228024E+03  0.00000000E+00
+  0.28232022E+03  0.00000000E+00
+  0.28232022E+03  0.33840165E+01
+  0.28232022E+03  0.33840165E+01
+  0.28232022E+03  0.00000000E+00
+  0.28236023E+03  0.00000000E+00
+  0.28236023E+03  0.33840165E+01
+  0.28236023E+03  0.33840165E+01
+  0.28236023E+03  0.00000000E+00
+  0.28240024E+03  0.00000000E+00
+  0.28240024E+03  0.33840165E+01
+  0.28240024E+03  0.33840165E+01
+  0.28240024E+03  0.00000000E+00
+  0.28244025E+03  0.00000000E+00
+  0.28244025E+03  0.33840165E+01
+  0.28244025E+03  0.33840165E+01
+  0.28244025E+03  0.00000000E+00
+  0.28273215E+03  0.00000000E+00
+  0.28273215E+03  0.16920083E+01
+  0.28298022E+03  0.25380125E+01
+  0.28322833E+03  0.16920083E+01
+  0.28322833E+03  0.00000000E+00
+  0.28333023E+03  0.00000000E+00
+  0.28333023E+03  0.33840165E+01
+  0.28333023E+03  0.33840165E+01
+  0.28333023E+03  0.00000000E+00
+  0.28337024E+03  0.00000000E+00
+  0.28337024E+03  0.33840165E+01
+  0.28337024E+03  0.33840165E+01
+  0.28337024E+03  0.00000000E+00
+  0.28341025E+03  0.00000000E+00
+  0.28341025E+03  0.33840165E+01
+  0.28341025E+03  0.33840165E+01
+  0.28341025E+03  0.00000000E+00
+  0.28345023E+03  0.00000000E+00
+  0.28345023E+03  0.33840165E+01
+  0.28345023E+03  0.33840165E+01
+  0.28345023E+03  0.00000000E+00
+  0.28349023E+03  0.00000000E+00
+  0.28349023E+03  0.33840165E+01
+  0.28349023E+03  0.33840165E+01
+  0.28349023E+03  0.00000000E+00
+  0.28378012E+03  0.00000000E+00
+  0.28378012E+03  0.16920083E+01
+  0.28396021E+03  0.84600413E+00
+  0.28414032E+03  0.16920083E+01
+  0.28414032E+03  0.00000000E+00
+  0.29106525E+03  0.00000000E+00
+  0.29106525E+03  0.16920083E+01
+  0.29124536E+03  0.84600413E+00
+  0.29142545E+03  0.16920083E+01
+  0.29142545E+03  0.00000000E+00
+  0.29171533E+03  0.00000000E+00
+  0.29171533E+03  0.33840165E+01
+  0.29171533E+03  0.33840165E+01
+  0.29171533E+03  0.00000000E+00
+  0.29175534E+03  0.00000000E+00
+  0.29175534E+03  0.33840165E+01
+  0.29175534E+03  0.33840165E+01
+  0.29175534E+03  0.00000000E+00
+  0.29179532E+03  0.00000000E+00
+  0.29179532E+03  0.33840165E+01
+  0.29179532E+03  0.33840165E+01
+  0.29179532E+03  0.00000000E+00
+  0.29183533E+03  0.00000000E+00
+  0.29183533E+03  0.33840165E+01
+  0.29183533E+03  0.33840165E+01
+  0.29183533E+03  0.00000000E+00
+  0.29187534E+03  0.00000000E+00
+  0.29187534E+03  0.33840165E+01
+  0.29187534E+03  0.33840165E+01
+  0.29187534E+03  0.00000000E+00
+  0.29197723E+03  0.00000000E+00
+  0.29197723E+03  0.16920083E+01
+  0.29222534E+03  0.25380125E+01
+  0.29247342E+03  0.16920083E+01
+  0.29247342E+03  0.00000000E+00
+  0.29276532E+03  0.00000000E+00
+  0.29276532E+03  0.33840165E+01
+  0.29276532E+03  0.33840165E+01
+  0.29276532E+03  0.00000000E+00
+  0.29280533E+03  0.00000000E+00
+  0.29280533E+03  0.33840165E+01
+  0.29280533E+03  0.33840165E+01
+  0.29280533E+03  0.00000000E+00
+  0.29284534E+03  0.00000000E+00
+  0.29284534E+03  0.33840165E+01
+  0.29284534E+03  0.33840165E+01
+  0.29284534E+03  0.00000000E+00
+  0.29288535E+03  0.00000000E+00
+  0.29288535E+03  0.33840165E+01
+  0.29288535E+03  0.33840165E+01
+  0.29288535E+03  0.00000000E+00
+  0.29292532E+03  0.00000000E+00
+  0.29292532E+03  0.33840165E+01
+  0.29292532E+03  0.33840165E+01
+  0.29292532E+03  0.00000000E+00
+  0.29302524E+03  0.00000000E+00
+  0.29302524E+03  0.16920083E+01
+  0.29320532E+03  0.84600413E+00
+  0.29338544E+03  0.16920083E+01
+  0.29338544E+03  0.00000000E+00
+  0.29380533E+03  0.00000000E+00
+  0.29380533E+03  0.16920083E+01
+  0.29485776E+03  0.16920083E+01
+  0.29485776E+03  0.00000000E+00
+  0.29527768E+03  0.00000000E+00
+  0.29527768E+03  0.16920083E+01
+  0.29545776E+03  0.84600413E+00
+  0.29563788E+03  0.16920083E+01
+  0.29563788E+03  0.00000000E+00
+  0.29573776E+03  0.00000000E+00
+  0.29573776E+03  0.33840165E+01
+  0.29573776E+03  0.33840165E+01
+  0.29573776E+03  0.00000000E+00
+  0.29577777E+03  0.00000000E+00
+  0.29577777E+03  0.33840165E+01
+  0.29577777E+03  0.33840165E+01
+  0.29577777E+03  0.00000000E+00
+  0.29581778E+03  0.00000000E+00
+  0.29581778E+03  0.33840165E+01
+  0.29581778E+03  0.33840165E+01
+  0.29581778E+03  0.00000000E+00
+  0.29585776E+03  0.00000000E+00
+  0.29585776E+03  0.33840165E+01
+  0.29585776E+03  0.33840165E+01
+  0.29585776E+03  0.00000000E+00
+  0.29589777E+03  0.00000000E+00
+  0.29589777E+03  0.33840165E+01
+  0.29589777E+03  0.33840165E+01
+  0.29589777E+03  0.00000000E+00
+  0.29627402E+03  0.00000000E+00
+  0.29627402E+03  0.16920083E+01
+  0.29645410E+03  0.25380125E+01
+  0.29663422E+03  0.16920083E+01
+  0.29663422E+03  0.00000000E+00
+  0.29673410E+03  0.00000000E+00
+  0.29673410E+03  0.33840165E+01
+  0.29673410E+03  0.33840165E+01
+  0.29673410E+03  0.00000000E+00
+  0.29677411E+03  0.00000000E+00
+  0.29677411E+03  0.33840165E+01
+  0.29677411E+03  0.33840165E+01
+  0.29677411E+03  0.00000000E+00
+  0.29681412E+03  0.00000000E+00
+  0.29681412E+03  0.33840165E+01
+  0.29681412E+03  0.33840165E+01
+  0.29681412E+03  0.00000000E+00
+  0.29685410E+03  0.00000000E+00
+  0.29685410E+03  0.33840165E+01
+  0.29685410E+03  0.33840165E+01
+  0.29685410E+03  0.00000000E+00
+  0.29689410E+03  0.00000000E+00
+  0.29689410E+03  0.33840165E+01
+  0.29689410E+03  0.33840165E+01
+  0.29689410E+03  0.00000000E+00
+  0.30054346E+03  0.00000000E+00
+  0.30054346E+03  0.33840165E+01
+  0.30054346E+03  0.33840165E+01
+  0.30054346E+03  0.00000000E+00
+  0.30058347E+03  0.00000000E+00
+  0.30058347E+03  0.33840165E+01
+  0.30058347E+03  0.33840165E+01
+  0.30058347E+03  0.00000000E+00
+  0.30062347E+03  0.00000000E+00
+  0.30062347E+03  0.33840165E+01
+  0.30062347E+03  0.33840165E+01
+  0.30062347E+03  0.00000000E+00
+  0.30066348E+03  0.00000000E+00
+  0.30066348E+03  0.33840165E+01
+  0.30066348E+03  0.33840165E+01
+  0.30066348E+03  0.00000000E+00
+  0.30070346E+03  0.00000000E+00
+  0.30070346E+03  0.33840165E+01
+  0.30070346E+03  0.33840165E+01
+  0.30070346E+03  0.00000000E+00
+  0.30080338E+03  0.00000000E+00
+  0.30080338E+03  0.16920083E+01
+  0.30098346E+03  0.25380125E+01
+  0.30116357E+03  0.16920083E+01
+  0.30116357E+03  0.00000000E+00
+  0.30153979E+03  0.00000000E+00
+  0.30153979E+03  0.33840165E+01
+  0.30153979E+03  0.33840165E+01
+  0.30153979E+03  0.00000000E+00
+  0.30157980E+03  0.00000000E+00
+  0.30157980E+03  0.33840165E+01
+  0.30157980E+03  0.33840165E+01
+  0.30157980E+03  0.00000000E+00
+  0.30161981E+03  0.00000000E+00
+  0.30161981E+03  0.33840165E+01
+  0.30161981E+03  0.33840165E+01
+  0.30161981E+03  0.00000000E+00
+  0.30165982E+03  0.00000000E+00
+  0.30165982E+03  0.33840165E+01
+  0.30165982E+03  0.33840165E+01
+  0.30165982E+03  0.00000000E+00
+  0.30169980E+03  0.00000000E+00
+  0.30169980E+03  0.33840165E+01
+  0.30169980E+03  0.33840165E+01
+  0.30169980E+03  0.00000000E+00
+  0.30179971E+03  0.00000000E+00
+  0.30179971E+03  0.16920083E+01
+  0.30197980E+03  0.84600413E+00
+  0.30215991E+03  0.16920083E+01
+  0.30215991E+03  0.00000000E+00
+  0.30257980E+03  0.00000000E+00
+  0.30257980E+03  0.16920083E+01
+  0.30363223E+03  0.16920083E+01
+  0.30363223E+03  0.00000000E+00
+  0.30405215E+03  0.00000000E+00
+  0.30405215E+03  0.16920083E+01
+  0.30423224E+03  0.84600413E+00
+  0.30441235E+03  0.16920083E+01
+  0.30441235E+03  0.00000000E+00
+  0.30451224E+03  0.00000000E+00
+  0.30451224E+03  0.33840165E+01
+  0.30451224E+03  0.33840165E+01
+  0.30451224E+03  0.00000000E+00
+  0.30455225E+03  0.00000000E+00
+  0.30455225E+03  0.33840165E+01
+  0.30455225E+03  0.33840165E+01
+  0.30455225E+03  0.00000000E+00
+  0.30459225E+03  0.00000000E+00
+  0.30459225E+03  0.33840165E+01
+  0.30459225E+03  0.33840165E+01
+  0.30459225E+03  0.00000000E+00
+  0.30463223E+03  0.00000000E+00
+  0.30463223E+03  0.33840165E+01
+  0.30463223E+03  0.33840165E+01
+  0.30463223E+03  0.00000000E+00
+  0.30467224E+03  0.00000000E+00
+  0.30467224E+03  0.33840165E+01
+  0.30467224E+03  0.33840165E+01
+  0.30467224E+03  0.00000000E+00
+  0.30496414E+03  0.00000000E+00
+  0.30496414E+03  0.16920083E+01
+  0.30521225E+03  0.25380125E+01
+  0.30546036E+03  0.16920083E+01
+  0.30546036E+03  0.00000000E+00
+  0.30556226E+03  0.00000000E+00
+  0.30556226E+03  0.33840165E+01
+  0.30556226E+03  0.33840165E+01
+  0.30556226E+03  0.00000000E+00
+  0.30560223E+03  0.00000000E+00
+  0.30560223E+03  0.33840165E+01
+  0.30560223E+03  0.33840165E+01
+  0.30560223E+03  0.00000000E+00
+  0.30564224E+03  0.00000000E+00
+  0.30564224E+03  0.33840165E+01
+  0.30564224E+03  0.33840165E+01
+  0.30564224E+03  0.00000000E+00
+  0.30568225E+03  0.00000000E+00
+  0.30568225E+03  0.33840165E+01
+  0.30568225E+03  0.33840165E+01
+  0.30568225E+03  0.00000000E+00
+  0.30572226E+03  0.00000000E+00
+  0.30572226E+03  0.33840165E+01
+  0.30572226E+03  0.33840165E+01
+  0.30572226E+03  0.00000000E+00
+  0.30601215E+03  0.00000000E+00
+  0.30601215E+03  0.16920083E+01
+  0.30619226E+03  0.84600413E+00
+  0.30637234E+03  0.16920083E+01
+  0.30637234E+03  0.00000000E+00
+  0.31329724E+03  0.00000000E+00
+  0.31329724E+03  0.16920083E+01
+  0.31347736E+03  0.84600413E+00
+  0.31365744E+03  0.16920083E+01
+  0.31365744E+03  0.00000000E+00
+  0.31394736E+03  0.00000000E+00
+  0.31394736E+03  0.33840165E+01
+  0.31394736E+03  0.33840165E+01
+  0.31394736E+03  0.00000000E+00
+  0.31398734E+03  0.00000000E+00
+  0.31398734E+03  0.33840165E+01
+  0.31398734E+03  0.33840165E+01
+  0.31398734E+03  0.00000000E+00
+  0.31402734E+03  0.00000000E+00
+  0.31402734E+03  0.33840165E+01
+  0.31402734E+03  0.33840165E+01
+  0.31402734E+03  0.00000000E+00
+  0.31406735E+03  0.00000000E+00
+  0.31406735E+03  0.33840165E+01
+  0.31406735E+03  0.33840165E+01
+  0.31406735E+03  0.00000000E+00
+  0.31410733E+03  0.00000000E+00
+  0.31410733E+03  0.33840165E+01
+  0.31410733E+03  0.33840165E+01
+  0.31410733E+03  0.00000000E+00
+  0.31420926E+03  0.00000000E+00
+  0.31420926E+03  0.16920083E+01
+  0.31445734E+03  0.25380125E+01
+  0.31470544E+03  0.16920083E+01
+  0.31470544E+03  0.00000000E+00
+  0.31499734E+03  0.00000000E+00
+  0.31499734E+03  0.33840165E+01
+  0.31499734E+03  0.33840165E+01
+  0.31499734E+03  0.00000000E+00
+  0.31503735E+03  0.00000000E+00
+  0.31503735E+03  0.33840165E+01
+  0.31503735E+03  0.33840165E+01
+  0.31503735E+03  0.00000000E+00
+  0.31507733E+03  0.00000000E+00
+  0.31507733E+03  0.33840165E+01
+  0.31507733E+03  0.33840165E+01
+  0.31507733E+03  0.00000000E+00
+  0.31511734E+03  0.00000000E+00
+  0.31511734E+03  0.33840165E+01
+  0.31511734E+03  0.33840165E+01
+  0.31511734E+03  0.00000000E+00
+  0.31515735E+03  0.00000000E+00
+  0.31515735E+03  0.33840165E+01
+  0.31515735E+03  0.33840165E+01
+  0.31515735E+03  0.00000000E+00
+  0.31525723E+03  0.00000000E+00
+  0.31525723E+03  0.16920083E+01
+  0.31543732E+03  0.84600413E+00
+  0.31561743E+03  0.16920083E+01
+  0.31561743E+03  0.00000000E+00
+  0.31603735E+03  0.00000000E+00
+  0.31603735E+03  0.16920083E+01
+  0.31708978E+03  0.16920083E+01
+  0.31708978E+03  0.00000000E+00
+  0.31750967E+03  0.00000000E+00
+  0.31750967E+03  0.16920083E+01
+  0.31768976E+03  0.84600413E+00
+  0.31786987E+03  0.16920083E+01
+  0.31786987E+03  0.00000000E+00
+  0.31796979E+03  0.00000000E+00
+  0.31796979E+03  0.33840165E+01
+  0.31796979E+03  0.33840165E+01
+  0.31796979E+03  0.00000000E+00
+  0.31800980E+03  0.00000000E+00
+  0.31800980E+03  0.33840165E+01
+  0.31800980E+03  0.33840165E+01
+  0.31800980E+03  0.00000000E+00
+  0.31804977E+03  0.00000000E+00
+  0.31804977E+03  0.33840165E+01
+  0.31804977E+03  0.33840165E+01
+  0.31804977E+03  0.00000000E+00
+  0.31808978E+03  0.00000000E+00
+  0.31808978E+03  0.33840165E+01
+  0.31808978E+03  0.33840165E+01
+  0.31808978E+03  0.00000000E+00
+  0.31812979E+03  0.00000000E+00
+  0.31812979E+03  0.33840165E+01
+  0.31812979E+03  0.33840165E+01
+  0.31812979E+03  0.00000000E+00
+  0.31850601E+03  0.00000000E+00
+  0.31850601E+03  0.16920083E+01
+  0.31868610E+03  0.25380125E+01
+  0.31886621E+03  0.16920083E+01
+  0.31886621E+03  0.00000000E+00
+  0.31896613E+03  0.00000000E+00
+  0.31896613E+03  0.33840165E+01
+  0.31896613E+03  0.33840165E+01
+  0.31896613E+03  0.00000000E+00
+  0.31900613E+03  0.00000000E+00
+  0.31900613E+03  0.33840165E+01
+  0.31900613E+03  0.33840165E+01
+  0.31900613E+03  0.00000000E+00
+  0.31904611E+03  0.00000000E+00
+  0.31904611E+03  0.33840165E+01
+  0.31904611E+03  0.33840165E+01
+  0.31904611E+03  0.00000000E+00
+  0.31908612E+03  0.00000000E+00
+  0.31908612E+03  0.33840165E+01
+  0.31908612E+03  0.33840165E+01
+  0.31908612E+03  0.00000000E+00
+  0.31912613E+03  0.00000000E+00
+  0.31912613E+03  0.33840165E+01
+  0.31912613E+03  0.33840165E+01
+  0.31912613E+03  0.00000000E+00
+  0.32277548E+03  0.00000000E+00
+  0.32277548E+03  0.33840165E+01
+  0.32277548E+03  0.33840165E+01
+  0.32277548E+03  0.00000000E+00
+  0.32281549E+03  0.00000000E+00
+  0.32281549E+03  0.33840165E+01
+  0.32281549E+03  0.33840165E+01
+  0.32281549E+03  0.00000000E+00
+  0.32285547E+03  0.00000000E+00
+  0.32285547E+03  0.33840165E+01
+  0.32285547E+03  0.33840165E+01
+  0.32285547E+03  0.00000000E+00
+  0.32289548E+03  0.00000000E+00
+  0.32289548E+03  0.33840165E+01
+  0.32289548E+03  0.33840165E+01
+  0.32289548E+03  0.00000000E+00
+  0.32293549E+03  0.00000000E+00
+  0.32293549E+03  0.33840165E+01
+  0.32293549E+03  0.33840165E+01
+  0.32293549E+03  0.00000000E+00
+  0.32303537E+03  0.00000000E+00
+  0.32303537E+03  0.16920083E+01
+  0.32321545E+03  0.25380125E+01
+  0.32339557E+03  0.16920083E+01
+  0.32339557E+03  0.00000000E+00
+  0.32377182E+03  0.00000000E+00
+  0.32377182E+03  0.33840165E+01
+  0.32377182E+03  0.33840165E+01
+  0.32377182E+03  0.00000000E+00
+  0.32381183E+03  0.00000000E+00
+  0.32381183E+03  0.33840165E+01
+  0.32381183E+03  0.33840165E+01
+  0.32381183E+03  0.00000000E+00
+  0.32385181E+03  0.00000000E+00
+  0.32385181E+03  0.33840165E+01
+  0.32385181E+03  0.33840165E+01
+  0.32385181E+03  0.00000000E+00
+  0.32389182E+03  0.00000000E+00
+  0.32389182E+03  0.33840165E+01
+  0.32389182E+03  0.33840165E+01
+  0.32389182E+03  0.00000000E+00
+  0.32393182E+03  0.00000000E+00
+  0.32393182E+03  0.33840165E+01
+  0.32393182E+03  0.33840165E+01
+  0.32393182E+03  0.00000000E+00
+  0.32403171E+03  0.00000000E+00
+  0.32403171E+03  0.16920083E+01
+  0.32421179E+03  0.84600413E+00
+  0.32439191E+03  0.16920083E+01
+  0.32439191E+03  0.00000000E+00
+  0.32481183E+03  0.00000000E+00
+  0.32481183E+03  0.16920083E+01
+  0.32586426E+03  0.16920083E+01
+  0.32586426E+03  0.00000000E+00
+  0.32628415E+03  0.00000000E+00
+  0.32628415E+03  0.16920083E+01
+  0.32646423E+03  0.84600413E+00
+  0.32664435E+03  0.16920083E+01
+  0.32664435E+03  0.00000000E+00
+  0.32674426E+03  0.00000000E+00
+  0.32674426E+03  0.33840165E+01
+  0.32674426E+03  0.33840165E+01
+  0.32674426E+03  0.00000000E+00
+  0.32678427E+03  0.00000000E+00
+  0.32678427E+03  0.33840165E+01
+  0.32678427E+03  0.33840165E+01
+  0.32678427E+03  0.00000000E+00
+  0.32682425E+03  0.00000000E+00
+  0.32682425E+03  0.33840165E+01
+  0.32682425E+03  0.33840165E+01
+  0.32682425E+03  0.00000000E+00
+  0.32686426E+03  0.00000000E+00
+  0.32686426E+03  0.33840165E+01
+  0.32686426E+03  0.33840165E+01
+  0.32686426E+03  0.00000000E+00
+  0.32690427E+03  0.00000000E+00
+  0.32690427E+03  0.33840165E+01
+  0.32690427E+03  0.33840165E+01
+  0.32690427E+03  0.00000000E+00
+  0.32719617E+03  0.00000000E+00
+  0.32719617E+03  0.16920083E+01
+  0.32744427E+03  0.25380125E+01
+  0.32769235E+03  0.16920083E+01
+  0.32769235E+03  0.00000000E+00
+  0.32779425E+03  0.00000000E+00
+  0.32779425E+03  0.33840165E+01
+  0.32779425E+03  0.33840165E+01
+  0.32779425E+03  0.00000000E+00
+  0.32783426E+03  0.00000000E+00
+  0.32783426E+03  0.33840165E+01
+  0.32783426E+03  0.33840165E+01
+  0.32783426E+03  0.00000000E+00
+  0.32787427E+03  0.00000000E+00
+  0.32787427E+03  0.33840165E+01
+  0.32787427E+03  0.33840165E+01
+  0.32787427E+03  0.00000000E+00
+  0.32791425E+03  0.00000000E+00
+  0.32791425E+03  0.33840165E+01
+  0.32791425E+03  0.33840165E+01
+  0.32791425E+03  0.00000000E+00
+  0.32795425E+03  0.00000000E+00
+  0.32795425E+03  0.33840165E+01
+  0.32795425E+03  0.33840165E+01
+  0.32795425E+03  0.00000000E+00
+  0.32824417E+03  0.00000000E+00
+  0.32824417E+03  0.16920083E+01
+  0.32842426E+03  0.84600413E+00
+  0.32860437E+03  0.16920083E+01
+  0.32860437E+03  0.00000000E+00
+  0.33552927E+03  0.00000000E+00
+  0.33552927E+03  0.16920083E+01
+  0.33570935E+03  0.84600413E+00
+  0.33588947E+03  0.16920083E+01
+  0.33588947E+03  0.00000000E+00
+  0.33617935E+03  0.00000000E+00
+  0.33617935E+03  0.33840165E+01
+  0.33617935E+03  0.33840165E+01
+  0.33617935E+03  0.00000000E+00
+  0.33621936E+03  0.00000000E+00
+  0.33621936E+03  0.33840165E+01
+  0.33621936E+03  0.33840165E+01
+  0.33621936E+03  0.00000000E+00
+  0.33625937E+03  0.00000000E+00
+  0.33625937E+03  0.33840165E+01
+  0.33625937E+03  0.33840165E+01
+  0.33625937E+03  0.00000000E+00
+  0.33629935E+03  0.00000000E+00
+  0.33629935E+03  0.33840165E+01
+  0.33629935E+03  0.33840165E+01
+  0.33629935E+03  0.00000000E+00
+  0.33633936E+03  0.00000000E+00
+  0.33633936E+03  0.33840165E+01
+  0.33633936E+03  0.33840165E+01
+  0.33633936E+03  0.00000000E+00
+  0.33644125E+03  0.00000000E+00
+  0.33644125E+03  0.16920083E+01
+  0.33668936E+03  0.25380125E+01
+  0.33693747E+03  0.16920083E+01
+  0.33693747E+03  0.00000000E+00
+  0.33722937E+03  0.00000000E+00
+  0.33722937E+03  0.33840165E+01
+  0.33722937E+03  0.33840165E+01
+  0.33722937E+03  0.00000000E+00
+  0.33726935E+03  0.00000000E+00
+  0.33726935E+03  0.33840165E+01
+  0.33726935E+03  0.33840165E+01
+  0.33726935E+03  0.00000000E+00
+  0.33730936E+03  0.00000000E+00
+  0.33730936E+03  0.33840165E+01
+  0.33730936E+03  0.33840165E+01
+  0.33730936E+03  0.00000000E+00
+  0.33734937E+03  0.00000000E+00
+  0.33734937E+03  0.33840165E+01
+  0.33734937E+03  0.33840165E+01
+  0.33734937E+03  0.00000000E+00
+  0.33738934E+03  0.00000000E+00
+  0.33738934E+03  0.33840165E+01
+  0.33738934E+03  0.33840165E+01
+  0.33738934E+03  0.00000000E+00
+  0.33748926E+03  0.00000000E+00
+  0.33748926E+03  0.16920083E+01
+  0.33766937E+03  0.84600413E+00
+  0.33784946E+03  0.16920083E+01
+  0.33784946E+03  0.00000000E+00
+  0.33826935E+03  0.00000000E+00
+  0.33826935E+03  0.16920083E+01
+  0.33932181E+03  0.16920083E+01
+  0.33932181E+03  0.00000000E+00
+  0.33974170E+03  0.00000000E+00
+  0.33974170E+03  0.16920083E+01
+  0.33992181E+03  0.84600413E+00
+  0.34010190E+03  0.16920083E+01
+  0.34010190E+03  0.00000000E+00
+  0.34020178E+03  0.00000000E+00
+  0.34020178E+03  0.33840165E+01
+  0.34020178E+03  0.33840165E+01
+  0.34020178E+03  0.00000000E+00
+  0.34024179E+03  0.00000000E+00
+  0.34024179E+03  0.33840165E+01
+  0.34024179E+03  0.33840165E+01
+  0.34024179E+03  0.00000000E+00
+  0.34028180E+03  0.00000000E+00
+  0.34028180E+03  0.33840165E+01
+  0.34028180E+03  0.33840165E+01
+  0.34028180E+03  0.00000000E+00
+  0.34032181E+03  0.00000000E+00
+  0.34032181E+03  0.33840165E+01
+  0.34032181E+03  0.33840165E+01
+  0.34032181E+03  0.00000000E+00
+  0.34036179E+03  0.00000000E+00
+  0.34036179E+03  0.33840165E+01
+  0.34036179E+03  0.33840165E+01
+  0.34036179E+03  0.00000000E+00
+  0.34073804E+03  0.00000000E+00
+  0.34073804E+03  0.16920083E+01
+  0.34091815E+03  0.25380125E+01
+  0.34109824E+03  0.16920083E+01
+  0.34109824E+03  0.00000000E+00
+  0.34146814E+03  0.00000000E+00
+  0.34146814E+03  0.33840165E+01
+  0.34146814E+03  0.33840165E+01
+  0.34146814E+03  0.00000000E+00
+  0.34150815E+03  0.00000000E+00
+  0.34150815E+03  0.33840165E+01
+  0.34150815E+03  0.33840165E+01
+  0.34150815E+03  0.00000000E+00
+  0.34154813E+03  0.00000000E+00
+  0.34154813E+03  0.33840165E+01
+  0.34154813E+03  0.33840165E+01
+  0.34154813E+03  0.00000000E+00
+  0.34158813E+03  0.00000000E+00
+  0.34158813E+03  0.33840165E+01
+  0.34158813E+03  0.33840165E+01
+  0.34158813E+03  0.00000000E+00
+  0.34162814E+03  0.00000000E+00
+  0.34162814E+03  0.33840165E+01
+  0.34162814E+03  0.33840165E+01
+  0.34162814E+03  0.00000000E+00
+  0.34199805E+03  0.00000000E+00
+  0.34199805E+03  0.16920083E+01
+  0.34217816E+03  0.25380125E+01
+  0.34235825E+03  0.16920083E+01
+  0.34235825E+03  0.00000000E+00
+  0.34273447E+03  0.00000000E+00
+  0.34273447E+03  0.33840165E+01
+  0.34273447E+03  0.33840165E+01
+  0.34273447E+03  0.00000000E+00
+  0.34277448E+03  0.00000000E+00
+  0.34277448E+03  0.33840165E+01
+  0.34277448E+03  0.33840165E+01
+  0.34277448E+03  0.00000000E+00
+  0.34281448E+03  0.00000000E+00
+  0.34281448E+03  0.33840165E+01
+  0.34281448E+03  0.33840165E+01
+  0.34281448E+03  0.00000000E+00
+  0.34285446E+03  0.00000000E+00
+  0.34285446E+03  0.33840165E+01
+  0.34285446E+03  0.33840165E+01
+  0.34285446E+03  0.00000000E+00
+  0.34289447E+03  0.00000000E+00
+  0.34289447E+03  0.33840165E+01
+  0.34289447E+03  0.33840165E+01
+  0.34289447E+03  0.00000000E+00
+  0.34299438E+03  0.00000000E+00
+  0.34299438E+03  0.16920083E+01
+  0.34317450E+03  0.84600413E+00
+  0.34335458E+03  0.16920083E+01
+  0.34335458E+03  0.00000000E+00
+  0.34377448E+03  0.00000000E+00
+  0.34377448E+03  0.16920083E+01
+  0.34482690E+03  0.16920083E+01
+  0.34482690E+03  0.00000000E+00
+  0.34553690E+03  0.00000000E+00
+  0.34553690E+03  0.33840165E+01
+  0.34553690E+03  0.33840165E+01
+  0.34553690E+03  0.00000000E+00
+  0.34557690E+03  0.00000000E+00
+  0.34557690E+03  0.33840165E+01
+  0.34557690E+03  0.33840165E+01
+  0.34557690E+03  0.00000000E+00
+  0.34561691E+03  0.00000000E+00
+  0.34561691E+03  0.33840165E+01
+  0.34561691E+03  0.33840165E+01
+  0.34561691E+03  0.00000000E+00
+  0.34565692E+03  0.00000000E+00
+  0.34565692E+03  0.33840165E+01
+  0.34565692E+03  0.33840165E+01
+  0.34565692E+03  0.00000000E+00
+  0.34569690E+03  0.00000000E+00
+  0.34569690E+03  0.33840165E+01
+  0.34569690E+03  0.33840165E+01
+  0.34569690E+03  0.00000000E+00
+  0.34579681E+03  0.00000000E+00
+  0.34579681E+03  0.16920083E+01
+  0.34597693E+03  0.84600413E+00
+  0.34615701E+03  0.16920083E+01
+  0.34615701E+03  0.00000000E+00
+  0.34670880E+03  0.00000000E+00
+  0.34670880E+03  0.16920083E+01
+  0.34695691E+03  0.25380125E+01
+  0.34720502E+03  0.16920083E+01
+  0.34720502E+03  0.00000000E+00
+  0.34730692E+03  0.00000000E+00
+  0.34730692E+03  0.33840165E+01
+  0.34730692E+03  0.33840165E+01
+  0.34730692E+03  0.00000000E+00
+  0.34734692E+03  0.00000000E+00
+  0.34734692E+03  0.33840165E+01
+  0.34734692E+03  0.33840165E+01
+  0.34734692E+03  0.00000000E+00
+  0.34738690E+03  0.00000000E+00
+  0.34738690E+03  0.33840165E+01
+  0.34738690E+03  0.33840165E+01
+  0.34738690E+03  0.00000000E+00
+  0.34742691E+03  0.00000000E+00
+  0.34742691E+03  0.33840165E+01
+  0.34742691E+03  0.33840165E+01
+  0.34742691E+03  0.00000000E+00
+  0.34746692E+03  0.00000000E+00
+  0.34746692E+03  0.33840165E+01
+  0.34746692E+03  0.33840165E+01
+  0.34746692E+03  0.00000000E+00
+  0.34775681E+03  0.00000000E+00
+  0.34775681E+03  0.16920083E+01
+  0.34793689E+03  0.84600413E+00
+  0.34811700E+03  0.16920083E+01
+  0.34811700E+03  0.00000000E+00
Index: /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+*.m
Index: /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/Calc_Tous.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/Calc_Tous.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/Calc_Tous.m	(revision 17)
@@ -0,0 +1,199 @@
+function [Tous,Tousp,Tousn]=Calc_Tous(varargin)
+%function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas,couplage)
+%Calc_Tous - Compute Touschek liftetime based on the energy acceptance
+%computed by Tracy code
+%
+%  Integration method: Simpson (as in BETA code)
+%
+%  External function used: C(xi) standard function
+%
+%  INPUTS
+%  1. file   - output format from tracy (soleil.out)
+%  2. linlat - optics file (linlat.out)
+%  3. hemittance - Horizontal emittance
+%  4. sigmas - bunch length (m)
+%  5. couplage - coupling value
+%  6. energy - Energy value
+%  Extra 'Full' -  Full machine instead of a quarter
+%
+%  OUTPUTS
+%  1. T(h)  - Total Touschek lifetime
+%  2. Tp(h) - Touschek lifetime delta >0
+%  3. Tn(h) - Touschek lifetime delta <0
+%
+%  Example
+%  1. Computation for 1% coupling and 6 mm bunch length
+%     [T, Tp, Tn] = Calc_Tous('soleil.out','linlat.out', 6e-3, 1e-2)
+
+%
+%% Written by Laurent S. Nadolski, SOLEIL 2003
+
+FullMachineFlag = 0;
+DisplayFlag = 1;
+
+
+% Get input flags
+for i = length(varargin):-1:1
+    if isstr(varargin{i})
+        if strcmpi(varargin{i},'FullMachine')
+            FullMachineFlag = 1;
+            varargin(i) = [];
+        end
+    end
+end
+
+% Help part if not enough input arguments
+if length(varargin) <1
+    help(eval('mfilename'))
+    return;
+else
+    file   = varargin{1}; % Energy acceptance
+    linlat = varargin{2}; % Twiss parameters
+end
+
+% Reading Twiss function
+% name     s    alphax  betax   nux   etax   etapx  alphay  betay   nuy   etay   etapy
+%         [m]            [m]           [m]                   [m]           [m]
+try
+    [dummy s ax bx mux etax etaxp az bz muz etaz etazp] = ...
+        textread(linlat,'%s %f %f %f %f %f %f %f %f %f %f %f','headerlines',4);
+catch
+    errmsg = lasterr;
+    if strfind(errmsg, 'File not found.');
+        error('Input file %s not found \n Abort \n',linlat);
+    else
+        error('Unknown error %s \n', errmsg)
+    end
+end
+
+% Emittance
+if length(varargin) <3
+    ex = 3.7E-9;  %Default emittance value
+    fprintf('Default coupling value is: ex = %f nm.rad\n',ex)
+else
+   ex = varargin{3};
+end
+
+% coupling value
+if length(varargin) <5
+    kapa = 1.0E-2;  %Default coupling value
+    fprintf('Default coupling value is: kapa = %f\n',kapa)
+else
+    kapa = varargin{5};
+end
+
+ez = ex*kapa;  %Emittance V
+se = 1.016E-3; %Dispersion en energie
+gx = (1+ax.^2)./bx; %Gammax
+
+sx = sqrt(bx*ex+(se*etax).^2);  %Taille  H
+sxp= sqrt(gx*ex+(se*etaxp).^2); %Divergence H
+sz = sqrt(bz*ez+(se*etaz).^2);  %Taille V
+
+[dummy sd acen lost nom] = textread(file,'%d %f %f %f %s','headerlines',3);
+Nb_pts=length(sd)/2;
+s=sd(1:Nb_pts);
+acen_p=acen(1:Nb_pts); acen_n=acen(Nb_pts+1:end);
+
+% bunch length value
+if length(varargin) <4
+    ss = 6.0E-4;  %sigma_s en mm
+    fprintf('Default bunch length : sigma_s= %f m\n',ss)
+else
+    ss =varargin{4};
+end
+
+% bunch length value
+if length(varargin) <6
+    E     = 2.739;           % Energy
+    fprintf('Default beam energy: E= %f GeV \n',E)
+else
+    E =varargin{6};
+end
+
+V     = 8*pi*sqrt(pi).*sx.*sz.*ss; %Volume du paquet
+Gamma = 5382.57324;      % Facteur de Lorentz
+c     = 2.99792458E8;    % Vitesse de la lumiere
+re    = 2.81794092E-15;  % Rayon classique de l'electron
+I0    = 1.0E-3;          % Courant par paquet
+Qe    = 1.6022E-19;      % Charge de l'electron
+L     = 354.097;         % Circonference de l'anneau
+N     = I0/c*L/Qe;       % Nombre d'electrons par paquet
+
+% Inverse Touschek lifetime
+
+%Duree de vie locale positive et negative en heures
+%xi_p=(acen_p./Gamma./sxp)^2;
+%xi_n=(acen_n./Gamma./sxp)^2;
+FF = sqrt(pi)*re*re*c*N*3600;
+Tinvp = zeros(1,Nb_pts);
+Tinvn = zeros(1,Nb_pts);
+
+h = waitbar(0,sprintf('Computing: %2d %%',0), 'Name', 'Touschek lifetime');
+for i=1:Nb_pts, % loop because of Cxi function
+    Tinvp(i) = (FF*Cxi((acen_p(i)/Gamma/sxp(i))^2)/sxp(i) ...
+        /Gamma^3/acen_p(i)^2/V(i));
+    Tinvn(i) = (FF*Cxi((acen_n(i)/Gamma/sxp(i))^2)/sxp(i) ...
+        /Gamma^3/acen_n(i)^2/V(i));
+    waitbar(i/Nb_pts, h, sprintf('Computing progression: %3d %%', floor(i/Nb_pts*100)));
+end
+close(h);
+   
+% Local average lifetime
+Tinv = (Tinvp+Tinvn)/2;
+
+Tp=1./Tinvp;
+Tn=1./Tinvn;
+T =1./Tinv;
+
+% Integration: Simpson method
+s1=[0 ; s]; s2=[s ; 0]; ds=s2-s1;
+Tousp=1/sum(1./Tp.*ds(1:end-1)')*s(end);
+Tousn=1/sum(1./Tn.*ds(1:end-1)')*s(end);
+
+Tous=2/(1/Tousp+1/Tousn);
+
+%% plotsection
+
+if DisplayFlag
+    figure
+    subplot(2,1,1)
+    plot(s,Tp,'.-');
+    grid on
+    xlabel('s (m)')
+    ylabel('Tp (h)')
+    
+    subplot(2,1,2)
+    plot(s,Tn,'.-');
+    grid on
+    xlabel('s (m)')
+    ylabel('Tn (h)')
+    
+    % Structure file 
+    if FullMachineFlag
+        files = fullfile(fileparts(which('naffgui')),'structure_nanoscopium');
+    else
+        files = fullfile(fileparts(which('naffgui')),'structure');
+    end
+    struc=dlmread(files);
+    
+    % artificial symmetry
+    acen=acen*100;
+    
+    figure
+    clf
+    plot([sd(1:Nb_pts); 2*sd(Nb_pts)-sd(Nb_pts:-1:1)],[acen(1:Nb_pts) ; acen(Nb_pts:-1:1)],'b.-');
+    hold on
+    plot([sd(Nb_pts+1:end); 2*sd(end)-sd(end:-1:1+Nb_pts)],[acen(Nb_pts+1:end) ; acen(end:-1:Nb_pts+1)],'b.-');
+    plot(struc(:,1),struc(:,2)/2,'k-')
+    
+    if FullMachineFlag
+        axis([0 getcircumference -9 5])
+    else
+        axis([0 getcircumference/4 -9 5])
+    end
+    grid on
+    title('SOLEIL')
+    xlabel('s (m)')
+    ylabel('Energy Acceptance \epsilon (%)')
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/Cxi.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/Cxi.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/touscheklifetime/Cxi.m	(revision 17)
@@ -0,0 +1,4 @@
+function y = Cxi(t)
+ y = -3/2*exp(-t)+ ...
+    t/2.*quad('log(u)./u.*exp(-u)',t,10) + ...
+    0.5*(3*t-t.*log(t)+2).*quad('exp(-u)./u',t,10);
Index: /trunk/machine/SOLEIL/common/naff/naffutils/tracy_plotDA.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/tracy_plotDA.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/tracy_plotDA.m	(revision 17)
@@ -0,0 +1,35 @@
+function tracy_plotDA(file)
+
+DisplayFlag = 1;
+
+if nargin < 1
+    file ='dyna.out';
+end
+
+try
+    [header data] = hdrload(file);
+catch
+    error('Error while opening filename %s',file)
+end
+
+
+%% amplitudes
+Hamp = data(:,1)*1e3;
+Vamp = data(:,2)*1e3;
+Hamp(data(:,3)==0)=NaN;
+Vamp(data(:,3)==0)=NaN;
+
+
+if DisplayFlag
+    %% Set default properties
+    set(0,'DefaultAxesXgrid','on');
+    set(0,'DefaultAxesYgrid','on');
+
+    %% Plot
+    figure
+    plot(Hamp,Vamp,'k.', 'MarkerSize', 2.0)
+    xlabel('Horizontal amplitude (mm)')
+    ylabel('Vertical amplitude (mm)')
+
+    addlabel(0,0,datestr(now))
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/tracy_plotnudx.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/tracy_plotnudx.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/tracy_plotnudx.m	(revision 17)
@@ -0,0 +1,51 @@
+function tracy_plotnudx(file1, file2)
+% tracy_plotnudxT(file) - plot tuneshift with amplitude from tracy output file
+%
+%  INPUTS
+%  1. file: filename to read
+
+if nargin == 0
+    data = tracy_readnudx;
+else
+    data = tracy_readnudx(file1, file2);
+end
+
+%% amplitude
+x = data.x;
+z = data.z;
+
+%% fractional tunes
+nux1 = data.nuxx;
+nuz1 = data.nuzx;
+
+nux2 = data.nuxz;
+nuz2 = data.nuzz;
+
+%% Set default properties
+set(0,'DefaultAxesXgrid','on');
+set(0,'DefaultAxesYgrid','on');
+
+%% Plot
+figure(43)
+clf('reset');
+subplot(2,2,1)
+plot(x,nux1,'.')
+xlabel('x (mm)')
+ylabel('\nu_x')
+
+subplot(2,2,3)
+plot(x,nuz1,'.')
+xlabel('x (mm)')
+ylabel('\nu_z')
+
+subplot(2,2,2)
+plot(z,nux2,'.')
+xlabel('z (mm)')
+ylabel('\nu_x')
+
+subplot(2,2,4)
+plot(z,nuz2,'.')
+xlabel('z (mm)')
+ylabel('\nu_z')
+
+addlabel(0,0,datestr(now))
Index: /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readnudp.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readnudp.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readnudp.m	(revision 17)
@@ -0,0 +1,65 @@
+function [dp nux nuz] = tracy_readnudp(file)
+% function tracy_readnudp(file)
+% plot tune shift with energy from tracy output file
+
+DisplayFlag = 0;
+
+if nargin < 1
+    file ='nudp.out'
+end
+
+try
+    [header data] = hdrload(file);
+catch
+    error('Error while opening filename %s',file)
+end
+
+%% energy in percent
+dp = data(:,1)*100;
+
+%% fractional tunes
+nux = data(:,2);
+nuz = data(:,3);
+nux(nux==0)=NaN;
+nuz(nuz==0)=NaN;
+
+%% closed orbit
+xcod = data(:,4)*1e3;
+zcod = data(:,5)*1e3;
+
+if DisplayFlag
+    %% Set default properties
+    set(0,'DefaultAxesXgrid','on');
+    set(0,'DefaultAxesYgrid','on');
+
+    %% Plot
+    figure(44)
+    subplot(1,2,1)
+    plot(dp,nux,'.')
+    xlabel('\delta (%)')
+    ylabel('\nu_x')
+
+    subplot(1,2,2)
+    plot(dp,nuz,'.')
+    xlabel('\delta (%)')
+    ylabel('\nu_z')
+    suptitle('Tune shift with energy')
+
+    addlabel(0,0,datestr(now))
+
+    h=figure(45)
+    pos=get(h,'Position');
+    set(h,'Position', [pos(1:2)  900 380]);
+    subplot(1,2,1)
+    plot(dp,xcod,'.')
+    xlabel('\delta (%)')
+    ylabel('xcod (mm)')
+
+    subplot(1,2,2)
+    plot(dp,zcod,'.')
+    xlabel('\delta (%)')
+    ylabel('zcod (mm)')
+    suptitle('Closed orbit variation with energy')
+
+    addlabel(0,0,datestr(now))
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readnudx.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readnudx.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readnudx.m	(revision 17)
@@ -0,0 +1,45 @@
+function data = tracy_readnudx(file1,file2)
+%  tracy_readnudx(file) - Reads tuneshift with amplitude from tracy output file 
+% 
+%
+%  1. data: data read from Tracy output file with subfields
+%      data.nuxx, nudxz, nudzz, nudzx tuneshift with amplitude
+%      data.x,z horizotal and vertical amplitude
+%
+%  See Also tracy_plotnudx
+
+
+%
+%% Written by Laurent S. Nadolski
+
+if nargin < 2
+    file1 ='nudx.out';
+    file2 ='nudz.out';
+end
+
+try
+    [header data1] = hdrload(file1);
+catch
+    error('Error while opening filename %s',file1)
+end
+
+try
+    [header data2] = hdrload(file2);
+catch
+    error('Error while opening filename %s',file2)
+end
+
+%% amplitude
+data.x = data1(:,1)*1e3;
+data.z = data2(:,2)*1e3;
+
+%% fractional tunes
+data.nuxx = data1(:,3);
+data.nuzx = data1(:,4);
+data.nuxx(data.nuxx==0)=NaN;
+data.nuzx(data.nuzx==0)=NaN;
+
+data.nuxz = data2(:,3);
+data.nuzz = data2(:,4);
+data.nuxz(data.nuxz==0)=NaN;
+data.nuzz(data.nuzz==0)=NaN;
Index: /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readsigma.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readsigma.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readsigma.m	(revision 17)
@@ -0,0 +1,131 @@
+function [s2 bx2 bz2 etax2 etaz2 ax2 az2] = tracy_readsigma(file,cell)
+%function tracy_readtwiss(file,cell) - Plot Twiss functions from TRacy output file
+%
+%  OUPUTS
+%  1. s2 - s-position alon the ring
+%  2. bx2 - Horizontal beta function
+%  3. bz2 - Vertical beta function
+%  4. etax2 - Horizontal dispersion
+%  5. etaz2 - Vertical dispersion
+%  6. ax2 - Horizontal alpha function
+%  7. az2 - Vertical alpha function
+%
+% cell = 1 show all the ring
+% cell = 4 show one out of 4 periods
+
+%
+%% Written by Laurent S. Nadolski, 27/09/08, SOLEIL
+
+DisplayFlag = 1;
+
+if nargin == 0
+    file = 'sigma.out';
+end
+
+if (nargin ==2 && ~isempty(cell))
+    cell = 4;
+else
+    cell = 1;
+end
+
+[dummy s bx mux by muy sqrtSx sqrtSxp sqrtSy sqrtSyp sxy twist delta sqrtSxoSy sqrtexbx sqrteyby sqrtsI sqrtsII sIII sqrtsIosII] = ...
+    textread(file,'%s %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f','headerlines',4);
+[s idx] = unique(s);
+bx = bx(idx); by = by(idx);
+mux = mux(idx); muy = muy(idx);
+sqrtSx = sqrtSx(idx);
+sqrtSxp = sqrtSxp(idx);
+sqrtSy = sqrtSy(idx);
+sqrtSyp = sqrtSyp(idx);
+sxy = sxy(idx);
+delta = delta(idx);
+sqrtSxoSy = sqrtSxoSy(idx);
+sqrtexbx = sqrtexbx(idx);
+sqrteyby = sqrteyby(idx);
+sqrtsI = sqrtsI(idx); 
+sqrtsII = sqrtsII(idx);
+sIII = sIII(idx);
+twist = twist(idx);
+sqrtsIosII = sqrtsIosII(idx); 
+
+%invariant
+epsX = sqrtexbx.*sqrtexbx./bx;
+epsY = sqrteyby.*sqrteyby./by;
+
+if 0
+    [s2 bx2 by2 etax2 etay2 ax2 ay2] = tracy_readtwiss;
+
+    % projected emittance ?? look like invariant
+    epsXp = (sqrtSx.*sqrtSx-etax2.*etax2*1.016e-3*1.016e-3)./bx2;
+    epsYp = (sqrtSy.*sqrtSy-etay2.*etay2*1.016e-3*1.016e-3)./by2;
+%     epsXp = (sqrtsI.*sqrtsI-etax2.*etax2*1.016e-3*1.016e-3)./bx2;
+%     epsYp = (sqrtsII.*sqrtsII-etay2.*etay2*1.016e-3*1.016e-3)./by2;
+    fprintf('Mean projected emittance epsX = %e (nm.rad) epsY = %e (nm.rad)\n', mean(epsX), mean(epsY));
+    fprintf('Entrance projected emittance epsX = %e (nm.rad) epsY = %e (nm.rad)\n', epsX(1), epsY(1));
+    fprintf('Mean projected emittance ratio  = %e\n', mean(epsY./epsX));
+    figure
+    subplot(2,1,1)
+    plot(s,epsXp); hold on
+    plot(s,epsYp); axis tight;
+    subplot(2,1,2)
+    plot(s,epsYp./epsXp*100); axis tight;
+end
+
+%%
+if DisplayFlag
+    h = figure(21)
+    cla
+    plot(s,bx,'r.',s,by,'b.');
+    %drawlattice(0,2,gca)
+    %plotlattice(0,2)
+    legend('\beta_x','\beta_z')
+    xaxis([0 s(end)/cell])
+    title('Optical functions')
+    xlabel('s (m)')
+    datalabel on
+    %%
+    %% interpolation
+    si    = (s(1):0.2:s(end))';
+    bxi   = interp1(s,bx,si,'pchip');
+    byi   = interp1(s,by,si,'pchip');
+
+    hold on;
+    plot(si,bxi,'r-',si,byi,'b-');
+    drawlattice(0,2,gca)
+    xaxis([0 s(end)/cell])
+    title('Optical functions')
+    xlabel('s (m)')
+    
+    figure
+    plot(s,epsY./epsX*100)
+    ylabel('Coupling value (%)')
+    axis tight
+
+    figure
+    subplot(2,1,1)
+    plot(s,sqrtsI,s,sqrtsII)
+    ylabel('Beam sizes (%)')
+    axis tight
+    subplot(2,1,2)
+    plot(s,sqrtsIosII)
+    ylabel('Beam size ratio (%)')
+    axis tight
+
+    figure
+    subplot(2,2,2)
+    plot(s,epsX*1e9)
+    ylabel('H-emittance (nm.rad)')
+    axis tight
+    subplot(2,2,4)
+    plot(s,epsY*1e9)
+    ylabel('V-emittance (nm.rad)')
+    axis tight
+    subplot(2,2,1)
+    plot(s,twist*180/pi)
+    ylabel('twist (degree)')
+    axis tight
+    subplot(2,2,3)
+    plot(s,sqrtSx*1e6,'b', s, sqrtSy*1e6,'g')
+    ylabel('Beam sizes (µm)')
+    axis tight
+end
Index: /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readtwiss.m
===================================================================
--- /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readtwiss.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/naff/naffutils/tracy_readtwiss.m	(revision 17)
@@ -0,0 +1,69 @@
+function [s2 bx2 bz2 etax2 etaz2 ax2 az2] = tracy_readtwiss(file,cell)
+%function tracy_readtwiss(file,cell) - Plot Twiss functions from TRacy output file
+%
+%  OUPUTS
+%  1. s2 - s-position alon the ring
+%  2. bx2 - Horizontal beta function
+%  3. bz2 - Vertical beta function
+%  4. etax2 - Horizontal dispersion
+%  5. etaz2 - Vertical dispersion
+%  6. ax2 - Horizontal alpha function
+%  7. az2 - Vertical alpha function
+%
+% cell = 1 show all the ring
+% cell = 4 show one out of 4 periods
+
+%
+%% Written by Laurent S. Nadolski, 27/09/08, SOLEIL
+
+DisplayFlag = 0;
+
+if nargin == 0
+    file = 'linlat.out';
+end
+
+if (nargin ==2 && ~isempty(cell))
+    cell = 4;
+else
+    cell = 1;
+end
+
+[dummy s ax bx mux etax etaxp az bz muz etaz etazp] = ...
+    textread(file,'%s %f %f %f %f %f %f %f %f %f %f %f','headerlines',4);
+[s2 idx] = unique(s);
+ax2 = ax(idx); az2 = az(idx);
+bx2 = bx(idx); bz2 = bz(idx);
+etax2 = etax(idx); etaz2 = etaz(idx);
+%%
+if DisplayFlag
+    h = figure(21)
+    cla
+    plot(s,bx,'r-',s,bz,'b-');
+    hold on;
+    plot(s,10*etax,'g-',s,10*etaz,'k--')
+    drawlattice(0,2,gca)
+    %plotlattice(0,2)
+    legend('\beta_x','\beta_z','10\eta_x','10\eta_z')
+    xaxis([0 s(end)/cell])
+    title('Optical functions')
+    xlabel('s (m)')
+    datalabel on
+    %%
+    %% interpolation
+    si    = (s2(1):0.2:s2(end))';
+    bxi   = interp1(s2,bx2,si,'pchip');
+    bzi   = interp1(s2,bz2,si,'pchip');
+    etaxi = interp1(s2,etax2,si,'pchip');
+    etazi = interp1(s2,etaz2,si,'pchip');
+
+    figure(22)
+    cla
+    hold on;
+    plot(si,bxi,'r-',si,bzi,'b-');
+    plot(si,10*etaxi,'g-',si,10*etazi,'k--')
+    drawlattice(0,2,gca)
+    legend('\beta_x','\beta_z','10\eta_x','10\eta_z')
+    xaxis([0 s(end)/cell])
+    title('Optical functions')
+    xlabel('s (m)')
+end
Index: /trunk/machine/SOLEIL/common/optics_LT1_LT2.m
===================================================================
--- /trunk/machine/SOLEIL/common/optics_LT1_LT2.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/optics_LT1_LT2.m	(revision 17)
@@ -0,0 +1,1364 @@
+function varargout = optics_LT1_LT2(varargin)
+%OPTICS_LT1_LT2 - M-file for optics_LT1_LT2.fig
+%      OPTICS_LT1_LT2, by itself, creates a new OPTICS_LT1_LT2 or raises the existing
+%      singleton*.
+%
+%      H = OPTICS_LT1_LT2 returns the handle to a new OPTICS_LT1_LT2 or the handle to
+%      the existing singleton*.
+%
+%      OPTICS_LT1_LT2('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in OPTICS_LT1_LT2.M with the given input arguments.
+%
+%      OPTICS_LT1_LT2('Property','Value',...) creates a new OPTICS_LT1_LT2 or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before optics_LT1_LT2_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to optics_LT1_LT2_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help optics_LT1_LT2
+
+% Last Modified by GUIDE v2.5 09-Mar-2005 10:49:46
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @optics_LT1_LT2_OpeningFcn, ...
+                   'gui_OutputFcn',  @optics_LT1_LT2_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+% --- Executes just before optics_LT1_LT2 is made visible.
+function optics_LT1_LT2_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to optics_LT1_LT2 (see VARARGIN)
+
+% Choose default command line output for optics_LT1_LT2
+handles.output = hObject;
+
+%mat: utilite ???
+setappdata(handles.figure1, 'twissdatain',struct([]));
+
+% construct initial twiss parameters
+
+Machine = getfamilydata('SubMachine');
+
+switch Machine
+    case {'LT1'}
+
+        twissdatain.ElemIndex  = 1;
+        twissdatain.SPos       = 0;
+        twissdatain.ClosedOrbit= [1e-3 0 2e-3 0]'*0;
+        twissdatain.M44        = eye(4);
+        % theorique
+        twissdatain.beta       = [8.1 8.1];
+        twissdatain.alpha      = [0 0];
+        % mesure 2006-02-06
+        twissdatain.beta       = [9.5 13.5];
+        twissdatain.alpha      = [-1.16 -2.43];
+        twissdatain.mu         = [0 0];
+        twissdatain.Dispersion = [0 0 0 0]';
+        set(handles.figure1,'Name', 'LT1 Optical functions');
+        
+    case {'LT2'}
+        
+        twissdatain.ElemIndex  = 1;
+        twissdatain.SPos       = 0;
+        twissdatain.ClosedOrbit= [1e-3 0 2e-3 0]'*0;
+        twissdatain.M44        = eye(4);
+        twissdatain.beta       = [6.0 6.0];
+        twissdatain.alpha      = [-1.8 1.5];
+        twissdatain.mu         = [0 0];
+        twissdatain.Dispersion = [0 0 0 0]';
+        set(handles.figure1,'Name', 'LT2 Optical functions');
+
+    otherwise
+        error('No Machine loaded')        
+end
+
+setappdata(handles.figure1, 'twissdatain0',twissdatain);
+handles.restart = 1;
+
+%% Initialize structure for handling LT1 and LT2 magnets
+handles = init_handles(handles);
+
+% Update handles structure
+guidata(hObject, handles);
+
+AO = getao;
+% setappdata(handles.figure1,'AOmagnet', AO);
+
+%set(handles.(name),'Max',9, 'Min', -9)
+
+% min et max des sliders (figÃ© Ã  l'ouverture puis modifiable par SETBAR)
+val_max = getmaxsp('QP');
+val_min = getminsp('QP');
+
+%% Number of sliders    
+handles.sliderNumber = 7;
+
+for k = 1:handles.sliderNumber,
+    name = strcat('sliderQP',num2str(k))
+    set(handles.(name),'Max',val_max(k),'Min',val_min(k));
+end
+
+
+%% liste de aimants a controler (menu deroulant)
+list = [AO.QP.CommonNames;...
+        AO.CH.CommonNames; ...
+        AO.CV.CommonNames
+        ];
+
+%% Automatic configuration for sliders
+for k = 1:handles.sliderNumber
+    name = ['popupmenu_bar' num2str(k)];
+    set(handles.(name),'String',list);
+    set(handles.(name),'Value',k);
+end
+
+%% graphe par defaut
+axes(handles.axes1);
+handles.xtype = 'spos';
+handles.ytype = 'beta';
+
+%% initialisation AT et IHM
+handles = restart(handles);
+
+%% Read Tango values
+%read_tango(handles);
+
+% UIWAIT makes optics_LT1_LT2 wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+set(0,'DefaultAxesXgrid','on','DefaultAxesYgrid','on');
+
+%% graphe symboles
+axes(handles.axes2);
+drawlattice(0,0.8);
+set(handles.axes2,'Xlim',[handles.spos(1) handles.spos(end)], ...
+    'XTick',[],'YTick',[]);
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+%% -------------------------------------
+function handles = computeTwiss(handles)
+% update ATmodel
+% compute new twiss parameters
+% 
+global THERING;
+
+%%% parameters at the entrance of the line
+% twissdatain.ElemIndex=1;
+% twissdatain.SPos=0;
+% twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;
+% twissdatain.M44=eye(4);
+% 
+% if isequal(isfield(twissdatain,'beta'),0)
+ 
+ if handles.restart == 1
+     twissdatain = getappdata(handles.figure1,'twissdatain0');
+     handles.restart = 0;
+ else
+     twissdatain = getappdata(handles.figure1,'twissdatain');
+ end
+%     twissdatain.beta= [8.1 8.1];
+%     twissdatain.alpha= [0 0];
+% else
+%     twissdatain = getappdata(handles.figure1,'twissdatain')
+% end
+
+% twissdatain.mu= [0 0];
+% twissdatain.Dispersion= [0 0 0 0]';
+
+%%% get twiss paramaters
+TD = twissline(THERING,0.0,twissdatain,1:length(THERING),'chroma');
+
+handles.twissdatain = twissdatain;
+handles.beta  = cat(1,TD.beta);
+handles.cod   = cat(2,TD.ClosedOrbit)';
+handles.eta   = cat(2,TD.Dispersion)';
+handles.spos  = cat(1,TD.SPos);
+handles.phase = cat(1,TD.mu);
+
+setappdata(handles.figure1,'twissdatain',twissdatain);
+
+% --- Outputs from this function are returned to the command line.
+function varargout = optics_LT1_LT2_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+% --- Executes during object creation, after setting all properties.
+function sliderQP1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sliderQP1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on slider movement.
+function sliderQP1_Callback(hObject, eventdata, handles)
+% hObject    handle to sliderQP1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+
+handles = setslider(hObject,handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function editQP1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to editQP1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','green');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on slider movement.
+function editQP1_Callback(hObject, eventdata, handles)
+% hObject    handle to editQP1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of editQP1 as text
+%        str2double(get(hObject,'String')) returns contents of editQP1 as a double
+handles = setedit(handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function sliderQP2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sliderQP2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on slider movement.
+function sliderQP2_Callback(hObject, eventdata, handles)
+% hObject    handle to sliderQP2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+handles = setslider(hObject,handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function editQP2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to editQP2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function editQP2_Callback(hObject, eventdata, handles)
+% hObject    handle to editQP2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of editQP2 as text
+%        str2double(get(hObject,'String')) returns contents of editQP2 as a double
+handles = setedit(handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function sliderQP3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sliderQP3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on slider movement.
+function sliderQP3_Callback(hObject, eventdata, handles)
+% hObject    handle to sliderQP3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+handles = setslider(hObject,handles);
+guidata(hObject, handles);
+
+
+% --- Executes during object creation, after setting all properties.
+function editQP3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to editQP3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function editQP3_Callback(hObject, eventdata, handles)
+% hObject    handle to editQP3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of editQP3 as text
+%        str2double(get(hObject,'String')) returns contents of editQP3 as a double
+handles = setedit(handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function editQP4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to editQP4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function editQP4_Callback(hObject, eventdata, handles)
+% hObject    handle to editQP4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of editQP4 as text
+%        str2double(get(hObject,'String')) returns contents of editQP4 as a double
+handles = setedit(handles);
+
+
+% --- Executes during object creation, after setting all properties.
+function sliderQP4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sliderQP4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on slider movement.
+function sliderQP4_Callback(hObject, eventdata, handles)
+% hObject    handle to sliderQP4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+handles = setslider(hObject,handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function editQP5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to editQP5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+function editQP5_Callback(hObject, eventdata, handles)
+% hObject    handle to editQP5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of editQP5 as text
+%        str2double(get(hObject,'String')) returns contents of editQP5 as a double
+handles = setedit(handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function sliderQP5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sliderQP5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on slider movement.
+function sliderQP5_Callback(hObject, eventdata, handles)
+% hObject    handle to sliderQP5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+handles = setslider(hObject,handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function sliderQP6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sliderQP6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on slider movement.
+function sliderQP6_Callback(hObject, eventdata, handles)
+% hObject    handle to sliderQP6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+handles = setslider(hObject,handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function editQP6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to editQP6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function editQP6_Callback(hObject, eventdata, handles)
+% hObject    handle to editQP6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of editQP6 as text
+%        str2double(get(hObject,'String')) returns contents of editQP6 as a double
+handles = setedit(handles);
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function editQP7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to editQP7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+function editQP7_Callback(hObject, eventdata, handles)
+% hObject    handle to editQP7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of editQP7 as text
+%        str2double(get(hObject,'String')) returns contents of editQP7 as a double
+handles = setedit(handles);
+
+
+% --- Executes during object creation, after setting all properties.
+function sliderQP7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sliderQP7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: slider controls usually have a light gray background, change
+%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.
+usewhitebg = 1;
+if usewhitebg
+    set(hObject,'BackgroundColor',[.9 .9 .9]);
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on slider movement.
+function sliderQP7_Callback(hObject, eventdata, handles)
+% hObject    handle to sliderQP7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'Value') returns position of slider
+%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
+handles = setslider(hObject,handles);
+guidata(hObject, handles);
+
+%-----------------------------------------------------------------------
+function plot_axes(handles,quoi)
+%%% fonction generique
+
+axes(handles.axes1); cla; hold on;
+
+switch handles.xtype
+    case 'spos'
+        x=handles.(handles.xtype);
+    case 'phase'
+        x=handles.(handles.xtype); x = x(:,1);
+end
+
+switch quoi
+    case 'beta'
+        plot(x,handles.beta(:,1),'r.-'); 
+        plot(x,handles.beta(:,2),'b.-'); 
+        ylabel('\beta (m)');
+        %mat
+   %ylim([0 130]);
+        
+    case 'eta'        
+        plot(x,handles.eta(:,1),'r.-');
+        plot(x,handles.eta(:,3),'b.-');
+        ylabel('\eta (m)');
+    case 'cod'        
+        plot(x,handles.cod(:,1)*1e3,'r.-');
+        plot(x,handles.cod(:,3)*1e3,'b.-');
+        ylabel('cod (mm)');
+    case 'phase'        
+        plot(x,handles.phase(:,1),'r.-');
+        plot(x,handles.phase(:,2),'b.-');
+        ylabel('phase ');
+end
+axis([x(1) x(end) -inf inf]);
+datalabel on
+
+%--------------------------------------------------------------------------
+function handles = setslider(hObject, handles)
+%%% fonction generique pour un slider de type aimant
+
+AOmagnet = getappdata(handles.figure1,'AOmagnet'); %% get LT1 structure
+%% extrait le numero
+tagstring = get(hObject,'Tag');
+num = tagstring(regexp(tagstring,'\d'));
+magnet0 = ['QP' num2str(num)];
+val =  get(hObject,'Value');
+str = num2str(val);
+set(handles.(['edit' magnet0]),'string',str);
+
+%% Cherche le nom de l'aimant
+h = handles.(['popupmenu_bar' num]);
+contents = get(h,'String');
+magnet = contents{get(h,'Value')};
+handles = setATmagnet(handles,magnet,val);
+
+AOmagnet.(magnet(1:2)).ModelVal(str2double(magnet(end))) = val;
+
+% save data
+setappdata(handles.figure1,'AOmagnet',AOmagnet)
+
+%--------------------------------------------------------------------------
+function handles = setATmagnet(handles,magnet,val)
+% function handles = setATmagnet(handles,magnet,val)
+% set  val as new setvalue of element 'magnet' 
+% Replot current graph
+
+AOmagnet= getappdata(handles.figure1,'AOmagnet'); % get magnet AO
+
+% set value to AT model
+setsp(common2family(magnet), val, common2dev(magnet),'Model');
+
+% Recompute twiss parameters
+handles = computeTwiss(handles);
+% Replot everything
+plot_axes(handles,handles.ytype);
+%mat
+%ylim([0 130]);
+
+%--------------------------------------------------------------------------
+function handles = setedit(handles)
+% function setedit(handles)
+% generic callback for an edit box
+
+AOmagnet= getappdata(handles.figure1,'AOmagnet'); % get magnet AO
+
+%% construction automatique du nom du slider
+val = str2double(get(gcbo,'String'));
+tagstring = get(gcbo,'Tag');
+num = tagstring(regexp(tagstring,'\d'));
+magnet0=['QP' num2str(num)];
+name = handles.(['slider' magnet0]);
+%% Cherche le nom de l'aimant
+h = handles.(['popupmenu_bar' num]);
+contents = get(h,'String');
+magnet = contents{get(h,'Value')};
+
+%%% Test si dans les limites
+if val<get(name,'Max') && val> get(name,'Min')
+  set(name,'Value',val);
+  handles = setATmagnet(handles,magnet,val);
+  AOmagnet.(magnet(1:2)).ModelVal(str2double(magnet(end))) = val;
+else % message d'erreur
+  warndlg('Wrong value for K','Edit Box','Modal')
+  set(hObject,'String',num2str(get(name,'Value')));
+end
+
+% Save data
+setappdata(handles.figure1,'AOmagnet',AOmagnet); 
+
+%---------------------------------
+function mutual_exclude(off)
+% function mutual_exclude(off)
+% fonction pour faire des radioboutons
+set(off,'Value',0);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_y_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_y (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_y.
+function popupmenu_y_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_y (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_y contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_y
+contents = get(hObject,'String');
+plot_axes(handles, contents{get(hObject,'Value')});
+%mat
+     %ylim([0 130]);
+handles.ytype = contents{get(hObject,'Value')};       
+guidata(hObject, handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_x_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on selection change in popupmenu_x.
+function popupmenu_x_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_x (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_x contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_x
+contents = get(hObject,'String');        
+handles.xtype = contents{get(hObject,'Value')};       
+guidata(hObject, handles);
+plot_axes(handles, handles.ytype);
+%mat
+      %ylim([0 130]);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_plane_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_plane (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_plane.
+function popupmenu_plane_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_plane (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_plane contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_plane
+
+
+% --- Executes on button press in pushbutton_reload.
+function pushbutton_reload_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_reload (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+handles = restart(handles);
+guidata(hObject,handles);
+
+%--------------------------------------------------------
+function handles = restart(handles)
+% function handles = restart(handles)
+% Reinitialise la maille et l'IHM
+
+AD = getad;
+run(AD.ATModel); %% Load lattice
+global THERING
+% MAT ET LAURENT : TEMPORAIRE
+%warning('66 MeV');
+%setenergymodel(0.066);
+
+%
+setappdata(handles.figure1, 'LT1', THERING);
+
+handles.restart = 1;
+handles         = computeTwiss(handles);
+
+plot_axes(handles,handles.ytype);
+%mat
+   
+%ylim([0 130]);
+
+handles.modelMagnetVal  = {'chModelVal', 'cvModelVal', ...
+    'quadrupoleModelVal', 'dipoleModelVal'};
+
+store_model_values(handles);
+
+% Relaod Accelerator Object
+AO  = getao; 
+
+%% Initialise les sliders et editboxes
+for k = 1:handles.sliderNumber
+    name = ['popupmenu_bar' num2str(k)];
+    contents = get(handles.(name),'String');
+    magnet = contents{get(handles.(name),'Value')};
+    
+    Qname = ['QP' num2str(k)];   
+    
+    % Read AT values
+    val  = getam(common2family(magnet),common2dev(magnet),'Model');
+    
+    set(handles.(['slider' Qname]),'Value', val);
+    set(handles.(['edit' Qname]),'string', num2str(val));
+end
+
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_bar1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_bar1.
+function popupmenu_bar1_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_bar1 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar1
+
+setbar(handles);
+
+%----------------------------------------------------------
+function setbar(handles)
+%% aimant selectionne
+contents = get(gcbo,'String');
+magnet = contents{get(gcbo,'Value')}
+
+%% mets a jour l'IHM pour cet aimant
+tagstring = get(gcbo,'Tag');
+num = tagstring(regexp(tagstring,'\d'));
+slidername = ['sliderQP' num]; 
+editboxname = ['editQP' num]; 
+
+AOmagnet  = getappdata(handles.figure1,'AOmagnet'); 
+
+switch magnet
+    case AOmagnet.CH.CommonNames
+        val_max = getmaxsp('CH');
+        for k = 1:7
+            name = strcat('sliderQP',num2str(k))
+            set(handles.(name),'Max',val_max);
+        end
+        val = AOmagnet.CH.ModelVal(str2double(magnet(end)));
+    case AOmagnet.CV.CommonNames
+        val = AOmagnet.CV.ModelVal(str2double(magnet(end)));
+    case AOmagnet.QP.CommonNames
+        val = AOmagnet.QP.ModelVal(str2double(magnet(end)));
+end
+
+str = num2str(val);
+set(handles.(slidername),'Value',val); % writes slider
+set(handles.(editboxname),'String',str); % writes editbox
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_bar2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on selection change in popupmenu_bar2.
+function popupmenu_bar2_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_bar2 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar2
+setbar(handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_bar3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on selection change in popupmenu_bar3.
+function popupmenu_bar3_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_bar3 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar3
+setbar(handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_bar4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on selection change in popupmenu_bar4.
+function popupmenu_bar4_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_bar4 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar4
+setbar(handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_bar5_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on selection change in popupmenu_bar5.
+function popupmenu_bar5_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar5 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_bar5 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar5
+setbar(handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_bar6_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+
+% --- Executes on selection change in popupmenu_bar6.
+function popupmenu_bar6_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar6 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_bar6 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar6
+setbar(handles);
+
+% --- Executes during object creation, after setting all properties.
+function popupmenu_bar7_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: popupmenu controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc
+    set(hObject,'BackgroundColor','white');
+else
+    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
+end
+
+% --- Executes on selection change in popupmenu_bar7.
+function popupmenu_bar7_Callback(hObject, eventdata, handles)
+% hObject    handle to popupmenu_bar7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns popupmenu_bar7 contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar7
+setbar(handles);
+
+
+% --- Executes on button press in pushbutton_refresh.
+function pushbutton_refresh_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_refresh (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%--------------------------------------------------------------------------
+function read_tango(handles)
+% Reads Tango values for LT1.
+
+% Get magnet AO
+AOmagnet = getappdata(handles.figure1,'AOmagnet');
+FamilyName = fieldnames(AOmagnet); 
+
+for k1 = 1:length(FamilyName)
+        % get attribute readback value
+        magnet = AOmagnet.(FamilyName{k1});
+        AOmagnet.(FamilyName{k1}).TangoVal = ...
+            getam(FamilyName{k1},'Online');
+end
+
+% save data
+setappdata(handles.figure1,'AOmagnet',AOmagnet)
+
+%--------------------------------------------------------------------------
+function write_tango(handles);
+%-- Writes Tango values
+%% Ecriture courant aimant sur les devices serveurs
+
+% Get magnet AO
+AOmagnet = getappdata(handles.figure1,'AOmagnet');
+
+FamilyName = fieldnames(AOmagnet); 
+for k1 = 1:length(FamilyName)
+    magnet = AOmagnet.(FamilyName{k1});
+    setsp(magnet, magnet.ModelVal,'Online');
+end
+
+%--------------------------------------------------------------------------
+function devicelist = get_device_name(machine,property,magnet)
+% get device list from mapping read in tango database
+
+map        = tango_get_db_property(machine,property);
+sep        = cell2mat(regexpi(map,'::','once'))-1;
+devicelist = regexprep(map,[magnet '\d*::'],'')';
+
+% --- Executes during object creation, after setting all properties.
+function pushbutton_reload_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to pushbutton_reload (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% --- Executes on button press in pushbutton_model2online.
+function pushbutton_model2online_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_model2online (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+AOmagnet      = getappdata(handles.figure1,'AOmagnet'); %% get LT1 structure
+
+user_response = questdlg('Do you want to write setvalues to LT1?');
+switch user_response
+    case{'No','Cancel'}
+        return;
+    case{'Yes'}
+        FamilyName = fieldnames(AOmagnet);
+        for k1 = 1:length(FamilyName)
+            AOmagnet.(FamilyName{k1}).TangoVal = ...
+                AOmagnet.(FamilyName{k1}).ModelVal;
+        end
+        write_tango(handles);
+end
+
+% save data
+setappdata(handles.figure1,'AOmagnet',AOmagnet)
+
+% --- Executes on button press in pushbutton_online2model.
+function pushbutton_online2model_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_online2model (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Online values stored in model values except dipoles
+user_response = questdlg('Do you want to read TANGO setvalues from LT1?');
+switch user_response
+    case{'No','Cancel'}
+        return;
+    case{'Yes'}
+        read_tango(handles);
+end
+
+AOmagnet    = getappdata(handles.figure1,'AOmagnet'); %% get LT1 structure
+
+FamilyName = fieldnames(AOmagnet); 
+for k1 = 1:length(FamilyName)    
+        AOmagnet.(FamilyName{k1}).ModelVal = AOmagnet.(FamilyName{k1}).TangoVal;
+end
+        
+%% Initialise les sliders et editboxes
+for k = 1:handles.sliderNumber
+    name = ['popupmenu_bar' num2str(k)];
+    contents = get(handles.(name),'String');
+    magnet = contents{get(handles.(name),'Value')};
+    
+    Qname = ['QP' num2str(k)];   
+    
+    switch magnet
+        case AOmagnet.QP.CommonNames            
+            val = AOmagnet.QP.TangoVal(str2double(magnet(end)));
+        case AOmagnet.CH.CommonNames
+            val = AOmagnet.CH.TangoVal(str2double(magnet(end)));
+        case AOmagnet.CV.CommonNames
+            val = AOmagnet.CV.TangoVal(str2double(magnet(end)));
+    end
+    
+    set(handles.(['slider' Qname]),'Value', val);
+    set(handles.(['edit' Qname]),'string', num2str(val));
+end
+
+set_model_values(handles);
+
+handles = computeTwiss(handles);
+plot_axes(handles,handles.ytype);
+%mat
+        %ylim([0 130]);
+% Update handles structure
+guidata(hObject, handles);
+
+%% Update date
+set(handles.text_date,'String',datestr(now,0));
+
+%save data
+setappdata(handles.figure1,'AOmagnet',AOmagnet);
+
+%--------------------------------------------------------------------------
+function handles = init_handles(handles)
+%% Inits structure storing all the magnet data
+
+%% AT model used
+% global THERING;
+
+A1 = getao; % Load AO for the first time
+AOmagnet = [];
+list = findmemberof('Magnet');
+for k = 1:length(list)
+    AOmagnet.(list{k}) = A1.(list{k});
+end
+clear A1;
+
+%save data
+setappdata(handles.figure1,'AOmagnet',AOmagnet);
+
+store_model_values(handles);
+
+%% Update time
+set(handles.text_date,'String',datestr(now,0));
+
+%--------------------------------------------------------------------------
+function store_model_values(handles)
+%% Stores model values in AOmagnet 
+
+AOmagnet = getappdata(handles.figure1,'AOmagnet'); % get AOmagnet structure
+
+% Loop over magnet types
+FamilyName = fieldnames(AOmagnet);
+
+for k1 = 1:length(FamilyName)
+    AOmagnet.(FamilyName{k1}).ModelVal = getam(FamilyName{k1},'Model');
+end
+
+setappdata(handles.figure1,'AOmagnet',AOmagnet);
+
+%--------------------------------------------------------------------------
+function set_model_values(handles)
+% Set Modelvalue into LT1 AT model
+
+AOmagnet = getappdata(handles.figure1,'AOmagnet'); % get AOmagnet structure
+
+%% Set model values to AT
+FamilyName = fieldnames(AOmagnet); 
+
+for k1 = 1:length(FamilyName)
+    magnet = AOmagnet.(FamilyName{k1});
+    setsp(FamilyName{k1}, magnet.ModelVal,'Model');
+end
+
+
+%--------------------------------------------------------------------------
+function submenu_print_setpoint_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_print_setpoint (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%--------------------------------------------------------------------------
+function submenu_print_model_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_print_model (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% -------------------------------------------------------------------------
+function submenu_save_setpoint_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_save_setpoint (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% -------------------------------------------------------------------------
+function submenu_save_model_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_save_model (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% -------------------------------------------------------------------------
+function submenu_load_setpoint_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_load_setpoint (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%--------------------------------------------------------------------------
+function submenu_load_model_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_load_model (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%--------------------------------------------------------------------------
+function Untitled_1_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%--------------------------------------------------------------------------
+function Untitled_4_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+%--------------------------------------------------------------------------
+function Untitled_7_Callback(hObject, eventdata, handles)
+% hObject    handle to Untitled_7 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function submenu_dump_model_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_dump_model (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get magnet AO
+AOmagnet = getappdata(handles.figure1,'AOmagnet');
+
+fprintf('  DeviceName     Model   s(m)   phasex betax(m) etax(m) xcod(mm) phasez betaz(m) etaz(m) zcod(mm)\n')
+
+FamilyName = fieldnames(AOmagnet); 
+for k1 = 1:length(FamilyName)
+    alias = AOmagnet.(FamilyName{k1});
+    for k2 = 1 : length(AOmagnet.(FamilyName{k1}).CommonNames)
+        fprintf('%15s %6.2f %6.2f  %6.2f  %6.2f  %6.2f  %6.2f  %6.2f  %6.2f  %6.2f  %6.2f \n', ...
+            alias.DeviceName{k2}, alias.ModelVal(k2), ... 
+            handles.spos(alias.AT.ATIndex(k2),1), handles.phase(alias.AT.ATIndex(k2),1), ...
+            handles.beta(alias.AT.ATIndex(k2),1), handles.eta(alias.AT.ATIndex(k2),1), ...
+            handles.cod(alias.AT.ATIndex(k2),1), ...
+            handles.phase(alias.AT.ATIndex(k2),2), ...
+            handles.beta(alias.AT.ATIndex(k2),2), handles.eta(alias.AT.ATIndex(k2),2), ...
+            handles.cod(alias.AT.ATIndex(k2),2));
+    end
+end
+
+
+%--------------------------------------------------------------------------
+function submenu_dump_setpoint_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_dump_setpoint (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get magnet AO
+AOmagnet = getappdata(handles.figure1,'AOmagnet');
+
+fprintf('\n\n  DeviceName     TANGO\n')
+
+FamilyName = fieldnames(AOmagnet); 
+for k1 = 1:length(FamilyName)
+    for k2 = 1 : length(AOmagnet.(FamilyName{k1}).CommonNames)
+        alias = AOmagnet.(FamilyName{k1});
+        fprintf('%15s %6.2f \n', alias.DeviceName{k2}, ...
+            alias.TangoVal(k2));
+    end
+end
+
+
+%--------------------------------------------------------------------------
+function submenu_dump_soleil_setpoint_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_dump_soleil_setpoint (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+fprintf('\n\n  DeviceName     Model  TANGO\n')
+
+% Get magnet AO
+AOmagnet = getappdata(handles.figure1,'AOmagnet');
+
+FamilyName = fieldnames(AOmagnet); 
+for k1 = 1:length(FamilyName)
+    for k2 = 1 : length(AOmagnet.(FamilyName{k1}).CommonNames)
+        alias = AOmagnet.(FamilyName{k1});
+        fprintf('%15s %6.2f %6.2f\n', alias.DeviceName{k2}, ...
+            alias.ModelVal(k2), alias.TangoVal(k2));
+    end
+end
+
+
+% --------------------------------------------------------------------
+function twiss_parameters_Callback(hObject, eventdata, handles)
+% hObject    handle to twiss_parameters (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function submenu_twissparameters_entry_Callback(hObject, eventdata, handles)
+% hObject    handle to submenu_twissparameters_entry (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+twiss_parameters_entry(handles)
+
+
+
Index: /trunk/machine/SOLEIL/common/plotfamily/UpdateMenuSuperperiod.m
===================================================================
--- /trunk/machine/SOLEIL/common/plotfamily/UpdateMenuSuperperiod.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/plotfamily/UpdateMenuSuperperiod.m	(revision 17)
@@ -0,0 +1,9 @@
+function UpdateMenuSuperperiod
+
+handles = guihandles;
+handles = guihandles(handles.figure1);
+set(handles.all,'Checked','Off');
+set(handles.superperiod1,'Checked','Off');
+set(handles.superperiod2,'Checked','Off');
+set(handles.superperiod3,'Checked','Off');
+set(handles.superperiod4,'Checked','Off');
Index: /trunk/machine/SOLEIL/common/plotfamily/plotfamily.m
===================================================================
--- /trunk/machine/SOLEIL/common/plotfamily/plotfamily.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/plotfamily/plotfamily.m	(revision 17)
@@ -0,0 +1,4251 @@
+function varargout = plotfamily(varargin)
+%PLOTFAMILY - Plots by middle layer family name
+%  Runs as a stand-alone application as well
+%
+%  To restrict the families to certain MemberOf group use:
+%  plotfamily MemberName
+%
+%  FACTS
+%  1. Clicking on a data point in the plot will select the device in the
+%     listbox.  Clicking in the listbox will allow for a setpoint change.
+%
+%  2. The lattice plot can also be used to change the setpoint.
+%     Just click on an object in the lattice drawing.  To remove the
+%     setpoint widget click on a drift pass or BPM.  Note that HCMs are
+%     drawn above the axis and VCMs below.
+%
+%  3. The "Common Tasks" menu is a launch pad menu.  It actually has nothing
+%     to do with of the plotfamily application.  Many of the typical
+%     tasks for setup of storage rings are listed in this menu.
+%
+%  4. Use plotfamilystartup to customize it for a particular accelerator.
+%     (Look at the ALS for an example.)
+%
+%  5. This application can be compiled to run standalone.
+
+%
+%  Written by Gregory Portmann
+%  Adapted and enhanced for SOLEIL by Laurent S. Nadolski
+
+
+% Last Modified by GUIDE v2.5 29-Jul-2011 11:51:08
+
+
+% For the compiler
+%#function plotfamilystartup
+%#function aoinit setao setoperationalmode srinit
+%#function srcycle getmachineconfig setmachineconfig
+%#function setorbitdefault findrf findrf2 rmdisp setgolden setoffset
+%#function settune steptune setchro stepchro
+%#function plotorbit plotorbitdata plotcm plotgoldenorbit plotoffsetorbit
+%#function plotorbit plotdata plotbpmresp plotbpmrespsym
+%#function plotlattice plotdisp plotchro
+%#function monbpm getbpm monmags
+%#function gettune
+%#function measchro plotchro
+%#function measdisp plotdisp
+%#function measbpmresp meastuneresp quadcenter
+%#function copybpmrespfile
+%#function copybpmsigmafile
+%#function copychrorespfile
+%#function copydispersionfile
+%#function copydisprespfile
+%#function copyinjectionconfigfile
+%#function copymachineconfigfile
+%#function copytunerespfile
+%#function measlocodata locogui buildlocoinput buildloco buildlocofitparameters
+%#function solamor2linb
+%#function solamor2linc
+%#function lat_2020_3170f
+%#function lat_2020_3170e
+%#function lat_2020_3170b
+%#function lat_2020_3170a
+%#function gethbpmgroup
+%#function getvbpmgroup
+%#function lat_pseudo_nanoscopium_juin2011_122BPM
+%#function  lat_nano_176_234_122BPM
+
+%
+%  Written by Greg Portmann
+%  Modified by Laurent S. Nadolski
+
+% Edit the above text to modify the response to help plotfamily
+
+
+% Last modifications
+% 13 mars 2005: returns an error if LT1 or LT2 is loaded
+% May 30, 2007: edit does works for BPMyFamily
+% Directory to save data
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 0;
+gui_State = struct('gui_Name',       mfilename, ...
+    'gui_Singleton',  gui_Singleton, ...
+    'gui_OpeningFcn', @plotfamily_OpeningFcn, ...
+    'gui_OutputFcn',  @plotfamily_OutputFcn, ...
+    'gui_LayoutFcn',  [] , ...
+    'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes when user attempts to close figure1.
+function figure1_CloseRequestFcn(hObject, eventdata, handles)
+% hObject    handle to figure1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: delete(hObject) closes the figure
+delete(hObject);
+
+
+% --- Executes just before plotfamily is made visible.
+function plotfamily_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to plotfamily (see VARARGIN)
+
+% Choose default command line output for plotfamily
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes plotfamily wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+% Set defaults
+UpdatePeriod = 0.2;
+set(handles.UpdatePeriod,'Label', sprintf('Update Period = %.2f s',UpdatePeriod));
+setappdata(handles.figure1, 'UpdatePeriod', UpdatePeriod);
+
+% Units  (This should get over written by the default for the BPM family)
+setappdata(handles.figure1,'UnitsFlag', 2); % Hardware
+set(handles.PhysicsUnitsFlag,'Checked','Off');
+set(handles.HardwareUnitsFlag,'Checked','On');
+set(handles.MicronFlag,'Checked','Off');
+
+setappdata(handles.figure1,'ChannelA',1); % Monitor values
+setappdata(handles.figure1,'ChannelB',2); % Golden values
+
+% Set the trace 1 defaults
+%setappdata(handles.figure1,'Trace1',1);
+set(handles.DisplayDiff,'Value', 0);
+set(handles.Display1,'Value', 1);
+set(handles.Display2,'Value', 0);
+setappdata(handles.figure1,'Trace1', 1); % Plot A
+
+setappdata(handles.figure1,'Trace2', 4); % Plotting Off
+
+% Run initialization if it has not been run (like standalone)
+checkforao;
+
+% Run initialization if it has not been run (like standalone)
+% Define Machine Name: Booster or Storage Ring
+Machine = getfamilydata('SubMachine');
+
+if isempty(Machine)
+    error('No Machine loaded');
+elseif strcmpi(Machine,'StorageRing')
+    namestr = 'Storage Ring';
+elseif strcmpi(Machine,'Booster')
+    namestr = 'Booster';
+elseif strcmpi(Machine,'LT1') || strcmpi(Machine,'LT2')
+    error('Not working for LT1 or LT2');
+else
+    error('Unknown machine\n exiting ...');
+end
+
+set(handles.accelerator_name,'String',namestr);
+
+if isempty(varargin)
+    MemberofField = 'PlotFamily';
+else
+    MemberofField = varargin{1};
+end
+
+% Build Family menu
+FoundOne = 0;
+FamilyName = getfamilylist;
+for i = 1:size(FamilyName,1)
+    Family = deblank(FamilyName(i,:));
+
+    try
+        spos = getspos(Family);
+    catch
+        spos = [];
+    end
+
+    % Only include if there are S-position for the family
+    if ~isempty(spos)
+        FieldList = '';
+        if ismemberof(Family, MemberofField)
+            %if ismemberof(Family, 'PlotFamily') | ismemberof(Family, 'MachineConfig') | ismemberof(Family, 'BPM') | ...
+            %        ismemberof(Family, 'COR') | ismemberof(Family, 'QUAD') | ...
+            %        ismemberof(Family, 'HCM') | ismemberof(Family, 'VCM') | ...
+            %        ismemberof(Family, 'SEXT') | ismemberof(Family, 'BEND') | ...
+            %        ismemberof(Family, 'SkewQuad') | ismemberof(Family, 'SQSF') | ismemberof(Family, 'SQSD')
+            FieldList = 'Monitor';
+            FoundOne = 1;
+        end
+
+        % Look if any other fields are part of the MachineConfig
+        AOFamily = getfamilydata(Family);
+        FieldNameCell = fieldnames(AOFamily);
+        for j = 1:size(FieldNameCell,1)
+            if isfield(AOFamily.(FieldNameCell{j}),'MemberOf')
+                if any(strcmpi(AOFamily.(FieldNameCell{j}).MemberOf, MemberofField))
+                    %if any(strcmpi(AOFamily.(FieldNameCell{j}).MemberOf, MemberofField)) | any(strcmpi(AOFamily.(FieldNameCell{j}).MemberOf, 'MachineConfig'))
+                    FieldList = strvcat(FieldList,FieldNameCell{j});
+                    FoundOne = 1;
+                end
+            end
+        end
+
+        % Remove repeats but keep the row order
+        [FieldListUnique, ii, jj] = unique(FieldList, 'rows');
+        jj(find(diff(jj)==0)) = [];
+        FieldList = FieldListUnique(jj,:);
+
+        if size(FieldList,1) == 1
+            Menu1 = handles.BPMxFamily;
+            Menu2 = handles.BPMyFamily;
+            h1 = uimenu(Menu1, 'Label',sprintf('%s',Family), 'Callback','plotfamily(''BPMxFamily_Callback'',gcbo,[],guidata(gcbo))');
+            h2 = uimenu(Menu2, 'Label',sprintf('%s',Family), 'Callback','plotfamily(''BPMyFamily_Callback'',gcbo,[],guidata(gcbo))');
+            set(h1, 'UserData', family2datastruct(Family, deblank(FieldList)));
+            set(h2, 'UserData', family2datastruct(Family, deblank(FieldList)));
+
+        elseif size(FieldList,1) > 1
+            % Build off an extra menu
+            Menu1 = handles.BPMxFamily;
+            Menu2 = handles.BPMyFamily;
+            Menu1 = uimenu(Menu1, 'Label', Family);
+            Menu2 = uimenu(Menu2, 'Label', Family);
+
+            for iField = 1:size(FieldList,1)
+                h1 = uimenu(Menu1, 'Label',sprintf('%s.%s',Family,deblank(FieldList(iField,:))), 'Callback','plotfamily(''BPMxFamily_Callback'',gcbo,[],guidata(gcbo))');
+                h2 = uimenu(Menu2, 'Label',sprintf('%s.%s',Family,deblank(FieldList(iField,:))), 'Callback','plotfamily(''BPMyFamily_Callback'',gcbo,[],guidata(gcbo))');
+                set(h1, 'UserData', family2datastruct(Family, deblank(FieldList(iField,:))));
+                set(h2, 'UserData', family2datastruct(Family, deblank(FieldList(iField,:))));
+            end
+        else
+            % Skip family
+        end
+    end
+end
+
+
+if ~FoundOne
+    % if MemberOf came up empty, then put all the families in the menu
+    for i = 1:size(FamilyName,1)
+        try
+            Family = deblank(FamilyName(i,:));
+            FamilyStruct = family2datastruct(Family,'Monitor');
+            spos = getspos(FamilyStruct);
+            if ~isempty(spos)
+                h1 = uimenu(handles.BPMxFamily, 'Label',Family, 'Callback','plotfamily(''BPMxFamily_Callback'',gcbo,[],guidata(gcbo))');
+                h2 = uimenu(handles.BPMyFamily, 'Label',Family, 'Callback','plotfamily(''BPMyFamily_Callback'',gcbo,[],guidata(gcbo))');
+                set(h1, 'UserData', FamilyStruct);
+                set(h2, 'UserData', FamilyStruct);
+            end
+        catch
+            % Skip family
+            %fprintf('Skipping family %s',Family);
+        end
+    end
+end
+
+
+% Initial families
+try
+    BPMFamilyCell = findmemberof('BPM');
+    if length(BPMFamilyCell) >= 2
+        BPMxFamily = BPMFamilyCell{1};
+        BPMyFamily = BPMFamilyCell{2};
+    else
+        Hope for the best on a family name
+        BPMxFamily = gethbpmfamily;
+        BPMyFamily = getvbpmfamily;
+    end
+    BPMxField = 'Monitor';
+    BPMyField = 'Monitor';
+    BPMxList = family2dev(BPMxFamily, 1);
+    BPMyList = family2dev(BPMyFamily, 1);
+
+    set(handles.BPMxFamily,'Label',sprintf('Family = %s', BPMxFamily));
+    set(handles.BPMyFamily,'Label',sprintf('Family = %s', BPMyFamily));
+
+    % Base on first 2 families
+    FamilyHandles = get(handles.BPMxFamily,'Children');
+    if length(FamilyHandles) >= 1
+        RawX = get(FamilyHandles(end),'UserData');
+        if isempty(RawX)
+            FamilyHandles2 = get(FamilyHandles(end),'Children');
+            RawX = get(FamilyHandles2(end),'UserData');
+        end
+        BPMxFamily = RawX.FamilyName;
+    else
+        fprintf('   No families in the MML.\n');
+    end
+    if length(FamilyHandles) >= 2
+        RawY = get(FamilyHandles(end-1),'UserData');
+        if isempty(RawY)
+            FamilyHandles2 = get(FamilyHandles(end-1),'Children');
+            RawY = get(FamilyHandles2(end),'UserData');
+        end
+        BPMyFamily = RawY.FamilyName;
+    else
+        RawY = RawX;
+        BPMyFamily = RawX.FamilyName;
+    end
+
+    % Initialize Mode
+    % if strcmpi(get(handles.Simulate,'Checked'),'On')
+    %     Mode = 'Simulator';
+    % else
+    %     Mode = 'Online';
+    % end
+    if strcmpi(RawX.Mode,'SIMULATOR')
+        set(handles.Online,'Checked','Off');
+        set(handles.Simulate,'Checked','On');
+        Mode = 'Simulator';
+        SetFigureTitle(handles.figure1, 'Model');
+    else
+        set(handles.Online,'Checked','On');
+        set(handles.Simulate,'Checked','Off');
+        Mode = 'Online';
+        SetFigureTitle(handles.figure1, 'Online');
+    end
+
+    % Initialize Units
+    if strcmpi(RawX.Units,'Physics')
+        setappdata(handles.figure1,'UnitsFlag', 1);
+        set(handles.('PhysicsUnitsFlag'),'Checked','On');
+        set(handles.('HardwareUnitsFlag'),'Checked','Off');
+        set(handles.('MicronFlag'),'Checked','Off');
+        UnitsFlag = 'Physics';
+    else
+        setappdata(handles.figure1,'UnitsFlag', 2);
+        set(handles.('PhysicsUnitsFlag'),'Checked','Off');
+        set(handles.('HardwareUnitsFlag'),'Checked','On');
+        set(handles.('MicronFlag'),'Checked','Off');
+        UnitsFlag = 'Hardware';
+    end
+
+    set(handles.('BPMxFamily'),'Label',sprintf('Plot: %s', BPMxFamily));
+    set(handles.('BPMyFamily'),'Label',sprintf('Plot: %s', BPMyFamily));
+
+    % Create the list box string
+    RawX = CreateListboxString(RawX);
+    RawY = CreateListboxString(RawY);
+
+    setappdata(handles.figure1, 'BPMxFamily', RawX);
+    setappdata(handles.figure1, 'BPMyFamily', RawY);
+
+    setappdata(handles.figure1,'RawX', RawX);
+    setappdata(handles.figure1,'RawY', RawY);
+
+    setappdata(handles.figure1,'SaveX', RawX);
+    setappdata(handles.figure1,'SaveY', RawY);
+    set(handles.SaveTime,'String', 'Not saved');
+
+    setappdata(handles.figure1,'FileX', RawX);
+    setappdata(handles.figure1,'FileY', RawY);
+
+    setappdata(handles.figure1,'FileX2', RawX);
+    setappdata(handles.figure1,'FileY2', RawY);
+
+    setappdata(handles.figure1,'FileNameX','');
+    setappdata(handles.figure1,'FileNameY','');
+    setappdata(handles.figure1,'FileNameX2','');
+    setappdata(handles.figure1,'FileNameY2','');
+
+    set(handles.FileNameX,'String', '');
+    set(handles.FileNameY,'String', '');
+    set(handles.FileNameX2,'String', '');
+    set(handles.FileNameY2,'String', '');
+    
+    %p = get(handles.FileNameX,'Position');
+    %set(handles.FileNameX,'Position', [p(1) 4 p(3) p(4)]);    % Points
+    %set(handles.FileNameX,'Position', [p(1) .8 p(3) p(4)]);   % Characters
+    %set(handles.FileNameX,'Position', [p(1) 0.02 p(3) p(4)]); % Normalized
+    %p = get(handles.SaveTime,'Position');
+    %set(handles.SaveTime,'Position', [p(1) 16.5 p(3) p(4)]);  % Points
+    %set(handles.SaveTime,'Position', [p(1) 1.6 p(3) p(4)]);   % Characters
+    %set(handles.SaveTime,'Position', [p(1) 0.052 p(3) p(4)]); % Normalized
+
+    % Look to see it the AT model needs to be changed for this family
+    ATModelNumber = getfamilydata(BPMxFamily, 'AT', 'ATModel');
+    if ~isempty(ATModelNumber)
+        global THERING THERINGCELL
+        THERING = THERINGCELL{ATModelNumber};
+        setfamilydata(findspos(THERING,length(THERING)+1), 'Circumference');
+    end
+
+catch
+
+    % Starting units
+    UnitMenu = getappdata(handles.figure1,'UnitsFlag');
+    if UnitMenu == 1
+        UnitsFlag = 'Physics';
+    else
+        UnitsFlag = 'Hardware';
+    end
+
+    % Initialize Mode
+    if strcmpi(get(handles.Simulate,'Checked'),'On')
+        Mode = 'Simulator';
+    else
+        Mode = 'Online';
+    end
+
+end
+
+
+% % Look for the golden values
+% try
+%     GoldenValues = getgolden(BPMxFamily, BPMxList, 'Struct');
+%     setappdata(handles.figure1,'GoldenX', GoldenValues);
+% catch
+%     setappdata(handles.figure1,'GoldenX', RawX);
+% end
+%
+% % Look for the offset values
+% try
+%     OffsetValues = getoffset(BPMxFamily, BPMxList, 'Struct');
+%     setappdata(handles.figure1,'OffsetX', OffsetValues);
+% catch
+%     if isempty(OffsetValues)
+%         try
+%             % If and offset does not exist than try using the setpoint
+%             setappdata(handles.figure1,'OffsetX', getsp(BPMxFamily, BPMxList, Mode, 'Struct'));
+%         catch
+%             % Use zeros
+%             setappdata(handles.figure1,'OffsetX', RawX);
+%         end
+%     end
+% end
+%
+% % Look for the golden values
+% try
+%     GoldenValues = getgolden(BPMyFamily, BPMyList, 'Struct');
+%     setappdata(handles.figure1,'GoldenY', GoldenValues);
+% catch
+%     setappdata(handles.figure1,'GoldenY', RawY);
+% end
+%
+% % Look for the offset values
+% try
+%     OffsetValues = getoffset(BPMyFamily, BPMyList, 'Struct');
+%     setappdata(handles.figure1,'OffsetY', OffsetValues);
+% catch
+%     try
+%         % If and offset does not exist than try using the setpoint
+%         setappdata(handles.figure1,'OffsetY', getsp(BPMyFamily, BPMyList, Mode, 'Struct'));
+%     catch
+%         % Use zeros
+%         setappdata(handles.figure1,'OffsetY', RawY);
+%     end
+% end
+
+%% Sets axes for Graph1
+L = getfamilydata('Circumference');
+
+try
+    s = getspos(RawX);
+    setappdata(handles.figure1, 'SPosX', s);
+    if isempty(L)
+        L = max(s);
+    end
+    %setappdata(handles.figure1, 'AxisRange1X', [min(s) max(s)]);
+catch
+    %setappdata(handles.figure1, 'SPosX', 1:size(RawX.DeviceList,1));
+end
+setappdata(handles.figure1, 'AxisRange1X', [0 L]);
+
+%% Sets axes for Graph2
+try
+    s = getspos(RawY);
+    setappdata(handles.figure1, 'SPosY', s);
+    %setappdata(handles.figure1, 'AxisRange2X', [min(s) max(s)]);
+catch
+    %setappdata(handles.figure1, 'SPosY', 1:size(RawY.DeviceList,1));
+end
+setappdata(handles.figure1, 'AxisRange2X', [0 L]);
+
+
+% Update time
+set(handles.Time, 'String', '');
+
+
+% Initialize plots
+set(handles.Graph1, 'XLim', [0 L]);
+set(handles.Graph2, 'XLim', [0 L]);
+
+p1 = [0.07    0.66    0.69    0.28];
+set(handles.Graph1, 'Position', p1);
+set(handles.Graph3, 'Position', p1);
+
+p2 = [0.07    0.26    0.69    0.28];
+set(handles.Graph2, 'Position', p2);
+set(handles.Graph4, 'Position', p2);
+
+plot(handles.Graph3, NaN, NaN);
+set(handles.Graph3, 'Visible', 'Off');
+set(handles.Graph3, 'color', 'none');
+set(handles.Graph3, 'XLim', [0 L]);
+
+plot(handles.Graph4, NaN,NaN);
+set(handles.Graph4, 'Visible', 'Off');
+set(handles.Graph4, 'color', 'none');
+set(handles.Graph4, 'XLim', [0 L]);
+
+
+%axes(handles.LatticeAxes);
+try
+    drawlattice(0, 1.1, handles.LatticeAxes);
+catch
+    d = .01;
+    p1 = [0.07    0.65-d    0.74    0.29+d];
+    set(handles.Graph1, 'Position', p1);
+    set(handles.Graph3, 'Position', p1);
+
+    p2 = [0.07    0.27    0.74    0.29+d];
+    set(handles.Graph2, 'Position', p2);
+    set(handles.Graph4, 'Position', p2);
+
+    set(handles.DrawLattice, 'Checked', 'Off');
+    set(get(handles.LatticeAxes,'Children'), 'Visible' , 'Off');
+end
+
+try
+    set(handles.LatticeAxes,'Visible','Off');
+    set(handles.LatticeAxes,'Color','None');
+    set(handles.LatticeAxes,'XMinorTick','Off');
+    set(handles.LatticeAxes,'XMinorGrid','Off');
+    set(handles.LatticeAxes,'YMinorTick','Off');
+    set(handles.LatticeAxes,'YMinorGrid','Off');
+    set(handles.LatticeAxes,'XTickLabel',[]);
+    set(handles.LatticeAxes,'YTickLabel',[]);
+    set(handles.LatticeAxes,'XLim', [0 L]);
+    set(handles.LatticeAxes,'YLim', [-1.5 1.5]);
+
+
+    % Add callback on each lattice element
+    % set(handles.LatticeAxes ,'ButtonDownFcn','plotfamily(''Lattice_ButtonDown'',gcbo,[],guidata(gcbo))');
+    h = get(handles.LatticeAxes,'Children');
+    for i = 1:length(h)
+        %ATIndex = get(h(i), 'UserData');
+        set(h(i), 'ButtonDownFcn', 'plotfamily(''Lattice_ButtonDown'',gcbo,[],guidata(gcbo))');
+    end
+catch
+end
+
+
+
+
+% % Build middle layer edit menus
+% %h = addmenuao(handles.('EditMiddleLayerAO'));
+% %set(h, 'Label', 'Middle Layer Family Setup');
+%
+% hmenu = handles.('EditMiddleLayerAO');
+% LabelString = 'Middle Layer Family Setup';
+% ParentLabelString = 'MiddleLayer';
+% DataStructure0 = getao;
+% if isempty(DataStructure0)
+%     aoinit;
+% end
+%
+%
+% % Build middle menu tree
+% DataStructFieldName1 = fieldnames(DataStructure0);
+% for i = 1:length(DataStructFieldName1)
+%     DataStructure1 = DataStructure0.(DataStructFieldName1{i});
+%     if isstruct(DataStructure1)
+%         hmenu1 = uimenu(hmenu, 'Label',DataStructFieldName1{i}, 'Callback','');
+%         DataStructFieldName2 = fieldnames(DataStructure1);
+%         for j = 1:length(DataStructFieldName2)
+%             DataStructure2 = DataStructure1.(DataStructFieldName2{j});
+%             if isstruct(DataStructure2)
+%                 hmenu2 = uimenu(hmenu1, 'Label',DataStructFieldName2{j}, 'Callback','');
+%                 DataStructFieldName3 = fieldnames(DataStructure2);
+%                 for k = 1:length(DataStructFieldName3)
+%                     DataStructure3 = DataStructure2.(DataStructFieldName3{k});
+%                     if isstruct(DataStructure3)
+%                         hmenu3 = uimenu(hmenu2, 'Label',DataStructFieldName3{k}, 'Callback','');
+%                         DataStructFieldName4 = fieldnames(DataStructure3);
+%                         for l = 1:length(DataStructFieldName4)
+%                             hmenu4 = uimenu(hmenu3, 'Label', DataStructFieldName4{l});
+%                             set(hmenu4,'UserData', {DataStructure3.(DataStructFieldName4{l}) , DataStructFieldName1{l}, DataStructFieldName2{k}, DataStructFieldName3{k}, DataStructFieldName4{i}});
+%                             set(hmenu4,'Callback', 'plotfamily(''EditMiddleLayer_Callback'',gcbo,[],guidata(gcbo))');
+%                         end
+%                     else
+%                         hmenu3 = uimenu(hmenu2, 'Label',DataStructFieldName3{k});
+%                         set(hmenu3,'UserData', {DataStructure3, DataStructFieldName1{i}, DataStructFieldName2{j}, DataStructFieldName3{k}});
+%                         set(hmenu3,'Callback', 'plotfamily(''EditMiddleLayer_Callback'',gcbo,[],guidata(gcbo))');
+%                     end
+%                 end
+%             else
+%                 hmenu2 = uimenu(hmenu1, 'Label',DataStructFieldName2{j});
+%                 set(hmenu2,'UserData', {DataStructure2, DataStructFieldName1{i}, DataStructFieldName2{j}});
+%                 set(hmenu2,'Callback', 'plotfamily(''EditMiddleLayer_Callback'',gcbo,[],guidata(gcbo))');
+%             end
+%         end
+%     else
+%         hmenu1 = uimenu(hmenu, 'Label', DataStructFieldName1{i});
+%         set(hmenu1,'UserData', {DataStructure1, DataStructFieldName1{i}});
+%         set(hmenu1,'Callback', 'plotfamily(''EditMiddleLayer_Callback'',gcbo,[],guidata(gcbo))');
+%     end
+% end
+
+
+% % Build the AD menu
+% set(addmenuad(handles.EditMiddleLayerAD), 'Label', 'Middle Layer Parameter Setup');
+set(handles.EditMiddleLayerAO, 'Visible', 'Off');
+set(handles.EditMiddleLayerAD, 'Visible', 'Off');
+
+
+% Machine specific startup function
+if exist('plotfamilystartup', 'file')
+    handles = plotfamilystartup(handles);
+    % Update handles structure
+    guidata(hObject, handles);
+end
+
+
+% Refresh once
+OneShot_Callback(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function SetFigureTitle(h_fig, ModeString)
+
+MachineName     = getfamilydata('Machine');
+SubMachineName  = getfamilydata('SubMachine');
+OperationalMode = getfamilydata('OperationalMode');
+try
+    if isdeployed
+        TitleString = sprintf('Plot Family:  %s  -  %s  -  %s  (%s - Standalone)', MachineName, SubMachineName, OperationalMode, ModeString);
+    else
+        TitleString = sprintf('Plot Family:  %s  -  %s  -  %s  (%s)', MachineName, SubMachineName, OperationalMode, ModeString);
+    end
+catch
+    TitleString = sprintf('Plot Family:  %s  -  %s  -  %s  (%s)', MachineName, SubMachineName, OperationalMode, ModeString);
+end
+
+set(h_fig,'Name',TitleString);
+
+
+
+% --------------------------------------------------------------------
+function Resize_Callback(hObject, eventdata, handles)
+
+% SmallestPositionX = 174.800;
+% SmallestPositionY  = 39.7692;
+%
+% % Units should be characters anyways
+% Units = get(hObject,'Units');
+% set(hObject,'Units', 'Characters');
+% P = get(hObject, 'Position');
+%
+% if P(3) < SmallestPositionX
+%    P(3) = SmallestPositionX;
+%
+%    if P(1)+P(3) < 0
+%    end
+% end
+%
+%
+% if P(4) < SmallestPositionY
+%    P(4) = SmallestPositionY;
+% end
+%
+% set(hObject, 'Position', P);
+% set(hObject, 'Units', Units);
+
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = plotfamily_OutputFcn(hObject, eventdata, handles)
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+if isfield(handles,'output')
+    varargout{1} = handles.output;
+end
+
+
+% --- Executes onoff button press in OnOff.
+function EditMiddleLayer_Callback(hObject, eventdata, handles)
+
+Data = get(hObject, 'UserData');
+
+% Get up-to-date data
+Data{1} = getfamilydata(Data{2:end});
+TitleString = sprintf('%s ',Data{2:end});
+AddOpts.Resize='on';
+AddOpts.WindowStyle='normal';
+AddOpts.Interpreter='tex';
+
+if length(Data) >= 3 && (strcmpi(deblank(Data{3}),'Status') || strcmpi(deblank(Data{3}),'DeviceList') || strcmpi(deblank(Data{3}),'ElementList'))
+    if strcmpi(deblank(Data{3}),'ElementList')
+        DeviceList = getfamilydata(deblank(Data{2}), 'ElementList');
+    else
+        DeviceList = getfamilydata(deblank(Data{2}), 'DeviceList');
+    end
+    Status = getfamilydata(deblank(Data{2}), 'Status');
+    DeviceListNew = editlist(DeviceList, deblank(Data{2}), Status);
+
+    [i, iNotFound] = findrowindex(DeviceListNew, DeviceList);
+
+    if size(Status,1) == 1
+        DeviceListTotal = family2dev(Data{2}, 0);
+        Status = zeros(size(DeviceListTotal,1),1);
+    else
+        Status = 0 * Status;
+    end
+    Status(i) = 1;
+    setfamilydata(Status, deblank(Data{2}), 'Status');
+
+elseif isnumeric(Data{1})
+    answer = inputdlg({sprintf('Change %s ',TitleString)}, 'Edit Middle Layer Family', size(Data{1},1), {num2str(Data{1})}, AddOpts);
+    if isempty(answer)
+        return
+    end
+    Data{1} = str2num(answer{1});
+    set(hObject, 'UserData', Data);
+    setfamilydata(Data{1:end});
+elseif strcmpi(Data{2},'Directory')
+    answer = uigetdir(Data{1}, sprintf('Change directory location for %s', Data{3}));
+    if answer == 0
+        return
+    end
+    Data{1} = answer;
+    set(hObject, 'UserData', Data);
+    setfamilydata(Data{1:end});
+
+elseif ischar(Data{1})
+    answer = inputdlg({sprintf('Change %s ',TitleString)}, 'Edit Middle Layer Family', size(Data{1},1), {num2str(Data{1})}, AddOpts);
+    if isempty(answer)
+        return
+    end
+    Data{1} = answer{1};
+    set(hObject, 'UserData', Data);
+    setfamilydata(Data{1:end});
+end
+
+
+% Reset graphs
+BPMxFamily_Callback([], eventdata, handles);
+BPMyFamily_Callback([], eventdata, handles);
+
+
+% --- Executes on delete
+function Delete_Callback(hObject, eventdata, handles)
+
+% If timer is on, then turn it off by deleting the timer handle
+try
+    %h = get(gcbf, 'UserData');
+    h = get(handles.figure1, 'UserData');
+    if isfield(h,'TimerHandle')
+        stop(h.TimerHandle);
+        delete(h.TimerHandle);
+    end
+catch
+    fprintf('   Trouble stopping the timer on exit.\n');
+end
+
+
+
+% --- Executes onoff button press in OnOff.
+function Timer_Callback(hObject, eventdata, handles)
+% Timer method
+
+%disp('Timer executed.');
+%handles = get(eventdata, 'UserData');
+handles = get(hObject, 'UserData');
+plotfamily('OneShot_Callback', hObject, [], handles);
+
+
+% --- Executes onoff button press in OnOff.
+function OnOff_Callback(hObject, eventdata, handles)
+% Timer method
+
+% % Update the title bar
+% if strcmpi(get(handles.Simulate,'Checked'),'On')
+%     SetFigureTitle(handles.figure1, 'Model');
+% else
+%     SetFigureTitle(handles.figure1, 'Online');
+% end
+
+OnFlag = get(handles.OnOff, 'Value');
+
+if OnFlag
+    % Turn on updates
+    set(handles.OnOff, 'String', 'Running');
+
+    % Turn LatticeAxes menu back off
+    set(handles.LatticeMenu,'enable','off');
+
+    % Setup timer
+    UpdatePeriod = getappdata(handles.figure1, 'UpdatePeriod');
+    t = timer;
+    set(t,'StartDelay',0);
+    set(t,'Period', UpdatePeriod);
+    %set(t,'TimerFcn', 'plotfamily(''OneShot_Callback'', getfield(get(timerfind(''Tag'',''PlotFamilyTimer''),''Userdata''),''figure1''), [], get(timerfind(''Tag'',''PlotFamilyTimer''),''Userdata''));');
+    set(t,'TimerFcn', ['plotfamily(''Timer_Callback'',', sprintf('%.30f',handles.figure1), ',',sprintf('%.30f',handles.figure1), ', [])']);
+    set(t,'UserData', handles);
+    set(t,'BusyMode', 'drop');  %'queue'
+    set(t,'TasksToExecute', Inf);
+    set(t,'ExecutionMode', 'FixedRate');
+    set(t,'Tag', 'PlotFamilyTimer');
+
+    handles.TimerHandle = t;
+    set(handles.figure1, 'UserData', handles);
+
+    % Change Color
+    set(handles.OnOff, 'String', 'Running', 'BackgroundColor',[0 1 0]);
+
+    start(t);
+
+else
+    try
+        % Turn off updating by deleting timer handle
+        h = get(handles.figure1, 'UserData');
+        stop(h.TimerHandle);
+        delete(h.TimerHandle);
+        h = rmfield(h, 'TimerHandle');
+        set(handles.figure1, 'UserData', h);
+
+        % Delete all timers
+        %h = timerfind('Tag','PlotFamilyTimer');
+        %for i = 1:length(h)
+        %    stop(h(i));
+        %    delete(h(i));
+        %end
+
+        % Change OnOff label string
+        set(handles.OnOff, 'String', 'Continuous', 'BackgroundColor',[0.81 0.81 0.81]);
+        % Turn LatticeAxes menu back on
+        set(handles.LatticeMenu,'enable','on');
+
+    catch
+        fprintf('   Trouble stopping the timer.\n');
+    end
+end
+
+
+% % --- Executes onoff button press in OnOff.
+% function OnOff_Callback(hObject, eventdata, handles)
+% % Uses delay (not Timer)
+%
+% OrbitFeedbackFlag = 0;
+%
+% % Turn latticeaxes menu back off
+% set(handles.('LatticeMenu'),'enable','off');
+%
+% if strcmpi(get(handles.Simulate,'Checked'),'On')
+%     Mode = 'Simulator';
+% else
+%     Mode = 'Online';
+% end
+%
+% BPMxFamily = getappdata(handles.figure1, 'BPMxFamily');
+% BPMxList = getappdata(handles.figure1, 'BPMxList');
+% BPMyFamily = getappdata(handles.figure1, 'BPMyFamily');
+% BPMyList = getappdata(handles.figure1, 'BPMyList');
+%
+% OnFlag = get(handles.('OnOff'),'Value');
+% if OnFlag
+%     % Turn on updates
+%     set(handles.('OnOff'), 'String', 'Running')
+% end
+%
+% if OrbitFeedbackFlag
+%     [Nbpm, Tbpm] = getbpmaverages;
+%     Tbpm = max(Tbpm);
+% end
+%
+% while OnFlag
+%     t0 = gettime;
+%     OnFlag = get(handles.('OnOff'),'Value');
+%     UpdatePeriod = getappdata(handles.figure1, 'UpdatePeriod');
+%
+%     if OnFlag
+%         % Get new data
+%         try
+%             RawX = getam(BPMxFamily, BPMxList, Mode, 'Struct');
+%         catch
+%             RawX.Data = NaN*zeros(size(BPMxList,1),1);
+%             RawX.Units = 'Hardware';
+%             RawX.TimeStamp = clock;
+%             fprintf('   %s, GETAM trouble in family %s\n', sprintf('%s',datestr(RawX.TimeStamp,14)), BPMxFamily);
+%         end
+%         setappdata(handles.figure1, 'RawX', RawX);
+%
+%         try
+%             RawY = getam(BPMyFamily, BPMyList, Mode, 'Struct');
+%         catch
+%             RawY.Data = NaN*zeros(size(BPMyList,1),1);
+%             RawY.Units = 'Hardware';
+%             RawY.TimeStamp = clock;
+%             fprintf('   %s, GETAM trouble in family %s\n', sprintf('%s',datestr(RawY.TimeStamp,14)), BPMyFamily);
+%         end
+%         setappdata(handles.figure1, 'RawY', RawY);
+%
+%         % For non-BPM the offset (ie, the setpoint) may have changed
+%         if ~ismemberof(BPMxFamily,'BPM')
+%             % Update the offset to the setpoint
+%             setappdata(handles.figure1,'OffsetX', getsp(BPMxFamily, BPMxList, Mode));
+%         end
+%         if ~ismemberof(BPMyFamily,'BPM')
+%             % Update the offset to the setpoint
+%             setappdata(handles.figure1,'OffsetY', getsp(BPMyFamily, BPMyList, Mode));
+%         end
+%
+%         % Update time
+%         set(handles.('Time'),'String', sprintf('%s',datestr(RawY.TimeStamp,14)));
+%
+%         plotappdatalocal(handles);
+%         drawnow;
+%
+%
+%         if OrbitFeedbackFlag
+%             % One could easily add a orbit feedback step
+%             setorbitdefault([], 1, [], 'NoDisplay');
+%             pause(2.2*Tbpm);
+%         end
+%
+%     else
+%         set(handles.('OnOff'), 'String', 'Continuous');
+%
+%         % Turn latticeaxes menu back on
+%         set(handles.('LatticeMenu'),'enable','on');
+%
+%         break
+%     end
+%
+%     % Pause
+%     T = UpdatePeriod-(gettime-t0);
+%     if T > 0
+%         pause(T);
+%     end
+% end
+
+
+
+% --- Executes on button press in OneShot.
+function OneShot_Callback(hObject, eventdata, handles)
+
+% To break out of the continuous loop (if in it)
+%set(handles.('OnOff'),'Value', 0);  % Not turned off with timer!
+
+
+% Get Mode and update the title bar
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    SetFigureTitle(handles.figure1, 'Model')
+    Mode = 'Simulator';
+else
+    SetFigureTitle(handles.figure1, 'Online')
+    Mode = 'Online';
+end
+
+% Get the structures
+DataStruct1 = getappdata(handles.figure1, 'BPMxFamily');
+DataStruct2 = getappdata(handles.figure1, 'BPMyFamily');
+
+% Get new data
+try
+    RawX = getpv(DataStruct1, Mode, 'Struct');
+    %RawX = getpv(DataStruct1, Mode, UnitsFlag, 'Struct');
+catch
+    RawX.Data = NaN*zeros(size(DataStruct1.Data,1),1);
+    RawX.Units = DataStruct1.Units;
+    RawX.UnitsString = DataStruct1.UnitsString;
+    RawX.Mode = Mode;
+    RawX.TimeStamp = clock;
+    fprintf('\n%s\n', lasterr);
+    fprintf('   %s, GETPV trouble in family %s\n', sprintf('%s',datestr(RawX.TimeStamp,13)), DataStruct1.FamilyName);
+end
+setappdata(handles.figure1, 'RawX', RawX);
+
+try
+    RawY = getpv(DataStruct2, Mode, 'Struct');
+    %RawY = getpv(DataStruct2, Mode, UnitsFlag, 'Struct');
+catch
+    RawY.Data = NaN*zeros(size(DataStruct2.Data,1),1);
+    RawY.Units = DataStruct2.Units;
+    RawY.UnitsString = DataStruct2.UnitsString;
+    RawY.Mode = Mode;
+    RawY.TimeStamp = clock;
+    fprintf('\n%s\n', lasterr);
+    fprintf('   %s, GETPV trouble in family %s\n', sprintf('%s',datestr(RawY.TimeStamp,13)), DataStruct2.FamilyName);
+end
+setappdata(handles.figure1, 'RawY', RawY);
+
+
+% % For non-BPM the offset (ie, the setpoint) may have changed
+% if ~isempty(getfamilydata(DataStruct1.FamilyName,'Setpoint'))
+%     % Update the offset to the setpoint
+%     setappdata(handles.figure1,'OffsetX', getsp(DataStruct1.FamilyName, Mode, DataStruct1.Units, 'Struct'));
+% end
+% if ~isempty(getfamilydata(DataStruct2.FamilyName,'Setpoint'))
+%     % Update the offset to the setpoint
+%     setappdata(handles.figure1,'OffsetY', getsp(DataStruct2.FamilyName, Mode, DataStruct2.Units, 'Struct'));
+% end
+
+
+% Update time
+set(handles.Time, 'String', sprintf('%s',datestr(RawY.TimeStamp,13)));
+
+plotappdatalocal(handles);
+drawnow;
+
+
+
+function plotappdatalocal(handles)
+
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    Mode = 'Simulator';
+else
+    Mode = 'Online';
+end
+
+
+% Get data from appdata
+Trace1 = getappdata(handles.figure1,'Trace1');
+Trace2 = getappdata(handles.figure1,'Trace2');
+UnitsFlag = getappdata(handles.figure1,'UnitsFlag');
+
+DataStruct1 = getappdata(handles.figure1, 'BPMxFamily');
+DataStruct2 = getappdata(handles.figure1, 'BPMyFamily');
+
+RawX = getappdata(handles.figure1, 'RawX');
+RawY = getappdata(handles.figure1, 'RawY');
+
+sx = getappdata(handles.figure1, 'SPosX');
+sy = getappdata(handles.figure1, 'SPosY');
+
+if isempty(sx)
+    error(sprintf('Position along ring information not available for %s family.', RawX.FamilyName));
+    %sx = 1:size(RawX.Data,1);
+end
+if isempty(sy)
+    error(sprintf('Position along ring information not available for %s family.', RawY.FamilyName));
+    %sy = 1:size(RawY.Data,1);
+end
+
+ChannelA = getappdata(handles.figure1, 'ChannelA');
+ChannelB = getappdata(handles.figure1, 'ChannelB');
+
+if Trace1 == 1 || Trace1 == 3 || Trace2 == 1 || Trace2 == 3
+    if ChannelA == 1
+        DataA1 = RawX.Data;
+        DataA2 = RawY.Data;
+    elseif ChannelA == 2
+        %DataA1 = getappdata(handles.figure1,'GoldenX');
+        %DataA1 = DataA1.Data;
+        %DataA2 = getappdata(handles.figure1,'GoldenY');
+        %DataA2 = DataA2.Data;
+
+        if strcmpi(DataStruct1.Field, 'Monitor') && ~isempty(getfamilydata(DataStruct1.FamilyName,'Setpoint'))
+            % Display the setpoint golden value
+            DataA1 = getgolden(DataStruct1, 'Setpoint', DataStruct1.Units, 'Numeric');
+        else
+            DataA1 = getgolden(DataStruct1, DataStruct1.Units, 'Numeric');
+        end
+
+        if strcmpi(DataStruct2.Field, 'Monitor') && ~isempty(getfamilydata(DataStruct2.FamilyName,'Setpoint'))
+            % Display the setpoint golden value
+            DataA2 = getgolden(DataStruct2, 'Setpoint', DataStruct2.Units, 'Numeric');
+        else
+            DataA2 = getgolden(DataStruct2, DataStruct2.Units, 'Numeric');
+        end
+
+    elseif ChannelA == 3
+        %DataA1 = getappdata(handles.figure1,'OffsetX');
+        %DataA1 = DataA1.Data;
+        %DataA2 = getappdata(handles.figure1,'OffsetY');
+        %DataA2 = DataA2.Data;
+
+        if strcmpi(DataStruct1.Field, 'Monitor') && ~isempty(getfamilydata(DataStruct1.FamilyName,'Setpoint'))
+            % Update the offset to the setpoint
+            DataA1 = getsp(DataStruct1, Mode, DataStruct1.Units, 'Numeric');
+        else
+            DataA1 = getoffset(DataStruct1, DataStruct1.Units, 'Numeric');
+        end
+
+        if strcmpi(DataStruct2.Field, 'Monitor') && ~isempty(getfamilydata(DataStruct2.FamilyName,'Setpoint'))
+            % Update the offset to the setpoint
+            DataA2 = getsp(DataStruct2, Mode, DataStruct2.Units, 'Numeric');
+        else
+            DataA2 = getoffset(DataStruct2, DataStruct2.Units, 'Numeric');
+        end
+
+    elseif ChannelA == 4
+        DataA1 = getappdata(handles.figure1,'SaveX');
+        DataA1 = DataA1.Data;
+        DataA2 = getappdata(handles.figure1,'SaveY');
+        DataA2 = DataA2.Data;
+    elseif ChannelA == 5
+        DataA1 = getappdata(handles.figure1,'FileX');
+        DataA1 = DataA1.Data;
+        DataA2 = getappdata(handles.figure1,'FileY');
+        DataA2 = DataA2.Data;
+    elseif ChannelA == 6
+        DataA1 = getappdata(handles.figure1,'FileX2');
+        DataA1 = DataA1.Data;
+        DataA2 = getappdata(handles.figure1,'FileY2');
+        DataA2 = DataA2.Data;
+    else
+        DataA1 = zeros(size(BPMxList,1),1);
+        DataA2 = zeros(size(BPMyList,1),1);
+    end
+end
+
+if Trace1 == 2 || Trace1 == 3 || Trace2 == 2 || Trace2 == 3
+    if ChannelB == 1
+        DataB1 = RawX.Data;
+        DataB2 = RawY.Data;
+    elseif ChannelB == 2
+        %DataB1 = getappdata(handles.figure1,'GoldenX');
+        %DataB1 = DataB1.Data;
+        %DataB2 = getappdata(handles.figure1,'GoldenY');
+        %DataB2 = DataB2.Data;
+
+        if strcmpi(DataStruct1.Field, 'Monitor') && ~isempty(getfamilydata(DataStruct1.FamilyName,'Setpoint'))
+            % Display the setpoint golden value
+            DataB1 = getgolden(DataStruct1, 'Setpoint', DataStruct1.Units, 'Numeric');
+        else
+            DataB1 = getgolden(DataStruct1, DataStruct1.Units, 'Numeric');
+        end
+
+        if strcmpi(DataStruct2.Field, 'Monitor') && ~isempty(getfamilydata(DataStruct2.FamilyName,'Setpoint'))
+            % Display the setpoint golden value
+            DataB2 = getgolden(DataStruct2, 'Setpoint', DataStruct2.Units, 'Numeric');
+        else
+            DataB2 = getgolden(DataStruct2, DataStruct2.Units, 'Numeric');
+        end
+
+    elseif ChannelB == 3
+        %DataB1 = getappdata(handles.figure1,'OffsetX');
+        %DataB1 = DataB1.Data;
+        %DataB2 = getappdata(handles.figure1,'OffsetY');
+        %DataB2 = DataB2.Data;
+
+        if strcmpi(DataStruct1.Field, 'Monitor') && ~isempty(getfamilydata(DataStruct1.FamilyName,'Setpoint'))
+            % Update the offset to the setpoint
+            DataB1 = getsp(DataStruct1.FamilyName, DataStruct1.DeviceList, Mode, DataStruct1.Units, 'Numeric');
+        else
+            DataB1 = getoffset(DataStruct1, DataStruct1.DeviceList, DataStruct1.Units, 'Numeric');
+        end
+
+        if strcmpi(DataStruct2.Field, 'Monitor') && ~isempty(getfamilydata(DataStruct2.FamilyName,'Setpoint'))
+            % Update the offset to the setpoint
+            DataB2 = getsp(DataStruct2, Mode, DataStruct2.Units, 'Numeric');
+        else
+            DataB2 = getoffset(DataStruct2, DataStruct2.Units, 'Numeric');
+        end
+    elseif ChannelB == 4
+        DataB1 = getappdata(handles.figure1,'SaveX');
+        DataB1 = DataB1.Data;
+
+        DataB2 = getappdata(handles.figure1,'SaveY');
+        DataB2 = DataB2.Data;
+
+    elseif ChannelB == 5
+        DataB1 = getappdata(handles.figure1,'FileX');
+        DataB1 = DataB1.Data;
+        DataB2 = getappdata(handles.figure1,'FileY');
+        DataB2 = DataB2.Data;
+
+    elseif ChannelB == 6
+        DataB1 = getappdata(handles.figure1,'FileX2');
+        DataB1 = DataB1.Data;
+        DataB2 = getappdata(handles.figure1,'FileY2');
+        DataB2 = DataB2.Data;
+    else
+        DataB1 = zeros(size(BPMxList,1),1);
+        DataB2 = zeros(size(BPMyList,1),1);
+    end
+end
+
+
+% First line
+if Trace1 == 1
+    Data1 = DataA1;
+    Data2 = DataA2;
+elseif Trace1 == 2
+    Data1 = DataB1;
+    Data2 = DataB2;
+elseif Trace1 == 3
+    Data1 = DataA1 - DataB1;
+    Data2 = DataA2 - DataB2;
+end
+
+
+% Second line
+if Trace2 == 4
+    Data3 = NaN * Data1;
+    Data4 = NaN * Data2;
+else
+    if Trace2 == 1
+        Data3 = DataA1;
+        Data4 = DataA2;
+    elseif Trace2 == 2
+        Data3 = DataB1;
+        Data4 = DataB2;
+    elseif Trace2 == 3
+        Data3 = DataA1 - DataB1;
+        Data4 = DataA2 - DataB2;
+    end
+end
+
+
+
+% if UnitsFlag == 1 && strcmpi(RawX.Units,'Hardware')
+%     % Physics units requested, data is in Hardware units
+%     Data1 = hw2physics(BPMxFamily, 'Monitor', Data1);
+%     Data2 = hw2physics(BPMyFamily, 'Monitor', Data2);
+%     Data3 = hw2physics(BPMxFamily, 'Monitor', Data3);
+%     Data4 = hw2physics(BPMyFamily, 'Monitor', Data4);
+% elseif (UnitsFlag==2 | UnitsFlag==3) && strcmpi(RawX.Units,'Physics')
+%     % Hardware units requested, data is in Physics units
+%     Data1 = physics2hw(BPMxFamily, 'Monitor', Data1);
+%     Data2 = physics2hw(BPMyFamily, 'Monitor', Data2);
+%     Data3 = physics2hw(BPMxFamily, 'Monitor', Data3);
+%     Data4 = physics2hw(BPMyFamily, 'Monitor', Data4);
+% end
+
+UnitsString1 = DataStruct1.UnitsString;
+UnitsString2 = DataStruct2.UnitsString;
+% if UnitsFlag == 1
+%     % Physics units
+%     UnitsString1 = getfamilydata(DataStruct1.FamilyName, DataStruct1.Field, 'PhysicsUnits');
+%     UnitsString2 = getfamilydata(DataStruct2.FamilyName, DataStruct2.Field, 'PhysicsUnits');
+% elseif UnitsFlag == 2
+%     % Hardware units
+%     UnitsString1 = getfamilydata(DataStruct1.FamilyName, DataStruct1.Field, 'HWUnits');
+%     UnitsString2 = getfamilydata(DataStruct2.FamilyName, DataStruct2.Field, 'HWUnits');
+if UnitsFlag == 3
+    % Hardware units time 1000
+    Data1 = 1000 * Data1;
+    Data2 = 1000 * Data2;
+    Data3 = 1000 * Data3;
+    Data4 = 1000 * Data4;
+    %UnitsString1 = getfamilydata(DataStruct1.FamilyName, DataStruct1.Field, 'HWUnits');
+    %UnitsString2 = getfamilydata(DataStruct2.FamilyName, DataStruct2.Field, 'HWUnits');
+    if strcmpi(UnitsString1,'mm')
+        UnitsString1 = '\mum';
+    else
+        %UnitsString1 = ['1000x', UnitsString1];
+        UnitsString1 = ['milli', UnitsString1];
+    end
+    if strcmpi(UnitsString2,'mm')
+        UnitsString2 = '\mum';
+    else
+        %UnitsString2 = ['1000x', UnitsString2];
+        UnitsString2 = ['milli', UnitsString2];
+    end
+end
+
+
+% Axes 1
+h = get(handles.Graph1,'Children');
+AxisRange1X = getappdata(handles.figure1, 'AxisRange1X');
+
+% Bar graph setup
+if strcmpi(get(handles.Graph1Bar,'Checked'),'On')
+    %  #pts  BarWidth
+    Table = [
+        0    .01
+        24    .025
+        48    .05
+        120   .10
+        1000  .3
+        3000  .40
+        1e5   .50
+        ];
+    L = getfamilydata('Circumference');
+    WidthScaleFactor = interp1(Table(:,1), Table(:,2), length(Data1), 'linear');
+    WidthScaleFactor = WidthScaleFactor * (L/length(sx)) / min(diff(sx));
+end
+
+% Don't change the axis (unless it's the first time)
+if isempty(h)
+    cla(handles.Graph1);
+    if strcmpi(get(handles.Graph1Bar,'Checked'),'On')
+        % Bar graph
+        h(1) = bar(handles.Graph1, sx, Data1(:), WidthScaleFactor);
+        hold(handles.Graph1, 'on');
+        h(2) = bar(handles.Graph1, sx, Data3(:), WidthScaleFactor/2);
+        hold(handles.Graph1, 'off');
+        set(h(1),'FaceColor','b');
+        set(h(1),'EdgeColor','b');
+        if get(handles.Trace2Off, 'Value')
+            set(h(2),'FaceColor','k');
+            set(h(2),'EdgeColor','k');
+        else
+            set(h(2),'FaceColor','r');
+            set(h(2),'EdgeColor','r');
+        end
+    else
+        h = plot(handles.Graph1, sx, [Data1(:) Data3(:)],'.-');
+        set(h(1),'Color','b');
+        set(h(2),'Color','r');
+    end
+
+    % plot(handles.Graph1, sx, Data3,'squarer','MarkerSize',3);
+    % plot(handles.Graph1, sx, Data1,'squareb','MarkerSize',3);
+
+    % Set defaults
+    set(handles.Graph1, 'Nextplot',      'Add');
+    set(handles.Graph1, 'YGrid',         'On');
+    set(handles.Graph1, 'YMinorTick',    'On');
+    set(handles.Graph1, 'XMinorTick',    'On');
+    set(handles.Graph1, 'XAxisLocation', 'Bottom');
+    set(handles.Graph1, 'XTickLabel',    '');
+
+    a = axis(handles.Graph1);
+    axis(handles.Graph1, [AxisRange1X(1) AxisRange1X(2) a(3) a(4)]);
+
+    if strcmpi(get(handles.('YScaleLog1'),'Checked'),'On')
+        set(handles.Graph1,'YScale','Log');
+    else
+        set(handles.Graph1,'YScale','Linear');
+    end
+
+    set(handles.Graph1 ,'ButtonDownFcn','plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))');
+    h = get(handles.Graph1,'Children');
+    for i = 1:length(h)
+        set(h(i) ,'ButtonDownFcn','plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))');
+    end
+else
+    % This fixes a weird error with srcontrol
+    h = sort(h(end-1:end));
+
+    a = axis(handles.Graph1);
+    set(h(1), 'XData', sx, 'YData', Data1);
+    set(h(2), 'XData', sx, 'YData', Data3);
+
+    if strcmpi(get(handles.Graph1Bar,'Checked'),'On')
+        set(h(1),'BarWidth',WidthScaleFactor);
+        set(h(2),'BarWidth',WidthScaleFactor/2);
+        if get(handles.Trace2Off, 'Value')
+            set(h(2),'FaceColor','k');
+            set(h(2),'EdgeColor','k');
+        else
+            set(h(2),'FaceColor','r');
+            set(h(2),'EdgeColor','r');
+        end
+    end
+
+    axis(handles.Graph1, [AxisRange1X(1) AxisRange1X(2) a(3) a(4)]);
+end
+
+h_label=get(handles.Graph1,'ylabel');
+
+
+if strcmpi(DataStruct1.Field,'Monitor')
+    if isempty(UnitsString1)
+        set(h_label, 'String', sprintf('%s',      DataStruct1.FamilyName), 'Interpreter','None');
+    elseif strcmpi(UnitsString1,'\mum')
+        set(h_label, 'String', sprintf('%s [%s]', DataStruct1.FamilyName, UnitsString1), 'Interpreter','Tex');
+    else
+        set(h_label, 'String', sprintf('%s [%s]', DataStruct1.FamilyName, UnitsString1), 'Interpreter','None');
+    end
+else
+    if isempty(UnitsString1)
+        set(h_label, 'String', sprintf('%s.%s',      DataStruct1.FamilyName, DataStruct1.Field), 'Interpreter','None');
+    elseif strcmpi(UnitsString1,'\mum')
+        set(h_label, 'String', sprintf('%s.%s [%s]', DataStruct1.FamilyName, DataStruct1.Field, UnitsString1), 'Interpreter','Tex');
+    else
+        set(h_label, 'String', sprintf('%s.%s [%s]', DataStruct1.FamilyName, DataStruct1.Field, UnitsString1), 'Interpreter','None');
+    end
+end
+
+
+% Graph 3
+if strcmpi(get(handles.('AddPlot1_Nothing'),'Checked'),'Off')
+    % Bring Graph 3 forward
+    axes(handles.Graph3);
+end
+
+% Remove NaN
+i = find(~isnan(Data1));
+set(handles.Trace1max,'String',...
+    sprintf('rms = %.4e     mean = %.4e     min = %.4e     max = %.4e       [%s]', ...
+    std(Data1(i)), mean(Data1(i)), min(Data1(i)),  max(Data1(i)),  ...
+    UnitsString1));
+
+% Set the list box
+Value = get(handles.DataList1, 'Value');
+set(handles.DataList1, 'Value', Value);
+ListBoxTop = get(handles.DataList1, 'ListBoxTop');
+set(handles.DataList1, 'String', [DataStruct1.ListBoxString, num2str(Data1(:),'%+.4e')]);
+set(handles.DataList1, 'ListBoxTop', ListBoxTop);
+
+
+% Axes 2
+h = get(handles.Graph2,'Children');
+AxisRange2X = getappdata(handles.figure1, 'AxisRange2X');
+
+% Bar graph setup
+if strcmpi(get(handles.Graph2Bar,'Checked'),'On')
+    %  #pts  BarWidth
+    Table = [
+        0    .01
+        24    .025
+        48    .05
+        120   .10
+        1000  .3
+        3000  .40
+        1e5   .50
+        ];
+    L = getfamilydata('Circumference');
+    WidthScaleFactor = interp1(Table(:,1), Table(:,2), length(Data2), 'linear');
+    WidthScaleFactor = WidthScaleFactor * (L/length(sy)) / min(diff(sy));
+end
+
+
+if isempty(h)
+    cla(handles.Graph2);
+    if strcmpi(get(handles.Graph2Bar,'Checked'),'On')
+        % Bar graph
+        h(1) = bar(handles.Graph2, sy, Data2(:), WidthScaleFactor);
+        hold(handles.Graph2, 'on');
+        h(2) = bar(handles.Graph2, sy, Data4(:), WidthScaleFactor/2);
+        hold(handles.Graph2, 'off');
+        set(h(1),'FaceColor','b');
+        set(h(1),'EdgeColor','b');
+        if get(handles.Trace2Off, 'Value')
+            set(h(2),'FaceColor','k');
+            set(h(2),'EdgeColor','k');
+        else
+            set(h(2),'FaceColor','r');
+            set(h(2),'EdgeColor','r');
+        end
+    else
+        h = plot(handles.Graph2, sy, [Data2(:) Data4(:)],'.-');
+        set(h(1),'Color','b');
+        set(h(2),'Color','r');
+    end
+
+    % Set defaults
+    set(handles.Graph2, 'Nextplot',      'Add');
+    set(handles.Graph2, 'YGrid',         'On');
+    set(handles.Graph2, 'YMinorTick',    'On');
+    set(handles.Graph2, 'XMinorTick',    'On');
+    set(handles.Graph2, 'XAxisLocation', 'Bottom');
+
+    a = axis(handles.Graph2);
+    axis(handles.Graph2, [AxisRange2X(1) AxisRange2X(2) a(3) a(4)])
+
+    if strcmpi(get(handles.('YScaleLog2'),'Checked'),'On')
+        set(handles.Graph2,'YScale','Log');
+    else
+        set(handles.Graph2,'YScale','Linear');
+    end
+
+    set(handles.Graph2 ,'ButtonDownFcn','plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))');
+    h = get(handles.Graph2,'Children');
+    for i = 1:length(h)
+        set(h(i) ,'ButtonDownFcn','plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))');
+    end
+else
+    % This fixes a weird error with srcontrol
+    h = sort(h(end-1:end));
+
+    a = axis(handles.Graph2);
+    set(h(1), 'XData', sy, 'YData', Data2);
+    set(h(2), 'XData', sy, 'YData', Data4);
+
+    if strcmpi(get(handles.Graph2Bar,'Checked'),'On')
+        set(h(1),'BarWidth',WidthScaleFactor);
+        set(h(2),'BarWidth',WidthScaleFactor/2);
+        if get(handles.Trace2Off, 'Value')
+            set(h(2),'FaceColor','k');
+            set(h(2),'EdgeColor','k');
+        else
+            set(h(2),'FaceColor','r');
+            set(h(2),'EdgeColor','r');
+        end
+    end
+
+    %% Add the model orbit to the plot
+    %[x, y, sx, sy] = modeltwiss('x', 'All');
+    %h4 = get(handles.Graph4,'children');
+    %set(h4, 'XData', sx, 'YData', x);
+    %axis(h4, [AxisRange2X(1) AxisRange2X(2) a(3) a(4)]);
+
+    axis(handles.Graph2, [AxisRange2X(1) AxisRange2X(2) a(3) a(4)]);
+end
+
+h_label = get(handles.Graph2,'ylabel');
+if strcmpi(DataStruct2.Field,'Monitor')
+    if isempty(UnitsString2)
+        set(h_label, 'String', sprintf('%s',      DataStruct2.FamilyName), 'Interpreter','None');
+    elseif strcmpi(UnitsString2,'\mum')
+        set(h_label, 'String', sprintf('%s [%s]', DataStruct2.FamilyName, UnitsString2), 'Interpreter','Tex');
+    else
+        set(h_label, 'String', sprintf('%s [%s]', DataStruct2.FamilyName, UnitsString2), 'Interpreter','None');
+    end
+else
+    if isempty(UnitsString2)
+        set(h_label, 'String', sprintf('%s.%s',      DataStruct2.FamilyName, DataStruct2.Field), 'Interpreter','None');
+    elseif strcmpi(UnitsString2,'\mum')
+        set(h_label, 'String', sprintf('%s.%s [%s]', DataStruct2.FamilyName, DataStruct2.Field, UnitsString2), 'Interpreter','Tex');
+    else
+        set(h_label, 'String', sprintf('%s.%s [%s]', DataStruct2.FamilyName, DataStruct2.Field, UnitsString2), 'Interpreter','None');
+    end
+end
+
+
+% Graph 4
+if strcmpi(get(handles.('AddPlot2_Nothing'),'Checked'),'Off')
+    % Bring Graph 4 forward
+    axes(handles.Graph4);
+end
+
+
+% Set the list box header
+i = find(~isnan(Data2));
+set(handles.Trace2max,'String', ...
+    sprintf('rms = %.4e     mean = %.4e     min = %.4e     max = %.4e       [%s]', ...
+    std(Data2(i)), mean(Data2(i)), min(Data2(i)),  max(Data2(i)),  ...
+    UnitsString2));
+
+
+% Set the list box
+Value = get(handles.DataList2,'Value');
+set(handles.DataList2,'Value', Value);
+ListBoxTop = get(handles.DataList2,'ListBoxTop');
+set(handles.DataList2,'String', [DataStruct2.ListBoxString, num2str(Data2(:),'%+.4e')]);
+set(handles.DataList2, 'ListBoxTop', ListBoxTop);
+
+
+
+% --- Executes on button press in RawOrbit1.
+function RawOrbit1_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit1,'Value', 1);
+set(handles.GoldenOrbit1,'Value', 0);
+set(handles.OffsetOrbit1,'Value', 0);
+set(handles.SaveOrbit1,'Value', 0);
+set(handles.FileOrbit1,'Value', 0);
+set(handles.FileOrbit3,'Value', 0);
+setappdata(handles.figure1, 'ChannelA', 1);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in GoldenOrbit1.
+function GoldenOrbit1_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit1,'Value', 0);
+set(handles.GoldenOrbit1,'Value', 1);
+set(handles.OffsetOrbit1,'Value', 0);
+set(handles.SaveOrbit1,'Value', 0);
+set(handles.FileOrbit1,'Value', 0);
+set(handles.FileOrbit3,'Value', 0);
+setappdata(handles.figure1, 'ChannelA', 2);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in OffsetOrbit1.
+function OffsetOrbit1_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit1,'Value', 0);
+set(handles.GoldenOrbit1,'Value', 0);
+set(handles.OffsetOrbit1,'Value', 1);
+set(handles.SaveOrbit1,'Value', 0);
+set(handles.FileOrbit1,'Value', 0);
+set(handles.FileOrbit3,'Value', 0);
+setappdata(handles.figure1, 'ChannelA', 3);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in SaveOrbit1.
+function SaveOrbit1_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit1,'Value', 0);
+set(handles.GoldenOrbit1,'Value', 0);
+set(handles.OffsetOrbit1,'Value', 0);
+set(handles.SaveOrbit1,'Value', 1);
+set(handles.FileOrbit1,'Value', 0);
+set(handles.FileOrbit3,'Value', 0);
+setappdata(handles.figure1, 'ChannelA', 4);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in FileOrbit1.
+function FileOrbit1_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit1,'Value', 0);
+set(handles.GoldenOrbit1,'Value', 0);
+set(handles.OffsetOrbit1,'Value', 0);
+set(handles.SaveOrbit1,'Value', 0);
+set(handles.FileOrbit1,'Value', 1);
+set(handles.FileOrbit3,'Value', 0);
+setappdata(handles.figure1, 'ChannelA', 5);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+
+% --- Executes on button press in RawOrbit2.
+function RawOrbit2_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit2,'Value', 1);
+set(handles.GoldenOrbit2,'Value', 0);
+set(handles.OffsetOrbit2,'Value', 0);
+set(handles.SaveOrbit2,'Value', 0);
+set(handles.FileOrbit2,'Value', 0);
+set(handles.FileOrbit4,'Value', 0);
+setappdata(handles.figure1, 'ChannelB', 1);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in GoldenOrbit2.
+function GoldenOrbit2_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit2,'Value', 0);
+set(handles.GoldenOrbit2,'Value', 1);
+set(handles.OffsetOrbit2,'Value', 0);
+set(handles.SaveOrbit2,'Value', 0);
+set(handles.FileOrbit2,'Value', 0);
+set(handles.FileOrbit4,'Value', 0);
+setappdata(handles.figure1, 'ChannelB', 2);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in OffsetOrbit2.
+function OffsetOrbit2_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit2,'Value', 0);
+set(handles.GoldenOrbit2,'Value', 0);
+set(handles.OffsetOrbit2,'Value', 1);
+set(handles.SaveOrbit2,'Value', 0);
+set(handles.FileOrbit2,'Value', 0);
+set(handles.FileOrbit4,'Value', 0);
+setappdata(handles.figure1, 'ChannelB', 3);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in SaveOrbit2.
+function SaveOrbit2_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit2,'Value', 0);
+set(handles.GoldenOrbit2,'Value', 0);
+set(handles.OffsetOrbit2,'Value', 0);
+set(handles.SaveOrbit2,'Value', 1);
+set(handles.FileOrbit2,'Value', 0);
+set(handles.FileOrbit4,'Value', 0);
+setappdata(handles.figure1, 'ChannelB', 4);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in FileOrbit2.
+function FileOrbit2_Callback(hObject, eventdata, handles)
+set(handles.RawOrbit2,'Value', 0);
+set(handles.GoldenOrbit2,'Value', 0);
+set(handles.OffsetOrbit2,'Value', 0);
+set(handles.SaveOrbit2,'Value', 0);
+set(handles.FileOrbit2,'Value', 1);
+set(handles.FileOrbit4,'Value', 0);
+setappdata(handles.figure1, 'ChannelB', 5);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in FileOrbit3.
+function FileOrbit3_Callback(hObject, eventdata, handles)
+% hObject    handle to FileOrbit3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of FileOrbit3
+set(handles.RawOrbit1,'Value', 0);
+set(handles.GoldenOrbit1,'Value', 0);
+set(handles.OffsetOrbit1,'Value', 0);
+set(handles.SaveOrbit1,'Value', 0);
+set(handles.FileOrbit1,'Value', 0);
+set(handles.FileOrbit3,'Value', 1);
+setappdata(handles.figure1, 'ChannelA', 6);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+
+% --- Executes on button press in FileOrbit4.
+function FileOrbit4_Callback(hObject, eventdata, handles)
+% hObject    handle to FileOrbit4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of FileOrbit4
+set(handles.RawOrbit2,'Value', 0);
+set(handles.GoldenOrbit2,'Value', 0);
+set(handles.OffsetOrbit2,'Value', 0);
+set(handles.SaveOrbit2,'Value', 0);
+set(handles.FileOrbit2,'Value', 0);
+set(handles.FileOrbit4,'Value', 1);
+setappdata(handles.figure1, 'ChannelB', 6);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+
+
+% --- Executes on button press in SaveOrbit1Now.
+function SaveOrbit1Now_Callback(hObject, eventdata, handles)
+RawX = getappdata(handles.figure1,'RawX');
+RawY = getappdata(handles.figure1,'RawY');
+setappdata(handles.figure1,'SaveX', RawX);
+setappdata(handles.figure1,'SaveY', RawY);
+if isfield(RawY,'TimeStamp')
+    set(handles.SaveTime,'String', sprintf('%s',datestr(RawY.TimeStamp,0)));
+else
+    set(handles.SaveTime,'String', sprintf('%s',datestr(clock,0)));
+end
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+
+% --- Executes on button press in LoadOrbit1.
+function LoadOrbit1_Callback(hObject, eventdata, handles)
+UnitMenu = getappdata(handles.figure1,'UnitsFlag');
+if UnitMenu == 1
+    UnitsFlag = 'Physics';
+else
+    UnitsFlag = 'Hardware';
+end
+
+DataStruct1 = getappdata(handles.figure1, 'BPMxFamily');
+DataStruct2 = getappdata(handles.figure1, 'BPMyFamily');
+
+
+% DirectoryName = getfamilydata('Directory','DataRoot');
+DirectoryName = getfamilydata('Directory', 'BPMData');
+[FileName, DirectoryName] = uigetfile('*.mat', 'Select a File', [DirectoryName]);
+if FileName == 0
+    return
+end
+
+% Remove .mat
+%if strcmpi(FileName(end-3:end), '.mat')
+%    FileName = FileName(1:end-4);
+%end
+
+% Graph 1
+try
+    %DataStruct = getdata(DataStruct1.FamilyName, DataStruct1.DeviceList, [DirectoryName FileName], 'Struct');
+    DataStruct = getdata(DataStruct1.FamilyName, DataStruct1.DeviceList, 'Field', DataStruct1.Field, [DirectoryName FileName], 'Struct');
+    if UnitMenu == 1 && strcmpi(DataStruct.Units,'Hardware')
+        % Physics units requested
+        DataStruct = hw2physics(DataStruct);
+    elseif (UnitMenu==2 || UnitMenu==3) && strcmpi(DataStruct.Units,'Physics')
+        % Hardware units requested, data is in Physics units
+        DataStruct = physics2hw(DataStruct);
+    end
+    setappdata(handles.figure1, 'FileX', DataStruct);
+    setappdata(handles.figure1, 'FileNameX', [DirectoryName FileName]);
+catch
+end
+
+% Graph 2
+try
+    %DataStruct = getdata(DataStruct2.FamilyName, DataStruct2.DeviceList, [DirectoryName FileName], 'Struct');
+    DataStruct = getdata(DataStruct2.FamilyName, DataStruct2.DeviceList, 'Field', DataStruct2.Field, [DirectoryName FileName], 'Struct');
+    if UnitMenu == 1 && strcmpi(DataStruct.Units,'Hardware')
+        % Physics units requested
+        DataStruct = hw2physics(DataStruct);
+    elseif (UnitMenu==2 || UnitMenu==3) && strcmpi(DataStruct.Units,'Physics')
+        % Hardware units requested, data is in Physics units
+        DataStruct = physics2hw(DataStruct);
+    end
+    setappdata(handles.figure1, 'FileY', DataStruct);
+    setappdata(handles.figure1, 'FileNameY', [DirectoryName FileName]);
+catch
+end
+
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+UpdateFileDisplayLocal(handles);
+
+% --- Executes on button press in LoadOrbit2.
+function LoadOrbit2_Callback(hObject, eventdata, handles)
+UnitMenu = getappdata(handles.figure1,'UnitsFlag');
+if UnitMenu == 1
+    UnitsFlag = 'Physics';
+else
+    UnitsFlag = 'Hardware';
+end
+
+DataStruct1 = getappdata(handles.figure1, 'BPMxFamily');
+DataStruct2 = getappdata(handles.figure1, 'BPMyFamily');
+
+
+% DirectoryName = getfamilydata('Directory','DataRoot');
+DirectoryName = getfamilydata('Directory', 'BPMData');
+[FileName, DirectoryName] = uigetfile('*.mat', 'Select a File', [DirectoryName]);
+if FileName == 0
+    return
+end
+
+% Remove .mat
+%if strcmpi(FileName(end-3:end), '.mat')
+%    FileName = FileName(1:end-4);
+%end
+
+% Graph 1
+try
+    %DataStruct = getdata(DataStruct1.FamilyName, DataStruct1.DeviceList, [DirectoryName FileName], 'Struct');
+    DataStruct = getdata(DataStruct1.FamilyName, DataStruct1.DeviceList, 'Field', DataStruct1.Field, [DirectoryName FileName], 'Struct');
+    if UnitMenu == 1 && strcmpi(DataStruct.Units,'Hardware')
+        % Physics units requested
+        DataStruct = hw2physics(DataStruct);
+    elseif (UnitMenu==2 || UnitMenu==3) && strcmpi(DataStruct.Units,'Physics')
+        % Hardware units requested, data is in Physics units
+        DataStruct = physics2hw(DataStruct);
+    end
+    setappdata(handles.figure1, 'FileX2', DataStruct);
+    setappdata(handles.figure1, 'FileNameX2', [DirectoryName FileName]);
+catch
+end
+
+% Graph 2
+try
+    %DataStruct = getdata(DataStruct2.FamilyName, DataStruct2.DeviceList, [DirectoryName FileName], 'Struct');
+    DataStruct = getdata(DataStruct2.FamilyName, DataStruct2.DeviceList, 'Field', DataStruct2.Field, [DirectoryName FileName], 'Struct');
+    if UnitMenu == 1 && strcmpi(DataStruct.Units,'Hardware')
+        % Physics units requested
+        DataStruct = hw2physics(DataStruct);
+    elseif (UnitMenu==2 || UnitMenu==3) && strcmpi(DataStruct.Units,'Physics')
+        % Hardware units requested, data is in Physics units
+        DataStruct = physics2hw(DataStruct);
+    end
+    setappdata(handles.figure1, 'FileY2', DataStruct);
+    setappdata(handles.figure1, 'FileNameY2', [DirectoryName FileName]);
+catch
+end
+
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+UpdateFileDisplayLocal2(handles);
+
+
+% --- local function to update filename on the display.
+function UpdateFileDisplayLocal(handles)
+
+FileNameX = getappdata(handles.figure1, 'FileNameX');
+FileNameY = getappdata(handles.figure1, 'FileNameY');
+
+if isempty(FileNameX) && isempty(FileNameY)
+    set(handles.FileNameX,'String', 'File X: not loaded');
+    set(handles.FileNameY,'String', 'File Z: not loaded');
+    drawnow;
+    return;
+end
+
+if ~isempty(FileNameX)
+    % Remove directories
+    i = findstr(FileNameX, filesep);
+    if ~isempty(i)
+        FileNameX = FileNameX(i(end)+1:end);
+    end
+
+    % Shorten length
+    if length(FileNameX) >= 31
+        % Remove .mat
+        if strcmpi(FileNameX(end-3:end),'.mat')
+            FileNameX = FileNameX(1:end-4);  % remove .mat
+        end
+
+        if length(FileNameX) >= 31
+            FileNameX = FileNameX(1:31);
+        end
+    end
+
+    set(handles.FileNameX,'String', sprintf('File X: %s', FileNameX));
+else
+    set(handles.FileNameX,'String', 'File X1: no data');
+end
+
+if ~isempty(FileNameY)
+    % Remove directories
+    i = findstr(FileNameY,filesep);
+    if ~isempty(i)
+        FileNameY = FileNameY(i(end)+1:end);
+    end
+
+    % Shorten length
+    if length(FileNameY) >= 31
+        % Remove .mat
+        if strcmpi(FileNameY(end-3:end),'.mat')
+            FileNameY = FileNameY(1:end-4);  % remove .mat
+        end
+        if length(FileNameY) >= 31
+            FileNameY = FileNameY(1:31);
+        end
+    end
+
+    %set(handles.FileNameY,'String', sprintf('File 2: %s', FileNameY));
+    set(handles.FileNameY,'String', sprintf('File Y: %s', FileNameY));
+else
+    set(handles.FileNameY,'String', 'File Y1: no data');
+end
+
+set(handles.FileOrbit1,'TooltipString', sprintf('%s', FileNameX));
+set(handles.FileOrbit2,'TooltipString', sprintf('%s', FileNameX));
+
+if strcmpi(FileNameX, FileNameY) && ~isempty(FileNameX)
+    set(handles.FileNameY,'Visible','off');
+    set(handles.FileNameX,'String', sprintf('%s', FileNameX));
+    %p = get(handles.FileNameX,'Position');
+    %set(handles.FileName,'Position', [p(1) 4 p(3) p(4)]);   % Points
+    %set(handles.FileNameX,'Position', [p(1) .4 p(3) p(4)]);   % Characters
+    %p = get(handles.SaveTime,'Position');
+    %set(handles.SaveTime,'Position', [p(1) 16.5 p(3) p(4)]);  % Points
+    %set(handles.SaveTime,'Position', [p(1) 1.6 p(3) p(4)]);    % Characters
+else
+    %p = get(handles.FileNameX,'Position');
+    %set(handles.FileName,'Position', [p(1) 10 p(3) p(4)]);  % Points
+    %set(handles.FileNameX,'Position', [p(1) 1.1 p(3) p(4)]);  % Characters
+    set(handles.FileNameY,'Visible','on');
+    %p = get(handles.SaveTime,'Position');
+    %set(handles.SaveTime,'Position', [p(1) 20 p(3) p(4)]);  % Points
+    %set(handles.SaveTime,'Position', [p(1) 2.0 p(3) p(4)]);  % Characters
+end
+
+drawnow;
+
+% --- local function to update filenamex2 on the display.
+function UpdateFileDisplayLocal2(handles)
+
+FileNameX2 = getappdata(handles.figure1, 'FileNameX2');
+FileNameY2 = getappdata(handles.figure1, 'FileNameY2');
+
+if isempty(FileNameX2) && isempty(FileNameY2)
+    set(handles.FileNameX2,'String', 'NoData');
+    set(handles.FileNameY2,'String', 'NoData');
+    drawnow;
+    return;
+end
+
+if ~isempty(FileNameX2)
+    % Remove directories
+    i = findstr(FileNameX2, filesep);
+    if ~isempty(i)
+        FileNameX2 = FileNameX2(i(end)+1:end);
+    end
+    
+    % Shorten length
+    if length(FileNameX2) >= 31
+        % Remove .mat
+        if strcmpi(FileNameX2(end-3:end),'.mat')
+            FileNameX2 = FileNameX2(1:end-4);  % remove .mat
+        end
+        
+        if length(FileNameX2) >= 31
+            FileNameX2 = FileNameX2(1:31);
+        end
+    end
+
+    %set(handles.filenamex2,'String', sprintf('File 1: %s', FileNameX));
+    set(handles.FileNameX2,'String', sprintf('%s', FileNameX2));
+else
+    set(handles.FileNameX2,'String', 'File X2: no data');
+end
+
+if ~isempty(FileNameY2)
+    % Remove directories
+    i = findstr(FileNameY2,filesep);
+    if ~isempty(i)
+        FileNameY2 = FileNameY2(i(end)+1:end);
+    end
+    
+    % Shorten length
+    if length(FileNameY2) >= 31
+        % Remove .mat
+        if strcmpi(FileNameY2(end-3:end),'.mat')
+            FileNameY2 = FileNameY2(1:end-4);  % remove .mat
+        end
+        if length(FileNameY2) >= 31
+            FileNameY2 = FileNameY2(1:31);
+        end
+    end
+    
+    %set(handles.filenamey2,'String', sprintf('File 2: %s', FileNameY));
+    set(handles.FileNameY2,'String', sprintf('%s', FileNameY2));
+else
+    set(handles.FileNameY2,'String', 'File Y2: no data');
+end
+
+set(handles.FileOrbit3,'TooltipString', sprintf('%s', FileNameX2));
+set(handles.FileOrbit4,'tooltipString', sprintf('%s', FileNameX2));
+
+if strcmpi(FileNameX2, FileNameY2) && ~isempty(FileNameX2)
+    set(handles.FileNameY2,'Visible','off');
+    set(handles.FileNameX2,'String', sprintf('%s', FileNameX2));
+    %p = get(handles.filenamex2,'Position');
+    %set(handles.filenamex2,'Position', [p(1) 4 p(3) p(4)]);   % Points
+    %set(handles.filenamex2,'Position', [p(1) .4 p(3) p(4)]);  % Characters
+    %set(handles.filenamex2,'Position', [p(1) 0.02 p(3) p(4)]); % Normalized
+    %p = get(handles.SaveTime,'Position');
+    %set(handles.SaveTime,'Position', [p(1) 16.5 p(3) p(4)]);   % Points
+    %set(handles.SaveTime,'Position', [p(1) 1.6 p(3) p(4)]);    % Characters
+    %set(handles.SaveTime,'Position', [p(1) 0.052 p(3) p(4)]);   % Normalized
+else
+    %p = get(handles.filenamex2,'Position');
+    %set(handles.filenamex2,'Position', [p(1) 10 p(3) p(4)]);  % Points
+    %set(handles.filenamex2,'Position', [p(1) 1.1 p(3) p(4)]);  % Characters
+    %set(handles.filenamex2,'Position', [p(1) 0.025 p(3) p(4)]);  % Normalized
+    set(handles.FileNameY2,'Visible','on');
+    %p = get(handles.SaveTime,'Position');
+    %set(handles.SaveTime,'Position', [p(1) 20 p(3) p(4)]);  % Points
+    %set(handles.SaveTime,'Position', [p(1) 2.0 p(3) p(4)]);  % Characters
+    %set(handles.SaveTime,'Position', [p(1) 0.055 p(3) p(4)]);  % Normalized
+end
+
+drawnow;
+
+% --- Executes on button press in Display1.
+function Display1_Callback(hObject, eventdata, handles)
+set(handles.DisplayDiff,'Value', 0);
+set(handles.Display1,'Value', 1);
+set(handles.Display2,'Value', 0);
+setappdata(handles.figure1,'Trace1',1);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in Display2.
+function Display2_Callback(hObject, eventdata, handles)
+set(handles.DisplayDiff,'Value', 0);
+set(handles.Display1,'Value', 0);
+set(handles.Display2,'Value', 1);
+setappdata(handles.figure1,'Trace1',2);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in DisplayDiff.
+function DisplayDiff_Callback(hObject, eventdata, handles)
+set(handles.DisplayDiff,'Value', 1);
+set(handles.Display1,'Value', 0);
+set(handles.Display2,'Value', 0);
+setappdata(handles.figure1,'Trace1',3);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+
+% --- Executes on button press in Trace2A.
+function Trace2A_Callback(hObject, eventdata, handles)
+set(handles.Trace2A,'Value', 1);
+set(handles.Trace2B,'Value', 0);
+set(handles.Trace2A_B,'Value', 0);
+set(handles.Trace2Off,'Value', 0);
+setappdata(handles.figure1,'Trace2',1);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in Trace2B.
+function Trace2B_Callback(hObject, eventdata, handles)
+set(handles.Trace2A,'Value', 0);
+set(handles.Trace2B,'Value', 1);
+set(handles.Trace2A_B,'Value', 0);
+set(handles.Trace2Off,'Value', 0);
+setappdata(handles.figure1,'Trace2',2);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in Trace2A_B.
+function Trace2A_B_Callback(hObject, eventdata, handles)
+set(handles.Trace2A,'Value', 0);
+set(handles.Trace2B,'Value', 0);
+set(handles.Trace2A_B,'Value', 1);
+set(handles.Trace2Off,'Value', 0);
+setappdata(handles.figure1,'Trace2',3);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+% --- Executes on button press in Trace2Off.
+function Trace2Off_Callback(hObject, eventdata, handles)
+set(handles.Trace2A,'Value', 0);
+set(handles.Trace2B,'Value', 0);
+set(handles.Trace2A_B,'Value', 0);
+set(handles.Trace2Off,'Value', 1);
+setappdata(handles.figure1,'Trace2',4);
+plotappdatalocal(handles);
+%AutoScaleYLocal(handles);
+
+
+% --- Executes on selection change in DataList1.
+function DataList1_Callback(hObject, eventdata, handles)
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    Mode = 'Simulator';
+else
+    Mode = 'Online';
+end
+
+i = get(hObject,'Value');
+DataStruct = getappdata(handles.figure1, 'BPMxFamily');
+
+Family = DataStruct.FamilyName;
+Field = DataStruct.Field;
+List = DataStruct.DeviceList;
+[tmp,ao] = isfamily(Family);
+
+if strcmpi(Field, 'Monitor')
+    Field = 'Setpoint';
+end
+
+set(handles.DataList1, 'TooltipString', cell2mat(family2tangodev(Family,List(i,:))));
+
+if isfield(ao, Field)
+    if getappdata(handles.figure1,'UnitsFlag') == 1
+        UnitsFlag = 'Physics';
+    else
+        UnitsFlag = 'Hardware';
+    end
+
+    % Get/save the present setpoint then call the GUI for setpoint changes
+    try
+        SP = getpv(Family, Field, List(i,:), Mode, UnitsFlag, 'Struct');
+        set(handles.SetpointSlider,     'UserData', SP);
+        set(handles.SetpointPushButton, 'UserData', SP);
+
+        SetpointGUI_Callback(hObject, eventdata, handles);
+    catch
+        fprintf('   Trouble finding the present value of %s.%s(%d,%d)\n',Family, Field, List(i,:));
+    end
+end
+
+
+% --- Executes on selection change in DataList2.
+function DataList2_Callback(hObject, eventdata, handles)
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    Mode = 'Simulator';
+else
+    Mode = 'Online';
+end
+
+i = get(hObject,'Value');
+DataStruct = getappdata(handles.figure1, 'BPMyFamily');
+
+Family = DataStruct.FamilyName;
+Field = DataStruct.Field;
+List = DataStruct.DeviceList;
+[tmp,ao] = isfamily(Family);
+
+if strcmpi(Field, 'Monitor')
+    Field = 'Setpoint';
+end
+
+set(handles.DataList2, 'TooltipString', cell2mat(family2tangodev(Family,List(i,:))));
+
+if isfield(ao, Field)
+    if getappdata(handles.figure1,'UnitsFlag') == 1
+        UnitsFlag = 'Physics';
+    else
+        UnitsFlag = 'Hardware';
+    end
+
+    % Get/save the present setpoint then call the GUI for setpoint changes
+    try
+        SP = getpv(Family, Field, List(i,:), Mode, UnitsFlag, 'Struct');
+        set(handles.SetpointSlider, 'UserData', SP);
+        set(handles.SetpointPushButton, 'UserData', SP);
+
+        SetpointGUI_Callback(hObject, eventdata, handles);
+    catch
+        fprintf('   Trouble finding the present value of %s.%s(%d,%d)\n',Family, Field, List(i,:));
+    end
+end
+
+
+
+%%%%%%%%%%%%%%%%%%
+% MENU CALLBACKS %
+%%%%%%%%%%%%%%%%%%
+
+% --------------------------------------------------------------------
+function PopPlot_Callback(hObject, eventdata, handles)
+a = figure;
+b = copyobj(handles.Graph1, a);
+set(b, 'Position', [0.1300    0.5811    0.7750    0.3439]);
+set(b, 'ButtonDownFcn','');
+set(b, 'XAxisLocation','Bottom');
+
+b = copyobj(handles.Graph2, a);
+set(b, 'Position', [0.1300    0.1100    0.7750    0.3439]);
+set(b, 'ButtonDownFcn','');
+xlabel(b, 'Position [meters]');
+
+Data = getappdata(handles.figure1, 'RawY');
+if isfield(Data, 'TimeStamp')
+    addlabel(1,0,datestr(Data.TimeStamp,21));
+end
+orient tall
+
+
+% --------------------------------------------------------------------
+function PopPlot1_Callback(hObject, eventdata, handles)
+%set(handles.figure1, 'HandleVisibility','Callback');
+
+a = figure;
+b = copyobj(handles.Graph1, a);
+set(b, 'Position',[0.13 0.11 0.775 0.815]);
+set(b, 'ButtonDownFcn','');
+set(b, 'XAxisLocation','Bottom');
+Axis1 = axis;
+
+if strcmpi(get(handles.AddPlot1_Nothing,'Checked'),'Off')
+    set(b, 'Position',[0.13 0.11 0.775 0.7]);
+    c = copyobj(handles.Graph3, a);
+
+    % Plot on top of each other
+    %set(c, 'Position',[0.13 0.11 0.775 0.815]);
+
+    % Separate plots
+    set(c, 'Position',[0.13 0.11+.72 0.775 0.12]);
+
+    set(c,'color',[1 1 1]);
+    set(c,'Visible','On');
+    set(c,'XAxisLocation','Top');
+    set(c,'XTick',get(b,'XTick'));
+    %set(c,'XTickLabel',get(b,'XTickLabel'));
+    set(c,'XTickLabel',[]);
+    set(c,'XMinorTick','On');
+    set(c,'XMinorGrid','Off');
+    set(c,'XGrid','Off');
+    set(c,'YGrid','Off');
+    set(c,'XAxisLocation','Bottom');
+    set(c,'YAxisLocation','Left');
+    %set(c,'YAxisLocation','Right');
+    set(c,'YTick',[]);
+    set(c,'YMinorTick','Off');
+    set(c,'YMinorGrid','Off');
+    set(c,'YTickLabel',[]);
+    axis(c,'tight');
+    Axis2 = axis(c);
+    axis(c,[Axis1(1) Axis1(2) Axis2(3)-.2*(Axis2(4)-Axis2(3)) Axis2(4)+.2*(Axis2(4)-Axis2(3))]);
+
+    set(c, 'ButtonDownFcn','');
+
+    if strcmpi(get(handles.AddPlot1_BetaX,'Checked'),'On')
+        ylabel(c, 'Beta X');
+    end
+    if strcmpi(get(handles.AddPlot1_BetaY,'Checked'),'On')
+        ylabel(c, 'Beta Y');
+    end
+    if strcmpi(get(handles.AddPlot1_DispX,'Checked'),'On')
+        ylabel(c, 'Disp X');
+    end
+    if strcmpi(get(handles.AddPlot1_DispY,'Checked'),'On')
+        ylabel(c, 'Disp Y');
+    end
+end
+xlabel(b, 'Position [meters]');
+Data = getappdata(handles.figure1, 'RawX');
+if isfield(Data, 'TimeStamp') && ~isempty(Data.TimeStamp)
+    addlabel(1,0,datestr(Data.TimeStamp,21));
+end
+orient portrait
+
+
+% --------------------------------------------------------------------
+function PopPlot2_Callback(hObject, eventdata, handles)
+set(handles.Graph2, 'HandleVisibility', 'Callback');
+
+a = figure;
+b = copyobj(handles.Graph2, a);
+set(b, 'Position',[0.13 0.11 0.775 0.815]);
+set(b, 'ButtonDownFcn','');
+Axis1 = axis;
+
+if strcmpi(get(handles.AddPlot2_Nothing,'Checked'),'Off')
+    set(b, 'Position',[0.13 0.11 0.775 0.7]);
+    c = copyobj(handles.Graph4, a);
+
+    % Plot on top of each other
+    %set(c, 'Position',[0.13 0.11 0.775 0.815]);
+
+    % Separate plots
+    set(c, 'Position',[0.13 0.11+.72 0.775 0.12]);
+
+    set(c,'color',[1 1 1]);
+    set(c,'Visible','On');
+    set(c,'XAxisLocation','Top');
+    set(c,'XTick',get(b,'XTick'));
+    set(c,'XTickLabel',get(b,'XTickLabel'));
+    %set(c,'XTickLabel',[]);
+    set(c,'XMinorTick','On');
+    set(c,'XMinorGrid','Off');
+    set(c,'XGrid','Off');
+    set(c,'YGrid','Off');
+    set(c,'YAxisLocation','Left');
+
+    % Turn y-axis on
+    set(c,'YTick',[]);
+    set(c,'YMinorTick','Off');
+    set(c,'YMinorGrid','Off');
+    set(c,'YTickLabel',[]);
+    axis(c,'tight');
+    Axis2 = axis(c);
+    axis(c,[Axis1(1) Axis1(2) Axis2(3)-.2*(Axis2(4)-Axis2(3)) Axis2(4)+.2*(Axis2(4)-Axis2(3))]);
+
+    set(c, 'ButtonDownFcn','');
+
+    if strcmpi(get(handles.AddPlot2_BetaX,'Checked'),'On')
+        ylabel(c,'Beta X');
+    end
+    if strcmpi(get(handles.AddPlot2_BetaY,'Checked'),'On')
+        ylabel(c,'Beta Y');
+    end
+    if strcmpi(get(handles.AddPlot2_DispX,'Checked'),'On')
+        ylabel(c,'Disp X');
+    end
+    if strcmpi(get(handles.AddPlot2_DispY,'Checked'),'On')
+        ylabel(c,'Disp Y');
+    end
+end
+xlabel('Position [meters]');
+Data = getappdata(handles.figure1, 'RawY');
+if isfield(Data, 'TimeStamp') && ~isempty(Data.TimeStamp)
+    addlabel(1,0,datestr(Data.TimeStamp,21));
+end
+orient portrait
+
+
+% --------------------------------------------------------------------
+function Axis1_Callback(hObject, eventdata, handles)
+a = axis(handles.Graph1);
+a = a(3:4);
+answer = inputdlg('New upper graph vertical axis [2 element vector]','',1,{sprintf('[%s]',num2str(a))});
+if ~isempty(answer)
+    a = str2num(answer{1});
+    if length(a) == 2
+        set(handles.Graph1, 'YLim', a);
+    else
+        fprintf('   Vertical axis needs to be a 2 element vector.\n');
+    end
+end
+
+
+% --------------------------------------------------------------------
+function Axis2_Callback(hObject, eventdata, handles)
+a = axis(handles.Graph2);
+a = a(3:4);
+answer = inputdlg('New lower graph vertical axis [2 element vector]','',1,{sprintf('[%s]',num2str(a))});
+if ~isempty(answer)
+    a = str2num(answer{1});
+    if length(a) == 2
+        set(handles.Graph2, 'YLim', a);
+    else
+        fprintf('   Vertical axis needs to be a 2 element vector.\n');
+    end
+end
+
+
+% --------------------------------------------------------------------
+function HorizontalAxis_Callback(hObject, eventdata, handles) %#ok<DEFNU>
+a = axis(handles.Graph2);
+a = a(1:2);
+answer = inputdlg('New horizontal axis [2 element vector]','',1,{sprintf('[%s]',num2str(a))});
+if ~isempty(answer)
+    a = str2num(answer{1});
+    if length(a) == 2
+        set(handles.Graph1, 'XLim', a);
+        set(handles.Graph2, 'XLim', a);
+        set(handles.Graph3, 'XLim', a);
+        set(handles.Graph4, 'XLim', a);
+        set(handles.LatticeAxes, 'XLim', a);
+        setappdata(handles.figure1, 'AxisRange1X', a(:)');
+        setappdata(handles.figure1, 'AxisRange2X', a(:)');
+    else
+        fprintf('   Horizontal axis needs to be a 2 element vector.\n');
+    end
+end
+
+
+% --------------------------------------------------------------------
+function HorizontalAxisSector_Callback(hObject, eventdata, handles) %#ok<DEFNU>
+a = eventdata;
+if length(a) == 2
+    set(handles.Graph1, 'XLim', a);
+    set(handles.Graph2, 'XLim', a);
+    set(handles.Graph3, 'XLim', a);
+    set(handles.Graph4, 'XLim', a);
+    set(handles.LatticeAxes, 'XLim', a);
+
+    setappdata(handles.figure1, 'AxisRange1X', a(:)');
+    setappdata(handles.figure1, 'AxisRange2X', a(:)');
+else
+    fprintf('   Horizontal axis needs to be a 2 element vector.\n');
+end
+
+
+
+
+% --------------------------------------------------------------------
+function YScaleLog1_Callback(hObject, eventdata, handles)
+if ~strcmpi(get(handles.Graph1Bar,'Checked'),'On')
+    set(handles.Graph1,'YScale','Log');
+    set(handles.YScaleLog1,'Checked','On');
+    set(handles.YScaleLinear1,'Checked','Off');
+    drawnow;
+else
+    fprintf('   Log scale not allowed for bar graphs\n');
+end
+
+% --------------------------------------------------------------------
+function YScaleLinear1_Callback(hObject, eventdata, handles)
+set(handles.Graph1,'YScale','Linear');
+set(handles.YScaleLog1,'Checked','Off');
+set(handles.YScaleLinear1,'Checked','On');
+drawnow;
+
+
+% --------------------------------------------------------------------
+function YScaleLog2_Callback(hObject, eventdata, handles)
+if ~strcmpi(get(handles.Graph2Bar,'Checked'),'On')
+    set(handles.Graph2,'YScale','Log');
+    set(handles.YScaleLog2,'Checked','On');
+    set(handles.YScaleLinear2,'Checked','Off');
+    drawnow;
+else
+    fprintf('   Log scale not allowed for bar graphs\n');
+end
+
+% --------------------------------------------------------------------
+function YScaleLinear2_Callback(hObject, eventdata, handles)
+set(handles.Graph2,'YScale','Linear');
+set(handles.YScaleLog2,'Checked','Off');
+set(handles.YScaleLinear2,'Checked','On');
+drawnow;
+
+
+% --------------------------------------------------------------------
+function DataStruct = CreateListboxString(DataStruct)
+%DataStruct.ListBoxString = strcat(family2common(DataStruct.FamilyName, DataStruct.DeviceList),'=');
+DataStruct.ListBoxString = [];
+for i = 1:size(DataStruct.DeviceList,1)
+    DataStruct.ListBoxString = strvcat(DataStruct.ListBoxString, sprintf('%s(%d,%d) = ', DataStruct.FamilyName, DataStruct.DeviceList(i,1), DataStruct.DeviceList(i,2)));
+end
+
+% --------------------------------------------------------------------
+function BPMxFamily_Callback(hObject, eventdata, handles)
+UnitMenu = getappdata(handles.figure1,'UnitsFlag');
+if UnitMenu == 1
+    UnitsFlag = 'Physics';
+else
+    UnitsFlag = 'Hardware';
+end
+
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    Mode = 'Simulator';
+else
+    Mode = 'Online';
+end
+
+if isempty(hObject)
+    close(gcbf);
+    error('PLOTFAMILY:  Menu corrupted, restart application.');
+else
+    DataStruct = get(hObject, 'UserData');
+end
+
+% Rebuild the data structure in case a status field was changed
+DataStruct = family2datastruct(DataStruct.FamilyName, DataStruct.Field);
+
+if isfamily(DataStruct)
+    % Create the list box string
+    DataStruct = CreateListboxString(DataStruct);
+
+    setappdata(handles.figure1, 'BPMxFamily', DataStruct);
+
+    s = getspos(DataStruct);
+    setappdata(handles.figure1, 'SPosX', s);
+
+    %L = getfamilydata('Circumference');
+    %if isempty(L)
+    %    setappdata(handles.figure1, 'AxisRange1X', [min(s) max(s)]);
+    %else
+    %    setappdata(handles.figure1, 'AxisRange1X', [0 L]);
+    %end
+
+    ZeroData = DataStruct;
+    ZeroData.Data = zeros(size(DataStruct.Data,1),1);
+
+    % Menu label
+    set(handles.BPMxFamily,'Label',sprintf('Plot: %s.%s', DataStruct.FamilyName, DataStruct.Field));
+
+    setappdata(handles.figure1,'SaveX', ZeroData);
+    tmp = getappdata(handles.figure1,'SaveY');
+    tmp.Data = 0 * tmp.Data;
+    setappdata(handles.figure1,'SaveY', tmp);
+    set(handles.SaveTime,'String', 'Not saved');
+
+    %     % Look for the golden values
+    %     try
+    %         if strcmpi(DataStruct.Field,'Monitor')
+    %             % Use the golden setpoint
+    %             GoldenValues = getgolden(DataStruct.FamilyName, DataStruct.DeviceList, 'Setpoint', UnitsFlag, 'Struct');
+    %         else
+    %             GoldenValues = getgolden(DataStruct, UnitsFlag, 'Struct');
+    %         end
+    %         setappdata(handles.figure1, 'GoldenX', GoldenValues);
+    %     catch
+    %         setappdata(handles.figure1, 'GoldenX', ZeroData);
+    %     end
+    %
+    %     % Look for the offset values
+    %     try
+    %         OffsetValues = getoffset(DataStruct, UnitsFlag, 'Struct');
+    %         setappdata(handles.figure1, 'OffsetX', OffsetValues);
+    %     catch
+    %         try
+    %             % If and offset does not exist than try using the setpoint
+    %             setappdata(handles.figure1, 'OffsetX', getsp(DataStruct.FamilyName, DataStruct.DeviceList, Mode, UnitsFlag, 'Struct'));
+    %         catch
+    %             % Use zeros
+    %             setappdata(handles.figure1, 'OffsetX', ZeroData);
+    %         end
+    %     end
+    try
+        FileName = getappdata(handles.figure1, 'FileNameX');
+        if isempty(FileName)
+            FileName = getappdata(handles.figure1, 'FileNameY');
+        end
+    catch
+    end
+
+    try
+        FileName = getappdata(handles.figure1, 'FileNameX');
+        if isempty(FileName)
+            setappdata(handles.figure1,'FileX', ZeroData);
+        else
+            tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, 'Struct');
+            if UnitMenu == 1 && strcmpi(tmp.Units,'Hardware')
+                % Physics units requested, data is in Hardware units
+                tmp = hw2physics(tmp);
+            else
+                % Hardware units requested, data is in Physics units
+                tmp = physics2hw(tmp);
+            end
+            setappdata(handles.figure1,'FileX', tmp);
+            setappdata(handles.figure1,'FileNameX', FileName);
+        end
+    catch
+        setappdata(handles.figure1,'FileX', ZeroData);
+        setappdata(handles.figure1,'FileNameX','');
+    end
+
+    try
+        FileName = getappdata(handles.figure1, 'FileNameX2');
+        if isempty(FileName)
+            FileName = getappdata(handles.figure1, 'FileNameY2');
+        end
+    catch
+    end
+
+    try
+        FileName = getappdata(handles.figure1, 'FileNameX2');
+        if isempty(FileName)
+            setappdata(handles.figure1,'FileX2', ZeroData);
+        else
+            tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, 'Struct');
+            if UnitMenu == 1 && strcmpi(tmp.Units,'Hardware')
+                % Physics units requested, data is in Hardware units
+                tmp = hw2physics(tmp);
+            else
+                % Hardware units requested, data is in Physics units
+                tmp = physics2hw(tmp);
+            end
+            setappdata(handles.figure1,'FileX2', tmp);
+            setappdata(handles.figure1,'FileNameX2', FileName);
+        end
+    catch
+        setappdata(handles.figure1,'FileX2', ZeroData);
+        setappdata(handles.figure1,'FileNameX2','');
+    end
+
+    % Make sure the scale is linear for bar plots
+    if strcmpi(get(handles.Graph1Bar,'Checked'),'On')
+        set(handles.Graph1,'YScale','Linear');
+        set(handles.YScaleLog1,'Checked','Off');
+        set(handles.YScaleLinear1,'Checked','On');
+    end
+
+    set(handles.DataList1,'Value', 1);
+    set(handles.DataList1,'ListBoxTop', 1);
+    UpdateFileDisplayLocal(handles);
+    OneShot_Callback(hObject, eventdata, handles);
+
+    % Auto scale y-axis
+    % AutoScaleYLocal(handles);
+    a = axis(handles.Graph1);
+    axis(handles.Graph1, 'auto');
+    set(handles.Graph1, 'XLim', a(1:2));
+
+else
+    fprintf('   %s is not a known family\n', DataStruct.FamilyName);
+end
+
+
+% --------------------------------------------------------------------
+function BPMyFamily_Callback(hObject, eventdata, handles)
+UnitMenu = getappdata(handles.figure1,'UnitsFlag');
+if UnitMenu == 1
+    UnitsFlag = 'Physics';
+else
+    UnitsFlag = 'Hardware';
+end
+
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    Mode = 'Simulator';
+else
+    Mode = 'Online';
+end
+
+if isempty(hObject)
+    close(gcbf);
+    error('PLOTFAMILY:  Menu corrupted, restart application.');
+else
+    DataStruct = get(hObject, 'UserData');
+end
+
+% Rebuild the data structure in case a status field was changed
+DataStruct = family2datastruct(DataStruct.FamilyName, DataStruct.Field);
+
+if isfamily(DataStruct)
+     % Create the list box string
+    DataStruct = CreateListboxString(DataStruct);
+
+    setappdata(handles.figure1, 'BPMyFamily', DataStruct);
+
+    s = getspos(DataStruct);
+    setappdata(handles.figure1, 'SPosY', s);
+    %L = getfamilydata('Circumference');
+    %if isempty(L)
+    %    setappdata(handles.figure1, 'AxisRange2X', [min(s) max(s)]);
+    %else
+    %    setappdata(handles.figure1, 'AxisRange2X', [0 L]);
+    %end
+
+    ZeroData = DataStruct;
+    ZeroData.Data = zeros(size(DataStruct.Data,1),1);
+
+    % Menu label
+    set(handles.BPMyFamily,'Label',sprintf('Plot: %s.%s', DataStruct.FamilyName, DataStruct.Field));
+
+    setappdata(handles.figure1,'SaveY', ZeroData);
+    tmp = getappdata(handles.figure1,'SaveX');
+    tmp.Data = 0 * tmp.Data;
+    setappdata(handles.figure1,'SaveX', tmp);
+    set(handles.SaveTime,'String', '');
+
+    %     % Look for the golden values
+    %     try
+    %         if strcmpi(DataStruct.Field,'Monitor')
+    %             % Use the golden setpoint
+    %             GoldenValues = getgolden(DataStruct.FamilyName, DataStruct.DeviceList, 'Setpoint', UnitsFlag, 'Struct');
+    %         else
+    %             GoldenValues = getgolden(DataStruct, UnitsFlag, 'Struct');
+    %         end
+    %         setappdata(handles.figure1,'GoldenY', GoldenValues);
+    %     catch
+    %         setappdata(handles.figure1, 'GoldenY', ZeroData);
+    %     end
+    %
+    %     % Look for the offset values
+    %     try
+    %         OffsetValues = getoffset(DataStruct, UnitsFlag, 'Struct');
+    %         setappdata(handles.figure1,'OffsetY', OffsetValues);
+    %     catch
+    %         try
+    %             % If and offset does not exist than try using the setpoint
+    %             setappdata(handles.figure1, 'OffsetY', getsp(DataStruct.FamilyName, DataStruct.DeviceList, Mode, UnitsFlag, 'Struct'));
+    %         catch
+    %             % Use zeros
+    %             setappdata(handles.figure1, 'OffsetY', ZeroData);
+    %         end
+    %     end
+
+    % Look for file data
+    try
+        FileName = getappdata(handles.figure1, 'FileNameY');
+        if isempty(FileName)
+            FileName = getappdata(handles.figure1, 'FileNameX');
+        end
+    catch
+    end
+
+    % Look for file data
+    try
+        FileName = getappdata(handles.figure1, 'FileNameX');
+        if isempty(FileName)
+            setappdata(handles.figure1, 'FileY', ZeroData);
+        else
+            tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, 'Struct');
+            if UnitMenu == 1 && strcmpi(tmp.Units,'Hardware')
+                % Physics units requested, data is in Hardware units
+                tmp = hw2physics(tmp);
+            else
+                % Hardware units requested, data is in Physics units
+                tmp = physics2hw(tmp);
+            end
+            setappdata(handles.figure1, 'FileY', tmp);
+            setappdata(handles.figure1, 'FileNameY', FileName);
+        end
+    catch
+        setappdata(handles.figure1, 'FileY', ZeroData);
+        setappdata(handles.figure1, 'FileNameY','');
+    end
+
+    try
+        FileName = getappdata(handles.figure1, 'FileNameY2');
+        if isempty(FileName)
+            FileName = getappdata(handles.figure1, 'FileNameX2');
+        end
+    catch
+    end
+
+    % Look for file data
+    try
+        FileName = getappdata(handles.figure1, 'FileNameX2');
+        if isempty(FileName)
+            setappdata(handles.figure1, 'FileY2', ZeroData);
+        else
+            tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, 'Struct');
+            if UnitMenu == 1 && strcmpi(tmp.Units,'Hardware')
+                % Physics units requested, data is in Hardware units
+                tmp = hw2physics(tmp);
+            else
+                % Hardware units requested, data is in Physics units
+                tmp = physics2hw(tmp);
+            end
+            setappdata(handles.figure1, 'FileY2', tmp);
+            setappdata(handles.figure1, 'FileNameY2', FileName);
+        end
+    catch
+        setappdata(handles.figure1, 'FileY2', ZeroData);
+        setappdata(handles.figure1, 'FileNameY2','');
+    end
+    
+    % Make sure the scale is linear for bar plots
+    if strcmpi(get(handles.Graph2Bar,'Checked'),'On')
+        set(handles.Graph2,'YScale','Linear');
+        set(handles.YScaleLog2,'Checked','Off');
+        set(handles.YScaleLinear2,'Checked','On');
+    end
+
+    set(handles.DataList2, 'Value', 1);
+    set(handles.DataList2, 'ListBoxTop', 1);
+    UpdateFileDisplayLocal(handles);
+    OneShot_Callback(hObject, eventdata, handles);
+
+    % Auto scale y-axis
+    % AutoScaleYLocal(handles);
+    a = axis(handles.Graph2);
+    axis(handles.Graph2, 'auto');
+    set(handles.Graph2, 'XLim', a(1:2));
+else
+    fprintf('   %s is not a known family\n', DataStruct.FamilyName);
+end
+
+
+% --------------------------------------------------------------------
+function BPMxList_Callback(hObject, eventdata, handles)
+UnitMenu = getappdata(handles.figure1,'UnitsFlag');
+if UnitMenu == 1
+    UnitsFlag = 'Physics';
+else
+    UnitsFlag = 'Hardware';
+end
+
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    Mode = 'Simulator';
+else
+    Mode = 'Online';
+end
+
+%% Build List display
+DataStruct = getappdata(handles.figure1, 'BPMxFamily');
+Family = DataStruct.FamilyName;
+List = DataStruct.DeviceList;
+FullList = family2dev(Family);    % Include bad status
+CheckList = zeros(size(FullList,1),1);
+i = findrowindex(List, FullList); % Find all selected Devices
+CheckList(i) = 1;
+List = editlist(FullList, Family, CheckList);
+
+DataStruct.Data = NaN * ones(size(List,1),1);  %DataStruct.Data(i);
+DataStruct.DeviceList = List;
+DataStruct.Status = ones(size(List,1),1);
+
+% Create the list box string
+DataStruct = CreateListboxString(DataStruct);
+
+
+setappdata(handles.figure1, 'BPMxFamily', DataStruct);
+
+s = getspos(DataStruct);
+setappdata(handles.figure1, 'SPosX', s);
+
+ZeroData = DataStruct;
+ZeroData.Data = zeros(size(DataStruct.Data,1),1);
+
+% % Look for the golden values
+% try
+%     if strcmpi(DataStruct.Field,'Monitor')
+%         % Use the golden setpoint
+%         GoldenValues = getgolden(DataStruct.FamilyName, DataStruct.DeviceList, 'Setpoint', UnitsFlag, 'Struct');
+%     else
+%         GoldenValues = getgolden(DataStruct, UnitsFlag, 'Struct');
+%     end
+%     setappdata(handles.figure1, 'GoldenX', GoldenValues);
+% catch
+%     setappdata(handles.figure1, 'GoldenX', ZeroData);
+% end
+%
+% % Look for the offset values
+% try
+%     OffsetValues = getoffset(DataStruct, UnitsFlag, 'Struct');
+%     setappdata(handles.figure1,'OffsetX', OffsetValues);
+% catch
+%     try
+%         % If and offset does not exist than try using the setpoint
+%         setappdata(handles.figure1, 'OffsetX', getsp(DataStruct.FamilyName, DataStruct.DeviceList, Mode, UnitsFlag, 'Struct'));
+%     catch
+%         % Use zeros
+%         setappdata(handles.figure1, 'OffsetX', ZeroData);
+%     end
+% end
+
+
+% Changing the list wipes out a save
+setappdata(handles.figure1,'SaveX', ZeroData);
+tmp = getappdata(handles.figure1,'SaveY');
+tmp.Data = 0 * tmp.Data;
+setappdata(handles.figure1,'SaveY', tmp);
+set(handles.SaveTime,'String', 'Data not saved');
+
+try
+    FileName = getappdata(handles.figure1, 'FileNameX');
+    if isempty(FileName)
+        FileName = getappdata(handles.figure1, 'FileNameY');
+    end
+    if isempty(FileName)
+        setappdata(handles.figure1,'FileX', ZeroData);
+    else
+        tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, 'Struct');
+        if UnitMenu == 1 && strcmpi(tmp.Units,'Hardware')
+            % Physics units requested, data is in Hardware units
+            tmp = hw2physics(tmp);
+        else
+            % Hardware units requested, data is in Physics units
+            tmp = physics2hw(tmp);
+        end
+        setappdata(handles.figure1,'FileX', tmp);
+        setappdata(handles.figure1,'FileNameX', FileName);
+    end
+catch
+    setappdata(handles.figure1,'FileX', ZeroData);
+    setappdata(handles.figure1,'FileNameX','');
+end
+
+set(handles.DataList1,'Value', 1);
+set(handles.DataList1,'ListBoxTop', 1);
+UpdateFileDisplayLocal(handles);
+cla(handles.Graph1);
+OneShot_Callback(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function BPMyList_Callback(hObject, eventdata, handles)
+UnitMenu = getappdata(handles.figure1,'UnitsFlag');
+if UnitMenu == 1
+    UnitsFlag = 'Physics';
+else
+    UnitsFlag = 'Hardware';
+end
+
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    Mode = 'Simulator';
+else
+    Mode = 'Online';
+end
+
+%% Build List display
+DataStruct = getappdata(handles.figure1, 'BPMyFamily');
+Family = DataStruct.FamilyName;
+List = DataStruct.DeviceList;
+FullList = family2dev(Family);    % Include bad status
+CheckList = zeros(size(FullList,1),1);
+i = findrowindex(List, FullList); % Find all selected Devices
+CheckList(i) = 1;
+List = editlist(FullList, Family, CheckList);
+
+DataStruct.Data = NaN * ones(size(List,1),1);  %DataStruct.Data(i);
+DataStruct.DeviceList = List;
+DataStruct.Status = ones(size(List,1),1);
+%DataStruct.Data = DataStruct.Data(i);
+
+% Create the list box string
+DataStruct = CreateListboxString(DataStruct);
+
+setappdata(handles.figure1, 'BPMyFamily', DataStruct);
+
+s = getspos(DataStruct);
+setappdata(handles.figure1, 'SPosY', s);
+
+ZeroData = DataStruct;
+ZeroData.Data = zeros(size(DataStruct.Data,1),1);
+
+
+% % Look for the golden values
+% try
+%     if strcmpi(DataStruct.Field,'Monitor')
+%         % Use the golden setpoint
+%         GoldenValues = getgolden(DataStruct.FamilyName, DataStruct.DeviceList, 'Setpoint', UnitsFlag, 'Struct');
+%     else
+%         GoldenValues = getgolden(DataStruct, UnitsFlag, 'Struct');
+%     end
+%     setappdata(handles.figure1, 'GoldenY', GoldenValues);
+% catch
+%     setappdata(handles.figure1, 'GoldenY', ZeroData);
+% end
+%
+%
+% % Look for the offset values
+% try
+%     OffsetValues = getoffset(DataStruct, UnitsFlag, 'Struct');
+%     setappdata(handles.figure1,'OffsetY', OffsetValues);
+% catch
+%     try
+%         % If and offset does not exist than try using the setpoint
+%         setappdata(handles.figure1, 'OffsetY', getsp(DataStruct.FamilyName, DataStruct.DeviceList, Mode, UnitsFlag, 'Struct'));
+%     catch
+%         % Use zeros
+%         setappdata(handles.figure1, 'OffsetY', ZeroData);
+%     end
+% end
+
+
+% Changing the list wipes out a save
+setappdata(handles.figure1,'SaveY', ZeroData);
+tmp = getappdata(handles.figure1,'SaveX');
+tmp.Data = 0 * tmp.Data;
+setappdata(handles.figure1,'SaveX', tmp);
+set(handles.SaveTime, 'String', 'Data not saved');
+
+try
+    FileName = getappdata(handles.figure1, 'FileNameY');
+    if isempty(FileName)
+        FileName = getappdata(handles.figure1, 'FileNameX');
+    end
+    if isempty(FileName)
+        setappdata(handles.figure1,'FileY', ZeroData);
+    else
+        tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, 'Struct');
+        if UnitMenu == 1 && strcmpi(tmp.Units,'Hardware')
+            % Physics units requested, data is in Hardware units
+            tmp = hw2physics(tmp);
+        else
+            % Hardware units requested, data is in Physics units
+            tmp = physics2hw(tmp);
+        end
+        setappdata(handles.figure1,'FileY', tmp);
+        setappdata(handles.figure1,'FileNameY', FileName);
+    end
+catch
+    setappdata(handles.figure1,'FileY', ZeroData);
+    setappdata(handles.figure1,'FileNameY','');
+end
+
+set(handles.DataList2,'Value', 1);
+set(handles.DataList2,'ListBoxTop', 1);
+UpdateFileDisplayLocal(handles);
+cla(handles.Graph2);
+OneShot_Callback(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function UpdatePeriod_Callback(hObject, eventdata, handles)
+answer = inputdlg('Enter new update period [seconds]','',1,{num2str(getappdata(handles.figure1, 'UpdatePeriod'))});
+if ~isempty(answer)
+    UpdatePeriod = str2num(answer{1});
+    if ~isempty(UpdatePeriod) && UpdatePeriod >= 0
+        if UpdatePeriod > 10
+            UpdatePeriod = 10;
+        end
+        set(handles.UpdatePeriod,'Label', sprintf('Update Period = %.2f sec',UpdatePeriod));
+        setappdata(handles.figure1, 'UpdatePeriod', UpdatePeriod);
+    end
+end
+
+% --------------------------------------------------------------------
+function PhysicsUnits_Callback(hObject, eventdata, handles)
+UnitMenu = 1;
+setappdata(handles.figure1,'UnitsFlag', UnitMenu);
+set(handles.PhysicsUnitsFlag,'Checked','On');
+set(handles.HardwareUnitsFlag,'Checked','Off');
+set(handles.MicronFlag,'Checked','Off');
+
+RawX = getappdata(handles.figure1, 'RawX');
+RawY = getappdata(handles.figure1, 'RawY');
+
+if strcmpi(RawX.Units,'Hardware')
+    % Physics units requested, data is in Hardware units
+    setappdata(handles.figure1, 'RawX', hw2physics(RawX));
+    setappdata(handles.figure1, 'RawY', hw2physics(RawY));
+
+    %     setappdata(handles.figure1, 'OffsetX', hw2physics(getappdata(handles.figure1,'OffsetX')));
+    %     setappdata(handles.figure1, 'OffsetY', hw2physics(getappdata(handles.figure1,'OffsetY')));
+    %
+    %     setappdata(handles.figure1, 'GoldenX', hw2physics(getappdata(handles.figure1,'GoldenX')));
+    %     setappdata(handles.figure1, 'GoldenY', hw2physics(getappdata(handles.figure1,'GoldenY')));
+
+    setappdata(handles.figure1, 'SaveX', hw2physics(getappdata(handles.figure1,'SaveX')));
+    setappdata(handles.figure1, 'SaveY', hw2physics(getappdata(handles.figure1,'SaveY')));
+
+    setappdata(handles.figure1, 'FileX', hw2physics(getappdata(handles.figure1,'FileX')));
+    setappdata(handles.figure1, 'FileY', hw2physics(getappdata(handles.figure1,'FileY')));
+    setappdata(handles.figure1, 'FileX2', hw2physics(getappdata(handles.figure1,'FileX2')));
+    setappdata(handles.figure1, 'FileY2', hw2physics(getappdata(handles.figure1,'FileY2')));
+end
+
+DataStruct1 = getappdata(handles.figure1, 'BPMxFamily');
+if strcmpi(DataStruct1.Units,'Hardware')
+    % Physics units requested, data is in Hardware units
+    setappdata(handles.figure1, 'BPMxFamily', hw2physics(DataStruct1));
+end
+
+DataStruct2 = getappdata(handles.figure1, 'BPMyFamily');
+if strcmpi(DataStruct2.Units,'Hardware')
+    % Physics units requested, data is in Hardware units
+    setappdata(handles.figure1, 'BPMyFamily', hw2physics(DataStruct2));
+end
+
+plotappdatalocal(handles);
+AutoScaleYLocal(handles);
+
+% Turn off the setpoint GUI (or change it to physics units)
+TurnOffSetpointGUI_Callback(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function HardwareUnits_Callback(hObject, eventdata, handles)
+UnitMenu = 2;
+setappdata(handles.figure1,'UnitsFlag', UnitMenu);
+set(handles.PhysicsUnitsFlag,'Checked','Off');
+set(handles.HardwareUnitsFlag,'Checked','On');
+set(handles.MicronFlag,'Checked','Off');
+
+RawX = getappdata(handles.figure1, 'RawX');
+RawY = getappdata(handles.figure1, 'RawY');
+
+if strcmpi(RawX.Units,'Physics')
+    % Hardware units requested, data is in Physics units
+    setappdata(handles.figure1, 'RawX', physics2hw(RawX));
+    setappdata(handles.figure1, 'RawY', physics2hw(RawY));
+
+    %     setappdata(handles.figure1, 'OffsetX', physics2hw(getappdata(handles.figure1,'OffsetX')));
+    %     setappdata(handles.figure1, 'OffsetY', physics2hw(getappdata(handles.figure1,'OffsetY')));
+    %
+    %     setappdata(handles.figure1, 'GoldenX', physics2hw(getappdata(handles.figure1,'GoldenX')));
+    %     setappdata(handles.figure1, 'GoldenY', physics2hw(getappdata(handles.figure1,'GoldenY')));
+
+    setappdata(handles.figure1, 'SaveX', physics2hw(getappdata(handles.figure1,'SaveX')));
+    setappdata(handles.figure1, 'SaveY', physics2hw(getappdata(handles.figure1,'SaveY')));
+
+    setappdata(handles.figure1, 'FileX', physics2hw(getappdata(handles.figure1,'FileX')));
+    setappdata(handles.figure1, 'FileY', physics2hw(getappdata(handles.figure1,'FileY')));
+    setappdata(handles.figure1, 'FileX2', physics2hw(getappdata(handles.figure1,'FileX2')));
+    setappdata(handles.figure1, 'FileY2', physics2hw(getappdata(handles.figure1,'FileY2')));
+end
+
+DataStruct1 = getappdata(handles.figure1, 'BPMxFamily');
+if strcmpi(DataStruct1.Units,'Physics')
+    % Hardware units requested, data is in Physics units
+    setappdata(handles.figure1, 'BPMxFamily', physics2hw(DataStruct1));
+end
+
+DataStruct2 = getappdata(handles.figure1, 'BPMyFamily');
+if strcmpi(DataStruct2.Units,'Physics')
+    % Hardware units requested, data is in Physics units
+    setappdata(handles.figure1, 'BPMyFamily', physics2hw(DataStruct2));
+end
+
+plotappdatalocal(handles);
+AutoScaleYLocal(handles);
+
+% Turn off the setpoint GUI (or change it to physics units)
+TurnOffSetpointGUI_Callback(hObject, eventdata, handles);
+
+drawnow;
+
+% --------------------------------------------------------------------
+function MicronFlag_Callback(hObject, eventdata, handles)
+UnitMenu = 3;
+setappdata(handles.figure1,'UnitsFlag', UnitMenu);
+set(handles.PhysicsUnitsFlag,'Checked','Off');
+set(handles.HardwareUnitsFlag,'Checked','Off');
+set(handles.MicronFlag,'Checked','On');
+
+RawX = getappdata(handles.figure1, 'RawX');
+RawY = getappdata(handles.figure1, 'RawY');
+
+if strcmpi(RawX.Units,'Physics')
+    % Hardware units requested, data is in Physics units
+    setappdata(handles.figure1, 'RawX', physics2hw(RawX));
+    setappdata(handles.figure1, 'RawY', physics2hw(RawY));
+
+    %     setappdata(handles.figure1, 'OffsetX', physics2hw(getappdata(handles.figure1,'OffsetX')));
+    %     setappdata(handles.figure1, 'OffsetY', physics2hw(getappdata(handles.figure1,'OffsetY')));
+    %
+    %     setappdata(handles.figure1, 'GoldenX', physics2hw(getappdata(handles.figure1,'GoldenX')));
+    %     setappdata(handles.figure1, 'GoldenY', physics2hw(getappdata(handles.figure1,'GoldenY')));
+
+    setappdata(handles.figure1, 'SaveX', physics2hw(getappdata(handles.figure1,'SaveX')));
+    setappdata(handles.figure1, 'SaveY', physics2hw(getappdata(handles.figure1,'SaveY')));
+
+    setappdata(handles.figure1, 'FileX', physics2hw(getappdata(handles.figure1,'FileX')));
+    setappdata(handles.figure1, 'FileY', physics2hw(getappdata(handles.figure1,'FileY')));
+    setappdata(handles.figure1, 'FileX2', physics2hw(getappdata(handles.figure1,'FileX2')));
+    setappdata(handles.figure1, 'FileY2', physics2hw(getappdata(handles.figure1,'FileY2')));
+end
+
+DataStruct1 = getappdata(handles.figure1, 'BPMxFamily');
+if strcmpi(DataStruct1.Units,'Physics')
+    % Hardware units requested, data is in Physics units
+    setappdata(handles.figure1, 'BPMxFamily', physics2hw(DataStruct1));
+end
+
+DataStruct2 = getappdata(handles.figure1, 'BPMyFamily');
+if strcmpi(DataStruct2.Units,'Physics')
+    % Hardware units requested, data is in Physics units
+    setappdata(handles.figure1, 'BPMyFamily', physics2hw(DataStruct2));
+end
+
+plotappdatalocal(handles);
+AutoScaleYLocal(handles);
+drawnow;
+
+
+% --------------------------------------------------------------------
+function SaveOrbitToFile_Callback(hObject, eventdata, handles)
+
+Data1 = getappdata(handles.figure1, 'RawX');
+Data2 = getappdata(handles.figure1, 'RawY');
+
+if isfield(Data1,'TimeStamp')
+    DirStart = pwd;
+
+    FamilyName1 = Data1.FamilyName;
+    FamilyName2 = Data2.FamilyName;
+    if strcmpi(FamilyName1, FamilyName2)
+        FileName = appendtimestamp(FamilyName1, Data1.TimeStamp);
+    else
+        FileName = appendtimestamp([FamilyName1,'_',FamilyName2], Data1.TimeStamp);
+    end
+
+    % soleil specific
+    if any(strcmp(FamilyName1,'BPMx')) && any(strcmp(FamilyName2,'BPMz'))
+        DirectoryName = getfamilydata('Directory','BeamUser');
+    else
+        DirectoryName = getfamilydata('Directory','BPMData');
+    end
+    % soleil specific
+
+    [FileName, DirectoryName] = uiputfile('*.mat', 'Select File (Cancel to not save to a file)', [DirectoryName FileName, '.mat']);
+    if FileName == 0
+        disp('   No data saved');
+        return
+    end
+
+    [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+    save(FileName, 'Data1', 'Data2');
+    cd(DirStart);
+    fprintf('   Data saved to %s\n', [DirectoryName FileName]);
+else
+    fprintf('   No data to save \n');
+end
+
+
+% --------------------------------------------------------------------
+function Online_Callback(hObject, eventdata, handles)
+set(handles.Online,  'Checked','On');
+set(handles.Simulate,'Checked','Off');
+SetFigureTitle(handles.figure1, 'Online');
+%switch2online;
+OneShot_Callback(hObject, eventdata, handles);
+plotappdatalocal(handles);
+
+% --------------------------------------------------------------------
+function Simulate_Callback(hObject, eventdata, handles)
+set(handles.Online,  'Checked','Off');
+set(handles.Simulate,'Checked','On');
+SetFigureTitle(handles.figure1, 'Model');
+%switch2sim;
+OneShot_Callback(hObject, eventdata, handles);
+plotappdatalocal(handles);
+
+% --------------------------------------------------------------------
+function Sim2Machine_Callback(hObject, eventdata, handles)
+sim2machine;
+OneShot_Callback(hObject, eventdata, handles);
+plotappdatalocal(handles);
+
+% --------------------------------------------------------------------
+function Machine2Sim_Callback(hObject, eventdata, handles)
+machine2sim;
+OneShot_Callback(hObject, eventdata, handles);
+plotappdatalocal(handles);
+
+
+% --------------------------------------------------------------------
+function HorizontalAxesScaling(hObject, eventdata, handles)
+% Graph 1, 2, 3, & 4 axes scaling
+py = 0.74;
+p1 = get(handles.Graph1,'Position');
+p2 = get(handles.Graph2,'Position');
+p3 = get(handles.Graph3,'Position');
+p4 = get(handles.Graph4,'Position');
+pa = get(handles.LatticeAxes,'Position');
+if strcmpi(get(handles.AddPlot1_Nothing,'Checked'),'Off') || strcmpi(get(handles.AddPlot2_Nothing,'Checked'),'Off')
+    py = py*.93;
+end
+set(handles.Graph1,     'Position', [p1(1) p1(2) py p1(4)]);
+set(handles.Graph2,     'Position', [p2(1) p2(2) py p2(4)]);
+set(handles.Graph3,     'Position', [p3(1) p3(2) py p3(4)]);
+set(handles.Graph4,     'Position', [p4(1) p4(2) py p4(4)]);
+set(handles.LatticeAxes,'Position', [pa(1) pa(2) py pa(4)]);
+
+plotappdatalocal(handles);
+
+
+% --------------------------------------------------------------------
+function AddPlot_Nothing_Callback(hObject, eventdata, handles)
+
+hp = get(hObject, 'Parent');
+hp = get(hp, 'Parent');
+if strcmp(get(hp,'Label'),'Graph #1')
+    plot(handles.Graph3, NaN, NaN)
+    set(handles.Graph3,'Visible','Off');
+    set(handles.Graph3,'color','none');
+    set(handles.AddPlot1_Nothing,'Checked','On');
+    set(handles.AddPlot1_BetaX,'Checked','Off');
+    set(handles.AddPlot1_BetaY,'Checked','Off');
+    set(handles.AddPlot1_DispX,'Checked','Off');
+    set(handles.AddPlot1_DispY,'Checked','Off');
+else
+    plot(handles.Graph4, NaN, NaN)
+    set(handles.Graph4,'Visible','Off');
+    set(handles.Graph4,'color','none');
+    set(handles.AddPlot2_Nothing,'Checked','On');
+    set(handles.AddPlot2_BetaX,'Checked','Off');
+    set(handles.AddPlot2_BetaY,'Checked','Off');
+    set(handles.AddPlot2_DispX,'Checked','Off');
+    set(handles.AddPlot2_DispY,'Checked','Off');
+end
+
+HorizontalAxesScaling(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function AddPlot_Beta_Callback(hObject, eventdata, handles)
+% Plot Beta
+LineColor = [0 .5 0];
+
+hp = get(hObject,'Parent');
+hp = get(hp,'Parent');
+hp = get(hp,'Parent');
+if strcmp(get(hp,'Label'),'Graph #1')
+    hAxes = handles.Graph3;
+else
+    hAxes = handles.Graph4;
+end
+[BetaX, BetaY, Sx, Sy] = modelbeta('All','All');
+if strcmp(get(hObject,'Label'),'Horizontal')
+    plot(hAxes, Sx, BetaX, 'Color',LineColor);
+    ylabel(hAxes, '{\it\beta_x} [meters]', 'Color',LineColor);
+else
+    plot(hAxes, Sy, BetaY, 'Color',LineColor);
+    ylabel(hAxes, '{\it\beta_y} [meters]', 'Color',LineColor);
+end
+
+if strcmp(get(hp,'Label'),'Graph #1')
+    AxisRangeX = getappdata(handles.figure1, 'AxisRange1X');
+else
+    AxisRangeX = getappdata(handles.figure1, 'AxisRange2X');
+end
+
+axis(hAxes, 'auto');
+a = axis(hAxes);        
+del = a(4) - a(3);
+axis(hAxes, [AxisRangeX(1) AxisRangeX(2) a(3)-.4*del a(4)+.4*del]);
+AutoScaleVertical(hAxes, .77);
+
+% Set axes defaults
+set(hAxes, 'Color', 'none');
+set(hAxes, 'Visible', 'On');  % Off to hide axis
+set(hAxes, 'YAxisLocation', 'Right');
+set(hAxes, 'XGrid', 'Off');
+set(hAxes, 'YGrid', 'Off');
+set(hAxes, 'XMinorGrid', 'Off');
+set(hAxes, 'YMinorGrid', 'Off');
+set(hAxes, 'YMinorTick', 'Off');
+set(hAxes, 'XMinorTick', 'Off');
+set(hAxes, 'XAxisLocation', 'Bottom');
+set(hAxes, 'XTickLabel', '');
+% set(hAxes, 'YTickLabel', []);
+% set(hAxes, 'XTick', []);
+% set(hAxes, 'YTick', []);
+
+YTick = get(handles.Graph1, 'YTick');
+
+
+if strcmp(get(hp,'Label'),'Graph #1')
+    set(handles.AddPlot1_Nothing,'Checked','Off');
+    if strcmp(get(hObject,'Label'),'Horizontal')
+        set(handles.AddPlot1_BetaX,'Checked','On');
+        set(handles.AddPlot1_BetaY,'Checked','Off');
+    else
+        set(handles.AddPlot1_BetaX,'Checked','Off');
+        set(handles.AddPlot1_BetaY,'Checked','On');
+    end
+    set(handles.AddPlot1_DispX,'Checked','Off');
+    set(handles.AddPlot1_DispY,'Checked','Off');
+    
+    set(hAxes ,'ButtonDownFcn','plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))');
+    h = get(hAxes,'Children');
+    for i = 1:length(h)
+        set(h(i) ,'ButtonDownFcn','plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))');
+    end
+else
+    set(handles.AddPlot2_Nothing,'Checked','Off');
+    if strcmp(get(hObject,'Label'),'Horizontal')
+        set(handles.AddPlot2_BetaX,'Checked','On');
+        set(handles.AddPlot2_BetaY,'Checked','Off');
+    else
+        set(handles.AddPlot2_BetaX,'Checked','Off');
+        set(handles.AddPlot2_BetaY,'Checked','On');
+    end
+    set(handles.AddPlot2_DispX,'Checked','Off');
+    set(handles.AddPlot2_DispY,'Checked','Off');
+    
+    set(hAxes ,'ButtonDownFcn','plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))');
+    h = get(hAxes,'Children');
+    for i = 1:length(h)
+        set(h(i) ,'ButtonDownFcn','plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))');
+    end
+end
+
+HorizontalAxesScaling(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function AddPlot_Dispersion_Callback(hObject, eventdata, handles)
+% Plot dispersion in physics units
+LineColor = [0 .5 0];
+
+hp = get(hObject,'Parent');
+hp = get(hp,'Parent');
+hp = get(hp,'Parent');
+
+if strcmp(get(hp,'Label'),'Graph #1')
+    hAxes = handles.Graph3;
+else
+    hAxes = handles.Graph4;
+end
+
+[DispX, DispY, Sx, Sy] = modeldisp('All','All','Physics');
+if strcmp(get(hObject,'Label'),'Horizontal')
+    plot(hAxes, Sx, 100*DispX, 'Color',LineColor);
+    ylabel(hAxes, '{\it\eta_x} [cm]', 'Color',LineColor);
+else
+    plot(hAxes, Sy, 100*DispY, 'Color',LineColor);
+    ylabel(hAxes, '{\it\eta_y} [cm]', 'Color',LineColor);
+end
+if strcmp(get(hp,'Label'),'Graph #1')
+    AxisRangeX = getappdata(handles.figure1, 'AxisRange1X');
+else
+    AxisRangeX = getappdata(handles.figure1, 'AxisRange2X');
+end
+
+axis(hAxes, 'auto');
+a = axis(hAxes);        
+del = a(4) - a(3);
+axis(hAxes, [AxisRangeX(1) AxisRangeX(2) a(3)-.4*del a(4)+.4*del]);
+AutoScaleVertical(hAxes, .77);
+
+% Set axes defaults
+set(hAxes, 'Color', 'none');
+set(hAxes, 'Visible', 'On');  % Off to hide axis
+set(hAxes, 'YAxisLocation', 'Right');
+set(hAxes, 'XGrid', 'Off');
+set(hAxes, 'YGrid', 'Off');
+set(hAxes, 'XMinorGrid', 'Off');
+set(hAxes, 'YMinorGrid', 'Off');
+set(hAxes, 'YMinorTick', 'Off');
+set(hAxes, 'XMinorTick', 'Off');
+set(hAxes, 'XAxisLocation', 'Bottom');
+set(hAxes, 'XTickLabel', '');
+% set(hAxes, 'YTickLabel', []);
+% set(hAxes, 'XTick', []);
+% set(hAxes, 'YTick', []);
+
+
+if strcmp(get(hp,'Label'),'Graph #1')
+    set(handles.AddPlot1_Nothing,'Checked','Off');
+    if strcmp(get(hObject,'Label'),'Horizontal')
+        set(handles.AddPlot1_DispX,'Checked','On');
+        set(handles.AddPlot1_DispY,'Checked','Off');
+    else
+        set(handles.AddPlot1_DispX,'Checked','Off');
+        set(handles.AddPlot1_DispY,'Checked','On');
+    end
+    set(handles.AddPlot1_BetaX,'Checked','Off');
+    set(handles.AddPlot1_BetaY,'Checked','Off');
+    
+    set(hAxes ,'ButtonDownFcn','plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))');
+    h = get(hAxes,'Children');
+    for i = 1:length(h)
+        set(h(i) ,'ButtonDownFcn','plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))');
+    end
+    
+else
+    set(handles.AddPlot2_Nothing,'Checked','Off');
+    if strcmp(get(hObject,'Label'),'Horizontal')
+        set(handles.AddPlot2_DispX,'Checked','On');
+        set(handles.AddPlot2_DispY,'Checked','Off');
+    else
+        set(handles.AddPlot2_DispX,'Checked','Off');
+        set(handles.AddPlot2_DispY,'Checked','On');
+    end
+    set(handles.AddPlot2_BetaX,'Checked','Off');
+    set(handles.AddPlot2_BetaY,'Checked','Off');
+    
+    set(hAxes, 'ButtonDownFcn','plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))');
+    h = get(hAxes, 'Children');
+    for i = 1:length(h)
+        set(h(i), 'ButtonDownFcn', 'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))');
+    end
+end
+
+HorizontalAxesScaling(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function DrawLattice_Callback(hObject, eventdata, handles)
+% Graph size is determined here and in function HorizontalAxesScaling
+CheckMark = get(handles.DrawLattice, 'Checked');
+if strcmpi(CheckMark, 'On')
+    d = .01;
+    p1 = [0.07    0.65-d    0.74    0.29+d];
+    set(handles.Graph1, 'Position', p1);
+    set(handles.Graph3, 'Position', p1);
+
+    p2 = [0.07    0.27    0.74    0.29+d];
+    set(handles.Graph2, 'Position', p2);
+    set(handles.Graph4, 'Position', p2);
+
+    set(handles.DrawLattice, 'Checked', 'Off');
+    set(get(handles.LatticeAxes,'Children'), 'Visible' , 'Off');
+else
+    p1 = [0.07    0.65    0.74    0.29];
+    set(handles.Graph1, 'Position', p1);
+    set(handles.Graph3, 'Position', p1);
+
+    p2 = [0.07    0.27    0.74    0.29];
+    set(handles.Graph2, 'Position', p2);
+    set(handles.Graph4, 'Position', p2);
+
+    set(handles.DrawLattice, 'Checked', 'On');
+    set(get(handles.LatticeAxes,'Children'), 'Visible' , 'On');
+end
+
+HorizontalAxesScaling(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function Graph1_ButtonDown(hObject, eventdata, handles)
+set(handles.figure1, 'HandleVisibility','Callback');
+CurrentPoint = get(gca, 'CurrentPoint');
+SposMouse = CurrentPoint(1,1);
+SposData = getappdata(handles.figure1, 'SPosX');
+
+MeritFcn = abs(SposData-SposMouse);
+i = find(min(MeritFcn) == MeritFcn);
+set(handles.DataList1, 'value', i(1));
+set(handles.figure1, 'HandleVisibility','Off');
+
+% --------------------------------------------------------------------
+function Graph2_ButtonDown(hObject, eventdata, handles)
+set(handles.figure1, 'HandleVisibility','Callback');
+CurrentPoint = get(gca, 'CurrentPoint');
+SposMouse = CurrentPoint(1,1);
+SposData = getappdata(handles.figure1, 'SPosY');
+
+MeritFcn = abs(SposData-SposMouse);
+i = find(min(MeritFcn) == MeritFcn);
+set(handles.DataList2, 'value', i(1));
+set(handles.figure1, 'HandleVisibility','Off');
+
+
+% --- Executes on button press in AutoScale1.
+function AutoScale1_Callback(hObject, eventdata, handles)
+AutoScaleVertical(handles.Graph1, .95);
+AutoScaleVertical(handles.Graph3, .77);
+
+% --- Executes on button press in AutoScale2.
+function AutoScale2_Callback(hObject, eventdata, handles)
+AutoScaleVertical(handles.Graph2, .95);
+AutoScaleVertical(handles.Graph4, .77);
+
+%--------------------------------------------------------
+function AutoScaleVertical(h_axis, ScaleFactor)
+% Auto-scale y-axis
+
+if nargin < 2
+    ScaleFactor = 1;
+end
+
+a = axis(h_axis);
+% if strcmpi(get(handles.Graph2Line,'Checked'),'On')
+%     % Line
+%     axis(h_axis, 'auto');
+%     set(h_axis, 'XLim', a(1:2));
+% else
+    % Bar
+    h = get(h_axis,'Children');
+    if length(h) > 1
+        h = sort(h(end-1:end));
+        y1 = get(h(1),'YData');
+        y2 = get(h(2),'YData');
+    else
+        y1 = get(h(1),'YData');
+        y2 = y1;
+    end
+    x = get(h(1),'XData');
+    i = find(x>a(1) & x<a(2));
+    if ~isempty(i)
+        % Select within present x-axis
+        y1 = y1(i);
+        y2 = y2(i);
+    end
+    
+    MaxY = max([y1(:); y2(:)]);
+    MinY = min([y1(:); y2(:)]);
+
+    if isnan(MinY) || isnan(MaxY)
+        axis(h_axis, 'auto');
+        set(h_axis, 'XLim', a(1:2));
+    else
+        %if abs(MaxY-MinY) < eps
+        %    MaxY = MaxY + .5;
+        %    MinY = MinY - .5;
+        %else
+            % Add a buffer
+            Delta = MaxY - MinY;
+            if Delta == 0
+                Delta = 1e-15; %eps;
+            end
+            MaxY = MaxY + (1-ScaleFactor) * Delta;
+            MinY = MinY - (1-ScaleFactor) * Delta;
+        %end
+        set(h_axis, 'YLim', [MinY MaxY]);
+    end
+%end
+ 
+% % Auto-scale y-axis
+% axis(handles.Graph2, 'auto');
+% a = axis(handles.Graph2);
+% axis(handles.Graph2, [AxisRange2X(1) AxisRange2X(2) a(3) a(4)]);
+% a = axis(handles.Graph4);
+% axis(handles.Graph4, [AxisRange2X(1) AxisRange2X(2) a(3) a(4)]);
+
+
+
+% --- Executes on button press in AutoScale1.
+function AutoScaleH_Callback(hObject, eventdata, handles)
+
+% Auto scale X-axis to the full range
+L = getfamilydata('Circumference');
+if isempty(L)
+    DataStruct = getappdata(handles.figure1, 'BPMxFamily');
+    s = getspos(DataStruct);
+    AxisRangeX = [min(s) max(s)];
+else
+    AxisRangeX = [0 L];
+end
+setappdata(handles.figure1, 'AxisRange1X', AxisRangeX);
+setappdata(handles.figure1, 'AxisRange2X', AxisRangeX);
+
+
+% Set x-axis for everybody else
+set(handles.Graph1,      'XLim', AxisRangeX);
+set(handles.Graph2,      'XLim', AxisRangeX);
+set(handles.Graph3,      'XLim', AxisRangeX);
+set(handles.Graph4,      'XLim', AxisRangeX);
+set(handles.LatticeAxes, 'XLim', AxisRangeX);
+
+% % Auto scale X-axis to the full range
+% L = getfamilydata('Circumference');
+% if isempty(L)
+%     DataStruct = getappdata(handles.figure1, 'BPMyFamily');
+%     s = getspos(DataStruct);
+%     AxisRange2X = [min(s) max(s)];
+% else
+%     AxisRange2X = [0 L];
+% end
+% setappdata(handles.figure1, 'AxisRange2X', AxisRange2X);
+% 
+% Set x-axis for everybody else
+%set(handles.Graph1,      'XLim', [AxisRange2X(1) AxisRange2X(2)]);
+%set(handles.Graph3,      'XLim', [AxisRange2X(1) AxisRange2X(2)]);
+%set(handles.LatticeAxes, 'XLim', [AxisRange2X(1) AxisRange2X(2)]);
+
+
+function AutoScaleYLocal(handles)
+a = axis(handles.Graph1);
+axis(handles.Graph1, 'auto');
+set(handles.Graph1, 'XLim', a(1:2));
+
+a = axis(handles.Graph2);
+axis(handles.Graph2, 'auto');
+set(handles.Graph2, 'XLim', a(1:2));
+
+
+
+% --- Executes on button press in Graph1ZoomInVertical.
+function Graph1ZoomInVertical_Callback(hObject, eventdata, handles)
+a = axis(handles.Graph1);
+ChangeFactor = 1.15;
+del = (1/ChangeFactor-1)*(a(4)-a(3));
+axis((handles.Graph1), [a(1) a(2) a(3)-del/2 a(4)+del/2]);
+set(hObject, 'Value', 0);
+
+
+% --- Executes on button press in Graph1ZoomOutVertical.
+function Graph1ZoomOutVertical_Callback(hObject, eventdata, handles)
+a = axis(handles.Graph1);
+ChangeFactor = 1.15;
+del = (ChangeFactor-1)*(a(4)-a(3));
+axis((handles.Graph1), [a(1) a(2) a(3)-del/2 a(4)+del/2]);
+set(hObject, 'Value', 0);
+
+
+% --- Executes on button press in Graph2ZoomInVertical.
+function Graph2ZoomInVertical_Callback(hObject, eventdata, handles)
+a = axis(handles.Graph2);
+ChangeFactor = 1.15;
+del = (1/ChangeFactor-1)*(a(4)-a(3));
+axis((handles.Graph2), [a(1) a(2) a(3)-del/2 a(4)+del/2]);
+set(hObject, 'Value', 0);
+
+
+% --- Executes on button press in Graph2ZoomOutVertical.
+function Graph2ZoomOutVertical_Callback(hObject, eventdata, handles)
+a = axis(handles.Graph2);
+ChangeFactor = 1.15;
+del = (ChangeFactor-1)*(a(4)-a(3));
+axis((handles.Graph2), [a(1) a(2) a(3)-del/2 a(4)+del/2]);
+set(hObject, 'Value', 0);
+
+
+% --- Executes on button press in Graph1ZoomInVertical.
+function Graph1OffsetUpVertical_Callback(hObject, eventdata, handles)
+ChangeFactor = 1.1;
+a1 = axis(handles.Graph1);
+del1 = (ChangeFactor-1)*(a1(4)-a1(3));
+axis(handles.Graph1, [a1(1) a1(2) a1(3)+del1 a1(4)+del1]);
+set(hObject, 'Value', 0);
+
+% --- Executes on button press in Graph1ZoomOutVertical.
+function Graph1OffsetDownVertical_Callback(hObject, eventdata, handles)
+ChangeFactor = 1.1;
+a1 = axis(handles.Graph1);
+del1 = (1/ChangeFactor-1)*(a1(4)-a1(3));
+axis(handles.Graph1, [a1(1) a1(2) a1(3)+del1 a1(4)+del1]);
+set(hObject, 'Value', 0);
+
+
+% --- Executes on button press in Graph1ZoomInVertical.
+function Graph2OffsetUpVertical_Callback(hObject, eventdata, handles)
+ChangeFactor = 1.1;
+a1 = axis(handles.Graph2);
+del1 = (ChangeFactor-1)*(a1(4)-a1(3));
+axis(handles.Graph2, [a1(1) a1(2) a1(3)+del1 a1(4)+del1]);
+set(hObject, 'Value', 0);
+
+% --- Executes on button press in Graph1ZoomOutVertical.
+function Graph2OffsetDownVertical_Callback(hObject, eventdata, handles)
+ChangeFactor = 1.1;
+a1 = axis(handles.Graph2);
+del1 = (1/ChangeFactor-1)*(a1(4)-a1(3));
+axis(handles.Graph2, [a1(1) a1(2) a1(3)+del1 a1(4)+del1]);
+set(hObject, 'Value', 0);
+
+
+% --- Executes on button press in HorizontalOffsetRight.
+function HorizontalOffsetRight_Callback(hObject, eventdata, handles)
+ChangeFactor = 1.05;
+a1 = axis(handles.Graph1);
+a2 = axis(handles.Graph2);
+a3 = axis(handles.Graph3);
+a4 = axis(handles.Graph4);
+del1 = (ChangeFactor-1)*(a1(2)-a1(1));
+del2 = (ChangeFactor-1)*(a2(2)-a2(1));
+axis(handles.Graph1, [a1(1)+del1 a1(2)+del1 a1(3) a1(4)]);
+axis(handles.Graph3, [a1(1)+del1 a1(2)+del1 a3(3) a3(4)]);
+axis(handles.Graph2, [a2(1)+del2 a2(2)+del2 a2(3) a2(4)]);
+axis(handles.Graph4, [a2(1)+del2 a2(2)+del2 a4(3) a4(4)]);
+set(handles.LatticeAxes, 'XLim', [a2(1)+del2 a2(2)+del2]);
+setappdata(handles.figure1, 'AxisRange1X', [a1(1)+del1 a1(2)+del1]);
+setappdata(handles.figure1, 'AxisRange2X', [a2(1)+del2 a2(2)+del2]);
+
+function HorizontalOffsetLeft_Callback(hObject, eventdata, handles)
+ChangeFactor = 1.05;
+a1 = axis(handles.Graph1);
+a2 = axis(handles.Graph2);
+a3 = axis(handles.Graph3);
+a4 = axis(handles.Graph4);
+del1 = (1/ChangeFactor-1)*(a1(2)-a1(1));
+del2 = (1/ChangeFactor-1)*(a2(2)-a2(1));
+axis(handles.Graph1, [a1(1)+del1 a1(2)+del1 a1(3) a1(4)]);
+axis(handles.Graph3, [a1(1)+del1 a1(2)+del1 a3(3) a3(4)]);
+axis(handles.Graph2, [a2(1)+del2 a2(2)+del2 a2(3) a2(4)]);
+axis(handles.Graph4, [a2(1)+del2 a2(2)+del2 a4(3) a4(4)]);
+set(handles.LatticeAxes, 'XLim', [a2(1)+del2 a2(2)+del2]);
+setappdata(handles.figure1, 'AxisRange1X', [a1(1)+del1 a1(2)+del1]);
+setappdata(handles.figure1, 'AxisRange2X', [a2(1)+del2 a2(2)+del2]);
+
+function Graph1ZoomInHorizontal_Callback(hObject, eventdata, handles)
+ChangeFactor = 1.3;
+a1 = axis(handles.Graph1);
+a2 = axis(handles.Graph2);
+a3 = axis(handles.Graph3);
+a4 = axis(handles.Graph4);
+del1 = (1/ChangeFactor-1)*(a1(2)-a1(1));
+del2 = (1/ChangeFactor-1)*(a2(2)-a2(1));
+axis(handles.Graph1, [a1(1)-del1/2 a1(2)+del1/2 a1(3) a1(4)]);
+axis(handles.Graph3, [a1(1)-del1/2 a1(2)+del1/2 a3(3) a3(4)]);
+axis(handles.Graph2, [a2(1)-del2/2 a2(2)+del2/2 a2(3) a2(4)]);
+axis(handles.Graph4, [a2(1)-del2/2 a2(2)+del2/2 a4(3) a4(4)]);
+set(handles.LatticeAxes, 'XLim', [a2(1)-del2/2 a2(2)+del2/2]);
+setappdata(handles.figure1, 'AxisRange1X', [a1(1)-del1/2 a1(2)+del1/2]);
+setappdata(handles.figure1, 'AxisRange2X', [a2(1)-del2/2 a2(2)+del2/2]);
+
+function Graph1ZoomOutHorizontal_Callback(hObject, eventdata, handles)
+ChangeFactor = 1.3;
+a1 = axis(handles.Graph1);
+a2 = axis(handles.Graph2);
+a3 = axis(handles.Graph3);
+a4 = axis(handles.Graph4);
+del1 = (ChangeFactor-1)*(a1(2)-a1(1));
+del2 = (ChangeFactor-1)*(a2(2)-a2(1));
+axis(handles.Graph1, [a1(1)-del1/2 a1(2)+del1/2 a1(3) a1(4)]);
+axis(handles.Graph3, [a1(1)-del1/2 a1(2)+del1/2 a3(3) a3(4)]);
+axis(handles.Graph2, [a2(1)-del2/2 a2(2)+del2/2 a2(3) a2(4)]);
+axis(handles.Graph4, [a2(1)-del2/2 a2(2)+del2/2 a4(3) a4(4)]);
+set(handles.LatticeAxes, 'XLim', [a2(1)-del2/2 a2(2)+del2/2]);
+setappdata(handles.figure1, 'AxisRange1X', [a1(1)-del1/2 a1(2)+del1/2]);
+setappdata(handles.figure1, 'AxisRange2X', [a2(1)-del2/2 a2(2)+del2/2]);
+
+
+% Just in Lattice menu (Not plotfamily)
+function Switch2HW_Callback(hObject, eventdata, handles)
+switch2hw;
+
+function Switch2Physics_Callback(hObject, eventdata, handles)
+switch2physics;
+
+function Switch2Online_Callback(hObject, eventdata, handles)
+switch2online;
+
+function Switch2Sim_Callback(hObject, eventdata, handles)
+switch2sim;
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Setpoint change callbacks %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% --------------------------------------------------------------------
+function Lattice_ButtonDown(hObject, eventdata, handles)
+% Change setpoint request
+ErrorFlag = 0;
+
+% Only works on setpoint fields (at the moment)
+Field = 'Setpoint';
+
+try
+    ATIndex = get(hObject, 'UserData');
+
+    CurrentPoint = get(handles.LatticeAxes, 'CurrentPoint');
+    SposMouse = CurrentPoint(1,1);
+
+    [Family, List] = atindex2family(ATIndex);
+
+    if isempty(Family) || isempty(List)
+        ErrorFlag = 1;
+    else
+
+        List = List(1,:);
+
+        HCMFamily = gethcmfamily;
+        VCMFamily = getvcmfamily;
+        if any(strcmpi(Family, {HCMFamily, VCMFamily}))
+            % A corrector was found (how do I know if it's a HCM or VCM?  AT does not differentiate)
+            if strcmpi(Family, HCMFamily) && CurrentPoint(1,2)<0
+                % It should be a VCM family
+                DevList = family2dev(VCMFamily);
+                [i, col] = find(ATIndex == family2atindex(VCMFamily,DevList));
+                if ~isempty(i)
+                    Family = VCMFamily;
+                    List = DevList(i,:);
+                end
+            elseif strcmpi(Family, VCMFamily) && CurrentPoint(1,2)>0
+                % It should be a HCM family
+                DevList = family2dev(HCMFamily);
+                [i, col] = find(ATIndex == family2atindex(HCMFamily,DevList));
+                if ~isempty(i)
+                    Family = HCMFamily;
+                    List = DevList(i,:);
+                end
+            end
+        end
+
+        [FamilyFlag,ao] = isfamily(Family);
+
+        if isfield(ao, Field)
+            % Get/save the present setpoint then call the GUI for setpoint changes
+            if strcmpi(get(handles.Simulate,'Checked'),'On')
+                Mode = 'Simulator';
+            else
+                Mode = 'Online';
+            end
+            if strcmpi(get(handles.PhysicsUnitsFlag,'Checked'),'On')
+                %if getappdata(handles.figure1,'UnitsFlag') == 1
+                UnitsFlag = 'Physics';
+            else
+                UnitsFlag = 'Hardware';
+            end
+
+            SP = getpv(Family, Field, List, Mode, UnitsFlag, 'Struct');
+            set(handles.SetpointSlider,     'UserData', SP);
+            set(handles.SetpointPushButton, 'UserData', SP);
+            SetpointGUI_Callback(hObject, eventdata, handles);
+        else
+            ErrorFlag = 1;
+        end
+    end
+catch
+    ErrorFlag = 1;
+    fprintf('\n%s\n', lasterr);
+    fprintf('There was a problem getting %s.%s(%d,%d)\n', Family, Field, List);
+end
+
+if ErrorFlag
+    % Turn off the setpoint GUI
+    TurnOffSetpointGUI_Callback(hObject, eventdata, handles);
+end
+
+
+% --------------------------------------------------------------------
+function SetpointGUI_Callback(hObject, eventdata, handles)
+
+if strcmpi(get(handles.DisabledSetpointChanges,'Checked'),'Off')
+    SP = get(handles.SetpointSlider, 'UserData');
+
+    % Use slider and edit box
+    set(handles.SetpointSlider, 'UserData', SP);
+    try
+        MaxPV = maxpv(SP);
+        MinPV = minpv(SP);
+        %if isinf(MaxPV) && ~isnan(MaxPV)
+        %    MaxPV = 1e10; %SP.Data + abs(SP.Data);
+        %end
+        %if isinf(MinPV) && ~isnan(MinPV)
+        %    MinPV = -1e10; %SP.Data - abs(SP.Data);;
+        %end
+
+        if MaxPV < MinPV
+            tmp = MaxPV;
+            MaxPV = MinPV;
+            MinPV = tmp;
+        end
+
+        if isnumeric(MaxPV) && isnumeric(MinPV) && ~isinf(MaxPV) && ~isinf(MinPV) && ~isnan(MaxPV) && ~isnan(MinPV) && (MaxPV-MinPV)~=0
+            Range = abs(MaxPV-MinPV);
+            if Range == 1
+                StepSize = 1;
+            else
+                StepSize = Range/5000;
+            end
+        else
+            StepSize = 1;
+        end
+        set(handles.SetpointStepSize, 'String', num2str(StepSize));
+        %set(handles.SetpointStepSize, 'String', sprintf('%f',StepSize));
+    catch
+        MaxPV = Inf; % 1e10; % SP.Data + abs(SP.Data);
+        MinPV =-Inf; %-1e10; % SP.Data - abs(SP.Data);
+    end
+
+    set(handles.SetpointMax, 'String', sprintf('%f',MaxPV));
+    set(handles.SetpointMin, 'String', sprintf('%f',MinPV));
+
+    if ~isinf(MaxPV) && ~isnan(MaxPV) && (MaxPV-MinPV)~=0
+        set(handles.SetpointSlider, 'Max', MaxPV);
+    end
+    if ~isinf(MinPV) && ~isnan(MaxPV) && (MaxPV-MinPV)~=0
+        set(handles.SetpointSlider, 'Min', MinPV);
+    end
+    SetpointRange_Callback(hObject, eventdata, handles);
+
+    set(handles.SetpointFamily, 'String', sprintf('%s.%s', deblank(family2common(SP.FamilyName, SP.DeviceList)), SP.Field));
+    %set(handles.SetpointFamily, 'String', sprintf('%s.%s(%d,%d)', SP.FamilyName, SP.Field, SP.DeviceList));
+    try
+        set(handles.SetpointFamily,  'TooltipString', sprintf('%s', family2channel(SP)));
+    catch
+        set(handles.SetpointFamily,  'TooltipString', '');
+    end
+    set(handles.SetpointUnits,   'String', [SP.UnitsString, '/step']);
+    set(handles.SetpointEditBox, 'String', sprintf('%f', SP.Data));
+    set(handles.SetpointEditBox, 'TooltipString', sprintf('New setpoint in %s', SP.UnitsString));
+
+    set(handles.SetpointPushButton, 'String', sprintf('%f', SP.Data));
+    set(handles.SetpointPushButton, 'TooltipString', sprintf('Restore original setpoint to %f %s', SP.Data, SP.UnitsString));
+
+
+    set(handles.SetpointEditBox,   'Visible', 'On');
+    set(handles.SetpointFamily,    'Visible', 'On');
+    set(handles.SetpointUnits,     'Visible', 'On');
+    set(handles.SetpointSlider,    'Visible', 'On');
+    set(handles.SetpointMax,       'Visible', 'On');
+    set(handles.SetpointMin,       'Visible', 'On');
+    set(handles.SetpointFrame,     'Visible', 'On');
+    set(handles.SetpointStepSize,  'Visible', 'On');
+    set(handles.SetpointPushButton,'Visible', 'On');
+
+    % Change the save and file text to make room for the slider
+    p = get(handles.SaveTime, 'Position');
+    set(handles.SaveTime, 'Position',  [p(1) p(2) .353*p(3) p(4)]);
+    p = get(handles.FileNameX, 'Position');
+    set(handles.FileNameX, 'Position', [p(1) p(2) .353*p(3) p(4)]);
+    p = get(handles.FileNameY, 'Position');
+    set(handles.FileNameY, 'Position', [p(1) p(2) .353*p(3) p(4)]);
+
+    % % Other method: use input dialog box
+    % answer = inputdlg(sprintf('Enter new setpoint for %s.%s(%d,%d) in %s (%s):', SP.FamilyName, SP.Field, SP.DeviceList, SP.UnitsString, SP.Mode),'FAMILYPLOT',1,{sprintf('%s',num2str(SP.Data))});
+    % if ~isempty(answer)
+    %     NewSP = str2num(answer{1});
+    %     if ~isempty(NewSP)
+    %         SP.Data = NewSP
+    %         set(handles.SetpointSlider,  'UserData', SP);
+    %         ChangeSetpointPlotfamily(hObject, eventdata, handles);
+    %         %setpv(Family, Field, NewSP, List, Mode);
+    %     end
+    % end
+end
+
+
+% --------------------------------------------------------------------
+function SetpointRange_Callback(hObject, eventdata, handles)
+
+MaxPV = str2num(get(handles.SetpointMax,'String'));
+MinPV = str2num(get(handles.SetpointMin,'String'));
+
+if isnumeric(MaxPV) && isnumeric(MinPV) && ~isinf(MaxPV) && ~isinf(MinPV) && ~isnan(MaxPV) && ~isnan(MinPV) && (MaxPV-MinPV)~=0
+    if MaxPV < MinPV
+        fprintf('   Maximum range must be greater than the minimum range.\n');
+        MaxPV = get(handles.SetpointSlider, 'Max');
+        MinPV = get(handles.SetpointSlider, 'Min');
+        set(handles.SetpointMax, 'String', sprintf('%f',MaxPV));
+        set(handles.SetpointMin, 'String', sprintf('%f',MinPV));
+    else
+        StepSize = abs(str2num(get(handles.SetpointStepSize, 'String')));
+        Range = abs(MaxPV-MinPV);
+        if isempty(StepSize) || ~isnumeric(StepSize)
+            fprintf('   Step size is not a numeric value.  Overwriting with the default step size.\n');
+            StepSize = Range/1000;
+        end
+        set(handles.SetpointStepSize, 'String', num2str(StepSize));
+        %set(handles.SetpointStepSize, 'String', sprintf('%f',StepSize));
+        Steps = Range/StepSize;
+        if Steps < 10
+            Steps = 10;
+        end
+        set(handles.SetpointSlider, 'Max', MaxPV);
+        set(handles.SetpointSlider, 'Min', MinPV);
+        set(handles.SetpointSlider, 'SliderStep', [1/Steps 10/Steps]);
+        %set(handles.SetpointSlider, 'SliderStep', [.001 .01]);
+
+        SP = get(handles.SetpointSlider, 'UserData');
+        set(handles.SetpointSlider,  'Value',  SP.Data);
+
+        set(handles.SetpointSlider, 'Enable', 'On');
+    end
+else
+    set(handles.SetpointSlider, 'Enable', 'Off');
+end
+
+
+
+% --------------------------------------------------------------------
+function SetpointSlider_Callback(hObject, eventdata, handles)
+
+% Get setpoint from the slider
+NewSP = get(handles.SetpointSlider, 'Value');
+
+SP = get(handles.SetpointSlider, 'UserData');
+SP.Data = NewSP;
+
+% Update Slider
+set(handles.SetpointSlider, 'UserData', SP);
+set(handles.SetpointSlider, 'Value', NewSP);
+
+% Update EditBox
+set(handles.SetpointEditBox, 'String', sprintf('%f', SP.Data));
+
+% Make setpoint change
+ChangeSetpointPlotfamily(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function SetpointEditBox_Callback(hObject, eventdata, handles)
+
+% Get setpoint from the editbox
+ValueStr = get(handles.SetpointEditBox, 'String');
+
+if ~isempty(ValueStr)
+    NewSP = str2num(ValueStr);
+
+    SP = get(handles.SetpointSlider, 'UserData');
+    SP.Data = NewSP;
+
+    % Check range (if slider is enabled)
+    ChangeFlag = 1;
+    if strcmpi(get(handles.SetpointSlider,'Enable'), 'On')
+        MaxPV = str2num(get(handles.SetpointMax,'String'));
+        MinPV = str2num(get(handles.SetpointMin,'String'));
+        if isnumeric(MaxPV) && isnumeric(MinPV) && ~isinf(MaxPV) && ~isinf(MinPV) && ~isnan(MaxPV) && ~isnan(MinPV)
+            if MaxPV < NewSP  || NewSP < MinPV
+                fprintf('   The requested setpoint is outside the limits.  Requested cancelled.\n');
+                ChangeFlag = 0;
+                OldSP = get(handles.SetpointSlider, 'Value');
+                set(handles.SetpointEditBox, 'String', sprintf('%f',OldSP));
+            end
+        end
+    end
+
+    % Update Slider
+    if ChangeFlag
+        set(handles.SetpointSlider, 'UserData', SP);
+
+        % Don't change the slider if it's not enabled
+        if strcmpi(get(handles.SetpointSlider,'Enable'), 'On')
+            set(handles.SetpointSlider, 'Value', NewSP);
+        end
+
+        % Make setpoint change
+        ChangeSetpointPlotfamily(hObject, eventdata, handles);
+    end
+end
+
+
+% --------------------------------------------------------------------
+function SetpointPushButton_Callback(hObject, eventdata, handles)
+
+% Get setpoint from the pushbutton
+SP = get(handles.SetpointPushButton, 'UserData');
+
+% Update Slider if it's enabled
+if strcmpi(get(handles.SetpointSlider,'Enable'), 'On')
+    set(handles.SetpointSlider, 'Value', SP.Data);
+end
+
+% Store the setpoint change and update the editbox
+set(handles.SetpointSlider, 'UserData', SP);
+set(handles.SetpointEditBox, 'String', sprintf('%f',SP.Data));
+
+% Make setpoint change
+ChangeSetpointPlotfamily(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function ChangeSetpointPlotfamily(hObject, eventdata, handles)
+
+SP = get(handles.SetpointSlider, 'UserData');
+
+% Get the present mode (units are stored with the data)
+if strcmpi(get(handles.Simulate,'Checked'),'On')
+    Mode = 'Simulator';
+else
+    Mode = 'Online';
+end
+
+
+% Make the setpoint change
+setpv(SP, 0, Mode);
+
+
+% Update plots
+OneShot_Callback(hObject, eventdata, handles);
+
+if strcmpi(get(handles.AddPlot1_BetaX,'Checked'),'On')
+    AddPlot_Beta_Callback(handles.AddPlot1_BetaX, eventdata, handles);
+end
+if strcmpi(get(handles.AddPlot2_BetaX,'Checked'),'On')
+    AddPlot_Beta_Callback(handles.AddPlot2_BetaX, eventdata, handles);
+end
+if strcmpi(get(handles.AddPlot1_BetaY,'Checked'),'On')
+    AddPlot_Beta_Callback(handles.AddPlot1_BetaY, eventdata, handles);
+end
+if strcmpi(get(handles.AddPlot2_BetaY,'Checked'),'On')
+    AddPlot_Beta_Callback(handles.AddPlot2_BetaY, eventdata, handles);
+end
+
+if strcmpi(get(handles.AddPlot1_DispX,'Checked'),'On')
+    AddPlot_Dispersion_Callback(handles.AddPlot1_DispX, eventdata, handles);
+end
+if strcmpi(get(handles.AddPlot2_DispX,'Checked'),'On')
+    AddPlot_Dispersion_Callback(handles.AddPlot2_DispX, eventdata, handles);
+end
+if strcmpi(get(handles.AddPlot1_DispY,'Checked'),'On')
+    AddPlot_Dispersion_Callback(handles.AddPlot1_DispY, eventdata, handles);
+end
+if strcmpi(get(handles.AddPlot2_DispY,'Checked'),'On')
+    AddPlot_Dispersion_Callback(handles.AddPlot2_DispY, eventdata, handles);
+end
+
+
+
+% --------------------------------------------------------------------
+function Graph1Line_Callback(hObject, eventdata, handles)
+set(handles.Graph1Line,'Checked','On');
+set(handles.Graph1Bar, 'Checked','Off');
+cla(handles.Graph1);
+
+% Update plot
+OneShot_Callback(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function Graph1Bar_Callback(hObject, eventdata, handles)
+set(handles.Graph1Line,'Checked','Off');
+set(handles.Graph1Bar, 'Checked','On');
+cla(handles.Graph1);
+
+% Make sure the scale is linear for bar plots
+set(handles.Graph1,'YScale','Linear');
+set(handles.YScaleLog1,'Checked','Off');
+set(handles.YScaleLinear1,'Checked','On');
+
+% Update plot
+OneShot_Callback(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function Graph2Line_Callback(hObject, eventdata, handles)
+set(handles.Graph2Line,'Checked','On');
+set(handles.Graph2Bar, 'Checked','Off');
+cla(handles.Graph2);
+
+% Update plot
+OneShot_Callback(hObject, eventdata, handles);
+
+% --------------------------------------------------------------------
+function Graph2Bar_Callback(hObject, eventdata, handles)
+set(handles.Graph2Line,'Checked','Off');
+set(handles.Graph2Bar, 'Checked','On');
+cla(handles.Graph2);
+
+% Make sure the scale is linear for bar plots
+set(handles.Graph2,'YScale','Linear');
+set(handles.YScaleLog2,'Checked','Off');
+set(handles.YScaleLinear2,'Checked','On');
+
+% Update plot
+OneShot_Callback(hObject, eventdata, handles);
+
+
+% --------------------------------------------------------------------
+function DisabledSetpointChanges_Callback(hObject, eventdata, handles)
+if strcmpi(get(handles.DisabledSetpointChanges,'Checked'),'Off')
+    set(handles.DisabledSetpointChanges,'Checked','On');
+    TurnOffSetpointGUI_Callback(hObject, eventdata, handles);
+else
+    set(handles.DisabledSetpointChanges,'Checked','Off');
+end
+
+
+% --------------------------------------------------------------------
+function TurnOffSetpointGUI_Callback(hObject, eventdata, handles)
+% Turn off the setpoint GUI
+if strcmpi(get(handles.SetpointEditBox,'Visible'),'On')
+    set(handles.SetpointEditBox,   'Visible', 'Off');
+    set(handles.SetpointFamily,    'Visible', 'Off');
+    set(handles.SetpointUnits,     'Visible', 'Off');
+    set(handles.SetpointSlider,    'Visible', 'Off');
+    set(handles.SetpointMax,       'Visible', 'Off');
+    set(handles.SetpointMin,       'Visible', 'Off');
+    set(handles.SetpointFrame,     'Visible', 'Off');
+    set(handles.SetpointStepSize,  'Visible', 'Off');
+    set(handles.SetpointPushButton,'Visible', 'Off');
+
+    % Change the save and file text back to full size
+    p = get(handles.SaveTime, 'Position');
+    set(handles.SaveTime, 'Position',  [p(1) p(2) p(3)/.353 p(4)]);
+    p = get(handles.FileNameX, 'Position');
+    set(handles.FileNameX, 'Position', [p(1) p(2) p(3)/.353 p(4)]);
+    p = get(handles.FileNameY, 'Position');
+    set(handles.FileNameY, 'Position', [p(1) p(2) p(3)/.353 p(4)]);
+
+    drawnow;
+end
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Close PlotFamily?',...
+    'Exit PlotFamily Program',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'
+        %         delete(handles); %Delete Timer
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+% --------------------------------------------------------------------
+function ReloadGoldenOrbit_Callback(hObject, eventdata, handles)
+% hObject    handle to ReloadGoldenOrbit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+setappdata(handles.figure1,'GoldenX', getgolden('BPMx'));
+setappdata(handles.figure1,'GoldenY', getgolden('BPMz'));
+OneShot_Callback(hObject, eventdata, handles);
+
+
+
+
+% --- Executes when figure1 is resized.
+function figure1_ResizeFcn(hObject, eventdata, handles)
+% hObject    handle to figure1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --------------------------------------------------------------------
+function Untitled_13_Callback(hObject, eventdata, handles)
+% hObject    handle to Graph1Bar (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
Index: /trunk/machine/SOLEIL/common/plotfamily/plotfamilystartup.m
===================================================================
--- /trunk/machine/SOLEIL/common/plotfamily/plotfamilystartup.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/plotfamily/plotfamilystartup.m	(revision 17)
@@ -0,0 +1,77 @@
+function handles = plotfamilystartup(handles)
+% plotfamilystartup - Additional plotfamily menu for SOLEIL
+
+%% Laurent Nadolski
+% Adapted form Gregory Portmann
+
+% Disable setpoint GUI
+set(handles.DisabledSetpointChanges, 'Checked', 'On');
+
+Sectors = 16; % number of sectors
+Straights = 24; % numberof straight sections
+StraigthPosition = [0; getspos('BPMx', getidbpmlist)]; 
+% is it the best place for these definitions ?
+StraigthName = {'SDL01 (INJECTION)', 'SDM02 (CRYO2)', 'SDC02 (ALPHA)', 'SDM03 (CRYO1)', 'SDC03 (PSICHE)', 'SDM04 (PLEIADES)', ...
+                'SDL05 (DESIRS)', 'SDM06 (Empty)', 'SDC06 (CRISTAL)', 'SDM07 (DEIMOS)', 'SDC07 (GALAXIES)', 'SDM08 (TEMPO)', ...
+                'SDL09 (FBT)', 'SDM10 (HERMES)', 'SDC10 (PX1)', 'SDM11 (PX2)', 'SDC11 (SWING)', 'SDM12 (ANTARES)', ...
+                'SDL13 (NANO)', 'SDM14 (SEXTANTS)', 'SDC14 (SIXS)', 'SDM15 (CASSIOPEE)', 'SDC15 (SIRIUS)', 'SDM16 (LUCIA)', ...
+                };
+Superperiods = 4; % number of superperiods
+
+L = getfamilydata('Circumference');
+if ~isempty(L)
+    % Add a sector menu
+    % Using a [Arc Straight] nomenclature
+    Menu0 = uimenu(handles.figure1, 'Label', 'Sectors');
+    set(Menu0, 'Position', 3);
+    set(Menu0, 'Separator', 'On');
+
+    % Arc sections
+    Extra = 5;  % meters
+    i = 1;
+    Menu1 = uimenu(Menu0, 'Label',sprintf('Arc Sector %d',i));
+    set(Menu1,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[0 Extra+L/Sectors]+(i-1)*L/Sectors),'],guidata(gcbo))']);
+    for i = 2:Sectors-1
+        Menu1 = uimenu(Menu0, 'Label',sprintf('Arc Sector %d',i));
+        set(Menu1,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[0-Extra Extra+L/Sectors]+(i-1)*L/Sectors),'],guidata(gcbo))']);
+    end
+    i = Sectors;
+    Menu1 = uimenu(Menu0, 'Label',sprintf('Arc Sector %d',i));
+    set(Menu1,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[L-L/Sectors-Extra L]),'],guidata(gcbo))']);
+
+    % Add Straight section menu
+    Menu0 = uimenu(handles.figure1, 'Label', 'Straights');
+    set(Menu0, 'Position', 4);
+    set(Menu0, 'Separator', 'On');
+    % Straight sections
+    Extra = 10;  % meters
+    for i = 1:Straights-1
+        Menu1 = uimenu(Menu0, 'Label',sprintf('%s',StraigthName{i}));
+        set(Menu1,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[-Extra+StraigthPosition(2*i-1) Extra+StraigthPosition(2*i)]),'],guidata(gcbo))']);
+    end
+    Menu1 = uimenu(Menu0, 'Label',sprintf('%s',StraigthName{end}));
+    set(Menu1,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[-Extra+StraigthPosition(end-1) Extra+StraigthPosition(end)]),'],guidata(gcbo))']);
+
+    % Add Superperiod menu
+    Menu0 = uimenu(handles.figure1, 'Label', 'Superperiod');
+    set(Menu0, 'Position', 5);
+    set(Menu0, 'Separator', 'On');
+
+    handles.all = uimenu(Menu0, 'Label',sprintf('All Ring'));
+    set(handles.all,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[0 L]),'],guidata(gcbo))']);
+    set(handles.all,'Checked', 'On');
+    
+    handles.superperiod1 = uimenu(Menu0, 'Label',sprintf('Superperiod %d',1));
+    set(handles.superperiod1,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[0 L/Superperiods]),'],guidata(gcbo))']);
+
+    handles.superperiod2 = uimenu(Menu0, 'Label',sprintf('Superperiod %d',2));
+    set(handles.superperiod2,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[L/Superperiods 2*L/Superperiods]),'],guidata(gcbo))']);
+
+    handles.superperiod3 = uimenu(Menu0, 'Label',sprintf('Superperiod %d',3));
+    set(handles.superperiod3,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[2*L/Superperiods 3*L/Superperiods]),'],guidata(gcbo))']);
+
+    handles.superperiod4 = uimenu(Menu0, 'Label',sprintf('Superperiod %d',4));
+    set(handles.superperiod4,'Callback', ['plotfamily(''HorizontalAxisSector_Callback'',gcbo,[',sprintf('%f %f',[3*L/Superperiods L]),'],guidata(gcbo))']);
+
+end
+
Index: /trunk/machine/SOLEIL/common/setcavityvoltage.m
===================================================================
--- /trunk/machine/SOLEIL/common/setcavityvoltage.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/setcavityvoltage.m	(revision 17)
@@ -0,0 +1,18 @@
+function setcavityvoltage(voltage)
+%SETCAVITYVOLTAGE - set the RF vavity voltage in Volts
+%  setcavityvoltage(vol)
+%
+%  INPUT   
+%  voltage -  RF cavity voltage    [v]
+%
+%  See also  getcavityvoltage, setcavity
+
+%
+%%  Written by Jianfeng Zhang  05/2010
+
+
+global THERING;
+
+cavityidx = findcells(THERING,'Voltage');
+THERING{cavityidx}.Voltage = voltage;
+
Index: /trunk/machine/SOLEIL/common/setrange.m
===================================================================
--- /trunk/machine/SOLEIL/common/setrange.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/setrange.m	(revision 17)
@@ -0,0 +1,22 @@
+function setrange(family)
+%SETRANGE - read min and max value from TANGO static DB and set AO
+%structure
+%
+%  INPUTS
+%  1. family - FamilyName
+
+%
+%  Written by Laurent S. Nadolski
+
+if isfamily(family)
+    AO = getao;
+    [s idx] = family2status(family);
+    AO.(family).Monitor.Range(idx,1) = tango_get_attribute_property(family,'min_value','Double');
+    AO.(family).Monitor.Range(idx,2) = tango_get_attribute_property(family,'max_value','Double');
+    AO.(family).Setpoint.Range = AO.(family).Monitor.Range;
+    AO.(family).Desired.Range = AO.(family).Monitor.Range;
+    setao(AO);
+else
+    warning('%s is not a valid family',family)
+end
+
Index: /trunk/machine/SOLEIL/common/synchro/.cvsignore
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/.cvsignore	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/.cvsignore	(revision 17)
@@ -0,0 +1,1 @@
+changes
Index: /trunk/machine/SOLEIL/common/synchro/DCCT_speed.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/DCCT_speed.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/DCCT_speed.m	(revision 17)
@@ -0,0 +1,23 @@
+function DCCT_speed
+% Mesure vitesse de lecture DCCT
+
+temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');anscur0=temp.value;
+pause(0.2)
+
+dt=0.05 ;  % en seconde
+tt=1:60;
+anscur=[];
+%tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent');
+tic
+for t=tt
+    pause(dt)
+    temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');
+    anscur=[anscur temp.value];
+    anscur1=anscur - anscur0; 
+end
+toc
+plot(tt*dt,anscur1,'-ob');grid on
+xlabel('Time (s)');ylabel('Current (A)')
+    
+     
+    
Index: /trunk/machine/SOLEIL/common/synchro/EP_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/EP_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/EP_rafale.m	(revision 17)
@@ -0,0 +1,28 @@
+% mode rafale test EP
+% 
+burst=5 ;     % nb de coup rafale
+boucle=1 ;  % nb de rafale
+delai=3 ;      % delai entre rafale (s)
+
+% Set table to one value
+bunch=[1];
+[dtour,dpaquet]=bucketnumber(bunch);
+table=int32([length(bunch) dtour dpaquet]);
+tango_command_inout('ANS/SY/CENTRAL','SetTables',table);
+
+
+% Profondeur rafale
+tango_write_attribute2('ANS/SY/CENTRAL', 'burstSize',int32(burst));
+
+
+
+% boucle
+for i=1:boucle
+    i
+    tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent');
+    pause(delai)
+end
+
+
+    
+    
Index: /trunk/machine/SOLEIL/common/synchro/Synchronisationsetup.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/Synchronisationsetup.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/Synchronisationsetup.m	(revision 17)
@@ -0,0 +1,76 @@
+function Synchronisationsetup
+%LT2SETUP - GUI for doing LT2 setup
+
+%
+% Written by Laurent S. Nadolski
+
+
+
+orbfig = findobj(allchild(0),'tag','Timingsetup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+orbfig = findobj(allchild(0),'tag','Timingsetup'); 
+
+
+kmax = 8; % button number
+
+height = 10 + kmax*30 + 30; %670;
+a = figure('Color',[0.8 0.8 0.8], ...
+    'Interruptible', 'on', ...   
+    'HandleVisibility','off', ...
+    'MenuBar','none', ...
+    'Name', 'Timingsetup', ...
+    'NumberTitle','off', ...
+    'Units','pixels', ...
+    'Position',[5 70 210*2 height], ...
+    'Resize','off', ...Synchronisation
+    'Tag','Timingsetup');
+
+height = height - 35;
+
+for k = 1:kmax,
+    b1(k) = uicontrol('Parent',a, ...
+        'Position',[3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b2(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+set(b1(1), 'Callback','disp([''   Fichiers de Consignes;'']); save_boo;', 'String','Fichiers de Consignes');
+set(b1(2), 'Callback','disp([''   Survey;'']); synchro_survey;', 'String','Synchro_survey');
+set(b1(3), 'Callback','disp([''   Timing;'']); synchro_injecteur7;', 'String','Synchronisation');
+set(b1(4), 'Callback','disp([''   Timing_test;'']); synchro_mode_tests;', 'String','Synchro_mode_test');
+
+set(b1(6), 'Callback','disp([''   Timing;'']); synchro_injecteur7_rafale;', 'String','Synchronisation_rafale');
+set(b1(7), 'Callback','disp([''   Timing_test;'']); synchro_rafale_mode_tests;', 'String','Synchro_rafale_mode_test');
+
+
+set(b2(1), 'Callback','disp([''   Kickers ANS;'']); set_bump0;', 'String',' Set kickers bump symmetric');
+set(b2(2), 'Callback','disp([''   Kickers ANS;'']); set_bump_optim;', 'String',' Set kickers bump optim ');
+set(b2(3), 'Callback','disp([''   Kickers ANS;'']); kicker_scaling;', 'String',' Scale Bump ');
+
+
+
+
+b = uicontrol('Parent',a, ...
+    'Callback','close all', ...
+    'String','Close All Figures', ...
+    'Position',[3 height-kmax*30 204 27], ...
+    'Userdata',[], ...
+    'Interruptible', 'off', ...   
+    'Tag','button2');
+
+b = uicontrol('Parent',a, ...
+    'Callback','diary off; close(get(findobj(gcbf,''Tag'',''button1''),''Userdata''));', ...
+    'Position',[3 + 210 height-kmax*30 204 27], ...
+    'String','CLOSE', ...
+    'Userdata',a, ...
+    'Interruptible', 'off', ...   
+    'Tag','button1');
+
Index: /trunk/machine/SOLEIL/common/synchro/Synchronisationsetup_op.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/Synchronisationsetup_op.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/Synchronisationsetup_op.m	(revision 17)
@@ -0,0 +1,68 @@
+function Synchronisationsetup_op
+%LT2SETUP - GUI for doing LT2 setup
+
+%
+% Written by Laurent S. Nadolski
+
+
+
+orbfig = findobj(allchild(0),'tag','Timingsetup'); 
+
+if ~isempty(orbfig), delete(orbfig); end
+orbfig = findobj(allchild(0),'tag','Timingsetup'); 
+
+
+kmax = 6; % button number
+
+height = 10 + kmax*30 + 30; %670;
+a = figure('Color',[0.8 0.8 0.8], ...
+    'Interruptible', 'on', ...   
+    'HandleVisibility','off', ...
+    'MenuBar','none', ...
+    'Name', 'Timingsetup', ...
+    'NumberTitle','off', ...
+    'Units','pixels', ...
+    'Position',[5 70 210*2 height], ...
+    'Resize','off', ...
+    'Tag','Timingsetup');
+
+height = height - 35;
+
+for k = 1:kmax,
+    b1(k) = uicontrol('Parent',a, ...
+        'Position',[3 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+for k = 1:kmax,
+    b2(k) = uicontrol('Parent',a, ...
+        'Position',[3 + 210 height-(k-1)*30 204 27], ...
+        'Interruptible', 'off', ...
+        'Tag','button22');
+end
+
+set(b1(1), 'Callback','disp([''   Fichiers de Consignes;'']); save_boo;', 'String','Fichiers de Consignes');
+set(b1(2), 'Callback','disp([''   Survey;'']); synchro_survey;', 'String','Synchro_survey');
+set(b1(3), 'Callback','disp([''   Timing;'']); synchro_injecteur8_rafale;', 'String','Synchronisation');
+set(b1(4), 'Callback','disp([''   Timing_test;'']); synchro_rafale_mode_tests;', 'String','Synchro_mode_test');
+
+set(b2(1), 'Callback','disp([''   Scale Kickers;'']); kicker_scaling;', 'String','ANS Kickers Scaling');
+
+
+b = uicontrol('Parent',a, ...
+    'Callback','close all', ...
+    'String','Close All Figures', ...
+    'Position',[3 height-kmax*30 204 27], ...
+    'Userdata',[], ...
+    'Interruptible', 'off', ...   
+    'Tag','button2');
+
+b = uicontrol('Parent',a, ...
+    'Callback','diary off; close(get(findobj(gcbf,''Tag'',''button1''),''Userdata''));', ...
+    'Position',[3 + 210 height-kmax*30 204 27], ...
+    'String','CLOSE', ...
+    'Userdata',a, ...
+    'Interruptible', 'off', ...   
+    'Tag','button1');
+
Index: /trunk/machine/SOLEIL/common/synchro/bucketnumber.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/bucketnumber.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/bucketnumber.m	(revision 17)
@@ -0,0 +1,58 @@
+function [n1 n2] = bucketnumber(num)
+%BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket
+%number.
+%
+%  INPUTS
+%  1. num - Bucket number
+%
+%  OUPUTS
+%  1. n1 - number of step for extraction table
+%  2. n2 - number of step for linac table
+%
+%  ALGORITHM
+% Table extraction n1 entier compris entre 0 et 51
+% Table Linac n2 entier compris entre 0 et 7
+% n1 = 0; n2 = 0; injection dans paquet 1 de l'anneau
+% n1 = 0; n2 = 1; injection dans paquet 2 de l'anneau
+
+%
+%  Written by Laurent S. Nadolski
+
+num = num - 1;
+n2 = mod(num,8);
+d = fix(num/8);
+[u v] = bezout(52,23,d);
+n1 = v;
+
+%fprintf('n1 = %d n2 = %d\n', n1, n2)
+%fprintf('Injection dans paquet numero %d\n', mod(n1*184,416) + n2 + 1)
+
+%%%%
+
+function [u v] = bezout(a,b,c)
+% Resolution de 52 u + 23 v = c
+%        ou  encore 416 u + 184 v = 8*c
+%        ou  encore de 184 v = 8*c modulo 416
+%  Soit travail dans l'ensemble quotient Z/416Z
+
+% ALGORITHME de BEZOUT
+
+a = 52;
+b = 23;
+
+u = 1;
+v = 0;
+
+s = 0;
+t = c;
+while b > 0 
+    q = fix(a/b);r = rem(a,b);
+    a = b; b = r;
+    tmp = s;
+    s = u - q * s;
+    u = tmp; tmp = t;
+    t = v - q * t;
+    v = tmp;
+end
+u;
+v = mod(v,52);
Index: /trunk/machine/SOLEIL/common/synchro/burst_trigger.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/burst_trigger.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/burst_trigger.m	(revision 17)
@@ -0,0 +1,4 @@
+function burst_trigger
+% SOTF_TRIGGER - Ask a trig on the timing system
+
+tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent'); pause(1)
Index: /trunk/machine/SOLEIL/common/synchro/check_boo_synchro.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/check_boo_synchro.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/check_boo_synchro.m	(revision 17)
@@ -0,0 +1,31 @@
+function [flag]=check_boo_synchro
+% Estime amplitude sur tune synchro
+ampmax=180; % sur fft
+%ampmax=3; % sur max x en mm
+
+temp=tango_read_attribute2('BOO-C03/DG/BPM.03','XPosDD');
+X = temp.value;
+
+istart   = 20;
+nbpoints = 256;
+iend     = istart + nbpoints-1;
+Xval(1:nbpoints) = X(istart:iend);
+
+% % fft
+Xfft     = fft(Xval,nbpoints);
+PXfft    = Xfft.* conj(Xfft) / nbpoints;
+PXfft([1 2 nbpoints]) = 0; %% ???
+amp=max(PXfft(1:20));
+ampf=amp;
+
+% max X
+% Xval=Xval-mean(Xval);
+% amp=max(abs(Xval));
+
+%fprintf('%8.3f    %8.3f \n',ampf, amp)
+
+if amp>ampmax
+    flag=1;
+else
+    flag=0;
+end
Index: /trunk/machine/SOLEIL/common/synchro/display_synchro_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/display_synchro_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/display_synchro_rafale.m	(revision 17)
@@ -0,0 +1,20 @@
+function display_synchro_rafale(file)
+
+
+Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp']
+pwdold = pwd;
+cd(Directory);
+load(file)
+cd(pwdold);
+
+timing.ans_bpm01(1)
+timing.ans_k_v(1)
+    
+    timing.ans_k_v(1)-timing.ans_bpm01(1)
+
+
+    
+    
+display('OK')
+
+
Index: /trunk/machine/SOLEIL/common/synchro/do_update.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/do_update.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/do_update.m	(revision 17)
@@ -0,0 +1,25 @@
+function do_update
+
+fprintf('*****Update des 16 cartes locales******\n')
+
+r=tango_command_inout2('ANS/SY/LOCAL.SDC.1','Update');  retour_update('ANS/SY/LOCAL.SDC.1',r);
+r=tango_command_inout2('LT1/SY/LOCAL.DG.1','Update');  retour_update('LT1/SY/LOCAL.DG.1',r);
+r=tango_command_inout2('LIN/SY/LOCAL.SPM.1','Update');  retour_update('LIN/SY/LOCAL.SPM.1',r);
+
+r=tango_command_inout2('BOO/SY/LOCAL.Binj.1','Update'); retour_update('BOO/SY/LOCAL.Binj.1',r);
+r=tango_command_inout2('BOO/SY/LOCAL.Alim.1','Update'); retour_update('BOO/SY/LOCAL.Alim.1',r);
+r=tango_command_inout2('BOO/SY/LOCAL.DG.3',  'Update'); retour_update('BOO/SY/LOCAL.DG.3',r);
+r=tango_command_inout2('BOO/SY/LOCAL.Bext.1','Update'); retour_update('BOO/SY/LOCAL.Bext.1',r);
+
+r=tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1','Update'); retour_update('ANS-C01/SY/LOCAL.Ainj.1',r);
+r=tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2','Update'); retour_update('ANS-C01/SY/LOCAL.Ainj.2',r);
+r=tango_command_inout2('ANS-C02/SY/LOCAL.DG.1',  'Update'); retour_update('ANS-C02/SY/LOCAL.DG.1',r);
+r=tango_command_inout2('ANS-C04/SY/LOCAL.DG.1',  'Update'); retour_update('ANS-C04/SY/LOCAL.DG.1',r);
+r=tango_command_inout2('ANS-C06/SY/LOCAL.DG.1',  'Update'); retour_update('ANS-C06/SY/LOCAL.DG.1',r);
+r=tango_command_inout2('ANS-C08/SY/LOCAL.DG.1',  'Update'); retour_update('ANS-C08/SY/LOCAL.DG.1',r);
+r=tango_command_inout2('ANS-C10/SY/LOCAL.DG.1',  'Update'); retour_update('ANS-C10/SY/LOCAL.DG.1',r);
+r=tango_command_inout2('ANS-C12/SY/LOCAL.DG.1',  'Update'); retour_update('ANS-C12/SY/LOCAL.DG.1',r);
+r=tango_command_inout2('ANS-C14/SY/LOCAL.DG.1',  'Update'); retour_update('ANS-C14/SY/LOCAL.DG.1',r);
+r=tango_command_inout2('ANS-C16/SY/LOCAL.DG.1',  'Update'); retour_update('ANS-C16/SY/LOCAL.DG.1',r);
+
+fprintf('**************************************\n')
Index: /trunk/machine/SOLEIL/common/synchro/fire_injection.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/fire_injection.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/fire_injection.m	(revision 17)
@@ -0,0 +1,154 @@
+function [r1,r2]=fire_injection(handles)
+
+set(handles.button_injection_soft,'Enable','inactive');
+
+offset_linac=10*str2double(get(handles.lin_canon_spm_fin,'String'));     % dÃÂ©lai fin de rÃÂ©glage en pas de 100 ps
+%modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');           % mode soft ou 3Hz
+modeinj='togglebutton_3Hz';
+modecent=get(get(handles.uipanel_central_mode,'SelectedObject'),'Tag');  % mode rafale ou continu (cas 3Hz)
+modefill=get(handles.listbox_fillingmode,'Value');
+pattern= get(handles.listbox_fillingmode,'String');                      % mode de remplissage
+[clk1,clk2]=get_start_clk_rafale;                                        % get clk spare et soft initiaux
+table=handles.table;                                                     % table de dÃÂ©lais
+
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'table.mat');
+FileName = [handles.DirName 'table.mat'];
+load(FileName, 'table');     % pour palier aux handles via timer non mis ÃÂ  jour !!!!!!
+nb=table(1) ;                % Nombre de paq
+dtour=table(2:1+nb);         % delais associÃÂ©s extraction, tour booster
+paq  =table(2+nb:1+2*nb);    % delais associÃÂ©s linac, saut de paquets
+
+
+dt=1.5; % dÃÂ©lais pour acquisitions rendements
+
+%Initialise data pour les rendements
+try
+    q1=0;q2=0;n=0;
+    temp=tango_read_attribute2('ANS/DG/DCCT-CTRL','current');anscur0=temp.value;
+    %temp=tango_read_attribute2('ANS-C14/DG/DCCT','current');anscur0=temp.value;
+catch
+    disp('Erreur lecture DCCT, skipped')
+    anscur0=0;
+end
+
+boucle=int16(str2double(get(handles.edit_Ncycle,'String')));
+Ncoup=str2double(get(handles.edit_Ncoup,'String'));
+
+if strcmp(modeinj,'togglebutton_soft')
+    modeinj='Injection soft';
+    for k=1:boucle
+        for i=1:nb
+            clk_spare  =int32(clk1+dtour(i));
+            clk_soft=int32(clk2+dtour(i));
+            table0=int32([1 0 paq(i)]);
+            tango_command_inout2('ANS/SY/CENTRAL','SetTables',table0); pause(0.2)  ;
+            tango_write_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay',clk_spare);
+            tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',clk_soft);
+            tango_command_inout2('ANS/SY/CENTRAL','FireSoftEvent');
+            pause(dt)
+            [q1,q2,n]=getcharge(q1,q2,n);
+        end
+    end
+
+    % retour dÃÂ©lais initiaux
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay',clk1);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',clk2);
+
+elseif strcmp(modeinj,'togglebutton_3Hz')
+
+    if strcmp(modecent,'continuous_mode')
+
+        %             modelinac=get(get(handles.uipanel_lpm_spm_mode,'SelectedObject'),'Tag');
+        %             switch modelinac  % Get Tag of selected object
+        %                 case 'no_mode'
+        %                     event=[0 0];
+        %                 case 'lpm_mode'
+        %                     event=[2 0];
+        %                 case 'spm_mode'
+        %                     event=[0 2];
+        %             end
+        %
+        %             modeinj='Injection 3 Hz';
+        %             start_3Hz(event)
+        %             pause(Ncoup*0.340 + 0.340)
+        %             stop_3Hz
+
+    elseif strcmp(modecent,'burst_mode')
+
+        modeinj='Injection rafale';
+        tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent');
+        dtt=Ncoup*boucle*0.340 + 5;
+        pause(dtt) % durÃ©e rafale + pause lecture DCCT
+        [q1,q2,n]=getcharge(q1,q2,n);
+    end
+end
+
+% Calcul des rendements
+%pause(dt);
+try
+    temp=tango_read_attribute2('ANS/DG/DCCT-CTRL','current');anscur=temp.value;
+    %temp=tango_read_attribute2('ANS-C14/DG/DCCT','current');anscur=temp.value;
+catch
+    disp('Erreur lecture DCCT, skipped')
+    anscur=0;
+end
+%modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');
+modinj='togglebutton_3Hz';
+dcur=anscur-anscur0;
+if strcmp(modeinj,'togglebutton_soft')
+    % moyenne sur chaque tirs
+    r1=0;if (q1~=0);r1=q2/q1*100;end
+    r2=0;if (q2~=0);r2=dcur/q2*0.524*416/184*100;end
+    if(r1<0);r1=0;elseif(r1>100);r1=100;end
+    if(r2<0);r2=0;elseif(r2>100);r2=100;end
+    q1=q1/n;q2=q2/n;dcur=dcur/n;
+else
+    % estime sur dernier tir
+    r1=0;if (q1~=0);r1=q2/q1*100;end
+    r2=0;if (q2~=0);r2=dcur/Ncoup/double(boucle)/q2*0.524*416/184*100;end
+    if(r1<0);r1=0;elseif(r1>100);r1=100;end
+    if(r2<0);r2=0;elseif(r2>100);r2=100;end
+    q1=q1/n;q2=q2/n;dcur=dcur/n;
+end
+
+set(handles.edit_qlt1,'String',num2str(q1,'%5.2f'));
+set(handles.edit_iboo,'String',num2str(q2/0.524,'%5.2f'));
+set(handles.edit_dians,'String',num2str(dcur,'%5.2f'));
+set(handles.edit_rboo,'String',num2str(int16(r1)));
+set(handles.edit_rans,'String',num2str(int16(r2)));
+set(handles.edit_cycle,'String',num2str(n,'%g'));
+set(handles.edit_dians1,'String',num2str(dcur,'%5.2f'));
+set(handles.edit_courant_total,'String', num2str(anscur,'%5.2f'));
+
+try
+    temp=tango_read_attribute2('ANS/DG/BPM-tunex','Nu'); nux=temp.value;
+    temp=tango_read_attribute2('ANS/DG/BPM-tunez','Nu'); nuz=temp.value;
+    temp=tango_read_attribute2('ANS-C03/RF/lle.1','voltageRF');v1=temp.value(1);
+    temp=tango_read_attribute2('ANS-C03/RF/lle.2','voltageRF');v2=temp.value(1);
+    temp=tango_read_attribute2('ANS-C02/RF/lle.3','voltageRF');v3=temp.value(1);
+    temp=tango_read_attribute2('ANS-C02/RF/lle.4','voltageRF');v4=temp.value(1);
+    vrf=(v1+v2+v3+v4)/1000;
+catch
+    disp('Erreur lecture tunes voltage : skipped')
+    nux = NaN;
+    nuz = NaN;
+    vrf = NaN;
+end
+
+% renseigne les rendements
+try
+    tango_write_attribute2('ANS/DG/PUB-FillingMode', 'rendement_BOO',r1)
+    tango_write_attribute2('ANS/DG/PUB-FillingMode', 'rendement_ANS',r2)
+catch
+
+end
+
+txt=modeinj;
+txt(1:13)='';
+fprintf('%s  /  %s  %d Coups  %s  /  R=%5.2f %5.2f   I=%5.3f A  /  Tunes=%5.3f %5.3f  Vrf=%5.2f MV\n',...
+    datestr(clock),txt,Ncoup*boucle,pattern{modefill},r1,r2,anscur, nux,nuz,vrf);
+
+
+set(handles.button_injection_soft,'Enable','On');
+
Index: /trunk/machine/SOLEIL/common/synchro/fix_quart.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/fix_quart.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/fix_quart.m	(revision 17)
@@ -0,0 +1,13 @@
+function [clk_pc,clk_soft]=fix_quart
+% fix premier quart
+
+n=1;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');
+clk1=temp.value(n);
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+clk2=temp.value(n);
+
+jump=int32([0 39 26 13]);
+clk_pc  =jump +  int32(clk1);
+clk_soft=jump  + int32(clk2);
+
Index: /trunk/machine/SOLEIL/common/synchro/get_list_carte_synchro.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_list_carte_synchro.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_list_carte_synchro.m	(revision 17)
@@ -0,0 +1,38 @@
+function [list_carte_synchro]=get_list_carte_synchro
+
+
+list_carte_synchro{2}='LIN/SY/LOCAL.LPM.1';
+list_carte_synchro{1}='LIN/SY/LOCAL.SPM.1';
+list_carte_synchro{3}='LT1/SY/LOCAL.DG.1';
+list_carte_synchro{4}='BOO/SY/LOCAL.Binj.1';
+list_carte_synchro{5}='BOO/SY/LOCAL.Bext.1';
+list_carte_synchro{6}='BOO/SY/LOCAL.ALIM.1';
+list_carte_synchro{7}='BOO/SY/LOCAL.RF.1';
+list_carte_synchro{8}='BOO/SY/LOCAL.DG.1';
+list_carte_synchro{9}='BOO/SY/LOCAL.DG.2';
+list_carte_synchro{10}='BOO/SY/LOCAL.DG.3';
+list_carte_synchro{11}='LT2/SY/LOCAL.DG.2';
+list_carte_synchro{12}='LT2/SY/LOCAL.DG.1';
+list_carte_synchro{13}='ANS/SY/LOCAL.SDC.1';
+list_carte_synchro{14}='ANS-C01/SY/LOCAL.DG.1';
+list_carte_synchro{15}='ANS-C01/SY/LOCAL.DG.2';
+list_carte_synchro{16}='ANS-C01/SY/LOCAL.Ainj.1';
+list_carte_synchro{17}='ANS-C01/SY/LOCAL.Ainj.2';
+list_carte_synchro{18}='ANS-C01/SY/LOCAL.EP.1';
+list_carte_synchro{19}='ANS-C02/SY/LOCAL.DG.1';
+list_carte_synchro{20}='ANS-C03/SY/LOCAL.DG.1';
+list_carte_synchro{21}='ANS-C04/SY/LOCAL.DG.1';
+list_carte_synchro{22}='ANS-C05/SY/LOCAL.DG.1';
+list_carte_synchro{23}='ANS-C06/SY/LOCAL.DG.1';
+list_carte_synchro{24}='ANS-C07/SY/LOCAL.DG.1';
+list_carte_synchro{25}='ANS-C08/SY/LOCAL.DG.1';
+list_carte_synchro{26}='ANS-C09/SY/LOCAL.DG.1';
+list_carte_synchro{27}='ANS-C10/SY/LOCAL.DG.1';
+list_carte_synchro{28}='ANS-C11/SY/LOCAL.DG.1';
+list_carte_synchro{29}='ANS-C12/SY/LOCAL.DG.1';
+list_carte_synchro{30}='ANS-C13/SY/LOCAL.DG.1';
+list_carte_synchro{31}='ANS-C14/SY/LOCAL.DG.1';
+list_carte_synchro{32}='ANS-C15/SY/LOCAL.DG.1';
+list_carte_synchro{33}='ANS-C16/SY/LOCAL.DG.1';
+
+return
Index: /trunk/machine/SOLEIL/common/synchro/get_start_clk.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_start_clk.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_start_clk.m	(revision 17)
@@ -0,0 +1,11 @@
+function [clk1,clk2]=get_start_clk
+
+
+n=1;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');
+clk1=temp.value(n);
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+clk2=temp.value(n);
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/get_start_clk_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_start_clk_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_start_clk_rafale.m	(revision 17)
@@ -0,0 +1,11 @@
+function [clk1,clk2]=get_start_clk_rafale
+
+
+n=1;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');
+clk1=temp.value(n);
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+clk2=temp.value(n);
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/get_synchro_address.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_synchro_address.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_synchro_address.m	(revision 17)
@@ -0,0 +1,176 @@
+function get_synchro_address(handles)
+bug_device='Bug device';
+n=1;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+set(handles.central_spare,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+set(handles.central_inj,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+%set(handles.central_soft,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue');
+set(handles.central_ext,'String',num2str(temp.value(n)));
+
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent');
+set(handles.sdc1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+set(handles.lin_canon_lpm,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent');
+set(handles.lin_canon_spm,'String',num2str(temp.value(n)));
+%set(handles.lin_canon_spm_fin,'String','Off Set table');
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent');
+set(handles.boo_bpm,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent');
+set(handles.lt1_emittance,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event');
+set(handles.lt1_MC1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event');
+set(handles.lt1_MC2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent');
+set(handles.lt1_osc,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent');
+set(handles.boo_dcct,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent');
+set(handles.boo_nod,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent');
+set(handles.boo_inj_septum,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+set(handles.boo_inj_kicker,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpEvent');
+set(handles.boo_alim_dipole,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfEvent');
+set(handles.boo_alim_qf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdEvent');
+set(handles.boo_alim_qd,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfEvent');
+set(handles.boo_alim_sf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdEvent');
+set(handles.boo_alim_sd,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfEvent');
+set(handles.boo_rf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'compEvent');
+set(handles.boo_alim_cp,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent');
+set(handles.lin_modulateur,'String',num2str(temp.value(n)));
+
+
+
+
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent');
+set(handles.boo_ext_dof,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent');
+set(handles.boo_ext_sept_p,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent');
+set(handles.boo_ext_sept_a,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent');
+set(handles.boo_ext_kicker,'String',num2str(temp.value(n)));
+
+
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent');
+set(handles.sdc2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent');
+set(handles.lt2_emittance,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent');
+set(handles.lt2_osc,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent');
+set(handles.lt2_bpm,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigEvent');
+set(handles.ans_inj_k1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigEvent');
+set(handles.ans_inj_k2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigEvent');
+set(handles.ans_inj_k3,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigEvent');
+set(handles.ans_inj_k4,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigEvent');
+set(handles.ans_inj_sept_p,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigEvent');
+set(handles.ans_inj_sept_a,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteEvent');
+set(handles.ans_dcct,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1Event');
+set(handles.ans_fbt,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent');
+set(handles.ans_bpm_c01,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c02,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c03,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c04,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c05,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c06,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c07,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c08,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c09,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c10,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c11,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c12,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c13,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c14,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c15,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent');
+set(handles.ans_bpm_c16,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigEvent');
+try txt=num2str(temp.value(n)); catch txt='bug_device' ; end
+set(handles.ans_k_h,'String',txt);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigEvent');
+try txt=num2str(temp.value(n)); catch txt='bug_device' ; end
+set(handles.ans_k_v,'String',txt);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcEvent');
+try txt=num2str(temp.value(n)); catch txt='bug_device' ; end
+set(handles.ans_k_pc,'String',txt);
+
+return
Index: /trunk/machine/SOLEIL/common/synchro/get_synchro_attribut.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_synchro_attribut.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_synchro_attribut.m	(revision 17)
@@ -0,0 +1,32 @@
+function [timing]=get_synchro_attribut
+% make a timing structure 
+% timing.name
+% timing.list (table de 4 attributs par n delais)
+
+n1=21 ; % skip n1 first  attribut not relevant
+n2=2  ; % skip last n2 attribut not relevant
+
+% get liste des cartestiming(i).name=name;
+[list_carte_synchro]=get_list_carte_synchro;
+nc=length(list_carte_synchro);
+
+timing=[];
+for k=2:nc
+    
+    name=list_carte_synchro{k};
+    list_at=tango_get_attribute_list(name);
+    n=length(list_at)-n2;list_at=list_at(n1:n);
+    %fprintf('%s\n',name)
+    list=[];
+    for i=1:4:length(list_at)
+        %fprintf('   %s  %s   %s  %s\n',list_at{i:i+3})
+        list=[list ; [list_at(i:i+3)]];
+    end
+    
+    % make stucture
+    timing(k).name=name;
+    timing(k).list=list;
+    
+end
+
+return
Index: /trunk/machine/SOLEIL/common/synchro/get_synchro_delay.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_synchro_delay.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_synchro_delay.m	(revision 17)
@@ -0,0 +1,232 @@
+function get_synchro_delay(handles)
+bug_device='Bug device';
+n=1;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+set(handles.central_spare,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+set(handles.central_inj,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+set(handles.central_soft,'String',num2str(temp.value(n)));
+%set(handles.central_soft1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue');
+set(handles.central_ext,'String',num2str(temp.value(n)));
+
+
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.sdc1,'String',txt);
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.lin_modulateur,'String',txt);
+
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.lin_canon_lpm,'String',txt);
+
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.lin_canon_spm,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.boo_bpm,'String',txt);
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.lt1_emittance,'String',txt);
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.lt1_MC1,'String',txt);
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.lt1_MC2,'String',txt);
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.lt1_osc,'String',txt);
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.boo_dcct,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.boo_nod,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.boo_inj_septum,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-inj_offset); catch txt=bug_device ; end
+set(handles.boo_inj_kicker,'String',txt);
+
+
+
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_alim_dipole,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_alim_qf,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_alim_qd,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_alim_sf,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_alim_sd,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_rf,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'compTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_alim_cp,'String',txt);
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.boo_ext_dof,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.boo_ext_sept_p,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.boo_ext_sept_a,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.boo_ext_kicker,'String',txt);
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.sdc2,'String',txt);
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.lt2_emittance,'String',txt);
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.lt2_osc,'String',txt);
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.lt2_bpm,'String',txt);
+
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_inj_k1,'String',txt);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_inj_k2,'String',txt);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_inj_k3,'String',txt);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_inj_k4,'String',txt);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_inj_sept_p,'String',txt);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_inj_sept_a,'String',txt);
+
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_dcct,'String',txt);
+
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1TimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_fbt,'String',txt);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c01,'String',txt);
+temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c02,'String',txt);
+temp=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c03,'String',txt);
+temp=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c04,'String',txt);
+temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c05,'String',txt);
+temp=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c06,'String',txt);
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c07,'String',txt);
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c08,'String',txt);
+temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c09,'String',txt);
+temp=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c10,'String',txt);
+temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c11,'String',txt);
+temp=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c12,'String',txt);
+temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c13,'String',txt);
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c14,'String',txt);
+temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c15,'String',txt);
+temp=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_bpm_c16,'String',txt);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_k_h,'String',txt);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_k_v,'String',txt);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_k_pc,'String',txt);
Index: /trunk/machine/SOLEIL/common/synchro/get_synchro_delay_nooffset.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_synchro_delay_nooffset.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_synchro_delay_nooffset.m	(revision 17)
@@ -0,0 +1,175 @@
+function get_synchro_delay_nooffset(handles)
+n=1;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+set(handles.central_spare,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+set(handles.central_inj,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+%set(handles.central_soft,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue');
+set(handles.central_ext,'String',num2str(temp.value(n)));
+
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay');
+set(handles.sdc1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay');
+set(handles.lin_canon_lpm,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacTimeDelay');
+set(handles.lin_canon_spm,'String',num2str(temp.value(n)));
+
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay');
+set(handles.boo_bpm,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay');
+set(handles.lt1_emittance,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay');
+set(handles.lt1_MC1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay');
+set(handles.lt1_MC2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay');
+set(handles.lt1_osc,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay');
+set(handles.boo_dcct,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay');
+set(handles.boo_nod,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay');
+set(handles.boo_inj_septum,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay');
+set(handles.boo_inj_kicker,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay');
+set(handles.boo_alim_dipole,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay');
+set(handles.boo_alim_qf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay');
+set(handles.boo_alim_qd,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay');
+set(handles.boo_alim_sf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay');
+set(handles.boo_alim_sd,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay');
+set(handles.boo_rf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'compTimeDelay');
+set(handles.boo_alim_cp,'String',num2str(temp.value(n)));
+
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+set(handles.lin_modulateur,'String',num2str(temp.value(n)));
+
+
+
+
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay');
+set(handles.boo_ext_dof,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay');
+set(handles.boo_ext_sept_p,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay');
+set(handles.boo_ext_sept_a,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay');
+set(handles.boo_ext_kicker,'String',num2str(temp.value(n)));
+
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay');
+set(handles.sdc2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay');
+set(handles.lt2_emittance,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay');
+set(handles.lt2_osc,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay');
+set(handles.lt2_bpm,'String',num2str(temp.value(n)));
+
+
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay');
+set(handles.ans_inj_k1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay');
+set(handles.ans_inj_k2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay');
+set(handles.ans_inj_k3,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay');
+set(handles.ans_inj_k4,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay');
+set(handles.ans_inj_sept_p,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay');
+set(handles.ans_inj_sept_a,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTimeDelay');
+set(handles.ans_dcct,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1TimeDelay');
+set(handles.ans_fbt,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c01,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c02,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c03,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c04,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c05,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c06,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c07,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c08,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c09,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c10,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c11,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c12,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c13,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c14,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c15,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTimeDelay');
+set(handles.ans_bpm_c16,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigTimeDelay');
+try txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.ans_k_h,'String',txt);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigTimeDelay');
+try txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.ans_k_v,'String',txt);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcTimeDelay');
+try txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.ans_k_pc,'String',txt);
Index: /trunk/machine/SOLEIL/common/synchro/get_synchro_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_synchro_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_synchro_rafale.m	(revision 17)
@@ -0,0 +1,273 @@
+function [timing]=get_synchro_rafale(DirName)
+% step and address
+
+n=1;
+% central
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');
+timing.central_pc=temp.value(n);
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay');
+timing.central_inj=temp.value(n);
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+timing.central_soft=temp.value(n);
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');
+timing.central_spare=temp.value(n);
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+timing.central_ext=temp.value(n);
+
+
+
+% continu
+% alim
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpEvent');
+timing.boo_dp=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfEvent');
+timing.boo_qf=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdEvent');
+timing.boo_qd=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfEvent');
+timing.boo_sf=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdEvent');
+timing.boo_sd=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'compStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'compEvent');
+timing.boo_cp=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfEvent');
+timing.boo_rf=[temp.value(n) double(temp1.value(n))];
+
+% modulateur/alim linac
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareStepDelay');
+temp1=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent');
+timing.lin_modulateur=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'libre.1StepDelay');
+temp1=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'libre.1Event');
+timing.lin_alim=[temp.value(n) double(temp1.value(n))];
+
+% Linac
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'oscStepDelay');
+temp1=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent');
+timing.sdc1=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmStepDelay');
+temp1=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+timing.lin_lpm=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacStepDelay');
+temp1=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent');
+timing.lin_spm=[temp.value(n) double(temp1.value(n))];
+
+
+% LT1
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceStepDelay');
+temp1=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent');
+timing.lt1_emittance=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1StepDelay');
+temp1=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event');
+timing.lt1_mc1=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2StepDelay');
+temp1=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event');
+timing.lt1_mc2=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'oscStepDelay');
+temp1=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent');
+timing.lt1_osc=[temp.value(n) double(temp1.value(n))];
+
+
+
+% Boo
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booStepDelay');
+temp1=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent');
+timing.boo_dcct=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent');
+timing.boo_sep_p_inj=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+timing.boo_k_inj=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent');
+timing.boo_bpm=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent');
+timing.boo_nod=[temp.value(n) double(temp1.value(n))];
+
+
+
+% ext
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent');
+timing.boo_dof_ext=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent');
+timing.boo_sep_p_ext=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent');
+timing.boo_sep_a_ext=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigStepDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent');
+timing.boo_k_ext=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'spareStepDelay');
+temp1=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent');
+timing.sdc2=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay');
+temp1=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent');
+timing.boo_mrsv=[temp.value(n) double(temp1.value(n))];
+
+
+% LT2
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvStepDelay');
+temp1=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent');
+timing.lt2_emittance=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctStepDelay');
+temp1=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent');
+timing.lt2_osc=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent');
+timing.lt2_bpm=[temp.value(n) double(temp1.value(n))];
+
+
+% ANS
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigEvent');
+timing.ans_k1_inj=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigEvent');
+timing.ans_k2_inj=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigEvent');
+timing.ans_k3_inj=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigEvent');
+timing.ans_k4_inj=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigEvent');
+timing.ans_sep_p_inj=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigEvent');
+timing.ans_sep_a_inj=[temp.value(n) double(temp1.value(n))];
+
+
+
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent');
+timing.ans_bpm01=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm02=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm03=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm04=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm05=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm06=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm07=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm08=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm09=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm10=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm11=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm12=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm13=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm14=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm15=[temp.value(n) double(temp1.value(n))];
+temp=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent');
+timing.ans_bpm16=[temp.value(n) double(temp1.value(n))];
+
+%
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteStepDelay');
+temp1=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteEvent');
+timing.ans_dcct=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.pmTimeDelay');
+temp1=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.pmEvent');
+timing.ans_nod=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1StepDelay');
+temp1=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1Event');
+timing.ans_fbt=[temp.value(n) double(temp1.value(n))];
+
+
+% kicker machine
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcEvent');
+timing.ans_k_hv_pc=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigEvent');
+timing.ans_k_v=[temp.value(n) double(temp1.value(n))];
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay');
+temp1=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigEvent');
+timing.ans_k_h=[temp.value(n) double(temp1.value(n))];
+
+
+
+% offset
+FileName = [DirName 'synchro_offset_lin'];
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+
+timing.inj_offset=inj_offset;
+timing.ext_offset=ext_offset;
+timing.lin_fin   =lin_fin;
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/get_synchro_trigstatus.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_synchro_trigstatus.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_synchro_trigstatus.m	(revision 17)
@@ -0,0 +1,164 @@
+function get_synchro_trigstatus(handles)
+
+n=1;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+set(handles.central_spare,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+set(handles.central_inj,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+%set(handles.central_soft,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue');
+set(handles.central_ext,'String',num2str(temp.value(n)));
+
+
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTrigStatus');
+set(handles.sdc1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTrigStatus');
+set(handles.lin_canon_lpm,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTrigStatus');
+set(handles.boo_bpm,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTrigStatus');
+set(handles.lt1_emittance,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TrigStatus');
+set(handles.lt1_MC1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TrigStatus');
+set(handles.lt1_MC2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'oscTrigStatus');
+set(handles.lt1_osc,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTrigStatus');
+set(handles.boo_dcct,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTrigStatus');
+set(handles.boo_nod,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTrigStatus');
+set(handles.boo_inj_septum,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTrigStatus');
+set(handles.boo_inj_kicker,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTrigStatus');
+set(handles.boo_alim_dipole,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTrigStatus');
+set(handles.boo_alim_qf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTrigStatus');
+set(handles.boo_alim_qd,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTrigStatus');
+set(handles.boo_alim_sf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTrigStatus');
+set(handles.boo_alim_sd,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfTrigStatus');
+set(handles.boo_rf,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.ALIM.1', 'compTrigStatus');
+set(handles.boo_alim_cp,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTrigStatus');
+set(handles.lin_modulateur,'String',num2str(temp.value(n)));
+
+
+
+
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTrigStatus');
+set(handles.boo_ext_dof,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTrigStatus');
+set(handles.boo_ext_sept_p,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTrigStatus');
+set(handles.boo_ext_sept_a,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTrigStatus');
+set(handles.boo_ext_kicker,'String',num2str(temp.value(n)));
+
+
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTrigStatus');
+set(handles.sdc2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTrigStatus');
+set(handles.lt2_emittance,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTrigStatus');
+set(handles.lt2_osc,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTrigStatus');
+set(handles.lt2_bpm,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTrigStatus');
+set(handles.ans_inj_k1,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTrigStatus');
+set(handles.ans_inj_k2,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTrigStatus');
+set(handles.ans_inj_k3,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTrigStatus');
+set(handles.ans_inj_k4,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTrigStatus');
+set(handles.ans_inj_sept_p,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTrigStatus');
+set(handles.ans_inj_sept_a,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTrigStatus');
+set(handles.ans_dcct,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1TrigStatus');
+set(handles.ans_fbt,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.pmTrigStatus');
+set(handles.ans_nod,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c01,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c02,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c03,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c04,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c05,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c06,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c07,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c08,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c09,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c10,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c11,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c12,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c13,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c14,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c15,'String',num2str(temp.value(n)));
+temp=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTrigStatus');
+set(handles.ans_bpm_c16,'String',num2str(temp.value(n)));
Index: /trunk/machine/SOLEIL/common/synchro/get_synchro_value.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/get_synchro_value.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/get_synchro_value.m	(revision 17)
@@ -0,0 +1,39 @@
+function [timing]=get_synchro_value
+% complet timing structure with value
+% timing.name
+% timing.list    (table de 4 attributs par n delais)
+% timing.value   according to list
+
+% get list
+[timing]=get_synchro_attribut;
+nc=length(timing);
+
+
+
+m=1; % valeur lue 
+for k=2:nc
+    
+    name=timing(k).name;
+    list=timing(k).list;
+    n=size(list);
+    ndelais=n(1) ; % nombre de dÃ©lais
+    ndata =n(2);  % nombre d'attribut par dÃ©lais
+    fprintf('%s   %d  dÃ©lais\n',name,ndelais)
+    
+    value=[];
+    for i=1:ndelais
+        val=[];
+        for j=1:ndata-1
+            temp=tango_read_attribute2(name, list{i,j});
+            val=[val double(temp.value(m))];
+        end
+        value=[value ; val];
+    end
+    
+    
+    % complete stucture
+    timing(k).value=value;
+    
+end
+
+return
Index: /trunk/machine/SOLEIL/common/synchro/getcharge.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/getcharge.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/getcharge.m	(revision 17)
@@ -0,0 +1,9 @@
+function  [q1,q2,n]=getcharge(q1,q2,n)
+% calcul efficacitÃ©
+
+temp=tango_read_attribute2('LT1/DG/MC','qIct2');        lt1charge=temp.value;
+temp=tango_read_attribute2('BOO-C01/DG/DCCT','qExt');   boocharge=-temp.value;
+q1=q1+lt1charge ;
+q2=q2+(boocharge+0.225);  %  offset 0.15 le 5-5-2008     0.09 avant 
+n=n+1;
+
Index: /trunk/machine/SOLEIL/common/synchro/hs_err_pid20710.log
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/hs_err_pid20710.log	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/hs_err_pid20710.log	(revision 17)
@@ -0,0 +1,947 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  Internal Error (53484152454432554E54494D450E43505001A1), pid=20710, tid=28429216
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x0a1b47c0):  JavaThread "Finalizer" daemon [_thread_in_Java, id=20757]
+
+Stack: [0x01a9c000,0x01b1d000),  sp=0x0a140374,  free space=137872k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+V  [libjvm.so+0x2dcf73]
+V  [libjvm.so+0x119d6c]
+V  [libjvm.so+0x285854]
+V  [libjvm.so+0x258d7c]
+C  [libmwjmi.so+0x1aec4]
+C  [libmwservices.so+0x7399c]  _Z28svRunFirstCrackSignalHandleriP7siginfoPv+0x2c
+C  [libmwmcr.so+0x26b91]
+
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0xa55ead20 JavaThread "Thread-32" [_thread_blocked, id=28884]
+  0xa65ba800 JavaThread "Thread-31" [_thread_blocked, id=25109]
+  0xa5b66a38 JavaThread "Prefs Updater" [_thread_blocked, id=25108]
+  0xa63f1ab8 JavaThread "Timer-8" [_thread_blocked, id=23309]
+  0xa5441cc8 JavaThread "Thread-14" [_thread_blocked, id=20791]
+  0xa676a3b0 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=20776]
+  0xa6757638 JavaThread "Timer-1" daemon [_thread_blocked, id=20775]
+  0x0a8277a0 JavaThread "TimerQueue" daemon [_thread_blocked, id=20772]
+  0xa67005b8 JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=20766]
+  0xa6702590 JavaThread "AWT-Shutdown" [_thread_blocked, id=20765]
+  0x0a784c50 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=20764]
+  0x0a77c4e0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=20763]
+  0x0a2f2450 JavaThread "Timer-0" [_thread_blocked, id=20762]
+  0x0a1c0d50 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=20760]
+  0x0a1bf7b0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=20759]
+  0x0a1be8f8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=20758]
+=>0x0a1b47c0 JavaThread "Finalizer" daemon [_thread_in_Java, id=20757]
+  0x0a1b3aa8 JavaThread "Reference Handler" daemon [_thread_blocked, id=20756]
+  0x0a1583b8 JavaThread "main" [_thread_blocked, id=20710]
+
+Other Threads:
+  0x0a1af7a8 VMThread [id=20755]
+  0x0a1c2230 WatcherThread [id=20761]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 14848K, used 699K [0xa8760000, 0xa9770000, 0xa9f60000)
+  eden space 13248K,   1% used [0xa8760000, 0xa879bb50, 0xa9450000)
+  from space 1600K,  28% used [0xa95e0000, 0xa9653398, 0xa9770000)
+  to   space 1600K,   0% used [0xa9450000, 0xa9450000, 0xa95e0000)
+ tenured generation   total 49152K, used 12681K [0xa9f60000, 0xacf60000, 0xae760000)
+   the space 49152K,  25% used [0xa9f60000, 0xaabc27a8, 0xaabc2800, 0xacf60000)
+ compacting perm gen  total 23040K, used 22896K [0xae760000, 0xafde0000, 0xb0760000)
+   the space 23040K,  99% used [0xae760000, 0xafdbc1a0, 0xafdbc200, 0xafde0000)
+No shared spaces configured.
+
+Dynamic libraries:
+00111000-0016a000 r-xp 00000000 00:13 353021     /usr/Local/matlabR2007a/bin/glnx86/libmx.so
+0016a000-00172000 rw-p 00059000 00:13 353021     /usr/Local/matlabR2007a/bin/glnx86/libmx.so
+00172000-0019c000 r-xp 00000000 00:13 352989     /usr/Local/matlabR2007a/bin/glnx86/libmwmcr.so
+0019c000-001a1000 rw-p 00029000 00:13 352989     /usr/Local/matlabR2007a/bin/glnx86/libmwmcr.so
+001a1000-001a6000 rw-p 001a1000 00:00 0 
+001a6000-001b4000 r-xp 00000000 fd:00 6144915    /lib/tls/libpthread-2.3.4.so
+001b4000-001b5000 r--p 0000d000 fd:00 6144915    /lib/tls/libpthread-2.3.4.so
+001b5000-001b6000 rw-p 0000e000 fd:00 6144915    /lib/tls/libpthread-2.3.4.so
+001b6000-001b8000 rw-p 001b6000 00:00 0 
+001b8000-00277000 r-xp 00000000 00:13 355799     /usr/Local/matlabR2007a/sys/os/glnx86/libstdc++.so.6.0.8
+00277000-00290000 rw-p 000bf000 00:13 355799     /usr/Local/matlabR2007a/sys/os/glnx86/libstdc++.so.6.0.8
+00290000-00295000 rw-p 00290000 00:00 0 
+00295000-00296000 r-xp 00000000 00:13 352898     /usr/Local/matlabR2007a/bin/glnx86/libicudata.so.32.0
+00296000-00297000 rw-p 00000000 00:13 352898     /usr/Local/matlabR2007a/bin/glnx86/libicudata.so.32.0
+00297000-002a1000 r-xp 00000000 00:13 352902     /usr/Local/matlabR2007a/bin/glnx86/libicuio.so.32.0
+002a1000-002a2000 rw-p 00009000 00:13 352902     /usr/Local/matlabR2007a/bin/glnx86/libicuio.so.32.0
+002a2000-002b0000 r-xp 00000000 00:13 353053     /usr/Local/matlabR2007a/bin/glnx86/libz.so.1.1.4
+002b0000-002b2000 rw-p 0000e000 00:13 353053     /usr/Local/matlabR2007a/bin/glnx86/libz.so.1.1.4
+002b2000-00323000 r-xp 00000000 00:13 352981     /usr/Local/matlabR2007a/bin/glnx86/libmwmathutil.so
+00323000-00328000 rw-p 00070000 00:13 352981     /usr/Local/matlabR2007a/bin/glnx86/libmwmathutil.so
+00328000-00333000 r-xp 00000000 00:13 352909     /usr/Local/matlabR2007a/bin/glnx86/libmex.so
+00333000-00335000 rw-p 0000b000 00:13 352909     /usr/Local/matlabR2007a/bin/glnx86/libmex.so
+00335000-00339000 r-xp 00000000 00:13 353013     /usr/Local/matlabR2007a/bin/glnx86/libmwuinone.so
+00339000-0033a000 rw-p 00004000 00:13 353013     /usr/Local/matlabR2007a/bin/glnx86/libmwuinone.so
+0033a000-00477000 r-xp 00000000 00:13 353005     /usr/Local/matlabR2007a/bin/glnx86/libmwservices.so
+00477000-00491000 rw-p 0013d000 00:13 353005     /usr/Local/matlabR2007a/bin/glnx86/libmwservices.so
+00491000-004a6000 rw-p 00491000 00:00 0 
+004a6000-004bb000 r-xp 00000000 00:13 352995     /usr/Local/matlabR2007a/bin/glnx86/libmwmpath.so
+004bb000-004be000 rw-p 00015000 00:13 352995     /usr/Local/matlabR2007a/bin/glnx86/libmwmpath.so
+004be000-004c0000 rw-p 004be000 00:00 0 
+004c0000-004d9000 r-xp 00000000 00:13 352907     /usr/Local/matlabR2007a/bin/glnx86/libmat.so
+004d9000-004dd000 rw-p 00019000 00:13 352907     /usr/Local/matlabR2007a/bin/glnx86/libmat.so
+004dd000-004df000 r-xp 00000000 00:13 353059     /usr/Local/matlabR2007a/bin/glnx86/mklcompat.so
+004df000-004e0000 rw-p 00001000 00:13 353059     /usr/Local/matlabR2007a/bin/glnx86/mklcompat.so
+004e0000-004f2000 r-xp 00000000 00:13 352915     /usr/Local/matlabR2007a/bin/glnx86/libmwbridge.so
+004f2000-004f6000 rw-p 00012000 00:13 352915     /usr/Local/matlabR2007a/bin/glnx86/libmwbridge.so
+004f6000-004fb000 rw-p 004f6000 00:00 0 
+004fb000-005d1000 r-xp 00000000 00:13 352905     /usr/Local/matlabR2007a/bin/glnx86/libicuuc.so.32.0
+005d1000-005d8000 rw-p 000d6000 00:13 352905     /usr/Local/matlabR2007a/bin/glnx86/libicuuc.so.32.0
+005d8000-00610000 r-xp 00000000 fd:00 3247518    /usr/lib/libncurses.so.5.4
+00610000-00618000 rw-p 00038000 fd:00 3247518    /usr/lib/libncurses.so.5.4
+00618000-00619000 rw-p 00618000 00:00 0 
+00619000-0061f000 r-xp 00000000 00:13 352979     /usr/Local/matlabR2007a/bin/glnx86/libmwmathrng.so
+0061f000-00620000 rw-p 00005000 00:13 352979     /usr/Local/matlabR2007a/bin/glnx86/libmwmathrng.so
+00620000-00621000 rw-p 00620000 00:00 0 
+00621000-00628000 r-xp 00000000 fd:00 3259694    /usr/X11R6/lib/libXp.so.6.2
+00628000-00629000 rw-p 00006000 fd:00 3259694    /usr/X11R6/lib/libXp.so.6.2
+00629000-0062a000 r--p 00629000 00:00 0 
+0062a000-00634000 r-xp 00000000 00:13 355795     /usr/Local/matlabR2007a/sys/os/glnx86/libgcc_s.so.1
+00634000-00635000 rw-p 00009000 00:13 355795     /usr/Local/matlabR2007a/sys/os/glnx86/libgcc_s.so.1
+00635000-00648000 r-xp 00000000 00:13 352939     /usr/Local/matlabR2007a/bin/glnx86/libmwdatasvcs.so
+00648000-0064c000 rw-p 00012000 00:13 352939     /usr/Local/matlabR2007a/bin/glnx86/libmwdatasvcs.so
+0064c000-00655000 r-xp 00000000 00:13 352991     /usr/Local/matlabR2007a/bin/glnx86/libmwmlib.so
+00655000-00656000 rw-p 00009000 00:13 352991     /usr/Local/matlabR2007a/bin/glnx86/libmwmlib.so
+00656000-00660000 r-xp 00000000 00:13 352879     /usr/Local/matlabR2007a/bin/glnx86/libboost_thread-gcc-mt-1_33_1.so.1.33.1
+00660000-00662000 rw-p 00009000 00:13 352879     /usr/Local/matlabR2007a/bin/glnx86/libboost_thread-gcc-mt-1_33_1.so.1.33.1
+00662000-006fe000 r-xp 00000000 00:13 353047     /usr/Local/matlabR2007a/bin/glnx86/libut.so
+006fe000-00713000 rw-p 0009c000 00:13 353047     /usr/Local/matlabR2007a/bin/glnx86/libut.so
+00713000-00744000 rw-p 00713000 00:00 0 
+00744000-00863000 r-xp 00000000 00:13 352899     /usr/Local/matlabR2007a/bin/glnx86/libicui18n.so.32.0
+00863000-00868000 rw-p 0011e000 00:13 352899     /usr/Local/matlabR2007a/bin/glnx86/libicui18n.so.32.0
+00868000-008ee000 r-xp 00000000 00:13 353009     /usr/Local/matlabR2007a/bin/glnx86/libmwudd.so
+008ee000-0090e000 rw-p 00085000 00:13 353009     /usr/Local/matlabR2007a/bin/glnx86/libmwudd.so
+0090e000-00911000 rw-p 0090e000 00:00 0 
+00911000-00964000 r-xp 00000000 00:13 353011     /usr/Local/matlabR2007a/bin/glnx86/libmwudd_mi.so
+00964000-00972000 rw-p 00053000 00:13 353011     /usr/Local/matlabR2007a/bin/glnx86/libmwudd_mi.so
+00972000-00973000 rw-p 00972000 00:00 0 
+00973000-0098c000 r-xp 00000000 00:13 353001     /usr/Local/matlabR2007a/bin/glnx86/libmwprofiler.so
+0098c000-0098f000 rw-p 00019000 00:13 353001     /usr/Local/matlabR2007a/bin/glnx86/libmwprofiler.so
+0098f000-009a1000 r-xp 00000000 00:13 352977     /usr/Local/matlabR2007a/bin/glnx86/libmwm_pcodeio.so
+009a1000-009a3000 rw-p 00012000 00:13 352977     /usr/Local/matlabR2007a/bin/glnx86/libmwm_pcodeio.so
+009a3000-009a9000 r-xp 00000000 00:13 352923     /usr/Local/matlabR2007a/bin/glnx86/libmwcolamd.so
+009a9000-009aa000 rw-p 00006000 00:13 352923     /usr/Local/matlabR2007a/bin/glnx86/libmwcolamd.so
+009aa000-009ab000 r-xp 00000000 fd:00 3359987    /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
+009ab000-009ac000 rw-p 00000000 fd:00 3359987    /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
+009ac000-009ad000 r-xp 00000000 00:18 627879     /home/matlabML/at/simulator/element/IdentityPass.mexglx
+009ad000-009ae000 rw-p 00000000 00:18 627879     /home/matlabML/at/simulator/element/IdentityPass.mexglx
+009ae000-009b6000 r-xp 00000000 fd:00 6144896    /lib/tls/librt-2.3.4.so
+009b6000-009b7000 r--p 00007000 fd:00 6144896    /lib/tls/librt-2.3.4.so
+009b7000-009b8000 rw-p 00008000 fd:00 6144896    /lib/tls/librt-2.3.4.so
+009b8000-009c2000 rw-p 009b8000 00:00 0 
+009c2000-00ab7000 r-xp 00000000 00:13 352987     /usr/Local/matlabR2007a/bin/glnx86/libmwmcos.so
+00ab7000-00ae7000 rw-p 000f5000 00:13 352987     /usr/Local/matlabR2007a/bin/glnx86/libmwmcos.so
+00ae7000-00afe000 r-xp 00000000 00:13 352975     /usr/Local/matlabR2007a/bin/glnx86/libmwm_pcodegen.so
+00afe000-00b01000 rw-p 00016000 00:13 352975     /usr/Local/matlabR2007a/bin/glnx86/libmwm_pcodegen.so
+00b01000-00b0f000 r-xp 00000000 00:13 352878     /usr/Local/matlabR2007a/bin/glnx86/libboost_filesystem-gcc-mt-1_33_1.so.1.33.1
+00b0f000-00b11000 rw-p 0000e000 00:13 352878     /usr/Local/matlabR2007a/bin/glnx86/libboost_filesystem-gcc-mt-1_33_1.so.1.33.1
+00b11000-00b1e000 r-xp 00000000 fd:00 3254854    /usr/X11R6/lib/libXext.so.6.4
+00b1e000-00b1f000 rw-p 0000c000 fd:00 3254854    /usr/X11R6/lib/libXext.so.6.4
+00b1f000-00b25000 r-xp 00000000 00:13 354864     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads/libhpi.so
+00b25000-00b26000 rw-p 00006000 00:13 354864     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads/libhpi.so
+00b26000-00b3c000 r-xp 00000000 fd:00 6144911    /lib/ld-2.3.4.so
+00b3c000-00b3d000 r--p 00015000 fd:00 6144911    /lib/ld-2.3.4.so
+00b3d000-00b3e000 rw-p 00016000 fd:00 6144911    /lib/ld-2.3.4.so
+00b3e000-00b3f000 r-xp 00000000 00:18 627863     /home/matlabML/at/simulator/element/AperturePass.mexglx
+00b3f000-00b40000 rw-p 00000000 00:18 627863     /home/matlabML/at/simulator/element/AperturePass.mexglx
+00b40000-00c66000 r-xp 00000000 fd:00 6144912    /lib/tls/libc-2.3.4.so
+00c66000-00c68000 r--p 00125000 fd:00 6144912    /lib/tls/libc-2.3.4.so
+00c68000-00c6a000 rw-p 00127000 fd:00 6144912    /lib/tls/libc-2.3.4.so
+00c6a000-00c6c000 rw-p 00c6a000 00:00 0 
+00c6c000-00c6d000 r-xp 00000000 00:18 627875     /home/matlabML/at/simulator/element/DriftPass.mexglx
+00c6d000-00c6e000 rw-p 00000000 00:18 627875     /home/matlabML/at/simulator/element/DriftPass.mexglx
+00c6e000-00c8f000 r-xp 00000000 fd:00 6144913    /lib/tls/libm-2.3.4.so
+00c8f000-00c90000 r--p 00020000 fd:00 6144913    /lib/tls/libm-2.3.4.so
+00c90000-00c91000 rw-p 00021000 fd:00 6144913    /lib/tls/libm-2.3.4.so
+00c91000-00c92000 r-xp 00000000 00:18 627873     /home/matlabML/at/simulator/element/CorrectorPass.mexglx
+00c92000-00c93000 rw-p 00001000 00:18 627873     /home/matlabML/at/simulator/element/CorrectorPass.mexglx
+00c93000-00c95000 r-xp 00000000 fd:00 6144914    /lib/libdl-2.3.4.so
+00c95000-00c96000 r--p 00001000 fd:00 6144914    /lib/libdl-2.3.4.so
+00c96000-00c97000 rw-p 00002000 fd:00 6144914    /lib/libdl-2.3.4.so
+00c97000-00cd1000 r-xp 00000000 00:13 352971     /usr/Local/matlabR2007a/bin/glnx86/libmwm_ir.so
+00cd1000-00cda000 rw-p 00039000 00:13 352971     /usr/Local/matlabR2007a/bin/glnx86/libmwm_ir.so
+00cda000-00cdc000 r-xp 00000000 00:13 353027     /usr/Local/matlabR2007a/bin/glnx86/libnativejava.so
+00cdc000-00cdd000 rw-p 00001000 00:13 353027     /usr/Local/matlabR2007a/bin/glnx86/libnativejava.so
+00cdd000-00cdf000 r-xp 00000000 00:13 353035     /usr/Local/matlabR2007a/bin/glnx86/libnativeservices.so
+00cdf000-00ce0000 rw-p 00001000 00:13 353035     /usr/Local/matlabR2007a/bin/glnx86/libnativeservices.so
+00ce1000-00cea000 r-xp 00000000 00:13 352957     /usr/Local/matlabR2007a/bin/glnx86/libmwiqm.so
+00cea000-00cec000 rw-p 00008000 00:13 352957     /usr/Local/matlabR2007a/bin/glnx86/libmwiqm.so
+00cec000-00d15000 r-xp 00000000 00:13 352951     /usr/Local/matlabR2007a/bin/glnx86/libmwhardcopy.so
+00d15000-00d19000 rw-p 00028000 00:13 352951     /usr/Local/matlabR2007a/bin/glnx86/libmwhardcopy.so
+00d19000-00d20000 r-xp 00000000 00:13 352911     /usr/Local/matlabR2007a/bin/glnx86/libmwamd.so
+00d20000-00d21000 rw-p 00006000 00:13 352911     /usr/Local/matlabR2007a/bin/glnx86/libmwamd.so
+00d21000-00d29000 r-xp 00000000 fd:00 3251630    /usr/X11R6/lib/libSM.so.6.0
+00d29000-00d2a000 rw-p 00007000 fd:00 3251630    /usr/X11R6/lib/libSM.so.6.0
+00d2a000-00d33000 r-xp 00000000 fd:00 6144050    /lib/libnss_files-2.3.4.so
+00d33000-00d34000 r--p 00008000 fd:00 6144050    /lib/libnss_files-2.3.4.so
+00d34000-00d35000 rw-p 00009000 fd:00 6144050    /lib/libnss_files-2.3.4.so
+00d35000-00d38000 r-xp 00000000 00:13 353033     /usr/Local/matlabR2007a/bin/glnx86/libnativemlint.so
+00d38000-00d39000 rw-p 00002000 00:13 353033     /usr/Local/matlabR2007a/bin/glnx86/libnativemlint.so
+00d39000-00d3b000 r-xp 00000000 00:13 353031     /usr/Local/matlabR2007a/bin/glnx86/libnativelex.so
+00d3b000-00d3c000 rw-p 00001000 00:13 353031     /usr/Local/matlabR2007a/bin/glnx86/libnativelex.so
+00d3c000-00d46000 r-xp 00000000 00:13 352961     /usr/Local/matlabR2007a/bin/glnx86/libmwir_xfmr.so
+00d46000-00d47000 rw-p 0000a000 00:13 352961     /usr/Local/matlabR2007a/bin/glnx86/libmwir_xfmr.so
+00d47000-00d5c000 r-xp 00000000 fd:00 3260293    /usr/X11R6/lib/libICE.so.6.3
+00d5c000-00d5d000 rw-p 00014000 fd:00 3260293    /usr/X11R6/lib/libICE.so.6.3
+00d5d000-00d5f000 rw-p 00d5d000 00:00 0 
+00d5f000-00d67000 r-xp 00000000 fd:00 3254857    /usr/X11R6/lib/libXcursor.so.1.0.2
+00d67000-00d68000 rw-p 00007000 fd:00 3254857    /usr/X11R6/lib/libXcursor.so.1.0.2
+00d68000-00d6a000 r-xp 00000000 00:13 364176     /usr/Local/matlabR2007a/toolbox/matlab/datafun/sortrowsc.mexglx
+00d6a000-00d6b000 rw-p 00002000 00:13 364176     /usr/Local/matlabR2007a/toolbox/matlab/datafun/sortrowsc.mexglx
+00d6b000-00d9e000 r-xp 00000000 00:13 352963     /usr/Local/matlabR2007a/bin/glnx86/libmwjmi.so
+00d9e000-00da6000 rw-p 00033000 00:13 352963     /usr/Local/matlabR2007a/bin/glnx86/libmwjmi.so
+00da6000-00da7000 rw-p 00da6000 00:00 0 
+00da7000-00e44000 r-xp 00000000 00:13 352949     /usr/Local/matlabR2007a/bin/glnx86/libmwgui.so
+00e44000-00e85000 rw-p 0009d000 00:13 352949     /usr/Local/matlabR2007a/bin/glnx86/libmwgui.so
+00e85000-00e86000 rw-p 00e85000 00:00 0 
+00e86000-00ed3000 r-xp 00000000 fd:00 3252555    /usr/X11R6/lib/libXt.so.6.0
+00ed3000-00ed7000 rw-p 0004c000 fd:00 3252555    /usr/X11R6/lib/libXt.so.6.0
+00ed7000-00ede000 r-xp 00000000 fd:00 3254855    /usr/X11R6/lib/libXrender.so.1.2.2
+00ede000-00edf000 rw-p 00006000 fd:00 3254855    /usr/X11R6/lib/libXrender.so.1.2.2
+00edf000-00ef9000 r-xp 00000000 fd:00 3359985    /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
+00ef9000-00efb000 rw-p 0001a000 fd:00 3359985    /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
+00efb000-00f06000 r-xp 00000000 00:13 354860     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libverify.so
+00f06000-00f07000 rw-p 0000b000 00:13 354860     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libverify.so
+00f07000-00f0d000 r-xp 00000000 00:13 352997     /usr/Local/matlabR2007a/bin/glnx86/libmwmtok.so
+00f0d000-00f0e000 rw-p 00006000 00:13 352997     /usr/Local/matlabR2007a/bin/glnx86/libmwmtok.so
+00f0e000-00f21000 r-xp 00000000 fd:00 6144922    /lib/libnsl-2.3.4.so
+00f21000-00f22000 r--p 00012000 fd:00 6144922    /lib/libnsl-2.3.4.so
+00f22000-00f23000 rw-p 00013000 fd:00 6144922    /lib/libnsl-2.3.4.so
+00f23000-00f25000 rw-p 00f23000 00:00 0 
+00f25000-00f2b000 r-xp 00000000 00:13 354857     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnio.so
+00f2b000-00f2c000 rw-p 00005000 00:13 354857     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnio.so
+00f2c000-00f2e000 r-xp 00000000 00:18 627964     /home/matlabML/at/simulator/track/atpass.mexglx
+00f2e000-00f2f000 rw-p 00001000 00:18 627964     /home/matlabML/at/simulator/track/atpass.mexglx
+00f2f000-00f5f000 r-xp 00000000 00:13 353045     /usr/Local/matlabR2007a/bin/glnx86/libuij.so
+00f5f000-00f67000 rw-p 0002f000 00:13 353045     /usr/Local/matlabR2007a/bin/glnx86/libuij.so
+00f67000-00faa000 r-xp 00000000 00:13 352967     /usr/Local/matlabR2007a/bin/glnx86/libmwm_dispatcher.so
+00faa000-00fb2000 rw-p 00042000 00:13 352967     /usr/Local/matlabR2007a/bin/glnx86/libmwm_dispatcher.so
+00fb2000-013a8000 r-xp 00000000 00:13 352969     /usr/Local/matlabR2007a/bin/glnx86/libmwm_interpreter.so
+013a8000-0146b000 rw-p 003f6000 00:13 352969     /usr/Local/matlabR2007a/bin/glnx86/libmwm_interpreter.so
+0146b000-014d9000 rw-p 0146b000 00:00 0 
+014d9000-0150c000 r-xp 00000000 00:13 352965     /usr/Local/matlabR2007a/bin/glnx86/libmwlapack.so
+0150c000-01511000 rw-p 00032000 00:13 352965     /usr/Local/matlabR2007a/bin/glnx86/libmwlapack.so
+01511000-0159f000 r-xp 00000000 00:13 352885     /usr/Local/matlabR2007a/bin/glnx86/libfftw3f.so.3.1.1
+0159f000-015a8000 rw-p 0008e000 00:13 352885     /usr/Local/matlabR2007a/bin/glnx86/libfftw3f.so.3.1.1
+015a8000-0161e000 r-xp 00000000 00:13 352919     /usr/Local/matlabR2007a/bin/glnx86/libmwcholmod.so
+0161e000-01620000 rw-p 00076000 00:13 352919     /usr/Local/matlabR2007a/bin/glnx86/libmwcholmod.so
+01620000-01655000 r-xp 00000000 00:13 352892     /usr/Local/matlabR2007a/bin/glnx86/libguide.so
+01655000-01659000 rw-p 00034000 00:13 352892     /usr/Local/matlabR2007a/bin/glnx86/libguide.so
+01659000-0165e000 rw-p 01659000 00:00 0 
+0165e000-016d0000 r-xp 00000000 00:13 355797     /usr/Local/matlabR2007a/sys/os/glnx86/libgfortran.so.1.0.0
+016d0000-016d1000 rw-p 00072000 00:13 355797     /usr/Local/matlabR2007a/sys/os/glnx86/libgfortran.so.1.0.0
+016d1000-016f2000 r-xp 00000000 00:13 354842     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjava.so
+016f2000-016f4000 rw-p 00020000 00:13 354842     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjava.so
+016f4000-01704000 rwxp 016f4000 00:00 0 
+01704000-01774000 rwxp 01704000 00:00 0 
+01774000-0177d000 rwxp 01774000 00:00 0 
+0177d000-01780000 rwxp 0177d000 00:00 0 
+01780000-01798000 rwxp 01780000 00:00 0 
+01798000-017a4000 rwxp 01798000 00:00 0 
+017a4000-017b0000 rwxp 017a4000 00:00 0 
+017b0000-017be000 rwxp 017b0000 00:00 0 
+017be000-017d8000 rwxp 017be000 00:00 0 
+017d8000-017e4000 rwxp 017d8000 00:00 0 
+017e4000-017f0000 rwxp 017e4000 00:00 0 
+017f0000-017f5000 rwxp 017f0000 00:00 0 
+017f5000-017f8000 ---p 017f5000 00:00 0 
+017f8000-01876000 rwxp 017f8000 00:00 0 
+01876000-0188a000 r-xp 00000000 00:13 354856     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnet.so
+0188a000-0188b000 rw-p 00013000 00:13 354856     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libnet.so
+0188b000-0188f000 r-xp 00000000 00:13 353023     /usr/Local/matlabR2007a/bin/glnx86/libnativecmdwin.so
+0188f000-01890000 rw-p 00004000 00:13 353023     /usr/Local/matlabR2007a/bin/glnx86/libnativecmdwin.so
+01890000-01894000 rw-p 01890000 00:00 0 
+01894000-01899000 r-xp 00000000 00:13 1221667    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libomnithread.so.3
+01899000-0189a000 rw-p 00004000 00:13 1221667    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libomnithread.so.3
+0189a000-0189c000 r-xp 00000000 00:18 627883     /home/matlabML/at/simulator/element/QuadLinearPass.mexglx
+0189c000-0189d000 rw-p 00001000 00:18 627883     /home/matlabML/at/simulator/element/QuadLinearPass.mexglx
+0189e000-0196b000 r-xp 00000000 00:13 352973     /usr/Local/matlabR2007a/bin/glnx86/libmwm_parser.so
+0196b000-01a9c000 rw-p 000cc000 00:13 352973     /usr/Local/matlabR2007a/bin/glnx86/libmwm_parser.so
+01a9c000-01a9f000 ---p 01a9c000 00:00 0 
+01a9f000-01b1d000 rwxp 01a9f000 00:00 0 
+01b1d000-01b20000 ---p 01b1d000 00:00 0 
+01b20000-01b9e000 rwxp 01b20000 00:00 0 
+01b9e000-01ba1000 ---p 01b9e000 00:00 0 
+01ba1000-01c1f000 rwxp 01ba1000 00:00 0 
+01c1f000-01c22000 ---p 01c1f000 00:00 0 
+01c22000-01ca0000 rwxp 01c22000 00:00 0 
+01ca0000-01ca1000 ---p 01ca0000 00:00 0 
+01ca1000-01d21000 rwxp 01ca1000 00:00 0 
+01d21000-01de7000 r-xp 00000000 00:13 354854     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libmlib_image.so
+01de7000-01de8000 rw-p 000c5000 00:13 354854     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libmlib_image.so
+01de8000-01e1d000 r-xp 00000000 00:13 354868     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so
+01e1d000-01e21000 rw-p 00034000 00:13 354868     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/xawt/libmawt.so
+01e21000-01e24000 ---p 01e21000 00:00 0 
+01e24000-01ea2000 rwxp 01e24000 00:00 0 
+01ea2000-01ea5000 ---p 01ea2000 00:00 0 
+01ea5000-01f23000 rwxp 01ea5000 00:00 0 
+01f23000-01f26000 ---p 01f23000 00:00 0 
+01f26000-01fa4000 rwxp 01f26000 00:00 0 
+01fa4000-01fa7000 rwxp 01fa4000 00:00 0 
+01fa7000-02025000 rwxp 01fa7000 00:00 0 
+02025000-02028000 rwxp 02025000 00:00 0 
+02028000-020a6000 rwxp 02028000 00:00 0 
+020a6000-020e1000 r-xp 00000000 00:13 352993     /usr/Local/matlabR2007a/bin/glnx86/libmwmlint.so
+020e1000-020ea000 rw-p 0003a000 00:13 352993     /usr/Local/matlabR2007a/bin/glnx86/libmwmlint.so
+020ea000-020ed000 ---p 020ea000 00:00 0 
+020ed000-0216b000 rwxp 020ed000 00:00 0 
+0216b000-02183000 r-xp 00000000 00:13 354833     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libdcpr.so
+02183000-02196000 rw-p 00018000 00:13 354833     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libdcpr.so
+02196000-021a2000 r-xp 00000000 00:13 352955     /usr/Local/matlabR2007a/bin/glnx86/libmwhgbuiltins.so
+021a2000-021a5000 rw-p 0000b000 00:13 352955     /usr/Local/matlabR2007a/bin/glnx86/libmwhgbuiltins.so
+021a5000-021ba000 r-xp 00000000 00:13 1219851    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/liblog4tango.so.4
+021ba000-021bb000 rw-p 00015000 00:13 1219851    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/liblog4tango.so.4
+021bb000-023d6000 r-xp 00000000 00:13 352999     /usr/Local/matlabR2007a/bin/glnx86/libmwnumerics.so
+023d6000-023ea000 rw-p 0021a000 00:13 352999     /usr/Local/matlabR2007a/bin/glnx86/libmwnumerics.so
+023ea000-023eb000 rw-p 023ea000 00:00 0 
+023eb000-02d13000 r-xp 00000000 00:13 353058     /usr/Local/matlabR2007a/bin/glnx86/mkl.so
+02d13000-02d35000 rw-p 00928000 00:13 353058     /usr/Local/matlabR2007a/bin/glnx86/mkl.so
+02d35000-02d43000 rw-p 02d35000 00:00 0 
+02d43000-02d44000 ---p 02d43000 00:00 0 
+02d44000-03744000 rwxp 02d44000 00:00 0 
+03744000-03a63000 r-xp 00000000 00:13 354824     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so
+03a63000-03a81000 rw-p 0031e000 00:13 354824     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/client/libjvm.so
+03a81000-03e96000 rw-p 03a81000 00:00 0 
+03e96000-03e99000 r-xp 00000000 00:18 627865     /home/matlabML/at/simulator/element/BendLinearPass.mexglx
+03e99000-03e9a000 rw-p 00002000 00:18 627865     /home/matlabML/at/simulator/element/BendLinearPass.mexglx
+03e9a000-03e9c000 r-xp 00000000 00:13 364172     /usr/Local/matlabR2007a/toolbox/matlab/datafun/sortcellchar.mexglx
+03e9c000-03e9d000 rw-p 00001000 00:13 364172     /usr/Local/matlabR2007a/toolbox/matlab/datafun/sortcellchar.mexglx
+03e9d000-03ea3000 r-xp 00000000 00:13 365671     /usr/Local/matlabR2007a/toolbox/matlab/graph2d/private/lineseriesmex.mexglx
+03ea3000-03ea4000 rw-p 00006000 00:13 365671     /usr/Local/matlabR2007a/toolbox/matlab/graph2d/private/lineseriesmex.mexglx
+03ea4000-03ead000 r-xp 00000000 fd:00 3359990    /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
+03ead000-03eae000 rw-p 00008000 fd:00 3359990    /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
+03ece000-0405b000 r-xp 00000000 00:13 355794     /usr/Local/matlabR2007a/sys/os/glnx86/libXm.so.2.1
+0405b000-0406f000 rw-p 0018c000 00:13 355794     /usr/Local/matlabR2007a/sys/os/glnx86/libXm.so.2.1
+0406f000-04070000 rw-p 0406f000 00:00 0 
+04070000-04073000 ---p 04070000 00:00 0 
+04073000-040f1000 rwxp 04073000 00:00 0 
+040f1000-040f4000 rwxp 040f1000 00:00 0 
+040f4000-04172000 rwxp 040f4000 00:00 0 
+04174000-04175000 ---p 04174000 00:00 0 
+04175000-041f5000 rwxp 04175000 00:00 0 
+041f5000-041f8000 ---p 041f5000 00:00 0 
+041f8000-04276000 rwxp 041f8000 00:00 0 
+04276000-04279000 rwxp 04276000 00:00 0 
+04279000-042f7000 rwxp 04279000 00:00 0 
+042f7000-042fa000 ---p 042f7000 00:00 0 
+042fa000-04378000 rwxp 042fa000 00:00 0 
+04378000-04421000 r-xp 00000000 00:13 352917     /usr/Local/matlabR2007a/bin/glnx86/libmwbuiltins.so
+04421000-0443a000 rw-p 000a8000 00:13 352917     /usr/Local/matlabR2007a/bin/glnx86/libmwbuiltins.so
+0443a000-0443c000 rw-p 0443a000 00:00 0 
+0443c000-0443f000 rwxp 0443c000 00:00 0 
+0443f000-044bd000 rwxp 0443f000 00:00 0 
+044bd000-0459e000 r-xp 00000000 00:13 1221599    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/tango_binding.mexglx
+0459e000-0459f000 rw-p 000e1000 00:13 1221599    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/tango_binding.mexglx
+04705000-04767000 r-xp 00000000 00:13 353019     /usr/Local/matlabR2007a/bin/glnx86/libmwxmlcore.so
+04767000-04776000 rw-p 00062000 00:13 353019     /usr/Local/matlabR2007a/bin/glnx86/libmwxmlcore.so
+04776000-04777000 ---p 04776000 00:00 0 
+04777000-05177000 rwxp 04777000 00:00 0 
+051ff000-05202000 ---p 051ff000 00:00 0 
+05202000-05280000 rwxp 05202000 00:00 0 
+052e3000-052e5000 r-xp 00000000 00:18 627887     /home/matlabML/at/simulator/element/StrMPoleSymplectic4Pass.mexglx
+052e5000-052e6000 rw-p 00001000 00:18 627887     /home/matlabML/at/simulator/element/StrMPoleSymplectic4Pass.mexglx
+05363000-05366000 rwxp 05363000 00:00 0 
+05366000-053e4000 rwxp 05366000 00:00 0 
+053e6000-053e9000 ---p 053e6000 00:00 0 
+053e9000-05467000 rwxp 053e9000 00:00 0 
+05467000-055e3000 r-xp 00000000 00:13 1222006    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libomniORB4.so.1
+055e3000-055f0000 rw-p 0017c000 00:13 1222006    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libomniORB4.so.1
+055f0000-055f1000 rw-p 055f0000 00:00 0 
+0572b000-05806000 r-xp 00000000 fd:00 3254853    /usr/X11R6/lib/libX11.so.6.2
+05806000-0580a000 rw-p 000db000 fd:00 3254853    /usr/X11R6/lib/libX11.so.6.2
+05921000-059c4000 r-xp 00000000 00:13 353017     /usr/Local/matlabR2007a/bin/glnx86/libmwumfpack.so
+059c4000-059c7000 rw-p 000a2000 00:13 353017     /usr/Local/matlabR2007a/bin/glnx86/libmwumfpack.so
+05b58000-05b6c000 r-xp 00000000 00:13 353029     /usr/Local/matlabR2007a/bin/glnx86/libnativejmi.so
+05b6c000-05b6f000 rw-p 00013000 00:13 353029     /usr/Local/matlabR2007a/bin/glnx86/libnativejmi.so
+05be9000-05beb000 r-xp 00000000 00:18 627871     /home/matlabML/at/simulator/element/CavityPass.mexglx
+05beb000-05bec000 rw-p 00001000 00:18 627871     /home/matlabML/at/simulator/element/CavityPass.mexglx
+05c69000-05c6a000 r-xp 00000000 00:13 354847     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjawt.so
+05c6a000-05c6b000 rw-p 00000000 00:13 354847     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libjawt.so
+05c9b000-05d0f000 r-xp 00000000 00:13 354831     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libawt.so
+05d0f000-05d15000 rw-p 00074000 00:13 354831     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libawt.so
+05d15000-05d39000 rw-p 05d15000 00:00 0 
+05ef0000-05ef3000 ---p 05ef0000 00:00 0 
+05ef3000-05f71000 rwxp 05ef3000 00:00 0 
+05f91000-060c0000 r-xp 00000000 00:13 352894     /usr/Local/matlabR2007a/bin/glnx86/libhdf5.so.0.0.0
+060c0000-060cd000 rw-p 0012e000 00:13 352894     /usr/Local/matlabR2007a/bin/glnx86/libhdf5.so.0.0.0
+060cd000-060ce000 rw-p 060cd000 00:00 0 
+060ce000-06256000 r-xp 00000000 00:13 1229359    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libCOS4.so.1
+06256000-06287000 rw-p 00188000 00:13 1229359    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libCOS4.so.1
+062b7000-062ba000 ---p 062b7000 00:00 0 
+062ba000-06338000 rwxp 062ba000 00:00 0 
+063f7000-0646a000 r-xp 00000000 00:13 354836     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libfontmanager.so
+0646a000-06474000 rw-p 00073000 00:13 354836     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libfontmanager.so
+06474000-06478000 rw-p 06474000 00:00 0 
+06478000-0669d000 r-xp 00000000 00:13 1229243    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libomniDynamic4.so.1
+0669d000-066db000 rw-p 00224000 00:13 1229243    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libomniDynamic4.so.1
+066db000-066dc000 rw-p 066db000 00:00 0 
+0678e000-06891000 r-xp 00000000 00:13 353015     /usr/Local/matlabR2007a/bin/glnx86/libmwuix.so
+06891000-068ab000 rw-p 00103000 00:13 353015     /usr/Local/matlabR2007a/bin/glnx86/libmwuix.so
+068ab000-068b0000 rw-p 068ab000 00:00 0 
+068f1000-0697f000 r-xp 00000000 00:13 352883     /usr/Local/matlabR2007a/bin/glnx86/libfftw3.so.3.1.1
+0697f000-06988000 rw-p 0008d000 00:13 352883     /usr/Local/matlabR2007a/bin/glnx86/libfftw3.so.3.1.1
+06a9a000-06aad000 r-xp 00000000 00:13 354861     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libzip.so
+06aad000-06aaf000 rw-p 00012000 00:13 354861     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/libzip.so
+06c51000-06c57000 r-xp 00000000 00:13 353025     /usr/Local/matlabR2007a/bin/glnx86/libnativehg.so
+06c57000-06c58000 rw-p 00005000 00:13 353025     /usr/Local/matlabR2007a/bin/glnx86/libnativehg.so
+06c8b000-06fb3000 r-xp 00000000 00:13 353050     /usr/Local/matlabR2007a/bin/glnx86/libxerces-c.so.26.0
+06fb3000-06fe4000 rw-p 00327000 00:13 353050     /usr/Local/matlabR2007a/bin/glnx86/libxerces-c.so.26.0
+070f1000-07288000 r-xp 00000000 00:13 352953     /usr/Local/matlabR2007a/bin/glnx86/libmwhg.so
+07288000-072d2000 rw-p 00196000 00:13 352953     /usr/Local/matlabR2007a/bin/glnx86/libmwhg.so
+072d2000-072d6000 rw-p 072d2000 00:00 0 
+075af000-075b2000 ---p 075af000 00:00 0 
+075b2000-07630000 rwxp 075b2000 00:00 0 
+07990000-07993000 ---p 07990000 00:00 0 
+07993000-07a11000 rwxp 07993000 00:00 0 
+07a78000-07e2c000 r-xp 00000000 00:13 353061     /usr/Local/matlabR2007a/bin/glnx86/mllapack.so
+07e2c000-07e2d000 rw-p 003b3000 00:13 353061     /usr/Local/matlabR2007a/bin/glnx86/mllapack.so
+07e2d000-07f31000 rw-p 07e2d000 00:00 0 
+08048000-0804a000 r-xp 00000000 00:13 352858     /usr/Local/matlabR2007a/bin/glnx86/MATLAB
+0804a000-0804b000 rw-p 00001000 00:13 352858     /usr/Local/matlabR2007a/bin/glnx86/MATLAB
+0804b000-084db000 r-xp 00000000 00:13 1229407    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libtango.so.7
+084db000-084ef000 rw-p 0048f000 00:13 1229407    /usr/Local/DistribTango/tango-soleil-linux-10.5.2/bindings/matlab/2007a/mex-file/libtango.so.7
+084ef000-084f0000 rw-p 084ef000 00:00 0 
+0a011000-0a488000 rw-p 0a011000 00:00 0 
+0a488000-0a489000 rwxp 0a488000 00:00 0 
+0a489000-0a48b000 rw-p 0a489000 00:00 0 
+0a48b000-0a48c000 rwxp 0a48b000 00:00 0 
+0a48c000-0a491000 rw-p 0a48c000 00:00 0 
+0a491000-0a492000 rwxp 0a491000 00:00 0 
+0a492000-0a495000 rw-p 0a492000 00:00 0 
+0a495000-0a496000 rwxp 0a495000 00:00 0 
+0a496000-0a49a000 rw-p 0a496000 00:00 0 
+0a49a000-0a49b000 rwxp 0a49a000 00:00 0 
+0a49b000-0a4b4000 rw-p 0a49b000 00:00 0 
+0a4b4000-0a4b5000 rwxp 0a4b4000 00:00 0 
+0a4b5000-0a4da000 rw-p 0a4b5000 00:00 0 
+0a4da000-0a4dc000 rwxp 0a4da000 00:00 0 
+0a4dc000-0a4dd000 rw-p 0a4dc000 00:00 0 
+0a4dd000-0a4de000 rwxp 0a4dd000 00:00 0 
+0a4de000-0a4df000 rw-p 0a4de000 00:00 0 
+0a4df000-0a4e1000 rwxp 0a4df000 00:00 0 
+0a4e1000-0a4f8000 rw-p 0a4e1000 00:00 0 
+0a4f8000-0a4fb000 rwxp 0a4f8000 00:00 0 
+0a4fb000-0a4fe000 rw-p 0a4fb000 00:00 0 
+0a4fe000-0a4ff000 rwxp 0a4fe000 00:00 0 
+0a4ff000-0a53b000 rw-p 0a4ff000 00:00 0 
+0a53b000-0a53d000 rwxp 0a53b000 00:00 0 
+0a53d000-0a541000 rw-p 0a53d000 00:00 0 
+0a541000-0a542000 rwxp 0a541000 00:00 0 
+0a542000-0a54c000 rw-p 0a542000 00:00 0 
+0a54c000-0a54d000 rwxp 0a54c000 00:00 0 
+0a54d000-0a56a000 rw-p 0a54d000 00:00 0 
+0a56a000-0a56b000 rwxp 0a56a000 00:00 0 
+0a56b000-0aa4b000 rw-p 0a56b000 00:00 0 
+0aa4b000-0aa4c000 rwxp 0aa4b000 00:00 0 
+0aa4c000-0aa99000 rw-p 0aa4c000 00:00 0 
+0aa99000-0aa9b000 rwxp 0aa99000 00:00 0 
+0aa9b000-0aaf5000 rw-p 0aa9b000 00:00 0 
+0aaf5000-0aaf6000 rwxp 0aaf5000 00:00 0 
+0aaf6000-0ab65000 rw-p 0aaf6000 00:00 0 
+0ab65000-0ab66000 rwxp 0ab65000 00:00 0 
+0ab66000-0abd0000 rw-p 0ab66000 00:00 0 
+0abd0000-0abd2000 rwxp 0abd0000 00:00 0 
+0abd2000-0abd7000 rw-p 0abd2000 00:00 0 
+0abd7000-0abd8000 rwxp 0abd7000 00:00 0 
+0abd8000-0ac10000 rw-p 0abd8000 00:00 0 
+0ac10000-0ac12000 rwxp 0ac10000 00:00 0 
+0ac12000-0ac15000 rw-p 0ac12000 00:00 0 
+0ac15000-0ac16000 rwxp 0ac15000 00:00 0 
+0ac16000-0ae88000 rw-p 0ac16000 00:00 0 
+0ae88000-0ae89000 rwxp 0ae88000 00:00 0 
+0ae89000-0aee6000 rw-p 0ae89000 00:00 0 
+0aee6000-0aee8000 rwxp 0aee6000 00:00 0 
+0aee8000-0af84000 rw-p 0aee8000 00:00 0 
+0af84000-0af85000 rwxp 0af84000 00:00 0 
+0af85000-0af86000 rw-p 0af85000 00:00 0 
+0af86000-0af87000 rwxp 0af86000 00:00 0 
+0af87000-0af88000 rw-p 0af87000 00:00 0 
+0af88000-0af8a000 rwxp 0af88000 00:00 0 
+0af8a000-0afbf000 rw-p 0af8a000 00:00 0 
+0afbf000-0afc1000 rwxp 0afbf000 00:00 0 
+0afc1000-0afc7000 rw-p 0afc1000 00:00 0 
+0afc7000-0afc8000 rwxp 0afc7000 00:00 0 
+0afc8000-0afd8000 rw-p 0afc8000 00:00 0 
+0afd8000-0afd9000 rwxp 0afd8000 00:00 0 
+0afd9000-0b112000 rw-p 0afd9000 00:00 0 
+a53c0000-a53cc000 rw-p a53c0000 00:00 0 
+a53cc000-a53ce000 rwxp a53cc000 00:00 0 
+a53ce000-a53d4000 rw-p a53ce000 00:00 0 
+a53d4000-a53d5000 rwxp a53d4000 00:00 0 
+a53d5000-a53ed000 rw-p a53d5000 00:00 0 
+a53ed000-a53ee000 rwxp a53ed000 00:00 0 
+a53ee000-a54df000 rw-p a53ee000 00:00 0 
+a54df000-a5500000 ---p a54df000 00:00 0 
+a5500000-a559d000 rw-p a5500000 00:00 0 
+a559d000-a559f000 rwxp a559d000 00:00 0 
+a559f000-a55fd000 rw-p a559f000 00:00 0 
+a55fd000-a5600000 ---p a55fd000 00:00 0 
+a56c0000-a56c2000 rw-p a56c0000 00:00 0 
+a56c2000-a56c3000 rwxp a56c2000 00:00 0 
+a56c3000-a56c5000 rw-p a56c3000 00:00 0 
+a56c5000-a56c7000 rwxp a56c5000 00:00 0 
+a56c7000-a56cb000 rw-p a56c7000 00:00 0 
+a56cb000-a56cd000 rwxp a56cb000 00:00 0 
+a56cd000-a57fe000 rw-p a56cd000 00:00 0 
+a57fe000-a5800000 ---p a57fe000 00:00 0 
+a5834000-a5860000 rw-p a5834000 00:00 0 
+a5860000-a5861000 rwxp a5860000 00:00 0 
+a5861000-a58a5000 rw-p a5861000 00:00 0 
+a58a5000-a58a6000 rwxp a58a5000 00:00 0 
+a58a6000-a5976000 rw-p a58a6000 00:00 0 
+a597e000-a59f8000 rw-p a597e000 00:00 0 
+a59f8000-a59fa000 rwxp a59f8000 00:00 0 
+a59fa000-a5a00000 rw-p a59fa000 00:00 0 
+a5a00000-a5a0a000 rwxp a5a00000 00:00 0 
+a5a0a000-a5a0b000 rw-p a5a0a000 00:00 0 
+a5a0b000-a5a0c000 rwxp a5a0b000 00:00 0 
+a5a0c000-a5a0d000 rw-p a5a0c000 00:00 0 
+a5a0d000-a5a0e000 rwxp a5a0d000 00:00 0 
+a5a0e000-a5a0f000 rw-p a5a0e000 00:00 0 
+a5a0f000-a5a18000 rwxp a5a0f000 00:00 0 
+a5a18000-a5a27000 rw-p a5a18000 00:00 0 
+a5a27000-a5a29000 rwxp a5a27000 00:00 0 
+a5a29000-a5a2b000 rw-p a5a29000 00:00 0 
+a5a2b000-a5a34000 rwxp a5a2b000 00:00 0 
+a5a34000-a5aa7000 rw-p a5a34000 00:00 0 
+a5aa7000-a5aa9000 rwxp a5aa7000 00:00 0 
+a5aa9000-a5ab6000 rw-p a5aa9000 00:00 0 
+a5ab6000-a5ab7000 rwxp a5ab6000 00:00 0 
+a5ab7000-a5af8000 rw-p a5ab7000 00:00 0 
+a5af8000-a5af9000 rwxp a5af8000 00:00 0 
+a5af9000-a5bf9000 rw-p a5af9000 00:00 0 
+a5bf9000-a5c00000 ---p a5bf9000 00:00 0 
+a5c0d000-a5c12000 rw-p a5c0d000 00:00 0 
+a5c12000-a5c13000 rwxp a5c12000 00:00 0 
+a5c13000-a5c20000 rw-p a5c13000 00:00 0 
+a5c20000-a5c21000 rwxp a5c20000 00:00 0 
+a5c21000-a5c2d000 rw-p a5c21000 00:00 0 
+a5c2d000-a5c2e000 rwxp a5c2d000 00:00 0 
+a5c2e000-a5c2f000 rw-p a5c2e000 00:00 0 
+a5c2f000-a5c30000 rwxp a5c2f000 00:00 0 
+a5c30000-a5c65000 rw-p a5c30000 00:00 0 
+a5c65000-a5c66000 rwxp a5c65000 00:00 0 
+a5c66000-a5c69000 rw-p a5c66000 00:00 0 
+a5c69000-a5c6a000 rwxp a5c69000 00:00 0 
+a5c6a000-a5c75000 rw-p a5c6a000 00:00 0 
+a5c75000-a5c76000 rwxp a5c75000 00:00 0 
+a5c76000-a5c89000 rw-p a5c76000 00:00 0 
+a5c89000-a5c8a000 rwxp a5c89000 00:00 0 
+a5c8a000-a5cd3000 rw-p a5c8a000 00:00 0 
+a5cd3000-a5cd4000 rwxp a5cd3000 00:00 0 
+a5cd4000-a5ce4000 rw-p a5cd4000 00:00 0 
+a5ce4000-a5ce5000 rwxp a5ce4000 00:00 0 
+a5ce5000-a5cef000 rw-p a5ce5000 00:00 0 
+a5cef000-a5cf1000 rwxp a5cef000 00:00 0 
+a5cf1000-a5d51000 rw-p a5cf1000 00:00 0 
+a5d51000-a5d52000 rwxp a5d51000 00:00 0 
+a5d52000-a5d62000 rw-p a5d52000 00:00 0 
+a5d62000-a5d63000 rwxp a5d62000 00:00 0 
+a5d63000-a5d82000 rw-p a5d63000 00:00 0 
+a5d82000-a5d83000 rwxp a5d82000 00:00 0 
+a5d83000-a5d8f000 rw-p a5d83000 00:00 0 
+a5d8f000-a5d90000 rwxp a5d8f000 00:00 0 
+a5d90000-a5d92000 rw-p a5d90000 00:00 0 
+a5d92000-a5d95000 rwxp a5d92000 00:00 0 
+a5d95000-a5dab000 rw-p a5d95000 00:00 0 
+a5dab000-a5dac000 rwxp a5dab000 00:00 0 
+a5dac000-a5db0000 rw-p a5dac000 00:00 0 
+a5db0000-a5db2000 rwxp a5db0000 00:00 0 
+a5db2000-a5db4000 rw-p a5db2000 00:00 0 
+a5db4000-a5db5000 rwxp a5db4000 00:00 0 
+a5db5000-a5db9000 rw-p a5db5000 00:00 0 
+a5db9000-a5dba000 rwxp a5db9000 00:00 0 
+a5dba000-a5dc2000 rw-p a5dba000 00:00 0 
+a5dc2000-a5dc3000 rwxp a5dc2000 00:00 0 
+a5dc3000-a5dc5000 rw-p a5dc3000 00:00 0 
+a5dc5000-a5dc6000 rwxp a5dc5000 00:00 0 
+a5dc6000-a5e1e000 rw-p a5dc6000 00:00 0 
+a5e1e000-a5e1f000 rwxp a5e1e000 00:00 0 
+a5e1f000-a5e55000 rw-p a5e1f000 00:00 0 
+a5e55000-a5e56000 rwxp a5e55000 00:00 0 
+a5e56000-a5e58000 rw-p a5e56000 00:00 0 
+a5e58000-a5e59000 rwxp a5e58000 00:00 0 
+a5e59000-a5e6b000 rw-p a5e59000 00:00 0 
+a5e6b000-a5e6d000 rwxp a5e6b000 00:00 0 
+a5e6d000-a5e93000 rw-p a5e6d000 00:00 0 
+a5e93000-a5e94000 rwxp a5e93000 00:00 0 
+a5e94000-a5ed8000 rw-p a5e94000 00:00 0 
+a5ed8000-a5ed9000 rwxp a5ed8000 00:00 0 
+a5ed9000-a5f02000 rw-p a5ed9000 00:00 0 
+a5f02000-a5f04000 rwxp a5f02000 00:00 0 
+a5f04000-a5f1a000 rw-p a5f04000 00:00 0 
+a5f1a000-a5f1b000 rwxp a5f1a000 00:00 0 
+a5f1b000-a5f29000 rw-p a5f1b000 00:00 0 
+a5f29000-a5f2a000 rwxp a5f29000 00:00 0 
+a5f2a000-a5f3b000 rw-p a5f2a000 00:00 0 
+a5f3b000-a5f3c000 rwxp a5f3b000 00:00 0 
+a5f3c000-a5f55000 rw-p a5f3c000 00:00 0 
+a5f55000-a5f56000 rwxp a5f55000 00:00 0 
+a5f56000-a5f6e000 rw-p a5f56000 00:00 0 
+a5f6e000-a5f70000 rwxp a5f6e000 00:00 0 
+a5f70000-a5fa1000 rw-p a5f70000 00:00 0 
+a5fa1000-a5fa3000 rwxp a5fa1000 00:00 0 
+a5fa3000-a5fcd000 rw-p a5fa3000 00:00 0 
+a5fcd000-a5fce000 rwxp a5fcd000 00:00 0 
+a5fce000-a5fff000 rw-p a5fce000 00:00 0 
+a5fff000-a6000000 ---p a5fff000 00:00 0 
+a603f000-a607e000 rw-p a603f000 00:00 0 
+a607e000-a607f000 rwxp a607e000 00:00 0 
+a607f000-a6094000 rw-p a607f000 00:00 0 
+a6094000-a6096000 rwxp a6094000 00:00 0 
+a6096000-a609c000 rw-p a6096000 00:00 0 
+a609c000-a609d000 rwxp a609c000 00:00 0 
+a609d000-a60a2000 rw-p a609d000 00:00 0 
+a60a2000-a60a3000 rwxp a60a2000 00:00 0 
+a60a3000-a60bf000 rw-p a60a3000 00:00 0 
+a60bf000-a60cb000 rwxp a60bf000 00:00 0 
+a60cb000-a60cd000 rw-p a60cb000 00:00 0 
+a60cd000-a60d9000 rwxp a60cd000 00:00 0 
+a60d9000-a60da000 rw-p a60d9000 00:00 0 
+a60da000-a60e2000 rwxp a60da000 00:00 0 
+a60e2000-a60e8000 rw-p a60e2000 00:00 0 
+a60e8000-a60e9000 rwxp a60e8000 00:00 0 
+a60e9000-a60ea000 rw-p a60e9000 00:00 0 
+a60ea000-a60ec000 rwxp a60ea000 00:00 0 
+a60ec000-a60f0000 rw-p a60ec000 00:00 0 
+a60f0000-a60f1000 rwxp a60f0000 00:00 0 
+a60f1000-a60f2000 rw-p a60f1000 00:00 0 
+a60f2000-a60f5000 rwxp a60f2000 00:00 0 
+a60f5000-a60f6000 rw-p a60f5000 00:00 0 
+a60f6000-a60f8000 rwxp a60f6000 00:00 0 
+a60f8000-a612d000 rw-p a60f8000 00:00 0 
+a612d000-a612e000 rwxp a612d000 00:00 0 
+a612e000-a614f000 rw-p a612e000 00:00 0 
+a614f000-a6150000 rwxp a614f000 00:00 0 
+a6150000-a6182000 rw-p a6150000 00:00 0 
+a6182000-a6185000 rwxp a6182000 00:00 0 
+a6185000-a6187000 rw-p a6185000 00:00 0 
+a6187000-a6188000 rwxp a6187000 00:00 0 
+a6188000-a618c000 rw-p a6188000 00:00 0 
+a618c000-a618d000 rwxp a618c000 00:00 0 
+a618d000-a618f000 rw-p a618d000 00:00 0 
+a618f000-a6190000 rwxp a618f000 00:00 0 
+a6190000-a619e000 rw-p a6190000 00:00 0 
+a619e000-a619f000 rwxp a619e000 00:00 0 
+a619f000-a61a1000 rw-p a619f000 00:00 0 
+a61a1000-a61a3000 rwxp a61a1000 00:00 0 
+a61a3000-a61a5000 rw-p a61a3000 00:00 0 
+a61a5000-a61a6000 rwxp a61a5000 00:00 0 
+a61a6000-a61f1000 rw-p a61a6000 00:00 0 
+a61f1000-a61f2000 rwxp a61f1000 00:00 0 
+a61f2000-a61fb000 rw-p a61f2000 00:00 0 
+a61fb000-a6200000 ---p a61fb000 00:00 0 
+a6200000-a620a000 rw-p a6200000 00:00 0 
+a620a000-a620b000 rwxp a620a000 00:00 0 
+a620b000-a6240000 rw-p a620b000 00:00 0 
+a6240000-a624e000 rwxp a6240000 00:00 0 
+a624e000-a624f000 rw-p a624e000 00:00 0 
+a624f000-a6255000 rwxp a624f000 00:00 0 
+a6255000-a6256000 rw-p a6255000 00:00 0 
+a6256000-a6259000 rwxp a6256000 00:00 0 
+a6259000-a625a000 rw-p a6259000 00:00 0 
+a625a000-a6267000 rwxp a625a000 00:00 0 
+a6267000-a6293000 rw-p a6267000 00:00 0 
+a6293000-a6295000 rwxp a6293000 00:00 0 
+a6295000-a62da000 rw-p a6295000 00:00 0 
+a62da000-a62db000 rwxp a62da000 00:00 0 
+a62db000-a62ed000 rw-p a62db000 00:00 0 
+a62ed000-a62ee000 rwxp a62ed000 00:00 0 
+a62ee000-a63fe000 rw-p a62ee000 00:00 0 
+a63fe000-a6400000 ---p a63fe000 00:00 0 
+a6400000-a6600000 rw-p a6400000 00:00 0 
+a6609000-a67fd000 rw-p a6609000 00:00 0 
+a67fd000-a6800000 ---p a67fd000 00:00 0 
+a6813000-a6838000 rw-p a6813000 00:00 0 
+a6838000-a683a000 rwxp a6838000 00:00 0 
+a683a000-a683b000 rw-p a683a000 00:00 0 
+a683b000-a683c000 rwxp a683b000 00:00 0 
+a683c000-a683d000 rw-p a683c000 00:00 0 
+a683d000-a6844000 rwxp a683d000 00:00 0 
+a6844000-a6845000 rw-p a6844000 00:00 0 
+a6845000-a6846000 rwxp a6845000 00:00 0 
+a6846000-a6847000 rw-p a6846000 00:00 0 
+a6847000-a6849000 rwxp a6847000 00:00 0 
+a6849000-a684a000 rw-p a6849000 00:00 0 
+a684a000-a684c000 rwxp a684a000 00:00 0 
+a684c000-a684d000 rw-p a684c000 00:00 0 
+a684d000-a6853000 rwxp a684d000 00:00 0 
+a6853000-a6856000 rw-p a6853000 00:00 0 
+a6856000-a6858000 rwxp a6856000 00:00 0 
+a6858000-a6859000 rw-p a6858000 00:00 0 
+a6859000-a685a000 rwxp a6859000 00:00 0 
+a685a000-a6863000 rw-p a685a000 00:00 0 
+a6863000-a6867000 rwxp a6863000 00:00 0 
+a6867000-a6869000 rw-p a6867000 00:00 0 
+a6869000-a686c000 rwxp a6869000 00:00 0 
+a686c000-a687b000 rw-p a686c000 00:00 0 
+a687b000-a687c000 rwxp a687b000 00:00 0 
+a687c000-a687d000 rw-p a687c000 00:00 0 
+a687d000-a687e000 rwxp a687d000 00:00 0 
+a687e000-a6886000 rw-p a687e000 00:00 0 
+a6886000-a6887000 rwxp a6886000 00:00 0 
+a6887000-a6888000 rw-p a6887000 00:00 0 
+a6888000-a688a000 rwxp a6888000 00:00 0 
+a688a000-a6891000 rw-p a688a000 00:00 0 
+a6891000-a6893000 rwxp a6891000 00:00 0 
+a6893000-a689d000 rw-p a6893000 00:00 0 
+a689d000-a68a3000 rwxp a689d000 00:00 0 
+a68a3000-a68a4000 rw-p a68a3000 00:00 0 
+a68a4000-a68a5000 rwxp a68a4000 00:00 0 
+a68a5000-a68a6000 rw-p a68a5000 00:00 0 
+a68a6000-a68a8000 rwxp a68a6000 00:00 0 
+a68a8000-a68b4000 rw-p a68a8000 00:00 0 
+a68b4000-a6a5b000 r--s 00000000 00:13 353817     /usr/Local/matlabR2007a/java/jarext/xercesImpl.jar
+a6a5b000-a6a76000 r--s 00000000 00:13 353818     /usr/Local/matlabR2007a/java/jarext/xml-apis.jar
+a6a76000-a6b54000 r--s 00000000 00:13 353815     /usr/Local/matlabR2007a/java/jarext/xalan.jar
+a6b54000-a6b73000 r--s 00000000 00:13 353814     /usr/Local/matlabR2007a/java/jarext/wsdl4j.jar
+a6b73000-a6bd7000 r--s 00000000 00:13 353812     /usr/Local/matlabR2007a/java/jarext/webrenderer.jar
+a6bd7000-a6bea000 r--s 00000000 00:13 353811     /usr/Local/matlabR2007a/java/jarext/vb20.jar
+a6bea000-a6f21000 r--s 00000000 00:13 353810     /usr/Local/matlabR2007a/java/jarext/saxon8.jar
+a6f21000-a6f2b000 r--s 00000000 00:13 353809     /usr/Local/matlabR2007a/java/jarext/saxon8-xpath.jar
+a6f2b000-a6f36000 r--s 00000000 00:13 353808     /usr/Local/matlabR2007a/java/jarext/saxon8-dom.jar
+a6f36000-a6fcf000 r--s 00000000 00:13 353806     /usr/Local/matlabR2007a/java/jarext/saxon.jar
+a6fcf000-a6fd4000 r--s 00000000 00:13 353805     /usr/Local/matlabR2007a/java/jarext/saaj.jar
+a6fd4000-a6fee000 r--s 00000000 00:13 353804     /usr/Local/matlabR2007a/java/jarext/nekohtml.jar
+a6fee000-a7009000 r--s 00000000 00:13 353803     /usr/Local/matlabR2007a/java/jarext/mwucarunits.jar
+a7009000-a70b6000 r--s 00000000 00:13 353802     /usr/Local/matlabR2007a/java/jarext/mail.jar
+a70b6000-a7119000 r--s 00000000 00:13 353801     /usr/Local/matlabR2007a/java/jarext/lucene-core-2.0.0.jar
+a7119000-a7128000 r--s 00000000 00:13 353800     /usr/Local/matlabR2007a/java/jarext/lucene-analyzers-2.0.0.jar
+a7128000-a7146000 r--s 00000000 00:13 353799     /usr/Local/matlabR2007a/java/jarext/junit.jar
+a7146000-a71ce000 r--s 00000000 00:13 353798     /usr/Local/matlabR2007a/java/jarext/jide/jide-grids.jar
+a71ce000-a71ed000 r--s 00000000 00:13 353796     /usr/Local/matlabR2007a/java/jarext/jide/jide-dialogs.jar
+a71ed000-a7222000 r--s 00000000 00:13 353795     /usr/Local/matlabR2007a/java/jarext/jide/jide-designer.jar
+a7222000-a7244000 r--s 00000000 00:13 353794     /usr/Local/matlabR2007a/java/jarext/jide/jide-components.jar
+a7244000-a726d000 r--s 00000000 00:13 353797     /usr/Local/matlabR2007a/java/jarext/jide/jide-dock.jar
+a726d000-a73b2000 r--s 00000000 00:13 353793     /usr/Local/matlabR2007a/java/jarext/jide/jide-common.jar
+a73b2000-a73d3000 r--s 00000000 00:13 353792     /usr/Local/matlabR2007a/java/jarext/jide/jide-action.jar
+a73d3000-a742e000 r--s 00000000 00:13 353789     /usr/Local/matlabR2007a/java/jarext/jgoodies-looks.jar
+a742e000-a7444000 r--s 00000000 00:13 353788     /usr/Local/matlabR2007a/java/jarext/jgoodies-forms.jar
+a7444000-a744c000 r--s 00000000 00:13 353787     /usr/Local/matlabR2007a/java/jarext/jaxrpc.jar
+a744c000-a745c000 r--s 00000000 00:13 353785     /usr/Local/matlabR2007a/java/jarext/jakarta-oro-2.0.8.jar
+a745c000-a7468000 r--s 00000000 00:13 353784     /usr/Local/matlabR2007a/java/jarext/jaccess-1_4.jar
+a7468000-a748f000 r--s 00000000 00:13 353751     /usr/Local/matlabR2007a/java/jarext/J2PrinterWorks.jar
+a748f000-a74ca000 r--s 00000000 00:13 353783     /usr/Local/matlabR2007a/java/jarext/ice/icessl.jar
+a74ca000-a74cb000 r--s 00000000 00:13 353782     /usr/Local/matlabR2007a/java/jarext/ice/ib6xalan.jar
+a74cb000-a74e3000 r--s 00000000 00:13 353781     /usr/Local/matlabR2007a/java/jarext/ice/ib6util.jar
+a74e3000-a74f3000 r--s 00000000 00:13 353780     /usr/Local/matlabR2007a/java/jarext/ice/ib6swing.jar
+a74f3000-a753b000 r--s 00000000 00:13 353779     /usr/Local/matlabR2007a/java/jarext/ice/ib6js.jar
+a753b000-a753c000 r--s 00000000 00:13 353778     /usr/Local/matlabR2007a/java/jarext/ice/ib6https.jar
+a753c000-a7555000 r--s 00000000 00:13 353777     /usr/Local/matlabR2007a/java/jarext/ice/ib6http.jar
+a7555000-a7569000 r--s 00000000 00:13 353776     /usr/Local/matlabR2007a/java/jarext/ice/ib6extra.jar
+a7569000-a75f3000 r--s 00000000 00:13 353775     /usr/Local/matlabR2007a/java/jarext/ice/ib6core.jar
+a75f3000-a7620000 r--s 00000000 00:13 353772     /usr/Local/matlabR2007a/java/jarext/commons-net-1.4.1.jar
+a7620000-a762a000 r--s 00000000 00:13 353770     /usr/Local/matlabR2007a/java/jarext/commons-logging.jar
+a762a000-a763c000 r--s 00000000 00:13 353768     /usr/Local/matlabR2007a/java/jarext/commons-discovery.jar
+a763c000-a764b000 r--s 00000000 00:13 353767     /usr/Local/matlabR2007a/java/jarext/commapi/comm.jar
+a764b000-a768b000 r--s 00000000 00:13 353765     /usr/Local/matlabR2007a/java/jarext/collections.jar
+a768b000-a76b5000 r--s 00000000 00:13 353764     /usr/Local/matlabR2007a/java/jarext/batik-svggen.jar
+a76b5000-a7844000 r--s 00000000 00:13 353762     /usr/Local/matlabR2007a/java/jarext/axis.jar
+a7844000-a7854000 r--s 00000000 00:13 353760     /usr/Local/matlabR2007a/java/jarext/avalon.jar
+a7854000-a7951000 r--s 00000000 00:13 353755     /usr/Local/matlabR2007a/java/jarext/ant.jar
+a7951000-a796c000 r--s 00000000 00:13 353753     /usr/Local/matlabR2007a/java/jarext/activation.jar
+a796c000-a7978000 r--s 00000000 00:13 353752     /usr/Local/matlabR2007a/java/jarext/access-bridge.jar
+a7978000-a797c000 r--s 00000000 00:13 353750     /usr/Local/matlabR2007a/java/jar/xml.jar
+a797c000-a79a4000 r--s 00000000 00:13 353744     /usr/Local/matlabR2007a/java/jar/toolbox/timeseries.jar
+a79a4000-a79d3000 r--s 00000000 00:13 353743     /usr/Local/matlabR2007a/java/jar/toolbox/testmeas.jar
+a79d3000-a79ee000 r--s 00000000 00:13 353742     /usr/Local/matlabR2007a/java/jar/toolbox/rptgencore.jar
+a79ee000-a7a6b000 r--s 00000000 00:13 353741     /usr/Local/matlabR2007a/java/jar/toolbox/matlab/guide.jar
+a7a6b000-a7a72000 r--s 00000000 00:13 353740     /usr/Local/matlabR2007a/java/jar/toolbox/matlab/audiovideo.jar
+a7a72000-a7ba5000 r--s 00000000 00:13 353739     /usr/Local/matlabR2007a/java/jar/toolbox/instrument.jar
+a7ba5000-a7bf6000 r--s 00000000 00:13 353738     /usr/Local/matlabR2007a/java/jar/toolbox/control.jar
+a7bf6000-a7c42000 r--s 00000000 00:13 353737     /usr/Local/matlabR2007a/java/jar/toolbox/compiler.jar
+a7c42000-a7c48000 r--s 00000000 00:13 353736     /usr/Local/matlabR2007a/java/jar/timer.jar
+a7c48000-a7c57000 r--s 00000000 00:13 353735     /usr/Local/matlabR2007a/java/jar/services.jar
+a7c57000-a7d03000 r--s 00000000 00:13 353734     /usr/Local/matlabR2007a/java/jar/page.jar
+a7d03000-a7d14000 r--s 00000000 00:13 353733     /usr/Local/matlabR2007a/java/jar/org/openide.jar
+a7d14000-a7e32000 r--s 00000000 00:13 353732     /usr/Local/matlabR2007a/java/jar/org/netbeans.jar
+a7e32000-a7ef3000 r--s 00000000 00:13 353731     /usr/Local/matlabR2007a/java/jar/mwt.jar
+a7ef3000-a8044000 r--s 00000000 00:13 353730     /usr/Local/matlabR2007a/java/jar/mwswing.jar
+a8044000-a818d000 r--s 00000000 00:13 353729     /usr/Local/matlabR2007a/java/jar/mlwidgets.jar
+a818d000-a81a4000 r--s 00000000 00:13 353728     /usr/Local/matlabR2007a/java/jar/mlwebservices.jar
+a81a4000-a81b3000 r--s 00000000 00:13 353727     /usr/Local/matlabR2007a/java/jar/mlservices.jar
+a81b3000-a8332000 r--s 00000000 00:13 353726     /usr/Local/matlabR2007a/java/jar/mde.jar
+a8332000-a8369000 r--s 00000000 00:13 353725     /usr/Local/matlabR2007a/java/jar/jmi.jar
+a8369000-a8378000 r--s 00000000 00:13 353724     /usr/Local/matlabR2007a/java/jar/instwiz.jar
+a8378000-a83be000 r--s 00000000 00:13 353723     /usr/Local/matlabR2007a/java/jar/ide.jar
+a83be000-a8467000 r--s 00000000 00:13 353722     /usr/Local/matlabR2007a/java/jar/ice.jar
+a8467000-a84f8000 r--s 00000000 00:13 353721     /usr/Local/matlabR2007a/java/jar/hg.jar
+a84f8000-a8513000 r--s 00000000 00:13 353720     /usr/Local/matlabR2007a/java/jar/beans.jar
+a8513000-a855f000 r--s 00000000 00:13 353719     /usr/Local/matlabR2007a/java/jar/bde.jar
+a855f000-a862d000 r--s 00000000 00:13 353746     /usr/Local/matlabR2007a/java/jar/widgets.jar
+a862d000-a864a000 r--s 00000000 00:13 353745     /usr/Local/matlabR2007a/java/jar/util.jar
+a864a000-a8675000 r--s 00000000 00:13 354788     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/ext/sunpkcs11.jar
+a8675000-a869b000 r--s 00000000 00:13 354787     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/ext/sunjce_provider.jar
+a869b000-a869d000 r--s 00000000 00:13 354785     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/ext/dnsns.jar
+a869d000-a8760000 r--s 00000000 00:13 354786     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/ext/localedata.jar
+a8760000-a9770000 rwxp a8760000 00:00 0 
+a9770000-a9f60000 rwxp a9770000 00:00 0 
+a9f60000-acf60000 rwxp a9f60000 00:00 0 
+acf60000-ae760000 rwxp acf60000 00:00 0 
+ae760000-afde0000 rwxp ae760000 00:00 0 
+afde0000-b2360000 rwxp afde0000 00:00 0 
+b2369000-b2761000 rwxp b2369000 00:00 0 
+b2761000-b4369000 rwxp b2761000 00:00 0 
+b4369000-b4b87000 r--s 00000000 00:13 354774     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/charsets.jar
+b4b87000-b4b9b000 r--s 00000000 00:13 354900     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/jce.jar
+b4b9b000-b4c14000 r--s 00000000 00:13 354901     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/jsse.jar
+b4c14000-b4c7c000 rw-p b4c14000 00:00 0 
+b4c7c000-b6e37000 r--s 00000000 00:13 354951     /usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/rt.jar
+b6e37000-b6e3f000 rw-s 00000000 fd:00 4227096    /tmp/hsperfdata_operateur/20710
+b6e3f000-b6e40000 r--p b6e3f000 00:00 0 
+b6e40000-b6e41000 rw-p b6e40000 00:00 0 
+b6e41000-b6e4e000 rwxp b6e41000 00:00 0 
+b6e4e000-b6e50000 rw-p b6e4e000 00:00 0 
+b6e50000-b6e51000 rwxp b6e50000 00:00 0 
+b6e51000-b6e53000 rw-p b6e51000 00:00 0 
+b6e53000-b6e58000 rwxp b6e53000 00:00 0 
+b6e58000-b6e81000 rw-p b6e58000 00:00 0 
+b6e81000-b6e84000 rwxp b6e81000 00:00 0 
+b6e84000-b6e86000 rw-p b6e84000 00:00 0 
+b6e86000-b6e87000 rwxp b6e86000 00:00 0 
+b6e87000-b6f02000 rw-p b6e87000 00:00 0 
+b6f02000-b6f37000 r--s 00000000 fd:00 7574819    /var/db/nscd/passwd
+b6f37000-b6f3d000 r--s 00000000 fd:00 3277089    /usr/lib/gconv/gconv-modules.cache
+b6f45000-b6f7a000 r--s 00000000 fd:00 7574821    /var/db/nscd/hosts
+b6f7a000-b6f8a000 rw-p b6f7a000 00:00 0 
+b6f8a000-b6f8b000 rwxp b6f8a000 00:00 0 
+b6f8b000-b7001000 rw-p b6f8b000 00:00 0 
+b7001000-b7002000 rwxp b7001000 00:00 0 
+b7002000-b7005000 rw-p b7002000 00:00 0 
+b7005000-b7007000 rwxp b7005000 00:00 0 
+b7007000-b7009000 rw-p b7007000 00:00 0 
+b7009000-b700a000 rwxp b7009000 00:00 0 
+b700a000-b700c000 rw-p b700a000 00:00 0 
+b700c000-b700d000 rwxp b700c000 00:00 0 
+b700d000-b7010000 rw-p b700d000 00:00 0 
+b7010000-b7011000 rwxp b7010000 00:00 0 
+b7011000-b7013000 rw-p b7011000 00:00 0 
+b7013000-b7015000 rwxp b7013000 00:00 0 
+b7015000-b7016000 rw-p b7015000 00:00 0 
+b7016000-b7017000 rwxp b7016000 00:00 0 
+b7017000-b7018000 rw-p b7017000 00:00 0 
+b7018000-b7019000 rwxp b7018000 00:00 0 
+b7019000-b7043000 rw-p b7019000 00:00 0 
+b7043000-b7044000 rwxp b7043000 00:00 0 
+b7044000-b7045000 rw-p b7044000 00:00 0 
+b7045000-b7049000 rwxp b7045000 00:00 0 
+b7049000-b704a000 rw-p b7049000 00:00 0 
+b704a000-b704e000 rwxp b704a000 00:00 0 
+b704e000-b7050000 rw-p b704e000 00:00 0 
+b7050000-b7052000 rwxp b7050000 00:00 0 
+b7052000-b705a000 rw-p b7052000 00:00 0 
+b705a000-b705c000 rwxp b705a000 00:00 0 
+b705c000-b7061000 rw-p b705c000 00:00 0 
+b7061000-b7062000 rwxp b7061000 00:00 0 
+b7062000-b707b000 rw-p b7062000 00:00 0 
+b707b000-b707d000 rwxp b707b000 00:00 0 
+b707d000-b707e000 rw-p b707d000 00:00 0 
+b707e000-b7086000 rwxp b707e000 00:00 0 
+b7086000-b7088000 rw-p b7086000 00:00 0 
+b7088000-b708e000 rwxp b7088000 00:00 0 
+b708e000-b708f000 rw-p b708e000 00:00 0 
+b708f000-b7093000 rwxp b708f000 00:00 0 
+b7093000-b7094000 rw-p b7093000 00:00 0 
+b7094000-b7095000 rwxp b7094000 00:00 0 
+b7095000-b7096000 rw-p b7095000 00:00 0 
+b7096000-b7099000 rwxp b7096000 00:00 0 
+b7099000-b709b000 rw-p b7099000 00:00 0 
+b709b000-b709d000 rwxp b709b000 00:00 0 
+b709d000-b70ea000 rw-p b709d000 00:00 0 
+b70ea000-b70eb000 rwxp b70ea000 00:00 0 
+b70eb000-b70fb000 rw-p b70eb000 00:00 0 
+b70fb000-b72fb000 r--p 00000000 fd:00 3247308    /usr/lib/locale/locale-archive
+b72fb000-b731f000 rw-p b72fb000 00:00 0 
+b731f000-b7320000 rwxp b731f000 00:00 0 
+b7320000-b7323000 rw-p b7320000 00:00 0 
+b7323000-b7324000 rwxp b7323000 00:00 0 
+b7324000-b7327000 rw-p b7324000 00:00 0 
+b7327000-b7329000 rwxp b7327000 00:00 0 
+b7329000-b732b000 rw-p b7329000 00:00 0 
+b732b000-b732d000 rwxp b732b000 00:00 0 
+b732d000-b732e000 rw-p b732d000 00:00 0 
+b732e000-b732f000 rwxp b732e000 00:00 0 
+b732f000-b7330000 rw-p b732f000 00:00 0 
+b7330000-b7332000 rwxp b7330000 00:00 0 
+b7332000-b7334000 rw-p b7332000 00:00 0 
+b7334000-b7335000 rwxp b7334000 00:00 0 
+b7335000-b7336000 rw-p b7335000 00:00 0 
+b7336000-b7337000 rwxp b7336000 00:00 0 
+b7337000-b73c8000 rw-p b7337000 00:00 0 
+b73c8000-b73ca000 rwxp b73c8000 00:00 0 
+b73ca000-b73cb000 rw-p b73ca000 00:00 0 
+b73cb000-b73cc000 rwxp b73cb000 00:00 0 
+b73cc000-b73cf000 rw-p b73cc000 00:00 0 
+b73cf000-b73d0000 rwxp b73cf000 00:00 0 
+b73d0000-b73d1000 rw-p b73d0000 00:00 0 
+b73d1000-b73d2000 rwxp b73d1000 00:00 0 
+b73d2000-b73d5000 rw-p b73d2000 00:00 0 
+b73d5000-b73d6000 rwxp b73d5000 00:00 0 
+b73d6000-b73d9000 rw-p b73d6000 00:00 0 
+b73d9000-b73da000 rwxp b73d9000 00:00 0 
+b73da000-b73db000 rw-p b73da000 00:00 0 
+b73db000-b73e0000 rwxp b73db000 00:00 0 
+b73e0000-b73e5000 rw-p b73e0000 00:00 0 
+b73e5000-b73e6000 rwxp b73e5000 00:00 0 
+b73e6000-b73e7000 rw-p b73e6000 00:00 0 
+b73e7000-b73e8000 rwxp b73e7000 00:00 0 
+b73e8000-b73ea000 rw-p b73e8000 00:00 0 
+b73ea000-b73ec000 rwxp b73ea000 00:00 0 
+b73ec000-b7420000 rw-p b73ec000 00:00 0 
+b7420000-b7422000 rwxp b7420000 00:00 0 
+b7422000-b742c000 rw-p b7422000 00:00 0 
+b742c000-b742d000 rwxp b742c000 00:00 0 
+b742d000-b743b000 rw-p b742d000 00:00 0 
+b743b000-b743c000 rwxp b743b000 00:00 0 
+b743c000-b75c2000 rw-p b743c000 00:00 0 
+b75c2000-b7f14000 r--s 00000000 00:13 352874     /usr/Local/matlabR2007a/bin/glnx86/icudt32l.dat
+b7f14000-b7f24000 rw-p b7f14000 00:00 0 
+b7f39000-b7f3b000 rw-p b7f39000 00:00 0 
+bfd53000-bfd56000 ---p bfd53000 00:00 0 
+bfd56000-bff53000 rwxp bfd56000 00:00 0 
+bff53000-c0000000 rw-p bff53000 00:00 0 
+ffffe000-fffff000 r-xp 00000000 00:00 0 
+
+VM Arguments:
+jvm_args: -Xms64m -XX:NewRatio=3 -XX:MaxPermSize=32M -Xmx96m -Djava.util.prefs.PreferencesFactory=com.mathworks.util.DisabledPreferencesFactory -XX:+AllowUserSignalHandlers -Djava.library.path=/usr/Local/matlabR2007a/bin/glnx86 vfprintf abort
+java_command: <unknown>
+
+Environment Variables:
+JAVA_HOME=/usr/Local/java/jdk
+PATH=/usr/Local/passerelle/passerelle_gui/bin:/usr/Local/passerelle/passerelle_core/bin:/usr/Local/oracle/bin:/usr/Local/oracle/lib:/usr/Local/maven/current/bin/:/usr/Local/valgrind/current/bin/:/usr/Local/jython/current:/home/ApplisLabview/bin/linux:/usr/Local/ordinal/GLOBAL_ROOT/bin:/usr/Local/ordinal/GLOBAL_ROOT/tools:/usr/Local/python/python/bin/:/usr/Local/citrix/lib/ICAClient:/usr/Local/wmaker/bin:/usr/Local/firefox:/usr/Local/soleil-root/tango/bin:/usr/Local/soleil-root/tango/machine:/usr/Local/tightvnc:/usr/Local/smartcvs/bin:/usr/Local/matlab/bin:/usr/Local/gdb/current/bin:/usr/Local/gcc/current/bin/:/usr/Local/java/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/operateur/bin:.
+LD_LIBRARY_PATH=/usr/Local/soleil-root/bindings/matlab/2007a/mex-file:/usr/Local/gcc-3.4.6/lib:/usr/Local/matlabR2007a/sys/os/glnx86:/usr/Local/matlabR2007a/bin/glnx86:/usr/Local/matlabR2007a/extern/lib/glnx86:/usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads:/usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386/client:/usr/Local/matlabR2007a/sys/java/jre/glnx86/jre1.5.0/lib/i386:/usr/Local/oracle/lib:/usr/Local/gcc/lib::/usr/Local/soleil-root/tango/lib:/usr/Local/soleil-root/omniorb/lib:/usr/Local/DeviceServers/linux/lib
+SHELL=/bin/bash
+DISPLAY=tx-3.RCM:0.0
+ARCH=glnx86
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
+
+uname:Linux 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686
+libc:glibc 2.3.4 NPTL 2.3.4 
+rlimit: STACK 10240k, CORE 0k, NPROC 143360, NOFILE 1024, AS infinity
+load average:0.00 0.03 0.00
+
+CPU:total 8 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht
+
+Memory: 4k page, physical 2027k(1854k free), swap 495k(495k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for linux-x86, built on Sep 15 2004 03:56:41 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /trunk/machine/SOLEIL/common/synchro/injection_boucle.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/injection_boucle.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/injection_boucle.m	(revision 17)
@@ -0,0 +1,8 @@
+
+for i=1:100
+
+   tango_command_inout2('ANS/SY/CENTRAL','FireSoftEvent');
+   pause(2)
+
+
+end
Index: /trunk/machine/SOLEIL/common/synchro/kicker_scaling.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/kicker_scaling.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/kicker_scaling.m	(revision 17)
@@ -0,0 +1,337 @@
+function varargout = kicker_scaling(varargin)
+% KICKER_SCALING M-file for kicker_scaling.fig
+%      KICKER_SCALING, by itself, creates a new KICKER_SCALING or raises the existing
+%      singleton*.
+%
+%      H = KICKER_SCALING returns the handle to a new KICKER_SCALING or the handle to
+%      the existing singleton*.
+%
+%      KICKER_SCALING('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in KICKER_SCALING.M with the given input arguments.
+%
+%      KICKER_SCALING('Property','Value',...) creates a new KICKER_SCALING or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before kicker_scaling_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to kicker_scaling_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help kicker_scaling
+
+% Last Modified by GUIDE v2.5 14-Nov-2008 21:39:00
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @kicker_scaling_OpeningFcn, ...
+                   'gui_OutputFcn',  @kicker_scaling_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before kicker_scaling is made visible.
+function kicker_scaling_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to kicker_scaling (see VARARGIN)
+
+% Choose default command line output for kicker_scaling
+handles.output = hObject;
+
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage');handles.K1=temp.value(2);
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');handles.K2=temp.value(2);
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');handles.K3=temp.value(2);
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');handles.K4=temp.value(2);
+
+set(handles.edit_init_K1,'String',num2str(handles.K1));
+set(handles.edit_init_K2,'String',num2str(handles.K2));
+set(handles.edit_init_K3,'String',num2str(handles.K3));
+set(handles.edit_init_K4,'String',num2str(handles.K4));
+
+set(handles.edit_scaled_K1,'String',num2str(handles.K1));
+set(handles.edit_scaled_K2,'String',num2str(handles.K2));
+set(handles.edit_scaled_K3,'String',num2str(handles.K3));
+set(handles.edit_scaled_K4,'String',num2str(handles.K4));
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes kicker_scaling wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = kicker_scaling_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_restore.
+function pushbutton_restore_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_restore (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',handles.K1);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',handles.K2); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',handles.K3);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',handles.K4); 
+
+set(handles.edit_scaled_K1,'String',num2str(handles.K1));
+set(handles.edit_scaled_K2,'String',num2str(handles.K2));
+set(handles.edit_scaled_K3,'String',num2str(handles.K3));
+set(handles.edit_scaled_K4,'String',num2str(handles.K4));
+
+% --- Executes on button press in pushbutton_apply.
+function pushbutton_apply_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_apply (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+r=str2double(get(handles.edit_scaling,'String'));
+if r>1.5
+    r=1 ;
+    set(handles.edit_scaling,'String','1');
+elseif r<0
+    r=1 ;
+    set(handles.edit_scaling,'String','1');
+end
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',handles.K1*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',handles.K2*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',handles.K3*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',handles.K4*r);
+
+set(handles.edit_scaled_K1,'String',num2str(handles.K1*r));
+set(handles.edit_scaled_K2,'String',num2str(handles.K2*r));
+set(handles.edit_scaled_K3,'String',num2str(handles.K3*r));
+set(handles.edit_scaled_K4,'String',num2str(handles.K4*r));
+
+function edit_scaling_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_scaling (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_scaling as text
+%        str2double(get(hObject,'String')) returns contents of edit_scaling as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_scaling_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_scaling (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_init_K1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_init_K1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_init_K1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_init_K1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_init_K1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_init_K1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_init_K2_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_init_K2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_init_K2 as text
+%        str2double(get(hObject,'String')) returns contents of edit_init_K2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_init_K2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_init_K2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_init_K3_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_init_K3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_init_K3 as text
+%        str2double(get(hObject,'String')) returns contents of edit_init_K3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_init_K3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_init_K3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_init_K4_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_init_K4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_init_K4 as text
+%        str2double(get(hObject,'String')) returns contents of edit_init_K4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_init_K4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_init_K4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_scaled_K1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_scaled_K1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_scaled_K1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_scaled_K1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_scaled_K1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_scaled_K1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_scaled_K2_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_scaled_K2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_scaled_K2 as text
+%        str2double(get(hObject,'String')) returns contents of edit_scaled_K2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_scaled_K2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_scaled_K2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_scaled_K3_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_scaled_K3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_scaled_K3 as text
+%        str2double(get(hObject,'String')) returns contents of edit_scaled_K3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_scaled_K3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_scaled_K3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_scaled_K4_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_scaled_K4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_scaled_K4 as text
+%        str2double(get(hObject,'String')) returns contents of edit_scaled_K4 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_scaled_K4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_scaled_K4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/common/synchro/linac.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/linac.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/linac.m	(revision 17)
@@ -0,0 +1,44 @@
+function linac(mode)
+% switch linac
+
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+
+
+switch mode  % Get Tag of selected object
+    case 'soft'
+    % switch to soft
+        event=int32(5) ;% adresse de l'injection
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',event); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',int16(0));
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',int32(1)); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',event); pause(tout);
+    % special modulateur
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay');pc=temp.value(1);
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');soft=temp.value(1);
+        delay=inj_offset+soft-pc;
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+        display('ok change 3Hz to soft')
+        
+    case '3Hz'
+    % switch to 3Hz
+        event=int32(2) ;% adresse de l'injection
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',int32(2)); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',int16(0)); 
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',event); pause(tout);
+    % special modulateur
+        delay=inj_offset+0;
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+        display('ok change soft to 3Hz')
+end
+
Index: /trunk/machine/SOLEIL/common/synchro/load_synchro_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/load_synchro_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/load_synchro_rafale.m	(revision 17)
@@ -0,0 +1,174 @@
+function load_synchro_rafale(Directory,file,DirName)
+%
+
+pwdold = pwd;
+cd(Directory);
+load(file)
+cd(pwdold);
+
+tout=0.;
+
+    display('off set')
+    if isfield(timing,'inj_offset');inj_offset=timing.inj_offset;
+       if isfield(timing,'ext_offset');ext_offset=timing.ext_offset;
+           if isfield(timing,'lin_fin'   );lin_fin   =timing.lin_fin;
+              FileName = [DirName 'synchro_offset_lin.mat'];
+             % save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');    
+              
+           end
+       end
+    end
+    display('Clk')
+    % set address to value never used (prevent collision when swap adress)
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay',290000);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',290010);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',290020);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay',290030);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue',290080);
+    
+    tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscStepDelay',timing.sdc1(1));pause(tout);
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmStepDelay',timing.lin_lpm(1));pause(tout);
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareStepDelay',timing.lin_modulateur(1));
+    if isfield(timing,'lin_spm');tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacStepDelay',timing.lin_spm(1));pause(tout);end
+    if isfield(timing,'lin_alim');tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'libre.1StepDelay',timing.lin_alim(1));pause(tout);end
+    tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigStepDelay',timing.boo_bpm(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigStepDelay',timing.boo_bpm(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigStepDelay',timing.boo_bpm(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigStepDelay',timing.boo_bpm(1));pause(tout);     
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceStepDelay',timing.lt1_emittance(1));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1StepDelay',timing.lt1_mc1(1));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2StepDelay',timing.lt1_mc2(1));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscStepDelay',timing.lt1_osc(1));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booStepDelay',timing.boo_dcct(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigStepDelay',timing.boo_nod(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigStepDelay',timing.boo_sep_p_inj(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigStepDelay',timing.boo_k_inj(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpStepDelay',timing.boo_dp(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfStepDelay',timing.boo_qf(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdStepDelay',timing.boo_qd(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfStepDelay',timing.boo_sf(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdStepDelay',timing.boo_sd(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'compStepDelay',timing.boo_cp(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.RF.1', 'rfStepDelay',timing.boo_rf(1));pause(tout);
+    tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareStepDelay',timing.sdc2(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigStepDelay',timing.boo_dof_ext(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigStepDelay',timing.boo_sep_p_ext(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay',timing.boo_sep_a_ext(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigStepDelay',timing.boo_k_ext(1));pause(tout);
+    if isfield(timing,'boo_mrsv');tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceStepDelay',timing.boo_mrsv(1));pause(tout);end
+    tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigStepDelay',timing.lt2_bpm(1));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctStepDelay',timing.lt2_osc(1));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvStepDelay',timing.lt2_emittance(1));pause(tout);
+    
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',timing.ans_k1_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',timing.ans_k2_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',timing.ans_k3_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',timing.ans_k4_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigStepDelay',timing.ans_sep_p_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay',timing.ans_sep_a_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigStepDelay',timing.ans_bpm01(1));pause(tout);
+    tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm02(1));pause(tout);
+    tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm03(1));pause(tout);
+    tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm04(1));pause(tout);
+    tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm05(1));pause(tout);
+    tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm06(1));pause(tout);
+    tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm07(1));pause(tout);
+    tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm08(1));pause(tout);
+    tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm09(1));pause(tout);
+    tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm10(1));pause(tout);  
+    tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm11(1));pause(tout);  
+    tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm12(1));pause(tout);  
+    tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm13(1));pause(tout);  
+    tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm14(1));pause(tout);  
+    tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm15(1));pause(tout);  
+    tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm16(1));pause(tout);   
+    
+    tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteStepDelay',timing.ans_dcct(1));pause(tout);  
+    if isfield(timing,'ans_nod') ;tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.pmStepDelay',timing.ans_nod(1));pause(tout);end  
+    if isfield(timing,'ans_fbt') ;tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1StepDelay',timing.ans_fbt(1));pause(tout);end
+    
+    if isfield(timing,'ans_k_hv_pc') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcStepDelay',timing.ans_k_hv_pc(1));pause(tout);end  
+    if isfield(timing,'ans_k_v') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay',timing.ans_k_v(1));pause(tout);end  
+    if isfield(timing,'ans_k_h') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay',timing.ans_k_h(1));pause(tout);end  
+
+    display('Event')
+    tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',int32(timing.sdc1(2)));pause(tout);
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',int32(timing.lin_lpm(2)));pause(tout);
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',int32(timing.lin_modulateur(2)));
+    if isfield(timing,'lin_spm');tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',int32(timing.lin_spm(2)));pause(tout);end
+    if isfield(timing,'lin_alim');tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'libre.1Event',int32(timing.lin_alim(2)));pause(tout);end
+    tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',int32(timing.boo_bpm(2)));pause(tout);     
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',int32(timing.lt1_emittance(2)));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',int32(timing.lt1_mc1(2)));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',int32(timing.lt1_mc2(2)));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',int32(timing.lt1_osc(2)));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',int32(timing.boo_dcct(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',int32(timing.boo_nod(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent',int32(timing.boo_sep_p_inj(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',int32(timing.boo_k_inj(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpEvent',int32(timing.boo_dp(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfEvent',int32(timing.boo_qf(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdEvent',int32(timing.boo_qd(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfEvent',int32(timing.boo_sf(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdEvent',int32(timing.boo_sd(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'compEvent',int32(timing.boo_cp(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.RF.1', 'rfEvent',int32(timing.boo_rf(2)));pause(tout);
+    tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',int32(timing.sdc2(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',int32(timing.boo_dof_ext(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',int32(timing.boo_sep_p_ext(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',int32(timing.boo_sep_a_ext(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',int32(timing.boo_k_ext(2)));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',int32(timing.lt2_bpm(2)));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',int32(timing.lt2_osc(2)));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',int32(timing.lt2_emittance(2)));pause(tout);
+    if isfield(timing,'boo_mrsv');tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',int32(timing.boo_mrsv(2)));pause(tout);end
+    arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; 
+    arg.lvalue=int32([timing.ans_k1_inj(2) timing.ans_k2_inj(2) timing.ans_k3_inj(2) timing.ans_k4_inj(2)]); 
+    tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃÂ© address sans update
+    tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');pause(tout);
+    
+    arg.svalue={'sep-p.trig','sep-a.trig'};
+    arg.lvalue=int32([timing.ans_sep_p_inj(2) timing.ans_sep_a_inj(2)]);
+    tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃÂ© address sans update
+    tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');pause(tout);
+   
+    
+    tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',int32(timing.ans_bpm01(2)));pause(tout);
+    tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm02(2)));pause(tout);
+    tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm03(2)));pause(tout);
+    tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm04(2)));pause(tout);
+    tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm05(2)));pause(tout);
+    tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm06(2)));pause(tout);
+    tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm07(2)));pause(tout);
+    tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm08(2)));pause(tout);
+    tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm09(2)));pause(tout);
+    tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm10(2)));pause(tout);  
+    tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm11(2)));pause(tout);  
+    tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm12(2)));pause(tout);  
+    tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm13(2)));pause(tout);  
+    tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm14(2)));pause(tout);  
+    tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm15(2)));pause(tout);  
+    tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm16(2)));pause(tout);  
+    
+    tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteEvent',int32(timing.ans_dcct(2)));pause(tout);
+    if isfield(timing,'ans_nod') ;tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.pmEvent',int32(timing.ans_nod(2)));pause(tout);end  
+    if isfield(timing,'ans_fbt') ;tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1Event',int32(timing.ans_fbt(2)));pause(tout);end
+    
+    if isfield(timing,'ans_k_hv_pc') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcEvent',int32(timing.ans_k_hv_pc(2)));pause(tout);end  
+    if isfield(timing,'ans_k_v') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigEvent',int32(timing.ans_k_v(2)));pause(tout);end  
+    if isfield(timing,'ans_k_h') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigEvent',int32(timing.ans_k_h(2)));pause(tout);end  
+    
+    % apply good value
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay',timing.central_pc);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',timing.central_inj);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',timing.central_soft);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay',timing.central_spare);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',timing.central_ext);
+ 
+    
+display('OK')
+
+
Index: /trunk/machine/SOLEIL/common/synchro/load_table.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/load_table.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/load_table.m	(revision 17)
@@ -0,0 +1,13 @@
+% test load table synchro
+
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+offset_ext=temp.value(1)*52;
+offset_linac=10*0.5;  % dÃ©lai fin de rÃ©glage en pas de 100 ps
+
+paq=3;
+bunch=1:1;
+
+[dtour,dpaquet]=bucketnumber(bunch);
+dpaquet=dpaquet*28+offset_linac;
+table=int32([length(bunch) dtour dpaquet]);
+tango_command_inout2('ANS/SY/CENTRAL','SetTables',table)
Index: /trunk/machine/SOLEIL/common/synchro/mccExcludedFiles.log
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/mccExcludedFiles.log	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/mccExcludedFiles.log	(revision 17)
@@ -0,0 +1,17 @@
+This file contains the list of various toolbox functions that are not 
+included in the CTF file. An error will be thrown if any of these functions
+ are called at run-time. Some of these functions may be from toolboxes 
+that you are not using in your application. The reason for this is that 
+these toolboxes have overloaded some methods that are called by your code. 
+If you know which toolboxes are being used by your code, you can use the -p
+ flag with the -N flag to list these toolboxes explicitly. This will 
+cause MATLAB Compiler to only look for functions in the specified toolbox 
+directories in addition to the MATLAB directories. Refer to the MCC 
+documentation for more information on this.
+
+/usr/Local/matlabR2007a/toolbox/local/docopt.m
+  called by /usr/Local/matlabR2007a/toolbox/matlab/helptools/web.m
+(/usr/Local/matlabR2007a/toolbox/compiler/depfun.opts, line 6: 
+exclude if $file in $toolbox and ...
+           $caller in $toolbox/matlab and ...
+           $file not in [$toolbox/matlab, $toolbox/shared, $toolbox/compiler])
Index: /trunk/machine/SOLEIL/common/synchro/rampe_boo.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/rampe_boo.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/rampe_boo.m	(revision 17)
@@ -0,0 +1,2 @@
+% test laps rampe boo
+
Index: /trunk/machine/SOLEIL/common/synchro/readme.txt
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/readme.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/readme.txt	(revision 17)
@@ -0,0 +1,183 @@
+MATLAB Deployment Checklist
+===========================
+
+Before you deploy your application, component, or library,
+use this checklist to ensure you create a complete deployment package.
+You can distribute a MATLAB Compiler-generated standalone
+application, component, or library to any target machine with 
+the same operating system as the machine on which 
+the application was compiled (the "source" development machine).
+
+For more information, see the documentation for the MATLAB Compiler at:
+http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/
+
+NOTE: Items enclosed in angle brackets ( < > ) are variables.
+
+1. Ensure that the MATLAB Component 
+   Runtime (MCR) is installed on target machines, and ensure you
+   have installed the correct version. To verify this, do the following: 
+	
+	A. Attempt to verify the MCR exists on your system.
+           The MCR usually resides in these locations on these platforms:   
+	 
+        Operating System                Path to MCR
+        ================                ===========
+        Windows 	   C:\Program Files\MATLAB\MATLAB Component Runtime\v76
+        Mac/Intel Mac      Applications/MATLAB/MATLAB_Component_Runtime/ 
+        Linux              *** No predetermined installation location ***
+                           Contact your system administrator.  
+
+         *IMPORTANT: Always attempt to locate an existing MCR on your 
+                     system before using the BUILDMCR command to create
+                     an MCR. If you must create an MCR, see the Compiler
+                     documentation for more details
+     
+        B. MATLAB 2007a uses MCR version 7.6. To verify
+	the version number of the installed MCR, type the following command:
+            [mcrmajor,mcrminor]=mcrversion
+	at the MATLAB command prompt.
+	 
+						
+2. Add the MCR directory to the path specified by the target system's 
+   environment variable. 
+	
+	A. Locate the name of the environment variable to set, using the 
+           table below:  
+
+              Operating System      Environment Variable
+              ================      ====================
+		   Windows 	           PATH    
+                   Linux	      LD_LIBRARY_PATH
+		   Solaris            LD_LIBRARY_PATH    
+                   Mac               DYLD_LIBRARY_PATH                 
+
+ 	B. Set the path by doing one of the following:
+
+		On Windows systems:
+
+		*  Add the MCR directory to the environment variable by opening a 
+		   command prompt and issuing the DOS command:
+
+  			set PATH=C:\Program Files\MATLAB\MATLAB Component
+			Runtime\v76;%PATH% 
+
+                   or, add:
+
+                        C:\Program Files\MATLAB\MATLAB Component Runtime\v76
+                  
+                   to the PATH environment variable by doing the following:
+
+			1. Select the My Computer icon on your desktop.
+			2. Right-click the icon and select Properties from the menu.
+			3. Select the Advanced tab.
+			4. Click Environment Variables. 
+		   Your environment variables are listed. 
+
+		On UNIX systems:
+		
+		* Add the MCR directory to the environment variable by issuing 
+		  this command:
+ 	
+			setenv PATH /<matlabroot>/v76:"$PATH"
+
+		  To make this change persistent after logout on UNIX machines, 
+		  modify the .cshrc file to include this setenv command.
+        
+         NOTE: On Windows, the Environment Variable syntax utilizes 
+               backslashes (\), delimited by semi-colons (;). On UNIX,
+	       the EV syntax utilizes forward
+               slashes (/), delimited by colons (:). 
+	 NOTE: When deploying C and C++ standalone applications, it is possible
+               to run the shell script file run_kicker_scaling.sh on UNIX and Mac
+               instead of setting environment variables. See "Requirements
+               for Standalone Applications," below.    
+	
+
+3. Create packages that contain the following files, based on what
+   you are deploying: 
+
+        Requirements for Standalone Applications:
+        =========================================
+  
+	All Platforms:
+		* kicker_scaling.ctf (Component Technology File archive,
+		  platform-dependent on target machine)
+			
+	Windows:
+		* MCRInstaller.exe (self-extracting MATLAB Component Runtime
+		  library archive)  
+		* kicker_scaling.exe (application created by MATLAB Compiler)
+	UNIX:
+		* MCRInstaller.zip (MATLAB Component Runtime library 
+	 	  archive - manual unzip required)
+		* kicker_scaling (application created by MATLAB Compiler)
+		* run_kicker_scaling.sh (shell script that can be run 
+                  to temporarily set environment paths and execute the application)
+
+ 	
+        Requirements for C and C++ shared libraries:
+        ============================================================
+
+	All Platforms:            
+		* kicker_scaling.so (shared library, file extension 
+		  varies by platform)
+		* kicker_scaling.h (library header file)
+		* kicker_scaling.ctf (Component Technology File archive,
+		  platform-dependent on target machine)
+	
+	Windows:
+		* MCRInstaller.exe (self-extracting MATLAB Component Runtime
+		  library archive)  
+		
+	UNIX:
+		* MCRInstaller.zip (MATLAB Component Runtime library 
+	 	  archive - manual unzip required)
+		* unzip (optional utility to unzip MCRInstaller.zip)	
+	
+	
+
+       Requirements for .NET Components (Windows only):
+       ================================================
+
+	* kicker_scaling.ctf (Component Technology File archive)	
+	* kicker_scaling.xml (documentation files)
+	* kicker_scaling.pdb (program database file - if 
+	  DEBUG option selected)
+	* kicker_scaling.dll (component assembly file)
+	* MCRInstaller.exe (self-extracting MATLAB Component Runtime
+	  library archive)  
+		
+
+       Requirements for COM Components (Windows only):
+       ===============================================
+
+	* kicker_scaling.ctf (Component Technology File archive)
+	* kicker_scaling_1_0.dll (component containing 
+	  compiled M-code)
+	* _install.bat (script run by self-extracting executable)
+	* MCRInstaller.exe (self-extracting MATLAB Component Runtime
+	  library archive)  	
+		
+
+        Requirements for Java Components (All Platforms):
+        =================================================
+
+	* kicker_scaling.jar (Java archive containing Java 
+	  interface to M-code in kicker_scaling.ctf)
+	* kicker_scaling.ctf (Component Technology File archive,
+	  platform-dependent on target machine)
+
+
+        Requirements for COM Components for Use with Microsoft Excel (Windows only):
+        ============================================================================
+
+	* kicker_scaling_1_0.dll (component containing 
+	  compiled M-code)
+	* kicker_scaling.ctf (Component Technology File archive)
+	* _install.bat (script run by self-extracting executable)
+	* <add_in_file>.xla (Excel add-ins found in:
+	  \distrib directory)  
+	* MCRInstaller.exe (self-extracting MATLAB Component Runtime
+	  library archive)  	
+
+	
Index: /trunk/machine/SOLEIL/common/synchro/restore_synch.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/restore_synch.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/restore_synch.m	(revision 17)
@@ -0,0 +1,9 @@
+function restore_synch
+
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigStepDelay',31522105);
+
+
+FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+ext_offset=179000;
+save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
Index: /trunk/machine/SOLEIL/common/synchro/retour_update.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/retour_update.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/retour_update.m	(revision 17)
@@ -0,0 +1,12 @@
+% retour update
+
+function retour_update(carte,r)
+
+if     (r==0)
+    fprintf('Carte %s = OK\n',carte)
+elseif (r==-1)
+    fprintf('Carte %s = Probleme\n',carte)
+end
+
+    
+pause(0.5)
Index: /trunk/machine/SOLEIL/common/synchro/scan_synchro_KHV.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/scan_synchro_KHV.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/scan_synchro_KHV.m	(revision 17)
@@ -0,0 +1,49 @@
+function scan_synchro_KHV
+
+fprintf('************ scan KHV ********** \n');
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay');kv0=temp.value(1);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay');kh0=temp.value(1);
+
+delay=[];
+xx=[];
+for i=0:16:208  % scan sur un tour
+    % setp les clk
+    tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay',(kh0+i) );
+    %tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay',(kv0+i) );
+    delay=[delay (i)];
+    pause(1)
+    
+    % read again
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay');kh1=temp.value(1);
+    %temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay');kv1=temp.value(1);
+    
+    % dÃ©clenche les kickers
+    tango_command_inout2('ANS/SY/CENTRAL','FireSoftEvent');
+    pause(2)
+    
+    % get DD sur BPM02
+    temp=tango_read_attribute2('ANS-C01/DG/BPM.2','XPosDD');
+    X=temp.value;
+    X=X(1:50);
+    X=X-mean(X);
+    Xmin=min(X);
+    Xmax=max(X);
+    Xrms=std(X);
+    dx=(Xmax-Xmin)/2;
+    xx=[xx dx];
+    
+    figure(5)
+    subplot(2,1,1)
+    plot(X,'-ob');xlabel('Tour');ylabel('Amp  (mm)');grid on
+    subplot(2,1,2)
+    plot(delay,xx,'-ob');xlabel('Step Delay');ylabel('Amp max (mm)');grid on
+   
+    
+    fprintf('StepDelay  KH= %d   Amplitude BPM02=%d \n',kh1,dx);
+   
+end
+
+
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay',(kh0) );
Index: /trunk/machine/SOLEIL/common/synchro/scantune_record_rend_tau.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/scantune_record_rend_tau.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/scantune_record_rend_tau.m	(revision 17)
@@ -0,0 +1,8 @@
+
+for i=1:100
+
+   tango_command_inout2('ANS/SY/CENTRAL','FireSoftEvent');
+   pause(2)
+
+
+end
Index: /trunk/machine/SOLEIL/common/synchro/set_bump8_test_kicker.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump8_test_kicker.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump8_test_kicker.m	(revision 17)
@@ -0,0 +1,29 @@
+function set_bump8_1
+
+% deuxiÃšme optimisation du bump
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=0.85    % ratio global
+r1=1.010  % ratio 2 derniers kicker
+
+k=0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0     + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+4 -4  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+5 +0    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0+2 +0  + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(6240*r          +90));
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',((6200-0)*r      -90));
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',((6040+0)*r)*r1  +90);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(6200*r)*r1      -90);
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_optim.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_optim.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_optim.m	(revision 17)
@@ -0,0 +1,29 @@
+function set_bump_optim
+
+% deuxiÃšme optimisation du bump
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=0.90   % ratio global
+r1=1.010  % ratio 2 derniers kicker
+
+k=+0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0     + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+3    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+2    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0-1    + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(((6240+0)*r)   +80) );
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(((6200-0)*r)   -40  ) ); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(((6050+0)*r)*r1+90  ) );
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(((6200+0)*r)*r1-70  ) ); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_run1_2009.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_run1_2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_run1_2009.m	(revision 17)
@@ -0,0 +1,29 @@
+function set_bump_run7_2008
+
+% deuxiÃšme optimisation du bump
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=0.9;    % ratio global
+r1=1.010 ; % ratio 2 derniers kicker
+
+k=+0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+3 +3    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+2     + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0+4  +1   + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(((6240+0)*r)   -40  +35 ));
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(((6200-0)*r)   +30   )); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(((6050+0)*r)*r1+68   ));
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(((6200+0)*r)*r1-100 +35 )); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_run7_2008.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_run7_2008.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_run7_2008.m	(revision 17)
@@ -0,0 +1,29 @@
+function set_bump_run7_2008
+
+% deuxiÃšme optimisation du bump
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=0.95;    % ratio global
+r1=1.010 ; % ratio 2 derniers kicker
+
+k=+0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0 + 5 -5    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+3 -  0     + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+2 - 0       + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0-1 + 1  +4   + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(((6240+0)*r)   +80  -70  -50));
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(((6200-0)*r)   -40  +70 +0)  ); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(((6050+0)*r)*r1+90  -22)       );
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(((6200+0)*r)*r1-70  +22) -50  ); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test.m	(revision 17)
@@ -0,0 +1,29 @@
+function set_bump_test
+
+% deuxiÃšme optimisation du bump
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=0.95;    % ratio global
+r1=1.010 ; % ratio 2 derniers kicker
+
+k=+0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0 + 5 -5   + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+3 -  0  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+2 - 0  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0-1 + 1  +4 + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(((6240+0)*r)   +80  -70  -50) );
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(((6200-0)*r)   -40  +70 +0) ); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(((6050+0)*r)*r1+90  -22) );
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(((6200+0)*r)*r1-70  +22) -50); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test1.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test1.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test1.m	(revision 17)
@@ -0,0 +1,29 @@
+function set_bump_test
+
+% deuxiÃšme optimisation du bump
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=0.9;    % ratio global
+r1=1.010 ; % ratio 2 derniers kicker
+
+k=+0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0 + 5   + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+3 -  0  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+2 - 0  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0-1 + 1   + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5064+0)*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5052-0)*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',((5017+0)*r)*r1);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',((5031+0)*r)*r1); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test10_2010.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test10_2010.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test10_2010.m	(revision 17)
@@ -0,0 +1,45 @@
+function set_bump_test10_2010
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+fprintf('Kicker delay read\n')
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+fprintf('Kicker voltage read\n')
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage');  % 5.8064e+03
+fprintf('K1=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+fprintf('K2=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+fprintf('K3=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+fprintf('K4=%10.1f\n',temp.value(2))
+
+
+
+% New values 
+delai0 =5621670-40 -34 -6;
+r=1.04;    % ratio global
+r1=1.02 ;   % ratio 2 derniers kicker
+k=-0;
+
+% Avec +100 NanoFarad K4
+%
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0 -1  -3  +1 + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0 +6  +2  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0 -2  +3  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0 +2  -1  + k);
+
+return
+%
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5566+20-0 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5644+20+0 )*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5543+40 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5619-30 )*r); 
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test10_2012.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test10_2012.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test10_2012.m	(revision 17)
@@ -0,0 +1,46 @@
+function set_bump_test10_2012
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+fprintf('Kicker delay read\n')
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+fprintf('Kicker voltage read\n')
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage');  % 5.8064e+03
+fprintf('K1=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+fprintf('K2=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+fprintf('K3=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+fprintf('K4=%10.1f\n',temp.value(2))
+
+
+
+% New values 
+%delai0 =5621670-40 -34 -6; standart
+delai0 =5621670-40 -34 -12;
+r=1.04;    % ratio global
+r1=1.02 ;   % ratio 2 derniers kicker
+k=-0;
+
+% Avec +100 NanoFarad K4
+%
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0 -1  -3  +1 + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0 +6  +2  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0 -2  +3  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0 +2  -1  + k);
+
+return
+%
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5566+20-0 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5644+20+0 )*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5543+40 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5619-30 )*r); 
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test1_2009.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test1_2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test1_2009.m	(revision 17)
@@ -0,0 +1,29 @@
+function set_bump_test1_2009
+
+% deuxiÃšme optimisation du bump
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=1.;    % ratio global
+r1=1.010 ; % ratio 2 derniers kicker
+
+k=+0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+5    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+7    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0+1    + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',5591*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',5630*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',5592*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',5566*r); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test3_1ermai-2009.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test3_1ermai-2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test3_1ermai-2009.m	(revision 17)
@@ -0,0 +1,42 @@
+function set_bump_test3_2009
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage' ); % 5.8064e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=1.04;    % ratio global
+r1=1.010 ; % ratio 2 derniers kicker
+
+k=-3;
+% A priori dÃ©calage sur K3 et K4
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0    );
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+3    );
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+4    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0+0    + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',5591*r-10 );
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',5630*r+10); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',5592*r-10);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',5566*r+05); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test3_2009.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test3_2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test3_2009.m	(revision 17)
@@ -0,0 +1,41 @@
+function set_bump_test3_2009
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage' ); % 5.8064e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=1.04;    % ratio global
+r1=1.010 ; % ratio 2 derniers kicker
+
+k=+0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+3    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+4    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0+0    + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',5591*r-10 );
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',5630*r+10); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',5592*r-10);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',5566*r+05); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test4_2009.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test4_2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test4_2009.m	(revision 17)
@@ -0,0 +1,41 @@
+function set_bump_test3_2009
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage' ); % 5.8064e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=1.04;    % ratio global
+r1=1.010 ; % ratio 2 derniers kicker
+
+k=+0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+3    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+5    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0-2    + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',5591*r-10 );
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',5630*r+10); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',5592*r-10);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',5566*r+05); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test5_2009.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test5_2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test5_2009.m	(revision 17)
@@ -0,0 +1,41 @@
+function set_bump_test5_2009
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage' ); % 5.8064e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+
+
+%delai0 =31522246;  
+delai0 =5621670;
+voltage0=3000;  
+r=1.04;    % ratio global
+r1=1.0 ; % ratio 2 derniers kicker
+
+k=-0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0-0    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0+2    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0+3    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0-2    + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',5591*r-10 - 10);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',5630*r+10 - 10 ); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5592*r-10 + 20)*r1 );
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5566*r+05 - 15)*r1 ); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test6_2009.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test6_2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test6_2009.m	(revision 17)
@@ -0,0 +1,41 @@
+function set_bump_test6_2009
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage' ); % 5.8064e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+
+
+%delai0 =31522246;  
+delai0 =5621670-40;
+voltage0=3000;  
+r=1.02;    % ratio global
+r1=1.0 ; % ratio 2 derniers kicker
+
+k=-0;
+
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0 -1    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0 +6    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0 -2    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0 +2    + k);
+
+
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5566)*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5644 )*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5543 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5619)*r); 
+
+
+
+return
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test7_2009.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test7_2009.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test7_2009.m	(revision 17)
@@ -0,0 +1,45 @@
+function set_bump_test7_2009
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+fprintf('Kicker delay read\n')
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+fprintf('Kicker voltage read\n')
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage');  % 5.8064e+03
+fprintf('K1=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+fprintf('K2=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+fprintf('K3=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+fprintf('K4=%10.1f\n',temp.value(2))
+
+
+
+% New values 
+delai0 =5621670-40;
+r=1.02;    % ratio global
+r1=1.0 ;   % ratio 2 derniers kicker
+k=-0;
+
+%
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0 -1    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0 +6    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0 -2    + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0 +2    + k);
+
+%
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5566)*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5644 )*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5543 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5619)*r); 
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test7_2010.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test7_2010.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test7_2010.m	(revision 17)
@@ -0,0 +1,44 @@
+function set_bump_test7_2010
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+fprintf('Kicker delay read\n')
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+fprintf('Kicker voltage read\n')
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage');  % 5.8064e+03
+fprintf('K1=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+fprintf('K2=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+fprintf('K3=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+fprintf('K4=%10.1f\n',temp.value(2))
+
+
+
+% New values 
+delai0 =5621670-40;
+r=1.0;    % ratio global
+r1=1.02 ;   % ratio 2 derniers kicker
+k=-0;
+
+% Avec +100 NanoFarad K4
+%
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0 -1  +2  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0 +6  +2  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0 -2  +3  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0 +2  -2  + k);
+
+%
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5566+20 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5644+20 )*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5543+40 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5619-30 )*r); 
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test8_2010.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test8_2010.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test8_2010.m	(revision 17)
@@ -0,0 +1,45 @@
+function set_bump_test7_2010
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+fprintf('Kicker delay read\n')
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+fprintf('Kicker voltage read\n')
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage');  % 5.8064e+03
+fprintf('K1=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+fprintf('K2=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+fprintf('K3=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+fprintf('K4=%10.1f\n',temp.value(2))
+
+
+
+% New values 
+delai0 =5621670-40;
+r=1.0;    % ratio global
+r1=1.03 ;   % ratio 2 derniers kicker
+k=-0;
+
+%
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0 -1  +3  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0 +6  -3 +2 + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0 -2  +3  -1 + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0 +2  -3  + k);
+
+%
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5566-10 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5644+10 )*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5543+50 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5619-50 )*r); 
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_bump_test9_2010.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_bump_test9_2010.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_bump_test9_2010.m	(revision 17)
@@ -0,0 +1,46 @@
+function set_bump_test9_2010
+
+% deuxiÃšme optimisation du bump
+
+% standard run 2
+fprintf('Kicker delay read\n')
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay'); % 5621670
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay'); % 5621673
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay'); % 5621674
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay'); % 5621670
+
+fprintf('Kicker voltage read\n')
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.1', 'voltage');  % 5.8064e+03
+fprintf('K1=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.2', 'voltage');  % 5.8685e+03
+fprintf('K2=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.3', 'voltage');  % 5.8153e+03
+fprintf('K3=%10.1f\n',temp.value(2))
+temp=tango_read_attribute2('ANS-C01/EP/AL_K.4', 'voltage');  % 5.8034e+03
+fprintf('K4=%10.1f\n',temp.value(2))
+
+
+
+% New values 
+delai0 =5621670-40-40-40;
+r=1.0;    % ratio global
+r1=1.02 ;   % ratio 2 derniers kicker
+k=-0;
+
+% 1 pas = 5.8 ns
+% Avec +100 NanoFarad K4
+%
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',delai0 -1  -2  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',delai0 +6  +2  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',delai0 -2  +3  + k);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',delai0 +2  -1  + k);
+
+return
+%
+tango_write_attribute2('ANS-C01/EP/AL_K.1', 'voltage',(5566+20-0 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.2', 'voltage',(5644+20+0 )*r); 
+tango_write_attribute2('ANS-C01/EP/AL_K.3', 'voltage',(5543+40 )*r);
+tango_write_attribute2('ANS-C01/EP/AL_K.4', 'voltage',(5619-30 )*r); 
+
+
+
Index: /trunk/machine/SOLEIL/common/synchro/set_septa_actif.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_septa_actif.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_septa_actif.m	(revision 17)
@@ -0,0 +1,23 @@
+% special tension septum actif boo et ans
+
+% valeur de tension a basse cadence (soft)
+boo=99.239224886870645;
+ans=93.536955102247219;
+r=(1+0.002); % ratio
+try
+    %temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+    tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo*r);
+    %temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');    ans=temp.value(2)*r
+    tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans*r);
+catch
+    display('Erreur ajustement tension septa passif')
+end
+temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');temp.value(2)
+temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');    temp.value(2)
+    
+
+return
+% start value
+
+tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);
+tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);
Index: /trunk/machine/SOLEIL/common/synchro/set_septa_actif_delai.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_septa_actif_delai.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_septa_actif_delai.m	(revision 17)
@@ -0,0 +1,24 @@
+% special delai septum actif boo et ans
+% logÃ©e l'extraction sur la crete du septa
+
+septclk=52*184/2; % = 52 tours booster : max delai sur injection
+% valeur de tension a basse cadence (soft)
+%temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');     boo=temp.value(2)
+%temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay'); ans=temp.value(2)
+boo=31240305;
+ans=31240316;
+
+nstep=1
+try
+    tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',(boo + nstep*stepclk));
+    tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',    (ans + nstep*stepclk));
+catch
+    display('Erreur ajustement tension septa passif')
+end
+
+
+return
+% start value
+
+tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);
+tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);
Index: /trunk/machine/SOLEIL/common/synchro/set_synchro_KHV.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/set_synchro_KHV.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/set_synchro_KHV.m	(revision 17)
@@ -0,0 +1,21 @@
+function set_synchro_KHV(step)
+
+% read
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigStepDelay');bpm=temp.value(1); %not used
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay');kv0=temp.value(1);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay');kh0=temp.value(1);
+
+
+% setp les clk
+tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay',(kv0+step) );
+%tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay',(kh0+step) );
+
+
+% read again
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay');kv1=temp.value(1);
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay');kh1=temp.value(1);
+
+fprintf('************ step %d ********** \n',step);
+fprintf('StepDelay avant  KH= %d   KV=%d \n',kh0,kv0);
+fprintf('StepDelay aprÃšs  KH= %d   KV=%d \n',kh1,kv1);
+
Index: /trunk/machine/SOLEIL/common/synchro/soft_trigger.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/soft_trigger.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/soft_trigger.m	(revision 17)
@@ -0,0 +1,4 @@
+function soft_trigger
+% SOTF_TRIGGER - Ask a trig on the timing system
+
+tango_command_inout2('ANS/SY/CENTRAL','FireSoftEvent'); pause(1)
Index: /trunk/machine/SOLEIL/common/synchro/state_txt.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/state_txt.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/state_txt.m	(revision 17)
@@ -0,0 +1,29 @@
+function [txt, color]=state_txt(txt)
+% Manage state string from synchro
+
+tf = isstrprop(txt, 'cntrl');
+[C,I] = max(tf);
+if I==1
+    n=length(txt);
+else
+    n=I-1;
+end
+txt=txt(1:n);
+
+if strcmp('Local board is up and running.', txt)
+    color='green';
+elseif strcmp('Central is OK, and delivering Timing Synchro', txt)
+    color='green';
+elseif strcmp('Linac system up and running.', txt)
+    color='green';  
+elseif     strcmp('Local board is up and running. be careful: there is at least 1 soft address', txt)
+    color='green';
+elseif     strcmp('Local board is no more declenching. all events are equal to 0', txt)
+    color='yellow';
+elseif     strcmp('Local board is no more declenching. try to execute Update', txt)
+    color='magenta';
+else
+    color='red';
+end
+    
+
Index: /trunk/machine/SOLEIL/common/synchro/step_load_synchro_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/step_load_synchro_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/step_load_synchro_rafale.m	(revision 17)
@@ -0,0 +1,142 @@
+function load_synchro_rafale(Directory,file,DirName)
+%
+
+pwdold = pwd;
+cd(Directory);
+load(file)
+cd(pwdold);
+
+
+tout=0.;
+
+    display('off set')
+    if isfield(timing,'inj_offset');inj_offset=timing.inj_offset;
+       if isfield(timing,'ext_offset');ext_offset=timing.ext_offset;
+           if isfield(timing,'lin_fin'   );
+               
+              lin_fin   =timing.lin_fin;
+              FileName = [DirName 'synchro_offset_lin'];
+              save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+              
+           end
+       end
+    end
+    display('Clk')
+    % set address to value never used (prevent collision when swap adress)
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigStepDelay',timing.boo_dof_ext(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigStepDelay',timing.boo_sep_p_ext(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay',timing.boo_sep_a_ext(1));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigStepDelay',timing.boo_k_ext(1));pause(tout);
+    if isfield(timing,'boo_mrsv');tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceStepDelay',timing.boo_mrsv(1));pause(tout);end
+    tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigStepDelay',timing.lt2_bpm(1));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctStepDelay',timing.lt2_osc(1));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvStepDelay',timing.lt2_emittance(1));pause(tout);
+    
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',timing.ans_k1_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',timing.ans_k2_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',timing.ans_k3_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',timing.ans_k4_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigStepDelay',timing.ans_sep_p_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay',timing.ans_sep_a_inj(1));pause(tout);
+    tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigStepDelay',timing.ans_bpm01(1));pause(tout);
+    tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm02(1));pause(tout);
+    tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm03(1));pause(tout);
+    tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm04(1));pause(tout);
+    tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm05(1));pause(tout);
+    tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm06(1));pause(tout);
+    tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm07(1));pause(tout);
+    tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm08(1));pause(tout);
+    tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm09(1));pause(tout);
+    tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm10(1));pause(tout);  
+    tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm11(1));pause(tout);  
+    tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm12(1));pause(tout);  
+    tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm13(1));pause(tout);  
+    tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm14(1));pause(tout);  
+    tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm15(1));pause(tout);  
+    tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigStepDelay',timing.ans_bpm16(1));pause(tout);   
+    tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctStepDelay',timing.ans_dcct(1));pause(tout);  
+    if isfield(timing,'ans_nod') ;tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteStepDelay',timing.ans_nod(1));pause(tout);end  
+   
+    
+    if isfield(timing,'ans_k_hv_pc') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcStepDelay',timing.ans_k_hv_pc(1));pause(tout);end  
+    if isfield(timing,'ans_k_v') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay',timing.ans_k_v(1));pause(tout);end  
+    if isfield(timing,'ans_k_h') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay',timing.ans_k_h(1));pause(tout);end  
+
+    display('Event')
+    tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',int32(timing.sdc1(2)));pause(tout);
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',int32(timing.lin_lpm(2)));pause(tout);
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',int32(timing.lin_modulateur(2)));
+    if isfield(timing,'lin_spm');tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',int32(timing.lin_spm(2)));pause(tout);end
+    if isfield(timing,'lin_alim');tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',int32(timing.lin_alim(2)));pause(tout);end
+    tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',int32(timing.boo_bpm(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',int32(timing.boo_bpm(2)));pause(tout);     
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',int32(timing.lt1_emittance(2)));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',int32(timing.lt1_mc1(2)));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',int32(timing.lt1_mc2(2)));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',int32(timing.lt1_osc(2)));pause(tout);
+    tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',int32(timing.boo_dcct(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',int32(timing.boo_nod(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent',int32(timing.boo_sep_p_inj(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',int32(timing.boo_k_inj(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpEvent',int32(timing.boo_dp(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfEvent',int32(timing.boo_qf(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdEvent',int32(timing.boo_qd(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfEvent',int32(timing.boo_sf(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdEvent',int32(timing.boo_sd(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.RF.1', 'rfEvent',int32(timing.boo_rf(2)));pause(tout);
+    tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',int32(timing.sdc2(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',int32(timing.boo_dof_ext(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',int32(timing.boo_sep_p_ext(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',int32(timing.boo_sep_a_ext(2)));pause(tout);
+    tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',int32(timing.boo_k_ext(2)));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',int32(timing.lt2_bpm(2)));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',int32(timing.lt2_osc(2)));pause(tout);
+    tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',int32(timing.lt2_emittance(2)));pause(tout);
+    if isfield(timing,'boo_mrsv');tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',int32(timing.boo_mrsv(2)));pause(tout);end
+    arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; 
+    arg.lvalue=int32([timing.ans_k1_inj(2) timing.ans_k2_inj(2) timing.ans_k3_inj(2) timing.ans_k4_inj(2)]); 
+    tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃÂ© address sans update
+    tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');pause(tout);
+    
+    arg.svalue={'sep-p.trig','sep-a.trig'};
+    arg.lvalue=int32([timing.ans_sep_p_inj(2) timing.ans_sep_a_inj(2)]);
+    tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃÂ© address sans update
+    tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');pause(tout);
+   
+    
+    tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',int32(timing.ans_bpm01(2)));pause(tout);
+    tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm02(2)));pause(tout);
+    tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm03(2)));pause(tout);
+    tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm04(2)));pause(tout);
+    tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm05(2)));pause(tout);
+    tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm06(2)));pause(tout);
+    tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm07(2)));pause(tout);
+    tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm08(2)));pause(tout);
+    tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm09(2)));pause(tout);
+    tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm10(2)));pause(tout);  
+    tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm11(2)));pause(tout);  
+    tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm12(2)));pause(tout);  
+    tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm13(2)));pause(tout);  
+    tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm14(2)));pause(tout);  
+    tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm15(2)));pause(tout);  
+    tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',int32(timing.ans_bpm16(2)));pause(tout);   
+    tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',int32(timing.ans_dcct(2)));pause(tout);
+    if isfield(timing,'ans_nod') ;tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteEvent',int32(timing.ans_nod(2)));pause(tout);end  
+    
+    if isfield(timing,'ans_k_hv_pc') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcEvent',int32(timing.ans_k_hv_pc(2)));pause(tout);end  
+    if isfield(timing,'ans_k_v') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigEvent',int32(timing.ans_k_v(2)));pause(tout);end  
+    if isfield(timing,'ans_k_h') ;tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigEvent',int32(timing.ans_k_h(2)));pause(tout);end  
+    
+    % apply good value
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay',timing.central_pc);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',timing.central_inj);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',timing.central_soft);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay',timing.central_spare);
+    tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',timing.central_ext);
+ 
+    
+display('OK')
+
+
Index: /trunk/machine/SOLEIL/common/synchro/step_synchro_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/step_synchro_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/step_synchro_rafale.m	(revision 17)
@@ -0,0 +1,152 @@
+function step_synchro_rafale(DirName)
+% step central and delay on address 3 only
+
+ n=1;
+% % central
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');
+% timing.central_pc=temp.value(n);
+% 
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay');
+% timing.central_inj=temp.value(n);
+% 
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+% timing.central_soft=temp.value(n);
+% 
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');
+% timing.central_spare=temp.value(n);
+% 
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+% timing.central_ext=temp.value(n);
+
+offsettime=70000;
+offset=176*offsettime;
+
+
+% ext on add 3
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigStepDelay');
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigStepDelay',temp.value(1)+offset);
+
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigStepDelay');
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay',temp.value(1)+offset);
+
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigStepDelay');
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1', 'spareStepDelay');
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay');
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay',temp.value(1)+offset);
+
+% LT2
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvStepDelay');
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctStepDelay');
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigStepDelay');
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+% ANS
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay',temp.value(1)+offset);
+
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+
+temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+
+temp=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigStepDelay');
+tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigStepDelay',temp.value(1)+offset);
+
+%
+temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctStepDelay');
+tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTimeDelay');
+tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTimeDelay',temp.value(1)+offset);
+
+% kicker machine
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-hv.pcStepDelay',temp.value(1)+offset);
+
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay',temp.value(1)+offset);
+
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay');
+tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay',temp.value(1)+offset);
+
+
+% offset
+FileName = [DirName 'synchro_offset_lin'];
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+ext_offset=ext_offset+offsettime;
+save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+
+
Index: /trunk/machine/SOLEIL/common/synchro/switchsynchro.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/switchsynchro.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/switchsynchro.m	(revision 17)
@@ -0,0 +1,190 @@
+function switchsynchro(varargin)
+% switchsynchro - Switch timing for using the Machine study kickers (KEM) or 
+% Normal injection mode or 3 Hz for BPMs
+%
+%  INPUTS
+%  Injection - Mode for standard injection into the storage ring
+%  KEM       - Mode for kicking the beam with a soft event 
+%  3Hz       - Mode for conitnuous trigging BPM at 3 Hz
+
+%
+%  Written by Laurent S. Nadolski
+%  22 July 2008: Display and group added 
+%  9 december 2010: Add 3 Hz for pseudo single bunch
+
+SynchroFlag = 'Injection';
+DisplayFlag = 1;
+
+% Input parser
+for i = length(varargin):-1:1,
+    if strcmpi(varargin{i},'Injection') || strcmpi(varargin{i},'Inj')
+        SynchroFlag = 'Injection';
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'KEM')
+        SynchroFlag = 'KEM';
+    elseif strcmpi(varargin{i},'3Hz')
+        SynchroFlag = '3Hz';
+    elseif strcmpi(varargin{i},'Display')
+        DisplayFlag = 1;
+        varargin(i) = [];
+    elseif strcmpi(varargin{i},'NoDisplay')
+        DisplayFlag = 0;
+        varargin(i) = [];
+    end
+end
+
+% switchyard for injection
+switch SynchroFlag
+    case 'KEM' % Switch Timing system for using KEMs
+        event = 16;
+        tango_write_attribute2('ANS/SY/CENTRAL','softEventAdress',int32(event));
+        tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1','k-h.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1','k-v.trigEvent',int32(event));
+        pause(1)
+        checktimingconfig(event, 'KEM');
+        
+    case 'Injection'  % Switch back for injection anly for BPMs
+        eventInj = 3;
+        tango_write_attribute2('ANS/SY/CENTRAL','softEventAdress',int32(5));
+        tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1','bpm.trigEvent',int32(eventInj));
+        pause(1)
+        checktimingconfig(eventInj);        
+    case '3Hz'  % Switch back for injection anly for BPMs
+        event = 4;
+        tango_write_attribute2('ANS/SY/CENTRAL','softEventAdress',int32(5));
+        tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1','bpm.trigEvent',int32(event));
+        pause(1)
+        checktimingconfig(event);        
+    otherwise
+        error('Wrong mode');
+end
+
+% Diagnostics for checking evering thing is OK
+
+devName={'ANS-C01/SY/LOCAL.DG.2'
+         'ANS-C02/SY/LOCAL.DG.1'
+         'ANS-C03/SY/LOCAL.DG.1'
+         'ANS-C04/SY/LOCAL.DG.1'
+         'ANS-C05/SY/LOCAL.DG.1'
+         'ANS-C06/SY/LOCAL.DG.1'
+         'ANS-C07/SY/LOCAL.DG.1'
+         'ANS-C08/SY/LOCAL.DG.1'
+         'ANS-C09/SY/LOCAL.DG.1'
+         'ANS-C10/SY/LOCAL.DG.1'
+         'ANS-C11/SY/LOCAL.DG.1'
+         'ANS-C12/SY/LOCAL.DG.1'
+         'ANS-C13/SY/LOCAL.DG.1'
+         'ANS-C14/SY/LOCAL.DG.1'
+         'ANS-C15/SY/LOCAL.DG.1'
+         'ANS-C16/SY/LOCAL.DG.1'
+    };
+
+if DisplayFlag
+    val =[];
+    for k=1:length(devName)
+        val(k) = readattribute([devName{k} '/bpm.trigEvent']);
+    end
+
+    figure
+    bar(val)
+    title('Trigger Event Value for BPM timing board')
+    xlabel('Cell number')
+    ylabel('Event value')
+end
+
+% subfunction
+function checktimingconfig(value, varargin)
+
+% Defaul flag
+KEMFlag = 0;
+
+for i = length(varargin):-1:1
+    if strcmpi(varargin{i},'NoKEM')
+        KEMFlag = 0;
+        varargin(i) = [];
+    else strcmpi(varargin{i},'KEM')
+        KEMFlag = 1;
+        varargin(i) = [];
+    end
+end
+
+
+if KEMFlag
+    val = ones(1,19)*NaN;
+else
+    val = ones(1,17)*NaN;
+end
+
+val(1) = readattribute(['ANS/SY/CENTRAL','/softEventAdress']);
+val(2) = readattribute(['ANS-C01/SY/LOCAL.DG.2','/bpm.trigEvent']);
+val(3) = readattribute(['ANS-C02/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(4) = readattribute(['ANS-C03/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(5) = readattribute(['ANS-C04/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(6) = readattribute(['ANS-C05/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(7) = readattribute(['ANS-C06/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(8) = readattribute(['ANS-C07/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(9) = readattribute(['ANS-C08/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(10) = readattribute(['ANS-C09/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(11) = readattribute(['ANS-C10/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(12) = readattribute(['ANS-C11/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(13) = readattribute(['ANS-C12/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(14) = readattribute(['ANS-C13/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(15) = readattribute(['ANS-C14/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(16) = readattribute(['ANS-C15/SY/LOCAL.DG.1','/bpm.trigEvent']);
+val(17) = readattribute(['ANS-C16/SY/LOCAL.DG.1','/bpm.trigEvent']);
+
+if KEMFlag
+    val(18) = readattribute(['ANS-C01/SY/LOCAL.EP.1','/k-h.trigEvent']);
+    val(19) = readattribute(['ANS-C01/SY/LOCAL.EP.1','/k-v.trigEvent']);
+end
+
+if mean(val(2:end)) ~= value
+    fprintf('At least one timing board is not set properly to %d soft address \n', value);
+end
+
Index: /trunk/machine/SOLEIL/common/synchro/synchro_injecteur7_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/synchro_injecteur7_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/synchro_injecteur7_rafale.m	(revision 17)
@@ -0,0 +1,3716 @@
+function varargout = synchro_injecteur7_rafale(varargin)
+% SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig
+%      SYNCHRO_INJECTEUR7_RAFALE, by itself, creates a new SYNCHRO_INJECTEUR7_RAFALE or raises the existing
+%      singleton*.
+%
+%      H = SYNCHRO_INJECTEUR7_RAFALE returns the handle to a new SYNCHRO_INJECTEUR7_RAFALE or the handle to
+%      the existing singleton*.
+%
+%      SYNCHRO_INJECTEUR7_RAFALE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in SYNCHRO_INJECTEUR7_RAFALE.M with the given input arguments.
+%
+%      SYNCHRO_INJECTEUR7_RAFALE('Property','Value',...) creates a new SYNCHRO_INJECTEUR7_RAFALE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before synchro_injecteur7_rafale_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to synchro_injecteur7_rafale_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% For the compiler
+%#function aoinit setao setoperationalmode
+%#function boosterinit
+%#function magnetcoefficients
+%
+
+% Edit the above text to modify the response to help synchro_injecteur7_rafale
+
+% Last Modified by GUIDE v2.5 02-Oct-2008 16:05:52
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @synchro_injecteur7_rafale_OpeningFcn, ...
+                   'gui_OutputFcn',  @synchro_injecteur7_rafale_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before synchro_injecteur7_rafale is made visible.
+function synchro_injecteur7_rafale_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to synchro_injecteur7_rafale (see VARARGIN)
+
+% Choose default command line output for synchro_injecteur7_rafale
+handles.output = hObject;
+
+% list les devices annexe pour etat
+fprintf('Liste devices annexes \n');
+% name={'ANS-C03/DG/DCCT','LT1/DG/MC','BOO-C01/DG/DCCT',...
+%     'ANS/DG/PUB-FillingMode', 'ANS/FC/INJ_COND'};
+name={'ANS/DG/DCCT-CTRL','LT1/DG/MC','BOO-C01/DG/DCCT',...
+    'ANS/DG/PUB-FillingMode', 'ANS/FC/INJ_COND'};
+for i=1:4
+    try
+        txt=tango_command_inout2(name{2},'State');
+        %temp=tango_read_attribute(name{i},'State');
+        %temp=tango_read_attribute(name{i},'Status');txt=temp.value;
+    catch
+        txt='bug_device';
+    end
+    fprintf('%s   :   %s \n',name{i},txt);
+end
+
+% Added by Laurent
+if isdeployed
+    cd(getenv('MLROOT')); 
+    setpathsoleil('Booster'); 
+end
+% End 
+
+% Directories
+%Directory='/home/matlabML/measdata/SOLEIL/Boosterdata/Datatemp'; % ALEX
+Directory =  [getfamilydata('Directory','DataRoot') '../Boosterdata/Datatemp']; % Laurent
+handles.Directory=Directory;  % for saved data
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');
+% DirName ='/home/matlabML/machine/SOLEIL/common/synchro/'; % ALEX
+DirName = getfamilydata('Directory', 'Synchro'); % Laurent
+handles.DirName=DirName;      % for offset & table
+
+% Charge les offset
+FileName = [DirName 'synchro_offset_lin'];
+fprintf('Laurent:%s\n', FileName');
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+set(handles.inj_offset,'String',num2str(inj_offset));
+set(handles.ext_offset,'String',num2str(ext_offset));
+set(handles.lin_canon_spm_fin,'String',num2str(lin_fin));
+% Periode linac fin
+handles.lin_fin_step=0.090;                   % En ns  (90 ps)
+handles.one_bunch=2.84/handles.lin_fin_step;  % Nombre de pas pour sauter un paquet
+
+% Periode du trigger par defaut = 10 s
+handles.periode = 10;
+set(handles.periode_edit,'String',num2str(handles.periode));
+set(handles.edit_Ncycle,'String',num2str(1));
+set(handles.edit_Ncoup,'String',1.0);
+
+%Memorise les dÃÂ©lais spare et soft initiaux
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');
+clk1=temp.value(1);
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+clk2=temp.value(1);
+
+%Stocke les sauts pour les 4 quarts mode LPM
+jump=int32([0 39 26 13]);
+handles.clk_spare  =jump +  int32(clk1);
+handles.clk_soft=jump  + int32(clk2);
+handles.quart=1;
+
+% Table initiale sur paquet 1
+bunch=[1];
+[dtour,dpaquet]=bucketnumber(bunch);
+offset_linac=lin_fin/handles.lin_fin_step; 
+bjump=handles.one_bunch;
+dpaquet=dpaquet*bjump+offset_linac;
+handles.table=int32([length(bunch) dtour dpaquet]);
+handles.table0=handles.table;
+handles.bunch=bunch;
+
+handles.mode = 'Mode=???';
+set(handles.edit_filling_relecture_tables,'Enable','off');
+set(handles.edit_filling_relecture_bunch,'Enable','off');
+
+% Verifie le mode selectionnÃÂ© en SPM ou LPM
+% Verifie le mode central selectionnÃÂ©  : rafale ou continue
+% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets
+% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz
+test_modes(handles);
+
+
+% Choix des events
+handles.event0 =int32(0);
+handles.event00=int32(100);  %SpÃÂ©ciale EP
+
+% Cache le tableau des dÃÂ©lais BPM
+set(handles.panel_bpm,'Visible','off');
+set(handles.uipanel_kicker_machine,'Visible','off');
+
+% text affichage
+handles.txt_inj=  ' INJECTION AUTOMATIQUE EN COURS '; % txt injection auto en cours
+handles.txt_noinj=' INJECTION INTERDITE ';            % txt injection non autorise (Grp fonctionnement)
+
+% Publisher - fonctionnement (gere sur injection en boucle)
+tango_write_attribute2('ANS/DG/PUB-FillingMode','mode_auto',uint8(0))         % flag injection auto
+tango_write_attribute2('ANS/DG/PUB-FillingMode','courant_consigne',uint8(0))  % flag courant consigne atteint
+  
+% tango parser ANS/FC/INJ_COND
+% temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ');
+% handles.cond_inj=temp.value;   % 0 no injection,  1 injection
+% try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection
+% val=temp.value; catch val=1 ; end ; if val~=0 ; val=1; end;
+% handles.cond_inj=val;
+
+
+% Fonction timer pour injection en boucle
+% Creates timer Infinite loop
+timer2=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',3,'TasksToExecute',Inf);
+timer2.TimerFcn = {@fonction_alex2, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer2',timer2);
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',handles.periode,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fonction_alex1, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer1',timer1);
+
+% button group sur on/off timer du trigger
+h = uibuttongroup('visible','off','Position',[0.141 0.37 0.11 0.14],...
+    'Title','','TitlePosition','centertop',...
+    'BackgroundColor',[1 0.3 0 ]);
+u1 = uicontrol('Style','Radio','String',' OFF','Tag','radiobutton1',...
+    'pos',[05 85 55 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[1 0.3 0  ]);
+u2 = uicontrol('Style','Radio','String',' Laps :','Tag','radiobutton2',...
+    'pos',[05 45 55 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[1 0.3 0 ]);
+u3 = uicontrol('Style','Radio','String',' Imin :','Tag','radiobutton3',...
+    'pos',[05 05 55 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[1 0.3 0 ]);
+
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+handles.off = u1;
+handles.on1 = u2;
+handles.on2 = u3;
+
+set(h,'SelectedObject',u1); 
+set(h,'Visible','on');
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer2,handles.figure1});
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes synchro_injecteur7_rafale wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = synchro_injecteur7_rafale_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function boo_alim_dipole_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_dipole (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_dipole as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_dipole as a double
+%h=gcf
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_dipole (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function boo_alim_qf_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_qf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_qf as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_qf as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_qf_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_qf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_alim_qd_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_qd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_qd as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_qd as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_qd_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_qd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_alim_sf_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_sf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_sf as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_sf as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_sf_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_sf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_alim_sd_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_sd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_sd as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_sd as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_sd_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_sd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_rf_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_rf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_rf as text
+%        str2double(get(hObject,'String')) returns contents of boo_rf as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_rf_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_rf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_canon_lpm_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_canon_lpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_canon_lpm as text
+%        str2double(get(hObject,'String')) returns contents of lin_canon_lpm as a double
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_canon_lpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt1_emittance_Callback(hObject, eventdata, handles)
+% hObject    handle to lt1_emittance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt1_emittance as text
+%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt1_emittance_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt1_emittance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt1_MC1_Callback(hObject, eventdata, handles)
+% hObject    handle to lt1_MC1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt1_MC1 as text
+%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt1_MC1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt1_MC1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt1_MC2_Callback(hObject, eventdata, handles)
+% hObject    handle to lt1_MC2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt1_MC2 as text
+%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt1_MC2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt1_MC2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt1_osc_Callback(hObject, eventdata, handles)
+% hObject    handle to lt1_osc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt1_osc as text
+%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lt1_osc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt1_osc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function sdc1_Callback(hObject, eventdata, handles)
+% hObject    handle to sdc1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of sdc1 as text
+%        str2double(get(hObject,'String')) returns contents of sdc1 as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function sdc1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sdc1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_inj_septum_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_inj_septum (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_inj_septum as text
+%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_inj_septum_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_inj_septum (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_inj_kicker_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_inj_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text
+%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_inj_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_bpm as text
+%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function boo_bpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_nod_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_nod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_nod as text
+%        str2double(get(hObject,'String')) returns contents of boo_nod as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_nod_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_nod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_dcct_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_dcct (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_dcct as text
+%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_dcct_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_dcct (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_canon_spm_fin_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_canon_spm_fin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_canon_spm_fin as text
+%        str2double(get(hObject,'String')) returns contents of lin_canon_spm_fin as a double
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+ext_offset=str2double(get(handles.ext_offset,'String'));
+lin_fin   =str2double(get(handles.lin_canon_spm_fin,'String'));
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');
+FileName = [handles.DirName 'synchro_offset_lin'];
+save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+
+% --- Executes during object creation, after setting all properties.
+function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_canon_spm_fin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_spare_Callback(hObject, eventdata, handles)
+% hObject    handle to central_spare (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_spare as text
+%        str2double(get(hObject,'String')) returns contents of central_spare as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay',delay);
+
+%status soft checked on linac
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+if (temp.value(1)==2)
+   %
+elseif (temp.value(1)==5)
+    dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    inj_offset=str2double(get(handles.inj_offset,'String'));
+    dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+    delay=dt.value(1)-dt1.value(1)+inj_offset;
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+    temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+    set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+end
+
+% --- Executes during object creation, after setting all properties.
+function central_spare_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_spare (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_inj_Callback(hObject, eventdata, handles)
+% hObject    handle to central_inj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_inj as text
+%        str2double(get(hObject,'String')) returns contents of central_inj as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function central_inj_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_inj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+function central_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to central_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_soft as text
+%        str2double(get(hObject,'String')) returns contents of central_soft as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',delay);
+
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+% clkinj=int32(temp.value(1)+5*52);
+% clkext=int32(temp.value(1)/52+10);
+% tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',clkinj);
+% tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',clkext);
+% 
+% %status soft checked on linac
+% temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent');
+% if (temp.value(1)==2)
+%    %
+% elseif (temp.value(1)==1)
+%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+%     inj_offset=str2double(get(handles.inj_offset,'String'));
+%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+%     delay=dt.value(1)-dt1.value(1)+inj_offset;
+%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+%     temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+%     set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+% end
+
+% --- Executes during object creation, after setting all properties.
+function central_soft_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_acquisition_nooffset.
+function button_acquisition_nooffset_Callback(hObject, eventdata, handles)
+% hObject    handle to button_acquisition_nooffset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+test_modes(handles);
+
+
+set(handles.inj_offset,'Enable','off');
+set(handles.sdc1,'Enable','off');
+set(handles.lin_canon_lpm,'Enable','off');
+set(handles.lin_canon_spm,'Enable','off');
+set(handles.lin_canon_spm_fin,'Enable','off');
+set(handles.boo_bpm,'Enable','off');
+set(handles.lt1_emittance,'Enable','off');
+set(handles.lt1_MC1,'Enable','off');
+set(handles.lt1_MC2,'Enable','off');
+set(handles.lt1_osc,'Enable','off');
+set(handles.boo_dcct,'Enable','off');
+set(handles.boo_nod,'Enable','off');
+set(handles.boo_inj_septum,'Enable','off');
+set(handles.boo_inj_kicker,'Enable','off');
+set(handles.boo_alim_dipole,'Enable','off');
+set(handles.boo_alim_qf,'Enable','off');
+set(handles.boo_alim_qd,'Enable','off');
+set(handles.boo_alim_sf,'Enable','off');
+set(handles.boo_alim_sd,'Enable','off');
+set(handles.boo_rf,'Enable','off');
+set(handles.lin_modulateur,'Enable','off');
+set(handles.ext_offset,'Enable','off');
+set(handles.boo_ext_dof,'Enable','off');
+set(handles.boo_ext_sept_p,'Enable','off');
+set(handles.boo_ext_sept_a,'Enable','off');
+set(handles.boo_ext_kicker,'Enable','off');
+set(handles.sdc2,'Enable','off');
+set(handles.lt2_emittance,'Enable','off');
+set(handles.lt2_osc,'Enable','off');
+set(handles.lt2_bpm,'Enable','off');
+set(handles.ans_inj_k1,'Enable','off');
+set(handles.ans_inj_k2,'Enable','off');
+set(handles.ans_inj_k3,'Enable','off');
+set(handles.ans_inj_k4,'Enable','off');
+set(handles.ans_inj_sept_p,'Enable','off');
+set(handles.ans_inj_sept_a,'Enable','off');
+set(handles.ans_bpm,'Enable','off');
+set(handles.ans_dcct,'Enable','off');
+set(handles.ans_bpm_c01,'Enable','off');
+set(handles.ans_bpm_c02,'Enable','off');
+set(handles.ans_bpm_c03,'Enable','off');
+set(handles.ans_bpm_c04,'Enable','off');
+set(handles.ans_bpm_c05,'Enable','off');
+set(handles.ans_bpm_c06,'Enable','off');
+set(handles.ans_bpm_c07,'Enable','off');
+set(handles.ans_bpm_c08,'Enable','off');
+set(handles.ans_bpm_c09,'Enable','off');
+set(handles.ans_bpm_c10,'Enable','off');
+set(handles.ans_bpm_c11,'Enable','off');
+set(handles.ans_bpm_c12,'Enable','off');
+set(handles.ans_bpm_c13,'Enable','off');
+set(handles.ans_bpm_c14,'Enable','off');
+set(handles.ans_bpm_c15,'Enable','off');
+set(handles.ans_bpm_c16,'Enable','off');
+
+get_synchro_delay_nooffset(handles)
+n=1;
+
+%status soft checked on linac
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+if (temp.value(n)==2)
+    %set(handles.soft_button,'Value',0);
+elseif (temp.value(n)==5)
+    %set(handles.soft_button,'Value',1);
+end
+
+%status tables
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+offset=temp.value(1)*52;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
+n=temp.value;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
+table=temp.value(1:n)-offset;
+set(handles.edit_filling_relecture_tables,'String',['T=' , num2str(table)]);  
+
+
+
+% --- Executes on button press in button_acquisition_delay.
+function button_acquisition_delay_Callback(hObject, eventdata, handles)
+% hObject    handle to button_acquisition_delay (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+bug_device='Bug device';
+
+test_modes(handles);
+
+set(handles.inj_offset,'Enable','on');
+set(handles.sdc1,'Enable','on');
+set(handles.lin_canon_lpm,'Enable','on');
+set(handles.lin_canon_spm,'Enable','on');
+set(handles.lin_canon_spm_fin,'Enable','on');
+set(handles.boo_bpm,'Enable','on');
+set(handles.lt1_emittance,'Enable','on');
+set(handles.lt1_MC1,'Enable','on');
+set(handles.lt1_MC2,'Enable','on');
+set(handles.lt1_osc,'Enable','on');
+set(handles.boo_dcct,'Enable','on');
+set(handles.boo_nod,'Enable','on');
+set(handles.boo_inj_septum,'Enable','on');
+set(handles.boo_inj_kicker,'Enable','on');
+set(handles.boo_alim_dipole,'Enable','on');
+set(handles.boo_alim_qf,'Enable','on');
+set(handles.boo_alim_qd,'Enable','on');
+set(handles.boo_alim_sf,'Enable','on');
+set(handles.boo_alim_sd,'Enable','on');
+set(handles.boo_rf,'Enable','on');
+set(handles.lin_modulateur,'Enable','on');
+set(handles.ext_offset,'Enable','on');
+set(handles.boo_ext_dof,'Enable','on');
+set(handles.boo_ext_sept_p,'Enable','on');
+set(handles.boo_ext_sept_a,'Enable','on');
+set(handles.boo_ext_kicker,'Enable','on');
+set(handles.sdc2,'Enable','on');
+set(handles.lt2_emittance,'Enable','on');
+set(handles.lt2_osc,'Enable','on');
+set(handles.lt2_bpm,'Enable','on');
+set(handles.ans_inj_k1,'Enable','on');
+set(handles.ans_inj_k2,'Enable','on');
+set(handles.ans_inj_k3,'Enable','on');
+set(handles.ans_inj_k4,'Enable','on');
+set(handles.ans_inj_sept_p,'Enable','on');
+set(handles.ans_inj_sept_a,'Enable','on');
+set(handles.ans_bpm,'Enable','on');
+set(handles.ans_dcct,'Enable','on');
+set(handles.ans_bpm_c01,'Enable','on');
+set(handles.ans_bpm_c02,'Enable','on');
+set(handles.ans_bpm_c03,'Enable','on');
+set(handles.ans_bpm_c04,'Enable','on');
+set(handles.ans_bpm_c05,'Enable','on');
+set(handles.ans_bpm_c06,'Enable','on');
+set(handles.ans_bpm_c07,'Enable','on');
+set(handles.ans_bpm_c08,'Enable','on');
+set(handles.ans_bpm_c09,'Enable','on');
+set(handles.ans_bpm_c10,'Enable','on');
+set(handles.ans_bpm_c11,'Enable','on');
+set(handles.ans_bpm_c12,'Enable','on');
+set(handles.ans_bpm_c13,'Enable','on');
+set(handles.ans_bpm_c14,'Enable','on');
+set(handles.ans_bpm_c15,'Enable','on');
+set(handles.ans_bpm_c16,'Enable','on');
+set(handles.ans_k_pc,'Enable','on');
+set(handles.ans_k_h,'Enable','on');
+set(handles.ans_k_v,'Enable','on');
+
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');
+FileName = [handles.DirName 'synchro_offset_lin'];
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+set(handles.inj_offset,'String',num2str(inj_offset));
+set(handles.ext_offset,'String',num2str(ext_offset));
+set(handles.lin_canon_spm_fin,'String',num2str(lin_fin));
+
+get_synchro_delay(handles)
+n=1;
+%status soft checked on linac
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+if (temp.value(n)==2)
+    %set(handles.soft_button,'Value',0);
+elseif (temp.value(n)==5)
+    %set(handles.uipanel_mode,'String','Mode Soft');
+end
+
+%status tables
+%temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+%offset=temp.value(1)*52;
+offset_linac=10*lin_fin;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
+n=temp.value;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
+table_ext=temp.value(1:n); %-offset_ext;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'LinacDelayTable');
+table_linac=(temp.value(1:n)-offset_linac)/28;
+table=[];
+for i=1:n
+    table=[table ' ' '(' num2str([table_ext(i)])  ' '  num2str([table_linac(i)]) ')'];
+end
+set(handles.edit_filling_relecture_tables,'String',[num2str(table)]);
+set(handles.edit_filling_relecture_bunch, 'String','??');
+
+
+
+% --- Executes on button press in button_injection_soft.
+function button_injection_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to button_injection_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% verifie si inj autorisÃ©
+% try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection
+% val=temp.value; catch val=1 ; end ; if val~=0 ; val=1; end;
+% 
+% if (val==1)
+%     
+%     tic
+%    [r1,r2]=fire_injection(handles);
+%     toc
+% else
+%     % pas d'injection, tir non autorise
+%     fprintf('%s\n','Gap U20  < limite    dans ANS/EI/GAP_U20_SECURITY');
+% end
+
+[r1,r2]=fire_injection(handles);
+
+% check synchro booster
+%flag=0 : OK
+%falg=1 : mauvais delais
+[flag]=check_boo_synchro;
+if flag==1 && r1> 20
+    set(handles.central_inj,'Backgroundcolor', [1 0 0]); % KO
+else
+    set(handles.central_inj,'Backgroundcolor', [1 1 1]); % OK
+end
+
+% % Warning mauvais rendement booster
+% if r1 < 90
+%     set(handles.edit_rboo,'Backgroundcolor', [1 0 0]); % KO
+%     set(handles.edit_rboo,'Foregroundcolor', [0 0 0]); 
+% else
+%     set(handles.edit_rboo,'Backgroundcolor', [1 1 1]); % OK
+%     set(handles.edit_rboo,'Foregroundcolor', [1 0 0]); 
+% end
+
+%
+test_modes(handles);
+
+function periode_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to periode_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of periode_edit as text
+%        str2double(get(hObject,'String')) returns contents of periode_edit as a double
+
+val_multishot = get(handles.on1,'Value');
+
+if val_multishot
+    errordlg('positionner le trigger a OFF !','Attention');
+    return
+else
+    periode = str2double(get(hObject,'String'));
+
+    % change timer Infinite loop
+    timer1=timer('StartDelay',1,...
+        'ExecutionMode','fixedRate','Period',periode,'TasksToExecute',Inf);
+    timer1.TimerFcn = {@fonction_alex1, hObject,eventdata, handles};
+    setappdata(handles.figure1,'Timer1',timer1);
+
+    % Update handles structure
+    guidata(hObject, handles);
+    
+    %getappdata(handles.figure1,'Timer1')
+    
+end
+
+
+
+% --- Executes during object creation, after setting all properties.
+function periode_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to periode_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%handles = guidata(gcbo);
+timer1 = getappdata(handles.figure1,'Timer1');
+timer2 = getappdata(handles.figure1,'Timer2');
+
+%txt1=' INJECTION EN COURS ';
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % stop du trigger
+        stop(timer1);
+        stop(timer2);
+        set(handles.uipanel6,'Backgroundcolor', [1 0.3 0]);
+        test_modes(handles);
+        tango_write_attribute2('ANS/DG/PUB-FillingMode','mode_auto',uint8(0))
+        tango_write_attribute2('ANS/DG/PUB-FillingMode','courant_consigne',uint8(0))
+    case 'radiobutton2'
+        % dÃÂ©marrage  du trigger 1
+        start(timer1);
+        set(handles.edit_modes,'String',handles.txt_inj);
+        tango_write_attribute2('ANS/DG/PUB-FillingMode','mode_auto',uint8(1))
+    case 'radiobutton3'
+        % dÃÂ©marrage du trigger 2  
+        temp=tango_read_attribute2('ANS/DG/DCCT-CTRL','current');anscur=temp.value;
+        if (anscur>1.) 
+           start(timer2);      
+           set(handles.edit_modes,'String',handles.txt_inj);
+           tango_write_attribute2('ANS/DG/PUB-FillingMode','mode_auto',uint8(1)) 
+        else
+            % ne fait rien, en cas de perte faisceau
+        end
+end
+
+
+function fonction_alex1(arg1,arg2,hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+color=get(handles.uipanel6,'Backgroundcolor');
+if color==[1 0.3 0]
+    set(handles.uipanel6,'Backgroundcolor', [1 0.3 1]);
+elseif color==[1 0.3 1]
+    set(handles.uipanel6,'Backgroundcolor', [1 0.3 0]);
+end
+
+button_injection_soft_Callback(hObject,eventdata,handles)
+
+
+function fonction_alex2(arg1,arg2,hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+temp=tango_read_attribute2('ANS/DG/DCCT-CTRL','current');anscur=temp.value;
+set(handles.edit_courant_total,'String', num2str(anscur,'%5.2f'));
+Imin=str2double(get(handles.edit_Imin,'String'));
+
+color=get(handles.uipanel6,'Backgroundcolor');
+if color==[1 0.3 0]
+    set(handles.uipanel6,'Backgroundcolor', [1 0.3 1]);
+elseif color==[1 0.3 1]
+    set(handles.uipanel6,'Backgroundcolor', [1 0.3 0]);
+end
+
+
+if     (anscur>Imin)
+    %on attend
+    %fprintf('Cur = %g \n',anscur)
+    tango_write_attribute2('ANS/DG/PUB-FillingMode','courant_consigne',uint8(1))
+else
+    %inject le cycle en cours
+    %fprintf('Cur = %g : Injection \n',anscur)
+    %set(handles.uipanel6,'Backgroundcolor', [1 1 0]);
+    button_injection_soft_Callback(hObject, eventdata, handles)
+end
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer softsynchro ?',...
+    'Exit softsynchro',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+
+% --- Executes on button press in button_softmoins.
+function button_softmoins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_softmoins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tt=0.6;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+step=temp.value(1)-52;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',step);
+pause(2*tt)
+
+%status soft checked on linac
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+if (temp.value(1)==2)
+    pause(tt)
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    set(handles.central_soft,'String',num2str(temp.value(1)));
+elseif (temp.value(1)==5)
+    dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    inj_offset=str2double(get(handles.inj_offset,'String'));
+    dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+    delay=dt.value(1)-dt1.value(1)+inj_offset;
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+    set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    set(handles.central_soft,'String',num2str(temp.value(1)));
+end
+
+
+
+% --- Executes on button press in button_softplus.
+function button_softplus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_softplus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tt=0.6;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+step=temp.value(1)+52;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',step);
+pause(2*tt)
+
+%status soft checked on linac
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+if (temp.value(1)==2)
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    set(handles.central_soft,'String',num2str(temp.value(1)));
+elseif (temp.value(1)==5)
+    dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    inj_offset=str2double(get(handles.inj_offset,'String'));
+    dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+    delay=dt.value(1)-dt1.value(1)+inj_offset;
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+    set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    set(handles.central_soft,'String',num2str(temp.value(1)));
+end
+
+
+
+% --- Executes on button press in button_injmoins.
+function button_injmoins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_injmoins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tt=0.6;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay');
+step=temp.value(1)-52;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',step);
+pause(2*tt)
+
+%status soft checked on linac
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+if (temp.value(1)==5)
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+    set(handles.central_inj,'String',num2str(temp.value(1)));
+elseif (temp.value(1)==2)
+%    commented With address spare = 2
+%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+%     inj_offset=str2double(get(handles.inj_offset,'String'));
+%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+%     delay=dt.value(1)-dt1.value(1)+inj_offset;
+%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+% 
+%     pause(tt)
+%     % read again for possible delay
+%     temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+%     set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+     temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+     set(handles.central_inj,'String',num2str(temp.value(1)));
+end
+
+
+% --- Executes on button press in button_injplus.
+function button_injplus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_injplus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tt=0.6;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay');
+step=temp.value(1)+52;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',step);
+pause(2*tt)
+
+%status soft checked on linac
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+if (temp.value(1)==5)
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+    set(handles.central_inj,'String',num2str(temp.value(1)));
+elseif (temp.value(1)==2)
+%    commented With address spare = 2
+%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+%     inj_offset=str2double(get(handles.inj_offset,'String'));
+%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+%     delay=dt.value(1)-dt1.value(1)+inj_offset;
+%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+% 
+%     pause(tt)
+%     % read again for possible delay
+%     temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+%     set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+     temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+     set(handles.central_inj,'String',num2str(temp.value(1)));
+end
+
+
+
+
+
+
+function boo_ext_sept_p_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_ext_sept_p (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text
+%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_ext_sept_p (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function boo_ext_dof_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_ext_dof (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_ext_dof as text
+%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_ext_dof_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_ext_dof (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function boo_ext_sept_a_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_ext_sept_a (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text
+%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_ext_sept_a (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_ext_kicker_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_ext_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text
+%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_ext_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_sept_p_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_sept_p (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_sept_p (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_sept_a_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_sept_a (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_sept_a (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_k1_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay',delay);
+
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_k1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_k2_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_k2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_k3_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_k3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_k4_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_k4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_dcct_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_dcct (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_dcct as text
+%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_dcct_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_dcct (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_ext_Callback(hObject, eventdata, handles)
+% hObject    handle to central_ext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_ext as text
+%        str2double(get(hObject,'String')) returns contents of central_ext as a double
+%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue',delay);
+
+% --- Executes during object creation, after setting all properties.
+function central_ext_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_ext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_soft1_Callback(hObject, eventdata, handles)
+% hObject    handle to central_soft1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_soft1 as text
+%        str2double(get(hObject,'String')) returns contents of central_soft1 as a double
+
+
+
+% --- Executes during object creation, after setting all properties.
+function central_soft1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_soft1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_extmoins.
+function button_extmoins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_extmoins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+dclk=10;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+step=temp.value(1)-dclk;
+tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',int32(step));
+temp=tango_read_attribute2('ANS/SY/CENTRAL','ExtractionOffsetTimeValue');
+set(handles.central_ext,'String',num2str(temp.value(1)));
+
+% on fait suivre les septa actif
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');boo=temp.value(1);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay',double(boo-dclk*52*184/2));
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay');ans=temp.value(1);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay',double(ans-dclk*52*184/2))
+
+% --- Executes on button press in button_extplus.
+function button_extplus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_extplus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+dclk=10;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+step=temp.value(1)+dclk;
+tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',int32(step));
+temp=tango_read_attribute2('ANS/SY/CENTRAL','ExtractionOffsetTimeValue');
+set(handles.central_ext,'String',num2str(temp.value(1)));
+
+% on fait suivre les septa actif
+temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');boo=temp.value(1);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay',double(boo+dclk*52*184/2));
+temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay');ans=temp.value(1);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay',double(ans+dclk*52*184/2))
+
+function sdc2_Callback(hObject, eventdata, handles)
+% hObject    handle to sdc2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of sdc2 as text
+%        str2double(get(hObject,'String')) returns contents of sdc2 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function sdc2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sdc2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt2_emittance_Callback(hObject, eventdata, handles)
+% hObject    handle to lt2_emittance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt2_emittance as text
+%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lt2_emittance_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt2_emittance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt2_bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to lt2_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt2_bpm as text
+%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt2_bpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt2_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt2_osc_Callback(hObject, eventdata, handles)
+% hObject    handle to lt2_osc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt2_osc as text
+%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt2_osc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt2_osc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_modulateur_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_modulateur (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_modulateur as text
+%        str2double(get(hObject,'String')) returns contents of lin_modulateur as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lin_modulateur_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_modulateur (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function inj_offset_Callback(hObject, eventdata, handles)
+% hObject    handle to inj_offset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of inj_offset as text
+%        str2double(get(hObject,'String')) returns contents of inj_offset as a double
+
+inj_offset=str2double(get(hObject,'String'));
+ext_offset=str2double(get(handles.ext_offset,'String'));
+lin_fin   =str2double(get(handles.lin_canon_spm_fin,'String'));
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');
+FileName = [handles.DirName 'synchro_offset_lin'];
+save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin')
+
+%LIN
+delay=str2double(get(handles.lin_canon_lpm,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay',delay);
+
+delay=str2double(get(handles.lin_canon_spm,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacTimeDelay',delay);
+
+delay=str2double(get(handles.lin_modulateur,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+delay=str2double(get(handles.sdc1,'String'))+inj_offset;
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay',delay);
+
+
+% LT1
+delay=str2double(get(handles.lt1_MC2,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay',delay);
+
+delay=str2double(get(handles.lt1_MC1,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay',delay);
+
+delay=str2double(get(handles.lt1_emittance,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay',delay);
+
+delay=str2double(get(handles.lt1_osc,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay',delay);
+
+
+% BOO
+delay=str2double(get(handles.boo_inj_septum,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_inj_kicker,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_bpm,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigTimeDelay',delay);
+
+
+delay=str2double(get(handles.boo_nod,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay',delay);
+
+% delay=str2double(get(handles.boo_dcct,'String'))+inj_offset;
+% tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',delay);
+
+
+
+% --- Executes during object creation, after setting all properties.
+function inj_offset_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to inj_offset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ext_offset_Callback(hObject, eventdata, handles)
+% hObject    handle to ext_offset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ext_offset as text
+%        str2double(get(hObject,'String')) returns contents of ext_offset as a double
+
+ext_offset=str2double(get(hObject,'String'));
+inj_offset=str2double(get(handles.inj_offset,'String'));
+lin_fin   =str2double(get(handles.lin_canon_spm_fin,'String'));
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');
+FileName = [handles.DirName 'synchro_offset_lin'];
+save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+
+
+%BOO
+delay=str2double(get(handles.boo_ext_dof,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_ext_sept_p,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_ext_sept_a,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_ext_kicker,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay',delay);
+
+delay=str2double(get(handles.sdc2,'String'))+ext_offset;
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay',delay);
+
+%LT2
+delay=str2double(get(handles.lt2_bpm,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',delay);
+
+delay=str2double(get(handles.lt2_osc,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay',delay);
+
+delay=str2double(get(handles.lt2_emittance,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay',delay);
+
+%ANS
+
+delay=str2double(get(handles.ans_inj_sept_a,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_sept_p,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_k1,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_k2,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_k3,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_k4,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay',delay);
+
+
+
+% --- Executes during object creation, after setting all properties.
+function ext_offset_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ext_offset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_acquisition_address.
+function button_acquisition_address_Callback(hObject, eventdata, handles)
+% hObject    handle to button_acquisition_address (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+test_modes(handles);
+
+
+set(handles.inj_offset,'Enable','off');
+set(handles.sdc1,'Enable','off');
+set(handles.lin_canon_lpm,'Enable','off');
+set(handles.lin_canon_spm,'Enable','off');
+set(handles.lin_canon_spm_fin,'Enable','off');
+set(handles.boo_bpm,'Enable','off');
+set(handles.lt1_emittance,'Enable','off');
+set(handles.lt1_MC1,'Enable','off');
+set(handles.lt1_MC2,'Enable','off');
+set(handles.lt1_osc,'Enable','off');
+set(handles.boo_dcct,'Enable','off');
+set(handles.boo_nod,'Enable','off');
+set(handles.boo_inj_septum,'Enable','off');
+set(handles.boo_inj_kicker,'Enable','off');
+set(handles.boo_alim_dipole,'Enable','off');
+set(handles.boo_alim_qf,'Enable','off');
+set(handles.boo_alim_qd,'Enable','off');
+set(handles.boo_alim_sf,'Enable','off');
+set(handles.boo_alim_sd,'Enable','off');
+set(handles.boo_rf,'Enable','off');
+set(handles.lin_modulateur,'Enable','off');
+set(handles.ext_offset,'Enable','off');
+set(handles.boo_ext_dof,'Enable','off');
+set(handles.boo_ext_sept_p,'Enable','off');
+set(handles.boo_ext_sept_a,'Enable','off');
+set(handles.boo_ext_kicker,'Enable','off');
+set(handles.sdc2,'Enable','off');
+set(handles.lt2_emittance,'Enable','off');
+set(handles.lt2_osc,'Enable','off');
+set(handles.lt2_bpm,'Enable','off');
+set(handles.ans_inj_k1,'Enable','off');
+set(handles.ans_inj_k2,'Enable','off');
+set(handles.ans_inj_k3,'Enable','off');
+set(handles.ans_inj_k4,'Enable','off');
+set(handles.ans_inj_sept_p,'Enable','off');
+set(handles.ans_inj_sept_a,'Enable','off');
+set(handles.ans_bpm,'Enable','off');
+set(handles.ans_dcct,'Enable','off');
+set(handles.ans_bpm_c01,'Enable','off');
+set(handles.ans_bpm_c02,'Enable','off');
+set(handles.ans_bpm_c03,'Enable','off');
+set(handles.ans_bpm_c04,'Enable','off');
+set(handles.ans_bpm_c05,'Enable','off');
+set(handles.ans_bpm_c06,'Enable','off');
+set(handles.ans_bpm_c07,'Enable','off');
+set(handles.ans_bpm_c08,'Enable','off');
+set(handles.ans_bpm_c09,'Enable','off');
+set(handles.ans_bpm_c10,'Enable','off');
+set(handles.ans_bpm_c11,'Enable','off');
+set(handles.ans_bpm_c12,'Enable','off');
+set(handles.ans_bpm_c13,'Enable','off');
+set(handles.ans_bpm_c14,'Enable','off');
+set(handles.ans_bpm_c15,'Enable','off');
+set(handles.ans_bpm_c16,'Enable','off');
+
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');
+FileName = [handles.DirName 'synchro_offset_lin'];
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+set(handles.inj_offset,'String',num2str(inj_offset));
+set(handles.ext_offset,'String',num2str(ext_offset));
+set(handles.lin_canon_spm_fin,'String',num2str(lin_fin));
+
+get_synchro_address(handles)
+
+
+% --- Executes on button press in button_offinj_moins.
+function button_offinj_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_offinj_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp=str2double(get(handles.inj_offset,'String'));
+step=temp-52*0.52243;
+set(handles.inj_offset,'String',step);
+inj_offset_Callback(handles.inj_offset, eventdata, handles);
+
+% --- Executes on button press in button_offinj_plus.
+function button_offinj_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_offinj_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp=str2double(get(handles.inj_offset,'String'));
+step=temp+52*0.52243;
+set(handles.inj_offset,'String',step);
+inj_offset_Callback(handles.inj_offset, eventdata, handles);
+
+% --- Executes on button press in button_offext_moins.
+function button_offext_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_offext_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp=str2double(get(handles.ext_offset,'String'));
+step=temp-52*0.52243;
+set(handles.ext_offset,'String',step);
+ext_offset_Callback(handles.ext_offset, eventdata, handles);
+
+% --- Executes on button press in button_offext_plus.
+function button_offext_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_offext_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp=str2double(get(handles.ext_offset,'String'));
+step=temp+52*0.52243;
+set(handles.ext_offset,'String',step);
+ext_offset_Callback(handles.ext_offset, eventdata, handles);
+
+
+% --- Executes on button press in button_bpm.
+function button_bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to button_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of button_bpm
+
+bpm=get(hObject,'Value');
+
+if (bpm==0)
+   set(handles.panel_bpm,'Visible','off');
+elseif (bpm==1)
+    set(handles.panel_bpm,'Visible','on');
+end
+
+
+
+function ans_bpm_c01_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c01 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c01 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function ans_bpm_c02_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c02 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c02 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c03_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c03 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c03 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c04_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c04 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c04 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c05_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c05 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c05 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c06_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c06 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c06 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c07_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c07 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c07 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c08_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c08 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c08 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c09_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c09 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c09 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c10_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c11_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c12_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c13_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c14_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c15_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c16_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_filling_relecture_tables (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text
+%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_filling_relecture_tables (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_filling_relecture_bunch (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text
+%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_filling_relecture_bunch (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_filling_entrer_bunch (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text
+%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double
+
+%set(handles.listbox_fillingmode,'value',12);
+%listbox_fillingmode_Callback;
+
+% --- Executes during object creation, after setting all properties.
+function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_filling_entrer_bunch (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_update.
+function button_update_Callback(hObject, eventdata, handles)
+% hObject    handle to button_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+do_update
+
+% --- Executes on button press in button_acquisition_trigstatus.
+function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_acquisition_trigstatus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+test_modes(handles);
+
+set(handles.inj_offset,'Enable','off');
+set(handles.sdc1,'Enable','off');
+set(handles.lin_canon_lpm,'Enable','off');
+set(handles.boo_bpm,'Enable','off');
+set(handles.lt1_emittance,'Enable','off');
+set(handles.lt1_MC1,'Enable','off');
+set(handles.lt1_MC2,'Enable','off');
+set(handles.lt1_osc,'Enable','off');
+set(handles.boo_dcct,'Enable','off');
+set(handles.boo_nod,'Enable','off');
+set(handles.boo_inj_septum,'Enable','off');
+set(handles.boo_inj_kicker,'Enable','off');
+set(handles.boo_alim_dipole,'Enable','off');
+set(handles.boo_alim_qf,'Enable','off');
+set(handles.boo_alim_qd,'Enable','off');
+set(handles.boo_alim_sf,'Enable','off');
+set(handles.boo_alim_sd,'Enable','off');
+set(handles.boo_rf,'Enable','off');
+set(handles.lin_modulateur,'Enable','off');
+set(handles.ext_offset,'Enable','off');
+set(handles.boo_ext_dof,'Enable','off');
+set(handles.boo_ext_sept_p,'Enable','off');
+set(handles.boo_ext_sept_a,'Enable','off');
+set(handles.boo_ext_kicker,'Enable','off');
+set(handles.sdc2,'Enable','off');
+set(handles.lt2_emittance,'Enable','off');
+set(handles.lt2_osc,'Enable','off');
+set(handles.lt2_bpm,'Enable','off');
+set(handles.ans_inj_k1,'Enable','off');
+set(handles.ans_inj_k2,'Enable','off');
+set(handles.ans_inj_k3,'Enable','off');
+set(handles.ans_inj_k4,'Enable','off');
+set(handles.ans_inj_sept_p,'Enable','off');
+set(handles.ans_inj_sept_a,'Enable','off');
+set(handles.ans_bpm,'Enable','off');
+set(handles.ans_dcct,'Enable','off');
+set(handles.ans_bpm_c01,'Enable','off');
+set(handles.ans_bpm_c02,'Enable','off');
+set(handles.ans_bpm_c03,'Enable','off');
+set(handles.ans_bpm_c04,'Enable','off');
+set(handles.ans_bpm_c05,'Enable','off');
+set(handles.ans_bpm_c06,'Enable','off');
+set(handles.ans_bpm_c07,'Enable','off');
+set(handles.ans_bpm_c08,'Enable','off');
+set(handles.ans_bpm_c09,'Enable','off');
+set(handles.ans_bpm_c10,'Enable','off');
+set(handles.ans_bpm_c11,'Enable','off');
+set(handles.ans_bpm_c12,'Enable','off');
+set(handles.ans_bpm_c13,'Enable','off');
+set(handles.ans_bpm_c14,'Enable','off');
+set(handles.ans_bpm_c15,'Enable','off');
+set(handles.ans_bpm_c16,'Enable','off');
+
+get_synchro_trigstatus(handles)
+
+
+% --- Executes on button press in togglebutton2.
+function togglebutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to togglebutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of togglebutton2
+
+
+% --- Executes on selection change in listbox_fillingmode.
+function listbox_fillingmode_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_fillingmode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_fillingmode contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_fillingmode
+pattern=get(hObject,'String');
+mode=get(hObject,'Value');
+fprintf('***************************************************\n')
+fprintf('Mode de remplissage sÃÂ©lectionnÃÂ© : %s\n',pattern{mode})
+fprintf('***************************************************\n')
+
+
+% PrÃÂ©pare les tables pour le 3 Hz
+quart=[1 105 209 313];
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+offset_ext=temp.value(1)*52;
+offset_linac=str2double(get(handles.lin_canon_spm_fin,'String')) ;% dÃÂ©lai fin de rÃÂ©glage en ns
+offset_linac=offset_linac/handles.lin_fin_step;                   % dÃÂ©lai fin de rÃÂ©glage en pas de handles.lin_fin_step ps
+bjump=handles.one_bunch;
+
+
+if (mode<=4)    %LPM
+    bunch=quart(mode);
+    fillingmode='1/4';
+elseif (mode>4)&&(mode<=7) %LPM
+    bunch=quart(1:(mode-3));
+    if mode==5 ; fillingmode='1/2'; end
+    if mode==6 ; fillingmode='3/4'; end
+    if mode==7 ; fillingmode='4/4'; end
+elseif (mode==8)    %LPM
+    bunch=[365];      % SPM hybride
+    %bunch=[0 104+32 2*(104+40)]+1; % spÃÂ©cial 3/4
+    fillingmode='3/4';
+elseif (mode==9)   % SPM    1 paquet
+    bunch=[1];
+    fillingmode='1 bunch';
+elseif (mode==10)  % SPM    8 paquets
+    bunch=[0:7]*52+1;
+    fillingmode='8 bunches';
+elseif (mode==11)  % SPM    16 paquets
+    bunch=[0:15]*26+1;
+    fillingmode='16 bunches';
+elseif (mode==12)  % SPM    n paquets
+    bunch=str2num(get(handles.edit_filling_entrer_bunch,'String'));
+    if isempty(bunch)
+        set(handles.edit_filling_entrer_bunch,'String','Bug format');
+    end
+    fillingmode='Few bunches';
+elseif (mode==13)  % SPM    n paquets
+    paq=str2num(get(handles.edit_filling_entrer_bunch1,'String'));
+    if (length(paq) == 2)
+       bunch=paq(1):paq(2);
+    else
+       set(handles.edit_filling_entrer_bunch1,'String','Bug format')
+    end
+    fillingmode='Few bunches';
+end
+
+% Renseigne le filling Mode
+tango_write_attribute2('ANS/DG/PUB-FillingMode', 'fillingMode',fillingmode)
+
+% Charge la longueur de la rafale par dÃÂ©faut sur un cycle
+Ncoup=length(bunch);
+boucle=int16(str2double(get(handles.edit_Ncycle,'String')));
+if Ncoup>=1
+    set(handles.edit_Ncoup,'String',num2str(Ncoup));
+    tango_write_attribute2('ANS/SY/CENTRAL', 'burstSize',int32(Ncoup*boucle));
+end
+    
+    
+[dtour,dpaquet]=bucketnumber(bunch);
+dpaquet=dpaquet*bjump+offset_linac;
+table=int32([length(bunch) dtour dpaquet]);
+handles.table=table;
+handles.bunch=bunch;
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'table');
+FileName = [handles.DirName 'table.mat'];
+save(FileName, 'table'); % pour palier aux handles via timer non mis ÃÂ  jour !!!!!!
+
+modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');
+if strcmp(modeinj,'togglebutton_soft')  % on rempli la table sur paquet 1 par dÃÂ©faut, pas utilisÃÂ©e
+    table=handles.table0;
+    tango_command_inout('ANS/SY/CENTRAL','SetTables',table);
+    
+elseif strcmp(modeinj,'togglebutton_3Hz') % on rempli la table associÃÂ©e au remplissage
+    tango_command_inout('ANS/SY/CENTRAL','SetTables',table);
+    pause(1); % mise a jour table ATK
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
+    n=temp.value;
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
+    table_ext=temp.value(1:n); %-offset_ext;
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'LinacDelayTable');
+    table_linac=(temp.value(1:n)-offset_linac)/bjump;
+    table=[];
+    for i=1:n
+        table=[table ' ' '(' num2str([table_ext(i)])  ' '  num2str([table_linac(i)]) ')'];
+    end
+end
+
+set(handles.edit_filling_relecture_tables,'String',[num2str(table)]);
+set(handles.edit_filling_relecture_bunch, 'String',[num2str(bunch)]);
+
+
+guidata(hObject, handles);
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_fillingmode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_fix.
+function button_fix_Callback(hObject, eventdata, handles)
+% hObject    handle to button_fix (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+[clk_spare,clk_soft]=fix_quart;
+handles.clk_spare  =clk_spare;
+handles.clk_soft=clk_soft;
+
+% n=1;
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');
+% clk1=temp.value(n);
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+% clk2=temp.value(n);
+% 
+% jump=int32([0 39 26 13]);
+% handles.clk_spare  =jump +  int32(clk1);
+% handles.clk_soft=jump  + int32(clk2);
+
+guidata(hObject, handles);
+
+
+
+function edit_Ncycle_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Ncycle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Ncycle as text
+%        str2double(get(hObject,'String')) returns contents of edit_Ncycle as a double
+boucle=str2double(get(hObject,'String'));
+Ncoup=str2double(get(handles.edit_Ncoup,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'burstSize',int32(Ncoup*boucle));
+
+% --- Executes during object creation, after setting all properties.
+function edit_Ncycle_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Ncycle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Ncoup_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Ncoup (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Ncoup as text
+%        str2double(get(hObject,'String')) returns contents of edit_Ncoup as a double
+Ncoup=str2double(get(hObject,'String'));
+boucle=str2double(get(handles.edit_Ncycle,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'burstSize',int32(Ncoup*boucle));
+
+% --- Executes during object creation, after setting all properties.
+function edit_Ncoup_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Ncoup (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_qlt1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_qlt1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_qlt1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_qlt1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_qlt1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_qlt1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_iboo_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_iboo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_iboo as text
+%        str2double(get(hObject,'String')) returns contents of edit_iboo as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_iboo_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_iboo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_dians_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_dians (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_dians as text
+%        str2double(get(hObject,'String')) returns contents of edit_dians as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_dians_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_dians (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_rlt1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_rlt1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_rlt1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_rlt1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_rlt1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_rlt1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_rboo_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_rboo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_rboo as text
+%        str2double(get(hObject,'String')) returns contents of edit_rboo as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_rboo_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_rboo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_rans_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_rans (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_rans as text
+%        str2double(get(hObject,'String')) returns contents of edit_rans as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_rans_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_rans (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_dians1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_dians1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_dians1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_dians1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_dians1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_dians1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_cycle_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_cycle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_cycle as text
+%        str2double(get(hObject,'String')) returns contents of edit_cycle as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_cycle_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_cycle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_courant_total_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_courant_total (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_courant_total as text
+%        str2double(get(hObject,'String')) returns contents of edit_courant_total as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_courant_total_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_courant_total (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_canon_spm_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_canon_spm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_canon_spm as text
+%        str2double(get(hObject,'String')) returns contents of lin_canon_spm as a double
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lin_canon_spm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_canon_spm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function  uipanel_mode_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_canon_spm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+
+% % --------------------------------------------------------------------
+function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% % hObject    handle to uipanel_mode (see GCBO)
+% % eventdata  reserved - to be defined in a future version of MATLAB
+% % handles    structure with handles and user data (see GUIDATA)
+
+set(handles.button_injection_soft,'Enable','Off')
+set(handles.edit_modes,'String','Please WAIT !!!!')
+mode=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');
+
+switch mode  % Get Tag of selected object
+    case 'togglebutton_soft'
+        % switch to soft (load golden)
+        
+        Directory=handles.Directory;
+        DirName=handles.DirName;
+        file='golden_rafale_soft.mat';
+        load_synchro_rafale(Directory,file,DirName)
+        
+        
+        % special septum actif boo et ans
+        r=(1-0.0004);
+        try
+            temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+            tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);
+            temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r
+            tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);
+        catch
+            display('Erreur ajustement tension septa passif')
+        end
+        set(handles.edit_Ncoup,'Enable','off');
+        tango_command_inout('ANS/SY/CENTRAL','SetTables',handles.table0);
+
+    case 'togglebutton_3Hz'
+        % switch to 3Hz(load golden)
+        
+        Directory=handles.Directory;
+        DirName=handles.DirName;
+        file='golden_rafale_3Hz.mat';
+        load_synchro_rafale(Directory,file,DirName)
+        
+        % special septum actif boo et ans
+        r=(1+0.0004);
+        try
+            temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+            tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);
+            temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');    ans=temp.value(2)*r
+            tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);
+        catch
+            display('Erreur ajustement tension septa passif')
+        end
+        set(handles.edit_Ncoup,'Enable','on');
+        tango_command_inout('ANS/SY/CENTRAL','SetTables',handles.table);
+end
+
+set(handles.button_injection_soft,'Enable','On')
+test_modes(handles);
+display('ok change address')
+
+
+
+function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch1 as a double
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Imin_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Imin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Imin as text
+%        str2double(get(hObject,'String')) returns contents of edit_Imin as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Imin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Imin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --------------------------------------------------------------------
+function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to uipanel_spm_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%h=get(handles.uipanel_spm_mode);
+%get(h.Children)
+
+mode=get(get(handles.uipanel_spm_mode,'SelectedObject'),'Tag');
+
+switch mode  % Get Tag of selected object
+    case 'spm_mode_1'
+        display('spm_mode_1')     
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'mode',int16(1));
+    case 'spm_mode_2'
+        display('spm_mode_2')  
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'mode',int16(2));
+    case 'spm_mode_2p'
+        display('spm_mode_2p')   
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'mode',int16(3));
+    case 'spm_mode_3'
+        display('spm_mode_3')    
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'mode',int16(4));   
+end
+
+test_modes(handles);
+
+% --------------------------------------------------------------------
+function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to uipanel_lpm_spm_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+mode=get(get(handles.uipanel_lpm_spm_mode,'SelectedObject'),'Tag');
+modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');
+event0=int32(0);
+if     strcmp(modeinj,'togglebutton_soft')
+    event=int32(5);
+elseif strcmp(modeinj,'togglebutton_3Hz')
+    event=int32(2);
+else
+    %%%
+end
+
+switch mode  % Get Tag of selected object
+    case 'no_mode'
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',event0); 
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event0); 
+        
+    case 'lpm_mode'
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',event); 
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event0);     
+        
+%         tango_write_attribute('LT1/AE/CV.2', 'current',  0.058 );
+%         tango_write_attribute('LT1/AE/CV.3', 'current', -0.119 );
+
+    case 'spm_mode'
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',event0); 
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event);   
+        
+%         tango_write_attribute('LT1/AE/CV.2', 'current',  0.058 );
+%         tango_write_attribute('LT1/AE/CV.3', 'current', -0.119 );
+        
+end
+test_modes(handles);
+
+
+
+
+        
+
+% --------------------------------------------------------------------
+function uipanel_central_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to uipanel_central_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+mode=get(get(handles.uipanel_central_mode,'SelectedObject'),'Tag');
+modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');
+
+h='Yes';
+if strcmp(mode,'continuous_mode')
+    if strcmp(modeinj,'togglebutton_3Hz')
+        h = questdlg('Attention, dÃ©clenchement continu des Ã©quipements sur adresses 1 2 3');
+    end
+end
+
+if strcmp(h,'Yes')
+    switch mode  % Get Tag of selected object
+        case 'burst_mode'
+            tango_command_inout2('ANS/SY/CENTRAL', 'SetBurstMode');
+        case 'continuous_mode'
+            tango_command_inout2('ANS/SY/CENTRAL', 'SetContinuousMode');
+    end
+end
+pause(1)
+test_modes(handles);
+
+% [etat_central]=test_central_mode(handles);
+% h='Yes';
+% if strcmp(etat_central,'Continu')
+%     h = questdlg('Attention, Trigger en mode continu');
+% end
+% if strcmp(h,'Yes')
+%     set(handles.button_injection_soft,'Enable','Off')
+%     set(handles.edit_modes,'String','Please WAIT !!!!')
+%     file='golden_rafale_3Hz.mat';
+%     load_synchro_rafale(file)
+%     set(handles.button_injection_soft,'Enable','On')
+%     test_modes(handles);
+% end
+
+
+function  [etat]=test_central_mode(handles)
+% Verifie le mode central selectionnÃÂ©  : rafale ou continue
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'currentMode');
+mode=temp.value;
+h=get(handles.uipanel_central_mode);
+switch mode  % Get Tag of selected object
+    case 'BURST'
+       set(handles.uipanel_central_mode,'SelectedObject',h.Children(2))
+       etat='Rafale';
+    case 'CONTINUOUS'
+       set(handles.uipanel_central_mode,'SelectedObject',h.Children(1))
+       etat='Continu';
+end
+
+function  [etat]=test_injection_mode(handles)
+% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz
+%temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent');
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+mode=temp.value(1);
+h=get(handles.uipanel_mode);
+if     mode==2
+    set(handles.uipanel_mode,'SelectedObject',h.Children(1))
+    etat='3Hz';
+elseif mode==5
+    set(handles.uipanel_mode,'SelectedObject',h.Children(2))
+    etat='Soft';
+else
+    set(handles.uipanel_mode,'SelectedObject',[])
+    etat='??';
+end
+
+
+function  [etat]=test_lpm_spm_mode(handles)
+% Verifie le mode selectionnÃÂ© en SPM ou LPM
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+modelpm=temp.value(1);
+temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent');
+modespm=temp.value(1);
+h=get(handles.uipanel_lpm_spm_mode);
+if     (modelpm==5)&(modespm==0) | (modelpm==2)&(modespm==0)
+    set(handles.uipanel_lpm_spm_mode,'SelectedObject',h.Children(2))
+    etat='LPM';
+elseif (modelpm==0)&(modespm==5) | (modelpm==0)&(modespm==2)
+    set(handles.uipanel_lpm_spm_mode,'SelectedObject',h.Children(1))
+    etat='SPM';
+else
+    set(handles.uipanel_lpm_spm_mode,'SelectedObject',h.Children(3))
+    etat='NONE';
+end
+
+function  [etat]=test_spm_mode(handles)
+% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets
+temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'mode');
+mode=temp.value(1);
+h=get(handles.uipanel_spm_mode);
+select=h.Children(5-mode);
+set(handles.uipanel_spm_mode,'SelectedObject',select)
+etat=num2str(5-mode);
+
+function  [etat]=test_cond_inj(handles)
+% Verifie si tir autorise  (Grp fonctionnement)
+try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection
+    val=temp.value; catch val=1 ; end; if val~=0 ; val=1; end;
+if (val==1)
+    etat='TIR AUTORISE';
+else
+    etat='TIR NON AUTORISE';
+end
+
+
+
+
+function  test_modes(handles)
+% Verifie le mode central selectionnÃÂ©  : rafale ou continue
+[etat_central]=test_central_mode(handles);
+% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz
+[etat_injection]=test_injection_mode(handles);
+% Verifie le mode selectionnÃÂ© en SPM ou LPM
+[etat_linac]=test_lpm_spm_mode(handles);
+% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets
+[etat_linac_spm]=test_spm_mode(handles);
+% VÃ©rifie si injectio autorisee
+%[etat_inj]=test_cond_inj(handles);
+
+
+% txt=[etat_inj,'    ####     ', ...
+%      'CENTRAL : ',etat_central,'   #   INJECTION : ',etat_injection,'   #   LINAC : ',etat_linac];
+txt=['CENTRAL : ',etat_central,'   #   INJECTION : ',etat_injection,'   #   LINAC : ',etat_linac];
+set(handles.edit_modes,'String',txt)
+
+
+
+function edit_modes_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_modes (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_modes as text
+%        str2double(get(hObject,'String')) returns contents of edit_modes as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_modes_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_modes (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function ans_k_pc_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_k_pc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_k_pc as text
+%        str2double(get(hObject,'String')) returns contents of ans_k_pc as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_k_pc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_k_pc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_k_h_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_k_h (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_k_h as text
+%        str2double(get(hObject,'String')) returns contents of ans_k_h as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_k_h_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_k_h (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_k_v_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_k_v (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_k_v as text
+%        str2double(get(hObject,'String')) returns contents of ans_k_v as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_k_v_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_k_v (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_kicker.
+function button_kicker_Callback(hObject, eventdata, handles)
+% hObject    handle to button_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of button_kicker
+
+bpm=get(hObject,'Value');
+
+if (bpm==0)
+   set(handles.uipanel_kicker_machine,'Visible','off');
+elseif (bpm==1)
+    set(handles.uipanel_kicker_machine,'Visible','on');
+end
+
+
+% --- Executes on button press in button_save_golden_soft.
+function button_save_golden_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_golden_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h = questdlg('Attention, sauvegarde nouvelle golden !!!');
+
+if strcmp(h,'Yes')
+
+    DirName=handles.DirName;
+    [timing]=get_synchro_rafale(DirName);
+    % sauvegarde
+    file='golden_rafale_soft.mat';
+    %Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+    Directory=handles.Directory;
+    pwdold = pwd;
+    cd(Directory);
+    save(file, 'timing');
+    cd(pwdold);
+
+end
+
+
+% --- Executes on button press in button_load_golden_soft.
+function button_load_golden_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_golden_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+set(handles.button_injection_soft,'Enable','Off')
+set(handles.edit_modes,'String','Please WAIT !!!!')
+Directory=handles.Directory;
+DirName=handles.DirName;
+file='golden_rafale_soft.mat';
+load_synchro_rafale(Directory,file,DirName)
+set(handles.button_injection_soft,'Enable','On')
+test_modes(handles);
+
+
+% --- Executes on button press in button_load_golden_3Hz.
+function button_load_golden_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_golden_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+[etat_central]=test_central_mode(handles);
+h='Yes';
+if strcmp(etat_central,'Continu')
+    h = questdlg('Attention, Trigger en mode continu');
+end
+if strcmp(h,'Yes')
+    set(handles.button_injection_soft,'Enable','Off')
+    set(handles.edit_modes,'String','Please WAIT !!!!')
+    Directory=handles.Directory;
+    DirName=handles.DirName;
+    file='golden_rafale_3Hz.mat';
+    load_synchro_rafale(Directory,file,DirName)
+    set(handles.button_injection_soft,'Enable','On')
+    test_modes(handles);
+end
+
+% --- Executes on button press in button_save_golden_3Hz.
+function button_save_golden_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_golden_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h = questdlg('Attention, sauvegarde nouvelle golden !!!');
+
+if strcmp(h,'Yes')
+    
+    DirName=handles.DirName;
+    [timing]=get_synchro_rafale(DirName);
+    % sauvegarde
+    file='golden_rafale_3Hz.mat';
+    %Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+    Directory=handles.Directory;
+    pwdold = pwd;
+    cd(Directory);
+    save(file, 'timing');
+    cd(pwdold);
+
+end
+
+% --- Executes on button press in button_load_golden_3Hz_66MeV.
+function button_load_golden_3Hz_66MeV_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_golden_3Hz_66MeV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+[etat_central]=test_central_mode(handles);
+h='Yes';
+if strcmp(etat_central,'Continu')
+    h = questdlg('Attention, Trigger en mode continu');
+end
+if strcmp(h,'Yes')
+    set(handles.button_injection_soft,'Enable','Off')
+    set(handles.edit_modes,'String','Please WAIT !!!!')
+    Directory=handles.Directory;
+    DirName=handles.DirName;
+    file='golden_rafale_3Hz_66MeV.mat';
+    load_synchro_rafale(Directory,file,DirName)
+    set(handles.button_injection_soft,'Enable','On')
+    test_modes(handles);
+end
+
+
+% --- Executes on button press in button_save_golden_66MeV.
+function button_save_golden_66MeV_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_golden_66MeV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h = questdlg('Attention, sauvegarde nouvelle golden 66 MeV!!!');
+
+if strcmp(h,'Yes')
+
+    DirName=handles.DirName;
+    [timing]=get_synchro_rafale(DirName);
+    % sauvegarde
+    file='golden_rafale_3Hz_66MeV.mat';
+    %Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+    Directory=handles.Directory;
+    pwdold = pwd;
+    cd(Directory);
+    save(file, 'timing');
+    cd(pwdold);
+
+end
+
Index: /trunk/machine/SOLEIL/common/synchro/synchro_injecteur8_rafale.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/synchro_injecteur8_rafale.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/synchro_injecteur8_rafale.m	(revision 17)
@@ -0,0 +1,3910 @@
+function varargout = synchro_injecteur8_rafale(varargin)
+% SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig
+%      SYNCHRO_INJECTEUR8_RAFALE, by itself, creates a new SYNCHRO_INJECTEUR8_RAFALE or raises the existing
+%      singleton*.
+%
+%      H = SYNCHRO_INJECTEUR8_RAFALE returns the handle to a new SYNCHRO_INJECTEUR8_RAFALE or the handle to
+%      the existing singleton*.
+%
+%      SYNCHRO_INJECTEUR8_RAFALE('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in SYNCHRO_INJECTEUR8_RAFALE.M with the given input arguments.
+%
+%      SYNCHRO_INJECTEUR8_RAFALE('Property','Value',...) creates a new SYNCHRO_INJECTEUR8_RAFALE or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before synchro_injecteur8_rafale_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to synchro_injecteur8_rafale_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% For the compiler
+%#function aoinit setao setoperationalmode
+%#function boosterinit
+%#function magnetcoefficients
+%
+
+% Edit the above text to modify the response to help synchro_injecteur8_rafale
+
+% Last Modified by GUIDE v2.5 23-Aug-2011 10:05:25
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @synchro_injecteur8_rafale_OpeningFcn, ...
+                   'gui_OutputFcn',  @synchro_injecteur8_rafale_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before synchro_injecteur8_rafale is made visible.
+function synchro_injecteur8_rafale_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to synchro_injecteur8_rafale (see VARARGIN)
+
+% Choose default command line output for synchro_injecteur8_rafale
+handles.output = hObject;
+
+% list les devices annexe pour etat
+fprintf('Liste devices annexes \n');
+% name={'ANS-C03/DG/DCCT','LT1/DG/MC','BOO-C01/DG/DCCT',...
+%     'ANS/DG/PUB-FillingMode', 'ANS/FC/INJ_COND'};
+name={'ANS/DG/DCCT-CTRL','LT1/DG/MC','BOO-C01/DG/DCCT',...
+    'ANS/DG/PUB-FillingMode', 'ANS/FC/INJ_COND'};
+for i=1:4
+    try
+        txt=tango_command_inout2(name{2},'State');
+        %temp=tango_read_attribute(name{i},'State');
+        %temp=tango_read_attribute(name{i},'Status');txt=temp.value;
+    catch
+        txt='bug_device';
+    end
+    fprintf('%s   :   %s \n',name{i},txt);
+end
+
+% Added by Laurent
+if isdeployed
+    cd(getenv('MLROOT')); 
+    setpathsoleil('Booster'); 
+end
+% End 
+
+% Directories
+%Directory='/home/matlabML/measdata/SOLEIL/Boosterdata/Datatemp'; % ALEX
+Directory =  [getfamilydata('Directory','DataRoot') '../Boosterdata/Datatemp']; % Laurent
+handles.Directory=Directory;  % for saved data
+
+%FileName = fullfile+31.555cxxccx(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');
+% DirName ='/home/matlabML/machine/SOLEIL/common/synchro/'; % ALEX
+DirName = getfamilydata('Directory', 'Synchro'); % Laurent
+handles.DirName=DirName;      % for offset & table
+
+% Charge les offset
+FileName = [DirName 'synchro_offset_lin'];
+fprintf('Laurent:%s\n', FileName');
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+set(handles.inj_offset,'String',num2str(inj_offset));
+set(handles.ext_offset,'String',num2str(ext_offset));
+set(handles.lin_canon_spm_fin,'String',num2str(lin_fin));
+% Periode linac fin
+handles.lin_fin_step=0.090;                   % En ns  (90 ps)
+handles.one_bunch=2.84/handles.lin_fin_step;  % Nombre de pas pour sauter un paquet
+
+% Periode du trigger par defaut = 10 s
+handles.periode = 10;
+set(handles.periode_edit,'String',num2str(handles.periode));
+set(handles.edit_Ncycle,'String',num2str(1));
+set(handles.edit_Ncoup,'String',1.0);
+
+%Memorise les dÃÂ©lais spare et soft initiaux
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');
+clk1=temp.value(1);
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+clk2=temp.value(1);
+
+%Stocke les sauts pour les 4 quarts mode LPM
+jump=int32([0 39 26 13]);
+handles.clk_spare  =jump +  int32(clk1);
+handles.clk_soft=jump  + int32(clk2);
+handles.quart=1;
+
+% Table initiale sur paquet 1
+bunch=[1];
+[dtour,dpaquet]=bucketnumber(bunch);
+offset_linac=lin_fin/handles.lin_fin_step; 
+bjump=handles.one_bunch;
+dpaquet=dpaquet*bjump+offset_linac;
+handles.table=int32([length(bunch) dtour dpaquet]);
+handles.table0=handles.table;
+handles.bunch=bunch;
+
+handles.mode = 'Mode=???';
+set(handles.edit_filling_relecture_tables,'Enable','off');
+set(handles.edit_filling_relecture_bunch,'Enable','off');
+
+% Verifie le mode selectionnÃÂ© en SPM ou LPM
+% Verifie le mode central selectionnÃÂ©  : rafale ou continue
+% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets
+% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz
+test_modes(handles);
+
+
+% Choix des events
+handles.event0 =int32(0);
+handles.event00=int32(100);  %SpÃÂ©ciale EP
+
+% Cache le tableau des dÃÂ©lais BPM
+set(handles.panel_bpm,'Visible','off');
+set(handles.uipanel_kicker_machine,'Visible','off');
+
+% text affichage
+handles.txt_inj=  ' INJECTION AUTOMATIQUE EN COURS '; % txt injection auto en cours
+handles.txt_noinj=' INJECTION INTERDITE ';            % txt injection non autorise (Grp fonctionnement)
+
+% Publisher - fonctionnement (gere sur injection en boucle)
+tango_write_attribute2('ANS/DG/PUB-FillingMode','mode_auto',uint8(0))         % flag injection auto
+tango_write_attribute2('ANS/DG/PUB-FillingMode','courant_consigne',uint8(0))  % flag courant consigne atteint
+  
+% tango parser ANS/FC/INJ_COND
+% temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ');
+% handles.cond_inj=temp.value;   % 0 no injection,  1 injection
+% try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection
+% val=temp.value; catch val=1 ; end ; if val~=0 ; val=1; end;
+% handles.cond_inj=val;
+
+
+% Fonction timer pour injection en boucle
+% Creates timer Infinite loop
+timer2=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',3,'TasksToExecute',Inf);
+timer2.TimerFcn = {@fonction_alex2, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer2',timer2);
+
+% Creates timer Infinite loop
+timer1=timer('StartDelay',1,...
+    'ExecutionMode','fixedRate','Period',handles.periode,'TasksToExecute',Inf);
+timer1.TimerFcn = {@fonction_alex1, hObject,eventdata, handles};
+setappdata(handles.figure1,'Timer1',timer1);
+
+% button group sur on/off timer du trigger
+h = uibuttongroup('visible','off','Position',[0.7275 0.72 0.125 0.145],...
+    'Title','','TitlePosition','centertop',...
+    'BackgroundColor',[1 0.3 0 ]);
+u1 = uicontrol('Style','Radio','String',' OFF','Tag','radiobutton1',...
+    'pos',[05 85 55 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[1 0.3 0  ]);
+u2 = uicontrol('Style','Radio','String',' Laps :','Tag','radiobutton2',...
+    'pos',[05 45 55 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[1 0.3 0 ]);
+u3 = uicontrol('Style','Radio','String',' Imin :','Tag','radiobutton3',...
+    'pos',[05 05 55 25],'parent',h,'HandleVisibility','off',...
+    'BackgroundColor',[1 0.3 0 ]);
+
+set(h,'SelectionChangeFcn',...
+    {@uibuttongroup_SelectionChangeFcn,handles});
+
+handles.off = u1;
+handles.on1 = u2;
+handles.on2 = u3;
+
+set(h,'SelectedObject',u1); 
+set(h,'Visible','on');
+
+%% Set closing gui function
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer1,handles.figure1});
+set(handles.figure1,'CloseRequestFcn',{@Closinggui,timer2,handles.figure1});
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes synchro_injecteur8_rafale wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = synchro_injecteur8_rafale_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function boo_alim_dipole_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_dipole (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_dipole as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_dipole as a double
+%h=gcf
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'dpTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_dipole (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function boo_alim_qf_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_qf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_qf as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_qf as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qfTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_qf_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_qf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_alim_qd_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_qd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_qd as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_qd as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'qdTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_qd_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_qd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_alim_sf_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_sf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_sf as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_sf as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sfTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_sf_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_sf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_alim_sd_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_sd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_sd as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_sd as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.ALIM.1', 'sdTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_sd_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_sd (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_rf_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_rf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_rf as text
+%        str2double(get(hObject,'String')) returns contents of boo_rf as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_rf_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_rf (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_canon_lpm_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_alim_canon_lpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_alim_canon_lpm as text
+%        str2double(get(hObject,'String')) returns contents of lin_alim_canon_lpm as a double
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_alim_canon_lpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt1_emittance_Callback(hObject, eventdata, handles)
+% hObject    handle to lt1_emittance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt1_emittance as text
+%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt1_emittance_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt1_emittance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt1_MC1_Callback(hObject, eventdata, handles)
+% hObject    handle to lt1_MC1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt1_MC1 as text
+%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt1_MC1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt1_MC1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt1_MC2_Callback(hObject, eventdata, handles)
+% hObject    handle to lt1_MC2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt1_MC2 as text
+%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt1_MC2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt1_MC2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt1_osc_Callback(hObject, eventdata, handles)
+% hObject    handle to lt1_osc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt1_osc as text
+%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lt1_osc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt1_osc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function sdc1_Callback(hObject, eventdata, handles)
+% hObject    handle to sdc1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of sdc1 as text
+%        str2double(get(hObject,'String')) returns contents of sdc1 as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function sdc1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sdc1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_inj_septum_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_inj_septum (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_inj_septum as text
+%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_inj_septum_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_inj_septum (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_inj_kicker_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_inj_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text
+%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_inj_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_bpm as text
+%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function boo_bpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_nod_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_nod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_nod as text
+%        str2double(get(hObject,'String')) returns contents of boo_nod as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_nod_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_nod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_dcct_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_dcct (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_dcct as text
+%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_dcct_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_dcct (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_canon_spm_fin_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_alim_canon_spm_fin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_alim_canon_spm_fin as text
+%        str2double(get(hObject,'String')) returns contents of lin_alim_canon_spm_fin as a double
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+ext_offset=str2double(get(handles.ext_offset,'String'));
+lin_fin   =str2double(get(handles.lin_canon_spm_fin,'String'));
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');
+FileName = [handles.DirName 'synchro_offset_lin'];
+save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+
+% --- Executes during object creation, after setting all properties.
+function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_alim_canon_spm_fin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_spare_Callback(hObject, eventdata, handles)
+% hObject    handle to central_spare (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_spare as text
+%        str2double(get(hObject,'String')) returns contents of central_spare as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay',delay);
+
+%status soft checked on linac
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+if (temp.value(1)==2)
+   %
+elseif (temp.value(1)==5)
+    dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    inj_offset=str2double(get(handles.inj_offset,'String'));
+    dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+    delay=dt.value(1)-dt1.value(1)+inj_offset;
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+    temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+    set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+end
+
+% --- Executes during object creation, after setting all properties.
+function central_spare_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_spare (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_inj_Callback(hObject, eventdata, handles)
+% hObject    handle to central_inj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_inj as text
+%        str2double(get(hObject,'String')) returns contents of central_inj as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function central_inj_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_inj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+
+function central_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to central_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_soft as text
+%        str2double(get(hObject,'String')) returns contents of central_soft as a double
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',delay);
+
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+% clkinj=int32(temp.value(1)+5*52);
+% clkext=int32(temp.value(1)/52+10);
+% tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',clkinj);
+% tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',clkext);
+% 
+% %status soft checked on linac
+% temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareEvent');
+% if (temp.value(1)==2)
+%    %
+% elseif (temp.value(1)==1)
+%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+%     inj_offset=str2double(get(handles.inj_offset,'String'));
+%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+%     delay=dt.value(1)-dt1.value(1)+inj_offset;
+%     tango_write_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+%     temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay');
+%     set(handles.lin_alim_modulateur,'String',num2str(temp.value(1)-inj_offset));
+% end
+
+% --- Executes during object creation, after setting all properties.
+function central_soft_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_acquisition_nooffset.
+function button_acquisition_nooffset_Callback(hObject, eventdata, handles)
+% hObject    handle to button_acquisition_nooffset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+test_modes(handles);
+
+
+set(handles.inj_offset,'Enable','off');
+set(handles.sdc1,'Enable','off');
+set(handles.lin_canon_lpm,'Enable','off');
+set(handles.lin_canon_spm,'Enable','off');
+set(handles.lin_canon_spm_fin,'Enable','off');
+set(handles.lin_alim,'Enable','off');
+set(handles.boo_bpm,'Enable','off');
+set(handles.lt1_emittance,'Enable','off');
+set(handles.lt1_MC1,'Enable','off');
+set(handles.lt1_MC2,'Enable','off');
+set(handles.lt1_osc,'Enable','off');
+set(handles.boo_dcct,'Enable','off');
+set(handles.boo_nod,'Enable','off');
+set(handles.boo_inj_septum,'Enable','off');
+set(handles.boo_inj_kicker,'Enable','off');
+set(handles.boo_alim_dipole,'Enable','off');
+set(handles.boo_alim_qf,'Enable','off');
+set(handles.boo_alim_qd,'Enable','off');
+set(handles.boo_alim_sf,'Enable','off');
+set(handles.boo_alim_sd,'Enable','off');
+set(handles.boo_alim_cp,'Enable','off');
+set(handles.boo_rf,'Enable','off');
+set(handles.boo_mrsv,'Enable','off');
+set(handles.lin_modulateur,'Enable','off');
+set(handles.ext_offset,'Enable','off');
+set(handles.boo_ext_dof,'Enable','off');
+set(handles.boo_ext_sept_p,'Enable','off');
+set(handles.boo_ext_sept_a,'Enable','off');
+set(handles.boo_ext_kicker,'Enable','off');
+set(handles.sdc2,'Enable','off');
+set(handles.lt2_emittance,'Enable','off');
+set(handles.lt2_osc,'Enable','off');
+set(handles.lt2_bpm,'Enable','off');
+set(handles.ans_inj_k1,'Enable','off');
+set(handles.ans_inj_k2,'Enable','off');
+set(handles.ans_inj_k3,'Enable','off');
+set(handles.ans_inj_k4,'Enable','off');
+set(handles.ans_inj_sept_p,'Enable','off');
+set(handles.ans_inj_sept_a,'Enable','off');
+set(handles.ans_fbt,'Enable','off');
+set(handles.ans_dcct,'Enable','off');
+set(handles.ans_nod,'Enable','off');
+set(handles.ans_bpm_c01,'Enable','off');
+set(handles.ans_bpm_c02,'Enable','off');
+set(handles.ans_bpm_c03,'Enable','off');
+set(handles.ans_bpm_c04,'Enable','off');
+set(handles.ans_bpm_c05,'Enable','off');
+set(handles.ans_bpm_c06,'Enable','off');
+set(handles.ans_bpm_c07,'Enable','off');
+set(handles.ans_bpm_c08,'Enable','off');
+set(handles.ans_bpm_c09,'Enable','off');
+set(handles.ans_bpm_c10,'Enable','off');
+set(handles.ans_bpm_c11,'Enable','off');
+set(handles.ans_bpm_c12,'Enable','off');
+set(handles.ans_bpm_c13,'Enable','off');
+set(handles.ans_bpm_c14,'Enable','off');
+set(handles.ans_bpm_c15,'Enable','off');
+set(handles.ans_bpm_c16,'Enable','off');
+
+get_synchro_delay_nooffset(handles)
+n=1;
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'libre.1TimeDelay');
+try txt=num2str(temp.value(n)); catch txt='Bug device' ; end
+set(handles.lin_alim,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_mrsv,'String',txt);
+
+temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTimeDelay');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.ans_nod,'String',txt);
+
+
+%status soft checked on linac
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+if (temp.value(n)==2)
+    %set(handles.soft_button,'Value',0);
+elseif (temp.value(n)==5)
+    %set(handles.soft_button,'Value',1);
+end
+
+%status tables
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+offset=temp.value(1)*52;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
+n=temp.value;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
+table=temp.value(1:n)-offset;
+set(handles.edit_filling_relecture_tables,'String',['T=' , num2str(table)]);  
+
+
+
+% --- Executes on button press in button_acquisition_delay.
+function button_acquisition_delay_Callback(hObject, eventdata, handles)
+% hObject    handle to button_acquisition_delay (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+bug_device='Bug device';
+
+test_modes(handles);
+
+set(handles.inj_offset,'Enable','on');
+set(handles.sdc1,'Enable','on');
+set(handles.lin_canon_lpm,'Enable','on');
+set(handles.lin_canon_spm,'Enable','on');
+set(handles.lin_canon_spm_fin,'Enable','on');
+set(handles.lin_alim,'Enable','on');
+set(handles.boo_bpm,'Enable','on');
+set(handles.lt1_emittance,'Enable','on');
+set(handles.lt1_MC1,'Enable','on');
+set(handles.lt1_MC2,'Enable','on');
+set(handles.lt1_osc,'Enable','on');
+set(handles.boo_dcct,'Enable','on');
+set(handles.boo_nod,'Enable','on');
+set(handles.boo_inj_septum,'Enable','on');
+set(handles.boo_inj_kicker,'Enable','on');
+set(handles.boo_alim_dipole,'Enable','on');
+set(handles.boo_alim_qf,'Enable','on');
+set(handles.boo_alim_qd,'Enable','on');
+set(handles.boo_alim_sf,'Enable','on');
+set(handles.boo_alim_sd,'Enable','on');
+set(handles.boo_alim_cp,'Enable','on');
+set(handles.boo_rf,'Enable','on');
+set(handles.boo_mrsv,'Enable','on');
+set(handles.lin_modulateur,'Enable','on');
+set(handles.ext_offset,'Enable','on');
+set(handles.boo_ext_dof,'Enable','on');
+set(handles.boo_ext_sept_p,'Enable','on');
+set(handles.boo_ext_sept_a,'Enable','on');
+set(handles.boo_ext_kicker,'Enable','on');
+set(handles.sdc2,'Enable','on');
+set(handles.lt2_emittance,'Enable','on');
+set(handles.lt2_osc,'Enable','on');
+set(handles.lt2_bpm,'Enable','on');
+set(handles.ans_inj_k1,'Enable','on');
+set(handles.ans_inj_k2,'Enable','on');
+set(handles.ans_inj_k3,'Enable','on');
+set(handles.ans_inj_k4,'Enable','on');
+set(handles.ans_inj_sept_p,'Enable','on');
+set(handles.ans_inj_sept_a,'Enable','on');
+set(handles.ans_fbt,'Enable','on');
+set(handles.ans_dcct,'Enable','on');
+set(handles.ans_nod,'Enable','on');
+set(handles.ans_bpm_c01,'Enable','on');
+set(handles.ans_bpm_c02,'Enable','on');
+set(handles.ans_bpm_c03,'Enable','on');
+set(handles.ans_bpm_c04,'Enable','on');
+set(handles.ans_bpm_c05,'Enable','on');
+set(handles.ans_bpm_c06,'Enable','on');
+set(handles.ans_bpm_c07,'Enable','on');
+set(handles.ans_bpm_c08,'Enable','on');
+set(handles.ans_bpm_c09,'Enable','on');
+set(handles.ans_bpm_c10,'Enable','on');
+set(handles.ans_bpm_c11,'Enable','on');
+set(handles.ans_bpm_c12,'Enable','on');
+set(handles.ans_bpm_c13,'Enable','on');
+set(handles.ans_bpm_c14,'Enable','on');
+set(handles.ans_bpm_c15,'Enable','on');
+set(handles.ans_bpm_c16,'Enable','on');
+set(handles.ans_k_pc,'Enable','on');
+set(handles.ans_k_h,'Enable','on');
+set(handles.ans_k_v,'Enable','on');
+
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');
+FileName = [handles.DirName 'synchro_offset_lin'];
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+set(handles.inj_offset,'String',num2str(inj_offset));
+set(handles.ext_offset,'String',num2str(ext_offset));
+set(handles.lin_canon_spm_fin,'String',num2str(lin_fin));
+
+get_synchro_delay(handles)
+n=1;
+ext_offset=str2double(get(handles.ext_offset,'String'));
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay');
+set(handles.central_pc,'String',num2str(temp.value(n)));
+
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'libre.1TimeDelay');
+try txt=num2str(temp.value(n)); catch txt='Bug device' ; end
+set(handles.lin_alim,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.boo_mrsv,'String',txt);
+
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.pmTimeDelay');
+try ;txt=num2str(temp.value(n)-ext_offset); catch txt=bug_device ; end
+set(handles.ans_nod,'String',txt);
+
+
+%status soft checked on linac
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+if (temp.value(n)==2)
+    %set(handles.soft_button,'Value',0);
+elseif (temp.value(n)==5)
+    %set(handles.uipanel_mode,'String','Mode Soft');
+end
+
+%status tables
+%temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+%offset=temp.value(1)*52;
+offset_linac=10*lin_fin;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
+n=temp.value;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
+table_ext=temp.value(1:n); %-offset_ext;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'LinacDelayTable');
+table_linac=(temp.value(1:n)-offset_linac)/28;
+table=[];
+for i=1:n
+    table=[table ' ' '(' num2str([table_ext(i)])  ' '  num2str([table_linac(i)]) ')'];
+end
+set(handles.edit_filling_relecture_tables,'String',[num2str(table)]);
+set(handles.edit_filling_relecture_bunch, 'String','??');
+
+
+
+% --- Executes on button press in button_injection_soft.
+function button_injection_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to button_injection_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% verifie si inj autorisÃ©
+% try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection
+% val=temp.value; catch val=1 ; end ; if val~=0 ; val=1; end;
+% 
+% if (val==1)
+%     
+%     tic
+%    [r1,r2]=fire_injection(handles);
+%     toc
+% else
+%     % pas d'injection, tir non autorise
+%     fprintf('%s\n','Gap U20  < limite    dans ANS/EI/GAP_U20_SECURITY');
+% end
+
+[r1,r2]=fire_injection(handles);
+
+% check synchro booster
+%flag=0 : OK
+%falg=1 : mauvais delais
+[flag]=check_boo_synchro;
+if flag==1 && r1> 20
+    set(handles.central_inj,'Backgroundcolor', [1 0 0]); % KO
+else
+    set(handles.central_inj,'Backgroundcolor', [1 1 1]); % OK
+end
+
+% % Warning mauvais rendement booster
+% if r1 < 90
+%     set(handles.edit_rboo,'Backgroundcolor', [1 0 0]); % KO
+%     set(handles.edit_rboo,'Foregroundcolor', [0 0 0]); 
+% else
+%     set(handles.edit_rboo,'Backgroundcolor', [1 1 1]); % OK
+%     set(handles.edit_rboo,'Foregroundcolor', [1 0 0]); 
+% end
+
+%
+test_modes(handles);
+
+function periode_edit_Callback(hObject, eventdata, handles)
+% hObject    handle to periode_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of periode_edit as text
+%        str2double(get(hObject,'String')) returns contents of periode_edit as a double
+
+val_multishot = get(handles.on1,'Value');
+
+if val_multishot
+    errordlg('positionner le trigger a OFF !','Attention');
+    return
+else
+    periode = str2double(get(hObject,'String'));
+
+    % change timer Infinite loop
+    timer1=timer('StartDelay',1,...
+        'ExecutionMode','fixedRate','Period',periode,'TasksToExecute',Inf);
+    timer1.TimerFcn = {@fonction_alex1, hObject,eventdata, handles};
+    setappdata(handles.figure1,'Timer1',timer1);
+
+    % Update handles structure
+    guidata(hObject, handles);
+    
+    %getappdata(handles.figure1,'Timer1')
+    
+end
+
+
+
+% --- Executes during object creation, after setting all properties.
+function periode_edit_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to periode_edit (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%handles = guidata(gcbo);
+timer1 = getappdata(handles.figure1,'Timer1');
+timer2 = getappdata(handles.figure1,'Timer2');
+
+%txt1=' INJECTION EN COURS ';
+
+switch get(get(hObject,'SelectedObject'),'Tag')  % Get Tag of selected object
+    case 'radiobutton1'
+        % stop du trigger
+        stop(timer1);
+        stop(timer2);
+        set(handles.uipanel6,'Backgroundcolor', [1 0.3 0]);
+        test_modes(handles);
+        tango_write_attribute2('ANS/DG/PUB-FillingMode','mode_auto',uint8(0))
+        tango_write_attribute2('ANS/DG/PUB-FillingMode','courant_consigne',uint8(0))
+    case 'radiobutton2'
+        % dÃÂ©marrage  du trigger 1
+        start(timer1);
+        set(handles.edit_modes,'String',handles.txt_inj);
+        tango_write_attribute2('ANS/DG/PUB-FillingMode','mode_auto',uint8(1))
+    case 'radiobutton3'
+        % dÃÂ©marrage du trigger 2  
+        temp=tango_read_attribute2('ANS/DG/DCCT-CTRL','current');anscur=temp.value;
+        if (anscur>1.) 
+           start(timer2);      
+           set(handles.edit_modes,'String',handles.txt_inj);
+           tango_write_attribute2('ANS/DG/PUB-FillingMode','mode_auto',uint8(1)) 
+        else
+            % ne fait rien, en cas de perte faisceau
+        end
+end
+
+
+function fonction_alex1(arg1,arg2,hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)set(handles.boo_alim_sd,'Enable','on');
+
+color=get(handles.uipanel6,'Backgroundcolor');
+if color==[1 0.3 0]
+    set(handles.uipanel6,'Backgroundcolor', [1 0.3 1]);
+elseif color==[1 0.3 1]
+    set(handles.uipanel6,'Backgroundcolor', [1 0.3 0]);
+end
+
+button_injection_soft_Callback(hObject,eventdata,handles)
+
+
+function fonction_alex2(arg1,arg2,hObject,eventdata,handles)
+% hObject    handle to uipanel1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+temp=tango_read_attribute2('ANS/DG/DCCT-CTRL','current');anscur=temp.value;
+set(handles.edit_courant_total,'String', num2str(anscur,'%5.2f'));
+Imin=str2double(get(handles.edit_Imin,'String'));
+
+color=get(handles.uipanel6,'Backgroundcolor');
+if color==[1 0.3 0]
+    set(handles.uipanel6,'Backgroundcolor', [1 0.3 1]);
+elseif color==[1 0.3 1]
+    set(handles.uipanel6,'Backgroundcolor', [1 0.3 0]);
+end
+
+
+if     (anscur>Imin)
+    %on attend
+    %fprintf('Cur = %g \n',anscur)
+    tango_write_attribute2('ANS/DG/PUB-FillingMode','courant_consigne',uint8(1))
+else
+    %inject le cycle en cours
+    %fprintf('Cur = %g : Injection \n',anscur)
+    %set(handles.uipanel6,'Backgroundcolor', [1 1 0]);
+    button_injection_soft_Callback(hObject, eventdata, handles)
+end
+
+
+
+%% What to do before closing the application
+function Closinggui(obj, event, handles, figure1)
+
+% Get default command line output from handles structure
+answer = questdlg('Fermer softsynchro ?',...
+    'Exit softsynchro',...
+    'Yes','No','Yes');
+
+switch answer
+    case 'Yes'           
+        delete(handles); %Delete Timer        
+        delete(figure1); %Close gui
+    otherwise
+        disp('Closing aborted')
+end
+
+
+
+% --- Executes on button press in button_softmoins.
+function button_softmoins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_softmoins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tt=0.6;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+step=temp.value(1)-52;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',step);
+pause(2*tt)
+
+%status soft checked on linac
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+if (temp.value(1)==2)
+    pause(tt)
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    set(handles.central_soft,'String',num2str(temp.value(1)));
+elseif (temp.value(1)==5)
+    dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    inj_offset=str2double(get(handles.inj_offset,'String'));
+    dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+    delay=dt.value(1)-dt1.value(1)+inj_offset;
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+    set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    set(handles.central_soft,'String',num2str(temp.value(1)));
+end
+
+
+
+% --- Executes on button press in button_softplus.
+function button_softplus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_softplus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tt=0.6;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+step=temp.value(1)+52;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',step);
+pause(2*tt)
+
+%status soft checked on linac
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+if (temp.value(1)==2)
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    set(handles.central_soft,'String',num2str(temp.value(1)));
+elseif (temp.value(1)==5)
+    dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    inj_offset=str2double(get(handles.inj_offset,'String'));
+    dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+    delay=dt.value(1)-dt1.value(1)+inj_offset;
+    tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');
+    set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');
+    set(handles.central_soft,'String',num2str(temp.value(1)));
+end
+
+
+
+% --- Executes on button press in button_injmoins.
+function button_injmoins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_injmoins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tt=0.6;
+
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay');
+step=temp.value(1)-52;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',step);
+pause(2*tt)
+
+%status soft checked on linac
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+if (temp.value(1)==5)
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+    set(handles.central_inj,'String',num2str(temp.value(1)));
+elseif (temp.value(1)==2)
+%    commented With address spare = 2
+%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+%     inj_offset=str2double(get(handles.inj_offset,'String'));
+%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+%     delay=dt.value(1)-dt1.value(1)+inj_offset;
+%     tango_write_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+% 
+%     pause(tt)
+%     % read again for possible delay
+%     temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay');
+%     set(handles.lin_alim_modulateur,'String',num2str(temp.value(1)-inj_offset));
+     temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+     set(handles.central_inj,'String',num2str(temp.value(1)));
+end
+
+
+% --- Executes on button press in button_injplus.
+function button_injplus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_injplus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+tt=0.6;
+set(handles.boo_alim_sd,'Enable','on');
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay');
+step=temp.value(1)+52;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',step);
+pause(2*tt)
+
+%status soft checked on linac
+temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent');
+if (temp.value(1)==5)
+    pause(tt)
+    % read again for possible delay
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+    set(handles.central_inj,'String',num2str(temp.value(1)));
+elseif (temp.value(1)==2)
+%    commented With address spare = 2
+%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+%     inj_offset=str2double(get(handles.inj_offset,'String'));
+%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');
+%     delay=dt.value(1)-dt1.value(1)+inj_offset;
+%     tango_write_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+% 
+%     pause(tt)
+%     % read again for possible delay
+%     temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay');
+%     set(handles.lin_alim_modulateur,'String',num2str(temp.value(1)-inj_offset));
+     temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');
+     set(handles.central_inj,'String',num2str(temp.value(1)));
+end
+
+
+
+
+
+
+function boo_ext_sept_p_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_ext_sept_p (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text
+%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_ext_sept_p (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function boo_ext_dof_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_ext_dof (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_ext_dof as text
+%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_ext_dof_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_ext_dof (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATset(handles.boo_alim_sd,'Enable','on');LAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function boo_ext_sept_a_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_ext_sept_a (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text
+%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_ext_sept_a (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_ext_kicker_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_ext_kicker (see GCBO)set(handles.boo_alim_sd,'Enable','on');
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text
+%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_ext_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_sept_p_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_sept_p (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_sept_p (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_sept_a_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_sept_a (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_sept_a (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_k1_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay',delay);
+
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_k1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_k2_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_k2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATset(handles.boo_alim_sd,'Enable','on');LAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_k3_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_k3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_inj_k4_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text
+%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_inj_k4_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_inj_k4 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_dcct_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_dcct (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_dcct as text
+%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_dcct_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_dcct (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_fbt_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_fbt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_fbt as text
+%        str2double(get(hObject,'String')) returns contents of ans_fbt as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'libre.1TimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_fbt_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_fbt (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_ext_Callback(hObject, eventdata, handles)
+% hObject    handle to central_ext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_ext as text
+%        str2double(get(hObject,'String')) returns contents of central_ext as a double
+%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue',delay);
+
+% --- Executes during object creation, after setting all properties.
+function central_ext_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_ext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_soft1_Callback(hObject, eventdata, handles)
+% hObject    handle to central_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_soft as text
+%        str2double(get(hObject,'String')) returns contents of central_soft as a double
+
+
+
+% --- Executes during object creation, after setting all properties.
+function central_soft1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_extmoins.
+function button_extmoins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_extmoins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+dclk=10;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+step=temp.value(1)-dclk;
+tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',int32(step));
+temp=tango_read_attribute2('ANS/SY/CENTRAL','ExtractionOffsetTimeValue');
+set(handles.central_ext,'String',num2str(temp.value(1)));
+
+% on fait suivre les septa actif
+% temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');boo=temp.value(1);
+% tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay',double(boo-dclk*52*184/2));
+% temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay');ans=temp.value(1);
+% tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay',double(ans-dclk*52*184/2))
+
+% --- Executes on button press in button_extplus.
+function button_extplus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_extplus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+dclk=10;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+step=temp.value(1)+dclk;
+tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',int32(step));
+temp=tango_read_attribute2('ANS/SY/CENTRAL','ExtractionOffsetTimeValue');
+set(handles.central_ext,'String',num2str(temp.value(1)));
+
+% on fait suivre les septa actif
+% temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');boo=temp.value(1);
+% tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay',double(boo+dclk*52*184/2));
+% temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay');ans=temp.value(1);
+% tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay',double(ans+dclk*52*184/2))
+
+function sdc2_Callback(hObject, eventdata, handles)
+% hObject    handle to sdc2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of sdc2 as text
+%        str2double(get(hObject,'String')) returns contents of sdc2 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function sdc2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to sdc2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt2_emittance_Callback(hObject, eventdata, handles)
+% hObject    handle to lt2_emittance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt2_emittance as text
+%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lt2_emittance_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt2_emittance (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt2_bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to lt2_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt2_bpm as text
+%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt2_bpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt2_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lt2_osc_Callback(hObject, eventdata, handles)
+% hObject    handle to lt2_osc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lt2_osc as text
+%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lt2_osc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lt2_osc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_modulateur_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_alim_modulateur (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_alim_modulateur as text
+%        str2double(get(hObject,'String')) returns contents of lin_alim_modulateur as a double
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function lin_modulateur_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_alim_modulateur (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function inj_offset_Callback(hObject, eventdata, handles)
+% hObject    handle to inj_offset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of inj_offset as text
+%        str2double(get(hObject,'String')) returns contents of inj_offset as a double
+
+inj_offset=str2double(get(hObject,'String'));
+ext_offset=str2double(get(handles.ext_offset,'String'));
+lin_fin   =str2double(get(handles.lin_canon_spm_fin,'String'));
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');
+FileName = [handles.DirName 'synchro_offset_lin'];
+save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin')
+
+%lin_alim
+delay=str2double(get(handles.lin_canon_lpm,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmTimeDelay',delay);
+
+delay=str2double(get(handles.lin_canon_spm,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacTimeDelay',delay);
+
+delay=str2double(get(handles.lin_modulateur,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+delay=str2double(get(handles.sdc1,'String'))+inj_offset;
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscTimeDelay',delay);
+
+
+% LT1
+delay=str2double(get(handles.lt1_MC2,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2TimeDelay',delay);
+
+delay=str2double(get(handles.lt1_MC1,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1TimeDelay',delay);
+
+delay=str2double(get(handles.lt1_emittance,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceTimeDelay',delay);
+
+delay=str2double(get(handles.lt1_osc,'String'))+inj_offset;
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscTimeDelay',delay);
+
+
+% BOO
+delay=str2double(get(handles.boo_inj_septum,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_inj_kicker,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_bpm,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigTimeDelay',delay);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigTimeDelay',delay);
+
+
+delay=str2double(get(handles.boo_nod,'String'))+inj_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigTimeDelay',delay);
+
+% delay=str2double(get(handles.boo_dcct,'String'))+inj_offset;
+% tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',delay);
+
+
+
+% --- Executes during object creation, after setting all properties.
+function inj_offset_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to inj_offset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ext_offset_Callback(hObject, eventdata, handles)
+% hObject    handle to ext_offset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ext_offset as text
+%        str2double(get(hObject,'String')) returns contents of ext_offset as a double
+
+ext_offset=str2double(get(hObject,'String'));
+inj_offset=str2double(get(handles.inj_offset,'String'));
+lin_fin   =str2double(get(handles.lin_canon_spm_fin,'String'));
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');
+FileName = [handles.DirName 'synchro_offset_lin'];
+save(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+
+
+%BOO
+delay=str2double(get(handles.boo_ext_dof,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_ext_sept_p,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_ext_sept_a,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigTimeDelay',delay);
+
+delay=str2double(get(handles.boo_ext_kicker,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigTimeDelay',delay);
+
+delay=str2double(get(handles.sdc2,'String'))+ext_offset;
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareTimeDelay',delay);
+
+%LT2
+delay=str2double(get(handles.lt2_bpm,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',delay);
+
+delay=str2double(get(handles.lt2_osc,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctTimeDelay',delay);
+
+delay=str2double(get(handles.lt2_emittance,'String'))+ext_offset;
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvTimeDelay',delay);
+
+%ANS
+
+delay=str2double(get(handles.ans_inj_sept_a,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_sept_p,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-p.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_k1,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_k2,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_k3,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigTimeDelay',delay);
+
+delay=str2double(get(handles.ans_inj_k4,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigTimeDelay',delay);
+
+
+
+% --- Executes during object creation, after setting all properties.
+function ext_offset_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ext_offset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_acquisition_address.
+function button_acquisition_address_Callback(hObject, eventdata, handles)
+% hObject    handle to button_acquisition_address (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+test_modes(handles);
+
+
+set(handles.inj_offset,'Enable','off');
+set(handles.sdc1,'Enable','off');
+set(handles.lin_canon_lpm,'Enable','off');
+set(handles.lin_canon_spm,'Enable','off');
+set(handles.lin_canon_spm_fin,'Enable','off');
+set(handles.lin_alim,'Enable','off');
+set(handles.boo_bpm,'Enable','off');
+set(handles.lt1_emittance,'Enable','off');
+set(handles.lt1_MC1,'Enable','off');
+set(handles.lt1_MC2,'Enable','off');
+set(handles.lt1_osc,'Enable','off');
+set(handles.boo_dcct,'Enable','off');
+set(handles.boo_nod,'Enable','off');
+set(handles.boo_inj_septum,'Enable','off');
+set(handles.boo_inj_kicker,'Enable','off');
+set(handles.boo_alim_dipole,'Enable','off');
+set(handles.boo_alim_qf,'Enable','off');
+set(handles.boo_alim_qd,'Enable','off');
+set(handles.boo_alim_sf,'Enable','off');
+set(handles.boo_alim_sd,'Enable','off');
+set(handles.boo_alim_cp,'Enable','off');
+set(handles.boo_rf,'Enable','off');
+set(handles.boo_mrsv,'Enable','off');
+set(handles.lin_modulateur,'Enable','off');
+set(handles.ext_offset,'Enable','off');
+set(handles.boo_ext_dof,'Enable','off');
+set(handles.boo_ext_sept_p,'Enable','off');
+set(handles.boo_ext_sept_a,'Enable','off');
+set(handles.boo_ext_kicker,'Enable','off');
+set(handles.sdc2,'Enable','off');
+set(handles.lt2_emittance,'Enable','off');
+set(handles.lt2_osc,'Enable','off');
+set(handles.lt2_bpm,'Enable','off');
+set(handles.ans_inj_k1,'Enable','off');
+set(handles.ans_inj_k2,'Enable','off');
+set(handles.ans_inj_k3,'Enable','off');
+set(handles.ans_inj_k4,'Enable','off');
+set(handles.ans_inj_sept_p,'Enable','off');
+set(handles.ans_inj_sept_a,'Enable','off');
+set(handles.ans_fbt,'Enable','off');
+set(handles.ans_dcct,'Enable','off');
+set(handles.ans_nod,'Enable','off');
+set(handles.ans_bpm_c01,'Enable','off');
+set(handles.ans_bpm_c02,'Enable','off');
+set(handles.ans_bpm_c03,'Enable','off');
+set(handles.ans_bpm_c04,'Enable','off');
+set(handles.ans_bpm_c05,'Enable','off');
+set(handles.ans_bpm_c06,'Enable','off');
+set(handles.ans_bpm_c07,'Enable','off');
+set(handles.ans_bpm_c08,'Enable','off');
+set(handles.ans_bpm_c09,'Enable','off');
+set(handles.ans_bpm_c10,'Enable','off');
+set(handles.ans_bpm_c11,'Enable','off');
+set(handles.ans_bpm_c12,'Enable','off');
+set(handles.ans_bpm_c13,'Enable','off');
+set(handles.ans_bpm_c14,'Enable','off');
+set(handles.ans_bpm_c15,'Enable','off');
+set(handles.ans_bpm_c16,'Enable','off');
+
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');
+FileName = [handles.DirName 'synchro_offset_lin'];
+load(FileName, 'inj_offset' , 'ext_offset', 'lin_fin');
+set(handles.inj_offset,'String',num2str(inj_offset));
+set(handles.ext_offset,'String',num2str(ext_offset));
+set(handles.lin_canon_spm_fin,'String',num2str(lin_fin));
+
+get_synchro_address(handles)
+n=1;
+temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'libre.1Event');
+try txt=num2str(temp.value(n)); catch txt='Bug device' ; end
+set(handles.lin_alim,'String',txt);
+
+temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.boo_mrsv,'String',txt);
+
+temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.pmEvent');
+try ;txt=num2str(temp.value(n)); catch txt=bug_device ; end
+set(handles.ans_nod,'String',txt);
+set(handles.boo_alim_sd,'Enable','off');
+
+% --- Executes on button press in button_offinj_moins.
+function button_offinj_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_offinj_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp=str2double(get(handles.inj_offset,'String'));
+step=temp-52*0.52243;
+set(handles.inj_offset,'String',step);
+inj_offset_Callback(handles.inj_offset, eventdata, handles);
+
+% --- Executes on button press in button_offinj_plus.
+function button_offinj_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_offinj_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp=str2double(get(handles.inj_offset,'String'));
+step=temp+52*0.52243;
+set(handles.inj_offset,'String',step);
+inj_offset_Callback(handles.inj_offset, eventdata, handles);
+
+% --- Executes on button press in button_offext_moins.
+function button_offext_moins_Callback(hObject, eventdata, handles)
+% hObject    handle to button_offext_moins (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp=str2double(get(handles.ext_offset,'String'));
+step=temp-52*0.52243;
+set(handles.ext_offset,'String',step);
+ext_offset_Callback(handles.ext_offset, eventdata, handles);
+
+% --- Executes on button press in button_offext_plus.
+function button_offext_plus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_offext_plus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+temp=str2double(get(handles.ext_offset,'String'));
+step=temp+52*0.52243;
+set(handles.ext_offset,'String',step);
+ext_offset_Callback(handles.ext_offset, eventdata, handles);
+
+
+% --- Executes on button press in button_bpm.
+function button_bpm_Callback(hObject, eventdata, handles)
+% hObject    handle to button_bpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of button_bpm
+
+bpm=get(hObject,'Value');
+
+if (bpm==0)
+   set(handles.panel_bpm,'Visible','off');
+elseif (bpm==1)
+    set(handles.panel_bpm,'Visible','on');
+end
+
+
+
+function ans_bpm_c01_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c01 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c01 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function ans_bpm_c02_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c02 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c02 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c03_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c03 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c03 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c04_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c04 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c04 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c05_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c05 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c05 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c06_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c06 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c06 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c07_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c07 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c07 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c08_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c08 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c08 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c09_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c09 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c09 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c10_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c10 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c11_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c12_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c12 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c13_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c14_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c14 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c15_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_bpm_c16_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text
+%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_bpm_c16 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_filling_relecture_tables (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text
+%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_filling_relecture_tables (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_filling_relecture_bunch (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text
+%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_filling_relecture_bunch (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_filling_entrer_bunch (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text
+%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double
+
+%set(handles.listbox_fillingmode,'value',12);
+%listbox_fillingmode_Callback;
+
+% --- Executes during object creation, after setting all properties.
+function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_filling_entrer_bunch (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_update.
+function button_update_Callback(hObject, eventdata, handles)
+% hObject    handle to button_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+do_update
+
+% --- Executes on button press in button_acquisition_trigstatus.
+function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)
+% hObject    handle to button_acquisition_trigstatus (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+test_modes(handles);
+
+set(handles.inj_offset,'Enable','off');
+set(handles.sdc1,'Enable','off');
+set(handles.lin_canon_lpm,'Enable','off');set(handles.boo_alim_sd,'Enable','off');
+set(handles.lin_canon_spm,'Enable','off');
+set(handles.lin_canon_spm_fin,'Enable','off');
+set(handles.lin_alim,'Enable','off');
+set(handles.boo_bpm,'Enable','off');
+set(handles.lt1_emittance,'Enable','off');
+set(handles.lt1_MC1,'Enable','off');
+set(handles.lt1_MC2,'Enable','off');
+set(handles.lt1_osc,'Enable','off');
+set(handles.boo_dcct,'Enable','off');
+set(handles.boo_nod,'Enable','off');
+set(handles.boo_inj_septum,'Enable','off');
+set(handles.boo_inj_kicker,'Enable','off');
+set(handles.boo_alim_dipole,'Enable','off');
+set(handles.boo_alim_qf,'Enable','off');
+set(handles.boo_alim_qd,'Enable','off');
+set(handles.boo_alim_sf,'Enable','off');
+set(handles.boo_alim_sd,'Enable','off');
+set(handles.boo_alim_cp,'Enable','off');
+set(handles.boo_rf,'Enable','off');
+set(handles.boo_mrsv,'Enable','off');
+set(handles.lin_modulateur,'Enable','off');
+set(handles.ext_offset,'Enable','off');
+set(handles.boo_ext_dof,'Enable','off');
+set(handles.boo_ext_sept_p,'Enable','off');
+set(handles.boo_ext_sept_a,'Enable','off');
+set(handles.boo_ext_kicker,'Enable','off');
+set(handles.sdc2,'Enable','off');
+set(handles.lt2_emittance,'Enable','off');
+set(handles.lt2_osc,'Enable','off');
+set(handles.lt2_bpm,'Enable','off');
+set(handles.ans_inj_k1,'Enable','off');
+set(handles.ans_inj_k2,'Enable','off');
+set(handles.ans_inj_k3,'Enable','off');
+set(handles.ans_inj_k4,'Enable','off');
+set(handles.ans_inj_sept_p,'Enable','off');
+set(handles.ans_inj_sept_a,'Enable','off');
+set(handles.ans_fbt,'Enable','off');
+set(handles.ans_dcct,'Enable','off');
+set(handles.ans_nod,'Enable','off');
+set(handles.ans_bpm_c01,'Enable','off');
+set(handles.ans_bpm_c02,'Enable','off');
+set(handles.ans_bpm_c03,'Enable','off');
+set(handles.ans_bpm_c04,'Enable','off');
+set(handles.ans_bpm_c05,'Enable','off');
+set(handles.ans_bpm_c06,'Enable','off');
+set(handles.ans_bpm_c07,'Enable','off');
+set(handles.ans_bpm_c08,'Enable','off');
+set(handles.ans_bpm_c09,'Enable','off');
+set(handles.ans_bpm_c10,'Enable','off');
+set(handles.ans_bpm_c11,'Enable','off');
+set(handles.ans_bpm_c12,'Enable','off');
+set(handles.ans_bpm_c13,'Enable','off');
+set(handles.ans_bpm_c14,'Enable','off');
+set(handles.ans_bpm_c15,'Enable','off');
+set(handles.ans_bpm_c16,'Enable','off');
+
+get_synchro_trigstatus(handles)
+
+
+
+% --- Executes on button press in togglebutton2.
+function togglebutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to togglebutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of togglebutton2
+
+
+% --- Executes on selection change in listbox_fillingmode.
+function listbox_fillingmode_Callback(hObject, eventdata, handles)
+% hObject    handle to listbox_fillingmode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: contents = get(hObject,'String') returns listbox_fillingmode contents as cell array
+%        contents{get(hObject,'Value')} returns selected item from listbox_fillingmode
+pattern=get(hObject,'String');
+mode=get(hObject,'Value');
+fprintf('***************************************************\n')
+fprintf('Mode de remplissage sÃÂ©lectionnÃÂ© : %s\n',pattern{mode})
+fprintf('***************************************************\n')
+
+
+% PrÃÂ©pare les tables pour le 3 Hz
+quart=[1 105 209 313];
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+offset_ext=temp.value(1)*52;
+offset_linac=str2double(get(handles.lin_canon_spm_fin,'String')) ;% dÃÂ©lai fin de rÃÂ©glage en ns
+offset_linac=offset_linac/handles.lin_fin_step;                   % dÃÂ©lai fin de rÃÂ©glage en pas de handles.lin_fin_step ps
+bjump=handles.one_bunch;
+
+
+if (mode<=4)    %LPM
+    bunch=quart(mode);
+    fillingmode='1/4';
+elseif (mode>4)&&(mode<=7) %LPM
+    bunch=quart(1:(mode-3));
+    if mode==5 ; fillingmode='1/2'; end
+    if mode==6 ; fillingmode='3/4'; end
+    if mode==7 ; fillingmode='4/4'; end
+elseif (mode==8)    %LPM
+    bunch=[365];      % SPM hybride
+    %bunch=[0 104+32 2*(104+40)]+1; % spÃÂ©cial 3/4
+    fillingmode='3/4';
+elseif (mode==9)   % SPM    1 paquet
+    bunch=[1];
+    fillingmode='1 bunch';
+elseif (mode==10)  % SPM    8 paquets
+    bunch=[0:7]*52+1;
+    fillingmode='8 bunches';
+elseif (mode==11)  % SPM    16 paquets
+    %bunch=[0:15]*26+1;
+    fillingmode='16 bunches';
+    % Ludo, tu remplis bunch ici
+     bunch=[1:25];
+%     
+    bunch=[bunch  ([1:25]+1*32)];
+    bunch=[bunch  ([1:25]+2*32)];
+    bunch=[bunch  ([1:25]+3*32)];
+    bunch=[bunch  ([1:25]+4*32)];
+    bunch=[bunch  ([1:25]+5*32)];
+    bunch=[bunch  ([1:25]+6*32)];
+    bunch=[bunch  ([1:25]+7*32)];
+    bunch=[bunch  ([1:25]+8*32)];
+    bunch=[bunch  ([1:25]+9*32)];
+    bunch=[bunch  ([1:25]+10*32)];
+    bunch=[bunch  ([1:25]+11*32)];
+    bunch=[bunch  ([1:25]+12*32)];
+    
+elseif (mode==12)  % SPM    n paquets
+    bunch=str2num(get(handles.edit_filling_entrer_bunch,'String'));
+    if isempty(bunch)
+        set(handles.edit_filling_entrer_bunch,'String','Bug format');
+    end
+    fillingmode='Few bunches';
+
+%     bunch=[0:12]*32+1;
+%     fillingmode='3/4';
+    
+%     bunch=[0 136 272]+1;
+%     fillingmode='LPM spaced 3/4';
+
+%     bunch=[0 2 4 6]*52+1;
+%     fillingmode='LPM 8 pulses';
+
+%     bunch=[1 105 209 313  1 105 209];
+%     fillingmode='3.5/4';
+
+elseif (mode==13)  % SPM    n paquets
+    paq=str2num(get(handles.edit_filling_entrer_bunch1,'String'));
+    if (length(paq) == 2)
+       bunch=paq(1):paq(2);
+    else
+       set(handles.edit_filling_entrer_bunch1,'String','Bug format')
+    end
+    fillingmode='Few bunches';
+
+%     bunch=[1 3 5 7]*52+1 + 8;
+%     fillingmode='LPM 8 pulses';
+end
+
+% Renseigne le filling Mode
+tango_write_attribute2('ANS/DG/PUB-FillingMode', 'fillingMode',fillingmode)
+
+% Charge la longueur de la rafale par dÃÂ©faut sur un cycle
+Ncoup=length(bunch);
+boucle=int16(str2double(get(handles.edit_Ncycle,'String')));
+if Ncoup>=1
+    set(handles.edit_Ncoup,'String',num2str(Ncoup));
+    tango_write_attribute2('ANS/SY/CENTRAL', 'burstSize',int32(Ncoup*boucle));
+end
+    
+    
+[dtour,dpaquet]=bucketnumber(bunch);
+dpaquet=dpaquet*bjump+offset_linac;
+table=int32([length(bunch) dtour dpaquet]);
+handles.table=table;
+handles.bunch=bunch;
+
+%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'table');
+FileName = [handles.DirName 'table.mat'];
+save(FileName, 'table'); % pour palier aux handles via timer non mis ÃÂ  jour !!!!!!
+
+modeinj='togglebutton_3Hz';
+if strcmp(modeinj,'togglebutton_soft')  % on rempli la table sur paquet 1 par dÃÂ©faut, pas utilisÃÂ©e
+    table=handles.table0;
+    tango_command_inout('ANS/SY/CENTRAL','SetTables',table);
+    
+elseif strcmp(modeinj,'togglebutton_3Hz') % on rempli la table associÃÂ©e au remplissage
+    tango_command_inout('ANS/SY/CENTRAL','SetTables',table);
+    pause(1); % mise a jour table ATK
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
+    n=temp.value;
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
+    table_ext=temp.value(1:n); %-offset_ext;
+    temp=tango_read_attribute2('ANS/SY/CENTRAL', 'LinacDelayTable');
+    table_linac=(temp.value(1:n)-offset_linac)/bjump;
+    table=[];
+    for i=1:n
+        table=[table ' ' '(' num2str([table_ext(i)])  ' '  num2str([table_linac(i)]) ')'];
+    end
+end
+
+set(handles.edit_filling_relecture_tables,'String',[num2str(table)]);
+set(handles.edit_filling_relecture_bunch, 'String',[num2str(bunch)]);
+
+
+guidata(hObject, handles);
+
+
+% --- Executes during object creation, after setting all properties.
+function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to listbox_fillingmode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: listbox controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_fix.
+function button_fix_Callback(hObject, eventdata, handles)
+% hObject    handle to button_fix (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+[clk_spare,clk_soft]=fix_quart;
+handles.clk_spare  =clk_spare;
+handles.clk_soft=clk_soft;
+
+% n=1;
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');
+% clk1=temp.value(n);
+% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+% clk2=temp.value(n);
+% 
+% jump=int32([0 39 26 13]);
+% handles.clk_spare  =jump +  int32(clk1);
+% handles.clk_soft=jump  + int32(clk2);
+
+guidata(hObject, handles);
+
+
+
+function edit_Ncycle_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Ncycle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Ncycle as text
+%        str2double(get(hObject,'String')) returns contents of edit_Ncycle as a double
+boucle=str2double(get(hObject,'String'));
+Ncoup=str2double(get(handles.edit_Ncoup,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'burstSize',int32(Ncoup*boucle));
+
+% --- Executes during object creation, after setting all properties.
+function edit_Ncycle_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Ncycle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Ncoup_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Ncoup (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Ncoup as text
+%        str2double(get(hObject,'String')) returns contents of edit_Ncoup as a double
+Ncoup=str2double(get(hObject,'String'));
+boucle=str2double(get(handles.edit_Ncycle,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'burstSize',int32(Ncoup*boucle));
+
+% --- Executes during object creation, after setting all properties.
+function edit_Ncoup_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Ncoup (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_qlt1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_qlt1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_qlt1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_qlt1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_qlt1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_qlt1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_iboo_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_iboo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_iboo as text
+%        str2double(get(hObject,'String')) returns contents of edit_iboo as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_iboo_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_iboo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_dians_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_dians (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_dians as text
+%        str2double(get(hObject,'String')) returns contents of edit_dians as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_dians_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_dians (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_rlt1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_rlt1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_rlt1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_rlt1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_rlt1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_rlt1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_rboo_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_rboo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_rboo as text
+%        str2double(get(hObject,'String')) returns contents of edit_rboo as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_rboo_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_rboo (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_rans_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_rans (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_rans as text
+%        str2double(get(hObject,'String')) returns contents of edit_rans as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_rans_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_rans (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_dians1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_dians1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_dians1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_dians1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_dians1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_dians1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_cycle_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_cycle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_cycle as text
+%        str2double(get(hObject,'String')) returns contents of edit_cycle as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_cycle_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_cycle (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_courant_total_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_courant_total (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_courant_total as text
+%        str2double(get(hObject,'String')) returns contents of edit_courant_total as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_courant_total_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_courant_total (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_canon_spm_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_alim_canon_spm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_alim_canon_spm as text
+%        str2double(get(hObject,'String')) returns contents of lin_alim_canon_spm as a double
+
+inj_offset=str2double(get(handles.inj_offset,'String'));
+delay=str2double(get(hObject,'String'))+inj_offset;
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lin_canon_spm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_alim_canon_spm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+function  uipanel_mode_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_alim_canon_spm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+
+% % % --------------------------------------------------------------------
+% function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% % % hObject    handle to uipanel_mode (see GCBO)
+% % % eventdata  reserved - to be defined in a future version of MATLAB
+% % % handles    structure with handles and user data (see GUIDATA)
+% 
+% set(handles.button_injection_soft,'Enable','Off')
+% set(handles.edit_modes,'String','Please WAIT !!!!')
+% mode=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');
+% 
+% switch mode  % Get Tag of selected object
+%     case 'togglebutton_soft'
+%         % switch to soft (load golden)
+%         
+%         Directory=handles.Directory;
+%         DirName=handles.DirName;
+%         file='golden_rafale_soft.mat';
+%         load_synchro_rafale(Directory,file,DirName)
+%         
+%         
+%         % special septum actif boo et ans
+%         r=(1-0.0004);
+%         try
+%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);
+%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r
+%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);
+%         catch
+%             display('Erreur ajustement tension septa passif')
+%         end
+%         set(handles.edit_Ncoup,'Enable','off');
+%         tango_command_inout('ANS/SY/CENTRAL','SetTables',handles.table0);
+% 
+%     case 'togglebutton_3Hz'
+%         % switch to 3Hz(load golden)
+%         
+%         Directory=handles.Directory;
+%         DirName=handles.DirName;
+%         file='golden_rafale_3Hz.mat';
+%         load_synchro_rafale(Directory,file,DirName)
+%         
+%         % special septum actif boo et ans
+%         r=(1+0.0004);
+%         try
+%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);
+%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');    ans=temp.value(2)*r
+%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);
+%         catch
+%             display('Erreur ajustement tension septa passif')
+%         end
+%         set(handles.edit_Ncoup,'Enable','on');
+%         tango_command_inout('ANS/SY/CENTRAL','SetTables',handles.table);
+% end
+% 
+% set(handles.button_injection_soft,'Enable','On')
+% test_modes(handles);
+% display('ok change address')
+
+
+
+function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch1 as a double
+
+
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_Imin_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_Imin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_Imin as text
+%        str2double(get(hObject,'String')) returns contents of edit_Imin as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_Imin_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_Imin (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --------------------------------------------------------------------
+function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to uipanel_spm_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+%h=get(handles.uipanel_spm_mode);
+%get(h.Children)
+
+mode=get(get(handles.uipanel_spm_mode,'SelectedObject'),'Tag');
+
+switch mode  % Get Tag of selected object
+    case 'spm_mode_1'
+        display('spm_mode_1')     
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'mode',int16(1));
+    case 'spm_mode_2'
+        display('spm_mode_2')  
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'mode',int16(2));
+    case 'spm_mode_2p'
+        display('spm_mode_2p')   
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'mode',int16(3));
+    case 'spm_mode_3'
+        display('spm_mode_3')    
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'mode',int16(4));   
+end
+
+test_modes(handles);
+
+% --------------------------------------------------------------------
+function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to uipanel_lpm_spm_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+mode=get(get(handles.uipanel_lpm_spm_mode,'SelectedObject'),'Tag');
+%modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');
+modeinj='togglebutton_3Hz';
+event0=int32(0);
+if     strcmp(modeinj,'togglebutton_soft')
+    event=int32(5);
+elseif strcmp(modeinj,'togglebutton_3Hz')
+    event=int32(2);
+else
+    %%%
+end
+
+switch mode  % Get Tag of selected object
+    case 'no_mode'
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',event0); 
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event0); 
+        
+    case 'lpm_mode'
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',event); 
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event0);     
+        
+%         tango_write_attribute('LT1/AE/CV.2', 'current',  0.058 );
+%         tango_write_attribute('LT1/AE/CV.3', 'current', -0.119 );
+
+    case 'spm_mode'
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',event0); 
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event);   
+        
+%         tango_write_attribute('LT1/AE/CV.2', 'current',  0.058 );
+%         tango_write_attribute('LT1/AE/CV.3', 'current', -0.119 );
+        
+end
+test_modes(handles);
+
+
+
+
+        
+
+% --------------------------------------------------------------------
+function uipanel_central_mode_SelectionChangeFcn(hObject, eventdata, handles)
+% hObject    handle to uipanel_central_mode (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+mode=get(get(handles.uipanel_central_mode,'SelectedObject'),'Tag');
+%modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');
+modeinj='togglebutton_3Hz';
+
+h='Yes';
+if strcmp(mode,'continuous_mode')
+    if strcmp(modeinj,'togglebutton_3Hz')
+        h = questdlg('Attention, dÃ©clenchement continu des Ã©quipements sur adresses 1 2 3');
+    end
+end
+
+if strcmp(h,'Yes')
+    switch mode  % Get Tag of selected object
+        case 'burst_mode'
+            tango_command_inout2('ANS/SY/CENTRAL', 'SetBurstMode');
+        case 'continuous_mode'
+            tango_command_inout2('ANS/SY/CENTRAL', 'SetContinuousMode');
+    end
+end
+pause(1)
+test_modes(handles);
+
+% [etat_central]=test_central_mode(handles);
+% h='Yes';
+% if strcmp(etat_central,'Continu')
+%     h = questdlg('Attention, Trigger en mode continu');
+% end
+% if strcmp(h,'Yes')
+%     set(handles.button_injection_soft,'Enable','Off')
+%     set(handles.edit_modes,'String','Please WAIT !!!!')
+%     file='golden_rafale_3Hz.mat';
+%     load_synchro_rafale(file)
+%     set(handles.button_injection_soft,'Enable','On')
+%     test_modes(handles);
+% end
+
+
+function  [etat]=test_central_mode(handles)
+% Verifie le mode central selectionnÃÂ©  : rafale ou continue
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'currentMode');
+mode=temp.value;
+h=get(handles.uipanel_central_mode);
+switch mode  % Get Tag of selected object
+    case 'BURST'
+       set(handles.uipanel_central_mode,'SelectedObject',h.Children(2))
+       etat='Rafale';
+    case 'CONTINUOUS'
+       set(handles.uipanel_central_mode,'SelectedObject',h.Children(1))
+       etat='Continu';
+end
+
+function  [etat]=test_injection_mode(handles)
+% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz
+%temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareEvent');
+etat='3Hz';
+
+
+function  [etat]=test_lpm_spm_mode(handles)
+% Verifie le mode selectionnÃÂ© en SPM ou LPM
+temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent');
+modelpm=temp.value(1);
+temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent');
+modespm=temp.value(1);
+h=get(handles.uipanel_lpm_spm_mode);
+if     (modelpm==5)&(modespm==0) | (modelpm==2)&(modespm==0)
+    set(handles.uipanel_lpm_spm_mode,'SelectedObject',h.Children(2))
+    etat='LPM';
+elseif (modelpm==0)&(modespm==5) | (modelpm==0)&(modespm==2)
+    set(handles.uipanel_lpm_spm_mode,'SelectedObject',h.Children(1))
+    etat='SPM';
+else
+    set(handles.uipanel_lpm_spm_mode,'SelectedObject',h.Children(3))
+    etat='NONE';
+end
+
+function  [etat]=test_spm_mode(handles)
+% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets
+temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1', 'mode');
+mode=temp.value(1);
+h=get(handles.uipanel_spm_mode);
+select=h.Children(5-mode);
+set(handles.uipanel_spm_mode,'SelectedObject',select)
+etat=num2str(5-mode);
+
+function  [etat]=test_cond_inj(handles)
+% Verifie si tir autorise  (Grp fonctionnement)
+try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection
+    val=temp.value; catch val=1 ; end; if val~=0 ; val=1; end;
+if (val==1)
+    etat='TIR AUTORISE';
+else
+    etat='TIR NON AUTORISE';
+end
+
+
+function  test_modes(handles)
+% Verifie le mode central selectionnÃÂ©  : rafale ou continue
+[etat_central]=test_central_mode(handles);
+% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz
+[etat_injection]=test_injection_mode(handles);
+% Verifie le mode selectionnÃÂ© en SPM ou LPM
+[etat_linac]=test_lpm_spm_mode(handles);
+% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets
+[etat_linac_spm]=test_spm_mode(handles);
+% VÃ©rifie si injectio autorisee
+%[etat_inj]=test_cond_inj(handles);
+
+
+% txt=[etat_inj,'    ####     ', ...
+%      'CENTRAL : ',etat_central,'   #   INJECTION : ',etat_injection,'   #   LINAC : ',etat_linac];
+txt=['CENTRAL : ',etat_central,'   #   INJECTION : ',etat_injection,'   #   LINAC : ',etat_linac];
+set(handles.edit_modes,'String',txt)
+
+
+
+function edit_modes_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_modes (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_modes as text
+%        str2double(get(hObject,'String')) returns contents of edit_modes as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_modes_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_modes (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+function ans_k_pc_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_k_pc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_k_pc as text
+%        str2double(get(hObject,'String')) returns contents of ans_k_pc as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_k_pc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_k_pc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_k_h_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_k_h (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_k_h as text
+%        str2double(get(hObject,'String')) returns contents of ans_k_h as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_k_h_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_k_h (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_k_v_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_k_v (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_k_v as text
+%        str2double(get(hObject,'String')) returns contents of ans_k_v as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_k_v_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_k_v (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in button_kicker.
+function button_kicker_Callback(hObject, eventdata, handles)
+% hObject    handle to button_kicker (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hint: get(hObject,'Value') returns toggle state of button_kicker
+
+bpm=get(hObject,'Value');
+
+if (bpm==0)
+   set(handles.uipanel_kicker_machine,'Visible','off');
+elseif (bpm==1)
+    set(handles.uipanel_kicker_machine,'Visible','on');
+end
+
+
+% --- Executes on button press in button_save_golden_soft.
+function button_save_golden_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_golden_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h = questdlg('Attention, sauvegarde nouvelle golden !!!');
+
+if strcmp(h,'Yes')
+
+    DirName=handles.DirName;
+    [timing]=get_synchro_rafale(DirName);
+    % sauvegarde
+    file='golden_rafale_soft.mat';
+    %Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+    Directory=handles.Directory;
+    pwdold = pwd;
+    cd(Directory);
+    save(file, 'timing');
+    cd(pwdold);
+
+end
+
+
+% --- Executes on button press in button_load_golden_soft.
+function button_load_golden_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_golden_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+set(handles.button_injection_soft,'Enable','Off')
+set(handles.edit_modes,'String','Please WAIT !!!!')
+Directory=handles.Directory;
+DirName=handles.DirName;
+file='golden_rafale_soft.mat';
+load_synchro_rafale(Directory,file,DirName)
+set(handles.button_injection_soft,'Enable','On')
+test_modes(handles);
+
+
+% --- Executes on button press in button_load_golden_3Hz.
+function button_load_golden_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_golden_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+[etat_central]=test_central_mode(handles);
+h='Yes';
+if strcmp(etat_central,'Continu')
+    h = questdlg('Attention, Trigger en mode continu');
+end
+if strcmp(h,'Yes')
+    set(handles.button_injection_soft,'Enable','Off')
+    set(handles.edit_modes,'String','Please WAIT !!!!')
+    Directory=handles.Directory;
+    DirName=handles.DirName;
+    file='golden_rafale_3Hz.mat';
+    load_synchro_rafale(Directory,file,DirName)
+    set(handles.button_injection_soft,'Enable','On')
+    test_modes(handles);
+end
+
+% --- Executes on button press in button_save_golden_3Hz.
+function button_save_golden_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_golden_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h = questdlg('Attention, sauvegarde nouvelle golden !!!');
+
+if strcmp(h,'Yes')
+    
+    DirName=handles.DirName;
+    [timing]=get_synchro_rafale(DirName);
+    % sauvegarde
+    file='golden_rafale_3Hz.mat';
+    %Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+    Directory=handles.Directory;
+    pwdold = pwd;
+    cd(Directory);
+    save(file, 'timing');
+    cd(pwdold);
+
+end
+
+% --- Executes on button press in button_load_golden_3Hz_66MeV.
+function button_load_golden_3Hz_66MeV_Callback(hObject, eventdata, handles)
+% hObject    handle to button_load_golden_3Hz_66MeV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+[etat_central]=test_central_mode(handles);
+h='Yes';
+if strcmp(etat_central,'Continu')
+    h = questdlg('Attention, Trigger en mode continu');
+end
+if strcmp(h,'Yes')
+    set(handles.button_injection_soft,'Enable','Off')
+    set(handles.edit_modes,'String','Please WAIT !!!!')
+    Directory=handles.Directory;
+    DirName=handles.DirName;
+    file='golden_rafale_3Hz_66MeV.mat';
+    load_synchro_rafale(Directory,file,DirName)
+    set(handles.button_injection_soft,'Enable','On')
+    test_modes(handles);
+end
+
+
+% --- Executes on button press in button_save_golden_66MeV.
+function button_save_golden_66MeV_Callback(hObject, eventdata, handles)
+% hObject    handle to button_save_golden_66MeV (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+h = questdlg('Attention, sauvegarde nouvelle golden 66 MeV!!!');
+
+if strcmp(h,'Yes')
+
+    DirName=handles.DirName;
+    [timing]=get_synchro_rafale(DirName);
+    % sauvegarde
+    file='golden_rafale_3Hz_66MeV.mat';
+    %Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];
+    Directory=handles.Directory;
+    pwdold = pwd;
+    cd(Directory);
+    save(file, 'timing');
+    cd(pwdold);
+
+end
+
+
+
+function boo_mrsv_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_mrsv (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_mrsv as text
+%        str2double(get(hObject,'String')) returns contents of boo_mrsv as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceTimeDelay',delay);
+
+% --- Executes during object creation, after setting all properties.
+function boo_mrsv_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_mrsv (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function central_pc_Callback(hObject, eventdata, handles)
+% hObject    handle to central_pc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of central_pc as text
+%        str2double(get(hObject,'String')) returns contents of central_pc as a double
+
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function central_pc_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to central_pc (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function lin_alim_Callback(hObject, eventdata, handles)
+% hObject    handle to lin_alim (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of lin_alim as text
+%        str2double(get(hObject,'String')) returns contents of lin_alim as a double
+
+
+delay=str2double(get(hObject,'String'));
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'libre.1TimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function lin_alim_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to lin_alim (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function ans_nod_Callback(hObject, eventdata, handles)
+% hObject    handle to ans_nod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of ans_nod as text
+%        str2double(get(hObject,'String')) returns contents of ans_nod as a double
+
+ext_offset=str2double(get(handles.ext_offset,'String'));
+delay=str2double(get(hObject,'String'))+ext_offset;
+tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'perteTimeDelay',delay);
+
+
+% --- Executes during object creation, after setting all properties.
+function ans_nod_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to ans_nod (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function boo_alim_cp_Callback(hObject, eventdata, handles)
+% hObject    handle to boo_alim_cp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of boo_alim_cp as text
+%        str2double(get(hObject,'String')) returns contents of boo_alim_cp as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function boo_alim_cp_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to boo_alim_cp (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
Index: /trunk/machine/SOLEIL/common/synchro/synchro_rafale_mode_tests.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/synchro_rafale_mode_tests.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/synchro_rafale_mode_tests.m	(revision 17)
@@ -0,0 +1,584 @@
+function varargout = synchro_rafale_mode_tests(varargin)
+% SYNCHRO_RAFALE_MODE_TESTS M-file for synchro_rafale_mode_tests.fig
+%      SYNCHRO_RAFALE_MODE_TESTS, by itself, creates a new SYNCHRO_RAFALE_MODE_TESTS or raises the existing
+%      singleton*.
+%
+%      H = SYNCHRO_RAFALE_MODE_TESTS returns the handle to a new SYNCHRO_RAFALE_MODE_TESTS or the handle to
+%      the existing singleton*.
+%
+%      SYNCHRO_RAFALE_MODE_TESTS('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in SYNCHRO_RAFALE_MODE_TESTS.M with the given input arguments.
+%
+%      SYNCHRO_RAFALE_MODE_TESTS('Property','Value',...) creates a new SYNCHRO_RAFALE_MODE_TESTS or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before synchro_rafale_mode_tests_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to synchro_rafale_mode_tests_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help synchro_rafale_mode_tests
+
+% Last Modified by GUIDE v2.5 22-Feb-2007 16:58:02
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @synchro_rafale_mode_tests_OpeningFcn, ...
+                   'gui_OutputFcn',  @synchro_rafale_mode_tests_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before synchro_rafale_mode_tests is made visible.
+function synchro_rafale_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to synchro_rafale_mode_tests (see VARARGIN)
+
+
+set(handles.edit_etat, 'String','??');
+% Choose default command line output for synchro_rafale_mode_tests
+handles.output = hObject;
+
+% Choix des events
+handles.event0 =int32(0);
+handles.event00=int32(100);  %SpÃ©ciale EP
+
+% delais fixe en pas 
+handles.central_dec=int32(1664);
+handles.central_nodec=int32(95707);
+
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes synchro_rafale_mode_tests wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = synchro_rafale_mode_tests_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_linac_3Hz.
+function pushbutton_linac_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_linac_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+
+% Swap delai 5 et 2
+central_inj=handles.central_dec;
+central_soft=handles.central_nodec;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',290010);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',290020);
+
+% switch to 3Hz
+event=int32(2) ;% adresse de l'injection
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',     event); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',     event); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event0); pause(tout);
+%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',   event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',     event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',     event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',      event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent', event); pause(tout);
+% pas d'injection
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event0); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event0);
+% Pas d'extraction
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event0);pause(tout);
+arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([1 1 1 1])*event0;
+tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+
+arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([1 1])*event0;
+tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+
+pause(1)
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay', central_inj);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',central_soft);
+
+set(handles.edit_etat, 'String','LINAC = 3Hz');
+
+
+% --- Executes on button press in pushbutton_linac_soft.
+function pushbutton_linac_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_linac_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+% Swap delai 5 et 2
+central_inj=handles.central_nodec;
+central_soft=handles.central_dec;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',290010);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',290020);
+
+% switch to soft
+event=int32(5) ;% adresse de l'injection
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',      event); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent', event0); pause(tout);
+%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',    int32(1)); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent', event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',      event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',      event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',       event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',  event); pause(tout);
+% pas d'injection
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event0); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event0);
+% Pas d'extraction
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event0);pause(tout);
+arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([1 1 1 1])*event0;
+tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+
+arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([1 1])*event0;
+tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+
+pause(1)
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',central_inj);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',central_soft);
+
+set(handles.edit_etat, 'String','LINAC = Soft');
+
+% --- Executes on button press in pushbutton_linac_Off.
+function pushbutton_linac_Off_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_linac_Off (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+
+% switch to Off
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',     event0); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event0); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',   event0); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',event0); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',     event0); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',     event0); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',      event0); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent', event0); pause(tout);
+
+set(handles.edit_etat, 'String','LINAC = Off');
+
+
+% --- Executes on button press in pushbutton_boo_3Hz.
+function pushbutton_boo_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+
+% Swap delai 5 et 2
+central_inj=handles.central_dec;
+central_soft=handles.central_nodec;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',290010);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',290020);
+
+% switch to 3Hz
+event=int32(2) ;% adresse de l'injection
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);
+%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event);
+% pas d'extraction
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event0);pause(tout);
+arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([1 1 1 1])*event0;
+tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+
+arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([1 1])*event0;
+tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+
+pause(1)
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',central_inj);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',central_soft);
+
+set(handles.edit_etat, 'String','LINAC + BOO = 3Hz');
+
+
+% --- Executes on button press in pushbutton_boo_soft.
+function pushbutton_boo_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+% Swap delai 5 et 2
+central_inj=handles.central_nodec;
+central_soft=handles.central_dec;
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',290010);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',290020);
+
+% switch to soft
+event=int32(5) ;% adresse de l'injection
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);
+%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event); pause(tout);
+tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      int32(1)); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);
+tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event);
+% Pas d'extraction
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event0);pause(tout);
+tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event0);pause(tout);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event0);pause(tout);
+arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([1 1 1 1])*event0;
+tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+
+arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([1 1])*event0;
+tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+
+
+pause(1)
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',central_inj);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',central_soft);
+
+set(handles.edit_etat, 'String','LINAC + BOO = Soft');
+
+
+% --- Executes on button press in pushbutton_boo_off.
+function pushbutton_boo_off_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_off (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+    % switch to Off
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event0); pause(tout);     
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event0); pause(tout);
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',    event0);pause(tout);
+        
+
+set(handles.edit_etat, 'String','LINAC + BOO = Off');
+
+
+% --- Executes on button press in pushbutton_ans_3hz.
+function pushbutton_ans_3hz_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_3hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+%     % switch to 3Hz
+%         event=int32(2) ;% adresse de l'injection
+%         tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+%         tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      eint32(1)); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout); 
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',     event);
+%         event=int32(3) ;% adresse de extraction
+%         tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event);pause(tout);
+%         tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event);pause(tout);
+%         tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event);pause(tout);
+%         tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event);pause(tout);
+%         
+%         arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([3 3 3 3]); 
+%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+%        
+%         arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([3 3]); 
+%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+%         
+%         tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',    event);pause(tout);
+%         tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%     
+%     % special modulateur
+%         delay=inj_offset+0;
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+%         display('ok change soft to 3Hz')
+        
+       % special septum actif boo et ans
+%         r=(1+0.0004); 
+%         try
+%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);        
+%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r
+%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);  
+%         catch
+%             display('Erreur ajustement tension septa passif')
+%         end  
+
+
+%display('ok change address')
+
+set(handles.edit_etat, 'String','Aucune Action');
+
+
+% --- Executes on button press in pushbutton_ans_soft.
+function pushbutton_ans_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+    % switch to soft
+        event=int32(5) ;% adresse de l'injection
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      int32(1)); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout); 
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',     event);
+ 
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event);pause(tout);
+        arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([5 5 5 5]); 
+        tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© addresses sans update
+        tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+        
+        arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([5 5]); 
+        tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+        tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+        
+        tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',    int32(3));pause(tout);
+        tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);    
+        
+    % special modulateur
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay');pc=temp.value(1);
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');soft=temp.value(1);
+        delay=inj_offset+soft-pc;
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+        
+%      % special septum actif boo et ans
+%         r=(1-0.0004); 
+%         try
+%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);        
+%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r
+%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);  
+%         catch
+%             display('Erreur ajustement tension septa passif')
+%         end  
+        
+
+set(handles.edit_etat, 'String','LINAC + BOO + ANS = Soft');
+
+
+
+
+% --- Executes on button press in pushbutton_ans_off.
+function pushbutton_ans_off_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_off (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+set(handles.edit_etat, 'String','Aucune Action');
+
+function edit_etat_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_etat (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_etat as text
+%        str2double(get(hObject,'String')) returns contents of edit_etat as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_etat_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_etat (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/common/synchro/synchro_rafale_mode_tests1.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/synchro_rafale_mode_tests1.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/synchro_rafale_mode_tests1.m	(revision 17)
@@ -0,0 +1,552 @@
+function varargout = synchro_mode_tests(varargin)
+% SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig
+%      SYNCHRO_MODE_TESTS, by itself, creates a new SYNCHRO_MODE_TESTS or raises the existing
+%      singleton*.
+%
+%      H = SYNCHRO_MODE_TESTS returns the handle to a new SYNCHRO_MODE_TESTS or the handle to
+%      the existing singleton*.
+%
+%      SYNCHRO_MODE_TESTS('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in SYNCHRO_MODE_TESTS.M with the given input arguments.
+%
+%      SYNCHRO_MODE_TESTS('Property','Value',...) creates a new SYNCHRO_MODE_TESTS or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before synchro_mode_tests_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to synchro_mode_tests_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help synchro_mode_tests
+
+% Last Modified by GUIDE v2.5 22-Feb-2007 16:58:02
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @synchro_mode_tests_OpeningFcn, ...
+                   'gui_OutputFcn',  @synchro_mode_tests_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before synchro_mode_tests is made visible.
+function synchro_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to synchro_mode_tests (see VARARGIN)
+
+
+set(handles.edit_etat, 'String','??');
+% Choose default command line output for synchro_mode_tests
+handles.output = hObject;
+
+% Choix des events
+handles.event0 =int32(0);
+handles.event00=int32(100);  %SpÃ©ciale EP
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes synchro_mode_tests wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = synchro_mode_tests_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton_linac_3Hz.
+function pushbutton_linac_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_linac_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+
+    % switch to 3Hz
+        event=int32(2) ;% adresse de l'injection
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',     event); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',   event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',     event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',     event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',      event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent', event); pause(tout);
+   % pas d'injection
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event0);     
+        
+%     % special modulateur
+%         delay=inj_offset+0;
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+%         %display('ok change soft to 3Hz')
+        
+set(handles.edit_etat, 'String','LINAC = 3Hz');
+
+
+% --- Executes on button press in pushbutton_linac_soft.
+function pushbutton_linac_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_linac_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+% Swap delai 5 et 2 
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay');
+central_inj=temp.value(1);
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
+central_soft=temp.value(1);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay',290010);
+tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay',290020);
+    
+    % switch to soft
+        event=int32(5) ;% adresse de l'injection
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',      event); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent', event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent', event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',      event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',      event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',       event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',  event); pause(tout);
+   % pas d'injection
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event0);
+   % Pas d'extraction
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event0);pause(tout);
+%         arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([1 1 1 1])*event00; 
+%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+%         tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+%         
+%         arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([1 1])*event00; 
+%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+%         tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+    
+ tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',timing.central_soft);
+ tango_write_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay',timing.central_inj);       
+        
+%     % special modulateur
+%         temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay');pc=temp.value(1);
+%         temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');soft=temp.value(1);
+%         delay=inj_offset+soft-pc;
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+%         %display('ok change 3Hz to soft')
+
+set(handles.edit_etat, 'String','LINAC = Soft');
+
+% --- Executes on button press in pushbutton_linac_Off.
+function pushbutton_linac_Off_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_linac_Off (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+
+    % switch to Off
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',     event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',   event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',     event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',     event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',      event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent', event0); pause(tout);
+
+set(handles.edit_etat, 'String','LINAC = Off');
+
+
+% --- Executes on button press in pushbutton_boo_3Hz.
+function pushbutton_boo_3Hz_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_3Hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+    % switch to 3Hz
+        event=int32(2) ;% adresse de l'injection
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);
+        %tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout); 
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event);
+        % pas d'extraction
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event0);pause(tout);
+        arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([1 1 1 1])*event00; 
+        tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+        tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+        
+        arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([1 1])*event00; 
+        tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+        tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+        
+%      % special modulateur
+%         delay=inj_offset+0;
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+%         display('ok change soft to 3Hz')
+
+set(handles.edit_etat, 'String','LINAC + BOO = 3Hz');
+
+
+% --- Executes on button press in pushbutton_boo_soft.
+function pushbutton_boo_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+    % switch to soft
+        event=int32(5) ;% adresse de l'injection
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);
+        %tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      int32(1)); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout); 
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event);
+        % Pas d'extraction
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event0);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event0);pause(tout);
+        arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([1 1 1 1])*event00; 
+        tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+        tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+        
+        arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([1 1])*event00; 
+        tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+        tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+
+        
+    % special modulateur
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay');pc=temp.value(1);
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');soft=temp.value(1);
+        delay=inj_offset+soft-pc;
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+        
+
+set(handles.edit_etat, 'String','LINAC + BOO = Soft');
+
+
+% --- Executes on button press in pushbutton_boo_off.
+function pushbutton_boo_off_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_off (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+    % switch to Off
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event0); pause(tout);     
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event0); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent',event0); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',    event0); pause(tout);
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event0);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',    event0);pause(tout);
+        
+
+set(handles.edit_etat, 'String','LINAC + BOO = Off');
+
+
+% --- Executes on button press in pushbutton_ans_3hz.
+function pushbutton_ans_3hz_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_3hz (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+%     % switch to 3Hz
+%         event=int32(2) ;% adresse de l'injection
+%         tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+%         tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      eint32(1)); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout); 
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);
+%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',     event);
+%         event=int32(3) ;% adresse de extraction
+%         tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event);pause(tout);
+%         tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event);pause(tout);
+%         tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event);pause(tout);
+%         tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event);pause(tout);
+%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event);pause(tout);
+%         
+%         arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([3 3 3 3]); 
+%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+%        
+%         arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([3 3]); 
+%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+%         
+%         tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',    event);pause(tout);
+%         tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+%         tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%         tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+%     
+%     % special modulateur
+%         delay=inj_offset+0;
+%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+%         display('ok change soft to 3Hz')
+        
+       % special septum actif boo et ans
+%         r=(1+0.0004); 
+%         try
+%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);        
+%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r
+%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);  
+%         catch
+%             display('Erreur ajustement tension septa passif')
+%         end  
+
+
+%display('ok change address')
+
+set(handles.edit_etat, 'String','Aucune Action');
+
+
+% --- Executes on button press in pushbutton_ans_soft.
+function pushbutton_ans_soft_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_soft (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+load('synchro_offset_lin', 'inj_offset' , 'ext_offset', 'lin_fin');
+tout=0.;
+event0=handles.event0;
+event00=handles.event00;
+
+    % switch to soft
+        event=int32(5) ;% adresse de l'injection
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      int32(1)); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout); 
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);
+        tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',     event);
+ 
+        tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event);pause(tout);
+        tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event);pause(tout);
+        tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event);pause(tout);
+        arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([5 5 5 5]); 
+        tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© addresses sans update
+        tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');
+        
+        arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([5 5]); 
+        tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update
+        tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');
+        
+        tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',    int32(3));pause(tout);
+        tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);
+        tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);  
+        tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);    
+        
+    % special modulateur
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay');pc=temp.value(1);
+        temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');soft=temp.value(1);
+        delay=inj_offset+soft-pc;
+        tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);
+
+        
+%      % special septum actif boo et ans
+%         r=(1-0.0004); 
+%         try
+%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r
+%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);        
+%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r
+%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);  
+%         catch
+%             display('Erreur ajustement tension septa passif')
+%         end  
+        
+
+set(handles.edit_etat, 'String','LINAC + BOO + ANS = Soft');
+
+
+
+
+% --- Executes on button press in pushbutton_ans_off.
+function pushbutton_ans_off_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_off (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+set(handles.edit_etat, 'String','Aucune Action');
+
+function edit_etat_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_etat (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_etat as text
+%        str2double(get(hObject,'String')) returns contents of edit_etat as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_etat_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_etat (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/common/synchro/synchro_survey.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/synchro_survey.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/synchro_survey.m	(revision 17)
@@ -0,0 +1,949 @@
+function varargout = synchro_survey(varargin)
+% SYNCHRO_SURVEY M-file for synchro_survey.fig
+%      SYNCHRO_SURVEY, by itself, creates a new SYNCHRO_SURVEY or raises the existing
+%      singleton*.
+%
+%      H = SYNCHRO_SURVEY returns the handle to a new SYNCHRO_SURVEY or the handle to
+%      the existing singleton*.
+%
+%      SYNCHRO_SURVEY('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in SYNCHRO_SURVEY.M with the given input arguments.
+%
+%      SYNCHRO_SURVEY('Property','Value',...) creates a new SYNCHRO_SURVEY or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before synchro_survey_OpeningFunction gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to synchro_survey_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help synchro_survey
+
+% Last Modified by GUIDE v2.5 20-Jun-2007 16:05:42
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @synchro_survey_OpeningFcn, ...
+                   'gui_OutputFcn',  @synchro_survey_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before synchro_survey is made visible.
+function synchro_survey_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to synchro_survey (see VARARGIN)
+
+% Choose default command line output for synchro_survey
+handles.output = hObject;
+
+pushbutton_get_status_Callback(hObject, eventdata, handles)
+
+% Update handles structure
+guidata(hObject, handles);
+
+% UIWAIT makes synchro_survey wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = synchro_survey_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+
+function edit_LIN_lpm_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_LIN_lpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_LIN_lpm as text
+%        str2double(get(hObject,'String')) returns contents of edit_LIN_lpm as a double
+
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_LIN_lpm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_LIN_lpm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_lt1_reset_get_status.
+function pushbutton_get_status_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_reset_get_status (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+bug_device='Bug accÃšs device';
+n=30;
+
+
+try
+    temp=tango_read_attribute2('ANS/SY/CENTRAL','State');
+    temp=tango_read_attribute2('ANS/SY/CENTRAL','Status');txt=temp.value;[txt, color]=state_txt(txt);
+catch
+    txt=bug_device;
+    color='red';
+end
+set(handles.edit_central, 'String',txt);
+set(handles.edit_central,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1','State');
+    temp=tango_read_attribute2('LIN/SY/LOCAL.SPM.1','Status');txt=temp.value;[txt, color]=state_txt(txt);
+catch
+    txt=bug_device;
+    color='red';
+end
+set(handles.edit_LIN_spm, 'String',txt);
+set(handles.edit_LIN_spm,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1','State');
+    temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1','Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1','Status'); txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_LIN_lpm, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_LIN_lpm,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1','State');
+    temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1','Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.DG.1','Status');  txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_BOO_Binj, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_BOO_Binj,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('BOO/SY/LOCAL.Alim.1',  'State');
+    temp=tango_read_attribute2('BOO/SY/LOCAL.Alim.1',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1',  'Status');  txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_BOO_Alim, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_BOO_Alim,'BackgroundColor',color);
+
+
+try
+    temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'State');
+    temp=tango_read_attribute2('BOO/SY/LOCAL.DG.3', 'Status');txt=temp.value;[txt, color]=state_txt(txt);
+catch
+    txt=bug_device;
+    color='red';
+end
+set(handles.edit_BOO_DG3, 'String',txt);
+set(handles.edit_BOO_DG3,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1',  'State');
+    temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('BOO/SY/LOCAL.DG.2', 'Status');   txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_BOO_Bext, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_BOO_Bext,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'State');
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.1', 'Status');  txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;
+    txt2=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_Ainj1, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_ANS_Ainj1,'BackgroundColor',color); 
+
+try
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2',  'State');
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1',  'Status');  txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_Ainj2, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_ANS_Ainj2, 'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2',  'State');
+    temp=tango_read_attribute2('ANS-C01/SY/LOCAL.DG.2',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C16/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt2, color]=state_txt(txt);
+    temp=tango_read_attribute2('LT2/SY/LOCAL.DG.2',  'Status');    txt=temp.value;[txt3, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;txt3=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_C01, 'String',[txt1 '  +  ' txt2 '  +  ' txt3]);
+set(handles.edit_ANS_C01,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1',  'State');
+    temp=tango_read_attribute2('ANS-C02/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C03/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_C03, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_ANS_C03,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1',  'State');
+    temp=tango_read_attribute2('ANS-C05/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C04/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_C05, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_ANS_C05,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'State');
+    temp=tango_read_attribute2('ANS-C07/SY/LOCAL.DG.1', 'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C06/SY/LOCAL.DG.1', 'Status');txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_C07, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_ANS_C07,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1',  'State');
+    temp=tango_read_attribute2('ANS-C09/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C08/SY/LOCAL.DG.1', 'Status'); txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_C09, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_ANS_C09,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'State');
+    temp=tango_read_attribute2('ANS-C11/SY/LOCAL.DG.1', 'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C10/SY/LOCAL.DG.1', 'Status');txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_C11, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_ANS_C11,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1',  'State');
+    temp=tango_read_attribute2('ANS-C13/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C12/SY/LOCAL.DG.1', 'Status'); txt=temp.value;[txt2, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_C13, 'String',[txt1 '  +  ' txt2]);
+set(handles.edit_ANS_C13,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1',  'State');
+    temp=tango_read_attribute2('ANS-C15/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt1, color]=state_txt(txt);
+    temp=tango_read_attribute2('ANS-C14/SY/LOCAL.DG.1',  'Status');txt=temp.value;[txt2, color]=state_txt(txt);
+    temp=tango_read_attribute2('LT2/SY/LOCAL.DG.1',  'Status');    txt=temp.value;[txt3, color]=state_txt(txt);
+catch
+    txt1=bug_device;txt2=bug_device;txt3=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_C15, 'String',[txt1 '  +  ' txt2 '  +  ' txt3]);
+set(handles.edit_ANS_C15,'BackgroundColor',color);
+
+try
+    temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1',  'State');
+    temp=tango_read_attribute2('ANS/SY/LOCAL.SDC.1',  'Status');txt=temp.value;[txt, color]=state_txt(txt);
+catch
+    txt=bug_device;
+    color='red';
+end
+set(handles.edit_ANS_SDC, 'String',txt);
+set(handles.edit_ANS_SDC,'BackgroundColor',color);
+
+function edit_BOO_Binj_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_BOO_Binj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_BOO_Binj as text
+%        str2double(get(hObject,'String')) returns contents of edit_BOO_Binj as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_BOO_Binj_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_BOO_Binj (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_BOO_Alim_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_BOO_Alim (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_BOO_Alim as text
+%        str2double(get(hObject,'String')) returns contents of edit_BOO_Alim as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_BOO_Alim_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_BOO_Alim (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_BOO_DG3_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_BOO_DG3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_BOO_DG3 as text
+%        str2double(get(hObject,'String')) returns contents of edit_BOO_DG3 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_BOO_DG3_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_BOO_DG3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_BOO_Bext_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_BOO_Bext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_BOO_Bext as text
+%        str2double(get(hObject,'String')) returns contents of edit_BOO_Bext as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_BOO_Bext_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_BOO_Bext (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_Ainj1_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_Ainj1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_Ainj1 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_Ainj1 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_Ainj1_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_Ainj1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_Ainj2_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_Ainj2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_Ainj2 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_Ainj2 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_Ainj2_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_Ainj2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_C01_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C01 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_C01 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_C01 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_C01_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C01 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_C03_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C03 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_C03 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_C03 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_C03_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C03 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_C05_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C05 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_C05 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_C05 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_C05_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C05 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_C07_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C07 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_C07 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_C07 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_C07_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C07 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_C09_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C09 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_C09 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_C09 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_C09_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C09 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_C11_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_C11 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_C11 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_C11_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C11 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_C13_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_C13 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_C13 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_C13_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C13 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_C15_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_C15 as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_C15 as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_C15_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_C15 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_ANS_SDC_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_SDC (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_ANS_SDC as text
+%        str2double(get(hObject,'String')) returns contents of edit_ANS_SDC as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_ANS_SDC_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_ANS_SDC (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+
+function edit_LIN_spm_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_LIN_spm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_LIN_spm as text
+%        str2double(get(hObject,'String')) returns contents of edit_LIN_spm as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_LIN_spm_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_LIN_spm (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
+% --- Executes on button press in pushbutton_lt1_reset_Update.
+function pushbutton_Update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_reset_Update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+do_update
+
+% --- Executes on button press in pushbutton_lt1_reset_special.
+function pushbutton_special_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_reset_special (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+event=int32(1);
+att ='libre.1Event';
+tango_write_attribute2('LT1/SY/LOCAL.DG.1',att,event);
+tango_write_attribute2('ANS/SY/LOCAL.SDC.1',att,event);
+tango_write_attribute2('BOO/SY/LOCAL.Binj.1',att,event);
+tango_write_attribute2('BOO/SY/LOCAL.RF.1',att,event);
+tango_write_attribute2('BOO/SY/LOCAL.DG.3',att,event);
+tango_write_attribute2('BOO/SY/LOCAL.Bext.1',att,event);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1',att,event);
+tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.2',att,event);
+tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1',att,event);
+att ='spareEvent';
+tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1',att,event);
+tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1',att,event);
+tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1',att,event);
+tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1',att,event);
+tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1',att,event);
+tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1',att,event);
+
+
+% --- Executes on button press in pushbutton_lt1_reset_lin1_reset.
+function pushbutton_lin1_reset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_reset_lin1_reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('LIN/SY/LOCAL.SPM.1','Reset')
+
+% --- Executes on button press in pushbutton_lt1_reset_lin1_update.
+function pushbutton_lin1_update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_reset_lin1_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('LIN/SY/LOCAL.SPM.1','Update')
+
+% --- Executes on button press in pushbutton_lt1_reset_lin1_atk.
+function pushbutton_lin1_atk_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_reset_lin1_atk (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+system('atkpanel LIN/SY/LOCAL.SPM.1 &')
+
+
+% --- Executes on button press in pushbutton_lt1_reset.
+function pushbutton_lt1_reset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('LT1/SY/LOCAL.DG.1', 'Reset')
+
+
+% --- Executes on button press in pushbutton_lt1_update.
+function pushbutton_lt1_update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('LT1/SY/LOCAL.DG.1', 'Update')
+
+
+% --- Executes on button press in pushbutton_lt1_atk.
+function pushbutton_lt1_atk_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_lt1_atk (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+system('atkpanel LIN/SY/LOCAL.LPM.1 &')
+system('atkpanel LT1/SY/LOCAL.DG.1 &')
+
+
+% --- Executes on button press in pushbutton_boo_binj_reset.
+function pushbutton_boo_binj_reset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_binj_reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('BOO/SY/LOCAL.Binj.1',  'Reset')
+
+
+% --- Executes on button press in pushbutton_boo_binj_update.
+function pushbutton_boo_binj_update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_binj_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('BOO/SY/LOCAL.Binj.1',  'Update')
+
+
+% --- Executes on button press in pushbutton_boo_binj_atk.
+function pushbutton_boo_binj_atk_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_binj_atk (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+system('atkpanel BOO/SY/LOCAL.DG.1 &')
+system('atkpanel BOO/SY/LOCAL.Binj.1 &')
+
+% --- Executes on button press in pushbutton_boo_alim_reset.
+function pushbutton_boo_alim_reset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_alim_reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('BOO/SY/LOCAL.Alim.1',  'Reset')
+
+% --- Executes on button press in pushbutton_boo_alim_update.
+function pushbutton_boo_alim_update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_alim_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('BOO/SY/LOCAL.Alim.1',  'Update')
+
+
+% --- Executes on button press in pushbutton_boo_alim_atk.
+function pushbutton_boo_alim_atk_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_alim_atk (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+system('atkpanel BOO/SY/LOCAL.Alim.1 &')
+system('atkpanel BOO/SY/LOCAL.RF.1 &')
+
+
+% --- Executes on button press in pushbutton_boo_dg3_reset.
+function pushbutton_boo_dg3_reset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_dg3_reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('BOO/SY/LOCAL.DG.3', 'Reset')
+
+% --- Executes on button press in pushbutton_boo_dg3_update.
+function pushbutton_boo_dg3_update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_dg3_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('BOO/SY/LOCAL.DG.3', 'Update')
+
+% --- Executes on button press in pushbutton_boo_dg3_atk.
+function pushbutton_boo_dg3_atk_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_dg3_atk (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+system('atkpanel BOO/SY/LOCAL.DG.3 &')
+
+% --- Executes on button press in pushbutton_boo_bext_reset.
+function pushbutton_boo_bext_reset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_bext_reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('BOO/SY/LOCAL.Bext.1',  'Reset')
+
+% --- Executes on button press in pushbutton_boo_bext_update.
+function pushbutton_boo_bext_update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_bext_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('BOO/SY/LOCAL.Bext.1',  'Update')
+
+% --- Executes on button press in pushbutton_boo_bext_atk.
+function pushbutton_boo_bext_atk_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_boo_bext_atk (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+system('atkpanel BOO/SY/LOCAL.Bext.1 &')
+system('atkpanel BOO/SY/LOCAL.DG.2 &')
+
+% --- Executes on button press in pushbutton_ans_ainj_reset.
+function pushbutton_ans_ainj_reset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_ainj_reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Reset')
+
+% --- Executes on button press in pushbutton_ans_ainj_update.
+function pushbutton_ans_ainj_update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_ainj_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update')
+
+
+% --- Executes on button press in pushbutton_ans_ainj_atk.
+function pushbutton_ans_ainj_atk_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_ainj_atk (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+system('atkpanel ANS-C01/SY/LOCAL.Ainj.1 &')
+system('atkpanel ANS-C01/SY/LOCAL.DG.1 &')
+
+% --- Executes on button press in pushbutton_ans_ainj2_reset.
+function pushbutton_ans_ainj2_reset_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_ainj2_reset (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2',  'Reset')
+
+
+% --- Executes on button press in pushbutton26.
+function pushbutton26_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton26 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2',  'Update')
+
+% --- Executes on button press in pushbutton_ans_ainj2_atk.
+function pushbutton_ans_ainj2_atk_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_ainj2_atk (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+system('atkpanel ANS-C01/SY/LOCAL.Ainj.2 &')
+system('atkpanel ANS-C01/SY/LOCAL.DG.2 &')
+
+% --- Executes on button press in pushbutton_ans_ainj2_update.
+function pushbutton_ans_ainj2_update_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton_ans_ainj2_update (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+
+function edit_central_Callback(hObject, eventdata, handles)
+% hObject    handle to edit_central (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Hints: get(hObject,'String') returns contents of edit_central as text
+%        str2double(get(hObject,'String')) returns contents of edit_central as a double
+
+
+% --- Executes during object creation, after setting all properties.
+function edit_central_CreateFcn(hObject, eventdata, handles)
+% hObject    handle to edit_central (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    empty - handles not created until after all CreateFcns called
+
+% Hint: edit controls usually have a white background on Windows.
+%       See ISPC and COMPUTER.
+if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
+    set(hObject,'BackgroundColor','white');
+end
+
+
Index: /trunk/machine/SOLEIL/common/synchro/synchro_table.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/synchro_table.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/synchro_table.m	(revision 17)
@@ -0,0 +1,14 @@
+%tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');
+
+temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
+offset=temp.value(1)*52;
+
+bunch=[1 105 209 313];
+[dtour,dpaquet]=bucketnumber(bunch);
+dtour
+table=int32([length(bunch) dtour dpaquet]);
+tango_command_inout('ANS/SY/CENTRAL','SetTables',table)
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
+n=temp.value;
+temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
+temp.value(1:n)-offset
Index: /trunk/machine/SOLEIL/common/synchro/tablesynchro.m
===================================================================
--- /trunk/machine/SOLEIL/common/synchro/tablesynchro.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/synchro/tablesynchro.m	(revision 17)
@@ -0,0 +1,20 @@
+% tables synchro
+
+
+clear bunch
+paquet=1;
+bunch(1)=1;
+p=0;
+tab=[0 0];
+for i=1:52
+    
+   paquet=paquet+184;
+   if (paquet>416)
+       paquet=paquet-416;
+       p=p+1;
+   end    
+   bunch(i+1)=paquet;
+   tab=[tab ; i p ]
+end
+bunch
+tab
Index: /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/demo/fminsearchcon_demo.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/demo/fminsearchcon_demo.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/demo/fminsearchcon_demo.m	(revision 17)
@@ -0,0 +1,61 @@
+%% Optimization of a simple (Rosenbrock) function
+rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+
+% With no constraints, operation simply passes through
+% directly to fminsearch. The solution should be [1 1]
+xsol = fminsearchcon(rosen,[3 3])
+
+%% Only lower bound constraints
+xsol = fminsearchcon(rosen,[3 3],[2 2])
+
+%% Only upper bound constraints
+xsol = fminsearchcon(rosen,[-5 -5],[],[0 0])
+
+%% Dual constraints
+xsol = fminsearchcon(rosen,[2.5 2.5],[2 2],[3 3])
+
+%% Mixed constraints
+xsol = fminsearchcon(rosen,[0 0],[2 -inf],[inf 3])
+
+%% Fix a variable as constant, x(2) == 3
+fminsearchcon(rosen,[3 3],[-inf 3],[inf,3])
+
+%% Linear inequality, x(1) + x(2) <= 1
+fminsearchcon(rosen,[0 0],[],[],[1 1],1)
+
+%% Nonlinear inequality, norm(x) <= 1
+fminsearchcon(rosen,[0 0],[],[],[],[],@(x) norm(x) - 1)
+
+%% Minimize a linear objective, subject to a nonlinear constraints.
+fun = @(x) x*[-2;1];
+nonlcon = @(x) [norm(x) - 1;sin(sum(x))];
+fminsearchcon(fun,[0 0],[],[],[],[],nonlcon)
+
+%% Provide your own fminsearch options
+opts = optimset('fminsearch');
+opts.Display = 'iter';
+opts.TolX = 1.e-12;
+opts.MaxFunEvals = 100;
+
+n = [10,5];
+H = randn(n);
+H=H'*H;
+Quadraticfun = @(x) x*H*x';
+
+% Global minimizer is at [0 0 0 0 0].
+% Set all lower bound constraints, all of which will
+% be active in this test.
+LB = [.5 .5 .5 .5 .5];
+xsol = fminsearchcon(Quadraticfun,[1 2 3 4 5],LB,[],[],[],[],opts)
+
+%% Exactly fix one variable, constrain some others, and set a tolerance
+opts = optimset('fminsearch');
+opts.TolFun = 1.e-12;
+
+LB = [-inf 2 1 -10];
+UB = [ inf  inf 1  inf];
+xsol = fminsearchcon(@(x) norm(x),[1 3 1 1],LB,UB,[],[],[],opts)
+
+%% All the standard outputs from fminsearch are still returned
+[xsol,fval,exitflag,output] = fminsearchcon(@(x) norm(x),[1 3 1 1],LB,UB)
+
Index: /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/demo/html/fminsearchcon_demo.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/demo/html/fminsearchcon_demo.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/demo/html/fminsearchcon_demo.html	(revision 17)
@@ -0,0 +1,342 @@
+<html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+   
+      <!--
+This HTML is auto-generated from an M-file.
+To make changes, update the M-file and republish this document.
+      -->
+      <title>fminsearchcon_demo</title>
+      <meta name="generator" content="MATLAB 7.0.1">
+      <meta name="date" content="2006-12-16">
+      <meta name="m-file" content="fminsearchcon_demo"><style>
+body {
+  background-color: white;
+  margin:10px;
+}
+h1 {
+  color: #990000; 
+  font-size: x-large;
+}
+h2 {
+  color: #990000;
+  font-size: medium;
+}
+p.footer {
+  text-align: right;
+  font-size: xx-small;
+  font-weight: lighter;
+  font-style: italic;
+  color: gray;
+}
+
+pre.codeinput {
+  margin-left: 30px;
+}
+
+span.keyword {color: #0000FF}
+span.comment {color: #228B22}
+span.string {color: #A020F0}
+span.untermstring {color: #B20000}
+span.syscmd {color: #B28C00}
+
+pre.showbuttons {
+  margin-left: 30px;
+  border: solid black 2px;
+  padding: 4px;
+  background: #EBEFF3;
+}
+
+pre.codeoutput {
+  color: gray;
+  font-style: italic;
+}
+pre.error {
+  color: red;
+}
+
+/* Make the text shrink to fit narrow windows, but not stretch too far in 
+wide windows.  On Gecko-based browsers, the shrink-to-fit doesn't work. */ 
+p,h1,h2,div {
+  /* for MATLAB's browser */
+  width: 600px;
+  /* for Mozilla, but the "width" tag overrides it anyway */
+  max-width: 600px;
+  /* for IE */
+  width:expression(document.body.clientWidth > 620 ? "600px": "auto" );
+}
+
+    </style></head>
+   <body>
+      <h2>Contents</h2>
+      <div>
+         <ul>
+            <li><a href="#1">Optimization of a simple (Rosenbrock) function</a></li>
+            <li><a href="#2">Only lower bound constraints</a></li>
+            <li><a href="#3">Only upper bound constraints</a></li>
+            <li><a href="#4">Dual constraints</a></li>
+            <li><a href="#5">Mixed constraints</a></li>
+            <li><a href="#6">Fix a variable as constant, x(2) == 3</a></li>
+            <li><a href="#7">Linear inequality, x(1) + x(2) &lt;= 1</a></li>
+            <li><a href="#8">Nonlinear inequality, norm(x) &lt;= 1</a></li>
+            <li><a href="#9">Minimize a linear objective, subject to a nonlinear constraints.</a></li>
+            <li><a href="#10">Provide your own fminsearch options</a></li>
+            <li><a href="#11">Exactly fix one variable, constrain some others, and set a tolerance</a></li>
+            <li><a href="#12">All the standard outputs from fminsearch are still returned</a></li>
+         </ul>
+      </div>
+      <h2>Optimization of a simple (Rosenbrock) function<a name="1"></a></h2><pre class="codeinput">rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+
+<span class="comment">% With no constraints, operation simply passes through</span>
+<span class="comment">% directly to fminsearch. The solution should be [1 1]</span>
+xsol = fminsearchcon(rosen,[3 3])
+</pre><pre class="codeoutput">
+xsol =
+
+      0.99998      0.99995
+
+</pre><h2>Only lower bound constraints<a name="2"></a></h2><pre class="codeinput">xsol = fminsearchcon(rosen,[3 3],[2 2])
+</pre><pre class="codeoutput">
+xsol =
+
+            2            4
+
+</pre><h2>Only upper bound constraints<a name="3"></a></h2><pre class="codeinput">xsol = fminsearchcon(rosen,[-5 -5],[],[0 0])
+</pre><pre class="codeoutput">
+xsol =
+
+  -1.0447e-13  -1.4451e-08
+
+</pre><h2>Dual constraints<a name="4"></a></h2><pre class="codeinput">xsol = fminsearchcon(rosen,[2.5 2.5],[2 2],[3 3])
+</pre><pre class="codeoutput">
+xsol =
+
+            2            3
+
+</pre><h2>Mixed constraints<a name="5"></a></h2><pre class="codeinput">xsol = fminsearchcon(rosen,[0 0],[2 -inf],[inf 3])
+</pre><pre class="codeoutput">
+xsol =
+
+            2            3
+
+</pre><h2>Fix a variable as constant, x(2) == 3<a name="6"></a></h2><pre class="codeinput">fminsearchcon(rosen,[3 3],[-inf 3],[inf,3])
+</pre><pre class="codeoutput">
+ans =
+
+       1.7314            3
+
+</pre><h2>Linear inequality, x(1) + x(2) &lt;= 1<a name="7"></a></h2><pre class="codeinput">fminsearchcon(rosen,[0 0],[],[],[1 1],1)
+</pre><pre class="codeoutput">
+ans =
+
+       0.6187       0.3813
+
+</pre><h2>Nonlinear inequality, norm(x) &lt;= 1<a name="8"></a></h2><pre class="codeinput">fminsearchcon(rosen,[0 0],[],[],[],[],@(x) norm(x) - 1)
+</pre><pre class="codeoutput">
+ans =
+
+      0.78633      0.61778
+
+</pre><h2>Minimize a linear objective, subject to a nonlinear constraints.<a name="9"></a></h2><pre class="codeinput">fun = @(x) x*[-2;1];
+nonlcon = @(x) [norm(x) - 1;sin(sum(x))];
+fminsearchcon(fun,[0 0],[],[],[],[],nonlcon)
+</pre><pre class="codeoutput">
+ans =
+
+      0.70707     -0.70713
+
+</pre><h2>Provide your own fminsearch options<a name="10"></a></h2><pre class="codeinput">opts = optimset(<span class="string">'fminsearch'</span>);
+opts.Display = <span class="string">'iter'</span>;
+opts.TolX = 1.e-12;
+opts.MaxFunEvals = 100;
+
+n = [10,5];
+H = randn(n);
+H=H'*H;
+Quadraticfun = @(x) x*H*x';
+
+<span class="comment">% Global minimizer is at [0 0 0 0 0].</span>
+<span class="comment">% Set all lower bound constraints, all of which will</span>
+<span class="comment">% be active in this test.</span>
+LB = [.5 .5 .5 .5 .5];
+xsol = fminsearchcon(Quadraticfun,[1 2 3 4 5],LB,[],[],[],[],opts)
+</pre><pre class="codeoutput"> 
+ Iteration   Func-count     min f(x)         Procedure
+     0            1          351.442         
+     1            6          351.442         initial simplex
+     2            8          296.007         expand
+     3            9          296.007         reflect
+     4           10          296.007         reflect
+     5           11          296.007         reflect
+     6           13          248.853         expand
+     7           15          209.119         expand
+     8           16          209.119         reflect
+     9           17          209.119         reflect
+    10           19          171.673         expand
+    11           21          132.166         expand
+    12           22          132.166         reflect
+    13           23          132.166         reflect
+    14           24          132.166         reflect
+    15           25          132.166         reflect
+    16           27          129.206         reflect
+    17           28          129.206         reflect
+    18           30          124.943         reflect
+    19           32          124.943         contract inside
+    20           34          123.809         reflect
+    21           36          107.233         expand
+    22           38          107.233         contract outside
+    23           39          107.233         reflect
+    24           41          98.5266         expand
+    25           42          98.5266         reflect
+    26           44          94.0621         expand
+    27           46          87.7403         expand
+    28           48          86.0587         reflect
+    29           49          86.0587         reflect
+    30           50          86.0587         reflect
+    31           51          86.0587         reflect
+    32           53          85.8138         reflect
+    33           55          85.8138         contract inside
+    34           57          73.0352         expand
+    35           59          73.0352         contract inside
+    36           60          73.0352         reflect
+    37           61          73.0352         reflect
+    38           62          73.0352         reflect
+    39           64          64.9347         expand
+    40           66          62.3724         expand
+    41           68          62.3126         reflect
+    42           69          62.3126         reflect
+    43           71          57.2349         reflect
+    44           73           49.999         expand
+    45           74           49.999         reflect
+    46           75           49.999         reflect
+    47           76           49.999         reflect
+    48           78          48.1326         reflect
+    49           79          48.1326         reflect
+    50           81          48.1326         contract inside
+    51           83          46.1196         reflect
+    52           85          46.1196         contract inside
+    53           87          43.1862         reflect
+    54           88          43.1862         reflect
+    55           90          43.1862         contract inside
+    56           91          43.1862         reflect
+    57           92          43.1862         reflect
+    58           94          42.6876         reflect
+    59           95          42.6876         reflect
+    60           97          42.6876         contract outside
+    61           99          41.6298         reflect
+    62          100          41.6298         reflect
+ 
+Exiting: Maximum number of function evaluations has been exceeded
+         - increase MaxFunEvals option.
+         Current function value: 41.629797 
+
+
+xsol =
+
+        1.652      0.54831       2.4744       1.2291      0.56971
+
+</pre><h2>Exactly fix one variable, constrain some others, and set a tolerance<a name="11"></a></h2><pre class="codeinput">opts = optimset(<span class="string">'fminsearch'</span>);
+opts.TolFun = 1.e-12;
+
+LB = [-inf 2 1 -10];
+UB = [ inf  inf 1  inf];
+xsol = fminsearchcon(@(x) norm(x),[1 3 1 1],LB,UB,[],[],[],opts)
+</pre><pre class="codeoutput">
+xsol =
+
+  -4.9034e-07            2            1   5.1394e-07
+
+</pre><h2>All the standard outputs from fminsearch are still returned<a name="12"></a></h2><pre class="codeinput">[xsol,fval,exitflag,output] = fminsearchcon(@(x) norm(x),[1 3 1 1],LB,UB)
+</pre><pre class="codeoutput">
+xsol =
+
+   3.1094e-05            2            1  -5.1706e-05
+
+
+fval =
+
+       2.2361
+
+
+exitflag =
+
+     1
+
+
+output = 
+
+    iterations: 77
+     funcCount: 138
+     algorithm: 'Nelder-Mead simplex direct search'
+       message: [1x194 char]
+
+</pre><p class="footer"><br>
+         Published with MATLAB&reg; 7.0.1<br></p>
+      <!--
+##### SOURCE BEGIN #####
+%% Optimization of a simple (Rosenbrock) function
+rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+
+% With no constraints, operation simply passes through
+% directly to fminsearch. The solution should be [1 1]
+xsol = fminsearchcon(rosen,[3 3])
+
+%% Only lower bound constraints
+xsol = fminsearchcon(rosen,[3 3],[2 2])
+
+%% Only upper bound constraints
+xsol = fminsearchcon(rosen,[-5 -5],[],[0 0])
+
+%% Dual constraints
+xsol = fminsearchcon(rosen,[2.5 2.5],[2 2],[3 3])
+
+%% Mixed constraints
+xsol = fminsearchcon(rosen,[0 0],[2 -inf],[inf 3])
+
+%% Fix a variable as constant, x(2) == 3
+fminsearchcon(rosen,[3 3],[-inf 3],[inf,3])
+
+%% Linear inequality, x(1) + x(2) <= 1
+fminsearchcon(rosen,[0 0],[],[],[1 1],1)
+
+%% Nonlinear inequality, norm(x) <= 1
+fminsearchcon(rosen,[0 0],[],[],[],[],@(x) norm(x) - 1)
+
+%% Minimize a linear objective, subject to a nonlinear constraints.
+fun = @(x) x*[-2;1];
+nonlcon = @(x) [norm(x) - 1;sin(sum(x))];
+fminsearchcon(fun,[0 0],[],[],[],[],nonlcon)
+
+%% Provide your own fminsearch options
+opts = optimset('fminsearch');
+opts.Display = 'iter';
+opts.TolX = 1.e-12;
+opts.MaxFunEvals = 100;
+
+n = [10,5];
+H = randn(n);
+H=H'*H;
+Quadraticfun = @(x) x*H*x';
+
+% Global minimizer is at [0 0 0 0 0].
+% Set all lower bound constraints, all of which will
+% be active in this test.
+LB = [.5 .5 .5 .5 .5];
+xsol = fminsearchcon(Quadraticfun,[1 2 3 4 5],LB,[],[],[],[],opts)
+
+%% Exactly fix one variable, constrain some others, and set a tolerance
+opts = optimset('fminsearch');
+opts.TolFun = 1.e-12;
+
+LB = [-inf 2 1 -10];
+UB = [ inf  inf 1  inf];
+xsol = fminsearchcon(@(x) norm(x),[1 3 1 1],LB,UB,[],[],[],opts)
+
+%% All the standard outputs from fminsearch are still returned
+[xsol,fval,exitflag,output] = fminsearchcon(@(x) norm(x),[1 3 1 1],LB,UB)
+
+
+##### SOURCE END #####
+-->
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/fminsearchcon.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/fminsearchcon.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/FMINSEARCHCON/fminsearchcon.m	(revision 17)
@@ -0,0 +1,428 @@
+function [x,fval,exitflag,output]=fminsearchcon(fun,x0,LB,UB,A,b,nonlcon,options,varargin)
+% FMINSEARCHCON: Extension of FMINSEARCHBND with general inequality constraints
+% usage: x=FMINSEARCHCON(fun,x0)
+% usage: x=FMINSEARCHCON(fun,x0,LB)
+% usage: x=FMINSEARCHCON(fun,x0,LB,UB)
+% usage: x=FMINSEARCHCON(fun,x0,LB,UB,A,b)
+% usage: x=FMINSEARCHCON(fun,x0,LB,UB,A,b,nonlcon)
+% usage: x=FMINSEARCHCON(fun,x0,LB,UB,A,b,nonlcon,options)
+% usage: x=FMINSEARCHCON(fun,x0,LB,UB,A,b,nonlcon,options,p1,p2,...)
+% usage: [x,fval,exitflag,output]=FMINSEARCHCON(fun,x0,...)
+% 
+% arguments:
+%  fun, x0, options - see the help for FMINSEARCH
+%
+%       x0 MUST be a feasible point for the linear and nonlinear
+%       inequality constraints. If it is not inside the bounds
+%       then it will be moved to the nearest bound. If x0 is
+%       infeasible for the general constraints, then an error will
+%       be returned.
+%
+%  LB - lower bound vector or array, must be the same size as x0
+%
+%       If no lower bounds exist for one of the variables, then
+%       supply -inf for that variable.
+%
+%       If no lower bounds at all, then LB may be left empty.
+%
+%       Variables may be fixed in value by setting the corresponding
+%       lower and upper bounds to exactly the same value.
+%
+%  UB - upper bound vector or array, must be the same size as x0
+%
+%       If no upper bounds exist for one of the variables, then
+%       supply +inf for that variable.
+%
+%       If no upper bounds at all, then UB may be left empty.
+%
+%       Variables may be fixed in value by setting the corresponding
+%       lower and upper bounds to exactly the same value.
+%
+%  A,b - (OPTIONAL) Linear inequality constraint array and right
+%       hand side vector. (Note: these constraints were chosen to
+%       be consistent with those of fmincon.)
+%
+%       A*x <= b
+%
+%  nonlcon - (OPTIONAL) general nonlinear inequality constraints
+%       NONLCON must return a set of general inequality constraints.
+%       These will be enforced such that nonlcon is always <= 0.
+%
+%       nonlcon(x) <= 0
+%
+%
+% Notes:
+%
+%  If options is supplied, then TolX will apply to the transformed
+%  variables. All other FMINSEARCH parameters should be unaffected.
+%
+%  Variables which are constrained by both a lower and an upper
+%  bound will use a sin transformation. Those constrained by
+%  only a lower or an upper bound will use a quadratic
+%  transformation, and unconstrained variables will be left alone.
+%
+%  Variables may be fixed by setting their respective bounds equal.
+%  In this case, the problem will be reduced in size for FMINSEARCH.
+%
+%  The bounds are inclusive inequalities, which admit the
+%  boundary values themselves, but will not permit ANY function
+%  evaluations outside the bounds. These constraints are strictly
+%  followed.
+%
+%  If your problem has an EXCLUSIVE (strict) constraint which will
+%  not admit evaluation at the bound itself, then you must provide
+%  a slightly offset bound. An example of this is a function which
+%  contains the log of one of its parameters. If you constrain the
+%  variable to have a lower bound of zero, then FMINSEARCHCON may
+%  try to evaluate the function exactly at zero.
+%
+%  Inequality constraints are enforced with an implicit penalty
+%  function approach. But the constraints are tested before
+%  any function evaluations are ever done, so the actual objective
+%  function is NEVER evaluated outside of the feasible region.
+%
+%
+% Example usage:
+% rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+%
+% Fully unconstrained problem
+% fminsearchcon(rosen,[3 3])
+% ans =
+%    1.0000    1.0000
+%
+% lower bound constrained
+% fminsearchcon(rosen,[3 3],[2 2],[])
+% ans =
+%    2.0000    4.0000
+%
+% x(2) fixed at 3
+% fminsearchcon(rosen,[3 3],[-inf 3],[inf,3])
+% ans =
+%    1.7314    3.0000
+%
+% simple linear inequality: x(1) + x(2) <= 1
+% fminsearchcon(rosen,[0 0],[],[],[1 1],.5)
+% 
+% ans =
+%    0.6187    0.3813
+% 
+% general nonlinear inequality: sqrt(x(1)^2 + x(2)^2) <= 1
+% fminsearchcon(rosen,[0 0],[],[],[],[],@(x) norm(x)-1)
+% ans =
+%    0.78633   0.61778
+%
+% Of course, any combination of the above constraints is
+% also possible.
+%
+% See test_main.m for other examples of use.
+%
+%
+% See also: fminsearch, fminspleas, fminsearchbnd
+%
+%
+% Author: John D'Errico
+% E-mail: woodchips@rochester.rr.com
+% Release: 1.0
+% Release date: 12/16/06
+
+% size checks
+xsize = size(x0);
+x0 = x0(:);
+n=length(x0);
+
+if (nargin<3) || isempty(LB)
+  LB = repmat(-inf,n,1);
+else
+  LB = LB(:);
+end
+if (nargin<4) || isempty(UB)
+  UB = repmat(inf,n,1);
+else
+  UB = UB(:);
+end
+
+if (n~=length(LB)) || (n~=length(UB))
+  error 'x0 is incompatible in size with either LB or UB.'
+end
+
+% defaults for A,b
+if (nargin<5) || isempty(A)
+  A = [];
+end
+if (nargin<6) || isempty(b)
+  b = [];
+end
+nA = [];
+nb = [];
+if (isempty(A)&&~isempty(b)) || (isempty(b)&&~isempty(A)) 
+  error 'Sizes of A and b are incompatible'
+elseif ~isempty(A)
+  nA = size(A);
+  b = b(:);
+  nb = size(b,1);
+  if nA(1)~=nb  
+    error 'Sizes of A and b are incompatible'
+  end
+  if nA(2)~=n
+    error 'A is incompatible in size with x0'
+  end
+end
+
+% defaults for nonlcon
+if (nargin<7) || isempty(nonlcon)
+  nonlcon = [];
+end
+
+% test for feasibility of the initial value
+% against any general inequality constraints
+if ~isempty(A)
+  if any(A*x0>b)
+    error 'Infeasible starting values (linear inequalities failed).'
+  end
+end
+if ~isempty(nonlcon)
+  if any(feval(nonlcon,(reshape(x0,xsize)),varargin{:})>0)
+    error 'Infeasible starting values (nonlinear inequalities failed).'
+  end
+end
+
+% set default options if necessary
+if (nargin<8) || isempty(options)
+  options = optimset('fminsearch');
+end
+
+% stuff into a struct to pass around
+params.args = varargin;
+params.LB = LB;
+params.UB = UB;
+params.fun = fun;
+params.n = n;
+params.xsize = xsize;
+
+params.OutputFcn = [];
+
+params.A = A;
+params.b = b;
+params.nonlcon = nonlcon;
+
+% 0 --> unconstrained variable
+% 1 --> lower bound only
+% 2 --> upper bound only
+% 3 --> dual finite bounds
+% 4 --> fixed variable
+params.BoundClass = zeros(n,1);
+for i=1:n
+  k = isfinite(LB(i)) + 2*isfinite(UB(i));
+  params.BoundClass(i) = k;
+  if (k==3) && (LB(i)==UB(i))
+    params.BoundClass(i) = 4;
+  end
+end
+
+% transform starting values into their unconstrained
+% surrogates. Check for infeasible starting guesses.
+x0u = x0;
+k=1;
+for i = 1:n
+  switch params.BoundClass(i)
+    case 1
+      % lower bound only
+      if x0(i)<=LB(i)
+        % infeasible starting value. Use bound.
+        x0u(k) = 0;
+      else
+        x0u(k) = sqrt(x0(i) - LB(i));
+      end
+      
+      % increment k
+      k=k+1;
+    case 2
+      % upper bound only
+      if x0(i)>=UB(i)
+        % infeasible starting value. use bound.
+        x0u(k) = 0;
+      else
+        x0u(k) = sqrt(UB(i) - x0(i));
+      end
+      
+      % increment k
+      k=k+1;
+    case 3
+      % lower and upper bounds
+      if x0(i)<=LB(i)
+        % infeasible starting value
+        x0u(k) = -pi/2;
+      elseif x0(i)>=UB(i)
+        % infeasible starting value
+        x0u(k) = pi/2;
+      else
+        x0u(k) = 2*(x0(i) - LB(i))/(UB(i)-LB(i)) - 1;
+        % shift by 2*pi to avoid problems at zero in fminsearch
+        % otherwise, the initial simplex is vanishingly small
+        x0u(k) = 2*pi+asin(max(-1,min(1,x0u(k))));
+      end
+      
+      % increment k
+      k=k+1;
+    case 0
+      % unconstrained variable. x0u(i) is set.
+      x0u(k) = x0(i);
+      
+      % increment k
+      k=k+1;
+    case 4
+      % fixed variable. drop it before fminsearch sees it.
+      % k is not incremented for this variable.
+  end
+  
+end
+% if any of the unknowns were fixed, then we need to shorten
+% x0u now.
+if k<=n
+  x0u(k:n) = [];
+end
+
+% were all the variables fixed?
+if isempty(x0u)
+  % All variables were fixed. quit immediately, setting the
+  % appropriate parameters, then return.
+  
+  % undo the variable transformations into the original space
+  x = xtransform(x0u,params);
+  
+  % final reshape
+  x = reshape(x,xsize);
+  
+  % stuff fval with the final value
+  fval = feval(params.fun,x,params.args{:});
+  
+  % fminsearchbnd was not called
+  exitflag = 0;
+  
+  output.iterations = 0;
+  output.funcount = 1;
+  output.algorithm = 'fminsearch';
+  output.message = 'All variables were held fixed by the applied bounds';
+  
+  % return with no call at all to fminsearch
+  return
+end
+
+% Check for an outputfcn. If there is any, then substitute my
+% own wrapper function.
+if ~isempty(options.OutputFcn)
+  params.OutputFcn = options.OutputFcn;
+  options.OutputFcn = @outfun_wrapper;
+end
+
+% now we can call fminsearch, but with our own
+% intra-objective function.
+[xu,fval,exitflag,output] = fminsearch(@intrafun,x0u,options,params);
+
+% undo the variable transformations into the original space
+x = xtransform(xu,params);
+
+% final reshape
+x = reshape(x,xsize);
+
+% Use a nested function as the OutputFcn wrapper
+  function stop = outfun_wrapper(x,varargin);
+    % we need to transform x first
+    xtrans = xtransform(x,params);
+    
+    % then call the user supplied OutputFcn
+    stop = params.OutputFcn(xtrans,varargin{1:(end-1)});
+    
+  end
+
+end % mainline end
+
+% ======================================
+% ========= begin subfunctions =========
+% ======================================
+function fval = intrafun(x,params)
+% transform variables, test constraints, then call original function
+
+% transform
+xtrans = xtransform(x,params);
+
+% test constraints before the function call
+
+% First, do the linear inequality constraints, if any
+if ~isempty(params.A)
+  % Required: A*xtrans <= b
+  if any(params.A*xtrans(:) > params.b)
+    % linear inequality constraints failed. Just return inf.
+    fval = inf;
+    return
+  end
+end
+
+% resize xtrans to be the correct size for the nonlcon
+% and objective function calls
+xtrans = reshape(xtrans,params.xsize);
+
+% Next, do the nonlinear inequality constraints
+if ~isempty(params.nonlcon)
+  % Required: nonlcon(xtrans) <= 0
+  cons = feval(params.nonlcon,xtrans,params.args{:});
+  if any(cons(:) > 0)
+    % nonlinear inequality constraints failed. Just return inf.
+    fval = inf;
+    return
+  end
+end
+
+% we survived the general inequality constraints. Only now
+% do we evaluate the objective function.
+
+% append any additional parameters to the argument list
+fval = feval(params.fun,xtrans,params.args{:});
+
+end % sub function intrafun end
+
+% ======================================
+function xtrans = xtransform(x,params)
+% converts unconstrained variables into their original domains
+
+xtrans = zeros(1,params.n);
+% k allows some variables to be fixed, thus dropped from the
+% optimization.
+k=1;
+for i = 1:params.n
+  switch params.BoundClass(i)
+    case 1
+      % lower bound only
+      xtrans(i) = params.LB(i) + x(k).^2;
+      
+      k=k+1;
+    case 2
+      % upper bound only
+      xtrans(i) = params.UB(i) - x(k).^2;
+      
+      k=k+1;
+    case 3
+      % lower and upper bounds
+      xtrans(i) = (sin(x(k))+1)/2;
+      xtrans(i) = xtrans(i)*(params.UB(i) - params.LB(i)) + params.LB(i);
+      % just in case of any floating point problems
+      xtrans(i) = max(params.LB(i),min(params.UB(i),xtrans(i)));
+      
+      k=k+1;
+    case 4
+      % fixed variable, bounds are equal, set it at either bound
+      xtrans(i) = params.LB(i);
+    case 0
+      % unconstrained variable.
+      xtrans(i) = x(k);
+      
+      k=k+1;
+  end
+end
+
+end % sub function xtransform end
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/FMINSEARCHCON/license.txt	(revision 17)
@@ -0,0 +1,24 @@
+Copyright (c) 2007, John D'Errico
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Box.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Box.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Box.m	(revision 17)
@@ -0,0 +1,139 @@
+classdef Box < uiextras.Container
+    %Box  Box base class
+    %
+    %   See also: uiextras.HBox
+    %             uiextras.VBox
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties( SetObservable )
+        
+        Sizes = zeros( 1, 0 ) % Vector of sizes, with positive elements for absolute sizes (pixels) and negative elements for relative sizes
+        Padding = 0           % Padding around contents (pixels)
+        Spacing = 0           % Spacing between contents (pixels)
+        
+    end % public properties
+    
+    properties( Dependent )
+  
+        MinimumSizes % Minimum size (in pixels) for each element
+        
+    end % dependent properties
+    
+    properties( Access=private )
+  
+        MinimumSizes_ = zeros( 1, 0 )
+        
+    end % private properties
+    
+    methods
+        
+        function obj = Box( varargin )
+            %BOX  Container with contents in a single row or column
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.Container( varargin{:} );
+            
+            % Set some defaults
+            obj.setPropertyFromDefault( 'Padding' );
+            obj.setPropertyFromDefault( 'Spacing' );
+            
+        end % constructor
+        
+        function set.Sizes( obj, value )
+            % Check. We only count live children
+            myChildren = obj.getValidChildren();
+            if ~isequal( numel( myChildren ), numel( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Size of property ''Sizes'' must match size of property ''Children''.' )
+            elseif ~isnumeric( value ) || ...
+                    any( ~isreal( value ) ) || any( isnan( value ) ) || any( ~isfinite( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''Sizes'' must consist of real, finite, numeric values.' )
+            end
+            
+            % Set
+            obj.Sizes = value(:)';
+            
+            % Redraw
+            obj.redraw();
+        end % set.Sizes
+        
+        function set.MinimumSizes( obj, value )
+            % Check. We only count live children
+            if ~isequal( numel( obj.Sizes ), numel( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Size of property ''MinimumSizes'' must match size of property ''Sizes''.' )
+            elseif ~isnumeric( value ) || ...
+                    any( ~isreal( value ) ) || any( isnan( value ) ) || any( ~isfinite( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''MinimumSizes'' must consist of real, finite, numeric values.' )
+            end
+            
+            % Set and redraw
+            obj.MinimumSizes_ = value(:)';
+            obj.redraw();
+        end % set.MinimumSizes
+        
+        function value = get.MinimumSizes( obj )
+            value = obj.MinimumSizes_;
+        end % get.MinimumSizes
+        
+        function set.Padding( obj, value )
+            % Check
+            if ~isnumeric( value ) || ~isscalar( value ) || ...
+                    ~isreal( value ) || isnan( value ) || ~isfinite( value ) || ...
+                    value < 0 || rem( value, 1 ) ~= 0
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''Padding'' must be a nonnegative integer.' )
+            end
+            
+            % Set
+            obj.Padding = value;
+            
+            % Redraw
+            obj.redraw();
+        end % set.Padding
+        
+        function set.Spacing( obj, value )
+            % Check
+            if ~isnumeric( value ) || ~isscalar( value ) || ...
+                    ~isreal( value ) || isnan( value ) || ~isfinite( value ) || ...
+                    value < 0 || rem( value, 1 ) ~= 0
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''Spacing'' must be a nonnegative integer.' )
+            end
+            
+            % Set
+            obj.Spacing = value;
+            
+            % Redraw
+            obj.redraw();
+        end % set.Spacing
+        
+    end % public methods
+    
+    methods( Access = protected )
+                
+        function onChildAdded( obj, source, eventData ) %#ok<INUSD>
+            % This callback fires when a child is added to a container.
+            % Add an element to Sizes.  This automatically triggers a
+            % redraw.
+            obj.MinimumSizes_(1,end+1) = 1;
+            obj.Sizes(1,end+1) = -1;
+        end % onChildAdded
+        
+        function onChildRemoved( obj, source, eventData ) %#ok<INUSL>
+            % This callback fires when a child is destroyed or removed.
+            % Work out which child has gone and delete the corresponding
+            % element from Sizes.  This automatically triggers a redraw.
+            obj.MinimumSizes_( eventData.ChildIndex ) = [];
+            obj.Sizes( eventData.ChildIndex ) = [];
+        end % onChildRemoved
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/BoxPanel.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/BoxPanel.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/BoxPanel.m	(revision 17)
@@ -0,0 +1,413 @@
+classdef BoxPanel < uiextras.CardPanel & uiextras.DecoratedPanel
+    %BoxPanel  Show one element inside a box panel
+    %
+    %   obj = uiextras.BoxPanel() creates a box-styled panel object with
+    %   automatic management of the contained widget or layout. The
+    %   properties available are largely the same as the builtin UIPANEL
+    %   object. Where more than one child is added, the currently visible
+    %   child is determined using the SelectedChild property.
+    %
+    %   obj = uiextras.BoxPanel(param,value,...) also sets one or more
+    %   property values.
+    %
+    %   See the <a href="matlab:doc uiextras.BoxPanel">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> p = uiextras.BoxPanel( 'Parent', f, 'Title', 'A BoxPanel', 'Padding', 5 );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', p, 'Background', 'r' )
+    %
+    %   >> f = figure();
+    %   >> p = uiextras.BoxPanel( 'Parent', f, 'Title', 'A BoxPanel', 'Padding', 5 );
+    %   >> b = uiextras.HBox( 'Parent', p, 'Spacing', 5 );
+    %   >> uicontrol( 'Style', 'listbox', 'Parent', b, 'String', {'Item 1','Item 2'} );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', b, 'Background', 'b' );
+    %   >> set( b, 'Sizes', [100 -1] );
+    %   >> p.FontSize = 12;
+    %   >> p.FontWeight = 'bold';
+    %   >> p.HelpFcn = @(x,y) disp('Help me!');
+    %
+    %   See also: uiextras.Panel
+    %             uiextras.TabPanel
+    %             uiextras.HBoxFlex
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties
+        IsMinimized = false
+        IsDocked = true
+    end % public properties
+    
+    properties( Dependent = true )
+        CloseRequestFcn
+        HelpFcn
+        MinimizeFcn
+        DockFcn
+        Title
+        TitleColor
+        TooltipString
+    end % dependent properties
+    
+    properties( SetAccess = private, GetAccess = private, Hidden = true )
+        HGWidgets_ = struct()
+    end % private properties
+    
+    methods
+        
+        function obj = BoxPanel(varargin)
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj = obj@uiextras.CardPanel( varargin{:} );
+            obj = obj@uiextras.DecoratedPanel( varargin{:} );
+            
+            % For this container we need the border on
+            set( obj.UIContainer, 'BorderType', 'etchedin' );
+            
+            % Text control for title
+            figh = ancestor( obj.UIContainer, 'figure' );
+            contextmenu = uicontextmenu( 'Parent', figh );
+            titleColor = [0.75 0.9 1.0];
+            obj.HGWidgets_.TitleText = uicontrol('parent', obj.UIContainer, ...
+                'Visible', obj.Visible, ...
+                'units', 'pixels', ...
+                'HitTest', 'off', ...
+                'style', 'text', ...
+                'string', '', ...
+                'horizontalalignment', 'left',...
+                'BackgroundColor', titleColor, ...
+                'ForegroundColor', obj.ForegroundColor, ...
+                'FontSize', obj.FontSize, ...
+                'FontName', obj.FontName, ...
+                'FontAngle', obj.FontAngle, ...
+                'FontWeight', obj.FontWeight, ...
+                'FontUnits', obj.FontUnits, ...
+                'UIContextMenu', contextmenu, ...
+                'HandleVisibility', 'off', ...
+                'Tag', 'uiextras:BoxPanel:TitleText');
+            
+            % Panel for title
+            obj.HGWidgets_.TitlePanel = uipanel('parent', obj.UIContainer, ...
+                'Visible', obj.Visible, ...
+                'units', 'pixels', ...
+                'HitTest', 'off', ...
+                'bordertype', 'etchedin', ...
+                'BackgroundColor', titleColor, ...
+                'Tag', 'uiextras:BoxPanel:TitlePanel', ...
+                'HandleVisibility', 'off', ...
+                'UIContextMenu', contextmenu);
+            
+            % Create the buttons
+            obj.HGWidgets_.HelpButton = uicontrol('parent', obj.UIContainer, ...
+                'style', 'checkbox', ...
+                'cdata', uiextras.loadLayoutIcon( 'panelHelp.png' ), ...
+                'BackgroundColor', titleColor, ...
+                'Visible', 'off', ...
+                'Tag', 'uiextras:BoxPanel:HelpButton', ...
+                'HandleVisibility', 'off', ...
+                'tooltip', 'Get help on this panel' );
+            
+            obj.HGWidgets_.CloseButton = uicontrol('parent', obj.UIContainer, ...
+                'style', 'checkbox', ...
+                'cdata', uiextras.loadLayoutIcon( 'panelClose.png' ), ...
+                'BackgroundColor', titleColor, ...
+                'Visible', 'off', ...
+                'Tag', 'uiextras:BoxPanel:CloseButton', ...
+                'HandleVisibility', 'off', ...
+                'tooltip', 'Close this panel' );
+            
+            obj.HGWidgets_.DockButton = uicontrol('parent', obj.UIContainer, ...
+                'style', 'checkbox', ...
+                'cdata', uiextras.loadLayoutIcon( 'panelUndock.png' ), ...
+                'BackgroundColor', titleColor, ...
+                'Visible', 'off', ...
+                'Tag', 'uiextras:BoxPanel:DockButton', ...
+                'HandleVisibility', 'off', ...
+                'tooltip', 'Undock this panel' );
+            
+            obj.HGWidgets_.MinimizeButton = uicontrol('parent', obj.UIContainer, ...
+                'style', 'checkbox', ...
+                'cdata', uiextras.loadLayoutIcon( 'panelMinimize.png' ), ...
+                'BackgroundColor', titleColor, ...
+                'Visible', 'off', ...
+                'Tag', 'uiextras:BoxPanel:MinimizeButton', ...
+                'HandleVisibility', 'off', ...
+                'tooltip', 'Minimize this panel' );
+            
+            % Get some defaults
+            obj.setPropertyFromDefault( 'TitleColor' );
+            
+            % Parse any input arguments
+            if nargin>0
+                set( obj, varargin{:} );
+            end
+            % Redraw both contents and styling
+            obj.redraw();
+        end % constructor
+    end % public methods
+    
+    methods
+        
+        function set.Title( obj, value )
+            set( obj.HGWidgets_.TitleText, 'String', value );
+            obj.redraw();
+        end % set.Title
+        
+        function value = get.Title( obj )
+            value = get( obj.HGWidgets_.TitleText, 'String' );
+        end % get.Title
+        
+        function set.HelpFcn( obj, value )
+            if isempty( value )
+                set( obj.HGWidgets_.HelpButton, 'Visible', 'off', 'Callback', [] );
+            else
+                set( obj.HGWidgets_.HelpButton, 'Visible', obj.Visible, 'Callback', value );
+            end
+        end % set.HelpFcn
+        
+        function set.CloseRequestFcn( obj, value )
+            if isempty( value )
+                set( obj.HGWidgets_.CloseButton, 'Visible', 'off', 'Callback', [] );
+            else
+                set( obj.HGWidgets_.CloseButton, 'Visible', obj.Visible, 'Callback', value );
+            end
+        end % set.CloseRequestFcn
+        
+        function set.MinimizeFcn( obj, value )
+            if isempty( value )
+                set( obj.HGWidgets_.MinimizeButton, 'Visible', 'off', 'Callback', [] );
+            else
+                set( obj.HGWidgets_.MinimizeButton, 'Visible', obj.Visible, 'Callback', value );
+            end
+        end % set.MinimizeFcn
+        
+        function set.IsMinimized( obj, value )
+            obj.IsMinimized = (value(1) == true);
+            if value( obj.IsMinimized )
+                set( obj.HGWidgets_.MinimizeButton, ...
+                    'cdata', uiextras.loadLayoutIcon( 'panelMaximize.png' ), ...
+                    'tooltip', 'Maximize this panel' ); %#ok<MCSUP>
+            else
+                set( obj.HGWidgets_.MinimizeButton, ...
+                    'cdata', uiextras.loadLayoutIcon( 'panelMinimize.png' ), ...
+                    'tooltip', 'Minimize this panel' ); %#ok<MCSUP>
+            end
+        end % set.IsMinimized
+        
+        function set.DockFcn( obj, value )
+            if isempty( value )
+                set( obj.HGWidgets_.DockButton, 'Visible', 'off', 'Callback', [] );
+            else
+                set( obj.HGWidgets_.DockButton, 'Visible', obj.Visible, 'Callback', value );
+            end
+        end % set.DockFcn
+        
+        function set.IsDocked( obj, value )
+            obj.IsDocked = (value(1) == true);
+            if value( obj.IsDocked )
+                set( obj.HGWidgets_.DockButton, ...
+                    'cdata', uiextras.loadLayoutIcon( 'panelUndock.png' ), ...
+                    'tooltip', 'Undock this panel' ); %#ok<MCSUP>
+            else
+                set( obj.HGWidgets_.DockButton, ...
+                    'cdata', uiextras.loadLayoutIcon( 'panelDock.png' ), ...
+                    'tooltip', 'Dock this panel' ); %#ok<MCSUP>
+            end
+        end % set.IsMinimized
+        
+        function value = get.CloseRequestFcn( obj )
+            value = get( obj.HGWidgets_.CloseButton, 'Callback' );
+        end % get.CloseRequestFcn
+        
+        function value = get.HelpFcn( obj )
+            value = get( obj.HGWidgets_.HelpButton, 'Callback' );
+        end % get.HelpFcn
+        
+        function value = get.MinimizeFcn( obj )
+            value = get( obj.HGWidgets_.MinimizeButton, 'Callback' );
+        end % get.MinimizeFcn
+        
+        function value = get.DockFcn( obj )
+            value = get( obj.HGWidgets_.DockButton, 'Callback' );
+        end % get.DockFcn
+        
+        function set.TitleColor( obj, value )
+            if isfield( obj.HGWidgets_, 'TitleText' )
+                set( obj.HGWidgets_.TitleText, 'BackgroundColor', value );
+            end
+            if isfield( obj.HGWidgets_, 'TitlePanel' )
+                set( obj.HGWidgets_.TitlePanel, 'BackgroundColor', value );
+            end
+            if isfield( obj.HGWidgets_, 'HelpButton' )
+                set( obj.HGWidgets_.HelpButton, 'BackgroundColor', value );
+            end
+            if isfield( obj.HGWidgets_, 'CloseButton' )
+                set( obj.HGWidgets_.CloseButton, 'BackgroundColor', value );
+            end
+        end % set.TitleColor
+        
+        function value = get.TitleColor( obj )
+            value = get( obj.HGWidgets_.TitleText, 'BackgroundColor' );
+        end % get.TitleColor
+        
+        function set.TooltipString( obj, value )
+            set( obj.HGWidgets_.TitleText, 'TooltipString', value );
+        end % set.TooltipString
+        
+        function value = get.TooltipString( obj )
+            value = get( obj.HGWidgets_.TitleText, 'TooltipString' );
+        end % get.TooltipString
+        
+        
+    end % accessor methods
+    
+    methods( Access = protected )
+        
+        function redraw( obj )
+            %redraw  Redraw this widget and its contents
+            pos = getpixelposition( obj.UIContainer );
+            decor = obj.HGWidgets_;
+            
+            % If size is too small, ignore
+            if (pos(3)<12) || (pos(4)<18)
+                return
+            end
+            
+            % If decorations not yet constructed, ignore
+            if ~isstruct( decor ) ...
+                    || isempty(fieldnames(decor)) ...
+                    || ~isfield( decor, 'MinimizeButton' ) % this is the last widget constructed
+                return
+            end
+            
+            % Work out the title height
+            if isempty( obj.Title )
+                titleSize = 14;
+            else
+                % Work out how much extra space to leave for the title
+                oldunits = get( decor.TitleText, 'FontUnits' );
+                set( decor.TitleText, 'FontUnits', 'Pixels' );
+                % Get the height of the title (in pixels) and add a bit to
+                % cope with letters below the baseline (e.g. 'g')
+                titleSize = ceil( get( decor.TitleText, 'FontSize' )*1.2 );
+                % Put the old units back
+                set( decor.TitleText, 'FontUnits', oldunits );
+            end
+            
+            % Set position of close button
+            buttonXPos = pos(3)-2;
+            buttonWidth = titleSize;
+            if ~isempty(decor.CloseButton)
+                set(decor.CloseButton, 'Position', [buttonXPos-buttonWidth, pos(4)-titleSize, buttonWidth-1, buttonWidth-2]);
+                if ~isempty( obj.CloseRequestFcn )
+                    set(decor.CloseButton,'Visible', 'on' );
+                    buttonXPos = buttonXPos - buttonWidth;
+                else
+                    set(decor.CloseButton,'Visible', 'off' );
+                end
+            end
+            
+            % Set position of dock button
+            if ~isempty(decor.DockButton)
+                set(decor.DockButton, 'Position', [buttonXPos-buttonWidth, pos(4)-titleSize, buttonWidth-1, buttonWidth-2]);
+                if ~isempty( obj.DockFcn )
+                    set(decor.DockButton,'Visible', 'on' );
+                    buttonXPos = buttonXPos - buttonWidth;
+                else
+                    set(decor.DockButton,'Visible', 'off' );
+                end
+            end
+            
+            % Set position of minimise button
+            if ~isempty(decor.MinimizeButton)
+                set(decor.MinimizeButton, 'Position', [buttonXPos-buttonWidth, pos(4)-titleSize, buttonWidth-1, buttonWidth-2]);
+                if ~isempty( obj.MinimizeFcn )
+                    set(decor.MinimizeButton,'Visible', 'on' );
+                    buttonXPos = buttonXPos - buttonWidth;
+                else
+                    set(decor.MinimizeButton,'Visible', 'off' );
+                end
+            end
+            
+            % Set position of help button
+            if ~isempty(decor.HelpButton)
+                set(decor.HelpButton, 'Position', [buttonXPos-buttonWidth, pos(4)-titleSize, buttonWidth-1, buttonWidth-2]);
+                if ~isempty( obj.HelpFcn)
+                    set(decor.HelpButton,'Visible', 'on' );
+                    buttonXPos = buttonXPos - buttonWidth;
+                else
+                    set(decor.HelpButton,'Visible', 'off' );
+                end
+            end
+            
+            % Set position of title
+            posText = [2, pos(4)-titleSize-1, buttonXPos-3, titleSize];
+            set(decor.TitleText, 'Position', posText, 'string', obj.Title );
+            
+            % Set position of panel for title
+            posTitle = [-1, pos(4)-titleSize-3, pos(3), titleSize+4];
+            set(decor.TitlePanel, 'Position', posTitle);
+            
+            % Work out where to put the contents
+            panelborder = 2;
+            x0 = obj.Padding+1;
+            y0 = obj.Padding+1;
+            w = pos(3) - 2*panelborder - 2*obj.Padding;
+            h = pos(4) - titleSize - 2*panelborder - 2*obj.Padding;
+            contentPos = [x0 y0 w h];
+            
+            % Use the CardLayout function to put the right child onscreen
+            obj.showSelectedChild( contentPos )
+            
+        end % redraw
+        
+        function onChildAdded( obj, source, eventData ) %#ok<INUSD>
+            %onChildAdded  A child has been added to a container
+            % Select the new addition
+            obj.SelectedChild = numel( obj.Children );
+        end % onChildAdded
+        
+        function onChildRemoved( obj, source, eventData ) %#ok<INUSL>
+            %onChildAdded  A container child has been destroyed or reparented
+            %
+            % If the missing child is the selected one, select something else
+            if eventData.ChildIndex == obj.SelectedChild
+                if isempty( obj.Children )
+                    obj.SelectedChild = [];
+                else
+                    obj.SelectedChild = max( 1, obj.SelectedChild - 1 );
+                end
+            end
+        end % onChildRemoved
+        
+        function onEnable(obj, source, eventData ) %#ok<INUSL>
+            %onEnable  Enable state has been changed, so update
+            set( obj.HGWidgets_.TitleText, 'Enable', eventData );
+        end % onEnable
+        
+        function onPanelColorChanged( obj, source, eventData ) %#ok<INUSD>
+            %onPanelColorChanged  Colors have been changed, so update
+            if isfield( obj.HGWidgets_, 'TitleText' )
+                set( obj.HGWidgets_.TitleText, 'ForegroundColor', obj.ForegroundColor );
+                set( obj.HGWidgets_.TitlePanel, ...
+                    'HighlightColor', obj.HighlightColor, ...
+                    'ShadowColor', obj.ShadowColor );
+                set( obj.UIContainer, ...
+                    'HighlightColor', obj.HighlightColor, ...
+                    'ShadowColor', obj.ShadowColor );
+            end
+        end % onPanelColorChanged
+        
+        function onPanelFontChanged( obj, source, eventData ) %#ok<INUSL>
+            % Font has changed. Since the font size and shape affects the
+            % space available for the contents, we need to redraw.
+            if isfield( obj.HGWidgets_, 'TitleText' )
+                set( obj.HGWidgets_.TitleText, eventData.Property, eventData.Value );
+                obj.redraw();
+            end
+        end % onPanelFontChanged
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/ButtonBox.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/ButtonBox.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/ButtonBox.m	(revision 17)
@@ -0,0 +1,97 @@
+classdef ButtonBox < uiextras.Container
+    %ButtonBox  Abstract parent for button box classes
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties( SetObservable = true )
+        ButtonSize = [100 25]          % Desired size for all buttons [width height]
+        HorizontalAlignment = 'center' % Horizonral alignment of buttons [left|center|right]
+        VerticalAlignment = 'middle'   % Vertical alignment of buttons [top|middle|bottom]
+        Spacing = 5                    % spacing between contents (pixels)
+        Padding = 0                    % spacing around all contents
+    end % public properties
+    
+    methods
+        
+        function obj = ButtonBox( varargin )
+            %ButtonBox  Container with contents in a single row or column
+            
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.Container( varargin{:} );
+                        
+            % Set some defaults
+            obj.setPropertyFromDefault( 'ButtonSize' );
+            obj.setPropertyFromDefault( 'HorizontalAlignment' );
+            obj.setPropertyFromDefault( 'VerticalAlignment' );
+            obj.setPropertyFromDefault( 'Spacing' );
+            obj.setPropertyFromDefault( 'Padding' );
+
+        end % constructor
+        
+        function set.ButtonSize( obj, value )
+            % Check
+            if ~isnumeric( value ) || numel( value )~= 2 ...
+                    || any( ~isreal( value ) ) || any( isnan( value ) ) ...
+                    || any( ~isfinite( value ) ) || any( value <= 0 )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''ButtonSize'' must consist of two positive integers.' )
+            end
+            
+            % Set & redraw
+            obj.ButtonSize = value;
+            obj.redraw();
+        end % set.Sizes
+        
+        function set.Padding( obj, value )
+            % Check
+            if ~isnumeric( value ) || ~isscalar( value ) || ...
+                    ~isreal( value ) || isnan( value ) || ~isfinite( value ) || ...
+                    value < 0 || rem( value, 1 ) ~= 0
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''Padding'' must be a nonnegative integer.' )
+            end
+            
+            % Set and redraw
+            obj.Padding = value;
+            obj.redraw();
+        end % set.Padding
+        
+        function set.Spacing( obj, value )
+            % Check
+            if ~isnumeric( value ) || ~isscalar( value ) || ...
+                    ~isreal( value ) || isnan( value ) || ~isfinite( value ) || ...
+                    value < 0 || rem( value, 1 ) ~= 0
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''Spacing'' must be a nonnegative integer.' )
+            end
+            
+            % Set and redraw
+            obj.Spacing = value;
+            obj.redraw();
+        end % set.Spacing
+        
+        function set.HorizontalAlignment( obj, value )
+            if ~ischar( value ) || ~any( strcmpi( value, {'left','center','right'} ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''HorizontalAlignment'' must be a one of ''left'',''center'',''right''.' );
+            end
+            obj.HorizontalAlignment = value;
+            obj.redraw();
+        end % set.HorizontalAlignment
+        
+        function set.VerticalAlignment( obj, value )
+            if ~ischar( value ) || ~any( strcmpi( value, {'top','middle','bottom'} ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''HorizontalAlignment'' must be a one of ''top'',''middle'',''bottom''.' );
+            end
+            obj.VerticalAlignment = value;
+            obj.redraw();
+        end % set.VerticalAlignment
+        
+    end % public methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/CardPanel.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/CardPanel.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/CardPanel.m	(revision 17)
@@ -0,0 +1,173 @@
+classdef CardPanel < uiextras.Container
+    %CardPanel  Show one element (card) from a list
+    %
+    %   obj = uiextras.CardPanel() creates a new card panel which allows
+    %   selection between the different child objects contained, making the
+    %   selected child fill the space available and all other children
+    %   invisible. This is commonly used for creating wizards or quick
+    %   switching between different views of a single data-set.
+    %
+    %   obj = uiextras.CardPanel(param,value,...) also sets one or more
+    %   property values.
+    %
+    %   See the <a href="matlab:doc uiextras.CardPanel">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> p = uiextras.CardPanel( 'Parent', f, 'Padding', 5 );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', p, 'Background', 'r' );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', p, 'Background', 'b' );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', p, 'Background', 'g' );
+    %   >> p.SelectedChild = 2;
+    %
+    %   See also: uiextras.Panel
+    %             uiextras.BoxPanel
+    %             uiextras.TabPanel
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    
+    properties
+        Callback = []
+        Padding = 0 % padding around contents (pixels)
+    end % public properties
+    
+    properties ( Dependent = true, SetObservable = true )
+        SelectedChild   % Which child is visible [+ve integer or empty]
+    end % dependent properties
+    
+    properties ( SetAccess = private, GetAccess = private, Hidden = true )
+        SelectedChild_ = [] % the index of the child that is currently being shown
+    end % private properties
+    
+    methods
+        
+        function obj = CardPanel(varargin)
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj = obj@uiextras.Container( varargin{:} );
+                        
+            % Set some defaults
+            obj.setPropertyFromDefault( 'Padding' );
+
+            % Set user-supplied property values (only if this is the leaf class)
+            if nargin>0 && isequal( class( obj ), 'uiextras.CardPanel' )
+                set( obj, varargin{:} );
+            end
+            obj.redraw();
+        end % CardPanel
+        
+    end % public methods
+    
+    methods
+
+        function value = get.SelectedChild( obj )
+            value = obj.SelectedChild_;
+        end % get.SelectedChild
+        
+        function set.SelectedChild( obj, value )
+            % Check
+            if isempty( obj.Children )
+                obj.SelectedChild_ = [];
+            else
+                if ~isscalar( value ) || (round( value ) ~= value) || value < 0
+                    error( 'GUILayout:InvalidPropertyValue', ...
+                        'Property ''SelectedChild'' must be a positive integer.' )
+                elseif value > numel( obj.Children )
+                    error( 'GUILayout:InvalidPropertyValue', ...
+                        'Cannot select child %d of %d.', value, numel( obj.Children ) )
+                end
+                
+                % Set
+                obj.SelectedChild_ = value;
+            end
+            
+            % Redraw
+            obj.redraw();
+        end % set.SelectedChild
+        
+        function set.Padding( obj, value )
+            % Check input
+            if ~isnumeric( value ) || ~isscalar( value ) || ...
+                    ~isreal( value ) || isnan( value ) || ~isfinite( value ) || ...
+                    value < 0 || rem( value, 1 ) ~= 0
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''Padding'' must be a nonnegative integer.' )
+            end
+            % All OK, so set it and redraw using the new value
+            obj.Padding = value;
+            obj.redraw();
+        end % set.Padding
+                
+    end % accessor methods
+    
+    methods ( Access = protected )
+        
+        function redraw(obj)
+            %REDRAW redraw the contents
+            %
+            % Fort a card layout the only thing we really need to do is
+            % show one of the children filling the view
+            pos = getpixelposition( obj.UIContainer );
+            contentPos = [1 1 pos(3) pos(4)] + obj.Padding*[1 1 -2 -2];
+            obj.showSelectedChild( contentPos );
+        end % redraw
+        
+        function showSelectedChild( obj, contentPos )
+            % Generic function for showing just one child
+            
+            page_offset = 2500; % The amount by which widgets are moved when making invisible
+            C = obj.Children;
+            nC = numel(C);
+            if ~isempty( obj.SelectedChild )
+                % Set all to be invisible except current page
+                % We also have to move them offscreen to avoid problems with invisible
+                % panels and things blocking out visible ones (an HG bug?)
+                otherPages = 1:nC;
+                otherPages( otherPages==obj.SelectedChild ) = [];
+                for page=otherPages
+                    oldunits = get( C(page), 'Units' );
+                    set( C(page), 'Units', 'pixels' );
+                    p = get(C(page), 'Position');
+                    if p(1)<page_offset || p(2)<page_offset
+                        newPosition = p + [page_offset page_offset 0 0];
+                        obj.repositionChild( C(page), newPosition )
+                    end
+                    set( C(page), 'Units', oldunits );
+                end
+                
+                % And put the selected one on view
+                obj.repositionChild( C(obj.SelectedChild), contentPos );
+            end
+        end % showSelectedChild
+        
+        function onChildAdded( obj, source, eventData ) %#ok<INUSD>
+            %onChildAdded: Callback that fires when a child is added to a container.
+            % Select the new addition
+            C = obj.Children;
+            N = numel( C );
+            obj.SelectedChild = N;
+        end % onChildAdded
+        
+        function onChildRemoved( obj, source, eventData ) %#ok<INUSL>
+            %onChildAdded: Callback that fires when a container child is destroyed or reparented.
+            % If the missing child is the selected one, select something else
+            if obj.SelectedChild >= eventData.ChildIndex
+                % Changing the selection will force a redraw
+                if isempty( obj.Children )
+                    obj.SelectedChild = [];
+                else
+                    obj.SelectedChild = max( 1, obj.SelectedChild - 1 );
+                end
+            else
+                % We don't need to change the selection, so explicitly
+                % redraw
+                obj.redraw();
+            end
+        end % onChildRemoved
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/ChildEvent.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/ChildEvent.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/ChildEvent.m	(revision 17)
@@ -0,0 +1,28 @@
+classdef ChildEvent < event.EventData
+    %ChildEvent  Event data for a container child change
+    %
+    %   uiextras.ChildEvent(child,childindex) creates some new
+    %   eventdata indicating which child was changed.
+    %
+    %   See also: uiextras.Container
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:59
+    
+    properties( SetAccess = private )
+        Child
+        ChildIndex
+    end % private properties
+    
+    methods
+        
+        function data = ChildEvent(child,childindex)
+            error( nargchk( 2, 2, nargin ) );
+            data.Child = child;
+            data.ChildIndex = childindex;
+        end
+        
+    end % public methods
+    
+end
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Container.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Container.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Container.m	(revision 17)
@@ -0,0 +1,559 @@
+classdef Container < hgsetget
+    %Container  Container base class
+    %
+    %   c = uiextras.Container() creates a new container object. Container
+    %   is an abstract class and can only be constructed as the first
+    %   actual of a descendent class.
+    %
+    %   c = uiextras.Container(param,value,...) creates a new container
+    %   object and sets one or more property values.
+    %
+    %   See also: uiextras.Box
+    %             uiextras.ButtonBox
+    %             uiextras.CardPanel
+    %             uiextras.Grid
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties
+        DeleteFcn       % function to call when the layout is being deleted [function handle]
+    end % Public properties
+    
+    properties( Dependent, Transient )
+        BackgroundColor % background color [r g b]
+        BeingDeleted    % is the object in the process of being deleted [on|off]
+        Children        % list of the children of the layout [handle array]
+        Enable          % allow interaction with the contents of this layout [on|off]
+        Parent          % handle of the parent container or figure [handle]
+        Position        % position [left bottom width height]
+        Tag             % tag [string]
+        Type            % the object type (class) [string]
+        Units           % position units [inches|centimeters|normalized|points|pixels|characters]
+        Visible         % is the layout visible on-screen [on|off]
+    end % dependent properties
+    
+    properties( Access = protected, Hidden, Transient )
+        Listeners = cell( 0, 1 ) % array of listeners
+    end % protected properties
+    
+    properties( SetAccess = private, GetAccess = protected, Hidden, Transient )
+        UIContainer % associated uicontainer
+    end % read-only protected properties
+    
+    properties( Access = private, Hidden, Transient )
+        Children_ = zeros( 0, 1 )     % private copy of the children list
+        ChildListeners = cell( 0, 2 ) % listeners for changes to children
+        Enable_ = 'on'                % private copy of the enabled state
+        CurrentSize_ = [0 0]          % private copy of the size
+    end % private properties
+    
+    methods
+        
+        function obj = Container( varargin )
+            %Container  Container base class constructor
+            %
+            %   obj = Container(param,value,...) creates a new Container
+            %   object using the (optional) property values specified. This
+            %   may only be called by child classes.
+            
+            % Check that we're using the right graphics version
+            if isHGUsingMATLABClasses()
+                error( 'GUILayout:WrongHGVersion', 'Trying to run using double-handle MATLAB graphics against the new graphics system. Please re-install.' );
+            end
+            
+            % Find if parent has been supplied
+            parent = uiextras.findArg( 'Parent', varargin{:} );
+            if isempty( parent )
+                parent = gcf();
+            end
+            units = uiextras.findArg( 'Units', varargin{:} );
+            if isempty( units )
+                units = 'Normalized';
+            end
+            
+            % Create container
+            args = {
+                'Parent', parent, ...
+                'Units', units, ...
+                'BorderType', 'none'
+                };
+            obj.UIContainer = uipanel( args{:} );
+                        
+            % Set the background color
+            obj.setPropertyFromDefault( 'BackgroundColor' );
+            
+            % Tag it!
+            set( obj.UIContainer, 'Tag', strrep( class( obj ), '.', ':' ) );
+            
+            % Create listeners to resizing of container
+            containerObj = handle( obj.UIContainer );
+            obj.Listeners{end+1,1} = handle.listener( containerObj, findprop( containerObj, 'PixelBounds' ), 'PropertyPostSet', @obj.onResized );
+            
+            % Create listeners to addition of container children
+            obj.Listeners{end+1,1} = handle.listener( containerObj, 'ObjectChildAdded', @obj.onChildAddedEvent );
+            
+            % Watch out for the graphics being destroyed
+            obj.Listeners{end+1,1} = handle.listener( containerObj, 'ObjectBeingDestroyed', @obj.onContainerBeingDestroyed );
+            
+            % Store Container in container
+            setappdata( obj.UIContainer, 'Container', obj );
+
+        end % constructor
+        
+        function container = double( obj )
+            %double  Convert a container to an HG double handle.
+            %
+            %  D = double(C) converts a container C to an HG handle D.
+            container = obj.UIContainer;
+        end % double
+        
+        function pos = getpixelposition( obj )
+            %getpixelposition  get the absolute pixel position
+            %
+            %   POS = GETPIXELPOSITION(C) gets the absolute position of the container C
+            %   within its parent window. The returned position is in pixels.
+            pos = getpixelposition( obj.UIContainer );
+        end % getpixelposition
+        
+        function tf = isprop( obj, name )
+            %isprop  does this object have the specified property
+            %
+            %   TF = ISPROP(C,NAME) checks whether the object C has a
+            %   property named NAME. The result, TF, is true if the
+            %   property exists, false otherwise.
+            tf = ismember( name, properties( obj ) );
+            
+        end % isprop
+        
+        function p = ancestor(obj,varargin)
+            %ancestor  Get object ancestor
+            %
+            %   P = ancestor(H,TYPE) returns the handle of the closest ancestor of h
+            %   that matches one of the types in TYPE, or empty if there is no matching
+            %   ancestor.  TYPE may be a single string (single type) or cell array of
+            %   strings (types). If H is a vector of handles then P is a cell array the
+            %   same length as H and P{n} is the ancestor of H(n). If H is one of the
+            %   specified types then ancestor returns H.
+            %
+            %   P = ANCESTOR(H,TYPE,'TOPLEVEL') finds the highest level ancestor of one
+            %   of the types in TYPE
+            %
+            %   If H is not an Handle Graphics object, ANCESTOR returns empty.
+            p = ancestor( obj.UIContainer, varargin{:} );
+        end %ancestor
+        
+        function delete( obj )
+            %delete  destroy this layout
+            %
+            % If the user destroys the object, we *must* also remove any
+            % graphics
+            if ~isempty( obj.DeleteFcn )
+                uiextras.callCallback( obj.DeleteFcn, obj, [] );
+            end
+            if ishandle( obj.UIContainer ) ...
+                    && ~strcmpi( get( obj.UIContainer, 'BeingDeleted' ), 'on' )
+                delete( obj.UIContainer );
+            end
+        end % delete
+        
+    end % public methods
+    
+    methods
+        
+        function set.Position( obj, value )
+            set( obj.UIContainer, 'Position', value );
+        end % set.Position
+        
+        function value = get.Position( obj )
+            value = get( obj.UIContainer, 'Position' );
+        end % get.Position
+        
+        function set.Children( obj, value )
+            % Check
+            oldChildren = obj.Children_;
+            newChildren = value;
+            [tf, loc] = ismember( oldChildren, newChildren );
+            if ~isequal( size( oldChildren ), size( newChildren ) ) || any( ~tf )
+                error( 'GUILayout:Container:InvalidPropertyValue', ...
+                    'Property ''Children'' may only be set to a permutation of itself.' )
+            end
+            
+            % Set
+            obj.Children_ = newChildren;
+            
+            % Reorder ChildListeners
+            obj.ChildListeners(loc,:) = obj.ChildListeners;
+            
+            % Redraw
+            obj.redraw();
+        end % set.Children
+        
+        function value = get.Children( obj )
+            value = obj.Children_;
+        end % get.Children
+        
+        function set.Enable( obj, value )
+            % Check
+            if ~ischar( value ) || ~ismember( lower( value ), {'on','off'} )
+                error( 'GUILayout:Container:InvalidPropertyValue', ...
+                    'Property ''Enable'' may only be set to ''on'' or ''off''.' )
+            end
+            % Apply
+            value = lower( value );
+            % If we want to switch on but our parent is off, just store
+            % in the app data.
+            if strcmp( value, 'on' )
+                if isappdata( obj.Parent, 'Container' )
+                    parentObj = getappdata( obj.Parent, 'Container' );
+                    if strcmpi( parentObj.Enable, 'off' )
+                        setappdata( obj.UIContainer, 'OldEnableState', value );
+                        value = 'off';
+                    end
+                end
+            end
+            obj.Enable_ = value;
+            
+            % Apply to children
+            ch = obj.Children_;
+            for ii=1:numel( ch )
+                obj.helpSetChildEnable( ch(ii), obj.Enable_ );
+            end
+            
+            % Do the work
+            obj.onEnable( obj, value );
+        end % set.Enable
+        
+        function value = get.Enable( obj )
+            value = obj.Enable_;
+        end % get.Enable
+        
+        function set.Units( obj, value )
+            set( obj.UIContainer, 'Units', value );
+        end % set.Units
+        
+        function value = get.Units( obj )
+            value = get( obj.UIContainer, 'Units' );
+        end % get.Units
+        
+        function set.Parent( obj, value )
+            set( obj.UIContainer, 'Parent', double( value ) );
+        end % set.Parent
+        
+        function value = get.Parent( obj )
+            value = get( obj.UIContainer, 'Parent' );
+        end % get.Parent
+        
+        function set.Tag( obj, value )
+            set( obj.UIContainer, 'Tag', value );
+        end % set.Tag
+        
+        function value = get.Tag( obj )
+            value = get( obj.UIContainer, 'Tag' );
+        end % get.Tag
+        
+        function value = get.Type( obj )
+            value = class( obj );
+        end % get.Type
+        
+        function value = get.BeingDeleted( obj )
+            value = get( obj.UIContainer, 'BeingDeleted' );
+        end % get.BeingDeleted
+        
+        function set.Visible( obj, value )
+            set( obj.UIContainer, 'Visible', value );
+        end % set.Visible
+        
+        function value = get.Visible( obj )
+            value = get( obj.UIContainer, 'Visible' );
+        end % get.Visible
+        
+        function set.BackgroundColor( obj, value )
+            set( obj.UIContainer, 'BackgroundColor', value );
+            obj.onBackgroundColorChanged( obj, value );
+        end % set.BackgroundColor
+        
+        function value = get.BackgroundColor( obj )
+            value = get( obj.UIContainer, 'BackgroundColor' );
+        end % get.BackgroundColor
+        
+    end % accessor methods
+    
+    methods( Access = protected )
+        
+        function onResized( obj, source, eventData ) %#ok<INUSD>
+            %onResized  Callback that fires when a container is resized.
+            newSize = getpixelposition( obj );
+            newSize = newSize([3,4]);
+            if any(newSize ~= obj.CurrentSize_)
+                % Size has changed, so must redraw
+                obj.CurrentSize_ = newSize;
+                obj.redraw();
+            end
+        end % onResized
+        
+        function onContainerBeingDestroyed( obj, source, eventData ) %#ok<INUSD>
+            %onContainerBeingDestroyed  Callback that fires when the container dies
+            delete( obj );
+        end % onContainerBeingDestroyed
+        
+        function onChildAdded( obj, source, eventData ) %#ok<INUSD>
+            %onChildAdded  Callback that fires when a child is added to a container.
+            obj.redraw();
+        end % onChildAdded
+        
+        function onChildRemoved( obj, source, eventData ) %#ok<INUSD>
+            %onChildRemoved  Callback that fires when a container child is destroyed or reparented.
+            obj.redraw();
+        end % onChildRemoved
+        
+        function onBackgroundColorChanged( obj, source, eventData ) %#ok<INUSD,MANU>
+            %onBackgroundColorChanged  Callback that fires when the container background color is changed
+        end % onChildRemoved
+        
+        function onEnable( obj, source, eventData ) %#ok<INUSD,MANU>
+            %onEnable  Callback that fires when the enable state is changed
+        end % onChildRemoved
+        
+        function c = getValidChildren( obj )
+            %getValidChildren  Return a list of only those children not being deleted
+            c = obj.Children;
+            c( strcmpi( get( c, 'BeingDeleted' ), 'on' ) ) = [];
+        end % getValidChildren
+        
+        function repositionChild( obj, child, position )
+            %repositionChild  adjust the position and visibility of a child
+            if position(3)<=0 || position(4)<=0
+                % Not enough space, so move offscreen instead
+                set( child, 'Position', [-100 -100 10 10] );
+            else
+                % There's space, so make sure visibility is on
+                % First determine whether to use "Position" or "OuterPosition"
+                if isprop( child, 'ActivePositionProperty' )
+                    propname = get( child, 'ActivePositionProperty' );
+                else
+                    propname = 'Position';
+                end
+                
+                % Now set the position in pixels, changing the units first if
+                % necessary
+                oldunits = get( child, 'Units' );
+                if strcmpi( oldunits, 'Pixels' )
+                    set( child, propname, position );
+                else
+                    % Other units, so switch to pixels before setting
+                    set( child, 'Units', 'pixels' );
+                    set( child, propname, position );
+                    set( child, 'Units', oldunits );
+                end
+            end
+        end % repositionChild
+        
+        function setPropertyFromDefault( obj, propName )
+            %getPropertyDefault  Retrieve a default property value. If the
+            %value is not found in the parent or any of its ancestors the
+            %supplied defValue is used.
+            error( nargchk( 2, 2, nargin ) );
+            
+            parent = get( obj.UIContainer, 'Parent' );
+            myClass = class(obj);
+            if strncmp( myClass, 'uiextras.', 9 )
+                myClass = myClass(10:end);
+            end
+            defPropName = ['Default',myClass,propName];
+            
+            % Getting the default will fail if the default does not exist
+            % of has an invalid value. In that case we leave the current
+            % value as it is.
+            try
+                obj.(propName) = uiextras.get( parent, defPropName );
+            catch err %#ok<NASGU>
+                % Failed, so leave it alone
+            end
+        end % setPropertyFromDefault
+        
+        function helpSetChildEnable( ~, child, state )
+            % Set the enabled state of one child widget
+            if strcmpi( get( child, 'Type' ), 'uipanel' )
+                % Might be another layout
+                if isappdata( child, 'Container' )
+                    child = getappdata( child, 'Container' );
+                else
+                    % Can't enable a panel
+                    child = [];
+                end
+            elseif isprop( child, 'Enable' )
+                % It supports enabling directly 
+            else
+                % Doesn't support enabling
+                child = [];
+            end
+            
+            if ~isempty( child )
+            
+            % We will use a piece of app data
+            % to track the original state to ensure we don't
+            % re-enable something that shouldn't be.
+            if strcmpi( state, 'On' )
+                if isappdata( child, 'OldEnableState' )
+                    set( child, 'Enable', getappdata( child, 'OldEnableState' ) );
+                    rmappdata( child, 'OldEnableState' );
+                else
+                    set( child, 'Enable', 'on' );
+                end
+            else
+                if ~isappdata( child, 'OldEnableState' )
+                    setappdata( child, 'OldEnableState', get( child, 'Enable' ) );
+                end
+                set( child, 'Enable', 'off' );
+            end
+            end
+        end % helpSetChildEnable
+        
+    end % protected methods
+    
+    methods( Abstract = true, Access = protected )
+        
+        redraw( obj )
+        
+    end % abstract methods
+    
+    methods( Access = private, Sealed = true )
+        
+        function onChildAddedEvent( obj, source, eventData ) %#ok<INUSL>
+            %onChildAddedEvent  Callback that fires when a child is added to a container.
+            
+            % Find child in Children
+            child = eventData.Child;
+            if ismember( child, obj.Children_ )
+                return % not *really* being added
+            end
+            
+            % Only hook up internally if not a "hidden" child.
+            if ~isprop( child, 'HandleVisibility' ) ...
+                    || strcmpi( get( child, 'HandleVisibility' ), 'off' )
+                return;
+            end
+            
+            % We don't want to do anything to the panel title
+            if isappdata( obj.UIContainer, 'PanelTitleCreate' ) ...
+                    && getappdata( obj.UIContainer, 'PanelTitleCreate' )
+                % This child is the panel label. Set its visibility off so
+                % we don't see it again.
+                set( child, 'HandleVisibility', 'off' );
+                return;
+            end
+            
+            % We also need to ignore legends as they are positioned by
+            % their associated axes.
+            if isa( child, 'axes' ) && strcmpi( get( child, 'Tag' ), 'legend' )
+                return;
+            end
+            
+            % Add element to Children
+            obj.Children_(end+1,:) = child;
+            
+            % Add elements to ChildListeners. A bug in R2009a and
+            % earlier means we have to be careful about this
+            if isBeforeR2009b()
+                obj.ChildListeners(end+1,:) = ...
+                    {handle.listener( child, 'ObjectBeingDestroyed', {@helpDeleteChild,obj} ), ...
+                    handle.listener( child, 'ObjectParentChanged', {@helpReparentChild,obj} )};
+            else
+                obj.ChildListeners(end+1,:) = ...
+                    {handle.listener( child, 'ObjectBeingDestroyed', @obj.onChildBeingDestroyedEvent ), ...
+                    handle.listener( child, 'ObjectParentChanged', @obj.onChildParentChangedEvent )};
+            end
+            
+            % We are taking over management of position and will do it
+            % in either pixel or normalized units.
+            units = lower( get( child, 'Units' ) );
+            if ~ismember( units, {'pixels' ,'normalized'} )
+                set( child, 'Units', 'Pixels' );
+            end
+            
+            % If we are disabled, make sure the children are too
+            if strcmpi( obj.Enable_, 'off' )
+                helpSetChildEnable( obj, child, obj.Enable_ );
+            end
+            
+            % Call onChildAdded
+            eventData = uiextras.ChildEvent( child, numel( obj.Children_ ) );
+            
+            obj.onChildAdded( obj, eventData );
+        end % onChildAddedEvent
+        
+        function onChildBeingDestroyedEvent( obj, source, eventData ) %#ok<INUSD>
+            %onChildBeingDestroyedEvent  Callback that fires when a container child is destroyed.
+            
+            % Find child in Children
+            [dummy, loc] = ismember( source, obj.Children_ ); %#ok<ASGLU>
+            
+            % Remove element from Children
+            obj.Children_(loc,:) = [];
+            
+            % Remove elements from ChildListeners
+            obj.ChildListeners(loc,:) = [];
+            
+            % If we are in our death throes, don't start calling callbacks
+            if ishandle( obj.UIContainer ) && ~strcmpi( get( obj.UIContainer, 'BeingDeleted' ), 'ON' )
+                % Call onChildRemoved
+                eventData = uiextras.ChildEvent( source, loc );
+                obj.onChildRemoved( obj, eventData );
+            end
+            
+        end % onChildBeingDestroyedEvent
+        
+        function onChildParentChangedEvent( obj, source, eventData )
+            %onChildParentChangedEvent  Callback that fires when a container child is reparented.
+            
+            if isempty( eventData.NewParent ) ...
+                    || eventData.NewParent == obj.UIContainer
+                return % not being reparented *away*
+            end
+            
+            % Find child in Children
+            [dummy, loc] = ismember( source, obj.Children_ ); %#ok<ASGLU>
+            
+            % Remove element from Children
+            obj.Children_(loc,:) = [];
+            
+            % Remove elements from ChildListeners
+            obj.ChildListeners(loc,:) = [];
+            
+            % Call onChildRemoved
+            eventData = uiextras.ChildEvent( source, loc );
+            obj.onChildRemoved( obj, eventData );
+            
+        end % onChildParentChangedEvent
+        
+    end % private sealed methods
+    
+end % classdef
+
+% -------------------------------------------------------------------------
+
+% Helper functions to work around a bug in R2009a and earlier
+
+function ok = isBeforeR2009b()
+persistent matlabVersionDate;
+if isempty( matlabVersionDate )
+    v = ver( 'MATLAB' );
+    matlabVersionDate = datenum( v.Date );
+%     uiwait( msgbox( sprintf( 'Got MATLAB version date: %s', v.Date ) ) )
+end
+ok = ( matlabVersionDate <= datenum( '15-Jan-2009', 'dd-mmm-yyyy' ) );
+end
+
+
+function helpDeleteChild( src, evt, obj )
+obj.onChildBeingDestroyedEvent( src, evt );
+end % helpDeleteChild
+
+function helpReparentChild( src, evt, obj )
+obj.onChildParentChangedEvent( src, evt );
+end % helpReparentChild
+
+
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Contents.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Contents.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Contents.m	(revision 17)
@@ -0,0 +1,26 @@
+% +UIEXTRAS
+%
+% Files
+%   Box                 - Box  Box base class
+%   BoxPanel            - BoxPanel  Show one element inside a box panel
+%   ButtonBox           - ButtonBox  Abstract parent for button box classes
+%   callCallback        - callCallback  Try to call a callback function or method
+%   CardPanel           - CardPanel  Show one element (card) from a list
+%   ChildEvent          - ChildEvent  Event data for a container child change
+%   Container           - Container  Container base class
+%   DecoratedPanel      - DecoratedPanel  Abstract panel class that manages fonts and colors
+%   Empty               - Empty  Create an empty space
+%   findArg             - findArg  Find a specific property value from a property-value pairs list
+%   Grid                - Grid  Container with contents arranged in a grid
+%   GridFlex            - GridFlex  Container with contents arranged in a resizable grid
+%   HBox                - HBox  Arrange elements in a single horizontal row
+%   HBoxFlex            - HBoxFlex  A dynamically resizable horizontal layout
+%   HButtonBox          - HButtonBox  Arrange buttons horizontally in a single row
+%   interpretColor      - interpretColor  Interpret a color as an RGB triple
+%   loadLayoutIcon      - loadLayoutIcon  Load an icon and set the transparent color
+%   MousePointerHandler - MousePointerHandler  A class to handle mouse-over events
+%   Panel               - Panel  Show one element inside a panel
+%   TabPanel            - TabPanel  Show one element inside a tabbed panel
+%   VBox                - VBox  Arrange elements vertically in a single column
+%   VBoxFlex            - VBoxFlex  A dynamically resizable vertical layout
+%   VButtonBox          - VButtonBox  Arrange buttons vertically in a single column
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/DecoratedPanel.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/DecoratedPanel.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/DecoratedPanel.m	(revision 17)
@@ -0,0 +1,192 @@
+classdef DecoratedPanel < handle
+    %DecoratedPanel  Abstract panel class that manages fonts and colors
+    %
+    %   See also: uiextras.Panel
+    %             uiextras.BoxPanel
+    %             uiextras.TabPanel
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties( SetObservable = true ) % should also have 'AbortSet' but this is only available on later releases
+        FontAngle       % Title font angle [normal|italic|oblique]
+        FontName        % Title font name
+        FontSize        % Title font size
+        FontUnits       % Title font units [inches|centimeters|normalized|points|pixels]
+        FontWeight      % Title font weight [light|normal|demi|bold]
+        ForegroundColor % Title font color and/or color of 2-D border line
+        HighlightColor  % 3-D frame highlight color [r g b]
+        ShadowColor     % 3-D frame shadow color [r g b]
+    end % public properties
+    
+    properties( Constant, GetAccess = private )
+        AllowedFontAngle = set( 0, 'DefaultUIPanelFontAngle' )
+        AllowedFontName = listfonts(0)
+        AllowedFontUnits = set( 0, 'DefaultUIPanelFontUnits' )
+        AllowedFontWeight = set( 0, 'DefaultUIPanelFontWeight' )
+    end % private constant properties
+    
+    methods
+        
+        function obj = DecoratedPanel( varargin )
+            % Find the parent figure
+            parent = uiextras.findArg( 'Parent', varargin{:} );
+            if isempty( parent )
+                parent = gcf();
+            elseif isa( parent, 'uiextras.Container' )
+                parent = double( parent );
+            end
+            % Set some defaults
+            obj.setPropertyFromDefaultOrHG( parent, 'FontAngle' );
+            obj.setPropertyFromDefaultOrHG( parent, 'FontName' );
+            obj.setPropertyFromDefaultOrHG( parent, 'FontSize' );
+            obj.setPropertyFromDefaultOrHG( parent, 'FontUnits' );
+            obj.setPropertyFromDefaultOrHG( parent, 'FontWeight' );
+            obj.setPropertyFromDefaultOrHG( parent, 'ForegroundColor' );
+            obj.setPropertyFromDefaultOrHG( parent, 'HighlightColor' );
+            obj.setPropertyFromDefaultOrHG( parent, 'ShadowColor' );
+        end % DecoratedPanel
+        
+    end % public methods
+    
+    methods
+        
+        function set.FontAngle( obj, value )
+            idx = find( strcmpi( value, obj.AllowedFontAngle ) );
+            if isempty( idx )
+                list = sprintf( '%s, ', obj.AllowedFontAngle{:} );
+                list(end-1:end) = [];
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''FontAngle'' must be one of: %s.', list );
+            else
+                obj.FontAngle = obj.AllowedFontAngle{idx};
+                eventData = struct( ...
+                    'Property', 'FontAngle', ...
+                    'Value', obj.FontAngle );
+                obj.onPanelFontChanged( obj, eventData );
+            end
+        end % set.FontAngle
+        
+        function set.FontName( obj, value )
+            idx = find( strcmpi( value, obj.AllowedFontName ) );
+            if isempty( idx )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''FontName'' must be a valid font name.  See also ''listfonts''.' );
+            else
+                obj.FontName = obj.AllowedFontName{idx};
+                eventData = struct( ...
+                    'Property', 'FontName', ...
+                    'Value', obj.FontName );
+                obj.onPanelFontChanged( obj, eventData );
+            end
+        end % set.FontName
+        
+        function set.FontSize( obj, value )
+            obj.FontSize = value;
+            eventData = struct( ...
+                'Property', 'FontSize', ...
+                'Value', value );
+            obj.onPanelFontChanged( obj, eventData );
+        end % set.FontSize
+        
+        function set.FontUnits( obj, value )
+            idx = find( strcmpi( value, obj.AllowedFontUnits ) );
+            if isempty( idx )
+                list = sprintf( '%s, ', obj.AllowedFontUnits{:} ); 
+                list(end-1:end) = [];
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''FontUnits'' must be one of: %s.', list );
+            else
+                obj.FontUnits = obj.AllowedFontUnits{idx};
+                eventData = struct( ...
+                    'Property', 'FontUnits', ...
+                    'Value', obj.FontUnits );
+                obj.onPanelFontChanged( obj, eventData );
+            end
+        end % set.FontUnits
+        
+        function set.FontWeight( obj, value )
+            idx = find( strcmpi( value, obj.AllowedFontWeight ) );
+            if isempty( idx )
+                list = sprintf( '%s, ', obj.AllowedFontWeight{:} );
+                list(end-1:end) = [];
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''FontWeight'' must be one of: %s.', list );
+            else
+                obj.FontWeight = obj.AllowedFontWeight{idx};
+                eventData = struct( ...
+                    'Property', 'FontWeight', ...
+                    'Value', obj.FontWeight );
+                obj.onPanelFontChanged( obj, eventData );
+            end
+        end % set.FontWeight
+        
+        function set.ForegroundColor( obj, value )
+            obj.ForegroundColor = uiextras.interpretColor( value );
+            eventData = struct( ...
+                'Property', 'ForegroundColor', ...
+                'Value', obj.ForegroundColor );
+            obj.onPanelColorChanged( obj, eventData );
+        end % set.ForegroundColor
+        
+        function set.HighlightColor( obj, value )
+            obj.HighlightColor = uiextras.interpretColor( value );
+            eventData = struct( ...
+                'Property', 'HighlightColor', ...
+                'Value', obj.HighlightColor );
+            obj.onPanelColorChanged( obj, eventData );
+        end % set.HighlightColor
+        
+        function set.ShadowColor( obj, value )
+            obj.ShadowColor = uiextras.interpretColor( value );
+            eventData = struct( ...
+                'Property', 'ShadowColor', ...
+                'Value', obj.ShadowColor );
+            obj.onPanelColorChanged( obj, eventData );
+        end % set.ShadowColor
+        
+    end % accessor methods
+    
+    methods ( Abstract = true, Access = protected )
+        onPanelColorChanged( obj, source, eventData );
+        onPanelFontChanged( obj, source, eventData );
+    end % abstract protected methods
+    
+    methods ( Access = private )
+        
+        function setPropertyFromDefaultOrHG( obj, parent, propName )
+            %setPropertyDefault  Retrieve a default property value. If the
+            %value is not found in the parent or any of its ancestors the
+            %default UIPanel equivalent in 'parent' is used
+            error( nargchk( 3, 3, nargin ) );
+            
+            myClass = class( obj );
+            if strncmp( myClass, 'uiextras.', 9 )
+                myClass = myClass(10:end);
+            end
+            defPropName = ['Default',myClass,propName];
+            try
+                obj.(propName) = uiextras.get( parent, defPropName );
+            catch err %#ok<NASGU>
+                % Go up the HG tree instead
+                hgPropName = ['DefaultUIPanel',propName];
+                % We can't test for default properties, so just try it
+                try
+                    obj.(propName) = get( parent, hgPropName );
+                catch err %#ok<NASGU>
+                    found = false;
+                    while ~found && ~isequal( parent, 0 )
+                        parent = get( parent, 'Parent' );
+                        try %#ok<TRYNC>
+                            obj.(propName) = get( parent, hgPropName );
+                            found = true;
+                        end
+                    end
+                end
+            end
+        end % setPropertyFromDefaultOrHG
+        
+    end % private methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Empty.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Empty.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Empty.m	(revision 17)
@@ -0,0 +1,144 @@
+classdef Empty < hgsetget
+    %Empty  Create an empty space
+    %
+    %   obj = uiextras.Empty() creates an empty space object that can be
+    %   used in layouts to add gaps between other elements.
+    %
+    %   obj = uiextras.Empty(param,value,...) also sets one or more
+    %   property values.
+    %
+    %   See the <a href="matlab:doc uiextras.Empty">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> box = uiextras.HBox( 'Parent', f );
+    %   >> uicontrol( 'Parent', box, 'Background', 'r' )
+    %   >> uiextras.Empty( 'Parent', box )
+    %   >> uicontrol( 'Parent', box, 'Background', 'b' )
+    %
+    %   See also: uiextras.HBox
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    
+    
+    properties( Dependent = true, Transient = true )
+        BackgroundColor  % background color [r g b]
+        Parent           % parent [handle]
+        Position         % position [left bottom width height]
+        Tag              % tag [string]
+        Type             % type [string]
+        Units            % units [inches|centimeters|normalized|points|pixels|characters]
+        Visible          % visible [on|off]
+    end % dependent properties
+    
+    properties( SetAccess = private, GetAccess = private )
+        UIControl = -1
+    end % private properties
+    
+    methods
+        
+        function obj = Empty( varargin )
+            %Empty  Construct a new empty widget
+            
+            % Find if parent has been supplied
+            parent = uiextras.findArg( 'Parent', varargin{:} );
+            if isempty( parent )
+                parent = gcf();
+            end
+            
+            % Find the default background color to use
+            color = get( ancestor(parent,'figure'), 'DefaultUIControlBackgroundColor' );
+            % Create the widget
+            obj.UIControl = uicontrol( ...
+                'Parent', parent, ...
+                'Style', 'frame', ...
+                'ForegroundColor', color, ...
+                'BackgroundColor', color, ...
+                'Tag', class( obj ), ...
+                'HitTest', 'off' );
+            
+            if nargin
+                set( obj, varargin{:} );
+            end
+            
+            % Store it in the Control to prevent it going out of scope
+            setappdata( obj.UIControl, 'Control', obj );
+        end % constructor
+        
+        function control = double( obj )
+            %double  Convert to an HG double handle.
+            %
+            %  d = double(e) converts empty widget e to an HG handle d.
+            control = obj.UIControl;
+        end % double
+        
+        function delete( obj )
+            %delete  Destroy this object (and associated graphics)
+            if ishandle( obj.UIControl )
+                delete( obj.UIControl );
+            end
+        end % delete
+        
+    end % public methods
+    
+    methods
+        
+        function set.Position( obj, value )
+            set( obj.UIControl, 'Position', value );
+        end % set.Position
+        
+        function value = get.Position( obj )
+            value = get( obj.UIControl, 'Position' );
+        end % get.Position
+        
+        function set.BackgroundColor( obj, value )
+            set( obj.UIControl, 'BackgroundColor', value );
+            set( obj.UIControl, 'ForegroundColor', value );
+        end % set.BackgroundColor
+        
+        function value = get.BackgroundColor( obj )
+            value = get( obj.UIControl, 'BackgroundColor' );
+        end % get.BackgroundColor
+        
+        function set.Units( obj, value )
+            set( obj.UIControl, 'Units', value );
+        end % set.Units
+        
+        function value = get.Units( obj )
+            value = get( obj.UIControl, 'Units' );
+        end % get.Units
+        
+        function set.Parent( obj, value )
+            set( obj.UIControl, 'Parent', double( value ) );
+        end % set.Parent
+        
+        function value = get.Parent( obj )
+            value = get( obj.UIControl, 'Parent' );
+        end % get.Parent
+        
+        function set.Visible( obj, value )
+            set( obj.UIControl, 'Visible', value );
+        end % set.Visible
+        
+        function value = get.Visible( obj )
+            value = get( obj.UIControl, 'Visible' );
+        end % get.Visible
+        
+        function set.Tag( obj, value )
+            set( obj.UIControl, 'Tag', value );
+        end % set.Tag
+        
+        function value = get.Tag( obj )
+            value = get( obj.UIControl, 'Tag' );
+        end % get.Tag
+        
+        function value = get.Type( obj )
+            value = class( obj );
+        end % get.Type
+        
+    end % accessor methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Grid.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Grid.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Grid.m	(revision 17)
@@ -0,0 +1,331 @@
+classdef Grid < uiextras.Container
+    %Grid  Container with contents arranged in a grid
+    %
+    %   obj = uiextras.Grid() creates a new new grid layout with all
+    %   properties set to defaults. The number of rows and columns to use
+    %   is determined from the number of elements in the RowSizes and
+    %   ColumnSizes properties respectively. Child elements are arranged
+    %   down column one first, then column two etc. If there are
+    %   insufficient columns then a new one is added. The output is a new
+    %   layout object that can be used as the parent for other
+    %   user-interface components. The output is a new layout object that
+    %   can be used as the parent for other user-interface components.
+    %
+    %   obj = uiextras.Grid(param,value,...) also sets one or more
+    %   parameter values.
+    %
+    %   See the <a href="matlab:doc uiextras.Grid">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> g = uiextras.Grid( 'Parent', f, 'Spacing', 5 );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', g, 'Background', 'r' )
+    %   >> uicontrol( 'Style', 'frame', 'Parent', g, 'Background', 'b' )
+    %   >> uicontrol( 'Style', 'frame', 'Parent', g, 'Background', 'g' )
+    %   >> uiextras.Empty( 'Parent', g )
+    %   >> uicontrol( 'Style', 'frame', 'Parent', g, 'Background', 'c' )
+    %   >> uicontrol( 'Style', 'frame', 'Parent', g, 'Background', 'y' )
+    %   >> set( g, 'ColumnSizes', [-1 100 -2], 'RowSizes', [-1 100] );
+    %
+    %   See also: uiextras.GridFlex
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1 
+    %   2012/05/08 08:02:59
+    
+    properties( SetObservable ) 
+        Padding = 0 % padding around and between contents [pixels]
+        Spacing = 0 % spacing between contents [pixels]
+    end % public properties
+    
+    properties( Dependent )
+        RowSizes           % column vector of row sizes, with positive elements for absolute sizes (pixels) and negative elements for relative sizes
+        ColumnSizes        % column vector of column sizes, with positive elements for absolute sizes (pixels) and negative elements for relative sizes
+        MinimumRowSizes    % minimum size (in pixels) for each row
+        MinimumColumnSizes % minimum size (in pixels) for each column
+    end % dependent properties
+    
+    properties( Access=private )
+  
+        
+    end % private properties
+    properties( Access = private )
+        RowSizes_ = zeros( 0, 1 )           % private property for storing actual row sizes
+        ColumnSizes_ = zeros( 0, 1 )        % private property for storing actual column sizes
+        MinimumRowSizes_ = zeros( 0, 1 )    % private property for storing actual minimum row sizes
+        MinimumColumnSizes_ = zeros( 0, 1 ) % private property for storing actual minimum column sizes
+    end % private properties
+    
+    methods
+        
+        function obj = Grid( varargin )
+            %Grid  Create a container with contents in a grid.
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.Container( varargin{:} );
+
+            % Set some defaults
+            obj.setPropertyFromDefault( 'Padding' );
+            obj.setPropertyFromDefault( 'Spacing' );
+
+            % Set user-supplied property values (only if this is the leaf class)
+            if nargin>0 && isequal( class( obj ), 'uiextras.Grid' )
+                set( obj, varargin{:} );
+            end
+            
+        end % constructor
+        
+    end % public methods
+    
+    methods
+        
+        function set.RowSizes( obj, value )
+            
+            % Check
+            if ~isvector( value )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''RowSizes'' must be a vector.' )
+            elseif ~isnumeric( value ) || ...
+                    any( ~isreal( value ) ) || any( isnan( value ) ) || any( ~isfinite( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''RowSizes'' must consist of real, finite, numeric values.' )
+            end
+            
+            % Set
+            obj.RowSizes_ = value(:);
+            
+            % Make sure min row sizes is the same length
+            nMinSizes = length(obj.MinimumRowSizes_);
+            nSizes = length(obj.RowSizes_);
+            if nMinSizes > nSizes
+                obj.MinimumRowSizes_ = obj.MinimumRowSizes_(1:nSizes);
+            elseif nMinSizes < nSizes
+                obj.MinimumRowSizes_(end+1:nSizes,1) = 1;
+            end
+            
+            % Add/remove elements to/from ColumnSizes, if required
+            nColumns = ceil( numel( obj.Children ) / numel( obj.RowSizes_ ) );
+            if numel( obj.ColumnSizes_ ) > nColumns
+                obj.ColumnSizes_(nColumns+1:end,:) = [];
+                obj.MinimumColumnSizes_(nColumns+1:end,:) = [];
+            elseif numel( obj.ColumnSizes ) < nColumns
+                obj.ColumnSizes_(end+1:nColumns,1) = -1;
+                obj.MinimumColumnSizes_(end+1:nColumns,1) = 1;
+            end
+            
+            % Redraw
+            obj.redraw();
+            
+        end % set.RowSizes
+        
+        function value = get.RowSizes( obj )
+            value = obj.RowSizes_;
+        end % get.RowSizes
+        
+        function set.ColumnSizes( obj, value )
+            % Check
+            if ~isvector( value )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''ColumnSizes'' must be a vector.' )
+            elseif ~isnumeric( value ) || ...
+                    any( ~isreal( value ) ) || any( isnan( value ) ) || any( ~isfinite( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''ColumnSizes'' must consist of real, finite, numeric values.' )
+            end
+            
+            % Set
+            obj.ColumnSizes_ = value(:);
+            
+            % Make sure min row sizes is the same length
+            nMinSizes = length(obj.MinimumColumnSizes_);
+            nSizes = length(obj.ColumnSizes_);
+            if nMinSizes > nSizes
+                obj.MinimumColumnSizes_ = obj.MinimumColumnSizes_(1:nSizes);
+            elseif nMinSizes < nSizes
+                obj.MinimumColumnSizes_(end+1:nSizes,1) = 1;
+            end
+            
+            % Add/remove elements to/from RowSizes, if required
+            nRows = ceil( numel( obj.Children ) / numel( obj.ColumnSizes_ ) );
+            if numel( obj.RowSizes_ ) > nRows
+                obj.RowSizes_(nRows+1:end,:) = [];
+                obj.MinimumRowSizes_(nRows+1:end,:) = [];
+            elseif numel( obj.RowSizes ) < nRows
+                obj.RowSizes_(end+1:nRows,1) = -1;
+                obj.MinimumRowSizes_(end+1:nRows,1) = 1;
+            end
+            
+            % Redraw
+            obj.redraw();
+        end % set.ColumnSizes
+        
+        function value = get.ColumnSizes( obj )
+            value = obj.ColumnSizes_;
+        end % get.ColumnSizes       
+                
+        function set.MinimumRowSizes( obj, value )
+            % Check that this vector matches the size vector
+            if ~isequal( numel( obj.RowSizes ), numel( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Size of property ''MinimumRowSizes'' must match size of property ''RowSizes''.' )
+            elseif ~isnumeric( value ) || ...
+                    any( ~isreal( value ) ) || any( isnan( value ) ) || any( ~isfinite( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''MinimumRowSizes'' must consist of real, finite, numeric values.' )
+            end
+            
+            % Set and redraw
+            obj.MinimumRowSizes_ = value(:)';
+            obj.redraw();
+        end % set.MinimumRowSizes
+        
+        function value = get.MinimumRowSizes( obj )
+            value = obj.MinimumRowSizes_;
+        end % get.MinimumRowSizes
+                
+        function set.MinimumColumnSizes( obj, value )
+            % Check that this vector matches the size vector
+            if ~isequal( numel( obj.ColumnSizes ), numel( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Size of property ''MinimumColumnSizes'' must match size of property ''RowSizes''.' )
+            elseif ~isnumeric( value ) || ...
+                    any( ~isreal( value ) ) || any( isnan( value ) ) || any( ~isfinite( value ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''MinimumColumnSizes'' must consist of real, finite, numeric values.' )
+            end
+            
+            % Set and redraw
+            obj.MinimumColumnSizes_ = value(:)';
+            obj.redraw();
+        end % set.MinimumColumnSizes
+        
+        function value = get.MinimumColumnSizes( obj )
+            value = obj.MinimumColumnSizes_;
+        end % get.MinimumColumnSizes
+        
+        function set.Padding( obj, value )
+            % Check
+            if ~isnumeric( value ) || ~isscalar( value ) || ...
+                    ~isreal( value ) || isnan( value ) || ~isfinite( value ) || ...
+                    value < 0 || rem( value, 1 ) ~= 0
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''Padding'' must be a nonnegative integer.' )
+            end
+            
+            % Set
+            obj.Padding = value;
+            
+            % Redraw
+            obj.redraw();
+        end % set.Padding
+        
+        function set.Spacing( obj, value )
+            % Check
+            if ~isnumeric( value ) || ~isscalar( value ) || ...
+                    ~isreal( value ) || isnan( value ) || ~isfinite( value ) || ...
+                    value < 0 || rem( value, 1 ) ~= 0
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''Spacing'' must be a nonnegative integer.' )
+            end
+            
+            % Set
+            obj.Spacing = value;
+            
+            % Redraw
+            obj.redraw();
+        end % set.Spacing
+        
+    end % accessor methods
+    
+    methods( Access = protected )
+        
+        function [widths,heights] = redraw( obj )
+            %REDRAW  Redraw container contents.
+            
+            % Get container width and height
+            totalPosition = ceil( getpixelposition( obj.UIContainer ) );
+            totalWidth = totalPosition(3);
+            totalHeight = totalPosition(4);
+            
+            % Get children
+            children = obj.Children;
+            nChildren = numel( children );
+            
+            % Get padding, spacing, widths and heights
+            padding = obj.Padding;
+            spacing = obj.Spacing;
+            columnSizes = obj.ColumnSizes;
+            minColumnSizes = obj.MinimumColumnSizes;
+            rowSizes = obj.RowSizes;
+            minRowSizes = obj.MinimumRowSizes;
+            nColumns = numel( columnSizes );
+            nRows = numel( rowSizes );
+            
+            % Compute widths and heights
+            widths = uiextras.calculatePixelSizes( totalWidth, ...
+                columnSizes, minColumnSizes, ...
+                obj.Padding, obj.Spacing );
+            heights = uiextras.calculatePixelSizes( totalHeight, ...
+                rowSizes, minRowSizes, ...
+                obj.Padding, obj.Spacing );
+            
+            % Compute and set new positions in pixels
+            elementNumbers = reshape( 1:nRows*nColumns, [nRows, nColumns] );
+            rowNumbers = repmat( transpose( 1:nRows ), [1, nColumns] );
+            columnNumbers = repmat( 1:nColumns, [nRows, 1] );
+            for ii = 1:nChildren
+                child = children(ii);
+                jj = rowNumbers(elementNumbers==ii); % row index
+                kk = columnNumbers(elementNumbers==ii); % column index
+                x = sum( widths(1:kk-1) ) + padding + spacing * (kk-1) + 1;
+                y = totalHeight - sum( heights(1:jj) ) - padding - spacing*(jj-1) + 1;
+                newPosition = [x, y, widths(kk), heights(jj)];   
+                obj.repositionChild( child, newPosition );
+            end
+            
+        end % redraw
+        
+        function onChildAdded( obj, source, eventData ) %#ok<INUSD>
+            %onChildAdded: Callback that fires when a child is added to a container.
+            % Add element to RowSizes, if required
+            if numel( obj.RowSizes_ ) == 0
+                obj.RowSizes_ = -1;
+                obj.MinimumRowSizes_ = 1;
+            end
+            
+            % Add element to ColumnSizes, if required
+            nColumns = ceil( numel( obj.Children ) / numel( obj.RowSizes_ ) );
+            if numel( obj.ColumnSizes_ ) < nColumns
+                obj.ColumnSizes_(end+1:nColumns,:) = -1;
+                obj.MinimumColumnSizes_(end+1:nColumns,:) = 1;
+            end
+            
+            obj.redraw();
+            
+        end % onChildAdded
+        
+        function onChildRemoved( obj, source, eventData ) %#ok<INUSD>
+            %onChildAdded: Callback that fires when a container child is destroyed or reparented.
+            if numel( obj.Children ) == 0
+                % Remove elements from RowSizes and ColumnSizes
+                obj.RowSizes_ = zeros( 0, 1 );
+                obj.ColumnSizes_ = zeros( 0, 1 );
+                obj.MinimumRowSizes_ = zeros( 0, 1 );
+                obj.MinimumColumnSizes_ = zeros( 0, 1 );
+            else
+                % Remove elements from ColumnSizes, if required
+                nColumns = ceil( numel( obj.Children ) / numel( obj.RowSizes_ ) );
+                if numel( obj.ColumnSizes_ ) > nColumns
+                    obj.ColumnSizes_(nColumns+1:end,:) = [];
+                    obj.MinimumColumnSizes_(nColumns+1:end,:) = [];
+                end
+            end
+            
+            % Redraw
+            obj.redraw();
+        end % onChildRemoved
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/GridFlex.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/GridFlex.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/GridFlex.m	(revision 17)
@@ -0,0 +1,535 @@
+classdef GridFlex < uiextras.Grid
+    %GridFlex  Container with contents arranged in a resizable grid
+    %
+    %   obj = uiextras.GridFlex() creates a new new grid layout with
+    %   draggable dividers between elements. The number of rows and columns
+    %   to use is determined from the number of elements in the RowSizes
+    %   and ColumnSizes properties respectively. Child elements are
+    %   arranged down column one first, then column two etc. If there are
+    %   insufficient columns then a new one is added. The output is a new
+    %   layout object that can be used as the parent for other
+    %   user-interface components. The output is a new layout object that
+    %   can be used as the parent for other user-interface components.
+    %
+    %   obj = uiextras.GridFlex(param,value,...) also sets one or more
+    %   parameter values.
+    %
+    %   See the <a href="matlab:doc uiextras.GridFlex">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> g = uiextras.GridFlex( 'Parent', f, 'Spacing', 5 );
+    %   >> uicontrol( 'Parent', g, 'Background', 'r' )
+    %   >> uicontrol( 'Parent', g, 'Background', 'b' )
+    %   >> uicontrol( 'Parent', g, 'Background', 'g' )
+    %   >> uiextras.Empty( 'Parent', g )
+    %   >> uicontrol( 'Parent', g, 'Background', 'c' )
+    %   >> uicontrol( 'Parent', g, 'Background', 'y' )
+    %   >> set( g, 'ColumnSizes', [-1 100 -2], 'RowSizes', [-1 -2] );
+    %
+    %   See also: uiextras.Grid
+    %             uiextras.HBoxFlex
+    %             uiextras.VBoxFlex
+    %             uiextras.Empty
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties
+        ShowMarkings = 'on'  % Show markings on the draggable dividers [ on | off ]
+    end % public methods
+    
+    properties( Access = private )
+        RowDividers = []
+        SelectedRowDivider = -1
+        ColumnDividers = []
+        SelectedColumnDivider = -1
+        BlockRedraw = false
+    end % private properties
+    
+    methods
+        
+        function obj = GridFlex( varargin )
+            %GridFlex  Container with contents in a grid and movable dividers
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.Grid( varargin{:} );
+            
+            % Set some defaults
+            obj.setPropertyFromDefault( 'ShowMarkings' );
+            
+            % Set user-supplied property values
+            if nargin > 0
+                set( obj, varargin{:} );
+            end
+        end % constructor
+        
+    end % public methods
+    
+    methods
+        
+        function set.ShowMarkings( obj, value )
+            % Check
+            if ~ischar( value ) || ~ismember( lower( value ), {'on','off'} )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''ShowMarkings'' may only be set to ''on'' or ''off''.' )
+            end
+            % Apply
+            obj.ShowMarkings = lower( value );
+            obj.redraw();
+        end % set.ShowMarkings
+        
+    end % accessor methods
+    
+    methods( Access = protected )
+        
+        function redraw( obj )
+            %redraw  Redraw container contents
+            
+            % Prevent recursive redraws if we need to add/remove/reorder
+            % dividers
+            if obj.BlockRedraw
+                return;
+            end
+            obj.BlockRedraw = true;
+            
+            % First simply call the grid redraw
+            [widths,heights] = redraw@uiextras.Grid(obj);
+            rowSizes = obj.RowSizes;
+            columnSizes = obj.ColumnSizes;
+            padding = obj.Padding;
+            spacing = obj.Spacing;
+            pos0 = ceil( getpixelposition( obj.UIContainer ) );
+            
+            % Now add the column dividers
+            mph = uiextras.MousePointerHandler( obj.Parent );
+            numDynamic = 0;
+            for ii = 1:numel(columnSizes)-1
+                if any(columnSizes(1:ii)<0) && any(columnSizes(ii+1:end)<0)
+                    numDynamic = numDynamic + 1;
+                    % Both dynamic, so add a divider
+                    position = [sum( widths(1:ii) ) + padding + spacing * (ii-1) + 1, ...
+                        padding + 1, ...
+                        max(1,spacing), ...
+                        max(1,pos0(4)-2*padding)];
+                    % Create the divider widget
+                    if numDynamic > numel( obj.ColumnDividers )
+                        obj.ColumnDividers(numDynamic) = uiextras.makeFlexDivider( ...
+                            obj.UIContainer, ...
+                            position, ...
+                            get( obj.UIContainer, 'BackgroundColor' ), ...
+                            'Vertical', ...
+                            obj.ShowMarkings );
+                        set( obj.ColumnDividers(numDynamic), ...
+                            'ButtonDownFcn', @obj.onColumnButtonDown, ...
+                            'Tag', 'UIExtras:GridFlex:ColumnDivider' );
+                        % Add it to the mouse-over handler
+                        mph.register( obj.ColumnDividers(numDynamic), 'left' );
+                    else
+                        % Just update an existing divider
+                        uiextras.makeFlexDivider( ...
+                            obj.ColumnDividers(numDynamic), ...
+                            position, ...
+                            get( obj.UIContainer, 'BackgroundColor' ), ...
+                            'Vertical', ...
+                            obj.ShowMarkings );
+                    end
+                    setappdata( obj.ColumnDividers(numDynamic), 'WhichDivider', ii );
+                end
+            end
+            % Remove any excess dividers
+            if numel( obj.ColumnDividers ) > numDynamic
+                delete( obj.ColumnDividers(numDynamic+1:end) );
+                obj.ColumnDividers(numDynamic+1:end) = [];
+            end
+            
+            % Now add the row dividers
+            numDynamic = 0;
+            for ii = 1:numel(rowSizes)-1
+                if any(rowSizes(1:ii)<0) && any(rowSizes(ii+1:end)<0)
+                    numDynamic = numDynamic + 1;
+                    % Both dynamic, so add a divider
+                    position = [padding + 1, ...
+                        pos0(4) - sum( heights(1:ii) ) - padding - spacing*ii + 1, ...
+                        max(1,pos0(3)-2*padding), ...
+                        max(1,spacing)];
+                    % Create the divider widget
+                    if numDynamic > numel( obj.RowDividers )
+                        obj.RowDividers(numDynamic) = uiextras.makeFlexDivider( ...
+                            obj.UIContainer, ...
+                            position, ...
+                            get( obj.UIContainer, 'BackgroundColor' ), ...
+                            'Horizontal', ...
+                            obj.ShowMarkings );
+                        set( obj.RowDividers(numDynamic), 'ButtonDownFcn', @obj.onRowButtonDown, ...
+                            'Tag', 'UIExtras:GridFlex:RowDivider' );
+                        % Add it to the mouse-over handler
+                        mph.register( obj.RowDividers(numDynamic), 'top' );
+                    else
+                        % Just update an existing divider
+                        uiextras.makeFlexDivider( ...
+                            obj.RowDividers(numDynamic), ...
+                            position, ...
+                            get( obj.UIContainer, 'BackgroundColor' ), ...
+                            'Horizontal', ...
+                            obj.ShowMarkings );
+                    end
+                    setappdata( obj.RowDividers(numDynamic), 'WhichDivider', ii );
+                end
+            end
+            % Remove any excess dividers
+            if numel( obj.RowDividers ) > numDynamic
+                delete( obj.RowDividers(numDynamic+1:end) );
+                obj.RowDividers(numDynamic+1:end) = [];
+            end
+
+            % We need to ensure dividers are above all other children so
+            % that they receive mouse clicks
+            c = allchild( obj.UIContainer );
+            tags = get(c,'Tag');
+            isDivider = strcmp( tags, 'UIExtras:GridFlex:RowDivider' ) ...
+                | strcmp( tags, 'UIExtras:GridFlex:ColumnDivider' );
+            firstChild = find( ~isDivider, 1, 'first' );
+            lastDivider = find( isDivider, 1, 'last' );
+            if firstChild < lastDivider
+                % We need to put the divider first
+                set( obj.UIContainer, 'Children', [c(isDivider);c(~isDivider)] );
+            end
+            obj.BlockRedraw = false;
+
+        end % redraw
+        
+        function onRowButtonDown( obj, source, eventData ) %#ok<INUSD>
+            figh = ancestor( source, 'figure' );
+            % Remove all column dividers
+            ch = allchild( obj.UIContainer );
+            dividers = strcmpi( get( ch, 'Tag' ), 'GridFlex:ColumnDivider' );
+            delete( ch(dividers) );
+            % We need to store any existing motion callbacks so that we can
+            % restore them later.
+            oldProps = struct();
+            oldProps.WindowButtonMotionFcn = get( figh, 'WindowButtonMotionFcn' );
+            oldProps.WindowButtonUpFcn = get( figh, 'WindowButtonUpFcn' );
+            oldProps.Pointer = get( figh, 'Pointer' );
+            oldProps.Units = get( figh, 'Units' );
+            
+            % Make sure all interaction modes are off to prevent our
+            % callbacks being clobbered
+            zoomh = zoom( figh );
+            r3dh = rotate3d( figh );
+            panh = pan( figh );
+            oldState = '';
+            if isequal( zoomh.Enable, 'on' )
+                zoomh.Enable = 'off';
+                oldState = 'zoom';
+            end
+            if isequal( r3dh.Enable, 'on' )
+                r3dh.Enable = 'off';
+                oldState = 'rotate3d';
+            end
+            if isequal( panh.Enable, 'on' )
+                panh.Enable = 'off';
+                oldState = 'pan';
+            end
+            
+            
+            % Now hook up new callbacks
+            set( figh, ...
+                'WindowButtonMotionFcn', @obj.onRowButtonMotion, ...
+                'WindowButtonUpFcn', {@obj.onRowButtonUp, oldProps, oldState}, ...
+                'Pointer', 'top', ...
+                'Units', 'Pixels' );
+            % Make the divider visible
+            cdata = get( source, 'CData' );
+            if mean( cdata(:) ) < 0.5
+                % Make it brighter
+                cdata = 1-0.5*(1-cdata);
+                newCol = 1-0.5*(1-get( obj.UIContainer, 'BackgroundColor' ));
+            else
+                % Make it darker
+                cdata = 0.5*cdata;
+                newCol = 0.5*get( obj.UIContainer, 'BackgroundColor' );
+            end
+            set( source, ...
+                'BackgroundColor', newCol, ...
+                'ForegroundColor', newCol, ...
+                'CData', cdata );
+            
+            obj.SelectedRowDivider = source;
+        end % onRowButtonDown
+        
+        function onRowButtonMotion( obj, source, eventData ) %#ok<INUSD>
+            figh = ancestor( source, 'figure' );
+            cursorpos = get( figh, 'CurrentPoint' );
+            dividerpos = get( obj.SelectedRowDivider, 'Position' );
+            
+            % We need to gaurd against the focus having been lost. In this
+            % case we should have received a button-up event, but sometimes
+            % don't (at least on Windows).
+            if ishandle( obj.SelectedRowDivider )
+                pos0 = getpixelposition( obj.UIContainer, true );
+                dividerpos(2) = cursorpos(2) - pos0(2) - round(obj.Spacing/2) + 1;
+                % Make sure that the position doesn't cause an element to
+                % shrink too much
+                minSizes = obj.MinimumRowSizes(:);
+                pixSizes = uiextras.calculatePixelSizes( pos0(4), ...
+                    obj.RowSizes, minSizes, obj.Padding, obj.Spacing );
+                N = numel( minSizes );
+                % Sometimes the actual width is smaller than the minimum!
+                minSizes = min( minSizes, pixSizes );
+                whichDivider = getappdata( obj.SelectedRowDivider, 'WhichDivider' );
+                minPos = pos0(4) - ceil( obj.Padding ...
+                    + sum( pixSizes(1:whichDivider-1) ) ...
+                    + minSizes(whichDivider) ...
+                    + obj.Spacing*(whichDivider-0.5) );
+                dividerpos(2) = min( dividerpos(2), minPos );
+                if whichDivider<(N-1)
+                    maxPos = floor( obj.Padding ...
+                        + sum( pixSizes(whichDivider+2:end) ) ...
+                        + minSizes(whichDivider+1) ...
+                        + obj.Spacing*(N-whichDivider-0.5) );
+                else
+                    % Final divider
+                    maxPos = floor( obj.Padding ...
+                        + minSizes(whichDivider+1) ...
+                        + obj.Spacing*0.5 );
+                end
+                dividerpos(2) = max( dividerpos(2), maxPos );
+                set( obj.SelectedRowDivider, 'Position', dividerpos );
+            else
+                % Divider has been lost, so we are in a bad state. The
+                % best we can do is kill the callbacks and attempt to put
+                % the figure back in a decent state.
+                set( figh, 'Pointer', 'arrow', ...
+                    'WindowButtonMotionFcn', [], ...
+                    'WindowButtonUpFcn', [] );
+            end
+        end % onRowButtonMotion
+        
+        function onRowButtonUp( obj, source, eventData, oldFigProps, oldState )
+            % Deliberately call the motion function to ensure any last
+            % movement is captured
+            obj.onRowButtonMotion( source, eventData );
+            
+            % Restore figure properties
+            figh = ancestor( source, 'figure' );
+            flds = fieldnames( oldFigProps );
+            for ii=1:numel(flds)
+                set( figh, flds{ii}, oldFigProps.(flds{ii}) );
+            end
+            
+            % If the figure has an interaction mode set, re-set it now
+            if ~isempty( oldState )
+                switch upper( oldState )
+                    case 'ZOOM'
+                        zoom( figh, 'on' );
+                    case 'PAN'
+                        pan( figh, 'on' );
+                    case 'ROTATE3D'
+                        rotate3d( figh, 'on' );
+                    otherwise
+                        error( 'GUILayout:InvalidState', 'Invalid interaction mode ''%s''.', oldState );
+                end
+            end
+            
+            % Work out which divider was moved and which are the resizable
+            % elements either side of it
+            whichDivider = getappdata( obj.SelectedRowDivider, 'WhichDivider' );
+            origPos = getappdata( obj.SelectedRowDivider, 'OriginalPosition' );
+            newPos = get( obj.SelectedRowDivider, 'Position' );
+            obj.SelectedRowDivider = -1;
+            delta = newPos(2) - origPos(2) - round(obj.Spacing/2) + 1;
+            sizes = obj.RowSizes;
+            % Convert all flexible sizes into pixel units
+            totalPosition = ceil( getpixelposition( obj.UIContainer ) );
+            totalHeight = totalPosition(4);
+            heights = uiextras.calculatePixelSizes( totalHeight, ...
+                sizes, obj.MinimumRowSizes, obj.Padding, obj.Spacing );
+            
+            topelement = find( sizes(1:whichDivider)<0, 1, 'last' );
+            bottomelement = find( sizes(whichDivider+1:end)<0, 1, 'first' )+whichDivider;
+            
+            % Now work out the new sizes. Note that we must ensure the size
+            % stays negative otherwise it'll stop being resizable
+            change = sum(sizes(sizes<0)) * delta / sum( heights(sizes<0) );
+            sizes(topelement) = min( -0.000001, sizes(topelement) - change );
+            sizes(bottomelement) = min( -0.000001, sizes(bottomelement) + change );
+            
+            % Setting the sizes will cause a redraw
+            obj.RowSizes = sizes;
+        end % onRowButtonUp
+        
+        function onColumnButtonDown( obj, source, eventData ) %#ok<INUSD>
+            % Remove all row dividers
+            figh = ancestor( source, 'figure' );
+            ch = allchild( obj.UIContainer );
+            dividers = strcmpi( get( ch, 'Tag' ), 'GridFlex:RowDivider' );
+            delete( ch(dividers) );
+            % We need to store any existing motion callbacks so that we can
+            % restore them later.
+            oldProps = struct();
+            oldProps.WindowButtonMotionFcn = get( figh, 'WindowButtonMotionFcn' );
+            oldProps.WindowButtonUpFcn = get( figh, 'WindowButtonUpFcn' );
+            oldProps.Pointer = get( figh, 'Pointer' );
+            oldProps.Units = get( figh, 'Units' );
+            
+            % Make sure all interaction modes are off to prevent our
+            % callbacks being clobbered
+            zoomh = zoom( figh );
+            r3dh = rotate3d( figh );
+            panh = pan( figh );
+            oldState = '';
+            if isequal( zoomh.Enable, 'on' )
+                zoomh.Enable = 'off';
+                oldState = 'zoom';
+            end
+            if isequal( r3dh.Enable, 'on' )
+                r3dh.Enable = 'off';
+                oldState = 'rotate3d';
+            end
+            if isequal( panh.Enable, 'on' )
+                panh.Enable = 'off';
+                oldState = 'pan';
+            end
+            
+            % Now hook up new callbacks
+            set( figh, ...
+                'WindowButtonMotionFcn', @obj.onColumnButtonMotion, ...
+                'WindowButtonUpFcn', {@obj.onColumnButtonUp, oldProps, oldState}, ...
+                'Pointer', 'left', ...
+                'Units', 'Pixels' );
+            % Make the divider visible
+            cdata = get( source, 'CData' );
+            if mean( cdata(:) ) < 0.5
+                % Make it brighter
+                cdata = 1-0.5*(1-cdata);
+                newCol = 1-0.5*(1-get( obj.UIContainer, 'BackgroundColor' ));
+            else
+                % Make it darker
+                cdata = 0.5*cdata;
+                newCol = 0.5*get( obj.UIContainer, 'BackgroundColor' );
+            end
+            set( source, ...
+                'BackgroundColor', newCol, ...
+                'ForegroundColor', newCol, ...
+                'CData', cdata );
+            obj.SelectedColumnDivider = source;
+        end % onColumnButtonDown
+        
+        function onColumnButtonMotion( obj, source, eventData ) %#ok<INUSD>
+            figh = ancestor( source, 'figure' );
+            cursorpos = get( figh, 'CurrentPoint' );
+            
+            % We need to gaurd against the focus having been lost. In this
+            % case we should have received a button-up event, but sometimes
+            % don't (at least on Windows).
+            if ishandle( obj.SelectedColumnDivider )
+                dividerpos = get( obj.SelectedColumnDivider, 'Position' );
+                pos0 = getpixelposition( obj.UIContainer, true );
+                dividerpos(1) = cursorpos(1) - pos0(1) - round(obj.Spacing/2) + 1;
+                                % Make sure that the position doesn't cause an element to
+                % shrink too much
+                minSizes = obj.MinimumColumnSizes(:);
+                pixSizes = uiextras.calculatePixelSizes( pos0(3), ...
+                    obj.ColumnSizes, minSizes, obj.Padding, obj.Spacing );
+
+                N = numel( minSizes );
+                % Sometimes the actual width is smaller than the minimum!
+                minSizes = min( minSizes, pixSizes );
+                whichDivider = getappdata( obj.SelectedColumnDivider, 'WhichDivider' );
+                minPos = ceil( obj.Padding ...
+                    + sum( pixSizes(1:whichDivider-1) ) ...
+                    + minSizes(whichDivider) ...
+                    + obj.Spacing*(whichDivider-0.5) );
+                dividerpos(1) = max( dividerpos(1), minPos );
+                if whichDivider<(N-1)
+                    maxPos = pos0(3) - floor( obj.Padding ...
+                        + sum( pixSizes(whichDivider+2:end) ) ...
+                        + minSizes(whichDivider+1) ...
+                        + obj.Spacing*(N-whichDivider-0.5) );
+                else
+                    % Final divider
+                    maxPos = pos0(3) - floor( obj.Padding ...
+                        + minSizes(whichDivider+1) ...
+                        + obj.Spacing*0.5 );
+                end
+                dividerpos(1) = min( dividerpos(1), maxPos );
+
+                set( obj.SelectedColumnDivider, 'Position', dividerpos );
+            else
+                % Divider has been lost, so we are in a bad state. The
+                % best we can do is kill the callbacks and attempt to put
+                % the figure back in a decent state.
+                set( figh, 'Pointer', 'arrow', ...
+                    'WindowButtonMotionFcn', [], ...
+                    'WindowButtonUpFcn', [] );
+            end
+        end % onColumnButtonMotion
+        
+        function onColumnButtonUp( obj, source, eventData, oldFigProps, oldState )
+            figh = ancestor( source, 'figure' );
+            % Deliberately call the motion function to ensure any last
+            % movement is captured
+            obj.onColumnButtonMotion( source, eventData );
+            
+            % Restore figure properties
+            flds = fieldnames( oldFigProps );
+            for ii=1:numel(flds)
+                set( figh, flds{ii}, oldFigProps.(flds{ii}) );
+            end
+            
+            % If the figure has an interaction mode set, re-set it now
+            if ~isempty( oldState )
+                switch upper( oldState )
+                    case 'ZOOM'
+                        zoom( figh, 'on' );
+                    case 'PAN'
+                        zoom( figh, 'on' );
+                    case 'ROTATE3D'
+                        rotate3d( figh, 'on' );
+                    otherwise
+                        error( 'GUILayout:InvalidState', 'Invalid interaction mode ''%s''.', oldState );
+                end
+            end
+            
+            % Work out which divider was moved and which are the resizable
+            % elements either side of it
+            whichDivider = getappdata( obj.SelectedColumnDivider, 'WhichDivider' );
+            origPos = getappdata( obj.SelectedColumnDivider, 'OriginalPosition' );
+            newPos = get( obj.SelectedColumnDivider, 'Position' );
+            obj.SelectedColumnDivider = -1;
+            delta = newPos(1) - origPos(1) - round(obj.Spacing/2) + 1;
+            sizes = obj.ColumnSizes;
+            
+            % Convert all flexible sizes into pixel units
+            totalPosition = ceil( getpixelposition( obj.UIContainer ) );
+            totalWidth = totalPosition(3);
+            widths = uiextras.calculatePixelSizes( totalWidth, ...
+                sizes, obj.MinimumColumnSizes, obj.Padding, obj.Spacing );
+            
+            leftelement = find( sizes(1:whichDivider)<0, 1, 'last' );
+            rightelement = find( sizes(whichDivider+1:end)<0, 1, 'first' )+whichDivider;
+            
+            % Now work out the new sizes. Note that we must ensure the size
+            % stays negative otherwise it'll stop being resizable
+            change = sum(sizes(sizes<0)) * delta / sum( widths(sizes<0) );
+            sizes(leftelement) = min( -0.000001, sizes(leftelement) + change );
+            sizes(rightelement) = min( -0.000001, sizes(rightelement) - change );
+            
+            % Setting the sizes will cause a redraw
+            obj.ColumnSizes = sizes;
+        end % onColumnButtonUp
+        
+        function onBackgroundColorChanged( obj, source, eventData ) %#ok<INUSD>
+            %onBackgroundColorChanged  Callback that fires when the container background color is changed
+            %
+            % We need to make the dividers match the background, so redarw
+            % them
+            obj.redraw();
+        end % onChildRemoved
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HBox.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HBox.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HBox.m	(revision 17)
@@ -0,0 +1,93 @@
+classdef HBox < uiextras.Box
+    %HBox  Arrange elements in a single horizontal row
+    %
+    %   obj = uiextras.HBox() creates a new horizontal box layout with
+    %   all parameters set to defaults. The output is a new layout object
+    %   that can be used as the parent for other user-interface components.
+    %
+    %   obj = uiextras.HBox(param,value,...) also sets one or more
+    %   parameter values.
+    %
+    %   See the <a href="matlab:doc uiextras.HBox">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> b = uiextras.HBox( 'Parent', f );
+    %   >> uicontrol( 'Parent', b, 'Background', 'r' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'b' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'g' )
+    %   >> set( b, 'Sizes', [-1 100 -2], 'Spacing', 5 );
+    %
+    %   >> f = figure();
+    %   >> b1 = uiextras.VBox( 'Parent', f );
+    %   >> b2 = uiextras.HBox( 'Parent', b1, 'Padding', 5, 'Spacing', 5 );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', b1, 'Background', 'r' )
+    %   >> uicontrol( 'Parent', b2, 'String', 'Button1' )
+    %   >> uicontrol( 'Parent', b2, 'String', 'Button2' )
+    %   >> set( b1, 'Sizes', [30 -1] );
+    %
+    %   See also: uiextras.VBox
+    %             uiextras.HBoxFlex
+    %             uiextras.Grid
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    methods
+        
+        function obj = HBox( varargin )
+            %HBox  Container with contents in a single horizontal row
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.Box( varargin{:} );
+            
+            % Set user-supplied property values
+            if nargin > 0
+                set( obj, varargin{:} );
+            end  
+        end % constructor
+        
+    end % public methods
+    
+    methods( Access = protected )
+        
+        function [widths,heights] = redraw( obj )
+            %REDRAW  Redraw container contents.
+            
+            % Get container width and height
+            totalPosition = ceil( getpixelposition( obj.UIContainer ) );
+            totalWidth = totalPosition(3);
+            totalHeight = totalPosition(4);
+            
+            % Get children
+            children = obj.getValidChildren();
+            nChildren = numel( children );
+            
+            % Get padding, spacing and sizes
+            padding = obj.Padding;
+            spacing = obj.Spacing;
+            
+            % Compute widths
+            widths = uiextras.calculatePixelSizes( totalWidth, ...
+                obj.Sizes, obj.MinimumSizes, padding, spacing );
+            
+            % Compute heights
+            heights = repmat( totalHeight - padding * 2, size( children ) );
+            heights = max( heights, 1 ); % minimum is 1 pixel
+            
+            % Compute and set new positions in pixels
+            for ii = 1:nChildren
+                child = children(ii);
+                newPosition = [sum( widths(1:ii-1) ) + padding + spacing * (ii-1) + 1, ...
+                    padding + 1, ...
+                    widths(ii), ...
+                    heights(ii)];
+                obj.repositionChild( child, newPosition )
+            end   
+        end % redraw
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HBoxFlex.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HBoxFlex.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HBoxFlex.m	(revision 17)
@@ -0,0 +1,297 @@
+classdef HBoxFlex < uiextras.HBox
+    %HBoxFlex  A dynamically resizable horizontal layout
+    %
+    %   obj = uiextras.HBoxFlex() creates a new dynamically resizable
+    %   horizontal box layout with all parameters set to defaults. The
+    %   output is a new layout object that can be used as the parent for
+    %   other user-interface components.
+    %
+    %   obj = uiextras.HBoxFlex(param,value,...) also sets one or more
+    %   parameter values.
+    %
+    %   See the <a href="matlab:doc uiextras.HBoxFlex">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure( 'Name', 'uiextras.HBoxFlex example' );
+    %   >> b = uiextras.HBoxFlex( 'Parent', f );
+    %   >> uicontrol( 'Parent', b, 'Background', 'r' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'b' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'g' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'y' )
+    %   >> set( b, 'Sizes', [-1 100 -2 -1], 'Spacing', 5 );
+    %
+    %   See also: uiextras.VBoxFlex
+    %             uiextras.HBox
+    %             uiextras.Grid
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties
+        ShowMarkings = 'on'  % Show markings on the draggable dividers [ on | off ]
+    end % public methods
+    
+    properties (Access=private)
+        Dividers = []
+        SelectedDivider = -1
+    end % private properties
+    
+    methods
+        
+        function obj = HBoxFlex( varargin )
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.HBox( varargin{:} );
+            
+            % Set some defaults
+            obj.setPropertyFromDefault( 'ShowMarkings' );
+            
+            % Set user-supplied property values
+            if nargin > 0
+                set( obj, varargin{:} );
+            end
+        end % constructor
+        
+    end % public methods
+    
+    methods
+        
+        function set.ShowMarkings( obj, value )
+            % Check
+            if ~ischar( value ) || ~ismember( lower( value ), {'on','off'} )
+                error( 'GUILayout:HBoxFlex:InvalidPropertyValue', ...
+                    'Property ''ShowMarkings'' may only be set to ''on'' or ''off''.' )
+            end
+            % Apply
+            obj.ShowMarkings = lower( value );
+            obj.redraw();
+        end % set.ShowMarkings
+    end % accessor methods
+    
+    methods( Access = protected )
+        
+        function redraw( obj )
+            %REDRAW  Redraw container contents.
+            
+            % First call the grid redraw
+            [widths,heights] = redraw@uiextras.HBox(obj);
+            sizes = obj.Sizes;
+            children = obj.getValidChildren();
+            nChildren = numel( children );
+            padding = obj.Padding;
+            spacing = obj.Spacing;
+            
+            % Now also add/update some dividers
+            mph = uiextras.MousePointerHandler( obj.Parent );
+            numDynamic = 0;
+            for ii = 1:nChildren-1
+                if any(sizes(1:ii)<0) && any(sizes(ii+1:end)<0)
+                    numDynamic = numDynamic + 1;
+                    % Both dynamic, so add a divider
+                    position = [sum( widths(1:ii) ) + padding + spacing * (ii-1) + 1, ...
+                        padding + 1, ...
+                        max(1,spacing), ...
+                        heights(ii)];
+                    % Create the divider widget
+                    if numDynamic > numel( obj.Dividers )
+                        obj.Dividers(numDynamic) = uiextras.makeFlexDivider( ...
+                            obj.UIContainer, ...
+                            position, ...
+                            get( obj.UIContainer, 'BackgroundColor' ), ...
+                            'Vertical', ...
+                            obj.ShowMarkings );
+                        set( obj.Dividers(numDynamic), 'ButtonDownFcn', @obj.onButtonDown, ...
+                            'Tag', 'UIExtras:HBoxFlex:Divider' );
+                        % Add it to the mouse-over handler
+                        mph.register( obj.Dividers(numDynamic), 'left' );
+                    else
+                        % Just update an existing divider
+                        uiextras.makeFlexDivider( ...
+                            obj.Dividers(numDynamic), ...
+                            position, ...
+                            get( obj.UIContainer, 'BackgroundColor' ), ...
+                            'Vertical', ...
+                            obj.ShowMarkings );
+                    end
+                    setappdata( obj.Dividers(numDynamic), 'WhichDivider', ii );
+                end
+            end
+            % Remove any excess dividers
+            if numel( obj.Dividers ) > numDynamic
+                delete( obj.Dividers(numDynamic+1:end) );
+                obj.Dividers(numDynamic+1:end) = [];
+            end
+        end % redraw
+        
+        function onButtonDown( obj, source, eventData ) %#ok<INUSD>
+            figh = ancestor( source, 'figure' );
+            % We need to store any existing motion callbacks so that we can
+            % restore them later.
+            oldProps = struct();
+            oldProps.WindowButtonMotionFcn = get( figh, 'WindowButtonMotionFcn' );
+            oldProps.WindowButtonUpFcn = get( figh, 'WindowButtonUpFcn' );
+            oldProps.Pointer = get( figh, 'Pointer' );
+            oldProps.Units = get( figh, 'Units' );
+            
+            % Make sure all interaction modes are off to prevent our
+            % callbacks being clobbered
+            zoomh = zoom( figh );
+            r3dh = rotate3d( figh );
+            panh = pan( figh );
+            oldState = '';
+            if isequal( zoomh.Enable, 'on' )
+                zoomh.Enable = 'off';
+                oldState = 'zoom';
+            end
+            if isequal( r3dh.Enable, 'on' )
+                r3dh.Enable = 'off';
+                oldState = 'rotate3d';
+            end
+            if isequal( panh.Enable, 'on' )
+                panh.Enable = 'off';
+                oldState = 'pan';
+            end
+            
+            % Now set the new callbacks
+            set( figh, ...
+                'WindowButtonMotionFcn', @obj.onButtonMotion, ...
+                'WindowButtonUpFcn', {@obj.onButtonUp, oldProps, oldState}, ...
+                'Pointer', 'left', ...
+                'Units', 'Pixels' );
+            % Make the divider visible
+            cdata = get( source, 'CData' );
+            if mean( cdata(:) ) < 0.5
+                % Make it brighter
+                cdata = 1-0.5*(1-cdata);
+                newCol = 1-0.5*(1-get( obj.UIContainer, 'BackgroundColor' ));
+            else
+                % Make it darker
+                cdata = 0.5*cdata;
+                newCol = 0.5*get( obj.UIContainer, 'BackgroundColor' );
+            end
+            
+            set( source, ...
+                'BackgroundColor', newCol, ...
+                'ForegroundColor', newCol, ...
+                'CData', cdata );
+            obj.SelectedDivider = source;
+        end % onButtonDown
+        
+        function onButtonMotion( obj, source, eventData ) %#ok<INUSD>
+            % First capture the current cursor position
+            figh = ancestor( source, 'figure' );
+            cursorpos = get( figh, 'CurrentPoint' );
+            pos0 = getpixelposition( obj.UIContainer, true );
+            
+            % We need to gaurd against the focus having been lost. In this
+            % case we should have received a button-up event, but sometimes
+            % don't (at least on Windows).
+            if ishandle( obj.SelectedDivider )
+                % All OK, so move it
+                dividerpos = get( obj.SelectedDivider, 'Position' );
+                dividerpos(1) = cursorpos(1) - pos0(1) - round(obj.Spacing/2) + 1;
+                
+                % Make sure that the position doesn't cause an element to
+                % shrink too much
+                minSizes = obj.MinimumSizes(:);
+                pixSizes = uiextras.calculatePixelSizes( pos0(3), ...
+                    obj.Sizes, minSizes, obj.Padding, obj.Spacing );
+
+                N = numel( minSizes );
+                % Sometimes the actual width is smaller than the minimum!
+                minSizes = min( minSizes, pixSizes );
+                whichDivider = getappdata( obj.SelectedDivider, 'WhichDivider' );
+                minPos = ceil( obj.Padding ...
+                    + sum( pixSizes(1:whichDivider-1) ) ...
+                    + minSizes(whichDivider) ...
+                    + obj.Spacing*(whichDivider-0.5) );
+                dividerpos(1) = max( dividerpos(1), minPos );
+                if whichDivider<(N-1)
+                    maxPos = pos0(3) - floor( obj.Padding ...
+                        + sum( pixSizes(whichDivider+2:end) ) ...
+                        + minSizes(whichDivider+1) ...
+                        + obj.Spacing*(N-whichDivider-0.5) );
+                else
+                    % Final divider
+                    maxPos = pos0(3) - floor( obj.Padding ...
+                        + minSizes(whichDivider+1) ...
+                        + obj.Spacing*0.5 );
+                end
+                dividerpos(1) = min( dividerpos(1), maxPos );
+                set( obj.SelectedDivider, 'Position', dividerpos );
+            else
+                % Divider has been lost, so we are in a bad state. The
+                % best we can do is kill the callbacks and attempt to put
+                % the figure back in a decent state.
+                set( figh, 'Pointer', 'arrow', ...
+                    'WindowButtonMotionFcn', [], ...
+                    'WindowButtonUpFcn', [] );
+            end
+        end % onButtonMotion
+        
+        function onButtonUp( obj, source, eventData, oldFigProps, oldState )
+            % Deliberately call the motion function to ensure any last
+            % movement is captured
+            obj.onButtonMotion( source, eventData );
+            
+            % Restore figure properties
+            figh = ancestor( source, 'figure' );
+            flds = fieldnames( oldFigProps );
+            for ii=1:numel(flds)
+                set( figh, flds{ii}, oldFigProps.(flds{ii}) );
+            end
+            
+            % If the figure has an interaction mode set, re-set it now
+            if ~isempty( oldState )
+                switch upper( oldState )
+                    case 'ZOOM'
+                        zoom( figh, 'on' );
+                    case 'PAN'
+                        pan( figh, 'on' );
+                    case 'ROTATE3D'
+                        rotate3d( figh, 'on' );
+                    otherwise
+                        error( 'GUILayout:InvalidState', 'Invalid interaction mode ''%s''.', oldState );
+                end
+            end
+            
+            % Work out which divider was moved and which are the resizable
+            % elements either side of it
+            newPos = get( obj.SelectedDivider, 'Position' );
+            origPos = getappdata( obj.SelectedDivider, 'OriginalPosition' );
+            whichDivider = getappdata( obj.SelectedDivider, 'WhichDivider' );
+            obj.SelectedDivider = -1;
+            delta = newPos(1) - origPos(1) - round(obj.Spacing/2) + 1;
+            sizes = obj.Sizes;
+            
+            % Convert all flexible sizes into pixel units
+            totalPosition = ceil( getpixelposition( obj.UIContainer ) );
+            totalWidth = totalPosition(3);
+            pixSizes = uiextras.calculatePixelSizes( totalWidth, ...
+                    obj.Sizes, obj.MinimumSizes, obj.Padding, obj.Spacing );
+            
+            leftelement = find( sizes(1:whichDivider)<0, 1, 'last' );
+            rightelement = find( sizes(whichDivider+1:end)<0, 1, 'first' )+whichDivider;
+            
+            % Now work out the new sizes. Note that we must ensure the size
+            % stays negative otherwise it'll stop being resizable
+            change = sum(sizes(sizes<0)) * delta / sum( pixSizes(sizes<0) );
+            sizes(leftelement) = min( -0.000001, sizes(leftelement) + change );
+            sizes(rightelement) = min( -0.000001, sizes(rightelement) - change );
+            
+            % Setting the sizes will cause a redraw
+            obj.Sizes = sizes;
+        end % onButtonUp
+        
+        function onBackgroundColorChanged( obj, source, eventData ) %#ok<INUSD>
+            %onBackgroundColorChanged  Callback that fires when the container background color is changed
+            %
+            % We need to make the dividers match the background, so redarw
+            % them
+            obj.redraw();
+        end % onChildRemoved
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HButtonBox.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HButtonBox.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/HButtonBox.m	(revision 17)
@@ -0,0 +1,106 @@
+classdef HButtonBox < uiextras.ButtonBox
+    %HButtonBox  Arrange buttons horizontally in a single row
+    %
+    %   obj = uiextras.HButtonBox() is a type of HBox specialised for
+    %   arranging a row of buttons, check-boxes or similar graphical
+    %   elements. All buttons are given equal size and by default are
+    %   centered in the drawing area. The justification can be changed as
+    %   required.
+    %
+    %   obj = uiextras.HButtonBox(param,value,...) also sets one or more
+    %   parameter values.
+    %
+    %   See the <a href="matlab:doc uiextras.HButtonBox">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> b = uiextras.HButtonBox( 'Parent', f );
+    %   >> uicontrol( 'Parent', b, 'String', 'One' );
+    %   >> uicontrol( 'Parent', b, 'String', 'Two' );
+    %   >> uicontrol( 'Parent', b, 'String', 'Three' );
+    %   >> set( b, 'ButtonSize', [130 35], 'Spacing', 5 );
+    %
+    %   See also: uiextras.VButtonBox
+    %             uiextras.HBox
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:59
+    
+    methods
+        
+        function obj = HButtonBox( varargin )
+            %HButtonBox  Create a new horizontal button box
+                        
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.ButtonBox( varargin{:} );
+
+            % Set properties
+            if nargin > 0
+                set( obj, varargin{:} );
+            end
+        end % constructor
+        
+    end % public methods
+    
+    methods( Access = protected )
+        
+        function redraw( obj )
+            % First we need to work out how much space is available - if
+            % there's not enough for the desired size then the buttons may
+            % have to shrink
+            children = obj.getValidChildren();
+            nChildren = numel( children );
+            pos = ceil( getpixelposition( obj.UIContainer ) );
+            availableWidth = pos(3) - 2*obj.Padding - (nChildren-1)*obj.Spacing;
+            availableHeight = pos(4) - 2*obj.Padding;
+            
+            buttonWidth = min( obj.ButtonSize(1), availableWidth/nChildren );
+            buttonHeight = min( obj.ButtonSize(2), availableHeight );
+            
+            % The positioning depends on the alignment
+            switch upper( obj.VerticalAlignment )
+                case 'TOP'
+                    y0 = pos(4) - obj.Padding - buttonHeight;
+                    
+                case 'MIDDLE'
+                    y0 = 1 + round( ( pos(4) - buttonHeight ) / 2 );
+                    
+                case 'BOTTOM'
+                    y0 = 1 + obj.Padding;
+                    
+                otherwise
+                    error( 'GUILayout:InvalidState', ...
+                        'Invalid vertical alignment ''%s''.', obj.VerticalAlignment )
+            end
+            
+            buttonsWidth = buttonWidth*nChildren + (nChildren-1)*obj.Spacing;
+            switch upper( obj.HorizontalAlignment )
+                case 'LEFT'
+                    x0 = 1+ obj.Padding;
+                    
+                case 'CENTER'
+                    x0 = 1 + round( (pos(3) - buttonsWidth ) / 2 );
+                    
+                case 'RIGHT'
+                    x0 = pos(3) - obj.Padding - buttonsWidth;
+                    
+                otherwise
+                    error( 'GUILayout:InvalidState', ...
+                        'Invalid horizontal alignment ''%s''.', obj.HorizontalAlignment )
+                    
+            end
+            
+            % OK, we now know the start coords, so position each child
+            children = obj.Children;
+            for ii=1:nChildren
+                contentPos = [x0 + (ii-1)*(obj.Spacing+buttonWidth), y0, buttonWidth, buttonHeight];
+                obj.repositionChild( children(ii), contentPos )
+            end
+            
+        end % redraw
+     
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/MousePointerHandler.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/MousePointerHandler.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/MousePointerHandler.m	(revision 17)
@@ -0,0 +1,146 @@
+classdef MousePointerHandler < handle
+    %MousePointerHandler  A class to handle mouse-over events
+    %
+    %   MousePointerHandler(fig) attaches the handler to the figure FIG
+    %   so that it will intercept all mouse-over events. The handler is
+    %   stored in the MousePointerHandler app-data of the figure so that
+    %   functions can listen in for scroll-events.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> u = uicontrol();
+    %   >> mph = uiextras.MousePointerHandler(f);
+    %   >> mph.register( u, 'fleur' )
+    %
+    %   See also: uiextras.ScrollWheelEvent
+    
+    %   Copyright 2008-2010 The MathWorks Ltd.
+    %   1.1   
+    %   2012/05/08 08:02:58
+    
+    properties( SetAccess = private, GetAccess = public )
+        CurrentObject
+    end % read-only public properties
+    
+    properties( SetAccess = private , GetAccess = private )
+        CurrentObjectPosition
+        OldPointer
+        Parent
+        List
+    end % private properties
+    
+    methods
+        
+        function obj = MousePointerHandler(fig)
+            % Check that a mouse-pointer-handler is not already there
+            if ~isa( fig, 'figure' )
+                fig = ancestor( fig, 'figure' );
+            end
+            if isappdata(fig,'MousePointerHandler')
+                obj = getappdata(fig,'MousePointerHandler');
+            else
+                set(fig,'WindowButtonMotionFcn', @obj.onMouseMoved);
+                setappdata(fig,'MousePointerHandler',obj);
+                obj.Parent = fig;
+            end
+        end % MousePointerHandler
+        
+        function register( obj, widget, pointer )
+            % We need to be sure to remove the entry if it dies
+            if isHGUsingMATLABClasses()
+                % New style
+                l = event.listener( widget, 'ObjectBeingDestroyed', @obj.onWidgetBeingDestroyedEvent );
+            else
+                % Old school
+                l = handle.listener( widget, 'ObjectBeingDestroyed', @obj.onWidgetBeingDestroyedEvent );
+            end
+            entry = struct( ...
+                'Widget', widget, ...
+                'Pointer', pointer, ...
+                'Listener', l );
+            if isempty(obj.List)
+                obj.List = entry;
+            else
+                obj.List(end+1,1) = entry;
+            end
+        end % register
+        
+    end % public methods
+    
+    methods( Access = private )
+        
+        function onMouseMoved( obj, src, evt ) %#ok<INUSD>
+            if isempty( obj.List )
+                return;
+            end
+            figh = obj.Parent;
+            figUnits = get( figh, 'Units' );
+            currpos = get( figh, 'CurrentPoint' );
+            if ~strcmpi( figUnits, 'Pixels' )
+                currpos = hgconvertunits( figh, [currpos,0,0], figUnits, 'pixels', 0 );
+            end
+            if ~isempty( obj.CurrentObjectPosition )
+                cop = obj.CurrentObjectPosition;
+                if currpos(1) >= cop(1) ...
+                        && currpos(1) < cop(1)+cop(3) ...
+                        && currpos(2) >= cop(2) ...
+                        && currpos(2) < cop(2)+cop(4)
+                    % Still inside, so do nothing
+                    return;
+                else
+                    % Left the object
+                    obj.leaveWidget()
+                end
+            end
+            % OK, now scan the objects to see if we're inside
+            for ii=1:numel(obj.List)
+                % We need to be careful of widgets that aren't capable of
+                % returning a PixelPosition
+                try
+                    widgetpos = getpixelposition( obj.List(ii).Widget, true );
+                    if currpos(1) >= widgetpos(1) ...
+                            && currpos(1) < widgetpos(1)+widgetpos(3) ...
+                            && currpos(2) >= widgetpos(2) ...
+                            && currpos(2) < widgetpos(2)+widgetpos(4)
+                        % Inside
+                        obj.enterWidget( obj.List(ii).Widget, widgetpos, obj.List(ii).Pointer )
+                        break; % we don't need to carry on looking
+                    end
+                catch err %#ok<NASGU>
+                    warning( 'MousePointerHandler:BadWidget', 'GETPIXELPOSITION failed for widget %d', ii )
+                end
+            end
+            
+        end % onMouseMoved
+        
+        function onWidgetBeingDestroyedEvent( obj, src,evt ) %#ok<INUSD>
+            idx = cellfun( @isequal, {obj.List.Widget}, repmat( {double(src)}, 1,numel(obj.List) ) );
+            obj.List(idx) = [];
+            % Also take care if it's the active object
+            if isequal( src, obj.CurrentObject )
+                obj.leaveWidget()
+            end
+        end % onWidgetBeingDestroyedEvent
+        
+        function enterWidget( obj, widget, pixpos, pointer )
+            % Mouse has moved onto a widget
+            obj.CurrentObjectPosition = pixpos;
+            obj.CurrentObject = widget;
+            obj.OldPointer = get( obj.Parent, 'Pointer' );
+            set( obj.Parent, 'Pointer', pointer );
+            %fprintf( 'Enter widget ''%s''\n', get( widget, 'Tag' ) );
+        end % enterWidget
+        
+        function leaveWidget( obj )
+            % Mouse has moved off a widget
+            %if ~isempty( obj.CurrentObject )
+            %    fprintf( 'Leave widget ''%s''\n', get( obj.CurrentObject, 'Tag' ) );
+            %end
+            obj.CurrentObjectPosition = [];
+            obj.CurrentObject = [];
+            set( obj.Parent, 'Pointer', obj.OldPointer );
+        end % leaveWidget
+        
+    end % private methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Panel.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Panel.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/Panel.m	(revision 17)
@@ -0,0 +1,215 @@
+classdef Panel < uiextras.CardPanel & uiextras.DecoratedPanel
+    %Panel  Show one element inside a panel
+    %
+    %   obj = uiextras.Panel() creates a standard UIPANEL object but with
+    %   automatic management of the contained widget or layout. The
+    %   properties available are largely the same as the builtin UIPANEL
+    %   object. Where more than one child is added, the currently visible
+    %   child is determined using the SelectedChild property.
+    %
+    %   obj = uiextras.Panel(param,value,...) also sets one or more
+    %   property values.
+    %
+    %   See the <a href="matlab:doc uiextras.Panel">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> p = uiextras.Panel( 'Parent', f, 'Title', 'A Panel', 'Padding', 5 );
+    %   >> uicontrol( 'Parent', p, 'Background', 'r' )
+    %
+    %   >> f = figure();
+    %   >> p = uiextras.Panel( 'Parent', f, 'Title', 'A Panel', 'Padding', 5 );
+    %   >> b = uiextras.HBox( 'Parent', p, 'Spacing', 5 );
+    %   >> uicontrol( 'Style', 'listbox', 'Parent', b, 'String', {'Item 1','Item 2'} );
+    %   >> uicontrol( 'Parent', b, 'Background', 'b' );
+    %   >> set( b, 'Sizes', [100 -1] );
+    %
+    %   See also: uipanel
+    %             uiextras.BoxPanel
+    %             uiextras.HBox
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties( Dependent = true )
+        BorderType      % Type of border around the uipanel area  [none|etchedin|etchedout|beveledin|beveledout|line]
+        BorderWidth     % Width of the panel border
+        Title           % Title string
+        TitlePosition   % Location of title string in relation to the panel [lefttop|centertop|righttop|leftbottom|centerbottom|rightbottom]
+    end % dependent properties
+    
+    methods
+        
+        function obj = Panel( varargin )
+            %PANEL constructor
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj = obj@uiextras.CardPanel( varargin{:} );
+            obj = obj@uiextras.DecoratedPanel( varargin{:} );
+            
+            set( obj.UIContainer, 'Title', '' );
+            
+            % Override base settings
+            obj.BorderType = 'etchedin';
+            obj.BorderWidth = 1;
+            obj.TitlePosition = 'lefttop';
+            
+            % See if the user has set any defaults
+            obj.setPropertyFromDefault( 'BorderType' );
+            obj.setPropertyFromDefault( 'BorderWidth' );
+            obj.setPropertyFromDefault( 'TitlePosition' );
+            
+            % Set user-supplied property values
+            if nargin > 0
+                set( obj, varargin{:} );
+            end
+        end % Panel
+        
+    end % public methods
+    
+    methods
+        
+        function value = get.BorderType( obj )
+            value = get( obj.UIContainer, 'BorderType' );
+        end % get.BorderType
+        
+        function set.BorderType( obj, value )
+            set( obj.UIContainer, 'BorderType', value );
+        end % set.BorderType
+        
+        function value = get.BorderWidth( obj )
+            value = get( obj.UIContainer, 'BorderWidth' );
+        end % get.BorderWidth
+        
+        function set.BorderWidth( obj, value )
+            set( obj.UIContainer, 'BorderWidth', value );
+            obj.redraw();
+        end % set.BorderWidth
+        
+        function value = get.Title( obj )
+            value = get( obj.UIContainer, 'Title' );
+        end % get.Title
+        
+        function set.Title( obj, value )
+            % Only need to redraw if changing to/from empty
+            oldValue = get( obj.UIContainer, 'Title' );
+            % Unfortunately setting the title creates a uicontrol that
+            % isn't tagged, so we have to set a flag so that we know to
+            % ignore it for resize purposes
+            setappdata( obj.UIContainer, 'PanelTitleCreate', true );
+            set( obj.UIContainer, 'Title', value );
+            rmappdata( obj.UIContainer, 'PanelTitleCreate' );
+            if isempty( value ) && ~isempty( oldValue )
+                obj.redraw();
+            elseif isempty( oldValue ) && ~isempty( value )
+                obj.redraw();
+            end
+        end % set.Title
+        
+        function value = get.TitlePosition( obj )
+            value = get( obj.UIContainer, 'TitlePosition' );
+        end % get.TitlePosition
+        
+        function set.TitlePosition( obj, value )
+            set( obj.UIContainer, 'TitlePosition', value );
+            obj.redraw();
+        end % set.TitlePosition
+        
+    end % accessor methods
+    
+    methods( Access = protected )
+        
+        function redraw( obj )
+            %redraw  Redraw the layout, positioning the children
+            
+            if isempty( obj.UIContainer ) || ~ishandle( obj.UIContainer )
+                return
+            end
+            
+            % The selected one inherits the visibility of the layout and
+            % fills the available space
+            oldUnits = obj.Units;
+            obj.Units = 'Pixels';
+            pos = getpixelposition( obj );
+            border = obj.BorderWidth+1+obj.Padding;
+            x0 = border;
+            y0 = border;
+            w = pos(3) - 2*border;
+            h = pos(4) - 2*border;
+            if ~isempty( obj.Title )
+                % Work out how much extra space to leave for the title
+                oldFontUnits = get( obj.UIContainer, 'FontUnits' );
+                set( obj.UIContainer, 'FontUnits', 'Pixels' );
+                % Get the height of the title (in pixels)
+                titleSize = get( obj.UIContainer, 'FontSize' );
+                % Put the old units back
+                set( obj.UIContainer, 'FontUnits', oldFontUnits );
+                
+                % Whether to move top or bottom depends on title
+                % position
+                if isempty( strfind( get( obj.UIContainer, 'TitlePosition' ), 'top' ) )
+                    % Title at the bottom
+                    h = h - titleSize;
+                    y0 = y0 + titleSize;
+                else
+                    % Title at the top
+                    h = h - titleSize;
+                end
+                
+            end
+            % Use the CardLayout function to put the right child onscreen
+            obj.showSelectedChild( [x0 y0 w h] );
+            obj.Units = oldUnits;
+        end % redraw
+        
+        function onChildAdded( obj, source, eventData ) %#ok<INUSD>
+            %onChildAdded: Callback that fires when a child is added to a container.
+            % Select the new addition
+            obj.SelectedChild = numel( obj.Children );
+        end % onChildAdded
+        
+        function onChildRemoved( obj, source, eventData ) %#ok<INUSL>
+            %onChildAdded: Callback that fires when a container child is destroyed or reparented.
+            % If the missing child is the selected one, select something else
+            if eventData.ChildIndex == obj.SelectedChild
+                if isempty( obj.Children )
+                    obj.SelectedChild = [];
+                else
+                    obj.SelectedChild = max( 1, obj.SelectedChild - 1 );
+                end
+            end
+        end % onChildRemoved
+        
+        function onEnable( obj, source, eventData ) %#ok<INUSD>
+            %onEnable  Callback that fires when the enable state is changed
+            t = findall( obj.UIContainer, ...
+                'Type', 'uicontrol', ...
+                'HandleVisibility', 'off', ...
+                'Parent', obj.UIContainer );
+            set( t, 'Enable', obj.Enable );
+        end % onChildRemoved
+        
+        function onBackgroundColorChanged( obj, source, eventData ) %#ok<INUSL>
+            %onBackgroundColorChanged  Callback that fires when the container background color is changed
+            %
+            % We need to make the panel match the container background
+            set( obj.UIContainer, 'BackgroundColor', eventData );
+        end % onChildRemoved
+        
+        function onPanelColorChanged( obj, source, eventData ) %#ok<INUSL>
+            % Colors have changed. This shouldn't require a redraw.
+            set( obj.UIContainer, eventData.Property, eventData.Value );
+        end % onPanelColorChanged
+        
+        function onPanelFontChanged( obj, source, eventData ) %#ok<INUSL>
+            % Font has changed. Since the font size and shape affects the
+            % space available for the contents, we need to redraw.
+            set( obj.UIContainer, eventData.Property, eventData.Value );
+            obj.redraw();
+        end % onPanelFontChanged
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/TabPanel.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/TabPanel.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/TabPanel.m	(revision 17)
@@ -0,0 +1,481 @@
+classdef TabPanel < uiextras.CardPanel & uiextras.DecoratedPanel
+    %TabPanel  Show one element inside a tabbed panel
+    %
+    %   obj = uiextras.TabPanel() creates a panel with tabs along one edge
+    %   to allow selection between the different child objects contained.
+    %
+    %   obj = uiextras.TabPanel(param,value,...) also sets one or more
+    %   property values.
+    %
+    %   See the <a href="matlab:doc uiextras.TabPanel">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> p = uiextras.TabPanel( 'Parent', f, 'Padding', 5 );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', p, 'Background', 'r' );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', p, 'Background', 'b' );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', p, 'Background', 'g' );
+    %   >> p.TabNames = {'Red', 'Blue', 'Green'};
+    %   >> p.SelectedChild = 2;
+    %
+    %   See also: uiextras.Panel
+    %             uiextras.BoxPanel
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    properties
+        TabSize = 50
+        TabPosition = 'top' % which side of the contents to put the tabs [top|bottom]
+    end % public properties
+    
+    properties( Dependent = true )
+        TabNames          % The title string for each tab
+        TabEnable = {}    % The enable state of individual tabs
+    end % dependent properties
+    
+    properties( SetAccess = private, GetAccess = private, Hidden = true )
+        Images_ = struct()
+        TabImage_ = []
+        PageLabels = []
+        PageEnable_ = {}
+    end % private properties
+    
+    
+    methods
+        
+        function obj = TabPanel(varargin)
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj = obj@uiextras.CardPanel( varargin{:} );
+            obj = obj@uiextras.DecoratedPanel( varargin{:} );
+            
+            % Get some defaults
+            bgcol = obj.BackgroundColor;
+            obj.HighlightColor = ( 2*[1 1 1] + bgcol )/3;
+            obj.ShadowColor    = 0.5*bgcol;
+
+            % Add a UIControl for drawing the tabs
+            obj.TabImage_ = uicontrol( ...
+                'Visible', 'on', ...
+                'units', 'pixels', ...
+                'Parent', obj.UIContainer, ...
+                'HandleVisibility', 'off', ...
+                'Position', [1 1 1 1], ...
+                'style', 'checkbox', ...
+                'Tag', 'uiextras.TabPanel:TabImage');
+            
+            % Make sure the images are loaded
+            obj.reloadImages();
+            
+            % Set some defaults
+            obj.setPropertyFromDefault( 'HighlightColor' );
+            obj.setPropertyFromDefault( 'ShadowColor' );            
+            obj.setPropertyFromDefault( 'TabPosition' );
+            obj.setPropertyFromDefault( 'TabSize' );
+
+            % Parse any input arguments
+            if nargin>0
+                set( obj, varargin{:} );
+            end
+            obj.redraw();
+        end % TabPanel
+        
+    end % public methods
+    
+    methods
+        
+        function set.TabSize(obj,value)
+            obj.TabSize = value;
+            obj.redraw();
+        end % set.TabSize
+        
+        function set.TabPosition(obj,value)
+            if ~ischar( value ) || ~ismember( lower( value ), {'top','bottom'} )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''TabPosition'' must be ''top'' or ''bottom''.' );
+            end
+            obj.TabPosition = [upper( value(1) ),lower( value(2:end) )];
+            obj.redraw();
+        end % set.TabPosition
+        
+        function value = get.TabNames( obj )
+            if isempty( obj.PageLabels )
+                value = {};
+            elseif numel( obj.PageLabels ) == 1
+                value = {get( obj.PageLabels, 'String' )};
+            else
+                value = get( obj.PageLabels, 'String' )';
+            end
+        end % get.TabNames
+        
+        function set.TabNames(obj,value)
+            if ~iscell( value ) || numel( value )~=numel( obj.Children )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''TabNames'' must be a cell array of strings the same size as property ''Children''.' )
+            end
+            for ii=1:numel( obj.Children )
+                set( obj.PageLabels(ii), 'String', value{ii} );
+            end
+        end % set.TabNames
+
+        function value = get.TabEnable(obj)
+            value = obj.PageEnable_;
+        end % get.TabEnable
+
+        function set.TabEnable(obj,value)
+            if ~iscell( value ) || numel( value )~=numel( obj.Children ) ...
+                    || any( ~ismember( lower(value), {'on','off'} ) )
+                error( 'GUILayout:InvalidPropertyValue', ...
+                    'Property ''TabEnable'' must be a cell array of ''on''/''off'' the same size as property ''Children''.' )
+            end
+            obj.PageEnable_ = lower( value );
+            if strcmpi( obj.Enable, 'on' )
+                obj.onEnable();
+            end
+        end % set.TabEnable
+        
+    end % accessor methods
+    
+    methods ( Access = protected )
+        
+        function redraw(obj)
+            %redraw  Redraw the tabs and contents
+            
+            % Check the object exists (may be being deleted!)
+            if isempty(obj.TabImage_) || ~ishandle(obj.TabImage_)
+                return;
+            end
+            
+            C = obj.Children;
+            T = obj.TabNames;
+            
+            % Make sure label array is right size
+            nC = numel(C);
+            nT = numel(T);
+            
+            if nC==0 || nT~=nC
+                return
+            end
+            pos = getpixelposition( obj.UIContainer );
+            
+            pad = obj.Padding;
+            
+            % Calculate the required height from the font size
+            oldFontUnits = get( obj.PageLabels(1), 'FontUnits' );
+            set( obj.PageLabels(1), 'FontUnits', 'Pixels' );
+            fontHeightPix = get( obj.PageLabels(1), 'FontSize' );
+            set( obj.PageLabels(1), 'FontUnits', oldFontUnits );
+            tabHeight = ceil( 1.5*fontHeightPix + 4 );
+            
+            % Work out where the tabs labels and contents go
+            if strcmpi( obj.TabPosition, 'Top' )
+                tabPos = [1 1+pos(4)-tabHeight, pos(3), tabHeight+2];
+                contentPos = [pad+1 pad+1 pos(3)-2*pad pos(4)-2*pad-tabHeight];
+            else
+                tabPos = [1 1, pos(3), tabHeight+2];
+                contentPos = [pad+1 tabHeight+pad+1 pos(3)-2*pad pos(4)-2*pad-tabHeight];
+            end
+            
+            % Shorthand for colouring things in
+            fgCol = obj.BackgroundColor;
+            bgCol = obj.BackgroundColor;
+            shCol = 0.9*obj.BackgroundColor;
+            
+            totalWidth = round( tabPos(3)-1 );
+            divWidth = 8;
+            textWidth = obj.TabSize;
+            if textWidth<0
+                % This means we should fill the space
+                textWidth = floor( (totalWidth - (nC+1)*divWidth) / nC );
+            end
+            textPos = [tabPos(1:2), textWidth, tabHeight - 4];
+            
+            if ~isempty( obj.SelectedChild )
+                % The tabs are drawn as a single image
+                tabCData(:,:,1) = bgCol(1)*ones(20,totalWidth);
+                tabCData(:,:,2) = bgCol(2)*ones(20,totalWidth);
+                tabCData(:,:,3) = bgCol(3)*ones(20,totalWidth);
+                set( obj.TabImage_, 'Position', [tabPos(1:2),totalWidth,tabHeight] );
+                
+                % Use the CardLayout function to put the right child onscreen
+                obj.showSelectedChild( contentPos )
+                
+                % Now update the tab image
+                tabCData(:,1:divWidth,:) = obj.Images_.NonNot;
+                for ii=1:nC
+                    x = divWidth+(divWidth+textWidth)*(ii-1)+1;
+                    set( obj.PageLabels(ii), ...
+                        'Position', textPos+[x,0,0,0] );
+                    % BJT: Fix bug where text renders off edge of container
+                    if (textPos(1)+x >= totalWidth )
+                        set( obj.PageLabels(ii), 'Visible', 'off' );
+                    else
+                        set( obj.PageLabels(ii), 'Visible', 'on' );
+                        rhs = textPos(1)+x+textPos(3);
+                        if ( rhs > totalWidth )
+                            % Text is partially off the edge
+                            set( obj.PageLabels(ii), 'Position', textPos+[x,0,totalWidth-rhs,0] );
+                        end
+                    end
+                    
+                    if ii==obj.SelectedChild,
+                        set( obj.PageLabels(ii), ...
+                            'ForegroundColor', obj.ForegroundColor, ...
+                            'BackgroundColor', fgCol);
+                        % Set the dividers to show the right image
+                        tabCData(:,x:x+textWidth-1,:) = repmat(obj.Images_.SelBack,1,textWidth);
+                        if ii==1
+                            tabCData(:,x-divWidth:x-1,:) = obj.Images_.NonSel;
+                        else
+                            tabCData(:,x-divWidth:x-1,:) = obj.Images_.NotSel;
+                        end
+                        if ii==nC
+                            tabCData(:,x+textWidth:x+textWidth+divWidth-1,:) = obj.Images_.SelNon;
+                        else
+                            tabCData(:,x+textWidth:x+textWidth+divWidth-1,:) = obj.Images_.SelNot;
+                        end
+                    else
+                        set( obj.PageLabels(ii), ...
+                            'ForegroundColor', 0.6*obj.ForegroundColor + 0.4*shCol, ...
+                            'BackgroundColor', shCol );
+                        tabCData(:,x:x+textWidth-1,:) = repmat(obj.Images_.NotBack,1,textWidth);
+                        if ii==nC
+                            tabCData(:,x+textWidth:x+textWidth+divWidth-1,:) = obj.Images_.NotNon;
+                        else
+                            tabCData(:,x+textWidth:x+textWidth+divWidth-1,:) = obj.Images_.NotNot;
+                        end
+                    end
+                end % For
+                
+                % Stretch the CData to match the fontsize
+                if tabHeight ~= 20
+                    topbot = min( round( tabHeight/2 ), 5 );
+                    midsz = tabHeight - 2*topbot;
+                    topData = tabCData(1:topbot,:,:);
+                    bottomData = tabCData(end-topbot+1:end,:,:);
+                    midData = repmat( tabCData(10,:,:), [midsz,1,1] );
+                    tabCData = [ topData ; midData ; bottomData ];
+                end
+                
+                if strcmpi( obj.TabPosition, 'Top' )
+                    set( obj.TabImage_, 'CData', tabCData );
+                else
+                    set( obj.TabImage_, 'CData', flipdim( tabCData, 1 ) );
+                end
+            end
+            
+            
+            % Make sure the text labels are top of the stack
+            %             ch = get( obj.TabContainer_, 'Children' );
+            %             if numel( ch ) > 1
+            %                 labs = ismember( get(ch,'Style'), 'text' );
+            %             else
+            %                 labs = strcmpi( get(ch,'Style'), 'text' );
+            %             end
+            %             set( obj.TabContainer_, 'Children', [flipud(ch(labs));ch(~labs)] ); % Note the flip is needed so that the text always redraws
+        end % redraw
+        
+        function onChildAdded( obj, source, eventData ) %#ok<INUSD>
+            %onChildAdded: Callback that fires when a child is added to a container.
+            % Select the new addition
+            C = obj.Children;
+            N = numel( C );
+            visible = obj.Visible;
+            title = sprintf( 'Page %d', N );
+            
+            obj.PageLabels(end+1,1) = uicontrol( ...
+                'Visible', visible, ...
+                'style', 'text', ...
+                'enable', 'inactive', ...
+                'string', title, ...
+                'FontName', obj.FontName, ...
+                'FontUnits', obj.FontUnits, ...
+                'FontSize', obj.FontSize, ...
+                'FontAngle', obj.FontAngle, ...
+                'FontWeight', obj.FontWeight, ...
+                'ForegroundColor', obj.ForegroundColor, ...
+                'parent', obj.UIContainer, ...
+                'HandleVisibility', 'off', ...
+                'ButtonDownFcn', {@iTabClicked, obj, N});
+            obj.PageEnable_{1,end+1} = 'on';
+            if strcmpi( obj.Enable, 'off' )
+                set( obj.PageLabels(end), 'Enable', 'off' );
+            end
+            obj.SelectedChild = N;
+        end % onChildAdded
+        
+        function onChildRemoved( obj, source, eventData ) %#ok<INUSL>
+            %onChildAdded: Callback that fires when a container child is destroyed or reparented.
+            % If the missing child is the selected one, select something else
+            obj.TabNames( eventData.ChildIndex ) = [];
+            obj.PageEnable_( eventData.ChildIndex ) = [];
+            delete( obj.PageLabels(end) );
+            obj.PageLabels(end) = [];
+            if obj.SelectedChild >= eventData.ChildIndex
+                % Changing the selection will force a redraw
+                if isempty( obj.Children )
+                    obj.SelectedChild = [];
+                else
+                    obj.SelectedChild = max( 1, obj.SelectedChild - 1 );
+                end
+            else
+                % We don't need to change the selection, so explicitly
+                % redraw
+                obj.redraw();
+            end
+        end % onChildRemoved
+        
+        function onBackgroundColorChanged( obj, source, eventData ) %#ok<INUSD>
+            %onBackgroundColorChanged  Callback that fires when the container background color is changed
+            %
+            % We need to make the panel match the container background
+            obj.reloadImages();
+            obj.redraw();
+        end % onBackgroundColorChanged
+        
+        function onPanelColorChanged( obj, source, eventData ) %#ok<INUSD>
+            % Colors have changed. This requires the images to be reset and
+            % redrawn.
+            obj.reloadImages();
+            obj.redraw();
+        end % onPanelColorChanged
+        
+        function onPanelFontChanged( obj, source, eventData ) %#ok<INUSL>
+            % Font has changed. Since the font size and shape affects the
+            % space available for the contents, we need to redraw.
+            for ii=1:numel( obj.PageLabels )
+                set( obj.PageLabels(ii), eventData.Property, eventData.Value );
+            end
+            obj.redraw();
+        end % onPanelFontChanged
+        
+        function onEnable( obj, source, eventData ) %#ok<INUSD>
+            % We use "inactive" to be the "on" state
+            if strcmpi( obj.Enable, 'on' )
+                % Take notice of the individual enable states. Where the
+                % page is to be enabled we set the title uicontrol to be
+                % inactive rather than on to avoid mouse-over problems.
+                hittest = obj.PageEnable_;
+                enable = strrep( obj.PageEnable_, 'on', 'inactive' );
+                for jj=1:numel( obj.PageLabels )
+                    set( obj.PageLabels(jj), ...
+                        'Enable', enable{jj}, ...
+                        'HitTest', hittest{jj} ); 
+                    % Since the panel as a whole is on, we may need to
+                    % switch off some children
+                    obj.helpSetChildEnable( obj.Children(jj), hittest{jj} );
+                end
+            else
+                for jj=1:numel( obj.PageLabels )
+                    set( obj.PageLabels(jj), 'Enable', 'off', 'HitTest', 'off' );
+                end
+            end
+        end % onEnable
+        
+        function reloadImages( obj )
+            % Reload tab images
+            
+            % If any of the colours are not yet constructed, stop now
+            if isempty( obj.TabImage_ ) ...
+                    || isempty( obj.HighlightColor ) ...
+                    || isempty( obj.ShadowColor )
+                return;
+            end
+            
+            % First part of the name says which type of right-hand edge is needed
+            % (non = no edge, not = not selected, sel = selected), second gives
+            % left-hand
+            obj.Images_.NonSel = iLoadIcon( 'tab_NoEdge_Selected.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            obj.Images_.SelNon = iLoadIcon( 'tab_Selected_NoEdge.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            obj.Images_.NonNot = iLoadIcon( 'tab_NoEdge_NotSelected.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            obj.Images_.NotNon = iLoadIcon( 'tab_NotSelected_NoEdge.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            obj.Images_.NotSel = iLoadIcon( 'tab_NotSelected_Selected.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            obj.Images_.SelNot = iLoadIcon( 'tab_Selected_NotSelected.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            obj.Images_.NotNot = iLoadIcon( 'tab_NotSelected_NotSelected.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            obj.Images_.SelBack = iLoadIcon( 'tab_Background_Selected.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            obj.Images_.NotBack = iLoadIcon( 'tab_Background_NotSelected.png', ...
+                obj.BackgroundColor, obj.HighlightColor, obj.ShadowColor );
+            
+        end % reloadImages
+        
+    end % protected methods
+    
+end % classdef
+
+%-------------------------------------------------------------------------%
+
+function im = iLoadIcon(imagefilename, backgroundcolor, highlightcolor, shadowcolor )
+% Special image loader that turns various primary colours into background
+% colours.
+
+error( nargchk( 4, 4, nargin, 'struct' ) );
+
+% Load an icon and set the transparent color
+this_dir = fileparts( mfilename( 'fullpath' ) );
+icon_dir = fullfile( this_dir, 'Resources' );
+im8 = imread( fullfile( icon_dir, imagefilename ) );
+im = double(im8)/255;
+rows = size(im,1);
+cols = size(im,2);
+
+% Anything that's pure green goes to transparent
+f=find((im8(:,:,1)==0) & (im8(:,:,2)==255) & (im8(:,:,3)==0));
+im(f) = nan;
+im(f + rows*cols) = nan;
+im(f + 2*rows*cols) = nan;
+
+% Anything pure red goes to selected background
+f=find((im8(:,:,1)==255) & (im8(:,:,2)==0) & (im8(:,:,3)==0));
+im(f) = backgroundcolor(1);
+im(f + rows*cols) = backgroundcolor(2);
+im(f + 2*rows*cols) = backgroundcolor(3);
+
+% Anything pure blue goes to background background
+f=find((im8(:,:,1)==0) & (im8(:,:,2)==0) & (im8(:,:,3)==255));
+im(f) = backgroundcolor(1);
+im(f + rows*cols) = backgroundcolor(2);
+im(f + 2*rows*cols) = backgroundcolor(3);
+
+% Anything pure yellow goes to deselected background
+f=find((im8(:,:,1)==255) & (im8(:,:,2)==255) & (im8(:,:,3)==0));
+im(f) = 0.9*backgroundcolor(1);
+im(f + rows*cols) = 0.9*backgroundcolor(2);
+im(f + 2*rows*cols) = 0.9*backgroundcolor(3);
+
+% Anything pure white goes to highlight
+f=find((im8(:,:,1)==255) & (im8(:,:,2)==255) & (im8(:,:,3)==255));
+im(f) = highlightcolor(1);
+im(f + rows*cols) = highlightcolor(2);
+im(f + 2*rows*cols) = highlightcolor(3);
+
+% Anything pure black goes to shadow
+f=find((im8(:,:,1)==0) & (im8(:,:,2)==0) & (im8(:,:,3)==0));
+im(f) = shadowcolor(1);
+im(f + rows*cols) = shadowcolor(2);
+im(f + 2*rows*cols) = shadowcolor(3);
+
+end % iLoadIcon
+
+%-------------------------------------------------------------------------%
+
+function iTabClicked( src, evt, obj, idx ) %#ok<INUSL>
+
+% Call the user callback before selecting the tab
+evt = struct( ...
+    'Source', obj, ...
+    'PreviousChild', obj.SelectedChild, ...
+    'SelectedChild', idx );
+uiextras.callCallback( obj.Callback, obj, evt );
+obj.SelectedChild = idx;
+
+end % iTabClicked
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VBox.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VBox.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VBox.m	(revision 17)
@@ -0,0 +1,95 @@
+classdef VBox < uiextras.Box
+    %VBox  Arrange elements vertically in a single column
+    %
+    %   obj = uiextras.VBox() creates a new vertical box layout with
+    %   all parameters set to defaults. The output is a new layout object
+    %   that can be used as the parent for other user-interface components.
+    %
+    %   obj = uiextras.VBox(param,value,...) also sets one or more
+    %   parameter values.
+    %
+    %   See the <a href="matlab:doc uiextras.VBox">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> b = uiextras.VBox( 'Parent', f );
+    %   >> uicontrol( 'Parent', b, 'Background', 'r' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'b' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'g' )
+    %   >> set( b, 'Sizes', [-1 100 -2], 'Spacing', 5 );
+    %
+    %   >> f = figure();
+    %   >> b1 = uiextras.VBox( 'Parent', f );
+    %   >> b2 = uiextras.HBox( 'Parent', b1, 'Padding', 5, 'Spacing', 5 );
+    %   >> uicontrol( 'Style', 'frame', 'Parent', b1, 'Background', 'r' )
+    %   >> uicontrol( 'Parent', b2, 'String', 'Button1' )
+    %   >> uicontrol( 'Parent', b2, 'String', 'Button2' )
+    %   >> set( b1, 'Sizes', [30 -1] );
+    %
+    %   See also: uiextras.HBox
+    %             uiextras.VBoxFlex
+    %             uiextras.Grid
+    
+    %  Copyright 2009 The MathWorks, Inc.
+    %  1.1 2012/05/08 08:02:58
+    
+    %% Public methods
+    methods
+        
+        function obj = VBox( varargin )
+            %VBOX  Container with contents in a single vertical row.
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.Box( varargin{:} );
+ 
+            % Set properties
+            if nargin > 0
+                set( obj, varargin{:} );
+            end
+        end % constructor
+        
+    end % public methods
+    
+    %% Protected methods
+    methods( Access = protected )
+        
+        function [widths,heights] = redraw( obj )
+            %REDRAW  Redraw container contents.
+            
+            % Get container width and height
+            totalPosition = ceil( getpixelposition( obj.UIContainer ) );
+            totalWidth = totalPosition(3);
+            totalHeight = totalPosition(4);
+            
+            % Get children
+            children = obj.getValidChildren();
+            nChildren = numel( children );
+            
+            % Get padding, spacing and sizes
+            padding = obj.Padding;
+            spacing = obj.Spacing;
+            
+            % Compute widths
+            widths = repmat( totalWidth - padding * 2, size( children ) );
+            widths = max( widths, 1 ); % minimum is 1 pixel
+            
+            % Compute heights
+            heights = uiextras.calculatePixelSizes( totalHeight, ...
+                obj.Sizes, obj.MinimumSizes, padding, spacing );
+            
+            % Compute and set new positions in pixels
+            for ii = 1:nChildren
+                child = children(ii);
+                newPosition = [padding + 1, ...
+                    totalHeight - sum( heights(1:ii) ) - padding - spacing*(ii-1) + 1, ...
+                    widths(ii), ...
+                    heights(ii)];
+                obj.repositionChild( child, newPosition );
+            end
+            
+        end % redraw
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VBoxFlex.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VBoxFlex.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VBoxFlex.m	(revision 17)
@@ -0,0 +1,306 @@
+classdef VBoxFlex < uiextras.VBox
+    %VBoxFlex  A dynamically resizable vertical layout
+    %
+    %   obj = uiextras.VBoxFlex() creates a new dynamically resizable
+    %   vertical box layout with all parameters set to defaults. The output
+    %   is a new layout object that can be used as the parent for other
+    %   user-interface components.
+    %
+    %   obj = uiextras.VBoxFlex(param,value,...) also sets one or more
+    %   parameter values.
+    %
+    %   See the <a href="matlab:doc uiextras.VBoxFlex">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure( 'Name', 'uiextras.VBoxFlex example' );
+    %   >> b = uiextras.VBoxFlex( 'Parent', f );
+    %   >> uicontrol( 'Parent', b, 'Background', 'r' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'b' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'g' )
+    %   >> uicontrol( 'Parent', b, 'Background', 'y' )
+    %   >> set( b, 'Sizes', [-1 100 -2 -1], 'Spacing', 5 );
+    %
+    %   See also: uiextras.HBoxFlex
+    %             uiextras.VBox
+    %             uiextras.Grid
+    
+    %   Copyright 2009 The MathWorks, Inc.
+    %   1.1 
+    %   2012/05/08 08:02:58
+    
+    properties
+        ShowMarkings = 'on'  % Show markings on the draggable dividers [on|off]
+    end % public methods
+    
+    properties( SetAccess = private, GetAccess = private )
+        Dividers = []
+        SelectedDivider = -1
+    end % private properties
+    
+    methods
+        
+        function obj = VBoxFlex( varargin )
+            %VBoxFlex  Create a VBoxFlex layout
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.VBox( varargin{:} );
+
+            % Set some defaults
+            obj.setPropertyFromDefault( 'ShowMarkings' );
+            
+            % Set user-supplied property values
+            if nargin > 0
+                set( obj, varargin{:} );
+            end
+        end % constructor
+        
+    end % public methods
+    
+    methods
+        
+        function set.ShowMarkings( obj, value )
+            % Check
+            if ~ischar( value ) || ~ismember( lower( value ), {'on','off'} )
+                error( 'GUILayout:VBoxFlex:InvalidArgument', ...
+                    'Property ''ShowMarkings'' may only be set to ''on'' or ''off''.' )
+            end
+            % Apply
+            obj.ShowMarkings = lower( value );
+            obj.redraw();
+        end % set.ShowMarkings
+        
+    end % accessor methods
+        
+    methods( Access = protected )
+        
+        function redraw( obj )
+            %redraw  Redraw container contents.
+            
+            % First simply call the grid redraw
+            [widths,heights] = redraw@uiextras.VBox(obj);
+            sizes = obj.Sizes;
+            nChildren = numel( obj.getValidChildren() );
+            padding = obj.Padding;
+            spacing = obj.Spacing;
+            
+            % Get container width and height
+            totalPosition = ceil( getpixelposition( obj.UIContainer ) );
+            totalHeight = totalPosition(4);
+            
+            % Now also add some dividers
+            mph = uiextras.MousePointerHandler( obj.Parent );
+            numDynamic = 0;
+            for ii = 1:nChildren-1
+                if any(sizes(1:ii)<0) && any(sizes(ii+1:end)<0)
+                    numDynamic = numDynamic + 1;
+                    % Both dynamic, so add a divider
+                    position = [padding + 1, ...
+                        totalHeight - sum( heights(1:ii) ) - padding - spacing*ii + 1, ...
+                        widths(ii), ...
+                        max(1,spacing)];
+                    % Create the divider widget
+                    if numDynamic > numel( obj.Dividers )
+                        obj.Dividers(numDynamic) = uiextras.makeFlexDivider( ...
+                            obj.UIContainer, ...
+                            position, ...
+                            get( obj.UIContainer, 'BackgroundColor' ), ...
+                            'Horizontal', ...
+                            obj.ShowMarkings );
+                        set( obj.Dividers(numDynamic), 'ButtonDownFcn', @obj.onButtonDown, ...
+                            'Tag', 'UIExtras:VBoxFlex:Divider' );
+                        % Add it to the mouse-over handler
+                        mph.register( obj.Dividers(numDynamic), 'top' );
+                    else
+                        % Just update an existing divider
+                        uiextras.makeFlexDivider( ...
+                            obj.Dividers(numDynamic), ...
+                            position, ...
+                            get( obj.UIContainer, 'BackgroundColor' ), ...
+                            'Horizontal', ...
+                            obj.ShowMarkings );
+                    end
+                    setappdata( obj.Dividers(numDynamic), 'WhichDivider', ii );
+                end
+            end
+            % Remove any excess dividers
+            if numel( obj.Dividers ) > numDynamic
+                delete( obj.Dividers(numDynamic+1:end) );
+                obj.Dividers(numDynamic+1:end) = [];
+            end
+        end % redraw
+        
+        function onButtonDown( obj, source, eventData ) %#ok<INUSD>
+            %onButtonDown  user has clicked on a divider
+            
+            figh = ancestor( source, 'figure' );
+            % We need to store any existing motion callbacks so that we can
+            % restore them later.
+            oldProps = struct();
+            oldProps.WindowButtonMotionFcn = get( figh, 'WindowButtonMotionFcn' );
+            oldProps.WindowButtonUpFcn = get( figh, 'WindowButtonUpFcn' );
+            oldProps.Pointer = get( figh, 'Pointer' );
+            oldProps.Units = get( figh, 'Units' );
+
+            % Make sure all interaction modes are off to prevent our
+            % callbacks being clobbered
+            zoomh = zoom( figh );
+            r3dh = rotate3d( figh );
+            panh = pan( figh );
+            oldState = '';
+            if isequal( zoomh.Enable, 'on' )
+                zoomh.Enable = 'off';
+                oldState = 'zoom';
+            end
+            if isequal( r3dh.Enable, 'on' )
+                r3dh.Enable = 'off';
+                oldState = 'rotate3d';
+            end
+            if isequal( panh.Enable, 'on' )
+                panh.Enable = 'off';
+                oldState = 'pan';
+            end
+            
+            % Set our new callbacks
+            set( figh, ...
+                'WindowButtonMotionFcn', @obj.onButtonMotion, ...
+                'WindowButtonUpFcn', {@obj.onButtonUp, oldProps, oldState}, ...
+                'Pointer', 'top', ...
+                'Units', 'Pixels' );
+            
+            % Make the divider visible
+            cdata = get( source, 'CData' );
+            if mean( cdata(:) ) < 0.5
+                % Make it brighter
+                cdata = 1-0.5*(1-cdata);
+                newCol = 1-0.5*(1-get( obj.UIContainer, 'BackgroundColor' ));
+            else
+                % Make it darker
+                cdata = 0.5*cdata;
+                newCol = 0.5*get( obj.UIContainer, 'BackgroundColor' );
+            end
+            
+            set( source, ...
+                'BackgroundColor', newCol, ...
+                'ForegroundColor', newCol, ...
+                'CData', cdata );
+            
+            obj.SelectedDivider = source;
+        end % onButtonDown
+        
+        function onButtonMotion( obj, source, eventData ) %#ok<INUSD>
+            %onButtonMotion  user is dragging a divider
+            figh = ancestor( source, 'figure' );
+            cursorpos = get( figh, 'CurrentPoint' );
+            pos0 = getpixelposition( obj.UIContainer, true );
+            
+            % We need to gaurd against the focus having been lost. In this
+            % case we should have received a button-up event, but sometimes
+            % don't (at least on Windows).
+            if ishandle( obj.SelectedDivider )
+                dividerpos = get( obj.SelectedDivider, 'Position' );
+                dividerpos(2) = cursorpos(2) - pos0(2) - round(obj.Spacing/2) + 1;
+                % Make sure that the position doesn't cause an element to
+                % shrink too much
+                minSizes = obj.MinimumSizes(:);
+                pixSizes = uiextras.calculatePixelSizes( pos0(4), ...
+                    obj.Sizes, minSizes, obj.Padding, obj.Spacing );
+                N = numel( minSizes );
+                % Sometimes the actual width is smaller than the minimum!
+                minSizes = min( minSizes, pixSizes );
+                whichDivider = getappdata( obj.SelectedDivider, 'WhichDivider' );
+                minPos = pos0(4) - ceil( obj.Padding ...
+                    + sum( pixSizes(1:whichDivider-1) ) ...
+                    + minSizes(whichDivider) ...
+                    + obj.Spacing*(whichDivider-0.5) );
+                dividerpos(2) = min( dividerpos(2), minPos );
+                if whichDivider<(N-1)
+                    maxPos = floor( obj.Padding ...
+                        + sum( pixSizes(whichDivider+2:end) ) ...
+                        + minSizes(whichDivider+1) ...
+                        + obj.Spacing*(N-whichDivider-0.5) );
+                else
+                    % Final divider
+                    maxPos = floor( obj.Padding ...
+                        + minSizes(whichDivider+1) ...
+                        + obj.Spacing*0.5 );
+                end
+                dividerpos(2) = max( dividerpos(2), maxPos );
+                set( obj.SelectedDivider, 'Position', dividerpos );
+            else
+                % Divider has been lost, so we are in a bad state. The
+                % best we can do is kill the callbacks and attempt to put
+                % the figure back in a decent state.
+                set( figh, 'Pointer', 'arrow', ...
+                    'WindowButtonMotionFcn', [], ...
+                    'WindowButtonUpFcn', [] );
+            end
+        end % onButtonMotion
+        
+        function onButtonUp( obj, source, eventData, oldFigProps, oldState )
+            %onButtonUp  user has finished dragging a divider
+            
+            % Deliberately call the motion function to ensure any last
+            % movement is captured
+            obj.onButtonMotion( source, eventData );
+            
+             % Restore figure properties
+            figh = ancestor( source, 'figure' );
+            flds = fieldnames( oldFigProps );
+            for ii=1:numel(flds)
+                set( figh, flds{ii}, oldFigProps.(flds{ii}) );
+            end
+            
+            % If the figure has an interaction mode set, re-set it now
+            if ~isempty( oldState )
+                switch upper( oldState )
+                    case 'ZOOM'
+                        zoom( figh, 'on' );
+                    case 'PAN'
+                        pan( figh, 'on' );
+                    case 'ROTATE3D'
+                        rotate3d( figh, 'on' );
+                    otherwise
+                        error( 'GUILayout:FlexLayout:BadInteractionMode', 'Interaction mode ''%s'' not recognised', oldState );
+                end
+            end
+            
+            % Work out which divider was moved and which are the resizable
+            % elements either side of it
+            newPos = get( obj.SelectedDivider, 'Position' );
+            origPos = getappdata( obj.SelectedDivider, 'OriginalPosition' );
+            whichDivider = getappdata( obj.SelectedDivider, 'WhichDivider' );
+            obj.SelectedDivider = -1;
+            delta = newPos(2) - origPos(2);
+            sizes = obj.Sizes;
+            % Convert all flexible sizes into pixel units
+            totalPosition = ceil( getpixelposition( obj.UIContainer ) );
+            totalHeight = totalPosition(4);
+            heights = uiextras.calculatePixelSizes( totalHeight, ...
+                    obj.Sizes, obj.MinimumSizes, obj.Padding, obj.Spacing );
+
+            
+            bottomelement = find( sizes(1:whichDivider)<0, 1, 'last' );
+            topelement = find( sizes(whichDivider+1:end)<0, 1, 'first' )+whichDivider;
+            
+            % Now work out the new sizes. Note that we must ensure the size
+            % stays negative otherwise it'll stop being resizable
+            change = sum(sizes(sizes<0)) * delta / sum( heights(sizes<0) );
+            sizes(topelement) = min( -0.000001, sizes(topelement) + change );
+            sizes(bottomelement) = min( -0.000001, sizes(bottomelement) - change );
+            
+            % Setting the sizes will cause a redraw
+            obj.Sizes = sizes;
+        end % onButtonUp
+        
+        function onBackgroundColorChanged( obj, source, eventData ) %#ok<INUSD>
+            %onBackgroundColorChanged  Callback that fires when the container background color is changed
+            %
+            % We need to make the dividers match the background, so redarw
+            % them
+            obj.redraw();
+        end % onChildRemoved
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VButtonBox.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VButtonBox.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/VButtonBox.m	(revision 17)
@@ -0,0 +1,107 @@
+classdef VButtonBox < uiextras.ButtonBox
+    %VButtonBox  Arrange buttons vertically in a single column
+    %
+    %   obj = uiextras.VButtonBox() is a type of VBox specialised for
+    %   arranging a column of buttons, check-boxes or similar graphical
+    %   elements. All buttons are given equal size and by default are
+    %   centered in the drawing area. The justification can be changed as
+    %   required.
+    %
+    %   obj = uiextras.VButtonBox(param,value,...) also sets one or more
+    %   parameter values.
+    %
+    %   See the <a href="matlab:doc uiextras.VButtonBox">documentation</a> for more detail and the list of properties.
+    %
+    %   Examples:
+    %   >> f = figure();
+    %   >> b = uiextras.VButtonBox( 'Parent', f );
+    %   >> uicontrol( 'Parent', b, 'String', 'One' );
+    %   >> uicontrol( 'Parent', b, 'String', 'Two' );
+    %   >> uicontrol( 'Parent', b, 'String', 'Three' );
+    %   >> set( b, 'ButtonSize', [130 35], 'Spacing', 5 );
+    %
+    %   See also: uiextras.HButtonBox
+    %             uiextras.VBox
+    
+    %   Copyright 2009-2010 The MathWorks, Inc.
+    %   1.1
+    %   2012/05/08 08:02:58
+    
+    methods
+        
+        function obj = VButtonBox( varargin )
+            %VButtonBox  Create a new horizontal button box
+            
+            % First step is to create the parent class. We pass the
+            % arguments (if any) just incase the parent needs setting
+            obj@uiextras.ButtonBox( varargin{:} );
+
+            % Set properties
+            if nargin > 0
+                set( obj, varargin{:} );
+            end
+        end % constructor
+        
+    end % public methods
+    
+    methods( Access = protected )
+        
+        function redraw( obj )
+            % First we need to work out how much space is available - if
+            % there's not enough for the desired size then the buttons may
+            % have to shrink
+            children = obj.getValidChildren();
+            nChildren = numel( children );
+            pos = ceil( getpixelposition( obj.UIContainer ) );
+            availableWidth = pos(3) - 2*obj.Padding;
+            availableHeight = pos(4) - 2*obj.Padding - (nChildren-1)*obj.Spacing;
+            
+            buttonWidth = min( obj.ButtonSize(1), availableWidth );
+            buttonHeight = min( obj.ButtonSize(2), availableHeight/nChildren );
+            
+            % The positioning depends on the alignment
+            buttonsHeight = buttonHeight*nChildren + (nChildren-1)*obj.Spacing;
+            switch upper( obj.VerticalAlignment )
+                case 'TOP'
+                    y0 = pos(4) - obj.Padding - buttonsHeight;
+                    
+                case 'MIDDLE'
+                    y0 = 1 + round( ( pos(4) - buttonsHeight ) / 2 );
+                    
+                case 'BOTTOM'
+                    y0 = 1 + obj.Padding;
+                    
+                otherwise
+                    error( 'GUILayout:InvalidState', ...
+                        'Invalid vertical alignment ''%s''.', obj.VerticalAlignment )
+                    
+            end
+            
+            switch upper( obj.HorizontalAlignment )
+                case 'LEFT'
+                    x0 = 1+ obj.Padding;
+                    
+                case 'CENTER'
+                    x0 = 1 + round( (pos(3) - buttonWidth ) / 2 );
+                    
+                case 'RIGHT'
+                    x0 = pos(3) - obj.Padding - buttonWidth;
+                    
+                otherwise
+                    error( 'GUILayout:InvalidState', ...
+                        'Invalid horizontal alignment ''%s''.', obj.HorizontalAlignment )
+                    
+            end
+            
+            % OK, we now know the start coords, so position each child
+            for ii=1:nChildren
+                child = children(nChildren-ii+1);
+                contentPos = [x0, y0 + (ii-1)*(obj.Spacing+buttonHeight), buttonWidth, buttonHeight];
+                obj.repositionChild( child, contentPos )
+            end
+            
+        end % redraw
+        
+    end % protected methods
+    
+end % classdef
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/calculatePixelSizes.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/calculatePixelSizes.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/calculatePixelSizes.m	(revision 17)
@@ -0,0 +1,46 @@
+function pixSizes = calculatePixelSizes( availableSize, sizes, minSizes, padding, spacing )
+%calculatePixelSizes  convert flexible sizes into pixel sizes
+    
+%   Copyright 2009-2011 The MathWorks, Inc.
+%   1.1 
+%   2012/05/08 08:02:58
+
+
+
+%calculatePixelSizes
+nChildren = numel( sizes );
+pixSizes = zeros( numel( sizes ), 1 ); % initialize
+minSizes = minSizes(:);
+
+% First set the fixed-size components
+fixed = ( sizes >= 0 );
+pixSizes(fixed) = sizes(fixed);
+
+% Now split the remaining space between any flexible ones
+flexible = ( sizes<0 );
+flexSize = availableSize ...
+    - sum( sizes(fixed) ) ...     % space taken by fixed components
+    - spacing * (nChildren-1) ... % space taken by the spacing
+    - padding * 2;                % space around the edge
+pixSizes(flexible) = sizes(flexible) / sum( sizes(flexible) ) * flexSize;
+
+% Now look for any that are below their minimum size
+tooSmall = (pixSizes < minSizes);
+while any( tooSmall )
+    flexSize = flexSize - sum( minSizes(tooSmall) );
+    flexible(tooSmall) = false;
+    pixSizes(tooSmall) = minSizes(tooSmall);
+    pixSizes(flexible) = sizes(flexible) / sum( sizes(flexible) ) * flexSize;
+    tooSmall = (pixSizes < minSizes);
+end
+
+% If we didn't manage to fit, reduce all sizes by a bit until
+% we do
+if sum( pixSizes ) > availableSize
+    reduction = availableSize / sum( pixSizes );
+    pixSizes = pixSizes * reduction;
+end
+
+% Finally, to prevent errors, don't allow anything to be smaller than 1 pixel
+pixSizes = max( pixSizes, 1 );
+end % calculatePixelSizes
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/callCallback.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/callCallback.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/callCallback.m	(revision 17)
@@ -0,0 +1,56 @@
+function varargout = callCallback( callback, varargin )
+%callCallback  Try to call a callback function or method
+%
+%   uiextras.callback(@FCN,ARG1,ARG2,...) calls the function
+%   specified by the supplied function handle @FCN, passing it the supplied
+%   extra arguments.
+%
+%   uiextras.callback(FCNCELL,ARG1,ARG2,...) calls the function
+%   specified by the first item in cell array FCNCELL, passing the extra
+%   arguments ARG1, ARG2 etc before any additional arguments in the cell
+%   array.
+%
+%   uiextras.callback(FUNCNAME,ARG1,ARG2,...) calls the function
+%   specified by the string FUNCNAME, passing the supplied extra arguments.
+%
+%   [OUT1,OUT2,...] = uiextras.callback(...) also captures return
+%   arguments. Note that the function called must provide exactly the right
+%   number of output arguments.
+%
+%   Use this function to handle firing callbacks from widgets.
+%
+%   Examples:
+%   >> callback = {@horzcat, 5, 6};
+%   >> c = uiextras.callCallback( callback, 1, 2, 3, 4 )
+%   c =
+%       1  2  3  4  5  6
+%
+%   See also: function_handle
+
+%   Copyright 2009-2010 The MathWorks, Inc.
+%   1.1
+%   2012/05/08 08:02:58
+
+if isempty( callback ) % empty
+    
+    return
+    
+elseif iscell( callback ) % cell array
+    
+    inargs = [callback(1), varargin, callback(2:end)];
+    
+elseif ischar( callback ) && any( ismember( callback, ' =' ) ) % expression
+    
+    eval( callback );
+    return
+    
+else % function handle or string
+    
+    inargs = [{callback}, varargin];
+    
+end
+
+% Call callback
+[varargout{1:nargout}] = feval( inargs{:} );
+
+end % callCallback
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/findArg.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/findArg.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/findArg.m	(revision 17)
@@ -0,0 +1,30 @@
+function value = findArg( argname, varargin )
+%findArg  Find a specific property value from a property-value pairs list
+%
+%   value = findParentArg(propname,varargin) parses the inputs as property-value
+%   pairs looking for the named property. If found, the corresponding
+%   value is returned. If not found an empty array is returned.
+%
+%   Examples:
+%   >> uiextras.findArg('Parent','Padding',5,'Parent',1,'Visible','on')
+%   ans =
+%     1
+
+%   Copyright 2009-2010 The MathWorks, Inc.
+%   1.1
+%   2012/05/08 08:02:58
+
+error( nargchk( 1, inf, nargin, 'struct' ) );
+
+value = [];
+if nargin>1
+    props = varargin(1:2:end);
+    values = varargin(2:2:end);
+    if ( numel( props ) ~= numel( values ) ) || any( ~cellfun( @ischar, props ) )
+        error( 'GUILayout:InvalidSyntax', 'Arguments must be supplied as property-value pairs.' );
+    end
+    myArg = find( strcmpi( props, argname ), 1, 'last' );
+    if ~isempty( myArg )
+        value = values{myArg};
+    end
+end
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/get.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/get.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/get.m	(revision 17)
@@ -0,0 +1,55 @@
+function propValue = get( hObj, propName )
+%uiextras.get  Retrieve a default property value from a parent object
+%
+%   propValue = uiextras.get(hObj,propName) retrieves a default property
+%   value from the object hObj. Note that the hObj must be a valid graphics
+%   container object such as a uipanel, figure or the special flag 0 (the
+%   overall environment). The property name should take the form
+%   "DefaultClassProperty", for example to get the default "TitleColor" for
+%   the class "uiextras.BoxPanel", use "DefaultBoxPanelTitleColor". If no
+%   default has been set for the specified property an error is thrown.
+%
+%   Examples:
+%   >> p = uiextras.get( gcf(), 'DefaultBoxPanelTitleColor' )
+%   
+%   >> p = uiextras.get( 0, 'DefaultHBoxPadding' )
+%
+%   See also: uiextras.set
+
+%   Copyright 2010 The MathWorks, Inc.
+%   1.1
+%   2012/05/08 08:02:58
+
+% Check inputs
+error( nargchk( 2, 2, nargin ) );
+if isempty( hObj )
+    hObj = 0;
+end
+if strncmpi( class( hObj ), 'uiextras.', 9 )
+    hObj = double( hObj );
+end
+if ~isequal( hObj, 0 ) && ~ishghandle( hObj )
+    error( 'GUILayout:InvalidArgument', 'Object must be a valid Handle Graphics object.' );
+end
+if ~ischar( propName )
+    error( 'GUILayout:InvalidArgument', 'Property name must be a string.' )
+end
+
+% Make sure the property requested is a default
+if ~strncmp( propName, 'Default', 7 )
+    error( 'GUILayout:InvalidArgument', 'Property name must begin with ''Default''.' )
+end
+
+% All OK, so set it
+propValue = getappdata( hObj, propName );
+
+% If not found, try the parent
+while isempty( propValue ) && ~isequal( hObj, 0 )
+    hObj = get( hObj, 'Parent' );
+    propValue = getappdata( hObj, propName );
+end
+
+if isempty( propValue )
+    error( 'GUILayout:get:ItemNotFound', ...
+        'Could not find a value for property ''%s'' in the ancestors of this object.', propName );
+end
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/interpretColor.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/interpretColor.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/interpretColor.m	(revision 17)
@@ -0,0 +1,103 @@
+function col = interpretColor(str)
+%interpretColor  Interpret a color as an RGB triple
+%
+%   rgb = uiextras.interpretColor(col) interprets the input color COL and
+%   returns the equivalent RGB triple. COL can be one of:
+%   * RGB triple of floating point numbers in the range 0 to 1
+%   * RGB triple of UINT8 numbers in the range 0 to 255
+%   * single character: 'r','g','b','m','y','c','k','w'
+%   * string: one of 'red','green','blue','magenta','yellow','cyan','black'
+%             'white'
+%   * HTML-style string (e.g. '#FF23E0')
+%
+%   Examples:
+%   >> uiextras.interpretColor( 'r' )
+%   ans =
+%        1   0   0
+%   >> uiextras.interpretColor( 'cyan' )
+%   ans =
+%        0   1   1
+%   >> uiextras.interpretColor( '#FF23E0' )
+%   ans =
+%        1.0000    0.1373    0.8784
+%
+%   See also: ColorSpec
+
+%   Copyright 2005-2010 The MathWorks Ltd.
+%   1.1
+%   2012/05/08 08:02:58
+
+if ischar( str )
+    str = strtrim(str);
+    str = dequote(str);
+    if str(1)=='#'
+        % HTML-style string
+        if numel(str)==4
+            col = [hex2dec( str(2) ), hex2dec( str(3) ), hex2dec( str(4) )]/15;
+        elseif numel(str)==7
+            col = [hex2dec( str(2:3) ), hex2dec( str(4:5) ), hex2dec( str(6:7) )]/255;
+        else
+            error( 'UIExtras:interpretColor:BadColor', 'Invalid HTML color %s', str );
+        end
+    elseif all( ismember( str, '1234567890.,; []' ) )
+        % Try the '[0 0 1]' thing first
+        col = str2num( str ); %#ok<ST2NM>
+        if numel(col) == 3
+            % Conversion worked, so just check for silly values
+            col(col<0) = 0;
+            col(col>1) = 1;
+        end
+    else
+        % that didn't work, so try the name
+        switch upper(str)
+            case {'R','RED'}
+                col = [1 0 0];
+            case {'G','GREEN'}
+                col = [0 1 0];
+            case {'B','BLUE'}
+                col = [0 0 1];
+            case {'C','CYAN'}
+                col = [0 1 1];
+            case {'Y','YELLOW'}
+                col = [1 1 0];
+            case {'M','MAGENTA'}
+                col = [1 0 1];
+            case {'K','BLACK'}
+                col = [0 0 0];
+            case {'W','WHITE'}
+                col = [1 1 1];
+            case {'N','NONE'}
+                col = [nan nan nan];
+            otherwise
+                % Failed
+                error( 'UIExtras:interpretColor:BadColor', 'Could not interpret color %s', num2str( str ) );
+        end
+    end
+elseif isfloat(str) || isdouble(str)
+    % Floating point, so should be a triple in range 0 to 1
+    if numel(str)==3
+        col = double( str );
+        col(col<0) = 0;
+        col(col>1) = 1;
+    else
+        error( 'UIExtras:interpretColor:BadColor', 'Could not interpret color %s', num2str( str ) );
+    end
+elseif isa(str,'uint8')
+    % UINT8, so range is implicit
+    if numel(str)==3
+        col = double( str )/255;
+        col(col<0) = 0;
+        col(col>1) = 1;
+    else
+        error( 'UIExtras:interpretColor:BadColor', 'Could not interpret color %s', num2str( str ) );
+    end
+else
+    error( 'UIExtras:interpretColor:BadColor', 'Could not interpret color %s', num2str( str ) );
+end
+
+
+function str = dequote(str)
+str(str=='''') = [];
+str(str=='"') = [];
+str(str=='[') = [];
+str(str==']') = [];
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/loadLayoutIcon.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/loadLayoutIcon.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/loadLayoutIcon.m	(revision 17)
@@ -0,0 +1,91 @@
+function cdata = loadLayoutIcon(imagefilename,bgcol)
+%loadLayoutIcon  Load an icon and set the transparent color
+%
+%   cdata = uiextras.loadLayoutIcon(filename) tries to load the icon specified by
+%   filename. If the icon is a PNG file with transparency then transparent
+%   pixels are set to NaN. If not, then any pixel that is pure green is set
+%   to transparent (i.e. "green screen"). The resulting CDATA is an RGB
+%   double array.
+%
+%   cdata = uiextras.loadLayoutIcon(filename,bgcol) tries to merge with the
+%   specified background colour bgcol. Fully transparent pixels are still
+%   set to NaN, but partially transparent ones are merged with the
+%   background.
+%
+%   See also: IMREAD
+
+%   Copyright 2005-2010 The MathWorks Ltd.
+%   1.1    
+%   2012/05/08 08:02:58
+
+
+error( nargchk( 1, 2, nargin ) );
+if nargin < 2
+    bgcol = get( 0, 'DefaultUIControlBackgroundColor' );
+end
+
+% First try normally
+this_dir = fileparts( mfilename( 'fullpath' ) );
+icon_dir = fullfile( this_dir, 'Resources' );
+if exist( imagefilename, 'file' )
+    [cdata,map,alpha] = imread( imagefilename );
+elseif exist( fullfile( icon_dir, imagefilename ), 'file' )
+    [cdata,map,alpha] = imread( fullfile( icon_dir, imagefilename ));
+else
+    error( 'GUILayout:loadIcon:FileNotFound', 'Cannot open file ''%s''.', imagefilename );
+end
+
+if ~isempty( map )
+    cdata = ind2rgb( cdata, map );
+end
+
+% Convert to double before applying transparency
+cdata = convertToDouble( cdata );
+
+[rows,cols,depth] = size( cdata ); %#ok<NASGU>
+if ~isempty( alpha )
+alpha = convertToDouble( alpha );
+    f = find( alpha==0 );
+    if ~isempty( f )
+        cdata(f) = nan;
+        cdata(f + rows*cols) = nan;
+        cdata(f + 2*rows*cols) = nan;
+    end
+    
+    % Now blend partial alphas
+    f = find( alpha(:)>0 & alpha(:)<1 );
+    if ~isempty(f)
+        cdata(f) = cdata(f).*alpha(f) + bgcol(1)*(1-alpha(f));
+        cdata(f + rows*cols) = cdata(f + rows*cols).*alpha(f) + bgcol(2)*(1-alpha(f));
+        cdata(f + 2*rows*cols) = cdata(f + 2*rows*cols).*alpha(f) + bgcol(3)*(1-alpha(f));
+    end
+    
+else
+    % Instead do a "green screen", treating anything pure-green as transparent
+    f = find((cdata(:,:,1)==0) & (cdata(:,:,2)==1) & (cdata(:,:,3)==0));
+    cdata(f) = nan;
+    cdata(f + rows*cols) = nan;
+    cdata(f + 2*rows*cols) = nan;
+    
+end
+
+%-------------------------------------------------------------------------%
+function cdata = convertToDouble( cdata )
+% Convert an image to double precision in the range 0 to 1
+switch lower( class( cdata ) )
+    case 'double'
+    % Do nothing
+    case 'single'
+        cdata = double( cdata );
+    case 'uint8'
+        cdata = double( cdata ) / 255;
+    case 'uint16'
+        cdata = double( cdata ) / 65535;
+    case 'int8'
+        cdata = ( double( cdata ) + 128 ) / 255;
+    case 'int16'
+        cdata = ( double( cdata ) + 32768 ) / 65535;
+    otherwise
+        error( 'GUILayout:LoadIcon:BadCData', ...
+            'Image data of type ''%s'' is not supported.', class( cdata ) );
+end
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/makeFlexDivider.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/makeFlexDivider.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/makeFlexDivider.m	(revision 17)
@@ -0,0 +1,98 @@
+function uic = makeFlexDivider( parent, position, bgCol, orientation, showMarks )
+%makeFlexDivider  Create a divider widget and add markings if desired
+%
+%   This function is for internal use only.
+%
+%   See also: uiextras.VBoxFlex
+%             uiextras.HBoxFlex
+%             uiextras.GridFlex
+
+%   Copyright 2010 The MathWorks, Inc.
+%   1.1
+%   2012/05/08 08:02:58
+
+error( nargchk( 5, 5, nargin, 'struct' ) );
+
+if strcmpi( showMarks, 'off' ) || position(3)<3 || position(4)<3
+    % No amarkings or too small to show them, so draw a blank
+    cdata = ones( position(4)-1, position(3)-1 ); % One less than the space since uicontrols always start with a blank pixel
+    cdata = cat( 3, cdata*bgCol(1), cdata*bgCol(2), cdata*bgCol(3) );
+else
+    
+    % Make the divider slightly darker than it's surroundings
+    bgCol = 0.97*bgCol;
+    
+    % Determine the highlight and lowlight colors and create an empty image
+    hiCol = 1-0.2*(1-bgCol);
+    loCol = 0.8*bgCol;
+    fgCol = 1-0.7*(1-bgCol);
+    cdata = ones( position(4)-1, position(3)-1 ); % One less than the space since uicontrols always start with a blank pixel
+    cdata = cat( 3, cdata*bgCol(1), cdata*bgCol(2), cdata*bgCol(3) );
+    
+    % Fill central region with foreground color. Note that the top and left get
+    % a spare pixel anyway, so start at 1,1.
+    cdata(1:end-1,1:end-1,1) = fgCol(1);
+    cdata(1:end-1,1:end-1,2) = fgCol(2);
+    cdata(1:end-1,1:end-1,3) = fgCol(3);
+    
+    % Add fletchings if there's space
+    if strcmpi( orientation, 'Vertical' )
+        % Vertical divider requires horizontal fletchings
+        numFletches = min( 10, floor( position(4)/6 ) ); % Fill no more than half the space (3 pixels per mark, so divide by 6)
+        y0 = round( (position(4)-numFletches*3 ) / 2 );
+        for ii=1:numFletches
+            y = y0+(ii-1)*3;
+            % Add highlight
+            cdata(y,1:end-1,1) = hiCol(1);
+            cdata(y,1:end-1,2) = hiCol(2);
+            cdata(y,1:end-1,3) = hiCol(3);
+            % Add shadow
+            cdata(y+1,1:end-1,1) = loCol(1);
+            cdata(y+1,1:end-1,2) = loCol(2);
+            cdata(y+1,1:end-1,3) = loCol(3);
+        end
+    else
+        % Horizontal divider requires vertical fletchings
+        numFletches = min( 10, floor( position(3)/6 ) ); % Fill no more than half the space (3 pixels per mark, so divide by 6)
+        x0 = round( (position(3)-numFletches*3 ) / 2 );
+        for ii=1:numFletches
+            x = x0+(ii-1)*3;
+            % Add highlight
+            cdata(1:end-1,x,1) = hiCol(1);
+            cdata(1:end-1,x,2) = hiCol(2);
+            cdata(1:end-1,x,3) = hiCol(3);
+            % Add shadow
+            cdata(1:end-1,x+1,1) = loCol(1);
+            cdata(1:end-1,x+1,2) = loCol(2);
+            cdata(1:end-1,x+1,3) = loCol(3);
+        end
+        
+    end
+end
+
+% If the first argument is a divider, we update it, otherwise create from
+% scratch.
+if strcmpi( get( parent, 'Type' ), 'UIControl' )
+    % Update existing
+    set( parent, ...
+        'BackgroundColor', bgCol, ...
+        'ForegroundColor', bgCol, ...
+        'CData', cdata, ...
+        'Position', position );
+    uic = parent;
+else
+    % Create the widget
+    uic = uicontrol( 'Parent', parent, ...
+        'Style', 'Checkbox', ...
+        'BackgroundColor', bgCol, ...
+        'ForegroundColor', bgCol, ...
+        'CData', cdata, ...
+        'HitTest', 'on', ...
+        'Enable', 'inactive', ...
+        'Units', 'Pixels', ...
+        'Position', position, ...
+        'HandleVisibility', 'off' );
+end
+
+% Store the original position for later
+setappdata( uic, 'OriginalPosition', position );
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/set.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/set.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/set.m	(revision 17)
@@ -0,0 +1,43 @@
+function set( hObj, propName, propValue )
+%uiextras.set  Store a default property value in a parent object
+%
+%   uiextras.set(hObj,propName,propValue) stores a default property value
+%   in the object hObj such that children created inside it of the correct
+%   class will use the specified value (propValue) for the specified
+%   property by default. The property name should take the form
+%   "DefaultClassProperty", for example to set the default "TitleColor" for
+%   the class "uiextras.BoxPanel", use "DefaultBoxPanelTitleColor". Note
+%   that using the special object handle 0 sets the default for all new
+%   figures.
+%
+%   Examples:
+%   >> uiextras.set( gcf(), 'DefaultBoxPanelTitleColor', 'g' )
+%   >> uiextras.set( 0, 'DefaultHBoxPadding', 5 )
+%
+%   See also: uiextras.get
+%             uiextras.unset
+
+%   Copyright 2010 The MathWorks, Inc.
+%   1.1
+%   2012/05/08 08:02:58
+
+% Check inputs
+error( nargchk( 3, 3, nargin, 'struct' ) )
+
+if isa( hObj, 'uiextras.Container' )
+    hObj = double( hObj );
+end
+if ~isequal( hObj, 0 ) && ~ishghandle( hObj )
+    error( 'GUILayout:InvalidArgument', 'Object must be a valid Handle Graphics object.' )
+end
+if ~ischar( propName )
+    error( 'GUILayout:InvalidArgument', 'Property name must be a string.' )
+end
+
+% Make sure the property requested is a default
+if ~strncmp( propName, 'Default', 7 )
+    error( 'GUILayout:InvalidArgument', 'Property name must begin with ''Default''.' )
+end
+
+% All OK, so set it
+setappdata( hObj, propName, propValue );
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/unset.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/unset.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/+uiextras/unset.m	(revision 17)
@@ -0,0 +1,52 @@
+function unset( hObj, propName )
+%uiextras.unset  Clear a default property value from a parent object
+%
+%   uiextras.unset(hObj,propName) clears a default property value from the
+%   object hObj. Note that the hObj must be a valid graphics container
+%   object such as a uipanel, figure or the special flag 0 (the overall
+%   environment. If a default has been set for the specified property
+%   (propName) of the specified layout (className), it is removed.
+%
+%   Examples:
+%   >> uiextras.unset( gcf(), 'DefaultBoxPanelTitleColor' )
+%
+%   See also: uiextras.set
+%             uiextras.get
+
+%   Copyright 2010 The MathWorks, Inc.
+%   1.1
+%   2012/05/08 08:02:58
+
+% Check inputs
+error( nargchk( 2, 2, nargin ) );
+if isempty( hObj )
+    hObj = 0;
+end
+if strncmpi( class( hObj ), 'uiextras.', 9 )
+    hObj = double( hObj );
+end
+if ~isequal( hObj, 0 ) && ~ishghandle( hObj )
+    error( 'GUILayout:InvalidArgument', 'Object must be a valid Handle Graphics object.' );
+end
+if ~ischar( propName )
+    error( 'GUILayout:InvalidArgument', 'Property name must be a string.' )
+end
+
+% Make sure the property requested is a default
+if ~strncmp( propName, 'Default', 7 )
+    error( 'GUILayout:InvalidArgument', 'Property name must begin with ''Default''.' )
+end
+
+% Try to remove appdata
+while true
+    if isappdata( hObj, propName ) % appdata found
+        rmappdata( hObj, propName ); % remove
+        break % done
+    elseif isempty( get( hObj, 'Parent' ) ) % cannot look higher than root
+        error( 'GUILayout:get:ItemNotFound', ...
+            'Could not find a value for property ''%s'' in the ancestors of this object.', propName );
+    else % continue one level up
+        hObj = get( hObj, 'Parent' );
+        continue
+    end
+end
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/Patch/README.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/Patch/README.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/Patch/README.txt	(revision 17)
@@ -0,0 +1,3 @@
+This folder contains revised versions of MATLAB built-in functions that
+have unresolved issues for these layouts. As the issues are fixed these 
+functions will be removed.
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/install.bat
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/install.bat	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/install.bat	(revision 17)
@@ -0,0 +1,2 @@
+matlab -nosplash -nodesktop -r "install;exit"
+quit
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/install.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/install.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/install.m	(revision 17)
@@ -0,0 +1,44 @@
+function install()
+%install  add the layout package to the MATLAB path
+%
+%   install() adds the necessary folders to the MATLAB path for the layout
+%   tools to be used from anywhere.
+%
+%   Examples:
+%   >> install()
+%
+%   See also: uninstall
+
+%   Copyright 2008-2010 The MathWorks Ltd.
+%   1.1
+%   2012/05/08 08:02:59
+
+% Check the version
+minVersionDate = '25-Jan-2010';
+matlabVersion = ver( 'MATLAB' );
+if datenum( matlabVersion.Date ) < datenum( minVersionDate )
+    warning( 'Layouts:VersionTooOld', 'This toolbox has been built and tested on MATLAB release R2010a and above. You appear to be using an older version and will almost certainly experience problems or even MATLAB crashes.' )
+end
+
+% Add the folders to the path
+thisdir = fileparts( mfilename( 'fullpath' ) );
+
+dirs = {
+    thisdir
+    fullfile( thisdir, 'Patch' )
+    fullfile( thisdir, 'layoutHelp' )
+    };
+
+for dd=1:numel( dirs )
+    addpath( dirs{dd} );
+    fprintf( '+ Folder added to path: %s\n', dirs{dd} );
+end
+
+% Save the changes to make the installation permanent
+if savepath()==0
+    % Success
+    fprintf( '+ Path saved\n' );
+else
+    % Failure
+    fprintf( '- Failed to save path, you will need to re-install when MATLAB is restarted\n' );
+end
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/AxesExample.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/AxesExample.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/AxesExample.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide2_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/BoxPanelFancyStuff.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/BoxPanelFancyStuff.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/BoxPanelFancyStuff.html	(revision 17)
@@ -0,0 +1,1 @@
+                <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide5.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Compiling.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Compiling.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Compiling.html	(revision 17)
@@ -0,0 +1,1 @@
+                <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide7.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Contents.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Contents.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Contents.m	(revision 17)
@@ -0,0 +1,2 @@
+% GUI Layout Toolbox
+% Version 1.10 14-Jul-2011
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/EnableExample.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/EnableExample.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/EnableExample.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide3_1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/ExampleApp.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/ExampleApp.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/ExampleApp.html	(revision 17)
@@ -0,0 +1,1 @@
+                <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide8.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples.html	(revision 17)
@@ -0,0 +1,88 @@
+<html xmlns:saxon="http://icl.com/saxon">
+
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Examples</title>
+   </head>
+
+   
+            
+   <body>
+      
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="index.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>GUI Layout Toolbox 1.10</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="index.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="index.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+      <h1>Examples&nbsp;<A href="index.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h1>
+    
+     <p>The following examples are provided as part of this documentation. Click
+     the name of any example to go to the corresponding page.</p>
+         
+     <h4>Basics</h4>
+     <dl>
+         <dt><a href="HeirarchyExample.html">Layout heirarchy</a></dt>
+         <dd>Using layouts inside layouts to produce more complex designs</dd>
+     </dl>
+         
+     <h4>Using axes</h4>
+     <dl>
+         <dt><a href="AxesExample.html">Positioning axes</a></dt>
+         <dd>Using the different axes position properties.</dd>
+     </dl>
+         
+     <h4>Using panels</h4>
+     <dl>
+         <dt><a href="PanelHelp.html">Context help</a></dt>
+         <dd>Adding context-sensitive help using panels.</dd>
+         
+         <dt><a href="PanelMinimize.html">Minimize and maximize</a></dt>
+         <dd>Creating a user interface with panels that can be minimized and
+         maximized.</dd>
+         
+         <dt><a href="PanelDock.html">Dock and undock</a></dt>
+         <dd>Creating a user interface with panels that can be undocked into
+         separate windows.</dd>
+     </dl>
+     
+     <h4>Enable and Visible</h4>
+      <dl>
+         <dt><a href="EnableExample.html">Enabling/Disabling a layout</a></dt>
+         <dd>Using the "Enable" property to enable or disable groups of buttons</dd>
+      
+         <dt><a href="VisibleExample.html">Showing/Hiding a layout</a></dt>
+         <dd>Using the "Visible" property to show or hide groups of buttons</dd>
+      </dl>
+       
+     <h4>Applications</h4>
+      <dl>
+         <dt><a href="ExampleApp.html">Building a complete application</a></dt>
+         <dd>Using layouts together to produce a complete application</dd>
+     </dl>
+       
+
+      <br clear="all"/>
+      
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="index.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/axesexample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/axesexample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/axesexample.m	(revision 17)
@@ -0,0 +1,39 @@
+%% Axes inside layouts
+% This example demonstrates how axes are affected by being placed into
+% layouts. The layouts take into account the "ActivePositionProperty" in
+% order to determine whether to set the "Position" or "OuterPosition"
+% (default) property of the axes.
+
+%% Open the window
+% Open a new figure window and remove the toolbar and menus
+window = figure( 'Name', 'Axes inside layouts', ...
+    'MenuBar', 'none', ...
+    'Toolbar', 'none', ...
+    'NumberTitle', 'off' );
+
+%% Create the layout
+% The layout involves two axes side by side. This is done using a
+% flexible horizontal box. The left-hand axes is left with the
+% ActivePositionProperty set to "OuterPosition", but the right-hand axes is
+% switched to use "Position"
+hbox = uiextras.HBoxFlex('Parent', window, 'Spacing', 3);
+axes1 = axes( 'Parent', hbox, ...
+    'ActivePositionProperty', 'OuterPosition' );
+axes2 = axes( 'Parent', hbox, ...
+    'ActivePositionProperty', 'Position' );
+set( hbox, 'Sizes', [-2 -1] );
+
+%% Fill the axes
+% Using "OuterPosition" (left-hand axes) is the normal mode and looks good
+% for virtually any plot type. Using "Position" is only really useful for
+% 2D plots with the axes turned off, such as images
+x = membrane( 1, 15 );
+surf( axes1, x );
+lighting( axes1, 'gouraud' );
+shading( axes1, 'interp' );
+l = light( 'Parent', axes1 );
+camlight( l, 'head' );
+axis( axes1, 'tight' );
+
+imagesc( x, 'Parent', axes2 );
+set( axes2, 'xticklabel', [], 'yticklabel', [] );
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/callbackexample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/callbackexample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/callbackexample.m	(revision 17)
@@ -0,0 +1,45 @@
+function callbackexample()
+
+% Create application data
+colorNames = {
+    'Red'
+    'Orange'
+    'Yellow'
+    'Green'
+    'Blue'
+    'Indigo'
+    'Violet'
+    };
+colorValues = [
+    1.0 0.2 0.2
+    1.0 0.6 0.2
+    1.0 1.0 0.4
+    0.6 1.0 0.6
+    0.2 0.4 1.0
+    0.4 0.1 0.6
+    0.7 0.5 1.0
+    ];
+
+% Layout the interface
+f = figure();
+p = uiextras.Panel( 'Parent', f, 'Title', 'A Panel', 'TitlePosition', 'CenterTop');
+b = uiextras.HBoxFlex( 'Parent', p, 'Spacing', 5, 'Padding', 5  );
+hList = uicontrol( 'Style', 'listbox', 'Parent', b, ...
+    'String', colorNames, ...
+    'Back', 'w' );
+hButton = uicontrol( 'Parent', b, ...
+    'Background', colorValues(1,:), ...
+    'String', colorNames{1} );
+set( b, 'Sizes', [-1 -3] );
+
+% Add user interactions
+set( hList, 'Callback', @onChangeColor );
+
+
+    function onChangeColor( source, ~ )
+        idx = get( source, 'Value' );
+        set( hButton, 'Background', colorValues(idx,:), 'String', colorNames{idx} )
+    end % onChangeColor
+
+
+end % main
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/demoBrowser.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/demoBrowser.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/demoBrowser.m	(revision 17)
@@ -0,0 +1,212 @@
+function demoBrowser()
+%demoBrowser: an example of using layouts to build a user interface
+%
+%   demoBrowser() opens a simple GUI that allows several of MATLAB's
+%   built-in demos to be viewed. It aims to demonstrate how multiple
+%   layouts can be used to create a good-looking user interface that
+%   retains the correct proportions when resized. It also shows how to
+%   hook-up callbacks to interpret user interaction.
+%
+%   See also: <a href="matlab:doc Layouts">Layouts</a>
+
+%   Copyright 2010 The MathWorks, Inc.
+%   1.1
+%   2012/05/08 08:03:00
+
+% Data is shared between all child functions by declaring the variables
+% here (they become global to the function). We keep things tidy by putting
+% all GUI stuff in one structure and all data stuff in another. As the app
+% grows, we might consider making these objects rather than structures.
+data = createData();
+gui = createInterface( data.DemoNames );
+
+% Now update the GUI with the current data
+updateInterface();
+redrawDemo();
+
+% Explicitly call the demo display so that it gets included if we deploy
+displayEndOfDemoMessage('')
+
+%-------------------------------------------------------------------------%
+    function data = createData()
+        % Create the shared data-structure for this application
+        demoList = {
+            'Complex surface'            'cplxdemo'
+            'Cruller'                    'cruller'
+            'Earth'                      'earthmap'
+            'Four linked tori'           'tori4'
+            'Klein bottle'               'xpklein'
+            'Klein bottle (1)'           'klein1'
+            'Knot'                       'knot'
+            'Logo'                       'logo'
+            'Spherical Surface Harmonic' 'spharm2'
+            'Werner Boy''s Surface'      'wernerboy'
+            };
+        selectedDemo = 8;
+        data = struct( ...
+            'DemoNames', {demoList(:,1)'}, ...
+            'DemoFunctions', {demoList(:,2)'}, ...
+            'SelectedDemo', selectedDemo );
+    end % createData
+
+%-------------------------------------------------------------------------%
+    function gui = createInterface( demoList )
+        % Create the user interface for the application and return a
+        % structure of handles for global use.
+        gui = struct();
+        % Open a window and add some menus
+        gui.Window = figure( ...
+            'Name', 'Gallery browser', ...
+            'NumberTitle', 'off', ...
+            'MenuBar', 'none', ...
+            'Toolbar', 'none', ...
+            'HandleVisibility', 'off' );
+        
+        % Set default panel color
+        uiextras.set( gui.Window, 'DefaultBoxPanelTitleColor', [0.7 1.0 0.7] );
+        
+        % + File menu
+        gui.FileMenu = uimenu( gui.Window, 'Label', 'File' );
+        uimenu( gui.FileMenu, 'Label', 'Exit', 'Callback', @onExit );
+        
+        % + View menu
+        gui.ViewMenu = uimenu( gui.Window, 'Label', 'View' );
+        for ii=1:numel( demoList )
+            uimenu( gui.ViewMenu, 'Label', demoList{ii}, 'Callback', @onMenuSelection );
+        end
+        
+        % + Help menu
+        helpMenu = uimenu( gui.Window, 'Label', 'Help' );
+        uimenu( helpMenu, 'Label', 'Documentation', 'Callback', @onHelp );
+        
+        
+        % Arrange the main interface
+        mainLayout = uiextras.HBoxFlex( 'Parent', gui.Window, 'Spacing', 3 );
+        
+        % + Create the panels
+        controlPanel = uiextras.BoxPanel( ...
+            'Parent', mainLayout, ...
+            'Title', 'Select a demo:' );
+        gui.ViewPanel = uiextras.BoxPanel( ...
+            'Parent', mainLayout, ...
+            'Title', 'Viewing: ???', ...
+            'HelpFcn', @onDemoHelp );
+
+        % + Adjust the main layout
+        set( mainLayout, 'Sizes', [-1,-2]  );
+        
+        
+        % + Create the controls
+        controlLayout = uiextras.VBox( 'Parent', controlPanel, ...
+            'Padding', 3, 'Spacing', 3 );
+        gui.ListBox = uicontrol( 'Style', 'list', ...
+            'BackgroundColor', 'w', ...
+            'Parent', controlLayout, ...
+            'String', demoList(:), ...
+            'Value', 1, ...
+            'Callback', @onListSelection);
+        gui.HelpButton = uicontrol( 'Style', 'PushButton', ...
+            'Parent', controlLayout, ...
+            'String', 'Help for <demo>', ...
+            'Callback', @onDemoHelp );
+        set( controlLayout, 'Sizes', [-1 28] ); % Make the list fill the space
+        
+        % + Create the view
+        p = gui.ViewPanel;
+        gui.ViewAxes = axes( 'Parent', p );
+        
+        
+    end % createInterface
+
+%-------------------------------------------------------------------------%
+    function updateInterface()
+        % Update various parts of the interface in response to the demo
+        % being changed.
+        
+        % Update the list and menu to show the current demo
+        set( gui.ListBox, 'Value', data.SelectedDemo );
+        % Update the help button label
+        demoName = data.DemoNames{ data.SelectedDemo };
+        set( gui.HelpButton, 'String', ['Help for ',demoName] );
+        % Update the view panel title
+        set( gui.ViewPanel, 'Title', sprintf( 'Viewing: %s', demoName ) );
+        % Untick all menus
+        menus = get( gui.ViewMenu, 'Children' );
+        set( menus, 'Checked', 'off' );
+        % Use the name to work out which menu item should be ticked
+        whichMenu = strcmpi( demoName, get( menus, 'Label' ) );
+        set( menus(whichMenu), 'Checked', 'on' );
+    end % updateInterface
+
+%-------------------------------------------------------------------------%
+    function redrawDemo()
+        % Draw a demo into the axes provided
+        
+        % We first clear the existing axes ready to build a new one
+        if ishandle( gui.ViewAxes )
+            delete( gui.ViewAxes );
+        end
+        
+        % Some demos create their own figure. Others don't.
+        fcnName = data.DemoFunctions{data.SelectedDemo};
+        switch upper( fcnName )
+            case 'LOGO'
+                % These demos open their own windows
+                evalin( 'base', fcnName );
+                gui.ViewAxes = gca();
+                fig = gcf();
+                set( fig, 'Visible', 'off' );
+                
+            otherwise
+                % These demos need a window opening
+                fig = figure( 'Visible', 'off' );
+                evalin( 'base', fcnName );
+                gui.ViewAxes = gca();
+        end
+        % Now copy the axes from the demo into our window and restore its
+        % state.
+        cmap = colormap( gui.ViewAxes );
+        set( gui.ViewAxes, 'Parent', double(gui.ViewPanel) );
+        colormap( gui.ViewAxes, cmap );
+        rotate3d( gui.ViewAxes, 'on' );
+        % Get rid of the demo figure
+        close( fig );
+    end % redrawDemo
+
+%-------------------------------------------------------------------------%
+    function onListSelection( src, ~ )
+        % User selected a demo from the list - update "data" and refresh
+        data.SelectedDemo = get( src, 'Value' );
+        updateInterface();
+        redrawDemo();
+    end % onListSelection
+
+%-------------------------------------------------------------------------%
+    function onMenuSelection( src, ~ )
+        % User selected a demo from the menu - work out which one
+        demoName = get( src, 'Label' );
+        data.SelectedDemo = find( strcmpi( demoName, data.DemoNames ), 1, 'first' );
+        updateInterface();
+        redrawDemo();
+    end % onMenuSelection
+
+
+%-------------------------------------------------------------------------%
+    function onHelp( ~, ~ )
+        % User has asked for the documentation
+        doc layout
+    end % onHelp
+
+%-------------------------------------------------------------------------%
+    function onDemoHelp( ~, ~ )
+        % User wnats documentation for the current demo
+        showdemo( data.DemoFunctions{data.SelectedDemo} );
+    end % onDemoHelp
+
+%-------------------------------------------------------------------------%
+    function onExit( ~, ~ )
+        % User wants to quit out of the application
+        delete( gui.Window );
+    end % onExit
+
+end % EOF
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/demoBrowser.prj
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/demoBrowser.prj	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/demoBrowser.prj	(revision 17)
@@ -0,0 +1,600 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project><!--demoBrowser.prj-->
+   <MCCProperties>
+      <output>demoBrowser</output>
+      <wrapper>
+         <type>WinMain</type>
+         <component_name>demoBrowser</component_name>
+         <default_class>Main function</default_class>
+      </wrapper>
+      <intermediate_dir>$(PROJECTDIR)/demoBrowser/src</intermediate_dir>
+      <output_dir>$(PROJECTDIR)/demoBrowser/distrib</output_dir>
+      <link>exe</link>
+      <MCR_runtime_options/>
+      <generate_code_only>false</generate_code_only>
+      <verbose>true</verbose>
+      <create_CTF>false</create_CTF>
+      <options_file/>
+      <debug>false</debug>
+      <toolboxes_on_path shortcut="all"/>
+      <warning shortcut="default">
+         <warn name="specified_file_mismatch">enable</warn>
+         <warn name="repeated_file">enable</warn>
+         <warn name="switch_ignored">enable</warn>
+         <warn name="missing_lib_sentinel">enable</warn>
+         <warn name="demo_license">enable</warn>
+      </warning>
+   </MCCProperties>
+   <file_info>
+      <category name="Main function"><!--Do not modify the value of the name attribute, unless it is a class name.-->
+         <file>$(PROJECTDIR)/demoBrowser.m</file>
+      </category>
+      <category name="Other files"><!--Do not modify the value of the name attribute, unless it is a class name.-->
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\panelClose.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_Selected_NotSelected.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\panelDock.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\panelHelp.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\panelMaximize.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\panelMinimize.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\panelUndock.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_Background_NotSelected.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_Background_Selected.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_NoEdge_NotSelected.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_NoEdge_Selected.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_NotSelected_NoEdge.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_NotSelected_NotSelected.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_NotSelected_Selected.png</file>
+         <file>S:\ShareDemosOffline\GUI\Layouts\+uiextras\Resources\tab_Selected_NoEdge.png</file>
+      </category>
+      <category name="C/C++ files"><!--Do not modify the value of the name attribute, unless it is a class name.--></category>
+   </file_info>
+   <packaging>
+      <name>demoBrowser_pkg</name>
+      <mcr include="false"/>
+      <additional_files/>
+   </packaging>
+   <MATLABPath>
+      <Directory>$(MATLABROOT)/toolbox/compiler/deploy</Directory>
+      <Directory>$(PROJECTDIR)/</Directory>
+      <Directory>S:\ShareDemosOffline\GUI\Layouts\layoutHelp</Directory>
+      <Directory>S:\ShareDemosOffline\GUI\Layouts\Patch</Directory>
+      <Directory>S:\ShareDemosOffline\GUI\Layouts</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/general</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/ops</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/lang</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/elmat</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/randfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/elfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/specfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/matfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/datafun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/polyfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/funfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/sparfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/scribe</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/graph2d</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/graph3d</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/specgraph</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/graphics</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/uitools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/strfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/imagesci</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/iofun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/audiovideo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/timefun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/datatypes</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/verctrl</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/codetools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/helptools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/winfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/demos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/timeseries</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/hds</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/guide</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/plottools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/local</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/controllib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/dastudio</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlab/datamanager</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simulink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/blocks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/components</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/fixedandfloat</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/fixedandfloat/fxpdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/fixedandfloat/obsolete</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simdemos/aerospace</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simdemos/automotive</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simdemos/simfeatures</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simdemos/simgeneral</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/dee</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/dastudio/depviewer</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/dastudio/MG</Directory>
+      <Directory>$(MATLABROOT)/toolbox/stateflow/stateflow</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/rtw</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/hds</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/timeseries</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/sigbldr</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simulink/modeladvisor</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simulink/modeladvisor/fixpt</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simulink/MPlayIO</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/simulink/dataobjectwizard</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/hdlshared</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simulink/accelerator</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/accel</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/rtwdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/rtwdemos/rsimdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/asap2/asap2</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/asap2/asap2/user</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/common/can/blocks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/common/configuration/resource</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/common/tgtcommon</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/connectivity</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/pil</Directory>
+      <Directory>$(MATLABROOT)/toolbox/stateflow/sfdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/stateflow/coder</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/AUTOSAR/AUTOSAR</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/ada</Directory>
+      <Directory>$(MATLABROOT)/toolbox/aero/aero</Directory>
+      <Directory>$(MATLABROOT)/toolbox/aero/astdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/mapgeodesy</Directory>
+      <Directory>$(MATLABROOT)/toolbox/aeroblks/aeroblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/aeroblks/aerodemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/aeroblks/aerodemos/texture</Directory>
+      <Directory>$(MATLABROOT)/toolbox/bioinfo/bioinfo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/bioinfo/biolearning</Directory>
+      <Directory>$(MATLABROOT)/toolbox/bioinfo/microarray</Directory>
+      <Directory>$(MATLABROOT)/toolbox/bioinfo/mass_spec</Directory>
+      <Directory>$(MATLABROOT)/toolbox/bioinfo/proteins</Directory>
+      <Directory>$(MATLABROOT)/toolbox/bioinfo/biomatrices</Directory>
+      <Directory>$(MATLABROOT)/toolbox/bioinfo/biodemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/bioinfo/graphtheory</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/c166/c166</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/c166/blocks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/c166/c166demos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ccslink/ccslink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ccslink/ccslink/util</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ccslink/ccsblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ccslink/ccslinkblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ccslink/ccslinkblks/rtdxsimblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ccslink/ccsdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ccslink/ccsdemos/util</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/ccslink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/ccslink/ccslink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/ccslink/ccslink/mdlinfo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/ccslink/ccslink/tfl</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/etargets/etargets</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/etargets/etargets/lic</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/autointerface</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/autointerface/util</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/pjtgenerator</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/pjtgenerator/hookpoints</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/pjtgenerator/tgtpref</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/pjtgenerator/profiler</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/pjtgenerator/mdlinfo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/idelinkdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/errorhandler</Directory>
+      <Directory>$(MATLABROOT)/toolbox/comm/comm</Directory>
+      <Directory>$(MATLABROOT)/toolbox/comm/commdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/comm/commdemos/commdocdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/comm/commobsolete</Directory>
+      <Directory>$(MATLABROOT)/toolbox/commblks/commblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/commblks/commmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/commblks/commmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/commblks/commblksdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/commblks/commblksobsolete/v3</Directory>
+      <Directory>$(MATLABROOT)/toolbox/commblks/commblksobsolete/v2p5</Directory>
+      <Directory>$(MATLABROOT)/toolbox/commblks/commblksobsolete/v2</Directory>
+      <Directory>$(MATLABROOT)/help/toolbox/commblks/examples</Directory>
+      <Directory>$(MATLABROOT)/toolbox/compiler</Directory>
+      <Directory>$(MATLABROOT)/toolbox/control/control</Directory>
+      <Directory>$(MATLABROOT)/toolbox/control/ctrlguis</Directory>
+      <Directory>$(MATLABROOT)/toolbox/control/ctrlobsolete</Directory>
+      <Directory>$(MATLABROOT)/toolbox/control/ctrlutil</Directory>
+      <Directory>$(MATLABROOT)/toolbox/control/ctrldemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/slcontrollib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/curvefit/curvefit</Directory>
+      <Directory>$(MATLABROOT)/toolbox/curvefit/cftoolgui</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/optimlib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/daq/daq</Directory>
+      <Directory>$(MATLABROOT)/toolbox/daq/daqguis</Directory>
+      <Directory>$(MATLABROOT)/toolbox/daq/daqdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/daq/daqblks/daqblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/daq/daqblks/daqmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/daq/daqblks/daqmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/testmeaslib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/data_manager/data_manager</Directory>
+      <Directory>$(MATLABROOT)/toolbox/database/database</Directory>
+      <Directory>$(MATLABROOT)/toolbox/database/dbdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/database/vqb</Directory>
+      <Directory>$(MATLABROOT)/toolbox/datafeed/datafeed</Directory>
+      <Directory>$(MATLABROOT)/toolbox/datafeed/dfgui</Directory>
+      <Directory>$(MATLABROOT)/toolbox/des/desblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/des/desmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/des/desmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/des/desdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/devel/network_engine</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/devel/devel</Directory>
+      <Directory>$(MATLABROOT)/toolbox/discovery/discovery</Directory>
+      <Directory>$(MATLABROOT)/toolbox/discovery/discoverydemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/hdllink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/worker</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/user</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/mpi</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/pctdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/datafun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/datatypes</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/elfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/elmat</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/lapack</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/matfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/ops</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/sparfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/specfun</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/parallel/util</Directory>
+      <Directory>$(MATLABROOT)/toolbox/distcomp/lang</Directory>
+      <Directory>$(MATLABROOT)/toolbox/dotnetbuilder/dotnetbuilder</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/drive/drive</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/drive/drivedemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/dspblks/dspblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/dspblks/dspmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/dspblks/dspmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/dspblks/dspdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/filterdesignlib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/dspblks/splibmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/sealib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/scomp</Directory>
+      <Directory>$(MATLABROOT)/help/toolbox/dspblks/examples</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/ecoder</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/ecoder/ecoderdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpt</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpt/mpt</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpt/user_specific</Directory>
+      <Directory>$(MATLABROOT)/toolbox/econ/econ</Directory>
+      <Directory>$(MATLABROOT)/toolbox/econ/econdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/elec/elec</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/elec/elecdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/eml/eml</Directory>
+      <Directory>$(MATLABROOT)/toolbox/emlcoder/emlcoder</Directory>
+      <Directory>$(MATLABROOT)/toolbox/emlcoder/emlcodermex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/simtargets</Directory>
+      <Directory>$(MATLABROOT)/toolbox/exlink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/symbolic/extended</Directory>
+      <Directory>$(MATLABROOT)/toolbox/filterdesign/filterdesign</Directory>
+      <Directory>$(MATLABROOT)/toolbox/filterdesign/quantization</Directory>
+      <Directory>$(MATLABROOT)/toolbox/filterdesign/filtdesdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finance/finance</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finance/calendar</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finance/findemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finance/finsupport</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finance/ftseries</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finance/ftsdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finance/ftsdata</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finance/ftstutorials</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finderiv/finderiv</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finfixed/finfixed</Directory>
+      <Directory>$(MATLABROOT)/toolbox/finfixed/finfixdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/fixedpoint/fixedpoint</Directory>
+      <Directory>$(MATLABROOT)/toolbox/fixedpoint/fidemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/fixedpoint/fixedpointtool</Directory>
+      <Directory>$(MATLABROOT)/toolbox/fixpoint</Directory>
+      <Directory>$(MATLABROOT)/toolbox/fixpoint/fpca</Directory>
+      <Directory>$(MATLABROOT)/toolbox/fuzzy/fuzzy</Directory>
+      <Directory>$(MATLABROOT)/toolbox/fuzzy/fuzdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/gads</Directory>
+      <Directory>$(MATLABROOT)/toolbox/gads/gads</Directory>
+      <Directory>$(MATLABROOT)/toolbox/gads/gadsdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/gauges</Directory>
+      <Directory>$(MATLABROOT)/toolbox/geoweb/geoweb</Directory>
+      <Directory>$(MATLABROOT)/toolbox/hdlcoder/hdlcoder</Directory>
+      <Directory>$(MATLABROOT)/toolbox/hdlcoder/hdlcoderdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/hdlfilter/hdlfilter</Directory>
+      <Directory>$(MATLABROOT)/toolbox/hdlfilter/hdlfiltdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/hmi/hmi</Directory>
+      <Directory>$(MATLABROOT)/toolbox/hmi/hmi_demos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ident/ident</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ident/nlident</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ident/idobsolete</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ident/idguis</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ident/idutils</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ident/iddemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ident/iddemos/examples</Directory>
+      <Directory>$(MATLABROOT)/toolbox/ident/idhelp</Directory>
+      <Directory>$(MATLABROOT)/toolbox/images/colorspaces</Directory>
+      <Directory>$(MATLABROOT)/toolbox/images/images</Directory>
+      <Directory>$(MATLABROOT)/toolbox/images/imdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/images/imuitools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/images/iptformats</Directory>
+      <Directory>$(MATLABROOT)/toolbox/images/iptutils</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/imageslib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/spcuilib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/imaq/imaq</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/imaqlib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/imaq/imaqdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/imaq/imaqblks/imaqblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/imaq/imaqblks/imaqmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/imaq/imaqblks/imaqmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/incisive/incisive</Directory>
+      <Directory>$(MATLABROOT)/toolbox/incisive/incisivedemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/instrument/instrument</Directory>
+      <Directory>$(MATLABROOT)/toolbox/instrument/instrumentdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/instrument/instrumentblks/instrumentblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/instrument/instrumentblks/instrumentmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/instrument/instrumentblks/instrumentmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/javabuilder/javabuilder</Directory>
+      <Directory>$(MATLABROOT)/toolbox/map/map</Directory>
+      <Directory>$(MATLABROOT)/toolbox/map/mapdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/map/mapdisp</Directory>
+      <Directory>$(MATLABROOT)/toolbox/map/mapformats</Directory>
+      <Directory>$(MATLABROOT)/toolbox/map/mapproj</Directory>
+      <Directory>$(MATLABROOT)/toolbox/map/maputils</Directory>
+      <Directory>$(MATLABROOT)/toolbox/matlabxl/matlabxl</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbc</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbcdata</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbcdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbcdesign</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbcexpr</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbcguitools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbclayouts</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbcmodels</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbcsimulink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbctools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mbc/mbcview</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/mech/mech</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/mech/mechdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/mech/importer</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slvnv/simcoverage</Directory>
+      <Directory>$(MATLABROOT)/toolbox/modelsim/modelsim</Directory>
+      <Directory>$(MATLABROOT)/toolbox/modelsim/modelsimdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mpc/mpc</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mpc/mpcdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mpc/mpcguis</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mpc/mpcobsolete</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mpc/mpcutils</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpc555dk</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpc555dk/common/configuration</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpc555dk/mpc555demos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpc555dk/mpc555dk</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpc555dk/pil</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpc555dk/rt/blockset/mfiles</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpc555dk/rt/blockset</Directory>
+      <Directory>$(MATLABROOT)/toolbox/multilink/multilink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/multilink/multilink/util</Directory>
+      <Directory>$(MATLABROOT)/toolbox/multilink/multidemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/multilink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/multilink/multilink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/multilink/multilink/mdlinfo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/multilink/multiblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/idelinks/lfsocket/lfsocket</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/multilink/multilink/tfl</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/network_engine/network_engine</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/network_engine/ne_sli</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/network_engine/ne_support</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nncontrol</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nndemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnanalyze</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nncustom</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nndistance</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnformat</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nninit</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnlearn</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnnetinput</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnnetwork</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnperformance</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnplot</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnprocess</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnsearch</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nntopology</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nntrain</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nntransfer</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnet/nnweight</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnguis</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnguis/nftool</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnguis/nntool</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnobsolete</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnresource</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnutils</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnguis/nnguiutils</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nndemos/nndatasets</Directory>
+      <Directory>$(MATLABROOT)/toolbox/nnet/nnguis/nntraintool</Directory>
+      <Directory>$(MATLABROOT)/toolbox/opc/opc</Directory>
+      <Directory>$(MATLABROOT)/toolbox/opc/opcgui</Directory>
+      <Directory>$(MATLABROOT)/toolbox/opc/opcdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/opc/opcdemos/opcblksdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/opc/opcblks/opcblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/opc/opcblks/opcmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/optim/optim</Directory>
+      <Directory>$(MATLABROOT)/toolbox/optim/optimdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/pde</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/pm_sli/pm_sli</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/pm_util/pm_util</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/pm_visimpl/pm_visimpl</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/pmir/pmir</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/powersys/powersys</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/powersys/powerdemo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/powersys/drives/drives</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/powersys/drives/drivesdemo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/powersys/facts/facts</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/powersys/facts/factsdemo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/powersys/DR/DR</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/powersys/DR/DRdemo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slvnv/reqmgt</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slvnv/rmidemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rf/rf</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rf/rfdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rf/rftool</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rfblks/rfblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rfblks/rfblksmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rfblks/rfblksmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rfblks/rfblksdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/robust/robust</Directory>
+      <Directory>$(MATLABROOT)/toolbox/robust/rctlmi</Directory>
+      <Directory>$(MATLABROOT)/toolbox/robust/rctutil</Directory>
+      <Directory>$(MATLABROOT)/toolbox/robust/rctdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/robust/rctobsolete/robust</Directory>
+      <Directory>$(MATLABROOT)/toolbox/robust/rctobsolete/lmi</Directory>
+      <Directory>$(MATLABROOT)/toolbox/robust/rctobsolete/mutools/commands</Directory>
+      <Directory>$(MATLABROOT)/toolbox/robust/rctobsolete/mutools/subs</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rptgen/rptgen</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rptgen/rptgendemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rptgen/rptgenv1</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rptgenext/rptgenext</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rptgenext/rptgenextdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rptgenext/rptgenextv1</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/rtwin/rtwin</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sam/studio</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sam/sl2sam</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sam/m3i</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sb2sl</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/sd/sddemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/sd/sd</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/sh/sh</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/sh/shdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/signal/signal</Directory>
+      <Directory>$(MATLABROOT)/toolbox/signal/sigtools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/signal/sptoolgui</Directory>
+      <Directory>$(MATLABROOT)/toolbox/signal/sigdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/siglib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simbio/simbio</Directory>
+      <Directory>$(MATLABROOT)/toolbox/simbio/simbiodemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/simscape/simscape</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/simscape/simscapedemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/simscape/simscapedemos/demolibraries</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/simscape_language/simscape_language</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slcontrol/slcontrol</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slcontrol/slctrlguis</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slcontrol/slctrlutil</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slcontrol/slctrldemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sldv/sldv</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sldv/sldvdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/sldv</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slestim/slestdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slestim/slestdemos/docexamples/adaptive</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slestim/slestdemos/docexamples/lookuptable</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slestim/slestguis</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slestim/slestim</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slestim/slestmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slestim/slestutil</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sloptim/sloptim</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sloptim/sloptguis</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sloptim/sloptdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/sloptim/sloptobsolete</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/smlink/smlink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/smlink/smlinkdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/splines</Directory>
+      <Directory>$(MATLABROOT)/toolbox/stats</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/statslib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/symbolic</Directory>
+      <Directory>$(MATLABROOT)/toolbox/systemtest/systemtest</Directory>
+      <Directory>$(MATLABROOT)/toolbox/systemtest/systemtestdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/systemtest/viewer</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/tasking/tasking</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/tasking/taskingdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/tic2000/tic2000</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/tic2000/tic2000blks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/tic2000/tic2000demos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/etargets/etargets/mdlinfo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/etargets/etargets/peripheralTab</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/etargets/rtdxblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/etargets/etargets/demoutils</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/tic6000/tic6000</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/tic6000/tic6000blks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/tic6000/tic6000demos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/physmod/tools/tools</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vdsplink/vdsplink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vdsplink/vdsplink/util</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vdsplink/vdspdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/vdsplink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/vdsplink/vdsplink</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/vdsplink/vdsplink/mdlinfo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/vdsplink/vdsplink/tfl</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/vdsplink/vdspblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vipblks/vipblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vipblks/vipmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vipblks/vipmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vipblks/vipdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vipblks/viplibmex</Directory>
+      <Directory>$(MATLABROOT)/help/toolbox/vipblks/examples</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vnt/vnt</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vnt/vntblks/vntblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vnt/vntblks/vntmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vnt/vntblks/vntmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/can/canblks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/can/canmasks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/can/canmex</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/asynciolib</Directory>
+      <Directory>$(MATLABROOT)/toolbox/shared/can</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slvnv/slvnv</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slvnv/simcovdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slvnv/styleguide</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slvnv/do178b</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slvnv/iec61508</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vr/vr</Directory>
+      <Directory>$(MATLABROOT)/toolbox/vr/vrdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/wavelet/wavelet</Directory>
+      <Directory>$(MATLABROOT)/toolbox/wavelet/wmultisig1d</Directory>
+      <Directory>$(MATLABROOT)/toolbox/wavelet/wavedemo</Directory>
+      <Directory>$(MATLABROOT)/toolbox/wavelet/compression</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/xpc/xpc</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/xpc/target/build/xpcblocks/thirdpartydrivers</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/xpc/target/build/xpcblocks</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/common/can/blocks/tlc_c</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/xpc/xpcdemos</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/xpc/xpc/xpcmngr</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/xpc/target/kernel/embedded</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mwtools/mlfeatures</Directory>
+      <Directory>$(MATLABROOT)/toolbox/mwtools/tmwfinance</Directory>
+      <Directory>$(MATLABROOT)/test</Directory>
+      <Directory>$(MATLABROOT)/test/tools</Directory>
+      <Directory>$(MATLABROOT)/test/tools/matlab</Directory>
+      <Directory>$(MATLABROOT)/test/tools/matlab/general</Directory>
+      <Directory>$(MATLABROOT)/test/tools/matlab/harness</Directory>
+      <Directory>$(MATLABROOT)/test/tools/dsptools</Directory>
+      <Directory>$(MATLABROOT)/test/tools/hwtools</Directory>
+      <Directory>$(MATLABROOT)/test/tools/hwtools/linksandtargets</Directory>
+      <Directory>$(MATLABROOT)/test/tools/hwtools/linksandtargets/util</Directory>
+      <Directory>$(MATLABROOT)/test/tools/eml</Directory>
+      <Directory>$(MATLABROOT)/test/tools/testmeas/helper</Directory>
+      <Directory>$(MATLABROOT)/test/tools/testmeas/tmharness</Directory>
+      <Directory>$(MATLABROOT)/test/tools/testmeas/tmharness/helper</Directory>
+      <Directory>$(MATLABROOT)/test/tools/testmeas/systemtest</Directory>
+      <Directory>$(MATLABROOT)/test/tools/etargets</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/mpc555dk/internal/utils</Directory>
+      <Directory>$(MATLABROOT)/test/tools/xpc</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/targets/xpc/xpcinternal</Directory>
+      <Directory>$(MATLABROOT)/test/tools/sam</Directory>
+      <Directory>$(MATLABROOT)/test/tools/mbc</Directory>
+      <Directory>$(MATLABROOT)/test/tools/distcomp</Directory>
+      <Directory>$(MATLABROOT)/test/tools/sfeml</Directory>
+      <Directory>$(MATLABROOT)/test/tools/toolbox/stateflow</Directory>
+      <Directory>$(MATLABROOT)/toolbox/slrtwtest</Directory>
+      <Directory>$(MATLABROOT)/toolbox/rtw/rtwdemos/olddemos</Directory>
+      <Directory>$(MATLABROOT)/test/tools/slrtw</Directory>
+      <Directory>$(MATLABROOT)/test/tools/slrtw/dastudio</Directory>
+      <Directory>$(MATLABROOT)/test/tools/slrtw/dastudio/framebuf</Directory>
+      <Directory>$(MATLABROOT)/test/tools/slrtw/saveas</Directory>
+      <Directory>$(MATLABROOT)/test/tools/slrtw/blocks</Directory>
+      <Directory>$(MATLABROOT)/test/tools/slrtw/mdladv</Directory>
+      <Directory>$(MATLABROOT)/test/tools/slrtw/harness</Directory>
+      <Directory>$(MATLABROOT)/test/tools/autopilot</Directory>
+      <Directory>$(MATLABROOT)/test/tools/compilertools</Directory>
+      <Directory>$(MATLABROOT)/test/tools/deployment</Directory>
+      <Directory>$(MATLABROOT)/test/toolbox/des/tools</Directory>
+      <Directory>$(MATLABROOT)/test/tools/imaq/harness</Directory>
+      <Directory>$(MATLABROOT)/test/tools/instrument/harness</Directory>
+      <Directory>$(MATLABROOT)/test/tools/matlab/qehgtools</Directory>
+      <Directory>$(MATLABROOT)/test/tools/mcoverage</Directory>
+      <Directory>$(MATLABROOT)/test/tools/edatools</Directory>
+      <Directory>$(MATLABROOT)/test/toolbox/shared/hdllink</Directory>
+      <Directory>$(MATLABROOT)/test/toolbox/discovery</Directory>
+      <Directory>$(MATLABROOT)/test/toolbox/incisive</Directory>
+      <Directory>$(MATLABROOT)/test/toolbox/modelsim</Directory>
+      <Directory>$(MATLABROOT)/test/tools/pm</Directory>
+      <Directory>$(MATLABROOT)/test/tools/controltools</Directory>
+   </MATLABPath>
+</project>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/displayEndOfDemoMessage.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/displayEndOfDemoMessage.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/displayEndOfDemoMessage.m	(revision 17)
@@ -0,0 +1,2 @@
+function displayEndOfDemoMessage(filename)
+% Dummy function - do nothing.
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/dockexample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/dockexample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/dockexample.m	(revision 17)
@@ -0,0 +1,77 @@
+function dockexample()
+%DOCKEXAMPLE: An example of using the panelbox dock/undock functionality
+
+%   Copyright 2009 The MathWorks Ltd.
+%   1.1    2012/05/08 08:03:00
+
+% Create the window and main layout
+fig = figure( 'Name', 'Dockable GUI example', ...'
+    'NumberTitle', 'off', ...
+    'Toolbar', 'none', ...
+    'MenuBar', 'none', ...
+    'CloseRequestFcn', @nCloseAll );
+box = uiextras.HBox( 'Parent', fig );
+
+% Add three panels to the box
+panel{1} = uiextras.BoxPanel( 'Title', 'Panel 1', ...
+    'DockFcn', {@nDock, 1}, ...
+    'Parent', box );
+panel{2} = uiextras.BoxPanel( 'Title', 'Panel 2', ...
+    'DockFcn', {@nDock, 2}, ...
+    'Parent', box );
+panel{3} = uiextras.BoxPanel( 'Title', 'Panel 3', ...
+    'DockFcn', {@nDock, 3}, ...
+    'Parent', box );
+
+% Add some contents
+uicontrol( 'Style', 'PushButton', 'String', 'Button 1', 'Parent', panel{1} );
+uicontrol( 'Style', 'PushButton', 'String', 'Button 2', 'Parent', panel{2} );
+uicontrol( 'Style', 'PushButton', 'String', 'Button 3', 'Parent', panel{3} );
+
+% Set the dock/undock callback
+set( panel{1}, 'DockFcn', {@nDock, 1} );
+set( panel{2}, 'DockFcn', {@nDock, 2} );
+set( panel{3}, 'DockFcn', {@nDock, 3} );
+
+%-------------------------------------------------------------------------%
+    function nDock( eventSource, eventData, whichpanel ) %#ok<INUSL>
+        % Set the flag
+        panel{whichpanel}.IsDocked = ~panel{whichpanel}.IsDocked;
+        if panel{whichpanel}.IsDocked
+            % Put it back into the layout
+            newfig = get( panel{whichpanel}, 'Parent' );
+            set( panel{whichpanel}, 'Parent', box );
+            delete( newfig );
+        else
+            % Take it out of the layout
+            pos = getpixelposition( panel{whichpanel} );
+            newfig = figure( ...
+                'Name', get( panel{whichpanel}, 'Title' ), ...
+                'NumberTitle', 'off', ...
+                'MenuBar', 'none', ...
+                'Toolbar', 'none', ...
+                'CloseRequestFcn', {@nDock, whichpanel} );
+            figpos = get( newfig, 'Position' );
+            set( newfig, 'Position', [figpos(1,1:2), pos(1,3:4)] );
+            set( panel{whichpanel}, 'Parent', newfig, ...
+                'Units', 'Normalized', ...
+                'Position', [0 0 1 1] );
+        end
+    end % nDock
+
+%-------------------------------------------------------------------------%
+    function nCloseAll( ~, ~ )
+        % User wished to close the application, so we need to tidy up
+        
+        % Delete all windows, including undocked ones. We can do this by
+        % getting the window for each panel in turn and deleting it.
+        for ii=1:numel( panel )
+            if isvalid( panel{ii} ) && ~strcmpi( panel{ii}.BeingDeleted, 'on' )
+                figh = ancestor( panel{ii}, 'figure' );
+                delete( figh );
+            end
+        end
+        
+    end % nCloseAll
+
+end % Main function
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/enableexample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/enableexample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/enableexample.m	(revision 17)
@@ -0,0 +1,28 @@
+%% Enabling/disabling a panel
+%
+%   This example opens a simple user-interface with a panel full of
+%   buttons. We can then enable/disbale the entire panel in one go. Note
+%   that the previous state of the buttons is preserved. 
+
+%% Open a window and add a panel
+fig = figure( 'Name', 'Enable example', ...
+    'Position', [100 100 150 250], ...
+    'MenuBar', 'none', ...
+    'ToolBar', 'none', ...
+    'NumberTitle', 'off' );
+panel = uiextras.BoxPanel( 'Parent', fig, 'Title', 'Panel' );
+
+%% Put some buttons inside the panel
+box = uiextras.VButtonBox( 'Parent', panel );
+uicontrol( 'Parent', box, 'String', 'Button 1' );
+uicontrol( 'Parent', box, 'String', 'Button 2' );
+uicontrol( 'Parent', box, 'String', 'Button 3', 'Enable', 'off' );
+uicontrol( 'Parent', box, 'String', 'Button 4' );
+uicontrol( 'Parent', box, 'String', 'Button 5', 'Enable', 'off' );
+uicontrol( 'Parent', box, 'String', 'Button 6' );
+
+%% Try disabling the panel
+set( panel, 'Enable', 'off' );
+
+%% Try enabling the panel
+set( panel, 'Enable', 'on' );
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/gridflexpositioning.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/gridflexpositioning.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/gridflexpositioning.m	(revision 17)
@@ -0,0 +1,23 @@
+f = figure(); 
+
+% Box Panel 
+p = uiextras.BoxPanel( 'Parent', f, 'Title', 'A BoxPanel', 'Padding', 5 ); 
+
+% HBox 
+b = uiextras.HBox( 'Parent', p, 'Spacing', 5, 'Padding', 5 ); 
+
+% uicontrol 
+uicontrol( 'Style', 'listbox', 'Parent', b, 'String', {'Item 1','Item 2'} ); 
+
+% Grid Flex 
+g = uiextras.GridFlex( 'Parent', b, 'Spacing', 5 ); 
+uicontrol( 'Parent', g, 'Background', 'r' );
+uicontrol( 'Parent', g, 'Background', 'b' );
+uicontrol( 'Parent', g, 'Background', 'g' );
+uiextras.Empty( 'Parent', g );
+uicontrol( 'Parent', g, 'Background', 'c' );
+uicontrol( 'Parent', g, 'Background', 'y' );
+set( g, 'ColumnSizes', [-1 100 -2], 'RowSizes', [-1 -2] ); 
+
+% set HBox elements sizes 
+set( b, 'Sizes', [100 -1] ); 
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/guideApp.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/guideApp.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/guideApp.m	(revision 17)
@@ -0,0 +1,104 @@
+function varargout = guideApp(varargin)
+% GUIDEAPP MATLAB code for guideApp.fig
+%      GUIDEAPP, by itself, creates a new GUIDEAPP or raises the existing
+%      singleton*.
+%
+%      H = GUIDEAPP returns the handle to a new GUIDEAPP or the handle to
+%      the existing singleton*.
+%
+%      GUIDEAPP('CALLBACK',hObject,eventData,handles,...) calls the local
+%      function named CALLBACK in GUIDEAPP.M with the given input arguments.
+%
+%      GUIDEAPP('Property','Value',...) creates a new GUIDEAPP or raises the
+%      existing singleton*.  Starting from the left, property value pairs are
+%      applied to the GUI before guideApp_OpeningFcn gets called.  An
+%      unrecognized property name or invalid value makes property application
+%      stop.  All inputs are passed to guideApp_OpeningFcn via varargin.
+%
+%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
+%      instance to run (singleton)".
+%
+% See also: GUIDE, GUIDATA, GUIHANDLES
+
+% Edit the above text to modify the response to help guideApp
+
+% Last Modified by GUIDE v2.5 21-Jul-2010 07:36:25
+
+% Begin initialization code - DO NOT EDIT
+gui_Singleton = 1;
+gui_State = struct('gui_Name',       mfilename, ...
+                   'gui_Singleton',  gui_Singleton, ...
+                   'gui_OpeningFcn', @guideApp_OpeningFcn, ...
+                   'gui_OutputFcn',  @guideApp_OutputFcn, ...
+                   'gui_LayoutFcn',  [] , ...
+                   'gui_Callback',   []);
+if nargin && ischar(varargin{1})
+    gui_State.gui_Callback = str2func(varargin{1});
+end
+
+if nargout
+    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+else
+    gui_mainfcn(gui_State, varargin{:});
+end
+% End initialization code - DO NOT EDIT
+
+
+% --- Executes just before guideApp is made visible.
+function guideApp_OpeningFcn(hObject, eventdata, handles, varargin)
+% This function has no output args, see OutputFcn.
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+% varargin   command line arguments to guideApp (see VARARGIN)
+
+% Choose default command line output for guideApp
+handles.output = hObject;
+
+% Update handles structure
+guidata(hObject, handles);
+
+% Put a layout in the panel
+g = uiextras.GridFlex( 'Parent', handles.uipanel1, ...
+    'Units', 'Normalized', 'Position', [0 0 1 1], ...
+    'Spacing', 5 );
+uiextras.BoxPanel( 'Parent', g, 'Title', 'Panel 1' );
+uiextras.BoxPanel( 'Parent', g, 'Title', 'Panel 2' );
+uiextras.BoxPanel( 'Parent', g, 'Title', 'Panel 3' );
+uiextras.BoxPanel( 'Parent', g, 'Title', 'Panel 4' );
+g.RowSizes = [-1 -1];
+
+% UIWAIT makes guideApp wait for user response (see UIRESUME)
+% uiwait(handles.figure1);
+
+
+% --- Outputs from this function are returned to the command line.
+function varargout = guideApp_OutputFcn(hObject, eventdata, handles) 
+% varargout  cell array for returning output args (see VARARGOUT);
+% hObject    handle to figure
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+% Get default command line output from handles structure
+varargout{1} = handles.output;
+
+
+% --- Executes on button press in pushbutton1.
+function pushbutton1_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton1 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in pushbutton2.
+function pushbutton2_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton2 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
+
+
+% --- Executes on button press in pushbutton3.
+function pushbutton3_Callback(hObject, eventdata, handles)
+% hObject    handle to pushbutton3 (see GCBO)
+% eventdata  reserved - to be defined in a future version of MATLAB
+% handles    structure with handles and user data (see GUIDATA)
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/heirarchyexample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/heirarchyexample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/heirarchyexample.m	(revision 17)
@@ -0,0 +1,31 @@
+%% A Heirarchy of Layouts Example
+% This example shows how to use layouts within other layouts to achieve
+% more complex user interface designs with the right mix of variable and
+% fixed sized components.
+
+%% Open the window
+% Open a new figure window and remove the toolbar and menus
+window = figure( 'Name', 'A Layout Heirarchy Example', ...
+    'MenuBar', 'none', ...
+    'Toolbar', 'none', ...
+    'NumberTitle', 'off', ...
+    'Position', 200*ones(1,4) );
+
+%% Create the first layout (vertical box)
+% Inside this vertical box we place the axes
+vbox = uiextras.VBox( 'Parent', window );
+axes( 'Parent', vbox );
+
+%% Create the second layout (horizontal box)
+% Inside this horizontal box we place two buttons
+hbox = uiextras.HButtonBox( 'Parent', vbox, 'Padding', 5 );
+uicontrol( 'Parent', hbox, ...
+    'String', 'Button 1' );
+uicontrol( 'Parent', hbox, ...
+    'String', 'Button 2' );
+
+%% Set the sizes
+% We want the axes to grow with the window so set the first size to be -1 
+% (which means variable size with wieght 1) and the buttons to stay fixed 
+% height so set the second size to 35 (fixed height of 35 pixels)
+set( vbox, 'Sizes', [-1 35] )
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/minimizeexample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/minimizeexample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/minimizeexample.m	(revision 17)
@@ -0,0 +1,55 @@
+function minimizeexample()
+%MINIMIZEEXAMPLE: An example of using the panelbox minimize/maximize
+
+%   Copyright 2007-2009 The MathWorks Ltd.
+%   1.1    2012/05/08 08:03:00
+
+width = 200;
+pheightmin = 20;
+pheightmax = 100;
+
+% Create the window and main layout
+fig = figure( 'Name', 'Collapsable GUI', ...'
+    'NumberTitle', 'off', ...
+    'Toolbar', 'none', ...
+    'MenuBar', 'none' );
+box = uiextras.VBox( 'Parent', fig );
+
+panel{1} = uiextras.BoxPanel( 'Title', 'Panel 1', 'Parent', box );
+panel{2} = uiextras.BoxPanel( 'Title', 'Panel 2', 'Parent', box );
+panel{3} = uiextras.BoxPanel( 'Title', 'Panel 3', 'Parent', box );
+set( box, 'Sizes', pheightmax*ones(1,3) );
+
+% Add some contents
+uicontrol( 'Style', 'PushButton', 'String', 'Button 1', 'Parent', panel{1} );
+uicontrol( 'Style', 'PushButton', 'String', 'Button 2', 'Parent', panel{2} );
+uicontrol( 'Style', 'PushButton', 'String', 'Button 3', 'Parent', panel{3} );
+
+% Resize the window
+pos = get( fig, 'Position' );
+set( fig, 'Position', [pos(1,1:2),width,sum(box.Sizes)] );
+
+% Hook up the minimize callback
+set( panel{1}, 'MinimizeFcn', {@nMinimize, 1} );
+set( panel{2}, 'MinimizeFcn', {@nMinimize, 2} );
+set( panel{3}, 'MinimizeFcn', {@nMinimize, 3} );
+
+%-------------------------------------------------------------------------%
+    function nMinimize( eventSource, eventData, whichpanel ) %#ok<INUSL>
+        % A panel has been maximized/minimized
+        s = get( box, 'Sizes' );
+        pos = get( fig, 'Position' );
+        panel{whichpanel}.IsMinimized = ~panel{whichpanel}.IsMinimized;
+        if panel{whichpanel}.IsMinimized
+            s(whichpanel) = pheightmin;
+        else
+            s(whichpanel) = pheightmax;
+        end
+        set( box, 'Sizes', s );
+        
+        % Resize the figure, keeping the top stationary
+        delta_height = pos(1,4) - sum( box.Sizes );
+        set( fig, 'Position', pos(1,:) + [0 delta_height 0 -delta_height] );
+    end % nMinimize
+
+end % EOF
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/tabpanelexample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/tabpanelexample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/tabpanelexample.m	(revision 17)
@@ -0,0 +1,57 @@
+%% A TabPanel Example
+% This example shows how to use tabs within a layout. It also shows how to
+% use the TabPanel Callback property to update other GUI elements when the
+% visible tab is changed.
+
+%% Open the window
+% Open a new figure window and remove the toolbar and menus
+window = figure( 'Name', 'A TabPanel example', ...
+    'MenuBar', 'none', ...
+    'Toolbar', 'none', ...
+    'NumberTitle', 'off' );
+
+%% Create the layout
+% The layout involves two panels side by side. This is done using a
+% flexible horizontal box. The left-hand side is filled with a standard
+% panel and the right-hand side with some tabs.
+hbox = uiextras.HBoxFlex('Parent', window, 'Spacing', 3);
+panel = uiextras.Panel( ...
+    'Parent', hbox, ...
+    'Padding', 5, ...
+    'Title', 'Left' );
+tabpanel = uiextras.TabPanel( 'Parent', ...
+    hbox, ...
+    'Padding', 0);
+
+%% Add a list on the left
+% Note that we link the callbacks from the list to the tab selection and
+% the tab callback to the list such that they are kept in sync.
+panellist = uicontrol( 'Style', 'list', ...
+    'Parent', panel, ...
+    'String', {'1', '2', '3'}, ...
+    'BackgroundColor', 'w', ...
+    'Callback', @(a,b) set( tabpanel, 'SelectedChild', get( a, 'Value' ) ) );
+set( tabpanel, 'Callback', @(a,b) set( panellist, 'Value', b.SelectedChild ) );
+
+%% Create some contents
+% Each tab is filled with a list box showing some numbers
+htab1 = uiextras.Panel( 'Parent', tabpanel, 'Padding', 5, 'Title', '1');
+uicontrol( 'Style', 'listbox', 'Parent', htab1, ...
+    'String', {'1', '1', '1'}, ...
+    'BackgroundColor', 'w' );
+
+htab2 = uiextras.Panel( 'Parent', tabpanel, 'Padding', 5, 'Title', '2');
+uicontrol( 'Style', 'listbox', 'Parent', htab2, ...
+    'String', {'2', '2', '2'}, ...
+    'BackgroundColor', 'w' );
+
+htab3 = uiextras.Panel( 'Parent', tabpanel, 'Padding', 5, 'Title', '3');
+uicontrol( 'Style', 'listbox', 'Parent', htab3, ...
+    'String', {'3', '3', '3'}, ...
+    'BackgroundColor', 'w' );
+
+%% Update the tab titles
+tabpanel.TabNames = {'1', '2', '3'};
+
+%% Show the first tab
+tabpanel.SelectedChild = 1;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/visibleexample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/visibleexample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Examples/visibleexample.m	(revision 17)
@@ -0,0 +1,28 @@
+%% Showing/hiding a panel
+%
+%   This example opens a simple user-interface with a panel full of
+%   buttons. We can then show/hide the entire panel in one go. Note
+%   that the previous state of the buttons is preserved. 
+
+%% Open a window and add a panel
+fig = figure( 'Name', 'Visible example', ...
+    'Position', [100 100 150 250], ...
+    'MenuBar', 'none', ...
+    'ToolBar', 'none', ...
+    'NumberTitle', 'off' );
+panel = uiextras.BoxPanel( 'Parent', fig, 'Title', 'Panel' );
+
+%% Put some buttons inside the panel
+box = uiextras.VButtonBox( 'Parent', panel );
+uicontrol( 'Parent', box, 'String', 'Button 1' );
+uicontrol( 'Parent', box, 'String', 'Button 2' );
+uicontrol( 'Parent', box, 'String', 'Button 3', 'Visible', 'off' );
+uicontrol( 'Parent', box, 'String', 'Button 4' );
+uicontrol( 'Parent', box, 'String', 'Button 5', 'Visible', 'off' );
+uicontrol( 'Parent', box, 'String', 'Button 6' );
+
+%% Try disabling the panel
+set( panel, 'Visible', 'off' );
+
+%% Try enabling the panel
+set( panel, 'Visible', 'on' );
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/FigureDefaults.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/FigureDefaults.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/FigureDefaults.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide4_1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference.html	(revision 17)
@@ -0,0 +1,198 @@
+<html xmlns:saxon="http://icl.com/saxon">
+
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Function reference</title>
+   </head>
+
+   
+            
+   <body>
+      
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="index.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>GUI Layout Toolbox 1.10</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="index.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference1_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+      <h1>Function reference&nbsp;<A href="index.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h1>
+    
+     
+     
+    <!-- ****************************************************************** -->
+    
+     
+    
+         <!-- ****************************************************************** -->
+    
+     
+    
+        
+
+      <table border="0">
+         <tr>
+            <td colspan="2"><a name="1"><h2>1: Panels</h2></a>
+         <a href="uiextras.Panel.html"><img src="Images/bigicon_Panel.png" border="1"/></a>
+         <a href="uiextras.CardPanel.html"><img src="Images/bigicon_CardPanel.png" border="1"/></a>
+         <a href="uiextras.BoxPanel.html"><img src="Images/bigicon_BoxPanel.png" border="1"/></a>
+         <a href="uiextras.TabPanel.html"><img src="Images/bigicon_TabPanel.png" border="1"/></a>
+
+     
+
+
+     
+
+     
+
+     
+
+         
+     </td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference1_1.html">1.1&nbsp;uiextras.Panel</a></td>
+            <td valign="top">Arrange a single element inside a standard panel</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference1_2.html">1.2&nbsp;uiextras.CardPanel</a></td>
+            <td valign="top">Show one element (card) from a list</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference1_3.html">1.3&nbsp;uiextras.BoxPanel</a></td>
+            <td valign="top">Arrange a single element in a panel with boxed title</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference1_4.html">1.4&nbsp;uiextras.TabPanel</a></td>
+            <td valign="top">Arrange elements in a panel with tabs for selecting which is visible</td>
+         </tr>
+         <tr>
+            <td colspan="2"><a name="2"><h2>2: Boxes</h2></a>
+         <a href="uiextras.HBox.html"><img src="Images/bigicon_HBox.png" border="1"/></a>
+         <a href="uiextras.VBox.html"><img src="Images/bigicon_VBox.png" border="1"/></a>
+         <a href="uiextras.HBoxFlex.html"><img src="Images/bigicon_HBoxFlex.png" border="1"/></a>
+         <a href="uiextras.VBoxFlex.html"><img src="Images/bigicon_VBoxFlex.png" border="1"/></a>
+         <a href="uiextras.HButtonBox.html"><img src="Images/bigicon_HButtonBox.png" border="1"/></a>
+         <a href="uiextras.VButtonBox.html"><img src="Images/bigicon_VButtonBox.png" border="1"/></a>
+         
+         
+                  
+         
+         
+         
+         
+         
+         
+
+         
+
+         
+
+     </td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference2_1.html">2.1&nbsp;uiextras.HBox</a></td>
+            <td valign="top">Arrange elements horizontally in a single row</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference2_2.html">2.2&nbsp;uiextras.VBox</a></td>
+            <td valign="top">Arrange elements vertically in a single column</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference2_3.html">2.3&nbsp;uiextras.HBoxFlex</a></td>
+            <td valign="top">Arrange elements horizontally with draggable dividers</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference2_4.html">2.4&nbsp;uiextras.VBoxFlex</a></td>
+            <td valign="top">Arrange elements vertically with draggable dividers</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference2_5.html">2.5&nbsp;uiextras.HButtonBox</a></td>
+            <td valign="top">Arrange buttons horizontally in a single row</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference2_6.html">2.6&nbsp;uiextras.VButtonBox</a></td>
+            <td valign="top">Arrange buttons vertically in a single column</td>
+         </tr>
+         <tr>
+            <td colspan="2"><a name="3"><h2>3: Grids</h2></a>
+         <a href="uiextras.Grid.html"><img src="Images/bigicon_Grid.png" border="1"/></a>
+         <a href="uiextras.GridFlex.html"><img src="Images/bigicon_GridFlex.png" border="1"/></a>
+
+        
+        
+        
+        
+    </td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference3_1.html">3.1&nbsp;uiextras.Grid</a></td>
+            <td valign="top">Arrange elements in a two dimensional grid</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference3_2.html">3.2&nbsp;uiextras.GridFlex</a></td>
+            <td valign="top">Arrange elements in a two dimensional grid with draggable dividers</td>
+         </tr>
+         <tr>
+            <td colspan="2"><a name="4"><h2>4: Other functions</h2></a>
+
+        
+
+        
+
+        
+
+
+        
+
+
+
+        
+
+    </td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference4_1.html">4.1&nbsp;uiextras.Empty</a></td>
+            <td valign="top">Create an empty space</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference4_2.html">4.2&nbsp;layoutVersion</a></td>
+            <td valign="top">Get the toolbox version number and date</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference4_3.html">4.3&nbsp;layoutRoot</a></td>
+            <td valign="top">Return the folder containing the GUI layout toolbox</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference4_4.html">4.4&nbsp;uiextras.set</a></td>
+            <td valign="top">Store a default property value in a parent object</td>
+         </tr>
+         <tr>
+            <td valign="top"><a href="Function reference4_5.html">4.5&nbsp;uiextras.get</a></td>
+            <td valign="top">Retrieve a default property value from a parent object</td>
+         </tr>
+      </table>
+      <br clear="all"/>
+      
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="index.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference1_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.Panel</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference1_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_1.html	(revision 17)
@@ -0,0 +1,83 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.Panel</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference1_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.1: uiextras.Panel&nbsp;<a href="Function reference.html#1"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+             
+             <img src="Images/bigicon_Panel.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange a single element inside a standard panel</p>
+                          <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.Panel(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a standard <a href="matlab:doc uipanel"><code class="FUNCTION">uipanel</code></a> object but with automatic management
+                 of the contained widget or layout. The properties available are largely
+                 the same as the builtin <a href="matlab:doc uipanel"><code class="FUNCTION">uipanel</code></a> object. Where more than one child is
+                 added, the currently visible child is determined using the SelectedChild property.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.Panel(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.Panel properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BorderType&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ none | etchedin | etchedout | beveledin | beveledout | line ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Type of border around the uipanel area.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BorderWidth&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Width of the panel border.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontAngle&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ normal | italic | oblique ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font angle.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontName&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font name (e.g. Arial, Helvetica etc).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontSize&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font size.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontUnits&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font units for measuring size.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontWeight&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ light | normal | demi | bold ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font weight.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ForegroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Title font color and/or color of 2-D border line.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>HighlightColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>3-D frame highlight color.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>SelectedChild&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer or empty</value></td><td valign="top" class="PROPERTYTABLE"><description>Which child is visible.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ShadowColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>3-D frame shadow color.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Title&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>Title string.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>TitlePosition&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ lefttop | centertop | righttop | leftbottom | centerbottom | rightbottom ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Location of title string in relation to the panel.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->p = <a href="uiextras.Panel.html"><code class="FUNCTION">uiextras.Panel</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Title'</code>, <code class="STRING">'A Panel'</code>, <code class="STRING">'Padding'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/Panel.png"/></center>
+                     </font></p>
+                 
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->p = <a href="uiextras.Panel.html"><code class="FUNCTION">uiextras.Panel</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Title'</code>, <code class="STRING">'A Panel'</code>, <code class="STRING">'TitlePosition'</code>, 'CenterTop');
+<!--&gt;&gt; -->b = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Spacing'</code>, 5, <code class="STRING">'Padding'</code>, 5  );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Style', 'listbox', <code class="STRING">'Parent'</code>, b, <code class="STRING">'String'</code>, {<code class="STRING">'Item 1'</code>,<code class="STRING">'Item 2'</code>} );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> );
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b, <code class="STRING">'Sizes'</code>, [100 -1] );</font></pre>         
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/Panel2.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.BoxPanel.html">uiextras.BoxPanel</a></code> - for creating a more boxy panel</li><li><code class="FUNCTION"><a href="uiextras.TabPanel.html">uiextras.TabPanel</a></code> - for a panel with tabs for selecting the visible child</li><li><code class="FUNCTION"><a href="uiextras.HBox.html">uiextras.HBox</a></code> - for creating a horizontal arrangement within a panel</li></ul>
+     
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Function reference</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference1_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.CardPanel</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference1_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_2.html	(revision 17)
@@ -0,0 +1,77 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.CardPanel</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference1_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference1_3.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.2: uiextras.CardPanel&nbsp;<a href="Function reference.html#1"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+             
+             <img src="Images/bigicon_CardPanel.png" align="left"/>
+             <br clear="all"/>
+             <p>Show one element (card) from a list</p>
+                          <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.CardPanel(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a new card panel which allows
+    selection between the different child objects contained, making the
+    selected child fill the space available and all other children
+    invisible. This is commonly used for creating wizards or quick
+    switching between different views of a single data-set.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.CardPanel(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.CardPanel properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>SelectedChild&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer or empty</value></td><td valign="top" class="PROPERTYTABLE"><description>Which child is visible.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->p = <a href="uiextras.CardPanel.html"><code class="FUNCTION">uiextras.CardPanel</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Padding'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> );
+<!--&gt;&gt; -->p.SelectedChild = 2;</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/CardPanel.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.Panel.html">uiextras.Panel</a></code> - for creating a standard panel</li><li><code class="FUNCTION"><a href="uiextras.BoxPanel.html">uiextras.BoxPanel</a></code> - for creating a more boxy panel</li><li><code class="FUNCTION"><a href="uiextras.TabPanel.html">uiextras.TabPanel</a></code> - for a panel with tabs for selecting the visible child</li></ul>
+     
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference1_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference1_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.Panel</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference1_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.BoxPanel</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference1_3.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_3.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_3.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_3.html	(revision 17)
@@ -0,0 +1,87 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.BoxPanel</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference1_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference1_4.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.3: uiextras.BoxPanel&nbsp;<a href="Function reference.html#1"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+             
+             <img src="Images/bigicon_BoxPanel.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange a single element in a panel with boxed title</p>
+                          <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.BoxPanel(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a box-styled panel object with
+    automatic management of the contained widget or layout. The
+    properties available are largely the same as the builtin <a href="matlab:doc UIPANEL"><code class="FUNCTION">UIPANEL</code></a>
+    object. Where more than one child is added, the currently visible
+    child is determined using the SelectedChild property.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.BoxPanel(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.BoxPanel properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>CloseRequestFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the panel close icon is clicked. Note that if empty, no close button is shown.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DockFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>function handle</value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when panel is docked or undocked. Note that if empty, no dock button is shown. See <a href="BoxPanelFancyStuff.html">advanced manoeuvres with panels</a> for details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontAngle&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ normal | italic | oblique ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font angle.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontName&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font name (e.g. Arial, Helvetica etc).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontSize&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font size.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontUnits&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font units for measuring size.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontWeight&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ light | normal | demi | bold ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font weight.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ForegroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Title font color and/or color of 2-D border line.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>HelpFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>function handle</value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the help icon is clicked. Note that if empty, no help button is shown. See <a href="BoxPanelFancyStuff.html">advanced manoeuvres with panels</a> for details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>HighlightColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>3-D frame highlight color.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>IsDocked&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>logical</value></td><td valign="top" class="PROPERTYTABLE"><description>Is this panel in a docked state. See <a href="BoxPanelFancyStuff.html">advanced manoeuvres with panels</a> for details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>IsMinimized&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>logical</value></td><td valign="top" class="PROPERTYTABLE"><description>Is this panel in a minimized state. See <a href="BoxPanelFancyStuff.html">advanced manoeuvres with panels</a> for details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>MinimizeFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>function handle</value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when panel is minimized or maximized. Note that if empty, no minimize button is shown. See <a href="BoxPanelFancyStuff.html">advanced manoeuvres with panels</a> for details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>SelectedChild&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer or empty</value></td><td valign="top" class="PROPERTYTABLE"><description>Which child is visible.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ShadowColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>3-D frame shadow color.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Title&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>Title string.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>TitleColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>color for the title bar background.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen. See the <a href="VisibleExample.html">visible example</a> for more details.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->p = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Title'</code>, 'A BoxPanel', <code class="STRING">'Padding'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/BoxPanel.png"/></center>
+                     </font></p>
+                 
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->p = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Title'</code>, 'A BoxPanel', <code class="STRING">'Padding'</code>, 5 );
+<!--&gt;&gt; -->b = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Spacing'</code>, 5, <code class="STRING">'Padding'</code>, 5  );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Style', 'listbox', <code class="STRING">'Parent'</code>, b, <code class="STRING">'String'</code>, {'Item 1','Item 2'} );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> );
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b, <code class="STRING">'Sizes'</code>, [100 -1] );
+<!--&gt;&gt; -->p.FontSize = 12;
+<!--&gt;&gt; -->p.FontWeight = 'bold';
+<!--&gt;&gt; -->p.HelpFcn = @(x,y) disp('Help me!');</font></pre>         
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/BoxPanel2.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.Panel.html">uiextras.Panel</a></code> - for creating a more standard panel</li><li><code class="FUNCTION"><a href="uiextras.TabPanel.html">uiextras.TabPanel</a></code> - for a panel with tabs for selecting the visible child</li><li><code class="FUNCTION"><a href="uiextras.HBox.html">uiextras.HBox</a></code> - for creating a horizontal arrangement within a panel</li></ul>
+     
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference1_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference1_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.CardPanel</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference1_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.TabPanel</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference1_4.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_4.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_4.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference1_4.html	(revision 17)
@@ -0,0 +1,76 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.TabPanel</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference1_3.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference2_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.4: uiextras.TabPanel&nbsp;<a href="Function reference.html#1"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+             
+             <img src="Images/bigicon_TabPanel.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange elements in a panel with tabs for selecting which is visible</p>
+                          <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.TabPanel(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a panel with tabs along one edge
+    to allow selection between the different child objects contained.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.TabPanel(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.TabPanel properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Callback&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the selected tab is changed. The event-data supplied has fields <code>PreviousChild</code> and <code>SelectedChild</code> giving the previously selected and newly selected tab indices.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontAngle&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ normal | italic | oblique ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font angle.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontName&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font name (e.g. Arial, Helvetica etc).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontSize&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font size.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontUnits&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font units for measuring size.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>FontWeight&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ light | normal | demi | bold ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Title font weight.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ForegroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Title font color and/or color of 2-D border line.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>HighlightColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>3-D frame highlight color.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ShadowColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>3-D frame shadow color.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>IsMinimized&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>logical</value></td><td valign="top" class="PROPERTYTABLE"><description>Is this panel in a minimized state.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>MinimizeFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>function handle</value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when panel is minimized or maximized.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>SelectedChild&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer or empty</value></td><td valign="top" class="PROPERTYTABLE"><description>Which child is visible.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>TabSize&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Size (width) of the tabs in pixels (default 50).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>TabEnable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>cell array of [ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>A list of the enabled state of each tab (default is all 'on').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>TabNames&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>cell array of strings</value></td><td valign="top" class="PROPERTYTABLE"><description>A list of the names of the tabs with one entry per tab.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->p = <a href="uiextras.TabPanel.html"><code class="FUNCTION">uiextras.TabPanel</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Padding'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, p, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> );
+<!--&gt;&gt; -->p.TabNames = {<code class="STRING">'Red'</code>, <code class="STRING">'Blue'</code>, <code class="STRING">'Green'</code>};
+<!--&gt;&gt; -->p.SelectedChild = 2;</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/TabPanel.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.Panel.html">uiextras.Panel</a></code> - for creating a more standard panel</li><li><code class="FUNCTION"><a href="uiextras.BoxPanel.html">uiextras.BoxPanel</a></code> - for creating a panel with boxed title</li></ul>
+     
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference1_3.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference1_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.BoxPanel</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.HBox</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_1.html	(revision 17)
@@ -0,0 +1,88 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.HBox</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference1_4.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference2_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>2.1: uiextras.HBox&nbsp;<a href="Function reference.html#2"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+                 
+
+             <img src="Images/bigicon_HBox.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange elements horizontally in a single row</p>
+             <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.HBox(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a new horizontal box layout with all properties set to defaults.
+             The output is a new layout object that can be used as the parent for other user-interface components.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.HBox(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.HBox properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>MinimumSizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The minimum size in pixels for each of the child elements. The size of this vector must always match the number of elements (children).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Sizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The size of each of the child elements. Positive entries indicate fixed sizes in pixels, negative values indicate relative weights for resizing. The size of this vector must always match the number of elements (children).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Spacing&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space to leave between elements in the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->b = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, f );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> )
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b, <code class="STRING">'Sizes'</code>, [-1 100 -2], <code class="STRING">'Spacing'</code>, 5 );</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/HBox.png"/></center>
+                     </font></p>
+                 
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->b1 = <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>( <code class="STRING">'Parent'</code>, f );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b1, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; -->b2 = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, b1, <code class="STRING">'Padding'</code>, 5, <code class="STRING">'Spacing'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b2, <code class="STRING">'String'</code>, <code class="STRING">'Button1'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b2, <code class="STRING">'String'</code>, <code class="STRING">'Button2'</code> )
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b1, <code class="STRING">'Sizes'</code>, [30 -1] );</font></pre>         
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/CombineBoxes.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.VBox.html">uiextras.VBox</a></code> - for creating a vertical arrangement</li><li><code class="FUNCTION"><a href="uiextras.HBoxFlex.html">uiextras.HBoxFlex</a></code> - for creating a horizontal arrangement with draggable dividers</li></ul>
+         
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference1_4.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference1_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.TabPanel</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.VBox</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_2.html	(revision 17)
@@ -0,0 +1,87 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.VBox</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference2_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference2_3.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>2.2: uiextras.VBox&nbsp;<a href="Function reference.html#2"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+                 
+             <img src="Images/bigicon_VBox.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange elements vertically in a single column</p>
+             <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.VBox(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a new vertical box layout with all properties set to defaults.
+             The output is a new layout object that can be used as the parent for other user-interface components.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.VBox(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.VBox properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>MinimumSizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The minimum size in pixels for each of the child elements. The size of this vector must always match the number of elements (children).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Sizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The size of each of the child elements. Positive entries indicate fixed sizes in pixels, negative values indicate relative weights for resizing. The size of this vector must always match the number of elements (children).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Spacing&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space to leave between elements in the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->b = <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>( <code class="STRING">'Parent'</code>, f );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> )
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b, <code class="STRING">'Sizes'</code>, [-1 100 -2], <code class="STRING">'Spacing'</code>, 5 );</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/VBox.png"/></center>
+                     </font></p>
+                 
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->b1 = <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>( <code class="STRING">'Parent'</code>, f );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b1, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; -->b2 = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, b1, <code class="STRING">'Padding'</code>, 5, <code class="STRING">'Spacing'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b2, <code class="STRING">'String'</code>, <code class="STRING">'Button1'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b2, <code class="STRING">'String'</code>, <code class="STRING">'Button2'</code> )
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b1, <code class="STRING">'Sizes'</code>, [30 -1] );</font></pre>         
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/CombineBoxes.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.HBox.html">uiextras.HBox</a></code> - for creating a horizontal arrangement</li><li><code class="FUNCTION"><a href="uiextras.VBoxFlex.html">uiextras.VBoxFlex</a></code> - for creating a vertical arrangement with draggable dividers</li></ul>
+         
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.HBox</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.HBoxFlex</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_3.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_3.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_3.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_3.html	(revision 17)
@@ -0,0 +1,79 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.HBoxFlex</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference2_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference2_4.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>2.3: uiextras.HBoxFlex&nbsp;<a href="Function reference.html#2"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+                 
+                 
+                 
+             <img src="Images/bigicon_HBoxFlex.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange elements horizontally with draggable dividers</p>
+             <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.HBoxFlex()(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a new horizontal box layout with draggable dividers and with all properties set to defaults.
+             The output is a new layout object that can be used as the parent for other user-interface components.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.HBoxFlex()(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.HBoxFlex properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>MinimumSizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The minimum size in pixels for each of the child elements. The size of this vector must always match the number of elements (children).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ShowMarkings&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Show markings on the draggable dividers (default 'on').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Sizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The size of each of the child elements. Positive entries indicate fixed sizes in pixels, negative values indicate relative weights for resizing. The size of this vector must always match the number of elements (children).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Spacing&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space to leave between elements in the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( <code class="STRING">'Name'</code>, <code class="STRING">'uiextras.HBoxFlex example'</code> );
+<!--&gt;&gt; -->b = <a href="uiextras.HBoxFlex.html"><code class="FUNCTION">uiextras.HBoxFlex</code></a>( <code class="STRING">'Parent'</code>, f );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'y'</code> )
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b, <code class="STRING">'Sizes'</code>, [-1 100 -2 -1], <code class="STRING">'Spacing'</code>, 5 );</font></pre>         
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/HBoxFlex.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.HBox.html">uiextras.HBox</a></code> - for creating a horizontal arrangement</li><li><code class="FUNCTION"><a href="uiextras.VBoxFlex.html">uiextras.VBoxFlex</a></code> - for creating a vertical arrangement with draggable dividers</li></ul>
+         
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.VBox</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.VBoxFlex</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_4.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_4.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_4.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_4.html	(revision 17)
@@ -0,0 +1,78 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.VBoxFlex</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference2_3.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference2_5.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>2.4: uiextras.VBoxFlex&nbsp;<a href="Function reference.html#2"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+                 
+                 
+                 
+             <img src="Images/bigicon_VBoxFlex.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange elements vertically with draggable dividers</p>
+             <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.VBoxFlex(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a new vertical box layout with draggable dividers and with all properties set to defaults.
+             The output is a new layout object that can be used as the parent for other user-interface components.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.VBoxFlex(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                    <dd>also sets one or more property values from the list below.</dd>
+             </dl>
+                    
+             <h3>uiextras.VBoxFlex properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>MinimumSizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The minimum size in pixels for each of the child elements. The size of this vector must always match the number of elements (children).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ShowMarkings&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Show markings on the draggable dividers (default 'on').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Sizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The size of each of the child elements. Positive entries indicate fixed sizes in pixels, negative values indicate relative weights for resizing. The size of this vector must always match the number of elements (children).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Spacing&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space to leave between elements in the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( <code class="STRING">'Name'</code>, <code class="STRING">'uiextras.VBoxFlex example'</code> );
+<!--&gt;&gt; -->b = <a href="uiextras.VBoxFlex.html"><code class="FUNCTION">uiextras.VBoxFlex</code></a>( <code class="STRING">'Parent'</code>, f );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'Background'</code>, <code class="STRING">'y'</code> )
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b, <code class="STRING">'Sizes'</code>, [-1 100 -2 -1], <code class="STRING">'Spacing'</code>, 5 );</font></pre>         
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/VBoxFlex.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.VBox.html">uiextras.VBox</a></code> - for creating a vertical arrangement</li><li><code class="FUNCTION"><a href="uiextras.HBoxFlex.html">uiextras.HBoxFlex</a></code> - for creating a horizontal arrangement with draggable dividers</li></ul>
+         
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_3.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.HBoxFlex</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.HButtonBox</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_5.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_5.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_5.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_5.html	(revision 17)
@@ -0,0 +1,80 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.HButtonBox</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference2_4.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference2_6.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>2.5: uiextras.HButtonBox&nbsp;<a href="Function reference.html#2"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+                 
+
+             <img src="Images/bigicon_HButtonBox.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange buttons horizontally in a single row</p>
+             <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.HButtonBox(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>is a type of HBox specialised for
+       arranging a row of buttons, check-boxes or similar graphical
+       elements. All buttons are given equal size and by default are
+       centered in the drawing area. The justification can be changed as
+       required.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.HButtonBox(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.HBox properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ButtonSize&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The size for the buttons (all are given equal size).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>HorizontalAlignment&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ left | center | right ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The horizontal position of the buttons.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Spacing&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space to leave between elements in the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>VerticalAlignment&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ top | middle | bottom ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The vertical position of the buttons.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->b = <a href="uiextras.HButtonBox.html"><code class="FUNCTION">uiextras.HButtonBox</code></a>( <code class="STRING">'Parent'</code>, f );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'String'</code>, 'One' );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'String'</code>, 'Two' );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'String'</code>, 'Three' );
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b, <code class="STRING">'ButtonSize'</code>, [130 35], <code class="STRING">'Spacing'</code>, 5 );</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/HButtonBox.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.VButtonBox.html">uiextras.VButtonBox</a></code> - for creating a vertical arrangement of buttons</li><li><code class="FUNCTION"><a href="uiextras.HBox.html">uiextras.HBox</a></code> - for creating a general horizontal arrangement</li></ul>
+         
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_4.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.VBoxFlex</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_6.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.VButtonBox</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference2_6.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_6.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_6.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference2_6.html	(revision 17)
@@ -0,0 +1,81 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.VButtonBox</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference2_5.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference3_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>2.6: uiextras.VButtonBox&nbsp;<a href="Function reference.html#2"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+                 
+
+             <img src="Images/bigicon_HButtonBox.png" align="left"/>
+             <br clear="all"/>
+             <p>Arrange buttons vertically in a single column</p>
+             <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.VButtonBox(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>is a type of VBox specialised for
+       arranging a column of buttons, check-boxes or similar graphical
+       elements. All buttons are given equal size and by default are
+       centered in the drawing area. The justification can be changed as
+       required.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.VButtonBox(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.HBox properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ButtonSize&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The size for the buttons (all are given equal size).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>HorizontalAlignment&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ left | center | right ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The horizontal position of the buttons.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Spacing&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space to leave between elements in the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>VerticalAlignment&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ top | middle | bottom ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The vertical position of the buttons.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->b = <a href="uiextras.VButtonBox.html"><code class="FUNCTION">uiextras.VButtonBox</code></a>( <code class="STRING">'Parent'</code>, f );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'String'</code>, 'One' );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'String'</code>, 'Two' );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, b, <code class="STRING">'String'</code>, 'Three' );
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( b, <code class="STRING">'ButtonSize'</code>, [130 35], <code class="STRING">'Spacing'</code>, 5 );</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/VButtonBox.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.HButtonBox.html">uiextras.HButtonBox</a></code> - for creating a horizontal arrangement of buttons</li><li><code class="FUNCTION"><a href="uiextras.VBox.html">uiextras.VBox</a></code> - for creating a general vertical arrangement</li></ul>
+         
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_5.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.HButtonBox</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference3_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.Grid</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference3_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference3_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference3_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference3_1.html	(revision 17)
@@ -0,0 +1,82 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.Grid</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference2_6.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference3_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>3.1: uiextras.Grid&nbsp;<a href="Function reference.html#3"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+             <img src="Images/bigicon_Grid.png" align="left"/>
+             <br clear="all"/>
+           <p>Arrange elements in a two dimensional grid</p>
+                        <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.Grid(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a new new grid layout with all properties set to defaults. The number of rows and
+                 columns to use is determined from the number of elements in the
+                 RowSizes and ColumnSizes properties respectively. Child elements are
+                 arranged down column one first, then column two etc. If there are insufficient
+                 columns then a new one is added.
+             The output is a new layout object that can be used as the parent for other user-interface components.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.Grid(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.Grid properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>RowSizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The size of each of the rows. Positive entries indicate fixed sizes in pixels, negative values indicate relative weights for resizing.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ColumnSizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The size of each of the columns. Positive entries indicate fixed sizes in pixels, negative values indicate relative weights for resizing.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Spacing&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space to leave between elements in the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->g = <a href="uiextras.Grid.html"><code class="FUNCTION">uiextras.Grid</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Spacing'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> )
+<!--&gt;&gt; --><a href="uiextras.Empty.html"><code class="FUNCTION">uiextras.Empty</code></a>( <code class="STRING">'Parent'</code>, g )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'c'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'y'</code> )
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( g, <code class="STRING">'ColumnSizes'</code>, [-1 100 -2], <code class="STRING">'RowSizes'</code>, [-1 100] );</font></pre>         
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/Grid.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.GridFlex.html">uiextras.GridFlex</a></code> - for creating a grid arrangement with draggable dividers</li></ul>
+
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_6.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference2_6.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.VButtonBox</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference3_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.GridFlex</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference3_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference3_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference3_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference3_2.html	(revision 17)
@@ -0,0 +1,84 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.GridFlex</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference3_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference4_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>3.2: uiextras.GridFlex&nbsp;<a href="Function reference.html#3"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+             <img src="Images/bigicon_GridFlex.png" align="left"/>
+            <br clear="all"/>
+            <p>Arrange elements in a two dimensional grid with draggable dividers</p>
+                        <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.GridFlex(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates a new new grid layout with draggable dividers between elements. The number of rows and
+                 columns to use is determined from the number of elements in the
+                 RowSizes and ColumnSizes properties respectively. Child elements are
+                 arranged down column one first, then column two etc. If there are insufficient
+                 columns then a new one is added.
+             The output is a new layout object that can be used as the parent for other user-interface components.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.GridFlex(</code><code class="INARG">&nbsp;prop</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.GridFlex properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BackgroundColor&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc colorspec"><code class="FUNCTION">colorspec</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>The color to use for exposed areas of the layout background. This can be an RGB triple (e.g. [0 0 1]) or a colour name (e.g. 'b').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Children&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle array</value></td><td valign="top" class="PROPERTYTABLE"><description>List of child objects within this layout (note that this can only be set to permutations of itself).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ColumnSizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The size of each of the columns. Positive entries indicate fixed sizes in pixels, negative values indicate relative weights for resizing.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>DeleteFcn&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value><a href="matlab:doc function_handle"><code class="FUNCTION">function_handle</code></a></value></td><td valign="top" class="PROPERTYTABLE"><description>Function to call when the layout is being deleted</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Enable&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is interaction with this layout enabled? Note that changing the enable property will cause all children contained to also be enabled/disabled, however since they can be individually re-enabled the state of this property does not reflect the state of the children. See the <a href="EnableExample.html">enable example</a> for more details.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Padding&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space around the outside of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>RowSizes&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>double vector</value></td><td valign="top" class="PROPERTYTABLE"><description>The size of each of the rows. Positive entries indicate fixed sizes in pixels, negative values indicate relative weights for resizing.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>ShowMarkings&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Show markings on the draggable dividers (default 'on').</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Spacing&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>positive integer</value></td><td valign="top" class="PROPERTYTABLE"><description>Number of pixels of extra space to leave between elements in the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->g = <a href="uiextras.GridFlex.html"><code class="FUNCTION">uiextras.GridFlex</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Spacing'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'b'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> )
+<!--&gt;&gt; --><a href="uiextras.Empty.html"><code class="FUNCTION">uiextras.Empty</code></a>( <code class="STRING">'Parent'</code>, g )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'c'</code> )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Background'</code>, <code class="STRING">'y'</code> )
+<!--&gt;&gt; --><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( g, <code class="STRING">'ColumnSizes'</code>, [-1 100 -2], <code class="STRING">'RowSizes'</code>, [-1 -2] );</font></pre>         
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022">
+                         <center><img src="Images/GridFlex.png"/></center>
+                     </font></p>
+                 
+             
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.Grid.html">uiextras.Grid</a></code> - for creating a grid arrangement</li></ul>
+
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference3_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference3_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.Grid</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.Empty</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_1.html	(revision 17)
@@ -0,0 +1,68 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.Empty</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference3_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference4_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>4.1: uiextras.Empty&nbsp;<a href="Function reference.html#4"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+            <p>Create an empty space</p>
+                        <dl>
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.Empty(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>creates an empty space object that can be
+    used in layouts to add gaps between other elements.</dd>
+                 
+                 <dt><code class="OUTARG">obj</code><code class="FUNCTION"> = uiextras.Empty(</code><code class="INARG">&nbsp;param</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;value</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;...</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>also sets one or more property values.</dd>
+                 
+             </dl>
+             
+                    
+             <h3>uiextras.Empty properties</h3>
+                 <center><table frame="box" rules="all" class="PROPERTYTABLE"><tr><th class="PROPERTYTABLE">Property</th><th class="PROPERTYTABLE">Value</th><th class="PROPERTYTABLE">Description</th></tr><tr><td valign="top" class="PROPERTYTABLE"><code>BeingDeleted&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>is the object in the process of being deleted.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Parent&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>handle</value></td><td valign="top" class="PROPERTYTABLE"><description>The handle of the parent figure or container.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Position&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[x y w h]</value></td><td valign="top" class="PROPERTYTABLE"><description>The position (x,y) and size (w,h) of the layout.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Tag&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>A string that can be used to identify this object later.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Type&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>string</value></td><td valign="top" class="PROPERTYTABLE"><description>the object type (class).</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Units&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ inches | centimeters | normalized | points | pixels | characters ]</value></td><td valign="top" class="PROPERTYTABLE"><description>The units of measurement for position the layout within its parent.</description></td></tr><tr><td valign="top" class="PROPERTYTABLE"><code>Visible&nbsp;</code></td><td valign="top" class="PROPERTYTABLE"><value>[ on | off ]</value></td><td valign="top" class="PROPERTYTABLE"><description>Is the object visible on screen.</description></td></tr></table></center>                 
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><!--&gt;&gt; -->f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<!--&gt;&gt; -->box = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Spacing'</code>, 5 );
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, box, <code class="STRING">'Background'</code>, <code class="STRING">'r'</code> )
+<!--&gt;&gt; --><a href="uiextras.Empty.html"><code class="FUNCTION">uiextras.Empty</code></a>( <code class="STRING">'Parent'</code>, box )
+<!--&gt;&gt; --><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Parent'</code>, box, <code class="STRING">'Background'</code>, <code class="STRING">'g'</code> )</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/Empty.png"/></center></font></p>
+                 
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.HBox.html">uiextras.HBox</a></code> - for arranging widgets horizontally</li></ul>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference3_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference3_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.GridFlex</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">layoutVersion</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_2.html	(revision 17)
@@ -0,0 +1,60 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>layoutVersion</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference4_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference4_3.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>4.2: layoutVersion&nbsp;<a href="Function reference.html#4"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+            <p>Get the toolbox version number and date</p>
+                        <dl>
+                 <dt><code class="OUTARG">V</code><code class="FUNCTION"> = layoutVersion(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>returns the version number as a string.</dd>
+                 
+                 <dt><code class="FUNCTION">[</code><code class="OUTARG">V</code><code class="FUNCTION">, </code><code class="OUTARG">D</code><code class="FUNCTION">] = layoutVersion(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>returns both the version string and the date of creation (format is ISO8601, i.e. YYYY-MM-DD)</dd>
+                 
+             </dl>
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">[v,d] = <a href="layoutVersion.html"><code class="FUNCTION">layoutVersion</code></a>()</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><code>v = <code class="STRING">'1.0'</code><br/>d = <code class="STRING">'2010-05-28'</code></code></font></p>
+                 
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="layoutRoot.html">layoutRoot</a></code> - returns the folder containing the GUI layout toolbox</li></ul>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.Empty</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">layoutRoot</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_3.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_3.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_3.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_3.html	(revision 17)
@@ -0,0 +1,58 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>layoutRoot</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference4_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference4_4.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>4.3: layoutRoot&nbsp;<a href="Function reference.html#4"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+                 
+            <p>returns the folder containing the GUI layout toolbox</p>
+                        <dl>
+                 <dt><code class="OUTARG">folder</code><code class="FUNCTION"> = layoutRoot(</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>returns the full path to the folder containing the GUI layout toolbox.</dd>
+                 
+             </dl>
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">folder = <a href="layoutRoot.html"><code class="FUNCTION">layoutRoot</code></a>()</font></pre>
+                     <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><code>folder = <code class="STRING">'C:\Temp\LayoutToolbox1.0'</code></code></font></p>
+                 
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="layoutVersion.html">layoutVersion</a></code> - for getting the toolbox version number and date</li></ul>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">layoutVersion</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.set</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_4.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_4.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_4.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_4.html	(revision 17)
@@ -0,0 +1,65 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.set</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference4_3.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Function reference4_5.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>4.4: uiextras.set&nbsp;<a href="Function reference.html#4"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+            <p>Store a default property value in a parent object</p>
+                        <dl>
+                 <dt><code class="FUNCTION">uiextras.set(</code><code class="INARG">&nbsp;hObj</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;propName</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;propValue</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>stores a default property
+value in the object hObj such that children created inside it of the
+correct class will use the specified value (<code class="INARG">propValue</code>) for
+the specified property by default. The property name should take the
+form "DefaultClassProperty", for example to set the default "TitleColor"
+for the class "uiextras.BoxPanel", use "DefaultBoxPanelTitleColor".
+Note that using the special object handle 0 sets the default for all
+new figures.</dd>
+                 
+             </dl>
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( <a href="matlab:doc gcf"><code class="FUNCTION">gcf</code></a>(), <code class="STRING">'DefaultBoxPanelTitleColor'</code>, <code class="STRING">'g'</code> )</font></pre>
+                 
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( 0, <code class="STRING">'DefaultHBoxPadding'</code>, 5 )</font></pre>
+                 
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.get.html">uiextras.get</a></code> - for retrieving a default property value from a parent object</li></ul>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_3.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">layoutRoot</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.get</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Function reference4_5.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_5.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_5.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Function reference4_5.html	(revision 17)
@@ -0,0 +1,63 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>uiextras.get</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Function reference.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Function reference</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Function reference4_4.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="index.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>4.5: uiextras.get&nbsp;<a href="Function reference.html#4"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                 
+                 
+            <p>Retrieve a default property value from a parent object</p>
+                        <dl>
+                 <dt><code class="OUTARG">propValue</code><code class="FUNCTION"> = uiextras.get(</code><code class="INARG">&nbsp;hObj</code><code class="FUNCTION">,</code><code class="INARG">&nbsp;propName</code><code class="FUNCTION">&nbsp;)</code></dt>
+                 <dd>retrieves a default property
+value from the object hObj. Note that the hObj must be a valid graphics
+container object such as a uipanel, figure or the special flag 0 (the
+overall environment). The property name should take the form
+"DefaultClassProperty", for example to get the default "TitleColor" for
+the class "uiextras.BoxPanel", use "DefaultBoxPanelTitleColor".If no
+default has been set for the specified property an error is thrown.</dd>                 
+             </dl>
+             
+             <h3>For example:</h3>
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">p = <a href="uiextras.get.html"><code class="FUNCTION">uiextras.get</code></a>( <a href="matlab:doc gcf"><code class="FUNCTION">gcf</code></a>(), <code class="STRING">'DefaultBoxPanelTitleColor'</code> )</font></pre>
+                 
+                     <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">p = <a href="uiextras.get.html"><code class="FUNCTION">uiextras.get</code></a>( 0, <code class="STRING">'DefaultHBoxPadding'</code> )</font></pre>
+                 
+             <br/><b>See also:</b><ul><li><code class="FUNCTION"><a href="uiextras.set.html">uiextras.set</a></code> - for setting a default property value in a parent object</li></ul>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_4.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Function reference4_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">uiextras.set</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/GUI Layout.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/GUI Layout.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/GUI Layout.html	(revision 17)
@@ -0,0 +1,5 @@
+<html><head>
+  <meta http-equiv="Refresh" content="0;url=index.html"/>
+  <meta author="The MathWorks Ltd."/>
+  <meta copyright="2011 The MathWorks Ltd."/>
+</head></html>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started.html	(revision 17)
@@ -0,0 +1,81 @@
+<html xmlns:saxon="http://icl.com/saxon">
+
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Getting Started</title>
+   </head>
+
+   
+            
+   <body>
+      
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="index.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>GUI Layout Toolbox 1.10</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="index.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Getting Started1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+      <h1>Getting Started&nbsp;<A href="index.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h1>
+    <p>
+        This chapter gives an overview of this package, including its purpose,
+how to install it and any known issues at the time of release.
+    </p>
+
+
+<!-- ****************************************************************** -->
+
+  
+
+
+<!-- ****************************************************************** -->
+
+  
+
+
+<!-- ****************************************************************** -->
+  
+
+
+<!-- ****************************************************************** -->
+  
+
+
+<!-- ****************************************************************** -->
+  
+
+<!-- ****************************************************************** -->
+  
+
+      <br clear="all"/>
+      <a name="Contents"/><h2>Contents</h2>
+      <ul class="contents">
+         <li>1. <a href="Getting Started1.html">What is the GUI Layout Toolbox?</a></li>
+         <li>2. <a href="Getting Started2.html">Release Notes</a></li>
+         <li>3. <a href="Getting Started3.html">Installation</a></li>
+         <li>4. <a href="Getting Started4.html">Support</a></li>
+         <li>5. <a href="Getting Started5.html">Acknowledgements</a></li>
+      </ul>
+              
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="index.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">What is the GUI Layout Toolbox?</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started1.html	(revision 17)
@@ -0,0 +1,59 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>What is the GUI Layout Toolbox?</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Getting Started.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Getting Started</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Getting Started.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Getting Started2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>1: What is the GUI Layout Toolbox?&nbsp;<A href="Getting Started.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+    
+<P>
+The GUI Layout Toolbox provides a package of MATLAB objects that allow for complex
+arrangement of graphical user interface elements within a figure window. The
+main capabilities provided are:
+<UL>
+  <LI>Automatic element arrangement horizontally, vertically or in grids</LI>
+  <LI>Ability to specify fixed sizes or resizing weights for each element</LI>
+  <LI>Ability to "nest" layouts to produce virtually any element arrangement</LI>
+  <LI>Divider bars for user-resizing of elements</LI>
+</UL>
+</P>
+<P>
+These element arrangement capabilities are designed to match those found as
+standard in other user-interface toolkits such as Java Swing, GTK, QT etc.
+</P>
+    
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Getting Started</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Release Notes</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started2.html	(revision 17)
@@ -0,0 +1,221 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Release Notes</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Getting Started.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Getting Started</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Getting Started1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Getting Started3.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>2: Release Notes&nbsp;<A href="Getting Started.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+    <p>
+The GUI Layout Toolbox version numbers take the form <code>major.minor</code>. The
+        current version you have installed can be checked by typing <a href="matlab:doc ver"><code class="FUNCTION">ver</code></a>
+        or <a href="layoutVersion.html"><code class="FUNCTION">layoutVersion</code></a> at the MATLAB command prompt.
+    </p>
+
+    
+
+    
+
+    
+
+    
+
+    
+
+    
+    
+    
+
+    
+
+    
+
+    
+     
+
+  
+      <h3>Section contents:</h3>
+      <ul class="contents">
+         <li>2.1. <a href="#1">Version 1.10 (July 2011)</a></li>
+         <li>2.2. <a href="#2">Version 1.9 (February 2011)</a></li>
+         <li>2.3. <a href="#3">Version 1.8 (November 2010)</a></li>
+         <li>2.4. <a href="#4">Version 1.7 (October 2010)</a></li>
+         <li>2.5. <a href="#5">Version 1.6 (September 2010)</a></li>
+         <li>2.6. <a href="#6">Version 1.5 (July 2010)</a></li>
+         <li>2.7. <a href="#7">Version 1.4 (July 2010)</a></li>
+         <li>2.8. <a href="#8">Version 1.3 (July 2010)</a></li>
+         <li>2.9. <a href="#9">Version 1.2 (June 2010)</a></li>
+         <li>2.10. <a href="#10">Version 1.1 (June 2010)</a></li>
+         <li>2.11. <a href="#11">Version 1.0 (May 2010)</a></li>
+      </ul>
+
+      <ul class="contents">
+      </ul>
+
+      
+      <ul class="contents">
+      </ul>
+<br clear="all"/><hr/>
+          
+      <h2><a name="1">&nbsp;</a>2.1: Version 1.10 (July 2011)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Add <code>TabEnable</code> property for controlling the enabled state of individual tabs</li>
+        <li>Revert to normalized units for all layouts</li>
+        <li>Fix bug with mouse-over events</li>
+    </ul>
+    <br clear="all"/><hr/>
+          
+      <h2><a name="2">&nbsp;</a>2.2: Version 1.9 (February 2011)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Add <code>MinimumSize</code> properties to Boxes and Grids</li>
+        <li>Minor improvements to mouse-over and redraw speed</li>
+        <li>Fix bug with ordering of controls that sometimes prevented grid dividers being dragged</li>
+    </ul>
+    <br clear="all"/><hr/>
+          
+      <h2><a name="3">&nbsp;</a>2.3: Version 1.8 (November 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Add PreviousChild event-data to <a href="uiextras.TabPanel.html"><code class="FUNCTION">uiextras.TabPanel</code></a> Callback</li>
+        <li>Add guards to prevent errors when focus is lost whilst dragging a flexible divider</li>
+        <li>Fix bug when trying to print figures containing flexible layouts</li>
+    </ul>
+    <br clear="all"/><hr/>
+          
+      <h2><a name="4">&nbsp;</a>2.4: Version 1.7 (October 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Improve enable behavior when used with custom widgets</li>
+        <li>Add an explanation of cell arrays used to pass extra function arguments</li>
+        <li>Fix bug in unit-setting of children added to layouts (improves axes handling)</li>
+    </ul>
+    <br clear="all"/><hr/>
+          
+      <h2><a name="5">&nbsp;</a>2.5: Version 1.6 (September 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Make panel "SelectedChild" property observable for use with <a href="matlab:doc event.proplistener"><code class="FUNCTION">event.proplistener</code></a></li>
+        <li>Fix bug with dividers disappearing when GridFlex's are nested</li>
+        <li>Fix clipping bug with Tab label text drawing outside parent container</li>
+    </ul>
+    <br clear="all"/><hr/>
+          
+      <h2><a name="6">&nbsp;</a>2.6: Version 1.5 (July 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Add DeleteFcn property that allows a user function to be called before a layout is deleted.</li>
+        <li>Improve <a href="PanelDock.html">Docking</a> and <a href="PanelMinimize.html">Minimizing</a> examples.</li>
+        <li>Fix flexible layout divider positions when figure units are not set to pixels (e.g. in GUIDE apps).</li>
+        <li>Add documentation describing how to use layouts as part of a GUIDE-built GUI.</li>
+        <li>Fix a bug where ButtonBoxes caused a new window to open if their parent had HandleVisibility off</li>
+    </ul>
+    <br clear="all"/><hr/>
+          
+      <h2><a name="7">&nbsp;</a>2.7: Version 1.4 (July 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Add ability to set defaults for property values. See <a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>.</li>
+    </ul>
+        <br clear="all"/><hr/>
+          
+      <h2><a name="8">&nbsp;</a>2.8: Version 1.3 (July 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Fix bug with <a href="uiextras.Panel.html"><code class="FUNCTION">uiextras.Panel</code></a> mis-managing its title when not specified at construction</li>
+        <li>Fix bug with <a href="uiextras.Empty.html"><code class="FUNCTION">uiextras.Empty</code></a> widget going out of scope</li>
+        <li>Fix bug when removing a child from <a href="uiextras.TabPanel.html"><code class="FUNCTION">uiextras.TabPanel</code></a></li>
+        <li>Prevent legends being hijacked by the layout managers!</li>
+        <li>Add option for showing markings on the movable dividers for flexible containers (<a href="uiextras.HBoxFlex.html"><code class="FUNCTION">uiextras.HBoxFlex</code></a>,<a href="uiextras.VBoxFlex.html"><code class="FUNCTION">uiextras.VBoxFlex</code></a>,<a href="uiextras.GridFlex.html"><code class="FUNCTION">uiextras.GridFlex</code></a>)</li>
+        <li>Add documentation on <a href="Compiling.html">building deployed exectuables</a></li>
+        <li>Tidy up help H1 lines in all files</li>
+    </ul>
+        <br clear="all"/><hr/>
+          
+      <h2><a name="9">&nbsp;</a>2.9: Version 1.2 (June 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>Update to the first release:</p>
+    <ul>
+        <li>Ensure layout objects are deleted when the graphics are deleted</li>
+        <li>Add "ancestor" method</li>
+        <li>Fix bug in GridFlex divider positioning</li>
+        <li>Remove "&gt;&gt;" from examples in documentation</li>
+        <li>Improve formatting of examples in documentation</li>
+    </ul>
+        <br clear="all"/><hr/>
+          
+      <h2><a name="10">&nbsp;</a>2.10: Version 1.1 (June 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+        <p>Update to the first release:</p>
+        <ul>
+            <li>Added missing <a href="layoutRoot.html"><code class="FUNCTION">layoutRoot</code></a> and <a href="layoutVersion.html"><code class="FUNCTION">layoutVersion</code></a> functions.</li>
+            <li>Fix various typographical errors in the documentation.</li>
+        </ul>
+        <br clear="all"/><hr/>
+          
+      <h2><a name="11">&nbsp;</a>2.11: Version 1.0 (May 2010)&nbsp;<a href="Getting Started2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+        <p>Initial public release. Includes:</p>
+        <ol>
+            <li>Panels<ul>
+                    <li><a href="uiextras.Panel.html"><code class="FUNCTION">uiextras.Panel</code></a>: Arrange a single element inside a standard panel</li>
+                    <li><a href="uiextras.CardPanel.html"><code class="FUNCTION">uiextras.CardPanel</code></a>: Show one element (card) from a list</li>
+                    <li><a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>: Arrange a single element in a panel with boxed title</li>
+                    <li><a href="uiextras.TabPanel.html"><code class="FUNCTION">uiextras.TabPanel</code></a>: Arrange elements in a panel with tabs for selecting which is visible</li>
+            </ul></li>
+            <li>Boxes<ul>
+                <li><a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>: Arrange elements horizontally in a single row</li>
+                <li><a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>: Arrange elements vertically in a single column</li>
+                <li><a href="uiextras.HBoxFlex.html"><code class="FUNCTION">uiextras.HBoxFlex</code></a>: Arrange elements horizontally with draggable dividers</li>
+                <li><a href="uiextras.VBoxFlex.html"><code class="FUNCTION">uiextras.VBoxFlex</code></a>: Arrange elements vertically with draggable dividers</li>
+                <li><a href="uiextras.HButtonBox.html"><code class="FUNCTION">uiextras.HButtonBox</code></a>: Arrange buttons horizontally in a single row</li>
+                <li><a href="uiextras.VButtonBox.html"><code class="FUNCTION">uiextras.VButtonBox</code></a>: Arrange buttons vertically in a single column</li>
+            </ul></li>
+            <li>3: Grids<ul>
+                <li><a href="uiextras.Grid.html"><code class="FUNCTION">uiextras.Grid</code></a>: Arrange elements in a two dimensional grid</li>
+                <li><a href="uiextras.GridFlex.html"><code class="FUNCTION">uiextras.GridFlex</code></a>: Arrange elements in a two dimensional grid with draggable dividers</li>
+            </ul></li>
+        </ol>
+    
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">What is the GUI Layout Toolbox?</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Installation</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started3.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started3.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started3.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started3.html	(revision 17)
@@ -0,0 +1,57 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Installation</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Getting Started.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Getting Started</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Getting Started2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Getting Started4.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>3: Installation&nbsp;<A href="Getting Started.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+       
+    
+    <p>
+        To use this toolbox it must be added to the MATLAB path. Scripts are provided
+        to do this in two ways:
+    </p>
+    <p>
+        <b>From MATLAB:</b>
+        <OL>
+            <LI><b>From MATLAB:</b> from the folder containing the toolbox, run the "install.m" function</LI>
+            <LI><b>From Windows Explorer:</b> from the folder containing the toolbox, double-click the "install.bat" icon</LI>
+        </OL>
+    </p>
+    <p>
+        To uninstall (i.e. remove it from the path), run the function 'uninstall' in MATLAB, also found in the toolbox folder.
+    </p>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Release Notes</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Support</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started4.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started4.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started4.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started4.html	(revision 17)
@@ -0,0 +1,55 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Support</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Getting Started.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Getting Started</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Getting Started3.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="Getting Started5.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>4: Support&nbsp;<A href="Getting Started.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+       
+    
+    <p>
+        This toolbox is not a MathWorks supported product. However, if you
+        have problems, suggestions or other comments, please contact the
+        authors:
+    </p>
+    <ul>
+        <li><a href="mailto:ben.tordoff@mathworks.co.uk">Ben Tordoff</a></li>
+        <li><a href="mailto:david.sampson@mathworks.co.uk">David Sampson</a></li>
+    </ul>
+    <p>If you like this toolbox, help others to find it by leaving a rating
+        and comment on the <a href="http://www.mathworks.com/matlabcentral/fileexchange/27758">MATLAB Central File Exchange</a>.
+    </p>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started3.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Installation</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Acknowledgements</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="Getting Started5.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started5.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started5.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/Getting Started5.html	(revision 17)
@@ -0,0 +1,53 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Acknowledgements</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="Getting Started.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>Getting Started</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="Getting Started4.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="index.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>5: Acknowledgements&nbsp;<A href="Getting Started.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+       
+    <p>
+        This toolbox has been evolving for several years and is based on the work of many engineering consultants
+        at MathWorks, including (but not limited to):
+    </p>
+    <ul>
+        <li>Ben Tordoff</li>
+        <li>David Sampson</li>
+        <li>Paul Kerr-Delworth</li>
+        <li>Malcolm Wood</li>
+        <li>Brad Phelan</li>
+    </ul>
+    <p>Many thanks to those who have shared their code and expertise over the years.</p>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started4.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="Getting Started4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Support</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/HeirarchyExample.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/HeirarchyExample.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/HeirarchyExample.html	(revision 17)
@@ -0,0 +1,1 @@
+                        <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide1_4.html#1.4.1"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/LayoutsGUIDE.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/LayoutsGUIDE.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/LayoutsGUIDE.html	(revision 17)
@@ -0,0 +1,1 @@
+                <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide6.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelDock.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelDock.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelDock.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide5_3.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelHelp.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelHelp.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelHelp.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide5_1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelMinimize.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelMinimize.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/PanelMinimize.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide5_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/SystemDefaults.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/SystemDefaults.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/SystemDefaults.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide4_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide.html	(revision 17)
@@ -0,0 +1,101 @@
+<html xmlns:saxon="http://icl.com/saxon">
+
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>User guide</title>
+   </head>
+
+   
+            
+   <body>
+      
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="index.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>GUI Layout Toolbox 1.10</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="index.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+      <h1>User guide&nbsp;<A href="index.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h1>
+    <p>
+        This chapter describes the purpose and overall design of the layout
+        tools that the toolbox provides. It also provides some examples of
+        creating some user interfaces using layouts.
+    </p>
+
+    <!-- ****************************************************************** -->
+        
+    
+<!-- ****************************************************************** -->
+
+
+<!-- ****************************************************************** -->
+
+
+
+    
+<!-- ****************************************************************** -->
+
+      
+        
+        
+<!-- ****************************************************************** -->
+
+
+
+
+
+
+
+    <!-- ****************************************************************** -->
+    
+        
+
+    
+    
+    <!-- ****************************************************************** -->
+    
+        
+        
+        
+        
+
+    <!-- ****************************************************************** -->
+    
+<!-- ****************************************************************** -->
+
+      <br clear="all"/>
+      <a name="Contents"/><h2>Contents</h2>
+      <ul class="contents">
+         <li>1. <a href="User guide1.html">Understanding layouts</a></li>
+         <li>2. <a href="User guide2.html">Positioning Axes</a></li>
+         <li>3. <a href="User guide3.html">Enable and Visible</a></li>
+         <li>4. <a href="User guide4.html">Using property defaults</a></li>
+         <li>5. <a href="User guide5.html">Advanced maneuvers with panels</a></li>
+         <li>6. <a href="User guide6.html">Using layouts inside GUIDE GUIs</a></li>
+         <li>7. <a href="User guide7.html">Deploying GUIs using the MATLAB Compiler</a></li>
+         <li>8. <a href="User guide8.html">A complete example</a></li>
+      </ul>
+              
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="index.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Understanding layouts</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1.html	(revision 17)
@@ -0,0 +1,76 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Understanding layouts</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide1_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>1: Understanding layouts&nbsp;<A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+            <p>The purpose of a "layout" is to manage the positioning of one
+                or more user-interface components. This means that instead of
+                worrying about the exact position of each user interface component
+                you instead worry about the relative positioning of them; are they
+            arranged in a vertical list, horizontal list, a grid pattern, etc.</p>
+        <p>The best way to understand what layouts are and why they are a good user-interface
+            design tool is to see some examples. The sections below go through the
+            basics of building an interface using layouts and how to build complex
+        interfaces using them.</p>
+            
+            
+            
+  
+
+            
+            
+            
+        
+        
+    
+      <h3>Section contents:</h3>
+      <ul class="contents">
+      </ul>
+
+      <ul class="contents">
+      </ul>
+
+      
+      <ul class="contents">
+         <li>1.1. <a href="User guide1_1.html">Layout basics</a></li>
+         <li>1.2. <a href="User guide1_2.html">Types of layout</a></li>
+         <li>1.3. <a href="User guide1_3.html">Sizes and units</a></li>
+         <li>1.4. <a href="User guide1_4.html">Layout heirarchies</a></li>
+         <li>1.5. <a href="User guide1_5.html">Why use layouts?</a></li>
+      </ul>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">User guide</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Layout basics</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_1.html	(revision 17)
@@ -0,0 +1,90 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Layout basics</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide1_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.1: Layout basics&nbsp;<a href="User guide1.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                <p>To see how layouts work, let's use the most basic layout,
+                    a horizontal list (or box). We first create a window:</p>
+                    <example>
+                        <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();</font></pre>
+                        <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/basics_example1.png"/></center></font></p>
+                    </example>
+
+                <p>Now let's create the horizontal layout and add it to the figure. Note
+            that in common with other MATLAB graphics objects, one object is added to
+        another by setting the "Parent" property - this will automatically adjust the list
+    of "Children" in the parent object. The job of a horizontal box layout is to arrange
+    its contents in a horizontal line, setting the position of each element to best fill
+    the space:</p>
+                <example>
+                        <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">layout = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( 'Parent', f );</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/basics_example1.png"/></center></font></p>
+</example>
+                <p>Nothing's changed! That's because the layout is for arranging
+            other user-interface components - it doesn't draw anything itself. Let's
+        add some buttons. Note how after creating each button the existing contents
+    of the box make room for the new addition; we don't need to set the position of
+    any user-interface component!</p>
+                <example>
+                        <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 1', 'Parent', layout );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 2', 'Parent', layout );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 3', 'Parent', layout );</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/basics_example2.png"/>.<img src="Images/basics_example3.png"/>.<img src="Images/basics_example4.png"/></center></font></p>
+</example>
+                <p>Other layouts work in exactly the same way, although visually
+            the end-result is quite different:</p>
+                <example>
+                        <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+layout = <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>( 'Parent', f );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 1', 'Parent', layout );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 2', 'Parent', layout );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 3', 'Parent', layout );</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/basics_example_vbox.png"/></center></font></p>
+                </example>
+                <example>
+                <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+layout = <a href="uiextras.TabPanel.html"><code class="FUNCTION">uiextras.TabPanel</code></a>( 'Parent', f );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 1', 'Parent', layout );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 2', 'Parent', layout );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 3', 'Parent', layout );</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/basics_example_tab.png"/></center></font></p>
+                </example>
+                
+            
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Understanding layouts</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Types of layout</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_2.html	(revision 17)
@@ -0,0 +1,64 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Types of layout</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide1_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide1_3.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.2: Types of layout&nbsp;<a href="User guide1.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+      <p>The layouts in this toolbox come in three forms:</p>
+      <ol>
+          <li><b>Panels</b>: show a single child element with some decoration. Other children
+          of the layout are hidden from view. The visible child can be switched. Available
+          panels include 
+          <a href="uiextras.Panel.html">Panel</a>,
+          <a href="uiextras.CardPanel.html">CardPanel</a>,
+          <a href="uiextras.BoxPanel.html">BoxPanel</a> and
+          <a href="uiextras.TabPanel.html">TabPanel</a>. </li>
+          
+          <li><b>Boxes</b>: arrange children linearly in a single row or column. Available boxes include
+          <a href="uiextras.HBox.html">HBox</a>,
+          <a href="uiextras.VBox.html">VBox</a>,
+          <a href="uiextras.HBoxFlex.html">HBoxFlex</a> and
+          <a href="uiextras.VBoxFlex.html">VBoxFlex</a>. </li>
+          
+          <li><b>Grids</b>: (also known as tables) arrange children in a two-dimensional grid. Available grids include
+          <a href="uiextras.Grid.html">Grid</a> and
+          <a href="uiextras.GridFlex.html">GridFlex</a>. </li>
+          
+      </ol>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Layout basics</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Sizes and units</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_3.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_3.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_3.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_3.html	(revision 17)
@@ -0,0 +1,92 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Sizes and units</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide1_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide1_4.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.3: Sizes and units&nbsp;<a href="User guide1.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                <p>In the previous section we noted that when using layouts
+                    you never need to set the position or size of a user-interface
+                    component yourself - the layouts take care of it. So how do
+                you control the sizes of the components?</p>
+                <p>Each layout that arranges multiple items within its drawing area
+                    has a sizing property: for horizontal and vertical boxes this
+                    is called <code>Sizes</code>; for grids we have <code>RowSizes</code>
+                and <code>ColumnSizes</code>. These all obey the same convention:</p>
+                <ol>
+                    <li>Positive numbers indicate sizes in pixels (similar to "pixel" units)</li>
+                    <li>Negative numbers indicate a weighting for variable sizing (similar to "normalized" units)</li>
+                </ol>
+                <p>By default all sizes are set to -1 (variable size with unit weighting).</p>
+                <p>Let's take a simple example:</p>
+                <example>
+                <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+layout = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( 'Parent', f );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 1', 'Parent', layout );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 2', 'Parent', layout );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'String', 'Button 3', 'Parent', layout );</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/basics_example4.png"/></center></font></p>
+</example>
+                <p>We can set the middle element to be twice as wide as the others
+            (but still variable width) by setting its weight to -2 with the others at -1:</p>
+                <example>
+                    <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">layout.Sizes = [-1 -2 -1]</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/basics_example5.png"/></center></font></p>
+</example>
+                <p>Alternatively we might want the first element to have a 
+                fixed width of 100 pixels with the others filling any remaining 
+                space equally:</p>
+                <example>
+                <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">layout.Sizes = [100 -1 -1]</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/basics_example6.png"/></center></font></p>
+</example>
+
+                <p>This ability to mix fixed and variable sized elements is
+            crucial in interface design. It really comes into its own when building
+        a heirarchy of layouts, described next.</p>
+                
+            
+        
+            <br clear="all"/><hr/><h3 class="hbg"><a name="">&nbsp;</a><a name="1.3.1">
+                        &nbsp;</a>1.3.1: 
+                        Minimum sizes&nbsp;<a href="#Top"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h3>
+                <p>Many of the multi-element layouts also provide a <code>MinimumSizes</code>
+                    property to prevent an element becoming too small. This is measured in
+                    pixels and defaults to one pixel. If the specified minimum sizes cannot fit
+                within the available space then all element sizes are reduced to fit.</p>
+            
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Types of layout</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Layout heirarchies</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_4.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_4.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_4.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_4.html	(revision 17)
@@ -0,0 +1,92 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Layout heirarchies</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide1_3.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide1_5.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.4: Layout heirarchies&nbsp;<a href="User guide1.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+                <p>Consider the following simple interface:</p>
+                <center><img src="Images/why_layout1.png"/></center>
+                <p>Instead of thinking of this in terms of three elements that need
+                    positioning, we can break it up into two simple linear ("box") arrangements:
+                    a vertical box with the axes at the top and a control area at the bottom and
+                a horizontal box containing two buttons:</p>
+                <center><img src="Images/why_layout_anno1.png"/>.<img src="Images/why_layout_anno2.png"/></center>
+                <p>By placing the second layout (horizontal box) inside the first (vertical box)
+                    we arrive at the complete layout. Since the sizes of the elements in each list
+                    can be set to be fixed or flexible we can achieve a user-interface that is not just
+                arranged correctly when created, but also behaves well when resized.</p>
+                <center><img src="Images/why_layout2.png"/></center>
+                <p>Note that the buttons have stayed fixed height as the window grows and the
+                axes grow to fill the remaining space.</p>
+                
+                
+<br clear="all"/><hr/><h3 class="hbg"><a name="HeirarchyExample">&nbsp;</a><a name="1.4.1">
+                        &nbsp;</a>1.4.1: 
+                        Code:&nbsp;<a href="#Top"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h3>
+                <p>The example above can be created programmically pretty 
+                much as described in text 
+                (the completed example code is here: 
+                [ <a href="Examples/heirarchyexample.m">view</a>
+                | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','heirarchyexample.m'))">edit</a>
+                | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); heirarchyexample; cd(p)">run</a> ]
+                )</p>
+                <p><b>1. Open a window</b></p>
+                <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( 'Position', 200*ones(1,4) );</font></pre></example>
+                <p><b>2. Create the first layout (vertical box)</b><br/>Inside this vertical box
+            we place the axes</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">vbox = <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>( 'Parent', f );
+axes( 'Parent', vbox );</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/why_layout0_1.png"/></center></font></p>
+                </example>
+                <p><b>3. Create the second layout (horizontal box)</b><br/>Inside this horizontal box
+            we place two buttons</p>
+<example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">hbox = <a href="uiextras.HButtonBox.html"><code class="FUNCTION">uiextras.HButtonBox</code></a>( 'Parent', vbox, 'Padding', 5 );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', hbox, ...
+    'String', 'Button 1' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', hbox, ...
+    'String', 'Button 2' );</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/why_layout0_2.png"/></center></font></p>
+                </example>
+    <p><b>4. Set the sizes</b><br/>We want the axes to grow with the window so
+    set the first size to be -1 (which means variable size with wieght 1) and the buttons to stay fixed height so set the
+second size to 35 (fixed height of 35 pixels)</p>
+<example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">set( vbox, 'Sizes', [-1 35] )</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/why_layout1.png"/></center></font></p>
+                </example>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_3.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Sizes and units</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Why use layouts?</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide1_5.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_5.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_5.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide1_5.html	(revision 17)
@@ -0,0 +1,105 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Why use layouts?</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide1_4.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>1.5: Why use layouts?&nbsp;<a href="User guide1.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>MATLAB ships with a GUI design tool called <a href="matlab:doc GUIDE"><code class="FUNCTION">GUIDE</code></a>. This
+        doesn't use layouts, but forces users to manually position each element. This approach
+    is a much faster way to build simple user-interfaces, so why would you want to
+use layouts?</p>
+            <p>The over-riding reason for using layouts or layout managers is
+            to gain control of the resizing behaviour of the interface without
+            having to write a complex "ResizeFcn". If you simply position user-interface elements
+            directly (either using <a href="matlab:doc GUIDE"><code class="FUNCTION">GUIDE</code></a> or programmatically), you
+            have two choices about what happens when the window resizes:
+            </p>
+                <h3>For example:</h3>
+                        <para><b>1. The user-interface components scale with the window (normalised units)</b><br/>We didn't really want the buttons to grow but everything resizes in proportion.</para>
+                        <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( 'Position', 200*ones(1,4) );
+<a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>( 'Parent', f, ...
+    'Units', 'Normalized', ...
+    'OuterPosition', [0.02 0.2 0.96 0.8] );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', f, ...
+    'Units', 'Normalized', ...
+    'Position', [0.02 0.02 0.46 0.16], ...
+    'String', 'Button 1' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', f, ...
+    'Units', 'Normalized', ...
+    'Position', [0.52 0.02 0.46 0.16], ...
+    'String', 'Button 2' );</font></pre>
+                        <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/why_normalized1.png"/>.<img src="Images/why_normalized2.png"/></center></font></p>
+                    
+                        <para><b>2. The user-interface components stay fixed and the window resize creates empty space (pixel units)</b><br/>Although the buttons don't now grow, neither does the axes, which looks very odd.</para>
+                        <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( 'Position', 200*ones(1,4) );
+<a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>( 'Parent', f, ...
+    'Units', 'Pixels', ...
+    'OuterPosition', [10 35 190 175] );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', f, ...
+    'Units', 'Pixels', ...
+    'Position', [5 5 90 25], ...
+    'String', 'Button 1' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', f, ...
+    'Units', 'Pixels', ...
+    'Position', [105 5 90 25], ...
+    'String', 'Button 2' );</font></pre>
+                        <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/why_fixed1.png"/>.<img src="Images/why_fixed2.png"/></center></font></p>
+                    
+                <p>Neither of these alternatives is particularly useful for a serious
+                user-interface. Typically there are user-interface components that should
+                be fixed size: icons, buttons, selectors etc; and others that should resize
+                with the window: graphs, images, prose text etc. To achieve this one needs
+                to be able to specify which interface components should be fixed size and
+                which variable. Over the last two decades, layouts have been shown to be
+            the method of choice for achieving this.</p>
+                <h3>For example:</h3>
+                        <para>Using layouts, some user-interface components scale with the window, others stay fixed</para>
+                        <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( 'Position', 200*ones(1,4) );
+vbox = <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>( 'Parent', f );
+axes( 'Parent', vbox );
+hbox = <a href="uiextras.HButtonBox.html"><code class="FUNCTION">uiextras.HButtonBox</code></a>( 'Parent', vbox, 'Padding', 5 );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', hbox, ...
+    'String', 'Button 1' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', hbox, ...
+    'String', 'Button 2' );
+set( vbox, 'Sizes', [-1 35] )</font></pre>
+                        <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/why_layout1.png"/>.<img src="Images/why_layout2.png"/></center></font></p>
+                    
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_4.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Layout heirarchies</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Positioning Axes</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2.html	(revision 17)
@@ -0,0 +1,66 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Positioning Axes</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide1_5.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide2_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>2: Positioning Axes&nbsp;<A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+        
+        <p>
+            Unlike other MATLAB user interface components, <a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>
+            have two position properties: "Position" and "OuterPosition". This
+            means one has some extra options as to how the layout will
+            arrange the axes.
+        </p>
+        
+        
+        
+        
+    
+
+      <h3>Section contents:</h3>
+      <ul class="contents">
+      </ul>
+
+      <ul class="contents">
+      </ul>
+
+      
+      <ul class="contents">
+         <li>2.1. <a href="User guide2_1.html">Position vs OuterPosition</a></li>
+         <li>2.2. <a href="User guide2_2.html">Axes inside layouts</a></li>
+      </ul>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_5.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide1_5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Why use layouts?</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide2_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Position vs OuterPosition</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide2_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2_1.html	(revision 17)
@@ -0,0 +1,62 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Position vs OuterPosition</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide2_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>2.1: Position vs OuterPosition&nbsp;<a href="User guide2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>Typically one
+                would position some axes using their "OuterPosition" so that the axis labels, title
+                and other annotations are all contained within the specified area. Sometimes,
+                particularly if drawing images, one might want to instead make the axes
+                canvas (the white bit!) fill the specified area. This is done by setting
+                the "Position" property instead.
+            </p>
+            
+            <h3>For example:</h3>
+                    <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>
+<a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>( 'Units', 'Normalized', 'OuterPosition', [0 0 1 1] )
+                    </font></pre>
+                    <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/axes_outer.png"/></center></font></p>
+                
+                    <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>
+<a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>( 'Units', 'Normalized', 'Position', [0 0 1 1] )
+                    </font></pre>
+                    <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/axes_inner.png"/></center></font></p>
+                
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Positioning Axes</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide2_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Axes inside layouts</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide2_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide2_2.html	(revision 17)
@@ -0,0 +1,94 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Axes inside layouts</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide2_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide3.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>2.2: Axes inside layouts&nbsp;<a href="User guide2.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>(The code for this example can be found here: 
+                            [ <a href="Examples/axesexample.m">view</a>
+                | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','axesexample.m'))">edit</a>
+                | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); axesexample; cd(p)">run</a> ]
+            )</p>
+            <p>
+                When using layouts to position axes, the position property
+                is set by the layout, not the user. Whether the "Position"
+                or "OuterPosition" property is used is determined by the
+                "ActivePositionProperty" property of the <a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>.
+                Note that the default setting is "OuterPosition".
+            </p>
+            <p>
+                The following example illustrates the two usages.
+            </p>
+            
+            <h4>Open a window</h4>
+            <p>Open a new figure window and remove the toolbar and menus.</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">window = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( 'Name', 'Axes inside layouts', ...
+            'MenuBar', 'none', ...
+            'Toolbar', 'none', ...
+            'NumberTitle', 'off' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/axes_layout_example_1.png"/></center></font></p>
+            </example>
+            <h4>Create the layout</h4>
+            <p>The layout involves two axes side by side. This is done using a flexible horizontal box. The left-hand axes is left with the ActivePositionProperty set to "OuterPosition", but the right-hand axes is switched to use "Position".</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">hbox = <a href="uiextras.HBoxFlex.html"><code class="FUNCTION">uiextras.HBoxFlex</code></a>('Parent', window, 'Spacing', 3);
+axes1 = <a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>( 'Parent', hbox, ...
+    'ActivePositionProperty', 'OuterPosition' );
+axes2 = <a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>( 'Parent', hbox, ...
+    'ActivePositionProperty', 'Position' );
+set( hbox, 'Sizes', [-2 -1] );</font></pre>
+             <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/axes_layout_example_2.png"/></center></font></p>
+           </example>
+           
+            <h4>Fill the axes</h4>
+            <p>Using "OuterPosition" (left-hand axes) is the normal mode and looks good for virtually any plot type. Using "Position" is only really useful for 2D plots with the axes turned off, such as images.</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">x = membrane( 1, 15 );
+<a href="matlab:doc surf"><code class="FUNCTION">surf</code></a>( axes1, x );
+<a href="matlab:doc lighting"><code class="FUNCTION">lighting</code></a>( axes1, 'gouraud' );
+<a href="matlab:doc shading"><code class="FUNCTION">shading</code></a>( axes1, 'interp' );
+l = <a href="matlab:doc light"><code class="FUNCTION">light</code></a>( 'Parent', axes1 );
+<a href="matlab:doc camlight"><code class="FUNCTION">camlight</code></a>( l, 'head' );
+<a href="matlab:doc axis"><code class="FUNCTION">axis</code></a>( axes1, 'tight' );
+
+<a href="matlab:doc imagesc"><code class="FUNCTION">imagesc</code></a>( x, 'Parent', axes2 );
+set( axes2, 'xticklabel', [], 'yticklabel', [] );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/axes_layout_example_3.png"/></center></font></p>
+            </example>
+            <p/>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide2_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide2_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Position vs OuterPosition</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Enable and Visible</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide3.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3.html	(revision 17)
@@ -0,0 +1,60 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Enable and Visible</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide2_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide3_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>3: Enable and Visible&nbsp;<A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+    <p>The examples in this section show the effect of setting the
+    "Enable" or "Visible" properties on a layout object.</p>
+    
+    
+    
+    
+
+      <h3>Section contents:</h3>
+      <ul class="contents">
+      </ul>
+
+      <ul class="contents">
+      </ul>
+
+      
+      <ul class="contents">
+         <li>3.1. <a href="User guide3_1.html">Enable example</a></li>
+         <li>3.2. <a href="User guide3_2.html">Visible example</a></li>
+      </ul>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide2_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide2_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Axes inside layouts</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide3_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Enable example</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide3_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3_1.html	(revision 17)
@@ -0,0 +1,86 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Enable example</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide3.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide3_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>3.1: Enable example&nbsp;<a href="User guide3.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>(The code for this example can be found here: 
+                            [ <a href="Examples/enableexample.m">view</a>
+                | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','enableexample.m'))">edit</a>
+                | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); enableexample; cd(p)">run</a> ]
+            )</p>
+        <p>
+            This example shows how the <code>enable</code> property can be
+            used to indicate to users which bits of an interface are currently
+            relevant. This is particularly useful for preventing unwanted
+            clicking during long calculations, loading and saving!
+        </p>
+        
+        <example>
+            <para>Open a window and add a panel</para>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">fig = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( 'Name', 'Enable example', ...
+    'Position', [100 100 150 250], ...
+    'MenuBar', 'none', ...
+    'ToolBar', 'none', ...
+    'NumberTitle', 'off' );
+panel = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( 'Parent', fig, 'Title', 'Panel' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/EnableExample1.png"/></center></font></p>
+        </example>
+        <example>
+            <para>Put some buttons inside the panel</para>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">box = <a href="uiextras.VButtonBox.html"><code class="FUNCTION">uiextras.VButtonBox</code></a>( 'Parent', panel );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 1' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 2' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 3', 'Enable', 'off' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 4' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 5', 'Enable', 'off' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 6' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/EnableExample2.png"/></center></font></p>
+        </example>
+        <example>
+            <para>Try disabling the panel</para>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">set( panel, 'Enable', 'off' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/EnableExample3.png"/></center></font></p>
+        </example>
+        <example>
+            <para>Try enabling the panel. Note that the original "enable" state of each button is remembered.</para>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">set( panel, 'Enable', 'on' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/EnableExample2.png"/></center></font></p>
+        </example>
+    
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide3.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Enable and Visible</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide3_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Visible example</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide3_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide3_2.html	(revision 17)
@@ -0,0 +1,84 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Visible example</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide3_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide4.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>3.2: Visible example&nbsp;<a href="User guide3.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>(The code for this example can be found here: 
+                            [ <a href="Examples/visibleexample.m">view</a>
+                | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','visibleexample.m'))">edit</a>
+                | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); visibleexample; cd(p)">run</a> ]
+            )</p>
+       <p>
+            This example shows how the <code>visible</code> property can be
+            used to hide whole sections of an interface.
+        </p>
+        <example>
+            <para>Open a window and add a panel</para>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">fig = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( 'Name', 'Visible example', ...
+    'Position', [100 100 150 250], ...
+    'MenuBar', 'none', ...
+    'ToolBar', 'none', ...
+    'NumberTitle', 'off' );
+panel = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( 'Parent', fig, 'Title', 'Panel' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/VisibleExample1.png"/></center></font></p>
+        </example>
+        <example>
+            <para>Put some buttons inside the panel</para>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">box = <a href="uiextras.VButtonBox.html"><code class="FUNCTION">uiextras.VButtonBox</code></a>( 'Parent', panel );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 1' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 2' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 3', 'Visible', 'off' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 4' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 5', 'Visible', 'off' );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( 'Parent', box, 'String', 'Button 6' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/VisibleExample2.png"/></center></font></p>
+        </example>
+        <example>
+            <para>Try hiding the panel</para>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">set( panel, 'Visible', 'off' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/VisibleExample3.png"/></center></font></p>
+        </example>
+        <example>
+            <para>Try showing the panel. Note that the original "visible" state of each button is remembered.</para>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">set( panel, 'Visible', 'on' );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/VisibleExample2.png"/></center></font></p>
+        </example>
+    
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide3_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide3_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Enable example</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Using property defaults</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide4.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4.html	(revision 17)
@@ -0,0 +1,67 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Using property defaults</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide3_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide4_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>4: Using property defaults&nbsp;<A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+        
+        
+
+        <p>Sometimes it is useful to override the default values used when
+            new layout managers are created. The default property values for most
+            properties are inherited from the parent panel, figure or environemt
+            when the layout is first created. Functions for setting these are
+        described below.</p>
+        
+        
+        
+        
+        
+
+      <h3>Section contents:</h3>
+      <ul class="contents">
+      </ul>
+
+      <ul class="contents">
+      </ul>
+
+      
+      <ul class="contents">
+         <li>4.1. <a href="User guide4_1.html">Setting defaults for one window</a></li>
+         <li>4.2. <a href="User guide4_2.html">Setting defaults for all windows</a></li>
+      </ul>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide3_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide3_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Visible example</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide4_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Setting defaults for one window</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide4_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4_1.html	(revision 17)
@@ -0,0 +1,58 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Setting defaults for one window</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide4.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide4_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>4.1: Setting defaults for one window&nbsp;<a href="User guide4.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>The usual use of defaults is to modify the colors, fonts or
+                other settings used for a particular application window. The defaults
+            are therefore changed on the figure object using the <a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a> function.</p>
+        <p>The example below sets new defaults for panel title-bar color and font
+    on the window before two panels are added.</p>
+            <example>
+                <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( f, <code class="STRING">'DefaultHBoxBackgroundColor'</code>, [0.3 0.3 0.3] );
+<a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( f, <code class="STRING">'DefaultBoxPanelTitleColor'</code>, <code class="STRING">'y'</code> );
+<a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( f, <code class="STRING">'DefaultBoxPanelFontSize'</code>, 16 );
+h = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, f, <code class="STRING">'Padding'</code>, 10, <code class="STRING">'Spacing'</code>, 10 );
+p1 = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, h, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 1'</code> );
+p2 = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, h, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 2'</code> );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/DefaultsFigure.png"/></center></font></p>
+            </example>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide4.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Using property defaults</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide4_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Setting defaults for all windows</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide4_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide4_2.html	(revision 17)
@@ -0,0 +1,65 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Setting defaults for all windows</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide4_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide5.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>4.2: Setting defaults for all windows&nbsp;<a href="User guide4.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>As well as modifying the <a href="FigureDefaults.html">defaults used in one window</a>,
+        it is possible to override the defaults used for all windows. This makes use of
+    the special "0" handle that roughly corresponds to the MATLAB environment. Note, however,
+that defaults set at the window level take precedence.</p>
+            <p>The example below shows how defaults can be set for the panel title-bar color
+            and font for all windows, but the font size is overridden for the second window:</p>
+            <example>
+                <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( 0, <code class="STRING">'DefaultHBoxBackgroundColor'</code>, [0.3 0.3 0.3] );
+<a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( 0, <code class="STRING">'DefaultBoxPanelTitleColor'</code>, <code class="STRING">'y'</code> );
+<a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( 0, <code class="STRING">'DefaultBoxPanelFontSize'</code>, 14 );
+f1 = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+h = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, f1, <code class="STRING">'Padding'</code>, 10, <code class="STRING">'Spacing'</code>, 10 );
+p1 = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, h, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 1'</code> );
+p2 = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, h, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 2'</code> );
+f2 = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>();
+<a href="uiextras.set.html"><code class="FUNCTION">uiextras.set</code></a>( f2, <code class="STRING">'DefaultBoxPanelFontSize'</code>, 20 );
+p3 = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, f2, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 3'</code> );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/DefaultsSystem1.png"/><img src="Images/DefaultsSystem2.png"/></center></font></p>
+            </example>
+            <p>It is important to note that although the default has been set
+            system-wide, it is not preserved between MATLAB sessions.</p>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide4_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide4_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Setting defaults for one window</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Advanced maneuvers with panels</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide5.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5.html	(revision 17)
@@ -0,0 +1,71 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Advanced maneuvers with panels</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide4_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide5_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>5: Advanced maneuvers with panels&nbsp;<A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+    <p>
+        The <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a> provides some extra buttons
+        and callbacks that can be used to design advanced user-interface
+        layouts. In particular, the sections below illustrate how to create
+        interfaces with context help, and panels that can be minimized or undocked.
+    </p>
+    
+    
+    
+    
+    
+        
+        
+        
+    
+    
+
+      <h3>Section contents:</h3>
+      <ul class="contents">
+      </ul>
+
+      <ul class="contents">
+      </ul>
+
+      
+      <ul class="contents">
+         <li>5.1. <a href="User guide5_1.html">Context help</a></li>
+         <li>5.2. <a href="User guide5_2.html">Minimize and maximize</a></li>
+         <li>5.3. <a href="User guide5_3.html">Dock and undock</a></li>
+      </ul>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide4_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide4_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Setting defaults for all windows</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide5_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Context help</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide5_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_1.html	(revision 17)
@@ -0,0 +1,62 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Context help</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide5.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide5_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>5.1: Context help&nbsp;<a href="User guide5.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+        <p>
+            When a <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a> has its "HelpFcn"
+            filled in, a help button (<img src="Images/panelHelp.png"/>) is shown in the upper-right of the
+            title-bar. When the user clicks this button the specified function
+            is called.
+        </p>
+        <h3>For example:</h3>
+                <para>Here we hookup the HelpFcn to simply bring up
+            the MATLAB documentation for each command. Clicking any of the "?" buttons
+        will cause the MATLAB help browser to open.</para>
+                <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">f = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( 'Name', 'uiextras.BoxPanel Help Example' );
+b = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( 'Parent', f );
+<a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( 'Parent', b, 'Title', 'sin', 'HelpFcn', @(a,b) doc('sin') );
+<a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( 'Parent', b, 'Title', 'cos', 'HelpFcn', @(a,b) doc('cos') );
+<a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( 'Parent', b, 'Title', 'tan', 'HelpFcn', @(a,b) doc('tan') );
+</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/BoxPanelHelpExample.png"/></center></font></p>
+            
+        
+    
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide5.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Advanced maneuvers with panels</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide5_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Minimize and maximize</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide5_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_2.html	(revision 17)
@@ -0,0 +1,140 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Minimize and maximize</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide5_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide5_3.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>5.2: Minimize and maximize&nbsp;<a href="User guide5.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+        <p>
+            When a <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a> has its "MinimizeFcn"
+            filled in, a minimize/maximize button (<img src="Images/panelMinimize.png"/> / <img src="Images/panelMaximize.png"/>) is shown in the upper-right of the
+            title-bar. When the user clicks this button the specified function
+            is called. Since the behaviour of the parent container is
+            different in different use-cases, it is up to the user to write
+            some code to actually resize the panel. Note that minimizing
+            a panel to its title-bar only really makes sense inside a 
+            <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a> or <a href="uiextras.VBoxFlex.html"><code class="FUNCTION">uiextras.VBoxFlex</code></a>.
+                 </p>
+                 <p>The following simple example shows how to add minimize/maximize
+                     functionality to a box full of panels. Save the code into
+                 a file called "dockexample.m" to run it.</p>
+                 
+                 <p>(The code for this example can be found here: 
+                     [ <a href="Examples/minimizeexample.m">view</a>
+                     | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','minimizeexample.m'))">edit</a>
+                     | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); minimizeexample; cd(p)">run</a> ]
+                 )</p>
+                 
+                 
+                 <h4>Create the layout with three panels</h4>
+            <p>Open a new figure window and add three panels.</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="matlab:doc function"><code class="FUNCTION">function</code></a> minimizeexample()
+width = 200;
+pheightmin = 20;
+pheightmax = 100;
+
+<code class="COMMENT">% Create the window and main layout</code>
+fig = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( <code class="STRING">'Name'</code>, <code class="STRING">'Collapsable GUI example'</code>, ...
+              <code class="STRING">'NumberTitle'</code>, <code class="STRING">'off'</code>, ...
+              <code class="STRING">'Toolbar'</code>, <code class="STRING">'none'</code>, ...
+              <code class="STRING">'MenuBar'</code>, <code class="STRING">'none'</code> );
+box = <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>( 'Parent', fig );
+
+panel{1} = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Title'</code>, <code class="STRING">'Panel 1'</code>, <code class="STRING">'Parent'</code>, box );
+panel{2} = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Title'</code>, <code class="STRING">'Panel 2'</code>, <code class="STRING">'Parent'</code>, box );
+panel{3} = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Title'</code>, <code class="STRING">'Panel 3'</code>, <code class="STRING">'Parent'</code>, box );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( box, 'Sizes', pheightmax*ones(1,3) );
+
+<code class="COMMENT">% Add some contents</code>.
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Style'</code>, <code class="STRING">'PushButton'</code>, <code class="STRING">'String'</code>, <code class="STRING">'Button 1'</code>, <code class="STRING">'Parent'</code>, panel{1} );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Style'</code>, <code class="STRING">'PushButton'</code>, <code class="STRING">'String'</code>, <code class="STRING">'Button 2'</code>, <code class="STRING">'Parent'</code>, panel{2} );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Style'</code>, <code class="STRING">'PushButton'</code>, <code class="STRING">'String'</code>, <code class="STRING">'Button 3'</code>, <code class="STRING">'Parent'</code>, panel{3} );
+
+<code class="COMMENT">% Resize the window</code>
+pos = <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( fig, <code class="STRING">'Position'</code> );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( fig, <code class="STRING">'Position'</code>, [pos(1,1:2),width,sum(box.Sizes)] );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/BoxPanelMinimizeExample1.png"/></center></font></p>
+        </example>
+        
+            <h4>Add the minimize/maximize callback</h4>
+            <p>We set each panel to call the same minimize/maximize function.
+        This function is nested inside the main function so that it has access
+    to the main function's variables. A better way to do this is to make the
+main function into a class, but this nested-function approach is fine
+for simple applications.</p>
+            <p>Note that as soon as we set the "MinimizeFcn" property the minimize/maximize
+                icon appears in the top-right of each panel. We use a cell-array to pass an
+            extra argument, the panel number, to the minimize function. This extra argument appears after the usual
+            <code>eventSource</code> and <code>eventData</code> arguments.</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><code class="COMMENT">% Hook up the minimize callback</code>.
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( panel{1}, <code class="STRING">'MinimizeFcn'</code>, {@nMinimize, 1} );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( panel{2}, <code class="STRING">'MinimizeFcn'</code>, {@nMinimize, 2} );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( panel{3}, <code class="STRING">'MinimizeFcn'</code>, {@nMinimize, 3} );
+
+<code class="COMMENT">%-------------------------------------------------------------------------%</code><br/> 
+    <a href="matlab:doc function"><code class="FUNCTION">function</code></a> nMinimize( eventSource, eventData, whichpanel )
+        <code class="COMMENT">% A panel has been maximized/minimized</code>
+        s = <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( box, <code class="STRING">'Sizes'</code> );
+        pos = <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( fig, <code class="STRING">'Position'</code> );
+        panel{whichpanel}.IsMinimized = ~panel{whichpanel}.IsMinimized;
+        <a href="matlab:doc if"><code class="FUNCTION">if</code></a> panel{whichpanel}.IsMinimized
+            s(whichpanel) = pheightmin;
+        <a href="matlab:doc else"><code class="FUNCTION">else</code></a>
+            s(whichpanel) = pheightmax;
+        <a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;
+        <a href="matlab:doc set"><code class="FUNCTION">set</code></a>( box, <code class="STRING">'Sizes'</code>, s );
+        
+        <code class="COMMENT">% Resize the figure, keeping the top stationary</code>
+        delta_height = pos(1,4) - <a href="matlab:doc sum"><code class="FUNCTION">sum</code></a>( box.Sizes );
+        <a href="matlab:doc set"><code class="FUNCTION">set</code></a>( fig, <code class="STRING">'Position'</code>, pos(1,:) + [0 delta_height 0 -delta_height] );
+    <a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;<code class="COMMENT">% Minimize</code>&nbsp;
+
+<a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;<code class="COMMENT">% Main function</code></font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/BoxPanelMinimizeExample2.png"/></center></font></p>
+        </example>
+        
+    
+            <h4>Click the minimize buttons</h4>
+            <p>Minimizing the middle panel causes it to shrink to just its 
+            title-bar and the window shrinks accordingly. The
+    "Minimize" icon is replaced by a "Maximise" icon.</p>
+            <example><p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/BoxPanelMinimizeExample3.png"/></center></font></p></example>
+            <p> Re-maximizing the panel would
+            cause it to re-appear in full and the window to grow again.</p>
+
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide5_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide5_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Context help</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide5_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Dock and undock</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide5_3.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_3.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_3.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide5_3.html	(revision 17)
@@ -0,0 +1,154 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Dock and undock</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide5_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide6.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>5.3: Dock and undock&nbsp;<a href="User guide5.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+        
+        <p>
+            When a <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a> has its "DockFcn"
+            filled in, a dock/undock button (<img src="Images/panelDock.png"/> / <img src="Images/panelUndock.png"/>) is shown in the upper-right of the
+            title-bar. When the user clicks this button the specified function
+            is called. Since re-docking the panel into its previous parent
+            depends on the type of parent, it is up to the user to write
+            some code to actually extract or insert the panel.
+        </p>
+             <p>The following simple example shows how to add dock/undock
+                 functionality to a box full of panels. Save the code into
+                 a file called "dockexample.m" to run it.</p>
+                 
+                 <p>(The code for this example can be found here: 
+                     [ <a href="Examples/dockexample.m">view</a>
+                     | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','dockexample.m'))">edit</a>
+                     | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); dockexample; cd(p)">run</a> ]
+                 )</p>
+       
+            <h4>Create the layout with three panels</h4>
+            <p>Open a new figure window and add three panels.</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="matlab:doc function"><code class="FUNCTION">function</code></a> dockexample()
+<code class="COMMENT">% Create the window and main layout</code>
+fig = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( <code class="STRING">'Name'</code>, <code class="STRING">'Dockable GUI example'</code>, ...
+              <code class="STRING">'NumberTitle'</code>, <code class="STRING">'off'</code>, ...
+              <code class="STRING">'Toolbar'</code>, <code class="STRING">'none'</code>, ...
+              <code class="STRING">'MenuBar'</code>, <code class="STRING">'none'</code>, ...
+              <code class="STRING">'CloseRequestFcn'</code>, @nCloseAll );
+box = <a href="uiextras.HBox.html"><code class="FUNCTION">uiextras.HBox</code></a>( <code class="STRING">'Parent'</code>, fig );
+
+<code class="COMMENT">% Add three panels to the box</code>
+panel{1} = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Title'</code>, <code class="STRING">'Panel 1'</code>, <code class="STRING">'Parent'</code>, box );
+panel{2} = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Title'</code>, <code class="STRING">'Panel 2'</code>, <code class="STRING">'Parent'</code>, box );
+panel{3} = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Title'</code>, <code class="STRING">'Panel 3'</code>, <code class="STRING">'Parent'</code>, box );
+
+<code class="COMMENT">% Add some contents</code><br/>
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Style'</code>, <code class="STRING">'PushButton'</code>, <code class="STRING">'String'</code>, <code class="STRING">'Button 1'</code>, <code class="STRING">'Parent'</code>, panel{1} );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Style'</code>, <code class="STRING">'PushButton'</code>, <code class="STRING">'String'</code>, <code class="STRING">'Button 2'</code>, <code class="STRING">'Parent'</code>, panel{2} );
+<a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Style'</code>, <code class="STRING">'PushButton'</code>, <code class="STRING">'String'</code>, <code class="STRING">'Button 3'</code>, <code class="STRING">'Parent'</code>, panel{3} );</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/BoxPanelDockExample1.png"/></center></font></p>
+        </example>
+        
+            <h4>Add the dock/undock callback</h4>
+            <p>We set each panel to call the same dock/undock function.
+        This function is nested inside the main function so that it has access
+    to the main function's variables. A better way to do this is to make the
+main function into a class, but this nested-function approach is fine
+for simple applications.</p>
+            <p>Note that as soon as we set the "DockFcn" property the Dock/Undock
+                icon appears in the top-right of each panel. We use a cell-array to pass an
+            extra argument, the panel number, to the minimize function. This extra argument appears after the usual
+            <code>eventSource</code> and <code>eventData</code> arguments.</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><code class="COMMENT">% Set the dock/undock callback</code><br/>
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( panel{1}, <code class="STRING">'DockFcn'</code>, {@nDock, 1} );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( panel{2}, <code class="STRING">'DockFcn'</code>, {@nDock, 2} );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( panel{3}, <code class="STRING">'DockFcn'</code>, {@nDock, 3} );
+
+<code class="COMMENT">%-------------------------------------------------------------------------%</code><br/> 
+    <a href="matlab:doc function"><code class="FUNCTION">function</code></a> nDock( eventSource, eventData, whichpanel )
+        <code class="COMMENT">% Set the flag</code>
+        panel{whichpanel}.IsDocked = ~panel{whichpanel}.IsDocked;
+        <a href="matlab:doc if"><code class="FUNCTION">if</code></a> panel{whichpanel}.IsDocked
+            <code class="COMMENT">% Put it back into the layout</code>
+            newfig = <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( panel{whichpanel}, <code class="STRING">'Parent'</code> );
+            <a href="matlab:doc set"><code class="FUNCTION">set</code></a>( panel{whichpanel}, <code class="STRING">'Parent'</code>, box );
+            <a href="matlab:doc delete"><code class="FUNCTION">delete</code></a>( newfig );
+        <a href="matlab:doc else"><code class="FUNCTION">else</code></a>&nbsp;
+            <code class="COMMENT">% Take it out of the layout</code>
+            pos = <a href="matlab:doc getpixelposition"><code class="FUNCTION">getpixelposition</code></a>( panel{whichpanel} );
+            newfig = <a href="matlab:doc figure"><code class="FUNCTION">figure</code></a>( ...
+                <code class="STRING">'Name'</code>, <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( panel{whichpanel}, <code class="STRING">'Title'</code> ), ...
+                <code class="STRING">'NumberTitle'</code>, <code class="STRING">'off'</code>, ...
+                <code class="STRING">'MenuBar'</code>, <code class="STRING">'none'</code>, ...
+                <code class="STRING">'Toolbar'</code>, <code class="STRING">'none'</code>, ...
+                <code class="STRING">'CloseRequestFcn'</code>, {@nDock, whichpanel} );
+            figpos = <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( newfig, <code class="STRING">'Position'</code> );
+            <a href="matlab:doc set"><code class="FUNCTION">set</code></a>( newfig, <code class="STRING">'Position'</code>, [figpos(1,1:2), pos(1,3:4)] );
+            <a href="matlab:doc set"><code class="FUNCTION">set</code></a>( p{whichpanel}, <code class="STRING">'Parent'</code>, newfig, ...
+                <code class="STRING">'Units'</code>, <code class="STRING">'Normalized'</code>, ...
+                <code class="STRING">'Position'</code>, [0 0 1 1] );
+        <a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;
+    <a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;<code class="COMMENT">% nDock</code></font></pre></example>
+
+        
+            <h4>Add the close callback</h4>
+            <p>If the user closes the main window we need to also close any
+            other windows that were created. This can be done by finding 
+            the window that contains each panel and deleting it.</p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><code class="COMMENT">%-------------------------------------------------------------------------%</code><br/> 
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> nCloseAll( ~, ~ )
+      <a href="matlab:doc for"><code class="FUNCTION">for</code></a> ii=1:<a href="matlab:doc numel"><code class="FUNCTION">numel</code></a>( panel )
+         <a href="matlab:doc if"><code class="FUNCTION">if</code></a> <a href="matlab:doc isvalid"><code class="FUNCTION">isvalid</code></a>( panel{ii} ) && ~<a href="matlab:doc strcmpi"><code class="FUNCTION">strcmpi</code></a>( panel{ii}.BeingDeleted, <code class="STRING">'on'</code> )
+            figh = <a href="matlab:doc ancestor"><code class="FUNCTION">ancestor</code></a>( panel{ii}, <code class="STRING">'figure'</code> );
+            <a href="matlab:doc delete"><code class="FUNCTION">delete</code></a>( figh );
+         <a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;
+      <a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;
+        
+   <a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;<code class="COMMENT">% nCloseAll</code>
+<a href="matlab:doc end"><code class="FUNCTION">end</code></a>&nbsp;<code class="COMMENT">% Main function</code></font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/BoxPanelDockExample2.png"/></center></font></p>
+        </example>
+        
+            <h4>Click the dock buttons</h4>
+            <p>Undocking the middle panel causes the other two to fill the
+        vacated space. The undocked panel appears in its own window, with the
+    "Undock" icon replaced by a "Dock" icon.</p>
+            <example><p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/BoxPanelDockExample3.png"/>.<img src="Images/BoxPanelDockExample4.png"/></center></font></p></example>
+            <p> Re-docking the panel would
+            cause it to be appended to the right of the list in the original window. Closing the main window
+        causes all panels, docked or undocked, and their enclosing windows to be closed.</p>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide5_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide5_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Minimize and maximize</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide6.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Using layouts inside GUIDE GUIs</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide6.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide6.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide6.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide6.html	(revision 17)
@@ -0,0 +1,84 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Using layouts inside GUIDE GUIs</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide5_3.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide7.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>6: Using layouts inside GUIDE GUIs&nbsp;<A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+        
+        <p>Whilst the layouts in this toolbox do not integrate into the
+        MATLAB Graphical User Interface Design Environment (<a href="matlab:doc GUIDE"><code class="FUNCTION">GUIDE</code></a>), it
+    is possible to insert layouts into a GUIDE-built GUI as follows:</p>
+        <h4>Create the GUIDE GUI</h4>
+            <p>Create you GUIDE application as usual, placing a panel where you
+        want to insert the layout. You can turn the panel border and title
+    off if you do not want them.</p>
+        <center><img src="Images/guide1.png"/></center>
+
+        <h4>Insert the layout</h4>
+        <p>Edit the "OpeningFcn" in the GUIDE-created code and insert your
+    layout into the panel, making it fill the space. In the example below
+four boxpanels are inserted into a grid, which itself is placed inside
+        <code>uipanel1</code>:</p>
+        <example>
+            <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><code class="COMMENT">% --- Executes just before guideApp is made visible.</code>&nbsp;
+<a href="matlab:doc function"><code class="FUNCTION">function</code></a> guideApp_OpeningFcn(hObject, eventdata, handles, varargin)
+
+<code class="COMMENT">% Choose default command line output for guideApp</code>&nbsp;
+handles.output = hObject;
+
+<code class="COMMENT">% Update handles structure</code>&nbsp;
+guidata(hObject, handles);
+
+<code class="COMMENT">% Put a layout in the panel</code>&nbsp;
+g = <a href="uiextras.GridFlex.html"><code class="FUNCTION">uiextras.GridFlex</code></a>( <code class="STRING">'Parent'</code>, handles.uipanel1, ...
+    <code class="STRING">'Units'</code>, <code class="STRING">'Normalized'</code>, <code class="STRING">'Position'</code>, [0 0 1 1], ...
+    <code class="STRING">'Spacing'</code>, 5 );
+<a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 1'</code> );
+<a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 2'</code> );
+<a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 3'</code> );
+<a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( <code class="STRING">'Parent'</code>, g, <code class="STRING">'Title'</code>, <code class="STRING">'Panel 4'</code> );
+g.RowSizes = [-1 -1];</font></pre>
+            <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/guide2.png"/></center></font></p>
+        </example>
+                         <p><small>(Full source code for this application is available here: 
+                     [ <a href="Examples/guideApp.m">view</a>
+                     | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','guideApp.m'))">edit</a>
+                     | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); guideApp; cd(p)">run</a> ]
+                 )</small></p>
+
+    
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide5_3.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide5_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Dock and undock</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide7.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Deploying GUIs using the MATLAB Compiler</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide7.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide7.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide7.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide7.html	(revision 17)
@@ -0,0 +1,56 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Deploying GUIs using the MATLAB Compiler</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide6.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide8.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>7: Deploying GUIs using the MATLAB Compiler&nbsp;<A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+        
+        
+        <p>Applications built using these layout tools can be deployed as standalone
+            executables using the <a href="matlab:doc compiler">MATLAB Compiler</a> in
+        the same way as any other MATLAB application. There is, however, one thing to watch out for:</p>
+        <ul>
+            <li>You must explicitly include the uiextras.Resources folder</li>
+        </ul>
+        <h4>Example</h4>
+        <p>Below is a screen-shot of the <a href="matlab:doc deploytool"><code class="FUNCTION">deploytool</code></a> setup
+        used to build the <a href="ExampleApp.html">example application</a>.
+    The "Resources" folder from the toolbox has been explicitly added as a
+shared resource so that the mouse-pointers and panel icons continue to work.</p>
+        <example><p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/deploy.png"/></center></font></p></example>
+    
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide6.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide6.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Using layouts inside GUIDE GUIs</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">A complete example</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+
+            
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8.html	(revision 17)
@@ -0,0 +1,90 @@
+            <html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>A complete example</title>
+   </head>
+
+   
+   <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide7.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide8_1.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <h2>8: A complete example&nbsp;<A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2>
+      
+        
+        
+<img src="Images/demoBrowser4.png" align="right"/>
+        <p>The following example application uses many of the layout features
+            discussed above in order to create a good-looking user interface that
+        scales well when resized. It is not designed to showcase all the
+        layout functionality, but shows how callbacks are added to provide
+        user interaction. It also exemplifies separating the data from the GUI,
+    a fundamental part of creating modular and maintainable applications.</p>
+        <p>The full application is available here:</p>
+        <ul>
+            <li><a href="Examples/demoBrowser.m">View demoBrowser.m</a></li>
+            <li><a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','demoBrowser.m'))">Edit demoBrowser.m</a></li>
+            <li><a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples'));demoBrowser;cd(p)">Run demoBrowser.m</a></li>
+        </ul>
+
+        
+        
+        
+
+
+
+
+    
+        
+
+        
+        
+
+        
+        
+        
+    
+      <h3>Section contents:</h3>
+      <ul class="contents">
+      </ul>
+
+      <ul class="contents">
+      </ul>
+
+      
+      <ul class="contents">
+         <li>8.1. <a href="User guide8_1.html">Application structure</a></li>
+         <li>8.2. <a href="User guide8_2.html">createInterface</a></li>
+         <li>8.3. <a href="User guide8_3.html">updateInterface</a></li>
+         <li>8.4. <a href="User guide8_4.html">onListSelection</a></li>
+         <li>8.5. <a href="User guide8_5.html">Running it</a></li>
+         <li>8.6. <a href="User guide8_6.html">Scalability</a></li>
+      </ul>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide7.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide7.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Deploying GUIs using the MATLAB Compiler</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Application structure</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_1.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_1.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_1.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_1.html	(revision 17)
@@ -0,0 +1,105 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Application structure</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide8.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide8_2.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>8.1: Application structure&nbsp;<a href="User guide8.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+
+        <p>There are many ways to build graphical applications in MATLAB, but
+    here we will take a very simple approach. If the application were to become
+larger and more complex, this approach would be changed to better mitigate
+    the complexity. Some notes on this are contained <a href="demoBrowserScalability.html">at the end</a>.</p>
+
+    <p>The application is structured as a single function with callbacks and other helper
+        functions stored as "nested" subfunctions, i.e. functions inside the main function. This has
+        the advantage that the nested subfunctions can share access to any variables
+        declared in the main function. This is also a risk as anything we accidentally
+        declare in the main function becomes "global" within the application. For that reason
+        <em>all</em> logic is put into subfunctions and we restrict the main
+    function to just declaring two shared variables:</p>
+    <ul>
+        <li><b>data</b>: a structure containing all shared data</li>
+        <li><b>gui</b>: a structure containing handles to GUI widgets</li>
+    </ul>
+    <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">
+<a href="matlab:doc function"><code class="FUNCTION">function</code></a> demoBrowser()
+
+   <code class="COMMENT">% Declare shared variables</code>
+   data = createData();
+   gui = createInterface( data.DemoNames );
+
+   <code class="COMMENT">% Now update the GUI with the current data</code>
+   updateInterface();
+   redrawDemo();
+   
+   <code class="COMMENT">% Helper subfunctions</code>.
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> data = createData() ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> gui = createInterface(names) ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> updateInterface() ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> redrawDemo() ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+
+   <code class="COMMENT">% Callback subfunctions</code>.
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> onMenuSelection() ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> onListSelection() ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> onDemoHelp() ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> onHelp() ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+   <a href="matlab:doc function"><code class="FUNCTION">function</code></a> onExit() ... <a href="matlab:doc end"><code class="FUNCTION">end</code></a>;
+
+<a href="matlab:doc end"><code class="FUNCTION">end</code></a> <code class="COMMENT"> % Main function</code>
+</font></pre></example>
+
+<p>Note that all of the work is done in subfunctions. Most subfunctions
+are callbacks executed when a button is pressed or a menu selected. The four used
+at startup are helper functions:</p>
+    <ul>
+        <li><b>createData</b>: build the structure which contains all application data</li>
+        <li><b>createInterface</b>: build the user interface</li>
+        <li><b>updateInterface</b>: update selectors etc in response to a change in the data</li>
+        <li><b>redrawDemo</b>: redraw the plot part of the interface</li>
+    </ul>
+    <p>We will not dig into all the subfunctions and callbacks, but instead
+        concentrate on the GUI creation (<a href="demoBrowserCreateInterface.html">createInterface</a>)
+        and update (<a href="demoBrowserUpdateInterface.html">updateInterface</a>).</p>
+    
+                 <p><small>(Full source code for this application is available here: 
+                     [ <a href="Examples/demoBrowser.m">view</a>
+                     | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','demoBrowser.m'))">edit</a>
+                     | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); demoBrowser; cd(p)">run</a> ]
+                 )</small></p>
+
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">A complete example</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">createInterface</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_2.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_2.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_2.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_2.html	(revision 17)
@@ -0,0 +1,105 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>createInterface</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide8_1.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide8_3.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>8.2: createInterface&nbsp;<a href="User guide8.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+    <p>The interface creation is handled in the <code>createInterface</code>
+        subfunction. This has two distinct sections: menu building and widget arrangement.
+        The menus are built using the standard MATLAB menu building command <a href="matlab:doc uimenu"><code class="FUNCTION">uimenu</code></a>,
+    so let's concentrate on the widget arrangement.</p>
+
+    <p>The top-level layout is a horizontal arrangement, placing the controls
+to the left of the main plot. We make the layout draggable by using the
+"flex" variant of HBox, and put a panel in each side. Note that setting the
+"HelpFcn" for the view panel adds a small "?" icon for bringing up help. See
+<a href="PanelHelp.html">here</a> for more details.</p>
+<example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">
+<code class="COMMENT">% Add the contents</code>
+mainLayout = <a href="uiextras.HBoxFlex.html"><code class="FUNCTION">uiextras.HBoxFlex</code></a>( <code class="STRING">'Parent'</code>, gui.Window, <code class="STRING">'Spacing'</code>, 3 );
+
+<code class="COMMENT">% Create the panels</code>
+controlPanel = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( ...
+   <code class="STRING">'Parent'</code>, mainLayout, ...
+   <code class="STRING">'Title'</code>, <code class="STRING">'Select a demo:'</code> );
+gui.ViewPanel = <a href="uiextras.BoxPanel.html"><code class="FUNCTION">uiextras.BoxPanel</code></a>( ...
+   <code class="STRING">'Parent'</code>, mainLayout, ...
+   <code class="STRING">'Title'</code>, <code class="STRING">'Viewing: ???'</code>, ...
+   <code class="STRING">'HelpFcn'</code>, @onDemoHelp );
+
+<code class="COMMENT">% Adjust the main layout</code><br/>
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( mainLayout, <code class="STRING">'Sizes'</code>, [-1,-2]  );
+    </font></pre>
+    <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/demoBrowser1.png"/></center></font></p>
+</example>
+<p>The controls panel is filled with a vertical layout containing the listbox
+and a button. Note the callbacks that are specified for both the list and button. These
+both call further subfunctions that are able to access the common "data" and "gui"
+shared structures.</p>
+<example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">
+<code class="COMMENT">% Create the controls</code>
+controlLayout = <a href="uiextras.VBox.html"><code class="FUNCTION">uiextras.VBox</code></a>( <code class="STRING">'Parent'</code>, controlPanel, ...
+   <code class="STRING">'Padding'</code>, 3, <code class="STRING">'Spacing'</code>, 3 );
+gui.ListBox = <a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Style'</code>, <code class="STRING">'list'</code>, ...
+   <code class="STRING">'BackgroundColor'</code>, <code class="STRING">'w'</code>, ...
+   <code class="STRING">'Parent'</code>, controlLayout, ...
+   <code class="STRING">'String'</code>, demoList(:), ...
+   <code class="STRING">'Value'</code>, 1, ...
+   <code class="STRING">'Callback'</code>, @onListSelection);
+gui.HelpButton = <a href="matlab:doc uicontrol"><code class="FUNCTION">uicontrol</code></a>( <code class="STRING">'Style'</code>, <code class="STRING">'PushButton'</code>, ...
+   <code class="STRING">'Parent'</code>, controlLayout, ...
+   <code class="STRING">'String'</code>, <code class="STRING">'Help for &lt;demo&gt;'</code>, ...
+   <code class="STRING">'Callback'</code>, @onDemoHelp );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( controlLayout, <code class="STRING">'Sizes'</code>, [-1 28] ); <code class="COMMENT">% Make the list fill the space</code>
+</font></pre>
+<p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/demoBrowser2.png"/></center></font></p>
+</example>
+<p>Finally, the view itself is simply an axes placed inside the view panel:</p>   
+<example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">
+<code class="COMMENT">% Create the view</code>
+gui.ViewAxes = <a href="matlab:doc axes"><code class="FUNCTION">axes</code></a>( <code class="STRING">'Parent'</code>, gui.ViewPanel );
+   </font></pre>
+   <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/demoBrowser3.png"/></center></font></p>
+</example>
+                 <p><small>(Full source code for this application is available here: 
+                     [ <a href="Examples/demoBrowser.m">view</a>
+                     | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','demoBrowser.m'))">edit</a>
+                     | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); demoBrowser; cd(p)">run</a> ]
+                 )</small></p>
+    
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_1.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_1.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Application structure</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">updateInterface</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_3.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_3.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_3.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_3.html	(revision 17)
@@ -0,0 +1,70 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>updateInterface</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide8_2.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide8_4.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>8.3: updateInterface&nbsp;<a href="User guide8.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+        <p>The second subfunction we will look at, <code>updateInterface</code>, uses the
+            current selections to update the interface. This uses the structure
+            "data" to update various parts of the interface. For this simple example this just means:
+        </p>
+        <p><b>1. Update the selected item in the listbox</b></p>
+        <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">set( gui.ListBox, <code class="STRING">'Value'</code>, data.SelectedDemo );</font></pre></example>
+        <p><b>2. Update the help button label</b></p>
+        <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">demoName = data.DemoNames{ data.SelectedDemo };<br/><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( gui.HelpButton, <code class="STRING">'String'</code>, [<code class="STRING">'Help for '</code>,demoName] );</font></pre></example>
+        <p><b>3. Update the view panel title</b></p>
+        <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011"><a href="matlab:doc set"><code class="FUNCTION">set</code></a>( gui.ViewPanel, <code class="STRING">'Title'</code>, <a href="matlab:doc sprintf"><code class="FUNCTION">sprintf</code></a>( <code class="STRING">'Viewing: %s'</code>, demoName ) );</font></pre></example>
+        <p><b>4. Update the ticked menu</b></p>
+        <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">menus = <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( gui.ViewMenu, <code class="STRING">'Children'</code> );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( menus, <code class="STRING">'Checked'</code>, <code class="STRING">'off'</code> );
+<code class="COMMENT">% Use the name to work out which menu item should be ticked</code>
+whichMenu = <a href="matlab:doc strcmpi"><code class="FUNCTION">strcmpi</code></a>( demoName, <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( menus, <code class="STRING">'Label'</code> ) );
+<a href="matlab:doc set"><code class="FUNCTION">set</code></a>( menus(whichMenu), <code class="STRING">'Checked'</code>, <code class="STRING">'on'</code> );
+</font></pre></example>
+        <example><p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/demoBrowser4.png"/></center></font></p></example>
+        <p>In general, this update function is called whenever the underlying
+            shared "data" structure is changed. This happens when the user clicks
+            a button, selects a list item or a menu. Next we will look at a typical
+        callback.</p>
+                 <p><small>(Full source code for this application is available here: 
+                     [ <a href="Examples/demoBrowser.m">view</a>
+                     | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','demoBrowser.m'))">edit</a>
+                     | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); demoBrowser; cd(p)">run</a> ]
+                 )</small></p>
+    
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_2.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_2.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">createInterface</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">onListSelection</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_4.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_4.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_4.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_4.html	(revision 17)
@@ -0,0 +1,70 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>onListSelection</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide8_3.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide8_5.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>8.4: onListSelection&nbsp;<a href="User guide8.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>Finally, let's have a look at how one of the callbacks works: "onListSelection", the function
+        that is called when an item is selected in the listbox. The other
+            callbacks obey the same pattern.</p>
+            <p>The basic rule of thumb is that a callback should not update any part of
+        the user interface directly - it's job is to respond to user interaction by changing the "data" structure. 
+        In this example, each callback changes the underlying data structure
+    then asks the interface to refresh. This might mean that things update in the
+interface that don't need to, but ensures the callbacks remain simple and that all
+interface update logic is in one place. Extending this to more granular interface updates
+            is straightforward. See <a href="demoBrowserScalability.html">Scalability</a> for more details.</p>
+            <p>For the listbox callback, the "src" argument is a handle to the
+            listbox and we simply need to update the SelectedDemo field of "data"
+            to reflect the new selection. We then ask the rest of the interface to
+            update in response to the change.
+            </p>
+            <example><pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">
+                <code class="COMMENT">% User selected a demo from the list - update "data" and refresh</code>
+data.SelectedDemo = <a href="matlab:doc get"><code class="FUNCTION">get</code></a>( src, <code class="STRING">'Value'</code> );
+updateInterface();
+redrawDemo();</font></pre>
+        <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/demoBrowser4.png"/></center></font></p>
+        </example>
+                 <p><small>(Full source code for this application is available here: 
+                     [ <a href="Examples/demoBrowser.m">view</a>
+                     | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','demoBrowser.m'))">edit</a>
+                     | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); demoBrowser; cd(p)">run</a> ]
+                 )</small></p>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_3.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_3.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">updateInterface</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Running it</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_5.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_5.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_5.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_5.html	(revision 17)
@@ -0,0 +1,61 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Running it</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide8_4.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide8_6.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>8.5: Running it&nbsp;<a href="User guide8.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>When the main function is launched (click 
+                <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples'));demoBrowser;cd(p)">here</a>)
+                it first creates the data, then the GUI, then updates the GUI using the data. At this point the
+                function exits and control is returned to the command prompt. Note, however,
+            that the GUI is still onscreen and will still respond to user interaction.</p>
+            <p>This works because the "shared" variables in the main function are not cleared when the
+                function exits. They are only cleared once the GUI is closed. This is a slightly
+                unusual, but very useful, feature of using nested functions for building
+            applications.</p>
+            <h3>For example:</h3>
+                <pre style="background-color: #eeeeff; margin-left: 20px; margin-right: 20px"><font color="#000011">&gt;&gt; demoBrowser</font></pre>
+                <p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/demoBrowser4.png"/></center></font></p>
+                
+                 <p><small>(Full source code for this application is available here: 
+                     [ <a href="Examples/demoBrowser.m">view</a>
+                     | <a href="matlab: edit(fullfile(layoutRoot,'layoutHelp','Examples','demoBrowser.m'))">edit</a>
+                     | <a href="matlab: p=pwd();cd(fullfile(layoutRoot,'layoutHelp','Examples')); demoBrowser; cd(p)">run</a> ]
+                 )</small></p>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_4.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_4.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">onListSelection</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_6.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Scalability</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8_6.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+        
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_6.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_6.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/User guide8_6.html	(revision 17)
@@ -0,0 +1,60 @@
+<html xmlns:saxon="http://icl.com/saxon">
+   <head>
+      <link rel="stylesheet" type="text/css" href="doc.css"/>
+      <link rel="stylesheet" type="text/css" href=""/>
+      <meta author="The MathWorks Ltd."/>
+      <meta copyright="2011 The MathWorks Ltd."/>
+      <title>Scalability</title>
+   </head>
+
+   
+    <body>
+      <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td>
+            <td width="36" bgcolor="#e4f0f8"><A HREF="User guide8_5.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="index.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td>
+         </tr>
+      </table>
+   
+
+      <br clear="all"/>
+          
+      <h2>8.6: Scalability&nbsp;<a href="User guide8.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></a></h2>
+      
+            <p>As applications get bigger the code gets more complex. The simple
+                application structure used here does not scale well to large applications,
+            however some small adjustments can make life much better:</p>
+            <ul>
+                <li>Convert the "data" structure into a <a href="matlab: doc handle">handle object</a>. This allows
+                    a single "data" object to be shared between mutliple graphical interfaces, and in turn means that the interface
+                need not be built as a single monolithic entity.</li>
+                <li>Use the <a href="matlab: doc event.listener">events system</a> to trigger updates
+                    to specific parts of the GUI in response to bits of the data object changing. This removes the need
+                for a single large "UpdateInterface" function and reduces coupling between parts of the interface. For example,
+            the "SelectedDemo" property would have an associated event such that when it is changed by a callback (or from the command-line) it
+        notifies other interface components of the change. Each interface component (or group thereof) can
+    just listen for the events that affect it.</li>
+            </ul>
+            <p>Advice on how to build large-scale applications is beyond the scope
+                of this document. If you need help in this area, please contact your MathWorks
+            account manager who will be able to put you in touch with a technical specialist.</p>
+        
+      
+      <br clear="ALL"/>
+      <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0">
+         <tr>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_5.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide8_5.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Running it</font></a></td>
+            <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td>
+            <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Front page</font></a></td>
+            <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="index.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td>
+         </tr>
+      </table>
+      <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">&copy; 2011 The MathWorks Ltd</font>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+      <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+   
+   </body>
+</html>
+&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/VisibleExample.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/VisibleExample.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/VisibleExample.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide3_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/about.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/about.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/about.html	(revision 17)
@@ -0,0 +1,1 @@
+                <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Getting Started1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/atoz.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/atoz.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/atoz.html	(revision 17)
@@ -0,0 +1,190 @@
+<HTML>
+
+  <HEAD>
+    <LINK REL="stylesheet" TYPE="text/css" HREF="doc.css"/>
+    <TITLE>GUI Layout Toolbox documentation: Index</TITLE>
+    <meta author="The MathWorks Ltd."/>    <meta copyright="2011 The MathWorks Ltd."/>  </HEAD>
+  <BODY>
+    <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD BGCOLOR="#DDEEFF">
+    <A HREF="index.html"><FONT FACE="ARIAL" COLOR="#000066" SIZE="+2" UNDERLINE="0">GUI Layout Toolbox 1.10</Font>
+    </A></TD></TR></TABLE>
+    <H1>Alphabetical index</H1>
+    <CENTER>
+    <A HREF="#A">A</A> - 
+    <A HREF="#B">B</A> - 
+    <A HREF="#C">C</A> - 
+    <A HREF="#D">D</A> - 
+    <A HREF="#E">E</A> - 
+    <A HREF="#F">F</A> - 
+    <A HREF="#G">G</A> - 
+    <A HREF="#H">H</A> - 
+    <A HREF="#I">I</A> - 
+    <A HREF="#J">J</A> - 
+    <A HREF="#K">K</A> - 
+    <A HREF="#L">L</A> - 
+    <A HREF="#M">M</A> 
+    </CENTER><CENTER>
+    <A HREF="#N">N</A> - 
+    <A HREF="#O">O</A> - 
+    <A HREF="#P">P</A> - 
+    <A HREF="#Q">Q</A> - 
+    <A HREF="#R">R</A> - 
+    <A HREF="#S">S</A> - 
+    <A HREF="#T">T</A> - 
+    <A HREF="#U">U</A> - 
+    <A HREF="#V">V</A> - 
+    <A HREF="#W">W</A> - 
+    <A HREF="#X">X</A> - 
+    <A HREF="#Y">Y</A> - 
+    <A HREF="#Z">Z</A>
+    </CENTER>
+    <TABLE BORDER="0" WIDTH="100%" CELLPADDING="0" CELLSPACING="0"><TR><TD>
+      <TR><TD COLSPAN="2"><HR><A NAME="A"><H2>A</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">A complete example</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide8.html">A complete example (User guide: 8)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">About</TD><TD BGCOLOR="#FFFFFF"><A HREF="Getting Started1.html">What is the GUI Layout Toolbox? (Getting Started: 1)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Acknowledgements</TD><TD BGCOLOR="#EBEBFF"><A HREF="Getting Started5.html">Acknowledgements (Getting Started: 5)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Advanced maneuvers with panels</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide5.html">Advanced maneuvers with panels (User guide: 5)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Application design</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide8.html">A complete example (User guide: 8)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Application structure</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide8_1.html">Application structure (User guide: 8.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">axes</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide2.html">Positioning Axes (User guide: 2)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Axes inside layouts</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide2_2.html">Axes inside layouts (User guide: 2.2)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="B"><H2>B</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Box</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_1.html">uiextras.HBox (Function reference: 2.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">&nbsp;</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_2.html">uiextras.VBox (Function reference: 2.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">&nbsp;</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">&nbsp;</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Boxes</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference.html#2">Boxes (Function reference: 2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">BoxPanel</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference1_3.html">uiextras.BoxPanel (Function reference: 1.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Button box</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_5.html">uiextras.HButtonBox (Function reference: 2.5)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">&nbsp;</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_6.html">uiextras.VButtonBox (Function reference: 2.6)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="C"><H2>C</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Callbacks</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide8.html">A complete example (User guide: 8)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">CardPanel</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference1_2.html">uiextras.CardPanel (Function reference: 1.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Compiler</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide7.html">Deploying GUIs using the MATLAB Compiler (User guide: 7)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Context help</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide5_1.html">Context help (User guide: 5.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">createInterface</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide8_2.html">createInterface (User guide: 8.2)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="D"><H2>D</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Date</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference4_2.html">layoutVersion (Function reference: 4.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Default</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide4.html">Using property defaults (User guide: 4)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">&nbsp;</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference4_4.html">uiextras.set (Function reference: 4.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">&nbsp;</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference4_5.html">uiextras.get (Function reference: 4.5)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Deploying GUIs using the MATLAB Compiler</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide7.html">Deploying GUIs using the MATLAB Compiler (User guide: 7)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Dock and undock</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide5_3.html">Dock and undock (User guide: 5.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Draggable dividers</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">&nbsp;</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">&nbsp;</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference3_2.html">uiextras.GridFlex (Function reference: 3.2)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="E"><H2>E</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Empty</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference4_1.html">uiextras.Empty (Function reference: 4.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Enable and Visible</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide3.html">Enable and Visible (User guide: 3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Enable example</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide3_1.html">Enable example (User guide: 3.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Examples</TD><TD BGCOLOR="#FFFFFF"><A HREF="Examples.html">(Examples)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="F"><H2>F</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Flexible layout</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">&nbsp;</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Folder</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference4_3.html">layoutRoot (Function reference: 4.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Function reference</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference.html">(Function reference)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="G"><H2>G</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Getting Started</TD><TD BGCOLOR="#EBEBFF"><A HREF="Getting Started.html">(Getting Started)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Grid</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference3_1.html">uiextras.Grid (Function reference: 3.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">GridFlex</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference3_2.html">uiextras.GridFlex (Function reference: 3.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Grids</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference.html#3">Grids (Function reference: 3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">GUIDE</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide6.html">Using layouts inside GUIDE GUIs (User guide: 6)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="H"><H2>H</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">HBox</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_1.html">uiextras.HBox (Function reference: 2.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">HBoxFlex</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">HButtonBox</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_5.html">uiextras.HButtonBox (Function reference: 2.5)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Help</TD><TD BGCOLOR="#FFFFFF"><A HREF="Getting Started4.html">Support (Getting Started: 4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Horizontal button layout</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_5.html">uiextras.HButtonBox (Function reference: 2.5)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Horizontal layout</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_1.html">uiextras.HBox (Function reference: 2.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">&nbsp;</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="I"><H2>I</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Installation</TD><TD BGCOLOR="#EBEBFF"><A HREF="Getting Started3.html">Installation (Getting Started: 3)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Installation folder</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference4_3.html">layoutRoot (Function reference: 4.3)</A></TD></TR>
+      <TR><TD COLSPAN="2"><A NAME="J"></A></TD></TR>
+      <TR><TD COLSPAN="2"><A NAME="K"></A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="L"><H2>L</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Layout basics</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide1_1.html">Layout basics (User guide: 1.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Layout heirarchies</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide1_4.html">Layout heirarchies (User guide: 1.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">layoutRoot</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference4_3.html">layoutRoot (Function reference: 4.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">layoutVersion</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference4_2.html">layoutVersion (Function reference: 4.2)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="M"><H2>M</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">MATLAB Compiler</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide7.html">Deploying GUIs using the MATLAB Compiler (User guide: 7)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Minimize and maximize</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide5_2.html">Minimize and maximize (User guide: 5.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Minimum sizes</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide1_3.html#1.3.1">Sizes and units (User guide: 1.3.1)</A></TD></TR>
+      <TR><TD COLSPAN="2"><A NAME="N"></A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="O"><H2>O</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">onListSelection</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide8_4.html">onListSelection (User guide: 8.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Other functions</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference.html#4">Other functions (Function reference: 4)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="P"><H2>P</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Panel</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference1_1.html">uiextras.Panel (Function reference: 1.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Panels</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference.html#1">Panels (Function reference: 1)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Position vs OuterPosition</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide2_1.html">Position vs OuterPosition (User guide: 2.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Positioning Axes</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide2.html">Positioning Axes (User guide: 2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Property</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide4.html">Using property defaults (User guide: 4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">&nbsp;</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference4_4.html">uiextras.set (Function reference: 4.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">&nbsp;</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference4_5.html">uiextras.get (Function reference: 4.5)</A></TD></TR>
+      <TR><TD COLSPAN="2"><A NAME="Q"></A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="R"><H2>R</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Release Notes</TD><TD BGCOLOR="#EBEBFF"><A HREF="Getting Started2.html">Release Notes (Getting Started: 2)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Root</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference4_3.html">layoutRoot (Function reference: 4.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Running it</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide8_5.html">Running it (User guide: 8.5)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="S"><H2>S</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Scalability</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide8_6.html">Scalability (User guide: 8.6)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Setting defaults for all windows</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide4_2.html">Setting defaults for all windows (User guide: 4.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Setting defaults for one window</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide4_1.html">Setting defaults for one window (User guide: 4.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Sizes and units</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide1_3.html">Sizes and units (User guide: 1.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Support</TD><TD BGCOLOR="#EBEBFF"><A HREF="Getting Started4.html">Support (Getting Started: 4)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="T"><H2>T</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">TabPanel</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference1_4.html">uiextras.TabPanel (Function reference: 1.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Types of layout</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide1_2.html">Types of layout (User guide: 1.2)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="U"><H2>U</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">uiextras.BoxPanel</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference1_3.html">uiextras.BoxPanel (Function reference: 1.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">uiextras.CardPanel</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference1_2.html">uiextras.CardPanel (Function reference: 1.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">uiextras.Empty</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference4_1.html">uiextras.Empty (Function reference: 4.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">uiextras.get</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference4_5.html">uiextras.get (Function reference: 4.5)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">uiextras.Grid</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference3_1.html">uiextras.Grid (Function reference: 3.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">uiextras.GridFlex</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference3_2.html">uiextras.GridFlex (Function reference: 3.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">uiextras.HBox</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_1.html">uiextras.HBox (Function reference: 2.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">uiextras.HBoxFlex</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">uiextras.HButtonBox</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_5.html">uiextras.HButtonBox (Function reference: 2.5)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">uiextras.Panel</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference1_1.html">uiextras.Panel (Function reference: 1.1)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">uiextras.set</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference4_4.html">uiextras.set (Function reference: 4.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">uiextras.TabPanel</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference1_4.html">uiextras.TabPanel (Function reference: 1.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">uiextras.VBox</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_2.html">uiextras.VBox (Function reference: 2.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">uiextras.VBoxFlex</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">uiextras.VButtonBox</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_6.html">uiextras.VButtonBox (Function reference: 2.6)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Understanding layouts</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide1.html">Understanding layouts (User guide: 1)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Undock</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide5_3.html">Dock and undock (User guide: 5.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Uninstall</TD><TD BGCOLOR="#FFFFFF"><A HREF="Getting Started3.html">Installation (Getting Started: 3)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">updateInterface</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide8_3.html">updateInterface (User guide: 8.3)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">User guide</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide.html">(User guide)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Using layouts inside GUIDE GUIs</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide6.html">Using layouts inside GUIDE GUIs (User guide: 6)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Using property defaults</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide4.html">Using property defaults (User guide: 4)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="V"><H2>V</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">VBox</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_2.html">uiextras.VBox (Function reference: 2.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">VBoxFlex</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">VButtonBox</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_6.html">uiextras.VButtonBox (Function reference: 2.6)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Version</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference4_2.html">layoutVersion (Function reference: 4.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Vertical button layout</TD><TD BGCOLOR="#EBEBFF"><A HREF="Function reference2_6.html">uiextras.VButtonBox (Function reference: 2.6)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Vertical layout</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_2.html">uiextras.VBox (Function reference: 2.2)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">&nbsp;</TD><TD BGCOLOR="#FFFFFF"><A HREF="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">Visible example</TD><TD BGCOLOR="#EBEBFF"><A HREF="User guide3_2.html">Visible example (User guide: 3.2)</A></TD></TR>
+      <TR><TD COLSPAN="2"><HR><A NAME="W"><H2>W</H2></A></TD></TR>
+      <TR><TD BGCOLOR="#EBEBFF">What is the GUI Layout Toolbox?</TD><TD BGCOLOR="#EBEBFF"><A HREF="Getting Started1.html">What is the GUI Layout Toolbox? (Getting Started: 1)</A></TD></TR>
+      <TR><TD BGCOLOR="#FFFFFF">Why use layouts?</TD><TD BGCOLOR="#FFFFFF"><A HREF="User guide1_5.html">Why use layouts? (User guide: 1.5)</A></TD></TR>
+      <TR><TD COLSPAN="2"><A NAME="X"></A></TD></TR>
+      <TR><TD COLSPAN="2"><A NAME="Y"></A></TD></TR>
+      <TR><TD COLSPAN="2"><A NAME="Z"></A></TD></TR>
+    </TD></TR></TABLE>
+    <BR CLEAR="ALL"/>
+    <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
+      <TR><TD HEIGHT="15" BGCOLOR="#DDEEFF" ALIGN="right">
+        Back to <A HREF="index.html">Top</A>
+      </TD></TR>
+    </TABLE>
+    &copy; 2011 The MathWorks Inc
+    <TT>&#149; </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a>
+    <TT>&#149; </TT> <a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a>
+    <TT>&#149; </TT> <a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a>
+  </BODY>
+</HTML>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserCreateInterface.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserCreateInterface.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserCreateInterface.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide8_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserOnListSelection.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserOnListSelection.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserOnListSelection.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide8_4.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserRun.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserRun.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserRun.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide8_5.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserScalability.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserScalability.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserScalability.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide8_6.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserStructure.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserStructure.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserStructure.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide8_1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserUpdateInterface.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserUpdateInterface.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/demoBrowserUpdateInterface.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=User guide8_3.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/doc.css
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/doc.css	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/doc.css	(revision 17)
@@ -0,0 +1,95 @@
+  H4 { color: rgb(153,0,0);
+    font-family: Arial,Helvetica,sans-serif;
+    font-weight: bold;
+    font-size: smallnormal;
+    }
+
+  H3 { color: rgb(153,0,0);
+    font-family: Arial,Helvetica,sans-serif;
+    font-weight: bold;
+    font-size: large;
+    }
+
+  H2 { color: rgb(153,0,0);
+    font-weight: bold;
+    font-size: x-large;
+    font-family: Arial,Helvetica,sans-serif;
+    }
+
+  H1 { color: rgb(10,0,0);
+    font-weight: bold;
+    font-size: xx-large;
+    font-family: Arial,Helvetica,sans-serif;
+    }
+
+  P { font-weight: normal;
+    font-style: normal;
+    color: rgb(0, 0, 32);
+    font-family: Arial,Helvetica,sans-serif;
+    text-decoration: none;
+    }  
+
+  LI { font-weight: normal;
+    font-style: normal;
+    color: rgb(0, 0, 32);
+    font-family: Arial,Helvetica,sans-serif;
+    text-decoration: none;
+    }  
+
+  A { font-weight: normal;
+    font-style: normal;
+    color: rgb(0,0,180, 0, 0);
+    font-family: Arial,Helvetica,sans-serif;
+    text-decoration: none;
+    }
+
+  CODE { font-family: Courier New,Courier,monospace;
+    color: #000044;
+    font-size: -1;
+    }
+CODE.FUNCTION {
+    color: #0000EE;
+    font-weight: bold;
+}
+CODE.INARG {
+    color: #008800;
+    font-weight: bold;
+}
+CODE.OUTARG {
+    color: #880000;
+    font-weight: bold;
+ }
+CODE.COMMENT {
+    color: #008800;
+}
+CODE.STRING {
+    color: #DD00FF;
+}
+
+TABLE.PROPERTYTABLE {
+    border-width: 3;
+    border-style: inset;
+    border-color: #777777;
+    cellpadding: 4;
+    cellspacing: 0;
+}
+TH.PROPERTYTABLE {
+    font-weight: bold;
+    color: #000000;
+    border-width: 2;
+    border-style: inset;
+    background-color: #b2b2b2;
+}
+TD.PROPERTYTABLE {
+    font-weight: normal;
+    color: #000000;
+    border-width: 2;
+    border-style: inset;
+    background-color: #f2f2f2;
+}
+
+PRE { font-family: Courier New,Courier,monospace;
+    color: #000044;
+    font-size: -1;
+}
+
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/doc.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/doc.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/doc.m	(revision 17)
@@ -0,0 +1,65 @@
+function doc( funcname )
+%DOC  a wrapper for the built-in "doc" that also finds user documentation
+%
+%   DOC(FUNCNAME) tries to find HTML help for the function, class or
+%   method FUNCNAME. It first searches the MATLAB path for FUNCNAME.html,
+%   and if this is not found calls the built-in "doc" function to scan the
+%   built-in help files. This is needed because the "doc" command in R2007a
+%   and above no longer searches the MATLAB path for help files (it did for
+%   R14 up to R2006b). Once this is fixed this hack should be removed.
+
+%   Copyright 2007 The MathWorks Ltd.
+%   1.1    
+%   2012/05/08 08:02:53
+
+if nargin
+    if ischar( funcname )
+        w = which( [funcname,'.html'] );
+    elseif ishandle( funcname )
+        switch upper( get( funcname, 'type' ) )
+            case 'BLOCK'
+                funcname = iResolveSimulinkBlockType( funcname );
+            otherwise
+                error( 'doc:BadArg', 'Cannot find documentation for object of type ''%s''', get( funcname, 'type' ) );
+        end
+        if isempty(funcname)
+            error( 'doc:BadArg', 'Object returned empty type description' );
+        else
+            w = which( [funcname,'.html'] );
+        end
+    end
+else
+    w = [];
+end
+if isempty(w)
+    % To get a function handle to the original function we first have to CD
+    % to its directory, then get a handle, then return to where we were.
+    % Urgh! Just horrible.
+    olddir = pwd();
+    origpath = fullfile( matlabroot(), 'toolbox', 'matlab', 'helptools' );
+    cd(origpath);
+    orig_doc = str2func( 'doc' );
+    cd(olddir);
+    
+    % OK, we have the handle, so call it
+    if nargin
+        feval( orig_doc, funcname );
+    else
+        feval( orig_doc );
+    end
+else
+    web(w, '-helpbrowser'); % was helpview(w) but gave Java issues - DJA
+end
+
+function type = iResolveSimulinkBlockType( block )
+% Simulink block. The block type can be in many places
+% according to how the block was constructed so we need to
+% check the type
+block_type = get( block, 'BlockType' );
+switch upper( block_type )
+    case 'SUBSYSTEM'
+        type = get( block, 'MaskType' );
+    otherwise
+        error( 'doc:BadArg', 'Simulink block type ''%s'' is not yet supported', block_type );
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/frames.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/frames.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/frames.html	(revision 17)
@@ -0,0 +1,12 @@
+<HTML>
+
+  <HEAD>
+    <TITLE>GUI Layout Documentation</TITLE>
+    <META AUTHOR="The MathWorks Ltd."/>
+    <META COPYRIGHT="2005-2007 The MathWorks Ltd."/>
+  </HEAD>
+  <FRAMESET cols="30%,70%">
+    <FRAME name="toc" src="helptoc.html">
+    <FRAME name="content" src="index.html">
+  </FRAMESET>
+</HTML>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helpindex.xml
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helpindex.xml	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helpindex.xml	(revision 17)
@@ -0,0 +1,131 @@
+<?xml version='1.0' encoding='ISO-8859-1'  ?>
+<!-- 1.1 2012/05/08 08:02:54 -->
+
+<index version="1.0">
+<indexitem target="User guide8.html">A complete example</indexitem>
+<indexitem target="Getting Started1.html">About</indexitem>
+<indexitem target="Getting Started5.html">Acknowledgements</indexitem>
+<indexitem target="User guide5.html">Advanced maneuvers with panels</indexitem>
+<indexitem target="User guide8.html">Application design</indexitem>
+<indexitem target="User guide8_1.html">Application structure</indexitem>
+<indexitem target="User guide2.html">axes</indexitem>
+<indexitem target="User guide2_2.html">Axes inside layouts</indexitem>
+<indexitem>Box
+    <indexitem target="Function reference2_1.html">uiextras.HBox (Function reference: 2.1)</indexitem>
+    <indexitem target="Function reference2_2.html">uiextras.VBox (Function reference: 2.2)</indexitem>
+    <indexitem target="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</indexitem>
+    <indexitem target="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</indexitem>
+</indexitem>
+<indexitem target="Function reference.html#2">Boxes</indexitem>
+<indexitem target="Function reference1_3.html">BoxPanel</indexitem>
+<indexitem>Button box
+    <indexitem target="Function reference2_5.html">uiextras.HButtonBox (Function reference: 2.5)</indexitem>
+    <indexitem target="Function reference2_6.html">uiextras.VButtonBox (Function reference: 2.6)</indexitem>
+</indexitem>
+<indexitem target="User guide8.html">Callbacks</indexitem>
+<indexitem target="Function reference1_2.html">CardPanel</indexitem>
+<indexitem target="User guide7.html">Compiler</indexitem>
+<indexitem target="User guide5_1.html">Context help</indexitem>
+<indexitem target="User guide8_2.html">createInterface</indexitem>
+<indexitem target="Function reference4_2.html">Date</indexitem>
+<indexitem>Default
+    <indexitem target="User guide4.html">Using property defaults (User guide: 4)</indexitem>
+    <indexitem target="Function reference4_4.html">uiextras.set (Function reference: 4.4)</indexitem>
+    <indexitem target="Function reference4_5.html">uiextras.get (Function reference: 4.5)</indexitem>
+</indexitem>
+<indexitem target="User guide7.html">Deploying GUIs using the MATLAB Compiler</indexitem>
+<indexitem target="User guide5_3.html">Dock and undock</indexitem>
+<indexitem>Draggable dividers
+    <indexitem target="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</indexitem>
+    <indexitem target="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</indexitem>
+    <indexitem target="Function reference3_2.html">uiextras.GridFlex (Function reference: 3.2)</indexitem>
+</indexitem>
+<indexitem target="Function reference4_1.html">Empty</indexitem>
+<indexitem target="User guide3.html">Enable and Visible</indexitem>
+<indexitem target="User guide3_1.html">Enable example</indexitem>
+<indexitem target="Examples.html">Examples</indexitem>
+<indexitem>Flexible layout
+    <indexitem target="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</indexitem>
+    <indexitem target="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</indexitem>
+</indexitem>
+<indexitem target="Function reference4_3.html">Folder</indexitem>
+<indexitem target="Function reference.html">Function reference</indexitem>
+<indexitem target="Getting Started.html">Getting Started</indexitem>
+<indexitem target="Function reference3_1.html">Grid</indexitem>
+<indexitem target="Function reference3_2.html">GridFlex</indexitem>
+<indexitem target="Function reference.html#3">Grids</indexitem>
+<indexitem target="User guide6.html">GUIDE</indexitem>
+<indexitem target="Function reference2_1.html">HBox</indexitem>
+<indexitem target="Function reference2_3.html">HBoxFlex</indexitem>
+<indexitem target="Function reference2_5.html">HButtonBox</indexitem>
+<indexitem target="Getting Started4.html">Help</indexitem>
+<indexitem target="Function reference2_5.html">Horizontal button layout</indexitem>
+<indexitem>Horizontal layout
+    <indexitem target="Function reference2_1.html">uiextras.HBox (Function reference: 2.1)</indexitem>
+    <indexitem target="Function reference2_3.html">uiextras.HBoxFlex (Function reference: 2.3)</indexitem>
+</indexitem>
+<indexitem target="Getting Started3.html">Installation</indexitem>
+<indexitem target="Function reference4_3.html">Installation folder</indexitem>
+<indexitem target="User guide1_1.html">Layout basics</indexitem>
+<indexitem target="User guide1_4.html">Layout heirarchies</indexitem>
+<indexitem target="Function reference4_3.html">layoutRoot</indexitem>
+<indexitem target="Function reference4_2.html">layoutVersion</indexitem>
+<indexitem target="User guide7.html">MATLAB Compiler</indexitem>
+<indexitem target="User guide5_2.html">Minimize and maximize</indexitem>
+<indexitem target="User guide1_3.html#1.3.1">Minimum sizes</indexitem>
+<indexitem target="User guide8_4.html">onListSelection</indexitem>
+<indexitem target="Function reference.html#4">Other functions</indexitem>
+<indexitem target="Function reference1_1.html">Panel</indexitem>
+<indexitem target="Function reference.html#1">Panels</indexitem>
+<indexitem target="User guide2_1.html">Position vs OuterPosition</indexitem>
+<indexitem target="User guide2.html">Positioning Axes</indexitem>
+<indexitem>Property
+    <indexitem target="User guide4.html">Using property defaults (User guide: 4)</indexitem>
+    <indexitem target="Function reference4_4.html">uiextras.set (Function reference: 4.4)</indexitem>
+    <indexitem target="Function reference4_5.html">uiextras.get (Function reference: 4.5)</indexitem>
+</indexitem>
+<indexitem target="Getting Started2.html">Release Notes</indexitem>
+<indexitem target="Function reference4_3.html">Root</indexitem>
+<indexitem target="User guide8_5.html">Running it</indexitem>
+<indexitem target="User guide8_6.html">Scalability</indexitem>
+<indexitem target="User guide4_2.html">Setting defaults for all windows</indexitem>
+<indexitem target="User guide4_1.html">Setting defaults for one window</indexitem>
+<indexitem target="User guide1_3.html">Sizes and units</indexitem>
+<indexitem target="Getting Started4.html">Support</indexitem>
+<indexitem target="Function reference1_4.html">TabPanel</indexitem>
+<indexitem target="User guide1_2.html">Types of layout</indexitem>
+<indexitem target="Function reference1_3.html">uiextras.BoxPanel</indexitem>
+<indexitem target="Function reference1_2.html">uiextras.CardPanel</indexitem>
+<indexitem target="Function reference4_1.html">uiextras.Empty</indexitem>
+<indexitem target="Function reference4_5.html">uiextras.get</indexitem>
+<indexitem target="Function reference3_1.html">uiextras.Grid</indexitem>
+<indexitem target="Function reference3_2.html">uiextras.GridFlex</indexitem>
+<indexitem target="Function reference2_1.html">uiextras.HBox</indexitem>
+<indexitem target="Function reference2_3.html">uiextras.HBoxFlex</indexitem>
+<indexitem target="Function reference2_5.html">uiextras.HButtonBox</indexitem>
+<indexitem target="Function reference1_1.html">uiextras.Panel</indexitem>
+<indexitem target="Function reference4_4.html">uiextras.set</indexitem>
+<indexitem target="Function reference1_4.html">uiextras.TabPanel</indexitem>
+<indexitem target="Function reference2_2.html">uiextras.VBox</indexitem>
+<indexitem target="Function reference2_4.html">uiextras.VBoxFlex</indexitem>
+<indexitem target="Function reference2_6.html">uiextras.VButtonBox</indexitem>
+<indexitem target="User guide1.html">Understanding layouts</indexitem>
+<indexitem target="User guide5_3.html">Undock</indexitem>
+<indexitem target="Getting Started3.html">Uninstall</indexitem>
+<indexitem target="User guide8_3.html">updateInterface</indexitem>
+<indexitem target="User guide.html">User guide</indexitem>
+<indexitem target="User guide6.html">Using layouts inside GUIDE GUIs</indexitem>
+<indexitem target="User guide4.html">Using property defaults</indexitem>
+<indexitem target="Function reference2_2.html">VBox</indexitem>
+<indexitem target="Function reference2_4.html">VBoxFlex</indexitem>
+<indexitem target="Function reference2_6.html">VButtonBox</indexitem>
+<indexitem target="Function reference4_2.html">Version</indexitem>
+<indexitem target="Function reference2_6.html">Vertical button layout</indexitem>
+<indexitem>Vertical layout
+    <indexitem target="Function reference2_2.html">uiextras.VBox (Function reference: 2.2)</indexitem>
+    <indexitem target="Function reference2_4.html">uiextras.VBoxFlex (Function reference: 2.4)</indexitem>
+</indexitem>
+<indexitem target="User guide3_2.html">Visible example</indexitem>
+<indexitem target="Getting Started1.html">What is the GUI Layout Toolbox?</indexitem>
+<indexitem target="User guide1_5.html">Why use layouts?</indexitem>
+</index>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helptoc.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helptoc.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helptoc.html	(revision 17)
@@ -0,0 +1,37 @@
+<HTML>
+
+  <HEAD>
+    <TITLE>Table of Contents</TITLE>
+    <META AUTHOR="The MathWorks Ltd."/>
+    <META COPYRIGHT="2005-2007 The MathWorks Ltd."/>
+  </HEAD>
+  <BODY>
+    <a href="index.html" target="content"><img src="Images/bookicon.gif" border="0"/><b>&nbsp;GUI Layout</b><br /><font size="-2"><br /></font>
+    
+      &nbsp;<a href="Getting Started.html" target="content"><img border="0" src="Images/help_gs.png"><b>&nbsp;Getting Started</b></a><br><small>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="Getting Started1.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;1. What is the GUI Layout Toolbox?</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="Getting Started2.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;2. Release Notes</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="Getting Started3.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;3. Installation</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="Getting Started4.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;4. Support</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="Getting Started5.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;5. Acknowledgements</a><br></small>
+<font size="-2"><br /></font>
+    
+      &nbsp;<a href="Examples.html" target="content"><img border="0" src="Images/help_ex.png"><b>&nbsp;Examples</b></a><br><small></small>
+<font size="-2"><br /></font>
+    
+      &nbsp;<a href="User guide.html" target="content"><img border="0" src="Images/help_ug.png"><b>&nbsp;User guide</b></a><br><small>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="User guide1.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;1. Understanding layouts</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="User guide2.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;2. Positioning Axes</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="User guide3.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;3. Enable and Visible</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="User guide4.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;4. Using property defaults</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="User guide5.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;5. Advanced maneuvers with panels</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="User guide6.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;6. Using layouts inside GUIDE GUIs</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="User guide7.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;7. Deploying GUIs using the MATLAB Compiler</a><br>
+         &nbsp;&nbsp;&nbsp;&nbsp;<a href="User guide8.html" target="content"><img src="Images/pageicon.gif" border="0">&nbsp;8. A complete example</a><br></small>
+<font size="-2"><br /></font>
+    
+      &nbsp;<a href="Function reference.html" target="content"><img border="0" src="Images/help_fx.png"><b>&nbsp;Function reference</b></a><br><small></small>
+<font size="-2"><br /></font>
+  &nbsp;<a href="atoz.html" target="content"><b><img src="Images/help_rn.png" border="0">&nbsp;Index</b></a>
+  </BODY>
+</HTML>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helptoc.xml
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helptoc.xml	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/helptoc.xml	(revision 17)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='ISO-8859-1' ?>
+
+<!-- Copyright 2011 The MathWorks Ltd.-->
+<toc version="1.0">
+  <tocitem image="$toolbox/matlab/icons/book_mat.png" target="index.html">GUI Layout
+    <tocitem target="Getting Started.html" image="$toolbox/matlab/icons/help_gs.png">Getting Started<tocitem target="Getting Started1.html">1. What is the GUI Layout Toolbox?</tocitem><tocitem target="Getting Started2.html">2. Release Notes</tocitem><tocitem target="Getting Started3.html">3. Installation</tocitem><tocitem target="Getting Started4.html">4. Support</tocitem><tocitem target="Getting Started5.html">5. Acknowledgements</tocitem></tocitem>
+    <tocitem target="Examples.html" image="$toolbox/matlab/icons/help_ex.png">Examples</tocitem>
+    <tocitem target="User guide.html" image="$toolbox/matlab/icons/help_ug.png">User guide<tocitem target="User guide1.html">1. Understanding layouts<tocitem target="User guide1_1.html">1.1. Layout basics</tocitem><tocitem target="User guide1_2.html">1.2. Types of layout</tocitem><tocitem target="User guide1_3.html">1.3. Sizes and units</tocitem><tocitem target="User guide1_4.html">1.4. Layout heirarchies</tocitem><tocitem target="User guide1_5.html">1.5. Why use layouts?</tocitem></tocitem><tocitem target="User guide2.html">2. Positioning Axes<tocitem target="User guide2_1.html">2.1. Position vs OuterPosition</tocitem><tocitem target="User guide2_2.html">2.2. Axes inside layouts</tocitem></tocitem><tocitem target="User guide3.html">3. Enable and Visible<tocitem target="User guide3_1.html">3.1. Enable example</tocitem><tocitem target="User guide3_2.html">3.2. Visible example</tocitem></tocitem><tocitem target="User guide4.html">4. Using property defaults<tocitem target="User guide4_1.html">4.1. Setting defaults for one window</tocitem><tocitem target="User guide4_2.html">4.2. Setting defaults for all windows</tocitem></tocitem><tocitem target="User guide5.html">5. Advanced maneuvers with panels<tocitem target="User guide5_1.html">5.1. Context help</tocitem><tocitem target="User guide5_2.html">5.2. Minimize and maximize</tocitem><tocitem target="User guide5_3.html">5.3. Dock and undock</tocitem></tocitem><tocitem target="User guide6.html">6. Using layouts inside GUIDE GUIs</tocitem><tocitem target="User guide7.html">7. Deploying GUIs using the MATLAB Compiler</tocitem><tocitem target="User guide8.html">8. A complete example<tocitem target="User guide8_1.html">8.1. Application structure</tocitem><tocitem target="User guide8_2.html">8.2. createInterface</tocitem><tocitem target="User guide8_3.html">8.3. updateInterface</tocitem><tocitem target="User guide8_4.html">8.4. onListSelection</tocitem><tocitem target="User guide8_5.html">8.5. Running it</tocitem><tocitem target="User guide8_6.html">8.6. Scalability</tocitem></tocitem></tocitem>
+    <tocitem target="Function reference.html" image="$toolbox/matlab/icons/help_fx.png">Function reference<tocitem target="Function reference.html#1">1. Panels<tocitem target="Function reference1_1.html">1.1. uiextras.Panel</tocitem><tocitem target="Function reference1_2.html">1.2. uiextras.CardPanel</tocitem><tocitem target="Function reference1_3.html">1.3. uiextras.BoxPanel</tocitem><tocitem target="Function reference1_4.html">1.4. uiextras.TabPanel</tocitem></tocitem><tocitem target="Function reference.html#2">2. Boxes<tocitem target="Function reference2_1.html">2.1. uiextras.HBox</tocitem><tocitem target="Function reference2_2.html">2.2. uiextras.VBox</tocitem><tocitem target="Function reference2_3.html">2.3. uiextras.HBoxFlex</tocitem><tocitem target="Function reference2_4.html">2.4. uiextras.VBoxFlex</tocitem><tocitem target="Function reference2_5.html">2.5. uiextras.HButtonBox</tocitem><tocitem target="Function reference2_6.html">2.6. uiextras.VButtonBox</tocitem></tocitem><tocitem target="Function reference.html#3">3. Grids<tocitem target="Function reference3_1.html">3.1. uiextras.Grid</tocitem><tocitem target="Function reference3_2.html">3.2. uiextras.GridFlex</tocitem></tocitem><tocitem target="Function reference.html#4">4. Other functions<tocitem target="Function reference4_1.html">4.1. uiextras.Empty</tocitem><tocitem target="Function reference4_2.html">4.2. layoutVersion</tocitem><tocitem target="Function reference4_3.html">4.3. layoutRoot</tocitem><tocitem target="Function reference4_4.html">4.4. uiextras.set</tocitem><tocitem target="Function reference4_5.html">4.5. uiextras.get</tocitem></tocitem></tocitem>
+  <tocitem image="$toolbox/matlab/icons/help_rn.png" target="atoz.html">Index</tocitem>
+  </tocitem>
+</toc>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/index.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/index.html	(revision 17)
@@ -0,0 +1,53 @@
+<HTML>
+
+  <HEAD>
+    <TITLE>GUI Layout Toolbox documentation</TITLE>
+    <META AUTHOR="The MathWorks Ltd."/>
+    <META COPYRIGHT="2005-2007 The MathWorks Ltd."/>
+    <LINK REL="stylesheet" TYPE="text/css" HREF="doc.css"/>
+  </HEAD>
+  <BODY>
+    <TABLE BGCOLOR="#FFFFFF" WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
+      <tr>
+        <TD HEIGHT="62" BACKGROUND="Images/headerBG.png">
+          <IMG SRC="Images/header.png" HEIGHT="62" ALT="GUI Layout Toolbox Documentation"> 
+        </TD></TR><TR><TD>
+    <BR/>
+    <H1>GUI Layout Toolbox documentation</H1>
+    <B>Version: 1.10</B>
+    <P><P>
+    This toolbox provides tools to create sophisticated MATLAB graphical 
+    user interfaces that resize gracefully.  The classes supplied can be 
+    used in combination to produce virtually any user interface layout.
+</P>
+<UL>
+    <LI>Arrange MATLAB user-interface components horizontally, vertically or in grids</LI>
+    <LI>Ability to mix fixed size and variable size elements</LI>
+    <LI>Dynamic resizing of elements by dragging dividers</LI> 
+    <LI>Use panels and tabs for switching interface pages</LI>
+</UL>
+<P>
+    This toolbox was developed by Ben Tordoff and David Sampson from the 
+    Consulting group at <a href="http://www.mathworks.com">MathWorks</a>.
+</P>
+    </P>
+    <center><IMG src="Images/titleimage.png"/></center>
+    <H2>Contents:</H2>
+    <TABLE>
+      <TR><TD><IMG SRC="Images/help_gs.png"/></TD><TD><B><A HREF="Getting Started.html">Getting Started</A>: </B></TD><TD>Introductory notes and installation instructions</TD></TR>
+      <TR><TD><IMG SRC="Images/help_ex.png"/></TD><TD><B><A HREF="Examples.html">Examples</A>: </B></TD><TD>A list of the examples that are provided in the documentation</TD></TR>
+      <TR><TD><IMG SRC="Images/help_ug.png"/></TD><TD><B><A HREF="User guide.html">User guide</A>: </B></TD><TD>Describes how to use these tools</TD></TR>
+      <TR><TD><IMG SRC="Images/help_fx.png"/></TD><TD><B><A HREF="Function reference.html">Function reference</A>: </B></TD><TD>A list of the available functions</TD></TR>
+      <TR><TD><IMG SRC="Images/help_rn.png"/></TD><TD><B><A HREF="atoz.html">Index</A></B></TD>
+<TD>Alphabetical index of sections, functions and concepts</TD></TR>
+    </TABLE>
+    </TD></TR></TABLE>
+    <BR/>
+    <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
+    <TR><TD HEIGHT="15" BGCOLOR="#336699"> </TD></TR></TABLE>
+    <P>&copy; 2011 The MathWorks Ltd
+    <TT>&#149;</TT> <A HREF="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</A>
+    <TT>&#149;</TT> <A HREF="matlab: helpview([matlabroot,'/patents.txt'])">Patents</A>
+    <TT>&#149;</TT> <A HREF="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</A></P>
+  </BODY>
+</HTML>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/info.xml
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/info.xml	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/info.xml	(revision 17)
@@ -0,0 +1,11 @@
+<productinfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="optional">
+<?xml-stylesheet type="text/xsl"href="optional"?>
+<!-- Copyright 2005-2007 The MathWorks Ltd.-->
+
+<matlabrelease>14</matlabrelease>
+<name>GUI Layout</name>
+<type>toolbox</type>
+<icon>$toolbox/matlab/icons/bookicon.gif</icon>
+<help_location>../layoutHelp</help_location>
+
+</productinfo>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layout.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layout.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layout.html	(revision 17)
@@ -0,0 +1,5 @@
+<html><head>
+  <meta http-equiv="Refresh" content="0;url=index.html"/>
+  <meta author="The MathWorks Ltd."/>
+  <meta copyright="2011 The MathWorks Ltd."/>
+</head></html>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layoutRoot.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layoutRoot.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layoutRoot.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference4_3.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layoutVersion.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layoutVersion.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layoutVersion.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference4_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layouts.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layouts.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/layouts.html	(revision 17)
@@ -0,0 +1,5 @@
+<html><head>
+  <meta http-equiv="Refresh" content="0;url=index.html"/>
+  <meta author="The MathWorks Ltd."/>
+  <meta copyright="2011 The MathWorks Ltd."/>
+</head></html>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/releasenotes.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/releasenotes.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/releasenotes.html	(revision 17)
@@ -0,0 +1,1 @@
+                <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Getting Started2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.BoxPanel.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.BoxPanel.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.BoxPanel.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference1_3.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.CardPanel.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.CardPanel.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.CardPanel.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference1_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Empty.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Empty.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Empty.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference4_1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Grid.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Grid.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Grid.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference3_1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.GridFlex.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.GridFlex.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.GridFlex.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference3_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HBox.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HBox.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HBox.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference2_1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HBoxFlex.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HBoxFlex.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HBoxFlex.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference2_3.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HButtonBox.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HButtonBox.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.HButtonBox.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference2_5.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Panel.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Panel.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.Panel.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference1_1.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.TabPanel.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.TabPanel.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.TabPanel.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference1_4.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VBox.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VBox.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VBox.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference2_2.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VBoxFlex.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VBoxFlex.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VBoxFlex.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference2_4.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VButtonBox.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VButtonBox.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.VButtonBox.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference2_6.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.get.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.get.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.get.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference4_5.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.set.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.set.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutHelp/uiextras.set.html	(revision 17)
@@ -0,0 +1,1 @@
+                    <html xmlns:saxon="http://icl.com/saxon"><head><meta http-equiv="Refresh" content="0;url=Function reference4_4.html"/><meta author="The MathWorks Ltd."/><meta copyright="2011 The MathWorks Ltd."/></head></html>&gt;
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutRoot.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutRoot.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutRoot.m	(revision 17)
@@ -0,0 +1,17 @@
+function folder = layoutRoot()
+%layoutRoot  returns the folder containing the layout toolbox
+%
+%   folder = layoutRoot() returns the full path to the folder containing
+%   the layout toolbox.
+%
+%   Examples:
+%   >> folder = layoutRoot()
+%   folder = 'C:\Temp\LayoutToolbox1.0'
+%
+%   See also: layoutVersion
+
+%   Copyright 2009-2010 The MathWorks Ltd.
+%   1.1    
+%   2012/05/08 08:02:59
+
+folder = fileparts( mfilename( 'fullpath' ) );
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutVersion.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutVersion.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/layoutVersion.m	(revision 17)
@@ -0,0 +1,60 @@
+function [version, versionDate] = layoutVersion()
+%layoutVersion  get the toolbox version and date
+%
+%   V = layoutVersion() returns just the version string
+%
+%   [V,D] = layoutVersion() returns both the version string and the date of
+%   creation (format is ISO8601, i.e. YYYY-MM-DD)
+%
+%   Examples:
+%   >> [v,d] = layoutVersion()
+%   v = '1.0'
+%   d = '2010-05-28'
+%
+%   See also: layoutRoot
+
+%   Copyright 2009-2011 The MathWorks Ltd.
+%   1.1    
+%   2012/05/08 08:02:59
+
+version = '1.10';
+versionDate = '2011-07-14';
+
+% version = '1.9';
+% versionDate = '2011-02-10';
+
+% version = '1.8';
+% versionDate = '2010-11-02';
+
+% version = '1.7';
+% versionDate = '2010-10-22';
+
+% version = '1.6';
+% versionDate = '2010-09-24';
+
+% version = '1.5';
+% versionDate = '2010-07-22';
+
+% version = '1.4';
+% versionDate = '2010-07-15';
+
+% version = '1.3';
+% versionDate = '2010-06-28';
+
+% version = '1.2';
+% versionDate = '2010-06-18';
+
+% version = '1.1';
+% versionDate = '2010-06-09';
+
+% version = '1.0';
+% versionDate = '2010-05-28';
+
+% version = '0.4';
+% versionDate = '2010-05-19';
+
+% version = '0.3';
+% versionDate = '2010-03-10';
+
+% version = '0.2';
+% versionDate = '2010-01-06';
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/license.txt	(revision 17)
@@ -0,0 +1,27 @@
+Copyright (c) 2010, The MathWorks, Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+    * Neither the name of the The MathWorks, Inc. nor the names 
+      of its contributors may be used to endorse or promote products derived 
+      from this software without specific prior written permission.
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/starthere.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/starthere.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/starthere.html	(revision 17)
@@ -0,0 +1,7 @@
+<html>
+  <head>
+    <meta http-equiv="Refresh" content="0;url=layoutHelp/frames.html"/>
+    <meta author="The MathWorks Ltd."/>
+    <meta copyright="2009 The MathWorks Ltd."/>
+  </head>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/GUILayout/uninstall.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/GUILayout/uninstall.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/GUILayout/uninstall.m	(revision 17)
@@ -0,0 +1,20 @@
+function uninstall()
+%uninstall  remove the layout package from the MATLAB path
+%
+%   uninstall() removes the layout tools from the MATLAB path.
+%
+%   Examples:
+%   >> uninstall()
+%
+%   See also: install
+
+%   Copyright 2008-2010 The MathWorks Ltd.
+%   1.1    
+%   2012/05/08 08:02:59
+
+thisdir = fileparts( mfilename( 'fullpath' ) );
+
+rmpath( thisdir );
+rmpath( fullfile( thisdir, 'layoutHelp' ) );
+rmpath( fullfile( thisdir, 'Patch' ) );
+savepath();
Index: /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/demo/html/polyfitn_demo.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/demo/html/polyfitn_demo.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/demo/html/polyfitn_demo.html	(revision 17)
@@ -0,0 +1,260 @@
+<html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+   
+      <!--
+This HTML is auto-generated from an M-file.
+To make changes, update the M-file and republish this document.
+      -->
+      <title>polyfitn_demo</title>
+      <meta name="generator" content="MATLAB 7.0.1">
+      <meta name="date" content="2006-08-08">
+      <meta name="m-file" content="polyfitn_demo"><style>
+body {
+  background-color: white;
+  margin:10px;
+}
+h1 {
+  color: #990000; 
+  font-size: x-large;
+}
+h2 {
+  color: #990000;
+  font-size: medium;
+}
+p.footer {
+  text-align: right;
+  font-size: xx-small;
+  font-weight: lighter;
+  font-style: italic;
+  color: gray;
+}
+
+pre.codeinput {
+  margin-left: 30px;
+}
+
+span.keyword {color: #0000FF}
+span.comment {color: #228B22}
+span.string {color: #A020F0}
+span.untermstring {color: #B20000}
+span.syscmd {color: #B28C00}
+
+pre.showbuttons {
+  margin-left: 30px;
+  border: solid black 2px;
+  padding: 4px;
+  background: #EBEFF3;
+}
+
+pre.codeoutput {
+  color: gray;
+  font-style: italic;
+}
+pre.error {
+  color: red;
+}
+
+/* Make the text shrink to fit narrow windows, but not stretch too far in 
+wide windows.  On Gecko-based browsers, the shrink-to-fit doesn't work. */ 
+p,h1,h2,div {
+  /* for MATLAB's browser */
+  width: 600px;
+  /* for Mozilla, but the "width" tag overrides it anyway */
+  max-width: 600px;
+  /* for IE */
+  width:expression(document.body.clientWidth > 620 ? "600px": "auto" );
+}
+
+    </style></head>
+   <body>
+      <h2>Contents</h2>
+      <div>
+         <ul>
+            <li><a href="#2">Fit a 1-d model to cos(x). We only need the even order terms.</a></li>
+            <li><a href="#3">A surface model in 2-d, with all terms up to third order.</a></li>
+            <li><a href="#4">A linear model, but with no constant term, in 2-d</a></li>
+            <li><a href="#5">A model with various exponents, not all positive integers.</a></li>
+         </ul>
+      </div><pre class="codeinput"><span class="comment">% Author: John D'Errico</span>
+<span class="comment">% Release: 2.0</span>
+<span class="comment">% Release date: 8/8/06</span>
+<span class="comment">% What follows are example usages of polyfitn, polyvaln, poly2sympoly, polyn2sym</span>
+</pre><h2>Fit a 1-d model to cos(x). We only need the even order terms.<a name="2"></a></h2><pre class="codeinput">x = -2:.1:2;
+y = cos(x);
+p = polyfitn(x,y,<span class="string">'constant x^2 x^4 x^6'</span>)
+
+<span class="keyword">if</span> exist(<span class="string">'sympoly'</span>) == 2
+  <span class="comment">% Conversion to a sympoly. If nothing else, its a nice way to display the model.</span>
+  polyn2sympoly(p)
+<span class="keyword">end</span>
+<span class="keyword">if</span> exist(<span class="string">'sym'</span>) == 2
+  <span class="comment">% Conversion to a symbolic form. Its also nice.</span>
+  polyn2sym(p)
+<span class="keyword">end</span>
+
+<span class="comment">% Evaluate the regression model at some set of points</span>
+polyvaln(p,[0 .5 1])
+</pre><pre class="codeoutput">
+p = 
+
+      ModelTerms: [4x1 double]
+    Coefficients: [0.99996 -0.49968 0.041242 -0.0012079]
+    ParameterVar: [1.2876e-10 1.084e-09 4.6603e-10 1.3903e-11]
+    ParameterStd: [1.1347e-05 3.2925e-05 2.1588e-05 3.7286e-06]
+              R2: 1
+            RMSE: 3.1468e-05
+        VarNames: {'x'}
+
+A scalar sympoly object
+    0.99996 - 0.49968*x^2 + 0.041242*x^4 - 0.0012079*x^6
+
+ans =
+
+      0.99996
+       0.8776
+      0.54031
+
+</pre><h2>A surface model in 2-d, with all terms up to third order.<a name="3"></a></h2><pre class="codeinput"><span class="comment">% Use lots of data.</span>
+n = 1000;
+x = rand(n,2);
+y = exp(sum(x,2)) + randn(n,1)/100;
+p = polyfitn(x,y,3)
+
+<span class="keyword">if</span> exist(<span class="string">'sympoly'</span>) == 2
+  polyn2sympoly(p)
+<span class="keyword">end</span>
+<span class="keyword">if</span> exist(<span class="string">'sym'</span>) == 2
+  polyn2sym(p)
+<span class="keyword">end</span>
+
+<span class="comment">% Evaluate on a grid and plot:</span>
+[xg,yg]=meshgrid(0:.05:1);
+zg = polyvaln(p,[xg(:),yg(:)]);
+surf(xg,yg,reshape(zg,size(xg)))
+hold <span class="string">on</span>
+plot3(x(:,1),x(:,2),y,<span class="string">'o'</span>)
+hold <span class="string">off</span>
+</pre><pre class="codeoutput">
+p = 
+
+      ModelTerms: [10x2 double]
+    Coefficients: [1x10 double]
+    ParameterVar: [1x10 double]
+    ParameterStd: [1x10 double]
+              R2: 0.99992
+            RMSE: 0.011198
+        VarNames: {}
+
+A scalar sympoly object
+    0.50402*X1^3 + 1.3927*X1^2*X2 - 0.017552*X1^2 + 1.3798*X1*X2^2 + 0.081473*X1*X2 + 1.2726*X1 + 0.43959*X2^3 + 0.087656*X2^2 + 1.2254*X2 + 0.96196
+</pre><img vspace="5" hspace="5" src="polyfitn_demo_01.png"> <h2>A linear model, but with no constant term, in 2-d<a name="4"></a></h2><pre class="codeinput">uv = rand(100,2);
+w = sin(sum(uv,2));
+p = polyfitn(uv,w,<span class="string">'u, v'</span>);
+<span class="keyword">if</span> exist(<span class="string">'sympoly'</span>) == 2
+  polyn2sympoly(p)
+<span class="keyword">end</span>
+<span class="keyword">if</span> exist(<span class="string">'sym'</span>) == 2
+  polyn2sym(p)
+<span class="keyword">end</span>
+</pre><pre class="codeoutput">A scalar sympoly object
+    0.76416*u + 0.70472*v
+</pre><h2>A model with various exponents, not all positive integers.<a name="5"></a></h2><pre class="codeinput"><span class="comment">% Note: with only 1 variable, x &amp; y may be row or column vectors.</span>
+x = 1:10;
+y = 3 + 2./x + sqrt(x) + randn(size(x))/100;
+p = polyfitn(x,y,<span class="string">'constant x^-1 x^0.5'</span>);
+<span class="keyword">if</span> exist(<span class="string">'sympoly'</span>) == 2
+  polyn2sympoly(p)
+<span class="keyword">end</span>
+<span class="keyword">if</span> exist(<span class="string">'sym'</span>) == 2
+  polyn2sym(p)
+<span class="keyword">end</span>
+
+xi = 1:.1:10;
+yi = polyvaln(p,xi);
+plot(x,y,<span class="string">'ro'</span>,xi,yi,<span class="string">'b-'</span>)
+</pre><pre class="codeoutput">A scalar sympoly object
+    2.9805 + 2.0448*x^-1 + 1.0041*x^0.5
+</pre><img vspace="5" hspace="5" src="polyfitn_demo_02.png"> <p class="footer"><br>
+         Published with MATLAB&reg; 7.0.1<br></p>
+      <!--
+##### SOURCE BEGIN #####
+% Author: John D'Errico
+% Release: 2.0
+% Release date: 8/8/06
+% What follows are example usages of polyfitn, polyvaln, poly2sympoly, polyn2sym
+
+%% Fit a 1-d model to cos(x). We only need the even order terms.
+x = -2:.1:2;
+y = cos(x);
+p = polyfitn(x,y,'constant x^2 x^4 x^6')
+
+if exist('sympoly') == 2
+  % Conversion to a sympoly. If nothing else, its a nice way to display the model.
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  % Conversion to a symbolic form. Its also nice.
+  polyn2sym(p)
+end
+
+% Evaluate the regression model at some set of points
+polyvaln(p,[0 .5 1])
+
+%% A surface model in 2-d, with all terms up to third order.
+
+% Use lots of data.
+n = 1000;
+x = rand(n,2);
+y = exp(sum(x,2)) + randn(n,1)/100;
+p = polyfitn(x,y,3)
+
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+% Evaluate on a grid and plot:
+[xg,yg]=meshgrid(0:.05:1);
+zg = polyvaln(p,[xg(:),yg(:)]);
+surf(xg,yg,reshape(zg,size(xg)))
+hold on
+plot3(x(:,1),x(:,2),y,'o')
+hold off
+
+%% A linear model, but with no constant term, in 2-d
+uv = rand(100,2);
+w = sin(sum(uv,2));
+p = polyfitn(uv,w,'u, v');
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+%% A model with various exponents, not all positive integers.
+
+% Note: with only 1 variable, x & y may be row or column vectors.
+x = 1:10;
+y = 3 + 2./x + sqrt(x) + randn(size(x))/100;
+p = polyfitn(x,y,'constant x^-1 x^0.5');
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+xi = 1:.1:10;
+yi = polyvaln(p,xi);
+plot(x,y,'ro',xi,yi,'b-')
+
+
+
+##### SOURCE END #####
+-->
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/demo/polyfitn_demo.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/demo/polyfitn_demo.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/demo/polyfitn_demo.m	(revision 17)
@@ -0,0 +1,74 @@
+% Author: John D'Errico
+% Release: 2.0
+% Release date: 8/8/06
+% What follows are example usages of polyfitn, polyvaln, poly2sympoly, polyn2sym
+
+%% Fit a 1-d model to cos(x). We only need the even order terms.
+x = -2:.1:2;
+y = cos(x);
+p = polyfitn(x,y,'constant x^2 x^4 x^6')
+
+if exist('sympoly') == 2
+  % Conversion to a sympoly. If nothing else, its a nice way to display the model.
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  % Conversion to a symbolic form. Its also nice.
+  polyn2sym(p)
+end
+
+% Evaluate the regression model at some set of points
+polyvaln(p,[0 .5 1])
+
+%% A surface model in 2-d, with all terms up to third order.
+
+% Use lots of data.
+n = 1000;
+x = rand(n,2);
+y = exp(sum(x,2)) + randn(n,1)/100;
+p = polyfitn(x,y,3)
+
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+% Evaluate on a grid and plot:
+[xg,yg]=meshgrid(0:.05:1);
+zg = polyvaln(p,[xg(:),yg(:)]);
+surf(xg,yg,reshape(zg,size(xg)))
+hold on
+plot3(x(:,1),x(:,2),y,'o')
+hold off
+
+%% A linear model, but with no constant term, in 2-d
+uv = rand(100,2);
+w = sin(sum(uv,2));
+p = polyfitn(uv,w,'u, v');
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+%% A model with various exponents, not all positive integers.
+
+% Note: with only 1 variable, x & y may be row or column vectors.
+x = 1:10;
+y = 3 + 2./x + sqrt(x) + randn(size(x))/100;
+p = polyfitn(x,y,'constant x^-1 x^0.5');
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+xi = 1:.1:10;
+yi = polyvaln(p,xi);
+plot(x,y,'ro',xi,yi,'b-')
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyfitn.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyfitn.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyfitn.m	(revision 17)
@@ -0,0 +1,339 @@
+function polymodel = polyfitn(indepvar,depvar,modelterms)
+% polyfitn: fits a general polynomial regression model in n dimensions
+% usage: polymodel = polyfitn(indepvar,depvar,modelterms)
+%
+% Polyfitn fits a polynomial regression model of one or more
+% independent variables, of the general form:
+%
+%   z = f(x,y,...) + error
+%
+% arguments: (input)
+%  indepvar - (n x p) array of independent variables as columns
+%        n is the number of data points
+%        p is the dimension of the independent variable space
+%
+%        IF n == 1, then I will assume there is only a
+%        single independent variable.
+%
+%  depvar   - (n x 1 or 1 x n) vector - dependent variable
+%        length(depvar) must be n.
+%
+%        Only 1 dependent variable is allowed, since I also
+%        return statistics on the model.
+%
+%  modelterms - defines the terms used in the model itself
+%
+%        IF modelterms is a scalar integer, then it designates
+%           the overall order of the model. All possible terms
+%           up to that order will be employed. Thus, if order
+%           is 2 and p == 2 (i.e., there are two variables) then
+%           the terms selected will be:
+%
+%              {constant, x, x^2, y, x*y, y^2}
+%
+%           Beware the consequences of high order polynomial
+%           models.
+%
+%        IF modelterms is a (k x p) numeric array, then each
+%           row of this array designates the exponents of one
+%           term in the model. Thus to designate a model with
+%           the above list of terms, we would define modelterms as
+%           
+%           modelterms = [0 0;1 0;2 0;0 1;1 1;0 2]
+%
+%        If modelterms is a character string, then it will be
+%           parsed as a list of terms in the regression model.
+%           The terms will be assume to be separated by a comma
+%           or by blanks. The variable names used must be legal
+%           matlab variable names. Exponents in the model may
+%           may be any real number, positive or negative.
+%
+%           For example, 'constant, x, y, x*y, x^2, x*y*y'
+%           will be parsed as a model specification as if you
+%           had supplied:
+%           modelterms = [0 0;1 0;0 1;1 1;2 0;1 2]
+%           
+%           The word 'constant' is a keyword, and will denote a
+%           constant terms in the model. Variable names will be
+%           sorted in alphabetical order as defined by sort.
+%           This order will assign them to columns of the
+%           independent array. Note that 'xy' will be parsed as
+%           a single variable name, not as the product of x and y.
+%
+%        If modelterms is a cell array, then it will be taken
+%           to be a list of character terms. Similarly,
+%           
+%           {'constant', 'x', 'y', 'x*y', 'x^2', 'x*y^-1'}
+%
+%           will be parsed as a model specification as if you
+%           had supplied:
+%
+%           modelterms = [0 0;1 0;0 1;1 1;2 0;1 -1]
+%
+% Arguments: (output)
+%  polymodel - A structure containing the regression model
+%        polymodel.ModelTerms = list of terms in the model
+%        polymodel.Coefficients = regression coefficients
+%        polymodel.ParameterVar = variances of model coefficients
+%        polymodel.ParameterStd = standard deviation of model coefficients
+%        polymodel.R2 = R^2 for the regression model
+%        polymodel.RMSE = Root mean squared error
+%        polymodel.VarNames = Cell array of variable names
+%           as parsed from a char based model specification.
+%  
+%        Note 1: Because the terms in a general polynomial
+%        model can be arbitrarily chosen by the user, I must
+%        package the erms and coefficients together into a
+%        structure. This also forces use of a special evaluation
+%        tool: polyvaln.
+%
+%        Note 2: A polymodel can be evaluated for any set
+%        of values with the function polyvaln. However, if
+%        you wish to manipulate the result symbolically using
+%        my own sympoly tools, this structure can be converted
+%        to a sympoly using the function polyn2sympoly.
+%
+% Find my sympoly toolbox here:
+% http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=9577&objectType=FILE
+%
+% See also: polyvaln, polyfit, polyval, polyn2sympoly, sympoly
+%
+% Author: John D'Errico
+% Release: 2.0
+% Release date: 2/19/06
+
+if nargin<1
+  help polyfitn
+  return
+end
+
+% get sizes, test for consistency
+[n,p] = size(indepvar);
+if n == 1
+  indepvar = indepvar';
+  [n,p] = size(indepvar);
+end
+[m,q] = size(depvar);
+if m == 1
+  depvar = depvar';
+  [m,q] = size(depvar);
+end
+% only 1 dependent variable allowed at a time
+if q~=1
+  error 'Only 1 dependent variable allowed at a time.'
+end
+
+if n~=m
+  error 'indepvar and depvar are of inconsistent sizes.'
+end
+
+% Automatically scale the independent variables to unit variance
+stdind = sqrt(diag(cov(indepvar)));
+if any(stdind==0)
+  warning 'Constant terms in the model must be entered using modelterms'
+  stdind(stdind==0) = 1;
+end
+% scaled variables
+indepvar_s = indepvar*diag(1./stdind);
+
+% do we need to parse a supplied model?
+varlist = {};
+if iscell(modelterms) || ischar(modelterms)
+  [modelterms,varlist] = parsemodel(modelterms,p);
+  if size(modelterms,2)<p
+    modelterms = [modelterms, zeros(size(modelterms,1),p - size(modelterms,2))];
+  end  
+elseif length(modelterms) == 1
+  % do we need to generate a set of modelterms?
+  modelterms = buildcompletemodel(modelterms,p);
+elseif size(modelterms,2)~=p
+  error 'Modelterm must be a scalar or have the same # of columns as indepvar'
+end
+nt = size(modelterms,1);
+
+% check for replicate terms 
+if nt>1
+  mtu = unique(modelterms,'rows');
+  if size(mtu,1)<nt
+    warning 'Replicate terms identified in the model.'
+  end
+end
+
+% build the design matrix
+M = ones(n,nt);
+scalefact = ones(1,nt);
+for i = 1:nt
+  for j = 1:p
+    M(:,i) = M(:,i).*indepvar_s(:,j).^modelterms(i,j);
+    scalefact(i) = scalefact(i)/(stdind(j)^modelterms(i,j));
+  end
+end
+
+% estimate the model using QR. do it this way to provide a
+% covariance matrix when all done. Use a pivoted QR for
+% maximum stability.
+[Q,R,E] = qr(M,0);
+
+polymodel.ModelTerms = modelterms;
+polymodel.Coefficients(E) = R\(Q'*depvar);
+yhat = M*polymodel.Coefficients(:);
+
+% recover the scaling
+polymodel.Coefficients=polymodel.Coefficients.*scalefact;
+
+% variance of the regression parameters
+s = norm(depvar - yhat);
+if n > nt
+  Rinv = R\eye(nt);
+  Var(E) = s^2*sum(Rinv.^2,2)/(n-nt);
+  polymodel.ParameterVar = Var.*(scalefact.^2);
+  polymodel.ParameterStd = sqrt(polymodel.ParameterVar);
+else
+  % we cannot form variance or standard error estimates
+  % unless there are at least as many data points as
+  % parameters to estimate.
+  polymodel.ParameterVar = inf(1,nt);
+  polymodel.ParameterStd = inf(1,nt);
+end
+
+% R^2
+polymodel.R2 = 1 - (s/norm(depvar-mean(depvar)) )^2;
+
+% RMSE
+polymodel.RMSE = sqrt(mean((depvar - yhat).^2));
+
+% if a character 'model' was supplied, return the list
+% of variables as parsed out
+polymodel.VarNames = varlist;
+
+% ==================================================
+% =============== begin subfunctions ===============
+% ==================================================
+function [modelterms,varlist] = buildcompletemodel(order,p)
+% 
+% arguments: (input)
+%  order - scalar integer, defines the total (maximum) order 
+%
+%  p     - scalar integer - defines the dimension of the
+%          independent variable space
+%
+% arguments: (output)
+%  modelterms - exponent array for the model
+%
+%  varlist - cell array of character variable names
+
+% build the exponent array recursively
+if p == 0
+  % terminal case
+  modelterms = [];
+elseif (order == 0)
+  % terminal case
+  modelterms = zeros(1,p);
+elseif (p==1)
+  % terminal case
+  modelterms = (order:-1:0)';
+else
+  % general recursive case
+  modelterms = zeros(0,p);
+  for k = order:-1:0
+    t = buildcompletemodel(order-k,p-1);
+    nt = size(t,1);
+    modelterms = [modelterms;[repmat(k,nt,1),t]];
+  end
+end
+
+% ==================================================
+function [modelterms,varlist] = parsemodel(model,p);
+% 
+% arguments: (input)
+%  model - character string or cell array of strings
+%
+%  p     - number of independent variables in the model
+%
+% arguments: (output)
+%  modelterms - exponent array for the model
+
+modelterms = zeros(0,p);
+varlist = {};
+while ~isempty(model)
+  if iscellstr(model)
+    term = model{1};
+    model(1) = [];
+  else
+    [term,model] = strtok(model,' ,');
+  end
+  
+  % We've stripped off a model term. Now parse it.
+  
+  % Is it the reserved keyword 'constant'?
+  if strcmpi(term,'constant')
+    modelterms(end+1,:) = 0;
+  else
+    % pick this term apart
+    expon = zeros(1,p);
+    while ~isempty(term)
+      vn = strtok(term,'*/^. ,');
+      k = find(strncmp(vn,varlist,length(vn)));
+      if isempty(k)
+        % its a variable name we have not yet seen
+        
+        % is it a legal name?
+        nv = length(varlist);
+        if ismember(vn(1),'1234567890_')
+          error(['Variable is not a valid name: ''',vn,''''])
+        elseif nv>=p
+          error 'More variables in the model than columns of indepvar'
+        end
+        
+        varlist{nv+1} = vn;
+        
+        k = nv+1;
+      end
+      % variable must now be in the list of vars. 
+      
+      % drop that variable from term
+      i = strfind(term,vn);
+      term = term((i+length(vn)):end);
+      
+      % is there an exponent?
+      eflag = false;
+      if strncmp('^',term,1)
+        term(1) = [];
+        eflag = true;
+      elseif strncmp('.^',term,2)
+        term(1:2) = [];
+        eflag = true;
+      end
+
+      % If there was one, get it
+      ev = 1;
+      if eflag
+        ev = sscanf(term,'%f');
+        if isempty(ev)
+            error 'Problem with an exponent in parsing the model'
+        end
+      end
+      expon(k) = expon(k) + ev;
+
+      % next monomial subterm?
+      k1 = strfind(term,'*');
+      if isempty(k1)
+        term = '';
+      else
+        term(k1(1)) = ' ';
+      end
+      
+    end
+  
+    modelterms(end+1,:) = expon;  
+    
+  end
+  
+end
+
+% Once we have compiled the list of variables and
+% exponents, we need to sort them in alphabetical order
+[varlist,tags] = sort(varlist);
+modelterms = modelterms(:,tags);
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyn2sym.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyn2sym.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyn2sym.m	(revision 17)
@@ -0,0 +1,63 @@
+function s = polyn2sym(polyn)
+% polyn2sympoly: convert a regression polynomial from polyfitn into its symbolic toolbox form
+% usage: sp = polyn2sym(polyn)
+%
+% arguments: (input)
+%  polyn - a structure as returned from polyfitn
+%
+% arguments: (output)
+%  s - A symbolic toolbox object
+%
+% After conversion into a symbolic toolbox form, any symbolic operations are
+% now possible on the polynomial.
+% 
+% Requirement: The symbolic toolbox, as supplied by the MathWorks.
+% http://www.mathworks.com/products/symbolic/functionlist.html
+%
+% See also: polyvaln, polyfit, polyval, sym
+%
+% Author: John D'Errico
+% Release: 3.0
+% Release date: 8/23/06
+
+if exist('sym','file')~=2
+  error 'Please obtain the symbolic toolbox from the MathWorks'
+end
+
+% initialize the returned argument as symbolic
+s = sym(0);
+
+% Unpack the fields of polyn for use
+Varlist = polyn.VarNames;
+Expon = polyn.ModelTerms;
+Coef = polyn.Coefficients;
+% how many terms?
+nterms = length(Coef);
+
+% Was the list of variable names empty?
+% If so, then generate a list of names of my own.
+nvars = size(polyn.ModelTerms,2);
+if isempty(Varlist)
+  Varlist={};
+  for i = 1:nvars
+    Varlist{i} = ['X',num2str(i)];
+  end
+end
+
+% make the vars symbolic
+for i = 1:nvars
+  Varlist{i} = sym(Varlist{i});
+end
+
+% build the polynomial
+for i = 1:nterms
+  term = sym(Coef(i));
+  for j = 1:nvars
+    term = term*Varlist{j}^Expon(i,j);
+  end
+  
+  % accumulate into s
+  s = s+term;
+end
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyn2sympoly.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyn2sympoly.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyn2sympoly.m	(revision 17)
@@ -0,0 +1,46 @@
+function sp = polyn2sympoly(polyn)
+% polyn2sympoly: convert a regression polynomial from polyfitn into a sympoly
+% usage: sp = polyn2sympoly(polyn)
+%
+% arguments: (input)
+%  polyn - a structure as returned from polyfitn
+%
+% arguments: (output)
+%  sp - A sympoly object
+%
+% After conversion into a sympoly, any symbolic operations are
+% now possible on this form.
+% 
+% Requirement: The sympoly toolbox, as found on Matlab Central.
+% http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=9577&objectType=FILE
+%
+% See also: polyvaln, polyfit, polyval, sympoly
+%
+% Author: John D'Errico
+% Release: 1.0
+% Release date: 2/19/06
+
+if exist('sympoly','file')~=2
+  error 'Please download the sympoly toolbox from Matlab Central'
+end
+
+sp = sympoly(0);
+
+% Copy over the fields of polyn into sp
+sp.Var = polyn.VarNames;
+sp.Exponent = polyn.ModelTerms;
+sp.Coefficient = polyn.Coefficients(:);
+
+% Was the list of variable names empty?
+% If so, then generate a list of names of my own.
+if isempty(sp.Var)
+  p = size(polyn.ModelTerms,2);
+  varlist={};
+  for i = 1:p
+    varlist{i} = ['X',num2str(i)];
+  end
+  sp.Var = varlist;
+end
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyvaln.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyvaln.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/polyvaln.m	(revision 17)
@@ -0,0 +1,53 @@
+function ypred = polyvaln(polymodel,indepvar)
+% polyvaln: evaluates a polynomial model as a function of its variables
+% usage: ypred = polyvaln(polymodel,indepvar)
+%
+% arguments: (input)
+%  indepvar - (n x p) array of independent variables as columns
+%        n is the number of data points to evaluate
+%        p is the dimension of the independent variable space
+%
+%        IF n == 1, then I will assume there is only a
+%        single independent variable.
+%
+%  polymodel - A structure containing a regression model from polyfitn
+%        polymodel.ModelTerms = list of terms in the model
+%        polymodel.Coefficients = regression coefficients
+%  
+%        Note: A polymodel can be evaluated for any set of
+%        values with the function polyvaln. However, if you
+%        wish to manipulate the result symbolically using my
+%        own sympoly tools, this structure should be converted
+%        to a sympoly using the function polyn2sympoly.
+%
+% Arguments: (output)
+%  ypred - nx1 vector of predictions through the model.
+%
+%
+% See also: polyfitn, polyfit, polyval, polyn2sympoly, sympoly
+%
+% Author: John D'Errico
+% Release: 1.0
+% Release date: 2/19/06
+
+% get the size of indepvar
+[n,p] = size(indepvar);
+if (n == 1) && (size(polymodel.ModelTerms,2)==1)
+  indepvar = indepvar';
+  [n,p] = size(indepvar);
+elseif (size(polymodel.ModelTerms,2)~=p)
+  error 'Size of indepvar array and this model are inconsistent.'
+end
+
+% Evaluate the model
+nt = size(polymodel.ModelTerms,1);
+ypred = zeros(n,1);
+for i = 1:nt
+  t = ones(n,1);
+  for j = 1:p
+    t = t.*indepvar(:,j).^polymodel.ModelTerms(i,j);
+  end
+  ypred = ypred + t*polymodel.Coefficients(i);
+end
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/test/test_main.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/test/test_main.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/PolyfitnTools/PolyfitnTools/test/test_main.m	(revision 17)
@@ -0,0 +1,98 @@
+%% A simple quadratic polynomial model in 1-d, compared to polyfit
+x = -10:10;
+y = 3*x.^2 + 2*x + 1;
+
+P1 = polyfit(x,y,2);
+Pn = polyfitn(x,y,2);
+
+% The differences should be near eps
+P1 - Pn.Coefficients
+
+%% Evaluate the above regression model at some set of points
+polyvaln(Pn,0:.1:1)
+
+%% Fit a 1-d model to cos(x). We only need the even order terms.
+x = -2:.1:2;
+y = cos(x);
+p = polyfitn(x,y,'constant x^2 x^4 x^6')
+
+if exist('sympoly') == 2
+  % Conversion to a sympoly. If nothing else, its a nice way to display the model.
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  % Conversion to a symbolic toolbox form. Its also nice.
+  polyn2sym(p)
+end
+
+%% A surface model in 2-d, with all terms up to third (cubic) order
+
+% Use lots of data.
+n = 1000;
+x = rand(n,2);
+y = exp(sum(x,2)) + randn(n,1)/100;
+
+% Note the parameter statistics
+p = polyfitn(x,y,3)
+
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+% Evaluate on a grid and plot:
+[xg,yg]=meshgrid(0:.05:1);
+zg = polyvaln(p,[xg(:),yg(:)]);
+surf(xg,yg,reshape(zg,size(xg)))
+hold on
+plot3(x(:,1),x(:,2),y,'o')
+hold off
+
+%% A linear model, but with no constant term in 4-dimensions
+%   w(u,v,x,y) = a1*u + a2*v + a3*x + a4*y
+% All the coefficients should be approximately 1.0 in
+% this truncated Taylor series model.
+uv = (rand(100,4)-.5)/10;
+w = sin(sum(uv,2));
+p = polyfitn(uv,w,'u, v, x, y');
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+%% A model in 5-d, with all terms up to fourth (quartic) order
+
+% Use LOTS of data.
+n = 10000;
+x = rand(n,5);
+y = sin(sum(x,2)) + randn(n,1)/100;
+p = polyfitn(x,y,4)
+
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+%% A model with various exponents, not all positive integers.
+
+% Note: with only 1 variable, x & y may be row or column vectors.
+x = 1:10;
+y = 3 + 2./x + sqrt(x) + randn(size(x))/100;
+p = polyfitn(x,y,'constant x^-1 x^0.5');
+if exist('sympoly') == 2
+  polyn2sympoly(p)
+end
+if exist('sym') == 2
+  polyn2sym(p)
+end
+
+xi = 1:.1:10;
+yi = polyvaln(p,xi);
+plot(x,y,'ro',xi,yi,'b-')
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/clean_sympoly.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/clean_sympoly.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/clean_sympoly.m	(revision 17)
@@ -0,0 +1,44 @@
+function sp = clean_sympoly(sp) 
+% clean_sympoly: clean up a scalar sympoly, coallesce terms & drop excess vars
+%
+% arguments:
+%  sp - a scalar sympoly
+
+% collect any terms that may have coallesced
+if length(sp.Coefficient)>1
+  [sp.Exponent,sp.Coefficient] = consolidator( ...
+    sp.Exponent,sp.Coefficient,'sum');
+end
+
+% drop any variables that have all zero exponents
+k = all(sp.Exponent==0,1);
+if all(k)
+  sp.Exponent = 0;
+  sp.Var = {''};
+  sp.Coefficient = sum(sp.Coefficient);
+elseif any(k)
+  k=find(k);
+  L = cellfun('isempty',sp.Var(k));
+  k(L)=[];
+  
+  sp.Exponent(:,k) = [];
+  sp.Var(k) = [];
+end
+
+% drop any terms with a zero coefficient, unless it was
+% the only term.
+k = (sp.Coefficient==0);
+if any(k)
+  sp.Exponent(k,:)=[];
+  sp.Coefficient(k,:)=[];
+end
+
+% check for a degenerate sympoly
+if isempty(sp.Coefficient)
+  % its zero
+  sp.Var = {''};
+  sp.Exponent = 0;
+  sp.Coefficient = 0;
+end
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/conj.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/conj.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/conj.m	(revision 17)
@@ -0,0 +1,19 @@
+function Y = conj(X)
+% CONJ: Complex conjugate of the coefficients of a sympoly array
+% usage: Y = conj(X)
+% 
+% Arguments:
+%  X - any sympoly scalar or array
+%
+%  Y - Complex conjugate of X.
+%
+%      Y = real(X) - i*imag(X)
+%
+% See also CTRANSPOSE, @sympoly/CTRANSPOSE
+%
+% Author: John D'Errico
+% e-mail: woodchips@rochester.rr.com
+% Release: 1.3
+% Release date: 10/18/06
+
+Y = real(X) - i*imag(X);
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/ctranspose.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/ctranspose.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/ctranspose.m	(revision 17)
@@ -0,0 +1,20 @@
+function Y = transpose(X)
+% ctranspose: conjugate transpose (X') of a sympoly array
+% usage: Y = cranspose(X)
+% usage: Y = X'
+%
+% Arguments:
+%  X - any sympoly array.
+%
+%  Y - the conjugate transpose of X
+% 
+%      Y = conj(X.')
+%
+%   See also CTRANSPOSE, TRANSPOSE
+%
+% Author: John D'Errico
+% e-mail: woodchips@rochester.rr.com
+% Release: 1.3
+% Release date: 10/18/06
+
+Y = conj(X.');
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/defint.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/defint.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/defint.m	(revision 17)
@@ -0,0 +1,29 @@
+function pint = defint(sp,intvar,interval)
+% sympoly/int: definite integral of a sympoly
+% usage: pint = defint(sp,intvar,interval);
+% 
+% arguments: (input)
+%  sp       - scalar sympoly object
+%
+%  intvar   - character - name of variable to integrate over
+%
+%  interval - numeric vector - length 2 - limits of integration
+%
+% arguments: (output)
+%  pint - scalar sympoly object - definite integral of the polynomial
+
+% intervals needs to be supplied, and it must
+% be of length 2
+if (nargin~=3) || length(interval)~=2
+  error 'interval needs to be a vector of length 2'
+end
+
+% indefinite integral
+pint = int(sp,intvar);
+
+% substitute at the end points of the interval, then subtract
+pint = subs(pint,intvar,interval(2)) - ...
+       subs(pint,intvar,interval(1));
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/det.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/det.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/det.m	(revision 17)
@@ -0,0 +1,44 @@
+function spd=det(sp)
+% sympoly/det: determinant of a (square) sympoly array
+% usage: spd=det(sp);
+% 
+% arguments:
+%  sp - square matrix sympoly object
+%
+%  spd - scalar sympoly object containing the determinant
+
+s=size(sp);
+if s(1)~=s(2)
+  error 'Must be a square array for the determinant'
+end
+
+n=s(1);
+switch n
+case 1
+  % 1x1
+  spd=sp;
+  
+case 2
+  % 2x2
+  spd=sp(1,1).*sp(2,2)-sp(1,2).*sp(2,1);
+
+case 3
+  % 3x3
+  spd = sp(1,1).*sp(2,2).*sp(3,3) + sp(1,2).*sp(2,3).*sp(3,1) ... 
+      + sp(1,3).*sp(2,1).*sp(3,2) - sp(3,1).*sp(2,2).*sp(1,3) ... 
+      - sp(3,2).*sp(2,3).*sp(1,1) - sp(3,3).*sp(2,1).*sp(1,2);
+  
+otherwise
+  % 4x4 and higher, use minors to compute the
+  % determinant recursively
+  spd=0;
+  minorsigns = 1;
+  for i=1:n
+    j=1:n;
+    j(i)=[];
+    spd = spd + minorsigns.*sp(i,1).*det(sp(j,2:n));
+    minorsigns = -minorsigns;
+  end
+  
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/diag.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/diag.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/diag.m	(revision 17)
@@ -0,0 +1,28 @@
+function spd=diag(sp)
+% sympoly/diag: diag for a sympoly vector or array, only 
+% usage: spd=diag(sp);
+% 
+% arguments:
+%  sp - matrix or vector sympoly object
+%
+%  spd - scalar sympoly object containing the determinant
+
+s = size(sp);
+if length(s) > 2
+  error 'diag not implemented for n-d arrays'
+elseif (s(1)==1) || (s(2) == 1)
+  % sp is a vector, build a diagonal matrix from it
+  n = length(sp);
+  spd = sympoly(zeros(n,n));
+  
+  k = 1+(0:(n-1))*(n+1)
+  spd(k) = sp(:);
+  
+else
+  % its a 2d matrix, get the main diagonal
+  k = 1 + (0:(s(2)-1))*(s(1)+1);
+  spd = sp(k);
+  
+end
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/diff.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/diff.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/diff.m	(revision 17)
@@ -0,0 +1,112 @@
+function dpdx=diff(sp,n,dvar)
+% sympoly/diff: differentiates a symbolic polynomial
+% usage: dpdx=diff(sp);
+% usage: dpdx=diff(sp,dvar);
+% usage: dpdx=diff(sp,n,dvar);
+% 
+% arguments: (input)
+%   sp - sympoly object
+%
+%    n - (OPTIONAL) - integer - order of differentiation
+%        Default: n = 1
+%
+%  dvar - character - variable name to differentiate with respect to
+%
+% arguments: (output)
+%   dpdx - sympoly object containing the derivative polynomial
+
+% a scalar sympoly?
+np = numel(sp);
+if np > 1
+  dpdx = sp;
+  for i=1:np
+    switch nargin
+    case 1
+      dpdx(i)=diff(sp(i));
+    case 2
+      dpdx(i)=diff(sp(i),n);
+    case 3
+      dpdx(i)=diff(sp(i),n,dvar);
+    end
+  end
+  return
+end
+
+% what are the variable names in this sympoly?
+polyvars = setdiff(sp.Var,{''});
+
+% differentiate with respect to which variable?
+% also, set the order of differentiation
+if (nargin==1)
+  if length(polyvars) == 1
+    dvar = polyvars{1};
+    n = 1;
+  else
+    error 'Please supply a variable to differentiate with respect to'
+  end
+elseif (nargin==2) && isnumeric(n)
+  if length(polyvars) == 1
+    dvar = polyvars{1};
+  else
+    error 'Please supply a variable to differentiate with respect to'
+  end
+elseif (nargin==2) && ischar(n)
+  % they supplied a variable name, assume the default for n = 1
+  dvar = n;
+  n = 1;
+end
+
+% if the order of differentiation is not 1, then just loop
+if (n ~= floor(n)) || (n<1)
+  error 'Differentiation order must be a positive integer.'
+elseif n>1
+  % recursive calls to diff for higher orders
+  dpdx = sp;
+  for i = 1:n
+    dpdx = diff(dpdx,1,dvar);
+  end
+  
+  return
+end
+
+% if we drop through to here, the differentiation order is 1, 
+% and we know what we are differentiating with respect to,
+% lastly, we kow that sp is a scalar sympoly.
+
+% check for a variable name
+if ~ischar(dvar)
+  error 'dvar must be a character string'
+end
+
+% is sp a function of the designated variable?
+indx=strmatch(dvar,sp.Var,'exact');
+if isempty(indx)
+  % sp is not a function of that variable, so the derivative
+  % will be zero.
+  dpdx = sympoly(0);
+  return
+end
+
+% actual differentiation at this point is simple.
+dpdx = sp;
+k = sp.Exponent(:,indx);
+
+dpdx.Exponent(k==0,:) = [];
+dpdx.Coefficient(k==0) = [];
+k(k==0) = [];
+
+if isempty(k)
+  % the derivative was zero
+  dpdx = sympoly(0);
+else
+  % there are some terms that remain
+  dpdx.Exponent(:,indx) = k-1;
+  dpdx.Coefficient = dpdx.Coefficient.*k;
+end
+
+% clean up the poly
+dpdx = clean_sympoly(dpdx);
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/disp.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/disp.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/disp.m	(revision 17)
@@ -0,0 +1,160 @@
+function expression = disp(sp,pretty)
+% sympoly/disp: Disp a sympoly object
+%
+% arguments:
+%  sp     - a sympoly object
+%
+%  pretty - (OPTIONAL) character flag - 
+%           Default: 'off'
+%
+%           pretty == 'off' --> basic matlab
+%           pretty == 'on'  --> As pretty as I could make it
+
+% unpack the sympoly
+coef = sp.Coefficient;
+nt = length(coef);
+
+expon = sp.Exponent;
+vars = sp.Var;
+nv = length(vars);
+
+% get the window format
+rootformat = lower(get(0,'format'));
+useformat = {'longg','longe','long','shortg','short','shorte','rational'};
+ind = strmatch(rootformat,useformat);
+cformat = 'short';
+if isempty(ind)
+  cformat = 'short';
+else
+  cformat = useformat{ind};
+end
+
+if (nargin<2) || isempty(pretty)
+  pretty = 'off';
+end
+
+linewidth = 80;
+
+breaks = [];
+switch pretty
+case 'off'
+  % first, check to see if its just a constant.
+  if (size(expon,1)==1) && all(expon==0)
+    % a constant
+    expression = ['    ',mynum2str(coef(1),cformat)];
+    
+  else
+    % more than just a scalar constant
+    expression = '    ';
+    breaks = [];
+    
+    % loop over the terms in the poly
+    firstterm = 1;
+    for i = 1:nt
+      
+      % build the multinomial part
+      term = '';
+      for j = 1:nv
+        if ~isempty(vars{j})
+          if expon(i,j)~=0
+            term = [term,vars{j}];
+          end
+          
+          % do we need an exponent?
+          if (expon(i,j)~=0) && (expon(i,j)~=1)
+            term = [term,'^',num2str(expon(i,j))];
+          end
+          
+          % insert a '*' between monomial parts
+          if ~isempty(term) && (j<nv) && any(expon(i,(j+1):end)) && (term(end)~='*')
+            term = [term,'*'];
+          end
+        end
+        
+      end
+      
+      C = coef(i);
+      % if this is the first term, then leave the
+      % coefficient alone
+      if firstterm
+        % this is the first term of possibly many terms
+        if C == 0
+          term = '';
+        elseif (C == 1) && ~isempty(term)
+          % term is already built
+        elseif isempty(term)
+          term = mynum2str(C,cformat);
+        else
+          term = [mynum2str(C,cformat),'*',term];
+        end
+      else
+        % there are at least two terms in the expression
+        if C == 0
+          term = '';
+        elseif (C == 1) && ~isempty(term)
+          % term is already built. just append a sign
+          term = [' + ',term];
+        elseif (C == -1) && ~isempty(term)
+          % term is already built. just append a sign
+          term = [' - ',term];
+        elseif isempty(term) && (~isreal(C) || (C>0))
+          term = [' + ',mynum2str(C,cformat)];
+        elseif isempty(term) && (C<0)
+          term = [' - ',mynum2str(abs(C),cformat)];
+        elseif  ~isreal(C) || (C>0)
+          term = [' + ',mynum2str(C,cformat),'*',term];
+        else
+          % must be C<0 
+          term = [' - ',mynum2str(abs(C),cformat),'*',term];
+        end
+      end
+      
+      % accumulate into the overall expression
+      expression = [expression, term];
+      
+      % on to the rest of the terms
+      firstterm = 0;
+      
+      % where can we break this expression?
+      breaks = [breaks,length(expression)];
+      
+    end
+  end
+  
+  case 'on'
+    error 'Pretty is not enabled yet.'
+    
+    
+    
+    
+end
+
+% do we have an output argument?
+if nargout==0
+  disp(expression)
+  clear expression
+end
+
+function str = mynum2str(coef,cformat)
+% converts coef to a string, based on the root format
+switch cformat
+  case {'short','shortg','shorte'} 
+    str = num2str(coef);
+  case {'longg','longe','long'}
+    str = num2str(coef,'%0.15g');
+  case 'rational'
+    str = rats(coef,15);
+    % drop the leading and trailing blanks
+    str = deblank(str);
+    str = fliplr(deblank(fliplr(str)));
+    if str == '*'
+      % the number was a numerical zero
+      str = '0';
+    end
+end
+
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/display.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/display.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/display.m	(revision 17)
@@ -0,0 +1,41 @@
+function display(sp)
+% sympoly/display: Display a sympoly object, calls disp
+
+name = inputname(1);
+if ~isempty(name)
+  display([name,' ='])
+else
+  display('ans =')
+end
+
+% is it a scalar or an array?
+s=size(sp);
+if any(s>1)
+  % an array or vector
+  disp(['Sympoly array has size = [',num2str(s),']'])
+  disp(' ')
+  
+  sj = [0,ones(1,length(s)-1)];
+  sj(1) = 0;
+  for j=1:numel(sp)
+    sj(1) = sj(1)+1;
+    while any(sj>s)
+      k = find(sj>s,1,'first');
+      sj(k) = 1;
+      sj(k+1) = sj(k+1)+1;
+    end
+    
+    disp(['Sympoly array element [',num2str(sj),']'])
+    disp(sp(j))
+  end
+  
+else
+  % A scalar
+  
+  disp(sp)
+  
+end
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/double.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/double.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/double.m	(revision 17)
@@ -0,0 +1,21 @@
+function dbl=double(sp)
+% sympoly/double: convert a constant polynom array (or scalar) to a double
+% usage: dbl=double(sp);
+% 
+% arguments:
+%  sp - sympoly object - scalar or a sympoly array - must all be constants
+%
+%  dbl - double array of the same size as sp
+
+dbl=zeros(size(sp));
+for i=1:numel(sp)
+  spi = sp(i);
+  
+  E = spi.Exponent;
+  if any(E(:)~=0)
+    error 'This sympoly is not a constant'
+  end
+  
+  dbl(i) = sum(spi.Coefficient);
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/equalize_vars.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/equalize_vars.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/equalize_vars.m	(revision 17)
@@ -0,0 +1,76 @@
+function varargout = equalize_vars(varargin)
+% Ensures that two sympolys both use the same set of variables
+% usage: [sp1,sp2] = equalize_vars(sp1,sp2)
+% usage: [sp1,sp2,sp3,...] = equalize_vars(sp1,sp2,sp3,...)
+%
+% Arguments:
+%  sp1, sp2, ... - sympoly objects
+
+n = nargin;
+if n == 1
+  varargout = varargin;
+elseif n==2
+  % two variables
+  sp1 = varargin{1};
+  sp2 = varargin{2};
+  
+  if ~isa(sp1,'sympoly') || ~isa(sp2,'sympoly')
+    error 'Equalize_vars operates only on sympoly objects as inputs'
+  end
+
+  % union will combine the vars
+  allvars = union(sp1.Var,sp2.Var);
+  nv = length(allvars);
+
+  % expand the vars in sp1
+  nc1 = length(sp1.Coefficient);
+  exp1 = zeros(nc1,nv);
+  [junk,LOC] = ismember(sp1.Var,allvars);
+  exp1(:,LOC) = sp1.Exponent;
+  sp1.Var = allvars;
+  sp1.Exponent = exp1;
+
+  % and now sp2
+  nc2 = length(sp2.Coefficient);
+  exp2 = zeros(nc2,nv);
+  [junk,LOC] = ismember(sp2.Var,allvars);
+  exp2(:,LOC) = sp2.Exponent;
+  sp2.Var = allvars;
+  sp2.Exponent = exp2;
+
+  varargout = {sp1,sp2};
+else
+  % or more variables
+  allvars = {};
+  for i = 1:n
+    spi = varargin{i};
+    
+    if ~isa(spi,'sympoly')
+      error 'Equalize_vars operates only on sympoly objects as inputs'
+    end
+    
+    % union will combine the vars
+    allvars = union(allvars,spi.Var);
+  end
+  nv = length(allvars);
+  
+  varargout = varargin;
+  for i = 1:n
+    spi = varargin{i};
+    
+    % expand the vars in spi
+    nc = length(spi.Coefficient);
+    expi = zeros(nc,nv);
+    [junk,LOC] = ismember(spi.Var,allvars);
+    expi(:,LOC) = spi.Exponent;
+    spi.Var = allvars;
+    spi.Exponent = expi;
+
+    varargout{i} = spi;
+  end
+  
+end
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/gradient.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/gradient.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/gradient.m	(revision 17)
@@ -0,0 +1,31 @@
+function [gradp,varlist] = gradient(sp)
+% sympoly/gradient: gradient vector of a sympoly
+% usage: [gradp,varlist] = gradient(sp);
+% 
+% arguments: (input)
+%     sp - scalar sympoly object
+%
+% arguments: (output)
+%  gradp - sympoly (row vector) object containing the gradient vector
+%
+%  varlist - cell array of variable names used for the gradient
+
+if numel(sp)>1
+  error 'Gradient only works for scalar sympoly objects.'
+end
+
+varlist = setdiff(sp.Var,{''});
+nvar=length(varlist);
+
+if nvar==0
+  % sympoly had no variables, i.e., it was a constant
+  gradp=sympoly(0);
+else
+  % loop over the variables
+  gradp = sympoly(zeros(1,nvar));
+  for i=1:nvar
+    gradp(i)=diff(sp,1,varlist{i});
+  end
+end
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/horzcat.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/horzcat.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/horzcat.m	(revision 17)
@@ -0,0 +1,49 @@
+function sp=horzcat(varargin)
+% sympoly/horzcat: horizontal concatenation for sympoly objects and scalars
+% usage: sp=[sp1,sp2,sp3,...];
+% 
+% arguments:
+%  sp,sp1,sp2, ... - sympoly objects or scalars or arrays
+
+n=length(varargin);
+
+sp=varargin{1};
+if ~isa(sp,'sympoly')
+  sp=sympoly(sp);
+end
+[r1,c1] = size(sp);
+
+% first check the sizes
+C = sum(cellfun('size',varargin,2));
+
+% expand sp up to the correct final size
+if C>c1
+  sp(r1,C) = sp(1);
+end
+
+for k=2:n
+  spk=varargin{k};
+  [rk,ck]=size(spk);
+  
+  % check for row comformance
+  if r1~=rk
+    error 'Objects do not conform for horizontal concatenation'
+  end
+  
+  if ~isa(spk,'sympoly')
+    spk=sympoly(spk);
+  end
+  
+  for i=1:r1
+    for j=1:ck
+      sp(i,j+c1)=spk(i,j);
+    end
+  end
+  
+  c1 = c1 + ck;
+  
+end
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/imag.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/imag.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/imag.m	(revision 17)
@@ -0,0 +1,29 @@
+function Y = imag(X)
+% IMAG: Imaginary part of the coefficients of a sympoly array
+% usage: Y = imag(X)
+% 
+% Arguments:
+%  X - any sympoly scalar or array
+%
+%  Y - Imaginary part of the coefficients of X.
+%
+% See also REAL, CONJ, @sympoly/CONJ, @sympoly/REAL
+%
+% Author: John D'Errico
+% e-mail: woodchips@rochester.rr.com
+% Release: 1.3
+% Release date: 10/18/06
+
+N = numel(X);
+
+Y = X;
+if N>1
+  % its a sympoly array
+  for i = 1:N
+    Y(i) = imag(X(i));
+  end
+elseif N == 1
+  % A scalar. Just take the real parts of the coefficients.
+  Y.Coefficient = imag(Y.Coefficient);
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/int.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/int.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/int.m	(revision 17)
@@ -0,0 +1,50 @@
+function sp=int(sp,intvar)
+% sympoly/int: integrates a sympoly
+% usage: sp=int(sp);
+% usage: sp=int(sp,intvar);
+% 
+% arguments: (input)
+%      sp - scalar sympoly object
+%
+%  intvar - character variable to integrate with respect to
+%
+% arguments: (output)
+%      sp - sympoly object containing the integral polynomial
+
+% what are the variable names in this sympoly?
+polyvars = setdiff(sp.Var,{''});
+
+% verify that intvar is a variable in this polynomial
+if (nargin<2)|isempty(intvar)
+  % Default variable to integrate with respect to.
+  % Only if there is only one variable in the sympoly
+  if length(polyvars) == 1
+    intvar=polyvars{1};
+  else
+    error 'Variable to integrate with respect to is unspecified.'
+  end
+end
+
+% check for a character variable name
+if ~ischar(intvar)
+  error 'intvar must be a character string'
+end
+% this ensures that sp is a "function" of intvar
+x = sympoly(intvar);
+[sp,x] = equalize_vars(sp,x);
+indx=strmatch(intvar,sp.Var,'exact');
+
+% which variable is it?
+k = sp.Exponent(:,indx);
+
+% ln(x) is not in the sympoly space
+if any(k==-1)
+  error 'Sympoly cannot integrate 1/x.'
+end
+
+% integration is easy
+sp.Exponent(:,indx) = sp.Exponent(:,indx) + 1;
+sp.Coefficient = sp.Coefficient ./ (k+1);
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/minus.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/minus.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/minus.m	(revision 17)
@@ -0,0 +1,10 @@
+function sp=plus(sp1,sp2)
+% sympoly/minus: Subtracts two sympoly objects, or a sympoly and a numeric array
+% usage: sp = sp1 - sp2;
+% 
+% arguments:
+%  sp,sp1,sp2 - sympoly objects or scalars
+
+% negate the second term, then add
+sp = sp1 + uminus(sp2);
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mpower.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mpower.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mpower.m	(revision 17)
@@ -0,0 +1,60 @@
+function sp=mpower(sp,k)
+% sympoly/mpower: raise a scalar or matrix sympoly to a scalar power
+% usage: sp=sp^k;
+% 
+% arguments:
+%  sp - sympoly object or sympoly array
+%
+%   k - numeric scalar - exponent of the sympoly. k may be 
+%       fractional if sp has only one additive term.
+
+if ~isa(sp,'sympoly')
+  error 'sp must be a sympoly'
+end
+
+% is k a numeric scalar?
+if ~isnumeric(k) || (numel(k)>1)
+  error 'k must be a numeric scalar'
+end
+
+% check to see if sp is a sympoly array first
+np = numel(sp);
+if np==1
+  % just use mtimes
+  sp = sp.^k;
+else
+  % sp is an array. it must be square, and k must
+  % be a non-negative integer.
+  s = size(sp);
+  if (length(s)>2) || (diff(s)~=0)
+    error 'sp must be a square 2-d sympoly array.'
+  elseif (k<0) || (k~=floor(k))
+    error 'k must be a non-negative integer'
+  end
+  
+  if k == 0
+    sp = sympoly(eye(s));
+    
+  elseif k==1
+    % unit power. a no-op
+    
+  else
+    % integer power > 1
+    sp1 = sp;
+    
+    L = 1;
+    while L < k
+      if (2*L)<=k
+        % repeated squaring until close enough
+        sp = sp*sp;
+        L = 2*L;
+      else
+        sp = sp*sp1;
+        L = L+1;
+      end
+    end
+    
+  end
+end
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mrdivide.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mrdivide.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mrdivide.m	(revision 17)
@@ -0,0 +1,19 @@
+function sq=mrdivide(sp1,sp2)
+% sympoly/mrdivide: divide a sympoly object by a scalar or another polynom
+% usage: sq = sp1/sp2;
+% 
+% arguments:
+%  sp1,sp2 - sympoly objects or scalars
+%  sq      - sympoly (quotient) object
+
+% check the size of sp2
+if numel(sp2)==1
+  % / is only an option if a scalar in the denomenator
+  sq = sp1./sp2;
+else
+  % denomenator 
+  error 'Cannot use / when denomenator is an array or vector'
+end
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mtimes.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mtimes.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/mtimes.m	(revision 17)
@@ -0,0 +1,58 @@
+function sp=mtimes(sp1,sp2)
+% sympoly/mtimes: Matrix multiplication of sympoly objects or scalars
+% usage: sp=sp1*sp2;
+% 
+% arguments:
+%  sp,sp1,sp2   - sympoly objects or numeric scalars or a numeric array
+
+% are they of compatible sizes?
+s1 = size(sp1);
+s2 = size(sp2);
+if (length(s1)>2) || (length(s2)>2)
+  error 'Matrix multiplication is only defined for vectors and simple arrays.'
+end
+
+if (s1(2) == s2(1)) || (numel(sp1)==1) || (numel(sp2)==1)
+  % they are compatible
+  
+  if (numel(sp1) == 1) && (numel(sp2) == 1)
+    % both are scalars. Just use .*
+    sp = sp1.*sp2;
+    
+  elseif (numel(sp1) == 1) && (numel(sp2) > 1)
+    % sp1 is a scalar, but not sp2
+    sp = sympoly(sp2);
+    for i = 1:numel(sp2)
+      sp(i) = sp1.*sp2(i);
+    end
+
+  elseif (numel(sp1) > 1) && (numel(sp2) == 1)
+    % sp2 is a scalar, but not sp1
+    sp = sympoly(sp1);
+    for i = 1:numel(sp1)
+      sp(i) = sp1(i).*sp2;
+    end
+    
+  elseif (numel(sp1) > 1) && (numel(sp2) > 1)
+    % both are arrays.
+    sp = sympoly(zeros(s1(1),s2(2)));
+
+    for i = 1:s1(1)
+      for j = 1:s2(2)
+        for k = 1:s1(2)
+          sp(i,j) = sp(i,j) + sp1(i,k).*sp2(k,j);
+        end
+      end
+    end
+    
+  end
+  
+else
+  error 'sp1 and sp2 are of incompatible sizes for .* operation.'
+  
+end
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/plus.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/plus.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/plus.m	(revision 17)
@@ -0,0 +1,68 @@
+function sp=plus(sp1,sp2)
+% sympoly/plus: Adds two sympoly objects, or adds a numeric var to a sympoly
+% usage: sp = sp1 + sp2;
+% 
+% arguments:
+%  sp,sp1,sp2 - sympoly objects or scalars
+
+% are we adding scalar objects or arrays?
+s1 = numel(sp1);
+s2 = numel(sp2);
+
+% make sure both sp1 and sp2 are sympoly objects
+if ~isa(sp1,'sympoly')
+  sp1 = sympoly(sp1);
+end
+if ~isa(sp2,'sympoly')
+  sp2 = sympoly(sp2);
+end
+
+if (s1>1) && (s2 == 1)
+  % s1 is an array or vector, s2 is a scalar
+  sp = sp1;
+  for i = 1:s1
+    sp(i) = sp(i) + sp2;
+  end
+  
+elseif (s1 == 1) && (s2 > 1)
+  % s1 is an array or vector, s2 is a scalar
+  sp = sp2;
+  for i = 1:s2
+    sp(i) = sp1 + sp(i);
+  end
+  
+elseif (s1 > 1) && (s2 > 1)
+  % s1 and s2 are both arrays or vectors
+  
+  % verify they are compatible in size
+  if any(size(sp1)~=size(sp2))
+    error 'Addition attempted on sympoly arrays of incompatible size'
+  end
+  
+  % add elementwise
+  sp = sp1;
+  for i = 1:s1
+    sp(i) = sp(i) + sp2(i);
+  end
+  
+elseif (s1==0) || (s2==0)
+  % one must have been empty
+  error 'Cannot add an empty array to a sympoly.'
+  
+else
+  % both must be scalars, and both were forced to be sympolys
+  
+  % make sure they have compatible variable sets
+  [sp1,sp2] = equalize_vars(sp1,sp2);
+  
+  % the addition just requires appending the arrays, then a
+  % call to consolidator
+  sp = sp1;
+  sp.Exponent = [sp.Exponent;sp2.Exponent];
+  sp.Coefficient = [sp.Coefficient;sp2.Coefficient];
+  
+  % clean up the poly
+  sp = clean_sympoly(sp);
+  
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/polyerrorprop.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/polyerrorprop.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/polyerrorprop.m	(revision 17)
@@ -0,0 +1,184 @@
+function [polymean,polyvar] = polyerrorprop(SP,varnames,means,stds)
+% polyerrorprop: compute symbolic mean and variance for a sympoly, given normal components
+% usage: [polymean,polyvar] = polyerrorprop(SP,varnames,means,stds)
+%
+% arguments: (input)
+%  SP -    general sympoly expression of one or more variables
+%
+%  varnames - the (string) name of a variable as found in SP.
+%          If multiple variables are to be toleranced over, then
+%          varnames must be a cell array of strings.
+%
+%  means - a vector of variable means, one for each name in varnames
+%          means may be a vector of doubles, or it may be a vector of
+%          sympoly objects.
+% 
+%  stds  - a vector of variable standard deviations, one for each name
+%          in stds. stds may be a vector of doubles, or it may be a
+%          vector of sympoly objects.
+% 
+% arguments: (output)
+%   polymean - the expected value of SP as a sympoly itself, given
+%          independent normally distributed variables as given by
+%          the input arguments.
+%
+%   polyvar - the variance of the polynomial SP asa sympoly itself.
+%
+%
+% Example:
+% Given a unit Normal N(0,1) random variable, compute the
+% mean and variance of p(x) = 3*x + 2*x^2 - x^3
+% 
+%  sympoly x
+%  polyerrorprop(3*x + 2*x^2 - x^3,'x',0,1);
+%
+% polymean =
+%  A scalar sympoly object
+%    2
+%
+% polyvar = 
+%  A scalar sympoly object
+%    14
+%
+%
+% Example:
+% Given Normal random variables, x and y, where x is N(mux,sx^2)
+% and y has parameters N(muy,sy^2), compute the mean and variance
+% of x*y.
+%
+%  sympoly x y mux muy sx sy
+%  [polymean,polyvar] = polyerrorprop(x*y,{'x' 'y'},[mux,muy],[sx,sy])
+%
+% polymean =
+%  A scalar sympoly object
+%    mux*muy
+%
+% polyvar =
+% A scalar sympoly object
+%    sx^2*sy^2 + muy^2*sx^2 + mux^2*sy^2
+%
+%
+% Author: John D'Errico
+% e-mail: woodchips@rochester.rr.com
+% Release: 1.0
+% Release date: 1/28/08
+
+% verify that SP is a sympoly
+if ~isa(SP,'sympoly')
+  error('SP must be a scalar sympoly object.')
+end
+
+% was there only one variable provided?
+if ischar(varnames)
+  varnames = {varnames};
+end
+nvars = length(varnames);
+
+means = means(:);
+stds = stds(:);
+
+if length(means)~=nvars
+  error('means was incompatible in length with the variable list provided')
+elseif length(stds)~=nvars
+  error('stds was incompatible in length with the variable list provided')
+end
+
+% substitute into the polynomial for unit normal variables,
+% computing the mean of SP.
+polymean = SP;
+for i = 1:nvars
+  % substitute for
+  % X_i = means(1) + stds(i)*u
+  tempvarname = ['_',varnames{i},'_'];
+  tempvar = sympoly(tempvarname);
+  polymean = subs(polymean,varnames{i},means(i) + stds(i)*tempvar);
+  
+  % which variable was tempvar in polymean?
+  k = find(ismember(polymean.Var,tempvarname));
+  
+  % now integrate over the temporary variable, using the information
+  % that for a unit Normal variate, the kth central moment is zero
+  % for the odd moments. For the even moments, the (2*k)th central
+  % moment is 
+  %
+  % factorial(2*k)/(2^k*factorial(k))
+  
+  % so we can now delete all the terms in polymean with an odd exponent
+  % for the tempvar.
+  Exponents = polymean.Exponent;
+  Coefficients = polymean.Coefficient;
+  
+  oddexp = mod(Exponents(:,k),2) == 1;
+  if any(oddexp)
+    Exponents(oddexp,:) = [];
+    Coefficients(oddexp) = [];
+    polymean.Exponent = Exponents;
+    polymean.Coefficient = Coefficients;
+  end
+  
+  % do the even moments.
+  evenexp = polymean.Exponent(:,k)/2;
+  
+  varmoment = factorial(2*evenexp)./(2.^evenexp.*factorial(evenexp));
+  polymean.Coefficient = polymean.Coefficient.*varmoment;
+  
+  % now, kill off the tempvar in the sympoly
+  Exponents = polymean.Exponent;
+  Exponents(:,k) = 0;
+  polymean.Exponent = Exponents;
+  
+  % and clean up the sympoly
+  polymean = clean_sympoly(polymean);
+end
+
+% Now compute the variance polynomial
+% V(f) = E((f(x) - E(f))^2)
+polyvar = (SP - polymean);
+polyvar = polyvar*polyvar;
+% and now do the same process as above, integrating out the unit normals
+for i = 1:nvars
+  % substitute for
+  % X_i = means(1) + stds(i)*u
+  tempvarname = ['_',varnames{i},'_'];
+  tempvar = sympoly(tempvarname);
+  polyvar = subs(polyvar,varnames{i},means(i) + stds(i)*tempvar);
+  
+  % which variable was tempvar in polyvar?
+  k = find(ismember(polyvar.Var,tempvarname));
+  
+  % now integrate over the temporary variable, using the information
+  % that for a unit Normal variate, the kth central moment is zero
+  % for the odd moments. For the even moments, the (2*k)th central
+  % moment is 
+  %
+  % factorial(2*k)/(2^k*factorial(k))
+  
+  % so we can now delete all the terms in polyvar with an odd exponent
+  % for the tempvar.
+  Exponents = polyvar.Exponent;
+  Coefficients = polyvar.Coefficient;
+  
+  oddexp = mod(Exponents(:,k),2) == 1;
+  if any(oddexp)
+    Exponents(oddexp,:) = [];
+    Coefficients(oddexp) = [];
+    polyvar.Exponent = Exponents;
+    polyvar.Coefficient = Coefficients;
+  end
+  
+  % do the even moments.
+  evenexp = polyvar.Exponent(:,k)/2;
+  
+  varmoment = factorial(2*evenexp)./(2.^evenexp.*factorial(evenexp));
+  polyvar.Coefficient = polyvar.Coefficient.*varmoment;
+  
+  % now, kill off the tempvar in the sympoly
+  Exponents = polyvar.Exponent;
+  Exponents(:,k) = 0;
+  polyvar.Exponent = Exponents;
+  
+  % and clean up the sympoly
+  polyvar = clean_sympoly(polyvar);
+end
+
+  
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/power.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/power.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/power.m	(revision 17)
@@ -0,0 +1,72 @@
+function sp=power(sp,n)
+% sympoly/power: raise a sympoly (elementwise) to a scalar power
+% usage: sp=sp.^n;
+% 
+% arguments:
+%  sp - sympoly object
+%  n  - scalar - exponent of the sympoly, need not be an integer
+
+if ~isa(sp,'sympoly')
+  error 'sp must be a sympoly'
+end
+
+if ~isnumeric(n) || (length(n) > 1)
+  error 'n must be a scalar numeric variable'
+end
+
+% for an array, raise the individual elements
+% to the n'th power
+k=numel(sp);
+if k>1
+  % its an array. Raise each element to the nth power
+  for i=1:k
+    sp(i)=sp(i).^n;
+  end
+else
+  % a scalar sympoly. 
+  
+  % If n is a scalar, non-negative integer, then
+  % we will compute the power by repeated multiplies.
+  % If it is fractional, then we can only do this
+  % for single term sympolys.
+  
+  if n == 0
+    % The zero'th power is 1
+    sp = sympoly(1);
+    
+  elseif n==1
+    % n == 1 is a no-op.
+    
+  elseif (rem(n,1)==0) && (n>0)
+    % A positive integer exponent. Use multiplication
+    
+    % loop on k
+    sp1=sp;
+    k=1;
+    while (2*k)<=n
+      % square until near k
+      sp=sp.*sp;
+      k=2*k;
+    end
+    
+    if k<n
+      for i=(k+1):n
+        sp=sp.*sp1;
+      end
+    end
+    
+  else
+    % it must be a fractional or negative exponent
+    if length(sp.Coefficient)>1
+      error 'Cannot raise a multinomial sympoly to a fractional or negative power.'
+    end
+    
+    % raise a single term to the nth power
+    sp.Coefficient=sp.Coefficient.^n;
+    sp.Exponent = sp.Exponent*n;
+    
+  end
+end
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/prod.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/prod.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/prod.m	(revision 17)
@@ -0,0 +1,47 @@
+function prodp=prod(p,dim)
+% sympoly/prod: product of a sympoly array along a given dimension
+% usage: prodp=prod(p);
+% usage: prodp=prod(p,dim);
+% 
+% arguments:
+%    p - sympoly array object
+%  dim - (OPTIONAL) dimension to product over
+%        DEFAULT ==1, unless sp is a row vector
+%
+%  prodp - sympoly object containing the product reduced array
+
+s = size(p);
+np = length(s);
+
+% default for dim is 1, UNLESS p is a row vector.
+if (nargin<2) || isempty(dim)
+  if (s(1) == 1) && (np==2)
+    % a row vector
+    dim = 2;
+  else
+    % any other shape array
+    dim = 1;
+  end
+end
+
+ss = s;
+ss(dim) = 1;
+
+si = cell(1,np);
+for i = 1:np
+  si{i} = 1:s(i);
+end
+
+if any(ss~=1)
+  prodp = repmat(sympoly(1),ss);
+else
+  prodp = sympoly(1);
+end
+for i = 1:s(dim)
+  si{dim} = i;
+  prodp = prodp .* p(si{:});
+end
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/rdivide.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/rdivide.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/rdivide.m	(revision 17)
@@ -0,0 +1,89 @@
+function sp=rdivide(sp1,sp2)
+% sympoly/rdivide: Elementwise divide of sympoly objects or scalars
+% usage: sp=sp1./sp2;
+% 
+% arguments:
+%  sp,sp1,sp2   - sympoly objects or numeric scalars or a numeric array
+
+% are they of compatible sizes?
+s1 = size(sp1);
+s2 = size(sp2);
+if all(s1 == s2) || (numel(sp1)==1) || (numel(sp2)==1)
+  % they are compatible
+  
+  if (numel(sp1) == 1) && (numel(sp2) > 1)
+    % sp1 is a scalar, but not sp2
+    sp = sympoly(sp2);
+    for i = 1:numel(sp2)
+      sp(i) = sp1 ./ sp2(i);
+    end
+
+  elseif (numel(sp1) > 1) && (numel(sp2) == 1)
+    % sp2 is a scalar, but not sp1
+    sp = sympoly(sp1);
+    for i = 1:numel(sp1)
+      sp(i) = sp1(i) ./ sp2;
+    end
+    
+  elseif (numel(sp1) > 1) && (numel(sp2) > 1)
+    % both are arrays
+    sp = sympoly(sp1);
+    for i = 1:numel(sp1)
+      sp(i) = sp1(i) ./ sp2(i);
+    end
+    
+  else
+    % both are scalars (at this point.)
+    
+    % is the numerator or denominator a numeric scalar?
+    if isnumeric(sp1)
+      % sp1 is numeric, convert to a sympoly
+      sp1 = sympoly(sp1);
+      
+    elseif isnumeric(sp2)
+      % sp2 is numeric, so the divide is easy
+      sp=sp1;
+      sp.Coefficient = sp.Coefficient./sp2;
+      return
+      
+    end
+    
+    % make sure they have compatible variable lists
+    [sp1,sp2]=equalize_vars(sp1,sp2);
+    
+    % if sp2 has only a single additive term, then
+    % its a simple operation to do.
+    if length(sp2.Coefficient)==1
+      sp = sp1;
+      sp.Coefficient = sp.Coefficient./sp2.Coefficient;
+      n1 = length(sp.Coefficient);
+      sp.Exponent = sp.Exponent - repmat(sp2.Exponent,n1,1);
+      
+      % clean up before we return
+      sp = clean_sympoly(sp);
+      
+      return
+    end
+    
+    % if we have dropped down this far, then it will
+    % take a synthetic division to solve, if possible.
+    [q,r,rflag] = syndivide(sp1,sp2);
+    
+    % is the remainder zero?
+    if ~rflag
+      sp = q;
+    else
+      error 'Sympoly division failed to yield a zero remainder. Use syndivide instead.'
+    end
+    
+  end
+  
+else
+  error 'sp1 and sp2 are of incompatible sizes for .* operation.'
+  
+end
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/real.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/real.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/real.m	(revision 17)
@@ -0,0 +1,29 @@
+function Y = real(X)
+% REAL: Real part of the coefficients of a sympoly array
+% usage: Y = real(X)
+% 
+% Arguments:
+%  X - any sympoly scalar or array
+%
+%  Y - Real part of the coefficients of X.
+%
+% See also IMAG, CONJ, @sympoly/CONJ, @sympoly/IMAG
+%
+% Author: John D'Errico
+% e-mail: woodchips@rochester.rr.com
+% Release: 1.3
+% Release date: 10/18/06
+
+N = numel(X);
+
+Y = X;
+if N>1
+  % its a sympoly array
+  for i = 1:N
+    Y(i) = real(X(i));
+  end
+elseif N == 1
+  % A scalar. Just take the real parts of the coefficients.
+  Y.Coefficient = real(Y.Coefficient);
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/roots.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/roots.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/roots.m	(revision 17)
@@ -0,0 +1,29 @@
+function r=roots(sp)
+% sympoly/roots: roots of a sympoly, found numerically
+% usage: r=roots(sp);
+% 
+% arguments:
+%  sp - sympoly object
+%   r - vector of polynomial roots
+
+% list of the variable names in this sympoly?
+polyvars = setdiff(sp.Var,{''});
+
+% check that p is a function of only one variable
+if length(polyvars)>1
+  error 'Roots only works on a single variable sympoly'
+end
+
+% just call the regular roots function
+coef = sp.Coefficient;
+xind = strmatch(polyvars{1},sp.Var,'exact');
+expon = sp.Exponent(:,xind);
+
+if all(expon>=0) && all(expon==fix(expon))
+  poly = zeros(1,max(expon)+1);
+  poly(max(expon)-expon+1) = coef(:)';
+  r=roots(poly);
+else
+  error 'Term exponents must be non-negative integers'
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sqrt.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sqrt.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sqrt.m	(revision 17)
@@ -0,0 +1,15 @@
+function sp=sqrt(sp)
+% sympoly/sqrt: sqrt of a sympoly (sp.^0.5)
+% usage: sp=sqrt(sp);
+% 
+% arguments:
+%  sp - sympoly object
+
+if length(sp.Coefficient)>1
+  error 'Sqrt of a sympoly with multiple terms is not implemented.' 
+end
+
+sp.Exponent=sp.Exponent/2;
+sp.Coefficient=sqrt(sp.Coefficient);
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subs.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subs.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subs.m	(revision 17)
@@ -0,0 +1,111 @@
+function sp=subs(sp,varargin)
+% sympoly/subs: substitute into a sympoly, forming p(q(x))
+% usage: sp=subs(sp,var1,val1,var2,val2,...);
+% usage: sp=subs(sp,val);
+% 
+% arguments: (input)
+%   sp - sympoly object or array
+%
+%  var - (character string) variable to substitute for
+%
+%  val - value to substitute. val may be a numeric constant,
+%        or a scalar sympoly itself.
+%
+%        If p is a function of only one variable, then
+%        you can use the usage mode: p=subs(p,val);
+%
+% arguments: (output)
+%  sp - sympoly object resulting from the substitution
+% 
+% Example usage:
+%
+%  The following code snippet will define a sympoly as 'x',
+%  add one to the poly, then substitute 2*x for x. The result
+%  will be 2*x+1.
+%
+%    sympoly x
+%    r = subs(x+1,'x',2*x);
+
+if ~isa(sp,'sympoly')
+  error 'sp must be class ''sympoly'''
+end
+
+% if p is an array, then substitute into each
+% element, p(i,j), of the array
+n = numel(sp);
+if n>1
+  for i=1:n
+    sp(i)=subs(sp(i),varargin{:});
+  end
+  return
+end
+
+% only 1 extra argument, can we do the substitution?
+nv=length(varargin);
+if (nv==1)
+  v = setdiff(sp.Var,{''});
+  if length(v)>1
+    error 'sp is a multinomial sympoly. Cannot use subs this way.'
+  end
+  
+  sp=subs(sp,v{1},varargin{1});
+  return
+end
+
+if (rem(nv,2)~=0)|(nv==0)
+  error 'subs should be called with variable name & value pairs'
+end
+
+% how many substitutions to make
+nsubs=nv/2;
+if nsubs > 1
+  % convert the serial substitutions into calls to subs
+  % of a single variable at a time.
+  for i=1:nsubs
+    v_i=varargin{2*i-1};
+    p_i=varargin{2*i};
+    sp = subs(sp,v_i,p_i);
+  end
+  return
+else
+  % its a single variable to substitute for
+  v_i=varargin{1};
+  p_i=varargin{2};
+  
+  % is sp a function of this variable?
+  indx=strmatch(v_i,sp.Var,'exact');
+  if ~isempty(indx)
+    % is p_i a sympoly itself or numeric?
+    if isnumeric(p_i)
+      % Its a number. The subs is easy.
+      k = sp.Exponent(:,indx);
+      sp.Coefficient = sp.Coefficient(:).*(p_i.^k);
+      sp.Exponent(:,indx) = 0;
+
+      % clean it all up
+      sp = clean_sympoly(sp);
+
+    else
+      % Its a sympoly. I need to do this one the hard way.
+      spsubs = sympoly(0);
+      nc = length(sp.Coefficient);
+      for i = 1:nc
+        spi=sp;
+        spi.Coefficient = spi.Coefficient(i);
+        spi.Exponent=spi.Exponent(i,:);
+        k = spi.Exponent(1,indx);
+        spi.Exponent(1,indx) = 0;
+        spi = spi.*(p_i.^k);
+        spsubs = spsubs + spi;
+      end
+      sp=spsubs;
+
+      % the good news is, any garbage collection
+      % necessary was already done in the final "plus"
+      % operation, so no clean_sympoly needed here.
+    end
+  end
+  
+end
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subsasgn.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subsasgn.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subsasgn.m	(revision 17)
@@ -0,0 +1,36 @@
+function r=subsasgn(p,S,B)
+% sympoly/subsasgn:
+% usage:
+% 
+% arguments:
+%  p - sympoly object
+%
+%  S - reference structure
+%
+%  r - returned sympoly
+
+r=sympoly(p);
+switch S(1).type
+ case '()'
+  % subscripted assignment can build sympoly arrays
+  r(S(1).subs{:})=B;
+  
+ case '.'
+  % replace the appropriate field of p
+  % sympoly fields are 'coef' and 'varname'
+  fn = lower(S(1).subs);
+  switch fn
+   case 'var'
+    r.Var=B;
+   case 'exponent'
+    r.Exponent=B;
+   case 'coefficient'
+    r.Coefficient=B;
+   otherwise
+    error 'No field by that name in a sympoly object'
+   end
+end
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subsref.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subsref.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/subsref.m	(revision 17)
@@ -0,0 +1,42 @@
+function r=subsref(p,S)
+% sympoly/subsref: 
+% usage: 
+% 
+% arguments:
+%  p - sympoly object
+%
+%  S - reference structure
+%
+%  r - result
+
+for i=1:length(S)
+  switch S(i).type
+   case '()'
+    % create a structure array of sympolys
+    r=p(S(i).subs{:});
+
+  case '{}'
+    % create a structure array of sympolys
+    r=p{S(i).subs{:}};
+    
+   case '.'
+    % return the appropriate field of p
+    % sympoly fields are 'Coefficient', 'Var', 'Exponent'
+    switch S(i).subs
+     case 'Var'
+      r=p.Var;
+     case 'Exponent'
+      r=p.Exponent;
+     case 'Coefficient'
+      r=p.Coefficient;
+     otherwise
+      error 'No field by that name in a sympoly object'
+     end
+  end
+  if length(S)>1
+    p=r;
+  end
+end
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sum.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sum.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sum.m	(revision 17)
@@ -0,0 +1,59 @@
+function sump=sum(p,dim)
+% sympoly/sum: sum a sympoly array along a given dimension
+% usage: sump=sum(p);
+% usage: sump=sum(p,dim);
+% 
+% arguments:
+%    p - sympoly array object
+%  dim - (OPTIONAL) dimension to sum over
+%        DEFAULT ==1, unless sp is a row vector
+%
+%  sump - sympoly object containing the sum reduced array
+
+s = size(p);
+np = length(s);
+
+% default for dim is 1, UNLESS p is a row vector.
+if (nargin<2) || isempty(dim)
+  if (s(1) == 1) && (np==2)
+    % a row vector
+    dim = 2;
+  else
+    % any other shape array
+    dim = 1;
+  end
+end
+
+% for dim == 1 or dim == 2, do the sum using a dot product
+if (dim == 1) && (np == 2)
+  % sum down rows
+  sump = ones(1,s(1))*p;
+  
+elseif (dim == 2) && (np == 2)
+  % sum across columns
+  sump = p*ones(s(2),1);
+
+else
+  % its an n-d array
+  ss = s;
+  ss(dim) = 1;
+  
+  si = cell(1,np);
+  for i = 1:np
+    si{i} = 1:s(i);
+  end
+  
+  if any(ss~=1)
+    sump = repmat(sympoly(0),ss);
+  else
+    sump = sympoly(0);
+  end
+  for i = 1:s(dim)
+    si{dim} = i;
+    sump = sump + p(si{:});
+  end
+
+end
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sympoly.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sympoly.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/sympoly.m	(revision 17)
@@ -0,0 +1,125 @@
+function P=sympoly(varargin)
+% sympoly: creator for sympoly objects
+% usage: P=sympoly
+% usage: P=sympoly(scalar_numeric_variable)
+% usage: P=sympoly(array_numeric_variable)
+% usage: P=sympoly('variablename')
+% usage: sympoly varname1 varname2 varname3 ...
+% 
+% Arguments:
+%  varname - character string that represents a valid Matlab
+%          variable name.
+%
+%          Example variable name: 'x'
+%          
+%          or
+%
+%          any scalar constant or array of constants
+%
+% Examples of use:
+%  P=sympoly       -->  creates a constant monomial, P(x) = 0
+%
+%  P=sympoly('x')  -->  creates a linear monomial, P(x) = x
+%
+%  P=sympoly(1)    -->  creates a constant monomial == 1, P(x) = 1
+%
+%  P=sympoly(hilb(3))  -->  creates a 3x3 matrix of constant sympoly
+%                       variables, in this case a 3x3 Hilbert matrix.
+%
+%  sympoly a b x y -->  creates sympoly variables with those names in
+%                       the caller workspace. This mode is equivalent
+%                       to 4 calls:
+%                        sympoly('a')
+%                        sympoly('b')
+%                        sympoly('x')
+%                        sympoly('y')
+%
+%  Q=sympoly(P)    -->  copies an existing sympoly
+
+% How was sympoly called? There are 5 options.
+
+% sympoly('x') with an output argument --> create a linear
+% sympoly variable, then return it in P.
+if (nargin == 0)
+  % this mode creates a scalar sympoly, as a constant == 0
+  P = sympoly(0);
+  
+elseif (nargin==1)
+  % Its only a single input. What kind?
+  inp = varargin{1};
+  
+  if isa(inp,'sympoly')
+    % Its already a sympoly. no-op.
+    P = inp;
+  elseif ischar(inp)
+    % A string that contains the name of a new sympoly
+    
+    if nargout == 0 
+      % assign a variable with this name in the caller
+      % workspace
+      str = [inp,'=sympoly(''',inp,''');'];
+
+      % evalin will put it in place in the caller workspace
+      evalin('caller',str)
+    else
+      % Create a sympoly, to be returned as an output
+      P.Var = {inp};
+      P.Exponent = 1;
+      P.Coefficient = 1;
+      
+      % define this as a sympoly
+      P=class(P,'sympoly');
+      
+    end
+    
+  elseif isnumeric(inp) || isa(inp,'logical')
+    % A numeric scalar or array
+    
+    % initialize
+    P.Var = {''};
+    P.Exponent = 0;
+    P.Coefficient = 0;
+    
+    % replicate
+    P = repmat(P,size(inp));
+    
+    % and stuff the coefficients
+    for i = 1:numel(inp)
+      P(i).Coefficient = inp(i);
+    end
+
+    % define this as a sympoly
+    P=class(P,'sympoly');
+    
+  end
+  
+else
+  % nargin is > 1. nargout must = 0
+  if nargout>0
+    error 'Mulitple sympolys can only be created as: "sympoly x y z w"'
+  end
+  
+  % just loop over the inputs
+  for i = 1:nargin
+    % A list of several variables to create
+    
+    % assign variables with this name in the caller
+    % workspace
+    inp = varargin{i};
+    str = [inp,'=sympoly(''',inp,''');'];
+    
+    % evalin will put it in place in the caller workspace
+    evalin('caller',str)
+    
+  end
+end
+
+% make sure that the appropriate sympoly method is
+% used whenever one of the arguments is a sympoly
+% and any numeric type as the other argument.
+superiorto('double','single','int8','uint8','int16', ...
+  'uint16','int32','uint32','int64','uint64','logical')
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/syndivide.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/syndivide.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/syndivide.m	(revision 17)
@@ -0,0 +1,103 @@
+function [q,r,rflag] = syntheticdivision(snumer,sdenom)
+% syntheticdivision: quotient and remainder of a synthetic polynomial division
+% usage: [q,r] = syntheticdivision(snumer,sdenom)
+%
+% arguments: (input)
+%  snumer - scalar sympoly object - Numerator polynomial
+%
+%  sdenom - scalar sympoly object - Denomenator polynomial
+%
+% arguments: (output)
+%  q - quotient sympoly
+%
+%  r - remainder sympoly
+%
+%  rflag - scalar boolean flag - denotes if the remainder term
+%      was judged to be zero.
+%
+%      rflag == 0 --> the remainder was zero to within a tolerance
+%      rflag == 1 --> the remainder was greater than the tolerance
+
+% are they both sympolys?
+if ~isa(snumer,'sympoly')
+  snumer = sympoly(snumer);
+end
+if ~isa(sdenom,'sympoly')
+  sdenom = sympoly(sdenom);
+end
+
+% monomial sympoly == 0 (right now)
+monomial = sympoly(1);
+
+% make all variable sets the same
+[snumer,sdenom,monomial] = equalize_vars(snumer,sdenom,monomial);
+
+% shift the sympolys to have all positive exponents
+% The shift will be zero for variables which have all
+% positive exponents already.
+sh = min(0,min(snumer.Exponent,[],1));
+numershift = monomial;
+numershift.Exponent = sh;
+nt = size(snumer.Exponent,1);
+snumer.Exponent = snumer.Exponent - repmat(sh,nt,1);
+
+sh = min(0,min(sdenom.Exponent,[],1));
+denomshift = monomial;
+denomshift.Exponent = sh;
+nt = size(sdenom.Exponent,1);
+sdenom.Exponent = sdenom.Exponent - repmat(sh,nt,1);
+
+% initialize the quotient and remainder sympolys
+q = sympoly(0);
+r = snumer;
+
+% highest order term in the denomenator sympoly
+order = sum(sdenom.Exponent,2);
+[order,ind] = max(order);
+denorder = sdenom.Exponent(ind,:);
+denomcoef = sdenom.Coefficient(ind);
+
+% set up a while loop to do the synthetic division
+divflag = 1;
+tol = 1e-12*max(abs(snumer.Coefficient))/max(abs(sdenom.Coefficient));
+rflag = logical(0);
+while divflag
+  % find the highest order term in the remainder sympoly
+  order = sum(r.Exponent,2);
+  [order,ind] = max(order);
+  if order>=sum(denorder)
+    % "divide"
+    remorder = r.Exponent(ind,:);
+    remCoef = r.Coefficient(ind);
+    
+    % another piece to add in to q
+    monomial.Exponent = remorder - denorder;
+    monomial.Coefficient = remCoef/denomcoef;
+    q = q + monomial;
+
+    % and decrement the remainder
+    r = r - monomial*sdenom;
+    r = equalize_vars(r,monomial);
+
+    % Is there anything left in the remainder that has a
+    % positive exponent? If so, then continue the while loop.
+    if all(r.Exponent(:)<0)
+      divflag = 0;
+      rflag = logical(1);
+    elseif all(r.Exponent(:)<=0) && all(abs(r.Coefficient)<=tol)
+      divflag = 0;
+    end
+  else
+    % there is a non-zero remainder
+    divflag = 0;
+    if any(abs(r.Coefficient)>=tol)
+      rflag = logical(1);
+    end
+  end
+end
+
+% when all is done, unshift the sympolys
+shift = numershift./denomshift;
+q = q*shift;
+r = r*shift;
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/terms.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/terms.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/terms.m	(revision 17)
@@ -0,0 +1,171 @@
+function SPresult = terms(SP,pattern,opmode)
+% sympoly/terms: extract or delete specific terms of a sympoly
+% usage: SPresult = terms(SP,pattern)
+% usage: SPresult = terms(SP,pattern,opmode)
+%
+% arguments: (input)
+%  SP - any sympoly object
+%  
+%  pattern - either a scalar monomial sympoly
+%       or a scalar integer, or a vector of integers
+%
+%       If pattern is an integer, then it designates
+%       the i'th subterm to operate on in SP. If a
+%       vector of integers, then it deginates the
+%       list of numbered terms to operate on.
+%
+%       If pattern is a sympoly itself, then it
+%       designates the explicit terms to search for.
+%       (See the examples.)
+% 
+%  opmode - (OPTIONAL) character string flag, that
+%       designates the operation to be performed.
+%       opmode must be either 'extract', 'delete',
+%       or empty. Case is ignored.
+%
+%       opmode == 'delete' --> drop the indicated
+%          terms from the sympoly, returning those
+%          that remain.
+%
+%       opmode == 'extract' --> extract only the
+%          indicated terms from the sympoly, dropping
+%          all other terms.
+%
+%       DEFAULT: opmode = 'extract'
+%
+% Example:
+%  
+
+if (nargin<1) || (nargin>3)
+  error('terms requires exactly 2 or 3 arguments')
+end
+
+% default for opmode
+if (nargin <3) || isempty(opmode)
+  opmode = 'extract';
+elseif ~ischar(opmode)
+  error('opmode must be character if supplied, either ''extract'' or ''delete''')
+else
+  valid = {'extract', 'delete'};
+  ind = strmatch(lower(opmode),valid);
+  if isempty(ind)
+    error('opmode must be character if supplied, either ''extract'' or ''delete''')
+  end
+  opmode = valid{ind};
+end
+
+% is SP a sympoly?
+if ~isa(SP,'sympoly')
+  error('SP must be a sympoly')
+end
+
+% is patterns a sympoly or a numeric (positive integer) vector/scalar?
+if isa(pattern,'sympoly') && (numel(pattern) > 1)
+  % pattern must be a scalar monomial pattern
+  error('pattern must be a scalar monomial if it is a sympoly')
+elseif isnumeric(pattern) && ~(all(pattern(:)>0) && all(pattern(:)==round(pattern(:))))
+  error('pattern must be positive integer if numeric')
+elseif ~isnumeric(pattern) && ~isa(pattern,'sympoly')
+  error('pattern must be a sympoly monomial or a positive integer if numeric')
+else
+  pattern = pattern(:);
+end
+
+% is this an array or vector sympoly?
+if numel(SP) > 1
+  % it is an array
+  SPresult = SP;
+  for i = 1:numel(SP)
+    SPresult(i) = terms(SP(i),pattern,opmode);
+  end
+  % we can quit now
+  return
+end
+% if we drop through, then SP is a scalar sympoly
+
+% was pattern a sympoly or a numbered set of terms?
+if isnumeric(pattern)
+  % a numbered set of terms, and SP is a scalar sympoly
+  
+  % how many terms are in SP?
+  nsp = length(SP.Coefficient);
+  
+  if any(pattern> nsp)
+    warning('SYMPOLY:TERMS:patternmismatch','SP does not have as many terms as indicated by pattern')
+  end
+  % drop the extranseous terms in pattern
+  % so we do not search for them
+  pattern(pattern>nsp) = [];
+  
+  if isempty(pattern)
+    % nothing there in the pattern
+    switch opmode
+      case 'extract'
+        SPresult = sympoly(0);
+      case 'delete'
+        SPresult = SP;
+    end
+  else
+    % which terms? Which opmode?
+    switch opmode
+      case 'extract'
+        SPresult = SP;
+        SPresult.Exponent = SPresult.Exponent(pattern(:),:);
+        SPresult.Coefficient = SPresult.Coefficient(pattern(:));
+      case 'delete'
+        SPresult = SP;
+        SPresult.Exponent(pattern,:) = [];
+        SPresult.Coefficient(pattern,:) = [];
+    end
+    
+    % clean up
+    SPresult = clean_sympoly(SPresult);
+  end
+  
+else
+  % pattern is a scalar sympoly, as is SP.
+  
+  % make sure that pattern had only one term in it
+  if length(pattern.Coefficient) > 1
+    error('A sympoly pattern may only have a single polynomial term')
+  end
+  
+  % ensure that SP and patterns have a
+  % consistent set of variables
+  [SP,pattern] = equalize_vars(SP,pattern);
+  
+  % look for a match between exponents in the terms
+  nt = length(SP.Coefficient);
+  k = all(SP.Exponent == repmat(pattern.Exponent,nt,1),2);
+  if any(k)
+    switch opmode
+      case 'extract'
+        SPresult = SP;
+        SPresult.Exponent = SPresult.Exponent(k,:);
+        SPresult.Coefficient = SPresult.Coefficient(k);
+      case 'delete'
+        SPresult = SP;
+        SPresult.Exponent(k,:) = [];
+        SPresult.Coefficient(k,:) = [];
+    end
+  else
+    switch opmode
+      case 'extract'
+        % nothing extracted - so a zero sympoly
+        SPresult = sympoly(0);
+      case 'delete'
+        % no deletions, so the original sympoly
+        SPresult = SP;
+    end
+  end
+
+  % clean up
+  SPresult = clean_sympoly(SPresult);
+end
+
+
+
+  
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/times.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/times.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/times.m	(revision 17)
@@ -0,0 +1,96 @@
+function sp=times(sp1,sp2)
+% sympoly/times: Elementwise multiplication of sympoly objects or scalars
+% usage: sp=sp1.*sp2;
+% 
+% arguments:
+%  sp,sp1,sp2   - sympoly objects or numeric scalars or a numeric array
+
+% are they of compatible sizes?
+s1 = size(sp1);
+s2 = size(sp2);
+if all(s1 == s2) || (numel(sp1)==1) || (numel(sp2)==1)
+  % they are compatible
+  
+  if (numel(sp1) == 1) && (numel(sp2) > 1)
+    % sp1 is a scalar, but not sp2
+    sp = sympoly(sp2);
+    for i = 1:numel(sp2)
+      sp(i) = sp1 .* sp2(i);
+    end
+
+  elseif (numel(sp1) > 1) && (numel(sp2) == 1)
+    % sp2 is a scalar, but not sp1
+    sp = sympoly(sp1);
+    for i = 1:numel(sp1)
+      sp(i) = sp1(i) .* sp2;
+    end
+    
+  elseif (numel(sp1) > 1) && (numel(sp2) > 1)
+    % both are arrays
+    sp = sympoly(sp1);
+    for i = 1:numel(sp1)
+      sp(i) = sp1(i) .* sp2(i);
+    end
+    
+  else
+    % both are scalars.
+    
+    % is one a numeric scalar?
+    if isnumeric(sp1)
+      % sp1 is numeric, so the multiply is easy
+      if sp1 ~= 0
+        sp=sp2;
+        sp.Coefficient = sp1.*sp.Coefficient;
+      else
+        % its a zero
+        sp = sympoly(0);
+      end
+      return
+      
+    elseif isnumeric(sp2)
+      % sp2 is numeric, so the multiply is easy
+      if sp2 ~= 0
+        sp=sp1;
+        sp.Coefficient = sp2.*sp.Coefficient;
+      else
+        % its a zero
+        sp = sympoly(0);
+      end
+      return
+      
+    end
+    
+    % make sure they have compatible variable lists
+    [sp1,sp2]=equalize_vars(sp1,sp2);
+    
+    n1 = length(sp1.Coefficient);
+    n2 = length(sp2.Coefficient);
+    nv = length(sp1.Var);
+    
+    sp = sp1;
+    sp.Exponent = zeros(n1*n2,nv);
+    sp.Coefficient = zeros(n1*n2,1);
+    L = (1:n2)';
+    for i = 1:n1
+      sp.Exponent(L+(i-1)*n2,:) = sp2.Exponent + ...
+         repmat(sp1.Exponent(i,:),n2,1);
+      
+      sp.Coefficient(L+(i-1)*n2,1) = sp2.Coefficient*sp1.Coefficient(i,1);
+
+      L=L+n2;
+    end
+      
+    % clean up the poly
+    sp = clean_sympoly(sp);
+    
+  end
+  
+else
+  error 'sp1 and sp2 are of incompatible sizes for .* operation.'
+  
+end
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/uminus.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/uminus.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/uminus.m	(revision 17)
@@ -0,0 +1,22 @@
+function sp=uminus(sp)
+% sympoly/uminus: Negates a sympoly object
+% usage: sp = -sp;
+% 
+% arguments:
+%  sp - a sympoly object
+
+% Is it a scalar objects or an array?
+s1 = numel(sp);
+
+if (s1>1)
+  % s1 is an array or vector sympoly
+  for i = 1:s1
+    sp(i) = -sp(i);
+  end
+  
+else
+  % must be a scalar sympoly
+  sp.Coefficient= - sp.Coefficient;
+  
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/uplus.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/uplus.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/uplus.m	(revision 17)
@@ -0,0 +1,8 @@
+function sp=uplus(sp)
+% sympoly/uplus: unary plus for a sympoly object
+% usage: sp = +sp;
+% 
+% arguments:
+%  sp - a sympoly object
+
+% its really just a no-op
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/vertcat.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/vertcat.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/@sympoly/vertcat.m	(revision 17)
@@ -0,0 +1,49 @@
+function sp=horzcat(varargin)
+% sympoly/horzcat: vertical concatenation for sympoly objects and scalars
+% usage: sp=[sp1;sp2;sp3;...];
+% 
+% arguments:
+%  sp,sp1,sp2, ... - sympoly objects or scalars or arrays
+
+n=length(varargin);
+
+sp=varargin{1};
+if ~isa(sp,'sympoly')
+  sp=sympoly(sp);
+end
+[r1,c1] = size(sp);
+
+% first check the sizes
+R = sum(cellfun('size',varargin,1));
+
+% expand sp up to the correct final size
+if R>r1
+  sp(R,c1) = sp(1);
+end
+
+for k=2:n
+  spk=varargin{k};
+  [rk,ck]=size(spk);
+  
+  % check for row comformance
+  if c1~=ck
+    error 'Objects do not conform for vertical concatenation'
+  end
+  
+  if ~isa(spk,'sympoly')
+    spk=sympoly(spk);
+  end
+  
+  for i=1:rk
+    for j=1:ck
+      sp(i+r1,j)=spk(i,j);
+    end
+  end
+  
+  r1 = r1 + rk;
+  
+end
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/Sympoly_demos.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/Sympoly_demos.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/Sympoly_demos.m	(revision 17)
@@ -0,0 +1,167 @@
+% Sympoly demos
+
+%% Various ways to create a sympoly
+
+% A scalar (zero) sympoly
+z = sympoly;
+
+% Scalar sympolys 'x', 'y', 'u', 'v' created in the current workspace
+sympoly x y u v
+
+% A sympoly (identity matrix) array. The numeric element format is
+% specified by the command window format style.
+format short g
+ayuh = sympoly(eye(3));
+
+% Use deal to replicate a sympoly into several 
+[a,b] = deal(sympoly);
+
+% Deal can also create a sympoly array
+S(1:2) = deal(sympoly('x'));
+
+% As can repmat
+R = repmat(sympoly('x'),2,3);
+
+whos
+
+%% Arithmetic between sympolys, add, subtract, multiply, divide.
+
+% add 1 to x
+1 + x
+
+%%
+
+% double times a sympoly
+2*y
+
+%%
+
+% subtraction, and a simple power
+(x - y)^2
+
+%%
+
+% More complex expressions
+(x - 2*y)^3/x + sqrt(y^3)
+
+%% Synthetic division
+[quotient,remainder] = syndivide(x^2+2*x-1,x+1)
+
+%% Arrays of sympolys
+[x , y ; 1 , x+y]
+
+%%
+
+% Arrays of sympolys
+v = [1 x y x+y]
+
+%% matrix multiplication
+A = v*v'
+B = v'*v
+%% Selective extraction of terms
+% The second term
+terms(A,2)
+
+%%
+terms(A,x^2,'extract')
+
+%%
+% Delete a term
+p = (1 + x^2 + x^7)^3
+terms(p,x^2,'delete')
+
+%% Selective deletion of terms
+B = terms(A,x,'extract')
+
+%%
+% Operations on arrays
+sympoly lambda
+(rand(3) - lambda*eye(3))
+
+%% Even eigenvalues, using det, then roots 
+roots(det(hilb(4) - lambda*eye(4)))
+
+%% Sum on any dimension
+sum(v,2)
+
+%% And prod
+prod(A(:))
+
+%% Orthogonal polynomials from a variety of familes
+
+% 3rd and 4th order Legendre polynomials
+p3 = orthpoly(3,'legendre')
+p4 = orthpoly(4,'legendre')
+
+%% 
+
+% Orthogonal polynomials are orthogonal over the proper domain
+defint(p3*p4,'x',[-1,1])
+
+%%
+
+% 2nd and 5th order Jacobi polynomials
+p2 = orthpoly(2,'jacobi',2,3)
+p5 = orthpoly(5,'jacobi',2,3)
+
+%% 
+
+% Orthogonal polynomials are orthogonal over the proper domain.
+% Numerical issures left this just eps shy from zero.
+defint(p2*p5*(1-x)^2*(1+x)^5,'x',[-1,1])
+
+%% Roots of the derivative of a sympoly
+sort(roots(diff(orthpoly(6,'cheby2'))))
+
+%% Error propagation through a sympoly
+
+%  Given a unit Normal N(0,1) random variable, compute the
+%  mean and variance of p(x) = 3*x + 2*x^2 - x^3
+  
+sympoly x
+[polymean, polyvar] = polyerrorprop(3*x + 2*x^2 - x^3,'x',0,1)
+
+%%
+
+% Compute the mean and variance of x*y + 3*y^3, where x and y are
+% respectively N(mux,sx^2), and N(muy,sy^2)
+
+sympoly x y mux muy sx sy
+[polymean,polyvar] = polyerrorprop(x*y+3*y^3,{'x' 'y'},[mux,muy],[sx,sy])
+
+%% A simple construction for a Newton-Cotes integration rule
+% Here I'll generate Simpson's 3/8 rule.
+%
+% <http://mathworld.wolfram.com/Simpsons38Rule.html |Simpson's 3/8 rule|>
+%
+M = vander(0:3);
+sympoly x f0 f1 f2 f3
+% an interpolating polynomial on this set of points
+% { (0,f0), (1,f1), (2,f2), (3,f3) }
+P_of_x = [x^3, x^2, x, 1]*pinv(M)*[f0;f1;f2;f3];
+
+%% sympoly uses the command window format style to write out the coefficients
+% Here, I'll force it to be in rational form
+format rat
+
+%%
+% integrate the polynomial over its support
+defint(P_of_x,'x',[0 3])
+
+%%
+% Or here, a 4 point open Newton-Cotes rule
+M = vander(1:4);
+sympoly x f1 f2 f3 f4
+% an interpolating polynomial on this set of points
+% { (1,f1), (2,f2), (3,f3) (4,f4) }
+P_of_x = [x^3, x^2, x, 1]*pinv(M)*[f1;f2;f3;f4]
+
+%%
+% integrate the polynomial over the full domain of the rule
+defint(P_of_x,'x',[0 5])
+
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/adjoint.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/adjoint.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/adjoint.m	(revision 17)
@@ -0,0 +1,32 @@
+function M = adjoint(A)
+% adjoint:  (conjugate) transpose of cofactor matrix of a square matrix
+% usage: M = adjoint(A)
+%
+% arguments: (input)
+%  A - Any square double or sympoly array
+%
+%  M - The adjoint of A
+%
+% See also inv
+%
+% Author: John D'Errico
+% e-mail: woodchips@rochester.rr.com
+% Release: 1.3
+% Release date: 10/18/06
+
+[n,m] = size(A);
+if n~=m
+  error 'A is not a square matrix.'
+end
+
+M = A;
+for i = 1:n
+  ii = setdiff(1:n,i);
+  for j = 1:n
+    jj = setdiff(1:n,j);
+    M(j,i) = (-1)^(i+j)*det(A(ii,jj));
+  end
+end
+
+% Just in case M is complex
+M = conj(M);
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/consolidator.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/consolidator.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/consolidator.m	(revision 17)
@@ -0,0 +1,235 @@
+function [xcon,ycon,ind] = consolidator(x,y,aggregation_mode,tol)
+% consolidator: consolidate "replicates" in x, also aggregate corresponding y
+% usage: [xcon,ycon,ind] = consolidator(x,y,aggregation_mode,tol)
+%
+% arguments: (input)
+%  x - rectangular array of data to be consolidated. If multiple (p)
+%      columns, then each row of x is interpreted as a single point in a
+%      p-dimensional space. (x may be character, in which case xcon will
+%      be returned as a character array.)
+%
+%  y - outputs to be aggregated. If y is not supplied (is left empty)
+%      then consolidator is similar to unique(x,'rows'), but with a
+%      tolerance on which points are distinct. 
+%
+%      y MUST have the same number of rows as x unless y is empty.
+%
+%  aggregation_mode - (OPTIONAL) - an aggregation function, either
+%      in the form of a function name, such as 'mean' or 'sum', or as
+%      a function handle, i.e., @mean or @std. An inline function would
+%      also work, for those users of older matlab releases.
+%
+%      DEFAULT: 'mean'
+%
+%      Aggregation_mode may also be the string 'count', in which case
+%      a count is made of the replicates found. Ycon will only have
+%      one column in this case.
+%      
+%      The function supplied MUST have the property that it operates
+%      on the the first dimension of its input by default.
+%
+%      Common functions one might use here are:
+%      'mean', 'sum', 'median', 'min', 'max', 'std', 'var', 'prod'
+%      'geomean', 'harmmean'.
+%
+%      These last two examples would utilize the statistics toolbox,
+%      however, these means can be generated using a function
+%      handle easily enough if that toolbox is not available:
+%
+%      fun = @(x) 1./mean(1./x)        % harmonic mean
+%      fun = @(x) exp(mean(log(x)))    % geometric mean
+%
+%  tol - (OPTIONAL) tolerance to identify replicate elements of x. If
+%      x has multiple columns, then the same (absolute) tolerance is
+%      applied to all columns of x.
+%
+%      DEFAULT: 0
+%
+% arguments: (output)
+%  xcon - consolidated x. Replicates wthin the tolerance are removed.
+%      if no y was specified, then consolidation is still done on x.
+%
+%  ycon - aggregated value as specified by the aggregation_mode.
+%
+%  ind  - vector - denotes the elements of the original array which
+%      were consolidated into each element of the result.
+%
+%
+% Example usages:
+%
+% Group means: (using a function handle for the aggregation)
+%  x = round(rand(1000,1)*5);
+%  y = x+randn(size(x));
+%  [xg,yg] = consolidator(x,y,@mean);
+%  [xg,yg]
+%  ans =
+%         0    0.1668
+%    1.0000    0.9678
+%    2.0000    2.0829
+%    3.0000    2.9688
+%    4.0000    4.0491
+%    5.0000    4.8852
+%
+% Group counts on x
+%  x = round(randn(100000,1));
+%  [xg,c] = consolidator(x,[],'count');
+%  [xg,c]
+%  ans =
+%         -4          26
+%         -3         633
+%         -2        5926
+%         -1       24391
+%          0       38306
+%          1       24156
+%          2        5982
+%          3         559
+%          4          21
+%
+% Unique(x,'rows'), but with a tolerance
+%  x = rand(100,2);
+%  xc = consolidator(x,[],[],.05);
+%  size(xc)
+%  ans =
+%      62     2
+
+% is it a character array?
+if ischar(x)
+  charflag = 1;
+  x=double(x);
+else
+  charflag = 0;
+end
+
+% check for/supply defaults
+if (nargin<4) || isempty(tol)
+  tol = 0;
+end
+if (tol<0)
+  error 'Tolerance must be non-negative.'
+end
+
+% -------------------------------------------------------
+% DETERMINE AGGREGATION MODE AND CREATE A FUNCTION HANDLE
+% -------------------------------------------------------
+if (nargin < 3) || isempty(aggregation_mode)
+ 	% use default function
+  fun=@mean;
+  aggregation_mode='mean';
+  
+elseif ischar(aggregation_mode)
+	aggregation_mode=lower(aggregation_mode);
+
+  k=strmatch(aggregation_mode,'count');
+  if ~isempty(k)
+    fun=@(x) x;
+	else
+		fun=str2func(aggregation_mode);
+  end
+  
+elseif isa(aggregation_mode,'inline')
+  fun=aggregation_mode;
+  am = struct(fun);
+  aggregation_mode=am.expr;
+  
+else
+  fun=aggregation_mode;
+  aggregation_mode=func2str(fun);
+  
+end
+% -------------------------------------------------------
+
+% was y supplied, or empty?
+[n,p] = size(x);
+if (nargin<2) || isempty(y)
+  y = zeros(n,0);
+  fun = @(x) x;
+  aggregation_mode = 'count';
+end
+% check for mismatch between x and y
+[junk,q] = size(y);
+if n~=junk
+  error 'y must have the same number of rows as x.'
+end
+
+if isempty(y)
+  aggregation_mode = 'count';
+end
+
+% consolidate elements of x.
+% first shift, scale, and then round. 
+if tol>0
+  xhat = x - repmat(min(x,[],1),n,1);
+  xhat = round(xhat/tol);
+else
+  xhat = x;
+end
+[xhat,tags] = sortrows(xhat);
+x=x(tags,:);
+y=y(tags,:);
+
+% count the replicates
+iu = [true;any(diff(xhat),2)];
+eb = cumsum(iu);
+
+% which original elements went where?
+if nargout>2
+  ind = eb;
+  ind(tags) = ind;
+end
+
+% count is the vector of counts for the consolidated
+% x values
+count=accumarray(eb,1).';
+% ec is the expanded counts, i.e., counts for the
+% unconsolidated x
+ec = count(eb);
+
+% special case for aggregation_mode of 'count',
+% but we still need to aggregate (using the mean) on x
+if strcmp(aggregation_mode,'count')
+  ycon = count.';
+  q = 0;   % turn off aggregation on y
+else
+  ycon = zeros(length(count),q);
+end
+
+% loop over the different replicate counts, aggregate x and y
+ucount = unique(count);
+xcon = repmat(NaN,[length(count),p]);
+for k=ucount
+  if k==1
+    xcon(count==1,:) = x(ec==1,:);
+  else
+    v=permute(x(ec==k,:),[3 2 1]);
+    v=reshape(v,p,k,[]);
+    v=permute(v,[2 1 3]);
+    xcon(count==k,:)=reshape(mean(v),p,[]).';
+  end
+  
+  if q>0
+    % aggregate y as specified
+    if k==1
+      switch aggregation_mode
+        case {'std' 'var'}
+          ycon(count==1,:) = 0;
+        otherwise
+          ycon(count==1,:) = y(ec==1,:);
+      end
+    else
+      v=permute(y(ec==k,:),[3 2 1]);
+      v=reshape(v,q,k,[]);
+      v=permute(v,[2 1 3]);
+      
+      % aggregate using the appropriate function
+      ycon(count==k,:)=reshape(fun(v),q,[]).';
+      
+    end
+  end
+end
+
+% was it originally a character array?
+if charflag
+  xcon=char(xcon);
+end
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/gaussquadrule.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/gaussquadrule.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/gaussquadrule.m	(revision 17)
@@ -0,0 +1,99 @@
+function [nodes,weights]=gaussquadrule(n,class,alpha,beta)
+% gaussquadrule: generate a gauss quadrature rule using associated orthogonal polynomials
+% usage: [nodes,weights]=gaussquadrule(n,class,alpha,beta)
+%
+% arguments:
+%        n - number of nodes in the guassian quadrature
+%          
+%    class - (optional) - class of gaussian quadrature rule
+%            any one of { 'Legendre' 'Laguerre' 'Hermite',
+%            'Jacobi', '1Cheby', '2Cheby' }. '1cheby' refers
+%            of course to a first kind Gauss-Chebychev rule.
+%            
+%            Capitalization is ignored and class names
+%            may be shortened as long as they are left
+%            unambiguous. These are all minimally valid:
+%            {'le', 'la', 'h' 'j' '1' '2'}
+%            
+%            DEFAULT == 'Legendre'
+%
+%            The nominal integration intervals are:
+%            
+%              'Legendre' --> [  -1,  1]
+%              'Laguerre' --> [   0,inf]
+%              'Hermite'  --> [-inf,inf]
+%              'Jacobi'   --> [  -1,  1]
+%              '1Cheby'   --> [  -1,  1]
+%              '2Cheby'   --> [  -1,  1]
+%            
+%            See Abramowitz & Stegun for in-depth information
+%            
+% alpha, beta - (optional) parameters for the rules
+%            DEFAULT == 0 for both
+%
+%            alpha and beta are ignored for the 'legendre',
+%            'hermite', 'cheby1' and 'cheby2' rules. Only
+%            alpha is used for the Laguerre quadrature rules.
+%           
+% arguments (output)
+%    nodes - x values for integration
+%  weights - integration weights
+
+% default parameters
+if (nargin<2) || isempty(class)
+  class='legendre';
+end
+
+class=lower(class);
+valc={'legendre' 'laguerre' 'hermite' 'jacobi' 'cheby1' ...
+      'cheby2' '1chebychev' '2chebychev'};
+ind=strmatch(class,valc);
+if isempty(ind)
+  error 'Invalid quadrature class'
+elseif length(ind)>1
+  error 'Ambiguous quadrature class'
+else
+  class=valc{ind};
+end
+
+if (nargin<4) || isempty(beta)
+  beta=0;
+end
+if (nargin<3) || isempty(alpha);
+  alpha=0;
+end
+
+% generate the appropriate orthogonal sympolys.
+% use the sympoly objects for this. orthpoly
+% creates them.
+pn = orthpoly(n,class,alpha,beta);
+pnp1 = orthpoly(n+1,class,alpha,beta);
+
+nodes=roots(pn);
+nodes=sort(nodes');
+
+pnprime=diff(pn);
+weights=zeros(1,n);
+for i=1:n
+  weights(i)=-(pnp1.Coefficient(end))/(pn.Coefficient(end))./ ...
+    double(subs(pnp1,'x',nodes(i)))./ ...
+    double(subs(pnprime,'x',nodes(i)));
+end
+
+% norm
+switch class
+  case 'legendre'
+    weights=weights*(2/(2*n+1));
+  case 'hermite'
+    weights=sqrt(pi)*(2^n)*(gamma(n+1))*weights;
+  case 'laguerre'
+    weights=weights*gamma(n+alpha+1)/gamma(n+1);
+  case 'jacobi'
+    weights=weights*(2/sum(weights));
+    nodes=(nodes+1)/2;
+  case {'cheby1' '1chebychev'}
+    weights=weights*(2/sum(weights));
+  case {'cheby2' '2chebychev'}
+    weights=weights*(2/sum(weights));
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/html/Sympoly_demos.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/html/Sympoly_demos.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/html/Sympoly_demos.html	(revision 17)
@@ -0,0 +1,564 @@
+
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
+<html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+   
+      <!--
+This HTML is auto-generated from an M-file.
+To make changes, update the M-file and republish this document.
+      -->
+      <title>Sympoly_demos</title>
+      <meta name="generator" content="MATLAB 7.5">
+      <meta name="date" content="2009-03-16">
+      <meta name="m-file" content="Sympoly_demos"><style>
+
+body {
+  background-color: white;
+  margin:10px;
+}
+
+h1 {
+  color: #990000; 
+  font-size: x-large;
+}
+
+h2 {
+  color: #990000;
+  font-size: medium;
+}
+
+/* Make the text shrink to fit narrow windows, but not stretch too far in 
+wide windows. */ 
+p,h1,h2,div.content div {
+  max-width: 600px;
+  /* Hack for IE6 */
+  width: auto !important; width: 600px;
+}
+
+pre.codeinput {
+  background: #EEEEEE;
+  padding: 10px;
+}
+@media print {
+  pre.codeinput {word-wrap:break-word; width:100%;}
+} 
+
+span.keyword {color: #0000FF}
+span.comment {color: #228B22}
+span.string {color: #A020F0}
+span.untermstring {color: #B20000}
+span.syscmd {color: #B28C00}
+
+pre.codeoutput {
+  color: #666666;
+  padding: 10px;
+}
+
+pre.error {
+  color: red;
+}
+
+p.footer {
+  text-align: right;
+  font-size: xx-small;
+  font-weight: lighter;
+  font-style: italic;
+  color: gray;
+}
+
+  </style></head>
+   <body>
+      <div class="content">
+         <h2>Contents</h2>
+         <div>
+            <ul>
+               <li><a href="#2">Various ways to create a sympoly</a></li>
+               <li><a href="#3">Arithmetic between sympolys, add, subtract, multiply, divide.</a></li>
+               <li><a href="#7">Synthetic division</a></li>
+               <li><a href="#8">Arrays of sympolys</a></li>
+               <li><a href="#10">matrix multiplication</a></li>
+               <li><a href="#11">Selective extraction of terms</a></li>
+               <li><a href="#14">Selective deletion of terms</a></li>
+               <li><a href="#16">Even eigenvalues, using det, then roots</a></li>
+               <li><a href="#17">Sum on any dimension</a></li>
+               <li><a href="#18">And prod</a></li>
+               <li><a href="#19">Orthogonal polynomials from a variety of familes</a></li>
+               <li><a href="#23">Roots of the derivative of a sympoly</a></li>
+               <li><a href="#24">Error propagation through a sympoly</a></li>
+               <li><a href="#26">A simple construction for a Newton-Cotes integration rule</a></li>
+               <li><a href="#27">sympoly uses the command window format style to write out the coefficients</a></li>
+            </ul>
+         </div><pre class="codeinput"><span class="comment">% Sympoly demos</span>
+</pre><h2>Various ways to create a sympoly<a name="2"></a></h2><pre class="codeinput"><span class="comment">% A scalar (zero) sympoly</span>
+z = sympoly;
+
+<span class="comment">% Scalar sympolys 'x', 'y', 'u', 'v' created in the current workspace</span>
+sympoly <span class="string">x</span> <span class="string">y</span> <span class="string">u</span> <span class="string">v</span>
+
+<span class="comment">% A sympoly (identity matrix) array. The numeric element format is</span>
+<span class="comment">% specified by the command window format style.</span>
+format <span class="string">short</span> <span class="string">g</span>
+ayuh = sympoly(eye(3));
+
+<span class="comment">% Use deal to replicate a sympoly into several</span>
+[a,b] = deal(sympoly);
+
+<span class="comment">% Deal can also create a sympoly array</span>
+S(1:2) = deal(sympoly(<span class="string">'x'</span>));
+
+<span class="comment">% As can repmat</span>
+R = repmat(sympoly(<span class="string">'x'</span>),2,3);
+
+whos
+</pre><pre class="codeoutput">  Name            Size            Bytes  Class      Attributes
+
+  A               1x1               684  sympoly              
+  B               1x1               448  sympoly              
+  F               1x1              2198  sympoly              
+  I               1x1              2302  sympoly              
+  I1              1x1              2044  sympoly              
+  I2              1x1              2302  sympoly              
+  Ic              1x1               530  sympoly              
+  M               4x4               128  double               
+  N               1x1              2302  sympoly              
+  Nc              1x1               530  sympoly              
+  P_of_x          1x1              1646  sympoly              
+  Q               1x1             15424  sympoly              
+  R               2x3              1740  sympoly              
+  S               1x2               708  sympoly              
+  a               1x1               448  sympoly              
+  ans             1x1               880  sympoly              
+  ayuh            3x3              2496  sympoly              
+  b               1x1               448  sympoly              
+  f0              1x1               452  sympoly              
+  f1              1x1               452  sympoly              
+  f2              1x1               452  sympoly              
+  f3              1x1               452  sympoly              
+  f4              1x1               452  sympoly              
+  fA              1x1               452  sympoly              
+  fAB             1x1               454  sympoly              
+  fAC             1x1               454  sympoly              
+  fAD             1x1               454  sympoly              
+  fB              1x1               452  sympoly              
+  fBC             1x1               454  sympoly              
+  fBD             1x1               454  sympoly              
+  fC              1x1               452  sympoly              
+  fCD             1x1               454  sympoly              
+  fD              1x1               452  sympoly              
+  fcenter         1x1               462  sympoly              
+  fx              1x1               452  sympoly              
+  fxx             1x1               454  sympoly              
+  fxxx            1x1               456  sympoly              
+  fxxy            1x1               456  sympoly              
+  fxy             1x1               454  sympoly              
+  fxyy            1x1               456  sympoly              
+  fy              1x1               452  sympoly              
+  fyy             1x1               454  sympoly              
+  fyyy            1x1               456  sympoly              
+  lambda          1x1               460  sympoly              
+  mux             1x1               454  sympoly              
+  muy             1x1               454  sympoly              
+  p               1x1               734  sympoly              
+  p2              1x1               566  sympoly              
+  p3              1x1               542  sympoly              
+  p4              1x1               566  sympoly              
+  p5              1x1               638  sympoly              
+  polymean        1x1               748  sympoly              
+  polyvar         1x1              1076  sympoly              
+  quotient        1x1               542  sympoly              
+  remainder       1x1               448  sympoly              
+  sx              1x1               452  sympoly              
+  sy              1x1               452  sympoly              
+  u               1x1               450  sympoly              
+  v               1x1               450  sympoly              
+  x               1x1               450  sympoly              
+  xy              7x2               112  double               
+  xyz            11x3               264  double               
+  y               1x1               450  sympoly              
+  z               1x1               448  sympoly              
+
+</pre><h2>Arithmetic between sympolys, add, subtract, multiply, divide.<a name="3"></a></h2><pre class="codeinput"><span class="comment">% add 1 to x</span>
+1 + x
+</pre><pre class="codeoutput">ans =
+    1 + x
+</pre><pre class="codeinput"><span class="comment">% double times a sympoly</span>
+2*y
+</pre><pre class="codeoutput">ans =
+    2*y
+</pre><pre class="codeinput"><span class="comment">% subtraction, and a simple power</span>
+(x - y)^2
+</pre><pre class="codeoutput">ans =
+    y^2 - 2*x*y + x^2
+</pre><pre class="codeinput"><span class="comment">% More complex expressions</span>
+(x - 2*y)^3/x + sqrt(y^3)
+</pre><pre class="codeoutput">ans =
+    -8*x^-1*y^3 + y^1.5 + 12*y^2 - 6*x*y + x^2
+</pre><h2>Synthetic division<a name="7"></a></h2><pre class="codeinput">[quotient,remainder] = syndivide(x^2+2*x-1,x+1)
+</pre><pre class="codeoutput">quotient =
+    1 + x
+remainder =
+    -2
+</pre><h2>Arrays of sympolys<a name="8"></a></h2><pre class="codeinput">[x , y ; 1 , x+y]
+</pre><pre class="codeoutput">ans =
+Sympoly array has size = [2  2]
+ 
+Sympoly array element [1  1]
+    x
+Sympoly array element [2  1]
+    1
+Sympoly array element [1  2]
+    y
+Sympoly array element [2  2]
+    y + x
+</pre><pre class="codeinput"><span class="comment">% Arrays of sympolys</span>
+v = [1 x y x+y]
+</pre><pre class="codeoutput">v =
+Sympoly array has size = [1  4]
+ 
+Sympoly array element [1  1]
+    1
+Sympoly array element [1  2]
+    x
+Sympoly array element [1  3]
+    y
+Sympoly array element [1  4]
+    y + x
+</pre><h2>matrix multiplication<a name="10"></a></h2><pre class="codeinput">A = v*v'
+B = v'*v
+</pre><pre class="codeoutput">A =
+    1 + 2*y^2 + 2*x*y + 2*x^2
+B =
+Sympoly array has size = [4  4]
+ 
+Sympoly array element [1  1]
+    1
+Sympoly array element [2  1]
+    x
+Sympoly array element [3  1]
+    y
+Sympoly array element [4  1]
+    y + x
+Sympoly array element [1  2]
+    x
+Sympoly array element [2  2]
+    x^2
+Sympoly array element [3  2]
+    x*y
+Sympoly array element [4  2]
+    x*y + x^2
+Sympoly array element [1  3]
+    y
+Sympoly array element [2  3]
+    x*y
+Sympoly array element [3  3]
+    y^2
+Sympoly array element [4  3]
+    y^2 + x*y
+Sympoly array element [1  4]
+    y + x
+Sympoly array element [2  4]
+    x*y + x^2
+Sympoly array element [3  4]
+    y^2 + x*y
+Sympoly array element [4  4]
+    y^2 + 2*x*y + x^2
+</pre><h2>Selective extraction of terms<a name="11"></a></h2>
+         <p>The second term</p><pre class="codeinput">terms(A,2)
+</pre><pre class="codeoutput">ans =
+    2*y^2
+</pre><pre class="codeinput">terms(A,x^2,<span class="string">'extract'</span>)
+</pre><pre class="codeoutput">ans =
+    2*x^2
+</pre><p>Delete a term</p><pre class="codeinput">p = (1 + x^2 + x^7)^3
+terms(p,x^2,<span class="string">'delete'</span>)
+</pre><pre class="codeoutput">p =
+    1 + 3*x^2 + 3*x^4 + x^6 + 3*x^7 + 6*x^9 + 3*x^11 + 3*x^14 + 3*x^16 + x^21
+ans =
+    1 + 3*x^4 + x^6 + 3*x^7 + 6*x^9 + 3*x^11 + 3*x^14 + 3*x^16 + x^21
+</pre><h2>Selective deletion of terms<a name="14"></a></h2><pre class="codeinput">B = terms(A,x,<span class="string">'extract'</span>)
+</pre><pre class="codeoutput">B =
+    0
+</pre><p>Operations on arrays</p><pre class="codeinput">sympoly <span class="string">lambda</span>
+(rand(3) - lambda*eye(3))
+</pre><pre class="codeoutput">ans =
+Sympoly array has size = [3  3]
+ 
+Sympoly array element [1  1]
+    0.96489 - lambda
+Sympoly array element [2  1]
+    0.15761
+Sympoly array element [3  1]
+    0.97059
+Sympoly array element [1  2]
+    0.95717
+Sympoly array element [2  2]
+    0.48538 - lambda
+Sympoly array element [3  2]
+    0.80028
+Sympoly array element [1  3]
+    0.14189
+Sympoly array element [2  3]
+    0.42176
+Sympoly array element [3  3]
+    0.91574 - lambda
+</pre><h2>Even eigenvalues, using det, then roots<a name="16"></a></h2><pre class="codeinput">roots(det(hilb(4) - lambda*eye(4)))
+</pre><pre class="codeoutput">ans =
+       1.5002
+      0.16914
+    0.0067383
+   9.6702e-05
+</pre><h2>Sum on any dimension<a name="17"></a></h2><pre class="codeinput">sum(v,2)
+</pre><pre class="codeoutput">ans =
+    1 + 2*y + 2*x
+</pre><h2>And prod<a name="18"></a></h2><pre class="codeinput">prod(A(:))
+</pre><pre class="codeoutput">ans =
+    1 + 2*y^2 + 2*x*y + 2*x^2
+</pre><h2>Orthogonal polynomials from a variety of familes<a name="19"></a></h2><pre class="codeinput"><span class="comment">% 3rd and 4th order Legendre polynomials</span>
+p3 = orthpoly(3,<span class="string">'legendre'</span>)
+p4 = orthpoly(4,<span class="string">'legendre'</span>)
+</pre><pre class="codeoutput">p3 =
+    -1.5*x + 2.5*x^3
+p4 =
+    0.375 - 3.75*x^2 + 4.375*x^4
+</pre><pre class="codeinput"><span class="comment">% Orthogonal polynomials are orthogonal over the proper domain</span>
+defint(p3*p4,<span class="string">'x'</span>,[-1,1])
+</pre><pre class="codeoutput">ans =
+    0
+</pre><pre class="codeinput"><span class="comment">% 2nd and 5th order Jacobi polynomials</span>
+p2 = orthpoly(2,<span class="string">'jacobi'</span>,2,3)
+p5 = orthpoly(5,<span class="string">'jacobi'</span>,2,3)
+</pre><pre class="codeoutput">p2 =
+    -1 - 2*x + 9*x^2
+p5 =
+    -0.65625 + 7.2188*x + 14.4375*x^2 - 62.5625*x^3 - 31.2812*x^4 + 93.8438*x^5
+</pre><pre class="codeinput"><span class="comment">% Orthogonal polynomials are orthogonal over the proper domain.</span>
+<span class="comment">% Numerical issures left this just eps shy from zero.</span>
+defint(p2*p5*(1-x)^2*(1+x)^5,<span class="string">'x'</span>,[-1,1])
+</pre><pre class="codeoutput">ans =
+    -1.4211e-14
+</pre><h2>Roots of the derivative of a sympoly<a name="23"></a></h2><pre class="codeinput">sort(roots(diff(orthpoly(6,<span class="string">'cheby2'</span>))))
+</pre><pre class="codeoutput">ans =
+     -0.79821
+     -0.44293
+            0
+      0.44293
+      0.79821
+</pre><h2>Error propagation through a sympoly<a name="24"></a></h2><pre class="codeinput"><span class="comment">%  Given a unit Normal N(0,1) random variable, compute the</span>
+<span class="comment">%  mean and variance of p(x) = 3*x + 2*x^2 - x^3</span>
+
+sympoly <span class="string">x</span>
+[polymean, polyvar] = polyerrorprop(3*x + 2*x^2 - x^3,<span class="string">'x'</span>,0,1)
+</pre><pre class="codeoutput">polymean =
+    2
+polyvar =
+    14
+</pre><pre class="codeinput"><span class="comment">% Compute the mean and variance of x*y + 3*y^3, where x and y are</span>
+<span class="comment">% respectively N(mux,sx^2), and N(muy,sy^2)</span>
+
+sympoly <span class="string">x</span> <span class="string">y</span> <span class="string">mux</span> <span class="string">muy</span> <span class="string">sx</span> <span class="string">sy</span>
+[polymean,polyvar] = polyerrorprop(x*y+3*y^3,{<span class="string">'x'</span> <span class="string">'y'</span>},[mux,muy],[sx,sy])
+</pre><pre class="codeoutput">polymean =
+    9*muy*sy^2 + 3*muy^3 + mux*muy
+polyvar =
+    135*sy^6 + sx^2*sy^2 + 324*muy^2*sy^4 + muy^2*sx^2 + 81*muy^4*sy^2 + 18*mux*sy^4 + 18*mux*muy^2*sy^2 + mux^2*sy^2
+</pre><h2>A simple construction for a Newton-Cotes integration rule<a name="26"></a></h2>
+         <p>Here I'll generate Simpson's 3/8 rule.</p>
+         <p><a href="http://mathworld.wolfram.com/Simpsons38Rule.html"><tt>Simpson's 3/8 rule</tt></a></p><pre class="codeinput">M = vander(0:3);
+sympoly <span class="string">x</span> <span class="string">f0</span> <span class="string">f1</span> <span class="string">f2</span> <span class="string">f3</span>
+<span class="comment">% an interpolating polynomial on this set of points</span>
+<span class="comment">% { (0,f0), (1,f1), (2,f2), (3,f3) }</span>
+P_of_x = [x^3, x^2, x, 1]*pinv(M)*[f0;f1;f2;f3];
+</pre><h2>sympoly uses the command window format style to write out the coefficients<a name="27"></a></h2>
+         <p>Here, I'll force it to be in rational form</p><pre class="codeinput">format <span class="string">rat</span>
+</pre><p>integrate the polynomial over its support</p><pre class="codeinput">defint(P_of_x,<span class="string">'x'</span>,[0 3])
+</pre><pre class="codeoutput">ans =
+    3/8*f3 + 9/8*f2 + 9/8*f1 + 3/8*f0
+</pre><p>Or here, a 4 point open Newton-Cotes rule</p><pre class="codeinput">M = vander(1:4);
+sympoly <span class="string">x</span> <span class="string">f1</span> <span class="string">f2</span> <span class="string">f3</span> <span class="string">f4</span>
+<span class="comment">% an interpolating polynomial on this set of points</span>
+<span class="comment">% { (1,f1), (2,f2), (3,f3) (4,f4) }</span>
+P_of_x = [x^3, x^2, x, 1]*pinv(M)*[f1;f2;f3;f4]
+</pre><pre class="codeoutput">P_of_x =
+    -1*f4 + 11/6*f4*x - 1*f4*x^2 + 1/6*f4*x^3 + 4*f3 - 7*f3*x + 7/2*f3*x^2 - 1/2*f3*x^3 - 6*f2 + 19/2*f2*x - 4*f2*x^2 + 1/2*f2*x^3 + 4*f1 - 13/3*f1*x + 3/2*f1*x^2 - 1/6*f1*x^3
+</pre><p>integrate the polynomial over the full domain of the rule</p><pre class="codeinput">defint(P_of_x,<span class="string">'x'</span>,[0 5])
+</pre><pre class="codeoutput">ans =
+    55/24*f4 + 5/24*f3 + 5/24*f2 + 55/24*f1
+</pre><p class="footer"><br>
+            Published with MATLAB&reg; 7.5<br></p>
+      </div>
+      <!--
+##### SOURCE BEGIN #####
+% Sympoly demos
+
+%% Various ways to create a sympoly
+
+% A scalar (zero) sympoly
+z = sympoly;
+
+% Scalar sympolys 'x', 'y', 'u', 'v' created in the current workspace
+sympoly x y u v
+
+% A sympoly (identity matrix) array. The numeric element format is
+% specified by the command window format style.
+format short g
+ayuh = sympoly(eye(3));
+
+% Use deal to replicate a sympoly into several 
+[a,b] = deal(sympoly);
+
+% Deal can also create a sympoly array
+S(1:2) = deal(sympoly('x'));
+
+% As can repmat
+R = repmat(sympoly('x'),2,3);
+
+whos
+
+%% Arithmetic between sympolys, add, subtract, multiply, divide.
+
+% add 1 to x
+1 + x
+
+%%
+
+% double times a sympoly
+2*y
+
+%%
+
+% subtraction, and a simple power
+(x - y)^2
+
+%%
+
+% More complex expressions
+(x - 2*y)^3/x + sqrt(y^3)
+
+%% Synthetic division
+[quotient,remainder] = syndivide(x^2+2*x-1,x+1)
+
+%% Arrays of sympolys
+[x , y ; 1 , x+y]
+
+%%
+
+% Arrays of sympolys
+v = [1 x y x+y]
+
+%% matrix multiplication
+A = v*v'
+B = v'*v
+%% Selective extraction of terms
+% The second term
+terms(A,2)
+
+%%
+terms(A,x^2,'extract')
+
+%%
+% Delete a term
+p = (1 + x^2 + x^7)^3
+terms(p,x^2,'delete')
+
+%% Selective deletion of terms
+B = terms(A,x,'extract')
+
+%%
+% Operations on arrays
+sympoly lambda
+(rand(3) - lambda*eye(3))
+
+%% Even eigenvalues, using det, then roots 
+roots(det(hilb(4) - lambda*eye(4)))
+
+%% Sum on any dimension
+sum(v,2)
+
+%% And prod
+prod(A(:))
+
+%% Orthogonal polynomials from a variety of familes
+
+% 3rd and 4th order Legendre polynomials
+p3 = orthpoly(3,'legendre')
+p4 = orthpoly(4,'legendre')
+
+%% 
+
+% Orthogonal polynomials are orthogonal over the proper domain
+defint(p3*p4,'x',[-1,1])
+
+%%
+
+% 2nd and 5th order Jacobi polynomials
+p2 = orthpoly(2,'jacobi',2,3)
+p5 = orthpoly(5,'jacobi',2,3)
+
+%% 
+
+% Orthogonal polynomials are orthogonal over the proper domain.
+% Numerical issures left this just eps shy from zero.
+defint(p2*p5*(1-x)^2*(1+x)^5,'x',[-1,1])
+
+%% Roots of the derivative of a sympoly
+sort(roots(diff(orthpoly(6,'cheby2'))))
+
+%% Error propagation through a sympoly
+
+%  Given a unit Normal N(0,1) random variable, compute the
+%  mean and variance of p(x) = 3*x + 2*x^2 - x^3
+  
+sympoly x
+[polymean, polyvar] = polyerrorprop(3*x + 2*x^2 - x^3,'x',0,1)
+
+%%
+
+% Compute the mean and variance of x*y + 3*y^3, where x and y are
+% respectively N(mux,sx^2), and N(muy,sy^2)
+
+sympoly x y mux muy sx sy
+[polymean,polyvar] = polyerrorprop(x*y+3*y^3,{'x' 'y'},[mux,muy],[sx,sy])
+
+%% A simple construction for a Newton-Cotes integration rule
+% Here I'll generate Simpson's 3/8 rule.
+%
+% <http://mathworld.wolfram.com/Simpsons38Rule.html |Simpson's 3/8 rule|>
+%
+M = vander(0:3);
+sympoly x f0 f1 f2 f3
+% an interpolating polynomial on this set of points
+% { (0,f0), (1,f1), (2,f2), (3,f3) }
+P_of_x = [x^3, x^2, x, 1]*pinv(M)*[f0;f1;f2;f3];
+
+%% sympoly uses the command window format style to write out the coefficients
+% Here, I'll force it to be in rational form
+format rat
+
+%%
+% integrate the polynomial over its support
+defint(P_of_x,'x',[0 3])
+
+%%
+% Or here, a 4 point open Newton-Cotes rule
+M = vander(1:4);
+sympoly x f1 f2 f3 f4
+% an interpolating polynomial on this set of points
+% { (1,f1), (2,f2), (3,f3) (4,f4) }
+P_of_x = [x^3, x^2, x, 1]*pinv(M)*[f1;f2;f3;f4]
+
+%%
+% integrate the polynomial over the full domain of the rule
+defint(P_of_x,'x',[0 5])
+
+
+
+
+
+
+
+##### SOURCE END #####
+-->
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/orthpoly.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/orthpoly.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/orthpoly.m	(revision 17)
@@ -0,0 +1,142 @@
+function sp=orthpoly(n,opfamily,alpha,beta)
+% orthpoly: generate an n'th order (symbolic) orthogonal polynomial
+% usage: sp=orthpoly(n,opfamily,alpha,beta);
+% 
+% arguments: (input)
+%  n        - order of polynomial requested
+%
+%  opfamily - (OPTIONAL) character string - specifies the
+%             type of orthogonal polynomial to be generated.
+%             Legal polytypes are: {'legendre', 'hermite',
+%             '1cheby', '2cheby', 'laguerre', 'jacoby'}
+%
+%             Default == 'legendre'
+%             
+%             Note: 1cheby refers to first kind
+%             chebychev polynomials (Tn(x)),
+%             and 2cheby refers to second kind
+%             chebychev polynomials (Un(x))
+%             
+%             The domain of support is [-1,1] for the polynomial
+%             families 'legendre', '1cheby', '2cheby', 'jacoby'.
+%             It is [0,inf] for 'laguerre', and [-inf,inf] for
+%             the 'hermite' family.
+%
+%             See Abramowitz & Stegun for in-depth information
+%             on all of these polynomial families.
+%
+%  alpha,beta - scalar - orthogonal family parameters - 
+%             See Abramowitz & Stegun for more information.
+%
+%             These parameters are ignored for 'legendre',
+%             'hermite', '1cheby' and '2cheby' polys.
+%
+% arguments: (output)
+%  p        - sympoly object containing the polynomial
+
+% defaults
+if (nargin<2)|isempty(opfamily)
+  % default is legendre
+  opfamily = 'legendre';
+else
+  if ~ischar(opfamily)
+    error 'Opfamily must be a character string'
+  end
+  valtypes = {'legendre', 'hermite', 'cheby1', '1chebychev' ...
+            'cheby2', '2chebychev', 'laguerre', 'jacobi'};
+  
+  ptind = strmatch(opfamily,valtypes);
+  if isempty(ptind)
+    % no match
+    error 'Invalid opfamily'
+  elseif length(ptind)>1
+    % match more than one
+    error 'Ambiguous opfamily'
+  else
+    % there was exactly one match
+    opfamily = valtypes{ptind};
+  end
+end
+
+if nargin<1
+  error 'Polynomial order must be supplied. No default for n.'
+end
+
+if (nargin<3) || isempty(alpha)
+  % default is 0
+  alpha = 0;
+end
+
+if (nargin<4) || isempty(beta)
+  % default is 0
+  beta = 0;
+end
+
+% initialize (-1)'th and zero'th order sympolys
+% for the three term recurrence relation.
+pnm1=sympoly(0);
+pn=sympoly(1);
+x=sympoly('x');
+
+if n==0
+  % p0 is easy to get
+  sp=pn;
+  return
+elseif n<0
+  error 'Polynomial order must not be negative'
+end
+
+% iterate to get polynomial
+for i=0:(n-1)
+  switch opfamily
+    case 'legendre'
+      pnp1=((2*i+1)*x*pn - i*pnm1)./(i+1);
+      % normalize so that Tn(1)=1
+      pnp1=pnp1./double(subs(pnp1,'x',1));
+      
+    case 'hermite'
+      % neither alpha nor beta is meaningful
+      pnp1=2*pn*x - 2*i*pnm1;
+      
+    case 'laguerre'
+      % only alpha is meaningful here
+      pnp1=((2*i+alpha+1)*pn - pn*x - (i+alpha)*pnm1)./(i+1);
+      
+    case {'cheby1' '1chebychev'}
+      % first kind chebychev
+      % neither alpha nor beta is meaningful
+      pnp1=(2*pn*x - pnm1);
+      % normalize so that Tn(1)=1
+      pnp1=pnp1/double(subs(pnp1,'x',1));
+      
+    case {'cheby2' '2chebychev'}
+      % second kind chebychev
+      % neither alpha nor beta is meaningful
+      pnp1=(2*pn*x - pnm1);
+      
+    case 'jacobi'
+      % both alpha and beta are needed
+      if (alpha~=0) | (beta~=0)
+        a1n=2*(i+1)*(i+alpha+beta+1)*(2*i+alpha+beta);
+        a2n=(2*i+alpha+beta+1)*(alpha^2-beta^2);
+        if (2*i+alpha+beta)<=150
+          a3n=gamma(2*i+alpha+beta+3)./gamma(2*i+alpha+beta);
+        else
+          a3n=exp(gammaln(2*i+alpha+beta+3)-gammaln(2*i+alpha+beta));
+        end
+        a4n=2*(i+alpha)*(i+beta)*(2*i+alpha+beta+2);
+        pnp1=(a2n*pn + a3n*pn*x - a4n*pnm1)/a1n;
+      else
+        pnp1=((2*i+1)*pn*x - i*pnm1)/(i+1);
+      end
+  end
+  pnm1=pn;
+  pn=pnp1;
+
+end
+
+% return the generated sympoly
+sp=pnp1;
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sym2sympoly.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sym2sympoly.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sym2sympoly.m	(revision 17)
@@ -0,0 +1,124 @@
+function sp = sym2sympoly(sim,varlist)
+% sym2sympoly: converts a symbolic toolbox polynomial into a sympoly
+% usage: sp = sym2sympoly(sim,varlist)
+%
+% arguments: (input)
+%  sim - symbolic toolbox object, which contains the
+%        polynomial (or multinomial) to be converted
+%        over.
+%
+%  varlist - cell array of all the (scalar) variables to be
+%        found in sim. These may be strings, or symbolic
+%        toolbox objects themselves.
+%        
+%
+% arguments: (output)
+%  sp  - sympoly object, as converted
+%
+%
+% Example usage:
+%  syms x y
+%  z = x + 2*y;
+%  sp = sym2sympoly(z,{x,y});
+% 
+% Example usage:
+%  syms u v w
+%  z = u^2 + u*v*w^2;
+%  sp = sym2sympoly(z,{'u', 'v', 'w'});
+%
+%
+% Author: John D'Errico
+% E-mail: woodchips@rochester.rr.com
+% Release: 1.0
+% Release date: 1/31/07
+
+% was a list of variables provided?
+if (nargin<2)
+  varlist = parsesym(sim);
+end
+
+% create sympoly variables from each variable in varlist
+nv = length(varlist);
+for i = 1:nv
+  var = varlist{i};
+  if ischar(var)
+    % this was a character string, containing a
+    % variable name
+    sympoly(var)
+  else
+    % it was a symbolic toolbox object with a variable
+    varstruct = struct(var);
+    
+    % create a sympoly with the same name as the variable
+    sympoly(varstruct.s)
+  end
+end
+
+% unpack the symbolic toolbox struct
+simstruct = struct(sim);
+str = simstruct.s;
+
+% and create a sympoly to be returned
+str = ['sp = ',str,';'];
+eval(str)
+
+
+% =================================================
+%   end mainline
+% =================================================
+
+% =================================================
+%   begin subfunctions
+% =================================================
+function vars = parsesym(str)
+% parsesym: parses out the variable names from a string
+% usage: vars = parsesym(str)
+%
+% arguments: (input)
+%  str - character string - contains a symbolicly written expression
+%  
+% arguments: (output)
+%  vars - cell array of strings, each of which is a probable
+%      variable name as parsed from the string expression str.
+%
+% Example usage:
+%  str = 'x + 2*y + xy^2 - 3.1415926535*u*v*w'
+%  vars = parsym(str);
+%  
+%  vars will be the cell array {'u' 'v' 'w' 'x' 'xy' 'y'}
+
+vars = {};
+if nargin<1
+  help parsesym
+elseif isempty(str)
+  % empty begets empty
+  return
+elseif isstruct(str)
+  % a sym struct
+  sstruct = struct(str);
+  str = sstruct.s;
+elseif ~ischar(str)
+  error 's must be a character string or a symbolic TB struct'
+end
+
+% drop operators, etc.
+D = '+^*./-';
+k = ismember(str,D);
+str(k) = ' ';
+
+% parse the pieces one at a time
+while ~isempty(str)
+  % grab the first token from the current string
+  [tok,str] = strtok(str,' ');
+  
+  % does tok start with a numeric character?
+  if ~ismember(tok(1),'0123456789')
+    vars{end+1} = tok;
+  end
+  
+end
+
+% drop the replicated variable names, sort them too
+vars = unique(vars);
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sympoly2poly.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sympoly2poly.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sympoly2poly.m	(revision 17)
@@ -0,0 +1,28 @@
+function poly=sympoly2poly(sp)
+% sympoly/sympoly2poly: single variable sympoly to matlab poly form
+% usage: poly=sympoly2poly(sp);
+% 
+% arguments:
+%  sp   - sympoly object
+%  poly - vector of polynomial coefficients, highest order first
+
+% list of the variable names in this sympoly?
+polyvars = setdiff(sp.Var,{''});
+
+% check that p is a function of only one variable
+if length(polyvars)>1
+  error 'Roots only works on a single variable sympoly'
+end
+
+% just call the regular roots function
+coef = sp.Coefficient;
+xind = strmatch(polyvars{1},sp.Var,'exact');
+expon = sp.Exponent(:,xind);
+
+if all(expon>=0) && all(expon==fix(expon))
+  poly = zeros(1,max(expon)+1);
+  poly(max(expon)-expon+1) = coef(:)';
+else
+  error 'Term exponents must be non-negative integers'
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sympoly2polyn.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sympoly2polyn.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/SymbolicPolynomials/SymbolicPolynomials/sympoly2polyn.m	(revision 17)
@@ -0,0 +1,62 @@
+function Pn = sympoly2polyn(sp)
+% sympoly2polyn: converts a sympoly to something that polyvaln can evaluate efficiently
+% usage: Pn = sympoly2polyn(sp)
+%
+% arguments: (input)
+%  sp - any sympoly object, as created by the sympoly toolbox
+%
+% arguments: (output)
+%  Pn  - a struct that polyvaln can use
+%
+% Example:
+%  sympoly x y z
+%  sp = x + x^2 + 5*y*z - 2*z^3;
+%
+% % Convert to be useable by polyvaln
+%  Pn = sympoly2polyn(sp)
+%
+% % Pn = 
+% %      ModelTerms: [4x3 double]
+% %    Coefficients: [-2 5 1 1]
+% %        VarNames: {'x'  'y'  'z'}
+%
+% % Efficient evaluation at a list of points
+%  xyz = rand(5,3);
+%  polyvaln(Pn,xyz)
+% % ans =
+% %       2.8421
+% %       1.2473
+% %      0.67012
+% %       2.8207
+% %       0.1257
+%
+% % Verify that the evaluation is correct compared to subs
+%
+%  subs(sp,'x',xyz(1,1),'y',xyz(1,2),'z',xyz(1,3))
+%
+% % A scalar sympoly object
+% %     2.8421
+%
+%
+% CAVEAT: The varables will be in the order decided by the sympoly tools.
+% This order will generally be an alphabetical one.
+% 
+%
+% See also: sympoly/subs, polyvaln, polyfitn, sympoly2sym
+%
+% Author: John D'Errico
+% e-mail: woodchips@rochester.rr.com
+% Release: 1.0
+% Release date: 3/25/08
+
+% verify its a sympoly
+if ~isa(sp,'sympoly')
+  error('sp must be a sympoly object')
+end
+
+sps = struct(sp);
+
+Pn.ModelTerms = sps.Exponent;
+Pn.Coefficients = sps.Coefficient(:).';
+Pn.VarNames = sps.Var;
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/NaNandInf.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/NaNandInf.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/NaNandInf.m	(revision 17)
@@ -0,0 +1,46 @@
+function pass = NaNandInf
+
+% Rodrigo Platte
+
+% If an evaluation returns NaN or Inf, the constructro should give an error
+% message!
+
+splitting off
+% NaN
+pass1 = false;
+try 
+    chebfun(@(x) x.^6.*sin(1./x.^2),[-1 1]);
+catch
+    pass1 = true;
+end
+
+% Inf
+pass2 = false;
+try 
+    chebfun(@(x) log(x+1));
+catch
+    pass2 = true;
+end
+
+splitting on
+
+% NaN
+pass3 = false;
+try 
+    chebfun(@(x) x.^6.*sin(1./x.^2),[-1 1]);
+catch
+    pass3 = true;
+end
+
+% Inf
+pass4 = false;
+try 
+    chebfun(@(x) log(x+1));
+catch
+    pass4 = true;
+end
+
+
+pass = pass1 && pass2 && pass3 && pass4;
+
+chebfunpref factory;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/adaptapply.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/adaptapply.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/adaptapply.m	(revision 17)
@@ -0,0 +1,16 @@
+function pass = adaptapply
+
+tol = chebfunpref('eps');
+
+d = domain(0,2);
+x = chebfun('x',d);
+f = sin(exp(2*x));
+g = x.^3-cos(x);
+
+% Operator mode
+F = diag(f);
+pass(1) = norm( F*g - f.*g ) < tol;
+
+% Apply mode
+F = chebop( @(n) diag( f(1-cos(pi*(0:n-1)/(n-1)))), [], d, 0);
+pass(2) = norm( F*g - f.*g ) < 500*chebfunpref('eps');
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/airy_extrema.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/airy_extrema.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/airy_extrema.m	(revision 17)
@@ -0,0 +1,20 @@
+function pass = airy_extrema
+
+% Rodrigo Platte
+
+f = chebfun('exp(real(airy(x)))',[-15,0]);
+r = roots(diff(f));
+R =[-14.935937196720515
+    -14.111501970462992
+    -13.262218961665209
+    -12.384788371845742
+    -11.475056633480252
+    -10.527660396957428
+    -9.535449052433554
+    -8.488486734019695
+    -7.372177255047834
+    -6.163307355639518
+    -4.820099211178722
+    -3.248197582179822
+    -1.018792971647486];
+pass = norm(r-R,inf) < 500*chebfunpref('eps');
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/aliasing.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/aliasing.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/aliasing.m	(revision 17)
@@ -0,0 +1,11 @@
+function pass = aliasing
+
+% Tests for aliasing. Rodrigo Platte, May 2009.
+
+p1 = chebfun(@(x) cos(50*acos(x)), 'sampletest', 1);
+p2 = chebpoly(50,[-1,1]);
+pass(1) = norm(p1-p2) < chebfunpref('eps')*100;
+
+f = chebfun(@(x) sin(50*x).*exp(-x.^2), [-10,10],'sampletest',1);
+pass(2) = length(f) > 600;
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/applycumsumop.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/applycumsumop.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/applycumsumop.m	(revision 17)
@@ -0,0 +1,6 @@
+function pass = applycumsumop
+
+d = domain(4,5.6);
+Q = cumsum(d);
+f = chebfun(@(x) exp(sin(x).^2+2),d);
+pass = norm(Q*f - cumsum(f)) < chebfunpref('eps');
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/applydiffop.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/applydiffop.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/applydiffop.m	(revision 17)
@@ -0,0 +1,6 @@
+function pass = applydiffop
+
+d = domain(-3,-1.5);
+D = diff(d);
+f = chebfun(@(x) exp(sin(x).^2+2),d);
+pass = norm(D*f - diff(f)) < chebfunpref('eps');
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bcchange.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bcchange.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bcchange.m	(revision 17)
@@ -0,0 +1,28 @@
+function pass = bcchange
+
+tol = chebfunpref('eps');
+
+d = domain(-3,4);
+D = diff(d);  I = eye(d);
+A = D*D + 4*D + I;
+A.lbc = -1;
+A.rbc = 'neumann';
+f = chebfun( 'exp(sin(x))',d );
+u = A\f;
+
+pass(1) = ( abs(u(d(1))+1)<1e-12*(tol/eps));
+pass(2) = ( abs(feval(diff(u),d(2)))<1e-11*(tol/eps) );
+
+A.lbc(1) = {eye(d),2};
+A.lbc(2) = {D,0};
+A.rbc = [];
+u = A\f;
+
+pass(3) = ( abs(feval(diff(u),d(1)))<1e-7*(tol/eps) );
+pass(4) = ( abs(feval(u,d(1))-2)<1e-7*(tol/eps) );
+
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/besseljextrema.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/besseljextrema.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/besseljextrema.m	(revision 17)
@@ -0,0 +1,41 @@
+function pass = besseljextrema
+
+% TAD
+
+J2 = chebfun( @(x) besselj(2,x), [0 100] );
+extrema = roots(diff(J2));
+
+mma = [ 0
+   3.054236928227140
+   6.706133194158459
+   9.969467823087596
+  13.170370856016124
+  16.347522318321783
+  19.512912782488204
+  22.671581772477424
+  25.826037141785264
+  28.977672772993678
+  32.127327020443474
+  35.275535050674691
+  38.422654817555909
+  41.568934936074314
+  44.714553532819735
+  47.859641607992096
+  51.004297672458868
+  54.148597242671237
+  57.292599186428227
+  60.436350075253564
+  63.579887238154626
+  66.723240947717301
+  69.866436013337719
+  73.009492961171489
+  76.152428920759021
+  79.295258300056489
+  82.437993305560212
+  85.580644347487763
+  88.723220358610419
+  91.865729047477643
+  95.008177101267663
+  98.150570349583958];
+
+pass = norm( extrema-mma, Inf) < 1e-12*chebfunpref('eps')/eps;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/besseljroots.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/besseljroots.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/besseljroots.m	(revision 17)
@@ -0,0 +1,26 @@
+function pass = besseljroots
+
+% TAD
+
+g = chebfun(@(x) besselj(0,x),[0 100]);
+r = roots(g);
+exact = [ 2.40482555769577276862163; 5.52007811028631064959660
+8.65372791291101221695437; 11.7915344390142816137431
+14.9309177084877859477626; 18.0710639679109225431479
+21.2116366298792589590784; 24.3524715307493027370579
+27.4934791320402547958773; 30.6346064684319751175496
+33.7758202135735686842385; 36.9170983536640439797695
+40.0584257646282392947993; 43.1997917131767303575241
+46.3411883716618140186858; 49.4826098973978171736028
+52.6240518411149960292513; 55.7655107550199793116835
+58.9069839260809421328344; 62.0484691902271698828525
+65.1899648002068604406360; 68.3314693298567982709923
+71.4729816035937328250631; 74.6145006437018378838205
+77.7560256303880550377394; 80.8975558711376278637723
+84.0390907769381901578795; 87.1806298436411536512617
+90.3221726372104800557177; 93.4637187819447741711905
+96.6052679509962687781216; 99.7468198586805964702799
+];
+
+pass = norm(r-exact,Inf) < 4e-13*chebfunpref('eps')/eps;
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/breakpoints.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/breakpoints.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/breakpoints.m	(revision 17)
@@ -0,0 +1,14 @@
+function pass = breakpoints
+
+% Rodrigo Platte
+splitting on
+
+splitting on
+
+f=chebfun(@(x) ceil(x-.1), [0 1 2]);
+pass = length(f)==4;
+
+f=chebfun(@(x) ceil(x-.1));
+pass = pass & length(f) == 3;
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvp1.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvp1.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvp1.m	(revision 17)
@@ -0,0 +1,18 @@
+function pass = bvp1
+
+tol = chebfunpref('eps');
+
+d = domain(-3,4);
+D = diff(d);  I = eye(d);
+A = D*D + 4*D + I;
+A.lbc = -1;
+A.rbc = 'neumann';
+f = chebfun( 'exp(sin(x))',d );
+u = A\f;
+
+pass = norm( diff(u,2) + 4*diff(u) + u - f ) < 1e-10*(tol/eps);
+pass = pass && ( abs(u(d(1))+1)<1e-12*(tol/eps) );
+pass = pass && ( abs(feval(diff(u),d(2)))<1e-11*(tol/eps) );
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvp2.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvp2.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvp2.m	(revision 17)
@@ -0,0 +1,19 @@
+function pass = bvp2
+
+tol = chebfunpref('eps');
+
+d = domain(-1,0);
+D = diff(d);  I = eye(d);
+A = D*D + 4*D + 200;
+A.lbc = {D+2,1};
+A.rbc = D;
+f = chebfun( 'x.*sin(3*x).^2',d );
+u = A\f;
+du = diff(u);
+
+pass = norm( diff(u,2) + 4*diff(u) + 200*u - f ) < 1e-10*(tol/eps);
+pass = pass && ( abs(du(d(1))+2*u(d(1))-1)<1e-11*(tol/eps) );
+pass = pass && ( abs(feval(diff(u),d(2)))<1e-11*(tol/eps) );
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvptest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvptest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/bvptest.m	(revision 17)
@@ -0,0 +1,31 @@
+function pass = bvptest
+
+% Rodrigo Platte Jan 2009
+% This routine tests BVP solvers bvp4c and bvp5c
+
+[d,x] = domain(0,4);
+y0 = [ x.^0, 0 ];
+
+solinit = bvpinit([0 1 2 3 4],[1 0]); 
+
+% Test bvp4c using default tolerance (RelTol = 1e-3)
+y = bvp4c(@twoode,@twobc,y0);         % Chebfun solution
+sol = bvp4c(@twoode,@twobc,solinit);  % Matlab's solution
+pass = max(max(abs(sol.y' - feval(y,sol.x')))) < 2e-2;
+
+%% Test bvp5c using new tolerance 
+
+% Only test if Matlab ver > 7.4
+matlabver = ver('matlab');
+if str2double(matlabver.Version) > 7.45
+    
+    % Set new tolerance:
+    opts = odeset('RelTol', 1e-6);
+    
+    % Test bvp5c
+    y = bvp5c(@twoode,@twobc,y0,opts);         % Chebfun solution
+    sol = bvp5c(@twoode,@twobc,solinit,opts);  % Matlab's solution
+    pass2 = max(max(abs(sol.y' - feval(y,sol.x')))) < 1e-4;
+    pass = pass && pass2;
+    
+end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/callpref.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/callpref.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/callpref.m	(revision 17)
@@ -0,0 +1,13 @@
+function pass = callpref
+
+% Tests for changes in preference in a chebfun call. 
+% Rodrigo Platte, May 2009
+
+f = chebfun(@(x) sign(x-0.5), [-2 3], 'splitting', 1, 'minsamples', 5);
+pass(1) = f(0) == -1 && f(0.5) == 0 && f(1) == 1 && length(f) == 2;
+
+f = chebfun(@(x) sin(100*x), 'splitting', 1, 'splitdegree', 32);
+pass(2) = true;
+for k = 1:numel(f.funs)
+    pass(2) = pass(2) && f.funs(k).n <32;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ceiltest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ceiltest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ceiltest.m	(revision 17)
@@ -0,0 +1,9 @@
+function pass = ceiltest
+
+% Rodrigo Platte
+
+splitting on
+
+f1 = chebfun(@(x) ceil(x), -10:2); % Prescribed brkpoints
+f2 = chebfun(@(x) ceil(x), [-10 2]); 
+pass = isequal(f1,f2);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/cftest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/cftest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/cftest.m	(revision 17)
@@ -0,0 +1,4 @@
+function pass = cftest
+f = chebfun('exp(x)');
+[p,lam] = cf(f,2);
+pass = (abs(lam-0.045017)<1e-4);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebdomain.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebdomain.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebdomain.m	(revision 17)
@@ -0,0 +1,13 @@
+function pass = chebdomain
+% tests for calls of the chebfun constructor using the domain class.
+% R. Platte 12 Sept 2008
+
+d = domain(0,30);
+
+f1 = chebfun(@(x) exp(-x), d, 10);
+f2 = chebfun(@(x) exp(-x), [0 30], 10);
+
+f3 = chebfun(@(x) exp(-x), d);
+f4 = chebfun(@(x) exp(-x), [0 30]);
+
+pass= isequal(f1,f2) && isequal(f3,f4);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebpadetest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebpadetest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebpadetest.m	(revision 17)
@@ -0,0 +1,25 @@
+function pass = chebpadetest
+
+% Nick Hale  22/04/2009
+
+tol = chebfunpref('eps');
+
+M = 4;
+N = 4;
+d = [-1, 0, 3];
+P = chebfun(chebpolyval([-0.6817    0.0558    2.1122   -1.3813    0.5045]),d);
+Q = chebfun(chebpolyval([0.5246   -0.2679   -0.8573    0.1155    1]),d);
+R = P./Q;
+[r p q] = chebpade(R,M,N);
+err = norm(chebfun(P.funs(1),d(1:2))-p)+norm(chebfun(Q.funs(1),d(1:2))-q);
+pass1 = err < 100*tol*R.scl;
+
+
+M = 6;
+N = 5;
+[r p q] = chebpade( P./Q,M,N);
+err = norm(chebfun(P.funs(1),d(1:2))-p)+norm(chebfun(Q.funs(1),d(1:2))-q);
+pass2 = err < 100*tol*R.scl;
+
+pass = pass1 && pass2;
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebpolytest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebpolytest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/chebpolytest.m	(revision 17)
@@ -0,0 +1,34 @@
+function pass = chebpolytest
+
+% Nick Trefethen  29 December 2008
+
+% Tests of the form chebfun = chebpoly(integer):
+
+tol = chebfunpref('eps');
+
+T5 = chebpoly(5);
+x = [0 .4 1];
+exact = [0 .88384 1];
+pass1 = (norm(T5(x)-exact)<1e-14*(tol/eps));
+
+T5b = chebpoly(5,[1,9]);
+xb = 4*x + 5;
+pass2 = (norm(T5b(xb)-exact)<1e-14*(tol/eps));
+
+T100 = chebpoly(100);
+pass3 = (abs(sum(T100)-(-2/9999)) < 1e-15*(tol/eps));
+
+% Tests of the form vector = chebpoly(chebfun):
+
+a = chebpoly(chebfun('exp(x).*sin(x)')); a = a(end:-1:1);
+exacta = [0.496529947609122 1.228320669845808 0.494795283026613];
+pass4 = (norm(a(1:3)-exacta)<1e-14*(tol/eps));
+
+% Combined tests:
+
+f = chebpoly(5) + .25*chebpoly(4);
+exactf = [1 .25 0 0 0 0];
+pass5 = norm(exactf - chebpoly(f)) < 1e-15*(tol/eps);
+
+pass = pass1 && pass2 && pass3 && pass4 && pass5;
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/circplate.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/circplate.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/circplate.m	(revision 17)
@@ -0,0 +1,19 @@
+function pass = circplate
+% Deflection of a circular plate
+
+tol = chebfunpref('eps');
+
+d = domain(0,1);
+f = chebfun('exp(-50*r)',d);  % loading function
+
+r = chebfun('r',d);
+D = diff(d);  I = eye(d);
+B = diag(r.^3)*D^4 + diag(2*r.^2)*D^3 - diag(r)*D^2 + D;  % r^3*(biharm)
+
+B.lbc(1)=D; B.lbc(2)=D^3;   % symmetry at origin
+B.rbc(1)=I; B.rbc(2)=D;     % clamped at boundary
+
+u1 = B\(r.^3.*f);
+load circplate
+
+pass = norm(u-u1) < 1e-10*(tol/eps);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/complexrotation.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/complexrotation.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/complexrotation.m	(revision 17)
@@ -0,0 +1,21 @@
+function pass = complexrotation
+
+% LNT 20 May 2008
+% This code makes sure a few things are ok if you make them complex
+
+f = chebfun(@(x) exp(x));
+fi = chebfun(@(x) 1i*exp(x));
+g = chebfun('1./(2-x)');
+gi = chebfun('1i./(2-x)');
+A = [f g];
+
+pass1 = (sum(fi)==1i*sum(f));
+pass2 = norm(fi)==norm(f);
+pass3 = abs((f'*g)-((1i*f)'*(1i*g))) < 1e-15;
+pass4 = (norm(gi,inf)-norm(g,inf)) < 1e-15;
+pass5 = (norm(fi,1)-norm(f,1)) < 1e-15;
+pass6 = norm(svd(A) - svd(1i*A)) < 1e-15;
+
+pass = pass1 && pass2 && pass3 && pass4 && pass5 && pass6;
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/composetest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/composetest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/composetest.m	(revision 17)
@@ -0,0 +1,33 @@
+function pass = composetest
+
+% Rodrigo Platte, May 2009
+% Test composition of two chebfuns (quasimatrices)
+
+% Quasimatrices:
+tol = chebfunpref('eps')*10;
+x = chebfun('x',[0 1]);
+f = chebfun(@sin);
+X = [1 x x.^2];
+pass(1) =  norm(f(X) - sin(X),inf) < tol;
+
+XX = X(X);
+XX2 = [1 x x.^4];
+pass(2) =  norm(XX - XX2,inf) < tol;
+
+% Smooth functions
+x = chebfun('x');
+f = sin(x);
+g = sin(sin(x));
+pass(3) = norm(f(f) - g) < 10*tol;
+
+% Functions with jumps:
+h = chebfun(@(x) sign(x), [-2 0 2], 'splitting',1);
+fh = chebfun(@(x) sin(sign(x)), [-2 0 2], 'splitting',1);
+pass(4) = norm(f(h) - fh, inf) < tol;
+
+% Function handles;
+g = @(x) abs(x);
+f = x.^2;
+pass(5) = norm(f(g) - f, inf) < tol;
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/convspline.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/convspline.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/convspline.m	(revision 17)
@@ -0,0 +1,12 @@
+function pass = convspline
+
+B = (1/6)*chebfun( {'(2+x).^3','1+3*(1+x)+3*(1+x).^2-3*(1+x).^3',...
+  '1+3*(1-x)+3*(1-x).^2-3*(1-x).^3','(2-x).^3'}, -2:2 );
+
+s = chebfun(1,[-.5 .5]);
+f = s;
+for k = 1:3, f = conv(f,s); end
+
+pass = norm( f-B ) < 1e-14*chebfunpref('eps')/eps;
+
+end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/cumsumcos100x.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/cumsumcos100x.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/cumsumcos100x.m	(revision 17)
@@ -0,0 +1,14 @@
+function pass = cumsumcos100x
+
+% Rodrigo Platte
+
+f = chebfun('cos(100*x)',[10 13]);
+fint = chebfun('sin(100*x)/100',[10 13])-sin(1000)/100;
+
+% real
+pass = norm(cumsum(f)-fint) < 1e-13*f.scl*chebfunpref('eps')/eps;
+
+%imaginary
+pass = pass && norm(cumsum(f*1i)-1i*fint,inf) < ...
+    1e-13*f.scl*chebfunpref('eps')/eps;
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/eigsho.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/eigsho.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/eigsho.m	(revision 17)
@@ -0,0 +1,12 @@
+function pass = eigsho
+
+tol = chebfunpref('eps');
+d = domain(0,pi);
+A = diff(d,2) & 'dirichlet';
+lam = eigs(A,10);
+k = sqrt(-lam);
+
+pass = norm( k - (1:10)', Inf ) < 1000*tol; 
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/exact_endpoints.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/exact_endpoints.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/exact_endpoints.m	(revision 17)
@@ -0,0 +1,13 @@
+function pass =exact_endpoints
+
+% Test whether endpoints are interpolated (exactly):
+% Rodrigo Platte, May 2009
+
+s = chebfunpref('splitting');
+splitting on
+
+f = chebfun(@(x) sin(500*x));
+ends = f.ends;
+pass = all(f(ends) == sin(500*ends));
+
+chebfunpref('splitting',s);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/falknershan.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/falknershan.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/falknershan.m	(revision 17)
@@ -0,0 +1,36 @@
+function pass = falknershan
+
+tol = chebfunpref('eps');
+dom = domain(0,6);
+beta = 0.5;
+
+I = eye(dom); D = diff(dom);
+
+f = @(u) D^3*u + u.*(D^2*u) + beta*(1-(D*u).^2);
+dfdu = @(u) D^3 + diag(D^2*u) + diag(u)*D^2 - 2*beta*diag(D*u)*D;
+
+% Initial guess satisfies u(0)=u'(0)=0, u'(dom(2))=1
+u = chebfun( @(x) x.^2/(2*dom(2)), dom );
+
+% Boundary conditions for the Newton correction
+bcleft = struct('op',{I,D},'val',{0,0});
+bcright = struct('op',D,'val',0);
+bc = struct('left',bcleft,'right',bcright);
+
+% Newton iteration
+du = Inf;  niter = 0;
+while norm(du)>1e-10*(tol/eps) && niter < 11
+  r = f(u);  
+  J = dfdu(u);
+  J.bc = bc;
+  J.scale = norm(u);
+  du = -(J\r);
+  u = (u+du);
+  niter = niter+1;
+end
+
+
+pass = abs( feval(diff(u,2),0) - 0.927680043004878) < 1e8*tol;
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/grammatrix.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/grammatrix.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/grammatrix.m	(revision 17)
@@ -0,0 +1,13 @@
+function pass = grammatrix
+
+% TAD
+
+A = chebfun;
+x = chebfun(@(x) x,domain(0,1));
+for n=1:4
+  A(:,n) = x.^(n-1);
+end
+G = A'*A;
+pass = norm(G-hilb(4)) < 10*eps;
+
+end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/guide2tests.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/guide2tests.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/guide2tests.m	(revision 17)
@@ -0,0 +1,45 @@
+
+function pass = guide2tests
+
+% LNT 25 May 2008
+% Various tests from chapter 2 of the Chebfun Guide.
+
+  splitting on
+
+  f = chebfun('log(1+tan(x))',[0 pi/4]);
+  I = sum(f); Iexact = pi*log(2)/8;
+  err1 = I-Iexact; pass1 = err1<chebfunpref('eps')*10;
+
+  f = chebfun('sin(sin(x))',[0 1]);
+  I = sum(f); Iexact = 0.4306061031206906049;
+  err2 = I-Iexact; pass2 = err2<chebfunpref('eps')*10;
+
+  t = chebfun('t',[0,1]);
+  f = 2*exp(-t.^2)/sqrt(pi);
+  I = sum(f); Iexact = erf(1);
+  err3 = I-Iexact; pass3 = err3<chebfunpref('eps')*10;
+
+  f = chebfun(@(x) abs(besselj(0,x)),[0 20]);
+  I = sum(f); Iexact = 4.4450316030016;
+  err4 = I-Iexact; pass4 = err4<chebfunpref('eps')*1e3;
+
+  x = chebfun('x');
+  f = sech(3*sin(10*x));
+  g = sin(9*x); h = min(f,g);
+  I = sum(h); Iexact = -0.38155644885025;
+  err5 = I-Iexact; pass5 = err5<chebfunpref('eps')*10;
+
+% splitting off
+% x = chebfun('x',[0 1]);
+% f = sech(10*(x-0.2)).^2 + sech(100*(x-0.4)).^4 + sech(1000*(x-0.6)).^6;
+% I = sum(f); Iexact = 0.210802735500549;
+% err6 = I-Iexact; pass6 = err6<chebfunpref('eps')*10;
+pass6 = 1; %commented out to save time
+
+% splitting on
+% f = sech(10*(x-0.2)).^2 + sech(100*(x-0.4)).^4 + sech(1000*(x-0.6)).^6;
+% I = sum(f);
+% err7 = I-Iexact; pass7 = err7<1e2*chebfunpref('eps');
+pass7 = 1; %commented out to save time
+
+  pass = pass1 && pass2 && pass3 && pass4 && pass5 && pass6 && pass7;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/interp1test.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/interp1test.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/interp1test.m	(revision 17)
@@ -0,0 +1,18 @@
+function pass = interp1test
+
+% Nick Trefethen March 2009
+
+d = domain(-2,1.5);
+ff = @(x) 1./(1+25*x.^2);
+x = linspace(-2,1.5,11);
+f = chebfun(ff,d);
+p = interp1(x,ff(x),d);
+pass1 = (abs(min(p)-(-2.439))<0.01);
+
+x = chebfun('x');
+f = max(0,1-2*abs(x-.2));
+xk = [0 .5 1];
+p = interp1(xk,f);
+pass2 = (abs(p(-1)-0.4)<0.01);
+
+pass = pass1 && pass2;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/intops.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/intops.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/intops.m	(revision 17)
@@ -0,0 +1,25 @@
+function pass = intops
+
+% Toby Driscoll 28 May 2009
+% Check out integral operators
+
+tol = chebfunpref('eps');
+
+% Fredholm
+[d,x] = domain(0,1); 
+F = fred(@(x,y) sin(2*pi*(x-y)),d);
+A = eye(d)+F;
+u = x.*exp(x);
+f = A*u;
+pass(1) = norm(u-A\f) < 1e6*tol;
+
+% Volterra
+[d,x] = domain(0,pi);
+V = volt( @(x,y) x.*y, d );
+f = x.^2.*cos(x) + (1-x).*sin(x);
+u = (1-V)\f;
+pass(2) = norm( u - sin(x) ) < 1e6*tol;
+pass(3) = norm( (1-V)*u - f ) < 1e4*tol;
+
+pass = all(pass);
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/invtest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/invtest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/invtest.m	(revision 17)
@@ -0,0 +1,38 @@
+function pass = invtest
+
+% Nick Hale  07/06/2009
+tol = chebfunpref('eps');
+
+x = chebfun('x');
+f = sin(x);
+g = chebfun(@(x) asin(x), [sin(-1),sin(1)]);
+finv = inv(f);
+pass1 = norm(g - finv,inf) < 100*tol;
+
+% %  commented for speed
+pass2 = true;
+% pass2 = norm(f - inv(finv),inf) < 100*tol;
+
+% %  commented for speed
+pass3 = true;
+% x = chebfun('x',[0,1]);
+% f = sqrt(x);
+% g = x.^2;
+% finv = inv(f,'splitting',true);
+% pass3 = norm(g - finv,inf) < 100*tol;
+
+x = chebfun('x');
+f = chebfun(@(x) sausagemap(x));
+finv = inv(f);
+pass4 = norm(f(finv)-x,inf) + norm(finv(f)-x,inf) < 200*tol;
+
+pass = pass1 && pass2 && pass3 && pass4;
+
+function [g,gprime] = sausagemap(s,d)
+if nargin<2, d = 9; end % this can be adjusted
+c = zeros(1,d+1);
+c(d:-2:1) = [1 cumprod(1:2:d-2)./cumprod(2:2:d-1)]./(1:2:d);
+c = c/sum(c); g = polyval(c,s);
+cp = c(1:d).*(d:-1:1); gprime = polyval(cp,s);
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivp1.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivp1.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivp1.m	(revision 17)
@@ -0,0 +1,12 @@
+function pass = ivp1
+
+tol = chebfunpref('eps');
+
+d = domain(-1,1);
+x = chebfun(@(x)x,d);
+I = eye(d);
+D = diff(d);
+A = (D-I) & {'dirichlet',exp(-1)-1};
+u = A\(1-x);
+
+pass = norm( u - (exp(x)+x) ) < 100*tol;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivp_ty_test.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivp_ty_test.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivp_ty_test.m	(revision 17)
@@ -0,0 +1,30 @@
+function pass = ivp_ty_test
+
+% Rodrigo Platte Jan 2009, modified by Asgeir Birkisson
+% This routine tests IVP solver: ode45, ode113, ode15s
+
+% Test ode15s Using default tolerances (RelTol = 1e-3)
+[t,y] = ode15s(@vdp1,domain(0,20),[2;0]); % chebfun solution
+[tm,ym] = ode15s(@vdp1,[0,20],[2;0]); % Matlab's solution
+
+pass1 = max(max(abs(ym - feval(y,tm)))) < 2e-2;
+
+% Test ode45 Using default tolerances (RelTol = 1e-3)
+[t,y] = ode45(@vdp1,domain(0,20),[2;0]); % chebfun solution
+[tm,ym] = ode45(@vdp1,[0,20],[2;0]); % Matlab's solution
+
+pass2 = max(max(abs(ym - feval(y,tm)))) < 1e-2;
+
+% Test with different tolerance
+%opts = odeset('RelTol', 1e-6);
+
+% Test ode113
+%[t,y] = ode113(@vdp1,domain(0,20),[2;0],opts); % chebfun solution
+%[tm,ym] = ode113(@vdp1,[0,20],[2;0],opts); % Matlab's solution
+%
+%pass3 = max(max(abs(ym - feval(y,tm)))) < 1e-5;
+pass3 = 1; % commented out to save time
+
+pass = pass1 && pass2 && pass3;
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivptest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivptest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivptest.m	(revision 17)
@@ -0,0 +1,44 @@
+function pass = ivptest
+
+% Rodrigo Platte Jan 2009
+% This routine tests IVP solver: ode45, ode113, ode15s
+
+% Test ode113 Using default tolerances (RelTol = 1e-3)
+y = ode113(@vdp1,domain(0,20),[2;0]); % chebfun solution
+[tm,ym] = ode113(@vdp1,[0,20],[2;0]); % Matlab's solution
+
+pass1 = max(max(abs(ym - feval(y,tm)))) < 2e-2;
+
+% Test ode45 Using default tolerances (RelTol = 1e-3)
+%y = ode45(@vdp1,domain(0,20),[2;0]); % chebfun solution
+%[tm,ym] = ode45(@vdp1,[0,20],[2;0]); % Matlab's solution
+%pass2 = max(max(abs(ym - feval(y,tm)))) < 1e-2;
+pass2 = 1;  % commented out to save time -- but
+% ode45 is still tested in ivp_ty_test.m
+
+
+% Test with different tolerance
+opts = odeset('RelTol', 1e-6);
+
+% Test ode113
+%y = ode113(@vdp1,domain(0,20),[2;0],opts); % chebfun solution
+%[tm,ym] = ode113(@vdp1,[0,20],[2;0],opts); % Matlab's solution
+%
+%pass3 = max(max(abs(ym - feval(y,tm)))) < 1e-5;
+pass3 = 1;  % above commented out to save time
+
+% Test ode45 
+%y = ode45(@vdp1,domain(0,20),[2;0],opts); % chebfun solution
+%[tm,ym] = ode45(@vdp1,[0,20],[2;0],opts); % Matlab's solution
+%pass4 = max(max(abs(ym - feval(y,tm)))) < 1e-5;
+pass4 = 1;  % above commented out to save time
+
+% Test ode45 
+%y = ode15s(@vdp1,domain(0,20),[2;0],opts); % chebfun solution
+%[tm,ym] = ode15s(@vdp1,[0,20],[2;0],opts); % Matlab's solution
+%pass5 = max(max(abs(ym - feval(y,tm)))) < 1e-5;
+pass5 = 1;  % above commented out to save time
+
+pass = pass1 && pass2 && pass3 && pass4 && pass5;
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivptestcomplex.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivptestcomplex.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/ivptestcomplex.m	(revision 17)
@@ -0,0 +1,21 @@
+function pass = ivptestcomplex
+
+% Nick Trefethen March 2009
+% This routine testss ode45, ode113, ode15s on a complex ode to
+% make sure we get the signs right
+
+f = @(x,u) 1i*u;
+d = domain(0,1);
+
+y = ode113(f,d,1);
+pass1 = abs(y(1)-exp(1i)) < 2e-2;
+
+y = ode45(f,d,1);
+pass2 = abs(y(1)-exp(1i)) < 2e-2;
+
+y = ode15s(f,d,1);
+pass3 = abs(y(1)-exp(1i)) < 2e-2;
+
+pass = pass1 && pass2 && pass3;
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/legptstest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/legptstest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/legptstest.m	(revision 17)
@@ -0,0 +1,24 @@
+function pass = legptstest
+
+% Nick Hale  22/04/2009
+tol = chebfunpref('eps');
+
+N = 32;
+[x1 w1] = legpts(N,'GW');
+[x2 w2] = legpts(N,'fast');
+
+pass1 = norm(x1-x2,inf) + norm(w1-w2,inf) < 100*tol;
+
+N = 129;
+[x1 w1] = legpts(N,'GW');
+[x2 w2] = legpts(N,'fast');
+pass2 = norm(x1-x2,inf) + norm(w1-w2,inf) < 100*tol;
+
+% integrate first 30 (even) powers of x correctly?
+pass3 = true;
+for j = 2:2:30
+    pass3 = pass3 && 2/sum(w2*(x2.^j))-(j+1) < 10000*tol;
+end
+
+pass = pass1 && pass2 && pass3;
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/mathieu.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/mathieu.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/mathieu.m	(revision 17)
@@ -0,0 +1,23 @@
+function pass = mathieu
+
+% Periodic Mathieu functions
+% Finds eigenvalues and the periodic eigenfunctions for
+%
+%   u'' = (2q cos(2x) + lambda)*u
+
+q = 25;
+d = domain(-pi,pi);
+c = chebfun('cos(2*x)',d);
+A = diff(d,2) - 2*q*diag(c);
+A.bc = 'periodic';
+
+lam = eigs(A,30);
+
+% From MMA
+exactA25 = [ -40.256779546566787276, -21.314899690665726935, -3.5221647271582959443, ...
+12.964079444326467300, 27.805240580928440859, 40.050190985807711970, ...
+48.975786716161850782, 57.534689001082872507, 69.524065165941372023, ...
+85.076999881816530410, 103.23020480449483818, 123.64301237608357484,...
+146.20769064280234639, 170.87371080831606219, 197.61116494244372124 ]';
+
+pass = norm( -lam(1:2:end) - exactA25, Inf) < 1e-10*chebfunpref('eps')/eps;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/matrixnorms.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/matrixnorms.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/matrixnorms.m	(revision 17)
@@ -0,0 +1,13 @@
+function pass = matrixnorms
+
+% Nick Trefethen  31 May 2008
+% This matrix should have all norms equal to 1
+
+x = chebfun(1,[0 1]);
+A = [0*x 0*x 0*x x 0*x];
+norms = zeros(4,1);
+norms(1) = norm(A,1);
+norms(2) = norm(A,2);
+norms(3) = norm(A,inf);
+norms(4) = norm(A,'fro');
+pass = (norm(norms-ones(4,1))==0);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/max_and_imps.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/max_and_imps.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/max_and_imps.m	(revision 17)
@@ -0,0 +1,12 @@
+function pass = max_and_imps
+
+% Tests if max (or min) introduces small jumps when computing the maximum
+% of two smooth functions. Rodrigo Platte, May 2009.
+
+x = chebfun('x',[0 10]);
+f = sin(x) + sin(x.^2);
+hat = 1-abs(x-5)/5;
+h = max(f,hat);
+m = h./sqrt(1+x)+sin(2*x)/10;
+mp = diff(m);
+pass = size(mp.imps,1) == 1;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/maxtest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/maxtest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/maxtest.m	(revision 17)
@@ -0,0 +1,27 @@
+function pass = maxtest
+
+% Rodrigo Platte
+% This used to crash because of double roots in sign.m
+
+z = chebfun('x',[-1 1]);
+y=max(abs(z),1-z.^2);
+v=max(y,1);
+
+pass(1) = norm(v-1) == 0;
+
+% Toby Driscoll
+% Checking out syntax of various forms of the call.
+y = max([z -z 0.5],[],2);
+pass(2) = (sum(y)==1.25);
+
+tol = chebfunpref('eps');
+y = max([sin(2*z) cos(z)]);
+pass(3) = (sum(y)-2) < 10*tol;
+
+y = max(z.');
+pass(4) = (y==1);
+
+y = max([z.'; -z.'; 0.5]);
+pass(5) = (sum(y)==1.25);
+
+pass = all(pass);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/misclnttests1.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/misclnttests1.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/misclnttests1.m	(revision 17)
@@ -0,0 +1,15 @@
+
+function pass = misclnttests1
+
+% LNT 24 May 2008
+% This code fools around in various ways
+
+pass1 = (sum(chebfun(1,2,3,4,5,0:5))==15);
+pass2 = (sum(chebfun(1,1,2i,-2,-1i,-1i,0:6))==0);
+x = chebfun('t',[1 2]);
+n1 = norm(sin(x).^2+cos(x).^2-1);
+pass3 = (n1<10*chebfunpref('eps'));
+n2 = norm(sin(1i*x).^2+cos(1i*x).^2-1);
+pass4 = (n2<100*chebfunpref('eps'));
+
+pass = pass1 && pass2 && pass3 && pass4;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/normtests.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/normtests.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/normtests.m	(revision 17)
@@ -0,0 +1,19 @@
+function pass = normtests
+
+% Nick Trefethen  22 March 2009
+tol = chebfunpref('eps');
+x = chebfun('x');
+absx = abs(x);
+pass1 = (norm(absx,1)==1);
+
+dabsx = diff(abs(x));
+pass2 = (norm(dabsx,1)==2);
+pass3 = (norm(dabsx,inf)==1);
+pass4 = (norm(-dabsx,inf)==1);
+
+ddabsx = diff(dabsx);
+pass5 = (norm(ddabsx,1)==2);
+pass6 = (norm(-ddabsx,1)==2);
+pass7 = (norm(ddabsx,inf)==inf);
+pass8 = (norm(-ddabsx,inf)==inf);
+pass = pass1 && pass2 && pass3 && pass4 && pass5 && pass6 && pass7 && pass8;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/operarith.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/operarith.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/operarith.m	(revision 17)
@@ -0,0 +1,11 @@
+function pass = operarith
+
+d = domain(-1,4);
+Q = cumsum(d);
+D = diff(d);
+f = chebfun(@(x) exp(sin(x).^2+2),d);
+F = diag(f);
+A = -(2*D^2 - F*Q + 3);
+Af = A*f;
+
+pass = norm( Af - (f.*cumsum(f)-2*diff(f,2)-3*f) ) < eps;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/orrsommerfeld.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/orrsommerfeld.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/orrsommerfeld.m	(revision 17)
@@ -0,0 +1,34 @@
+function pass = orrsommerfeld
+
+% Eigenvalues of the Orr-Sommerfeld operator
+
+tol = chebfunpref('eps');
+
+d = domain(-1,1);
+R = 5772;
+D = diff(d);  I = eye(d);
+x = chebfun('x',d);
+
+A = (D^4-2*D^2+I)/R - 2i*I - 1i*diag(1-x.^2)*(D^2-I);
+B = D^2-I;
+
+A.lbc(1) = I;  A.lbc(2) = D;
+A.rbc(1) = I;  A.rbc(2) = D;
+
+lam = eigs(A,B,10,'LR');
+
+correct = [
+     -7.819078104994955e-005-2.615676705860811e-001i
+    -4.620366193293003e-002-9.534328425761246e-001i
+    -4.624279708795331e-002-9.534587499934722e-001i
+    -5.767171976874375e-002-3.229637183677176e-001i
+    -8.298700703740958e-002-9.161327256325181e-001i
+    -8.308878603034946e-002-9.162146222226847e-001i
+    -1.197442736203496e-001-8.787833344958154e-001i
+    -1.199267702337461e-001-8.789590506048377e-001i
+    -1.548324840901456e-001-4.044151548530878e-001i
+    -1.564823130376978e-001-8.413737949305676e-001i
+];
+
+pass = norm( lam-correct, Inf) < 1e-7*(tol/eps);
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/orthosincos.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/orthosincos.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/orthosincos.m	(revision 17)
@@ -0,0 +1,13 @@
+function pass = orthosincos
+
+% TAD
+
+S = []; C = [];
+for n = 1:5
+  S = [S chebfun(@(x) sin(n*x),[0 2*pi])];
+  C = [C chebfun(@(x) cos(n*x),[0 2*pi])];
+end
+ip = S'*C;
+pass = norm(ip) < 100*eps;
+
+end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/outerprod.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/outerprod.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/outerprod.m	(revision 17)
@@ -0,0 +1,23 @@
+function pass = outerprod
+
+% Toby Driscoll
+% Outer product testing
+
+tol = chebfunpref('eps');
+
+[d,x] = domain(0,1);
+f = [ exp(x), tanh(x) ];
+g = [ exp(x), x./(1+x.^2) ];
+u = x;
+
+A = f*g';
+Au = (exp(x) + (1-pi/4)*tanh(x));
+
+% operational form
+pass1 = norm( Au - A*u ) < 1e-12*(tol/eps);
+
+% discrete form
+xx = (1+sin(pi*(2*(1:200)'-200-1)/(400-2)))/2;
+pass2 = norm( Au(xx) - A(200)*u(xx) ) < 1e-12*(tol/eps);
+
+pass = pass1 & pass2;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/plotrow.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/plotrow.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/plotrow.m	(revision 17)
@@ -0,0 +1,8 @@
+function pass = plotrow
+
+% Rodrigo Platte Jan 2009
+% Tests whether row chebfuns are plotted
+
+x = chebfun(@(x) x);
+figure, plot([x x.^2].','.-r'), close
+pass = true;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/plusquasimatrix.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/plusquasimatrix.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/plusquasimatrix.m	(revision 17)
@@ -0,0 +1,12 @@
+function pass = plus_qm
+
+% Rodrigo Platte Jun 2009
+% make sure plus requires quasimatrices of same sizes
+
+ f = chebfun('x');
+ pass  = false;
+ try
+    g = [f 2*f]+f;
+ catch
+     pass = true;
+ end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/pointevals.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/pointevals.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/pointevals.m	(revision 17)
@@ -0,0 +1,17 @@
+function pass = pointevals
+
+% LNT 20 May 2008
+% This code makes sure point evaluations are working
+
+splitting on
+
+f = chebfun(@(x) sign(x-1),[0 2]);
+pass1 = (f(1+eps) == 1);
+pass2 = (f(1-eps) == -1);
+pass3 = (f(1) == 0);
+f(1) = 3;
+f(1.5) = 4;
+pass4 = (f(1) == 3);
+pass5 = (f(1.5) == 4);
+pass6 = (sum(f) == 0);
+pass = pass1 && pass2 && pass3 && pass4 && pass5 && pass6;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/qrtest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/qrtest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/qrtest.m	(revision 17)
@@ -0,0 +1,12 @@
+function pass = qrtest
+
+% Nick Trefethen  24 June 2008
+tol = chebfunpref('eps');
+x = chebfun('x',[0 1]);
+A = [x 1i*x 1 1+1i (2-1i)*x];
+%pass1 = (rank(A)==2);
+pass1 = 1; % commented out to save time
+[Q,R] = qr(A);
+pass2 = (abs(cond(Q)-1)<1e-13*(tol/eps));
+pass3 = (norm(A-Q*R)<1e-13*(tol/eps));
+pass = pass1 && pass2 && pass3;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/realize_eye.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/realize_eye.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/realize_eye.m	(revision 17)
@@ -0,0 +1,5 @@
+function pass = realize_eye
+
+d = domain(0,4);
+I = eye(d);
+pass = norm(I(10)-eye(10)) < eps;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/remeztest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/remeztest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/remeztest.m	(revision 17)
@@ -0,0 +1,19 @@
+function pass = remeztest
+
+% Nick Trefethen, 27 March 2009
+
+% Test remez:
+x = chebfun('x',[-1 1]);
+f = abs(x) + x;
+pexact = .5+x;
+pbest = remez(f,1);
+err = norm(pbest-pexact);
+pass(1) = (err<1e-10);
+
+% Test remez and cf:
+f = exp(sin(exp(x)));
+pcf = cf(f,7);
+pbest = remez(f,7);
+pass(2) = (norm(pcf-pbest)<0.0003);
+
+pass = all(pass);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/resampletest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/resampletest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/resampletest.m	(revision 17)
@@ -0,0 +1,29 @@
+function pass = resampletest
+
+% Test if the resampling option is working by counting the number of
+% function evaluations
+% Rodrigo Platte, June 2009.
+
+global count % counts the number of evaluations
+
+count = 0;
+fon = chebfun(@myfun,'resampling','on');
+counton = count;
+
+count = 0;
+foff = chebfun(@myfun,'resampling','off');
+countoff = count;
+
+% Number of evaluations
+pass(1) = counton > 1.9*countoff;
+% Chebfun representations must match
+pass(2) = norm(fon-foff,inf) < chebfunpref('eps')*1e3;
+
+
+function y = myfun(x)
+
+global count
+count = count + length(x);
+y = sin(100*x);
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/restrictimps.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/restrictimps.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/restrictimps.m	(revision 17)
@@ -0,0 +1,11 @@
+function pass = restrictimps
+% Test handling of the imps matrix by restrict
+% RodP 18/12/2008
+
+splitting on
+
+f = chebfun(@(x) sign(x)+sin(x));
+g = diff(f);
+h = g{-0.8, 0.7};
+IM = [[g(-0.8); 0] g.imps(:,2) [g(0.7); 0]];
+pass = norm(h.imps - IM) < 10*chebfunpref('eps');
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/restrictscl.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/restrictscl.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/restrictscl.m	(revision 17)
@@ -0,0 +1,11 @@
+function pass = restrictscl
+
+% RodP Jan 09
+% This function tests the retrict function (problem related to a bug report
+% by Justin Kao of MIT.
+
+tol = chebfunpref('eps');
+
+f = chebfun(@(x)x,[0 1]);
+g = f{0.5,1};
+pass = norm(g.^-2-(g.^-1./g),inf)<100*tol && g.scl == 1 && norm(g.imps - [0.5 1],inf)<tol;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/rootspol.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/rootspol.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/rootspol.m	(revision 17)
@@ -0,0 +1,12 @@
+function pass = rootspol
+% Roots of a perturbed polynomial
+% Rodrigo Platte, July 2008.
+
+p = chebfun( '(x-.1).*(x+.9).*x.*(x-.9) + 1e-14*x.^5' );
+r = roots(p);
+
+pass(1) = length(r)==4 && norm(p(r),inf)<1e-13*chebfunpref('eps')/eps;
+
+f = chebfun(chebpolyval([0 0 0 0 1 0]));
+
+pass(2) = roots(f) == 0;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/scaleinvariance.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/scaleinvariance.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/scaleinvariance.m	(revision 17)
@@ -0,0 +1,25 @@
+function pass = scaleinvariance
+
+% LNT 20 May 2008
+% This code makes sure a few things are scale-invariant.
+
+d = [1 2];
+scale = 2^300;
+f = chebfun(@(x) exp(x),d);
+maxf = max(f);
+
+f1 = chebfun(@(x) exp(x*scale),d/scale);
+pass1 = (max(f1)==maxf);
+
+f2 = chebfun(@(x) exp(x/scale),d*scale);
+pass2 = (max(f2)==maxf);
+
+f3 = chebfun(@(x) exp(x)*scale,d);
+pass3 = (max(f3)==maxf*scale);
+
+f4 = chebfun(@(x) exp(x)/scale,d);
+pass4 = (max(f4)==maxf/scale);
+
+pass = pass1 && pass2 && pass3 && pass4;
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/scaleinvariance2.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/scaleinvariance2.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/scaleinvariance2.m	(revision 17)
@@ -0,0 +1,31 @@
+function pass = scaleinvariance2
+
+% Rodrigo Platte
+% Modification of scaleinvariance.m
+% This code makes sure a few things are scale-invariant when the interval
+% is splitted (tests endpoints).
+
+splitting on
+
+d = [1 2];
+scale = 2^100;
+fh = @(x) abs(x-1.2)+10;
+
+f = chebfun(fh,d);
+maxf = max(f);
+
+f1 = chebfun(@(x) fh(x*scale),d/scale);
+pass1 = (max(f1)==maxf) && all(f1.ends*scale == f.ends);
+
+f2 = chebfun(@(x) fh(x/scale),d*scale);
+pass2 = (max(f2)==maxf) && all(f2.ends/scale == f.ends);
+
+f3 = chebfun(@(x) fh(x)*scale,d);
+pass3 = (max(f3)==maxf*scale) && all(f3.ends == f.ends);
+
+f4 = chebfun(@(x) fh(x)/scale,d);
+pass4 = (max(f4)==maxf/scale) && all(f4.ends == f.ends);
+
+pass = pass1 && pass2 && pass3 && pass4;
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/sinx.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/sinx.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/sinx.m	(revision 17)
@@ -0,0 +1,8 @@
+function pass = sinx
+
+% Rodrigo Platte
+% Tests for uniform splitting (bisection)
+% ends must be equispaced.
+
+f = chebfun(@(x) sin(x), [0 1e4]);
+pass = all(diff(diff(f.ends)) == 0);
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/smallintervals.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/smallintervals.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/smallintervals.m	(revision 17)
@@ -0,0 +1,20 @@
+function pass = smallintervals
+% Operations on small intervals
+% Rodrigo Platte, July 2008.
+
+splitting on
+
+f1 = chebfun(@(x) x,[-1 -1+eps/2 0]);
+f2 = chebfun(@(x) x,[-1 -eps/2 0]);
+f3 = chebfun(@(x) x.^2, [-1 0]);
+
+pass = norm(f1.*f2 - f3,inf) < 10*chebfunpref('eps');
+
+f2 = chebfun(@(x) x, [-1 -1+eps 0]);
+pass = pass && norm(f1.*f2 - f3,inf) < 10*chebfunpref('eps');
+
+h = chebfun(@(x) 1-abs(x));
+f = conv(h,conv(h,h));
+%pass = pass && all(f.ends==(-3:3)); % This may fail for very loose
+%tolerances
+pass = pass && all(f.ends==round(f.ends));
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/splittingtest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/splittingtest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/splittingtest.m	(revision 17)
@@ -0,0 +1,99 @@
+function pass = splittingtest
+% Test for exact jump detection and singular function approximation.
+% Rodrigo Platte.
+
+tol = chebfunpref('eps');
+
+splitting on
+debug = false;
+Ntests = 3;
+
+pass = true;
+try
+    for j = 1:Ntests
+
+        % test jumps
+        x0 = rand;
+        f= chebfun(@(x) exp(x) +cos(7*x) + sign(x-x0));
+        pass = pass && f.ends(2) == x0 && (length(f.ends) < 4);
+        if ~pass
+            error('jump1')
+        end
+
+        x0 = rand;
+        x0 = sign(x0-.5)*x0/100; % change sign and closer to origin
+        f= chebfun(@(x) exp(x) +cos(7*x) + sign(x-x0));
+        pass = pass && f.ends(2) == x0 && (length(f.ends) < 4);
+        if ~pass
+            error('jump2')
+        end
+
+        if chebfunpref('eps') > 1/1000
+            x0 = rand;
+            x0 = sign(x0-.5)*x0/1000; % change sign and even closer to origin
+            f= chebfun(@(x) exp(x) +cos(7*x) + 0.1*sign(x-x0))+1;
+            pass = pass && f.ends(2) == x0 && (length(f.ends) < 4);
+            if ~pass
+                error('jump3')
+            end
+        end
+
+        % test C0 functions
+        x0 = rand;
+        x0 = sign(x0-.5)*x0; % change sign and closer to origin
+        f= chebfun(@(x) exp(x) +cos(7*x) + abs(x-x0));
+        pass = pass && (length(f.ends)<3) || (abs(f.ends(2) - x0)< 1e-12*(tol/eps) && (length(f.ends) < 4));
+        if ~pass
+            abs(f.ends(2) - x0)
+            error('C0')
+        end
+
+        % test C1 functions
+        x0 = rand;
+        x0 = sign(x0-.5)*x0;
+        f= chebfun(@(x) (x-x0).^2.*double(x>x0));
+        pass = pass && abs(f.ends(2) - x0)< 1e-8*(tol/eps) && (length(f.ends) < 4);
+        if ~pass
+            error('C1')
+        end
+
+        % test C2 functions
+        x0 = rand;
+        x0 = sign(x0-.5)*x0/100; % change sign and closer to origin
+        f= chebfun(@(x) exp(x) + abs(x-x0).^3+1);
+        pass = pass && abs(f.ends(2) - x0)< 1e-4*(tol/eps) && (length(f.ends) < 4);
+        if ~pass
+            error('C2')
+        end
+
+        % test C3 functions
+        x0 = rand;
+        x0 = sign(x0-.5)*x0/100;
+        f= chebfun(@(x) (x-x0).^4.*double(x>x0));
+        pass = pass && (length(f.ends) < 5);
+        if ~pass
+            error('C3')
+        end
+
+    end
+    
+    % test sqrt
+    ff = @(x) sqrt(x-2)+10;
+    f = chebfun(ff, [2,20]);
+    xx = linspace(2,10);
+    pass = pass && length(f) <600 && norm(f(xx) - ff(xx),inf)<5e-7*(tol/eps);
+    if ~pass
+        error('SQRT')
+    end
+
+
+catch
+    
+    if debug
+        err=lasterror;
+        disp('catch')
+        disp(x0)
+        disp(err.message)
+    end
+    
+end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/subspacetest.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/subspacetest.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/subspacetest.m	(revision 17)
@@ -0,0 +1,15 @@
+function pass = subspacetest
+% test the subspace function (angle between subspaces). Also calls vander.m
+% Rodrigo Platte, October 2008.
+
+pass = true;
+[d,theta] = domain(0,2*pi);
+A = [vander(exp(-1i*theta), 3) vander(exp(1i*theta), 2)];
+f = sin(10*theta); f = f/norm(f);
+A(:,1) = A(:,1)/norm(A(:,1));
+alpha = [1e-12 pi/6 pi/3 pi/2-1e-12];
+for k = 1:length(alpha)
+    B = cos(alpha(k))*A(:,1)+sin(alpha(k))*f;
+    angle = subspace(A,B);
+    pass = pass && (abs(angle-alpha(k)) < 1e4*chebfunpref('eps'));
+end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/sumcos20x.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/sumcos20x.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/sumcos20x.m	(revision 17)
@@ -0,0 +1,12 @@
+function pass = sumcos20x
+
+% TAD
+
+tol = chebfunpref('eps');
+
+f = chebfun('cos(20*x)');
+pass = abs(sum(f)-sin(20)/10) < 1e-15*(tol/eps);
+
+% RodP
+pass = pass && abs(sum(f*1i)-1i*sin(20)/10) < 1e-15*(tol/eps);
+
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemapply.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemapply.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemapply.m	(revision 17)
@@ -0,0 +1,27 @@
+function pass = systemapply
+
+tol = chebfunpref('eps');
+
+% Test 2x2 systems applied to functions.
+% TAD
+
+d=domain(-pi,pi);
+D=diff(d);
+I=eye(d);
+Z=zeros(d);
+A=[I+2*D^2 -D; D Z];
+B = A^2;
+x=d(:);
+u=[ sin(x) exp(x) ];
+
+v = A*u;
+w = A*v;
+z = (B+3)*u;
+
+u1 = u(:,1); u2 = u(:,2);
+pass(1) = norm( v(:,1) - (u1+2*diff(u1,2)-diff(u2))) < tol;
+pass(2) = norm( v(:,2) - (diff(u1))) < tol;
+pass(3) = norm( w - B*u ) < 1e-10*(tol/eps);
+pass(4) = norm( z - w - 3*u ) < 1e-10*(tol/eps);
+
+end
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemeig.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemeig.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemeig.m	(revision 17)
@@ -0,0 +1,32 @@
+function pass = systemeig
+
+% Eigenvalue test, inspired by Maxwell's equation
+
+d = domain(0,pi);
+D = diff(d); I = eye(d); Z = zeros(d);
+A = [ -I D;D Z ];
+A.lbc = [I Z];
+A.rbc = [I Z];
+
+lam = eigs(A,16);
+
+lamcorrect = [
+   -0.000000000000000                     
+  0.000000000000002                     
+ -0.499999999999999+0.866025403784436i
+ -0.499999999999999- 0.866025403784436i
+ -0.500000000000001+ 1.936491673103704i
+ -0.500000000000001- 1.936491673103704i
+ -0.499999999999996+ 2.958039891549807i
+ -0.499999999999996- 2.958039891549807i
+ -0.499999999999996+ 3.968626966596876i
+ -0.499999999999996- 3.968626966596876i
+ -0.499999999999998+ 4.974937185533104i
+ -0.499999999999998- 4.974937185533104i
+ -0.500000000000000+ 5.979130371550705i
+ -0.500000000000000- 5.979130371550705i
+ -0.499999999999998+ 6.982120021884483i
+ -0.499999999999998- 6.982120021884483i
+ ];
+
+pass = norm( lam-lamcorrect, inf ) < 1e-12;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemexpm.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemexpm.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemexpm.m	(revision 17)
@@ -0,0 +1,41 @@
+function pass = systemexpm
+
+% Exponential test, inspired by Maxwell's equation
+% TAD
+
+d = domain(-1,1);
+dt = 0.6;
+sigma = 0.75;  % conductive attenuation
+
+D = diff(d); I = eye(d); Z = zeros(d);
+A = [ -sigma*I D;D Z ];
+A.lbc = [I Z];
+A.rbc = [I Z];
+
+x = d(:);
+f = exp(-20*x.^2) .* sin(30*x);
+EH = [ f -f ];
+
+% for n = 0:5
+%   subplot(2,3,n+1)
+%   plot( expm(n*dt*A & A.bc)*EH ), 
+%   axis([-1 1 -1.25 1.25])
+%   title(['t = ' num2str(n*dt)])
+% end
+
+u = expm(dt*A & A.bc)*EH;
+
+% This is just taken from a stable version of chebops. Verify?
+ucorrect = [
+  -0.003493712804296   0.003507424266860
+   0.017400438776808  -0.017569666673771
+  -0.053993725617065   0.055047201484183
+   0.098797781796113  -0.102583796707936
+  -0.089121824015245   0.097254823360030
+  -0.004069253343800  -0.006433053771176
+   0.095392325253247  -0.087321637402261
+  -0.101288249878077   0.098387426546698
+   0.051307419712737  -0.057244515064558
+];
+
+pass = norm(u(0.1:0.1:0.9,:)-ucorrect,inf) < 1e4*chebfunpref('eps');
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemsolve1.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemsolve1.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemsolve1.m	(revision 17)
@@ -0,0 +1,21 @@
+function pass = systemsolve1
+
+% Test 2x2 system (sin/cos)
+% TAD
+
+tol = chebfunpref('eps');
+
+d=domain(-pi,pi);
+D=diff(d);
+I=eye(d);
+Z=zeros(d);
+A=[I -D; D I];
+x=d(:);
+f=[ 0*x 0*x ];
+A.lbc = {[I Z],-1};
+A.rbc = [Z I];
+u = A\f;
+
+u1 = u(:,1); u2 = u(:,2);
+pass(1) = norm( u1 - cos(x)) < 100*tol;
+pass(2) = norm( u2 - sin(x) ) < 100*tol;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemsolve2.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemsolve2.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/systemsolve2.m	(revision 17)
@@ -0,0 +1,19 @@
+function pass = systemtest1
+
+% Test solution of a 2x2 system
+% TAD
+
+d=domain(-1,1);
+D=diff(d);
+I=eye(d);
+Z=zeros(d);
+A=[D+I 2*I;D-I D];
+x=d(:);
+f=[ exp(x) chebfun(1,d) ];
+A.lbc = [I+D Z];
+A.rbc = [Z D];
+u = A\f;
+
+u1 = u(:,1); u2 = u(:,2);
+pass(1) = norm( diff(u1)+u1+2*u2-exp(x)) < 1e4*chebfunpref('eps');
+pass(2) = norm( diff(u1)-u1+diff(u2)-1 ) < 1e4*chebfunpref('eps');
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/testpoly.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/testpoly.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/testpoly.m	(revision 17)
@@ -0,0 +1,6 @@
+function pass = testpoly
+% Tests the function poly. Rodp, Feb 2009.
+
+c = rand(1,5);
+f = chebfun(@(x) polyval(c,x), [-2 10],5);
+pass = norm(c - poly(f)) < chebfunpref('eps')*1e5;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/testpolyfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/testpolyfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/testpolyfit.m	(revision 17)
@@ -0,0 +1,17 @@
+function pass = testpolyfit
+% Rodrigo Platte Jan 2009
+% Tests the polyfit commmand
+
+tol = chebfunpref('eps');
+
+x = chebfun('x',[-2 2]);
+g = sign(x);
+f0 = polyfit(g, 0);
+pass0 = norm(f0,inf) < tol;
+f1 = polyfit(g, 1);
+pass1 = norm(f1 - chebfun([-1.5 1.5],[-2 2]) ,inf) < 10*tol;
+f2 = polyfit(g, 2);
+pass2 = norm(f2 - chebfun([-1.5 1.5],[-2 2]) ,inf) < 10*tol;
+f3 = polyfit(g, 3);
+pass3 = norm(f3 - chebfun([-.625 -1.1328125 1.1328125 .625],[-2 2]) ,inf) < 10*tol;
+pass = pass0 && pass1 && pass2 && pass3;
Index: /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/vectornorms.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/vectornorms.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/chebfun_v2_0501/chebfun/chebtests/vectornorms.m	(revision 17)
@@ -0,0 +1,16 @@
+function pass = vectornorms
+
+% Nick Trefethen  27 October 2008
+
+f = chebfun(1,2,0:4:8);
+norms(1) = norm(f,1);
+norms(2) = norm(f,2);
+norms(3) = norm(f,inf);
+norms(4) = norm(f,'fro');
+norms(5) = norm(f',1);
+norms(6) = norm(f',2);
+norms(7) = norm(f',inf);
+norms(8) = norm(f','fro');
+s = sqrt(20);
+exact = [12 s 2 s 12 s 2 s];
+pass = (norm(norms-exact,inf) < 1e-14*chebfunpref('eps')/eps);
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/change_value.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/change_value.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/change_value.m	(revision 17)
@@ -0,0 +1,66 @@
+%CHANGE_VALUE  Change the value assigned to a unique variable in a file
+%
+% Examples:
+%   fail = change_value(value)
+%   fail = change_value(value, variableName)
+%   fail = change_value(value, variableName, filePath)
+%
+% Function to change the value assigned to a variable in a text file. The
+% assignment must exist already, and must be on a line on its own. For
+% example:
+%    variableName = 'string';
+%    variableName = -0.756e-8;
+% Note that there must be one or more spaces either side of the = sign.
+% Only the first such assignment is changed.
+%
+% IN:
+%   value - The value to be assigned to the variable.
+%   variableName - String containing the name of the variable whose value
+%                  is to be set. Default: name of variable given as value.
+%   filePath - Full path of the file to change. Default: path of calling
+%              file.
+%
+% OUT:
+%   fail - true if change failed, false otherwise.
+
+function fail = change_value(value, variableName, filePath)
+% Check for missing inputs
+if nargin < 3
+    % Get the filename of the calling function
+    filePath = dbstack;
+    filePath = which(filePath(2).file);
+    if nargin < 2
+        % Get the variable name
+        variableName = inputname(1);
+    end
+end
+fail = true;
+% Read in the file
+fh = fopen(filePath, 'rt');
+if fh < 0
+    return
+end
+fstrm = fread(fh, '*char')';
+fclose(fh);
+% Find the path
+first_sec = regexp(fstrm, ['[\n\r]+ *' variableName ' += +'], 'end', 'once');
+second_sec = first_sec + regexp(fstrm(first_sec+1:end), ';? *[\n\r]+', 'once');
+if isempty(first_sec) || isempty(second_sec)
+    return
+end
+% Create the changed line
+if ischar(value)
+    str = '''%s''';
+else
+    str = '%1.50g';
+end
+str = sprintf(str, value);
+% Save the file with the value changed
+fh = fopen(filePath, 'wt');
+if fh < 0
+    return
+end
+fprintf(fh, '%s%s%s', fstrm(1:first_sec), str, fstrm(second_sec:end));
+fclose(fh);
+fail = false;
+return
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/eps2pdf.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/eps2pdf.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/eps2pdf.m	(revision 17)
@@ -0,0 +1,93 @@
+%EPS2PDF  Convert an eps file to pdf format using ghostscript
+%
+% Examples:
+%   eps2pdf source dest
+%   eps2pdf(source, dest, crop)
+%   eps2pdf(source, dest, crop, append)
+%   eps2pdf(source, dest, crop, append, gray)
+%   eps2pdf(source, dest, crop, append, gray, quality)
+%
+% This function converts an eps file to pdf format. The output can be
+% optionally cropped and also converted to grayscale. If the output pdf
+% file already exists then the eps file can optionally be appended as a new
+% page on the end of the eps file. The level of bitmap compression can also
+% optionally be set.
+%
+% This function requires that you have ghostscript installed on your
+% system. Ghostscript can be downloaded from: http://www.ghostscript.com
+%
+%IN:
+%   source - filename of the source eps file to convert. The filename is
+%            assumed to already have the extension ".eps".
+%   dest - filename of the destination pdf file. The filename is assumed to
+%          already have the extension ".pdf".
+%   crop - boolean indicating whether to crop the borders off the pdf.
+%          Default: true.
+%   append - boolean indicating whether the eps should be appended to the
+%            end of the pdf as a new page (if the pdf exists already).
+%            Default: false.
+%   gray - boolean indicating whether the output pdf should be grayscale or
+%          not. Default: false.
+%   quality - scalar indicating the level of image bitmap quality to
+%             output. A larger value gives a higher quality. quality > 100
+%             gives lossless output. Default: ghostscript prepress default.
+
+% Copyright (C) Oliver Woodford 2009-2010
+
+% Suggestion of appending pdf files provided by Matt C at:
+% http://www.mathworks.com/matlabcentral/fileexchange/23629
+
+% Thank you to Fabio Viola for pointing out compression artifacts, leading
+% to the quality setting.
+
+function eps2pdf(source, dest, crop, append, gray, quality)
+% Intialise the options string for ghostscript
+options = ['-q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile="' dest '"'];
+% Set crop option
+if nargin < 3 || crop
+    options = [options ' -dEPSCrop'];
+end
+% Set the grayscale option
+if nargin > 4 && gray
+    options = [options ' -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray'];
+end
+% Set the bitmap quality
+if nargin > 5 && ~isempty(quality)
+    options = [options ' -dAutoFilterColorImages=false -dAutoFilterGrayImages=false'];
+    if quality > 100
+        options = [options ' -dColorImageFilter=/FlateEncode -dGrayImageFilter=/FlateEncode'];
+    else
+        options = [options ' -dColorImageFilter=/DCTEncode -dGrayImageFilter=/DCTEncode'];
+        v = 1 + (quality < 80);
+        quality = 1 - quality / 100;
+        s = sprintf('<< /QFactor %.2f /Blend 1 /HSample [%d 1 1 %d] /VSample [%d 1 1 %d] >>', quality, v, v, v, v);
+        options = sprintf('%s -c ".setpdfwrite << /ColorImageDict %s /GrayImageDict %s >> setdistillerparams"', options, s, s);
+    end
+end
+% Check if the output file exists
+if nargin > 3 && append && exist(dest, 'file') == 2
+    % File exists - append current figure to the end
+    tmp_nam = tempname;
+    % Copy the file
+    copyfile(dest, tmp_nam);
+    % Add the output file names
+    options = [options ' -f "' tmp_nam '" "' source '"'];
+    try
+        % Convert to pdf using ghostscript
+        ghostscript(options);
+    catch
+        % Delete the intermediate file
+        delete(tmp_nam);
+        rethrow(lasterror);
+    end
+    % Delete the intermediate file
+    delete(tmp_nam);
+else
+    % File doesn't exist or should be over-written
+    % Add the output file names
+    options = [options ' -f "' source '"'];
+    % Convert to pdf using ghostscript
+    ghostscript(options);
+end
+return
+
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/export_fig.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/export_fig.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/export_fig.m	(revision 17)
@@ -0,0 +1,730 @@
+%EXPORT_FIG  Exports figures suitable for publication
+%
+% Examples:
+%   im = export_fig
+%   [im alpha] = export_fig
+%   export_fig filename
+%   export_fig filename -format1 -format2
+%   export_fig ... -nocrop
+%   export_fig ... -native
+%   export_fig ... -m<val>
+%   export_fig ... -r<val>
+%   export_fig ... -a<val>
+%   export_fig ... -q<val>
+%   export_fig ... -<renderer>
+%   export_fig ... -<colorspace>
+%   export_fig ... -append
+%   export_fig(..., handle)
+%
+% This function saves a figure or single axes to one or more vector and/or
+% bitmap file formats, and/or outputs a rasterized version to the
+% workspace, with the following properties:
+%   - Figure/axes reproduced as it appears on screen
+%   - Cropped borders (optional)
+%   - Embedded fonts (vector formats)
+%   - Improved line and grid line styles
+%   - Anti-aliased graphics (bitmap formats)
+%   - Render images at native resolution (optional for bitmap formats)
+%   - Transparent background supported (pdf, eps, png)
+%   - Semi-transparent patch objects supported (png only)
+%   - RGB, CMYK or grayscale output (CMYK only with pdf, eps, tiff)
+%   - Variable image compression, including lossless (pdf, eps, jpg)
+%   - Optionally append to file (pdf, tiff)
+%   - Vector formats: pdf, eps
+%   - Bitmap formats: png, tiff, jpg, bmp, export to workspace 
+%   
+% This function is especially suited to exporting figures for use in
+% publications and presentations, because of the high quality and
+% portability of media produced.
+%
+% Note that the background color and figure dimensions are reproduced
+% (the latter approximately, and ignoring cropping & magnification) in the
+% output file. For transparent background (and semi-transparent patch
+% objects), set the figure (and axes) 'Color' property to 'none'; pdf, eps
+% and png are the only file formats to support a transparent background,
+% whilst the png format alone supports transparency of patch objects.
+%
+% The choice of renderer (opengl, zbuffer or painters) has a large impact
+% on the quality of output. Whilst the default value (opengl for bitmaps,
+% painters for vector formats) generally gives good results, if you aren't
+% satisfied then try another renderer.  Notes: 1) For vector formats (eps,
+% pdf), only painters generates vector graphics. 2) For bitmaps, only
+% opengl can render transparent patch objects correctly. 3) For bitmaps,
+% only painters will correctly scale line dash and dot lengths when
+% magnifying or anti-aliasing. 4) Fonts may be substitued with Courier when
+% using painters.
+%
+% When exporting to vector format (pdf & eps) and bitmap format using the
+% painters renderer, this function requires that ghostscript is installed
+% on your system. You can download this from:
+%   http://www.ghostscript.com
+% When exporting to eps it additionally requires pdftops, from the Xpdf
+% suite of functions. You can download this from:
+%   http://www.foolabs.com/xpdf
+%
+%IN:
+%   filename - string containing the name (optionally including full or
+%              relative path) of the file the figure is to be saved as. If
+%              a path is not specified, the figure is saved in the current
+%              directory. If no name and no output arguments are specified,
+%              the default name, 'export_fig_out', is used. If neither a
+%              file extension nor a format are specified, a ".png" is added
+%              and the figure saved in that format.
+%   -format1, -format2, etc. - strings containing the extensions of the
+%                              file formats the figure is to be saved as.
+%                              Valid options are: '-pdf', '-eps', '-png',
+%                              '-tif', '-jpg' and '-bmp'. All combinations
+%                              of formats are valid.
+%   -nocrop - option indicating that the borders of the output are not to
+%             be cropped.
+%   -m<val> - option where val indicates the factor to magnify the
+%             on-screen figure dimensions by when generating bitmap
+%             outputs. Default: '-m1'.
+%   -r<val> - option val indicates the resolution (in pixels per inch) to
+%             export bitmap outputs at, keeping the dimensions of the
+%             on-screen figure. Default: sprintf('-r%g', get(0,
+%             'ScreenPixelsPerInch')). Note that the -m and -r options
+%             change the same property.
+%   -native - option indicating that the output resolution (when outputting
+%             a bitmap format) should be such that the vertical resolution
+%             of the first suitable image found in the figure is at the
+%             native resolution of that image. To specify a particular
+%             image to use, give it the tag 'export_fig_native'. Notes:
+%             This overrides any value set with the -m and -r options. It
+%             also assumes that the image is displayed front-to-parallel
+%             with the screen. The output resolution is approximate and
+%             should not be relied upon. Anti-aliasing can have adverse
+%             effects on image quality (disable with the -a1 option).
+%   -a1, -a2, -a3, -a4 - option indicating the amount of anti-aliasing to
+%                        use for bitmap outputs. '-a1' means no anti-
+%                        aliasing; '-a4' is the maximum amount (default).
+%   -<renderer> - option to force a particular renderer (painters, opengl
+%                 or zbuffer) to be used over the default: opengl for
+%                 bitmaps; painters for vector formats.
+%   -<colorspace> - option indicating which colorspace color figures should
+%                   be saved in: RGB (default), CMYK or gray. CMYK is only
+%                   supported in pdf, eps and tiff output.
+%   -q<val> - option to vary bitmap image quality (in pdf, eps and jpg
+%             files only).  Larger val, in the range 0-100, gives higher
+%             quality/lower compression. val > 100 gives lossless
+%             compression. Default: '-q95' for jpg, ghostscript prepress
+%             default for pdf & eps. Note: lossless compression can
+%             sometimes give a smaller file size than the default lossy
+%             compression, depending on the type of images.
+%   -append - option indicating that if the file (pdfs only) already
+%             exists, the figure is to be appended as a new page, instead
+%             of being overwritten (default).
+%   handle - The handle of the figure or axes to be saved. Default: gcf.
+%
+%OUT:
+%   im - MxNxC uint8 image array of the figure.
+%   alpha - MxN single array of alphamatte values in range [0,1], for the
+%           case when the background is transparent.
+%
+%   Some helpful examples and tips can be found at:
+%      http://sites.google.com/site/oliverwoodford/software/export_fig
+%
+%   See also PRINT, SAVEAS.
+
+% Copyright (C) Oliver Woodford 2008-2010
+
+% The idea of using ghostscript is inspired by Peder Axensten's SAVEFIG
+% (fex id: 10889) which is itself inspired by EPS2PDF (fex id: 5782).
+% The idea for using pdftops came from the MATLAB newsgroup (id: 168171).
+% The idea of editing the EPS file to change line styles comes from Jiro
+% Doke's FIXPSLINESTYLE (fex id: 17928).
+% The idea of changing dash length with line width came from comments on
+% fex id: 5743, but the implementation is mine :)
+% The idea of anti-aliasing bitmaps came from Anders Brun's MYAA (fex id:
+% 20979).
+% The idea of appending figures in pdfs came from Matt C in comments on the
+% FEX (id: 23629)
+
+% Many thanks to Roland Martin for pointing out the colour MATLAB
+% bug/feature with colorbar axes and transparent backgrounds.
+% Thanks also to Andrew Matthews for describing a bug to do with the figure
+% size changing in -nodisplay mode. I couldn't reproduce it but included a
+% fix anyway.
+
+function [im alpha] = export_fig(varargin)
+% Parse the input arguments
+[fig options] = parse_args(nargout, varargin{:});
+% Isolate the subplot, if it is one
+cls = strcmp(get(fig, 'Type'), 'axes');
+if cls
+    % Given a handle of a single set of axes
+    fig = isolate_subplot(fig);
+else
+    old_mode = get(fig, 'InvertHardcopy');
+end
+% Hack the font units where necessary (due to a font rendering bug in
+% print?). This may not work perfectly in all cases. Also it can change the
+% figure layout if reverted, so use a copy.
+magnify = options.magnify * options.aa_factor;
+if isbitmap(options) && magnify ~= 1
+    fontu = findobj(fig, 'FontUnits', 'normalized');
+    if ~isempty(fontu)
+        % Some normalized font units found
+        if ~cls
+            fig = copyfig(fig);
+            set(fig, 'Visible', 'off');
+            fontu = findobj(fig, 'FontUnits', 'normalized');
+            cls = true;
+        end
+        set(fontu, 'FontUnits', 'points');
+    end
+end
+% Set to print exactly what is there
+set(fig, 'InvertHardcopy', 'off');
+% Set the renderer
+switch options.renderer
+    case 1
+        renderer = '-opengl';
+    case 2
+        renderer = '-zbuffer';
+    case 3
+        renderer = '-painters';
+    otherwise
+        renderer = '-opengl'; % Default for bitmaps
+end
+% Do the bitmap formats first
+if isbitmap(options)
+    % Get the background colour
+    tcol = get(fig, 'Color');
+    if isequal(tcol, 'none') && (options.png || options.alpha)
+        % Get out an alpha channel
+        % MATLAB "feature": black colorbar axes can change to white and vice versa!
+        hCB = findobj(fig, 'Type', 'axes', 'Tag', 'Colorbar');
+        if isempty(hCB)
+            yCol = [];
+            xCol = [];
+        else
+            yCol = get(hCB, 'YColor');
+            xCol = get(hCB, 'XColor');
+            if iscell(yCol)
+                yCol = cell2mat(yCol);
+                xCol = cell2mat(xCol);
+            end
+            yCol = sum(yCol, 2);
+            xCol = sum(xCol, 2);
+        end
+        % MATLAB "feature": apparently figure size can change when changing
+        % colour in -nodisplay mode
+        pos = get(fig, 'Position');
+        % Set the background colour to black, and set size in case it was
+        % changed internally
+        set(fig, 'Color', 'k', 'Position', pos);
+        % Correct the colorbar axes colours
+        set(hCB(yCol==0), 'YColor', [0 0 0]);
+        set(hCB(xCol==0), 'XColor', [0 0 0]);
+        % Print large version to array
+        B = print2array(fig, magnify, renderer);
+        % Downscale the image
+        B = downsize(single(B), 0, options.aa_factor);
+        % Set background to white (and set size)
+        set(fig, 'Color', 'w', 'Position', pos);
+        % Correct the colorbar axes colours
+        set(hCB(yCol==3), 'YColor', [1 1 1]);
+        set(hCB(xCol==3), 'XColor', [1 1 1]);
+        % Print large version to array
+        A = print2array(fig, magnify, renderer);
+        % Downscale the image
+        A = downsize(single(A), 255, options.aa_factor);
+        % Set the background colour (and size) back to normal
+        set(fig, 'Color', 'none', 'Position', pos);
+        % Compute the alpha map
+        alpha = sum(B - A, 3) / (255*3) + 1;
+        A = alpha;
+        A(A==0) = 1;
+        A = B ./ A(:,:,[1 1 1]);
+        clear B
+        % Convert to greyscale
+        if options.colourspace == 2
+            A = rgb2grey(A);
+        end
+        A = uint8(A);
+        % Crop the background
+        if options.crop
+            [alpha v] = crop_background(alpha, 0);
+            A = A(v(1):v(2),v(3):v(4),:);
+        end
+        if options.png
+            % Compute the resolution
+            res = options.magnify * get(0, 'ScreenPixelsPerInch') / 25.4e-3;
+            % Save the png
+            imwrite(A, [options.name '.png'], 'Alpha', alpha, 'ResolutionUnit', 'meter', 'XResolution', res, 'YResolution', res);
+            % Clear the png bit
+            options.png = false;
+        end
+        % Return only one channel for greyscale
+        if isbitmap(options)
+            A = check_greyscale(A);
+        end
+        if options.alpha
+            % Store the image
+            im = A;
+            % Clear the alpha bit
+            options.alpha = false;
+        end
+        % Get the non-alpha image
+        if isbitmap(options)
+            alph = alpha(:,:,ones(1, size(A, 3)));
+            A = uint8(single(A) .* alph + 255 * (1 - alph));
+            clear alph
+        end
+        if options.im
+            % Store the new image
+            im = A;
+        end
+    else
+        % Print large version to array
+        if isequal(tcol, 'none')
+            % MATLAB "feature": apparently figure size can change when changing
+            % colour in -nodisplay mode
+            pos = get(fig, 'Position');
+            set(fig, 'Color', 'w', 'Position', pos);
+            A = print2array(fig, magnify, renderer);
+            set(fig, 'Color', 'none', 'Position', pos);
+            tcol = 255;
+        else
+            A = print2array(fig, magnify, renderer);
+            tcol = tcol * 255;
+            if ~isequal(tcol, round(tcol))
+                tcol = squeeze(A(1,1,:));
+            end
+        end
+        % Crop the background
+        if options.crop
+            A = crop_background(A, tcol);
+        end
+        % Downscale the image
+        A = downsize(A, tcol, options.aa_factor);
+        if options.colourspace == 2
+            % Convert to greyscale
+            A = rgb2grey(A);
+        else
+            % Return only one channel for greyscale
+            A = check_greyscale(A);
+        end
+        % Outputs
+        if options.im
+            im = A;
+        end
+        if options.alpha
+            im = A;
+            alpha = zeros(size(A, 1), size(A, 2), 'single');
+        end
+    end
+    % Save the images
+    if options.png
+        res = options.magnify * get(0, 'ScreenPixelsPerInch') / 25.4e-3;
+        imwrite(A, [options.name '.png'], 'ResolutionUnit', 'meter', 'XResolution', res, 'YResolution', res);
+    end
+    if options.bmp
+        imwrite(A, [options.name '.bmp']);
+    end
+    % Save jpeg with given quality
+    if options.jpg
+        quality = options.quality;
+        if isempty(quality)
+            quality = 95;
+        end
+        if quality > 100
+            imwrite(A, [options.name '.jpg'], 'Mode', 'lossless');
+        else
+            imwrite(A, [options.name '.jpg'], 'Quality', quality);
+        end
+    end
+    % Save tif images in cmyk if wanted (and possible)
+    if options.tif
+        if options.colourspace == 1 && size(A, 3) == 3
+            A = double(255 - A);
+            K = min(A, [], 3);
+            K_ = 255 ./ max(255 - K, 1);
+            C = (A(:,:,1) - K) .* K_;
+            M = (A(:,:,2) - K) .* K_;
+            Y = (A(:,:,3) - K) .* K_;
+            A = uint8(cat(3, C, M, Y, K));
+            clear C M Y K K_
+        end
+        append_mode = {'overwrite', 'append'};
+        imwrite(A, [options.name '.tif'], 'Resolution', options.magnify*get(0, 'ScreenPixelsPerInch'), 'WriteMode', append_mode{options.append+1});
+    end
+end
+% Now do the vector formats
+if isvector(options)
+    % Set the default renderer to painters
+    if ~options.renderer
+        renderer = '-painters';
+    end
+    % Generate some filenames
+    tmp_nam = [tempname '.eps'];
+    if options.pdf
+        pdf_nam = [options.name '.pdf'];
+    else
+        pdf_nam = [tempname '.pdf'];
+    end
+    % Generate the options for print
+    p2eArgs = {renderer};
+    if options.colourspace == 1
+        p2eArgs = [p2eArgs {'-cmyk'}];
+    end
+    if ~options.crop
+        p2eArgs = [p2eArgs {'-loose'}];
+    end
+    try
+        % Generate an eps
+        print2eps(tmp_nam, fig, p2eArgs{:});
+        % Generate a pdf
+        eps2pdf(tmp_nam, pdf_nam, 1, options.append, options.colourspace==2, options.quality);
+    catch
+        % Delete the eps
+        delete(tmp_nam);
+        rethrow(lasterror);
+    end
+    % Delete the eps
+    delete(tmp_nam);
+    if options.eps
+        try
+            % Generate an eps from the pdf
+            pdf2eps(pdf_nam, [options.name '.eps']);
+        catch
+            if ~options.pdf
+                % Delete the pdf
+                delete(pdf_nam);
+            end
+            rethrow(lasterror);
+        end
+        if ~options.pdf
+            % Delete the pdf
+            delete(pdf_nam);
+        end
+    end
+end
+if cls
+    % Close the created figure
+    close(fig);
+else
+    % Reset the hardcopy mode
+    set(fig, 'InvertHardcopy', old_mode);
+end
+return
+
+function [fig options] = parse_args(nout, varargin)
+% Parse the input arguments
+% Set the defaults
+fig = get(0, 'CurrentFigure');
+options = struct('name', 'export_fig_out', ...
+                 'crop', true, ...
+                 'renderer', 0, ... % 0: default, 1: OpenGL, 2: ZBuffer, 3: Painters
+                 'pdf', false, ...
+                 'eps', false, ...
+                 'png', false, ...
+                 'tif', false, ...
+                 'jpg', false, ...
+                 'bmp', false, ...
+                 'colourspace', 0, ... % ): RGB/gray, 1: CMYK, 2: gray
+                 'append', false, ...
+                 'im', nout == 1, ...
+                 'alpha', nout == 2, ...
+                 'aa_factor', 4, ...
+                 'magnify', 1, ...
+                 'quality', []);
+native = false; % Set resolution to native of an image
+
+% Go through the other arguments
+for a = 1:nargin-1
+    if ishandle(varargin{a})
+        fig = varargin{a};
+    elseif ischar(varargin{a}) && ~isempty(varargin{a})
+        if varargin{a}(1) == '-'
+            switch lower(varargin{a}(2:end))
+                case 'nocrop'
+                    options.crop = false;
+                case 'opengl'
+                    options.renderer = 1;
+                case 'zbuffer'
+                    options.renderer = 2;
+                case 'painters'
+                    options.renderer = 3;
+                case 'pdf'
+                    options.pdf = true;
+                case 'eps'
+                    options.eps = true;
+                case 'png'
+                    options.png = true;
+                case {'tif', 'tiff'}
+                    options.tif = true;
+                case {'jpg', 'jpeg'}
+                    options.jpg = true;
+                case 'bmp'
+                    options.bmp = true;
+                case 'rgb'
+                    options.colourspace = 0;
+                case 'cmyk'
+                    options.colourspace = 1;
+                case {'gray', 'grey'}
+                    options.colourspace = 2;
+                case {'a1', 'a2', 'a3', 'a4'}
+                    options.aa_factor = str2double(varargin{a}(3));
+                case 'append'
+                    options.append = true;
+                case 'native'
+                    native = true;
+                otherwise
+                    val = str2double(regexp(varargin{a}, '(?<=-(m|M|r|R|q|Q))(\d*\.)?\d+(e-?\d+)?', 'match'));
+                    if ~isscalar(val)
+                        error('option %s not recognised', varargin{a});
+                    end
+                    switch lower(varargin{a}(2))
+                        case 'm'
+                            options.magnify = val;
+                        case 'r'
+                            options.magnify = val ./ get(0, 'ScreenPixelsPerInch');
+                        case 'q'
+                            options.quality = max(val, 0);
+                    end
+            end
+        else
+            name = varargin{a};
+            if numel(name) > 3 && name(end-3) == '.' && any(strcmpi(name(end-2:end), {'pdf', 'eps', 'png', 'tif', 'jpg', 'bmp'}))
+                options.(lower(name(end-2:end))) = true;
+                name = name(1:end-4);
+            end
+            options.name = name;
+        end
+    end
+end
+
+% Check we have a figure handle
+if isempty(fig)
+    error('No figure found');
+end
+
+% Set the default format
+if ~isvector(options) && ~isbitmap(options)
+    options.png = true;
+end
+
+% If requested, set the resolution to the native vertical resolution of the
+% first suitable image found
+if native && isbitmap(options)
+    % Find a suitable image
+    list = findobj(fig, 'Type', 'image', 'Tag', 'export_fig_native');
+    if isempty(list)
+        list = findobj(fig, 'Type', 'image', 'Visible', 'on');
+    end
+    for hIm = list(:)'
+        % Check height is >= 2
+        height = size(get(hIm, 'CData'), 1);
+        if height < 2
+            continue
+        end
+        % Account for the image filling only part of the axes, or vice
+        % versa
+        yl = get(hIm, 'YData');
+        if isscalar(yl)
+            yl = [yl(1)-0.5 yl(1)+height+0.5];
+        else
+            if ~diff(yl)
+                continue
+            end
+            yl = yl + [-0.5 0.5] * (diff(yl) / (height - 1));
+        end
+        hAx = get(hIm, 'Parent');
+        yl2 = get(hAx, 'YLim');
+        % Find the pixel height of the axes
+        oldUnits = get(hAx, 'Units');
+        set(hAx, 'Units', 'pixels');
+        pos = get(hAx, 'Position');
+        set(hAx, 'Units', oldUnits);
+        if ~pos(4)
+            continue
+        end
+        % Found a suitable image
+        % Account for stretch-to-fill being disabled
+        pbar = get(hAx, 'PlotBoxAspectRatio');
+        pos = min(pos(4), pbar(2)*pos(3)/pbar(1));
+        % Set the magnification to give native resolution
+        options.magnify = (height * diff(yl2)) / (pos * diff(yl));
+        break
+    end
+end
+return
+
+function fh = isolate_subplot(ah, vis)
+% Isolate the axes in a figure on their own
+% Tag the axes so we can find them in the copy
+old_tag = get(ah, 'Tag');
+set(ah, 'Tag', 'AxesToCopy');
+% Create a new figure exactly the same as the old one
+fh = copyfig(ancestor(ah, 'figure')); %copyobj(ancestor(ah, 'figure'), 0);
+if nargin < 2 || ~vis
+    set(fh, 'Visible', 'off');
+end
+% Reset the axes tag
+set(ah, 'Tag', old_tag);
+% Get all the axes
+axs = findobj(fh, 'Type', 'axes');
+% Find the axes to save
+ah = findobj(axs, 'Tag', 'AxesToCopy');
+if numel(ah) ~= 1
+    close(fh);
+    error('Too many axes found');
+end
+I = true(size(axs));
+I(axs==ah) = false;
+% Set the axes tag to what it should be
+set(ah, 'Tag', old_tag);
+% Keep any legends which overlap the subplot
+ax_pos = get(ah, 'OuterPosition');
+ax_pos(3:4) = ax_pos(3:4) + ax_pos(1:2);
+for ah = findobj(axs, 'Tag', 'legend', '-or', 'Tag', 'Colorbar')'
+    leg_pos = get(ah, 'OuterPosition');
+    leg_pos(3:4) = leg_pos(3:4) + leg_pos(1:2);
+    % Overlap test
+    if leg_pos(1) < ax_pos(3) && leg_pos(2) < ax_pos(4) &&...
+       leg_pos(3) > ax_pos(1) && leg_pos(4) > ax_pos(2)
+        I(axs==ah) = false;
+    end
+end
+% Delete all axes except for the input axes and associated items
+delete(axs(I));
+return
+
+function fh = copyfig(fh)
+% Is there a legend?
+if isempty(findobj(fh, 'Type', 'axes', 'Tag', 'legend'))
+    % Safe to copy using copyobj
+    fh = copyobj(fh, 0);
+else
+    % copyobj will change the figure, so save and then load it instead
+    tmp_nam = [tempname '.fig'];
+    hgsave(fh, tmp_nam);
+    fh = hgload(tmp_nam);
+    delete(tmp_nam);
+end
+return
+
+function A = downsize(A, padval, factor)
+% Downsample an image
+if factor == 1
+    % Nothing to do
+    return
+end
+try
+    % Faster, but requires image processing toolbox
+    A = imresize(A, 1/factor, 'bilinear');
+catch
+    % No image processing toolbox - resize manually
+    % Lowpass filter - use Gaussian as is separable, so faster
+    switch factor
+        case 4
+            % sigma: 1.7
+            filt = single([0.0148395 0.0498173 0.118323 0.198829 0.236384 0.198829 0.118323 0.0498173 0.0148395]);
+        case 3
+            % sigma: 1.35
+            filt = single([0.025219 0.099418 0.226417 0.297892 0.226417 0.099418 0.025219]);
+        case 2
+            % sigma: 1.0
+            filt = single([0.054489 0.244201 0.40262 0.244201 0.054489]);
+    end
+    padding = floor(numel(filt) / 2);
+    if numel(padval) == 3 && padval(1) == padval(2) && padval(2) == padval(3)
+        padval = padval(1);
+    end
+    if numel(padval) == 1
+        B = repmat(single(padval), [size(A, 1) size(A, 2)] + (2 * padding));
+    end
+    for a = 1:size(A, 3)
+        if numel(padval) == 3
+            B = repmat(single(padval(a)), [size(A, 1) size(A, 2)] + (2 * padding));
+        end
+        B(padding+1:end-padding,padding+1:end-padding) = A(:,:,a);
+        A(:,:,a) = conv2(filt, filt', B, 'valid');
+    end
+    clear B
+    % Subsample
+    A = A(2:factor:end,2:factor:end,:);
+end
+return
+
+function A = rgb2grey(A)
+A = cast(reshape(reshape(single(A), [], 3) * single([0.299; 0.587; 0.114]), size(A, 1), size(A, 2)), class(A));
+return
+
+function A = check_greyscale(A)
+% Check if the image is greyscale
+if size(A, 3) == 3 && ...
+        all(reshape(A(:,:,1) == A(:,:,2), [], 1)) && ...
+        all(reshape(A(:,:,2) == A(:,:,3), [], 1))
+    A = A(:,:,1); % Save only one channel for 8-bit output
+end
+return
+
+function [A v] = crop_background(A, bcol)
+% Map the foreground pixels
+[h w c] = size(A);
+if isscalar(bcol) && c > 1
+    bcol = bcol(ones(1, c));
+end
+bail = false;
+for l = 1:w
+    for a = 1:c
+        if ~all(A(:,l,a) == bcol(a))
+            bail = true;
+            break;
+        end
+    end
+    if bail
+        break;
+    end
+end
+bail = false;
+for r = w:-1:l
+    for a = 1:c
+        if ~all(A(:,r,a) == bcol(a))
+            bail = true;
+            break;
+        end
+    end
+    if bail
+        break;
+    end
+end
+bail = false;
+for t = 1:h
+    for a = 1:c
+        if ~all(A(t,:,a) == bcol(a))
+            bail = true;
+            break;
+        end
+    end
+    if bail
+        break;
+    end
+end
+bail = false;
+for b = h:-1:t
+    for a = 1:c
+        if ~all(A(b,:,a) == bcol(a))
+            bail = true;
+            break;
+        end
+    end
+    if bail
+        break;
+    end
+end
+% Crop the background
+A = A(t:b,l:r,:);
+v = [t b l r];
+return
+
+function b = isvector(options)
+b = options.pdf || options.eps;
+return
+
+function b = isbitmap(options)
+b = options.png || options.tif || options.jpg || options.bmp || options.im || options.alpha;
+return
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/fix_lines.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/fix_lines.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/fix_lines.m	(revision 17)
@@ -0,0 +1,142 @@
+function fix_lines(fname, fname2)
+%FIX_LINES  Improves the line style of eps files generated by print
+%
+% Examples:
+%   fix_lines fname
+%   fix_lines fname fname2
+%
+% This function improves the style of lines in eps files generated by
+% MATLAB's print function, making them more similar to those seen on
+% screen. Grid lines are also changed from a dashed style to a dotted
+% style, for greater differentiation from dashed lines.
+% 
+% The function also places embedded fonts after the postscript header, in
+% versions of MATLAB which place the fonts first (R2006b and earlier), in
+% order to allow programs such as Ghostscript to find the bounding box
+% information.
+%
+% IN:
+%   fname - Name or path of source eps file.
+%   fname2 - Name or path of destination eps file. Default: same as fname.
+
+% Copyright: (C) Oliver Woodford, 2008-2010
+
+% The idea of editing the EPS file to change line styles comes from Jiro
+% Doke's FIXPSLINESTYLE (fex id: 17928)
+% The idea of changing dash length with line width came from comments on
+% fex id: 5743, but the implementation is mine :)
+
+% Thank you to Sylvain Favrot for bringing the embedded font/bounding box
+% interaction in older versions of MATLAB to my attention.
+
+% Read in the file
+fh = fopen(fname, 'rt');
+try
+    fstrm = fread(fh, '*char')';
+catch
+    fclose(fh);
+    rethrow(lasterror);
+end
+fclose(fh);
+
+% Move any embedded fonts after the postscript header
+if strcmp(fstrm(1:15), '%!PS-AdobeFont-')
+    % Find the start and end of the header
+    ind = regexp(fstrm, '[\n\r]%!PS-Adobe-');
+    [ind2 ind2] = regexp(fstrm, '[\n\r]%%EndComments[\n\r]+');
+    % Put the header first
+    if ~isempty(ind) && ~isempty(ind2) && ind(1) < ind2(1)
+        fstrm = fstrm([ind(1)+1:ind2(1) 1:ind(1) ind2(1)+1:end]);
+    end
+end
+
+% Make sure all line width commands come before the line style definitions,
+% so that dash lengths can be based on the correct widths
+% Find all line style sections
+ind = [regexp(fstrm, '[\n\r]SO[\n\r]'),... % This needs to be here even though it doesn't have dots/dashes!
+       regexp(fstrm, '[\n\r]DO[\n\r]'),...
+       regexp(fstrm, '[\n\r]DA[\n\r]'),...
+       regexp(fstrm, '[\n\r]DD[\n\r]')];
+ind = sort(ind);
+% Find line width commands
+[ind2 ind3] = regexp(fstrm, '[\n\r]\d* w[\n\r]');
+% Go through each line style section and swap with any line width commands
+% near by
+b = 1;
+m = numel(ind);
+n = numel(ind2);
+for a = 1:m
+    % Go forwards width commands until we pass the current line style
+    while b <= n && ind2(b) < ind(a)
+        b = b + 1;
+    end
+    if b > n
+        % No more width commands
+        break;
+    end
+    % Check we haven't gone past another line style (including SO!)
+    if a < m && ind2(b) > ind(a+1)
+        continue;
+    end
+    % Are the commands close enough to be confident we can swap them?
+    if (ind2(b) - ind(a)) > 8
+        continue;
+    end
+    % Move the line style command below the line width command
+    fstrm(ind(a)+1:ind3(b)) = [fstrm(ind(a)+4:ind3(b)) fstrm(ind(a)+1:ind(a)+3)];
+    b = b + 1;
+end
+
+% Find any grid line definitions and change to GR format
+% Find the DO sections again as they may have moved
+ind = int32(regexp(fstrm, '[\n\r]DO[\n\r]'));
+if ~isempty(ind)
+    % Find all occurrences of what are believed to be axes and grid lines
+    ind2 = int32(regexp(fstrm, '[\n\r] *\d* *\d* *mt *\d* *\d* *L[\n\r]'));
+    if ~isempty(ind2)
+        % Now see which DO sections come just before axes and grid lines
+        ind2 = repmat(ind2', [1 numel(ind)]) - repmat(ind, [numel(ind2) 1]);
+        ind2 = any(ind2 > 0 & ind2 < 12); % 12 chars seems about right
+        ind = ind(ind2);
+        % Change any regions we believe to be grid lines to GR
+        fstrm(ind+1) = 'G';
+        fstrm(ind+2) = 'R';
+    end
+end
+
+% Isolate line style definition section
+first_sec = findstr(fstrm, '% line types:');
+[second_sec remaining] = strtok(fstrm(first_sec+1:end), '/');
+[dummy remaining] = strtok(remaining, '%');
+
+% Define the new styles, including the new GR format
+% Dot and dash lengths have two parts: a constant amount plus a line width
+% variable amount. The constant amount comes after dpi2point, and the
+% variable amount comes after currentlinewidth. If you want to change
+% dot/dash lengths for a one particular line style only, edit the numbers
+% in the /DO (dotted lines), /DA (dashed lines), /DD (dot dash lines) and
+% /GR (grid lines) lines for the style you want to change.
+new_style = {'/dom { dpi2point 1 currentlinewidth 0.08 mul add mul mul } bdef',... % Dot length macro based on line width
+             '/dam { dpi2point 2 currentlinewidth 0.04 mul add mul mul } bdef',... % Dash length macro based on line width
+             '/SO { [] 0 setdash 0 setlinecap } bdef',... % Solid lines
+             '/DO { [1 dom 1.2 dom] 0 setdash 0 setlinecap } bdef',... % Dotted lines
+             '/DA { [4 dam 1.5 dam] 0 setdash 0 setlinecap } bdef',... % Dashed lines
+             '/DD { [1 dom 1.2 dom 4 dam 1.2 dom] 0 setdash 0 setlinecap } bdef',... % Dot dash lines
+             '/GR { [0 dpi2point mul 4 dpi2point mul] 0 setdash 1 setlinecap } bdef'}; % Grid lines - dot spacing remains constant
+new_style = sprintf('%s\r', new_style{:});
+
+if nargin < 2
+    % Overwrite the input file
+    fname2 = fname;
+end
+
+% Save the file with the section replaced
+fh = fopen(fname2, 'wt');
+try
+    fprintf(fh, '%s%s%s%s', fstrm(1:first_sec), second_sec, new_style, remaining);
+catch
+    fclose(fh);
+    rethrow(lasterror);
+end
+fclose(fh);
+return
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/ghostscript.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/ghostscript.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/ghostscript.m	(revision 17)
@@ -0,0 +1,127 @@
+function varargout = ghostscript(cmd)
+%GHOSTSCRIPT  Calls a local GhostScript executable with the input command
+%
+% Example:
+%   [status result] = ghostscript(cmd)
+%
+% Attempts to locate a ghostscript executable, finally asking the user to
+% specify the directory ghostcript was installed into. The resulting path
+% is stored for future reference.
+% 
+% Once found, the executable is called with the input command string.
+%
+% This function requires that you have Ghostscript installed on your
+% system. You can download this from: http://www.ghostscript.com
+%
+% IN:
+%   cmd - Command string to be passed into ghostscript.
+%
+% OUT:
+%   status - 0 iff command ran without problem.
+%   result - Output from ghostscript.
+
+% Copyright: Oliver Woodford, 2009-2010
+
+% Thanks to Jonas Dorn for the fix for the title of the uigetdir window on
+% Mac OS.
+
+% Thanks to Nathan Childress for the fix to the default location on 64-bit
+% Windows systems.
+
+% Call ghostscript
+[varargout{1:nargout}] = system(sprintf('"%s" %s', gs_path, cmd));
+return
+
+function path = gs_path
+% Return a valid path
+% Start with the currently set path
+path = current_gs_path;
+% Check the path works
+if check_gs_path(path)
+    return
+end
+% Check whether the binary is on the path
+if ispc
+    bin = 'gswin32c.exe';
+else
+    bin = 'gs';
+end
+if check_store_gs_path(bin)
+    path = bin;
+    return
+end
+% Search the obvious places
+if ispc
+    default_location = 'C:\Program Files\gs\';
+    dir_list = dir(default_location);
+    if isempty(dir_list)
+        default_location = 'C:\Program Files (x86)\gs\'; % Possible location on 64-bit systems 
+        dir_list = dir(default_location);
+    end
+    executable = '\bin\gswin32c.exe';
+    ver_num = 0;
+    % If there are multiple versions, use the newest
+    for a = 1:numel(dir_list)
+        ver_num2 = sscanf(dir_list(a).name, 'gs%g');
+        if ~isempty(ver_num2) && ver_num2 > ver_num
+            path2 = [default_location dir_list(a).name executable];
+            if exist(path2, 'file') == 2
+                path = path2;
+                ver_num = ver_num2;
+            end
+        end
+    end
+else
+    path = '/usr/local/bin/gs';
+end
+if check_store_gs_path(path)
+    return
+end
+% Ask the user to enter the path
+while 1
+    if strncmp(computer, 'MAC', 3) % Is a Mac
+        % Give separate warning as the uigetdir dialogue box doesn't have a
+        % title
+        uiwait(warndlg('Ghostscript not found. Please locate the program.'))
+    end
+    base = uigetdir('/', 'Ghostcript not found. Please locate the program.');
+    if isequal(base, 0)
+        % User hit cancel or closed window
+        break;
+    end
+    base = [base filesep];
+    bin_dir = {'', ['bin' filesep], ['lib' filesep]};
+    for a = 1:numel(bin_dir)
+        path = [base bin_dir{a} bin];
+        if exist(path, 'file') == 2
+            break;
+        end
+    end
+    if check_store_gs_path(path)
+        return
+    end
+end
+error('Ghostscript not found.');
+
+function good = check_store_gs_path(path)
+% Check the path is valid
+good = check_gs_path(path);
+if ~good
+    return
+end
+% Update the current default path to the path found
+if change_value(path, 'current_gs_path_str', [mfilename('fullpath') '.m'])
+    warning('Path to ghostscript installation could not be saved. Enter it manually in ghostscript.m.');
+    return
+end
+return
+
+function good = check_gs_path(path)
+% Check the path is valid
+[good message] = system(sprintf('"%s" -h', path));
+good = good == 0;
+return
+
+function current_gs_path_str = current_gs_path
+current_gs_path_str = '/usr/local/bin/gs';
+return
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/license.txt	(revision 17)
@@ -0,0 +1,24 @@
+Copyright (c) 2009, Oliver Woodford
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/pdf2eps.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/pdf2eps.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/pdf2eps.m	(revision 17)
@@ -0,0 +1,45 @@
+%PDF2EPS  Convert a pdf file to eps format using pdftops
+%
+% Examples:
+%   pdf2eps source dest
+%
+% This function converts a pdf file to eps format.
+%
+% This function requires that you have pdftops, from the Xpdf suite of
+% functions, installed on your system. This can be downloaded from:
+% http://www.foolabs.com/xpdf  
+%
+%IN:
+%   source - filename of the source pdf file to convert. The filename is
+%            assumed to already have the extension ".pdf".
+%   dest - filename of the destination eps file. The filename is assumed to
+%          already have the extension ".eps".
+
+% Copyright (C) Oliver Woodford 2009
+
+% pdf2eps.m,v 1.1 2012/05/08 08:00:33 nadolski Exp
+
+function pdf2eps(source, dest)
+% Construct the options string for pdftops
+if ispc
+    options = ['-q -paper match -pagecrop -eps -level2 "' source '" "' dest '"'];
+else
+    options = ['-q -paper match -eps -level2 "' source '" "' dest '"'];
+end
+% Convert to eps using pdftops
+pdftops(options);
+% Fix the DSC error created by pdftops
+fid = fopen(dest, 'r+');
+if fid == -1
+    % Cannot open the file
+    return
+end
+fgetl(fid); % Get the first line
+str = fgetl(fid); % Get the second line
+if strcmp(str(1:min(13, end)), '% Produced by')
+    fseek(fid, -numel(str)-1, 'cof');
+    fwrite(fid, '%'); % Turn ' ' into '%'
+end
+fclose(fid);
+return
+
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/pdftops.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/pdftops.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/pdftops.m	(revision 17)
@@ -0,0 +1,114 @@
+function varargout = pdftops(cmd)
+%PDFTOPS  Calls a local pdftops executable with the input command
+%
+% Example:
+%   [status result] = pdftops(cmd)
+%
+% Attempts to locate a pdftops executable, finally asking the user to
+% specify the directory pdftops was installed into. The resulting path is
+% stored for future reference.
+% 
+% Once found, the executable is called with the input command string.
+%
+% This function requires that you have pdftops (from the Xpdf package)
+% installed on your system. You can download this from:
+% http://www.foolabs.com/xpdf
+%
+% IN:
+%   cmd - Command string to be passed into pdftops.
+%
+% OUT:
+%   status - 0 iff command ran without problem.
+%   result - Output from pdftops.
+
+% pdftops.m,v 1.1 2012/05/08 08:00:33 nadolski Exp
+% Copyright: Oliver Woodford, 2009
+
+% Thanks to Jonas Dorn for the fix for the title of the uigetdir window on
+% Mac OS.
+
+% Call pdftops
+[varargout{1:nargout}] = system(sprintf('"%s" %s', xpdf_path, cmd));
+return
+
+function path = xpdf_path
+% Return a valid path
+% Start with the currently set path
+path = current_xpdf_path;
+% Check the path works
+if check_xpdf_path(path)
+    return
+end
+% Check whether the binary is on the path
+if ispc
+    bin = 'pdftops.exe';
+else
+    bin = 'pdftops';
+end
+if check_store_xpdf_path(bin)
+    path = bin;
+    return
+end
+% Search the obvious places
+if ispc
+    path = 'C:\Program Files\xpdf\pdftops.exe';
+else
+    path = '/usr/local/bin/pdftops';
+end
+if check_store_xpdf_path(path)
+    return
+end
+% Ask the user to enter the path
+while 1
+    if strncmp(computer,'MAC',3) % Is a Mac
+        % Give separate warning as the uigetdir dialogue box doesn't have a
+        % title
+        uiwait(warndlg('Pdftops not found. Please locate the program, or install xpdf-tools from http://users.phg-online.de/tk/MOSXS/.'))
+    end
+    base = uigetdir('/', 'Pdftops not found. Please locate the program.');
+    if isequal(base, 0)
+        % User hit cancel or closed window
+        break;
+    end
+    base = [base filesep];
+    bin_dir = {'', ['bin' filesep], ['lib' filesep]};
+    for a = 1:numel(bin_dir)
+        path = [base bin_dir{a} bin];
+        if exist(path, 'file') == 2
+            break;
+        end
+    end
+    if check_store_xpdf_path(path)
+        return
+    end
+end
+error('pdftops executable not found.');
+
+function good = check_store_xpdf_path(path)
+% Check the path is valid
+good = check_xpdf_path(path);
+if ~good
+    return
+end
+% Update the current default path to the path found
+if change_value(path, 'current_xpdf_path_str', [mfilename('fullpath') '.m'])
+    warning('Path to pdftops executable could not be saved. Enter it manually in pdftops.m.');
+    return
+end
+return
+
+function good = check_xpdf_path(path)
+% Check the path is valid
+[good message] = system(sprintf('"%s" -h', path));
+if ispc
+    % system returns good = 1 even when the command runs (on Windows, anyway)
+    % Look for something distinct in the help text
+    good = ~isempty(strfind(message, 'PostScript'));
+else
+    good = good == 1;
+end
+return
+
+function current_xpdf_path_str = current_xpdf_path
+current_xpdf_path_str = 'pdftops';
+return
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/print2array.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/print2array.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/print2array.m	(revision 17)
@@ -0,0 +1,109 @@
+%PRINT2ARRAY  Exports a figure to an image array
+%
+% Examples:
+%   A = print2array
+%   A = print2array(figure_handle)
+%   A = print2array(figure_handle, resolution)
+%   A = print2array(figure_handle, resolution, renderer)
+%
+% This function outputs a bitmap image of the given figure, at the desired
+% resolution.
+%
+% If renderer is '-painters' then ghostcript needs to be installed. This
+% can be downloaded from: http://www.ghostscript.com
+%
+% IN:
+%   figure_handle - The handle of the figure to be exported. Default: gcf.
+%   resolution - Resolution of the output, as a factor of screen
+%                resolution. Default: 1.
+%   renderer - string containing the renderer paramater to be passed to
+%              print. Default: '-opengl'.
+%
+% OUT:
+%   A - MxNx3 uint8 image of the figure.
+
+% Copyright (C) Oliver Woodford 2008-2009
+
+function A = print2array(fig, res, renderer)
+% Generate default input arguments, if needed
+if nargin < 2
+    res = 1;
+    if nargin < 1
+        fig = gcf;
+    end
+end
+% Warn if output is large
+old_mode = get(fig, 'Units');
+set(fig, 'Units', 'pixels');
+px = get(fig, 'Position');
+set(fig, 'Units', old_mode);
+px = prod(px(3:4)*res)/1e6;
+if px > 30
+    % 30M pixels or larger!
+    warning('MATLAB:LargeImage', 'print2array generating a %.1fM pixel image. This could be slow and might also cause memory problems.', px);
+end
+% Generate temporary file name
+tmp_nam = [tempname '.tif'];
+if nargin > 2 && strcmp(renderer, '-painters')
+    % Print to eps file
+    tmp_eps = [tempname '.eps'];
+    print2eps(tmp_eps, fig, renderer, '-loose');
+    try
+        % Export to tiff using ghostscript
+        ghostscript(['-dEPSCrop -q -dNOPAUSE -dBATCH -r' num2str(ceil(get(0, 'ScreenPixelsPerInch')*res)) ' -sDEVICE=tiff24nc -sOutputFile="' tmp_nam '" "' tmp_eps '"']);
+    catch
+        % Delete the intermediate file
+        delete(tmp_eps);
+        rethrow(lasterror);
+    end
+    % Delete the intermediate file
+    delete(tmp_eps);
+    % Read in the generated bitmap
+    A = imread(tmp_nam);
+    % Retrieve the background colour
+    bcol = get(fig, 'Color');
+    % Set border pixels to the correct colour
+    if ~isequal(bcol, 'none') && ~isequal(bcol, [1 1 1])
+        for l = 1:size(A, 2)
+            if ~all(reshape(A(:,l,:) == 255, [], 1))
+                break;
+            end
+        end
+        for r = size(A, 2):-1:l
+            if ~all(reshape(A(:,r,:) == 255, [], 1))
+                break;
+            end
+        end
+        for t = 1:size(A, 1)
+            if ~all(reshape(A(t,:,:) == 255, [], 1))
+                break;
+            end
+        end
+        for b = size(A, 1):-1:t
+            if ~all(reshape(A(b,:,:) == 255, [], 1))
+                break;
+            end
+        end
+        bcol = round(bcol * 255);
+        for c = 1:size(A, 3)
+            A(:,[1:l-1, r+1:end],c) = bcol(c);
+            A([1:t-1, b+1:end],:,c) = bcol(c);
+        end
+    end
+else
+    if nargin < 3
+        renderer = '-opengl';
+    end
+    % Set paper size
+    old_mode = get(fig, 'PaperPositionMode');
+    set(fig, 'PaperPositionMode', 'auto');
+    % Print to tiff file
+    print(fig, renderer, ['-r' num2str(ceil(get(0, 'ScreenPixelsPerInch')*res))], '-dtiff', tmp_nam);
+    % Reset paper size
+    set(fig, 'PaperPositionMode', old_mode);
+    % Read in the printed file
+    A = imread(tmp_nam);
+end
+% Delete the temporary file
+delete(tmp_nam);
+return
Index: /trunk/machine/SOLEIL/common/toolbox/export_fig/print2eps.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/export_fig/print2eps.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/export_fig/print2eps.m	(revision 17)
@@ -0,0 +1,51 @@
+%PRINT2EPS  Prints figures to eps with improved line styles
+%
+% Examples:
+%   print2eps filename
+%   print2eps(filename, fig_handle)
+%   print2eps(filename, fig_handle, options)
+%
+% This function saves a figure as an eps file, and improves the line style,
+% making dashed lines more like those on screen and giving grid lines their
+% own dotted style.
+%
+%IN:
+%   filename - string containing the name (optionally including full or
+%              relative path) of the file the figure is to be saved as. A
+%              ".eps" extension is added if not there already. If a path is
+%              not specified, the figure is saved in the current directory.
+%   fig_handle - The handle of the figure to be saved. Default: gcf.
+%   options - Additional parameter strings to be passed to print.
+
+% Copyright (C) Oliver Woodford 2008-2009
+
+% The idea of editing the EPS file to change line styles comes from Jiro
+% Doke's FIXPSLINESTYLE (fex id: 17928)
+% The idea of changing dash length with line width came from comments on
+% fex id: 5743, but the implementation is mine :)
+
+function print2eps(name, fig, varargin)
+options = {'-depsc2'};
+if nargin < 2
+    fig = gcf;
+elseif nargin > 2
+    options = [options varargin];
+end
+% Construct the filename
+if numel(name) < 5 || ~strcmpi(name(end-3:end), '.eps')
+    name = [name '.eps']; % Add the missing extension
+end
+% Set paper size
+old_mode = get(fig, 'PaperPositionMode');
+set(fig, 'PaperPositionMode', 'auto');
+% Print to eps file
+print(fig, options{:}, name);
+% Reset paper size
+set(fig, 'PaperPositionMode', old_mode);
+% Fix the line styles
+try
+    fix_lines(name);
+catch
+    warning('fix_lines failed. This is usually because the figure contains a large number of patch objects. Consider exporting to a bitmap format in this case.');
+end
+return
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/Contents.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/Contents.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/Contents.m	(revision 17)
@@ -0,0 +1,53 @@
+% EzyFit Toolbox
+% Version 2.41 31-July-2012
+% F. Moisy
+%
+% Curve Fitting
+%   ezfit        - Fit data with arbitrary fitting function
+%   showfit      - Show the fit for the active curve.
+%   efmenu       - Ezyfit menu
+%   plotsample   - Display a sample plot.
+%   undofit      - Remove the last fit from the current figure
+%   rmfit        - Remove fits from the current figure
+%   fitparam     - Default settings for the EzyFit toolbox
+%
+% Curve fitting "by eye"
+%   getslope     - Slope of the current line.
+%   showslope    - Draw a line with fixed slope
+%
+% Curve Fitting Tools
+%   editcoeff    - Edit the coefficients of a fit
+%   makevarfit   - Create variables from the parameters of a fit
+%   evalfit      - Evaluate a fit
+%   showresidual - Show the residuals of a fit
+%   editfit      - Edit a user defined fit
+%   loadfit      - Load the predefined and the user-defined fitting functions.
+%   dispeqfit    - Display the equation of a fit.
+%   showeqbox    - Show the equation box of a fit.
+%
+% Miscellaneous
+%   remove_efmenu_fig - Remove the Ezyfit menu from figure files
+%   ezfft        - Power spectrum
+%   pickdata     - Picks data from the active curve.
+%   getlineinfo  - Get information (length, angle) of a segment
+%   myginput     - Graphical input from mouse.
+%   about_ef     - display the "About" information of the EzyFit toolbox
+%   checkupdate_ef - check for update of the EzyFit toolbox
+%
+% Quick change of the axis scales
+%   linx         - Turn the X axis to LIN
+%   liny         - Turn the Y axis to LIN
+%   logx         - Turn the X axis to LOG
+%   logy         - Turn the Y axis to LOG
+%   swx          - LIN<->LOG swap of the X axis
+%   swy          - LIN<->LOG swap of the Y axis
+%   sw           - LIN<->LOG swap of the X and Y axis
+%
+% Some useful plot tools
+%   dfig         - Create a docked figure window
+%   gridc        - Centered cross grid
+%   axisc        - Centered axis
+%   axis0        - Include the origin in the axis
+%   axisl        - Include the nearest power of 10 in the axis of a log plot
+%   loglogpn     - Log-log scale plot for positive and negative data
+%   semilogypn   - Semilogarithmic  plot for positive and negative data
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/_readmefirst_.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/_readmefirst_.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/_readmefirst_.txt	(revision 17)
@@ -0,0 +1,72 @@
+
+   EzyFit Toolbox for Matlab
+
+   F. Moisy
+   Lab. FAST - University Paris-Sud
+
+   version 2.41c, 31 July 2012
+__________________________________________________________________________
+
+See:  www.fast.u-psud.fr/ezyfit
+
+Bug report:  moisy@fast.u-psud.fr
+__________________________________________________________________________
+
+
+The Ezyfit toolbox for Matlab enables you to perform simple curve fitting
+of one-dimensional data using arbitrary fitting functions. It provides
+command-line functions and a basic graphical user interface for interactive
+selection of the data.
+
+Note:
+This toolbox was originally called 'EasyFit'. Since Version 2.03
+(13 apr 2006), it has been renamed 'EzyFit', to avoid confusion with
+other products.
+
+__________________________________________________________________________
+
+Installation and system requirements
+
+EzyFit needs Matlab 7.0 or higher. It has been tested under 7.0 to 7.14
+(R2014a), but mainly under Windows. The command-line functions (e.g.
+ezfit, showfit...) work equally well on all systems. However graphical
+operations (e.g. selectfit, getslope...) may not be fully stable,
+especially on non-Windows systems, and/or for recent Matlab releases.
+
+1. Download and unzip the EzyFit Toolbox in a directory somewhere in your
+system. For instance, in a Windows installation, the directory
+My Documents/MATLAB/toolbox/ezyfit may be a good location. Do NOT install
+the toolbox in the Matlab directory itself (Program Files/Matlab directory
+in Windows). If you upgrade from an older version, first empty the previous
+directory.
+
+2. From the menu 'File > Set Path', click on 'Add Folder' (NOT 'with
+subfolders') and select the ezyfit directory. Click on 'Save' and 'Close'.
+
+3. Restart Matlab. From the Start button, select Toolboxes > EzyFit to
+check that the toolbox is correctly recognized by your system.
+
+4. If you want to always have the Ezyfit menu in your figures, type
+efmenu install. This will create or update your 'startup.m' file in the
+directory /toolbox/local of your Matlab installation. 
+Careful: If you apply this step 4, all the figure files (.FIG) saved will
+include the Ezyfit menu. See the function 'remove_efmenu_fig' to remove
+the menu from the figure file.
+
+Note: If you upgrade Matlab and you want to use your previous Ezyfit
+installation, you just have to follow the steps 2-4.
+
+__________________________________________________________________________
+
+What's new?
+
+Once installed, have a look to the Release Notes and the Known Bugs sections
+in the help browser (type 'docezyfit').
+__________________________________________________________________________
+
+Copyrights
+
+This toolbox is free.
+__________________________________________________________________________
+
+The End.
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/about_ef.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/about_ef.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/about_ef.m	(revision 17)
@@ -0,0 +1,50 @@
+function about_ef(opt)
+%ABOUT_EF display the "About" information of the EzyFit toolbox
+%    ABOUT_EF displays the dialog box 'About EzyFit'.
+%    ABOUT_EF('command') displays the 'about' info in the command window.
+%
+%   See also EFMENU, CHECKUPDATE_EF.
+
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.02,  Date: 2006/10/31
+%   This function is part of the EzyFit Toolbox
+
+
+% History:
+% 2005/12/12: v1.00, first version.
+% 2005/04/10: v1.01, Toolbox renamed 'EzyFit'
+% 2006/10/31: v1.02, modal window
+
+
+if nargin==0
+    opt='command';
+end
+
+v=ver('ezyfit');
+
+switch opt
+    case 'command'
+        disp('EzyFit');
+        disp('A free curve fitting toolbox for Matlab');
+        disp(['Version ' v.Version ' (' v.Date ')']);
+        disp('Frederic Moisy');
+    otherwise
+        a=imread('about_ef.jpg');
+        ss=get(0,'ScreenSize');
+        figure('Position',[(ss(3)-size(a,2))/2 (ss(4)-size(a,1))/2 size(a,2) size(a,1)]);
+        image(a); set(gca,'Position',[0 0 1 1]);
+        axis off;
+        set(gcf,'Toolbar','none');
+        set(gcf,'Menubar','none');
+        set(gcf,'Numbertitle','off');
+        set(gcf,'Name','About EzyFit');
+        set(gcf,'Resize','off');
+        set(gcf,'WindowStyle','modal');
+        delete(findobj(gcf,'Label','Ezyfit'));
+
+        annotation('textbox',[.175 .33 .4 .2],'Color',.65*[1 1 1],'LineStyle','none',...
+            'FontName','Verdana','FontSize',8,'FontWeight','bold',...
+            'String',['Version ' v.Version ' (' v.Date ')']);
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axis0.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axis0.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axis0.m	(revision 17)
@@ -0,0 +1,30 @@
+function axis0(opt)
+%AXIS0  Include the origin in the current axis
+%   AXIS0 modifies the axis of the current plot to include the origin.
+%   AXIS0 X or AXIS0 Y only includes the origin for the horizontal or
+%   vertical axis.
+%
+%   See also AXISC, GRIDC.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2007/03/27
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2007/03/27: v1.00, first version.
+
+if nargin==0,
+    opt='xy';
+end;
+
+a=axis;
+
+switch lower(opt)
+    case'x',
+        axis([min([0 a(1)]) max([0 a(2)]) a(3) a(4)]);
+    case 'y'
+        axis([a(1) a(2) min([0 a(3)]) max([0 a(4)])]);
+    otherwise
+        axis([min([0 a(1)]) max([0 a(2)]) min([0 a(3)]) max([0 a(4)])]);
+end;
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axisc.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axisc.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axisc.m	(revision 17)
@@ -0,0 +1,33 @@
+function axisc(opt)
+%AXISC  Centered axis
+%   AXISC centers the axis of the current plot.
+%   AXISC X or AXISC Y only centers the horizontal or vertical axe.
+%
+%   See also AXIS0, GRIDC.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.02,  Date: 2006/02/28
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/11/10: v1.00, first version.
+% 2006/02/16: v1.01, option 'x' or 'y'.
+% 2006/02/28: v1.02, bug fixed for option 'xy'.
+
+if nargin==0,
+    opt='xy';
+end;
+
+a=axis;
+xbound = max([abs(a(1)) abs(a(2))]);
+ybound = max([abs(a(3)) abs(a(4))]);
+
+switch lower(opt)
+    case'x',
+        axis([-xbound xbound a(3) a(4)]);
+    case 'y'
+        axis([a(1) a(2) -ybound ybound]);
+    otherwise
+        axis([-xbound xbound -ybound ybound]);
+end;
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axisl.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axisl.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/axisl.m	(revision 17)
@@ -0,0 +1,32 @@
+function axisl(opt)
+%AXISL Enlarge the axis to the nearest power of 10.
+%   AXISL enlarges the axis of the current plot to include the nearest
+%   power of 10.
+%
+%   AXISL X or AXISL Y only includes the nearest power of 10 for the
+%   horizontal or vertical axis.
+%
+%   See also AXISC, AXIS0, GRIDC.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2007/03/27
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2007/03/27: v1.00, first version.
+
+if nargin==0
+    opt='xy';
+end
+
+a=axis;
+
+switch lower(opt)
+    case 'x'
+        axis([10^(floor(log10(a(1)))) 10^(ceil(log10(a(2)))) a(3) a(4)]);
+    case 'y'
+        axis([a(1) a(2) 10^(floor(log10(a(3)))) 10^(ceil(log10(a(4))))]);
+    otherwise
+        axis([10^(floor(log10(a(1)))) 10^(ceil(log10(a(2)))) 10^(floor(log10(a(3)))) 10^(ceil(log10(a(4))))]);
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/checkupdate_ef.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/checkupdate_ef.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/checkupdate_ef.m	(revision 17)
@@ -0,0 +1,76 @@
+function checkupdate_ef(opt)
+%CHECKUPDATE_EF  Check for update for Ezyfit
+%   CHECKUPDATE_EF connects on the EzyFit webpage and checks for a new
+%   version.
+%
+%   CHECKUPDATE_EF('dialog') does the same, but outputs the result in
+%   a dialog box.
+%
+%   CHECKUPDATE_EF is automatically called at each Matlab restart if the
+%   EzyFit menu is installed (see EFMENU).
+%
+%   See also ABOUT_EF, EFMENU. 
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.04,  Date: 2006/10/30
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/12/12: v1.00, first version.
+% 2006/01/12: v1.01, opens a new web browser.
+% 2006/04/10: v1.02, Toolbox renamed 'EzyFit'.
+% 2006/10/03: v1.03, now checks the version number at the URL
+%                    'www.fast.u-psud.fr/ezyfit/ezyfitversion.txt'
+% 2006/10/30: v1.04, text in command window improved
+
+verb=false;  % verbose mode
+
+if nargin==0
+    opt='command';
+end
+
+v1=ver('ezyfit');
+curv=str2double(v1.Version);
+
+[s,res]=urlread('http://www.fast.u-psud.fr/ezyfit/ezyfitversion.txt');
+if ~res
+    if strcmp(opt,'command')
+        if verb, disp('Server unavailable.'); end;
+        return
+    else
+        helpdlg('Server unavailable','Check for update');
+        return
+    end
+end
+
+newv=str2double(s);
+
+if newv>curv
+    if strcmp(opt,'command')
+        disp(' ');
+        disp(['   New: EzyFit ' s ' is now available online. <a href="matlab:web http://www.fast.u-psud.fr/ezyfit/html/ezyfit_releasenotes.html -browser">What''s new?</a>']);
+        disp('   Click <a href="matlab:web http://www.fast.u-psud.fr/ezyfit -browser">here</a> to update.');
+        disp(' ');
+    else
+        button = questdlg(['New: EzyFit ' s ' is now available online.'],'Check for update','Go online','What''s new?','Cancel','Go online');
+        if strncmpi(button,'Go online',2),
+            web http://www.fast.u-psud.fr/ezyfit -browser
+        elseif strncmpi(button,'What',2),
+            web http://www.fast.u-psud.fr/ezyfit/html/ezyfit_releasenotes.html -browser
+        else
+            return
+        end
+    end
+elseif newv<curv
+    if strcmp(opt,'command')
+        if verb, disp('The online version is older than yours!'); end
+    else
+        helpdlg('The online version is older than yours!','Check for update');
+    end
+else
+    if strcmp(opt,'command')
+        if verb, disp('No new version available online'); end
+    else
+        helpdlg('No new version available online','Check for update');
+    end
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/delseldata.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/delseldata.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/delseldata.m	(revision 17)
@@ -0,0 +1,23 @@
+function delseldata
+%DELSELDATA  Delete points inside a polygon
+%   DELSELDATA selects part of the current curve by drawing a lasso, and
+%   deletes all the points that are inside the polygon (this operation is
+%   irreversible). 
+%
+%   DELSELDATA is a shortcut for SELECTDATA('delete').
+%
+%   See also SELECTDATA, PICKDATA, SELECTFIT.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.10,  Date: 2007/09/19
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/11/02: v1.00, fitst version
+% 2007/09/19: v1.10, now based on D'Errico's selecdata
+
+h=gco;
+listhandle=get(gca, 'Children');
+ignorehandle=listhandle(listhandle~=h);
+selectdata('action','delete','ignore',ignorehandle);
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/demo/efdemo.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/demo/efdemo.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/demo/efdemo.m	(revision 17)
@@ -0,0 +1,148 @@
+%% Discover Ezyfit: A free curve fitting toolbox for Matlab
+% F. Moisy, 19 nov 2008.
+%
+% Laboratory FAST, University Paris Sud.
+
+%% About the Ezyfit Toolbox
+% The EzyFit toolbox for Matlab enables you to perform simple curve fitting
+% of one-dimensional data using arbitrary fitting functions. It provides
+% command-line functions and a basic graphical user interface for interactive
+% selection of the data.
+
+%% Simple fit: exponential decay
+% 
+% First plot some data, say, an exponential decay.
+
+plotsample exp nodisp
+
+%%
+% A predefined fit called 'exp' allows you to fit your data:
+
+showfit exp
+
+%%
+% Suppose now you want to use your own variable and function names.
+% Let's fit this data with the function f(t)=a*exp(-t/tau), and show the
+% fit with a bold red line:
+
+undofit  % deletes the previous fit
+showfit('f(t)=a*exp(-t/tau)','fitlinewidth',2,'fitcolor','red');
+
+%%
+% Note that showfit recognizes that t is the variable, and the coefficients
+% of the fit are named a and tau.
+%
+% If you want to use the values of the coefficients t and tau into Matlab,
+% you need to creates these variables into the base workspace:
+
+makevarfit
+a
+tau
+
+
+%% Initial guesses
+% Now suppose you want to fit more complex data, like a distribution
+% showing two peaks. Let's try to fit these peaks with two gaussians, each
+% of height a, mean m and width s.
+
+plotsample hist2 nodisp
+showfit('a_1*exp(-(x-x_1)^2/(2*s_1^2)) + a_2*exp(-(x-x_2)^2/(2*s_2^2))');
+
+%%
+% The solver obviously get lost in our 6-dimensional space. Let's help it,
+% by providing initial guesses
+
+undofit
+showfit('a_1*exp(-(x-m_1)^2/(2*s_1^2)) + a_2*exp(-(x-m_2)^2/(2*s_2^2)); a_1=120; m_1=7; a_2 = 100; m_2=15', 'fitcolor','blue','fitlinewidth',2);
+
+%%
+% The result seems to be correct now. Note that only 4 initial guesses are
+% given here; the two other ones, s_1 and s_2, are taken as 1 -- which is
+% close to the expected solution.
+
+
+%% Fitting in linear or in log scale
+% Suppose you want to fit a power law in logarithmic scale:
+
+plotsample power nodisp
+showfit power
+
+%%
+% would you have obtained the same result in linear scale? No:
+swy    % this shortcut turns the Y-axis to linear scale
+showfit('power','fitcolor','red');
+
+%%
+% The value of the coefficients have changed. In the first case, LOG(Y) was
+% fitted, whereas in the second case Y was fitted, because the Y-axis has
+% been changed.
+%
+% You may however force showfit to fit LOG(Y) or Y whatever the Y axis, by
+% specifying 'lin' or 'log' in the first input argument:
+
+rmfit % this removes all the fits
+showfit('power; lin','fitcolor','red');
+showfit('power; log','fitcolor','blue');
+
+%%
+% In the equation information, it is specified (lin) or (log) after the R
+% coefficient.
+
+
+
+
+%% Using the fit structure f
+
+%%
+% You can fit your the data without displaying it:
+x=1:10;
+y=[15 14.2 13.6 13.2 12.9 12.7 12.5 12.4 12.4 12.2];
+f = ezfit(x,y,'beta(rho) = beta_0 + Delta * exp(-rho * mu);  beta_0 = 12');
+
+%%
+% f is a structure that contains all the informations about the fit:
+
+f
+
+%%
+% From this structure, you can plot the data and the fit:
+
+clf
+plot(x,y,'r*');
+showfit(f)
+
+%%
+% you can also display the result of the fit
+
+dispeqfit(f)
+
+%%
+% or create the variables in the base workspace
+
+makevarfit(f)
+beta_0
+mu
+Delta
+
+%% Weigthed fit
+% Suppose now we want to fit data with unequal weights, shown here as error
+% bars of different lengths:
+
+x =  1:10;
+y =  [1.56 1.20 1.10 0.74 0.57 0.55 0.31 0.27 0.28 0.11];
+dy = [0.02 0.02 0.20 0.03 0.03 0.10 0.05 0.02 0.10 0.05];
+clf, errorbar(x,y,dy,'o');
+
+%%
+% In order to perform a weighted fit on this data, the vectors y and dy
+% have to be merged into a 2-by-N matrix and given as the second input
+% argument to ezfit. Compare the results for the usual and weighted fits:
+
+fw = ezfit(x, [y;dy], 'exp');
+showfit(fw,'fitcolor','red');
+f = ezfit(x, y, 'exp');
+showfit(f,'fitcolor','blue');
+
+%%
+% The red curve (weighted fit) tends to go through the data with smaller
+% error bars.
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/demo/html/efdemo.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/demo/html/efdemo.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/demo/html/efdemo.html	(revision 17)
@@ -0,0 +1,414 @@
+
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
+<html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+   
+      <!--
+This HTML is auto-generated from an M-file.
+To make changes, update the M-file and republish this document.
+      -->
+      <title>Discover Ezyfit: A free curve fitting toolbox for Matlab</title>
+      <meta name="generator" content="MATLAB 7.6">
+      <meta name="date" content="2008-11-19">
+      <meta name="m-file" content="efdemo"><style>
+
+body {
+  background-color: white;
+  margin:10px;
+}
+
+h1 {
+  color: #990000; 
+  font-size: x-large;
+}
+
+h2 {
+  color: #990000;
+  font-size: medium;
+}
+
+/* Make the text shrink to fit narrow windows, but not stretch too far in 
+wide windows. */ 
+p,h1,h2,div.content div {
+  max-width: 600px;
+  /* Hack for IE6 */
+  width: auto !important; width: 600px;
+}
+
+pre.codeinput {
+  background: #EEEEEE;
+  padding: 10px;
+}
+@media print {
+  pre.codeinput {word-wrap:break-word; width:100%;}
+} 
+
+span.keyword {color: #0000FF}
+span.comment {color: #228B22}
+span.string {color: #A020F0}
+span.untermstring {color: #B20000}
+span.syscmd {color: #B28C00}
+
+pre.codeoutput {
+  color: #666666;
+  padding: 10px;
+}
+
+pre.error {
+  color: red;
+}
+
+p.footer {
+  text-align: right;
+  font-size: xx-small;
+  font-weight: lighter;
+  font-style: italic;
+  color: gray;
+}
+
+  </style></head>
+   <body>
+      <div class="content">
+         <h1>Discover Ezyfit: A free curve fitting toolbox for Matlab</h1>
+         <introduction>
+            <p>F. Moisy, 19 nov 2008.</p>
+            <p>Laboratory FAST, University Paris Sud.</p>
+         </introduction>
+         <h2>Contents</h2>
+         <div>
+            <ul>
+               <li><a href="#1">About the Ezyfit Toolbox</a></li>
+               <li><a href="#2">Simple fit: exponential decay</a></li>
+               <li><a href="#6">Initial guesses</a></li>
+               <li><a href="#9">Fitting in linear or in log scale</a></li>
+               <li><a href="#13">Using the fit structure f</a></li>
+               <li><a href="#19">Weigthed fit</a></li>
+            </ul>
+         </div>
+         <h2>About the Ezyfit Toolbox<a name="1"></a></h2>
+         <p>The EzyFit toolbox for Matlab enables you to perform simple curve fitting of one-dimensional data using arbitrary fitting
+            functions. It provides command-line functions and a basic graphical user interface for interactive selection of the data.
+         </p>
+         <h2>Simple fit: exponential decay<a name="2"></a></h2>
+         <p>First plot some data, say, an exponential decay</p><pre class="codeinput">plotsample <span class="string">exp</span> <span class="string">nodisp</span>
+</pre><img vspace="5" hspace="5" src="efdemo_01.png"> <p>A predefined fit called 'exp' allows you to fit your data:</p><pre class="codeinput">showfit <span class="string">exp</span>
+</pre><pre class="codeoutput">Equation: y(x) = a*exp(b*x)
+     a = 4.3408
+     b = -0.22743
+     R = 0.99697  (lin)
+</pre><img vspace="5" hspace="5" src="efdemo_02.png"> <p>Suppose now you want to use your own variable and function names. Let's fit this data with the function f(t)=a*exp(-t/tau),
+            and show the fit with a bold red line:
+         </p><pre class="codeinput">undofit  <span class="comment">% deletes the previous fit</span>
+showfit(<span class="string">'f(t)=a*exp(-t/tau)'</span>,<span class="string">'fitlinewidth'</span>,2,<span class="string">'fitcolor'</span>,<span class="string">'red'</span>);
+</pre><pre class="codeoutput">Equation: f(t) = a*exp(-t/tau)
+     a = 4.3409
+     tau = 4.397
+     R = 0.99697  (lin)
+</pre><img vspace="5" hspace="5" src="efdemo_03.png"> <p>Note that showfit recognizes that t is the variable, and the coefficients of the fit are named a and tau.</p>
+         <p>If you want to use the values of the coefficients t and tau into Matlab, you need to creates these variables into the base
+            workspace:
+         </p><pre class="codeinput">makevarfit
+a
+tau
+</pre><pre class="codeoutput">
+a =
+
+    4.3409
+
+
+tau =
+
+    4.3970
+
+</pre><h2>Initial guesses<a name="6"></a></h2>
+         <p>Now suppose you want to fit more complex data, like a distribution showing two peaks. Let's try to fit these peaks with two
+            gaussians, each of height a, mean m and width s.
+         </p><pre class="codeinput">plotsample <span class="string">hist2</span> <span class="string">nodisp</span>
+showfit(<span class="string">'a_1*exp(-(x-x_1)^2/(2*s_1^2)) + a_2*exp(-(x-x_2)^2/(2*s_2^2))'</span>);
+</pre><pre class="codeoutput"> 
+Exiting: Maximum number of function evaluations has been exceeded
+         - increase MaxFunEvals option.
+         Current function value: 369920.454653 
+
+Equation: y(x) = a_1*exp(-(x-x_1)^2/(2*s_1^2))+a_2*exp(-(x-x_2)^2/(2*s_2^2))
+     a_1 = 41.052
+     a_2 = -2492.7
+     s_1 = 1269.4
+     s_2 = 13.262
+     x_1 = 1062.3
+     x_2 = -38.289
+     R = 0.32602  (lin)
+</pre><img vspace="5" hspace="5" src="efdemo_04.png"> <p>The solver obviously get lost in our 6-dimensional space. Let's help it, by providing initial guesses</p><pre class="codeinput">undofit
+showfit(<span class="string">'a_1*exp(-(x-m_1)^2/(2*s_1^2)) + a_2*exp(-(x-m_2)^2/(2*s_2^2)); a_1=120; m_1=7; a_2 = 100; m_2=15'</span>, <span class="string">'fitcolor'</span>,<span class="string">'blue'</span>,<span class="string">'fitlinewidth'</span>,2);
+</pre><pre class="codeoutput">Equation: y(x) = a_1*exp(-(x-m_1)^2/(2*s_1^2))+a_2*exp(-(x-m_2)^2/(2*s_2^2))
+     a_1 = 128.41
+     a_2 = 77.126
+     m_1 = 6.9929
+     m_2 = 14.783
+     s_1 = 0.42396
+     s_2 = 1.4307
+     R = 0.98977  (lin)
+</pre><img vspace="5" hspace="5" src="efdemo_05.png"> <p>The result seems to be correct now. Note that only 4 initial guesses are given here; the two other ones, s_1 and s_2, are
+            taken as 1 -- which is close to the expected solution.
+         </p>
+         <h2>Fitting in linear or in log scale<a name="9"></a></h2>
+         <p>Suppose you want to fit a power law in logarithmic scale:</p><pre class="codeinput">plotsample <span class="string">power</span> <span class="string">nodisp</span>
+showfit <span class="string">power</span>
+</pre><pre class="codeoutput">Equation: y(x) = a*x^n
+     a = 0.4784
+     n = 2.494
+     R = 0.99934  (log)
+</pre><img vspace="5" hspace="5" src="efdemo_06.png"> <p>would you have obtained the same result in linear scale? No:</p><pre class="codeinput">swy    <span class="comment">% this shortcut turns the Y-axis to linear scale</span>
+showfit(<span class="string">'power'</span>,<span class="string">'fitcolor'</span>,<span class="string">'red'</span>);
+</pre><pre class="codeoutput">Equation: y(x) = a*x^n
+     a = 2.9016
+     n = 2.2564
+     R = 0.99608  (lin)
+</pre><img vspace="5" hspace="5" src="efdemo_07.png"> <p>The value of the coefficients have changed. In the first case, LOG(Y) was fitted, whereas in the second case Y was fitted,
+            because the Y-axis has been changed.
+         </p>
+         <p>You may however force showfit to fit LOG(Y) or Y whatever the Y axis, by specifying 'lin' or 'log' in the first input argument:</p><pre class="codeinput">rmfit <span class="comment">% this removes all the fits</span>
+showfit(<span class="string">'power; lin'</span>,<span class="string">'fitcolor'</span>,<span class="string">'red'</span>);
+showfit(<span class="string">'power; log'</span>,<span class="string">'fitcolor'</span>,<span class="string">'blue'</span>);
+</pre><pre class="codeoutput">Equation: y(x) = a*x^n
+     a = 2.9016
+     n = 2.2564
+     R = 0.99608  (lin)
+Equation: y(x) = a*x^n
+     a = 0.4784
+     n = 2.494
+     R = 0.99934  (log)
+</pre><img vspace="5" hspace="5" src="efdemo_08.png"> <p>In the equation information, it is specified (lin) or (log) after the R coefficient.</p>
+         <h2>Using the fit structure f<a name="13"></a></h2>
+         <p>You can fit your the data without displaying it:</p><pre class="codeinput">x=1:10;
+y=[15 14.2 13.6 13.2 12.9 12.7 12.5 12.4 12.4 12.2];
+f = ezfit(x,y,<span class="string">'beta(rho) = beta_0 + Delta * exp(-rho * mu);  beta_0 = 12'</span>);
+</pre><p>f is a structure that contains all the informations about the fit:</p><pre class="codeinput">f
+</pre><pre class="codeoutput">
+f = 
+
+       name: 'beta(rho)=beta_0+Delta*exp(-rho*mu)'
+       yvar: 'beta'
+       xvar: 'rho'
+    fitmode: 'lin'
+         eq: 'beta_0+Delta*exp(-rho*mu)'
+          r: 0.9992
+      param: {'Delta'  'beta_0'  'mu'}
+          m: [3.9949 12.1058 0.3237]
+         m0: [1 12 1]
+          x: [1 2 3 4 5 6 7 8 9 10]
+          y: [1x10 double]
+
+</pre><p>From this structure, you can plot the data and the fit:</p><pre class="codeinput">clf
+plot(x,y,<span class="string">'r*'</span>);
+showfit(f)
+</pre><pre class="codeoutput">Equation: beta(rho) = beta_0+Delta*exp(-rho*mu)
+     Delta = 3.9949
+     beta_0 = 12.106
+     mu = 0.32368
+     R = 0.99925  (lin)
+</pre><img vspace="5" hspace="5" src="efdemo_09.png"> <p>you can also display the result of the fit</p><pre class="codeinput">dispeqfit(f)
+</pre><pre class="codeoutput">Equation: beta(rho) = beta_0+Delta*exp(-rho*mu)
+     Delta = 3.9949
+     beta_0 = 12.106
+     mu = 0.32368
+     R = 0.99925  (lin)
+</pre><p>or create the variables in the base workspace</p><pre class="codeinput">makevarfit(f)
+beta_0
+mu
+Delta
+</pre><pre class="codeoutput">
+beta_0 =
+
+   12.1058
+
+
+mu =
+
+    0.3237
+
+
+Delta =
+
+    3.9949
+
+</pre><h2>Weigthed fit<a name="19"></a></h2>
+         <p>Suppose now we want to fit data with unequal weights, shown here as error bars of different lengths:</p><pre class="codeinput">x =  1:10;
+y =  [1.56 1.20 1.10 0.74 0.57 0.55 0.31 0.27 0.28 0.11];
+dy = [0.02 0.02 0.20 0.03 0.03 0.10 0.05 0.02 0.10 0.05];
+clf, errorbar(x,y,dy,<span class="string">'o'</span>);
+</pre><img vspace="5" hspace="5" src="efdemo_10.png"> <p>In order to perform a weighted fit on this data, the vectors y and dy have to be merged into a 2-by-N matrix and given as
+            the second input argument to ezfit. Compare the results for the usual and weighted fits:
+         </p><pre class="codeinput">fw = ezfit(x, [y;dy], <span class="string">'exp'</span>);
+showfit(fw,<span class="string">'fitcolor'</span>,<span class="string">'red'</span>);
+f = ezfit(x, y, <span class="string">'exp'</span>);
+showfit(f,<span class="string">'fitcolor'</span>,<span class="string">'blue'</span>);
+</pre><pre class="codeoutput">Equation: y(x) = a*exp(b*x)
+     a = 2.0017
+     b = -0.2519
+     R = 0.98832  (lin)
+Equation: y(x) = a*exp(b*x)
+     a = 2.0071
+     b = -0.24013
+     R = 0.99067  (lin)
+</pre><img vspace="5" hspace="5" src="efdemo_11.png"> <p>The red curve (weighted fit) tends to go through the data with smaller error bars.</p>
+         <p class="footer"><br>
+            Published with MATLAB&reg; 7.6<br></p>
+      </div>
+      <!--
+##### SOURCE BEGIN #####
+%% Discover Ezyfit: A free curve fitting toolbox for Matlab
+% F. Moisy, 19 nov 2008.
+%
+% Laboratory FAST, University Paris Sud.
+
+%% About the Ezyfit Toolbox
+% The EzyFit toolbox for Matlab enables you to perform simple curve fitting
+% of one-dimensional data using arbitrary fitting functions. It provides
+% command-line functions and a basic graphical user interface for interactive
+% selection of the data.
+
+%% Simple fit: exponential decay
+% 
+% First plot some data, say, an exponential decay
+
+plotsample exp nodisp
+
+%%
+% A predefined fit 'exp' allows you to fit your data:
+
+showfit exp
+
+%%
+% Suppose now you want to use your own variable and function names.
+% Let's fit this data with the function f(t)=a*exp(-t/tau), and show the
+% fit with a bold red line:
+
+undofit  % deletes the previous fit
+showfit('f(t)=a*exp(-t/tau)','fitlinewidth',2,'fitcolor','red');
+
+%%
+% Note that showfit recognizes that t is the variable, and the coefficients
+% of the fit are named a and tau.
+%
+% If you want to use the values of the coefficients t and tau into Matlab,
+% you need to creates these variables into the base workspace:
+
+makevarfit
+a
+tau
+
+
+%% Initial guesses
+% Now suppose you want to fit more complex data, like a distribution
+% showing two peaks. Let's try to fit these peaks with two gaussians, each
+% of height a, mean m and width s.
+
+plotsample hist2 nodisp
+showfit('a_1*exp(-(x-x_1)^2/(2*s_1^2)) + a_2*exp(-(x-x_2)^2/(2*s_2^2))');
+
+%%
+% The solver obviously get lost in our 6-dimensional space. Let's help it,
+% by providing initial guesses
+
+undofit
+showfit('a_1*exp(-(x-m_1)^2/(2*s_1^2)) + a_2*exp(-(x-m_2)^2/(2*s_2^2)); a_1=120; m_1=7; a_2 = 100; m_2=15', 'fitcolor','blue','fitlinewidth',2);
+
+%%
+% The result seems to be correct now. Note that only 4 initial guesses are
+% given here; the two other ones, s_1 and s_2, are taken as 1 REPLACE_WITH_DASH_DASH which is
+% close to the expected solution.
+
+
+%% Fitting in linear or in log scale
+% Suppose you want to fit a power law in logarithmic scale:
+
+plotsample power nodisp
+showfit power
+
+%%
+% would you have obtained the same result in linear scale? No:
+swy    % this shortcut turns the Y-axis to linear scale
+showfit('power','fitcolor','red');
+
+%%
+% The value of the coefficients have changed. In the first case, LOG(Y) was
+% fitted, whereas in the second case Y was fitted, because the Y-axis has
+% been changed.
+%
+% You may however force showfit to fit LOG(Y) or Y whatever the Y axis, by
+% specifying 'lin' or 'log' in the first input argument:
+
+rmfit % this removes all the fits
+showfit('power; lin','fitcolor','red');
+showfit('power; log','fitcolor','blue');
+
+%%
+% In the equation information, it is specified (lin) or (log) after the R
+% coefficient.
+
+
+
+
+%% Using the fit structure f
+
+%%
+% You can fit your the data without displaying it:
+x=1:10;
+y=[15 14.2 13.6 13.2 12.9 12.7 12.5 12.4 12.4 12.2];
+f = ezfit(x,y,'beta(rho) = beta_0 + Delta * exp(-rho * mu);  beta_0 = 12');
+
+%%
+% f is a structure that contains all the informations about the fit:
+
+f
+
+%%
+% From this structure, you can plot the data and the fit:
+
+clf
+plot(x,y,'r*');
+showfit(f)
+
+%%
+% you can also display the result of the fit
+
+dispeqfit(f)
+
+%%
+% or create the variables in the base workspace
+
+makevarfit(f)
+beta_0
+mu
+Delta
+
+%% Weigthed fit
+% Suppose now we want to fit data with unequal weights, shown here as error
+% bars of different lengths:
+
+x =  1:10;
+y =  [1.56 1.20 1.10 0.74 0.57 0.55 0.31 0.27 0.28 0.11];
+dy = [0.02 0.02 0.20 0.03 0.03 0.10 0.05 0.02 0.10 0.05];
+clf, errorbar(x,y,dy,'o');
+
+%%
+% In order to perform a weighted fit on this data, the vectors y and dy
+% have to be merged into a 2-by-N matrix and given as the second input
+% argument to ezfit. Compare the results for the usual and weighted fits:
+
+fw = ezfit(x, [y;dy], 'exp');
+showfit(fw,'fitcolor','red');
+f = ezfit(x, y, 'exp');
+showfit(f,'fitcolor','blue');
+
+%%
+% The red curve (weighted fit) tends to go through the data with smaller
+% error bars.
+
+##### SOURCE END #####
+-->
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/dfig.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/dfig.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/dfig.m	(revision 17)
@@ -0,0 +1,25 @@
+function hh = dfig(h)
+%DFIG  Create docked figure window
+%   DFIG, by itself, creates a new docked figure window, and returns its
+%   handle.
+%
+%   DFIG(H) makes H the current figure and docks it.  If Figure H does not
+%   exist, and H is an integer, a new figure is created with handle H.
+%
+%   See also FIGURE.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2007/09/11
+
+
+if nargin==0
+    h=figure;    % create a new figure
+else
+    figure(h)    % makes H the current figure
+end
+
+set(h,'WindowStyle','docked');  % dock the figure
+
+if nargout~=0   % returns the handle if requested
+    hh=h;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/dispeqfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/dispeqfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/dispeqfit.m	(revision 17)
@@ -0,0 +1,57 @@
+function dispeqfit(f,fp)
+%DISPEQFIT   Display the equation of a fit.
+%   DISPEQFIT(F) displays the equation of the fit F in the command window,
+%   using the settings defined in FITPARAM. The fit structure F is
+%   obtained from EZFIT. By default, DISPEQFIT is automatically called from
+%   FIT when no output argument is specified.
+%
+%   Example:
+%      plotsample('power')
+%      f = ezfit('alpha/x^n');
+%      dispeqfit(f);
+%
+%   See also FITPARAM, EZFIT, SHOWFIT, SHOWEQBOX
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.20,  Date: 2006/10/18
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/02/08: v1.00, first version.
+% 2006/02/13: v1.10, compatible with 'y(x)=..' (free function name)
+% 2006/10/18: v1.20, new argument fp
+
+if nargin<2
+    % loads the default fit parameters:
+    try
+        fp=fitparam;
+    catch
+        error('No fitparam file found.');
+    end
+end
+
+streq = f.eq;
+if strcmp(fp.eqreplacemode,'on'),
+    for n=1:length(f.m),
+        streq = strrep(streq, f.param{n}, num2str(f.m(n), fp.numberofdigit));
+    end
+    streq = strrep(streq,'+-','-');
+    disp(['Equation: ' f.yvar '(' f.xvar ') = ' streq]);
+else    
+    disp(['Equation: ' f.yvar '(' f.xvar ') = ' streq]);
+    for i=1:length(f.m),
+        disp([ '     ' f.param{i} ' = ' num2str(f.m(i), fp.numberofdigit)]);
+    end
+end
+
+lastline='';
+switch lower(fp.corrcoefmode),
+    case 'r', lastline=['R = ' num2str(f.r, fp.numberofdigit) '  '];
+    case 'r2', lastline=['R^2 = ' num2str(f.r^2, fp.numberofdigit) '  '];
+end
+if strcmp(fp.linlogdisp,'on');
+    lastline=[lastline '(' f.fitmode ')'];
+end
+if ~isempty(lastline)
+    disp(['     ' lastline]);
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/docezyfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/docezyfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/docezyfit.m	(revision 17)
@@ -0,0 +1,33 @@
+function docezyfit(filename)
+%DOCEZYFIT  Documention for the Ezyfit toolbox
+%   DOCEZYFIT displays the start page for the Ezyfit toolbox in the help
+%   browser. In Matlab 7.3 and before (R2006), typing "doc ezyfit" had the
+%   same result. However, since Matlab 7.4 (R2007a), the doc function
+%   changed, and this feature is not available anymore, so you have to
+%   use DOCEZYFIT instead.
+%
+%   DOCEZYFIT function_name  displays the documention of function_name
+%   in the help browser. In Matlab 7.3, this is strictly equivalent to
+%   DOC function_name.
+%
+%   Example:  DOCEZYFIT showfit
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2007/09/11
+%   This function is part of the Ezyfit Toolbox
+
+% History:
+% 2007/09/11: v1.00, first version.
+
+if nargin==0
+    filename='ezyfit.html';
+end
+
+
+pathstr = fileparts(which('docezyfit'));
+if strfind(filename,'.html')
+    htmlfile = fullfile(pathstr, 'html', filename);
+else
+    htmlfile = fullfile(pathstr, 'html',  [filename '.html']);
+end
+web(htmlfile, '-helpbrowser');
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/editcoeff.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/editcoeff.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/editcoeff.m	(revision 17)
@@ -0,0 +1,84 @@
+function c=editcoeff(f)
+%EDITCOEFF  Edit the coefficients of a fit
+%   EDITCOEFF opens the Matlab's Array Editor to edit the coefficients
+%   of the last fit (which is stored in the variable 'lastfit'). This may
+%   be useful to copy/paste the fit coefficients into a spreadsheet
+%   (see the setting 'coeffarray' in FITPARAM to change the row/column
+%   display).
+%
+%   EDITCOEFF is also available from the item 'Edit Fit Coefficients' in
+%   the EzyFit menu, and can be automatically called after each fit (see
+%   the setting 'editcoeffmode' in FITPARAM).
+%
+%   EDITCOEFF(F) opens the Matlab's Array Editor to edit the coefficients
+%   of the fit F. (F is a fit structure as returned by EZFIT or SHOWFIT). 
+%
+%   C = EDITCOEFF(...) returns a 2xN cell array, containing the
+%   coefficients names and values.
+%
+%   Example:
+%     plotsample('power');
+%     f = ezfit('power');
+%     editcoeff(f);
+%
+%   See also EZFIT, SHOWFIT, EFMENU, FITPARAM, MAKEVARFIT, OPENVAR.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2006/02/09
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/02/09: v1.00, first version.
+
+
+% if no input argument, use the last fit, which is stored
+% in the variable lastfit in the 'base' workspace:
+if nargin==0,
+    if evalin('base','exist(''lastfit'',''var'')')
+        f=evalin('base','lastfit');
+    else
+        errordlg('No existing fit coefficients. First fit a curve.',...
+            'Edit Fit Coefficients','on');
+        return;
+    end;
+end;
+
+
+if exist('fitparam.m','file'),
+    fp=fitparam;
+else
+    error('No fitparam file found.');
+end;
+
+
+% c is a 2xN cell array containing the parameter
+% names and the parameter values
+for i=1:length(f.param);
+    c{i,1}=f.param{i};
+    c{i,2}=f.m(i);       
+end;
+
+switch fp.corrcoefmode
+    case 'r'
+        c{length(f.param)+1,1}='R';
+        c{length(f.param)+1,2}=f.r;
+    case 'r2',
+        c{length(f.param)+1,1}='R^2';
+        c{length(f.param)+1,2}=f.r^2;
+end;
+
+% displays the coeff in row or in column:
+if ~strcmpi(fp.coeffarray,'row'),
+    c=c';
+end;
+
+% creates a variable called 'FitCoefficients' in the matlab 'base' workspace
+% (this is required for using openvar)
+assignin('base','FitCoefficients',c)
+
+% calls the Array Editor with this variable "FitCoefficients".
+openvar('FitCoefficients');
+
+if nargout==0
+    clear c
+end;
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/editfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/editfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/editfit.m	(revision 17)
@@ -0,0 +1,94 @@
+function editfit(n,name,eq)
+%EDITFIT   Edit a user defined fit
+%   EDITFIT edit a new user defined fit.
+%
+%   EDITFIT(N) edits the fit #N.
+%
+%   EDITFIT(N,NAME,EQ) sets the name NAME and the equation EQ of the user
+%   defined fit #N.
+%
+%   EDITFIT('reset') deletes the user defined fits.
+%   EDITFIT('list')  lists the user defined fits
+%
+%   Example:  editfit(3,'myexp','a*exp(-x/tau); a=0.1; tau=100;');
+%
+%   See also LOADFIT, EFMENU, EZFIT.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.20,  Date: 2006/02/02
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/01/12: v1.00, first version.
+% 2006/01/19: v1.10, syntax changed. Now does not ask for the fit number.
+% 2006/02/02: v1.20, use a new mat-file for user defined fits
+
+
+% directory where the ezyfit toolbox is installed:
+efroot=fileparts(mfilename('fullpath'));
+userfitfile=[efroot filesep 'userfit.mat'];
+
+% option 'reset' or 'list':
+if (nargin==1) && (~isnumeric(n))
+    if strcmp(n,'reset'),
+        clear userfit;
+        if exist(userfitfile,'file'),
+            delete(userfitfile);
+        end;
+        loadfit('user');
+        return;
+    elseif strcmp(n,'list'),
+        userfit=loadfit('user');
+        for i=1:length(userfit),
+            disp(['Fit #' num2str(i) ': ' userfit(i).name]);
+            disp(['        ' userfit(i).eq]);
+        end;
+        return;
+    end;
+end;
+
+userfit=loadfit('user');
+
+% 3 arguments: sets the fit #n to its new definition.
+if (nargin==3),
+    if n<=(length(userfit)+1),
+        userfit(n).name=name;
+        userfit(n).eq=eq;
+        save(userfitfile,'userfit');
+        efmenu;  % refresh the ezyfit menu
+        return;
+    else
+        error('Wrong fit number.');
+    end;
+end;
+
+
+% no argument: creates a new fit.
+if (nargin==0)
+    n=length(userfit)+1;
+    userfit(n).name = ['fit' num2str(n)];
+    userfit(n).eq = 'a*x+b*x^2 ; a=1 ; b=0.1';
+end;
+
+if n>length(userfit),
+    error('Wrong fit number.');
+end;
+    
+answer = inputdlg({'Name (enter an empty string to delete this fit):',...
+    'Equation y(x) = a*x + b*x^2...; a=1; ...'},...
+    ['Edit User Fit #' num2str(n)], 1,...
+    {userfit(n).name,userfit(n).eq});
+
+if ~isempty(answer)
+    if isempty(answer{1}), % deletes this fit
+        userfit = userfit([1:(n-1) (n+1):end]);
+    else
+        userfit(n).name=answer{1};
+        userfit(n).eq=answer{2};
+    end;
+    save(userfitfile,'userfit');
+    efmenu;  % refresh the ezyfit menu
+else
+    return;
+end;
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/efmenu.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/efmenu.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/efmenu.m	(revision 17)
@@ -0,0 +1,253 @@
+function efmenu(opt)
+%EFMENU   Ezyfit menu
+%   EFMENU adds or refreshes the Ezyfit menu for the current figure and
+%   for all new figures.
+%   EFMENU OFF removes the menu from all the figures and for all new
+%   figures.
+%
+%   Careful: when the Ezyfit menu is active, all saved figure files (.FIG)
+%   include the Ezyfit menu. This generates a problem when those figure
+%   files are opened in a Matlab system which does not have the Ezyfit
+%   toolbox installed. In order to remove the Ezyfit menu from the figure
+%   file, use the function REMOVE_EFMENU_FIG.
+%
+%   If you want to always have the EzyFit menu in your figures, type
+%   EFMENU INSTALL. This will create or update the 'startup.m' file in the
+%   user directory of your Matlab installation. In addition, at
+%   each Matlab restart, this will check the last version of the EzyFit
+%   toolbox on the web (see CHECKUPDATE_EF).
+%
+%   In order to cancel the effect of EFMENU INSTALL, you need to edit the
+%   'startup.m' file and to remove manually the 2 lines of code related to
+%   the Ezyfit toolbox.
+%
+%   See also PLOTSAMPLE, SHOWFIT, EZFIT, UNDOFIT, RMFIT, EDITFIT,
+%   LOADFIT, CHECKUPDATE_EF, REMOVE_EFMENU_FIG.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.80,  Date: 2012/07/02
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/12/06: v1.00, first version.
+% 2005/12/16: v1.01, works with all new figures.
+% 2006/01/12: v1.10, User defined fits improved.
+% 2006/01/19: v1.20, User defined fits improved again.
+% 2006/01/30: v1.21, bug fixed with selectfit. New fit fgauss.
+% 2006/02/08: v1.30, use a new mat-file for user defined fits.
+%                    polynomial orders as a submenu. New 'Edit Fit Coeff'.
+%                    Check for update when launched from startup.m
+% 2006/02/16: v1.31, item 'Show Fit Residual' added
+% 2006/02/27: v1.40, option 'install' added.
+% 2006/03/07: v1.41, option 'install' improved (append to startup.m), and
+%                    bug fixed for check of the ml version
+% 2006/04/10: v1.42, toobox renamed 'EzyFit'
+% 2006/04/24: v1.43, bugs in option 'install' fixed (did not correctly
+%                    recognize if the toolbox was already installed)
+% 2006/09/06: v1.44, submenu for 'PlotSample'
+% 2007/09/12: v1.45, new menu 'Refresh EzyFit menu'
+% 2007/09/14: v1.46, bug fixed with 'install off' (case sensitive); options
+%                    modified for getslope and showslope
+% 2007/09/18: v1.50, new submenus for Gaussian fits
+% 2008/03/06: v1.51, Ctrl-Z removed (conflicts)
+% 2008/03/14: v1.60, selectfit removed for Ezyfit >= 2.30 (replaced by
+%                    showfit in "Brushed" mode)
+% 2009/02/04: v1.61, help text 'uninstall' added
+% 2010/07/07: v1.70, help text 'remove_efmenu_fig' added
+% 2012/06/28: v1.71, check update removed
+% 2012/07/02: v1.80, change working directory, for Windows 7 compatibility
+% 2012/08/01: v1.81, change for under MacOS X, Matlab 2012 (thanks J. Bagrow)
+
+
+
+% check the matlab version:
+% if str2double(version('-release'))<14,
+%     error('EzyFit requires Matlab 7 (R14) or higher.');
+% end
+
+% if efmenu is called from the file startup.m, then calls
+% the Check Update for the Ezyfit Toolbox:
+st=dbstack;
+if length(st)>=2
+    if strcmp(st(2).name,'startup'),
+        checkupdate_ef;
+    end
+end
+
+
+if nargin==0
+    opt='on';
+end
+
+% new v1.30:
+userfit=loadfit('user');
+
+switch lower(opt)
+    case 'off'
+        set(0,'DefaultFigureCreateFcn','');
+        delete(findobj('Label','EzyFit')); % delete the menu from all the figures.
+    case 'install'
+        install_ef;
+    case 'on'
+        set(0,'DefaultFigureCreateFcn','efmenu');
+        if get(0,'CurrentFigure')
+            delete(findobj(gcf,'Label','EzyFit')); % delete the menu only from the current figure
+            h=uimenu('Label','EzyFit');
+            uimenu(h,'Label','Undo fit','Callback','undofit'); % Ctrl-Z removed march 7, 2008
+            uimenu(h,'Label','Remove all fits','Callback','rmfit');
+
+            %submenu showfit and selectfit:
+            hm(1)=uimenu(h,'Separator','on','Label','Show Fit');
+            menuname{1}='showfit';
+            %hm(2)=uimenu(h,'Label','Select Fit');
+            %menuname{2}='selectfit';
+            for i=1:1, % only "showfit" is visible for EzyFit >=2.30
+                uimenu(hm(i),'Label','Constant','Callback',['lastfit=' menuname{i} '(''cste'');']);
+                hlin=uimenu(hm(i),'Label','Linear');
+                uimenu(hlin,'Label','a*x','Callback',['lastfit=' menuname{i} '(''linear'');']);                
+                uimenu(hlin,'Label','a*x+b','Callback',['lastfit=' menuname{i} '(''affine'');']);
+                uimenu(hlin,'Label','a*(x-b)','Callback',['lastfit=' menuname{i} '(''affineshift'');']);
+                hpol=uimenu(hm(i),'Label','Polynomial');
+                for or=1:6,
+                    uimenu(hpol,'Label',['Order ' num2str(or)],...
+                        'Callback',['lastfit=' menuname{i} '(''poly' num2str(or) ''');']);
+                end
+                uimenu(hpol,'Label','Other...','Separator','on','Callback',['lastfit=' menuname{i} '(''poly'');']);
+                hexp=uimenu(hm(i),'Label','Exponential');
+                uimenu(hexp,'Label','a*exp(b*x)','Callback',['lastfit=' menuname{i} '(''exp'');']);
+                uimenu(hexp,'Label','a*exp(b*x)+c','Callback',['lastfit=' menuname{i} '(''expc'');']);
+                uimenu(hexp,'Label','a*exp(x/b)','Callback',['lastfit=' menuname{i} '(''expdiv'');']);
+                uimenu(hexp,'Label','a*(1-exp(-x/b))','Callback',['lastfit=' menuname{i} '(''explim'');']);
+                hlog=uimenu(hm(i),'Label','Logarithmic');
+                uimenu(hlog,'Label','a*log(b*x)','Callback',['lastfit=' menuname{i} '(''log'');']);
+                uimenu(hlog,'Label','a*log(x)+b','Callback',['lastfit=' menuname{i} '(''logc'');']);
+                hpow=uimenu(hm(i),'Label','Power');
+                uimenu(hpow,'Label','a*x^n','Callback',['lastfit=' menuname{i} '(''power'');']);
+                uimenu(hpow,'Label','a*x^n+c','Callback',['lastfit=' menuname{i} '(''powerc'');']);
+                uimenu(hpow,'Label','a*(x+b)^n','Callback',['lastfit=' menuname{i} '(''powershift'');']);
+                hgauss=uimenu(hm(i),'Label','Gaussian');
+                uimenu(hgauss,'Label','Centered Normalized Gaussian','Callback',['lastfit=' menuname{i} '(''cngauss'');']);
+                uimenu(hgauss,'Label','Centered Non-normalized Gaussian','Callback',['lastfit=' menuname{i} '(''cfgauss'');']);
+                uimenu(hgauss,'Label','Non-centered Normalized Gaussian','Callback',['lastfit=' menuname{i} '(''ngauss'');']);
+                uimenu(hgauss,'Label','Non-centered Non-normalized Gaussian','Callback',['lastfit=' menuname{i} '(''fgauss'');']);
+                hosc=uimenu(hm(i),'Label','Oscillations');
+                uimenu(hosc,'Label','a*sin(b*x)','Callback',['lastfit=' menuname{i} '(''sin'');']);
+                uimenu(hosc,'Label','a*cos(b*x)','Callback',['lastfit=' menuname{i} '(''cos'');']);
+                uimenu(hosc,'Label','a*sin(b*x)+c','Callback',['lastfit=' menuname{i} '(''sinc'');']);
+                uimenu(hosc,'Label','a*cos(b*x)+c','Callback',['lastfit=' menuname{i} '(''cosc'');']);
+                uimenu(hosc,'Label','a*sin(b*x+phi)','Callback',['lastfit=' menuname{i} '(''sinphi'');']);
+                uimenu(hosc,'Label','a*sin(b*x+phi)+c','Callback',['lastfit=' menuname{i} '(''sinphic'');']);
+                uimenu(hm(i),'Label','Nearest','Separator','on','Callback',[menuname{i} '(''nearest'');']);
+                uimenu(hm(i),'Label','Spline','Callback',[menuname{i} '(''spline'');']);
+                uimenu(hm(i),'Label','Cubic','Callback',[menuname{i} '(''cubic'');']);
+                
+                for j=1:length(userfit)
+                    if j==1,
+                        uimenu(hm(i),'Label',['#' num2str(j) ': ' userfit(j).name],...
+                            'Separator','on','Callback',['lastfit=' menuname{i} '(''' userfit(j).eq ''');']);
+                    else
+                        uimenu(hm(i),'Label',['#' num2str(j) ': ' userfit(j).name],...
+                            'Callback',['lastfit=' menuname{i} '(''' userfit(j).eq ''');']);
+                    end
+                end
+                uimenu(hm(i),'Label','Other...','Separator','on','Callback',[menuname{i} ';']);
+            end
+
+            %submenu edit fit:
+            hef=uimenu(h,'Label','Edit User Fit');
+            for j=1:length(userfit)
+                uimenu(hef,'Label',['#' num2str(j) ': ' userfit(j).name],'Callback',['editfit(' num2str(j) ')']);
+            end
+            uimenu(hef,'Label','New User Fit...','Separator','on','Callback','editfit');
+            uimenu(hef,'Label','Reset','Separator','on','Callback',...
+                'if strcmp(questdlg(''Are you sure you want to reset the user defined fits?'',''Reset User Fits'',''No''),''Yes''), delete(''userfit.mat''); efmenu; end');
+
+            
+            % remainder of the menu:
+            uimenu(h,'Label','Refresh EzyFit menu','Callback','efmenu');
+            uimenu(h,'Label','Edit Fit Coefficients','Callback','editcoeff');
+            uimenu(h,'Label','Show Fit Residuals','Callback','showresidual');
+
+            uimenu(h,'Label','Get Slope','Separator','on','Callback','getslope(''equation'',''dialog'')','Accelerator','G');
+            uimenu(h,'Label','Show Slope...','Callback','showslope([],''dialog'')');
+
+            hps=uimenu(h,'Label','Plot Sample','Separator','on');            
+            uimenu(hps,'Label','Linear','Callback','plotsample linear');
+            uimenu(hps,'Label','Constant','Callback','plotsample cste');
+            uimenu(hps,'Label','3 polynomial curves','Callback','plotsample poly2');
+            uimenu(hps,'Label','Oscillations','Callback','plotsample osc');            
+            uimenu(hps,'Label','Damped oscillations','Callback','plotsample damposc');            
+            uimenu(hps,'Label','Exponential decay','Callback','plotsample exp');
+            uimenu(hps,'Label','Histogram with one peak','Callback','plotsample hist');
+            uimenu(hps,'Label','Histogram with two peaks','Callback','plotsample hist2');
+            uimenu(hps,'Label','Power law','Callback','plotsample power');
+            uimenu(hps,'Label','Power law with a cutoff','Callback','plotsample powco');          
+            
+            hqc=uimenu(h,'Label','Axis','Separator','on');
+            uimenu(hqc,'Label','Swap X-axis lin <-> log','Callback','swx');
+            uimenu(hqc,'Label','Swap Y-axis lin <-> log','Callback','swy');
+            uimenu(hqc,'Label','Swap both X- and Y- axis','Callback','sw','Accelerator','B');
+            uimenu(hqc,'Label','Include the origin','Callback','axis0');
+            uimenu(hqc,'Label','Center the origin','Callback','axisc');
+            uimenu(hqc,'Label','Enlarge to nearest power of 10','Callback','axisl');
+            
+            uimenu(h,'Label','Edit Default Settings...','Separator','on','Callback','edit fitparam');
+            uimenu(h,'Label','Help EzyFit','Callback','docezyfit');
+            uimenu(h,'Label','Check for update','Callback','checkupdate_ef(''dialog'')');
+            uimenu(h,'Label','EzyFit Home Page','Callback','web http://www.fast.u-psud.fr/ezyfit -browser');
+            uimenu(h,'Label','About EzyFit','Callback','about_ef(''dialog'')');
+        end
+    otherwise
+        error('Unknown option');
+end
+
+
+% -----------------------------------------
+% Subfunction 'efmenu install'
+
+
+function install_ef
+
+% This location no longer works for Windows 7:
+%sufile = fullfile(matlabroot,'toolbox','local','startup.m'); 
+
+sufolder = strrep(userpath,';','');
+sufolder = strrep(sufolder,':',''); % new v1.81, thanks J. Bagrow
+sufile = fullfile(sufolder,'startup.m');
+
+ft = [];
+if exist(sufile,'file')
+    try
+        ft = textread(sufile,'%s');
+    catch
+        ft = [];
+    end
+end
+if ~isempty(ft)
+    for num = 1:length(ft)
+        if strfind(ft{num},'efmenu'),
+            disp('The EzyFit menu is already installed in your startup.m file:');
+            disp(sufile);
+            return
+        end
+    end
+    %copyfile(sufile,fullfile(matlabroot,'toolbox','local','startup_previous.m'));
+    copyfile(sufile,fullfile(sufolder,'startup_previous.m'));
+    fid=fopen(sufile,'a');
+    fprintf(fid,'%s\n',' ');
+    fprintf(fid,'%s\n',['%   These lines have been added by ''efmenu install'' (' datestr(now) '):']);
+    fprintf(fid,'%s\n','efmenu;   % Includes the EzyFit menu for all new figure.');
+    fprintf(fid,'%s\n\n','fprintf('' To get started with the EzyFit toolbox, select <a href="matlab:docezyfit">EzyFit</a> from the Help browser.\n\n'');');    
+    fclose(fid);
+    
+    disp('The EzyFit menu has been correctly installed.');
+    disp('To get started, select <a href="matlab:docezyfit">EzyFit</a> from the Help browser.');
+
+else % creates a new startup.m file and re-calls install_ef:
+    fid=fopen(sufile,'w');
+    fprintf(fid,'%s\n','%STARTUP   Startup file');
+    fprintf(fid,'%s\n','%   This file is executed when MATLAB starts up.');
+    fprintf(fid,'%s\n',' ');
+    fclose(fid);
+    install_ef;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/evalfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/evalfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/evalfit.m	(revision 17)
@@ -0,0 +1,28 @@
+function y=evalfit(f,x)
+%EVALFIT  Evaluate a fit
+%   Y = EVALFIT(F,X) evaluates the fit F for the values X.  F is a fit
+%   structure, as obtained by EZFIT, SHOWFIT or SELECTFIT. Y is a vector
+%   of the same length as X, with Y(i) = F(X(i)).
+%
+%   Example:
+%     plotsample('power');
+%     f = ezfit('power; log');
+%     x = logspace(1,3,1000);
+%     hold on; plot(x,evalfit(f,x),'r-'); hold off;
+%
+%   See also EZFIT, SHOWFIT, FITPARAM.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.01,  Date: 2006/09/04
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/02/16: v1.00, first version.
+% 2006/09/04: v1.01, help improved.
+
+m = f.m;
+x__ref = x;
+y = eval(eq2ml(f.eq, f.xvar));
+if length(y)==1, % if the fit is a cste,
+    y=y*ones(1,length(x));
+end;
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/ezfft.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/ezfft.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/ezfft.m	(revision 17)
@@ -0,0 +1,180 @@
+function [w,e] = ezfft(varargin)
+%EZFFT  Easy to use Power Spectrum
+%   EZFFT(T,U) plots the power spectrum of the signal U(T) , where T is a
+%   'time' and U is a real signal (T can be considered as a space
+%   coordinate as well). If T is a scalar, then it is interpreted as the
+%   'sampling time' of the signal U.  If T is a vector, then it is
+%   interpreted as the 'time' itself. In this latter case, T must be
+%   equally spaced (as obtained by LINSPACE for instance), and it must
+%   have the same length as U. If T is not specified, then a 'sampling
+%   time' of unity (1 second for instance) is taken. Windowing
+%   (appodization) can be applied to reduce border effects (see below).
+%
+%   [W,E] = EZFFT(T,U) returns the power spectrum E(W), where E is the
+%   energy density and W the pulsation 'omega'.  W is *NOT* the frequency:
+%   the frequency is W/(2*pi). If T is considered as a space coordinate,
+%   W is a wave number (usually noted K = 2*PI/LAMBDA, where LAMBDA is a
+%   wavelength).
+%
+%   EZFFT(..., 'Property1', 'Property2', ...) specifies the properties:
+%    'hann'    applies a Hann appodization window to the data (reduces
+%              aliasing).
+%    'disp'    displays the spectrum (by default if no output argument)
+%    'freq'    the frequency f is displayed instead of the pulsation omega
+%              (this applies for the display only: the output argument
+%              remains the pulsation omega, not the frequency f).
+%    'space'   the time series is considered as a space series. This simply
+%              renames the label 'omega' by 'k' (wave number) in the plot,
+%              but has no influence on the computation itself.
+%    'handle'  returns a handle H instead of [W,E] - it works only if the
+%              properties 'disp' is also specified. The handle H is useful
+%              to change the line properties (color, thickness) of the
+%              plot (see the example below).
+%
+%   The length of the vectors W and E is N/2, where N is the length of U
+%   (this is because U is assumed to be a real signal.) If N is odd, the
+%   last point of U and T are ignored. If U is not real, only its real part
+%   is considered.
+%
+%       W(1) is always 0.  E(1) is the energy density of the average of U
+%         (when plotted in log coordinates, the first point is W(2), E(2)).
+%       W(2) is the increment of pulsation, Delta W, given by 2*PI/Tmax
+%       W(end), the highest measurable pulsation, is PI/DT, where DT is the
+%          sampling time (Nyquist theorem).
+%
+%   Parseval Theorem (Energy conservation):
+%   For every signal U, the 'energy' computed in the time domain and in the
+%   frequency domain are equal,
+%       MEAN(U.^2) == SUM(E)*W(2)
+%   where W(2) is the pulsation increment Delta W.
+%   Note that, depending on the situation considered, the physical 'energy'
+%   is usually defined as 0.5*MEAN(U.^2). Energy conservation only applies
+%   if no appodization of the signal (windowing) is used. Otherwise, some
+%   energy is lost in  the appodization, so the spectral energy is lower
+%   than the actual one.
+%
+%   As for FFT, the execution time depends on the length of the signal.
+%   It is fastest for powers of two.
+%
+%   Example 1:  simple display of a power spectrum
+%      t = linspace(0,400,2000);
+%      u = 0.2 + 0.7*sin(2*pi*t/47) + cos(2*pi*t/11);
+%      ezfft(t,u);
+%
+%   Example 2:  how to change the color of the plot
+%      h = ezfft(t,u,'disp','handle');
+%      set(h,'Color','red');
+%
+%   Example 3:  how to use the output of ezfft
+%      [w,e] = ezfft(t,u,'hann');
+%      loglog(w,e,'b*');
+%
+%   See also FFT
+
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.01,  Date: 2008/11/20
+%   This function is part of the EzyFit Toolbox
+
+
+% History:
+% 2008/11/19: v1.00, first version.
+% 2008/11/20: v1.01, includes property 'space'. Help text improved
+
+
+error(nargchk(1,inf,nargin));
+
+if nargin==1
+    u=varargin{1};
+    dt=1;
+else
+    dt=varargin{1};
+    u=varargin{2};
+end
+
+if length(dt)>1
+    if length(u)~=length(dt)
+        error('Vectors T and U should be of equal length.');
+    end
+    dt = abs(dt(2)-dt(1));
+end
+
+% works only with vectors of even length
+if mod(length(u),2)~=0;
+    u=u(1:(end-1));
+end
+
+u=real(u);
+
+% works with line vector (otherwise transpose it)
+if size(u,2)==1
+    u=u';
+end
+
+% signal appodization with a Hann window
+if any(strcmpi(varargin,'hann'))
+    u=u.*hann(length(u))';
+end
+
+n = length(u)/2;  % length of the output fft (half the signal length)
+w = linspace(0,pi,n)/dt;   % output pulsation
+
+e = abs(fft(u)).^2;   % power spectrum
+e = 2*e(1:n) / (2*n)^2 / w(2);  % normalisation
+e(1)=e(1)/2;    % mode w=0 was counted twice is the previous line
+
+% display
+if nargout==0 || any(strncmpi(varargin,'disp',1))
+    if any(strncmpi(varargin,'freq',1)) && any(strncmpi(varargin,'space',1))
+        error('Properties ''freq'' and ''space'' cannot be specified simultaneously');
+    elseif any(strncmpi(varargin,'freq',1)) && ~any(strncmpi(varargin,'space',1))
+        hh=loglog(w/(2*pi),2*pi*e);
+        xlabel('f = \omega / 2\pi');
+        ylabel('E(f)');
+    elseif ~any(strncmpi(varargin,'freq',1)) && any(strncmpi(varargin,'space',1))
+        hh=loglog(w,e);
+        xlabel('k');
+        ylabel('E(k)');
+    else
+        hh=loglog(w,e);
+        xlabel('\omega');
+        ylabel('E(\omega)');
+    end
+end
+
+% output
+if nargout>0 && any(strncmpi(varargin,'handle',4)) && any(strncmpi(varargin,'disp',1))
+    w=hh;
+    clear e
+    return
+end
+
+if nargout==0
+    clear w e
+end
+
+
+function y=hann(n)
+%HANN  Window Hann function
+%   Y = HANN(N) returns a N-point Hann function (usually N is a power of
+%   2), ie a discretization of Y(X) = (1 - COS (2*PI*X))/2.
+%
+%   The HANN function is used to window (apodize) finite samples of signal
+%   in order to avoid high frequency oscillations in Fourier transform.
+%
+%   Example:  plot(hann(128));
+%
+%   F. Moisy
+%   Revision: 1.03,  Date: 2006/03/03
+%
+%   See also FFT.
+
+% History:
+% 2004/09/17: v1.00, first version.
+% 2005/23/02: v1.01, cosmetics
+% 2005/09/03: v1.02, id.
+% 2006/03/03: v1.03, bug fixed 0:n-1
+
+error(nargchk(1,1,nargin));
+y=0.5*(1-cos(2*pi*(0:n-1)/(n-1)))';
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/ezfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/ezfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/ezfit.m	(revision 17)
@@ -0,0 +1,621 @@
+function f = ezfit(varargin)
+%EZFIT   Fit data with arbitrary fitting function
+%   EZFIT(FUN) fits the active curve with the function FUN. See below for
+%   the syntax of FUN. If FUN is not specified, 'linear' is used.
+%
+%   By default, the first curve in the active figure is fitted - see
+%   FITPARAM to change this default behavior. To fit another curve, select
+%   it before calling EZFIT.  If some data are selected by the "Data
+%   Brushing" tool (only for Matlab >= 7.6), only those data are fitted.
+%
+%   EZFIT(X,Y,FUN) or EZFIT(Y,FUN) fits the data (X,Y) (or Y) using the
+%   function FUN. X and Y must be vectors of equal length. If X is not
+%   specified, X=[1, 2, 3...] is assumed.
+%
+%   EZFIT(X,Y,FUN), where X is a 1-by-N vector and Y is a 2-by-N matrix,
+%   also specifies the weights for Y(2,:) (error bars). By default, when
+%   Y is a 1-by-N vector, all the weights are 1.
+%
+%   Note that EZFIT only computes the coefficients, but does not display the
+%   fit. Use SHOWFIT to display the fit.
+%
+%   The function string FUN can be:
+%      - the name of a predefined fitting function (see below).
+%      - the name of a user-defined fitting function (see EDITFIT).
+%      - an equation, in the form 'y(x)=...', where 'x' represents the
+%        X-data, and all the other variables are parameters to be fitted
+%        ('a', 'x_0', 'tau', ...). Example: 'y(x)=a*sin(b*x)'. If the
+%        left-hand-side 'y(x)' is not specified, 'x' is taken for the
+%        X-Data. All the parameter names are accepted, except Matlab
+%        reserved strings ('sin', 'pi', ...)
+%
+%   The predefined fitting functions are:
+%      - linear             y = m * x
+%      - affine or poly1    y = a*x + b
+%      - poly{n}            y = a0 + a1 * x + ... + an * x^n
+%      - power              y = c*x^n
+%      - sin                y = a * sin (b * x)
+%      - cos                y = a * cos (b * x)
+%      - exp                y = a * exp (b * x)
+%      - log                y = a * log (b * x)
+%      - cngauss            y = exp(-x^2/(2*s^2))/(2*pi*s^2)^(1/2)
+%      - cfgauss            y = a*exp(-x^2/(2*s^2))
+%      - ngauss             y = exp(-(x-x0)^2/(2*s^2))/(2*pi*s^2)^(1/2)
+%      - gauss              y = a*exp(-(x-x0)^2/(2*s^2))
+%   'ngauss' is a 2-parameters normalized Gaussian, and 'gauss' is a
+%   3-parameters non-normalized (free) Gaussian. 'cngauss' and 'cfgauss'
+%   are centered normalized and centered free Gaussian, respectively.
+%
+%   EZFIT is based on Matlab's built-in FMINSEARCH function (Nelder-Mead
+%   method), which performs an unconstrained nonlinear minimization of
+%   the SSR (sum of squared residuals) with respect to the various
+%   parameters. 
+%
+%   The correlation coefficient R is defined as (SSR/(SSE+SSR))^(1/2), where
+%      SSR = sum ((y_fit - mean(y)).^2)   % sum of squared residuals
+%      SSE = sum ((y_fit - y).^2)         % sum of squared errors
+%   (see http://mathworld.wolfram.com/CorrelationCoefficient.html)
+%
+%   Nonlinear minimization requires starting guesses (or starting estimates)
+%   for the fit parameters. By default, all the starting guesses are taken
+%   as 1, or, when using predefined fits (e.g., exp, gauss, power...), the
+%   starting guesses are determined depending on the range of the data to
+%   be fitted. However, in most cases, values closer to the expected
+%   result should be specified to "help" the convergence. It is sufficient
+%   to choose values that have the correct sign and correct order of
+%   magnitude, e.g. 0.01, 1, 100...
+%
+%   The starting guesses for the parameters may be specified in two ways:
+%     - directly in the string FUN, after the fit definition:
+%          'c0 + a*sin(pi*x/lambda); c0=1; a=0.1; lambda=100'
+%          ('!' or '$' may also be used instead of ';').
+%     - by specifying them as an additional input argument for EZFIT:
+%          EZFIT(x,y,'c0 + a*sin(pi*x/lambda)',[0.1 1 100]);
+%       Note that in this case the parameters must be ordered alphabetically.
+%   Note that if both methods are used, only the starting guesses given in
+%   the string FUN are considered.
+%
+%   By default, Y is fitted in linear mode. If you want to fit LOG(Y)
+%   instead, you must specify the option 'log' to the string FUN, separated
+%   by the symbol ';' or '$' or '!' (eg, FUN='a*x^n;log'). This is
+%   specially useful to fit power laws with equally weighted points in a
+%   log scale.  If nothing specified, the option 'lin' is used.
+%
+%   Example:
+%        plotsample('power')
+%   and compare the results of:
+%        ezfit('power;lin')
+%        ezfit('power;log')
+%
+%   F = EZFIT(...) also returns a structure F having the following fields:
+%      - name       name of the fit
+%      - eq         equation of the fit
+%      - param      cell array of strings: names of the parameters
+%      - m          values of the coefficients
+%      - m0         initial guess for the coefficients
+%      - r          correlation coefficient R (Pearson's correlation)
+%      - fitmode    'lin' (y is fitted) or 'log' (log(y) is fitted) mode
+%
+%   This structure F can be further used with SHOWFIT, DISPEQFIT,
+%   SHOWEQBOX, MAKEVARFIT and EDITCOEFF.
+%
+%   From F, you can get the values of the fitted parameters. If you want to
+%   create in the current Matlab workspace the variables associated to
+%   these parameters, use MAKEVARFIT (or set the option 'automakevarfit'
+%   to 'on' in FITPARAM).
+%
+%   Examples:
+%     plotsample damposc
+%     f = ezfit('u(t) = c + u_a * sin(2*pi*t/T) * exp(-t/tau); T=5; tau=20');
+%     showfit(f);
+%     
+%     plotsample poly2
+%     [x,y] = pickdata;
+%     f = ezfit(x, y, 'z(v) = poly3');
+%     editcoeff(f);
+%
+%     plotsample poly2
+%     f = ezfit('beta(z) = poly2');
+%     showfit(f, 'fitcolor', 'red', 'fitlinewidth', 2);
+%
+%   See also SHOWFIT, PLOTSAMPLE, DISPEQFIT, EDITCOEFF,
+%   FMINSEARCH, MAKEVARFIT, FITPARAM.
+
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 2.51,  Date: 2011/10/04
+%   This function is part of the EzyFit Toolbox
+
+
+% History:
+% 2005/05/12: v1.00, first version.
+% 2005/05/20: v1.10, Use 'eval', with generic functions
+% 2005/05/21: v1.11, added the 'lin','log' options.
+% 2005/05/24: v1.12, option 'log' by default for 'power' and 'exp'.
+% 2005/07/27: v1.13, cosmetics.
+% 2005/09/03: v1.14, check arg.
+% 2005/10/07: v1.15, gaussian fits added (ngauss and fgauss, centered/not)
+% 2005/10/20: v1.16, help text changed.
+% 2005/10/31: v1.20, also returns R. cste and poly{n} fits added. Initial
+%                    guess defined within the fitting function string. The
+%                    order of the output parameters is changed.
+% 2005/11/05: v1.21, evaluate strings for initial guess in FUN
+% 2005/12/06: v1.22, opens a dialog box if the polynomial order is not
+%                    specified.
+% 2006/01/13: v1.24, check for negative data in log mode
+% 2006/01/19: v1.25, bug fixed from 1.24
+% 2006/01/25: v1.26, check the matlab version
+% 2006/02/08: v2.00, new syntax. The output argument is now a fit
+%                    structure, and the fitting equation string accepts
+%                    arbitrary parameter names.
+% 2006/02/14: v2.10, lhs 'y(x)=...' now accepted. Now case sensitive
+% 2006/03/07: v2.11, bug fixed from v1.25
+% 2006/03/09: v2.20, weighted chi-square criterion (ie: error bars accepted
+%                    for y) - undocumented
+% 2006/09/04: v2.21, '!' and '$' may be used instead of ';' in the FUN
+%                    string: this allows to pass the argument like:
+%                    fit power!log
+% 2006/09/28: v2.22, 'x^1' replaced by 'x' for 1st order polynomial
+% 2006/10/18: v2.30, input raw and column vectors accepted. accepts
+%                    additional input parameters to change the default settings.
+% 2007/04/17: v2.31, help text improved; standard error messages
+% 2007/05/16: v2.40, weigthed fits (v2.20) now documented, with bug fixed.
+% 2007/08/18: v2.41, help text improved.
+% 2007/09/17: v2.50, guess the initial guess m0 for predefined fits
+% 2011/11/04: v2.51, bug fixed for fits in log coordinates
+% 2012/06/28: v2.52, check version number removed (unstable)
+
+
+
+
+% new v1.26, changed v2.11, removed v2.52
+% if str2double(version('-release'))<14
+%     error('Ezyfit:ezfit:compatibility','EzyFit requires Matlab 7 or higher.');
+% end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% fit parameters:  (new v2.30)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+% loads the default fit parameters:
+try
+    fp=fitparam;
+catch
+    error('Ezyfit:ezfit:fitparamNotFound','''fitparam.m'' file not found.');
+end
+
+
+% change the default values of the fit parameters according to the
+% additional input arguments:
+for nopt=1:(nargin-1)
+    if any(strcmp(varargin{nopt},fieldnames(fp))) % if the option string is one of the fit parameter
+        fp.(varargin{nopt}) = varargin{nopt+1};
+    end
+end
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% input arguments:
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+if nargin==0, % if no input argument: do a linear fit of the current curve
+    [x,y,h] = pickdata(fp);
+    inputstr='linear';
+elseif nargin==1
+    if ischar(varargin{1}),    %    EZFIT('a*x+b')
+        inputstr=varargin{1};
+        [x,y,h] = pickdata(fp);
+    else                       %    EZFIT(y)
+        y=varargin{1};
+        x=1:length(y);
+        inputstr='linear';
+    end
+else   % 2 or more input arguments
+    if ~isnumeric(varargin{1})           % EZFIT('fun',...)
+        inputstr=varargin{1};
+        [x,y,h] = pickdata(fp);
+        if isnumeric(varargin{2})    % EZFIT('fun',m0,...)
+            m0=varargin{2};
+        end
+    elseif (isnumeric(varargin{1}) && ~isnumeric(varargin{2}))       % EZFIT(y,'a*x+b',...)
+        [y,inputstr]=deal(varargin{1:2});
+        x=1:length(y);
+        if nargin>2
+            if isnumeric(varargin{3})   % EZFIT(y,'a*x+b',m0,...)    
+                m0=varargin{3};       
+            end
+        end
+    elseif (isnumeric(varargin{1}) && isnumeric(varargin{2}))   % EZFIT(x,y,...)
+        [x,y]=deal(varargin{1:2});      
+        if nargin>2
+            if ischar(varargin{3})
+                inputstr=varargin{3};      % EZFIT(x,y,'fun',...)
+                if nargin>3
+                    if isnumeric(varargin{4})      % EZFIT(x,y,'fun',m0,...)
+                        m0=varargin{4};
+                    end
+                end
+            else
+                error('Ezyfit:ezfit:syntaxError','Syntax error. 3rd paramater of EZFIT should be a string.');
+            end
+        end
+    end
+end               
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% some checks about x and y
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+% turn all input vectors into row (1xN) vectors (new v2.30):
+if size(x,1)>size(x,2),
+    x=x';
+end
+if size(y,1)>size(y,2),
+    y=y';
+end
+
+
+% check for error bars for y (new v2.20, fixed 2.40)
+if size(y,1)>1
+    dy = y(2,:);  % second line = error bars (1/weight)
+    y = y(1,:);   % first line = data
+else
+    dy = ones(1,length(y));    % default error bars: 1
+end
+
+if length(x)~=length(y),
+    error('Ezyfit:ezfit:dimagree','X and Y dimensions must agree.');
+end
+
+
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% processing of the string FUN
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% cleans the input string:
+inputstr = strrep(inputstr,' ','');
+inputstr = strrep(inputstr,'!',';');
+inputstr = strrep(inputstr,'$',';');
+inputstr = strrep([inputstr ';'],';;',';'); % ensures that fun is terminated by a ';'.
+
+% the name of the fit is by default the first part of the input string
+p=findstr(inputstr,';'); p=p(1);
+f.name = inputstr(1:(p-1));
+
+% separates the first part (fitting function itself) and the remainder:
+p = strfind(inputstr,';'); p=p(1);
+fun = inputstr(1:(p-1));
+remfun = inputstr((p+1):end);
+
+
+% search for predefined fit or user-defined fit
+usepredefinedfit = '';
+[defaultfit, userfit] = loadfit;
+for i=1:length(defaultfit),
+    if strcmp(fun, defaultfit(i).name);
+        fun = defaultfit(i).eq;
+        usepredefinedfit = defaultfit(i).name;   % new v2.50
+    end
+end
+for i=1:length(userfit),
+    if strcmp(fun, userfit(i).name),
+        fun = userfit(i).eq;
+    end
+end
+
+
+% separates again the first part (fitting function itself) and the remainder:
+% (because the predefined/user-defined part may itself contain ';')
+fun = [strrep(fun,' ','') ';' remfun];
+p=strfind(fun,';'); p=p(1);
+remfun = fun((p+1):end);
+fun = fun(1:(p-1));
+
+
+% recognize if a lhs is present
+peq = strfind(fun,'=');
+if ~isempty(peq),
+    lhs = fun(1:(peq-1));    % left-hand side
+    rhs = fun((peq+1):end);  % right-hand side
+else
+    lhs = '';
+    rhs = fun;
+end
+
+
+% process the lhs (if present)
+if ~isempty(lhs),
+    pob = strfind(lhs,'('); % position of opening bracket
+    pcb = strfind(lhs,')'); % position of closing bracket
+    if ~isempty(pob)
+        if pob==1,
+            f.yvar = 'y';
+        else
+            f.yvar = lhs(1:(pob-1));
+        end
+        f.xvar = lhs((pob+1):(pcb-1));
+    else
+        f.yvar = lhs;
+        f.xvar = 'x';
+    end
+else % if no lhs present:
+    f.xvar='x';
+    f.yvar='y';
+end
+
+
+% process the 'poly' (polynomial fit) in the rhs
+if strfind(rhs,'poly'),   % polynomial fit:
+    order=str2double(rhs(5:end));
+    if isempty(order), % new v1.22
+        str_ord=inputdlg('Order of the polynomial fit','Polynomial order',1,{'2'});
+        if ~isempty(str_ord),
+            order=str2double(str_ord{1});
+            f.name=['poly' str_ord{1}];
+        else
+            clear f;
+            return;
+        end
+    end
+    if order>20,
+        error('Ezyfit:ezfit:invalidPolynomDegree','Invalid polynom degree.');
+    end
+    rhs = [fp.polynom_coeffname '0'];
+    for i=1:order,
+        if i>1
+            rhs = [rhs '+' fp.polynom_coeffname num2str(i) '*' f.xvar '^' num2str(i)];
+        else
+            rhs = [rhs '+' fp.polynom_coeffname num2str(i) '*' f.xvar];   % new v2.22
+        end
+    end
+end
+
+
+% search for option 'lin' or 'log':
+% (if several are present, use the last one)
+% (if none is present, check the Y-scale of the current figure)
+% (if no figure present, take 'lin').
+fun = strrep([rhs ';' remfun], ';;', ';');
+f.fitmode='';
+plin=strfind(fun,';lin');
+if ~isempty(plin), plin=plin(end); else plin=1; end
+plog=strfind(fun,';log');
+if ~isempty(plog), plog=plog(end); else plog=1; end
+plast=max(plin,plog);
+if plast==1, % if nothing specified
+    f.fitmode='lin'; % use 'lin'
+else
+    f.fitmode=fun((plast+1):(plast+3));
+end
+fun=strrep(fun,';lin','');
+fun=strrep(fun,';log','');
+
+
+% check for negative data in log mode (new v1.23, fixed 1.24):
+if (strcmp(f.fitmode,'log') && sum(y<=0)>0)
+    disp('Warning: Zero or negative data ignored');
+    nonzero=find(y>0);
+    x=x(nonzero);
+    y=y(nonzero);
+end
+
+
+% separates again the first part (fitting function itself) and the
+% remainder:
+p = strfind(fun,';'); p=p(1);
+f.eq = fun(1:(p-1));
+remfun = fun((p+1):end);
+
+
+ % convert the equation in the matlab syntax (parameters named m(1),
+ % m(2)...)
+[eqml,param] = eq2ml(f.eq, f.xvar);
+maxm = length(param); % number of parameters
+if maxm==0  % new v2.20
+    error('Ezyfit:ezfit:noParameter','No parameter to be fitted.');
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% processing the initial guess
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% initial guess for the m(i) by default (all m(i)=1):
+if ~exist('m0','var')
+    m0=ones(1,maxm);
+    switch usepredefinedfit   % new v2.50 : "magic" initial guesses
+        case 'linear'   % m*x
+            m0(1) = (y(end)-y(1))/(x(end)-x(1));
+        case 'affine'   % a*x+b
+            m0(1) = (y(end)-y(1))/(x(end)-x(1));  % a
+            m0(2) = mean(y-m0(1)*x);              % b
+        case 'affineshift'   % a*(x-b)
+            m0(1) = (y(end)-y(1))/(x(end)-x(1));  % a
+            m0(2) = mean(x-y/m0(1));              % b
+        case 'power'    % a*x^n;
+            % if both x and y are of constant sign:
+            if sum(diff(sign(x)))==0 || sum(diff(sign(y)))==0
+                m0(2) = log(y(end)/y(1)) / log(x(end)/x(1));  % n
+                m0(1) = mean(y./(x.^m0(2)));                  % a
+            end
+        case 'powerc'    % a*x^n+c;
+            % if both x and y are of constant sign:
+            if sum(diff(sign(x)))==0 || sum(diff(sign(y)))==0
+                m0(3) = log(y(end)/y(1)) / log(x(end)/x(1));  % n
+                m0(1) = mean(y./(x.^m0(3)));                  % a
+            end
+            m0(2) = mean(y);  % c
+        case 'powershift'    % a*(x+b)^n;
+            % if both x and y are of constant sign:
+            m0(2) = mean(x);                              % b
+            m0(3) = log(y(end)/y(1)) / log((x(end)+m0(2))/(x(1)+m0(2)));  % n
+            m0(1) = mean(y./((x+m0(2)).^m0(3)));                  % a           
+        case 'exp'    % a*exp(b*x)
+            m0(2) = (log(y(end)/y(1))) / (x(end)-x(1));  % b
+            m0(1) = mean(y./exp(m0(2)*x));               % a
+        case 'expdiv'    % a*exp(x/b)
+            m0(2) = (x(end)-x(1)) / (log(y(end)/y(1)));  % b
+            m0(1) = mean(y./exp(x/m0(2)));               % a
+        case 'explim'    % a*(1-exp(-x/b))
+            m0(1) = max(y);                              % a
+            m0(2) = mean(-x./(log(1-y/m0(1))));          % b
+        case 'expc'    % a*exp(b*x)+c
+            m0(3) = mean(y);                             % c
+            m0(2) = (log((y(end)-m0(3))/(y(1)-m0(3)))) / (x(end)-x(1));  % b
+            m0(1) = mean((y-m0(3))./exp(m0(2)*x));               % a
+        case 'log'    % a*log(b*x)
+            m0(1) = (y(end)-y(1))/(log(x(end)/x(1)));    % a
+            m0(2) = mean(exp(y/m0(1))./x);               % b            
+        case 'logc'    % a*log(x)+b
+            m0(1) = (y(end)-y(1))/(log(x(end)/x(1)));    % a
+            m0(2) = mean(y - m0(1)*log(x));              % b     
+        case {'sin','cos'}    % a*sin(b*x), a*cos(b*x)
+            m0(1) = std(y,1)*sqrt(2);  % a
+            m0(2) = 50/(x(end)-x(1));  % b
+        case {'sinc','cosc'}    % a*sin(b*x)+c, a*cos(b*x)+c
+            m0(1) = std(y,1)*sqrt(2);  % a
+            m0(2) = 50/(x(end)-x(1));  % b
+            m0(3) = mean(y);           % c
+        case 'sinphi'    % a*sin(b*x+phi)
+            m0(1) = std(y,1)*sqrt(2);  % a
+            m0(2) = 50/(x(end)-x(1));  % b
+            m0(3) = 1;                 % phi
+        case 'sinphic'    % a*sin(b*x+phi)+c
+            m0(1) = std(y,1)*sqrt(2);  % a
+            m0(2) = 50/(x(end)-x(1));  % b
+            m0(3) = mean(y);           % c
+            m0(4) = 1;                 % phi
+        case 'cngauss'
+            m0(1) = (mean(x.^2.*y)/mean(y))^(1/2);   % sigma
+        case 'cfgauss'   % a*exp(-(x^2)/(2*sigma^2))
+            m0(1) = max(y);      % a
+            m0(2) = (mean(x.^2.*y)/mean(y))^(1/2);   % sigma
+        case 'ngauss'    % exp(-((x-x_0)^2)/(2*sigma^2))/(2*pi*sigma^2)^(1/2)           
+            m0(2) = mean(x.*y)/mean(y);             % x_0
+            m0(1) = (mean((x-m0(2)).^2.*y)/mean(y))^(1/2);  % sigma
+        case {'fgauss','gauss'}    % a*exp(-((x-x_0)^2)/(2*sigma^2))
+            m0(1) = max(y);     % a
+            m0(3) = mean(x.*y)/mean(y);             % x_0                   
+            m0(2) = (mean((x-m0(3)).^2.*y)/mean(y))^(1/2);  % sigma
+    end
+    % if an initial guess is 0 or infinity or has imaginary part, set it to 1
+    for np=1:length(m0)
+        if m0(np)==0 || isinf(m0(np)) || imag(m0(np))~=0
+            m0(np) = 1;
+        end
+    end
+end
+    
+
+% search for initial guess defined into remfun
+remfun = strrep([remfun ';'], ';;', ';'); % adds a final ';'
+while strfind(remfun,'='),
+    peq=strfind(remfun,'='); peq=peq(1);
+    pc=strfind(remfun,';'); pc=pc(1);
+    if pc>peq,   % if ';' after '='
+        par=remfun(1:(peq-1));
+        for i=1:maxm,
+            if strcmp(param{i},par),
+                m0(i)=eval(remfun((peq+1):(pc-1)));
+            end
+        end
+    else
+        error('Ezyfit:ezfit:syntaxError','Invalid syntax');
+    end
+    remfun=remfun((pc+1):end); % removes the processed i.g. and loops back
+end
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% fitting itself
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+switch f.fitmode,
+    case 'lin',
+        x__ref = x;
+        try
+            m=fminsearch(@fitlin, m0);
+        catch
+            error('Ezyfit:ezfit:fminsearchError','Fit: error during the fminsearch procedure');
+        end        
+        y_fit = eval(eqml);
+        ssr = sum(abs(y_fit-mean(y)).^2);
+        sse = sum(abs(y_fit-y).^2);
+        f.r=sqrt(ssr/(sse+ssr));
+    case 'log',
+        x__ref = x;
+        try
+          m=fminsearch(@fitlog, m0);   % bug fixed here! (v2.51)
+        catch
+            error('Ezyfit:ezfit:fminsearchError','Fit: error during the fminsearch procedure');
+        end
+        y_fit = eval(eqml);
+        ssr = sum(abs(log(y_fit)-mean(log(y))).^2);
+        sse = sum(abs(log(y_fit)-log(y)).^2);
+        f.r=sqrt(ssr/(sse+ssr));
+    otherwise
+        error('Ezyfit:ezfit:unknownMode''Unknown fit mode');
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% outputs
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+% fills the output structure:
+f.param = param;
+f.m = m;
+f.m0 = m0;
+f.x = x;
+f.y = y;
+if sum(dy-1) % store the error bars only if defined
+    f.dy = dy;
+end
+if exist('h','var'), f.hdata=h; end  % handle to the data
+
+% stores the fit in the variable 'lastfit' in the 'base' workspace:
+assignin('base','lastfit',f);
+
+if strcmp(fp.automakevarfit,'on')
+    makevarfit;
+end
+
+% ending displays (if no output argument):
+if ~nargout
+    if strcmp(fp.dispeqmode,'on') % new v2.30
+        dispeqfit(f,fp);
+    end
+    clear f;
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% End of the main function EZFIT
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+% Nested functions that evaluate the fit for prescribed parameters m(i),
+% and return the chi2 (sum of the squared difference between the input
+% curve and the fit), in lin or log mode:
+
+    function chi2 = fitlin(m)
+        y_fit = eval(eqml);
+        chi2 = sum(((y_fit - y).^2)./(dy.^2));
+    end
+
+    function chi2 = fitlog(m)
+        y_fit = eval(eqml);
+        chi2 = sum((log(y_fit)-log(y)).^2);
+    end
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/fitparam.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/fitparam.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/fitparam.m	(revision 17)
@@ -0,0 +1,139 @@
+function fp=fitparam
+%FITPARAM  Default settings for the EzyFit toolbox
+%   This M-File contains the default settings for the EzyFit Toolbox,
+%   such as the extrapolation mode, fit colors, equation box location etc.
+%   See the page 'Settings' in the help browser for the list of available
+%   settings.
+%
+%   To change the default settings, edit this file (type: edit fitparam.m)
+%   and follow the instructions. You may also choose the item
+%   'Default Settings' in the EzyFit menu.
+%
+%   FP = FITPARAM returns the structure FP containing the settings.
+%
+%   See also SHOWFIT, EZFIT, SHOWEQBOX, DISPEQFIT, PICKDATA.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.21,  Date: 2007/09/18
+%   This function is part of the EzyFit Toolbox
+
+
+
+
+% Fit color mode:
+%  - a [R G B] vector specifies a fixed color (eg, [0 0 0] is black)
+%  - a string specifies one of eight predefined colors (full name: 'red',
+%    'blue' etc, or single letters, 'r', 'b' etc). Type 'doc colorspec' for
+%    details.
+%  - a numeric value specifies that the color of the fit has the same color
+%    as the data, but multiplied by the factor fitcolor (<1 for darker,
+%    >1 for lighter)
+fp.fitcolor = [1 0.5 0];
+
+
+% Width and style of the fit (type 'doc linespec' to see the available
+% Matlab line specifications):
+fp.fitlinewidth = 2;
+fp.fitlinestyle = '-';
+
+
+% Extrapolation mode:
+%  'fig'  = extrapolates the fit to the figure limits
+%  'data' = extrapolates the fit to the whole data limits, even if only a
+%           selection of the data is fitted (see selectfit).
+%  'none' = no extrapolation
+fp.extrapol = 'none';
+
+
+% Number of X points used to compute and display the fitted curve:
+% (typically 20 to 500, default=200)
+fp.npt = 200;
+
+
+% Display the equation in the command windows: 'on' or 'off'
+fp.dispeqmode = 'on';
+
+
+% Display the equation box in the figure: 'on' or 'off'
+fp.dispeqboxmode = 'on';
+
+
+% Display a legend in the figure: 'on' or 'off'
+fp.dispfitlegend = 'off';
+
+
+% Equation replace mode:
+%  'on'    replace each parameter by its numerical value in the equation
+%  'off'   keep the parameter names in the equation 
+fp.eqreplacemode = 'off';
+
+
+% Correlation coefficient mode:
+%  'r'      display R
+%  'r2'     display R^2
+%  'none'   display nothing
+fp.corrcoefmode = 'r';
+
+
+% Lin/log mode display: 'on' or 'off'
+% (this tells whether Y or LOG(Y) is fitted)
+fp.linlogdisp = 'on';
+
+
+% Open the Array Editor with the fit coefficients after showfit or
+% selectfit: 'on' or 'off'. See Editcoeff for details.
+fp.editcoeffmode = 'off';
+
+
+% Array for the Fit Coefficients: 'row' or 'line':
+% (this option is useful for copy-paste the coefficients in Excel)
+fp.coeffarray = 'row';
+
+
+% Automatic call of MakeVarFit after each fit: 'on' or 'off'
+% Setting to 'on' creates on the Matlab workspace the variables
+% associated to the fit parameters (the variables will be overwritten
+% if they already exist!). See Makevarfit for details
+fp.automakevarfit = 'off';
+
+
+% Maximum length of the equation string to be displayed in
+% the equation box (longer strings are truncated).
+% Set 'maxlength = inf' for no truncation:
+fp.maxlengtheq = 35;
+%fp.maxlengtheq = inf;
+
+
+% Location and size of the equation box (in normalized units):
+fp.boxlocation = [0.15 0.81 0.3 0.1]; % this is the top-left corner
+
+
+% Which data to fit when several curves are present in the figure:
+% 'first' or 'last'.
+fp.whichpickdata = 'first';
+
+
+% Loop mode for SelectFit:
+%  'on': the polygon procedure is repeated until an empty polygon is drawn
+%  'off': the polygon procedure is done once.
+fp.selectfitloopmode = 'off';
+
+
+% Message box display for SelectFit: 'on' or 'off'.
+fp.selectfitmsgbox = 'on';
+
+
+% Markers used for the selected data with selectfit:
+% (set to '' if you don't want the selected points to be displayed)
+fp.markerselectpt = '*';
+
+
+% Name of the polynom coefficients. Using a '_' (underscore)
+% at the end of the coeff name allows for using the coefficient order
+% as a subscript (latex syntax)
+% (default: 'a_')
+fp.polynom_coeffname = 'a_';
+
+
+% Number of digits for the coefficient values (default = 5)
+fp.numberofdigit = 5;
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/getlineinfo.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/getlineinfo.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/getlineinfo.m	(revision 17)
@@ -0,0 +1,80 @@
+function [len, angle, dx, dy] = getlineinfo(varargin)
+%GETLINEINFO  Get information (length, angle) of a segment
+%   GETLINEINFO draws a line using the pointer, and displays the length and
+%   angle of the segment in the figure. The angle is in degrees by default,
+%   (zero angle for a horizontal line).
+%
+%   [LEN, ANGLE, DX, DY] = GETLINEINFO returns the results.
+%
+%   ... = GETLINEINFO(OPT) specifies the angle property: OPT = 'rad', 'deg'
+%   or 'slope' (default is 'deg').  OPT = 'angle' shows only the angle.
+%
+%   Note: The Image Processing Toolbox is required.
+%
+%   See also GETSLOPE, SHOWSLOPE.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.10,  Date: 2009/03/25
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2009/03/24: v1.00, first version.
+% 2009/03/25: v1.01, use getline instead of imline
+% 2009/09/16: v1.02, new option 'angle'
+
+if false  % method #1: using imline (v1.00)
+    if ~exist('imline','file')
+        error('The Image Processing Toolbox is required for this operation.');
+    end
+
+    try
+        h = imline(gca,[]);
+    catch
+        error('Unselect the current selection.');
+    end
+
+    hline = get(h,'Children');
+    x = get(hline(3),'XData');
+    y = get(hline(3),'YData');
+
+else % method #2: using getline (v1.10)
+    if ~exist('getline','file')
+        error('The Image Processing Toolbox is required for this operation.');
+    end
+    [x,y] = getline;
+    x=x(1:2);
+    y=y(1:2);
+    oldhold = ishold;
+    hold on
+    plot(x,y,'k:');
+    if oldhold==false
+        hold off
+    end
+end
+
+dx = x(2)-x(1);
+dy = y(2)-y(1);
+len = sqrt(dx^2 + dy^2);
+
+if any(strcmpi(varargin,'rad'))
+    angle = atan(dy/dx);
+    txtangle = ['Angle = ' num2str(angle) ' rad'];
+elseif any(strcmpi(varargin,'slope'))
+    angle = dy/dx;
+    txtangle = ['Slope = ' num2str(angle)];
+else
+    angle = atan(dy/dx)*180/pi;
+    txtangle = ['Angle = ' num2str(angle) ' deg'];
+end
+
+if any(strcmpi(varargin,'angle'))
+    txt=txtangle;
+else
+    txt={['(' num2str(dx) ', ' num2str(dy) ')'],...
+        ['Length = ' num2str(len)], txtangle};
+end
+
+if nargout==0
+    text((x(1)+x(2))/2, (y(1)+y(2))/2,txt);
+    clear len angle dx dy
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/getslope.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/getslope.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/getslope.m	(revision 17)
@@ -0,0 +1,293 @@
+function [n,a]=getslope(varargin)
+%GETSLOPE  Slope of the current line.
+%   GETSLOPE displays the equation of the current line of the figure. Use
+%   the menu 'Insert > Line' to draw a line first. GETSLOPE allows for
+%   rough curve fitting "by eye". You may also use the shortcut Ctrl+G if
+%   the Ezyfit menu has been installed (see EFMENU).
+%
+%   Depending of the axis types, the equation of the line will be:
+%        Y = N*X+A         for X linear and Y linear
+%        Y = A*X^N         for X log and Y log
+%        Y = A*EXP(N*X)    for X linear and Y log
+%        Y = A+N*LOG(X)    for X log and Y linear (LOG = natural logarithm)
+%
+%   GETSLOPE('Property1',...) specifies the display mode:
+%        'figure'   output the result in the figure (by default)
+%        'command'  output the result in the command window
+%        'nodisplay'  no output
+%        'slope'    displays only the slope N (by default).
+%        'equation' displays the full equation (e.g., N*X+A)
+%
+%   [N, A] = GETSLOPE(...) also returns the parameters N and A of the
+%   equation.
+%
+%   See also SHOWSLOPE, GETLINEINFO, PLOTSAMPLE, RMFIT, EFMENU.
+
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.41,  Date: 2011/10/04
+%   This function is part of the EzyFit Toolbox
+
+
+% History:
+% 2005/02/17: First version.
+% 2005/02/23: uses the current active line
+% 2005/02/24: bug 'nodisp' fixed
+% 2005/05/21: standard error messages
+% 2005/05/24: option 'draw' suppressed; works in linear or log coordinates.
+% 2005/05/26: Bug fixed (zero slope in semilogx mode)
+% 2005/06/16: Displays the fit parameters with the correct number of digits.
+% 2005/06/22: v1.23, bug fixed in semilogx mode; 3 digits.
+% 2005/07/27: v1.24, correctly displays the negative values (without '+').
+% 2005/11/02: v1.30, works also when one extremity of the line is selected.
+%                    the equation is now in an annotation box, that follows
+%                    the line.
+% 2006/02/08: v1.31, use the number of digits defined in fitparam
+% 2006/03/08: v1.32, option 'dialog' added, when called from efmenu
+% 2006/05/09: v1.33, bug fixed for exponential fits (annotation box too
+%                    small)
+% 2007/09/14: v1.40, the procedure for the detection of the line has been
+%                    rewritten for ML 7.4-7.5; new options 'command' and
+%                    'figure'
+% 2011/10/04: v1.41, bug fixed for matlab version >=7.10 (thanks Alex !!)
+
+
+% loads the default fit parameters:
+try
+    fp=fitparam;
+catch
+    fp.numberofdigit=3;
+end
+
+
+if isempty(get(0,'CurrentFigure'))
+    error('No figure.');
+end
+
+if isempty(legend)  % new v1.40
+    islegend = false;
+else
+    islegend = true;
+    legend off
+end
+
+strv=version;
+v=str2double(strv(1:3));
+
+if v>=7.4 || v == 7.1                 % changed v1.41 (thanks Alex!!)
+    % get infos about the current line
+    if ~ishandle(gco)
+        if any(strncmpi(varargin,'dialog',4))
+            errordlg('First select a line (Menu Insert > Line)','GetSlope');
+            return
+        end
+        error('First select a line (Menu Insert > Line).');
+    end
+
+    h=gco; % currently active line
+    o=get(h);
+    if ~isfield(o,'X')
+        if any(strncmpi(varargin,'dialog',4))
+            errordlg('First select a line (Menu Insert > Line)','GetSlope');
+            return
+        end
+        error('First select a line (Menu Insert > Line).');
+    end
+    % this is the coord of the line, normalized to the window (between 0 and 1)
+    xw1=o.X(1); xw2=o.X(2);
+    yw1=o.Y(1); yw2=o.Y(2);
+
+else   % ------------------- FOR MATLAB <=7.3
+    % get infos about the current line
+    if ishandle(gco),
+        % gco is the currently active line (but it does not work
+        % if the line has just being drawn!)
+        if ~isfield(get(gco),'XData')
+            % gco is a handle, but there is no XData field in it
+            if (gco==gcf),
+                % nothing is selected...
+                if any(strncmpi(varargin,'dialog',4))
+                    errordlg('First select a line (Menu Insert > Line)','GetSlope');
+                    return;
+                end
+                error('First select a line (Menu Insert > Line).');
+            else
+                % this is the case when the line was just being drawn.
+                % (h(1) is the XAxis, h(2) and h(3) are the first and second points,
+                % and h(4) is the line itself).
+                h=findall(gcf,'Type','line');
+                if length(h)<4,
+                    if any(strncmpi(varargin,'dialog',4))
+                        errordlg('First select a line (Menu Insert > Line)','GetSlope');
+                        return;
+                    end
+                    error('First select a line (Menu Insert > Line).');
+                else
+                    h=h(4);
+                end
+            end
+        else
+            % the object has a XData field in it
+            h=gco;
+            o=get(gco);
+            if ~(length(o.XData)==2),
+                if (length(o.XData)==1),
+                    % One point of the line was being moved.
+                    % go back to its parent and take the 3rd child:
+                    % here you will find the line itself.
+                    o=get(o.Parent);
+                    h=o.Children(3);
+                else
+                    if any(strncmpi(varargin,'dialog',4))
+                        errordlg('First select a line (Menu Insert > Line)','GetSlope');
+                        return;
+                    end
+                    error('First select a line (Menu Insert > Line).');
+                end
+            end
+        end
+    else
+        if any(strncmpi(varargin,'dialog',5))
+            errordlg('First select a line (Menu Insert > Line)','GetSlope');
+            return;
+        end
+        error('First select a line (Menu Insert > Line).');
+    end
+    o=get(h);
+    % this is the coord of the line, normalized to the window (between 0 and 1)
+    xw1=o.XData(1); xw2=o.XData(2);
+    yw1=o.YData(1); yw2=o.YData(2);
+
+end
+
+
+icg=get(gca); % get infos about the current axes
+
+% computes the coordinates of the line
+% normalized to the axes of the figure (between 0 and 1):
+%   icg.Position(1:2) = coordinates (x,y) relative to the window
+%   icg.Position(3:4) = width and height of the windows
+xr1=(xw1-icg.Position(1))/(icg.Position(3));
+xr2=(xw2-icg.Position(1))/(icg.Position(3));
+
+
+yr1=(yw1-icg.Position(2))/(icg.Position(4));
+yr2=(yw2-icg.Position(2))/(icg.Position(4));
+
+xb1=icg.XLim(1);
+xb2=icg.XLim(2);
+if strcmpi(icg.YDir, 'reverse')
+    yb2=icg.YLim(1);  yb1=icg.YLim(2);
+else
+    yb1=icg.YLim(1);  yb2=icg.YLim(2);
+end
+
+if strncmpi(icg.XScale,'log',3) && strncmpi(icg.YScale,'log',3)
+    % Fit by a power law, y=a*x^n.
+
+    % computes the coordinates of the line in 'physical' units (those of
+    % the axes):
+    x1=xb1*(xb2/xb1)^xr1;
+    x2=xb1*(xb2/xb1)^xr2;
+
+    y1=yb1*(yb2/yb1)^yr1;
+    y2=yb1*(yb2/yb1)^yr2;
+
+    n=log(y2/y1)/log(x2/x1);
+    a=y1/(x1^n);
+
+    if any(strncmpi(varargin,'equation',2))
+        str=[num2str(a, fp.numberofdigit) ' x^{' num2str(n, fp.numberofdigit) '}'];
+    else
+        str=num2str(n, fp.numberofdigit);
+    end
+
+elseif strncmpi(icg.XScale,'linear',3) && strncmpi(icg.YScale,'linear',3)
+    % Fit by an affine law, y=nx+a.
+
+    x1=xb1+(xb2-xb1)*xr1;
+    x2=xb1+(xb2-xb1)*xr2;
+
+    y1=yb1+(yb2-yb1)*yr1;
+    y2=yb1+(yb2-yb1)*yr2;
+
+    n=(y2-y1)/(x2-x1);
+    a=y1-n*x1;
+
+    if any(strncmpi(varargin,'equation',2))
+        if a>0 % changed 27/07/2005, v1.24
+            str=[num2str(n, fp.numberofdigit) ' x + ' num2str(a, fp.numberofdigit)];
+        else
+            str=[num2str(n, fp.numberofdigit) ' x ' num2str(a, fp.numberofdigit)];
+        end
+    else
+        str=num2str(n, fp.numberofdigit);
+    end
+
+elseif strncmpi(icg.XScale,'linear',3) && strncmpi(icg.YScale,'log',3)
+    % Fit by an exponential law, y=a*exp(nx).
+
+    x1=xb1+(xb2-xb1)*xr1;
+    x2=xb1+(xb2-xb1)*xr2;
+
+    y1=yb1*(yb2/yb1)^yr1;
+    y2=yb1*(yb2/yb1)^yr2;
+
+    n=log(y2/y1)/(x2-x1);
+    a=y1/exp(n*x1);
+
+    if any(strncmpi(varargin,'equation',2))
+        str=[num2str(a, fp.numberofdigit) ' e^{' num2str(n, fp.numberofdigit) ' x}'];
+    else
+        str=num2str(n, fp.numberofdigit);
+    end
+
+elseif strncmpi(icg.XScale,'log',3) && strncmpi(icg.YScale,'linear',3)
+    % Fit by a logarithmic law, y=a+n*log(x).
+
+    x1=xb1*(xb2/xb1)^xr1;
+    x2=xb1*(xb2/xb1)^xr2;
+
+    y1=yb1+(yb2-yb1)*yr1;
+    y2=yb1+(yb2-yb1)*yr2;
+
+    n=(y2-y1)/log(x2/x1);
+    if n~=0
+        a=y1-n*log(x1);
+    else
+        a=NaN;
+    end
+    if any(strncmpi(varargin,'equation',2))
+        str=[num2str(a, fp.numberofdigit) ' ln (' num2str(n, fp.numberofdigit) ' x)'];
+    else
+        str=num2str(n, fp.numberofdigit);
+    end
+end
+
+
+% if the current line has a textbox previously attached to it, kill it:
+if ishandle(get(h,'UserData'))
+    delete(get(h,'UserData'));
+end
+
+if ~any(strncmpi(varargin,'nodisplay',3))
+    if any(strncmpi(varargin,'command',3))
+        disp(str)
+    end
+
+    if (~any(strncmpi(varargin,'figure',3)) && ~any(strncmpi(varargin,'command',3))) ...
+            || any(strncmpi(varargin,'figure',3))
+        textlocation=[(xw1+xw2)/2 (yw1+yw2)/2-0.075-sign(n)*0.025 0.4 0.1];  % changed v1.33
+        htext=annotation('textbox',textlocation,'LineStyle','none','UserData','getslopetextbox','String',str);
+        % says to the line that the textbox htext is attached to it:
+        set(h,'UserData',htext);
+    end
+end
+
+if islegend
+    legend show   % put back the legend (new v1.40)
+end
+
+if nargout==0
+    clear n
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/gridc.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/gridc.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/gridc.m	(revision 17)
@@ -0,0 +1,28 @@
+function gridc(opt)
+%GRIDC  Centered cross grid.
+%   GRIDC shows central cross axes.
+%   GRIDC X or GRIDC Y only shows the horizontal or vertical axe.
+%
+%   See also AXISC, AXIS0.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.01,  Date: 2006/02/16
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/11/10: v1.00, first version.
+% 2006/02/16: v1.01, option 'x' or 'y'.
+
+if nargin==0,
+    opt='xy';
+end;
+
+a=axis;
+hold on;
+if findstr(lower(opt),'x');
+    plot([a(1) a(2)],[0 0],'k:');
+end;
+if findstr(lower(opt),'y');
+    plot([0 0],[a(3) a(4)],'k:');
+end;
+hold off;
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/about_ef.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/about_ef.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/about_ef.html	(revision 17)
@@ -0,0 +1,31 @@
+<html><head><title>about_ef (Ezyfit Toolbox)</title>
+<!-- Help file for about_ef.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="Contents.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="axis0.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">about_ef</font><br>
+display the "About" information of the EzyFit toolbox<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>about_ef</b> displays the dialog box 'About EzyFit'. 
+<b>about_ef</b>('command') displays the 'about' info in the command window. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="efmenu.html">efmenu</a>, <a href="checkupdate_ef.html">checkupdate_ef</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>about_ef</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="Contents.html"><b>Previous: Contents</b></a></td><td align=right><a href="axis0.html"><b>Next: axis0</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axis0.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axis0.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axis0.html	(revision 17)
@@ -0,0 +1,32 @@
+<html><head><title>axis0 (Ezyfit Toolbox)</title>
+<!-- Help file for axis0.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="about_ef.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="axisc.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">axis0</font><br>
+Include the origin in the current axis<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>axis0</b> modifies the axis of the current plot to include the origin. 
+<b>axis0</b> X or <b>axis0</b> Y only includes the origin for the horizontal or 
+vertical axis. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="axisc.html">axisc</a>, <a href="gridc.html">gridc</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>axis0</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="about_ef.html"><b>Previous: about_ef</b></a></td><td align=right><a href="axisc.html"><b>Next: axisc</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axisc.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axisc.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axisc.html	(revision 17)
@@ -0,0 +1,31 @@
+<html><head><title>axisc (Ezyfit Toolbox)</title>
+<!-- Help file for axisc.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="axis0.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="axisl.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">axisc</font><br>
+Centered axis<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>axisc</b> centers the axis of the current plot. 
+<b>axisc</b> X or <b>axisc</b> Y only centers the horizontal or vertical axe. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="axis0.html">axis0</a>, <a href="gridc.html">gridc</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>axisc</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="axis0.html"><b>Previous: axis0</b></a></td><td align=right><a href="axisl.html"><b>Next: axisl</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axisl.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axisl.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/axisl.html	(revision 17)
@@ -0,0 +1,34 @@
+<html><head><title>axisl (Ezyfit Toolbox)</title>
+<!-- Help file for axisl.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="axisc.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="checkupdate_ef.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">axisl</font><br>
+Enlarge the axis to the nearest power of 10.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>axisl</b> enlarges the axis of the current plot to include the nearest 
+power of 10. 
+ 
+<b>axisl</b> X or <b>axisl</b> Y only includes the nearest power of 10 for the 
+horizontal or vertical axis. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="axisc.html">axisc</a>, <a href="axis0.html">axis0</a>, <a href="gridc.html">gridc</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>axisl</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="axisc.html"><b>Previous: axisc</b></a></td><td align=right><a href="checkupdate_ef.html"><b>Next: checkupdate_ef</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/checkupdate_ef.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/checkupdate_ef.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/checkupdate_ef.html	(revision 17)
@@ -0,0 +1,37 @@
+<html><head><title>checkupdate_ef (Ezyfit Toolbox)</title>
+<!-- Help file for checkupdate_ef.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="axisl.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="dfig.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">checkupdate_ef</font><br>
+Check for update for Ezyfit<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>checkupdate_ef</b> connects on the EzyFit webpage and checks for a new 
+version. 
+ 
+<b>checkupdate_ef</b>('dialog') does the same, but outputs the result in 
+a dialog box. 
+ 
+<b>checkupdate_ef</b> is automatically called at each Matlab restart if the 
+EzyFit menu is installed (see <a href="efmenu.html">efmenu</a>). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="about_ef.html">about_ef</a>, <a href="efmenu.html">efmenu</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>checkupdate_ef</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="axisl.html"><b>Previous: axisl</b></a></td><td align=right><a href="dfig.html"><b>Next: dfig</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/delseldata.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/delseldata.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/delseldata.html	(revision 17)
@@ -0,0 +1,34 @@
+<html><head><title>delseldata (Ezyfit Toolbox)</title>
+<!-- Help file for delseldata.m generated by makehtmldoc 1.22, 04-Feb-2009 23:32:35 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="checkupdate_ef.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="dfig.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">delseldata</font><br>
+Delete points inside a polygon<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>delseldata</b> selects part of the current curve by drawing a lasso, and 
+deletes all the points that are inside the polygon (this operation is 
+irreversible). 
+ 
+<b>delseldata</b> is a shortcut for SELECTDATA('delete'). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+SELECTDATA, <a href="pickdata.html">pickdata</a>, <a href="selectfit.html">selectfit</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>delseldata</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="checkupdate_ef.html"><b>Previous: checkupdate_ef</b></a></td><td align=right><a href="dfig.html"><b>Next: dfig</b></a>&nbsp;</td></tr></table><br>
+2005-2009 <a href="ezyfit.html">EzyFit Toolbox 2.30</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/dfig.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/dfig.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/dfig.html	(revision 17)
@@ -0,0 +1,34 @@
+<html><head><title>dfig (Ezyfit Toolbox)</title>
+<!-- Help file for dfig.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="checkupdate_ef.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="dispeqfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">dfig</font><br>
+Create docked figure window<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>dfig</b>, by itself, creates a new docked figure window, and returns its 
+handle. 
+ 
+<b>dfig</b>(H) makes H the current figure and docks it.  If Figure H does not 
+exist, and H is an integer, a new figure is created with handle H. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+FIGURE. 
+ 
+Published output in the Help browser 
+   showdemo <b>dfig</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="checkupdate_ef.html"><b>Previous: checkupdate_ef</b></a></td><td align=right><a href="dispeqfit.html"><b>Next: dispeqfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/dispeqfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/dispeqfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/dispeqfit.html	(revision 17)
@@ -0,0 +1,41 @@
+<html><head><title>dispeqfit (Ezyfit Toolbox)</title>
+<!-- Help file for dispeqfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="dfig.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="docezyfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">dispeqfit</font><br>
+Display the equation of a fit.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>dispeqfit</b>(F) displays the equation of the fit F in the command window, 
+using the settings defined in <a href="fitparam.html">fitparam</a>. The fit structure F is 
+obtained from <a href="ezfit.html">ezfit</a>. By default, <b>dispeqfit</b> is automatically called from 
+FIT when no output argument is specified. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+   plotsample('power') 
+   f = ezfit('alpha/x^n'); 
+   <b>dispeqfit</b>(f); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="fitparam.html">fitparam</a>, <a href="ezfit.html">ezfit</a>, <a href="showfit.html">showfit</a>, <a href="showeqbox.html">showeqbox</a> 
+ 
+Published output in the Help browser 
+   showdemo <b>dispeqfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="dfig.html"><b>Previous: dfig</b></a></td><td align=right><a href="docezyfit.html"><b>Next: docezyfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/docezyfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/docezyfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/docezyfit.html	(revision 17)
@@ -0,0 +1,38 @@
+<html><head><title>docezyfit (Ezyfit Toolbox)</title>
+<!-- Help file for docezyfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="dispeqfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="editcoeff.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">docezyfit</font><br>
+Documention for the Ezyfit toolbox<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>docezyfit</b> displays the start page for the Ezyfit toolbox in the help 
+browser. In Matlab 7.3 and before (R2006), typing "doc ezyfit" had the 
+same result. However, since Matlab 7.4 (R2007a), the doc function 
+changed, and this feature is not available anymore, so you have to 
+use <b>docezyfit</b> instead. 
+ 
+<b>docezyfit</b> function_name  displays the documention of function_name 
+in the help browser. In Matlab 7.3, this is strictly equivalent to 
+DOC function_name. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+  <b>docezyfit</b> showfit 
+ 
+Published output in the Help browser 
+   showdemo <b>docezyfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="dispeqfit.html"><b>Previous: dispeqfit</b></a></td><td align=right><a href="editcoeff.html"><b>Next: editcoeff</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/editcoeff.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/editcoeff.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/editcoeff.html	(revision 17)
@@ -0,0 +1,52 @@
+<html><head><title>editcoeff (Ezyfit Toolbox)</title>
+<!-- Help file for editcoeff.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="docezyfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="editfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">editcoeff</font><br>
+Edit the coefficients of a fit<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>editcoeff</b> opens the Matlab's Array Editor to edit the coefficients 
+of the last fit (which is stored in the variable 'lastfit'). This may 
+be useful to copy/paste the fit coefficients into a spreadsheet 
+(see the setting 'coeffarray' in <a href="fitparam.html">fitparam</a> to change the row/column 
+display). 
+ 
+<b>editcoeff</b> is also available from the item 'Edit Fit Coefficients' in 
+the EzyFit menu, and can be automatically called after each fit (see 
+the setting 'editcoeffmode' in <a href="fitparam.html">fitparam</a>). 
+ 
+<b>editcoeff</b>(F) opens the Matlab's Array Editor to edit the coefficients 
+of the fit F. (F is a fit structure as returned by <a href="ezfit.html">ezfit</a> or <a href="showfit.html">showfit</a>). 
+ 
+C = <b>editcoeff</b>(...) returns a 2xN cell array, containing the 
+coefficients names and values. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+  plotsample('power'); 
+  f = ezfit('power'); 
+  <b>editcoeff</b>(f); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="ezfit.html">ezfit</a>, <a href="showfit.html">showfit</a>, <a href="efmenu.html">efmenu</a>, <a href="fitparam.html">fitparam</a>, <a href="makevarfit.html">makevarfit</a>, OPENVAR. 
+ 
+Published output in the Help browser 
+   showdemo <b>editcoeff</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="docezyfit.html"><b>Previous: docezyfit</b></a></td><td align=right><a href="editfit.html"><b>Next: editfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/editfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/editfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/editfit.html	(revision 17)
@@ -0,0 +1,43 @@
+<html><head><title>editfit (Ezyfit Toolbox)</title>
+<!-- Help file for editfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="editcoeff.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="efmenu.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">editfit</font><br>
+Edit a user defined fit<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>editfit</b> edit a new user defined fit. 
+ 
+<b>editfit</b>(N) edits the fit #N. 
+ 
+<b>editfit</b>(N,NAME,EQ) sets the name NAME and the equation EQ of the user 
+defined fit #N. 
+ 
+<b>editfit</b>('reset') deletes the user defined fits. 
+<b>editfit</b>('list')  lists the user defined fits 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+  <b>editfit</b>(3,'myexp','a*exp(-x/tau); a=0.1; tau=100;'); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="loadfit.html">loadfit</a>, <a href="efmenu.html">efmenu</a>, <a href="ezfit.html">ezfit</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>editfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="editcoeff.html"><b>Previous: editcoeff</b></a></td><td align=right><a href="efmenu.html"><b>Next: efmenu</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/efmenu.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/efmenu.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/efmenu.html	(revision 17)
@@ -0,0 +1,50 @@
+<html><head><title>efmenu (Ezyfit Toolbox)</title>
+<!-- Help file for efmenu.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="editfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="evalfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">efmenu</font><br>
+Ezyfit menu<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>efmenu</b> adds or refreshes the Ezyfit menu for the current figure and 
+for all new figures. 
+<b>efmenu</b> OFF removes the menu from all the figures and for all new 
+figures. 
+ 
+Careful: when the Ezyfit menu is active, all saved figure files (.FIG) 
+include the Ezyfit menu. This generates a problem when those figure 
+files are opened in a Matlab system which does not have the Ezyfit 
+toolbox installed. In order to remove the Ezyfit menu from the figure 
+file, use the function <a href="remove_efmenu_fig.html">remove_efmenu_fig</a>. 
+ 
+If you want to always have the EzyFit menu in your figures, type 
+<b>efmenu</b> INSTALL. This will create or update the 'startup.m' file in the 
+user directory of your Matlab installation. In addition, at 
+each Matlab restart, this will check the last version of the EzyFit 
+toolbox on the web (see <a href="checkupdate_ef.html">checkupdate_ef</a>). 
+ 
+In order to cancel the effect of <b>efmenu</b> INSTALL, you need to edit the 
+'startup.m' file and to remove manually the 2 lines of code related to 
+the Ezyfit toolbox. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="plotsample.html">plotsample</a>, <a href="showfit.html">showfit</a>, <a href="ezfit.html">ezfit</a>, <a href="undofit.html">undofit</a>, <a href="rmfit.html">rmfit</a>, <a href="editfit.html">editfit</a>, 
+<a href="loadfit.html">loadfit</a>, <a href="checkupdate_ef.html">checkupdate_ef</a>, <a href="remove_efmenu_fig.html">remove_efmenu_fig</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>efmenu</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="editfit.html"><b>Previous: editfit</b></a></td><td align=right><a href="evalfit.html"><b>Next: evalfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/evalfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/evalfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/evalfit.html	(revision 17)
@@ -0,0 +1,41 @@
+<html><head><title>evalfit (Ezyfit Toolbox)</title>
+<!-- Help file for evalfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="efmenu.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="ezfft.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">evalfit</font><br>
+Evaluate a fit<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+Y = <b>evalfit</b>(F,X) evaluates the fit F for the values X.  F is a fit 
+structure, as obtained by <a href="ezfit.html">ezfit</a>, <a href="showfit.html">showfit</a> or SELECTFIT. Y is a vector 
+of the same length as X, with Y(i) = F(X(i)). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+  plotsample('power'); 
+  f = ezfit('power; log'); 
+  x = logspace(1,3,1000); 
+  hold on; plot(x,<b>evalfit</b>(f,x),'r-'); hold off; 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="ezfit.html">ezfit</a>, <a href="showfit.html">showfit</a>, <a href="fitparam.html">fitparam</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>evalfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="efmenu.html"><b>Previous: efmenu</b></a></td><td align=right><a href="ezfft.html"><b>Next: ezfft</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezfft.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezfft.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezfft.html	(revision 17)
@@ -0,0 +1,106 @@
+<html><head><title>ezfft (Ezyfit Toolbox)</title>
+<!-- Help file for ezfft.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:07 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="evalfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="ezfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">ezfft</font><br>
+Easy to use Power Spectrum<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>ezfft</b>(T,U) plots the power spectrum of the signal U(T) , where T is a 
+'time' and U is a real signal (T can be considered as a space 
+coordinate as well). If T is a scalar, then it is interpreted as the 
+'sampling time' of the signal U.  If T is a vector, then it is 
+interpreted as the 'time' itself. In this latter case, T must be 
+equally spaced (as obtained by LINSPACE for instance), and it must 
+have the same length as U. If T is not specified, then a 'sampling 
+time' of unity (1 second for instance) is taken. Windowing 
+(appodization) can be applied to reduce border effects (see below). 
+ 
+[W,E] = <b>ezfft</b>(T,U) returns the power spectrum E(W), where E is the 
+energy density and W the pulsation 'omega'.  W is *NOT* the frequency: 
+the frequency is W/(2*pi). If T is considered as a space coordinate, 
+W is a wave number (usually noted K = 2*PI/LAMBDA, where LAMBDA is a 
+wavelength). 
+ 
+<b>ezfft</b>(..., 'Property1', 'Property2', ...) specifies the properties: 
+ 'hann'    applies a Hann appodization window to the data (reduces 
+           aliasing). 
+ 'disp'    displays the spectrum (by default if no output argument) 
+ 'freq'    the frequency f is displayed instead of the pulsation omega 
+           (this applies for the display only: the output argument 
+           remains the pulsation omega, not the frequency f). 
+ 'space'   the time series is considered as a space series. This simply 
+           renames the label 'omega' by 'k' (wave number) in the plot, 
+           but has no influence on the computation itself. 
+ 'handle'  returns a handle H instead of [W,E] - it works only if the 
+           properties 'disp' is also specified. The handle H is useful 
+           to change the line properties (color, thickness) of the 
+           plot (see the example below). 
+ 
+The length of the vectors W and E is N/2, where N is the length of U 
+(this is because U is assumed to be a real signal.) If N is odd, the 
+last point of U and T are ignored. If U is not real, only its real part 
+is considered. 
+ 
+    W(1) is always 0.  E(1) is the energy density of the average of U 
+      (when plotted in log coordinates, the first point is W(2), E(2)). 
+    W(2) is the increment of pulsation, Delta W, given by 2*PI/Tmax 
+    W(end), the highest measurable pulsation, is PI/DT, where DT is the 
+       sampling time (Nyquist theorem). 
+ 
+Parseval Theorem (Energy conservation): 
+For every signal U, the 'energy' computed in the time domain and in the 
+frequency domain are equal, 
+    MEAN(U.^2) == SUM(E)*W(2) 
+where W(2) is the pulsation increment Delta W. 
+Note that, depending on the situation considered, the physical 'energy' 
+is usually defined as 0.5*MEAN(U.^2). Energy conservation only applies 
+if no appodization of the signal (windowing) is used. Otherwise, some 
+energy is lost in  the appodization, so the spectral energy is lower 
+than the actual one. 
+ 
+As for FFT, the execution time depends on the length of the signal. 
+It is fastest for powers of two. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+  simple display of a power spectrum 
+   t = linspace(0,400,2000); 
+   u = 0.2 + 0.7*sin(2*pi*t/47) + cos(2*pi*t/11); 
+   <b>ezfft</b>(t,u); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+  how to change the color of the plot 
+   h = <b>ezfft</b>(t,u,'disp','handle'); 
+   set(h,'Color','red'); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+  how to use the output of <b>ezfft</b> 
+   [w,e] = <b>ezfft</b>(t,u,'hann'); 
+   loglog(w,e,'b*'); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+FFT 
+ 
+Published output in the Help browser 
+   showdemo <b>ezfft</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="evalfit.html"><b>Previous: evalfit</b></a></td><td align=right><a href="ezfit.html"><b>Next: ezfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezfit.html	(revision 17)
@@ -0,0 +1,153 @@
+<html><head><title>ezfit (Ezyfit Toolbox)</title>
+<!-- Help file for ezfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="ezfft.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="fitparam.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">ezfit</font><br>
+Fit data with arbitrary fitting function<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>ezfit</b>(FUN) fits the active curve with the function FUN. See below for 
+the syntax of FUN. If FUN is not specified, 'linear' is used. 
+ 
+By default, the first curve in the active figure is fitted - see 
+<a href="fitparam.html">fitparam</a> to change this default behavior. To fit another curve, select 
+it before calling <b>ezfit</b>.  If some data are selected by the "Data 
+Brushing" tool (only for Matlab &gt;= 7.6), only those data are fitted. 
+ 
+<b>ezfit</b>(X,Y,FUN) or <b>ezfit</b>(Y,FUN) fits the data (X,Y) (or Y) using the 
+function FUN. X and Y must be vectors of equal length. If X is not 
+specified, X=[1, 2, 3...] is assumed. 
+ 
+<b>ezfit</b>(X,Y,FUN), where X is a 1-by-N vector and Y is a 2-by-N matrix, 
+also specifies the weights for Y(2,:) (error bars). By default, when 
+Y is a 1-by-N vector, all the weights are 1. 
+ 
+Note that <b>ezfit</b> only computes the coefficients, but does not display the 
+fit. Use <a href="showfit.html">showfit</a> to display the fit. 
+ 
+The function string FUN can be: 
+   - the name of a predefined fitting function (see below). 
+   - the name of a user-defined fitting function (see <a href="editfit.html">editfit</a>). 
+   - an equation, in the form 'y(x)=...', where 'x' represents the 
+     X-data, and all the other variables are parameters to be fitted 
+     ('a', 'x_0', 'tau', ...). Example: 'y(x)=a*sin(b*x)'. If the 
+     left-hand-side 'y(x)' is not specified, 'x' is taken for the 
+     X-Data. All the parameter names are accepted, except Matlab 
+     reserved strings ('sin', 'pi', ...) 
+ 
+The predefined fitting functions are: 
+   - linear             y = m * x 
+   - affine or poly1    y = a*x + b 
+   - poly{n}            y = a0 + a1 * x + ... + an * x^n 
+   - power              y = c*x^n 
+   - sin                y = a * sin (b * x) 
+   - cos                y = a * cos (b * x) 
+   - exp                y = a * exp (b * x) 
+   - log                y = a * log (b * x) 
+   - cngauss            y = exp(-x^2/(2*s^2))/(2*pi*s^2)^(1/2) 
+   - cfgauss            y = a*exp(-x^2/(2*s^2)) 
+   - ngauss             y = exp(-(x-x0)^2/(2*s^2))/(2*pi*s^2)^(1/2) 
+   - gauss              y = a*exp(-(x-x0)^2/(2*s^2)) 
+'ngauss' is a 2-parameters normalized Gaussian, and 'gauss' is a 
+3-parameters non-normalized (free) Gaussian. 'cngauss' and 'cfgauss' 
+are centered normalized and centered free Gaussian, respectively. 
+ 
+<b>ezfit</b> is based on Matlab's built-in FMINSEARCH function (Nelder-Mead 
+method), which performs an unconstrained nonlinear minimization of 
+the SSR (sum of squared residuals) with respect to the various 
+parameters. 
+ 
+The correlation coefficient R is defined as (SSR/(SSE+SSR))^(1/2), where 
+   SSR = sum ((y_fit - mean(y)).^2)   % sum of squared residuals 
+   SSE = sum ((y_fit - y).^2)         % sum of squared errors 
+(see http://mathworld.wolfram.com/CorrelationCoefficient.html) 
+ 
+Nonlinear minimization requires starting guesses (or starting estimates) 
+for the fit parameters. By default, all the starting guesses are taken 
+as 1, or, when using predefined fits (e.g., exp, gauss, power...), the 
+starting guesses are determined depending on the range of the data to 
+be fitted. However, in most cases, values closer to the expected 
+result should be specified to "help" the convergence. It is sufficient 
+to choose values that have the correct sign and correct order of 
+magnitude, e.g. 0.01, 1, 100... 
+ 
+The starting guesses for the parameters may be specified in two ways: 
+  - directly in the string FUN, after the fit definition: 
+       'c0 + a*sin(pi*x/lambda); c0=1; a=0.1; lambda=100' 
+       ('!' or '$' may also be used instead of ';'). 
+  - by specifying them as an additional input argument for <b>ezfit</b>: 
+       <b>ezfit</b>(x,y,'c0 + a*sin(pi*x/lambda)',[0.1 1 100]); 
+    Note that in this case the parameters must be ordered alphabetically. 
+Note that if both methods are used, only the starting guesses given in 
+the string FUN are considered. 
+ 
+By default, Y is fitted in linear mode. If you want to fit LOG(Y) 
+instead, you must specify the option 'log' to the string FUN, separated 
+by the symbol ';' or '$' or '!' (eg, FUN='a*x^n;log'). This is 
+specially useful to fit power laws with equally weighted points in a 
+log scale.  If nothing specified, the option 'lin' is used. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+     plotsample('power') 
+and compare the results of: 
+     <b>ezfit</b>('power;lin') 
+     <b>ezfit</b>('power;log') 
+ 
+F = <b>ezfit</b>(...) also returns a structure F having the following fields: 
+   - name       name of the fit 
+   - eq         equation of the fit 
+   - param      cell array of strings: names of the parameters 
+   - m          values of the coefficients 
+   - m0         initial guess for the coefficients 
+   - r          correlation coefficient R (Pearson's correlation) 
+   - fitmode    'lin' (y is fitted) or 'log' (log(y) is fitted) mode 
+ 
+This structure F can be further used with <a href="showfit.html">showfit</a>, <a href="dispeqfit.html">dispeqfit</a>, 
+<a href="showeqbox.html">showeqbox</a>, <a href="makevarfit.html">makevarfit</a> and <a href="editcoeff.html">editcoeff</a>. 
+ 
+From F, you can get the values of the fitted parameters. If you want to 
+create in the current Matlab workspace the variables associated to 
+these parameters, use <a href="makevarfit.html">makevarfit</a> (or set the option 'automakevarfit' 
+to 'on' in <a href="fitparam.html">fitparam</a>). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Examples</b></font>
+<pre>
+ 
+  plotsample damposc 
+  f = <b>ezfit</b>('u(t) = c + u_a * sin(2*pi*t/T) * exp(-t/tau); T=5; tau=20'); 
+  showfit(f); 
+ 
+  plotsample poly2 
+  [x,y] = pickdata; 
+  f = <b>ezfit</b>(x, y, 'z(v) = poly3'); 
+  editcoeff(f); 
+ 
+  plotsample poly2 
+  f = <b>ezfit</b>('beta(z) = poly2'); 
+  showfit(f, 'fitcolor', 'red', 'fitlinewidth', 2); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showfit.html">showfit</a>, <a href="plotsample.html">plotsample</a>, <a href="dispeqfit.html">dispeqfit</a>, <a href="editcoeff.html">editcoeff</a>, 
+FMINSEARCH, <a href="makevarfit.html">makevarfit</a>, <a href="fitparam.html">fitparam</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>ezfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="ezfft.html"><b>Previous: ezfft</b></a></td><td align=right><a href="fitparam.html"><b>Next: fitparam</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit.html	(revision 17)
@@ -0,0 +1,111 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+  <title>EzyFit</title>
+  <meta http-equiv="Content-Type"
+ content="text/html; charset=iso-8859-1">
+  <style type="text/css">
+
+/* 		These are special CSS styles for these DOCUMENT MAP Pages PLEASE DO NOT DELETE */
+
+		/* Hyper Link Styles */
+		a:link {color: #0000FF; text-decoration:underline }              /* unvisited link */
+		a:visited {color: #0000FF; text-decoration:underline}            /* visited link */
+		a:hover {color: #0000FF; text-decoration:underline}              /* mouse over link */
+		a:active {color: #0000FF; text-decoration:underline}             /* selected link */
+
+		/* Class for Twist-down item */
+		#alone		{ padding: 10px; margin:10px;}
+
+  </style>
+
+</head>
+
+<body>
+
+<table cellpadding="5" cellspacing="5" width="600" border="0">
+<tr>
+<td>
+
+<img src="ezyfit_banner.jpg">
+
+<br>
+<br>
+
+<b>Version 2.41c 31-July-2012 </b><br>
+<hr>
+
+
+<table>
+    <tr>
+        <td>
+            <b>Functions:</b>
+            <ul>
+                <li><b><a href="ezyfit_func_cat.html">By Category</a></b></li>
+                <li><b><a href="ezyfit_func_alpha.html">In Alphabetical Order</a></b></li>
+            </ul>
+        </td>
+        <td>      
+            <br>
+            <ul>
+                <li><b><a href="ezyfit_gettingstarted.html">Getting Started</a></b><br></li>
+                <li><b><a href="ezyfit_faq.html">Frequently Asked Questions</a></b><br></li>
+            </ul>
+        </td>
+    </tr>
+</table>
+    
+<hr>
+<b>What's New</b>  
+<ul>
+    <li><b><a href="ezyfit_releasenotes.html">Release Notes</a></b><br>
+    Summarizes new features, bug fixes, upgrade issues, etc.<br><br></li>
+    
+    <li><b><a href="ezyfit_knownbugs.html">Known software problems<br></a></b></li>    
+</ul>
+
+
+<hr>
+    
+<b>Documentation Set</b> 
+
+<ul>
+
+<li><b><a href="ezyfit_install.html">Installation</a></b><br>
+Installation procedure for the toolbox and the EzyFit menu<br><br></li>
+
+<li><b><a href="../demo/html/efdemo.html">Example Session</a></b><br>
+Discover EzyFit<br><br></li>
+
+<li><b><a href="ezyfit_settings.html">Settings</a></b><br>
+Specify options for fit displays, equation styles, legends...<br><br></li>
+
+<li><b><a href="ezyfit_uninstall.html">EzyFit Uninstallation</a></b><br>
+Uninstall the EzyFit toolbox, or only the EzyFit Menu<br></li>
+        
+</ul>
+
+<hr>
+
+<ul>
+    <li><b><a href="ezyfit_thanks.html">Acknowledgements</a></b></li>    
+    <li><b><a href="http://www.fast.u-psud.fr/ezyfit">EzyFit Home Page</a></b></li>
+</ul>
+
+<hr>
+
+This toolbox is covered by the <a href="../license.txt">BSD License</a>.<br>
+Copyright (c) 2012, Fr&eacute;d&eacute;ric Moisy. All rights reserved.<br>
+<br>
+Laboratoire FAST.<br>
+University Paris Sud, University Pierre et Marie Curie, CNRS.<br>
+91405 Orsay Cedex, France.<br>
+<a href="mailto:moisy@fast.u-psud.fr">moisy@fast.u-psud.fr</a><br>
+
+</td>
+</tr>
+</table>
+
+</body>
+
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_faq.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_faq.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_faq.html	(revision 17)
@@ -0,0 +1,304 @@
+<html><head><title>EzyFit Frequently Asked Questions</title>
+
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<!-- NAVBARTOP -->
+<table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+<td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Frequently Asked Questions</b></td>
+</tr>
+</table>
+
+
+<h1>EzyFit Frequently Asked Questions</h1>
+<hr>
+
+<br>
+
+If you have a question which is not answered here, or a suggestion on how
+you would improve this section, please feel free to send an e-mail to
+the author, <a href="mailto:moisy@fast.u-psud.fr">moisy@fast.u-psud.fr</a>.
+
+<br>
+
+<br>
+
+<ol>
+<li><a href="#a1">Why using EzyFit instead of the standard Matlab's "Basic Fitting" tool?</a></li>
+<li><a href="#a2">Why using EzyFit instead of MathWorks' "Curve Fitting Toolbox"?</a></li>
+<li><a href="#a3">I have two curves in my figure, and I want to fit only the second one!</a></li>
+<li><a href="#a4">Why is there no EzyFit menu in my figure?</a></li>
+<li><a href="#a5">Can I change the fit color, width, etc.?</a></li>
+<li><a href="#a6">I want to fit only part of my data!</a></li>
+<li><a href="#a7">I want the fitted parameters of my data, but whithout drawing the curve!</a></li>
+<li><a href="#a8">How to change the default color/style of the fits?</a></li>
+<li><a href="#a9">What are the "initial guesses"?</a></li>
+<li><a href="#a10">What means "(lin)" or "(log)" in the equation box?</a></li>
+<li><a href="#a11">Can I extrapolate the fitted curve further than my data range?</a></li>
+<li><a href="#a12">Where are stored the values of the fitted parameters?</a></li>
+<li><a href="#a13">Can I save a fit equation?</a></li>
+<li><a href="#a14">Can I save my own settings configuration?</a></li>
+<li><a href="#a15">How does EzyFit work?</a></li>
+<li><a href="#a16">Why do I obtain the error 'Maximum number of function evaluations has been exceeded'?</a></li>
+<li><a href="#a17">How to uninstall the Ezyfit toolbox?</a></li>
+<li><a href="#a18">Why can't I open a figure saved with the Ezyfit menu?</a></li>
+
+</ol>
+
+<br>
+
+<hr>
+
+ 
+<ol>
+
+<li><b><a name="a1"></a>Why using EzyFit instead of the standard Matlab's "Basic Fitting" tool?</b><br><br>
+
+Well, the "Basic Fitting" looks nice, but it only fits polynomials!<br>
+<br></li>
+
+
+<li><b><a name="a2"></a>Why using EzyFit instead of MathWorks' "Curve Fitting Toolbox"?</b><br><br>
+
+MathWorks' "Curve Fitting Toolbox" does much more than EzyFit. But EzyFit is
+simpler (you can make it work in 1 minute), and it is free.
+For most usual problems, EzyFit will surely do the job.<br>
+
+<br></li>
+
+
+
+<li><b><a name="a3"></a>I have two curves in my figure, and I want to fit only the second one!</b><br><br>
+
+First select the curve you want to fit using the pointer (mouse), and then fit it.<br>
+<br></li>
+
+
+
+
+<li><b><a name="a4"></a>Why is there no EzyFit menu in my figure?</b><br><br>
+
+Type <tt><a href="efmenu.html">efmenu</a></tt> to have the EzyFit menu in your
+current and all subsequent figures. You may also type
+<blockquote><pre>efmenu install</pre></blockquote>
+to have the EzyFit menu by default in all your figures (this will automatically
+run <tt>efmenu</tt> at each Matlab restart).<br>
+<br></li>
+
+
+<li><b><a name="a5"></a>Can I change the fit color, width, etc.?</b><br><br>
+
+Yes, the fit properties and display settings (color, width,
+equation box...) can be changed by specifying directly some 'PropertyName/PropertyValue' pairs,
+when calling <tt>showfit</tt>, e.g.
+<blockquote><pre>plotsample power
+showfit('a*x^n; n=-1','fitcolor','red','fitlinestyle','--');
+showfit('a*x^n+c_0; n=-1','fitcolor','black','fitlinestyle','-.');
+legend show
+</pre></blockquote>
+<p><img src="ezyfit_faq_fig6.jpg"></p>
+
+See the <a href="ezyfit_settings.html">Settings page</a> for details.<br>
+
+You may also change the default settings, which are coded in the
+M-file <tt><a href="fitparam.html">fitparam.m</a></tt> (click
+<a href="matlab:edit fitparam">here</a> to open the M-file and follow the
+instructions).<br>
+
+<br></li>
+
+
+<li><b><a name="a6"></a>I want to fit only part of my data!</b><br><br>
+
+If you have Matlab >= 7.6, use the "Data Brushing" tool to select the points
+you want to fit, and then call <tt>ezfit</tt> or <tt>showfit</tt>.<br>
+    
+<br></li>
+
+
+
+
+<li><b><a name="a7"></a>I want to get the fitted parameters of my data, but whithout drawing the curve!</b><br><br>
+
+If your data are <tt>X,Y</tt>, you just obtain the fitted parameters by
+<blockquote><pre>f = ezfit(x,y,'a*ln(x/c)+k');</pre></blockquote>
+See <a href="#a11">this question</a> to see how to get the fitted values
+from <tt>f</tt>.<br>
+<br></li>
+
+
+
+
+<li><b><a name="a8"></a>How to change the default color/style of the fits?</b><br><br>
+
+See the options <tt>fp.fitcolor</tt>, <tt>fp.fitlinestyle</tt> and <tt>fp.fitlinewidth</tt>
+in <tt><a href="fitparam.html">fitparam</a></tt>.<br>
+<br></li>
+
+
+
+
+<li><b><a name="a9"></a>What are the "initial guesses"?</b><br><br>
+
+For nonlinear fits, you should provide initial guesses for the
+parameters of your fits to "help" the solver to converge towards
+the "good" values. The solver (the <tt>fminsearch</tt> function) 
+starts from the initial guesses and then varies the coefficients in an
+attempt to find the best fit.<br>
+
+For example, suppose you have the data
+<blockquote><pre>x=1:10;
+y=[15 14.2 13.6 13.2 12.9 12.7 12.5 12.4 12.4 12.2];
+plot(x,y,'*')</pre></blockquote>
+which you want to fit with an exponential decay,
+<blockquote><pre>showfit('cste+a0*exp(-x/L)');</pre></blockquote>
+You will obtain:
+<p><img src="ezyfit_faq_fig1.jpg"></p>
+which obvisouly is bad. By default, <tt>showfit</tt> has used
+<tt>cste=1</tt>, <tt>a0=1</tt> and <tt>L=1</tt>, which is too far away
+from the 'true' coefficients. To specify the intial guess:
+<blockquote><pre>showfit('cste+a0*exp(-x/L); cste=10');</pre></blockquote>
+you now obtain:
+<p><img src="ezyfit_faq_fig2.jpg"></p>
+which is clearly much better. In this example, the initial guesses for <tt>a0</tt>
+and <tt>L</tt>, which are omitted, are 1.<br>
+You may also specify the initial guesses like this:
+<blockquote><pre>showfit('cste+a0*exp(-x/L)',[10 1 1]);</pre></blockquote>
+In this case, you should specify ALL the initial guesses, in the alphabetical
+order of the parameter names (here <tt>L</tt>, <tt>a0</tt> and <tt>cste</tt> because 
+<tt>L</tt> is a capital letter).<br>
+<br></li>
+
+
+<li><b><a name="a10"></a>What means "(lin)" or "(log)" in the equation box?</b><br><br>
+
+It indicates whether the data itself, say <tt>Y</tt>, or its logarithm, <tt>LOG(Y)</tt>,
+has been fitted. By default the mean square procedure is applied to <tt>Y</tt> if the Y-axis of the current
+figure is linear, and
+it is applied <tt>LOG(Y)</tt> if the Y-axis is logarithmic. For instance, plot a
+power law in log scales,
+<blockquote><pre>plotsample power</pre></blockquote>
+If you try
+<blockquote><pre>showfit('power')</pre></blockquote>
+the logarithm of the data is fitted. If you turn the Y-axis in linear scale
+(you may use <tt>swy</tt> for this) and fit again, you will obtain different values.<br>
+
+You may also force <tt>ezfit</tt> to fit <tt>Y</tt> or <tt>LOG(Y)</tt> whatever
+the Y-axis, by specifying the optional argument
+<blockquote><pre>showfit('power;log','fitcolor','blue');
+showfit('power;lin','fitcolor','red');</pre></blockquote>
+See the example:
+<p><img src="ezyfit_faq_fig3.jpg"></p>
+In this example, the fit with option <tt>log</tt> (blue line) "works better"
+when displayed with a logarithmic Y-axis.<br>
+<br></li>
+
+
+<li><b><a name="a11"></a>Can I extrapolate the fitted curve further than my data range?</b><br><br>
+
+Yes, see the option <tt>fp.extrapol</tt> in <tt><a href="fitparam.html">fitparam</a></tt>.<br>
+<br></li>
+
+
+<li><b><a name="a12"></a>Where are stored the values of the fitted parameters?</b><br><br>
+
+Fit your data using
+<blockquote><pre>f = ezfit('a*x+b');</pre></blockquote>
+The structure <tt>f</tt> contains all the informations about your fit. The
+strings 'a' and 'b' of the parameter names are stored in <tt>f.param</tt>
+and their values are in <tt>f.m</tt>. This works also with <tt>showfit</tt>.<br>
+
+You may also directly create in the current workspace a set of variables which
+contain the values of the fitted parameters:
+<blockquote><pre>makevarfit(f);</pre></blockquote>
+This will create two variables, 'a' and 'b'. You can also set the option
+'automakevarfit = on' in <a href="fitparam.html">fitparam</a>: This will
+call <tt>makevarfit</tt> each time <tt>ezfit</tt> (or <tt>showfit</tt>) is executed.<br>
+<br></li>
+
+
+
+
+<li><b><a name="a13"></a>Can I save a fit equation?</b><br><br>
+
+Yes. First, you may define your favorite fit equation as a user-defined fit,
+by typing
+<blockquote><pre>editfit(3,'myspectrum','E(k) = C*k^(-n);  C=0.1; n=2; log');</pre></blockquote>
+This will update the file <tt>'userfit.mat'</tt> in the EzyFit directory, so
+your fit equation may be re-used in a future session. You can now fit your
+data using this user-defined fit,
+<blockquote><pre>showfit('myspectrum');</pre></blockquote>
+Since a fit equation is a simple string, another way is to create a variable,
+<blockquote><pre>myfit = 'E(k) = C*k^(-n);  C=0.1; n=2; log';</pre></blockquote>
+and to save it in a Mat-file,
+<blockquote><pre>save('myfits.mat','myfit');</pre></blockquote>
+To fit your data with this fit definition, just type
+<blockquote><pre>showfit(myfit);</pre></blockquote>
+<br></li>
+
+<br>
+
+<li><b><a name="a14"></a>Can I save my own settings configuration?</b><br><br>
+
+Yes. The default settings (color, width, equation box etc.) are coded
+in the file <tt>fitparam.m</tt>. So you may create a copy of this file
+with your own settings, and you just have to rename the settings file
+you want to use <tt>fitparam.m</tt>.
+<br></li>
+
+<br>
+
+
+<li><b><a name="a15"></a>How does EzyFit work?</b><br><br>
+
+
+The core function of the EzyFit toolbox is <tt>ezfit</tt>, which
+is based on Matlab's built-in FMINSEARCH function (Nelder-Mead
+method). FMINSEARCH performs an unconstrained nonlinear minimization of
+the SSR (sum of squared residuals) with respect to the various parameters.
+The additional function <tt>showfit</tt>
+simply calls <tt>ezfit</tt> with graphical output.<br></li>
+
+
+<br>
+
+<li><b><a name="a16"></a>Why do I obtain the error 'Maximum number of function evaluations has been exceeded'?</b><br><br>
+
+This error means that FMINSEARCH could not converge towards a solution in a
+reasonable number of
+iterations. There is no way for the moment to change this number
+of iterations in EzyFit. Try to use initial guesses closer to
+the expected values.<br></li>
+<br>
+
+<li><b><a name="a17"></a>How to uninstall the Ezyfit toolbox?</b><br><br>
+
+See the uninstallation procedure <a href="ezyfit_uninstall.html">here<a/>.<br></li>
+
+
+
+<br>
+
+<li><b><a name="a18"></a>Why can't I open a figure saved with the Ezyfit menu?</b><br><br>
+
+If the Ezyfit toolbox has been installed using <tt>efmenu</tt>,
+all saved figures (</tt>.fig</tt> files) and GUIs created using GUIDE have
+the Ezyfit menu included (sometimes several occurence of the Ezyfit menu).
+If you try to open the figure or GUI under a Matlab system without the Ezyfit
+toolbox, the error <tt>??? Error using ==> struct2handle
+Undefined function or variable 'efmenu'</tt> is issued.
+Use the function <tt><a href="remove_efmenu_fig.html">remove_efmenu_fig</a></tt>
+(introduced in Version 2.40) in order to remove the menu.
+If you want to uninstall the Ezyfit toolbox, or only the Ezyfit menus,
+see <a href="ezyfit_uninstall.html">here</a>.<br></li>
+
+
+</ol>
+
+<br>
+
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_func_alpha.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_func_alpha.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_func_alpha.html	(revision 17)
@@ -0,0 +1,64 @@
+<html><head><title>Functions -- Alphabetical List (EzyFit Functions)</title>
+
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<!-- NAVBARTOP -->
+<table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+<td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td>
+</tr>
+</table>
+
+
+<h1>Functions -- Alphabetical List</h1>
+<hr>
+
+<br>
+
+<a href="about_ef.html">about_ef</a><br>
+<a href="axis0.html">axis0</a><br>
+<a href="axisc.html">axisc</a><br>
+<a href="axisl.html">axisl</a><br>
+<a href="checkupdate_ef.html">checkupdate_ef</a><br>
+<a href="dfig.html">dfig</a><br>
+<a href="dispeqfit.html">dispeqfit</a><br>
+<a href="editcoeff.html">editcoeff</a><br>
+<a href="editfit.html">editfit</a><br>
+<a href="efmenu.html">efmenu</a><br>
+<a href="eq2ml.html">eq2ml</a><br>
+<a href="evalfit.html">evalfit</a><br>
+<a href="ezfft.html">ezfft</a><br>
+<a href="ezfit.html">ezfit</a><br>
+<a href="fitparam.html">fitparam</a><br>
+<a href="getslope.html">getslope</a><br>
+<a href="getlineinfo.html">getlineinfo</a><br>
+<a href="gridc.html">gridc</a><br>
+<a href="linx.html">linx</a><br>
+<a href="liny.html">liny</a><br>
+<a href="loadfit.html">loadfit</a><br>
+<a href="loglogpn.html">loglogpn</a><br>
+<a href="logx.html">logx</a><br>
+<a href="logy.html">logy</a><br>
+<a href="makevarfit.html">makevarfit</a><br>
+<a href="myginput.html">myginput</a><br>
+<a href="pickdata.html">pickdata</a><br>
+<a href="plotsample.html">plotsample</a><br>
+<a href="rmfit.html">rmfit</a><br>
+<a href="remove_efmenu_fig.html">remove_efmenu_fig</a><br>
+<a href="semilogypn.html">semilogypn</a><br>
+<a href="showeqbox.html">showeqbox</a><br>
+<a href="showfit.html">showfit</a><br>
+<a href="showresidual.html">showresidual</a><br>
+<a href="showslope.html">showslope</a><br>
+<a href="sw.html">sw</a><br>
+<a href="swx.html">swx</a><br>
+<a href="swy.html">swy</a><br>
+<a href="undofit.html">undofit</a><br>
+
+<br>
+
+        <br>
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_func_cat.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_func_cat.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_func_cat.html	(revision 17)
@@ -0,0 +1,73 @@
+<html><head><title>Functions -- By Category (EzyFit Functions)</title>
+
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<!-- NAVBARTOP -->
+<table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+<td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td>
+</tr>
+</table>
+
+
+<h1>Functions -- By Category</h1>
+<hr>
+<code><pre>
+
+Curve Fitting 
+  <a href="ezfit.html">ezfit</a>          - fit data with arbitrary fitting function 
+  <a href="showfit.html">showfit</a>        - fit the active curve and display it 
+  <a href="efmenu.html">efmenu</a>         - Ezyfit menu 
+  <a href="plotsample.html">plotsample</a>     - Display a sample plot 
+  <a href="undofit.html">undofit</a>        - Remove the last fit 
+  <a href="rmfit.html">rmfit</a>          - Remove fits 
+  <a href="fitparam.html">fitparam</a>       - Global settings for the EzyFit toolbox 
+   
+Curve fitting "by eye" 
+  <a href="getslope.html">getslope</a>       - Get the slope of the current line 
+  <a href="showslope.html">showslope</a>      - Draw a line with fixed slope 
+ 
+Curve Fitting Tools 
+  <a href="editcoeff.html">editcoeff</a>      - Edit the coefficients of a fit 
+  <a href="makevarfit.html">makevarfit</a>     - Create variables from the parameters of a fit 
+  <a href="evalfit.html">evalfit</a>        - Evaluate a fit 
+  <a href="showresidual.html">showresidual</a>   - Show fit residual 
+  <a href="editfit.html">editfit</a>        - Edit a user-defined fit 
+  <a href="loadfit.html">loadfit</a>        - load the predefined and the user-defined fits 
+  <a href="dispeqfit.html">dispeqfit</a>      - Displays the fit equation in the command window 
+  <a href="showeqbox.html">showeqbox</a>      - Displays the fit equation box in the figure 
+ 
+Miscellaneous 
+  <a href="remove_efmenu_fig.html">remove_efmenu_fig</a> - Remove the Ezyfit menu from figure files
+  <a href="ezfft.html">ezfft</a>          - Power spectrum (FFT)
+  <a href="pickdata.html">pickdata</a>       - Pick data from the active curve 
+  <a href="getlineinfo.html">getlineinfo</a>    - Get information (length, angle) of a segment
+  <a href="myginput.html">myginput</a>       - Graphical input from mouse 
+  <a href="about_ef.html">about_ef</a>       - display the "About" information of the EzyFit toolbox
+  <a href="checkupdate_ef.html">checkupdate_ef</a> - check for update of the EzyFit toolbox
+ 
+Quick change of the axis scales 
+  <a href="linx.html">linx</a>           - Turn the X axis to LIN 
+  <a href="liny.html">liny</a>           - Turn the Y axis to LIN 
+  <a href="logx.html">logx</a>           - Turn the X axis to LOG 
+  <a href="logy.html">logy</a>           - Turn the Y axis to LOG 
+  <a href="swx.html">swx</a>            - LIN&lt;-&gt;LOG swap of the X axis 
+  <a href="swy.html">swy</a>            - LIN&lt;-&gt;LOG swap of the Y axis 
+
+Some useful plot tools  
+  <a href="dfig.html">dfig</a>           - Create docked figure window
+  <a href="gridc.html">gridc</a>          - Centered cross grid 
+  <a href="axisc.html">axisc</a>          - Centered axis
+  <a href="axis0.html">axis0</a>          - Include origin in the axis
+  <a href="axisl.html">axisl</a>          - Include the nearest power of 10 in the axis of a log plot
+  <a href="loglogpn.html">loglogpn</a>       - Log-log scale plot for positive and negative data
+  <a href="semilogypn.html">semilogypn</a>     - Semilogarithmic  plot for positive and negative data
+</pre></code>
+
+        <br>
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+
+</body>
+</html>
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_gettingstarted.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_gettingstarted.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_gettingstarted.html	(revision 17)
@@ -0,0 +1,123 @@
+<html><head><title>EzyFit Getting Started</title>
+
+    <link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+    <body bgcolor=#ffffff>
+        <!-- NAVBARTOP -->
+        <table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+            <td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Getting Started</b></td>
+        </tr>
+        </table>
+
+
+        <h1>EzyFit Getting Started</h1>
+        <hr>
+
+        <br>
+
+        <p>The EzyFit toolbox for Matlab enables you to perform simple curve fitting
+        of one-dimensional data using arbitrary fitting functions. It provides
+        command-line functions and a basic graphical user interface for interactive
+        selection of the data.</p>
+
+        <br>
+
+        <h2>Why using EzyFit?</h2>
+    
+        <p>There are three ways to perform curve fitting with Matlab: the first
+        one is using the 'Basic Fitting Interface' of Matlab, the second one is using
+        <tt>fminsearch</tt> with anonymous functions, and the third one
+        is to pay for the
+        <a href="matlab:web http://www.mathworks.com/products/curvefitting/ -browser">Curve Fitting Toolbox</a>.
+        However, for usual curve fitting of 1D data, you may find the first solution
+        rather limited, the second one a little complicated, and the third one quite
+        expensive...</p>
+
+        <p>The EzyFit Toolbox provides a free, simple and efficient way to
+        perform quick curve fitting with arbitrary (nonlinear) fitting functions:
+        You just have to type something like <tt>showfit('c+a/x^n')</tt> and EzyFit gives
+        you the values for <tt>c</tt>, <tt>a</tt> and <tt>n</tt> and shows you the
+        curve! EzyFit also provides a basic graphical user interface
+        to interactively fit selected parts of your data.</p>
+
+        <br>
+
+        <h2>First step: fitting data from the EzyFit menu</h2>
+
+        <p>First plot some sample data by typing 
+        <tt><a href="plotsample.html">plotsample</a></tt>
+        in the command window (or simply click <a href="matlab:plotsample">here</a>
+        to display the sample figure).</p>
+
+        <p>In the <tt>EzyFit</tt> menu of the figure window, select <tt>Showfit</tt>
+        and
+        choose an appropriate fitting function to fit the sample data. You may also click
+        on the link that appears in the command window to choose the default
+        fitting function associated to the sample plot. If the menu is not present in
+        your figure window, type <tt><a href="efmenu.html">efmenu</a></tt>,
+        or see the step 4 in the <a href="ezyfit_install.html">installation procedure</a>.</p>
+
+        <p><img src="ezyfit_efmenu.jpg"></p>
+        
+        <p>Choose <tt>Undo Fit</tt> if you want to remove the fit.</p>
+
+        <p>If multiple curves are present in the figure,
+        first select the one you want to fit, and then choose <tt>Showfit</tt>.</p>
+
+        <p>Two additional functions, <tt><a href="getslope.html">getslope</a></tt> and
+        <tt><a href="showslope.html">showslope</a></tt>, return the slope of the selected
+        line (use the menu
+        <tt>Insert &gt; Line</tt>), or drag a line of fixed slope, for a fit "by eye"
+        of your data.</p>
+
+        <br>
+
+        <h2>Second step: fitting data from the command window</h2>
+    
+        <p>Although fitting your data from the <tt>EzyFit</tt> menu is fast and easy,
+        using the command-line functions is much more powerful, and allows for
+        using different properties for each fit (See the <a href="ezyfit_settings.html">Settings
+        page</a> for details).</p>
+
+        <p>The key function of the toolbox is <tt><a href="ezfit.html">ezfit</a></tt>,
+        which computes the coefficients that fit the data. The function
+        <tt><a href="showfit.html">showfit</a></tt> simply calls the function
+        <tt><a href="ezfit.html">ezfit</a></tt> for the active curve, using the
+        "Data Brushing" tool of Matlab (available since version 7.6).
+        Type <a href="undofit.html">undofit</a> to remove the last fit.</p>
+
+        <p>This example fits some noisy data by a power law <tt>c * x^n</tt> and plots the result:</p>
+
+        <blockquote><pre><tt>
+plotsample power           % a power law
+showfit c*x^n
+        </tt></pre></blockquote>
+
+
+        <p>This example fits an histogram with a Gaussian, and displays the coefficients in
+        the Array Editor:</p>
+
+        <blockquote><pre><tt>
+plotsample hist           % an histogram
+f = ezfit('gauss');       % fits with a Gaussian
+f                         % displays the fit structure
+showfit(f);               % displays the fit
+editcoeff(f);             % opens the Array Editor
+        </tt></pre></blockquote>
+        
+        
+        <h3>More examples?</h3>
+        <p>Have a look to the <a href="../demo/html/efdemo.html">Sample session</a> for more examples.</p>
+        
+        <p>See also the <a href="ezyfit_faq.html">Frequently Asked Questions</a> section and
+        the <a href="ezyfit_func_cat.html">Function by category</a> section to
+        learn more about this toolbox.</p> 
+        <br>
+        
+
+        <br>
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+
+    </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_install.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_install.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_install.html	(revision 17)
@@ -0,0 +1,55 @@
+<html><head><title>EzyFit Installation</title>
+
+    <link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+    <body bgcolor=#ffffff>
+        <!-- NAVBARTOP -->
+        <table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+            <td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Installation</b></td>
+        </tr>
+        </table>
+
+
+        <h1>EzyFit Installation</h1>
+        <hr>
+
+        <br>
+
+        <p>EzyFit needs Matlab 7.0 or higher. It has been
+        tested under 7.0 to 7.14 (R2012a), but mainly under Windows.
+        The command-line functions (e.g. <tt>ezfit</tt>, <tt>showfit</tt>...)
+        work equally well on all systems.
+        However graphical operations (e.g. <tt>getslope</tt>, <tt>showslope</tt>...)
+        may not be fully stable,
+        especially on non-Windows systems.</p>
+
+        <p>1. Download and unzip the EzyFit Toolbox in a directory somewhere in
+        your system. For instance, in a Windows installation,
+        the directory <tt>Documents/MATLAB/toolbox/ezyfit</tt> may be a
+        good location. Do NOT install
+        the toolbox in the Matlab directory itself (<tt>Program Files/Matlab</tt> directory
+        in Windows).
+        If you upgrade from an older version, first empty the previous directory.</p>
+
+        <p>2. From the menu '<tt>File &gt; Set Path</tt>', click on '<tt>Add Folder</tt>' (not <tt>'with subfolders'</tt>)
+        and select the <tt>ezyfit</tt> directory. Click on '<tt>Save</tt>' and '<tt>Close</tt>'.</p>
+
+        <p>3. Restart Matlab. From the <tt>Start</tt> button, select <tt>Toolboxes &gt; EzyFit</tt>
+        to check that the toolbox is correctly recognized by your system.</p>
+
+        <p>4. If you want to always have the Ezyfit menu in your figures, type
+        <tt>efmenu install</tt>. This will create or update your '<tt>startup.m</tt>' file in the
+        main user directory
+        of your Matlab installation.</p>
+        
+        <p>Note: If you upgrade Matlab and you want to use your previous
+        Ezyfit installation, you just have to follow the steps 2-4.</p>
+        
+        <p>See also: <a href="ezyfit_uninstall.html">Ezyfit Uninstallation</a></p>
+
+        <br>
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+
+    </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_knownbugs.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_knownbugs.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_knownbugs.html	(revision 17)
@@ -0,0 +1,74 @@
+<html><head><title>EzyFit Known software problems</title>
+
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<!-- NAVBARTOP -->
+<table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+<td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Known software problems</b></td>
+</tr>
+</table>
+
+
+<h1>EzyFit Known software problems</h1>
+<hr>
+
+<br>
+
+<p>If you find a bug not documented here, first have a look
+to the updated <a href="http://www.fast.u-psud.fr/ezyfit/html/ezyfit_knownbugs.html">EzyFit
+Known software problems</a> page online.
+If it is still undocumented, send an e-mail to
+<a href="mailto:moisy@fast.u-psud.fr">moisy@fast.u-psud.fr</a>.</p><br>
+
+
+<ul>
+
+    
+<li><b>Figures and GUIs created by GUIDE always have the Ezyfit menu included.</b><br>
+
+If the Ezyfit toolbox has been installed using <tt>efmenu</tt>,
+all saved figures (</tt>.fig</tt> files) and GUIs created using GUIDE have
+the Ezyfit menu included (sometimes several occurence of the Ezyfit menu).
+If you try to open the figure or GUI under a Matlab system without the Ezyfit
+toolbox, the error <tt>??? Error using ==> struct2handle
+Undefined function or variable 'efmenu'</tt> is issued.
+Use the function <tt><a href="remove_efmenu_fig.html">remove_efmenu_fig</a></tt>
+(introduced in Version 2.40) in order to remove the menu.
+If you want to uninstall the Ezyfit toolbox, or only the Ezyfit menus,
+see <a href="ezyfit_uninstall.html">here</a>.<br><br></li>
+
+
+<li><b>New user defined fits created from a given window are not automatically
+updated in the EzyFit menu of other window(s).</b><br>
+
+Select the other window(s) and chose <tt>Refresh EzyFit menu</tt> in the menu,
+or type <tt><a href="efmenu.html">efmenu</a></tt> in the Command Window.<br><br></li>
+
+
+<li><b>When loading a fig file which already contains the EzyFit menu, a
+second EzyFit menu is added.</b><br>
+
+Type <tt><a href="efmenu.html">efmenu</a></tt>, this will remove the extra
+menu.<br><br></li>
+
+
+
+<li><b>Sometimes <tt><a href="showslope.html">showslope</a></tt> displays a
+line with a slope slightly different from the required one.</b><br>
+
+This problem originates from the time
+delay between the mouse click and the pointer location inquiry, especially
+when the mouse is moved quickly. Move slowly.<br><br></li>
+
+
+</ul>
+
+<br>
+
+        <br>
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+
+</body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_releasenotes.asv
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_releasenotes.asv	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_releasenotes.asv	(revision 17)
@@ -0,0 +1,351 @@
+<html><head><title>EzyFit Release Notes</title>
+        
+        <link rel=stylesheet href="docstyle1.css" type="text/css">
+    </head>
+    <body bgcolor=#ffffff>
+          <!-- NAVBARTOP -->
+    <table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+                <td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Release Notes</b></td>
+            </tr>
+        </table>
+        
+        
+        <h1>EzyFit Release Notes</h1>
+        <hr>
+        
+        <br>
+        
+        <p>See also the <a href="ezyfit_knownbugs.html">EzyFit known software problems</a> section.</p>
+        
+        <br>
+        <table width="100%" border="0" cellpadding="5">
+            
+            <tr valign="top"><td>V2.41</td><td>2012/07/08</td><td>
+                    
+                    <p><b>New function:</b>
+                    <ul>
+                        <li><tt><a href="getlineinfo.html">getlineinfo</a></tt>:
+                        draws a line using the pointer, and displays the length and
+                        angle of the segment in the figure.
+                    </ul>
+                    
+                    <p><b>Bug fix</b>
+                    <ul>
+                        <li><tt><a href="showfit.html">showfit</a></tt> now recognizes
+                        correctly if the Y-axis is in lin or log coordinates (thanks Jacopo).
+                        <li>Equations containing a comma are now correctly recognized.
+                            This allows to make use of functions like <tt>myfun(x,t)</tt> inside
+                        a fit equation string (thanks Patrick).</li>
+                        <li><tt>showfit 
+                    </li>
+                    </ul>
+                    
+                    <p><b>Compatibility issue</b>:
+                    <ul>
+                        <li>The standard location for the <tt>startup.m</tt> file has changed:
+                            For Windows XP, it was in the <tt>matlabroot</tt> folder
+                            (e.g. <tt>C:\Program Files\MATLAB\</tt>). It is now in the
+                            <tt>userpath</tt> folder (e.g. <tt>C:\Users\Frederic\Documents\MATLAB</tt>).
+                            Accordingly,
+                            <tt><a href="efmenu.html">efmenu</a></tt> now creates or modifies the
+                            <tt>startup.m</tt> file in the <tt>userpath</tt> folder.
+                    </li>
+                    </ul>
+                    
+                    
+            </td></tr>
+            
+            <tr valign="top"><td>V2.40</td><td>2010/07/20</td><td>
+                    <p><b>New function</b>:
+                    
+                    <ul>
+                        <li><tt><a href="remove_efmenu_fig.html">remove_efmenu_fig</a></tt>:
+                            This function removes the Ezyfit menu from figure files (.FIG).
+                            This function allows one to use figure files generated from
+                            a Matlab system with the Ezyfit toolbox on another Matlab system
+                            without the Ezyfit toolbox. This fixes the issue of the Ezyfit
+                            menu corrupting a figure file which could not be re-opened on a
+                            Matlab system without Ezyfit installed. Many thanks to
+                            Francis Burton and Nicholas Sinclair, who fixed
+                        the issue in the Matlab Central Newsgroup.</li>
+                    </ul>
+                    
+                    <p><b>Minor changes</b>:
+                    <ul>
+                        <li>The equation box is now displayed using the same font and
+                            font size than the figure axes, with a truncation (see the <a href="ezyfit_settings.html">Settings
+                        page</a> to change the tunctation length).</li>
+                    </ul>
+                    
+                    <p><b>Compatibility issue</b>:
+                    <ul>
+                        <li><tt>selecfit</tt> is removed from the toolbox. Use <tt><a href="showfit.html">showfit</a></tt>
+                            instead, with the "Data Brushing" tool (available for Matlab >= 7.6). See the release notes of V2.30
+                        for details.</li>
+                        <li><tt>selectdata</tt> and <tt>delselectdata</tt> are also removed.</li>
+                    </ul>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.30</td><td>2009/02/06</td><td>
+                    <p><b>Major changes</b>:
+                    
+                    <ul>
+                        <li><tt><a href="ezfit.html">ezfit</a></tt> and <tt><a href="showfit.html">showfit</a></tt> now support the new "Data Brushing" mode
+                            of Matlab >= 7.6 (R2008a). When some data are "brushed" (i.e. when they have been
+                            selected using the "Data brushing" tool), only those data are fitted by 
+                            <tt>ezfit</tt> and <tt>showfit</tt>. If you use an older version of Matlab
+                            (version <=7.5, R2007b), this feature is not implemented, and all the
+                        curve is selected.</li>
+                        
+                        <li>Using <tt>showfit</tt> with "Brushed" data is equivalent to 
+                        <tt>selectfit</tt>. However, the combination <tt>showfit</tt>-"Data Brushing"
+                        is more stable, since it relies on the Matlab's built-in Brush mode.
+                        Since <tt>selectfit</tt> suffers from a number of bugs associated to the
+                        lasso selection of data, <tt>selectfit</tt> is not going to be maintained
+                        any more, and is going to be removed in future versions of EzyFit.
+                    </ul>
+                    
+                    <p><b>New function</b>:
+                    
+                    <ul>
+                        <li><tt><a href="ezfft.html">ezfft</a></tt>: Easy to use FFT
+                        (Power spectrum).</li>
+                    </ul>
+                    
+                    <p><b>New feature</b>:
+                    <ul>
+                        <li>New <a href="ezyfit_uninstall.html">Uninstallation</a> page in the help browser.</li>
+                    </ul>
+                    
+            </td></tr>
+            
+            
+            <tr valign="top"><td>V2.20</td><td>2008/03/08</td><td>
+                    <p><b>Major changes</b>:
+                    <ul>
+                        <li>The <tt>fit</tt> function has been renamed
+                            <tt><a href="ezfit.html">ezfit</a></tt>, in order to avoid name conflicts with the "Curve Fitting
+                        Toolbox" from MathWorks, Inc. The two toolboxes may now be used simultaneously.</li>
+                        
+                        <li>"Magic initial guesses": When using predefined fits (e.g., <tt>showfit exp</tt>,
+                            <tt>showfit power</tt> etc.), or the default fits in the EzyFit menu,
+                            suitable default initial guesses are automatically chosen from the ranges
+                            of data to be fitted. For instance, for a Gaussian fit, the initial guess
+                            for the amplitude is taken as the max of the Y data, instead of 1. This
+                            speeds up the convergence, and helps the solver when the true parameters are
+                            too far from 1. These default values are ignored if other initial guesses
+                        are provided by the user.</li>
+                        
+                        <li>Weighted fits are now accepted for <tt><a href="ezfit.html">ezfit</a></tt>
+                            (not yet for <tt>showfit</tt> and <tt>selectfit</tt>). See the <a href="../demo/html/efdemo.html">Sample session</a>
+                        for an example.</li>
+                        
+                        <li>The functions <tt>drawpolygon</tt> and <tt>selectdata</tt> have been
+                            removed, and replaced with the more stable function <tt><a href="selectdata.html">selectdata</a></tt>
+                            by John D'Errico (see <a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13857&objectType=file">Submission 13857</a>
+                            on the Matlab Central). As a result, a number of bugs of <tt><a href="selectfit.html">selectfit</a></tt> are
+                            now fixed (see below). <tt>delseldata</tt> is now based on the new <tt>selectdata</tt>,
+                        and <tt>keepseldata</tt> has been removed.</li>
+                    </ul>
+                    
+                    <p><b>New features</b>:
+                    <ul>
+                        <li>New <a href="../demo/html/efdemo.html">Sample session</a> page in the help browser.</li>
+                        <li>New predefined fits in the Ezyfit menu (e.g. <tt>'a*x^n+b'</tt>, <tt>'a*(1-exp(-x/b))'</tt>...)</li>
+                        <li>New item <tt>Refresh EzyFit menu</tt> in the menu, to update the user-defined fits
+                        of a figure window when they have been changed from another figure window.</li>
+                        <li><tt><a href="axis0.html">axis0</a></tt> includes the origin in the axis.</li>
+                        <li><tt><a href="axisl.html">axisl</a></tt> enlarges the axis of a log plot to include the nearest power of 10.</li>
+                        <li><tt><a href="loglogpn.html">loglogpn</a></tt> and <tt><a href="semilogypn.html">semilogypn</a></tt>: logarithmic plots for positive and negative Y data.</li>
+                        <li><tt><a href="dfig.html">dfig</a></tt> creates a docked figure window.</li>
+                        <li>New options <tt>figure</tt> and <tt>command</tt> for <tt><a href="getslope.html">getslope</a></tt>.</li>
+                    </ul>
+                    
+                    <p><b>Bug fixes</b>:
+                    <ul>
+                        <li><tt><a href="selectfit.html">selectfit</a></tt> now works correctly on docked figure windows, or when legends are present.
+                        However still buggy in some situations.</li>
+                        <li><tt><a href="getslope.html">getslope</a></tt> now works correctly for Matlab >=7.4, and
+                        works correctly when a legend is present.</li>
+                        <li><tt><a href="showslope.html">showslope</a></tt> now issues an error message when used with docked windows (to be improved). Undock your window first.</li>
+                        <li><tt><a href="showeqbox.html">showeqbox</a></tt> issued an error when 2nd parameter was not given.</li>
+                        <li>Help from the 'Start' button now works correctly for Matlab >= 7.4.</li>
+                    </ul>
+                    
+                    <p><b>Minor changes</b>:
+                    <ul>
+                        <li>The shortcut <tt>Ctrl-Z</tt> (Undo Fit) has been removed, because of a conflict with
+                        Matlab's Undo operation.</li>
+                    </ul>
+                    
+                    <p><b>Compatibility issue</b>:
+                        Since Matlab 7.4 (R2007a), the behavior of the command <tt>doc</tt> has changed:
+                        the command <tt>doc ezyfit</tt> does not display
+                        the Ezyfit toolbox start page in the help browser any more. If you use Matlab >=7.4,
+                        type <tt><a href="docezyfit.html">docezyfit</a></tt> to display the start page.
+                        Type <tt>docezyfit function_name</tt> or <tt>showdemo function_name</tt> to display the
+                        html documention of <tt>function_name</tt> in the help browser. If you use
+                        Matlab 7.3 or before, <tt>doc</tt> and <tt>docezyfit</tt> will
+                    produce the same result.</p>
+                    
+            </td></tr>
+            
+            
+            <tr valign="top"><td>V2.10</td><td>2006/10/30</td><td>
+                    <p><b>Major upgrade</b>: Fit properties and display settings can now be passed
+                        to <tt>showfit</tt> and <tt>selectfit</tt>, such as fit colors, linewidth etc.
+                        For example:
+                        <blockquote><tt>showfit('power','fitlinewidth',2,'fitcolor','green')</tt></blockquote>
+                        The default
+                        properties are defined in <tt>fitparam</tt>. See the <a href="ezyfit_settings.html">Settings
+                    page</a> for details.</p>
+                    
+                    <p>New options in <tt>fitparam</tt>: <tt>'selectfitloopmode'</tt> and <tt>'dispeqmode'</tt>;
+                    option <tt>'eqdisplaymode'</tt> renamed <tt>'eqreplacemode'</tt>.</p>
+                    
+                    <p>By default, the polygon procedure in <tt>selectfit</tt> is done once; set
+                        the option <tt>selectfitloopmode</tt> to 'on' to repeat the procedure until
+                    an empty polygon is drawn (as in the previous versions).</p>
+                    
+                    <p><tt>fit</tt> now accepts row and column vectors for x and y.</p>
+                    
+                    <p>Minor bug fixed: <tt>showfit</tt> and <tt>selectfit</tt> now accept a fit structure F
+                    even if the original curve has been deleted.</p>
+                    
+                    <p>Minor bug fixed: when fitting histograms, the X points are now taken at the middle
+                    of the bins.</p>
+            </td></tr>
+            
+            
+            <tr valign="top"><td>V2.04</td><td>2006/09/07</td><td>
+                    <p>New <a href="ezyfit_faq.html">Frequently Asked Questions</a> section.</p>
+                    <p>Bug fixed: <tt>Selectfit</tt> now works when a legend box is present.</p>
+                    <p>New options in <tt>fitparam</tt>: <tt>automakevarfit</tt> and <tt>whichpickdata</tt>.</p>
+                    <p><tt>fit</tt>, <tt>showfit</tt> and <tt>selectfit</tt> now also accept
+                        '!' and '$' instead of ';' to separate the list of options in the string FUN:
+                    this allows to use the syntax <tt>showfit power!log</tt> instead of <tt>showfit('power;log')</tt>.</p>
+                    <p>Minor bug fixed: showfit and selectfit
+                    now accept a fit structure F even if the original curve has been deleted.</p>
+                    <p>New options in the item '<tt>plotsample</tt>' of the Ezyfit menu.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.03</td><td>2006/04/12</td><td>
+                    <p>The 'EasyFit' toolbox has been renamed 'EzyFit',
+                    in order to avoid confusion with other products.</p>
+                    <p>No change with EasyFit V2.02.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.02</td><td>2006/03/09</td><td>
+                    <p>Minor bugs fixed (the menus disappeared 
+                    after a second call to <tt>plotsample</tt>; polynomial fits with unspecified orders was bugged).</p>
+                    <p>'<tt>efmenu install</tt>' improved.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.01</td><td>2006/02/27</td><td>
+                    <p><b>Major upgrade</b>: Left-hand side
+                        now accepted for the fitting equation:
+                        <blockquote><tt>fit('e(k)=c/k^n')</tt></blockquote>
+                        specifies that '<tt>k</tt>' stands for the X-Data. If not
+                    specified, '<tt>x</tt>' is taken by default.</p>
+                    <p>The fitting equation is now case sensitive ('x' and 'X' are different).</p>
+                    <p>New functions <tt>evalfit</tt>, <tt>makevarfit</tt> and <tt>showresidual</tt>.</p>
+                    <p>Bug fixed: Matlab's standard legends are now correctly supported.</p>
+                    <p>Capital greek letters, and greek letters as subscripts, are now correctly
+                    interpreted in the equation boxes.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.00</td><td>2006/02/10</td><td>
+                    <p><b>Major change</b>: free parameter names may now be used
+                        with <tt>fit</tt>, <tt>showfit</tt> and <tt>selectfit</tt>,
+                        e.g., <tt>fit('a0+cste/x^n')</tt>, instead of fixed parameter names
+                        <tt>m1</tt>, <tt>m2</tt>, <tt>m3</tt>... The parameter names
+                    are automatically recognized.</p>
+                    <p>New fit structure <tt>F</tt>.</p>
+                    <p>New mat-files for predefined fits and user-defined fits.</p>
+                    <p>New functions <tt>loadfit</tt>, <tt>editcoeff</tt>, <tt>showeqbox</tt>, <tt>dispeqfit</tt>.</p>
+                    <p>Greek letters (lower case) are interpreted in the equation boxes (latex syntax).</p>
+                    <p>Additional settings in <tt>fitparam</tt>.</p>
+                    <p>Easyfit menu improved (Edit Fit Coefficients and Swap of the X- and Y- axis).</p>
+                    <p>Better compatibility of the documentation with the Matlab help browser.</p>
+                    <p>Function <tt>getfit</tt> retired (<tt>fit</tt> now does what <tt>getfit</tt> did).</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.24</td><td>2006/01/30</td><td>
+                    <p>Bugs fixed in <tt>selectfit</tt>, <tt>drawpolygon</tt> and <tt>selectdata</tt> (better mouse button inquiries).</p>
+                    <p>Bug fixed in <tt>efmenu</tt> (<tt>selectfit</tt> was wrong).</p>
+                    <p><tt>Showslope</tt> improved.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.23</td><td>2006/01/25</td><td>
+                    <p>User defined fits improved again (no need to type the fit number).</p>
+                    <p>Check when fitting negative data in log mode.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.22</td><td>2006/01/12</td><td>
+                    <p>User defined fits in the Easyfit menu improved.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.21</td><td>2005/12/21</td><td>
+                    <p>Documentation improved. New 'Known bugs' section.</p>
+                    <p>File 'Readme.txt' retired.</p>
+                    <p><tt>selectfit</tt> improved (message boxes).</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.20</td><td>2005/12/15</td><td>
+                    <p>EasyFit menu and dialog boxes included.</p>
+                    <p>Standard items for the toolbox in the Matlab 'Start' menu.</p>
+                    <p>New about, checkupdate.</p>
+                    <p>New home page (www.fast.u-psud.fr/ezyfit).</p>
+                    <p><tt>drawpolygon</tt> improved.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.14</td><td>2005/12/03</td><td>
+                    <p><tt>drawpolygon</tt> improved: interactive properties of the
+                    window suspended during the drawing.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.13</td><td>2005/11/25</td><td>
+                    <p>Bug fixed in <tt>myginput</tt> for Matlab >=7.0.0.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.12</td><td>2005/11/03</td><td>
+                    <p>New parameter file '<tt>paramfit.m</tt>'.</p>
+                    <p>New <tt>drawpolygon</tt>, and <tt>selectdata</tt> improved.</p>
+                    <p><tt>getslope</tt> and <tt>showslope</tt> improved.</p>
+                    <p>Now displays equations in Kaleidagraph or ABC mode.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.11</td><td>2005/10/31</td><td>
+                    <p><tt>fit</tt> now computes the Pearson's correlation coefficient R.</p>
+                    <p>n-th order polynomial fits added.</p>
+                    <p>Initial guess may be defined within the fitting function string (as in Kaleidagraph).</p>
+                    <p>New functions <tt>pickdata</tt>, <tt>undofit</tt>, <tt>rmfit</tt>, <tt>swx</tt>...</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.10</td><td>2005/10/18</td><td>
+                    <p>Bug fixed for <tt>showfit</tt>.</p>
+                    <p>New function <tt>selectfit</tt>, to select data by mouse in a polygon.</p>
+                    <p>New function <tt>plotsample</tt>.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.05</td><td>2005/10/07</td><td>
+                    <p>New predefined fits (gaussian fits).</p>
+                    <p><tt>showfit</tt> now displays the equation in the plot.</p>
+                    <p>New file 'readme.txt'.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>v1.04</td><td>2005/07/27</td><td>
+            </td></tr>
+            
+            <tr valign="top"><td>v1.00</td><td>2005/05/20</td><td>
+                    <p>First version. Originally called 'EasyFit toolbox'.</p>
+            </td></tr>
+            
+        </table> 
+        <br>
+        
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+        
+    </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_releasenotes.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_releasenotes.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_releasenotes.html	(revision 17)
@@ -0,0 +1,353 @@
+<html><head><title>EzyFit Release Notes</title>
+        
+        <link rel=stylesheet href="docstyle1.css" type="text/css">
+    </head>
+    <body bgcolor=#ffffff>
+          <!-- NAVBARTOP -->
+    <table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+                <td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Release Notes</b></td>
+            </tr>
+        </table>
+        
+        
+        <h1>EzyFit Release Notes</h1>
+        <hr>
+        
+        <br>
+        
+        <p>See also the <a href="ezyfit_knownbugs.html">EzyFit known software problems</a> section.</p>
+        
+        <br>
+        <table width="100%" border="0" cellpadding="5">
+            
+            <tr valign="top"><td>V2.41c</td><td>2012/07/08</td><td>
+                    
+                    <p><b>New function:</b>
+                    <ul>
+                        <li><tt><a href="getlineinfo.html">getlineinfo</a></tt>:
+                        draws a line using the pointer, and displays the length and
+                        angle of the segment in the figure.
+                    </ul>
+                    
+                    <p><b>Bug fixes</b>
+                    <ul>
+                        <li><tt><a href="showfit.html">showfit</a></tt> now recognizes
+                        correctly if the Y-axis is in lin or log coordinates (thanks Jacopo).
+                        <li><tt><a href="showfit.html">showfit</a></tt> now conserves the 'hold on / off' state of the figure (thanks
+                        Alec).
+                        <li>Equations containing a comma are now correctly recognized.
+                            This allows to make use of functions like <tt>myfun(x,t)</tt> inside
+                        a fit equation string (thanks Patrick).</li>
+                        <li>Installation of the Ezyfit menu now works properly under MacOS (thanks J. Bagrow).</li>
+                    </li>
+                    </ul>
+                    
+                    <p><b>Compatibility issue</b>:
+                    <ul>
+                        <li>The standard location for the <tt>startup.m</tt> file has changed:
+                            For Windows XP, it was in the <tt>matlabroot</tt> folder
+                            (e.g. <tt>C:\Program Files\MATLAB\</tt>). It is now in the
+                            <tt>userpath</tt> folder (e.g. <tt>C:\Users\Frederic\Documents\MATLAB</tt>).
+                            Accordingly,
+                            <tt><a href="efmenu.html">efmenu</a></tt> now creates or modifies the
+                            <tt>startup.m</tt> file in the <tt>userpath</tt> folder.
+                    </li>
+                    </ul>
+                    
+                    
+            </td></tr>
+            
+            <tr valign="top"><td>V2.40</td><td>2010/07/20</td><td>
+                    <p><b>New function</b>:
+                    
+                    <ul>
+                        <li><tt><a href="remove_efmenu_fig.html">remove_efmenu_fig</a></tt>:
+                            This function removes the Ezyfit menu from figure files (.FIG).
+                            This function allows one to use figure files generated from
+                            a Matlab system with the Ezyfit toolbox on another Matlab system
+                            without the Ezyfit toolbox. This fixes the issue of the Ezyfit
+                            menu corrupting a figure file which could not be re-opened on a
+                            Matlab system without Ezyfit installed. Many thanks to
+                            Francis Burton and Nicholas Sinclair, who fixed
+                        the issue in the Matlab Central Newsgroup.</li>
+                    </ul>
+                    
+                    <p><b>Minor changes</b>:
+                    <ul>
+                        <li>The equation box is now displayed using the same font and
+                            font size than the figure axes, with a truncation (see the <a href="ezyfit_settings.html">Settings
+                        page</a> to change the tunctation length).</li>
+                    </ul>
+                    
+                    <p><b>Compatibility issue</b>:
+                    <ul>
+                        <li><tt>selecfit</tt> is removed from the toolbox. Use <tt><a href="showfit.html">showfit</a></tt>
+                            instead, with the "Data Brushing" tool (available for Matlab >= 7.6). See the release notes of V2.30
+                        for details.</li>
+                        <li><tt>selectdata</tt> and <tt>delselectdata</tt> are also removed.</li>
+                    </ul>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.30</td><td>2009/02/06</td><td>
+                    <p><b>Major changes</b>:
+                    
+                    <ul>
+                        <li><tt><a href="ezfit.html">ezfit</a></tt> and <tt><a href="showfit.html">showfit</a></tt> now support the new "Data Brushing" mode
+                            of Matlab >= 7.6 (R2008a). When some data are "brushed" (i.e. when they have been
+                            selected using the "Data brushing" tool), only those data are fitted by 
+                            <tt>ezfit</tt> and <tt>showfit</tt>. If you use an older version of Matlab
+                            (version <=7.5, R2007b), this feature is not implemented, and all the
+                        curve is selected.</li>
+                        
+                        <li>Using <tt>showfit</tt> with "Brushed" data is equivalent to 
+                        <tt>selectfit</tt>. However, the combination <tt>showfit</tt>-"Data Brushing"
+                        is more stable, since it relies on the Matlab's built-in Brush mode.
+                        Since <tt>selectfit</tt> suffers from a number of bugs associated to the
+                        lasso selection of data, <tt>selectfit</tt> is not going to be maintained
+                        any more, and is going to be removed in future versions of EzyFit.
+                    </ul>
+                    
+                    <p><b>New function</b>:
+                    
+                    <ul>
+                        <li><tt><a href="ezfft.html">ezfft</a></tt>: Easy to use FFT
+                        (Power spectrum).</li>
+                    </ul>
+                    
+                    <p><b>New feature</b>:
+                    <ul>
+                        <li>New <a href="ezyfit_uninstall.html">Uninstallation</a> page in the help browser.</li>
+                    </ul>
+                    
+            </td></tr>
+            
+            
+            <tr valign="top"><td>V2.20</td><td>2008/03/08</td><td>
+                    <p><b>Major changes</b>:
+                    <ul>
+                        <li>The <tt>fit</tt> function has been renamed
+                            <tt><a href="ezfit.html">ezfit</a></tt>, in order to avoid name conflicts with the "Curve Fitting
+                        Toolbox" from MathWorks, Inc. The two toolboxes may now be used simultaneously.</li>
+                        
+                        <li>"Magic initial guesses": When using predefined fits (e.g., <tt>showfit exp</tt>,
+                            <tt>showfit power</tt> etc.), or the default fits in the EzyFit menu,
+                            suitable default initial guesses are automatically chosen from the ranges
+                            of data to be fitted. For instance, for a Gaussian fit, the initial guess
+                            for the amplitude is taken as the max of the Y data, instead of 1. This
+                            speeds up the convergence, and helps the solver when the true parameters are
+                            too far from 1. These default values are ignored if other initial guesses
+                        are provided by the user.</li>
+                        
+                        <li>Weighted fits are now accepted for <tt><a href="ezfit.html">ezfit</a></tt>
+                            (not yet for <tt>showfit</tt> and <tt>selectfit</tt>). See the <a href="../demo/html/efdemo.html">Sample session</a>
+                        for an example.</li>
+                        
+                        <li>The functions <tt>drawpolygon</tt> and <tt>selectdata</tt> have been
+                            removed, and replaced with the more stable function <tt><a href="selectdata.html">selectdata</a></tt>
+                            by John D'Errico (see <a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13857&objectType=file">Submission 13857</a>
+                            on the Matlab Central). As a result, a number of bugs of <tt><a href="selectfit.html">selectfit</a></tt> are
+                            now fixed (see below). <tt>delseldata</tt> is now based on the new <tt>selectdata</tt>,
+                        and <tt>keepseldata</tt> has been removed.</li>
+                    </ul>
+                    
+                    <p><b>New features</b>:
+                    <ul>
+                        <li>New <a href="../demo/html/efdemo.html">Sample session</a> page in the help browser.</li>
+                        <li>New predefined fits in the Ezyfit menu (e.g. <tt>'a*x^n+b'</tt>, <tt>'a*(1-exp(-x/b))'</tt>...)</li>
+                        <li>New item <tt>Refresh EzyFit menu</tt> in the menu, to update the user-defined fits
+                        of a figure window when they have been changed from another figure window.</li>
+                        <li><tt><a href="axis0.html">axis0</a></tt> includes the origin in the axis.</li>
+                        <li><tt><a href="axisl.html">axisl</a></tt> enlarges the axis of a log plot to include the nearest power of 10.</li>
+                        <li><tt><a href="loglogpn.html">loglogpn</a></tt> and <tt><a href="semilogypn.html">semilogypn</a></tt>: logarithmic plots for positive and negative Y data.</li>
+                        <li><tt><a href="dfig.html">dfig</a></tt> creates a docked figure window.</li>
+                        <li>New options <tt>figure</tt> and <tt>command</tt> for <tt><a href="getslope.html">getslope</a></tt>.</li>
+                    </ul>
+                    
+                    <p><b>Bug fixes</b>:
+                    <ul>
+                        <li><tt><a href="selectfit.html">selectfit</a></tt> now works correctly on docked figure windows, or when legends are present.
+                        However still buggy in some situations.</li>
+                        <li><tt><a href="getslope.html">getslope</a></tt> now works correctly for Matlab >=7.4, and
+                        works correctly when a legend is present.</li>
+                        <li><tt><a href="showslope.html">showslope</a></tt> now issues an error message when used with docked windows (to be improved). Undock your window first.</li>
+                        <li><tt><a href="showeqbox.html">showeqbox</a></tt> issued an error when 2nd parameter was not given.</li>
+                        <li>Help from the 'Start' button now works correctly for Matlab >= 7.4.</li>
+                    </ul>
+                    
+                    <p><b>Minor changes</b>:
+                    <ul>
+                        <li>The shortcut <tt>Ctrl-Z</tt> (Undo Fit) has been removed, because of a conflict with
+                        Matlab's Undo operation.</li>
+                    </ul>
+                    
+                    <p><b>Compatibility issue</b>:
+                        Since Matlab 7.4 (R2007a), the behavior of the command <tt>doc</tt> has changed:
+                        the command <tt>doc ezyfit</tt> does not display
+                        the Ezyfit toolbox start page in the help browser any more. If you use Matlab >=7.4,
+                        type <tt><a href="docezyfit.html">docezyfit</a></tt> to display the start page.
+                        Type <tt>docezyfit function_name</tt> or <tt>showdemo function_name</tt> to display the
+                        html documention of <tt>function_name</tt> in the help browser. If you use
+                        Matlab 7.3 or before, <tt>doc</tt> and <tt>docezyfit</tt> will
+                    produce the same result.</p>
+                    
+            </td></tr>
+            
+            
+            <tr valign="top"><td>V2.10</td><td>2006/10/30</td><td>
+                    <p><b>Major upgrade</b>: Fit properties and display settings can now be passed
+                        to <tt>showfit</tt> and <tt>selectfit</tt>, such as fit colors, linewidth etc.
+                        For example:
+                        <blockquote><tt>showfit('power','fitlinewidth',2,'fitcolor','green')</tt></blockquote>
+                        The default
+                        properties are defined in <tt>fitparam</tt>. See the <a href="ezyfit_settings.html">Settings
+                    page</a> for details.</p>
+                    
+                    <p>New options in <tt>fitparam</tt>: <tt>'selectfitloopmode'</tt> and <tt>'dispeqmode'</tt>;
+                    option <tt>'eqdisplaymode'</tt> renamed <tt>'eqreplacemode'</tt>.</p>
+                    
+                    <p>By default, the polygon procedure in <tt>selectfit</tt> is done once; set
+                        the option <tt>selectfitloopmode</tt> to 'on' to repeat the procedure until
+                    an empty polygon is drawn (as in the previous versions).</p>
+                    
+                    <p><tt>fit</tt> now accepts row and column vectors for x and y.</p>
+                    
+                    <p>Minor bug fixed: <tt>showfit</tt> and <tt>selectfit</tt> now accept a fit structure F
+                    even if the original curve has been deleted.</p>
+                    
+                    <p>Minor bug fixed: when fitting histograms, the X points are now taken at the middle
+                    of the bins.</p>
+            </td></tr>
+            
+            
+            <tr valign="top"><td>V2.04</td><td>2006/09/07</td><td>
+                    <p>New <a href="ezyfit_faq.html">Frequently Asked Questions</a> section.</p>
+                    <p>Bug fixed: <tt>Selectfit</tt> now works when a legend box is present.</p>
+                    <p>New options in <tt>fitparam</tt>: <tt>automakevarfit</tt> and <tt>whichpickdata</tt>.</p>
+                    <p><tt>fit</tt>, <tt>showfit</tt> and <tt>selectfit</tt> now also accept
+                        '!' and '$' instead of ';' to separate the list of options in the string FUN:
+                    this allows to use the syntax <tt>showfit power!log</tt> instead of <tt>showfit('power;log')</tt>.</p>
+                    <p>Minor bug fixed: showfit and selectfit
+                    now accept a fit structure F even if the original curve has been deleted.</p>
+                    <p>New options in the item '<tt>plotsample</tt>' of the Ezyfit menu.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.03</td><td>2006/04/12</td><td>
+                    <p>The 'EasyFit' toolbox has been renamed 'EzyFit',
+                    in order to avoid confusion with other products.</p>
+                    <p>No change with EasyFit V2.02.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.02</td><td>2006/03/09</td><td>
+                    <p>Minor bugs fixed (the menus disappeared 
+                    after a second call to <tt>plotsample</tt>; polynomial fits with unspecified orders was bugged).</p>
+                    <p>'<tt>efmenu install</tt>' improved.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.01</td><td>2006/02/27</td><td>
+                    <p><b>Major upgrade</b>: Left-hand side
+                        now accepted for the fitting equation:
+                        <blockquote><tt>fit('e(k)=c/k^n')</tt></blockquote>
+                        specifies that '<tt>k</tt>' stands for the X-Data. If not
+                    specified, '<tt>x</tt>' is taken by default.</p>
+                    <p>The fitting equation is now case sensitive ('x' and 'X' are different).</p>
+                    <p>New functions <tt>evalfit</tt>, <tt>makevarfit</tt> and <tt>showresidual</tt>.</p>
+                    <p>Bug fixed: Matlab's standard legends are now correctly supported.</p>
+                    <p>Capital greek letters, and greek letters as subscripts, are now correctly
+                    interpreted in the equation boxes.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V2.00</td><td>2006/02/10</td><td>
+                    <p><b>Major change</b>: free parameter names may now be used
+                        with <tt>fit</tt>, <tt>showfit</tt> and <tt>selectfit</tt>,
+                        e.g., <tt>fit('a0+cste/x^n')</tt>, instead of fixed parameter names
+                        <tt>m1</tt>, <tt>m2</tt>, <tt>m3</tt>... The parameter names
+                    are automatically recognized.</p>
+                    <p>New fit structure <tt>F</tt>.</p>
+                    <p>New mat-files for predefined fits and user-defined fits.</p>
+                    <p>New functions <tt>loadfit</tt>, <tt>editcoeff</tt>, <tt>showeqbox</tt>, <tt>dispeqfit</tt>.</p>
+                    <p>Greek letters (lower case) are interpreted in the equation boxes (latex syntax).</p>
+                    <p>Additional settings in <tt>fitparam</tt>.</p>
+                    <p>Easyfit menu improved (Edit Fit Coefficients and Swap of the X- and Y- axis).</p>
+                    <p>Better compatibility of the documentation with the Matlab help browser.</p>
+                    <p>Function <tt>getfit</tt> retired (<tt>fit</tt> now does what <tt>getfit</tt> did).</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.24</td><td>2006/01/30</td><td>
+                    <p>Bugs fixed in <tt>selectfit</tt>, <tt>drawpolygon</tt> and <tt>selectdata</tt> (better mouse button inquiries).</p>
+                    <p>Bug fixed in <tt>efmenu</tt> (<tt>selectfit</tt> was wrong).</p>
+                    <p><tt>Showslope</tt> improved.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.23</td><td>2006/01/25</td><td>
+                    <p>User defined fits improved again (no need to type the fit number).</p>
+                    <p>Check when fitting negative data in log mode.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.22</td><td>2006/01/12</td><td>
+                    <p>User defined fits in the Easyfit menu improved.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.21</td><td>2005/12/21</td><td>
+                    <p>Documentation improved. New 'Known bugs' section.</p>
+                    <p>File 'Readme.txt' retired.</p>
+                    <p><tt>selectfit</tt> improved (message boxes).</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.20</td><td>2005/12/15</td><td>
+                    <p>EasyFit menu and dialog boxes included.</p>
+                    <p>Standard items for the toolbox in the Matlab 'Start' menu.</p>
+                    <p>New about, checkupdate.</p>
+                    <p>New home page (www.fast.u-psud.fr/ezyfit).</p>
+                    <p><tt>drawpolygon</tt> improved.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.14</td><td>2005/12/03</td><td>
+                    <p><tt>drawpolygon</tt> improved: interactive properties of the
+                    window suspended during the drawing.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.13</td><td>2005/11/25</td><td>
+                    <p>Bug fixed in <tt>myginput</tt> for Matlab >=7.0.0.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.12</td><td>2005/11/03</td><td>
+                    <p>New parameter file '<tt>paramfit.m</tt>'.</p>
+                    <p>New <tt>drawpolygon</tt>, and <tt>selectdata</tt> improved.</p>
+                    <p><tt>getslope</tt> and <tt>showslope</tt> improved.</p>
+                    <p>Now displays equations in Kaleidagraph or ABC mode.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.11</td><td>2005/10/31</td><td>
+                    <p><tt>fit</tt> now computes the Pearson's correlation coefficient R.</p>
+                    <p>n-th order polynomial fits added.</p>
+                    <p>Initial guess may be defined within the fitting function string (as in Kaleidagraph).</p>
+                    <p>New functions <tt>pickdata</tt>, <tt>undofit</tt>, <tt>rmfit</tt>, <tt>swx</tt>...</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.10</td><td>2005/10/18</td><td>
+                    <p>Bug fixed for <tt>showfit</tt>.</p>
+                    <p>New function <tt>selectfit</tt>, to select data by mouse in a polygon.</p>
+                    <p>New function <tt>plotsample</tt>.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>V1.05</td><td>2005/10/07</td><td>
+                    <p>New predefined fits (gaussian fits).</p>
+                    <p><tt>showfit</tt> now displays the equation in the plot.</p>
+                    <p>New file 'readme.txt'.</p>
+            </td></tr>
+            
+            <tr valign="top"><td>v1.04</td><td>2005/07/27</td><td>
+            </td></tr>
+            
+            <tr valign="top"><td>v1.00</td><td>2005/05/20</td><td>
+                    <p>First version. Originally called 'EasyFit toolbox'.</p>
+            </td></tr>
+            
+        </table> 
+        <br>
+        
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+        
+    </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_settings.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_settings.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_settings.html	(revision 17)
@@ -0,0 +1,181 @@
+<html><head><title>EzyFit Settings</title>
+
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<!-- NAVBARTOP -->
+<table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+<td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Settings</b></td>
+</tr>
+</table>
+
+
+<h1>EzyFit Settings</h1>
+<hr>
+
+<br>
+
+<p>A number of fit properties and display settings (color, width,
+equation box...) can be changed either:
+
+<ul>
+    <li>by specifying directly some 'PropertyName/PropertyValue' pairs,
+    when calling <tt><a href="showfit.html">showfit</a></tt>, e.g.
+    <pre><code>showfit('a*x+b','fitcolor','red','fitlinewidth',1);</pre></code></li>
+    
+    <li>by editing the default settings, which are coded in the
+    M-file <tt><a href="fitparam.html">fitparam.m</a></tt> (click
+<a href="matlab:edit fitparam">here</a> to open this M-file and follow the
+instructions).
+</ul>
+
+<p>The actual settings structure can be displayed by simply typing <tt>fitparam</tt>.</p>
+
+<p>This table lists the property names along with the type of values each accepts.
+Curly braces { } enclose default values.</p>
+
+<table Border="2" cellpadding=4 cellspacing=0>
+    <tr>
+        <td><b>Property Name</b></td>
+        <td><b>Property Values</b></td>
+        <td><b>Description</b></td>
+    </tr>
+    <tr>
+        <td>fitcolor</td>
+        <td>[R G B]<br>or <i>integer</i><br>or <i>string</i></td>
+        <td>Color of the fit (type 'doc colorspec' for details):<br>
+- a [R G B] vector specifies a fixed color (eg, [0 0 0] is black).<br>
+- a string specifies one of eight predefined colors (full name: 'red',
+'blue' etc, or single letters, 'r', 'b' etc).<br>
+- a numeric value specifies that the color of the fit has the same color
+as the data, but multiplied by the factor fitcolor (less than 1 for darker,
+larger than 1 for lighter).<br>
+        Default = [1 0.5 0] (orange).</td>
+    </tr>
+    <tr>
+        <td>fitlinewidth</td>
+        <td><i>integer</i></td>
+        <td>Width of the fit line (type 'doc linespec' for details). Default = 2.</td>
+    </tr>
+    <tr>
+        <td>fitlinestyle</td>
+        <td><i>string</i></td>
+        <td>Style of the fit line (type 'doc linespec' for details). Default = '-'.</td>
+    </tr>
+    <tr>
+        <td>extrapol</td>
+        <td>fig | data | {none}</td>
+        <td>Extrapolation mode ('fig'  = extrapolates the fit to the figure limits;
+'data' = extrapolates the fit to the whole data limits, even if only a selection of the data is fitted (see selectfit);
+'none' = no extrapolation)</td>
+    </tr>
+    <tr>
+        <td>npt</td>
+        <td><i>integer</i></td>
+        <td>Number of X points used to compute and display the fitted curve (typically 20 to 500, default=200)</td>
+    </tr>
+    <tr>
+        <td>dispeqmode</td>
+        <td>{on} | off</td>
+        <td>Display the equation in the command window.</td>
+    </tr>
+  <tr>
+        <td>dispeqboxmode</td>
+        <td>{on} | off</td>
+        <td>Display the equation box in the figure.</td>
+    </tr>
+    <tr>
+        <td>dispfitlegend</td>
+        <td>on | {off}</td>
+        <td>Display the legend (data and fits) in the figure</td>
+    </tr>
+    <tr>
+        <td>eqreplacemode</td>
+        <td>on | {off}</td>
+        <td>Equation replace mode ('off' = keep the parameter names in the equation;
+        'on' = replace each parameter by its numerical value in the equation).</td>
+    </tr>
+         <tr>
+        <td>corrcoefmode</td>
+        <td>{r} | r2 | none</td>
+        <td>Correlation coefficient mode: display R, R^2, or nothing.</td>
+    </tr>
+     <tr>
+        <td>linlogdisp</td>
+        <td>{on} | off</td>
+        <td>Lin/log mode display, tells whether Y or LOG(Y) is fitted.</td>
+    </tr>   
+    <tr>
+        <td>editcoeffmode</td>
+        <td>on | {off}</td>
+        <td>Open the Array Editor with the fit coefficients after showfit.
+See <a href="editcoeff.html">editcoeff</a> for details.</td>
+    </tr>
+    <tr>
+        <td>coeffarray</td>
+        <td>{row} | line</td>
+        <td>Array for the Fit Coefficients: 'row' or 'line' (this option is useful for copy-paste the coefficients in Excel)</td>
+    </tr>
+    <tr>
+        <td>automakevarfit</td>
+        <td>on | {off}</td>
+        <td>Call <a href="makevarfit.html">makevarfit</a> after each fit.
+Setting to 'on' creates on the Matlab workspace the variables associated
+to the fit parameters (the variables will be overwritten if they already exist!).</td>
+    </tr>
+    <tr>
+        <td>maxlengtheq</td>
+        <td><i>integer</i></td>
+        <td>Maximum length of the equation string to be displayed in the equation box (longer strings are truncated).
+Set 'maxlength = inf' for no truncation. Default value = 35. </td>
+    </tr>
+    <tr>
+        <td>boxlocation</td>
+        <td>[x,y,w,h]</td>
+        <td>Location and size of the equation box (in normalized units).
+        Default = [0.15 0.81 0.1 0.1].</td>
+    </tr>
+    <tr>
+        <td>whichpickdata</td>
+        <td>{first} | last</td>
+        <td>Which data to fit by default when several curves are present in the figure
+        and none is selected.</td>
+    </tr>
+    <tr>
+        <td>selectfitloopmode</td>
+        <td>on | {off}</td>
+        <td>Loop mode for <tt>selectfit</tt> ('on' = the polygon procedure is repeated until an empty polygon is drawn, and
+only the last trial is kept;
+'off' = the polygon procedure is done once). Obsolete.</td>
+    </tr>
+    <tr>
+        <td>selectfitmsgbox</td>
+        <td>{on} | off</td>
+        <td>Message box display (instructions for drawing the polygon) in <tt>selectfit</tt>. Obsolete</td>
+    </tr>
+        <tr>
+        <td>markerselectpt</td>
+        <td><i>string</i></td>
+        <td>Markers used during the selection of the data 
+(polygon) with <tt>selectfit</tt> (set to '' if you don't want the selected points to be displayed). Obsolete.</td>
+    </tr>
+    <tr>
+        <td>polynom_coeffname</td>
+        <td><i>string</i></td>
+        <td>Name of the polynom coefficients. Using a '_' (underscore) at the
+end of the coeff name allows for using the coefficient order as a subscript
+(as in latex syntax). Default: 'a_'.</td>
+    </tr>
+    <tr>
+        <td>numberofdigit</td>
+        <td><i>integer</i></td>
+        <td>Number of digits for the coefficient values. Default = 5.</td>
+    </tr>
+</table>
+
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+
+</body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_thanks.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_thanks.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_thanks.html	(revision 17)
@@ -0,0 +1,31 @@
+<html><head><title>PIVMat Acknowledgements</title>
+        
+        <link rel=stylesheet href="docstyle1.css" type="text/css">
+    </head>
+    <body bgcolor=#ffffff>
+          <!-- NAVBARTOP -->
+    <table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+                <td valign=baseline bgcolor="#e7ebf7"><b>PIVMat Acknowledgements</b></td>
+            </tr>
+        </table>
+        
+        
+        <h2>Acknowledgements</h2>
+        <hr>
+        
+        <p>Many thanks to Francis Burton and Nicholas Sinclair, who solved
+        the issue of the corrupted figure files containing the Ezyfit menu.</p>
+        
+        <p>D. Doppler, C. Morize, J. Seiwert, D.J. Bilar, P. Erbach, D. Lueerssen, T. Mitchell, J. Wiley, S. Haddock, L. Kogan,
+        P. Kinnunen, T. Garcia-Nolen, A. de Zegher for suggestions and bug reports (although some are still on my to-do list!)</p>
+        
+        <p>Suggestions and bug fixes from anonymous users of Matlab Central (Patrick, Rene)
+        are also acknowledged.</p>
+        
+        <br>
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+        
+    </body>
+</html>
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_uninstall.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_uninstall.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/ezyfit_uninstall.html	(revision 17)
@@ -0,0 +1,66 @@
+<html><head><title>EzyFit Uninstallation</title>
+
+    <link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+    <body bgcolor=#ffffff>
+        <!-- NAVBARTOP -->
+        <table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
+            <td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Uninstallation</b></td>
+        </tr>
+        </table>
+
+
+        <h1>EzyFit Uninstallation</h1>
+        <hr>
+
+        <br>
+        
+        <h2>Full uninstallation</h2>
+        
+        <p>In order to remove the Ezyfit toolbox from your Matlab installation,
+        follow the 3 steps:</p>
+        
+        <p>1. Edit the <tt>'startup file'</tt> by typing</p>
+        <blockquote><pre><tt>
+edit startup
+        </tt></pre></blockquote>    
+        <p>and remove the following lines</p>
+        <blockquote><pre><tt>
+%   These lines have been added by 'efmenu install' (01-Apr-2008 23:10:11):
+efmenu;   % Includes the EzyFit menu for all new figure.
+fprintf(' To get started with the EzyFit toolbox, select <a href="matlab:docezyfit">EzyFit</a> from the Help browser.\n\n');
+        </tt></pre></blockquote>
+        
+        <p>2. From the menu '<tt>File &gt; Set Path</tt>', select the directory
+        <tt>'../ezyfit'</tt>, and click on 'Remove' and 'Save'.</p>
+        
+        <p>3. Restart Matab.</p>
+        
+        
+        
+        <br>
+        <h2>Uninstallation of the Ezyfit menu only</h2>
+
+        <p>If you wish to uninstall the Ezyfit menu from your figure windows
+        but you still want to use the command-line functions of the Ezyfit
+        toolbox:</p>
+
+        <p>Apply the steps 1 and 3 above.</p>
+
+        <br>
+        <h2>Uninstallation of the Ezyfit menu from saved figure files</h2>
+
+        <p>If you have saved some figure files (.FIG) from a Matlab system
+            with the Ezyfit toolbox, the figure files include the Ezyfit menu.
+            As a consequence, those figure files cannot be opened with a Matlab
+        system without the Ezyfit toolbox.</p>
+        
+        <p>It is possible to remove the Ezyfit menu from a figure file, using
+        the <tt><a href="remove_efmenu_fig.html">remove_efmenu_fig</a></tt> function.</p>
+
+        <br>
+        <table width="100%" border=0 cellspacing=0 bgcolor=d0d0f0><tr><td>&nbsp</td></tr></table><br>
+        2005-2012 <a href="ezyfit.html">EzyFit Toolbox</a><br>
+
+    </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/fitparam.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/fitparam.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/fitparam.html	(revision 17)
@@ -0,0 +1,39 @@
+<html><head><title>fitparam (Ezyfit Toolbox)</title>
+<!-- Help file for fitparam.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="ezfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="getlineinfo.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">fitparam</font><br>
+Default settings for the EzyFit toolbox<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+This M-File contains the default settings for the EzyFit Toolbox, 
+such as the extrapolation mode, fit colors, equation box location etc. 
+See the page 'Settings' in the help browser for the list of available 
+settings. 
+ 
+To change the default settings, edit this file (type: edit <b>fitparam</b>.m) 
+and follow the instructions. You may also choose the item 
+'Default Settings' in the EzyFit menu. 
+ 
+FP = <b>fitparam</b> returns the structure FP containing the settings. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showfit.html">showfit</a>, <a href="ezfit.html">ezfit</a>, <a href="showeqbox.html">showeqbox</a>, <a href="dispeqfit.html">dispeqfit</a>, <a href="pickdata.html">pickdata</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>fitparam</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="ezfit.html"><b>Previous: ezfit</b></a></td><td align=right><a href="getlineinfo.html"><b>Next: getlineinfo</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/getlineinfo.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/getlineinfo.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/getlineinfo.html	(revision 17)
@@ -0,0 +1,39 @@
+<html><head><title>getlineinfo (Ezyfit Toolbox)</title>
+<!-- Help file for getlineinfo.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="fitparam.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="getslope.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">getlineinfo</font><br>
+Get information (length, angle) of a segment<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>getlineinfo</b> draws a line using the pointer, and displays the length and 
+angle of the segment in the figure. The angle is in degrees by default, 
+(zero angle for a horizontal line). 
+ 
+[LEN, ANGLE, DX, DY] = <b>getlineinfo</b> returns the results. 
+ 
+... = <b>getlineinfo</b>(OPT) specifies the angle property: OPT = 'rad', 'deg' 
+or 'slope' (default is 'deg').  OPT = 'angle' shows only the angle. 
+ 
+Note: The Image Processing Toolbox is required. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="getslope.html">getslope</a>, <a href="showslope.html">showslope</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>getlineinfo</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="fitparam.html"><b>Previous: fitparam</b></a></td><td align=right><a href="getslope.html"><b>Next: getslope</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/getslope.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/getslope.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/getslope.html	(revision 17)
@@ -0,0 +1,49 @@
+<html><head><title>getslope (Ezyfit Toolbox)</title>
+<!-- Help file for getslope.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="getlineinfo.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="gridc.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">getslope</font><br>
+Slope of the current line.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>getslope</b> displays the equation of the current line of the figure. Use 
+the menu 'Insert &gt; Line' to draw a line first. <b>getslope</b> allows for 
+rough curve fitting "by eye". You may also use the shortcut Ctrl+G if 
+the Ezyfit menu has been installed (see <a href="efmenu.html">efmenu</a>). 
+ 
+Depending of the axis types, the equation of the line will be: 
+     Y = N*X+A         for X linear and Y linear 
+     Y = A*X^N         for X log and Y log 
+     Y = A*EXP(N*X)    for X linear and Y log 
+     Y = A+N*LOG(X)    for X log and Y linear (LOG = natural logarithm) 
+ 
+<b>getslope</b>('Property1',...) specifies the display mode: 
+     'figure'   output the result in the figure (by default) 
+     'command'  output the result in the command window 
+     'nodisplay'  no output 
+     'slope'    displays only the slope N (by default). 
+     'equation' displays the full equation (e.g., N*X+A) 
+ 
+[N, A] = <b>getslope</b>(...) also returns the parameters N and A of the 
+equation. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showslope.html">showslope</a>, <a href="getlineinfo.html">getlineinfo</a>, <a href="plotsample.html">plotsample</a>, <a href="rmfit.html">rmfit</a>, <a href="efmenu.html">efmenu</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>getslope</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="getlineinfo.html"><b>Previous: getlineinfo</b></a></td><td align=right><a href="gridc.html"><b>Next: gridc</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/gridc.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/gridc.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/gridc.html	(revision 17)
@@ -0,0 +1,31 @@
+<html><head><title>gridc (Ezyfit Toolbox)</title>
+<!-- Help file for gridc.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="getslope.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="linx.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">gridc</font><br>
+Centered cross grid.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>gridc</b> shows central cross axes. 
+<b>gridc</b> X or <b>gridc</b> Y only shows the horizontal or vertical axe. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="axisc.html">axisc</a>, <a href="axis0.html">axis0</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>gridc</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="getslope.html"><b>Previous: getslope</b></a></td><td align=right><a href="linx.html"><b>Next: linx</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/helptoc.asv
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/helptoc.asv	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/helptoc.asv	(revision 17)
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding='ISO-8859-1' ?>
+
+<toc version="1.0">
+
+<tocitem target="ezyfit.html" image="$toolbox/matlab/icons/book_mat.gif">EzyFit Toolbox
+
+<tocitem target="ezyfit_gettingstarted.html" image="HelpIcon.GETTING_STARTED">Getting Started
+</tocitem>
+
+<tocitem target="../demo/html/efdemo.html" image="$toolbox/matlab/icons/demoicon.gif">Examples
+</tocitem>
+
+<tocitem target="ezyfit_faq.html" image="$toolbox/matlab/icons/pagesicon.gif">Frequently Asked Questions
+</tocitem>
+
+<tocitem target="ezyfit_install.html" image="HelpIcon.USER_GUIDE">Installation
+</tocitem>
+
+
+<tocitem target="ezyfit_uninstall.html" image="HelpIcon.USER_GUIDE">Uninstallation
+</tocitem>
+
+<tocitem target="ezyfit_settings.html" image="$toolbox/matlab/icons/pagesicon.gif">Settings
+</tocitem>
+
+<tocitem target="ezyfit_func_cat.html" image="$toolbox/matlab/icons/reficon.gif">Functions -- By Category
+</tocitem>
+
+<tocitem target="ezyfit_func_alpha.html" image="$toolbox/matlab/icons/reficon.gif">Functions -- Alphabetical List
+</tocitem>
+
+<tocitem target="ezyfit_releasenotes.html" image="$toolbox/matlab/icons/notesicon.gif">Release Notes
+</tocitem>
+
+<tocitem target="ezyfit_knownbugs.html" image="$toolbox/matlab/icons/notesicon.gif">Known software problems
+</tocitem>
+
+<tocitem target="http://www.fast.u-psud.fr/ezyfit" image="$toolbox/matlab/icons/webicon.gif">Product Page (Web)
+</tocitem>
+
+</tocitem>
+
+</toc>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/helptoc.xml
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/helptoc.xml	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/helptoc.xml	(revision 17)
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding='ISO-8859-1' ?>
+
+<toc version="1.0">
+
+<tocitem target="ezyfit.html" image="$toolbox/matlab/icons/book_mat.gif">EzyFit Toolbox
+
+<tocitem target="ezyfit_gettingstarted.html" image="HelpIcon.GETTING_STARTED">Getting Started
+</tocitem>
+
+<tocitem target="../demo/html/efdemo.html" image="HelpIcon.EXAMPLES">Examples
+</tocitem>
+
+<tocitem target="ezyfit_faq.html" image="HelpIcon.EXAMPLES">Frequently Asked Questions
+</tocitem>
+
+<tocitem target="ezyfit_install.html" image="HelpIcon.USER_GUIDE">Installation
+</tocitem>
+
+
+<tocitem target="ezyfit_uninstall.html" image="HelpIcon.USER_GUIDE">Uninstallation
+</tocitem>
+
+<tocitem target="ezyfit_settings.html" image="HelpIcon.USER_GUIDE">Settings
+</tocitem>
+
+<tocitem target="ezyfit_func_cat.html" image="HelpIcon.FUNCTION">Functions -- By Category
+</tocitem>
+
+<tocitem target="ezyfit_func_alpha.html" image="HelpIcon.FUNCTION">Functions -- Alphabetical List
+</tocitem>
+
+<tocitem target="ezyfit_releasenotes.html" image="HelpIcon.RELEASE_NOTES">Release Notes
+</tocitem>
+
+<tocitem target="ezyfit_knownbugs.html" image="HelpIcon.RELEASE_NOTES">Known software problems
+</tocitem>
+
+<tocitem target="http://www.fast.u-psud.fr/ezyfit" image="$toolbox/matlab/icons/webicon.gif">Product Page (Web)
+</tocitem>
+
+</tocitem>
+
+</toc>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/linx.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/linx.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/linx.html	(revision 17)
@@ -0,0 +1,30 @@
+<html><head><title>linx (Ezyfit Toolbox)</title>
+<!-- Help file for linx.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="gridc.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="liny.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">linx</font><br>
+Turn the X axis to LIN<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>linx</b> turns the X axis of the current plot to linear coordinates. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="liny.html">liny</a>, <a href="logx.html">logx</a>, <a href="logy.html">logy</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>linx</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="gridc.html"><b>Previous: gridc</b></a></td><td align=right><a href="liny.html"><b>Next: liny</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/liny.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/liny.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/liny.html	(revision 17)
@@ -0,0 +1,30 @@
+<html><head><title>liny (Ezyfit Toolbox)</title>
+<!-- Help file for liny.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="linx.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="loadfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">liny</font><br>
+Turn the Y axis to LIN<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>liny</b> turns the Y axis of the current plot to linear coordinates. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="linx.html">linx</a>, <a href="logx.html">logx</a>, <a href="logy.html">logy</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>liny</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="linx.html"><b>Previous: linx</b></a></td><td align=right><a href="loadfit.html"><b>Next: loadfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/loadfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/loadfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/loadfit.html	(revision 17)
@@ -0,0 +1,40 @@
+<html><head><title>loadfit (Ezyfit Toolbox)</title>
+<!-- Help file for loadfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="liny.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="loglogpn.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">loadfit</font><br>
+Load the predefined and the user-defined fitting functions.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+[DEFAULTFIT, USERFIT] = <b>loadfit</b> loads the predefined and the user- 
+defined fitting functions. 
+ 
+DEFAULTFIT = <b>loadfit</b>('default') loads only the predefined fits. 
+USERFIT = <b>loadfit</b>('user') loads only the user-defined fits. 
+ 
+DEFAULTFIT and USERFIT are structure arrays containing two fields, 
+'name' and 'eq'. 
+ 
+If the file(s) for the predefined and/or the user-defined fits do(es) 
+not exist, <b>loadfit</b> creates it (them). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="editfit.html">editfit</a>, <a href="efmenu.html">efmenu</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>loadfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="liny.html"><b>Previous: liny</b></a></td><td align=right><a href="loglogpn.html"><b>Next: loglogpn</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/loglogpn.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/loglogpn.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/loglogpn.html	(revision 17)
@@ -0,0 +1,69 @@
+<html><head><title>loglogpn (Ezyfit Toolbox)</title>
+<!-- Help file for loglogpn.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:08 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="loadfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="logx.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">loglogpn</font><br>
+Log-log scale plot for positive and negative data.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>loglogpn</b>(...) is the same as LOGLOG(...), except that the Y data 
+may have positive and negative values. This is useful to detect 
+unexpected negative values in the Y data (causing repeated 'Negative 
+data ignored' warnings), or to visualize the magnitude of an 
+oscillating signal in log scale. 
+ 
+<b>loglogpn</b>(X,Y) plots X versus Y in log-log scale, where Y may have 
+positive and negative values. By default, negative values are ploted 
+with dashed lines and positive values with full lines. If X is not 
+specified, Y is plotted versus its index. 
+ 
+<b>loglogpn</b>(X,Y,LineSpecPos,LineSpecNeg) specifies LineSpecPos and 
+LineSpecNeg for the line types, marker symbols and colors for the 
+positive and negative values of Y. For instance, 
+<b>loglogpn</b>(X,Y,'ro-','b*') plots the positive Y with red line and 'o' 
+markers and the negative Y with blue stars '*'. If only LineSpecPos 
+is specified, the same is taken for LineSpecNeg, with a different 
+LineStyle. 
+ 
+<b>loglogpn</b>(X,Y,LineSpecPos,LineSpecNeg,'PropertyName',PropertyValue,...) 
+sets property values for all lineseries graphics objects created by 
+<b>loglogpn</b>. See the line reference page for more information. 
+ 
+[HP, HN] = <b>loglogpn</b>(...) returns the handles to the two lineseries 
+graphics objects. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Examples</b></font>
+<pre>
+ 
+   x = linspace(1,10,200); 
+   y = sin(x*2)./x; 
+   <b>loglogpn</b>(x,y,'r.','bo'); 
+   axis([1 10 1e-2 1]); 
+ 
+   <b>loglogpn</b>(x,y,'b-','r:','LineWidth',2); 
+ 
+   [hp, hn] = <b>loglogpn</b>(x,y,'k'); 
+   set(hp, 'LineWidth', 1); 
+   set(hn, 'LineWidth', 2); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+LOGLOG, SEMILOGY, <a href="semilogypn.html">semilogypn</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>loglogpn</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="loadfit.html"><b>Previous: loadfit</b></a></td><td align=right><a href="logx.html"><b>Next: logx</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/logx.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/logx.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/logx.html	(revision 17)
@@ -0,0 +1,30 @@
+<html><head><title>logx (Ezyfit Toolbox)</title>
+<!-- Help file for logx.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="loglogpn.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="logy.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">logx</font><br>
+Turn the X axis to LOG<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>logx</b> turns the X axis of the current plot to log coordinates. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="linx.html">linx</a>, <a href="liny.html">liny</a>, <a href="logy.html">logy</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>logx</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="loglogpn.html"><b>Previous: loglogpn</b></a></td><td align=right><a href="logy.html"><b>Next: logy</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/logy.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/logy.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/logy.html	(revision 17)
@@ -0,0 +1,30 @@
+<html><head><title>logy (Ezyfit Toolbox)</title>
+<!-- Help file for logy.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="logx.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="makevarfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">logy</font><br>
+Turn the Y axis to LOG<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>logy</b> turns the Y axis of the current plot to log coordinates. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="logx.html">logx</a>, <a href="linx.html">linx</a>, <a href="liny.html">liny</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>logy</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="logx.html"><b>Previous: logx</b></a></td><td align=right><a href="makevarfit.html"><b>Next: makevarfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/makevarfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/makevarfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/makevarfit.html	(revision 17)
@@ -0,0 +1,49 @@
+<html><head><title>makevarfit (Ezyfit Toolbox)</title>
+<!-- Help file for makevarfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="logy.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="myginput.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">makevarfit</font><br>
+Create variables from the parameters of a fit<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>makevarfit</b>(F) creates (in the Matlab workspace) the variables that 
+contain the numerical values of the parameters from the fit F. 
+ 
+If you want the variables to be automatically created in the Matlab 
+workspace at each call of ezfit, showfit or selectfit, set the option 
+'automakevarfit = on' in fitparam. 
+ 
+If the input argument F is not specified, use the last fit. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+  Some sample data are fitted by a 2nd order polynom, and the 
+  three variables 'a','b','c', which contain the numerical values 
+  of the parameters, are created in the workspace: 
+     plotsample('poly2'); 
+     f = showfit('a*x^2+b*x+c'); 
+     <b>makevarfit</b>(f); 
+     whos 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="ezfit.html">ezfit</a>, <a href="showfit.html">showfit</a>, <a href="editcoeff.html">editcoeff</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>makevarfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="logy.html"><b>Previous: logy</b></a></td><td align=right><a href="myginput.html"><b>Next: myginput</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/myginput.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/myginput.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/myginput.html	(revision 17)
@@ -0,0 +1,51 @@
+<html><head><title>myginput (Ezyfit Toolbox)</title>
+<!-- Help file for myginput.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="makevarfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="pickdata.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">myginput</font><br>
+Graphical input from mouse with custum cursor pointer.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+[X,Y] = <b>myginput</b>(N) gets N points from the current axes and returns 
+the X- and Y-coordinates in length N vectors X and Y. 
+ 
+[X,Y] = <b>myginput</b>(N, POINTER) also specifies the cursor pointer, e.g. 
+'crosshair', 'arrow', 'circle' etc. See "Specifying the Figure Pointer" 
+in Matlab's documentation  to see the list of available pointers. 
+ 
+<b>myginput</b> is strictly equivalent to Matlab's original GINPUT, except 
+that a second argument specifies the cursor pointer instead of the 
+default 'fullcrosshair' pointer. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+  plot(1:2,1:2,'s'); 
+  hold on 
+  [x,y] = <b>myginput</b>(1,'crosshair'); 
+  plot(x,y,'o'); 
+  hold off 
+ 
+<b>myginput</b> is copied from Matlab's GINPUT rev. 5.32.4.4. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+GINPUT. 
+ 
+Published output in the Help browser 
+   showdemo <b>myginput</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="makevarfit.html"><b>Previous: makevarfit</b></a></td><td align=right><a href="pickdata.html"><b>Next: pickdata</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/pickdata.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/pickdata.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/pickdata.html	(revision 17)
@@ -0,0 +1,43 @@
+<html><head><title>pickdata (Ezyfit Toolbox)</title>
+<!-- Help file for pickdata.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="myginput.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="plotsample.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">pickdata</font><br>
+Picks data from the active curve.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+[X,Y] = <b>pickdata</b> returns the data (X,Y) from the active curve. If 
+several curves are present and none is selected, the first one is 
+picked (see <a href="fitparam.html">fitparam</a> to change this default setting). 
+ 
+Specific feature for Matlab &gt;= 7.6 : If some data are "brushed", return 
+only those "brushed" data. 
+ 
+[X,Y] = <b>pickdata</b>(H) returns the data (X,Y) of the curve specified by 
+the handle H (eg, GCF, GCO etc). GCF, the current figure, is taken by 
+default. 
+ 
+For histograms, the X data are taken at the middle of the bins. 
+ 
+[X,Y,H] = <b>pickdata</b>(...) also returns the handle to the current curve. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showfit.html">showfit</a>, <a href="ezfit.html">ezfit</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>pickdata</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="myginput.html"><b>Previous: myginput</b></a></td><td align=right><a href="plotsample.html"><b>Next: plotsample</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/plotsample.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/plotsample.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/plotsample.html	(revision 17)
@@ -0,0 +1,64 @@
+<html><head><title>plotsample (Ezyfit Toolbox)</title>
+<!-- Help file for plotsample.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="pickdata.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="remove_efmenu_fig.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">plotsample</font><br>
+Display a sample plot.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>plotsample</b> displays some noisy sample data. Try to fit the data with 
+<a href="showfit.html">showfit</a> or SELECTFIT, following the instructions given in the command 
+window. The sample data is chosen randomly among the 10 predefined 
+plots described below. 
+ 
+<b>plotsample</b> is also available from the item 'Plot Sample' of the EzyFit 
+menu (see <a href="efmenu.html">efmenu</a>). 
+ 
+<b>plotsample</b>(OPT)  specifies the sample plot: 
+  'power':   noisy power law 
+  'linear':  noisy data to be fitted by a linear function 
+  'osc':     oscillations 
+  'damposc': damped oscillations 
+  'cste':    noisy constant 
+  'exp':     noisy exponential decay 
+  'hist':    histogram of 1000 realizations of a random variable 
+  'hist2':   histogram with two gaussian peaks. 
+  'powco':   noisy power law with an exponential cut-off. 
+  'poly2':   3 curves to be fitted by a 2nd order polynomial fit 
+ 
+<b>plotsample</b>(N) specifies the number of the sample plot (1 to 10). 
+ 
+<b>plotsample</b>(...,'fit') also displays the fit. 
+<b>plotsample</b>(...,'nodisp') does not display the help text in the command 
+window. 
+ 
+[X,Y] = <b>plotsample</b>(...) also returns the sample data (this is 
+equivalent to <b>plotsample</b>; [X,Y] = <a href="pickdata.html">pickdata</a>;). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+    <b>plotsample</b> power fit 
+    (it shows a power law and fits it). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showfit.html">showfit</a>, <a href="ezfit.html">ezfit</a>, <a href="pickdata.html">pickdata</a>, <a href="efmenu.html">efmenu</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>plotsample</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="pickdata.html"><b>Previous: pickdata</b></a></td><td align=right><a href="remove_efmenu_fig.html"><b>Next: remove_efmenu_fig</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/remove_efmenu_fig.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/remove_efmenu_fig.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/remove_efmenu_fig.html	(revision 17)
@@ -0,0 +1,50 @@
+<html><head><title>remove_efmenu_fig (Ezyfit Toolbox)</title>
+<!-- Help file for remove_efmenu_fig.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="plotsample.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="rmfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">remove_efmenu_fig</font><br>
+Remove the Ezyfit menu from figure files (.FIG)<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>remove_efmenu_fig</b>(FILENAMEIN,FILENAMEOUT) removes the Ezyfit menu from 
+the figure file FILENAMEIN, and saves the result under FILENAMEOUT. 
+ 
+<b>remove_efmenu_fig</b>(FILENAMEIN) automatically generates the output 
+filename, by adding the string '_new' to the input filename. 
+ 
+This function fixes the issue of figure files including the Ezyfit menu 
+opened in a Matlab system running without the Ezyfit toolbox. See 
+<a href="efmenu.html">efmenu</a> for details. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+  plotsample;   % generate a random plot 
+  saveas(gcf,'myfig.fig'); 
+  <b>remove_efmenu_fig</b>('myfig.fig'); 
+  % This generates a new file, named 'myfig_new.fig', without the menu 
+ 
+Acknowledgments to Francis Burton and Nicholas Sinclair, who fixed 
+the issue in the Matlab Central Newsgroup. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="efmenu.html">efmenu</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>remove_efmenu_fig</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="plotsample.html"><b>Previous: plotsample</b></a></td><td align=right><a href="rmfit.html"><b>Next: rmfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/rmfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/rmfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/rmfit.html	(revision 17)
@@ -0,0 +1,40 @@
+<html><head><title>rmfit (Ezyfit Toolbox)</title>
+<!-- Help file for rmfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="remove_efmenu_fig.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="semilogypn.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">rmfit</font><br>
+Remove fits from the current figure<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>rmfit</b> removes all the fits (and their equation box) created by 
+<a href="showfit.html">showfit</a> from the current figure. 
+ 
+<b>rmfit</b>('first') removes only the first fit. 
+<b>rmfit</b>('last') removes only the last fit (equivalent to <a href="undofit.html">undofit</a>). 
+<b>rmfit</b>(N) removes only the Nth fit. 
+<b>rmfit</b>('boxonly') removes only the equation boxes. 
+<b>rmfit</b>('getslope') removes all the equations displayed by <a href="getslope.html">getslope</a> and 
+<a href="showslope.html">showslope</a>. 
+ 
+Note that <b>rmfit</b> does not remove the annotation objects (eg, lines). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showfit.html">showfit</a>, <a href="undofit.html">undofit</a>, <a href="getslope.html">getslope</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>rmfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="remove_efmenu_fig.html"><b>Previous: remove_efmenu_fig</b></a></td><td align=right><a href="semilogypn.html"><b>Next: semilogypn</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectdata.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectdata.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectdata.html	(revision 17)
@@ -0,0 +1,38 @@
+<html><head><title>selectdata (Ezyfit Toolbox)</title>
+<!-- Help file for selectdata.m generated by makehtmldoc 1.22, 11-Sep-2007 12:50:30 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="rmfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="selectfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">selectdata</font><br>
+Select data on the current figure<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+[XS YS] = <b>selectdata</b> selects part of the current curve by drawing a 
+polygon. Double click to exit. 
+ 
+[XS YS] = <b>selectdata</b>(H) allows to select part of the curve specified by 
+the handle H (eg, GCF, GCO etc). GCF, the current figure, is taken by 
+default, so that the first curve of the figure is used. 
+ 
+[XS YS] = <b>selectdata</b>(H,'show') also shows the data selected. 
+ 
+<b>selectdata</b>(H,'keep') deletes the data outside the polygon. 
+<b>selectdata</b>(H,'del') deletes the data inside the polygon. 
+(these two operations are not reversible). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="pickdata.html">pickdata</a>, <a href="selectfit.html">selectfit</a>, <a href="drawpolygon.html">drawpolygon</a>. 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="rmfit.html"><b>Previous: rmfit</b></a></td><td align=right><a href="selectfit.html"><b>Next: selectfit</b></a>&nbsp;</td></tr></table><br>
+2005-2007 <a href="ezyfit.html">EzyFit Toolbox 2.20</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectdata_old.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectdata_old.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectdata_old.html	(revision 17)
@@ -0,0 +1,38 @@
+<html><head><title>selectdata_old (Ezyfit Toolbox)</title>
+<!-- Help file for selectdata_old.m generated by makehtmldoc 1.22, 11-Sep-2007 17:09:16 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="rmfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="selectfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">selectdata_old</font><br>
+Select data on the current figure   -- OBSOLETE --<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+[XS YS] = SELECTDATA selects part of the current curve by drawing a 
+polygon. Double click to exit. 
+ 
+[XS YS] = SELECTDATA(H) allows to select part of the curve specified by 
+the handle H (eg, GCF, GCO etc). GCF, the current figure, is taken by 
+default, so that the first curve of the figure is used. 
+ 
+[XS YS] = SELECTDATA(H,'show') also shows the data selected. 
+ 
+SELECTDATA(H,'keep') deletes the data outside the polygon. 
+SELECTDATA(H,'del') deletes the data inside the polygon. 
+(these two operations are not reversible). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="pickdata.html">pickdata</a>, <a href="selectfit.html">selectfit</a>, <a href="drawpolygon.html">drawpolygon</a>. 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="rmfit.html"><b>Previous: rmfit</b></a></td><td align=right><a href="selectfit.html"><b>Next: selectfit</b></a>&nbsp;</td></tr></table><br>
+2005-2007 <a href="ezyfit.html">EzyFit Toolbox 2.20</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectfit.html	(revision 17)
@@ -0,0 +1,74 @@
+<html><head><title>selectfit (Ezyfit Toolbox)</title>
+<!-- Help file for selectfit.m generated by makehtmldoc 1.22, 04-Feb-2009 23:32:41 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="rmfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="semilogypn.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">selectfit</font><br>
+Fit part of the data from the active curve (remove outliers)<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>selectfit</b> displays the fit specified in a dialog box for the data 
+selected from the active curve by drawing a lasso. Use the left mouse 
+button to draw the lasso. Use <a href="undofit.html">undofit</a> or <a href="rmfit.html">rmfit</a> to remove the fit. 
+The default display settings are defined in the file <a href="fitparam.html">fitparam</a>. 
+ 
+*** Note: This function is not fully stable. 
+    If you use Matlab &gt;= 7.6, it is encouraged to use 
+    <a href="showfit.html">showfit</a> with the "Data Brushing" mode instead of <b>selectfit</b>. 
+    <b>selectfit</b> will be removed in future releases of EzyFit. 
+ 
+By default, the first curve in the active figure is used (see <a href="fitparam.html">fitparam</a> 
+to change this default behavior). To fit another curve, select it 
+before calling <b>selectfit</b>. 
+ 
+<b>selectfit</b>(FUN) specifies the fitting string FUN. FUN may be either a 
+default fit (eg, 'exp', 'power'), a user-defined fit (see <a href="editfit.html">editfit</a>), 
+or directly a fit equation (eg, 'c+a*exp(-x/x0)'). See <a href="ezfit.html">ezfit</a> for the 
+syntax of FUN. FUN may also be any valid interpolation method string 
+(eg 'spline', 'cubic'... excepted 'linear'). See INTERP1 for the valid 
+interpolation methods. 
+ 
+<b>selectfit</b>(F) use the equation defined in the fit structure F. 
+ 
+<b>selectfit</b>(..., 'PropertyName','PropertyValue',...) specifies the 
+properties of the fit (e.g., fit colors, line width etc.). See the 
+default values in the file <a href="fitparam.html">fitparam</a>. 
+ 
+F = <b>selectfit</b>(...) also returns the fit structure F. F has the same 
+content as the fit structure returned by <a href="ezfit.html">ezfit</a> (see <a href="ezfit.html">ezfit</a> for details), 
+and also contains a handle to the equation box and to the curve. 
+ 
+Note that if the option 'lin' or 'log' is not specified in the string 
+FUN, <b>selectfit</b> checks the Y-scale of the current figure to determine 
+whether Y or LOG(Y) has to be fitted. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Examples</b></font>
+<pre>
+ 
+   plotsample power 
+   <b>selectfit</b>('power; log'); 
+ 
+   plotsample poly2 
+   f = <b>selectfit</b>('z(v) = poly3','fitcolor','red','fitlinestyle',':'); 
+   editcoeff(f); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showfit.html">showfit</a>, <a href="ezfit.html">ezfit</a>, <a href="undofit.html">undofit</a>, <a href="rmfit.html">rmfit</a>, <a href="plotsample.html">plotsample</a>, SELECTDATA, INTERP1. 
+ 
+Published output in the Help browser 
+   showdemo <b>selectfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="rmfit.html"><b>Previous: rmfit</b></a></td><td align=right><a href="semilogypn.html"><b>Next: semilogypn</b></a>&nbsp;</td></tr></table><br>
+2005-2009 <a href="ezyfit.html">EzyFit Toolbox 2.30</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/semilogypn.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/semilogypn.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/semilogypn.html	(revision 17)
@@ -0,0 +1,67 @@
+<html><head><title>semilogypn (Ezyfit Toolbox)</title>
+<!-- Help file for semilogypn.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="rmfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="showeqbox.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">semilogypn</font><br>
+Semilogarithmic  plot for positive and negative data.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>semilogypn</b>(...) is the same as SEMILOGY(...), except that the Y data 
+may have positive and negative values. This is useful to detect 
+unexpected negative values in the Y data (causing repeated 'Negative 
+data ignored' warnings), or to visualize the magnitude of an 
+oscillating signal in log scale. 
+ 
+<b>semilogypn</b>(X,Y) plots X versus Y as logarithmic scales, where Y may 
+have positive and negative values. By default, negative values are 
+ploted with dashed lines and positive values with full lines. If X is 
+not specified, Y is plotted versus its index. 
+ 
+<b>semilogypn</b>(X,Y,LineSpecPos,LineSpecNeg) specifies LineSpecPos and 
+LineSpecNeg for the line types, marker symbols and colors for the 
+positive and negative values of Y. For instance, 
+<b>semilogypn</b>(X,Y,'ro-','b*') plots the positive Y with red line and 'o' 
+markers and the negative Y with blue stars '*'. 
+ 
+<b>semilogypn</b>(X,Y,LineSpecPos,LineSpecNeg,'PropertyName',PropertyValue,...) 
+sets property values for all lineseries graphics objects created by 
+<b>semilogypn</b>. See the line reference page for more information. 
+ 
+[HP, HN] = <b>semilogypn</b>(...) returns the handles to the two lineseries 
+graphics objects. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+   x = linspace(1,10,200); 
+   y = sin(x*2)./x; 
+   <b>semilogypn</b>(x,y,'r.','bo'); 
+   axis([1 10 1e-2 1]); 
+ 
+   <b>semilogypn</b>(x,y,'b-','r:','LineWidth',2); 
+ 
+   [hp, hn] = <b>semilogypn</b>(x,y,'k'); 
+   set(hp, 'LineWidth', 1); 
+   set(hn, 'LineWidth', 2); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+SEMILOGY, LOGLOG, <a href="loglogpn.html">loglogpn</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>semilogypn</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="rmfit.html"><b>Previous: rmfit</b></a></td><td align=right><a href="showeqbox.html"><b>Next: showeqbox</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showeqbox.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showeqbox.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showeqbox.html	(revision 17)
@@ -0,0 +1,46 @@
+<html><head><title>showeqbox (Ezyfit Toolbox)</title>
+<!-- Help file for showeqbox.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="semilogypn.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="showfit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">showeqbox</font><br>
+Show the equation box of a fit.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+H = <b>showeqbox</b>(F) shows the equation box of the fit F, using the settings 
+defined in <a href="fitparam.html">fitparam</a>. The fit structure F is obtained from <a href="ezfit.html">ezfit</a>. H is a 
+handle to the equation box. 
+ 
+Note that <b>showeqbox</b> interprets the greek symbols in the fitting equation 
+(latex syntax). The '\' latex symbol must be omitted. 
+ 
+<b>showeqbox</b> is automatically called from <a href="showfit.html">showfit</a> or SELECTFIT when the 
+option 'dispeqboxmode' is set to 'on' in the fitparam.m file. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Example</b></font>
+<pre>
+ 
+   plotsample('power') 
+   f = ezfit('alpha/x^n'); 
+   <b>showeqbox</b>(f); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="fitparam.html">fitparam</a>, <a href="ezfit.html">ezfit</a>, <a href="showfit.html">showfit</a>, <a href="dispeqfit.html">dispeqfit</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>showeqbox</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="semilogypn.html"><b>Previous: semilogypn</b></a></td><td align=right><a href="showfit.html"><b>Next: showfit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showfit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showfit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showfit.html	(revision 17)
@@ -0,0 +1,78 @@
+<html><head><title>showfit (Ezyfit Toolbox)</title>
+<!-- Help file for showfit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:09 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="showeqbox.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="showresidual.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">showfit</font><br>
+Show the fit for the active curve.<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>showfit</b> displays the fit specified in a dialog box for the active 
+curve. Use <a href="undofit.html">undofit</a> or <a href="rmfit.html">rmfit</a> to remove the fit. The display settings are 
+defined in the file <a href="fitparam.html">fitparam</a>. 
+ 
+By default, the first curve in the active figure is used (see <a href="fitparam.html">fitparam</a> 
+to change this default behavior). To fit another curve, select it 
+before calling <b>showfit</b>. If some data are selected by the "Data 
+Brushing" tool (only for Matlab &gt;= 7.6), only those data are fitted. 
+If you use Matlab &lt;=7.5, use SELECTFIT to fit only a part of the data 
+from the selected curve. 
+ 
+<b>showfit</b>(FUN) specifies the fitting string FUN. FUN may be either a 
+default fit (eg, 'exp', 'power'), a user-defined fit (see <a href="editfit.html">editfit</a>), 
+or directly a fit equation (eg, 'c+a*exp(-x/x0)'). See <a href="ezfit.html">ezfit</a> for the 
+syntax of FUN. FUN may also be any valid interpolation method string 
+(eg 'spline', 'cubic'... excepted 'linear'). See INTERP1 for the valid 
+interpolation methods. 
+ 
+<b>showfit</b>(F) displays the fit F defined from the fit structure returned 
+by <a href="ezfit.html">ezfit</a>. See <a href="ezfit.html">ezfit</a> for the definition of F. 
+ 
+<b>showfit</b>(..., 'PropertyName','PropertyValue',...) specifies the 
+properties of the fit (e.g., fit colors, line width etc.). See the 
+default values in the file <a href="fitparam.html">fitparam</a>. 
+ 
+F = <b>showfit</b>(...) also returns the fit structure F. F has the same 
+content as the fit structure returned by <a href="ezfit.html">ezfit</a> (see <a href="ezfit.html">ezfit</a> for details), 
+and also contains a handle to the equation box and to the curve. 
+ 
+Note that if the option 'lin' or 'log' is not specified in the string 
+FUN, <b>showfit</b> checks the Y-scale to know if Y or LOG(Y) has to be 
+fitted. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>Examples</b></font>
+<pre>
+ 
+   type 'plotsample' and follow the instructions. 
+ 
+   plotsample power 
+   <b>showfit</b>('c*x^n; log'); 
+ 
+   plotsample hist 
+   f = ezfit('gauss'); 
+   <b>showfit</b>(f,'fitcolor','red','fitlinewidth',2); 
+ 
+   plotsample poly2 
+   f = <b>showfit</b>('z(v) = poly3','dispfitlegend','on'); 
+   editcoeff(f); 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="ezfit.html">ezfit</a>, <a href="undofit.html">undofit</a>, <a href="rmfit.html">rmfit</a>, <a href="plotsample.html">plotsample</a>, <a href="pickdata.html">pickdata</a>, INTERP1. 
+ 
+Published output in the Help browser 
+   showdemo <b>showfit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="showeqbox.html"><b>Previous: showeqbox</b></a></td><td align=right><a href="showresidual.html"><b>Next: showresidual</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showresidual.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showresidual.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showresidual.html	(revision 17)
@@ -0,0 +1,40 @@
+<html><head><title>showresidual (Ezyfit Toolbox)</title>
+<!-- Help file for showresidual.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:10 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="showfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="showslope.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">showresidual</font><br>
+Show the residuals of a fit<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>showresidual</b>(F) displays the residuals for the fit F in a new figure, 
+ie: plots the difference between the data and the fit. 
+ 
+<b>showresidual</b> is also available from the item 'Show Fit Residuals' in 
+the EzyFit menu (see <a href="efmenu.html">efmenu</a>). 
+ 
+If F is not specified, plots the residual for the last fit. 
+ 
+YRES = <b>showresidual</b>(...) returns the residuals (YRES = YDATA - YFIT). 
+ 
+<b>showresidual</b>(F, H) plots the residual in the figure H. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showfit.html">showfit</a>, <a href="ezfit.html">ezfit</a>, <a href="efmenu.html">efmenu</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>showresidual</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="showfit.html"><b>Previous: showfit</b></a></td><td align=right><a href="showslope.html"><b>Next: showslope</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showslope.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showslope.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/showslope.html	(revision 17)
@@ -0,0 +1,52 @@
+<html><head><title>showslope (Ezyfit Toolbox)</title>
+<!-- Help file for showslope.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:10 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="showresidual.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="sw.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">showslope</font><br>
+Draw a line with fixed slope<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>showslope</b>(N) drags a line in the current figure with a fixed slope N 
+(does not work with docked windows; undock your window first!) 
+ 
+Depending of the axis types, the 'slope' N means: 
+     Y = N*X+A         for X linear and Y linear 
+     Y = A*X^N         for X log and Y log 
+     Y = A*EXP(N*X)    for X linear and Y log 
+     Y = A+N*LOG(X)    for X log and Y linear (LOG = natural logarithm) 
+ 
+The value N is displayed close to the line. N may also be the string of 
+any valid Matlab expression (eg, 'pi', '22/7', ...), which will be 
+displayed close to the line. <b>showslope</b>(N,'nolabel') does not display 
+the value N in the figure. 
+ 
+H = <b>showslope</b>(..) also returns a handle to the line. 
+ 
+By default, the line is an 'annotation object', ie: it is attached to 
+the window and not to the figure axes. As a consequence, the line may 
+be further moved, or may be used for <a href="getslope.html">getslope</a>. However, resizing 
+the window may in some case shift the line, and turning the axes from 
+lin to log turns a power law to a log law... To avoid these problems, 
+specify <b>showslope</b>(N,'fix'), which makes the line a real plot object 
+attached to the figure axes. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="getslope.html">getslope</a>, <a href="getlineinfo.html">getlineinfo</a>, <a href="plotsample.html">plotsample</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>showslope</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="showresidual.html"><b>Previous: showresidual</b></a></td><td align=right><a href="sw.html"><b>Next: sw</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/sw.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/sw.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/sw.html	(revision 17)
@@ -0,0 +1,31 @@
+<html><head><title>sw (Ezyfit Toolbox)</title>
+<!-- Help file for sw.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:10 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="showslope.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="swx.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">sw</font><br>
+LIN&lt;-&gt;LOG swap of the X and Y axis<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>sw</b> swaps the X and Y axis of the current plot between linear and log 
+scale. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="swx.html">swx</a>, <a href="swy.html">swy</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>sw</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="showslope.html"><b>Previous: showslope</b></a></td><td align=right><a href="swx.html"><b>Next: swx</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/swx.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/swx.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/swx.html	(revision 17)
@@ -0,0 +1,31 @@
+<html><head><title>swx (Ezyfit Toolbox)</title>
+<!-- Help file for swx.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:10 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="sw.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="swy.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">swx</font><br>
+LIN&lt;-&gt;LOG swap of the X axis<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>swx</b> swaps the X axis of the current plot between linear and log 
+coordinates. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="swy.html">swy</a>, <a href="sw.html">sw</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>swx</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="sw.html"><b>Previous: sw</b></a></td><td align=right><a href="swy.html"><b>Next: swy</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/swy.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/swy.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/swy.html	(revision 17)
@@ -0,0 +1,31 @@
+<html><head><title>swy (Ezyfit Toolbox)</title>
+<!-- Help file for swy.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:10 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="swx.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="undofit.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
+<font size=+3 color="#990000">swy</font><br>
+LIN&lt;-&gt;LOG swap of the Y axis<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>swy</b> swaps the Y axis of the current plot between linear and log 
+coordinates. 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="swx.html">swx</a>, <a href="sw.html">sw</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>swy</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="swx.html"><b>Previous: swx</b></a></td><td align=right><a href="undofit.html"><b>Next: undofit</b></a>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/undofit.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/undofit.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/undofit.html	(revision 17)
@@ -0,0 +1,33 @@
+<html><head><title>undofit (Ezyfit Toolbox)</title>
+<!-- Help file for undofit.m generated by makehtmldoc 1.22, 02-Jul-2012 09:32:10 -->
+<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
+ 
+<link rel=stylesheet href="docstyle1.css" type="text/css">
+</head>
+<body bgcolor=#ffffff>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="swy.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></table>
+<font size=+3 color="#990000">undofit</font><br>
+Remove the last fit from the current figure<br>
+<br>
+ 
+<font size=+1 color="#990000"><b>Description</b></font>
+<code><pre>
+<b>undofit</b> removes the last fit (and its equation box) created by 
+<a href="showfit.html">showfit</a> from the current figure. 
+ 
+<b>undofit</b> is a shortcut for <a href="rmfit.html">rmfit</a>('last'). 
+ 
+</pre>
+<font size=+1 color="#990000"><b>See Also</b></font>
+<pre>
+<a href="showfit.html">showfit</a>, <a href="rmfit.html">rmfit</a>, <a href="efmenu.html">efmenu</a>. 
+ 
+Published output in the Help browser 
+   showdemo <b>undofit</b> 
+</pre></code>
+ 
+<br>
+<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="swy.html"><b>Previous: swy</b></a></td><td align=right>&nbsp;</td></tr></table><br>
+2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a><br>
+<br>
+</body></html>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/info.xml
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/info.xml	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/info.xml	(revision 17)
@@ -0,0 +1,58 @@
+<productinfo
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:noNamespaceSchemaLocation="optional">
+<?xml-stylesheet type="text/xsl" href="optional"?>
+
+<matlabrelease>14</matlabrelease>
+<name>EzyFit</name>
+<type>toolbox</type>
+<icon>html/ef_logo16.jpg</icon>
+<help_location>html</help_location>
+
+<list>
+
+<listitem>
+<label>Help</label>
+<callback>docezyfit</callback>
+<icon>$toolbox/matlab/icons/book_mat.gif</icon>
+</listitem>
+
+<listitem>
+<label>Plot Sample</label>
+<callback>plotsample</callback>
+<icon>$toolbox/matlab/icons/demoicon.gif</icon>
+</listitem>
+
+<listitem>
+<label>Preferences</label>
+<callback>edit fitparam.m</callback>
+<icon>$toolbox/matlab/icons/figureicon.gif</icon>
+</listitem>
+
+<listitem>
+<label>Release Notes</label>
+<callback>docezyfit('ezyfit_releasenotes.html')</callback>
+<icon>$toolbox/matlab/icons/notesicon.gif</icon>
+</listitem>
+
+<listitem>
+<label>Check for Update (Web)</label>
+<callback>checkupdate_ef('dialog');</callback>
+<icon>$toolbox/matlab/icons/webicon.gif</icon>
+</listitem>
+
+<listitem>
+<label>Product Page (Web)</label>
+<callback>web http://www.fast.u-psud.fr/ezyfit -browser;</callback>
+<icon>$toolbox/matlab/icons/webicon.gif</icon>
+</listitem>
+
+<listitem>
+<label>Uninstall</label>
+<callback>docezyfit('ezyfit_uninstall.html')</callback>
+<icon>$toolbox/matlab/icons/book_mat.gif</icon>
+</listitem>
+
+</list>
+
+</productinfo>
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/license.txt	(revision 17)
@@ -0,0 +1,27 @@
+Copyright (c) 2012, Frederic Moisy
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+    * Neither the name of the University Paris Sud nor the names 
+      of its contributors may be used to endorse or promote products derived 
+      from this software without specific prior written permission.
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/linx.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/linx.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/linx.m	(revision 17)
@@ -0,0 +1,11 @@
+function linx
+%LINX  Turn the X axis to LIN
+%   LINX turns the X axis of the current plot to linear coordinates.
+%
+%   See also LINY, LOGX, LOGY.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2005/10/31
+%   This function is part of the EzyFit Toolbox
+
+set(gca,'XScale','lin');
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/liny.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/liny.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/liny.m	(revision 17)
@@ -0,0 +1,11 @@
+function liny
+%LINY  Turn the Y axis to LIN
+%   LINY turns the Y axis of the current plot to linear coordinates.
+%
+%   See also LINX, LOGX, LOGY.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2005/10/31
+%   This function is part of the EzyFit Toolbox
+
+set(gca,'YScale','lin');
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/loadfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/loadfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/loadfit.m	(revision 17)
@@ -0,0 +1,96 @@
+function [fit1, fit2] = loadfit(opt)
+%LOADFIT   Load the predefined and the user-defined fitting functions.
+%   [DEFAULTFIT, USERFIT] = LOADFIT loads the predefined and the user-
+%   defined fitting functions.
+%
+%   DEFAULTFIT = LOADFIT('default') loads only the predefined fits.
+%   USERFIT = LOADFIT('user') loads only the user-defined fits.
+%
+%   DEFAULTFIT and USERFIT are structure arrays containing two fields,
+%   'name' and 'eq'.
+%
+%   If the file(s) for the predefined and/or the user-defined fits do(es)
+%   not exist, LOADFIT creates it (them).
+%
+%   See also EDITFIT, EFMENU.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.10,  Date: 2007/09/18
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/02/02: v1.00, first version.
+% 2007/09/18: v1.10, new default fits (expc, sinc etc)
+
+if nargin==0, opt='defaultuser'; end
+
+user=0;
+default=0;
+
+% directory where the ezyfit toolbox is installed:
+efroot=fileparts(mfilename('fullpath'));
+
+if strfind(lower(opt),'default'),
+    default=1;
+    % load the predefined fits:
+    defaultfitfile=[efroot filesep 'defaultfit.mat'];
+    if exist(defaultfitfile,'file'),
+        load(defaultfitfile);
+    else
+        defaultfit(1).name = 'linear';          defaultfit(1).eq = 'a*x';
+        defaultfit(2).name = 'affine';          defaultfit(2).eq = 'a*x+b';
+        defaultfit(3).name = 'affineshift';     defaultfit(3).eq = 'a*(x-b)';
+        defaultfit(4).name = 'power';           defaultfit(4).eq = 'a*x^n';
+        defaultfit(5).name = 'powerc';          defaultfit(5).eq = 'a*x^n+c';
+        defaultfit(6).name = 'exp';             defaultfit(6).eq = 'a*exp(b*x)';
+        defaultfit(7).name = 'expc';            defaultfit(7).eq = 'a*exp(b*x)+c';
+        defaultfit(8).name = 'log';             defaultfit(8).eq = 'a*log(b*x)';
+        defaultfit(9).name = 'logc';            defaultfit(9).eq = 'a*log(x)+b';
+        defaultfit(10).name = 'sin';            defaultfit(10).eq = 'a*sin(b*x)';
+        defaultfit(11).name = 'sinc';           defaultfit(11).eq = 'a*sin(b*x)+c';
+        defaultfit(12).name = 'cos';            defaultfit(12).eq = 'a*cos(b*x)';
+        defaultfit(13).name = 'cosc';           defaultfit(13).eq = 'a*cos(b*x)+c';
+        defaultfit(14).name = 'sinphi';         defaultfit(14).eq = 'a*sin(b*x+phi)';
+        defaultfit(15).name = 'sinphic';        defaultfit(15).eq = 'a*sin(b*x+phi)+c';
+        defaultfit(16).name = 'cngauss';        defaultfit(16).eq = 'exp(-(x^2)/(2*sigma^2))/(2*pi*sigma^2)^(1/2)';
+        defaultfit(17).name = 'cfgauss';        defaultfit(17).eq = 'a*exp(-(x^2)/(2*sigma^2))';
+        defaultfit(18).name = 'ngauss';         defaultfit(18).eq = 'exp(-((x-x_0)^2)/(2*sigma^2))/(2*pi*sigma^2)^(1/2)';
+        defaultfit(19).name = 'fgauss';         defaultfit(19).eq = 'a*exp(-((x-x_0)^2)/(2*sigma^2))';
+        defaultfit(20).name = 'gauss';          defaultfit(20).eq = 'a*exp(-((x-x_0)^2)/(2*sigma^2))';
+        defaultfit(21).name = 'expdiv';         defaultfit(21).eq = 'a*exp(x/b)';
+        defaultfit(22).name = 'explim';         defaultfit(22).eq = 'a*(1-exp(-x/b))';
+        defaultfit(23).name = 'powershift';     defaultfit(23).eq = 'a*(x+b)^n';
+        
+        save(defaultfitfile,'defaultfit');
+    end
+end
+
+
+if strfind(lower(opt),'user')
+    user=1;
+    % load the user-defined fits:
+    userfitfile=[efroot filesep 'userfit.mat'];
+    if exist(userfitfile,'file'),
+        load(userfitfile);
+    else
+        userfit(1).name = 'fit1';       userfit(1).eq = 'a*exp(-x/tau); a=1; tau=10';
+        userfit(2).name = 'fit2';       userfit(2).eq = 'c+(x/x_0)^n';
+        userfit(3).name = 'fit3';       userfit(3).eq = 'E(k)=C*k^(-n)*exp(-k/k_c); log; C=5; n=2; k_c=100';
+
+        save(userfitfile,'userfit');
+    end
+end
+
+
+
+% output arguments:
+if user && ~default,
+    fit1=userfit;
+    fit2=[];
+elseif default && ~user,
+    fit1=defaultfit;
+    fit2=[];
+elseif default && user,
+    fit1=defaultfit;
+    fit2=userfit;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/loglogpn.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/loglogpn.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/loglogpn.m	(revision 17)
@@ -0,0 +1,101 @@
+function [hp, hn] = loglogpn(x,y, specpos, specneg, varargin)
+%LOGLOGPN Log-log scale plot for positive and negative data.
+%   LOGLOGPN(...) is the same as LOGLOG(...), except that the Y data
+%   may have positive and negative values. This is useful to detect
+%   unexpected negative values in the Y data (causing repeated 'Negative
+%   data ignored' warnings), or to visualize the magnitude of an
+%   oscillating signal in log scale.
+%
+%   LOGLOGPN(X,Y) plots X versus Y in log-log scale, where Y may have
+%   positive and negative values. By default, negative values are ploted
+%   with dashed lines and positive values with full lines. If X is not
+%   specified, Y is plotted versus its index.
+%
+%   LOGLOGPN(X,Y,LineSpecPos,LineSpecNeg) specifies LineSpecPos and
+%   LineSpecNeg for the line types, marker symbols and colors for the
+%   positive and negative values of Y. For instance,
+%   LOGLOGPN(X,Y,'ro-','b*') plots the positive Y with red line and 'o'
+%   markers and the negative Y with blue stars '*'. If only LineSpecPos
+%   is specified, the same is taken for LineSpecNeg, with a different
+%   LineStyle.
+%
+%   LOGLOGPN(X,Y,LineSpecPos,LineSpecNeg,'PropertyName',PropertyValue,...)
+%   sets property values for all lineseries graphics objects created by
+%   LOGLOGPN. See the line reference page for more information.
+%
+%   [HP, HN] = LOGLOGPN(...) returns the handles to the two lineseries
+%   graphics objects.
+%
+%   Examples:
+%      x = linspace(1,10,200);
+%      y = sin(x*2)./x;
+%      loglogpn(x,y,'r.','bo');
+%      axis([1 10 1e-2 1]);
+%
+%      loglogpn(x,y,'b-','r:','LineWidth',2);
+%
+%      [hp, hn] = loglogpn(x,y,'k');
+%      set(hp, 'LineWidth', 1);
+%      set(hn, 'LineWidth', 2);
+%
+%   See also LOGLOG, SEMILOGY, SEMILOGYPN.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.01,  Date: 2007/04/12
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2007/04/10: v1.00, first version.
+% 2007/04/12: v1.01, do not draw lines between ranges of Y
+%                    separated by ranges of opposite sign.
+
+error(nargchk(1,inf,nargin));
+
+if nargin<2
+    y=x;
+    x=1:length(y);
+end
+
+if nargin<3        % default LineSpecs:
+    specpos = 'b-';
+    specneg = 'b--';
+elseif nargin<4    % LineSpec for Y<0 if the LineSpec for Y>0 is specified
+    if findstr(specpos,'--')
+        specneg=strrep(specpos,'--','-');
+    else
+        specneg=specpos;
+        specneg=strrep(specneg,'-.','');
+        specneg=strrep(specneg,':','');
+        specneg=strrep(specneg,'-','');
+        specneg=[specneg '--'];
+    end
+end
+
+indpos = find(y>0);
+indneg = find(y<0);
+
+ypos = y;
+ypos(indneg) = 0;
+
+yneg = y;
+yneg(indpos) = 0;
+
+if isempty(indneg) && ~isempty(indpos)
+    hp = loglog(x, ypos, specpos, varargin{:});
+    hn = [];
+elseif ~isempty(indneg) && isempty(indpos)
+    hp = [];
+    hn = loglog(x, -yneg, specneg, varargin{:});
+else
+    statehold = ishold;   % figure was 'held on' before?
+    hp = loglog(x, ypos, specpos, varargin{:});
+    hold on
+    hn = loglog(x, -yneg, specneg, varargin{:});
+    if statehold==false
+        hold off
+    end
+end
+
+if ~nargout
+    clear hp hn
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/logx.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/logx.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/logx.m	(revision 17)
@@ -0,0 +1,11 @@
+function logx
+%LOGX  Turn the X axis to LOG
+%   LOGX turns the X axis of the current plot to log coordinates.
+%
+%   See also LINX, LINY, LOGY.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2005/10/31
+%   This function is part of the EzyFit Toolbox
+
+set(gca,'XScale','log');
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/logy.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/logy.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/logy.m	(revision 17)
@@ -0,0 +1,11 @@
+function logy
+%LOGY  Turn the Y axis to LOG
+%   LOGY turns the Y axis of the current plot to log coordinates.
+%
+%   See also LOGX, LINX, LINY.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2005/10/31
+%   This function is part of the EzyFit Toolbox
+
+set(gca,'YScale','log');
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/makevarfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/makevarfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/makevarfit.m	(revision 17)
@@ -0,0 +1,46 @@
+function makevarfit(f)
+%MAKEVARFIT  Create variables from the parameters of a fit
+%   MAKEVARFIT(F) creates (in the Matlab workspace) the variables that
+%   contain the numerical values of the parameters from the fit F.
+%
+%   If you want the variables to be automatically created in the Matlab
+%   workspace at each call of ezfit, showfit or selectfit, set the option
+%   'automakevarfit = on' in fitparam.
+%
+%   If the input argument F is not specified, use the last fit.
+%
+%   Example:
+%     Some sample data are fitted by a 2nd order polynom, and the
+%     three variables 'a','b','c', which contain the numerical values
+%     of the parameters, are created in the workspace:
+%        plotsample('poly2');
+%        f = showfit('a*x^2+b*x+c');
+%        makevarfit(f);
+%        whos
+%
+%   See also EZFIT, SHOWFIT, EDITCOEFF.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2006/02/15
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/02/15: v1.00, first version.
+
+
+% if no input argument, use the last fit, which is stored
+% in the variable lastfit in the 'base' workspace:
+if nargin==0,
+    if evalin('base','exist(''lastfit'',''var'')')
+        f=evalin('base','lastfit');
+    else
+        errordlg('No existing fit coefficients. First fit a curve.',...
+            'Edit Fit Coefficients','on');
+        return;
+    end;
+end;
+
+% create the variable f.param{i} containing the value f.m(i):
+for i=1:length(f.param)
+    assignin('base',f.param{i},f.m(i));
+end;
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/myginput.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/myginput.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/myginput.m	(revision 17)
@@ -0,0 +1,224 @@
+function [out1,out2,out3] = myginput(arg1,strpointertype)
+%MYGINPUT Graphical input from mouse with custum cursor pointer.
+%   [X,Y] = MYGINPUT(N) gets N points from the current axes and returns 
+%   the X- and Y-coordinates in length N vectors X and Y.
+%
+%   [X,Y] = MYGINPUT(N, POINTER) also specifies the cursor pointer, e.g.
+%   'crosshair', 'arrow', 'circle' etc. See "Specifying the Figure Pointer"
+%   in Matlab's documentation  to see the list of available pointers.
+%   
+%   MYGINPUT is strictly equivalent to Matlab's original GINPUT, except
+%   that a second argument specifies the cursor pointer instead of the
+%   default 'fullcrosshair' pointer.
+%
+%   Example:
+%     plot(1:2,1:2,'s');
+%     hold on
+%     [x,y] = myginput(1,'crosshair');
+%     plot(x,y,'o');
+%     hold off
+%
+%   MYGINPUT is copied from Matlab's GINPUT rev. 5.32.4.4.
+%
+%   See also GINPUT.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.02,  Date: 2006/10/24
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/10/31: v1.00, first version, from GINPUT rev. 5.32.4.4.
+% 2005/11/25: v1.01, line 'uisuspend' modified (for compatibility with
+%                    ML7.00)
+% 2006/10/24: v1.02, help text improved
+
+out1 = []; out2 = []; out3 = []; y = [];
+
+if nargin<1     % modified MYGINPUT
+    strpointertype='fullcrosshair'; % default GINPUT pointer
+end
+
+c = computer;
+if ~strcmp(c(1:2),'PC') 
+   tp = get(0,'TerminalProtocol');
+else
+   tp = 'micro';
+end
+
+if ~strcmp(tp,'none') & ~strcmp(tp,'x') & ~strcmp(tp,'micro'),
+   if nargout == 1,
+      if nargin == 1,
+         out1 = trmginput(arg1);
+      else
+         out1 = trmginput;
+      end
+   elseif nargout == 2 | nargout == 0,
+      if nargin == 1,
+         [out1,out2] = trmginput(arg1);
+      else
+         [out1,out2] = trmginput;
+      end
+      if  nargout == 0
+         out1 = [ out1 out2 ];
+      end
+   elseif nargout == 3,
+      if nargin == 1,
+         [out1,out2,out3] = trmginput(arg1);
+      else
+         [out1,out2,out3] = trmginput;
+      end
+   end
+else
+   
+   fig = gcf;
+   figure(gcf);
+   
+   if nargin == 0
+      how_many = -1;
+      b = [];
+   else
+      how_many = arg1;
+      b = [];
+      if  isstr(how_many) ...
+            | size(how_many,1) ~= 1 | size(how_many,2) ~= 1 ...
+            | ~(fix(how_many) == how_many) ...
+            | how_many < 0
+         error('Requires a positive integer.')
+      end
+      if how_many == 0
+         ptr_fig = 0;
+         while(ptr_fig ~= fig)
+            ptr_fig = get(0,'PointerWindow');
+         end
+         scrn_pt = get(0,'PointerLocation');
+         loc = get(fig,'Position');
+         pt = [scrn_pt(1) - loc(1), scrn_pt(2) - loc(2)];
+         out1 = pt(1); y = pt(2);
+      elseif how_many < 0
+         error('Argument must be a positive integer.')
+      end
+   end
+   
+   % Suspend axes functions
+       %haxes = findobj(fig,'type','axes');
+        state = uisuspend(fig);
+   %haxes = findobj(fig,'type','axes');
+   %state = uisuspend(haxes);
+   pointer = get(gcf,'pointer');
+   set(gcf,'pointer',strpointertype);  % modified MYGINPUT
+   fig_units = get(fig,'units');
+   char = 0;
+
+   % We need to pump the event queue on unix
+   % before calling WAITFORBUTTONPRESS 
+   drawnow
+   
+   while how_many ~= 0
+      % Use no-side effect WAITFORBUTTONPRESS
+      waserr = 0;
+      try
+	keydown = wfbp;
+      catch
+	waserr = 1;
+      end
+      if(waserr == 1)
+         if(ishandle(fig))
+            set(fig,'units',fig_units);
+	    uirestore(state);
+            error('Interrupted');
+         else
+            error('Interrupted by figure deletion');
+         end
+      end
+      
+      ptr_fig = get(0,'CurrentFigure');
+      if(ptr_fig == fig)
+         if keydown
+            char = get(fig, 'CurrentCharacter');
+            button = abs(get(fig, 'CurrentCharacter'));
+            scrn_pt = get(0, 'PointerLocation');
+            set(fig,'units','pixels')
+            loc = get(fig, 'Position');
+            pt = [scrn_pt(1) - loc(1), scrn_pt(2) - loc(2)];
+            set(fig,'CurrentPoint',pt);         
+         else
+            button = get(fig, 'SelectionType');
+            if strcmp(button,'open') 
+               button = 1;
+            elseif strcmp(button,'normal') 
+               button = 1;
+            elseif strcmp(button,'extend')
+               button = 2;
+            elseif strcmp(button,'alt') 
+               button = 3;
+            else
+               error('Invalid mouse selection.')
+            end
+         end
+         pt = get(gca, 'CurrentPoint');
+         
+         how_many = how_many - 1;
+         
+         if(char == 13) % & how_many ~= 0)
+            % if the return key was pressed, char will == 13,
+            % and that's our signal to break out of here whether
+            % or not we have collected all the requested data
+            % points.  
+            % If this was an early breakout, don't include
+            % the <Return> key info in the return arrays.
+            % We will no longer count it if it's the last input.
+            break;
+         end
+         
+         out1 = [out1;pt(1,1)];
+         y = [y;pt(1,2)];
+         b = [b;button];
+      end
+   end
+   
+   uirestore(state);
+   set(fig,'units',fig_units);
+   
+   if nargout > 1
+      out2 = y;
+      if nargout > 2
+         out3 = b;
+      end
+   else
+      out1 = [out1 y];
+   end
+   
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+function key = wfbp
+%WFBP   Replacement for WAITFORBUTTONPRESS that has no side effects.
+
+fig = gcf;
+current_char = [];
+
+% Now wait for that buttonpress, and check for error conditions
+waserr = 0;
+try
+  h=findall(fig,'type','uimenu','accel','C');   % Disabling ^C for edit menu so the only ^C is for
+  set(h,'accel','');                            % interrupting the function.
+  keydown = waitforbuttonpress;
+  current_char = double(get(fig,'CurrentCharacter')); % Capturing the character.
+  if~isempty(current_char) & (keydown == 1)           % If the character was generated by the 
+	  if(current_char == 3)                       % current keypress AND is ^C, set 'waserr'to 1
+		  waserr = 1;                             % so that it errors out. 
+	  end
+  end
+  
+  set(h,'accel','C');                                 % Set back the accelerator for edit menu.
+catch
+  waserr = 1;
+end
+drawnow;
+if(waserr == 1)
+   set(h,'accel','C');                                % Set back the accelerator if it errored out.
+   error('Interrupted');
+end
+
+if nargout>0, key = keydown; end
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/pickdata.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/pickdata.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/pickdata.m	(revision 17)
@@ -0,0 +1,104 @@
+function [x,y,h] = pickdata(varargin)
+%PICKDATA   Picks data from the active curve.
+%   [X,Y] = PICKDATA returns the data (X,Y) from the active curve. If
+%   several curves are present and none is selected, the first one is
+%   picked (see FITPARAM to change this default setting).
+%
+%   Specific feature for Matlab >= 7.6 : If some data are "brushed", return
+%   only those "brushed" data.
+%
+%   [X,Y] = PICKDATA(H) returns the data (X,Y) of the curve specified by
+%   the handle H (eg, GCF, GCO etc). GCF, the current figure, is taken by
+%   default.
+%
+%   For histograms, the X data are taken at the middle of the bins.
+%
+%   [X,Y,H] = PICKDATA(...) also returns the handle to the current curve.
+%
+%   See also SHOWFIT, EZFIT.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.20,  Date: 2008/03/14
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/05/31: v1.00, first version.
+% 2006/02/23: v1.01, better check if a current figure exists.
+% 2006/03/07: v1.02, also works with histogram plots.
+% 2006/07/06: v1.03, pick the first or last curve, according to the
+%                    variable fp.whichpickdata in fitparam.m
+% 2006/10/18: v1.10, new parameter fp ; now takes the mean for x for hist
+% 2008/03/14: v1.20 : uses the 'BrushData' field of Matlab 7.6 (for
+% EzyFit >=2.30)
+
+
+hf=get(0,'CurrentFigure');
+if isempty(hf)
+    error('EzyFit:pickdata:InvalidInput', 'No active figure.');
+end
+
+h=gco;
+if nargin==1
+    if ishandle(varargin{1}),
+        h=varargin{1};
+    elseif isstruct(varargin{1})
+        fp=varargin{1};
+    end
+elseif nargin==2
+    h=varargin{1};
+    fp=varargin{2};
+end
+
+if ~exist('fp','var')
+    % loads the default fit parameters:
+    try
+        fp=fitparam;
+    catch
+        error('No fitparam file found.');
+    end
+end
+
+co=get(h); % search for active curve
+
+% if no active curve, take the 1st curve of the active fig.
+if ((isempty(co)) || (~isfield(co,'XData'))),
+    ha=get(gcf,'CurrentAxes');
+    if ~isempty(ha),
+        ca=get(ha);
+        if ~isempty(ca.Children),
+            if strcmp(fp.whichpickdata,'first'), % new v1.03
+                h=ca.Children(end);  % (end) is the first curve
+            else
+                h=ca.Children(1);  % (1) is the last curve
+            end
+            co=get(h); 
+        else
+            error('EzyFit:pickdata:InvalidInput', 'No curve in the active figure.');
+        end
+    else
+        error('EzyFit:pickdata:InvalidInput', 'No axis in the active figure.');
+    end
+end
+
+x=co.XData;
+y=co.YData;
+% New v1.20 : uses the 'BrushData' field of Matlab 7.6 (for EzyFit >=2.30)
+if isfield(co,'BrushData')
+    if any(co.BrushData)
+        x=x(co.BrushData==1);
+        y=y(co.BrushData==1);
+    end
+end
+
+%new v1.02: if the data originates from an histogram plot,
+%keeps only the 2nd (or 3rd) row:
+if size(x,1)~=1,
+    x = (x(2,:)+x(3,:))/2;  % changed v1.10
+    y=y(2,:);
+end
+
+if nargout==0
+    x
+    y
+    clear x y;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/plotsample.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/plotsample.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/plotsample.m	(revision 17)
@@ -0,0 +1,191 @@
+function [x,y]=plotsample(opt,varargin)
+%PLOTSAMPLE  Display a sample plot.
+%   PLOTSAMPLE displays some noisy sample data. Try to fit the data with
+%   SHOWFIT or SELECTFIT, following the instructions given in the command
+%   window. The sample data is chosen randomly among the 10 predefined
+%   plots described below.
+%
+%   PLOTSAMPLE is also available from the item 'Plot Sample' of the EzyFit
+%   menu (see EFMENU).
+%
+%   PLOTSAMPLE(OPT)  specifies the sample plot:
+%     'power':   noisy power law
+%     'linear':  noisy data to be fitted by a linear function
+%     'osc':     oscillations
+%     'damposc': damped oscillations
+%     'cste':    noisy constant
+%     'exp':     noisy exponential decay
+%     'hist':    histogram of 1000 realizations of a random variable
+%     'hist2':   histogram with two gaussian peaks.
+%     'powco':   noisy power law with an exponential cut-off.
+%     'poly2':   3 curves to be fitted by a 2nd order polynomial fit
+%
+%   PLOTSAMPLE(N) specifies the number of the sample plot (1 to 10).
+%
+%   PLOTSAMPLE(...,'fit') also displays the fit.
+%   PLOTSAMPLE(...,'nodisp') does not display the help text in the command
+%   window.
+%
+%   [X,Y] = PLOTSAMPLE(...) also returns the sample data (this is
+%   equivalent to PLOTSAMPLE; [X,Y] = PICKDATA;).
+%
+%   Example:
+%       plotsample power fit
+%       (it shows a power law and fits it).
+%
+%   See also SHOWFIT, EZFIT, PICKDATA, EFMENU.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.36,  Date: 2009/09/12
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/10/17: v1.00, first version.
+% 2005/10/31: v1.10, option added. output argument (x,y).
+% 2005/11/02: v1.11, another plot sample.
+% 2005/12/06: v1.20, displays the Ezyfit menu.
+% 2005/12/13: v1.21, displays the text with a matlab link
+% 2006/02/03: v1.30, fits with free parameter names; new plot samples.
+% 2006/02/10: v1.31, also clears the annotation objects
+% 2006/02/16: v1.32, fits with free lhs 'y(x)=...'. Simpler plot title.
+%                    option fitmode added.
+% 2006/03/08: v1.33, the figure is not reset any more; this caused bugs
+%                    with insert line.
+% 2006/09/05: v1.34, bug in the help text fixed.
+% 2006/10/29: v1.35, 'hist' now plots a true histogram plot
+% 2007/09/12: v1.36, new option 'nodisp' and minor changes
+
+error(nargchk(0,2,nargin));
+
+rmfit; % remove previous fits
+
+listopt = {'power','linear','osc','damposc','cste','exp','hist','hist2','powco','poly2'};
+nsample = length(listopt);
+
+if nargin==0
+    opt=floor(nsample*rand+1);
+end
+
+if isnumeric(opt)
+    opt=listopt{max(1,min(opt,nsample))};
+end
+
+switch lower(opt)
+    case 'power'
+        np = 10+round(50*rand);
+        x=logspace(1,3,np)*exp((rand-0.5)*6);
+        x=(1 + 0.3*(rand(1,np)-0.5)).*x;
+        expo = (0.5+rand*2)*sign(rand-0.5);
+        y=exp((rand-0.5)*6)*rand*(1 + .5*(rand(1,np)-0.5)).*x.^expo;
+        loglog(x, y, 'bo');
+        axisl
+        xlabel('x'); ylabel('y');
+        f='power';
+        txtl=['Try to fit with <a href="matlab:showfit(''' f ''')">showfit(''' f ''')</a>'];
+    case 'linear'
+        x=linspace(0,12,20);
+        y=(rand*1.4+0.9)*x+(rand-0.5)*20;
+        x=x+(rand(1,20)-.5)*1.2;
+        y=y+(rand(1,20)-.5)*1.6;
+        plot(x,y,'ks');
+        xlabel('x'); ylabel('y');
+        f='affine';
+        txtl='Try to fit with <a href="matlab:showfit(''poly1'')">showfit(''poly1'')</a> or <a href="matlab:showfit(''affine'')">showfit(''affine'')</a>';
+    case 'osc'
+        np = 200 + round(600*rand);
+        x=linspace(0,40,np);
+        y=2*rand+(2*rand+1)*(1+0.2*rand(1,np)).*sin(rand + x/(1+.1*rand));
+        plot(x,y,'b.');
+        xlabel('t (seconds)'); ylabel('U(t) [Volts]');
+        f='U(t)=U_0+A*sin(omega*t + phi); U_0=1; omega=1; A=2; phi=0.5';
+        txtl=['Try to fit with <a href="matlab:showfit(''' f ''')">showfit(''' f ''')</a>'];     
+    case 'damposc'
+        np = 200 + round(600*rand);
+        x=linspace(0,40,np);
+        y=2*rand+(2*rand+1)*(1+0.7*rand(1,np)).*sin(x/(1+.3*rand)).*exp(-x/(8+.3*rand));
+        plot(x,y,'b.');
+        xlabel('t (seconds)'); ylabel('U(t) [Volts]');
+        f='U(t)=offset+U_0*sin(2*pi*t/T)*exp(-t/tau_0); offset=1; T=5; U_0=2; tau_0=10';
+        txtl=['Try to fit with <a href="matlab:showfit(''' f ''')">showfit(''' f ''')</a>'];
+    case 'cste'
+        x=linspace(0,20,20);
+        y=(rand+.5)*11.1+(rand(1,20)-.5)*(rand+1)*1.3;
+        x=x+(rand(1,20)-.5)*.7;
+        plot(x,y,'ro');
+        axis([0 20 0 1.3*max(y)]);
+        xlabel('x'); ylabel('y');
+        f='cste';
+        txtl='Try to fit with <a href="matlab:showfit(''cste'')">showfit(''cste'')</a> or <a href="matlab:showfit(''affine'')">showfit(''affine'')</a>';
+    case 'exp'
+        np=15+round(rand*30);
+        x=linspace(0,10+round(20*rand),np);
+        y=(rand+0.5)*3*exp(-x/(3.8*rand+2));
+        x=abs(x+(rand(1,np)-.5)*.7);
+        y=abs(y+(rand(1,np)-.5)*0.05);
+        plot(x,y,'k*');
+        xlabel('t (s)'); ylabel('N(t)');
+        f='N(t)=N_0*exp(-t/tau)';
+        txtl=['Try to fit with <a href="matlab:showfit(''' f ''')">showfit(''' f ''')</a>'];
+    case 'hist'
+        np = 300 + round(3000*rand);
+        a=ones(1,np);
+        for i=1:np
+            a(i)=rand+rand+rand+rand+rand+rand+rand+rand-4;
+        end;
+        a=a+(rand-0.5)*2;  % shift the center
+        x=linspace(-5,5,15+round(rand*100));
+        scal=exp(8*(rand-0.5));
+        hist(a*scal,x*scal);
+        xlabel('x'); ylabel('hist');
+        f='gauss';
+        txtl=['Try to fit with <a href="matlab:showfit(''' f ''')">showfit(''' f ''')</a>'];
+    case 'hist2'
+        np = 7000 + round(rand*3000);
+        a=ones(1,np);
+        for i=1:round(np/3),
+            a(i)=(rand+rand+rand+rand+rand+rand+rand+rand)/2+5;
+        end;
+        for i=(round(np/3)+1):np,
+            a(i)=(rand+rand+rand+rand+rand+rand+rand+rand)*1.7+8;
+        end;
+        a((np+1):(np+500))=rand(1,500)*20;
+        x=linspace(0,20,400+round(rand*100));
+        y=hist(a,x);
+        plot(x,y,'r+');
+        xlabel('x'); ylabel('hist');
+        f='a_1*exp(-(x-m_1)^2/(2*s_1^2))+a_2*exp(-(x-m_2)^2/(2*s_2^2)); a_1=100; a_2=100; m_1=8; m_2=16';
+        txtl=['Try to fit with <a href="matlab:showfit(''' f ''')">showfit(''' f ''')</a>'];
+    case 'powco'
+        x=logspace(0,3,50);
+        x=(1 + 0.4*(rand(1,50)-0.5)).*x;
+        y=4*rand*(1 + .9*(rand(1,50)-0.5)).*x.^(-(rand+1)).*exp(-x/(100*(rand+.5)));
+        loglog(x, y, 'd');
+        xlabel('k'); ylabel('E(k)');
+        f='E(k)=C*k^(-n)*exp(-k/k_c); log; C=5; n=2; k_c=100';
+        txtl=['Try to fit with <a href="matlab:showfit(''' f ''')">showfit(''' f ''')</a>'];
+    case 'poly2',
+        x=linspace(0,15,20);
+        y=rand*2.2*x+(rand*0.6-0.35)*x.^2+(rand(1,20)-.5)*2.5;
+        y2=rand*2.2*x+(rand*0.6-0.35)*x.^2+(rand(1,20)-.5)*2.5;
+        y3=rand*2.2*x+(rand*0.6-0.35)*x.^2+(rand(1,20)-.5)*2.5;
+        plot(x,y,'bo',x,y2,'rs',x,y3,'md');
+        xlabel('x'); ylabel('y');
+        f='poly2';
+        txtl=['Click on a curve, and try to fit with <a href="matlab:showfit(''' f ''')">showfit(''' f ''')</a>'];
+    otherwise
+        error('Invalid plotsample option.');
+end;
+title('Sample data');
+efmenu;
+
+if any(strcmpi(varargin,'fit'))
+    showfit(f);    
+else
+    if ~any(strncmpi(varargin,'nodisp',2))  % new v1.36
+        disp(txtl);
+    end
+end
+
+if nargout==0
+    clear x y
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/delseldata.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/delseldata.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/delseldata.m	(revision 17)
@@ -0,0 +1,23 @@
+function delseldata
+%DELSELDATA  Delete points inside a polygon
+%   DELSELDATA selects part of the current curve by drawing a lasso, and
+%   deletes all the points that are inside the polygon (this operation is
+%   irreversible). 
+%
+%   DELSELDATA is a shortcut for SELECTDATA('delete').
+%
+%   See also SELECTDATA, PICKDATA, SELECTFIT.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.10,  Date: 2007/09/19
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/11/02: v1.00, fitst version
+% 2007/09/19: v1.10, now based on D'Errico's selecdata
+
+h=gco;
+listhandle=get(gca, 'Children');
+ignorehandle=listhandle(listhandle~=h);
+selectdata('action','delete','ignore',ignorehandle);
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/eq2ml.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/eq2ml.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/eq2ml.m	(revision 17)
@@ -0,0 +1,72 @@
+function [eqml,param]=eq2ml(eq,xvar)
+%EQ2ML Convert a free parameter equation to a Matlab equation
+%   [EQML, PARAM] = EQ2ML(EQ,XVAR) converts the free-parameter equation
+%   string EQ into a Matlab equation string for further evaluation with
+%   EVAL or FMINSEARCH, in which the free parameters are replaced by 'm(1)',
+%   'm(2)' (in alphabetical order) and the 'x' variable XVAR is replaced by
+%   'x__ref'. The names of the parameters are returned in the cell array
+%   PARAM. If XVAR is not specified, 'x' is taken by default. In addition,
+%   the equation string is 'vectorized' (i.e. '*', '/' and '^' are replaced
+%   by '.*', './', '.^').
+%
+%   Example:  [eqml, param] = eq2ml('c+t_0/t','t')
+%      returns 'm(1)+m(2)./x__ref' and {'c','t_0'}
+%
+%   See also EZFIT, SELECTFIT, SHOWFIT.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.11,  Date: 2006/03/10
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/02/06: v1.00, first version.
+% 2006/02/13: v1.10, free 'x' variable name.
+% 2006/03/10: v1.11, an empty cell array is returned if no param present.
+
+
+if nargin==1,
+    xvar='x';
+end
+
+% equation in the matlab syntax (parameters named m(1), m(2)...)
+eqml = strrep(eq,' ',''); 
+
+% param0 contains all variables, including the 'x' variable;
+% param contains only the parameters of the fit, excluding the 'x'
+% variable.
+
+param0=argnames(inline(eqml));
+param={};
+maxm=0;
+for i=1:length(param0),
+    if ~(strcmp(param0{i},xvar)),       
+        maxm = maxm+1;
+        param{maxm} = param0{i};
+    end
+end
+
+
+% makes the replacement:
+% (before replacing a parameter by 'm(i)', first check
+% that the token actually consists in a group of characters
+% separated by delimiters. the list of token has to be
+% re-computed after each replacement).
+
+[posword,word] = findword(eqml);
+for i=1:maxm,
+    for j=length(word):-1:1,
+        if strcmp(word{j}, param{i}),
+            eqml = [eqml(1:(posword(j)-1)) '#(' num2str(i) ')' eqml((posword(j)+length(param{i})):end)];
+        elseif strcmp(word{j}, xvar),
+            eqml = [eqml(1:(posword(j)-1)) 'x__ref' eqml((posword(j)+length(xvar)):end)];
+        end
+    end
+    [posword,word] = findword(eqml);
+end
+eqml=strrep(eqml,'#','m'); % replace by '#(xx)', and after by 'm(xx)', so that
+                           % the letter 'm' can be used as a parameter
+                           % name too.
+
+% inserts a '.' before any '^', '*' or '/' 
+eqml=vectorize(eqml);
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/findword.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/findword.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/findword.m	(revision 17)
@@ -0,0 +1,29 @@
+function [posword,word] = findword(inputstr,delim)
+%FINDWORD   List of words
+%   [POS,WORD] = FINDWORD(INPUTSTR,DELIM) returns all the 'words'
+%   (= group of characters separated by delimiters) and their position in
+%   the string INPUTSTR. POS is an array, and WORD a cell array of strings.
+%
+%   F. Moisy
+%   Revision: 1.02,  Date: 2012/07/08
+%
+%   See also SHOWEQBOX, EQ2ML.
+
+
+% History:
+% 2006/02/08: v1.00, first version (was a subfunction of showeqbox)
+% 2006/02/17: v1.01, independent m-file.
+% 2012/07/08: v1.02, add ',' in the list of delimiters (thanks Patrick)
+
+
+
+if nargin==1
+    delim='+-*/^()=,'; 
+end
+rem=inputstr;
+nw=0;
+while ~isempty(strtok(rem,delim))
+    nw=nw+1;
+    [word{nw}, rem] = strtok(rem,delim);
+    posword(nw) = length(inputstr)-length(rem)-length(word{nw})+1;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/greekize.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/greekize.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/greekize.m	(revision 17)
@@ -0,0 +1,39 @@
+function str=greekize(inputstr)
+%GREEKIZE   Greekize a string
+%
+%   F. Moisy
+%   Revision: 1.01,  Date: 2006/02/17
+%
+%   See also SHOWEQBOX.
+
+
+% History:
+% 2006/02/08: v1.00, first version (was a subfunction of showeqbox)
+% 2006/02/17: v1.01, independent m-file.
+
+
+greek={'alpha','beta','gamma','delta','epsilon','zeta','eta',...
+    'theta','vartheta','iota','kappa','lambda','mu','nu','xi','pi','varpi',...
+    'rho','sigma','varsigma','tau','upsilon','phi','chi','psi','omega',...
+    'Gamma','Delta','Theta','Lambda','Xi','Pi','Sigma','Upsilon','Phi',...
+    'Psi','Omega'};
+
+str=strrep(inputstr,' ','');
+[posword,word] = findword(str,'+-*/^()=_'); % ('_' added, to interpret subscripted greek letters)
+for n=1:length(greek),
+    if ~isempty(strmatch(greek{n},word)),
+        % greekize only if the greek letter is a parameter
+        % (ie, do NOT greekize 'peta' in 'p\eta')
+        str=strrep(str,greek{n},['\' greek{n}]);
+    end;
+end;
+
+% various latex replacements:
+str=strrep(str,'*',' '); % use '\cdot' or '\times' or ' ' here
+str=strrep(str,'/',' / ');
+str=strrep(str,'+-','-');
+str=strrep(str,'+',' + ');
+str=strrep(str,'-',' - ');
+str=strrep(str,'^','\^');
+str=strrep(str,'=',' = ');
+str=strrep(str,'  ',' ');
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/makedoc_ef.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/makedoc_ef.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/makedoc_ef.m	(revision 17)
@@ -0,0 +1,24 @@
+%MAKEDOC_EF  Generate the HTML help files for the EzyFit toolbox
+%   (internal use only - 19 oct 2006)
+
+curdir = pwd;
+
+cd ..
+
+try
+    makehtmldoc('*.m', 'upper', 'noad', 'quiet',...
+        'title', '\f (Ezyfit Toolbox)',...
+        'firstline', 'EzyFit Function Reference',...
+        'lastline', '2005-2012 <a href="ezyfit.html">EzyFit Toolbox 2.41</a>');
+
+    delete Contents.html;
+
+    movefile *.html html;
+    
+    cd(curdir);
+catch
+    cd(curdir);
+    error('makehtmldoc not found.'); 
+end
+
+clear curdir
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/selectdata.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/selectdata.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/selectdata.m	(revision 17)
@@ -0,0 +1,1282 @@
+function [pointslist,xselect,yselect] = selectdata(varargin)
+% selectdata: graphical selection of data points on a plot using the mouse
+% usage: pointslist = selectdata         % uses all default options
+% usage: pointslist = selectdata(prop1,val1,prop2,val2,...)
+%
+% SELECTDATA allows the user to select data points on a given plot
+% using the mouse, in a variety of modes. 'Lasso' mode allows the
+% selection by a user directed lasso around the points. 'Brush' mode
+% selects points as you brush over them with the mouse. 'Rect' mode
+% draws a rectangle, selecting any points inside the rectangle.
+% 'Closest' mode looks for a aingle mouse click, finding the closest
+% point to the mouse.
+%
+% Returned is a list of the point indexes selected, additionally you
+% can specify that the points be deleted from the plot.
+%
+% Arguments: (input)
+%  The input arguments to SELECTDATA are all property/value pairs.
+%  (See PARSE_PV_PAIRS for more details.)
+%  http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=9082&objectType=FILE
+% 
+%  Property names and character values can be shortened as long as
+%  the shortening is unambiguous. Capitalization is ignored.
+%
+%  Valid Properties: 'Action', 'Axes', 'BrushSize', 'Identify',
+%           'Ignore' , 'Pointer', 'SelectionMode'
+%
+%  'Action' - {'list', 'delete'}
+%           'delete' causes the selected points to be deleted from
+%           the figure after their selection is final.
+%
+%           DEFAULT VALUE: 'List'
+%
+%  'Axes' - denotes the axes from which to select points
+%
+%           DEFAULT VALUE: gca
+%  
+%  'BrushShape' - {'rect', 'circle'}
+%
+%           DEFAULT VALUE: 'circle'
+%
+%           Sets the shape of the brush to be used. Both brush
+%           shapes are relative to the figure axes, so a nominally
+%           "circular" brush is actually elliptical if the axis
+%           units/lengths are unequal.
+%
+%           Only used when SelectionMode is 'brush'.
+%
+%  'BrushSize' - Only used when SelectionMode is 'brush'.
+%
+%           DEFAULT VALUE: 0.05
+%
+%           The default value will specify a rectangular brush
+%           that has dimensions of 5% of the current axes. Note
+%           that on a set of square axes, the brush will always
+%           look square, even if the axes have very different
+%           units.
+%
+%           0 < brushsize <= 0.25
+%
+%  'Identify' - {'on', 'off'}
+%           Causes the selected points to be temporarily over-plotted
+%           with a new filled red marker ('o') as they are selected.
+%
+%           Points selected with a lasso, or rect may be deselected
+%           as the tool is modified. Brush selections are cumulative.
+%
+%           DEFAULT VALUE: 'on'
+%
+%  'Ignore' - a data handle, or []
+%
+%           A list of data handles to be ignored. This allows you to
+%           use selectdata on only some sets of points, while others
+%           in the same figure are ignored. This is a useful option
+%           when you may have plotted some data points but also a
+%           curve fit through your data. You can then cause the plotted
+%           curve to be ignored by selectdata.
+%
+%           DEFAULT VALUE: []
+%
+%  'Label' - {'off', 'on'}
+%
+%           Causes text labels with their (x,y) coordinates to appear
+%           next to each point selected.
+%
+%           Beware that selecting large numbers of points and creating
+%           and displaying the label for them can be time consuming.
+%           This option is a great one for single point selection,
+%           but I have seen system-related problems when rapidly
+%           selecting & deselecting large numbers of points with the
+%           rect tool.
+%
+%           DEFAULT VALUE: 'off'
+%
+%  'Pointer' - {'crosshair' | 'fullcrosshair' | 'arrow' | 'ibeam' |
+%           'watch' | 'topl' | 'topr' | 'botl' | 'botr' | 'left' |
+%           'top' | 'right' | 'bottom' | 'circle' | 'cross' | 'fleur' |
+%           'hand' }
+%
+%           Changes the cursor pointer while selection is active.
+%           After selection terminates, the figure pointer is
+%           restored to its old setting.
+%
+%           DEFAULT VALUE: 'crosshair'
+%
+%  'Return' - {'selected' | 'unselected' }
+%
+%           Selection of data points, perhaps if used to indicate
+%           outliers in data, would normally return that set of 
+%           points selected. But some users may prefer to see the
+%           list of points returned to be those points which were
+%           NOT selected.
+%
+%           DEFAULT VALUE: 'selected'
+%
+%  'SelectionMode' - {'Lasso', 'Brush', 'Rect', 'Closest'}
+%
+%           DEFAULT VALUE: 'Lasso'
+%
+%           If 'Brush' is used, then the brush will be a rectangular
+%           brush, with a size as defined by the 'BrushSize' property. 
+%           The brush will be centered at the current mouse coordinates.
+%           Brush size will be a fraction of the axis limits for the
+%           current axes. Click inside the axes, then drag the "brush"
+%           around. Any points the brush crosses over will be selected.
+%
+%           If 'Lasso' is chosen, then click inside the axes to define
+%           one end of the lasso, then drag with the mouse still down,
+%           causing the mouse to define a general curvilinear region.
+%           The polygon will close automatically when the mouse button
+%           is released. A point is "inside" the lasso if inpolygon
+%           identifies it as so. BEWARE of convoluted lassos that
+%           intersect themselves.
+%
+%           If 'Rect' is chosen, then click inside the axes to define
+%           one corner of the rect, dragging to specify the opposite
+%           corner, just as rbbox would do.
+%
+%           If 'Closest' was chosen, then a single mouse click in the
+%           figure window is used, then that point which is closest in
+%           in Euclidean distance (in window units) is chosen. You
+%           can move the cursor around (don't release the mouse until
+%           you are done) and the currently selected point will be
+%           highlighted.
+%
+%  'Verify' - { 'off' | 'on' }
+%
+%           If set to 'on', this causes a dialog box to pop up after
+%           selection. The user can then acccept the selection, redo
+%           it, or cancel out, causing no points to be selected.
+%
+%           Note, if cancel is chosen from the dialog, and 'return'
+%           was specify to return those points 'unselected', then ALL
+%           the points will actually be returned.
+%
+%           DEFAULT VALUE: 'off'
+%
+%
+% Note: other properties are available for use, but I've chosen to
+% leave them semi-hidden because they don't seem terribly useful to
+% most users. These properties allow you to specify the colors of the
+% selection tool itself, the colors of the selected point markers,
+% the transparency of the selection tool, the marker itself, etc.
+% Default values for these parameters are:
+%
+%           FlagMarker    = 'o'
+%           FlagColor     = 'r'
+%           Fill          = 'on'
+%           FillColor     = 'y'
+%           FillEdgeColor = 'b'
+%           FillTrans     = 0.5
+%           MaxBrush      = 0.25
+%           RemoveTool    = 'on'
+%           RemoveFlagged = 'on'
+%           RemoveLabels  = 'on'
+%
+% Further documentation on these parameters can be found by editting
+% selectdata.m itself.
+%
+%
+% Arguments: (output)
+%  pointslist - list of points that were selected. If only one
+%           dataset was found, then points list is a simple vector.
+%           If multiple sets of points were found in the axes, then
+%           points list will be a cell array.
+%
+%           NOTE: Each set of points is peeled off the stach in the
+%           matlab stores it.
+%
+%  xselect - array (or cell array) containing the x coordinates of
+%           those points identified in the selection
+%
+%  yselect - array (or cell array) containing the y coordinates of
+%           those points identified in the selection
+%
+%
+% Example:
+%  Plot a set of points, then select some with the mouse
+%  using a rectangular brush, return the indices of those
+%  points selected. (Note: user interaction on the plot
+%  will be necessary.)
+%
+%    x = 0:.1:1;
+%    y = x.^2;
+%    plot(x,y,'o')
+%    pl = selectdata('selectionmode','brush');
+%  
+% Example:
+%  Select a single point with the mouse, then delete that
+%  selected point from the plot.
+%
+%    pl = selectdata('selectionmode','closest','action','delete');
+%
+% Example:
+%  Select some points using a rect(rbbox) tool, also return
+%  the (x,y) coordinates from multiple curves plotted. Use
+%  shortened versions of the properties and values.
+%  
+%    plot(rand(5,2),rand(5,2),'o')
+%    [pl,xs,ys] = selectdata('sel','r');
+%  
+% Example:
+%  Plot a curve and some data points on one plot, select
+%  some points from the data plotted, but ignore the
+%  smooth curve, even if the lasso passes over it.
+%    x = 0:.01:1;
+%    y = exp(x);
+%    ynoisy = y + randn(size(y))/2;
+%    h1 = plot(x,y,'-');
+%    hold on
+%    h2 = plot(x,ynoisy,'o');
+%    [pl,xs,ys] = selectdata('sel','lasso','ignore',h1);
+%
+% See also:
+%
+%
+% Author: John D'Errico
+% E-mail: woodchips@rochester.rr.com
+% Release: 3.0
+% Release date: 2/19/07
+
+% defaults for the parameters
+params.Axes = gca;
+params.SelectionMode = 'lasso';
+params.Action = 'list';
+params.BrushShape = 'circle';
+params.BrushSize = .05;
+params.Identify = 'on';
+params.Ignore = [];
+params.Pointer = 'cross';
+params.Return = 'selected';
+params.Verify = 'off';
+params.Label = 'off';
+
+% Undocumented options, also unchecked for validity.
+% These parameters control the marker used to identify
+% those points which are currently selected.
+% FlagMarker must be a valid plot marker, FlagColor
+% must be a valid color spec. The default values are...
+params.FlagMarker = 'o';
+params.FlagColor = 'r';
+
+% More (unchecked) options that are yours to fiddle with
+% (or not.) These control the fill color to be applied
+% to the interior of the lasso, rect, and brush. Also
+% controlled are the degree of transparency to be applied.
+params.Fill = 'on';
+params.FillColor = 'y';
+params.FillEdgeColor = 'b';
+params.FillTrans = 0.5; % must be in the interval [0,1]
+
+% The maximum relative brushsize allowed is also
+% controlled here, just in case I ever wanted to allow
+% the brush to be a bit larger.
+params.MaxBrush = 0.25;
+
+% After selection has been accomplished, the flagged points
+% and the selection tool itself are normally deleted. But
+% in some circumstances it may be useful to not delete
+% those objects. 'off' will cause these objects to remain.
+params.RemoveTool = 'on';
+params.RemoveFlagged = 'on';
+params.RemoveLabels = 'on';
+
+% save this to restore later
+axissize = axis;
+
+% process any Property/value pairs.
+if nargin>0
+  params = parse_pv_pairs(params,varargin);
+end
+
+% check the supplied parameters for validity
+params = check_params(params);
+
+% bring the focus to the figure containing the
+% designated axes
+fighandle = get(params.Axes,'parent');
+figure(fighandle)
+
+% get the current figure pointer, so we can
+% restore it later on
+oldpointer = get(fighandle,'Pointer');
+
+% extract xdata and ydata from the specified axes
+% get the children of the axes
+hc = get(params.Axes,'children');
+
+% are any of the data handles to be ignored?
+if ~isempty(params.Ignore)
+  hc = setdiff(hc,params.Ignore);
+end
+
+% strip out xdata and ydata
+xdata = get(hc,'xdata');
+ydata = get(hc,'ydata');
+
+% if we must highlight the points as they are
+% selected, then for efficiency we need to know
+% how many we may expect.
+flaghandle = [];
+if ~iscell(xdata)
+  xdata = xdata(:);
+  ydata = ydata(:);
+  % total number of data points
+  npoints = length(xdata);
+else
+  for i = 1:length(xdata)
+    xdata{i} = xdata{i}(:);
+    ydata{i} = ydata{i}(:);
+  end
+  % total number of data points
+  npoints = cellfun('length',xdata);
+end
+
+% for textlabels if desired
+texthandles = [];
+
+% set up a while loop in case we need to verify
+% satisfaction
+selectionflag = true;
+
+while selectionflag
+  % and the total number currently selected
+  nsel = 0;
+  
+  % what SelectionMode was specified
+  switch params.SelectionMode
+    case 'closest'
+      % Find the single closest point (in Euclidean distance)
+      % to the mouse click
+      
+      % set the figure pointer
+      if ~isempty(params.Pointer)
+        set(fighandle,'Pointer',params.Pointer)
+      end
+      
+      % mouse click?
+      waitforbuttonpress;
+      
+      % Button Motion and Button Up
+      set(fighandle,'WindowButtonMotionFcn',@CPmotion);
+      set(fighandle,'WindowButtonUpFcn',@selectdone);
+      
+      % dx, dy to scale the distance
+      dx = (axissize(2) - axissize(1));
+      dy = (axissize(4) - axissize(3));
+      
+      % current closest point is
+      cc = get(gca,'CurrentPoint');
+      xy = cc(1,1:2);
+      
+      % what point was closest?
+      [pointslist,xselect,yselect] = closestpoint(xy,xdata,ydata,dx,dy);
+      nsel = 1;
+      
+      % identify any points?
+      if strcmp(params.Identify,'on')
+        flagpoints
+      end
+      
+      % label them?
+      if strcmp(params.Label,'on')
+        maketextlabels
+      end
+      
+      % selecthandle is not needed for this mode op operation
+      selecthandle = [];
+      
+      % wait until the mouse button was released
+      uiwait
+      
+      % ....
+      
+      % resume.
+      
+      % all we need to do here is restore the figure pointer
+      % if we changed it before
+      if ~isempty(params.Pointer)
+        set(fighandle,'Pointer',oldpointer)
+      end
+      
+    case 'rect'
+      % Selection rect as a polygon
+
+      % mouse click?
+      waitforbuttonpress;
+
+      % set the figure pointer
+      if ~isempty(params.Pointer)
+        set(fighandle,'Pointer',params.Pointer)
+      end
+
+      % button down detected
+      cc = get(gca,'CurrentPoint');
+      rectxy1 = cc(1,1:2);
+      rectxy2 = rectxy1 + eps(rectxy1);
+
+      % make a polygon of the box, initially of nil area
+      xv = [rectxy1(1), rectxy2(1), rectxy2(1), rectxy1(1), rectxy1(1)];
+      yv = [rectxy1(2), rectxy1(2), rectxy2(2), rectxy2(2), rectxy1(2)];
+
+      % no points should been selected
+      [pointslist,xselect,yselect,nsel] = testpoly(xv,yv,xdata,ydata);
+
+      % and plot it, filled or not
+      hold on
+      if strcmp(params.Fill,'on')
+        % filled
+        selecthandle = fill(xv,yv,params.FillColor);
+        set(selecthandle,'facealpha',params.FillTrans, ...
+          'linestyle','--','edgecolor',params.FillEdgeColor)
+      else
+        % unfilled
+        selecthandle = plot(xv,yv,'r:');
+      end
+
+      % we can undo the hold now
+      hold off
+
+      % Button Motion and Button Up
+      set(fighandle,'WindowButtonMotionFcn',@rectmotion);
+      set(fighandle,'WindowButtonUpFcn',@selectdone);
+
+      % wait until the selection is done
+      uiwait
+
+      % ....
+
+      % resume.
+
+      % The rect already is a polygon, stored in (xv,yv)
+
+    case 'lasso'
+      % Selection lasso as a polygon
+
+      % mouse click?
+      waitforbuttonpress;
+
+      % set the figure pointer
+      if ~isempty(params.Pointer)
+        set(fighandle,'Pointer',params.Pointer)
+      end
+
+      % button down detected
+      cc = get(gca,'CurrentPoint');
+      xlasso = cc(1,1);
+      ylasso = cc(1,2);
+
+      % form the polygon
+      xv = xlasso;
+      yv = ylasso;
+
+      % and plot it, filled or not
+      hold on
+      if strcmp(params.Fill,'on')
+        % filled
+        selecthandle = fill(xv,yv,params.FillColor);
+        set(selecthandle,'facealpha',params.FillTrans, ...
+          'linestyle','--','edgecolor',params.FillEdgeColor)
+      else
+        % unfilled
+        selecthandle = plot(xv,yv,'r:');
+      end
+
+      % we can undo the hold now
+      hold off
+
+      % Button Motion and Button Up
+      set(fighandle,'WindowButtonMotionFcn',@lassomotion);
+      set(fighandle,'WindowButtonUpFcn',@selectdone);
+
+      % wait until the selection is done
+      uiwait
+
+      % ....
+
+      % resume.
+
+      % The lasso already is a polygon, stored in (xv,yv)
+
+    case 'brush'
+      % paint over the data, with a rectangular brush
+
+      % mouse click?
+      waitforbuttonpress;
+
+      % set the figure pointer
+      if ~isempty(params.Pointer)
+        set(fighandle,'Pointer',params.Pointer)
+      end
+
+      % button down detected
+      bc = get(gca,'CurrentPoint');
+      brushcenter = bc(1,1:2);
+
+      % dx, dy for the brush
+      bdx = params.BrushSize*(axissize(2) - axissize(1));
+      bdy = params.BrushSize*(axissize(4) - axissize(3));
+
+      if strcmpi(params.BrushShape,'rect')
+        % make the brush polygon as a fixed size rectangle
+        % that we can slide around
+        xv = brushcenter(1) + [-1, 1, 1, -1, -1]*bdx/2;
+        yv = brushcenter(2) + [-1, -1, 1, 1, -1]*bdy/2;
+      else
+        % a circle was specified
+        theta = linspace(0,2*pi,100);
+        xv = cos(theta)*bdx/2 + brushcenter(1);
+        yv = sin(theta)*bdy/2 + brushcenter(2);
+      end
+
+      % draw the initial brush polygon, filled or not
+      hold on
+      if strcmp(params.Fill,'on')
+        % filled
+        selecthandle = fill(xv,yv,params.FillColor);
+        set(selecthandle,'facealpha',params.FillTrans, ...
+          'linestyle','-','edgecolor',params.FillEdgeColor)
+      else
+        % unfilled
+        selecthandle = plot(xv,yv,'r:');
+      end
+      hold off
+
+      % have any points been selected?
+      [pointslist,xselect,yselect,nsel] = testpoly(xv,yv,xdata,ydata);
+
+      % identify any points?
+      if strcmp(params.Identify,'on') && (nsel>0)
+        flagpoints
+      end
+      
+      % label them?
+      if strcmp(params.Label,'on') && (nsel>0)
+        maketextlabels
+      end
+      
+      % Button Motion and Button Up
+      set(fighandle,'WindowButtonMotionFcn',@brushmotion);
+      set(fighandle,'WindowButtonUpFcn',@selectdone);
+
+      % wait until the selection is done
+      uiwait
+
+      % ....
+
+      % resume.
+
+  end
+  
+  % verify?
+  if strcmpi(params.Verify,'on')
+    % pop up a dialog
+    ButtonName = questdlg( ...
+      'Are you satisfied with the points selected?','???', ...
+      'Yes','Redo Selection','Cancel Selection','Yes');
+    
+    switch ButtonName
+      case 'Yes'
+        % we can drop through
+        selectionflag = false;
+        
+      case 'Cancel Selection'
+        % drop out, with nothing selected
+        if ~iscell(xdata)
+          pointslist = [];
+          xselect = [];
+          yselect = [];
+        else
+          for i = 1:numel(xdata);
+            pointslist{i} = [];
+            xselect{i} = [];
+            yselect{i} = [];
+          end
+        end
+        
+        % we can drop through
+        selectionflag = false;
+        
+      case 'Redo Selection'
+        % or try again. The while loop will cycle
+        % until happy or canceled
+        
+    end
+  
+  else
+    % no verification was requested, so we want to
+    % terminate the while loop after only one pass through.
+    selectionflag = false;
+  end
+  
+end
+
+% pointslist and xselect, yselect are already complete.
+% Do we delete the selected points?
+if strcmpi(params.Action,'delete')
+  if ~iscell(xdata)
+    % only one set, so xdata and ydata are not cell arrays
+    
+    % Which points from the data fall in the selection polygon?
+    xdata(pointslist) = [];
+    ydata(pointslist) = [];
+    
+    % drop those points from the plot
+    set(hc,'xdata',xdata,'ydata',ydata)
+  else
+    % it was a cell array, so there were multiple sets.
+    for i = 1:numel(xdata);
+      
+      xdata{i}(pointslist{i}) = [];
+      ydata{i}(pointslist{i}) = [];
+      
+      % drop those points from the plot
+      set(hc(i),'xdata',xdata{i},'ydata',ydata{i})
+    end
+  end
+end
+
+% was 'return' set to be the selected list or the unselected one?
+% Do nothing if 'selected', we are already done.
+if strcmpi(params.Return,'unselected')
+  if ~iscell(xdata)
+    % only one set, so xdata and ydata are not cell arrays
+    pointslist = setdiff((1:npoints)',pointslist);
+    xselect = xdata(pointslist);
+    yselect = ydata(pointslist);
+  else
+    % it was a cell array, so there were multiple sets.
+    for i = 1:numel(xdata);
+      pointslist{i} = setdiff((1:npoints(i))',pointslist{i});
+      
+      xselect{i} = xdata{i}(pointslist{i});
+      yselect{i} = ydata{i}(pointslist{i});
+    end
+  end
+end
+
+
+
+% =====================================================
+%     begin nested functions
+% =====================================================
+function brushmotion(src,evnt) %#ok
+  % nested function for motion of the brush
+  
+  % get the new mouse position
+  mousenew = get(params.Axes,'CurrentPoint');
+  mousenew = mousenew(1,1:2);
+  
+  % make sure the axes are fixed
+  axis(axissize)
+  
+  % how far did it move
+  brushoffset = mousenew - brushcenter;
+  brushcenter = mousenew;
+  
+  xv = xv + brushoffset(1);
+  yv = yv + brushoffset(2);
+  
+  % did we brush over any new points
+  [pl,xselect,yselect,nsel] = testpoly(xv,yv,xdata,ydata);
+  
+  % for a brush, we need to append any selected points to
+  % the already selected list
+  if ~iscell(xdata)
+    % only one set, so xdata and ydata are not cell arrays
+    pointslist = union(pointslist,pl);
+    xselect = xdata(pointslist);
+    yselect = ydata(pointslist);
+    nsel = length(pointslist);
+  else
+    % it was a cell array, so there were multiple sets.
+    for j = 1:numel(pointslist);
+      pointslist{j} = union(pointslist{j},pl{j});  %#ok
+      pointslist{j} = pointslist{j}(:); %#ok
+      
+      if ~isempty(pointslist{j})
+        xselect{j} = xdata{j}(pointslist{j});
+        yselect{j} = ydata{j}(pointslist{j});
+      end
+    end
+    
+    % total of points selected
+    nsel = sum(cellfun('length',pointslist));
+  end
+  
+  % identify any points?
+  if strcmp(params.Identify,'on')
+    flagpoints
+  end
+  
+  % label them?
+  if strcmp(params.Label,'on')
+    maketextlabels
+  end
+  
+  % replot the brush in its new position
+  set(selecthandle,'xdata',xv,'ydata',yv)
+  
+end
+% =====================================================
+
+% =====================================================
+function CPmotion(src,evnt) %#ok
+  % nested function to select the closest point
+  
+  % get the new mouse position
+  mousenew = get(params.Axes,'CurrentPoint');
+  xy = mousenew(1,1:2);
+  
+  % make sure the axes stay fixed
+  axis(axissize)
+  
+  % what point was closest?
+  [pointslist,xselect,yselect] = closestpoint(xy,xdata,ydata,dx,dy);
+  nsel = 1;
+    
+  % identify any points?
+  if strcmp(params.Identify,'on')
+    flagpoints
+  end
+  
+  % label them?
+  if strcmp(params.Label,'on')
+    maketextlabels
+  end
+  
+end
+% =====================================================
+
+% =====================================================
+function rectmotion(src,evnt) %#ok
+  % nested function for expansion or contraction of the rect
+  
+  % get the new mouse position
+  mousenew = get(params.Axes,'CurrentPoint');
+  rectxy2 = mousenew(1,1:2);
+  
+  % make sure the axes are fixed
+  axis(axissize)
+  
+  % update the rect polygon of the box, changing the second corner
+  xv = [rectxy1(1), rectxy2(1), rectxy2(1), rectxy1(1), rectxy1(1)];
+  yv = [rectxy1(2), rectxy1(2), rectxy2(2), rectxy2(2), rectxy1(2)];
+    
+  % did we brush over any new points
+  [pointslist,xselect,yselect,nsel] = testpoly(xv,yv,xdata,ydata);
+  
+  % identify any points?
+  if strcmp(params.Identify,'on')
+    flagpoints
+  end
+
+  % label them?
+  if strcmp(params.Label,'on')
+    maketextlabels
+  end
+    
+  % replot the rect in its new position
+  set(selecthandle,'xdata',xv,'ydata',yv)
+  
+end
+% =====================================================
+
+% =====================================================
+function lassomotion(src,evnt) %#ok
+  % nested function for expansion of the lasso
+  
+  % get the new mouse position
+  mousenew = get(params.Axes,'CurrentPoint');
+  mousenew = mousenew(1,1:2);
+
+  % append the new point on the end of the last lasso
+  xlasso = [xlasso,mousenew(1,1)];
+  ylasso = [ylasso,mousenew(1,2)];
+  
+  % and close it to form the polygon
+  xv = [xlasso,xlasso(1)];
+  yv = [ylasso,ylasso(1)];
+
+  % replot the newly extended lasso
+  set(selecthandle,'xdata',xv,'ydata',yv)
+  
+  % did we enclose any new points?
+  [pointslist,xselect,yselect,nsel] = testpoly(xv,yv,xdata,ydata);
+  
+  % identify any points?
+  if strcmp(params.Identify,'on')
+    flagpoints
+  end
+
+  % label them?
+  if strcmp(params.Label,'on')
+    maketextlabels
+  end
+    
+  % make sure the axes are maintained in size
+  axis(axissize)
+  
+end
+% =====================================================
+
+% =====================================================
+function selectdone(src,evnt) %#ok
+  % nested function for mouse up
+  
+  % do we remove the selection tool?
+  if strcmpi(params.RemoveTool,'on')
+    % delete the selection object from the plot
+    delete(selecthandle)
+    selecthandle = [];
+  end
+  
+  % do we remove the flagged points?
+  if strcmpi(params.RemoveFlagged,'on')
+    % also remove the flagged/plotted points
+    if ~isempty(flaghandle)
+      delete(flaghandle)
+      flaghandle = [];
+    end
+  end
+  
+  % do we remove the flagged points?
+  if strcmpi(params.RemoveLabels,'on')
+    % also remove the labels
+    delete(texthandles)
+    texthandles = [];
+  end
+  
+  % cancel the WindowButtonFcn's that we had set
+  set(fighandle,'WindowButtonMotionFcn',[]);
+  set(fighandle,'WindowButtonUpFcn',[]);
+  
+  % restore the figure pointer to its original setting
+  if ~isempty(params.Pointer)
+    set(fighandle,'Pointer',oldpointer)
+  end
+  
+  % and resume execution, back in the mainline
+  uiresume
+end
+% =====================================================
+
+% =====================================================
+function flagpoints
+  % nested function for flagging the selected points
+  
+  % Are these the first points flagged? If so,
+  % we need to plot them and set the marker, etc.
+  if isempty(flaghandle) && (nsel > 0)
+    % hold the figure, so we can add the flagged points
+    hold on
+    
+    if ~iscell(xselect)
+      flaghandle = plot(xselect,yselect,params.FlagMarker);
+      set(flaghandle,'Color',params.FlagColor,'MarkerFaceColor',params.FlagColor)
+    else
+      flaghandle = plot(vertcat(xselect{:}),vertcat(yselect{:}),params.FlagMarker);
+      set(flaghandle,'Color',params.FlagColor,'MarkerFaceColor',params.FlagColor)
+    end
+    
+    % now release the hold
+    hold off
+  elseif ~isempty(flaghandle)
+    % otherwise, we just need to update xdata and ydata
+    
+    if nsel == 0
+      set(flaghandle,'xdata',[],'ydata',[]);
+      
+    elseif ~iscell(xselect)
+      set(flaghandle,'xdata',xselect,'ydata',yselect);
+    else
+      set(flaghandle,'xdata',vertcat(xselect{:}),'ydata',vertcat(yselect{:}));
+    end
+  end
+end
+% =====================================================
+
+% =====================================================
+function maketextlabels
+  % nested function for generation of text labels
+  % over each point selected
+  
+  % We need to remove the last set of text labels
+  delete(texthandles)
+  
+  % creat a new set of handles 
+  if ~iscell(xselect)
+    xtext = xselect;
+    ytext = yselect;
+  else
+    xtext = vertcat(xselect{:});
+    ytext = vertcat(yselect{:});
+  end
+  
+  % anything selected?
+  if ~isempty(xtext)
+    textlabels = cell(1,nsel);
+    for L = 1:nsel
+      textlabels{L} = ['(',num2str(xtext(L)),',',num2str(ytext(L)),')'];
+    end
+    texthandles = text(xtext,ytext,textlabels);
+  end
+end
+% =====================================================
+
+end % mainline end
+
+% ================================================
+%               end main function
+% ================================================
+
+% ================================================
+%                  subfunctions
+% ================================================
+function [pl,xsel,ysel,nsel] = testpoly(xv,yv,xdata,ydata)
+% checks which points are inside the given polygon
+
+% was there more than one set of points found in the plot?
+if ~iscell(xdata)
+  % only one set, so xdata and ydata are not cell arrays
+  
+  % Which points from the data fall in the selection polygon?
+  pl = find(inpolygon(xdata,ydata,xv,yv));
+  nsel = length(pl);
+  
+  xsel = xdata(pl);
+  ysel = ydata(pl);
+else
+  % it was a cell array, so there were multiple sets.
+  pl = cell(size(xdata));
+  xsel = pl;
+  ysel = pl;
+  nsel = 0;
+  for i = 1:numel(xdata);
+    pl{i} = find(inpolygon(xdata{i},ydata{i},xv,yv));
+    nsel = nsel + length(pl{i});
+    
+    if ~isempty(pl{i})
+      xsel{i} = xdata{i}(pl{i});
+      ysel{i} = ydata{i}(pl{i});
+    end
+    
+  end
+end
+
+end % subfunction end
+
+% ================================================
+%                  subfunction
+% ================================================
+function [pointslist,xselect,yselect] = closestpoint(xy,xdata,ydata,dx,dy)
+% find the single closest point to xy, in scaled units
+if ~iscell(xdata)
+  % just one set of points to consider
+  D = sqrt(((xdata - xy(1))/dx).^2 + ((ydata - xy(2))/dy).^2);
+  [junk,pointslist] = min(D(:)); %#ok
+  xselect = xdata(pointslist);
+  yselect = ydata(pointslist);
+else
+  % there is more than one set of points
+  Dmin = inf;
+  pointslist = cell(size(xdata));
+  for i = 1:numel(xdata);
+    D = sqrt(((xdata{i} - xy(1))/dx).^2 + ((ydata{i} - xy(2))/dy).^2);
+    [mind,ind] = min(D(:)); %#ok
+    
+    if mind < Dmin
+      % searching for the closest point
+      Dmin = mind;
+      
+      pointslist = cell(size(xdata));
+      xselect = cell(size(xdata));
+      yselect = cell(size(xdata));
+      
+      pointslist{i} = ind;
+      xselect{i} = xdata{i}(ind);
+      yselect{i} = ydata{i}(ind);
+    end
+  end
+end
+
+end % subfunction end
+
+% ================================================
+%                  subfunction
+% ================================================
+
+% ============================================
+% subfunction - check_params
+% ============================================
+function par = check_params(par)
+% check the parameters for acceptability
+%
+% Defaults
+%  Axes = gca;
+%  SelectionMode = 'lasso';
+%  Action = 'list';
+%  BrushSize = .05;
+
+% Axes == gca by default
+if isempty(par.Axes)
+  par.Axes = gca;
+else
+  if ~ishandle(par.Axes)
+    error 'Axes must be the handle to a valid set of axes.'
+  end
+end
+
+% SelectionMode == 'brush' by default
+if isempty(par.SelectionMode)
+  par.SelectionMode = 'brush';
+else
+  valid = {'rect', 'brush', 'lasso', 'closest'};
+  if ~ischar(par.SelectionMode)
+    error 'Invalid Style: Must be character'
+  end
+  
+  ind = strmatch(lower(par.SelectionMode),valid); %#ok
+  if isempty(ind) || (length(ind)>1)
+    error(['Invalid SelectionMode: ',par.SelectionMode])
+  end
+  par.SelectionMode = valid{ind};
+end
+
+% BrushShape == 'circle' by default
+if isempty(par.BrushShape)
+  par.BrushShape = 'circle';
+else
+  valid = {'rect', 'circle'};
+  if ~ischar(par.BrushShape)
+    error 'Invalid Style: Must be character'
+  end
+  
+  ind = strmatch(lower(par.BrushShape),valid); %#ok
+  if isempty(ind) || (length(ind)>1)
+    error(['Invalid SelectionMode: ',par.BrushShape])
+  end
+  par.BrushShape = valid{ind};
+end
+
+% Action == 'list' by default
+if isempty(par.Action)
+  par.Action = 'list';
+else
+  valid = {'list', 'delete'};
+  if ~ischar(par.Action)
+    error 'Invalid Action: Must be character'
+  end
+  
+  ind = strmatch(lower(par.Action),valid); %#ok
+  if isempty(ind) || (length(ind)>1)
+    error(['Invalid Action: ',par.Action])
+  end
+  par.Action = valid{ind};
+end
+
+% Pointer == 'crosshair' by default, but
+% if empty, will not change the pointer.
+if ~isempty(par.Pointer)
+  valid = {'crosshair', 'fullcrosshair', 'arrow', 'ibeam', ...
+    'watch', 'topl', 'topr', 'botl', 'botr', 'left', 'top', ...
+    'right', 'bottom', 'circle', 'cross', 'fleur', ...
+    'custom', 'hand'};
+  
+  if ~ischar(par.Pointer)
+    error 'Invalid Pointer: Must be character'
+  end
+  
+  ind = strmatch(lower(par.Pointer),valid,'exact');
+  if isempty(ind)
+    ind = strmatch(lower(par.Pointer),valid); %#ok
+    if isempty(ind) || (length(ind)>1)
+      error(['Invalid Pointer: ',par.Pointer])
+    end
+  end
+  par.Pointer = valid{ind};
+end
+
+% Identify == 'on' by default
+if isempty(par.Identify)
+  par.Identify = 'on';
+else
+  valid = {'on', 'off'};
+  if ~ischar(par.Identify)
+    error 'Value for Identify is invalid: Must be character'
+  end
+  
+  ind = strmatch(lower(par.Identify),valid); %#ok
+  if isempty(ind) || (length(ind)>1)
+    error(['Invalid Action: ',par.Identify])
+  end
+  par.Identify = valid{ind};
+end
+
+% Label == 'off' by default
+if isempty(par.Label)
+  par.Label = 'off';
+else
+  valid = {'on', 'off'};
+  if ~ischar(par.Label)
+    error 'Value for Label is invalid: Must be character'
+  end
+  
+  ind = strmatch(lower(par.Label),valid); %#ok
+  if isempty(ind) || (length(ind)>1)
+    error(['Invalid Action: ',par.Label])
+  end
+  par.Label = valid{ind};
+end
+
+% Return == 'selected' by default
+if isempty(par.Return)
+  par.Return = 'selected';
+else
+  valid = {'selected', 'unselected'};
+  if ~ischar(par.Return)
+    error 'Value for Return is invalid: Must be character'
+  end
+  
+  ind = strmatch(lower(par.Return),valid); %#ok
+  if isempty(ind) || (length(ind)>1)
+    error(['Invalid Action: ',par.Return])
+  end
+  par.Return = valid{ind};
+end
+
+% Verify == 'off' by default
+if isempty(par.Verify)
+  par.Verify = 'off';
+else
+  valid = {'on', 'off'};
+  if ~ischar(par.Verify)
+    error 'Value for Verify is invalid: Must be character'
+  end
+  
+  ind = strmatch(lower(par.Verify),valid); %#ok
+  if isempty(ind) || (length(ind)>1)
+    error(['Invalid Action: ',par.Verify])
+  end
+  par.Verify = valid{ind};
+end
+
+% BrushSize == 0.05 by default
+if isempty(par.BrushSize)
+  par.BrushSize = 0.05;
+else
+  if (length(par.BrushSize)>1) || (par.BrushSize<=0) || (par.BrushSize>par.MaxBrush) 
+    error 'Brushsize must be scalar, and 0 < BrushSize <= 0.25'
+  end
+end
+
+% Ignore == [] by default
+if ~isempty(par.Ignore) && any(~ishandle(par.Ignore))
+  error 'Ignore must be empty, or a data handle'
+end
+
+end % check_params
+
+
+% ============================================
+% Included subfunction - parse_pv_pairs
+% ============================================
+function params=parse_pv_pairs(params,pv_pairs)
+% parse_pv_pairs: parses sets of property value pairs, allows defaults
+% usage: params=parse_pv_pairs(default_params,pv_pairs)
+%
+% arguments: (input)
+%  default_params - structure, with one field for every potential
+%             property/value pair. Each field will contain the default
+%             value for that property. If no default is supplied for a
+%             given property, then that field must be empty.
+%
+%  pv_array - cell array of property/value pairs.
+%             Case is ignored when comparing properties to the list
+%             of field names. Also, any unambiguous shortening of a
+%             field/property name is allowed.
+%
+% arguments: (output)
+%  params   - parameter struct that reflects any updated property/value
+%             pairs in the pv_array.
+%
+% Example usage:
+% First, set default values for the parameters. Assume we
+% have four parameters that we wish to use optionally in
+% the function examplefun.
+%
+%  - 'viscosity', which will have a default value of 1
+%  - 'volume', which will default to 1
+%  - 'pie' - which will have default value 3.141592653589793
+%  - 'description' - a text field, left empty by default
+%
+% The first argument to examplefun is one which will always be
+% supplied.
+%
+%   function examplefun(dummyarg1,varargin)
+%   params.Viscosity = 1;
+%   params.Volume = 1;
+%   params.Pie = 3.141592653589793
+%
+%   params.Description = '';
+%   params=parse_pv_pairs(params,varargin);
+%   params
+%
+% Use examplefun, overriding the defaults for 'pie', 'viscosity'
+% and 'description'. The 'volume' parameter is left at its default.
+%
+%   examplefun(rand(10),'vis',10,'pie',3,'Description','Hello world')
+%
+% params = 
+%     Viscosity: 10
+%        Volume: 1
+%           Pie: 3
+%   Description: 'Hello world'
+%
+% Note that capitalization was ignored, and the property 'viscosity'
+% was truncated as supplied. Also note that the order the pairs were
+% supplied was arbitrary.
+
+npv = length(pv_pairs);
+n = npv/2;
+
+if n~=floor(n)
+  error 'Property/value pairs must come in PAIRS.'
+end
+if n<=0
+  % just return the defaults
+  return
+end
+
+if ~isstruct(params)
+  error 'No structure for defaults was supplied'
+end
+
+% there was at least one pv pair. process any supplied
+propnames = fieldnames(params);
+lpropnames = lower(propnames);
+for i=1:n
+  p_i = lower(pv_pairs{2*i-1});
+  v_i = pv_pairs{2*i};
+  
+  ind = strmatch(p_i,lpropnames,'exact');
+  if isempty(ind)
+    ind = find(strncmp(p_i,lpropnames,length(p_i)));
+    if isempty(ind)
+      error(['No matching property found for: ',pv_pairs{2*i-1}])
+    elseif length(ind)>1
+      error(['Ambiguous property name: ',pv_pairs{2*i-1}])
+    end
+  end
+  p_i = propnames{ind};
+  
+  % override the corresponding default in params
+  params = setfield(params,p_i,v_i); %#ok
+  
+end
+
+end % parse_pv_pairs
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/selectfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/selectfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/selectfit.m	(revision 17)
@@ -0,0 +1,388 @@
+function fout = selectfit(varargin)
+%SELECTFIT  Fit part of the data from the active curve (remove outliers)
+%   SELECTFIT displays the fit specified in a dialog box for the data
+%   selected from the active curve by drawing a lasso. Use the left mouse
+%   button to draw the lasso. Use UNDOFIT or RMFIT to remove the fit.
+%   The default display settings are defined in the file FITPARAM.
+%
+%   *** Note: This function is not fully stable.
+%       If you use Matlab >= 7.6, it is encouraged to use
+%       SHOWFIT with the "Data Brushing" mode instead of SELECTFIT.
+%       SELECTFIT will be removed in future releases of EzyFit. 
+%
+%   By default, the first curve in the active figure is used (see FITPARAM
+%   to change this default behavior). To fit another curve, select it
+%   before calling SELECTFIT.
+%
+%   SELECTFIT(FUN) specifies the fitting string FUN. FUN may be either a
+%   default fit (eg, 'exp', 'power'), a user-defined fit (see EDITFIT),
+%   or directly a fit equation (eg, 'c+a*exp(-x/x0)'). See EZFIT for the
+%   syntax of FUN. FUN may also be any valid interpolation method string
+%   (eg 'spline', 'cubic'... excepted 'linear'). See INTERP1 for the valid
+%   interpolation methods.
+%
+%   SELECTFIT(F) use the equation defined in the fit structure F.
+%
+%   SELECTFIT(..., 'PropertyName','PropertyValue',...) specifies the 
+%   properties of the fit (e.g., fit colors, line width etc.). See the
+%   default values in the file FITPARAM.
+%
+%   F = SELECTFIT(...) also returns the fit structure F. F has the same
+%   content as the fit structure returned by EZFIT (see EZFIT for details),
+%   and also contains a handle to the equation box and to the curve.
+%
+%   Note that if the option 'lin' or 'log' is not specified in the string
+%   FUN, SELECTFIT checks the Y-scale of the current figure to determine
+%   whether Y or LOG(Y) has to be fitted.
+%
+%   Examples:
+%      plotsample power
+%      selectfit('power; log');
+%
+%      plotsample poly2
+%      f = selectfit('z(v) = poly3','fitcolor','red','fitlinestyle',':');
+%      editcoeff(f);
+%
+%   See also SHOWFIT, EZFIT, UNDOFIT, RMFIT, PLOTSAMPLE, SELECTDATA, INTERP1.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 2.30,  Date: 2007/09/11
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/10/17: v1.00, first version.
+% 2005/10/18: v1.01, no display if no output arg.
+% 2005/10/31: v1.10, also displays R. text is displayed in an annotation
+%                    box. now uses pickdata. also accepts interpolation.
+% 2005/11/03: v1.20, use the file 'fitparam.m' for the fit default values.
+% 2005/11/05: v1.21, also displays the lin/log mode
+% 2005/12/06: v1.30, opens a dialog box if the fitting function string is
+%                    not specified.
+% 2005/12/12: v1.31, display a message after each fit
+% 2005/12/13: v1.32, starts with the dialog box if the order for the
+%                    polynomial fit is not specified.
+% 2005/12/20: v1.33, display the message box only if fp.selectfitmsgbox is 
+%                    'on' in fitparam.
+% 2006/01/28: v1.34, first check if a curve is present.
+% 2006/02/08: v2.00, new syntax. now works with the fit structure F.
+% 2006/02/10: v2.01, displays the legend.
+% 2006/02/16: v2.02, use evalfit
+% 2006/02/27: v2.03, bug fixed for lin/log.
+% 2006/03/08: v2.04, idem v1.32
+% 2006/09/04: v2.10, temporarilly hide the legend (drawpolygon is buggy
+%                    when a legend is present).
+%                    '$' and '!' accepted instead of ';'
+% 2006/09/06: v2.11, bug fixed when f.hdata is an invalid handle
+% 2006/10/18: v2.20, accepts additional input parameters to chnage the
+%                    default settings.  new option 'selectfitloopmode'
+% 2007/09/11: v2.30, now uses John D'Errico's "selectdata" (File 13857)
+%                    instead of Ezyfit's originals drawpolygon/selectdata
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% fit parameters:  (new v2.20)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+% loads the default fit parameters:
+try
+    fp=fitparam;
+catch
+    error('No fitparam file found.');
+end
+
+
+% change the default values of the fit parameters according to the
+% additional input arguments:
+for nopt=1:(nargin-1)
+    if any(strcmp(varargin{nopt},fieldnames(fp))) % if the option string is one of the fit parameter
+        fp.(varargin{nopt}) = varargin{nopt+1};
+    end
+end
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% input arguments:
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+if nargin==0,
+    efroot=fileparts(mfilename('fullpath'));   % directory where the ezyfit toolbox is installed
+    prevfitfile=[efroot filesep 'prevfit.mat'];
+    if exist(prevfitfile,'file'),
+        load(prevfitfile);
+    else
+        fun='a*exp(-x/x_0); a=10; x_0=0.1';
+    end
+    fun=inputdlg('Enter a default fit, a user-defined fit or directly a fit equation',...
+        'General Curve Fit Definition',1,{fun});
+    if ~isempty(fun)
+        fun=fun{1};
+        fun=strrep(fun,'$',';');  % new v2.10
+        fun=strrep(fun,'!',';');
+        save(prevfitfile,'fun');
+        % if the option 'lin' or 'log' is not specified, use the Y-scale of
+        % the current figure:
+        if (isempty(findstr(strrep(fun,' ',''),';lin'))) && (isempty(findstr(strrep(fun,' ',''),';log'))),
+            mode=get(gca,'YScale');
+            fun=strrep([fun ';' mode(1:3)],';;',';');
+        end
+        f=ezfit(fun); % fit the whole data
+    else
+        return;
+    end
+elseif nargin>=1,
+    if isstruct(varargin{1}), % if argument is a structure
+        f=varargin{1};
+    elseif ischar(varargin{1}), % if argument is a string
+        fun=varargin{1};
+        fun=strrep(fun,'$',';');  % new v2.10
+        fun=strrep(fun,'!',';');
+        if sum(strcmp(fun,{'nearest','spline','pchip','cubic','v5cubic'})),
+            f.name=fun;
+            [f.x, f.y, f.hdata]=pickdata(fp);
+        else  % if the string is not an interpolation  
+            if strcmp(fun,'poly'), % new v2.04
+                str_ord=inputdlg('Order of the polynomial fit','Polynomial order',1,{'2'});
+                if ~isempty(str_ord),
+                    fun=['poly' str_ord{1}];
+                else
+                    return;
+                end
+            end
+            % if the option 'lin' or 'log' is not specified, use the Y-scale of
+            % the current figure:
+            if (isempty(findstr(strrep(fun,' ',''),';lin'))) && (isempty(findstr(strrep(fun,' ',''),';log'))),
+                mode=get(gca,'YScale');
+                fun=strrep([fun ';' mode(1:3)],';;',';');
+            end
+            f.name=fun;
+            [f.x, f.y, f.hdata]=pickdata(fp);
+        end
+    else
+        error('Use selectfit with a string or a fit structure.');
+    end
+end
+
+
+% output fit structure: idem as f, but with additional information.
+fout=f;
+
+
+
+% determines the fit color:
+if ischar(fp.fitcolor) || length(fp.fitcolor)==3
+    fitcolor=fp.fitcolor; % fixed color
+else
+    fitcolor=[0 0 0]; % default color if no data in the figure
+    if isfield(f,'hdata')
+        if ishandle(f.hdata)
+            co=get(f.hdata); % object properties of the data
+            if isfield(co,'Color'),
+                fitcolor=max(0,min(1,co.Color*fp.fitcolor)); % color indexed from that of the data
+            end
+        end
+    end
+end
+
+% size of the markers during the fit procedure:
+if ishandle(f.hdata)
+    co=get(f.hdata); % object properties of the data
+    if isfield(co,'MarkerSize'),
+        sizeselectpt=min(3,co.MarkerSize-1); % size of selected points, slightly smaller than data
+    else
+        sizeselectpt=3;
+    end
+else
+    sizeselectpt=3;
+end
+
+
+if strcmp(fp.selectfitmsgbox,'on'),
+    % new v1.31, changed v1.33
+    hmsg=annotation('textbox',[.2 .35 .4 .1],'BackgroundColor',[1 .95 .95],...
+        'EdgeColor','red','Color','red','String',...
+        {'Make a selection,','or click right mousebutton to exit.'});
+    pause(1);
+    delete(hmsg);
+end
+
+if isempty(legend)  % new v2.10
+    islegend = false;
+else
+    islegend = true;
+    legend off
+end
+
+
+contfit = true;
+
+while contfit
+    
+    contfit = strcmp(fp.selectfitloopmode,'on');  % new v2.20
+    
+    try
+        % newv2.30: uses D'Errico's selectdata
+         listhandle=get(gca,'Children');
+        [dummy,xs,ys] = selectdata('Ignore',listhandle(listhandle~=f.hdata));
+    catch
+        xs = [];
+    end
+    
+    if ~isempty(xs)   % non-empty selection
+        fout.xs=xs;
+        fout.ys=ys;
+        % deletes the previous fit (if any):
+        if isfield(fout,'hfit'), delete(fout.hfit); end
+        if exist('hfit','var'), delete(hfit); end
+        if exist('hsel','var'), delete(hsel); end
+        if exist('heqbox','var'), delete(heqbox); end
+        switch f.name
+            case {'nearest','spline','pchip','cubic','v5cubic'},
+
+                % determines the X points used to compute and display the
+                % fitted curve (an interpolation cannot be extrapolated!)
+                if strcmp(get(gca,'XScale'),'log'),
+                    xfit=logspace(log10(min(xs)),log10(max(xs)),fp.npt);
+                else
+                    xfit=linspace(min(xs),max(xs),fp.npt);
+                end
+
+                yfit = interp1(xs,ys,xfit,fout.name);
+                
+                % makes the equation box:
+                if strcmp(fp.dispeqboxmode,'on')
+                    if strcmp(fp.selectfitloopmode,'on')
+                        heqbox = showeqbox(fout,fp,'transparent');
+                    else
+                        heqbox = showeqbox(fout,fp);
+                    end                
+                end
+                
+            otherwise
+               
+                fun = fout.name;
+                if nargin<=1,
+                    fout=ezfit(xs,ys, fun);
+                else
+                    fout=ezfit(xs,ys, fun, varargin{2:end});
+                end
+                fout.hdata = f.hdata;
+
+                % determines the X points used to compute and display the fitted curve
+                switch(fp.extrapol),
+                    case 'none',
+                        xminfit=min(xs);  xmaxfit=max(xs);
+                    case 'data'
+                        xminfit=min(fout.x);  xmaxfit=max(fout.x);
+                    case 'fig',
+                        icg=get(gca);
+                        xminfit=icg.XLim(1);  xmaxfit=icg.XLim(2);
+                end
+                if strcmp(get(gca,'XScale'),'log'),
+                    xfit=logspace(log10(xminfit),log10(xmaxfit),fp.npt);
+                else
+                    xfit=linspace(xminfit,xmaxfit,fp.npt);
+                end
+                
+                % evaluate the fit function:
+                yfit = evalfit(fout, xfit);
+
+                % makes the equation box:
+                if strcmp(fp.dispeqboxmode,'on')
+                    if strcmp(fp.selectfitloopmode,'on')
+                        heqbox = showeqbox(fout,fp,'transparent');
+                    else
+                        heqbox = showeqbox(fout,fp);
+                    end                
+                end
+        end
+
+        % plots the interpolated / fitted curve:
+        hold on;
+        fout.hfit=plot(xfit,yfit,'Color',fitcolor,'LineStyle',fp.fitlinestyle,'LineWidth',fp.fitlinewidth);
+        set(fout.hfit,'UserData', 'fit'); % this tag is useful to delete the fit later
+        if ~isempty(fp.markerselectpt)
+            hsel=plot(xs,ys,'Color',fitcolor,'Marker',fp.markerselectpt,'LineStyle','none','MarkerSize',sizeselectpt);
+            set(hsel,'UserData','seldata');
+        end
+        hold off;
+        
+        if strcmp(fp.selectfitmsgbox,'on') && strcmp(fp.selectfitloopmode,'on')
+            % new v1.31, changed v1.33
+            hmsg=annotation('textbox',[.2 .35 .4 .1],'BackgroundColor',[1 .95 .95],...
+                'EdgeColor','red','Color','red','String',...
+                {'Make another selection,','or click right mousebutton to confirm this one.'});
+            pause(1);
+            delete(hmsg);
+        end
+        
+    else  % empty polygon => end of fitting process
+        contfit=false;
+        % at the end of the fitting process the box is no more transparent:
+        if exist('heqbox','var'),
+            set(heqbox,'BackgroundColor','white');
+        end
+    end
+
+end
+
+
+if isfield(fout,'hfit'); % if a fit has been done
+    % output fit structure
+    fout.heqbox = heqbox;
+    delete(hsel);
+    
+    % give a 'DisplayName' to the fit:
+    if length(fout.name)>10,
+        fitname='fit';
+    else
+        fitname=greekize(fout.name);
+    end
+    setautodisplayname; % give a name to all the data in the figure (if they don't have one yet)
+    if ishandle(fout.hdata)
+         try
+            dataname = get(fout.hdata,'DisplayName');
+        catch
+            dataname = 'data';
+        end
+        fitname=[fitname ' (' dataname ')'];
+    end
+    set(fout.hfit,'DisplayName',fitname);
+
+    if islegend
+        legend show   % put back the legend (new v2.10)
+    end
+                
+    % updates the legend:
+    if strcmp(fp.dispfitlegend,'on')
+        legend off  % refresh the legend
+        legend show
+    end
+    
+    % opens the Array Editor with the fit coefficients:
+    if (strcmp(fp.editcoeffmode,'on') && (isfield(fout,'m'))),
+        editcoeff(fout);
+    end
+    
+    % displays the fit equation in the command window if no output
+    % argument:
+    if ~nargout
+        if isfield(fout,'m'),
+            if strcmp(fp.dispeqmode,'on') % new v2.30
+                dispeqfit(fout,fp);
+            end
+        end
+        clear fout
+    end
+else
+    if islegend
+        legend show;   % put back the legend (new v2.10)
+    end
+    if ~nargout
+        clear fout
+    else
+        fout=[];
+    end
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/setautodisplayname.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/setautodisplayname.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/private/setautodisplayname.m	(revision 17)
@@ -0,0 +1,29 @@
+function setautodisplayname
+%SETAUTODISPLAYNAME
+%   SETAUTODISPLAYNAME gives an automatic 'DisplayName' field to the
+%   data in the current plot which do not have already, in the form
+%   'data1', 'data2'...
+%
+%   F. Moisy
+%   Revision: 1.00,  Date: 2006/02/16
+%
+%   See also SHOWFIT, SELECTFIT.
+
+
+% History:
+% 2006/02/16: v1.00, first version.
+
+
+ca=get(gca);
+hcurve=ca.Children;
+datanum=0;
+for i=length(hcurve):-1:1,
+    if isfield(get(hcurve(i)),'DisplayName')
+        if isempty(get(hcurve(i),'DisplayName')),
+            datanum = datanum+1;
+            set(hcurve(i),'DisplayName',['data' num2str(datanum)]);
+        end
+    else
+        return;
+    end
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/remove_efmenu_fig.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/remove_efmenu_fig.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/remove_efmenu_fig.m	(revision 17)
@@ -0,0 +1,53 @@
+function remove_efmenu_fig(filenamein,filenameout)
+%REMOVE_EFMENU_FIG   Remove the Ezyfit menu from figure files (.FIG)
+%   REMOVE_EFMENU_FIG(FILENAMEIN,FILENAMEOUT) removes the Ezyfit menu from
+%   the figure file FILENAMEIN, and saves the result under FILENAMEOUT.
+%
+%   REMOVE_EFMENU_FIG(FILENAMEIN) automatically generates the output
+%   filename, by adding the string '_new' to the input filename.
+%
+%   This function fixes the issue of figure files including the Ezyfit menu
+%   opened in a Matlab system running without the Ezyfit toolbox. See
+%   EFMENU for details.
+%
+%   Example:
+%     plotsample;   % generate a random plot
+%     saveas(gcf,'myfig.fig');
+%     remove_efmenu_fig('myfig.fig');
+%     % This generates a new file, named 'myfig_new.fig', without the menu
+%
+%   Acknowledgments to Francis Burton and Nicholas Sinclair, who fixed
+%   the issue in the Matlab Central Newsgroup.
+%
+%   See also EFMENU.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2010/07/05
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2010/07/05: v1.00, first version, from nicholas.sinclair@gmail.com
+
+if nargin==1
+    [pathstr, name, ext] = fileparts(filenamein);
+    filenameout = [name '_new.fig'];
+end
+
+v=load(filenamein,'-mat');
+hgS_070000=v.hgS_070000;
+c=hgS_070000.children;
+count = 0;
+for i = 1:length(c)
+    if isfield(c(i).properties,'Label')
+        if(strfind(c(i).properties.Label,'EzyFit'))
+            count = count+1;
+            ix(count) = i;
+        end
+    end
+end
+c(ix)=[];
+hgS_070000.children=c;
+hgS_070000.properties.CreateFcn = '';
+save(filenameout,'hgS_070000');
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/rmfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/rmfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/rmfit.m	(revision 17)
@@ -0,0 +1,72 @@
+function rmfit(opt)
+%RMFIT  Remove fits from the current figure
+%   RMFIT removes all the fits (and their equation box) created by
+%   SHOWFIT from the current figure.
+%
+%   RMFIT('first') removes only the first fit.
+%   RMFIT('last') removes only the last fit (equivalent to UNDOFIT).
+%   RMFIT(N) removes only the Nth fit.
+%   RMFIT('boxonly') removes only the equation boxes.
+%   RMFIT('getslope') removes all the equations displayed by GETSLOPE and
+%   SHOWSLOPE.
+%
+%   Note that RMFIT does not remove the annotation objects (eg, lines).
+%
+%   See also SHOWFIT, UNDOFIT, GETSLOPE.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.10,  Date: 2006/02/17
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/10/31: v1.00, first version.
+% 2005/11/03: v1.01, removes also the getslope textbox
+% 2006/02/17: v1.10, updates the legend
+
+if exist('fitparam.m','file'),
+    fp=fitparam;
+else
+    error('No fitparam file found.');
+end
+
+if nargin==0, opt=''; end
+
+if isempty(get(0,'CurrentFigure'))
+    return
+end
+
+if isnumeric(opt)
+    h=findall(gcf,'UserData','equationbox');
+    h=h(end:-1:1);
+    if length(h)>=opt, delete(h(opt)); end
+    h=findobj(gcf,'UserData','fit');
+    h=h(end:-1:1);
+    if length(h)>=opt, delete(h(opt)); end
+elseif ischar(opt)
+    switch lower(opt)
+        case 'first'
+            h=findall(gcf,'UserData','equationbox');
+            if ~isempty(h), delete(h(end)); end
+            h=findobj(gcf,'UserData','fit');
+            if ~isempty(h), delete(h(end)); end
+        case 'last'
+            h=findall(gcf,'UserData','equationbox');
+            if ~isempty(h), delete(h(1)); end
+            h=findobj(gcf,'UserData','fit');
+            if ~isempty(h), delete(h(1)); end
+        case 'boxonly'
+            delete(findall(gcf,'UserData','equationbox'));
+        case 'getslope'
+            delete(findall(gcf,'UserData','getslopetextbox'));
+            delete(findall(gcf,'UserData','showslopetextbox'));
+        otherwise
+            delete(findall(gcf,'UserData','equationbox'));
+            delete(findobj(gcf,'UserData','fit'));
+    end
+end
+
+% updates the legend:
+if strcmp(fp.dispfitlegend,'on')
+    legend off;  % refresh the legend
+    legend show;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/selectfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/selectfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/selectfit.m	(revision 17)
@@ -0,0 +1,388 @@
+function fout = selectfit(varargin)
+%SELECTFIT  Fit part of the data from the active curve (remove outliers)
+%   SELECTFIT displays the fit specified in a dialog box for the data
+%   selected from the active curve by drawing a lasso. Use the left mouse
+%   button to draw the lasso. Use UNDOFIT or RMFIT to remove the fit.
+%   The default display settings are defined in the file FITPARAM.
+%
+%   *** Note: This function is not fully stable.
+%       If you use Matlab >= 7.6, it is encouraged to use
+%       SHOWFIT with the "Data Brushing" mode instead of SELECTFIT.
+%       SELECTFIT will be removed in future releases of EzyFit. 
+%
+%   By default, the first curve in the active figure is used (see FITPARAM
+%   to change this default behavior). To fit another curve, select it
+%   before calling SELECTFIT.
+%
+%   SELECTFIT(FUN) specifies the fitting string FUN. FUN may be either a
+%   default fit (eg, 'exp', 'power'), a user-defined fit (see EDITFIT),
+%   or directly a fit equation (eg, 'c+a*exp(-x/x0)'). See EZFIT for the
+%   syntax of FUN. FUN may also be any valid interpolation method string
+%   (eg 'spline', 'cubic'... excepted 'linear'). See INTERP1 for the valid
+%   interpolation methods.
+%
+%   SELECTFIT(F) use the equation defined in the fit structure F.
+%
+%   SELECTFIT(..., 'PropertyName','PropertyValue',...) specifies the 
+%   properties of the fit (e.g., fit colors, line width etc.). See the
+%   default values in the file FITPARAM.
+%
+%   F = SELECTFIT(...) also returns the fit structure F. F has the same
+%   content as the fit structure returned by EZFIT (see EZFIT for details),
+%   and also contains a handle to the equation box and to the curve.
+%
+%   Note that if the option 'lin' or 'log' is not specified in the string
+%   FUN, SELECTFIT checks the Y-scale of the current figure to determine
+%   whether Y or LOG(Y) has to be fitted.
+%
+%   Examples:
+%      plotsample power
+%      selectfit('power; log');
+%
+%      plotsample poly2
+%      f = selectfit('z(v) = poly3','fitcolor','red','fitlinestyle',':');
+%      editcoeff(f);
+%
+%   See also SHOWFIT, EZFIT, UNDOFIT, RMFIT, PLOTSAMPLE, SELECTDATA, INTERP1.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 2.30,  Date: 2007/09/11
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/10/17: v1.00, first version.
+% 2005/10/18: v1.01, no display if no output arg.
+% 2005/10/31: v1.10, also displays R. text is displayed in an annotation
+%                    box. now uses pickdata. also accepts interpolation.
+% 2005/11/03: v1.20, use the file 'fitparam.m' for the fit default values.
+% 2005/11/05: v1.21, also displays the lin/log mode
+% 2005/12/06: v1.30, opens a dialog box if the fitting function string is
+%                    not specified.
+% 2005/12/12: v1.31, display a message after each fit
+% 2005/12/13: v1.32, starts with the dialog box if the order for the
+%                    polynomial fit is not specified.
+% 2005/12/20: v1.33, display the message box only if fp.selectfitmsgbox is 
+%                    'on' in fitparam.
+% 2006/01/28: v1.34, first check if a curve is present.
+% 2006/02/08: v2.00, new syntax. now works with the fit structure F.
+% 2006/02/10: v2.01, displays the legend.
+% 2006/02/16: v2.02, use evalfit
+% 2006/02/27: v2.03, bug fixed for lin/log.
+% 2006/03/08: v2.04, idem v1.32
+% 2006/09/04: v2.10, temporarilly hide the legend (drawpolygon is buggy
+%                    when a legend is present).
+%                    '$' and '!' accepted instead of ';'
+% 2006/09/06: v2.11, bug fixed when f.hdata is an invalid handle
+% 2006/10/18: v2.20, accepts additional input parameters to chnage the
+%                    default settings.  new option 'selectfitloopmode'
+% 2007/09/11: v2.30, now uses John D'Errico's "selectdata" (File 13857)
+%                    instead of Ezyfit's originals drawpolygon/selectdata
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% fit parameters:  (new v2.20)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+% loads the default fit parameters:
+try
+    fp=fitparam;
+catch
+    error('No fitparam file found.');
+end
+
+
+% change the default values of the fit parameters according to the
+% additional input arguments:
+for nopt=1:(nargin-1)
+    if any(strcmp(varargin{nopt},fieldnames(fp))) % if the option string is one of the fit parameter
+        fp.(varargin{nopt}) = varargin{nopt+1};
+    end
+end
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% input arguments:
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+if nargin==0,
+    efroot=fileparts(mfilename('fullpath'));   % directory where the ezyfit toolbox is installed
+    prevfitfile=[efroot filesep 'prevfit.mat'];
+    if exist(prevfitfile,'file'),
+        load(prevfitfile);
+    else
+        fun='a*exp(-x/x_0); a=10; x_0=0.1';
+    end
+    fun=inputdlg('Enter a default fit, a user-defined fit or directly a fit equation',...
+        'General Curve Fit Definition',1,{fun});
+    if ~isempty(fun)
+        fun=fun{1};
+        fun=strrep(fun,'$',';');  % new v2.10
+        fun=strrep(fun,'!',';');
+        save(prevfitfile,'fun');
+        % if the option 'lin' or 'log' is not specified, use the Y-scale of
+        % the current figure:
+        if (isempty(findstr(strrep(fun,' ',''),';lin'))) && (isempty(findstr(strrep(fun,' ',''),';log'))),
+            mode=get(gca,'YScale');
+            fun=strrep([fun ';' mode(1:3)],';;',';');
+        end
+        f=ezfit(fun); % fit the whole data
+    else
+        return;
+    end
+elseif nargin>=1,
+    if isstruct(varargin{1}), % if argument is a structure
+        f=varargin{1};
+    elseif ischar(varargin{1}), % if argument is a string
+        fun=varargin{1};
+        fun=strrep(fun,'$',';');  % new v2.10
+        fun=strrep(fun,'!',';');
+        if sum(strcmp(fun,{'nearest','spline','pchip','cubic','v5cubic'})),
+            f.name=fun;
+            [f.x, f.y, f.hdata]=pickdata(fp);
+        else  % if the string is not an interpolation  
+            if strcmp(fun,'poly'), % new v2.04
+                str_ord=inputdlg('Order of the polynomial fit','Polynomial order',1,{'2'});
+                if ~isempty(str_ord),
+                    fun=['poly' str_ord{1}];
+                else
+                    return;
+                end
+            end
+            % if the option 'lin' or 'log' is not specified, use the Y-scale of
+            % the current figure:
+            if (isempty(findstr(strrep(fun,' ',''),';lin'))) && (isempty(findstr(strrep(fun,' ',''),';log'))),
+                mode=get(gca,'YScale');
+                fun=strrep([fun ';' mode(1:3)],';;',';');
+            end
+            f.name=fun;
+            [f.x, f.y, f.hdata]=pickdata(fp);
+        end
+    else
+        error('Use selectfit with a string or a fit structure.');
+    end
+end
+
+
+% output fit structure: idem as f, but with additional information.
+fout=f;
+
+
+
+% determines the fit color:
+if ischar(fp.fitcolor) || length(fp.fitcolor)==3
+    fitcolor=fp.fitcolor; % fixed color
+else
+    fitcolor=[0 0 0]; % default color if no data in the figure
+    if isfield(f,'hdata')
+        if ishandle(f.hdata)
+            co=get(f.hdata); % object properties of the data
+            if isfield(co,'Color'),
+                fitcolor=max(0,min(1,co.Color*fp.fitcolor)); % color indexed from that of the data
+            end
+        end
+    end
+end
+
+% size of the markers during the fit procedure:
+if ishandle(f.hdata)
+    co=get(f.hdata); % object properties of the data
+    if isfield(co,'MarkerSize'),
+        sizeselectpt=min(3,co.MarkerSize-1); % size of selected points, slightly smaller than data
+    else
+        sizeselectpt=3;
+    end
+else
+    sizeselectpt=3;
+end
+
+
+if strcmp(fp.selectfitmsgbox,'on'),
+    % new v1.31, changed v1.33
+    hmsg=annotation('textbox',[.2 .35 .4 .1],'BackgroundColor',[1 .95 .95],...
+        'EdgeColor','red','Color','red','String',...
+        {'Make a selection,','or click right mousebutton to exit.'});
+    pause(1);
+    delete(hmsg);
+end
+
+if isempty(legend)  % new v2.10
+    islegend = false;
+else
+    islegend = true;
+    legend off
+end
+
+
+contfit = true;
+
+while contfit
+    
+    contfit = strcmp(fp.selectfitloopmode,'on');  % new v2.20
+    
+    try
+        % newv2.30: uses D'Errico's selectdata
+         listhandle=get(gca,'Children');
+        [dummy,xs,ys] = selectdata('Ignore',listhandle(listhandle~=f.hdata));
+    catch
+        xs = [];
+    end
+    
+    if ~isempty(xs)   % non-empty selection
+        fout.xs=xs;
+        fout.ys=ys;
+        % deletes the previous fit (if any):
+        if isfield(fout,'hfit'), delete(fout.hfit); end
+        if exist('hfit','var'), delete(hfit); end
+        if exist('hsel','var'), delete(hsel); end
+        if exist('heqbox','var'), delete(heqbox); end
+        switch f.name
+            case {'nearest','spline','pchip','cubic','v5cubic'},
+
+                % determines the X points used to compute and display the
+                % fitted curve (an interpolation cannot be extrapolated!)
+                if strcmp(get(gca,'XScale'),'log'),
+                    xfit=logspace(log10(min(xs)),log10(max(xs)),fp.npt);
+                else
+                    xfit=linspace(min(xs),max(xs),fp.npt);
+                end
+
+                yfit = interp1(xs,ys,xfit,fout.name);
+                
+                % makes the equation box:
+                if strcmp(fp.dispeqboxmode,'on')
+                    if strcmp(fp.selectfitloopmode,'on')
+                        heqbox = showeqbox(fout,fp,'transparent');
+                    else
+                        heqbox = showeqbox(fout,fp);
+                    end                
+                end
+                
+            otherwise
+               
+                fun = fout.name;
+                if nargin<=1,
+                    fout=ezfit(xs,ys, fun);
+                else
+                    fout=ezfit(xs,ys, fun, varargin{2:end});
+                end
+                fout.hdata = f.hdata;
+
+                % determines the X points used to compute and display the fitted curve
+                switch(fp.extrapol),
+                    case 'none',
+                        xminfit=min(xs);  xmaxfit=max(xs);
+                    case 'data'
+                        xminfit=min(fout.x);  xmaxfit=max(fout.x);
+                    case 'fig',
+                        icg=get(gca);
+                        xminfit=icg.XLim(1);  xmaxfit=icg.XLim(2);
+                end
+                if strcmp(get(gca,'XScale'),'log'),
+                    xfit=logspace(log10(xminfit),log10(xmaxfit),fp.npt);
+                else
+                    xfit=linspace(xminfit,xmaxfit,fp.npt);
+                end
+                
+                % evaluate the fit function:
+                yfit = evalfit(fout, xfit);
+
+                % makes the equation box:
+                if strcmp(fp.dispeqboxmode,'on')
+                    if strcmp(fp.selectfitloopmode,'on')
+                        heqbox = showeqbox(fout,fp,'transparent');
+                    else
+                        heqbox = showeqbox(fout,fp);
+                    end                
+                end
+        end
+
+        % plots the interpolated / fitted curve:
+        hold on;
+        fout.hfit=plot(xfit,yfit,'Color',fitcolor,'LineStyle',fp.fitlinestyle,'LineWidth',fp.fitlinewidth);
+        set(fout.hfit,'UserData', 'fit'); % this tag is useful to delete the fit later
+        if ~isempty(fp.markerselectpt)
+            hsel=plot(xs,ys,'Color',fitcolor,'Marker',fp.markerselectpt,'LineStyle','none','MarkerSize',sizeselectpt);
+            set(hsel,'UserData','seldata');
+        end
+        hold off;
+        
+        if strcmp(fp.selectfitmsgbox,'on') && strcmp(fp.selectfitloopmode,'on')
+            % new v1.31, changed v1.33
+            hmsg=annotation('textbox',[.2 .35 .4 .1],'BackgroundColor',[1 .95 .95],...
+                'EdgeColor','red','Color','red','String',...
+                {'Make another selection,','or click right mousebutton to confirm this one.'});
+            pause(1);
+            delete(hmsg);
+        end
+        
+    else  % empty polygon => end of fitting process
+        contfit=false;
+        % at the end of the fitting process the box is no more transparent:
+        if exist('heqbox','var'),
+            set(heqbox,'BackgroundColor','white');
+        end
+    end
+
+end
+
+
+if isfield(fout,'hfit'); % if a fit has been done
+    % output fit structure
+    fout.heqbox = heqbox;
+    delete(hsel);
+    
+    % give a 'DisplayName' to the fit:
+    if length(fout.name)>10,
+        fitname='fit';
+    else
+        fitname=greekize(fout.name);
+    end
+    setautodisplayname; % give a name to all the data in the figure (if they don't have one yet)
+    if ishandle(fout.hdata)
+         try
+            dataname = get(fout.hdata,'DisplayName');
+        catch
+            dataname = 'data';
+        end
+        fitname=[fitname ' (' dataname ')'];
+    end
+    set(fout.hfit,'DisplayName',fitname);
+
+    if islegend
+        legend show   % put back the legend (new v2.10)
+    end
+                
+    % updates the legend:
+    if strcmp(fp.dispfitlegend,'on')
+        legend off  % refresh the legend
+        legend show
+    end
+    
+    % opens the Array Editor with the fit coefficients:
+    if (strcmp(fp.editcoeffmode,'on') && (isfield(fout,'m'))),
+        editcoeff(fout);
+    end
+    
+    % displays the fit equation in the command window if no output
+    % argument:
+    if ~nargout
+        if isfield(fout,'m'),
+            if strcmp(fp.dispeqmode,'on') % new v2.30
+                dispeqfit(fout,fp);
+            end
+        end
+        clear fout
+    end
+else
+    if islegend
+        legend show;   % put back the legend (new v2.10)
+    end
+    if ~nargout
+        clear fout
+    else
+        fout=[];
+    end
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/semilogypn.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/semilogypn.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/semilogypn.m	(revision 17)
@@ -0,0 +1,99 @@
+function [hp, hn] = semilogypn(x,y, specpos, specneg, varargin)
+%SEMILOGYPN Semilogarithmic  plot for positive and negative data.
+%   SEMILOGYPN(...) is the same as SEMILOGY(...), except that the Y data
+%   may have positive and negative values. This is useful to detect
+%   unexpected negative values in the Y data (causing repeated 'Negative
+%   data ignored' warnings), or to visualize the magnitude of an
+%   oscillating signal in log scale.
+%
+%   SEMILOGYPN(X,Y) plots X versus Y as logarithmic scales, where Y may
+%   have positive and negative values. By default, negative values are
+%   ploted with dashed lines and positive values with full lines. If X is
+%   not specified, Y is plotted versus its index.
+%
+%   SEMILOGYPN(X,Y,LineSpecPos,LineSpecNeg) specifies LineSpecPos and
+%   LineSpecNeg for the line types, marker symbols and colors for the
+%   positive and negative values of Y. For instance,
+%   SEMILOGYPN(X,Y,'ro-','b*') plots the positive Y with red line and 'o'
+%   markers and the negative Y with blue stars '*'.
+%   
+%   SEMILOGYPN(X,Y,LineSpecPos,LineSpecNeg,'PropertyName',PropertyValue,...) 
+%   sets property values for all lineseries graphics objects created by
+%   SEMILOGYPN. See the line reference page for more information.
+%
+%   [HP, HN] = SEMILOGYPN(...) returns the handles to the two lineseries
+%   graphics objects.
+%
+%   Example:
+%      x = linspace(1,10,200);
+%      y = sin(x*2)./x;
+%      semilogypn(x,y,'r.','bo');
+%      axis([1 10 1e-2 1]);
+%
+%      semilogypn(x,y,'b-','r:','LineWidth',2);
+%
+%      [hp, hn] = semilogypn(x,y,'k');
+%      set(hp, 'LineWidth', 1);
+%      set(hn, 'LineWidth', 2);
+%
+%   See also SEMILOGY, LOGLOG, LOGLOGPN.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.01,  Date: 2007/04/12
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2007/04/10: v1.00, first version.
+% 2007/04/12: v1.01, do not draw lines between ranges of Y
+%                    separated by ranges of opposite sign.
+
+error(nargchk(1,inf,nargin));
+
+if nargin<2
+    y = x;
+    x = 1:length(y);
+end
+
+if nargin<3        % default LineSpecs:
+    specpos = 'b-';
+    specneg = 'b--';
+elseif nargin<4    % LineSpec for Y<0 if the LineSpec for Y>0 is specified
+    if findstr(specpos,'--')
+        specneg=strrep(specpos,'--','-');
+    else
+        specneg=specpos;
+        specneg=strrep(specneg,'-.','');
+        specneg=strrep(specneg,':','');
+        specneg=strrep(specneg,'-','');
+        specneg=[specneg '--'];
+    end
+end
+
+indpos = find(y>0);
+indneg = find(y<0);
+
+ypos = y;
+ypos(indneg) = 0;
+
+yneg = y;
+yneg(indpos) = 0;
+
+if isempty(indneg) && ~isempty(indpos)
+    hp = semilogy(x, ypos, specpos, varargin{:});
+    hn = [];
+elseif ~isempty(indneg) && isempty(indpos)
+    hp = [];
+    hn = semilogy(x, -yneg, specneg, varargin{:});
+else
+    statehold = ishold;   % figure was 'held on' before?
+    hp = semilogy(x, ypos, specpos, varargin{:});
+    hold on
+    hn = semilogy(x, -yneg, specneg, varargin{:});
+    if statehold==false
+        hold off
+    end
+end
+
+if ~nargout
+    clear hp hn
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showeqbox.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showeqbox.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showeqbox.m	(revision 17)
@@ -0,0 +1,130 @@
+function hboxeq=showeqbox(f,varargin)
+%SHOWEQBOX   Show the equation box of a fit.
+%   H = SHOWEQBOX(F) shows the equation box of the fit F, using the settings
+%   defined in FITPARAM. The fit structure F is obtained from EZFIT. H is a
+%   handle to the equation box.
+%
+%   Note that SHOWEQBOX interprets the greek symbols in the fitting equation
+%   (latex syntax). The '\' latex symbol must be omitted.
+%
+%   SHOWEQBOX is automatically called from SHOWFIT or SELECTFIT when the
+%   option 'dispeqboxmode' is set to 'on' in the fitparam.m file.
+%
+%   Example:
+%      plotsample('power')
+%      f = ezfit('alpha/x^n');
+%      showeqbox(f);
+%
+%   See also FITPARAM, EZFIT, SHOWFIT, DISPEQFIT.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.14,  Date: 2010/07/09
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/02/08: v1.00, first version.
+% 2006/02/14: v1.10, compatible with 'y(x)=..' (free function name).
+%                    Capital greek letters accepted. Greek letters as
+%                    subscript accepted.
+% 2006/09/06: v1.11, bug fixed when the handle f.hdata is invalid
+% 2006/10/18: v1.12, bug fixed for fitcolors. accepts the argument fp
+% 2007/07/24: v1.13, bug fixed when no 2nd parameter given
+% 2010/07/09: v1.14, now the font size and font name are the same as the
+%                    axes of the figure.
+
+
+if nargin>1   % new v1.13
+    if isstruct(varargin{1})
+        fp=varargin{1};
+    end
+end
+
+if ~exist('fp','var')
+    % loads the default fit parameters:
+    try
+        fp=fitparam;
+    catch
+        error('No fitparam file found.');
+    end
+end
+
+if isfield(f,'eq'), % for normal fits (no interpolation):
+    streq = [f.yvar '(' f.xvar ') = ' f.eq];  
+    
+    if strcmp(fp.eqreplacemode,'on'),
+        for n=1:length(f.m),
+            streq = strrep(streq, f.param{n}, num2str(f.m(n), fp.numberofdigit));
+        end
+        if length(streq)>fp.maxlengtheq,
+            streq=[streq(1:fp.maxlengtheq) '...'];
+        end
+        streq=greekize(streq);
+        streq={streq};
+    else
+        % truncates the equation string if too long:
+        if length(streq)>fp.maxlengtheq,
+            streq=[streq(1:fp.maxlengtheq) '...'];
+        end
+        streq={greekize(streq)};
+        for n=1:length(f.m),
+            strm = [greekize(f.param{n}) ' = ' num2str(f.m(n), fp.numberofdigit)];
+            streq = {streq{:} strm};
+        end
+    end
+
+    lastline='';
+    switch lower(fp.corrcoefmode)
+        case 'r', lastline=['R = ' num2str(f.r, fp.numberofdigit) '  '];
+        case 'r2', lastline=['R^2 = ' num2str(f.r^2, fp.numberofdigit) '  '];
+    end
+    if strcmp(fp.linlogdisp,'on')
+        lastline=[lastline '(' f.fitmode ')'];
+    end
+    if ~isempty(lastline)
+        streq = {streq{:} lastline};
+    end
+    
+else
+    streq=f.name; % for interpolations
+end
+
+
+
+% number of fit already present in the figure:
+numann=length(findall(gcf,'UserData','equationbox'));
+% position of the new annotation textbox, to avoid overlapping:
+position = fp.boxlocation+numann*[0.01 -0.01 0 0];
+
+% determines the fit color:
+if ischar(fp.fitcolor) || length(fp.fitcolor)==3
+    fitcolor=fp.fitcolor; % fixed color
+else
+    fitcolor=[0 0 0]; % default color if no data in the figure
+    if isfield(f,'hdata')
+        if ishandle(f.hdata)
+            co=get(f.hdata); % object properties of the data
+            if isfield(co,'Color'),
+                fitcolor=max(0,min(1,co.Color*fp.fitcolor)); % color indexed from that of the data
+            end
+        end
+    end
+end
+
+if any(strncmpi(varargin,'transparent',5)) % option used with 'selectfit', in order not to hide the data during the selection
+    bgcolor='none';
+else
+    bgcolor='white';
+end
+
+% changed v1.14
+hboxeq=annotation(...
+    'textbox',position,...
+    'BackgroundColor',bgcolor,...
+    'Color',fitcolor,...
+    'EdgeColor',fitcolor,...
+    'FitBoxToText','on',...
+    'UserData','equationbox',...
+    'String',streq,...
+    'FontSize',get(0,'DefaultAxesFontSize'),...
+    'FontName',get(0,'DefaultAxesFontName'));
+
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showfit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showfit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showfit.m	(revision 17)
@@ -0,0 +1,273 @@
+function fout = showfit(varargin)
+%SHOWFIT   Show the fit for the active curve.
+%   SHOWFIT displays the fit specified in a dialog box for the active
+%   curve. Use UNDOFIT or RMFIT to remove the fit. The display settings are
+%   defined in the file FITPARAM.
+%
+%   By default, the first curve in the active figure is used (see FITPARAM
+%   to change this default behavior). To fit another curve, select it
+%   before calling SHOWFIT. If some data are selected by the "Data
+%   Brushing" tool (only for Matlab >= 7.6), only those data are fitted.
+%   If you use Matlab <=7.5, use SELECTFIT to fit only a part of the data
+%   from the selected curve. 
+%
+%   SHOWFIT(FUN) specifies the fitting string FUN. FUN may be either a
+%   default fit (eg, 'exp', 'power'), a user-defined fit (see EDITFIT),
+%   or directly a fit equation (eg, 'c+a*exp(-x/x0)'). See EZFIT for the
+%   syntax of FUN. FUN may also be any valid interpolation method string
+%   (eg 'spline', 'cubic'... excepted 'linear'). See INTERP1 for the valid
+%   interpolation methods.
+%
+%   SHOWFIT(F) displays the fit F defined from the fit structure returned
+%   by EZFIT. See EZFIT for the definition of F.
+%
+%   SHOWFIT(..., 'PropertyName','PropertyValue',...) specifies the 
+%   properties of the fit (e.g., fit colors, line width etc.). See the
+%   default values in the file FITPARAM.
+%
+%   F = SHOWFIT(...) also returns the fit structure F. F has the same
+%   content as the fit structure returned by EZFIT (see EZFIT for details),
+%   and also contains a handle to the equation box and to the curve.
+%
+%   Note that if the option 'lin' or 'log' is not specified in the string
+%   FUN, SHOWFIT checks the Y-scale to know if Y or LOG(Y) has to be
+%   fitted.
+%
+%   Examples:
+%      type 'plotsample' and follow the instructions.
+%
+%      plotsample power
+%      showfit('c*x^n; log');
+%
+%      plotsample hist
+%      f = ezfit('gauss');
+%      showfit(f,'fitcolor','red','fitlinewidth',2);
+%
+%      plotsample poly2
+%      f = showfit('z(v) = poly3','dispfitlegend','on');
+%      editcoeff(f);
+%
+%   See also EZFIT, UNDOFIT, RMFIT, PLOTSAMPLE, PICKDATA, INTERP1.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 2.11,  Date: 2012/07/08
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/05/21: v1.00, first version.
+% 2005/07/27: v1.01, cosmetics.
+% 2005/10/07: v1.02, also displays the parameters in the plot.
+% 2005/10/17: v1.10, uses the first curve of the active figure if no curve
+%                    is active.
+% 2005/10/18: v1.11, no display if no output arg.
+% 2005/10/31: v1.20, also displays R. text is displayed in an annotation
+%                    box. now uses pickdata. also accepts interpolation.
+% 2005/11/03: v1.30, use the file 'fitparam.m' for the fit default values.
+% 2005/11/05: v1.31, also displays the lin/log mode
+% 2005/12/06: v1.40, opens a dialog box if the fitting function string is
+%                    not specified.
+% 2006/01/28: v1.41, first check if a curve is present.
+% 2006/01/31: v1.42, bug fixed for R^2
+% 2006/02/08: v2.00, new syntax. now works with the fit structure F.
+% 2006/02/10: v2.01, displays the legend.
+% 2006/02/16: v2.02, use evalfit.
+% 2006/03/08: v2.03, idem v1.40; bug fixed when using showfit(f) where f
+%                    is obtained from fit(x,y,...) without plot.
+% 2006/09/04: v2.04, '$' and '!' accepted instead of ';' in FUN
+% 2006/09/06: v2.05, bug fixed when F is a structure of a FIT originating
+%                    from a deleted curve (f.hdata is an invalid handle)
+% 2006/10/18: v2.10, accepts additional input parameters to chnage the
+%                    default settings.
+% 2012/07/08: v2.11, hold on/off now correctly (thanks Alec de Zegher)
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% fit parameters:  (new v2.10)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% loads the default fit parameters:
+try
+    fp=fitparam;
+catch
+    error('No fitparam file found.');
+end
+
+
+% change the default values of the fit parameters according to the
+% additional input arguments:
+for nopt=1:(nargin-1)
+    if any(strcmp(varargin{nopt},fieldnames(fp))) % if the option string is one of the fit parameter
+        fp.(varargin{nopt}) = varargin{nopt+1};
+    end
+end
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% input arguments:
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+if nargin==0,
+    % opens a dialog box with the last fit equation (saved in prevfit.mat):
+    efroot=fileparts(mfilename('fullpath'));   % directory where the ezyfit toolbox is installed
+    prevfitfile=[efroot filesep 'prevfit.mat'];
+    if exist(prevfitfile,'file'),
+        load(prevfitfile);
+    else
+        fun='m1 + m2 * x; m1 = 1; m2 = 1';
+    end
+    fun=inputdlg('Enter a default fit, a user-defined fit or directly a fit equation',...
+        'General Curve Fit Definition',1,{fun});
+    if ~isempty(fun)
+        fun=fun{1};
+        fun=strrep(fun,'$',';');  % new v2.04
+        fun=strrep(fun,'!',';');
+        save(prevfitfile,'fun');
+        % if the option 'lin' or 'log' is not specified, use the Y-scale of
+        % the current figure:
+        if (isempty(findstr(strrep(fun,' ',''),';lin'))) && (isempty(findstr(strrep(fun,' ',''),';log'))),
+            mode=get(gca,'YScale');
+            fun=strrep([fun ';' mode(1:3)],';;',';');
+        end
+        f=ezfit(fun);
+    else
+        return;
+    end
+elseif nargin>=1,
+    if isstruct(varargin{1}), % if argument is a structure
+        f=varargin{1};
+    elseif ischar(varargin{1}), % if argument is a string
+        fun=varargin{1};
+        fun=strrep(fun,'$',';');  % new v2.04
+        fun=strrep(fun,'!',';');
+        if sum(strcmp(fun,{'nearest','spline','pchip','cubic','v5cubic'})),
+            f.name=fun;
+            [f.x, f.y, f.hdata]=pickdata(fp);
+        else  % if the string is not an interpolation
+            if strcmp(fun,'poly'), % new v2.03
+                str_ord=inputdlg('Order of the polynomial fit','Polynomial order',1,{'2'});
+                if ~isempty(str_ord),
+                    fun=['poly' str_ord{1}];
+                else
+                    return;
+                end
+            end
+            % if the option 'lin' or 'log' is not specified, use the Y-scale of
+            % the current figure:
+            if (isempty(findstr(strrep(fun,' ',''),';lin'))) && (isempty(findstr(strrep(fun,' ',''),';log'))),
+                mode=get(gca,'YScale');
+                fun=strrep([fun ';' mode(1:3)],';;',';');
+            end
+            f=ezfit(fun,varargin{2:end});
+        end
+    else
+        error('Use showfit with a string or a fit structure.');
+    end
+end
+
+
+
+% output fit structure: idem as f, but with additional information.
+fout=f;
+
+% determines the X points used to evaluate the fit
+switch fp.extrapol
+    case {'none','data'},
+        xminfit=min(f.x);
+        xmaxfit=max(f.x);
+    case 'fig',
+        icg=get(gca);
+        xminfit=icg.XLim(1);
+        xmaxfit=icg.XLim(2);
+end
+if strcmp(get(gca,'XScale'),'log'),
+    xfit=logspace(log10(xminfit),log10(xmaxfit),fp.npt);
+else
+    xfit=linspace(xminfit,xmaxfit,fp.npt);
+end
+
+
+% evaluate the fit / interpolation:
+switch f.name
+    case {'nearest','spline','pchip','cubic','v5cubic'}
+        yfit = interp1(f.x, f.y, xfit, f.name);
+    otherwise   % real fit (ie with a fitting function)  
+        yfit = evalfit(f, xfit);
+end
+
+        
+% determines the fit color:
+if ischar(fp.fitcolor) || length(fp.fitcolor)==3
+    fitcolor=fp.fitcolor; % fixed color
+else
+    fitcolor=[0 0 0]; % default color if no data in the figure
+    if isfield(f,'hdata')
+        if ishandle(f.hdata)
+            co=get(f.hdata); % object properties of the data
+            if isfield(co,'Color'),
+                fitcolor=max(0,min(1,co.Color*fp.fitcolor)); % color indexed from that of the data
+            end
+        end
+    end
+end
+
+% plots the fitted curve (modified v2.11)
+holdState = ishold;
+hold on;
+fout.hfit = plot(xfit,yfit,'-','Color',fitcolor,'LineStyle',fp.fitlinestyle,'LineWidth',fp.fitlinewidth);
+% Return to original hold state
+if ~holdState
+    hold off
+end
+
+% this tag is useful to delete the fit later
+set(fout.hfit,'UserData', 'fit'); 
+
+% give a 'DisplayName' to the fit:
+if length(fout.name)>10,
+    fitname='fit';
+else
+    fitname=greekize(fout.name);
+end
+setautodisplayname; % give a name to all the data in the figure (if they don't have one yet)
+if isfield(f,'hdata'),
+    if ishandle(f.hdata)   % new v2.05, changed v2.10
+        try
+            dataname = get(f.hdata,'DisplayName');
+        catch
+            dataname = 'data';
+        end
+        fitname=[fitname ' (' dataname ')'];
+    end
+end
+set(fout.hfit,'DisplayName',fitname);
+
+
+% makes the equation box:
+if strcmp(fp.dispeqboxmode,'on')
+    fout.heqbox = showeqbox(f,fp);
+end
+
+% updates the legend:
+if strcmp(fp.dispfitlegend,'on')
+    legend off;  % refresh the legend
+    legend show;
+end
+
+% opens the Array Editor with the fit coefficients:
+if (strcmp(fp.editcoeffmode,'on') && (isfield(fout,'m'))),
+    editcoeff(fout);
+end
+
+% displays the fit equation in the command window if no output argument:
+if ~nargout
+    if isfield(fout,'m'),
+        if strcmp(fp.dispeqmode,'on') % new v2.30
+            dispeqfit(fout,fp);
+        end
+    end
+    clear fout;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showresidual.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showresidual.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showresidual.m	(revision 17)
@@ -0,0 +1,71 @@
+function yres = showresidual(f,h)
+%SHOWRESIDUAL   Show the residuals of a fit
+%   SHOWRESIDUAL(F) displays the residuals for the fit F in a new figure,
+%   ie: plots the difference between the data and the fit.
+%
+%   SHOWRESIDUAL is also available from the item 'Show Fit Residuals' in
+%   the EzyFit menu (see EFMENU).
+%
+%   If F is not specified, plots the residual for the last fit.
+%
+%   YRES = SHOWRESIDUAL(...) returns the residuals (YRES = YDATA - YFIT).
+%
+%   SHOWRESIDUAL(F, H) plots the residual in the figure H.
+%
+%   See also SHOWFIT, EZFIT, EFMENU.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2006/02/16
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2006/02/16: v1.00, first version.
+
+
+% if no input argument, use the last fit, which is stored
+% in the variable lastfit in the 'base' workspace:
+if nargin==0,
+    if evalin('base','exist(''lastfit'',''var'')')
+        f=evalin('base','lastfit');
+    else
+        errordlg('No existing fit. First fit a curve.',...
+            'Show fit residual','on');
+        return;
+    end;
+end;
+
+yfit = evalfit(f, f.x);
+yres = f.y - yfit;
+
+if exist('h','var'),
+    figure(h);
+    hold on;
+else
+    figure;
+end;
+
+hres = plot(f.x, yres, 'o');
+title(['Fit Residuals for ' strrep(f.name,'^','\^')]);
+ylabel([f.yvar ' - ' f.yvar '_{fit}']);
+
+if isfield(f,'hdata')
+    if ishandle(f.hdata),
+        set(hres, 'Color', get(f.hdata, 'Color'));
+        set(hres, 'LineStyle', get(f.hdata, 'LineStyle'));
+        set(hres, 'LineWidth', get(f.hdata, 'LineWidth'));
+        set(hres, 'Marker', get(f.hdata, 'Marker'));
+        set(hres, 'MarkerSize', get(f.hdata, 'MarkerSize'));
+        p=get(f.hdata); pp=get(p.Parent); ppl=get(pp.XLabel);
+        xlabel(ppl.String); % The Xlabel of the residual plot is given
+        % by the XLabel of the original plot.
+        set(gca, 'XScale', pp.XScale);
+    end;
+end;
+
+gridc x;
+axisc y;
+hold off;
+
+if nargout==0,
+    clear yres;
+end;
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showslope.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showslope.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/showslope.m	(revision 17)
@@ -0,0 +1,190 @@
+function hl=showslope(n,varargin)
+%SHOWSLOPE  Draw a line with fixed slope
+%   SHOWSLOPE(N) drags a line in the current figure with a fixed slope N
+%   (does not work with docked windows; undock your window first!)
+%
+%   Depending of the axis types, the 'slope' N means:
+%        Y = N*X+A         for X linear and Y linear
+%        Y = A*X^N         for X log and Y log
+%        Y = A*EXP(N*X)    for X linear and Y log
+%        Y = A+N*LOG(X)    for X log and Y linear (LOG = natural logarithm)
+%
+%   The value N is displayed close to the line. N may also be the string of
+%   any valid Matlab expression (eg, 'pi', '22/7', ...), which will be 
+%   displayed close to the line. SHOWSLOPE(N,'nolabel') does not display
+%   the value N in the figure.
+%
+%   H = SHOWSLOPE(..) also returns a handle to the line.
+%
+%   By default, the line is an 'annotation object', ie: it is attached to
+%   the window and not to the figure axes. As a consequence, the line may
+%   be further moved, or may be used for GETSLOPE. However, resizing
+%   the window may in some case shift the line, and turning the axes from
+%   lin to log turns a power law to a log law... To avoid these problems,
+%   specify SHOWSLOPE(N,'fix'), which makes the line a real plot object
+%   attached to the figure axes.
+%
+%   See also GETSLOPE, GETLINEINFO, PLOTSAMPLE.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.41,  Date: 2007/09/14
+%   This function is part of the EzyFit Toolbox
+
+% History:
+% 2005/02/17, v1.00, first version.
+% 2005/02/22, v1.01, cosmetic changes.
+% 2005/04/20: v1.02, id.
+% 2005/07/27: v1.03, id.
+% 2005/09/03: v1.04, check arg changed.
+% 2005/10/31: v1.05, uses myginput.
+% 2005/11/02: v1.06, suppresses the extreme points; N can be a string.
+% 2005/11/03: v1.10, annotation line used. options 'd' and 's' suppressed.
+%                    works in lin/log coords.
+% 2005/12/06: v1.20, opens a dialog box if the slope is not specified.
+% 2005/12/12: v1.21, interactive properties of the figure suspended during
+%                    the drawing.
+% 2006/01/27: v1.30, uses 'SelectionType' instead of 'WindowButtonDownFcn',
+%                    which caused frequent bugs.
+% 2006/02/16: v1.40, saves the slope in the file 'prevslope.mat'
+% 2007/09/14: v1.41, error msg when window is docked; new option 'dialog'
+
+error(nargchk(0,2,nargin));
+
+if isempty(get(0,'CurrentFigure'))
+    error('No figure.');
+end
+
+% new v1.41
+if strcmpi(get(gcf,'WindowStyle'),'Docked')
+    if any(strncmpi(varargin,'dialog',4))
+        errordlg('Sorry, ShowSlope does not work on docked windows. Please undock your window first.','ShowSlope');
+        return
+    end
+    error('Sorry, showslope does not work on docked windows. Please undock your window first.');
+end
+
+if nargin==0 || isempty(n)
+    efroot=fileparts(mfilename('fullpath'));   % directory where the ezyfit toolbox is installed
+    prevslopefile=[efroot filesep 'prevslope.mat'];
+    if exist(prevslopefile,'file')
+        load(prevslopefile);
+    else
+        n=1;
+    end
+    n=inputdlg('Enter the slope','Showslope',1,{num2str(n)});
+    if ~isempty(n)
+        n=n{1};
+        save(prevslopefile,'n');
+    else
+        return;
+    end
+end
+
+
+if ischar(n), strn=n; n=eval(n);
+else strn=num2str(n); end
+
+icg=get(gca); % get infos about the current axes
+
+% initial settings:
+fig=gcf;
+initial_pointer=get(fig,'Pointer');
+uistate=uisuspend(fig);
+
+[xv,yv,but]=myginput(1,'crosshair');
+
+set(fig,'Pointer','crosshair');
+
+if (but==1),
+    spt0 = get(0, 'PointerLocation'); % pointer coordinates in pixel, from the screen corner
+    wls=get(fig,'Position'); % position of the window in the screen, in pixels
+    xw1=(spt0(1)-wls(1))/wls(3); % 1st point, normalized to the window (between 0 and 1)
+    yw1=(spt0(2)-wls(2))/wls(4);
+
+    hold on;
+
+    set(fig,'SelectionType','extend');
+    while strcmp(get(fig,'SelectionType'),'extend'),
+        if get(0,'PointerWindow')==fig, % if the pointer is in the window
+            sptcur = get(0, 'PointerLocation');    % pointer coordinates in pixel, from the screen corner
+            wls=get(fig,'Position');               % position of the window in the screen, in pixels
+            xw2=(sptcur(1)-wls(1))/wls(3);         % abscisse of the current point, normalized to the window
+            xr2=(xw2-icg.Position(1))/(icg.Position(3));      % abscisse of the current point, normalized to axes
+            
+            if isequal(icg.XScale,'log') && isequal(icg.YScale,'log'),
+                % Show a power law, y=a*x^n.
+                
+                xv(2)=icg.XLim(1)*(icg.XLim(2)/icg.XLim(1))^xr2;         % in 'physical' units
+                yv(2)=yv(1)*(xv(2)/xv(1))^n;                             % in 'physical' units
+                yr2=log(yv(2)/icg.YLim(1))/log(icg.YLim(2)/icg.YLim(1)); % normalized to the axes
+
+            elseif isequal(icg.XScale,'linear') && isequal(icg.YScale,'linear'),
+                % Show an affine law, y=nx+a.
+                
+                xv(2)=icg.XLim(1)+(icg.XLim(2)-icg.XLim(1))*xr2;
+                yv(2)=yv(1)+n*(xv(2)-xv(1));
+                yr2=(yv(2)-icg.YLim(1))/(icg.YLim(2)-icg.YLim(1));
+
+            elseif isequal(icg.XScale,'linear') && isequal(icg.YScale,'log'),
+                % Show an exponential law, y=a*exp(nx).
+                
+                xv(2)=icg.XLim(1)+(icg.XLim(2)-icg.XLim(1))*xr2;
+                yv(2)=yv(1)*exp(n*(xv(2)-xv(1)));
+                yr2=log(yv(2)/icg.YLim(1))/log(icg.YLim(2)/icg.YLim(1));
+
+            elseif isequal(icg.XScale,'log') && isequal(icg.YScale,'linear'),
+                % Show a logarithmic law, y=a+n*log(x).
+                
+                xv(2)=icg.XLim(1)*(icg.XLim(2)/icg.XLim(1))^xr2; % in 'physical' units
+                yv(2)=yv(1)+n*log(xv(2)/xv(1));
+                yr2=(yv(2)-icg.YLim(1))/(icg.YLim(2)-icg.YLim(1));
+                
+            end
+
+            % normalization to the window (between 0 and 1):
+            if n~=0
+                yw2=icg.Position(2)+icg.Position(4)*yr2;
+            else
+                yw2=yw1;
+            end
+            hl=findall(fig,'UserData','showslopedashedline');
+            if ~isempty(hl),
+                set(hl,'X',[xw1 xw2]);
+                set(hl,'Y',[yw1 yw2]);
+            else
+                annotation('line',[xw1 xw2],[yw1 yw2],...
+                    'LineStyle',':','UserData','showslopedashedline');
+            end
+            %drawnow;
+        end
+    end
+    
+    if any(strcmpi(varargin,'fix'))
+        delete(hl);
+        x=linspace(xv(1),xv(2),200);
+        if     isequal(icg.XScale,'log') && isequal(icg.YScale,'log'),       y=yv(1)*(x/xv(1)).^n;
+        elseif isequal(icg.XScale,'linear') && isequal(icg.YScale,'linear'), y=yv(1)+n*(x-xv(1));
+        elseif isequal(icg.XScale,'linear') && isequal(icg.YScale,'log'),    y=yv(1)*exp(n*(x-xv(1)));
+        elseif isequal(icg.XScale,'log') && isequal(icg.YScale,'linear'),    y=yv(1)+n*log(x/xv(1));
+        end
+        hl=plot(x,y,'k-','UserData','showslopeline');
+    else
+        set(hl,'UserData','showslopeline');
+        set(hl,'LineStyle','-');
+    end
+    %drawnow;
+    
+    if ~any(strncmpi(varargin,'nolabel',5))
+        textlocation=[(xw1+xw2)/2 (yw1+yw2)/2-0.075-sign(n)*0.025 0.1 0.1];
+        annotation('textbox',textlocation,'LineStyle','none','UserData','showslopetextbox','String',strn);
+    end
+end
+hold off;
+
+% restores all:
+set(fig,'Pointer',initial_pointer);
+uirestore(uistate);
+
+if nargout==0
+    clear hl
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/sw.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/sw.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/sw.m	(revision 17)
@@ -0,0 +1,13 @@
+function sw
+%SW  LIN<->LOG swap of the X and Y axis
+%   SW swaps the X and Y axis of the current plot between linear and log
+%   scale.
+%
+%   See also SWX, SWY.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2006/01/28
+%   This function is part of the EzyFit Toolbox
+
+swx;
+swy;
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/swx.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/swx.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/swx.m	(revision 17)
@@ -0,0 +1,16 @@
+function swx
+%SWX  LIN<->LOG swap of the X axis
+%   SWX swaps the X axis of the current plot between linear and log
+%   coordinates.
+%
+%   See also SWY, SW.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2005/10/31
+%   This function is part of the EzyFit Toolbox
+
+if strcmp(get(gca,'XScale'),'log')
+    linx;
+else
+    logx;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/swy.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/swy.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/swy.m	(revision 17)
@@ -0,0 +1,16 @@
+function swy
+%SWY  LIN<->LOG swap of the Y axis
+%   SWY swaps the Y axis of the current plot between linear and log
+%   coordinates.
+%
+%   See also SWX, SW.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2005/10/31
+%   This function is part of the EzyFit Toolbox
+
+if strcmp(get(gca,'YScale'),'log')
+    liny;
+else
+    logy;
+end
Index: /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/undofit.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/undofit.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/undofit.m	(revision 17)
@@ -0,0 +1,14 @@
+function undofit
+%UNDOFIT  Remove the last fit from the current figure
+%   UNDOFIT removes the last fit (and its equation box) created by
+%   SHOWFIT from the current figure.
+%
+%   UNDOFIT is a shortcut for RMFIT('last').
+%
+%   See also SHOWFIT, RMFIT, EFMENU.
+
+%   F. Moisy, moisy_at_fast.u-psud.fr
+%   Revision: 1.00,  Date: 2005/10/31
+%   This function is part of the EzyFit Toolbox
+
+rmfit('last');
Index: /trunk/machine/SOLEIL/common/toolbox/findX/findX.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/findX/findX.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/findX/findX.m	(revision 17)
@@ -0,0 +1,51 @@
+%FINDX Single-variable linear level finding ("inverse" INTERP1).
+%   XI = findX(X,Y,YI) estimates the XI values at which the dependent
+%   variables Y reach or cross a specified target level YI (scalar value).
+%   If there are multiple solutions, findX finds all of them.
+%   It may be seen as the "inverse" operation of the MATLAB's function
+%   INTERP1, under 'linear' method.
+%
+%   X is a vector containing a sequence of monotone increasing values of
+%   the independent variable. Y is a vector containing the discrete values
+%   of the dependent variable (underlying function).
+%
+%   [XI,IDEXACT] = findX(X,Y,YI) returns in IDEXACT the indices where the
+%   original values of Y exactly reach the target level YI,
+%   i.e. Y(IDEXACT)=YI, so interpolation was not needed.
+%
+% Antoni J. Canos.
+% Microwave Heating Group, GEA.
+% ITACA, Technical University of Valencia.
+% Valencia (Spain), April 2009
+
+function [XI,IDEXACT] = findX(X,Y,YI)
+
+% Check dimensions of input arrays
+m=length(X);
+r=length(Y);
+
+if ~isvector(X) | ~isvector(Y)
+    error('X and Y must be vectors.');
+end
+
+if (m ~= r)
+    error('Lengths of X and Y vectors must be the same.');
+end
+
+% Initialize outputs
+XI = [];
+IDEXACT = [];
+IDINTERP = [];
+
+% Subtract target level to simplify subsequent code
+Y = Y - YI;
+
+% Find exact values. They can be crossings or "kisses".
+IDEXACT = find(Y==0);
+
+% Find crossings
+IDINTERP = find ( Y(1:end-1) .* Y(2:end) < 0 );
+
+% Calculating XI values and combining
+XI = union(X(IDEXACT),X(IDINTERP) + (X(IDINTERP+1) - X(IDINTERP)) .* Y(IDINTERP) ./ (Y(IDINTERP) - Y(IDINTERP+1)));
+
Index: /trunk/machine/SOLEIL/common/toolbox/findX/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/findX/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/findX/license.txt	(revision 17)
@@ -0,0 +1,24 @@
+Copyright (c) 2009, Antoni J. CanÃ³s
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/demo/fminsearchbnd_demo.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/demo/fminsearchbnd_demo.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/demo/fminsearchbnd_demo.m	(revision 17)
@@ -0,0 +1,47 @@
+%% Optimization of a simple (Rosenbrock) function, with no constraints
+rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+
+% With no constraints, operation simply passes through
+% directly to fminsearch. The solution should be [1 1]
+xsol = fminsearchbnd(rosen,[3 3])
+
+%% Only lower bound constraints
+xsol = fminsearchbnd(rosen,[3 3],[2 2])
+
+%% Only upper bound constraints
+xsol = fminsearchbnd(rosen,[-5 -5],[],[0 0])
+
+%% Dual constraints
+xsol = fminsearchbnd(rosen,[2.5 2.5],[2 2],[3 3])
+
+%% Mixed constraints
+xsol = fminsearchbnd(rosen,[0 0],[2 -inf],[inf 3])
+
+%% Provide your own fminsearch options
+opts = optimset('fminsearch');
+opts.Display = 'iter';
+opts.TolX = 1.e-12;
+opts.MaxFunEvals = 100;
+
+n = [10,5];
+H = randn(n);
+H=H'*H;
+Quadraticfun = @(x) x*H*x';
+
+% Global minimizer is at [0 0 0 0 0].
+% Set all lower bound constraints, all of which will
+% be active in this test.
+LB = [.5 .5 .5 .5 .5];
+xsol = fminsearchbnd(Quadraticfun,[1 2 3 4 5],LB,[],opts)
+
+%% Exactly fix one variable, constrain some others, and set a tolerance
+opts = optimset('fminsearch');
+opts.TolFun = 1.e-12;
+
+LB = [-inf 2 1 -10];
+UB = [ inf  inf 1  inf];
+xsol = fminsearchbnd(@(x) norm(x),[1 3 1 1],LB,UB,opts)
+
+%% All the standard outputs from fminsearch are still returned
+[xsol,fval,exitflag,output] = fminsearchbnd(@(x) norm(x),[1 3 1 1],LB,UB)
+
Index: /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/demo/html/fminsearchbnd_demo.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/demo/html/fminsearchbnd_demo.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/demo/html/fminsearchbnd_demo.html	(revision 17)
@@ -0,0 +1,299 @@
+<html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+   
+      <!--
+This HTML is auto-generated from an M-file.
+To make changes, update the M-file and republish this document.
+      -->
+      <title>fminsearchbnd_demo</title>
+      <meta name="generator" content="MATLAB 7.0.1">
+      <meta name="date" content="2006-07-24">
+      <meta name="m-file" content="fminsearchbnd_demo"><style>
+body {
+  background-color: white;
+  margin:10px;
+}
+h1 {
+  color: #990000; 
+  font-size: x-large;
+}
+h2 {
+  color: #990000;
+  font-size: medium;
+}
+p.footer {
+  text-align: right;
+  font-size: xx-small;
+  font-weight: lighter;
+  font-style: italic;
+  color: gray;
+}
+
+pre.codeinput {
+  margin-left: 30px;
+}
+
+span.keyword {color: #0000FF}
+span.comment {color: #228B22}
+span.string {color: #A020F0}
+span.untermstring {color: #B20000}
+span.syscmd {color: #B28C00}
+
+pre.showbuttons {
+  margin-left: 30px;
+  border: solid black 2px;
+  padding: 4px;
+  background: #EBEFF3;
+}
+
+pre.codeoutput {
+  color: gray;
+  font-style: italic;
+}
+pre.error {
+  color: red;
+}
+
+/* Make the text shrink to fit narrow windows, but not stretch too far in 
+wide windows.  On Gecko-based browsers, the shrink-to-fit doesn't work. */ 
+p,h1,h2,div {
+  /* for MATLAB's browser */
+  width: 600px;
+  /* for Mozilla, but the "width" tag overrides it anyway */
+  max-width: 600px;
+  /* for IE */
+  width:expression(document.body.clientWidth > 620 ? "600px": "auto" );
+}
+
+    </style></head>
+   <body>
+      <h2>Contents</h2>
+      <div>
+         <ul>
+            <li><a href="#1">Optimization of a simple (Rosenbrock) function, with no constraints</a></li>
+            <li><a href="#2">Only lower bound constraints</a></li>
+            <li><a href="#3">Only upper bound constraints</a></li>
+            <li><a href="#4">Dual constraints</a></li>
+            <li><a href="#5">Mixed constraints</a></li>
+            <li><a href="#6">Provide your own fminsearch options</a></li>
+            <li><a href="#7">Exactly fix one variable, constrain some others, and set a tolerance</a></li>
+            <li><a href="#8">All the standard outputs from fminsearch are still returned</a></li>
+         </ul>
+      </div>
+      <h2>Optimization of a simple (Rosenbrock) function, with no constraints<a name="1"></a></h2><pre class="codeinput">rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+
+<span class="comment">% With no constraints, operation simply passes through</span>
+<span class="comment">% directly to fminsearch. The solution should be [1 1]</span>
+xsol = fminsearchbnd(rosen,[3 3])
+</pre><pre class="codeoutput">
+xsol =
+
+      0.99998      0.99995
+
+</pre><h2>Only lower bound constraints<a name="2"></a></h2><pre class="codeinput">xsol = fminsearchbnd(rosen,[3 3],[2 2])
+</pre><pre class="codeoutput">
+xsol =
+
+            2            4
+
+</pre><h2>Only upper bound constraints<a name="3"></a></h2><pre class="codeinput">xsol = fminsearchbnd(rosen,[-5 -5],[],[0 0])
+</pre><pre class="codeoutput">
+xsol =
+
+  -1.0447e-13  -1.4451e-08
+
+</pre><h2>Dual constraints<a name="4"></a></h2><pre class="codeinput">xsol = fminsearchbnd(rosen,[2.5 2.5],[2 2],[3 3])
+</pre><pre class="codeoutput">
+xsol =
+
+            2            3
+
+</pre><h2>Mixed constraints<a name="5"></a></h2><pre class="codeinput">xsol = fminsearchbnd(rosen,[0 0],[2 -inf],[inf 3])
+</pre><pre class="codeoutput">
+xsol =
+
+            2            3
+
+</pre><h2>Provide your own fminsearch options<a name="6"></a></h2><pre class="codeinput">opts = optimset(<span class="string">'fminsearch'</span>);
+opts.Display = <span class="string">'iter'</span>;
+opts.TolX = 1.e-12;
+opts.MaxFunEvals = 100;
+
+n = [10,5];
+H = randn(n);
+H=H'*H;
+Quadraticfun = @(x) x*H*x';
+
+<span class="comment">% Global minimizer is at [0 0 0 0 0].</span>
+<span class="comment">% Set all lower bound constraints, all of which will</span>
+<span class="comment">% be active in this test.</span>
+LB = [.5 .5 .5 .5 .5];
+xsol = fminsearchbnd(Quadraticfun,[1 2 3 4 5],LB,[],opts)
+</pre><pre class="codeoutput"> 
+ Iteration   Func-count     min f(x)         Procedure
+     0            1          173.731         
+     1            6          172.028         initial simplex
+     2            8          162.698         expand
+     3            9          162.698         reflect
+     4           11          151.902         expand
+     5           13          138.235         expand
+     6           14          138.235         reflect
+     7           16          126.604         expand
+     8           17          126.604         reflect
+     9           19          97.3266         expand
+    10           20          97.3266         reflect
+    11           21          97.3266         reflect
+    12           22          97.3266         reflect
+    13           24          73.7178         expand
+    14           25          73.7178         reflect
+    15           26          73.7178         reflect
+    16           28          50.8236         expand
+    17           29          50.8236         reflect
+    18           31          41.6294         expand
+    19           33          30.4252         expand
+    20           34          30.4252         reflect
+    21           36           27.782         reflect
+    22           37           27.782         reflect
+    23           39           27.782         contract inside
+    24           41          22.6509         reflect
+    25           42          22.6509         reflect
+    26           43          22.6509         reflect
+    27           44          22.6509         reflect
+    28           45          22.6509         reflect
+    29           47          21.0211         reflect
+    30           48          21.0211         reflect
+    31           49          21.0211         reflect
+    32           51          21.0211         contract inside
+    33           52          21.0211         reflect
+    34           54          20.7613         contract inside
+    35           55          20.7613         reflect
+    36           56          20.7613         reflect
+    37           57          20.7613         reflect
+    38           59          20.6012         contract inside
+    39           61          20.5324         contract inside
+    40           63          20.4961         contract inside
+    41           65          20.3886         contract inside
+    42           67          20.2121         reflect
+    43           69          20.0876         contract inside
+    44           71          19.9164         reflect
+    45           72          19.9164         reflect
+    46           74          19.9164         contract inside
+    47           76          19.9164         contract outside
+    48           78          19.3349         expand
+    49           80          19.3349         contract inside
+    50           81          19.3349         reflect
+    51           82          19.3349         reflect
+    52           84          18.8721         expand
+    53           85          18.8721         reflect
+    54           87          18.6427         expand
+    55           89          17.4548         expand
+    56           90          17.4548         reflect
+    57           92          16.0113         expand
+    58           93          16.0113         reflect
+    59           94          16.0113         reflect
+    60           96          14.6134         expand
+    61           98          12.5445         expand
+    62           99          12.5445         reflect
+    63          101          10.7311         expand
+ 
+Exiting: Maximum number of function evaluations has been exceeded
+         - increase MaxFunEvals option.
+         Current function value: 10.731146 
+
+
+xsol =
+
+       1.7022       1.0787       1.2034       0.5006      0.64666
+
+</pre><h2>Exactly fix one variable, constrain some others, and set a tolerance<a name="7"></a></h2><pre class="codeinput">opts = optimset(<span class="string">'fminsearch'</span>);
+opts.TolFun = 1.e-12;
+
+LB = [-inf 2 1 -10];
+UB = [ inf  inf 1  inf];
+xsol = fminsearchbnd(@(x) norm(x),[1 3 1 1],LB,UB,opts)
+</pre><pre class="codeoutput">
+xsol =
+
+  -4.9034e-07            2            1   5.1394e-07
+
+</pre><h2>All the standard outputs from fminsearch are still returned<a name="8"></a></h2><pre class="codeinput">[xsol,fval,exitflag,output] = fminsearchbnd(@(x) norm(x),[1 3 1 1],LB,UB)
+</pre><pre class="codeoutput">
+xsol =
+
+   3.1094e-05            2            1  -5.1706e-05
+
+
+fval =
+
+       2.2361
+
+
+exitflag =
+
+     1
+
+
+output = 
+
+    iterations: 77
+     funcCount: 138
+     algorithm: 'Nelder-Mead simplex direct search'
+       message: [1x194 char]
+
+</pre><p class="footer"><br>
+         Published with MATLAB&reg; 7.0.1<br></p>
+      <!--
+##### SOURCE BEGIN #####
+%% Optimization of a simple (Rosenbrock) function, with no constraints
+rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+
+% With no constraints, operation simply passes through
+% directly to fminsearch. The solution should be [1 1]
+xsol = fminsearchbnd(rosen,[3 3])
+
+%% Only lower bound constraints
+xsol = fminsearchbnd(rosen,[3 3],[2 2])
+
+%% Only upper bound constraints
+xsol = fminsearchbnd(rosen,[-5 -5],[],[0 0])
+
+%% Dual constraints
+xsol = fminsearchbnd(rosen,[2.5 2.5],[2 2],[3 3])
+
+%% Mixed constraints
+xsol = fminsearchbnd(rosen,[0 0],[2 -inf],[inf 3])
+
+%% Provide your own fminsearch options
+opts = optimset('fminsearch');
+opts.Display = 'iter';
+opts.TolX = 1.e-12;
+opts.MaxFunEvals = 100;
+
+n = [10,5];
+H = randn(n);
+H=H'*H;
+Quadraticfun = @(x) x*H*x';
+
+% Global minimizer is at [0 0 0 0 0].
+% Set all lower bound constraints, all of which will
+% be active in this test.
+LB = [.5 .5 .5 .5 .5];
+xsol = fminsearchbnd(Quadraticfun,[1 2 3 4 5],LB,[],opts)
+
+%% Exactly fix one variable, constrain some others, and set a tolerance
+opts = optimset('fminsearch');
+opts.TolFun = 1.e-12;
+
+LB = [-inf 2 1 -10];
+UB = [ inf  inf 1  inf];
+xsol = fminsearchbnd(@(x) norm(x),[1 3 1 1],LB,UB,opts)
+
+%% All the standard outputs from fminsearch are still returned
+[xsol,fval,exitflag,output] = fminsearchbnd(@(x) norm(x),[1 3 1 1],LB,UB)
+
+
+##### SOURCE END #####
+-->
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/fminsearchbnd.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/fminsearchbnd.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/fminsearchbnd.m	(revision 17)
@@ -0,0 +1,304 @@
+function [x,fval,exitflag,output]=fminsearchbnd3(fun,x0,LB,UB,options,varargin)
+% FMINSEARCHBND: FMINSEARCH, but with bound constraints by transformation
+% usage: x=FMINSEARCHBND(fun,x0)
+% usage: x=FMINSEARCHBND(fun,x0,LB)
+% usage: x=FMINSEARCHBND(fun,x0,LB,UB)
+% usage: x=FMINSEARCHBND(fun,x0,LB,UB,options)
+% usage: x=FMINSEARCHBND(fun,x0,LB,UB,options,p1,p2,...)
+% usage: [x,fval,exitflag,output]=FMINSEARCHBND(fun,x0,...)
+% 
+% arguments:
+%  fun, x0, options - see the help for FMINSEARCH
+%
+%  LB - lower bound vector or array, must be the same size as x0
+%
+%       If no lower bounds exist for one of the variables, then
+%       supply -inf for that variable.
+%
+%       If no lower bounds at all, then LB may be left empty.
+%
+%       Variables may be fixed in value by setting the corresponding
+%       lower and upper bounds to exactly the same value.
+%
+%  UB - upper bound vector or array, must be the same size as x0
+%
+%       If no upper bounds exist for one of the variables, then
+%       supply +inf for that variable.
+%
+%       If no upper bounds at all, then UB may be left empty.
+%
+%       Variables may be fixed in value by setting the corresponding
+%       lower and upper bounds to exactly the same value.
+%
+% Notes:
+%
+%  If options is supplied, then TolX will apply to the transformed
+%  variables. All other FMINSEARCH parameters should be unaffected.
+%
+%  Variables which are constrained by both a lower and an upper
+%  bound will use a sin transformation. Those constrained by
+%  only a lower or an upper bound will use a quadratic
+%  transformation, and unconstrained variables will be left alone.
+%
+%  Variables may be fixed by setting their respective bounds equal.
+%  In this case, the problem will be reduced in size for FMINSEARCH.
+%
+%  The bounds are inclusive inequalities, which admit the
+%  boundary values themselves, but will not permit ANY function
+%  evaluations outside the bounds. These constraints are strictly
+%  followed.
+%
+%  If your problem has an EXCLUSIVE (strict) constraint which will
+%  not admit evaluation at the bound itself, then you must provide
+%  a slightly offset bound. An example of this is a function which
+%  contains the log of one of its parameters. If you constrain the
+%  variable to have a lower bound of zero, then FMINSEARCHBND may
+%  try to evaluate the function exactly at zero.
+%
+%
+% Example usage:
+% rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+%
+% fminsearch(rosen,[3 3])     % unconstrained
+% ans =
+%    1.0000    1.0000
+%
+% fminsearchbnd(rosen,[3 3],[2 2],[])     % constrained
+% ans =
+%    2.0000    4.0000
+%
+% See test_main.m for other examples of use.
+%
+%
+% See also: fminsearch, fminspleas
+%
+%
+% Author: John D'Errico
+% E-mail: woodchips@rochester.rr.com
+% Release: 4
+% Release date: 7/23/06
+
+% size checks
+xsize = size(x0);
+x0 = x0(:);
+n=length(x0);
+
+if (nargin<3) || isempty(LB)
+  LB = repmat(-inf,n,1);
+else
+  LB = LB(:);
+end
+if (nargin<4) || isempty(UB)
+  UB = repmat(inf,n,1);
+else
+  UB = UB(:);
+end
+
+if (n~=length(LB)) || (n~=length(UB))
+  error 'x0 is incompatible in size with either LB or UB.'
+end
+
+% set default options if necessary
+if (nargin<5) || isempty(options)
+  options = optimset('fminsearch');
+end
+
+% stuff into a struct to pass around
+params.args = varargin;
+params.LB = LB;
+params.UB = UB;
+params.fun = fun;
+params.n = n;
+params.OutputFcn = [];
+
+% 0 --> unconstrained variable
+% 1 --> lower bound only
+% 2 --> upper bound only
+% 3 --> dual finite bounds
+% 4 --> fixed variable
+params.BoundClass = zeros(n,1);
+for i=1:n
+  k = isfinite(LB(i)) + 2*isfinite(UB(i));
+  params.BoundClass(i) = k;
+  if (k==3) && (LB(i)==UB(i))
+    params.BoundClass(i) = 4;
+  end
+end
+
+% transform starting values into their unconstrained
+% surrogates. Check for infeasible starting guesses.
+x0u = x0;
+k=1;
+for i = 1:n
+  switch params.BoundClass(i)
+    case 1
+      % lower bound only
+      if x0(i)<=LB(i)
+        % infeasible starting value. Use bound.
+        x0u(k) = 0;
+      else
+        x0u(k) = sqrt(x0(i) - LB(i));
+      end
+      
+      % increment k
+      k=k+1;
+    case 2
+      % upper bound only
+      if x0(i)>=UB(i)
+        % infeasible starting value. use bound.
+        x0u(k) = 0;
+      else
+        x0u(k) = sqrt(UB(i) - x0(i));
+      end
+      
+      % increment k
+      k=k+1;
+    case 3
+      % lower and upper bounds
+      if x0(i)<=LB(i)
+        % infeasible starting value
+        x0u(k) = -pi/2;
+      elseif x0(i)>=UB(i)
+        % infeasible starting value
+        x0u(k) = pi/2;
+      else
+        x0u(k) = 2*(x0(i) - LB(i))/(UB(i)-LB(i)) - 1;
+        % shift by 2*pi to avoid problems at zero in fminsearch
+        % otherwise, the initial simplex is vanishingly small
+        x0u(k) = 2*pi+asin(max(-1,min(1,x0u(k))));
+      end
+      
+      % increment k
+      k=k+1;
+    case 0
+      % unconstrained variable. x0u(i) is set.
+      x0u(k) = x0(i);
+      
+      % increment k
+      k=k+1;
+    case 4
+      % fixed variable. drop it before fminsearch sees it.
+      % k is not incremented for this variable.
+  end
+  
+end
+% if any of the unknowns were fixed, then we need to shorten
+% x0u now.
+if k<=n
+  x0u(k:n) = [];
+end
+
+% were all the variables fixed?
+if isempty(x0u)
+  % All variables were fixed. quit immediately, setting the
+  % appropriate parameters, then return.
+  
+  % undo the variable transformations into the original space
+  x = xtransform(x0u,params);
+  
+  % final reshape
+  x = reshape(x,xsize);
+  
+  % stuff fval with the final value
+  fval = feval(params.fun,x,params.args{:});
+  
+  % fminsearchbnd was not called
+  exitflag = 0;
+  
+  output.iterations = 0;
+  output.funcount = 1;
+  output.algorithm = 'fminsearch';
+  output.message = 'All variables were held fixed by the applied bounds';
+  
+  % return with no call at all to fminsearch
+  return
+end
+
+% Check for an outputfcn. If there is any, then substitute my
+% own wrapper function.
+if ~isempty(options.OutputFcn)
+  params.OutputFcn = options.OutputFcn;
+  options.OutputFcn = @outfun_wrapper;
+end
+
+% now we can call fminsearch, but with our own
+% intra-objective function.
+[xu,fval,exitflag,output] = fminsearch(@intrafun,x0u,options,params);
+
+% undo the variable transformations into the original space
+x = xtransform(xu,params);
+
+% final reshape
+x = reshape(x,xsize);
+
+% Use a nested function as the OutputFcn wrapper
+  function stop = outfun_wrapper(x,varargin);
+    % we need to transform x first
+    xtrans = xtransform(x,params);
+    
+    % then call the user supplied OutputFcn
+    stop = params.OutputFcn(xtrans,varargin{1:(end-1)});
+    
+  end
+
+end % mainline end
+
+% ======================================
+% ========= begin subfunctions =========
+% ======================================
+function fval = intrafun(x,params)
+% transform variables, then call original function
+
+% transform
+xtrans = xtransform(x,params);
+
+% and call fun
+fval = feval(params.fun,xtrans,params.args{:});
+
+end % sub function intrafun end
+
+% ======================================
+function xtrans = xtransform(x,params)
+% converts unconstrained variables into their original domains
+
+xtrans = zeros(1,params.n);
+% k allows some variables to be fixed, thus dropped from the
+% optimization.
+k=1;
+for i = 1:params.n
+  switch params.BoundClass(i)
+    case 1
+      % lower bound only
+      xtrans(i) = params.LB(i) + x(k).^2;
+      
+      k=k+1;
+    case 2
+      % upper bound only
+      xtrans(i) = params.UB(i) - x(k).^2;
+      
+      k=k+1;
+    case 3
+      % lower and upper bounds
+      xtrans(i) = (sin(x(k))+1)/2;
+      xtrans(i) = xtrans(i)*(params.UB(i) - params.LB(i)) + params.LB(i);
+      % just in case of any floating point problems
+      xtrans(i) = max(params.LB(i),min(params.UB(i),xtrans(i)));
+      
+      k=k+1;
+    case 4
+      % fixed variable, bounds are equal, set it at either bound
+      xtrans(i) = params.LB(i);
+    case 0
+      % unconstrained variable.
+      xtrans(i) = x(k);
+      
+      k=k+1;
+  end
+end
+
+end % sub function xtransform end
+
+
+
+
+
Index: /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/test/test_main.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/test/test_main.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/fminsearchbnd/test/test_main.m	(revision 17)
@@ -0,0 +1,53 @@
+%% Optimization of a simple (Rosenbrock) function, with no constraints
+% The unconstrained solution is at [1,1]
+rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+
+% With no constraints, operation simply passes through
+% directly to fminsearch. The solution should be [1 1]
+xsol = fminsearchbnd(rosen,[3 3])
+
+%% Full lower and upper bound constraints which will all be inactive
+xsol = fminsearchbnd(rosen,[3 3],[-1 -1],[4 4])
+
+%% Only lower bound constraints
+xsol = fminsearchbnd(rosen,[3 3],[2 2])
+
+%% Only upper bound constraints
+xsol = fminsearchbnd(rosen,[-5 -5],[],[0 0])
+
+%% Dual constraints
+xsol = fminsearchbnd(rosen,[2.5 2.5],[2 2],[3 3])
+
+%% Dual constraints, with an infeasible starting guess
+xsol = fminsearchbnd(rosen,[0 0],[2 2],[3 3])
+
+%% Mixed constraints
+xsol = fminsearchbnd(rosen,[0 0],[2 -inf],[inf 3])
+
+%% Provide your own fminsearch options
+opts = optimset('fminsearch');
+opts.Display = 'iter';
+opts.TolX = 1.e-12;
+
+n = [10,5];
+H = randn(n);
+H=H'*H;
+Quadraticfun = @(x) x*H*x';
+
+% Global minimizer is at [0 0 0 0 0].
+% Set all lower bound constraints, all of which will
+% be active in this test.
+LB = [.5 .5 .5 .5 .5];
+xsol = fminsearchbnd(Quadraticfun,[1 2 3 4 5],LB,[],opts)
+
+%% Exactly fix one variable, constrain some others, and set a tolerance
+opts = optimset('fminsearch');
+opts.TolFun = 1.e-12;
+
+LB = [-inf 2 1 -10];
+UB = [ inf  inf 1  inf];
+xsol = fminsearchbnd(@(x) norm(x),[1 3 1 1],LB,UB,opts)
+
+%% All the standard outputs from fminsearch are still returned
+[xsol,fval,exitflag,output] = fminsearchbnd(@(x) norm(x),[1 3 1 1],LB,UB)
+
Index: /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/fminsearchbnd/license.txt	(revision 17)
@@ -0,0 +1,24 @@
+Copyright (c) 2006, John D'Errico
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/gaussquad/gaussquad.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/gaussquad/gaussquad.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/gaussquad/gaussquad.m	(revision 17)
@@ -0,0 +1,98 @@
+function anss = gaussquad(f,a,b,tol)
+% GAUSSQUAD(f,a,b,tol) Definite integration using Gauss-Legendre 
+% quadrature.  Finds the definite integral of function f from a to b. 
+% User can define the relative convergence tolerence, tol; the default is 
+% 10^-14.  If f is an inline function, it needs to accept vector args.
+% Function f can also be ananymous or a function handle.
+%
+% Example:       
+%
+%            f = @(x) sin(x)./x+exp(-x); % Vectorized function handle.
+%            gaussquad(f,-1,1)
+%
+% See also quad, quadl, quadv and rombquad (on the FEX)
+%
+% Author:  Matt Fig
+% Date:  revised 1/31/2006
+% Contact:  popkenai@yahoo.com
+
+
+% Check for infinite boundaries. 
+if nargin<3
+   error ('Not enough arguments. See help.')
+elseif nargin < 4
+    tol = 1e-14;  % Default.
+end
+
+if isinf(f(a)) || isinf(f(b)) 
+    error('Infinite limits not allowed.')
+end
+
+
+% Initially use a 40 point Gauss-Legendre quadrature in 15 subintervals.
+gp = 40;  
+cnt = 1;  
+ints = 15;  
+maxcount = 35;   
+anss1 = 1;  
+anss2 = 0;                          % Initialization for while.
+
+% Main loop.  Each pass through, the number of intervals and Gauss points 
+% is increased until either the tol is met or the maxcount is exceeded.                                                                                                                                                     
+while abs(anss2-anss1) >= tol && cnt < maxcount
+      anss1 = core(f,a,b,gp,ints);
+      anss2 = core(f,a,b,gp+8,ints+3);
+      gp =  gp+16;
+      ints = ints+6;
+      cnt = cnt+1;
+end 
+
+% Give a warning if max iterations is reached and give an error estimate.
+if cnt>=maxcount                 
+    str = sprintf(['Maximum iterations reached, results may be\n'...
+                   '         inaccurate.  Estimated error: %.2d'],...
+                   abs(anss2-anss1));
+    warning(str); %#ok
+end
+
+anss = anss2;
+
+
+function anss = core(f,a,b,gp,ints)
+% Core subfunction that performs the integrations.
+[abs1, wgt1] = Gauss(gp);                               % Get Gauss points.
+bb(1) = a;                                              % Get subintervals.
+bb(2:ints) = (2:ints)*(b-a)/ints+a;
+dif = diff(bb)/2;
+% Evaluate f at scaled intervals, need to map each interval to [-1 1].
+an = f((abs1+1)*dif+repmat(bb(1:end-1),gp,1));      % Function evaluations.
+new = dif*an'*wgt1;                % Multiply by the weights and intervals.
+anss = sum(new(:));
+
+
+function [x, w] = Gauss(n)
+% Generates the abscissa and weights for a Gauss-Legendre quadrature.
+% Reference:  Numerical Recipes in Fortran 77, Cornell press.
+x = zeros(n,1);                                           % Preallocations.
+w = x;
+m = (n+1)/2;
+for ii=1:m
+    z = cos(pi*(ii-.25)/(n+.5));                        % Initial estimate.
+    z1 = z+1;
+while abs(z-z1)>eps
+    p1 = 1;
+    p2 = 0;
+    for jj = 1:n
+        p3 = p2;
+        p2 = p1;
+        p1 = ((2*jj-1)*z*p2-(jj-1)*p3)/jj;       % The Legendre polynomial.
+    end
+    pp = n*(z*p1-p2)/(z^2-1);                        % The L.P. derivative.
+    z1 = z;
+    z = z1-p1/pp;
+end
+    x(ii) = -z;                                   % Build up the abscissas.
+    x(n+1-ii) = z;
+    w(ii) = 2/((1-z^2)*(pp^2));                     % Build up the weights.
+    w(n+1-ii) = w(ii);
+end
Index: /trunk/machine/SOLEIL/common/toolbox/gaussquad/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/gaussquad/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/gaussquad/license.txt	(revision 17)
@@ -0,0 +1,24 @@
+Copyright (c) 2006, Matt Fig
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/gaussquad/rombquad.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/gaussquad/rombquad.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/gaussquad/rombquad.m	(revision 17)
@@ -0,0 +1,45 @@
+function anss = rombquad(f,a,b,m)
+%ROMBQUAD(f,a,b,m) evaluates the integral of f from a to b.
+% f is an inline function or function handle.
+% a is the lower limit of integration.
+% b is the upper limit of integration.
+% m - is the exponent in the relative error.  For example m = 10 implies an
+% estimated relative error of 1e-10.
+%
+% Example:  
+%
+%           f = @(x) x.^2; % Vectoized function handle.
+%           rombquad(f,0,2); % The integral from 0 to 2.
+%
+% See also quad, quadl, quadv and gaussquad (on the FEX)
+%
+% Author:  Matt Fig
+% Contact:  popkenai@yahoo.com
+ 
+if nargin<3
+   error ('Not enough arguments. See help.')
+elseif nargin<4 || floor(m)~=m || m <1
+    m = 10;
+end
+
+if isinf(a) || isinf(b)
+   error('Infinite limits not allowed.') 
+end
+
+h = 2.^((1:m)-1)*(b-a)/2^(m-1);             % These are the intervals used.
+k1 = 2.^((m-2):-1:-1)*2+1;                  % Index into the intervals.
+f1 = feval(f,a:h(1):b);                     % Function evaluations.
+R = zeros(1,m);                             % Pre-allocation.
+% Define the starting vector:
+for ii = 1:m
+	R(ii) = 0.5*h(ii)*(f1(1)+2*...
+            sum(f1(k1(end-ii+1):k1(end-ii+1)-1:end-1)) + f1(end)); 
+end
+% Interpolations:
+for jj = 2:m
+    jpower = (4^(jj-1)-1);
+    for kk = 1:(m-jj+1)
+        R(kk) = R(kk)+(R(kk)-R(kk+1))/jpower;
+    end 
+end
+anss = R(1);
Index: /trunk/machine/SOLEIL/common/toolbox/optimize/html/testoptimize.html
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/optimize/html/testoptimize.html	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/optimize/html/testoptimize.html	(revision 17)
@@ -0,0 +1,326 @@
+
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+   
+      <!--
+This HTML is auto-generated from an M-file.
+To make changes, update the M-file and republish this document.
+      -->
+      <title>testoptimize</title>
+      <meta name="generator" content="MATLAB 7.7">
+      <meta name="date" content="2009-05-29">
+      <meta name="m-file" content="testoptimize"><style type="text/css">
+
+body {
+  background-color: white;
+  margin:10px;
+}
+
+h1 {
+  color: #990000; 
+  font-size: x-large;
+}
+
+h2 {
+  color: #990000;
+  font-size: medium;
+}
+
+/* Make the text shrink to fit narrow windows, but not stretch too far in 
+wide windows. */ 
+p,h1,h2,div.content div {
+  max-width: 600px;
+  /* Hack for IE6 */
+  width: auto !important; width: 600px;
+}
+
+pre.codeinput {
+  background: #EEEEEE;
+  padding: 10px;
+}
+@media print {
+  pre.codeinput {word-wrap:break-word; width:100%;}
+} 
+
+span.keyword {color: #0000FF}
+span.comment {color: #228B22}
+span.string {color: #A020F0}
+span.untermstring {color: #B20000}
+span.syscmd {color: #B28C00}
+
+pre.codeoutput {
+  color: #666666;
+  padding: 10px;
+}
+
+pre.error {
+  color: red;
+}
+
+p.footer {
+  text-align: right;
+  font-size: xx-small;
+  font-weight: lighter;
+  font-style: italic;
+  color: gray;
+}
+
+  </style></head>
+   <body>
+      <div class="content">
+         <h2>Contents</h2>
+         <div>
+            <ul>
+               <li><a href="#1">Constrained optimization with FMINSEARCH</a></li>
+               <li><a href="#3">Introduction</a></li>
+               <li><a href="#4">Usage</a></li>
+            </ul>
+         </div>
+         <h2>Constrained optimization with FMINSEARCH<a name="1"></a></h2><pre class="codeinput"><span class="keyword">function</span> testoptimize
+</pre><h2>Introduction<a name="3"></a></h2>
+         <h2>Usage<a name="4"></a></h2>
+         <p>first, define a test function:</p><pre class="codeinput">    clc, rosen = @(x) (1-x(1))^2 + 105*(x(2)-x(1)^2)^2;
+</pre><p>this is the classical Rosenbr\"uck function, which has a global minimum at <i>f(x)</i> = <i>f</i>([1, 1]) = 0. The function is relatively hard to optimize, because that minimum is located in a long narrow ``valley'':
+         </p><pre class="codeinput">    k = 0; range = -5:0.1:5;
+    z = zeros(101);
+    <span class="keyword">for</span> i = range
+        m = 0; k = k + 1;
+        <span class="keyword">for</span> j = range
+            m = m + 1;
+            z(k, m) = rosen([i, j]);
+        <span class="keyword">end</span>
+    <span class="keyword">end</span>
+    [y, x] = meshgrid(range, range);
+    surf(x, y, z, <span class="string">'linestyle'</span>, <span class="string">'none'</span>), view(-150, 30), axis <span class="string">tight</span>
+</pre><img vspace="5" hspace="5" src="testoptimize_01.png" alt=""> <p>Optimizing the fully unconstrained problem with OPTIMIZE indeed finds the global minimum:</p><pre class="codeinput">    solution = optimize(rosen, [3 3])
+</pre><pre class="codeoutput">
+solution =
+
+    1.0000
+    1.0000
+
+</pre><p>Imposing a lower bound on the variables gives</p><pre class="codeinput">    [solution, fval] = optimize(rosen, [3 3], [2 2], [])
+</pre><pre class="codeoutput">
+solution =
+
+    2.0000
+    4.0000
+
+
+fval =
+
+    1.0000
+
+</pre><p>in the figure, this looks like</p><pre class="codeinput">    zz = z;   zz(x &gt; 2 &amp; y &gt; 2) = inf;
+    ZZ = z;   ZZ(x &lt; 2) = inf;  ZZ(y &lt; 2) = inf;
+    figure, hold <span class="string">on</span>
+    surf(x, y, zz, <span class="string">'linestyle'</span>, <span class="string">'none'</span>, <span class="string">'FaceAlpha'</span>, 0.2)
+    surf(x, y, ZZ, <span class="string">'linestyle'</span>, <span class="string">'none'</span>)
+    view(-150, 30), grid <span class="string">on</span>, axis <span class="string">tight</span>
+    plot3(solution(1), solution(2), fval+1e3, <span class="string">'g.'</span>, <span class="string">'MarkerSize'</span>, 20)
+</pre><img vspace="5" hspace="5" src="testoptimize_02.png" alt=""> <p>Similarly, imposing an upper bound yields</p><pre class="codeinput">    solution = optimize(rosen, [3 3], [], [0.5 0.5])
+
+    zz = z;   zz(x &lt; 0.5 &amp; y &lt; 0.5) = inf;
+    ZZ = z;   ZZ(x &gt; 0.5) = inf;  ZZ(y &gt; 0.5) = inf;
+    figure, hold <span class="string">on</span>
+    surf(x, y, zz, <span class="string">'linestyle'</span>, <span class="string">'none'</span>, <span class="string">'FaceAlpha'</span>, 0.2)
+    surf(x, y, ZZ, <span class="string">'linestyle'</span>, <span class="string">'none'</span>)
+    view(150, 30), grid <span class="string">on</span>, axis <span class="string">tight</span>
+    plot3(solution(1), solution(2), fval+1e3, <span class="string">'g.'</span>, <span class="string">'MarkerSize'</span>, 20)
+</pre><pre class="codeoutput">
+solution =
+
+    0.5000
+    0.2500
+
+</pre><img vspace="5" hspace="5" src="testoptimize_03.png" alt=""> <p>Optimize with <i>x</i>(2) fixed at 3. In this case, OPTIMIZE simply removes the variable before FMINSEARCH sees it, essentially reducing the dimensionality
+            of the problem. This is particularly useful when the number of dimensions <i>N</i> becomes large.
+         </p><pre class="codeinput">    optimize(rosen, [3 3], [-inf 3], [inf 3])
+</pre><pre class="codeoutput">
+ans =
+
+    1.7314
+    3.0000
+
+</pre><p>Also general nonlinear constraints can be used. A simple example:</p>
+         <p>nonlinear inequality:</p>
+         <p><img src="testoptimize_eq13962.png" alt="$$\sqrt{x_1^2 + x_2^2} \leq 1$$"></p>
+         <p>nonlinear equality  :</p>
+         <p><img src="testoptimize_eq38168.png" alt="$$x_1^2 + x_2^3 = 0.5$$"></p><pre class="codeinput">    options = optimset(<span class="string">'TolFun'</span>, 1e-8, <span class="string">'TolX'</span>, 1e-8);
+    [sol, fval, exitflag, output] = optimize(rosen, [3 -3], [], [], [], <span class="keyword">...</span>
+        [], [], [], @nonlcon, [], options);
+</pre><p>Note that <tt>nonlcon</tt> is a subfunction, listed below. In a figure, this looks like
+         </p><pre class="codeinput">    zz = z;   zz(sqrt(x.^2 + y.^2) &lt;= 1) = inf;
+    ZZ = z;   ZZ(sqrt(x.^2 + y.^2) &gt;= 1.2) = inf;
+    zZ = z;   zZ(x.^2 + y.^3 &gt;= 0.5 + 0.1) = inf;
+              zZ(x.^2 + y.^3 &lt;= 0.5 - 0.1) = inf;
+    figure, hold <span class="string">on</span>
+    surf(x, y, zz, <span class="string">'linestyle'</span>, <span class="string">'none'</span>, <span class="string">'FaceAlpha'</span>, 0.2)
+    surf(x, y, ZZ, <span class="string">'linestyle'</span>, <span class="string">'none'</span>)
+    xX = x(isfinite(zZ)); xX = xX(:);
+    yY = y(isfinite(zZ)); xX = xX(:);
+    zZ = zZ(isfinite(zZ)); zZ = zZ(:);
+    [xX, inds] = sort(xX); yY = yY(inds); zZ = zZ(inds);
+    xyz = [xX, yY, zZ];
+    <span class="keyword">for</span> i = 1:length(xX)-1 <span class="comment">% line-command is *somewhat* inconvenient...</span>
+        l = line( [xyz(i, 1); xyz(i+1, 1)],[xyz(i, 2); xyz(i+1, 2)], [xyz(i, 3); xyz(i+1, 3)]);
+        set(l, <span class="string">'color'</span>, <span class="string">'r'</span>, <span class="string">'linewidth'</span>, 2)
+    <span class="keyword">end</span>
+    view(150, 50), grid <span class="string">on</span>, axis <span class="string">tight</span>
+    plot3(sol(1), sol(2), fval+1e3, <span class="string">'g.'</span>, <span class="string">'MarkerSize'</span>, 20)
+</pre><img vspace="5" hspace="5" src="testoptimize_04.png" alt=""> <p>Note that the output structure contains a field ``constrviolation'':</p><pre class="codeinput">    output
+</pre><pre class="codeoutput">
+output = 
+
+         iterations: 123
+          funcCount: 230
+          algorithm: 'Nelder-Mead simplex direct search'
+            message: [1x196 char]
+    constrviolation: [1x1 struct]
+
+</pre><p>The contents of which shows that all constraints have been satisfied:</p><pre class="codeinput">    output.constrviolation
+</pre><pre class="codeoutput">
+ans = 
+
+      nonl_eq: {[0]  [0]}
+    nonl_ineq: {[0]  [0]}
+
+</pre><pre class="codeinput"><span class="keyword">end</span>
+</pre><pre class="codeinput"><span class="keyword">function</span> [c, ceq] = nonlcon(x)
+    c = norm(x) - 1;
+    ceq = x(1)^2 + x(2)^3 - 0.5;
+<span class="keyword">end</span>
+</pre><p class="footer"><br>
+            Published with MATLAB&reg; 7.7<br></p>
+      </div>
+      <!--
+##### SOURCE BEGIN #####
+%% Constrained optimization with FMINSEARCH
+
+function testoptimize
+
+    
+%% Introduction    
+
+%% Usage
+ 
+    %%
+    % first, define a test function:
+    clc, rosen = @(x) (1-x(1))^2 + 105*(x(2)-x(1)^2)^2;
+    
+    %%
+    % this is the classical Rosenbr\"uck function, which has a global minimum
+    % at _f(x)_ = _f_([1, 1]) = 0. The function is relatively hard to optimize,
+    % because that minimum is located in a long narrow ``valley'':
+    k = 0; range = -5:0.1:5;
+    z = zeros(101);    
+    for i = range
+        m = 0; k = k + 1;        
+        for j = range
+            m = m + 1;
+            z(k, m) = rosen([i, j]);            
+        end
+    end  
+    [y, x] = meshgrid(range, range);
+    surf(x, y, z, 'linestyle', 'none'), view(-150, 30), axis tight    
+    
+    %%
+    % Optimizing the fully unconstrained problem with OPTIMIZE indeed finds 
+    % the global minimum:
+    solution = optimize(rosen, [3 3])    
+    
+    %%
+    % Imposing a lower bound on the variables gives 
+    [solution, fval] = optimize(rosen, [3 3], [2 2], [])
+    
+    %%
+    % in the figure, this looks like
+    zz = z;   zz(x > 2 & y > 2) = inf;  
+    ZZ = z;   ZZ(x < 2) = inf;  ZZ(y < 2) = inf;
+    figure, hold on
+    surf(x, y, zz, 'linestyle', 'none', 'FaceAlpha', 0.2)
+    surf(x, y, ZZ, 'linestyle', 'none')
+    view(-150, 30), grid on, axis tight      
+    plot3(solution(1), solution(2), fval+1e3, 'g.', 'MarkerSize', 20)    
+    
+    %%
+    % Similarly, imposing an upper bound yields
+    solution = optimize(rosen, [3 3], [], [0.5 0.5])
+    
+    zz = z;   zz(x < 0.5 & y < 0.5) = inf;  
+    ZZ = z;   ZZ(x > 0.5) = inf;  ZZ(y > 0.5) = inf;
+    figure, hold on
+    surf(x, y, zz, 'linestyle', 'none', 'FaceAlpha', 0.2)
+    surf(x, y, ZZ, 'linestyle', 'none')
+    view(150, 30), grid on, axis tight      
+    plot3(solution(1), solution(2), fval+1e3, 'g.', 'MarkerSize', 20)    
+ 
+    %%
+    % Optimize with _x_(2) fixed at 3. In this case, OPTIMIZE simply
+    % removes the variable before FMINSEARCH sees it, essentially 
+    % reducing the dimensionality of the problem. This is particularly
+    % useful when the number of dimensions _N_ becomes large.
+    optimize(rosen, [3 3], [-inf 3], [inf 3])
+    
+    %%
+    % Also general nonlinear constraints can be used. A simple example:
+    %
+    % nonlinear inequality: 
+    %
+    % $$\sqrt{x_1^2 + x_2^2} \leq 1$$
+    %
+    % nonlinear equality  : 
+    %
+    % $$x_1^2 + x_2^3 = 0.5$$
+        
+    options = optimset('TolFun', 1e-8, 'TolX', 1e-8);
+    [sol, fval, exitflag, output] = optimize(rosen, [3 -3], [], [], [], ...
+        [], [], [], @nonlcon, [], options);
+    
+    %%
+    % Note that |nonlcon| is a subfunction, listed below. In a figure, this
+    % looks like
+    zz = z;   zz(sqrt(x.^2 + y.^2) <= 1) = inf;  
+    ZZ = z;   ZZ(sqrt(x.^2 + y.^2) >= 1.2) = inf;
+    zZ = z;   zZ(x.^2 + y.^3 >= 0.5 + 0.1) = inf; 
+              zZ(x.^2 + y.^3 <= 0.5 - 0.1) = inf;
+    figure, hold on
+    surf(x, y, zz, 'linestyle', 'none', 'FaceAlpha', 0.2)
+    surf(x, y, ZZ, 'linestyle', 'none')
+    xX = x(isfinite(zZ)); xX = xX(:);
+    yY = y(isfinite(zZ)); xX = xX(:); 
+    zZ = zZ(isfinite(zZ)); zZ = zZ(:);
+    [xX, inds] = sort(xX); yY = yY(inds); zZ = zZ(inds);
+    xyz = [xX, yY, zZ];
+    for i = 1:length(xX)-1 % line-command is *somewhat* inconvenient...
+        l = line( [xyz(i, 1); xyz(i+1, 1)],[xyz(i, 2); xyz(i+1, 2)], [xyz(i, 3); xyz(i+1, 3)]);
+        set(l, 'color', 'r', 'linewidth', 2)
+    end
+    view(150, 50), grid on, axis tight      
+    plot3(sol(1), sol(2), fval+1e3, 'g.', 'MarkerSize', 20) 
+   
+    %%
+    % Note that the output structure contains a field ``constrviolation'':
+    output
+    
+    %%
+    % The contents of which shows that all constraints have been satisfied:
+    output.constrviolation
+
+
+end
+
+%%
+function [c, ceq] = nonlcon(x)
+    c = norm(x) - 1;
+    ceq = x(1)^2 + x(2)^3 - 0.5;
+end
+
+
+##### SOURCE END #####
+-->
+   </body>
+</html>
Index: /trunk/machine/SOLEIL/common/toolbox/optimize/license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/optimize/license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/optimize/license.txt	(revision 17)
@@ -0,0 +1,24 @@
+Copyright (c) 2009, Rody Oldenhuis
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/optimize/optimize.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/optimize/optimize.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/optimize/optimize.m	(revision 17)
@@ -0,0 +1,602 @@
+function [sol, fval, exitflag, output] = ...
+        optimize(funfcn, x0, lb, ub, A, b, Aeq, beq, nonlcon, strictness, options, varargin)
+%OPTIMIZE        Optimize general constrained problems using FMINSEARCH
+%
+% Usage:
+% sol = OPTIMIZE(func, x0) 
+% sol = OPTIMIZE(func, x0, lb, ub)
+% sol = OPTIMIZE(func, x0, lb, ub, A, b) 
+% sol = OPTIMIZE(func, x0, lb, ub, A, b, Aeq, beq) 
+% sol = OPTIMIZE(func, x0, lb, ub, A, b, Aeq, beq, nonlcon) 
+% sol = OPTIMIZE(func, x0, lb, ub, A, b, Aeq, beq, nonlcon, strictness) 
+% sol = OPTIMIZE(func, x0, lb, ub, A, b, Aeq, beq, nonlcon, strictness, options) 
+%
+% [sol, fval] = OPTIMIZE(func, ...)
+% [sol, fval, exitflag] = OPTIMIZE(func, ...)
+% [sol, fval, exitflag, output] = OPTIMIZE(func, ...)
+%
+% INPUT ARGUMENTS:
+%
+%  fun, x0, or options - see the help for FMINSEARCH
+%
+%  lb - (OPTIONAL) lower bound vector or array, must have the same 
+%       size as x0.
+%
+%       If no lower bounds exist for one of the variables, then
+%       supply -inf for that variable.
+%
+%       If no lower bounds exist at all, then [lb] may be left empty.
+%
+%       Variables may be fixed in value by setting the corresponding
+%       lower and upper bounds to exactly the same value.
+%
+%  ub - (OPTIONAL) upper bound vector or array, must have the same 
+%       size as x0.
+%
+%       If no upper bounds exist for one of the variables, then
+%       supply +inf for that variable.
+%
+%       If no upper bounds at all, then [ub] may be left empty.
+%
+%       Variables may be fixed in value by setting the corresponding
+%       lower and upper bounds to exactly the same value.
+%
+%  A, b - (OPTIONAL) Linear inequality constraint array and right
+%       hand side vector. (Note: these constraints were chosen to
+%       be consistent with those of fmincon.)
+%
+%       This linear constraint forces the solution vector [x] to 
+%       satisfy 
+%                               A*x <= b
+%
+%       Note that in case [x] is a matrix (this is true when [x0] is
+%       a matrix), the argument [b] must have corresponding size 
+%       [size(A,1) x size(x0,2)], since the same equation is used to 
+%       evaluate this constraint. 
+%
+%  Aeq, beq - (OPTIONAL) Linear equality constraint array and right
+%       hand side vector. (Note: these constraints were chosen to
+%       be consistent with those of fmincon.)
+%
+%       This linear constraint forces the solution vector [x] to 
+%       satisfy 
+%
+%                               Aeq*x == beq
+%
+%       Note that in case [x] is a matrix (this is true when [x0] is
+%       a matrix), the argument [beq] must have corresponding size 
+%       [size(Aeq,1) x size(x0,2)], since the same equation is used to 
+%       evaluate this constraint.
+%
+%  nonlcon - (OPTIONAL) function handle to general nonlinear constraints,
+%       inequality and/or equality constraints.
+%
+%       [nonlcon] must return two vectors, [c] and [ceq], containing the
+%       values for the nonlinear inequality constraints [c] and
+%       those for the nonlinear equality constraints [ceq] at [x]. (Note: 
+%       these constraints were chosen to be consistent with those of 
+%       fmincon.)
+%
+%       These constraints force the solution to satisfy
+%
+%               ceq(x)  = 0
+%                 c(x) <= 0,
+%
+%       where [c(x)] and [ceq(x)] are general non-linear functions of [x].
+%
+% strictness - (OPTIONAL) By default, OPTIMIZE will assume the objective 
+%       (and constraint) function(s) can be evaluated at ANY point in 
+%       RN-space; the initial estimate does not have to lie in the 
+%       feasible region, and intermediate solutions are also allowed to step 
+%       outside this area. If your function does not permit such behavior, 
+%       set this argument to 'strict'. With 'strict' enabled, the linear 
+%       constraints will be satisfied strictly, while the nonlinear 
+%       constraints will be satisfied within options.TolCon. 
+%
+%       If this is also not permissible, use 'superstrict' - then all 
+%       nonlinear constraints are also satisfied AT ALL TIMES, and the 
+%       objective function is NEVER evaluated outside the feasible area. 
+%
+%       When using 'strict' or 'superstrict', the initial estimate [x0]
+%       MUST be feasible. If it is not feasible, an error is produced
+%       before the objective function is ever evaluated. 
+%
+%
+% OUTPUT ARGUMENTS:
+%
+% sol, fval - the solution vector and the corresponding function value,
+%       respectively. 
+%
+% exitflag - (See also the help on FMINSEARCH) A flag that specifies the 
+%       reason the algorithm terminated. FMINSEARCH uses only the values
+%
+%           1    fminsearch converged to a solution x
+%           0    Max. # of function evaluations or iterations exceeded
+%          -1    Algorithm was terminated by the output function.
+%
+%       Since OPTIMIZE handles constrained problems, the following two
+%       values were added:
+%
+%           2    All elements in [lb] and [ub] were equal - nothing done
+%          -2    Problem is infeasible after the optimization (Some or 
+%                any of the constraints are violated at the final 
+%                solution).
+%
+% output - (See also the help on FMINSEARCH) A structure that contains
+%       additional details on the optimization. FMINSEARCH returns
+%
+%           output.algorithm   Algorithm used
+%           output.funcCount   Number of function evaluations 
+%           output.iterations  Number of iterations 
+%           output.message     Exit message
+%
+%       Since OPTIMIZE handles constrained problems, the following 
+%       fields were added:
+%
+%           output.constrviolation.lin_ineq
+%           output.constrviolation.lin_eq
+%           output.constrviolation.nonlin_ineq
+%           output.constrviolation.nonlin_ineq
+%
+%       All these fields contain a [M x 2]-cell array. The fist column
+%       contains a logical index to the constraints, which is true if the
+%       constraint was violated, false if it was satisfied. The second
+%       column contains the amount of constraint violation. This amount is
+%       equal to zero if the constraint was satisfied within
+%       options.TolCon.
+%
+%
+% Notes:
+%
+%  If options is supplied, then TolX will apply to the transformed
+%  variables. All other FMINSEARCH parameters should be unaffected.
+%
+%  Variables which are constrained by both a lower and an upper
+%  bound will use a sin() transformation. Those constrained by
+%  only a lower or an upper bound will use a quadratic
+%  transformation, and unconstrained variables will be left alone.
+%
+%  Variables may be fixed by setting their respective bounds equal.
+%  In this case, the problem will be reduced in size for FMINSEARCH. 
+%
+%  If your problem has an EXCLUSIVE (strict) bound constraints which 
+%  will not permit evaluation at the bound itself, then you must 
+%  provide a slightly offset bound. An example of this is a function 
+%  which contains the log of one of its parameters. If you constrain 
+%  the variable to have a lower bound of zero, then OPTIMIZE may
+%  try to evaluate the function exactly at zero.
+%
+% EXAMPLES:
+%
+% rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+%
+% <<Fully unconstrained problem>>
+%
+% optimize(rosen, [3 3])
+% ans =
+%    1.0000    1.0000
+%
+%
+% <<lower bound constrained>>
+%
+% optimize(rosen,[3 3],[2 2],[])
+% ans =
+%    2.0000    4.0000
+%
+%
+% <<x(2) fixed at 3>>
+%
+% optimize(rosen,[3 3],[-inf 3],[inf,3])
+% ans =
+%    1.7314    3.0000
+%
+%
+% <<simple linear inequality: x(1) + x(2) <= 1>>
+%
+% optimize(rosen,[0 0],[],[],[1 1], 1)
+% 
+% ans =
+%    0.6187    0.3813
+% 
+%
+% <<nonlinear inequality: sqrt(x(1)^2 + x(2)^2) <= 1>>
+% <<nonlinear equality  : x(1)^2 + x(2)^3 = 0.5>>
+%
+% execute this m-file:
+%
+%   function test_optimize
+%        rosen = @(x) (1-x(1)).^2 + 105*(x(2)-x(1).^2).^2;
+%
+%        options = optimset('TolFun', 1e-8, 'TolX', 1e-8);
+%
+%        optimize(rosen, [3 3], [],[],[],[],[],[],...
+%        @nonlcon, [], options)
+%
+%   end
+%   function [c, ceq] = nonlcon(x)
+%        c = norm(x) - 1;
+%        ceq = x(1)^2 + x(2)^3 - 0.5;
+%   end
+%
+% ans =
+%    0.6513    0.4233
+%
+%
+%
+% Of course, any combination of the above constraints is
+% also possible.
+%
+%
+% See also: fminsearch, fminsearchcon, fminsearchbnd, fmincon.
+
+
+% Author     : Rody P.S. Oldenhuis
+%   Delft University of Technology
+%   E-mail   : oldenhuis@dds.nl
+%
+% FMINSEARCHBND, FMINSEARCHCON and most of the
+% help for OPTIMIZE witten by
+%            : John D'Errico
+%   E-mail   : woodchips@rochester.rr.com
+%
+% Last edited: 29/May/2009
+% Uploaded   : 29/May/2009
+%
+% [ Please report bugs to oldenhuis@dds.nl ]
+    
+    %% initialize
+
+    % process input
+    error(nargchk(2, inf, nargin))
+        % FUTURE WORK: no x0 given (nargin < 2) means optimize globally.
+        % for now, just produce an error in that case
+    if (nargin < 11), options = optimset; end   
+    if (nargin < 10), strictness = 'loose'; end   
+    if (nargin <  9), nonlcon = []; end        
+    if (nargin <  8), beq = []; end
+    if (nargin <  7), Aeq = []; end
+    if (nargin <  6), b   = []; end
+    if (nargin <  5), A   = []; end
+    if (nargin <  4), lb  = []; end
+    if (nargin <  3), ub  = []; end   
+    
+    % get tolerance on constraints
+    tolCon = optimget(options, 'TolCon', 1e-6);
+    
+    % check for an output function. If there is any, 
+    % use wrapper function to call it with untransformed variable
+    if ~isempty(options.OutputFcn)
+        OutputFcn = options.OutputFcn;
+        options.OutputFcn = @OutputFcn_wrapper;
+    end
+    
+    % define number of dimensions
+    N = numel(x0); 
+    
+    % adjust bounds when they are empty
+    if isempty(lb), lb = -inf(size(x0)); end
+    if isempty(ub), ub = +inf(size(x0)); end
+       
+    % check the user-provided input with nested function check_input
+    check_input;
+        
+    % resize and reshape all input to be of completely predictable size
+    new_x = x0;      ub = ub(:);
+    x0 = x0(:);      lb = lb(:);                
+    
+    % replicate lb or ub when they are scalars, and x0 is not
+    if isscalar(lb) && (N ~= 1), lb = repmat(lb, size(x0)); end
+    if isscalar(ub) && (N ~= 1), ub = repmat(ub, size(x0)); end    
+    
+    % determine the type of bounds
+    nf_lb   = ~isfinite(lb);               nf_ub   = ~isfinite(ub);    
+    lb_only = ~nf_lb &  nf_ub;             ub_only =  nf_lb & ~nf_ub;
+    unconst =  nf_lb &  nf_ub;             fix_var =  lb == ub;
+    lb_ub   = ~nf_lb & ~nf_ub & ~fix_var;    
+    
+    % if all variables are fixed, simply return
+    if length(lb(fix_var)) == N            
+        sol = reshape(lb,size(newx));   output.iterations = 0;
+        output.funcCount = 0;    fval = funfcn(sol);         
+        output.message = 'Lower and upper bound were set equal - nothing to do. ';
+        exitflag = 2; [output, exitflag] = finalize(lb, output, exitflag);         
+        if exitflag ~= -2
+            output.message = sprintf(...
+                '%s\nFortunately, the solution is feasible using OPTIONS.TolCon of %1.6f.',...
+                output.message, tolCon);
+        end, return;
+    end    
+    
+    % force the initial estimate inside the given bounds
+    x0(x0 < lb) = lb(x0 < lb);  x0(x0 > ub) = ub(x0 > ub);
+        
+    % transform initial estimate to its unconstrained counterpart
+    xin = x0;                                        % fixed and unconstrained variables   
+    xin(lb_only) = sqrt(x0(lb_only) - lb(lb_only));  % lower bounds only   
+    xin(ub_only) = sqrt(ub(ub_only) - x0(ub_only));  % upper bounds only
+    xin(lb_ub)   = real(asin( 2*(x0(lb_ub) - lb(lb_ub))./ ...
+                     (ub(lb_ub) - lb(lb_ub)) - 1));  % both upper and lower bounds
+                 
+    % remove fixed variables from the initial estimate
+    xin(fix_var) = [];
+        
+    % some constant matrices to speed things up (slightly)
+    Nzero = zeros(N, 1);    Np1zero = zeros(N, N+1);   exp200 = exp(200);
+        
+    % define the transformed & penalized function
+    funfncT = @(x) funfncP(X(x), varargin{:});
+    
+    % optimize the problem with FMINSEARCH
+    [presol, fval, exitflag, output] = fminsearch(funfncT, xin, options, varargin{:});
+    
+    % and transform everything back to original (bounded) variables
+    sol = new_x;    sol(:) = X(presol);    % with the same size as the original x0
+    
+    % append constraint violations to the output structure, and change the
+    % exitflag accordingly
+    [output, exitflag] = finalize(sol, output, exitflag);
+    
+    %% nested functions (the actual work)
+    
+    % check user provided input
+    function check_input
+        
+        % dimensions & weird input
+        if (numel(lb) ~= N && ~isscalar(lb)) || (numel(ub) ~= N && ~isscalar(ub))
+            error('optimize:lb_ub_incompatible_size',...
+                'Size of either [lb] or [ub] incompatible with size of [x0].')
+        end
+        if ~isempty(A) && isempty(b)
+            warning('optimize:Aeq_but_not_beq', ...
+                ['I received the matrix [A], but you omitted the corresponding vector [b].',...
+                '\nI`ll assume a zero-vector for [b]...'])
+            b = zeros(size(A,1), size(x0,2));
+        end
+        if ~isempty(Aeq) && isempty(beq)
+            warning('optimize:Aeq_but_not_beq', ...
+                ['I received the matrix [Aeq], but you omitted the corresponding vector [beq].',...
+                '\nI`ll assume a zero-vector for [beq]...'])
+            beq = zeros(size(Aeq,1), size(x0,2));
+        end
+        if isempty(Aeq) && ~isempty(beq)
+            warning('optimize:beq_but_not_Aeq', ...
+                ['I received the vector [beq], but you omitted the corresponding matrix [Aeq].',...
+                '\nI`ll ignore the given [beq]...'])
+            beq = [];
+        end
+        if isempty(A) && ~isempty(b)
+            warning('optimize:b_but_not_A', ...
+                ['I received the vector [b], but you omitted the corresponding matrix [A].',...
+                '\nI`ll ignore the given [b]...'])
+            b = [];
+        end
+        if ~isempty(A) && ~isempty(b) && size(b,1)~=size(A,1)
+            error('optimize:b_incompatible_with_A',...
+                'The size of [b] is incompatible with that of [A].')
+        end
+        if ~isempty(Aeq) && ~isempty(beq) && size(beq,1)~=size(Aeq,1)
+            error('optimize:b_incompatible_with_A',...
+                'The size of [beq] is incompatible with that of [Aeq].')
+        end
+        if ~isvector(x0) && ~isempty(A) && (size(A,2) ~= size(x0,1))
+            error('optimize:A_incompatible_size',...
+                'Linear constraint matrix [A] has incompatible size for given [x0].')
+        end
+        if ~isvector(x0) && ~isempty(Aeq) && (size(Aeq,2) ~= size(x0,1))
+            error('optimize:Aeq_incompatible_size',...
+                'Linear constraint matrix [Aeq] has incompatible size for given [x0].')
+        end
+        if ~isempty(b) && size(b,2)~=size(x0,2)
+            error('optimize:x0_vector_but_not_b',...
+                  'Given linear constraint vector [b] has incompatible size with given [x0].')
+        end
+        if ~isempty(beq) && size(beq,2)~=size(x0,2)
+            error('optimize:x0_vector_but_not_beq',...
+                  'Given linear constraint vector [beq] has incompatible size with given [x0].')
+        end                
+          
+        % functions are not function handles
+        if ~isa(funfcn, 'function_handle')
+            error('optimize:func_not_a_function',...
+                  'Objective function must be given as a function handle.')
+        end
+        if ~isempty(nonlcon) && ~isa(nonlcon, 'function_handle')
+            error('optimize:nonlcon_not_a_function', ...
+                 'non-linear constraint function must be a function handle.')
+        end
+        
+        % test the feasibility of the initial solution (when strict or
+        % superstrict behavior has been enabled)        
+        if strcmpi(strictness, 'strict') || strcmpi(strictness, 'superstrict')
+            superstrict = strcmpi(strictness, 'superstrict');           
+            if ~isempty(A) && any(any(A*x0 > b))
+                error('optimize:x0_doesnt_satisfy_linear_ineq', ...
+                    ['Initial estimate does not satisfy linear inequality.', ...
+                    '\nPlease provide an initial estimate inside the feasible region.']);
+            end
+            if ~isempty(Aeq) && any(any(Aeq*x0 ~= beq))
+                error('optimize:x0_doesnt_satisfy_linear_eq', ...
+                    ['Initial estimate does not satisfy linear equality.', ...
+                    '\nPlease provide an initial estimate inside the feasible region.']);
+            end
+            if ~isempty(nonlcon)                
+                [c, ceq] = nonlcon(x0); %#ok
+                if ~isempty(c) && any(c(:) > ~superstrict*tolCon) 
+                    error('optimize:x0_doesnt_satisfy_nonlinear_ineq', ...
+                        ['Initial estimate does not satisfy nonlinear inequality.', ...
+                        '\nPlease provide an initial estimate inside the feasible region.']);
+                end
+                if ~isempty(ceq) && any(abs(ceq(:)) >= ~superstrict*tolCon) 
+                    error('optimize:x0_doesnt_satisfy_nonlinear_eq', ...
+                        ['Initial estimate does not satisfy nonlinear equality.', ...
+                        '\nPlease provide an initial estimate inside the feasible region.']);
+                end
+            end
+        end    
+        
+    end % check_input
+    
+    % create transformed variable to conform to upper and lower bounds
+    function xx = X(x)
+        if (size(x, 2) == 1), xx = Nzero; else xx = Np1zero; end               
+        for i = 1:size(x, 2)             
+            xx(lb_only, i) = lb(lb_only) + x(lb_only(~fix_var), i).^2;
+            xx(ub_only, i) = ub(ub_only) - x(ub_only(~fix_var), i).^2;
+            xx(fix_var, i) = lb(fix_var);
+            xx(unconst, i) = x(unconst(~fix_var), i);
+            xx(lb_ub, i)   = lb(lb_ub) + ...
+                (ub(lb_ub) - lb(lb_ub)) .* (sin(x(lb_ub(~fix_var), i)) + 1)/2;
+        end
+    end % X
+    
+    % create penalized function. Penalize with linear penalty function if 
+    % violation is severe, otherwise, use exponential penalty. If the
+    % 'strict' option has been set, check the constraints, and return INF
+    % if any of them are violated.
+    function P_fval = funfncP(x, varargin)
+        
+        % initialize function value
+        if (size(x, 2) == 1), P_fval = 0; else P_fval = Nzero.'; end        
+        
+        % initialize x_new array
+        x_new = new_x;
+        
+        % evaluate every vector in x
+        for i = 1:size(x, 2)
+            
+            % reshape x, so it has the same size as the given x0
+            x_new(:) = x(:, i);
+            
+            % initially, we are optimistic
+            linear_eq_Penalty   = 0;   nonlin_eq_Penalty   = 0;
+            linear_ineq_Penalty = 0;   nonlin_ineq_Penalty = 0;
+            
+            % Penalize the linear equality constraint violation 
+            % required: Aeq*x = beq   
+            if ~isempty(Aeq) && ~isempty(beq)                
+                lin_eq = abs(Aeq*x_new - beq);     
+                sumlin_eq = sum(abs(lin_eq(:)));
+                if strcmpi(strictness, 'strict') && any(lin_eq > 0)
+                    P_fval = inf; return
+                end                    
+                if sumlin_eq > 200
+                    linear_eq_Penalty = exp(200) - 1 + sumlin_eq;
+                else
+                    linear_eq_Penalty = exp(sum(lin_eq)) - 1; 
+                end
+            end
+            
+            % Penalize the linear inequality constraint violation 
+            % required: A*x <= b
+            if ~isempty(A) && ~isempty(b)
+                lin_ineq = A*x_new - b;                     
+                lin_ineq(lin_ineq <= 0) = 0;
+                sumlin_ineq = sum(lin_ineq(:)); 
+                if strcmpi(strictness, 'strict') && any(lin_ineq > 0)
+                    P_fval = inf; return
+                end  
+                if sumlin_ineq > 200
+                    linear_ineq_Penalty = exp(200) - 1 + sumlin_ineq;
+                else
+                    linear_ineq_Penalty = exp(sumlin_ineq) - 1; 
+                end
+            end
+            
+            % Penalize the non-linear constraint violations
+            % required: ceq = 0 and c <= 0
+            if ~isempty(nonlcon)
+                [c, ceq] = nonlcon(x_new); %#ok
+                if ~isempty(c)
+                    c = c(:); sumc = sum(c(c > 0));
+                    if (strcmpi(strictness, 'strict') || strcmpi(strictness, 'superstrict'))...
+                        && any(c > ~superstrict*tolCon)
+                        P_fval = inf; return
+                    end                       
+                    if sumc > 200
+                        nonlin_ineq_Penalty = exp200 - 1 + sumc;
+                    else
+                        nonlin_ineq_Penalty = exp(sumc) - 1;
+                    end
+                end
+                if ~isempty(ceq)
+                    ceq = abs(ceq(:));  sumceq = sum(ceq(ceq > 0));
+                    if (strcmpi(strictness, 'strict') || strcmpi(strictness, 'superstrict'))...
+                        && any(ceq >= ~superstrict*tolCon)
+                        P_fval = inf; return
+                    end                                        
+                    if sumceq > 200
+                        nonlin_eq_Penalty = exp200 - 1 + sumceq;
+                    else
+                        nonlin_eq_Penalty = exp(sumceq) - 1;
+                    end                    
+                end
+            end
+            
+            % evaluate the objective function
+            obj_fval = funfcn(x_new, varargin{:});              
+            
+            % return penalized function value
+            P_fval(i) = obj_fval + linear_eq_Penalty + linear_ineq_Penalty + ...
+                nonlin_eq_Penalty + nonlin_ineq_Penalty; %#ok
+        end
+    end % funfncP
+    
+    % simple wrapper function for output functions; these need to be 
+    % evaluated with the untransformed variables
+    function stop = OutputFcn_wrapper(x, varargin)
+        stop = OutputFcn(X(x), varargin{:});
+    end % OutputFcn_wrapper
+    
+    
+    function [output, exitflag] = finalize(x, output, exitflag)        
+        
+        % reshape x so it has the same size as x0
+        x_new = new_x; x_new(:) = x;
+        
+        % finalize the output
+        violated1 = false;   violated2 = false;
+        violated3 = false;   violated4 = false;
+        if ~isempty(A)
+            Ax        = A*x_new;       
+            violated1 = Ax >= b + tolCon;
+            violation = Ax - b;
+            violation(~violated1) = 0;
+            output.constrviolation.lin_ineq{1} = violated1;
+            output.constrviolation.lin_ineq{2} = violation;
+        end
+        if ~isempty(Aeq)
+            Aeqx = Aeq*x_new;   
+            violated2 = abs(Aeqx - beq) > tolCon;            
+            violation = Aeqx - beq;
+            violation(~violated2) = 0;
+            output.constrviolation.lin_eq{1} = violated2;
+            output.constrviolation.lin_eq{2} = violation;
+        end
+        if ~isempty(nonlcon)
+            [c, ceq] = nonlcon(x_new); %#ok
+            if ~isempty(ceq)
+                violated3 = abs(ceq) > tolCon;
+                ceq(~violated3) = 0;
+                output.constrviolation.nonl_eq{1} = violated3;
+                output.constrviolation.nonl_eq{2} = ceq;
+            end
+            if ~isempty(c)
+                violated4 = c > tolCon; c(~violated4) = 0;
+                output.constrviolation.nonl_ineq{1} = violated4;
+                output.constrviolation.nonl_ineq{2} = c;                
+            end            
+        end
+        if any([violated1(:); violated2(:); violated3(:); violated4(:)])
+            exitflag = -2;
+            output.message = sprintf(...
+                ['%s\n Unfortunately, the solution is infeasible for the given value ',...
+                'of OPTIONS.TolCon of %1.6e'], output.message, tolCon);
+        else
+            if exitflag == 1
+                output.message = sprintf(...
+                    ['%s\b\n and all constraints are satisfied using ',...
+                     'OPTIONS.TolCon of %1.6e.'], output.message, tolCon);
+            end
+        end
+    end % finalize    
+end % function
Index: /trunk/machine/SOLEIL/common/toolbox/optimize/testoptimize.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/optimize/testoptimize.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/optimize/testoptimize.m	(revision 17)
@@ -0,0 +1,123 @@
+%% Constrained optimization with FMINSEARCH
+
+function testoptimize
+
+    
+%% Introduction    
+
+%% Usage
+ 
+    %%
+    % first, define a test function:
+    clc, rosen = @(x) (1-x(1))^2 + 105*(x(2)-x(1)^2)^2;
+    
+    %%
+    % this is the classical Rosenbr\"uck function, which has a global minimum
+    % at _f(x)_ = _f_([1, 1]) = 0. The function is relatively hard to optimize,
+    % because that minimum is located in a long narrow ``valley'':
+    k = 0; range = -5:0.1:5;
+    z = zeros(101);    
+    for i = range
+        m = 0; k = k + 1;        
+        for j = range
+            m = m + 1;
+            z(k, m) = rosen([i, j]);            
+        end
+    end  
+    [y, x] = meshgrid(range, range);
+    surf(x, y, z, 'linestyle', 'none'), view(-150, 30), axis tight    
+    
+    %%
+    % Optimizing the fully unconstrained problem with OPTIMIZE indeed finds 
+    % the global minimum:
+    % warning work only with optimization toolbox !!!
+    
+    solution = optimize(rosen, [3 3])    
+    
+    %%
+    % Imposing a lower bound on the variables gives 
+    [solution, fval] = optimize(rosen, [3 3], [2 2], [])
+    
+    %%
+    % in the figure, this looks like
+    zz = z;   zz(x > 2 & y > 2) = inf;  
+    ZZ = z;   ZZ(x < 2) = inf;  ZZ(y < 2) = inf;
+    figure, hold on
+    surf(x, y, zz, 'linestyle', 'none', 'FaceAlpha', 0.2)
+    surf(x, y, ZZ, 'linestyle', 'none')
+    view(-150, 30), grid on, axis tight      
+    plot3(solution(1), solution(2), fval+1e3, 'g.', 'MarkerSize', 20)    
+    
+    %%
+    % Similarly, imposing an upper bound yields
+    solution = optimize(rosen, [3 3], [], [0.5 0.5])
+    
+    zz = z;   zz(x < 0.5 & y < 0.5) = inf;  
+    ZZ = z;   ZZ(x > 0.5) = inf;  ZZ(y > 0.5) = inf;
+    figure, hold on
+    surf(x, y, zz, 'linestyle', 'none', 'FaceAlpha', 0.2)
+    surf(x, y, ZZ, 'linestyle', 'none')
+    view(150, 30), grid on, axis tight      
+    plot3(solution(1), solution(2), fval+1e3, 'g.', 'MarkerSize', 20)    
+ 
+    %%
+    % Optimize with _x_(2) fixed at 3. In this case, OPTIMIZE simply
+    % removes the variable before FMINSEARCH sees it, essentially 
+    % reducing the dimensionality of the problem. This is particularly
+    % useful when the number of dimensions _N_ becomes large.
+    optimize(rosen, [3 3], [-inf 3], [inf 3])
+    
+    %%
+    % Also general nonlinear constraints can be used. A simple example:
+    %
+    % nonlinear inequality: 
+    %
+    % $$\sqrt{x_1^2 + x_2^2} \leq 1$$
+    %
+    % nonlinear equality  : 
+    %
+    % $$x_1^2 + x_2^3 = 0.5$$
+        
+    options = optimset('TolFun', 1e-8, 'TolX', 1e-8);
+    [sol, fval, exitflag, output] = optimize(rosen, [3 -3], [], [], [], ...
+        [], [], [], @nonlcon, [], options);
+    
+    %%
+    % Note that |nonlcon| is a subfunction, listed below. In a figure, this
+    % looks like
+    zz = z;   zz(sqrt(x.^2 + y.^2) <= 1) = inf;  
+    ZZ = z;   ZZ(sqrt(x.^2 + y.^2) >= 1.2) = inf;
+    zZ = z;   zZ(x.^2 + y.^3 >= 0.5 + 0.1) = inf; 
+              zZ(x.^2 + y.^3 <= 0.5 - 0.1) = inf;
+    figure, hold on
+    surf(x, y, zz, 'linestyle', 'none', 'FaceAlpha', 0.2)
+    surf(x, y, ZZ, 'linestyle', 'none')
+    xX = x(isfinite(zZ)); xX = xX(:);
+    yY = y(isfinite(zZ)); xX = xX(:); 
+    zZ = zZ(isfinite(zZ)); zZ = zZ(:);
+    [xX, inds] = sort(xX); yY = yY(inds); zZ = zZ(inds);
+    xyz = [xX, yY, zZ];
+    for i = 1:length(xX)-1 % line-command is *somewhat* inconvenient...
+        l = line( [xyz(i, 1); xyz(i+1, 1)],[xyz(i, 2); xyz(i+1, 2)], [xyz(i, 3); xyz(i+1, 3)]);
+        set(l, 'color', 'r', 'linewidth', 2)
+    end
+    view(150, 50), grid on, axis tight      
+    plot3(sol(1), sol(2), fval+1e3, 'g.', 'MarkerSize', 20) 
+   
+    %%
+    % Note that the output structure contains a field ``constrviolation'':
+    output
+    
+    %%
+    % The contents of which shows that all constraints have been satisfied:
+    output.constrviolation
+
+
+end
+
+%%
+function [c, ceq] = nonlcon(x)
+    c = norm(x) - 1;
+    ceq = x(1)^2 + x(2)^3 - 0.5;
+end
+
Index: /trunk/machine/SOLEIL/common/toolbox/plotpdftex/laprint.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/plotpdftex/laprint.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/plotpdftex/laprint.m	(revision 17)
@@ -0,0 +1,2926 @@
+function laprint(figno,filename,varargin)
+%LAPRINT prints a figure for inclusion in LaTeX documents.
+%  LaPrint creates an eps-file and a tex-file. The tex-file contains
+%  the annotation of the figure such as titles, labels and texts. The
+%  eps-file contains the non-text part of the figure as well as the 
+%  position of the text-objects. The packages 'graphicx' (or 'epsfig')
+%  and 'psfrag' (and possibly ''color'') are required for the LaTeX 
+%  run. A postscript driver like 'dvips' is required for printing. 
+%
+%  Usage:   >> laprint
+%
+%  This opens a graphical user interface window, to control the
+%  various settings. It includes a help facility. Just try it.
+%
+%  As an alternative to the GUI you can call laprint from the command
+%  line with various extra input arguments. These arguments are 
+%  explained in the help window of the GUI, which can be also be 
+%  opened using the command
+%      >> laprint helpwindow
+%
+%  There is an Users Guide available at
+%      http://www.uni-kassel.de/fb16/rat/matlab/laprint/laprintdoc.ps  
+
+%  (c) Arno Linnemann.   All rights reserved. 
+%  The author of this program assumes no responsibility for any  errors 
+%  or omissions. In no event shall he be liable for damages  arising out of 
+%  any use of the software. Redistribution of the unchanged file is allowed.
+%  Distribution of changed versions is allowed provided the file is renamed
+%  and the source and authorship of the original version is acknowledged in 
+%  the modified file.
+
+%  Please report bugs, suggestions and comments to:
+%  Arno Linnemann
+%  Control and Automation
+%  Department of Electrical and Computer Engineering 
+%  University of Kassel
+%  34109 Kassel
+%  Germany
+%  mailto:linnemann@uni-kassel.de
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%
+%%%% Initialize
+%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+laprintident = '3.16 (13.9.2004)';   
+vers = version;
+vers = eval(vers(1:3));
+if vers < 6.1
+  error('Sorry. Matlab 6.1 or above is required.')
+end
+
+hf=131;
+hhf=132;
+
+% no output
+if nargout
+   error('No output argument, please.')
+end  
+
+inter=get(0,'defaulttextinterpreter');
+if ~strcmp(inter,'none')
+  warning('LaPrint:general',['It is recommended to switch off the '...
+          'text interpreter\nbefore creating a figure to be saved '...
+          'with LaPrint. Use the command\n',...
+          '   >> set(0,''defaulttextinterpreter'',''none'').'])
+end
+
+if nargin==0
+
+   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+   %%%%
+   %%%% GUI
+   %%%%
+   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+   try
+     delete(hf) 
+   end 
+   try
+     delete(hhf) 
+   end 
+
+   %---------------------------------
+   % open window
+   %---------------------------------
+
+   hf = figure(hf);
+   clf reset;
+   set(hf,'NumberTitle','off',...
+          'Name','LaPrint (LaTeX Print)',...
+          'Units','points',...
+          'CloseRequestFcn','laprint(''quit'');',...
+          'menubar','none')
+   h = uicontrol('Parent',hf,'Units','points');
+   fsize = get(h,'Fontsize');
+   delete(h)
+   posf = get(hf,'Position');
+   figheight = 10*fsize;
+   figwidth  = 32*fsize; 
+   posf = [ posf(1) posf(2)+posf(4)-figheight figwidth figheight];
+   set(hf,'Position',posf)
+   uicontrol('Parent',hf,'style','frame','Units','points',...
+	  'Position',[0 0 figwidth figheight])
+   curh = figheight-0*fsize;
+
+   LAPRINTHAN=struct('figno',{0},'filename',{0},...
+      'keepfontprops',{0},'asonscreen',{0},'keepticklabels',{0},...
+      'mathticklabels',{0},'head',{0},'extrapicture',{0},...
+      'verbose',{0},'figcopy',{0},'package_epsfig',{0},...
+      'package_graphicx',{0},'color',{0},'createview',{0},...
+      'processview',{0});
+  
+   %---------------------------------
+   % figure no.
+   %---------------------------------
+
+   loch = 1.7*fsize;
+   curh = curh-loch-1.5*fsize;
+   h = uicontrol('Parent',hf,...
+                 'style','text',...
+                 'Units','points',...
+                 'Position',[1*fsize curh 18*fsize loch],...
+                 'HorizontalAlignment','left',...
+                 'string','Number of Figure to be saved:');
+   h = uicontrol('Parent',hf,...
+                 'style','edit',...
+                 'Units','points',...
+                 'Position',[19*fsize curh 12*fsize loch],...
+                 'HorizontalAlignment','left',...
+                 'BackgroundColor',[1 1 1],...
+                 'Callback','laprint(''figno'');');
+   LAPRINTHAN.figno = h;
+
+   %---------------------------------
+   % filename
+   %---------------------------------
+
+   loch = 1.7*fsize;
+   curh = curh-loch-1*fsize;
+   h = uicontrol('Parent',hf,...
+                 'style','text',...
+                 'Units','points',...
+                 'Position',[1*fsize curh 18*fsize loch],...
+                 'HorizontalAlignment','left',...
+                 'string','Basename of Files to be Created:');
+   h = uicontrol('Parent',hf,...
+                 'style','edit',...
+                 'Units','points',...
+                 'Position',[19*fsize curh 12*fsize loch],...
+                 'HorizontalAlignment','left',...
+                 'BackgroundColor',[1 1 1],...
+                 'Callback','laprint(''filename'');');
+   LAPRINTHAN.filename = h;
+
+   %---------------------------------
+   % save, quit
+   %---------------------------------
+
+   loch = 2*fsize;
+   curh = curh-loch-1*fsize;
+   h = uicontrol('Parent',hf,...
+                 'Style','pushbutton',...
+                 'Units','Points',...
+                 'Position',[19*fsize curh 5*fsize loch],...
+                 'HorizontalAlignment','center',...
+                 'String','Go !',...
+                 'Callback','laprint(''save'');');
+   h = uicontrol('Parent',hf,...
+                 'Style','pushbutton',...
+                 'Units','Points',...
+                 'Position',[26*fsize curh 5*fsize loch],...
+                 'HorizontalAlignment','center',...
+                 'String','Quit',...
+                 'Callback','laprint(''quit'');');
+
+   %---------------------------------
+   % options uimenue
+   %---------------------------------
+
+   hm1 = uimenu('label','Options');
+
+   uimenu(hm1,...
+       'label','Sizes and Scalings ...',...
+       'callback','laprint(''size'')');
+
+   LAPRINTHAN.keepfontprops = uimenu(hm1,...
+       'label','Translate Matlab Font Properties to LaTeX',...
+       'callback','laprint(''keepfontprops'')');
+
+   LAPRINTHAN.asonscreen = uimenu(hm1,...
+       'label','Print Limits and Ticks as on Screen',...
+       'separator','on',...
+       'callback','laprint(''asonscreen'')');
+
+   LAPRINTHAN.keepticklabels = uimenu(hm1,...
+       'label','Keep Tick Labels within eps File',...
+       'callback','laprint(''keepticklabels'')');
+
+   LAPRINTHAN.mathticklabels = uimenu(hm1,...
+       'label','Set Tick Labels in LaTeX Math Mode',...
+       'callback','laprint(''mathticklabels'')');
+
+   LAPRINTHAN.head = uimenu(hm1,...
+       'label','Equip the tex File with a Head',...
+       'separator','on',...
+       'callback','laprint(''head'')');
+
+   uimenu(hm1,...
+       'label','Comment in the Head of the tex File ...',...
+       'callback','laprint(''comment'')');
+
+   uimenu(hm1,...
+       'label','Place a LaTeX Caption in the tex File ...',...
+       'callback','laprint(''caption'')');
+
+   LAPRINTHAN.extrapicture = uimenu(hm1,...
+       'label','Place an Extra Picture in each Axes',...
+       'callback','laprint(''extrapicture'')');
+
+   uimenu(hm1,...
+       'label','Length of psfrag Replacement Strings ...',...
+       'callback','laprint(''nzeros'')');
+
+   LAPRINTHAN.verbose = uimenu(hm1,...
+       'label','Call LaPrint in Verbose Mode',...
+       'separator','on',...
+       'callback','laprint(''verbose'')');
+
+   LAPRINTHAN.figcopy = uimenu(hm1,...
+       'label','Copy Figure and Modify that Copy',...
+       'callback','laprint(''figcopy'')');
+
+   uimenu(hm1,...
+       'label','Matlab Print Command ...',...
+       'separator','on',...
+       'callback','laprint(''printcmd'')');
+
+   h=uimenu(hm1,...
+       'separator','on',...
+       'label','LaTeX Graphics Package');
+   
+   LAPRINTHAN.package_graphicx = uimenu(h,...
+       'label','graphicx',...
+       'callback','laprint(''package_graphicx'')');
+   
+   LAPRINTHAN.package_epsfig = uimenu(h,...
+       'label','epsfig',...
+       'callback','laprint(''package_epsfig'')');
+     
+   LAPRINTHAN.color = uimenu(hm1,...
+       'label','Use LaTeX ''color'' Package',...
+       'callback','laprint(''color'')');
+  
+   h = uimenu(hm1,...
+       'label','View File ...',...
+       'separator','on');
+ 
+   LAPRINTHAN.createview = uimenu(h,...
+       'label','Create a View File',...
+       'callback','laprint(''createview'')');
+  
+   uimenu(h,...
+       'label','Name of the View File ...',...
+       'callback','laprint(''viewfilename'')');
+
+   LAPRINTHAN.processview = uimenu(h,...
+       'label','Process the View File',...
+       'separator','on',...
+       'callback','laprint(''processview'')');
+
+   uimenu(h,...
+       'label','Executables for Processing View File...',...
+       'callback','laprint(''cmdsview'')');
+
+   %---------------------------------
+   % Preferences uimenue
+   %---------------------------------
+     
+   hm3=uimenu('label','Preferences');
+     
+   uimenu(hm3,...
+       'label','Get Preferences',...
+       'callback','laprint(''getpref'')')
+   
+   uimenu(hm3,...
+       'label','Set Preferences to Current Settings',...
+       'callback','laprint(''setpref'')')
+   
+   uimenu(hm3,...
+       'label','Remove Preferences',...
+       'callback','laprint(''rmpref'')')
+   
+   uimenu(hm3,...
+       'label','Save Current Settings to a File ...',...
+       'separator','on',...
+       'callback','laprint(''savepref'')')
+   
+   uimenu(hm3,...
+       'label','Load Settings from a File ...',...
+       'callback','laprint(''loadpref'')')
+   
+   uimenu(hm3,...
+       'label','Get Factory Defaults',...
+       'separator','on',...
+       'callback','laprint(''factory'')')
+
+  
+   %---------------------------------
+   % Help uimenue
+   %---------------------------------
+   
+   hm2=uimenu('label','Help');
+   
+   uimenu(hm2,...
+       'label',['LaPrint Online Help ...'],...
+       'callback','laprint(''helpwindow'')');
+  
+   uimenu(hm2,...
+       'label','Get the LaPrint Users Guide',...
+       'callback',['web www.uni-kassel.de/fb16/rat/matlab',...
+                   '/laprint/laprintdoc.ps -browser'])
+    
+   uimenu(hm2,...
+       'label',['Look for a newer version of LaPrint ' ...
+           '(Matlab Central File Exchange)...'],...
+       'callback',['web http://www.mathworks.de/matlabcentral/',...
+                      'fileexchange/loadFile.do?objectId=4638',...
+                      '&objectType=file -browser'])
+    
+   uimenu(hm2,...
+       'label','Version and Author ...',...
+       'callback','laprint(''whois'')')
+
+   %---------------------------------
+   % make hf invisible
+   %---------------------------------
+
+   set(hf,'HandleVisibility','callback') 
+
+   %---------------------------------
+   % get settings
+   %---------------------------------
+ 
+   LAPRINTOPT = prefsettings;
+   if isempty(LAPRINTOPT)
+      LAPRINTOPT = factorysettings;
+   end  
+
+   %---------------------------------
+   % get figure
+   %---------------------------------
+    
+   gcfig=gcf;
+   if gcfig == hf
+       allfigs = findobj('type','figure');
+       allfigs = allfigs(find(allfigs~=hf));
+       if length(allfigs)
+          figno = allfigs(1);
+       else
+          figure(1)
+          figno=1;
+       end    
+   else
+       figno=gcfig;
+   end
+   LAPRINTOPT.figno = figno;
+
+   %---------------------------------
+   % update
+   %---------------------------------
+  
+   updategui(LAPRINTHAN,LAPRINTOPT)
+   sethf(hf,LAPRINTHAN,LAPRINTOPT)
+   figure(hf)
+
+   %---------------------------------
+   % done
+   %---------------------------------
+
+   return
+   
+end  % if nargin==0
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%
+%%%% callback calls ('factory' and 'getprefs' also 
+%%%%                  used from command line)
+%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+if isa(figno,'char') 
+
+  switch figno
+  case 'figno'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    LAPRINTOPT.figno=eval(get(LAPRINTHAN.figno,'string'));
+    figure(LAPRINTOPT.figno)
+    figure(hf)
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'filename'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    LAPRINTOPT.filename=get(LAPRINTHAN.filename,'string');
+    [texfullnameext,texbasenameext,texbasename,texdirname] = ...
+	getfilenames(LAPRINTOPT.filename,'tex',0);
+    [epsfullnameext,epsbasenameext,epsbasename,epsdirname] = ...
+	getfilenames(LAPRINTOPT.filename,'eps',0);
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'save'
+%     lapcmd = [ 'laprint(' int2str(LAPRINTOPT.figno) ...
+% 	   ', ''' LAPRINTOPT.filename ''''...
+% 	   ', ''options'', LAPRINTOPT)'];
+    lapcmd = 'laprint({})';
+    eval(lapcmd)
+  case 'quit'
+    delete(hf)
+    try
+      delete(hhf)
+    end
+  case 'size'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    answer = inputdlg({['Please enter the width (in centimeters) ',...
+         'of the graphics in the LaTeX document (The height ',...
+         'will be computed such that the aspect ratio of the ',...
+         'figure on screen is retained.) :'],...
+         ['Please enter the factor by which the size of the '...
+         'graphics in the LaTeX document differs from the size of the '...
+         'Postscipt graphics ( Explaination: A factor <1 scales ',...
+         'the picture down. This means that lines become thinner ',...
+         'and fonts become smaller. ) :'],...
+         ['Please specify if you want to scale the fonts along with ',...
+         'the graphics (enter ''on'' or ''off'') : '] },...
+         'LaPrint Settings',1,{num2str(LAPRINTOPT.width),...
+         num2str(LAPRINTOPT.factor),...
+         valueyn(LAPRINTOPT.scalefonts)},'on');
+    if length(answer)
+         LAPRINTOPT.width=eval(answer{1});
+         LAPRINTOPT.factor = eval(answer{2});
+         LAPRINTOPT.scalefonts = value01(answer{3});
+    end
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'keepfontprops'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.keepfontprops==1
+      LAPRINTOPT.keepfontprops=0;
+      set(LAPRINTHAN.keepfontprops,'check','off')
+    else
+      LAPRINTOPT.keepfontprops=1;
+      set(LAPRINTHAN.keepfontprops,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'asonscreen'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.asonscreen==1
+      LAPRINTOPT.asonscreen=0;
+      set(LAPRINTHAN.asonscreen,'check','off')
+    else
+      LAPRINTOPT.asonscreen=1;
+      set(LAPRINTHAN.asonscreen,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'keepticklabels'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.keepticklabels==1
+      LAPRINTOPT.keepticklabels=0;
+      set(LAPRINTHAN.keepticklabels,'check','off')
+    else
+      LAPRINTOPT.keepticklabels=1;
+      set(LAPRINTHAN.keepticklabels,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'mathticklabels'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.mathticklabels==1
+      LAPRINTOPT.mathticklabels=0;
+      set(LAPRINTHAN.mathticklabels,'check','off')
+    else
+      LAPRINTOPT.mathticklabels=1;
+      set(LAPRINTHAN.mathticklabels,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'head'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.head==1
+      LAPRINTOPT.head=0;
+      set(LAPRINTHAN.head,'check','off')
+    else
+      LAPRINTOPT.head=1;
+      set(LAPRINTHAN.head,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'comment'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    answer = inputdlg({['Please enter a describing comment to '...
+         'be placed into the head of the tex file:']},...
+         'LaPrint Settings',1,{LAPRINTOPT.comment},'on');
+    if length(answer)
+         LAPRINTOPT.comment = answer{1};
+    end
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'caption'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    answer = inputdlg(['If the following text is nonempty, ' ...
+         'then it will be placed as a \caption{} into the tex '...
+         'file along with \label{fig:' LAPRINTOPT.filename '}. '...
+         'Please enter the caption text:'],...
+         'LaPrint Settings',1,{LAPRINTOPT.caption},'on');
+    if length(answer)
+         LAPRINTOPT.caption = answer{1};
+    end
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'extrapicture'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.extrapicture==1
+      LAPRINTOPT.extrapicture=0;
+      set(LAPRINTHAN.extrapicture,'check','off')
+    else
+      LAPRINTOPT.extrapicture=1;
+      set(LAPRINTHAN.extrapicture,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'nzeros'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    answer = inputdlg({['Please enter length of the psfrag replacement '...
+         'strings (must be >= 3) :']},...
+         'LaPrint Settings',1,{num2str(LAPRINTOPT.nzeros)},'on');
+    if length(answer)
+        LAPRINTOPT.nzeros = max(eval(answer{1}),3);
+    end
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'verbose'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.verbose==1
+      LAPRINTOPT.verbose=0;
+      set(LAPRINTHAN.verbose,'check','off')
+    else
+      LAPRINTOPT.verbose=1;
+      set(LAPRINTHAN.verbose,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'figcopy'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.figcopy==1
+      LAPRINTOPT.figcopy=0;
+      set(LAPRINTHAN.figcopy,'check','off')
+    else
+      LAPRINTOPT.figcopy=1;
+      set(LAPRINTHAN.figcopy,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'printcmd'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    answer = inputdlg({['Please enter the Matlab command '...
+         'to be used for printing the eps file '...
+         '(LaPrint will internally replace <figurenumber> by the '...
+         'number of the figure <filename.eps> by the ' ... 
+         'eps-filename and <filename> '...
+         'by the basename of the file, respectively). You can add options '...
+         'here (like ''-loose'') or use a different program '...
+         'for printing (like ''exportfig'') :']},...
+         'LaPrint Settings',1,{LAPRINTOPT.printcmd},'on');
+    if length(answer)
+         LAPRINTOPT.printcmd = answer{1};
+    end
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'package_epsfig'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    LAPRINTOPT.package='epsfig';
+    set(LAPRINTHAN.package_epsfig,'check','on')
+    set(LAPRINTHAN.package_graphicx,'check','off')
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'package_graphicx'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    LAPRINTOPT.package='graphicx';
+    set(LAPRINTHAN.package_epsfig,'check','off')
+    set(LAPRINTHAN.package_graphicx,'check','on')
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'color'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.color==1
+      LAPRINTOPT.color=0;
+      set(LAPRINTHAN.color,'check','off')
+    else
+      LAPRINTOPT.color=1;
+      set(LAPRINTHAN.color,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'createview'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.createview==1
+      LAPRINTOPT.createview=0;
+      LAPRINTOPT.processview=0;
+      set(LAPRINTHAN.createview,'check','off')
+      set(LAPRINTHAN.processview,'check','off')
+    else
+      LAPRINTOPT.createview=1;
+      set(LAPRINTHAN.createview,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'viewfilename'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+      trydlg=1;
+      txt=['Please enter the name of the '...
+          'viewfile (without extension .tex) : '];
+      txt2='';
+      while trydlg
+        answer = inputdlg({[txt txt2]},...
+          'LaPrint Settings',1,{LAPRINTOPT.viewfilename},'on');
+        if length(answer)
+          if strcmp(answer{1},LAPRINTOPT.filename)
+            txt2=['The name must be different from the name of the '...
+                  'graphics file):'];
+          else
+             trydlg=0;  
+             LAPRINTOPT.viewfilename = answer{1};
+             [viewfullnameext,viewbasenameext,viewbasename,viewdirname] = ...
+  	                getfilenames(LAPRINTOPT.viewfilename,'tex',0);
+         end      
+        else
+          trydlg=0;
+        end  
+      end
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'processview'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    if LAPRINTOPT.processview==1
+      LAPRINTOPT.processview=0;
+      set(LAPRINTHAN.processview,'check','off')
+    else
+      LAPRINTOPT.processview=1;
+      set(LAPRINTHAN.processview,'check','on')
+      LAPRINTOPT.createview=1;
+      set(LAPRINTHAN.createview,'check','on')
+    end      
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'cmdsview'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    answer = inputdlg({...
+       ['Please enter up to 8 commands to process the view-file. ',...
+       'Leave any of the fields empty, if you have ',...
+       'less than 8 commands. ',...  
+       'In any of the following commands, LaPrint internally '...
+       'replaces the tag <viewfile> by the name of the viewfile ',...
+       'and the tag <filename> by the basename specified in the ',...
+       'main LaPrint Window. ',...
+       'At minimum you should enter the commands for the LaTeX ',...
+       'compilation and for the dvi-to-postscript conversion ',...
+       'here. See the LaPrint Online-Help for futher ',...
+       'suggestions.   ',...
+       'Please enter the 1st command:'],...
+       'Please enter the 2nd command:',...
+       'Please enter the 3rd command:',...
+       'Please enter the 4th command:',...
+       'Please enter the 5th command:',...
+       'Please enter the 6th command:',...
+       'Please enter the 7th command:',...
+       'Please enter the 8th command:'},...
+       'LaPrint Settings',1,{LAPRINTOPT.cmd1,...
+       LAPRINTOPT.cmd2,LAPRINTOPT.cmd3,...
+       LAPRINTOPT.cmd4,LAPRINTOPT.cmd5,LAPRINTOPT.cmd6,...
+       LAPRINTOPT.cmd7,LAPRINTOPT.cmd8},'on');
+    if length(answer)==8
+       LAPRINTOPT.cmd1=answer{1};
+       LAPRINTOPT.cmd2=answer{2};
+       LAPRINTOPT.cmd3=answer{3};
+       LAPRINTOPT.cmd4=answer{4};
+       LAPRINTOPT.cmd5=answer{5};
+       LAPRINTOPT.cmd6=answer{6};
+       LAPRINTOPT.cmd7=answer{7};
+       LAPRINTOPT.cmd8=answer{8};
+    end   
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'getpref'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    out = prefsettings;
+    if ~isempty(out)
+       oldfigno = LAPRINTOPT.figno;   % keep this!         
+       LAPRINTOPT = out;
+       LAPRINTOPT.figno = oldfigno;        
+    else
+       errordlg('No LaPrint preferences available.')   
+    end
+    updategui(LAPRINTHAN,LAPRINTOPT);
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'setpref'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    setpref('LaPrint','LAPRINTOPT',LAPRINTOPT);
+  case 'rmpref'
+    if ispref('LaPrint')
+      rmpref('LaPrint');
+    else
+      errordlg('Preference does not exist.')   
+    end
+  case 'savepref'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    txt = 'Save preferences file ';
+    [preffile,prefpath]=uiputfile('laprint.mat',txt);
+    save([prefpath preffile],'LAPRINTOPT');
+  case 'loadpref'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    txt = ['Load preferences file '...
+           '(must be previously created by LaPrint)'];
+    [preffile,prefpath]=uigetfile('laprint.mat',txt);
+    if ~isequal(preffile,0) & ~isequal(prefpath,0)
+      oldfigno = LAPRINTOPT.figno;   % keep this!         
+      load([prefpath preffile]); % hope file contains correct
+      LAPRINTOPT.figno = oldfigno;                   % LAPRINTOPT
+      updategui(LAPRINTHAN,LAPRINTOPT);
+      sethf(hf,LAPRINTHAN,LAPRINTOPT);
+    end
+  case 'factory'
+    [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+    out = factorysettings;
+    if ~isempty(out)
+       oldfigno = LAPRINTOPT.figno;   % keep this!         
+       LAPRINTOPT = out;
+       LAPRINTOPT.figno = oldfigno;        
+    else
+       errordlg('No LaPrint preferences available.')   
+    end
+    updategui(LAPRINTHAN,LAPRINTOPT);
+    sethf(hf,LAPRINTHAN,LAPRINTOPT);
+  case 'helpwindow'
+    hhf=figure(hhf);
+    set(hhf,'Name','LaPrint Online Help',...
+            'Numbertitle','off',...
+            'menubar','none',...
+            'HandleVisibility','callback',... 
+            'resize','on',...
+            'ResizeFcn','laprint(''helpwindow'');');
+    hht=uicontrol('Parent',hhf,...
+              'style','listbox',...
+              'units','normalized',...
+              'position',[0.005 0.005 0.9 0.99],...
+              'BackgroundColor','w',...
+              'Fontsize',12,...
+              'foregroundcolor','k',...
+              'FontName','FixedWidth',...
+              'HorizontalAlignment','left');
+    [txt,hhtpos]=textwrap(hht,helptext);
+    set(hht,'string',txt)
+    set(hht,'position',[0.005 0.005 0.99 0.99])
+    set(hht,'HandleVisibility','callback') 
+  case 'whois'
+    msgbox({['This is LaPrint, Version ' laprintident],...
+          '',...
+          'To blame for LaPrint:',...
+	      'Arno Linnemann','Control and Automation',...
+	      'Department of Electrical and Computer Engineering',...
+	      'University of Kassel',...
+	      '34109 Kassel',...      
+	      'Germany',...
+          'mailto:linnemann@uni-kassel.de'},...
+          'LaPrint Info')
+  otherwise 
+    error('unknown callback option')
+  end
+  return 
+end    % if isa(figno,'char') 
+
+% nargin >=1 and ~isa(figno,'char')
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%
+%%%% PART 1 of advanced usage:
+%%%% Check inputs and initialize
+%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+if isa(figno,'cell') % called from GUI (all set)
+
+  [LAPRINTHAN,LAPRINTOPT]=gethf(hf);
+  figno=LAPRINTOPT.figno;
+  filename=LAPRINTOPT.filename;
+
+else % advanced usage
+  
+  % get settings 
+  LAPRINTOPT = prefsettings;
+  if isempty(LAPRINTOPT)
+     LAPRINTOPT = factorysettings;
+  end
+
+  % modify prefs
+  if ~isa(figno,'double') 
+    figno
+    error('This is not a figure handle.') 
+  end
+  if ~any(get(0,'children')==figno)
+    figno
+    error('This is not a figure handle.') 
+  end
+  LAPRINTOPT.figno = figno;
+
+  if nargin>1
+    if ~isa(filename,'char')  
+      filename
+      error('This is not a file name.') 
+    end
+    LAPRINTOPT.filename=filename; 
+  end    
+end
+
+% read and check command line options  
+
+try  % try old usage (Version 2.03)
+   if nargin <=2
+      error('lets take new usage')
+   end
+   % 2.03 defaults
+   width           = 12;
+   factor          = 0.8;
+   scalefonts      = 1;
+   keepfontprops   = 0;
+   asonscreen      = 0;
+   keepticklabels  = 0;
+   mathticklabels  = 0;
+   head            = 1;
+   comment         = '';
+   caption         = '';
+   extrapicture    = 1;
+   nzeros          = 5;
+   verbose         = 0;
+   figcopy         = 1;
+   printcmd        = ['print(''-f<figurenumber>'',' ...
+                      '''-deps'',''<filename.eps>'')'];
+   package         = 'epsfig';
+   color           = 0;
+   createview      = 0;
+   viewfilename    = [filename '_'];
+   processview     = 0;
+   cmd1            = '';
+   cmd2            = '';
+   cmd3            = '';
+   cmd4            = '';
+   cmd5            = '';
+   cmd6            = '';
+   cmd7            = '';
+   cmd8            = '';
+   for i=1:nargin-2
+    if ~isa(varargin{i},'char')
+      error('Options must be character arrays.')
+    end  
+    oriopt=varargin{i}(:)';
+    opt=[ lower(strrep(oriopt,' ','')) '                   ' ];
+    if strcmp(opt(1:7),'verbose')
+      verbose=1;
+    elseif strcmp(opt(1:10),'asonscreen')
+      asonscreen=1;
+    elseif strcmp(opt(1:14),'keepticklabels')
+      keepticklabels=1;
+    elseif strcmp(opt(1:14),'mathticklabels')
+      mathticklabels=1;
+    elseif strcmp(opt(1:13),'keepfontprops')
+      keepfontprops=1;
+    elseif strcmp(opt(1:14),'noextrapicture')
+      extrapicture=0;
+    elseif strcmp(opt(1:14),'noextrapicture')
+      extrapicture=0;
+    elseif strcmp(opt(1:5),'loose')
+      printcmd = ['print(''-f<figurenumber>'',' ...
+                      '''-deps'',''-loose'',''<filename.eps>'')'];
+    elseif strcmp(opt(1:9),'nofigcopy')
+      figcopy=0;
+    elseif strcmp(opt(1:12),'noscalefonts')
+      scalefonts=0;
+    elseif strcmp(opt(1:6),'nohead')
+      head=0;
+    elseif strcmp(opt(1:7),'caption')
+      eqpos=findstr(oriopt,'=');
+      if isempty(eqpos)
+	    caption='Matlab Figure';
+      else	
+	    caption=oriopt(eqpos+1:length(oriopt));
+      end	
+    elseif strcmp(opt(1:8),'comment=')
+      eqpos=findstr(oriopt,'=');
+      comment=oriopt(eqpos(1)+1:length(oriopt));
+    elseif strcmp(opt(1:9),'viewfile=')
+      createview=1;
+      eqpos=findstr(oriopt,'=');
+      viewfilename=oriopt(eqpos(1)+1:length(oriopt));
+    elseif strcmp(opt(1:6),'width=')
+      eval([ opt ';' ]);
+    elseif strcmp(opt(1:7),'factor=')
+      eval([ opt ';' ]);
+    else
+      error([ 'Option ' varargin{i} ' not recognized.'])
+    end   
+  end
+ 
+  warning('LaPrint:general',['You are using the old LaPrint '...
+          'syntax. This syntax might not be supported in '...
+          'future releases of LaPrint.'])
+
+catch % old usage doesn't work, take new one
+  
+  % restore preferences / factory defaults
+  width           = LAPRINTOPT.width;
+  factor          = LAPRINTOPT.factor;
+  scalefonts      = LAPRINTOPT.scalefonts;
+  keepfontprops   = LAPRINTOPT.keepfontprops;
+  asonscreen      = LAPRINTOPT.asonscreen;
+  keepticklabels  = LAPRINTOPT.keepticklabels;
+  mathticklabels  = LAPRINTOPT.mathticklabels;
+  head            = LAPRINTOPT.head;
+  comment         = LAPRINTOPT.comment;
+  caption         = LAPRINTOPT.caption;
+  extrapicture    = LAPRINTOPT.extrapicture;
+  nzeros          = LAPRINTOPT.nzeros;
+  verbose         = LAPRINTOPT.verbose;
+  figcopy         = LAPRINTOPT.figcopy;
+  printcmd        = LAPRINTOPT.printcmd;
+  package         = LAPRINTOPT.package;
+  color           = LAPRINTOPT.color;
+  createview      = LAPRINTOPT.createview;
+  viewfilename    = LAPRINTOPT.viewfilename;
+  processview     = LAPRINTOPT.processview;
+  cmd1            = LAPRINTOPT.cmd1;
+  cmd2            = LAPRINTOPT.cmd2;
+  cmd3            = LAPRINTOPT.cmd3;
+  cmd4            = LAPRINTOPT.cmd4;
+  cmd5            = LAPRINTOPT.cmd5;
+  cmd6            = LAPRINTOPT.cmd6;
+  cmd7            = LAPRINTOPT.cmd7;
+  cmd8            = LAPRINTOPT.cmd8;
+
+  if nargin > 2
+    if rem(nargin,2)
+      error('Option names/values must appear in pairs.')
+    end    
+    for i=1:2:nargin-2
+      if ~isa(varargin{i},'char')
+         error('Option name must be a character array.')
+      end  
+      opt = lower(strrep(varargin{i}(:)',' ',''));
+      val = varargin{i+1}(:)';
+      switch opt
+        case 'options'      
+          if isa(val,'char')
+            if strcmp(val,'factory')
+              val = factorysettings;
+            else
+              load(val)
+              val = LAPRINTOPT;
+            end
+          end
+          if ~isa(val,'struct')
+            error('Value of options must be a structure array.')
+          end  
+          % no error checking here!
+          width           = val.width;
+          factor          = val.factor;
+          scalefonts      = val.scalefonts;
+          keepfontprops   = val.keepfontprops;
+          asonscreen      = val.asonscreen;
+          keepticklabels  = val.keepticklabels;
+          mathticklabels  = val.mathticklabels;
+          head            = val.head;
+          comment         = val.comment;
+          caption         = val.caption;
+          extrapicture    = val.extrapicture;
+          nzeros          = val.nzeros;
+          verbose         = val.verbose;
+          figcopy         = val.figcopy;
+          printcmd        = val.printcmd;
+          package         = val.package;
+          color           = val.color;
+          createview      = val.createview;
+          viewfilename    = val.viewfilename;
+          processview     = val.processview;
+          cmd1            = val.cmd1;
+          cmd2            = val.cmd2;
+          cmd3            = val.cmd3;
+          cmd4            = val.cmd4;
+          cmd5            = val.cmd5;
+          cmd6            = val.cmd6;
+          cmd7            = val.cmd7;
+          cmd8            = val.cmd8;
+        case 'width'     
+          if ~isa(val,'double')  
+            error('Value of width must be a double.')
+          end  
+          width = val;  
+        case 'factor'     
+          if ~isa(val,'double')  
+            error('Value of factor must be a double.')
+          end  
+          factor=val;  
+        case 'scalefonts'
+          scalefonts = value01(val,opt); 
+        case 'keepfontprops'
+          keepfontprops = value01(val,opt); 
+        case 'asonscreen'     
+          asonscreen = value01(val,opt);
+        case 'keepticklabels'
+          keepticklabels = value01(val,opt); 
+        case 'mathticklabels'
+          mathticklabels = value01(val,opt) ;
+        case 'head'
+          head = value01(val,opt); 
+        case 'comment'
+          if ~isa(val,'char')
+            error('Value of comment must be a character array.')
+          end
+          comment = val;
+        case 'caption'
+          if ~isa(val,'char')
+            error('Value of caption must be a character array.')
+          end
+          caption = val;
+        case 'extrapicture'
+          extrapicture = value01(val,opt); 
+        case 'nzeros'     
+          if ~isa(val,'double')  
+            error('Value of nzeros must be a double.')
+          end  
+          nzeros = val;
+        case 'verbose'
+          verbose = value01(val,opt);
+        case 'figcopy'
+          figcopy = value01(val,opt); 
+        case 'printcmd'
+          if ~isa(val,'char')
+            error('Value of printcmd must be a character array.')
+          end
+          printcmd = val;
+        case 'package'
+          if ~isa(val,'char')
+            error('Value of package must be a character array.')
+          end
+          val = lower(strrep(val,' ',''));
+          switch val
+            case {'graphicx','epsfig'}
+              % fine
+            otherwise
+              error('Value of package is unknown.')
+          end  
+          package = val;
+        case 'color'
+          color = value01(val,opt); 
+        case 'createview'
+          createview = value01(val,opt);
+        case 'viewfilename'
+          if ~isa(val,'char')
+            error('Value of viewfilename must be a character array.')
+          end
+          viewfilename = val;
+        case 'processview'
+          processview = value01(val,opt); 
+        case 'cmd1'
+          if ~isa(val,'char')
+            error('Value of cmd1 must be a character array.')
+          end
+          cmd1 = val;
+        case 'cmd2'
+          if ~isa(val,'char')
+            error('Value of cmd2 must be a character array.')
+          end
+          cmd2 = val;
+        case 'cmd3'
+          if ~isa(val,'char')
+            error('Value of cmd3 must be a character array.')
+          end
+          cmd3 = val;
+        case 'cmd4'
+          if ~isa(val,'char')
+            error('Value of cmd4 must be a character array.')
+          end
+          cmd4 = val;
+        case 'cmd5'
+          if ~isa(val,'char')
+            error('Value of cmd5 must be a character array.')
+          end
+          cmd5 = val;
+        case 'cmd6'
+          if ~isa(val,'char')
+            error('Value of cmd6 must be a character array.')
+          end
+          cmd6 = val;
+        case 'cmd7'
+          if ~isa(val,'char')
+            error('Value of cmd7 must be a character array.')
+          end
+          cmd7 = val;
+        case 'cmd8'
+          if ~isa(val,'char')
+            error('Value of cmd8 must be a character array.')
+          end
+          cmd8 = val;
+        otherwise
+          error(['Option ''' opt ''' unknown'])
+      end % switch opt
+    end % for i=3:2:nargin 
+  end % if nargin > 2
+end % try / catch    
+
+if verbose, 
+  disp([ 'This is LaPrint, version ' laprintident '.' ]); 
+end  
+
+comment   = strrep(strrep(comment,'\','\\'),'%','%%');
+caption   = strrep(strrep(caption,'\','\\'),'%','%%');
+iscaption = logical(length(caption));
+
+if nzeros < 3
+  warning('LaPrint:general',...
+          'The value of nzero should be >=3. I will use nzeros=3.')
+  nzeros=3;  
+end
+
+if processview 
+  createview=1;
+end
+
+if mathticklabels
+  Do='$';
+else  
+  Do='';
+end  
+
+% eps- and tex- filenames
+[epsfullnameext,epsbasenameext,epsbasename,epsdirname] = ...
+                       getfilenames(filename,'eps',verbose);
+[texfullnameext,texbasenameext,texbasename,texdirname] = ...
+                       getfilenames(filename,'tex',verbose);
+if ~strcmp(texdirname,epsdirname)
+   warning('LaPrint:files',['The eps-file and tex-file are '...
+          'placed in different directories.']);
+end
+
+if createview | processview
+  [viewfullnameext,viewbasenameext,viewbasename,viewdirname] = ...
+                       getfilenames(viewfilename,'tex',verbose);
+  if strcmp(texfullnameext,viewfullnameext)
+    viewfilename=[ viewfilename '_'];
+    warning('LaPrint:files',['The tex- and view-file coincide. '... 
+           'I''ll use '' ' viewfilename ' ''. Hope that''s ok.' ])
+  end  
+  [viewfullnameext,viewbasenameext,viewbasename,viewdirname]= ...
+                       getfilenames(viewfilename,'tex',verbose);
+  if ~strcmp(texdirname,viewdirname)
+    warning('LaPrint:files',['The eps-file and view-file are '...
+	   'placed in different directories.' ])
+  end  
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%
+%%%% PART 2 of advanced usage:
+%%%% Create new figure, insert tags, and bookkeep original text
+%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% show all
+shh = get(0,'ShowHiddenHandles');
+set(0,'ShowHiddenHandles','on');
+
+% preparing check for copyobj bug
+figno_ori = figno;
+number_children_ori = length(get(figno_ori,'children'));
+
+% open new figure (if required) and set properties
+if figcopy
+  figno = copyobj(figno,0);
+  set(figno,'visible','off')
+  set(figno,'Numbertitle','off')
+  set(figno,'MenuBar','none')
+  pause(0.5)
+end  
+
+if asonscreen  
+  xlimmodeauto       = findobj(figno,'xlimmode','auto');
+  xtickmodeauto      = findobj(figno,'xtickmode','auto');
+  xticklabelmodeauto = findobj(figno,'xticklabelmode','auto');
+  ylimmodeauto       = findobj(figno,'ylimmode','auto');
+  ytickmodeauto      = findobj(figno,'ytickmode','auto');
+  yticklabelmodeauto = findobj(figno,'yticklabelmode','auto');
+  zlimmodeauto       = findobj(figno,'zlimmode','auto');
+  ztickmodeauto      = findobj(figno,'ztickmode','auto');
+  zticklabelmodeauto = findobj(figno,'zticklabelmode','auto');
+  set(xlimmodeauto,'xlimmode','manual')
+  set(xtickmodeauto,'xtickmode','manual')
+  set(xticklabelmodeauto,'xticklabelmode','manual')
+  set(ylimmodeauto,'ylimmode','manual')
+  set(ytickmodeauto,'ytickmode','manual')
+  set(yticklabelmodeauto,'yticklabelmode','manual')
+  set(zlimmodeauto,'ylimmode','manual')
+  set(ztickmodeauto,'ytickmode','manual')
+  set(zticklabelmodeauto,'yticklabelmode','manual')
+end  
+set(figno,'paperunits','centimeters');
+set(figno,'units','centimeters');
+orip = get(figno,'Position');
+
+% determine width and height
+if factor <= 0
+  factor = width/orip(3);
+end 
+latexwidth = width;
+epswidth   = latexwidth/factor;
+epsheight  = epswidth*orip(4)/orip(3);
+
+set(figno,'PaperPosition',[0 0 epswidth epsheight ])
+set(figno,'papersize',[epswidth epsheight])
+set(figno,'Position',[orip(1)+0.5 orip(2)-0.5 epswidth epsheight ])
+set(figno,'Name',[ 'To be printed; size: ' num2str(factor,3) ...
+  ' x (' num2str(epswidth,3) 'cm x ' num2str(epsheight,3) 'cm)' ])
+
+% some warnings
+if verbose
+  if (epswidth<13) | (epsheight<13*0.75)
+    warning('LaPrint:size',['The size of the eps-figure is quite '...
+       'small. The text objects might not be properly set. '...
+       'Reducing ''factor'' might help.'])
+  end
+  if latexwidth/epswidth<0.5
+    warning('LaPrint:size',['The size of the eps-figure is large ' ...
+           'compared to the latex figure. '...
+           'The text size might be too small. '...
+           'Increasing ''factor'' might help.'])
+  end  
+  if (orip(3)-epswidth)/orip(3) > 0.1
+    warning('LaPrint:size',['The size of the eps-figure is much '...
+            'smaller than the original '...
+            'figure on screen. Matlab might save different ticks '...
+            'and ticklabels than in the original figure. '...
+            'See option ''asonscreen''.'])
+  end
+  disp('Strike any key to continue.');
+  pause
+end  
+
+%
+% TEXT OBJECTS: modify new figure 
+%
+
+% find all text objects
+hxl = get(findobj(figno,'type','axes'),'xlabel');
+hyl = get(findobj(figno,'type','axes'),'ylabel');
+hzl = get(findobj(figno,'type','axes'),'zlabel');
+hti = get(findobj(figno,'type','axes'),'title');
+hte = findobj(figno,'type','text');
+
+% array of all text handles
+htext = unique([ celltoarray(hxl) celltoarray(hyl) celltoarray(hzl) ...
+      celltoarray(hti) celltoarray(hte)]);
+nt = length(htext);
+
+% set(celltoarray(hxl),'VerticalAlignment','top');
+% get alignments
+hora  = get(htext,'HorizontalAlignment');
+vera  = get(htext,'VerticalAlignment');
+align = cell(nt,1);
+for i=1:nt
+  align{i} = hora{i}(1);
+  switch vera{i}
+  case 'top'
+    align{i} = [align{i} 't'];
+  case 'cap'
+%     if ~isempty(get(htext(i),'string'))
+%       warning('LaPrint:text',['Using vertical ' ...
+%             'alignment ''top'' instead of ''cap''.'])
+%     end  
+    align{i} = [align{i} 't'];
+  case 'middle'
+    align{i} = [align{i} 'c'];
+  case 'baseline'
+    align{i} = [align{i} 'B'];
+  case 'bottom'
+    align{i} = [align{i} 'b'];
+  otherwise
+    warning('LaPrint:text',['Vertical alignment ' vera{i} ...
+            ' unknown. Using ''c''.'])
+    align{i} = [align{i} 'c'];
+  end
+end  
+
+% generate new strings and store old ones
+oldstr   = get(htext,'string');
+newstr   = cell(nt,1);
+basestr  = ['s' char(48*ones(1,nzeros-1))];
+extrastr = 0;
+for i=1:nt
+  osi = oldstr{i};
+  oldstr{i} = ['\setlength{\tabcolsep}{0pt}\begin{tabular}{' ...
+          align{i}(1) '}'];
+  isnonempty_osi = 0;
+  if strcmp(get(get(htext(i),'parent'),'tag'),'legend')
+    newstr1 = [];  
+    if isa(osi,'cell')
+      % Legend/cell : Don't use tabular, employ extra strings 
+      nlines = length(osi);
+      if nlines > 1
+        newstr{nt+extrastr+nlines-1} = [];
+        oldstr{nt+extrastr+nlines-1} = [];
+        htext((nt+extrastr+1):(nt+extrastr+nlines-1))=htext(i);
+        for line=1:nlines-1  
+          oldstr{nt+extrastr+line} = ...
+              strrep(strrep(osi{line},'\','\\'),'%','%%'); 
+          newstr{nt+extrastr+line} = ...
+              overwritetail(basestr,nt+extrastr+line);
+          newstr1 = [newstr1; overwritetail(basestr,nt+extrastr+line)]; 
+        end    
+        extrastr = extrastr+nlines-1;  
+      end    
+      if nlines > 0
+        oldstr{i} = strrep(strrep(osi{nlines},'\','\\'),'%','%%'); 
+        newstr{i} = overwritetail(basestr,i);
+        newstr1   = [newstr1; overwritetail(basestr,i)]; 
+      end  
+      % replace strings in figure
+      set(htext(i),'string',cellstr(newstr1));
+    else
+      % Legend/matrix : Don't use tabular, employ extra strings 
+      nlines=size(osi,1);
+      if nlines > 1
+        newstr{nt+extrastr+nlines-1} = [];
+        oldstr{nt+extrastr+nlines-1} = [];
+        htext((nt+extrastr+1):(nt+extrastr+nlines-1))=htext(i);
+        for line=1:nlines-1  
+          oldstr{nt+extrastr+line} = ...
+              strrep(strrep(osi(line,:),'\','\\'),'%','%%'); 
+          newstr{nt+extrastr+line} = ...
+              overwritetail(basestr,nt+extrastr+line);
+          newstr1 = [newstr1; overwritetail(basestr,nt+extrastr+line)]; 
+        end    
+        extrastr = extrastr+nlines-1;  
+      end    
+      if nlines > 0
+        oldstr{i} = strrep(strrep(osi(nlines,:),'\','\\'),'%','%%'); 
+        newstr{i} = overwritetail(basestr,i);
+        newstr1   = [newstr1; overwritetail(basestr,i)]; 
+      end  
+      % replace strings in figure
+      set(htext(i),'string',newstr1);
+    end
+  else
+    % text, not a legend  
+    if isa(osi,'cell')
+      nlines = length(osi);
+      if nlines > 1
+        for line=1:nlines-1  
+          oldstr{i}=[oldstr{i} osi{line} '\\'];
+          isnonempty_osi = isnonempty_osi+length(osi{line});  
+        end    
+        if align{i}(2) == 'B'
+          warning('LaPrint:text',['Vertical Alignment ''baseline'' '...
+                  'in text with multiple rows might not match.'])
+          align{i}(2) = 't';
+        end  
+      end    
+      if nlines > 0
+        oldstr{i} = [oldstr{i} osi{nlines} '\end{tabular}'];
+        isnonempty_osi = isnonempty_osi+length(osi{nlines});
+      end  
+      oldstr{i} = strrep(strrep(oldstr{i},'\','\\'),'%','%%');  
+      if isnonempty_osi
+        newstr{i} = overwritetail(basestr,i);
+      else  
+        newstr{i} = '';    
+      end
+      % replace strings in figure
+      set(htext(i),'string',newstr{i}); 
+    else
+      nlines=size(osi,1);
+      if nlines > 1
+        for line=1:nlines-1  
+          oldstr{i} = [oldstr{i} osi(line,:) '\\'];
+          isnonempty_osi = isnonempty_osi+length(osi(line,:));  
+        end    
+        if align{i}(2) == 'B'
+          warning('LaPrint:text',['Vertical Alignment ''baseline'' '...
+                  'in text with multiple rows might not match.'])
+          align{i}(2) = 't';
+        end  
+      end
+      if nlines > 0
+        oldstr{i} = [oldstr{i} osi(nlines,:) '\end{tabular}'];
+        isnonempty_osi = isnonempty_osi+length(osi(nlines,:));
+      end  
+      oldstr{i} = strrep(strrep(oldstr{i},'\','\\'),'%','%%');  
+   
+      if isnonempty_osi
+        newstr{i} = overwritetail(basestr,i);
+      else  
+        newstr{i} = '';    
+      end
+      % replace string in figure
+      set(htext(i),'string',newstr{i});
+    end % isa cell  
+  end % isa legend  
+end % for
+
+ntp = nt+extrastr;
+
+% Alignment of Legends
+if extrastr > 0
+  align{ntp} = [];
+  [align{nt+1:ntp}] = deal('lc');
+end
+
+% get font properties and create commands
+if ntp > 0
+  [fontsizecmd{1:ntp}]   = deal('');
+  [fontanglecmd{1:ntp}]  = deal('');
+  [fontweightcmd{1:ntp}] = deal('');
+  [colorcmd{1:ntp}]      = deal('');
+  [colorclose{1:ntp}]    = deal('');
+end
+selectfontcmd = '';
+
+if keepfontprops
+
+  % fontsize
+  set(htext,'fontunits','points');
+  fontsize = get(htext,'fontsize');
+  for i=1:ntp
+    fontsizecmd{i} = [ '\\fontsize{' num2str(fontsize{i}) '}{' ...
+	  num2str(fontsize{i}*1.5) '}'  ];
+  end
+    
+  % fontweight
+  fontweight = get(htext,'fontweight');
+  for i=1:ntp
+    switch fontweight{i}
+    case 'light'
+      fontweightcmd{i} = [ '\\fontseries{l}\\mathversion{normal}' ];
+    case 'normal'
+      fontweightcmd{i} = [ '\\fontseries{m}\\mathversion{normal}' ];
+    case 'demi'
+      fontweightcmd{i} = [ '\\fontseries{sb}\\mathversion{bold}' ];
+    case 'bold'
+      fontweightcmd{i} = [ '\\fontseries{bx}\\mathversion{bold}' ];
+    otherwise
+      warning('LaPrint:text',['Unknown fontweight: ' fontweight{i} ])
+      fontweightcmd{i} = [ '\\fontseries{m}\\mathversion{normal}' ];
+    end
+  end  
+
+  % fontangle
+  fontangle = get(htext,'fontangle');
+  for i=1:ntp
+    switch fontangle{i}
+    case 'normal'
+      fontanglecmd{i} = [ '\\fontshape{n}' ];
+    case 'italic'
+      fontanglecmd{i} = [ '\\fontshape{it}' ];
+    case 'oblique'
+      fontanglecmd{i} = [ '\\fontshape{it}' ];
+    otherwise
+      warning('LaPrint:text',['unknown fontangle: ' fontangle{i} ])
+      fontanglecmd{i} = [ '\\fontshape{n}' ];
+    end
+  end  
+  selectfontcmd = '\\selectfont ';
+   
+end
+
+if color & ntp>0
+  col   = get(htext,'color');
+  bgcol = get(htext,'BackgroundColor');
+  ecol  = get(htext,'EdgeColor');
+  for i=1:ntp
+    col0           = get(get(htext(i),'parent'),'color'); 
+    [coli,isc]     = char2rgb(col{i},[0 0 0]);
+    [bgcoli,isbgc] = char2rgb(bgcol{i},col0);
+    [ecoli,isec]   = char2rgb(ecol{i},col0);
+    if isbgc | isec
+      set(htext(i),'BackgroundColor','none')
+      set(htext(i),'EdgeColor','none')
+      colorcmd{i} = ['\\setlength{\\fboxsep}{2pt}\\fcolorbox[rgb]{' ...
+        num2str(ecoli(1)) ',' num2str(ecoli(2)) ',' ...
+        num2str(ecoli(3)) '}{' ...
+        num2str(bgcoli(1)) ',' num2str(bgcoli(2)) ',' ...
+        num2str(bgcoli(3)) '}{\\color[rgb]{' ...
+        num2str(coli(1)) ',' num2str(coli(2)) ',' num2str(coli(3)) '}' ];  
+      colorclose{i} = '}';   
+    else  
+      colorcmd{i} = ['\\color[rgb]{' ...
+        num2str(coli(1)) ',' num2str(coli(2)) ',' num2str(coli(3)) '}' ];
+    end  
+  end  
+end
+
+%
+% LABELS: modify new figure
+%
+
+if ~keepticklabels
+
+  % all axes
+  hax = celltoarray(findobj(figno,'type','axes'));
+  na  = length(hax);
+
+%   % try to figure out if we have 3D axes an warn
+%   issuewarning = 0;
+%   for i=1:na
+%     issuewarning = max(issuewarning,is3d(hax(i)));
+%   end
+%   if issuewarning
+%     warning('LaPrint:label',['This seems to be a 3D plot. '...
+%             'The LaTeX labels are possibly incorrect. '...
+%             'The option  ''keepticklabels'' might help. '...
+%             'Setting ''figcopy'' to ''off'' might be wise, too.'])
+%   end
+
+  % try to figure out if we linear scale with extra factor 
+  % and determine powers of 10
+  powers = NaN*zeros(na,3);  % matrix with powers of 10 
+  for i=1:na                    % all axes
+    allxyz = { 'x', 'y', 'z' };
+    for ixyz=1:3                % x,y,z
+      xyz = allxyz{ixyz};
+      ticklabelmode = get(hax(i),[ xyz 'ticklabelmode']);
+      if strcmp(ticklabelmode,'auto')
+        tick      = get(hax(i),[ xyz 'tick']);
+        ticklabel = get(hax(i),[ xyz 'ticklabel']);	      
+	    nticklabels    = size(ticklabel,1);
+	    nticks    = length(tick);
+	    if nticks==0,
+          powers(i,ixyz)=0;
+          nticklabels=0;
+	    end  
+	    if nticklabels==0,
+          powers(i,ixyz)=0;
+  	    end  
+        for k=1:nticklabels    % all ticks
+	      label = str2num(ticklabel(k,:));
+	      if length(label)==0, 
+	        powers(i,ixyz) = 0;
+	        break; 
+	      end  
+	      if ( label==0 ) & ( abs(tick(k))>1e-10 )
+	        powers(i,ixyz) = 0;
+	        break; 
+          end	      
+	      if label~=0    
+            expon  = log10(tick(k)/label);
+	        rexpon = round(expon);
+	        if abs(rexpon-expon)>1e-10
+              powers(i,ixyz) = 0;
+	          break; 
+            end	
+            if isnan(powers(i,ixyz))
+	          powers(i,ixyz) = rexpon;
+	        else 	
+	          if powers(i,ixyz)~=rexpon
+        	    powers(i,ixyz) = 0;
+	            break; 
+              end		
+	        end 
+          end  	    
+	    end % k	    
+      else % if 'auto'
+        powers(i,ixyz) = 0;
+      end % if 'auto'
+    end % ixyz
+  end % i
+  
+  % place text to be replaced by powers on y-axis
+  for i=1:na             
+    allxyz = { 'x', 'y', 'z' };
+    ixyz=2;                % x,y,z
+    xyz = allxyz{ixyz};
+    leftright=get(hax(i),'yaxislocation');
+    if powers(i,ixyz) & ~is3d(hax(i)) & isequal(leftright,'left')
+        powertext = ['ypower' int2str(i)];
+        xlimit    = get(hax(i),'xlim');
+        ylimit    = get(hax(i),'ylim');
+        htext     = text(xlimit(1),ylimit(2)+...
+                  0.01*(ylimit(2)-ylimit(1)),...
+                  powertext);
+        set(htext,'VerticalAlignment','Baseline');
+    end
+  end % i
+
+  % replace all ticklabels and bookkeep
+  nxlabel = zeros(1,na);
+  nylabel = zeros(1,na);
+  nzlabel = zeros(1,na);
+  allxyz={ 'x', 'y', 'z' }; 
+  for ixyz=1:3
+    xyz = allxyz{ixyz};
+    k=1;
+    if strcmp(xyz,'y') 
+      basestr = [ 'v' char(48*ones(1,nzeros-1))];
+    else
+      basestr = [ xyz char(48*ones(1,nzeros-1))];
+    end  
+    oldtl  = cell(na,1);
+    newtl  = cell(na,1);
+    nlabel = zeros(1,na);
+    for i=1:na
+      % set(hax(i),[ xyz 'tickmode' ],'manual')
+      % set(hax(i),[ xyz 'ticklabelmode' ],'manual')
+      oldtl{i}  = chartocell(get(hax(i),[ xyz 'ticklabel' ]));
+      nlabel(i) = length(oldtl{i});
+      newtl{i}  = cell(1,nlabel(i));
+      for j=1:nlabel(i)
+        newtl{i}{j} = overwritetail(basestr,k);
+        k = k+1;
+        oldtl{i}{j} = deblank(strrep(strrep(oldtl{i}{j},'\','\\'),...
+                             '%','%%'));
+      end
+      set(hax(i),[ xyz 'ticklabel' ],newtl{i});
+    end  
+    eval([ 'old' xyz 'tl=oldtl;' ]);
+    eval([ 'new' xyz 'tl=newtl;' ]);
+    eval([ 'n' xyz 'label=nlabel;' ]);
+  end
+
+  % determine latex commands for font properties
+  
+  if keepfontprops
+
+    % ticklabel font size
+    afsize = zeros(na,1);
+    for i=1:na
+      afsize(i) = get(hax(i),'fontsize');
+    end          
+    if (any(afsize ~= afsize(1) ))
+      warning('LaPrint:text',['Different font sizes for axes not '...
+              'supported. All axes will have font size ' ...
+	           num2str(afsize(1)) '.' ] )
+    end      
+    afsizecmd = [ '\\fontsize{' num2str(afsize(1)) '}{' ...
+	  num2str(afsize(1)*1.5) '}'  ];
+
+    % ticklabel font weight
+    afweight = cell(na,1);
+    for i=1:na
+      afweight{i} = get(hax(i),'fontweight');
+    end
+    switch afweight{1}
+    case 'light'
+      afweightcmd = [ '\\fontseries{l}\\mathversion{normal}' ];
+    case 'normal'
+      afweightcmd = [ '\\fontseries{m}\\mathversion{normal}' ];
+    case 'demi'
+      afweightcmd = [ '\\fontseries{sb}\\mathversion{bold}' ];
+    case 'bold'
+      afweightcmd = [ '\\fontseries{bx}\\mathversion{bold}' ];
+    otherwise
+      warning('LaPrint:text',['unknown fontweight: ' afweight{1} ])
+      afweightcmd = [ '\\fontseries{m}\\mathversion{normal}' ];
+    end
+    for i=1:na
+      if ~strcmp(afweight{i},afweight{1})
+        warning('LaPrint:text',['Different font weights for axes '...
+                'are not supported. All axes will have font weight ' ...
+                afweightcmd '.'])
+      end      
+    end      
+
+    % ticklabel font angle
+    afangle = cell(na,1);
+    for i=1:na
+      afangle{i} = get(hax(i),'fontangle');
+    end
+    switch afangle{1}
+    case 'normal'
+      afanglecmd = [ '\\fontshape{n}' ];
+    case 'italic'
+      afanglecmd = [ '\\fontshape{it}' ];
+    case 'oblique'
+      afanglecmd = [ '\\fontshape{it}' ];
+    otherwise
+      warning('LaPrint:text',['unknown fontangle: ' afangle{1} ])
+      afanglecmd=[ '\\fontshape{n}' ];
+    end
+    for i=1:na
+      if ~strcmp(afangle{i},afangle{1})
+        warning('LaPrint:text',['Different font angles for axes not '...
+                'supported. All axes will have font angle ' ...
+                afanglecmd '.'] )
+      end      
+    end      
+  
+  end
+
+  % ticklabel color
+  acolcmd='';
+  if color
+    acol=[];
+    allxyz={ 'x', 'y', 'z' }; 
+    acolwarn = 0;
+    for i=1:na
+      for ixyz=1:3
+        xyzcolor = [allxyz{ixyz} 'color'];
+        if  ~isempty(get(hax(i),[allxyz{ixyz} 'ticklabel']))
+          if isempty(acol)
+            acol = char2rgb(get(hax(i),xyzcolor));  
+          else
+            if any(char2rgb(get(hax(i),xyzcolor))~=acol)
+              acolwarn = 1;
+            end 
+          end
+        end   
+      end 
+    end
+    if acolwarn
+      warning('LaPrint:label',['Different colors for axes not ' ...
+            'supported. All ticklabels will have color [ ' ...
+             num2str(acol) ' ].' ] )
+    end
+    if ~isempty(acol)
+      if any(acol~=[0 0 0])
+        acolcmd = [ '\\color[rgb]{' num2str(acol(1)) ',' ...
+              num2str(acol(2)) ',' num2str(acol(3)) '}' ];
+      end	
+    end 
+  end
+
+  % ticklabel alignment
+    xyzalign = char([116*ones(na,1) 114*ones(na,1) 114*ones(na,1)]); 
+    for i=1:na
+      switch get(hax(i),'XAxisLocation')
+      case 'top'
+        xyzalign(i,1)='B';
+      end
+      switch get(hax(i),'YAxisLocation')
+      case 'right'
+        xyzalign(i,2)='l';
+      end
+    end
+
+end
+
+%
+% extra picture environment
+%
+
+if extrapicture
+  unitlength = zeros(na,1);
+  ybound     = zeros(na,1);
+  for i=na:-1:1   % reverse order, to keep axes in original order
+    if ~is3d(hax(i))
+      xlim = get(hax(i),'xlim');
+      ylim = get(hax(i),'ylim');
+      axes(hax(i));
+      hori = text(ylim(1),ylim(1),[ 'origin' int2str(i) ]);
+      set(hori,'VerticalAlignment','bottom');
+      set(hori,'Fontsize',2);
+      set(hax(i),'Units','normalized')
+      pos = get(hax(i),'Position');
+      unitlength(i) = pos(3)*epswidth;
+      ybound(i) = (pos(4)*epsheight)/(pos(3)*epswidth);
+    else
+      warning('LaPrint:extrapic',['Option ''extrapicture'' for 3D ' ...
+                  'axes not supported.'])
+    end
+  end 
+end  
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%
+%%%% PART 3 of advanced usage:
+%%%% save eps and tex files
+%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% prevent matlab print command to modify lims and ticks 
+% (empty, if asonscreen=1)
+if ~keepticklabels
+  xlimmodeauto       = findobj(figno,'xlimmode','auto');
+  xtickmodeauto      = findobj(figno,'xtickmode','auto');
+  xticklabelmodeauto = findobj(figno,'xticklabelmode','auto');
+  ylimmodeauto       = findobj(figno,'ylimmode','auto');
+  ytickmodeauto      = findobj(figno,'ytickmode','auto');
+  yticklabelmodeauto = findobj(figno,'yticklabelmode','auto');
+  zlimmodeauto       = findobj(figno,'zlimmode','auto');
+  ztickmodeauto      = findobj(figno,'ztickmode','auto');
+  zticklabelmodeauto = findobj(figno,'zticklabelmode','auto');
+  set(xlimmodeauto,'xlimmode','manual')
+  set(xtickmodeauto,'xtickmode','manual')
+  set(xticklabelmodeauto,'xticklabelmode','manual')
+  set(ylimmodeauto,'ylimmode','manual')
+  set(ytickmodeauto,'ytickmode','manual')
+  set(yticklabelmodeauto,'yticklabelmode','manual')
+  set(zlimmodeauto,'ylimmode','manual')
+  set(ztickmodeauto,'ytickmode','manual')
+  set(zticklabelmodeauto,'yticklabelmode','manual')
+end
+
+% create eps file
+cmd = strrep(printcmd,'<filename.eps>',epsfullnameext);
+cmd = strrep(cmd,'<filename>',filename);
+cmd = strrep(cmd,'<figurenumber>',int2str(figno));
+  
+if verbose
+  disp([ 'executing: '' ' cmd ' ''' ]);
+end
+eval(cmd);
+
+%
+% create latex file
+%
+if verbose
+  disp([ 'writing to: '' ' texfullnameext ' ''' ])
+end
+fid = fopen(texfullnameext,'w');
+
+% head
+if head
+  fprintf(fid,[ '%% This file is generated by the MATLAB m-file' ...
+       ' laprint.m. It can be included\n']);
+  fprintf(fid,[ '%% into LaTeX documents using the packages ']);
+  fprintf(fid,package);
+  if color
+      fprintf(fid,', color');
+  end    
+  fprintf(fid,[ ' and psfrag.\n' ]);
+  fprintf(fid,  ['%% It is accompanied by a postscript file. ',... 
+     'A sample LaTeX file is:\n']);
+  fprintf(fid, '%%    \\documentclass{article}\\usepackage{');
+  fprintf(fid,package);
+  if color
+     fprintf(fid,',color');
+  end    
+  fprintf(fid, ',psfrag}\n');
+  fprintf(fid,[ '%%    \\begin{document}\\input{' ...
+	texbasename '}\\end{document}\n' ]);
+    fprintf(fid, [ '%% See http://www.mathworks.de/matlabcentral'...
+      '/fileexchange/loadFile.do?objectId=4638\n']);
+    fprintf(fid, [ '%% for recent versions of laprint.m.\n' ]);
+  fprintf(fid,  '%%\n');
+  fprintf(fid,[ '%% created by:           ' 'LaPrint version ' ...
+	laprintident '\n' ]);
+  fprintf(fid,[ '%% created on:           ' datestr(now) '\n' ]);
+  fprintf(fid,[ '%% eps bounding box:     ' num2str(epswidth) ...
+      ' cm x ' num2str(epsheight) ' cm\n' ]);
+  fprintf(fid,[ '%% comment:              ' comment '\n' ]);
+  fprintf(fid,'%%\n');
+else 
+  fprintf(fid,[ '%% generated by laprint.m\n' ]);
+  fprintf(fid,'%%\n');
+end
+
+% go on
+fprintf(fid,'\\begin{psfrags}%%\n');
+%fprintf(fid,'\\fontsize{10}{12}\\selectfont%%\n');
+fprintf(fid,'\\psfragscanon%%\n');
+
+% text strings
+
+numbertext=0;
+for i=1:nt
+  numbertext = numbertext+length(newstr{i});
+end
+if numbertext>0,
+  fprintf(fid,'%%\n');
+  fprintf(fid,'%% text strings:\n');
+  for i=1:ntp
+    if length(newstr{i})
+      alig = strrep(align{i},'c','');
+      fprintf(fid,[ '\\psfrag{' newstr{i} '}[' alig '][' alig ']{' ...
+        fontsizecmd{i} fontweightcmd{i} fontanglecmd{i}  ...
+        selectfontcmd colorcmd{i} oldstr{i} colorclose{i} '}%%\n' ]);
+    end
+  end
+end
+
+% labels
+
+if ~keepticklabels
+  if ~isempty(acolcmd)
+     fprintf(fid,'%%\n');
+     fprintf(fid,'%% axes ticklabel color:\n');
+     fprintf(fid,[ acolcmd '%%\n' ]);
+  end    
+  if keepfontprops
+    fprintf(fid,'%%\n');
+    fprintf(fid,'%% axes font properties:\n');
+    fprintf(fid,[ afsizecmd afweightcmd '%%\n' ]);
+    fprintf(fid,[ afanglecmd '\\selectfont%%\n' ]);
+  end  
+  nxlabel = zeros(1,na);
+  nylabel = zeros(1,na);
+  nzlabel = zeros(1,na);
+  for i=1:na
+    nxlabel(i) = length(newxtl{i});
+    nylabel(i) = length(newytl{i});
+    nzlabel(i) = length(newztl{i});
+  end    
+      
+  allxyz = { 'x', 'y', 'z' };
+  for ixyz=1:3
+    xyz = allxyz{ixyz};
+    eval([ 'oldtl=old' xyz 'tl;' ]);
+    eval([ 'newtl=new' xyz 'tl;' ]);
+    eval([ 'nlabel=n' xyz 'label;' ]);
+    if sum(nlabel) > 0
+      fprintf(fid,'%%\n');
+      fprintf(fid,[ '%% ' xyz 'ticklabels:\n']);
+      for i=1:na
+        poss = ['[' xyzalign(i,ixyz) '][' xyzalign(i,ixyz) ']']; 
+        if nlabel(i)
+          if strcmp(get(hax(i),[ xyz 'scale']),'linear')
+	        % lin scale
+            rexpon = powers(i,ixyz);
+            if ~rexpon 
+              % no powers
+              for j=1:nlabel(i)
+                fprintf(fid,[ '\\psfrag{' newtl{i}{j} '}' poss '{' ...
+		                    Do oldtl{i}{j} Do '}%%\n' ]);
+              end 
+            else
+              % powers
+              if ixyz==2 
+                leftright=get(hax(i),'yaxislocation');
+                if ~is3d(hax(i)) & isequal(leftright,'left')
+                  for j=1:nlabel(i)
+                    fprintf(fid,[ '\\psfrag{' newtl{i}{j} '}' poss '{' ...
+	 	                    Do oldtl{i}{j} Do '}%%\n' ]);
+                  end 
+                  fprintf(fid,[ '\\psfrag{ypower' int2str(i) ...
+                     '}[Bl][Bl]{$\\times 10^{' ...
+ 		             int2str(rexpon) '}$}%%\n' ]);
+                else
+                  for j=1:nlabel(i)-1
+                    fprintf(fid,[ '\\psfrag{' newtl{i}{j} '}' poss '{' ...
+		                      Do oldtl{i}{j} Do '}%%\n' ]);
+                  end 
+                  if ~is3d(hax(i))
+	                fprintf(fid,[ '\\psfrag{' newtl{i}{nlabel(i)} ...
+                     '}' poss '{' ... 
+                     Do oldtl{i}{nlabel(i)} Do '$\\times 10^{'...
+		             int2str(rexpon) '}$}%%\n' ]);
+                  else
+ 	                fprintf(fid,[ '\\psfrag{' newtl{i}{nlabel(i)} ...
+                     '}' poss '{\\shortstack{' ... 
+                     Do oldtl{i}{nlabel(i)} Do '\\\\$\\times 10^{'...
+		             int2str(rexpon) '}\\ $}}%%\n' ]);
+
+                  end 
+                end  
+              elseif ixyz==1
+                for j=1:nlabel(i)-1
+                  fprintf(fid,[ '\\psfrag{' newtl{i}{j} '}' poss '{' ...
+		                    Do oldtl{i}{j} Do '}%%\n' ]);
+                end 
+                leftright=get(hax(i),'xaxislocation');
+                if isequal(leftright,'bottom')
+	              fprintf(fid,[ '\\psfrag{' newtl{i}{nlabel(i)} ...
+                     '}' poss '{\\shortstack{' ... 
+                     Do oldtl{i}{nlabel(i)} Do '\\\\$\\times 10^{'...
+		             int2str(rexpon) '}\\ $}}%%\n' ]);
+	            else
+                  fprintf(fid,[ '\\psfrag{' newtl{i}{nlabel(i)} ...
+                     '}' poss '{\\shortstack{$\\times 10^{' ...
+                     int2str(rexpon) '}\\ $\\\\' ...
+                     Do oldtl{i}{nlabel(i)} Do '}}%%\n' ]);
+                end
+              else
+                for j=1:nlabel(i)-1
+                  fprintf(fid,[ '\\psfrag{' newtl{i}{j} '}' poss '{' ...
+		                    Do oldtl{i}{j} Do '}%%\n' ]);
+                end 
+	            fprintf(fid,[ '\\psfrag{' newtl{i}{nlabel(i)} ...
+		           '}' poss '{' Do oldtl{i}{nlabel(i)} Do ...
+                   '\\setlength{\\unitlength}{1ex}' ...
+		           '\\begin{picture}(0,0)\\put(0.5,1.5){$\\times 10^{' ...
+		           int2str(rexpon) '}$}\\end{picture}}%%\n' ]);
+              end 
+            end % rexpon 
+          else
+            % log scale
+            for j=1:nlabel(i)
+              fprintf(fid,[ '\\psfrag{' newtl{i}{j} '}' poss '{$10^{' ...
+                oldtl{i}{j} '}$}%%\n' ]);
+            end % for (log)
+          end % if linear
+        end  % if nlabel(i) 
+      end
+    end
+  end
+end  
+
+% extra picture
+if extrapicture
+  fprintf(fid,'%%\n');
+  fprintf(fid,'%% extra picture(s):\n');
+  for i=1:na
+    fprintf(fid,[ '\\psfrag{origin' int2str(i) '}[lb][lb]{' ...
+                  '\\setlength{\\unitlength}{' ...
+		  num2str(unitlength(i),'%5.5f') 'cm}%%\n' ]);
+    fprintf(fid,[ '\\begin{picture}(1,' ...
+		  num2str(ybound(i),'%5.5f') ')%%\n' ]);
+    %fprintf(fid,'\\put(0,0){}%% lower left corner\n');
+    %fprintf(fid,[ '\\put(1,' num2str(ybound(i),'%5.5f') ...
+    %	          '){}%% upper right corner\n' ]);
+    fprintf(fid,'\\end{picture}%%\n');
+    fprintf(fid,'}%%\n');
+  end
+end  
+
+% figure
+fprintf(fid,'%%\n');
+fprintf(fid,'%% Figure:\n');
+if iscaption
+  fprintf(fid,[ '\\parbox{' num2str(latexwidth) 'cm}{\\centering%%\n' ]);
+end  
+if ~scalefonts
+  switch package
+  case 'epsfig'   
+     fprintf(fid,[ '\\epsfig{file=' epsbasenameext ',width=' ...
+	 num2str(latexwidth) 'cm}%%\n' ]);
+  case 'graphicx'   
+     fprintf(fid,[ '\\includegraphics[width=' num2str(latexwidth) ...
+             'cm]{' epsbasenameext '}%%\n' ]);
+  otherwise  
+    warning('LaPrint:general',['Package ''' package ''' not known. '...
+            'I hope you know what you are doing...'])    
+  end
+else
+  switch package
+  case 'epsfig'  
+     fprintf(fid,[ '\\resizebox{' num2str(latexwidth) 'cm}{!}' ...
+      '{\\epsfig{file=' epsbasenameext '}}%%\n' ]);
+  case 'graphicx' 
+     fprintf(fid,[ '\\resizebox{' num2str(latexwidth) 'cm}{!}' ...
+      '{\\includegraphics{' epsbasenameext '}}%%\n' ]);
+  otherwise
+    warning('LaPrint:general',['Package ''' package ''' not known. '...
+            'I hope you know what you are doing...'])    
+  end
+end
+if iscaption
+  fprintf(fid,[ '\\caption{' caption '}%%\n' ]);
+  fprintf(fid,[ '\\label{fig:' texbasename '}%%\n' ]);
+  fprintf(fid,[ '}%%\n' ]);
+end  
+fprintf(fid,'\\end{psfrags}%%\n');
+fprintf(fid,'%%\n');
+fprintf(fid,[ '%% End ' texbasenameext '\n' ]);
+fclose(fid);
+
+set(figno,'Name','Printed by LaPrint')
+if figcopy
+  if verbose
+    disp('Strike any key to continue.');
+    pause
+  end
+  hlegend = findobj(figno,'Tag','legend');
+  set(hlegend,'DeleteFcn','')
+  close(figno)
+end
+
+% check for copyobj-bug --> should be ok now!
+number_children_new = length(get(figno_ori,'children'));
+if number_children_new < number_children_ori
+   if figcopy 
+      warning(['LaPrint:general','Objects in the figure have been '...
+              'deleted! This is due to a bug in matlabs '...
+              '''copyopj''. You might want to try to set '...
+              '''figcopy'' to ''off''.']) 
+   else    
+      warning('LaPrint:general',['Objects in the figure have been '...
+              'deleted!'])
+   end
+ end
+    
+%
+% create view file
+%
+
+if createview | processview
+  if verbose
+    disp([ 'writing to: '' ' viewfullnameext ' ''' ])
+  end
+  fid = fopen(viewfullnameext,'w');
+
+  if head
+    fprintf(fid,[ '%% This file is generated by laprint.m.\n' ]);
+    fprintf(fid,[ '%% It calls ' texbasenameext ...
+		  ', which in turn  calls ' epsbasenameext '.\n' ]);
+    fprintf(fid,[ '%% Process this file using, e.g.,\n' ]);
+    fprintf(fid,[ '%%   latex ' viewbasenameext '\n' ]);
+    fprintf(fid,[ '%%   dvips -o' viewbasename '.ps ' viewbasename ...
+            '.dvi\n']);
+    fprintf(fid,[ '%%   ghostview ' viewbasename '.ps&\n' ]);
+  else 
+    fprintf(fid,[ '%% generated by laprint.m\n' ]);
+  end
+
+  fprintf(fid,[ '\\documentclass{article}\n' ]);
+  fprintf(fid,[ '\\usepackage{' ]);
+  fprintf(fid,package);
+  if color
+      fprintf(fid,',color');
+  end    
+  fprintf(fid,[ ',psfrag,a4}\n' ]);
+  fprintf(fid,[ '\\usepackage[latin1]{inputenc}\n' ]);
+  if ~strcmp(epsdirname,viewdirname)
+    fprintf(fid,[ '\\graphicspath{{' epsdirname '}}\n' ]);
+  end  
+  fprintf(fid,[ '\\begin{document}\n' ]);
+  fprintf(fid,[ '\\pagestyle{empty}\n' ]);
+  if strcmp(texdirname,viewdirname) 
+    fprintf(fid,[ '    \\input{' texbasenameext '}\n' ]);
+  else
+    fprintf(fid,[ '    \\input{' texdirname texbasenameext '}\n' ]);
+  end
+  fprintf(fid,[ '\\end{document}\n' ]);
+  fclose(fid);
+end
+
+% process view file
+    
+if processview
+    conti=1;
+    
+    for i=1:8
+      eval(['cmdi=cmd' int2str(i) ';'])
+      if ~isempty(cmdi) & conti
+        cmd = strrep(cmdi,'<viewfile>',viewbasename);
+        cmd = strrep(cmd,'<filename>',filename);
+        disp([ 'executing: '' ' cmd ' ''' ]);
+        [stat,resu]=system(cmd);
+        if stat %| isempty(strfind(resu,'Output written on'))
+          disp(resu)
+          conti=0;
+        end
+      end 
+    end
+
+    if ~conti
+       disp('An error occured in the latex/friends sequence.')
+    end
+
+end
+
+set(0,'ShowHiddenHandles',shh);
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%
+%%%% functions used
+%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function [fullnameext,basenameext,basename,dirname] = getfilenames(...
+    filename,extension,verbose);
+% appends an extension to a filename (as '/home/tom/tt') and determines  
+% fullnameext: filename with extension and dirname, as '/home/tom/tt.tex'
+% basenameext: filename with extension without dirname, as 'tt.tex'
+% basename   : filename without extension without dirname, as 'tt'
+% dirname    : dirname without filename, as '/home/tom/'
+% In verbose mode, it asks if to overwrite or to modify.
+%
+[dirname, basename] = splitfilename(filename);
+fullnameext = [ dirname basename '.' extension ];
+basenameext = [ basename '.' extension ];
+if verbose
+  quest = (exist(fullnameext)==2);
+  while quest
+    yn = input([ strrep(strrep(fullnameext,'\','\\'),'%','%%') ...
+            ' exists. Overwrite? (y/n) '],'s');
+    if strcmp(yn,'y') 
+      quest = 0;
+    else
+      filename = input( ...
+	             [ 'Please enter new filename (without extension .' ...
+	             extension '): ' ],'s');
+      [dirname, basename] = splitfilename(filename);
+      fullnameext = [ dirname basename '.' extension ];
+      basenameext = [ basename '.' extension ];
+      quest = (exist(fullnameext)==2);
+    end
+  end
+end
+if ( exist(dirname)~=7 & ~strcmp(dirname,[ '.' filesep ]) ...
+      & ~strcmp(dirname,filesep) )
+  error([ 'Directory ' dirname ' does not exist.' ] )
+end  
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function [dirname,basename] = splitfilename(filename);
+% splits filename into dir and base
+slashpos  = findstr(filename,filesep);
+nslash    = length(slashpos);
+nfilename = length(filename);
+if nslash
+  dirname  = filename(1:slashpos(nslash));
+  basename = filename(slashpos(nslash)+1:nfilename);
+else
+  dirname = pwd;
+  nn=length(dirname);
+  if ~strcmp(dirname(nn),filesep)
+    dirname = [ dirname filesep ];
+  end   
+  basename = filename;
+end  
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function yesno = is3d(haxes);
+% tries to figure out if axes is 3D
+yesno = 0;
+CameraPosition = get(haxes,'CameraPosition');
+CameraTarget = get(haxes,'CameraTarget');
+CameraUpVector = get(haxes,'CameraUpVector');
+if CameraPosition(1)~=CameraTarget(1)
+  yesno = 1;
+end  
+if CameraPosition(2)~=CameraTarget(2)
+  yesno = 1;
+end  
+if any(CameraUpVector~=[0 1 0])
+  yesno = 1;
+end  
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function b = celltoarray(a);
+% converts a cell of doubles to an array
+if iscell(a),
+  b = [];
+  for i=1:length(a),
+    b = [b a{i}]; 
+  end  
+else, 
+  b = a(:)';
+end  
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function b = chartocell(a)
+% converts a character array into a cell array of characters
+
+% convert to cell 
+if isa(a,'char')
+  n = size(a,1);
+  b = cell(1,n);
+  for j=1:n
+    b{j}=a(j,:); 
+  end  
+else
+  b = a;
+end  
+% convert to char
+n=length(b);
+for j=1:n
+  if isa(b{j},'double')
+    b{j} = num2str(b{j});
+  end  
+end	
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function b = overwritetail(a,k)
+% overwrites tail of a by k
+% a,b: strings
+% k: integer
+ks = int2str(k);
+b = [ a(1:(length(a)-length(ks))) ks ];
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function [rgb,isc] = char2rgb(c,c0)
+% convert color definitions from character to rgb-vector
+
+isc = 1;
+if ~ischar(c)
+  rgb = c; 
+else  
+  switch c
+  case {'y','yellow'}
+    rgb = [1 1 0];
+  case {'m','magenta'}
+    rgb = [1 0 1];
+  case {'c','cyan'}
+    rgb = [0 1 1];
+  case {'r','red'}
+    rgb = [1 0 0];
+  case {'g','green'}
+    rgb = [0 1 0];
+  case {'b','blue'}
+    rgb = [0 0 1];
+  case {'w','white'}
+    rgb = [1 1 1];
+  case {'k','black'}
+    rgb = [0 0 0];
+  case 'none' 
+    if nargin==2
+      rgb = char2rgb(c0);
+    else
+      rgb = [1 1 1];    
+    end    
+    isc = 0;
+  otherwise
+    warning('LaPrint:general',['Unknown Color: ''' c ...
+            '''. Taking black.'])
+    rgb = [0 0 0];
+  end    
+end    
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function v = value01(val,opt)
+% convert off/on to 0/1
+
+if nargin==2
+   txt = ['Value of ' opt ' must be ''on'' or ''off'''];
+else
+   txt = ['Value must be ''on'' or ''off'''];
+end
+
+if  ~isa(val,'char')  
+  error(txt)
+end
+val = lower(strrep(val,' ',''));
+switch val
+  case 'on'
+    v = 1;
+  case 'off'
+    v = 0;
+  otherwise
+    error(txt)
+end
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function v = valueyn(val)
+% convert 0/1 to off/on 
+
+if  ~isa(val,'double')  
+  error([ 'Value must be ''0'' or ''1'''])
+end
+switch val
+  case 0
+    v = 'off';
+  case 1
+    v = 'on';
+  otherwise
+    error([ 'Value must be ''0'' or ''1'''])
+end
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function sethf(hf,LAPRINTHAN,LAPRINTOPT)
+% store in UserData of gui 
+
+set(hf,'UserData',{LAPRINTHAN,LAPRINTOPT})
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function [LAPRINTHAN,LAPRINTOPT]=gethf(hf)
+% load from UserData of gui 
+
+d=get(hf,'UserData');
+LAPRINTHAN=d{1};
+LAPRINTOPT=d{2};
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function opt = prefsettings
+    if ispref('LaPrint','LAPRINTOPT')  
+      opt = getpref('LaPrint','LAPRINTOPT');
+    else
+      opt = [];  
+    end    
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function opt=factorysettings
+
+% try to find LaTeX and friends 
+if ispc
+  try 
+    latexpath = winqueryreg('HKEY_LOCAL_MACHINE',...
+	  'SOFTWARE\MiK\MiKTeX\CurrentVersion\MiKTeX','Install Root');
+    latexcmd = [latexpath '\miktex\bin\latex.exe -halt-on-error '...
+               '-interaction nonstopmode <viewfile>.tex'];
+    dvipscmd = [latexpath '\miktex\bin\dvips.exe -D600 -E* '...
+               '-o<viewfile>.eps <viewfile>.dvi'];
+  catch    % hoping the path variable is properly set
+    latexcmd = ['latex.exe -halt-on-error '...
+               '-interaction nonstopmode <viewfile>.tex'];
+    dvipscmd = ['dvips.exe -D600 -E* '...
+               '-o<viewfile>.eps <viewfile>.dvi'];
+  end
+  epstoolcmd = ['C:\Ghostgum\epstool\bin\epstool.exe '...
+               '--bbox --copy --output '...
+               '<filename>_final.eps <viewfile>.eps'];
+  delcmd =     ['del <viewfile>.eps <viewfile>.dvi ',...
+               '<viewfile>.aux <viewfile>.log ',...
+               '<viewfile>.pfg'];
+  gsviewcmd = 'C:\Ghostgum\gsview\gsview32.exe <filename>_final.eps&';
+else % hoping the path variable is properly set
+  latexcmd =   ['latex -halt-on-error '...
+               '-interaction nonstopmode <viewfile>.tex'];
+  dvipscmd =   ['dvips -D600 -E* '...
+               '-o<viewfile>.eps <viewfile>.dvi'];
+  epstoolcmd = ['epstool --bbox --copy --output '...
+               '<filename>_final.eps <viewfile>.eps'];
+  delcmd =     ['rm <viewfile>.eps <viewfile>.dvi ',...
+               '<viewfile>.aux <viewfile>.log ',...
+               '<viewfile>.pfg'];
+  gsviewcmd =  'ghostview <filename>_final.eps&';
+end
+
+vers = version;
+vers = eval(vers(1:3));
+if vers < 6.5
+  colorvalue=0;
+else
+  colorvalue=1;
+end
+
+   opt = struct(...
+      'figno',{1},...
+      'filename','unnamed',...
+      'width',12,...
+      'factor',0.8,...
+      'scalefonts',1,...
+      'keepfontprops',0,...
+      'asonscreen',0,...
+      'keepticklabels',0,...
+      'mathticklabels',0,...
+      'head',1,...
+      'comment','',...
+      'caption','',...
+      'extrapicture',0,...
+      'nzeros',3,...
+      'verbose',0,...
+      'figcopy',1,...
+      'printcmd',['print(''-f<figurenumber>'',' ...
+                      '''-depsc'',''-painters'','...
+                      '''<filename.eps>'')'],...
+      'package','graphicx',...
+      'color',colorvalue,...
+      'createview',0,...
+      'viewfilename','unnamed_',...
+      'processview',0,...
+      'cmd1',latexcmd,...
+      'cmd2',dvipscmd,...
+      'cmd3',epstoolcmd,...
+      'cmd4',delcmd,...
+      'cmd5',gsviewcmd,...
+      'cmd6','',...
+      'cmd7','',...
+      'cmd8','');
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function updategui(LAPRINTHAN,LAPRINTOPT)
+% update gui
+
+set(LAPRINTHAN.figno,'string',num2str(LAPRINTOPT.figno))
+set(LAPRINTHAN.filename,'string',LAPRINTOPT.filename)
+% width, factor, scalefonts
+if LAPRINTOPT.keepfontprops
+   set(LAPRINTHAN.keepfontprops,'check','on')
+else 
+   set(LAPRINTHAN.keepfontprops,'check','off')
+end
+if LAPRINTOPT.asonscreen
+   set(LAPRINTHAN.asonscreen,'check','on')
+else 
+   set(LAPRINTHAN.asonscreen,'check','off')
+end
+if LAPRINTOPT.keepticklabels
+   set(LAPRINTHAN.keepticklabels,'check','on')
+else 
+   set(LAPRINTHAN.keepticklabels,'check','off')
+end
+if LAPRINTOPT.mathticklabels
+   set(LAPRINTHAN.mathticklabels,'check','on')
+else 
+   set(LAPRINTHAN.mathticklabels,'check','off')
+end
+if LAPRINTOPT.head
+   set(LAPRINTHAN.head,'check','on')
+else 
+   set(LAPRINTHAN.head,'check','off')
+end
+% comment, caption
+if LAPRINTOPT.extrapicture
+   set(LAPRINTHAN.extrapicture,'check','on')
+else 
+   set(LAPRINTHAN.extrapicture,'check','off')
+end
+% nzeros
+if LAPRINTOPT.verbose
+   set(LAPRINTHAN.verbose,'check','on')
+else 
+   set(LAPRINTHAN.verbose,'check','off')
+end
+if LAPRINTOPT.figcopy
+   set(LAPRINTHAN.figcopy,'check','on')
+else 
+   set(LAPRINTHAN.figcopy,'check','off')
+end
+% printcmd
+switch LAPRINTOPT.package
+  case 'epsfig'
+   set(LAPRINTHAN.package_epsfig,'check','on')
+   set(LAPRINTHAN.package_graphicx,'check','off')
+  case 'graphicx'
+   set(LAPRINTHAN.package_epsfig,'check','off')
+   set(LAPRINTHAN.package_graphicx,'check','on')
+end
+if LAPRINTOPT.color
+   set(LAPRINTHAN.color,'check','on')
+else 
+   set(LAPRINTHAN.color,'check','off')
+end
+if LAPRINTOPT.createview
+   set(LAPRINTHAN.createview,'check','on')
+else 
+   set(LAPRINTHAN.createview,'check','off')
+end
+% viewfilename
+if LAPRINTOPT.processview
+   set(LAPRINTHAN.processview,'check','on')
+else 
+   set(LAPRINTHAN.processview,'check','off')
+end
+% cmd1, cmd2, cmd3, cmd4, cmd5, cmd6, cmd7, cmd8
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function txt = helptext()
+% help text
+txt={...
+'',...
+['LAPRINT prints a figure for inclusion in LaTeX documents. ',...
+'It creates an eps-file and a tex-file. The tex-file contains the ',...
+'annotation of the figure such as titles, labels and texts. The ',...
+'eps-file contains the non-text part of the figure and is called ',...
+'by the tex-file. The main advantage of using LaPrint ',...
+'is that the annotation can be neatly (e.g., including math ',...
+'mode and fancy font constructs) set within LaTeX.'],...
+'',...
+'Prerequisites:',...
+'~~~~~~~~~~~~~~',...
+['Matlab 6.1 or above is required. To process the LaTeX file, a ',...
+'LaTeX compiler (including the packages ''graphicx'' and ',...
+'''psfrag'') and a dvi-to-postscript converter (like dvips) '...
+'is required. Optional tools are a postscript-viewer ',...
+'(like ghostview), a postscript bounding box converter ',...
+'(like epstool) and the LaTeX packages color ',...
+'and epsfig.'],...
+'',...
+'Installation:',...
+'~~~~~~~~~~~~~',...
+['LaPrint comes as a single m-file, which has to be placed  ',...
+'somewhere in the Matlab search path. If you want LaPrint to ',...
+'call LaTeX and friends, the (system dependent) executables have ',...
+'to be defined using the GUI (see below).'],...
+'',...
+'An example to get started:',...
+'~~~~~~~~~~~~~~~~~~~~~~~~~~',...
+['It is recommended to switch off the Matlab TeX ',...
+'interpreter before creating a graphics to be processed by ',...
+'LaPrint:'],...
+'  >> set(0,''DefaultTextInterpreter'',''none'')',...
+'Create an example graphics using',...
+'  >> figure(1), clf',...
+'  >> plot([1 2])',...
+'  >> xlabel(''$x$'')',...
+'  >> ylabel(''A straight line $f(x)=\alpha x + \beta$'')',...
+'  >> text(1.1,1.9,{''\textbf{This figure is not exiting.}'',...',...
+'     ''(but it shows some features of \texttt{laprint})''})',...
+['Note that the text uses LaTeX constructs like ''$.$'', ',...
+'''\alpha'' and ''\textbf{}''. You can employ the full LaTeX ',...
+'repertoire here.'],...
+['Open the LaPrint graphical user interface (GUI) ',...
+'(if you haven''t already done so), by typing'],...
+'  >> laprint',...
+['Check if the GUI points to Figure Number 1, ',...
+'and save the graphics by pressing ''Go!''. ',...
+'This creates the files ''unnamed.tex'' and ''unnamed.eps''. ',...
+'These can be included in a LaTeX document as follows:'],...
+'  % This is the LaTeX document testdoc.tex',...
+'  \documentclass{article}',...
+'  \usepackage{graphicx,color,psfrag}',...
+'  \begin{document}',...
+'  Here comes a Matlab figure created with \texttt{laprint}:\\',...
+'  \input{unnamed}',...
+'  \end{document}',...
+['This document can be compiled with LaTeX (to create ',...
+'''testdoc.dvi'') and converted to postscript (to create ',...
+'''testdoc.ps''). The document ''testdoc.ps'' will contain the ',...
+'Matlab graphics with LaTeX annotation. Observe that the ',...
+'figure is 12cm wide and that the fonts are scaled to 80% ',...
+'of their original size. This is the default behaviour of ',...
+'LaPrint, which can be adjusted using ''Options'' in the ',...
+'GUI menu bar (as will explained below).'],...
+'',...
+['Instead of using the GUI you can also call LaPrint ',...
+'from the command line (or from an m-file) as follows:'],...
+'  >> laprint(1,''unnamed'')',...
+'',...
+'This is what LaPrint does:',...
+'~~~~~~~~~~~~~~~~~~~~~~~~~~',...
+'Basically, LaPrint performs the following tasks:',...
+' - Take a preliminary copy of the figure. ',...
+' - In the preliminary figure, replace all text objects by tags.',...
+[' - Save the preliminary figure (with tags) as an eps-file using ',...
+'the Matlab ''print'' command.'],...
+[' - Create a tex-file which calls the eps-file (using the ',...
+'''graphicx'' package) and replaces ',...
+'the tags by the original text (using the ''psfrag'' package).'],...
+'',...
+['It is instructive to have a look into the tex-file ',...
+'(''unnamed.tex'' in the above example). ',...
+'If your graphics contains huge amounts of LaTeX-code, then ',... 
+'you might also consider editing the tex-file with your ',...
+'favourate LaTeX editor. You have however to be carefull, ',...
+'because LaPrint (using default settings) doesn''t care ',...
+'overwriting files.'],...
+'',...
+'Using the LaPrint GUI: ',...
+'~~~~~~~~~~~~~~~~~~~~~~',...
+['The behaviour of LaPrint can be controlled by various settings ',...
+'and options. Using the GUI, these can be set using the ''Options'' ',...
+'entry in the menu bar. Using LaPrint from the command line, ' ,...
+'these can be set by extra input arguments in the form of ',...
+'option/value pairs. In the following, the options are explained ',...
+'in some detail based on the GUI. Later, a table with the ',...
+'command line option/value pairs is given.'],...
+'',...
+'In the main LaPrint window you can specify',...
+['-- the number of the Matlab figure to be saved (this must be ',...
+'the handle of an open Matlab window) and '],...
+['-- the basename of the files to be saved (for instance, if ',...
+'the basename is ''unnamed'', then ''unnamed.tex'' and ',...
+'''unnamed.eps'' are created;).'],...
+'',...
+'Via the menu bar you can control the following settings:',...
+'',...
+'Options --> Sizes and Scalings ...',...
+'',...
+'This opens a window where you can specify ',...
+'-- the width (in cm) of the graphics in the LaTeX document;',...
+'-- a scaling factor and',...
+'-- whether you want fonts to be scaled.',...
+['The width controls the size of the graphics. Its height ',...
+'is computed such that the ratio of width to height of the ',...
+'figure on screen is retained. The factor controls the ',...
+'''denseness'' of the graphics. For instance, if the width is ',...
+'w=12 and the factor is f=0.8, then the graphics in the ',...
+'eps-file will have width w/f=15 cm and the tex-file ',...
+'scales it down to 12 cm. This means that lines become thinner ',...
+'and fonts become smaller (as compared to w=12; f=1.0). ',...
+'Good values for papers are f=0.8 to f=1.0, ',...
+'and f=1.5 is a good value for presentations. ',...
+'Switching font scaling off only scales the graphics. ',...
+'You may want to experiment with some w/f/scalefont combinations ',...
+'to find out your personal preference. '],...
+'',...
+'Options --> Translate Matlab Font Properties to LaTeX ',...
+'',...
+['This option can be switched on/off. When off, all text ',...
+'will be set using the LaTeX font which is active while ',...
+'entering the tex-file (Matlab font settings are ignored). When ',...
+'on, Matlab font settings are translated to LaTeX font ',...
+'settings.'],...
+'',...
+'Options --> Print Limits and Ticks as on Screen',...
+'',...
+['This option can be switched on/off. When on, the axes ',...
+'limits and ticks are frozen. They appear in the LaTeX ',...
+'document as on screen. When off, they are adapted by ',...
+'Matlab.'],...
+'',...
+'Options --> Keep Tick Labels within eps File',...
+'',...
+['This option can be switched on/off. When on, the tick ',...
+'labels aren''t replaced by their LaTeX equivalents. This is ',...
+'useful for some 3D-plots.'],...
+'',...
+'Options --> Set Tick Labels in LaTeX Math Mode',...
+'',...
+['This option can be switched on/off. When on, the tick ',...
+'labels are surrounded by a ''$''.'],...
+'',...
+'Options --> Equip the tex File with a Head',...
+'',...
+['This option can be switched on/off. When on, the tex-file ',...
+'is equipped with a header with a bunch of comments (date, files, ',...
+'example, comment text,...).'],...
+'',...
+'Options --> Comment in the Head of the tex File ...',...
+'',...
+['This opens a window where you can specify a comment to be ',...
+'placed in the header of the tex file.'],...
+'',...
+'Options --> Place a LaTeX caption in the tex File ...',...
+'',...
+['This opens a window where you can enter a caption text. If this ',...
+'caption text is nonempty, it is placed as a \caption{} ',...
+'into the tex-file. Thus the text will appear in the LaTeX ',...
+'document. In addition a \label{} is placed in the tex-file ',...
+'which can be used to refer to the graphics. The label will ',...
+'be fig: followed by the basename of the files, e.g., ',...
+'\label{fig:unnamed}.'],...
+'',...
+'Options --> Place an Extra Picture in each Axes',...
+'',...
+['This option can be switched on/off. When on, each axes in the ',...
+'figure is equipped with an empty LaTeX ''picture'' environment. ',...
+'It can be used to place some additional material into the ',...
+'figure by editing the tex-file.'],...
+'',...
+'Options --> Length of the psfrag Replacement Strings ...',...
+'',...
+['This opens a window where you can enter the length of the ',...
+'psfrag tags. If you have huge amounts of text, the default ',...
+'length of 3 might not suffice.'],...
+'',...
+'Options --> Call LaPrint in verbose mode',...
+'',...
+['This option can be switched on/off. When on, LaPrint issues ',...
+'some messages and warns before overwriting files.'],...
+'',...
+'Options --> Copy Figure and Modify that Copy',...
+'',...
+['This option can be switched on/off. When on, LaPrint takes ',...
+'a copy of the figure to be printed and places its tags into ',...
+'that copy. When done, the copy is deleted. When off, the ',...
+'figure is messed up by tags. It gets unusable, but you can see ',...
+'what LaPrint is doing. Besides, there are bugs in the Matlab ',...
+'''copyobj'' command. If these show up, this option is useful.'],...
+'',...
+'Options --> Matlab Print Command ...',...
+'',...
+['This opens a window where you can enter the Matlab command to ',...
+'save the graphics in an eps-file. You can modify the standard ',...
+'print command to include or remove options (like ''-loose'') ',...
+'or employ a different command (like exportfig). '],...
+'',...
+'Options --> Matlab Graphics Package',...
+'',...
+'You can chose between ''graphicx'' and ''epsfig''.',...
+'',...
+'Options --> Use LaTeX ''color'' package',...
+'',...
+['This option can be switched on/off. When on, LaPrint places ',...
+'color commands into the tex file to optain colored text.'],...
+'',...
+'Options --> View File ... --> Create a View File',...
+'',...
+['This option can be switched on/off. When on, LaPrint creates ',...
+'a third file (the view-file), which is a complete LaTeX ',...
+'document showing the graphics. You can process this file ',...
+'with your favourate LaTeX- and dvi-to-postscript compiler. ',...
+'This is useful to have a quick look at the result and to ',...
+'create a futher eps-file containing everything (see below). ',...
+'The process of compiling the view-file can be automated using ',...
+'the options described below.'],...
+'',...
+'Options --> View File ... --> Name of the View File',...
+'',...
+['This opens a window where you can enter the name of the ',...
+'view-file to be created.'],...
+'',...
+'Options --> View File ... --> Process the View File',...
+'',...
+['This option can be switched on/off. When on, LaPrint ',...
+'calls the LaTeX compiler and its friends to process the ',...
+'view file. The names of the executables to be used and ',...
+'their syntax can be set using the following option. '],...
+'',...
+['Options --> View File ... --> Executables for processing ',...
+'View File'],...
+'',...
+['This opens a window where you can enter the names of up to 8 ',...
+'system commands to process the view-file. If you have less than 8 ',...
+'programs, you can leave the some of the fields empty. In all ',...
+'commands, LaPrint internally replaces the tag ''<viewfile>'' ',...
+'by the basename of the viewfile and the tag <filename> by ',...
+'the basename specified in the main LaPrint window. ',...
+'In following example you have to add the paths, if the ',...
+'commands are not in the system search path.'],...
+'',...
+'To create and view a ps document:',...
+' cmd1:  latex <viewfile>.tex',...
+' cmd2:  dvips -o<viewfile>.ps <viewfile>.dvi',...
+' cmd3:  gsview32 <viewfile>.ps   (ghostview for Unix)',...
+'',...
+'',...
+'Preferences:',...
+'~~~~~~~~~~~~',...
+['All options and settings of LaPrint can be ',...
+'(internally and externally) stored ',...
+'in ''Preferences''. Suppose that you have changed, via ',...
+'the ''Options'' menu bar entry, the settings of LaPrint. ',...
+'You can make these settings to your preferred (default) ',...
+'settings by chosing'],...
+'',...
+'Preferences --> Set Preferences to Current Settings',...
+'',...
+['This means that future sessions of LaPrint load these ',...
+'settings on startup. You can also manually reload these ',...
+'settings by chosing'],...
+'',...
+'Preferences --> Get Preferences',...
+'',...
+['LaPrint has built-in (factory default) preferences, ',...
+'which you see when using ',...
+'LaPrint the first time. You can restore these defaults ',...
+'by chosing'],...
+'',...
+'Preferences --> Get Factory Defaults',...
+'',...
+['If you want your personal preferences be completely removed ',...
+'(switching back to factory defaults on startup), you should ',...
+'chose'],...
+'',...
+'Preferences --> Remove Preferences',...
+'',...
+['If you have multiple projects running and want to use different ',...
+'settings simultaneously, you can save/load preferences ',...
+'to/from mat-files by chosing'],...
+'',...
+'Preferences --> Save Current Settings to a File ',...
+'Preferences --> Load Settings from a File ',...
+'',...
+'These open a new window asking for the name of a .mat file.',...
+'',...
+'Using LaPrint from the command line:',...
+'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~',...
+['When using LaPrint from the command line (or from an m-file), ',...
+'the following syntax is required:'],...
+'',...
+'  laprint(figno,filename)',...
+'  laprint(figno,filename,opta,vala,optb,valb,..)',...
+'',...
+'where',...
+'  figno        : integer, figure to be printed',...
+'  filename     : string (character array), basename of files',...
+'                 to be created',...
+'  opta,vala,.. : option and value pairs, where opta is one',...
+'                 of the following options and vala is',...
+'                 the corresponding value.',...
+'',...
+['When calling LaPrint from the command line without ',...
+'option/value pairs, it uses the same '],...
+['settings/options as the GUI on startup. This means that ',...
+'it uses'],...
+['-- the factory default settings (if you havn''t ',...
+'stored your personal preferences using the GUI) or '],...
+'-- your personal preferences. ',...
+'The factory default settings can be enforced by typing ',...
+'  laprint(figno,filename,''options'',''factory'')',...
+['These settings can be overwritten by option/value pairs ',...
+'as explained in the following table.'],...
+'',...
+'option          |class/val.| remark',...
+'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~',...
+'''width''         | <double> | width of the figure in the LaTeX',...
+'                |          | document (in cm).',...
+'''factor''        | <double> | factor by which the figure in ',...
+'                |          | the LaTeX document is smaller than ',...
+'                |          | the figure in the postscript file.',...
+'''scalefonts''    |''on''/''off''| scales the fonts with the ',...
+'                |          | figure (see option ''factor'').',...
+'''keepfontprops'' |''on''/''off''| translates MATLAB font',... 
+'                |          | properties (size, width, angle) into',...
+'                |          | corresponding LaTeX font properties.',... 
+'''asonscreen''    |''on''/''off''| prints ticks and lims ',...
+'                |          | ''as on screen''.',...
+'''keepticklabels''|''on''/''off''| keeps the tick labels within',...
+'                |          | the eps-file (not using LaTeX).',...
+'''mathticklabels''|''on''/''off''| tick labels are set in LaTeX',...
+'                |          | math mode',...
+'''head''          |''on''/''off''| places a commenting header in ',...
+'                |          | the tex-file.',...
+'''comment''       | <string> | places the comment <string> into',...
+'                |          | the header of the tex-file.',...
+'''caption''       | <string> | adds \caption{<string>} and',...
+'                |          | \label{fig:<filename>} to the',...
+'                |          | tex-file.',...
+'''extrapicture''  |''on''/''off''| adds empty picture environments',...
+'                |          | to the axes.',...
+'''nzeros''        | <int>    | uses replacement strings of',...
+'                |          | length <int> in the eps-file.',...
+'''verbose''       |''on''/''off''| verbose mode; asks before',...
+'                |          | overwriting files and issues some ',...
+'                |          | more messages.',... 
+'''figcopy''       |''on''/''off''| directly modifies the original',...
+'                |          | figure.',...
+'''printcmd''      | <string> | uses ''<string>'' as Matlab print',...
+'                |          | command.',...
+'''package''       | <string> | uses the LaTeX graphics package',...
+'                |          | ''<string>''. Possible values are',...
+'                |          | ''graphicx'' and ''epsfig''.',...
+'''color''         |''on''/''off''| uses colored fonts (using the',... 
+'                |          | LaTeX ''color'' package).',... 
+'''createview''    |''on''/''off''| creates a view-file, which ',... 
+'                |          | calls the tex-file.',...
+'''viewfilename''  | <string> | Basename of the  view-file.',...
+'''processview''   |''on''/''off''| processes the view-file ',... 
+'                |          | by LaTeX and friends.',...
+'''cmd1''          | <string> | 1st Command in the sequence of',...
+'                |          | LaTeX and friends (enter an empty',...
+'                |          | string to skip this command).',... 
+'''cmd2''          | <string> | 2nd LaTeX/friend Command ',...
+'''cmd3''          | <string> | 3rd LaTeX/friend Command ',...
+'''cmd4''          | <string> | 4th LaTeX/friend Command ',...
+'''cmd5''          | <string> | 5th LaTeX/friend Command ',...
+'''cmd6''          | <string> | 6th LaTeX/friend Command ',...
+'''cmd7''          | <string> | 7th LaTeX/friend Command ',...
+'''cmd8''          | <string> | 8th LaTeX/friend Command ',...
+'''options''       | <string> | This option can be used to ',...
+'                |          | employ project-dependent ',... 
+'                |          | preferences as follows:',... 
+'                |          | 1) Save your preferences to a file ',... 
+'                |          |    using the GUI:',... 
+'                |          |    Preferences --> ',... 
+'                |          |     Save Current Settings to a file',... 
+'                |          | 2) Reload these preferences',... 
+'                |          |    with laprint:',... 
+'                |          |    >> laprint(1,''unnamed'',..',... 
+'                |          |        ''options'',<string>)',... 
+'                |          |    where <string> is the name of ',...
+'                |          |    the mat-file with preferences.',...
+'',...
+'',...
+' ...................... ENJOY ! .......................',...
+'',...
+};
Index: /trunk/machine/SOLEIL/common/toolbox/plotpdftex/plotpdftex.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/plotpdftex/plotpdftex.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/plotpdftex/plotpdftex.m	(revision 17)
@@ -0,0 +1,216 @@
+% PLOTPDFTEX prints a PDF figure for inclusion in LaTeX documents, with
+%    LaTeX fonts. It creates a complete pdf-file with annotation of the 
+%    figure (titles, labels and texts) and graphics (lines,arrows,markers,
+%    ...). This function uses the LAPRINT function and makes simply a
+%    concatenation of the text part and the graphical part in a single PDF
+%    file. It requires:
+%
+%                  MATLAB        |      OTHER
+%               -----------------|----------------------------
+%                 laprint.m      |      latex
+%                                |      dvips
+%                                |      ps2pdf
+%                                |      pdfcrop
+%                                |      GhostScript
+%
+%    
+%    
+%    USAGE:
+%    ------------------------
+%
+%    PLOTPDFTEX creates the PDF file of the current graphical figure (CGF) 
+%    named LaTeXfile.pdf
+% 
+%    PLOTPDFTEX(H) creates the PDF file from the graphical figure with 
+%    handle H, named LaTeXfile.pdf
+%    
+%    PLOTPDFTEX(H,FILENAME) creates the PDF file from the graphical figure 
+%    with handle H, named FILENAME.PDF (FILENAME is a character array of
+%    the filename, with or without the extension .PDF)
+%    
+%    PLOTPDFTEX(H,FILENAME,[FONTSCALING LINESCALING]) scales the font and
+%    line sizes relative to the figure size (values greater than 1 scale
+%    up, less than 1 scale down).  If nan, the default of 1 is used.
+%
+%    PLOTPDFTEX(H,FILENAME,[FONTSCALING LINESCALING],PACKAGES) to adding
+%    packages such as fonts, mathfont,...
+%    ex: PACKAGES = 'amssymb, times'
+%
+% See also LAPRINT:
+%          http://www.uni-kassel.de/fb16/rat/matlab/laprint/laprintdoc.ps 
+% 
+%_______________________________
+% Adjusted from PLOTEPSTEX by
+% J.C. Olivier                                    09/2007
+% http://www.jc-olivier.2007.fr
+%
+%_______________________________
+%
+% Emmett Lalish                                   06/2008
+% 
+% Updated to use ps2pdf now                       07/2009
+
+function plotpdftex(h,FileName,FontLineSize,Packages)
+
+
+if nargin >= 3
+    fontsize=FontLineSize(1);
+    linesize=FontLineSize(2);
+    
+    id=find(isnan(FontLineSize));
+    if length(find(id==1))==1
+        fontsize=1;
+    end
+
+    if length(find(id==2))==1
+        linesize=1;
+    end
+end
+    
+
+if nargin < 3
+   fontsize=1; linesize=1; 
+end
+
+if nargin < 2
+    FileName='LaTeXfile';
+end
+
+if nargin < 1
+    h=gcf;
+end
+
+TempName = strcat('TEMP',num2str(round(rand*10000))); %Generate random file name
+
+
+DTI = get(0,'defaulttextinterpreter');   %Backup of the text interpreter
+set(0,'defaulttextinterpreter','none');  %Delete the TeX interpreter
+
+
+id=findstr(FileName,'.');
+if ~isempty(id)
+    FileName(id:end)=[];
+end
+
+if ~exist('laprint.m')
+    disp('Laprint M-file does not exist or is not in the MATLAB''s search path.');
+    disp('This file can be downloaded at: http://www.mathworks.com/matlabcentral/fileexchange');
+    disp('                                                         Try again...');
+    return;
+end
+
+laprint(h,TempName,'width',12/fontsize,'factor',linesize/fontsize,'scalefonts','off','asonscreen','on'); % Generate the EPS/LaTeX file
+
+disp(sprintf('\n-------------------------------------------------------'));
+disp(sprintf('PlotEpsTeX                                      02/2008'));
+disp(sprintf('-------------------------------------------------------'));
+disp(sprintf('Exporting figure in EPS format, including LaTeX strings'));
+disp(sprintf('This function is based on laprint.m:'));
+disp(sprintf('http://www.uni-kassel.de/fb16/rat/matlab/laprint/laprintdoc.ps\n'));
+%-------------------------------------------------------
+% Temporary LaTeX file
+%-------------------------------------------------------
+fid = fopen(strcat(TempName,'2.tex'),'w');
+
+fprintf(fid,'\\documentclass[11pt, oneside]{article}\n');
+fprintf(fid,'\\usepackage{graphicx}\n');
+fprintf(fid,'\\usepackage{amsmath}\n');
+fprintf(fid,'\\usepackage[T1]{fontenc}\n');
+fprintf(fid,'\\usepackage[latin1]{inputenc}\n');
+fprintf(fid,'\\usepackage{ae}\n');
+fprintf(fid,'\\usepackage{psfrag}\n');
+fprintf(fid,'\\usepackage{color}\n');
+
+if nargin==4
+    fprintf(fid,'\\usepackage{%s}\n',Packages); % Suplementary packages
+end
+fprintf(fid,'\\pagestyle{empty}\n');
+fprintf(fid,' \n');
+fprintf(fid,'\\begin{document}\n');
+fprintf(fid,'    \\begin{figure}\n');
+fprintf(fid,'        \\centering\n');
+fprintf(fid,'        \\input{%s}\n',TempName);
+fprintf(fid,'    \\end{figure}\n');
+fprintf(fid,' \n');
+fprintf(fid,'\\end{document}\n');
+fclose(fid);
+
+%-------------------------------------------------------
+% LaTeX Command
+%-------------------------------------------------------
+Str=sprintf('latex --src -interaction=nonstopmode %s2.tex',TempName);
+disp(sprintf('\n[LaTeX Command] %s',Str));
+[hdos,wdos]=system(Str);
+
+if hdos ~=0
+    if isunix
+        dos(sprintf('rm %s*',TempName));
+    else
+        dos(sprintf('del %s*',TempName));
+    end
+    error('Error %d -- LATEX:\n%s',hdos ,wdos);
+    return;
+end
+
+
+%-------------------------------------------------------
+% DviPs Command
+%-------------------------------------------------------
+Str=sprintf('dvips %s2.dvi -o %s2.ps',TempName,TempName); 
+disp(sprintf('[DVIPS Command] %s',Str));
+[hdos,wdos]=system(Str);
+if hdos ~=0
+    if isunix
+        dos(sprintf('rm %s*',TempName));
+    else
+        dos(sprintf('del %s*',TempName));
+    end
+    error('Error %d -- DVIPS:\n%s', hdos , wdos);
+    return;
+end
+
+%-------------------------------------------------------
+% ps2pdf Command
+%-------------------------------------------------------
+Str = sprintf('ps2pdf -dNOCACHE %s2.ps %s.pdf',TempName,TempName);
+disp(sprintf('[PS2PDF Command] %s',Str));
+[hdos,wdos]=system(Str);
+if hdos ~=0
+    if isunix
+        dos(sprintf('rm %s*',TempName));
+    else
+        dos(sprintf('del %s*',TempName));
+    end
+    error('Error %d -- PS2PDF:\n%s',hdos ,wdos);
+    return;
+end
+
+%-------------------------------------------------------
+% pdfcrop Command
+%-------------------------------------------------------
+Str = sprintf('pdfcrop %s.pdf %s.pdf',TempName,FileName);
+disp(sprintf('[PDFCROP Command] %s',Str));
+[hdos,wdos]=system(Str);
+if hdos ~=0
+    if isunix
+        dos(sprintf('rm %s*',TempName));
+    else
+        dos(sprintf('del %s*',TempName));
+    end
+    error('Error %d -- PDFCROP:\n%s',hdos ,wdos);
+    return;
+end
+
+disp(sprintf('... OK!\nPDF file [%s.pdf] has been created in the current directory\n',FileName));
+%-------------------------------------------------------
+% Delete all the temporary files
+%-------------------------------------------------------
+if isunix
+    dos(sprintf('rm %s*',TempName));
+else
+    dos(sprintf('del %s*',TempName));
+end
+
+set(0,'defaulttextinterpreter',DTI);
+
+return;
Index: /trunk/machine/SOLEIL/common/toolbox/quadgr/quadgr.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/quadgr/quadgr.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/quadgr/quadgr.m	(revision 17)
@@ -0,0 +1,154 @@
+function [Q,err] = quadgr(fun,a,b,tol)
+%QUADGR Gauss-Legendre quadrature with Richardson extrapolation.
+%   [Q,ERR] = QUADGR(FUN,A,B,TOL) approximates the integral of a function
+%   FUN from A to B with an absolute error tolerance TOL. FUN is a function
+%   handle and must accept vector arguments. TOL is 1e-6 by default. Q is
+%   the integral approximation and ERR is an estimate of the absolute error.
+%
+%   QUADGR uses a 12-point Gauss-Legendre quadrature. The error estimate is
+%   based on successive interval bisection. Richardson extrapolation
+%   accelerates the convergence for some integrals, especially integrals
+%   with endpoint singularities.
+%
+%   Examples:
+%     Q = quadgr(@(x) log(x),0,1)
+%     [Q,err] = quadgr(@(x) exp(x),0,9999i*pi)
+%     [Q,err] = quadgr(@(x) sqrt(4-x.^2),0,2,1e-12)
+%     [Q,err] = quadgr(@(x) x.^-0.75,0,1)
+%     [Q,err] = quadgr(@(x) 1./sqrt(1-x.^2),-1,1)
+%     [Q,err] = quadgr(@(x) exp(-x.^2),-inf,inf,1e-9) % sqrt(pi)
+%     [Q,err] = quadgr(@(x) cos(x).*exp(-x),0,inf,1e-9)
+%
+%   See also QUAD, QUADGK
+
+%   Author: jonas.lundgren@saabgroup.com, 2009.
+
+if nargin < 3, help quadgr, return, end
+if nargin < 4, tol = 1e-6; end
+
+% Order limits (required if infinite limits)
+if a == b
+    Q = b - a;
+    err = b - a;
+    return
+elseif a > b
+    reverse = true;
+    atmp = a;
+    a = b;
+    b = atmp;
+else
+    reverse = false;
+end
+
+% Infinite limits
+if isinf(a) || isinf(b)
+    % Check real limits
+    if ~isreal(a) || ~isreal(b) || isnan(a) || isnan(b)
+        error('quadgr:inflim','Infinite intervals must be real.')
+    end
+    % Change of variable
+    if isfinite(a) && isinf(b)
+        % a to inf
+        fun1 = @(t) fun(a + t./(1-t))./(1-t).^2;
+        [Q,err] = quadgr(fun1,0,1,tol);
+    elseif isinf(a) && isfinite(b)
+        % -inf to b
+        fun2 = @(t) fun(b + t./(1+t))./(1+t).^2;
+        [Q,err] = quadgr(fun2,-1,0,tol);
+    else % -inf to inf
+        fun1 = @(t) fun(t./(1-t))./(1-t).^2;
+        fun2 = @(t) fun(t./(1+t))./(1+t).^2;
+        [Q1,err1] = quadgr(fun1,0,1,tol/2);
+        [Q2,err2] = quadgr(fun2,-1,0,tol/2);
+        Q = Q1 + Q2;
+        err = err1 + err2;
+    end
+    % Reverse direction
+    if reverse
+        Q = -Q;
+    end
+    return 
+end
+
+% Gauss-Legendre quadrature (12-point)
+xq = [0.12523340851146894; 0.36783149899818018; 0.58731795428661748; ...
+      0.76990267419430469; 0.9041172563704748; 0.98156063424671924];
+wq = [0.24914704581340288, 0.23349253653835478, 0.20316742672306584, ...
+      0.16007832854334636, 0.10693932599531818, 0.047175336386511842];
+xq = [xq; -xq];
+wq = [wq, wq];
+nq = length(xq);
+
+% Initiate vectors
+maxit = 17;                 % Max number of iterations
+Q0 = zeros(maxit,1);       	% Quadrature
+Q1 = zeros(maxit,1);       	% First Richardson extrapolation
+Q2 = zeros(maxit,1);       	% Second Richardson extrapolation
+
+% One interval
+hh = (b - a)/2;             % Half interval length
+x = (a + b)/2 + hh*xq;      % Nodes
+% Quadrature
+Q0(1) = hh*wq*fun(x);
+
+% Successive bisection of intervals
+for k = 2:maxit
+    
+    % Interval bisection
+    hh = hh/2;
+    x = [x + a; x + b]/2;
+    % Quadrature
+    Q0(k) = hh*wq*sum(reshape(fun(x),nq,[]),2);
+    
+    % Richardson extrapolation
+    if k >= 5
+        Q1(k) = richardson(Q0,k);
+        Q2(k) = richardson(Q1,k);
+    elseif k >= 3
+        Q1(k) = richardson(Q0,k);
+    end
+   
+    % Estimate absolute error
+    if k >= 6
+        Qv = [Q0(k), Q1(k), Q2(k)];
+        Qw = [Q0(k-1), Q1(k-1), Q2(k-1)];
+    elseif k >= 4
+        Qv = [Q0(k), Q1(k)];
+        Qw = [Q0(k-1), Q1(k-1)];
+    else
+        Qv = Q0(k);
+        Qw = Q0(k-1);
+    end
+    [err,j] = min(abs(Qv - Qw));
+    Q = Qv(j);
+    
+    % Convergence
+    if err < tol || ~isfinite(Q)
+        break;
+    end 
+    
+end
+
+% Convergence check
+if ~isfinite(Q)
+    warning('quadgr:infnan','Integral approximation is Infinite or NaN.')
+elseif err > tol
+    warning('quadgr:maxiter','Max number of iterations reached without convergence.')
+end
+
+% The error estimate should not be zero
+err = err + 2*eps(Q);
+% Reverse direction
+if reverse
+	Q = -Q;
+end
+
+% disp([Q0 Q1 Q2])
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+function R = richardson(Q,k)
+% Richardson extrapolation with parameter estimation
+c = real((Q(k-1)-Q(k-2))/(Q(k)-Q(k-1))) - 1;
+% The lower bound 0.07 admits the singularity x.^-0.9
+c = max(c,0.07);
+R = Q(k) + (Q(k) - Q(k-1))/c;
Index: /trunk/machine/SOLEIL/common/toolbox/tight_subplot/Tight_subplot_license.txt
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/tight_subplot/Tight_subplot_license.txt	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/tight_subplot/Tight_subplot_license.txt	(revision 17)
@@ -0,0 +1,24 @@
+Copyright (c) 2010, Pekka Kumpulainen
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are 
+met:
+
+    * Redistributions of source code must retain the above copyright 
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright 
+      notice, this list of conditions and the following disclaimer in 
+      the documentation and/or other materials provided with the distribution
+      
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
Index: /trunk/machine/SOLEIL/common/toolbox/tight_subplot/tight_subplot.m
===================================================================
--- /trunk/machine/SOLEIL/common/toolbox/tight_subplot/tight_subplot.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/toolbox/tight_subplot/tight_subplot.m	(revision 17)
@@ -0,0 +1,62 @@
+function ha = tight_subplot(Nh, Nw, gap, marg_h, marg_w)
+
+% tight_subplot creates "subplot" axes with adjustable gaps and margins
+%
+% ha = tight_subplot(Nh, Nw, gap, marg_h, marg_w)
+%
+%   in:  Nh      number of axes in hight (vertical direction)
+%        Nw      number of axes in width (horizontaldirection)
+%        gap     gaps between the axes in normalized units (0...1)
+%                   or [gap_h gap_w] for different gaps in height and width 
+%        marg_h  margins in height in normalized units (0...1)
+%                   or [lower upper] for different lower and upper margins 
+%        marg_w  margins in width in normalized units (0...1)
+%                   or [left right] for different left and right margins 
+%
+%  out:  ha     array of handles of the axes objects
+%                   starting from upper left corner, going row-wise as in
+%                   going row-wise as in
+%
+%  Example: ha = tight_subplot(3,2,[.01 .03],[.1 .01],[.01 .01])
+%           for ii = 1:6; axes(ha(ii)); plot(randn(10,ii)); end
+%           set(ha(1:4),'XTickLabel',''); set(ha,'YTickLabel','')
+
+% Pekka Kumpulainen 20.6.2010   @tut.fi
+% Tampere University of Technology / Automation Science and Engineering
+
+
+if nargin<3; gap = .02; end
+if nargin<4 || isempty(marg_h); marg_h = .05; end
+if nargin<5; marg_w = .05; end
+
+if numel(gap)==1; 
+    gap = [gap gap];
+end
+if numel(marg_w)==1; 
+    marg_w = [marg_w marg_w];
+end
+if numel(marg_h)==1; 
+    marg_h = [marg_h marg_h];
+end
+
+axh = (1-sum(marg_h)-(Nh-1)*gap(1))/Nh; 
+axw = (1-sum(marg_w)-(Nw-1)*gap(2))/Nw;
+
+py = 1-marg_h(2)-axh; 
+
+ha = zeros(Nh*Nw,1);
+ii = 0;
+for ih = 1:Nh
+    px = marg_w(1);
+    
+    for ix = 1:Nw
+        ii = ii+1;
+        ha(ii) = axes('Units','normalized', ...
+            'Position',[px py axw axh], ...
+            'XTickLabel','', ...
+            'YTickLabel','');
+        px = px+axw+gap(2);
+    end
+    py = py-axh-gap(1);
+end
+
Index: /trunk/machine/SOLEIL/common/uigetdate.m
===================================================================
--- /trunk/machine/SOLEIL/common/uigetdate.m	(revision 17)
+++ /trunk/machine/SOLEIL/common/uigetdate.m	(revision 17)
@@ -0,0 +1,234 @@
+function out = uigetdate(varargin)
+% UIGETDATE  date selection dialog box
+%    T = UIGETDATE(D) displays a dialog box in form of a calendar 
+%    
+%    UIGETDATE expects serial date number or standard MATLAB Date 
+%    format (see DATESTR) as input data und returns serial date number 
+%    for the selected date and time.
+%
+%    UIGETDATE by itself uses the current date and time as input data
+%
+% Example:
+%         t = datestr( uigetdate('16-Aug-1974 03:00') )
+% 
+% See also datevec, datestr, datenum
+
+%   version: v1.0
+%   author:  Elmar Tarajan [MCommander@gmx.de]
+
+if nargin == 0
+   varargin{1} = now;
+end% if
+
+if ~ishandle(varargin{1})
+   %
+   datvec = datevec(varargin{1});
+   %
+   scr = get(0,'ScreenSize');
+   h.units = 'pixels';
+   h.parent = figure(h,'menubar','none', ...
+            'numbertitle','off', ...
+            'resize','off', ...
+            'handlevisibility','on', ...
+            'visible','off', ...            
+            'WindowStyle','modal', ...
+            'Tag','uigetdate', ...
+            'position',[ (scr(3:4)- [197 199])/2 197 199 ]);
+   %
+   pos = [5 5 0 0];
+   uicontrol(h,'style','edit','position',pos+[0 0 104 26])
+   uicontrol('style','slider','units','pixels','position',pos+[3 2 100 20], ...
+             'sliderstep',[.0005 .0005],'min',-10,'max',10,'value',0, ...
+             'callback','uigetdate(gcbo,''time'')','UserData',0)
+   %
+   h.style           = 'edit';
+   h.fontweight      = 'bold';
+   h.foregroundcolor = [.2 .2 .2];
+   uicontrol(h,'enable','inactive','position',pos+[ 17 2 73 20],'Tag','time', ...
+               'String',sprintf('%02d:%02d',datvec(4:5)))
+   %
+   % textbanners
+   tmp = [2 20 101 4 ; 2 2 101 3 ; 2 2 3 22 ; 17 2 2 22 ; 88 2 2 22 ; 101 2 2 22 ];
+   for i=1:6 ; uicontrol(h,'style','text','position',pos+tmp(i,:)) ; end% for
+   %
+   uicontrol(h,'style','edit','position',pos+[105 0 84 26],'visible','on')   
+   uicontrol(h,'style','pushbutton','position',pos+[108 2 78 21],'Tag','ok', ...
+               'CData',repmat(repmat([0.3:0.01:1 1:-0.01:0.3],18,1),[1 1 3]), ...
+               'string','ok','Callback','uigetdate(gcbo,''ok'')')
+   %
+   pos = [5 32 0 0];
+   uicontrol(h,'style','edit','position',pos+[0 0 189 136],'enable','inactive','Tag','cday', ...
+      'UserData',datvec(3))   
+   h.style      = 'pushbutton';
+   h.fontweight = 'normal';
+   for i=95:-19:0
+      for j=0:26:156
+         uicontrol(h,'position',pos+[j+3 i+2 27 20],'Enable','off', ...
+                     'foregroundcolor',[.2 .2 .2],'Tag','day', ...
+                     'callback','uigetdate(gcbo,''day'')')
+      end% for
+   end% for
+   %
+   tmp = {'Mon' 'Tue' 'Wed' 'Thu' 'Fri' 'Sat' 'Sun'};
+   for j=0:6
+      uicontrol(h,'style','text','position',pos+[j*26+4 119 25 13],'string',tmp{j+1}, ...
+                  'backgroundcolor',[0.4 0.4 0.4],'foregroundcolor',[.9 .9 .9])         
+   end% for
+   %
+   pos = [5 169 0 0];
+   uicontrol(h,'style','edit','position',pos+[0 0 189 26])
+   h.style = 'slider';
+   uicontrol(h,'position',pos+[3 2 100 20],'sliderstep',[0.00025 1], ...
+               'min',-2000,'max',2000,'Value',datvec(2), ...
+               'callback','uigetdate(gcbo,''months'')')
+   uicontrol(h,'position',pos+[112 2 74 20],'sliderstep',[0.00025 1], ...
+               'min',0,'max',4000,'value',datvec(1), ...
+               'callback','uigetdate(gcbo,''year'')')
+   %
+   h.style           = 'edit';
+   h.enable          = 'inactive';
+   h.fontweight      = 'bold';
+   h.foregroundcolor = [.2 .2 .2];
+   tmp = {'Januar' 'Februar' 'March' 'April' 'May' 'Juni' 'Juli' ...
+          'August' 'September' 'October' 'November' 'December'};
+   uicontrol(h,'position',pos+[ 17 2 73 20],'Tag','months','String',tmp{datvec(2)},'Userdata',tmp)
+   uicontrol(h,'position',pos+[126 2 47 20],'Tag','year','String',num2str(datvec(1)))
+   %
+   % textbanners
+   h.style = 'text';
+   tmp = [2 20 185 4 ; 2 2 185 3 ; 2 2 3 22 ; 17 2 2 22 ; 88 2 2 22 ; ...
+      101 2 13 22 ; 126 2 2 22 ; 171 2 2 22 ; 184 2 3 22];
+   for i=1:9
+      uicontrol(h,'position',pos+tmp(i,:))
+   end% for
+   %
+   set(h.parent,'visible','on')
+   setday(varargin{1})
+   %
+   set(findobj(gcf,'string',num2str(datvec(3))),'CData',geticon)
+   %
+   uiwait
+   try
+      out = datenum([num2str( ...
+               get(findobj(gcf,'Tag','cday'),'UserData')) '-' ...
+               get(findobj(gcf,'Tag','months'),'String') '-' ...
+               get(findobj(gcf,'Tag','year'),'String') ' ' ...
+               get(findobj(gcf,'Tag','time'),'String') ':00']);
+      delete(findobj(0,'Tag','uigetdate'))                       
+   catch
+      out = [];
+      closereq
+   end% try
+   
+   return
+end% if
+
+switch varargin{2}
+   case 'months'
+      h = findobj(gcbf,'Tag','months');
+      months = get(h,'UserData');
+      set(h,'String',months{mod(get(gcbo,'Value')-1,12)+1})
+      set(findobj(gcbf,'Tag','ok'),'Enable','off')      
+      %
+   case 'year'
+      set(findobj(gcbf,'Tag','year'),'String',get(gcbo,'Value'))
+      set(findobj(gcbf,'Tag','ok'),'Enable','off')
+      %
+   case 'day'
+      h= findobj(gcf,'Tag','day');
+      set(h,'CData',[])
+
+      set(varargin{1},'CData',geticon)
+      set(findobj(gcbf,'Tag','cday'),'Userdata',get(varargin{1},'String'))
+      set(findobj(gcbf,'Tag','ok'),'Enable','on')
+      try ; uicontrol(h(3)) ; end% try
+      return
+      %
+   case 'time'
+      try
+         if toc<0.1
+            step = get(gcbo,'UserData');
+            set(gcbo,'UserData',step+1)
+            step = floor(step*sign(get(gcbo,'value'))/2);
+         else
+            set(gcbo,'UserData',1)
+            step = sign(get(gcbo,'value'));
+            set(gcbo,'value',0)
+         end% if
+         %
+         handles.time = findobj(gcbf,'Tag','time');
+         time = sum(sscanf(get(handles.time,'String'),'%d:%d').*[60;1]);
+         time = time+step;
+         if time<0
+            time = 1439;
+         elseif time>1439
+            time = 0;
+         end% if
+         time = sprintf('%02.f:%02.f',floor(time/60),(time/60-floor(time/60))*60);
+         set(handles.time,'String',time)
+         %
+         tic
+         return
+      catch
+         tic
+      end% try
+      drawnow
+      %
+   case 'ok'
+      uiresume
+      return
+      %
+end% switch
+setday(['1-' get(findobj(gcbf,'Tag','months'),'String') '-' ...
+             get(findobj(gcbf,'Tag','year'),'String')])
+  %
+  %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+function setday(datvec)
+%-------------------------------------------------------------------------------
+datvec = datevec(datvec);
+datvec(3) = 1;
+%
+day = [7 1 2 3 4 5 6];
+day = day(weekday(datestr(datvec)));
+%
+monthend = eomday(datvec(1),datvec(2));
+%
+ind = [zeros(1,42-monthend-day+1) monthend:-1:1 zeros(1,day-1)];
+%
+enable = repmat({'on'},42,1);
+enable(ind==0) = {'off'};
+%
+count = strrep(strrep(cellstr(num2str(ind')),' 0',''),' ','');
+%
+h = findobj(gcf,'Tag','day');
+set(h,{'String'},count,{'Enable'},enable,'backgroundcolor',[0.7 0.7 0.7],'CData',[])
+set(h(ind~=0),'backgroundcolor',[.925 .922 .9002]);
+set(h(ind~=0&repmat([1 1 0 0 0 0 0],1,6)),'backgroundcolor',[1 .8 .8])
+  %
+  %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+function icon = geticon
+%-------------------------------------------------------------------------------
+tmp = [0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ;
+       0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 ; ...
+       0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 1 1 ; ...
+       1 1 0 0 0 0 1 1 1 1 1 0 0 0 1 1 1 ; ...
+       1 1 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 ; ...
+       1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 ; ...
+       1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 ; ...
+       1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 ; ...
+       1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 ; ...
+       1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 ; ...
+       1 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1 ; ...
+       0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 1 1 ; ...
+       0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 1 ; ...
+       0 0 0 1 1 1 1 1 1 1 1 1 0 0 0 0 1 ; ...
+       1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 ];
+tmp(tmp==1)=NaN;
+tmp(tmp==0)=1;
+icon(:,:,1) = tmp;
+tmp(tmp==1)=0.25;
+icon(:,:,2) = tmp;
+tmp(tmp==.25)=0;
+icon(:,:,3) = tmp;
Index: /trunk/machine/SOLEIL/doc_html/doxysearch.php
===================================================================
--- /trunk/machine/SOLEIL/doc_html/doxysearch.php	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/doxysearch.php	(revision 17)
@@ -0,0 +1,329 @@
+<?php
+/******************************************************************************
+ *
+ * $Id:$
+ *
+ * Copyright (C) 1997-2003 by Dimitri van Heesch.
+ *
+ * Permission to use, copy, modify, and distribute this software and its
+ * documentation under the terms of the GNU General Public License is hereby 
+ * granted. No representations are made about the suitability of this software 
+ * for any purpose. It is provided "as is" without express or implied warranty.
+ * See the GNU General Public License for more details.
+ *
+ */
+
+function readInt($file)
+{
+  $b1 = ord(fgetc($file)); $b2 = ord(fgetc($file));
+  $b3 = ord(fgetc($file)); $b4 = ord(fgetc($file));
+  return ($b1<<24)|($b2<<16)|($b3<<8)|$b4;
+}
+
+function readString($file)
+{
+  $result="";
+  while (ord($c=fgetc($file))) $result.=$c;
+  return $result;
+}
+
+function readHeader($file)
+{
+    $header =fgetc($file); $header.=fgetc($file);
+    $header.=fgetc($file); $header.=fgetc($file);
+    return $header;
+}
+
+function computeIndex($word)
+{
+  if (strlen($word)<2) return -1;
+  // high char of the index
+  $hi = ord($word{0});
+  if ($hi==0) return -1;
+  // low char of the index
+  $lo = ord($word{1});
+  if ($lo==0) return -1;
+  // return index
+  return $hi*256+$lo;
+}
+
+function search($file,$word,&$statsList)
+{
+  $index = computeIndex($word);
+  if ($index!=-1) // found a valid index
+  {
+    fseek($file,$index*4+4); // 4 bytes per entry, skip header
+    $index = readInt($file);
+    if ($index) // found words matching first two characters
+    {
+      $start=sizeof($statsList);
+      $count=$start;
+      fseek($file,$index);
+      $w = readString($file);
+      while ($w)
+      {
+        $statIdx = readInt($file);
+        if ($word==substr($w,0,strlen($word)))
+        { // found word that matches (as substring)
+          $statsList[$count++]=array(
+              "word"=>$word,
+              "match"=>$w,
+              "index"=>$statIdx,
+              "full"=>strlen($w)==strlen($word),
+              "docs"=>array()
+              );
+        }
+        $w = readString($file);
+      }
+      $totalFreq=0;
+      for ($count=$start;$count<sizeof($statsList);$count++)
+      {
+        $statInfo = &$statsList[$count];
+        fseek($file,$statInfo["index"]); 
+        $numDocs = readInt($file);
+        $docInfo = array();
+        // read docs info + occurrence frequency of the word
+        for ($i=0;$i<$numDocs;$i++)
+        {
+          $idx=readInt($file); 
+          $freq=readInt($file); 
+          $docInfo[$i]=array("idx"=>$idx,"freq"=>$freq,"rank"=>0.0);
+          $totalFreq+=$freq;
+          if ($statInfo["full"]) $totalfreq+=$freq;
+        }
+        // read name an url info for the doc
+        for ($i=0;$i<$numDocs;$i++)
+        {
+          fseek($file,$docInfo[$i]["idx"]);
+          $docInfo[$i]["name"]=readString($file);
+          $docInfo[$i]["url"]=readString($file);
+        }
+        $statInfo["docs"]=$docInfo;
+      }
+      for ($count=$start;$count<sizeof($statsList);$count++)
+      {
+        $statInfo = &$statsList[$count];
+        for ($i=0;$i<sizeof($statInfo["docs"]);$i++)
+        {
+          $docInfo = &$statInfo["docs"];
+          // compute frequency rank of the word in each doc
+          $statInfo["docs"][$i]["rank"]=
+            (float)$docInfo[$i]["freq"]/$totalFreq;
+        }
+      }
+    }
+  }
+  return $statsList;
+}
+
+function combine_results($results,&$docs)
+{
+  foreach ($results as $wordInfo)
+  {
+    $docsList = &$wordInfo["docs"];
+    foreach ($docsList as $di)
+    {
+      $key=$di["url"];
+      $rank=$di["rank"];
+      if (in_array($key, array_keys($docs)))
+      {
+        $docs[$key]["rank"]+=$rank;
+        $docs[$key]["rank"]*=2; // multiple matches increases rank 
+      }
+      else
+      {
+        $docs[$key] = array("url"=>$key,
+            "name"=>$di["name"],
+            "rank"=>$rank
+            );
+      }
+      $docs[$key]["words"][] = array(
+               "word"=>$wordInfo["word"],
+               "match"=>$wordInfo["match"],
+               "freq"=>$di["freq"]
+               );
+    }
+  }
+  return $docs;
+}
+
+function normalize_ranking(&$docs)
+{
+  $maxRank = 0.0000001;
+  // compute maximal rank
+  foreach ($docs as $doc) 
+  {
+    if ($doc["rank"]>$maxRank)
+    {
+      $maxRank=$doc["rank"];
+    }
+  }
+  reset($docs);
+  // normalize rankings
+  while (list ($key, $val) = each ($docs)) 
+  {
+    $docs[$key]["rank"]*=100/$maxRank;
+  }
+}
+
+function filter_results($docs,&$requiredWords,&$forbiddenWords)
+{
+  $filteredDocs=array();
+  while (list ($key, $val) = each ($docs)) 
+  {
+    $words = &$docs[$key]["words"];
+    $copy=1; // copy entry by default
+    if (sizeof($requiredWords)>0)
+    {
+      foreach ($requiredWords as $reqWord)
+      {
+        $found=0;
+        foreach ($words as $wordInfo)
+        { 
+          $found = $wordInfo["word"]==$reqWord;
+          if ($found) break;
+        }
+        if (!$found) 
+        {
+          $copy=0; // document contains none of the required words
+          break;
+        }
+      }
+    }
+    if (sizeof($forbiddenWords)>0)
+    {
+      foreach ($words as $wordInfo)
+      {
+        if (in_array($wordInfo["word"],$forbiddenWords))
+        {
+          $copy=0; // document contains a forbidden word
+          break;
+        }
+      }
+    }
+    if ($copy) $filteredDocs[$key]=$docs[$key];
+  }
+  return $filteredDocs;
+}
+
+function compare_rank($a,$b)
+{
+  return ($a["rank"]>$b["rank"]) ? -1 : 1; 
+}
+
+function sort_results($docs,&$sorted)
+{
+  $sorted = $docs;
+  usort($sorted,"compare_rank");
+  return $sorted;
+}
+
+function report_results(&$docs)
+{
+  echo "<table cellspacing=\"2\">\n";
+  echo "  <tr>\n";
+  echo "    <td colspan=\"2\"><h2>Search Results</h2></td>\n";
+  echo "  </tr>\n";
+  $numDocs = sizeof($docs);
+  if ($numDocs==0)
+  {
+    echo "  <tr>\n";
+    echo "    <td colspan=\"2\">".matches_text(0)."</td>\n";
+    echo "  </tr>\n";
+  }
+  else
+  {
+    echo "  <tr>\n";
+    echo "    <td colspan=\"2\">".matches_text($numDocs);
+    echo "\n";
+    echo "    </td>\n";
+    echo "  </tr>\n";
+    $num=1;
+    foreach ($docs as $doc)
+    {
+      echo "  <tr>\n";
+      echo "    <td align=\"right\">$num.</td>";
+      echo     "<td><a class=\"el\" href=\"".$doc["url"]."\">".$doc["name"]."</a></td>\n";
+      echo "  <tr>\n";
+      echo "    <td></td><td class=\"tiny\">Matches: ";
+      foreach ($doc["words"] as $wordInfo)
+      {
+        $word = $wordInfo["word"];
+        $matchRight = substr($wordInfo["match"],strlen($word));
+        echo "<b>$word</b>$matchRight(".$wordInfo["freq"].") ";
+      }
+      echo "    </td>\n";
+      echo "  </tr>\n";
+      $num++;
+    }
+  }
+  echo "</table>\n";
+}
+
+function matches_text($num)
+{
+  if ($num==0)
+  {
+    return 'Sorry, no documents matching your query.';
+  }
+  else if ($num==1)
+  {
+    return 'Found 1 document matching your query.';
+  }
+  else // $num>1
+  {
+    return 'Found '.$num.' documents matching your query. Showing best matches first.';
+  }
+}
+
+function main($idxfile)
+{
+  if(strcmp('4.1.0', phpversion()) > 0) 
+  {
+    die("Error: PHP version 4.1.0 or above required!");
+  }
+  if (!($file=fopen($idxfile,"rb"))) 
+  {
+    die("Error: Search index file could NOT be opened!");
+  }
+  if (readHeader($file)!="DOXS")
+  {
+    die("Error: Header of index file is invalid!");
+  }
+  $query="";
+  if (array_key_exists("query", $_GET))
+  {
+    $query=$_GET["query"];
+  }
+  $results = array();
+  $requiredWords = array();
+  $forbiddenWords = array();
+  $foundWords = array();
+  $word=strtolower(strtok($query," "));
+  while ($word) // for each word in the search query
+  {
+    if (($word{0}=='+')) { $word=substr($word,1); $requiredWords[]=$word; }
+    if (($word{0}=='-')) { $word=substr($word,1); $forbiddenWords[]=$word; }
+    if (!in_array($word,$foundWords))
+    {
+      $foundWords[]=$word;
+      search($file,$word,$results);
+    }
+    $word=strtolower(strtok(" "));
+  }
+  $docs = array();
+  combine_results($results,$docs);
+  // filter out documents with forbidden word or that do not contain
+  // required words
+  $filteredDocs = filter_results($docs,$requiredWords,$forbiddenWords);
+  // normalize rankings so they are in the range [0-100]
+  normalize_ranking($filteredDocs);
+  // sort the results based on rank
+  $sorted = array();
+  sort_results($filteredDocs,$sorted);
+  // report results to the user
+  report_results($sorted);
+  fclose($file);
+}
+
+?>
Index: /trunk/machine/SOLEIL/doc_html/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/index.html	(revision 17)
@@ -0,0 +1,73 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Matlab Index</title>
+  <meta name="keywords" content="machine/Soleil/Booster machine/Soleil/LT1 machine/Soleil/LT2 machine/Soleil/StorageRing machine/Soleil/common machine/Soleil/common/archiving machine/Soleil/common/configurations machine/Soleil/common/cycling machine/Soleil/common/database machine/Soleil/common/naff/nafflib machine/Soleil/common/naff/naffutils machine/Soleil/common/naff/naffutils/touscheklifetime machine/Soleil/common/plotfamily machine/Soleil/common/synchro">
+  <meta name="description" content="machine/Soleil/Booster machine/Soleil/LT1 machine/Soleil/LT2 machine/Soleil/StorageRing machine/Soleil/common machine/Soleil/common/archiving machine/Soleil/common/configurations machine/Soleil/common/cycling machine/Soleil/common/database machine/Soleil/common/naff/nafflib machine/Soleil/common/naff/naffutils machine/Soleil/common/naff/naffutils/touscheklifetime machine/Soleil/common/plotfamily machine/Soleil/common/synchro">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="./m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<h1>Matlab Index</h1>
+<h2>Matlab Directories</h2>
+<ul style="list-style-image:url(./matlabicon.gif)">
+<li><a href="machine/Soleil/Booster/index.html">machine/Soleil/Booster</a></li><li><a href="machine/Soleil/LT1/index.html">machine/Soleil/LT1</a></li><li><a href="machine/Soleil/LT2/index.html">machine/Soleil/LT2</a></li><li><a href="machine/Soleil/StorageRing/index.html">machine/Soleil/StorageRing</a></li><li><a href="machine/Soleil/common/index.html">machine/Soleil/common</a></li><li><a href="machine/Soleil/common/archiving/index.html">machine/Soleil/common/archiving</a></li><li><a href="machine/Soleil/common/configurations/index.html">machine/Soleil/common/configurations</a></li><li><a href="machine/Soleil/common/cycling/index.html">machine/Soleil/common/cycling</a></li><li><a href="machine/Soleil/common/database/index.html">machine/Soleil/common/database</a></li><li><a href="machine/Soleil/common/naff/nafflib/index.html">machine/Soleil/common/naff/nafflib</a></li><li><a href="machine/Soleil/common/naff/naffutils/index.html">machine/Soleil/common/naff/naffutils</a></li><li><a href="machine/Soleil/common/naff/naffutils/touscheklifetime/index.html">machine/Soleil/common/naff/naffutils/touscheklifetime</a></li><li><a href="machine/Soleil/common/plotfamily/index.html">machine/Soleil/common/plotfamily</a></li><li><a href="machine/Soleil/common/synchro/index.html">machine/Soleil/common/synchro</a></li></ul>
+<h2>Matlab Files found in these Directories</h2>
+<table width="100%">
+		<tr>
+				<td><a href="machine/Soleil/common/naff/naffutils/touscheklifetime/Calc_Tous.html" title="machine/Soleil/common/naff/naffutils/touscheklifetime">Calc_Tous</a></td>		<td><a href="machine/Soleil/common/synchro/get_start_clk.html" title="machine/Soleil/common/synchro">get_start_clk</a></td>		<td><a href="machine/Soleil/StorageRing/physics_synchronousphase.html" title="machine/Soleil/StorageRing">physics_synchronousphase</a></td>		<td><a href="machine/Soleil/StorageRing/soleilcorcheck.html" title="machine/Soleil/StorageRing">soleilcorcheck</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/archiving/Contents.html" title="machine/Soleil/common/archiving">Contents</a></td>		<td><a href="machine/Soleil/common/synchro/get_synchro.html" title="machine/Soleil/common/synchro">get_synchro</a></td>		<td><a href="machine/Soleil/StorageRing/physics_synchrotrontune.html" title="machine/Soleil/StorageRing">physics_synchrotrontune</a></td>		<td><a href="machine/Soleil/StorageRing/soleilinit.html" title="machine/Soleil/StorageRing">soleilinit</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/naff/nafflib/Contents.html" title="machine/Soleil/common/naff/nafflib">Contents</a></td>		<td><a href="machine/Soleil/StorageRing/getall.html" title="machine/Soleil/StorageRing">getall</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plot_fmap.html" title="machine/Soleil/common/naff/naffutils">plot_fmap</a></td>		<td><a href="machine/Soleil/StorageRing/srinit.html" title="machine/Soleil/StorageRing">srinit</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/naff/naffutils/touscheklifetime/Cxi.html" title="machine/Soleil/common/naff/naffutils/touscheklifetime">Cxi</a></td>		<td><a href="machine/Soleil/Booster/getbpmBN.html" title="machine/Soleil/Booster">getbpmBN</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plot_fmapdp.html" title="machine/Soleil/common/naff/naffutils">plot_fmapdp</a></td>		<td><a href="machine/Soleil/StorageRing/srsetup.html" title="machine/Soleil/StorageRing">srsetup</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/LT1/LT1cycling.html" title="machine/Soleil/LT1">LT1cycling</a></td>		<td><a href="machine/Soleil/common/getbpmrawdata.html" title="machine/Soleil/common">getbpmrawdata</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plot_fmapdp6D.html" title="machine/Soleil/common/naff/naffutils">plot_fmapdp6D</a></td>		<td><a href="machine/Soleil/StorageRing/srsetup_op.html" title="machine/Soleil/StorageRing">srsetup_op</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/LT1/LT1init.html" title="machine/Soleil/LT1">LT1init</a></td>		<td><a href="machine/Soleil/StorageRing/getbpmrawdata_mat.html" title="machine/Soleil/StorageRing">getbpmrawdata_mat</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plot_reson.html" title="machine/Soleil/common/naff/naffutils">plot_reson</a></td>		<td><a href="machine/Soleil/common/synchro/start_3Hz.html" title="machine/Soleil/common/synchro">start_3Hz</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/LT1/LT1setup.html" title="machine/Soleil/LT1">LT1setup</a></td>		<td><a href="machine/Soleil/common/synchro/getcharge.html" title="machine/Soleil/common/synchro">getcharge</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plotchamberT.html" title="machine/Soleil/common/naff/naffutils">plotchamberT</a></td>		<td><a href="machine/Soleil/common/synchro/start_soft.html" title="machine/Soleil/common/synchro">start_soft</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/LT2/LT2init.html" title="machine/Soleil/LT2">LT2init</a></td>		<td><a href="machine/Soleil/common/cycling/getcyclecurve.html" title="machine/Soleil/common/cycling">getcyclecurve</a></td>		<td><a href="machine/Soleil/common/cycling/plotcyclingcurve.html" title="machine/Soleil/common/cycling">plotcyclingcurve</a></td>		<td><a href="machine/Soleil/common/synchro/state_txt.html" title="machine/Soleil/common/synchro">state_txt</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/LT2/LT2setup.html" title="machine/Soleil/LT2">LT2setup</a></td>		<td><a href="machine/Soleil/common/getfamilytype.html" title="machine/Soleil/common">getfamilytype</a></td>		<td><a href="machine/Soleil/common/plotfamily/plotfamily.html" title="machine/Soleil/common/plotfamily">plotfamily</a></td>		<td><a href="machine/Soleil/common/synchro/step.html" title="machine/Soleil/common/synchro">step</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/StorageRing/Ringcycling.html" title="machine/Soleil/StorageRing">Ringcycling</a></td>		<td><a href="machine/Soleil/StorageRing/getlifetime.html" title="machine/Soleil/StorageRing">getlifetime</a></td>		<td><a href="machine/Soleil/StorageRing/plotidfftable2.html" title="machine/Soleil/StorageRing">plotidfftable2</a></td>		<td><a href="machine/Soleil/common/synchro/stop_3Hz.html" title="machine/Soleil/common/synchro">stop_3Hz</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/synchro/Synchronisationsetup.html" title="machine/Soleil/common/synchro">Synchronisationsetup</a></td>		<td><a href="machine/Soleil/common/getmaxsp.html" title="machine/Soleil/common">getmaxsp</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plotnudpT.html" title="machine/Soleil/common/naff/naffutils">plotnudpT</a></td>		<td><a href="machine/Soleil/common/synchro/swap_delais.html" title="machine/Soleil/common/synchro">swap_delais</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/database/adddevice.html" title="machine/Soleil/common/database">adddevice</a></td>		<td><a href="machine/Soleil/Booster/getmeanorbit.html" title="machine/Soleil/Booster">getmeanorbit</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plotnudxT.html" title="machine/Soleil/common/naff/naffutils">plotnudxT</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_70ns.html" title="machine/Soleil/common/synchro">synchro_70ns</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/amp2k.html" title="machine/Soleil/common">amp2k</a></td>		<td><a href="machine/Soleil/common/getminsp.html" title="machine/Soleil/common">getminsp</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plottwissT.html" title="machine/Soleil/common/naff/naffutils">plottwissT</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_depannage.html" title="machine/Soleil/common/synchro">synchro_depannage</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/Booster/aoinit.html" title="machine/Soleil/Booster">aoinit</a></td>		<td><a href="machine/Soleil/Booster/getnu.html" title="machine/Soleil/Booster">getnu</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/plusprochereson.html" title="machine/Soleil/common/naff/naffutils">plusprochereson</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_injecteur.html" title="machine/Soleil/common/synchro">synchro_injecteur</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/LT1/aoinit.html" title="machine/Soleil/LT1">aoinit</a></td>		<td><a href="machine/Soleil/Booster/getrframp.html" title="machine/Soleil/Booster">getrframp</a></td>		<td><a href="machine/Soleil/StorageRing/profibus_sync.html" title="machine/Soleil/StorageRing">profibus_sync</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_injecteur1.html" title="machine/Soleil/common/synchro">synchro_injecteur1</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/LT2/aoinit.html" title="machine/Soleil/LT2">aoinit</a></td>		<td><a href="machine/Soleil/Booster/getrframp2.html" title="machine/Soleil/Booster">getrframp2</a></td>		<td><a href="machine/Soleil/StorageRing/profibus_unsyncall.html" title="machine/Soleil/StorageRing">profibus_unsyncall</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_injecteur2.html" title="machine/Soleil/common/synchro">synchro_injecteur2</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/StorageRing/aoinit.html" title="machine/Soleil/StorageRing">aoinit</a></td>		<td><a href="machine/Soleil/StorageRing/getrmn.html" title="machine/Soleil/StorageRing">getrmn</a></td>		<td><a href="machine/Soleil/common/synchro/qart_inject.html" title="machine/Soleil/common/synchro">qart_inject</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_injecteur3.html" title="machine/Soleil/common/synchro">synchro_injecteur3</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/archiving/archiving_panel_mode.html" title="machine/Soleil/common/archiving">archiving_panel_mode</a></td>		<td><a href="machine/Soleil/Booster/gettrackingdata.html" title="machine/Soleil/Booster">gettrackingdata</a></td>		<td><a href="machine/Soleil/common/synchro/quart_inject.html" title="machine/Soleil/common/synchro">quart_inject</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_injecteur4.html" title="machine/Soleil/common/synchro">synchro_injecteur4</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/archiving/arplot.html" title="machine/Soleil/common/archiving">arplot</a></td>		<td><a href="machine/Soleil/Booster/gettrackinghall.html" title="machine/Soleil/Booster">gettrackinghall</a></td>		<td><a href="machine/Soleil/StorageRing/rampdownsextu.html" title="machine/Soleil/StorageRing">rampdownsextu</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_injecteur5.html" title="machine/Soleil/common/synchro">synchro_injecteur5</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/archiving/arread.html" title="machine/Soleil/common/archiving">arread</a></td>		<td><a href="machine/Soleil/common/gev2bend.html" title="machine/Soleil/common">gev2bend</a></td>		<td><a href="machine/Soleil/StorageRing/readSOLEILresponse.html" title="machine/Soleil/StorageRing">readSOLEILresponse</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_injecteur6.html" title="machine/Soleil/common/synchro">synchro_injecteur6</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/bend2gev.html" title="machine/Soleil/common">bend2gev</a></td>		<td><a href="machine/Soleil/StorageRing/hwinit.html" title="machine/Soleil/StorageRing">hwinit</a></td>		<td><a href="machine/Soleil/Booster/readbpm.html" title="machine/Soleil/Booster">readbpm</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_injecteur7.html" title="machine/Soleil/common/synchro">synchro_injecteur7</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/Booster/boosterinit.html" title="machine/Soleil/Booster">boosterinit</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/ind_amplitude.html" title="machine/Soleil/common/naff/naffutils">ind_amplitude</a></td>		<td><a href="machine/Soleil/Booster/readramp3Hz.html" title="machine/Soleil/Booster">readramp3Hz</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_mode_tests.html" title="machine/Soleil/common/synchro">synchro_mode_tests</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/Booster/boostersetup.html" title="machine/Soleil/Booster">boostersetup</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/ind_amplitude6D.html" title="machine/Soleil/common/naff/naffutils">ind_amplitude6D</a></td>		<td><a href="machine/Soleil/common/database/register_vide.html" title="machine/Soleil/common/database">register_vide</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_survey.html" title="machine/Soleil/common/synchro">synchro_survey</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/bpmconfigurator.html" title="machine/Soleil/common">bpmconfigurator</a></td>		<td><a href="machine/Soleil/common/iscontrolroom.html" title="machine/Soleil/common">iscontrolroom</a></td>		<td><a href="machine/Soleil/StorageRing/reglage_pos_energie_v3.html" title="machine/Soleil/StorageRing">reglage_pos_energie_v3</a></td>		<td><a href="machine/Soleil/common/synchro/synchro_table.html" title="machine/Soleil/common/synchro">synchro_table</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/synchro/bucketnumber.html" title="machine/Soleil/common/synchro">bucketnumber</a></td>		<td><a href="machine/Soleil/common/k2amp.html" title="machine/Soleil/common">k2amp</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/reson.html" title="machine/Soleil/common/naff/naffutils">reson</a></td>		<td><a href="machine/Soleil/common/synchro/tablesynchro.html" title="machine/Soleil/common/synchro">tablesynchro</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/naff/nafflib/calcnaff.html" title="machine/Soleil/common/naff/nafflib">calcnaff</a></td>		<td><a href="machine/Soleil/common/database/learn_tangodb.html" title="machine/Soleil/common/database">learn_tangodb</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/resongui.html" title="machine/Soleil/common/naff/naffutils">resongui</a></td>		<td><a href="machine/Soleil/common/archiving/tango_archiving_config.html" title="machine/Soleil/common/archiving">tango_archiving_config</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/cap.html" title="machine/Soleil/common">cap</a></td>		<td><a href="machine/Soleil/common/synchro/linac.html" title="machine/Soleil/common/synchro">linac</a></td>		<td><a href="machine/Soleil/common/synchro/retour_update.html" title="machine/Soleil/common/synchro">retour_update</a></td>		<td><a href="machine/Soleil/common/archiving/tango_extract.html" title="machine/Soleil/common/archiving">tango_extract</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/Booster/configBPMgui.html" title="machine/Soleil/Booster">configBPMgui</a></td>		<td><a href="machine/Soleil/common/listfonction.html" title="machine/Soleil/common">listfonction</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump.html" title="machine/Soleil/common/synchro">set_bump</a></td>		<td><a href="machine/Soleil/common/database/tango_staticdb_config.html" title="machine/Soleil/common/database">tango_staticdb_config</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/cycling/config_dserver_cyclage.html" title="machine/Soleil/common/cycling">config_dserver_cyclage</a></td>		<td><a href="machine/Soleil/common/synchro/load_synchro.html" title="machine/Soleil/common/synchro">load_synchro</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump0.html" title="machine/Soleil/common/synchro">set_bump0</a></td>		<td><a href="machine/Soleil/common/synchro/test1.html" title="machine/Soleil/common/synchro">test1</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/database/config_tango_dbds.html" title="machine/Soleil/common/database">config_tango_dbds</a></td>		<td><a href="machine/Soleil/common/synchro/load_table.html" title="machine/Soleil/common/synchro">load_table</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump1.html" title="machine/Soleil/common/synchro">set_bump1</a></td>		<td><a href="machine/Soleil/common/synchro/test_button.html" title="machine/Soleil/common/synchro">test_button</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/cycling/configcyclecurve.html" title="machine/Soleil/common/cycling">configcyclecurve</a></td>		<td><a href="machine/Soleil/common/magnetcoefficients.html" title="machine/Soleil/common">magnetcoefficients</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump2.html" title="machine/Soleil/common/synchro">set_bump2</a></td>		<td><a href="machine/Soleil/common/synchro/test_kicker.html" title="machine/Soleil/common/synchro">test_kicker</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/configurations/configgui.html" title="machine/Soleil/common/configurations">configgui</a></td>		<td><a href="machine/Soleil/Booster/magnetcoefficients4booster.html" title="machine/Soleil/Booster">magnetcoefficients4booster</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump3.html" title="machine/Soleil/common/synchro">set_bump3</a></td>		<td><a href="machine/Soleil/common/synchro/test_kicker1.html" title="machine/Soleil/common/synchro">test_kicker1</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/database/configparser.html" title="machine/Soleil/common/database">configparser</a></td>		<td><a href="machine/Soleil/common/magnetcoefficients_copie.html" title="machine/Soleil/common">magnetcoefficients_copie</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump4.html" title="machine/Soleil/common/synchro">set_bump4</a></td>		<td><a href="machine/Soleil/common/synchro/test_kicker2.html" title="machine/Soleil/common/synchro">test_kicker2</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/database/configparser_fn.html" title="machine/Soleil/common/database">configparser_fn</a></td>		<td><a href="machine/Soleil/common/magnetcoefficients_pascale_11-09-06.html" title="machine/Soleil/common">magnetcoefficients_pascale_11-09-06</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump5.html" title="machine/Soleil/common/synchro">set_bump5</a></td>		<td><a href="machine/Soleil/StorageRing/test_life.html" title="machine/Soleil/StorageRing">test_life</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/cycling/createcyclecurve.html" title="machine/Soleil/common/cycling">createcyclecurve</a></td>		<td><a href="machine/Soleil/common/magnetcoefficients_sauve_11-09-06.html" title="machine/Soleil/common">magnetcoefficients_sauve_11-09-06</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump6.html" title="machine/Soleil/common/synchro">set_bump6</a></td>		<td><a href="machine/Soleil/common/synchro/test_stop_start.html" title="machine/Soleil/common/synchro">test_stop_start</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/cycling/createcyclecurvefull.html" title="machine/Soleil/common/cycling">createcyclecurvefull</a></td>		<td><a href="machine/Soleil/common/cycling/magnetcycle.html" title="machine/Soleil/common/cycling">magnetcycle</a></td>		<td><a href="machine/Soleil/common/synchro/set_bump7.html" title="machine/Soleil/common/synchro">set_bump7</a></td>		<td><a href="machine/Soleil/common/synchro/time-inject.html" title="machine/Soleil/common/synchro">time-inject</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/cycling/cyclingcommand.html" title="machine/Soleil/common/cycling">cyclingcommand</a></td>		<td><a href="machine/Soleil/Booster/meas_chro_boo.html" title="machine/Soleil/Booster">meas_chro_boo</a></td>		<td><a href="machine/Soleil/common/cycling/setcyclecurve.html" title="machine/Soleil/common/cycling">setcyclecurve</a></td>		<td><a href="machine/Soleil/common/synchro/time_inject.html" title="machine/Soleil/common/synchro">time_inject</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/naff/naffutils/datalabel.html" title="machine/Soleil/common/naff/naffutils">datalabel</a></td>		<td><a href="machine/Soleil/StorageRing/measchronat.html" title="machine/Soleil/StorageRing">measchronat</a></td>		<td><a href="machine/Soleil/Booster/setoperationalmode.html" title="machine/Soleil/Booster">setoperationalmode</a></td>		<td><a href="machine/Soleil/common/synchro/timinggui.html" title="machine/Soleil/common/synchro">timinggui</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/naff/naffutils/dist_point_droite.html" title="machine/Soleil/common/naff/naffutils">dist_point_droite</a></td>		<td><a href="machine/Soleil/common/measrate.html" title="machine/Soleil/common">measrate</a></td>		<td><a href="machine/Soleil/LT1/setoperationalmode.html" title="machine/Soleil/LT1">setoperationalmode</a></td>		<td><a href="machine/Soleil/common/synchro/timinggui_div.html" title="machine/Soleil/common/synchro">timinggui_div</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/archiving/exemple_extractor.html" title="machine/Soleil/common/archiving">exemple_extractor</a></td>		<td><a href="machine/Soleil/StorageRing/modelemit.html" title="machine/Soleil/StorageRing">modelemit</a></td>		<td><a href="machine/Soleil/LT2/setoperationalmode.html" title="machine/Soleil/LT2">setoperationalmode</a></td>		<td><a href="machine/Soleil/common/configurations/tunemml.html" title="machine/Soleil/common/configurations">tunemml</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/LT1/fae_timer_enattente.html" title="machine/Soleil/LT1">fae_timer_enattente</a></td>		<td><a href="machine/Soleil/common/naff/nafflib/naff_cc.html" title="machine/Soleil/common/naff/nafflib">naff_cc</a></td>		<td><a href="machine/Soleil/StorageRing/setoperationalmode.html" title="machine/Soleil/StorageRing">setoperationalmode</a></td>		<td><a href="machine/Soleil/LT1/twiss_parameters_entry.html" title="machine/Soleil/LT1">twiss_parameters_entry</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/family2devcell.html" title="machine/Soleil/common">family2devcell</a></td>		<td><a href="machine/Soleil/common/naff/nafflib/naff_example.html" title="machine/Soleil/common/naff/nafflib">naff_example</a></td>		<td><a href="machine/Soleil/StorageRing/setorbitdefault.html" title="machine/Soleil/StorageRing">setorbitdefault</a></td>		<td><a href="machine/Soleil/Booster/updateatindex.html" title="machine/Soleil/Booster">updateatindex</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/family2elem.html" title="machine/Soleil/common">family2elem</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/naffgui.html" title="machine/Soleil/common/naff/naffutils">naffgui</a></td>		<td><a href="machine/Soleil/common/setrange.html" title="machine/Soleil/common">setrange</a></td>		<td><a href="machine/Soleil/LT1/updateatindex.html" title="machine/Soleil/LT1">updateatindex</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/findkeyword2.html" title="machine/Soleil/common">findkeyword2</a></td>		<td><a href="machine/Soleil/common/optics_LT1_LT2.html" title="machine/Soleil/common">optics_LT1_LT2</a></td>		<td><a href="machine/Soleil/Booster/setrframp.html" title="machine/Soleil/Booster">setrframp</a></td>		<td><a href="machine/Soleil/LT2/updateatindex.html" title="machine/Soleil/LT2">updateatindex</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/synchro/fix_quart.html" title="machine/Soleil/common/synchro">fix_quart</a></td>		<td><a href="machine/Soleil/StorageRing/physics_RFacceptance.html" title="machine/Soleil/StorageRing">physics_RFacceptance</a></td>		<td><a href="machine/Soleil/Booster/setrframp2.html" title="machine/Soleil/Booster">setrframp2</a></td>		<td><a href="machine/Soleil/StorageRing/updateatindex.html" title="machine/Soleil/StorageRing">updateatindex</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/naff/naffutils/fmap_select.html" title="machine/Soleil/common/naff/naffutils">fmap_select</a></td>		<td><a href="machine/Soleil/StorageRing/physics_booster.html" title="machine/Soleil/StorageRing">physics_booster</a></td>		<td><a href="machine/Soleil/common/configurations/showconfiguration.html" title="machine/Soleil/common/configurations">showconfiguration</a></td>		<td><a href="machine/Soleil/Booster/writeramp3Hz.html" title="machine/Soleil/Booster">writeramp3Hz</a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/naff/naffutils/fmap_solamor2.html" title="machine/Soleil/common/naff/naffutils">fmap_solamor2</a></td>		<td><a href="machine/Soleil/StorageRing/physics_bunchlength.html" title="machine/Soleil/StorageRing">physics_bunchlength</a></td>		<td><a href="machine/Soleil/common/naff/naffutils/showresongui.html" title="machine/Soleil/common/naff/naffutils">showresongui</a></td>		<td><a href="" title=""></a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/naff/naffutils/fmap_soleilnu.html" title="machine/Soleil/common/naff/naffutils">fmap_soleilnu</a></td>		<td><a href="machine/Soleil/StorageRing/physics_energyloss.html" title="machine/Soleil/StorageRing">physics_energyloss</a></td>		<td><a href="machine/Soleil/common/synchro/soft_event.html" title="machine/Soleil/common/synchro">soft_event</a></td>		<td><a href="" title=""></a></td>	</tr>	<tr>
+				<td><a href="machine/Soleil/common/database/format_output_list.html" title="machine/Soleil/common/database">format_output_list</a></td>		<td><a href="machine/Soleil/StorageRing/physics_quantumlifetime.html" title="machine/Soleil/StorageRing">physics_quantumlifetime</a></td>		<td><a href="machine/Soleil/common/synchro/softsynchro.html" title="machine/Soleil/common/synchro">softsynchro</a></td>		<td><a href="" title=""></a></td>	</tr></table>
+<hr><address>Generated on Mon 21-May-2007 15:35:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/m2html.css
===================================================================
--- /trunk/machine/SOLEIL/doc_html/m2html.css	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/m2html.css	(revision 17)
@@ -0,0 +1,75 @@
+body {
+  background: white;
+  color: black;
+  font-family: arial,sans-serif;
+  margin: 0;
+  padding: 1ex;
+}
+
+div.fragment { 
+	width: 98%;
+	border: 1px solid #CCCCCC;
+	background-color: #f5f5f5;
+	padding-left: 4px;
+	margin: 4px;
+}
+
+div.box { 
+	width: 98%;
+	background-color: #f5f5f5;
+	border: 1px solid #CCCCCC;
+	color: black;
+	padding: 4px;
+}
+
+.comment {
+	color: #228B22;
+}
+.string {
+	color: #B20000;
+}
+.keyword { 
+	color: #0000FF;
+}
+
+.keywordtype { color: #604020; }
+.keywordflow { color: #e08000; }
+.preprocessor { color: #806020; }
+.stringliteral { color: #002080; }
+.charliteral { color: #008080; }
+
+a {
+	text-decoration: none; 
+}
+
+a:hover {
+	background-color: #006699;
+	color:#FFFFFF;
+}
+
+a.code {
+	font-weight: normal; 
+	color: #A020F0;
+}
+
+a.code:hover {
+	background-color: #FF0000;
+	color: #FFFFFF;
+}	
+
+h1 {
+	background: transparent;
+	color: #006699;
+	font-size: x-large;
+	text-align: center;
+}
+
+h2 {
+	background: transparent;
+	color: #006699;
+	font-size: large;
+}
+
+address {
+	font-size:small;
+}
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/aoinit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/aoinit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/aoinit.html	(revision 17)
@@ -0,0 +1,100 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of aoinit</title>
+  <meta name="keywords" content="aoinit">
+  <meta name="description" content="AOINIT - Initialization function for the Matlab Middle Layer (MML)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; aoinit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>aoinit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>AOINIT - Initialization function for the Matlab Middle Layer (MML)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function aoinit(SubMachineName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">AOINIT - Initialization function for the Matlab Middle Layer (MML)
+
+
+  See Also <a href="boosterinit.html" class="code" title="function boosterinit(OperationalMode)">boosterinit</a>, setpathsoleil</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="boosterinit.html" class="code" title="function boosterinit(OperationalMode)">boosterinit</a>	BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function RunTimeFlag = isdeployed_local</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function aoinit(SubMachineName)</a>
+0002 <span class="comment">%AOINIT - Initialization function for the Matlab Middle Layer (MML)</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  See Also boosterinit, setpathsoleil</span>
+0006 
+0007 <span class="comment">% Written by Laurent S. Nadolski</span>
+0008 
+0009 <span class="keyword">if</span> exist(<span class="string">'SubMachineName'</span>, <span class="string">'var'</span>) &amp;&amp; ~strcmpi(SubMachineName, <span class="string">'Booster'</span>)
+0010     error(<span class="string">'Wrong SubMachine %s'</span>, SubMachineName)
+0011 <span class="keyword">end</span>
+0012 
+0013 <span class="comment">% The path should not be modified in standalone mode</span>
+0014 <span class="keyword">if</span> ~<a href="#_sub1" class="code" title="subfunction RunTimeFlag = isdeployed_local">isdeployed_local</a>
+0015 
+0016     MMLROOT = getmmlroot;
+0017     
+0018     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'Booster'</span>));
+0019     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'BoosterOpsData'</span>));
+0020     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'Booster'</span>, <span class="string">'applications'</span>));
+0021     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'Booster'</span>,  <span class="string">'bpm'</span>));
+0022     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'Booster'</span>, <span class="string">'Lattices'</span>));
+0023     
+0024     <span class="comment">% APPLICATIONS</span>
+0025     addpath(fullfile(MMLROOT, <span class="string">'mml'</span>, <span class="string">'setorbitbumpgui'</span>));        
+0026     addpath(fullfile(MMLROOT, <span class="string">'mml'</span>, <span class="string">'setorbitgui'</span>));        
+0027          
+0028 
+0029     <span class="comment">% Make sure mml is high on the path</span>
+0030     addpath(fullfile(MMLROOT, <span class="string">'mml'</span>),<span class="string">'-begin'</span>);
+0031 
+0032     disp([<span class="string">'TANGO/MATLAB binding version: '</span> tango_version])
+0033     disp(<span class="string">'Startup file for Matlab Middle Layer read with success'</span>);
+0034 
+0035 <span class="keyword">end</span>
+0036 
+0037 <span class="comment">% Initialize the MML for machine</span>
+0038 
+0039 <a href="boosterinit.html" class="code" title="function boosterinit(OperationalMode)">boosterinit</a>;
+0040 
+0041 <a name="_sub1" href="#_subfunctions" class="code">function RunTimeFlag = isdeployed_local</a>
+0042 <span class="comment">% isdeployed is not in matlab 6.5</span>
+0043 V = version;
+0044 <span class="keyword">if</span> str2double(V(1,1)) &lt; 7
+0045     RunTimeFlag = 0;
+0046 <span class="keyword">else</span>
+0047     RunTimeFlag = isdeployed;
+0048 <span class="keyword">end</span>
+0049</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/boosterinit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/boosterinit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/boosterinit.html	(revision 17)
@@ -0,0 +1,1108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of boosterinit</title>
+  <meta name="keywords" content="boosterinit">
+  <meta name="description" content="BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; boosterinit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>boosterinit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function boosterinit(OperationalMode) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB
+
+ Written by Laurent S. Nadolski, Synchrotron SOLEIL
+ 
+==========================
+ Accelerator Family Fields
+==========================
+ FamilyName            BPMx, HCOR, etc
+ CommonNames           Shortcut name for each element
+ DeviceList            [Sector, Number]
+ ElementList           number in list
+ Position              m, if thick, it is not the magnet center
+
+ MONITOR FIELD
+ Mode                  online/manual/special/simulator
+ TangoNames            Device Tango Names
+ Units                 Physics or HW
+ HW2PhysicsFcn         function handle used to convert from hardware to physics units ==&gt; inline will not compile, see below
+ HW2PhysicsParams      parameters used for conversion function
+ Physics2HWFcn         function handle used to convert from physics to hardware units
+ Physics2HWParams      parameters used for conversion function
+ HWUnits               units for Hardware 'A';
+ PhysicsUnits          units for physics 'Rad';
+ Handles               monitor handle
+
+ SETPOINT FIELDS
+ Mode                  online/manual/special/simulator
+ TangoNames            Devices tango names
+ Units                 hardware or physics
+ HW2PhysicsFcn         function handle used to convert from hardware to physics units
+ HW2PhysicsParams      parameters used for conversion function
+ Physics2HWFcn         function handle used to convert from physics to hardware units
+ Physics2HWParams      parameters used for conversion function
+ HWUnits               units for Hardware 'A';
+ PhysicsUnits          units for physics 'Rad';
+ Range                 minsetpoint, maxsetpoint;
+ Tolerance             setpoint-monitor
+ Handles               setpoint handle
+
+=============================================
+ Accelerator Toolbox Simulation Fields
+=============================================
+ ATType                Quad, Sext, etc
+ ATIndex               index in THERING
+ ATParameterGroup      parameter group
+
+============
+ Family List
+============
+    BPMx
+    BPMz
+    HCOR
+    VCOR
+    BEND
+    QF and QD
+    SF and SD
+    RF
+    TUNE
+    DCCT
+    Machine Parameters</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>	SETOPERATIONALMODE - Switches between the various operational modes</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>	AOINIT - Initialization function for the Matlab Middle Layer (MML)</li><li><a href="boostersetup.html" class="code" title="function Boostersetup">boostersetup</a>	BoosterSETUP - GUI for doing Booster setup</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function boosterinit(OperationalMode)</a>
+0002 <span class="comment">%BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% Written by Laurent S. Nadolski, Synchrotron SOLEIL</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%==========================</span>
+0007 <span class="comment">% Accelerator Family Fields</span>
+0008 <span class="comment">%==========================</span>
+0009 <span class="comment">% FamilyName            BPMx, HCOR, etc</span>
+0010 <span class="comment">% CommonNames           Shortcut name for each element</span>
+0011 <span class="comment">% DeviceList            [Sector, Number]</span>
+0012 <span class="comment">% ElementList           number in list</span>
+0013 <span class="comment">% Position              m, if thick, it is not the magnet center</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">% MONITOR FIELD</span>
+0016 <span class="comment">% Mode                  online/manual/special/simulator</span>
+0017 <span class="comment">% TangoNames            Device Tango Names</span>
+0018 <span class="comment">% Units                 Physics or HW</span>
+0019 <span class="comment">% HW2PhysicsFcn         function handle used to convert from hardware to physics units ==&gt; inline will not compile, see below</span>
+0020 <span class="comment">% HW2PhysicsParams      parameters used for conversion function</span>
+0021 <span class="comment">% Physics2HWFcn         function handle used to convert from physics to hardware units</span>
+0022 <span class="comment">% Physics2HWParams      parameters used for conversion function</span>
+0023 <span class="comment">% HWUnits               units for Hardware 'A';</span>
+0024 <span class="comment">% PhysicsUnits          units for physics 'Rad';</span>
+0025 <span class="comment">% Handles               monitor handle</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% SETPOINT FIELDS</span>
+0028 <span class="comment">% Mode                  online/manual/special/simulator</span>
+0029 <span class="comment">% TangoNames            Devices tango names</span>
+0030 <span class="comment">% Units                 hardware or physics</span>
+0031 <span class="comment">% HW2PhysicsFcn         function handle used to convert from hardware to physics units</span>
+0032 <span class="comment">% HW2PhysicsParams      parameters used for conversion function</span>
+0033 <span class="comment">% Physics2HWFcn         function handle used to convert from physics to hardware units</span>
+0034 <span class="comment">% Physics2HWParams      parameters used for conversion function</span>
+0035 <span class="comment">% HWUnits               units for Hardware 'A';</span>
+0036 <span class="comment">% PhysicsUnits          units for physics 'Rad';</span>
+0037 <span class="comment">% Range                 minsetpoint, maxsetpoint;</span>
+0038 <span class="comment">% Tolerance             setpoint-monitor</span>
+0039 <span class="comment">% Handles               setpoint handle</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">%=============================================</span>
+0042 <span class="comment">% Accelerator Toolbox Simulation Fields</span>
+0043 <span class="comment">%=============================================</span>
+0044 <span class="comment">% ATType                Quad, Sext, etc</span>
+0045 <span class="comment">% ATIndex               index in THERING</span>
+0046 <span class="comment">% ATParameterGroup      parameter group</span>
+0047 <span class="comment">%</span>
+0048 <span class="comment">%============</span>
+0049 <span class="comment">% Family List</span>
+0050 <span class="comment">%============</span>
+0051 <span class="comment">%    BPMx</span>
+0052 <span class="comment">%    BPMz</span>
+0053 <span class="comment">%    HCOR</span>
+0054 <span class="comment">%    VCOR</span>
+0055 <span class="comment">%    BEND</span>
+0056 <span class="comment">%    QF and QD</span>
+0057 <span class="comment">%    SF and SD</span>
+0058 <span class="comment">%    RF</span>
+0059 <span class="comment">%    TUNE</span>
+0060 <span class="comment">%    DCCT</span>
+0061 <span class="comment">%    Machine Parameters</span>
+0062 
+0063 <span class="comment">%==============================</span>
+0064 <span class="comment">%load AcceleratorData structure</span>
+0065 <span class="comment">%==============================</span>
+0066 
+0067 <span class="keyword">if</span> nargin &lt; 1
+0068     OperationalMode = 1;
+0069 <span class="keyword">end</span>
+0070 
+0071 <span class="keyword">global</span> GLOBVAL THERING
+0072 
+0073 
+0074 Mode             = <span class="string">'Online'</span>;
+0075 setad([]);       <span class="comment">%clear AcceleratorData memory</span>
+0076 AD.SubMachine       = <span class="string">'Booster'</span>; <span class="comment">% Machine Name</span>
+0077 AD.Energy        = 2.75; <span class="comment">% Energy in GeV</span>
+0078 
+0079 
+0080 setad(AD);   <span class="comment">%load AcceleratorData</span>
+0081 
+0082 <span class="comment">%%%%%%%%%%%%%%%%%%%%</span>
+0083 <span class="comment">% ACCELERATOR OBJECT</span>
+0084 <span class="comment">%%%%%%%%%%%%%%%%%%%%</span>
+0085 
+0086 setao([]);   <span class="comment">%clear previous AcceleratorObjects</span>
+0087 
+0088 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0089 <span class="comment">%% BPM data: status field designates if BPM in use</span>
+0090 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0091 AO{1}.FamilyName               = <span class="string">'BPMx'</span>;
+0092 AO{1}.FamilyType               = <span class="string">'BPM'</span>;
+0093 AO{1}.MemberOf                 = {<span class="string">'BPM'</span>; <span class="string">'HBPM'</span>; <span class="string">'Diagnostics'</span>};
+0094 AO{1}.Monitor.Mode             = Mode;
+0095 AO{1}.Monitor.Units            = <span class="string">'Hardware'</span>;
+0096 AO{1}.Monitor.HWUnits          = <span class="string">'mm'</span>;
+0097 AO{1}.Monitor.PhysicsUnits     = <span class="string">'m'</span>;
+0098 
+0099 <span class="comment">% Get mapping from TANGO static database</span>
+0100 map = tango_get_db_property(<span class="string">'booster'</span>,<span class="string">'tracy_bpm_mapping'</span>);
+0101 
+0102 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+0103 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+0104 elemindex = cell2mat(regexpi(map,<span class="string">'BPM[0-9]'</span>,<span class="string">'once'</span>))+3;
+0105 sep       = cell2mat(regexpi(map,<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+0106 <span class="comment">% dev       = deblank(regexprep(char(map),'^BPM\d*::',''));</span>
+0107 dev       = regexprep(map,<span class="string">'^BPM\d*::'</span>,<span class="string">''</span>)';
+0108 
+0109 nb = size(map,2);
+0110 ik = 1;
+0111 prev0 = 0;
+0112 <span class="keyword">for</span> k = 1:nb
+0113     prev = str2num(map{k}(cellindex(k):cellindex(k)+1));
+0114     <span class="keyword">if</span> prev == prev0
+0115         ik = ik + 1;
+0116     <span class="keyword">else</span>
+0117         ik = 1;
+0118     <span class="keyword">end</span>
+0119     AO{1}.DeviceList(k,:) = [prev ik];
+0120     AO{1}.ElementList(k,:)= str2num(map{k}(elemindex(k):sep(k)));
+0121     prev0 = prev;
+0122 <span class="keyword">end</span>
+0123 
+0124 AO{1}.DeviceName(:,:)               = dev;
+0125 AO{1}.Monitor.TangoNames(:,:)       = strcat(dev, <span class="string">'/XPosVector'</span>);
+0126 AO{1}.CommonNames(:,:)              = [repmat(<span class="string">'BPMx'</span>,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+0127 
+0128 AO{1}.Status                        = ones(nb,1);
+0129 <span class="comment">% AO{1}.Status([5:22]) = 0;</span>
+0130 AO{1}.Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(nb,1);
+0131 AO{1}.Monitor.Physics2HWParams(:,:) = 1e3*ones(nb,1);
+0132 
+0133 <span class="comment">% 2 lignes ajoutes pour test debug bpm versus le reste du monde</span>
+0134 AO{1}.Monitor.Handles(:,1)       = NaN*ones(nb,1);
+0135 AO{1}.Monitor.DataType         = <span class="string">'Vector'</span>;
+0136 
+0137 
+0138 <span class="comment">% Vertical plane</span>
+0139 AO{2} = AO{1};
+0140 AO{2}.FamilyName              = <span class="string">'BPMz'</span>;
+0141 AO{1}.MemberOf                 = {<span class="string">'BPM'</span>; <span class="string">'VBPM'</span>; <span class="string">'Diagnostics'</span>};
+0142 AO{2}.Monitor.TangoNames(:,:) = strcat(dev,<span class="string">'/ZPosVector'</span>);
+0143 AO{2}.CommonNames(:,:) = [repmat(<span class="string">'BPMz'</span>,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+0144 
+0145 <span class="comment">% 2 lignes ajoutes pour test debug bpm versus le reste du monde</span>
+0146 AO{2}.Monitor.DataType         = <span class="string">'Vector'</span>;
+0147 AO{2}.Monitor.Handles(:,1)       = NaN*ones(nb,1);
+0148 
+0149 AO{1}.Status = AO{1}.Status(:);
+0150 AO{2}.Status = AO{2}.Status(:);
+0151 
+0152 AO{1}.Monitor.Mode            = Mode; <span class="comment">%'Special';</span>
+0153 AO{1}.Monitor.SpecialFunction = <span class="string">'getxsoleil'</span>;
+0154 
+0155 <span class="comment">%TODO</span>
+0156 AO{1}.Sum.Monitor = AO{1}.Monitor;
+0157 AO{1}.Sum.SpecialFunction = <span class="string">'getbpmsumspear'</span>;
+0158 AO{1}.Sum.HWUnits          = <span class="string">'ADC Counts'</span>;
+0159 AO{1}.Sum.PhysicsUnits     = <span class="string">'ADC Counts'</span>;
+0160 AO{1}.Sum.HW2PhysicsParams = 1;
+0161 AO{1}.Sum.Physics2HWParams = 1;
+0162 
+0163 AO{1}.Q = AO{1}.Monitor;
+0164 AO{1}.Q.SpecialFunction = <span class="string">'getbpmqspear'</span>;
+0165 AO{1}.Q.HWUnits          = <span class="string">'mm'</span>;
+0166 AO{1}.Q.PhysicsUnits     = <span class="string">'m'</span>;
+0167 AO{1}.Q.HW2PhysicsParams = 1e-3;
+0168 AO{1}.Q.Physics2HWParams = 1000;
+0169 
+0170 AO{2}.Monitor.Mode            = Mode; <span class="comment">%'Special';</span>
+0171 AO{2}.Monitor.SpecialFunction = <span class="string">'getzsoleil'</span>;
+0172 
+0173 AO{2}.Sum = AO{1}.Sum;
+0174 AO{2}.Q   = AO{1}.Q;
+0175 
+0176 <span class="comment">% %===========================================================</span>
+0177 <span class="comment">% %Corrector data: status field designates if corrector in use</span>
+0178 <span class="comment">% %===========================================================</span>
+0179 <span class="comment">%</span>
+0180 setao(cell2field(AO));
+0181 
+0182 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0183 <span class="comment">%% SLOW HORIZONTAL CORRECTORS</span>
+0184 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0185 ifam = 3;
+0186 AO{ifam}.FamilyName               = <span class="string">'HCOR'</span>;
+0187 AO{ifam}.FamilyType               = <span class="string">'COR'</span>;
+0188 AO{ifam}.MemberOf                 = {<span class="string">'MachineConfig'</span>; <span class="string">'COR'</span>; <span class="string">'MCOR'</span>; <span class="string">'HCOR'</span>; <span class="string">'Magnet'</span>};
+0189 
+0190 AO{ifam}.Monitor.Mode             = Mode;
+0191 AO{ifam}.Monitor.DataType         = <span class="string">'Scalar'</span>;
+0192 AO{ifam}.Monitor.Units            = <span class="string">'Hardware'</span>;
+0193 AO{ifam}.Monitor.HWUnits          = <span class="string">'A'</span>;
+0194 AO{ifam}.Monitor.PhysicsUnits     = <span class="string">'rad'</span>;
+0195 AO{ifam}.Monitor.HW2PhysicsFcn    = @amp2k;
+0196 AO{ifam}.Monitor.Physics2HWFcn    = @k2amp;
+0197 
+0198 <span class="comment">% Get mapping from TANGO static database</span>
+0199 map = tango_get_db_property(<span class="string">'booster'</span>,<span class="string">'tracy_correctorH_mapping'</span>);
+0200 dev = regexprep(map,<span class="string">'^HCOR\d*::'</span>,<span class="string">''</span>)';
+0201 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+0202 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+0203 elemindex = cell2mat(regexpi(map,<span class="string">'HCOR[0-9]'</span>,<span class="string">'once'</span>))+4;
+0204 sep       = cell2mat(regexpi(map,<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+0205 
+0206 nb = size(map,2);
+0207 <span class="keyword">for</span> k = 1:nb
+0208     AO{ifam}.DeviceList(k,:)  = [str2num(map{k}(cellindex(k):cellindex(k)+1)) 1];
+0209     AO{ifam}.ElementList(k,:) = str2num(map{k}(elemindex(k):sep(k)));
+0210 <span class="keyword">end</span>
+0211 
+0212 AO{ifam}.DeviceName(:,:)            = dev;
+0213 AO{ifam}.CommonNames(:,:)           = [repmat(AO{ifam}.FamilyName,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0214 AO{ifam}.Status                     = ones(nb,1);
+0215 AO{ifam}.Monitor.TangoNames(:,:)    = strcat(dev,<span class="string">'/current'</span>);
+0216 AO{ifam}.Monitor.Handles(:,1)       = NaN*ones(nb,1);
+0217 
+0218 <span class="comment">%Load fields from datablock</span>
+0219 <span class="comment">% AT use the &quot;A-coefficients&quot; for correctors plus an offset</span>
+0220 [C, Leff, MagnetType, coefficients] = magnetcoefficients(AO{ifam}.FamilyName);
+0221 
+0222 <span class="keyword">for</span> ii=1:nb
+0223     AO{ifam}.Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+0224     AO{ifam}.Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+0225 <span class="keyword">end</span>
+0226 
+0227 AO{ifam}.Setpoint = AO{ifam}.Monitor;
+0228 AO{ifam}.Desired  = AO{ifam}.Monitor;
+0229 
+0230 AO{ifam}.Setpoint.Range(:,:)        = repmat([-1.5 1.5],nb,1); <span class="comment">% 1 A for ???</span>
+0231 AO{ifam}.Setpoint.Tolerance(:,:)    = 1000*ones(nb,1);
+0232 AO{ifam}.Setpoint.DeltaRespMat(:,:) = ones(nb,1)*2e-5; <span class="comment">% ???</span>
+0233 
+0234 AO{ifam}.Status = AO{ifam}.Status(:);
+0235 <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0236 setao(cell2field(AO));   <span class="comment">%required to make physics2hw function</span>
+0237 AO{ifam}.Setpoint.DeltaRespMat = physics2hw(AO{ifam}.FamilyName,<span class="string">'Setpoint'</span>, <span class="keyword">...</span>
+0238     AO{ifam}.Setpoint.DeltaRespMat, AO{ifam}.DeviceList);
+0239 
+0240 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0241 <span class="comment">%% SLOW VERTICAL CORRECTORS</span>
+0242 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0243 ifam = ifam +1;
+0244 AO{ifam}.FamilyName               = <span class="string">'VCOR'</span>;
+0245 AO{ifam}.FamilyType               = <span class="string">'COR'</span>;
+0246 AO{ifam}.MemberOf                 = {<span class="string">'MachineConfig'</span>; <span class="string">'COR'</span>; AO{ifam}.FamilyName; <span class="string">'Magnet'</span>};
+0247 
+0248 AO{ifam}.Monitor.Mode             = Mode;
+0249 AO{ifam}.Monitor.DataType         = <span class="string">'Scalar'</span>;
+0250 AO{ifam}.Monitor.Units            = <span class="string">'Hardware'</span>;
+0251 AO{ifam}.Monitor.HWUnits          = <span class="string">'A'</span>;
+0252 AO{ifam}.Monitor.PhysicsUnits     = <span class="string">'rad'</span>;
+0253 AO{ifam}.Monitor.HW2PhysicsFcn = @amp2k;
+0254 AO{ifam}.Monitor.Physics2HWFcn = @k2amp;
+0255 
+0256 <span class="comment">% Get mapping from TANGO static database</span>
+0257 map = tango_get_db_property(<span class="string">'booster'</span>,<span class="string">'tracy_correctorV_mapping'</span>);
+0258 dev = regexprep(map,<span class="string">'^VCOR\d*::'</span>,<span class="string">''</span>)';
+0259 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+0260 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+0261 elemindex = cell2mat(regexpi(map,<span class="string">'VCOR[0-9]'</span>,<span class="string">'once'</span>))+4;
+0262 sep       = cell2mat(regexpi(map,<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+0263 
+0264 nb = size(map,2);
+0265 <span class="keyword">for</span> k = 1:nb
+0266     AO{ifam}.DeviceList(k,:)  = [str2num(map{k}(cellindex(k):cellindex(k)+1)) 1];
+0267     AO{ifam}.ElementList(k,:) = str2num(map{k}(elemindex(k):sep(k)));
+0268 <span class="keyword">end</span>
+0269 
+0270 AO{ifam}.DeviceName(:,:)            = dev;
+0271 AO{ifam}.Status                     = ones(nb,1);
+0272 AO{ifam}.CommonNames(:,:)           = [repmat(AO{ifam}.FamilyName,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0273 AO{ifam}.Monitor.TangoNames(:,:)    = strcat(dev,<span class="string">'/current'</span>);
+0274 
+0275 AO{ifam}.Monitor.Handles(:,1)    = NaN*ones(nb,1);
+0276 
+0277 <span class="comment">%Load fields from datablock</span>
+0278 <span class="comment">% AT use the &quot;A-coefficients&quot; for correctors plus an offset</span>
+0279 [C, Leff, MagnetType, coefficients] = magnetcoefficients(AO{ifam}.FamilyName);
+0280 
+0281 <span class="keyword">for</span> ii = 1:nb
+0282     AO{ifam}.Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+0283     AO{ifam}.Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+0284 <span class="keyword">end</span>
+0285 
+0286 AO{ifam}.Setpoint = AO{ifam}.Monitor;
+0287 AO{ifam}.Desired  = AO{ifam}.Monitor;
+0288 
+0289 AO{ifam}.Setpoint.Range(:,:) = repmat([-1.5 1.5],nb,1); <span class="comment">%  1 A for ???</span>
+0290 AO{ifam}.Setpoint.Tolerance(:,:) = 1000*ones(nb,1);
+0291 AO{ifam}.Setpoint.DeltaRespMat(:,:) = ones(nb,1)*4e-5; <span class="comment">% ???</span>
+0292 
+0293 <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0294 setao(cell2field(AO));   <span class="comment">%required to make physics2hw function</span>
+0295 AO{ifam}.Setpoint.DeltaRespMat = physics2hw(AO{ifam}.FamilyName,<span class="string">'Setpoint'</span>, <span class="keyword">...</span>
+0296     AO{ifam}.Setpoint.DeltaRespMat, AO{ifam}.DeviceList);
+0297 
+0298 <span class="comment">%=============================</span>
+0299 <span class="comment">% MAIN MAGNETS</span>
+0300 <span class="comment">%=============================</span>
+0301 
+0302 <span class="comment">%===========</span>
+0303 <span class="comment">%% Dipole data</span>
+0304 <span class="comment">%===========</span>
+0305 
+0306 <span class="comment">% *** BEND ***</span>
+0307 ifam = ifam+1;
+0308 AO{ifam}.FamilyName                 = <span class="string">'BEND'</span>;
+0309 AO{ifam}.FamilyType                 = <span class="string">'BEND'</span>;
+0310 AO{ifam}.MemberOf                   = {<span class="string">'MachineConfig'</span>; <span class="string">'BEND'</span>; <span class="string">'Magnet'</span>;};
+0311 HW2PhysicsParams                    = magnetcoefficients(<span class="string">'BEND'</span>);
+0312 Physics2HWParams                    = HW2PhysicsParams;
+0313 
+0314 AO{ifam}.Monitor.Mode               = Mode;
+0315 AO{ifam}.Monitor.DataType           = <span class="string">'Scalar'</span>;
+0316 AO{ifam}.Monitor.Units              = <span class="string">'Hardware'</span>;
+0317 AO{ifam}.Monitor.HW2PhysicsFcn      = @bend2gev;
+0318 AO{ifam}.Monitor.Physics2HWFcn      = @gev2bend;
+0319 AO{ifam}.Monitor.HWUnits            = <span class="string">'A'</span>;
+0320 AO{ifam}.Monitor.PhysicsUnits       = <span class="string">'energy'</span>;
+0321 
+0322 
+0323 <span class="comment">% nb = size(map,2);</span>
+0324 nb = 1;
+0325 
+0326 AO{ifam}.DeviceList(:,:)   = [1 1];
+0327 AO{ifam}.ElementList(:,:)  = 1;
+0328 AO{ifam}.DeviceName(:,:)   = <span class="string">'BOO/AE/Dipole'</span>;
+0329 AO{ifam}.Monitor.TangoNames(:,:)  = strcat(AO{ifam}.DeviceName,<span class="string">'/d1current'</span>);
+0330 
+0331 AO{ifam}.Status = 1;
+0332 AO{ifam}.Monitor.Handles = NaN;
+0333 
+0334 val = 1.0;
+0335 AO{ifam}.Monitor.HW2PhysicsParams{1}(1,:)                 = HW2PhysicsParams;
+0336 AO{ifam}.Monitor.HW2PhysicsParams{2}(1,:)                 = val;
+0337 AO{ifam}.Monitor.Physics2HWParams{1}(1,:)                 = Physics2HWParams;
+0338 AO{ifam}.Monitor.Physics2HWParams{2}(1,:)                 = val;
+0339 
+0340 <span class="comment">% When using bend2gev / gev2bend don't use Params</span>
+0341 AO{ifam}.Monitor = rmfield(AO{ifam}.Monitor,<span class="string">'HW2PhysicsParams'</span>);
+0342 AO{ifam}.Monitor = rmfield(AO{ifam}.Monitor,<span class="string">'Physics2HWParams'</span>);
+0343 
+0344 AO{ifam}.Setpoint = AO{ifam}.Monitor;
+0345 AO{ifam}.Desired  = AO{ifam}.Monitor;
+0346 AO{ifam}.Setpoint.TangoNames = strcat(AO{ifam}.DeviceName,<span class="string">'/current'</span>);
+0347 
+0348 AO{ifam}.Setpoint.Range(:,:) = [0 560]; <span class="comment">% 525 A for 1.71T</span>
+0349 AO{ifam}.Setpoint.Tolerance(:,:) = 0.05;
+0350 AO{ifam}.Setpoint.DeltaRespMat(:,:) = 0.05;
+0351 
+0352 <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0353 <span class="comment">%setao(cell2field(AO));   %required to make physics2hw function</span>
+0354 <span class="comment">%AO{ifam}.Setpoint.DeltaRespMat=physics2hw(AO{ifam}.FamilyName,'Setpoint',AO{ifam}.Setpoint.DeltaRespMat,AO{ifam}.DeviceList);</span>
+0355 
+0356 
+0357 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0358 <span class="comment">%% QUADRUPOLE MAGNETS</span>
+0359 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0360 
+0361 map     = tango_get_db_property(<span class="string">'booster'</span>,<span class="string">'tracy_quadrupole_mapping'</span>);
+0362 iifam   = cell2mat(regexpi(map,<span class="string">'/Q'</span>,<span class="string">'once'</span>))+2;
+0363 ifound  = regexpi(map,<span class="string">'/QF'</span>);
+0364 
+0365 <span class="comment">%%% build mapping for the two families</span>
+0366 <span class="comment">%%% cleanup</span>
+0367 mapQF = []; mapQD = [];
+0368 <span class="keyword">for</span> k = 1:length(ifound)
+0369     <span class="keyword">if</span> isempty(ifound{k})
+0370         mapQD = [mapQD map(k)];
+0371     <span class="keyword">else</span>
+0372         mapQF = [mapQF map(k)];
+0373     <span class="keyword">end</span>
+0374 <span class="keyword">end</span>
+0375 
+0376 
+0377 mapQP  = {mapQF,mapQD};
+0378 nameQP = {<span class="string">'QF'</span>, <span class="string">'QD'</span>};
+0379 
+0380 <span class="comment">% for both family</span>
+0381 <span class="keyword">for</span> k = 1:2    
+0382     sep = cell2mat(regexprep(mapQP{k},<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+0383     dev = regexprep(mapQP{k},<span class="string">'^Q[F,D]\d*::'</span>,<span class="string">''</span>)';
+0384     ifam = ifam + 1;
+0385 
+0386     AO{ifam}.FamilyName                 = nameQP{k};
+0387     AO{ifam}.FamilyType                 = <span class="string">'QUAD'</span>;
+0388     AO{ifam}.MemberOf                   = {<span class="string">'MachineConfig'</span>; <span class="string">'QUAD'</span>; <span class="string">'Magnet'</span>;};
+0389     HW2PhysicsParams                    = magnetcoefficients(AO{ifam}.FamilyName);
+0390     Physics2HWParams                    = magnetcoefficients(AO{ifam}.FamilyName);
+0391 
+0392     AO{ifam}.Monitor.Mode               = Mode;
+0393     AO{ifam}.Monitor.DataType           = <span class="string">'Scalar'</span>;
+0394     AO{ifam}.Monitor.Units              = <span class="string">'Hardware'</span>;
+0395     AO{ifam}.Monitor.HWUnits            = <span class="string">'A'</span>;
+0396     AO{ifam}.Monitor.PhysicsUnits       = <span class="string">'meter^-2'</span>;
+0397     AO{ifam}.Monitor.HW2PhysicsFcn      = @amp2k;
+0398     AO{ifam}.Monitor.Physics2HWFcn      = @k2amp;
+0399     
+0400     AO{ifam}.DeviceList(1,:) = [1 1];
+0401     AO{ifam}.ElementList(1,:)= 1;
+0402 
+0403     prev0 = prev;
+0404 
+0405     AO{ifam}.DeviceName(:,:)    = dev;
+0406     
+0407     <span class="comment">%% Build common names</span>
+0408     AO{ifam}.CommonNames(:,:) = AO{ifam}.FamilyName;
+0409 
+0410     AO{ifam}.Monitor.TangoNames(:,:)  = strcat(dev,<span class="string">'/current'</span>);
+0411 
+0412     AO{ifam}.Status = 1;
+0413     AO{ifam}.Monitor.Handles(:,1) = NaN;
+0414 
+0415     AO{ifam}.Monitor.HW2PhysicsParams{1}(1,:)                 = HW2PhysicsParams;
+0416     AO{ifam}.Monitor.HW2PhysicsParams{2}(1,:)                 = val;
+0417     AO{ifam}.Monitor.Physics2HWParams{1}(1,:)                 = Physics2HWParams;
+0418     AO{ifam}.Monitor.Physics2HWParams{2}(1,:)                 = val;
+0419 
+0420     AO{ifam}.Setpoint = AO{ifam}.Monitor;
+0421     AO{ifam}.Desired  = AO{ifam}.Monitor;
+0422 
+0423     AO{ifam}.Setpoint.Range(:,:) = [0 300]; <span class="comment">%260 A for 19.7Tm-1</span>
+0424     AO{ifam}.Setpoint.Tolerance(:,:) = 0.05;
+0425     AO{ifam}.Setpoint.DeltaRespMat(:,:) = 0.02;
+0426 
+0427     <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0428     setao(cell2field(AO));   <span class="comment">%required to make physics2hw function</span>
+0429 <span class="comment">%     AO{ifam}.Setpoint.DeltaRespMat = physics2hw(AO{ifam}.FamilyName, ...</span>
+0430 <span class="comment">%         'Setpoint',AO{ifam}.Setpoint.DeltaRespMat,AO{ifam}.DeviceList);</span>
+0431 <span class="keyword">end</span>
+0432 
+0433 
+0434 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0435 <span class="comment">%% SEXTUPOLE MAGNETS</span>
+0436 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0437 
+0438 map=tango_get_db_property(<span class="string">'booster'</span>,<span class="string">'tracy_sextupole_mapping'</span>);
+0439 iifam = cell2mat(regexpi(map,<span class="string">'/S'</span>,<span class="string">'once'</span>))+2;
+0440 ifound  = regexpi(map,<span class="string">'/SF'</span>);
+0441 
+0442 <span class="comment">%%% build mapping for the ten families</span>
+0443 <span class="comment">%%% cleanup</span>
+0444 mapSF = []; mapSD = [];
+0445 <span class="keyword">for</span> k = 1:length(ifound)
+0446     <span class="keyword">if</span> isempty(ifound{k})
+0447         mapSD = [mapSD map(k)];
+0448     <span class="keyword">else</span>
+0449         mapSF = [mapSF map(k)];
+0450     <span class="keyword">end</span>
+0451 <span class="keyword">end</span>
+0452 
+0453 
+0454 mapS  = {mapSF,mapSD};
+0455 nameS = {<span class="string">'SF'</span>, <span class="string">'SD'</span>};
+0456 
+0457 <span class="comment">% For both families</span>
+0458 <span class="keyword">for</span> k = 1:2
+0459     sep = cell2mat(regexpi(mapS{k},<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+0460     dev = regexprep(mapS{k},<span class="string">'^S[F,D]\d*::'</span>,<span class="string">''</span>)';
+0461 
+0462     ifam=ifam+1;
+0463 
+0464     AO{ifam}.FamilyName                = nameS{k};
+0465     AO{ifam}.FamilyType                = <span class="string">'SEXT'</span>;
+0466     AO{ifam}.MemberOf                  = {<span class="string">'MachineConfig'</span>; <span class="string">'SEXT'</span>; <span class="string">'Magnet'</span>;};
+0467     HW2PhysicsParams                   = magnetcoefficients(AO{ifam}.FamilyName);
+0468     Physics2HWParams                   = magnetcoefficients(AO{ifam}.FamilyName);
+0469 
+0470     AO{ifam}.Monitor.Mode              = Mode;
+0471     AO{ifam}.Monitor.DataType          = <span class="string">'Scalar'</span>;
+0472     AO{ifam}.Monitor.Units             = <span class="string">'Hardware'</span>;
+0473     AO{ifam}.Monitor.HW2PhysicsFcn     = @amp2k;
+0474     AO{ifam}.Monitor.Physics2HWFcn     = @k2amp;
+0475     AO{ifam}.Monitor.HWUnits           = <span class="string">'A'</span>;
+0476     AO{ifam}.Monitor.PhysicsUnits      = <span class="string">'meter^-3'</span>;
+0477 
+0478     AO{ifam}.DeviceList(:,:) = [1 1];
+0479     AO{ifam}.ElementList(:,:)= 1;
+0480 
+0481     AO{ifam}.DeviceName(:,:)    = dev;
+0482     <span class="comment">%% Build common names</span>
+0483     AO{ifam}.CommonNames(:,:)   = AO{ifam}.FamilyName;
+0484     AO{ifam}.Monitor.TangoNames(:,:)  = strcat(dev,<span class="string">'/current'</span>);
+0485     
+0486 
+0487     AO{ifam}.Status = 1;
+0488     AO{ifam}.Monitor.Handles(:,1) = NaN;
+0489 
+0490     val = 1.0;
+0491     AO{ifam}.Monitor.HW2PhysicsParams{1}(1,:)               = HW2PhysicsParams;
+0492     AO{ifam}.Monitor.HW2PhysicsParams{2}(1,:)               = val;
+0493     AO{ifam}.Monitor.Physics2HWParams{1}(1,:)               = Physics2HWParams;
+0494     AO{ifam}.Monitor.Physics2HWParams{2}(1,:)               = val;
+0495 
+0496     AO{ifam}.Setpoint = AO{ifam}.Monitor;
+0497     AO{ifam}.Desired  = AO{ifam}.Monitor;
+0498 
+0499     AO{ifam}.Setpoint.Range(:,:) = [0 400]; <span class="comment">% 343 A for 320 Tm-2</span>
+0500     AO{ifam}.Setpoint.Tolerance(:,:) = 0.05;
+0501     AO{ifam}.Setpoint.DeltaRespMat(:,:) = 0.05;
+0502 
+0503     <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0504     setao(cell2field(AO));   <span class="comment">%required to make physics2hw function</span>
+0505 <span class="comment">%     AO{ifam}.Setpoint.DeltaRespMat=physics2hw(AO{ifam}.FamilyName,'Setpoint',AO{ifam}.Setpoint.DeltaRespMat,AO{ifam}.DeviceList);</span>
+0506 <span class="keyword">end</span>
+0507 
+0508 <span class="comment">% Convert to new format</span>
+0509 AO = cell2field(AO);
+0510 
+0511 
+0512 <span class="comment">%=======</span>
+0513 <span class="comment">%% TUNE</span>
+0514 <span class="comment">%=======</span>
+0515 ifam = <span class="string">'TUNE'</span>;
+0516 AO.(ifam).FamilyName  = ifam;
+0517 AO.(ifam).FamilyType  = <span class="string">'Diagnostic'</span>;
+0518 AO.(ifam).MemberOf    = {<span class="string">'Diagnostics'</span>};
+0519 AO.(ifam).CommonNames = [<span class="string">'nux'</span>;<span class="string">'nuz'</span>;<span class="string">'nus'</span>];
+0520 AO.(ifam).DeviceList  = [1 1; 1 2; 1 3];
+0521 AO.(ifam).ElementList = [1 2 3]';
+0522 AO.(ifam).Status      = [1 1 1]';
+0523 
+0524 AO.(ifam).Monitor.Mode                   = Mode; <span class="comment">%'Simulator';  % Mode;</span>
+0525 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+0526 AO.(ifam).Monitor.DataTypeIndex          = [1 2];
+0527 AO.(ifam).Monitor.TangoNames              = [<span class="string">'BOO/DG/BPM-TUNEX/Nu'</span>; <span class="keyword">...</span>
+0528                                              <span class="string">'BOO/DG/BPM-TUNEZ/Nu'</span>; <span class="string">'BOO/DG/BPM-TUNEX/Nu'</span>];
+0529 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+0530 AO.(ifam).Monitor.Handles                = NaN;
+0531 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+0532 AO.(ifam).Monitor.Physics2HWParams       = 1;
+0533 AO.(ifam).Monitor.HWUnits                = <span class="string">'fractional tune'</span>;
+0534 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'fractional tune'</span>;
+0535 
+0536 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0537 <span class="comment">%% Pulsed Magnet</span>
+0538 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0539 
+0540 <span class="comment">%% Injection kicker</span>
+0541 ifam = <span class="string">'K_Inj'</span>; 
+0542 AO.(ifam).FamilyName           = <span class="string">'K_Inj'</span>;
+0543 AO.(ifam).MemberOf             = {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0544 AO.(ifam).Monitor.Mode         = Mode;
+0545 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0546 
+0547 AO.(ifam).Status                   = 1;
+0548 AO.(ifam).DeviceName               = cellstr(<span class="string">'BOO-C01/EP/AL_K.Inj'</span>);
+0549 AO.(ifam).CommonNames              = <span class="string">'K_Inj'</span>;
+0550 AO.(ifam).ElementList              = 1;
+0551 AO.(ifam).DeviceList(:,:)          = [1 1];
+0552 AO.(ifam).Monitor.Handles(:,1)     = NaN;
+0553 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/voltage'</span>);
+0554 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0555 AO.(ifam).Monitor.Physics2HWParams = 1;
+0556 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0557 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+0558 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+0559 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0560 AO.(ifam).Desired = AO.(ifam).Monitor;
+0561 
+0562 <span class="comment">%% Injection Septum</span>
+0563 ifam = <span class="string">'SEP_Inj'</span>; 
+0564 AO.(ifam).FamilyName           = <span class="string">'SEP_Inj'</span>;
+0565 AO.(ifam).MemberOf             = {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0566 AO.(ifam).Monitor.Mode         = Mode;
+0567 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0568 
+0569 AO.(ifam).Status                   = 1;
+0570 AO.(ifam).DeviceName               = cellstr(<span class="string">'BOO-C22/EP/AL_SEP_P.Inj'</span>);
+0571 AO.(ifam).CommonNames              = <span class="string">'SEP_P'</span>;
+0572 AO.(ifam).ElementList              = 1;
+0573 AO.(ifam).DeviceList(:,:)           = [1 1];
+0574 AO.(ifam).Monitor.Handles(:,1)     = NaN;
+0575 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/voltage'</span>);
+0576 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0577 AO.(ifam).Monitor.Physics2HWParams = 1;
+0578 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0579 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+0580 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+0581 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0582 AO.(ifam).Desired = AO.(ifam).Monitor;
+0583 
+0584 <span class="comment">%% Injection Septum</span>
+0585 ifam = <span class="string">'SEPA_EXT'</span>; 
+0586 AO.(ifam).FamilyName           = ifam;
+0587 AO.(ifam).MemberOf             = {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0588 AO.(ifam).Monitor.Mode         = Mode;
+0589 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0590 
+0591 AO.(ifam).Status                   = 0;
+0592 AO.(ifam).DeviceName               = cellstr(<span class="string">'BOO-C22/EP/AL_SEP_P.Inj'</span>);
+0593 AO.(ifam).CommonNames              = <span class="string">'SEP_P'</span>;
+0594 AO.(ifam).ElementList              = 1;
+0595 AO.(ifam).DeviceList(:,:)           = [1 1];
+0596 AO.(ifam).Monitor.Handles(:,1)     = NaN;
+0597 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/voltage'</span>);
+0598 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0599 AO.(ifam).Monitor.Physics2HWParams = 1;
+0600 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0601 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+0602 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+0603 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0604 AO.(ifam).Desired = AO.(ifam).Monitor;
+0605 
+0606 <span class="comment">%% Injection Septum</span>
+0607 ifam = <span class="string">'SEP_P_EXT'</span>; 
+0608 AO.(ifam).FamilyName           = ifam;
+0609 AO.(ifam).MemberOf             = {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0610 AO.(ifam).Monitor.Mode         = Mode;
+0611 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0612 
+0613 AO.(ifam).Status                   = 0;
+0614 AO.(ifam).DeviceName               = cellstr(<span class="string">'BOO-C11/EP/AL_SEP_P.Ext'</span>);
+0615 AO.(ifam).CommonNames              = <span class="string">'SEP_P_EXT'</span>;
+0616 AO.(ifam).ElementList              = 1;
+0617 AO.(ifam).DeviceList(:,:)           = [1 1];
+0618 AO.(ifam).Monitor.Handles(:,1)     = NaN;
+0619 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/voltage'</span>);
+0620 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0621 AO.(ifam).Monitor.Physics2HWParams = 1;
+0622 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0623 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+0624 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+0625 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0626 AO.(ifam).Desired = AO.(ifam).Monitor;
+0627 
+0628 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0629 <span class="comment">%% VACUUM SYSTEM</span>
+0630 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0631 
+0632 <span class="comment">%% IonPump</span>
+0633 ifam = <span class="string">'PI'</span>;
+0634 AO.(ifam).FamilyName           = <span class="string">'PI'</span>;
+0635 AO.(ifam).FamilyType           = <span class="string">'PI'</span>;
+0636 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'IonPump'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0637 AO.(ifam).Monitor.Mode         = Mode;
+0638 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0639 
+0640 map     = tango_get_db_property(<span class="string">'booster'</span>,<span class="string">'pompe_ionique'</span>);
+0641 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+0642 
+0643 nb = size(map,2);
+0644 <span class="keyword">for</span> k = 1:nb,
+0645     <span class="keyword">switch</span> map{k}(1:6)
+0646         <span class="keyword">case</span> <span class="string">'BOO-B1'</span>
+0647             k1 = 1;
+0648         <span class="keyword">case</span> <span class="string">'BOO-Bi'</span>
+0649             k1 = 2;
+0650         <span class="keyword">case</span> <span class="string">'BOO-B2'</span>
+0651             k1 = 3;
+0652         <span class="keyword">case</span> <span class="string">'BOO-Be'</span>
+0653             k1 = 4;
+0654         <span class="keyword">case</span> <span class="string">'BOO-B3'</span>
+0655             k1 = 5;
+0656         <span class="keyword">case</span> <span class="string">'BOO-B4'</span>
+0657             k1 = 6;
+0658     <span class="keyword">end</span>            
+0659     AO.(ifam).DeviceList(k,:)  = [k1 str2double(map{k}(numindex(k)))];
+0660     AO.(ifam).ElementList(k,:) = k;
+0661     AO.(ifam).CommonNames(k,:) = [<span class="string">'PI'</span> num2str(ik)];
+0662 <span class="keyword">end</span>
+0663 
+0664 AO.(ifam).Status                   = ones(nb,1);
+0665 <span class="comment">%AO.(ifam).Status(26) = 0;% BOO-Bext/VI/PI300.3</span>
+0666 AO.(ifam).DeviceName               = map';
+0667 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0668 AO.(ifam).ElementList              = (1:nb)';
+0669 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0670 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0671 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0672 AO.(ifam).Monitor.Physics2HWParams = 1;
+0673 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0674 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0675 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0676 
+0677 <span class="comment">%% Penning Gauges</span>
+0678 ifam = <span class="string">'JPEN'</span>;
+0679 AO.(ifam).FamilyName           = <span class="string">'JPEN'</span>;
+0680 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PenningGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0681 AO.(ifam).Monitor.Mode         = Mode;
+0682 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0683 
+0684 map     = tango_get_db_property(<span class="string">'booster'</span>,<span class="string">'jauge_penning'</span>);
+0685 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+0686 
+0687 nb = size(map,2);
+0688 <span class="keyword">for</span> k = 1:nb,
+0689     <span class="keyword">switch</span> map{k}(1:6)
+0690         <span class="keyword">case</span> <span class="string">'BOO-B1'</span>
+0691             k1 = 1;
+0692         <span class="keyword">case</span> <span class="string">'BOO-Bi'</span>
+0693             k1 = 2;
+0694         <span class="keyword">case</span> <span class="string">'BOO-B2'</span>
+0695             k1 = 3;
+0696         <span class="keyword">case</span> <span class="string">'BOO-Be'</span>
+0697             k1 = 4;
+0698         <span class="keyword">case</span> <span class="string">'BOO-B3'</span>
+0699             k1 = 5;
+0700         <span class="keyword">case</span> <span class="string">'BOO-B4'</span>
+0701             k1 = 6;
+0702     <span class="keyword">end</span>            
+0703     AO.(ifam).DeviceList(k,:)  = [k1 str2double(map{k}(numindex(k)))];
+0704     AO.(ifam).ElementList(k,:) = k;
+0705     AO.(ifam).CommonNames(k,:) = [<span class="string">'JPEN'</span> num2str(ik)];
+0706 <span class="keyword">end</span>
+0707 
+0708 AO.(ifam).Status                   = ones(nb,1);
+0709 AO.(ifam).DeviceName               = map';
+0710 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0711 AO.(ifam).ElementList              = (1:nb)';
+0712 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0713 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0714 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0715 AO.(ifam).Monitor.Physics2HWParams = 1;
+0716 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0717 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0718 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0719 
+0720 <span class="comment">%% Pirani Gauges</span>
+0721 ifam = <span class="string">'JPIR'</span>;
+0722 AO.(ifam).FamilyName           = <span class="string">'JPIR'</span>;
+0723 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PiraniGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0724 AO.(ifam).Monitor.Mode         = Mode;
+0725 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0726 
+0727 map     = tango_get_db_property(<span class="string">'booster'</span>,<span class="string">'jauge_pirani'</span>);
+0728 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+0729 
+0730 nb = size(map,2);
+0731 <span class="keyword">for</span> k = 1:nb,
+0732     <span class="keyword">switch</span> map{k}(1:6)
+0733         <span class="keyword">case</span> <span class="string">'BOO-B1'</span>
+0734             k1 = 1;
+0735         <span class="keyword">case</span> <span class="string">'BOO-Bi'</span>
+0736             k1 = 2;
+0737         <span class="keyword">case</span> <span class="string">'BOO-B2'</span>
+0738             k1 = 3;
+0739         <span class="keyword">case</span> <span class="string">'BOO-Be'</span>
+0740             k1 = 4;
+0741         <span class="keyword">case</span> <span class="string">'BOO-B3'</span>
+0742             k1 = 5;
+0743         <span class="keyword">case</span> <span class="string">'BOO-B4'</span>
+0744             k1 = 6;
+0745     <span class="keyword">end</span>            
+0746     AO.(ifam).DeviceList(k,:)  = [k1 str2double(map{k}(numindex(k)))];
+0747     AO.(ifam).ElementList(k,:) = k;
+0748     AO.(ifam).CommonNames(k,:) = [<span class="string">'JPIR'</span> num2str(ik)];
+0749 <span class="keyword">end</span>
+0750 
+0751 AO.(ifam).Status                   = ones(nb,1);
+0752 AO.(ifam).DeviceName               = map';
+0753 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0754 AO.(ifam).ElementList              = (1:nb)';
+0755 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0756 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0757 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0758 AO.(ifam).Monitor.Physics2HWParams = 1;
+0759 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0760 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0761 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0762 
+0763 <span class="comment">%====</span>
+0764 <span class="comment">%% DCCT</span>
+0765 <span class="comment">%====</span>
+0766 ifam=ifam+1;
+0767 AO.DCCT.FamilyName                     = <span class="string">'DCCT'</span>;
+0768 AO.DCCT.FamilyType                     = <span class="string">'Diagnostic'</span>;
+0769 AO.DCCT.MemberOf                       = {<span class="string">'Diagnostics'</span>,<span class="string">'Archivable'</span>,<span class="string">'Plotfamily'</span>};
+0770 AO.DCCT.CommonNames                    = <span class="string">'DCCT'</span>;
+0771 AO.DCCT.DeviceList                     = [1 1; 1 2];
+0772 AO.DCCT.ElementList                    = (1:2)';
+0773 AO.DCCT.Status                         = AO.DCCT.ElementList;
+0774 
+0775 AO.DCCT.Monitor.Mode                   = Mode;
+0776 AO.DCCT.FamilyName                     = <span class="string">'DCCT'</span>;
+0777 AO.DCCT.deviceName                     = <span class="string">'BOO-C01/DG/DCCT'</span>;
+0778 AO.DCCT.Monitor.DataType               = <span class="string">'Scalar'</span>;
+0779 AO.DCCT.Monitor.TangoNames             = [<span class="string">'BOO-C01/DG/DCCT/iInj'</span>; <span class="string">'BOO-C01/DG/DCCT/iExt'</span>]; <span class="comment">%afin de ne pas avoir de bug</span>
+0780 AO.DCCT.Monitor.Units                  = <span class="string">'Hardware'</span>;
+0781 AO.DCCT.Monitor.Handles                = NaN;
+0782 AO.DCCT.Monitor.HWUnits                = <span class="string">'milli-ampere'</span>;
+0783 AO.DCCT.Monitor.PhysicsUnits           = <span class="string">'A'</span>;
+0784 AO.DCCT.Monitor.HW2PhysicsParams       = 1;
+0785 AO.DCCT.Monitor.Physics2HWParams       = 1;
+0786 
+0787 <span class="comment">%============</span>
+0788 <span class="comment">%% RF System</span>
+0789 <span class="comment">%============</span>
+0790 ifam = <span class="string">'RF'</span>;
+0791 AO.(ifam).FamilyName                = ifam;
+0792 AO.(ifam).FamilyType                = <span class="string">'RF'</span>;
+0793 AO.(ifam).MemberOf                  = {<span class="string">'RF'</span>,<span class="string">'RFSystem'</span>};
+0794 AO.(ifam).Status                    = 1;
+0795 AO.(ifam).CommonNames               = <span class="string">'RF'</span>;
+0796 AO.(ifam).DeviceList                = [1 1];
+0797 AO.(ifam).ElementList               = 1;
+0798 AO.(ifam).DeviceName(:,:)           = {<span class="string">'BOO/RF/MasterClock/'</span>};
+0799 
+0800 <span class="comment">%Frequency Readback</span>
+0801 AO.(ifam).Monitor.Mode                = Mode;
+0802 AO.(ifam).Monitor.DataType            = <span class="string">'Scalar'</span>;
+0803 AO.(ifam).Monitor.Units               = <span class="string">'Hardware'</span>;
+0804 AO.(ifam).Monitor.HW2PhysicsParams    = 1e+6;       <span class="comment">%no hw2physics function necessary</span>
+0805 AO.(ifam).Monitor.Physics2HWParams    = 1e-6;
+0806 AO.(ifam).Monitor.HWUnits             = <span class="string">'MHz'</span>;
+0807 AO.(ifam).Monitor.PhysicsUnits        = <span class="string">'Hz'</span>;
+0808 AO.(ifam).Monitor.TangoNames          = {<span class="string">'ANS/RF/MasterClock/frequency'</span>};
+0809 AO.(ifam).Monitor.Handles             = NaN;
+0810 AO.(ifam).Monitor.Range               = [350e6 360e6];
+0811 
+0812 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0813 AO.(ifam).Desired  = AO.(ifam).Monitor;
+0814 
+0815 
+0816 <span class="comment">%=====================</span>
+0817 <span class="comment">%% Gamma Monitors DOSE</span>
+0818 <span class="comment">%====================</span>
+0819 ifam = ifam+1;
+0820 AO.CIGdose.FamilyName                     = <span class="string">'CIGdose'</span>;
+0821 AO.CIGdose.FamilyType                     = <span class="string">'Radioprotection'</span>;
+0822 AO.CIGdose.MemberOf                       = {<span class="string">'Radioprotection'</span>,<span class="string">'Archivable'</span>,<span class="string">'Plotfamily'</span>};
+0823 AO.CIGdose.CommonNames                    = <span class="string">'CIG'</span>;
+0824 
+0825 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'gammamonitor_mapping'</span>);
+0826 AO.CIGdose.DeviceName = map';
+0827 
+0828 AO.CIGdose.Monitor.Mode                   = Mode;
+0829 AO.CIGdose.FamilyName                     = <span class="string">'CIGdose'</span>;
+0830 AO.CIGdose.Monitor.DataType               = <span class="string">'Scalar'</span>;
+0831 
+0832 nb = length(AO.CIGdose.DeviceName); 
+0833 AO.CIGdose.DeviceList                     = [ones(1,nb); (1:nb)]';
+0834 AO.CIGdose.ElementList                    = (1:nb)';
+0835 AO.CIGdose.Status                         = ones(nb,1);
+0836 
+0837 AO.CIGdose.Monitor.TangoNames            = strcat(AO.CIGdose.DeviceName,<span class="string">'/dose'</span>); 
+0838 
+0839 ;<span class="comment">%afin de ne pas avoir de bug</span>
+0840 AO.CIGdose.Monitor.Units                  = <span class="string">'Hardware'</span>;
+0841 AO.CIGdose.Monitor.Handles                = NaN;
+0842 AO.CIGdose.Monitor.HWUnits                = <span class="string">'uGy'</span>;
+0843 AO.CIGdose.Monitor.PhysicsUnits           = <span class="string">'uGy'</span>;
+0844 AO.CIGdose.Monitor.HW2PhysicsParams       = 1;
+0845 AO.CIGdose.Monitor.Physics2HWParams       = 1;
+0846 
+0847 <span class="comment">%=========================</span>
+0848 <span class="comment">%% Gamma Monitors DOSErate</span>
+0849 <span class="comment">%=========================</span>
+0850 
+0851 ifam = ifam+1;
+0852 
+0853 AO.CIGrate = AO.CIGdose;
+0854 AO.CIGrate.FamilyName                     = <span class="string">'CIGrate'</span>;
+0855 AO.CIGrate.CommonNames                    = <span class="string">'CIGrate'</span>;
+0856 AO.CIGrate.FamilyName                     = <span class="string">'CIGrate'</span>;
+0857 
+0858 nb = length(AO.CIGrate.DeviceName); 
+0859 AO.CIGrate.Status                         = ones(nb,1);
+0860 
+0861 AO.CIGrate.Monitor.TangoNames            = strcat(AO.CIGrate.DeviceName,<span class="string">'/doseRate'</span>); 
+0862 
+0863 <span class="comment">%afin de ne pas avoir de bug</span>
+0864 AO.CIG.Monitor.HWUnits                = <span class="string">'uGy/h'</span>;
+0865 AO.CIG.Monitor.PhysicsUnits           = <span class="string">'uGy/h'</span>;
+0866 
+0867 <span class="comment">%==================</span>
+0868 <span class="comment">%Machine Parameters</span>
+0869 <span class="comment">%==================</span>
+0870 AO.MachineParameters.FamilyName                = <span class="string">'MachineParameters'</span>;
+0871 AO.MachineParameters.FamilyType                = <span class="string">'Parameter'</span>;
+0872 AO.MachineParameters.MemberOf                  = {<span class="string">'Diagnostics'</span>};
+0873 AO.MachineParameters.Status                    = [1 1 1 1]';
+0874 
+0875 AO.MachineParameters.Monitor.Mode              = Mode;
+0876 AO.MachineParameters.Monitor.DataType          = <span class="string">'Scalar'</span>;
+0877 AO.MachineParameters.Monitor.Units             = <span class="string">'Hardware'</span>;
+0878 
+0879 <span class="comment">%use spear2 process variable names</span>
+0880 mp={
+0881     <span class="string">'mode    '</span>    <span class="string">'SPEAR:BeamStatus  '</span>          [1 1]  1; <span class="keyword">...</span>
+0882     <span class="string">'energy  '</span>    <span class="string">'SPEAR:Energy      '</span>          [1 2]  2; <span class="keyword">...</span>
+0883     <span class="string">'current '</span>    <span class="string">'SPEAR:BeamCurrAvg '</span>          [1 3]  3; <span class="keyword">...</span>
+0884     <span class="string">'lifetime'</span>    <span class="string">'SPEAR:BeamLifetime'</span>          [1 4]  4; <span class="keyword">...</span>
+0885     };
+0886 AO.MachineParameters.Monitor.HWUnits          = <span class="string">' '</span>;
+0887 AO.MachineParameters.Monitor.PhysicsUnits     = <span class="string">' '</span>;
+0888 
+0889 AO.MachineParameters.Setpoint.HWUnits         = <span class="string">' '</span>;
+0890 AO.MachineParameters.Setpoint.PhysicsUnits    = <span class="string">' '</span>;
+0891 
+0892 <span class="keyword">for</span> ii=1:size(mp,1)
+0893     name  =mp(ii,1);    AO.MachineParameters.CommonNames(ii,:)            = char(name{1});
+0894     <span class="comment">%     name  =mp(ii,2);    AO.MachineParameters.Monitor.ChannelNames(ii,:)   = char(name{1});</span>
+0895     <span class="comment">%     name  =mp(ii,2);    AO.MachineParameters.Setpoint.ChannelNames(ii,:)  = char(name{1});</span>
+0896     val   =mp(ii,3);    AO.MachineParameters.DeviceList(ii,:)             = val{1};
+0897     val   =mp(ii,4);    AO.MachineParameters.ElementList(ii,:)            = val{1};
+0898 
+0899     AO.MachineParameters.Monitor.HW2PhysicsParams(ii,:)    = 1;
+0900     AO.MachineParameters.Monitor.Physics2HWParams(ii,:)    = 1;
+0901     AO.MachineParameters.Monitor.Handles(ii,1)  = NaN;
+0902     AO.MachineParameters.Setpoint.HW2PhysicsParams(ii,:)   = 1;
+0903     AO.MachineParameters.Setpoint.Physics2HWParams(ii,:)   = 1;
+0904     AO.MachineParameters.Setpoint.Handles(ii,1)  = NaN;
+0905 <span class="keyword">end</span>
+0906 
+0907 <span class="comment">% Save AO</span>
+0908 setao(AO);
+0909 
+0910 <span class="comment">% The operational mode sets the path, filenames, and other important params</span>
+0911 <span class="comment">% Run setoperationalmode after most of the AO is built so that the Units and Mode fields</span>
+0912 <span class="comment">% can be set in setoperationalmode</span>
+0913 
+0914 <a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>(OperationalMode);
+0915 
+0916 <span class="comment">%======================================================================</span>
+0917 <span class="comment">%======================================================================</span>
+0918 <span class="comment">%% Append Accelerator Toolbox information</span>
+0919 <span class="comment">%======================================================================</span>
+0920 <span class="comment">%======================================================================</span>
+0921 disp(<span class="string">'** Initializing Accelerator Toolbox information'</span>);
+0922 
+0923 AT = getao;
+0924 
+0925 ATindx = atindex(THERING);  <span class="comment">%structure with fields containing indices</span>
+0926 
+0927 s = findspos(THERING,1:length(THERING)+1)';
+0928 
+0929 <span class="comment">% Horizontal BPMS</span>
+0930 <span class="comment">% WARNING: BPM1 is the one before the injection straigth section</span>
+0931 <span class="comment">%          since a cell begins from begin of Straigths</span>
+0932 <span class="comment">% CELL1 BPM1 to BPM7</span>
+0933 ifam = (<span class="string">'BPMx'</span>);
+0934 AO.(ifam).AT.ATType  = ifam;
+0935 AO.(ifam).AT.ATIndex = ATindx.BPM(:);
+0936 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0937 
+0938 <span class="comment">% Vertical BPMS</span>
+0939 ifam = (<span class="string">'BPMz'</span>);
+0940 AO.(ifam).AT.ATType  = ifam;
+0941 AO.(ifam).AT.ATIndex = ATindx.BPM(:);
+0942 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);  
+0943 
+0944 <span class="comment">% SLOW HORIZONTAL CORRECTORS</span>
+0945 ifam = (<span class="string">'HCOR'</span>);
+0946 AO.(ifam).AT.ATType  = ifam;
+0947 AO.(ifam).AT.ATIndex = ATindx.HCOR(:);
+0948 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0949 
+0950 <span class="comment">% SLOW VERTICAL CORRECTORS</span>
+0951 ifam = (<span class="string">'VCOR'</span>);
+0952 AO.(ifam).AT.ATType  = ifam;
+0953 AO.(ifam).AT.ATIndex = ATindx.VCOR(:);
+0954 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);  
+0955 
+0956 <span class="comment">%% BENDING magnets</span>
+0957 ifam = (<span class="string">'BEND'</span>);
+0958 AO.(ifam).AT.ATType  = ifam;
+0959 AO.(ifam).AT.ATIndex = ATindx.BEND(:);
+0960 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0961 
+0962 <span class="comment">%% QF magnets</span>
+0963 ifam = (<span class="string">'QF'</span>);
+0964 AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+0965 AO.(ifam).AT.ATIndex = ATindx.QPF(:);
+0966 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0967 AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'K'</span>);
+0968 
+0969 <span class="comment">%% QD magnets</span>
+0970 ifam = (<span class="string">'QD'</span>);
+0971 AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+0972 AO.(ifam).AT.ATIndex = ATindx.QPD(:);
+0973 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0974 AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'K'</span>);
+0975 
+0976 <span class="comment">%% SF magnets</span>
+0977 ifam = (<span class="string">'SF'</span>);
+0978 AO.(ifam).AT.ATType  = <span class="string">'SEXT'</span>;
+0979 AO.(ifam).AT.ATIndex = ATindx.SXF(:);
+0980 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0981 AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'K2'</span>);
+0982 
+0983 <span class="comment">%% SD magnets</span>
+0984 ifam = (<span class="string">'SD'</span>);
+0985 AO.(ifam).AT.ATType  = <span class="string">'SEXT'</span>;
+0986 AO.(ifam).AT.ATIndex = ATindx.SXD(:);
+0987 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0988 AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'S'</span>);
+0989 
+0990 <span class="comment">% RF Cavity</span>
+0991 ifam = (<span class="string">'RF'</span>);
+0992 AO.(ifam).AT.ATType = <span class="string">'RF Cavity'</span>;
+0993 AO.(ifam).AT.ATIndex = findcells(THERING,<span class="string">'Frequency'</span>)';
+0994 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0995 
+0996 <span class="comment">% Save AO</span>
+0997 setao(AO);
+0998 
+0999 <span class="keyword">if</span> iscontrolroom
+1000     switch2online;
+1001 <span class="keyword">else</span>
+1002     switch2sim;
+1003 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/boostersetup.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/boostersetup.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/boostersetup.html	(revision 17)
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of boostersetup</title>
+  <meta name="keywords" content="boostersetup">
+  <meta name="description" content="BoosterSETUP - GUI for doing Booster setup">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; boostersetup.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>boostersetup
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>BoosterSETUP - GUI for doing Booster setup</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function Boostersetup </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">BoosterSETUP - GUI for doing Booster setup</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="boosterinit.html" class="code" title="function boosterinit(OperationalMode)">boosterinit</a>	BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Boostersetup</a>
+0002 <span class="comment">%BoosterSETUP - GUI for doing Booster setup</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Written by Laurent S. Nadolski</span>
+0006 
+0007 AD = getad;
+0008 
+0009 <span class="keyword">if</span> isempty(AD) 
+0010     <a href="boosterinit.html" class="code" title="function boosterinit(OperationalMode)">boosterinit</a>;
+0011 <span class="keyword">elseif</span> ~strcmpi(AD.SubMachine,<span class="string">'Booster'</span>)
+0012     Boosterinit;
+0013 <span class="keyword">end</span>
+0014 
+0015 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'Boostersetup'</span>); 
+0016 
+0017 <span class="keyword">if</span> ~isempty(orbfig), delete(orbfig); <span class="keyword">end</span>
+0018 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'Boostersetup'</span>); 
+0019 
+0020 
+0021 kmax = 8; <span class="comment">% button number</span>
+0022 
+0023 height = 10 + kmax*30 + 30; <span class="comment">%670;</span>
+0024 a = figure(<span class="string">'Color'</span>,[0.8 0.8 0.8], <span class="keyword">...</span>
+0025     <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0026     <span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0027     <span class="string">'MenuBar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span>
+0028     <span class="string">'Name'</span>, <span class="string">'Booster Command Launcher'</span>, <span class="keyword">...</span>
+0029     <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0030     <span class="string">'Units'</span>,<span class="string">'pixels'</span>, <span class="keyword">...</span>
+0031     <span class="string">'Position'</span>,[5 70 210*3 height], <span class="keyword">...</span>
+0032     <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0033     <span class="string">'Tag'</span>,<span class="string">'Boostersetup'</span>);
+0034 
+0035 height = height - 35;
+0036 
+0037 <span class="keyword">for</span> k = 1:kmax,
+0038     b1(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0039         <span class="string">'Position'</span>,[3 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0040         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0041         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0042 <span class="keyword">end</span>
+0043 
+0044 <span class="keyword">for</span> k = 1:kmax,
+0045     b2(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0046         <span class="string">'Position'</span>,[3 + 210 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0047         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0048         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0049 <span class="keyword">end</span>
+0050 
+0051 <span class="keyword">for</span> k = 1:kmax,
+0052     b3(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0053         <span class="string">'Position'</span>,[3 + 210*2 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0054         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0055         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0056 <span class="keyword">end</span>
+0057 
+0058 set(b1(1), <span class="string">'Callback'</span>,<span class="string">'disp([''   Boosterinit;'']); cd(getenv(''MLROOT'')); setpathsoleil(''Booster'');'</span>, <span class="string">'String'</span>,<span class="string">'Boosterinit'</span>);
+0059 set(b1(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Fichiers de Consignes;'']); configgui;;'</span>, <span class="string">'String'</span>,<span class="string">'Fichiers de Consignes'</span>);
+0060 set(b1(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   Timing;'']); synchro_injecteur6;'</span>, <span class="string">'String'</span>,<span class="string">'Synchronisation dÃ©finitive'</span>);
+0061 set(b1(4), <span class="string">'Callback'</span>,<span class="string">'save_boo'</span>, <span class="string">'String'</span>,<span class="string">'Fichier de consigne'</span>);
+0062 set(b1(5), <span class="string">'Callback'</span>,<span class="string">'NombreOnde_AL_DCCT'</span>, <span class="string">'String'</span>,<span class="string">'Nombres d'' onde'</span>);
+0063 set(b1(6), <span class="string">'Callback'</span>,<span class="string">'tune1'</span>, <span class="string">'String'</span>,<span class="string">'RÃ©glage injection'</span>);
+0064 set(b1(7), <span class="string">'Callback'</span>,<span class="string">'tango_archiving_config'</span>, <span class="string">'String'</span>,<span class="string">'Archivage'</span>);
+0065 set(b1(8), <span class="string">'Callback'</span>,<span class="string">'qart_inject'</span>, <span class="string">'String'</span>,<span class="string">'injection par quart'</span>);
+0066 set(b2(1), <span class="string">'Callback'</span>,<span class="string">'bpmconfigurator;'</span>, <span class="string">'String'</span>,<span class="string">'Configuration BPM'</span>);
+0067 set(b2(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   orbitX_AT;'']); orbitX_AT;'</span>, <span class="string">'String'</span>,<span class="string">'orbitX'</span>);
+0068 set(b2(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   orbitZ_AT;'']); orbitZ_AT;'</span>, <span class="string">'String'</span>,<span class="string">'orbitZ'</span>);
+0069 set(b2(4), <span class="string">'Callback'</span>,<span class="string">'anabpmfirstturn([],''NoDisplay'');'</span>, <span class="string">'String'</span>,<span class="string">'Orbite premier tour'</span>);
+0070 set(b2(5), <span class="string">'Callback'</span>,<span class="string">'getbpmBN(''Injection'');'</span>, <span class="string">'String'</span>,<span class="string">'Orbite injection'</span>);
+0071 set(b2(6), <span class="string">'Callback'</span>,<span class="string">'getbpmBN(''Extraction'');'</span>, <span class="string">'String'</span>,<span class="string">'Orbite extraction'</span>);
+0072 set(b2(7), <span class="string">'Callback'</span>,<span class="string">'ACenergie1;'</span>, <span class="string">'String'</span>,<span class="string">'AC energie'</span>);
+0073 set(b2(8), <span class="string">'Callback'</span>,<span class="string">'ACtune;'</span>, <span class="string">'String'</span>,<span class="string">'AC tune'</span>);
+0074 
+0075 set(b3(1), <span class="string">'Callback'</span>,<span class="string">'disp([''   Gamma monitors: dose;'']); figure(201);bar(getam(''CIGdose''));'</span>, <span class="string">'String'</span>,<span class="string">'Moniteurs gamma : dose'</span>);
+0076 set(b3(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Gamma monitors: dÃ©bit de dose;'']); figure(201);bar(getam(''CIGrate''));'</span>, <span class="string">'String'</span>,<span class="string">'Moniteurs gamma : dÃ©bit de dose'</span>);
+0077 set(b3(3), <span class="string">'Callback'</span>,<span class="string">'plotfamily'</span>, <span class="string">'String'</span>,<span class="string">'Plotfamily'</span>);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/configBPMgui.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/configBPMgui.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/configBPMgui.html	(revision 17)
@@ -0,0 +1,461 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of configBPMgui</title>
+  <meta name="keywords" content="configBPMgui">
+  <meta name="description" content="CONFIGBPMGUI M-file for configBPMgui.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; configBPMgui.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>configBPMgui
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>CONFIGBPMGUI M-file for configBPMgui.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = configBPMgui(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> CONFIGBPMGUI M-file for configBPMgui.fig
+      CONFIGBPMGUI, by itself, creates a new CONFIGBPMGUI or raises the existing
+      singleton*.
+
+      H = CONFIGBPMGUI returns the handle to a new CONFIGBPMGUI or the handle to
+      the existing singleton*.
+
+      CONFIGBPMGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in CONFIGBPMGUI.M with the given input arguments.
+
+      CONFIGBPMGUI('Property','Value',...) creates a new CONFIGBPMGUI or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before configBPMgui_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to configBPMgui_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function configBPMgui_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = configBPMgui_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function checkbox_BPM1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function checkbox_BPM2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function checkbox_BPM3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function checkbox_BPM4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function checkbox_BPM5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function checkbox_BPM6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function BPM7_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function pushbutton_command_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function checkbox_selectall_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function checkbox_selectnone_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function edit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function popupmenu_mode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function popupmenu_mode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function pushbutton_refresh_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function checkbox_BPM12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function checkbox_BPM13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function checkbox_BPM14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function checkbox_BPM15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function checkbox_BPM16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function checkbox15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function checkbox16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function checkbox_BPM7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function checkbox_BPM8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function checkbox_BPM9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function checkbox_BPM20_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function checkbox_BPM11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function checkbox_BPM18_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function checkbox_BPM19_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function checkbox25_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function checkbox_BPM21_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function checkbox_BPM22_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = configBPMgui(varargin)</a>
+0002 <span class="comment">% CONFIGBPMGUI M-file for configBPMgui.fig</span>
+0003 <span class="comment">%      CONFIGBPMGUI, by itself, creates a new CONFIGBPMGUI or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = CONFIGBPMGUI returns the handle to a new CONFIGBPMGUI or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      CONFIGBPMGUI('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in CONFIGBPMGUI.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      CONFIGBPMGUI('Property','Value',...) creates a new CONFIGBPMGUI or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before configBPMgui_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to configBPMgui_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span>
+0024 
+0025 <span class="comment">% Edit the above text to modify the response to help configBPMgui</span>
+0026 
+0027 <span class="comment">% Last Modified by GUIDE v2.5 09-Sep-2005 17:57:20</span>
+0028 
+0029 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0030 gui_Singleton = 1;
+0031 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0032                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0033                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction configBPMgui_OpeningFcn(hObject, eventdata, handles, varargin)">configBPMgui_OpeningFcn</a>, <span class="keyword">...</span>
+0034                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = configBPMgui_OutputFcn(hObject, eventdata, handles)">configBPMgui_OutputFcn</a>, <span class="keyword">...</span>
+0035                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0036                    <span class="string">'gui_Callback'</span>,   []);
+0037 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0038     gui_State.gui_Callback = str2func(varargin{1});
+0039 <span class="keyword">end</span>
+0040 
+0041 <span class="keyword">if</span> nargout
+0042     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">else</span>
+0044     gui_mainfcn(gui_State, varargin{:});
+0045 <span class="keyword">end</span>
+0046 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0047 
+0048 
+0049 <span class="comment">% --- Executes just before configBPMgui is made visible.</span>
+0050 <a name="_sub1" href="#_subfunctions" class="code">function configBPMgui_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0051 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0052 <span class="comment">% hObject    handle to figure</span>
+0053 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0054 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0055 <span class="comment">% varargin   command line arguments to configBPMgui (see VARARGIN)</span>
+0056 
+0057 <span class="comment">% Choose default command line output for configBPMgui</span>
+0058 handles.output = hObject;
+0059 
+0060 <span class="comment">% Update handles structure</span>
+0061 guidata(hObject, handles);
+0062 
+0063 <span class="comment">% UIWAIT makes configBPMgui wait for user response (see UIRESUME)</span>
+0064 <span class="comment">% uiwait(handles.figure1);</span>
+0065 
+0066 
+0067 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0068 <a name="_sub2" href="#_subfunctions" class="code">function varargout = configBPMgui_OutputFcn(hObject, eventdata, handles) </a>
+0069 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0070 <span class="comment">% hObject    handle to figure</span>
+0071 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0072 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0073 
+0074 <span class="comment">% Get default command line output from handles structure</span>
+0075 varargout{1} = handles.output;
+0076 
+0077 
+0078 <span class="comment">% --- Executes on button press in checkbox_BPM1.</span>
+0079 <a name="_sub3" href="#_subfunctions" class="code">function checkbox_BPM1_Callback(hObject, eventdata, handles)</a>
+0080 <span class="comment">% hObject    handle to checkbox_BPM1 (see GCBO)</span>
+0081 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0082 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0083 
+0084 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM1</span>
+0085 
+0086 
+0087 <span class="comment">% --- Executes on button press in checkbox_BPM2.</span>
+0088 <a name="_sub4" href="#_subfunctions" class="code">function checkbox_BPM2_Callback(hObject, eventdata, handles)</a>
+0089 <span class="comment">% hObject    handle to checkbox_BPM2 (see GCBO)</span>
+0090 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0091 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0092 
+0093 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM2</span>
+0094 
+0095 
+0096 <span class="comment">% --- Executes on button press in checkbox_BPM3.</span>
+0097 <a name="_sub5" href="#_subfunctions" class="code">function checkbox_BPM3_Callback(hObject, eventdata, handles)</a>
+0098 <span class="comment">% hObject    handle to checkbox_BPM3 (see GCBO)</span>
+0099 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0100 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0101 
+0102 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM3</span>
+0103 
+0104 
+0105 <span class="comment">% --- Executes on button press in checkbox_BPM4.</span>
+0106 <a name="_sub6" href="#_subfunctions" class="code">function checkbox_BPM4_Callback(hObject, eventdata, handles)</a>
+0107 <span class="comment">% hObject    handle to checkbox_BPM4 (see GCBO)</span>
+0108 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0109 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0110 
+0111 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM4</span>
+0112 
+0113 
+0114 <span class="comment">% --- Executes on button press in checkbox_BPM5.</span>
+0115 <a name="_sub7" href="#_subfunctions" class="code">function checkbox_BPM5_Callback(hObject, eventdata, handles)</a>
+0116 <span class="comment">% hObject    handle to checkbox_BPM5 (see GCBO)</span>
+0117 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0118 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0119 
+0120 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM5</span>
+0121 
+0122 
+0123 <span class="comment">% --- Executes on button press in checkbox_BPM6.</span>
+0124 <a name="_sub8" href="#_subfunctions" class="code">function checkbox_BPM6_Callback(hObject, eventdata, handles)</a>
+0125 <span class="comment">% hObject    handle to checkbox_BPM6 (see GCBO)</span>
+0126 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0127 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0128 
+0129 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM6</span>
+0130 
+0131 
+0132 <span class="comment">% --- Executes on button press in BPM7_checkbox.</span>
+0133 <a name="_sub9" href="#_subfunctions" class="code">function BPM7_checkbox_Callback(hObject, eventdata, handles)</a>
+0134 <span class="comment">% hObject    handle to BPM7_checkbox (see GCBO)</span>
+0135 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0136 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0137 
+0138 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM7_checkbox</span>
+0139 
+0140 
+0141 <span class="comment">% --- Executes on selection change in popupmenu_command.</span>
+0142 <a name="_sub10" href="#_subfunctions" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a>
+0143 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0144 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0145 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0146 
+0147 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array</span>
+0148 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_command</span>
+0149 
+0150 
+0151 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0152 <a name="_sub11" href="#_subfunctions" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a>
+0153 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0154 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0155 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0156 
+0157 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0158 <span class="comment">%       See ISPC and COMPUTER.</span>
+0159 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0160     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0161 <span class="keyword">end</span>
+0162 
+0163 
+0164 <span class="comment">% --- Executes on button press in pushbutton_command.</span>
+0165 <a name="_sub12" href="#_subfunctions" class="code">function pushbutton_command_Callback(hObject, eventdata, handles)</a>
+0166 <span class="comment">% hObject    handle to pushbutton_command (see GCBO)</span>
+0167 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0168 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0169 
+0170 
+0171 <span class="comment">% --- Executes on button press in checkbox_selectall.</span>
+0172 <a name="_sub13" href="#_subfunctions" class="code">function checkbox_selectall_Callback(hObject, eventdata, handles)</a>
+0173 <span class="comment">% hObject    handle to checkbox_selectall (see GCBO)</span>
+0174 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0175 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0176 
+0177 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_selectall</span>
+0178 
+0179 
+0180 <span class="comment">% --- Executes on button press in checkbox_selectnone.</span>
+0181 <a name="_sub14" href="#_subfunctions" class="code">function checkbox_selectnone_Callback(hObject, eventdata, handles)</a>
+0182 <span class="comment">% hObject    handle to checkbox_selectnone (see GCBO)</span>
+0183 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0184 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0185 
+0186 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_selectnone</span>
+0187 
+0188 
+0189 
+0190 <a name="_sub15" href="#_subfunctions" class="code">function edit1_Callback(hObject, eventdata, handles)</a>
+0191 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0192 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0193 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0194 
+0195 <span class="comment">% Hints: get(hObject,'String') returns contents of edit1 as text</span>
+0196 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit1 as a double</span>
+0197 
+0198 
+0199 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0200 <a name="_sub16" href="#_subfunctions" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a>
+0201 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0202 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0203 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0204 
+0205 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0206 <span class="comment">%       See ISPC and COMPUTER.</span>
+0207 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0208     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0209 <span class="keyword">end</span>
+0210 
+0211 
+0212 <span class="comment">% --- Executes on selection change in popupmenu_mode.</span>
+0213 <a name="_sub17" href="#_subfunctions" class="code">function popupmenu_mode_Callback(hObject, eventdata, handles)</a>
+0214 <span class="comment">% hObject    handle to popupmenu_mode (see GCBO)</span>
+0215 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0216 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0217 
+0218 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_mode contents as cell array</span>
+0219 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_mode</span>
+0220 
+0221 
+0222 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0223 <a name="_sub18" href="#_subfunctions" class="code">function popupmenu_mode_CreateFcn(hObject, eventdata, handles)</a>
+0224 <span class="comment">% hObject    handle to popupmenu_mode (see GCBO)</span>
+0225 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0226 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0227 
+0228 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0229 <span class="comment">%       See ISPC and COMPUTER.</span>
+0230 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0231     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0232 <span class="keyword">end</span>
+0233 
+0234 
+0235 <span class="comment">% --- Executes on button press in pushbutton_refresh.</span>
+0236 <a name="_sub19" href="#_subfunctions" class="code">function pushbutton_refresh_Callback(hObject, eventdata, handles)</a>
+0237 <span class="comment">% hObject    handle to pushbutton_refresh (see GCBO)</span>
+0238 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0239 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0240 
+0241 
+0242 <span class="comment">% --- Executes on button press in checkbox_BPM12.</span>
+0243 <a name="_sub20" href="#_subfunctions" class="code">function checkbox_BPM12_Callback(hObject, eventdata, handles)</a>
+0244 <span class="comment">% hObject    handle to checkbox_BPM12 (see GCBO)</span>
+0245 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0246 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0247 
+0248 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM12</span>
+0249 
+0250 
+0251 <span class="comment">% --- Executes on button press in checkbox_BPM13.</span>
+0252 <a name="_sub21" href="#_subfunctions" class="code">function checkbox_BPM13_Callback(hObject, eventdata, handles)</a>
+0253 <span class="comment">% hObject    handle to checkbox_BPM13 (see GCBO)</span>
+0254 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0255 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0256 
+0257 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM13</span>
+0258 
+0259 
+0260 <span class="comment">% --- Executes on button press in checkbox_BPM14.</span>
+0261 <a name="_sub22" href="#_subfunctions" class="code">function checkbox_BPM14_Callback(hObject, eventdata, handles)</a>
+0262 <span class="comment">% hObject    handle to checkbox_BPM14 (see GCBO)</span>
+0263 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0264 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0265 
+0266 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM14</span>
+0267 
+0268 
+0269 <span class="comment">% --- Executes on button press in checkbox_BPM15.</span>
+0270 <a name="_sub23" href="#_subfunctions" class="code">function checkbox_BPM15_Callback(hObject, eventdata, handles)</a>
+0271 <span class="comment">% hObject    handle to checkbox_BPM15 (see GCBO)</span>
+0272 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0273 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0274 
+0275 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM15</span>
+0276 
+0277 
+0278 <span class="comment">% --- Executes on button press in checkbox_BPM16.</span>
+0279 <a name="_sub24" href="#_subfunctions" class="code">function checkbox_BPM16_Callback(hObject, eventdata, handles)</a>
+0280 <span class="comment">% hObject    handle to checkbox_BPM16 (see GCBO)</span>
+0281 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0282 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0283 
+0284 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM16</span>
+0285 
+0286 
+0287 <span class="comment">% --- Executes on button press in checkbox15.</span>
+0288 <a name="_sub25" href="#_subfunctions" class="code">function checkbox15_Callback(hObject, eventdata, handles)</a>
+0289 <span class="comment">% hObject    handle to checkbox15 (see GCBO)</span>
+0290 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0291 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0292 
+0293 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox15</span>
+0294 
+0295 
+0296 <span class="comment">% --- Executes on button press in checkbox16.</span>
+0297 <a name="_sub26" href="#_subfunctions" class="code">function checkbox16_Callback(hObject, eventdata, handles)</a>
+0298 <span class="comment">% hObject    handle to checkbox16 (see GCBO)</span>
+0299 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0300 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0301 
+0302 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox16</span>
+0303 
+0304 
+0305 <span class="comment">% --- Executes on button press in checkbox_BPM7.</span>
+0306 <a name="_sub27" href="#_subfunctions" class="code">function checkbox_BPM7_Callback(hObject, eventdata, handles)</a>
+0307 <span class="comment">% hObject    handle to checkbox_BPM7 (see GCBO)</span>
+0308 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0309 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0310 
+0311 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM7</span>
+0312 
+0313 
+0314 <span class="comment">% --- Executes on button press in checkbox_BPM8.</span>
+0315 <a name="_sub28" href="#_subfunctions" class="code">function checkbox_BPM8_Callback(hObject, eventdata, handles)</a>
+0316 <span class="comment">% hObject    handle to checkbox_BPM8 (see GCBO)</span>
+0317 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0318 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0319 
+0320 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM8</span>
+0321 
+0322 
+0323 <span class="comment">% --- Executes on button press in checkbox_BPM9.</span>
+0324 <a name="_sub29" href="#_subfunctions" class="code">function checkbox_BPM9_Callback(hObject, eventdata, handles)</a>
+0325 <span class="comment">% hObject    handle to checkbox_BPM9 (see GCBO)</span>
+0326 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0327 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0328 
+0329 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM9</span>
+0330 
+0331 
+0332 <span class="comment">% --- Executes on button press in checkbox_BPM20.</span>
+0333 <a name="_sub30" href="#_subfunctions" class="code">function checkbox_BPM20_Callback(hObject, eventdata, handles)</a>
+0334 <span class="comment">% hObject    handle to checkbox_BPM20 (see GCBO)</span>
+0335 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0336 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0337 
+0338 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM20</span>
+0339 
+0340 
+0341 <span class="comment">% --- Executes on button press in checkbox_BPM11.</span>
+0342 <a name="_sub31" href="#_subfunctions" class="code">function checkbox_BPM11_Callback(hObject, eventdata, handles)</a>
+0343 <span class="comment">% hObject    handle to checkbox_BPM11 (see GCBO)</span>
+0344 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0345 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0346 
+0347 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM11</span>
+0348 
+0349 
+0350 <span class="comment">% --- Executes on button press in checkbox_BPM18.</span>
+0351 <a name="_sub32" href="#_subfunctions" class="code">function checkbox_BPM18_Callback(hObject, eventdata, handles)</a>
+0352 <span class="comment">% hObject    handle to checkbox_BPM18 (see GCBO)</span>
+0353 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0354 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0355 
+0356 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM18</span>
+0357 
+0358 
+0359 <span class="comment">% --- Executes on button press in checkbox_BPM19.</span>
+0360 <a name="_sub33" href="#_subfunctions" class="code">function checkbox_BPM19_Callback(hObject, eventdata, handles)</a>
+0361 <span class="comment">% hObject    handle to checkbox_BPM19 (see GCBO)</span>
+0362 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0363 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0364 
+0365 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM19</span>
+0366 
+0367 
+0368 <span class="comment">% --- Executes on button press in checkbox_BPM20.</span>
+0369 <a name="_sub34" href="#_subfunctions" class="code">function checkbox25_Callback(hObject, eventdata, handles)</a>
+0370 <span class="comment">% hObject    handle to checkbox_BPM20 (see GCBO)</span>
+0371 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0372 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0373 
+0374 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM20</span>
+0375 
+0376 
+0377 <span class="comment">% --- Executes on button press in checkbox_BPM21.</span>
+0378 <a name="_sub35" href="#_subfunctions" class="code">function checkbox_BPM21_Callback(hObject, eventdata, handles)</a>
+0379 <span class="comment">% hObject    handle to checkbox_BPM21 (see GCBO)</span>
+0380 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0381 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0382 
+0383 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM21</span>
+0384 
+0385 
+0386 <span class="comment">% --- Executes on button press in checkbox_BPM22.</span>
+0387 <a name="_sub36" href="#_subfunctions" class="code">function checkbox_BPM22_Callback(hObject, eventdata, handles)</a>
+0388 <span class="comment">% hObject    handle to checkbox_BPM22 (see GCBO)</span>
+0389 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0390 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0391 
+0392 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BPM22</span>
+0393 
+0394</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getbpmBN.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getbpmBN.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getbpmBN.html	(revision 17)
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getbpmBN</title>
+  <meta name="keywords" content="getbpmBN">
+  <meta name="description" content="GETBPMBN - get injection or extraction BPM in Booster normal mode">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; getbpmBN.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getbpmBN
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETBPMBN - get injection or extraction BPM in Booster normal mode</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [X Z] = getbpmBN(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETBPMBN - get injection or extraction BPM in Booster normal mode
+   
+
+  INPUTS
+  1. Injection - Orbit at injection {Default}
+     Extraction - Orbit at extraction
+  2. Display - Displays orbit {Default}
+     NoDisplay
+
+  OUTPUTS
+  1. X - Horizontal orbit
+  2. Z - Vertical orbit</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [X Z] = getbpmBN(varargin)</a>
+0002 <span class="comment">% GETBPMBN - get injection or extraction BPM in Booster normal mode</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. Injection - Orbit at injection {Default}</span>
+0007 <span class="comment">%     Extraction - Orbit at extraction</span>
+0008 <span class="comment">%  2. Display - Displays orbit {Default}</span>
+0009 <span class="comment">%     NoDisplay</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  OUTPUTS</span>
+0012 <span class="comment">%  1. X - Horizontal orbit</span>
+0013 <span class="comment">%  2. Z - Vertical orbit</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">%</span>
+0016 
+0017 <span class="comment">%</span>
+0018 <span class="comment">%  Written By Laurent S. Nadolski</span>
+0019 
+0020 
+0021 InjectionFlag = 1;
+0022 DisplayFlag = 1;
+0023 
+0024 <span class="keyword">for</span> i = length(varargin):-1:1
+0025     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0026         DisplayFlag = 1;
+0027         varargin2 = {varargin2{:} varargin{i}};
+0028         varargin(i) = [];
+0029     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0030         DisplayFlag = 0;
+0031         varargin2 = {varargin2{:} varargin{i}};
+0032         varargin(i) = [];
+0033     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Injection'</span>)
+0034         InjectionFlag = 1;
+0035     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Extraction'</span>)
+0036         InjectionFlag = 0;
+0037     <span class="keyword">end</span>
+0038 <span class="keyword">end</span>
+0039 
+0040 
+0041 <span class="keyword">if</span> (InjectionFlag)
+0042     Rep = tango_read_attribute2(<span class="string">'BOO/DG/BPM-MANAGER'</span>,<span class="string">'xInj'</span>);
+0043     X = Rep.value;
+0044 
+0045     Rep = tango_read_attribute2(<span class="string">'BOO/DG/BPM-MANAGER'</span>,<span class="string">'zInj'</span>);
+0046     Z = Rep.value;
+0047     stitle=(<span class="string">'Booster orbit at injection'</span>);
+0048 <span class="keyword">else</span>
+0049     Rep = tango_read_attribute2(<span class="string">'BOO/DG/BPM-MANAGER'</span>,<span class="string">'xExt'</span>);
+0050     X = Rep.value;
+0051 
+0052     Rep = tango_read_attribute2(<span class="string">'BOO/DG/BPM-MANAGER'</span>,<span class="string">'zExt'</span>);
+0053     Z = Rep.value;
+0054     stitle=(<span class="string">'Booster orbit at extraction'</span>);
+0055 <span class="keyword">end</span>
+0056 
+0057 <span class="keyword">if</span> DisplayFlag
+0058     figure(102);   
+0059     posvect = getspos(<span class="string">'BPMx'</span>);
+0060     h1 = subplot(7,1,[1 3]);    
+0061     plot(posvect, X,<span class="string">'r.-'</span>);
+0062     grid on
+0063     ylabel(<span class="string">'X (mm)'</span>);
+0064     axis([0 getcircumference -4 4]);
+0065     title(stitle);
+0066 
+0067     h2 = subplot(7,1,4);
+0068     drawlattice; hold on;
+0069     set(h2,<span class="string">'XTick'</span>,[],<span class="string">'YTick'</span>,[]);
+0070     
+0071     h3 = subplot(7,1,[5 7]);
+0072     plot(posvect, Z,<span class="string">'b.-'</span>);
+0073     grid on       
+0074     xlabel(<span class="string">'s (mm)'</span>)
+0075     ylabel(<span class="string">'Z (mm)'</span>); 
+0076 
+0077     <span class="comment">% links axes</span>
+0078     linkaxes([h1 h2 h3],<span class="string">'x'</span>);  
+0079     addlabel(1,0,datestr(clock));
+0080         
+0081 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getmeanorbit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getmeanorbit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getmeanorbit.html	(revision 17)
@@ -0,0 +1,114 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getmeanorbit</title>
+  <meta name="keywords" content="getmeanorbit">
+  <meta name="description" content="GETMEANORBIT - Compute mean orbit using turn by turn data">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; getmeanorbit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getmeanorbit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETMEANORBIT - Compute mean orbit using turn by turn data</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [Xmean Zmean] = getmeanorbit(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETMEANORBIT - Compute mean orbit using turn by turn data
+
+  INPUTS
+  1.
+
+  OUPUTS
+  1. Xmean - Mean horizontal orbit 
+  2. Z mean - Mean vertical orbit</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [Xmean Zmean] = getmeanorbit(varargin)</a>
+0002 <span class="comment">% GETMEANORBIT - Compute mean orbit using turn by turn data</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1.</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  OUPUTS</span>
+0008 <span class="comment">%  1. Xmean - Mean horizontal orbit</span>
+0009 <span class="comment">%  2. Z mean - Mean vertical orbit</span>
+0010 <span class="comment">%</span>
+0011 
+0012 <span class="comment">%</span>
+0013 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0014 
+0015 DisplayFlag = 1;
+0016 
+0017 <span class="comment">% Option parser</span>
+0018 <span class="keyword">for</span> i = length(varargin):-1:1
+0019     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0020         DisplayFlag = 1;
+0021         varargin(i) = [];
+0022     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0023         DisplayFlag = 0;
+0024         varargin(i) = [];
+0025     <span class="keyword">end</span>
+0026 <span class="keyword">end</span>
+0027 
+0028 
+0029 istart = 27;     <span class="comment">% depart lecture BPM</span>
+0030 iend = 400;      <span class="comment">% fin lecture BPM</span>
+0031 
+0032 bpmdata  = getbpmrawdata([],<span class="string">'nodisplay'</span>,<span class="string">'struct'</span>);
+0033 
+0034 Xmean = mean(bpmdata.Data.X(:,istart:iend)');
+0035 Zmean = mean(bpmdata.Data.Z(:,istart:iend)');
+0036 
+0037 <span class="keyword">if</span> DisplayFlag
+0038     figure(103);   
+0039     posvect = getspos(<span class="string">'BPMx'</span>);
+0040     h1 = subplot(7,1,[1 3]);    
+0041     plot(posvect, Xmean,<span class="string">'r.-'</span>);
+0042     grid on
+0043     ylabel(<span class="string">'X (mm)'</span>);
+0044     axis([0 getcircumference -11 11]);
+0045     title([<span class="string">'Mean orbit between '</span> num2str(istart) <span class="string">' and '</span> num2str(iend) <span class="string">' turns'</span>]);
+0046     ylim([-5 5])
+0047     
+0048     h2 = subplot(7,1,4);
+0049     drawlattice; hold on;
+0050     set(h2,<span class="string">'XTick'</span>,[],<span class="string">'YTick'</span>,[]);
+0051     
+0052     h3 = subplot(7,1,[5 7]);
+0053     plot(posvect, Zmean,<span class="string">'b.-'</span>);
+0054     grid on       
+0055     xlabel(<span class="string">'s (mm)'</span>)
+0056     ylabel(<span class="string">'Z (mm)'</span>); 
+0057     ylim([-5 5])
+0058 
+0059     <span class="comment">% links axes</span>
+0060     linkaxes([h1 h2 h3],<span class="string">'x'</span>);           
+0061 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getnu.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getnu.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getnu.html	(revision 17)
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getnu</title>
+  <meta name="keywords" content="getnu">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; getnu.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getnu
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [tunex tunez] = getnu(ibpm1,ibpm2) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [tunex tunez] = getnu(ibpm1,ibpm2)</a>
+0002 
+0003 istart=27;
+0004 iend=istart+1*512+1;
+0005 val =getbpmrawdata( [1 2] ,<span class="string">'nodisplay'</span>,<span class="string">'struct'</span>);
+0006 
+0007 xt=val.Data.X(1,istart:iend);
+0008 zt=val.Data.Z(2,istart:iend) ;
+0009 
+0010 nf=iend-istart+1;
+0011 fx=fft(xt); px=fx.*conj(fx)/nf; xf=(1:nf)/nf;
+0012 fz=fft(zt); pz=fz.*conj(fz)/nf; zf=(1:nf)/nf;
+0013 tunex=find(px==max(px))/nf
+0014 tunez=find(pz==max(pz))/nf
+0015 
+0016 figure(110)
+0017 subplot(1,2,1)
+0018 plot(xf(2:nf/2),px(2:nf/2)); 
+0019 <span class="comment">%ylim([0 1]);</span>
+0020 grid on
+0021 subplot(1,2,2)
+0022 plot(zf(2:nf/2),pz(2:nf/2))
+0023 suptitle([<span class="string">'TuneX= '</span> num2str(tunex) <span class="string">'            TuneZ= '</span> num2str(tunez)]);
+0024 grid on
+0025</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getrframp.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getrframp.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getrframp.html	(revision 17)
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getrframp</title>
+  <meta name="keywords" content="getrframp">
+  <meta name="description" content="GETRFRAMP - Reads RF ramp for Booster ring">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; getrframp.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getrframp
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETRFRAMP - Reads RF ramp for Booster ring</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function rampe = getrampRF(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETRFRAMP - Reads RF ramp for Booster ring
+
+  See Also <a href="setrframp.html" class="code" title="function setrampRF(varargin)">setrframp</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setrframp.html" class="code" title="function setrampRF(varargin)">setrframp</a>	SETRFRAMP - Loads a new AC ramp the the RF voltage</li><li><a href="setrframp2.html" class="code" title="function setrampRF2(varargin)">setrframp2</a>	SETRFRAMP2 - Loads a new AC ramp the the RF voltage</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function rampe = getrampRF(varargin)</a>
+0002 <span class="comment">% GETRFRAMP - Reads RF ramp for Booster ring</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  See Also setrframp</span>
+0005 
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0008 
+0009 DisplayFlag = 1;
+0010 devName = <span class="string">'BOO/RF/SAO.1'</span>;
+0011 
+0012 <span class="keyword">for</span> i = length(varargin):-1:1
+0013     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0014         DisplayFlag = 1;
+0015         varargin(i) = [];
+0016     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0017         DisplayFlag = 0;
+0018         varargin(i) = [];
+0019     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoArchive'</span>)
+0020         ArchiveFlag = O;
+0021         varargin(i) = [];
+0022     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Archive'</span>)
+0023         ArchiveFlag = 1;
+0024         varargin(i) = [];
+0025     <span class="keyword">end</span>
+0026 <span class="keyword">end</span>
+0027 
+0028 val = tango_get_properties2(devName,{<span class="string">'Channel0WaveForm'</span>});
+0029 rampe = str2double(val.value);
+0030 
+0031 <span class="keyword">if</span> DisplayFlag
+0032     figure
+0033     plot(rampe*100)
+0034     grid on
+0035     ylabel(<span class="string">'RF voltage (kV)'</span>);
+0036     xlabel(<span class="string">'Point number'</span>)
+0037     title(<span class="string">'RF ramp'</span>)
+0038     addlabel(1,0,sprintf(<span class="string">'%s'</span>, datestr(clock)));
+0039 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getrframp2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getrframp2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/getrframp2.html	(revision 17)
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getrframp2</title>
+  <meta name="keywords" content="getrframp2">
+  <meta name="description" content="GETRFRAMP2 - Reads RF ramp for Booster ring">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; getrframp2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getrframp2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETRFRAMP2 - Reads RF ramp for Booster ring</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function rampe = getrampRF2(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETRFRAMP2 - Reads RF ramp for Booster ring
+
+  See Also <a href="setrframp2.html" class="code" title="function setrampRF2(varargin)">setrframp2</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function rampe = getrampRF2(varargin)</a>
+0002 <span class="comment">% GETRFRAMP2 - Reads RF ramp for Booster ring</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  See Also setrframp2</span>
+0005 
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0008 
+0009 DisplayFlag = 1;
+0010 devName = <span class="string">'BOO/RF/RAMPETENSION'</span>; <span class="comment">% Device avec controle 1er point = dernier point</span>
+0011 
+0012 <span class="keyword">for</span> i = length(varargin):-1:1
+0013     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0014         DisplayFlag = 1;
+0015         varargin(i) = [];
+0016     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0017         DisplayFlag = 0;
+0018         varargin(i) = [];
+0019     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoArchive'</span>)
+0020         ArchiveFlag = O;
+0021         varargin(i) = [];
+0022     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Archive'</span>)
+0023         ArchiveFlag = 1;
+0024         varargin(i) = [];
+0025     <span class="keyword">end</span>
+0026 <span class="keyword">end</span>
+0027 
+0028 val = tango_read_attribute2(devName,<span class="string">'waveformData'</span>);
+0029 rampe = val.value;
+0030 
+0031 <span class="keyword">if</span> DisplayFlag
+0032     figure
+0033     plot(rampe*100)
+0034     grid on
+0035     ylabel(<span class="string">'RF voltage (kV)'</span>);
+0036     xlabel(<span class="string">'Point number'</span>)
+0037     title(<span class="string">'RF ramp'</span>)
+0038     addlabel(1,0,sprintf(<span class="string">'%s'</span>, datestr(clock)));
+0039 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/gettrackingdata.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/gettrackingdata.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/gettrackingdata.html	(revision 17)
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of gettrackingdata</title>
+  <meta name="keywords" content="gettrackingdata">
+  <meta name="description" content="GETTRACKING - get measured current on D1 D2 QD and QF">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; gettrackingdata.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>gettrackingdata
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETTRACKING - get measured current on D1 D2 QD and QF</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [D1 D2 QF QD itime] = gettrackingdata(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETTRACKING - get measured current on D1 D2 QD and QF
+
+  INPUTS
+
+
+  OUTPUTS
+  1. D1 -  Measured current on Dipole D1  in A
+  2. D2 -  Measured current on Dipole D2 in A
+  3. QF -  Measured current on quadrupole QF in A
+  4. QD -  Measured current on quadrupole QD in A
+  5. itime - Time base in seconds
+
+ NOTES
+ 1. Voltages are between -10 and 10 V and converted into amperes
+ 2/ time base is reconstruced by reading frequency and bufferdepth on
+ dserver tracking</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [D1 D2 QF QD itime] = gettrackingdata(varargin)</a>
+0002 <span class="comment">% GETTRACKING - get measured current on D1 D2 QD and QF</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  OUTPUTS</span>
+0008 <span class="comment">%  1. D1 -  Measured current on Dipole D1  in A</span>
+0009 <span class="comment">%  2. D2 -  Measured current on Dipole D2 in A</span>
+0010 <span class="comment">%  3. QF -  Measured current on quadrupole QF in A</span>
+0011 <span class="comment">%  4. QD -  Measured current on quadrupole QD in A</span>
+0012 <span class="comment">%  5. itime - Time base in seconds</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">% NOTES</span>
+0015 <span class="comment">% 1. Voltages are between -10 and 10 V and converted into amperes</span>
+0016 <span class="comment">% 2/ time base is reconstruced by reading frequency and bufferdepth on</span>
+0017 <span class="comment">% dserver tracking</span>
+0018 
+0019 DisplayFlag = 1; 
+0020 
+0021 <span class="comment">% Input parser</span>
+0022 
+0023 <span class="keyword">for</span> i = length(varargin):-1:1
+0024     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0025         DisplayFlag = 1;
+0026         varargin(i) = [];
+0027     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0028         DisplayFlag = 0;
+0029         varargin(i) = [];
+0030     <span class="keyword">end</span>
+0031 <span class="keyword">end</span>
+0032 
+0033 devName = <span class="string">'BOO/AE/tracking'</span>;
+0034 <span class="comment">% use this function to assure synchronous reading</span>
+0035 val = tango_read_attributes(devName, <span class="keyword">...</span>
+0036     {<span class="string">'channel0'</span>,<span class="string">'channel1'</span>,<span class="string">'channel2'</span>,<span class="string">'channel3'</span>,<span class="string">'frequency'</span>,<span class="string">'bufferDepth'</span>});
+0037 
+0038 <span class="keyword">if</span> (tango_error == -1)
+0039     <span class="comment">%- handle error</span>
+0040     tango_print_error_stack;
+0041     <span class="keyword">return</span>
+0042 <span class="keyword">end</span>
+0043 
+0044 
+0045 <span class="comment">% Gets numerical values for current (it is a voltage with is read)</span>
+0046 <span class="comment">% D.1 D.2 QF QD</span>
+0047 
+0048 D1 = val(1).value*-56; <span class="comment">% -55 A/V</span>
+0049 D2 = val(2).value*-56; <span class="comment">% -55 A/V</span>
+0050 QF = val(3).value*-25; <span class="comment">% -25 A/V</span>
+0051 QD = val(4).value*-25;  <span class="comment">% -10 A/V</span>
+0052 
+0053 freq       = val(5).value(1); <span class="comment">% read value</span>
+0054 timeTot = val(6).value(1); <span class="comment">% read value</span>
+0055 
+0056 itime = 0:1/freq:timeTot;
+0057 itime = itime(2:end);
+0058 
+0059 
+0060 <span class="keyword">if</span> DisplayFlag
+0061     subplot(2,1,1)
+0062     plot(itime,(D1+D2)/2,itime,QF,itime,QD);
+0063     grid on
+0064     legend(<span class="string">'(D1+D2)/2'</span>,<span class="string">'QF'</span>,<span class="string">'QD'</span>)
+0065     xlabel(<span class="string">'time (s)'</span>)
+0066 <span class="comment">%     xlim([0.03 0.05])</span>
+0067     hold off
+0068     ylabel(<span class="string">'normalized voltage (-10V to 10 V)'</span>)
+0069     title([<span class="string">'Dipole = '</span> num2str(max(D1+D2)/2) <span class="string">' QF = '</span> num2str(max(QF)) <span class="string">' QD = '</span>  num2str(max(QD))])
+0070     subplot(2,1,2)
+0071     plot(itime,QD./((D1+D2)/2),itime,QF./((D1+D2)/2));
+0072     <span class="comment">%hold off</span>
+0073     xlim([0.0 0.03])
+0074     grid on
+0075     legend(<span class="string">'QD/Dipole'</span>,<span class="string">'QF/Dipole'</span>)
+0076     xlabel(<span class="string">'time (s)'</span>)
+0077     ylabel(<span class="string">'normalized voltage (-10V to 10 V)'</span>)
+0078        
+0079 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/gettrackinghall.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/gettrackinghall.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/gettrackinghall.html	(revision 17)
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of gettrackinghall</title>
+  <meta name="keywords" content="gettrackinghall">
+  <meta name="description" content="GETTRACKINGHALL - get B-field measured with hallprobe  for Dipole, QD and QF">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; gettrackinghall.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>gettrackinghall
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETTRACKINGHALL - get B-field measured with hallprobe  for Dipole, QD and QF</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [D QF QD itime] = gettrackinghall(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETTRACKINGHALL - get B-field measured with hallprobe  for Dipole, QD and QF
+
+  INPUTS
+
+
+  OUTPUTS
+  1. D -  Measured current on Dipole Dipole  in au
+  2. DF -  Measured current on Dipole QF in au
+  3. QD -  Measured current on quadrupole QD in au
+  4. itime - Time base in seconds
+
+ NOTES
+ 1. Voltages are between -10 and 10 V and converted into amperes
+ 2/ time base is reconstruted by reading frequency and bufferdepth on
+ dserver tracking</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [D QF QD itime] = gettrackinghall(varargin)</a>
+0002 <span class="comment">% GETTRACKINGHALL - get B-field measured with hallprobe  for Dipole, QD and QF</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  OUTPUTS</span>
+0008 <span class="comment">%  1. D -  Measured current on Dipole Dipole  in au</span>
+0009 <span class="comment">%  2. DF -  Measured current on Dipole QF in au</span>
+0010 <span class="comment">%  3. QD -  Measured current on quadrupole QD in au</span>
+0011 <span class="comment">%  4. itime - Time base in seconds</span>
+0012 <span class="comment">%</span>
+0013 <span class="comment">% NOTES</span>
+0014 <span class="comment">% 1. Voltages are between -10 and 10 V and converted into amperes</span>
+0015 <span class="comment">% 2/ time base is reconstruted by reading frequency and bufferdepth on</span>
+0016 <span class="comment">% dserver tracking</span>
+0017 
+0018 <span class="comment">%</span>
+0019 <span class="comment">% Written by Laurent S. Nadolski</span>
+0020 
+0021 DisplayFlag = 1; 
+0022 
+0023 <span class="comment">% Input parser</span>
+0024 
+0025 <span class="keyword">for</span> i = length(varargin):-1:1
+0026     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0027         DisplayFlag = 1;
+0028         varargin(i) = [];
+0029     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0030         DisplayFlag = 0;
+0031         varargin(i) = [];
+0032     <span class="keyword">end</span>
+0033 <span class="keyword">end</span>
+0034 
+0035 devName = <span class="string">'BOO/AE/trackinghall'</span>;
+0036 <span class="comment">% use this function to assure synchronous reading</span>
+0037 val = tango_read_attributes(devName, <span class="keyword">...</span>
+0038     {<span class="string">'channel0'</span>,<span class="string">'channel1'</span>,<span class="string">'channel2'</span>,<span class="string">'frequency'</span>,<span class="string">'bufferDepth'</span>});
+0039 
+0040 <span class="keyword">if</span> (tango_error == -1)
+0041     <span class="comment">%- handle error</span>
+0042     tango_print_error_stack;
+0043     <span class="keyword">return</span>
+0044 <span class="keyword">end</span>
+0045 
+0046 
+0047 <span class="comment">% Gets numerical values for current (it is a voltage with is read)</span>
+0048 <span class="comment">% D QF QD</span>
+0049 
+0050 D  = val(1).value; 
+0051 QF = val(2).value;
+0052 QD = val(3).value;
+0053 
+0054 freq       = val(4).value(1); <span class="comment">% read value</span>
+0055 timeTot = val(5).value(1); <span class="comment">% read value</span>
+0056 
+0057 itime = 0:1/freq:timeTot;
+0058 itime = itime(2:end);
+0059 
+0060 
+0061 <span class="keyword">if</span> DisplayFlag
+0062     subplot(2,1,1)
+0063     plot(itime,D,itime,QF,itime,QD);
+0064     grid on
+0065     legend(<span class="string">'D'</span>,<span class="string">'QF'</span>,<span class="string">'QD'</span>)
+0066     xlabel(<span class="string">'time (s)'</span>)
+0067 <span class="comment">%     xlim([0.03 0.05])</span>
+0068     hold off
+0069     ylabel(<span class="string">'u a'</span>)
+0070    <span class="comment">% title(['Dipole = ' num2str(max(D1+D2)/2) ' QF = ' num2str(max(QF)) ' QD = '  num2str(max(QD))])</span>
+0071     subplot(2,1,2)
+0072     plot(itime,QD./D,itime,QF./D);
+0073     <span class="comment">%hold off</span>
+0074     xlim([0.03 0.320])
+0075     grid on
+0076     legend(<span class="string">'QD/Dipole'</span>,<span class="string">'QF/Dipole'</span>)
+0077     xlabel(<span class="string">'time (s)'</span>)
+0078     ylabel(<span class="string">'normalized voltage (-10V to 10 V)'</span>)
+0079        
+0080 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/index.html	(revision 17)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/Booster</title>
+  <meta name="keywords" content="machine/Soleil/Booster">
+  <meta name="description" content="Index for Directory machine/Soleil/Booster">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/Booster</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="aoinit.html">aoinit</a></td><td>AOINIT - Initialization function for the Matlab Middle Layer (MML) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="boosterinit.html">boosterinit</a></td><td>BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="boostersetup.html">boostersetup</a></td><td>BoosterSETUP - GUI for doing Booster setup </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="configBPMgui.html">configBPMgui</a></td><td>CONFIGBPMGUI M-file for configBPMgui.fig </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getbpmBN.html">getbpmBN</a></td><td>GETBPMBN - get injection or extraction BPM in Booster normal mode </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getmeanorbit.html">getmeanorbit</a></td><td>GETMEANORBIT - Compute mean orbit using turn by turn data </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getnu.html">getnu</a></td><td> </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getrframp.html">getrframp</a></td><td>GETRFRAMP - Reads RF ramp for Booster ring </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getrframp2.html">getrframp2</a></td><td>GETRFRAMP2 - Reads RF ramp for Booster ring </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="gettrackingdata.html">gettrackingdata</a></td><td>GETTRACKING - get measured current on D1 D2 QD and QF </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="gettrackinghall.html">gettrackinghall</a></td><td>GETTRACKINGHALL - get B-field measured with hallprobe  for Dipole, QD and QF </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="magnetcoefficients4booster.html">magnetcoefficients4booster</a></td><td>MAGNETCOEFFICIENTS - Retrieves coefficient dor converion between Physics and Hardware units </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="meas_chro_boo.html">meas_chro_boo</a></td><td>% </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="readbpm.html">readbpm</a></td><td>READBPM - Gets turn by turn sample data for one BPM </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="readramp3Hz.html">readramp3Hz</a></td><td>READRAMP3HZ - Read a binary ramp input file for SLS 3Hz Powersupplies </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setoperationalmode.html">setoperationalmode</a></td><td>SETOPERATIONALMODE - Switches between the various operational modes </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setrframp.html">setrframp</a></td><td>SETRFRAMP - Loads a new AC ramp the the RF voltage </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setrframp2.html">setrframp2</a></td><td>SETRFRAMP2 - Loads a new AC ramp the the RF voltage </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="updateatindex.html">updateatindex</a></td><td>UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="writeramp3Hz.html">writeramp3Hz</a></td><td>WRITERAMP3HZ - Write a binary ramp input file for SLS 3Hz Powersupplies </td></tr></table>
+
+<h2>Other Matlab-specific files in this directory:</h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li>synchro_offset.mat</li></ul>
+<h2>Subsequent directories:</h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li>Lattices</li><li>application-old</li><li>applications</li><li>bpm</li><li>data</li><li>eddy</li></ul>
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/magnetcoefficients4booster.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/magnetcoefficients4booster.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/magnetcoefficients4booster.html	(revision 17)
@@ -0,0 +1,292 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of magnetcoefficients4booster</title>
+  <meta name="keywords" content="magnetcoefficients4booster">
+  <meta name="description" content="MAGNETCOEFFICIENTS - Retrieves coefficient dor converion between Physics and Hardware units">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; magnetcoefficients4booster.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>magnetcoefficients4booster
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>MAGNETCOEFFICIENTS - Retrieves coefficient dor converion between Physics and Hardware units</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [C, Leff, MagnetType, A] = magnetcoefficients4booster(MagnetCoreType) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MAGNETCOEFFICIENTS - Retrieves coefficient dor converion between Physics and Hardware units
+[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+
+ INPUTS
+ 1. MagnetCoreType - Family name or type of magnet
+
+ OUTPUTS
+ 1. C vector coefficients for the polynomial expansion of the magnet field
+    based on magnet measurements
+ 2. Leff - Effective length
+ 3. MagnetType
+ 4. A - vector coefficients for the polynomial expansion of the magnet field
+        based on magnet measurements
+
+ C and A are vector coefficients for the polynomial expansion of the magnet field
+ based on magnet measurements.  
+ 
+ The amp2k and k2amp functions convert between the two types of units. 
+   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used. 
+   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used. 
+
+ The A coefficients are direct from magnet measurements:
+   (a7/I0)*I^8+(a6/I0)*I^7+(a5/I0)*I^6+(a4/I0)*I^5+(a3/I0)*I^4+(a2/I0)*I^3+(a1/I0)*I^2+a0*I = B*Leff or B'*Leff or B&quot;*Leff
+   A = [a7 a6 a5 a4 a3 a2 a1 a0]
+
+ C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;
+   C = [c8 c7 c6 c5 c4 c3 c2 c1 c0]
+
+ For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+ For quadrupole:  k = B'/ Brho
+ For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)
+                  (all coefficients all divided by 2 for sextupoles)
+
+ MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+   For SOLEIL:   BEND
+                 Q1 - Q10 S1 - S10, 
+                 QT, HCOR, VCOR, FHCOR, FVCOR 
+
+ Leff is the effective length of the magnet</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [C, Leff, MagnetType, A] = magnetcoefficients4booster(MagnetCoreType)</a>
+0002 <span class="comment">%MAGNETCOEFFICIENTS - Retrieves coefficient dor converion between Physics and Hardware units</span>
+0003 <span class="comment">%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% INPUTS</span>
+0006 <span class="comment">% 1. MagnetCoreType - Family name or type of magnet</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% OUTPUTS</span>
+0009 <span class="comment">% 1. C vector coefficients for the polynomial expansion of the magnet field</span>
+0010 <span class="comment">%    based on magnet measurements</span>
+0011 <span class="comment">% 2. Leff - Effective length</span>
+0012 <span class="comment">% 3. MagnetType</span>
+0013 <span class="comment">% 4. A - vector coefficients for the polynomial expansion of the magnet field</span>
+0014 <span class="comment">%        based on magnet measurements</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">% C and A are vector coefficients for the polynomial expansion of the magnet field</span>
+0017 <span class="comment">% based on magnet measurements.</span>
+0018 <span class="comment">%</span>
+0019 <span class="comment">% The amp2k and k2amp functions convert between the two types of units.</span>
+0020 <span class="comment">%   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.</span>
+0021 <span class="comment">%   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.</span>
+0022 <span class="comment">%</span>
+0023 <span class="comment">% The A coefficients are direct from magnet measurements:</span>
+0024 <span class="comment">%   (a7/I0)*I^8+(a6/I0)*I^7+(a5/I0)*I^6+(a4/I0)*I^5+(a3/I0)*I^4+(a2/I0)*I^3+(a1/I0)*I^2+a0*I = B*Leff or B'*Leff or B&quot;*Leff</span>
+0025 <span class="comment">%   A = [a7 a6 a5 a4 a3 a2 a1 a0]</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:</span>
+0028 <span class="comment">%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;</span>
+0029 <span class="comment">%   C = [c8 c7 c6 c5 c4 c3 c2 c1 c0]</span>
+0030 <span class="comment">%</span>
+0031 <span class="comment">% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)</span>
+0032 <span class="comment">% For quadrupole:  k = B'/ Brho</span>
+0033 <span class="comment">% For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)</span>
+0034 <span class="comment">%                  (all coefficients all divided by 2 for sextupoles)</span>
+0035 <span class="comment">%</span>
+0036 <span class="comment">% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)</span>
+0037 <span class="comment">%   For SOLEIL:   BEND</span>
+0038 <span class="comment">%                 Q1 - Q10 S1 - S10,</span>
+0039 <span class="comment">%                 QT, HCOR, VCOR, FHCOR, FVCOR</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">% Leff is the effective length of the magnet</span>
+0042 
+0043 <span class="comment">%</span>
+0044 <span class="comment">% Written by M. Yoon 4/8/03</span>
+0045 <span class="comment">% Modified By Laurent Nadolski</span>
+0046 
+0047 <span class="comment">% NOTE: The skew quad magnets need to be updated</span>
+0048 <span class="comment">% NOTE: The skew quad magnet is distributed on two types of core,</span>
+0049 <span class="comment">%       therefore might need to pass in device list</span>
+0050 <span class="comment">%       same could be true with quadshunt (current switched into many types of cores)</span>
+0051 <span class="comment">% NOTE: All 'C' coefficients divided by Leff at bottom of program: C/Leff</span>
+0052 <span class="comment">% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values</span>
+0053 
+0054 
+0055 <span class="keyword">if</span> nargin &lt; 1
+0056     error(<span class="string">'MagnetCoreType input required'</span>);
+0057 <span class="keyword">end</span>
+0058 
+0059 
+0060 <span class="comment">% For a string matrix</span>
+0061 <span class="keyword">if</span> iscell(MagnetCoreType)
+0062     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0063         <span class="keyword">for</span> j = 1:size(MagnetCoreType,2)
+0064             [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = magnetcoefficients(MagnetCoreType{i});
+0065         <span class="keyword">end</span>
+0066     <span class="keyword">end</span>
+0067     <span class="keyword">return</span>
+0068 <span class="keyword">end</span>
+0069 
+0070 <span class="comment">% For a string matrix</span>
+0071 <span class="keyword">if</span> size(MagnetCoreType,1) &gt; 1
+0072     C=[]; Leff=[]; MagnetType=[]; A=[];
+0073     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0074         [C1, Leff1, MagnetType1, A1] = magnetcoefficients(MagnetCoreType(i,:));
+0075         C(i,:) = C1;
+0076         Leff(i,:) = Leff1;
+0077         MagnetType = strvcat(MagnetType, MagnetType1);
+0078         A(i,:) = A1;
+0079     <span class="keyword">end</span>
+0080     <span class="keyword">return</span>
+0081 <span class="keyword">end</span>
+0082 
+0083 <span class="comment">%%%%</span>
+0084 <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0085     
+0086     <span class="keyword">case</span> <span class="string">'BEND'</span>    <span class="comment">% 1052.43 mm</span>
+0087         i0= 525.0; <span class="comment">% 525 A &lt;--&gt; (1.71 T) &lt;--&gt; 2.75 GeV</span>
+0088         Leff=1.05243;
+0089         a7= 0.0;
+0090         a6=-0.0;
+0091         a5= 0.0;
+0092         a4=-0.0;
+0093         a3= 0.0;
+0094         a2=-0.0;
+0095         a1= 0.0;
+0096         a0= 1.71*Leff/i0;
+0097         
+0098         c8 = -a7/(i0^7);           <span class="comment">%negative signs added for defocusing</span>
+0099         c7 = -a6/(i0^6);
+0100         c6 = -a5/(i0^5);
+0101         c5 = -a4/(i0^4);
+0102         c4 = -a3/(i0^3);
+0103         c3 = -a2/(i0^2);
+0104         c2 =  a1/i0;
+0105         c1 =  a0;
+0106         c0 =  0.0;
+0107         MagnetType = <span class="string">'BEND'</span>; 
+0108                 
+0109     <span class="keyword">case</span> {<span class="string">'QF'</span>,<span class="string">'QD'</span>}   <span class="comment">% 320 mm quadrupole</span>
+0110         <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0111         Leff=0.320;
+0112         i0=  260;
+0113         a7=  0.0;
+0114         a6=  0.0;
+0115         a5=  0.0;
+0116         a4=  0.0;
+0117         a3=  0.0;
+0118         a2=  0.0;
+0119         a1=  0.0;
+0120         a0=  2.15*Leff*getbrho/i0; <span class="comment">% K= 2.15 m-2 &lt;--&gt; 260 A</span>
+0121         
+0122         c8 = 0.0;
+0123         c7 = 0.0;
+0124         c6 = a5/(i0^5);
+0125         c5 = a4/(i0^4);
+0126         c4 = a3/(i0^3);
+0127         c3 = a2/(i0^2);
+0128         c2 = a1/i0;
+0129         c1 = a0;
+0130         c0 = 0.0;
+0131         MagnetType = <span class="string">'quad'</span>;        
+0132         
+0133     <span class="keyword">case</span> {<span class="string">'SF'</span>,<span class="string">'SD'</span>}    <span class="comment">% 160 mm focusing sextupole</span>
+0134     <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0135         a7=  0.0;
+0136         a6=  0.0;
+0137         a5= -0.0;
+0138         a4=  0.0;
+0139         a3= -0.0;
+0140         a2=  0.0;
+0141         a1=  0.0;
+0142         a0=  4.1327e+06;
+0143         i0=  100.0;
+0144 
+0145         c8 = 0.0;
+0146         c7 = 0.0;
+0147         c6 = a5/(i0^5);
+0148         c5 = a4/(i0^4);
+0149         c4 = a3/(i0^3);
+0150         c3 = a2/(i0^2);
+0151         c2 = a1/i0;
+0152         c1 = a0;
+0153         c0 = 0.0;
+0154         MagnetType = <span class="string">'sext'</span>;
+0155         Leff=0.160;
+0156                     
+0157     <span class="keyword">case</span> {<span class="string">'HCOR'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0158         <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0159         <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0160         <span class="comment">% Therefore,</span>
+0161         <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0162         <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0163         <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0164         <span class="comment">%</span>
+0165         <span class="comment">% The C coefficients are w.r.t B</span>
+0166         <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0167         <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0168         <span class="comment">% must be used for correctors with the middle layer with</span>
+0169         <span class="comment">% the addition of the DC term</span>
+0170         
+0171         <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0172         <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0173         Leff = .16;
+0174         imax = 10;
+0175         cormax = 0.8e-3 ; <span class="comment">% 0.8 mrad for imax = 10 A</span>
+0176         MagnetType = <span class="string">'COR'</span>;       
+0177         A = [0 cormax*getbrho(2.75)/imax]; 
+0178         C = [0 A 0] / Leff;
+0179         <span class="keyword">return</span>
+0180         
+0181     <span class="keyword">case</span> {<span class="string">'VCOR'</span>}    <span class="comment">% 16 cm vertical corrector</span>
+0182         <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0183         Leff = .16;
+0184         imax = 10;
+0185         cormax = 0.8e-3 ; <span class="comment">% 0.8 mrad for imax = 10 A</span>
+0186         MagnetType = <span class="string">'COR'</span>;       
+0187         A = [0 cormax*getbrho(2.75)/imax]; 
+0188         C = [0 A 0] / Leff;
+0189         <span class="keyword">return</span>
+0190     
+0191 <span class="keyword">otherwise</span> 
+0192         error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0193         <span class="comment">%k = 0;</span>
+0194         <span class="comment">%MagnetType = '';</span>
+0195         <span class="comment">%return</span>
+0196 <span class="keyword">end</span>
+0197 
+0198 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0199 C = [c8 c7 c6 c5 c4 c3 c2 c1 c0] / Leff;
+0200 
+0201 MagnetType = upper(MagnetType);
+0202 
+0203 
+0204 <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0205 <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0206     C = C / 2;
+0207 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/meas_chro_boo.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/meas_chro_boo.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/meas_chro_boo.html	(revision 17)
@@ -0,0 +1,63 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of meas_chro_boo</title>
+  <meta name="keywords" content="meas_chro_boo">
+  <meta name="description" content="%">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; meas_chro_boo.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>meas_chro_boo
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>%</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">%</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 
+0002 <span class="comment">%%</span>
+0003 figure
+0004 ploteta
+0005 subplot(5,1,[1 2])
+0006 hold on
+0007 plot(getspos(<span class="string">'BPMx'</span>),-(X4-X5)/(352.220-352.180)*352.200/3e-2/1e6,<span class="string">'.r'</span>)
+0008 subplot(5,1,[4 5])
+0009 hold on
+0010 plot(getspos(<span class="string">'BPMx'</span>),-(Z4-Z5)/(352.220-352.180)*352.200/3e-2/1e6,<span class="string">'.-b'</span>)
+0011 ylim([-0.1 0.1])
+0012 
+0013 <span class="comment">%%</span>
+0014 figure
+0015 hold
+0016 plot(Z5,<span class="string">'r'</span>)
+0017</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/readbpm.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/readbpm.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/readbpm.html	(revision 17)
@@ -0,0 +1,149 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of readbpm</title>
+  <meta name="keywords" content="readbpm">
+  <meta name="description" content="READBPM - Gets turn by turn sample data for one BPM">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; readbpm.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>readbpm
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>READBPM - Gets turn by turn sample data for one BPM</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [X Z Q Sum Va Vb Vc Vd] = readbpm(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> READBPM - Gets turn by turn sample data for one BPM 
+
+  INPUTS
+  1. num - bpm number 
+  Optionnal
+  Display/NoDisplay
+
+  OUTPUTS
+  1. X - Horizontal data
+  2. Z - Vertical data
+  3. Q - Quadrupole signal data
+  4. Sum - Sum signal data
+  5. Va electrode data
+  6. Vb electrode data
+  7. Vc electrode data
+  8. Vd electrode data
+ 
+
+ See Also getbpmrawdata</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [X Z Q Sum Va Vb Vc Vd] = readbpm(varargin)</a>
+0002 <span class="comment">% READBPM - Gets turn by turn sample data for one BPM</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. num - bpm number</span>
+0006 <span class="comment">%  Optionnal</span>
+0007 <span class="comment">%  Display/NoDisplay</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  OUTPUTS</span>
+0010 <span class="comment">%  1. X - Horizontal data</span>
+0011 <span class="comment">%  2. Z - Vertical data</span>
+0012 <span class="comment">%  3. Q - Quadrupole signal data</span>
+0013 <span class="comment">%  4. Sum - Sum signal data</span>
+0014 <span class="comment">%  5. Va electrode data</span>
+0015 <span class="comment">%  6. Vb electrode data</span>
+0016 <span class="comment">%  7. Vc electrode data</span>
+0017 <span class="comment">%  8. Vd electrode data</span>
+0018 <span class="comment">%</span>
+0019 <span class="comment">%</span>
+0020 <span class="comment">% See Also getbpmrawdata</span>
+0021 
+0022 <span class="comment">%</span>
+0023 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0024 
+0025 DisplayFlag = 1;
+0026 
+0027 <span class="keyword">for</span> i = length(varargin):-1:1
+0028     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0029         DisplayFlag = 1;
+0030         varargin(i) = [];
+0031     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0032         DisplayFlag = 0;
+0033         varargin(i) = [];
+0034     <span class="keyword">end</span>
+0035 <span class="keyword">end</span>
+0036 
+0037 <span class="keyword">if</span> isempty(varargin)
+0038    error(<span class="string">'Give a BPM number'</span>) 
+0039 <span class="keyword">else</span>
+0040     num = varargin{1};
+0041 <span class="keyword">end</span>
+0042 
+0043 AO=getao;
+0044 
+0045 attr_name = <span class="keyword">...</span>
+0046    {<span class="string">'XPosVector'</span>,<span class="string">'ZPosVector'</span>, <span class="string">'QuadVector'</span>, <span class="string">'SumVector'</span>, <span class="keyword">...</span>
+0047     <span class="string">'VaVector'</span>, <span class="string">'VbVector'</span>, <span class="string">'VcVector'</span>, <span class="string">'VdVector'</span>};
+0048 
+0049 rep = tango_read_attributes(AO.BPMx.DeviceName{num},attr_name);
+0050 
+0051 X   = rep(1).value;
+0052 Z   = rep(2).value;
+0053 Q   = rep(3).value;
+0054 Sum = rep(4).value;
+0055 Va  = rep(5).value;
+0056 Vb  = rep(6).value;
+0057 Vc  = rep(7).value;
+0058 Vd  = rep(8).value;
+0059 
+0060 <span class="keyword">if</span> DisplayFlag
+0061 
+0062     subplot(2,2,1)
+0063     plot(X)
+0064     ylabel(<span class="string">'X (mm)'</span>)
+0065     grid on
+0066 
+0067     subplot(2,2,2)
+0068     plot(Z)
+0069     ylabel(<span class="string">'Z (mm)'</span>)
+0070     grid on
+0071 
+0072     subplot(2,2,3)
+0073     plot(Sum)
+0074     ylabel(<span class="string">'SUM'</span>)
+0075     xlabel(<span class="string">'turn number'</span>)
+0076     grid on
+0077 
+0078     subplot(2,2,4)
+0079     plot(Q)
+0080     ylabel(<span class="string">'Q'</span>)
+0081     xlabel(<span class="string">'turn number'</span>)
+0082     grid on
+0083 
+0084     suptitle(sprintf(<span class="string">'Turn by turn data for %s'</span>,AO.BPMx.DeviceName{num}))
+0085 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/readramp3Hz.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/readramp3Hz.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/readramp3Hz.html	(revision 17)
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of readramp3Hz</title>
+  <meta name="keywords" content="readramp3Hz">
+  <meta name="description" content="READRAMP3HZ - Read a binary ramp input file for SLS 3Hz Powersupplies">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; readramp3Hz.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>readramp3Hz
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>READRAMP3HZ - Read a binary ramp input file for SLS 3Hz Powersupplies</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function ramp = readramp3Hz(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">READRAMP3HZ - Read a binary ramp input file for SLS 3Hz Powersupplies
+ 
+ INPUTS
+ 1. Filename {optional}
+ 
+ OUPUTS
+ 1. Ramp - Booster ramp read from binary file 
+
+ See also write_ramp3Hz</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function ramp = readramp3Hz(varargin)</a>
+0002 <span class="comment">%READRAMP3HZ - Read a binary ramp input file for SLS 3Hz Powersupplies</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% INPUTS</span>
+0005 <span class="comment">% 1. Filename {optional}</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">% OUPUTS</span>
+0008 <span class="comment">% 1. Ramp - Booster ramp read from binary file</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">% See also write_ramp3Hz</span>
+0011 
+0012 <span class="comment">%</span>
+0013 <span class="comment">% Written by Laurent S. Nadolski</span>
+0014 
+0015 <span class="comment">%% Default flags</span>
+0016 DisplayFlag = 1;
+0017 AbcissaUnit = 80; <span class="comment">% 80us - range from 80us upto 100ms</span>
+0018 
+0019 <span class="comment">% Parse input options</span>
+0020 InputFlags = {};
+0021 <span class="keyword">for</span> i = length(varargin):-1:1
+0022     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0023         DisplayFlag = 1;
+0024         varargin(i) = [];
+0025     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0026         DisplayFlag = 0;
+0027         varargin(i) = [];
+0028     <span class="keyword">end</span>
+0029 <span class="keyword">end</span>
+0030 
+0031 <span class="keyword">if</span> isempty(varargin)
+0032     [filename, pathname] = uigetfile({<span class="string">'*.bin'</span>}, <span class="string">'Pick a file'</span>);
+0033     filename = [pathname filename];
+0034 <span class="keyword">else</span>
+0035     filename= varargin{1};
+0036     <span class="keyword">if</span> ~exist(filename,<span class="string">'file'</span>)
+0037         error(<span class="string">'Filename does not exist'</span>)
+0038     <span class="keyword">end</span>
+0039 <span class="keyword">end</span>
+0040 
+0041 fid = fopen(filename, <span class="string">'r'</span>);
+0042 
+0043 <span class="comment">%Lit l'entete de 4 octets : nombre de points</span>
+0044 entete = fread(fid,1,<span class="string">'int32=&gt;int32'</span>);
+0045 <span class="comment">%% 12500 points (50 000 octets) : 4 octets en virgule flotante</span>
+0046 ramp = fread(fid,12500,<span class="string">'float32=&gt;float32'</span>);
+0047 <span class="comment">%% 4 octets de fin de fichiers</span>
+0048 fin  = fread(fid,<span class="string">'float32=&gt;float32'</span>);
+0049 fclose(fid);
+0050 
+0051 x = (0:12499)*AbcissaUnit*1e-6;
+0052 
+0053 <span class="keyword">if</span> (DisplayFlag)
+0054     plot(x,ramp)
+0055     grid on
+0056     title(<span class="string">'Rampe Booster'</span>)
+0057     xlabel(<span class="string">'Time (s)'</span>)
+0058     ylabel(<span class="string">'Amplitude'</span>)
+0059 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setoperationalmode.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setoperationalmode.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setoperationalmode.html	(revision 17)
@@ -0,0 +1,246 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setoperationalmode</title>
+  <meta name="keywords" content="setoperationalmode">
+  <meta name="description" content="SETOPERATIONALMODE - Switches between the various operational modes">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; setoperationalmode.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setoperationalmode
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SETOPERATIONALMODE - Switches between the various operational modes</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setoperationalmode(ModeNumber) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SETOPERATIONALMODE - Switches between the various operational modes
+  setoperationalmode(ModeNumber)
+
+  INPUTS
+  1. ModeNumber = 1. 2.7391 GeV, multibunch
+
+                100. Laurent's Mode
+
+  See also <a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>, LT1init</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>	UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="boosterinit.html" class="code" title="function boosterinit(OperationalMode)">boosterinit</a>	BOOSTERINIT - Initializes parameters for SOLEIL Booster control in MATLAB</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setoperationalmode(ModeNumber)</a>
+0002 <span class="comment">%SETOPERATIONALMODE - Switches between the various operational modes</span>
+0003 <span class="comment">%  setoperationalmode(ModeNumber)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. ModeNumber = 1. 2.7391 GeV, multibunch</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%                100. Laurent's Mode</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">%  See also aoinit, updateatindex, LT1init</span>
+0011 
+0012 <span class="comment">%</span>
+0013 <span class="comment">% Written by Laurent S. Nadolski</span>
+0014 
+0015 <span class="keyword">global</span> THERING
+0016 
+0017 <span class="comment">% Check if the AO exists</span>
+0018 checkforao;
+0019 
+0020 
+0021 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0022 <span class="comment">% Accelerator Dependent Modes %</span>
+0023 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0024 <span class="keyword">if</span> nargin &lt; 1
+0025     ModeNumber = [];
+0026 <span class="keyword">end</span>
+0027 <span class="keyword">if</span> isempty(ModeNumber)
+0028     ModeCell = {<span class="string">'2.7391 GeV, multibunch'</span>,  <span class="keyword">...</span>
+0029         <span class="string">'Laurent''s Mode'</span>};
+0030     [ModeNumber, OKFlag] = listdlg(<span class="string">'Name'</span>,<span class="string">'SOLEIL'</span>,<span class="string">'PromptString'</span>,<span class="string">'Select the Operational Mode:'</span>, <span class="string">'SelectionMode'</span>,<span class="string">'single'</span>, <span class="string">'ListString'</span>, ModeCell, <span class="string">'ListSize'</span>, [450 200]);
+0031     <span class="keyword">if</span> OKFlag ~= 1
+0032         fprintf(<span class="string">'   Operational mode not changed\n'</span>);
+0033         <span class="keyword">return</span>
+0034     <span class="keyword">elseif</span> ModeNumber == 2
+0035         ModeNumber = 100;  <span class="comment">% Laurent</span>
+0036     <span class="keyword">end</span>
+0037 <span class="keyword">end</span>
+0038 
+0039 
+0040 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0041 <span class="comment">% Accelerator Data Structure %</span>
+0042 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0043 AD = getad;
+0044 AD.Machine = <span class="string">'SOLEIL'</span>;            <span class="comment">% Will already be defined if setpathmml was used</span>
+0045 AD.MachineType = <span class="string">'StorageRing'</span>;   <span class="comment">% Will already be defined if setpathmml was used</span>
+0046 AD.SubMachine  = <span class="string">'Booster'</span>;       <span class="comment">% Will already be defined if setpathmml was used</span>
+0047 AD.OperationalMode = <span class="string">''</span>;          <span class="comment">% Gets filled in later</span>
+0048 
+0049 
+0050 <span class="comment">% Tune processor delay: delay required to wait</span>
+0051 <span class="comment">% to have a fresh tune measurement after changing</span>
+0052 <span class="comment">% a variable like the RF frequency.  Setpv will wait</span>
+0053 <span class="comment">% 2.2 * TuneDelay to be guaranteed a fresh data point.</span>
+0054 AD.BPMDelay  = 0.25; <span class="comment">% use [N, BPMDelay]=getbpmsaverages (AD.BPMDelay will disappear)</span>
+0055 AD.TuneDelay = 0.1;
+0056 
+0057 
+0058 <span class="comment">% SP-AM Error level</span>
+0059 <span class="comment">% AD.ErrorWarningLevel = 0 -&gt; SP-AM errors are Matlab errors {Default}</span>
+0060 <span class="comment">%                       -1 -&gt; SP-AM errors are Matlab warnings</span>
+0061 <span class="comment">%                       -2 -&gt; SP-AM errors prompt a dialog box</span>
+0062 <span class="comment">%                       -3 -&gt; SP-AM errors are ignored (ErrorFlag=-1 is returned)</span>
+0063 AD.ErrorWarningLevel = 0;
+0064 
+0065 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0066 <span class="comment">% Operational Modes %</span>
+0067 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0068 
+0069 <span class="comment">% Mode setup variables (mostly path and file names)</span>
+0070 <span class="comment">% AD.OperationalMode - String used in titles</span>
+0071 <span class="comment">% ModeName - String used for mode directory name off DataRoot/MachineName</span>
+0072 <span class="comment">% OpsFileExtension - string add to default file names</span>
+0073 
+0074 <span class="keyword">if</span> ModeNumber == 1
+0075     <span class="comment">% Booster Nominal Lattice</span>
+0076     AD.OperationalMode = <span class="string">'2.7391 GeV, multibunch'</span>;
+0077     AD.Energy = 2.7391; <span class="comment">% Make sure this is the same as bend2gev at the production lattice!</span>
+0078     ModeName = <span class="string">'boosterreal'</span>;
+0079     OpsFileExtension = <span class="string">'_boosterreal'</span>;
+0080 
+0081     <span class="comment">% AT lattice</span>
+0082     <span class="comment">%AD.ATModel       = 'boostersteerer'; % lattice file</span>
+0083     AD.ATModel = <span class="string">'boosterreal'</span>;
+0084     eval(AD.ATModel);  <span class="comment">%run model for compilersolamor2linb;</span>
+0085 
+0086     switch2hw;
+0087     
+0088 <span class="keyword">elseif</span> ModeNumber == 100
+0089     <span class="comment">% User mode - High Tune, Top Off injection</span>
+0090     error(<span class="string">'To be completed'</span>);    
+0091 
+0092 <span class="keyword">else</span>
+0093     error(<span class="string">'Operational mode unknown'</span>);
+0094 <span class="keyword">end</span>
+0095 
+0096 
+0097 
+0098 <span class="comment">% Set the AD directory path</span>
+0099 setad(AD);
+0100 MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension);
+0101 AD = getad;
+0102 
+0103 <span class="comment">% SOLEIL specific path changes</span>
+0104 
+0105  <span class="comment">% Top Level Directories</span>
+0106 
+0107 AD.Directory.DataRoot       = fullfile(MMLROOT, <span class="string">'measdata'</span>, <span class="string">'Boosterdata'</span>, filesep);
+0108 AD.Directory.OpsData        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'BoosterOpsData'</span>, filesep);
+0109 AD.Directory.Lattice        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'Booster'</span>, <span class="string">'Lattices'</span>, filesep);
+0110 AD.Directory.Orbit          = fullfile(MMLROOT, <span class="string">'applications'</span>, <span class="string">'orbit'</span>, filesep);
+0111 
+0112 <span class="comment">% Data Archive Directories</span>
+0113 AD.Directory.BPMData        = fullfile(AD.Directory.DataRoot, <span class="string">'BPM'</span>, filesep);
+0114 AD.Directory.TuneData       = fullfile(AD.Directory.DataRoot, <span class="string">'Tune'</span>, filesep);
+0115 AD.Directory.ChroData       = fullfile(AD.Directory.DataRoot, <span class="string">'Chromaticity'</span>, filesep);
+0116 AD.Directory.DispData       = fullfile(AD.Directory.DataRoot, <span class="string">'Dispersion'</span>, filesep);
+0117 AD.Directory.ConfigData     = fullfile(AD.Directory.DataRoot, <span class="string">'MachineConfig'</span>, filesep);
+0118 AD.Directory.BumpData       = fullfile(AD.Directory.DataRoot, <span class="string">'Bumps'</span>, filesep);
+0119 AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, <span class="string">'ArchivingData'</span>, filesep);
+0120 AD.Directory.TurnByTurnTune = fullfile(AD.Directory.DataRoot, <span class="string">'BPM'</span>, <span class="string">'turnbyturntune'</span>);
+0121 
+0122 
+0123 <span class="comment">% quick fix (dixit Alex)</span>
+0124 AD.Directory.Timing         = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>, <span class="string">'LT1data'</span>, <span class="string">'Timing'</span>, filesep);
+0125 
+0126 <span class="comment">%Response Matrix Directories</span>
+0127 AD.Directory.BPMResponse    = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'BPM'</span>, filesep);
+0128 AD.Directory.TuneResponse   = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'Tune'</span>, filesep);
+0129 AD.Directory.ChroResponse   = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'Chrom'</span>, filesep);
+0130 AD.Directory.DispResponse   = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'Disp'</span>, filesep);
+0131 
+0132 <span class="comment">%Default Data File Prefix</span>
+0133 AD.Default.BPMArchiveFile   = <span class="string">'BPM'</span>;                <span class="comment">%file in AD.Directory.BPM               orbit data</span>
+0134 AD.Default.TuneArchiveFile  = <span class="string">'Tune'</span>;               <span class="comment">%file in AD.Directory.Tune              tune data</span>
+0135 AD.Default.ChroArchiveFile  = <span class="string">'Chro'</span>;               <span class="comment">%file in AD.Directory.Chromaticity       chromaticity data</span>
+0136 AD.Default.DispArchiveFile  = <span class="string">'Disp'</span>;               <span class="comment">%file in AD.Directory.Dispersion       dispersion data</span>
+0137 AD.Default.CNFArchiveFile   = <span class="string">'CNF'</span>;                <span class="comment">%file in AD.Directory.CNF               configuration data</span>
+0138 AD.Default.QUADArchiveFile  = <span class="string">'QuadBeta'</span>;           <span class="comment">%file in AD.Directory.QUAD             betafunction for quadrupoles</span>
+0139 
+0140 <span class="comment">%Default Response Matrix File Prefix</span>
+0141 AD.Default.BPMRespFile      = <span class="string">'BPMRespMat'</span>;         <span class="comment">%file in AD.Directory.BPMResponse       BPM response matrices</span>
+0142 AD.Default.TuneRespFile     = <span class="string">'TuneRespMat'</span>;        <span class="comment">%file in AD.Directory.TuneResponse      tune response matrices</span>
+0143 AD.Default.ChroRespFile     = <span class="string">'ChroRespMat'</span>;        <span class="comment">%file in AD.Directory.ChroResponse      chromaticity response matrices</span>
+0144 AD.Default.DispRespFile     = <span class="string">'DispRespMat'</span>;        <span class="comment">%file in AD.Directory.DispResponse      dispersion response matrices</span>
+0145 
+0146 <span class="comment">%Operational Files</span>
+0147 AD.OpsData.LatticeFile       = <span class="string">'GoldenLattice'</span>;     <span class="comment">%Golden Lattice File (setup for users)</span>
+0148 AD.OpsData.PhysDataFile      = <span class="string">'GoldenPhysData'</span>;
+0149 <span class="comment">%AD.OpsData.BPMGoldenFile     = 'GoldenBPMOrbit';</span>
+0150 <span class="comment">%AD.OpsData.BPMOffsetFile     = 'OffsetBPMOrbit';</span>
+0151 AD.OpsData.BPMSigmaFile      = <span class="string">'BPMSigma'</span>;
+0152 <span class="comment">%AD.OpsData.TuneFile          = 'GoldenTune';</span>
+0153 <span class="comment">%AD.OpsData.ChroFile          = 'GoldenChro';</span>
+0154 <span class="comment">%AD.OpsData.DispFile          = 'GoldenDisp';</span>
+0155 
+0156 <span class="comment">%Operational Response Files</span>
+0157 AD.OpsData.BPMRespFile       = <span class="string">'GoldenBPMResp'</span>;     
+0158 AD.OpsData.TuneRespFile      = <span class="string">'GoldenTuneResp'</span>;    
+0159 AD.OpsData.ChroRespFile      = <span class="string">'GoldenChroResp'</span>; 
+0160 AD.OpsData.DispRespFile      = <span class="string">'GoldenDispResp'</span>;
+0161 AD.OpsData.RespFiles         = {AD.OpsData.BPMRespFile,  <span class="keyword">...</span>
+0162                                 AD.OpsData.TuneRespFile, <span class="keyword">...</span>
+0163                                 AD.OpsData.ChroRespFile, <span class="keyword">...</span>
+0164                                 AD.OpsData.DispRespFile};
+0165 
+0166 <span class="comment">% Circumference</span>
+0167 AD.Circumference = findspos(THERING,length(THERING)+1);
+0168 setad(AD);
+0169 
+0170 <span class="comment">% Updates the AT indices in the MiddleLayer with the present AT lattice</span>
+0171 <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>;
+0172 
+0173 <span class="comment">% Set the model energy</span>
+0174 setenergymodel(AD.Energy);
+0175 
+0176 
+0177 <span class="comment">% Momentum compaction factor</span>
+0178 MCF = getmcf(<span class="string">'Model'</span>);
+0179 <span class="keyword">if</span> isnan(MCF)
+0180     AD.MCF = 0.0150;  
+0181     fprintf(<span class="string">'   Model alpha calculation failed, middlelayer alpha set to  %f\n'</span>, AD.MCF);
+0182 <span class="keyword">else</span>
+0183     AD.MCF = MCF;
+0184     fprintf(<span class="string">'   Middlelayer alpha set to %f (AT model).\n'</span>, AD.MCF);
+0185 <span class="keyword">end</span>
+0186 setad(AD);
+0187 
+0188 
+0189 fprintf(<span class="string">'   lattice files have changed or if the AT lattice has changed.\n'</span>);
+0190 fprintf(<span class="string">'   Middlelayer setup for operational mode: %s\n'</span>, AD.OperationalMode);
+0191 
+0192 setad(orderfields(AD));</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setrframp.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setrframp.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setrframp.html	(revision 17)
@@ -0,0 +1,147 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setrframp</title>
+  <meta name="keywords" content="setrframp">
+  <meta name="description" content="SETRFRAMP - Loads a new AC ramp the the RF voltage">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; setrframp.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setrframp
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SETRFRAMP - Loads a new AC ramp the the RF voltage</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setrampRF(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SETRFRAMP - Loads a new AC ramp the the RF voltage
+
+  INPUTS
+  1. AC ramp maximum between 0 and 5 in kV
+        0 means 0 kV
+        5 means mean 500 kV at maximum 
+
+  NOTES
+  1. do not forget the DC value which is added
+
+
+  See Also <a href="getrframp.html" class="code" title="function rampe = getrampRF(varargin)">getrframp</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getrframp.html" class="code" title="function rampe = getrampRF(varargin)">getrframp</a>	GETRFRAMP - Reads RF ramp for Booster ring</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setrampRF(varargin)</a>
+0002 <span class="comment">% SETRFRAMP - Loads a new AC ramp the the RF voltage</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. AC ramp maximum between 0 and 5 in kV</span>
+0006 <span class="comment">%        0 means 0 kV</span>
+0007 <span class="comment">%        5 means mean 500 kV at maximum</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  NOTES</span>
+0010 <span class="comment">%  1. do not forget the DC value which is added</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%</span>
+0013 <span class="comment">%  See Also getrframp</span>
+0014 
+0015 <span class="comment">%</span>
+0016 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0017 
+0018 DisplayFlag = 1;
+0019 devName = <span class="string">'BOO/RF/SAO.1'</span>;
+0020 
+0021 <span class="keyword">for</span> i = length(varargin):-1:1
+0022     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0023         DisplayFlag = 1;
+0024         varargin(i) = [];
+0025     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0026         DisplayFlag = O;
+0027         varargin(i) = [];
+0028     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoArchive'</span>)
+0029         ArchiveFlag = O;
+0030         varargin(i) = [];
+0031     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Archive'</span>)
+0032         ArchiveFlag = 1;
+0033         varargin(i) = [];
+0034     <span class="keyword">end</span>
+0035 <span class="keyword">end</span>
+0036 
+0037 <span class="keyword">if</span> isempty(varargin)
+0038     disp(<span class="string">'Missing factor exiting ...'</span>)
+0039     <span class="keyword">return</span>;
+0040 <span class="keyword">else</span>
+0041     factor = varargin{1};
+0042     <span class="keyword">if</span> factor &gt; 8
+0043         error(<span class="string">'Too large'</span>)
+0044     <span class="keyword">end</span>
+0045 <span class="keyword">end</span>
+0046 
+0047 rampe = <a href="getrframp.html" class="code" title="function rampe = getrampRF(varargin)">getrframp</a>(<span class="string">'NoDisplay'</span>);
+0048 
+0049 figure
+0050 
+0051 plot(rampe*100)
+0052 
+0053 rampe2 = rampe/2;
+0054 rampe2= rampe/max(rampe)*factor;
+0055 
+0056 hold on
+0057 plot(rampe2*100,<span class="string">'r.'</span>)
+0058 hold off
+0059 legend(<span class="string">'Old RF voltage Ramp'</span>,<span class="string">'New RF voltage ramp'</span>)
+0060 grid on
+0061 ylabel(<span class="string">'RF voltage (kV)'</span>);
+0062 title(<span class="string">'RF ramp'</span>)
+0063 addlabel(1,0,sprintf(<span class="string">'%s'</span>, datestr(clock)));
+0064 
+0065 
+0066 reply = input(<span class="string">'Do you want to apply this ramp? Y/N [N]: '</span>,<span class="string">'s'</span>);
+0067 
+0068 <span class="keyword">if</span> isempty(reply)
+0069     reply = <span class="string">'N'</span>;
+0070 <span class="keyword">end</span>
+0071 
+0072 <span class="keyword">switch</span> reply
+0073     <span class="keyword">case</span> <span class="string">'Y'</span>    
+0074         <span class="comment">% build the property</span>
+0075         prop.name = <span class="string">'Channel0WaveForm'</span>;
+0076         prop.value = {num2str(rampe2)};
+0077 
+0078         <span class="keyword">for</span> k=1:100
+0079             prop.value{k} = num2str(rampe2(k));
+0080         <span class="keyword">end</span>
+0081 
+0082         <span class="comment">% write the new ramp</span>
+0083         tango_command_inout2(devName, <span class="string">'Stop'</span>);
+0084         tango_put_properties2(devName,prop)
+0085         tango_command_inout2(devName, <span class="string">'Init'</span>);
+0086         tango_command_inout2(devName, <span class="string">'Start'</span>);
+0087         
+0088     <span class="keyword">otherwise</span>
+0089         disp(<span class="string">'Ramp not applied'</span>)
+0090 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setrframp2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setrframp2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/setrframp2.html	(revision 17)
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setrframp2</title>
+  <meta name="keywords" content="setrframp2">
+  <meta name="description" content="SETRFRAMP2 - Loads a new AC ramp the the RF voltage">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; setrframp2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setrframp2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SETRFRAMP2 - Loads a new AC ramp the the RF voltage</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setrampRF2(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SETRFRAMP2 - Loads a new AC ramp the the RF voltage
+
+  INPUTS
+  1. AC ramp maximum between 0 and 5 in kV
+        0 means 0 kV
+        5 means mean 500 kV at maximum 
+
+  NOTES
+  1. do not forget the DC value which is added
+
+
+  See Also <a href="getrframp2.html" class="code" title="function rampe = getrampRF2(varargin)">getrframp2</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getrframp.html" class="code" title="function rampe = getrampRF(varargin)">getrframp</a>	GETRFRAMP - Reads RF ramp for Booster ring</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setrampRF2(varargin)</a>
+0002 <span class="comment">% SETRFRAMP2 - Loads a new AC ramp the the RF voltage</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. AC ramp maximum between 0 and 5 in kV</span>
+0006 <span class="comment">%        0 means 0 kV</span>
+0007 <span class="comment">%        5 means mean 500 kV at maximum</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  NOTES</span>
+0010 <span class="comment">%  1. do not forget the DC value which is added</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%</span>
+0013 <span class="comment">%  See Also getrframp2</span>
+0014 
+0015 <span class="comment">%</span>
+0016 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0017 
+0018 DisplayFlag = 1;
+0019 devName = <span class="string">'BOO/RF/RAMPETENSION'</span>; <span class="comment">% Device avec controle 1er point = dernier point + refus ecrire Tension superieur Ã  8 kV</span>
+0020 
+0021 <span class="keyword">for</span> i = length(varargin):-1:1
+0022     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0023         DisplayFlag = 1;
+0024         varargin(i) = [];
+0025     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0026         DisplayFlag = O;
+0027         varargin(i) = [];
+0028     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoArchive'</span>)
+0029         ArchiveFlag = O;
+0030         varargin(i) = [];
+0031     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Archive'</span>)
+0032         ArchiveFlag = 1;
+0033         varargin(i) = [];
+0034     <span class="keyword">end</span>
+0035 <span class="keyword">end</span>
+0036 
+0037 <span class="keyword">if</span> isempty(varargin)
+0038     disp(<span class="string">'Missing factor exiting ...'</span>)
+0039     <span class="keyword">return</span>;
+0040 <span class="keyword">else</span>
+0041     factor = varargin{1};
+0042     <span class="keyword">if</span> factor &gt; 10
+0043         error(<span class="string">'Too large'</span>)
+0044     <span class="keyword">end</span>
+0045 <span class="keyword">end</span>
+0046 
+0047 rampe = <a href="getrframp.html" class="code" title="function rampe = getrampRF(varargin)">getrframp</a>(<span class="string">'NoDisplay'</span>);
+0048 
+0049 figure
+0050 
+0051 plot(rampe*100)
+0052 
+0053 rampe2 = rampe/2;
+0054 rampe2= rampe/max(rampe)*factor;
+0055 
+0056 hold on
+0057 plot(rampe2*100,<span class="string">'r.'</span>)
+0058 hold off
+0059 legend(<span class="string">'Old RF voltage Ramp'</span>,<span class="string">'New RF voltage ramp'</span>)
+0060 grid on
+0061 ylabel(<span class="string">'RF voltage (kV)'</span>);
+0062 title(<span class="string">'RF ramp'</span>)
+0063 addlabel(1,0,sprintf(<span class="string">'%s'</span>, datestr(clock)));
+0064 
+0065 
+0066 reply = input(<span class="string">'Do you want to apply this ramp? Y/N [N]: '</span>,<span class="string">'s'</span>);
+0067 
+0068 <span class="keyword">if</span> isempty(reply)
+0069     reply = <span class="string">'N'</span>;
+0070 <span class="keyword">end</span>
+0071 
+0072 <span class="keyword">switch</span> reply
+0073     <span class="keyword">case</span> <span class="string">'Y'</span>    
+0074         <span class="comment">% write the new ramp</span>
+0075         tango_command_inout2(devName, <span class="string">'Stop'</span>);
+0076         tango_write_attribute2(devName,<span class="string">'waveformData'</span>,rampe2)
+0077         tango_command_inout2(devName, <span class="string">'Start'</span>);
+0078     <span class="keyword">otherwise</span>
+0079         disp(<span class="string">'Ramp not applied'</span>)
+0080 <span class="keyword">end</span>
+0081</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/todo.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/todo.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/todo.html	(revision 17)
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>To Do List for machine/Soleil/Booster</title>
+  <meta name="keywords" content="todo, to do, list, machine/Soleil/Booster">
+  <meta name="description" content="To Do List for machine/Soleil/Booster">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>
+<h1>To Do List for machine/Soleil/Booster</h1>
+<h2>writeramp3Hz:</h2>
+<ul>
+		<li><a href="writeramp3Hz.html#l20">line 20: </a> directory to saved data</li>	</ul><hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/updateatindex.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/updateatindex.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/updateatindex.html	(revision 17)
@@ -0,0 +1,176 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of updateatindex</title>
+  <meta name="keywords" content="updateatindex">
+  <meta name="description" content="UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; updateatindex.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>updateatindex
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function updateatindex </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>	SETOPERATIONALMODE - Switches between the various operational modes</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function updateatindex</a>
+0002 <span class="comment">%UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Adapted by Laurent S. Nadolski</span>
+0006 
+0007 <span class="keyword">global</span> THERING
+0008 
+0009 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0010 <span class="comment">% Append Accelerator Toolbox information %</span>
+0011 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0012 
+0013 <span class="comment">% Since changes in the AT model could change the AT indexes, etc,</span>
+0014 <span class="comment">% It's best to regenerate all the model indices whenever a model is loaded</span>
+0015 
+0016 <span class="comment">% Sort by family first (findcells is linear and slow)</span>
+0017 Indices = atindex(THERING);
+0018 
+0019 AO = getao;
+0020 
+0021 <span class="comment">% BPMS</span>
+0022 <span class="keyword">try</span>
+0023     ifam = <span class="string">'BPMx'</span>;
+0024     AO.(ifam).AT.ATType = <span class="string">'X'</span>;
+0025     AO.(ifam).AT.ATIndex = Indices.BPM(:); <span class="comment">% findcells(THERING,'FamName','BPM')';</span>
+0026     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+0027 
+0028     ifam = <span class="string">'BPMz'</span>;
+0029     AO.(ifam).AT.ATType = <span class="string">'Z'</span>;
+0030     AO.(ifam).AT.ATIndex = Indices.BPM(:); <span class="comment">% findcells(THERING,'FamName','BPM')';</span>
+0031     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+0032 <span class="keyword">catch</span>
+0033     warning(<span class="string">'BPM family not found in the model.'</span>);
+0034 <span class="keyword">end</span>
+0035 
+0036 <span class="comment">% CORRECTORS</span>
+0037 <span class="keyword">try</span>
+0038     <span class="comment">%% HORIZONTAL CORRECTORS</span>
+0039     ifam = <span class="string">'HCOR'</span>;
+0040     AO.(ifam).AT.ATType  = ifam;
+0041     AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+0042     AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0043     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0044 
+0045     <span class="comment">%% VERTICAL CORRECTORS</span>
+0046     ifam = <span class="string">'VCOR'</span>;
+0047     AO.(ifam).AT.ATType  = ifam;
+0048     AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+0049     AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0050     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0051 <span class="keyword">catch</span>
+0052     warning(<span class="string">'Corrector family not found in the model.'</span>);
+0053 <span class="keyword">end</span>
+0054 
+0055 
+0056 <span class="comment">% QUADRUPOLES</span>
+0057 <span class="keyword">try</span>
+0058     ifam = <span class="string">'QF'</span>;
+0059     AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+0060     AO.(ifam).AT.ATIndex = Indices.QPF(:);
+0061     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex);
+0062     AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'K'</span>);
+0063 
+0064     ifam = <span class="string">'QD'</span>;
+0065     AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+0066     AO.(ifam).AT.ATIndex = Indices.QPD(:);
+0067     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex);
+0068     AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'K'</span>);
+0069 <span class="keyword">catch</span>
+0070     warning(<span class="string">'%s family not found in the model.'</span>,ifam);
+0071 <span class="keyword">end</span>
+0072 
+0073 <span class="comment">% SEXTUPOLES</span>
+0074 <span class="keyword">try</span>
+0075     ifam = <span class="string">'SF'</span>;
+0076     AO.(ifam).AT.ATType  = <span class="string">'SEXT'</span>;
+0077     AO.(ifam).AT.ATIndex = Indices.SXF(:);
+0078     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex);
+0079     AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'K2'</span>);
+0080 
+0081     ifam = <span class="string">'SD'</span>;
+0082     AO.(ifam).AT.ATType  = <span class="string">'SEXT'</span>;
+0083     AO.(ifam).AT.ATIndex = Indices.SXD(:);
+0084     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex);
+0085     AO.(ifam).AT.ATParameterGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'S'</span>);
+0086 <span class="keyword">catch</span>
+0087     warning(<span class="string">'%s family not found in the model.'</span>, ifam);
+0088 <span class="keyword">end</span>
+0089 
+0090 
+0091 <span class="comment">% BEND</span>
+0092 
+0093 <span class="keyword">try</span>
+0094     ifam = <span class="string">'BEND'</span>;
+0095     AO.(ifam).AT.ATType  = ifam;
+0096     ATIndex = Indices.(ifam)(:);
+0097     AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, sort(ATIndex));
+0098     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0099 <span class="keyword">catch</span>
+0100     warning(<span class="string">'BEND family not found in the model.'</span>);
+0101 <span class="keyword">end</span>
+0102 
+0103 <span class="comment">% RF CAVITY</span>
+0104 <span class="keyword">try</span>
+0105     AO.RF.AT.ATType = <span class="string">'RF Cavity'</span>;
+0106     AO.RF.AT.ATIndex = findcells(THERING,<span class="string">'Frequency'</span>)';
+0107     AO.RF.Position = findspos(THERING, AO.RF.AT.ATIndex(:,1))';
+0108 <span class="keyword">catch</span>
+0109     warning(<span class="string">'RF cavity not found in the model.'</span>);
+0110 <span class="keyword">end</span>
+0111 
+0112 setao(AO);
+0113 
+0114 <span class="comment">% Set TwissData at the start of TL1</span>
+0115 <span class="keyword">try</span>
+0116     <span class="comment">%warning('to be completed by Alex');</span>
+0117     <span class="comment">% BTS twiss parameters at the input</span>
+0118     TwissData.alpha = [0 0]';
+0119     TwissData.beta  = [13.8467 2.2582]';
+0120     TwissData.mu    = [0 0]';
+0121     TwissData.ClosedOrbit = [0 0 0 0]';
+0122     TwissData.dP = 0;
+0123     TwissData.dL = 0;
+0124     TwissData.Dispersion  = [.06 0 0 0]';
+0125 
+0126     setpvmodel(<span class="string">'TwissData'</span>, <span class="string">''</span>, TwissData);  <span class="comment">% Same as, THERING{1}.TwissData = TwissData;</span>
+0127 
+0128 <span class="keyword">catch</span>
+0129     warning(<span class="string">'Setting the twiss data parameters in the MML failed.'</span>);
+0130 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/writeramp3Hz.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/writeramp3Hz.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/Booster/writeramp3Hz.html	(revision 17)
@@ -0,0 +1,114 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of writeramp3Hz</title>
+  <meta name="keywords" content="writeramp3Hz">
+  <meta name="description" content="WRITERAMP3HZ - Write a binary ramp input file for SLS 3Hz Powersupplies">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">Booster</a> &gt; writeramp3Hz.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/Booster&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>writeramp3Hz
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>WRITERAMP3HZ - Write a binary ramp input file for SLS 3Hz Powersupplies</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function writeramp3Hz(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">WRITERAMP3HZ - Write a binary ramp input file for SLS 3Hz Powersupplies
+ 
+ INPUTS
+ 1. ramp - 1D numeric ramp 
+ 2. Filename {optional}
+ 
+ OUPUTS
+ 
+ NOTES
+ 1. Time vector is not specified for it is a Tango property of 3Hz
+ powersupply dserver
+
+ See also read_ramp3Hz</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function writeramp3Hz(varargin)</a>
+0002 <span class="comment">%WRITERAMP3HZ - Write a binary ramp input file for SLS 3Hz Powersupplies</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% INPUTS</span>
+0005 <span class="comment">% 1. ramp - 1D numeric ramp</span>
+0006 <span class="comment">% 2. Filename {optional}</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% OUPUTS</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">% NOTES</span>
+0011 <span class="comment">% 1. Time vector is not specified for it is a Tango property of 3Hz</span>
+0012 <span class="comment">% powersupply dserver</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">% See also read_ramp3Hz</span>
+0015 
+0016 <span class="comment">%</span>
+0017 <span class="comment">% Written by Laurent S. Nadolski</span>
+0018 
+0019 <span class="comment">%</span>
+0020 <span class="comment">% TODO: directory to saved data</span>
+0021 
+0022 <span class="comment">% % Exemple de rampe de nb points</span>
+0023 <span class="comment">% nb = 5000;</span>
+0024 <span class="comment">% data1=zeros(1,12500);</span>
+0025 <span class="comment">% t=(0:nb-1)/nb;</span>
+0026 <span class="comment">% data1(1,1:nb) = cos(pi*(t-1/2)).*cos(2*pi*(t-1/4));</span>
+0027 
+0028 <span class="keyword">if</span> isempty(varargin)
+0029   error(<span class="string">'Missing argument'</span>);
+0030 <span class="keyword">end</span>
+0031 
+0032 data1 = varargin{1};
+0033 varargin{1} = [];
+0034 
+0035 <span class="keyword">if</span> isempty(varargin)
+0036     [filename, pathname] = uigetfile({<span class="string">'*.bin'</span>}, <span class="string">'Saved file'</span>);
+0037     filename = [pathname filename];
+0038 <span class="keyword">else</span>
+0039     filename= varargin{2};
+0040     <span class="keyword">if</span> ~exist(filename,<span class="string">'file'</span>)
+0041         error(<span class="string">'Filename does not exist'</span>)
+0042     <span class="keyword">end</span>
+0043 <span class="keyword">end</span>
+0044 
+0045 fid = fopen(filename, <span class="string">'wb'</span>);
+0046 <span class="comment">%Nombre de points utilisï¿œdans la rampe</span>
+0047 <span class="comment">% 'A0 0F 00 00'</span>
+0048 fwrite(fid, hex2dec(<span class="string">'A00F0000'</span>),<span class="string">'uint32'</span>,<span class="string">'b'</span>);
+0049 <span class="comment">%fwrite(fid, int32(4000),'int32');</span>
+0050 <span class="comment">%% 12500 points (50000 octets) : 4 octets en virgule flotante</span>
+0051 fwrite(fid, data1,<span class="string">'float32'</span>);
+0052 <span class="comment">%% 4 octets de fin de fichiers</span>
+0053 <span class="comment">% 'FF FF FF FF'</span>
+0054 <span class="comment">%fwrite(fid, int64(4.294967295000000e+09),'uint32');</span>
+0055 fwrite(fid, hex2dec(<span class="string">'FFFFFFFF'</span>),<span class="string">'uint32'</span>,<span class="string">'b'</span>);
+0056 fclose(fid);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1cycling.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1cycling.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1cycling.html	(revision 17)
@@ -0,0 +1,372 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of LT1cycling</title>
+  <meta name="keywords" content="LT1cycling">
+  <meta name="description" content="LT1CYCLING M-file for LT1cycling.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT1</a> &gt; LT1cycling.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>LT1cycling
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>LT1CYCLING M-file for LT1cycling.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = LT1cycling(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> LT1CYCLING M-file for LT1cycling.fig
+      LT1CYCLING, by itself, creates a new LT1CYCLING or raises the existing
+      singleton*.
+
+      H = LT1CYCLING returns the handle to a new LT1CYCLING or the handle to
+      the existing singleton*.
+
+      LT1CYCLING('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in LT1CYCLING.M with the given input arguments.
+
+      LT1CYCLING('Property','Value',...) creates a new LT1CYCLING or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before LT1cycling_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to LT1cycling_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function LT1cycling_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = LT1cycling_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function checkbox_none_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function checkbox_all_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function checkbox_BEND_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function checkbox_QP_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function checkbox_CH_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function checkbox_CV_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function pushbutton_apply_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function cyclemagnet_local(command,handles)</a></li><li><a href="#_sub11" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function popupmenu_type_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function popupmenu_type_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function popupmenu_file_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function popupmenu_file_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = LT1cycling(varargin)</a>
+0002 <span class="comment">% LT1CYCLING M-file for LT1cycling.fig</span>
+0003 <span class="comment">%      LT1CYCLING, by itself, creates a new LT1CYCLING or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = LT1CYCLING returns the handle to a new LT1CYCLING or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      LT1CYCLING('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in LT1CYCLING.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      LT1CYCLING('Property','Value',...) creates a new LT1CYCLING or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before LT1cycling_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to LT1cycling_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help LT1cycling</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 04-Apr-2005 17:56:04</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction LT1cycling_OpeningFcn(hObject, eventdata, handles, varargin)">LT1cycling_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = LT1cycling_OutputFcn(hObject, eventdata, handles)">LT1cycling_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before LT1cycling is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function LT1cycling_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to LT1cycling (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for LT1cycling</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% Update handles structure</span>
+0059 guidata(hObject, handles);
+0060 
+0061 <span class="comment">% UIWAIT makes LT1cycling wait for user response (see UIRESUME)</span>
+0062 <span class="comment">% uiwait(handles.figure1);</span>
+0063 list = {<span class="string">'Present'</span>, <span class="string">'Golden'</span>, <span class="string">'UserSelect'</span>};
+0064 set(handles.popupmenu_file,<span class="string">'String'</span>,list);
+0065 
+0066 list = {<span class="string">'Simple'</span>, <span class="string">'Full'</span>, <span class="string">'startup'</span>};
+0067 set(handles.popupmenu_type,<span class="string">'String'</span>,list);
+0068 
+0069 list = {<span class="string">'Load cycling curve'</span>,<span class="string">'Start'</span>, <span class="string">'Stop'</span>, <span class="string">'Pause'</span>, <span class="string">'Resume'</span>, <span class="string">'Init'</span>};
+0070 set(handles.popupmenu_command,<span class="string">'String'</span>,list);
+0071 
+0072 Machine = getfamilydata(<span class="string">'SubMachine'</span>);
+0073 
+0074 <span class="keyword">if</span> isempty(Machine)
+0075     error(<span class="string">'Exiting .. first load a machine!'</span>);
+0076     <span class="keyword">return</span>;
+0077 <span class="keyword">else</span>
+0078     <span class="keyword">switch</span> Machine
+0079         <span class="keyword">case</span> {<span class="string">'LT1'</span>,<span class="string">'LT2'</span>}            
+0080             set(handles.figure1,<span class="string">'Name'</span>, [Machine <span class="string">'cycling'</span>]);
+0081         <span class="keyword">otherwise</span>
+0082             error(<span class="string">'Exiting .. first load LT1 or LT2!'</span>);
+0083             <span class="keyword">return</span>;
+0084     <span class="keyword">end</span>
+0085 <span class="keyword">end</span>
+0086 
+0087 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0088 <a name="_sub2" href="#_subfunctions" class="code">function varargout = LT1cycling_OutputFcn(hObject, eventdata, handles) </a>
+0089 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0090 <span class="comment">% hObject    handle to figure</span>
+0091 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0092 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0093 
+0094 <span class="comment">% Get default command line output from handles structure</span>
+0095 varargout{1} = handles.output;
+0096 
+0097 
+0098 <span class="comment">% --- Executes on button press in checkbox_none.</span>
+0099 <a name="_sub3" href="#_subfunctions" class="code">function checkbox_none_Callback(hObject, eventdata, handles)</a>
+0100 <span class="comment">% hObject    handle to checkbox_none (see GCBO)</span>
+0101 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0102 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0103 
+0104 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_none</span>
+0105 val = get(hObject,<span class="string">'Value'</span>);
+0106 
+0107 <span class="keyword">if</span> val
+0108     set(handles.checkbox_BEND,<span class="string">'Value'</span>,0);
+0109     set(handles.checkbox_QP,<span class="string">'Value'</span>,0);
+0110     set(handles.checkbox_CH,<span class="string">'Value'</span>,0);
+0111     set(handles.checkbox_CV,<span class="string">'Value'</span>,0);
+0112     set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0113 <span class="keyword">end</span>
+0114 
+0115 <span class="comment">% --- Executes on button press in checkbox_all.</span>
+0116 <a name="_sub4" href="#_subfunctions" class="code">function checkbox_all_Callback(hObject, eventdata, handles)</a>
+0117 <span class="comment">% hObject    handle to checkbox_all (see GCBO)</span>
+0118 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0119 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0120 
+0121 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_all</span>
+0122 val = get(hObject,<span class="string">'Value'</span>);
+0123 
+0124 <span class="keyword">if</span> val
+0125     set(handles.checkbox_BEND,<span class="string">'Value'</span>,1);
+0126     set(handles.checkbox_QP,<span class="string">'Value'</span>,1);
+0127     set(handles.checkbox_CH,<span class="string">'Value'</span>,1);
+0128     set(handles.checkbox_CV,<span class="string">'Value'</span>,1);
+0129     set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0130 <span class="keyword">end</span>
+0131 
+0132 
+0133 <span class="comment">% --- Executes on button press in checkbox_BEND.</span>
+0134 <a name="_sub5" href="#_subfunctions" class="code">function checkbox_BEND_Callback(hObject, eventdata, handles)</a>
+0135 <span class="comment">% hObject    handle to checkbox_BEND (see GCBO)</span>
+0136 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0137 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0138 
+0139 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BEND</span>
+0140 
+0141 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0142 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0143 
+0144 <span class="comment">% --- Executes on button press in checkbox_QP.</span>
+0145 <a name="_sub6" href="#_subfunctions" class="code">function checkbox_QP_Callback(hObject, eventdata, handles)</a>
+0146 <span class="comment">% hObject    handle to checkbox_QP (see GCBO)</span>
+0147 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0148 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0149 
+0150 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_QP</span>
+0151 
+0152 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0153 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0154 
+0155 <span class="comment">% --- Executes on button press in checkbox_CH.</span>
+0156 <a name="_sub7" href="#_subfunctions" class="code">function checkbox_CH_Callback(hObject, eventdata, handles)</a>
+0157 <span class="comment">% hObject    handle to checkbox_CH (see GCBO)</span>
+0158 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0159 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0160 
+0161 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_CH</span>
+0162 
+0163 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0164 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0165 
+0166 <span class="comment">% --- Executes on button press in checkbox_CV.</span>
+0167 <a name="_sub8" href="#_subfunctions" class="code">function checkbox_CV_Callback(hObject, eventdata, handles)</a>
+0168 <span class="comment">% hObject    handle to checkbox_CV (see GCBO)</span>
+0169 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0170 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0171 
+0172 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_CV</span>
+0173 
+0174 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0175 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0176 
+0177 <span class="comment">% --- Executes on button press in pushbutton_apply.</span>
+0178 <a name="_sub9" href="#_subfunctions" class="code">function pushbutton_apply_Callback(hObject, eventdata, handles)</a>
+0179 <span class="comment">% hObject    handle to pushbutton_apply (see GCBO)</span>
+0180 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0181 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0182 
+0183 contents = get(handles.popupmenu_command,<span class="string">'String'</span>);
+0184 command  = contents{get(handles.popupmenu_command,<span class="string">'Value'</span>)};
+0185 
+0186 <span class="keyword">switch</span> command
+0187     <span class="keyword">case</span> {<span class="string">'Start'</span>,<span class="string">'Stop'</span>,<span class="string">'Init'</span>,<span class="string">'Pause'</span>,<span class="string">'Resume'</span>, <span class="string">'Load cycling curve'</span>}
+0188         <a href="#_sub10" class="code" title="subfunction cyclemagnet_local(command,handles)">cyclemagnet_local</a>(command,handles);
+0189     <span class="keyword">otherwise</span>
+0190         error(<span class="string">'Unknown ommand name: %s '</span>, command);
+0191 <span class="keyword">end</span>
+0192 
+0193 <a name="_sub10" href="#_subfunctions" class="code">function cyclemagnet_local(command,handles)</a>
+0194 
+0195 <span class="comment">%     [CycleIndex, CycleAO] = isfamily(CycleFamily);</span>
+0196 <span class="comment">%</span>
+0197 <span class="comment">%     rep = tango_group_command_inout2(CycleAO.GroupId,'State',1,0);</span>
+0198 
+0199 Family = {<span class="string">'BEND'</span>,<span class="string">'QP'</span>,<span class="string">'CH'</span>,<span class="string">'CV'</span>};    
+0200     
+0201 Families = {};
+0202 <span class="keyword">for</span> k = 1:length(Family),
+0203     <span class="keyword">if</span> get(handles.([<span class="string">'checkbox_'</span>,Family{k}]),<span class="string">'Value'</span>)
+0204         Families = {Families{:}, Family{k}};
+0205     <span class="keyword">end</span>
+0206 <span class="keyword">end</span>
+0207 
+0208 <span class="keyword">switch</span> command
+0209     <span class="keyword">case</span> {<span class="string">'Start'</span>}
+0210         <span class="comment">% get cycling file</span>
+0211         contents = get(handles.popupmenu_file,<span class="string">'String'</span>);
+0212         file = contents{get(handles.popupmenu_file,<span class="string">'Value'</span>)};
+0213 
+0214         <span class="comment">% get cycling file</span>
+0215         contents = get(handles.popupmenu_type,<span class="string">'String'</span>);
+0216         type = contents{get(handles.popupmenu_type,<span class="string">'Value'</span>)};
+0217 
+0218         magnetcycle(type,file,Families,<span class="string">'NoDisplay'</span>,<span class="string">'NoConfig'</span>);
+0219         
+0220     <span class="keyword">case</span> {<span class="string">'Load cycling curve'</span>}
+0221         <span class="comment">% get cycling file</span>
+0222         contents = get(handles.popupmenu_file,<span class="string">'String'</span>);
+0223         file = contents{get(handles.popupmenu_file,<span class="string">'Value'</span>)};
+0224 
+0225         <span class="comment">% get cycling file</span>
+0226         contents = get(handles.popupmenu_type,<span class="string">'String'</span>);
+0227         type = contents{get(handles.popupmenu_type,<span class="string">'Value'</span>)};
+0228 
+0229         magnetcycle(type,file,Families,<span class="string">'NoDisplay'</span>,<span class="string">'NoConfig'</span>, <span class="string">'NoApply'</span>);
+0230         
+0231     <span class="keyword">case</span> {<span class="string">'Stop'</span>,<span class="string">'Init'</span>,<span class="string">'Pause'</span>,<span class="string">'Resume'</span>}
+0232         <span class="keyword">for</span> k =1:length(Families)
+0233             CycleFamily = [<span class="string">'Cycle'</span> Families{k}];
+0234             cyclingcommand(CycleFamily,command);
+0235         <span class="keyword">end</span>
+0236 <span class="keyword">end</span>
+0237 
+0238 <span class="comment">% --- Executes on selection change in popupmenu_command.</span>
+0239 <a name="_sub11" href="#_subfunctions" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a>
+0240 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0241 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0242 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0243 
+0244 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array</span>
+0245 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_command</span>
+0246 
+0247 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0248 <a name="_sub12" href="#_subfunctions" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a>
+0249 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0250 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0251 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0252 
+0253 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0254 <span class="comment">%       See ISPC and COMPUTER.</span>
+0255 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0256     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0257 <span class="keyword">end</span>
+0258 
+0259 
+0260 <span class="comment">% --- Executes on selection change in popupmenu_type.</span>
+0261 <a name="_sub13" href="#_subfunctions" class="code">function popupmenu_type_Callback(hObject, eventdata, handles)</a>
+0262 <span class="comment">% hObject    handle to popupmenu_type (see GCBO)</span>
+0263 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0264 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0265 
+0266 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_type contents as cell array</span>
+0267 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_type</span>
+0268 
+0269 
+0270 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0271 <a name="_sub14" href="#_subfunctions" class="code">function popupmenu_type_CreateFcn(hObject, eventdata, handles)</a>
+0272 <span class="comment">% hObject    handle to popupmenu_type (see GCBO)</span>
+0273 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0274 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0275 
+0276 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0277 <span class="comment">%       See ISPC and COMPUTER.</span>
+0278 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0279     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0280 <span class="keyword">end</span>
+0281 
+0282 
+0283 <span class="comment">% --- Executes on selection change in popupmenu_file.</span>
+0284 <a name="_sub15" href="#_subfunctions" class="code">function popupmenu_file_Callback(hObject, eventdata, handles)</a>
+0285 <span class="comment">% hObject    handle to popupmenu_file (see GCBO)</span>
+0286 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0287 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0288 
+0289 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_file contents as cell array</span>
+0290 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_file</span>
+0291 
+0292 
+0293 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0294 <a name="_sub16" href="#_subfunctions" class="code">function popupmenu_file_CreateFcn(hObject, eventdata, handles)</a>
+0295 <span class="comment">% hObject    handle to popupmenu_file (see GCBO)</span>
+0296 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0297 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0298 
+0299 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0300 <span class="comment">%       See ISPC and COMPUTER.</span>
+0301 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0302     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0303 <span class="keyword">end</span>
+0304 
+0305</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1init.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1init.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1init.html	(revision 17)
@@ -0,0 +1,605 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of LT1init</title>
+  <meta name="keywords" content="LT1init">
+  <meta name="description" content="LT1INIT - Contructs an accelerator Object describing LT1">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT1</a> &gt; LT1init.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>LT1init
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>LT1INIT - Contructs an accelerator Object describing LT1</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function LT1init(OperationalMode) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> LT1INIT - Contructs an accelerator Object describing LT1
+
+ Written by Laurent S. Nadolski, Synchrotron SOLEIL
+
+==========================
+ Accelerator Family Fields
+==========================
+ FamilyName            CH, CV, QP, Bend
+ CommonNames           Shortcut name for each element
+ DeviceList            [Sector, Number]
+ ElementList           number in list
+ Position              m, magnet center
+
+ MONITOR FIELD
+ Mode                  online/manual/special/simulator
+ TangoNames            Tango device name for monitor
+ Units                 Physics or HW
+ HW2PhysicsFcn         function handle used to convert from hardware to physics units ==&gt; inline will not compile, see below
+ HW2PhysicsParams      parameters used for conversion function
+ Physics2HWFcn         function handle used to convert from physics to hardware units
+ Physics2HWParams      parameters used for conversion function
+ HWUnits               units for Hardware 'ampere';
+ PhysicsUnits          units for physics 'Rad';
+ Handles               monitor handle
+
+ SETPOINT FIELDS
+ Mode                  online/manual/special/simulator
+ TangoNames            PV for monitor
+ Units                 hardware or physics
+ HW2PhysicsFcn         function handle used to convert from hardware to physics units
+ HW2PhysicsParams      parameters used for conversion function
+ Physics2HWFcn         function handle used to convert from physics to hardware units
+ Physics2HWParams      parameters used for conversion function
+ HWUnits               units for Hardware 'ampere';
+ PhysicsUnits          units for physics 'Rad';
+ Range                 minsetpoint, maxsetpoint;
+ Tolerance             setpoint-monitor
+ Handles               setpoint handle
+
+=============================================
+ Accelerator Toolbox Simulation Fields
+=============================================
+ ATType                Quad, Sext, etc
+ ATIndex               index in THERING
+ ATParameterGroup      parameter group
+
+============
+ Family List
+============
+    CH
+    CV
+    BEND
+    QP
+    Machine Parameters
+
+  See Also <a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>, <a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>, setpathsoleil</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>	SETOPERATIONALMODE - Switches between the various operational modes</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="LT1setup.html" class="code" title="function LT1setup">LT1setup</a>	LT1SETUP - GUI for doing LT1 setup</li><li><a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>	AOINIT - Initialization function for the Matlab Middle Layer (MML)</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function LT1init(OperationalMode)</a>
+0002 <span class="comment">% LT1INIT - Contructs an accelerator Object describing LT1</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% Written by Laurent S. Nadolski, Synchrotron SOLEIL</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%==========================</span>
+0007 <span class="comment">% Accelerator Family Fields</span>
+0008 <span class="comment">%==========================</span>
+0009 <span class="comment">% FamilyName            CH, CV, QP, Bend</span>
+0010 <span class="comment">% CommonNames           Shortcut name for each element</span>
+0011 <span class="comment">% DeviceList            [Sector, Number]</span>
+0012 <span class="comment">% ElementList           number in list</span>
+0013 <span class="comment">% Position              m, magnet center</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">% MONITOR FIELD</span>
+0016 <span class="comment">% Mode                  online/manual/special/simulator</span>
+0017 <span class="comment">% TangoNames            Tango device name for monitor</span>
+0018 <span class="comment">% Units                 Physics or HW</span>
+0019 <span class="comment">% HW2PhysicsFcn         function handle used to convert from hardware to physics units ==&gt; inline will not compile, see below</span>
+0020 <span class="comment">% HW2PhysicsParams      parameters used for conversion function</span>
+0021 <span class="comment">% Physics2HWFcn         function handle used to convert from physics to hardware units</span>
+0022 <span class="comment">% Physics2HWParams      parameters used for conversion function</span>
+0023 <span class="comment">% HWUnits               units for Hardware 'ampere';</span>
+0024 <span class="comment">% PhysicsUnits          units for physics 'Rad';</span>
+0025 <span class="comment">% Handles               monitor handle</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% SETPOINT FIELDS</span>
+0028 <span class="comment">% Mode                  online/manual/special/simulator</span>
+0029 <span class="comment">% TangoNames            PV for monitor</span>
+0030 <span class="comment">% Units                 hardware or physics</span>
+0031 <span class="comment">% HW2PhysicsFcn         function handle used to convert from hardware to physics units</span>
+0032 <span class="comment">% HW2PhysicsParams      parameters used for conversion function</span>
+0033 <span class="comment">% Physics2HWFcn         function handle used to convert from physics to hardware units</span>
+0034 <span class="comment">% Physics2HWParams      parameters used for conversion function</span>
+0035 <span class="comment">% HWUnits               units for Hardware 'ampere';</span>
+0036 <span class="comment">% PhysicsUnits          units for physics 'Rad';</span>
+0037 <span class="comment">% Range                 minsetpoint, maxsetpoint;</span>
+0038 <span class="comment">% Tolerance             setpoint-monitor</span>
+0039 <span class="comment">% Handles               setpoint handle</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">%=============================================</span>
+0042 <span class="comment">% Accelerator Toolbox Simulation Fields</span>
+0043 <span class="comment">%=============================================</span>
+0044 <span class="comment">% ATType                Quad, Sext, etc</span>
+0045 <span class="comment">% ATIndex               index in THERING</span>
+0046 <span class="comment">% ATParameterGroup      parameter group</span>
+0047 <span class="comment">%</span>
+0048 <span class="comment">%============</span>
+0049 <span class="comment">% Family List</span>
+0050 <span class="comment">%============</span>
+0051 <span class="comment">%    CH</span>
+0052 <span class="comment">%    CV</span>
+0053 <span class="comment">%    BEND</span>
+0054 <span class="comment">%    QP</span>
+0055 <span class="comment">%    Machine Parameters</span>
+0056 <span class="comment">%</span>
+0057 <span class="comment">%  See Also aoinit, setoperationalmode, updateatindex, setpathsoleil</span>
+0058 
+0059 <span class="comment">%==============================</span>
+0060 <span class="comment">%load AcceleratorData structure</span>
+0061 <span class="comment">%==============================</span>
+0062 
+0063 <span class="keyword">if</span> nargin &lt; 1
+0064     OperationalMode = 1;
+0065 <span class="keyword">end</span>
+0066 
+0067 <span class="keyword">global</span> GLOBVAL THERING
+0068 
+0069 Mode             = <span class="string">'online'</span>;
+0070 setad([]);       <span class="comment">%clear AcceleratorData memory</span>
+0071 AD.SubMachine    = <span class="string">'LT1'</span>; <span class="comment">% Will already be defined if setpathmml was used</span>
+0072 AD.Energy        = 0.110; <span class="comment">% Energy in GeV</span>
+0073 
+0074 setad(AD);   <span class="comment">%load AcceleratorData</span>
+0075 
+0076 <span class="comment">%%%%%%%%%%%%%%%%%%%%</span>
+0077 <span class="comment">% ACCELERATOR OBJECT</span>
+0078 <span class="comment">%%%%%%%%%%%%%%%%%%%%</span>
+0079 
+0080 setao([]);   <span class="comment">%clear previous AcceleratorObjects</span>
+0081 
+0082 <span class="comment">%% Dipole</span>
+0083 ifam = <span class="string">'BEND'</span>;
+0084 
+0085 AO.(ifam).FamilyName             = <span class="string">'BEND'</span>;
+0086 AO.(ifam).MemberOf               = {<span class="string">'MachineConfig'</span>; <span class="string">'Magnet'</span>; <span class="string">'BEND'</span>; <span class="string">'Archivable'</span>};
+0087 AO.(ifam).Mode                   = Mode;
+0088 AO.(ifam).DeviceName{1}          = <span class="string">'LT1/AE/D.1'</span>;
+0089 AO.(ifam).CommonNames{1}         = <span class="string">'DIP'</span>;
+0090 AO.(ifam).DeviceList(1,:)        = [1 1];
+0091 AO.(ifam).ElementList            = 1;
+0092 AO.(ifam).Status                 = 1;
+0093 AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, <span class="string">'/current'</span>);
+0094 AO.(ifam).Monitor.ModelVal       = 0;
+0095 AO.(ifam).Monitor.TangoVal       = 0;
+0096 AO.(ifam).Monitor.Mode           = Mode;
+0097 AO.(ifam).Monitor.Handles(:,1)   = NaN;
+0098 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0099 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0100 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0101 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0102 AO.(ifam).Monitor.HW2PhysicsFcn  = @bend2gev;
+0103 AO.(ifam).Monitor.Physics2HWFcn  = @gev2bend;
+0104 setao(AO);
+0105 [C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+0106 AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+0107 AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+0108 
+0109 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0110 AO.(ifam).Desired  = AO.(ifam).Monitor;
+0111 
+0112 <span class="comment">%% Quadrupoles</span>
+0113 ifam = <span class="string">'QP'</span>;
+0114 
+0115 AO.(ifam).FamilyName             = <span class="string">'QP'</span>;
+0116 AO.(ifam).MemberOf               = {<span class="string">'MachineConfig'</span>; <span class="string">'Magnet'</span>; <span class="string">'QP'</span>; <span class="string">'Archivable'</span>};
+0117 AO.(ifam).Mode                   = Mode;
+0118 <span class="keyword">for</span> ik = 1:7    
+0119     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT1/AE/Q.'</span> num2str(ik)];
+0120     AO.(ifam).CommonNames{ik} = [<span class="string">'QP'</span> num2str(ik)];
+0121     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0122 <span class="keyword">end</span>
+0123 AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+0124 AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+0125 
+0126 nb                               = length(AO.(ifam).DeviceName);
+0127 AO.(ifam).Monitor.Range(:,:)     = repmat([-10 10],nb,1);
+0128 AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, <span class="string">'/current'</span>);
+0129 AO.(ifam).Status                 = ones(nb,1);
+0130 AO.(ifam).Monitor.ModelVal       = zeros(1,nb);
+0131 AO.(ifam).Monitor.TangoVal       = AO.(ifam).Monitor.ModelVal;
+0132 AO.(ifam).ElementList            = 1:nb;
+0133 
+0134 AO.(ifam).Monitor.Mode           = Mode;
+0135 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+0136 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0137 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0138 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0139 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0140 AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+0141 AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+0142 
+0143 <span class="comment">%C = magnetcoefficients4LT1(AO.(ifam).FamilyName);</span>
+0144 C = magnetcoefficients(AO.(ifam).FamilyName);
+0145 
+0146 <span class="keyword">for</span> ii=1:nb,
+0147     <span class="keyword">if</span> ii == 2 || ii == 3 || ii == 6
+0148         <span class="comment">% Defocusing quads</span>
+0149         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+0150         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+0151     <span class="keyword">else</span>
+0152         <span class="comment">% Focusing quad</span>
+0153         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C;
+0154         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C;
+0155     <span class="keyword">end</span>
+0156 <span class="keyword">end</span>
+0157 
+0158 <span class="comment">%AO.(ifam).Monitor.Range(:,:) = repmat([-5 5],nb,1); % 10 A for 0.8 mrad</span>
+0159 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0160 AO.(ifam).Desired = AO.(ifam).Monitor;
+0161 
+0162 
+0163 
+0164 <span class="comment">%% Horizontal Correctors</span>
+0165 ifam = <span class="string">'CH'</span>;
+0166 AO.(ifam).FamilyName           = <span class="string">'CH'</span>;
+0167 AO.(ifam).MemberOf             = {<span class="string">'MachineConfig'</span>; <span class="string">'HCM'</span>; <span class="string">'Magnet'</span>; <span class="string">'CH'</span>; <span class="string">'Archivable'</span>};
+0168 
+0169 <span class="keyword">for</span> ik = 1:3    
+0170     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT1/AE/CH.'</span> num2str(ik)];
+0171     AO.(ifam).CommonNames{ik} = [<span class="string">'CH'</span> num2str(ik)];
+0172     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0173 <span class="keyword">end</span>
+0174 AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+0175 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0176 
+0177 nb                         = length(AO.(ifam).DeviceName);
+0178 AO.(ifam).Monitor.Range(:,:)     = repmat([-1.5 1.5],nb,1);
+0179 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/current'</span>);
+0180 AO.(ifam).Status               = ones(nb,1);
+0181 AO.(ifam).Monitor.ModelVal     = zeros(1,nb);
+0182 AO.(ifam).Monitor.TangoVal     = AO.(ifam).Monitor.ModelVal;
+0183 AO.(ifam).ElementList           = 1:nb;
+0184 
+0185 AO.(ifam).Monitor.Mode           = Mode;
+0186 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+0187 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0188 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0189 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0190 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0191 AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+0192 AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+0193 [C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+0194 AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+0195 AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+0196 
+0197 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0198 
+0199 
+0200 <span class="comment">%% Vertical Correctors</span>
+0201 ifam = <span class="string">'CV'</span>;
+0202 
+0203 AO.(ifam).FamilyName           = <span class="string">'CV'</span>;
+0204 AO.(ifam).MemberOf             = {<span class="string">'MachineConfig'</span>; <span class="string">'Magnet'</span>; <span class="string">'VCM'</span>; <span class="string">'CV'</span>; <span class="string">'Archivable'</span>};
+0205 AO.(ifam).Mode                 = Mode;
+0206 
+0207 <span class="keyword">for</span> ik = 1:3    
+0208     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT1/AE/CV.'</span> num2str(ik)];
+0209     AO.(ifam).CommonNames{ik} = [<span class="string">'CV'</span> num2str(ik)];
+0210     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0211 <span class="keyword">end</span>
+0212 AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+0213 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0214 
+0215 nb                             = length(AO.(ifam).DeviceName);
+0216 AO.(ifam).Monitor.Range(:,:)     = repmat([-1.5 1.5],nb,1);
+0217 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/current'</span>);
+0218 AO.(ifam).Status               = ones(nb,1);
+0219 AO.(ifam).Monitor.ModelVal     = zeros(1,nb);
+0220 AO.(ifam).Monitor.TangoVal     = AO.(ifam).Monitor.ModelVal;
+0221 AO.(ifam).ElementList          = 1:nb;
+0222 
+0223 AO.(ifam).Monitor.Mode           = Mode;
+0224 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+0225 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0226 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0227 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0228 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0229 AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+0230 AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+0231 [C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+0232 AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+0233 AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+0234 
+0235 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0236 
+0237 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0238 <span class="comment">%% cycleramp</span>
+0239 <span class="comment">%%%%%%%%%%%%%%%%%</span>
+0240 
+0241 <span class="comment">%% cycleramp For dipole magnet</span>
+0242 ifam = <span class="string">'CycleBEND'</span>;
+0243 
+0244 AO.(ifam).FamilyName             = <span class="string">'CycleBEND'</span>;
+0245 AO.(ifam).MemberOf               = {<span class="string">'CycleBEND'</span>; <span class="string">'Cyclage'</span>};
+0246 AO.(ifam).Mode                   = Mode;
+0247 AO.(ifam).GroupId                = tango_group_create(<span class="string">'Dipole'</span>); 
+0248 AO.(ifam).DeviceName             = <span class="string">'LT1/AE/cycleD.1'</span>;
+0249 <span class="comment">%add devices to group</span>
+0250 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName);
+0251 AO.(ifam).Inom = 180;
+0252 AO.(ifam).Imax = 250;
+0253 AO.(ifam).Status = 1;
+0254 
+0255 <span class="comment">%% cycleramp For H-corrector magnets</span>
+0256 ifam = <span class="string">'CycleCH'</span>;
+0257 
+0258 AO.(ifam).FamilyName             = ifam;
+0259 AO.(ifam).MemberOf               = {<span class="string">'CycleCOR'</span>; <span class="string">'CycleCH'</span>; <span class="string">'Cyclage'</span>};
+0260 AO.(ifam).Mode                   = Mode;
+0261 AO.(ifam).GroupId                = tango_group_create(<span class="string">'COR'</span>); 
+0262 AO.(ifam).DeviceName             = {<span class="string">'LT1/AE/cycleCH.1'</span>; <span class="string">'LT1/AE/cycleCH.2'</span>; <span class="string">'LT1/AE/cycleCH.3'</span>};
+0263 AO.(ifam).DeviceList             = [1 1; 1 2; 1 3];
+0264 AO.(ifam).ElementList            = (1:3)';
+0265 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+0266 AO.(ifam).Inom = [1 2 3];
+0267 AO.(ifam).Imax = 10*ones(1,3);
+0268 AO.(ifam).Status = ones(3,1);
+0269 AO.(ifam).Monitor.Mode           = Mode;
+0270 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(3,1);
+0271 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0272 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0273 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0274 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0275 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+0276 
+0277 <span class="comment">%% cycleramp For V-corrector magnets</span>
+0278 ifam = <span class="string">'CycleCV'</span>;
+0279 
+0280 AO.(ifam).FamilyName             = ifam;
+0281 AO.(ifam).MemberOf               = {<span class="string">'CycleCOR'</span>; <span class="string">'CycleCV'</span>; <span class="string">'Cyclage'</span>};
+0282 AO.(ifam).Mode                   = Mode;
+0283 AO.(ifam).GroupId                = tango_group_create(<span class="string">'COR'</span>); 
+0284 AO.(ifam).DeviceName             = {<span class="string">'LT1/AE/cycleCV.1'</span>; <span class="string">'LT1/AE/cycleCV.2'</span>; <span class="string">'LT1/AE/cycleCV.3'</span>};
+0285 AO.(ifam).DeviceList             = [1 1; 1 2; 1 3];
+0286 AO.(ifam).ElementList            = [1 2 3]';
+0287 <span class="comment">%add devices to group</span>
+0288 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+0289 AO.(ifam).Inom = [1 2 3];
+0290 AO.(ifam).Imax = 10*ones(1,3);
+0291 AO.(ifam).Status = ones(3,1);
+0292 AO.(ifam).Monitor.Mode           = Mode;
+0293 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(3,1);
+0294 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0295 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0296 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0297 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0298 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+0299 
+0300 <span class="comment">%% cycleramp For quadrupoles magnets</span>
+0301 ifam = <span class="string">'CycleQP'</span>;
+0302 
+0303 AO.(ifam).FamilyName             = ifam;
+0304 AO.(ifam).MemberOf               = {<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+0305 AO.(ifam).Mode                   = Mode;
+0306 AO.(ifam).GroupId                = tango_group_create(<span class="string">'Quadrupole'</span>); 
+0307 AO.(ifam).DeviceList             = [1 1; 1 2; 1 3; 1 4; 1 5; 1 6; 1 7];
+0308 AO.(ifam).ElementList            = (1:7)';
+0309 AO.(ifam).DeviceName             = {<span class="string">'LT1/AE/cycleQ.1'</span>;<span class="string">'LT1/AE/cycleQ.2'</span>; <span class="keyword">...</span>
+0310                                     <span class="string">'LT1/AE/cycleQ.3'</span>;<span class="string">'LT1/AE/cycleQ.4'</span>; <span class="keyword">...</span>
+0311                                     <span class="string">'LT1/AE/cycleQ.5'</span>;<span class="string">'LT1/AE/cycleQ.6'</span>; <span class="keyword">...</span>
+0312                                     <span class="string">'LT1/AE/cycleQ.7'</span>};
+0313 <span class="comment">%add devices to group</span>
+0314 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+0315 <span class="comment">%AO.(ifam).Imax = 8*ones(1,7);</span>
+0316 <span class="comment">% modification mars 2006</span>
+0317 AO.(ifam).Imax = [8  -8  -8  8  8  -8  8 ];
+0318 AO.(ifam).Status = ones(7,1);
+0319 AO.(ifam).Monitor.Mode           = Mode;
+0320 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(7,1);
+0321 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0322 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0323 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0324 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0325 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+0326 
+0327 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0328 <span class="comment">%%% Diagnostics</span>
+0329 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0330 
+0331 <span class="comment">%% Charge Monitor - Moniteur de charge</span>
+0332 ifam = <span class="string">'MC'</span>;
+0333 
+0334 AO.(ifam).FamilyName             = <span class="string">'MC'</span>;
+0335 AO.(ifam).MemberOf               = {<span class="string">'Diag'</span>; <span class="string">'MC'</span>; <span class="string">'Archivable'</span>};
+0336 AO.(ifam).Mode                   = Mode;
+0337 AO.(ifam).DeviceName             = {<span class="string">'LT1/DG/MC'</span>; <span class="string">'LT1/DG/MC'</span>};
+0338 AO.(ifam).CommonNames            = [<span class="string">'mc1'</span>;<span class="string">'mc2'</span>;];
+0339 AO.(ifam).DeviceList(:,:)        = [1 1; 1 2];
+0340 AO.(ifam).ElementList            = [1 2]';
+0341 AO.(ifam).Status                 = [1 1]';
+0342 AO.(ifam).Monitor.TangoNames     = [strcat(AO.(ifam).DeviceName(1,:), <span class="string">'/qIct1'</span>); <span class="keyword">...</span>
+0343                                     strcat(AO.(ifam).DeviceName(2,:), <span class="string">'/qIct2'</span>)];
+0344 AO.(ifam).Monitor.Mode           = Mode;
+0345 AO.(ifam).Monitor.Handles(:,1)   = [NaN; NaN]';
+0346 AO.(ifam).Monitor.DataType       = <span class="string">'Vector'</span>;
+0347 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0348 AO.(ifam).Monitor.HWUnits        = <span class="string">'nC'</span>;
+0349 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'nC'</span>;
+0350 AO.(ifam).Monitor.HW2PhysicsParams = 1.0;
+0351 AO.(ifam).Monitor.Physics2HWParams = 1.0;
+0352 
+0353 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0354 <span class="comment">%% Vacuum system</span>
+0355 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0356 
+0357 <span class="comment">%% IonPump</span>
+0358 ifam = <span class="string">'PI'</span>;
+0359 AO.(ifam).FamilyName           = <span class="string">'PI'</span>;
+0360 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'IonPump'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0361 AO.(ifam).Monitor.Mode         = Mode;
+0362 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0363 
+0364 <span class="keyword">for</span> ik = 1:9    
+0365     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT1/VI/PI55.'</span> num2str(ik)];
+0366     AO.(ifam).CommonNames{ik} = [<span class="string">'PI'</span> num2str(ik)];
+0367     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0368     <span class="keyword">if</span> (ik == 8)
+0369         AO.(ifam).DeviceName{ik} = [<span class="string">'LT1/VI/PI150.'</span> num2str(ik)];
+0370     <span class="keyword">end</span>
+0371 <span class="keyword">end</span>
+0372 nb = size(AO.(ifam).DeviceList,1);
+0373 AO.(ifam).Status                   = ones(nb,1);
+0374 AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+0375 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0376 AO.(ifam).ElementList              = (1:nb)';
+0377 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0378 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0379 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0380 AO.(ifam).Monitor.Physics2HWParams = 1;
+0381 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0382 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0383 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0384 
+0385 <span class="comment">%% PenningGauge</span>
+0386 ifam = <span class="string">'JPEN'</span>;
+0387 AO.(ifam).FamilyName           = <span class="string">'JPEN'</span>;
+0388 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PenningGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0389 AO.(ifam).Monitor.Mode         = Mode;
+0390 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0391 
+0392 <span class="keyword">for</span> ik = 1:2    
+0393     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT1/VI/JPEN.'</span> num2str(ik)];
+0394     AO.(ifam).CommonNames{ik} = [<span class="string">'JPEN'</span> num2str(ik)];
+0395     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0396 <span class="keyword">end</span>
+0397 
+0398 nb = size(AO.(ifam).DeviceList,1);
+0399 AO.(ifam).Status                   = ones(nb,1);
+0400 AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+0401 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0402 AO.(ifam).ElementList              = (1:nb)';
+0403 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0404 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0405 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0406 AO.(ifam).Monitor.Physics2HWParams = 1;
+0407 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0408 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0409 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0410 
+0411 <span class="comment">%% PenningGauge</span>
+0412 ifam = <span class="string">'JPIR'</span>;
+0413 AO.(ifam).FamilyName           = <span class="string">'JPIR'</span>;
+0414 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PiraniGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0415 AO.(ifam).Monitor.Mode         = Mode;
+0416 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0417 
+0418 <span class="keyword">for</span> ik = 1:2    
+0419     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT1/VI/JPIR.'</span> num2str(ik)];
+0420     AO.(ifam).CommonNames{ik} = [<span class="string">'JPIR'</span> num2str(ik)];
+0421     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0422 <span class="keyword">end</span>
+0423 
+0424 nb = size(AO.(ifam).DeviceList,1);
+0425 AO.(ifam).Status                   = ones(nb,1);
+0426 AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+0427 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0428 AO.(ifam).ElementList              = (1:nb)';
+0429 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0430 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0431 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0432 AO.(ifam).Monitor.Physics2HWParams = 1;
+0433 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0434 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0435 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0436 
+0437 <span class="comment">%% Synchronisation</span>
+0438 <span class="comment">% ifam = 'SYNC'</span>
+0439 <span class="comment">% AO.(ifam).FamilyName           = 'SYNC';</span>
+0440 <span class="comment">% AO.(ifam).MemberOf             = {'Timing'};</span>
+0441 <span class="comment">% AO.(ifam).Monitor.Mode         = Mode;</span>
+0442 <span class="comment">% AO.(ifam).Monitor.DataType     = 'Scalar';</span>
+0443 <span class="comment">%</span>
+0444 <span class="comment">% AO.(ifam).DeviceName{ik}  = ['LT1/VI/JPIR.' num2str(ik)];</span>
+0445 <span class="comment">%</span>
+0446 <span class="comment">% AO.(ifam).Monitor.HWUnits      = 's';</span>
+0447 
+0448 setao(AO);
+0449 
+0450 <span class="comment">% The operational mode sets the path, filenames, and other important params</span>
+0451 <span class="comment">% Run setoperationalmode after most of the AO is built so that the Units and Mode fields</span>
+0452 <span class="comment">% can be set in setoperationalmode</span>
+0453 
+0454 <a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>(OperationalMode);
+0455 
+0456 <span class="comment">%======================================================================</span>
+0457 <span class="comment">%======================================================================</span>
+0458 <span class="comment">%% Append Accelerator Toolbox information</span>
+0459 <span class="comment">%======================================================================</span>
+0460 <span class="comment">%======================================================================</span>
+0461 disp(<span class="string">'** Initializing Accelerator Toolbox information'</span>);
+0462 
+0463 AO = getao;
+0464 
+0465 ATindx = atindex(THERING);  <span class="comment">%structure with fields containing indices</span>
+0466 
+0467 s = findspos(THERING,1:length(THERING)+1)';
+0468 
+0469 <span class="comment">%% HORIZONTAL CORRECTORS</span>
+0470 ifam = <span class="string">'CH'</span>;
+0471 AO.(ifam).AT.ATType  = ifam;
+0472 AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+0473 AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0474 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0475 
+0476 <span class="comment">%% VERTICAL CORRECTORS</span>
+0477 ifam = <span class="string">'CV'</span>;
+0478 AO.(ifam).AT.ATType  = ifam;
+0479 AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+0480 AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0481 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex); 
+0482 
+0483 <span class="comment">%% BENDING magnets</span>
+0484 ifam = <span class="string">'BEND'</span>;
+0485 AO.(ifam).AT.ATType  = ifam;
+0486 AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+0487 AO.(ifam).Position   = reshape(s(AO.(ifam).AT.ATIndex),1,2);
+0488 
+0489 <span class="comment">%% QUADRUPOLES</span>
+0490 ifam = <span class="string">'QP'</span>;
+0491 AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+0492 AO.(ifam).AT.ATIndex = eval([<span class="string">'ATindx.'</span> ifam <span class="string">'(:)'</span>]);
+0493 AO.(ifam).AT.ATIndex = reshape(AO.(ifam).AT.ATIndex,2,7)';
+0494 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0495 
+0496 <span class="comment">% Save AO</span>
+0497 setao(AO);
+0498 
+0499 <span class="keyword">if</span> iscontrolroom
+0500     switch2online;
+0501 <span class="keyword">else</span>
+0502     switch2sim;
+0503 <span class="keyword">end</span>
+0504</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1setup.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1setup.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/LT1setup.html	(revision 17)
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of LT1setup</title>
+  <meta name="keywords" content="LT1setup">
+  <meta name="description" content="LT1SETUP - GUI for doing LT1 setup">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT1</a> &gt; LT1setup.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>LT1setup
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>LT1SETUP - GUI for doing LT1 setup</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function LT1setup </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">LT1SETUP - GUI for doing LT1 setup</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="LT1init.html" class="code" title="function LT1init(OperationalMode)">LT1init</a>	LT1INIT - Contructs an accelerator Object describing LT1</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function LT1setup</a>
+0002 <span class="comment">%LT1SETUP - GUI for doing LT1 setup</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Written by Laurent S. Nadolski</span>
+0006 
+0007 AD = getad;
+0008 
+0009 <span class="keyword">if</span> isempty(AD) 
+0010     <a href="LT1init.html" class="code" title="function LT1init(OperationalMode)">LT1init</a>;
+0011 <span class="keyword">elseif</span> ~strcmpi(AD.SubMachine,<span class="string">'LT1'</span>)
+0012     <a href="LT1init.html" class="code" title="function LT1init(OperationalMode)">LT1init</a>;
+0013 <span class="keyword">end</span>
+0014 
+0015 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'LT1setup'</span>); 
+0016 
+0017 <span class="keyword">if</span> ~isempty(orbfig), delete(orbfig); <span class="keyword">end</span>
+0018 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'LT1setup'</span>); 
+0019 
+0020 <span class="keyword">if</span> ~isempty(orbfig), delete(orbfig); <span class="keyword">end</span>
+0021 
+0022 kmax = 4; <span class="comment">% button number</span>
+0023 
+0024 height = 10 + kmax*30 + 30; <span class="comment">%670;</span>
+0025 a = figure(<span class="string">'Color'</span>,[0.8 0.8 0.8], <span class="keyword">...</span>
+0026     <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0027     <span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0028     <span class="string">'MenuBar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span>
+0029     <span class="string">'Name'</span>, <span class="string">'LT1 Command Launcher'</span>, <span class="keyword">...</span>
+0030     <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0031     <span class="string">'Units'</span>,<span class="string">'pixels'</span>, <span class="keyword">...</span>
+0032     <span class="string">'Position'</span>,[5 70 210*2 height], <span class="keyword">...</span>
+0033     <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0034     <span class="string">'Tag'</span>,<span class="string">'LT1setup'</span>);
+0035 
+0036 height = height - 35;
+0037 
+0038 <span class="keyword">for</span> k = 1:kmax,
+0039     b1(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0040         <span class="string">'Position'</span>,[3 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0041         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0042         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0043 <span class="keyword">end</span>
+0044 
+0045 <span class="keyword">for</span> k = 1:kmax,
+0046     b2(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0047         <span class="string">'Position'</span>,[3 + 210 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0048         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0049         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0050 <span class="keyword">end</span>
+0051 
+0052 set(b1(1), <span class="string">'Callback'</span>,<span class="string">'disp([''   LT1init;'']); cd(getenv(''MLROOT'')); setpathsoleil(''LT1'');'</span>, <span class="string">'String'</span>,<span class="string">'LT1init'</span>);
+0053 set(b1(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Fichiers de Consignes;'']); configgui;;'</span>, <span class="string">'String'</span>,<span class="string">'Fichiers de Consignes'</span>);
+0054 set(b1(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   LT1cycling;'']);LT1cycling'</span>, <span class="string">'String'</span>,<span class="string">'Cyclage'</span>);
+0055 set(b1(4), <span class="string">'Callback'</span>,<span class="string">'disp([''   Timing;'']); synchro_injecteur6;'</span>, <span class="string">'String'</span>,<span class="string">'Synchronisation dÃ©finitive'</span>);
+0056 set(b2(1), <span class="string">'Callback'</span>,<span class="string">'optics_LT1_LT2;'</span>, <span class="string">'String'</span>,<span class="string">'Optique'</span>);
+0057 set(b2(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Emittance'']);emittance_v15;'</span>, <span class="string">'String'</span>,<span class="string">'Emittance'</span>);
+0058 set(b2(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   FAE'']); fae_v5'</span>, <span class="string">'String'</span>,<span class="string">'Fente d''analyse'</span>);
+0059 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0060     <span class="string">'Callback'</span>,<span class="string">'close all'</span>, <span class="keyword">...</span>
+0061     <span class="string">'String'</span>,<span class="string">'Close All Figures'</span>, <span class="keyword">...</span>
+0062     <span class="string">'Position'</span>,[3 height-kmax*30 204 27], <span class="keyword">...</span>
+0063     <span class="string">'Userdata'</span>,[], <span class="keyword">...</span>
+0064     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0065     <span class="string">'Tag'</span>,<span class="string">'button2'</span>);
+0066 
+0067 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0068     <span class="string">'Callback'</span>,<span class="string">'diary off; close(get(findobj(gcbf,''Tag'',''button1''),''Userdata''));'</span>, <span class="keyword">...</span>
+0069     <span class="string">'Position'</span>,[3 + 210 height-kmax*30 204 27], <span class="keyword">...</span>
+0070     <span class="string">'String'</span>,<span class="string">'CLOSE'</span>, <span class="keyword">...</span>
+0071     <span class="string">'Userdata'</span>,a, <span class="keyword">...</span>
+0072     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0073     <span class="string">'Tag'</span>,<span class="string">'button1'</span>);
+0074</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/aoinit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/aoinit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/aoinit.html	(revision 17)
@@ -0,0 +1,96 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of aoinit</title>
+  <meta name="keywords" content="aoinit">
+  <meta name="description" content="AOINIT - Initialization function for the Matlab Middle Layer (MML)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT1</a> &gt; aoinit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>aoinit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>AOINIT - Initialization function for the Matlab Middle Layer (MML)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function aoinit(SubMachineName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">AOINIT - Initialization function for the Matlab Middle Layer (MML)
+
+
+  See Also <a href="LT1init.html" class="code" title="function LT1init(OperationalMode)">LT1init</a>, setpathsoleil, <a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="LT1init.html" class="code" title="function LT1init(OperationalMode)">LT1init</a>	LT1INIT - Contructs an accelerator Object describing LT1</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function RunTimeFlag = isdeployed_local</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function aoinit(SubMachineName)</a>
+0002 <span class="comment">%AOINIT - Initialization function for the Matlab Middle Layer (MML)</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  See Also LT1init, setpathsoleil, setoperationalmode, updateatindex</span>
+0006 
+0007 <span class="comment">% Written by Laurent S. Nadolski</span>
+0008 
+0009 
+0010 <span class="keyword">if</span> exist(<span class="string">'SubMachineName'</span>, <span class="string">'var'</span>) &amp;&amp; ~strcmpi(SubMachineName, <span class="string">'LT1'</span>)
+0011     error(<span class="string">'Wrong SubMachine %s'</span>, SubMachineName)
+0012 <span class="keyword">end</span>
+0013 
+0014 <span class="comment">% The path should not be modified in standalone mode</span>
+0015 <span class="keyword">if</span> ~<a href="#_sub1" class="code" title="subfunction RunTimeFlag = isdeployed_local">isdeployed_local</a>
+0016 
+0017     MMLROOT = getmmlroot;
+0018     
+0019     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1OpsData'</span>));
+0020     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>));
+0021     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>, <span class="string">'Lattices'</span>));
+0022     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>, <span class="string">'fae'</span>));
+0023     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>, <span class="string">'emittance'</span>));
+0024 
+0025     <span class="comment">% Make sure mml is high on the path</span>
+0026     addpath(fullfile(MMLROOT, <span class="string">'mml'</span>),<span class="string">'-begin'</span>);
+0027 
+0028     disp([<span class="string">'TANGO/MATLAB binding version: '</span> tango_version])
+0029     disp(<span class="string">'Startup file for Matlab Middle Layer read with success'</span>);
+0030 
+0031 <span class="keyword">end</span>
+0032 
+0033 <span class="comment">% Initialize the MML for machine</span>
+0034 
+0035 <a href="LT1init.html" class="code" title="function LT1init(OperationalMode)">LT1init</a>;
+0036 
+0037 <a name="_sub1" href="#_subfunctions" class="code">function RunTimeFlag = isdeployed_local</a>
+0038 <span class="comment">% isdeployed is not in matlab 6.5</span>
+0039 V = version;
+0040 <span class="keyword">if</span> str2double(V(1,1)) &lt; 7
+0041     RunTimeFlag = 0;
+0042 <span class="keyword">else</span>
+0043     RunTimeFlag = isdeployed;
+0044 <span class="keyword">end</span>
+0045</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/fae_timer_enattente.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/fae_timer_enattente.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/fae_timer_enattente.html	(revision 17)
@@ -0,0 +1,64 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of fae_timer_enattente</title>
+  <meta name="keywords" content="fae_timer_enattente">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT1</a> &gt; fae_timer_enattente.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>fae_timer_enattente
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function fae_timer(arg1,arg2,hObject, eventdata, handles) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function fae_timer(arg1,arg2,hObject, eventdata, handles)</a>
+0002 
+0003 
+0004 device_name = getappdata(handles.figure1,<span class="string">'device_name'</span>);
+0005 dev=device_name.dipole;
+0006 structure = tango_read_attribute(device_name.dipole,<span class="string">'current'</span>);
+0007 Idip = structure.value(1);
+0008 crotte
+0009 B0 = getappdata(handles.figure1,<span class="string">'B0'</span>);
+0010 B1 = getappdata(handles.figure1,<span class="string">'B1'</span>);
+0011 Integrale = B0 + B1 * Idip;
+0012 angle = 15 * pi / 180;
+0013 Bro = Integrale / angle;
+0014 E0 = 0.512 ;
+0015 energie = E0 * ( sqrt(1 + (Bro*0.29979)*(Bro*0.29979)/((E0*0.001)*(E0*0.001))) - 1 );
+0016 set(handles.repositionner_edit3,<span class="string">'String'</span>,num2str(energie));
+0017 
+0018 disp(<span class="string">'on rentre dans mycallback'</span>)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/index.html	(revision 17)
@@ -0,0 +1,31 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/LT1</title>
+  <meta name="keywords" content="machine/Soleil/LT1">
+  <meta name="description" content="Index for Directory machine/Soleil/LT1">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/LT1</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="LT1cycling.html">LT1cycling</a></td><td>LT1CYCLING M-file for LT1cycling.fig </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="LT1init.html">LT1init</a></td><td>LT1INIT - Contructs an accelerator Object describing LT1 </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="LT1setup.html">LT1setup</a></td><td>LT1SETUP - GUI for doing LT1 setup </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="aoinit.html">aoinit</a></td><td>AOINIT - Initialization function for the Matlab Middle Layer (MML) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="fae_timer_enattente.html">fae_timer_enattente</a></td><td> </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setoperationalmode.html">setoperationalmode</a></td><td>SETOPERATIONALMODE - Switches between the various operational modes </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="twiss_parameters_entry.html">twiss_parameters_entry</a></td><td>TWISS_PARAMETERS_ENTRY - Panel used by LT1_optics for modifying input </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="updateatindex.html">updateatindex</a></td><td>UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING) </td></tr></table>
+
+
+<h2>Subsequent directories:</h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li>Lattices</li><li>emittance</li><li>fae</li></ul>
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/setoperationalmode.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/setoperationalmode.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/setoperationalmode.html	(revision 17)
@@ -0,0 +1,210 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setoperationalmode</title>
+  <meta name="keywords" content="setoperationalmode">
+  <meta name="description" content="SETOPERATIONALMODE - Switches between the various operational modes">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT1</a> &gt; setoperationalmode.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setoperationalmode
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SETOPERATIONALMODE - Switches between the various operational modes</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setoperationalmode(ModeNumber) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SETOPERATIONALMODE - Switches between the various operational modes
+  setoperationalmode(ModeNumber)
+
+  INPUTS
+  1. ModeNumber = 1. 110 MeV, multibunch
+                  2. LT1 voie directe
+                  3. 80 MeV, backup Linac
+
+                100. Laurent's Mode
+
+  See also <a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>, <a href="LT1init.html" class="code" title="function LT1init(OperationalMode)">LT1init</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>	UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="LT1init.html" class="code" title="function LT1init(OperationalMode)">LT1init</a>	LT1INIT - Contructs an accelerator Object describing LT1</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setoperationalmode(ModeNumber)</a>
+0002 <span class="comment">%SETOPERATIONALMODE - Switches between the various operational modes</span>
+0003 <span class="comment">%  setoperationalmode(ModeNumber)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. ModeNumber = 1. 110 MeV, multibunch</span>
+0007 <span class="comment">%                  2. LT1 voie directe</span>
+0008 <span class="comment">%                  3. 80 MeV, backup Linac</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">%                100. Laurent's Mode</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  See also aoinit, updateatindex, LT1init</span>
+0013 
+0014 <span class="comment">%</span>
+0015 <span class="comment">% Written by Laurent S. Nadolski</span>
+0016 
+0017 <span class="keyword">global</span> THERING
+0018 
+0019 <span class="comment">% Check if the AO exists</span>
+0020 checkforao;
+0021 
+0022 
+0023 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0024 <span class="comment">% Accelerator Dependent Modes %</span>
+0025 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0026 <span class="keyword">if</span> nargin &lt; 1
+0027     ModeNumber = [];
+0028 <span class="keyword">end</span>
+0029 <span class="keyword">if</span> isempty(ModeNumber)
+0030     ModeCell = {<span class="string">'110 MeV, multibunch'</span>, <span class="string">'LT1 voie directe'</span>, <span class="string">'80 MeV, backup Linac'</span>, <span class="keyword">...</span>
+0031         <span class="string">'Laurent''s Mode'</span>};
+0032     [ModeNumber, OKFlag] = listdlg(<span class="string">'Name'</span>,<span class="string">'SOLEIL'</span>,<span class="string">'PromptString'</span>,<span class="string">'Select the Operational Mode:'</span>, <span class="string">'SelectionMode'</span>,<span class="string">'single'</span>, <span class="string">'ListString'</span>, ModeCell, <span class="string">'ListSize'</span>, [450 200]);
+0033     <span class="keyword">if</span> OKFlag ~= 1
+0034         fprintf(<span class="string">'   Operational mode not changed\n'</span>);
+0035         <span class="keyword">return</span>
+0036     <span class="keyword">elseif</span> ModeNumber == 4
+0037         ModeNumber = 100;  <span class="comment">% Laurent</span>
+0038     <span class="keyword">end</span>
+0039 <span class="keyword">end</span>
+0040 
+0041 
+0042 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0043 <span class="comment">% Accelerator Data Structure %</span>
+0044 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0045 AD = getad;
+0046 AD.Machine = <span class="string">'SOLEIL'</span>;            <span class="comment">% Will already be defined if setpathmml was used</span>
+0047 AD.MachineType = <span class="string">'StorageRing'</span>;   <span class="comment">% Will already be defined if setpathmml was used</span>
+0048 AD.SubMachine  = <span class="string">'LT1'</span>;           <span class="comment">% Will already be defined if setpathmml was used</span>
+0049 AD.OperationalMode = <span class="string">''</span>;          <span class="comment">% Gets filled in later</span>
+0050 
+0051 
+0052 <span class="comment">% Tune processor delay: delay required to wait</span>
+0053 <span class="comment">% to have a fresh tune measurement after changing</span>
+0054 <span class="comment">% a variable like the RF frequency.  Setpv will wait</span>
+0055 <span class="comment">% 2.2 * TuneDelay to be guaranteed a fresh data point.</span>
+0056 AD.BPMDelay  = 0.25; <span class="comment">% use [N, BPMDelay]=getbpmsaverages (AD.BPMDelay will disappear)</span>
+0057 AD.TuneDelay = 0.1;
+0058 
+0059 
+0060 <span class="comment">% SP-AM Error level</span>
+0061 <span class="comment">% AD.ErrorWarningLevel = 0 -&gt; SP-AM errors are Matlab errors {Default}</span>
+0062 <span class="comment">%                       -1 -&gt; SP-AM errors are Matlab warnings</span>
+0063 <span class="comment">%                       -2 -&gt; SP-AM errors prompt a dialog box</span>
+0064 <span class="comment">%                       -3 -&gt; SP-AM errors are ignored (ErrorFlag=-1 is returned)</span>
+0065 AD.ErrorWarningLevel = 0;
+0066 
+0067 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0068 <span class="comment">% Operational Modes %</span>
+0069 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0070 
+0071 <span class="comment">% Mode setup variables (mostly path and file names)</span>
+0072 <span class="comment">% AD.OperationalMode - String used in titles</span>
+0073 <span class="comment">% ModeName - String used for mode directory name off DataRoot/MachineName</span>
+0074 <span class="comment">% OpsFileExtension - string add to default file names</span>
+0075 
+0076 <span class="keyword">if</span> ModeNumber == 1
+0077     <span class="comment">% LT1 Nominal Lattice</span>
+0078     AD.OperationalMode = <span class="string">'110 MeV, multibunch'</span>;
+0079     AD.Energy = 0.110; <span class="comment">% Make sure this is the same as bend2gev at the production lattice!</span>
+0080     ModeName = <span class="string">'bareLT1lattice'</span>;
+0081     OpsFileExtension = <span class="string">'_bareLT1lattice'</span>;
+0082 
+0083     <span class="comment">% AT lattice</span>
+0084     AD.ATModel = <span class="string">'bareLT1lattice'</span>;
+0085     eval(AD.ATModel);  <span class="comment">%run model for compilersolamor2linb;</span>
+0086 
+0087     switch2hw;
+0088 
+0089 <span class="keyword">elseif</span> ModeNumber == 2
+0090     <span class="comment">%  LT1 voie directe - ecran emittance=COLL</span>
+0091     AD.OperationalMode = <span class="string">'110 MeV, multibunch'</span>;
+0092     AD.Energy = 0.110; <span class="comment">% Make sure this is the same as bend2gev at the production lattice!</span>
+0093     ModeName = <span class="string">'LT1emittancelattice'</span>;
+0094     OpsFileExtension = <span class="string">'_LT1emittancelattice'</span>;
+0095 
+0096     <span class="comment">% AT lattice</span>
+0097     AD.ATModel = <span class="string">'LT1emittancelattice'</span>;
+0098     eval(AD.ATModel);
+0099 
+0100     switch2hw;
+0101    
+0102 <span class="keyword">elseif</span> ModeNumber == 3
+0103     <span class="comment">% User mode - High Tune, Top Off injection</span>
+0104     error(<span class="string">'To be completed'</span>);
+0105     
+0106 <span class="keyword">elseif</span> ModeNumber == 100
+0107     <span class="comment">% User mode - High Tune, Top Off injection</span>
+0108     error(<span class="string">'To be completed'</span>);    
+0109 
+0110 <span class="keyword">else</span>
+0111     error(<span class="string">'Operational mode unknown'</span>);
+0112 <span class="keyword">end</span>
+0113 
+0114 
+0115 
+0116 <span class="comment">% Set the AD directory path</span>
+0117 setad(AD);
+0118 MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension);
+0119 AD = getad;
+0120 
+0121 <span class="comment">% SOLEIL specific path changes</span>
+0122 
+0123  <span class="comment">% Top Level Directories</span>
+0124 
+0125 AD.Directory.DataRoot       = fullfile(MMLROOT, <span class="string">'measdata'</span>, <span class="string">'LT1data'</span>, filesep);
+0126 AD.Directory.OpsData        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1OpsData'</span>, filesep);
+0127 AD.Directory.Lattice        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>, <span class="string">'Lattices'</span>, filesep);
+0128 
+0129 AD.Directory.FAEData        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>, <span class="string">'fae'</span>, filesep);
+0130 AD.Directory.EMITData       = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>, <span class="string">'emittance'</span>, filesep); 
+0131 AD.Directory.Timing         = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT1'</span>, <span class="string">'Timing'</span>, filesep);
+0132 
+0133 AD.Directory.ConfigData     = fullfile(AD.Directory.DataRoot, <span class="string">'MachineConfig'</span>, filesep);
+0134 AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, <span class="string">'ArchivingData'</span>, filesep);
+0135 
+0136 
+0137 <span class="comment">%Operational Files</span>
+0138 AD.OpsData.LatticeFile       = <span class="string">'GoldenLattice'</span>;     <span class="comment">%Golden Lattice File (setup for users)</span>
+0139 AD.OpsData.PhysDataFile      = <span class="string">'GoldenPhysData'</span>;
+0140 
+0141 <span class="comment">% Circumference</span>
+0142 AD.Circumference = findspos(THERING,length(THERING)+1);
+0143 setad(AD);
+0144 
+0145 <span class="comment">% Updates the AT indices in the MiddleLayer with the present AT lattice</span>
+0146 <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>;
+0147 
+0148 <span class="comment">% Set the model energy</span>
+0149 setenergymodel(AD.Energy);
+0150 
+0151 fprintf(<span class="string">'   lattice files have changed or if the AT lattice has changed.\n'</span>);
+0152 fprintf(<span class="string">'   Middlelayer setup for operational mode: %s\n'</span>, AD.OperationalMode);
+0153 
+0154 setad(orderfields(AD));</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/twiss_parameters_entry.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/twiss_parameters_entry.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/twiss_parameters_entry.html	(revision 17)
@@ -0,0 +1,218 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of twiss_parameters_entry</title>
+  <meta name="keywords" content="twiss_parameters_entry">
+  <meta name="description" content="TWISS_PARAMETERS_ENTRY - Panel used by LT1_optics for modifying input">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT1</a> &gt; twiss_parameters_entry.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>twiss_parameters_entry
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>TWISS_PARAMETERS_ENTRY - Panel used by LT1_optics for modifying input</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = twiss_parameters_entry(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">  TWISS_PARAMETERS_ENTRY - Panel used by LT1_optics for modifying input
+                           twiss parameters
+ 
+  Written by M.A Tordeux
+  Modified by L. Nadolski</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function twiss_parameters_entry_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function appliquer_pushbutton_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function plot_axes(handles,quoi)</a></li><li><a href="#_sub4" class="code">function varargout = twiss_parameters_entry_OutputFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = twiss_parameters_entry(varargin)</a>
+0002 <span class="comment">%  TWISS_PARAMETERS_ENTRY - Panel used by LT1_optics for modifying input</span>
+0003 <span class="comment">%                           twiss parameters</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  Written by M.A Tordeux</span>
+0006 <span class="comment">%  Modified by L. Nadolski</span>
+0007 
+0008 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0009 gui_Singleton = 1;
+0010 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0011                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0012                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction twiss_parameters_entry_OpeningFcn(hObject, eventdata, handles, varargin)">twiss_parameters_entry_OpeningFcn</a>, <span class="keyword">...</span>
+0013                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub4" class="code" title="subfunction varargout = twiss_parameters_entry_OutputFcn(hObject, eventdata, handles)">twiss_parameters_entry_OutputFcn</a>, <span class="keyword">...</span>
+0014                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0015                    <span class="string">'gui_Callback'</span>,   []);
+0016 <span class="keyword">if</span> nargin &amp; isstr(varargin{1})
+0017     gui_State.gui_Callback = str2func(varargin{1});
+0018 <span class="keyword">end</span>
+0019 
+0020 <span class="keyword">if</span> nargout
+0021     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0022 <span class="keyword">else</span>
+0023     gui_mainfcn(gui_State, varargin{:});
+0024 <span class="keyword">end</span>
+0025 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0026 
+0027 
+0028 
+0029 <span class="comment">% --- Executes just before twiss_parameters_entry is made visible.</span>
+0030 <a name="_sub1" href="#_subfunctions" class="code">function twiss_parameters_entry_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0031 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0032 <span class="comment">% hObject    handle to figure</span>
+0033 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0034 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0035 <span class="comment">% varargin   command line arguments to twiss_parameters_entry (see VARARGIN)</span>
+0036 
+0037 <span class="comment">% Choose default command line output for twiss_parameters_entry</span>
+0038 handles.output = hObject;
+0039 
+0040 <span class="keyword">if</span> iscell(varargin) &amp;&amp; ~isempty(varargin)
+0041     
+0042     <span class="comment">% store handle from caller</span>
+0043     handles.caller = varargin{1}.figure1;
+0044     
+0045     <span class="comment">% Get values from Application-Defined data</span>
+0046     handles.twissdatain = getappdata(handles.caller, <span class="string">'twissdatain'</span>);
+0047     handles.axes1=findobj(allchild(handles.caller),<span class="string">'Tag'</span>,<span class="string">'axes1'</span>);
+0048     handles.popupmenu_x = findobj(allchild(handles.caller), <span class="string">'Tag'</span>,<span class="string">'popupmenu_x'</span>);
+0049     handles.popupmenu_y = findobj(allchild(handles.caller), <span class="string">'Tag'</span>,<span class="string">'popupmenu_y'</span>);
+0050     <span class="comment">% Update handles structure</span>
+0051     guidata(hObject, handles);
+0052 
+0053 <span class="keyword">else</span>
+0054     
+0055 <span class="keyword">end</span>
+0056 
+0057 <span class="comment">% Update handles structure</span>
+0058 guidata(hObject, handles);
+0059 
+0060 
+0061 <span class="comment">% affichage des valeurs thï¿œoriques de optics</span>
+0062 betax = handles.twissdatain.beta(1);
+0063 betay = handles.twissdatain.beta(2);
+0064 alphax = handles.twissdatain.alpha(1);
+0065 alphay = handles.twissdatain.alpha(2);
+0066 gammax = (1 + alphax * alphax) / betax;
+0067 gammay = (1 + alphay * alphay) / betay;
+0068 
+0069 set(handles.betah_edit,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,betax));
+0070 set(handles.gammah_edit,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,gammax));
+0071 set(handles.alphah_edit,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,alphax));
+0072 set(handles.betav_edit,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,betay));
+0073 set(handles.gammav_edit,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,gammay));
+0074 set(handles.alphav_edit,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,alphay));
+0075 
+0076 <a name="_sub2" href="#_subfunctions" class="code">function appliquer_pushbutton_Callback(hObject, eventdata, handles)</a>
+0077 <span class="comment">% hObject    handle to appliquer_pushbutton (see GCBO)</span>
+0078 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0079 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0080 
+0081 <span class="comment">% Hints: get(hObject,'String') returns contents of appliquer_pushbutton as text</span>
+0082 <span class="comment">%        str2double(get(hObject,'String')) returns contents of appliquer_pushbutton as a double</span>
+0083 
+0084 <span class="comment">% prise en compte des nouvelles valeurs des paramï¿œtres de Twiss a l'entree</span>
+0085 handles.twissdatain.beta(1) = str2double(get(handles.betah_edit,<span class="string">'String'</span>) );
+0086 handles.twissdatain.alpha(1)  = str2double(get(handles.alphah_edit,<span class="string">'String'</span>));
+0087 set(handles.gammah_edit,<span class="string">'String'</span>,<span class="keyword">...</span>
+0088     sprintf(<span class="string">'%3.2f'</span>,(1 +handles.twissdatain.alpha(1)*handles.twissdatain.alpha(1))/handles.twissdatain.beta(1) ));
+0089 
+0090 handles.twissdatain.beta(2) = str2double(get(handles.betav_edit,<span class="string">'String'</span>) );
+0091 handles.twissdatain.alpha(2)  = str2double(get(handles.alphav_edit,<span class="string">'String'</span>));
+0092 set(handles.gammav_edit,<span class="string">'String'</span>,<span class="keyword">...</span>
+0093     sprintf(<span class="string">'%3.2f'</span>,(1 +handles.twissdatain.alpha(2)*handles.twissdatain.alpha(2))/handles.twissdatain.beta(1) ));
+0094 
+0095 setappdata(handles.caller,<span class="string">'twissdatain'</span>,handles.twissdatain);
+0096 
+0097 <span class="keyword">global</span> THERING;
+0098 
+0099 <span class="comment">% get twiss paramaters everywhere</span>
+0100 TD = twissline(THERING,0.0,handles.twissdatain,1:length(THERING),<span class="string">'chroma'</span>);
+0101 
+0102 handles.beta  = cat(1,TD.beta);
+0103 handles.cod   = cat(2,TD.ClosedOrbit)';
+0104 handles.eta   = cat(2,TD.Dispersion)';
+0105 handles.spos  = cat(1,TD.SPos);
+0106 handles.phase = cat(1,TD.mu);
+0107 
+0108 <span class="comment">% lecture des popup menu de optics</span>
+0109 valeur = get(handles.popupmenu_x, <span class="string">'Value'</span>);
+0110 str = get(handles.popupmenu_x, <span class="string">'String'</span>);
+0111 handles.xtype = str{valeur};
+0112 valeur = get(handles.popupmenu_y, <span class="string">'Value'</span>);
+0113 str = get(handles.popupmenu_y, <span class="string">'String'</span>);
+0114 handles.ytype = str{valeur};
+0115 
+0116 <span class="comment">% Replot everything</span>
+0117 <a href="#_sub3" class="code" title="subfunction plot_axes(handles,quoi)">plot_axes</a>(handles,handles.ytype);
+0118 <span class="comment">%mat</span>
+0119         ylim([0 130]);
+0120 <span class="comment">%-----------------------------------------------------------------------</span>
+0121 <a name="_sub3" href="#_subfunctions" class="code">function plot_axes(handles,quoi)</a>
+0122 <span class="comment">%%% fonction generique</span>
+0123 
+0124 axes(handles.axes1); cla; hold on;
+0125 
+0126 <span class="keyword">switch</span> handles.xtype
+0127     <span class="keyword">case</span> <span class="string">'spos'</span>
+0128         x=handles.(handles.xtype);
+0129     <span class="keyword">case</span> <span class="string">'phase'</span>
+0130         x=handles.(handles.xtype); x = x(:,1);
+0131 <span class="keyword">end</span>
+0132 
+0133 <span class="keyword">switch</span> quoi
+0134     <span class="keyword">case</span> <span class="string">'beta'</span>
+0135         plot(x,handles.beta(:,1),<span class="string">'r.-'</span>); 
+0136         plot(x,handles.beta(:,2),<span class="string">'b.-'</span>); 
+0137         ylabel(<span class="string">'\beta (m)'</span>);
+0138         <span class="comment">%mat</span>
+0139         ylim([0 130]);
+0140     <span class="keyword">case</span> <span class="string">'eta'</span>        
+0141         plot(x,handles.eta(:,1),<span class="string">'r.-'</span>);
+0142         plot(x,handles.eta(:,3),<span class="string">'b.-'</span>);
+0143         ylabel(<span class="string">'\eta (m)'</span>);
+0144     <span class="keyword">case</span> <span class="string">'cod'</span>        
+0145         plot(x,handles.cod(:,1)*1e3,<span class="string">'r.-'</span>);
+0146         plot(x,handles.cod(:,3)*1e3,<span class="string">'b.-'</span>);
+0147         ylabel(<span class="string">'cod (mm)'</span>);
+0148     <span class="keyword">case</span> <span class="string">'phase'</span>        
+0149         plot(x,handles.phase(:,1),<span class="string">'r.-'</span>);
+0150         plot(x,handles.phase(:,2),<span class="string">'b.-'</span>);
+0151         ylabel(<span class="string">'phase '</span>);
+0152 <span class="keyword">end</span>
+0153 axis([x(1) x(end) -inf inf]);
+0154 datalabel on
+0155 
+0156 
+0157 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0158 <a name="_sub4" href="#_subfunctions" class="code">function varargout = twiss_parameters_entry_OutputFcn(hObject, eventdata, handles)</a>
+0159 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0160 <span class="comment">% hObject    handle to figure</span>
+0161 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0162 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0163 
+0164 <span class="comment">% Get default command line output from handles structure</span>
+0165 varargout{1} = handles.output;  <span class="comment">% ???</span>
+0166 <span class="comment">%disp('c''est fini')</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/updateatindex.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/updateatindex.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT1/updateatindex.html	(revision 17)
@@ -0,0 +1,127 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of updateatindex</title>
+  <meta name="keywords" content="updateatindex">
+  <meta name="description" content="UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT1</a> &gt; updateatindex.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT1&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>updateatindex
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function updateatindex </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>	SETOPERATIONALMODE - Switches between the various operational modes</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function updateatindex</a>
+0002 <span class="comment">%UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Adapted by Laurent S. Nadolski</span>
+0006 
+0007 <span class="keyword">global</span> THERING
+0008 
+0009 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0010 <span class="comment">% Append Accelerator Toolbox information %</span>
+0011 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0012 
+0013 <span class="comment">% Since changes in the AT model could change the AT indexes, etc,</span>
+0014 <span class="comment">% It's best to regenerate all the model indices whenever a model is loaded</span>
+0015 
+0016 <span class="comment">% Sort by family first (findcells is linear and slow)</span>
+0017 Indices = atindex(THERING);
+0018 
+0019 AO = getao;
+0020 
+0021 <span class="comment">% CORRECTORS</span>
+0022 <span class="keyword">try</span>
+0023     <span class="comment">%% HORIZONTAL CORRECTORS</span>
+0024     ifam = (<span class="string">'CH'</span>);
+0025     AO.(ifam).AT.ATType  = ifam;
+0026     AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+0027     AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0028     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0029 
+0030     <span class="comment">%% VERTICAL CORRECTORS</span>
+0031     ifam = (<span class="string">'CV'</span>);
+0032     AO.(ifam).AT.ATType  = ifam;
+0033     AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+0034     AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0035     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0036 <span class="keyword">catch</span>
+0037     warning(<span class="string">'Corrector family not found in the model.'</span>);
+0038 <span class="keyword">end</span>
+0039 
+0040 
+0041 <span class="comment">% QUADRUPOLES</span>
+0042 <span class="keyword">try</span>
+0043     ifam = <span class="string">'QP'</span>;
+0044     AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+0045     AO.(ifam).AT.ATIndex = eval([<span class="string">'Indices.'</span> ifam <span class="string">'(:)'</span>]);
+0046     AO.(ifam).AT.ATIndex = reshape(AO.(ifam).AT.ATIndex,2,7)';
+0047     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0048 <span class="keyword">catch</span>
+0049     warning(<span class="string">'%s family not found in the model.'</span>,ifam);
+0050 <span class="keyword">end</span>
+0051 
+0052 <span class="comment">% BEND</span>
+0053 
+0054 <span class="keyword">try</span>
+0055     ifam = (<span class="string">'BEND'</span>);
+0056     AO.(ifam).AT.ATType  = ifam;
+0057     ATIndex = Indices.(ifam)(:);
+0058     AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, sort(ATIndex));
+0059     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0060 <span class="keyword">catch</span>
+0061     warning(<span class="string">'BEND family not found in the model.'</span>);
+0062 <span class="keyword">end</span>
+0063 
+0064 setao(AO);
+0065 
+0066 <span class="comment">% Set TwissData at the start of TL1</span>
+0067 <span class="keyword">try</span>
+0068     <span class="comment">% BTS twiss parameters at the input</span>
+0069     TwissData.alpha = [0 0]';
+0070     TwissData.beta  = [8.1 8.1]';
+0071     TwissData.mu    = [0 0]';
+0072     TwissData.ClosedOrbit = [0 0 0 0]';
+0073     TwissData.dP = 0;
+0074     TwissData.dL = 0;
+0075     TwissData.Dispersion  = [0 0 0 0]';
+0076 
+0077     setpvmodel(<span class="string">'TwissData'</span>, <span class="string">''</span>, TwissData);  <span class="comment">% Same as, THERING{1}.TwissData = TwissData;</span>
+0078 
+0079 <span class="keyword">catch</span>
+0080     warning(<span class="string">'Setting the twiss data parameters in the MML failed.'</span>);
+0081 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/LT2init.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/LT2init.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/LT2init.html	(revision 17)
@@ -0,0 +1,795 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of LT2init</title>
+  <meta name="keywords" content="LT2init">
+  <meta name="description" content="LT2INIT - Contructs an accelerator Object describing LT2">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT2</a> &gt; LT2init.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT2&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>LT2init
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>LT2INIT - Contructs an accelerator Object describing LT2</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function LT2init(OperationalMode) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> LT2INIT - Contructs an accelerator Object describing LT2
+
+ Written by Laurent S. Nadolski, Synchrotron SOLEIL
+
+==========================
+ Accelerator Family Fields
+==========================
+ FamilyName            CH, CV, QP, Bend
+ CommonNames           Shortcut name for each element
+ DeviceList            [Sector, Number]
+ ElementList           number in list
+ Position              m, magnet center
+
+ MONITOR FIELD
+ Mode                  online/manual/special/simulator
+ TangoNames            Tango device name for monitor
+ Units                 Physics or HW
+ HW2PhysicsFcn         function handle used to convert from hardware to physics units ==&gt; inline will not compile, see below
+ HW2PhysicsParams      parameters used for conversion function
+ Physics2HWFcn         function handle used to convert from physics to hardware units
+ Physics2HWParams      parameters used for conversion function
+ HWUnits               units for Hardware 'ampere';
+ PhysicsUnits          units for physics 'Rad';
+ Handles               monitor handle
+
+ SETPOINT FIELDS
+ Mode                  online/manual/special/simulator
+ TangoNames            PV for monitor
+ Units                 hardware or physics
+ HW2PhysicsFcn         function handle used to convert from hardware to physics units
+ HW2PhysicsParams      parameters used for conversion function
+ Physics2HWFcn         function handle used to convert from physics to hardware units
+ Physics2HWParams      parameters used for conversion function
+ HWUnits               units for Hardware 'ampere';
+ PhysicsUnits          units for physics 'Rad';
+ Range                 minsetpoint, maxsetpoint;
+ Tolerance             setpoint-monitor
+ Handles               setpoint handle
+
+=============================================
+ Accelerator Toolbox Simulation Fields
+=============================================
+ ATType                Quad, Sext, etc
+ ATIndex               index in THERING
+ ATParameterGroup      parameter group
+
+============
+ Family List
+============
+    CH
+    CV
+    BEND
+    QP
+    Machine Parameters
+
+  See Also <a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>, <a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>, setpathsoleil</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>	SETOPERATIONALMODE - Switches between the various operational modes</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="LT2setup.html" class="code" title="function LT2setup">LT2setup</a>	LT2SETUP - GUI for doing LT2 setup</li><li><a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>	AOINIT - Initialization function for the Matlab Middle Layer (MML)</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function LT2init(OperationalMode)</a>
+0002 <span class="comment">% LT2INIT - Contructs an accelerator Object describing LT2</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% Written by Laurent S. Nadolski, Synchrotron SOLEIL</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%==========================</span>
+0007 <span class="comment">% Accelerator Family Fields</span>
+0008 <span class="comment">%==========================</span>
+0009 <span class="comment">% FamilyName            CH, CV, QP, Bend</span>
+0010 <span class="comment">% CommonNames           Shortcut name for each element</span>
+0011 <span class="comment">% DeviceList            [Sector, Number]</span>
+0012 <span class="comment">% ElementList           number in list</span>
+0013 <span class="comment">% Position              m, magnet center</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">% MONITOR FIELD</span>
+0016 <span class="comment">% Mode                  online/manual/special/simulator</span>
+0017 <span class="comment">% TangoNames            Tango device name for monitor</span>
+0018 <span class="comment">% Units                 Physics or HW</span>
+0019 <span class="comment">% HW2PhysicsFcn         function handle used to convert from hardware to physics units ==&gt; inline will not compile, see below</span>
+0020 <span class="comment">% HW2PhysicsParams      parameters used for conversion function</span>
+0021 <span class="comment">% Physics2HWFcn         function handle used to convert from physics to hardware units</span>
+0022 <span class="comment">% Physics2HWParams      parameters used for conversion function</span>
+0023 <span class="comment">% HWUnits               units for Hardware 'ampere';</span>
+0024 <span class="comment">% PhysicsUnits          units for physics 'Rad';</span>
+0025 <span class="comment">% Handles               monitor handle</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% SETPOINT FIELDS</span>
+0028 <span class="comment">% Mode                  online/manual/special/simulator</span>
+0029 <span class="comment">% TangoNames            PV for monitor</span>
+0030 <span class="comment">% Units                 hardware or physics</span>
+0031 <span class="comment">% HW2PhysicsFcn         function handle used to convert from hardware to physics units</span>
+0032 <span class="comment">% HW2PhysicsParams      parameters used for conversion function</span>
+0033 <span class="comment">% Physics2HWFcn         function handle used to convert from physics to hardware units</span>
+0034 <span class="comment">% Physics2HWParams      parameters used for conversion function</span>
+0035 <span class="comment">% HWUnits               units for Hardware 'ampere';</span>
+0036 <span class="comment">% PhysicsUnits          units for physics 'Rad';</span>
+0037 <span class="comment">% Range                 minsetpoint, maxsetpoint;</span>
+0038 <span class="comment">% Tolerance             setpoint-monitor</span>
+0039 <span class="comment">% Handles               setpoint handle</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">%=============================================</span>
+0042 <span class="comment">% Accelerator Toolbox Simulation Fields</span>
+0043 <span class="comment">%=============================================</span>
+0044 <span class="comment">% ATType                Quad, Sext, etc</span>
+0045 <span class="comment">% ATIndex               index in THERING</span>
+0046 <span class="comment">% ATParameterGroup      parameter group</span>
+0047 <span class="comment">%</span>
+0048 <span class="comment">%============</span>
+0049 <span class="comment">% Family List</span>
+0050 <span class="comment">%============</span>
+0051 <span class="comment">%    CH</span>
+0052 <span class="comment">%    CV</span>
+0053 <span class="comment">%    BEND</span>
+0054 <span class="comment">%    QP</span>
+0055 <span class="comment">%    Machine Parameters</span>
+0056 <span class="comment">%</span>
+0057 <span class="comment">%  See Also aoinit, setoperationalmode, updateatindex, setpathsoleil</span>
+0058 
+0059 <span class="comment">%==============================</span>
+0060 <span class="comment">%load AcceleratorData structure</span>
+0061 <span class="comment">%==============================</span>
+0062 
+0063 <span class="keyword">if</span> nargin &lt; 1
+0064     OperationalMode = 1;
+0065 <span class="keyword">end</span>
+0066 
+0067 <span class="keyword">global</span> GLOBVAL THERING
+0068 
+0069 Mode             = <span class="string">'online'</span>;
+0070 setad([]);       <span class="comment">%clear AcceleratorData memory</span>
+0071 AD.SubMachine    = <span class="string">'LT2'</span>; <span class="comment">% Machine Name</span>
+0072 AD.Energy        = 2.75 ; <span class="comment">% Energy in GeV</span>
+0073 
+0074 
+0075 setad(AD);   <span class="comment">%load AcceleratorData</span>
+0076 
+0077 <span class="comment">%%%%%%%%%%%%%%%%%%%%</span>
+0078 <span class="comment">% ACCELERATOR OBJECT</span>
+0079 <span class="comment">%%%%%%%%%%%%%%%%%%%%</span>
+0080 
+0081 setao([]);   <span class="comment">%clear previous AcceleratorObjects</span>
+0082 
+0083 
+0084 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0085 <span class="comment">%% BPM data</span>
+0086 <span class="comment">% status field designates if BPM in use</span>
+0087 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0088 ifam = <span class="string">'BPMx'</span>;
+0089 AO.(ifam).FamilyName               = ifam;
+0090 AO.(ifam).FamilyType               = <span class="string">'BPM'</span>;
+0091 AO.(ifam).MemberOf                 = {<span class="string">'BPM'</span>; <span class="string">'HBPM'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0092 AO.(ifam).Monitor.Mode             = Mode;
+0093 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;
+0094 AO.(ifam).Monitor.HWUnits          = <span class="string">'mm'</span>;
+0095 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'meter'</span>;
+0096 
+0097 nb = 3;
+0098 AO.(ifam).DeviceList =[1 1; 1 2; 1 3]; 
+0099 AO.(ifam).ElementList = (1:nb)';
+0100 AO.(ifam).DeviceName(:,:)               = {<span class="string">'LT2/DG/BPM.1'</span>; <span class="string">'LT2/DG/BPM.2'</span>; <span class="string">'LT2/DG/BPM.3'</span>};
+0101 AO.(ifam).Monitor.TangoNames(:,:)       = strcat(AO.(ifam).DeviceName, <span class="string">'/XPosSA'</span>);
+0102 AO.(ifam).CommonNames(:,:)              = [repmat(<span class="string">'BPMx'</span>,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0103 
+0104 AO.(ifam).Status                        = ones(nb,1);
+0105 AO.(ifam).Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(nb,1);
+0106 AO.(ifam).Monitor.Physics2HWParams(:,:) = 1e3*ones(nb,1);
+0107 
+0108 <span class="comment">% 2 lignes ajoutes pour test debug bpm versus le reste du monde</span>
+0109 AO.(ifam).Monitor.Handles(:,1)       = NaN*ones(nb,1);
+0110 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0111 
+0112 
+0113 <span class="comment">% Vertical plane</span>
+0114 ifam = <span class="string">'BPMz'</span>; 
+0115 AO.(ifam) = AO.BPMx; <span class="comment">% the same as BPMx</span>
+0116 <span class="comment">% except those fields</span>
+0117 AO.(ifam).MemberOf                 = {<span class="string">'BPM'</span>; <span class="string">'VBPM'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0118 AO.(ifam).FamilyName              = ifam;
+0119 AO.(ifam).Monitor.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,<span class="string">'/ZPosSA'</span>);
+0120 AO.(ifam).CommonNames(:,:) = [repmat(<span class="string">'BPMz'</span>,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0121 
+0122 <span class="comment">% 2 lignes ajoutes pour test debug bpm versus le reste du monde</span>
+0123 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0124 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0125 
+0126 AO.(ifam).Status = AO.(ifam).Status(:);
+0127 AO.(ifam).Status = AO.(ifam).Status(:);
+0128 
+0129 
+0130 setao(AO); <span class="comment">% mandatory to avoid empty AO message with magnetcoefficients</span>
+0131 
+0132 <span class="comment">%% Dipole</span>
+0133 ifam = <span class="string">'BEND'</span>;
+0134 
+0135 AO.(ifam).FamilyName             = <span class="string">'BEND'</span>;
+0136 AO.(ifam).MemberOf               = {<span class="string">'MachineConfig'</span>; <span class="string">'Magnet'</span>; <span class="string">'BEND'</span>; <span class="string">'Archivable'</span>};
+0137 AO.(ifam).Mode                   = Mode;
+0138 AO.(ifam).DeviceName{1}          = <span class="string">'LT2/AE/D.1'</span>;
+0139 AO.(ifam).CommonNames{1}         = <span class="string">'DIP'</span>;
+0140 AO.(ifam).Monitor.Range(:,:)     = [0 580];
+0141 AO.(ifam).DeviceList(1,:)        = [1 1];
+0142 AO.(ifam).ElementList            = 1;
+0143 AO.(ifam).Status                 = 1;
+0144 AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, <span class="string">'/currentPM'</span>);
+0145 AO.(ifam).Monitor.ModelVal       = 0;
+0146 AO.(ifam).Monitor.TangoVal       = 0;
+0147 AO.(ifam).Monitor.Mode           = Mode;
+0148 AO.(ifam).Monitor.Handles(:,1)   = NaN;
+0149 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0150 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0151 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0152 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0153 AO.(ifam).Monitor.HW2PhysicsFcn  = @bend2gev;
+0154 AO.(ifam).Monitor.Physics2HWFcn  = @gev2bend;
+0155 setao(AO);
+0156 
+0157 [C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+0158 AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+0159 AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+0160 
+0161 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0162 AO.(ifam).Desired  = AO.(ifam).Monitor;
+0163 
+0164 <span class="comment">%% Quadrupoles QP</span>
+0165 ifam = <span class="string">'QP'</span>;
+0166 
+0167 AO.(ifam).FamilyName             = ifam;
+0168 AO.(ifam).MemberOf               = {<span class="string">'MachineConfig'</span>; <span class="string">'Magnet'</span>; <span class="string">'QUAD'</span>; <span class="string">'Archivable'</span>};
+0169 AO.(ifam).Mode                   = Mode;
+0170 
+0171 <span class="keyword">for</span> ik = 1:7    
+0172     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT2/AE/Q.'</span> num2str(ik)];
+0173     AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];
+0174     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0175 <span class="keyword">end</span>
+0176 AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+0177 AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+0178 AO.(ifam).Monitor.Range(:,:)     = [0 270;-270 0;-270 0;0 270;0 270;-270 0;0 270]; <span class="comment">%</span>
+0179 nb                               = length(AO.(ifam).DeviceName);
+0180 AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, <span class="string">'/current'</span>);
+0181 
+0182 AO.(ifam).Status                 = ones(nb,1);
+0183 AO.(ifam).Monitor.ModelVal       = zeros(1,nb);
+0184 AO.(ifam).Monitor.TangoVal       = AO.(ifam).Monitor.ModelVal;
+0185 AO.(ifam).ElementList            = 1:nb;
+0186 
+0187 AO.(ifam).Monitor.Mode           = Mode;
+0188 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+0189 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0190 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0191 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0192 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0193 AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+0194 AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+0195 
+0196 C = magnetcoefficients(AO.(ifam).FamilyName);
+0197 
+0198 <span class="keyword">for</span> ii=1:nb,
+0199     <span class="keyword">if</span> ii == 2 || ii == 3 || ii == 6
+0200         <span class="comment">% Defocusing quads</span>
+0201         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+0202         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];
+0203     <span class="keyword">else</span>
+0204         <span class="comment">% Focusing quad</span>
+0205         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C;
+0206         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C;
+0207     <span class="keyword">end</span>
+0208 <span class="keyword">end</span>
+0209 
+0210 <span class="comment">%AO.(ifam).Monitor.Range(:,:) = repmat([-5 5],nb,1); % 10 A for 0.8 mrad</span>
+0211 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0212 AO.(ifam).Desired = AO.(ifam).Monitor;
+0213 AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,<span class="string">'/currentPM'</span>);
+0214 
+0215 
+0216 <span class="comment">% %% Quadrupoles QF</span>
+0217 <span class="comment">% ifam = 'QF';</span>
+0218 <span class="comment">%</span>
+0219 <span class="comment">% AO.(ifam).FamilyName             = ifam;</span>
+0220 <span class="comment">% AO.(ifam).MemberOf               = {'MachineConfig'; 'Magnet'; 'QP'; 'Archivable'};</span>
+0221 <span class="comment">% AO.(ifam).Mode                   = Mode;</span>
+0222 <span class="comment">%</span>
+0223 <span class="comment">% for ik = 1:7</span>
+0224 <span class="comment">%     AO.(ifam).DeviceName{ik}  = ['LT2/AE/Q.' num2str(ik)];</span>
+0225 <span class="comment">%     AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];</span>
+0226 <span class="comment">%     AO.(ifam).DeviceList(ik,:) = [1 ik];</span>
+0227 <span class="comment">% end</span>
+0228 <span class="comment">% AO.(ifam).DeviceName             = AO.(ifam).DeviceName';</span>
+0229 <span class="comment">% AO.(ifam).CommonNames            = AO.(ifam).CommonNames';</span>
+0230 <span class="comment">%</span>
+0231 <span class="comment">% nb                               = length(AO.(ifam).DeviceName);</span>
+0232 <span class="comment">% AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');</span>
+0233 <span class="comment">% AO.(ifam).Status                 = ones(nb,1);</span>
+0234 <span class="comment">% AO.(ifam).Monitor.ModelVal       = zeros(1,nb);</span>
+0235 <span class="comment">% AO.(ifam).Monitor.TangoVal       = AO.(ifam).Monitor.ModelVal;</span>
+0236 <span class="comment">% AO.(ifam).ElementList            = 1:nb;</span>
+0237 <span class="comment">%</span>
+0238 <span class="comment">% AO.(ifam).Monitor.Mode           = Mode;</span>
+0239 <span class="comment">% AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);</span>
+0240 <span class="comment">% AO.(ifam).Monitor.DataType       = 'Scalar';</span>
+0241 <span class="comment">% AO.(ifam).Monitor.Units          = 'Hardware';</span>
+0242 <span class="comment">% AO.(ifam).Monitor.HWUnits        = 'ampere';</span>
+0243 <span class="comment">% AO.(ifam).Monitor.PhysicsUnits   = 'radian';</span>
+0244 <span class="comment">% AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;</span>
+0245 <span class="comment">% AO.(ifam).Monitor.Physics2HWFcn = @k2amp;</span>
+0246 <span class="comment">%</span>
+0247 <span class="comment">% C = magnetcoefficients(AO.(ifam).FamilyName);</span>
+0248 <span class="comment">%</span>
+0249 <span class="comment">% for ii=1:nb,</span>
+0250 <span class="comment">%     if ii == 2 || ii == 3 || ii == 6</span>
+0251 <span class="comment">%         % Defocusing quads</span>
+0252 <span class="comment">%         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];</span>
+0253 <span class="comment">%         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];</span>
+0254 <span class="comment">%     else</span>
+0255 <span class="comment">%         % Focusing quad</span>
+0256 <span class="comment">%         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C;</span>
+0257 <span class="comment">%         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C;</span>
+0258 <span class="comment">%     end</span>
+0259 <span class="comment">% end</span>
+0260 <span class="comment">%</span>
+0261 <span class="comment">% %AO.(ifam).Monitor.Range(:,:) = repmat([-5 5],nb,1); % 10 A for 0.8 mrad</span>
+0262 <span class="comment">% AO.(ifam).Setpoint = AO.(ifam).Monitor;</span>
+0263 <span class="comment">% AO.(ifam).Desired = AO.(ifam).Monitor;</span>
+0264 <span class="comment">%</span>
+0265 <span class="comment">%</span>
+0266 <span class="comment">% %% Quadrupoles QD</span>
+0267 <span class="comment">% ifam = 'QD';</span>
+0268 <span class="comment">%</span>
+0269 <span class="comment">% AO.(ifam).FamilyName             = ifam;</span>
+0270 <span class="comment">% AO.(ifam).MemberOf               = {'MachineConfig'; 'Magnet'; 'QP'; 'Archivable'};</span>
+0271 <span class="comment">% AO.(ifam).Mode                   = Mode;</span>
+0272 <span class="comment">%</span>
+0273 <span class="comment">% for ik = 1:7</span>
+0274 <span class="comment">%     AO.(ifam).DeviceName{ik}  = ['LT2/AE/Q.' num2str(ik)];</span>
+0275 <span class="comment">%     AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];</span>
+0276 <span class="comment">%     AO.(ifam).DeviceList(ik,:) = [1 ik];</span>
+0277 <span class="comment">% end</span>
+0278 <span class="comment">% AO.(ifam).DeviceName             = AO.(ifam).DeviceName';</span>
+0279 <span class="comment">% AO.(ifam).CommonNames            = AO.(ifam).CommonNames';</span>
+0280 <span class="comment">%</span>
+0281 <span class="comment">% nb                               = length(AO.(ifam).DeviceName);</span>
+0282 <span class="comment">% AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/current');</span>
+0283 <span class="comment">% AO.(ifam).Status                 = ones(nb,1);</span>
+0284 <span class="comment">% AO.(ifam).Monitor.ModelVal       = zeros(1,nb);</span>
+0285 <span class="comment">% AO.(ifam).Monitor.TangoVal       = AO.(ifam).Monitor.ModelVal;</span>
+0286 <span class="comment">% AO.(ifam).ElementList            = 1:nb;</span>
+0287 <span class="comment">%</span>
+0288 <span class="comment">% AO.(ifam).Monitor.Mode           = Mode;</span>
+0289 <span class="comment">% AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);</span>
+0290 <span class="comment">% AO.(ifam).Monitor.DataType       = 'Scalar';</span>
+0291 <span class="comment">% AO.(ifam).Monitor.Units          = 'Hardware';</span>
+0292 <span class="comment">% AO.(ifam).Monitor.HWUnits        = 'ampere';</span>
+0293 <span class="comment">% AO.(ifam).Monitor.PhysicsUnits   = 'radian';</span>
+0294 <span class="comment">% AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;</span>
+0295 <span class="comment">% AO.(ifam).Monitor.Physics2HWFcn = @k2amp;</span>
+0296 <span class="comment">%</span>
+0297 <span class="comment">% C = magnetcoefficients(AO.(ifam).FamilyName);</span>
+0298 <span class="comment">%</span>
+0299 <span class="comment">% for ii=1:nb,</span>
+0300 <span class="comment">%     if ii == 2 || ii == 3 || ii == 6</span>
+0301 <span class="comment">%         % Defocusing quads</span>
+0302 <span class="comment">%         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];</span>
+0303 <span class="comment">%         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C.*[1 -1 1 -1 1 -1 1 -1];</span>
+0304 <span class="comment">%     else</span>
+0305 <span class="comment">%         % Focusing quad</span>
+0306 <span class="comment">%         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = C;</span>
+0307 <span class="comment">%         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = C;</span>
+0308 <span class="comment">%     end</span>
+0309 <span class="comment">% end</span>
+0310 <span class="comment">%</span>
+0311 <span class="comment">% %AO.(ifam).Monitor.Range(:,:) = repmat([-5 5],nb,1); % 10 A for 0.8 mrad</span>
+0312 <span class="comment">% AO.(ifam).Setpoint = AO.(ifam).Monitor;</span>
+0313 <span class="comment">% AO.(ifam).Desired = AO.(ifam).Monitor;</span>
+0314 <span class="comment">%</span>
+0315 
+0316 
+0317 <span class="comment">%% Horizontal Correctors</span>
+0318 ifam = <span class="string">'CH'</span>;
+0319 AO.(ifam).FamilyName           = ifam;
+0320 AO.(ifam).MemberOf             = {<span class="string">'MachineConfig'</span>; <span class="string">'Magnet'</span>; <span class="string">'HCM'</span>; <span class="string">'CH'</span>; <span class="string">'Archivable'</span>};
+0321 
+0322 <span class="keyword">for</span> ik = 1:3    
+0323     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT2/AE/CH.'</span> num2str(ik)];
+0324     AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];
+0325     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0326 <span class="keyword">end</span>
+0327 AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+0328 AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+0329 
+0330 
+0331 nb                         = length(AO.(ifam).DeviceName);
+0332 AO.(ifam).Monitor.Range(:,:)     = repmat([-10 10],nb,1);
+0333 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/current'</span>);
+0334 AO.(ifam).Status               = ones(nb,1);
+0335 AO.(ifam).Monitor.ModelVal     = zeros(1,nb);
+0336 AO.(ifam).Monitor.TangoVal     = AO.(ifam).Monitor.ModelVal;
+0337 AO.(ifam).ElementList           = 1:nb;
+0338 
+0339 AO.(ifam).Monitor.Mode           = Mode;
+0340 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+0341 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0342 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0343 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0344 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0345 AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+0346 AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+0347 [C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+0348 AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+0349 AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+0350 
+0351 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0352 <span class="comment">%AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/currentPM');</span>
+0353 
+0354 <span class="comment">%% Vertical Correctors</span>
+0355 ifam = <span class="string">'CV'</span>;
+0356 
+0357 AO.(ifam).FamilyName           = ifam;
+0358 AO.(ifam).MemberOf             = {<span class="string">'MachineConfig'</span>; <span class="string">'Magnet'</span>; <span class="string">'VCM'</span>; <span class="string">'CV'</span>; <span class="string">'Archivable'</span>};
+0359 AO.(ifam).Mode                 = Mode;
+0360 
+0361 <span class="keyword">for</span> ik = 1:5,
+0362     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT2/AE/CV.'</span> num2str(ik)];
+0363     AO.(ifam).CommonNames{ik} = [ifam num2str(ik)];
+0364     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0365 <span class="keyword">end</span>
+0366 AO.(ifam).DeviceName             = AO.(ifam).DeviceName';
+0367 AO.(ifam).CommonNames            = AO.(ifam).CommonNames';
+0368 
+0369 nb                             = length(AO.(ifam).DeviceName);
+0370 AO.(ifam).Monitor.Range(:,:)     = repmat([-10 10],nb,1);
+0371 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/current'</span>);
+0372 AO.(ifam).Status               = ones(nb,1);
+0373 AO.(ifam).Monitor.ModelVal     = zeros(1,nb);
+0374 AO.(ifam).Monitor.TangoVal     = AO.(ifam).Monitor.ModelVal;
+0375 AO.(ifam).ElementList          = 1:nb;
+0376 
+0377 AO.(ifam).Monitor.Mode           = Mode;
+0378 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+0379 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0380 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0381 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0382 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0383 AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+0384 AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+0385 [C Leff Type coefficients] = magnetcoefficients(AO.(ifam).FamilyName );
+0386 AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = coefficients;
+0387 AO.(ifam).Monitor.Physics2HWParams = AO.(ifam).Monitor.HW2PhysicsParams;
+0388 
+0389 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0390 <span class="comment">%AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, '/currentPM');</span>
+0391 setao(AO);
+0392 
+0393 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0394 <span class="comment">%% CYCLAGE</span>
+0395 <span class="comment">%%%%%%%%%%%%%%%%%</span>
+0396 
+0397 <span class="comment">%% cycleramp For dipole magnet</span>
+0398 ifam = <span class="string">'CycleBEND'</span>;
+0399 ifamQ = <span class="string">'BEND'</span>;
+0400 
+0401 AO.(ifam).FamilyName             = <span class="string">'CycleBEND'</span>;
+0402 AO.(ifam).MemberOf               = {<span class="string">'CycleBEND'</span>; <span class="string">'Cyclage'</span>};
+0403 AO.(ifam).Mode                   = Mode;
+0404 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+0405 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/D'</span>,<span class="string">'/cycleD'</span>);
+0406 AO.(ifam).DeviceList             = family2dev(ifamQ);
+0407 AO.(ifam).ElementList            = family2elem(ifamQ);
+0408 AO.(ifam).GroupId                = tango_group_create(<span class="string">'Dipole'</span>); 
+0409 AO.(ifam).DeviceName             = <span class="string">'LT2/AE/cycleD.1'</span>;
+0410 <span class="comment">%add devices to group</span>
+0411 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName);
+0412 <span class="comment">%AO.(ifam).Inom = 180;</span>
+0413 AO.(ifam).Imax = 580;
+0414 AO.(ifam).Status = 1;
+0415 AO.(ifam).Monitor.Mode           = Mode;
+0416 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(7,1);
+0417 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0418 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0419 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0420 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0421 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+0422 
+0423 
+0424 
+0425 <span class="comment">%% cycleramp For H-corrector magnets</span>
+0426 ifam = <span class="string">'CycleCH'</span>;
+0427 ifamQ = <span class="string">'CH'</span>;
+0428 
+0429 AO.(ifam).FamilyName             = ifam;
+0430 AO.(ifam).MemberOf               = {<span class="string">'CycleCOR'</span>; <span class="string">'CycleCH'</span>; <span class="string">'Cyclage'</span>};
+0431 AO.(ifam).Mode                   = Mode;
+0432 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+0433 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/C'</span>,<span class="string">'/cycleC'</span>);
+0434 AO.(ifam).DeviceList             = family2dev(ifamQ);
+0435 AO.(ifam).ElementList            = family2elem(ifamQ);
+0436 <span class="comment">%add devices to group</span>
+0437 AO.(ifam).GroupId                = tango_group_create(<span class="string">'COR'</span>); 
+0438 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+0439 AO.(ifam).Inom = [1 2 3];
+0440 AO.(ifam).Imax = 10*ones(1,3);
+0441 AO.(ifam).Status = ones(3,1);
+0442 AO.(ifam).Monitor.Mode           = Mode;
+0443 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(3,1);
+0444 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0445 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0446 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0447 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0448 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+0449 
+0450 <span class="comment">%% cycleramp For V-corrector magnets</span>
+0451 ifam = <span class="string">'CycleCV'</span>;
+0452 ifamQ = <span class="string">'CH'</span>;
+0453 
+0454 AO.(ifam).FamilyName             = ifam;
+0455 AO.(ifam).MemberOf               = {<span class="string">'CycleCOR'</span>; <span class="string">'CycleCV'</span>; <span class="string">'Cyclage'</span>};
+0456 AO.(ifam).Mode                   = Mode;
+0457 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+0458 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/C'</span>,<span class="string">'/cycleC'</span>);
+0459 AO.(ifam).DeviceList             = family2dev(ifamQ);
+0460 AO.(ifam).ElementList            = family2elem(ifamQ);
+0461 <span class="comment">%add devices to group</span>
+0462 AO.(ifam).GroupId                = tango_group_create(<span class="string">'COR'</span>); 
+0463 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+0464 AO.(ifam).Inom = [1 2 3];
+0465 AO.(ifam).Imax = 10*ones(1,3);
+0466 AO.(ifam).Status = ones(3,1);
+0467 AO.(ifam).Monitor.Mode           = Mode;
+0468 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(3,1);
+0469 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0470 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0471 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0472 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0473 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+0474 
+0475 <span class="comment">%% cycleramp For quadrupoles magnets</span>
+0476 ifam = <span class="string">'CycleQP'</span>;
+0477 ifamQ = <span class="string">'QP'</span>;
+0478 
+0479 AO.(ifam).FamilyName             = ifam;
+0480 AO.(ifam).MemberOf               = {<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+0481 AO.(ifam).Mode                   = Mode;
+0482 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+0483 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+0484 AO.(ifam).DeviceList             = family2dev(ifamQ);
+0485 AO.(ifam).ElementList            = family2elem(ifamQ);
+0486 <span class="comment">%add devices to group</span>
+0487 AO.(ifam).GroupId                = tango_group_create(<span class="string">'Quadrupole'</span>); 
+0488 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+0489 nb = length(AO.(ifam).ElementList);
+0490 AO.(ifam).Imax = [274  -349  -274  274  274  -274  274 ];
+0491 AO.(ifam).Status = ones(7,1);
+0492 AO.(ifam).Monitor.Mode           = Mode;
+0493 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(7,1);
+0494 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0495 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0496 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0497 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'radian'</span>;
+0498 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+0499 
+0500 <span class="comment">% %%%%%%%%%%%%%%%%%%</span>
+0501 <span class="comment">% %%% Diagnostics</span>
+0502 <span class="comment">% %%%%%%%%%%%%%%%%%%</span>
+0503 <span class="comment">%</span>
+0504 <span class="comment">% %% Charge Monitor - Moniteur de charge</span>
+0505 <span class="comment">% ifam = 'MC';</span>
+0506 <span class="comment">%</span>
+0507 <span class="comment">% AO.(ifam).FamilyName             = 'MC';</span>
+0508 <span class="comment">% AO.(ifam).MemberOf               = {'Diag'; 'MC'; 'Archivable'};</span>
+0509 <span class="comment">% AO.(ifam).Mode                   = Mode;</span>
+0510 <span class="comment">% AO.(ifam).DeviceName             = {'LT2/DG/MC'; 'LT2/DG/MC'};</span>
+0511 <span class="comment">% AO.(ifam).CommonNames            = ['mc1';'mc2';];</span>
+0512 <span class="comment">% AO.(ifam).DeviceList(:,:)        = [1 1; 1 2];</span>
+0513 <span class="comment">% AO.(ifam).ElementList            = [1 2]';</span>
+0514 <span class="comment">% AO.(ifam).Status                 = [1 1]';</span>
+0515 <span class="comment">% AO.(ifam).Monitor.TangoNames     = [strcat(AO.(ifam).DeviceName(1,:), '/qIct1'); ...</span>
+0516 <span class="comment">%                                     strcat(AO.(ifam).DeviceName(2,:), '/qIct2')];</span>
+0517 <span class="comment">% AO.(ifam).Monitor.Mode           = Mode;</span>
+0518 <span class="comment">% AO.(ifam).Monitor.Handles(:,1)   = [NaN; NaN]';</span>
+0519 <span class="comment">% AO.(ifam).Monitor.DataType       = 'Vector';</span>
+0520 <span class="comment">% AO.(ifam).Monitor.Units          = 'Hardware';</span>
+0521 <span class="comment">% AO.(ifam).Monitor.HWUnits        = 'nC';</span>
+0522 <span class="comment">% AO.(ifam).Monitor.PhysicsUnits   = 'nC';</span>
+0523 <span class="comment">% AO.(ifam).Monitor.HW2PhysicsParams = 1.0;</span>
+0524 <span class="comment">% AO.(ifam).Monitor.Physics2HWParams = 1.0;</span>
+0525 
+0526 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0527 <span class="comment">%% Vacuum system</span>
+0528 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0529 
+0530 <span class="comment">%% IonPump</span>
+0531 ifam = <span class="string">'PI'</span>;
+0532 AO.(ifam).FamilyName           = <span class="string">'PI'</span>;
+0533 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'IonPump'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0534 AO.(ifam).Monitor.Mode         = Mode;
+0535 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0536 
+0537 <span class="keyword">for</span> ik = 1:15    
+0538     <span class="keyword">if</span> ik &gt;= 10
+0539         AO.(ifam).DeviceName{ik}  = [<span class="string">'LT2/VI/PI.'</span> num2str(ik)];
+0540     <span class="keyword">else</span>
+0541         AO.(ifam).DeviceName{ik}  = [<span class="string">'LT2/VI/PI.0'</span> num2str(ik)];
+0542     <span class="keyword">end</span>
+0543     AO.(ifam).CommonNames{ik} = [<span class="string">'PI'</span> num2str(ik)];
+0544     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0545 <span class="keyword">end</span>
+0546 
+0547 nb = size(AO.(ifam).DeviceList,1);
+0548 AO.(ifam).Status                   = ones(nb,1);
+0549 AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+0550 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0551 AO.(ifam).ElementList              = (1:nb)';
+0552 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0553 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0554 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0555 AO.(ifam).Monitor.Physics2HWParams = 1;
+0556 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0557 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0558 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0559 
+0560 <span class="comment">%% PenningGauge</span>
+0561 ifam = <span class="string">'JPEN'</span>;
+0562 AO.(ifam).FamilyName           = <span class="string">'JPEN'</span>;
+0563 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PenningGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0564 AO.(ifam).Monitor.Mode         = Mode;
+0565 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0566 
+0567 <span class="keyword">for</span> ik = 1:3 
+0568     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT2/VI/JPEN.'</span> num2str(ik)];
+0569     AO.(ifam).CommonNames{ik} = [<span class="string">'JPEN'</span> num2str(ik)];
+0570     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0571 <span class="keyword">end</span>
+0572 
+0573 nb = size(AO.(ifam).DeviceList,1);
+0574 AO.(ifam).Status                   = ones(nb,1);
+0575 AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+0576 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0577 AO.(ifam).ElementList              = (1:nb)';
+0578 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0579 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0580 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0581 AO.(ifam).Monitor.Physics2HWParams = 1;
+0582 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0583 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0584 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0585 
+0586 <span class="comment">%% PenningGauge</span>
+0587 ifam = <span class="string">'JPIR'</span>;
+0588 AO.(ifam).FamilyName           = <span class="string">'JPIR'</span>;
+0589 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PiraniGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>};
+0590 AO.(ifam).Monitor.Mode         = Mode;
+0591 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0592 
+0593 <span class="keyword">for</span> ik = 1:3    
+0594     AO.(ifam).DeviceName{ik}  = [<span class="string">'LT2/VI/JPIR.'</span> num2str(ik)];
+0595     AO.(ifam).CommonNames{ik} = [<span class="string">'JPIR'</span> num2str(ik)];
+0596     AO.(ifam).DeviceList(ik,:) = [1 ik];
+0597 <span class="keyword">end</span>
+0598 
+0599 nb = size(AO.(ifam).DeviceList,1);
+0600 AO.(ifam).Status                   = ones(nb,1);
+0601 AO.(ifam).DeviceName               = AO.(ifam).DeviceName';
+0602 AO.(ifam).CommonNames              = AO.(ifam).CommonNames';
+0603 AO.(ifam).ElementList              = (1:nb)';
+0604 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0605 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+0606 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+0607 AO.(ifam).Monitor.Physics2HWParams = 1;
+0608 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0609 AO.(ifam).Monitor.HWUnits          = <span class="string">'mBar'</span>;
+0610 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mBar'</span>;
+0611 
+0612 <span class="comment">%% Synchronisation</span>
+0613 <span class="comment">% ifam = 'SYNC'</span>
+0614 <span class="comment">% AO.(ifam).FamilyName           = 'SYNC';</span>
+0615 <span class="comment">% AO.(ifam).MemberOf             = {'Timing'};</span>
+0616 <span class="comment">% AO.(ifam).Monitor.Mode         = Mode;</span>
+0617 <span class="comment">% AO.(ifam).Monitor.DataType     = 'Scalar';</span>
+0618 <span class="comment">%</span>
+0619 <span class="comment">% AO.(ifam).DeviceName{ik}  = ['LT2/VI/JPIR.' num2str(ik)];</span>
+0620 <span class="comment">%</span>
+0621 <span class="comment">% AO.(ifam).Monitor.HWUnits      = 's';</span>
+0622 
+0623 setao(AO);
+0624 
+0625 <span class="comment">% The operational mode sets the path, filenames, and other important params</span>
+0626 <span class="comment">% Run setoperationalmode after most of the AO is built so that the Units and Mode fields</span>
+0627 <span class="comment">% can be set in setoperationalmode</span>
+0628 
+0629 <a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>(OperationalMode);
+0630 
+0631 
+0632 <span class="comment">%======================================================================</span>
+0633 <span class="comment">%======================================================================</span>
+0634 <span class="comment">%% Append Accelerator Toolbox information</span>
+0635 <span class="comment">%======================================================================</span>
+0636 <span class="comment">%======================================================================</span>
+0637 disp(<span class="string">'** Initializing Accelerator Toolbox information'</span>);
+0638 
+0639 AO = getao;
+0640 
+0641 ATindx = atindex(THERING);  <span class="comment">%structure with fields containing indices</span>
+0642 
+0643 s = findspos(THERING,1:length(THERING)+1)';
+0644 
+0645 <span class="comment">%% HORIZONTAL CORRECTORS</span>
+0646 ifam = (<span class="string">'CH'</span>);
+0647 AO.(ifam).AT.ATType  = ifam;
+0648 AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+0649 AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0650 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0651 
+0652 <span class="comment">%% VERTICAL CORRECTORS</span>
+0653 ifam = (<span class="string">'CV'</span>);
+0654 AO.(ifam).AT.ATType  = ifam;
+0655 AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+0656 AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0657 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex); 
+0658 
+0659 <span class="comment">%% BENDING magnets</span>
+0660 ifam = (<span class="string">'BEND'</span>);
+0661 AO.(ifam).AT.ATType  = ifam;
+0662 AO.(ifam).AT.ATIndex = ATindx.(ifam)(:);
+0663 AO.(ifam).Position   = reshape(s(AO.(ifam).AT.ATIndex),1,4);
+0664 
+0665 <span class="comment">%% QUADRUPOLES</span>
+0666 ifam = <span class="string">'QP'</span>;
+0667 AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+0668 AO.(ifam).AT.ATIndex = eval([<span class="string">'ATindx.'</span> ifam <span class="string">'(:)'</span>]);
+0669 AO.(ifam).AT.ATIndex = reshape(AO.(ifam).AT.ATIndex,1,7)';
+0670 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+0671 
+0672 
+0673 <span class="comment">% %% QUADRUPOLES</span>
+0674 <span class="comment">% ifam = 'QF';</span>
+0675 <span class="comment">% AT.(ifam).AT.ATType  = 'QUAD';</span>
+0676 <span class="comment">% AT.(ifam).AT.ATIndex = eval(['ATindx.' ifam '(:)']);</span>
+0677 <span class="comment">% AT.(ifam).AT.ATIndex = reshape(AT.(ifam).AT.ATIndex,1,4)';</span>
+0678 <span class="comment">% AT.(ifam).Position   = s(AT.(ifam).AT.ATIndex);</span>
+0679 <span class="comment">%</span>
+0680 <span class="comment">% %% QUADRUPOLES</span>
+0681 <span class="comment">% ifam = 'QD';</span>
+0682 <span class="comment">% AT.(ifam).AT.ATType  = 'QUAD';</span>
+0683 <span class="comment">% AT.(ifam).AT.ATIndex = eval(['ATindx.' ifam '(:)']);</span>
+0684 <span class="comment">% AT.(ifam).AT.ATIndex = reshape(AT.(ifam).AT.ATIndex,1,3)';</span>
+0685 <span class="comment">% AT.(ifam).Position   = s(AT.(ifam).AT.ATIndex);</span>
+0686 
+0687 <span class="comment">% Save AO</span>
+0688 setao(AO);
+0689 
+0690 <span class="keyword">if</span> iscontrolroom
+0691     switch2online;
+0692 <span class="keyword">else</span>
+0693     switch2sim;
+0694 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/LT2setup.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/LT2setup.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/LT2setup.html	(revision 17)
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of LT2setup</title>
+  <meta name="keywords" content="LT2setup">
+  <meta name="description" content="LT2SETUP - GUI for doing LT2 setup">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT2</a> &gt; LT2setup.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT2&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>LT2setup
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>LT2SETUP - GUI for doing LT2 setup</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function LT2setup </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">LT2SETUP - GUI for doing LT2 setup</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="LT2init.html" class="code" title="function LT2init(OperationalMode)">LT2init</a>	LT2INIT - Contructs an accelerator Object describing LT2</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function LT2setup</a>
+0002 <span class="comment">%LT2SETUP - GUI for doing LT2 setup</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Written by Laurent S. Nadolski</span>
+0006 
+0007 AD = getad;
+0008 
+0009 <span class="keyword">if</span> isempty(AD) 
+0010     <a href="LT2init.html" class="code" title="function LT2init(OperationalMode)">LT2init</a>;
+0011 <span class="keyword">elseif</span> ~strcmpi(AD.SubMachine,<span class="string">'LT2'</span>)
+0012     <a href="LT2init.html" class="code" title="function LT2init(OperationalMode)">LT2init</a>;
+0013 <span class="keyword">end</span>
+0014 
+0015 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'LT2setup'</span>); 
+0016 
+0017 <span class="keyword">if</span> ~isempty(orbfig), delete(orbfig); <span class="keyword">end</span>
+0018 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'LT2setup'</span>); 
+0019 
+0020 
+0021 kmax = 4; <span class="comment">% button number</span>
+0022 
+0023 height = 10 + kmax*30 + 30; <span class="comment">%670;</span>
+0024 a = figure(<span class="string">'Color'</span>,[0.8 0.8 0.8], <span class="keyword">...</span>
+0025     <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0026     <span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0027     <span class="string">'MenuBar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span>
+0028     <span class="string">'Name'</span>, <span class="string">'LT2 Command Launcher'</span>, <span class="keyword">...</span>
+0029     <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0030     <span class="string">'Units'</span>,<span class="string">'pixels'</span>, <span class="keyword">...</span>
+0031     <span class="string">'Position'</span>,[5 70 210*2 height], <span class="keyword">...</span>
+0032     <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0033     <span class="string">'Tag'</span>,<span class="string">'LT2setup'</span>);
+0034 
+0035 height = height - 35;
+0036 
+0037 <span class="keyword">for</span> k = 1:kmax,
+0038     b1(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0039         <span class="string">'Position'</span>,[3 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0040         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0041         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0042 <span class="keyword">end</span>
+0043 
+0044 <span class="keyword">for</span> k = 1:kmax,
+0045     b2(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0046         <span class="string">'Position'</span>,[3 + 210 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0047         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0048         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0049 <span class="keyword">end</span>
+0050 
+0051 set(b1(1), <span class="string">'Callback'</span>,<span class="string">'disp([''   LT2init;'']); cd(getenv(''MLROOT'')); setpathsoleil(''LT2'');'</span>, <span class="string">'String'</span>,<span class="string">'LT2init'</span>);
+0052 set(b1(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Fichiers de Consignes;'']); configgui;;'</span>, <span class="string">'String'</span>,<span class="string">'Fichiers de Consignes'</span>);
+0053 set(b1(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   LT2cycling;'']);LT1cycling'</span>, <span class="string">'String'</span>,<span class="string">'Cyclage'</span>);
+0054 set(b1(4), <span class="string">'Callback'</span>,<span class="string">'disp([''   Timing;'']); synchro_injecteur6;'</span>, <span class="string">'String'</span>,<span class="string">'Synchronisation dÃ©finitive'</span>);
+0055 set(b2(1), <span class="string">'Callback'</span>,<span class="string">'optics_LT1_LT2;'</span>, <span class="string">'String'</span>,<span class="string">'OPTIQUE'</span>);
+0056 set(b2(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Emittance'']);emittance_v15;'</span>, <span class="string">'String'</span>,<span class="string">'Emittance'</span>);
+0057 
+0058 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0059     <span class="string">'Callback'</span>,<span class="string">'close all'</span>, <span class="keyword">...</span>
+0060     <span class="string">'String'</span>,<span class="string">'Close All Figures'</span>, <span class="keyword">...</span>
+0061     <span class="string">'Position'</span>,[3 height-kmax*30 204 27], <span class="keyword">...</span>
+0062     <span class="string">'Userdata'</span>,[], <span class="keyword">...</span>
+0063     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0064     <span class="string">'Tag'</span>,<span class="string">'button2'</span>);
+0065 
+0066 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0067     <span class="string">'Callback'</span>,<span class="string">'diary off; close(get(findobj(gcbf,''Tag'',''button1''),''Userdata''));'</span>, <span class="keyword">...</span>
+0068     <span class="string">'Position'</span>,[3 + 210 height-kmax*30 204 27], <span class="keyword">...</span>
+0069     <span class="string">'String'</span>,<span class="string">'CLOSE'</span>, <span class="keyword">...</span>
+0070     <span class="string">'Userdata'</span>,a, <span class="keyword">...</span>
+0071     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0072     <span class="string">'Tag'</span>,<span class="string">'button1'</span>);
+0073</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/aoinit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/aoinit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/aoinit.html	(revision 17)
@@ -0,0 +1,95 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of aoinit</title>
+  <meta name="keywords" content="aoinit">
+  <meta name="description" content="AOINIT - Initialization function for the Matlab Middle Layer (MML)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT2</a> &gt; aoinit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT2&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>aoinit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>AOINIT - Initialization function for the Matlab Middle Layer (MML)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function aoinit(SubMachineName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">AOINIT - Initialization function for the Matlab Middle Layer (MML)
+
+
+  See Also soleilinit, setpathsoleil</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="LT2init.html" class="code" title="function LT2init(OperationalMode)">LT2init</a>	LT2INIT - Contructs an accelerator Object describing LT2</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function RunTimeFlag = isdeployed_local</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function aoinit(SubMachineName)</a>
+0002 <span class="comment">%AOINIT - Initialization function for the Matlab Middle Layer (MML)</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  See Also soleilinit, setpathsoleil</span>
+0006 
+0007 <span class="comment">% Written by Laurent S. Nadolski</span>
+0008 
+0009 
+0010 <span class="keyword">if</span> exist(<span class="string">'SubMachineName'</span>, <span class="string">'var'</span>) &amp;&amp; ~strcmpi(SubMachineName, <span class="string">'LT2'</span>)
+0011     error(<span class="string">'Wrong SubMachine %s'</span>, SubMachineName)
+0012 <span class="keyword">end</span>
+0013 
+0014 <span class="comment">% The path should not be modified in standalone mode</span>
+0015 <span class="keyword">if</span> ~<a href="#_sub1" class="code" title="subfunction RunTimeFlag = isdeployed_local">isdeployed_local</a>
+0016 
+0017     MMLROOT = getmmlroot;
+0018     
+0019     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT2OpsData'</span>));
+0020     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT2'</span>));
+0021     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT2'</span>, <span class="string">'Lattices'</span>));
+0022     <span class="comment">%addpath(fullfile(cdappli, 'LT1'));</span>
+0023     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT2'</span>, <span class="string">'emittance'</span>));
+0024 
+0025     <span class="comment">% Make sure mml is high on the path</span>
+0026     addpath(fullfile(MMLROOT, <span class="string">'mml'</span>),<span class="string">'-begin'</span>);
+0027 
+0028     disp([<span class="string">'TANGO/MATLAB binding version: '</span> tango_version])
+0029     disp(<span class="string">'Startup file for Matlab Middle Layer read with success'</span>);
+0030 
+0031 <span class="keyword">end</span>
+0032 
+0033 <span class="comment">% Initialize the MML for machine</span>
+0034 
+0035 <a href="LT2init.html" class="code" title="function LT2init(OperationalMode)">LT2init</a>;
+0036 
+0037 <a name="_sub1" href="#_subfunctions" class="code">function RunTimeFlag = isdeployed_local</a>
+0038 <span class="comment">% isdeployed is not in matlab 6.5</span>
+0039 V = version;
+0040 <span class="keyword">if</span> str2double(V(1,1)) &lt; 7
+0041     RunTimeFlag = 0;
+0042 <span class="keyword">else</span>
+0043     RunTimeFlag = isdeployed;
+0044 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/index.html	(revision 17)
@@ -0,0 +1,31 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/LT2</title>
+  <meta name="keywords" content="machine/Soleil/LT2">
+  <meta name="description" content="Index for Directory machine/Soleil/LT2">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT2&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/LT2</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="LT2init.html">LT2init</a></td><td>LT2INIT - Contructs an accelerator Object describing LT2 </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="LT2setup.html">LT2setup</a></td><td>LT2SETUP - GUI for doing LT2 setup </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="aoinit.html">aoinit</a></td><td>AOINIT - Initialization function for the Matlab Middle Layer (MML) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setoperationalmode.html">setoperationalmode</a></td><td>SETOPERATIONALMODE - Switches between the various operational modes </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="updateatindex.html">updateatindex</a></td><td>UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING) </td></tr></table>
+
+
+<h2>Subsequent directories:</h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li>Lattices</li><li>emittance</li></ul>
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/setoperationalmode.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/setoperationalmode.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/setoperationalmode.html	(revision 17)
@@ -0,0 +1,188 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setoperationalmode</title>
+  <meta name="keywords" content="setoperationalmode">
+  <meta name="description" content="SETOPERATIONALMODE - Switches between the various operational modes">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT2</a> &gt; setoperationalmode.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT2&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setoperationalmode
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SETOPERATIONALMODE - Switches between the various operational modes</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setoperationalmode(ModeNumber) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SETOPERATIONALMODE - Switches between the various operational modes
+  setoperationalmode(ModeNumber)
+
+  INPUTS
+  1. ModeNumber = 1. 2.7391 GeV, multibunch
+
+                100. Laurent's Mode
+
+  See also <a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>, <a href="LT2init.html" class="code" title="function LT2init(OperationalMode)">LT2init</a>, setpathsoleil</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>	UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="LT2init.html" class="code" title="function LT2init(OperationalMode)">LT2init</a>	LT2INIT - Contructs an accelerator Object describing LT2</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setoperationalmode(ModeNumber)</a>
+0002 <span class="comment">%SETOPERATIONALMODE - Switches between the various operational modes</span>
+0003 <span class="comment">%  setoperationalmode(ModeNumber)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. ModeNumber = 1. 2.7391 GeV, multibunch</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%                100. Laurent's Mode</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">%  See also aoinit, updateatindex, LT2init, setpathsoleil</span>
+0011 
+0012 <span class="comment">%</span>
+0013 <span class="comment">% Written by Laurent S. Nadolski</span>
+0014 
+0015 <span class="keyword">global</span> THERING
+0016 
+0017 <span class="comment">% Check if the AO exists</span>
+0018 checkforao;
+0019 
+0020 
+0021 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0022 <span class="comment">% Accelerator Dependent Modes %</span>
+0023 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0024 <span class="keyword">if</span> nargin &lt; 1
+0025     ModeNumber = [];
+0026 <span class="keyword">end</span>
+0027 <span class="keyword">if</span> isempty(ModeNumber)
+0028     ModeCell = {<span class="string">'2.7391 GeV, multibunch'</span>,  <span class="keyword">...</span>
+0029         <span class="string">'Laurent''s Mode'</span>};
+0030     [ModeNumber, OKFlag] = listdlg(<span class="string">'Name'</span>,<span class="string">'SOLEIL'</span>,<span class="string">'PromptString'</span>,<span class="string">'Select the Operational Mode:'</span>, <span class="string">'SelectionMode'</span>,<span class="string">'single'</span>, <span class="string">'ListString'</span>, ModeCell, <span class="string">'ListSize'</span>, [450 200]);
+0031     <span class="keyword">if</span> OKFlag ~= 1
+0032         fprintf(<span class="string">'   Operational mode not changed\n'</span>);
+0033         <span class="keyword">return</span>
+0034     <span class="keyword">elseif</span> ModeNumber == 2
+0035         ModeNumber = 100;  <span class="comment">% Laurent</span>
+0036     <span class="keyword">end</span>
+0037 <span class="keyword">end</span>
+0038 
+0039 
+0040 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0041 <span class="comment">% Accelerator Data Structure %</span>
+0042 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0043 AD = getad;
+0044 AD.Machine = <span class="string">'SOLEIL'</span>;            <span class="comment">% Will already be defined if setpathmml was used</span>
+0045 AD.MachineType = <span class="string">'StorageRing'</span>;   <span class="comment">% Will already be defined if setpathmml was used</span>
+0046 AD.SubMachine  = <span class="string">'LT2'</span>;           <span class="comment">% Will already be defined if setpathmml was used</span>
+0047 AD.OperationalMode = <span class="string">''</span>;          <span class="comment">% Gets filled in later</span>
+0048 
+0049 
+0050 <span class="comment">% Tune processor delay: delay required to wait</span>
+0051 <span class="comment">% to have a fresh tune measurement after changing</span>
+0052 <span class="comment">% a variable like the RF frequency.  Setpv will wait</span>
+0053 <span class="comment">% 2.2 * TuneDelay to be guaranteed a fresh data point.</span>
+0054 AD.BPMDelay  = 0.25; <span class="comment">% use [N, BPMDelay]=getbpmsaverages (AD.BPMDelay will disappear)</span>
+0055 AD.TuneDelay = 0.1;
+0056 
+0057 
+0058 <span class="comment">% SP-AM Error level</span>
+0059 <span class="comment">% AD.ErrorWarningLevel = 0 -&gt; SP-AM errors are Matlab errors {Default}</span>
+0060 <span class="comment">%                       -1 -&gt; SP-AM errors are Matlab warnings</span>
+0061 <span class="comment">%                       -2 -&gt; SP-AM errors prompt a dialog box</span>
+0062 <span class="comment">%                       -3 -&gt; SP-AM errors are ignored (ErrorFlag=-1 is returned)</span>
+0063 AD.ErrorWarningLevel = 0;
+0064 
+0065 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0066 <span class="comment">% Operational Modes %</span>
+0067 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0068 
+0069 <span class="comment">% Mode setup variables (mostly path and file names)</span>
+0070 <span class="comment">% AD.OperationalMode - String used in titles</span>
+0071 <span class="comment">% ModeName - String used for mode directory name off DataRoot/MachineName</span>
+0072 <span class="comment">% OpsFileExtension - string add to default file names</span>
+0073 
+0074 <span class="keyword">if</span> ModeNumber == 1
+0075     <span class="comment">% LT2 Nominal Lattice</span>
+0076     AD.OperationalMode = <span class="string">'2.7391 GeV, multibunch'</span>;
+0077     AD.Energy = 2.7391; <span class="comment">% Make sure this is the same as bend2gev at the production lattice!</span>
+0078     ModeName = <span class="string">'LT2lattice'</span>;
+0079     OpsFileExtension = <span class="string">'_LT2lattice'</span>;
+0080 
+0081     <span class="comment">% AT lattice</span>
+0082     AD.ATModel = <span class="string">'LT2lattice'</span>;
+0083     eval(AD.ATModel);  <span class="comment">%run model for compilersolamor2linb;</span>
+0084 
+0085     switch2hw;
+0086     
+0087 <span class="keyword">elseif</span> ModeNumber == 100
+0088     <span class="comment">% User mode - High Tune, Top Off injection</span>
+0089     error(<span class="string">'To be completed'</span>);    
+0090 
+0091 <span class="keyword">else</span>
+0092     error(<span class="string">'Operational mode unknown'</span>);
+0093 <span class="keyword">end</span>
+0094 
+0095 
+0096 
+0097 <span class="comment">% Set the AD directory path</span>
+0098 setad(AD);
+0099 MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension);
+0100 AD = getad;
+0101 
+0102 <span class="comment">% SOLEIL specific path changes</span>
+0103 
+0104  <span class="comment">% Top Level Directories</span>
+0105 
+0106 AD.Directory.DataRoot       = fullfile(MMLROOT, <span class="string">'measdata'</span>, <span class="string">'LT2data'</span>, filesep);
+0107 AD.Directory.OpsData        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT2OpsData'</span>, filesep);
+0108 AD.Directory.Lattice        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT2'</span>, <span class="string">'Lattices'</span>, filesep);
+0109 
+0110 AD.Directory.EMITData       = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT2'</span>, <span class="string">'emittance'</span>, filesep); 
+0111 AD.Directory.Timing         = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'LT2'</span>, <span class="string">'Timing'</span>, filesep);
+0112 
+0113 AD.Directory.ConfigData     = fullfile(AD.Directory.DataRoot, <span class="string">'MachineConfig'</span>, filesep);
+0114 AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, <span class="string">'ArchivingData'</span>, filesep);
+0115 
+0116 
+0117 <span class="comment">%Operational Files</span>
+0118 AD.OpsData.LatticeFile       = <span class="string">'GoldenLattice'</span>;     <span class="comment">%Golden Lattice File (setup for users)</span>
+0119 AD.OpsData.PhysDataFile      = <span class="string">'GoldenPhysData'</span>;
+0120 
+0121 <span class="comment">% Circumference</span>
+0122 AD.Circumference = findspos(THERING,length(THERING)+1);
+0123 setad(AD);
+0124 
+0125 <span class="comment">% Updates the AT indices in the MiddleLayer with the present AT lattice</span>
+0126 <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>;
+0127 
+0128 <span class="comment">% Set the model energy</span>
+0129 setenergymodel(AD.Energy);
+0130 
+0131 fprintf(<span class="string">'   lattice files have changed or if the AT lattice has changed.\n'</span>);
+0132 fprintf(<span class="string">'   Middlelayer setup for operational mode: %s\n'</span>, AD.OperationalMode);
+0133 
+0134 setad(orderfields(AD));</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/updateatindex.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/updateatindex.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/LT2/updateatindex.html	(revision 17)
@@ -0,0 +1,142 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of updateatindex</title>
+  <meta name="keywords" content="updateatindex">
+  <meta name="description" content="UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">LT2</a> &gt; updateatindex.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/LT2&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>updateatindex
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function updateatindex </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>	SETOPERATIONALMODE - Switches between the various operational modes</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function updateatindex</a>
+0002 <span class="comment">%UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Adapted by Laurent S. Nadolski</span>
+0006 
+0007 <span class="keyword">global</span> THERING
+0008 
+0009 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0010 <span class="comment">% Append Accelerator Toolbox information %</span>
+0011 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0012 
+0013 <span class="comment">% Since changes in the AT model could change the AT indexes, etc,</span>
+0014 <span class="comment">% It's best to regenerate all the model indices whenever a model is loaded</span>
+0015 
+0016 <span class="comment">% Sort by family first (findcells is linear and slow)</span>
+0017 Indices = atindex(THERING);
+0018 
+0019 AO = getao;
+0020 
+0021 <span class="comment">% BPMS</span>
+0022 <span class="keyword">try</span>
+0023     ifam = <span class="string">'BPMx'</span>;
+0024     AO.(ifam).AT.ATType = <span class="string">'X'</span>;
+0025     AO.(ifam).AT.ATIndex = Indices.BPM(:); <span class="comment">% findcells(THERING,'FamName','BPM')';</span>
+0026     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+0027 
+0028     ifam = <span class="string">'BPMz'</span>;
+0029     AO.(ifam).AT.ATType = <span class="string">'Z'</span>;
+0030     AO.(ifam).AT.ATIndex = Indices.BPM(:); <span class="comment">% findcells(THERING,'FamName','BPM')';</span>
+0031     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+0032 <span class="keyword">catch</span>
+0033     warning(<span class="string">'BPM family not found in the model.'</span>);
+0034 <span class="keyword">end</span>
+0035 
+0036 <span class="comment">% CORRECTORS</span>
+0037 <span class="keyword">try</span>
+0038     <span class="comment">%% HORIZONTAL CORRECTORS</span>
+0039     ifam = (<span class="string">'CH'</span>);
+0040     AO.(ifam).AT.ATType  = ifam;
+0041     AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+0042     AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0043     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0044 
+0045     <span class="comment">%% VERTICAL CORRECTORS</span>
+0046     ifam = (<span class="string">'CV'</span>);
+0047     AO.(ifam).AT.ATType  = ifam;
+0048     AO.(ifam).AT.ATIndex = Indices.(ifam)(:);
+0049     AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+0050     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0051 <span class="keyword">catch</span>
+0052     warning(<span class="string">'Corrector family not found in the model.'</span>);
+0053 <span class="keyword">end</span>
+0054 
+0055 
+0056 <span class="comment">% QUADRUPOLES</span>
+0057 <span class="keyword">try</span>
+0058     ifam = <span class="string">'QP'</span>;
+0059     AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+0060     AO.(ifam).AT.ATIndex = eval([<span class="string">'Indices.'</span> ifam <span class="string">'(:)'</span>]);
+0061     AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex;
+0062     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0063 <span class="keyword">catch</span>
+0064     warning(<span class="string">'%s family not found in the model.'</span>, ifam);
+0065 <span class="keyword">end</span>
+0066 
+0067 <span class="comment">% BEND</span>
+0068 
+0069 <span class="keyword">try</span>
+0070     ifam = (<span class="string">'BEND'</span>);
+0071     AO.(ifam).AT.ATType  = ifam;
+0072     ATIndex = Indices.(ifam)(:);
+0073     AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, sort(ATIndex));
+0074     AO.(ifam).Position   = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0075 <span class="keyword">catch</span>
+0076     warning(<span class="string">'BEND family not found in the model.'</span>);
+0077 <span class="keyword">end</span>
+0078 
+0079 setao(AO);
+0080 
+0081 <span class="comment">% Set TwissData at the start of TL1</span>
+0082 <span class="keyword">try</span>
+0083     <span class="comment">% BTS twiss parameters at the input</span>
+0084     TwissData.alpha = [0 0]';
+0085     TwissData.beta  = [6.0 6.0]';
+0086     TwissData.mu    = [-1.8 1.5]';
+0087     TwissData.ClosedOrbit = [0 0 0 0]';
+0088     TwissData.dP = 0;
+0089     TwissData.dL = 0;
+0090     TwissData.Dispersion  = [0 0 0 0]';
+0091 
+0092     setpvmodel(<span class="string">'TwissData'</span>, <span class="string">''</span>, TwissData);  <span class="comment">% Same as, THERING{1}.TwissData = TwissData;</span>
+0093 
+0094 <span class="keyword">catch</span>
+0095     warning(<span class="string">'Setting the twiss data parameters in the MML failed.'</span>);
+0096 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/Ringcycling.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/Ringcycling.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/Ringcycling.html	(revision 17)
@@ -0,0 +1,976 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of Ringcycling</title>
+  <meta name="keywords" content="Ringcycling">
+  <meta name="description" content="RINGCYCLING M-file for Ringcycling.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; Ringcycling.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>Ringcycling
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>RINGCYCLING M-file for Ringcycling.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = Ringcycling(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> RINGCYCLING M-file for Ringcycling.fig
+      RINGCYCLING, by itself, creates a new RINGCYCLING or raises the existing
+      singleton*.
+
+      H = RINGCYCLING returns the handle to a new RINGCYCLING or the handle to
+      the existing singleton*.
+
+      RINGCYCLING('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in RINGCYCLING.M with the given input arguments.
+
+      RINGCYCLING('Property','Value',...) creates a new RINGCYCLING or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before Ringcycling_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to Ringcycling_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also : getcyclecurve, magnetcycle, LT1cycling, setcycling, cyclingcommand</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function Ringcycling_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = Ringcycling_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function checkbox_none_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function checkbox_all_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function checkbox_BEND_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function checkbox_Q1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function checkbox_HCOR_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function checkbox_VCOR_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function pushbutton_apply_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function cyclemagnet_local(command,handles)</a></li><li><a href="#_sub11" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function popupmenu_type_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function popupmenu_type_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function popupmenu_file_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function popupmenu_file_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function checkbox_Q2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function checkbox_Q3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function checkbox_Q4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function checkbox_Q5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function checkbox_Q6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function checkbox_Q7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function checkbox_Q8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function checkbox_Q9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function checkbox_Q10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function checkbox_S1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function checkbox_S2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function checkbox_S3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function checkbox_S4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function checkbox_S5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function checkbox_S6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function checkbox_S7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function checkbox_S8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function checkbox_S9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function checkbox_S10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function checkbox_AllQuad_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function checkbox_AllSextu_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function courbe_pushbutton_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function checkbox_QC13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function edit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function pushbutton_singledevice_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub44" class="code">function checkbox_noneQuad_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function checkbox_NoneSextu_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = Ringcycling(varargin)</a>
+0002 <span class="comment">% RINGCYCLING M-file for Ringcycling.fig</span>
+0003 <span class="comment">%      RINGCYCLING, by itself, creates a new RINGCYCLING or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = RINGCYCLING returns the handle to a new RINGCYCLING or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      RINGCYCLING('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in RINGCYCLING.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      RINGCYCLING('Property','Value',...) creates a new RINGCYCLING or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before Ringcycling_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to Ringcycling_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also : getcyclecurve, magnetcycle, LT1cycling, setcycling, cyclingcommand</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help Ringcycling</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 07-Jun-2006 19:57:05</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction Ringcycling_OpeningFcn(hObject, eventdata, handles, varargin)">Ringcycling_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = Ringcycling_OutputFcn(hObject, eventdata, handles)">Ringcycling_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before Ringcycling is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function Ringcycling_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to Ringcycling (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for Ringcycling</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% A MODIFIER ULTERIEUREMENT : INACTIVATION DES FONCTIONS</span>
+0059 <span class="comment">% CYCLAGE CORRECTEURS / ALL</span>
+0060 set(handles.checkbox_HCOR,<span class="string">'Value'</span>,0);
+0061 set(handles.checkbox_VCOR,<span class="string">'Value'</span>,0);
+0062 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0063 set([handles.checkbox_all,handles.checkbox_HCOR,handles.checkbox_VCOR],<span class="keyword">...</span>
+0064     <span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0065 
+0066 <span class="comment">% par dÃ©faut type cyclage sur 'full'</span>
+0067 set(handles.popupmenu_type,<span class="string">'Value'</span>,2);
+0068 
+0069 <span class="comment">% button group sur switch mode simulation ou online</span>
+0070 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.70 0.46 .20 .10],<span class="keyword">...</span>
+0071     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0072     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0073 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'premier Ã©lÃ©ment'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0074     <span class="string">'pos'</span>,[10 25 120 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0075     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0076 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'toute la famille'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0077     <span class="string">'pos'</span>,[10 0.95 120 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0078     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0079 
+0080 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0081     {@<a href="#_sub43" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0082 
+0083 set(h,<span class="string">'SelectedObject'</span>,u1);  <span class="comment">% No selection</span>
+0084 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0085 
+0086 <span class="comment">% mode de plot</span>
+0087 handles.mode = <span class="string">'1element'</span>;
+0088 
+0089 <span class="comment">% Update handles structure</span>
+0090 guidata(hObject, handles);
+0091 
+0092 <span class="comment">% UIWAIT makes Ringcycling wait for user response (see UIRESUME)</span>
+0093 <span class="comment">% uiwait(handles.figure1);</span>
+0094 list = {<span class="string">'Present'</span>, <span class="string">'Golden'</span>, <span class="string">'UserSelect'</span>};
+0095 set(handles.popupmenu_file,<span class="string">'String'</span>,list);
+0096 
+0097 list = {<span class="string">'Simple'</span>, <span class="string">'Full'</span>, <span class="string">'startup'</span>};
+0098 set(handles.popupmenu_type,<span class="string">'String'</span>,list);
+0099 
+0100 list = {<span class="string">'Load cycling curve'</span>,<span class="string">'Start'</span>, <span class="string">'Stop'</span>, <span class="string">'Init'</span>, <span class="string">'Pause'</span>, <span class="string">'Resume'</span>};
+0101 set(handles.popupmenu_command,<span class="string">'String'</span>,list);
+0102 
+0103 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0104 <a name="_sub2" href="#_subfunctions" class="code">function varargout = Ringcycling_OutputFcn(hObject, eventdata, handles) </a>
+0105 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0106 <span class="comment">% hObject    handle to figure</span>
+0107 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0108 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0109 
+0110 <span class="comment">% Get default command line output from handles structure</span>
+0111 varargout{1} = handles.output;
+0112 
+0113 
+0114 <span class="comment">% --- Executes on button press in checkbox_none.</span>
+0115 <a name="_sub3" href="#_subfunctions" class="code">function checkbox_none_Callback(hObject, eventdata, handles)</a>
+0116 <span class="comment">% hObject    handle to checkbox_none (see GCBO)</span>
+0117 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0118 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0119 
+0120 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_none</span>
+0121 val = get(hObject,<span class="string">'Value'</span>);
+0122 
+0123 <span class="keyword">if</span> val
+0124     set(handles.checkbox_BEND,<span class="string">'Value'</span>,0);
+0125     set(handles.checkbox_Q1,<span class="string">'Value'</span>,0);
+0126     set(handles.checkbox_HCOR,<span class="string">'Value'</span>,0);
+0127     set(handles.checkbox_VCOR,<span class="string">'Value'</span>,0);
+0128     set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0129 <span class="keyword">end</span>
+0130 
+0131 <span class="comment">% --- Executes on button press in checkbox_all.</span>
+0132 <a name="_sub4" href="#_subfunctions" class="code">function checkbox_all_Callback(hObject, eventdata, handles)</a>
+0133 <span class="comment">% hObject    handle to checkbox_all (see GCBO)</span>
+0134 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0135 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0136 
+0137 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_all</span>
+0138 val = get(hObject,<span class="string">'Value'</span>);
+0139 
+0140 <span class="keyword">if</span> val
+0141     set(handles.checkbox_BEND,<span class="string">'Value'</span>,1);
+0142     
+0143     <span class="comment">% Quad</span>
+0144     
+0145     <span class="keyword">for</span> k =1:length(length(findmemberof(<span class="string">'QUAD'</span>)))
+0146         Name = strcat(<span class="string">'Q'</span>,num2str(k));
+0147         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Value'</span>,1)
+0148     <span class="keyword">end</span>
+0149     
+0150     <span class="comment">% Sextu</span>
+0151     set(handles.checkbox_S1,<span class="string">'Value'</span>,1);
+0152     set(handles.checkbox_S2,<span class="string">'Value'</span>,1);
+0153     set(handles.checkbox_S3,<span class="string">'Value'</span>,1);
+0154     set(handles.checkbox_S4,<span class="string">'Value'</span>,1);
+0155     set(handles.checkbox_S5,<span class="string">'Value'</span>,1);
+0156     set(handles.checkbox_S6,<span class="string">'Value'</span>,1);
+0157     set(handles.checkbox_S7,<span class="string">'Value'</span>,1);
+0158     set(handles.checkbox_S8,<span class="string">'Value'</span>,1);
+0159     set(handles.checkbox_S9,<span class="string">'Value'</span>,1);
+0160     set(handles.checkbox_S10,<span class="string">'Value'</span>,1);
+0161     <span class="comment">% Dipoles</span>
+0162     set(handles.checkbox_HCOR,<span class="string">'Value'</span>,1);
+0163     set(handles.checkbox_VCOR,<span class="string">'Value'</span>,1);
+0164     <span class="comment">% none</span>
+0165     set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0166 <span class="keyword">end</span>
+0167 
+0168 
+0169 <span class="comment">% --- Executes on button press in checkbox_BEND.</span>
+0170 <a name="_sub5" href="#_subfunctions" class="code">function checkbox_BEND_Callback(hObject, eventdata, handles)</a>
+0171 <span class="comment">% hObject    handle to checkbox_BEND (see GCBO)</span>
+0172 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0173 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0174 
+0175 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_BEND</span>
+0176 
+0177 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0178 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0179 val = get(handles.checkbox_BEND,<span class="string">'Value'</span>);
+0180 valQ1 = get(handles.checkbox_Q1,<span class="string">'Value'</span>);valQ2 = get(handles.checkbox_Q2,<span class="string">'Value'</span>);
+0181 valQ3 = get(handles.checkbox_Q3,<span class="string">'Value'</span>);valQ4 = get(handles.checkbox_Q4,<span class="string">'Value'</span>);
+0182 valQ5 = get(handles.checkbox_Q5,<span class="string">'Value'</span>);valQ6 = get(handles.checkbox_Q6,<span class="string">'Value'</span>);
+0183 valQ7 = get(handles.checkbox_Q7,<span class="string">'Value'</span>);valQ8 = get(handles.checkbox_Q8,<span class="string">'Value'</span>);
+0184 valQ9 = get(handles.checkbox_Q9,<span class="string">'Value'</span>);valQ10 = get(handles.checkbox_Q10,<span class="string">'Value'</span>);
+0185 valQtous = get(handles.checkbox_AllQuad,<span class="string">'Value'</span>);
+0186 valeurs = [valQ1 valQ2 valQ3 valQ4 valQ5 valQ6 valQ7 valQ8 valQ9 valQ10 valQtous];
+0187 test = ones(11,1)'*0;
+0188 
+0189 <span class="keyword">if</span> val
+0190     
+0191     <span class="keyword">if</span> ~isequal(valeurs,test)
+0192         errordlg(<span class="string">'conflit entre Quad et Dipole !'</span>,<span class="string">'Erreur'</span>);
+0193         set(handles.checkbox_BEND,<span class="string">'Value'</span>,0);
+0194         <span class="keyword">return</span>
+0195     <span class="keyword">end</span>
+0196     
+0197     <span class="comment">% exclure la montee des sextu et quad</span>
+0198     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'QUAD'</span>))
+0199         Name = strcat(<span class="string">'Q'</span>,num2str(k));
+0200         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'off'</span>)
+0201     <span class="keyword">end</span>
+0202     set(handles.checkbox_AllQuad,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0203 
+0204     set(handles.checkbox_AllSextu,<span class="string">'Enable'</span>,<span class="string">'off'</span>)
+0205     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'SEXT'</span>))
+0206         Name = strcat(<span class="string">'S'</span>,num2str(k));
+0207         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'off'</span>)
+0208     <span class="keyword">end</span>
+0209     
+0210 
+0211 <span class="keyword">else</span>
+0212     val2 = get(handles.checkbox_AllQuad,<span class="string">'Value'</span>);
+0213     <span class="keyword">if</span> val2==0
+0214         
+0215         <span class="comment">% rendre possible la montee des sextu et quad</span>
+0216         <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'QUAD'</span>))
+0217             Name = strcat(<span class="string">'Q'</span>,num2str(k));
+0218             set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0219         <span class="keyword">end</span>
+0220         set(handles.checkbox_AllQuad,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0221 
+0222         set(handles.checkbox_AllSextu,<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0223         <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'SEXT'</span>))
+0224             Name = strcat(<span class="string">'S'</span>,num2str(k));
+0225             set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0226         <span class="keyword">end</span>
+0227 
+0228     <span class="keyword">end</span>
+0229 <span class="keyword">end</span>
+0230 
+0231 
+0232 
+0233 <span class="comment">% --- Executes on button press in checkbox_Q1.</span>
+0234 <a name="_sub6" href="#_subfunctions" class="code">function checkbox_Q1_Callback(hObject, eventdata, handles)</a>
+0235 <span class="comment">% hObject    handle to checkbox_Q1 (see GCBO)</span>
+0236 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0237 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0238 
+0239 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q1</span>
+0240 
+0241 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0242 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0243 
+0244 <span class="comment">% --- Executes on button press in checkbox_HCOR.</span>
+0245 <a name="_sub7" href="#_subfunctions" class="code">function checkbox_HCOR_Callback(hObject, eventdata, handles)</a>
+0246 <span class="comment">% hObject    handle to checkbox_HCOR (see GCBO)</span>
+0247 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0248 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0249 
+0250 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_HCOR</span>
+0251 
+0252 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0253 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0254 
+0255 <span class="comment">% --- Executes on button press in checkbox_VCOR.</span>
+0256 <a name="_sub8" href="#_subfunctions" class="code">function checkbox_VCOR_Callback(hObject, eventdata, handles)</a>
+0257 <span class="comment">% hObject    handle to checkbox_VCOR (see GCBO)</span>
+0258 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0259 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0260 
+0261 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_VCOR</span>
+0262 
+0263 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0264 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0265 
+0266 <span class="comment">% --- Executes on button press in pushbutton_apply.</span>
+0267 <a name="_sub9" href="#_subfunctions" class="code">function pushbutton_apply_Callback(hObject, eventdata, handles)</a>
+0268 <span class="comment">% hObject    handle to pushbutton_apply (see GCBO)</span>
+0269 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0270 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0271 
+0272 contents = get(handles.popupmenu_command,<span class="string">'String'</span>);
+0273 command = contents{get(handles.popupmenu_command,<span class="string">'Value'</span>)};
+0274 
+0275 <span class="keyword">switch</span> command
+0276     <span class="keyword">case</span> {<span class="string">'Load cycling curve'</span>,<span class="string">'Start'</span>,<span class="string">'Stop'</span>,<span class="string">'Init'</span>,<span class="string">'Pause'</span>,<span class="string">'Resume'</span>}
+0277         <a href="#_sub10" class="code" title="subfunction cyclemagnet_local(command,handles)">cyclemagnet_local</a>(command,handles);
+0278     <span class="keyword">otherwise</span>
+0279         error(<span class="string">'Unknown ommand name: %s '</span>, command);
+0280 <span class="keyword">end</span>
+0281 
+0282 <a name="_sub10" href="#_subfunctions" class="code">function cyclemagnet_local(command,handles)</a>
+0283 
+0284 <span class="comment">%     [CycleIndex, CycleAO] = isfamily(CycleFamily);</span>
+0285 <span class="comment">%</span>
+0286 <span class="comment">%     rep = tango_group_command_inout2(CycleAO.GroupId,'State',1,0);</span>
+0287 
+0288 Family={<span class="string">'QC13'</span>,<span class="string">'BEND'</span>,<span class="keyword">...</span>
+0289     <span class="string">'Q1'</span>,<span class="string">'Q2'</span>,<span class="string">'Q3'</span>,<span class="string">'Q4'</span>,<span class="string">'Q5'</span>,<span class="keyword">...</span>
+0290     <span class="string">'Q6'</span>,<span class="string">'Q7'</span>,<span class="string">'Q8'</span>,<span class="string">'Q9'</span>,<span class="string">'Q10'</span>,<span class="keyword">...</span>
+0291     <span class="string">'S1'</span>,<span class="string">'S2'</span>,<span class="string">'S3'</span>,<span class="string">'S4'</span>,<span class="string">'S5'</span>,<span class="keyword">...</span>
+0292     <span class="string">'S6'</span>,<span class="string">'S7'</span>,<span class="string">'S8'</span>,<span class="string">'S9'</span>,<span class="string">'S10'</span>,<span class="keyword">...</span>
+0293     <span class="string">'HCOR'</span>,<span class="string">'VCOR'</span>};    
+0294     
+0295 Families = {};
+0296 <span class="keyword">for</span> k =1:length(Family)
+0297     <span class="keyword">if</span> get(handles.([<span class="string">'checkbox_'</span>,Family{k}]),<span class="string">'Value'</span>)
+0298         Families = {Families{:}, Family{k}};
+0299     <span class="keyword">end</span>
+0300 <span class="keyword">end</span>
+0301 
+0302 <span class="keyword">switch</span> command
+0303     <span class="keyword">case</span> {<span class="string">'Start'</span>}
+0304         <span class="comment">% get cycling file</span>
+0305         contents = get(handles.popupmenu_file,<span class="string">'String'</span>);
+0306         file = contents{get(handles.popupmenu_file,<span class="string">'Value'</span>)};
+0307 
+0308         <span class="comment">% get cycling file</span>
+0309         contents = get(handles.popupmenu_type,<span class="string">'String'</span>);
+0310         type = contents{get(handles.popupmenu_type,<span class="string">'Value'</span>)};
+0311 
+0312         magnetcycle(type,file,Families,<span class="string">'NoDisplay'</span>,<span class="string">'NoConfig'</span>);
+0313         
+0314     <span class="keyword">case</span> {<span class="string">'Load cycling curve'</span>}
+0315         
+0316         contents = get(handles.popupmenu_file,<span class="string">'String'</span>);
+0317         file = contents{get(handles.popupmenu_file,<span class="string">'Value'</span>)};
+0318 
+0319         <span class="comment">% get cycling file</span>
+0320         contents = get(handles.popupmenu_type,<span class="string">'String'</span>);
+0321         type = contents{get(handles.popupmenu_type,<span class="string">'Value'</span>)};
+0322 
+0323         magnetcycle(type,file,Families,<span class="string">'NoDisplay'</span>,<span class="string">'NoConfig'</span>,<span class="string">'NoApply'</span>);
+0324         
+0325         
+0326     <span class="keyword">case</span> {<span class="string">'Stop'</span>,<span class="string">'Init'</span>,<span class="string">'Pause'</span>,<span class="string">'Resume'</span>}
+0327         <span class="keyword">for</span> k =1:length(Families)
+0328             CycleFamily = [<span class="string">'Cycle'</span> Families{k}];
+0329             cyclingcommand(CycleFamily,command);
+0330         <span class="keyword">end</span>
+0331 <span class="keyword">end</span>
+0332 
+0333 <span class="comment">% --- Executes on selection change in popupmenu_command.</span>
+0334 <a name="_sub11" href="#_subfunctions" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a>
+0335 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0336 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0337 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0338 
+0339 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array</span>
+0340 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_command</span>
+0341 
+0342 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0343 <a name="_sub12" href="#_subfunctions" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a>
+0344 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0345 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0346 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0347 
+0348 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0349 <span class="comment">%       See ISPC and COMPUTER.</span>
+0350 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0351     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0352 <span class="keyword">end</span>
+0353 
+0354 
+0355 <span class="comment">% --- Executes on selection change in popupmenu_type.</span>
+0356 <a name="_sub13" href="#_subfunctions" class="code">function popupmenu_type_Callback(hObject, eventdata, handles)</a>
+0357 <span class="comment">% hObject    handle to popupmenu_type (see GCBO)</span>
+0358 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0359 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0360 
+0361 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_type contents as cell array</span>
+0362 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_type</span>
+0363 
+0364 
+0365 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0366 <a name="_sub14" href="#_subfunctions" class="code">function popupmenu_type_CreateFcn(hObject, eventdata, handles)</a>
+0367 <span class="comment">% hObject    handle to popupmenu_type (see GCBO)</span>
+0368 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0369 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0370 
+0371 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0372 <span class="comment">%       See ISPC and COMPUTER.</span>
+0373 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0374     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0375 <span class="keyword">end</span>
+0376 
+0377 
+0378 <span class="comment">% --- Executes on selection change in popupmenu_file.</span>
+0379 <a name="_sub15" href="#_subfunctions" class="code">function popupmenu_file_Callback(hObject, eventdata, handles)</a>
+0380 <span class="comment">% hObject    handle to popupmenu_file (see GCBO)</span>
+0381 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0382 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0383 
+0384 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_file contents as cell array</span>
+0385 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_file</span>
+0386 
+0387 
+0388 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0389 <a name="_sub16" href="#_subfunctions" class="code">function popupmenu_file_CreateFcn(hObject, eventdata, handles)</a>
+0390 <span class="comment">% hObject    handle to popupmenu_file (see GCBO)</span>
+0391 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0392 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0393 
+0394 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0395 <span class="comment">%       See ISPC and COMPUTER.</span>
+0396 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0397     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0398 <span class="keyword">end</span>
+0399 
+0400 
+0401 
+0402 
+0403 <span class="comment">% --- Executes on button press in checkbox_Q2.</span>
+0404 <a name="_sub17" href="#_subfunctions" class="code">function checkbox_Q2_Callback(hObject, eventdata, handles)</a>
+0405 <span class="comment">% hObject    handle to checkbox_Q2 (see GCBO)</span>
+0406 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0407 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0408 
+0409 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q2</span>
+0410 
+0411 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0412 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0413 
+0414 <span class="comment">% --- Executes on button press in checkbox_Q3.</span>
+0415 <a name="_sub18" href="#_subfunctions" class="code">function checkbox_Q3_Callback(hObject, eventdata, handles)</a>
+0416 <span class="comment">% hObject    handle to checkbox_Q3 (see GCBO)</span>
+0417 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0418 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0419 
+0420 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q3</span>
+0421 
+0422 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0423 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0424 
+0425 <span class="comment">% --- Executes on button press in checkbox_Q4.</span>
+0426 <a name="_sub19" href="#_subfunctions" class="code">function checkbox_Q4_Callback(hObject, eventdata, handles)</a>
+0427 <span class="comment">% hObject    handle to checkbox_Q4 (see GCBO)</span>
+0428 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0429 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0430 
+0431 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q4</span>
+0432 
+0433 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0434 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0435 
+0436 <span class="comment">% --- Executes on button press in checkbox_Q5.</span>
+0437 <a name="_sub20" href="#_subfunctions" class="code">function checkbox_Q5_Callback(hObject, eventdata, handles)</a>
+0438 <span class="comment">% hObject    handle to checkbox_Q5 (see GCBO)</span>
+0439 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0440 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0441 
+0442 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q5</span>
+0443 
+0444 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0445 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0446 
+0447 <span class="comment">% --- Executes on button press in checkbox_Q6.</span>
+0448 <a name="_sub21" href="#_subfunctions" class="code">function checkbox_Q6_Callback(hObject, eventdata, handles)</a>
+0449 <span class="comment">% hObject    handle to checkbox_Q6 (see GCBO)</span>
+0450 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0451 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0452 
+0453 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q6</span>
+0454 
+0455 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0456 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0457 
+0458 <span class="comment">% --- Executes on button press in checkbox_Q7.</span>
+0459 <a name="_sub22" href="#_subfunctions" class="code">function checkbox_Q7_Callback(hObject, eventdata, handles)</a>
+0460 <span class="comment">% hObject    handle to checkbox_Q7 (see GCBO)</span>
+0461 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0462 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0463 
+0464 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q7</span>
+0465 
+0466 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0467 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0468 
+0469 <span class="comment">% --- Executes on button press in checkbox_Q8.</span>
+0470 <a name="_sub23" href="#_subfunctions" class="code">function checkbox_Q8_Callback(hObject, eventdata, handles)</a>
+0471 <span class="comment">% hObject    handle to checkbox_Q8 (see GCBO)</span>
+0472 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0473 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0474 
+0475 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q8</span>
+0476 
+0477 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0478 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0479 
+0480 <span class="comment">% --- Executes on button press in checkbox_Q9.</span>
+0481 <a name="_sub24" href="#_subfunctions" class="code">function checkbox_Q9_Callback(hObject, eventdata, handles)</a>
+0482 <span class="comment">% hObject    handle to checkbox_Q9 (see GCBO)</span>
+0483 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0484 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0485 
+0486 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q9</span>
+0487 
+0488 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0489 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0490 
+0491 <span class="comment">% --- Executes on button press in checkbox_Q10.</span>
+0492 <a name="_sub25" href="#_subfunctions" class="code">function checkbox_Q10_Callback(hObject, eventdata, handles)</a>
+0493 <span class="comment">% hObject    handle to checkbox_Q10 (see GCBO)</span>
+0494 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0495 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0496 
+0497 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_Q10</span>
+0498 
+0499 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0500 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0501 
+0502 <span class="comment">% --- Executes on button press in checkbox_S1.</span>
+0503 <a name="_sub26" href="#_subfunctions" class="code">function checkbox_S1_Callback(hObject, eventdata, handles)</a>
+0504 <span class="comment">% hObject    handle to checkbox_S1 (see GCBO)</span>
+0505 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0506 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0507 
+0508 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S1</span>
+0509 
+0510 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0511 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0512 
+0513 <span class="comment">% --- Executes on button press in checkbox_S2.</span>
+0514 <a name="_sub27" href="#_subfunctions" class="code">function checkbox_S2_Callback(hObject, eventdata, handles)</a>
+0515 <span class="comment">% hObject    handle to checkbox_S2 (see GCBO)</span>
+0516 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0517 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0518 
+0519 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S2</span>
+0520 
+0521 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0522 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0523 
+0524 <span class="comment">% --- Executes on button press in checkbox_S2.</span>
+0525 <a name="_sub28" href="#_subfunctions" class="code">function checkbox_S3_Callback(hObject, eventdata, handles)</a>
+0526 <span class="comment">% hObject    handle to checkbox_S3 (see GCBO)</span>
+0527 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0528 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0529 
+0530 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S3</span>
+0531 
+0532 
+0533 <span class="comment">% --- Executes on button press in checkbox_S4.</span>
+0534 <a name="_sub29" href="#_subfunctions" class="code">function checkbox_S4_Callback(hObject, eventdata, handles)</a>
+0535 <span class="comment">% hObject    handle to checkbox_S4 (see GCBO)</span>
+0536 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0537 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0538 
+0539 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S4</span>
+0540 
+0541 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0542 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0543 
+0544 <span class="comment">% --- Executes on button press in checkbox_S5.</span>
+0545 <a name="_sub30" href="#_subfunctions" class="code">function checkbox_S5_Callback(hObject, eventdata, handles)</a>
+0546 <span class="comment">% hObject    handle to checkbox_S5 (see GCBO)</span>
+0547 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0548 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0549 
+0550 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S5</span>
+0551 
+0552 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0553 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0554 
+0555 <span class="comment">% --- Executes on button press in checkbox_S6.</span>
+0556 <a name="_sub31" href="#_subfunctions" class="code">function checkbox_S6_Callback(hObject, eventdata, handles)</a>
+0557 <span class="comment">% hObject    handle to checkbox_S6 (see GCBO)</span>
+0558 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0559 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0560 
+0561 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S6</span>
+0562 
+0563 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0564 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0565 
+0566 <span class="comment">% --- Executes on button press in checkbox_S7.</span>
+0567 <a name="_sub32" href="#_subfunctions" class="code">function checkbox_S7_Callback(hObject, eventdata, handles)</a>
+0568 <span class="comment">% hObject    handle to checkbox_S7 (see GCBO)</span>
+0569 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0570 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0571 
+0572 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S7</span>
+0573 
+0574 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0575 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0576 
+0577 <span class="comment">% --- Executes on button press in checkbox_S8.</span>
+0578 <a name="_sub33" href="#_subfunctions" class="code">function checkbox_S8_Callback(hObject, eventdata, handles)</a>
+0579 <span class="comment">% hObject    handle to checkbox_S8 (see GCBO)</span>
+0580 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0581 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0582 
+0583 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S8</span>
+0584 
+0585 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0586 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0587 
+0588 <span class="comment">% --- Executes on button press in checkbox_S9.</span>
+0589 <a name="_sub34" href="#_subfunctions" class="code">function checkbox_S9_Callback(hObject, eventdata, handles)</a>
+0590 <span class="comment">% hObject    handle to checkbox_S9 (see GCBO)</span>
+0591 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0592 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0593 
+0594 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S9</span>
+0595 
+0596 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0597 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0598 
+0599 <span class="comment">% --- Executes on button press in checkbox_S10.</span>
+0600 <a name="_sub35" href="#_subfunctions" class="code">function checkbox_S10_Callback(hObject, eventdata, handles)</a>
+0601 <span class="comment">% hObject    handle to checkbox_S10 (see GCBO)</span>
+0602 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0603 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0604 
+0605 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_S10</span>
+0606 
+0607 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0608 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0609 
+0610 <span class="comment">% --- Executes on button press in checkbox_AllQuad.</span>
+0611 <a name="_sub36" href="#_subfunctions" class="code">function checkbox_AllQuad_Callback(hObject, eventdata, handles)</a>
+0612 <span class="comment">% hObject    handle to checkbox_AllQuad (see GCBO)</span>
+0613 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0614 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0615 
+0616 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_AllQuad</span>
+0617 
+0618 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0619 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0620 val = get(handles.checkbox_AllQuad,<span class="string">'Value'</span>);
+0621 
+0622 <span class="keyword">if</span> val
+0623     set(handles.checkbox_noneQuad,<span class="string">'Value'</span>,0);      
+0624     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'QUAD'</span>))
+0625         Name = strcat(<span class="string">'Q'</span>,num2str(k));
+0626         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'off'</span>)
+0627         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Value'</span>,1)
+0628     <span class="keyword">end</span>
+0629     
+0630     <span class="comment">% exclure la montee des dipoles et sextus</span>
+0631     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'SEXT'</span>))
+0632         Name = strcat(<span class="string">'S'</span>,num2str(k));
+0633         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'off'</span>)
+0634     <span class="keyword">end</span>
+0635     set(handles.checkbox_AllSextu,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0636     set(handles.checkbox_BEND,<span class="string">'Enable'</span>,<span class="string">'off'</span>);   
+0637 <span class="keyword">end</span>
+0638 
+0639 <span class="comment">% --- Executes on button press in checkbox_AllSextu.</span>
+0640 <a name="_sub37" href="#_subfunctions" class="code">function checkbox_AllSextu_Callback(hObject, eventdata, handles)</a>
+0641 <span class="comment">% hObject    handle to checkbox_AllSextu (see GCBO)</span>
+0642 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0643 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0644 
+0645 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_AllSextu</span>
+0646 
+0647 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0648 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0649 val = get(handles.checkbox_AllSextu,<span class="string">'Value'</span>);
+0650 
+0651 <span class="keyword">if</span> val
+0652     set(handles.checkbox_NoneSextu,<span class="string">'Value'</span>,0);    
+0653       
+0654     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'SEXT'</span>))
+0655         Name = strcat(<span class="string">'S'</span>,num2str(k));
+0656         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0657         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Value'</span>,1)
+0658     <span class="keyword">end</span>
+0659     <span class="comment">% exclure la montee des dipoles et quad</span>
+0660     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'QUAD'</span>))
+0661         Name = strcat(<span class="string">'Q'</span>,num2str(k));
+0662         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'off'</span>)
+0663     <span class="keyword">end</span>
+0664     set(handles.checkbox_AllQuad,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0665     set(handles.checkbox_BEND,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0666 
+0667 <span class="keyword">else</span>
+0668     
+0669     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'SEXT'</span>))
+0670         Name = strcat(<span class="string">'S'</span>,num2str(k));
+0671         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0672     <span class="keyword">end</span>
+0673     <span class="comment">% rendre possible la montee des dipoles et quad</span>
+0674     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'QUAD'</span>))
+0675         Name = strcat(<span class="string">'Q'</span>,num2str(k));
+0676         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0677     <span class="keyword">end</span>
+0678     set(handles.checkbox_AllQuad,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0679     set(handles.checkbox_BEND,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0680 <span class="keyword">end</span>
+0681 
+0682 
+0683 
+0684 <span class="comment">% --- Executes on button press in courbe_pushbutton.</span>
+0685 <a name="_sub38" href="#_subfunctions" class="code">function courbe_pushbutton_Callback(hObject, eventdata, handles)</a>
+0686 <span class="comment">% hObject    handle to courbe_pushbutton (see GCBO)</span>
+0687 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0688 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0689 
+0690 <span class="comment">% valBEND = get(handles.checkbox_BEND,'Value');</span>
+0691 <span class="comment">% valQ1 = get(handles.checkbox_Q1,'Value');valQ2 = get(handles.checkbox_Q2,'Value');</span>
+0692 <span class="comment">% valQ3 = get(handles.checkbox_Q3,'Value');valQ4 = get(handles.checkbox_Q4,'Value');</span>
+0693 <span class="comment">% valQ5 = get(handles.checkbox_Q5,'Value');valQ6 = get(handles.checkbox_Q6,'Value');</span>
+0694 <span class="comment">% valQ7 = get(handles.checkbox_Q7,'Value');valQ8 = get(handles.checkbox_Q8,'Value');</span>
+0695 <span class="comment">% valQ9 = get(handles.checkbox_Q9,'Value');valQ10 = get(handles.checkbox_Q10,'Value');</span>
+0696 <span class="comment">% valQtous = get(handles.checkbox_AllQuad,'Value');</span>
+0697 <span class="comment">% valS1 = get(handles.checkbox_S1,'Value');valS2 = get(handles.checkbox_S2,'Value');</span>
+0698 <span class="comment">% valQ3 = get(handles.checkbox_S3,'Value');valS4 = get(handles.checkbox_S4,'Value');</span>
+0699 <span class="comment">% valS5 = get(handles.checkbox_S5,'Value');valS6 = get(handles.checkbox_S6,'Value');</span>
+0700 <span class="comment">% valS7 = get(handles.checkbox_S7,'Value');valS8 = get(handles.checkbox_S8,'Value');</span>
+0701 <span class="comment">% valS9 = get(handles.checkbox_S9,'Value');valS10 = get(handles.checkbox_S10,'Value');</span>
+0702 <span class="comment">% valStous = get(handles.checkbox_AllSextu,'Value');</span>
+0703 <span class="comment">% %valeurs = [valQ1 valQ2 valQ3 valQ4 valQ5 valQ6 valQ7 valQ8 valQ9 valQ10 valQtous];</span>
+0704 <span class="comment">% test = ones(11,1)'*0;</span>
+0705 
+0706 <span class="comment">%  for i = 1:10</span>
+0707 <span class="comment">%       name = strcat('valQ',num2str(i))</span>
+0708 <span class="comment">%        if eval(name)</span>
+0709 
+0710 name=[<span class="string">'axes'</span> num2str(1)];
+0711 axes(handles.(name));
+0712 
+0713 Family={<span class="string">'BEND'</span>,<span class="keyword">...</span>
+0714     <span class="string">'Q1'</span>,<span class="string">'Q2'</span>,<span class="string">'Q3'</span>,<span class="string">'Q4'</span>,<span class="string">'Q5'</span>,<span class="keyword">...</span>
+0715     <span class="string">'Q6'</span>,<span class="string">'Q7'</span>,<span class="string">'Q8'</span>,<span class="string">'Q9'</span>,<span class="string">'Q10'</span>,<span class="keyword">...</span>
+0716     <span class="string">'S1'</span>,<span class="string">'S2'</span>,<span class="string">'S3'</span>,<span class="string">'S4'</span>,<span class="string">'S5'</span>,<span class="keyword">...</span>
+0717     <span class="string">'S6'</span>,<span class="string">'S7'</span>,<span class="string">'S8'</span>,<span class="string">'S9'</span>,<span class="string">'S10'</span>,<span class="keyword">...</span>
+0718     <span class="string">'HCOR'</span>,<span class="string">'VCOR'</span>};    
+0719     
+0720 <span class="keyword">for</span> k =1:length(Family)
+0721     <span class="keyword">if</span> get(handles.([<span class="string">'checkbox_'</span>,Family{k}]),<span class="string">'Value'</span>)
+0722         Name = strcat(<span class="string">'Cycle'</span>,Family{k});
+0723         <span class="comment">%Name = Family{k};</span>
+0724 
+0725         vect = getfamilydata(Name,<span class="string">'DeviceName'</span>);
+0726         <span class="keyword">if</span> strcmp(handles.mode,<span class="string">'1element'</span>)
+0727             jend = 1;
+0728         <span class="keyword">elseif</span> strcmp(handles.mode,<span class="string">'lafamille'</span>)
+0729             jend = length(vect);
+0730         <span class="keyword">end</span>
+0731 
+0732         <span class="comment">% plot de la courbe de cyclage du premier element magnetique de la</span>
+0733         <span class="comment">% famille)</span>
+0734         <span class="keyword">for</span> j = 1:jend
+0735             curve = getcyclecurve(vect{j});
+0736 
+0737             <span class="keyword">if</span> iscell(curve)
+0738                 <span class="keyword">for</span> k=1:length(curve),
+0739                     n = size(curve{k}.Data,1);
+0740                     <span class="comment">% time vector</span>
+0741                     cums = cumsum(curve{k}.Data(:,2))';
+0742                     x = [cums; cums];
+0743                     x = reshape(x,1,2*n);
+0744                     x = [0 x(1:end-1)];
+0745 
+0746                     <span class="comment">% amplitude vector</span>
+0747                     y = [curve{k}.Data(:,1),curve{k}.Data(:,1)]';
+0748                     y = reshape(y,1,2*n);
+0749 
+0750 
+0751                     plot(x,y,<span class="string">'b.-'</span>);
+0752                     xlabel(<span class="string">'Temps (s)'</span>);
+0753                     ylabel(<span class="string">'Courant [A]'</span>);
+0754                     ylim([min(y) max(y)*1.05]);
+0755                     title([<span class="string">'Cycling curve for '</span> curve{k}.DeviceName]);
+0756                     grid on
+0757                 <span class="keyword">end</span>
+0758             <span class="keyword">else</span>
+0759                 n = size(curve,1);
+0760                 <span class="comment">% time vector</span>
+0761                 cums = cumsum(curve(:,2))';
+0762                 x = [cums; cums];
+0763                 x = reshape(x,1,2*n);
+0764                 x = [0 x(1:end-1)];
+0765 
+0766                 <span class="comment">% amplitude vector</span>
+0767                 y = [curve(:,1),curve(:,1)]';
+0768                 y = reshape(y,1,2*n);
+0769 
+0770 
+0771                 plot(x,y,<span class="string">'b.-'</span>);
+0772                 xlabel(<span class="string">'Temps (s)'</span>);
+0773                 ylabel(<span class="string">'Courant [A]'</span>);
+0774                 ylim([min(y)*1.1 max(y)*1.1]);
+0775                 title(<span class="string">'courbe de cyclage'</span>);
+0776 
+0777                 grid on
+0778 
+0779             <span class="keyword">end</span>
+0780 
+0781 
+0782             hold on
+0783         <span class="keyword">end</span>
+0784         hold on
+0785     <span class="keyword">end</span>
+0786 <span class="keyword">end</span>
+0787 
+0788 
+0789 
+0790 <span class="comment">% --- Executes on button press in checkbox_QC13.</span>
+0791 <a name="_sub39" href="#_subfunctions" class="code">function checkbox_QC13_Callback(hObject, eventdata, handles)</a>
+0792 <span class="comment">% hObject    handle to checkbox_QC13 (see GCBO)</span>
+0793 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0794 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0795 
+0796 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_QC13</span>
+0797 
+0798 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0799 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0800 val = get(handles.checkbox_QC13,<span class="string">'Value'</span>);
+0801 
+0802 
+0803 <a name="_sub40" href="#_subfunctions" class="code">function edit1_Callback(hObject, eventdata, handles)</a>
+0804 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0805 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0806 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0807 
+0808 <span class="comment">% Hints: get(hObject,'String') returns contents of edit1 as text</span>
+0809 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit1 as a double</span>
+0810 
+0811 
+0812 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0813 <a name="_sub41" href="#_subfunctions" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a>
+0814 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0815 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0816 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0817 
+0818 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0819 <span class="comment">%       See ISPC and COMPUTER.</span>
+0820 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0821     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0822 <span class="keyword">end</span>
+0823 
+0824 
+0825 <span class="comment">% --- Executes on button press in pushbutton_singledevice.</span>
+0826 <a name="_sub42" href="#_subfunctions" class="code">function pushbutton_singledevice_Callback(hObject, eventdata, handles)</a>
+0827 <span class="comment">% hObject    handle to pushbutton_singledevice (see GCBO)</span>
+0828 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0829 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0830 
+0831 
+0832 <a name="_sub43" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+0833 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+0834 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0835 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0836 
+0837 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+0838     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+0839         <span class="comment">% code piece when radiobutton1 is selected goes here</span>
+0840         <span class="comment">% 'Mode' = 'Simulation';</span>
+0841         handles.mode = <span class="string">'1element'</span>;
+0842        
+0843     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+0844         <span class="comment">% code piece when radiobutton2 is selected goes here</span>
+0845         <span class="comment">% '.Mode' = 'Machine';</span>
+0846         handles.mode = <span class="string">'lafamille'</span>;
+0847 <span class="keyword">end</span>
+0848 <span class="comment">% Update handles structure</span>
+0849 guidata(hObject, handles);
+0850 
+0851 
+0852 <span class="comment">% --- Executes on button press in checkbox_noneQuad.</span>
+0853 <a name="_sub44" href="#_subfunctions" class="code">function checkbox_noneQuad_Callback(hObject, eventdata, handles)</a>
+0854 <span class="comment">% hObject    handle to checkbox_noneQuad (see GCBO)</span>
+0855 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0856 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0857 
+0858 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_noneQuad</span>
+0859 
+0860 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0861 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0862 val = get(handles.checkbox_noneQuad,<span class="string">'Value'</span>);
+0863 
+0864 <span class="keyword">if</span> val
+0865     set(handles.checkbox_AllQuad,<span class="string">'Value'</span>,0);
+0866     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'QUAD'</span>))
+0867         Name = strcat(<span class="string">'Q'</span>,num2str(k));
+0868         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0869         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Value'</span>,0)
+0870     <span class="keyword">end</span>
+0871 
+0872     <span class="comment">% rendre possible la montee des dipoles et sextus</span>
+0873     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'SEXT'</span>))
+0874         Name = strcat(<span class="string">'S'</span>,num2str(k));
+0875         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0876     <span class="keyword">end</span>
+0877     set(handles.checkbox_AllSextu,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0878     set(handles.checkbox_BEND,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0879 <span class="keyword">end</span>
+0880 
+0881 
+0882 <span class="comment">% --- Executes on button press in checkbox_NoneSextu.</span>
+0883 <a name="_sub45" href="#_subfunctions" class="code">function checkbox_NoneSextu_Callback(hObject, eventdata, handles)</a>
+0884 <span class="comment">% hObject    handle to checkbox_NoneSextu (see GCBO)</span>
+0885 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0886 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0887 
+0888 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_NoneSextu</span>
+0889 
+0890 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0891 set(handles.checkbox_none,<span class="string">'Value'</span>,0);
+0892 val = get(handles.checkbox_NoneSextu,<span class="string">'Value'</span>);
+0893 
+0894 <span class="keyword">if</span> val
+0895     set(handles.checkbox_AllSextu,<span class="string">'Value'</span>,0);    
+0896     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'SEXT'</span>))
+0897         Name = strcat(<span class="string">'S'</span>,num2str(k));
+0898         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0899         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Value'</span>,0)
+0900     <span class="keyword">end</span>
+0901 
+0902     <span class="comment">% rendre possible la montee des dipoles et quad</span>
+0903     <span class="keyword">for</span> k = 1:length(findmemberof(<span class="string">'QUAD'</span>))
+0904         Name = strcat(<span class="string">'Q'</span>,num2str(k));
+0905         set(handles.([<span class="string">'checkbox_'</span>,Name]),<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0906     <span class="keyword">end</span>
+0907     set(handles.checkbox_AllQuad,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0908     set(handles.checkbox_BEND,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0909 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/aoinit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/aoinit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/aoinit.html	(revision 17)
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of aoinit</title>
+  <meta name="keywords" content="aoinit">
+  <meta name="description" content="AOINIT - Initialization function for the Matlab Middle Layer (MML)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; aoinit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>aoinit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>AOINIT - Initialization function for the Matlab Middle Layer (MML)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function aoinit(SubMachineName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">AOINIT - Initialization function for the Matlab Middle Layer (MML)
+
+
+  See Also <a href="soleilinit.html" class="code" title="function soleilinit(OperationalMode)">soleilinit</a>, setpathsoleil, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>, <a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="soleilinit.html" class="code" title="function soleilinit(OperationalMode)">soleilinit</a>	SOLEILINIT - Initializes params for SOLEIL control in MATLAB</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function RunTimeFlag = isdeployed_local</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function aoinit(SubMachineName)</a>
+0002 <span class="comment">%AOINIT - Initialization function for the Matlab Middle Layer (MML)</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  See Also soleilinit, setpathsoleil, updateatindex, setoperationalmode</span>
+0006 
+0007 <span class="comment">% Written by Laurent S. Nadolski</span>
+0008 
+0009 <span class="keyword">if</span> exist(<span class="string">'SubMachineName'</span>, <span class="string">'var'</span>) &amp;&amp; ~strcmpi(SubMachineName, <span class="string">'StorageRing'</span>)
+0010     error(<span class="string">'Wrong SubMachine %s'</span>, SubMachineName)
+0011 <span class="keyword">end</span>
+0012 
+0013 <span class="comment">% The path should not be modified in standalone mode</span>
+0014 <span class="keyword">if</span> ~<a href="#_sub1" class="code" title="subfunction RunTimeFlag = isdeployed_local">isdeployed_local</a>
+0015 
+0016     MMLROOT = getmmlroot;
+0017     
+0018     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>));
+0019     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'bpm'</span>));
+0020     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'quad'</span>));
+0021     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'tune'</span>));
+0022     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'feedforward'</span>));
+0023     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'fonction_test'</span>));
+0024     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'insertions'</span>));
+0025     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'loco'</span>));
+0026     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'orbit'</span>));
+0027     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRingOpsData'</span>));
+0028     
+0029     <span class="comment">% APPLICATIONS</span>
+0030     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'Lattices'</span>));
+0031     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>,<span class="string">'BBA'</span>));
+0032     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>,<span class="string">'steerette'</span>));
+0033     addpath(fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>,<span class="string">'energytunette'</span>));
+0034     addpath(fullfile(MMLROOT, <span class="string">'mml'</span>, <span class="string">'setorbitbumpgui'</span>));        
+0035     addpath(fullfile(MMLROOT, <span class="string">'mml'</span>, <span class="string">'setorbitgui'</span>));        
+0036     <span class="comment">%addpath(fullfile(MMLROOT, 'applications', 'orbit')); % Greg appli</span>
+0037     <span class="comment">%addpath(fullfile(MMLROOT, 'applications', 'orbit', 'lib')); % Greg appli</span>
+0038          
+0039 
+0040     <span class="comment">%addpath(fullfile(cdappli, 'LT1'));</span>
+0041     <span class="comment">%addpath(fullfile(cdappli, 'LT1', 'fae'));</span>
+0042     <span class="comment">%addpath(fullfile(cdappli, 'LT1', 'emittance'));</span>
+0043     <span class="comment">%addpath(fullfile(cdappli, 'LT2'));</span>
+0044     <span class="comment">%addpath(fullfile(cdappli, 'LT2', 'emittance'));</span>
+0045     <span class="comment">%addpath(fullfile(cdappli, 'Booster'));</span>
+0046     <span class="comment">%addpath(fullfile(cdappli, 'Booster', 'bpm'));</span>
+0047 
+0048     <span class="comment">% Make sure mml is high on the path</span>
+0049     addpath(fullfile(MMLROOT, <span class="string">'mml'</span>),<span class="string">'-begin'</span>);
+0050 
+0051     disp([<span class="string">'TANGO/MATLAB binding version: '</span> tango_version])
+0052     disp(<span class="string">'Startup file for Matlab Middle Layer read with success'</span>);
+0053 
+0054 <span class="keyword">end</span>
+0055 
+0056 <span class="comment">% Initialize the MML for machine</span>
+0057 
+0058 <a href="soleilinit.html" class="code" title="function soleilinit(OperationalMode)">soleilinit</a>;
+0059 
+0060 <a name="_sub1" href="#_subfunctions" class="code">function RunTimeFlag = isdeployed_local</a>
+0061 <span class="comment">% isdeployed is not in matlab 6.5</span>
+0062 V = version;
+0063 <span class="keyword">if</span> str2double(V(1,1)) &lt; 7
+0064     RunTimeFlag = 0;
+0065 <span class="keyword">else</span>
+0066     RunTimeFlag = isdeployed;
+0067 <span class="keyword">end</span>
+0068</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/calctuneTFB.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/calctuneTFB.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/calctuneTFB.html	(revision 17)
@@ -0,0 +1,275 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of calctuneTFB</title>
+  <meta name="keywords" content="calctuneTFB">
+  <meta name="description" content="T=timer('TimerFcn',@gettune_FBT, 'Period', 1.0);">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; calctuneTFB.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>calctuneTFB
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>T=timer('TimerFcn',@gettune_FBT, 'Period', 1.0);</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function calctuneTFB(action) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> T=timer('TimerFcn',@gettune_FBT, 'Period', 1.0);
+%</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function calctuneTFB(action)</a>
+0002 <span class="comment">% T=timer('TimerFcn',@gettune_FBT, 'Period', 1.0);</span>
+0003 <span class="comment">%%</span>
+0004 
+0005 StartFlag = 0;
+0006 <span class="comment">%setappdata(h,'FEEDBACK_STOP_FLAG',0)</span>
+0007 
+0008 <span class="comment">% Devicelock configuration</span>
+0009 devLockName = <span class="string">'ANS/CA/SERVICE-LOCKER'</span>;
+0010 argin.svalue={<span class="string">'tunemeas'</span>};
+0011 
+0012 <span class="comment">% Arguments</span>
+0013 <span class="keyword">if</span> nargin &lt; 1
+0014     action = <span class="string">'Initialize'</span>;
+0015 <span class="keyword">end</span>
+0016 
+0017 <span class="keyword">switch</span> action
+0018     <span class="keyword">case</span> <span class="string">'Initialize'</span>
+0019         val = readattribute([devLockName <span class="string">'/'</span> argin.svalue{:}]);
+0020 
+0021         <span class="keyword">if</span> val == 1
+0022             fprintf(<span class="string">'Tune measurement already running. Stop other application first!\n'</span>)
+0023             <span class="keyword">return</span>;
+0024         <span class="keyword">end</span>
+0025 
+0026         ButtonHeight = 50;
+0027         ButtonWidth=50;
+0028         offset = 100;
+0029 
+0030         h=figure(<span class="string">'Tag'</span>, <span class="string">'TuneFig'</span>);
+0031         uicontrol(<span class="string">'Parent'</span>,h, <span class="keyword">...</span>
+0032             <span class="string">'callback'</span>,<span class="string">'calctuneTFB(''Start'');'</span>, <span class="keyword">...</span>
+0033             <span class="string">'Enable'</span>,<span class="string">'on'</span>, <span class="keyword">...</span>
+0034             <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span>
+0035             <span class="string">'Position'</span>,[2 offset+2*(ButtonHeight+1) ButtonWidth 0.8*ButtonHeight], <span class="keyword">...</span>
+0036             <span class="string">'String'</span>,<span class="string">'Start'</span>, <span class="keyword">...</span>
+0037             <span class="string">'Style'</span>,<span class="string">'PushButton'</span>, <span class="keyword">...</span>
+0038             <span class="string">'Value'</span>,0,<span class="keyword">...</span>
+0039             <span class="string">'Tag'</span>,<span class="string">'Start'</span>);
+0040 
+0041         uicontrol(<span class="string">'Parent'</span>,h, <span class="keyword">...</span>
+0042             <span class="string">'callback'</span>,<span class="string">'calctuneTFB(''Stop'');'</span>, <span class="keyword">...</span>
+0043             <span class="string">'Enable'</span>,<span class="string">'on'</span>, <span class="keyword">...</span>
+0044             <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span>
+0045             <span class="string">'Position'</span>,[2 offset+1*(ButtonHeight+1) ButtonWidth 0.8*ButtonHeight], <span class="keyword">...</span>
+0046             <span class="string">'String'</span>,<span class="string">'Stop'</span>, <span class="keyword">...</span>
+0047             <span class="string">'Style'</span>,<span class="string">'PushButton'</span>, <span class="keyword">...</span>
+0048             <span class="string">'Value'</span>,0,<span class="keyword">...</span>
+0049             <span class="string">'Tag'</span>,<span class="string">'Stop'</span>);
+0050 
+0051         <span class="comment">%%</span>
+0052         <span class="comment">% Locktag  = tango_command_inout2(devLockName,'Lock', argin.svalue{:});</span>
+0053         <span class="comment">% argin.lvalue = int32(Locktag);</span>
+0054 
+0055         <span class="comment">% Get data</span>
+0056         [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = <a href="#_sub1" class="code" title="subfunction [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT">local_gettune_FBT</a>;
+0057 
+0058         len1= length(dataFFT1);
+0059         len2= length(dataFFT2);
+0060 
+0061         subplot(2,1,1);
+0062         xdata1 = (0:len1-1)/len1;
+0063         setappdata(h,<span class="string">'xdata1'</span>, xdata1);
+0064 
+0065         H1 = num2str(xdata1(idx1-1+5),<span class="string">'%6.4f'</span>);
+0066         <span class="comment">%H1_var = xdata1(idx1-1+5);</span>
+0067         V1 = num2str(xdata1(idx2-1+floor(len1/4)),<span class="string">'%6.4f'</span>);
+0068         f1 = semilogy(xdata1, dataFFT1, <span class="string">'Tag'</span>, <span class="string">'ydata1'</span>);
+0069         title (<span class="string">'FBT1'</span>);
+0070         xlim([0 0.5])
+0071         setappdata(h,<span class="string">'yaxis1'</span>, f1);
+0072 
+0073         subplot(2,1,2);
+0074         xdata2 = (0:len2-1)/len2;
+0075         setappdata(h,<span class="string">'xdata2'</span>, xdata2);
+0076         H2 =  num2str(xdata2(idx3-1+5),<span class="string">'%6.4f'</span>);
+0077         V2 =  xdata2(idx4-1+floor(len2/4));
+0078         f2 = semilogy(xdata2, (dataFFT2),<span class="string">'Tag'</span>, <span class="string">'ydata1'</span>);
+0079         title (<span class="string">'FBT2'</span>);
+0080         xlim([0 0.5])
+0081         setappdata(h,<span class="string">'yaxis2'</span>, f2);
+0082 
+0083         anno1 = annotation(<span class="string">'textbox'</span>,<span class="keyword">...</span>
+0084             <span class="string">'Position'</span>,[0.14 0.83 0.12 0.08],<span class="keyword">...</span>
+0085             <span class="string">'FitHeightToText'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0086             <span class="string">'String'</span>,{H1}, <span class="string">'Tag'</span>, <span class="string">'box1'</span>);
+0087         setappdata(h,<span class="string">'anno1'</span>, anno1);
+0088 
+0089         anno2 = annotation(<span class="string">'textbox'</span>,<span class="keyword">...</span>
+0090             <span class="string">'Position'</span>,[0.14 0.35 0.12 0.08],<span class="keyword">...</span>
+0091             <span class="string">'FitHeightToText'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0092             <span class="string">'String'</span>,{H2}, <span class="string">'Tag'</span>, <span class="string">'box2'</span>);
+0093         setappdata(h,<span class="string">'anno2'</span>, anno2);
+0094 
+0095     <span class="keyword">case</span> <span class="string">'Start'</span>
+0096         setappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'FEEDBACK_STOP_FLAG'</span>,0);
+0097         Locktag  = tango_command_inout2(devLockName,<span class="string">'Lock'</span>, argin.svalue{:});
+0098         argin.lvalue = int32(Locktag);
+0099         setappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'Locktag'</span>,Locktag);
+0100 
+0101         <span class="comment">% loop</span>
+0102         <span class="keyword">while</span> ~getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'FEEDBACK_STOP_FLAG'</span>)
+0103 
+0104             [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = <a href="#_sub1" class="code" title="subfunction [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT">local_gettune_FBT</a>;
+0105             xdata1 = getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'xdata1'</span>);
+0106             xdata2 = getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'xdata2'</span>);
+0107             len1 = length(xdata1);
+0108             len2 = length(xdata2);
+0109 
+0110             <span class="keyword">if</span> idx1 ~= -1
+0111                 tunex1 = xdata1(idx1-1+5);
+0112                 tunez1 = xdata1(idx2-1+floor(len1/4));
+0113                 set(getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'anno1'</span>),<span class="string">'String'</span>,<span class="string">' '</span>);
+0114                 set(getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'anno1'</span>),<span class="string">'String'</span>, <span class="keyword">...</span>
+0115                     sprintf(<span class="string">'H = %5.4f \nV = %5.4f'</span>, tunex1, tunez1))
+0116                 set(getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'yaxis1'</span>), <span class="string">'Ydata'</span>, dataFFT1)
+0117                 tango_write_attribute2(<span class="string">'ANS/DG/PUB-TUNE'</span>,<span class="string">'tunex'</span>,tunex1);
+0118                 tango_write_attribute2(<span class="string">'ANS/DG/PUB-TUNE'</span>,<span class="string">'tunez'</span>,tunez1);
+0119             <span class="keyword">end</span>
+0120             <span class="keyword">if</span> idx2 ~= -1
+0121                 tunex2 = xdata2(idx3-1+5);
+0122                 tunez2 = xdata2(idx4-1+floor(len2/4));
+0123                 set(getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'anno2'</span>),<span class="string">'String'</span>,<span class="string">' '</span>);
+0124                 set(getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'anno2'</span>), <span class="keyword">...</span>
+0125                     <span class="string">'String'</span>,sprintf(<span class="string">'H = %5.4f \nV = %5.4f'</span>, tunex2, tunez2))
+0126                 set(getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'yaxis2'</span>), <span class="string">'Ydata'</span>, dataFFT2)
+0127                 tango_write_attribute2(<span class="string">'ANS/DG/PUB-TUNE'</span>,<span class="string">'tunex2'</span>,tunex2);
+0128                 tango_write_attribute2(<span class="string">'ANS/DG/PUB-TUNE'</span>,<span class="string">'tunez2'</span>,tunez2);
+0129             <span class="keyword">end</span>
+0130             pause(0.5);
+0131             <span class="comment">% Maintain lock on SOFB service</span>
+0132             tango_command_inout2(devLockName,<span class="string">'MaintainLock'</span>, argin);
+0133         <span class="keyword">end</span>
+0134 
+0135     <span class="keyword">case</span> <span class="string">'Stop'</span>
+0136         <span class="comment">% Unlock SOFB service</span>
+0137         Locktag = getappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'Locktag'</span>);
+0138         argin.lvalue=int32(Locktag);
+0139         tango_command_inout2(devLockName,<span class="string">'Unlock'</span>, argin);
+0140         setappdata(findobj(gcbf,<span class="string">'Tag'</span>,<span class="string">'TuneFig'</span>),<span class="string">'FEEDBACK_STOP_FLAG'</span>, 1);
+0141 <span class="keyword">end</span>
+0142 
+0143 
+0144 <span class="comment">% while(1)</span>
+0145 <span class="comment">%     [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT;</span>
+0146 <span class="comment">%     if idx1 ~= -1</span>
+0147 <span class="comment">%         tunex1 = xdata1(idx1-1+5);</span>
+0148 <span class="comment">%         tunez1 = xdata1(idx2-1+floor(len1/4));</span>
+0149 <span class="comment">%         set(anno1,'String',' ');</span>
+0150 <span class="comment">%         set(anno1,'String',sprintf('H = %5.4f \nV = %5.4f', tunex1, tunez1))</span>
+0151 <span class="comment">%         set(f1, 'Ydata', dataFFT1)</span>
+0152 <span class="comment">%         tango_write_attribute2('ANS/DG/PUB-TUNE','tunex',tunex1);</span>
+0153 <span class="comment">%         tango_write_attribute2('ANS/DG/PUB-TUNE','tunez',tunez1);</span>
+0154 <span class="comment">%     end</span>
+0155 <span class="comment">%     if idx2 ~= -1</span>
+0156 <span class="comment">%         tunex2 = xdata2(idx3-1+5);</span>
+0157 <span class="comment">%         tunez2 = xdata2(idx4-1+floor(len2/4));</span>
+0158 <span class="comment">%         set(anno2,'String',' ');</span>
+0159 <span class="comment">%         set(anno2,'String',sprintf('H = %5.4f \nV = %5.4f', tunex2, tunez2))</span>
+0160 <span class="comment">%         set(f2, 'Ydata', dataFFT2)</span>
+0161 <span class="comment">%         tango_write_attribute2('ANS/DG/PUB-TUNE','tunex2',tunex2);</span>
+0162 <span class="comment">%         tango_write_attribute2('ANS/DG/PUB-TUNE','tunez2',tunez2);</span>
+0163 <span class="comment">%     end</span>
+0164 <span class="comment">%     pause(0.5);</span>
+0165 <span class="comment">%     % Maintain lock on SOFB service</span>
+0166 <span class="comment">%     tango_command_inout2(devLockName,'MaintainLock', argin);</span>
+0167 <span class="comment">% end</span>
+0168 
+0169 
+0170 <span class="comment">%subfunctions</span>
+0171 
+0172 <a name="_sub1" href="#_subfunctions" class="code">function [idx1 idx2 idx3 idx4 dataFFT1 dataFFT2] = local_gettune_FBT</a>
+0173 
+0174 rep1 = tango_read_attribute2(<span class="string">'ANS/RF/BBFDataViewer.1'</span>, <span class="string">'excitedBunchData'</span>);
+0175 <span class="keyword">if</span> ~isstruct(rep1) &amp;&amp; rep1 == -1
+0176     pause(1)
+0177     rep1 = tango_read_attribute2(<span class="string">'ANS/RF/BBFDataViewer.1'</span>, <span class="string">'excitedBunchData'</span>);
+0178     <span class="keyword">if</span> ~isstruct(rep1) &amp;&amp; rep1 == -1
+0179         pause(2)
+0180         rep1 = tango_read_attribute2(<span class="string">'ANS/RF/BBFDataViewer.1'</span>, <span class="string">'excitedBunchData'</span>);
+0181     <span class="keyword">else</span>
+0182         rep1 = -1;
+0183     <span class="keyword">end</span>
+0184 <span class="keyword">end</span>
+0185 
+0186 rep2 = tango_read_attribute2(<span class="string">'ANS/RF/BBFDataViewer.1'</span>, <span class="string">'selectedBunchData'</span>);
+0187 <span class="comment">%rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.2', 'excitedBunchData');</span>
+0188 <span class="keyword">if</span> ~isstruct(rep2) &amp;&amp; rep2 == -1
+0189     pause(1)
+0190     rep2 = tango_read_attribute2(<span class="string">'ANS/RF/BBFDataViewer.1'</span>, <span class="string">'selectedBunchData'</span>);
+0191     <span class="comment">%rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.2', 'excitedBunchData');</span>
+0192     <span class="keyword">if</span> ~isstruct(rep2) &amp;&amp; rep2 == -1
+0193 
+0194         pause(2)
+0195         rep2 = tango_read_attribute2(<span class="string">'ANS/RF/BBFDataViewer.1'</span>, <span class="string">'selectedBunchData'</span>);
+0196         <span class="comment">%rep2 = tango_read_attribute2('ANS/RF/BBFDataViewer.2', 'excitedBunchData');</span>
+0197     <span class="keyword">else</span>
+0198         rep2 = -1;
+0199     <span class="keyword">end</span>
+0200 <span class="keyword">end</span>
+0201 
+0202 <span class="keyword">if</span> isstruct(rep1)
+0203     data1 = double(rep1.value);
+0204     dataFFT1 = abs(fft(data1));
+0205     len1 = length(dataFFT1);
+0206     [MNO1_h,idx1] = max (dataFFT1(5:floor(len1/4)));
+0207     [MNO1_v,idx2] = max (dataFFT1(floor(len1/4):floor(len1/2)));
+0208 <span class="keyword">else</span>
+0209     idx1 = -1;
+0210     idx2 = -1;
+0211     dataFFT1 = 0;
+0212 <span class="keyword">end</span>
+0213 
+0214 <span class="keyword">if</span> isstruct(rep2)
+0215     data2 = double(rep2.value);
+0216     dataFFT2 = abs(fft(data2));
+0217 
+0218     len2 = length(dataFFT2);
+0219     [MNO2_h,idx3] = max (dataFFT2(5:floor(len2/4)));
+0220     [MNO2_v,idx4] = max (dataFFT2(floor(len2/4):floor(len2/2)));
+0221 <span class="keyword">else</span>
+0222     idx3 = -1;
+0223     idx4 = -1;
+0224     dataFFT2 = 0;
+0225 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/dacquantization.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/dacquantization.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/dacquantization.html	(revision 17)
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of dacquantization</title>
+  <meta name="keywords" content="dacquantization">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; dacquantization.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>dacquantization
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function b = dacquantization(a, q) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function b = dacquantization(a, q)</a>
+0002 
+0003 
+0004 b = a + sign(a) .* q/2 - rem( a+sign(a).*q/2 , q );</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/get_alpha12.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/get_alpha12.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/get_alpha12.html	(revision 17)
@@ -0,0 +1,93 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_alpha12</title>
+  <meta name="keywords" content="get_alpha12">
+  <meta name="description" content="calcul a1 a2">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; get_alpha12.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>get_alpha12
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>calcul a1 a2</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function get_alpha12 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> calcul a1 a2
+ on fit :
+ a1^2 - 4a2*df/f=(2*pi*E0/h/V/cc)^2/F0^4 * f^4
+ sur mesure de f : frï¿œquence synchrotron</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function get_alpha12</a>
+0002 <span class="comment">% calcul a1 a2</span>
+0003 <span class="comment">% on fit :</span>
+0004 <span class="comment">% a1^2 - 4a2*df/f=(2*pi*E0/h/V/cc)^2/F0^4 * f^4</span>
+0005 <span class="comment">% sur mesure de f : frï¿œquence synchrotron</span>
+0006 
+0007 
+0008 V=2.8; <span class="comment">% tension RF</span>
+0009 E0=2750;
+0010 U0=0.944;
+0011 cc=1; <span class="comment">%U0/V; % synchronous phase</span>
+0012 h=416;
+0013 frf=getrf*1e6;
+0014 F0=frf/416;
+0015 A=(2*pi*E0/h/V/cc)^2/F0^4;
+0016 
+0017 
+0018 <span class="comment">% regression lineaire</span>
+0019 load scan_freq.mat df fs
+0020 <span class="comment">% df : scan en frequence RF en Hz</span>
+0021 <span class="comment">% fs ; mesure du frequence sybchrotron en Hz</span>
+0022 
+0023 x =df/frf;
+0024 y =A*fs.^4;
+0025 p = polyfit(x,y,2);
+0026 x1 =(min(x):(max(x)-min(x))/100  :max(x));
+0027 yval = polyval(p,x1)
+0028 a2=p(2)/4;
+0029 a1=sqrt(p(3));
+0030 
+0031 figure(2)
+0032 <span class="comment">%plot(df,fs,'-ob'); hold on</span>
+0033 plot(x,y,<span class="string">'ob'</span>); hold on
+0034 plot(x1,yval,<span class="string">'-r'</span>); hold off
+0035 grid on
+0036 title(sprintf(<span class="string">'alpha1 = %1.2e alpha2=%1.2e'</span>, a1,a2));
+0037 
+0038 
+0039 fprintf(<span class="string">'Alpha fit : \n'</span>)
+0040 fprintf(<span class="string">'   Alpha1 = %d \n'</span>,a1)
+0041 fprintf(<span class="string">'   Alpha2 = %d \n'</span>,a2)
+0042 
+0043</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/get_alpha_bucket_data.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/get_alpha_bucket_data.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/get_alpha_bucket_data.html	(revision 17)
@@ -0,0 +1,96 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_alpha_bucket_data</title>
+  <meta name="keywords" content="get_alpha_bucket_data">
+  <meta name="description" content="just get setpoint and MRSV and pinhole">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; get_alpha_bucket_data.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>get_alpha_bucket_data
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>just get setpoint and MRSV and pinhole</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function get_alpha_bucket_data </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> just get setpoint and MRSV and pinhole</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function get_alpha_bucket_data</a>
+0002 <span class="comment">% just get setpoint and MRSV and pinhole</span>
+0003 
+0004 <span class="comment">% ans setpoint</span>
+0005 <span class="keyword">for</span> iQ = 1:10
+0006     Name = [<span class="string">'Q'</span> num2str(iQ)];
+0007     A = getam((Name),<span class="string">'Online'</span>);
+0008     IQ(iQ) = A(1);
+0009 <span class="keyword">end</span>
+0010 <span class="keyword">for</span> iS = 1:10
+0011     Name = [<span class="string">'S'</span> num2str(iS)];
+0012     A = getam((Name),<span class="string">'Online'</span>);
+0013     IS(iS) = A(1);
+0014 <span class="keyword">end</span>
+0015 IHCOR=getam(<span class="string">'HCOR'</span>);
+0016 IVCOR=getam(<span class="string">'VCOR'</span>);
+0017 machine.QP=IQ;
+0018 machine.SX=IS;
+0019 machine.CH=IHCOR;
+0020 machine.CV=IVCOR;
+0021 
+0022 
+0023 <span class="comment">% ans data</span>
+0024 cur=getdcct;
+0025 tune=gettune;
+0026 Frf =getrf;
+0027 X=getx;
+0028 Z=getz;
+0029 beam.cur=cur;
+0030 beam.tune=tune;
+0031 beam.Frf=Frf;
+0032 beam.X=X;
+0033 beam.Z=Z;
+0034 
+0035 
+0036 <span class="comment">% MRSV</span>
+0037 temp=tango_read_attribute2(<span class="string">'ANS-C01/DG/MRSV-IMAGEANALYZER '</span>,<span class="string">'XProj'</span>);MRSV_XProj=temp.value;
+0038 temp=tango_read_attribute2(<span class="string">'ANS-C01/DG/MRSV-IMAGEANALYZER '</span>,<span class="string">'InputImage'</span>);MRSV_Image=temp.value;
+0039 MRSV.Xproj=MRSV_XProj;
+0040 MRSV.image=MRSV_Image;
+0041 
+0042 
+0043 <span class="comment">%save data</span>
+0044 file=[appendtimestamp(<span class="string">'alpha'</span>) <span class="string">'.mat'</span>];
+0045 save(file, <span class="string">'machine'</span> ,<span class="string">'beam'</span> ,<span class="string">'MRSV'</span>)
+0046 
+0047 
+0048 
+0049</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getall.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getall.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getall.html	(revision 17)
@@ -0,0 +1,103 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getall</title>
+  <meta name="keywords" content="getall">
+  <meta name="description" content="GETALL - Creates proxy for all magnet (typically used once at initialization)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; getall.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getall
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETALL - Creates proxy for all magnet (typically used once at initialization)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function getall </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">GETALL - Creates proxy for all magnet (typically used once at initialization)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function getall</a>
+0002 <span class="comment">%GETALL - Creates proxy for all magnet (typically used once at initialization)</span>
+0003 <span class="comment">%</span>
+0004 
+0005 <span class="comment">%</span>
+0006 <span class="comment">% Written by Laurent S. Nadolski, April 2004</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% TODO</span>
+0009 <span class="comment">% Where are stored the Proxies ? see with handles (location for storing w/ EPICS)</span>
+0010 
+0011 <span class="comment">%getam(cellstr(liste(1:end-4,:)))</span>
+0012 
+0013 liste = cellstr(getfamilylist);
+0014 
+0015 <span class="comment">%% BPM</span>
+0016 figure
+0017 subplot(2,1,1)
+0018 plot(getam(liste{1}));
+0019 title(<span class="string">'BPM'</span>)
+0020 subplot(2,1,2)
+0021 plot(getam(liste{2}));
+0022 
+0023 pause(0.2)
+0024 <span class="comment">%% CORRECTOR</span>
+0025 figure
+0026 subplot(2,1,1)
+0027 bar(getam(liste{3}));
+0028 title(<span class="string">'Correctors'</span>)
+0029 subplot(2,1,2)
+0030 bar(getam(liste{4}));
+0031 pause(0.2)
+0032 
+0033 <span class="comment">%% FAST CORRECTOR</span>
+0034 figure
+0035 subplot(2,1,1)
+0036 bar(getam(liste{5}));
+0037 title(<span class="string">'Fast correctors'</span>)
+0038 subplot(2,1,2)
+0039 bar(getam(liste{6}));
+0040 pause(0.2)
+0041 
+0042 
+0043 figure
+0044 <span class="keyword">for</span> k = 9:18 
+0045     subplot(5,2,k-8)
+0046     bar(getam(liste{k}))
+0047 <span class="keyword">end</span>
+0048 suptitle(<span class="string">'QUAD'</span>)
+0049 pause(0.2)
+0050 
+0051 figure
+0052 <span class="keyword">for</span> k = 19:28 
+0053     subplot(5,2,k-18)
+0054     bar(getam(liste{k}))
+0055 <span class="keyword">end</span>
+0056 suptitle(<span class="string">'SEXTU'</span>)
+0057 pause(0.2)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getbpmrawdata_mat.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getbpmrawdata_mat.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getbpmrawdata_mat.html	(revision 17)
@@ -0,0 +1,395 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getbpmrawdata_mat</title>
+  <meta name="keywords" content="getbpmrawdata_mat">
+  <meta name="description" content="GETBPMRAWDATA - Gets turn by turn data for  BPM">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; getbpmrawdata_mat.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getbpmrawdata_mat
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETBPMRAWDATA - Gets turn by turn data for  BPM</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = getbpmrawdata_mat(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETBPMRAWDATA - Gets turn by turn data for  BPM
+
+  INPUTS
+  1. num - bpm number (scalar or vector) list ([] means all valid BPM)
+
+  Optional input arguments
+  2. Optional display
+     'Display'   - Plot BPM data X,Z, Sum, Q 
+     'NoDisplay' - No plotting
+  3. 'NoArchive' - No file archive {Default}
+     'Archive'   - Save a dispersion data structure to \&lt;Directory.BPMData&gt;\&lt;DispArchiveFile&gt;&lt;Date&gt;&lt;Time&gt;.mat
+                   To change the filename, included the filename after the 'Archive', '' to browse
+                   Structure output  is forced
+  4. 'Struct'    - Return out as a structure
+  5. 'Freezing'  - Buffer freezing mechanism 
+     'NoFreezing'
+
+  OUTPUTS
+  structure output if 'Struct' precised
+  AM
+
+  vector output
+  1. X - Horizontal data
+  2. Z - Vertical data
+  3. Sum - Sum signal data
+  4. Q  - Quadrupole signal data
+  5. Va - electrode data
+  6. Vb - electrode data
+  7. Vc - electrode data
+  8. Vd - electrode data
+
+  EXAMPLES
+  1. Display BPM 18
+      getbpmrawdata(18)
+  2. Display all valid BPM and output data as a structure
+      getbpmrawdata([],'Struct');
+  3. Output all valid BPM data
+      [X Z Sum Q Va Vb Vc Vd] = getbpmrawdata([],'NoDisplay');
+  4. Archives BPM 17 and 18 w/o displaying
+     getbpmrawdata([17 18],'Archive','NoDisplay');
+  5. Archives BPM 17 and 18 w/o displaying w/ buffer freezing mechanism
+     getbpmrawdata([17 18],'Archive','NoDisplay','Freezing');
+
+ See Also anabpmfirstturn</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getbpmrawdata_mat.html" class="code" title="function varargout = getbpmrawdata_mat(varargin)">getbpmrawdata_mat</a>	GETBPMRAWDATA - Gets turn by turn data for  BPM</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getbpmrawdata_mat.html" class="code" title="function varargout = getbpmrawdata_mat(varargin)">getbpmrawdata_mat</a>	GETBPMRAWDATA - Gets turn by turn data for  BPM</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = getbpmrawdata_mat(varargin)</a>
+0002 <span class="comment">% GETBPMRAWDATA - Gets turn by turn data for  BPM</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. num - bpm number (scalar or vector) list ([] means all valid BPM)</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  Optional input arguments</span>
+0008 <span class="comment">%  2. Optional display</span>
+0009 <span class="comment">%     'Display'   - Plot BPM data X,Z, Sum, Q</span>
+0010 <span class="comment">%     'NoDisplay' - No plotting</span>
+0011 <span class="comment">%  3. 'NoArchive' - No file archive {Default}</span>
+0012 <span class="comment">%     'Archive'   - Save a dispersion data structure to \&lt;Directory.BPMData&gt;\&lt;DispArchiveFile&gt;&lt;Date&gt;&lt;Time&gt;.mat</span>
+0013 <span class="comment">%                   To change the filename, included the filename after the 'Archive', '' to browse</span>
+0014 <span class="comment">%                   Structure output  is forced</span>
+0015 <span class="comment">%  4. 'Struct'    - Return out as a structure</span>
+0016 <span class="comment">%  5. 'Freezing'  - Buffer freezing mechanism</span>
+0017 <span class="comment">%     'NoFreezing'</span>
+0018 <span class="comment">%</span>
+0019 <span class="comment">%  OUTPUTS</span>
+0020 <span class="comment">%  structure output if 'Struct' precised</span>
+0021 <span class="comment">%  AM</span>
+0022 <span class="comment">%</span>
+0023 <span class="comment">%  vector output</span>
+0024 <span class="comment">%  1. X - Horizontal data</span>
+0025 <span class="comment">%  2. Z - Vertical data</span>
+0026 <span class="comment">%  3. Sum - Sum signal data</span>
+0027 <span class="comment">%  4. Q  - Quadrupole signal data</span>
+0028 <span class="comment">%  5. Va - electrode data</span>
+0029 <span class="comment">%  6. Vb - electrode data</span>
+0030 <span class="comment">%  7. Vc - electrode data</span>
+0031 <span class="comment">%  8. Vd - electrode data</span>
+0032 <span class="comment">%</span>
+0033 <span class="comment">%  EXAMPLES</span>
+0034 <span class="comment">%  1. Display BPM 18</span>
+0035 <span class="comment">%      getbpmrawdata(18)</span>
+0036 <span class="comment">%  2. Display all valid BPM and output data as a structure</span>
+0037 <span class="comment">%      getbpmrawdata([],'Struct');</span>
+0038 <span class="comment">%  3. Output all valid BPM data</span>
+0039 <span class="comment">%      [X Z Sum Q Va Vb Vc Vd] = getbpmrawdata([],'NoDisplay');</span>
+0040 <span class="comment">%  4. Archives BPM 17 and 18 w/o displaying</span>
+0041 <span class="comment">%     getbpmrawdata([17 18],'Archive','NoDisplay');</span>
+0042 <span class="comment">%  5. Archives BPM 17 and 18 w/o displaying w/ buffer freezing mechanism</span>
+0043 <span class="comment">%     getbpmrawdata([17 18],'Archive','NoDisplay','Freezing');</span>
+0044 <span class="comment">%</span>
+0045 <span class="comment">% See Also anabpmfirstturn</span>
+0046 
+0047 <span class="comment">%</span>
+0048 <span class="comment">% Written by Laurent S. Nadolski</span>
+0049 
+0050 <span class="comment">% TODO freezing mechanism: introduce group</span>
+0051 
+0052 DisplayFlag = 1;
+0053 ArchiveFlag = 0;
+0054 StructureFlag = 0;
+0055 FreezingFlag = 0;
+0056 FileName=<span class="string">''</span>;
+0057 varargin2 = {};
+0058 
+0059 <span class="keyword">if</span> ~exist(<span class="string">'DeviceName'</span>,<span class="string">'var'</span>)
+0060     DeviceName = [];
+0061 <span class="keyword">end</span>
+0062 
+0063 <span class="keyword">for</span> i = length(varargin):-1:1
+0064     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0065         DisplayFlag = 1;
+0066         varargin2 = {varargin2{:} varargin{i}};
+0067         varargin(i) = [];
+0068     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0069         DisplayFlag = 0;
+0070         varargin2 = {varargin2{:} varargin{i}};
+0071         varargin(i) = [];
+0072     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Archive'</span>)
+0073         ArchiveFlag = 1;
+0074         StructureFlag = 1;
+0075 <span class="comment">%        varargin2 = {varargin2{:} varargin{i}};</span>
+0076         varargin(i) = [];
+0077     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoArchive'</span>)
+0078         ArchiveFlag = 0;
+0079 <span class="comment">%        varargin2 = {varargin2{:} varargin{i}};</span>
+0080         varargin(i) = [];
+0081     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Struct'</span>)
+0082         StructureFlag = 1;
+0083         varargin2 = {varargin2{:} varargin{i}};
+0084         varargin(i) = [];
+0085     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Freezing'</span>)
+0086         FreezingFlag = 1;
+0087         varargin(i) = [];
+0088     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoFreezing'</span>)
+0089         FreezingFlag = 0;
+0090         varargin(i) = [];
+0091     <span class="keyword">end</span>
+0092 <span class="keyword">end</span>
+0093 
+0094 AO = getfamilydata(<span class="string">'BPMx'</span>);
+0095 <span class="comment">% if empty select all valid BPM</span>
+0096 
+0097 <span class="keyword">if</span> isempty(varargin)
+0098     num = 1:length(AO.DeviceName);
+0099 <span class="keyword">else</span>
+0100     num = varargin{1};
+0101     <span class="keyword">if</span> isempty(num)
+0102         num = 1:length(AO.DeviceName);
+0103     <span class="keyword">end</span>
+0104 <span class="keyword">end</span>
+0105 
+0106 <span class="comment">% Status one devices</span>
+0107 valid  = find(AO.Status);
+0108 num    = intersect(num,valid);
+0109 
+0110 <span class="keyword">if</span> isempty(num)
+0111     disp(<span class="string">'All BPM not valid'</span>)
+0112     <span class="keyword">return</span>;
+0113 <span class="keyword">end</span>
+0114 
+0115 <span class="comment">%</span>
+0116 <span class="comment">% % read BPM number of samples</span>
+0117 <span class="comment">% % If all not the same stop program and ask action to user</span>
+0118 <span class="comment">% for k = 1:length(num)</span>
+0119 <span class="comment">%     modestr{k} = char(readattribute([AO.DeviceName{num(k)} '/Mode']));</span>
+0120 <span class="comment">% end</span>
+0121 <span class="comment">%</span>
+0122 <span class="comment">% for k = 1:length(num)</span>
+0123 <span class="comment">%     sampleNumber(k) = readattribute([AO.DeviceName{num(k)} '/NumSamples']);</span>
+0124 <span class="comment">% end</span>
+0125 <span class="comment">%</span>
+0126 <span class="comment">% notTheSame = sampleNumber-sampleNumber(1);</span>
+0127 <span class="comment">%</span>
+0128 <span class="comment">% if ~all(strcmp(modestr,modestr{1}))</span>
+0129 <span class="comment">%    disp([mfilename ' STOP!']);</span>
+0130 <span class="comment">%    error('Not all BPM in the same mode')</span>
+0131 <span class="comment">%    return;</span>
+0132 <span class="comment">% end</span>
+0133 <span class="comment">%</span>
+0134 <span class="comment">% if (sum(notTheSame) ~= 0)</span>
+0135 <span class="comment">%    disp([mfilename ' STOP!']);</span>
+0136 <span class="comment">%    error('Not all BPM with the same number of samples')</span>
+0137 <span class="comment">%    return;</span>
+0138 <span class="comment">% end</span>
+0139 
+0140 <span class="comment">%% Buffer freezing</span>
+0141 <span class="comment">% Enable freezing mechanism</span>
+0142 <span class="keyword">if</span> (FreezingFlag)
+0143 <span class="comment">%     hh = warndlg('BPMmanager must be stop and BPM mode be FT or TT');</span>
+0144 <span class="comment">%     uiwait(hh);</span>
+0145     disp([mfilename <span class="string">': Enabling freezing mecanism'</span>]);
+0146     <span class="keyword">for</span> k = 1:length(num)
+0147         tango_command_inout2(AO.DeviceName{num(k)},<span class="string">'EnableBufferFreezing'</span>);
+0148     <span class="keyword">end</span>
+0149     disp([mfilename <span class="string">': Freezing BPM: pseudo synchronism'</span>]);
+0150     <span class="keyword">for</span> k = 1:length(num)
+0151         tango_command_inout2(AO.DeviceName{num(k)},<span class="string">'UnFreezeBuffer'</span>);
+0152     <span class="keyword">end</span>    
+0153 <span class="keyword">end</span>
+0154 
+0155 <span class="comment">%% loop of bpm list</span>
+0156 <span class="keyword">if</span> length(num) &gt; 1
+0157     AM.DeviceList=[];
+0158     <span class="keyword">for</span> k = 1:length(num)   
+0159         
+0160         AM0 = <a href="getbpmrawdata_mat.html" class="code" title="function varargout = getbpmrawdata_mat(varargin)">getbpmrawdata_mat</a>(num(k),varargin2{:},<span class="string">'Struct'</span>);
+0161         <span class="keyword">try</span>
+0162             AM.DeviceName{k} = AM0.DeviceName{:};
+0163             AM.Data.X(k,:) = AM0.Data.X(:); AM.Data.Z(k,:) = AM0.Data.Z(:);
+0164             AM.Data.Sum(k,:) = AM0.Data.Sum(:); AM.Data.Q(k,:) = AM0.Data.Q(:);
+0165             AM.Data.Va(k,:) = AM0.Data.Va(:); AM.Data.Vb(k,:) = AM0.Data.Vb(:);
+0166             AM.Data.Vc(k,:) = AM0.Data.Vc(:); AM.Data.Vd(k,:) = AM0.Data.Vd(:);
+0167             AM.TimeStamp = datestr(now);
+0168             AM.DataDescriptor = [<span class="string">'Turn by turn data for '</span> getfamilydata(<span class="string">'Machine'</span>)];
+0169             AM.CreatedBy = mfilename;
+0170             AM.DeviceList = [AM.DeviceList; AM0.DeviceList];
+0171         <span class="keyword">catch</span>
+0172             <span class="keyword">switch</span> lasterr
+0173                 <span class="keyword">case</span> <span class="string">'Subscripted assignment dimension mismatch.'</span>
+0174                     error(<span class="string">'BPM do not have the same number of samples !!!'</span>)
+0175             <span class="keyword">end</span>
+0176         <span class="keyword">end</span>
+0177     <span class="keyword">end</span>
+0178 
+0179     <span class="comment">% Disable freezing mechanism</span>
+0180     <span class="keyword">if</span> (FreezingFlag)
+0181         disp([mfilename <span class="string">': disabling buffer freezing for BPM'</span>])
+0182         <span class="keyword">for</span> k = 1:length(num)
+0183             tango_command_inout2(AO.DeviceName{num(k)},<span class="string">'DisableBufferFreezing'</span>);
+0184         <span class="keyword">end</span>
+0185     <span class="keyword">end</span>
+0186 
+0187 <span class="keyword">else</span>
+0188     <span class="comment">%% Loop for one BPM</span>
+0189     AO = getfamilydata(<span class="string">'BPMx'</span>);
+0190     AO.DeviceName;
+0191 
+0192     attr_name = <span class="keyword">...</span>
+0193         {<span class="string">'XPosDD'</span>,<span class="string">'ZPosDD'</span>, <span class="string">'QuadDD'</span>, <span class="string">'SumDD'</span>, <span class="keyword">...</span>
+0194         <span class="string">'VaDD'</span>, <span class="string">'VbDD'</span>, <span class="string">'VcDD'</span>, <span class="string">'VdDD'</span>};
+0195     
+0196         
+0197     rep = tango_read_attributes2(AO.DeviceName{num},attr_name);
+0198 
+0199     X   = rep(1).value;
+0200     Z   = rep(2).value;
+0201     Q   = rep(3).value;
+0202     Sum = rep(4).value;
+0203     Va  = rep(5).value;
+0204     Vb  = rep(6).value;
+0205     Vc  = rep(7).value;
+0206     Vd  = rep(8).value;
+0207 
+0208     <span class="comment">%% Display part</span>
+0209 
+0210     <span class="keyword">if</span> DisplayFlag
+0211         figure
+0212         subplot(2,2,1)
+0213         plot(X)
+0214         ylabel(<span class="string">'X (mm)'</span>)
+0215         grid on
+0216 
+0217         subplot(2,2,2)
+0218         plot(Z)
+0219         ylabel(<span class="string">'Z (mm)'</span>)
+0220         grid on
+0221 
+0222         subplot(2,2,3)
+0223         plot(Sum)
+0224         ylabel(<span class="string">'SUM'</span>)
+0225         xlabel(<span class="string">'turn number'</span>)
+0226         grid on
+0227 
+0228         subplot(2,2,4)
+0229         plot(Q)
+0230         ylabel(<span class="string">'Q'</span>)
+0231         xlabel(<span class="string">'turn number'</span>)
+0232         grid on
+0233         addlabel(1,0,datestr(clock));
+0234         suptitle(sprintf(<span class="string">'Turn by turn data for %s'</span>,AO.DeviceName{num}))
+0235     <span class="keyword">end</span>
+0236 
+0237     <span class="keyword">if</span> StructureFlag
+0238         AM.DeviceName = AO.DeviceName(num);
+0239         AM.Data.X   = X;
+0240         AM.Data.Z   = Z;
+0241         AM.Data.Sum = Sum;
+0242         AM.Data.Q   = Q;
+0243         AM.Data.Va  = Va;
+0244         AM.Data.Vb  = Vb;
+0245         AM.Data.Vc  = Vc;
+0246         AM.Data.Vd  = Vd;
+0247         <span class="comment">%time stamp of recording</span>
+0248         AM.TimeStamp = datestr(now);
+0249         AM.DataDescriptor = [<span class="string">'Turn by turn data for '</span> getfamilydata(<span class="string">'Machine'</span>)];
+0250         AM.CreatedBy = mfilename;
+0251         AM.DeviceList = tango2dev(AO.Monitor.TangoNames{num});
+0252     <span class="keyword">end</span>
+0253 
+0254 <span class="keyword">end</span>
+0255 
+0256 <span class="keyword">if</span> ArchiveFlag
+0257     <span class="comment">% filling up data</span>
+0258     <span class="comment">% Archive data structure</span>
+0259     <span class="keyword">if</span> isempty(FileName)
+0260         FileName = appendtimestamp(getfamilydata(<span class="string">'Default'</span>, <span class="string">'BPMArchiveFile'</span>));
+0261         DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'BPMData'</span>);
+0262         <span class="keyword">if</span> isempty(DirectoryName)
+0263             DirectoryName = [getfamilydata(<span class="string">'Directory'</span>,<span class="string">'DataRoot'</span>) <span class="string">'BPM'</span>, filesep];
+0264         <span class="keyword">else</span>
+0265             <span class="comment">% Make sure default directory exists</span>
+0266             DirStart = pwd;
+0267             [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+0268             cd(DirStart);
+0269         <span class="keyword">end</span>
+0270         [DirectoryName FileName]
+0271         [FileName, DirectoryName] = uiputfile(<span class="string">'*.mat'</span>, <span class="string">'Select Dispersion File'</span>, [DirectoryName FileName]);
+0272         <span class="keyword">if</span> FileName == 0
+0273             ArchiveFlag = 0;
+0274             disp(<span class="string">'   BPM measurement canceled.'</span>);
+0275             FileName=<span class="string">''</span>;
+0276             <span class="keyword">return</span>
+0277         <span class="keyword">end</span>
+0278         FileName = [DirectoryName, FileName];
+0279     <span class="keyword">elseif</span> FileName == -1
+0280         FileName = appendtimestamp(getfamilydata(<span class="string">'Default'</span>, <span class="string">'BPMArchiveFile'</span>));
+0281         DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'BPMData'</span>);
+0282         <span class="keyword">if</span> isempty(DirectoryName)
+0283             DirectoryName = [getfamilydata(<span class="string">'Directory'</span>,<span class="string">'DataRoot'</span>) <span class="string">'BPM'</span>, filesep];
+0284         <span class="keyword">end</span>
+0285         FileName = [DirectoryName, FileName];
+0286     <span class="keyword">end</span>
+0287 
+0288     save(FileName,<span class="string">'AM'</span>);
+0289 
+0290 <span class="keyword">end</span>
+0291 
+0292 <span class="keyword">if</span> StructureFlag
+0293     varargout{1} = AM;
+0294 <span class="keyword">else</span>
+0295     <span class="keyword">if</span> exist(<span class="string">'AM'</span>,<span class="string">'var'</span>) <span class="comment">% not nice but it works</span>
+0296         varargout{1} = AM.Data.X; varargout{2} =   AM.Data.Z;
+0297         varargout{3} = AM.Data.Sum; varargout{4} =  AM.Data.Q;
+0298         varargout{5} = AM.Data.Va; varargout{6} =  AM.Data.Vb;
+0299         varargout{7} = AM.Data.Vc; varargout{8} =  AM.Data.Vd;
+0300     <span class="keyword">else</span>
+0301         varargout{1} = X;   varargout{2} =   Z;
+0302         varargout{3} = Sum; varargout{4} =  Q;
+0303         varargout{5} = Va;  varargout{6} =  Vb;
+0304         varargout{7} = Vc;  varargout{8} =  Vd;
+0305     <span class="keyword">end</span>
+0306 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getlifetime.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getlifetime.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getlifetime.html	(revision 17)
@@ -0,0 +1,59 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getlifetime</title>
+  <meta name="keywords" content="getlifetime">
+  <meta name="description" content="GETLIFETIME - Returns lifetime">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; getlifetime.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getlifetime
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETLIFETIME - Returns lifetime</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function Lifetime = getlifetime </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETLIFETIME - Returns lifetime
+
+  OUTPUTS
+  1. Lifetime in hours</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Lifetime = getlifetime  </a>
+0002 <span class="comment">% GETLIFETIME - Returns lifetime</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  OUTPUTS</span>
+0005 <span class="comment">%  1. Lifetime in hours</span>
+0006 
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0009 
+0010 Lifetime = getam(<span class="string">'LifeTime'</span>);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getrmn.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getrmn.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/getrmn.html	(revision 17)
@@ -0,0 +1,91 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getrmn</title>
+  <meta name="keywords" content="getrmn">
+  <meta name="description" content="GETDCCT - returns the beam current">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; getrmn.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getrmn
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETDCCT - returns the beam current</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [RMN, tout, DataTime, ErrorFlag] = getrmn(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">GETDCCT - returns the beam current
+  [RMN, tout, DataTime, ErrorFlag] = getdcct(t, InputFlags)
+
+  OUTPUTS
+  1. RMN = storage ring electron beam current
+  
+  INPUTS
+  1. 'Struct' will return a data structure
+     'Numeric' will return numeric outputs {Defaul}
+  2. 'Physics'  - Use physics  units (optional override of units)
+     'Hardware' - Use hardware units (optional override of units)
+  3. 'Online' - Get data online (optional override of the mode)
+     'Model'  - Get data from the model (optional override of the mode)
+     'Manual' - Get data manually (optional override of the mode)
+
+  NOTE
+  1. This function is just an alias for getam('RMN', ...)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="measchronat.html" class="code" title="">measchronat</a>	function [xix xiz] = measchronat</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [RMN, tout, DataTime, ErrorFlag] = getrmn(varargin)</a>
+0002 <span class="comment">%GETDCCT - returns the beam current</span>
+0003 <span class="comment">%  [RMN, tout, DataTime, ErrorFlag] = getdcct(t, InputFlags)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  OUTPUTS</span>
+0006 <span class="comment">%  1. RMN = storage ring electron beam current</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  INPUTS</span>
+0009 <span class="comment">%  1. 'Struct' will return a data structure</span>
+0010 <span class="comment">%     'Numeric' will return numeric outputs {Defaul}</span>
+0011 <span class="comment">%  2. 'Physics'  - Use physics  units (optional override of units)</span>
+0012 <span class="comment">%     'Hardware' - Use hardware units (optional override of units)</span>
+0013 <span class="comment">%  3. 'Online' - Get data online (optional override of the mode)</span>
+0014 <span class="comment">%     'Model'  - Get data from the model (optional override of the mode)</span>
+0015 <span class="comment">%     'Manual' - Get data manually (optional override of the mode)</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">%  NOTE</span>
+0018 <span class="comment">%  1. This function is just an alias for getam('RMN', ...)</span>
+0019 
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0022 
+0023 
+0024 <span class="keyword">if</span> nargout &gt; 2
+0025     [RMN, tout, DataTime, ErrorFlag] = getpv(<span class="string">'RMN'</span>, <span class="string">'Monitor'</span>, [], varargin{:});
+0026 <span class="keyword">else</span>
+0027     [RMN, tout] = getpv(<span class="string">'RMN'</span>, <span class="string">'Monitor'</span>, [], varargin{:});
+0028 <span class="keyword">end</span>
+0029</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/gotobba.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/gotobba.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/gotobba.html	(revision 17)
@@ -0,0 +1,50 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of gotobba</title>
+  <meta name="keywords" content="gotobba">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; gotobba.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>gotobba
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function gotobba </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function gotobba</a>
+0002 
+0003 cd(getfamilydata(<span class="string">'Directory'</span>,<span class="string">'BBA'</span>))</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/gotoloco.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/gotoloco.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/gotoloco.html	(revision 17)
@@ -0,0 +1,50 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of gotoloco</title>
+  <meta name="keywords" content="gotoloco">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; gotoloco.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>gotoloco
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function gotoloco </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function gotoloco</a>
+0002 
+0003 cd(getfamilydata(<span class="string">'Directory'</span>,<span class="string">'LOCOData'</span>))</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/hwinit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/hwinit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/hwinit.html	(revision 17)
@@ -0,0 +1,59 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of hwinit</title>
+  <meta name="keywords" content="hwinit">
+  <meta name="description" content="HWINIT - This function initializes the storage ring parameters the user operation">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; hwinit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>hwinit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>HWINIT - This function initializes the storage ring parameters the user operation</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function hwinit(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">HWINIT - This function initializes the storage ring parameters the user operation</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="srinit.html" class="code" title="function srinit(varargin)">srinit</a>	SRINIT - Just an alias to hwinit</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function hwinit(varargin)</a>
+0002 <span class="comment">%HWINIT - This function initializes the storage ring parameters the user operation</span>
+0003 
+0004 
+0005 DisplayFlag = 1;
+0006 
+0007 fprintf(<span class="string">'   Initializing storage ring parameters (srinit)\n'</span>)
+0008 
+0009 <span class="comment">% put here stuffs for  a good startup with user</span>
+0010 
+0011 fprintf(<span class="string">'\n'</span>);
+0012 
+0013</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/index.html	(revision 17)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/StorageRing</title>
+  <meta name="keywords" content="machine/Soleil/StorageRing">
+  <meta name="description" content="Index for Directory machine/Soleil/StorageRing">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/StorageRing</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="Ringcycling.html">Ringcycling</a></td><td>RINGCYCLING M-file for Ringcycling.fig </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="aoinit.html">aoinit</a></td><td>AOINIT - Initialization function for the Matlab Middle Layer (MML) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getall.html">getall</a></td><td>GETALL - Creates proxy for all magnet (typically used once at initialization) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getbpmrawdata_mat.html">getbpmrawdata_mat</a></td><td>GETBPMRAWDATA - Gets turn by turn data for  BPM </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getlifetime.html">getlifetime</a></td><td>GETLIFETIME - Returns lifetime </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getrmn.html">getrmn</a></td><td>GETDCCT - returns the beam current </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="hwinit.html">hwinit</a></td><td>HWINIT - This function initializes the storage ring parameters the user operation </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="measchronat.html">measchronat</a></td><td>function [xix xiz] = measchronat </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="modelemit.html">modelemit</a></td><td>MODELEMIT - Returns emittance using Ohmi's enveloppe formalism </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="physics_RFacceptance.html">physics_RFacceptance</a></td><td>PHYSICS_RFACCEPTANCE - Computes RF acceptance </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="physics_booster.html">physics_booster</a></td><td> </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="physics_bunchlength.html">physics_bunchlength</a></td><td>PHYSICS_bunchlength - Compute bunch length </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="physics_energyloss.html">physics_energyloss</a></td><td>PHYSICS_ENERGYLOSS - Computed energy loss per turn </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="physics_quantumlifetime.html">physics_quantumlifetime</a></td><td>physics_quantum_lifetime - computes quantum lifetime </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="physics_synchronousphase.html">physics_synchronousphase</a></td><td>PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="physics_synchrotrontune.html">physics_synchrotrontune</a></td><td>PHYSICS_ENERGYLOSS - Computed synchrotron tune </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plotidfftable2.html">plotidfftable2</a></td><td> </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="profibus_sync.html">profibus_sync</a></td><td>PROFIBUS_SYNC - Use Sync Profibus mecanism for Family </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="profibus_unsyncall.html">profibus_unsyncall</a></td><td>PROFIBUS_SYNC - Use UnSync Profibus mecanism for Family </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="rampdownsextu.html">rampdownsextu</a></td><td>% </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="readSOLEILresponse.html">readSOLEILresponse</a></td><td>Reads SOLEIL response matrix from file (or .mat file) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="reglage_pos_energie_v3.html">reglage_pos_energie_v3</a></td><td>REGLAGE_POS_ENERGIE_V3 M-file for reglage_pos_energie_v3.fig </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setoperationalmode.html">setoperationalmode</a></td><td>SETOPERATIONALMODE - Switches between the various operational modes </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setorbitdefault.html">setorbitdefault</a></td><td>setorbitdefault(Evectors, Iters {1}, RemoveBPMDeviceList, RemoveHCMDeviceList, RemoveVCMDeviceList) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="soleilcorcheck.html">soleilcorcheck</a></td><td>SOLEILCORCHECK - Checks for invalid corrector entries </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="soleilinit.html">soleilinit</a></td><td>SOLEILINIT - Initializes params for SOLEIL control in MATLAB </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="srinit.html">srinit</a></td><td>SRINIT - Just an alias to hwinit </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="srsetup.html">srsetup</a></td><td>SRSETUP - GUI for doing storage ring setup </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="srsetup_op.html">srsetup_op</a></td><td>SRSETUP - GUI for doing storage ring setup </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="test_life.html">test_life</a></td><td> </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="updateatindex.html">updateatindex</a></td><td>UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING) </td></tr></table>
+
+<h2>Other Matlab-specific files in this directory:</h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li>bpmresplinearitydata.mat</li></ul>
+<h2>Subsequent directories:</h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li>BBA</li><li>Lattices</li><li>TuneMovePanel</li><li>bpm</li><li>changes</li><li>energytunette</li><li>feedforward</li><li>fonction_test</li><li>insertions</li><li>loco</li><li>orbit</li><li>quad</li><li>steerette</li><li>tune</li></ul>
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/measchronat.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/measchronat.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/measchronat.html	(revision 17)
@@ -0,0 +1,151 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of measchronat</title>
+  <meta name="keywords" content="measchronat">
+  <meta name="description" content="function [xix xiz] = measchronat">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; measchronat.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>measchronat
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [xix xiz] = measchronat</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">function [xix xiz] = measchronat
+ MEASCHRONAT - Measure natural chromaticity by varyiong dipole fied
+
+  INPUTS
+
+  OUTPUTS
+  1. xix - horizontal natural chromaticity
+  2. xiz - vertical natural chromaticity</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getrmn.html" class="code" title="function [RMN, tout, DataTime, ErrorFlag] = getrmn(varargin)">getrmn</a>	GETDCCT - returns the beam current</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">%function [xix xiz] = measchronat</span>
+0002 <span class="comment">% MEASCHRONAT - Measure natural chromaticity by varyiong dipole fied</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%  OUTPUTS</span>
+0007 <span class="comment">%  1. xix - horizontal natural chromaticity</span>
+0008 <span class="comment">%  2. xiz - vertical natural chromaticity</span>
+0009 
+0010 <span class="comment">%</span>
+0011 <span class="comment">% Written by Laurent S. Nadolski</span>
+0012 
+0013 <span class="comment">% TODO List</span>
+0014 <span class="comment">% ajouter fit automatique</span>
+0015 <span class="comment">% Regler les contantes de temps, la RMN mais entre 15 et 20 s pour mettre Ã  jour la lecture du champ B</span>
+0016 
+0017 nb = 4;
+0018 tune= [];
+0019 Idip = [];
+0020 Rmn = [];
+0021 itot = 1.0; <span class="comment">% total step for dipole in A</span>
+0022 istep = -itot/nb; <span class="comment">% stepsize in A</span>
+0023 
+0024 tune_start = gettune;
+0025 stepsp(<span class="string">'BEND'</span>,itot);
+0026 fprintf(<span class="string">'Dipole current (%f A) is changed by %f\n'</span>,getsp(<span class="string">'BEND'</span>), itot);
+0027 pause(40);
+0028 Idip(1) = getsp(<span class="string">'BEND'</span>);
+0029 <span class="comment">% for ik1 = 1:100,</span>
+0030 <span class="comment">%     temp(ik1) = getam('BEND'); pause(0.1)</span>
+0031 <span class="comment">% end</span>
+0032 <span class="comment">%Idip(1) = mean(temp);</span>
+0033 Rmn(1) = <a href="getrmn.html" class="code" title="function [RMN, tout, DataTime, ErrorFlag] = getrmn(varargin)">getrmn</a>;
+0034 tune(1,:) = gettune
+0035 
+0036 k1 = 2;
+0037 <span class="keyword">for</span> k = nb:-1:-nb+1,    
+0038     stepsp(<span class="string">'BEND'</span>,istep);    
+0039     pause(30);
+0040     Idip(k1) = getsp(<span class="string">'BEND'</span>);
+0041 <span class="comment">%     for ik1 = 1:100,</span>
+0042 <span class="comment">%         temp(ik1) = getam('BEND'); pause(0.1)</span>
+0043 <span class="comment">%     end</span>
+0044 <span class="comment">%    Idip(k1) = mean(temp);</span>
+0045     fprintf(<span class="string">'Dipole current (%f A) is changed by %f A\n'</span>,Idip(k1), istep);
+0046     tune(k1,:) = gettune
+0047     Rmn(k1) = <a href="getrmn.html" class="code" title="function [RMN, tout, DataTime, ErrorFlag] = getrmn(varargin)">getrmn</a>;
+0048     k1 = k1 + 1;
+0049 <span class="keyword">end</span>
+0050 
+0051 stepsp(<span class="string">'BEND'</span>,itot);
+0052 fprintf(<span class="string">'Dipole current (%f A) is changed back to nominal value by %f A\n'</span>,getsp(<span class="string">'BEND'</span>), itot);
+0053 pause(40);
+0054 
+0055 tune_finish = gettune;
+0056 
+0057 fprintf(<span class="string">'Tune variation \n'</span>)
+0058 fprintf(<span class="string">'begin %f %f\n'</span>,tune_start)
+0059 fprintf(<span class="string">'end %f %f\n'</span>,tune_finish)
+0060 
+0061 <span class="comment">% BUG should accept a array</span>
+0062 E = [];
+0063 
+0064 <span class="keyword">for</span> k = 1:length(Idip),
+0065     E(k) = bend2gev(Idip(k));
+0066 <span class="keyword">end</span>
+0067 
+0068 E0 = 2.73913739373611;
+0069 <span class="comment">% E = (E-E0)./E0;</span>
+0070 <span class="comment">% E = E';</span>
+0071 E = (Rmn-Rmn(5))./Rmn(5);
+0072 E = E';
+0073 
+0074 <span class="comment">%%</span>
+0075 p1 = polyfit(E,tune(:,1),1)
+0076 p2 = polyfit(E,tune(:,2),1)
+0077 
+0078 fprintf(<span class="string">'natural chromaticity xix = %4.1f xiz = %4.1f\n'</span>,p1(1),p2(1));
+0079 
+0080 <span class="comment">%%</span>
+0081 figure;
+0082 subplot(2,1,1)
+0083 suptitle(sprintf(<span class="string">'Natural chromaticity xix = %4.1f xiz = %4.1f\n'</span>,p1(1),p2(1)));
+0084 plot(E*100,tune(:,1),<span class="string">'.-'</span>)
+0085 hold on
+0086 plot(E*100,polyval(p1,E), <span class="string">'k'</span>)
+0087 
+0088 ylabel(<span class="string">'nux'</span>)
+0089 grid on
+0090 subplot(2,1,2)
+0091 plot(E*100,tune(:,2),<span class="string">'.-'</span>)
+0092 hold on
+0093 plot(E*100,polyval(p2,E), <span class="string">'k'</span>)
+0094 ylabel(<span class="string">'nuz'</span>)
+0095 xlabel(<span class="string">'Energy deviation [%]'</span>);
+0096 grid on
+0097 
+0098 xix = p1(1); xiz = p2(1);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelchrosensitivity.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelchrosensitivity.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelchrosensitivity.html	(revision 17)
@@ -0,0 +1,191 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of modelchrosensitivity</title>
+  <meta name="keywords" content="modelchrosensitivity">
+  <meta name="description" content="modelchrosensitivity - Computes sextupole change for a given dxi">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; modelchrosensitivity.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>modelchrosensitivity
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>modelchrosensitivity - Computes sextupole change for a given dxi</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [DSx DSz DchroVal] = modelchrosensitivity(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">modelchrosensitivity - Computes sextupole change for a given dxi
+
+  INPUTS 
+  1. dxix - horizontal tune change
+  2. dxiz - vertical tune change
+
+  OUTPUTS
+  1. DSx - sextupole change to get dxix
+  2. DSz - sextupole change to get dxiz
+
+  See Also <a href="modeltunesensitivity.html" class="code" title="function [DKx DKz DtuneVal]=modeltunesensitivity(varargin)">modeltunesensitivity</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [DSx DSz DchroVal] = modelchrosensitivity(varargin)</a>
+0002 <span class="comment">%modelchrosensitivity - Computes sextupole change for a given dxi</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. dxix - horizontal tune change</span>
+0006 <span class="comment">%  2. dxiz - vertical tune change</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  OUTPUTS</span>
+0009 <span class="comment">%  1. DSx - sextupole change to get dxix</span>
+0010 <span class="comment">%  2. DSz - sextupole change to get dxiz</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  See Also modeltunesensitivity</span>
+0013 
+0014 <span class="comment">% TODO see modeltunesensitivity</span>
+0015 
+0016 <span class="comment">%</span>
+0017 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0018 
+0019 NumericFlag = 1;
+0020 Unit = <span class="string">'Hardware'</span>;
+0021 Mode = <span class="string">'Model'</span>;
+0022 DebugFlag = 0;
+0023 
+0024 timeout = 1; <span class="comment">% second</span>
+0025 
+0026 DSx= NaN; DSz=NaN;
+0027 
+0028 <span class="comment">% Switchyard factory</span>
+0029 <span class="keyword">for</span> i = length(varargin):-1:1
+0030     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Model'</span>)
+0031         Mode = <span class="string">'Model'</span>;
+0032         varargin(i) = [];
+0033     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Online'</span>)
+0034         Mode = <span class="string">'Online'</span>;
+0035         varargin(i) = [];
+0036     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Simulator'</span>)
+0037         Mode = <span class="string">'Simulator'</span>;
+0038         varargin(i) = [];
+0039     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Physics'</span>)
+0040         Unit = <span class="string">'Physics'</span>;
+0041         varargin(i) = [];
+0042     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Hardware'</span>)
+0043         Unit = <span class="string">'Hardware'</span>;
+0044         varargin(i) = [];
+0045     <span class="keyword">end</span>
+0046 <span class="keyword">end</span>
+0047 
+0048 
+0049 <span class="keyword">if</span> isempty(varargin)
+0050     dxix = 1e-1;
+0051     dxiz = 1e-1;
+0052 <span class="keyword">elseif</span> nvargin == 1
+0053     dxix = varargin{1};
+0054     dxiz = dxix;
+0055 <span class="keyword">end</span>
+0056 
+0057 <span class="keyword">global</span> GLOBVAL;
+0058 
+0059 fprintf(<span class="string">'   ******** Summary for ''%s'' ********\n'</span>, GLOBVAL.LatticeFile);
+0060 
+0061 <span class="comment">%fprintf('Sextupole change for dxix of %f and dxiz = %f \n',dxix,dxiz);</span>
+0062 
+0063 <span class="comment">% get all sextupoles</span>
+0064 a = findmemberof(<span class="string">'SEXT'</span>);
+0065 FamNb= length(a);
+0066 
+0067 <span class="keyword">if</span> ~NumericFlag
+0068     <span class="keyword">for</span> k = 1:FamNb,
+0069 
+0070         Family = a{k};
+0071 
+0072         [bx bz] = modeltwiss(<span class="string">'beta'</span>,Family);
+0073         [etax etaz] = modeldisp(Family);
+0074 
+0075         L = getleff(Family);
+0076         NQ = length(getspos(Family));
+0077 
+0078         DSx(k) =  2*pi*dxix/bx(1)/etax(1)/NQ/L(1);
+0079         DSz(k) = -2*pi*dxiz/bz(1)/etax(1)/NQ/L(1);
+0080 
+0081         fprintf(<span class="string">'%s : DSxL = %1.2e DSzL = %1.2e betax = %2.2f m betaz = %2.2f m etax = %2.2f m NQ = %2.0f  L= %1.2e m \n'</span>, <span class="keyword">...</span>
+0082             Family, DSx(k)*L(1), DSz(k)*L(1), bx(1), bz(1), etax(1), NQ, L(1));
+0083     <span class="keyword">end</span>
+0084 <span class="keyword">else</span>
+0085     DchroVal  = zeros(2,FamNb)*NaN;
+0086 
+0087     <span class="comment">% Quadrupole variation in Ampere</span>
+0088     StepValue = [20 40 10 10 50 50 50 25 5 10]; <span class="comment">% A</span>
+0089 
+0090 
+0091     <span class="keyword">for</span> k = 1:FamNb,
+0092 
+0093         Family = a{k};
+0094 
+0095         <span class="keyword">if</span> DebugFlag 
+0096             fprintf(<span class="string">'%s changed by %f\n'</span>, Family,  0.5*StepValue(k));
+0097         <span class="keyword">end</span>
+0098         stepsp(Family, 0.5*StepValue(k), Mode, Unit); <span class="comment">% plus delta</span>
+0099         <span class="keyword">if</span> strcmp(Mode, <span class="string">'Model'</span>)
+0100             ChroValplus = modelchro;
+0101         <span class="keyword">else</span>
+0102             pause(timeout);
+0103             ChroValplus = measchro(Mode, <span class="string">'NoDisplay'</span>);
+0104         <span class="keyword">end</span>
+0105         <span class="keyword">if</span> DebugFlag 
+0106             fprintf(<span class="string">'Xix = %f Xiz = %f \n'</span>, ChroValplus);
+0107         <span class="keyword">end</span>        
+0108 
+0109         <span class="keyword">if</span> DebugFlag 
+0110             fprintf(<span class="string">'%s changed by %f\n'</span>, Family, -0.5*StepValue(k));
+0111         <span class="keyword">end</span>
+0112         stepsp(Family, -StepValue(k), Mode, Unit); <span class="comment">% minus delta</span>
+0113         <span class="keyword">if</span> strcmp(Mode, <span class="string">'Model'</span>)
+0114             ChroValminus = modelchro;
+0115         <span class="keyword">else</span>
+0116             pause(timeout);
+0117             ChroValminus = measchro(Mode, <span class="string">'NoDisplay'</span>);
+0118         <span class="keyword">end</span>
+0119 
+0120         <span class="keyword">if</span> DebugFlag
+0121             fprintf(<span class="string">'Xix = %f Xiz = %f \n'</span>, ChroValminus);
+0122         <span class="keyword">end</span>
+0123 
+0124         stepsp(Family, 0.5*StepValue(k), Mode, Unit); <span class="comment">% come back to nominal value</span>
+0125 
+0126         DchroVal(:,k) = (ChroValplus - ChroValminus) / StepValue(k);
+0127 
+0128     <span class="keyword">end</span>
+0129 <span class="keyword">end</span>
+0130 
+0131 <span class="keyword">for</span> k = 1:FamNb,
+0132     fprintf(<span class="string">'%3s (%3.1f A): Dxix = % 1.2e Dxiz = % 1.2e\n'</span>, <span class="keyword">...</span>
+0133         a{k}, StepValue(k), DchroVal(1,k)*StepValue(k), DchroVal(2,k)*StepValue(k));
+0134 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelemit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelemit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelemit.html	(revision 17)
@@ -0,0 +1,101 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of modelemit</title>
+  <meta name="keywords" content="modelemit">
+  <meta name="description" content="MODELEMIT - Returns emittance using Ohmi's enveloppe formalism">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; modelemit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>modelemit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>MODELEMIT - Returns emittance using Ohmi's enveloppe formalism</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [emit sigmas] = modelemit(TwissData) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MODELEMIT - Returns emittance using Ohmi's enveloppe formalism
+
+  INPUTS
+  1. TwissData
+
+  OUPUTS
+  1. emit - emittance vector in nm.rad
+  2. sigmas - Sigma dimension around the ring</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [emit sigmas] = modelemit(TwissData)</a>
+0002 <span class="comment">%MODELEMIT - Returns emittance using Ohmi's enveloppe formalism</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. TwissData</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  OUPUTS</span>
+0008 <span class="comment">%  1. emit - emittance vector in nm.rad</span>
+0009 <span class="comment">%  2. sigmas - Sigma dimension around the ring</span>
+0010 
+0011 <span class="comment">% TODO complete the documentation</span>
+0012 
+0013 <span class="comment">% Written by M. Munoz</span>
+0014 <span class="comment">% Modified by Laurent S. Nadolski</span>
+0015 
+0016 <span class="keyword">global</span>  THERING;
+0017 <span class="keyword">if</span> (nargin==0) 
+0018     [TwissData, tune]  = twissring(THERING,0,1:length(THERING)+1,<span class="string">'chrom'</span>);
+0019 <span class="keyword">end</span>
+0020 
+0021 
+0022 ati = atindex(THERING);
+0023 ibend = sort([ati.BEND]);
+0024 <span class="keyword">for</span> i = ibend
+0025     THERING{i}.PassMethod = <span class="string">'BndMPoleSymplectic4RadPass'</span>;
+0026     <span class="comment">%THERING{i}.Energy = getenergymodel*1e9;</span>
+0027 <span class="keyword">end</span>
+0028 
+0029 RADELEMINDEX = sort([ibend]);
+0030 
+0031 [ENV, DP, DL] = ohmienvelope(THERING,RADELEMINDEX, 1:length(THERING)+1);
+0032 sigmas = cat(2,ENV.Sigma);
+0033 
+0034 
+0035 [TwissData, tune]  = twissring(THERING,0,1:length(THERING)+1,<span class="string">'chrom'</span>);
+0036 beta = cat(1,TwissData.beta);
+0037 eta  = cat(2,TwissData.Dispersion);
+0038 
+0039 epsx = (sigmas(1,:).^2-eta(1,:).^2*DP^2)./beta(:,1)';
+0040 epsy = (sigmas(2,:).^2-eta(3,:).^2*DP^2)./beta(:,2)';
+0041 emit(1) = median(epsx);
+0042 emit(2) = median(epsy);
+0043 <span class="keyword">for</span> i = ibend
+0044     THERING{i}.PassMethod = <span class="string">'BndMPoleSymplectic4Pass'</span>;
+0045     <span class="comment">%THERING{i}.Energy = getenergymodel*1e9;</span>
+0046 <span class="keyword">end</span>
+0047 
+0048 emit = emit*1e9;</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelmcfsensitivity.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelmcfsensitivity.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelmcfsensitivity.html	(revision 17)
@@ -0,0 +1,225 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of modelmcfsensitivity</title>
+  <meta name="keywords" content="modelmcfsensitivity">
+  <meta name="description" content="TUNESENSITIVITY - Computes quadrupole change for a given tune step">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; modelmcfsensitivity.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>modelmcfsensitivity
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>TUNESENSITIVITY - Computes quadrupole change for a given tune step</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [Rmcf Rmcf2]=modelmcfsensitivity(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">TUNESENSITIVITY - Computes quadrupole change for a given tune step
+
+  INPUTS
+  1. dnux - horizontal tune change
+  2. dnuz - vertical tune change
+
+  OUTPUTS
+  1. Rmcf - gradient change to get dnux
+  2. DKz  - gradient change to get dnuz
+
+  See Also <a href="modeltunesensitivity.html" class="code" title="function [DKx DKz DtuneVal]=modeltunesensitivity(varargin)">modeltunesensitivity</a>, modechrosensitivity</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_mcf.html" class="code" title="function [alpha1 alpha2 alpha3] = physics_mcf(varargin)">physics_mcf</a>	PHYSICS_MCF - Computes momentum compaction up to 3rd order</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [Rmcf Rmcf2]=modelmcfsensitivity(varargin)</a>
+0002 <span class="comment">%TUNESENSITIVITY - Computes quadrupole change for a given tune step</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. dnux - horizontal tune change</span>
+0006 <span class="comment">%  2. dnuz - vertical tune change</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  OUTPUTS</span>
+0009 <span class="comment">%  1. Rmcf - gradient change to get dnux</span>
+0010 <span class="comment">%  2. DKz  - gradient change to get dnuz</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  See Also modeltunesensitivity, modechrosensitivity</span>
+0013 
+0014 <span class="comment">% TODO</span>
+0015 <span class="comment">% Analytic model.</span>
+0016 <span class="comment">% Improvements</span>
+0017 <span class="comment">%  1. Compute beta by tracking through the quad</span>
+0018 <span class="comment">%  2. Fit every thing by tracking</span>
+0019 
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0022 
+0023 FirstOrderFlag = 0;
+0024 QuadFlag  = 0;
+0025 SextuFlag = 0;
+0026 
+0027 <span class="comment">% Flag factory parser</span>
+0028 <span class="keyword">for</span> i = length(varargin):-1:1
+0029     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Quad'</span>)
+0030         QuadFlag = 1;
+0031         varargin(i) = [];
+0032     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoQuad'</span>)
+0033         QuadFlag = 0;
+0034         varargin(i) = [];
+0035     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Sextu'</span>)
+0036         SextuFlag = 1;
+0037         varargin(i) = [];
+0038     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoSextu'</span>)
+0039         SextuFlag = 0;
+0040         varargin(i) = [];
+0041     <span class="keyword">end</span>
+0042 <span class="keyword">end</span>
+0043 
+0044 <span class="comment">% Parser of variaton</span>
+0045 <span class="keyword">if</span> isempty(varargin)
+0046     dnux = 1e-2;
+0047     dnuz = 1e-2;
+0048 <span class="keyword">elseif</span> length(varargin) == 1
+0049     dnux = vararing{1}; <span class="comment">%#ok&lt;USENS&gt;</span>
+0050     dnuz = dnux;
+0051 <span class="keyword">else</span>
+0052     dnux = vararing{1};
+0053     dnuz = vararing{1};
+0054 <span class="keyword">end</span>
+0055 
+0056 <span class="keyword">global</span> GLOBVAL;
+0057 
+0058 fprintf(<span class="string">'   ******** Summary for ''%s'' ********\n'</span>, GLOBVAL.LatticeFile);
+0059 
+0060 a = findmemberof(<span class="string">'QUAD'</span>);
+0061 
+0062 <span class="keyword">if</span> QuadFlag
+0063     <span class="comment">% remove nanoscopium</span>
+0064     a(12) = [];
+0065     a(11) = [];
+0066     FamNb= length(a);
+0067     Rmcf  = zeros(1,FamNb);
+0068     Rmcf2 = zeros(1,FamNb);
+0069 
+0070     <span class="comment">% Quadrupole variation in Ampere</span>
+0071     StepValue = ones(1,FamNb)*0.1; <span class="comment">% A</span>
+0072 
+0073     fprintf(<span class="string">'Quadrupole change for a change of 1 A \n'</span>);
+0074     <span class="keyword">for</span> k = 1:FamNb,
+0075 
+0076         Family = a{k};
+0077 
+0078         stepsp(Family, 0.5*StepValue(k), <span class="string">'Model'</span>); <span class="comment">% plus delta</span>
+0079 
+0080         <span class="keyword">if</span> FirstOrderFlag
+0081             mcfplus = getmcf(<span class="string">'Model'</span>);
+0082 
+0083             stepsp(Family, -StepValue(k), <span class="string">'Model'</span>); <span class="comment">% minus delta</span>
+0084 
+0085             mcfminus = getmcf(<span class="string">'Model'</span>);
+0086         <span class="keyword">else</span>
+0087             [alpha1 alpha2] = <a href="physics_mcf.html" class="code" title="function [alpha1 alpha2 alpha3] = physics_mcf(varargin)">physics_mcf</a>(<span class="string">'Nodisplay'</span>);
+0088             mcfplus  = alpha1;
+0089             mcf2plus = alpha2;
+0090 
+0091             stepsp(Family, -StepValue(k), <span class="string">'Model'</span>); <span class="comment">% minus delta</span>
+0092 
+0093             [alpha1 alpha2] = <a href="physics_mcf.html" class="code" title="function [alpha1 alpha2 alpha3] = physics_mcf(varargin)">physics_mcf</a>(<span class="string">'Nodisplay'</span>);
+0094             mcfminus  = alpha1;
+0095             mcf2minus = alpha2;
+0096         <span class="keyword">end</span>
+0097 
+0098         stepsp(Family, 0.5*StepValue(k), <span class="string">'Model'</span>); <span class="comment">% come back to nominal value</span>
+0099 
+0100         Rmcf(k) = (mcfplus - mcfminus) / StepValue(k);
+0101 
+0102         <span class="keyword">if</span> FirstOrderFlag
+0103             fprintf(<span class="string">'%4s : Delta MCF1 = %1.2e\n'</span>, <span class="keyword">...</span>
+0104                 Family, Rmcf(k));
+0105         <span class="keyword">else</span>
+0106             Rmcf2(k) = (mcf2plus - mcf2minus) / StepValue(k);
+0107             fprintf(<span class="string">'%4s : Delta MCF1 = %+1.2e Delta MCF2 = %+1.2e\n'</span>, <span class="keyword">...</span>
+0108                 Family, Rmcf(k), Rmcf2(k));
+0109         <span class="keyword">end</span>
+0110 
+0111     <span class="keyword">end</span>
+0112 <span class="keyword">end</span>
+0113 
+0114 <span class="keyword">if</span> SextuFlag
+0115 
+0116     FamNb= length(a);
+0117     Rmcf  = zeros(1,FamNb);
+0118     Rmcf2 = zeros(1,FamNb);
+0119 
+0120     a = findmemberof(<span class="string">'Sext'</span>);
+0121 
+0122     FamNb= length(a);
+0123     Rmcf  = zeros(1,FamNb);
+0124     Rmcf2 = zeros(1,FamNb);
+0125 
+0126     <span class="comment">% Sextupole variation in Ampere</span>
+0127     StepValue = ones(1,FamNb)*0.1; <span class="comment">% A</span>
+0128 
+0129     fprintf(<span class="string">'Sextupole change for a change of 1 A \n'</span>);
+0130     <span class="keyword">for</span> k = 1:FamNb,
+0131 
+0132         Family = a{k};
+0133 
+0134         stepsp(Family, 0.5*StepValue(k), <span class="string">'Model'</span>); <span class="comment">% plus delta</span>
+0135 
+0136         <span class="keyword">if</span> FirstOrderFlag
+0137             mcfplus = getmcf(<span class="string">'Model'</span>);
+0138 
+0139             stepsp(Family, -StepValue(k), <span class="string">'Model'</span>); <span class="comment">% minus delta</span>
+0140 
+0141             mcfminus = getmcf(<span class="string">'Model'</span>);
+0142         <span class="keyword">else</span>
+0143             [alpha1 alpha2] = <a href="physics_mcf.html" class="code" title="function [alpha1 alpha2 alpha3] = physics_mcf(varargin)">physics_mcf</a>(<span class="string">'Nodisplay'</span>);
+0144             mcfplus  = alpha1;
+0145             mcf2plus = alpha2;
+0146 
+0147             stepsp(Family, -StepValue(k), <span class="string">'Model'</span>); <span class="comment">% minus delta</span>
+0148 
+0149             [alpha1 alpha2] = <a href="physics_mcf.html" class="code" title="function [alpha1 alpha2 alpha3] = physics_mcf(varargin)">physics_mcf</a>(<span class="string">'Nodisplay'</span>);
+0150             mcfminus  = alpha1;
+0151             mcf2minus = alpha2;
+0152         <span class="keyword">end</span>
+0153 
+0154         stepsp(Family, 0.5*StepValue(k), <span class="string">'Model'</span>); <span class="comment">% come back to nominal value</span>
+0155 
+0156         Rmcf(k) = (mcfplus - mcfminus) / StepValue(k);
+0157 
+0158         <span class="keyword">if</span> FirstOrderFlag
+0159             fprintf(<span class="string">'%4s : Delta MCF1 = %1.2e\n'</span>, <span class="keyword">...</span>
+0160                 Family, Rmcf(k));
+0161         <span class="keyword">else</span>
+0162             Rmcf2(k) = (mcf2plus - mcf2minus) / StepValue(k);
+0163             fprintf(<span class="string">'%4s : Delta MCF1 = %+1.2e Delta MCF2 = %+1.2e\n'</span>, <span class="keyword">...</span>
+0164                 Family, Rmcf(k), Rmcf2(k));
+0165         <span class="keyword">end</span>
+0166 
+0167     <span class="keyword">end</span>
+0168 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelnonlindisp.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelnonlindisp.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modelnonlindisp.html	(revision 17)
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of modelnonlindisp</title>
+  <meta name="keywords" content="modelnonlindisp">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; modelnonlindisp.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>modelnonlindisp
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function modelnonlindisp </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">
+% Written by Laurent S. Nadolski</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function modelnonlindisp</a>
+0002 
+0003 <span class="comment">%</span>
+0004 <span class="comment">%% Written by Laurent S. Nadolski</span>
+0005 
+0006 kmax = 50;
+0007 deltaRF = 50e-6; <span class="comment">% Hz</span>
+0008 alpha1 = modelmcf;
+0009 
+0010 hMat(:,:) = zeros((2*kmax+1),length(getx));
+0011 vMat(:,:) = hMat(:,:);
+0012 rfVect = zeros((2*kmax+1),1);
+0013 
+0014 
+0015 steprf(-deltaRF*(kmax+1));
+0016     
+0017 <span class="keyword">for</span> k=1:(2*kmax+1),
+0018     steprf(deltaRF)
+0019     hMat(k,:) = getx;
+0020     vMat(k,:) = getz;
+0021     rfVect(k) = getrf;
+0022 <span class="keyword">end</span>
+0023 
+0024 steprf(-deltaRF*kmax);
+0025 
+0026 <span class="comment">%%</span>
+0027 plot((rfVect-rfVect(kmax+1))*1e6, hMat(:,1)*alpha1*getrf/(2*deltaRF),<span class="string">'.-'</span>); 
+0028 grid on
+0029 
+0030 <span class="comment">%%</span>
+0031 
+0032 refreshthering;
+0033 <span class="keyword">global</span> THERING;
+0034 
+0035 [CavityState, PassMethod, iCavity] = getcavity;
+0036 
+0037 kmax = 50;
+0038 deltaRF = 40; <span class="comment">% Hz</span>
+0039 clear hMat rfVect vMat 
+0040 hMat(:,:) = zeros((2*kmax+1),length(THERING)+1);
+0041 vMat(:,:) = hMat(:,:);
+0042 rfVect = zeros((2*kmax+1),1);
+0043 
+0044 CavityFrequency = THERING{iCavity(1)}.Frequency;
+0045 
+0046 <span class="keyword">for</span> k=1:(2*kmax+1),
+0047     <span class="keyword">for</span> kk = 1:length(iCavity)
+0048         THERING{iCavity(kk)}.Frequency = CavityFrequency + deltaRF*(k - (kmax +1));
+0049     <span class="keyword">end</span>
+0050     rep  = findorbit6(THERING, 1:length(THERING)+1);
+0051     hMat(k,:) = rep(1,:);
+0052     vMat(k,:) = rep(3,:);
+0053     rfVect(k) = deltaRF*(k - (kmax +1));
+0054 <span class="keyword">end</span>
+0055 
+0056 <span class="keyword">for</span> kk = 1:length(iCavity)
+0057     THERING{iCavity(kk)}.Frequency = CavityFrequency;
+0058 <span class="keyword">end</span>
+0059 
+0060 <span class="comment">% for k=1:kmax,</span>
+0061 <span class="comment">%   deltahOrbit(k,:) = hMat(end-(k+1),:) - hMat(k,:);</span>
+0062 <span class="comment">%   deltaRFVect(k) =   rfVect(end-(k+1)) - rfVect(k);</span>
+0063 <span class="comment">% end</span>
+0064     
+0065 <span class="comment">%%</span>
+0066 order = 4;
+0067 order4 = order-3; 
+0068 order3 = order-2;
+0069 order2 = order-1;
+0070 order1 = order;
+0071 
+0072 spos = findspos(THERING,1:length(THERING)+1);
+0073 figure;
+0074 plot(rfVect, hMat(:,1),<span class="string">'.'</span>);
+0075 
+0076 clear p;
+0077 <span class="keyword">for</span> k = 1:length(THERING)+1,
+0078     p(k,:) = polyfit(rfVect, hMat(:,k), order);
+0079 <span class="keyword">end</span>
+0080 <span class="comment">%%</span>
+0081 
+0082 pdelta = -p*alpha1*CavityFrequency;
+0083 
+0084 figure;
+0085 subplot(4,1,1)
+0086 plot(spos, pdelta(:,order1))
+0087 subplot(4,1,2)
+0088 plot(spos, pdelta(:,order2))
+0089 subplot(4,1,3)
+0090 plot(spos, pdelta(:,order3))
+0091 <span class="comment">% subplot(4,1,4)</span>
+0092 <span class="comment">% plot(spos, pdelta(:,order4))</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modeltunesensitivity.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modeltunesensitivity.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/modeltunesensitivity.html	(revision 17)
@@ -0,0 +1,151 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of modeltunesensitivity</title>
+  <meta name="keywords" content="modeltunesensitivity">
+  <meta name="description" content="TUNESENSITIVITY - Computes quadrupole change for a given tune step">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; modeltunesensitivity.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>modeltunesensitivity
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>TUNESENSITIVITY - Computes quadrupole change for a given tune step</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [DKx DKz DtuneVal]=modeltunesensitivity(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">TUNESENSITIVITY - Computes quadrupole change for a given tune step
+
+  INPUTS
+  1. dnux - horizontal tune change
+  2. dnuz - vertical tune change
+
+  OUTPUTS
+  1. DKx - gradient change to get dnux
+  2. DKz - gradient change to get dnuz
+
+  See Also <a href="modeltunesensitivity.html" class="code" title="function [DKx DKz DtuneVal]=modeltunesensitivity(varargin)">modeltunesensitivity</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [DKx DKz DtuneVal]=modeltunesensitivity(varargin)</a>
+0002 <span class="comment">%TUNESENSITIVITY - Computes quadrupole change for a given tune step</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. dnux - horizontal tune change</span>
+0006 <span class="comment">%  2. dnuz - vertical tune change</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  OUTPUTS</span>
+0009 <span class="comment">%  1. DKx - gradient change to get dnux</span>
+0010 <span class="comment">%  2. DKz - gradient change to get dnuz</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  See Also modeltunesensitivity</span>
+0013 
+0014 <span class="comment">% TODO</span>
+0015 <span class="comment">% Analytic model.</span>
+0016 <span class="comment">% Improvements</span>
+0017 <span class="comment">%  1. Compute beta by tracking through the quad</span>
+0018 <span class="comment">%  2. Fit everything by tracking</span>
+0019 
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0022 
+0023 NumericFlag = 1;
+0024 
+0025 <span class="keyword">if</span> isempty(varargin)
+0026     dnux = 1e-2;
+0027     dnuz = 1e-2;
+0028 <span class="keyword">elseif</span> nvargin == 1
+0029     dnux = vararing{1};
+0030     dnuz = dnux;
+0031 <span class="keyword">else</span>
+0032     dnux = vararing{1};
+0033     dnuz = vararing{2};
+0034 <span class="keyword">end</span>
+0035 
+0036 <span class="keyword">global</span> GLOBVAL;
+0037 
+0038 fprintf(<span class="string">'   ******** Summary for ''%s'' ********\n'</span>, GLOBVAL.LatticeFile);
+0039 
+0040 <span class="comment">%fprintf('Quadrupole change for dnux of %f and dnuz = %f \n',dnux,dnuz);</span>
+0041 
+0042 a = findmemberof(<span class="string">'QUAD'</span>);
+0043 <span class="comment">% remove nanoscopium</span>
+0044 a(12) = [];
+0045 a(11) = [];
+0046 
+0047 FamNb= length(a);
+0048 DKx = zeros(1,FamNb);
+0049 DKz = zeros(1,FamNb);
+0050 
+0051 <span class="keyword">if</span> ~NumericFlag
+0052     <span class="keyword">for</span> k = 1:FamNb,
+0053 
+0054         Family = a{k};
+0055 
+0056         [betax betaz]= modeltwiss(<span class="string">'beta'</span>,Family);
+0057         bx = (betax(1)+betax(2))/2;
+0058         bz = (betaz(1)+betaz(2))/2;
+0059 
+0060         L = getleff(Family);
+0061         NQ = length(getspos(Family));
+0062 
+0063         DKx(k) = 4*pi*dnux/bx/NQ/L(1);
+0064         DKz(k) = 4*pi*dnuz/bz/NQ/L(1);
+0065 
+0066         fprintf(<span class="string">'%s : DKx = %1.2e DKz = %1.2e betax = %2.2f m betaz = %2.2f m  NQ = %2.0f  L= %1.2f m \n'</span>, <span class="keyword">...</span>
+0067             Family, DKx(k), DKz(k), bx, bz, NQ, L(1));
+0068     <span class="keyword">end</span>
+0069 <span class="keyword">else</span>
+0070     DtuneVal  = zeros(2,FamNb)*NaN;
+0071 
+0072     <span class="comment">% Quadrupole variation in Ampere</span>
+0073     StepValue = ones(1,FamNb)*0.1; <span class="comment">% A</span>
+0074 
+0075     fprintf(<span class="string">'Quadrupole change for a change of 1 A \n'</span>);
+0076 
+0077     <span class="keyword">for</span> k = 1:FamNb,
+0078 
+0079         Family = a{k};
+0080 
+0081         stepsp(Family, 0.5*StepValue(k), <span class="string">'Model'</span>); <span class="comment">% plus delta</span>
+0082         TuneValplus = modeltune;
+0083 
+0084         stepsp(Family, -StepValue(k), <span class="string">'Model'</span>); <span class="comment">% minus delta</span>
+0085         TuneValminus = modeltune;
+0086 
+0087         stepsp(Family, 0.5*StepValue(k), <span class="string">'Model'</span>); <span class="comment">% come back to nominal value</span>
+0088 
+0089         DtuneVal(:,k) = (TuneValplus - TuneValminus) / StepValue(k);
+0090 
+0091         fprintf(<span class="string">'%3s : Dnux = % 1.2e Dnuz = % 1.2e\n'</span>, <span class="keyword">...</span>
+0092             Family, DtuneVal(1,k), DtuneVal(2,k));
+0093     <span class="keyword">end</span>
+0094 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_RFacceptance.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_RFacceptance.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_RFacceptance.html	(revision 17)
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of physics_RFacceptance</title>
+  <meta name="keywords" content="physics_RFacceptance">
+  <meta name="description" content="PHYSICS_RFACCEPTANCE - Computes RF acceptance">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_RFacceptance.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>physics_RFacceptance
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PHYSICS_RFACCEPTANCE - Computes RF acceptance</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> PHYSICS_RFACCEPTANCE - Computes RF acceptance
+
+  INPUTS
+  1. VRF - RF voltage in kV
+  2. alpha - Momentum compaction factor
+  3. rho - Curvature radius in m
+  4. E - Energy in GeV  
+  5. h - Harmonic number
+ 
+  OUPUTS
+  1. epsilon_RF - RF acceptance
+
+  EXAMPLES
+  1. physics_RFacceptance(4000,getmcf('Model'),5.36,2.75,416)
+     is 0.057 for SOLEIL in the linear approximation
+
+  See Also  <a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>, physics_quatumlifetime,
+  <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>	PHYSICS_ENERGYLOSS - Computed energy loss per turn</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_booster.html" class="code" title="function physics_booster">physics_booster</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)</a>
+0002 <span class="comment">% PHYSICS_RFACCEPTANCE - Computes RF acceptance</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. VRF - RF voltage in kV</span>
+0006 <span class="comment">%  2. alpha - Momentum compaction factor</span>
+0007 <span class="comment">%  3. rho - Curvature radius in m</span>
+0008 <span class="comment">%  4. E - Energy in GeV</span>
+0009 <span class="comment">%  5. h - Harmonic number</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  OUPUTS</span>
+0012 <span class="comment">%  1. epsilon_RF - RF acceptance</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%  EXAMPLES</span>
+0015 <span class="comment">%  1. physics_RFacceptance(4000,getmcf('Model'),5.36,2.75,416)</span>
+0016 <span class="comment">%     is 0.057 for SOLEIL in the linear approximation</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%  See Also  physics_RFacceptance, physics_quatumlifetime,</span>
+0019 <span class="comment">%  physics_energyloss</span>
+0020 
+0021 <span class="comment">%</span>
+0022 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0023 
+0024 
+0025 U0 = <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>(E,rho); <span class="comment">% energyloss per turn in keV</span>
+0026 q = VRF./U0;
+0027 
+0028 epsilon_RF = sqrt(2/(pi*alpha*h)*(U0*1e-6./E).*(sqrt(q.*q-1)-acos(1./q)));
+0029</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_booster.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_booster.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_booster.html	(revision 17)
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of physics_booster</title>
+  <meta name="keywords" content="physics_booster">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_booster.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>physics_booster
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function physics_booster </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>	PHYSICS_RFACCEPTANCE - Computes RF acceptance</li><li><a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>	PHYSICS_ENERGYLOSS - Computed energy loss per turn</li><li><a href="physics_quantumlifetime.html" class="code" title="function tau_q = physics_quantumlifetime(epsilon_RF,sigma_epsilon,tau_epsilon)">physics_quantumlifetime</a>	physics_quantum_lifetime - computes quantum lifetime</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function physics_booster</a>
+0002 <span class="comment">%</span>
+0003 <span class="comment">%</span>
+0004 
+0005 <span class="comment">%</span>
+0006 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0007 
+0008 <span class="comment">%%</span>
+0009 RfAcceptanceFlag = 1;
+0010 EnergyLossFlag = 0;
+0011 
+0012 alpha = 3.19e-2;
+0013 Einj = 0.100; <span class="comment">% GeV</span>
+0014 Eext = 2.75; <span class="comment">% GeV</span>
+0015 rho = 12.376; <span class="comment">% m</span>
+0016 E = (Einj:0.1:Eext)<span class="comment">% GeV</span>
+0017 h = 184;
+0018 <span class="comment">%%</span>
+0019 <span class="keyword">if</span> EnergyLossFlag == 1
+0020     figure
+0021     plot(E, <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>(E,rho));
+0022     grid on
+0023     xlabel(<span class="string">'Energy (GeV)'</span>)
+0024     ylabel(<span class="string">'U0 (keV)'</span>);
+0025     title(<span class="string">'Energy loss per turn for the Booster ring'</span>)
+0026     U0inj = <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>(Einj,rho);
+0027     U0ext = <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>(Eext,rho);
+0028     fprintf(<span class="string">'U0 = %f keV @ %f GeV\n'</span>,U0inj, Einj);
+0029     fprintf(<span class="string">'U0 = %f keV @ %f GeV\n'</span>,U0ext, Eext);    
+0030 <span class="keyword">end</span>
+0031 
+0032 <span class="keyword">if</span> RfAcceptanceFlag == 1
+0033     figure
+0034     VRF = (0:10:1000); <span class="comment">% keV</span>
+0035     epsilon_RF = <a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>(VRF,alpha,rho,Eext,h)
+0036     plot(VRF,epsilon_RF*100);
+0037     grid on
+0038     xlabel(<span class="string">'RF voltage (kV)'</span>)
+0039     ylabel(<span class="string">'RF acceptance (%)'</span>);
+0040     title(<span class="string">'RF acceptance for the Booster ring'</span>)
+0041     e_RFinj = <a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>(208,alpha,rho,Einj,h)
+0042     fprintf(<span class="string">'RF acceptance = %f %% @ %f GeV\n'</span>,e_RFinj*100, Einj);
+0043 <span class="keyword">end</span>
+0044 
+0045 <span class="comment">%%</span>
+0046 VRF = [230 844]; <span class="comment">% kV</span>
+0047 E   = [0.11 2.75]; <span class="comment">% GeV</span>
+0048 Trev = 157/3e8; <span class="comment">% s</span>
+0049 U0 = <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>(E,rho)
+0050 
+0051 phis = asin(U0./VRF); 
+0052 nus = sqrt(alpha*h*cos(phis).*VRF*1e-6/2/pi./E);
+0053 sigmaEoE = 6.6e-4*[1/25 1];
+0054 epsilon_RF = <a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>(VRF,alpha,rho,E,h)
+0055 tau_epsilon = 3.4e-3;
+0056 tau_q = <a href="physics_quantumlifetime.html" class="code" title="function tau_q = physics_quantumlifetime(epsilon_RF,sigma_epsilon,tau_epsilon)">physics_quantumlifetime</a>(epsilon_RF,sigmaEoE,tau_epsilon)
+0057 
+0058 fprintf(<span class="string">'               Injection    |  Extraction\n'</span>);
+0059 fprintf(<span class="string">'----------------------------------------------\n'</span>);
+0060 fprintf(<span class="string">'Energy (GeV) |  %4.3f       |     %4.3f \n'</span>,E);
+0061 fprintf(<span class="string">'U0 (keV)     |  %4.3f       |     %4.1f \n'</span>,U0);
+0062 fprintf(<span class="string">'Phis (Â°)     |  %4.3f       |     %2.2f \n'</span>,phis*180/pi);
+0063 fprintf(<span class="string">'VRF (kV)     |  %4.1f       |     %4.1f \n'</span>,VRF);
+0064 fprintf(<span class="string">'Energy spread|  %6.2e    |     %6.2e \n'</span>,sigmaEoE);
+0065 fprintf(<span class="string">'e_RF (%%)     |  %4.3f       |     %4.3f \n'</span>,epsilon_RF*100);
+0066 fprintf(<span class="string">'tau_q(s)     |  %4.3f        |     %4.1f \n'</span>,tau_q);
+0067 fprintf(<span class="string">'nus          |  %4.3f       |     %4.3f \n'</span>,nus);
+0068 fprintf(<span class="string">'nus (turn)   |  %4.2f       |     %4.2f \n'</span>,1./nus);
+0069 fprintf(<span class="string">'nus (kHz)    |  %4.2f       |     %4.2f \n'</span>,nus/Trev/1e3);
+0070 fprintf(<span class="string">'10 kHz &lt;==&gt; 1e-3 energy shift   \n'</span>);
+0071 
+0072 <span class="comment">%%</span>
+0073 fRF = 353.202; <span class="comment">% MHz</span>
+0074 dfRF = fRF*alpha*0.01</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_bunchlength.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_bunchlength.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_bunchlength.html	(revision 17)
@@ -0,0 +1,95 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of physics_bunchlength</title>
+  <meta name="keywords" content="physics_bunchlength">
+  <meta name="description" content="PHYSICS_bunchlength - Compute bunch length">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_bunchlength.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>physics_bunchlength
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PHYSICS_bunchlength - Compute bunch length</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function sigmaL = physics_bunchlength(eVRF,E,rho) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">  PHYSICS_bunchlength - Compute bunch length
+
+  INPUTS
+  1. E - Energy in GeV
+  2. eVRF - RF voltage in keV
+  3. rho - Curvature radius in meters 
+
+  OUPUTS
+  1. sigmaL - bunch length
+
+  EXAMPLES
+  1. physics_bunchlength(4000,2.75,5.36)
+
+  See Also  <a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>, <a href="physics_quantumlifetime.html" class="code" title="function tau_q = physics_quantumlifetime(epsilon_RF,sigma_epsilon,tau_epsilon)">physics_quantumlifetime</a>,
+  <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>, <a href="physics_synchronousphase.html" class="code" title="function phis = physics_synchronousphase(eVRF,E,rho)">physics_synchronousphase</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_synchronousphase.html" class="code" title="function phis = physics_synchronousphase(eVRF,E,rho)">physics_synchronousphase</a>	PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function sigmaL = physics_bunchlength(eVRF,E,rho)</a>
+0002 <span class="comment">%  PHYSICS_bunchlength - Compute bunch length</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. E - Energy in GeV</span>
+0006 <span class="comment">%  2. eVRF - RF voltage in keV</span>
+0007 <span class="comment">%  3. rho - Curvature radius in meters</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  OUPUTS</span>
+0010 <span class="comment">%  1. sigmaL - bunch length</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  EXAMPLES</span>
+0013 <span class="comment">%  1. physics_bunchlength(4000,2.75,5.36)</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">%  See Also  physics_RFacceptance, physics_quantumlifetime,</span>
+0016 <span class="comment">%  physics_energyloss, physics_synchronousphase</span>
+0017 
+0018 <span class="comment">%</span>
+0019 <span class="comment">% Written by Laurent S. NAdolski</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% rho 12.376 m for Booster</span>
+0022 <span class="comment">% rho 5.360  m for storage ring</span>
+0023 
+0024 <span class="comment">% plot(1000:4000,physics_bunchlength(1000:4000,2.739,5.36)/2.99792458e8*1e12*2.35); grid on</span>
+0025 <span class="comment">% xlabel('VRF [kV]')</span>
+0026 <span class="comment">% ylabel('sigmaL FWHM (ps)')</span>
+0027 
+0028 h     = getharmonicnumber;
+0029 alpha = 4.5e-4; <span class="comment">%getmcf('Model');</span>
+0030 OmegaRF = 2*pi*getrf(<span class="string">'Model'</span>,<span class="string">'Physics'</span>);
+0031 OmegaRF2 = OmegaRF*OmegaRF;
+0032 c = 2.99792458e8; 
+0033 sigmaEoE = 1.016e-3;
+0034 cosPhis = cos(<a href="physics_synchronousphase.html" class="code" title="function phis = physics_synchronousphase(eVRF,E,rho)">physics_synchronousphase</a>(eVRF,E,rho));
+0035 sigmaL = sqrt(2*pi*alpha*h*c*c./cosPhis/OmegaRF2./eVRF/1e-6*E)*sigmaEoE;</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_energyloss.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_energyloss.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_energyloss.html	(revision 17)
@@ -0,0 +1,80 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of physics_energyloss</title>
+  <meta name="keywords" content="physics_energyloss">
+  <meta name="description" content="PHYSICS_ENERGYLOSS - Computed energy loss per turn">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_energyloss.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>physics_energyloss
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PHYSICS_ENERGYLOSS - Computed energy loss per turn</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function U0 = physics_energyloss(E,rho) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">  PHYSICS_ENERGYLOSS - Computed energy loss per turn
+
+  INPUTS
+  1. E - Energy in GeV
+  2. rho - Curvature radius in meters 
+
+  OUPUTS
+  1. U0 - Energy loss per turn in keV
+
+  EXAMPLES
+  1. physics_energyloss(2.75,5.36)
+
+  See Also</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>	PHYSICS_RFACCEPTANCE - Computes RF acceptance</li><li><a href="physics_booster.html" class="code" title="function physics_booster">physics_booster</a>	</li><li><a href="physics_synchronousphase.html" class="code" title="function phis = physics_synchronousphase(eVRF,E,rho)">physics_synchronousphase</a>	PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function U0 = physics_energyloss(E,rho)</a>
+0002 <span class="comment">%  PHYSICS_ENERGYLOSS - Computed energy loss per turn</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. E - Energy in GeV</span>
+0006 <span class="comment">%  2. rho - Curvature radius in meters</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  OUPUTS</span>
+0009 <span class="comment">%  1. U0 - Energy loss per turn in keV</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  EXAMPLES</span>
+0012 <span class="comment">%  1. physics_energyloss(2.75,5.36)</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%  See Also</span>
+0015 
+0016 <span class="comment">%</span>
+0017 <span class="comment">% Written by Laurent S. Nadolski</span>
+0018 <span class="comment">%</span>
+0019 <span class="comment">% rho 12.376 m for Booster</span>
+0020 <span class="comment">% rho 5.360 m for storage ring</span>
+0021 
+0022 U0 = 88.5*power(E,4)/rho;</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_mcf.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_mcf.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_mcf.html	(revision 17)
@@ -0,0 +1,111 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of physics_mcf</title>
+  <meta name="keywords" content="physics_mcf">
+  <meta name="description" content="PHYSICS_MCF - Computes momentum compaction up to 3rd order">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_mcf.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>physics_mcf
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PHYSICS_MCF - Computes momentum compaction up to 3rd order</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [alpha1 alpha2 alpha3] = physics_mcf(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> PHYSICS_MCF - Computes momentum compaction up to 3rd order
+
+  INPUTS
+  1. Option Flag Display, NoDisplay
+
+  OUPUTS
+  2. pvalue - momentum compaction factor : alpha1, alpha2, alpha3 
+
+  See Also mcf2, getmcf</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="modelmcfsensitivity.html" class="code" title="function [Rmcf Rmcf2]=modelmcfsensitivity(varargin)">modelmcfsensitivity</a>	TUNESENSITIVITY - Computes quadrupole change for a given tune step</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [alpha1 alpha2 alpha3] = physics_mcf(varargin)</a>
+0002 <span class="comment">% PHYSICS_MCF - Computes momentum compaction up to 3rd order</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. Option Flag Display, NoDisplay</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  OUPUTS</span>
+0008 <span class="comment">%  2. pvalue - momentum compaction factor : alpha1, alpha2, alpha3</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">%  See Also mcf2, getmcf</span>
+0011 
+0012 <span class="comment">%</span>
+0013 <span class="comment">%% Written by Laurent S. Nadolski</span>
+0014 
+0015 DisplayFlag = 1;
+0016 
+0017 <span class="keyword">global</span> THERING
+0018 
+0019 <span class="keyword">for</span> i = length(varargin):-1:1
+0020     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0021         DisplayFlag = 1;
+0022         varargin{i} = [];
+0023     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0024         DisplayFlag = 0;
+0025         varargin{i} = [];
+0026     <span class="keyword">end</span>
+0027 <span class="keyword">end</span>
+0028         
+0029 <span class="comment">% energy variation for fitting mcf</span>
+0030 deltamin = -1e-3;
+0031 deltamax = -deltamin;
+0032 delta = deltamin:5e-5:deltamax;
+0033 alpha = zeros(size(delta));
+0034 
+0035 <span class="keyword">for</span> k =1:length(delta)
+0036     alpha(k) = mcf2(THERING,delta(k));
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="comment">% fit curve upto 3rd order</span>
+0040 pvalue = polyfit(delta, alpha, 2);
+0041 palpha = polyval(pvalue, delta);
+0042 
+0043 alpha1 = pvalue(3);
+0044 alpha2 = pvalue(2)/2;
+0045 alpha3 = pvalue(1)/3;
+0046 
+0047 <span class="keyword">if</span> DisplayFlag
+0048     figure
+0049     plot(delta*100,alpha,<span class="string">'k'</span>)
+0050     grid on; hold on;
+0051     plot(delta*100,palpha,<span class="string">'r'</span>)
+0052     title(sprintf(<span class="string">'Momentum compaction factor \n mcf = %3.2e + %3.2e x + %3.2e x**2'</span>, <span class="keyword">...</span>
+0053         alpha1, alpha2, alpha3))
+0054     xlabel(<span class="string">'Energy (%)'</span>)
+0055     ylabel(<span class="string">'Momemtum compaction factor'</span>);
+0056 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_quantumlifetime.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_quantumlifetime.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_quantumlifetime.html	(revision 17)
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of physics_quantumlifetime</title>
+  <meta name="keywords" content="physics_quantumlifetime">
+  <meta name="description" content="physics_quantum_lifetime - computes quantum lifetime">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_quantumlifetime.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>physics_quantumlifetime
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>physics_quantum_lifetime - computes quantum lifetime</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function tau_q = physics_quantumlifetime(epsilon_RF,sigma_epsilon,tau_epsilon) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> physics_quantum_lifetime - computes quantum lifetime
+
+  INPUTS
+  1. epsilon_RF - RF acceptance
+  2. sigma_epsilon - Energy spread
+  3. tau_epsilon - Longitudinal damping time
+
+  OUPUTS
+  1. tau_q - Quantum lifetime in s
+
+  See Also ...</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_booster.html" class="code" title="function physics_booster">physics_booster</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function tau_q = physics_quantumlifetime(epsilon_RF,sigma_epsilon,tau_epsilon)</a>
+0002 <span class="comment">% physics_quantum_lifetime - computes quantum lifetime</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. epsilon_RF - RF acceptance</span>
+0006 <span class="comment">%  2. sigma_epsilon - Energy spread</span>
+0007 <span class="comment">%  3. tau_epsilon - Longitudinal damping time</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  OUPUTS</span>
+0010 <span class="comment">%  1. tau_q - Quantum lifetime in s</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  See Also ...</span>
+0013 
+0014 <span class="comment">%</span>
+0015 <span class="comment">% Written by Laurent S. Nadolski</span>
+0016 
+0017 xi = power(epsilon_RF,2)/2./power(sigma_epsilon,2);
+0018 
+0019 tau_q = tau_epsilon/2./xi.*exp(xi);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_synchronousphase.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_synchronousphase.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_synchronousphase.html	(revision 17)
@@ -0,0 +1,85 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of physics_synchronousphase</title>
+  <meta name="keywords" content="physics_synchronousphase">
+  <meta name="description" content="PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_synchronousphase.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>physics_synchronousphase
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function phis = physics_synchronousphase(eVRF,E,rho) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">  PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase
+
+  INPUTS
+  1. eVRF - RF voltage in keV
+  2. E - Energy in GeV
+  3. rho - Curvature radius in meters 
+
+  OUPUTS
+  1. phis - synchronous phase
+
+  EXAMPLES
+  1. physics_synchronousphase(4000,2.75,5.36)*180/pi
+     is 13.65 degrees for Soleil
+
+  See Also  <a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>, physics_quatumlifetime,
+  <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>	PHYSICS_ENERGYLOSS - Computed energy loss per turn</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_bunchlength.html" class="code" title="function sigmaL = physics_bunchlength(eVRF,E,rho)">physics_bunchlength</a>	PHYSICS_bunchlength - Compute bunch length</li><li><a href="physics_synchrotrontune.html" class="code" title="function nus = physics_synchrotrontune(eVRF,E,rho)">physics_synchrotrontune</a>	PHYSICS_ENERGYLOSS - Computed synchrotron tune</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function phis = physics_synchronousphase(eVRF,E,rho)</a>
+0002 <span class="comment">%  PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. eVRF - RF voltage in keV</span>
+0006 <span class="comment">%  2. E - Energy in GeV</span>
+0007 <span class="comment">%  3. rho - Curvature radius in meters</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  OUPUTS</span>
+0010 <span class="comment">%  1. phis - synchronous phase</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  EXAMPLES</span>
+0013 <span class="comment">%  1. physics_synchronousphase(4000,2.75,5.36)*180/pi</span>
+0014 <span class="comment">%     is 13.65 degrees for Soleil</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">%  See Also  physics_RFacceptance, physics_quatumlifetime,</span>
+0017 <span class="comment">%  physics_energyloss</span>
+0018 
+0019 <span class="comment">%</span>
+0020 <span class="comment">% Written by Laurent S. Nadolski</span>
+0021 
+0022 U0 = <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>(E,rho); <span class="comment">% keV</span>
+0023 
+0024 phis = asin(U0./eVRF);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_synchrotrontune.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_synchrotrontune.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_synchrotrontune.html	(revision 17)
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of physics_synchrotrontune</title>
+  <meta name="keywords" content="physics_synchrotrontune">
+  <meta name="description" content="PHYSICS_ENERGYLOSS - Computed synchrotron tune">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_synchrotrontune.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>physics_synchrotrontune
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PHYSICS_ENERGYLOSS - Computed synchrotron tune</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function nus = physics_synchrotrontune(eVRF,E,rho) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">  PHYSICS_ENERGYLOSS - Computed synchrotron tune
+
+  INPUTS
+  1. E - Energy in GeV
+  2. eVRF - RF voltage in keV
+  3. rho - Curvature radius in meters 
+
+  OUPUTS
+  1. nus - synchrotron tune
+
+  EXAMPLES
+  1. physics_synchrotrontune(4000,2.75,5.36)
+
+  See Also  <a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>, <a href="physics_quantumlifetime.html" class="code" title="function tau_q = physics_quantumlifetime(epsilon_RF,sigma_epsilon,tau_epsilon)">physics_quantumlifetime</a>,
+  <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>, <a href="physics_synchronousphase.html" class="code" title="function phis = physics_synchronousphase(eVRF,E,rho)">physics_synchronousphase</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="physics_synchronousphase.html" class="code" title="function phis = physics_synchronousphase(eVRF,E,rho)">physics_synchronousphase</a>	PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function nus = physics_synchrotrontune(eVRF,E,rho)</a>
+0002 <span class="comment">%  PHYSICS_ENERGYLOSS - Computed synchrotron tune</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. E - Energy in GeV</span>
+0006 <span class="comment">%  2. eVRF - RF voltage in keV</span>
+0007 <span class="comment">%  3. rho - Curvature radius in meters</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  OUPUTS</span>
+0010 <span class="comment">%  1. nus - synchrotron tune</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  EXAMPLES</span>
+0013 <span class="comment">%  1. physics_synchrotrontune(4000,2.75,5.36)</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">%  See Also  physics_RFacceptance, physics_quantumlifetime,</span>
+0016 <span class="comment">%  physics_energyloss, physics_synchronousphase</span>
+0017 
+0018 <span class="comment">%</span>
+0019 <span class="comment">% Written by Laurent S. NAdolski</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% rho 12.376 m for Booster</span>
+0022 <span class="comment">% rho 5.360  m for storagering</span>
+0023 
+0024 
+0025 h     = getharmonicnumber;
+0026 alpha = getmcf(<span class="string">'Model'</span>);
+0027 cosPhis = cos(<a href="physics_synchronousphase.html" class="code" title="function phis = physics_synchronousphase(eVRF,E,rho)">physics_synchronousphase</a>(eVRF,E,rho));
+0028 nus = sqrt(alpha*h*cosPhis/2/pi.*eVRF*1e-6/E);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plot_synchrotron_tune.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plot_synchrotron_tune.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plot_synchrotron_tune.html	(revision 17)
@@ -0,0 +1,308 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plot_synchrotron_tune</title>
+  <meta name="keywords" content="plot_synchrotron_tune">
+  <meta name="description" content="PLOT_SYNCHROTRON_TUNE M-file for plot_synchrotron_tune.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; plot_synchrotron_tune.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>plot_synchrotron_tune
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PLOT_SYNCHROTRON_TUNE M-file for plot_synchrotron_tune.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = plot_synchrotron_tune(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> PLOT_SYNCHROTRON_TUNE M-file for plot_synchrotron_tune.fig
+      PLOT_SYNCHROTRON_TUNE, by itself, creates a new PLOT_SYNCHROTRON_TUNE or raises the existing
+      singleton*.
+
+      H = PLOT_SYNCHROTRON_TUNE returns the handle to a new PLOT_SYNCHROTRON_TUNE or the handle to
+      the existing singleton*.
+
+      PLOT_SYNCHROTRON_TUNE('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in PLOT_SYNCHROTRON_TUNE.M with the given input arguments.
+
+      PLOT_SYNCHROTRON_TUNE('Property','Value',...) creates a new PLOT_SYNCHROTRON_TUNE or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before plot_synchrotron_tune_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to plot_synchrotron_tune_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function plot_synchrotron_tune_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = plot_synchrotron_tune_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function pushbutton_run_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function edit_profondeur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function edit_profondeur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function edit_decimation_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit_decimation_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function edit_adress_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function edit_adress_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function edit_minfreq_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function edit_minfreq_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_maxfreq_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_maxfreq_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = plot_synchrotron_tune(varargin)</a>
+0002 <span class="comment">% PLOT_SYNCHROTRON_TUNE M-file for plot_synchrotron_tune.fig</span>
+0003 <span class="comment">%      PLOT_SYNCHROTRON_TUNE, by itself, creates a new PLOT_SYNCHROTRON_TUNE or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = PLOT_SYNCHROTRON_TUNE returns the handle to a new PLOT_SYNCHROTRON_TUNE or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      PLOT_SYNCHROTRON_TUNE('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in PLOT_SYNCHROTRON_TUNE.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      PLOT_SYNCHROTRON_TUNE('Property','Value',...) creates a new PLOT_SYNCHROTRON_TUNE or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before plot_synchrotron_tune_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to plot_synchrotron_tune_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help plot_synchrotron_tune</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 07-May-2008 15:57:55</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction plot_synchrotron_tune_OpeningFcn(hObject, eventdata, handles, varargin)">plot_synchrotron_tune_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = plot_synchrotron_tune_OutputFcn(hObject, eventdata, handles)">plot_synchrotron_tune_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before plot_synchrotron_tune is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function plot_synchrotron_tune_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to plot_synchrotron_tune (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for plot_synchrotron_tune</span>
+0056 handles.output = hObject;
+0057 
+0058 BPM=<span class="string">'ANS-C13/DG/BPM.NOD'</span>;
+0059 
+0060 
+0061 <span class="comment">% get BPM value</span>
+0062 rep = tango_read_attribute2(BPM,<span class="string">'DDBufferSize'</span>);pro=rep.value(1);
+0063 set(handles.edit_profondeur,<span class="string">'String'</span>,num2str(pro))
+0064 rep = tango_read_attribute2(BPM,<span class="string">'DDDecimationFactor'</span>);dec=rep.value(1);
+0065 set(handles.edit_decimation,<span class="string">'String'</span>,num2str(dec))
+0066 rep = tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);adr=rep.value(1);
+0067 set(handles.edit_adress,<span class="string">'String'</span>,num2str(adr))
+0068 
+0069 handles.bpm=BPM;
+0070 <span class="comment">% Update handles structure</span>
+0071 guidata(hObject, handles);
+0072 
+0073 <span class="comment">% UIWAIT makes plot_synchrotron_tune wait for user response (see UIRESUME)</span>
+0074 <span class="comment">% uiwait(handles.figure1);</span>
+0075 
+0076 
+0077 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0078 <a name="_sub2" href="#_subfunctions" class="code">function varargout = plot_synchrotron_tune_OutputFcn(hObject, eventdata, handles) </a>
+0079 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0080 <span class="comment">% hObject    handle to figure</span>
+0081 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0082 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0083 
+0084 <span class="comment">% Get default command line output from handles structure</span>
+0085 varargout{1} = handles.output;
+0086 
+0087 
+0088 <span class="comment">% --- Executes on button press in pushbutton_run.</span>
+0089 <a name="_sub3" href="#_subfunctions" class="code">function pushbutton_run_Callback(hObject, eventdata, handles)</a>
+0090 <span class="comment">% hObject    handle to pushbutton_run (see GCBO)</span>
+0091 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0092 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0093 
+0094 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of pushbutton_run</span>
+0095 BPM=handles.bpm;
+0096 rep = tango_read_attribute2(BPM,<span class="string">'DDDecimationFactor'</span>);dec=rep.value(1);
+0097 rep = tango_read_attribute2(BPM,<span class="string">'XPosDD'</span>);
+0098 N = length(rep.value);
+0099 
+0100 minfreq=str2double(get(handles.edit_minfreq,<span class="string">'String'</span>));
+0101 maxfreq=str2double(get(handles.edit_maxfreq,<span class="string">'String'</span>));
+0102 
+0103 
+0104 Xvalue = zeros(1,N);
+0105 <span class="keyword">for</span> ik =1:3, <span class="comment">% averaging</span>
+0106     rep = tango_read_attribute2(BPM,<span class="string">'XPosDD'</span>);
+0107     Xvalue = Xvalue + rep.value;
+0108     pause(0.3)
+0109 <span class="keyword">end</span>
+0110 
+0111 Xvalue = Xvalue/3;
+0112 Amp=abs(fft(Xvalue));
+0113 
+0114 frev = getrf/416;
+0115 freq =(1:N)/N*frev*1e6/double(dec);
+0116 len=length(freq);
+0117 
+0118 plot(freq(1:len/2)/1000,Amp(1:len/2))
+0119 xaxis([minfreq maxfreq]); 
+0120 grid on
+0121 xlabel(<span class="string">'Frequency kHz'</span>)
+0122 
+0123 <span class="comment">%[a ind] = max(abs(fft(rep.value)))</span>
+0124 
+0125     
+0126     
+0127 <a name="_sub4" href="#_subfunctions" class="code">function edit_profondeur_Callback(hObject, eventdata, handles)</a>
+0128 <span class="comment">% hObject    handle to edit_profondeur (see GCBO)</span>
+0129 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0130 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0131 
+0132 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_profondeur as text</span>
+0133 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_profondeur as a double</span>
+0134 
+0135 
+0136 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0137 <a name="_sub5" href="#_subfunctions" class="code">function edit_profondeur_CreateFcn(hObject, eventdata, handles)</a>
+0138 <span class="comment">% hObject    handle to edit_profondeur (see GCBO)</span>
+0139 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0140 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0141 
+0142 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0143 <span class="comment">%       See ISPC and COMPUTER.</span>
+0144 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0145     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0146 <span class="keyword">end</span>
+0147 
+0148 
+0149 
+0150 <a name="_sub6" href="#_subfunctions" class="code">function edit_decimation_Callback(hObject, eventdata, handles)</a>
+0151 <span class="comment">% hObject    handle to edit_decimation (see GCBO)</span>
+0152 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0153 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0154 
+0155 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_decimation as text</span>
+0156 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_decimation as a double</span>
+0157 
+0158 
+0159 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0160 <a name="_sub7" href="#_subfunctions" class="code">function edit_decimation_CreateFcn(hObject, eventdata, handles)</a>
+0161 <span class="comment">% hObject    handle to edit_decimation (see GCBO)</span>
+0162 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0163 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0164 
+0165 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0166 <span class="comment">%       See ISPC and COMPUTER.</span>
+0167 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0168     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0169 <span class="keyword">end</span>
+0170 
+0171 
+0172 
+0173 <a name="_sub8" href="#_subfunctions" class="code">function edit_adress_Callback(hObject, eventdata, handles)</a>
+0174 <span class="comment">% hObject    handle to edit_adress (see GCBO)</span>
+0175 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0176 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0177 
+0178 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_adress as text</span>
+0179 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_adress as a double</span>
+0180 
+0181 
+0182 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0183 <a name="_sub9" href="#_subfunctions" class="code">function edit_adress_CreateFcn(hObject, eventdata, handles)</a>
+0184 <span class="comment">% hObject    handle to edit_adress (see GCBO)</span>
+0185 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0186 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0187 
+0188 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0189 <span class="comment">%       See ISPC and COMPUTER.</span>
+0190 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0191     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0192 <span class="keyword">end</span>
+0193 
+0194 
+0195 
+0196 <a name="_sub10" href="#_subfunctions" class="code">function edit_minfreq_Callback(hObject, eventdata, handles)</a>
+0197 <span class="comment">% hObject    handle to edit_minfreq (see GCBO)</span>
+0198 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0199 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0200 
+0201 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_minfreq as text</span>
+0202 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_minfreq as a double</span>
+0203 
+0204 
+0205 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0206 <a name="_sub11" href="#_subfunctions" class="code">function edit_minfreq_CreateFcn(hObject, eventdata, handles)</a>
+0207 <span class="comment">% hObject    handle to edit_minfreq (see GCBO)</span>
+0208 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0209 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0210 
+0211 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0212 <span class="comment">%       See ISPC and COMPUTER.</span>
+0213 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0214     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0215 <span class="keyword">end</span>
+0216 
+0217 
+0218 
+0219 <a name="_sub12" href="#_subfunctions" class="code">function edit_maxfreq_Callback(hObject, eventdata, handles)</a>
+0220 <span class="comment">% hObject    handle to edit_maxfreq (see GCBO)</span>
+0221 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0222 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0223 
+0224 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_maxfreq as text</span>
+0225 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_maxfreq as a double</span>
+0226 
+0227 
+0228 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0229 <a name="_sub13" href="#_subfunctions" class="code">function edit_maxfreq_CreateFcn(hObject, eventdata, handles)</a>
+0230 <span class="comment">% hObject    handle to edit_maxfreq (see GCBO)</span>
+0231 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0232 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0233 
+0234 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0235 <span class="comment">%       See ISPC and COMPUTER.</span>
+0236 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0237     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0238 <span class="keyword">end</span>
+0239 
+0240</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plot_synchrotron_tune_scan.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plot_synchrotron_tune_scan.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plot_synchrotron_tune_scan.html	(revision 17)
@@ -0,0 +1,529 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plot_synchrotron_tune_scan</title>
+  <meta name="keywords" content="plot_synchrotron_tune_scan">
+  <meta name="description" content="PLOT_SYNCHROTRON_TUNE_SCAN M-file for plot_synchrotron_tune_scan.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; plot_synchrotron_tune_scan.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>plot_synchrotron_tune_scan
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PLOT_SYNCHROTRON_TUNE_SCAN M-file for plot_synchrotron_tune_scan.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = plot_synchrotron_tune_scan(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> PLOT_SYNCHROTRON_TUNE_SCAN M-file for plot_synchrotron_tune_scan.fig
+      PLOT_SYNCHROTRON_TUNE_SCAN, by itself, creates a new PLOT_SYNCHROTRON_TUNE_SCAN or raises the existing
+      singleton*.
+
+      H = PLOT_SYNCHROTRON_TUNE_SCAN returns the handle to a new PLOT_SYNCHROTRON_TUNE_SCAN or the handle to
+      the existing singleton*.
+
+      PLOT_SYNCHROTRON_TUNE_SCAN('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in PLOT_SYNCHROTRON_TUNE_SCAN.M with the given input arguments.
+
+      PLOT_SYNCHROTRON_TUNE_SCAN('Property','Value',...) creates a new PLOT_SYNCHROTRON_TUNE_SCAN or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before plot_synchrotron_tune_scan_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to plot_synchrotron_tune_scan_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function plot_synchrotron_tune_scan_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = plot_synchrotron_tune_scan_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function pushbutton_plot_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function edit_profondeur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function edit_profondeur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function edit_decimation_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit_decimation_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function edit_adress_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function edit_adress_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function edit_minfreq_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function edit_minfreq_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_maxfreq_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_maxfreq_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function pushbutton_scan_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function edit_freq_min_scan_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function edit_freq_min_scan_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function edit_freq_max_scan_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function edit_freq_max_scan_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function edit_step_scan_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function edit_step_scan_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function pushbutton_modulationON_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function pushbutton_modulationOFF_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function edit_amp_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function edit_amp_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function edit_freq_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function edit_freq_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function edit_tune_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function edit_tune_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = plot_synchrotron_tune_scan(varargin)</a>
+0002 <span class="comment">% PLOT_SYNCHROTRON_TUNE_SCAN M-file for plot_synchrotron_tune_scan.fig</span>
+0003 <span class="comment">%      PLOT_SYNCHROTRON_TUNE_SCAN, by itself, creates a new PLOT_SYNCHROTRON_TUNE_SCAN or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = PLOT_SYNCHROTRON_TUNE_SCAN returns the handle to a new PLOT_SYNCHROTRON_TUNE_SCAN or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      PLOT_SYNCHROTRON_TUNE_SCAN('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in PLOT_SYNCHROTRON_TUNE_SCAN.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      PLOT_SYNCHROTRON_TUNE_SCAN('Property','Value',...) creates a new PLOT_SYNCHROTRON_TUNE_SCAN or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before plot_synchrotron_tune_scan_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to plot_synchrotron_tune_scan_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help plot_synchrotron_tune_scan</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 08-Dec-2008 15:03:31</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction plot_synchrotron_tune_scan_OpeningFcn(hObject, eventdata, handles, varargin)">plot_synchrotron_tune_scan_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = plot_synchrotron_tune_scan_OutputFcn(hObject, eventdata, handles)">plot_synchrotron_tune_scan_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before plot_synchrotron_tune_scan is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function plot_synchrotron_tune_scan_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to plot_synchrotron_tune_scan (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for plot_synchrotron_tune_scan</span>
+0056 handles.output = hObject;
+0057 
+0058 BPM=<span class="string">'ANS-C13/DG/BPM.NOD'</span>;
+0059 
+0060 
+0061 <span class="comment">% get BPM value</span>
+0062 rep = tango_read_attribute2(BPM,<span class="string">'DDBufferSize'</span>);pro=rep.value(1);
+0063 set(handles.edit_profondeur,<span class="string">'String'</span>,num2str(pro))
+0064 rep = tango_read_attribute2(BPM,<span class="string">'DDDecimationFactor'</span>);dec=rep.value(1);
+0065 set(handles.edit_decimation,<span class="string">'String'</span>,num2str(dec))
+0066 rep = tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);adr=rep.value(1);
+0067 set(handles.edit_adress,<span class="string">'String'</span>,num2str(adr))
+0068 
+0069 temp=tango_read_attribute2(<span class="string">'ANS/RF/MasterClock'</span>,<span class="string">'phaseFrequency'</span>);freq=temp.value(1);
+0070 set(handles.edit_freq,<span class="string">'String'</span>,num2str(freq))
+0071 temp=tango_read_attribute2(<span class="string">'ANS/RF/MasterClock'</span>,<span class="string">'phaseVariation'</span>);amp=temp.value(1);
+0072 set(handles.edit_amp,<span class="string">'String'</span>,num2str(amp))
+0073     
+0074 handles.bpm=BPM;
+0075 setappdata(handles.figure1, <span class="string">'amp_scan'</span>, []);
+0076 
+0077 <span class="comment">% Update handles structure</span>
+0078 guidata(hObject, handles);
+0079 
+0080 <span class="comment">% UIWAIT makes plot_synchrotron_tune_scan wait for user response (see UIRESUME)</span>
+0081 <span class="comment">% uiwait(handles.figure1);</span>
+0082 
+0083 
+0084 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0085 <a name="_sub2" href="#_subfunctions" class="code">function varargout = plot_synchrotron_tune_scan_OutputFcn(hObject, eventdata, handles) </a>
+0086 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0087 <span class="comment">% hObject    handle to figure</span>
+0088 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0089 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0090 
+0091 <span class="comment">% Get default command line output from handles structure</span>
+0092 varargout{1} = handles.output;
+0093 
+0094 
+0095 <span class="comment">% --- Executes on button press in pushbutton_plot.</span>
+0096 <a name="_sub3" href="#_subfunctions" class="code">function pushbutton_plot_Callback(hObject, eventdata, handles)</a>
+0097 <span class="comment">% hObject    handle to pushbutton_plot (see GCBO)</span>
+0098 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0099 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0100 
+0101 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of pushbutton_plot</span>
+0102 BPM=handles.bpm;
+0103 rep = tango_read_attribute2(BPM,<span class="string">'DDDecimationFactor'</span>);dec=rep.value(1);
+0104 rep = tango_read_attribute2(BPM,<span class="string">'XPosDD'</span>);
+0105 N = length(rep.value);
+0106 
+0107 minfreq=str2double(get(handles.edit_minfreq,<span class="string">'String'</span>));
+0108 maxfreq=str2double(get(handles.edit_maxfreq,<span class="string">'String'</span>));
+0109 
+0110 
+0111 Xvalue = zeros(1,N);
+0112 <span class="keyword">for</span> ik =1:3, <span class="comment">% averaging</span>
+0113     rep = tango_read_attribute2(BPM,<span class="string">'XPosDD'</span>);
+0114     Xvalue = Xvalue + rep.value;
+0115     pause(0.3)
+0116 <span class="keyword">end</span>
+0117 
+0118 Xvalue = Xvalue/3;
+0119 Amp=abs(fft(Xvalue));
+0120 
+0121 frev = getrf/416;
+0122 freq =(1:N)/N*frev*1e6/double(dec);
+0123 len=length(freq);
+0124 
+0125 plot(freq(1:len/2)/1000,Amp(1:len/2))
+0126 xaxis([minfreq maxfreq]); 
+0127 grid on
+0128 xlabel(<span class="string">'Frequency kHz'</span>)
+0129 
+0130 <span class="comment">% get max on window</span>
+0131 minf=floor(minfreq*1000*N/frev/1e6*double(dec));
+0132 maxf=floor(maxfreq*1000*N/frev/1e6*double(dec));
+0133 max_amp= max(Amp(minf:maxf));
+0134 
+0135 amp_scan= getappdata(handles.figure1, <span class="string">'amp_scan'</span>);
+0136 amp_scan=[amp_scan max_amp];
+0137 setappdata(handles.figure1, <span class="string">'amp_scan'</span>, amp_scan);
+0138 
+0139 
+0140 
+0141 
+0142 <a name="_sub4" href="#_subfunctions" class="code">function edit_profondeur_Callback(hObject, eventdata, handles)</a>
+0143 <span class="comment">% hObject    handle to edit_profondeur (see GCBO)</span>
+0144 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0145 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0146 
+0147 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_profondeur as text</span>
+0148 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_profondeur as a double</span>
+0149 
+0150 
+0151 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0152 <a name="_sub5" href="#_subfunctions" class="code">function edit_profondeur_CreateFcn(hObject, eventdata, handles)</a>
+0153 <span class="comment">% hObject    handle to edit_profondeur (see GCBO)</span>
+0154 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0155 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0156 
+0157 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0158 <span class="comment">%       See ISPC and COMPUTER.</span>
+0159 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0160     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0161 <span class="keyword">end</span>
+0162 
+0163 
+0164 
+0165 <a name="_sub6" href="#_subfunctions" class="code">function edit_decimation_Callback(hObject, eventdata, handles)</a>
+0166 <span class="comment">% hObject    handle to edit_decimation (see GCBO)</span>
+0167 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0168 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0169 
+0170 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_decimation as text</span>
+0171 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_decimation as a double</span>
+0172 
+0173 
+0174 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0175 <a name="_sub7" href="#_subfunctions" class="code">function edit_decimation_CreateFcn(hObject, eventdata, handles)</a>
+0176 <span class="comment">% hObject    handle to edit_decimation (see GCBO)</span>
+0177 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0178 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0179 
+0180 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0181 <span class="comment">%       See ISPC and COMPUTER.</span>
+0182 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0183     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0184 <span class="keyword">end</span>
+0185 
+0186 
+0187 
+0188 <a name="_sub8" href="#_subfunctions" class="code">function edit_adress_Callback(hObject, eventdata, handles)</a>
+0189 <span class="comment">% hObject    handle to edit_adress (see GCBO)</span>
+0190 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0191 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0192 
+0193 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_adress as text</span>
+0194 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_adress as a double</span>
+0195 
+0196 
+0197 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0198 <a name="_sub9" href="#_subfunctions" class="code">function edit_adress_CreateFcn(hObject, eventdata, handles)</a>
+0199 <span class="comment">% hObject    handle to edit_adress (see GCBO)</span>
+0200 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0201 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0202 
+0203 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0204 <span class="comment">%       See ISPC and COMPUTER.</span>
+0205 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0206     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0207 <span class="keyword">end</span>
+0208 
+0209 guidata(hObject, handles);
+0210 
+0211 <a name="_sub10" href="#_subfunctions" class="code">function edit_minfreq_Callback(hObject, eventdata, handles)</a>
+0212 <span class="comment">% hObject    handle to edit_minfreq (see GCBO)</span>
+0213 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0214 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0215 
+0216 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_minfreq as text</span>
+0217 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_minfreq as a double</span>
+0218 
+0219 
+0220 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0221 <a name="_sub11" href="#_subfunctions" class="code">function edit_minfreq_CreateFcn(hObject, eventdata, handles)</a>
+0222 <span class="comment">% hObject    handle to edit_minfreq (see GCBO)</span>
+0223 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0224 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0225 
+0226 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0227 <span class="comment">%       See ISPC and COMPUTER.</span>
+0228 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0229     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0230 <span class="keyword">end</span>
+0231 
+0232 
+0233 
+0234 <a name="_sub12" href="#_subfunctions" class="code">function edit_maxfreq_Callback(hObject, eventdata, handles)</a>
+0235 <span class="comment">% hObject    handle to edit_maxfreq (see GCBO)</span>
+0236 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0237 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0238 
+0239 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_maxfreq as text</span>
+0240 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_maxfreq as a double</span>
+0241 
+0242 
+0243 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0244 <a name="_sub13" href="#_subfunctions" class="code">function edit_maxfreq_CreateFcn(hObject, eventdata, handles)</a>
+0245 <span class="comment">% hObject    handle to edit_maxfreq (see GCBO)</span>
+0246 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0247 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0248 
+0249 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0250 <span class="comment">%       See ISPC and COMPUTER.</span>
+0251 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0252     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0253 <span class="keyword">end</span>
+0254 
+0255 
+0256 <span class="comment">% --- Executes on button press in pushbutton_scan.</span>
+0257 <a name="_sub14" href="#_subfunctions" class="code">function pushbutton_scan_Callback(hObject, eventdata, handles)</a>
+0258 <span class="comment">% hObject    handle to pushbutton_scan (see GCBO)</span>
+0259 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0260 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0261 
+0262 <span class="comment">%amp  =0.0002;</span>
+0263 freq0=str2double(get(handles.edit_freq_min_scan,<span class="string">'String'</span>));
+0264 freqm=str2double(get(handles.edit_freq_max_scan,<span class="string">'String'</span>));
+0265 df   =str2double(get(handles.edit_step_scan,<span class="string">'String'</span>));
+0266 
+0267 ff   = [freq0 :df:freqm];
+0268 
+0269 
+0270 freq_scan=ff;
+0271 setappdata(handles.figure1, <span class="string">'amp_scan'</span>,[]);
+0272 
+0273 tango_write_attribute2(<span class="string">'ANS/RF/MasterClock'</span>,<span class="string">'phaseFrequency'</span>,freq0);pause(2)
+0274 
+0275 <span class="keyword">for</span> fs=ff
+0276    
+0277     tango_write_attribute2(<span class="string">'ANS/RF/MasterClock'</span>,<span class="string">'phaseFrequency'</span>,fs*1000);
+0278     
+0279     pause(2)
+0280     temp=tango_read_attribute2(<span class="string">'ANS/RF/MasterClock'</span>,<span class="string">'phaseFrequency'</span>);freq=temp.value(1);
+0281     set(handles.edit_freq,<span class="string">'String'</span>,num2str(freq))
+0282     temp=tango_read_attribute2(<span class="string">'ANS/RF/MasterClock'</span>,<span class="string">'phaseVariation'</span>);amp=temp.value(1);
+0283     set(handles.edit_amp,<span class="string">'String'</span>,num2str(amp))
+0284     
+0285     <a href="#_sub3" class="code" title="subfunction pushbutton_plot_Callback(hObject, eventdata, handles)">pushbutton_plot_Callback</a>(hObject, eventdata, handles);
+0286     
+0287 <span class="keyword">end</span>
+0288 
+0289 amp_scan= getappdata(handles.figure1, <span class="string">'amp_scan'</span>);
+0290 minfreq=str2double(get(handles.edit_minfreq,<span class="string">'String'</span>));
+0291 maxfreq=str2double(get(handles.edit_maxfreq,<span class="string">'String'</span>));
+0292 
+0293 plot(freq_scan,amp_scan,<span class="string">'-ob'</span>)
+0294 <span class="comment">%xaxis([minfreq maxfreq]);</span>
+0295 grid on
+0296 xlabel(<span class="string">'Frequency Hz'</span>)
+0297 
+0298 [amps,ind]=max(amp_scan);
+0299 tunes=freq_scan(ind);
+0300 set(handles.edit_tune,<span class="string">'String'</span>,num2str(tunes))
+0301 
+0302 
+0303 
+0304 <span class="comment">% Update handles structure</span>
+0305 guidata(handles.pushbutton_scan, handles);
+0306 
+0307 <a name="_sub15" href="#_subfunctions" class="code">function edit_freq_min_scan_Callback(hObject, eventdata, handles)</a>
+0308 <span class="comment">% hObject    handle to edit_freq_min_scan (see GCBO)</span>
+0309 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0310 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0311 
+0312 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_freq_min_scan as text</span>
+0313 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_freq_min_scan as a double</span>
+0314 
+0315 
+0316 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0317 <a name="_sub16" href="#_subfunctions" class="code">function edit_freq_min_scan_CreateFcn(hObject, eventdata, handles)</a>
+0318 <span class="comment">% hObject    handle to edit_freq_min_scan (see GCBO)</span>
+0319 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0320 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0321 
+0322 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0323 <span class="comment">%       See ISPC and COMPUTER.</span>
+0324 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0325     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0326 <span class="keyword">end</span>
+0327 
+0328 
+0329 
+0330 <a name="_sub17" href="#_subfunctions" class="code">function edit_freq_max_scan_Callback(hObject, eventdata, handles)</a>
+0331 <span class="comment">% hObject    handle to edit_freq_max_scan (see GCBO)</span>
+0332 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0333 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0334 
+0335 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_freq_max_scan as text</span>
+0336 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_freq_max_scan as a double</span>
+0337 
+0338 
+0339 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0340 <a name="_sub18" href="#_subfunctions" class="code">function edit_freq_max_scan_CreateFcn(hObject, eventdata, handles)</a>
+0341 <span class="comment">% hObject    handle to edit_freq_max_scan (see GCBO)</span>
+0342 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0343 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0344 
+0345 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0346 <span class="comment">%       See ISPC and COMPUTER.</span>
+0347 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0348     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0349 <span class="keyword">end</span>
+0350 
+0351 
+0352 
+0353 <a name="_sub19" href="#_subfunctions" class="code">function edit_step_scan_Callback(hObject, eventdata, handles)</a>
+0354 <span class="comment">% hObject    handle to edit_step_scan (see GCBO)</span>
+0355 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0356 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0357 
+0358 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_step_scan as text</span>
+0359 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_step_scan as a double</span>
+0360 
+0361 
+0362 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0363 <a name="_sub20" href="#_subfunctions" class="code">function edit_step_scan_CreateFcn(hObject, eventdata, handles)</a>
+0364 <span class="comment">% hObject    handle to edit_step_scan (see GCBO)</span>
+0365 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0366 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0367 
+0368 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0369 <span class="comment">%       See ISPC and COMPUTER.</span>
+0370 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0371     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0372 <span class="keyword">end</span>
+0373 
+0374 
+0375 <span class="comment">% --- Executes on button press in pushbutton_modulationON.</span>
+0376 <a name="_sub21" href="#_subfunctions" class="code">function pushbutton_modulationON_Callback(hObject, eventdata, handles)</a>
+0377 <span class="comment">% hObject    handle to pushbutton_modulationON (see GCBO)</span>
+0378 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0379 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0380 
+0381 
+0382 tango_command_inout2(<span class="string">'ANS/RF/MasterClock'</span>,<span class="string">'PhaseModulationON'</span>);
+0383 
+0384 <span class="comment">% --- Executes on button press in pushbutton_modulationOFF.</span>
+0385 <a name="_sub22" href="#_subfunctions" class="code">function pushbutton_modulationOFF_Callback(hObject, eventdata, handles)</a>
+0386 <span class="comment">% hObject    handle to pushbutton_modulationOFF (see GCBO)</span>
+0387 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0388 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0389 
+0390 tango_command_inout2(<span class="string">'ANS/RF/MasterClock'</span>,<span class="string">'PhaseModulationOFF'</span>);
+0391 
+0392 
+0393 
+0394 <a name="_sub23" href="#_subfunctions" class="code">function edit_amp_Callback(hObject, eventdata, handles)</a>
+0395 <span class="comment">% hObject    handle to edit_amp (see GCBO)</span>
+0396 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0397 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0398 
+0399 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_amp as text</span>
+0400 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_amp as a double</span>
+0401 
+0402 
+0403 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0404 <a name="_sub24" href="#_subfunctions" class="code">function edit_amp_CreateFcn(hObject, eventdata, handles)</a>
+0405 <span class="comment">% hObject    handle to edit_amp (see GCBO)</span>
+0406 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0407 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0408 
+0409 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0410 <span class="comment">%       See ISPC and COMPUTER.</span>
+0411 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0412     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0413 <span class="keyword">end</span>
+0414 
+0415 
+0416 
+0417 <a name="_sub25" href="#_subfunctions" class="code">function edit_freq_Callback(hObject, eventdata, handles)</a>
+0418 <span class="comment">% hObject    handle to edit_freq (see GCBO)</span>
+0419 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0420 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0421 
+0422 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_freq as text</span>
+0423 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_freq as a double</span>
+0424 
+0425 
+0426 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0427 <a name="_sub26" href="#_subfunctions" class="code">function edit_freq_CreateFcn(hObject, eventdata, handles)</a>
+0428 <span class="comment">% hObject    handle to edit_freq (see GCBO)</span>
+0429 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0430 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0431 
+0432 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0433 <span class="comment">%       See ISPC and COMPUTER.</span>
+0434 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0435     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0436 <span class="keyword">end</span>
+0437 
+0438 
+0439 
+0440 <a name="_sub27" href="#_subfunctions" class="code">function edit_tune_Callback(hObject, eventdata, handles)</a>
+0441 <span class="comment">% hObject    handle to edit_tune (see GCBO)</span>
+0442 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0443 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0444 
+0445 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_tune as text</span>
+0446 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_tune as a double</span>
+0447 
+0448 
+0449 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0450 <a name="_sub28" href="#_subfunctions" class="code">function edit_tune_CreateFcn(hObject, eventdata, handles)</a>
+0451 <span class="comment">% hObject    handle to edit_tune (see GCBO)</span>
+0452 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0453 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0454 
+0455 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0456 <span class="comment">%       See ISPC and COMPUTER.</span>
+0457 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0458     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0459 <span class="keyword">end</span>
+0460 
+0461</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plotidfftable2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plotidfftable2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/plotidfftable2.html	(revision 17)
@@ -0,0 +1,230 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plotidfftable2</title>
+  <meta name="keywords" content="plotidfftable2">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; plotidfftable2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>plotidfftable2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function ffcompare </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function ffcompare</a>
+0002 
+0003 
+0004 BLeffHCM = 410;  <span class="comment">% gauss cm / amp;</span>
+0005 BLeffVCM = 171;  <span class="comment">% gauss cm / amp;</span>
+0006 Leff = 55;       <span class="comment">% cm</span>
+0007 labelmat = [];
+0008 
+0009 DirStart = pwd;
+0010 gotodata
+0011 cd gaptrack
+0012 cd archive
+0013 
+0014 figure
+0015 ha=subplot(2,2,1);
+0016 hb=subplot(2,2,2);
+0017 hc=subplot(2,2,3);
+0018 hd=subplot(2,2,4);
+0019 
+0020 SectorIn = menu(<span class="string">'Which Sector?'</span>,<span class="string">'4'</span>,<span class="string">'5'</span>,<span class="string">'7'</span>,<span class="string">'8'</span>,<span class="string">'9'</span>,<span class="string">'10'</span>,<span class="string">'12'</span>,<span class="string">'Cancel'</span>);   
+0021 <span class="keyword">if</span> SectorIn == 1
+0022    Sector = 4;
+0023 <span class="keyword">elseif</span> SectorIn == 2
+0024    Sector = 5;
+0025 <span class="keyword">elseif</span> SectorIn == 3
+0026    Sector = 7;
+0027 <span class="keyword">elseif</span> SectorIn == 4
+0028    Sector = 8;
+0029 <span class="keyword">elseif</span> SectorIn == 5
+0030    Sector = 9;
+0031 <span class="keyword">elseif</span> SectorIn == 6
+0032    Sector = 10;
+0033 <span class="keyword">elseif</span> SectorIn == 7
+0034    Sector = 12;
+0035 <span class="keyword">elseif</span> SectorIn == 8
+0036    <span class="keyword">return</span>
+0037 <span class="keyword">end</span>
+0038 <span class="keyword">if</span> Sector == 0
+0039    <span class="keyword">return</span>;
+0040 <span class="keyword">end</span>
+0041 
+0042 <span class="keyword">for</span> i = 1:100000
+0043    <span class="comment">% Load the table1</span>
+0044    [Datafn, DirStr] = uigetfile(sprintf(<span class="string">'id%02d*.mat'</span>, Sector), <span class="string">'Choose the desired feed forward file (Cancel to stop).'</span>);
+0045    <span class="keyword">if</span> Datafn == 0
+0046       <span class="comment">% Return of original directory</span>
+0047       eval([<span class="string">'cd '</span>, DirStart]);
+0048       
+0049       <span class="comment">%subplot(2,2,1);</span>
+0050       axes(ha);
+0051       title(<span class="string">''</span>);
+0052       hold off
+0053       axis tight
+0054       <span class="comment">%subplot(2,2,2);</span>
+0055       axes(hb);
+0056       title(<span class="string">''</span>);
+0057       hold off
+0058       axis tight
+0059       <span class="comment">%subplot(2,2,3);</span>
+0060       axes(hc);
+0061       title(<span class="string">''</span>);
+0062       hold off
+0063       axis tight
+0064       <span class="comment">%subplot(2,2,4);</span>
+0065       axes(hd);
+0066       title(<span class="string">''</span>);
+0067       hold off
+0068       axis tight
+0069       orient landscape
+0070       
+0071       h=addlabel(.5,1,sprintf(<span class="string">'Sector %d Feed Forward Tables'</span>, Sector1),12);
+0072       set(h,<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>);
+0073       
+0074       <span class="keyword">for</span> j = 1:size(labelmat,1)
+0075          h=addlabel(1,1-.02*(j-1),labelmat(j,:),7);
+0076          set(h,<span class="string">'color'</span>,labelcmat(j,:));
+0077          <span class="comment">%set(h(j),'EraseMode','background');</span>
+0078          <span class="comment">%set(h(j),'EraseMode','Normal');</span>
+0079          <span class="comment">%set(h(j),'EraseMode','xor');</span>
+0080       <span class="keyword">end</span>
+0081       
+0082       <span class="keyword">return</span>
+0083    <span class="keyword">end</span>
+0084    
+0085    
+0086    eval([<span class="string">'load '</span>, DirStr, Datafn]);
+0087    h1 = tableX;
+0088    v1 = tableY;
+0089    Sector1 = str2num(Datafn(3:4));
+0090    GeVnum1 = str2num(Datafn(6:7))/10;
+0091    
+0092    
+0093    cmat = get(gca,<span class="string">'ColorOrder'</span>);
+0094    icolor=rem(i-1,size(cmat,1))+1;
+0095    
+0096    <span class="comment">%ha=subplot(2,2,1);</span>
+0097    axes(ha);
+0098    plot(h1(:,1),h1(:,2),<span class="string">'color'</span>,cmat(icolor,:));
+0099    xlabel(<span class="string">'Gap Position [mm]'</span>);
+0100    ylabel(sprintf(<span class="string">'HCM(%d,%d) [amps]'</span>,Sector1-1,4));
+0101    title(sprintf(<span class="string">'Sector %d Table at %.1f GeV'</span>, Sector1, GeVnum1));
+0102    hold on
+0103    
+0104    <span class="comment">%hb=subplot(2,2,3);</span>
+0105    axes(hb);
+0106    plot(h1(:,1),h1(:,3),<span class="string">'color'</span>,cmat(icolor,:));
+0107    xlabel(<span class="string">'Gap Position [mm]'</span>);
+0108    ylabel(sprintf(<span class="string">'HCM(%d,%d) [amps]'</span>,Sector1,1));
+0109    title(sprintf(<span class="string">'Sector %d Table at %.1f GeV'</span>, Sector1, GeVnum1));
+0110    hold on
+0111    
+0112    <span class="comment">%hc=subplot(2,2,2);</span>
+0113    axes(hc);
+0114    plot(v1(:,1),v1(:,2),<span class="string">'color'</span>,cmat(icolor,:));
+0115    xlabel(<span class="string">'Gap Position [mm]'</span>);
+0116    ylabel(sprintf(<span class="string">'VCM(%d,%d) [amps]'</span>,Sector1-1,4));
+0117    title(sprintf(<span class="string">'Sector %d Table at %.1f GeV'</span>, Sector1, GeVnum1));
+0118    hold on
+0119    
+0120    <span class="comment">%hd=subplot(2,2,4);</span>
+0121    axes(hd);
+0122    plot(v1(:,1),v1(:,3),<span class="string">'color'</span>,cmat(icolor,:));
+0123    xlabel(<span class="string">'Gap Position [mm]'</span>);
+0124    ylabel(sprintf(<span class="string">'VCM(%d,%d) [amps]'</span>,Sector1,1));
+0125    title(sprintf(<span class="string">'Sector %d Table at %.1f GeV'</span>, Sector1, GeVnum1));
+0126    hold on
+0127    
+0128    fprintf(<span class="string">'  %d.  %s  Sector %d  %.1f GeV\n'</span>, i, FFDate, Sector1, GeVnum1);
+0129    
+0130    labelmat = strvcat(labelmat, sprintf(<span class="string">'%s, Sector %d, %.1f GeV'</span>, FFDate, Sector1, GeVnum1));
+0131    labelcmat(i,:) = cmat(icolor,:);
+0132    <span class="comment">%h(i)=addlabel(1,1-.03*i,sprintf('%s  Sector %d  %.1f GeV', FFDate, Sector1, GeVnum1),7);</span>
+0133    <span class="comment">%set(h(i),'color',cmat(icolor,:));</span>
+0134    
+0135    <span class="keyword">for</span> j = 1:i
+0136       h=addlabel(1,1-.02*(j-1),labelmat(j,:),7);
+0137       set(h,<span class="string">'color'</span>,labelcmat(j,:));
+0138       <span class="comment">%set(h(j),'EraseMode','background');</span>
+0139       <span class="comment">%set(h(j),'EraseMode','Normal');</span>
+0140       <span class="comment">%set(h(j),'EraseMode','xor');</span>
+0141    <span class="keyword">end</span>
+0142    
+0143    drawnow
+0144 <span class="keyword">end</span>
+0145 
+0146 
+0147 
+0148 <span class="keyword">return</span>
+0149 
+0150 
+0151 
+0152 
+0153 
+0154 <span class="comment">% Load the table2</span>
+0155 [Datafn, DirStr] = uigetfile(<span class="string">'*.mat'</span>, <span class="string">'Choose the desired feed forward file.'</span>);
+0156 eval([<span class="string">'load '</span>, DirStr, Datafn]);
+0157 h1 = tableX;
+0158 v1 = tableY;
+0159 Sector2 = str2num(Datafn(3:4));
+0160 GeVnum2 = str2num(Datafn(6:7))/10;
+0161 
+0162 
+0163 subplot(2,1,1);
+0164 plot(h1(:,1),h1(:,2),<span class="string">'-.r'</span>, h1(:,1),h1(:,3),<span class="string">':g'</span>);
+0165 hold off;
+0166 xlabel(<span class="string">'Gap Position [mm]'</span>);
+0167 ylabel(<span class="string">'Horizontal Corrector Strength [amps]'</span>);
+0168 title([<span class="string">'Insertion Device Feedfoward Tables'</span>]);
+0169 legend([<span class="string">'HCM4, Sector '</span>,num2str(Sector1-1),<span class="string">'  '</span>, num2str(GeVnum1), <span class="string">' GeV'</span>], <span class="keyword">...</span>
+0170        [<span class="string">'HCM1, Sector '</span>,num2str(Sector1),<span class="string">'  '</span>,   num2str(GeVnum1), <span class="string">' GeV'</span>], <span class="keyword">...</span>
+0171        [<span class="string">'HCM4, Sector '</span>,num2str(Sector2-1),<span class="string">'  '</span>, num2str(GeVnum2), <span class="string">' GeV'</span>], <span class="keyword">...</span>
+0172        [<span class="string">'HCM1, Sector '</span>,num2str(Sector2),<span class="string">'  '</span>,   num2str(GeVnum2), <span class="string">' GeV'</span>]);
+0173 
+0174 
+0175 subplot(2,1,2);
+0176 plot(v1(:,1),v1(:,2),<span class="string">'-.r'</span>, v1(:,1),v1(:,3),<span class="string">':g'</span>);
+0177 hold off;
+0178 xlabel(<span class="string">'Gap Position [mm]'</span>);
+0179 ylabel(<span class="string">'Vertical Corrector Strength [amps]'</span>);
+0180 title([<span class="string">'Insertion Device Feedfoward Tables'</span>]);
+0181 legend([<span class="string">'VCM4, Sector '</span>,num2str(Sector1-1),<span class="string">'  '</span>, num2str(GeVnum1), <span class="string">' GeV'</span>], <span class="keyword">...</span>
+0182        [<span class="string">'VCM1, Sector '</span>,num2str(Sector1),<span class="string">'  '</span>,   num2str(GeVnum1), <span class="string">' GeV'</span>], <span class="keyword">...</span>
+0183        [<span class="string">'VCM4, Sector '</span>,num2str(Sector2-1),<span class="string">'  '</span>, num2str(GeVnum2), <span class="string">' GeV'</span>], <span class="keyword">...</span>
+0184        [<span class="string">'VCM1, Sector '</span>,num2str(Sector2),<span class="string">'  '</span>,   num2str(GeVnum2), <span class="string">' GeV'</span>]);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/profibus_sync.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/profibus_sync.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/profibus_sync.html	(revision 17)
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of profibus_sync</title>
+  <meta name="keywords" content="profibus_sync">
+  <meta name="description" content="PROFIBUS_SYNC - Use Sync Profibus mecanism for Family">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; profibus_sync.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>profibus_sync
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PROFIBUS_SYNC - Use Sync Profibus mecanism for Family</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function profibus_sync(Family) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">PROFIBUS_SYNC - Use Sync Profibus mecanism for Family
+
+  INPUTS
+  1. Family to synch
+
+  See Also <a href="profibus_unsyncall.html" class="code" title="function profibus_unsyncall(Family)">profibus_unsyncall</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function profibus_sync(Family)</a>
+0002 <span class="comment">%PROFIBUS_SYNC - Use Sync Profibus mecanism for Family</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. Family to synch</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  See Also profibus_unsyncall</span>
+0008 
+0009 <span class="keyword">if</span> isfamily(Family)
+0010     <span class="comment">%</span>
+0011 <span class="keyword">end</span>
+0012 
+0013 BoardNumber = getfamilydata(Family,<span class="string">'Profibus'</span>,<span class="string">'BoardNumber'</span>);
+0014 Group       = getfamilydata(Family,<span class="string">'Profibus'</span>,<span class="string">'Group'</span>);
+0015 devProfibus = getfamilydata(Family,<span class="string">'Profibus'</span>,<span class="string">'DeviceName'</span>);
+0016 
+0017 tango_command_inout2(devProfibus,<span class="string">'Sync'</span>,[BoardNumber, Group]);
+0018 
+0019 
+0020 
+0021 <span class="comment">% dev = 'ANS/AE/DP.QP';</span>
+0022 <span class="comment">% %dev = 'ANS/AE/DP.COR';</span>
+0023 <span class="comment">%</span>
+0024 <span class="comment">% tango_command_inout2(dev,'GetBoardInfo')</span>
+0025 <span class="comment">%</span>
+0026 <span class="comment">% groupid = int32(1);</span>
+0027 <span class="comment">% boardid = int32(1);</span>
+0028 <span class="comment">%</span>
+0029 <span class="comment">% tango_command_inout2(dev,'Sync',[boardid, groupid]);</span>
+0030 <span class="comment">%</span>
+0031 <span class="comment">% %%</span>
+0032 <span class="comment">% tango_command_inout2(dev,'UnSyncAll');</span>
+0033 <span class="comment">%</span>
+0034 <span class="comment">% %%</span>
+0035 <span class="comment">% %                                       %boardnumber %DPAddress</span>
+0036 <span class="comment">% tango_command_inout2(dev,'GetSlaveDiag',[int32(1),int32(101)])</span>
+0037 <span class="comment">%</span>
+0038 <span class="comment">% %</span>
+0039 <span class="comment">% end</span>
+0040 
+0041</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/profibus_unsyncall.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/profibus_unsyncall.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/profibus_unsyncall.html	(revision 17)
@@ -0,0 +1,99 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of profibus_unsyncall</title>
+  <meta name="keywords" content="profibus_unsyncall">
+  <meta name="description" content="PROFIBUS_SYNC - Use UnSync Profibus mecanism for Family">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; profibus_unsyncall.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>profibus_unsyncall
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>PROFIBUS_SYNC - Use UnSync Profibus mecanism for Family</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function profibus_unsyncall(Family) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">PROFIBUS_SYNC - Use UnSync Profibus mecanism for Family
+
+  INPUTS
+  1. Family to synch
+
+  NOTES
+  1. In this version unsynch all groups ANS all Boardnumber for a given
+  Profibus server
+
+  See Also <a href="profibus_sync.html" class="code" title="function profibus_sync(Family)">profibus_sync</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function profibus_unsyncall(Family)</a>
+0002 <span class="comment">%PROFIBUS_SYNC - Use UnSync Profibus mecanism for Family</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. Family to synch</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  NOTES</span>
+0008 <span class="comment">%  1. In this version unsynch all groups ANS all Boardnumber for a given</span>
+0009 <span class="comment">%  Profibus server</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  See Also profibus_sync</span>
+0012 
+0013 <span class="keyword">if</span> isfamily(Family)
+0014     <span class="comment">%</span>
+0015 <span class="keyword">end</span>
+0016 
+0017 BoardNumber = getfamilydata(Family,<span class="string">'Profibus'</span>,<span class="string">'BoardNumber'</span>);
+0018 Group       = getfamilydata(Family,<span class="string">'Profibus'</span>,<span class="string">'Group'</span>);
+0019 devProfibus = getfamilydata(Family,<span class="string">'Profibus'</span>,<span class="string">'DeviceName'</span>);
+0020 
+0021 tango_command_inout2(devProfibus,<span class="string">'UnSyncAll'</span>);
+0022 
+0023 
+0024 <span class="comment">% dev = 'ANS/AE/DP.QP';</span>
+0025 <span class="comment">% %dev = 'ANS/AE/DP.COR';</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% tango_command_inout2(dev,'GetBoardInfo')</span>
+0028 <span class="comment">%</span>
+0029 <span class="comment">% groupid = int32(1);</span>
+0030 <span class="comment">% boardid = int32(1);</span>
+0031 <span class="comment">%</span>
+0032 <span class="comment">% tango_command_inout2(dev,'Sync',[boardid, groupid]);</span>
+0033 <span class="comment">%</span>
+0034 <span class="comment">% %%</span>
+0035 <span class="comment">% tango_command_inout2(dev,'UnSyncAll');</span>
+0036 <span class="comment">%</span>
+0037 <span class="comment">% %%</span>
+0038 <span class="comment">% %                                       %boardnumber %DPAddress</span>
+0039 <span class="comment">% tango_command_inout2(dev,'GetSlaveDiag',[int32(1),int32(101)])</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">% %</span>
+0042 <span class="comment">% end</span>
+0043 
+0044</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/rampdownsextu.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/rampdownsextu.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/rampdownsextu.html	(revision 17)
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of rampdownsextu</title>
+  <meta name="keywords" content="rampdownsextu">
+  <meta name="description" content="%">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; rampdownsextu.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>rampdownsextu
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>%</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">%</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">%%</span>
+0002 I1 = getsp(<span class="string">'S1'</span>);
+0003 I2 = getsp(<span class="string">'S2'</span>);
+0004 I3 = getsp(<span class="string">'S3'</span>);
+0005 I4 = getsp(<span class="string">'S4'</span>);
+0006 I5 = getsp(<span class="string">'S5'</span>);
+0007 I6 = getsp(<span class="string">'S6'</span>);
+0008 I7 = getsp(<span class="string">'S7'</span>);
+0009 I8 = getsp(<span class="string">'S8'</span>);
+0010 I9 = getsp(<span class="string">'S9'</span>);
+0011 I10 = getsp(<span class="string">'S10'</span>);
+0012 
+0013 <span class="comment">%%</span>
+0014 frac = 0.5;
+0015 
+0016 setsp(<span class="string">'S1'</span>,I1*frac);
+0017 setsp(<span class="string">'S2'</span>,I2*frac);
+0018 setsp(<span class="string">'S3'</span>,I3*frac);
+0019 setsp(<span class="string">'S4'</span>,I4*frac);
+0020 setsp(<span class="string">'S5'</span>,I5*frac);
+0021 setsp(<span class="string">'S6'</span>,I6*frac);
+0022 setsp(<span class="string">'S7'</span>,I7*frac);
+0023 setsp(<span class="string">'S8'</span>,I8*frac);
+0024 setsp(<span class="string">'S9'</span>,I9*frac);
+0025 setsp(<span class="string">'S10'</span>,I10*frac);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/readSOLEILresponse.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/readSOLEILresponse.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/readSOLEILresponse.html	(revision 17)
@@ -0,0 +1,104 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of readSOLEILresponse</title>
+  <meta name="keywords" content="readSOLEILresponse">
+  <meta name="description" content="Reads SOLEIL response matrix from file (or .mat file)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; readSOLEILresponse.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>readSOLEILresponse
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>Reads SOLEIL response matrix from file (or .mat file)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = ReadSOLEILResponse(DirSpec,FileName,mode) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> Reads SOLEIL response matrix from file (or .mat file)
+12/09/03 ib and ic return full complement</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = ReadSOLEILResponse(DirSpec,FileName,mode)</a>
+0002 <span class="comment">% Reads SOLEIL response matrix from file (or .mat file)</span>
+0003 <span class="comment">%12/09/03 ib and ic return full complement</span>
+0004 
+0005 <span class="comment">%</span>
+0006 <span class="comment">% Written by Spear People</span>
+0007 <span class="comment">% Adapted by Laurent S. Nadolski</span>
+0008 
+0009 DirSpec=char(DirSpec);
+0010 FileName=char(FileName);
+0011 mode=char(mode);
+0012 
+0013 BPMxFamily = <span class="string">'BPMx'</span>;
+0014 BPMzFamily = <span class="string">'BPMz'</span>;
+0015 HCORFamily = <span class="string">'HCOR'</span>;
+0016 VCORFamily = <span class="string">'VCOR'</span>;
+0017 
+0018 disp([<span class="string">'loading response matrix file '</span> [DirSpec FileName]]);
+0019 
+0020 temp = getbpmresp(BPMxFamily, BPMzFamily, HCORFamily, VCORFamily, <span class="string">'Struct'</span>);
+0021 
+0022 <span class="comment">%=============================</span>
+0023 <span class="comment">%load horizontal rsp structure</span>
+0024 <span class="comment">%=============================</span>
+0025 rsp(1).ib=dev2elem(BPMxFamily,temp(1,1).Monitor.DeviceList);     <span class="comment">% horizontal BPM index list</span>
+0026 bpmelem=dev2elem(BPMxFamily,getlist(BPMxFamily,1));              <span class="comment">% valid BPM element list</span>
+0027 ntbpm=size(getlist(BPMxFamily,0),1);                             <span class="comment">% total number of horizontal BPMs</span>
+0028 
+0029 rsp(1).ic=dev2elem(HCORFamily,temp(1,1).Actuator.DeviceList);    <span class="comment">% horizontal corrector index list</span>
+0030 corelem=dev2elem(HCORFamily,getlist(HCORFamily,1));              <span class="comment">% valid COR element list</span>
+0031 ntcor=size(getlist(HCORFamily,0),1);                             <span class="comment">% total number of horizontal correctors</span>
+0032 
+0033 rsp(1).c=zeros(ntbpm,ntcor);                                     <span class="comment">% generate full size matrix</span>
+0034 rsp(1).c(:) = deal(NaN);                                         <span class="comment">% load matrix with NaNs</span>
+0035 rsp(1).c(bpmelem,corelem)=temp(1,1).Data;                        <span class="comment">% load valid data</span>
+0036 
+0037 rsp(1).cur=temp(1,1).ActuatorDelta;                              <span class="comment">% horizontal corrector currents</span>
+0038 
+0039 <span class="comment">%=============================</span>
+0040 <span class="comment">%load vertical rsp structure</span>
+0041 <span class="comment">%=============================</span>
+0042 
+0043 rsp(2).ib=dev2elem(BPMzFamily,temp(2,2).Monitor.DeviceList);     <span class="comment">% vertical BPM index list</span>
+0044 bpmelem=dev2elem(BPMzFamily,getlist(BPMzFamily,1));              <span class="comment">% valid BPM element list</span>
+0045 ntbpm=size(getlist(BPMzFamily,0),1);                             <span class="comment">% total number of vertical BPMs</span>
+0046 
+0047 rsp(2).ic=dev2elem(VCORFamily,temp(2,2).Actuator.DeviceList);    <span class="comment">% vertical corrector index list</span>
+0048 corelem=dev2elem(VCORFamily,getlist(VCORFamily,1));              <span class="comment">% valid COR element list</span>
+0049 ntcor=size(getlist(VCORFamily,0),1);                             <span class="comment">% total number of vertical correctors</span>
+0050 
+0051 rsp(2).c=zeros(ntbpm,ntcor);                                     <span class="comment">% generate full size matrix</span>
+0052 rsp(2).c(:) = deal(NaN);                                         <span class="comment">% load matrix with NaNs</span>
+0053 rsp(2).c(bpmelem,corelem)=temp(2,2).Data;                        <span class="comment">% load valid data</span>
+0054 
+0055 rsp(2).cur=temp(2,2).ActuatorDelta;                            <span class="comment">%vertical corrector currents</span>
+0056 
+0057 varargout{1}=rsp;</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/reglage_pos_energie_v3.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/reglage_pos_energie_v3.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/reglage_pos_energie_v3.html	(revision 17)
@@ -0,0 +1,1867 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of reglage_pos_energie_v3</title>
+  <meta name="keywords" content="reglage_pos_energie_v3">
+  <meta name="description" content="REGLAGE_POS_ENERGIE_V3 M-file for reglage_pos_energie_v3.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; reglage_pos_energie_v3.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>reglage_pos_energie_v3
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>REGLAGE_POS_ENERGIE_V3 M-file for reglage_pos_energie_v3.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = reglage_pos_energie_v3(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> REGLAGE_POS_ENERGIE_V3 M-file for reglage_pos_energie_v3.fig
+      REGLAGE_POS_ENERGIE_V3, by itself, creates a new REGLAGE_POS_ENERGIE_V3 or raises the existing
+      singleton*.
+
+      H = REGLAGE_POS_ENERGIE_V3 returns the handle to a new REGLAGE_POS_ENERGIE_V3 or the handle to
+      the existing singleton*.
+
+      REGLAGE_POS_ENERGIE_V3('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in REGLAGE_POS_ENERGIE_V3.M with the given input arguments.
+
+      REGLAGE_POS_ENERGIE_V3('Property','Value',...) creates a new REGLAGE_POS_ENERGIE_V3 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before reglage_pos_energie_v3_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to reglage_pos_energie_v3_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function reglage_pos_energie_v3_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = reglage_pos_energie_v3_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function fit_pushbutton1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function FileMenu_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function OpenMenuItem_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function PrintMenuItem_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function CloseMenuItem_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function popupmenu1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function popupmenu1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function K1_edit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function K1_edit1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function K1_slider1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function K1_slider1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function K2_edit2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function K2_edit2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function K2_slider2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function K2_slider2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function K3_edit3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function K3_edit3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function K3_slider3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function K3_slider3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function K4_edit4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function K4_edit4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function K4_slider4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function K4_slider4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function deltax_edit13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function deltax_edit13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function deltax_slider13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function deltax_slider13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function deltaxp_edit14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function deltaxp_edit14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function deltaxp_slider14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function deltaxp_slider14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function deltaz_edit15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function deltaz_edit15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function deltaz_slider15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function deltaz_slider15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function deltazp_edit16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function deltazp_edit16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function deltazp_slider16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function deltazp_slider16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub43" class="code">function bump_edit21_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function bump_edit21_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function BPM1_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function BPM2_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function BPM3_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function BPM4_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function BPM5_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function BPM6_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function BPM7_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function BPM8_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function BPM9_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub54" class="code">function BPM10_checkbox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function K1_U_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function K1_U_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function K1_U_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function K1_U_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function K2_U_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function K2_U_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function K2_U_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function K2_U_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function K3_U_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function K3_U_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function K3_U_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function K3_U_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function K4_U_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function K4_U_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function K4_U_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function K4_U_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function septum_actif_a_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function septum_actif_a_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function septum_actif_a_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function septum_actif_a_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function septum_passif_a_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function septum_passif_a_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function septum_passif_a_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function septum_passif_a_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function CV4_a_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function CV4_a_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function CV4_a_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function CV4_a_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function CV5_a_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function CV5_a_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function CV5_a_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function CV5_a_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function septum_actif_U_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function septum_actif_U_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function septum_passif_U_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function septum_passif_U_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function septum_passif_U_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function septum_passif_U_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function CV4_I_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function CV4_I_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function CV4_I_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function CV4_I_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function CV5_I_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function CV5_I_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function CV5_I_slider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function CV5_I_slider_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function septum_actif_U_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function septum_actif_U_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function edit56_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function edit57_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function slider55_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function slider56_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = reglage_pos_energie_v3(varargin)</a>
+0002 <span class="comment">% REGLAGE_POS_ENERGIE_V3 M-file for reglage_pos_energie_v3.fig</span>
+0003 <span class="comment">%      REGLAGE_POS_ENERGIE_V3, by itself, creates a new REGLAGE_POS_ENERGIE_V3 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = REGLAGE_POS_ENERGIE_V3 returns the handle to a new REGLAGE_POS_ENERGIE_V3 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      REGLAGE_POS_ENERGIE_V3('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in REGLAGE_POS_ENERGIE_V3.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      REGLAGE_POS_ENERGIE_V3('Property','Value',...) creates a new REGLAGE_POS_ENERGIE_V3 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before reglage_pos_energie_v3_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to reglage_pos_energie_v3_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help reglage_pos_energie_v3</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 27-Mar-2006 11:16:06</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction reglage_pos_energie_v3_OpeningFcn(hObject, eventdata, handles, varargin)">reglage_pos_energie_v3_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = reglage_pos_energie_v3_OutputFcn(hObject, eventdata, handles)">reglage_pos_energie_v3_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 <span class="comment">% --- Executes just before reglage_pos_energie_v3 is made visible.</span>
+0047 <a name="_sub1" href="#_subfunctions" class="code">function reglage_pos_energie_v3_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0048 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0049 <span class="comment">% hObject    handle to figure</span>
+0050 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0051 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0052 <span class="comment">% varargin   command line arguments to reglage_pos_energie_v3 (see VARARGIN)</span>
+0053 
+0054 <span class="comment">% Choose default command line output for reglage_pos_energie_v3</span>
+0055 handles.output = hObject;
+0056 
+0057 
+0058 <span class="comment">% position du septum passif</span>
+0059 handles.pos_septum = -15;
+0060 
+0061 <span class="comment">% efficitï¿œ des kickers exprimï¿œe en mrad / mm de bump</span>
+0062 handles.eff_K = 0.3331; 
+0063 
+0064 <span class="comment">% button group for kickers</span>
+0065 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.05 0.84 .41 .12],<span class="keyword">...</span>
+0066     <span class="string">'Title'</span>,<span class="string">'bump mode'</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0067     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0068 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'bump symetrique'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0069     <span class="string">'pos'</span>,[10 55 140 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0070     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0071 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'bum dissymetrique couple 2 a 2'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0072     <span class="string">'pos'</span>,[10. 30. 220 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0073     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0074 u3 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'bump quelconque'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton3'</span>,<span class="keyword">...</span>
+0075     <span class="string">'pos'</span>,[10. 5.00 140 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0076     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0077 
+0078 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0079     {@<a href="#_sub42" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0080 
+0081 set(h,<span class="string">'SelectedObject'</span>,u1);  <span class="comment">% No selection</span>
+0082 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0083 
+0084 set([handles.K1_edit1,handles.K1_slider1,<span class="keyword">...</span>
+0085             handles.K2_edit2,handles.K2_slider2,<span class="keyword">...</span>
+0086             handles.K3_edit3,handles.K3_slider3,<span class="keyword">...</span>
+0087             handles.K4_edit4,handles.K4_slider4,<span class="keyword">...</span>
+0088             handles.K1_U_edit,handles.K1_U_slider,<span class="keyword">...</span>
+0089             handles.K2_U_edit,handles.K2_U_slider,<span class="keyword">...</span>
+0090             handles.K3_U_edit,handles.K3_U_slider,<span class="keyword">...</span>
+0091             handles.K4_U_edit,handles.K4_U_slider,<span class="keyword">...</span>
+0092             ],<span class="string">'Enable'</span>,<span class="string">'off'</span>)
+0093 
+0094 <span class="comment">%%%%%%%</span>
+0095 <span class="comment">% BPM</span>
+0096 <span class="comment">%%%%%%%</span>
+0097 
+0098 BPMxFamily = <span class="string">'BPMx'</span>;
+0099 BPMzFamily = <span class="string">'BPMz'</span>;
+0100 <span class="comment">% on limite la liste des BPM au dixiÃšme</span>
+0101 <span class="comment">% on tiend compte d'Ã©ventuels BPM au status = 0</span>
+0102 
+0103 nbmaxBPM = 10;
+0104 BPMxList = family2dev(BPMxFamily, 1 );
+0105 BPMxListtotal = family2dev(BPMxFamily, 0 );
+0106 BPMxList = intersect(BPMxList(1:nbmaxBPM,:),BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+0107 
+0108 BPMzList = family2dev(BPMzFamily, 1 );
+0109 BPMzListtotal = family2dev(BPMzFamily, 0 );
+0110 BPMzList = intersect(BPMzList(1:nbmaxBPM,:),BPMzListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+0111 
+0112 <span class="comment">% les Ã©ventuels BPMs au status = 0 sont inactivÃ©s et checkbox value = 0</span>
+0113 val_status = 1 - getfamilydata(<span class="string">'BPMx'</span>,<span class="string">'Status'</span>,BPMxListtotal(1:nbmaxBPM,:));
+0114 num_BPM_actif = [];
+0115 <span class="keyword">for</span> k = 1:nbmaxBPM
+0116     name = strcat(<span class="string">'BPM'</span>,num2str(k),<span class="string">'_checkbox'</span>);
+0117     <span class="keyword">if</span> val_status(k)   
+0118         set(handles.(name),<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0119         set(handles.(name),<span class="string">'Value'</span>,0);
+0120         val = 0;
+0121     <span class="keyword">else</span>
+0122         set(handles.(name),<span class="string">'Value'</span>,1);
+0123         val = 1;
+0124     <span class="keyword">end</span>
+0125     num_BPM_actif =[num_BPM_actif  val];
+0126 <span class="keyword">end</span>
+0127 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+0128 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+0129 
+0130 
+0131 <span class="comment">% initialisation des BPM estimï¿œs actifs pour la mesrue d'ï¿œnergie</span>
+0132 <span class="comment">% fonction num_BPM_actif = 1 lorsque le BPM est selectionnï¿œ, 0 sinon</span>
+0133 <span class="comment">% on active par dï¿œfaut les 5 premiers</span>
+0134 <span class="comment">% num_BPM_actif = [1 1 1 1 1 0 0 0 0 0 ];</span>
+0135 <span class="comment">% setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);</span>
+0136 <span class="comment">%</span>
+0137 <span class="comment">% set(handles.BPM1_checkbox,'Value',1);</span>
+0138 <span class="comment">% set(handles.BPM2_checkbox,'Value',1);</span>
+0139 <span class="comment">% set(handles.BPM3_checkbox,'Value',1);</span>
+0140 <span class="comment">% set(handles.BPM4_checkbox,'Value',1);</span>
+0141 <span class="comment">% set(handles.BPM5_checkbox,'Value',1);</span>
+0142 <span class="comment">% set(handles.BPM6_checkbox,'Value',0);</span>
+0143 <span class="comment">% set(handles.BPM7_checkbox,'Value',0);</span>
+0144 <span class="comment">% set(handles.BPM8_checkbox,'Value',0);</span>
+0145 <span class="comment">% set(handles.BPM9_checkbox,'Value',0);</span>
+0146 <span class="comment">% set(handles.BPM10_checkbox,'Value',0);</span>
+0147 
+0148 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0149 <span class="comment">% enregistrement de la matrice :</span>
+0150 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0151 
+0152 enregistrement = 1;
+0153 <span class="keyword">if</span> enregistrement
+0154 
+0155     <span class="keyword">global</span> THERING
+0156 
+0157     <span class="comment">% mise ï¿œ zï¿œro des courants quadrupï¿œles</span>
+0158     <span class="comment">%     setsp({'Q1','Q2','Q3',...</span>
+0159     <span class="comment">%         'Q4','Q5','Q6','Q7','Q8','Q9','Q10'},0,'Model');</span>
+0160 
+0161     tmp = family2atindex(findmemberof(<span class="string">'QUAD'</span>));
+0162     <span class="keyword">for</span> k1= 1: length(tmp)
+0163         <span class="keyword">for</span> k2=1:length(tmp{k1})
+0164             ATIndex= tmp{k1}(k2);
+0165             THERING{ATIndex}.K = 0;
+0166             THERING{ATIndex}.PolynomB(2) = 0;
+0167         <span class="keyword">end</span>
+0168     <span class="keyword">end</span>
+0169 
+0170     <span class="comment">% index des BPM</span>
+0171     index_BPM = family2atindex(<span class="string">'BPMx'</span>);
+0172     <span class="comment">%index_premier_element = family2atindex('K4');</span>
+0173     index_premier_element = family2atindex(<span class="string">'PtINJ'</span>);
+0174 
+0175     <span class="comment">% calcul de chaque matrice 6x6 du point Kicker 4 jusqu'au BPM considï¿œrï¿œ</span>
+0176     <span class="keyword">for</span> jBPM = 1:nbmaxBPM
+0177         M66 = eye(6);
+0178         <span class="keyword">for</span> i = index_premier_element:index_BPM(jBPM)
+0179             elem = THERING{i};
+0180             Melem66 = findelemm66(elem,elem.PassMethod,[0 0 0 0 0 0]');
+0181             M66 = Melem66 * M66;
+0182         <span class="keyword">end</span>
+0183         R11(jBPM) = M66(1,1);
+0184         R12(jBPM) = M66(1,2);
+0185         R15(jBPM) = M66(1,5);
+0186     <span class="keyword">end</span>
+0187     setappdata(handles.figure1,<span class="string">'R11'</span>,R11);
+0188     setappdata(handles.figure1,<span class="string">'R12'</span>,R12);
+0189     setappdata(handles.figure1,<span class="string">'R15'</span>,R15);
+0190 
+0191 
+0192 <span class="keyword">end</span>
+0193 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0194 
+0195 <span class="comment">% position des BPM acitvÃ©s</span>
+0196 s = getspos(BPMxFamily, BPMxList);
+0197 Xmax = max(s);
+0198 setappdata(handles.figure1, <span class="string">'SPosX'</span>, s);
+0199 L = getfamilydata(<span class="string">'Circumference'</span>);
+0200 <span class="keyword">if</span> isempty(L)
+0201     setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, [min(s) max(s)]);
+0202 <span class="keyword">else</span>
+0203     setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, [0 Xmax]);
+0204 <span class="keyword">end</span>
+0205 setappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>,nbmaxBPM);
+0206 
+0207 <span class="comment">% Update handles structure</span>
+0208 guidata(hObject, handles);
+0209 
+0210 <span class="comment">% This sets up the initial plot - only do when we are invisible</span>
+0211 <span class="comment">% so window can get raised using reglage_pos_energie_v3.</span>
+0212 <span class="keyword">if</span> strcmp(get(hObject,<span class="string">'Visible'</span>),<span class="string">'off'</span>)
+0213     
+0214     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0215     <span class="comment">% AXE 1</span>
+0216     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0217     
+0218     <span class="comment">% lire les valeurs courantes des kickers</span>
+0219 <span class="comment">%     val_HW14 = getam('K_INJ1');</span>
+0220 <span class="comment">%     val_HW23 = getam('K_INJ2');</span>
+0221 <span class="comment">%     val_ph14 = hw2physics('K_INJ1','Setpoint',val_HW14);</span>
+0222 <span class="comment">%     val_ph23 = hw2physics('K_INJ3','Setpoint',val_HW23);</span>
+0223 <span class="comment">%     teta1 = val_ph14(1);</span>
+0224 <span class="comment">%     teta2 = val_ph23(1);</span>
+0225 <span class="comment">%     teta3 = val_ph23(2);</span>
+0226 <span class="comment">%     teta4 = val_ph14(2);</span>
+0227     
+0228     <span class="comment">%(on se teste sur correcteurs)</span>
+0229     <span class="comment">%     teta1 = -4e-3;teta2 = 4.5e-3;teta3 = 8e-3;teta4 = -8e-3</span>
+0230     val_HW = getam(<span class="string">'HCOR'</span>);
+0231     val_ph = 100 * hw2physics(<span class="string">'HCOR'</span>,<span class="string">'Setpoint'</span>,val_HW); 
+0232     teta1 = - abs(val_ph(1));
+0233     teta2 = abs(val_ph(2));
+0234     teta3 = abs(val_ph(3));
+0235     teta4 = - abs(val_ph(4));
+0236     
+0237     <span class="comment">% plot du bump kicker</span>
+0238     name=[<span class="string">'axes'</span> num2str(1)];
+0239     axes(handles.(name));
+0240 
+0241    <span class="comment">% pas gÃ©nial, il vaudrait mieux utiliser THERING en reperant les elements et</span>
+0242    <span class="comment">% deduire les espaces entre equipements</span>
+0243     X1 = 0;X2 = 1;X3 = 4.002;X4 = 8.227;X5 = 11.229;X6 = 13;
+0244     Ymax = 20;Ymin = -25;
+0245     Xdata = [ X1 X2 X3 X4 X5 X6];
+0246     V1 = [0 0]';
+0247     V2 = [1 (X2-X1);0 1]*V1 + [0 teta1]';
+0248     V3 = [1 (X3-X2);0 1]*V2 + [0 teta2]';
+0249     V4 = [1 (X4-X3);0 1]*V3 + [0 teta3]';
+0250     V5 = [1 (X5-X4);0 1]*V4 + [0 teta4]';
+0251     V6 = [1 (X6-X5);0 1]*V5;
+0252     Ydata = [V1(1) V2(1) V3(1) V4(1) V5(1) V6(1)]*1000;
+0253     plot(Xdata,Ydata,<span class="string">'rs-'</span>,<span class="string">'Tag'</span>,<span class="string">'line1'</span>);
+0254     hold on
+0255     plot(Xdata,Ydata*cos(30*pi/180),<span class="string">'bs-'</span>,<span class="string">'Tag'</span>,<span class="string">'line2'</span>);
+0256     set(handles.(name), <span class="string">'YGrid'</span>,<span class="string">'On'</span>);
+0257     set(handles.(name), <span class="string">'XGrid'</span>,<span class="string">'On'</span>);
+0258     set(gca, <span class="string">'YMinorTick'</span>,<span class="string">'On'</span>);
+0259     <span class="comment">%set(handles.(name), 'XMinorTick','On');</span>
+0260     xlabel(handles.(name),<span class="string">'s (m)'</span>);
+0261     ylabel(handles.(name),<span class="string">'X (mm)'</span>);
+0262     xlim([0 X6]);
+0263     ylim([Ymin Ymax]);
+0264     
+0265     <span class="comment">% plot du septum</span>
+0266     hold on
+0267     Xs = 6.8695;ls = 0.6;
+0268     Ys = handles.pos_septum;eps = 3.5;
+0269     rectangle(<span class="string">'Position'</span>,[Xs,Ys-eps,ls,eps],<span class="keyword">...</span>
+0270        <span class="string">'FaceColor'</span>,<span class="string">'r'</span>)
+0271           <span class="comment">%'Curvature',[0.4],'FaceColor','r')</span>
+0272     hold on
+0273     
+0274     <span class="comment">% plot des kickers</span>
+0275     l = 0.6;XK1 = X2-l/2;XK2 = X3-l/2;
+0276     XK3 = X4-l/2;XK4 = X5-l/2;
+0277     Y = Ymin + 1;ep = Ymax - Ymin - 2;
+0278     rectangle(<span class="string">'Position'</span>,[XK1,Y,l,ep],<span class="keyword">...</span>
+0279         <span class="string">'LineWidth'</span>,0.5,<span class="string">'LineStyle'</span>,<span class="string">'--'</span>)
+0280     hold on
+0281     rectangle(<span class="string">'Position'</span>,[XK2,Y,l,ep],<span class="keyword">...</span>
+0282         <span class="string">'LineWidth'</span>,0.5,<span class="string">'LineStyle'</span>,<span class="string">'--'</span>)
+0283     hold on
+0284     rectangle(<span class="string">'Position'</span>,[XK3,Y,l,ep],<span class="keyword">...</span>
+0285         <span class="string">'LineWidth'</span>,0.5,<span class="string">'LineStyle'</span>,<span class="string">'--'</span>)
+0286     hold on
+0287     rectangle(<span class="string">'Position'</span>,[XK4,Y,l,ep],<span class="keyword">...</span>
+0288         <span class="string">'LineWidth'</span>,0.5,<span class="string">'LineStyle'</span>,<span class="string">'--'</span>)
+0289     hold on
+0290     
+0291     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0292     <span class="comment">% plot de la maille</span>
+0293     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0294     
+0295     name=[<span class="string">'axes'</span> num2str(3)];
+0296     axes(handles.(name));
+0297     drawlattice;
+0298     a = getappdata(gcf, <span class="string">'AxisRange1X'</span>);
+0299     axis([a -1 1]);
+0300     set(gca,<span class="string">'XTick'</span>,[-10 600]); <span class="comment">% to erase tick labels</span>
+0301     set(gca,<span class="string">'YTick'</span>,[-10 10]);
+0302     set(gca,<span class="string">'Box'</span>,<span class="string">'off'</span>)
+0303     
+0304     
+0305     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0306     <span class="comment">% AXE 2</span>
+0307     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0308     
+0309     <span class="comment">% entrer lecture BPM tour par tour :selectionner le premier tour</span>
+0310     <span class="comment">% test anneau</span>
+0311     <span class="comment">%BPMxList = [1     3;1     4;1     5;1     6]</span>
+0312     [X Z Sum] = anabpmfirstturn( BPMxList ,<span class="string">'MaxSum'</span>,<span class="string">'NoDisplay'</span>);
+0313     orbite_x = X';
+0314     orbite_z = Z';
+0315     setappdata(handles.figure1,<span class="string">'orbite_x'</span>,orbite_x);
+0316     setappdata(handles.figure1,<span class="string">'orbite_z'</span>,orbite_z);
+0317     
+0318     <span class="comment">% plot des orbites premiers tours</span>
+0319     name=[<span class="string">'axes'</span> num2str(2)];
+0320     axes(handles.(name));
+0321     <span class="comment">%xdata = BPMx.Position;</span>
+0322     plot(s,orbite_x,<span class="string">'r-'</span>,<span class="string">'Tag'</span>,<span class="string">'line1'</span>);
+0323     hold on
+0324     <span class="comment">%ydata = BPMz.Position;</span>
+0325     axis([a -10 10]);
+0326     plot(s,orbite_z,<span class="string">'b-'</span>,<span class="string">'Tag'</span>,<span class="string">'line2'</span>);
+0327     set(handles.(name), <span class="string">'Nextplot'</span>,<span class="string">'Add'</span>);
+0328     set(handles.(name), <span class="string">'YGrid'</span>,<span class="string">'On'</span>);
+0329     set(gca, <span class="string">'YMinorTick'</span>,<span class="string">'On'</span>);
+0330     set(handles.(name), <span class="string">'XMinorTick'</span>,<span class="string">'On'</span>);
+0331     xlabel(handles.(name),<span class="string">'position du BPM'</span>);
+0332     ylabel(handles.(name),<span class="string">'orbites (mm)'</span>);
+0333     
+0334 <span class="keyword">end</span>
+0335 <span class="comment">% afficher la position du septum</span>
+0336 set(handles.pos_septum_text48,<span class="string">'String'</span>,num2str(handles.pos_septum));
+0337 
+0338 <span class="comment">% UIWAIT makes reglage_pos_energie_v3 wait for user response (see UIRESUME)</span>
+0339 <span class="comment">% uiwait(handles.figure1);</span>
+0340 
+0341 
+0342 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0343 <a name="_sub2" href="#_subfunctions" class="code">function varargout = reglage_pos_energie_v3_OutputFcn(hObject, eventdata, handles)</a>
+0344 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0345 <span class="comment">% hObject    handle to figure</span>
+0346 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0347 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0348 
+0349 <span class="comment">% Get default command line output from handles structure</span>
+0350 varargout{1} = handles.output;
+0351 
+0352 <span class="comment">% --- Executes on button press in fit_pushbutton1.</span>
+0353 <a name="_sub3" href="#_subfunctions" class="code">function fit_pushbutton1_Callback(hObject, eventdata, handles)</a>
+0354 <span class="comment">% hObject    handle to fit_pushbutton1 (see GCBO)</span>
+0355 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0356 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0357 
+0358 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+0359 <span class="comment">% constitution de la liste des BPM actifs</span>
+0360 liste_BPM_actif = [];
+0361 <span class="keyword">for</span> i = 1: length(num_BPM_actif)
+0362     <span class="keyword">if</span> num_BPM_actif(i)
+0363         liste_BPM_actif = [liste_BPM_actif i];
+0364     <span class="keyword">end</span>
+0365 <span class="keyword">end</span>
+0366 
+0367 <span class="comment">% constitution de la matrice de transport avec les BPM actifs</span>
+0368 R11 = getappdata(handles.figure1,<span class="string">'R11'</span>);
+0369 R12 = getappdata(handles.figure1,<span class="string">'R12'</span>);
+0370 R15 = getappdata(handles.figure1,<span class="string">'R15'</span>);
+0371 orbite_x = getappdata(handles.figure1,<span class="string">'orbite_x'</span>);
+0372 
+0373 M11 = [];M12 = [];M15 = [];
+0374 <span class="keyword">for</span> i = 1:length(liste_BPM_actif)
+0375     M11 = [M11 R11(liste_BPM_actif(i))];
+0376     M12 = [M12 R12(liste_BPM_actif(i))];
+0377     M15 = [M15 R15(liste_BPM_actif(i))];
+0378 <span class="keyword">end</span>
+0379 Matrice_BPM_actif = [M11' M12' M15']  
+0380 disp(<span class="string">'j''suis contente - pour l''instant'</span>)
+0381 
+0382 <span class="comment">% lire les N premiers BPM premiers tours</span>
+0383 <span class="comment">%test</span>
+0384 <span class="comment">%XBPM = [1 2 3 4 5 6 7 8 9 10]';</span>
+0385 <span class="comment">%XBPM = [5.59 6.96 10.86 12.13 13.40]';</span>
+0386 [U,S,V] = svd(Matrice_BPM_actif)
+0387 <span class="comment">% ici toutes les valeurs propres sont utilisees- ??</span>
+0388 diago = diag(S);
+0389 seuil = 0.01;
+0390 <span class="keyword">for</span> k = 1:length(diag(S))
+0391     <span class="keyword">if</span> diago(k)&lt;seuil
+0392         <span class="comment">% on suppose que le premier est toujours superieur au seuil</span>
+0393         jseuil = k-1
+0394         <span class="keyword">break</span>
+0395     <span class="keyword">else</span>
+0396         jseuil = length(diag(S));
+0397     <span class="keyword">end</span>
+0398 <span class="keyword">end</span>
+0399 Rmod = Matrice_BPM_actif * V(:,1:jseuil);
+0400 B = Rmod \ orbite_x;
+0401 Xpos = V(:,1:jseuil)*B
+0402 
+0403 <span class="comment">% afficher Xpos</span>
+0404 set(handles.deltax_text50,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,Xpos(1)));
+0405 set(handles.deltaxp_text51,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,Xpos(2)));
+0406 set(handles.deltaE_text52,<span class="string">'String'</span>,sprintf(<span class="string">'%3.2f'</span>,Xpos(3)/10));
+0407 
+0408 <span class="comment">% --------------------------------------------------------------------</span>
+0409 <a name="_sub4" href="#_subfunctions" class="code">function FileMenu_Callback(hObject, eventdata, handles)</a>
+0410 <span class="comment">% hObject    handle to FileMenu (see GCBO)</span>
+0411 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0412 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0413 
+0414 
+0415 <span class="comment">% --------------------------------------------------------------------</span>
+0416 <a name="_sub5" href="#_subfunctions" class="code">function OpenMenuItem_Callback(hObject, eventdata, handles)</a>
+0417 <span class="comment">% hObject    handle to OpenMenuItem (see GCBO)</span>
+0418 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0419 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0420 file = uigetfile(<span class="string">'*.fig'</span>);
+0421 <span class="keyword">if</span> ~isequal(file, 0)
+0422     open(file);
+0423 <span class="keyword">end</span>
+0424 
+0425 <span class="comment">% --------------------------------------------------------------------</span>
+0426 <a name="_sub6" href="#_subfunctions" class="code">function PrintMenuItem_Callback(hObject, eventdata, handles)</a>
+0427 <span class="comment">% hObject    handle to PrintMenuItem (see GCBO)</span>
+0428 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0429 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0430 printdlg(handles.figure1)
+0431 
+0432 <span class="comment">% --------------------------------------------------------------------</span>
+0433 <a name="_sub7" href="#_subfunctions" class="code">function CloseMenuItem_Callback(hObject, eventdata, handles)</a>
+0434 <span class="comment">% hObject    handle to CloseMenuItem (see GCBO)</span>
+0435 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0436 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0437 selection = questdlg([<span class="string">'Close '</span> get(handles.figure1,<span class="string">'Name'</span>) <span class="string">'?'</span>],<span class="keyword">...</span>
+0438                      [<span class="string">'Close '</span> get(handles.figure1,<span class="string">'Name'</span>) <span class="string">'...'</span>],<span class="keyword">...</span>
+0439                      <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+0440 <span class="keyword">if</span> strcmp(selection,<span class="string">'No'</span>)
+0441     <span class="keyword">return</span>;
+0442 <span class="keyword">end</span>
+0443 
+0444 delete(handles.figure1)
+0445 
+0446 
+0447 <span class="comment">% --- Executes on selection change in popupmenu1.</span>
+0448 <a name="_sub8" href="#_subfunctions" class="code">function popupmenu1_Callback(hObject, eventdata, handles)</a>
+0449 <span class="comment">% hObject    handle to popupmenu1 (see GCBO)</span>
+0450 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0451 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0452 
+0453 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array</span>
+0454 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu1</span>
+0455 
+0456 
+0457 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0458 <a name="_sub9" href="#_subfunctions" class="code">function popupmenu1_CreateFcn(hObject, eventdata, handles)</a>
+0459 <span class="comment">% hObject    handle to popupmenu1 (see GCBO)</span>
+0460 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0461 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0462 
+0463 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0464 <span class="comment">%       See ISPC and COMPUTER.</span>
+0465 <span class="keyword">if</span> ispc
+0466     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0467 <span class="keyword">else</span>
+0468     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0469 <span class="keyword">end</span>
+0470 
+0471 set(hObject, <span class="string">'String'</span>, {<span class="string">'plot(rand(5))'</span>, <span class="string">'plot(sin(1:0.01:25))'</span>, <span class="string">'bar(1:.5:10)'</span>, <span class="string">'plot(membrane)'</span>, <span class="string">'surf(peaks)'</span>});
+0472 
+0473 
+0474 
+0475 <a name="_sub10" href="#_subfunctions" class="code">function K1_edit1_Callback(hObject, eventdata, handles)</a>
+0476 <span class="comment">% hObject    handle to K1_edit1 (see GCBO)</span>
+0477 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0478 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0479 
+0480 <span class="comment">% Hints: get(hObject,'String') returns contents of K1_edit1 as text</span>
+0481 <span class="comment">%        str2double(get(hObject,'String')) returns contents of K1_edit1 as a double</span>
+0482 
+0483 
+0484 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0485 <a name="_sub11" href="#_subfunctions" class="code">function K1_edit1_CreateFcn(hObject, eventdata, handles)</a>
+0486 <span class="comment">% hObject    handle to K1_edit1 (see GCBO)</span>
+0487 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0488 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0489 
+0490 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0491 <span class="comment">%       See ISPC and COMPUTER.</span>
+0492 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0493     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0494 <span class="keyword">end</span>
+0495 
+0496 
+0497 <span class="comment">% --- Executes on slider movement.</span>
+0498 <a name="_sub12" href="#_subfunctions" class="code">function K1_slider1_Callback(hObject, eventdata, handles)</a>
+0499 <span class="comment">% hObject    handle to K1_slider1 (see GCBO)</span>
+0500 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0501 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0502 
+0503 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0504 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0505 
+0506 
+0507 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0508 <a name="_sub13" href="#_subfunctions" class="code">function K1_slider1_CreateFcn(hObject, eventdata, handles)</a>
+0509 <span class="comment">% hObject    handle to K1_slider1 (see GCBO)</span>
+0510 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0511 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0512 
+0513 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+0514 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0515     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0516 <span class="keyword">end</span>
+0517 
+0518 
+0519 
+0520 <a name="_sub14" href="#_subfunctions" class="code">function K2_edit2_Callback(hObject, eventdata, handles)</a>
+0521 <span class="comment">% hObject    handle to K2_edit2 (see GCBO)</span>
+0522 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0523 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0524 
+0525 <span class="comment">% Hints: get(hObject,'String') returns contents of K2_edit2 as text</span>
+0526 <span class="comment">%        str2double(get(hObject,'String')) returns contents of K2_edit2 as a double</span>
+0527 
+0528 
+0529 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0530 <a name="_sub15" href="#_subfunctions" class="code">function K2_edit2_CreateFcn(hObject, eventdata, handles)</a>
+0531 <span class="comment">% hObject    handle to K2_edit2 (see GCBO)</span>
+0532 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0533 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0534 
+0535 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0536 <span class="comment">%       See ISPC and COMPUTER.</span>
+0537 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0538     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0539 <span class="keyword">end</span>
+0540 
+0541 
+0542 <span class="comment">% --- Executes on slider movement.</span>
+0543 <a name="_sub16" href="#_subfunctions" class="code">function K2_slider2_Callback(hObject, eventdata, handles)</a>
+0544 <span class="comment">% hObject    handle to K2_slider2 (see GCBO)</span>
+0545 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0546 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0547 
+0548 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0549 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0550 
+0551 
+0552 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0553 <a name="_sub17" href="#_subfunctions" class="code">function K2_slider2_CreateFcn(hObject, eventdata, handles)</a>
+0554 <span class="comment">% hObject    handle to K2_slider2 (see GCBO)</span>
+0555 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0556 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0557 
+0558 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+0559 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0560     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0561 <span class="keyword">end</span>
+0562 
+0563 
+0564 
+0565 <a name="_sub18" href="#_subfunctions" class="code">function K3_edit3_Callback(hObject, eventdata, handles)</a>
+0566 <span class="comment">% hObject    handle to K3_edit3 (see GCBO)</span>
+0567 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0568 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0569 
+0570 <span class="comment">% Hints: get(hObject,'String') returns contents of K3_edit3 as text</span>
+0571 <span class="comment">%        str2double(get(hObject,'String')) returns contents of K3_edit3 as a double</span>
+0572 
+0573 
+0574 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0575 <a name="_sub19" href="#_subfunctions" class="code">function K3_edit3_CreateFcn(hObject, eventdata, handles)</a>
+0576 <span class="comment">% hObject    handle to K3_edit3 (see GCBO)</span>
+0577 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0578 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0579 
+0580 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0581 <span class="comment">%       See ISPC and COMPUTER.</span>
+0582 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0583     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0584 <span class="keyword">end</span>
+0585 
+0586 
+0587 <span class="comment">% --- Executes on slider movement.</span>
+0588 <a name="_sub20" href="#_subfunctions" class="code">function K3_slider3_Callback(hObject, eventdata, handles)</a>
+0589 <span class="comment">% hObject    handle to K3_slider3 (see GCBO)</span>
+0590 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0591 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0592 
+0593 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0594 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0595 
+0596 
+0597 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0598 <a name="_sub21" href="#_subfunctions" class="code">function K3_slider3_CreateFcn(hObject, eventdata, handles)</a>
+0599 <span class="comment">% hObject    handle to K3_slider3 (see GCBO)</span>
+0600 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0601 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0602 
+0603 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+0604 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0605     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0606 <span class="keyword">end</span>
+0607 
+0608 
+0609 
+0610 <a name="_sub22" href="#_subfunctions" class="code">function K4_edit4_Callback(hObject, eventdata, handles)</a>
+0611 <span class="comment">% hObject    handle to K4_edit4 (see GCBO)</span>
+0612 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0613 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0614 
+0615 <span class="comment">% Hints: get(hObject,'String') returns contents of K4_edit4 as text</span>
+0616 <span class="comment">%        str2double(get(hObject,'String')) returns contents of K4_edit4 as a double</span>
+0617 
+0618 
+0619 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0620 <a name="_sub23" href="#_subfunctions" class="code">function K4_edit4_CreateFcn(hObject, eventdata, handles)</a>
+0621 <span class="comment">% hObject    handle to K4_edit4 (see GCBO)</span>
+0622 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0623 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0624 
+0625 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0626 <span class="comment">%       See ISPC and COMPUTER.</span>
+0627 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0628     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0629 <span class="keyword">end</span>
+0630 
+0631 
+0632 <span class="comment">% --- Executes on slider movement.</span>
+0633 <a name="_sub24" href="#_subfunctions" class="code">function K4_slider4_Callback(hObject, eventdata, handles)</a>
+0634 <span class="comment">% hObject    handle to K4_slider4 (see GCBO)</span>
+0635 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0636 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0637 
+0638 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0639 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0640 
+0641 
+0642 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0643 <a name="_sub25" href="#_subfunctions" class="code">function K4_slider4_CreateFcn(hObject, eventdata, handles)</a>
+0644 <span class="comment">% hObject    handle to K4_slider4 (see GCBO)</span>
+0645 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0646 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0647 
+0648 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+0649 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0650     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0651 <span class="keyword">end</span>
+0652 
+0653 
+0654 
+0655 <a name="_sub26" href="#_subfunctions" class="code">function deltax_edit13_Callback(hObject, eventdata, handles)</a>
+0656 <span class="comment">% hObject    handle to deltax_edit13 (see GCBO)</span>
+0657 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0658 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0659 
+0660 <span class="comment">% Hints: get(hObject,'String') returns contents of deltax_edit13 as text</span>
+0661 <span class="comment">%        str2double(get(hObject,'String')) returns contents of deltax_edit13 as a double</span>
+0662 
+0663 
+0664 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0665 <a name="_sub27" href="#_subfunctions" class="code">function deltax_edit13_CreateFcn(hObject, eventdata, handles)</a>
+0666 <span class="comment">% hObject    handle to deltax_edit13 (see GCBO)</span>
+0667 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0668 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0669 
+0670 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0671 <span class="comment">%       See ISPC and COMPUTER.</span>
+0672 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0673     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0674 <span class="keyword">end</span>
+0675 
+0676 
+0677 <span class="comment">% --- Executes on slider movement.</span>
+0678 <a name="_sub28" href="#_subfunctions" class="code">function deltax_slider13_Callback(hObject, eventdata, handles)</a>
+0679 <span class="comment">% hObject    handle to deltax_slider13 (see GCBO)</span>
+0680 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0681 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0682 
+0683 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0684 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0685 
+0686 <span class="comment">% lire la valeur affichï¿œe</span>
+0687 deltax = num2str(get(handles.deltax_edit13,<span class="string">'String'</span>));
+0688 deltax = deltax * 1e-3 <span class="comment">% mm</span>
+0689 
+0690 L1 = (50 + 500 + 800 + 300) * 1e-3;
+0691 L2 = 1e-3 * 600/2;
+0692 
+0693 <span class="comment">% % dï¿œduction angles septa actifs et septum passif</span>
+0694 <span class="comment">% val_HW_sa = getam('septa actifs...);</span>
+0695 <span class="comment">% val_HW_sp = getam('septum passif...);</span>
+0696 <span class="comment">%</span>
+0697 <span class="comment">% val_ph_sa = deltax / L1;</span>
+0698 <span class="comment">% val_HW_sa = val_HW_sa + physics2HW('sept...','Setpoint',val_ph_sa);</span>
+0699 <span class="comment">% val_ph_sp = hw2physics('sept..','Setpoint',val_HW_sp);</span>
+0700 <span class="comment">% val_ph_sp = val_ph_sp - val_ph_sa;</span>
+0701 <span class="comment">% val_HW_sp = val_HW_sp + physics2HW('sept...','Setpoint',val_ph_sp);</span>
+0702 
+0703 <span class="comment">% setsp('sept...','Setpoint',val_HW_sp);</span>
+0704 <span class="comment">% setsp('septactif...','Setpoint',val_HW_sa);</span>
+0705 
+0706 <span class="comment">% re-initaliser le slider ï¿œ cette valeur de bump</span>
+0707 <span class="comment">%set(handles.deltax_slider13,'Value',valeur_corr);</span>
+0708 
+0709 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0710 <a name="_sub29" href="#_subfunctions" class="code">function deltax_slider13_CreateFcn(hObject, eventdata, handles)</a>
+0711 <span class="comment">% hObject    handle to deltax_slider13 (see GCBO)</span>
+0712 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0713 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0714 
+0715 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+0716 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0717     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0718 <span class="keyword">end</span>
+0719 
+0720 
+0721 
+0722 <a name="_sub30" href="#_subfunctions" class="code">function deltaxp_edit14_Callback(hObject, eventdata, handles)</a>
+0723 <span class="comment">% hObject    handle to deltaxp_edit14 (see GCBO)</span>
+0724 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0725 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0726 
+0727 <span class="comment">% Hints: get(hObject,'String') returns contents of deltaxp_edit14 as text</span>
+0728 <span class="comment">%        str2double(get(hObject,'String')) returns contents of deltaxp_edit14 as a double</span>
+0729 
+0730 
+0731 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0732 <a name="_sub31" href="#_subfunctions" class="code">function deltaxp_edit14_CreateFcn(hObject, eventdata, handles)</a>
+0733 <span class="comment">% hObject    handle to deltaxp_edit14 (see GCBO)</span>
+0734 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0735 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0736 
+0737 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0738 <span class="comment">%       See ISPC and COMPUTER.</span>
+0739 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0740     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0741 <span class="keyword">end</span>
+0742 
+0743 
+0744 <span class="comment">% --- Executes on slider movement.</span>
+0745 <a name="_sub32" href="#_subfunctions" class="code">function deltaxp_slider14_Callback(hObject, eventdata, handles)</a>
+0746 <span class="comment">% hObject    handle to deltaxp_slider14 (see GCBO)</span>
+0747 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0748 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0749 
+0750 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0751 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0752 
+0753 <span class="comment">% lire la valeur affichï¿œe</span>
+0754 deltaxp = num2str(get(handles.deltaxp_edit14,<span class="string">'String'</span>));
+0755 deltaxp = deltaxp * 1e-3
+0756 
+0757 <span class="comment">% pour point d'injection = point fixe, rapport entre les angles septum</span>
+0758 <span class="comment">% passif et les septa actifs : RAP</span>
+0759 L1 = (50 + 500 + 800 + 300) * 1e-3;
+0760 L2 = 1e-3 * 600/2;
+0761 RAP = (L1-L2) / L2;
+0762 
+0763 <span class="comment">% val_HW_sp = getam('septum...);</span>
+0764 <span class="comment">% val_HW_sa = getam('septa actifs...);</span>
+0765 
+0766 <span class="comment">% val_ph_sp = deltaxp + hw2physics('sept..','Setpoint',val_HW_sp);</span>
+0767 <span class="comment">% val_ph_sa = deltaxp * RAP + hw2physics('sept..','Setpoint',val_HW_sa);</span>
+0768 <span class="comment">% val_HW_sp = physics2HW('sept...','Setpoint',val_ph_sp);</span>
+0769 <span class="comment">% val_HW_sa = physics2HW('septactif...','Setpoint',val_ph_sa);</span>
+0770 <span class="comment">% setsp('sept...','Setpoint',val_HW_sp);</span>
+0771 <span class="comment">% setsp('septactif...','Setpoint',val_HW_sa);</span>
+0772 
+0773 <span class="comment">% re-initaliser le slider ï¿œ cette valeur de bump</span>
+0774 set(handles.deltaxp_slider14,<span class="string">'Value'</span>,valeur_corr);
+0775 
+0776 
+0777 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0778 <a name="_sub33" href="#_subfunctions" class="code">function deltaxp_slider14_CreateFcn(hObject, eventdata, handles)</a>
+0779 <span class="comment">% hObject    handle to deltaxp_slider14 (see GCBO)</span>
+0780 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0781 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0782 
+0783 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+0784 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0785     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0786 <span class="keyword">end</span>
+0787 
+0788 
+0789 
+0790 <a name="_sub34" href="#_subfunctions" class="code">function deltaz_edit15_Callback(hObject, eventdata, handles)</a>
+0791 <span class="comment">% hObject    handle to deltaz_edit15 (see GCBO)</span>
+0792 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0793 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0794 
+0795 <span class="comment">% Hints: get(hObject,'String') returns contents of deltaz_edit15 as text</span>
+0796 <span class="comment">%        str2double(get(hObject,'String')) returns contents of deltaz_edit15 as a double</span>
+0797 
+0798 
+0799 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0800 <a name="_sub35" href="#_subfunctions" class="code">function deltaz_edit15_CreateFcn(hObject, eventdata, handles)</a>
+0801 <span class="comment">% hObject    handle to deltaz_edit15 (see GCBO)</span>
+0802 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0803 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0804 
+0805 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0806 <span class="comment">%       See ISPC and COMPUTER.</span>
+0807 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0808     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0809 <span class="keyword">end</span>
+0810 
+0811 
+0812 <span class="comment">% --- Executes on slider movement.</span>
+0813 <a name="_sub36" href="#_subfunctions" class="code">function deltaz_slider15_Callback(hObject, eventdata, handles)</a>
+0814 <span class="comment">% hObject    handle to deltaz_slider15 (see GCBO)</span>
+0815 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0816 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0817 
+0818 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0819 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0820 
+0821 
+0822 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0823 <a name="_sub37" href="#_subfunctions" class="code">function deltaz_slider15_CreateFcn(hObject, eventdata, handles)</a>
+0824 <span class="comment">% hObject    handle to deltaz_slider15 (see GCBO)</span>
+0825 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0826 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0827 
+0828 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+0829 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0830     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0831 <span class="keyword">end</span>
+0832 
+0833 
+0834 
+0835 <a name="_sub38" href="#_subfunctions" class="code">function deltazp_edit16_Callback(hObject, eventdata, handles)</a>
+0836 <span class="comment">% hObject    handle to deltazp_edit16 (see GCBO)</span>
+0837 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0838 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0839 
+0840 <span class="comment">% Hints: get(hObject,'String') returns contents of deltazp_edit16 as text</span>
+0841 <span class="comment">%        str2double(get(hObject,'String')) returns contents of deltazp_edit16 as a double</span>
+0842 
+0843 
+0844 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0845 <a name="_sub39" href="#_subfunctions" class="code">function deltazp_edit16_CreateFcn(hObject, eventdata, handles)</a>
+0846 <span class="comment">% hObject    handle to deltazp_edit16 (see GCBO)</span>
+0847 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0848 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0849 
+0850 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0851 <span class="comment">%       See ISPC and COMPUTER.</span>
+0852 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0853     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0854 <span class="keyword">end</span>
+0855 
+0856 
+0857 <span class="comment">% --- Executes on slider movement.</span>
+0858 <a name="_sub40" href="#_subfunctions" class="code">function deltazp_slider16_Callback(hObject, eventdata, handles)</a>
+0859 <span class="comment">% hObject    handle to deltazp_slider16 (see GCBO)</span>
+0860 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0861 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0862 
+0863 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0864 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0865 
+0866 
+0867 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0868 <a name="_sub41" href="#_subfunctions" class="code">function deltazp_slider16_CreateFcn(hObject, eventdata, handles)</a>
+0869 <span class="comment">% hObject    handle to deltazp_slider16 (see GCBO)</span>
+0870 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0871 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0872 
+0873 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+0874 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0875     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0876 <span class="keyword">end</span>
+0877 
+0878 <a name="_sub42" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+0879 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+0880 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0881 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0882 
+0883 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+0884     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+0885         <span class="comment">% code piece when radiobutton1 is selected goes here</span>
+0886         <span class="comment">%</span>
+0887         set([handles.K1_edit1,handles.K1_slider1,<span class="keyword">...</span>
+0888             handles.K2_edit2,handles.K2_slider2,<span class="keyword">...</span>
+0889             handles.K3_edit3,handles.K3_slider3,<span class="keyword">...</span>
+0890             handles.K4_edit4,handles.K4_slider4,<span class="keyword">...</span>
+0891             handles.K1_U_edit,handles.K1_U_slider,<span class="keyword">...</span>
+0892             handles.K2_U_edit,handles.K2_U_slider,<span class="keyword">...</span>
+0893             handles.K3_U_edit,handles.K3_U_slider,<span class="keyword">...</span>
+0894             handles.K4_U_edit,handles.K4_U_slider,<span class="keyword">...</span>
+0895             ],<span class="string">'Enable'</span>,<span class="string">'off'</span>)
+0896        
+0897     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+0898         <span class="comment">% code piece when radiobutton2 is selected goes here</span>
+0899         <span class="comment">%</span>
+0900         set([<span class="keyword">...</span>
+0901             handles.K2_edit2,handles.K2_slider2,<span class="keyword">...</span>
+0902             <span class="keyword">...</span>
+0903             handles.K4_edit4,handles.K4_slider4,<span class="keyword">...</span>
+0904             <span class="keyword">...</span>
+0905             handles.K2_U_edit,handles.K2_U_slider,<span class="keyword">...</span>
+0906             <span class="keyword">...</span>
+0907             handles.K4_U_edit,handles.K4_U_slider,<span class="keyword">...</span>
+0908             ],<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0909         set([handles.K1_edit1,handles.K1_slider1,<span class="keyword">...</span>
+0910             <span class="keyword">...</span>
+0911             handles.K3_edit3,handles.K3_slider3,<span class="keyword">...</span>
+0912             <span class="keyword">...</span>
+0913             handles.K1_U_edit,handles.K1_U_slider,<span class="keyword">...</span>
+0914             <span class="keyword">...</span>
+0915             handles.K3_U_edit,handles.K3_U_slider,<span class="keyword">...</span>
+0916             <span class="keyword">...</span>
+0917             ],<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0918     <span class="keyword">case</span> <span class="string">'radiobutton3'</span>
+0919         <span class="comment">% code piece when radiobutton1 is selected goes here</span>
+0920         <span class="comment">%</span>
+0921         set([handles.K1_edit1,handles.K1_slider1,<span class="keyword">...</span>
+0922             handles.K2_edit2,handles.K2_slider2,<span class="keyword">...</span>
+0923             handles.K3_edit3,handles.K3_slider3,<span class="keyword">...</span>
+0924             handles.K4_edit4,handles.K4_slider4,<span class="keyword">...</span>
+0925             handles.K1_U_edit,handles.K1_U_slider,<span class="keyword">...</span>
+0926             handles.K2_U_edit,handles.K2_U_slider,<span class="keyword">...</span>
+0927             handles.K3_U_edit,handles.K3_U_slider,<span class="keyword">...</span>
+0928             handles.K4_U_edit,handles.K4_U_slider,<span class="keyword">...</span>
+0929             ],<span class="string">'Enable'</span>,<span class="string">'on'</span>)
+0930         
+0931 <span class="keyword">end</span>
+0932 
+0933 
+0934 
+0935 <a name="_sub43" href="#_subfunctions" class="code">function bump_edit21_Callback(hObject, eventdata, handles)</a>
+0936 <span class="comment">% hObject    handle to bump_edit21 (see GCBO)</span>
+0937 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0938 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0939 
+0940 <span class="comment">% Hints: get(hObject,'String') returns contents of bump_edit21 as text</span>
+0941 <span class="comment">%        str2double(get(hObject,'String')) returns contents of bump_edit21 as a double</span>
+0942 bump = str2num(get(handles.bump_edit21,<span class="string">'String'</span>));
+0943 
+0944 <span class="comment">% valeur 4 kickers en rad</span>
+0945 val_ph_K = bump * handles.eff_K * 1e-3;
+0946 <span class="comment">% % valeurs 4 kickers en V</span>
+0947 <span class="comment">% val_HW_K = physics2HW('Kick...','Setpoint',val_ph_K);</span>
+0948 <span class="comment">% % appliquer les 4 valeurs (transformer peut-ï¿œtre en vecteurs 4 valeurs</span>
+0949 <span class="comment">% % alternï¿œes)</span>
+0950 <span class="comment">% setsp('Kick...', 'Setpoint',val_HW_K)</span>
+0951 
+0952 <span class="comment">% afficher dans edit des kickers</span>
+0953 <span class="comment">%set(handles.K1_edit1,'String',num2str(val_HW_K(1))); % etc..</span>
+0954 
+0955 <span class="comment">% re-initaliser le slider ï¿œ cette valeur de bump</span>
+0956 <span class="comment">%set(handles.K1_slider1,'Value',val_HW_K(1));</span>
+0957 <span class="comment">%set(handles.K2_slider2,'Value',val_HW_K(2));  %etc..</span>
+0958 
+0959 
+0960 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0961 <a name="_sub44" href="#_subfunctions" class="code">function bump_edit21_CreateFcn(hObject, eventdata, handles)</a>
+0962 <span class="comment">% hObject    handle to bump_edit21 (see GCBO)</span>
+0963 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0964 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0965 
+0966 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0967 <span class="comment">%       See ISPC and COMPUTER.</span>
+0968 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0969     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0970 <span class="keyword">end</span>
+0971 
+0972 
+0973 <span class="comment">% --- Executes on button press in BPM1_checkbox.</span>
+0974 <a name="_sub45" href="#_subfunctions" class="code">function BPM1_checkbox_Callback(hObject, eventdata, handles)</a>
+0975 <span class="comment">% hObject    handle to BPM1_checkbox (see GCBO)</span>
+0976 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0977 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0978 
+0979 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM1_checkbox</span>
+0980 
+0981 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+0982 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+0983 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+0984 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+0985 
+0986 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+0987     <span class="comment">% then checkbox is checked-take approriate action</span>
+0988     num_BPM_actif(1) = 1;
+0989     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+0990 <span class="keyword">else</span>
+0991     <span class="comment">% checkbox is not checked-take approriate action</span>
+0992     num_BPM_actif(1) = 0;  
+0993     BPMxList = intersect(BPMxList,BPMxListtotal(2:nbmaxBPM,:),<span class="string">'rows'</span>);
+0994     
+0995 <span class="keyword">end</span>
+0996 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+0997 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+0998 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+0999 
+1000 <span class="comment">% --- Executes on button press in BPM2_checkbox.</span>
+1001 <a name="_sub46" href="#_subfunctions" class="code">function BPM2_checkbox_Callback(hObject, eventdata, handles)</a>
+1002 <span class="comment">% hObject    handle to BPM2_checkbox (see GCBO)</span>
+1003 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1004 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1005 
+1006 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM2_checkbox</span>
+1007 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1008 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1009 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1010 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1011 
+1012 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1013     <span class="comment">% then checkbox is checked-take approriate action</span>
+1014     num_BPM_actif(2) = 1;
+1015     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1016 <span class="keyword">else</span>
+1017     <span class="comment">% checkbox is not checked-take approriate action</span>
+1018     num_BPM_actif(2) = 0;  
+1019     BPMxList = intersect(BPMxList,[BPMxListtotal(1,:); BPMxListtotal(3:nbmaxBPM,:)],<span class="string">'rows'</span>);
+1020     
+1021 <span class="keyword">end</span>
+1022 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1023 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1024 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1025 
+1026 
+1027 
+1028 
+1029 
+1030 <span class="comment">%</span>
+1031 <span class="comment">%</span>
+1032 <span class="comment">% if (get(hObject,'Value') == get(hObject,'Max'))</span>
+1033 <span class="comment">%     % then checkbox is checked-take approriate action</span>
+1034 <span class="comment">%     num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');</span>
+1035 <span class="comment">%     num_BPM_actif(2) = 1;</span>
+1036 <span class="comment">%     setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);</span>
+1037 <span class="comment">% else</span>
+1038 <span class="comment">%     % checkbox is not checked-take approriate action</span>
+1039 <span class="comment">%     num_BPM_actif = getappdata(handles.figure1,'num_BPM_actif');</span>
+1040 <span class="comment">%     num_BPM_actif(2) = 0;</span>
+1041 <span class="comment">%     setappdata(handles.figure1,'num_BPM_actif',num_BPM_actif);</span>
+1042 <span class="comment">% end</span>
+1043 
+1044 <span class="comment">% --- Executes on button press in BPM3_checkbox.</span>
+1045 <a name="_sub47" href="#_subfunctions" class="code">function BPM3_checkbox_Callback(hObject, eventdata, handles)</a>
+1046 <span class="comment">% hObject    handle to BPM3_checkbox (see GCBO)</span>
+1047 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1048 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1049 
+1050 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM3_checkbox</span>
+1051 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1052 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1053 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1054 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1055 
+1056 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1057     <span class="comment">% then checkbox is checked-take approriate action</span>
+1058     num_BPM_actif(3) = 1;
+1059     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1060 <span class="keyword">else</span>
+1061     <span class="comment">% checkbox is not checked-take approriate action</span>
+1062     num_BPM_actif(3) = 0;  
+1063     BPMxList = intersect(BPMxList,[BPMxListtotal(1:2,:); BPMxListtotal(4:nbmaxBPM,:)],<span class="string">'rows'</span>);
+1064     
+1065 <span class="keyword">end</span>
+1066 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1067 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1068 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1069 
+1070 
+1071 
+1072 <span class="comment">% --- Executes on button press in BPM4_checkbox.</span>
+1073 <a name="_sub48" href="#_subfunctions" class="code">function BPM4_checkbox_Callback(hObject, eventdata, handles)</a>
+1074 <span class="comment">% hObject    handle to BPM4_checkbox (see GCBO)</span>
+1075 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1076 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1077 
+1078 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM4_checkbox</span>
+1079 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1080 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1081 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1082 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1083 
+1084 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1085     <span class="comment">% then checkbox is checked-take approriate action</span>
+1086     num_BPM_actif(4) = 1;
+1087     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1088 <span class="keyword">else</span>
+1089     <span class="comment">% checkbox is not checked-take approriate action</span>
+1090     num_BPM_actif(4) = 0;  
+1091     BPMxList = intersect(BPMxList,[BPMxListtotal(1:3,:); BPMxListtotal(5:nbmaxBPM,:)],<span class="string">'rows'</span>);
+1092     
+1093 <span class="keyword">end</span>
+1094 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1095 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1096 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1097 
+1098 
+1099 <span class="comment">% --- Executes on button press in BPM5_checkbox.</span>
+1100 <a name="_sub49" href="#_subfunctions" class="code">function BPM5_checkbox_Callback(hObject, eventdata, handles)</a>
+1101 <span class="comment">% hObject    handle to BPM5_checkbox (see GCBO)</span>
+1102 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1103 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1104 
+1105 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM5_checkbox</span>
+1106 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1107 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1108 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1109 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1110 
+1111 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1112     <span class="comment">% then checkbox is checked-take approriate action</span>
+1113     num_BPM_actif(5) = 1;
+1114     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1115 <span class="keyword">else</span>
+1116     <span class="comment">% checkbox is not checked-take approriate action</span>
+1117     num_BPM_actif(5) = 0;  
+1118     BPMxList = intersect(BPMxList,[BPMxListtotal(1:4,:); BPMxListtotal(6:nbmaxBPM,:)],<span class="string">'rows'</span>);
+1119     
+1120 <span class="keyword">end</span>
+1121 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1122 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1123 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1124 
+1125 <span class="comment">% --- Executes on button press in BPM6_checkbox.</span>
+1126 <a name="_sub50" href="#_subfunctions" class="code">function BPM6_checkbox_Callback(hObject, eventdata, handles)</a>
+1127 <span class="comment">% hObject    handle to BPM6_checkbox (see GCBO)</span>
+1128 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1129 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1130 
+1131 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM6_checkbox</span>
+1132 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1133 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1134 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1135 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1136 
+1137 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1138     <span class="comment">% then checkbox is checked-take approriate action</span>
+1139     num_BPM_actif(6) = 1;
+1140     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1141 <span class="keyword">else</span>
+1142     <span class="comment">% checkbox is not checked-take approriate action</span>
+1143     num_BPM_actif(6) = 0;  
+1144     BPMxList = intersect(BPMxList,[BPMxListtotal(1:5,:); BPMxListtotal(7:nbmaxBPM,:)],<span class="string">'rows'</span>);
+1145     
+1146 <span class="keyword">end</span>
+1147 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1148 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1149 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1150 
+1151 <span class="comment">% --- Executes on button press in BPM7_checkbox.</span>
+1152 <a name="_sub51" href="#_subfunctions" class="code">function BPM7_checkbox_Callback(hObject, eventdata, handles)</a>
+1153 <span class="comment">% hObject    handle to BPM7_checkbox (see GCBO)</span>
+1154 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1155 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1156 
+1157 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM7_checkbox</span>
+1158 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1159 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1160 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1161 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1162 
+1163 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1164     <span class="comment">% then checkbox is checked-take approriate action</span>
+1165     num_BPM_actif(7) = 1;
+1166     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1167 <span class="keyword">else</span>
+1168     <span class="comment">% checkbox is not checked-take approriate action</span>
+1169     num_BPM_actif(7) = 0;  
+1170     BPMxList = intersect(BPMxList,[BPMxListtotal(1:6,:); BPMxListtotal(8:nbmaxBPM,:)],<span class="string">'rows'</span>);
+1171     
+1172 <span class="keyword">end</span>
+1173 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1174 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1175 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1176 
+1177 <span class="comment">% --- Executes on button press in BPM8_checkbox.</span>
+1178 <a name="_sub52" href="#_subfunctions" class="code">function BPM8_checkbox_Callback(hObject, eventdata, handles)</a>
+1179 <span class="comment">% hObject    handle to BPM8_checkbox (see GCBO)</span>
+1180 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1181 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1182 
+1183 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM8_checkbox</span>
+1184 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1185 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1186 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1187 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1188 
+1189 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1190     <span class="comment">% then checkbox is checked-take approriate action</span>
+1191     num_BPM_actif(8) = 1;
+1192     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1193 <span class="keyword">else</span>
+1194     <span class="comment">% checkbox is not checked-take approriate action</span>
+1195     num_BPM_actif(8) = 0;  
+1196     BPMxList = intersect(BPMxList,[BPMxListtotal(1:7,:); BPMxListtotal(9:nbmaxBPM,:)],<span class="string">'rows'</span>);
+1197     
+1198 <span class="keyword">end</span>
+1199 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1200 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1201 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1202 
+1203 <span class="comment">% --- Executes on button press in BPM9_checkbox.</span>
+1204 <a name="_sub53" href="#_subfunctions" class="code">function BPM9_checkbox_Callback(hObject, eventdata, handles)</a>
+1205 <span class="comment">% hObject    handle to BPM9_checkbox (see GCBO)</span>
+1206 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1207 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1208 
+1209 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM9_checkbox</span>
+1210 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1211 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1212 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1213 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1214 
+1215 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1216     <span class="comment">% then checkbox is checked-take approriate action</span>
+1217     num_BPM_actif(9) = 1;
+1218     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1219 <span class="keyword">else</span>
+1220     <span class="comment">% checkbox is not checked-take approriate action</span>
+1221     num_BPM_actif(9) = 0;  
+1222     BPMxList = intersect(BPMxList,[BPMxListtotal(1:8,:); BPMxListtotal(10:nbmaxBPM,:)],<span class="string">'rows'</span>);
+1223     
+1224 <span class="keyword">end</span>
+1225 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1226 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1227 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1228 
+1229 <span class="comment">% --- Executes on button press in BPM10_checkbox.</span>
+1230 <a name="_sub54" href="#_subfunctions" class="code">function BPM10_checkbox_Callback(hObject, eventdata, handles)</a>
+1231 <span class="comment">% hObject    handle to BPM10_checkbox (see GCBO)</span>
+1232 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1233 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1234 
+1235 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of BPM10_checkbox</span>
+1236 nbmaxBPM = getappdata(handles.figure1,<span class="string">'nbmaxBPM'</span>);
+1237 BPMxList = getappdata(handles.figure1,<span class="string">'BPMxList'</span>);
+1238 num_BPM_actif = getappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>);
+1239 BPMxListtotal = family2dev(<span class="string">'BPMx'</span>, 0 );  
+1240 
+1241 <span class="keyword">if</span> (get(hObject,<span class="string">'Value'</span>) == get(hObject,<span class="string">'Max'</span>))
+1242     <span class="comment">% then checkbox is checked-take approriate action</span>
+1243     num_BPM_actif(10) = 1;
+1244     BPMxList = intersect(BPMxList,BPMxListtotal(1:nbmaxBPM,:),<span class="string">'rows'</span>);
+1245 <span class="keyword">else</span>
+1246     <span class="comment">% checkbox is not checked-take approriate action</span>
+1247     num_BPM_actif(10) = 0;  
+1248     BPMxList = intersect(BPMxList,BPMxListtotal(1:9,:),<span class="string">'rows'</span>);
+1249     
+1250 <span class="keyword">end</span>
+1251 setappdata(handles.figure1,<span class="string">'num_BPM_actif'</span>,num_BPM_actif);
+1252 setappdata(handles.figure1,<span class="string">'BPMxList'</span>,BPMxList);
+1253 mycallbackenergytunette(1,1,hObject, eventdata, handles)
+1254 
+1255 <a name="_sub55" href="#_subfunctions" class="code">function K1_U_edit_Callback(hObject, eventdata, handles)</a>
+1256 <span class="comment">% hObject    handle to K1_U_edit (see GCBO)</span>
+1257 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1258 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1259 
+1260 <span class="comment">% Hints: get(hObject,'String') returns contents of K1_U_edit as text</span>
+1261 <span class="comment">%        str2double(get(hObject,'String')) returns contents of K1_U_edit as a double</span>
+1262 
+1263 
+1264 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1265 <a name="_sub56" href="#_subfunctions" class="code">function K1_U_edit_CreateFcn(hObject, eventdata, handles)</a>
+1266 <span class="comment">% hObject    handle to K1_U_edit (see GCBO)</span>
+1267 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1268 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1269 
+1270 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1271 <span class="comment">%       See ISPC and COMPUTER.</span>
+1272 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1273     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1274 <span class="keyword">end</span>
+1275 
+1276 
+1277 <span class="comment">% --- Executes on slider movement.</span>
+1278 <a name="_sub57" href="#_subfunctions" class="code">function K1_U_slider_Callback(hObject, eventdata, handles)</a>
+1279 <span class="comment">% hObject    handle to K1_U_slider (see GCBO)</span>
+1280 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1281 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1282 
+1283 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1284 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1285 
+1286 
+1287 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1288 <a name="_sub58" href="#_subfunctions" class="code">function K1_U_slider_CreateFcn(hObject, eventdata, handles)</a>
+1289 <span class="comment">% hObject    handle to K1_U_slider (see GCBO)</span>
+1290 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1291 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1292 
+1293 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1294 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1295     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1296 <span class="keyword">end</span>
+1297 
+1298 
+1299 
+1300 <a name="_sub59" href="#_subfunctions" class="code">function K2_U_edit_Callback(hObject, eventdata, handles)</a>
+1301 <span class="comment">% hObject    handle to K2_U_edit (see GCBO)</span>
+1302 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1303 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1304 
+1305 <span class="comment">% Hints: get(hObject,'String') returns contents of K2_U_edit as text</span>
+1306 <span class="comment">%        str2double(get(hObject,'String')) returns contents of K2_U_edit as a double</span>
+1307 
+1308 
+1309 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1310 <a name="_sub60" href="#_subfunctions" class="code">function K2_U_edit_CreateFcn(hObject, eventdata, handles)</a>
+1311 <span class="comment">% hObject    handle to K2_U_edit (see GCBO)</span>
+1312 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1313 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1314 
+1315 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1316 <span class="comment">%       See ISPC and COMPUTER.</span>
+1317 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1318     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1319 <span class="keyword">end</span>
+1320 
+1321 
+1322 <span class="comment">% --- Executes on slider movement.</span>
+1323 <a name="_sub61" href="#_subfunctions" class="code">function K2_U_slider_Callback(hObject, eventdata, handles)</a>
+1324 <span class="comment">% hObject    handle to K2_U_slider (see GCBO)</span>
+1325 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1326 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1327 
+1328 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1329 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1330 
+1331 
+1332 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1333 <a name="_sub62" href="#_subfunctions" class="code">function K2_U_slider_CreateFcn(hObject, eventdata, handles)</a>
+1334 <span class="comment">% hObject    handle to K2_U_slider (see GCBO)</span>
+1335 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1336 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1337 
+1338 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1339 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1340     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1341 <span class="keyword">end</span>
+1342 
+1343 
+1344 
+1345 <a name="_sub63" href="#_subfunctions" class="code">function K3_U_edit_Callback(hObject, eventdata, handles)</a>
+1346 <span class="comment">% hObject    handle to K3_U_edit (see GCBO)</span>
+1347 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1348 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1349 
+1350 <span class="comment">% Hints: get(hObject,'String') returns contents of K3_U_edit as text</span>
+1351 <span class="comment">%        str2double(get(hObject,'String')) returns contents of K3_U_edit as a double</span>
+1352 
+1353 
+1354 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1355 <a name="_sub64" href="#_subfunctions" class="code">function K3_U_edit_CreateFcn(hObject, eventdata, handles)</a>
+1356 <span class="comment">% hObject    handle to K3_U_edit (see GCBO)</span>
+1357 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1358 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1359 
+1360 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1361 <span class="comment">%       See ISPC and COMPUTER.</span>
+1362 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1363     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1364 <span class="keyword">end</span>
+1365 
+1366 
+1367 <span class="comment">% --- Executes on slider movement.</span>
+1368 <a name="_sub65" href="#_subfunctions" class="code">function K3_U_slider_Callback(hObject, eventdata, handles)</a>
+1369 <span class="comment">% hObject    handle to K3_U_slider (see GCBO)</span>
+1370 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1371 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1372 
+1373 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1374 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1375 
+1376 
+1377 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1378 <a name="_sub66" href="#_subfunctions" class="code">function K3_U_slider_CreateFcn(hObject, eventdata, handles)</a>
+1379 <span class="comment">% hObject    handle to K3_U_slider (see GCBO)</span>
+1380 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1381 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1382 
+1383 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1384 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1385     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1386 <span class="keyword">end</span>
+1387 
+1388 
+1389 
+1390 <a name="_sub67" href="#_subfunctions" class="code">function K4_U_edit_Callback(hObject, eventdata, handles)</a>
+1391 <span class="comment">% hObject    handle to K4_U_edit (see GCBO)</span>
+1392 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1393 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1394 
+1395 <span class="comment">% Hints: get(hObject,'String') returns contents of K4_U_edit as text</span>
+1396 <span class="comment">%        str2double(get(hObject,'String')) returns contents of K4_U_edit as a double</span>
+1397 
+1398 
+1399 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1400 <a name="_sub68" href="#_subfunctions" class="code">function K4_U_edit_CreateFcn(hObject, eventdata, handles)</a>
+1401 <span class="comment">% hObject    handle to K4_U_edit (see GCBO)</span>
+1402 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1403 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1404 
+1405 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1406 <span class="comment">%       See ISPC and COMPUTER.</span>
+1407 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1408     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1409 <span class="keyword">end</span>
+1410 
+1411 
+1412 <span class="comment">% --- Executes on slider movement.</span>
+1413 <a name="_sub69" href="#_subfunctions" class="code">function K4_U_slider_Callback(hObject, eventdata, handles)</a>
+1414 <span class="comment">% hObject    handle to K4_U_slider (see GCBO)</span>
+1415 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1416 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1417 
+1418 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1419 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1420 
+1421 
+1422 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1423 <a name="_sub70" href="#_subfunctions" class="code">function K4_U_slider_CreateFcn(hObject, eventdata, handles)</a>
+1424 <span class="comment">% hObject    handle to K4_U_slider (see GCBO)</span>
+1425 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1426 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1427 
+1428 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1429 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1430     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1431 <span class="keyword">end</span>
+1432 
+1433 
+1434 
+1435 <a name="_sub71" href="#_subfunctions" class="code">function septum_actif_a_edit_Callback(hObject, eventdata, handles)</a>
+1436 <span class="comment">% hObject    handle to septum_actif_a_edit (see GCBO)</span>
+1437 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1438 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1439 
+1440 <span class="comment">% Hints: get(hObject,'String') returns contents of septum_actif_a_edit as text</span>
+1441 <span class="comment">%        str2double(get(hObject,'String')) returns contents of septum_actif_a_edit as a double</span>
+1442 
+1443 
+1444 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1445 <a name="_sub72" href="#_subfunctions" class="code">function septum_actif_a_edit_CreateFcn(hObject, eventdata, handles)</a>
+1446 <span class="comment">% hObject    handle to septum_actif_a_edit (see GCBO)</span>
+1447 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1448 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1449 
+1450 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1451 <span class="comment">%       See ISPC and COMPUTER.</span>
+1452 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1453     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1454 <span class="keyword">end</span>
+1455 
+1456 
+1457 <span class="comment">% --- Executes on slider movement.</span>
+1458 <a name="_sub73" href="#_subfunctions" class="code">function septum_actif_a_slider_Callback(hObject, eventdata, handles)</a>
+1459 <span class="comment">% hObject    handle to septum_actif_a_slider (see GCBO)</span>
+1460 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1461 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1462 
+1463 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1464 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1465 
+1466 
+1467 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1468 <a name="_sub74" href="#_subfunctions" class="code">function septum_actif_a_slider_CreateFcn(hObject, eventdata, handles)</a>
+1469 <span class="comment">% hObject    handle to septum_actif_a_slider (see GCBO)</span>
+1470 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1471 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1472 
+1473 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1474 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1475     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1476 <span class="keyword">end</span>
+1477 
+1478 
+1479 
+1480 <a name="_sub75" href="#_subfunctions" class="code">function septum_passif_a_edit_Callback(hObject, eventdata, handles)</a>
+1481 <span class="comment">% hObject    handle to septum_passif_a_edit (see GCBO)</span>
+1482 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1483 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1484 
+1485 <span class="comment">% Hints: get(hObject,'String') returns contents of septum_passif_a_edit as text</span>
+1486 <span class="comment">%        str2double(get(hObject,'String')) returns contents of septum_passif_a_edit as a double</span>
+1487 
+1488 
+1489 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1490 <a name="_sub76" href="#_subfunctions" class="code">function septum_passif_a_edit_CreateFcn(hObject, eventdata, handles)</a>
+1491 <span class="comment">% hObject    handle to septum_passif_a_edit (see GCBO)</span>
+1492 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1493 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1494 
+1495 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1496 <span class="comment">%       See ISPC and COMPUTER.</span>
+1497 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1498     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1499 <span class="keyword">end</span>
+1500 
+1501 
+1502 <span class="comment">% --- Executes on slider movement.</span>
+1503 <a name="_sub77" href="#_subfunctions" class="code">function septum_passif_a_slider_Callback(hObject, eventdata, handles)</a>
+1504 <span class="comment">% hObject    handle to septum_passif_a_slider (see GCBO)</span>
+1505 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1506 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1507 
+1508 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1509 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1510 
+1511 
+1512 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1513 <a name="_sub78" href="#_subfunctions" class="code">function septum_passif_a_slider_CreateFcn(hObject, eventdata, handles)</a>
+1514 <span class="comment">% hObject    handle to septum_passif_a_slider (see GCBO)</span>
+1515 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1516 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1517 
+1518 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1519 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1520     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1521 <span class="keyword">end</span>
+1522 
+1523 
+1524 
+1525 <a name="_sub79" href="#_subfunctions" class="code">function CV4_a_edit_Callback(hObject, eventdata, handles)</a>
+1526 <span class="comment">% hObject    handle to CV4_a_edit (see GCBO)</span>
+1527 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1528 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1529 
+1530 <span class="comment">% Hints: get(hObject,'String') returns contents of CV4_a_edit as text</span>
+1531 <span class="comment">%        str2double(get(hObject,'String')) returns contents of CV4_a_edit as a double</span>
+1532 
+1533 
+1534 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1535 <a name="_sub80" href="#_subfunctions" class="code">function CV4_a_edit_CreateFcn(hObject, eventdata, handles)</a>
+1536 <span class="comment">% hObject    handle to CV4_a_edit (see GCBO)</span>
+1537 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1538 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1539 
+1540 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1541 <span class="comment">%       See ISPC and COMPUTER.</span>
+1542 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1543     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1544 <span class="keyword">end</span>
+1545 
+1546 
+1547 <span class="comment">% --- Executes on slider movement.</span>
+1548 <a name="_sub81" href="#_subfunctions" class="code">function CV4_a_slider_Callback(hObject, eventdata, handles)</a>
+1549 <span class="comment">% hObject    handle to CV4_a_slider (see GCBO)</span>
+1550 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1551 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1552 
+1553 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1554 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1555 
+1556 
+1557 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1558 <a name="_sub82" href="#_subfunctions" class="code">function CV4_a_slider_CreateFcn(hObject, eventdata, handles)</a>
+1559 <span class="comment">% hObject    handle to CV4_a_slider (see GCBO)</span>
+1560 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1561 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1562 
+1563 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1564 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1565     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1566 <span class="keyword">end</span>
+1567 
+1568 
+1569 
+1570 <a name="_sub83" href="#_subfunctions" class="code">function CV5_a_edit_Callback(hObject, eventdata, handles)</a>
+1571 <span class="comment">% hObject    handle to CV5_a_edit (see GCBO)</span>
+1572 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1573 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1574 
+1575 <span class="comment">% Hints: get(hObject,'String') returns contents of CV5_a_edit as text</span>
+1576 <span class="comment">%        str2double(get(hObject,'String')) returns contents of CV5_a_edit as a double</span>
+1577 
+1578 
+1579 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1580 <a name="_sub84" href="#_subfunctions" class="code">function CV5_a_edit_CreateFcn(hObject, eventdata, handles)</a>
+1581 <span class="comment">% hObject    handle to CV5_a_edit (see GCBO)</span>
+1582 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1583 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1584 
+1585 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1586 <span class="comment">%       See ISPC and COMPUTER.</span>
+1587 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1588     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1589 <span class="keyword">end</span>
+1590 
+1591 
+1592 <span class="comment">% --- Executes on slider movement.</span>
+1593 <a name="_sub85" href="#_subfunctions" class="code">function CV5_a_slider_Callback(hObject, eventdata, handles)</a>
+1594 <span class="comment">% hObject    handle to CV5_a_slider (see GCBO)</span>
+1595 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1596 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1597 
+1598 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1599 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1600 
+1601 
+1602 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1603 <a name="_sub86" href="#_subfunctions" class="code">function CV5_a_slider_CreateFcn(hObject, eventdata, handles)</a>
+1604 <span class="comment">% hObject    handle to CV5_a_slider (see GCBO)</span>
+1605 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1606 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1607 
+1608 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1609 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1610     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1611 <span class="keyword">end</span>
+1612 
+1613 
+1614 <span class="comment">% --- Executes on slider movement.</span>
+1615 <a name="_sub87" href="#_subfunctions" class="code">function septum_actif_U_slider_Callback(hObject, eventdata, handles)</a>
+1616 <span class="comment">% hObject    handle to septum_actif_U_slider (see GCBO)</span>
+1617 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1618 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1619 
+1620 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1621 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1622 
+1623 
+1624 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1625 <a name="_sub88" href="#_subfunctions" class="code">function septum_actif_U_slider_CreateFcn(hObject, eventdata, handles)</a>
+1626 <span class="comment">% hObject    handle to septum_actif_U_slider (see GCBO)</span>
+1627 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1628 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1629 
+1630 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1631 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1632     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1633 <span class="keyword">end</span>
+1634 
+1635 
+1636 
+1637 <a name="_sub89" href="#_subfunctions" class="code">function septum_passif_U_edit_Callback(hObject, eventdata, handles)</a>
+1638 <span class="comment">% hObject    handle to septum_passif_U_edit (see GCBO)</span>
+1639 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1640 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1641 
+1642 <span class="comment">% Hints: get(hObject,'String') returns contents of septum_passif_U_edit as text</span>
+1643 <span class="comment">%        str2double(get(hObject,'String')) returns contents of septum_passif_U_edit as a double</span>
+1644 
+1645 
+1646 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1647 <a name="_sub90" href="#_subfunctions" class="code">function septum_passif_U_edit_CreateFcn(hObject, eventdata, handles)</a>
+1648 <span class="comment">% hObject    handle to septum_passif_U_edit (see GCBO)</span>
+1649 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1650 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1651 
+1652 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1653 <span class="comment">%       See ISPC and COMPUTER.</span>
+1654 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1655     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1656 <span class="keyword">end</span>
+1657 
+1658 
+1659 <span class="comment">% --- Executes on slider movement.</span>
+1660 <a name="_sub91" href="#_subfunctions" class="code">function septum_passif_U_slider_Callback(hObject, eventdata, handles)</a>
+1661 <span class="comment">% hObject    handle to septum_passif_U_slider (see GCBO)</span>
+1662 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1663 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1664 
+1665 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1666 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1667 
+1668 
+1669 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1670 <a name="_sub92" href="#_subfunctions" class="code">function septum_passif_U_slider_CreateFcn(hObject, eventdata, handles)</a>
+1671 <span class="comment">% hObject    handle to septum_passif_U_slider (see GCBO)</span>
+1672 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1673 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1674 
+1675 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1676 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1677     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1678 <span class="keyword">end</span>
+1679 
+1680 
+1681 
+1682 <a name="_sub93" href="#_subfunctions" class="code">function CV4_I_edit_Callback(hObject, eventdata, handles)</a>
+1683 <span class="comment">% hObject    handle to CV4_I_edit (see GCBO)</span>
+1684 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1685 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1686 
+1687 <span class="comment">% Hints: get(hObject,'String') returns contents of CV4_I_edit as text</span>
+1688 <span class="comment">%        str2double(get(hObject,'String')) returns contents of CV4_I_edit as a double</span>
+1689 
+1690 
+1691 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1692 <a name="_sub94" href="#_subfunctions" class="code">function CV4_I_edit_CreateFcn(hObject, eventdata, handles)</a>
+1693 <span class="comment">% hObject    handle to CV4_I_edit (see GCBO)</span>
+1694 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1695 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1696 
+1697 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1698 <span class="comment">%       See ISPC and COMPUTER.</span>
+1699 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1700     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1701 <span class="keyword">end</span>
+1702 
+1703 
+1704 <span class="comment">% --- Executes on slider movement.</span>
+1705 <a name="_sub95" href="#_subfunctions" class="code">function CV4_I_slider_Callback(hObject, eventdata, handles)</a>
+1706 <span class="comment">% hObject    handle to CV4_I_slider (see GCBO)</span>
+1707 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1708 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1709 
+1710 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1711 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1712 
+1713 
+1714 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1715 <a name="_sub96" href="#_subfunctions" class="code">function CV4_I_slider_CreateFcn(hObject, eventdata, handles)</a>
+1716 <span class="comment">% hObject    handle to CV4_I_slider (see GCBO)</span>
+1717 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1718 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1719 
+1720 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1721 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1722     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1723 <span class="keyword">end</span>
+1724 
+1725 
+1726 
+1727 <a name="_sub97" href="#_subfunctions" class="code">function CV5_I_edit_Callback(hObject, eventdata, handles)</a>
+1728 <span class="comment">% hObject    handle to CV5_I_edit (see GCBO)</span>
+1729 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1730 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1731 
+1732 <span class="comment">% Hints: get(hObject,'String') returns contents of CV5_I_edit as text</span>
+1733 <span class="comment">%        str2double(get(hObject,'String')) returns contents of CV5_I_edit as a double</span>
+1734 
+1735 
+1736 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1737 <a name="_sub98" href="#_subfunctions" class="code">function CV5_I_edit_CreateFcn(hObject, eventdata, handles)</a>
+1738 <span class="comment">% hObject    handle to CV5_I_edit (see GCBO)</span>
+1739 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1740 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1741 
+1742 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1743 <span class="comment">%       See ISPC and COMPUTER.</span>
+1744 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1745     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1746 <span class="keyword">end</span>
+1747 
+1748 
+1749 <span class="comment">% --- Executes on slider movement.</span>
+1750 <a name="_sub99" href="#_subfunctions" class="code">function CV5_I_slider_Callback(hObject, eventdata, handles)</a>
+1751 <span class="comment">% hObject    handle to CV5_I_slider (see GCBO)</span>
+1752 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1753 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1754 
+1755 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+1756 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+1757 
+1758 
+1759 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1760 <a name="_sub100" href="#_subfunctions" class="code">function CV5_I_slider_CreateFcn(hObject, eventdata, handles)</a>
+1761 <span class="comment">% hObject    handle to CV5_I_slider (see GCBO)</span>
+1762 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1763 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1764 
+1765 <span class="comment">% Hint: slider controls usually have a light gray background.</span>
+1766 <span class="keyword">if</span> isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1767     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+1768 <span class="keyword">end</span>
+1769 
+1770 
+1771 
+1772 <a name="_sub101" href="#_subfunctions" class="code">function septum_actif_U_edit_Callback(hObject, eventdata, handles)</a>
+1773 <span class="comment">% hObject    handle to septum_actif_U_edit (see GCBO)</span>
+1774 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1775 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1776 
+1777 <span class="comment">% Hints: get(hObject,'String') returns contents of septum_actif_U_edit as text</span>
+1778 <span class="comment">%        str2double(get(hObject,'String')) returns contents of septum_actif_U_edit as a double</span>
+1779 
+1780 
+1781 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1782 <a name="_sub102" href="#_subfunctions" class="code">function septum_actif_U_edit_CreateFcn(hObject, eventdata, handles)</a>
+1783 <span class="comment">% hObject    handle to septum_actif_U_edit (see GCBO)</span>
+1784 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1785 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1786 
+1787 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1788 <span class="comment">%       See ISPC and COMPUTER.</span>
+1789 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1790     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1791 <span class="keyword">end</span>
+1792 
+1793 
+1794 <span class="comment">% bugs</span>
+1795 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1796 <a name="_sub103" href="#_subfunctions" class="code">function edit56_CreateFcn(hObject, eventdata, handles)</a>
+1797 <a name="_sub104" href="#_subfunctions" class="code">function edit57_CreateFcn(hObject, eventdata, handles)</a>
+1798 <a name="_sub105" href="#_subfunctions" class="code">function slider55_CreateFcn(hObject, eventdata, handles)</a>
+1799 <a name="_sub106" href="#_subfunctions" class="code">function slider56_CreateFcn(hObject, eventdata, handles)</a>
+1800</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setRFfrequency.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setRFfrequency.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setRFfrequency.html	(revision 17)
@@ -0,0 +1,77 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setRFfrequency</title>
+  <meta name="keywords" content="setRFfrequency">
+  <meta name="description" content="setRFfrequency">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; setRFfrequency.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setRFfrequency
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>setRFfrequency</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setRFfrequency(RFvalue) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> setRFfrequency
+ Set RF frequency to a given value by steps of 100 Hz 
+
+  INPUTS
+  1. RFvalue input value</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setRFfrequency(RFvalue)</a>
+0002 <span class="comment">% setRFfrequency</span>
+0003 <span class="comment">% Set RF frequency to a given value by steps of 100 Hz</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. RFvalue input value</span>
+0007 
+0008 RFthreshold = 1e-6; <span class="comment">% MHz</span>
+0009 RFstep = 50e-6; <span class="comment">% MHz  changement le 30 aout 2009 100Hz/2s-&gt; 50Hz/1s (meme si Ã§a a l'air pareil..)</span>
+0010 RFpause = 1.5; <span class="comment">% s changement le 30 aout 2009 100Hz/2s-&gt; 50Hz/1s</span>
+0011 
+0012 RF = getrf;
+0013 DeltaRF = RF - RFvalue;
+0014 
+0015 <span class="comment">% loop for changinf RF frequency by step of 100 Hz</span>
+0016 <span class="keyword">while</span> abs(DeltaRF) &gt; RFthreshold; 
+0017     <span class="keyword">if</span> abs(DeltaRF) &gt; RFstep
+0018         DeltaRF = RFstep*sign(DeltaRF);
+0019     <span class="keyword">end</span>
+0020     steprf(-DeltaRF);
+0021     pause(RFpause);
+0022     RF = getrf;
+0023     DeltaRF = RF - RFvalue;
+0024 <span class="keyword">end</span>
+0025 
+0026 fprintf(<span class="string">'RF frequency set \n'</span>);</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setoperationalmode.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setoperationalmode.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setoperationalmode.html	(revision 17)
@@ -0,0 +1,705 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setoperationalmode</title>
+  <meta name="keywords" content="setoperationalmode">
+  <meta name="description" content="SETOPERATIONALMODE - Switches between the various operational modes">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; setoperationalmode.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setoperationalmode
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SETOPERATIONALMODE - Switches between the various operational modes</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setoperationalmode(ModeNumber) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SETOPERATIONALMODE - Switches between the various operational modes
+  setoperationalmode(ModeNumber)
+
+  INPUTS
+  1. ModeNumber = 1. 2.7391 GeV, lattice 18.2 10.3
+                  2. 2.7391 GeV, Chasmann-Green
+
+                100. Laurent's Mode
+
+  See also <a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>, <a href="soleilinit.html" class="code" title="function soleilinit(OperationalMode)">soleilinit</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>	UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="soleilinit.html" class="code" title="function soleilinit(OperationalMode)">soleilinit</a>	SOLEILINIT - Initializes params for SOLEIL control in MATLAB</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function BuildOffsetAndGoldenOrbits</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setoperationalmode(ModeNumber)</a>
+0002 <span class="comment">%SETOPERATIONALMODE - Switches between the various operational modes</span>
+0003 <span class="comment">%  setoperationalmode(ModeNumber)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. ModeNumber = 1. 2.7391 GeV, lattice 18.2 10.3</span>
+0007 <span class="comment">%                  2. 2.7391 GeV, Chasmann-Green</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%                100. Laurent's Mode</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  See also aoinit, updateatindex, soleilinit</span>
+0012 
+0013 <span class="comment">%</span>
+0014 <span class="comment">% Written by Laurent S. Nadolski</span>
+0015 
+0016 <span class="keyword">global</span> THERING
+0017 
+0018 <span class="comment">% Check if the AO exists</span>
+0019 checkforao;
+0020 
+0021 
+0022 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0023 <span class="comment">% Accelerator Dependent Modes %</span>
+0024 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0025 <span class="keyword">if</span> nargin &lt; 1
+0026     ModeNumber = [];
+0027 <span class="keyword">end</span>
+0028 <span class="keyword">if</span> isempty(ModeNumber)
+0029     ModeCell = {<span class="string">'2.7391 GeV, 18.2 10.3'</span>, <span class="string">'2.7391 GeV, Chasmann-Green'</span>, <span class="keyword">...</span>
+0030         <span class="string">'Laurent''s Mode'</span>};
+0031     [ModeNumber, OKFlag] = listdlg(<span class="string">'Name'</span>,<span class="string">'SOLEIL'</span>,<span class="string">'PromptString'</span>,<span class="string">'Select the Operational Mode:'</span>, <span class="string">'SelectionMode'</span>,<span class="string">'single'</span>, <span class="string">'ListString'</span>, ModeCell, <span class="string">'ListSize'</span>, [450 200]);
+0032     <span class="keyword">if</span> OKFlag ~= 1
+0033         fprintf(<span class="string">'   Operational mode not changed\n'</span>);
+0034         <span class="keyword">return</span>
+0035     <span class="keyword">elseif</span> ModeNumber == 3
+0036         ModeNumber = 100;  <span class="comment">% Laurent</span>
+0037     <span class="keyword">end</span>
+0038 <span class="keyword">end</span>
+0039 
+0040 
+0041 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0042 <span class="comment">% Accelerator Data Structure %</span>
+0043 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0044 AD = getad;
+0045 AD.Machine = <span class="string">'SOLEIL'</span>;            <span class="comment">% Will already be defined if setpathmml was used</span>
+0046 AD.MachineType = <span class="string">'StorageRing'</span>;   <span class="comment">% Will already be defined if setpathmml was used</span>
+0047 AD.SubMachine  = <span class="string">'StorageRing'</span>;   <span class="comment">% Will already be defined if setpathmml was used</span>
+0048 AD.OperationalMode = <span class="string">''</span>;          <span class="comment">% Gets filled in later</span>
+0049 AD.HarmonicNumber = 416;
+0050 
+0051 <span class="comment">% Defaults RF for dispersion and chromaticity measurements (must be in Hardware units)</span>
+0052 AD.DeltaRFDisp = 100e-6;
+0053 AD.DeltaRFChro = [-100 -50 0 50 150] * 1e-6;
+0054 
+0055 <span class="comment">% Tune processor delay: delay required to wait</span>
+0056 <span class="comment">% to have a fresh tune measurement after changing</span>
+0057 <span class="comment">% a variable like the RF frequency.  Setpv will wait</span>
+0058 <span class="comment">% 2.2 * TuneDelay to be guaranteed a fresh data point.</span>
+0059 AD.BPMDelay  = 0.25; <span class="comment">% use [N, BPMDelay]=getbpmsaverages (AD.BPMDelay will disappear)</span>
+0060 AD.TuneDelay = 0.1;
+0061 
+0062 <span class="comment">% The offset and golden orbits are stored at the end of this file</span>
+0063 <span class="comment">% TODO</span>
+0064 <span class="comment">%BuildOffsetAndGoldenOrbits;  % Local function</span>
+0065 
+0066 
+0067 <span class="comment">% SP-AM Error level</span>
+0068 <span class="comment">% AD.ErrorWarningLevel = 0 -&gt; SP-AM errors are Matlab errors {Default}</span>
+0069 <span class="comment">%                       -1 -&gt; SP-AM errors are Matlab warnings</span>
+0070 <span class="comment">%                       -2 -&gt; SP-AM errors prompt a dialog box</span>
+0071 <span class="comment">%                       -3 -&gt; SP-AM errors are ignored (ErrorFlag=-1 is returned)</span>
+0072 AD.ErrorWarningLevel = 0;
+0073 
+0074 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0075 <span class="comment">% Operational Modes %</span>
+0076 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0077 
+0078 <span class="comment">% Mode setup variables (mostly path and file names)</span>
+0079 <span class="comment">% AD.OperationalMode - String used in titles</span>
+0080 <span class="comment">% ModeName - String used for mode directory name off DataRoot/MachineName</span>
+0081 <span class="comment">% OpsFileExtension - string add to default file names</span>
+0082 
+0083 <span class="keyword">if</span> ModeNumber == 1
+0084     <span class="comment">% User mode - High Tune, Top Off injection</span>
+0085     AD.OperationalMode = <span class="string">'2.7391 GeV, 18.2 10.3'</span>;
+0086     AD.Energy = 2.7391; <span class="comment">% Make sure this is the same as bend2gev at the production lattice!</span>
+0087     ModeName = <span class="string">'solamor2'</span>;
+0088     OpsFileExtension = <span class="string">'_solamor2'</span>;
+0089 
+0090     <span class="comment">% AT lattice</span>
+0091     AD.ATModel = <span class="string">'solamor2linb'</span>;
+0092     eval(AD.ATModel);  <span class="comment">%run model for compilersolamor2linb;</span>
+0093 
+0094     <span class="comment">% Golden TUNE is with the TUNE family</span>
+0095     <span class="comment">% 18.20 / 10.30</span>
+0096     AO = getao;
+0097     AO.TUNE.Monitor.Golden = [
+0098         0.20
+0099         0.30
+0100         NaN];
+0101     setao(AO);
+0102 
+0103     <span class="comment">% Golden chromaticity is in the AD (Physics units)</span>
+0104     AD.Chromaticity.Golden = [2; 2]; 
+0105 
+0106     switch2hw;
+0107 
+0108 <span class="keyword">elseif</span> ModeNumber == 2
+0109     <span class="comment">% User mode - High Tune, Top Off injection</span>
+0110     AD.OperationalMode = <span class="string">'2.7391 GeV, 18.2 10.3'</span>;
+0111     AD.Energy = 2.7391;     <span class="comment">% Make sure this is the same as bend2gev at the production lattice!</span>
+0112     ModeName = <span class="string">'chasmann_green'</span>;
+0113     OpsFileExtension = <span class="string">'_chasmann_green'</span>;
+0114 
+0115     <span class="comment">% AT lattice</span>
+0116     AD.ATModel = <span class="string">'chasman_green'</span>;
+0117     eval(AD.ATModel);  <span class="comment">%run model for compilersolamor2linb;</span>
+0118 
+0119     <span class="comment">% Golden TUNE is with the TUNE family</span>
+0120     <span class="comment">% 18.20 / 10.30</span>
+0121     AO = getao;
+0122     AO.TUNE.Monitor.Golden = [
+0123         0.20
+0124         0.30
+0125         NaN];
+0126     setao(AO);
+0127 
+0128     <span class="comment">% Golden chromaticity is in the AD (Physics units)</span>
+0129     AD.Chromaticity.Golden = [2; 2]; 
+0130 
+0131     switch2hw;
+0132 
+0133 <span class="keyword">elseif</span> ModeNumber == 100
+0134     <span class="comment">% User mode - High Tune, Top Off injection</span>
+0135     AD.OperationalMode = <span class="string">'2.7391 GeV, 18.2 10.3'</span>;
+0136     AD.Energy = 2.7391;     <span class="comment">% Make sure this is the same as bend2gev at the production lattice!</span>
+0137     ModeName = <span class="string">'chasmann_green'</span>;
+0138     OpsFileExtension = <span class="string">'_chasmann_green'</span>;
+0139 
+0140     <span class="comment">% AT lattice</span>
+0141     AD.ATModel = <span class="string">'chasman_green'</span>;
+0142     chasman_green;
+0143 
+0144     <span class="comment">% Golden TUNE is with the TUNE family</span>
+0145     <span class="comment">% 18.20 / 10.30</span>
+0146     AO = getao;
+0147     AO.TUNE.Monitor.Golden = [
+0148         0.20
+0149         0.30
+0150         NaN];
+0151     setao(AO);
+0152 
+0153     <span class="comment">% Golden chromaticity is in the AD (Physics units)</span>
+0154     AD.Chromaticity.Golden = [2; 2]; 
+0155 
+0156     switch2hw;
+0157 
+0158 <span class="keyword">else</span>
+0159     error(<span class="string">'Operational mode unknown'</span>);
+0160 <span class="keyword">end</span>
+0161 
+0162 
+0163 
+0164 <span class="comment">% Set the AD directory path</span>
+0165 setad(AD);
+0166 MMLROOT = setmmldirectories(AD.Machine, AD.SubMachine, ModeName, OpsFileExtension);
+0167 AD = getad;
+0168 
+0169 <span class="comment">% SOLEIL specific path changes</span>
+0170 
+0171  <span class="comment">% Top Level Directories</span>
+0172 
+0173 AD.Directory.DataRoot       = fullfile(MMLROOT, <span class="string">'measdata'</span>, <span class="string">'Ringdata'</span>, filesep);
+0174 AD.Directory.OpsData        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRingOpsData'</span>, filesep);
+0175 AD.Directory.Lattice        = fullfile(MMLROOT, <span class="string">'machine'</span>, <span class="string">'Soleil'</span>, <span class="string">'StorageRing'</span>, <span class="string">'Lattices'</span>, filesep);
+0176 AD.Directory.Orbit          = fullfile(MMLROOT, <span class="string">'applications'</span>, <span class="string">'orbit'</span>, filesep);
+0177 
+0178 <span class="comment">% Data Archive Directories</span>
+0179 AD.Directory.BPMData        = fullfile(AD.Directory.DataRoot, <span class="string">'BPM'</span>, filesep);
+0180 AD.Directory.TuneData       = fullfile(AD.Directory.DataRoot, <span class="string">'Tune'</span>, filesep);
+0181 AD.Directory.ChroData       = fullfile(AD.Directory.DataRoot, <span class="string">'Chromaticity'</span>, filesep);
+0182 AD.Directory.DispData       = fullfile(AD.Directory.DataRoot, <span class="string">'Dispersion'</span>, filesep);
+0183 AD.Directory.ConfigData     = fullfile(AD.Directory.DataRoot, <span class="string">'MachineConfig'</span>, filesep);
+0184 AD.Directory.BumpData       = fullfile(AD.Directory.DataRoot, <span class="string">'Bumps'</span>, filesep);
+0185 AD.Directory.Archiving      = fullfile(AD.Directory.DataRoot, <span class="string">'ArchivingData'</span>, filesep);
+0186 AD.Directory.QUAD           = fullfile(AD.Directory.DataRoot, <span class="string">'QUAD'</span>, filesep);
+0187 AD.Directory.BBA            = fullfile(AD.Directory.DataRoot, <span class="string">'BBA'</span>, filesep);
+0188 AD.Directory.PINHOLE        = fullfile(AD.Directory.DataRoot, <span class="string">'PINHOLE'</span>, filesep);
+0189 
+0190 <span class="comment">% Insertion Devices</span>
+0191 AD.Directory.HU80_TEMPO     = fullfile(getenv(<span class="string">'HOME'</span>), <span class="string">'GrpGMI'</span>, <span class="string">'HU80_TEMPO'</span>, filesep);
+0192 AD.Directory.HU80_PLEIADES  = fullfile(getenv(<span class="string">'HOME'</span>), <span class="string">'GrpGMI'</span>, <span class="string">'HU80_PLEIADES'</span>, filesep);
+0193 AD.Directory.HU80_CASSIOPEE = fullfile(getenv(<span class="string">'HOME'</span>), <span class="string">'GrpGMI'</span>, <span class="string">'HU80_CASSIOPEE'</span>, filesep);
+0194 AD.Directory.U20_PROXIMA1   = fullfile(getenv(<span class="string">'HOME'</span>), <span class="string">'GrpGMI'</span>, <span class="string">'U20_PROXIMA1'</span>, filesep);
+0195 AD.Directory.U20_SWING      = fullfile(getenv(<span class="string">'HOME'</span>), <span class="string">'GrpGMI'</span>, <span class="string">'U20_SWING'</span>, filesep);
+0196 AD.Directory.U20_CRISTAL    = fullfile(getenv(<span class="string">'HOME'</span>), <span class="string">'GrpGMI'</span>, <span class="string">'U20_CRISTAL'</span>, filesep);
+0197 AD.Directory.HU640_DESIRS   = fullfile(getenv(<span class="string">'HOME'</span>), <span class="string">'GrpGMI'</span>, <span class="string">'HU640_DESIRS'</span>, filesep);
+0198 
+0199 <span class="comment">% AD.Directory.InterlockData  = fullfile(AD.Directory.DataRoot, 'Interlock/'];</span>
+0200 
+0201 <span class="comment">%Response Matrix Directories</span>
+0202 AD.Directory.BPMResponse    = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'BPM'</span>, filesep);
+0203 AD.Directory.TuneResponse   = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'Tune'</span>, filesep);
+0204 AD.Directory.ChroResponse   = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'Chrom'</span>, filesep);
+0205 AD.Directory.DispResponse   = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'Disp'</span>, filesep);
+0206 AD.Directory.SkewResponse   = fullfile(AD.Directory.DataRoot, <span class="string">'Response'</span>, <span class="string">'Skew'</span>, filesep);
+0207 
+0208 <span class="comment">% used by energytunette</span>
+0209 AD.Directory.BPMTransport   = fullfile(AD.Directory.DataRoot, <span class="string">'Transport'</span>, <span class="string">'BPM'</span>, filesep);
+0210 <span class="comment">% used by MAT's Steerette application</span>
+0211 AD.Directory.Steerette     = fullfile(AD.Directory.DataRoot, <span class="string">'Transport'</span>, <span class="string">'Steerette'</span>, filesep);
+0212 
+0213 
+0214 <span class="comment">%Default Data File Prefix</span>
+0215 AD.Default.BPMArchiveFile      = <span class="string">'BPM'</span>;                <span class="comment">%file in AD.Directory.BPM               orbit data</span>
+0216 AD.Default.TuneArchiveFile     = <span class="string">'Tune'</span>;               <span class="comment">%file in AD.Directory.Tune              tune data</span>
+0217 AD.Default.ChroArchiveFile     = <span class="string">'Chro'</span>;               <span class="comment">%file in AD.Directory.Chromaticity       chromaticity data</span>
+0218 AD.Default.DispArchiveFile     = <span class="string">'Disp'</span>;               <span class="comment">%file in AD.Directory.Dispersion       dispersion data</span>
+0219 AD.Default.CNFArchiveFile      = <span class="string">'CNF'</span>;                <span class="comment">%file in AD.Directory.CNF               configuration data</span>
+0220 AD.Default.QUADArchiveFile     = <span class="string">'QuadBeta'</span>;           <span class="comment">%file in AD.Directory.QUAD             betafunction for quadrupoles</span>
+0221 AD.Default.PINHOLEArchiveFile  = <span class="string">'Pinhole'</span>;            <span class="comment">%file in AD.Directory.PINHOLE             pinhole data</span>
+0222 AD.Default.SkewArchiveFile     = <span class="string">'SkewQuad'</span>;           <span class="comment">%file in AD.Directory.SkewQuad             SkewQuad data</span>
+0223 AD.Default.BBAArchiveFile      = <span class="string">'BBA_DKmode'</span>;         <span class="comment">%file in AD.Directory.BBA             BBA DK mode data</span>
+0224 
+0225 <span class="comment">%Default Response Matrix File Prefix</span>
+0226 AD.Default.BPMRespFile      = <span class="string">'BPMRespMat'</span>;         <span class="comment">%file in AD.Directory.BPMResponse       BPM response matrices</span>
+0227 AD.Default.TuneRespFile     = <span class="string">'TuneRespMat'</span>;        <span class="comment">%file in AD.Directory.TuneResponse      tune response matrices</span>
+0228 AD.Default.ChroRespFile     = <span class="string">'ChroRespMat'</span>;        <span class="comment">%file in AD.Directory.ChroResponse      chromaticity response matrices</span>
+0229 AD.Default.DispRespFile     = <span class="string">'DispRespMat'</span>;        <span class="comment">%file in AD.Directory.DispResponse      dispersion response matrices</span>
+0230 AD.Default.SkewRespFile     = <span class="string">'SkewRespMat'</span>;        <span class="comment">%file in AD.Directory.SkewResponse      skew quadrupole response matrices</span>
+0231 
+0232 <span class="comment">%Operational Files</span>
+0233 AD.OpsData.LatticeFile       = <span class="string">'GoldenLattice'</span>;     <span class="comment">%Golden Lattice File (setup for users)</span>
+0234 AD.OpsData.PhysDataFile      = <span class="string">'GoldenPhysData'</span>;
+0235 AD.OpsData.BPMGoldenFile     = <span class="string">'GoldenBPMOrbit'</span>;
+0236 AD.OpsData.BPMOffsetFile     = <span class="string">'OffsetBPMOrbit'</span>;
+0237 AD.OpsData.BPMSigmaFile      = <span class="string">'BPMSigma'</span>;
+0238 AD.OpsData.TuneFile          = <span class="string">'GoldenTune'</span>;
+0239 AD.OpsData.ChroFile          = <span class="string">'GoldenChro'</span>;
+0240 AD.OpsData.DispFile          = <span class="string">'GoldenDisp'</span>;
+0241 
+0242 <span class="comment">%Operational Response Files</span>
+0243 AD.OpsData.BPMRespFile       = <span class="string">'GoldenBPMResp'</span>;     
+0244 AD.OpsData.TuneRespFile      = <span class="string">'GoldenTuneResp'</span>;    
+0245 AD.OpsData.ChroRespFile      = <span class="string">'GoldenChroResp'</span>; 
+0246 AD.OpsData.DispRespFile      = <span class="string">'GoldenDispResp'</span>;
+0247 AD.OpsData.SkewRespFile      = <span class="string">'GoldenSkewResp'</span>;
+0248 AD.OpsData.RespFiles         = {AD.OpsData.BPMRespFile,  <span class="keyword">...</span>
+0249                                 AD.OpsData.TuneRespFile, <span class="keyword">...</span>
+0250                                 AD.OpsData.ChroRespFile, <span class="keyword">...</span>
+0251                                 AD.OpsData.DispRespFile};
+0252 
+0253 <span class="comment">%Orbit Control and Feedback Files</span>
+0254 AD.Restore.GlobalFeedback   = <span class="string">'Restore.m'</span>;
+0255 <span class="comment">%AD.Restore.BeamlineFeedback = 'Restore.m';</span>
+0256 
+0257 
+0258 <span class="comment">%Orbit Control and Feedback Files</span>
+0259 AD.Restore.GlobalFeedback   = <span class="string">'Restore.m'</span>;
+0260 
+0261 <span class="comment">% Circumference</span>
+0262 AD.Circumference = findspos(THERING,length(THERING)+1);
+0263 setad(AD);
+0264 
+0265 <span class="comment">% Updates the AT indices in the MiddleLayer with the present AT lattice</span>
+0266 <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a>;
+0267 
+0268 <span class="comment">% Set the model energy</span>
+0269 setenergymodel(AD.Energy);
+0270 
+0271 <span class="comment">% Cavity and radiation</span>
+0272 <span class="comment">% setcavity off;</span>
+0273 <span class="comment">% setradiation off;</span>
+0274 <span class="comment">% fprintf('   Radiation and cavities are off.  Use setradiation / setcavity to modify. \n');</span>
+0275 
+0276 <span class="comment">% Momentum compaction factor</span>
+0277 MCF = getmcf(<span class="string">'Model'</span>);
+0278 <span class="keyword">if</span> isnan(MCF)
+0279     AD.MCF = 4.498325442923014e-04;  
+0280     fprintf(<span class="string">'   Model alpha calculation failed, middlelayer alpha set to  %f\n'</span>, AD.MCF);
+0281 <span class="keyword">else</span>
+0282     AD.MCF = MCF;
+0283     fprintf(<span class="string">'   Middlelayer alpha set to %f (AT model).\n'</span>, AD.MCF);
+0284 <span class="keyword">end</span>
+0285 setad(AD);
+0286 
+0287 
+0288 <span class="comment">% Add Gain &amp; Offsets for magnet family</span>
+0289 fprintf(<span class="string">'   Setting magnet monitor gains based on the production lattice.\n'</span>);
+0290 <span class="comment">%setgainsandoffsets;</span>
+0291 
+0292 
+0293 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%</span>
+0294 <span class="comment">% Final mode changes %</span>
+0295 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%</span>
+0296 <span class="keyword">if</span> any(ModeNumber == [1 2 3])
+0297     <span class="comment">% User mode - 2.75 GeV, Nominal lattice</span>
+0298 
+0299     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0300     <span class="comment">% Add LOCO Parameters to AO and AT-Model %</span>
+0301     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0302     <span class="comment">%     'Nominal'    - Sets nominal gains (1) / rolls (0) to the model.</span>
+0303     <span class="comment">%     'SetGains'   - Set gains/coupling from a LOCO file.</span>
+0304     <span class="comment">%     'SetModel'   - Set the model from a LOCO file.  But it only changes</span>
+0305     <span class="comment">%                    the part of the model that does not get corrected</span>
+0306     <span class="comment">%                    in 'Symmetrize' (also does a SetGains).</span>
+0307     <span class="comment">%     'LOCO2Model' - Set the model from a LOCO file (also does a SetGains).</span>
+0308     <span class="comment">%                    This sets all lattice machines fit in the LOCO run to the model.</span>
+0309     <span class="comment">%</span>
+0310     <span class="comment">% Basically, use 'SetGains' or 'SetModel' if the LOCO run was applied to the accelerator</span>
+0311     <span class="comment">%            use 'LOCO2Model' if the LOCO run was made after the final setup</span>
+0312 
+0313     <span class="comment">% Store the LOCO file in the opsdata directory</span>
+0314     <span class="comment">%AD.OpsData.LOCOFile = [getfamilydata('Directory','OpsData'),'LOCO_72SkewQuads_122BPMs'];</span>
+0315     
+0316     <span class="comment">%AD.OpsData.LOCOFile = [getfamilydata('Directory','OpsData'),'LOCO_AllQuads_1Bend_72SkewQuads'];</span>
+0317     <span class="comment">%setad(AD);</span>
+0318 
+0319     <span class="comment">% MCF depends on optics !!!</span>
+0320     
+0321     <span class="comment">%try</span>
+0322     <span class="comment">%    setlocodata('LOCO2Model', AD.OpsData.LOCOFile);</span>
+0323     <span class="comment">%catch</span>
+0324     <span class="comment">%    fprintf('\n%s\n\n', lasterr);</span>
+0325     <span class="comment">%    fprintf('   WARNING: there was a problem calibrating the model based on LOCO file %s.\n', AD.OpsData.LOCOFile);</span>
+0326     <span class="comment">%end</span>
+0327 
+0328 <span class="keyword">else</span>
+0329     <span class="comment">%setlocodata('Nominal');</span>
+0330 <span class="keyword">end</span>
+0331 
+0332 fprintf(<span class="string">'   lattice files have changed or if the AT lattice has changed.\n'</span>);
+0333 fprintf(<span class="string">'   Middlelayer setup for operational mode: %s\n'</span>, AD.OperationalMode);
+0334 
+0335 setad(orderfields(AD));
+0336 
+0337 <a name="_sub1" href="#_subfunctions" class="code">function BuildOffsetAndGoldenOrbits</a>
+0338 
+0339 <span class="comment">%  2005-07-27 Changed the [5 11] &amp; [5 12] offset and golden orbits to values during a user run. (GJP)</span>
+0340 <span class="comment">%             The offsets were zero and the golden values were:</span>
+0341 <span class="comment">%             5  11   -2.371746    0.318056</span>
+0342 <span class="comment">%             5  12   -1.915190    0.482681</span>
+0343 <span class="comment">%</span>
+0344 <span class="comment">%             The golden orbit agreement with the old middle layer is not as good as</span>
+0345 <span class="comment">%             it needs to be.  For instance, [6 1] horizontal is .67 new and 1.016 old.</span>
+0346 <span class="comment">%</span>
+0347 <span class="comment">%  2006-01-06 New offsets measured.  The large difference in location 4 and 7 is due to new buttons.</span>
+0348 <span class="comment">%</span>
+0349 
+0350 <span class="comment">% Note: you can view this by &gt;&gt; help setoperationalmode&gt;BuildOffsetAndGoldenOrbits</span>
+0351 
+0352 <span class="comment">%      DeviceList        Xnew      Ynew      Xold      Yold     Xdiff     Ydiff</span>
+0353 Offset = [
+0354     1.0000    2.0000   -0.3029    0.9601   -0.3332    0.9621    0.0303   -0.0020
+0355     1.0000    3.0000   -0.0804   -0.1250   -0.0213   -0.1887   -0.0591    0.0637
+0356     1.0000    4.0000    0.6410   -0.2695    0.6410   -0.7228         0    0.4533
+0357     1.0000    5.0000   -0.3117    1.2317   -0.3117    1.2317         0         0
+0358     1.0000    6.0000    0.2868    0.1347    0.2868    0.1347         0         0
+0359     1.0000    7.0000    0.1294   -0.3856    0.1294    0.2557         0   -0.6413
+0360     1.0000    8.0000   -0.2606   -0.3423   -0.2235   -0.1922   -0.0371   -0.1501
+0361     1.0000    9.0000   -0.0144    0.3451   -0.0639    0.3583    0.0495   -0.0132
+0362     1.0000   10.0000    1.4372   -0.1518    1.4372   -0.1518         0         0
+0363     2.0000    1.0000    0.3365    0.0489    0.3365    0.0489         0         0
+0364     2.0000    2.0000    0.3349   -0.4719    0.3029   -0.4988    0.0320    0.0269
+0365     2.0000    3.0000    0.3260    0.2452    0.2920    0.1946    0.0340    0.0506
+0366     2.0000    4.0000    0.3743   -0.1043    0.3743    0.5221         0   -0.6264
+0367     2.0000    5.0000   -0.0128   -0.0542   -0.0128   -0.0542         0         0
+0368     2.0000    6.0000    1.0025   -1.0075    1.0025   -1.0075         0         0
+0369     2.0000    7.0000   -0.0173   -0.2703   -0.0173    0.5229         0   -0.7932
+0370     2.0000    8.0000    0.1902   -0.2211    0.2433   -0.1423   -0.0531   -0.0788
+0371     2.0000    9.0000   -0.2460    0.3486   -0.1620    0.2160   -0.0840    0.1326
+0372     3.0000    2.0000   -0.3086    0.0952   -0.2826    0.1080   -0.0260   -0.0128
+0373     3.0000    3.0000    0.3677    0.3745    0.3313    0.3497    0.0364    0.0248
+0374     3.0000    4.0000   -0.3568   -0.8973   -0.3568    0.2155         0   -1.1128
+0375     3.0000    5.0000   -0.0402    0.0603   -0.0402    0.0603         0         0
+0376     3.0000    6.0000    0.2722    0.0824    0.2722    0.0824         0         0
+0377     3.0000    7.0000    0.3131   -0.3190    0.3131    0.7647         0   -1.0837
+0378     3.0000    8.0000   -0.1004    0.5151    0.0275    0.5267   -0.1279   -0.0116
+0379     3.0000    9.0000    0.4228    0.1727    0.4782    0.0919   -0.0554    0.0808
+0380     3.0000   10.0000    0.7001    0.2774    0.7001    0.2774         0         0
+0381     3.0000   11.0000   -0.5243   -0.4578   -0.5243   -0.4578         0         0
+0382     3.0000   12.0000   -0.1391    0.0454   -0.1391    0.0454         0         0
+0383     4.0000    1.0000    0.9000    0.8040    0.9000    0.8040         0         0
+0384     4.0000    2.0000   -0.2389    0.9517   -0.2736    1.0024    0.0347   -0.0507
+0385     4.0000    3.0000    0.5399   -0.3708    0.5481   -0.3316   -0.0082   -0.0392
+0386     4.0000    4.0000   -0.6150    0.4217   -0.6150    0.2945         0    0.1272
+0387     4.0000    5.0000    0.1066   -0.1455   -0.1270    0.1668    0.2336   -0.3123
+0388     4.0000    6.0000    1.0549    0.5268    0.8027    0.7899    0.2522   -0.2631
+0389     4.0000    7.0000   -0.5092   -0.2730   -0.5092    0.1823         0   -0.4553
+0390     4.0000    8.0000   -0.6119    0.6313   -0.4890    0.5291   -0.1229    0.1022
+0391     4.0000    9.0000   -0.5624   -0.3060   -0.4998   -0.3415   -0.0626    0.0355
+0392     4.0000   10.0000   -0.4352    1.3991   -0.4352    1.3991         0         0
+0393     5.0000    1.0000    0.6527    0.2707    0.6527    0.2707         0         0
+0394     5.0000    2.0000    0.0368    0.6351   -0.0318    0.6071    0.0686    0.0280
+0395     5.0000    3.0000    0.2613    0.5279    0.1690    0.4812    0.0923    0.0467
+0396     5.0000    4.0000   -0.2422    0.1545   -0.2422    0.6403         0   -0.4858
+0397     5.0000    5.0000   -0.3649    0.5744   -0.3649    0.5744         0         0
+0398     5.0000    6.0000   -0.3961    0.5409   -0.3961    0.5409         0         0
+0399     5.0000    7.0000    0.1861   -0.6341    0.1861    0.4875         0   -1.1216
+0400     5.0000    8.0000   -0.4308    0.6563   -0.4611    0.5928    0.0303    0.0635
+0401     5.0000    9.0000    0.2031    0.9099    0.4392    0.7018   -0.2361    0.2081
+0402     5.0000   10.0000    0.4052    0.9371    0.4052    0.9371         0         0
+0403     5.0000   11.0000    0.2860    0.4667    0.2860    0.4667         0         0
+0404     5.0000   12.0000    0.7625    0.4750    0.7625    0.4750         0         0
+0405     6.0000    1.0000   -0.1765    0.4277   -0.1765    0.4277         0         0
+0406     6.0000    2.0000   -0.5470    0.1162   -0.4925    0.1608   -0.0545   -0.0446
+0407     6.0000    3.0000    0.5579   -0.0764    0.4926   -0.0228    0.0653   -0.0536
+0408     6.0000    4.0000    0.1200    0.1259    0.1200    0.9682         0   -0.8423
+0409     6.0000    5.0000    0.0815   -0.2318    0.0815   -0.2318         0         0
+0410     6.0000    6.0000   -0.5071    0.4360   -0.5071    0.4360         0         0
+0411     6.0000    7.0000   -0.0400   -0.3844   -0.0400    0.5079         0   -0.8923
+0412     6.0000    8.0000    0.0326    0.8366    0.0851    0.7527   -0.0525    0.0839
+0413     6.0000    9.0000   -0.3196    0.7598   -0.2962    0.7587   -0.0234    0.0011
+0414     6.0000   10.0000    0.4473   -0.1545    0.4473   -0.1545         0         0
+0415     7.0000    1.0000    0.6227    0.3264    0.6227    0.3264         0         0
+0416     7.0000    2.0000   -0.1306    0.5463   -0.1513    0.6347    0.0207   -0.0884
+0417     7.0000    3.0000    0.4098    0.6411    0.2288    0.5024    0.1810    0.1387
+0418     7.0000    4.0000   -0.2808    0.0358   -0.2808    0.5664         0   -0.5306
+0419     7.0000    5.0000    0.2972    0.3924    0.2972    0.3924         0         0
+0420     7.0000    6.0000   -0.1378    0.6702   -0.1378    0.6702         0         0
+0421     7.0000    7.0000    0.0613    0.5088    0.0613    0.8434         0   -0.3346
+0422     7.0000    8.0000    0.0291    0.6676   -0.0196    0.6397    0.0487    0.0279
+0423     7.0000    9.0000   -1.3782   -0.6406    0.1663    0.8314   -1.5445   -1.4720
+0424     7.0000   10.0000    0.4593    0.2569    0.4593    0.2569         0         0
+0425     8.0000    1.0000    0.2270    0.4960    0.2270    0.4960         0         0
+0426     8.0000    2.0000   -0.1231    0.0635   -0.1059    0.0297   -0.0172    0.0338
+0427     8.0000    3.0000    0.2116    1.3395    0.1908    1.0542    0.0208    0.2853
+0428     8.0000    4.0000    0.0812   -0.5635    0.0812    0.6840         0   -1.2475
+0429     8.0000    5.0000   -0.1798    0.4131   -0.0830    0.6125   -0.0968   -0.1994
+0430     8.0000    6.0000   -0.1083    0.3420   -0.2474    0.8791    0.1391   -0.5371
+0431     8.0000    7.0000    0.3828    0.0519    0.3828    1.7969         0   -1.7450
+0432     8.0000    8.0000   -0.0812    1.6180   -0.0460    1.7202   -0.0352   -0.1022
+0433     8.0000    9.0000   -1.6868   -0.3611   -1.5201   -0.3296   -0.1667   -0.0315
+0434     8.0000   10.0000    0.5377   -0.0202    0.5377   -0.0202         0         0
+0435     9.0000    1.0000    0.1161   -0.0240    0.1161   -0.0240         0         0
+0436     9.0000    2.0000    1.7898    1.3374    0.4622    0.0734    1.3276    1.2640
+0437     9.0000    3.0000    0.4083    0.5453    0.3516    0.4305    0.0567    0.1148
+0438     9.0000    4.0000    0.1929   -0.3953    0.1929   -0.0981         0   -0.2972
+0439     9.0000    5.0000   -0.3339    0.0797   -0.3339    0.0797         0         0
+0440     9.0000    6.0000    0.1332   -0.0086    0.1332   -0.0086         0         0
+0441     9.0000    7.0000    0.3534    0.5847    0.3534   -0.0021         0    0.5868
+0442     9.0000    8.0000    1.0863    0.2838    1.0286    0.2349    0.0577    0.0489
+0443     9.0000    9.0000    0.9717    0.2159    0.8841    0.3314    0.0876   -0.1155
+0444     9.0000   10.0000    0.3272   -0.0581    0.3272   -0.0581         0         0
+0445    10.0000    1.0000    0.4990    0.4044    0.4990    0.4044         0         0
+0446    10.0000    2.0000    0.3332   -1.2594    0.3588   -1.2207   -0.0256   -0.0387
+0447    10.0000    3.0000   -0.0812    0.2540    0.0714    0.1528   -0.1526    0.1012
+0448    10.0000    4.0000   -0.2064    0.1349   -0.2064    0.9781         0   -0.8432
+0449    10.0000    5.0000   -0.5240    0.7222   -0.5240    0.7222         0         0
+0450    10.0000    6.0000    0.4499    0.7862    0.4499    0.7862         0         0
+0451    10.0000    7.0000    0.3624   -0.2649    0.3624    0.5027         0   -0.7676
+0452    10.0000    8.0000    0.7216    0.4301    0.7240    0.5122   -0.0024   -0.0821
+0453    10.0000    9.0000    0.8702    0.4267    0.7826    0.4394    0.0876   -0.0127
+0454    10.0000   10.0000    0.4979   -0.1694    0.4979   -0.1694         0         0
+0455    10.0000   11.0000    0.6556   -0.4005    0.6556   -0.4005         0         0
+0456    10.0000   12.0000    0.7335   -0.2444    0.7335   -0.2444         0         0
+0457    11.0000    1.0000    0.6382   -0.2382    0.6382   -0.2382         0         0
+0458    11.0000    2.0000    0.8438   -0.1025    0.8078   -0.1432    0.0360    0.0407
+0459    11.0000    3.0000    0.1660    0.7432    0.2741    0.7241   -0.1081    0.0191
+0460    11.0000    4.0000   -0.2598   -0.6969   -0.2598    0.3842         0   -1.0811
+0461    11.0000    5.0000    0.0997    0.5364    0.0997    0.5364         0         0
+0462    11.0000    6.0000    0.7115    0.5330    0.7115    0.5330         0         0
+0463    11.0000    7.0000    0.5070   -0.2151    0.5070    0.5740         0   -0.7891
+0464    11.0000    8.0000   -0.1281   -0.0106   -0.0038   -0.0113   -0.1243    0.0007
+0465    11.0000    9.0000    0.0638   -0.5505   -0.0390   -0.5956    0.1028    0.0451
+0466    11.0000   10.0000    0.7015   -0.2305    0.7015   -0.2305         0         0
+0467    12.0000    1.0000   -0.2370   -0.4183   -0.2370   -0.4183         0         0
+0468    12.0000    2.0000    0.1376   -1.0998    0.3036   -1.1286   -0.1660    0.0288
+0469    12.0000    3.0000    0.1754    0.0098    0.3032   -0.0342   -0.1278    0.0440
+0470    12.0000    4.0000   -0.0736   -1.7539   -0.0736   -0.7078         0   -1.0461
+0471    12.0000    5.0000   -0.6584   -0.5037   -0.6623   -0.1190    0.0039   -0.3847
+0472    12.0000    6.0000    0.4741    0.0259    0.2439    0.4729    0.2302   -0.4470
+0473    12.0000    7.0000   -0.0655   -0.1893   -0.0655   -0.0279         0   -0.1614
+0474    12.0000    8.0000    0.0293   -0.1884   -0.0317   -0.1047    0.0610   -0.0837
+0475    12.0000    9.0000    0.2470   -0.2015    0.2964   -0.0672   -0.0494   -0.1343
+0476    ];
+0477 
+0478 
+0479 Golden = [
+0480   1   2   -0.000000   -0.000000
+0481   1   3   -0.000000   -0.000000
+0482   1   4    0.000000    0.000000
+0483   1   5   -0.000000   -0.000000
+0484   1   6   -0.000000    0.000000
+0485   1   7    0.000000   -0.000000
+0486   2   1    0.000000    0.000000
+0487   2   2    0.000000    0.000000
+0488   2   3   -0.000000   -0.000000
+0489   2   4    0.000000   -0.000000
+0490   2   5   -0.000000    0.000000
+0491   2   6    0.000000   -0.000000
+0492   2   7    0.000000   -0.000000
+0493   2   8    0.000000   -0.000000
+0494   3   1    0.000000    0.000000
+0495   3   2   -0.000000   -0.000000
+0496   3   3    0.000000    0.000000
+0497   3   4   -0.000000   -0.000000
+0498   3   5    0.000000   -0.000000
+0499   3   6    0.000000    0.000000
+0500   3   7    0.000000   -0.000000
+0501   3   8    0.000000    0.000000
+0502   4   1    0.000000   -0.000000
+0503   4   2    0.000000   -0.000000
+0504   4   3   -0.000000   -0.000000
+0505   4   4    0.000000    0.000000
+0506   4   5    0.000000    0.000000
+0507   4   6   -0.000000    0.000000
+0508   4   7   -0.000000   -0.000000
+0509   5   1   -0.000000    0.000000
+0510   5   2   -0.000000    0.000000
+0511   5   3    0.000000    0.000000
+0512   5   4    0.000000   -0.000000
+0513   5   5   -0.000000   -0.000000
+0514   5   6    0.000000    0.000000
+0515   5   7   -0.000000   -0.000000
+0516   6   1   -0.000000    0.000000
+0517   6   2    0.000000   -0.000000
+0518   6   3    0.000000   -0.000000
+0519   6   4   -0.000000    0.000000
+0520   6   5    0.000000    0.000000
+0521   6   6   -0.000000   -0.000000
+0522   6   7   -0.000000    0.000000
+0523   6   8    0.000000    0.000000
+0524   7   1   -0.000000   -0.000000
+0525   7   2   -0.000000   -0.000000
+0526   7   3   -0.000000    0.000000
+0527   7   4    0.000000   -0.000000
+0528   7   5   -0.000000   -0.000000
+0529   7   6    0.000000   -0.000000
+0530   7   7    0.000000    0.000000
+0531   7   8    0.000000    0.000000
+0532   8   1   -0.000000   -0.000000
+0533   8   2   -0.000000    0.000000
+0534   8   3    0.000000   -0.000000
+0535   8   4    0.000000   -0.000000
+0536   8   5    0.000000   -0.000000
+0537   8   6    0.000000   -0.000000
+0538   8   7   -0.000000   -0.000000
+0539   9   1   -0.000000   -0.000000
+0540   9   2   -0.000000   -0.000000
+0541   9   3    0.000000    0.000000
+0542   9   4   -0.000000    0.000000
+0543   9   5    0.000000   -0.000000
+0544   9   6    0.000000    0.000000
+0545   9   7   -0.000000    0.000000
+0546  10   1    0.000000   -0.000000
+0547  10   2    0.000000   -0.000000
+0548  10   3   -0.000000    0.000000
+0549  10   4   -0.000000    0.000000
+0550  10   5   -0.000000    0.000000
+0551  10   6   -0.000000   -0.000000
+0552  10   7    0.000000   -0.000000
+0553  10   8    0.000000    0.000000
+0554  11   1    0.000000   -0.000000
+0555  11   2    0.000000   -0.000000
+0556  11   3    0.000000    0.000000
+0557  11   4   -0.000000    0.000000
+0558  11   5   -0.000000   -0.000000
+0559  11   6    0.000000   -0.000000
+0560  11   7   -0.000000   -0.000000
+0561  11   8    0.000000   -0.000000
+0562  12   1   -0.000000    0.000000
+0563  12   2   -0.000000    0.000000
+0564  12   3    0.000000    0.000000
+0565  12   4    0.000000   -0.000000
+0566  12   5   -0.000000    0.000000
+0567  12   6    0.000000   -0.000000
+0568  12   7    0.000000    0.000000
+0569  13   1   -0.000000   -0.000000
+0570  13   2    0.000000   -0.000000
+0571  13   3   -0.000000    0.000000
+0572  13   4    0.000000    0.000000
+0573  13   5   -0.000000   -0.000000
+0574  13   6    0.000000   -0.000000
+0575  13   7    0.000000    0.000000
+0576  14   1   -0.000000    0.000000
+0577  14   2    0.000000   -0.000000
+0578  14   3   -0.000000   -0.000000
+0579  14   4    0.000000    0.000000
+0580  14   5   -0.000000    0.000000
+0581  14   6   -0.000000    0.000000
+0582  14   7   -0.000000   -0.000000
+0583  14   8    0.000000    0.000000
+0584  15   1   -0.000000    0.000000
+0585  15   2    0.000000    0.000000
+0586  15   3   -0.000000   -0.000000
+0587  15   4   -0.000000    0.000000
+0588  15   5   -0.000000   -0.000000
+0589  15   6    0.000000   -0.000000
+0590  15   7    0.000000    0.000000
+0591  15   8   -0.000000   -0.000000
+0592  16   1   -0.000000   -0.000000
+0593  16   2    0.000000    0.000000
+0594  16   3   -0.000000   -0.000000
+0595  16   4    0.000000    0.000000
+0596  16   5   -0.000000   -0.000000
+0597  16   6   -0.000000    0.000000
+0598  16   7    0.000000   -0.000000
+0599   1   1   -0.000000    0.000000
+0600 ];
+0601 
+0602 <span class="comment">% Save the data</span>
+0603 AO = getao;
+0604 
+0605 <span class="comment">% Offset orbits</span>
+0606 [i, iNotFound, iFoundList] = findrowindex(Offset(:,1:2), AO.BPMx.DeviceList);
+0607 <span class="keyword">if</span> ~isempty(iNotFound)
+0608     fprintf(<span class="string">'\n   Warning:  BPMx offsets are specified that are not in the family (setoperationalmode)\n'</span>);
+0609 <span class="keyword">end</span>
+0610 <span class="keyword">if</span> size(AO.BPMx.DeviceList,1) ~= length(i)
+0611     fprintf(<span class="string">'\n   Warning:  Not all the offsets in the BPMx family are being specified (setoperationalmode)\n'</span>);
+0612 <span class="keyword">end</span>
+0613 AO.BPMx.Offset    = zeros(size(AO.BPMx.DeviceList,1),1);
+0614 AO.BPMx.Offset(i) = Offset(iFoundList,3);
+0615 
+0616 [i, iNotFound, iFoundList] = findrowindex(Offset(:,1:2), AO.BPMz.DeviceList);
+0617 <span class="keyword">if</span> ~isempty(iNotFound)
+0618     fprintf(<span class="string">'\n   Warning:  BPMz offsets are specified that are not in the family (setoperationalmode)\n'</span>);
+0619 <span class="keyword">end</span>
+0620 <span class="keyword">if</span> size(AO.BPMz.DeviceList,1) ~= length(i)
+0621     fprintf(<span class="string">'\n   Warning:  Not all the offsets in the BPMz family are being specified (setoperationalmode)\n'</span>);
+0622 <span class="keyword">end</span>
+0623 AO.BPMz.Offset = zeros(size(AO.BPMz.DeviceList,1),1);
+0624 AO.BPMz.Offset(i) = Offset(iFoundList,4);
+0625 
+0626 
+0627 <span class="comment">% Golden orbits</span>
+0628 [i, iNotFound, iFoundList] = findrowindex(Golden(:,1:2), AO.BPMx.DeviceList);
+0629 <span class="keyword">if</span> ~isempty(iNotFound)
+0630     fprintf(<span class="string">'\n   Warning:  BPMx golden values are specified that are not in the family (setoperationalmode)\n'</span>);
+0631 <span class="keyword">end</span>
+0632 <span class="keyword">if</span> size(AO.BPMx.DeviceList,1) ~= length(i)
+0633     fprintf(<span class="string">'\n   Warning:  Not all the golden orbits in the BPMx family are being specified (setoperationalmode)\n'</span>);
+0634 <span class="keyword">end</span>
+0635 AO.BPMx.Golden = zeros(size(AO.BPMx.DeviceList,1),1);
+0636 AO.BPMx.Golden(i) = Golden(iFoundList,3);
+0637 
+0638 [i, iNotFound, iFoundList] = findrowindex(Golden(:,1:2), AO.BPMz.DeviceList);
+0639 <span class="keyword">if</span> ~isempty(iNotFound)
+0640     fprintf(<span class="string">'\n   Warning:  BPMz golden values are specified that are not in the family (setoperationalmode)\n'</span>);
+0641 <span class="keyword">end</span>
+0642 <span class="keyword">if</span> size(AO.BPMz.DeviceList,1) ~= length(i)
+0643     fprintf(<span class="string">'\n   Warning:  Not all the golden orbits in the BPMz family are being specified (setoperationalmode)\n'</span>);
+0644 <span class="keyword">end</span>
+0645 AO.BPMz.Golden = zeros(size(AO.BPMz.DeviceList,1),1);
+0646 AO.BPMz.Golden(i) = Golden(iFoundList,4);
+0647 
+0648 setao(AO);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setorbitdefault.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setorbitdefault.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/setorbitdefault.html	(revision 17)
@@ -0,0 +1,204 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setorbitdefault</title>
+  <meta name="keywords" content="setorbitdefault">
+  <meta name="description" content="setorbitdefault(Evectors, Iters {1}, RemoveBPMDeviceList, RemoveHCMDeviceList, RemoveVCMDeviceList)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; setorbitdefault.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setorbitdefault
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>setorbitdefault(Evectors, Iters {1}, RemoveBPMDeviceList, RemoveHCMDeviceList, RemoveVCMDeviceList)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setorbitdefault(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> setorbitdefault(Evectors, Iters {1}, RemoveBPMDeviceList, RemoveHCMDeviceList, RemoveVCMDeviceList)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setorbitdefault(varargin)</a>
+0002 <span class="comment">% setorbitdefault(Evectors, Iters {1}, RemoveBPMDeviceList, RemoveHCMDeviceList, RemoveVCMDeviceList)</span>
+0003 
+0004 
+0005 <span class="comment">% Defaults</span>
+0006 PlaneFlag = 0;
+0007 Iters = 1;
+0008 Evectors = [];
+0009 RemoveBPMDeviceList = [];   
+0010 RemoveHCMDeviceList = [];   
+0011 RemoveVCMDeviceList = [];   
+0012 DisplayFlag = <span class="string">'NoDisplay'</span>;
+0013 
+0014 HCMFamily = gethcmfamily;
+0015 VCMFamily = getvcmfamily;
+0016 
+0017 
+0018 <span class="comment">% Input parsing</span>
+0019 <span class="keyword">for</span> i = length(varargin):-1:1
+0020     <span class="keyword">if</span> isstruct(varargin{i})
+0021         <span class="comment">% Just remove</span>
+0022         varargin(i) = [];
+0023     <span class="keyword">elseif</span> iscell(varargin{i})
+0024         <span class="comment">% Just remove</span>
+0025         varargin(i) = [];
+0026     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'struct'</span>)
+0027         <span class="comment">% Just remove</span>
+0028         varargin(i) = [];
+0029     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'numeric'</span>)
+0030         <span class="comment">% Just remove</span>
+0031         varargin(i) = [];
+0032     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0033         DisplayFlag = <span class="string">'Display'</span>;
+0034         varargin(i) = [];
+0035     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0036         DisplayFlag = <span class="string">'NoDisplay'</span>;
+0037         varargin(i) = [];
+0038     <span class="keyword">elseif</span> any(strcmpi(varargin{i},{<span class="string">'x'</span>,<span class="string">'Horizontal'</span>}))
+0039         PlaneFlag = 1;
+0040         varargin(i) = [];
+0041     <span class="keyword">elseif</span> any(strcmpi(varargin{i},{<span class="string">'y'</span>,<span class="string">'Vertical'</span>}))
+0042         PlaneFlag = 2;
+0043         varargin(i) = [];
+0044     <span class="keyword">end</span>
+0045 <span class="keyword">end</span>
+0046 
+0047 
+0048 <span class="keyword">if</span> length(varargin) &gt;= 1
+0049     <span class="keyword">if</span> isnumeric(varargin{1})
+0050         Evectors = varargin{1};
+0051         varargin(i) = [];
+0052     <span class="keyword">end</span>
+0053 <span class="keyword">end</span>
+0054 <span class="keyword">if</span> isempty(Evectors)
+0055     nxcor = 56;
+0056     nycor = 56;
+0057     <span class="keyword">if</span> PlaneFlag == 0
+0058         <span class="comment">% Both planes</span>
+0059         Evectors = 1:(nxcor + nycor);
+0060     <span class="keyword">elseif</span> PlaneFlag == 1
+0061         <span class="comment">% Horizontal</span>
+0062         Evectors = 1:nxcor;
+0063     <span class="keyword">elseif</span> PlaneFlag == 2
+0064         Evectors = 1:nycor;
+0065     <span class="keyword">end</span>
+0066 <span class="keyword">end</span>
+0067 
+0068 <span class="keyword">if</span> length(varargin) &gt;= 1
+0069     <span class="keyword">if</span> isnumeric(varargin{1})
+0070         Iters = varargin{1};
+0071         varargin(i) = [];
+0072     <span class="keyword">end</span>
+0073 <span class="keyword">end</span>
+0074 
+0075 <span class="keyword">if</span> length(varargin) &gt;= 1
+0076     <span class="keyword">if</span> isnumeric(varargin{1})
+0077         RemoveBPMDeviceList = varargin{1};
+0078         varargin(i) = [];
+0079     <span class="keyword">end</span>
+0080 <span class="keyword">end</span>
+0081 
+0082 <span class="keyword">if</span> PlaneFlag == 0
+0083     <span class="comment">% Get BPM and CM structures</span>
+0084     CM  = {getsp(HCMFamily,<span class="string">'struct'</span>),getsp(VCMFamily,<span class="string">'struct'</span>)};
+0085     BPM = {getx(<span class="string">'struct'</span>), gety(<span class="string">'struct'</span>)};
+0086     
+0087     
+0088     <span class="comment">% Remove devices</span>
+0089     
+0090     <span class="comment">% HCM</span>
+0091     i = findrowindex(RemoveHCMDeviceList, CM{1}.DeviceList); 
+0092     CM{1}.DeviceList(i,:) = [];
+0093     CM{1}.Data(i,:) = [];
+0094     CM{1}.Status(i,:) = [];
+0095 
+0096     <span class="comment">% VCM</span>
+0097     i = findrowindex(RemoveVCMDeviceList, CM{2}.DeviceList); 
+0098     CM{2}.DeviceList(i,:) = [];
+0099     CM{2}.Data(i,:) = [];
+0100     CM{2}.Status(i,:) = [];
+0101 
+0102     <span class="comment">% BPMx and BPMy</span>
+0103     i = findrowindex(RemoveBPMDeviceList, BPM{1}.DeviceList); 
+0104     BPM{1}.DeviceList(i,:) = [];
+0105     BPM{1}.Data(i,:) = [];
+0106     BPM{1}.Status(i,:) = [];
+0107     
+0108     i = findrowindex(RemoveBPMDeviceList, BPM{2}.DeviceList); 
+0109     BPM{2}.DeviceList(i,:) = [];
+0110     BPM{2}.Data(i,:) = [];
+0111     BPM{2}.Status(i,:) = [];
+0112     
+0113 <span class="keyword">elseif</span> PlaneFlag == 1
+0114 
+0115     <span class="comment">% Get BPM and CM structures</span>
+0116     CM  = getsp(HCMFamily,<span class="string">'struct'</span>);
+0117     BPM = getx(<span class="string">'struct'</span>);
+0118     
+0119     
+0120     <span class="comment">% Remove devices</span>
+0121     
+0122     <span class="comment">% HCM</span>
+0123     i = findrowindex(RemoveHCMDeviceList, CM.DeviceList); 
+0124     CM.DeviceList(i,:) = [];
+0125     CM.Data(i,:) = [];
+0126     CM.Status(i,:) = [];
+0127 
+0128     <span class="comment">% BPMx</span>
+0129     i = findrowindex(RemoveBPMDeviceList, BPM.DeviceList); 
+0130     BPM.DeviceList(i,:) = [];
+0131     BPM.Data(i,:) = [];
+0132     BPM.Status(i,:) = [];    
+0133 
+0134 <span class="keyword">elseif</span> PlaneFlag == 2
+0135     
+0136     <span class="comment">% Get BPM and CM structures</span>
+0137     CM  = getsp(VCMFamily,<span class="string">'struct'</span>);
+0138     BPM = gety(<span class="string">'struct'</span>);
+0139     
+0140     
+0141     <span class="comment">% Remove devices</span>
+0142     
+0143     <span class="comment">% VCM</span>
+0144     i = findrowindex(RemoveVCMDeviceList, CM.DeviceList); 
+0145     CM.DeviceList(i,:) = [];
+0146     CM.Data(i,:) = [];
+0147     CM.Status(i,:) = [];
+0148     
+0149     <span class="comment">% BPMy</span>
+0150     i = findrowindex(RemoveBPMDeviceList, BPM.DeviceList);
+0151     BPM.DeviceList(i,:) = [];
+0152     BPM.Data(i,:) = [];
+0153     BPM.Status(i,:) = [];
+0154 <span class="keyword">end</span>
+0155 
+0156 
+0157 <span class="comment">% Corrector orbit</span>
+0158 setorbit(<span class="string">'Golden'</span>, BPM, CM, Iters, Evectors, DisplayFlag, varargin{:});</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/soleilcorcheck.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/soleilcorcheck.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/soleilcorcheck.html	(revision 17)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of soleilcorcheck</title>
+  <meta name="keywords" content="soleilcorcheck">
+  <meta name="description" content="SOLEILCORCHECK - Checks for invalid corrector entries">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; soleilcorcheck.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>soleilcorcheck
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SOLEILCORCHECK - Checks for invalid corrector entries</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [varargout] = soleilcorcheck </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SOLEILCORCHECK - Checks for invalid corrector entries
+ [varargout] = soleilcorcheck
+ create COR.status vector with valid indices</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [varargout] = soleilcorcheck</a>
+0002 <span class="comment">%SOLEILCORCHECK - Checks for invalid corrector entries</span>
+0003 <span class="comment">% [varargout] = soleilcorcheck</span>
+0004 <span class="comment">% create COR.status vector with valid indices</span>
+0005 
+0006 <span class="comment">%</span>
+0007 <span class="comment">% Written by Laurent S. Nadolski, Soleil, April 2004</span>
+0008 
+0009 mode = getfamilydata(<span class="string">'HCOR'</span>,<span class="string">'Monitor'</span>,<span class="string">'Mode'</span>);
+0010 <span class="keyword">if</span> strcmpi(mode,<span class="string">'ONLINE'</span>)          <span class="comment">%...system is ONLINE - look for bad correctors readings</span>
+0011     xstat = find(getfamilydata(<span class="string">'HCOR'</span>,<span class="string">'Status'</span>));
+0012 <span class="keyword">elseif</span> strcmpi(mode,<span class="string">'SIMULATOR'</span>)
+0013     xstat = find(getfamilydata(<span class="string">'HCOR'</span>,<span class="string">'Status'</span>));
+0014 <span class="keyword">end</span>  <span class="comment">%end of mode condition</span>
+0015 
+0016 mode = getfamilydata(<span class="string">'VCOR'</span>,<span class="string">'Monitor'</span>,<span class="string">'Mode'</span>);
+0017 <span class="keyword">if</span> strcmpi(mode,<span class="string">'ONLINE'</span>)          <span class="comment">%...system is ONLINE - look for bad correctors readings</span>
+0018     zstat = find(getfamilydata(<span class="string">'VCOR'</span>,<span class="string">'Status'</span>));
+0019 <span class="keyword">elseif</span> strcmpi(mode,<span class="string">'SIMULATOR'</span>)
+0020     zstat = find(getfamilydata(<span class="string">'VCOR'</span>,<span class="string">'Status'</span>));
+0021 <span class="keyword">end</span>  <span class="comment">%end of mode condition</span>
+0022 
+0023 varargout{1} = xstat;
+0024 varargout{2} = zstat;</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/soleilinit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/soleilinit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/soleilinit.html	(revision 17)
@@ -0,0 +1,3239 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of soleilinit</title>
+  <meta name="keywords" content="soleilinit">
+  <meta name="description" content="SOLEILINIT - Initializes params for SOLEIL control in MATLAB">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; soleilinit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>soleilinit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SOLEILINIT - Initializes params for SOLEIL control in MATLAB</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function soleilinit(OperationalMode) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SOLEILINIT - Initializes params for SOLEIL control in MATLAB
+
+ Written by Laurent S. Nadolski, Synchrotron SOLEIL
+ 
+==========================
+ Accelerator Family Fields
+==========================
+ FamilyName            BPMx, HCOR, etc
+ CommonNames           Shortcut name for each element
+ DeviceList            [Sector, Number]
+ ElementList           number in list
+ Position              m, if thick, it is not the magnet center
+
+ MONITOR FIELD
+ Mode                  online/manual/special/simulator
+ TangoNames            Device Tango Names
+ Units                 Physics or HW
+ HW2PhysicsFcn         function handle used to convert from hardware to physics units ==&gt; inline will not compile, see below
+ HW2PhysicsParams      params used for conversion function
+ Physics2HWFcn         function handle used to convert from physics to hardware units
+ Physics2HWParams      params used for conversion function
+ HWUnits               units for Hardware 'A';
+ PhysicsUnits          units for physics 'Rad';
+ Handles               monitor handle
+
+ SETPOINT FIELDS
+ Mode                  online/manual/special/simulator
+ TangoNames            Devices tango names
+ Units                 hardware or physics
+ HW2PhysicsFcn         function handle used to convert from hardware to physics units
+ HW2PhysicsParams      params used for conversion function
+ Physics2HWFcn         function handle used to convert from physics to hardware units
+ Physics2HWParams      params used for conversion function
+ HWUnits               units for Hardware 'A';
+ PhysicsUnits          units for physics 'Rad';
+ Range                 minsetpoint, maxsetpoint;
+ Tolerance             setpoint-monitor
+ Handles               setpoint handle
+
+=============================================
+ Accelerator Toolbox Simulation Fields
+=============================================
+ ATType                Quad, Sext, etc
+ ATIndex               index in THERING
+ ATParamGroup      param group
+
+============
+ Family List
+============
+    BPMx
+    BPMz
+    HCOR
+    VCOR
+    BEND
+    Q1 to Q10
+    S1 to S10
+    RF
+    TUNE
+    DCCT
+    Machine Params
+
+ NOTES
+   All sextupoles have H and V corrector and skew quadrupole windings
+
+  See Also setpathsoleil, setpathmml, <a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>, setoperionalmode, <a href="updateatindex.html" class="code" title="function updateatindex">updateatindex</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>	SETOPERATIONALMODE - Switches between the various operational modes</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="aoinit.html" class="code" title="function aoinit(SubMachineName)">aoinit</a>	AOINIT - Initialization function for the Matlab Middle Layer (MML)</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function setfamilydata_local(Family)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function soleilinit(OperationalMode)</a>
+0002 <span class="comment">%SOLEILINIT - Initializes params for SOLEIL control in MATLAB</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% Written by Laurent S. Nadolski, Synchrotron SOLEIL</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%==========================</span>
+0007 <span class="comment">% Accelerator Family Fields</span>
+0008 <span class="comment">%==========================</span>
+0009 <span class="comment">% FamilyName            BPMx, HCOR, etc</span>
+0010 <span class="comment">% CommonNames           Shortcut name for each element</span>
+0011 <span class="comment">% DeviceList            [Sector, Number]</span>
+0012 <span class="comment">% ElementList           number in list</span>
+0013 <span class="comment">% Position              m, if thick, it is not the magnet center</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">% MONITOR FIELD</span>
+0016 <span class="comment">% Mode                  online/manual/special/simulator</span>
+0017 <span class="comment">% TangoNames            Device Tango Names</span>
+0018 <span class="comment">% Units                 Physics or HW</span>
+0019 <span class="comment">% HW2PhysicsFcn         function handle used to convert from hardware to physics units ==&gt; inline will not compile, see below</span>
+0020 <span class="comment">% HW2PhysicsParams      params used for conversion function</span>
+0021 <span class="comment">% Physics2HWFcn         function handle used to convert from physics to hardware units</span>
+0022 <span class="comment">% Physics2HWParams      params used for conversion function</span>
+0023 <span class="comment">% HWUnits               units for Hardware 'A';</span>
+0024 <span class="comment">% PhysicsUnits          units for physics 'Rad';</span>
+0025 <span class="comment">% Handles               monitor handle</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% SETPOINT FIELDS</span>
+0028 <span class="comment">% Mode                  online/manual/special/simulator</span>
+0029 <span class="comment">% TangoNames            Devices tango names</span>
+0030 <span class="comment">% Units                 hardware or physics</span>
+0031 <span class="comment">% HW2PhysicsFcn         function handle used to convert from hardware to physics units</span>
+0032 <span class="comment">% HW2PhysicsParams      params used for conversion function</span>
+0033 <span class="comment">% Physics2HWFcn         function handle used to convert from physics to hardware units</span>
+0034 <span class="comment">% Physics2HWParams      params used for conversion function</span>
+0035 <span class="comment">% HWUnits               units for Hardware 'A';</span>
+0036 <span class="comment">% PhysicsUnits          units for physics 'Rad';</span>
+0037 <span class="comment">% Range                 minsetpoint, maxsetpoint;</span>
+0038 <span class="comment">% Tolerance             setpoint-monitor</span>
+0039 <span class="comment">% Handles               setpoint handle</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">%=============================================</span>
+0042 <span class="comment">% Accelerator Toolbox Simulation Fields</span>
+0043 <span class="comment">%=============================================</span>
+0044 <span class="comment">% ATType                Quad, Sext, etc</span>
+0045 <span class="comment">% ATIndex               index in THERING</span>
+0046 <span class="comment">% ATParamGroup      param group</span>
+0047 <span class="comment">%</span>
+0048 <span class="comment">%============</span>
+0049 <span class="comment">% Family List</span>
+0050 <span class="comment">%============</span>
+0051 <span class="comment">%    BPMx</span>
+0052 <span class="comment">%    BPMz</span>
+0053 <span class="comment">%    HCOR</span>
+0054 <span class="comment">%    VCOR</span>
+0055 <span class="comment">%    BEND</span>
+0056 <span class="comment">%    Q1 to Q10</span>
+0057 <span class="comment">%    S1 to S10</span>
+0058 <span class="comment">%    RF</span>
+0059 <span class="comment">%    TUNE</span>
+0060 <span class="comment">%    DCCT</span>
+0061 <span class="comment">%    Machine Params</span>
+0062 <span class="comment">%</span>
+0063 <span class="comment">% NOTES</span>
+0064 <span class="comment">%   All sextupoles have H and V corrector and skew quadrupole windings</span>
+0065 <span class="comment">%</span>
+0066 <span class="comment">%  See Also setpathsoleil, setpathmml, aoinit, setoperionalmode, updateatindex</span>
+0067 
+0068 <span class="keyword">if</span> nargin &lt; 1
+0069     OperationalMode = 1;
+0070 <span class="keyword">end</span>
+0071 
+0072 <span class="keyword">global</span> GLOBVAL THERING
+0073 
+0074 <span class="comment">%==============================</span>
+0075 <span class="comment">%% load AcceleratorData structure</span>
+0076 <span class="comment">%==============================</span>
+0077 
+0078 Mode             = <span class="string">'Simulator'</span>;
+0079 setad([]);       <span class="comment">%clear AcceleratorData memory</span>
+0080 AD.SubMachine = <span class="string">'StorageRing'</span>;   <span class="comment">% Will already be defined if setpathmml was used</span>
+0081 AD.Energy        = 2.7391; <span class="comment">% Energy in GeV needed for magnet calibration. Do not remove!</span>
+0082 
+0083 setad(AD);
+0084 
+0085 <span class="comment">%%%%%%%%%%%%%%%%%%%%</span>
+0086 <span class="comment">% ACCELERATOR OBJECT</span>
+0087 <span class="comment">%%%%%%%%%%%%%%%%%%%%</span>
+0088 
+0089 setao([]);   <span class="comment">%clear previous AcceleratorObjects</span>
+0090 
+0091 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0092 <span class="comment">% BPM</span>
+0093 <span class="comment">% status field designates if BPM in use</span>
+0094 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0095 <span class="comment">%% BPMX Horizontal plane</span>
+0096 ifam = <span class="string">'BPMx'</span>;
+0097 AO.(ifam).FamilyName               = ifam;
+0098 AO.(ifam).FamilyType               = <span class="string">'BPM'</span>;
+0099 AO.(ifam).MemberOf                 = {<span class="string">'BPM'</span>; <span class="string">'HBPM'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0100 AO.(ifam).Monitor.Mode             = Mode;
+0101 <span class="comment">%AO.(ifam).Monitor.Mode             = 'Special';</span>
+0102 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;
+0103 AO.(ifam).Monitor.HWUnits          = <span class="string">'mm'</span>;
+0104 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'m'</span>;
+0105 <span class="comment">%AO.(ifam).Monitor.SpecialFunctionGet = 'gethturnbyturn';</span>
+0106 <span class="comment">% Get mapping from TANGO static database</span>
+0107 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'tracy_bpm_mapping'</span>);
+0108 
+0109 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+0110 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+0111 elemindex = cell2mat(regexpi(map,<span class="string">'BPM[0-9]'</span>,<span class="string">'once'</span>))+3;
+0112 sep       = cell2mat(regexpi(map,<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+0113 dev       = regexprep(map,<span class="string">'^BPM\d*::'</span>,<span class="string">''</span>)';
+0114 
+0115 nb = size(map,2);
+0116 
+0117 <span class="keyword">for</span> k = 1:nb,
+0118     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+0119     AO.(ifam).ElementList(k,:) = str2double(map{k}(elemindex(k):sep(k)));
+0120 <span class="keyword">end</span>
+0121 
+0122 AO.(ifam).ElementList = (1:120)';
+0123 AO.(ifam).DeviceName(:,:)               = dev;
+0124 AO.(ifam).Monitor.TangoNames(:,:)       = strcat(dev, <span class="string">'/XPosSA'</span>);
+0125 AO.(ifam).CommonNames(:,:)              = [repmat(<span class="string">'BPMx'</span>,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0126 
+0127 AO.(ifam).Status                        = ones(nb,1);
+0128 AO.(ifam).Monitor.HW2PhysicsParams(:,:) = 1e-3*ones(nb,1);
+0129 AO.(ifam).Monitor.Physics2HWParams(:,:) = 1e3*ones(nb,1);
+0130 
+0131 <span class="comment">% 2 lignes ajoutes pour test debug bpm versus le reste du monde</span>
+0132 AO.(ifam).Monitor.Handles(:,1)       = NaN*ones(nb,1);
+0133 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0134 
+0135 <span class="comment">% Group</span>
+0136 AO.(ifam).GroupId = tango_group_create2(<span class="string">'BPM'</span>);
+0137 tango_group_add(AO.(ifam).GroupId,AO.(ifam).DeviceName');
+0138 
+0139 AO.(ifam).History.TangoNames(:,:)       = strcat(dev, <span class="string">'/XPosSAHistory'</span>);
+0140 
+0141 <span class="comment">%% BPMZ Vertical plane</span>
+0142 ifam = <span class="string">'BPMz'</span>; 
+0143 AO.(ifam) = AO.BPMx; <span class="comment">% the same as BPMx</span>
+0144 AO.(ifam).MemberOf                 = {<span class="string">'BPM'</span>; <span class="string">'VBPM'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0145 AO.(ifam).Monitor.Mode             = <span class="string">'Online'</span>;
+0146 <span class="comment">%AO.(ifam).Monitor.Mode             = 'Special';</span>
+0147 <span class="comment">% except those fields</span>
+0148 AO.(ifam).FamilyName              = ifam;
+0149 AO.(ifam).Monitor.TangoNames(:,:)  = strcat(dev,<span class="string">'/ZPosSA'</span>);
+0150 AO.(ifam).CommonNames(:,:) = [repmat(<span class="string">'BPMz'</span>,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0151 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0152 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+0153 <span class="comment">%AO.(ifam).Monitor.SpecialFunctionGet = 'getvturnbyturn';</span>
+0154 
+0155 AO.(ifam).Status = AO.(ifam).Status(:);
+0156 AO.(ifam).Status = AO.(ifam).Status(:);
+0157 
+0158 <span class="comment">%TODO</span>
+0159 <span class="comment">% AO.(ifam).Sum.Monitor = AO.(ifam).Monitor;</span>
+0160 <span class="comment">% AO.(ifam).Q = AO.(ifam).Monitor;</span>
+0161 
+0162 setao(AO); <span class="comment">% mandatory to avoid empty AO message with magnetcoefficients</span>
+0163 
+0164 <span class="comment">% Make BPM group</span>
+0165 <span class="comment">% AO.(ifam).GroupID = tango_group_create('BPM');</span>
+0166 <span class="comment">% AO.(ifam).GroupID = AO.(ifam).GroupID;</span>
+0167 <span class="comment">% name = lower(getfamilydata(BPMFamily{1},'DeviceName'));</span>
+0168 <span class="comment">% tango_group_add(AO.(ifam).GroupID,{name{:}});</span>
+0169 <span class="comment">% tango_group_dump(AO.(ifam).GroupID)</span>
+0170 <span class="comment">% tango_group_size(AO.(ifam).GroupID,0)</span>
+0171 
+0172 <span class="comment">%===========================================================</span>
+0173 <span class="comment">% Corrector data: status field designates if corrector in use</span>
+0174 <span class="comment">%===========================================================</span>
+0175 
+0176 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0177 <span class="comment">%% SLOW HORIZONTAL CORRECTORS</span>
+0178 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0179 ifam = <span class="string">'HCOR'</span>;
+0180 AO.(ifam).FamilyName               = ifam;
+0181 AO.(ifam).FamilyType               = <span class="string">'COR'</span>;
+0182 AO.(ifam).MemberOf                 = {<span class="string">'MachineConfig'</span>; <span class="string">'HCOR'</span>; <span class="string">'COR'</span>; <span class="string">'Magnet'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0183 
+0184 AO.(ifam).Monitor.Mode             = Mode;
+0185 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0186 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;
+0187 AO.(ifam).Monitor.HWUnits          = <span class="string">'A'</span>;
+0188 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'rad'</span>;
+0189 AO.(ifam).Monitor.HW2PhysicsFcn    = @amp2k;
+0190 AO.(ifam).Monitor.Physics2HWFcn    = @k2amp;
+0191 
+0192 <span class="comment">% Get mapping from TANGO static database</span>
+0193 map  = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'tracy_correctorH_mapping'</span>);
+0194 devC = regexprep(map,<span class="string">'^CH\d*::'</span>,<span class="string">''</span>)';
+0195 
+0196 <span class="comment">% Get all potential correctors (in each sextupoles)</span>
+0197 mapS = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'tracy_sextupole_mapping'</span>);
+0198 cellindex  = cell2mat(regexpi(mapS,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+0199 devS = regexprep(mapS,<span class="string">'^SX\d*::'</span>,<span class="string">''</span>)';
+0200 
+0201 nb = size(mapS,2);
+0202 
+0203 <span class="comment">% Create full list of 120 potential correctors</span>
+0204 cellnum0 = 1; num = 0;
+0205 <span class="keyword">for</span> k = 1:nb,
+0206    cellnum = str2double(mapS{k}(cellindex(k):cellindex(k)+1));       
+0207    <span class="keyword">if</span> (cellnum ~= cellnum0)
+0208        cellnum0 = cellnum;
+0209        num = 1;
+0210    <span class="keyword">else</span>
+0211        num = num + 1;
+0212    <span class="keyword">end</span>
+0213    AO.(ifam).DeviceList(k,:) = [cellnum num];
+0214 <span class="keyword">end</span>
+0215 AO.(ifam).ElementList(:,:)= (1:nb)';
+0216 
+0217 dev = strcat(devS,<span class="string">'-CH'</span>);
+0218 
+0219 <span class="comment">% Select working correctors</span>
+0220 AO.(ifam).Status = ones(nb,1);
+0221 jk = 1;
+0222 <span class="keyword">for</span> k = 1:nb,
+0223         <span class="keyword">if</span> isempty(strmatch(devC{jk},dev{k}))
+0224             AO.(ifam).Status(k) = 0;
+0225         <span class="keyword">else</span>
+0226             <span class="keyword">if</span> (jk &lt; size(devC,1)), jk = jk + 1; <span class="keyword">end</span>;
+0227         <span class="keyword">end</span>
+0228 <span class="keyword">end</span>
+0229 
+0230 AO.(ifam).DeviceName(:,:)            = dev;
+0231 AO.(ifam).CommonNames(:,:)           = [repmat(AO.(ifam).FamilyName,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0232 AO.(ifam).Monitor.TangoNames(:,:)    = strcat(dev,<span class="string">'/current'</span>);
+0233 
+0234 AO.(ifam).Monitor.Range(:,:)        = repmat([-10 10],nb,1); <span class="comment">% 10 A for 0.8 mrad</span>
+0235 AO.(ifam).Monitor.Handles(:,1)       = NaN*ones(nb,1);
+0236 
+0237 <span class="comment">%Load fields from datablock</span>
+0238 <span class="comment">% AT use the &quot;A-coefficients&quot; for correctors plus an offset</span>
+0239 [C, Leff, MagnetType, coefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+0240 
+0241 <span class="keyword">for</span> ii = 1:nb,
+0242     AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+0243     AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+0244 <span class="keyword">end</span>
+0245 
+0246 
+0247 AO.(ifam).Status = AO.(ifam).Status(:);
+0248 
+0249 AO.(ifam).Setpoint = AO.(ifam).Monitor; 
+0250 AO.(ifam).Desired  = AO.(ifam).Monitor;
+0251 AO.(ifam).Setpoint.MemberOf  = {<span class="string">'PlotFamily'</span>};
+0252 AO.(ifam).Setpoint.TangoNames(:,:)    = strcat(dev,<span class="string">'/currentPM'</span>);
+0253 
+0254 AO.(ifam).Setpoint.Tolerance(:,:)    = 1e-2*ones(nb,1);
+0255 AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(nb,1)*0.5e-4*1; <span class="comment">% 2*25 urad (half used for kicking)</span>
+0256 
+0257 AO.(ifam).Voltage.TangoNames(:,:)    = strcat(dev,<span class="string">'/voltage'</span>);
+0258 AO.(ifam).Monitor.MemberOf           = {<span class="string">'PlotFamily'</span>};
+0259 <span class="comment">% AO.(ifam).SumOffset.TangoNames(:,:)     = strcat(dev,'/ecart2');</span>
+0260 <span class="comment">% AO.(ifam).SumOffset.MemberOf           = {'PlotFamily'};</span>
+0261 <span class="comment">% AO.(ifam).Ecart.TangoNames(:,:)      = strcat(dev,'/ecart1');</span>
+0262 <span class="comment">% AO.(ifam).Ecart.MemberOf           = {'PlotFamily'};</span>
+0263 
+0264 AO.(ifam).Profibus.BoardNumber = int32(0);
+0265 AO.(ifam).Profibus.Group       = int32(1);
+0266 AO.(ifam).Profibus.DeviceName  = <span class="string">'ANS/AE/DP.CH'</span>;
+0267 
+0268 <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0269 setao(AO);   <span class="comment">%required to make physics2hw function</span>
+0270 AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,<span class="string">'Setpoint'</span>, <span class="keyword">...</span>
+0271     AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+0272 
+0273 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0274 <span class="comment">%% SLOW VERTICAL CORRECTORS</span>
+0275 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0276 ifam = <span class="string">'VCOR'</span>;
+0277 AO.(ifam).FamilyName               = ifam;
+0278 AO.(ifam).FamilyType               = <span class="string">'COR'</span>;
+0279 AO.(ifam).MemberOf                 = {<span class="string">'MachineConfig'</span>; <span class="string">'VCOR'</span>; <span class="string">'COR'</span>; <span class="string">'Magnet'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0280 
+0281 AO.(ifam).Monitor.Mode             = Mode;
+0282 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0283 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;
+0284 AO.(ifam).Monitor.HWUnits          = <span class="string">'A'</span>;
+0285 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'rad'</span>;
+0286 AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+0287 AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+0288 
+0289 <span class="comment">% Get mapping from TANGO static database</span>
+0290 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'tracy_correctorV_mapping'</span>);
+0291 devC = regexprep(map,<span class="string">'^CV\d*::'</span>,<span class="string">''</span>)';
+0292 
+0293 <span class="comment">% Create full list of 120 potential correctors</span>
+0294 cellnum0 = 1; num = 0;
+0295 <span class="keyword">for</span> k = 1:nb,
+0296    cellnum = str2double(mapS{k}(cellindex(k):cellindex(k)+1));       
+0297    <span class="keyword">if</span> (cellnum ~= cellnum0)
+0298        cellnum0 = cellnum;
+0299        num = 1;
+0300    <span class="keyword">else</span>
+0301        num = num + 1;
+0302    <span class="keyword">end</span>
+0303    AO.(ifam).DeviceList(k,:) = [cellnum num];
+0304 <span class="keyword">end</span>
+0305 AO.(ifam).ElementList(:,:)= (1:nb)';
+0306 
+0307 dev = strcat(devS,<span class="string">'-CV'</span>);
+0308 
+0309 <span class="comment">% Select working correctors</span>
+0310 AO.(ifam).Status = ones(nb,1);
+0311 jk = 1;
+0312 <span class="keyword">for</span> k = 1:nb,
+0313     <span class="keyword">if</span> isempty(strmatch(devC{jk},dev{k}))
+0314         AO.(ifam).Status(k) = 0;
+0315     <span class="keyword">else</span>
+0316         <span class="keyword">if</span> (jk &lt; size(devC,1)), jk = jk + 1; <span class="keyword">end</span>;
+0317     <span class="keyword">end</span>
+0318 <span class="keyword">end</span>
+0319 
+0320 AO.(ifam).DeviceName(:,:)            = dev;
+0321 AO.(ifam).CommonNames(:,:)           = [repmat(AO.(ifam).FamilyName,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0322 AO.(ifam).Monitor.TangoNames(:,:)    = strcat(dev,<span class="string">'/current'</span>);
+0323 AO.(ifam).Monitor.Range(:,:)      = repmat([-14 14],nb,1); <span class="comment">% 10 A for 0.8 mrad</span>
+0324 AO.(ifam).Monitor.Handles(:,1)    = NaN*ones(nb,1);
+0325 
+0326 <span class="comment">%Load fields from datablock</span>
+0327 <span class="comment">% AT use the &quot;A-coefficients&quot; for correctors plus an offset</span>
+0328 [C, Leff, MagnetType, coefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+0329 
+0330 <span class="keyword">for</span> ii = 1:nb,
+0331     AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+0332     AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+0333 <span class="keyword">end</span>
+0334 
+0335 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0336 AO.(ifam).Desired = AO.(ifam).Monitor;
+0337 
+0338 AO.(ifam).Setpoint.MemberOf  = {<span class="string">'PlotFamily'</span>};
+0339 AO.(ifam).Setpoint.TangoNames(:,:)   = strcat(dev,<span class="string">'/currentPM'</span>);
+0340 AO.(ifam).Setpoint.Tolerance(:,:)    = 1e-2*ones(nb,1);
+0341 <span class="comment">%AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(nb,1)*1e-5*2; % 2*25 urad (half used for kicking)</span>
+0342 AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(nb,1)*1e-4*2; <span class="comment">% 2*25 urad (half used for kicking)</span>
+0343 
+0344 AO.(ifam).Profibus.BoardNumber = int32(0);
+0345 AO.(ifam).Profibus.Group       = int32(1);
+0346 AO.(ifam).Profibus.DeviceName  = <span class="string">'ANS/AE/DP.CV'</span>;
+0347 
+0348 <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0349 setao(AO);   <span class="comment">%required to make physics2hw function</span>
+0350 AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,<span class="string">'Setpoint'</span>, <span class="keyword">...</span>
+0351     AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+0352 
+0353 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0354 <span class="comment">%% Skew Quadrupole data</span>
+0355 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0356 
+0357 ifam = <span class="string">'QT'</span>;
+0358 AO.(ifam).FamilyName               = ifam;
+0359 AO.(ifam).FamilyType               = <span class="string">'SkewQuad'</span>;
+0360 AO.(ifam).MemberOf                 = {<span class="string">'MachineConfig'</span>; <span class="string">'Magnet'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0361 
+0362 HW2Physics = 1.0;
+0363 AO.(ifam).Monitor.Mode             = Mode;
+0364 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0365 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;
+0366 AO.(ifam).Monitor.HWUnits          = <span class="string">'A'</span>;
+0367 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'meter^-2'</span>;
+0368 AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+0369 AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+0370 
+0371 <span class="comment">% Get mapping from TANGO static database</span>
+0372 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'tracy_QT_mapping'</span>);
+0373 devC = regexprep(map,<span class="string">'^QT\d*::'</span>,<span class="string">''</span>)';
+0374 
+0375 <span class="comment">% Create full list of 120 potential correctors</span>
+0376 cellnum0 = 1; num = 0;
+0377 <span class="keyword">for</span> k = 1:nb,
+0378    cellnum = str2double(mapS{k}(cellindex(k):cellindex(k)+1));       
+0379    <span class="keyword">if</span> (cellnum ~= cellnum0)
+0380        cellnum0 = cellnum;
+0381        num = 1;
+0382    <span class="keyword">else</span>
+0383        num = num + 1;
+0384    <span class="keyword">end</span>
+0385    AO.(ifam).DeviceList(k,:) = [cellnum num];
+0386 <span class="keyword">end</span>
+0387 AO.(ifam).ElementList(:,:)= (1:nb)';
+0388 
+0389 dev = strcat(devS,<span class="string">'-QT'</span>);
+0390 
+0391 <span class="comment">% Select working correctors</span>
+0392 AO.(ifam).Status = ones(nb,1);
+0393 jk = 1;
+0394 <span class="keyword">for</span> k = 1:nb,
+0395     <span class="keyword">if</span> k == 24
+0396         AO.(ifam).Status(k) = 0; <span class="comment">%%%%%%%%%%%%%%%%%%% situation du 11 mars  2007 S1 [12 7] en quad</span>
+0397     <span class="keyword">end</span>
+0398 
+0399     <span class="keyword">if</span> isempty(strmatch(devC{jk},dev{k}))
+0400         AO.(ifam).Status(k) = 0;
+0401     <span class="keyword">else</span>
+0402         <span class="keyword">if</span> (jk &lt; size(devC,1)), jk = jk + 1; <span class="keyword">end</span>;
+0403     <span class="keyword">end</span>
+0404 <span class="keyword">end</span>
+0405 
+0406 AO.(ifam).DeviceName(:,:)            = dev;
+0407 AO.(ifam).CommonNames(:,:)           = [repmat(AO.(ifam).FamilyName,nb,1) num2str((1:nb)',<span class="string">'%03d'</span>)];
+0408 AO.(ifam).Monitor.TangoNames(:,:)    = strcat(dev,<span class="string">'/current'</span>);
+0409 AO.(ifam).Monitor.Range(:,:) = repmat([-7 7],nb,1); <span class="comment">% 10 A for 0.8 mrad</span>
+0410 AO.(ifam).Monitor.Handles(:,1)    = NaN*ones(nb,1);
+0411 
+0412 <span class="comment">% Load coeeficients fot thin element</span>
+0413 coefficients = magnetcoefficients(AO.(ifam).FamilyName);
+0414 
+0415 <span class="keyword">for</span> ii=1:nb,
+0416     AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+0417     AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+0418 <span class="keyword">end</span>
+0419 
+0420 <span class="comment">% AO.(ifam).Monitor.HW2PhysicsParams(ii,:)                  = HW2Physics*ScaleFactor;</span>
+0421 <span class="comment">% AO.(ifam).Monitor.Physics2HWParams(ii,:)                  = ScaleFactor/HW2Physics;</span>
+0422 
+0423 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0424 AO.(ifam).Desired = AO.(ifam).Monitor;
+0425 AO.(ifam).Setpoint.MemberOf  = {<span class="string">'PlotFamily'</span>};
+0426 AO.(ifam).Setpoint.TangoNames(:,:)    = strcat(dev,<span class="string">'/currentPM'</span>);
+0427 
+0428 AO.(ifam).Setpoint.Tolerance(:,:) = 1000*ones(nb,1);
+0429 AO.(ifam).Setpoint.DeltaRespMat(:,:) = 3*ones(nb,1);
+0430 AO.(ifam).Setpoint.DeltaSkewK = 1; <span class="comment">% for SkewQuad efficiency toward dispersion .</span>
+0431 
+0432 AO.(ifam).Profibus.BoardNumber = int32(0);
+0433 AO.(ifam).Profibus.Group       = int32(1);
+0434 AO.(ifam).Profibus.DeviceName  = <span class="string">'ANS/AE/DP.QT'</span>;
+0435 
+0436 <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0437 setao(AO);   <span class="comment">%required to make physics2hw function</span>
+0438 AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName, <span class="string">'Setpoint'</span>, <span class="keyword">...</span>
+0439                        AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+0440 
+0441 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0442 <span class="comment">%% FAST HORIZONTAL CORRECTORS</span>
+0443 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0444 ifam = <span class="string">'FHCOR'</span>;
+0445 AO.(ifam).FamilyName               = ifam;
+0446 AO.(ifam).FamilyType               = <span class="string">'FCOR'</span>;
+0447 AO.(ifam).MemberOf                 = {<span class="string">'FCOR'</span>; <span class="string">'Magnet'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0448 
+0449 AO.(ifam).Monitor.Mode             = Mode;
+0450 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0451 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;
+0452 AO.(ifam).Monitor.HWUnits          = <span class="string">'A'</span>;
+0453 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'rad'</span>;
+0454 AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+0455 AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+0456 
+0457 <span class="comment">% Get mapping from TANGO static database</span>
+0458 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'tracy_fastcorrectorH_mapping'</span>);
+0459 cellindex  = cell2mat(regexpi(map,<span class="string">'-C[0-9]'</span>,<span class="string">'once'</span>))+2;
+0460 numindex = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+0461 
+0462 elemindex = cell2mat(regexpi(map,<span class="string">'CH[0-9]'</span>,<span class="string">'once'</span>))+2;
+0463 sep = cell2mat(regexpi(map,<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+0464 <span class="comment">% dev = deblank(regexprep(char(map),'^CH\d*::',''));</span>
+0465 dev = regexprep(map,<span class="string">'^FCH\d*::'</span>,<span class="string">''</span>)';
+0466 
+0467 nb = size(map,2);
+0468 cellnum0 = 1;
+0469 indexmagnet = 0;
+0470 
+0471 <span class="keyword">for</span> k = 1:nb,
+0472     cellnum = str2double(map{k}(cellindex(k):cellindex(k)+1));
+0473     <span class="keyword">if</span> (cellnum == cellnum0)
+0474         indexmagnet = indexmagnet + 1;
+0475     <span class="keyword">else</span>
+0476         indexmagnet = 1;
+0477         cellnum0 = cellnum;
+0478     <span class="keyword">end</span>
+0479     AO.(ifam).DeviceList(k,:)        = [cellnum indexmagnet];
+0480     AO.(ifam).ElementList(k,:)       = str2double(map{k}(elemindex(k):sep(k)));
+0481 <span class="keyword">end</span>
+0482 
+0483 AO.(ifam).DeviceName(:,:)            = dev;
+0484 AO.(ifam).CommonNames(:,:)           = [repmat(AO.(ifam).FamilyName,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+0485 
+0486 AO.(ifam).Monitor.TangoNames(:,:)    = strcat(dev,<span class="string">'/current'</span>);
+0487 AO.(ifam).Status = ones(nb,1);
+0488 
+0489 AO.(ifam).Monitor.Range(:,:)        = repmat([-10 10],nb,1); <span class="comment">% 10 A for 280 urad</span>
+0490 AO.(ifam).Monitor.Handles(:,1)       = NaN*ones(nb,1);
+0491 
+0492 <span class="comment">%Load fields from datablock</span>
+0493 <span class="comment">% AT use the &quot;A-coefficients&quot; for correctors plus an offset</span>
+0494 [C, Leff, MagnetType, HCMcoefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+0495 
+0496 <span class="keyword">for</span> ii=1:nb,
+0497     AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = HCMcoefficients;
+0498     AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = HCMcoefficients;
+0499 
+0500 <span class="keyword">end</span>
+0501 
+0502 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0503 AO.(ifam).Desired = AO.(ifam).Monitor;
+0504 AO.(ifam).Setpoint.MemberOf  = {<span class="string">'PlotFamily'</span>};
+0505 AO.(ifam).Setpoint.Tolerance(:,:)    = 1000*ones(nb,1);
+0506 AO.(ifam).Setpoint.DeltaRespMat(:,:) = 3*ones(nb,1);
+0507 
+0508 AO.(ifam).Status=AO.(ifam).Status(:);
+0509 
+0510 <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0511 setao(AO);   <span class="comment">%required to make physics2hw function</span>
+0512 AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,<span class="string">'Setpoint'</span>, <span class="keyword">...</span>
+0513     AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+0514 
+0515 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0516 <span class="comment">%% FAST VERTICAL CORRECTORS</span>
+0517 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0518 ifam = <span class="string">'FVCOR'</span>;
+0519 AO.(ifam).FamilyName               = ifam;
+0520 AO.(ifam).FamilyType               = <span class="string">'FCOR'</span>;
+0521 AO.(ifam).MemberOf                 = {<span class="string">'FCOR'</span>; <span class="string">'Magnet'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0522 
+0523 AO.(ifam).Monitor.Mode             = Mode;
+0524 AO.(ifam).Monitor.DataType         = <span class="string">'Scalar'</span>;
+0525 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;
+0526 AO.(ifam).Monitor.HWUnits          = <span class="string">'A'</span>;
+0527 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'rad'</span>;
+0528 AO.(ifam).Monitor.HW2PhysicsFcn = @amp2k;
+0529 AO.(ifam).Monitor.Physics2HWFcn = @k2amp;
+0530 
+0531 <span class="comment">% Get mapping from TANGO static database</span>
+0532 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'tracy_fastcorrectorV_mapping'</span>);
+0533 cellindex  = cell2mat(regexpi(map,<span class="string">'-C[0-9]'</span>,<span class="string">'once'</span>))+2;
+0534 elemindex = cell2mat(regexpi(map,<span class="string">'CV[0-9]'</span>,<span class="string">'once'</span>))+2;
+0535 sep = cell2mat(regexpi(map,<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+0536 <span class="comment">% dev = deblank(regexprep(char(map),'^CV\d*::',''));</span>
+0537 dev = regexprep(map,<span class="string">'^FCV\d*::'</span>,<span class="string">''</span>)';
+0538 
+0539 nb = size(map,2);
+0540 cellnum0 = 1;
+0541 indexmagnet = 0;
+0542 
+0543 <span class="keyword">for</span> k = 1:nb,
+0544     cellnum = str2double(map{k}(cellindex(k):cellindex(k)+1));
+0545     <span class="keyword">if</span> (cellnum == cellnum0)
+0546         indexmagnet = indexmagnet + 1;
+0547     <span class="keyword">else</span>
+0548         indexmagnet = 1;
+0549         cellnum0 = cellnum;
+0550     <span class="keyword">end</span>
+0551     AO.(ifam).DeviceList(k,:)      = [cellnum indexmagnet];
+0552     AO.(ifam).ElementList(k,:)       = str2double(map{k}(elemindex(k):sep(k)));
+0553 <span class="keyword">end</span>
+0554 
+0555 AO.(ifam).DeviceName(:,:)            = dev;
+0556 AO.(ifam).CommonNames(:,:)           = [repmat(AO.(ifam).FamilyName,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+0557 
+0558 AO.(ifam).Monitor.TangoNames(:,:)    = strcat(dev,<span class="string">'/current'</span>);
+0559 AO.(ifam).Status = ones(nb,1);
+0560 AO.(ifam).Monitor.Range(:,:) = repmat([-14 14],nb,1); <span class="comment">% 10 A for 240 urad</span>
+0561 AO.(ifam).Monitor.Handles(:,1)    = NaN*ones(nb,1);
+0562 
+0563 <span class="comment">%Load fields from datablock</span>
+0564 <span class="comment">% AT use the &quot;A-coefficients&quot; for correctors plus an offset</span>
+0565 [C, Leff, MagnetType, coefficients] = magnetcoefficients(AO.(ifam).FamilyName);
+0566 
+0567 <span class="keyword">for</span> ii=1:nb,
+0568     AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)  = coefficients;
+0569     AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)  = coefficients;
+0570 <span class="keyword">end</span>
+0571 
+0572 AO.(ifam).Status=AO.(ifam).Status(:);
+0573 
+0574 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0575 AO.(ifam).Desired = AO.(ifam).Monitor;
+0576 AO.(ifam).Setpoint.MemberOf  = {<span class="string">'PlotFamily'</span>};
+0577 AO.(ifam).Setpoint.Tolerance(:,:)    = 1000*ones(nb,1);
+0578 AO.(ifam).Setpoint.DeltaRespMat(:,:) = 3*ones(nb,1);
+0579 
+0580 <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0581 setao(AO);   <span class="comment">%required to make physics2hw function</span>
+0582 AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,<span class="string">'Setpoint'</span>, <span class="keyword">...</span>
+0583     AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList);
+0584 
+0585 <span class="comment">%=============================</span>
+0586 <span class="comment">%        MAIN MAGNETS</span>
+0587 <span class="comment">%=============================</span>
+0588 
+0589 <span class="comment">%==============</span>
+0590 <span class="comment">%% DIPOLES</span>
+0591 <span class="comment">%==============</span>
+0592 
+0593 <span class="comment">% *** BEND ***</span>
+0594 ifam=<span class="string">'BEND'</span>;
+0595 AO.(ifam).FamilyName                 = ifam;
+0596 AO.(ifam).FamilyType                 = <span class="string">'BEND'</span>;
+0597 AO.(ifam).MemberOf                   = {<span class="string">'MachineConfig'</span>; <span class="string">'BEND'</span>; <span class="string">'Magnet'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0598 HW2PhysicsParams                    = magnetcoefficients(<span class="string">'BEND'</span>);
+0599 Physics2HWParams                    = HW2PhysicsParams;
+0600 
+0601 AO.(ifam).Monitor.Mode               = Mode;
+0602 AO.(ifam).Monitor.DataType           = <span class="string">'Scalar'</span>;
+0603 AO.(ifam).Monitor.Units              = <span class="string">'Hardware'</span>;
+0604 <span class="comment">% AO.(ifam).Monitor.HW2PhysicsFcn      = @amp2k;</span>
+0605 <span class="comment">% AO.(ifam).Monitor.Physics2HWFcn      = @k2amp;</span>
+0606 <span class="comment">% waiting for energy calibration</span>
+0607 AO.(ifam).Monitor.HW2PhysicsFcn      = @bend2gev;
+0608 AO.(ifam).Monitor.Physics2HWFcn      = @gev2bend;
+0609 AO.(ifam).Monitor.HWUnits            = <span class="string">'A'</span>;
+0610 AO.(ifam).Monitor.PhysicsUnits       = <span class="string">'GeV'</span>;
+0611 
+0612 
+0613 <span class="comment">% % Get mapping from TANGO static database</span>
+0614 <span class="comment">% map       = tango_get_db_property('anneau','tracy_dipole_mapping');</span>
+0615 <span class="comment">% cellindex = cell2mat(regexpi(map,'C[0-9]','once'))+1;</span>
+0616 <span class="comment">% numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;</span>
+0617 <span class="comment">% elemindex = cell2mat(regexpi(map,'BEND[0-9]','once'))+4;</span>
+0618 <span class="comment">% sep       = cell2mat(regexpi(map,'::','once'))-1;</span>
+0619 <span class="comment">% dev       = regexprep(map,'^BEND\d*::','')';</span>
+0620 <span class="comment">%</span>
+0621 <span class="comment">% nb = size(map,2);</span>
+0622 <span class="comment">% for k = 1:nb,</span>
+0623 <span class="comment">%     AO.(ifam).DeviceList(k,:) = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];</span>
+0624 <span class="comment">%     AO.(ifam).ElementList(k,:)= str2double(map{k}(elemindex(k):sep(k)));</span>
+0625 <span class="comment">% end</span>
+0626 <span class="comment">% AO.(ifam).DeviceName(:,:)    = dev;</span>
+0627 <span class="comment">% AO.(ifam).Monitor.TangoNames(:,:)  = strcat(dev,'/current');</span>
+0628 <span class="comment">% AO.(ifam).Status = ones(nb,1);</span>
+0629 <span class="comment">% AO.(ifam).Monitor.Handles(:,1) = NaN*ones(nb,1);</span>
+0630 <span class="comment">%</span>
+0631 <span class="comment">% for ii=1:nb,</span>
+0632 <span class="comment">%     val = 1.0;</span>
+0633 <span class="comment">%     AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)                 = HW2PhysicsParams;</span>
+0634 <span class="comment">%     AO.(ifam).Monitor.HW2PhysicsParams{2}(ii,:)                 = val;</span>
+0635 <span class="comment">%     AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)                 = Physics2HWParams;</span>
+0636 <span class="comment">%     AO.(ifam).Monitor.Physics2HWParams{2}(ii,:)                 = val;</span>
+0637 <span class="comment">% end</span>
+0638 
+0639 AO.(ifam).DeviceName(:,:) = {<span class="string">'ANS/AE/Dipole'</span>};
+0640 AO.(ifam).Monitor.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName(:,:),<span class="string">'/current'</span>);
+0641 
+0642 AO.(ifam).DeviceList(:,:) = [1 1];
+0643 AO.(ifam).ElementList(:,:)= 1;
+0644 AO.(ifam).Status          = 1;
+0645 
+0646 val = 1;
+0647 AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+0648 AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = val;
+0649 AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+0650 AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = val;
+0651 AO.(ifam).Monitor.Range(:,:) = [0 560]; <span class="comment">% 525 A for 1.71T</span>
+0652 
+0653 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0654 AO.(ifam).Desired  = AO.(ifam).Monitor;
+0655 AO.(ifam).Setpoint.MemberOf  = {<span class="string">'PlotFamily'</span>};
+0656 AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,<span class="string">'/currentPM'</span>);
+0657 
+0658 AO.(ifam).Setpoint.Tolerance(:,:) = 0.05;
+0659 AO.(ifam).Setpoint.DeltaRespMat(:,:) = 0.05;
+0660 
+0661 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0662 <span class="comment">%% QUADRUPOLE MAGNETS</span>
+0663 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0664 
+0665 map=tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'tracy_quadrupole_mapping'</span>);
+0666 iifam = cell2mat(regexpi(map,<span class="string">'/Q'</span>,<span class="string">'once'</span>))+2;
+0667 
+0668 <span class="comment">% build mapping for the ten families</span>
+0669 <span class="comment">% cleanup</span>
+0670 <span class="keyword">for</span> k = 1:10,
+0671     eval([[<span class="string">'map'</span> num2str(k)] <span class="string">'= [];'</span>]);
+0672 <span class="keyword">end</span>
+0673 
+0674 <span class="comment">% do the job</span>
+0675 <span class="keyword">for</span> k = 1:size(map,2)
+0676     fam = map{k}(iifam(k));
+0677     <span class="keyword">if</span> ((fam == <span class="string">'1'</span>) &amp;&amp; (~isempty(regexpi(map{k},<span class="string">'/Q10'</span>))))
+0678         fam = <span class="string">'10'</span>;
+0679     <span class="keyword">end</span>
+0680     eval([[<span class="string">'map'</span> fam ] <span class="string">'='</span> <span class="string">'['</span> [<span class="string">'map'</span> fam] <span class="string">'  '</span> <span class="string">'map(k)'</span> <span class="string">' ];'</span> ]')
+0681 <span class="keyword">end</span>
+0682 
+0683 <span class="comment">% quadrupole step for tune response matrix measurement for DNU = 1e-2</span>
+0684 <span class="comment">% (depends on plane).</span>
+0685 tune = [ 4e-3 1.4e-3 4e-3 1.5e-3 1.6e-3 1.3e-3 7e-4 1.9e-3 1.5e-3 1.5e-3]; 
+0686     
+0687 <span class="keyword">for</span> k = 1:10,
+0688     cellindex  = cell2mat(regexpi(eval([<span class="string">'map'</span> num2str(k)]),<span class="string">'-C[0-9]'</span>,<span class="string">'once'</span>))+2;
+0689     <span class="comment">% sep = cell2mat(regexpi(eval(['map' num2str(k)]),'::','once'))-1;</span>
+0690     <span class="comment">% dev = deblank(regexprep(char(eval(['map' num2str(k)])),'^QP\d*::',''));</span>
+0691     dev = regexprep(eval([<span class="string">'map'</span> num2str(k)]),<span class="string">'^QP\d*::'</span>,<span class="string">''</span>)';
+0692     numindex = regexpi(eval([<span class="string">'map'</span> num2str(k)]),<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>);
+0693 
+0694     ifam = [<span class="string">'Q'</span> num2str(k)];
+0695 
+0696     AO.(ifam).FamilyName                 = ifam;
+0697     AO.(ifam).FamilyType                 = <span class="string">'QUAD'</span>;
+0698     AO.(ifam).MemberOf                   = {<span class="string">'MachineConfig'</span>; <span class="string">'QUAD'</span>; <span class="string">'Magnet'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0699     HW2PhysicsParams                    = magnetcoefficients(AO.(ifam).FamilyName);
+0700     Physics2HWParams                    = magnetcoefficients(AO.(ifam).FamilyName);
+0701 
+0702     AO.(ifam).Monitor.Mode               = Mode;
+0703     AO.(ifam).Monitor.DataType           = <span class="string">'Scalar'</span>;
+0704     AO.(ifam).Monitor.Units              = <span class="string">'Hardware'</span>;
+0705     AO.(ifam).Monitor.HWUnits            = <span class="string">'A'</span>;
+0706     AO.(ifam).Monitor.PhysicsUnits       = <span class="string">'meter^-2'</span>;
+0707     AO.(ifam).Monitor.HW2PhysicsFcn      = @amp2k;
+0708     AO.(ifam).Monitor.Physics2HWFcn      = @k2amp;
+0709 
+0710     nb = size(eval([<span class="string">'map'</span> num2str(k)]),2);
+0711     <span class="keyword">for</span> kk = 1:nb,
+0712         <span class="keyword">if</span> isempty(numindex{kk})
+0713             AO.(ifam).DeviceList(kk,:) = [str2double(eval([<span class="string">'map'</span> num2str(k) <span class="keyword">...</span>
+0714                 <span class="string">'{kk}(cellindex(kk):cellindex(kk)+1)'</span>])) 1];
+0715         <span class="keyword">else</span>
+0716             AO.(ifam).DeviceList(kk,:) = [str2double(eval([<span class="string">'map'</span> num2str(k) <span class="keyword">...</span>
+0717                 <span class="string">'{kk}(cellindex(kk):cellindex(kk)+1)'</span>])) <span class="keyword">...</span>
+0718                 str2double(eval([<span class="string">'map'</span> num2str(k) <span class="string">'{kk}(numindex{kk}+1:end)'</span>]))];
+0719         <span class="keyword">end</span>
+0720         AO.(ifam).ElementList(kk,:)  = kk;
+0721     <span class="keyword">end</span>
+0722 
+0723     AO.(ifam).DeviceName(:,:)    = dev;
+0724     <span class="comment">%% Build common names</span>
+0725     <span class="keyword">if</span> (nb &gt;= 10)
+0726         AO.(ifam).CommonNames(:,:)   = [repmat(AO.(ifam).FamilyName,nb,1) num2str((1:nb)',<span class="string">'.%02d'</span>)];
+0727     <span class="keyword">else</span>
+0728         AO.(ifam).CommonNames(:,:)   = [repmat(AO.(ifam).FamilyName,nb,1) num2str((1:nb)',<span class="string">'.%1d'</span>)];
+0729     <span class="keyword">end</span>
+0730 
+0731     AO.(ifam).Monitor.TangoNames(:,:)  = strcat(dev,<span class="string">'/current'</span>);
+0732     AO.(ifam).Status = ones(nb,1);
+0733     AO.(ifam).Monitor.Handles(:,1) = NaN*ones(nb,1);
+0734 
+0735     <span class="keyword">for</span> ii=1:nb,
+0736         val = 1.0;
+0737         AO.(ifam).Monitor.HW2PhysicsParams{1}(ii,:)                 = HW2PhysicsParams;
+0738         AO.(ifam).Monitor.HW2PhysicsParams{2}(ii,:)                 = val;
+0739         AO.(ifam).Monitor.Physics2HWParams{1}(ii,:)                 = Physics2HWParams;
+0740         AO.(ifam).Monitor.Physics2HWParams{2}(ii,:)                 = val;
+0741     <span class="keyword">end</span>
+0742 
+0743     <span class="comment">% Greg Portmann, visit mai</span>
+0744     <span class="comment">%     AO.Q1.Monitor.HW2PhysicsParams{1} = 'Q1';</span>
+0745     <span class="comment">%     AO.Q1.Monitor.Physics2HWParams{1} = 'Q1';</span>
+0746 
+0747     AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0748     AO.(ifam).Desired  = AO.(ifam).Monitor;
+0749     AO.(ifam).Setpoint.MemberOf  = {<span class="string">'PlotFamily'</span>};
+0750     AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(dev,<span class="string">'/currentPM'</span>);
+0751     
+0752     AO.(ifam).Setpoint.Tolerance(:,:) = 0.05*ones(nb,1);
+0753     AO.(ifam).Setpoint.DeltaRespMat(:,:) = tune(k)*ones(nb,1);
+0754     <span class="keyword">if</span> k &lt; 6
+0755         AO.(ifam).Profibus.BoardNumber = int32(1);
+0756         AO.(ifam).Profibus.Group       = int32(k);
+0757     <span class="keyword">else</span>
+0758         AO.(ifam).Profibus.BoardNumber = int32(0);
+0759         AO.(ifam).Profibus.Group       = int32(k-5);
+0760     <span class="keyword">end</span>        
+0761     AO.(ifam).Profibus.DeviceName  = <span class="string">'ANS/AE/DP.QP'</span>;
+0762     
+0763     <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0764     setao(AO);   <span class="comment">%required to make physics2hw function</span>
+0765 <span class="comment">%     AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName, ...</span>
+0766 <span class="comment">%         'Setpoint',AO.(ifam).Setpoint.DeltaRespMat,AO.(ifam).DeviceList,2.75);</span>
+0767     AO.(ifam).Setpoint.DeltaKBeta = 1; <span class="comment">% for betatron function measurement.</span>
+0768     AO.(ifam).Setpoint.DeltaRespMat = 1; <span class="comment">% A</span>
+0769 <span class="keyword">end</span>
+0770 
+0771 <span class="comment">% TODO : this is lattice dependent !</span>
+0772 <span class="comment">% step for tuneshift of 1-e-2 in one of the planes</span>
+0773 AO.Q1.Setpoint.DeltaRespMat = 0.4; <span class="comment">%A</span>
+0774 AO.Q2.Setpoint.DeltaRespMat = 0.15;<span class="comment">%A</span>
+0775 AO.Q3.Setpoint.DeltaRespMat = 0.5; <span class="comment">%A</span>
+0776 AO.Q4.Setpoint.DeltaRespMat = 0.2; <span class="comment">%A</span>
+0777 AO.Q5.Setpoint.DeltaRespMat = 0.2; <span class="comment">%A</span>
+0778 AO.Q6.Setpoint.DeltaRespMat = 0.2; <span class="comment">%A</span>
+0779 AO.Q7.Setpoint.DeltaRespMat = 0.2; <span class="comment">%A</span>
+0780 AO.Q8.Setpoint.DeltaRespMat = 0.2; <span class="comment">%A</span>
+0781 AO.Q9.Setpoint.DeltaRespMat = 0.2; <span class="comment">%A</span>
+0782 AO.Q10.Setpoint.DeltaRespMat = 0.2; <span class="comment">%A</span>
+0783 
+0784 <span class="comment">%% QC13</span>
+0785 ifam = <span class="string">'QC13'</span>;
+0786 
+0787 AO.(ifam).FamilyName             = ifam;
+0788 AO.(ifam).MemberOf               = {ifam;<span class="string">'PlotFamily'</span>};
+0789 AO.(ifam).FamilyType             = <span class="string">'QUAD'</span>;
+0790 AO.(ifam).Mode                   = Mode;
+0791 AO.(ifam).DeviceName             = {<span class="string">'ANS-C13/AE/Q1'</span>; <span class="string">'ANS-C13/AE/Q2'</span>; <span class="string">'ANS-C13/AE/Q3'</span>;  <span class="string">'ANS-C13/AE/Q4.1'</span>; 
+0792                                     <span class="string">'ANS-C13/AE/Q5.1'</span>; <span class="string">'ANS-C13/AE/Q5.2'</span>; <span class="string">'ANS-C13/AE/Q4.2'</span>; <span class="string">'ANS-C13/AE/Q6'</span>; 
+0793                                     <span class="string">'ANS-C13/AE/Q7'</span>; <span class="string">'ANS-C13/AE/Q8'</span> };
+0794 AO.(ifam).DeviceList             = [13 1; 13 2; 13 3; 13 4; 13 5; 13 6; 13 7; 13 8; 13 9; 13 10];
+0795 nb = length(AO.(ifam).DeviceList);
+0796 AO.(ifam).ElementList            = (1:nb)';
+0797 AO.(ifam).Status = ones(nb,1);
+0798 AO.(ifam).Monitor.Mode           = Mode;
+0799 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+0800 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+0801 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+0802 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+0803 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'meter^-2'</span>;
+0804 AO.(ifam).Monitor.HW2PhysicsFcn  = @amp2k;
+0805 AO.(ifam).Monitor.Physics2HWFcn  = @k2amp;
+0806 AO.(ifam).Monitor.TangoNames     = strcat(AO.(ifam).DeviceName, <span class="string">'/current'</span>);
+0807 AO.(ifam).Setpoint               = AO.(ifam).Monitor;
+0808 AO.(ifam).Desired                = AO.(ifam).Monitor;
+0809 AO.(ifam).Setpoint.MemberOf      = {<span class="string">'PlotFamily'</span>};
+0810 AO.(ifam).Setpoint.TangoNames(:,:)  = strcat(AO.(ifam).DeviceName,<span class="string">'/currentPM'</span>);
+0811 
+0812 
+0813 clear tune
+0814 
+0815 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0816 <span class="comment">%% SEXTUPOLE MAGNETS</span>
+0817 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0818 
+0819 <span class="keyword">for</span> k = 1:10,
+0820     ifam = [<span class="string">'S'</span> num2str(k)];
+0821 
+0822     AO.(ifam).FamilyName                = ifam;
+0823     AO.(ifam).FamilyType                = <span class="string">'SEXT'</span>;
+0824     AO.(ifam).MemberOf                  = {<span class="string">'MachineConfig'</span>; <span class="string">'SEXT'</span>; <span class="string">'Magnet'</span>; <span class="string">'PlotFamily'</span>; <span class="string">'Archivable'</span>};
+0825     [C, Leff, MagnetType, coefficients]= magnetcoefficients(AO.(ifam).FamilyName);
+0826     HW2PhysicsParams                   = C;
+0827     Physics2HWParams                   = HW2PhysicsParams;
+0828 
+0829     AO.(ifam).Monitor.Mode              = Mode;
+0830     AO.(ifam).Monitor.DataType          = <span class="string">'Scalar'</span>;
+0831     AO.(ifam).Monitor.Units             = <span class="string">'Hardware'</span>;
+0832     AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+0833     AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+0834     AO.(ifam).Monitor.HWUnits           = <span class="string">'A'</span>;
+0835     AO.(ifam).Monitor.PhysicsUnits      = <span class="string">'meter^-3'</span>;
+0836     AO.(ifam).DeviceList                = [1 1];
+0837     AO.(ifam).ElementList               = 1;
+0838 
+0839     AO.(ifam).DeviceName    = [<span class="string">'ANS/AE/S'</span> num2str(k)];
+0840     AO.(ifam).CommonNames   = ifam;
+0841 
+0842     dev = AO.(ifam).DeviceName;
+0843     AO.(ifam).Monitor.TangoNames  = strcat(dev,<span class="string">'/current'</span>);
+0844  
+0845     AO.(ifam).Status          = 1;
+0846     AO.(ifam).Monitor.Handles = NaN;
+0847     
+0848     val = 1.0; <span class="comment">% scaling factor</span>
+0849     
+0850     AO.(ifam).Monitor.HW2PhysicsParams{1}(1,:)               = HW2PhysicsParams;
+0851     AO.(ifam).Monitor.HW2PhysicsParams{2}(1,:)               = val;
+0852     AO.(ifam).Monitor.Physics2HWParams{1}(1,:)               = Physics2HWParams;
+0853     AO.(ifam).Monitor.Physics2HWParams{2}(1,:)               = val;
+0854 
+0855     AO.(ifam).Monitor.Range(:,:) = [0 400]; <span class="comment">% 343 A for 320 Tm-2</span>
+0856 
+0857     AO.(ifam).Setpoint.MemberOf  = {<span class="string">'PlotFamily'</span>};
+0858     AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0859     AO.(ifam).Desired  = AO.(ifam).Monitor;
+0860     AO.(ifam).Setpoint.TangoNames   = strcat(dev,<span class="string">'/currentPM'</span>);
+0861     
+0862     AO.(ifam).Setpoint.Tolerance     = 0.05;
+0863     AO.(ifam).Setpoint.DeltaRespMat  = 2e7; <span class="comment">% Physics units for a thin sextupole</span>
+0864  
+0865     <span class="comment">%convert response matrix kicks to HWUnits (after AO is loaded to AppData)</span>
+0866     setao(AO);   <span class="comment">%required to make physics2hw function</span>
+0867     AO.(ifam).Setpoint.DeltaRespMat=physics2hw(AO.(ifam).FamilyName,<span class="string">'Setpoint'</span>,AO.(ifam).Setpoint.DeltaRespMat,AO.(ifam).DeviceList);
+0868 <span class="keyword">end</span>
+0869 
+0870 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0871 <span class="comment">%% Pulsed Magnet</span>
+0872 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+0873 
+0874 <span class="comment">%% All Injection kicker</span>
+0875 ifam = <span class="string">'K_INJ'</span>; 
+0876 AO.(ifam).FamilyName           = ifam;
+0877 AO.(ifam).FamilyType           = ifam;
+0878 AO.(ifam).MemberOf             = {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0879 AO.(ifam).Monitor.Mode         = Mode;
+0880 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0881 
+0882 AO.(ifam).Status                   = ones(4,1);
+0883 AO.(ifam).DeviceName               = [<span class="string">'ANS-C01/EP/AL_K.1'</span>; <span class="string">'ANS-C01/EP/AL_K.2'</span>; <span class="string">'ANS-C01/EP/AL_K.3'</span>; <span class="string">'ANS-C01/EP/AL_K.4'</span>];
+0884 AO.(ifam).CommonNames              = ifam;
+0885 AO.(ifam).ElementList              = [1 2 3 4]';
+0886 AO.(ifam).DeviceList(:,:)          = [1 1; 1 2; 1 3; 1 4];
+0887 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(4,1);
+0888 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/voltage'</span>);
+0889 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0890 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+0891 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+0892 AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+0893 AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+0894 HW2PhysicsParams                    = magnetcoefficients(ifam);
+0895 Physics2HWParams                    = HW2PhysicsParams;
+0896 AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+0897 AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+0898 AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+0899 AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+0900 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0901 AO.(ifam).Desired = AO.(ifam).Monitor;
+0902 
+0903 <span class="comment">%% K1 and K4 Injection kicker</span>
+0904 ifam = <span class="string">'K_INJ1'</span>; 
+0905 AO.(ifam).FamilyName           = ifam;
+0906 AO.(ifam).FamilyType           = ifam;
+0907 AO.(ifam).MemberOf             = {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0908 AO.(ifam).Monitor.Mode         = Mode;
+0909 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0910 
+0911 AO.(ifam).Status                   = ones(2,1);
+0912 AO.(ifam).DeviceName               = [<span class="string">'ANS-C01/EP/AL_K.1'</span>; <span class="string">'ANS-C01/EP/AL_K.4'</span>];
+0913 AO.(ifam).CommonNames              = ifam;
+0914 AO.(ifam).ElementList              = [1 2]';
+0915 AO.(ifam).DeviceList(:,:)          = [1 1;  1 4];
+0916 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(2,1);
+0917 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/voltage'</span>);
+0918 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0919 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+0920 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+0921 AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+0922 AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+0923 HW2PhysicsParams                    = magnetcoefficients(ifam);
+0924 Physics2HWParams                    = HW2PhysicsParams;
+0925 AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+0926 AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+0927 AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+0928 AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+0929 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0930 AO.(ifam).Desired = AO.(ifam).Monitor;
+0931 
+0932 <span class="comment">%% K2 and K3 Injection kicker</span>
+0933 ifam = <span class="string">'K_INJ2'</span>; 
+0934 AO.(ifam).FamilyName           = ifam;
+0935 AO.(ifam).FamilyType           = ifam;
+0936 AO.(ifam).MemberOf             = {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0937 AO.(ifam).Monitor.Mode         = Mode;
+0938 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0939 
+0940 AO.(ifam).Status                   = ones(2,1);
+0941 AO.(ifam).DeviceName               = [<span class="string">'ANS-C01/EP/AL_K.2'</span>; <span class="string">'ANS-C01/EP/AL_K.3'</span>];
+0942 AO.(ifam).CommonNames              = ifam;
+0943 AO.(ifam).ElementList              = [1 2]';
+0944 AO.(ifam).DeviceList(:,:)          = [1 2;  1 3];
+0945 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(2,1);
+0946 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/voltage'</span>);
+0947 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0948 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+0949 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+0950 AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+0951 AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+0952 HW2PhysicsParams                    = magnetcoefficients(ifam);
+0953 Physics2HWParams                    = HW2PhysicsParams;
+0954 AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+0955 AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+0956 AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+0957 AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+0958 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0959 AO.(ifam).Desired = AO.(ifam).Monitor;
+0960 
+0961 <span class="comment">%% Septum Passif</span>
+0962 ifam = <span class="string">'SEP_P'</span>; 
+0963 AO.(ifam).FamilyName           =  ifam;
+0964 AO.(ifam).FamilyType           =  ifam;
+0965 AO.(ifam).MemberOf             =  {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0966 AO.(ifam).Monitor.Mode         =   Mode;
+0967 AO.(ifam).Monitor.DataType     =  <span class="string">'Scalar'</span>;
+0968 
+0969 AO.(ifam).Status                   = 1;
+0970 AO.(ifam).DeviceName               = cellstr(<span class="string">'ANS-C01/EP/AL_SEP_P.1'</span>);
+0971 AO.(ifam).CommonNames              = ifam;
+0972 AO.(ifam).ElementList              = 1;
+0973 AO.(ifam).DeviceList(:,:)          = [1 1];
+0974 AO.(ifam).Monitor.Handles(:,1)     = NaN;
+0975 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/serialVoltage'</span>);
+0976 AO.(ifam).Monitor.HW2PhysicsFcn    = @amp2k;
+0977 AO.(ifam).Monitor.Physics2HWFcn    = @k2amp;
+0978 HW2PhysicsParams                   = magnetcoefficients(ifam);
+0979 Physics2HWParams                   = HW2PhysicsParams;
+0980 AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+0981 AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+0982 AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+0983 AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+0984 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+0985 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+0986 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+0987 AO.(ifam).Desired  = AO.(ifam).Monitor;
+0988 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+0989 
+0990 
+0991 <span class="comment">%% Septum Actif</span>
+0992 ifam = <span class="string">'SEP_A'</span>; 
+0993 AO.(ifam).FamilyName           = ifam;
+0994 AO.(ifam).FamilyType           = ifam;
+0995 AO.(ifam).MemberOf             = {<span class="string">'Injection'</span>;<span class="string">'Archivable'</span>;<span class="string">'EP'</span>};
+0996 AO.(ifam).Monitor.Mode         = Mode;
+0997 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+0998 
+0999 AO.(ifam).Status                   = 1;
+1000 AO.(ifam).DeviceName               = cellstr(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>);
+1001 AO.(ifam).CommonNames              = <span class="string">'SEP_A_INJ'</span>;
+1002 AO.(ifam).ElementList              = 1;
+1003 AO.(ifam).DeviceList(:,:)           = [1 1];
+1004 AO.(ifam).Monitor.Handles(:,1)     = NaN;
+1005 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/voltage'</span>);
+1006 AO.(ifam).Monitor.HW2PhysicsFcn     = @amp2k;
+1007 AO.(ifam).Monitor.Physics2HWFcn     = @k2amp;
+1008 HW2PhysicsParams                    = magnetcoefficients(ifam);
+1009 Physics2HWParams                    = HW2PhysicsParams;
+1010 AO.(ifam).Monitor.HW2PhysicsParams{1}(:,:) = HW2PhysicsParams;
+1011 AO.(ifam).Monitor.HW2PhysicsParams{2}(:,:) = 1;
+1012 AO.(ifam).Monitor.Physics2HWParams{1}(:,:) = Physics2HWParams;
+1013 AO.(ifam).Monitor.Physics2HWParams{2}(:,:) = 1;
+1014 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+1015 AO.(ifam).Monitor.HWUnits          = <span class="string">'V'</span>;
+1016 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mrad'</span>;
+1017 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+1018 AO.(ifam).Desired = AO.(ifam).Monitor;
+1019 
+1020 
+1021 <span class="comment">%% tune correctors</span>
+1022 AO.Q7.MemberOf  = {AO.Q7.MemberOf{:} <span class="string">'Tune Corrector'</span>}';
+1023 AO.Q9.MemberOf = {AO.Q9.MemberOf{:} <span class="string">'Tune Corrector'</span>}';
+1024 
+1025 <span class="comment">%% chromaticity correctors</span>
+1026 AO.S9.MemberOf  = {AO.S9.MemberOf{:} <span class="string">'Chromaticity Corrector'</span>}';
+1027 AO.S10.MemberOf = {AO.S10.MemberOf{:} <span class="string">'Chromaticity Corrector'</span>}';
+1028 
+1029 
+1030 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+1031 <span class="comment">%% CYCLAGE</span>
+1032 <span class="comment">%%%%%%%%%%%%%%%%%</span>
+1033 
+1034 disp(<span class="string">'cycling configuration ...'</span>);
+1035 
+1036 <span class="comment">%% cycleramp For dipole magnet</span>
+1037 ifam = <span class="string">'CycleBEND'</span>;
+1038 
+1039 AO.(ifam).FamilyName             = <span class="string">'CycleBEND'</span>;
+1040 AO.(ifam).MemberOf               = {<span class="string">'CycleBEND'</span>; <span class="string">'Cyclage'</span>};
+1041 AO.(ifam).Mode                   = Mode;
+1042 AO.(ifam).GroupId                = tango_group_create(<span class="string">'Dipole'</span>); 
+1043 AO.(ifam).DeviceName             = <span class="string">'ANS/AE/cycleDipole'</span>;
+1044 AO.(ifam).DeviceList             = [1 1]; 
+1045 AO.(ifam).ElementList            = 1;
+1046 <span class="comment">%add devices to group</span>
+1047 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName);
+1048 AO.(ifam).Inom = 541.789;
+1049 AO.(ifam).Imax = 579.9;
+1050 AO.(ifam).Status = 1;
+1051 
+1052 <span class="comment">% %% cycleramp For H-corrector magnets</span>
+1053 <span class="comment">% ifam  = 'CycleHCOR';</span>
+1054 <span class="comment">% ifamQ = 'HCOR';</span>
+1055 <span class="comment">%</span>
+1056 <span class="comment">% AO.(ifam).FamilyName             = ifam;</span>
+1057 <span class="comment">% AO.(ifam).MemberOf               = {'CycleCOR'; ifam; 'Cyclage'};</span>
+1058 <span class="comment">% AO.(ifam).Mode                   = Mode;</span>
+1059 <span class="comment">% AO.(ifam).GroupId                = tango_group_create('COR');</span>
+1060 <span class="comment">% dev = getfamilydata(ifamQ,'DeviceName');</span>
+1061 <span class="comment">% AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');</span>
+1062 <span class="comment">% AO.(ifam).DeviceList             = family2dev(ifamQ);</span>
+1063 <span class="comment">% AO.(ifam).ElementList            = family2elem(ifamQ);</span>
+1064 <span class="comment">% %add devices to group</span>
+1065 <span class="comment">% tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');</span>
+1066 <span class="comment">% nb = length(AO.(ifam).ElementList);</span>
+1067 <span class="comment">% AO.(ifam).Inom = 1.*ones(1,nb);</span>
+1068 <span class="comment">% AO.(ifam).Imax = 13.99*ones(1,nb);</span>
+1069 <span class="comment">% AO.(ifam).Status = ones(nb,1);</span>
+1070 <span class="comment">% AO.(ifam).Monitor.Mode           = Mode;</span>
+1071 <span class="comment">% AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);</span>
+1072 <span class="comment">% AO.(ifam).Monitor.DataType       = 'Scalar';</span>
+1073 <span class="comment">% AO.(ifam).Monitor.Units          = 'Hardware';</span>
+1074 <span class="comment">% AO.(ifam).Monitor.HWUnits        = 'ampere';</span>
+1075 <span class="comment">% AO.(ifam).Monitor.PhysicsUnits   = 'rad';</span>
+1076 <span class="comment">% AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');</span>
+1077 <span class="comment">%</span>
+1078 <span class="comment">% %% cycleramp For V-corrector magnets</span>
+1079 <span class="comment">% ifam = 'CycleVCOR';</span>
+1080 <span class="comment">% ifamQ = 'VCOR';</span>
+1081 <span class="comment">%</span>
+1082 <span class="comment">% AO.(ifam).FamilyName             = ifam;</span>
+1083 <span class="comment">% AO.(ifam).MemberOf               = {'CycleCOR'; ifam; 'Cyclage'};</span>
+1084 <span class="comment">% AO.(ifam).Mode                   = Mode;</span>
+1085 <span class="comment">% dev = getfamilydata(ifamQ,'DeviceName');</span>
+1086 <span class="comment">% AO.(ifam).DeviceName             = regexprep(dev,'/S','/cycleS');</span>
+1087 <span class="comment">% AO.(ifam).DeviceList             = family2dev(ifamQ);</span>
+1088 <span class="comment">% AO.(ifam).ElementList            = family2elem(ifamQ);</span>
+1089 <span class="comment">% %add devices to group</span>
+1090 <span class="comment">% AO.(ifam).GroupId                = tango_group_create('COR');</span>
+1091 <span class="comment">% tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');</span>
+1092 <span class="comment">% nb = length(AO.(ifam).ElementList);</span>
+1093 <span class="comment">% AO.(ifam).Inom = 1.*ones(1,nb);</span>
+1094 <span class="comment">% AO.(ifam).Imax = 13.99*ones(1,nb);</span>
+1095 <span class="comment">% AO.(ifam).Status = ones(nb,1);</span>
+1096 <span class="comment">% AO.(ifam).Monitor.Mode           = Mode;</span>
+1097 <span class="comment">% AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);</span>
+1098 <span class="comment">% AO.(ifam).Monitor.DataType       = 'Scalar';</span>
+1099 <span class="comment">% AO.(ifam).Monitor.Units          = 'Hardware';</span>
+1100 <span class="comment">% AO.(ifam).Monitor.HWUnits        = 'ampere';</span>
+1101 <span class="comment">% AO.(ifam).Monitor.PhysicsUnits   = 'rad';</span>
+1102 <span class="comment">% AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');</span>
+1103 
+1104 <span class="comment">% cycleramp For quadrupoles magnets</span>
+1105 <span class="comment">%% CYCLEQ1</span>
+1106 ifam = <span class="string">'CycleQ1'</span>;
+1107 ifamQ = <span class="string">'Q1'</span>;
+1108 
+1109 AO.(ifam).FamilyName             = ifam;
+1110 AO.(ifam).MemberOf               = {ifam; <span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1111 AO.(ifam).Mode                   = Mode;
+1112 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1113 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1114 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1115 AO.(ifam).ElementList            = family2elem(ifamQ);
+1116 <span class="comment">%add devices to group</span>
+1117 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1118 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1119 nb = length(AO.(ifam).ElementList);
+1120 <span class="comment">%AO.(ifam).Inom = 200.*ones(1,nb);</span>
+1121 AO.(ifam).Imax = -249*ones(1,nb);
+1122 AO.(ifam).Status = ones(nb,1);
+1123 AO.(ifam).Monitor.Mode           = Mode;
+1124 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1125 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1126 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1127 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1128 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1129 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1130 
+1131 <span class="comment">%% CYCLEQ2</span>
+1132 ifam = <span class="string">'CycleQ2'</span>;
+1133 ifamQ = <span class="string">'Q2'</span>;
+1134 
+1135 AO.(ifam).FamilyName             = ifam;
+1136 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1137 AO.(ifam).Mode                   = Mode;
+1138 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1139 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1140 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1141 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1142 AO.(ifam).ElementList            = family2elem(ifamQ);
+1143 <span class="comment">%add devices to group</span>
+1144 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1145 nb = length(AO.(ifam).ElementList);
+1146 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1147 AO.(ifam).Imax = 249*ones(1,nb);
+1148 AO.(ifam).Status = ones(nb,1);
+1149 AO.(ifam).Monitor.Mode           = Mode;
+1150 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1151 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1152 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1153 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1154 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1155 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1156 
+1157 <span class="comment">%% CYCLEQ3</span>
+1158 ifam = <span class="string">'CycleQ3'</span>;
+1159 ifamQ = <span class="string">'Q3'</span>;
+1160 
+1161 AO.(ifam).FamilyName             = ifam;
+1162 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1163 AO.(ifam).Mode                   = Mode;
+1164 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1165 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1166 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1167 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1168 AO.(ifam).ElementList            = family2elem(ifamQ);
+1169 <span class="comment">%add devices to group</span>
+1170 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1171 nb = length(AO.(ifam).ElementList);
+1172 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1173 AO.(ifam).Imax = -249*ones(1,nb);
+1174 AO.(ifam).Status = ones(nb,1);
+1175 AO.(ifam).Monitor.Mode           = Mode;
+1176 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1177 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1178 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1179 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1180 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1181 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1182 
+1183 <span class="comment">%% CYCLEQ4</span>
+1184 ifam = <span class="string">'CycleQ4'</span>;
+1185 ifamQ = <span class="string">'Q4'</span>;
+1186 
+1187 AO.(ifam).FamilyName             = ifam;
+1188 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1189 AO.(ifam).Mode                   = Mode;
+1190 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1191 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1192 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1193 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1194 AO.(ifam).ElementList            = family2elem(ifamQ);
+1195 <span class="comment">%add devices to group</span>
+1196 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1197 nb = length(AO.(ifam).ElementList);
+1198 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1199 AO.(ifam).Imax = -249*ones(1,nb);
+1200 AO.(ifam).Status = ones(nb,1);
+1201 AO.(ifam).Monitor.Mode           = Mode;
+1202 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1203 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1204 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1205 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1206 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1207 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1208 
+1209 <span class="comment">%% CYCLEQ5</span>
+1210 ifam = <span class="string">'CycleQ5'</span>;
+1211 ifamQ = <span class="string">'Q5'</span>;
+1212 
+1213 AO.(ifam).FamilyName             = ifam;
+1214 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1215 AO.(ifam).Mode                   = Mode;
+1216 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1217 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1218 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1219 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1220 AO.(ifam).ElementList            = family2elem(ifamQ);
+1221 <span class="comment">%add devices to group</span>
+1222 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1223 nb = length(AO.(ifam).ElementList);
+1224 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1225 AO.(ifam).Imax = 249*ones(1,nb);
+1226 AO.(ifam).Status = ones(nb,1);
+1227 AO.(ifam).Monitor.Mode           = Mode;
+1228 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1229 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1230 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1231 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1232 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1233 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1234 
+1235 <span class="comment">%% CYCLEQ6</span>
+1236 ifam = <span class="string">'CycleQ6'</span>;
+1237 ifamQ = <span class="string">'Q6'</span>;
+1238 
+1239 AO.(ifam).FamilyName             = ifam;
+1240 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1241 AO.(ifam).Mode                   = Mode;
+1242 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1243 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1244 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1245 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1246 AO.(ifam).ElementList            = family2elem(ifamQ);
+1247 <span class="comment">%add devices to group</span>
+1248 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1249 nb = length(AO.(ifam).ElementList);
+1250 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1251 AO.(ifam).Imax = -249*ones(1,nb);
+1252 AO.(ifam).Status = ones(nb,1);
+1253 AO.(ifam).Monitor.Mode           = Mode;
+1254 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1255 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1256 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1257 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1258 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1259 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1260 
+1261 <span class="comment">%% CYCLEQ7</span>
+1262 ifam = <span class="string">'CycleQ7'</span>;
+1263 ifamQ = <span class="string">'Q7'</span>;
+1264 
+1265 AO.(ifam).FamilyName             = ifam;
+1266 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1267 AO.(ifam).Mode                   = Mode;
+1268 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1269 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1270 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1271 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1272 AO.(ifam).ElementList            = family2elem(ifamQ);
+1273 <span class="comment">%add devices to group</span>
+1274 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1275 nb = length(AO.(ifam).ElementList);
+1276 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1277 AO.(ifam).Imax = 249*ones(1,nb);
+1278 AO.(ifam).Status = ones(nb,1);
+1279 AO.(ifam).Monitor.Mode           = Mode;
+1280 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1281 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1282 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1283 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1284 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1285 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1286 
+1287 <span class="comment">%% CYCLEQ8</span>
+1288 ifam = <span class="string">'CycleQ8'</span>;
+1289 ifamQ = <span class="string">'Q8'</span>;
+1290 
+1291 AO.(ifam).FamilyName             = ifam;
+1292 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1293 AO.(ifam).Mode                   = Mode;
+1294 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1295 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1296 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1297 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1298 AO.(ifam).ElementList            = family2elem(ifamQ);
+1299 <span class="comment">%add devices to group</span>
+1300 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1301 nb = length(AO.(ifam).ElementList);
+1302 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1303 AO.(ifam).Imax = -249*ones(1,nb);
+1304 AO.(ifam).Status = ones(nb,1);
+1305 AO.(ifam).Monitor.Mode           = Mode;
+1306 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1307 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1308 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1309 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1310 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1311 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1312 
+1313 <span class="comment">%% CYCLEQ9</span>
+1314 ifam = <span class="string">'CycleQ9'</span>;
+1315 ifamQ = <span class="string">'Q9'</span>;
+1316 
+1317 AO.(ifam).FamilyName             = ifam;
+1318 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1319 AO.(ifam).Mode                   = Mode;
+1320 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1321 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1322 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1323 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1324 AO.(ifam).ElementList            = family2elem(ifamQ);
+1325 <span class="comment">%add devices to group</span>
+1326 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1327 nb = length(AO.(ifam).ElementList);
+1328 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1329 AO.(ifam).Imax = -249*ones(1,nb);
+1330 AO.(ifam).Status = ones(nb,1);
+1331 AO.(ifam).Monitor.Mode           = Mode;
+1332 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1333 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1334 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1335 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1336 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1337 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1338 
+1339 <span class="comment">%% CYCLEQ10</span>
+1340 ifam = <span class="string">'CycleQ10'</span>;
+1341 ifamQ = <span class="string">'Q10'</span>;
+1342 
+1343 AO.(ifam).FamilyName             = ifam;
+1344 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1345 AO.(ifam).Mode                   = Mode;
+1346 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1347 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1348 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/Q'</span>,<span class="string">'/cycleQ'</span>);
+1349 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1350 AO.(ifam).ElementList            = family2elem(ifamQ);
+1351 <span class="comment">%add devices to group</span>
+1352 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1353 nb = length(AO.(ifam).ElementList);
+1354 <span class="comment">%AO.(ifam).Inom = 150*ones(1,nb);</span>
+1355 AO.(ifam).Imax = 249*ones(1,nb);
+1356 AO.(ifam).Status = ones(nb,1);
+1357 AO.(ifam).Monitor.Mode           = Mode;
+1358 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1359 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1360 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1361 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1362 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1363 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1364 
+1365 <span class="comment">%% CYCLEQC13</span>
+1366 ifam = <span class="string">'CycleQC13'</span>;
+1367 
+1368 AO.(ifam).FamilyName             = ifam;
+1369 AO.(ifam).MemberOf               = {ifam;<span class="string">'CycleQP'</span>; <span class="string">'Cyclage'</span>};
+1370 AO.(ifam).Mode                   = Mode;
+1371 AO.(ifam).GroupId                = tango_group_create(ifam); 
+1372 <span class="comment">%dev = getfamilydata(ifamQ,'DeviceName');</span>
+1373 AO.(ifam).DeviceName             = {<span class="string">'ANS-C13/AE/cycleQ1'</span>; <span class="string">'ANS-C13/AE/cycleQ2'</span>; <span class="string">'ANS-C13/AE/cycleQ3'</span>;  <span class="string">'ANS-C13/AE/cycleQ4.1'</span>; 
+1374                                     <span class="string">'ANS-C13/AE/cycleQ5.1'</span>; <span class="string">'ANS-C13/AE/cycleQ5.2'</span>; <span class="string">'ANS-C13/AE/cycleQ4.2'</span>; <span class="keyword">...</span>
+1375                                     <span class="string">'ANS-C13/AE/cycleQ6'</span>; <span class="string">'ANS-C13/AE/cycleQ7'</span>; <span class="string">'ANS-C13/AE/cycleQ8'</span> };
+1376 AO.(ifam).DeviceList             = [13 1; 13 2; 13 3; 13 4; 13 5; 13 6; 13 7; 13 8; 13 9; 13 10];
+1377 AO.(ifam).ElementList            = (1:10)';
+1378 <span class="comment">%add devices to group</span>
+1379 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1380 nb = length(AO.(ifam).ElementList);
+1381 AO.(ifam).Imax = 249*[-1 1 -1 -1 1 1 -1 -1 1 -1];
+1382 AO.(ifam).Status = ones(nb,1);
+1383 AO.(ifam).Monitor.Mode           = Mode;
+1384 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1385 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1386 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1387 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1388 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1389 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1390 
+1391 <span class="comment">%% cycleramp for sextupole magnets</span>
+1392 <span class="comment">%% CYCLES1</span>
+1393 ifam = <span class="string">'CycleS1'</span>;
+1394 ifamQ = <span class="string">'S1'</span>;
+1395 
+1396 AO.(ifam).FamilyName             = ifam;
+1397 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1398 AO.(ifam).Mode                   = Mode;
+1399 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1400 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1401 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1402 AO.(ifam).ElementList            = family2elem(ifamQ);
+1403 <span class="comment">%add devices to group</span>
+1404 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1405 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1406 nb = length(AO.(ifam).ElementList);
+1407 AO.(ifam).Imax = 349*ones(1,nb);
+1408 AO.(ifam).Status = ones(nb,1);
+1409 AO.(ifam).Monitor.Mode           = Mode;
+1410 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1411 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1412 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1413 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1414 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1415 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1416 
+1417 <span class="comment">%% CYCLES2</span>
+1418 ifam = <span class="string">'CycleS2'</span>;
+1419 ifamQ = <span class="string">'S2'</span>;
+1420 
+1421 AO.(ifam).FamilyName             = ifam;
+1422 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1423 AO.(ifam).Mode                   = Mode;
+1424 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1425 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1426 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1427 AO.(ifam).ElementList            = family2elem(ifamQ);
+1428 <span class="comment">%add devices to group</span>
+1429 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1430 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1431 nb = length(AO.(ifam).ElementList);
+1432 AO.(ifam).Imax = -349*ones(1,nb);
+1433 AO.(ifam).Status = ones(nb,1);
+1434 AO.(ifam).Monitor.Mode           = Mode;
+1435 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1436 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1437 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1438 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1439 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1440 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1441 
+1442 <span class="comment">%% CYCLES3</span>
+1443 ifam = <span class="string">'CycleS3'</span>;
+1444 ifamQ = <span class="string">'S3'</span>;
+1445 
+1446 AO.(ifam).FamilyName             = ifam;
+1447 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1448 AO.(ifam).Mode                   = Mode;
+1449 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1450 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1451 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1452 AO.(ifam).ElementList            = family2elem(ifamQ);
+1453 <span class="comment">%add devices to group</span>
+1454 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1455 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1456 nb = length(AO.(ifam).ElementList);
+1457 AO.(ifam).Imax = -349*ones(1,nb);
+1458 AO.(ifam).Status = ones(nb,1);
+1459 AO.(ifam).Monitor.Mode           = Mode;
+1460 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1461 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1462 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1463 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1464 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1465 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1466 
+1467 <span class="comment">%% CYCLES4</span>
+1468 ifam = <span class="string">'CycleS4'</span>;
+1469 ifamQ = <span class="string">'S4'</span>;
+1470 
+1471 AO.(ifam).FamilyName             = ifam;
+1472 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1473 AO.(ifam).Mode                   = Mode;
+1474 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1475 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1476 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1477 AO.(ifam).ElementList            = family2elem(ifamQ);
+1478 <span class="comment">%add devices to group</span>
+1479 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1480 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1481 nb = length(AO.(ifam).ElementList);
+1482 AO.(ifam).Imax = 349*ones(1,nb);
+1483 AO.(ifam).Status = ones(nb,1);
+1484 AO.(ifam).Monitor.Mode           = Mode;
+1485 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1486 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1487 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1488 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1489 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1490 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1491 
+1492 <span class="comment">%% CYCLES5</span>
+1493 ifam = <span class="string">'CycleS5'</span>;
+1494 ifamQ = <span class="string">'S5'</span>;
+1495 
+1496 AO.(ifam).FamilyName             = ifam;
+1497 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1498 AO.(ifam).Mode                   = Mode;
+1499 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1500 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1501 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1502 AO.(ifam).ElementList            = family2elem(ifamQ);
+1503 <span class="comment">%add devices to group</span>
+1504 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1505 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1506 nb = length(AO.(ifam).ElementList);
+1507 AO.(ifam).Imax = -349*ones(1,nb);
+1508 AO.(ifam).Status = ones(nb,1);
+1509 AO.(ifam).Monitor.Mode           = Mode;
+1510 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1511 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1512 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1513 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1514 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1515 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1516 
+1517 <span class="comment">%% CYCLES6</span>
+1518 ifam = <span class="string">'CycleS6'</span>;
+1519 ifamQ = <span class="string">'S6'</span>;
+1520 
+1521 AO.(ifam).FamilyName             = ifam;
+1522 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1523 AO.(ifam).Mode                   = Mode;
+1524 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1525 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1526 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1527 AO.(ifam).ElementList            = family2elem(ifamQ);
+1528 <span class="comment">%add devices to group</span>
+1529 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1530 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1531 nb = length(AO.(ifam).ElementList);
+1532 AO.(ifam).Imax = 349*ones(1,nb);
+1533 AO.(ifam).Status = ones(nb,1);
+1534 AO.(ifam).Monitor.Mode           = Mode;
+1535 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1536 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1537 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1538 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1539 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1540 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1541 
+1542 <span class="comment">%% CYCLES7</span>
+1543 ifam = <span class="string">'CycleS7'</span>;
+1544 ifamQ = <span class="string">'S7'</span>;
+1545 
+1546 AO.(ifam).FamilyName             = ifam;
+1547 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1548 AO.(ifam).Mode                   = Mode;
+1549 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1550 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1551 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1552 AO.(ifam).ElementList            = family2elem(ifamQ);
+1553 <span class="comment">%add devices to group</span>
+1554 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1555 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1556 nb = length(AO.(ifam).ElementList);
+1557 AO.(ifam).Imax = -349*ones(1,nb);
+1558 AO.(ifam).Status = ones(nb,1);
+1559 AO.(ifam).Monitor.Mode           = Mode;
+1560 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1561 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1562 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1563 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1564 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1565 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1566 
+1567 <span class="comment">%% CYCLES8</span>
+1568 ifam = <span class="string">'CycleS8'</span>;
+1569 ifamQ = <span class="string">'S8'</span>;
+1570 
+1571 AO.(ifam).FamilyName             = ifam;
+1572 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1573 AO.(ifam).Mode                   = Mode;
+1574 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1575 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1576 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1577 AO.(ifam).ElementList            = family2elem(ifamQ);
+1578 <span class="comment">%add devices to group</span>
+1579 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1580 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1581 nb = length(AO.(ifam).ElementList);
+1582 AO.(ifam).Imax = 349*ones(1,nb);
+1583 AO.(ifam).Status = ones(nb,1);
+1584 AO.(ifam).Monitor.Mode           = Mode;
+1585 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1586 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1587 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1588 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1589 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1590 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1591 
+1592 <span class="comment">%% CYCLES9</span>
+1593 ifam = <span class="string">'CycleS9'</span>;
+1594 ifamQ = <span class="string">'S9'</span>;
+1595 
+1596 AO.(ifam).FamilyName             = ifam;
+1597 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1598 AO.(ifam).Mode                   = Mode;
+1599 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1600 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1601 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1602 AO.(ifam).ElementList            = family2elem(ifamQ);
+1603 <span class="comment">%add devices to group</span>
+1604 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1605 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1606 nb = length(AO.(ifam).ElementList);
+1607 AO.(ifam).Imax = -349*ones(1,nb);
+1608 AO.(ifam).Status = ones(nb,1);
+1609 AO.(ifam).Monitor.Mode           = Mode;
+1610 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1611 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1612 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1613 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1614 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1615 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1616 
+1617 <span class="comment">%% CYCLES10</span>
+1618 ifam = <span class="string">'CycleS10'</span>;
+1619 ifamQ = <span class="string">'S10'</span>;
+1620 
+1621 AO.(ifam).FamilyName             = ifam;
+1622 AO.(ifam).MemberOf               = {ifam; <span class="string">'Cyclage'</span>};
+1623 AO.(ifam).Mode                   = Mode;
+1624 dev = getfamilydata(ifamQ,<span class="string">'DeviceName'</span>);
+1625 AO.(ifam).DeviceName             = regexprep(dev,<span class="string">'/S'</span>,<span class="string">'/cycleS'</span>);
+1626 AO.(ifam).DeviceList             = family2dev(ifamQ);
+1627 AO.(ifam).ElementList            = family2elem(ifamQ);
+1628 <span class="comment">%add devices to group</span>
+1629 AO.(ifam).GroupId                = tango_group_create(ifamQ); 
+1630 tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');
+1631 nb = length(AO.(ifam).ElementList);
+1632 AO.(ifam).Imax = 349*ones(1,nb);
+1633 AO.(ifam).Status = ones(nb,1);
+1634 AO.(ifam).Monitor.Mode           = Mode;
+1635 AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(nb,1);
+1636 AO.(ifam).Monitor.DataType       = <span class="string">'Scalar'</span>;
+1637 AO.(ifam).Monitor.Units          = <span class="string">'Hardware'</span>;
+1638 AO.(ifam).Monitor.HWUnits        = <span class="string">'ampere'</span>;
+1639 AO.(ifam).Monitor.PhysicsUnits   = <span class="string">'rad'</span>;
+1640 AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, <span class="string">'/totalProgression'</span>);
+1641 
+1642 <span class="comment">%============</span>
+1643 <span class="comment">%% RF System</span>
+1644 <span class="comment">%============</span>
+1645 ifam = <span class="string">'RF'</span>;
+1646 AO.(ifam).FamilyName                = ifam;
+1647 AO.(ifam).FamilyType                = <span class="string">'RF'</span>;
+1648 AO.(ifam).MemberOf                  = {<span class="string">'RF'</span>,<span class="string">'RFSystem'</span>};
+1649 AO.(ifam).Status                    = 1;
+1650 AO.(ifam).CommonNames               = <span class="string">'RF'</span>;
+1651 AO.(ifam).DeviceList                = [1 1];
+1652 AO.(ifam).ElementList               = 1;
+1653 AO.(ifam).DeviceName(:,:)           = {<span class="string">'ANS/RF/MasterClock/'</span>};
+1654 
+1655 <span class="comment">%Frequency Readback</span>
+1656 AO.(ifam).Monitor.Mode                = Mode;
+1657 <span class="comment">% AO.(ifam).Monitor.Mode                = 'Special';</span>
+1658 <span class="comment">% AO.(ifam).Monitor.SpecialFunctionGet = 'getrf2';</span>
+1659 AO.(ifam).Monitor.DataType            = <span class="string">'Scalar'</span>;
+1660 AO.(ifam).Monitor.Units               = <span class="string">'Hardware'</span>;
+1661 AO.(ifam).Monitor.HW2PhysicsParams    = 1e+6;       <span class="comment">%no hw2physics function necessary</span>
+1662 AO.(ifam).Monitor.Physics2HWParams    = 1e-6;
+1663 AO.(ifam).Monitor.HWUnits             = <span class="string">'MHz'</span>;
+1664 AO.(ifam).Monitor.PhysicsUnits        = <span class="string">'Hz'</span>;
+1665 AO.(ifam).Monitor.TangoNames          = {<span class="string">'ANS/RF/MasterClock/frequency'</span>};
+1666 AO.(ifam).Monitor.Handles             = NaN;
+1667 AO.(ifam).Monitor.Range               = [351 353];
+1668 
+1669 AO.(ifam).Setpoint = AO.(ifam).Monitor;
+1670 AO.(ifam).Desired  = AO.(ifam).Monitor;
+1671 
+1672 <span class="comment">%Voltage control</span>
+1673 AO.(ifam).VoltageCtrl.Mode               = Mode;
+1674 AO.(ifam).VoltageCtrl.DataType           = <span class="string">'Scalar'</span>;
+1675 AO.(ifam).VoltageCtrl.Units              = <span class="string">'Hardware'</span>;
+1676 AO.(ifam).VoltageCtrl.HW2PhysicsParams   = 1;
+1677 AO.(ifam).VoltageCtrl.Physics2HWParams   = 1;
+1678 AO.(ifam).VoltageCtrl.HWUnits            = <span class="string">'Volts'</span>;
+1679 AO.(ifam).VoltageCtrl.PhysicsUnits       = <span class="string">'Volts'</span>;
+1680 <span class="comment">% AO.(ifam).VoltageCtrl.ChannelNames       = 'SRF1:STN:VOLT:CTRL';</span>
+1681 AO.(ifam).VoltageCtrl.TangoNames          = <span class="string">'ANS/DGsim/tracy/nux'</span>;
+1682 AO.(ifam).VoltageCtrl.Range              = [-inf inf];
+1683 AO.(ifam).VoltageCtrl.Tolerance          = inf;
+1684 AO.(ifam).VoltageCtrl.Handles            = NaN;
+1685 
+1686 <span class="comment">%Voltage monitor</span>
+1687 AO.(ifam).Voltage.Mode               = Mode;
+1688 AO.(ifam).Voltage.DataType           = <span class="string">'Scalar'</span>;
+1689 AO.(ifam).Voltage.Units              = <span class="string">'Hardware'</span>;
+1690 AO.(ifam).Voltage.HW2PhysicsParams   = 1;
+1691 AO.(ifam).Voltage.Physics2HWParams   = 1;
+1692 AO.(ifam).Voltage.HWUnits            = <span class="string">'Volts'</span>;
+1693 AO.(ifam).Voltage.PhysicsUnits       = <span class="string">'Volts'</span>;
+1694 <span class="comment">% AO.(ifam).Voltage.ChannelNames       = 'SRF1:STN:VOLT';</span>
+1695 AO.(ifam).Voltage.Range              = [-inf inf];
+1696 AO.(ifam).Voltage.Tolerance          = inf;
+1697 AO.(ifam).Voltage.Handles            = NaN;
+1698 
+1699 <span class="comment">% %Power Control</span>
+1700 <span class="comment">% AO.(ifam).PowerCtrl.Mode               = Mode;</span>
+1701 <span class="comment">% AO.(ifam).PowerCtrl.DataType           = 'Scalar';</span>
+1702 <span class="comment">% AO.(ifam).PowerCtrl.Units              = 'Hardware';</span>
+1703 <span class="comment">% AO.(ifam).PowerCtrl.HW2PhysicsParams   = 1;</span>
+1704 <span class="comment">% AO.(ifam).PowerCtrl.Physics2HWParams   = 1;</span>
+1705 <span class="comment">% AO.(ifam).PowerCtrl.HWUnits            = 'MWatts';</span>
+1706 <span class="comment">% AO.(ifam).PowerCtrl.PhysicsUnits       = 'MWatts';</span>
+1707 <span class="comment">% AO.(ifam).PowerCtrl.ChannelNames       = 'SRF1:KLYSDRIVFRWD:POWER:ON';</span>
+1708 <span class="comment">% AO.(ifam).PowerCtrl.Range              = [-inf inf];</span>
+1709 <span class="comment">% AO.(ifam).PowerCtrl.Tolerance          = inf;</span>
+1710 <span class="comment">% AO.(ifam).PowerCtrl.Handles            = NaN;</span>
+1711 <span class="comment">%</span>
+1712 <span class="comment">% %Power Monitor</span>
+1713 <span class="comment">% AO.(ifam).Power.Mode               = Mode;</span>
+1714 <span class="comment">% AO.(ifam).Power.DataType           = 'Scalar';</span>
+1715 <span class="comment">% AO.(ifam).Power.Units              = 'Hardware';</span>
+1716 <span class="comment">% AO.(ifam).Power.HW2PhysicsParams   = 1;</span>
+1717 <span class="comment">% AO.(ifam).Power.Physics2HWParams   = 1;</span>
+1718 <span class="comment">% AO.(ifam).Power.HWUnits            = 'MWatts';</span>
+1719 <span class="comment">% AO.(ifam).Power.PhysicsUnits       = 'MWatts';</span>
+1720 <span class="comment">% AO.(ifam).Power.ChannelNames       = 'SRF1:KLYSDRIVFRWD:POWER';</span>
+1721 <span class="comment">% AO.(ifam).Power.Range              = [-inf inf];</span>
+1722 <span class="comment">% AO.(ifam).Power.Tolerance          = inf;</span>
+1723 <span class="comment">% AO.(ifam).Power.Handles            = NaN;</span>
+1724 <span class="comment">%</span>
+1725 <span class="comment">% %Station Phase Control</span>
+1726 <span class="comment">% AO.(ifam).PhaseCtrl.Mode               = Mode;</span>
+1727 <span class="comment">% AO.(ifam).PhaseCtrl.DataType           = 'Scalar';</span>
+1728 <span class="comment">% AO.(ifam).PhaseCtrl.Units              = 'Hardware';</span>
+1729 <span class="comment">% AO.(ifam).PhaseCtrl.HW2PhysicsParams   = 1;</span>
+1730 <span class="comment">% AO.(ifam).PhaseCtrl.Physics2HWParams   = 1;</span>
+1731 <span class="comment">% AO.(ifam).PhaseCtrl.HWUnits            = 'Degrees';</span>
+1732 <span class="comment">% AO.(ifam).PhaseCtrl.PhysicsUnits       = 'Degrees';</span>
+1733 <span class="comment">% AO.(ifam).PhaseCtrl.ChannelNames       = 'SRF1:STN:PHASE';</span>
+1734 <span class="comment">% AO.(ifam).PhaseCtrl.Range              = [-200 200];</span>
+1735 <span class="comment">% AO.(ifam).PhaseCtrl.Tolerance          = inf;</span>
+1736 <span class="comment">% AO.(ifam).PhaseCtrl.Handles            = NaN;</span>
+1737 <span class="comment">%</span>
+1738 <span class="comment">% %Station Phase Monitor</span>
+1739 <span class="comment">% AO.(ifam).Phase.Mode               = Mode;</span>
+1740 <span class="comment">% AO.(ifam).Phase.DataType           = 'Scalar';</span>
+1741 <span class="comment">% AO.(ifam).Phase.Units              = 'Hardware';</span>
+1742 <span class="comment">% AO.(ifam).Phase.HW2PhysicsParams   = 1;</span>
+1743 <span class="comment">% AO.(ifam).Phase.Physics2HWParams   = 1;</span>
+1744 <span class="comment">% AO.(ifam).Phase.HWUnits            = 'Degrees';</span>
+1745 <span class="comment">% AO.(ifam).Phase.PhysicsUnits       = 'Degrees';</span>
+1746 <span class="comment">% AO.(ifam).Phase.ChannelNames       = 'SRF1:STN:PHASE:CALC';</span>
+1747 <span class="comment">% AO.(ifam).Phase.Range              = [-200 200];</span>
+1748 <span class="comment">% AO.(ifam).Phase.Tolerance          = inf;</span>
+1749 <span class="comment">% AO.(ifam).Phase.Handles            = NaN;</span>
+1750 
+1751 <span class="comment">%=======</span>
+1752 <span class="comment">%% CHROMATICITIES: Soft Family</span>
+1753 <span class="comment">%=======</span>
+1754 ifam = <span class="string">'CHRO'</span>;
+1755 AO.(ifam).FamilyName  = ifam;
+1756 AO.(ifam).FamilyType  = <span class="string">'Diagnostic'</span>;
+1757 AO.(ifam).MemberOf    = {<span class="string">'Diagnostics'</span>};
+1758 AO.(ifam).CommonNames = [<span class="string">'xix'</span>;<span class="string">'xiz'</span>];
+1759 AO.(ifam).DeviceList  = [ 1 1; 1 2;];
+1760 AO.(ifam).ElementList = [1; 2];
+1761 AO.(ifam).Status      = [1; 1];
+1762 
+1763 <span class="comment">%======</span>
+1764 <span class="comment">%% Dipole B-FIELD from RMN probe</span>
+1765 <span class="comment">%======</span>
+1766 ifam = <span class="string">'RMN'</span>;
+1767 AO.(ifam).FamilyName                     = ifam;
+1768 AO.(ifam).FamilyType                     = <span class="string">'EM'</span>;
+1769 AO.(ifam).MemberOf                       = {<span class="string">'EM'</span>,ifam};
+1770 AO.(ifam).CommonNames                    = ifam;
+1771 AO.(ifam).DeviceList                     = [1 1];
+1772 AO.(ifam).ElementList                    = 1;
+1773 AO.(ifam).Status                         = AO.(ifam).ElementList;
+1774 
+1775 AO.(ifam).Monitor.Mode                   = Mode;
+1776 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+1777 AO.(ifam).Monitor.TangoNames             = <span class="string">'ANS-C13/EM/RMN/magneticField'</span>; <span class="comment">%afin de ne pas avoir de bug</span>
+1778 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+1779 AO.(ifam).Monitor.Handles                = NaN;
+1780 AO.(ifam).Monitor.HWUnits                = <span class="string">'mGauss'</span>;
+1781 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'T'</span>;
+1782 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+1783 AO.(ifam).Monitor.Physics2HWParams       = 1;
+1784 
+1785 <span class="comment">%=======</span>
+1786 <span class="comment">%% TUNE</span>
+1787 <span class="comment">%=======</span>
+1788 ifam = <span class="string">'TUNE'</span>;
+1789 AO.(ifam).FamilyName  = ifam;
+1790 AO.(ifam).FamilyType  = <span class="string">'Diagnostic'</span>;
+1791 AO.(ifam).MemberOf    = {<span class="string">'Diagnostics'</span>};
+1792 AO.(ifam).CommonNames = [<span class="string">'nux'</span>;<span class="string">'nuz'</span>;<span class="string">'nus'</span>];
+1793 AO.(ifam).DeviceList  = [1 1; 1 2; 1 3];
+1794 AO.(ifam).ElementList = [1 2 3]';
+1795 AO.(ifam).Status      = [1 1 1]';
+1796 
+1797 AO.(ifam).Monitor.Mode                   = Mode; <span class="comment">%'Simulator';  % Mode;</span>
+1798 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+1799 AO.(ifam).Monitor.DataTypeIndex          = [1 2];
+1800 AO.(ifam).Monitor.TangoNames             = [<span class="string">'ANS/DG/BPM-TUNEX/Nu'</span>;<span class="string">'ANS/DG/BPM-TUNEZ/Nu'</span>;<span class="string">'ANS/DG/BPM-TUNEZ/Nu'</span>];
+1801 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+1802 AO.(ifam).Monitor.Handles                = NaN;
+1803 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+1804 AO.(ifam).Monitor.Physics2HWParams       = 1;
+1805 AO.(ifam).Monitor.HWUnits                = <span class="string">'fractional tune'</span>;
+1806 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'fractional tune'</span>;
+1807 
+1808 
+1809 <span class="comment">%======</span>
+1810 <span class="comment">%% DCCT</span>
+1811 <span class="comment">%======</span>
+1812 ifam = <span class="string">'DCCT'</span>;
+1813 AO.(ifam).FamilyName                     = ifam;
+1814 AO.(ifam).FamilyType                     = <span class="string">'Diagnostic'</span>;
+1815 AO.(ifam).MemberOf                       = {<span class="string">'Diagnostics'</span>,<span class="string">'DCCT'</span>};
+1816 AO.(ifam).CommonNames                    = <span class="string">'DCCT'</span>;
+1817 AO.(ifam).DeviceList                     = [1 1];
+1818 AO.(ifam).ElementList                    = 1;
+1819 AO.(ifam).Status                         = AO.(ifam).ElementList;
+1820 
+1821 AO.(ifam).Monitor.Mode                   = Mode;
+1822 AO.(ifam).FamilyName                     = <span class="string">'DCCT'</span>;
+1823 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+1824 AO.(ifam).Monitor.TangoNames             = <span class="string">'ANS-C03/DG/DCCT/current'</span>; <span class="comment">%afin de ne pas avoir de bug</span>
+1825 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+1826 AO.(ifam).Monitor.Handles                = NaN;
+1827 AO.(ifam).Monitor.HWUnits                = <span class="string">'mA'</span>;
+1828 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'A'</span>;
+1829 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+1830 AO.(ifam).Monitor.Physics2HWParams       = 1;
+1831 
+1832 <span class="comment">% On une famille ???</span>
+1833 ifam = <span class="string">'DCCT1'</span>;
+1834 AO.(ifam).FamilyName                     = ifam;
+1835 AO.(ifam).FamilyType                     = <span class="string">'Diagnostic'</span>;
+1836 AO.(ifam).MemberOf                       = {<span class="string">'Diagnostics'</span>,<span class="string">'DCCT'</span>};
+1837 AO.(ifam).CommonNames                    = <span class="string">'DCCT1'</span>;
+1838 AO.(ifam).DeviceList                     = [1 1];
+1839 AO.(ifam).ElementList                    = 1;
+1840 AO.(ifam).Status                         = AO.(ifam).ElementList;
+1841 
+1842 AO.(ifam).Monitor.Mode                   = Mode;
+1843 AO.(ifam).FamilyName                     = <span class="string">'DCCT'</span>;
+1844 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+1845 AO.(ifam).Monitor.TangoNames              = <span class="string">'ANS-C03/DG/DCCT/current'</span>; <span class="comment">%afin de ne pas avoir de bug</span>
+1846 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+1847 AO.(ifam).Monitor.Handles                = NaN;
+1848 AO.(ifam).Monitor.HWUnits                = <span class="string">'mA'</span>;
+1849 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'A'</span>;
+1850 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+1851 AO.(ifam).Monitor.Physics2HWParams       = 1;
+1852 
+1853 ifam = <span class="string">'DCCT2'</span>;
+1854 AO.(ifam).FamilyName                     = ifam;
+1855 AO.(ifam).FamilyType                     = <span class="string">'Diagnostic'</span>;
+1856 AO.(ifam).MemberOf                       = {<span class="string">'Diagnostics'</span>,<span class="string">'DCCT'</span>};
+1857 AO.(ifam).CommonNames                    = <span class="string">'ANS-C14/DG/DCCT'</span>;
+1858 AO.(ifam).DeviceList                     = [1 1];
+1859 AO.(ifam).ElementList                    = 1;
+1860 AO.(ifam).Status                         = AO.(ifam).ElementList;
+1861 
+1862 AO.(ifam).Monitor.Mode                   = Mode;
+1863 AO.(ifam).FamilyName                     = <span class="string">'DCCT'</span>;
+1864 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+1865 AO.(ifam).Monitor.TangoNames             = <span class="string">'ANS-C03/DG/DCCT/current'</span>; <span class="comment">%afin de ne pas avoir de bug</span>
+1866 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+1867 AO.(ifam).Monitor.Handles                = NaN;
+1868 AO.(ifam).Monitor.HWUnits                = <span class="string">'mA'</span>;
+1869 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'A'</span>;
+1870 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+1871 AO.(ifam).Monitor.Physics2HWParams       = 1;
+1872 
+1873 ifam = <span class="string">'LifeTime'</span>;
+1874 AO.(ifam).FamilyName                     = ifam;
+1875 AO.(ifam).FamilyType                     = <span class="string">'Diagnostic'</span>;
+1876 AO.(ifam).MemberOf                       = {<span class="string">'Diagnostics'</span>,<span class="string">'DCCT'</span>};
+1877 AO.(ifam).CommonNames                    = <span class="string">'DCCT'</span>;
+1878 AO.(ifam).DeviceList                     = [1 1];
+1879 AO.(ifam).ElementList                    = 1;
+1880 AO.(ifam).Status                         = AO.(ifam).ElementList;
+1881 
+1882 AO.(ifam).Monitor.Mode                   = Mode;
+1883 AO.(ifam).FamilyName                     = <span class="string">'DCCT'</span>;
+1884 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+1885 AO.(ifam).Monitor.TangoNames             = <span class="string">'ANS-C03/DG/DCCT/lifeTime'</span>; <span class="comment">%afin de ne pas avoir de bug</span>
+1886 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+1887 AO.(ifam).Monitor.Handles                = NaN;
+1888 AO.(ifam).Monitor.HWUnits                = <span class="string">'Hours'</span>;
+1889 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'Hours'</span>;
+1890 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+1891 AO.(ifam).Monitor.Physics2HWParams       = 1;
+1892 
+1893 
+1894 <span class="comment">% %% cycleramp For quadrupoles magnets</span>
+1895 <span class="comment">% ifam = 'CycleQP';</span>
+1896 <span class="comment">%</span>
+1897 <span class="comment">% AO.(ifam).FamilyName             = ifam;</span>
+1898 <span class="comment">% AO.(ifam).MemberOf               = {'CycleQP'; 'Cyclage'};</span>
+1899 <span class="comment">% AO.(ifam).Mode                   = Mode;</span>
+1900 <span class="comment">% AO.(ifam).GroupId                = tango_group_create('Quadrupole');</span>
+1901 <span class="comment">% AO.(ifam).DeviceList             = [1 1; 1 2; 1 3; 1 4; 1 5; 1 6; 1 7];</span>
+1902 <span class="comment">% AO.(ifam).ElementList            = (1:7)';</span>
+1903 <span class="comment">% AO.(ifam).DeviceName             = {'LT1/AE/cycleQ.1';'LT1/AE/cycleQ.2'; ...</span>
+1904 <span class="comment">%                                     'LT1/AE/cycleQ.3';'LT1/AE/cycleQ.4'; ...</span>
+1905 <span class="comment">%                                     'LT1/AE/cycleQ.5';'LT1/AE/cycleQ.6'; ...</span>
+1906 <span class="comment">%                                     'LT1/AE/cycleQ.7'};</span>
+1907 <span class="comment">% %add devices to group</span>
+1908 <span class="comment">% tango_group_add(AO.(ifam).GroupId, AO.(ifam).DeviceName');</span>
+1909 <span class="comment">% %AO.(ifam).Imax = 8*ones(1,7);</span>
+1910 <span class="comment">% % modification mars 2006</span>
+1911 <span class="comment">% AO.(ifam).Imax = [8  -8  -8  8  8  -8  8 ];</span>
+1912 <span class="comment">% AO.(ifam).Status = ones(7,1);</span>
+1913 <span class="comment">% AO.(ifam).Monitor.Mode           = Mode;</span>
+1914 <span class="comment">% AO.(ifam).Monitor.Handles(:,1)   = NaN*ones(7,1);</span>
+1915 <span class="comment">% AO.(ifam).Monitor.DataType       = 'Scalar';</span>
+1916 <span class="comment">% AO.(ifam).Monitor.Units          = 'Hardware';</span>
+1917 <span class="comment">% AO.(ifam).Monitor.HWUnits        = 'ampere';</span>
+1918 <span class="comment">% AO.(ifam).Monitor.PhysicsUnits   = 'rad';</span>
+1919 <span class="comment">% AO.(ifam).Monitor.TangoNames   = strcat(AO.(ifam).DeviceName, '/totalProgression');</span>
+1920 
+1921 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+1922 <span class="comment">%% Alignment</span>
+1923 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+1924 
+1925 disp(<span class="string">'aligment configuration ...'</span>)
+1926 
+1927 <span class="comment">%% HLS</span>
+1928 ifam = <span class="string">'HLS'</span>;
+1929 AO.(ifam).FamilyName           = ifam;
+1930 AO.(ifam).FamilyType           = ifam;
+1931 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'Alignment'</span>; <span class="string">'HLS'</span>; <span class="string">'Archivable'</span>};
+1932 AO.(ifam).Monitor.Mode         = Mode;
+1933 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+1934 
+1935 map       = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'HLS'</span>);
+1936 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+1937 <span class="comment">%numindex  = cell2mat(regexpi(map,'\.[0-9]','once'))+1;</span>
+1938 
+1939 <span class="comment">% builds up devicelist</span>
+1940 nb = size(map,2);
+1941 ik = 0; cellnum = 1;
+1942 <span class="keyword">for</span> k = 1:nb,
+1943     <span class="keyword">if</span> cellnum - str2double(map{k}(cellindex(k):cellindex(k)+1)) ~=0
+1944         ik = 1;
+1945     <span class="keyword">else</span>
+1946         ik = ik+1;
+1947     <span class="keyword">end</span>
+1948     cellnum = str2double(map{k}(cellindex(k):cellindex(k)+1));
+1949     AO.(ifam).DeviceList(k,:)  = [cellnum ik];
+1950     AO.(ifam).CommonNames(k,:)      = map{k}(12:17);
+1951 <span class="keyword">end</span>
+1952 
+1953 AO.(ifam).ElementList = (1:nb)';
+1954 
+1955 AO.(ifam).Status                   = ones(nb,1);
+1956 AO.(ifam).DeviceName               = map';
+1957 AO.(ifam).ElementList              = (1:nb)';
+1958 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+1959 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/average'</span>);
+1960 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+1961 AO.(ifam).Monitor.Physics2HWParams = 1;
+1962 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+1963 AO.(ifam).Monitor.HWUnits          = <span class="string">'mm'</span>;
+1964 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'m'</span>;
+1965 
+1966 
+1967 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+1968 <span class="comment">%% VACUUM SYSTEM</span>
+1969 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+1970 
+1971 disp(<span class="string">'vacuum configuration ...'</span>)
+1972 
+1973 <span class="comment">%% IonPump</span>
+1974 ifam = <span class="string">'PI'</span>;
+1975 AO.(ifam).FamilyName           = <span class="string">'PI'</span>;
+1976 AO.(ifam).FamilyType           = <span class="string">'PI'</span>;
+1977 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'IonPump'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>;<span class="string">'PlotFamily'</span>};
+1978 AO.(ifam).Monitor.Mode         = Mode;
+1979 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+1980 
+1981 map       = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'pompe_ionique'</span>);
+1982 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+1983 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+1984 
+1985 
+1986 nb = size(map,2);
+1987 <span class="keyword">for</span> k = 1:nb,
+1988     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+1989 <span class="keyword">end</span>
+1990 
+1991 AO.(ifam).ElementList = (1:nb)';
+1992 
+1993 
+1994 AO.(ifam).Status                   = ones(nb,1);
+1995 AO.(ifam).DeviceName               = map';
+1996 AO.(ifam).CommonNames              = [repmat(<span class="string">'PI'</span>,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+1997 AO.(ifam).ElementList              = (1:nb)';
+1998 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+1999 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+2000 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+2001 AO.(ifam).Monitor.Physics2HWParams = 1;
+2002 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+2003 AO.(ifam).Monitor.HWUnits          = <span class="string">'mbar'</span>;
+2004 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mbar'</span>;
+2005 
+2006 <span class="comment">%% Penning Gauges</span>
+2007 ifam = <span class="string">'JPEN'</span>;
+2008 AO.(ifam).FamilyName           = <span class="string">'JPEN'</span>;
+2009 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PenningGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>;<span class="string">'PlotFamily'</span>};
+2010 AO.(ifam).Monitor.Mode         = Mode;
+2011 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+2012 
+2013 map     = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'jauge_penning'</span>);
+2014 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+2015 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+2016 
+2017 nb = size(map,2);
+2018 <span class="keyword">for</span> k = 1:nb,
+2019     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+2020 <span class="keyword">end</span>
+2021 
+2022 AO.(ifam).ElementList = (1:nb)';
+2023 
+2024 AO.(ifam).Status                   = ones(nb,1);
+2025 AO.(ifam).DeviceName               = map';
+2026 AO.(ifam).CommonNames              = [repmat(<span class="string">'JPEN'</span>,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+2027 AO.(ifam).ElementList              = (1:nb)';
+2028 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+2029 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+2030 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+2031 AO.(ifam).Monitor.Physics2HWParams = 1;
+2032 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+2033 AO.(ifam).Monitor.HWUnits          = <span class="string">'mbar'</span>;
+2034 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mbar'</span>;
+2035 
+2036 <span class="comment">%% Pirani Gauges</span>
+2037 ifam = <span class="string">'JPIR'</span>;
+2038 AO.(ifam).FamilyName           = <span class="string">'JPIR'</span>;
+2039 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PiraniGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>;<span class="string">'PlotFamily'</span>};
+2040 AO.(ifam).Monitor.Mode         = Mode;
+2041 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+2042 
+2043 map     = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'jauge_piranni'</span>);
+2044 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+2045 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+2046 
+2047 nb = size(map,2);
+2048 <span class="keyword">for</span> k = 1:nb,
+2049     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+2050 <span class="keyword">end</span>
+2051 
+2052 AO.(ifam).Status                   = ones(nb,1);
+2053 AO.(ifam).DeviceName               = map';
+2054 AO.(ifam).CommonNames              = [repmat(<span class="string">'JPIR'</span>,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+2055 AO.(ifam).ElementList              = (1:nb)';
+2056 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+2057 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+2058 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+2059 AO.(ifam).Monitor.Physics2HWParams = 1;
+2060 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+2061 AO.(ifam).Monitor.HWUnits          = <span class="string">'mbar'</span>;
+2062 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mbar'</span>;
+2063 
+2064 <span class="comment">%% Bayer Albert Gauges</span>
+2065 ifam = <span class="string">'JBA'</span>;
+2066 AO.(ifam).FamilyName           = ifam;
+2067 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PiraniGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>;<span class="string">'PlotFamily'</span>};
+2068 AO.(ifam).Monitor.Mode         = Mode;
+2069 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+2070 
+2071 map     = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'jauge_bayer_alpert'</span>);
+2072 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+2073 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+2074 
+2075 nb = size(map,2);
+2076 <span class="keyword">for</span> k = 1:nb,
+2077     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+2078 <span class="keyword">end</span>
+2079 
+2080 AO.(ifam).Status                   = ones(nb,1);
+2081 AO.(ifam).DeviceName               = map';
+2082 AO.(ifam).CommonNames              = [repmat(ifam,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+2083 AO.(ifam).ElementList              = (1:nb)';
+2084 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+2085 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/pressure'</span>);
+2086 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+2087 AO.(ifam).Monitor.Physics2HWParams = 1;
+2088 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+2089 AO.(ifam).Monitor.HWUnits          = <span class="string">'mbar'</span>;
+2090 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'mbar'</span>;
+2091 
+2092 
+2093 <span class="comment">%% Thermocouples</span>
+2094 ifam = <span class="string">'TC'</span>;
+2095 AO.(ifam).FamilyName           = ifam;
+2096 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'PiraniGauge'</span>; <span class="string">'Pressure'</span>; <span class="string">'Archivable'</span>;<span class="string">'PlotFamily'</span>};
+2097 AO.(ifam).Monitor.Mode         = Mode;
+2098 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+2099 
+2100 map     = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'thermocouple'</span>);
+2101 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+2102 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+2103 
+2104 nb = size(map,2);
+2105 <span class="keyword">for</span> k = 1:nb,
+2106     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+2107 <span class="keyword">end</span>
+2108 
+2109 AO.(ifam).Status                   = ones(nb,1);
+2110 AO.(ifam).DeviceName               = map';
+2111 AO.(ifam).CommonNames              = [repmat(ifam,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+2112 AO.(ifam).ElementList              = (1:nb)';
+2113 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+2114 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/temperature'</span>);
+2115 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+2116 AO.(ifam).Monitor.Physics2HWParams = 1;
+2117 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+2118 AO.(ifam).Monitor.HWUnits          = <span class="string">'Â°C'</span>;
+2119 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'Â°C'</span>;
+2120 
+2121 <span class="comment">%% DEBIMETRES</span>
+2122 ifam = <span class="string">'DEB'</span>;
+2123 AO.(ifam).FamilyName           = ifam;
+2124 AO.(ifam).MemberOf             = {<span class="string">'Vaccuum'</span>};
+2125 AO.(ifam).Monitor.Mode         = Mode;
+2126 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+2127 
+2128 map     = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'debitmetre'</span>);
+2129 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+2130 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+2131 
+2132 nb = size(map,2);
+2133 <span class="keyword">for</span> k = 1:nb,
+2134     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+2135 <span class="keyword">end</span>
+2136 
+2137 AO.(ifam).Status                   = ones(nb,1);
+2138 AO.(ifam).DeviceName               = map';
+2139 AO.(ifam).CommonNames              = [repmat(ifam,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+2140 AO.(ifam).ElementList              = (1:nb)';
+2141 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+2142 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/temperature'</span>);
+2143 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+2144 AO.(ifam).Monitor.Physics2HWParams = 1;
+2145 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+2146 AO.(ifam).Monitor.HWUnits          = <span class="string">'au'</span>;
+2147 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'au'</span>;
+2148 
+2149 <span class="comment">%% VM</span>
+2150 ifam = <span class="string">'VM'</span>;
+2151 AO.(ifam).FamilyName           = ifam;
+2152 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'Vaccuum'</span>; <span class="string">'Archivable'</span>;<span class="string">'PlotFamily'</span>};
+2153 AO.(ifam).Monitor.Mode         = Mode;
+2154 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+2155 
+2156 map     = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'vanne_manuelle'</span>);
+2157 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+2158 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+2159 
+2160 nb = size(map,2);
+2161 <span class="keyword">for</span> k = 1:nb,
+2162     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+2163 <span class="keyword">end</span>
+2164 
+2165 AO.(ifam).Status                   = ones(nb,1);
+2166 AO.(ifam).DeviceName               = map';
+2167 AO.(ifam).CommonNames              = [repmat(ifam,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+2168 AO.(ifam).ElementList              = (1:nb)';
+2169 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+2170 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/temperature'</span>);
+2171 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+2172 AO.(ifam).Monitor.Physics2HWParams = 1;
+2173 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+2174 AO.(ifam).Monitor.HWUnits          = <span class="string">'au'</span>;
+2175 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'au'</span>;
+2176 
+2177 <span class="comment">%% VS</span>
+2178 ifam = <span class="string">'VS'</span>;
+2179 AO.(ifam).FamilyName           = ifam;
+2180 AO.(ifam).MemberOf             = {<span class="string">'PlotFamily'</span>; <span class="string">'Vaccuum'</span>; <span class="string">'Archivable'</span>;<span class="string">'PlotFamily'</span>};
+2181 AO.(ifam).Monitor.Mode         = Mode;
+2182 AO.(ifam).Monitor.DataType     = <span class="string">'Scalar'</span>;
+2183 
+2184 map     = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'vanne_secteur'</span>);
+2185 cellindex = cell2mat(regexpi(map,<span class="string">'C[0-9]'</span>,<span class="string">'once'</span>))+1;
+2186 numindex  = cell2mat(regexpi(map,<span class="string">'\.[0-9]'</span>,<span class="string">'once'</span>))+1;
+2187 
+2188 nb = size(map,2);
+2189 <span class="keyword">for</span> k = 1:nb,
+2190     AO.(ifam).DeviceList(k,:)  = [str2double(map{k}(cellindex(k):cellindex(k)+1)) str2double(map{k}(numindex(k):end))];
+2191 <span class="keyword">end</span>
+2192 
+2193 AO.(ifam).Status                   = ones(nb,1);
+2194 AO.(ifam).DeviceName               = map';
+2195 AO.(ifam).CommonNames              = [repmat(ifam,nb,1) num2str((1:nb)',<span class="string">'%02d'</span>)];
+2196 AO.(ifam).ElementList              = (1:nb)';
+2197 AO.(ifam).Monitor.Handles(:,1)     = NaN*ones(nb,1);
+2198 AO.(ifam).Monitor.TangoNames       = strcat(AO.(ifam).DeviceName, <span class="string">'/temperature'</span>);
+2199 AO.(ifam).Monitor.HW2PhysicsParams = 1;
+2200 AO.(ifam).Monitor.Physics2HWParams = 1;
+2201 AO.(ifam).Monitor.Units            = <span class="string">'Hardware'</span>;   
+2202 AO.(ifam).Monitor.HWUnits          = <span class="string">'au'</span>;
+2203 AO.(ifam).Monitor.PhysicsUnits     = <span class="string">'au'</span>;
+2204 
+2205 <span class="comment">%=====================</span>
+2206 <span class="comment">%% Gamma Monitors DOSE</span>
+2207 <span class="comment">%====================</span>
+2208 ifam = <span class="string">'CIGdose'</span>;
+2209 AO.(ifam).FamilyName                     = <span class="string">'CIGdose'</span>;
+2210 AO.(ifam).FamilyType                     = <span class="string">'Radioprotection'</span>;
+2211 AO.(ifam).MemberOf                       = {<span class="string">'Radioprotection'</span>,<span class="string">'Archivable'</span>,<span class="string">'Plotfamily'</span>,<span class="string">'PlotFamily'</span>};
+2212 AO.(ifam).CommonNames                    = <span class="string">'CIG'</span>;
+2213 
+2214 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'gammamonitor_mapping'</span>);
+2215 AO.(ifam).DeviceName = map';
+2216 
+2217 AO.(ifam).Monitor.Mode                   = Mode;
+2218 AO.(ifam).FamilyName                     = <span class="string">'CIGdose'</span>;
+2219 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+2220 
+2221 nb = length(AO.(ifam).DeviceName); 
+2222 AO.(ifam).DeviceList                     = [ones(1,nb); (1:nb)]';
+2223 AO.(ifam).ElementList                    = (1:nb)';
+2224 AO.(ifam).Status                         = ones(nb,1);
+2225 
+2226 AO.(ifam).Monitor.TangoNames            = strcat(AO.(ifam).DeviceName,<span class="string">'/dose'</span>); 
+2227 
+2228 <span class="comment">%afin de ne pas avoir de bug</span>
+2229 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+2230 AO.(ifam).Monitor.Handles                = NaN;
+2231 AO.(ifam).Monitor.HWUnits                = <span class="string">'uGy'</span>;
+2232 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'uGy'</span>;
+2233 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+2234 AO.(ifam).Monitor.Physics2HWParams       = 1;
+2235 
+2236 <span class="comment">%=========================</span>
+2237 <span class="comment">%% Gamma Monitors DOSErate</span>
+2238 <span class="comment">%=========================</span>
+2239 
+2240 ifam = <span class="string">'CIGrate'</span>;
+2241 AO.(ifam) = AO.CIGdose;
+2242 AO.(ifam).FamilyName                     = ifam;
+2243 AO.(ifam).CommonNames                    = ifam;
+2244 
+2245 nb = length(AO.(ifam).DeviceName); 
+2246 AO.(ifam).Status                         = ones(nb,1);
+2247 AO.(ifam).DeviceList                     = [ones(1,nb); (1:nb)]';
+2248 AO.(ifam).ElementList                    = (1:nb)';
+2249 
+2250 AO.(ifam).Monitor.TangoNames            = strcat(AO.(ifam).DeviceName,<span class="string">'/doseRate'</span>); 
+2251 
+2252 <span class="comment">%afin de ne pas avoir de bug</span>
+2253 AO.CIG.Monitor.HWUnits                = <span class="string">'uGy/h'</span>;
+2254 AO.CIG.Monitor.PhysicsUnits           = <span class="string">'uGy/h'</span>;
+2255 
+2256 <span class="comment">%=====================</span>
+2257 <span class="comment">%% Neutron Monitors DOSE</span>
+2258 <span class="comment">%====================</span>
+2259 ifam = <span class="string">'MONdose'</span>;
+2260 AO.(ifam).FamilyName                     = ifam;
+2261 AO.(ifam).FamilyType                     = <span class="string">'Radioprotection'</span>;
+2262 AO.(ifam).MemberOf                       = {<span class="string">'Radioprotection'</span>,<span class="string">'Archivable'</span>,<span class="string">'Plotfamily'</span>,<span class="string">'PlotFamily'</span>};
+2263 AO.(ifam).CommonNames                    = <span class="string">'MON'</span>;
+2264 
+2265 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'neutronmonitor_mapping'</span>);
+2266 AO.(ifam).DeviceName = map';
+2267 
+2268 AO.(ifam).Monitor.Mode                   = Mode;
+2269 AO.(ifam).FamilyName                     = ifam;
+2270 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+2271 
+2272 nb = length(AO.(ifam).DeviceName); 
+2273 AO.(ifam).DeviceList                     = [ones(1,nb); (1:nb)]';
+2274 AO.(ifam).ElementList                    = (1:nb)';
+2275 AO.(ifam).Status                         = ones(nb,1);
+2276 
+2277 AO.(ifam).Monitor.TangoNames            = strcat(AO.(ifam).DeviceName,<span class="string">'/dDoseSinceReset'</span>); 
+2278 
+2279 <span class="comment">%afin de ne pas avoir de bug</span>
+2280 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+2281 AO.(ifam).Monitor.Handles                = NaN;
+2282 AO.(ifam).Monitor.HWUnits                = <span class="string">'uGy'</span>;
+2283 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'uGy'</span>;
+2284 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+2285 AO.(ifam).Monitor.Physics2HWParams       = 1;
+2286 
+2287 <span class="comment">%============================</span>
+2288 <span class="comment">%% Neutron Monitors DOSE RATE</span>
+2289 <span class="comment">%============================</span>
+2290 ifam = <span class="string">'MONrate'</span>;
+2291 AO.(ifam).FamilyName                     = ifam;
+2292 AO.(ifam).FamilyType                     = <span class="string">'Radioprotection'</span>;
+2293 AO.(ifam).MemberOf                       = {<span class="string">'Radioprotection'</span>,<span class="string">'Archivable'</span>,<span class="string">'Plotfamily'</span>,<span class="string">'PlotFamily'</span>};
+2294 AO.(ifam).CommonNames                    = <span class="string">'MON'</span>;
+2295 
+2296 map = tango_get_db_property(<span class="string">'anneau'</span>,<span class="string">'neutronmonitor_mapping'</span>);
+2297 AO.(ifam).DeviceName = map';
+2298 
+2299 AO.(ifam).Monitor.Mode                   = Mode;
+2300 AO.(ifam).FamilyName                     = ifam;
+2301 AO.(ifam).Monitor.DataType               = <span class="string">'Scalar'</span>;
+2302 
+2303 nb = length(AO.(ifam).DeviceName); 
+2304 AO.(ifam).DeviceList                     = [ones(1,nb); (1:nb)]';
+2305 AO.(ifam).ElementList                    = (1:nb)';
+2306 AO.(ifam).Status                         = ones(nb,1);
+2307 
+2308 AO.(ifam).Monitor.TangoNames            = strcat(AO.(ifam).DeviceName,<span class="string">'/dCountsSinceReset'</span>); 
+2309 
+2310 <span class="comment">%afin de ne pas avoir de bug</span>
+2311 AO.(ifam).Monitor.Units                  = <span class="string">'Hardware'</span>;
+2312 AO.(ifam).Monitor.Handles                = NaN;
+2313 AO.(ifam).Monitor.HWUnits                = <span class="string">'uGy'</span>;
+2314 AO.(ifam).Monitor.PhysicsUnits           = <span class="string">'uGy'</span>;
+2315 AO.(ifam).Monitor.HW2PhysicsParams       = 1;
+2316 AO.(ifam).Monitor.Physics2HWParams       = 1;
+2317 
+2318 <span class="comment">% %====================</span>
+2319 <span class="comment">% %% Machine Parameters</span>
+2320 <span class="comment">% %====================</span>
+2321 <span class="comment">% AO.MachineParameters.FamilyName                = 'MachineParameters';</span>
+2322 <span class="comment">% AO.MachineParameters.FamilyType                = 'Parameter';</span>
+2323 <span class="comment">% AO.MachineParameters.MemberOf                  = {'Diagnostics'};</span>
+2324 <span class="comment">% AO.MachineParameters.Status                    = [1 1 1 1]';</span>
+2325 <span class="comment">%</span>
+2326 <span class="comment">% AO.MachineParameters.Monitor.Mode              = Mode;</span>
+2327 <span class="comment">% AO.MachineParameters.Monitor.DataType          = 'Scalar';</span>
+2328 <span class="comment">% AO.MachineParameters.Monitor.Units             = 'Hardware';</span>
+2329 <span class="comment">%</span>
+2330 <span class="comment">% %use spear2 process variable names</span>
+2331 <span class="comment">% mp={</span>
+2332 <span class="comment">%     'mode    '    'SPEAR:BeamStatus  '          [1 1]  1; ...</span>
+2333 <span class="comment">%     'energy  '    'SPEAR:Energy      '          [1 2]  2; ...</span>
+2334 <span class="comment">%     'current '    'SPEAR:BeamCurrAvg '          [1 3]  3; ...</span>
+2335 <span class="comment">%     'lifetime'    'SPEAR:BeamLifetime'          [1 4]  4; ...</span>
+2336 <span class="comment">%     };</span>
+2337 <span class="comment">% AO.MachineParameters.Monitor.HWUnits          = ' ';</span>
+2338 <span class="comment">% AO.MachineParameters.Monitor.PhysicsUnits     = ' ';</span>
+2339 <span class="comment">%</span>
+2340 <span class="comment">% AO.MachineParameters.Setpoint.HWUnits         = ' ';</span>
+2341 <span class="comment">% AO.MachineParameters.Setpoint.PhysicsUnits    = ' ';</span>
+2342 <span class="comment">%</span>
+2343 <span class="comment">% for ii=1:size(mp,1),</span>
+2344 <span class="comment">%     name  =mp(ii,1);    AO.MachineParameters.CommonNames(ii,:)            = char(name{1});</span>
+2345 <span class="comment">%     %     name  =mp(ii,2);    AO.MachineParameters.Monitor.ChannelNames(ii,:)   = char(name{1});</span>
+2346 <span class="comment">%     %     name  =mp(ii,2);    AO.MachineParameters.Setpoint.ChannelNames(ii,:)  = char(name{1});</span>
+2347 <span class="comment">%     val   =mp(ii,3);    AO.MachineParameters.DeviceList(ii,:)             = val{1};</span>
+2348 <span class="comment">%     val   =mp(ii,4);    AO.MachineParameters.ElementList(ii,:)            = val{1};</span>
+2349 <span class="comment">%</span>
+2350 <span class="comment">%     AO.MachineParameters.Monitor.HW2PhysicsParams(ii,:)    = 1;</span>
+2351 <span class="comment">%     AO.MachineParameters.Monitor.Physics2HWParams(ii,:)    = 1;</span>
+2352 <span class="comment">%     AO.MachineParameters.Monitor.Handles(ii,1)  = NaN;</span>
+2353 <span class="comment">%     AO.MachineParameters.Setpoint.HW2PhysicsParams(ii,:)   = 1;</span>
+2354 <span class="comment">%     AO.MachineParameters.Setpoint.Physics2HWParams(ii,:)   = 1;</span>
+2355 <span class="comment">%     AO.MachineParameters.Setpoint.Handles(ii,1)  = NaN;</span>
+2356 <span class="comment">% end</span>
+2357 
+2358 
+2359 <span class="comment">%======</span>
+2360 <span class="comment">%% Septum</span>
+2361 <span class="comment">%======</span>
+2362 <span class="comment">% ifam=ifam+1;</span>
+2363 <span class="comment">% AO.Septum.FamilyName                  = 'Septum';</span>
+2364 <span class="comment">% AO.Septum.FamilyType                  = 'Septum';</span>
+2365 <span class="comment">% AO.Septum.MemberOf                    = {'Injection'};</span>
+2366 <span class="comment">% AO.Septum.Status                      = 1;</span>
+2367 <span class="comment">%</span>
+2368 <span class="comment">% AO.Septum.CommonNames                 = 'Septum  ';</span>
+2369 <span class="comment">% AO.Septum.DeviceList                  = [3 1];</span>
+2370 <span class="comment">% AO.Septum.ElementList                 = [1];</span>
+2371 <span class="comment">%</span>
+2372 <span class="comment">% AO.Septum.Monitor.Mode                = Mode;</span>
+2373 <span class="comment">% AO.Septum.Monitor.DataType            = 'Scalar';</span>
+2374 <span class="comment">% AO.Septum.Monitor.Units               = 'Hardware';</span>
+2375 <span class="comment">% AO.Septum.Monitor.HWUnits             = 'ampere';</span>
+2376 <span class="comment">% AO.Septum.Monitor.PhysicsUnits        = 'rad';</span>
+2377 <span class="comment">% AO.Septum.Monitor.ChannelNames        = 'BTS-B9V:Curr';</span>
+2378 <span class="comment">% AO.Septum.Monitor.Handles             = NaN;</span>
+2379 <span class="comment">%</span>
+2380 <span class="comment">% AO.Septum.Setpoint.Mode               = Mode;</span>
+2381 <span class="comment">% AO.Septum.Setpoint.DataType           = 'Scalar';</span>
+2382 <span class="comment">% AO.Septum.Setpoint.Units              = 'Hardware';</span>
+2383 <span class="comment">% AO.Septum.Setpoint.HWUnits            = 'ampere';</span>
+2384 <span class="comment">% AO.Septum.Setpoint.PhysicsUnits       = 'rad';</span>
+2385 <span class="comment">% AO.Septum.Setpoint.ChannelNames       = 'BTS-B9V:CurrSetpt';</span>
+2386 <span class="comment">% AO.Septum.Setpoint.Range              = [0, 249.90];</span>
+2387 <span class="comment">% AO.Septum.Setpoint.Tolerance          = 100.0;</span>
+2388 <span class="comment">% AO.Septum.Setpoint.Handles            = NaN;</span>
+2389 <span class="comment">%</span>
+2390 <span class="comment">% AO.Septum.Monitor.HW2PhysicsParams    = 1;</span>
+2391 <span class="comment">% AO.Septum.Monitor.Physics2HWParams    = 1;</span>
+2392 <span class="comment">% AO.Septum.Setpoint.HW2PhysicsParams   = 1;</span>
+2393 <span class="comment">% AO.Septum.Setpoint.Physics2HWParams   = 1;</span>
+2394 
+2395 <span class="comment">% Save AO</span>
+2396 setao(AO);
+2397 
+2398 <span class="comment">% The operational mode sets the path, filenames, and other important params</span>
+2399 <span class="comment">% Run setoperationalmode after most of the AO is built so that the Units and Mode fields</span>
+2400 <span class="comment">% can be set in setoperationalmode</span>
+2401 
+2402 <a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>(OperationalMode);
+2403 
+2404 <span class="comment">%======================================================================</span>
+2405 <span class="comment">%======================================================================</span>
+2406 <span class="comment">%% Append Accelerator Toolbox information</span>
+2407 <span class="comment">%======================================================================</span>
+2408 <span class="comment">%======================================================================</span>
+2409 disp(<span class="string">'** Initializing Accelerator Toolbox information'</span>);
+2410 
+2411 AO = getao;
+2412 
+2413 ATindx = atindex(THERING);  <span class="comment">%structure with fields containing indices</span>
+2414 
+2415 s = findspos(THERING,1:length(THERING)+1)';
+2416 
+2417 <span class="comment">%% Horizontal BPMs</span>
+2418 <span class="comment">% WARNING: BPM1 is the one before the injection straigth section</span>
+2419 <span class="comment">%          since a cell begins from begin of Straigths</span>
+2420 <span class="comment">% CELL1 BPM1 to BPM7</span>
+2421 ifam = (<span class="string">'BPMx'</span>);
+2422 AO.(ifam).AT.ATType  = ifam;
+2423 AO.(ifam).AT.ATIndex = ATindx.BPM(:);
+2424 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+2425 
+2426 <span class="comment">%% Vertical BPMs</span>
+2427 ifam = (<span class="string">'BPMz'</span>);
+2428 AO.(ifam).AT.ATType  = ifam;
+2429 AO.(ifam).AT.ATIndex = ATindx.BPM(:);
+2430 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);  
+2431 
+2432 <span class="comment">%% SLOW HORIZONTAL CORRECTORS</span>
+2433 ifam = (<span class="string">'HCOR'</span>);
+2434 AO.(ifam).AT.ATType  = ifam;
+2435 AO.(ifam).AT.ATIndex = ATindx.COR(:);
+2436 AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+2437 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+2438 
+2439 <span class="comment">%% SLOW VERTICAL CORRECTORS</span>
+2440 ifam = (<span class="string">'VCOR'</span>);
+2441 AO.(ifam).AT.ATType  = ifam;
+2442 AO.(ifam).AT.ATIndex = ATindx.COR(:);
+2443 AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+2444 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);  <span class="comment">%for SPEAR 3 horizontal and vertical correctors at same s-position</span>
+2445 
+2446 <span class="comment">%% FAST HORIZONTAL CORRECTORS</span>
+2447 ifam = (<span class="string">'FHCOR'</span>);
+2448 AT.(ifam).AT.ATType  = ifam;
+2449 AT.(ifam).AT.ATIndex = ATindx.FCOR([end 1:end-1])';
+2450 AT.(ifam).Position   = s(AT.(ifam).AT.ATIndex);
+2451 
+2452 <span class="comment">%% FAST VERTICAL CORRECTORS</span>
+2453 ifam = (<span class="string">'FVCOR'</span>);
+2454 AO.(ifam).AT.ATType  = ifam;
+2455 AO.(ifam).AT.ATIndex = ATindx.FCOR([end 1:end-1])';
+2456 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex); 
+2457 
+2458 <span class="comment">%% SKEW QUADS</span>
+2459 ifam = (<span class="string">'QT'</span>);
+2460 AO.(ifam).AT.ATType  = <span class="string">'SkewQuad'</span>;
+2461 AO.(ifam).AT.ATIndex = ATindx.SkewQuad(:);
+2462 AO.(ifam).AT.ATIndex = AO.(ifam).AT.ATIndex(AO.(ifam).ElementList);   <span class="comment">%not all correctors used</span>
+2463 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+2464 
+2465 <span class="comment">%% BENDING magnets</span>
+2466 ifam = (<span class="string">'BEND'</span>);
+2467 AO.(ifam).AT.ATType  = ifam;
+2468 AO.(ifam).AT.ATIndex = ATindx.BEND(:);
+2469 <span class="comment">%AT.(ifam).Position   = s(AT.(ifam).AT.ATIndex);</span>
+2470 <span class="comment">% One group of all dipoles</span>
+2471 AO.(ifam).Position   = reshape(s(AO.(ifam).AT.ATIndex),1,32);
+2472 <span class="comment">%AT.(ifam).AT.ATParamGroup = mkparamgroup(THERING,AT.(ifam).AT.ATIndex,'K2');</span>
+2473 
+2474 
+2475 <span class="comment">%% QUADRUPOLES</span>
+2476 <span class="keyword">for</span> k = 1:10,
+2477     ifam = [<span class="string">'Q'</span> num2str(k)];
+2478     AO.(ifam).AT.ATType  = <span class="string">'QUAD'</span>;
+2479     AO.(ifam).AT.ATIndex = eval([<span class="string">'ATindx.'</span> ifam <span class="string">'(:)'</span>]);
+2480     AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+2481 <span class="keyword">end</span>
+2482 
+2483 <span class="comment">%% SEXTUPOLES</span>
+2484 <span class="keyword">for</span> k = 1:10,
+2485     ifam = [<span class="string">'S'</span> num2str(k)];
+2486     AO.(ifam).AT.ATType  = <span class="string">'SEXT'</span>;
+2487     AO.(ifam).AT.ATIndex = eval([<span class="string">'ATindx.'</span> ifam <span class="string">'(:)'</span>]);
+2488     AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+2489     AO.(ifam).AT.ATParamGroup = mkparamgroup(THERING,AO.(ifam).AT.ATIndex,<span class="string">'K2'</span>);
+2490 <span class="keyword">end</span>
+2491 
+2492 <span class="comment">% %kickeramps</span>
+2493 <span class="comment">% ifam = ('KickerAmp');</span>
+2494 <span class="comment">% AT.(ifam).AT.ATType  = 'KickerAmp';</span>
+2495 <span class="comment">% AT.(ifam).AT.ATIndex = ATindx.KICKER(:);</span>
+2496 <span class="comment">% AT.(ifam).Position= s(AT.(ifam).AT.ATIndex);</span>
+2497 <span class="comment">%</span>
+2498 <span class="comment">% %kickerdelay</span>
+2499 <span class="comment">% ifam = ('KickerDelay');</span>
+2500 <span class="comment">% AT.(ifam).AT.ATType  = 'Kicker';</span>
+2501 <span class="comment">% AT.(ifam).AT.ATIndex = ATindx.KICKER(:);</span>
+2502 <span class="comment">% AT.(ifam).Position= s(AT.(ifam).AT.ATIndex);</span>
+2503 <span class="comment">%</span>
+2504 <span class="comment">% %septum</span>
+2505 <span class="comment">% ifam = ('Septum');</span>
+2506 <span class="comment">% AT.(ifam).AT.ATType  = 'Septum';</span>
+2507 <span class="comment">% AT.(ifam).AT.ATIndex = ATindx.SEPTUM(:);</span>
+2508 <span class="comment">% AT.(ifam).Position   = s(AT.(ifam).AT.ATIndex);</span>
+2509 
+2510 <span class="comment">%% RF Cavity</span>
+2511 ifam = (<span class="string">'RF'</span>);
+2512 AO.(ifam).AT.ATType = <span class="string">'RF Cavity'</span>;
+2513 AO.(ifam).AT.ATIndex = findcells(THERING,<span class="string">'Frequency'</span>)';
+2514 AO.(ifam).Position   = s(AO.(ifam).AT.ATIndex);
+2515 
+2516 <span class="comment">%% Machine Params</span>
+2517 ifam = (<span class="string">'MachineParams'</span>);
+2518 AO.(ifam).AT.ATType       = <span class="string">'MachineParams'</span>;
+2519 AO.(ifam).AT.ATName(1,:)  = <span class="string">'Energy  '</span>;
+2520 AO.(ifam).AT.ATName(2,:)  = <span class="string">'current '</span>;
+2521 AO.(ifam).AT.ATName(3,:)  = <span class="string">'Lifetime'</span>;
+2522 
+2523 <span class="comment">% Save AO</span>
+2524 setao(AO);
+2525 
+2526 disp(<span class="string">'Setting min max configuration from TANGO static database ...'</span>);
+2527 
+2528 <span class="comment">% set real min max value read from TANGO</span>
+2529 <span class="comment">% setrange('HCOR');</span>
+2530 <span class="comment">% setrange('VCOR');</span>
+2531 <span class="comment">% %setrange('FHCOR');</span>
+2532 <span class="comment">% %setrange('FVCOR');</span>
+2533 <span class="comment">% setrange('BEND');</span>
+2534 <span class="comment">% setrange('Q1');</span>
+2535 <span class="comment">% setrange('Q2');</span>
+2536 <span class="comment">% setrange('Q3');</span>
+2537 <span class="comment">% setrange('Q4');</span>
+2538 <span class="comment">% setrange('Q5');</span>
+2539 <span class="comment">% setrange('Q6');</span>
+2540 <span class="comment">% setrange('Q7');</span>
+2541 <span class="comment">% setrange('Q8');</span>
+2542 <span class="comment">% setrange('Q9');</span>
+2543 <span class="comment">% setrange('Q10');</span>
+2544 <span class="comment">% setrange('S1');</span>
+2545 <span class="comment">% setrange('S2');</span>
+2546 <span class="comment">% setrange('S3');</span>
+2547 <span class="comment">% setrange('S4');</span>
+2548 <span class="comment">% setrange('S5');</span>
+2549 <span class="comment">% setrange('S6');</span>
+2550 <span class="comment">% setrange('S7');</span>
+2551 <span class="comment">% setrange('S8');</span>
+2552 <span class="comment">% setrange('S9');</span>
+2553 <span class="comment">% setrange('S10');</span>
+2554 
+2555 <span class="comment">%setrange('RF');</span>
+2556 
+2557 disp(<span class="string">'Setting gain offset configuration  ...'</span>);
+2558 
+2559 setfamilydata([0.20; 0.30; NaN],<span class="string">'TUNE'</span>,<span class="string">'Golden'</span>);
+2560 setfamilydata([0.0; 0.0],<span class="string">'CHRO'</span>,<span class="string">'Golden'</span>);
+2561 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'BPMx'</span>);
+2562 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'BPMz'</span>);
+2563 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'HCOR'</span>);
+2564 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'VCOR'</span>);
+2565 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'FHCOR'</span>);
+2566 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'FVCOR'</span>);
+2567 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q1'</span>);
+2568 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q2'</span>);
+2569 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q3'</span>);
+2570 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q4'</span>);
+2571 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q5'</span>);
+2572 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q6'</span>);
+2573 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q7'</span>);
+2574 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q8'</span>);
+2575 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q9'</span>);
+2576 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'Q10'</span>);
+2577 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S1'</span>);
+2578 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S2'</span>);
+2579 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S3'</span>);
+2580 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S4'</span>);
+2581 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S5'</span>);
+2582 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S6'</span>);
+2583 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S7'</span>);
+2584 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S8'</span>);
+2585 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S9'</span>);
+2586 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'S10'</span>);
+2587 <a href="#_sub1" class="code" title="subfunction setfamilydata_local(Family)">setfamilydata_local</a>(<span class="string">'BEND'</span>);
+2588 
+2589 <span class="keyword">if</span> iscontrolroom
+2590     switch2online;
+2591 <span class="keyword">else</span>
+2592     switch2sim;
+2593 <span class="keyword">end</span>
+2594 
+2595 
+2596 <span class="comment">% set close orbit</span>
+2597 <span class="comment">% fprintf('%3d %3d  %10.6f  %10.6f\n', [family2dev('BPMx'), getgolden('BPMx'), getgolden('BPMz')]');</span>
+2598 
+2599 <span class="comment">% Golden = [</span>
+2600 <span class="comment">%   1   2   -0.000000   -0.000000</span>
+2601 <span class="comment">%   1   3   -0.000000   -0.000000</span>
+2602 <span class="comment">%   1   4    0.000000    0.000000</span>
+2603 <span class="comment">%   1   5   -0.000000   -0.000000</span>
+2604 <span class="comment">%   1   6   -0.000000    0.000000</span>
+2605 <span class="comment">%   1   7    0.000000   -0.000000</span>
+2606 <span class="comment">%   2   1    0.000000    0.000000</span>
+2607 <span class="comment">%   2   2    0.000000    0.000000</span>
+2608 <span class="comment">%   2   3   -0.000000   -0.000000</span>
+2609 <span class="comment">%   2   4    0.000000   -0.000000</span>
+2610 <span class="comment">%   2   5   -0.000000    0.000000</span>
+2611 <span class="comment">%   2   6    0.000000   -0.000000</span>
+2612 <span class="comment">%   2   7    0.000000   -0.000000</span>
+2613 <span class="comment">%   2   8    0.000000   -0.000000</span>
+2614 <span class="comment">%   3   1    0.000000    0.000000</span>
+2615 <span class="comment">%   3   2   -0.000000   -0.000000</span>
+2616 <span class="comment">%   3   3    0.000000    0.000000</span>
+2617 <span class="comment">%   3   4   -0.000000   -0.000000</span>
+2618 <span class="comment">%   3   5    0.000000   -0.000000</span>
+2619 <span class="comment">%   3   6    0.000000    0.000000</span>
+2620 <span class="comment">%   3   7    0.000000   -0.000000</span>
+2621 <span class="comment">%   3   8    0.000000    0.000000</span>
+2622 <span class="comment">%   4   1    0.000000   -0.000000</span>
+2623 <span class="comment">%   4   2    0.000000   -0.000000</span>
+2624 <span class="comment">%   4   3   -0.000000   -0.000000</span>
+2625 <span class="comment">%   4   4    0.000000    0.000000</span>
+2626 <span class="comment">%   4   5    0.000000    0.000000</span>
+2627 <span class="comment">%   4   6   -0.000000    0.000000</span>
+2628 <span class="comment">%   4   7   -0.000000   -0.000000</span>
+2629 <span class="comment">%   5   1   -0.000000    0.000000</span>
+2630 <span class="comment">%   5   2   -0.000000    0.000000</span>
+2631 <span class="comment">%   5   3    0.000000    0.000000</span>
+2632 <span class="comment">%   5   4    0.000000   -0.000000</span>
+2633 <span class="comment">%   5   5   -0.000000   -0.000000</span>
+2634 <span class="comment">%   5   6    0.000000    0.000000</span>
+2635 <span class="comment">%   5   7   -0.000000   -0.000000</span>
+2636 <span class="comment">%   6   1   -0.000000    0.000000</span>
+2637 <span class="comment">%   6   2    0.000000   -0.000000</span>
+2638 <span class="comment">%   6   3    0.000000   -0.000000</span>
+2639 <span class="comment">%   6   4   -0.000000    0.000000</span>
+2640 <span class="comment">%   6   5    0.000000    0.000000</span>
+2641 <span class="comment">%   6   6   -0.000000   -0.000000</span>
+2642 <span class="comment">%   6   7   -0.000000    0.000000</span>
+2643 <span class="comment">%   6   8    0.000000    0.000000</span>
+2644 <span class="comment">%   7   1   -0.000000   -0.000000</span>
+2645 <span class="comment">%   7   2   -0.000000   -0.000000</span>
+2646 <span class="comment">%   7   3   -0.000000    0.000000</span>
+2647 <span class="comment">%   7   4    0.000000   -0.000000</span>
+2648 <span class="comment">%   7   5   -0.000000   -0.000000</span>
+2649 <span class="comment">%   7   6    0.000000   -0.000000</span>
+2650 <span class="comment">%   7   7    0.000000    0.000000</span>
+2651 <span class="comment">%   7   8    0.000000    0.000000</span>
+2652 <span class="comment">%   8   1   -0.000000   -0.000000</span>
+2653 <span class="comment">%   8   2   -0.000000    0.000000</span>
+2654 <span class="comment">%   8   3    0.000000   -0.000000</span>
+2655 <span class="comment">%   8   4    0.000000   -0.000000</span>
+2656 <span class="comment">%   8   5    0.000000   -0.000000</span>
+2657 <span class="comment">%   8   6    0.000000   -0.000000</span>
+2658 <span class="comment">%   8   7   -0.000000   -0.000000</span>
+2659 <span class="comment">%   9   1   -0.000000   -0.000000</span>
+2660 <span class="comment">%   9   2   -0.000000   -0.000000</span>
+2661 <span class="comment">%   9   3    0.000000    0.000000</span>
+2662 <span class="comment">%   9   4   -0.000000    0.000000</span>
+2663 <span class="comment">%   9   5    0.000000   -0.000000</span>
+2664 <span class="comment">%   9   6    0.000000    0.000000</span>
+2665 <span class="comment">%   9   7   -0.000000    0.000000</span>
+2666 <span class="comment">%  10   1    0.000000   -0.000000</span>
+2667 <span class="comment">%  10   2    0.000000   -0.000000</span>
+2668 <span class="comment">%  10   3   -0.000000    0.000000</span>
+2669 <span class="comment">%  10   4   -0.000000    0.000000</span>
+2670 <span class="comment">%  10   5   -0.000000    0.000000</span>
+2671 <span class="comment">%  10   6   -0.000000   -0.000000</span>
+2672 <span class="comment">%  10   7    0.000000   -0.000000</span>
+2673 <span class="comment">%  10   8    0.000000    0.000000</span>
+2674 <span class="comment">%  11   1    0.000000   -0.000000</span>
+2675 <span class="comment">%  11   2    0.000000   -0.000000</span>
+2676 <span class="comment">%  11   3    0.000000    0.000000</span>
+2677 <span class="comment">%  11   4   -0.000000    0.000000</span>
+2678 <span class="comment">%  11   5   -0.000000   -0.000000</span>
+2679 <span class="comment">%  11   6    0.000000   -0.000000</span>
+2680 <span class="comment">%  11   7   -0.000000   -0.000000</span>
+2681 <span class="comment">%  11   8    0.000000   -0.000000</span>
+2682 <span class="comment">%  12   1   -0.000000    0.000000</span>
+2683 <span class="comment">%  12   2   -0.000000    0.000000</span>
+2684 <span class="comment">%  12   3    0.000000    0.000000</span>
+2685 <span class="comment">%  12   4    0.000000   -0.000000</span>
+2686 <span class="comment">%  12   5   -0.000000    0.000000</span>
+2687 <span class="comment">%  12   6    0.000000   -0.000000</span>
+2688 <span class="comment">%  12   7    0.000000    0.000000</span>
+2689 <span class="comment">%  13   1   -0.000000   -0.000000</span>
+2690 <span class="comment">%  13   2    0.000000   -0.000000</span>
+2691 <span class="comment">%  13   3   -0.000000    0.000000</span>
+2692 <span class="comment">%  13   4    0.000000    0.000000</span>
+2693 <span class="comment">%  13   5   -0.000000   -0.000000</span>
+2694 <span class="comment">%  13   6    0.000000   -0.000000</span>
+2695 <span class="comment">%  13   7    0.000000    0.000000</span>
+2696 <span class="comment">%  14   1   -0.000000    0.000000</span>
+2697 <span class="comment">%  14   2    0.000000   -0.000000</span>
+2698 <span class="comment">%  14   3   -0.000000   -0.000000</span>
+2699 <span class="comment">%  14   4    0.000000    0.000000</span>
+2700 <span class="comment">%  14   5   -0.000000    0.000000</span>
+2701 <span class="comment">%  14   6   -0.000000    0.000000</span>
+2702 <span class="comment">%  14   7   -0.000000   -0.000000</span>
+2703 <span class="comment">%  14   8    0.000000    0.000000</span>
+2704 <span class="comment">%  15   1   -0.000000    0.000000</span>
+2705 <span class="comment">%  15   2    0.000000    0.000000</span>
+2706 <span class="comment">%  15   3   -0.000000   -0.000000</span>
+2707 <span class="comment">%  15   4   -0.000000    0.000000</span>
+2708 <span class="comment">%  15   5   -0.000000   -0.000000</span>
+2709 <span class="comment">%  15   6    0.000000   -0.000000</span>
+2710 <span class="comment">%  15   7    0.000000    0.000000</span>
+2711 <span class="comment">%  15   8   -0.000000   -0.000000</span>
+2712 <span class="comment">%  16   1   -0.000000   -0.000000</span>
+2713 <span class="comment">%  16   2    0.000000    0.000000</span>
+2714 <span class="comment">%  16   3   -0.000000   -0.000000</span>
+2715 <span class="comment">%  16   4    0.000000    0.000000</span>
+2716 <span class="comment">%  16   5   -0.000000   -0.000000</span>
+2717 <span class="comment">%  16   6   -0.000000    0.000000</span>
+2718 <span class="comment">%  16   7    0.000000   -0.000000</span>
+2719 <span class="comment">%   1   1   -0.000000    0.000000</span>
+2720 <span class="comment">% ];</span>
+2721 <span class="comment">%  Golden = [</span>
+2722 <span class="comment">%   1   2   -0.016109   -0.029329</span>
+2723 <span class="comment">%   1   3   -0.004005    0.007886</span>
+2724 <span class="comment">%   1   4    0.072212    0.062367</span>
+2725 <span class="comment">%   1   5   -0.024518    0.055139</span>
+2726 <span class="comment">%   1   6   -0.064471    0.013784</span>
+2727 <span class="comment">%   1   7    0.013930    0.135550</span>
+2728 <span class="comment">%   2   1   -0.011554   -0.070312</span>
+2729 <span class="comment">%   2   2   -0.050394   -0.078194</span>
+2730 <span class="comment">%   2   3    0.032176    0.082341</span>
+2731 <span class="comment">%   2   4   -0.029317    0.117253</span>
+2732 <span class="comment">%   2   5    0.015890   -0.007759</span>
+2733 <span class="comment">%   2   6    0.016312    0.063036</span>
+2734 <span class="comment">%   2   7   -0.032808   -0.177137</span>
+2735 <span class="comment">%   2   8    0.039461   -0.045681</span>
+2736 <span class="comment">%   3   1   -0.062566   -0.018802</span>
+2737 <span class="comment">%   3   2   -0.006602    0.184429</span>
+2738 <span class="comment">%   3   3    0.018723   -0.176785</span>
+2739 <span class="comment">%   3   4   -0.116008   -0.105529</span>
+2740 <span class="comment">%   3   5    0.097402   -0.028190</span>
+2741 <span class="comment">%   3   6    0.045757   -0.097066</span>
+2742 <span class="comment">%   3   7   -0.066598   -0.175309</span>
+2743 <span class="comment">%   3   8   -0.007365    0.036844</span>
+2744 <span class="comment">%   4   1    0.019824    0.142689</span>
+2745 <span class="comment">%   4   2   -0.000176   -0.068519</span>
+2746 <span class="comment">%   4   3   -0.006800   -0.041942</span>
+2747 <span class="comment">%   4   4   -0.034004   -0.022842</span>
+2748 <span class="comment">%   4   5    0.037034    0.059478</span>
+2749 <span class="comment">%   4   6   -0.014433   -0.166529</span>
+2750 <span class="comment">%   4   7   -0.061407    0.017149</span>
+2751 <span class="comment">%   5   1    0.080897    0.076740</span>
+2752 <span class="comment">%   5   2   -0.012038    0.040356</span>
+2753 <span class="comment">%   5   3   -0.013179   -0.002226</span>
+2754 <span class="comment">%   5   4    0.069290   -0.111001</span>
+2755 <span class="comment">%   5   5    0.038943    0.008662</span>
+2756 <span class="comment">%   5   6   -0.129630    0.011481</span>
+2757 <span class="comment">%   5   7   -0.000920    0.036813</span>
+2758 <span class="comment">%   6   1    0.016272   -0.052574</span>
+2759 <span class="comment">%   6   2    0.031234    0.061241</span>
+2760 <span class="comment">%   6   3   -0.009122   -0.018313</span>
+2761 <span class="comment">%   6   4   -0.159022    0.006281</span>
+2762 <span class="comment">%   6   5    0.139226   -0.058757</span>
+2763 <span class="comment">%   6   6    0.100120   -0.090672</span>
+2764 <span class="comment">%   6   7   -0.129504   -0.062824</span>
+2765 <span class="comment">%   6   8    0.006805   -0.001487</span>
+2766 <span class="comment">%   7   1    0.006808    0.106658</span>
+2767 <span class="comment">%   7   2   -0.029256   -0.086426</span>
+2768 <span class="comment">%   7   3    0.005422    0.016194</span>
+2769 <span class="comment">%   7   4    0.055600    0.003513</span>
+2770 <span class="comment">%   7   5   -0.042632   -0.001866</span>
+2771 <span class="comment">%   7   6   -0.126872    0.026082</span>
+2772 <span class="comment">%   7   7    0.140233   -0.081977</span>
+2773 <span class="comment">%   7   8   -0.019330    0.079127</span>
+2774 <span class="comment">%   8   1   -0.012088   -0.008979</span>
+2775 <span class="comment">%   8   2    0.053612   -0.018187</span>
+2776 <span class="comment">%   8   3   -0.014107    0.028316</span>
+2777 <span class="comment">%   8   4   -0.157538   -0.013089</span>
+2778 <span class="comment">%   8   5   -0.046621   -0.070002</span>
+2779 <span class="comment">%   8   6    0.207227    0.065337</span>
+2780 <span class="comment">%   8   7   -0.054266    0.021793</span>
+2781 <span class="comment">%   9   1    0.017264   -0.015635</span>
+2782 <span class="comment">%   9   2    0.030052   -0.042293</span>
+2783 <span class="comment">%   9   3   -0.025084    0.007168</span>
+2784 <span class="comment">%   9   4   -0.020432    0.075486</span>
+2785 <span class="comment">%   9   5    0.110440   -0.049762</span>
+2786 <span class="comment">%   9   6   -0.116610   -0.012532</span>
+2787 <span class="comment">%   9   7   -0.011486    0.106592</span>
+2788 <span class="comment">%  10   1    0.024628    0.050707</span>
+2789 <span class="comment">%  10   2    0.021953   -0.143527</span>
+2790 <span class="comment">%  10   3   -0.013703   -0.001596</span>
+2791 <span class="comment">%  10   4   -0.049724    0.108386</span>
+2792 <span class="comment">%  10   5    0.030980    0.098887</span>
+2793 <span class="comment">%  10   6    0.108697    0.146079</span>
+2794 <span class="comment">%  10   7   -0.121358    0.133295</span>
+2795 <span class="comment">%  10   8   -0.033342   -0.219970</span>
+2796 <span class="comment">%  11   1    0.062153    0.036616</span>
+2797 <span class="comment">%  11   2    0.078471    0.011798</span>
+2798 <span class="comment">%  11   3   -0.032535   -0.064236</span>
+2799 <span class="comment">%  11   4   -0.225522    0.118926</span>
+2800 <span class="comment">%  11   5    0.211643    0.060435</span>
+2801 <span class="comment">%  11   6    0.046324    0.023765</span>
+2802 <span class="comment">%  11   7   -0.084590   -0.050827</span>
+2803 <span class="comment">%  11   8    0.003712   -0.108471</span>
+2804 <span class="comment">%  12   1    0.002993    0.105625</span>
+2805 <span class="comment">%  12   2    0.004842   -0.084366</span>
+2806 <span class="comment">%  12   3   -0.001208    0.108071</span>
+2807 <span class="comment">%  12   4   -0.083760   -0.032507</span>
+2808 <span class="comment">%  12   5    0.084936   -0.059238</span>
+2809 <span class="comment">%  12   6   -0.024508    0.018948</span>
+2810 <span class="comment">%  12   7   -0.029985    0.033101</span>
+2811 <span class="comment">%  13   1    0.043133    0.026918</span>
+2812 <span class="comment">%  13   2   -0.034035   -0.122866</span>
+2813 <span class="comment">%  13   3    0.000740    0.025621</span>
+2814 <span class="comment">%  13   4    0.095937    0.106642</span>
+2815 <span class="comment">%  13   5    0.045263    0.013359</span>
+2816 <span class="comment">%  13   6   -0.171956    0.045738</span>
+2817 <span class="comment">%  13   7    0.031641    0.052087</span>
+2818 <span class="comment">%  14   1   -0.027082   -0.000829</span>
+2819 <span class="comment">%  14   2    0.021254   -0.099073</span>
+2820 <span class="comment">%  14   3   -0.019560    0.017342</span>
+2821 <span class="comment">%  14   4   -0.004520    0.162526</span>
+2822 <span class="comment">%  14   5    0.005853    0.059292</span>
+2823 <span class="comment">%  14   6    0.008179   -0.047524</span>
+2824 <span class="comment">%  14   7   -0.001401   -0.102715</span>
+2825 <span class="comment">%  14   8   -0.055800    0.098121</span>
+2826 <span class="comment">%  15   1    0.074795    0.023368</span>
+2827 <span class="comment">%  15   2    0.038731   -0.095221</span>
+2828 <span class="comment">%  15   3   -0.026061    0.115497</span>
+2829 <span class="comment">%  15   4   -0.088833   -0.011771</span>
+2830 <span class="comment">%  15   5    0.084328    0.015239</span>
+2831 <span class="comment">%  15   6    0.037638   -0.097017</span>
+2832 <span class="comment">%  15   7   -0.055234   -0.009165</span>
+2833 <span class="comment">%  15   8    0.021390   -0.027726</span>
+2834 <span class="comment">%  16   1   -0.036755    0.149702</span>
+2835 <span class="comment">%  16   2   -0.002163   -0.181339</span>
+2836 <span class="comment">%  16   3    0.014132    0.013743</span>
+2837 <span class="comment">%  16   4   -0.133713    0.140012</span>
+2838 <span class="comment">%  16   5    0.094131    0.004707</span>
+2839 <span class="comment">%  16   6    0.016469    0.147084</span>
+2840 <span class="comment">%  16   7   -0.008833   -0.018775</span>
+2841 <span class="comment">%   1   1    0.001073   -0.109009</span>
+2842 <span class="comment">% Golden du 27 mars 2007 100 mA</span>
+2843 
+2844 <span class="comment">% Golden = [</span>
+2845 <span class="comment">%   1   2   -0.005797   -0.017312</span>
+2846 <span class="comment">%   1   3    0.000919   -0.015076</span>
+2847 <span class="comment">%   1   4    0.016414    0.026510</span>
+2848 <span class="comment">%   1   5   -0.121497    0.059608</span>
+2849 <span class="comment">%   1   6    0.119201    0.067078</span>
+2850 <span class="comment">%   1   7   -0.010365    0.157920</span>
+2851 <span class="comment">%   2   1   -0.013197   -0.098301</span>
+2852 <span class="comment">%   2   2    0.027261   -0.062963</span>
+2853 <span class="comment">%   2   3   -0.015684    0.035225</span>
+2854 <span class="comment">%   2   4    0.012233    0.143302</span>
+2855 <span class="comment">%   2   5   -0.009376    0.059353</span>
+2856 <span class="comment">%   2   6   -0.071856    0.011451</span>
+2857 <span class="comment">%   2   7    0.063409   -0.081142</span>
+2858 <span class="comment">%   2   8    0.034665   -0.063435</span>
+2859 <span class="comment">%   3   1   -0.066037    0.002726</span>
+2860 <span class="comment">%   3   2   -0.000859    0.136815</span>
+2861 <span class="comment">%   3   3    0.005278   -0.203492</span>
+2862 <span class="comment">%   3   4    0.012004   -0.012404</span>
+2863 <span class="comment">%   3   5   -0.019908    0.055614</span>
+2864 <span class="comment">%   3   6   -0.002221   -0.089575</span>
+2865 <span class="comment">%   3   7   -0.001831   -0.125075</span>
+2866 <span class="comment">%   3   8    0.002154    0.032087</span>
+2867 <span class="comment">%   4   1   -0.003133    0.071877</span>
+2868 <span class="comment">%   4   2    0.014281   -0.002156</span>
+2869 <span class="comment">%   4   3   -0.008564   -0.015328</span>
+2870 <span class="comment">%   4   4   -0.006155   -0.087721</span>
+2871 <span class="comment">%   4   5   -0.072595   -0.035561</span>
+2872 <span class="comment">%   4   6    0.089426   -0.031385</span>
+2873 <span class="comment">%   4   7   -0.051357    0.030795</span>
+2874 <span class="comment">%   5   1    0.052918    0.072909</span>
+2875 <span class="comment">%   5   2   -0.030896   -0.097133</span>
+2876 <span class="comment">%   5   3    0.008768    0.026373</span>
+2877 <span class="comment">%   5   4    0.033223    0.053668</span>
+2878 <span class="comment">%   5   5   -0.007694    0.023427</span>
+2879 <span class="comment">%   5   6   -0.029986    0.035607</span>
+2880 <span class="comment">%   5   7   -0.002398    0.014364</span>
+2881 <span class="comment">%   6   1    0.005333   -0.030141</span>
+2882 <span class="comment">%   6   2    0.019401    0.023267</span>
+2883 <span class="comment">%   6   3   -0.013229   -0.071641</span>
+2884 <span class="comment">%   6   4   -0.038290    0.057127</span>
+2885 <span class="comment">%   6   5    0.044439    0.032870</span>
+2886 <span class="comment">%   6   6   -0.033921   -0.006965</span>
+2887 <span class="comment">%   6   7    0.034656    0.009146</span>
+2888 <span class="comment">%   6   8   -0.020039   -0.026317</span>
+2889 <span class="comment">%   7   1    0.021750    0.100296</span>
+2890 <span class="comment">%   7   2   -0.044471   -0.118606</span>
+2891 <span class="comment">%   7   3    0.023370   -0.006066</span>
+2892 <span class="comment">%   7   4   -0.010557    0.077161</span>
+2893 <span class="comment">%   7   5    0.023680    0.111695</span>
+2894 <span class="comment">%   7   6   -0.116233    0.089491</span>
+2895 <span class="comment">%   7   7    0.124305   -0.080779</span>
+2896 <span class="comment">%   7   8   -0.015208    0.036310</span>
+2897 <span class="comment">%   8   1   -0.010741   -0.009796</span>
+2898 <span class="comment">%   8   2    0.020530   -0.024978</span>
+2899 <span class="comment">%   8   3   -0.008444    0.043667</span>
+2900 <span class="comment">%   8   4   -0.025326   -0.012376</span>
+2901 <span class="comment">%   8   5   -0.035473    0.007320</span>
+2902 <span class="comment">%   8   6    0.065758    0.055126</span>
+2903 <span class="comment">%   8   7   -0.036453    0.023429</span>
+2904 <span class="comment">%   9   1    0.029467   -0.053588</span>
+2905 <span class="comment">%   9   2    0.001633   -0.006234</span>
+2906 <span class="comment">%   9   3    0.005615    0.007891</span>
+2907 <span class="comment">%   9   4   -0.062090   -0.002766</span>
+2908 <span class="comment">%   9   5    0.001910    0.010628</span>
+2909 <span class="comment">%   9   6    0.058936    0.007838</span>
+2910 <span class="comment">%   9   7   -0.042798    0.072547</span>
+2911 <span class="comment">%  10   1    0.045262    0.073408</span>
+2912 <span class="comment">%  10   2    0.028056   -0.154367</span>
+2913 <span class="comment">%  10   3   -0.012088   -0.011784</span>
+2914 <span class="comment">%  10   4   -0.073822    0.088175</span>
+2915 <span class="comment">%  10   5    0.057591    0.178638</span>
+2916 <span class="comment">%  10   6    0.064805    0.124674</span>
+2917 <span class="comment">%  10   7   -0.081578    0.138036</span>
+2918 <span class="comment">%  10   8   -0.024542   -0.172935</span>
+2919 <span class="comment">%  11   1    0.046510    0.017614</span>
+2920 <span class="comment">%  11   2    0.062073    0.000009</span>
+2921 <span class="comment">%  11   3   -0.037480   -0.060397</span>
+2922 <span class="comment">%  11   4   -0.041096    0.146472</span>
+2923 <span class="comment">%  11   5    0.032956    0.081438</span>
+2924 <span class="comment">%  11   6    0.018984    0.048677</span>
+2925 <span class="comment">%  11   7   -0.033127   -0.079176</span>
+2926 <span class="comment">%  11   8   -0.010214   -0.112762</span>
+2927 <span class="comment">%  12   1    0.024785    0.113373</span>
+2928 <span class="comment">%  12   2   -0.004146   -0.072407</span>
+2929 <span class="comment">%  12   3    0.005921    0.070591</span>
+2930 <span class="comment">%  12   4   -0.068544   -0.015913</span>
+2931 <span class="comment">%  12   5    0.069606   -0.052789</span>
+2932 <span class="comment">%  12   6   -0.014413    0.044067</span>
+2933 <span class="comment">%  12   7   -0.033711    0.029776</span>
+2934 <span class="comment">%  13   1    0.049872    0.020370</span>
+2935 <span class="comment">%  13   2   -0.026395   -0.149377</span>
+2936 <span class="comment">%  13   3    0.003372    0.039093</span>
+2937 <span class="comment">%  13   4    0.062395    0.114775</span>
+2938 <span class="comment">%  13   5   -0.023654    0.034983</span>
+2939 <span class="comment">%  13   6   -0.046041    0.074071</span>
+2940 <span class="comment">%  13   7    0.015033    0.025198</span>
+2941 <span class="comment">%  14   1   -0.017785    0.007114</span>
+2942 <span class="comment">%  14   2    0.014314   -0.103821</span>
+2943 <span class="comment">%  14   3   -0.007818    0.005819</span>
+2944 <span class="comment">%  14   4   -0.046975    0.152992</span>
+2945 <span class="comment">%  14   5    0.040307    0.106990</span>
+2946 <span class="comment">%  14   6    0.024887    0.000457</span>
+2947 <span class="comment">%  14   7   -0.030497   -0.099698</span>
+2948 <span class="comment">%  14   8   -0.015308    0.088554</span>
+2949 <span class="comment">%  15   1    0.022300    0.006944</span>
+2950 <span class="comment">%  15   2    0.023296   -0.082432</span>
+2951 <span class="comment">%  15   3   -0.012034    0.129612</span>
+2952 <span class="comment">%  15   4   -0.076630    0.008548</span>
+2953 <span class="comment">%  15   5    0.074119   -0.030656</span>
+2954 <span class="comment">%  15   6    0.014081   -0.082962</span>
+2955 <span class="comment">%  15   7   -0.026948    0.012078</span>
+2956 <span class="comment">%  15   8    0.013663   -0.070121</span>
+2957 <span class="comment">%  16   1   -0.026518    0.147481</span>
+2958 <span class="comment">%  16   2    0.002385   -0.127930</span>
+2959 <span class="comment">%  16   3    0.006044   -0.040092</span>
+2960 <span class="comment">%  16   4   -0.066371    0.131605</span>
+2961 <span class="comment">%  16   5    0.044381    0.027604</span>
+2962 <span class="comment">%  16   6    0.013263    0.111982</span>
+2963 <span class="comment">%  16   7   -0.018533   -0.015504</span>
+2964 <span class="comment">%   1   1    0.014970   -0.090054</span>
+2965 <span class="comment">%  ];</span>
+2966 
+2967 <span class="comment">% Golden ci dessous orbite su 23 avril 2007</span>
+2968 Golden = [
+2969   1   2   -0.006983   -0.027905
+2970   1   3   -0.003142   -0.015461
+2971   1   4    0.016421    0.040723
+2972   1   5   -0.114860    0.070363
+2973   1   6    0.114470    0.077863
+2974   1   7   -0.017136    0.142959
+2975   2   1   -0.002380   -0.119856
+2976   2   2    0.020268   -0.037834
+2977   2   3   -0.016944    0.036558
+2978   2   4    0.004818    0.125072
+2979   2   5    0.003800    0.055701
+2980   2   6   -0.067714   -0.020920
+2981   2   7    0.064931   -0.124026
+2982   2   8    0.030373   -0.049196
+2983   3   1   -0.067756    0.042688
+2984   3   2    0.005212    0.106980
+2985   3   3   -0.000994   -0.206161
+2986   3   4    0.008764   -0.040780
+2987   3   5   -0.012362    0.065270
+2988   3   6    0.008649   -0.071649
+2989   3   7   -0.010105   -0.116539
+2990   3   8    0.004831    0.033727
+2991   4   1   -0.012951    0.069927
+2992   4   2    0.018719   -0.016921
+2993   4   3   -0.013218   -0.023794
+2994   4   4    0.025955   -0.031911
+2995   4   5   -0.087577   -0.055929
+2996   4   6    0.073246   -0.043108
+2997   4   7   -0.051022    0.013304
+2998   5   1    0.054389    0.066226
+2999   5   2   -0.030216   -0.082380
+3000   5   3    0.014207    0.015782
+3001   5   4    0.018652    0.040588
+3002   5   5    0.007467    0.018579
+3003   5   6   -0.035390    0.023740
+3004   5   7   -0.011514    0.007948
+3005   6   1    0.021412   -0.013609
+3006   6   2    0.019742    0.016051
+3007   6   3   -0.014610   -0.070518
+3008   6   4   -0.012430    0.038418
+3009   6   5    0.011704    0.077612
+3010   6   6   -0.021676   -0.055172
+3011   6   7    0.019028   -0.064592
+3012   6   8   -0.017033   -0.085768
+3013   7   1    0.027233    0.110291
+3014   7   2   -0.044686   -0.035923
+3015   7   3    0.025766   -0.035378
+3016   7   4   -0.018853   -0.022782
+3017   7   5    0.026612    0.040724
+3018   7   6   -0.119231    0.069974
+3019   7   7    0.122805   -0.064904
+3020   7   8   -0.016395    0.040026
+3021   8   1   -0.002400   -0.010129
+3022   8   2    0.022870   -0.036095
+3023   8   3   -0.014112    0.035739
+3024   8   4   -0.020547    0.006218
+3025   8   5   -0.043064    0.018189
+3026   8   6    0.071954    0.071437
+3027   8   7   -0.034260    0.040567
+3028   9   1    0.028537   -0.064069
+3029   9   2   -0.010896   -0.014936
+3030   9   3    0.012216   -0.004277
+3031   9   4   -0.068464    0.027311
+3032   9   5    0.009988    0.010894
+3033   9   6    0.063530    0.017090
+3034   9   7   -0.053769    0.063549
+3035  10   1    0.062576    0.054632
+3036  10   2    0.017741   -0.146863
+3037  10   3   -0.010410   -0.007074
+3038  10   4   -0.074049    0.078694
+3039  10   5    0.064659    0.188452
+3040  10   6    0.069572    0.152665
+3041  10   7   -0.079175    0.118005
+3042  10   8   -0.029903   -0.160250
+3043  11   1    0.050193    0.037427
+3044  11   2    0.055632   -0.042655
+3045  11   3   -0.035655   -0.054405
+3046  11   4   -0.036151    0.149242
+3047  11   5    0.035143    0.116151
+3048  11   6    0.028927    0.086803
+3049  11   7   -0.035726   -0.064940
+3050  11   8   -0.011351   -0.092493
+3051  12   1    0.021298    0.086223
+3052  12   2    0.018891   -0.081681
+3053  12   3   -0.006108    0.093825
+3054  12   4   -0.073790   -0.017286
+3055  12   5    0.077053   -0.049686
+3056  12   6   -0.015203    0.047587
+3057  12   7   -0.030149    0.022547
+3058  13   1    0.046047    0.008691
+3059  13   2   -0.022754   -0.168597
+3060  13   3    0.003678    0.050055
+3061  13   4    0.056820    0.126502
+3062  13   5   -0.025694    0.041400
+3063  13   6   -0.039813    0.096348
+3064  13   7    0.014860    0.042901
+3065  14   1   -0.018464   -0.017584
+3066  14   2    0.025080   -0.093626
+3067  14   3   -0.012440    0.002405
+3068  14   4   -0.057945    0.140560
+3069  14   5    0.051345    0.101783
+3070  14   6    0.024152    0.011598
+3071  14   7   -0.033475   -0.116291
+3072  14   8   -0.001281    0.101211
+3073  15   1   -0.002106    0.013078
+3074  15   2    0.019324   -0.106988
+3075  15   3   -0.007300    0.136143
+3076  15   4   -0.070168    0.021354
+3077  15   5    0.067422   -0.004631
+3078  15   6    0.013393   -0.080552
+3079  15   7   -0.025907    0.012427
+3080  15   8    0.006644   -0.071089
+3081  16   1   -0.015333    0.132740
+3082  16   2    0.007727   -0.131224
+3083  16   3    0.002030   -0.023141
+3084  16   4   -0.067771    0.132597
+3085  16   5    0.044049    0.024878
+3086  16   6    0.014250    0.105506
+3087  16   7   -0.017992   -0.006555
+3088   1   1    0.017883   -0.087854
+3089   ];
+3090 
+3091 
+3092 setfamilydata(Golden(:,3),<span class="string">'BPMx'</span>,<span class="string">'Golden'</span>,Golden(:,1:2));
+3093 setfamilydata(Golden(:,4),<span class="string">'BPMz'</span>,<span class="string">'Golden'</span>,Golden(:,1:2));
+3094 
+3095 <a name="_sub1" href="#_subfunctions" class="code">function setfamilydata_local(Family)</a>
+3096 <span class="comment">% set all data in one command</span>
+3097 
+3098 <span class="keyword">if</span> ismemberof(Family,<span class="string">'QUAD'</span>) || ismemberof(Family,<span class="string">'COR'</span>) || <span class="keyword">...</span>
+3099         ismemberof(Family,<span class="string">'COR'</span>) || ismemberof(Family,<span class="string">'SEXT'</span>) || <span class="keyword">...</span>
+3100         ismemberof(Family,<span class="string">'BPM'</span>) || ismemberof(Family,<span class="string">'BEND'</span>)
+3101     setfamilydata(1,Family,<span class="string">'Gain'</span>);
+3102     setfamilydata(0,Family,<span class="string">'Offset'</span>);
+3103     setfamilydata(0,Family,<span class="string">'Coupling'</span>);
+3104 <span class="keyword">end</span>
+3105 
+3106 <span class="keyword">if</span> ismemberof(Family,<span class="string">'BPM'</span>)
+3107     setfamilydata(0.001,Family,<span class="string">'Sigma'</span>);
+3108     setfamilydata(0.0,Family,<span class="string">'Golden'</span>);
+3109     setfamilydata(measdisp(Family,<span class="string">'struct'</span>,<span class="string">'model'</span>),Family,<span class="string">'Dispersion'</span>); <span class="comment">% needed for orbit correction w/ RF</span>
+3110 <span class="keyword">end</span>
+3111 
+3112 <span class="comment">% Order fields for all families</span>
+3113 AO = getao;
+3114 Familylist = getfamilylist;
+3115 <span class="keyword">for</span> k = 1:length(Familylist),
+3116     FamilyName = deblank(Familylist(k,:));
+3117     AO.(FamilyName) = orderfields(AO.(FamilyName));
+3118     FieldNamelist = fieldnames(AO.(FamilyName));
+3119     <span class="keyword">for</span> k1 = 1:length(FieldNamelist);
+3120         FieldName = FieldNamelist{k1};
+3121         <span class="keyword">if</span> isstruct((AO.(FamilyName).(FieldName)))
+3122             AO.(FamilyName).(FieldName) = orderfields(AO.(FamilyName).(FieldName));
+3123         <span class="keyword">end</span>
+3124     <span class="keyword">end</span>
+3125 <span class="keyword">end</span>
+3126 setao(AO)
+3127</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srinit.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srinit.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srinit.html	(revision 17)
@@ -0,0 +1,50 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of srinit</title>
+  <meta name="keywords" content="srinit">
+  <meta name="description" content="SRINIT - Just an alias to hwinit">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; srinit.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>srinit
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SRINIT - Just an alias to hwinit</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function srinit(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SRINIT - Just an alias to hwinit</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="hwinit.html" class="code" title="function hwinit(varargin)">hwinit</a>	HWINIT - This function initializes the storage ring parameters the user operation</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function srinit(varargin)</a>
+0002 <span class="comment">%SRINIT - Just an alias to hwinit</span>
+0003 
+0004 <a href="hwinit.html" class="code" title="function hwinit(varargin)">hwinit</a>(varargin{:});</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srsetup.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srsetup.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srsetup.html	(revision 17)
@@ -0,0 +1,188 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of srsetup</title>
+  <meta name="keywords" content="srsetup">
+  <meta name="description" content="SRSETUP - GUI for doing storage ring setup">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; srsetup.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>srsetup
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SRSETUP - GUI for doing storage ring setup</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function srsetup </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SRSETUP - GUI for doing storage ring setup
+ GUI for doing storage ring setup
+
+ Written by Laurent S. Nadolski</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function srsetup</a>
+0002 <span class="comment">%SRSETUP - GUI for doing storage ring setup</span>
+0003 <span class="comment">% GUI for doing storage ring setup</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Written by Laurent S. Nadolski</span>
+0006 
+0007 checkforao;
+0008 
+0009 <span class="comment">%Clear previous ORBIT figure</span>
+0010 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'srsetup'</span>); 
+0011 
+0012 <span class="keyword">if</span> ~isempty(orbfig), delete(orbfig); <span class="keyword">end</span>
+0013 
+0014 kmax = 11; <span class="comment">% button number</span>
+0015 
+0016 height = 10 + kmax*30 + 30; <span class="comment">%670;</span>
+0017 a = figure(<span class="string">'Color'</span>,[0.8 0.8 0.8], <span class="keyword">...</span>
+0018     <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0019     <span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0020     <span class="string">'MenuBar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span>
+0021     <span class="string">'Name'</span>, <span class="string">'Ring Command Launcher'</span>, <span class="keyword">...</span>
+0022     <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0023     <span class="string">'Units'</span>,<span class="string">'pixels'</span>, <span class="keyword">...</span>
+0024     <span class="string">'Position'</span>,[5 70 210*4 height], <span class="keyword">...</span>
+0025     <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0026     <span class="string">'Tag'</span>,<span class="string">'srsetup'</span>);
+0027 
+0028 height = height - 35;
+0029 
+0030 <span class="keyword">for</span> k = 1:kmax,
+0031     b1(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0032         <span class="string">'Position'</span>,[3 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0033         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0034         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0035 <span class="keyword">end</span>
+0036 
+0037 <span class="keyword">for</span> k = 1:kmax,
+0038     b2(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0039         <span class="string">'Position'</span>,[3 + 210 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0040         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0041         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0042 <span class="keyword">end</span>
+0043 
+0044 <span class="keyword">for</span> k = 1:kmax,
+0045     b3(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0046         <span class="string">'Position'</span>,[3 + 210*2 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0047         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0048         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0049 <span class="keyword">end</span>
+0050 
+0051 <span class="keyword">for</span> k = 1:kmax,
+0052     b4(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0053         <span class="string">'Position'</span>,[3 + 210*3 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0054         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0055         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0056 <span class="keyword">end</span>
+0057 
+0058 set(b1(1), <span class="string">'Callback'</span>,<span class="string">'setpathsoleil(''StorageRing'');'</span>, <span class="string">'String'</span>,<span class="string">'Soleilinit'</span>,<span class="string">'BackgroundColor'</span>,<span class="string">'g'</span>);
+0059 set(b1(2), <span class="string">'Callback'</span>,<span class="string">'refreshthering'</span>, <span class="string">'String'</span>,<span class="string">'Recharger la maille'</span>);
+0060 set(b1(3), <span class="string">'Callback'</span>,<span class="string">'plotfamily'</span>, <span class="string">'String'</span>,<span class="string">'Plotfamily'</span>);
+0061 set(b1(4), <span class="string">'Callback'</span>,<span class="string">'disp([''   Fichiers de Consignes;'']); configgui;;'</span>, <span class="string">'String'</span>,<span class="string">'Fichiers de Consignes'</span>);
+0062 set(b1(5), <span class="string">'Callback'</span>,<span class="string">'disp([''   Ringcycling;'']);Ringcycling'</span>, <span class="string">'String'</span>,<span class="string">'Cyclage'</span>);
+0063 set(b1(6), <span class="string">'Callback'</span>,<span class="string">'disp([''   Ringcycling;'']);save_boo'</span>, <span class="string">'String'</span>,<span class="string">'Fichier de synchronisation'</span>);
+0064 set(b1(7), <span class="string">'Callback'</span>,<span class="string">'disp([''   Timing;'']); synchro_injecteur6;'</span>, <span class="string">'String'</span>,<span class="string">'Synchronisation dÃ©finitive'</span>);
+0065 set(b1(8), <span class="string">'Callback'</span>,<span class="string">'steerette'</span>, <span class="string">'String'</span>,<span class="string">'Steerette'</span>);
+0066 set(b1(9), <span class="string">'Callback'</span>,<span class="string">'energytunette'</span>, <span class="string">'String'</span>, <span class="string">'Energytunette'</span>);
+0067 set(b1(10), <span class="string">'Callback'</span>,<span class="string">'fourturnalgorithm'</span>, <span class="string">'String'</span>, <span class="string">'Algo 4 tours'</span>);
+0068 
+0069 
+0070 set(b2(1), <span class="string">'Callback'</span>,<span class="string">'figure;plotorbit;'</span>, <span class="string">'String'</span>,<span class="string">'Plotorbit'</span>);
+0071 set(b2(2), <span class="string">'Callback'</span>,<span class="string">'solorbit'</span>, <span class="string">'String'</span>,<span class="string">'solorbit'</span>);
+0072 set(b2(3), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   setorbit;'']); setorbit(''Display'');'</span>, <span class="string">'String'</span>,<span class="string">'Correction d''orbite'</span>);
+0073 set(b2(4), <span class="string">'Callback'</span>,<span class="string">'disp([''   measbpmresp;'']); measbpmresp;'</span>, <span class="string">'String'</span>,<span class="string">'Generate BPM Response Matrix'</span>);
+0074 set(b2(5), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   rmdisp;'']); rmdisp(''BPMx'',''Display'');'</span>, <span class="string">'String'</span>,<span class="string">'Find New RF Frequency (LS Fit)'</span>);
+0075 set(b2(6), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   findrf;'']); findrf;'</span>, <span class="string">'String'</span>,<span class="string">'Find New RF Frequency (Dot Product)'</span>);
+0076 set(b2(7), <span class="string">'Callback'</span>,<span class="string">'disp([''   gettune;'']); gettune(''Display'');'</span>, <span class="string">'String'</span>,<span class="string">'Get Tunes'</span>);
+0077 set(b2(8), <span class="string">'Callback'</span>,<span class="string">'disp([''   settune;'']); settune;'</span>, <span class="string">'String'</span>,<span class="string">'Set Tunes'</span>);
+0078 set(b2(9), <span class="string">'Callback'</span>,<span class="string">'getbpmsum;'</span>, <span class="string">'String'</span>,<span class="string">'Signal Somme (1er tour)'</span>);
+0079 set(b2(10), <span class="string">'Callback'</span>,<span class="string">'nombre_onde_ans;'</span>, <span class="string">'String'</span>,<span class="string">'FFT Tour par Tour'</span>);
+0080 set(b2(11), <span class="string">'Callback'</span>,<span class="string">'bpmconfigurator;'</span>, <span class="string">'String'</span>,<span class="string">'Configuration BPM'</span>);
+0081 
+0082 set(b3(1), <span class="string">'Callback'</span>,<span class="string">'tango_staticdb_config'</span>, <span class="string">'String'</span>,<span class="string">'DBT config'</span>,<span class="string">'BackgroundColor'</span>,<span class="string">'r'</span>);
+0083 set(b3(2), <span class="string">'Callback'</span>,<span class="string">'tango_archiving_config'</span>, <span class="string">'String'</span>,<span class="string">'Archivage'</span>);
+0084 set(b3(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   meastuneresp;'']); meastuneresp;'</span>, <span class="string">'String'</span>,<span class="string">'Generate Tune Response Matrix'</span>);
+0085 set(b3(4), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   measdisp;'']); measdisp;'</span>, <span class="string">'String'</span>,<span class="string">'Measure Dispersion'</span>);
+0086 set(b3(5), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   measchro;'']); measchro(''Physics'');'</span>, <span class="string">'String'</span>,<span class="string">'Measure The Chromaticity'</span>);
+0087 set(b3(6), <span class="string">'Callback'</span>,<span class="string">'disp([''   stepchro;'']); stepchro(''Physics'');'</span>, <span class="string">'String'</span>,<span class="string">'Step The Chromaticity'</span>);
+0088 set(b3(7), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   measchroresp;'']); measchroresp;'</span>, <span class="string">'String'</span>,<span class="string">'Generate Chromaticity Response Matrix'</span>);
+0089 set(b3(8), <span class="string">'Callback'</span>,<span class="string">'disp([''   getmachineconfig;'']); getmachineconfig(''Archive'');'</span>, <span class="string">'String'</span>,<span class="string">'Save Lattice'</span>);
+0090 set(b3(9), <span class="string">'Callback'</span>,<span class="string">'disp([''   setmachineconfig;'']); setmachineconfig;'</span>, <span class="string">'String'</span>,<span class="string">'Load Lattice'</span>);
+0091 set(b3(10), <span class="string">'Callback'</span>,<span class="string">'disp([''   intlat;'']); intlat;'</span>, <span class="string">'String'</span>,<span class="string">'Interactive Lattice'</span>);
+0092 
+0093 set(b4(1), <span class="string">'Callback'</span>,<span class="string">''</span>, <span class="string">'String'</span>,<span class="string">'Cellule 13'</span>,<span class="string">'BackgroundColor'</span>,<span class="string">'c'</span>);
+0094 <span class="comment">%set(b4(2), 'Callback','quadcell13(''Off'')', 'String','ETEINDRE');</span>
+0095 <span class="comment">%set(b4(3), 'Callback','quadcell13(''On'')', 'String','ALLUMER');</span>
+0096 set(b4(4), <span class="string">'Callback'</span>,<span class="string">'quadcell13(''Reset'')'</span>, <span class="string">'String'</span>,<span class="string">'RESET'</span>);
+0097 set(b4(5), <span class="string">'Callback'</span>,<span class="string">'quadcell13(''State'')'</span>, <span class="string">'String'</span>,<span class="string">'ETAT'</span>);
+0098 <span class="comment">%set(b4(6), 'Callback','tango_group_command_inout2(getfamilydata(''CycleQC13'',''GroupId''),''Start'',0,0)', ...</span>
+0099 <span class="comment">%    'String','CYCLAGE (sans config)');</span>
+0100 set(b4(7), <span class="string">'Callback'</span>,<span class="string">'getbpmagcgain'</span>, <span class="string">'String'</span>,<span class="string">'BPM gain AGC'</span>);
+0101 set(b4(8), <span class="string">'Callback'</span>,<span class="string">'plotquad;'</span>, <span class="string">'String'</span>,<span class="string">'Etat QUAD'</span>);
+0102 <span class="comment">%set(b4(9), 'Callback','monmags;', 'String','Statistiques sur alim');</span>
+0103 
+0104 
+0105 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0106     <span class="string">'Callback'</span>,<span class="string">'close all'</span>, <span class="keyword">...</span>
+0107     <span class="string">'String'</span>,<span class="string">'Close All Figures'</span>, <span class="keyword">...</span>
+0108     <span class="string">'Position'</span>,[3 height-kmax*30 204 27], <span class="keyword">...</span>
+0109     <span class="string">'Userdata'</span>,[], <span class="keyword">...</span>
+0110     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0111     <span class="string">'Tag'</span>,<span class="string">'button2'</span>);
+0112 
+0113 <span class="comment">% b = uicontrol('Parent',a, ...</span>
+0114 <span class="comment">%     'Callback',[ ...</span>
+0115 <span class="comment">%         'if isempty(get(findobj(gcbf,''Tag'',''button3''),''Userdata''));' ...</span>
+0116 <span class="comment">%         '  disp('' '');', ...</span>
+0117 <span class="comment">%         '  disp(''  A diary records everything echoed to the matlab command window.'');pause(0);', ...</span>
+0118 <span class="comment">%         '  [filename, pathname] = uiputfile(''*.txt'', ''Choose a dairy filename.'');', ...</span>
+0119 <span class="comment">%         '  if filename==0;', ...</span>
+0120 <span class="comment">%         '     return;', ...</span>
+0121 <span class="comment">%         '  else;', ...</span>
+0122 <span class="comment">%         '     filename = [pathname filename];', ...</span>
+0123 <span class="comment">%         '  end;', ...</span>
+0124 <span class="comment">%         '  eval([''diary '', filename]);', ...</span>
+0125 <span class="comment">%         '  set(findobj(gcbf,''Tag'',''button3''),''Userdata'',filename);' ...</span>
+0126 <span class="comment">%         '  set(findobj(gcbf,''Tag'',''button3''),''String'',''Stop Diary'');' ...</span>
+0127 <span class="comment">%         'else;   ', ...</span>
+0128 <span class="comment">%         '  disp('' '');', ...</span>
+0129 <span class="comment">%         '  diary off;', ...</span>
+0130 <span class="comment">%         '  disp([''  Diary file '',get(findobj(gcbf,''Tag'',''button3''),''Userdata''),'' closed.'']);', ...</span>
+0131 <span class="comment">%         '  set(findobj(gcbf,''Tag'',''button3''),''Userdata'',[]);' ...</span>
+0132 <span class="comment">%         '  set(findobj(gcbf,''Tag'',''button3''),''String'',''Start/Append Diary'');' ...</span>
+0133 <span class="comment">%         'end;   ', ...</span>
+0134 <span class="comment">%     ], ...</span>
+0135 <span class="comment">%     'String','Start/Append Diary', ...</span>
+0136 <span class="comment">%     'Position',[3 65 204 27], ...</span>
+0137 <span class="comment">%     'Userdata',[], ...</span>
+0138 <span class="comment">%     'Interruptible', 'off', ...</span>
+0139 <span class="comment">%     'Tag','button3');</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srsetup_op.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srsetup_op.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/srsetup_op.html	(revision 17)
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of srsetup_op</title>
+  <meta name="keywords" content="srsetup_op">
+  <meta name="description" content="SRSETUP - GUI for doing storage ring setup">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; srsetup_op.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>srsetup_op
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SRSETUP - GUI for doing storage ring setup</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function srsetup_op </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SRSETUP - GUI for doing storage ring setup
+ GUI for doing storage ring setup
+
+ Written by Laurent S. Nadolski</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function srsetup_op</a>
+0002 <span class="comment">%SRSETUP - GUI for doing storage ring setup</span>
+0003 <span class="comment">% GUI for doing storage ring setup</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Written by Laurent S. Nadolski</span>
+0006 
+0007 checkforao;
+0008 
+0009 <span class="comment">%Clear previous ORBIT figure</span>
+0010 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'srsetup'</span>); 
+0011 
+0012 <span class="keyword">if</span> ~isempty(orbfig), delete(orbfig); <span class="keyword">end</span>
+0013 
+0014 kmax = 6; <span class="comment">% button number</span>
+0015 
+0016 height = 10 + kmax*30 + 30; <span class="comment">%670;</span>
+0017 a = figure(<span class="string">'Color'</span>,[0.8 0.8 0.8], <span class="keyword">...</span>
+0018     <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0019     <span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0020     <span class="string">'MenuBar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span>
+0021     <span class="string">'Name'</span>, <span class="string">'Menu ANNEAU SYNCHROTRON SOLEIL'</span>, <span class="keyword">...</span>
+0022     <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0023     <span class="string">'Units'</span>,<span class="string">'pixels'</span>, <span class="keyword">...</span>
+0024     <span class="string">'Position'</span>,[5 70 210*3 height], <span class="keyword">...</span>
+0025     <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0026     <span class="string">'Tag'</span>,<span class="string">'srsetup'</span>);
+0027 
+0028 height = height - 35;
+0029 
+0030 <span class="keyword">for</span> k = 1:kmax,
+0031     b1(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0032         <span class="string">'Position'</span>,[3 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0033         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0034         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0035 <span class="keyword">end</span>
+0036 
+0037 <span class="keyword">for</span> k = 1:kmax,
+0038     b2(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0039         <span class="string">'Position'</span>,[3 + 210 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0040         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0041         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0042 <span class="keyword">end</span>
+0043 
+0044 <span class="keyword">for</span> k = 1:kmax,
+0045     b3(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0046         <span class="string">'Position'</span>,[3 + 210*2 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0047         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0048         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0049 <span class="keyword">end</span>
+0050 
+0051 bn = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0052         <span class="string">'Position'</span>,[3 + 210 height-(kmax)*30+5 204 27/2], <span class="keyword">...</span>
+0053         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0054         <span class="string">'Style'</span>,<span class="string">'text'</span>, <span class="string">'String'</span>, <span class="string">'En rouge : Action sur le faisceau'</span>, <span class="string">'ForegroundColor'</span>, <span class="string">'r'</span>);
+0055 
+0056 set(b1(1), <span class="string">'Callback'</span>,<span class="string">'setpathsoleil(''StorageRing'');'</span>, <span class="string">'String'</span>,<span class="string">'Soleilinit'</span>,<span class="string">'BackgroundColor'</span>,<span class="string">'g'</span>);
+0057 set(b1(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Fichiers de Consignes;'']); configgui;;'</span>, <span class="string">'String'</span>,<span class="string">'Fichiers de Consignes'</span>);
+0058 set(b1(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   Ringcycling;'']);Ringcycling'</span>, <span class="string">'String'</span>,<span class="string">'Cyclage'</span>);
+0059 set(b1(4), <span class="string">'Callback'</span>,<span class="string">'bpmconfigurator;'</span>, <span class="string">'String'</span>,<span class="string">'Configuration BPM'</span>);
+0060 set(b1(5), <span class="string">'Callback'</span>,<span class="string">'synchro_injecteur6;'</span>, <span class="string">'String'</span>,<span class="string">'Synchronisation'</span>);
+0061 set(b1(6), <span class="string">'Callback'</span>,<span class="string">'plotfamily'</span>, <span class="string">'String'</span>,<span class="string">'Afficher orbite'</span>);
+0062 
+0063 set(b2(1), <span class="string">'Callback'</span>,<span class="string">'orbitcontrol'</span>, <span class="string">'String'</span>,<span class="string">'SOFB (Correction automatique orbite)'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);
+0064 set(b2(2), <span class="string">'Callback'</span>,<span class="string">'solorbit'</span>, <span class="string">'String'</span>,<span class="string">'Interface experte Correction Orbite'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);
+0065 set(b2(3), <span class="string">'Callback'</span>,<span class="string">'setorbitbumpgui'</span>, <span class="string">'String'</span>,<span class="string">'Orbit bumps'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);
+0066 set(b2(4), <span class="string">'Callback'</span>,<span class="string">'disp([''   gettune;'']); gettune(''Display'');'</span>, <span class="string">'String'</span>,<span class="string">'Mesurer nombres d''onde'</span>);
+0067 set(b2(5), <span class="string">'Callback'</span>,<span class="string">'disp([''   steptune;'']); steptune;'</span>, <span class="string">'String'</span>,<span class="string">'Changer nombres d''onde'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);
+0068 set(b2(6), <span class="string">'Callback'</span>,<span class="string">'disp([''   settune;'']); settune;'</span>, <span class="string">'String'</span>,<span class="string">'Nombres d''onde Golden'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);
+0069 
+0070 set(b3(1), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   lifetime;'']); measlifetime(30,''Display'');'</span>, <span class="string">'String'</span>,<span class="string">'Mesurer durÃ©e de vie'</span>);
+0071 set(b3(3), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   measdisp;'']); measdisp(''Physics'');'</span>, <span class="string">'String'</span>,<span class="string">'Mesurer dispersion'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);
+0072 set(b3(4), <span class="string">'Callback'</span>,<span class="string">'figure; disp([''   measchro;'']); measchro(''Physics'');'</span>, <span class="string">'String'</span>,<span class="string">'Mesurer chromaticitÃ©s'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);
+0073 set(b3(5), <span class="string">'Callback'</span>,<span class="string">'disp([''   stepchro;'']); stepchro(''Physics'');'</span>, <span class="string">'String'</span>,<span class="string">'Changer chromaticitÃ©s'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);
+0074 set(b3(6), <span class="string">'Callback'</span>,<span class="string">'disp([''   setchro;'']); setchro(''Physics'');'</span>, <span class="string">'String'</span>,<span class="string">'ChromaticitÃ©s Golden'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'r'</span>);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/stepalpha1.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/stepalpha1.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/stepalpha1.html	(revision 17)
@@ -0,0 +1,149 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of stepalpha1</title>
+  <meta name="keywords" content="stepalpha1">
+  <meta name="description" content="FUNCTION STEPALPHA1 - step tunes and alpha1 (and alpha2) using quadrupole families">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; stepalpha1.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>stepalpha1
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>FUNCTION STEPALPHA1 - step tunes and alpha1 (and alpha2) using quadrupole families</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function stepalpha1(dnux, dnuz, dalpha1, dalpha2) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> FUNCTION STEPALPHA1 - step tunes and alpha1 (and alpha2) using quadrupole families
+
+  INPUTS
+  1. dnux - horizontal tune variation
+  2. dnuz - vertical tune variation
+  3. dalpha1 - first order momentum compaction variation
+  4. dalpha2 - second order momentum compaction variation
+
+  Notes
+  1. Matrix generation
+  [DKx DKz DtuneVal]   = modeltunesensitivity;
+  [QuadRmcf1 QuadRmcf2]= modelmcfsensitivity('Quad');
+
+  See Also <a href="stepalpha2.html" class="code" title="function stepalpha2(dxix, dxiz, dalpha2)">stepalpha2</a>, <a href="physics_mcf.html" class="code" title="function [alpha1 alpha2 alpha3] = physics_mcf(varargin)">physics_mcf</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function stepalpha1(dnux, dnuz, dalpha1, dalpha2)</a>
+0002 <span class="comment">% FUNCTION STEPALPHA1 - step tunes and alpha1 (and alpha2) using quadrupole families</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. dnux - horizontal tune variation</span>
+0006 <span class="comment">%  2. dnuz - vertical tune variation</span>
+0007 <span class="comment">%  3. dalpha1 - first order momentum compaction variation</span>
+0008 <span class="comment">%  4. dalpha2 - second order momentum compaction variation</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">%  Notes</span>
+0011 <span class="comment">%  1. Matrix generation</span>
+0012 <span class="comment">%  [DKx DKz DtuneVal]   = modeltunesensitivity;</span>
+0013 <span class="comment">%  [QuadRmcf1 QuadRmcf2]= modelmcfsensitivity('Quad');</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">%  See Also stepalpha2, physics_mcf</span>
+0016 
+0017 
+0018 
+0019 <span class="comment">%</span>
+0020 <span class="comment">%% Written by Laurent S. Nadolski</span>
+0021 
+0022 InteractiveFlag = 1;
+0023 
+0024 <span class="keyword">if</span> nargin &lt; 3
+0025     error(<span class="string">'Number of input parameters is at least than 3!'</span>)
+0026 <span class="keyword">end</span>
+0027 
+0028 <span class="comment">% Default families to used</span>
+0029 <span class="keyword">if</span> nargin == 3
+0030     familyList = [5 7 8];
+0031 <span class="keyword">end</span>
+0032 
+0033 <span class="keyword">if</span> nargin == 4
+0034     familyList = [5 7 8 10];
+0035 <span class="keyword">end</span>
+0036 
+0037 <span class="comment">% Load linear response matrices</span>
+0038 <span class="comment">% These are the sensibility matrices expressed in amperes</span>
+0039 <span class="comment">% DtuneVal</span>
+0040 <span class="comment">%</span>
+0041 
+0042 dirName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'OpsData'</span>);
+0043 <span class="comment">%load([dirName '..' filesep 'lowalpha_dec08' filesep 'Rmatrix_alphaby20_nouveau_modele_dec08_opt_nonlin']);</span>
+0044 load([dirName <span class="string">'..'</span> filesep <span class="string">'lowalpha_dec08'</span> filesep <span class="string">'Rmatrix_alphaby10_nouveau_modele_janv10_opt_nonlin'</span>]);
+0045 
+0046 QuadFamNumber = length(familyList);
+0047 <span class="keyword">if</span> nargin == 3
+0048     DI = ones(QuadFamNumber,1)*NaN;
+0049     DI = pinv([DtuneVal(:,familyList); QuadRmcf1(familyList)])*[dnux dnuz dalpha1]';
+0050 <span class="keyword">elseif</span> nargin == 4
+0051     <span class="comment">%% step tunes and alpha1 and alpha2</span>
+0052     DI = ones(length(familyList),1)*NaN;
+0053     DI = pinv([DtuneVal(:,familyList); QuadRmcf1(familyList); QuadRmcf2(familyList)])*[dnux dnuz dalpha1 dalpha2]';
+0054 <span class="keyword">else</span>
+0055     error(<span class="string">'Wrong number of parameters'</span>)
+0056 <span class="keyword">end</span>
+0057 
+0058 <span class="comment">%Display variation and ask confirmation</span>
+0059 fprintf(<span class="string">'\n\n Quadrupole current values to be applied\n'</span>);
+0060 <span class="keyword">for</span> iQuad = 1:QuadFamNumber,
+0061     fprintf(sprintf(<span class="string">'Quad step for Q%d is %f A\n'</span>, familyList(iQuad), DI(iQuad)));
+0062 <span class="keyword">end</span>
+0063 
+0064 <span class="keyword">if</span> InteractiveFlag
+0065 
+0066     <span class="comment">% Ask user for applying correction</span>
+0067     reply = input(<span class="string">'Apply values (Y/n) \n'</span>, <span class="string">'s'</span>);
+0068     <span class="keyword">if</span> isempty(reply)
+0069         reply = <span class="string">'Y'</span>;
+0070     <span class="keyword">end</span>
+0071 
+0072     <span class="keyword">switch</span> reply
+0073         <span class="keyword">case</span> {<span class="string">'y'</span>, <span class="string">'Y'</span>}
+0074             <span class="keyword">for</span> iQuad = 1:QuadFamNumber,
+0075                 sprintf(<span class="string">'Q%d'</span>,iQuad);
+0076                 stepsp(sprintf(<span class="string">'Q%d'</span>,familyList(iQuad)), DI(iQuad));
+0077             <span class="keyword">end</span>
+0078             fprintf(<span class="string">'Correction applied\n'</span>);
+0079         <span class="keyword">otherwise</span>
+0080             fprintf(<span class="string">'Aborting ...\n'</span>);
+0081     <span class="keyword">end</span>
+0082 <span class="keyword">else</span>
+0083     <span class="keyword">for</span> iQuad = 1:QuadFamNumber,
+0084         sprintf(<span class="string">'Q%d'</span>,iQuad);
+0085         stepsp(sprintf(<span class="string">'Q%d'</span>,familyList(iQuad)), DI(iQuad));
+0086     <span class="keyword">end</span>
+0087     fprintf(<span class="string">'Correction applied\n'</span>);
+0088 <span class="keyword">end</span>
+0089</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/stepalpha2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/stepalpha2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/stepalpha2.html	(revision 17)
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of stepalpha2</title>
+  <meta name="keywords" content="stepalpha2">
+  <meta name="description" content="FUNCTION STEPALPHA2 - step chromaticities and alpha2 using sextupole families">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; stepalpha2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>stepalpha2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>FUNCTION STEPALPHA2 - step chromaticities and alpha2 using sextupole families</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function stepalpha2(dxix, dxiz, dalpha2) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> FUNCTION STEPALPHA2 - step chromaticities and alpha2 using sextupole families
+
+  INPUTS
+  1. dxix - horizontal tune variation
+  2. dxiz - vertical tune variation
+  3. dalpha2 - second order momentum compaction variation
+
+  Notes
+  1. Matrix generation
+  [DSx DSz DchroVal]   = modelchrosensitivity;
+  [SextuRmcf1 SextuRmcf2]=modelmcfsensitivity('Sextu');
+
+  See Also <a href="stepalpha1.html" class="code" title="function stepalpha1(dnux, dnuz, dalpha1, dalpha2)">stepalpha1</a>, <a href="physics_mcf.html" class="code" title="function [alpha1 alpha2 alpha3] = physics_mcf(varargin)">physics_mcf</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function stepalpha2(dxix, dxiz, dalpha2)</a>
+0002 <span class="comment">% FUNCTION STEPALPHA2 - step chromaticities and alpha2 using sextupole families</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. dxix - horizontal tune variation</span>
+0006 <span class="comment">%  2. dxiz - vertical tune variation</span>
+0007 <span class="comment">%  3. dalpha2 - second order momentum compaction variation</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  Notes</span>
+0010 <span class="comment">%  1. Matrix generation</span>
+0011 <span class="comment">%  [DSx DSz DchroVal]   = modelchrosensitivity;</span>
+0012 <span class="comment">%  [SextuRmcf1 SextuRmcf2]=modelmcfsensitivity('Sextu');</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%  See Also stepalpha1, physics_mcf</span>
+0015 
+0016 
+0017    
+0018 
+0019 <span class="comment">%</span>
+0020 <span class="comment">%% Written by Laurent S. Nadolski</span>
+0021 
+0022 InteractiveFlag = 1;
+0023 
+0024 <span class="keyword">if</span> nargin &lt; 3
+0025     error(<span class="string">'Number of input parameters is at least than 3!'</span>)
+0026 <span class="keyword">end</span>
+0027 
+0028 <span class="comment">% Default families to used</span>
+0029 familyList = [1 4 9];
+0030 
+0031 <span class="comment">% Load linear response matrices</span>
+0032 <span class="comment">% These are the sensibility matrices expressed in amperes</span>
+0033 <span class="comment">% DchroVal</span>
+0034 <span class="comment">%</span>
+0035 
+0036 dirName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'OpsData'</span>);
+0037 <span class="comment">%load([dirName '..' filesep 'lowalpha_dec08' filesep 'Rmatrix_alphaby20_nouveau_modele_dec08_opt_nonlin']);</span>
+0038 load([dirName <span class="string">'..'</span> filesep <span class="string">'lowalpha_dec08'</span> filesep <span class="string">'Rmatrix_alphaby40_nouveau_modele_janv10_opt_nonlin'</span>]);
+0039 
+0040 SextuFamNumber = length(familyList);
+0041 <span class="keyword">if</span> nargin == 3
+0042     DI= ones(SextuFamNumber,1)*NaN;
+0043     DI = pinv([DchroVal(:,familyList); SextuRmcf2(familyList)])*[dxix dxiz dalpha2]';
+0044 <span class="keyword">else</span>
+0045     error(<span class="string">'Wrong number of parameters'</span>)
+0046 <span class="keyword">end</span>
+0047 
+0048 <span class="comment">%Display variation and ask confirmation</span>
+0049 fprintf(<span class="string">'\n\n Sextupole current values to be applied\n'</span>);
+0050 <span class="keyword">for</span> iSextu = 1:SextuFamNumber,
+0051     fprintf(sprintf(<span class="string">'Sextupole step for S%d is %f A\n'</span>, familyList(iSextu), DI(iSextu)));
+0052 <span class="keyword">end</span>
+0053 
+0054 <span class="keyword">if</span> InteractiveFlag
+0055 
+0056     <span class="comment">% Ask user for applying correction</span>
+0057     reply = input(<span class="string">'Apply values (Y/n) \n'</span>, <span class="string">'s'</span>);
+0058     <span class="keyword">if</span> isempty(reply)
+0059         reply = <span class="string">'Y'</span>;
+0060     <span class="keyword">end</span>
+0061 
+0062     <span class="keyword">switch</span> reply
+0063         <span class="keyword">case</span> {<span class="string">'y'</span>, <span class="string">'Y'</span>}
+0064             <span class="keyword">for</span> iSextu = 1:SextuFamNumber,
+0065                 sprintf(<span class="string">'S%d'</span>,iSextu);
+0066                 stepsp(sprintf(<span class="string">'S%d'</span>,familyList(iSextu)), DI(iSextu));
+0067             <span class="keyword">end</span>
+0068             fprintf(<span class="string">'Correction applied\n'</span>);
+0069         <span class="keyword">otherwise</span>
+0070             fprintf(<span class="string">'Aborting ...\n'</span>);
+0071     <span class="keyword">end</span>
+0072 <span class="keyword">else</span>
+0073     <span class="keyword">for</span> iSextu = 1:SextuFamNumber,
+0074         sprintf(<span class="string">'Q%d'</span>,iSextu);
+0075         stepsp(sprintf(<span class="string">'Q%d'</span>,familyList(iSextu)), DI(iSextu));
+0076     <span class="keyword">end</span>
+0077     fprintf(<span class="string">'Correction applied\n'</span>);
+0078 <span class="keyword">end</span>
+0079</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/test_life.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/test_life.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/test_life.html	(revision 17)
@@ -0,0 +1,62 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of test_life</title>
+  <meta name="keywords" content="test_life">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; test_life.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>test_life
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 
+0002 <span class="keyword">for</span> k =1:1000, 
+0003     LifeTime = measlifetime(60,<span class="string">'Display'</span>); 
+0004     <span class="keyword">if</span> getdcct &lt; 0.1
+0005         disp(<span class="string">'Inject first'</span>);
+0006         tango_write_attribute2(<span class="string">'ANS/DG/PUB-LifeTime'</span>,<span class="string">'string_scalar'</span>,[num2str(0,4) <span class="string">' h'</span>]);
+0007     <span class="keyword">else</span>
+0008         tango_write_attribute2(<span class="string">'ANS/DG/PUB-LifeTime'</span>,<span class="string">'string_scalar'</span>,[num2str(LifeTime,4) <span class="string">' h'</span>]);
+0009         tango_write_attribute2(<span class="string">'ANS/DG/PUB-LifeTime'</span>,<span class="string">'double_scalar'</span>,LifeTime);
+0010     <span class="keyword">end</span>
+0011    
+0012     
+0013 <span class="keyword">end</span>
+0014  tango_write_attribute2(<span class="string">'ANS/DG/PUB-LifeTime'</span>,<span class="string">'string_scalar'</span>,[num2str(-1,4) <span class="string">' h'</span>]);
+0015 
+0016</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/todo.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/todo.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/todo.html	(revision 17)
@@ -0,0 +1,36 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>To Do List for machine/Soleil/StorageRing</title>
+  <meta name="keywords" content="todo, to do, list, machine/Soleil/StorageRing">
+  <meta name="description" content="To Do List for machine/Soleil/StorageRing">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>
+<h1>To Do List for machine/Soleil/StorageRing</h1>
+<h2>getall:</h2>
+<ul>
+		<li><a href="getall.html#l8">line 8: </a> </li>	</ul><h2>getbpmrawdata_mat:</h2>
+<ul>
+		<li><a href="getbpmrawdata_mat.html#l50">line 50: </a> reezing mechanism: introduce group</li>	</ul><h2>modelchrosensitivity:</h2>
+<ul>
+		<li><a href="modelchrosensitivity.html#l14">line 14: </a> ee modeltunesensitivity</li>	</ul><h2>modelemit:</h2>
+<ul>
+		<li><a href="modelemit.html#l11">line 11: </a> omplete the documentation</li>	</ul><h2>modelmcfsensitivity:</h2>
+<ul>
+		<li><a href="modelmcfsensitivity.html#l14">line 14: </a> </li>	</ul><h2>modeltunesensitivity:</h2>
+<ul>
+		<li><a href="modeltunesensitivity.html#l14">line 14: </a> </li>	</ul><h2>setoperationalmode:</h2>
+<ul>
+		<li><a href="setoperationalmode.html#l96">line 96: </a> </li>	</ul><h2>soleilinit:</h2>
+<ul>
+		<li><a href="soleilinit.html#l70">line 70: </a> Deltakick for BPM orbit response matrix  Warning optics dependent cf. Low alpha lattice</li>	<li><a href="soleilinit.html#l2705">line 2705: </a>  this is lattice dependent !</li>	</ul><hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/updateatindex.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/updateatindex.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/updateatindex.html	(revision 17)
@@ -0,0 +1,178 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of updateatindex</title>
+  <meta name="keywords" content="updateatindex">
+  <meta name="description" content="UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; updateatindex.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>updateatindex
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function updateatindex </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="setoperationalmode.html" class="code" title="function setoperationalmode(ModeNumber)">setoperationalmode</a>	SETOPERATIONALMODE - Switches between the various operational modes</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function updateatindex</a>
+0002 <span class="comment">%UPDATEATINDEX - Updates the AT indices in the MiddleLayer with the present AT lattice (THERING)</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Adapted by Laurent S. Nadolski</span>
+0006 
+0007 <span class="keyword">global</span> THERING
+0008 
+0009 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0010 <span class="comment">% Append Accelerator Toolbox information %</span>
+0011 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0012 
+0013 <span class="comment">% Since changes in the AT model could change the AT indexes, etc,</span>
+0014 <span class="comment">% It's best to regenerate all the model indices whenever a model is loaded</span>
+0015 
+0016 <span class="comment">% Sort by family first (findcells is linear and slow)</span>
+0017 Indices = atindex(THERING);
+0018 
+0019 AO = getao;
+0020 
+0021 <span class="comment">% BPMS</span>
+0022 <span class="keyword">try</span>
+0023     ifam = <span class="string">'BPMx'</span>;
+0024     AO.(ifam).AT.ATType = <span class="string">'X'</span>;
+0025     AO.(ifam).AT.ATIndex = Indices.BPM(:); <span class="comment">% findcells(THERING,'FamName','BPM')';</span>
+0026     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+0027 
+0028     ifam = <span class="string">'BPMz'</span>;
+0029     AO.(ifam).AT.ATType = <span class="string">'Z'</span>;
+0030     AO.(ifam).AT.ATIndex = Indices.BPM(:); <span class="comment">% findcells(THERING,'FamName','BPM')';</span>
+0031     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex)';
+0032 <span class="keyword">catch</span>
+0033     warning(<span class="string">'BPM family not found in the model.'</span>);
+0034 <span class="keyword">end</span>
+0035 
+0036 
+0037 <span class="comment">% CORRECTORS</span>
+0038 <span class="keyword">try</span>
+0039     ifam = <span class="string">'HCOR'</span>;
+0040     <span class="comment">% Horizontal correctors are at every AT corrector</span>
+0041     AO.(ifam).AT.ATType = ifam;
+0042     AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.COR);
+0043     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0044 
+0045     <span class="comment">% Vertical correctors are at every AT corrector</span>
+0046     ifam = <span class="string">'VCOR'</span>;
+0047     AO.(ifam).AT.ATType = ifam;
+0048     AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.COR);
+0049     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0050 
+0051     <span class="comment">% Fast Horizontal correctors are at every AT corrector</span>
+0052     ifam = <span class="string">'FHCOR'</span>;
+0053     AO.(ifam).AT.ATType = ifam;
+0054     AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.COR);
+0055     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0056 
+0057     <span class="comment">% Fast vertical correctors are at every AT corrector</span>
+0058     ifam = <span class="string">'FVCOR'</span>;
+0059     AO.(ifam).AT.ATType = ifam;
+0060     AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.COR);
+0061     AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0062 <span class="keyword">catch</span>
+0063     warning(<span class="string">'Corrector family not found in the model.'</span>);
+0064 <span class="keyword">end</span>
+0065 
+0066 
+0067 <span class="comment">% QUADRUPOLES</span>
+0068 <span class="keyword">try</span>
+0069     <span class="keyword">for</span> k = 1:10,
+0070         ifam = [<span class="string">'Q'</span> num2str(k)];
+0071         AO.(ifam).AT.ATType = <span class="string">'QUAD'</span>;
+0072         AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.(ifam));
+0073         AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0074     <span class="keyword">end</span>
+0075 <span class="keyword">catch</span>
+0076     warning(<span class="string">'%s family not found in the model.'</span>,ifam);
+0077 <span class="keyword">end</span>
+0078 
+0079 
+0080 <span class="comment">% SEXTUPOLES</span>
+0081 <span class="keyword">try</span>
+0082     <span class="keyword">for</span> k = 1:10,
+0083         ifam = [<span class="string">'S'</span> num2str(k)];
+0084         AO.(ifam).AT.ATType = <span class="string">'SEXT'</span>;
+0085         AO.(ifam).AT.ATIndex = buildatindex(AO.(ifam).FamilyName, Indices.(ifam));
+0086         AO.(ifam).Position = findspos(THERING, AO.(ifam).AT.ATIndex(:,1))';
+0087     <span class="keyword">end</span>
+0088 <span class="keyword">catch</span>
+0089     warning(<span class="string">'Sextupole families not found in the model.'</span>);
+0090 <span class="keyword">end</span>
+0091 
+0092 
+0093 <span class="comment">% BEND</span>
+0094 
+0095 <span class="keyword">try</span>
+0096     <span class="comment">% Combine BEND</span>
+0097     AO.BEND.AT.ATType = <span class="string">'BEND'</span>;
+0098     ATIndex = Indices.BEND(:);
+0099     AO.BEND.AT.ATIndex = buildatindex(AO.BEND.FamilyName, sort(ATIndex));
+0100     AO.BEND.Position = findspos(THERING, AO.BEND.AT.ATIndex(:,1))';
+0101 <span class="keyword">catch</span>
+0102     warning(<span class="string">'BEND family not found in the model.'</span>);
+0103 <span class="keyword">end</span>
+0104 
+0105 <span class="comment">% RF CAVITY</span>
+0106 <span class="keyword">try</span>
+0107     AO.RF.AT.ATType = <span class="string">'RF Cavity'</span>;
+0108     AO.RF.AT.ATIndex = findcells(THERING,<span class="string">'Frequency'</span>)';
+0109     AO.RF.Position = findspos(THERING, AO.RF.AT.ATIndex(:,1))';
+0110 <span class="keyword">catch</span>
+0111     warning(<span class="string">'RF cavity not found in the model.'</span>);
+0112 <span class="keyword">end</span>
+0113 
+0114 setao(AO);
+0115 
+0116 <span class="comment">% Set TwissData at the start of the storage ring</span>
+0117 <span class="keyword">try</span>
+0118 
+0119     <span class="comment">% BTS twiss parameters at the input</span>
+0120     TwissData.alpha = [0 0]';
+0121     TwissData.beta  = [13.8467 2.2582]';
+0122     TwissData.mu    = [0 0]';
+0123     TwissData.ClosedOrbit = [0 0 0 0]';
+0124     TwissData.dP = 0;
+0125     TwissData.dL = 0;
+0126     TwissData.Dispersion  = [.06 0 0 0]';
+0127 
+0128     setpvmodel(<span class="string">'TwissData'</span>, <span class="string">''</span>, TwissData);  <span class="comment">% Same as, THERING{1}.TwissData = TwissData;</span>
+0129 
+0130 <span class="keyword">catch</span>
+0131     warning(<span class="string">'Setting the twiss data parameters in the MML failed.'</span>);
+0132 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/amp2k.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/amp2k.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/amp2k.html	(revision 17)
@@ -0,0 +1,224 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of amp2k</title>
+  <meta name="keywords" content="amp2k">
+  <meta name="description" content="AMP2K - Converts amperes to simulator values">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; amp2k.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>amp2k
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>AMP2K - Converts amperes to simulator values</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">AMP2K - Converts amperes to simulator values
+  k = amp2k(Family, Field, Amps, DeviceList, Energy, Coefficients, K2AmpScaleFactor)
+    or
+  k = amp2k(Family, Field, Amps, DeviceList, Energy, MagnetCoreType, K2AmpScaleFactor)
+
+  Calculates the &quot;K-value&quot; from the coefficients (or MagnetCoreType), current [amps], energy, and linear scale factor
+
+  A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used
+  Amps and Coefficients must have equal number of rows or one must only have one row
+ INPUTS
+ 1. Family - Family Name
+ 2. Field  - Family Field (like 'Setpoint')
+ 3. Amps   - Ampere vector to convert
+ 4. DeviceList - Device list (Amps and DeviceList must have the same
+ number of rows)
+ 5. Energy - Energy in GeV {Default: getenergy}
+              If Energy is a vector, each output column will correspond to that energy.
+              Energy can be anything getenergy accepts, like 'Model' or 'Online'. 
+              (Note: If Energy is a vector, then Amps can only have 1
+              column)Family, Field, value(:,i), DeviceList, Energy, ParamsList{:}
+ 6. C - %  A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used
+  Amps and Coefficients must have equal number of rows or one must only
+  have one row
+ 7. K2AmpScaleFactor - linearly scales the input current:  Amps = Amps ./ K2AmpScaleFactor
+    This can be used to account for linear calibration errors of the power supply and magnet
+
+ OUTPUT
+ 1. K and B - K-value and field in AT convention
+    For dipole:      k = B / Brho
+    For quadrupole:  k = B'/ Brho
+    For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)
+
+  NOTES
+  1. If energy is not an input or empty, then the energy is obtained from getenergy.
+  2. Family and Field inputs are not used but there automatically part of the hw2physics call. 
+
+ See Also <a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a>, <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="listfonction.html" class="code" title="">listfonction</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)</a>
+0002 <span class="comment">%AMP2K - Converts amperes to simulator values</span>
+0003 <span class="comment">%  k = amp2k(Family, Field, Amps, DeviceList, Energy, Coefficients, K2AmpScaleFactor)</span>
+0004 <span class="comment">%    or</span>
+0005 <span class="comment">%  k = amp2k(Family, Field, Amps, DeviceList, Energy, MagnetCoreType, K2AmpScaleFactor)</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  Calculates the &quot;K-value&quot; from the coefficients (or MagnetCoreType), current [amps], energy, and linear scale factor</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used</span>
+0010 <span class="comment">%  Amps and Coefficients must have equal number of rows or one must only have one row</span>
+0011 <span class="comment">% INPUTS</span>
+0012 <span class="comment">% 1. Family - Family Name</span>
+0013 <span class="comment">% 2. Field  - Family Field (like 'Setpoint')</span>
+0014 <span class="comment">% 3. Amps   - Ampere vector to convert</span>
+0015 <span class="comment">% 4. DeviceList - Device list (Amps and DeviceList must have the same</span>
+0016 <span class="comment">% number of rows)</span>
+0017 <span class="comment">% 5. Energy - Energy in GeV {Default: getenergy}</span>
+0018 <span class="comment">%              If Energy is a vector, each output column will correspond to that energy.</span>
+0019 <span class="comment">%              Energy can be anything getenergy accepts, like 'Model' or 'Online'.</span>
+0020 <span class="comment">%              (Note: If Energy is a vector, then Amps can only have 1</span>
+0021 <span class="comment">%              column)Family, Field, value(:,i), DeviceList, Energy, ParamsList{:}</span>
+0022 <span class="comment">% 6. C - %  A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used</span>
+0023 <span class="comment">%  Amps and Coefficients must have equal number of rows or one must only</span>
+0024 <span class="comment">%  have one row</span>
+0025 <span class="comment">% 7. K2AmpScaleFactor - linearly scales the input current:  Amps = Amps ./ K2AmpScaleFactor</span>
+0026 <span class="comment">%    This can be used to account for linear calibration errors of the power supply and magnet</span>
+0027 <span class="comment">%</span>
+0028 <span class="comment">% OUTPUT</span>
+0029 <span class="comment">% 1. K and B - K-value and field in AT convention</span>
+0030 <span class="comment">%    For dipole:      k = B / Brho</span>
+0031 <span class="comment">%    For quadrupole:  k = B'/ Brho</span>
+0032 <span class="comment">%    For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)</span>
+0033 <span class="comment">%</span>
+0034 <span class="comment">%  NOTES</span>
+0035 <span class="comment">%  1. If energy is not an input or empty, then the energy is obtained from getenergy.</span>
+0036 <span class="comment">%  2. Family and Field inputs are not used but there automatically part of the hw2physics call.</span>
+0037 <span class="comment">%</span>
+0038 <span class="comment">% See Also k2amp, magnetcoefficients</span>
+0039 
+0040 <span class="comment">% ALGORITHM</span>
+0041 <span class="comment">%</span>
+0042 <span class="comment">% k = (c0 + c1*I + ... + cn*I^n)/Brho</span>
+0043 
+0044 <span class="comment">%</span>
+0045 <span class="comment">% Written by M. Yoon 4/8/03</span>
+0046 <span class="comment">% Adapted by Laurent S. Nadolski</span>
+0047 
+0048 <span class="keyword">if</span> nargin &lt; 4
+0049     error(<span class="string">'At least 4 inputs required'</span>);
+0050 <span class="keyword">end</span>
+0051 
+0052 <span class="keyword">if</span> nargin &lt; 6
+0053     C = [];
+0054 <span class="keyword">end</span>
+0055 <span class="keyword">if</span> isempty(C)
+0056     <span class="comment">%[C, Leff, MagnetName] = magnetcoefficients(Family);</span>
+0057     C = getfamilydata(Family, Field, <span class="string">'HW2PhysicsParams'</span>, DeviceList);
+0058     C = C{1};
+0059     <span class="comment">%Leff = getleff(Family, DeviceList(ii,:));</span>
+0060 <span class="keyword">end</span>
+0061 
+0062 <span class="keyword">if</span> nargin &lt; 5
+0063     Energy = [];
+0064 <span class="keyword">end</span>
+0065 <span class="keyword">if</span> isempty(Energy)
+0066     Energy = getenergy; <span class="comment">% like getenergy('Production')</span>
+0067 <span class="keyword">elseif</span> ischar(Energy)
+0068     Energy = getenergy(Energy);
+0069 <span class="keyword">end</span>
+0070 
+0071 
+0072 <span class="comment">% If Amps is a row vector make it a column vector</span>
+0073 Amps = Amps(:);
+0074 
+0075 <span class="comment">% Scale solution if required</span>
+0076 <span class="keyword">if</span> nargin &gt;= 7
+0077     Amps = Amps ./ K2AmpScaleFactor;
+0078 <span class="keyword">end</span>
+0079 
+0080 brho = getbrho(Energy);
+0081 
+0082 <span class="comment">% Compute polynomial expansion:  polynom = c0 + c1*I ...</span>
+0083 <span class="comment">% For dipole:      polynom = B  * Leff / I</span>
+0084 <span class="comment">% For quadrupole:  polynom = B' * Leff / I</span>
+0085 <span class="comment">% For sextupole:   polynom = B&quot; * Leff / I  (use AT unit /2 from MAD units)</span>
+0086 
+0087 <span class="comment">% polynom = (C(8)+C(7)*Amps+C(6)*Amps^2+C(5)*Amps^3+C(4)*Amps^4+C(3)*Amps^5+C(2)*Amps^6+C(1)*Amps^7)</span>
+0088 <span class="comment">% polynom = (c0+c1*Amps+c2*Amps^2+c3*Amps^3+c4*Amps^4+c5*Amps^5+c6*Amps^6+c7*Amps^7)</span>
+0089 
+0090 <span class="keyword">if</span> isstr(C)
+0091     TableLookUpFlag = 1;
+0092     MagnetCoreType = C;
+0093     [C, Leff, MagnetName] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType, Amps(1));
+0094     Amps0 = Amps(1);
+0095 <span class="keyword">else</span>
+0096     TableLookUpFlag = 0;
+0097 <span class="keyword">end</span>
+0098 
+0099 <span class="keyword">if</span> any(size(C,1) ~= length(Amps))
+0100     <span class="keyword">if</span> length(Amps) == 1
+0101         Amps = ones(size(C,1),1) * Amps;
+0102     <span class="keyword">elseif</span> size(C,1) == 1
+0103         <span class="comment">%C = ones(size(Amps,1),1) * C;</span>
+0104     <span class="keyword">else</span>
+0105         error(<span class="string">'Amps and Coefficients must have equal number of rows or one must only have one row'</span>);
+0106     <span class="keyword">end</span>
+0107 <span class="keyword">end</span>
+0108 
+0109 <span class="comment">% B, B', or B&quot; scaled by energy</span>
+0110 <span class="keyword">for</span> i = 1:length(Amps)
+0111     <span class="comment">% For piecewise tables, get a new polynomial</span>
+0112     <span class="keyword">if</span> TableLookUpFlag
+0113         <span class="keyword">if</span> Amps(i) ~= Amps0;
+0114             [C, Leff, MagnetName] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType, Amps(i));
+0115             Amps0 = Amps(i);
+0116         <span class="keyword">end</span>
+0117     <span class="keyword">end</span>
+0118     
+0119     <span class="keyword">if</span> size(C,1) == 1
+0120         k(i,1) = polyval(C, Amps(i)) / brho;
+0121     <span class="keyword">else</span>
+0122         k(i,1) = polyval(C(i,:), Amps(i)) / brho;
+0123     <span class="keyword">end</span>
+0124 <span class="keyword">end</span>
+0125 
+0126 
+0127 <span class="comment">% switch upper(deblank(MagnetName))</span>
+0128 <span class="comment">%     case 'BEND'</span>
+0129 <span class="comment">%         k = (Amps/brho)*polynom/Leff;   % B scaled by energy</span>
+0130 <span class="comment">%         %BLeff = Amps*polynom;</span>
+0131 <span class="comment">%         %B = BLeff/Leff;</span>
+0132 <span class="comment">%</span>
+0133 <span class="comment">%     case 'QUAD'</span>
+0134 <span class="comment">%         k = (Amps/brho)*polynom/Leff;   % B' scaled by energy</span>
+0135 <span class="comment">%         %BPrimeLeff = Amps*polynom;</span>
+0136 <span class="comment">%         %Bprime = BPrimeLeff/Leff;</span>
+0137 <span class="comment">%</span>
+0138 <span class="comment">%     case 'SEXT'</span>
+0139 <span class="comment">%         k = (Amps/brho)*polynom/Leff;   % B&quot; scaled by energy</span>
+0140 <span class="comment">%         %BPrimePrimeLeff = Amps*polynom;</span>
+0141 <span class="comment">%         %BPrimePrime = BPrimePrimeLeff/Leff;</span>
+0142 <span class="comment">% end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/Contents.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/Contents.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/Contents.html	(revision 17)
@@ -0,0 +1,50 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of Contents</title>
+  <meta name="keywords" content="Contents">
+  <meta name="description" content="ARCHIVING">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">archiving</a> &gt; Contents.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>Contents
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>ARCHIVING</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> ARCHIVING
+
+ Files
+   archiving_panel_mode   - M-file for archiving_panel_mode.fig
+   tango_archiving_config - M-file for tango_archiving_config.fig</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/archiving_panel_mode.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/archiving_panel_mode.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/archiving_panel_mode.html	(revision 17)
@@ -0,0 +1,507 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of archiving_panel_mode</title>
+  <meta name="keywords" content="archiving_panel_mode">
+  <meta name="description" content="ARCHIVING_PANEL_MODE M-file for archiving_panel_mode.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">archiving</a> &gt; archiving_panel_mode.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>archiving_panel_mode
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>ARCHIVING_PANEL_MODE M-file for archiving_panel_mode.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = archiving_panel_mode(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> ARCHIVING_PANEL_MODE M-file for archiving_panel_mode.fig
+      ARCHIVING_PANEL_MODE, by itself, creates a new ARCHIVING_PANEL_MODE or raises the existing
+      singleton*.
+
+      H = ARCHIVING_PANEL_MODE returns the handle to a new ARCHIVING_PANEL_MODE or the handle to
+      the existing singleton*.
+
+      ARCHIVING_PANEL_MODE('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in ARCHIVING_PANEL_MODE.M with the given input arguments.
+
+      ARCHIVING_PANEL_MODE('Property','Value',...) creates a new ARCHIVING_PANEL_MODE or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before archiving_panel_mode_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to archiving_panel_mode_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="tango_archiving_config.html" class="code" title="function varargout = tango_archiving_config(varargin)">tango_archiving_config</a>	TANGO_ARCHIVING_CONFIG M-file for tango_archiving_config.fig</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function archiving_panel_mode_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = archiving_panel_mode_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function checkbox_periodic_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function checkbox_absolute_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function checkbox_relative_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function checkbox_difference_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function pushbutton_OK_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function pushbutton_cancel_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function checkbox_grouped_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function popupmenu_exportwindow_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function popupmenu_exportwindow_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function popupmenu_keepingwindow_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function popupmenu_keepingwindow_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = archiving_panel_mode(varargin)</a>
+0002 <span class="comment">% ARCHIVING_PANEL_MODE M-file for archiving_panel_mode.fig</span>
+0003 <span class="comment">%      ARCHIVING_PANEL_MODE, by itself, creates a new ARCHIVING_PANEL_MODE or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = ARCHIVING_PANEL_MODE returns the handle to a new ARCHIVING_PANEL_MODE or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      ARCHIVING_PANEL_MODE('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in ARCHIVING_PANEL_MODE.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      ARCHIVING_PANEL_MODE('Property','Value',...) creates a new ARCHIVING_PANEL_MODE or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before archiving_panel_mode_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to archiving_panel_mode_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span>
+0024 
+0025 <span class="comment">% Edit the above text to modify the response to help archiving_panel_mode</span>
+0026 
+0027 <span class="comment">% Last Modified by GUIDE v2.5 18-Nov-2004 17:18:51</span>
+0028 
+0029 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0030 gui_Singleton = 1;
+0031 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0032                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0033                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction archiving_panel_mode_OpeningFcn(hObject, eventdata, handles, varargin)">archiving_panel_mode_OpeningFcn</a>, <span class="keyword">...</span>
+0034                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = archiving_panel_mode_OutputFcn(hObject, eventdata, handles)">archiving_panel_mode_OutputFcn</a>, <span class="keyword">...</span>
+0035                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0036                    <span class="string">'gui_Callback'</span>,   []);
+0037 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0038     gui_State.gui_Callback = str2func(varargin{1});
+0039 <span class="keyword">end</span>
+0040 
+0041 <span class="keyword">if</span> nargout
+0042     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">else</span>
+0044     gui_mainfcn(gui_State, varargin{:});
+0045 <span class="keyword">end</span>
+0046 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0047 
+0048 <span class="comment">%</span>
+0049 <span class="comment">% Written by Laurent S. Nadolski</span>
+0050 
+0051 
+0052 <span class="comment">% --- Executes just before archiving_panel_mode is made visible.</span>
+0053 <a name="_sub1" href="#_subfunctions" class="code">function archiving_panel_mode_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0054 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0055 <span class="comment">% hObject    handle to figure</span>
+0056 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0057 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0058 <span class="comment">% varargin   command line arguments to archiving_panel_mode (see VARARGIN)</span>
+0059 
+0060 <span class="comment">% Choose default command line output for archiving_panel_mode</span>
+0061 handles.output = hObject;
+0062 
+0063 <span class="comment">% keep track of whether OK was clicked, this will be used in the OutputFcn</span>
+0064 <span class="comment">% to determine whether to use the selected value</span>
+0065 
+0066 handles.mode.selection = {<span class="string">'0'</span>,<span class="string">'0'</span>,<span class="string">'0'</span>,<span class="string">'0'</span>}; 
+0067 
+0068 handles.mode.periodic.period     = <span class="string">'30'</span>; <span class="comment">%seconds</span>
+0069 
+0070 handles.mode.absolute.period     = <span class="string">'60'</span>; <span class="comment">%seconds</span>
+0071 handles.mode.absolute.upperlimit = <span class="string">'50'</span>; 
+0072 handles.mode.absolute.lowerlimit = <span class="string">'50'</span>;
+0073 
+0074 handles.mode.relative.period     = <span class="string">'60'</span>; <span class="comment">%seconds</span>
+0075 handles.mode.relative.upperlimit = <span class="string">'50'</span>;
+0076 handles.mode.relative.lowerlimit = <span class="string">'50'</span>;
+0077 
+0078 handles.mode.difference.period   = <span class="string">'3600'</span>; <span class="comment">%seconds</span>
+0079 
+0080 handles.mode.keepingwindow = <span class="string">'3600000'</span>; <span class="comment">%ms, here for 1h</span>
+0081 handles.mode.exportwindow  = <span class="string">'600000'</span>;  <span class="comment">%ms, here for 10 min</span>
+0082 handles.mode.grouped  = <span class="string">'0'</span>; <span class="comment">% 1: grouped, 0 ungrouped</span>
+0083 
+0084 <span class="comment">%% Case of no DB specified =&gt; force to HDB</span>
+0085 <span class="keyword">if</span> isempty(varargin)
+0086     disp(<span class="string">'No database specified: HDB by default'</span>)
+0087     handles.database = <span class="string">'HDB'</span>;
+0088 <span class="keyword">else</span>
+0089     handles.database = varargin{1};
+0090 <span class="keyword">end</span>
+0091 
+0092 <span class="keyword">if</span> strcmpi(handles.database,<span class="string">'TDB'</span>) <span class="comment">% convert to milliseconds</span>
+0093     handles.mode.periodic.period = <span class="string">'100'</span>; <span class="comment">%ms</span>
+0094     handles.mode.absolute.period = <span class="string">'1000'</span>; <span class="comment">%ms;</span>
+0095     handles.mode.relative.period = <span class="string">'1000'</span>; <span class="comment">%ms;</span>
+0096 <span class="keyword">end</span>
+0097 
+0098 <span class="comment">%% Load actual parameter if they exist</span>
+0099 <span class="keyword">if</span> size(varargin,2) == 2 &amp;&amp; isnumeric(varargin{2})
+0100     temp = varargin{2};
+0101     <span class="keyword">if</span> temp(1,1) <span class="comment">% if periodic</span>
+0102         handles.mode.selection{1} = <span class="string">'1'</span>;
+0103         handles.mode.periodic.period = num2str(temp(1,1)); <span class="comment">%seconds</span>
+0104     <span class="keyword">end</span>
+0105     <span class="keyword">if</span> temp(1,2) <span class="comment">% if absolute</span>
+0106         handles.mode.selection{2} = <span class="string">'1'</span>;
+0107         handles.mode.absolute.period = num2str(temp(1,2)); <span class="comment">%seconds</span>
+0108         handles.mode.absolute.upperlimit = num2str(temp(1,3));
+0109         handles.mode.absolute.lowerlimit = num2str(temp(1,4));
+0110     <span class="keyword">end</span>
+0111     <span class="keyword">if</span> temp(1,5) <span class="comment">% if relative</span>
+0112         handles.mode.selection{5} = <span class="string">'1'</span>;
+0113         handles.mode.relative.period     = num2str(temp(1,5)); <span class="comment">%seconds</span>
+0114         handles.mode.relative.upperlimit = num2str(temp(1,6));
+0115         handles.mode.relative.lowerlimit = num2str(temp(1,7));
+0116     <span class="keyword">end</span>
+0117 <span class="keyword">end</span>
+0118 
+0119 <span class="comment">%% Create export window menu</span>
+0120 list_export = {<span class="string">'5 secondes'</span>,<span class="string">'10 minutes'</span>};
+0121 set(handles.popupmenu_exportwindow,<span class="string">'String'</span>,list_export,<span class="string">'Value'</span>,2);
+0122 
+0123 <span class="comment">%% Create keeping window menu</span>
+0124 list_keeping = {<span class="string">'1 hour'</span>,<span class="string">'10 hours'</span>, <span class="string">'1 day'</span>};
+0125 set(handles.popupmenu_keepingwindow,<span class="string">'String'</span>,list_keeping,<span class="string">'Value'</span>,1);
+0126 
+0127 <span class="comment">%Checked already running modes</span>
+0128 <span class="keyword">if</span> str2double(handles.mode.selection{1})
+0129     set(handles.checkbox_periodic,<span class="string">'Value'</span>,1)
+0130 <span class="keyword">end</span>
+0131 <span class="keyword">if</span> str2double(handles.mode.selection{2})
+0132     set(handles.checkbox_absolute,<span class="string">'Value'</span>,1)
+0133 <span class="keyword">end</span>
+0134 <span class="keyword">if</span> str2double(handles.mode.selection{3})
+0135     set(handles.checkbox_relative,<span class="string">'Value'</span>,1)
+0136 <span class="keyword">end</span>
+0137 
+0138 <span class="comment">%% Default value for parameter group</span>
+0139 set(handles.checkbox_grouped,<span class="string">'Value'</span>,str2double(handles.mode.grouped));
+0140 
+0141 <span class="comment">% Update handles structure</span>
+0142 guidata(hObject, handles);
+0143 <span class="comment">% Update handles structure</span>
+0144 guidata(handles.figure1, handles);
+0145 
+0146 <span class="comment">% UIWAIT makes tango_archiving_config wait for user response (see UIRESUME)</span>
+0147 uiwait(handles.figure1);
+0148 
+0149 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0150 <a name="_sub2" href="#_subfunctions" class="code">function varargout = archiving_panel_mode_OutputFcn(hObject, eventdata, handles) </a>
+0151 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0152 <span class="comment">% hObject    handle to figure</span>
+0153 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0154 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0155 
+0156 <span class="comment">% Get default command line output from handles structure</span>
+0157 
+0158 <span class="comment">%% Returns archiving parameters</span>
+0159 varargout{1} = handles.mode;
+0160 
+0161 <span class="comment">% The figure can be deleted now</span>
+0162 delete(handles.figure1);
+0163 
+0164 <span class="comment">% --- Executes on button press in checkbox_periodic.</span>
+0165 <a name="_sub3" href="#_subfunctions" class="code">function checkbox_periodic_Callback(hObject, eventdata, handles)</a>
+0166 <span class="comment">% hObject    handle to checkbox_periodic (see GCBO)</span>
+0167 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0168 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0169 
+0170 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_periodic</span>
+0171 val = get(hObject,<span class="string">'Value'</span>);
+0172 
+0173 <span class="comment">% Build dialogbox inputs</span>
+0174 <span class="keyword">if</span> strcmpi(handles.database,<span class="string">'TDB'</span>)
+0175     timeformat = <span class="string">'ms'</span>;
+0176 <span class="keyword">else</span>
+0177     timeformat = <span class="string">'s'</span>;
+0178 <span class="keyword">end</span>
+0179 
+0180 prompt = {[<span class="string">'Enter period ('</span>,timeformat,<span class="string">')'</span>]};
+0181 name = <span class="string">'Input for periodic archiving'</span>;
+0182 numlines = 1;
+0183 defaultanswer = {handles.mode.periodic.period};
+0184 answer = inputdlg(prompt, name, numlines, defaultanswer);
+0185 
+0186 <span class="keyword">if</span> ~isempty(answer)
+0187     handles.mode.selection{1} = <span class="string">'1'</span>;
+0188     handles.mode.periodic.period = answer{1};
+0189 
+0190     <span class="comment">%% Force checkbox if mode is running</span>
+0191     set(handles.checkbox_periodic,<span class="string">'Value'</span>,1)
+0192 <span class="keyword">else</span>
+0193     disp(<span class="string">'No selection'</span>);
+0194     handles.mode.selection{1} = <span class="string">'0'</span>;
+0195 <span class="keyword">end</span>
+0196 
+0197 <span class="comment">% Update handles structure</span>
+0198 guidata(handles.figure1, handles);
+0199 
+0200 <span class="comment">% --- Executes on button press in checkbox_absolute.</span>
+0201 <a name="_sub4" href="#_subfunctions" class="code">function checkbox_absolute_Callback(hObject, eventdata, handles)</a>
+0202 <span class="comment">% hObject    handle to checkbox_absolute (see GCBO)</span>
+0203 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0204 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0205 
+0206 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_absolute</span>
+0207 
+0208 val = get(hObject,<span class="string">'Value'</span>);
+0209 
+0210 <span class="keyword">if</span> strcmpi(handles.database,<span class="string">'TDB'</span>)
+0211     timeformat = <span class="string">'ms'</span>;
+0212 <span class="keyword">else</span>
+0213     timeformat = <span class="string">'s'</span>;
+0214 <span class="keyword">end</span>
+0215 
+0216 <span class="comment">% Build dialogbox inputs</span>
+0217 prompt = {<span class="keyword">...</span>
+0218     [<span class="string">'Default period ('</span>,timeformat,<span class="string">')'</span>], <span class="keyword">...</span>
+0219     [<span class="string">'Relative period ('</span>,timeformat,<span class="string">')'</span>], <span class="keyword">...</span>
+0220     <span class="string">'Upper limit'</span>, <span class="keyword">...</span>
+0221     <span class="string">'Lower limit'</span>};
+0222 name = <span class="string">'Input for absolute archiving'</span>;
+0223 numlines = 1;
+0224 defaultanswer = {<span class="keyword">...</span>
+0225     handles.mode.periodic.period, <span class="keyword">...</span>
+0226     handles.mode.absolute.period, <span class="keyword">...</span>
+0227     handles.mode.absolute.lowerlimit, <span class="keyword">...</span>
+0228     handles.mode.absolute.upperlimit};
+0229 
+0230 answer = inputdlg(prompt, name, numlines, defaultanswer);
+0231 
+0232 <span class="keyword">if</span> ~isempty(answer)
+0233     <span class="comment">% Periodic part</span>
+0234     handles.mode.selection{1} = <span class="string">'1'</span>;
+0235     handles.mode.periodic.period = answer{1};
+0236     <span class="comment">% Absolute part</span>
+0237     handles.mode.selection{2} = <span class="string">'1'</span>;
+0238     handles.mode.absolute.period         = answer{2};
+0239     handles.mode.absolute.lowerlimit     = answer{3};
+0240     handles.mode.absolute.upperlimit     = answer{4};
+0241 
+0242     <span class="comment">%% Force checkbox if mode is running</span>
+0243     set(handles.checkbox_absolute,<span class="string">'Value'</span>,1)
+0244     set(handles.checkbox_periodic,<span class="string">'Value'</span>,1)
+0245 <span class="keyword">else</span>
+0246     disp(<span class="string">'No selection'</span>);
+0247     handles.mode.selection{2} = <span class="string">'0'</span>;
+0248 <span class="keyword">end</span>
+0249             
+0250 
+0251 <span class="comment">% Update handles structure</span>
+0252 guidata(handles.figure1, handles);
+0253 
+0254 
+0255 <span class="comment">% --- Executes on button press in checkbox_relative.</span>
+0256 <a name="_sub5" href="#_subfunctions" class="code">function checkbox_relative_Callback(hObject, eventdata, handles)</a>
+0257 <span class="comment">% hObject    handle to checkbox_relative (see GCBO)</span>
+0258 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0259 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0260 
+0261 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_relative</span>
+0262 
+0263 val = get(hObject,<span class="string">'Value'</span>);
+0264 
+0265 <span class="keyword">if</span> strcmpi(handles.database,<span class="string">'TDB'</span>)
+0266     timeformat = <span class="string">'ms'</span>;
+0267 <span class="keyword">else</span>
+0268     timeformat = <span class="string">'s'</span>;
+0269 <span class="keyword">end</span>
+0270 
+0271 <span class="comment">% Build dialogbox inputs</span>
+0272 prompt = {<span class="keyword">...</span>
+0273     [<span class="string">'Default period ('</span>,timeformat,<span class="string">')'</span>], <span class="keyword">...</span>
+0274     [<span class="string">'Relative period ('</span>,timeformat,<span class="string">')'</span>], <span class="keyword">...</span>
+0275     <span class="string">'Upper limit (%)'</span>, <span class="keyword">...</span>
+0276     <span class="string">'Lower limit (%)'</span>};
+0277 name = <span class="string">'Input for relative archiving'</span>;
+0278 numlines = 1;
+0279 defaultanswer = {<span class="keyword">...</span>
+0280     handles.mode.periodic.period, <span class="keyword">...</span>
+0281     handles.mode.relative.period, <span class="keyword">...</span>
+0282     handles.mode.relative.lowerlimit, <span class="keyword">...</span>
+0283     handles.mode.relative.upperlimit};
+0284 
+0285 answer = inputdlg(prompt, name, numlines, defaultanswer);
+0286 
+0287 <span class="keyword">if</span> ~isempty(answer)
+0288     <span class="comment">% Periodic part</span>
+0289     handles.mode.selection{1} = <span class="string">'1'</span>;
+0290     handles.mode.periodic.period = answer{1};
+0291     <span class="comment">% Relative mode part</span>
+0292     handles.mode.selection{3} = <span class="string">'1'</span>;
+0293     handles.mode.relative.period         = answer{2};
+0294     handles.mode.relative.upperlimit     = answer{3};
+0295     handles.mode.relative.lowerlimit     = answer{4};
+0296 
+0297     <span class="comment">%% Force checkbox if mode is running</span>
+0298     set(handles.checkbox_relative,<span class="string">'Value'</span>,1)
+0299     set(handles.checkbox_periodic,<span class="string">'Value'</span>,1)
+0300 <span class="keyword">else</span>
+0301     disp(<span class="string">'No selection'</span>);
+0302     handles.mode.selection{3} = <span class="string">'0'</span>;
+0303 <span class="keyword">end</span>
+0304 
+0305 <span class="comment">% Update handles structure</span>
+0306 guidata(handles.figure1, handles);
+0307 
+0308 
+0309 <span class="comment">% --- Executes on button press in checkbox_difference.</span>
+0310 <a name="_sub6" href="#_subfunctions" class="code">function checkbox_difference_Callback(hObject, eventdata, handles)</a>
+0311 <span class="comment">% hObject    handle to checkbox_difference (see GCBO)</span>
+0312 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0313 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0314 
+0315 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_difference</span>
+0316 
+0317 val = get(hObject,<span class="string">'Value'</span>);
+0318 
+0319 <span class="keyword">switch</span> val
+0320     <span class="keyword">case</span> 1
+0321         prompt = {<span class="string">'Default period (s)'</span>};
+0322         name = <span class="string">'Input for on difference archiving'</span>;
+0323         numlines = 1;
+0324         defaultanswer = {<span class="string">'3600'</span>};
+0325         answer = inputdlg(prompt, name, numlines, defaultanswer);
+0326         handles.mode.selection{4} = <span class="string">'1'</span>;
+0327         handles.mode.difference.defaultperiod  = answer(1);
+0328     <span class="keyword">otherwise</span>
+0329         disp(<span class="string">'No selection'</span>);
+0330 <span class="keyword">end</span>
+0331 
+0332 <span class="comment">% Update handles structure</span>
+0333 guidata(handles.figure1, handles);
+0334 
+0335 
+0336 <span class="comment">% --- Executes on button press in pushbutton_OK.</span>
+0337 <a name="_sub7" href="#_subfunctions" class="code">function pushbutton_OK_Callback(hObject, eventdata, handles)</a>
+0338 <span class="comment">% hObject    handle to pushbutton_OK (see GCBO)</span>
+0339 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0340 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0341 
+0342 uiresume(handles.figure1);
+0343 
+0344 <span class="comment">% --- Executes on button press in pushbutton_cancel.</span>
+0345 <a name="_sub8" href="#_subfunctions" class="code">function pushbutton_cancel_Callback(hObject, eventdata, handles)</a>
+0346 <span class="comment">% hObject    handle to pushbutton_cancel (see GCBO)</span>
+0347 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0348 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0349 
+0350 uiresume(handles.figure1);
+0351 handles.mode = -1;
+0352 
+0353 <span class="comment">% Update handles structure</span>
+0354 guidata(handles.figure1, handles);
+0355 
+0356 <span class="comment">% --- Executes on button press in checkbox_grouped.</span>
+0357 <a name="_sub9" href="#_subfunctions" class="code">function checkbox_grouped_Callback(hObject, eventdata, handles)</a>
+0358 <span class="comment">% hObject    handle to checkbox_grouped (see GCBO)</span>
+0359 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0360 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0361 
+0362 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_grouped</span>
+0363 
+0364 handles.mode.grouped = num2str(get(hObject,<span class="string">'Value'</span>));
+0365 
+0366 <span class="comment">% Update handles structure</span>
+0367 guidata(handles.figure1, handles);
+0368 
+0369 <span class="comment">% --- Executes on selection change in popupmenu_exportwindow.</span>
+0370 <a name="_sub10" href="#_subfunctions" class="code">function popupmenu_exportwindow_Callback(hObject, eventdata, handles)</a>
+0371 <span class="comment">% hObject    handle to popupmenu_exportwindow (see GCBO)</span>
+0372 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0373 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0374 
+0375 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_exportwindow contents as cell array</span>
+0376 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_exportwindow</span>
+0377 
+0378 contents = get(hObject,<span class="string">'String'</span>);
+0379 
+0380 <span class="comment">%% converts entree to milliseconds</span>
+0381 <span class="keyword">switch</span> contents{get(hObject,<span class="string">'Value'</span>)}
+0382     <span class="keyword">case</span> <span class="string">'5 seconds'</span>
+0383         handles.mode.exportwindow = <span class="string">'5000'</span>; <span class="comment">%ms</span>
+0384     <span class="keyword">case</span> <span class="string">'10 minutes'</span>
+0385         handles.mode.exportwindow = <span class="string">'600000'</span>; <span class="comment">%ms</span>
+0386 <span class="keyword">end</span>
+0387 
+0388 <span class="comment">% Update handles structure</span>
+0389 guidata(handles.figure1, handles);
+0390 
+0391 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0392 <a name="_sub11" href="#_subfunctions" class="code">function popupmenu_exportwindow_CreateFcn(hObject, eventdata, handles)</a>
+0393 <span class="comment">% hObject    handle to popupmenu_exportwindow (see GCBO)</span>
+0394 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0395 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0396 
+0397 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0398 <span class="comment">%       See ISPC and COMPUTER.</span>
+0399 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0400     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0401 <span class="keyword">end</span>
+0402 
+0403 
+0404 <span class="comment">% --- Executes on selection change in popupmenu_keepingwindow.</span>
+0405 <a name="_sub12" href="#_subfunctions" class="code">function popupmenu_keepingwindow_Callback(hObject, eventdata, handles)</a>
+0406 <span class="comment">% hObject    handle to popupmenu_keepingwindow (see GCBO)</span>
+0407 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0408 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0409 
+0410 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_keepingwindow contents as cell array</span>
+0411 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_keepingwindow</span>
+0412 
+0413 contents = get(hObject,<span class="string">'String'</span>);
+0414 
+0415 <span class="comment">%% converts entree to milliseconds</span>
+0416 <span class="keyword">switch</span> contents{get(hObject,<span class="string">'Value'</span>)}
+0417     <span class="keyword">case</span> <span class="string">'1 hour'</span>
+0418         handles.mode.keepingwindow = <span class="string">'3600000'</span>; <span class="comment">%ms</span>
+0419     <span class="keyword">case</span> <span class="string">'10 hours'</span>
+0420         handles.mode.keepingwindow = <span class="string">'36000000'</span>; <span class="comment">%ms</span>
+0421     <span class="keyword">case</span> <span class="string">'1 day'</span>
+0422         handles.mode.keepingwindow = <span class="string">'86400000'</span>; <span class="comment">%ms</span>
+0423 <span class="keyword">end</span>
+0424 
+0425 <span class="comment">% Update handles structure</span>
+0426 guidata(handles.figure1, handles);
+0427 
+0428 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0429 <a name="_sub13" href="#_subfunctions" class="code">function popupmenu_keepingwindow_CreateFcn(hObject, eventdata, handles)</a>
+0430 <span class="comment">% hObject    handle to popupmenu_keepingwindow (see GCBO)</span>
+0431 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0432 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0433 
+0434 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0435 <span class="comment">%       See ISPC and COMPUTER.</span>
+0436 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0437     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0438 <span class="keyword">end</span>
+0439 
+0440</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/arplot.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/arplot.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/arplot.html	(revision 17)
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of arplot</title>
+  <meta name="keywords" content="arplot">
+  <meta name="description" content="ARPLOT - Read data from archiving database">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">archiving</a> &gt; arplot.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>arplot
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>ARPLOT - Read data from archiving database</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function arplot(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">ARPLOT - Read data from archiving database
+
+  INPUTS
+  1. attribute name
+  2. starting date {now - 1 hour}
+  3. endind date {now}
+  4. {'HDB'} or 'TDB' : select database
+
+  EXAMPLES
+
+  1. read and plot all dose for the 10 hours 
+      arplot('CIGdose')
+  2. read and plot all dose between two dates
+     arplot('CIGrate', [], '30-09-2005 03:21:02', '30-09-2005 9:21:00')
+  3. read and plot for moniteur 1 and 4 in list see afterwards
+     arplot('CIGrate', [1;4], '30-09-2005 03:21:02', '30-09-2005 9:21:00')</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="arread.html" class="code" title="function Data = arread(varargin)">arread</a>	ARREAD - Read data from archiving database</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function arplot(varargin)</a>
+0002 <span class="comment">%ARPLOT - Read data from archiving database</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. attribute name</span>
+0006 <span class="comment">%  2. starting date {now - 1 hour}</span>
+0007 <span class="comment">%  3. endind date {now}</span>
+0008 <span class="comment">%  4. {'HDB'} or 'TDB' : select database</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">%  EXAMPLES</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  1. read and plot all dose for the 10 hours</span>
+0013 <span class="comment">%      arplot('CIGdose')</span>
+0014 <span class="comment">%  2. read and plot all dose between two dates</span>
+0015 <span class="comment">%     arplot('CIGrate', [], '30-09-2005 03:21:02', '30-09-2005 9:21:00')</span>
+0016 <span class="comment">%  3. read and plot for moniteur 1 and 4 in list see afterwards</span>
+0017 <span class="comment">%     arplot('CIGrate', [1;4], '30-09-2005 03:21:02', '30-09-2005 9:21:00')</span>
+0018 <span class="comment">%</span>
+0019 
+0020 <span class="comment">% LIN/RP/CIG.001</span>
+0021 <span class="comment">% LT1/RP/CIG.002</span>
+0022 <span class="comment">% BOO-C21/RP/CIG.003</span>
+0023 <span class="comment">% BOO-C04/RP/CIG.004</span>
+0024 <span class="comment">% BOO-C16/RP/CIG.007</span>
+0025 <span class="comment">% BOO-C13/RP/CIG.009</span>
+0026 <span class="comment">% BOO-C16/RP/CIG.010</span>
+0027 <span class="comment">% BOO-C16/RP/CIG.011</span>
+0028 <span class="comment">% BOO-C01/RP/CIG.012</span>
+0029 <span class="comment">% BOO-C12/RP/CIG.026</span>
+0030 <span class="comment">% BOO-C13/RP/CIG.027</span>
+0031 <span class="comment">% BOO-C14/RP/CIG.028</span>
+0032 <span class="comment">% BOO-C15/RP/CIG.029</span>
+0033 <span class="comment">% BOO-C16/RP/CIG.030</span>
+0034 <span class="comment">%</span>
+0035 
+0036 
+0037 <span class="comment">% See also arread</span>
+0038 
+0039 <span class="comment">% TODO: convertion to Physics units in 'Physics' asked</span>
+0040 <span class="comment">%       extract the attribute display units</span>
+0041 
+0042 <span class="comment">%</span>
+0043 <span class="comment">% Written by Laurent S. Nadolski</span>
+0044 
+0045 <span class="comment">%% Ask for data</span>
+0046 Data = <a href="arread.html" class="code" title="function Data = arread(varargin)">arread</a>(varargin{:});
+0047 
+0048 <span class="keyword">if</span> (isnumeric(Data.ardata) &amp;&amp; Data == -1) || (~isstruct(Data.ardata) &amp;&amp; Data == -1) <span class="keyword">...</span>
+0049         || isempty(Data.ardata(1).dvalue)
+0050     disp(<span class="string">'No data available'</span>)
+0051     <span class="keyword">return</span>;
+0052 <span class="keyword">end</span>
+0053 
+0054 <span class="comment">% Format for time conversion</span>
+0055 <span class="comment">%formatstr0 = 'yyyy-mm-dd HH:MM:SS';</span>
+0056 <span class="comment">% formatstr0 = 'dd-mm-yyyy HH:MM:SS';</span>
+0057 <span class="comment">%formatstr0 = 'dd-mmm-yyyy HH:MM:SS';</span>
+0058 formatstr = <span class="string">'HH:MM'</span>;
+0059 
+0060 figure
+0061 h = newplot;
+0062 <span class="comment">% set size</span>
+0063 set(gcf,<span class="string">'Position'</span>,[80 320 1200 620])
+0064 xlabel(<span class="string">'Time'</span>)
+0065 ylabel(<span class="string">'Attribut [Harware unit]'</span>);
+0066 hold on;
+0067 grid on;
+0068 
+0069 <span class="keyword">for</span> ik = 1:length(Data.TangoNames)
+0070     <span class="comment">% Time conversion</span>
+0071 <span class="comment">%      val_date = datenum(datestr(Data.ardata(ik).svalue), formatstr0);</span>
+0072      val_date = Data.ardata(ik).svalue;
+0073      plot(h,val_date,Data.ardata(ik).dvalue,<span class="string">'.-'</span>,<span class="string">'Color'</span>,nxtcolor);
+0074      datetick(<span class="string">'x'</span>,formatstr);
+0075 <span class="keyword">end</span>
+0076 
+0077 datalabel on;
+0078 
+0079 title([<span class="string">'Data extracted from '</span>, Data.database, <span class="string">' database'</span>]);
+0080 legend(Data.TangoNames,<span class="string">'Location'</span>,<span class="string">'EastOutside'</span>);
+0081 addlabel(1,0,[<span class="string">'Starting Date : '</span>,datestr(val_date(1),21),<span class="string">'  Ending Date : '</span>, datestr(val_date(end),21)]);
+0082</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/arread.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/arread.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/arread.html	(revision 17)
@@ -0,0 +1,274 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of arread</title>
+  <meta name="keywords" content="arread">
+  <meta name="description" content="ARREAD - Read data from archiving database">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">archiving</a> &gt; arread.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>arread
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>ARREAD - Read data from archiving database</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function Data = arread(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">ARREAD - Read data from archiving database
+
+  INPUTS
+  1. FAMILY attribute name or family name
+      If family, device list can be given, else [] (All) is assumed
+  2. starting date {now - 2 hours}
+  3. ending date {now}
+  4. {'HDB'} or 'TDB' : select database
+
+  OUPUTS
+  1. Data - output structure
+
+  EXAMPLES
+  1. arread('CH',1);
+  2. arread('CH');
+  3. arread('LT1/AE/CH.1/current')
+  4. arread('LT1/VI/PI55.1/pressure', '02-07-2005 03:21:02', '02-07-2005 20:21:00')
+  5. For all PI
+     arread('PI', [], '02-07-2005 03:21:02', '02-07-2005 20:21:00')
+ 
+  See Also <a href="arplot.html" class="code" title="function arplot(varargin)">arplot</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="arplot.html" class="code" title="function arplot(varargin)">arplot</a>	ARPLOT - Read data from archiving database</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Data = arread(varargin)</a>
+0002 <span class="comment">%ARREAD - Read data from archiving database</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. FAMILY attribute name or family name</span>
+0006 <span class="comment">%      If family, device list can be given, else [] (All) is assumed</span>
+0007 <span class="comment">%  2. starting date {now - 2 hours}</span>
+0008 <span class="comment">%  3. ending date {now}</span>
+0009 <span class="comment">%  4. {'HDB'} or 'TDB' : select database</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  OUPUTS</span>
+0012 <span class="comment">%  1. Data - output structure</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%  EXAMPLES</span>
+0015 <span class="comment">%  1. arread('CH',1);</span>
+0016 <span class="comment">%  2. arread('CH');</span>
+0017 <span class="comment">%  3. arread('LT1/AE/CH.1/current')</span>
+0018 <span class="comment">%  4. arread('LT1/VI/PI55.1/pressure', '02-07-2005 03:21:02', '02-07-2005 20:21:00')</span>
+0019 <span class="comment">%  5. For all PI</span>
+0020 <span class="comment">%     arread('PI', [], '02-07-2005 03:21:02', '02-07-2005 20:21:00')</span>
+0021 <span class="comment">%</span>
+0022 <span class="comment">%  See Also arplot</span>
+0023 
+0024 <span class="comment">%</span>
+0025 <span class="comment">% Written by Laurent S. Nadolski</span>
+0026 
+0027 <span class="comment">% Default parameters</span>
+0028 
+0029 AverageFlag = 0;
+0030 
+0031 <span class="comment">% Look for hdbextractor name in Tango Static DB</span>
+0032 extractor = cell2mat(tango_get_db_property(<span class="string">'archivage'</span>,<span class="string">'hdbextractor'</span>));
+0033 database  = <span class="string">'HDB'</span>;
+0034 
+0035 Field = <span class="string">'Monitor'</span>;
+0036 
+0037 <span class="comment">% WARNING this is the new format for date</span>
+0038 strformat = <span class="string">'dd-mm-yyyy HH:MM:SS'</span>; 
+0039 
+0040 date1 = datestr(now - 0.0417*12, strformat); <span class="comment">% now - 1 hours</span>
+0041 date2 = datestr(now, strformat); 
+0042 
+0043 <span class="comment">% Look if 'struct' or 'numeric' in on the input line</span>
+0044 InputFlags = {};
+0045 <span class="keyword">for</span> i = length(varargin):-1:1
+0046     <span class="keyword">if</span> isstruct(varargin{i})
+0047         <span class="comment">% Ignore structures</span>
+0048     <span class="keyword">elseif</span> iscell(varargin{i})
+0049         <span class="comment">% Ignore cells</span>
+0050     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'HDB'</span>)
+0051         extractor = cell2mat(tango_get_db_property(<span class="string">'archivage'</span>,<span class="string">'hdbextractor'</span>));
+0052         database = varargin{i};
+0053         varargin(i) = [];
+0054     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'TDB'</span>)
+0055         extractor = cell2mat(tango_get_db_property(<span class="string">'archivage'</span>,<span class="string">'tdbextractor'</span>));
+0056         database = varargin{i};
+0057         varargin(i) = [];
+0058     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Average'</span>)
+0059         AverageFlag = 1;
+0060         varargin(i) = [];
+0061     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoAverage'</span>)
+0062         AverageFlag = 0;
+0063         varargin(i) = [];
+0064     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Monitor'</span>)
+0065         Field = <span class="string">'Monitor'</span>;
+0066         varargin(i) = [];
+0067     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Setpoint'</span>)
+0068         Field = <span class="string">'Setpoint'</span>;
+0069         varargin(i) = [];
+0070     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Struct'</span>)
+0071         StructOutputFlag = 1;
+0072         varargin(i) = [];
+0073     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Physics'</span>)
+0074         UnitsFlag = <span class="string">'Physics'</span>;
+0075         InputFlags = [InputFlags varargin(i)];
+0076         varargin(i) = [];
+0077     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'hardware'</span>)
+0078         UnitsFlag = <span class="string">'Hardware'</span>;
+0079         InputFlags = [InputFlags varargin(i)];
+0080         varargin(i) = [];
+0081     <span class="keyword">end</span>
+0082 <span class="keyword">end</span>
+0083 
+0084 <span class="comment">%%%%%%%%%%%%%%</span>
+0085 <span class="comment">% INPUT PARSER</span>
+0086 <span class="comment">%%%%%%%%%%%%%%</span>
+0087 
+0088 Family = varargin{1};   
+0089 <span class="comment">%% check if family is valid and return it in AO</span>
+0090 [FamilyIndex, AO] = isfamily(Family);
+0091 
+0092 <span class="keyword">if</span> FamilyIndex
+0093     <span class="comment">%%%%%%%%%%%%%%%%</span>
+0094     <span class="comment">% FAMILY INPUT %</span>
+0095     <span class="comment">%%%%%%%%%%%%%%%%</span>
+0096     
+0097     <span class="comment">% DeviceList</span>
+0098     <span class="keyword">if</span> length(varargin) &gt; 1
+0099         DeviceList = varargin{2};
+0100     <span class="keyword">else</span>
+0101         DeviceList = family2dev(Family);     <span class="comment">% Default behavior comes from family2dev</span>
+0102     <span class="keyword">end</span>
+0103 
+0104     <span class="comment">%Convertion to TANGO name</span>
+0105     Family = family2tango(Family,Field,DeviceList);
+0106 
+0107     <span class="keyword">if</span> length(varargin) &gt; 2
+0108         <span class="comment">% starting date</span>
+0109         date1 = varargin{3};
+0110         <span class="keyword">if</span> length(varargin) &gt; 2
+0111             <span class="comment">%ending date</span>
+0112             date2 = varargin{4};
+0113         <span class="keyword">end</span>
+0114     <span class="keyword">end</span>
+0115 
+0116 <span class="keyword">elseif</span> isattribute(Family)
+0117     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%</span>
+0118     <span class="comment">% TANGO NAME INPUT %</span>
+0119     <span class="comment">%%%%%%%%%%%%%%%%%%%%%%</span>
+0120     <span class="keyword">if</span> length(varargin) &gt; 1
+0121         <span class="comment">% starting date</span>
+0122         date1 = varargin{2};
+0123         <span class="keyword">if</span> length(varargin) &gt; 2
+0124             <span class="comment">%ending date</span>
+0125             date2 = varargin{3};
+0126         <span class="keyword">end</span>
+0127     <span class="keyword">end</span>
+0128 <span class="keyword">else</span>
+0129     error(<span class="string">'%s is not a valid name\n'</span>,Family);
+0130 <span class="keyword">end</span>
+0131 
+0132 <span class="comment">%% For Bug in archiving</span>
+0133 <span class="comment">%attr_name = strcat('//ganymede.synchrotron-soleil.fr:20000/', Family);</span>
+0134 attr_name = Family;
+0135 
+0136 <span class="keyword">if</span> ~iscell(attr_name)
+0137     attr_name = {attr_name};
+0138 <span class="keyword">end</span>
+0139 
+0140 
+0141 <span class="comment">% dvalue : valeur</span>
+0142 <span class="comment">% svalue : date en format type 2004-12-05 16:08:07.969</span>
+0143 <span class="comment">% Import toutes les valeurs archivees entre deux dates</span>
+0144 <span class="keyword">if</span> ~AverageFlag
+0145     <span class="comment">%cmdName = 'GetAttDataBetweenDates';</span>
+0146     cmdName = <span class="string">'GetAttDataBetweenDatesSampling'</span>;
+0147     OPTION = <span class="string">'ALL'</span>;
+0148 <span class="keyword">else</span>
+0149     cmdName = <span class="string">'GetAttDataBetweenDatesSampling'</span>;
+0150     OPTION = <span class="string">'HOUR'</span>;
+0151 <span class="keyword">end</span>
+0152 
+0153 <span class="keyword">for</span> ik = 1:length(attr_name)
+0154     argin = {attr_name{ik}, date1, date2, OPTION};
+0155     <span class="comment">% get data for one attribute</span>
+0156     <span class="comment">%Data.ardata(ik) = tango_command_inout2(extractor,'GetAttDataBetweenDates',argin);</span>
+0157     rep{ik} = tango_command_inout2(extractor,cmdName, argin);
+0158 <span class="keyword">end</span>
+0159 
+0160 <span class="comment">% Refresh attribute list on extractor</span>
+0161 tango_close_device(extractor);
+0162 tango_open_device(extractor);
+0163 tango_set_timeout(extractor,30000);
+0164 
+0165 <span class="keyword">for</span> ik = 1:length(attr_name)
+0166     <span class="keyword">if</span> rep{ik}.lvalue ~= 0
+0167         <span class="comment">%sdata = tango_attribute_history(extractor,rep{ik}.svalue{1,:},double(rep{ik}.lvalue));</span>
+0168         <span class="keyword">if</span> ~iscell(rep{ik}.svalue{1}), rep{ik}.svalue{1} = {rep{ik}.svalue{1}}; <span class="keyword">end</span>
+0169         sdata = tango_attribute_history(extractor,rep{ik}.svalue{1}{:},double(rep{ik}.lvalue));
+0170         <span class="keyword">if</span> tango_error == -1
+0171             tango_print_error_stack;
+0172         <span class="keyword">end</span>
+0173         <span class="keyword">if</span> sdata(1).value.dim_x == 1
+0174             <span class="keyword">for</span> kk = 1:rep{ik}.lvalue,
+0175                 Data.ardata(ik).dvalue(kk) = sdata(kk).value.value;
+0176                 Data.ardata(ik).svalue(kk) = sdata(kk).value.time;
+0177             <span class="keyword">end</span>
+0178         <span class="keyword">else</span> <span class="comment">% for vectors</span>
+0179             <span class="keyword">for</span> kk = 1:rep{ik}.lvalue,
+0180                 Data.ardata(ik).dvalue(kk,:) = sdata(kk).value.value;
+0181                 Data.ardata(ik).svalue(kk,:) = sdata(kk).value.time;
+0182             <span class="keyword">end</span>
+0183         <span class="keyword">end</span>            
+0184        Data.ardata(ik).svalue = tango_shift_time(Data.ardata(ik).svalue);
+0185        tango_command_inout2(extractor,<span class="string">'RemoveDynamicAttribute'</span>,rep{ik}.svalue{1}{:});
+0186     <span class="keyword">else</span>
+0187         disp([mfilename <span class="string">': No Data for '</span> attr_name{ik}]);
+0188     <span class="keyword">end</span>
+0189     
+0190     <span class="comment">%tango_command_inout2(extractor,'RemoveDynamicAttribute',rep{ik}.svalue{2});</span>
+0191     <span class="comment">% If R/W attribute, ardata.dvalue = [readvalue setvalue]</span>
+0192     <span class="comment">% first shot : just keep readback data</span>
+0193 <span class="comment">%     len = length(Data.ardata(ik).svalue);</span>
+0194 <span class="comment">%     if len ~= length(Data.ardata(ik).dvalue)</span>
+0195 <span class="comment">%         Data.ardata(ik).dvalue = Data.ardata(ik).dvalue(1:len);</span>
+0196 <span class="comment">%     end</span>
+0197 <span class="keyword">end</span>
+0198 
+0199 Data.TangoNames = attr_name;
+0200 Data.start = date1;
+0201 Data.end   = date2;
+0202 Data.database = database;
+0203 
+0204 <span class="keyword">if</span>  ~isfield(Data,<span class="string">'ardata'</span>) ||  (~isstruct(Data.ardata) &amp;&amp; Data == -1) || isempty(Data.ardata(1).dvalue)
+0205     disp([mfilename <span class="string">'No data available'</span>]);
+0206     Data = -1;
+0207     <span class="keyword">return</span>;
+0208 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/exemple_extractor.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/exemple_extractor.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/exemple_extractor.html	(revision 17)
@@ -0,0 +1,234 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of exemple_extractor</title>
+  <meta name="keywords" content="exemple_extractor">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">archiving</a> &gt; exemple_extractor.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>exemple_extractor
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 dev=<span class="string">'archivage/tdbextractor/1'</span>
+0002 tango_ping(dev)
+0003 
+0004 tango_command_inout(dev,<span class="string">'GetHost'</span>)
+0005 attr_name = <span class="string">'//ganymede.synchrotron-soleil.fr:20000/LT1/AEsim/CH.3/current'</span>;
+0006 tango_command_inout2(dev,<span class="string">'GetArchivingMode'</span>,attr_name)
+0007 
+0008 <span class="comment">% Rappel: les commandes sont sensible aï¿œ la casse</span>
+0009 tango_command_inout2(dev,<span class="string">'IsArchived'</span>,attr_name)
+0010 
+0011 <span class="comment">%Proprietes d'un attribut (NON utile)</span>
+0012 tango_command_inout(dev,<span class="string">'GetAttPropertiesData'</span>,attr_name)
+0013 
+0014 <span class="comment">% Liste des attributs archives</span>
+0015 tango_command_inout(dev,<span class="string">'GetCurrentArchivedAtt'</span>)
+0016 
+0017 
+0018 <span class="comment">% Import toutes les valeurs archivees</span>
+0019 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarData'</span>,attr_name)
+0020 
+0021 <span class="comment">% Option une structure composee de 2 champs</span>
+0022 <span class="comment">% dvalue : valeur</span>
+0023 <span class="comment">% svalue : date en format type 2004-12-05 16:08:07.969</span>
+0024 
+0025 <span class="comment">% Import toutes les valeurs archivees entre deux dates</span>
+0026 date1 = <span class="string">'2004-12-05 14:00:00'</span>;
+0027 date2 = <span class="string">'2004-12-05 14:03:00'</span>;
+0028 argin = {attr_name, date1, date2};
+0029 
+0030 Data = tango_command_inout(dev,<span class="string">'GetAttScalarDataBeetweenDates'</span>,argin)
+0031 
+0032 
+0033 <span class="comment">% Import toutes les valeurs archivees entre 2 dates plus grande que valeur x</span>
+0034 date1 = <span class="string">'2004-12-05 16:00:00'</span>;
+0035 date2 = <span class="string">'2004-12-05 16:20:00'</span>;
+0036 valinf= <span class="string">'2'</span>;
+0037 argin = {attr_name, valinf, date1, date2};
+0038 
+0039 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataSupThanBeetweenDates'</span>,argin)
+0040 
+0041 
+0042 <span class="comment">% Import toutes les valeurs archivees entre 2 dates plus grande que valeur x</span>
+0043 date1 = <span class="string">'2004-12-05 16:00:00'</span>;
+0044 date2 = <span class="string">'2004-12-05 16:30:00'</span>;
+0045 valinf= <span class="string">'0'</span>;
+0046 valsup= <span class="string">'5'</span>;
+0047 argin = {attr_name, valinf, valsup, date1, date2};
+0048 
+0049 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataSupAndInfThanBeetweenDates'</span>,argin)
+0050 
+0051 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataSupThanBeetweenDates'</span>,argin)
+0052 <span class="comment">% Renvoi</span>
+0053 - ERROR 1
+0054         |-reason<span class="keyword">...</span><span class="comment">..API_CorbaException</span>
+0055         |-desc<span class="keyword">...</span><span class="comment">....UNKNOWN CORBA system exception</span>
+0056         |-origin<span class="keyword">...</span><span class="comment">..Connection::command_inout()</span>
+0057         |-severity<span class="keyword">...</span><span class="comment">Error (1)</span>
+0058 - ERROR 2
+0059         |-reason<span class="keyword">...</span><span class="comment">..API_CommunicationFailed</span>
+0060         |-desc<span class="keyword">...</span><span class="comment">....Failed to execute command_inout on device archivage/hdbextractor/1, command GetAttScalarDataSupThanBeetweenDates</span>
+0061         |-origin<span class="keyword">...</span><span class="comment">..Connection::command_inout()</span>
+0062         |-severity<span class="keyword">...</span><span class="comment">Error (1)</span>
+0063 - ERROR 3
+0064         |-reason<span class="keyword">...</span><span class="comment">..command_inout failed</span>
+0065         |-desc<span class="keyword">...</span><span class="comment">....failed to execute command_inout on archivage/hdbextractor/1</span>
+0066         |-origin<span class="keyword">...</span><span class="comment">..TangoBinding::command_inout</span>
+0067         |-severity<span class="keyword">...</span><span class="comment">Error (1)</span>
+0068 
+0069 Alors qu'il faudrait un diagnostic disant que le nombre d'argument n'est pas
+0070 bon.
+0071 
+0072 Semble vrai pour les autres commandes
+0073 
+0074 
+0075 <span class="comment">% Import toutes les valeurs archivees entre 2 dates plus grande que valsup et</span>
+0076 <span class="comment">% plus petite que valinf</span>
+0077 
+0078 date1 = <span class="string">'2004-12-05 16:00:00'</span>;
+0079 date2 = <span class="string">'2004-12-05 16:30:00'</span>;
+0080 valinf= <span class="string">'5'</span>;
+0081 valsup= <span class="string">'0'</span>;
+0082 argin = {attr_name, valinf, valsup, date1, date2};
+0083 
+0084 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataInfOrSupThanBeetweenDates'</span>,argin)
+0085 
+0086 
+0087 <span class="comment">% Import toutes les valeurs archivees entre 2 dates plus  petite que valinf</span>
+0088 
+0089 date1 = <span class="string">'2004-12-05 16:00:00'</span>;
+0090 date2 = <span class="string">'2004-12-05 16:30:00'</span>;
+0091 valinf= <span class="string">'4'</span>;
+0092 argin = {attr_name, valinf, date1, date2};
+0093 
+0094 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataInfThanBeetweenDates'</span>,argin)
+0095 
+0096 <span class="comment">% Import toutes les n dernieres valeurs archivees</span>
+0097 
+0098 valn = <span class="string">'10'</span>;
+0099 argin = {attr_name, valn};
+0100 
+0101 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataLastN'</span>,argin)
+0102 
+0103 
+0104 <span class="comment">% Import toutes les valeurs archivees plus  petites que valinf</span>
+0105 
+0106 valinf= <span class="string">'4'</span>;
+0107 argin = {attr_name, valinf};
+0108 
+0109 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataInfThan'</span>,argin)
+0110 
+0111 <span class="comment">% Import toutes les valeurs archivees plus grandes que valsup</span>
+0112 
+0113 valsup= <span class="string">'4'</span>;
+0114 argin = {attr_name, valsup};
+0115 
+0116 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataSupThan'</span>,argin)
+0117 
+0118 
+0119 <span class="comment">% Import toutes les valeurs archivees plus grandes que valsup</span>
+0120 
+0121 valinf= <span class="string">'2'</span>;
+0122 valsup= <span class="string">'5'</span>;
+0123 argin = {attr_name, valinf, valsup};
+0124 
+0125 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataSupAndInfThan'</span>,argin)
+0126 
+0127 <span class="comment">% Import la plus grande valeur archivee</span>
+0128 
+0129 argin = attr_name;
+0130 
+0131 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataMax'</span>,argin)
+0132 
+0133 <span class="comment">% Import la plus grande valeur moyenne</span>
+0134 
+0135 argin = attr_name;
+0136 
+0137 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataAvg'</span>,argin)
+0138 
+0139 <span class="comment">% Import la plus petite valeur archivee</span>
+0140 
+0141 argin = attr_name;
+0142 
+0143 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataMin'</span>,argin)
+0144 
+0145 <span class="comment">%Idem entre dates</span>
+0146 
+0147 date1 = <span class="string">'2004-12-05 16:00:00'</span>;
+0148 date2 = <span class="string">'2004-12-05 16:30:00'</span>;
+0149 argin = {attr_name, date1, date2};
+0150 
+0151 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataAvgBetweenDates'</span>,argin)
+0152 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataMinBetweenDates'</span>,argin)
+0153 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataMaxBetweenDates'</span>,argin)
+0154 
+0155 
+0156 <span class="comment">%Nombre des donnees archivees</span>
+0157 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataCount'</span>,attr_name)
+0158 
+0159 <span class="comment">%Nombre des donnees archivees entre deux dates</span>
+0160 date1 = <span class="string">'2004-12-05 16:00:00'</span>;
+0161 date2 = <span class="string">'2004-12-05 16:30:00'</span>;
+0162 argin = {attr_name, date1, date2};
+0163 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataBetweenDatesCount'</span>,argin)
+0164 
+0165 
+0166 <span class="comment">%Nombre des donnees archivees entre deux dates Sup aï¿œ x</span>
+0167 date1 = <span class="string">'2004-12-05 16:00:00'</span>;
+0168 date2 = <span class="string">'2004-12-05 16:30:00'</span>;
+0169 valinf = <span class="string">'4'</span>;
+0170 valsup = <span class="string">'6'</span>;
+0171 
+0172 argin = {attr_name, valinf, date1, date2};
+0173 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataSupThanBetweenDatesCount'</span>,argin)
+0174 
+0175 argin = {attr_name, valinf, valsup, date1, date2};
+0176 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataInfOrSupThanBetweenDatesCount'</span>,argin)
+0177 
+0178 argin = {attr_name, valinf, valsup, date1, date2};
+0179 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataSupAndInfThanBetweenDatesCount'</span>,argin)
+0180 
+0181 argin = {attr_name, valsup, date1, date2};
+0182 Data = tango_command_inout2(dev,<span class="string">'GetAttScalarDataInfThanBetweenDatesCount'</span>,argin)
+0183 
+0184 <span class="comment">%% Il faut se debarasser des millisecondes (PAS BESOIN !!!)</span>
+0185 <span class="comment">% et utiliser la commande de conversion en format numerique</span>
+0186 datenum(<span class="string">'2004-05-12 12:45:23'</span>,<span class="string">'yyyy-mm-dd HH:MM:SS'</span>)
+0187 datenum(Data.svalue,<span class="string">'yyyy-mm-dd HH:MM:SS'</span>);
+0188</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/index.html	(revision 17)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/archiving</title>
+  <meta name="keywords" content="machine/Soleil/common/archiving">
+  <meta name="description" content="Index for Directory machine/Soleil/common/archiving">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/archiving</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="Contents.html">Contents</a></td><td>ARCHIVING </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="archiving_panel_mode.html">archiving_panel_mode</a></td><td>ARCHIVING_PANEL_MODE M-file for archiving_panel_mode.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="arplot.html">arplot</a></td><td>ARPLOT - Read data from archiving database </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="arread.html">arread</a></td><td>ARREAD - Read data from archiving database </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="exemple_extractor.html">exemple_extractor</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="tango_archiving_config.html">tango_archiving_config</a></td><td>TANGO_ARCHIVING_CONFIG M-file for tango_archiving_config.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="tango_extract.html">tango_extract</a></td><td> </td></tr></table>
+
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/tango_archiving_config.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/tango_archiving_config.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/tango_archiving_config.html	(revision 17)
@@ -0,0 +1,978 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of tango_archiving_config</title>
+  <meta name="keywords" content="tango_archiving_config">
+  <meta name="description" content="TANGO_ARCHIVING_CONFIG M-file for tango_archiving_config.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">archiving</a> &gt; tango_archiving_config.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>tango_archiving_config
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>TANGO_ARCHIVING_CONFIG M-file for tango_archiving_config.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = tango_archiving_config(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> TANGO_ARCHIVING_CONFIG M-file for tango_archiving_config.fig
+      TANGO_ARCHIVING_CONFIG, by itself, creates a new TANGO_ARCHIVING_CONFIG or raises the existing
+      singleton*.
+
+      H = TANGO_ARCHIVING_CONFIG returns the handle to a new TANGO_ARCHIVING_CONFIG or the handle to
+      the existing singleton*.
+
+      TANGO_ARCHIVING_CONFIG('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in TANGO_ARCHIVING_CONFIG.M with the given input arguments.
+
+      TANGO_ARCHIVING_CONFIG('Property','Value',...) creates a new TANGO_ARCHIVING_CONFIG or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before tango_archiving_config_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to tango_archiving_config_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="archiving_panel_mode.html" class="code" title="function varargout = archiving_panel_mode(varargin)">archiving_panel_mode</a>	ARCHIVING_PANEL_MODE M-file for archiving_panel_mode.fig</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function tango_archiving_config_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = tango_archiving_config_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function popupmenu_group_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function popupmenu_group_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function popupmenu_attribute_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function popupmenu_attribute_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function argin = BuildArgin(fullTangoNames, mode, handles)</a></li><li><a href="#_sub9" class="code">function start_archiving(archivingmanager,command,argin,handles)</a></li><li><a href="#_sub10" class="code">function display_archiving_error(error,handles)</a></li><li><a href="#_sub11" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function listbox_group_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function listbox_group_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function listbox_property_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function listbox_property_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function checkbox_all_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function edit_value_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function edit_value_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function uimenu_linac_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function uimenu_LT1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function handles = init_uimenu(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function uimenu_booster_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function uimenu_LT2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function uimenu_anneau_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function hdbmenu_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function tdbmenu_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function Untitled_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function checkbox_loadbalancing_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function list = format_output_list(varargin)</a></li><li><a href="#_sub31" class="code">function listbox_group_ButtonDownFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function menu_file_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function savemenu_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function summarymenu_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function loadmenu_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = tango_archiving_config(varargin)</a>
+0002 <span class="comment">% TANGO_ARCHIVING_CONFIG M-file for tango_archiving_config.fig</span>
+0003 <span class="comment">%      TANGO_ARCHIVING_CONFIG, by itself, creates a new TANGO_ARCHIVING_CONFIG or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = TANGO_ARCHIVING_CONFIG returns the handle to a new TANGO_ARCHIVING_CONFIG or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      TANGO_ARCHIVING_CONFIG('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in TANGO_ARCHIVING_CONFIG.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      TANGO_ARCHIVING_CONFIG('Property','Value',...) creates a new TANGO_ARCHIVING_CONFIG or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before tango_archiving_config_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to tango_archiving_config_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span>
+0024 
+0025 <span class="comment">% Edit the above text to modify the response to help tango_archiving_config</span>
+0026 
+0027 <span class="comment">% Last Modified by GUIDE v2.5 07-Apr-2005 09:47:11</span>
+0028 
+0029 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0030 gui_Singleton = 1;
+0031 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0032     <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0033     <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction tango_archiving_config_OpeningFcn(hObject, eventdata, handles, varargin)">tango_archiving_config_OpeningFcn</a>, <span class="keyword">...</span>
+0034     <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = tango_archiving_config_OutputFcn(hObject, eventdata, handles)">tango_archiving_config_OutputFcn</a>, <span class="keyword">...</span>
+0035     <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0036     <span class="string">'gui_Callback'</span>,   []);
+0037 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0038     gui_State.gui_Callback = str2func(varargin{1});
+0039 <span class="keyword">end</span>
+0040 
+0041 <span class="keyword">if</span> nargout
+0042     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">else</span>
+0044     gui_mainfcn(gui_State, varargin{:});
+0045 <span class="keyword">end</span>
+0046 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0047 
+0048 <span class="comment">%</span>
+0049 <span class="comment">% Written by Laurent S. Nadolski</span>
+0050 
+0051 
+0052 <span class="comment">% --- Executes just before tango_archiving_config is made visible.</span>
+0053 <a name="_sub1" href="#_subfunctions" class="code">function tango_archiving_config_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0054 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0055 <span class="comment">% hObject    handle to figure</span>
+0056 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0057 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0058 <span class="comment">% varargin   command line arguments to tango_archiving_config (see VARARGIN)</span>
+0059 
+0060 <span class="comment">% Choose default command line output for tango_archiving_config</span>
+0061 handles.output = hObject;
+0062 
+0063 <span class="comment">% Update handles structure</span>
+0064 guidata(hObject, handles);
+0065 
+0066 <span class="comment">% UIWAIT makes tango_archiving_config wait for user response (see UIRESUME)</span>
+0067 <span class="comment">% uiwait(handles.figure1);</span>
+0068 
+0069 disp(<span class="string">'TANGO Archiving Configurator'</span>);
+0070 
+0071 <span class="comment">%% Look for archiving manager TANGO name in static Database</span>
+0072 archivingmanager = cell2mat(tango_get_db_property(<span class="string">'archivage'</span>,<span class="string">'archivingmanager'</span>));
+0073 tango_set_timeout(archivingmanager,30000);
+0074 
+0075 setappdata(handles.figure1,<span class="string">'archivingmanager'</span>, archivingmanager);
+0076 
+0077 <span class="comment">%% Initialize database {HDB} and machine {LT1}</span>
+0078 handles.database=<span class="string">'HDB'</span>;
+0079 guidata(hObject, handles);
+0080 
+0081 <a href="#_sub26" class="code" title="subfunction hdbmenu_Callback(hObject, eventdata, handles)">hdbmenu_Callback</a>(hObject, eventdata, handles);
+0082 <a href="#_sub24" class="code" title="subfunction uimenu_anneau_Callback(hObject, eventdata, handles)">uimenu_anneau_Callback</a>(handles.uimenu_LT1, eventdata, handles);
+0083 
+0084 <span class="comment">% Update handles structure</span>
+0085 guidata(hObject, handles);
+0086 
+0087 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0088 <a name="_sub2" href="#_subfunctions" class="code">function varargout = tango_archiving_config_OutputFcn(hObject, eventdata, handles)</a>
+0089 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0090 <span class="comment">% hObject    handle to figure</span>
+0091 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0092 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0093 
+0094 <span class="comment">% Get default command line output from handles structure</span>
+0095 varargout{1} = handles.output;
+0096 
+0097 <span class="comment">% --- Executes on selection change in popupmenu_group.</span>
+0098 <a name="_sub3" href="#_subfunctions" class="code">function popupmenu_group_Callback(hObject, eventdata, handles)</a>
+0099 <span class="comment">% hObject    handle to popupmenu_group (see GCBO)</span>
+0100 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0101 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0102 
+0103 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_group contents as cell array</span>
+0104 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_group</span>
+0105 
+0106 contents = get(hObject,<span class="string">'String'</span>);
+0107 num      = get(hObject,<span class="string">'Value'</span>);
+0108 group    = contents{num};
+0109 
+0110 setappdata(handles.figure1,<span class="string">'group'</span>, group);
+0111 
+0112 AO       = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0113 
+0114 <span class="comment">% Status one devices</span>
+0115 valid  = find(AO.(group).Status);
+0116 
+0117 <span class="comment">% Update Group list</span>
+0118 set(handles.listbox_group,<span class="string">'String'</span>,AO.(group).DeviceName(valid));
+0119 
+0120 set(handles.popupmenu_command,<span class="string">'BackgroundColor'</span>,<span class="string">'red'</span>);
+0121 
+0122 <span class="comment">% Builds up attribut list for selected group</span>
+0123 attributeList = tango_get_attribute_list(AO.(group).DeviceName{valid(1)});
+0124 
+0125 num = get(handles.popupmenu_attribute,<span class="string">'Value'</span>);
+0126 <span class="keyword">if</span> num &gt; length(attributeList)
+0127     num = 1;
+0128     set(handles.popupmenu_attribute,<span class="string">'Value'</span>,num);
+0129 <span class="keyword">end</span>
+0130 set(handles.popupmenu_attribute,<span class="string">'String'</span>,attributeList);
+0131 
+0132 <a href="#_sub5" class="code" title="subfunction popupmenu_attribute_Callback(hObject, eventdata, handles)">popupmenu_attribute_Callback</a>(handles.popupmenu_attribute, eventdata, handles);
+0133 
+0134 <span class="comment">%setback selected element and property to first one</span>
+0135 set(handles.listbox_property,<span class="string">'Value'</span>,1);
+0136 set(handles.listbox_group,<span class="string">'Value'</span>,1);
+0137 
+0138 
+0139 <span class="comment">% Update handles structure</span>
+0140 guidata(hObject, handles);
+0141 
+0142 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0143 <a name="_sub4" href="#_subfunctions" class="code">function popupmenu_group_CreateFcn(hObject, eventdata, handles)</a>
+0144 <span class="comment">% hObject    handle to popupmenu_group (see GCBO)</span>
+0145 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0146 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0147 
+0148 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0149 <span class="comment">%       See ISPC and COMPUTER.</span>
+0150 <span class="keyword">if</span> ispc
+0151     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0152 <span class="keyword">else</span>
+0153     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0154 <span class="keyword">end</span>
+0155 
+0156 
+0157 <span class="comment">% --- Executes on selection change in popupmenu_attribute.</span>
+0158 <a name="_sub5" href="#_subfunctions" class="code">function popupmenu_attribute_Callback(hObject, eventdata, handles)</a>
+0159 <span class="comment">% hObject    handle to popupmenu_attribute (see GCBO)</span>
+0160 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0161 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0162 
+0163 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_attribute contents as cell array</span>
+0164 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_attribute</span>
+0165 
+0166 contents  = get(hObject,<span class="string">'String'</span>);
+0167 num       = get(hObject,<span class="string">'Value'</span>);
+0168 attribute = contents{num};
+0169 
+0170 setappdata(handles.figure1,<span class="string">'attribute'</span>, attribute);
+0171 
+0172 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0173 <a name="_sub6" href="#_subfunctions" class="code">function popupmenu_attribute_CreateFcn(hObject, eventdata, handles)</a>
+0174 <span class="comment">% hObject    handle to popupmenu_attribute (see GCBO)</span>
+0175 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0176 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0177 
+0178 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0179 <span class="comment">%       See ISPC and COMPUTER.</span>
+0180 <span class="keyword">if</span> ispc
+0181     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0182 <span class="keyword">else</span>
+0183     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0184 <span class="keyword">end</span>
+0185 
+0186 
+0187 <span class="comment">% --- Executes on selection change in popupmenu_command.</span>
+0188 <a name="_sub7" href="#_subfunctions" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a>
+0189 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0190 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0191 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0192 
+0193 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array</span>
+0194 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_command</span>
+0195 
+0196 <span class="comment">%% Set color to Green</span>
+0197 set(handles.popupmenu_command,<span class="string">'BackgroundColor'</span>,<span class="string">'green'</span>);
+0198 
+0199 contents  = get(hObject,<span class="string">'String'</span>);
+0200 num       = get(hObject,<span class="string">'Value'</span>);
+0201 command  = contents{num};
+0202 
+0203 setappdata(handles.figure1,<span class="string">'command'</span>, command);
+0204 
+0205 group     = getappdata(handles.figure1,<span class="string">'group'</span>);
+0206 attribute = getappdata(handles.figure1,<span class="string">'attribute'</span>);
+0207 AO        = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0208 
+0209 <span class="comment">% Status one devices</span>
+0210 valid  = find(AO.(group).Status);
+0211 
+0212 <span class="comment">% Construct DeviceName/AttributName list</span>
+0213 <span class="comment">%host = getenv('TANGO_HOST'); %% TODO PAS PROPRE mais pour rester conforme avec archiving</span>
+0214 <span class="comment">%fullTangoNames = strcat('//',host,'/',AO.(group).DeviceName(valid), '/', attribute);</span>
+0215 fullTangoNames = strcat(AO.(group).DeviceName(valid), <span class="string">'/'</span>, attribute);
+0216 archivingmanager = getappdata(handles.figure1,<span class="string">'archivingmanager'</span>);
+0217 
+0218 <span class="keyword">if</span> (get(handles.checkbox_all,<span class="string">'Value'</span>) == 0)
+0219     <span class="comment">%% Get selected element</span>
+0220     idx = get(handles.listbox_property,<span class="string">'Value'</span>);
+0221     fullTangoNamesV = fullTangoNames(idx);
+0222 <span class="keyword">else</span> <span class="comment">% All the same</span>
+0223     fullTangoNamesV = fullTangoNames';
+0224 <span class="keyword">end</span>
+0225 
+0226 <span class="comment">% Select database</span>
+0227 <span class="keyword">switch</span> handles.database
+0228     <span class="keyword">case</span> <span class="string">'HDB'</span>
+0229         command = [command <span class="string">'Hdb'</span>];
+0230     <span class="keyword">case</span> <span class="string">'TDB'</span>
+0231         command = [command <span class="string">'Tdb'</span>];
+0232 <span class="keyword">end</span>
+0233 
+0234 <span class="comment">% switchyard on commands</span>
+0235 <span class="keyword">switch</span> command(1:end-3)
+0236     <span class="keyword">case</span> {<span class="string">'IsArchived'</span>} <span class="comment">% check archiving state</span>
+0237         argin = fullTangoNames';
+0238         list = tango_command_inout2(archivingmanager,command,argin)';
+0239         set(handles.listbox_property,<span class="string">'String'</span>,list);
+0240 
+0241     <span class="keyword">case</span> {<span class="string">'GetArchivingMode'</span>} <span class="comment">% Get archiving mode</span>
+0242         list = [];
+0243         <span class="keyword">for</span> k = 1:length(fullTangoNames)
+0244             argin = fullTangoNames{k};
+0245             answer = tango_command_inout2(archivingmanager,command,argin);
+0246             list = [list ; <a href="#_sub30" class="code" title="subfunction list = format_output_list(varargin)">format_output_list</a>(answer)];
+0247         <span class="keyword">end</span>
+0248 
+0249         <span class="comment">%% Format data for fast print out</span>
+0250         Name = strcat(AO.(group).DeviceName(valid), <span class="string">'/'</span>, attribute);
+0251         [n1 n2] = size(list);
+0252         Strcell = cell(n2+1,n1);
+0253         Strcell(<span class="keyword">end</span>,:) = Name;
+0254         Strcell(1:end-1,:) = num2cell(list');
+0255 
+0256         <span class="comment">%% TODO: location for file, check fopen is OK</span>
+0257         directory = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'Archiving'</span>);
+0258         filename = [directory <span class="string">'summarymodedata.txt'</span>];
+0259         <span class="comment">%filename = tempname;</span>
+0260         [fid message] = fopen(filename,<span class="string">'w'</span>);
+0261         <span class="keyword">if</span> fid == -1
+0262             message
+0263             <span class="keyword">return</span>;
+0264         <span class="keyword">end</span>
+0265 
+0266         fprintf(fid,[<span class="string">'# '</span>,handles.database <span class="string">' DATABASE: File generated on'</span> <span class="keyword">...</span>
+0267             <span class="string">' %s\n'</span>],datestr(now));
+0268         fprintf(fid,[<span class="string">'# Periodic Mode      Absolute Mode       '</span> <span class="keyword">...</span>
+0269             <span class="string">'  Relative Mode       TANGO attribute Name   \n'</span>]);
+0270         fprintf(fid,[<span class="string">'#      T(s)    T(s)     min      max     '</span> <span class="keyword">...</span>
+0271             <span class="string">'T(s)     min      max    \n'</span>]);
+0272         fprintf(fid,<span class="string">'    %7.1f %7.1f %8.2f %8.2f %7.1f %8.2f %8.2f  %s\n'</span>,Strcell{:});
+0273         fclose(fid);
+0274 
+0275         <span class="comment">% edit 'modedata.txt'</span>
+0276         <span class="keyword">if</span> isunix
+0277             system([<span class="string">'nedit '</span>, filename, <span class="string">' &amp;'</span>]);  <span class="comment">% much faster</span>
+0278 <span class="comment">%             eval(['edit ' filename])</span>
+0279         <span class="keyword">else</span>
+0280             eval([<span class="string">'edit '</span> filename])
+0281         <span class="keyword">end</span>
+0282 
+0283     <span class="keyword">case</span> {<span class="string">'ArchivingStart'</span>}<span class="comment">% Start archiving</span>
+0284 
+0285         <span class="comment">%% Selects archiving mode</span>
+0286         mode = <a href="archiving_panel_mode.html" class="code" title="function varargout = archiving_panel_mode(varargin)">archiving_panel_mode</a>(handles.database);
+0287                
+0288         <span class="keyword">if</span> isstruct(mode) <span class="comment">% means not canceled</span>
+0289             <span class="comment">%% Build up the argument for sIntermediatetarting archiving</span>
+0290             <span class="comment">%% Check for different modes selected by user</span>
+0291             argin = <a href="#_sub8" class="code" title="subfunction argin = BuildArgin(fullTangoNames, mode, handles)">BuildArgin</a>(fullTangoNamesV, mode,handles);
+0292             
+0293             <span class="keyword">if</span> isnumeric(argin) &amp;&amp; argin == -1
+0294                 disp(<span class="string">'No Archiving mode selected, does nothing'</span>);
+0295                 <span class="keyword">return</span>;
+0296             <span class="keyword">end</span>
+0297             
+0298             <a href="#_sub9" class="code" title="subfunction start_archiving(archivingmanager,command,argin,handles)">start_archiving</a>(archivingmanager,command,argin,handles);
+0299 
+0300             <span class="comment">%% Force a IsArchived call to check if everything as</span>
+0301             <span class="comment">%% expected</span>
+0302             set(handles.popupmenu_command,<span class="string">'Value'</span>,1);
+0303             <a href="#_sub7" class="code" title="subfunction popupmenu_command_Callback(hObject, eventdata, handles)">popupmenu_command_Callback</a>(hObject, eventdata, handles);
+0304         <span class="keyword">end</span>
+0305 
+0306     <span class="keyword">case</span> {<span class="string">'ArchivingStop'</span>}<span class="comment">% Stop archiving</span>
+0307         argin = fullTangoNamesV';
+0308         error = tango_command_inout2(archivingmanager,command,argin);
+0309         <a href="#_sub10" class="code" title="subfunction display_archiving_error(error,handles)">display_archiving_error</a>(error,handles);
+0310 
+0311         set(handles.popupmenu_command,<span class="string">'Value'</span>,1);
+0312         <a href="#_sub7" class="code" title="subfunction popupmenu_command_Callback(hObject, eventdata, handles)">popupmenu_command_Callback</a>(hObject, eventdata, handles);
+0313 
+0314     <span class="keyword">case</span> {<span class="string">'ArchivingModif'</span>}<span class="comment">% Get archiving mode</span>
+0315         list = []; <span class="comment">% clear list</span>
+0316         <span class="comment">% build list</span>
+0317         <span class="keyword">for</span> k = 1:length(fullTangoNamesV) <span class="comment">% length(fullTangoNames) % Get the first one if a list</span>
+0318             argin = fullTangoNamesV{k};
+0319             answer = tango_command_inout2(archivingmanager,[<span class="string">'GetArchivingMode'</span> command(end-2:end)],argin);
+0320             list = [list ; <a href="#_sub30" class="code" title="subfunction list = format_output_list(varargin)">format_output_list</a>(answer)];
+0321         <span class="keyword">end</span>
+0322 
+0323         <span class="comment">% Selects archiving mode</span>
+0324         <span class="comment">% List contains existing archiving modes to be modified</span>
+0325         mode = <a href="archiving_panel_mode.html" class="code" title="function varargout = archiving_panel_mode(varargin)">archiving_panel_mode</a>(handles.database,list);
+0326 
+0327         <span class="keyword">if</span> isstruct(mode) <span class="comment">% means not canceled</span>
+0328 
+0329             <span class="comment">%% Build up the argument for starting archiving</span>
+0330             <span class="comment">%% Check for different modes selected by user</span>
+0331             argin = <a href="#_sub8" class="code" title="subfunction argin = BuildArgin(fullTangoNames, mode, handles)">BuildArgin</a>(fullTangoNamesV, mode,handles);
+0332 
+0333             <a href="#_sub9" class="code" title="subfunction start_archiving(archivingmanager,command,argin,handles)">start_archiving</a>(archivingmanager,command,argin,handles);
+0334 
+0335             <span class="comment">%% Force a IsArchived call to check if everything as</span>
+0336             <span class="comment">%% expected</span>
+0337             set(handles.popupmenu_command,<span class="string">'Value'</span>,1);
+0338             <a href="#_sub7" class="code" title="subfunction popupmenu_command_Callback(hObject, eventdata, handles)">popupmenu_command_Callback</a>(hObject, eventdata, handles);
+0339         <span class="keyword">end</span>
+0340 
+0341     <span class="keyword">otherwise</span>
+0342         disp(<span class="string">'Command not implemented'</span>)
+0343 <span class="keyword">end</span>
+0344 
+0345 <span class="comment">% Update handles structure</span>
+0346 guidata(handles.figure1, handles);
+0347 
+0348 
+0349 <a name="_sub8" href="#_subfunctions" class="code">function argin = BuildArgin(fullTangoNames, mode, handles)</a>
+0350 <span class="comment">% Build up the argument for starting archiving</span>
+0351 <span class="comment">% Check for different modes selected by user</span>
+0352 
+0353 [temp ismodeselected] = findkeyword(mode.selection,<span class="string">'1'</span>);
+0354 <span class="keyword">if</span> ismodeselected == 0 <span class="comment">% no mode selected</span>
+0355     argin = -1;
+0356     <span class="keyword">return</span>;
+0357     
+0358 <span class="keyword">elseif</span> ismodeselected == 1 <span class="comment">% at least an archiving mode selected</span>
+0359     
+0360     <span class="comment">%Load balancing</span>
+0361     
+0362     <span class="comment">%% standard header</span>
+0363     <span class="comment">% 1. archiver name for load balancing feature</span>
+0364     <span class="comment">% 2. group feature true or false (not implemented to the end)</span>
+0365     <span class="keyword">switch</span> mode.grouped
+0366         <span class="keyword">case</span> <span class="string">'0'</span>
+0367             header = {<span class="string">'toto'</span>, <span class="string">'false'</span>};
+0368         <span class="keyword">case</span> <span class="string">'1'</span>
+0369             <span class="comment">% Force to flase since not yet implemented in matlab gui</span>
+0370             header = {<span class="string">'toto'</span>, <span class="string">'false'</span>};
+0371             <span class="comment">% header = {'toto', 'true'};</span>
+0372     <span class="keyword">end</span>
+0373     
+0374     <span class="comment">%% Not required fields set to default values</span>
+0375     <span class="comment">% 1. data type</span>
+0376     <span class="comment">% 2. data format</span>
+0377     <span class="comment">% 3. writable</span>
+0378     <span class="comment">% 4. device in charge</span>
+0379     <span class="comment">% 5. Trigger time</span>
+0380     
+0381     header_attribute = { <span class="string">'0'</span>, <span class="string">'0'</span>, <span class="string">'0'</span>, <span class="string">''</span>,<span class="string">'NULL'</span>};
+0382 
+0383     <span class="comment">% header length for each attribut</span>
+0384     <span class="comment">% depends on the mode selection</span>
+0385     len = 6;
+0386     len_mode = 0;
+0387     
+0388     <span class="comment">% number of attributes to archive</span>
+0389     nb = length(fullTangoNames);
+0390     
+0391     <span class="comment">% mode parametrization</span>
+0392     mode_P ={};
+0393     mode_A ={};
+0394     mode_R ={};
+0395     mode_string = {};
+0396 
+0397     <span class="keyword">if</span> str2double(mode.selection{1}) == 1 <span class="comment">%% Periodic mode</span>
+0398         len = len + 3;
+0399         len_mode = len_mode + 2;
+0400         <span class="keyword">if</span> strcmpi(handles.database,<span class="string">'HDB'</span>)
+0401             mode.periodic.period = [mode.periodic.period <span class="string">'000'</span>]; <span class="comment">% ms</span>
+0402         <span class="keyword">end</span>
+0403         mode_P = {<span class="string">'MODE_P'</span>, mode.periodic.period};
+0404     <span class="keyword">end</span>
+0405 
+0406     <span class="keyword">if</span> str2double(mode.selection{2}) == 1 <span class="comment">% Absolute mode</span>
+0407         len = len + 4;
+0408         len_mode = len_mode + 4;
+0409         <span class="keyword">if</span> strcmpi(handles.database,<span class="string">'HDB'</span>)
+0410             mode.absolute.period = [mode.absolute.period <span class="string">'000'</span>]; <span class="comment">% ms</span>
+0411         <span class="keyword">end</span>
+0412         mode_A = {<span class="string">'MODE_A'</span>, mode.absolute.period,<span class="keyword">...</span>
+0413             mode.absolute.lowerlimit, mode.absolute.upperlimit};
+0414     <span class="keyword">end</span>
+0415 
+0416     <span class="keyword">if</span> str2double(mode.selection{3}) == 1 <span class="comment">%Relative mode</span>
+0417         len = len + 4;
+0418         len_mode = len_mode + 4;
+0419         <span class="keyword">if</span> strcmpi(handles.database,<span class="string">'HDB'</span>)
+0420             mode.relative.period = [mode.relative.period <span class="string">'000'</span>]; <span class="comment">% ms</span>
+0421         <span class="keyword">end</span>
+0422         mode_R = {<span class="string">'MODE_R'</span>, mode.relative.period,<span class="keyword">...</span>
+0423             mode.relative.lowerlimit,mode.relative.upperlimit};
+0424     <span class="keyword">end</span>
+0425 
+0426     mode_string = {mode_P{:}, mode_R{:}, mode_A{:}};
+0427     
+0428     <span class="keyword">switch</span> handles.database <span class="comment">%% Select database</span>
+0429         <span class="keyword">case</span> <span class="string">'TDB'</span> <span class="comment">%% Intermediate DATABASE</span>
+0430             len = len +3;
+0431             len_mode = len_mode + 3;
+0432             mode_string = {mode_string{:}, <span class="string">'TDB_SPEC'</span>, <span class="keyword">...</span>
+0433                 mode.exportwindow, mode.keepingwindow};
+0434         <span class="keyword">case</span> <span class="string">'HDB'</span> <span class="comment">%% Historical DATABASE</span>
+0435             <span class="comment">% No extra arguments</span>
+0436     <span class="keyword">end</span>
+0437     
+0438     argin = header;
+0439     
+0440     <span class="comment">% loop over list of attributed to be archived</span>
+0441     <span class="keyword">for</span> k = 1:nb        
+0442         argin = {argin{:}, num2str(len), fullTangoNames{k}, <span class="keyword">...</span>
+0443             header_attribute{:}, num2str(len_mode), mode_string{:}};
+0444     <span class="keyword">end</span>
+0445      
+0446 <span class="keyword">end</span>
+0447 
+0448 <a name="_sub9" href="#_subfunctions" class="code">function start_archiving(archivingmanager,command,argin,handles)</a>
+0449 <span class="comment">% START_ARCHIVING - Start or modify an archiving</span>
+0450 <span class="comment">%</span>
+0451 <span class="comment">% INPUTS</span>
+0452 <span class="comment">% archivingmanager - TANGO name of the archiving manager</span>
+0453 <span class="comment">% command - start or modify archiving, could be</span>
+0454 <span class="comment">%         - ArchivingStart</span>
+0455 <span class="comment">%         - ArchivingModif</span>
+0456 <span class="comment">%         - ArchivingStartIntermediate</span>
+0457 <span class="comment">%         - ArchivingModifIntermediate</span>
+0458 <span class="comment">% argin - inputs arguments related to command (see archivingmanager doc )</span>
+0459 <span class="comment">%</span>
+0460 error = tango_command_inout2(archivingmanager,command,argin);
+0461 
+0462 <a href="#_sub10" class="code" title="subfunction display_archiving_error(error,handles)">display_archiving_error</a>(error,handles);
+0463 
+0464 <a name="_sub10" href="#_subfunctions" class="code">function display_archiving_error(error,handles)</a>
+0465 <span class="comment">%DISPLAY_ARCHIVING_ERROR - Display error reason</span>
+0466 <span class="comment">% Errorhandler</span>
+0467 <span class="comment">% See archivingmanager documentation for details</span>
+0468 
+0469 <span class="keyword">switch</span> error
+0470     <span class="keyword">case</span> 0
+0471         <span class="comment">%% start succeeded</span>
+0472         <span class="keyword">return</span>;
+0473     <span class="keyword">case</span> 1
+0474         disp(<span class="string">'All the given attribute already archiving process'</span>)
+0475     <span class="keyword">case</span> 2
+0476         disp(<span class="string">'start failed'</span>)
+0477     <span class="keyword">case</span> 3
+0478         <span class="comment">% stop succeeded</span>
+0479         <span class="keyword">return</span>;
+0480     <span class="keyword">case</span> 4
+0481         disp(<span class="string">'All giving attributs are not in archiving process'</span>);
+0482     <span class="keyword">case</span> 5
+0483         disp(<span class="string">'Stop failed'</span>);
+0484     <span class="keyword">case</span> 6
+0485         <span class="comment">%% Modif succeeded</span>
+0486         <span class="keyword">return</span>;
+0487     <span class="keyword">case</span> 7
+0488         disp(<span class="string">'All given attributes are not in historic archiving'</span>);
+0489     <span class="keyword">case</span> 8
+0490         disp(<span class="string">'modif failed'</span>);
+0491     <span class="keyword">case</span> 9
+0492         disp(<span class="string">'No running [H/T]dbArchiver'</span>)
+0493     <span class="keyword">case</span> 10
+0494         disp(<span class="string">'All the attribute do not exist in static DB'</span>)
+0495     <span class="keyword">case</span> 11
+0496         disp(<span class="string">'database not connected'</span>)
+0497     <span class="keyword">case</span> 12
+0498         disp(<span class="string">'device cannot talk to the database'</span>)
+0499     <span class="keyword">otherwise</span>
+0500         disp(<span class="string">'Unknown error'</span>)
+0501 <span class="keyword">end</span>
+0502 
+0503 warning([<span class="string">'Error with '</span>, handles.database,<span class="string">' database'</span>]);
+0504 
+0505 
+0506 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0507 <a name="_sub11" href="#_subfunctions" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a>
+0508 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0509 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0510 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0511 
+0512 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0513 <span class="comment">%       See ISPC and COMPUTER.</span>
+0514 <span class="keyword">if</span> ispc
+0515     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0516 <span class="keyword">else</span>
+0517     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0518 <span class="keyword">end</span>
+0519 
+0520 <span class="comment">% --- Executes on selection change in listbox_group.</span>
+0521 <a name="_sub12" href="#_subfunctions" class="code">function listbox_group_Callback(hObject, eventdata, handles)</a>
+0522 <span class="comment">% hObject    handle to listbox_group (see GCBO)</span>
+0523 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0524 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0525 
+0526 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_group contents as cell array</span>
+0527 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_group</span>
+0528 
+0529 set(handles.listbox_property,<span class="string">'Value'</span>,get(hObject,<span class="string">'Value'</span>));
+0530 set(handles.listbox_property,<span class="string">'ListboxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0531 
+0532 
+0533 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0534 <a name="_sub13" href="#_subfunctions" class="code">function listbox_group_CreateFcn(hObject, eventdata, handles)</a>
+0535 <span class="comment">% hObject    handle to listbox_group (see GCBO)</span>
+0536 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0537 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0538 
+0539 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0540 <span class="comment">%       See ISPC and COMPUTER.</span>
+0541 <span class="keyword">if</span> ispc
+0542     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0543 <span class="keyword">else</span>
+0544     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0545 <span class="keyword">end</span>
+0546 
+0547 
+0548 <span class="comment">% --- Executes on selection change in listbox_property.</span>
+0549 <a name="_sub14" href="#_subfunctions" class="code">function listbox_property_Callback(hObject, eventdata, handles)</a>
+0550 <span class="comment">% hObject    handle to listbox_property (see GCBO)</span>
+0551 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0552 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0553 
+0554 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_property contents as cell array</span>
+0555 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_property</span>
+0556 
+0557 set(handles.listbox_group,<span class="string">'Value'</span>, get(hObject,<span class="string">'Value'</span>));
+0558 set(handles.listbox_group,<span class="string">'ListboxTop'</span>, get(hObject,<span class="string">'ListboxTop'</span>));
+0559 
+0560 <span class="comment">%set(handles.edit_value,'String',contents{get(hObject,'Value')});</span>
+0561 
+0562 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0563 <a name="_sub15" href="#_subfunctions" class="code">function listbox_property_CreateFcn(hObject, eventdata, handles)</a>
+0564 <span class="comment">% hObject    handle to listbox_property (see GCBO)</span>
+0565 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0566 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0567 
+0568 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0569 <span class="comment">%       See ISPC and COMPUTER.</span>
+0570 <span class="keyword">if</span> ispc
+0571     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0572 <span class="keyword">else</span>
+0573     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0574 <span class="keyword">end</span>
+0575 
+0576 
+0577 <span class="comment">% --- Executes on button press in checkbox_all.</span>
+0578 <a name="_sub16" href="#_subfunctions" class="code">function checkbox_all_Callback(hObject, eventdata, handles)</a>
+0579 <span class="comment">% hObject    handle to checkbox_all (see GCBO)</span>
+0580 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0581 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0582 
+0583 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_all</span>
+0584 
+0585 <a name="_sub17" href="#_subfunctions" class="code">function edit_value_Callback(hObject, eventdata, handles)</a>
+0586 <span class="comment">% hObject    handle to edit_value (see GCBO)</span>
+0587 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0588 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0589 
+0590 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_value as text</span>
+0591 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_value as a double</span>
+0592 
+0593 value = get(hObject,<span class="string">'String'</span>);
+0594 
+0595 group     = getappdata(handles.figure1,<span class="string">'group'</span>);
+0596 attribute = getappdata(handles.figure1,<span class="string">'attribute'</span>);
+0597 property  = getappdata(handles.figure1,<span class="string">'property'</span>);
+0598 AO        = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0599 
+0600 <span class="comment">%% Status one devices</span>
+0601 valid  = find(AO.(group).Status);
+0602 
+0603 <span class="keyword">if</span> (get(handles.checkbox_all,<span class="string">'Value'</span>) == 0)
+0604     <span class="comment">%% Get selectedd element</span>
+0605     idx = get(handles.listbox_property,<span class="string">'Value'</span>);
+0606     tango_set_attribute_property(strcat(AO.(group).DeviceName{valid(idx)}, <span class="keyword">...</span>
+0607         <span class="string">'/'</span>,attribute),property, value)
+0608 <span class="keyword">else</span> <span class="comment">% All the same</span>
+0609     tango_set_attribute_property(strcat(AO.(group).DeviceName(valid), <span class="keyword">...</span>
+0610         <span class="string">'/'</span>,attribute),property, value)
+0611 <span class="keyword">end</span>
+0612 <span class="comment">%% Status one devices</span>
+0613 valid  = find(AO.(group).Status);
+0614 
+0615 <span class="comment">%% refresh display</span>
+0616 popupmenu_property_Callback(handles.popupmenu_command,eventdata, handles);
+0617 
+0618 
+0619 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0620 <a name="_sub18" href="#_subfunctions" class="code">function edit_value_CreateFcn(hObject, eventdata, handles)</a>
+0621 <span class="comment">% hObject    handle to edit_value (see GCBO)</span>
+0622 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0623 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0624 
+0625 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0626 <span class="comment">%       See ISPC and COMPUTER.</span>
+0627 <span class="keyword">if</span> ispc
+0628     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0629 <span class="keyword">else</span>
+0630     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0631 <span class="keyword">end</span>
+0632 
+0633 
+0634 <span class="comment">% --------------------------------------------------------------------</span>
+0635 <a name="_sub19" href="#_subfunctions" class="code">function uimenu_linac_Callback(hObject, eventdata, handles)</a>
+0636 <span class="comment">% hObject    handle to uimenu_linac (see GCBO)</span>
+0637 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0638 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0639 
+0640 <a href="#_sub21" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0641 
+0642 <span class="comment">% --------------------------------------------------------------------</span>
+0643 <a name="_sub20" href="#_subfunctions" class="code">function uimenu_LT1_Callback(hObject, eventdata, handles)</a>
+0644 <span class="comment">% hObject    handle to uimenu_LT1 (see GCBO)</span>
+0645 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0646 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0647 
+0648 <span class="keyword">if</span> ~strcmpi(getsubmachinename, <span class="string">'LT1'</span>)
+0649     LT1init;
+0650 <span class="keyword">end</span>
+0651 handles = <a href="#_sub21" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0652 <span class="comment">% Update handles structure</span>
+0653 guidata(hObject, handles);
+0654 
+0655 <span class="comment">%%%--------------------------------------------------------------------</span>
+0656 <a name="_sub21" href="#_subfunctions" class="code">function handles = init_uimenu(hObject, eventdata, handles)</a>
+0657 
+0658 setappdata(handles.figure1,<span class="string">'AO'</span>, getao);
+0659 
+0660 <span class="comment">%% Checked box</span>
+0661 all = findobj(get(hObject,<span class="string">'Parent'</span>),<span class="string">'Type'</span>,<span class="string">'UImenu'</span>);
+0662 set(all, <span class="string">'Checked'</span>, <span class="string">'Off'</span>);
+0663 set(hObject, <span class="string">'Checked'</span>, <span class="string">'On'</span>);
+0664 
+0665 <span class="comment">%% Initializes popupmenu w/ first element, first attribute, first property</span>
+0666 listgroup = findmemberof(<span class="string">'Archivable'</span>);
+0667 
+0668 set(handles.popupmenu_group,<span class="string">'String'</span>,listgroup);
+0669 setappdata(handles.figure1,<span class="string">'group'</span>, listgroup{1});
+0670 
+0671 <a href="#_sub3" class="code" title="subfunction popupmenu_group_Callback(hObject, eventdata, handles)">popupmenu_group_Callback</a>(handles.popupmenu_group, eventdata, handles);
+0672 
+0673 <span class="comment">%% Initializes command popup menu w/ list of archivingmanager available</span>
+0674 <span class="comment">%% commands</span>
+0675 <span class="comment">% res = tango_command_list_query(archivingmanager);</span>
+0676 <span class="comment">% listcmd = {res.cmd_name};</span>
+0677 listcmd = {<span class="string">'IsArchived'</span>,<span class="string">'GetArchivingMode'</span>, <span class="string">'ArchivingStart'</span>, <span class="keyword">...</span>
+0678     <span class="string">'ArchivingStop'</span>,<span class="string">'ArchivingModif'</span>};
+0679 set(handles.popupmenu_command,<span class="string">'String'</span>,listcmd);
+0680 value = find(strcmp(listcmd,<span class="string">'IsArchived'</span>));
+0681 set(handles.popupmenu_command,<span class="string">'Value'</span>,value);
+0682 setappdata(handles.figure1,<span class="string">'command'</span>, value);
+0683 
+0684 <span class="comment">% --------------------------------------------------------------------</span>
+0685 <a name="_sub22" href="#_subfunctions" class="code">function uimenu_booster_Callback(hObject, eventdata, handles)</a>
+0686 <span class="comment">% hObject    handle to uimenu_booster (see GCBO)</span>
+0687 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0688 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0689 
+0690 <span class="keyword">if</span> ~strcmpi(getsubmachinename, <span class="string">'Booster'</span>)
+0691     boosterinit
+0692 <span class="keyword">end</span>
+0693 <a href="#_sub21" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0694 
+0695 <span class="comment">% --------------------------------------------------------------------</span>
+0696 <a name="_sub23" href="#_subfunctions" class="code">function uimenu_LT2_Callback(hObject, eventdata, handles)</a>
+0697 <span class="comment">% hObject    handle to uimenu_LT2 (see GCBO)</span>
+0698 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0699 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0700 
+0701 <span class="keyword">if</span> ~strcmpi(getsubmachinename, <span class="string">'LT2'</span>)
+0702    LT2init;
+0703 <span class="keyword">end</span>
+0704 <a href="#_sub21" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0705 
+0706 <span class="comment">% --------------------------------------------------------------------</span>
+0707 <a name="_sub24" href="#_subfunctions" class="code">function uimenu_anneau_Callback(hObject, eventdata, handles)</a>
+0708 <span class="comment">% hObject    handle to uimenu_anneau (see GCBO)</span>
+0709 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0710 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0711 
+0712 <span class="keyword">if</span> ~strcmpi(getsubmachinename, <span class="string">'StorageRing'</span>) 
+0713     soleilinit;
+0714 <span class="keyword">end</span>
+0715 <a href="#_sub21" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0716 
+0717 <span class="comment">% --------------------------------------------------------------------</span>
+0718 <a name="_sub25" href="#_subfunctions" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a>
+0719 <span class="comment">% hObject    handle to Untitled_1 (see GCBO)</span>
+0720 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0721 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0722 
+0723 
+0724 <span class="comment">% --------------------------------------------------------------------</span>
+0725 <a name="_sub26" href="#_subfunctions" class="code">function hdbmenu_Callback(hObject, eventdata, handles)</a>
+0726 <span class="comment">% hObject    handle to menuhdb (see GCBO)</span>
+0727 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0728 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0729 set(handles.hdbmenu,<span class="string">'checked'</span>,<span class="string">'On'</span>);
+0730 set(handles.tdbmenu,<span class="string">'checked'</span>,<span class="string">'Off'</span>);
+0731 handles.database=<span class="string">'HDB'</span>;
+0732 set(handles.mainuipanel,<span class="string">'Title'</span>,<span class="string">'TANGO HDB Configurator'</span>, <span class="keyword">...</span>
+0733     <span class="string">'ForegroundColor'</span>,[0, 0.5, 0]);
+0734 <span class="comment">% Update handles structure</span>
+0735 guidata(hObject, handles);
+0736 
+0737 <span class="comment">% --------------------------------------------------------------------</span>
+0738 <a name="_sub27" href="#_subfunctions" class="code">function tdbmenu_Callback(hObject, eventdata, handles)</a>
+0739 <span class="comment">% hObject    handle to tdbmenu (see GCBO)</span>
+0740 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0741 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0742 set(handles.tdbmenu,<span class="string">'checked'</span>,<span class="string">'On'</span>);
+0743 set(handles.hdbmenu,<span class="string">'checked'</span>,<span class="string">'Off'</span>);
+0744 handles.database=<span class="string">'TDB'</span>;
+0745 set(handles.mainuipanel,<span class="string">'Title'</span>,<span class="string">'TANGO TDB Configurator'</span>,<span class="string">'ForegroundColor'</span>,<span class="string">'b'</span>);
+0746 <span class="comment">% Update handles structure</span>
+0747 guidata(hObject, handles);
+0748 
+0749 <span class="comment">% --------------------------------------------------------------------</span>
+0750 <a name="_sub28" href="#_subfunctions" class="code">function Untitled_2_Callback(hObject, eventdata, handles)</a>
+0751 <span class="comment">% hObject    handle to Untitled_2 (see GCBO)</span>
+0752 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0753 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0754 
+0755 
+0756 <span class="comment">% --- Executes on button press in checkbox_loadbalancing.</span>
+0757 <a name="_sub29" href="#_subfunctions" class="code">function checkbox_loadbalancing_Callback(hObject, eventdata, handles)</a>
+0758 <span class="comment">% hObject    handle to checkbox_loadbalancing (see GCBO)</span>
+0759 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0760 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0761 
+0762 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_loadbalancing</span>
+0763 
+0764 <a name="_sub30" href="#_subfunctions" class="code">function list = format_output_list(varargin)</a>
+0765 
+0766 cellarray = varargin{:};
+0767 
+0768 list = zeros(1,7);
+0769 
+0770 <span class="comment">% Periodical mode: just get archiving period</span>
+0771 [cellarray index] = findkeyword2(cellarray,<span class="string">'MODE_P'</span>);
+0772 <span class="keyword">if</span> index ~= 0
+0773     list(1) = str2double(cellarray(index))/1e3; <span class="comment">% seconds</span>
+0774 <span class="keyword">end</span>
+0775 
+0776 <span class="comment">% Absolute mode: just get archiving period and variation limits</span>
+0777 [cellarray index] = findkeyword2(cellarray,<span class="string">'MODE_A'</span>);
+0778 <span class="keyword">if</span> index ~= 0
+0779     list(2) = str2double(cellarray(index))/1e3; <span class="comment">% seconds</span>
+0780     list(3) = str2double(cellarray(index+1)); <span class="comment">% decreasing variation (%)</span>
+0781     list(4) = str2double(cellarray(index+2)); <span class="comment">% increasing variation (%)</span>
+0782 <span class="keyword">end</span>
+0783 
+0784 <span class="comment">% Relative mode: just get archiving period and variation limits</span>
+0785 [cellarray index] = findkeyword2(cellarray,<span class="string">'MODE_R'</span>);
+0786 <span class="keyword">if</span> index ~= 0
+0787     list(5) = str2double(cellarray(index))/1e3; <span class="comment">% seconds</span>
+0788     list(6) = str2double(cellarray(index+1)); <span class="comment">% decreasing variation (%)</span>
+0789     list(7) = str2double(cellarray(index+2)); <span class="comment">% increasing variation (%)</span>
+0790 <span class="keyword">end</span>
+0791 
+0792 
+0793 <span class="comment">% --- If Enable == 'on', executes on mouse press in 5 pixel border.</span>
+0794 <span class="comment">% --- Otherwise, executes on mouse press in 5 pixel border or over listbox_group.</span>
+0795 <a name="_sub31" href="#_subfunctions" class="code">function listbox_group_ButtonDownFcn(hObject, eventdata, handles)</a>
+0796 <span class="comment">% hObject    handle to listbox_group (see GCBO)</span>
+0797 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0798 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0799 
+0800 <span class="comment">%% TODO: works only if right button pressed</span>
+0801 <span class="comment">%       do not know how to do for left button</span>
+0802 val = get(handles.listbox_group,<span class="string">'Value'</span>);
+0803 set(handles.listbox_property,<span class="string">'Value'</span>,val);
+0804 
+0805 
+0806 <span class="comment">% --------------------------------------------------------------------</span>
+0807 <a name="_sub32" href="#_subfunctions" class="code">function menu_file_Callback(hObject, eventdata, handles)</a>
+0808 <span class="comment">% hObject    handle to menu_file (see GCBO)</span>
+0809 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0810 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0811 
+0812 
+0813 <span class="comment">% --------------------------------------------------------------------</span>
+0814 <a name="_sub33" href="#_subfunctions" class="code">function savemenu_Callback(hObject, eventdata, handles)</a>
+0815 <span class="comment">% hObject    handle to savemenu (see GCBO)</span>
+0816 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0817 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0818 
+0819 <a href="#_sub34" class="code" title="subfunction summarymenu_Callback(hObject, eventdata, handles)">summarymenu_Callback</a>(hObject, eventdata, handles);
+0820 directory = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'Archiving'</span>);
+0821 filename1 = [directory appendtimestamp(<span class="string">'config'</span>)];
+0822 filename0 = [directory <span class="string">'config.dat'</span>];
+0823 copyfile(filename0,filename1);
+0824 
+0825 <span class="comment">% --------------------------------------------------------------------</span>
+0826 <a name="_sub34" href="#_subfunctions" class="code">function summarymenu_Callback(hObject, eventdata, handles)</a>
+0827 <span class="comment">% hObject    handle to summarymenu (see GCBO)</span>
+0828 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0829 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0830 
+0831 AO        = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0832 archivingmanager = getappdata(handles.figure1,<span class="string">'archivingmanager'</span>);
+0833 
+0834 <span class="comment">%grouplist = intersect(findmemberof('Magnet'),findmemberof('Archivable'));</span>
+0835 grouplist = findmemberof(<span class="string">'Archivable'</span>);
+0836 
+0837 <span class="comment">% get database name</span>
+0838 <span class="keyword">switch</span> handles.database
+0839     <span class="keyword">case</span> <span class="string">'HDB'</span>
+0840         dbName = <span class="string">'Hdb'</span>;
+0841     <span class="keyword">case</span> <span class="string">'TDB'</span>
+0842         dbName = <span class="string">'Tdb'</span>;
+0843 <span class="keyword">end</span>
+0844 
+0845 directory = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'Archiving'</span>);
+0846 <span class="comment">%filename = [directory appendtimestamp('config')];</span>
+0847 filename = [directory <span class="string">'config.dat'</span>];
+0848 fid = fopen(filename,<span class="string">'w'</span>);
+0849 
+0850 fprintf(fid,[<span class="string">'# '</span>,handles.database <span class="string">' DATABASE: File generated on'</span> <span class="keyword">...</span>
+0851     <span class="string">' %s\n'</span>],datestr(now));
+0852 fprintf(fid,[<span class="string">'# Periodic Mode      Absolute Mode       '</span> <span class="keyword">...</span>
+0853     <span class="string">'  Relative Mode       TANGO attribute Name   \n'</span>]);
+0854 fprintf(fid,[<span class="string">'#      T(s)    T(s)     min      max     '</span> <span class="keyword">...</span>
+0855     <span class="string">'T(s)     min      max    \n'</span>]);
+0856 
+0857 <span class="keyword">for</span> k1 = 1:length(grouplist),
+0858     <span class="comment">% loop of group of devices</span>
+0859     <span class="comment">%get attribut list</span>
+0860     <span class="comment">% Status one devices</span>
+0861     valid  = find(AO.(grouplist{k1}).Status);
+0862 
+0863     <span class="keyword">for</span> k2 = 1:length(valid)
+0864         <span class="comment">% loop over devices</span>
+0865         <span class="comment">% Builds up attribut list for selected groups</span>
+0866         attributeList = tango_get_attribute_list(AO.(grouplist{k1}).DeviceName{valid(k2)});
+0867         <span class="keyword">for</span> k3 = 1:length(attributeList),
+0868             <span class="comment">% loop over attributes</span>
+0869             <span class="comment">%check if archived</span>
+0870             <span class="keyword">try</span>
+0871                 argin = strcat(AO.(grouplist{k1}).DeviceName(valid(k2)), <span class="string">'/'</span>, attributeList{k3});
+0872                 arstatus = tango_command_inout2(archivingmanager,[<span class="string">'IsArchived'</span> dbName], argin);
+0873             <span class="keyword">catch</span>
+0874                 fprintf(<span class="string">'Erreur with attribute %s\n Action aborted \n'</span>, attributeList{k3});
+0875                 <span class="keyword">return</span>;
+0876             <span class="keyword">end</span>
+0877             <span class="keyword">if</span> arstatus
+0878                 <span class="comment">%get Archiving modes</span>
+0879                 answer = tango_command_inout2(archivingmanager,[<span class="string">'GetArchivingMode'</span> dbName], argin{:});
+0880                 list = <a href="#_sub30" class="code" title="subfunction list = format_output_list(varargin)">format_output_list</a>(answer);
+0881 
+0882                 <span class="comment">%% Format data for fast print out</span>
+0883 <span class="comment">%                 Name = strcat(AO.(groupLIST(k1)).DeviceName(valid(k2)), '/', attributelist{k3});</span>
+0884                 Name = argin;
+0885                 [n1 n2] = size(list);
+0886                 Strcell = cell(n2+1,n1);
+0887                 Strcell(<span class="keyword">end</span>,:) = Name;
+0888                 Strcell(1:end-1,:) = num2cell(list');
+0889                 fprintf(fid,<span class="string">'    %7.1f %7.1f %8.2f %8.2f %7.1f %8.2f %8.2f  %s\n'</span>,Strcell{:});
+0890             <span class="keyword">end</span>
+0891         <span class="keyword">end</span>
+0892     <span class="keyword">end</span>
+0893 <span class="keyword">end</span>
+0894 
+0895 fclose(fid);
+0896 
+0897 <span class="comment">% show file</span>
+0898 <span class="keyword">if</span> isunix
+0899     system([<span class="string">'nedit '</span>, filename, <span class="string">' &amp;'</span>]);  <span class="comment">% much faster</span>
+0900 <span class="keyword">else</span>
+0901     eval([<span class="string">'edit '</span> filename])
+0902 <span class="keyword">end</span>
+0903 
+0904 
+0905 <span class="comment">% --------------------------------------------------------------------</span>
+0906 <a name="_sub35" href="#_subfunctions" class="code">function loadmenu_Callback(hObject, eventdata, handles)</a>
+0907 <span class="comment">% hObject    handle to loadmenu (see GCBO)</span>
+0908 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0909 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0910 
+0911 disp(<span class="string">'Not implemented yet'</span>)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/tango_extract.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/tango_extract.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/tango_extract.html	(revision 17)
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of tango_extract</title>
+  <meta name="keywords" content="tango_extract">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">archiving</a> &gt; tango_extract.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>tango_extract
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 dev=<span class="string">'archivage/hdbextractor/1'</span>
+0002 tango_ping(dev)
+0003 
+0004 attr_name = <span class="string">'//ganymede.synchrotron-soleil.fr:20000/LT1/AEsim/CH.3/current'</span>;
+0005 <span class="comment">% Option une structure composee de 2 champs</span>
+0006 <span class="comment">% dvalue : valeur</span>
+0007 <span class="comment">% svalue : date en format type 2004-12-05 16:08:07.969</span>
+0008 
+0009 <span class="comment">% Import toutes les valeurs archivees entre deux dates</span>
+0010 date1 = <span class="string">'2004-12-05 14:00:00'</span>;
+0011 date2 = datestr(now,<span class="string">'yyyy-mm-dd HH:MM:SS'</span>);
+0012 argin = {attr_name, date1, date2};
+0013 
+0014 Data = tango_command_inout(dev,<span class="string">'GetAttScalarDataBeetweenDates'</span>,argin)
+0015 
+0016 formatstr0 = <span class="string">'yyyy-mm-dd HH:MM:SS'</span>;
+0017 formatstr = <span class="string">'HH:MM'</span>;
+0018 
+0019 datenum(<span class="string">'2004-05-12 12:45:23'</span>, formatstr0);
+0020 val_date = datenum(Data.svalue, formatstr0);
+0021 
+0022 plot(val_date,Data.dvalue,<span class="string">'.-'</span>);
+0023 legend(attr_name)
+0024 grid on
+0025 datetick(<span class="string">'x'</span>,formatstr)
+0026 
+0027 valN = val_date - datenum(date1, formatstr0);
+0028 plot(valN/60/60,Data.dvalue,<span class="string">'.-'</span>);
+0029</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/todo.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/todo.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/archiving/todo.html	(revision 17)
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>To Do List for machine/Soleil/common/archiving</title>
+  <meta name="keywords" content="todo, to do, list, machine/Soleil/common/archiving">
+  <meta name="description" content="To Do List for machine/Soleil/common/archiving">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/archiving&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>
+<h1>To Do List for machine/Soleil/common/archiving</h1>
+<h2>arplot:</h2>
+<ul>
+		<li><a href="arplot.html#l38">line 38: </a> convertion to Physics units in 'Physics' asked</li>	</ul><hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/bend2gev.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/bend2gev.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/bend2gev.html	(revision 17)
@@ -0,0 +1,303 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of bend2gev</title>
+  <meta name="keywords" content="bend2gev">
+  <meta name="description" content="BEND2GEV - Compute the energy based on the ramp tables">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; bend2gev.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>bend2gev
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>BEND2GEV - Compute the energy based on the ramp tables</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [GeV B] = bend2gev(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">BEND2GEV - Compute the energy based on the ramp tables
+ GeV = bend2gev(Family, Field, Amps, DeviceList, BranchFlag)
+
+  INPUTS
+  1. Bend - Bend magnet family {Optional}
+  2. Field - Field {Optional}
+  3. Amps - Bend magnet current
+  4. DeviceList - Bend magnet device list to reference energy to {Default: BEND(1,1)}
+  5. BranchFlag - 1 -&gt; Lower branch
+                  2 -&gt; Upper branch {Default}
+                  Not working at Spear yet, since there isn't any magnet measurements on hysteresis
+
+  OUTPUTS
+  1. GeV - Electron beam energy [GeV]
+  2. B - B-field [T]
+
+  ALGORYTHM
+  theta = BL/Brho
+
+  See Also <a href="bend2gev.html" class="code" title="function [GeV B] = bend2gev(varargin)">bend2gev</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="listfonction.html" class="code" title="">listfonction</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [GeV B] = bend2gev(varargin)</a>
+0002 <span class="comment">%BEND2GEV - Compute the energy based on the ramp tables</span>
+0003 <span class="comment">% GeV = bend2gev(Family, Field, Amps, DeviceList, BranchFlag)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. Bend - Bend magnet family {Optional}</span>
+0007 <span class="comment">%  2. Field - Field {Optional}</span>
+0008 <span class="comment">%  3. Amps - Bend magnet current</span>
+0009 <span class="comment">%  4. DeviceList - Bend magnet device list to reference energy to {Default: BEND(1,1)}</span>
+0010 <span class="comment">%  5. BranchFlag - 1 -&gt; Lower branch</span>
+0011 <span class="comment">%                  2 -&gt; Upper branch {Default}</span>
+0012 <span class="comment">%                  Not working at Spear yet, since there isn't any magnet measurements on hysteresis</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%  OUTPUTS</span>
+0015 <span class="comment">%  1. GeV - Electron beam energy [GeV]</span>
+0016 <span class="comment">%  2. B - B-field [T]</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%  ALGORYTHM</span>
+0019 <span class="comment">%  theta = BL/Brho</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  See Also bend2gev</span>
+0022 
+0023 
+0024 <span class="comment">%</span>
+0025 <span class="comment">%  Written by Gregory J. Portmann</span>
+0026 <span class="comment">%  Modify by Laurent S. Nadolski</span>
+0027 
+0028 <span class="comment">% TODO Need BLeff = function of the dipole current</span>
+0029 
+0030 <span class="comment">% Default</span>
+0031 Family = <span class="string">''</span>;
+0032 Field = <span class="string">''</span>;
+0033 Amps = [];
+0034 DeviceList = [];
+0035 BranchFlag = [];
+0036 
+0037 ModeFlag = <span class="string">''</span>;  <span class="comment">% model, online, manual</span>
+0038 UnitsFlag = <span class="string">''</span>; <span class="comment">% hardware, physics</span>
+0039 <span class="keyword">for</span> i = length(varargin):-1:1
+0040     <span class="keyword">if</span> isstruct(varargin{i})
+0041         <span class="comment">% Ignor structures</span>
+0042     <span class="keyword">elseif</span> iscell(varargin{i})
+0043         <span class="comment">% Ignor cells</span>
+0044     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Struct'</span>)
+0045         varargin(i) = [];
+0046     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Numeric'</span>)
+0047         varargin(i) = [];
+0048     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Physics'</span>)
+0049         UnitsFlag = <span class="string">'Physics'</span>;
+0050         varargin(i) = [];
+0051     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Hardware'</span>)
+0052         UnitsFlag = <span class="string">'Hardware'</span>;
+0053         varargin(i) = [];
+0054     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Simulator'</span>) || strcmpi(varargin{i},<span class="string">'Model'</span>)
+0055         ModeFlag = varargin{i};
+0056         varargin(i) = [];
+0057     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Online'</span>)
+0058         ModeFlag = varargin{i};
+0059         varargin(i) = [];
+0060     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Manual'</span>)
+0061         ModeFlag = varargin{i};
+0062         varargin(i) = [];
+0063     <span class="keyword">end</span>        
+0064 <span class="keyword">end</span>
+0065 
+0066 
+0067 <span class="keyword">if</span> length(varargin) &gt;= 1
+0068     <span class="keyword">if</span> ischar(varargin{1})
+0069         Family = varargin{1};
+0070         varargin(1) = [];
+0071     <span class="keyword">else</span>
+0072         Amps = varargin{1};
+0073         varargin(1) = [];
+0074         <span class="keyword">if</span> length(varargin) &gt;= 1
+0075             DeviceList = varargin{1};
+0076             varargin(1) = [];
+0077         <span class="keyword">end</span>
+0078         <span class="keyword">if</span> length(varargin) &gt;= 1
+0079             BranchFlag = varargin{1};
+0080             varargin(1:end) = [];
+0081         <span class="keyword">end</span>
+0082     <span class="keyword">end</span>
+0083 <span class="keyword">end</span>
+0084 <span class="keyword">if</span> length(varargin) &gt;= 1 &amp; ischar(varargin{1})
+0085     Field = varargin{1};
+0086     varargin(1) = [];
+0087 <span class="keyword">end</span>
+0088 <span class="keyword">if</span> length(varargin) &gt;= 1
+0089     Amps = varargin{1};
+0090     varargin(1) = [];
+0091 <span class="keyword">end</span>
+0092 <span class="keyword">if</span> length(varargin) &gt;= 1
+0093     DeviceList = varargin{1};
+0094     varargin(1) = [];
+0095 <span class="keyword">end</span>
+0096 <span class="keyword">if</span> length(varargin) &gt;= 1
+0097     BranchFlag = varargin{1};
+0098     varargin(1) = [];
+0099 <span class="keyword">end</span>
+0100 
+0101 
+0102 <span class="keyword">if</span> isempty(Family)
+0103     Family = <span class="string">'BEND'</span>;
+0104 <span class="keyword">end</span>
+0105 <span class="keyword">if</span> isempty(ModeFlag)
+0106     ModeFlag = getmode(Family);
+0107 <span class="keyword">end</span>
+0108 
+0109 <span class="keyword">if</span> isempty(Field)
+0110     Field = <span class="string">'Setpoint'</span>;
+0111 <span class="keyword">end</span>
+0112 <span class="keyword">if</span> isempty(DeviceList)
+0113     DeviceList = family2dev(Family);
+0114     <span class="keyword">if</span> all(size(Amps)==[1 1]) | isempty(Amps)
+0115         DeviceList = DeviceList(1,:);
+0116     <span class="keyword">end</span>
+0117 <span class="keyword">end</span>
+0118 <span class="keyword">if</span> isempty(BranchFlag)
+0119     <span class="comment">% Default is upper branch</span>
+0120     BranchFlag = 2;
+0121 <span class="keyword">end</span>
+0122 <span class="keyword">if</span> isempty(Amps)
+0123     <span class="keyword">if</span> strcmpi(ModeFlag,<span class="string">'simulator'</span>) || strcmpi(ModeFlag,<span class="string">'model'</span>)
+0124         <span class="comment">% The model energy is used only if Amps is empty</span>
+0125         <span class="comment">% Otherwise &quot;Maximum recursion limit&quot;</span>
+0126         GeV = getenergymodel;
+0127         <span class="keyword">return</span>;
+0128         
+0129         <span class="comment">%GeVmodel = getenergymodel;</span>
+0130         <span class="comment">%kmodel = getpvmodel(Family, Field, DeviceList, 'Physics');</span>
+0131         <span class="comment">%Amps = k2amp(Family, Field, kmodel, DeviceList, [], 1, GeVmodel);</span>
+0132     <span class="keyword">else</span> 
+0133         Amps = getpv(Family, Field, [1 1], <span class="string">'Hardware'</span>, ModeFlag);
+0134         UnitsFlag = <span class="string">'UnitsFlag'</span>;
+0135     <span class="keyword">end</span>
+0136 <span class="keyword">end</span>
+0137 
+0138 <span class="comment">% End of input checking</span>
+0139 <span class="comment">% Machine dependent stuff below</span>
+0140 
+0141 
+0142 <span class="comment">% Amps should be in hardware units</span>
+0143 <span class="keyword">if</span> strcmpi(UnitsFlag,<span class="string">'Physics'</span>)
+0144     Amps = physics2hw(Family, <span class="string">'Setpoint'</span>, Amps, DeviceList);
+0145 <span class="keyword">end</span>
+0146 
+0147 
+0148 DeviceListTotal = family2dev(Family, 0);
+0149 
+0150 <span class="keyword">for</span> ii = 1:size(DeviceList,1)
+0151     <span class="keyword">if</span> length(Amps) == 1
+0152         BEND = Amps;    
+0153     <span class="keyword">else</span>
+0154         BEND = Amps(ii);    
+0155     <span class="keyword">end</span>
+0156 
+0157     <span class="comment">%% Approximation too wrong for low energy like in transfert lines</span>
+0158     <span class="comment">% brho[Tm] = 3.33620907461447 * E[GeV]</span>
+0159     <span class="comment">% brho = BLeff/theta = 1E9/c*sqrt(E*E-E0*E0)</span>
+0160     <span class="comment">%</span>
+0161 
+0162     E0 = .51099906e-3;  <span class="comment">%electron rest mass in GeV</span>
+0163     e    = 1.60217733e-19 ;
+0164     <span class="comment">%% celerity times 1 billion</span>
+0165     cb    = 2.99792458e-1;
+0166 
+0167     AcceleratorName = getfamilydata(<span class="string">'SubMachine'</span>);
+0168     <span class="keyword">switch</span> AcceleratorName
+0169         <span class="keyword">case</span> <span class="string">'StorageRing'</span>
+0170             <span class="comment">% Convert to energy</span>
+0171             <span class="comment">%</span>
+0172             <span class="comment">%</span>
+0173             <span class="comment">%</span>
+0174             <span class="comment">% Need BLeff = function of the dipole current</span>
+0175 
+0176             <span class="comment">% C coefficients have been scaled to convert between AT units and hardware units and also includes a DC term:</span>
+0177             <span class="comment">% c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2+c1*I + c0 = B or B' or B&quot;</span>
+0178             <span class="comment">% C = [c8 c7 c6 c5 c4 c3 c2 c1 c0]</span>
+0179             <span class="comment">%[C1, Leff, MagnetType, A] = magnetcoefficients('BEND');</span>
+0180 
+0181             [C Leff Type A] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(Family);
+0182             
+0183             <span class="comment">% Magnetfield in T</span>
+0184             BL = polyval(A,BEND);
+0185             <span class="comment">% k(i,1) = polyval(C, Amps(i)) / brho;</span>
+0186 
+0187             theta = 0.19634954084936; <span class="comment">% rad &lt;--&gt; 11.25 degrees</span>
+0188             <span class="comment">% la question se pose sur l'utilite de BLeff</span>
+0189             <span class="comment">%BLeff = 1.806;</span>
+0190             <span class="comment">%BLeff = 1.8014;</span>
+0191             <span class="comment">%brho  = BLeff/theta;</span>
+0192             <span class="comment">%% TODO get BLeff in function of the dipole current</span>
+0193             brho  = BL/theta;
+0194             
+0195         <span class="keyword">case</span> <span class="string">'LT2'</span>
+0196 
+0197             [C Leff Type A] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(Family);
+0198             
+0199             <span class="comment">% Magnetfield in T</span>
+0200             BL = polyval(A,BEND);
+0201             <span class="comment">% k(i,1) = polyval(C, Amps(i)) / brho;</span>
+0202 
+0203             theta = 0.193789; <span class="comment">% rad &lt;--&gt; 11.25 degrees</span>
+0204             BLeff = 1.7780;
+0205             <span class="comment">%brho  = BLeff/theta;</span>
+0206             <span class="comment">%% TODO get BLeff in function of the dipole current</span>
+0207             brho  = BL/theta;    
+0208             
+0209             
+0210             
+0211         <span class="keyword">case</span> <span class="string">'LT1'</span>
+0212             [C Leff Type A] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(Family);
+0213 
+0214             <span class="comment">% Magnetfield in T</span>
+0215             BL = polyval(A,BEND);
+0216             theta = 0.26179938779915; <span class="comment">%rad &lt;--&gt; 15 degrees</span>
+0217             brho = BL/theta;
+0218         <span class="keyword">case</span> <span class="string">'Booster'</span>
+0219             [C Leff Type A] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(Family);
+0220 
+0221             <span class="comment">% Magnetfield in T</span>
+0222             BL = polyval(A,BEND);
+0223             theta = 0.17453292519943; <span class="comment">%rad &lt;--&gt; 10 degrees</span>
+0224             brho = BL/theta;            
+0225         <span class="keyword">otherwise</span>
+0226             error(<span class="string">'Wrong SubMachine %s'</span>, Machine);
+0227     <span class="keyword">end</span>
+0228     
+0229     <span class="comment">% now return energy in GeV</span>
+0230     gev1 = sqrt(E0*E0+cb*cb*brho*brho) - E0;
+0231     
+0232     <span class="keyword">if</span> size(Amps,2) == 1
+0233         GeV(ii,1) = gev1;
+0234     <span class="keyword">else</span>
+0235         GeV(1,ii) = gev1;
+0236     <span class="keyword">end</span>
+0237 
+0238 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/bpmconfigurator.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/bpmconfigurator.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/bpmconfigurator.html	(revision 17)
@@ -0,0 +1,693 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of bpmconfigurator</title>
+  <meta name="keywords" content="bpmconfigurator">
+  <meta name="description" content="BPMCONFIGURATOR M-file for bpmconfigurator.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; bpmconfigurator.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>bpmconfigurator
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>BPMCONFIGURATOR M-file for bpmconfigurator.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = bpmconfigurator(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> BPMCONFIGURATOR M-file for bpmconfigurator.fig
+      BPMCONFIGURATOR, by itself, creates a new BPMCONFIGURATOR or raises the existing
+      singleton*.
+
+      H = BPMCONFIGURATOR returns the handle to a new BPMCONFIGURATOR or the handle to
+      the existing singleton*.
+
+      BPMCONFIGURATOR('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in BPMCONFIGURATOR.M with the given input arguments.
+
+      BPMCONFIGURATOR('Property','Value',...) creates a new BPMCONFIGURATOR or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before bpmconfigurator_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to bpmconfigurator_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="bpmconfigurator.html" class="code" title="function varargout = bpmconfigurator(varargin)">bpmconfigurator</a>	BPMCONFIGURATOR M-file for bpmconfigurator.fig</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="bpmconfigurator.html" class="code" title="function varargout = bpmconfigurator(varargin)">bpmconfigurator</a>	BPMCONFIGURATOR M-file for bpmconfigurator.fig</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function bpmconfigurator_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = bpmconfigurator_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function popupmenu_Command_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function popupmenu_Command_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function pushbutton_Apply_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function edit_Attribute_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit_Attribute_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function pushbutton_Refresh_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function popupmenu_Attribute_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function popupmenu_Attribute_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function checkbox_All_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function checkbox_None_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function listbox_Bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function listbox_Bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function listbox_Attribute_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function listbox_Attribute_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function uimenuBooster_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function uimenuAnneau_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function handles = init_uimenu(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function uimenuLT2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function popupmenu_Gain_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function popupmenu_Gain_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function checkbox_TbyTmode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function checkbox_SAmode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function radiobutton_AGC_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function pushbutton_initALL_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001  <span class="keyword">function</span> varargout = <a href="bpmconfigurator.html" class="code" title="function varargout = bpmconfigurator(varargin)">bpmconfigurator</a>(varargin)
+0002 <span class="comment">% BPMCONFIGURATOR M-file for bpmconfigurator.fig</span>
+0003 <span class="comment">%      BPMCONFIGURATOR, by itself, creates a new BPMCONFIGURATOR or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = BPMCONFIGURATOR returns the handle to a new BPMCONFIGURATOR or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      BPMCONFIGURATOR('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in BPMCONFIGURATOR.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      BPMCONFIGURATOR('Property','Value',...) creates a new BPMCONFIGURATOR or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before bpmconfigurator_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to bpmconfigurator_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span>
+0024 
+0025 <span class="comment">% Edit the above text to modify the response to help bpmconfigurator</span>
+0026 
+0027 <span class="comment">% Last Modified by GUIDE v2.5 20-Mar-2007 12:21:43</span>
+0028 
+0029 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0030 gui_Singleton = 1;
+0031 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0032                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0033                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction bpmconfigurator_OpeningFcn(hObject, eventdata, handles, varargin)">bpmconfigurator_OpeningFcn</a>, <span class="keyword">...</span>
+0034                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = bpmconfigurator_OutputFcn(hObject, eventdata, handles)">bpmconfigurator_OutputFcn</a>, <span class="keyword">...</span>
+0035                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0036                    <span class="string">'gui_Callback'</span>,   []);
+0037 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0038     gui_State.gui_Callback = str2func(varargin{1});
+0039 <span class="keyword">end</span>
+0040 
+0041 <span class="keyword">if</span> nargout
+0042     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">else</span>
+0044     gui_mainfcn(gui_State, varargin{:});
+0045 <span class="keyword">end</span>
+0046 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0047 
+0048 
+0049 <span class="comment">% --- Executes just before bpmconfigurator is made visible.</span>
+0050 <a name="_sub0" href="#_subfunctions" class="code">function bpmconfigurator_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0051 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0052 <span class="comment">% hObject    handle to figure</span>
+0053 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0054 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0055 <span class="comment">% varargin   command line arguments to bpmconfigurator (see VARARGIN)</span>
+0056 
+0057 <span class="comment">% Choose default command line output for bpmconfigurator</span>
+0058 handles.output = hObject;
+0059 
+0060 <span class="comment">% Update handles structure</span>
+0061 guidata(hObject, handles);
+0062 
+0063 <span class="comment">% UIWAIT makes bpmconfigurator wait for user response (see UIRESUME)</span>
+0064 <span class="comment">% uiwait(handles.figure1);</span>
+0065 AO = {};
+0066 setappdata(handles.figure1,<span class="string">'AO'</span>, AO);
+0067 
+0068 <span class="comment">% init oppmenu for commands and attributes</span>
+0069 <span class="comment">% Mode is not read by readattribute</span>
+0070 
+0071 <span class="keyword">switch</span> getsubmachinename
+0072     <span class="keyword">case</span> <span class="string">'Booster_old'</span>
+0073         set(handles.popupmenu_Attribute,<span class="string">'String'</span>,{<span class="string">'NumSamples'</span>,<span class="string">'Mode'</span>, <span class="keyword">...</span>
+0074             <span class="string">'BufferFreezingEnabled'</span>,<span class="string">'BufferFrozen'</span>});
+0075         set(handles.popupmenu_Command,<span class="string">'String'</span>,{<span class="string">'Init'</span>,<span class="string">'State'</span>, <span class="keyword">...</span>
+0076             <span class="string">'DisableBufferFreezing'</span>, <span class="string">'EnableBufferFreezing'</span>, <span class="string">'UnFreezeBuffer'</span>});
+0077     <span class="keyword">case</span> {<span class="string">'Booster'</span>, <span class="string">'StorageRing'</span>, <span class="string">'LT2'</span>}
+0078         set(handles.popupmenu_Attribute,<span class="string">'String'</span>,{<span class="string">'AGCEnabled'</span>, <span class="string">'DDBufferSize'</span>,<span class="string">'Gain'</span>,<span class="string">'DDTriggerCounter'</span>, <span class="keyword">...</span>
+0079             <span class="string">'DDBufferFreezingEnabled'</span>,<span class="string">'DDBufferFrozen'</span>, <span class="string">'DDEnabled'</span>,<span class="string">'SAEnabled'</span>,<span class="string">'Switches'</span>});
+0080         set(handles.popupmenu_Command,<span class="string">'String'</span>,{<span class="string">'Init'</span>,<span class="string">'State'</span>, <span class="string">'Status'</span>, <span class="keyword">...</span>
+0081             <span class="string">'DisableDD'</span>, <span class="string">'DisableSA'</span>,<span class="string">'EnableDDBufferFreezing'</span>, <span class="string">'UnFreezeDDBuffer'</span>, <span class="keyword">...</span>
+0082             <span class="string">'DisableDDBufferFreezing'</span>, <span class="string">'EnableDD'</span>, <span class="string">'EnableSA'</span>});
+0083         tablist = (0:-1:-60)';
+0084         set(handles.popupmenu_Gain,<span class="string">'String'</span>, num2str(tablist));
+0085         handles.groupID = tango_group_create(<span class="string">'BPM'</span>); 
+0086         tango_group_add(handles.groupID,family2tangodev(<span class="string">'BPMx'</span>)');
+0087     <span class="keyword">otherwise</span>
+0088         error(<span class="string">'Wrong SubMachine %s'</span>, getsubmachinename);
+0089 <span class="keyword">end</span>
+0090 
+0091 <span class="comment">% Update handles structure</span>
+0092 guidata(hObject, handles);
+0093 
+0094 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0095 <a name="_sub1" href="#_subfunctions" class="code">function varargout = bpmconfigurator_OutputFcn(hObject, eventdata, handles) </a>
+0096 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0097 <span class="comment">% hObject    handle to figure</span>
+0098 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0099 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0100 
+0101 <span class="comment">% Get default command line output from handles structure</span>
+0102 varargout{1} = handles.output;
+0103 
+0104 
+0105 <span class="comment">% --- Executes on selection change in popupmenu_Command.</span>
+0106 <a name="_sub2" href="#_subfunctions" class="code">function popupmenu_Command_Callback(hObject, eventdata, handles)</a>
+0107 <span class="comment">% hObject    handle to popupmenu_Command (see GCBO)</span>
+0108 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0109 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0110 
+0111 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_Command contents as cell array</span>
+0112 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_Command</span>
+0113 
+0114 
+0115 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0116 <a name="_sub3" href="#_subfunctions" class="code">function popupmenu_Command_CreateFcn(hObject, eventdata, handles)</a>
+0117 <span class="comment">% hObject    handle to popupmenu_Command (see GCBO)</span>
+0118 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0119 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0120 
+0121 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0122 <span class="comment">%       See ISPC and COMPUTER.</span>
+0123 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0124     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0125 <span class="keyword">end</span>
+0126 
+0127 
+0128 <span class="comment">% --- Executes on button press in pushbutton_Apply.</span>
+0129 <a name="_sub4" href="#_subfunctions" class="code">function pushbutton_Apply_Callback(hObject, eventdata, handles)</a>
+0130 <span class="comment">% hObject    handle to pushbutton_Apply (see GCBO)</span>
+0131 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0132 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0133 
+0134 answer = questdlg(<span class="string">'Do you want to apply change ?'</span>,<span class="string">'Confirmation dialog box'</span>);
+0135 
+0136 <span class="comment">% get selected bpm</span>
+0137 iSelected = get(handles.listbox_Bpm,<span class="string">'Value'</span>);
+0138 
+0139 AO        = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0140 <span class="comment">% Status one devices</span>
+0141 valid  = find(AO.Status);
+0142 valid = intersect(iSelected,valid);
+0143 
+0144 <span class="keyword">if</span> isempty(valid)
+0145     disp(<span class="string">'Non BPM selected or status 0'</span>);
+0146     <span class="keyword">return</span>;
+0147 <span class="keyword">end</span>
+0148 
+0149 
+0150 valS = repmat(<span class="string">'NaN'</span>,size(AO.DeviceName));
+0151 val = cellstr(valS);
+0152 
+0153 <span class="keyword">switch</span> answer
+0154     <span class="keyword">case</span> <span class="string">'Yes'</span>
+0155         <span class="comment">%get selected command</span>
+0156         icmd = get(handles.popupmenu_Command,<span class="string">'Value'</span>);
+0157         cmdlist = get(handles.popupmenu_Command,<span class="string">'String'</span>);
+0158         command = cmdlist{icmd};
+0159         <span class="keyword">switch</span> command
+0160             <span class="keyword">case</span> <span class="string">'State'</span>
+0161                 set(handles.listbox_Attribute,<span class="string">'String'</span>,val);
+0162                 <span class="keyword">for</span> k=1:length(valid),
+0163                     val0 = tango_command_inout2(AO.DeviceName{valid(k)},command);
+0164                     val{valid(k)} = val0;
+0165                 <span class="keyword">end</span>
+0166                 set(handles.listbox_Attribute,<span class="string">'String'</span>,val);
+0167             <span class="keyword">otherwise</span> <span class="comment">% not output command</span>
+0168                 <span class="keyword">for</span> k=1:length(valid),
+0169                     tango_command_inout2(AO.DeviceName{valid(k)},command);
+0170                 <span class="keyword">end</span>
+0171         <span class="keyword">end</span>
+0172     <span class="keyword">case</span> {<span class="string">'No'</span>,<span class="string">'Cancel'</span>}
+0173         <span class="keyword">return</span>;
+0174     <span class="keyword">otherwise</span>
+0175         warning(<span class="string">'Wrong answer'</span>)
+0176 <span class="keyword">end</span>
+0177 
+0178 
+0179 <a name="_sub5" href="#_subfunctions" class="code">function edit_Attribute_Callback(hObject, eventdata, handles)</a>
+0180 <span class="comment">% hObject    handle to edit_Attribute (see GCBO)</span>
+0181 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0182 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0183 
+0184 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Attribute as text</span>
+0185 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Attribute as a double</span>
+0186 
+0187 answer = questdlg(<span class="string">'Do you want to apply change ?'</span>,<span class="string">'Confirmation dialog box'</span>);
+0188 iSelected = get(handles.listbox_Bpm,<span class="string">'Value'</span>);
+0189 
+0190 AO     = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0191 <span class="comment">% Status one devices</span>
+0192 valid  = find(AO.Status);
+0193 
+0194 valid = intersect(iSelected,valid);
+0195 
+0196 <span class="keyword">if</span> isempty(valid)
+0197     disp(<span class="string">'Non BPM selected or status 0'</span>);
+0198     <span class="keyword">return</span>;
+0199 <span class="keyword">end</span>
+0200 
+0201 <span class="keyword">switch</span> answer
+0202     <span class="keyword">case</span> <span class="string">'Yes'</span>
+0203 
+0204         <span class="comment">% Get the new value</span>
+0205         value = get(hObject,<span class="string">'String'</span>);
+0206         <span class="keyword">if</span> iscell(value)
+0207             value = cellstr(value);
+0208         <span class="keyword">end</span>
+0209                 
+0210         iAttribute = get(handles.popupmenu_Attribute,<span class="string">'Value'</span>);
+0211         attribute = get(handles.popupmenu_Attribute,<span class="string">'String'</span>);
+0212 
+0213         <span class="keyword">if</span> iAttribute == 1 || iAttribute == 2 || iAttribute == 3 || iAttribute == 6  || iAttribute == 7 
+0214             value = str2double(value);
+0215         <span class="keyword">end</span>
+0216         value = repmat(value,size(valid'));
+0217         
+0218         <span class="comment">% Test on variable type</span>
+0219         <span class="keyword">switch</span> attribute{iAttribute}
+0220             <span class="keyword">case</span> {<span class="string">'NumSamples'</span>,<span class="string">'DDBufferSize'</span>}
+0221                 type = <span class="string">'int32'</span>;
+0222             <span class="keyword">case</span> <span class="string">'Switches'</span>
+0223                 type = <span class="string">'int16'</span>;
+0224             <span class="keyword">case</span> <span class="string">'Mode'</span>
+0225                 type = <span class="string">'String'</span>;
+0226             <span class="keyword">case</span>  {<span class="string">'DDEnabled'</span>,<span class="string">'SAEnabled'</span>,<span class="string">'AGCEnabled'</span>}
+0227                 type = <span class="string">'uint8'</span>;
+0228             <span class="keyword">otherwise</span>
+0229                 type = <span class="string">'double'</span>;
+0230         <span class="keyword">end</span>         
+0231         
+0232         disp([mfilename <span class="string">': Processing ...'</span>]);
+0233 <span class="comment">%         if (get(handles.checkbox_All,'Value') == 0)</span>
+0234              <span class="comment">%% Get selected elements</span>
+0235              
+0236             writeattribute(strcat(AO.DeviceName(valid), <span class="keyword">...</span>
+0237                 <span class="string">'/'</span>,attribute(iAttribute)), value,type);
+0238 <span class="comment">%         else % All the same</span>
+0239 <span class="comment">%             writeattribute(strcat(AO.DeviceName(valid), ...</span>
+0240 <span class="comment">%                 '/',attribute(iAttribute)), value,type)</span>
+0241 <span class="comment">%         end</span>
+0242         disp([mfilename <span class="string">': Done '</span>]);
+0243         <span class="comment">% refresh display</span>
+0244         <a href="#_sub8" class="code" title="subfunction pushbutton_Refresh_Callback(hObject, eventdata, handles)">pushbutton_Refresh_Callback</a>(handles.pushbutton_Refresh,eventdata, handles);
+0245 
+0246     <span class="keyword">case</span> {<span class="string">'No'</span>,<span class="string">'Cancel'</span>}
+0247         <span class="keyword">return</span>;
+0248     <span class="keyword">otherwise</span>
+0249         warning(<span class="string">'Wrong answer'</span>)
+0250 <span class="keyword">end</span>
+0251 
+0252 
+0253 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0254 <a name="_sub6" href="#_subfunctions" class="code">function edit_Attribute_CreateFcn(hObject, eventdata, handles)</a>
+0255 <span class="comment">% hObject    handle to edit_Attribute (see GCBO)</span>
+0256 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0257 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0258 
+0259 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0260 <span class="comment">%       See ISPC and COMPUTER.</span>
+0261 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0262     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0263 <span class="keyword">end</span>
+0264 
+0265 
+0266 <span class="comment">% --- Executes on button press in pushbutton_Refresh.</span>
+0267 <a name="_sub7" href="#_subfunctions" class="code">function pushbutton_Refresh_Callback(hObject, eventdata, handles)</a>
+0268 <span class="comment">% hObject    handle to pushbutton_Refresh (see GCBO)</span>
+0269 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0270 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0271 
+0272 <span class="comment">% refresh ALL</span>
+0273 iBpm = get(handles.listbox_Bpm,<span class="string">'Value'</span>);
+0274 iAttribute = get(handles.popupmenu_Attribute,<span class="string">'Value'</span>);
+0275 attribute = get(handles.popupmenu_Attribute,<span class="string">'String'</span>);
+0276 
+0277 AO = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0278 
+0279 valid  = find(AO.Status);
+0280 val = ones(size(AO.DeviceName))*NaN';
+0281 valS = repmat(<span class="string">'NaN'</span>,size(AO.DeviceName));
+0282 val0 = readattribute(strcat(AO.DeviceName(valid),<span class="string">'/'</span>,char(attribute(iAttribute))));
+0283 
+0284 <span class="keyword">if</span> iscellstr(val0)
+0285     val = cellstr(valS);
+0286     <span class="keyword">for</span> k=1:length(valid)
+0287         val{valid(k)} = val0{k};
+0288     <span class="keyword">end</span>
+0289 <span class="keyword">else</span>
+0290     val(valid) = val0;
+0291 <span class="keyword">end</span>
+0292 
+0293 <span class="comment">% unpdate listbox</span>
+0294 set(handles.listbox_Attribute,<span class="string">'String'</span>,val);
+0295 <span class="comment">% update editbox</span>
+0296 set(handles.edit_Attribute,<span class="string">'String'</span>,val(1));
+0297 set(handles.listbox_Attribute,<span class="string">'Value'</span>,1);
+0298 set(handles.listbox_Bpm,<span class="string">'Value'</span>,1);
+0299 <span class="comment">% uncheckk buttons</span>
+0300 set(handles.checkbox_All,<span class="string">'Value'</span>, 0);
+0301 set(handles.checkbox_None,<span class="string">'Value'</span>, 0);
+0302 
+0303 <span class="comment">% --- Executes on selection change in popupmenu_Attribute.</span>
+0304 <a name="_sub8" href="#_subfunctions" class="code">function popupmenu_Attribute_Callback(hObject, eventdata, handles)</a>
+0305 <span class="comment">% hObject    handle to popupmenu_Attribute (see GCBO)</span>
+0306 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0307 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0308 
+0309 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_Attribute contents as cell array</span>
+0310 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_Attribute</span>
+0311 
+0312 <span class="comment">% Force a refresh</span>
+0313 <a href="bpmconfigurator.html" class="code" title="function varargout = bpmconfigurator(varargin)">bpmconfigurator</a>(<span class="string">'pushbutton_Refresh_Callback'</span>,hObject, eventdata, handles);
+0314 
+0315 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0316 <a name="_sub9" href="#_subfunctions" class="code">function popupmenu_Attribute_CreateFcn(hObject, eventdata, handles)</a>
+0317 <span class="comment">% hObject    handle to popupmenu_Attribute (see GCBO)</span>
+0318 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0319 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0320 
+0321 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0322 <span class="comment">%       See ISPC and COMPUTER.</span>
+0323 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0324     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0325 <span class="keyword">end</span>
+0326 
+0327 
+0328 <span class="comment">% --- Executes on button press in checkbox_All.</span>
+0329 <a name="_sub10" href="#_subfunctions" class="code">function checkbox_All_Callback(hObject, eventdata, handles)</a>
+0330 <span class="comment">% hObject    handle to checkbox_All (see GCBO)</span>
+0331 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0332 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0333 
+0334 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_All</span>
+0335 
+0336 val = get(handles.listbox_Bpm,<span class="string">'String'</span>);
+0337 
+0338 <span class="keyword">if</span> get(hObject,<span class="string">'Value'</span>) == 1
+0339     set(handles.checkbox_None,<span class="string">'Value'</span>,0);
+0340     set(handles.listbox_Bpm,<span class="string">'Value'</span>,1:length(val));
+0341     set(handles.listbox_Attribute,<span class="string">'Value'</span>,1:length(val));
+0342     set(handles.listbox_Bpm,<span class="string">'listboxtop'</span>,1);
+0343     set(handles.listbox_Attribute,<span class="string">'listboxtop'</span>,1);
+0344 <span class="keyword">end</span>
+0345 
+0346 <span class="comment">% --- Executes on button press in checkbox_None.</span>
+0347 <a name="_sub11" href="#_subfunctions" class="code">function checkbox_None_Callback(hObject, eventdata, handles)</a>
+0348 <span class="comment">% hObject    handle to checkbox_None (see GCBO)</span>
+0349 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0350 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0351 
+0352 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_None</span>
+0353 
+0354 <span class="keyword">if</span> get(hObject,<span class="string">'Value'</span>) == 1
+0355     set(handles.checkbox_All,<span class="string">'Value'</span>,0);
+0356     set(handles.listbox_Bpm,<span class="string">'Value'</span>,1);
+0357     set(handles.listbox_Attribute,<span class="string">'Value'</span>,1);
+0358 <span class="keyword">end</span>
+0359 
+0360 
+0361 <span class="comment">% --- Executes on selection change in listbox_Bpm.</span>
+0362 <a name="_sub12" href="#_subfunctions" class="code">function listbox_Bpm_Callback(hObject, eventdata, handles)</a>
+0363 <span class="comment">% hObject    handle to listbox_Bpm (see GCBO)</span>
+0364 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0365 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0366 
+0367 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_Bpm contents as cell array</span>
+0368 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_Bpm</span>
+0369 
+0370 idx = get(hObject,<span class="string">'Value'</span>);
+0371 set(handles.listbox_Attribute,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0372 
+0373 set(handles.checkbox_All,<span class="string">'Value'</span>,0);
+0374 set(handles.checkbox_None,<span class="string">'Value'</span>,0);
+0375 
+0376 
+0377 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0378 <a name="_sub13" href="#_subfunctions" class="code">function listbox_Bpm_CreateFcn(hObject, eventdata, handles)</a>
+0379 <span class="comment">% hObject    handle to listbox_Bpm (see GCBO)</span>
+0380 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0381 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0382 
+0383 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0384 <span class="comment">%       See ISPC and COMPUTER.</span>
+0385 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0386     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0387 <span class="keyword">end</span>
+0388 
+0389 
+0390 <span class="comment">% --- Executes on selection change in listbox_Attribute.</span>
+0391 <a name="_sub14" href="#_subfunctions" class="code">function listbox_Attribute_Callback(hObject, eventdata, handles)</a>
+0392 <span class="comment">% hObject    handle to listbox_Attribute (see GCBO)</span>
+0393 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0394 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0395 
+0396 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_Attribute contents as cell array</span>
+0397 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_Attribute</span>
+0398 contents = get(hObject,<span class="string">'String'</span>);
+0399 idx = get(hObject,<span class="string">'Value'</span>);
+0400 set(handles.listbox_Bpm,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0401 set(handles.checkbox_All,<span class="string">'Value'</span>,0);
+0402 set(handles.checkbox_None,<span class="string">'Value'</span>,0);
+0403 
+0404 <span class="comment">% Selected only first element</span>
+0405 <span class="comment">% If all elements are numeric, return a char array and not a cell!</span>
+0406 <span class="keyword">if</span> ischar(contents)
+0407     contents = cellstr(contents);
+0408 <span class="keyword">end</span>
+0409 set(handles.edit_Attribute,<span class="string">'String'</span>,contents{idx(1)});
+0410 
+0411 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0412 <a name="_sub15" href="#_subfunctions" class="code">function listbox_Attribute_CreateFcn(hObject, eventdata, handles)</a>
+0413 <span class="comment">% hObject    handle to listbox_Attribute (see GCBO)</span>
+0414 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0415 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0416 
+0417 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0418 <span class="comment">%       See ISPC and COMPUTER.</span>
+0419 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0420     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0421 <span class="keyword">end</span>
+0422 
+0423 
+0424 <span class="comment">% --------------------------------------------------------------------</span>
+0425 <a name="_sub16" href="#_subfunctions" class="code">function uimenuBooster_Callback(hObject, eventdata, handles)</a>
+0426 <span class="comment">% hObject    handle to uimenuBooster (see GCBO)</span>
+0427 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0428 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0429 
+0430 AD = getad;
+0431 
+0432 <span class="keyword">if</span> isempty(AD)
+0433     setpathsoleil(<span class="string">'Booster'</span>);
+0434 <span class="keyword">elseif</span> ~strcmpi(AD.SubMachine,<span class="string">'Booster'</span>)
+0435     aoinit;
+0436 <span class="keyword">end</span>
+0437 
+0438 <a href="#_sub20" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0439 
+0440 <span class="comment">% --------------------------------------------------------------------</span>
+0441 <a name="_sub17" href="#_subfunctions" class="code">function uimenuAnneau_Callback(hObject, eventdata, handles)</a>
+0442 <span class="comment">% hObject    handle to uimenuAnneau (see GCBO)</span>
+0443 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0444 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0445 
+0446 AD = getad;
+0447 
+0448 <span class="keyword">if</span> isempty(AD)
+0449     setpathsoleil(<span class="string">'StorageRing'</span>);
+0450 <span class="keyword">elseif</span> ~strcmpi(AD.SubMachine,<span class="string">'StorageRing'</span>)
+0451     aoinit
+0452 <span class="keyword">end</span>
+0453 
+0454 <a href="#_sub20" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0455 
+0456 <span class="comment">% --------------------------------------------------------------------</span>
+0457 <a name="_sub18" href="#_subfunctions" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a>
+0458 <span class="comment">% hObject    handle to Untitled_1 (see GCBO)</span>
+0459 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0460 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0461 
+0462 <a name="_sub19" href="#_subfunctions" class="code">function handles = init_uimenu(hObject, eventdata, handles)</a>
+0463 
+0464 AO = getfamilydata(<span class="string">'BPMx'</span>);
+0465 setappdata(handles.figure1,<span class="string">'AO'</span>, AO);
+0466 
+0467 <span class="comment">%% Checked box</span>
+0468 all = findobj(get(hObject,<span class="string">'Parent'</span>),<span class="string">'Type'</span>,<span class="string">'UImenu'</span>);
+0469 set(all, <span class="string">'Checked'</span>, <span class="string">'Off'</span>);
+0470 set(hObject, <span class="string">'Checked'</span>, <span class="string">'On'</span>);
+0471 
+0472 <span class="comment">%% Initialize popupmenu w/ BPM</span>
+0473 listbpm = AO.DeviceName;
+0474 set(handles.listbox_Bpm,<span class="string">'String'</span>,listbpm);
+0475 
+0476 devlist = get(handles.listbox_Bpm,<span class="string">'String'</span>);
+0477 val = readattribute([devlist{1},<span class="string">'/'</span>, <span class="string">'SAEnabled'</span>]);
+0478 ii = get(handles.uipanel_mode,<span class="string">'Children'</span>);
+0479 <span class="keyword">if</span> val == 1
+0480     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>, ii(2));
+0481 <span class="keyword">else</span>
+0482     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>, ii(1));
+0483 <span class="keyword">end</span>
+0484 val = readattribute([devlist{1},<span class="string">'/'</span>, <span class="string">'AGCEnabled'</span>]);
+0485 set(handles.radiobutton_AGC,<span class="string">'Value'</span>, val);
+0486 <span class="comment">%cmdlist = get(handles.popupmenu_Command,'String');</span>
+0487 
+0488 
+0489 <span class="comment">% --------------------------------------------------------------------</span>
+0490 <a name="_sub20" href="#_subfunctions" class="code">function uimenuLT2_Callback(hObject, eventdata, handles)</a>
+0491 <span class="comment">% hObject    handle to uimenuLT2 (see GCBO)</span>
+0492 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0493 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0494 
+0495 AD = getad;
+0496 
+0497 <span class="keyword">if</span> isempty(AD)
+0498     setpathsoleil(<span class="string">'LT2'</span>);
+0499 <span class="keyword">elseif</span> ~strcmpi(AD.SubMachine,<span class="string">'LT2'</span>)
+0500     aoinit;
+0501 <span class="keyword">end</span>
+0502 
+0503 <a href="#_sub20" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0504 
+0505 
+0506 <span class="comment">% --- Executes on selection change in popupmenu_Gain.</span>
+0507 <a name="_sub21" href="#_subfunctions" class="code">function popupmenu_Gain_Callback(hObject, eventdata, handles)</a>
+0508 <span class="comment">% hObject    handle to popupmenu_Gain (see GCBO)</span>
+0509 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0510 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0511 
+0512 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_Gain contents as cell array</span>
+0513 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_Gain</span>
+0514 
+0515 contents = get(hObject,<span class="string">'String'</span>);
+0516 att = str2double(contents(get(hObject,<span class="string">'Value'</span>),:));
+0517 tango_group_write_attribute(handles.groupID,<span class="string">'Gain'</span>,0,att);
+0518 pause(1);
+0519 <a href="#_sub8" class="code" title="subfunction pushbutton_Refresh_Callback(hObject, eventdata, handles)">pushbutton_Refresh_Callback</a>(handles.pushbutton_Refresh,eventdata, handles);
+0520 
+0521 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0522 <a name="_sub22" href="#_subfunctions" class="code">function popupmenu_Gain_CreateFcn(hObject, eventdata, handles)</a>
+0523 <span class="comment">% hObject    handle to popupmenu_Gain (see GCBO)</span>
+0524 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0525 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0526 
+0527 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0528 <span class="comment">%       See ISPC and COMPUTER.</span>
+0529 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0530     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0531 <span class="keyword">end</span>
+0532 
+0533 
+0534 <span class="comment">% --- Executes on button press in checkbox_TbyTmode.</span>
+0535 <a name="_sub23" href="#_subfunctions" class="code">function checkbox_TbyTmode_Callback(hObject, eventdata, handles)</a>
+0536 <span class="comment">% hObject    handle to checkbox_TbyTmode (see GCBO)</span>
+0537 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0538 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0539 
+0540 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_TbyTmode</span>
+0541 
+0542 value = get(hObject,<span class="string">'Value'</span>);
+0543 <span class="keyword">if</span> value == 0 <span class="comment">% deactivation of SA mode</span>
+0544     tango_group_write_attribute(handles.groupID,<span class="string">'DDEnabled'</span>,0, uint8(0));
+0545 <span class="keyword">else</span> <span class="comment">% activation of SA mode</span>
+0546     tango_group_write_attribute(handles.groupID,<span class="string">'DDEnabled'</span>,0, uint8(1));
+0547 <span class="keyword">end</span>
+0548 pause(1);
+0549 <a href="#_sub8" class="code" title="subfunction pushbutton_Refresh_Callback(hObject, eventdata, handles)">pushbutton_Refresh_Callback</a>(handles.pushbutton_Refresh,eventdata, handles);
+0550 
+0551 <span class="comment">% --- Executes on button press in checkbox_SAmode.</span>
+0552 <a name="_sub24" href="#_subfunctions" class="code">function checkbox_SAmode_Callback(hObject, eventdata, handles)</a>
+0553 <span class="comment">% hObject    handle to checkbox_SAmode (see GCBO)</span>
+0554 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0555 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0556 
+0557 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_SAmode</span>
+0558 
+0559 value = get(hObject,<span class="string">'Value'</span>);
+0560 <span class="keyword">if</span> value == 0 <span class="comment">% deactivation of SA mode</span>
+0561     tango_group_write_attribute(handles.groupID,<span class="string">'SAEnabled'</span>,0, uint8(0));
+0562     <span class="comment">%% deactivate switching Switches attribute 255 to 3</span>
+0563     tango_group_write_attribute(handles.groupID,<span class="string">'Switches'</span>,0, 3);
+0564 <span class="keyword">else</span> <span class="comment">% activation of SA mode</span>
+0565     tango_group_write_attribute(handles.groupID,<span class="string">'SAEnabled'</span>,0, uint8(1));
+0566     <span class="comment">%% activate switching Digital Signal Conditioning</span>
+0567     tango_group_write_attribute(handles.groupID,<span class="string">'DSCEnabled'</span>,0, uint8(1));
+0568 <span class="keyword">end</span>
+0569 pause(1);
+0570 <a href="#_sub8" class="code" title="subfunction pushbutton_Refresh_Callback(hObject, eventdata, handles)">pushbutton_Refresh_Callback</a>(handles.pushbutton_Refresh,eventdata, handles);
+0571 
+0572 
+0573 <span class="comment">% --------------------------------------------------------------------</span>
+0574 <a name="_sub25" href="#_subfunctions" class="code">function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+0575 <span class="comment">% hObject    handle to uipanel_mode (see GCBO)</span>
+0576 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0577 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0578 
+0579 <span class="keyword">switch</span> get(hObject,<span class="string">'Tag'</span>)   <span class="comment">% Get Tag of selected object</span>
+0580     <span class="keyword">case</span> <span class="string">'radiobutton1'</span> <span class="comment">% SA mode</span>
+0581         <span class="comment">% Active switching mecanisme (work around for now because of Device</span>
+0582         <span class="comment">% bugs)</span>
+0583         tango_group_write_attribute(handles.groupID,<span class="string">'Switches'</span>,0,int16(255));
+0584         tango_group_write_attribute(handles.groupID,<span class="string">'DSCEnabled'</span>,0,uint8(1));
+0585         pause(1);
+0586         <a href="#_sub8" class="code" title="subfunction pushbutton_Refresh_Callback(hObject, eventdata, handles)">pushbutton_Refresh_Callback</a>(handles.pushbutton_Refresh,eventdata, handles);
+0587     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+0588         <span class="comment">% Deactive switching mecanisme (work around for now because of Device</span>
+0589         <span class="comment">% bugs)</span>
+0590         tango_group_write_attribute(handles.groupID,<span class="string">'Switches'</span>,0,int16(3));
+0591         pause(1);
+0592         <a href="#_sub8" class="code" title="subfunction pushbutton_Refresh_Callback(hObject, eventdata, handles)">pushbutton_Refresh_Callback</a>(handles.pushbutton_Refresh,eventdata, handles);
+0593     <span class="comment">% Continue with more cases as necessary.</span>
+0594 <span class="keyword">end</span>
+0595 
+0596 
+0597 <span class="comment">% --- Executes on button press in radiobutton_AGC.</span>
+0598 <a name="_sub26" href="#_subfunctions" class="code">function radiobutton_AGC_Callback(hObject, eventdata, handles)</a>
+0599 <span class="comment">% hObject    handle to radiobutton_AGC (see GCBO)</span>
+0600 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0601 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0602 
+0603 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton_AGC</span>
+0604 
+0605 value = get(hObject,<span class="string">'Value'</span>);
+0606 <span class="keyword">if</span> value == 1
+0607     tango_group_write_attribute(handles.groupID,<span class="string">'AGCEnabled'</span>,0,uint8(1));
+0608     pause(1);
+0609     <a href="#_sub8" class="code" title="subfunction pushbutton_Refresh_Callback(hObject, eventdata, handles)">pushbutton_Refresh_Callback</a>(handles.pushbutton_Refresh,eventdata, handles);
+0610 <span class="keyword">else</span>
+0611     tango_group_write_attribute(handles.groupID,<span class="string">'AGCEnabled'</span>,0,uint8(0));
+0612     pause(1);
+0613     <a href="#_sub8" class="code" title="subfunction pushbutton_Refresh_Callback(hObject, eventdata, handles)">pushbutton_Refresh_Callback</a>(handles.pushbutton_Refresh,eventdata, handles);
+0614 <span class="keyword">end</span>
+0615 
+0616 
+0617 <span class="comment">% --- Executes on button press in pushbutton_initALL.</span>
+0618 <a name="_sub27" href="#_subfunctions" class="code">function pushbutton_initALL_Callback(hObject, eventdata, handles)</a>
+0619 <span class="comment">% hObject    handle to pushbutton_initALL (see GCBO)</span>
+0620 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0621 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0622 
+0623 commandName = <span class="string">'Init'</span>;
+0624 tango_group_command_inout2(handles.groupID,commandName,0,0);
+0625 pause(1);
+0626</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cap.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cap.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cap.html	(revision 17)
@@ -0,0 +1,68 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of cap</title>
+  <meta name="keywords" content="cap">
+  <meta name="description" content="CAP - Clears application data">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; cap.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>cap
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>CAP - Clears application data</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function cap </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">CAP - Clears application data 
+
+ Written by Gregory J. Pormann</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function cap    </a>
+0002 <span class="comment">%CAP - Clears application data</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% Written by Gregory J. Pormann</span>
+0005 
+0006 setappdata(0,<span class="string">'AcceleratorData'</span>, []);
+0007 setappdata(0,<span class="string">'AcceleratorObjects'</span>,[]);
+0008 
+0009 <span class="comment">% To really clear it</span>
+0010 <span class="comment">%rmappdata(0, 'AcceleratorData');</span>
+0011 <span class="comment">%rmappdata(0, 'AcceleratorObjects');</span>
+0012 
+0013 
+0014 <span class="comment">% % If you want to clear all of appdata for the command window</span>
+0015 <span class="comment">% VarNameStuct = getappdata(0);</span>
+0016 <span class="comment">% VarNameCell = fieldnames(VarNameStuct);</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">% for i = 1:length(VarNameCell)</span>
+0019 <span class="comment">%     rmappdata(0, VarNameCell{i});</span>
+0020 <span class="comment">% end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/configgui.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/configgui.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/configgui.html	(revision 17)
@@ -0,0 +1,1240 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of configgui</title>
+  <meta name="keywords" content="configgui">
+  <meta name="description" content="CONFIGGUI - Generates gui for configuration control">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">configurations</a> &gt; configgui.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/configurations&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>configgui
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>CONFIGGUI - Generates gui for configuration control</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = configgui(action, varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> CONFIGGUI - Generates gui for configuration control
+  to launch:  &gt;&gt;configgui       (no input argument)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>	CONFIGGUI - Generates gui for configuration control</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>	CONFIGGUI - Generates gui for configuration control</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = configgui(action, varargin)</a>
+0002 <span class="comment">% CONFIGGUI - Generates gui for configuration control</span>
+0003 <span class="comment">%  to launch:  &gt;&gt;configgui       (no input argument)</span>
+0004 
+0005 <span class="comment">%</span>
+0006 <span class="comment">% Written by Jeff Corbett</span>
+0007 <span class="comment">% Modified by Laurent S. Nadolski</span>
+0008 <span class="comment">% March 27, 2005 - Merge with LT1 programme</span>
+0009 <span class="comment">% September 2005 - Add Booster programme</span>
+0010 <span class="comment">% April 2006 - Add LT2</span>
+0011 
+0012 h = findobj(0,<span class="string">'Tag'</span>,<span class="string">'cnffig'</span>);
+0013 <span class="keyword">if</span> ~isempty(h) cnfdata=getappdata(h,<span class="string">'configguidata'</span>); <span class="keyword">end</span>
+0014 
+0015 <span class="comment">%===========================</span>
+0016 <span class="comment">%   DRAW MAIN GUI (nargin=0)</span>
+0017 <span class="comment">%===========================</span>
+0018 <span class="keyword">if</span> nargin == 0
+0019     
+0020     <span class="keyword">if</span> isempty(getao) 
+0021         disp(<span class="string">'Warning: Load ring AcceleratorObjects first'</span>);
+0022         <span class="keyword">return</span>
+0023     <span class="keyword">else</span>
+0024         Machine = getfamilydata(<span class="string">'SubMachine'</span>);
+0025         <span class="keyword">switch</span> Machine
+0026             <span class="keyword">case</span> {<span class="string">'StorageRing'</span>, <span class="string">'LT1'</span>, <span class="string">'LT2'</span>, <span class="string">'Booster'</span>}
+0027                 <span class="comment">%%</span>
+0028             <span class="keyword">otherwise</span>                
+0029             disp(<span class="string">'Warning: Machine not recognized!'</span>);
+0030             <span class="keyword">return</span>
+0031         <span class="keyword">end</span>
+0032     <span class="keyword">end</span>
+0033 
+0034     <span class="comment">%Clear previous configuration control gui</span>
+0035     <span class="keyword">if</span> ~isempty(h) delete(h); <span class="keyword">end</span>
+0036     
+0037     <span class="comment">%set defaults</span>
+0038     cnfdata.field=<span class="string">'setpoint'</span>;
+0039     cnfdata.SetpointData=[];
+0040     cnfdata.MonitorData=[];
+0041     
+0042     <span class="comment">% generate main figure</span>
+0043     cnfdata.handles.figure=<a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'CNFFig'</span>,Machine);  
+0044     setappdata(cnfdata.handles.figure,<span class="string">'configguidata'</span>,cnfdata);
+0045     
+0046     <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'UIControls'</span>,Machine);
+0047         
+0048     <span class="keyword">return</span>
+0049 <span class="keyword">end</span>
+0050 
+0051 <span class="keyword">switch</span> action    
+0052     <span class="comment">%==========================================================</span>
+0053     <span class="keyword">case</span> <span class="string">'CNFFig'</span>                                       <span class="comment">%CNFFig</span>
+0054     <span class="comment">%==========================================================</span>
+0055         <span class="comment">%figure initialization</span>
+0056               
+0057         [screen_wide, screen_high]=screensizecm;
+0058         
+0059         fig_start = [0.13*screen_wide 0.16*screen_high];
+0060         
+0061         Machine = varargin{1};
+0062 
+0063         <span class="keyword">switch</span> Machine
+0064             <span class="keyword">case</span> {<span class="string">'LT1'</span>, <span class="string">'Booster'</span>, <span class="string">'LT2'</span>}
+0065                 fig_size = [0.45*screen_wide 0.5*screen_high];
+0066             <span class="keyword">case</span> <span class="string">'StorageRing'</span>
+0067                 fig_size = [0.6*screen_wide 0.5*screen_high];
+0068             <span class="keyword">otherwise</span>
+0069                 error([<span class="string">'Wrong Machine: '</span> Machine]);
+0070         <span class="keyword">end</span>
+0071         
+0072         h = figure(<span class="string">'Visible'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0073             <span class="string">'units'</span>,<span class="string">'centimeters'</span>,<span class="string">'Resize'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0074             <span class="string">'tag'</span>,<span class="string">'cnffig'</span>,<span class="keyword">...</span><span class="comment"> </span>
+0075             <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0076             <span class="string">'Doublebuffer'</span>,<span class="string">'on'</span>,<span class="keyword">...</span>
+0077             <span class="string">'Name'</span>,[Machine <span class="string">': Setpoint file manager (Fichiers de consignes)'</span>],<span class="keyword">...</span>
+0078             <span class="string">'PaperPositionMode'</span>,<span class="string">'Auto'</span>); <span class="comment">%'handlevisibility','off');</span>
+0079         set(h,<span class="string">'MenuBar'</span>,<span class="string">'None'</span>);
+0080         set(h,<span class="string">'Position'</span>,[fig_start fig_size],<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0081         
+0082         varargout{1}=h;
+0083         
+0084     <span class="comment">%==========================================================</span>
+0085     <span class="keyword">case</span> <span class="string">'UIControls'</span>                           <span class="comment">%  UIControls</span>
+0086     <span class="comment">%==========================================================</span>
+0087     <span class="comment">%UIControls - generate UIControls in gui</span>
+0088 
+0089     Machine = varargin{1};
+0090 
+0091     <span class="keyword">switch</span> Machine
+0092         <span class="keyword">case</span> {<span class="string">'LT1'</span>, <span class="string">'LT2'</span>}
+0093             <span class="comment">%UIControls - generate UIControls in gui</span>
+0094             [screen_wide, screen_high]=screensizecm;
+0095             x0=0.01*screen_wide ; dx=0.04*screen_wide; y0=0.48*screen_high; dy=0.04*screen_high; dely=0.03*screen_high;
+0096 
+0097             col1_families={<span class="string">'BEND'</span>; <span class="string">'QP'</span>; <span class="string">'CH'</span> ; <span class="string">'CV'</span>};
+0098 
+0099             families=[col1_families(:)];
+0100             cnfdata.families=families;
+0101 
+0102             <span class="comment">%check boxes</span>
+0103             <span class="keyword">for</span> k=1:length(col1_families)
+0104                 cnfdata.handles.([col1_families{k} <span class="string">'chk'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0105                     <span class="string">'ToolTipString'</span>,<span class="string">'Check to include in configuration load'</span>,<span class="keyword">...</span>
+0106                     <span class="string">'Position'</span>,[x0+0.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,col1_families{k},<span class="keyword">...</span>
+0107                     <span class="string">'callback'</span>,<span class="string">'configgui(''CheckValid'')'</span>);
+0108                 cnfdata.handles.([col1_families{k} <span class="string">'flag'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0109                     <span class="string">'Position'</span>,[x0+0.22*dx,y0-(k-0.51)*dely,dx/5,dy/4],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">' '</span>,<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+0110             <span class="keyword">end</span>
+0111 
+0112 
+0113             <span class="comment">%select all</span>
+0114             x1 = 5.5;
+0115 
+0116             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0117                 <span class="string">'ToolTipString'</span>,<span class="string">'Select all families to include in configuration load'</span>,<span class="keyword">...</span>
+0118                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SelectAll'')'</span>,<span class="keyword">...</span>
+0119                 <span class="string">'Position'</span>,[x0+x1*dx,y0-1*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Select All'</span>);
+0120 
+0121             <span class="comment">%select none</span>
+0122             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0123                 <span class="string">'ToolTipString'</span>,<span class="string">'Select no families to include in configuration load'</span>,<span class="keyword">...</span>
+0124                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SelectNone'')'</span>,<span class="keyword">...</span>
+0125                 <span class="string">'Position'</span>,[x0+x1*dx,y0-2*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Select None'</span>);
+0126 
+0127             <span class="comment">%display partial configuration data</span>
+0128             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0129                 <span class="string">'ToolTipString'</span>,<span class="string">'Print configuration data to screen'</span>,<span class="keyword">...</span>
+0130                 <span class="string">'Callback'</span>,<span class="string">'configgui(''ShowMainConfiguration'')'</span>,<span class="keyword">...</span>
+0131                 <span class="string">'Position'</span>,[x0+x1*dx,y0-3*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Display Main Configuration'</span>);
+0132 
+0133             <span class="comment">%display full configuration</span>
+0134             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0135                 <span class="string">'ToolTipString'</span>,<span class="string">'Print configuration data to screen'</span>,<span class="keyword">...</span>
+0136                 <span class="string">'Callback'</span>,<span class="string">'configgui(''ShowConfiguration'')'</span>,<span class="keyword">...</span>
+0137                 <span class="string">'Position'</span>,[x0+x1*dx,y0-4*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Display Full Configuration'</span>);
+0138 
+0139             <span class="comment">%Cycle magnet when applying to machine</span>
+0140             setappdata(gcf,<span class="string">'cycling'</span>,0); <span class="comment">% checkbox not checked</span>
+0141             uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0142                 <span class="string">'ToolTipString'</span>,<span class="string">'Cycle magnet when applying to machine'</span>,<span class="keyword">...</span>
+0143                 <span class="string">'Callback'</span>,<span class="string">'setappdata(gcf,''cycling'',get(gcbo,''Value''));'</span>,<span class="keyword">...</span>
+0144                 <span class="string">'Position'</span>,[x0+x1*dx,y0-5.5*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Cycling'</span>);
+0145 
+0146             <span class="comment">%list box to display output dialog</span>
+0147             ts = [<span class="string">'Program Start-Up: '</span> datestr(now,0)];
+0148             cnfdata.handles.listbox=uicontrol(<span class="string">'Style'</span>,<span class="string">'list'</span>,<span class="string">'Units'</span>,<span class="string">'centimeters'</span>,<span class="string">'Position'</span>,[x0+0.5*dx y0-15.8*dely 10*dx 2*dy],<span class="string">'String'</span>,{ts});
+0149 
+0150             <span class="comment">%configuration display</span>
+0151             cnfdata.handles.configname=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0152                 <span class="string">'Position'</span>,[x0+0.5*dx y0-13*dely 8*dx dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="string">'String'</span>,<span class="string">' '</span>);
+0153 
+0154             <span class="comment">%Get Configuration</span>
+0155             x1 = 0.5; x2 = x1 + 1.5;
+0156             uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0157                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="keyword">...</span>
+0158                 <span class="string">'String'</span>,<span class="string">'Get Configuration from: '</span>);
+0159             <span class="comment">%machine</span>
+0160             cnfdata.handles.GetMachine=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0161                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Machine'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0162                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Machine'</span>,<span class="keyword">...</span>
+0163                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetMachineConfig'')'</span>);
+0164             cnfdata.handles.GetMachineTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0165                 <span class="string">'Position'</span>,[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0166 
+0167             <span class="comment">%desired</span>
+0168             cnfdata.handles.GetDesired=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0169                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Desired Setpoints '</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0170                 <span class="string">'Position'</span>,[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Desired'</span>,<span class="keyword">...</span>
+0171                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetDesiredConfig'')'</span>);
+0172             cnfdata.handles.GetDesiredTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0173                 <span class="string">'Position'</span>,[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0174 
+0175             <span class="comment">%file</span>
+0176             cnfdata.handles.GetFile=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0177                 <span class="string">'ToolTipString'</span>,<span class="string">'Read configuration from file'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0178                 <span class="string">'Position'</span>,[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'File'</span>,<span class="keyword">...</span>
+0179                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetFileConfig'')'</span>);
+0180             cnfdata.handles.GetFileTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0181                 <span class="string">'Position'</span>,[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0182             <span class="comment">%golden</span>
+0183             cnfdata.handles.GetGolden=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0184                 <span class="string">'ToolTipString'</span>,<span class="string">'Read configuration from Golden'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0185                 <span class="string">'Position'</span>,[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Golden'</span>,<span class="keyword">...</span>
+0186                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetGoldenConfig'')'</span>);
+0187             cnfdata.handles.GetGoldenTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0188                 <span class="string">'Position'</span>,[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0189             <span class="comment">%simulator</span>
+0190             cnfdata.handles.GetSimulator=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0191                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Simulator'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0192                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Simulator'</span>,<span class="keyword">...</span>
+0193                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetSimulatorConfig'')'</span>);
+0194             cnfdata.handles.GetSimulatorTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0195                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0196 
+0197             <span class="comment">%workspace</span>
+0198             cnfdata.handles.GetWorkspace=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0199                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from WorkSpace'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0200                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Workspace'</span>,<span class="keyword">...</span>
+0201                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetWorkspaceConfig'')'</span>);
+0202             cnfdata.handles.GetWorkspaceTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0203                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0204 
+0205             <span class="comment">%Set Configuration</span>
+0206             x1 = 5.5; x2= x1+1.5;
+0207             uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0208                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7*dely,3*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="string">'String'</span>,<span class="string">'Set Configuration to: '</span>);
+0209             <span class="comment">%machine</span>
+0210             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0211                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Machine (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0212                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Machine'</span>,<span class="keyword">...</span>
+0213                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetMachineConfig'')'</span>);
+0214             cnfdata.handles.LoadMachineTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0215                 <span class="string">'Position'</span>,[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0216 
+0217             <span class="comment">%desired setpoints</span>
+0218             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0219                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Desired Setpoints (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0220                 <span class="string">'Position'</span>,[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Desired'</span>,<span class="keyword">...</span>
+0221                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetDesiredConfig'')'</span>);
+0222             cnfdata.handles.LoadDesiredTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0223                 <span class="string">'Position'</span>,[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0224 
+0225             <span class="comment">%file</span>
+0226             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0227                 <span class="string">'ToolTipString'</span>,<span class="string">'Write configuration to file (all families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0228                 <span class="string">'Position'</span>,[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'File'</span>,<span class="keyword">...</span>
+0229                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetFileConfig'')'</span>);
+0230             cnfdata.handles.LoadFileTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0231                 <span class="string">'Position'</span>,[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0232             <span class="comment">%golden</span>
+0233             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0234                 <span class="string">'ToolTipString'</span>,<span class="string">'Write configuration to Golden (all families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0235                 <span class="string">'Position'</span>,[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Golden'</span>,<span class="keyword">...</span>
+0236                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetGoldenConfig'')'</span>);
+0237             cnfdata.handles.LoadGoldenTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0238                 <span class="string">'Position'</span>,[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0239             <span class="comment">%simulator</span>
+0240             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0241                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Simulator (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0242                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Simulator'</span>,<span class="keyword">...</span>
+0243                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetSimulatorConfig'')'</span>);
+0244             cnfdata.handles.LoadSimulatorTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0245                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0246 
+0247             <span class="comment">%workspace</span>
+0248             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0249                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Workspace (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0250                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Workspace'</span>,<span class="keyword">...</span>
+0251                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetWorkspaceConfig'')'</span>);
+0252             cnfdata.handles.LoadWorkspaceTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0253                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0254         
+0255                <span class="keyword">case</span> <span class="string">'Booster'</span>        
+0256         <span class="comment">%% Booster</span>
+0257         
+0258                 <span class="comment">%UIControls - generate UIControls in gui</span>
+0259             [screen_wide, screen_high]=screensizecm;
+0260             x0=0.01*screen_wide ; dx=0.04*screen_wide; y0=0.48*screen_high; dy=0.04*screen_high; dely=0.03*screen_high;
+0261 
+0262             col1_families={<span class="string">'BEND'</span>; <span class="string">'QF'</span>; <span class="string">'QD'</span>; <span class="string">'SF'</span>; <span class="string">'SD'</span>};
+0263             col2_families={<span class="string">'HCOR'</span> ; <span class="string">'VCOR'</span>; <span class="string">'K_Inj'</span>; <span class="string">'SEP_Inj'</span>};
+0264 
+0265             families=[col1_families(:); col2_families];
+0266             cnfdata.families=families;
+0267 
+0268             <span class="comment">%check boxes</span>
+0269             <span class="keyword">for</span> k=1:length(col1_families)
+0270                 cnfdata.handles.([col1_families{k} <span class="string">'chk'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0271                     <span class="string">'ToolTipString'</span>,<span class="string">'Check to include in configuration load'</span>,<span class="keyword">...</span>
+0272                     <span class="string">'Position'</span>,[x0+0.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,col1_families{k},<span class="keyword">...</span>
+0273                     <span class="string">'callback'</span>,<span class="string">'configgui(''CheckValid'')'</span>);
+0274                 cnfdata.handles.([col1_families{k} <span class="string">'flag'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0275                     <span class="string">'Position'</span>,[x0+0.22*dx,y0-(k-0.51)*dely,dx/5,dy/4],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">' '</span>,<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+0276             <span class="keyword">end</span>
+0277 
+0278             <span class="keyword">for</span> k=1:length(col2_families)
+0279                 cnfdata.handles.([col2_families{k} <span class="string">'chk'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0280                     <span class="string">'ToolTipString'</span>,<span class="string">'Check to include in configuration load'</span>,<span class="keyword">...</span>
+0281                     <span class="string">'Position'</span>,[x0+3.0*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,col2_families{k},<span class="keyword">...</span>
+0282                     <span class="string">'callback'</span>,<span class="string">'configgui(''CheckValid'')'</span>);
+0283                 cnfdata.handles.([col2_families{k} <span class="string">'flag'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0284                     <span class="string">'Position'</span>,[x0+2.7*dx,y0-(k-0.51)*dely,dx/5,dy/4],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">' '</span>,<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+0285             <span class="keyword">end</span>
+0286             <span class="comment">%select all</span>
+0287             x1 = 5.5;
+0288 
+0289             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0290                 <span class="string">'ToolTipString'</span>,<span class="string">'Select all families to include in configuration load'</span>,<span class="keyword">...</span>
+0291                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SelectAll'')'</span>,<span class="keyword">...</span>
+0292                 <span class="string">'Position'</span>,[x0+x1*dx,y0-1*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Select All'</span>);
+0293 
+0294             <span class="comment">%select none</span>
+0295             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0296                 <span class="string">'ToolTipString'</span>,<span class="string">'Select no families to include in configuration load'</span>,<span class="keyword">...</span>
+0297                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SelectNone'')'</span>,<span class="keyword">...</span>
+0298                 <span class="string">'Position'</span>,[x0+x1*dx,y0-2*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Select None'</span>);
+0299 
+0300             <span class="comment">%display partial configuration data</span>
+0301             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0302                 <span class="string">'ToolTipString'</span>,<span class="string">'Print configuration data to screen'</span>,<span class="keyword">...</span>
+0303                 <span class="string">'Callback'</span>,<span class="string">'configgui(''ShowMainConfiguration'')'</span>,<span class="keyword">...</span>
+0304                 <span class="string">'Position'</span>,[x0+x1*dx,y0-3*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Display Main Configuration'</span>);
+0305 
+0306             <span class="comment">%display full configuration</span>
+0307             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0308                 <span class="string">'ToolTipString'</span>,<span class="string">'Print configuration data to screen'</span>,<span class="keyword">...</span>
+0309                 <span class="string">'Callback'</span>,<span class="string">'configgui(''ShowConfiguration'')'</span>,<span class="keyword">...</span>
+0310                 <span class="string">'Position'</span>,[x0+x1*dx,y0-4*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Display Full Configuration'</span>);
+0311 
+0312             <span class="comment">%Cycle magnet when applying to machine</span>
+0313             setappdata(gcf,<span class="string">'cycling'</span>,0); <span class="comment">% checkbox not checked</span>
+0314             uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0315                 <span class="string">'ToolTipString'</span>,<span class="string">'Cycle magnet when applying to machine'</span>,<span class="keyword">...</span>
+0316                 <span class="string">'Callback'</span>,<span class="string">'setappdata(gcf,''cycling'',get(gcbo,''Value''));'</span>,<span class="keyword">...</span>
+0317                 <span class="string">'Position'</span>,[x0+x1*dx,y0-5.5*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Cycling'</span>);
+0318 
+0319             <span class="comment">%list box to display output dialog</span>
+0320             ts = [<span class="string">'Program Start-Up: '</span> datestr(now,0)];
+0321             cnfdata.handles.listbox=uicontrol(<span class="string">'Style'</span>,<span class="string">'list'</span>,<span class="string">'Units'</span>,<span class="string">'centimeters'</span>,<span class="string">'Position'</span>,[x0+0.5*dx y0-15.8*dely 10*dx 2*dy],<span class="string">'String'</span>,{ts});
+0322 
+0323             <span class="comment">%configuration display</span>
+0324             cnfdata.handles.configname=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0325                 <span class="string">'Position'</span>,[x0+0.5*dx y0-13*dely 8*dx dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="string">'String'</span>,<span class="string">' '</span>);
+0326 
+0327             <span class="comment">%Get Configuration</span>
+0328             x1 = 0.5; x2 = x1 + 1.5;
+0329             uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0330                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="keyword">...</span>
+0331                 <span class="string">'String'</span>,<span class="string">'Get Configuration from: '</span>);
+0332             <span class="comment">%machine</span>
+0333             cnfdata.handles.GetMachine=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0334                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Machine'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0335                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Machine'</span>,<span class="keyword">...</span>
+0336                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetMachineConfig'')'</span>);
+0337             cnfdata.handles.GetMachineTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0338                 <span class="string">'Position'</span>,[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0339 
+0340             <span class="comment">%desired</span>
+0341             cnfdata.handles.GetDesired=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0342                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Desired Setpoints '</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0343                 <span class="string">'Position'</span>,[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Desired'</span>,<span class="keyword">...</span>
+0344                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetDesiredConfig'')'</span>);
+0345             cnfdata.handles.GetDesiredTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0346                 <span class="string">'Position'</span>,[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0347 
+0348             <span class="comment">%file</span>
+0349             cnfdata.handles.GetFile=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0350                 <span class="string">'ToolTipString'</span>,<span class="string">'Read configuration from file'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0351                 <span class="string">'Position'</span>,[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'File'</span>,<span class="keyword">...</span>
+0352                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetFileConfig'')'</span>);
+0353             cnfdata.handles.GetFileTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0354                 <span class="string">'Position'</span>,[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0355             <span class="comment">%golden</span>
+0356             cnfdata.handles.GetGolden=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0357                 <span class="string">'ToolTipString'</span>,<span class="string">'Read configuration from Golden'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0358                 <span class="string">'Position'</span>,[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Golden'</span>,<span class="keyword">...</span>
+0359                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetGoldenConfig'')'</span>);
+0360             cnfdata.handles.GetGoldenTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0361                 <span class="string">'Position'</span>,[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0362             <span class="comment">%simulator</span>
+0363             cnfdata.handles.GetSimulator=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0364                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Simulator'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0365                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Simulator'</span>,<span class="keyword">...</span>
+0366                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetSimulatorConfig'')'</span>);
+0367             cnfdata.handles.GetSimulatorTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0368                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0369 
+0370             <span class="comment">%workspace</span>
+0371             cnfdata.handles.GetWorkspace=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0372                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from WorkSpace'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0373                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Workspace'</span>,<span class="keyword">...</span>
+0374                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetWorkspaceConfig'')'</span>);
+0375             cnfdata.handles.GetWorkspaceTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0376                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0377 
+0378             <span class="comment">%Set Configuration</span>
+0379             x1 = 5.5; x2= x1+1.5;
+0380             uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0381                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7*dely,3*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="string">'String'</span>,<span class="string">'Set Configuration to: '</span>);
+0382             <span class="comment">%machine</span>
+0383             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0384                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Machine (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0385                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Machine'</span>,<span class="keyword">...</span>
+0386                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetMachineConfig'')'</span>);
+0387             cnfdata.handles.LoadMachineTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0388                 <span class="string">'Position'</span>,[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0389 
+0390             <span class="comment">%desired setpoints</span>
+0391             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0392                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Desired Setpoints (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0393                 <span class="string">'Position'</span>,[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Desired'</span>,<span class="keyword">...</span>
+0394                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetDesiredConfig'')'</span>);
+0395             cnfdata.handles.LoadDesiredTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0396                 <span class="string">'Position'</span>,[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0397 
+0398             <span class="comment">%file</span>
+0399             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0400                 <span class="string">'ToolTipString'</span>,<span class="string">'Write configuration to file (all families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0401                 <span class="string">'Position'</span>,[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'File'</span>,<span class="keyword">...</span>
+0402                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetFileConfig'')'</span>);
+0403             cnfdata.handles.LoadFileTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0404                 <span class="string">'Position'</span>,[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0405             <span class="comment">%golden</span>
+0406             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0407                 <span class="string">'ToolTipString'</span>,<span class="string">'Write configuration to Golden (all families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0408                 <span class="string">'Position'</span>,[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Golden'</span>,<span class="keyword">...</span>
+0409                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetGoldenConfig'')'</span>);
+0410             cnfdata.handles.LoadGoldenTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0411                 <span class="string">'Position'</span>,[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0412             <span class="comment">%simulator</span>
+0413             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0414                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Simulator (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0415                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Simulator'</span>,<span class="keyword">...</span>
+0416                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetSimulatorConfig'')'</span>);
+0417             cnfdata.handles.LoadSimulatorTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0418                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0419 
+0420             <span class="comment">%workspace</span>
+0421             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0422                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Workspace (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0423                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Workspace'</span>,<span class="keyword">...</span>
+0424                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetWorkspaceConfig'')'</span>);
+0425             cnfdata.handles.LoadWorkspaceTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0426                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0427         
+0428      
+0429         <span class="keyword">case</span> <span class="string">'StorageRing'</span>
+0430 
+0431             [screen_wide, screen_high]=screensizecm;
+0432             x0=0.01*screen_wide ; dx=0.04*screen_wide; y0=0.48*screen_high; dy=0.04*screen_high; dely=0.03*screen_high;
+0433 
+0434             col1_families={<span class="string">'BEND'</span>; <span class="string">'HCOR'</span> ; <span class="string">'VCOR'</span>; <span class="string">'QT'</span>};
+0435             col2_families={<span class="string">'Q1'</span>; <span class="string">'Q2'</span>; <span class="string">'Q3'</span>; <span class="string">'Q4'</span>; <span class="string">'Q5'</span>};
+0436             col3_families={<span class="string">'Q6'</span>; <span class="string">'Q7'</span>; <span class="string">'Q8'</span>; <span class="string">'Q9'</span>; <span class="string">'Q10'</span>};
+0437             col4_families={<span class="string">'S1'</span>; <span class="string">'S2'</span>; <span class="string">'S3'</span>; <span class="string">'S4'</span>; <span class="string">'S5'</span>};
+0438             col5_families={<span class="string">'S6'</span>; <span class="string">'S7'</span>; <span class="string">'S8'</span>; <span class="string">'S9'</span>; <span class="string">'S10'</span>};
+0439 
+0440             families=[col1_families(:); col2_families(:); col3_families(:) ; col4_families(:) ; col5_families(:)];
+0441             cnfdata.families=families;
+0442 
+0443             <span class="comment">%check boxes</span>
+0444             <span class="keyword">for</span> k=1:length(col1_families)
+0445                 cnfdata.handles.([col1_families{k} <span class="string">'chk'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0446                     <span class="string">'ToolTipString'</span>,<span class="string">'Check to include in configuration load'</span>,<span class="keyword">...</span>
+0447                     <span class="string">'Position'</span>,[x0+0.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,col1_families{k},<span class="keyword">...</span>
+0448                     <span class="string">'callback'</span>,<span class="string">'configgui(''CheckValid'')'</span>);
+0449                 cnfdata.handles.([col1_families{k} <span class="string">'flag'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0450                     <span class="string">'Position'</span>,[x0+0.22*dx,y0-(k-0.51)*dely,dx/5,dy/4],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">' '</span>,<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+0451 
+0452             <span class="keyword">end</span>
+0453 
+0454             <span class="keyword">for</span> k=1:length(col2_families),
+0455                 cnfdata.handles.([col2_families{k} <span class="string">'chk'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0456                     <span class="string">'ToolTipString'</span>,<span class="string">'Check to include in configuration load'</span>,<span class="keyword">...</span>
+0457                     <span class="string">'Position'</span>,[x0+3.0*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,col2_families{k},<span class="keyword">...</span>
+0458                     <span class="string">'callback'</span>,<span class="string">'configgui(''CheckValid'')'</span>);
+0459                 cnfdata.handles.([col2_families{k} <span class="string">'flag'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0460                     <span class="string">'Position'</span>,[x0+2.7*dx,y0-(k-0.51)*dely,dx/5,dy/4],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">' '</span>,<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+0461             <span class="keyword">end</span>
+0462 
+0463             <span class="keyword">for</span> k=1:length(col3_families),
+0464                 cnfdata.handles.([col3_families{k} <span class="string">'chk'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0465                     <span class="string">'ToolTipString'</span>,<span class="string">'Check to include in configuration load'</span>,<span class="keyword">...</span>
+0466                     <span class="string">'Position'</span>,[x0+5.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,col3_families{k},<span class="keyword">...</span>
+0467                     <span class="string">'callback'</span>,<span class="string">'configgui(''CheckValid'')'</span>);
+0468                 cnfdata.handles.([col3_families{k} <span class="string">'flag'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0469                     <span class="string">'Position'</span>,[x0+5.2*dx,y0-(k-0.51)*dely,dx/5,dy/4],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">' '</span>,<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+0470             <span class="keyword">end</span>
+0471 
+0472             <span class="keyword">for</span> k=1:length(col4_families),
+0473                 cnfdata.handles.([col4_families{k} <span class="string">'chk'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0474                     <span class="string">'ToolTipString'</span>,<span class="string">'Check to include in configuration load'</span>,<span class="keyword">...</span>
+0475                     <span class="string">'Position'</span>,[x0+8.0*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,col4_families{k},<span class="keyword">...</span>
+0476                     <span class="string">'callback'</span>,<span class="string">'configgui(''CheckValid'')'</span>);
+0477                 cnfdata.handles.([col4_families{k} <span class="string">'flag'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0478                     <span class="string">'Position'</span>,[x0+7.7*dx,y0-(k-0.51)*dely,dx/5,dy/4],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">' '</span>,<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+0479             <span class="keyword">end</span>
+0480 
+0481             <span class="keyword">for</span> k=1:length(col5_families),
+0482                 cnfdata.handles.([col5_families{k} <span class="string">'chk'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'checkbox'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0483                     <span class="string">'ToolTipString'</span>,<span class="string">'Check to include in configuration load'</span>,<span class="keyword">...</span>
+0484                     <span class="string">'Position'</span>,[x0+10.5*dx,y0-(k-0.33)*dely,1.8*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,col5_families{k},<span class="keyword">...</span>
+0485                     <span class="string">'callback'</span>,<span class="string">'configgui(''CheckValid'')'</span>);
+0486                 cnfdata.handles.([col5_families{k} <span class="string">'flag'</span>])=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0487                     <span class="string">'Position'</span>,[x0+10.2*dx,y0-(k-0.51)*dely,dx/5,dy/4],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">' '</span>,<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+0488             <span class="keyword">end</span>
+0489 
+0490             <span class="comment">%select all</span>
+0491             x1 = 10.5;
+0492             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0493                 <span class="string">'ToolTipString'</span>,<span class="string">'Select all families to include in configuration load'</span>,<span class="keyword">...</span>
+0494                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SelectAll'')'</span>,<span class="keyword">...</span>
+0495                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Select All'</span>);
+0496 
+0497             <span class="comment">%select all quad</span>
+0498             x1 = 10.5;
+0499             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0500                 <span class="string">'ToolTipString'</span>,<span class="string">'Select all families to include in configuration load'</span>,<span class="keyword">...</span>
+0501                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SelectAllQuad'')'</span>,<span class="keyword">...</span>
+0502                 <span class="string">'Position'</span>,[x0+x1*dx + 2.1*dx,y0-7*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Select All Quad'</span>);
+0503 
+0504             <span class="comment">%select all sextu</span>
+0505             x1 = 10.5;
+0506             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0507                 <span class="string">'ToolTipString'</span>,<span class="string">'Select all families to include in configuration load'</span>,<span class="keyword">...</span>
+0508                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SelectAllSextu'')'</span>,<span class="keyword">...</span>
+0509                 <span class="string">'Position'</span>,[x0+x1*dx + 2.1*dx,y0-8.0*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Select All Sextu'</span>);
+0510             
+0511             <span class="comment">%select none</span>
+0512             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0513                 <span class="string">'ToolTipString'</span>,<span class="string">'Select no families to include in configuration load'</span>,<span class="keyword">...</span>
+0514                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SelectNone'')'</span>,<span class="keyword">...</span>
+0515                 <span class="string">'Position'</span>,[x0+x1*dx,y0-8.0*dely,2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Select None'</span>);
+0516 
+0517             <span class="comment">%display partial configuration data</span>
+0518             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0519                 <span class="string">'ToolTipString'</span>,<span class="string">'Print configuration data to screen'</span>,<span class="keyword">...</span>
+0520                 <span class="string">'Callback'</span>,<span class="string">'configgui(''ShowMainConfiguration'')'</span>,<span class="keyword">...</span>
+0521                 <span class="string">'Position'</span>,[x0+x1*dx,y0-9.0*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Display Main Configuration'</span>);
+0522 
+0523             <span class="comment">%display full configuration</span>
+0524             uicontrol(<span class="string">'Style'</span>,<span class="string">'pushbutton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0525                 <span class="string">'ToolTipString'</span>,<span class="string">'Print configuration data to screen'</span>,<span class="keyword">...</span>
+0526                 <span class="string">'Callback'</span>,<span class="string">'configgui(''ShowConfiguration'')'</span>,<span class="keyword">...</span>
+0527                 <span class="string">'Position'</span>,[x0+x1*dx,y0-10*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Display Full Configuration'</span>);
+0528 
+0529             <span class="comment">%list box to display output dialog</span>
+0530             ts = [<span class="string">'Program Start-Up: '</span> datestr(now,0)];
+0531             cnfdata.handles.listbox=uicontrol(<span class="string">'Style'</span>,<span class="string">'list'</span>,<span class="string">'Units'</span>,<span class="string">'centimeters'</span>,<span class="string">'Position'</span>,[x0+0.5*dx y0-15.8*dely 10*dx 2*dy],<span class="string">'String'</span>,{ts});
+0532 
+0533             <span class="comment">%configuration display</span>
+0534             cnfdata.handles.configname=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0535                 <span class="string">'Position'</span>,[x0+0.5*dx y0-13*dely 8*dx dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="string">'String'</span>,<span class="string">' '</span>);
+0536 
+0537             <span class="comment">%Get Configuration</span>
+0538             x1 = 0.5; x2 = x1 + 1.5;
+0539             uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0540                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7*dely,3.5*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="keyword">...</span>
+0541                 <span class="string">'String'</span>,<span class="string">'Get Configuration from: '</span>);
+0542             <span class="comment">%machine</span>
+0543             cnfdata.handles.GetMachine=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0544                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Machine'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0545                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Machine'</span>,<span class="keyword">...</span>
+0546                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetMachineConfig'')'</span>);
+0547             cnfdata.handles.GetMachineTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0548                 <span class="string">'Position'</span>,[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0549 
+0550             <span class="comment">%desired</span>
+0551             cnfdata.handles.GetDesired=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0552                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Desired Setpoints (SPEAR 3)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0553                 <span class="string">'Position'</span>,[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Desired'</span>,<span class="keyword">...</span>
+0554                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetDesiredConfig'')'</span>);
+0555             cnfdata.handles.GetDesiredTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0556                 <span class="string">'Position'</span>,[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0557 
+0558             <span class="comment">%file</span>
+0559             cnfdata.handles.GetFile=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0560                 <span class="string">'ToolTipString'</span>,<span class="string">'Read configuration from file'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0561                 <span class="string">'Position'</span>,[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'File'</span>,<span class="keyword">...</span>
+0562                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetFileConfig'')'</span>);
+0563             cnfdata.handles.GetFileTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0564                 <span class="string">'Position'</span>,[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0565             <span class="comment">%golden</span>
+0566             cnfdata.handles.GetGolden=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0567                 <span class="string">'ToolTipString'</span>,<span class="string">'Read configuration from Golden'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0568                 <span class="string">'Position'</span>,[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Golden'</span>,<span class="keyword">...</span>
+0569                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetGoldenConfig'')'</span>);
+0570             cnfdata.handles.GetGoldenTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0571                 <span class="string">'Position'</span>,[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0572             <span class="comment">%simulator</span>
+0573             cnfdata.handles.GetSimulator=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0574                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from Simulator'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0575                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Simulator'</span>,<span class="keyword">...</span>
+0576                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetSimulatorConfig'')'</span>);
+0577             cnfdata.handles.GetSimulatorTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0578                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0579 
+0580             <span class="comment">%workspace</span>
+0581             cnfdata.handles.GetWorkspace=uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0582                 <span class="string">'ToolTipString'</span>,<span class="string">'Acquire configuration from WorkSpace'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0583                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Workspace'</span>,<span class="keyword">...</span>
+0584                 <span class="string">'Callback'</span>,<span class="string">'configgui(''GetWorkspaceConfig'')'</span>);
+0585             cnfdata.handles.GetWorkspaceTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0586                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0587 
+0588             <span class="comment">%Set Configuration</span>
+0589             x1 = 5.5; x2= x1+1.5;
+0590             uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>,<span class="string">'FontWeight'</span>,<span class="string">'demi'</span>, <span class="keyword">...</span>
+0591                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7*dely,3*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'left'</span>,<span class="string">'String'</span>,<span class="string">'Set Configuration to: '</span>);
+0592             <span class="comment">%machine</span>
+0593             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0594                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Machine (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0595                 <span class="string">'Position'</span>,[x0+x1*dx,y0-7.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Machine'</span>,<span class="keyword">...</span>
+0596                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetMachineConfig'')'</span>);
+0597             cnfdata.handles.LoadMachineTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0598                 <span class="string">'Position'</span>,[x0+x2*dx,y0-7.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0599 
+0600             <span class="comment">%desired setpoints</span>
+0601             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0602                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Desired Setpoints (SPEAR 3, only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0603                 <span class="string">'Position'</span>,[x0+x1*dx,y0-8.6*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Desired'</span>,<span class="keyword">...</span>
+0604                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetDesiredConfig'')'</span>);
+0605             cnfdata.handles.LoadDesiredTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0606                 <span class="string">'Position'</span>,[x0+x2*dx,y0-8.6*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0607 
+0608             <span class="comment">%file</span>
+0609             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0610                 <span class="string">'ToolTipString'</span>,<span class="string">'Write configuration to file (all families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0611                 <span class="string">'Position'</span>,[x0+x1*dx,y0-9.4*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'File'</span>,<span class="keyword">...</span>
+0612                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetFileConfig'')'</span>);
+0613             cnfdata.handles.LoadFileTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0614                 <span class="string">'Position'</span>,[x0+x2*dx,y0-9.4*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0615             <span class="comment">%golden</span>
+0616             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0617                 <span class="string">'ToolTipString'</span>,<span class="string">'Write configuration to Golden (all families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0618                 <span class="string">'Position'</span>,[x0+x1*dx,y0-10.2*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Golden'</span>,<span class="keyword">...</span>
+0619                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetGoldenConfig'')'</span>);
+0620             cnfdata.handles.LoadGoldenTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0621                 <span class="string">'Position'</span>,[x0+x2*dx,y0-10.2*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0622             <span class="comment">%simulator</span>
+0623             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0624                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Simulator (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0625                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Simulator'</span>,<span class="keyword">...</span>
+0626                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetSimulatorConfig'')'</span>);
+0627             cnfdata.handles.LoadSimulatorTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0628                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0629 
+0630             <span class="comment">%workspace</span>
+0631             uicontrol(<span class="string">'Style'</span>,<span class="string">'PushButton'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0632                 <span class="string">'ToolTipString'</span>,<span class="string">'Load configuration to Workspace (only selected families)'</span>,<span class="string">'BackGroundColor'</span>,[1 1 1],<span class="keyword">...</span>
+0633                 <span class="string">'Position'</span>,[x0+x1*dx,y0-11.8*dely,1.2*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">'Workspace'</span>,<span class="keyword">...</span>
+0634                 <span class="string">'Callback'</span>,<span class="string">'configgui(''SetWorkspaceConfig'')'</span>);
+0635             cnfdata.handles.LoadWorkspaceTime=uicontrol(<span class="string">'Style'</span>,<span class="string">'text'</span>,<span class="string">'units'</span>, <span class="string">'centimeters'</span>, <span class="keyword">...</span>
+0636                 <span class="string">'Position'</span>,[x0+x2*dx,y0-11.8*dely,3.0*dx,dy/2],<span class="string">'HorizontalAlignment'</span>,<span class="string">'center'</span>,<span class="string">'String'</span>,<span class="string">''</span>);
+0637 
+0638         <span class="keyword">otherwise</span>
+0639             error(<span class="string">'wrong Machine'</span>);
+0640             set(h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>);
+0641     <span class="keyword">end</span>
+0642         setappdata(h,<span class="string">'configguidata'</span>,cnfdata);
+0643         
+0644     <span class="comment">%============================================================</span>
+0645     <span class="keyword">case</span> <span class="string">'CheckValid'</span>
+0646     <span class="comment">%============================================================</span>
+0647         val=get(gcbo,<span class="string">'Value'</span>);
+0648         <span class="keyword">if</span> val==1
+0649             family=get(gcbo,<span class="string">'String'</span>);
+0650             <span class="keyword">if</span> get(cnfdata.handles.([family <span class="string">'flag'</span>]),<span class="string">'BackGroundColor'</span>)==[1 0 0];  <span class="comment">%red</span>
+0651                 set(gcbo,<span class="string">'Value'</span>,0);
+0652             <span class="keyword">end</span>
+0653         <span class="keyword">end</span>
+0654         
+0655     <span class="comment">%============================================================</span>
+0656     <span class="keyword">case</span> <span class="string">'GetMachineConfig'</span>
+0657     <span class="comment">%============================================================</span>
+0658         <span class="comment">% get configuration from Machine</span>
+0659         
+0660         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0661         cnfdata.SetpointData=[];
+0662         cnfdata.MonitorData=[];
+0663         
+0664         
+0665         [cnfdata.SetpointData,cnfdata.MonitorData]=getmachineconfig(<span class="string">'online'</span>);
+0666         
+0667         setappdata(h,<span class="string">'configguidata'</span>,cnfdata);
+0668         
+0669         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowActiveFamilies'</span>);
+0670         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowLastGet'</span>);
+0671         
+0672         set(cnfdata.handles.GetMachineTime,<span class="string">'String'</span>,datestr(now,0));
+0673         set(cnfdata.handles.configname,<span class="string">'String'</span>, <span class="string">'Machine Configuration'</span>);
+0674         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Get Configuration from Machine '</span>);
+0675         
+0676     <span class="comment">%============================================================</span>
+0677     <span class="keyword">case</span> <span class="string">'GetDesiredConfig'</span>
+0678     <span class="comment">%============================================================</span>
+0679         <span class="comment">% get configuration from Desired Setpoints (SPEAR 3)</span>
+0680         
+0681         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0682         <span class="comment">%get configuration from machine</span>
+0683         [cnfdata.SetpointData,cnfdata.MonitorData]=getmachineconfig(<span class="string">'online'</span>);
+0684         <span class="comment">%load Desired values into Data field</span>
+0685         ao=getao;
+0686         <span class="keyword">for</span> k=1:length(cnfdata.families)
+0687             family=cnfdata.families{k};
+0688             <span class="keyword">if</span> isfield(ao.(family),<span class="string">'Desired'</span>);
+0689                 cnfdata.SetpointData.(family).Data=getpv(family,<span class="string">'Desired'</span>,[]);
+0690                 cnfdata.MonitorData.(family).Data=cnfdata.SetpointData.(family).Data;
+0691             <span class="keyword">end</span>
+0692         <span class="keyword">end</span>
+0693         
+0694         setappdata(h,<span class="string">'configguidata'</span>,cnfdata);
+0695         
+0696         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowActiveFamilies'</span>);
+0697         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowLastGet'</span>);
+0698         
+0699         
+0700         set(cnfdata.handles.configname,<span class="string">'String'</span>, <span class="string">'Desired Setpoint Configuration'</span>);
+0701         set(cnfdata.handles.GetDesiredTime,<span class="string">'String'</span>,datestr(now,0));
+0702         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Load Desired Setpoints into Machine Configuration'</span>);
+0703         
+0704     <span class="comment">%============================================================</span>
+0705     <span class="keyword">case</span> <span class="string">'GetFileConfig'</span>
+0706     <span class="comment">%============================================================</span>
+0707         <span class="comment">%load configuration file via browser</span>
+0708         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0709         
+0710         DirSpec   =  getfamilydata(<span class="string">'Directory'</span>,<span class="string">'ConfigData'</span>);           <span class="comment">%default to Configuration data directory</span>
+0711         FileName  =  [];                                <span class="comment">%no default file</span>
+0712         [FileName, DirSpec] = uigetfile(<span class="string">'*.mat'</span>,<span class="string">'Select Configuration File'</span>,[DirSpec FileName]);
+0713         FileSpec = [DirSpec FileName];
+0714         
+0715         <span class="keyword">try</span>
+0716             cnf=load([DirSpec FileName]);          <span class="comment">%load configuration from archive</span>
+0717         <span class="keyword">catch</span>
+0718             <span class="keyword">return</span>
+0719         <span class="keyword">end</span>
+0720         
+0721         cnfdata.SetpointData=[];
+0722         cnfdata.MonitorData=[];
+0723         
+0724         cnfdata.SetpointData=cnf.ConfigSetpoint;
+0725         cnfdata.MonitorData =cnf.ConfigMonitor;
+0726         
+0727         set(cnfdata.handles.configname,<span class="string">'String'</span>, [<span class="string">'File Configuration: '</span> FileName]);
+0728         
+0729         setappdata(h,<span class="string">'configguidata'</span>,cnfdata);
+0730         
+0731         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowActiveFamilies'</span>);
+0732         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowLastGet'</span>);
+0733         
+0734         
+0735         set(cnfdata.handles.GetFileTime,<span class="string">'String'</span>,datestr(now,0));
+0736         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Get Configuration from File '</span>);
+0737         
+0738     <span class="comment">%============================================================</span>
+0739     <span class="keyword">case</span> <span class="string">'GetGoldenConfig'</span>
+0740     <span class="comment">%============================================================</span>
+0741         <span class="comment">% get configuration from Golden File (PhysData)</span>
+0742         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0743         cnfdata.SetpointData=[];
+0744         cnfdata.MonitorData=[];
+0745         
+0746         FileName = getfamilydata(<span class="string">'OpsData'</span>, <span class="string">'LatticeFile'</span>);
+0747         DirectoryName = getfamilydata(<span class="string">'Directory'</span>, <span class="string">'OpsData'</span>);
+0748         cnf=load([DirectoryName FileName]);
+0749         
+0750         cnfdata.SetpointData=cnf.ConfigSetpoint;
+0751         cnfdata.MonitorData =cnf.ConfigMonitor;
+0752         
+0753         setappdata(h,<span class="string">'configguidata'</span>,cnfdata);
+0754         
+0755         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowActiveFamilies'</span>);
+0756         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowLastGet'</span>);
+0757         
+0758         
+0759         set(cnfdata.handles.configname,<span class="string">'String'</span>, <span class="string">'File Configuration: Golden'</span>);
+0760         set(cnfdata.handles.GetGoldenTime,<span class="string">'String'</span>,datestr(now,0));
+0761         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Get Golden Configuration '</span>);
+0762         
+0763    <span class="comment">%============================================================</span>
+0764     <span class="keyword">case</span> <span class="string">'GetSimulatorConfig'</span>
+0765    <span class="comment">%============================================================</span>
+0766         <span class="comment">% get configuration from Simulator</span>
+0767         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0768         cnfdata.SetpointData=[];
+0769         cnfdata.MonitorData=[];
+0770         [cnfdata.SetpointData,cnfdata.MonitorData] = getmachineconfig(<span class="string">'simulator'</span>);
+0771         
+0772         setappdata(h,<span class="string">'configguidata'</span>,cnfdata);
+0773         
+0774         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowActiveFamilies'</span>);
+0775         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowLastGet'</span>);
+0776         
+0777         set(cnfdata.handles.configname,<span class="string">'String'</span>, <span class="string">'Simulator Configuration'</span>);
+0778         set(cnfdata.handles.GetSimulatorTime,<span class="string">'String'</span>,datestr(now,0));
+0779         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Get Configuration from Simulator '</span>);
+0780         
+0781     <span class="comment">%============================================================</span>
+0782     <span class="keyword">case</span> <span class="string">'GetWorkspaceConfig'</span>
+0783     <span class="comment">%============================================================</span>
+0784         <span class="comment">% get configuration from Workspace</span>
+0785         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0786         
+0787         <span class="comment">%load setpoint data</span>
+0788         evalin(<span class="string">'base'</span>,[<span class="string">'if exist(''SetpointData'');'</span>,<span class="keyword">...</span>
+0789                 <span class="string">'h=findobj(0,''Tag'',''cnffig'');'</span>,<span class="keyword">...</span>
+0790                 <span class="string">'cnfdata=getappdata(h,''configguidata'');'</span>,<span class="keyword">...</span>
+0791                 <span class="string">'cnfdata.SetpointData=SetpointData;'</span>,<span class="keyword">...</span>
+0792                 <span class="string">'setappdata(h,''configguidata'',cnfdata);'</span>,<span class="keyword">...</span>
+0793                 <span class="string">'disp(''   Setpoint configuration found in workspace'');'</span>,<span class="keyword">...</span>
+0794                 <span class="string">'else;'</span>,<span class="keyword">...</span>
+0795                 <span class="string">'disp(''   No Setpoint configuration found in workspace'');'</span>,<span class="keyword">...</span>
+0796                 <span class="string">'end;'</span>]);
+0797         
+0798         <span class="comment">%load monitor data</span>
+0799         evalin(<span class="string">'base'</span>,[<span class="string">'if exist(''MonitorData'');'</span>,<span class="keyword">...</span>
+0800                 <span class="string">'h=findobj(0,''Tag'',''cnffig'');'</span>,<span class="keyword">...</span>
+0801                 <span class="string">'cnfdata=getappdata(h,''configguidata'');'</span>,<span class="keyword">...</span>
+0802                 <span class="string">'cnfdata.MonitorData=MonitorData;'</span>,<span class="keyword">...</span>
+0803                 <span class="string">'setappdata(h,''configguidata'',cnfdata);'</span>,<span class="keyword">...</span>
+0804                 <span class="string">'disp(''   Monitor configuration found in workspace'');'</span>,<span class="keyword">...</span>
+0805                 <span class="string">'else;'</span>,<span class="keyword">...</span>
+0806                 <span class="string">'disp(''   No Monitor configuration found in workspace'');'</span>,<span class="keyword">...</span>
+0807                 <span class="string">'end;'</span>]);
+0808         
+0809         
+0810         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowActiveFamilies'</span>);
+0811         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'ShowLastGet'</span>);
+0812         
+0813         set(cnfdata.handles.configname,<span class="string">'String'</span>, <span class="string">'Workspace Configuration'</span>);
+0814         set(cnfdata.handles.GetWorkspaceTime,<span class="string">'String'</span>,datestr(now,0));
+0815         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Get Configuration from Workspace '</span>);
+0816         
+0817         
+0818     <span class="comment">%============================================================</span>
+0819     <span class="keyword">case</span> <span class="string">'ShowLastGet'</span>
+0820     <span class="comment">%============================================================</span>
+0821         <span class="comment">%Turn last 'Get' pushbutton green</span>
+0822         
+0823         
+0824         set(cnfdata.handles.GetMachine,<span class="string">'BackGroundColor'</span>,[1 1 1]);
+0825         set(cnfdata.handles.GetDesired,<span class="string">'BackGroundColor'</span>,[1 1 1]);
+0826         set(cnfdata.handles.GetFile,<span class="string">'BackGroundColor'</span>,[1 1 1]);
+0827         set(cnfdata.handles.GetGolden,<span class="string">'BackGroundColor'</span>,[1 1 1]);
+0828         set(cnfdata.handles.GetSimulator,<span class="string">'BackGroundColor'</span>,[1 1 1]);
+0829         set(cnfdata.handles.GetWorkspace,<span class="string">'BackGroundColor'</span>,[1 1 1]);
+0830         
+0831         set(gcbo,<span class="string">'BackGroundColor'</span>,<span class="string">'g'</span>);
+0832         
+0833     <span class="comment">%============================================================</span>
+0834     <span class="keyword">case</span> <span class="string">'SetMachineConfig'</span>
+0835     <span class="comment">%============================================================</span>
+0836         <span class="comment">%Set/Load configuration to machine</span>
+0837         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0838         <span class="keyword">if</span>      strcmpi(cnfdata.field,<span class="string">'setpoint'</span>)
+0839             cnf=cnfdata.SetpointData;
+0840         <span class="keyword">elseif</span>  strcmpi(cnfdata.field,<span class="string">'monitor'</span>)
+0841             cnf=cnfdata.MonitorData;
+0842         <span class="keyword">end</span>
+0843         
+0844         <span class="comment">%find which families are active</span>
+0845         config=[];
+0846         <span class="keyword">for</span> k=1:length(cnfdata.families)
+0847             family=cnfdata.families{k};
+0848             <span class="keyword">if</span> get(cnfdata.handles.([family <span class="string">'chk'</span>]),<span class="string">'Value'</span>)==1
+0849                 config.(family)=cnf.(family);
+0850             <span class="keyword">end</span>
+0851         <span class="keyword">end</span>
+0852         
+0853         <span class="keyword">if</span> isempty(config)
+0854             <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' No families loaded Online '</span>);
+0855             <span class="keyword">return</span>
+0856         <span class="keyword">end</span>
+0857         
+0858         <span class="keyword">if</span> getappdata(gcf,<span class="string">'cycling'</span>)
+0859             disp(<span class="string">'cycling not implemented yet!!!'</span>)
+0860         <span class="keyword">end</span>
+0861         setmachineconfig(config,<span class="string">'online'</span>);
+0862         
+0863         set(cnfdata.handles.LoadMachineTime,<span class="string">'String'</span>,datestr(now,0));
+0864         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Load Configuration to Machine '</span>);
+0865         
+0866     <span class="comment">%============================================================</span>
+0867     <span class="keyword">case</span> <span class="string">'SetDesiredConfig'</span>
+0868     <span class="comment">%============================================================</span>
+0869         <span class="comment">%Set configuration to Desired Setpoints (SPEAR 3 application)</span>
+0870         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0871         <span class="keyword">for</span> k=1:length(cnfdata.families)
+0872             family=cnfdata.families{k};
+0873             <span class="keyword">if</span> get(cnfdata.handles.([family <span class="string">'chk'</span>]),<span class="string">'Value'</span>)==1
+0874                 <span class="keyword">if</span> (~strcmpi(family,<span class="string">'HCOR'</span>) &amp;&amp; ~strcmpi(family,<span class="string">'VCOR'</span>) &amp;&amp; ~strcmpi(family,<span class="string">'SkewQuad'</span>) &amp; ~strcmpi(family,<span class="string">'BEND'</span>))
+0875                     DeviceList=family2dev(family);
+0876                     Desired=cnfdata.SetpointData.(family).Data;
+0877                     setpv(family,<span class="string">'Desired'</span>,Desired,DeviceList);
+0878                 <span class="keyword">end</span>
+0879             <span class="keyword">end</span>
+0880         <span class="keyword">end</span>
+0881         
+0882         set(cnfdata.handles.LoadDesiredTime,<span class="string">'String'</span>,datestr(now,0));
+0883         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Load Configuration to Desired Setpoints'</span>);
+0884         
+0885     <span class="comment">%============================================================</span>
+0886     <span class="keyword">case</span> <span class="string">'SetFileConfig'</span>
+0887     <span class="comment">%============================================================</span>
+0888         <span class="comment">%Set/Write configuration to file</span>
+0889         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0890         <span class="comment">% Determine file and directory name</span>
+0891         FileName = getfamilydata(<span class="string">'Default'</span>,<span class="string">'CNFArchiveFile'</span>);
+0892         DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'ConfigData'</span>);
+0893         FileName = appendtimestamp(FileName, clock);
+0894         [FileName, DirectoryName] = uiputfile(<span class="string">'*.mat'</span>,<span class="string">'Save Lattice to ...'</span>, [DirectoryName FileName]);
+0895         <span class="keyword">if</span> FileName == 0 
+0896             fprintf(<span class="string">'   File not saved (getmachineconfig)\n'</span>);
+0897             <span class="keyword">return</span>;
+0898         <span class="keyword">end</span>
+0899         
+0900         <span class="comment">% Save all data in structure to file</span>
+0901         DirStart = pwd;
+0902         [DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);  
+0903         ConfigSetpoint=cnfdata.SetpointData;
+0904         ConfigMonitor=cnfdata.MonitorData;
+0905         <span class="keyword">try</span>
+0906             save(FileName, <span class="string">'ConfigSetpoint'</span>, <span class="string">'ConfigMonitor'</span>);
+0907         <span class="keyword">catch</span>
+0908             cd(DirStart);
+0909             <span class="keyword">return</span>
+0910         <span class="keyword">end</span>
+0911         cd(DirStart);
+0912         
+0913         set(cnfdata.handles.LoadFileTime,<span class="string">'String'</span>,datestr(now,0));
+0914         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Write Configuration to File '</span>);
+0915         
+0916     <span class="comment">%============================================================</span>
+0917     <span class="keyword">case</span> <span class="string">'SetGoldenConfig'</span>
+0918     <span class="comment">%============================================================</span>
+0919         <span class="comment">%Set/Write configuration to Golden</span>
+0920         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0921         FileName = getfamilydata(<span class="string">'OpsData'</span>,<span class="string">'LatticeFile'</span>);
+0922         DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'OpsData'</span>);
+0923         AnswerString = questdlg(strvcat(<span class="string">'Are you sure you want to overwrite the default lattice file?'</span>,sprintf(<span class="string">'File: %s'</span>,[DirectoryName FileName])),<span class="string">'Default Lattice'</span>,<span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'No'</span>);
+0924         <span class="keyword">if</span> strcmp(AnswerString,<span class="string">'Yes'</span>)
+0925             [DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);
+0926             FileName = getfamilydata(<span class="string">'OpsData'</span>, <span class="string">'LatticeFile'</span>);
+0927             DirectoryName = getfamilydata(<span class="string">'Directory'</span>, <span class="string">'OpsData'</span>);
+0928             ConfigSetpoint=cnfdata.SetpointData;
+0929             ConfigMonitor=cnfdata.MonitorData;
+0930             save(FileName, <span class="string">'ConfigMonitor'</span>, <span class="string">'ConfigSetpoint'</span>);
+0931         <span class="keyword">else</span>
+0932             fprintf(<span class="string">'   File not saved (getmachineconfig)\n'</span>);
+0933             <span class="keyword">return</span>;
+0934         <span class="keyword">end</span>
+0935         
+0936         set(cnfdata.handles.LoadGoldenTime,<span class="string">'String'</span>,datestr(now,0));
+0937         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Write Configuration to Golden '</span>);
+0938         
+0939     <span class="comment">%============================================================</span>
+0940     <span class="keyword">case</span> <span class="string">'SetSimulatorConfig'</span>
+0941     <span class="comment">%============================================================</span>
+0942         <span class="comment">%Set/Load configuration to simulator</span>
+0943         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0944         <span class="comment">%find which families are active</span>
+0945         families=[];
+0946         <span class="keyword">for</span> k=1:length(cnfdata.families)
+0947             family=cnfdata.families{k};
+0948             <span class="keyword">if</span> get(cnfdata.handles.([family <span class="string">'chk'</span>]),<span class="string">'Value'</span>)==1
+0949                 families.([<span class="string">'f'</span> num2str(k)])=family;
+0950             <span class="keyword">end</span>
+0951         <span class="keyword">end</span>
+0952         
+0953         <span class="keyword">if</span> isempty(families)
+0954             <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' No families loaded to Simulator '</span>);
+0955             <span class="keyword">return</span>
+0956         <span class="keyword">else</span>
+0957             families=struct2cell(families);
+0958         <span class="keyword">end</span>
+0959         
+0960         <span class="keyword">if</span>      strcmpi(cnfdata.field,<span class="string">'setpoint'</span>)
+0961             config=cnfdata.SetpointData;
+0962         <span class="keyword">elseif</span>  strcmpi(cnfdata.field,<span class="string">'monitor'</span>)
+0963             config=cnfdata.MonitorData;
+0964         <span class="keyword">end</span>
+0965         
+0966         setmachineconfig(families,config,<span class="string">'simulator'</span>);
+0967         
+0968         set(cnfdata.handles.LoadSimulatorTime,<span class="string">'String'</span>,datestr(now,0));
+0969         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Load Configuration to Simulator '</span>);
+0970         
+0971     <span class="comment">%============================================================</span>
+0972     <span class="keyword">case</span> <span class="string">'SetWorkspaceConfig'</span>
+0973     <span class="comment">%============================================================</span>
+0974         <span class="comment">%Set/Load configuration to workspace</span>
+0975         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWait'</span>);
+0976         <span class="comment">%find which families are active</span>
+0977         families=[];
+0978         <span class="keyword">for</span> k=1:length(cnfdata.families)
+0979             family=cnfdata.families{k};
+0980             <span class="keyword">if</span> get(cnfdata.handles.([family <span class="string">'chk'</span>]),<span class="string">'Value'</span>)==1
+0981                 families.([<span class="string">'f'</span> num2str(k)])=family;
+0982             <span class="keyword">end</span>
+0983         <span class="keyword">end</span>
+0984         
+0985         <span class="keyword">if</span> isempty(families)
+0986             <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' No families loaded to Workspace '</span>);
+0987             <span class="keyword">return</span>
+0988         <span class="keyword">end</span>
+0989         
+0990         <span class="keyword">if</span>      isfield(cnfdata,<span class="string">'SetpointData'</span>)
+0991             evalin(<span class="string">'base'</span>,[<span class="string">'h=findobj(0,''Tag'',''cnffig'');'</span>,<span class="keyword">...</span>
+0992                     <span class="string">'cnfdata=getappdata(h,''configguidata'');'</span>,<span class="keyword">...</span>
+0993                     <span class="string">'SetpointData=cnfdata.SetpointData;'</span>,<span class="keyword">...</span>
+0994                     <span class="string">'clear h;'</span>, <span class="string">'clear cnfdata;'</span>]);
+0995             disp(<span class="string">'   Setpoint configuration data loaded to workspace as SetpointData'</span>);
+0996         <span class="keyword">else</span>
+0997             disp(<span class="string">'   No Setpoint data available'</span>);
+0998         <span class="keyword">end</span>
+0999         <span class="keyword">if</span>      isfield(cnfdata,<span class="string">'MonitorData'</span>)
+1000             evalin(<span class="string">'base'</span>,[<span class="string">'h=findobj(0,''Tag'',''cnffig'');'</span>,<span class="keyword">...</span>
+1001                     <span class="string">'cnfdata=getappdata(h,''configguidata'');'</span>,<span class="keyword">...</span>
+1002                     <span class="string">'MonitorData=cnfdata.MonitorData;'</span>,<span class="keyword">...</span>
+1003                     <span class="string">'clear h;'</span>, <span class="string">'clear cnfdata;'</span>]);
+1004             disp(<span class="string">'   Monitor configuration data loaded to workspace as MonitorData'</span>);
+1005         <span class="keyword">else</span>
+1006             disp(<span class="string">'   No Monitor data available'</span>);
+1007         <span class="keyword">end</span>
+1008         
+1009         
+1010         set(cnfdata.handles.LoadWorkspaceTime,<span class="string">'String'</span>,datestr(now,0));
+1011         <a href="configgui.html" class="code" title="function varargout = configgui(action, varargin)">configgui</a>(<span class="string">'LBoxWriteLast'</span>,<span class="string">' Load Configuration to Workspace '</span>);
+1012         
+1013     <span class="comment">%============================================================</span>
+1014     <span class="keyword">case</span> <span class="string">'SelectAll'</span>
+1015     <span class="comment">%============================================================</span>
+1016     <span class="comment">%select all families for configuration load</span>
+1017         <span class="keyword">for</span> k=1:length(cnfdata.families)
+1018             <span class="keyword">if</span> get(cnfdata.handles.([cnfdata.families{k} <span class="string">'flag'</span>]),<span class="string">'Userdata'</span>) == 1;   <span class="comment">%contains valid data</span>
+1019                 set(cnfdata.handles.([cnfdata.families{k} <span class="string">'chk'</span>]),<span class="string">'Value'</span>,1);
+1020             <span class="keyword">end</span>
+1021         <span class="keyword">end</span>
+1022 
+1023     <span class="comment">%============================================================</span>
+1024     <span class="keyword">case</span> <span class="string">'SelectAllQuad'</span>
+1025     <span class="comment">%============================================================</span>
+1026     <span class="comment">%select all families for configuration load</span>
+1027         <span class="keyword">for</span> k = 1:length(cnfdata.families)
+1028             <span class="keyword">if</span> ~isempty(regexp(cnfdata.families{k},<span class="string">'Q[0-9]'</span>))
+1029                 <span class="keyword">if</span> get(cnfdata.handles.([cnfdata.families{k} <span class="string">'flag'</span>]),<span class="string">'Userdata'</span>) == 1;   <span class="comment">%contains valid data</span>
+1030                     set(cnfdata.handles.([cnfdata.families{k} <span class="string">'chk'</span>]),<span class="string">'Value'</span>,1);
+1031                 <span class="keyword">end</span>
+1032             <span class="keyword">end</span>
+1033         <span class="keyword">end</span>
+1034     
+1035     <span class="comment">%============================================================</span>
+1036     <span class="keyword">case</span> <span class="string">'SelectAllSextu'</span>
+1037     <span class="comment">%============================================================</span>
+1038     <span class="comment">%select all families for configuration load</span>
+1039         <span class="keyword">for</span> k=1:length(cnfdata.families)
+1040             <span class="keyword">if</span> ~isempty(regexp(cnfdata.families{k},<span class="string">'S[0-9]'</span>))
+1041                 <span class="keyword">if</span> get(cnfdata.handles.([cnfdata.families{k} <span class="string">'flag'</span>]),<span class="string">'Userdata'</span>) == 1;   <span class="comment">%contains valid data</span>
+1042                     set(cnfdata.handles.([cnfdata.families{k} <span class="string">'chk'</span>]),<span class="string">'Value'</span>,1);
+1043                 <span class="keyword">end</span>
+1044             <span class="keyword">end</span>
+1045         <span class="keyword">end</span>
+1046 
+1047     <span class="comment">%============================================================</span>
+1048     <span class="keyword">case</span> <span class="string">'SelectNone'</span>
+1049     <span class="comment">%============================================================</span>
+1050     <span class="comment">%select no families for configuration load</span>
+1051         <span class="keyword">for</span> k=1:length(cnfdata.families)
+1052             set(cnfdata.handles.([cnfdata.families{k} <span class="string">'chk'</span>]),<span class="string">'Value'</span>,0);
+1053         <span class="keyword">end</span>
+1054         
+1055     <span class="comment">%============================================================</span>
+1056     <span class="keyword">case</span> <span class="string">'ShowActiveFamilies'</span>
+1057     <span class="comment">%============================================================</span>
+1058     <span class="comment">%turn box green for valid families</span>
+1059         
+1060         <span class="keyword">for</span> k=1:length(cnfdata.families)
+1061             set(cnfdata.handles.([cnfdata.families{k} <span class="string">'flag'</span>]),<span class="string">'BackGroundColor'</span>,<span class="string">'r'</span>,<span class="string">'Userdata'</span>,0);
+1062         <span class="keyword">end</span>
+1063         
+1064         <span class="keyword">if</span> strcmpi(cnfdata.field,<span class="string">'setpoint'</span>);
+1065             <span class="keyword">if</span> isempty(cnfdata.SetpointData) <span class="keyword">return</span>; <span class="keyword">end</span>
+1066             familynames=fieldnames(cnfdata.SetpointData);
+1067         <span class="keyword">elseif</span> strcmpi(cnfdata.field,<span class="string">'monitor'</span>);
+1068             <span class="keyword">if</span> isempty(cnfdata.MonitorData) <span class="keyword">return</span>; <span class="keyword">end</span>
+1069             familynames=fieldnames(cnfdata.MonitorData);
+1070         <span class="keyword">end</span>
+1071         
+1072         <span class="comment">%indicate valid families</span>
+1073         <span class="keyword">for</span> k=1:length(cnfdata.families)
+1074             <span class="keyword">for</span> l=1:length(familynames)
+1075                 <span class="keyword">if</span> strcmpi(cnfdata.families{k},familynames{l})
+1076                     <span class="comment">%disp(familynames{l})</span>
+1077                     set(cnfdata.handles.([familynames{l} <span class="string">'flag'</span>]),<span class="string">'BackGroundColor'</span>,<span class="string">'g'</span>,<span class="string">'Userdata'</span>,1);
+1078                 <span class="keyword">end</span>
+1079             <span class="keyword">end</span>
+1080         <span class="keyword">end</span>
+1081         
+1082     <span class="comment">%===========================================================</span>
+1083     <span class="keyword">case</span> <span class="string">'LBoxWriteLast'</span>                          <span class="comment">%*** LBoxWriteLast ***</span>
+1084     <span class="comment">%===========================================================</span>
+1085     <span class="comment">%load latest sequence of strings into graphical display listbox</span>
+1086         comment=varargin{1};
+1087         ts = datestr(now,0);
+1088         addstr={[ts  <span class="string">': '</span> comment]};
+1089         str=get(cnfdata.handles.listbox,<span class="string">'String'</span>);
+1090         
+1091         [ione,itwo]=size(str);
+1092         <span class="keyword">if</span> ione&gt;0
+1093             str=[str(1:end-1); addstr];
+1094         <span class="keyword">else</span>
+1095             str=addstr;
+1096         <span class="keyword">end</span>
+1097         nentry=50;
+1098         <span class="keyword">if</span> ione&gt;=nentry                <span class="comment">%keep only top entries</span>
+1099             str=str(ione-nentry+1:ione,1);
+1100             [ione,itwo]=size(str);
+1101         <span class="keyword">end</span>
+1102         set(cnfdata.handles.listbox,<span class="string">'String'</span>,str,<span class="string">'listboxtop'</span>,ione);
+1103         
+1104         
+1105     <span class="comment">%===========================================================</span>
+1106     <span class="keyword">case</span> <span class="string">'LBoxWait'</span>                          <span class="comment">%*** LBoxWait ***</span>
+1107     <span class="comment">%===========================================================</span>
+1108     <span class="comment">%load latest sequence of strings into graphical display listbox</span>
+1109         
+1110         addstr={<span class="string">'... Working ...'</span> };
+1111         str=get(cnfdata.handles.listbox,<span class="string">'String'</span>);
+1112         str=[str; addstr];
+1113         [ione,itwo]=size(str);
+1114         nentry=50;
+1115         <span class="keyword">if</span> ione&gt;=nentry                <span class="comment">%keep only top entries</span>
+1116             str=str(ione-nentry+1:ione,1);
+1117             [ione,itwo]=size(str);
+1118         <span class="keyword">end</span>
+1119         set(cnfdata.handles.listbox,<span class="string">'String'</span>,str,<span class="string">'listboxtop'</span>,ione);
+1120         sleep(0.01);        
+1121         
+1122     <span class="comment">%===========================================================</span>
+1123     <span class="keyword">case</span> <span class="string">'ShowConfiguration'</span>          <span class="comment">%*** ShowConfiguration ***</span>
+1124     <span class="comment">%===========================================================</span>
+1125     <span class="comment">%display setpoint and monitors for families in cnfdata structure</span>
+1126         
+1127         families=cnfdata.families;
+1128         filename = tempname;
+1129         fid = fopen(filename,<span class="string">'w'</span>);
+1130 
+1131         <span class="keyword">for</span> k=1:length(families)
+1132             Family=families{k};
+1133             <span class="keyword">if</span> ~isfield(cnfdata.SetpointData,Family)   
+1134                 disp([<span class="string">'   Warning: family not available... '</span>, Family]);  
+1135             <span class="keyword">else</span>
+1136                 DeviceList     =family2dev(Family);
+1137                 Field          =<span class="string">'Setpoint'</span>;
+1138                 SetpointPV     =getfamilydata(Family,Field,<span class="string">'TangoNames'</span>);
+1139                 SetpointData   =cnfdata.SetpointData.(Family).(Field).Data;
+1140                 PhysicsSetpoint=hw2physics(Family,Field,SetpointData);
+1141                 Field = <span class="string">'Monitor'</span>;
+1142                 MonitorPV      =getfamilydata(Family,Field,<span class="string">'TangoNames'</span>);
+1143                 MonitorData    =cnfdata.MonitorData.(Family).(Field).Data;
+1144                 PhysicsMonitor =hw2physics(Family,<span class="string">'Monitor'</span>, MonitorData);
+1145                                 
+1146                 <span class="comment">%display hardware values</span>
+1147                 fprintf(fid,<span class="string">'%s\n'</span>,[<span class="string">'   Family  DeviceList  HWSetpoint PhysicsSetpoint     HWReadback    PhysicsReadback )'</span>]);
+1148                 
+1149                 <span class="keyword">for</span> jj=1:size(DeviceList,1)
+1150                     fprintf(fid,<span class="string">'%8s    [%2d,%d] %14.5f %14.5f %14.5f %14.5f \n'</span>,<span class="keyword">...</span>
+1151                         Family,DeviceList(jj,1),DeviceList(jj,2),SetpointData(jj),PhysicsSetpoint(jj),<span class="keyword">...</span>
+1152                         MonitorData(jj),PhysicsMonitor(jj));
+1153                 <span class="keyword">end</span>
+1154             <span class="keyword">end</span> 
+1155         <span class="keyword">end</span>
+1156         fclose(fid);
+1157         system([<span class="string">'nedit '</span>, filename, <span class="string">' &amp;'</span>]);  <span class="comment">% much faster</span>
+1158         
+1159     <span class="comment">%===========================================================</span>
+1160     <span class="keyword">case</span> <span class="string">'ShowMainConfiguration'</span>       <span class="comment">%*** ShowMainConfiguration ***</span>
+1161     <span class="comment">%===========================================================</span>
+1162     <span class="comment">%display setpoint and monitors for families in cnfdata structure</span>
+1163         
+1164         families=cnfdata.families;
+1165         fprintf(<span class="string">'%s\n'</span>,[<span class="string">'   Family     HWSetpoint    PhysicsSetpoint'</span>]);
+1166         
+1167         <span class="keyword">for</span> k=1:length(families)
+1168             Family=families{k};
+1169             <span class="keyword">if</span> ~isfield(cnfdata.SetpointData,Family)   
+1170                 disp([<span class="string">'   Warning: family not available... '</span>, Family]);  
+1171             <span class="keyword">else</span>
+1172                 DeviceList     =family2dev(Family);
+1173                 Field = <span class="string">'Setpoint'</span>;
+1174                 SetpointPV     =getfamilydata(Family,Field,<span class="string">'TangoNames'</span>);
+1175                 SetpointData   =cnfdata.SetpointData.(Family).(Field).Data;
+1176                 PhysicsSetpoint=hw2physics(Family,Field,SetpointData);
+1177                 Field = <span class="string">'Monitor'</span>;
+1178                 MonitorPV      =getfamilydata(Family,Field,<span class="string">'TangoNames'</span>);
+1179                 MonitorData    =cnfdata.MonitorData.(Family).(Field).Data;
+1180                 PhysicsMonitor =hw2physics(Family,Field, MonitorData);
+1181                 <span class="comment">%display hardware values</span>
+1182                 <span class="keyword">if</span> ~strcmpi(Family,<span class="string">'HCOR'</span>) &amp;&amp; ~strcmpi(Family,<span class="string">'VCOR'</span>) &amp;&amp; ~strcmpi(Family,<span class="string">'SkewQuad'</span>)
+1183                     fprintf(<span class="string">'%8s  %14.5f %14.5f\n'</span>,Family,SetpointData(1),PhysicsSetpoint(1));
+1184                 <span class="keyword">end</span>
+1185                 disp(<span class="string">' '</span>);
+1186             <span class="keyword">end</span> 
+1187         <span class="keyword">end</span>
+1188     <span class="keyword">otherwise</span>
+1189         disp([<span class="string">'Warning: no CASE found in configgui: '</span> action]);
+1190         disp(action);
+1191 <span class="keyword">end</span>  <span class="comment">%end switchyard</span>
+1192 
+1193</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/gotolaurent.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/gotolaurent.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/gotolaurent.html	(revision 17)
@@ -0,0 +1,50 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of gotolaurent</title>
+  <meta name="keywords" content="gotolaurent">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">configurations</a> &gt; gotolaurent.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/configurations&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>gotolaurent
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function gotolaurent </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function gotolaurent</a>
+0002 
+0003 cd([getenv(<span class="string">'HOME'</span>) <span class="string">'/GrpPhysiqueMachine/Laurent/matlab'</span>])</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/index.html	(revision 17)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/configurations</title>
+  <meta name="keywords" content="machine/Soleil/common/configurations">
+  <meta name="description" content="Index for Directory machine/Soleil/common/configurations">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/configurations&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/configurations</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="configgui.html">configgui</a></td><td>CONFIGGUI - Generates gui for configuration control </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="showconfiguration.html">showconfiguration</a></td><td>display setpoint and readbacks for families in AcceleratorObjects </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="tunemml.html">tunemml</a></td><td>TUNEMML M-file for tunemml.fig </td></tr></table>
+
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/mml_cc_appli.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/mml_cc_appli.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/mml_cc_appli.html	(revision 17)
@@ -0,0 +1,166 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of mml_cc_appli</title>
+  <meta name="keywords" content="mml_cc_appli">
+  <meta name="description" content="MM_CC_APPLI - Compile a standalone MML/AT application">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">configurations</a> &gt; mml_cc_appli.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/configurations&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>mml_cc_appli
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>MM_CC_APPLI - Compile a standalone MML/AT application</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function mml_cc_appli(ApplicationName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MM_CC_APPLI - Compile a standalone MML/AT application
+
+  NOTES:
+  Each compiled programme is stored in a directory with the date of the day
+  Then a symbolic link has to be done to point on the new application
+  A shortcut to the application is done in the mouse menu
+  Available applications: plotfamily and SOFB</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function mml_cc_appli(ApplicationName)</a>
+0002 <span class="comment">%MM_CC_APPLI - Compile a standalone MML/AT application</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  NOTES:</span>
+0005 <span class="comment">%  Each compiled programme is stored in a directory with the date of the day</span>
+0006 <span class="comment">%  Then a symbolic link has to be done to point on the new application</span>
+0007 <span class="comment">%  A shortcut to the application is done in the mouse menu</span>
+0008 <span class="comment">%  Available applications: plotfamily and SOFB</span>
+0009 
+0010 <span class="comment">%</span>
+0011 <span class="comment">%% Written by Laurent S. Nadolski</span>
+0012 
+0013 ConfigFlag = 0;
+0014 
+0015 <span class="keyword">if</span> nargin == 0
+0016     ApplicationName = questdlg(<span class="string">'Choose programme to compile or deploy as a standalone application'</span>, <span class="keyword">...</span>
+0017         <span class="string">'Compilation dialog box'</span>, <span class="keyword">...</span>
+0018         <span class="string">'Plotfamily'</span>,<span class="string">'SOFB'</span>, <span class="string">'FOFB'</span>, <span class="string">'default'</span>);
+0019     <span class="keyword">if</span> isempty(ApplicationName)
+0020         error(<span class="string">'Abort: Unknown answer'</span>)
+0021     <span class="keyword">end</span>
+0022 <span class="keyword">end</span>
+0023 
+0024 <span class="comment">% save current directory</span>
+0025 CurrentDir = pwd;
+0026 
+0027 <span class="comment">% Directory to store application</span>
+0028 DirName = getfamilydata(<span class="string">'Directory'</span>, <span class="string">'Standalone'</span>);
+0029 
+0030 ApplicationName = lower(ApplicationName);
+0031 
+0032 <span class="keyword">switch</span> ApplicationName
+0033     <span class="keyword">case</span> <span class="string">'plotfamily'</span>
+0034         ApplicationName = <span class="string">'plotfamily'</span>;
+0035     <span class="keyword">case</span> <span class="string">'sofb'</span>
+0036         ApplicationName = <span class="string">'orbitcontrol'</span>;
+0037     <span class="keyword">case</span> <span class="string">'fofb'</span>
+0038         ApplicationName = <span class="string">'FOFBguiTango'</span>;
+0039     <span class="keyword">case</span> <span class="string">'synchronisation'</span>
+0040         ApplicationName = <span class="string">'synchro'</span>;
+0041     <span class="keyword">otherwise</span>
+0042         error(<span class="string">'Unknown application name %s'</span>, ApplicationName); 
+0043 <span class="keyword">end</span>
+0044 
+0045 <span class="comment">% check development directory name</span>
+0046 
+0047 <span class="keyword">if</span> ~isdir(DirName)
+0048     fprintf(<span class="string">'Abort: directory %s does not exist!\n'</span>, DirName);
+0049     <span class="keyword">return</span>;
+0050 <span class="keyword">end</span>
+0051 
+0052 <span class="comment">% Create and go to the directory</span>
+0053 DirName = fullfile(DirName, ApplicationName);
+0054 gotodirectory(DirName);
+0055 
+0056 <span class="keyword">if</span> ~ConfigFlag
+0057     DirDevName = [ApplicationName <span class="string">'_standalone_'</span> datestr(date,29)];
+0058 
+0059     fullName = [DirName filesep DirDevName];
+0060     <span class="keyword">if</span> exist(fullName, <span class="string">'dir'</span>) == 7
+0061         answer = questdlg(<span class="string">'Directory exists already!'</span>,<span class="string">'Compilation dialog box'</span>,<span class="string">'Continue'</span>,<span class="string">'Abort'</span>,<span class="string">'Default'</span>);
+0062         <span class="keyword">switch</span> answer
+0063             <span class="keyword">case</span> <span class="string">'Continue'</span>
+0064                 fprintf(<span class="string">'Data will be erased\n'</span>)
+0065             <span class="keyword">case</span> <span class="string">'Abort'</span>
+0066                 fprintf(<span class="string">'Application stopped on user request\n'</span>)
+0067                 <span class="keyword">return</span>;
+0068             <span class="keyword">otherwise</span>
+0069                 fprintf(<span class="string">'Application stopped on user request\n'</span>)
+0070                 <span class="keyword">return</span>;
+0071         <span class="keyword">end</span>
+0072     <span class="keyword">end</span>
+0073 
+0074     gotodirectory(fullName);
+0075 
+0076     <span class="comment">% Compilation part</span>
+0077     <span class="keyword">if</span> strcmpi(ApplicationName,<span class="string">'synchro'</span>)
+0078 <span class="comment">% Does not work as it should yet</span>
+0079 <span class="comment">%         eval(['mcc -mv -a AperturePass -a BndMPoleSymplectic4Pass -a BndMPoleSymplectic4RadPass ' ...</span>
+0080 <span class="comment">%             '-a CavityPass -a CorrectorPass -a DriftPass -a EAperturePass -a IdentityPass ' ...</span>
+0081 <span class="comment">%             '-a Matrix66Pass -a QuadLinearPass -a SolenoidLinearPass -a StrMPoleSymplectic4Pass ' ...</span>
+0082 <span class="comment">%             '-a StrMPoleSymplectic4RadPass -a ThinMPolePass -a findmpoleraddiffmatrix ' ...</span>
+0083 <span class="comment">%             '-a IdentityPass -a BendLinearPass ', 'synchro_injecteur7_rafale']);</span>
+0084     <span class="keyword">else</span>
+0085         <span class="comment">% Add files in StorageRing (*.txt), AT, MML (wave files)</span>
+0086         eval([<span class="string">'mcc -mv  -a AperturePass -a BndMPoleSymplectic4Pass -a BndMPoleSymplectic4RadPass '</span> <span class="keyword">...</span>
+0087             <span class="string">'-a CavityPass -a CorrectorPass -a DriftPass -a EAperturePass -a IdentityPass '</span> <span class="keyword">...</span>
+0088             <span class="string">'-a Matrix66Pass -a QuadLinearPass -a SolenoidLinearPass -a StrMPoleSymplectic4Pass '</span> <span class="keyword">...</span>
+0089             <span class="string">'-a StrMPoleSymplectic4RadPass -a ThinMPolePass -a findmpoleraddiffmatrix '</span> <span class="keyword">...</span>
+0090             <span class="string">'-a IdentityPass -a BendLinearPass '</span>, ApplicationName]);
+0091     <span class="keyword">end</span>
+0092 
+0093     
+0094     [pathstr, name, ext, versn] = fileparts(DirName);
+0095     fprintf(<span class="string">'\nApplication %s compiled and saved in directory: %s\n'</span>, name, DirName)
+0096     fprintf(<span class="string">'Directory name is: %s\n\n'</span>, DirDevName);
+0097 <span class="keyword">else</span> <span class="comment">% Deploy programme</span>
+0098     cd(DirName); 
+0099     VersionName = uigetdir;
+0100     <span class="keyword">if</span> isempty(VersionName)
+0101         cd(CurrentDir);
+0102         error(<span class="string">'Abort: Unknown answer'</span>)
+0103     <span class="keyword">end</span>
+0104     [tmp Appli2deploy] = fileparts(VersionName);
+0105     system(sprintf(<span class="string">'rm -v %s'</span>, ApplicationName));
+0106     system(sprintf(<span class="string">'ln -s -v %s %s'</span>, Appli2deploy, ApplicationName));
+0107 <span class="keyword">end</span>
+0108 
+0109 cd(CurrentDir);
+0110 
+0111 <span class="comment">%export</span>
+0112 <span class="comment">%LD_LIBRARY_PATH=/usr/Local/matlab/runtime/glnx86:/usr/Local/matlab/bin/glnx86:/usr/Local/matlab/sys/os/glnx86:/usr/Loca</span>
+0113 <span class="comment">%l/matlab/sys/java/jre/glnx86/jre1.5.0/lib/i386/native_threads:/usr/Local/matlab/sys/java/jre/glnx86/jre1.5.0/lib/i386/server:/usr/Local/matlab/sys/java/jre/glnx86/jre1.5.0/lib/i386/client:/usr/Local/matlab/sys/java/jre/glnx86/jre1.5.0/lib/i386:/lib:/lib/tls:/usr/lib:/usr/X11R6/lib:/usr/Local/soleil-root/tango/lib:/usr/Local/soleil-root/omniorb/lib:/usr/Local/soleil-root/bindings/python/python23:/usr/Local/soleil-root/hw-support/ace/lib:/usr/Local/DeviceServer</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/showconfiguration.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/showconfiguration.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/showconfiguration.html	(revision 17)
@@ -0,0 +1,90 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of showconfiguration</title>
+  <meta name="keywords" content="showconfiguration">
+  <meta name="description" content="display setpoint and readbacks for families in AcceleratorObjects">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">configurations</a> &gt; showconfiguration.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/configurations&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>showconfiguration
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>display setpoint and readbacks for families in AcceleratorObjects</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function showmachinedata(families) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">display setpoint and readbacks for families in AcceleratorObjects
+showmachinedata(families) where families can be char or cell array showmachinedata{'QF'; 'QD';}</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function showmachinedata(families)</a>
+0002 <span class="comment">%display setpoint and readbacks for families in AcceleratorObjects</span>
+0003 <span class="comment">%showmachinedata(families) where families can be char or cell array showmachinedata{'QF'; 'QD';}</span>
+0004 ad=getad;
+0005 fprintf(<span class="string">'%30s\n\n'</span>,[ad.Machine <span class="string">' Accelerator Settings: '</span> datestr(now,0)]);
+0006 
+0007 <span class="keyword">if</span> nargin&lt;1
+0008     families=getfamilylist;
+0009 <span class="keyword">elseif</span> ischar(families)
+0010     families=char(families);   <span class="comment">%make sure same length</span>
+0011 <span class="keyword">elseif</span> iscell(families)
+0012     families=char(families{:}); 
+0013 <span class="keyword">end</span>
+0014 
+0015 <span class="keyword">for</span> ii=1:size(families,1)
+0016 family=deblank(families(ii,:));
+0017 <span class="keyword">if</span> ~isfamily(family)   disp([<span class="string">'   Warning: family not available... '</span>, family]);  <span class="keyword">end</span>
+0018 familytype=getfamilydata(family,<span class="string">'FamilyType'</span>);  <span class="comment">%returns [] for family not available</span>
+0019  
+0020 <span class="keyword">if</span> strcmpi(familytype,<span class="string">'BEND'</span>) | strcmpi(familytype,<span class="string">'QUAD'</span>) | strcmpi(familytype,<span class="string">'SEXT'</span>) | strcmpi(familytype,<span class="string">'COR'</span>)
+0021     
+0022 DevList=family2dev(family);
+0023 SetpointPV  =getfamilydata(family,<span class="string">'Setpoint'</span>,<span class="string">'ChannelNames'</span>);
+0024 Setpoint    =getsp(family,<span class="string">'hardware'</span>);
+0025 PSetpoint    =hw2physics(family,<span class="string">'Setpoint'</span>,Setpoint);
+0026 
+0027 MonitorPV   =getfamilydata(family,<span class="string">'Monitor'</span>,<span class="string">'ChannelNames'</span>);
+0028 Monitor     =getam(family,<span class="string">'hardware'</span>);
+0029 PMonitor     =hw2physics(family,<span class="string">'Monitor'</span>, Monitor);
+0030 
+0031 
+0032 <span class="comment">%display hardware values</span>
+0033 fprintf(<span class="string">'%s\n'</span>,[<span class="string">'   Family  DeviceList  HWSetpoint PhysicsSetpoint     HWReadback    PhysicsReadback   SP-MON (HW)   SP-MON (Physics)  Setpoint_PV             Monitor_PV'</span>]);
+0034 
+0035   <span class="keyword">for</span> jj=1:size(DevList,1)
+0036     fprintf(<span class="string">'%8s    [%2d,%d] %14.5f %14.5f %14.5f %14.5f %14.5f %14.5f %28s %20s\n'</span>,family,DevList(jj,1),DevList(jj,2),Setpoint(jj),PSetpoint(jj),Monitor(jj),PMonitor(jj),Setpoint(jj)-Monitor(jj),PSetpoint(jj)-PMonitor(jj),SetpointPV(jj,:),MonitorPV(jj,:));
+0037   <span class="keyword">end</span>
+0038   disp(<span class="string">' '</span>);
+0039   
+0040   
+0041 <span class="keyword">end</span>
+0042 
+0043 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/tunemml.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/tunemml.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/configurations/tunemml.html	(revision 17)
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of tunemml</title>
+  <meta name="keywords" content="tunemml">
+  <meta name="description" content="TUNEMML M-file for tunemml.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">configurations</a> &gt; tunemml.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/configurations&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>tunemml
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>TUNEMML M-file for tunemml.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = tunemml(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> TUNEMML M-file for tunemml.fig
+      TUNEMML, by itself, creates a new TUNEMML or raises the existing
+      singleton*.
+
+      H = TUNEMML returns the handle to a new TUNEMML or the handle to
+      the existing singleton*.
+
+      TUNEMML('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in TUNEMML.M with the given input arguments.
+
+      TUNEMML('Property','Value',...) creates a new TUNEMML or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before tunemml_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to tunemml_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function tunemml_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = tunemml_OutputFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = tunemml(varargin)</a>
+0002 <span class="comment">% TUNEMML M-file for tunemml.fig</span>
+0003 <span class="comment">%      TUNEMML, by itself, creates a new TUNEMML or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = TUNEMML returns the handle to a new TUNEMML or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      TUNEMML('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in TUNEMML.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      TUNEMML('Property','Value',...) creates a new TUNEMML or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before tunemml_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to tunemml_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span>
+0024 
+0025 <span class="comment">% Edit the above text to modify the response to help tunemml</span>
+0026 
+0027 <span class="comment">% Last Modified by GUIDE v2.5 25-Mar-2002 12:19:15</span>
+0028 
+0029 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0030 gui_Singleton = 1;
+0031 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0032                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0033                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction tunemml_OpeningFcn(hObject, eventdata, handles, varargin)">tunemml_OpeningFcn</a>, <span class="keyword">...</span>
+0034                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = tunemml_OutputFcn(hObject, eventdata, handles)">tunemml_OutputFcn</a>, <span class="keyword">...</span>
+0035                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0036                    <span class="string">'gui_Callback'</span>,   []);
+0037 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0038     gui_State.gui_Callback = str2func(varargin{1});
+0039 <span class="keyword">end</span>
+0040 
+0041 <span class="keyword">if</span> nargout
+0042     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">else</span>
+0044     gui_mainfcn(gui_State, varargin{:});
+0045 <span class="keyword">end</span>
+0046 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0047 
+0048 
+0049 <span class="comment">% --- Executes just before tunemml is made visible.</span>
+0050 <a name="_sub1" href="#_subfunctions" class="code">function tunemml_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0051 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0052 <span class="comment">% hObject    handle to figure</span>
+0053 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0054 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0055 <span class="comment">% varargin   command line arguments to tunemml (see VARARGIN)</span>
+0056 
+0057 <span class="comment">% Choose default command line output for tunemml</span>
+0058 handles.output = hObject;
+0059 
+0060 <span class="comment">% Update handles structure</span>
+0061 guidata(hObject, handles);
+0062 
+0063 <span class="comment">% UIWAIT makes tunemml wait for user response (see UIRESUME)</span>
+0064 <span class="comment">% uiwait(handles.figure1);</span>
+0065 addmenuad(handles.figure1);
+0066 addmenuao(handles.figure1);
+0067 
+0068 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0069 <a name="_sub2" href="#_subfunctions" class="code">function varargout = tunemml_OutputFcn(hObject, eventdata, handles) </a>
+0070 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0071 <span class="comment">% hObject    handle to figure</span>
+0072 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0073 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0074 
+0075 <span class="comment">% Get default command line output from handles structure</span>
+0076 varargout{1} = handles.output;</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/config_dserver_cyclage.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/config_dserver_cyclage.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/config_dserver_cyclage.html	(revision 17)
@@ -0,0 +1,94 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of config_dserver_cyclage</title>
+  <meta name="keywords" content="config_dserver_cyclage">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; config_dserver_cyclage.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>config_dserver_cyclage
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 
+0002 AO = getao;
+0003 
+0004 fam = <span class="string">'QP'</span>;
+0005 fam = <span class="string">'CV'</span>;
+0006 
+0007 k= 1;
+0008 
+0009 <span class="keyword">if</span> strcmpi(fam, <span class="string">'CV'</span>) || strcmpi(fam, <span class="string">'CH'</span>) 
+0010     rtag = <span class="string">'C[H,V]'</span>;
+0011 <span class="keyword">elseif</span> strcmpi(fam, <span class="string">'QP'</span>) 
+0012     rtag = <span class="string">'Q'</span>;
+0013 <span class="keyword">elseif</span> strcmpi(fam, <span class="string">'BEND'</span>) 
+0014     rtag = <span class="string">'D'</span>;    
+0015 <span class="keyword">end</span>
+0016 
+0017 <span class="keyword">for</span> k = 1:length(AO.(fam).DeviceName)
+0018     dev_name = AO.(fam).DeviceName{k};
+0019     idx = regexpi(dev_name,rtag);
+0020 <span class="comment">%     idx = regexpi(dev_name,'Q');</span>
+0021 
+0022     dev_cycle = [dev_name(1:idx-1) <span class="string">'cycle'</span> dev_name(idx:end)];
+0023 
+0024     prop_name = {<span class="string">'AttributeProxyRead'</span>,<span class="string">'AttributeProxyWrite'</span>, <span class="string">'Iterations'</span>};
+0025     prop = tango_get_properties2(dev_cycle,prop_name);
+0026     prop(1).value = {AO.(fam).Monitor.TangoNames{k}};
+0027     prop(2).value = prop(1).value;
+0028     prop(3).value = {<span class="string">'1'</span>};
+0029     tango_put_properties2(dev_cycle,prop);
+0030 <span class="keyword">end</span>
+0031 
+0032 <span class="comment">%create groupname</span>
+0033 id_cor = tango_group_create(<span class="string">'correcteurLT1'</span>);
+0034 
+0035 <span class="comment">%add devices to group</span>
+0036 tango_group_add(id_cor,<span class="string">'LT1/AEsim/cycleC*'</span>);
+0037 
+0038 <span class="comment">%%display group</span>
+0039 tango_group_dump(id_cor);
+0040 
+0041 tango_group_command_inout(id_cor,<span class="string">'Init'</span>,1,0);
+0042 
+0043 <span class="comment">%% Start cycling magnets</span>
+0044 tango_group_command_inout(id_cor,<span class="string">'Start'</span>,1,0);
+0045 
+0046 
+0047 <span class="comment">%% chargement d'une rampe</span>
+0048</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/configcyclecurve.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/configcyclecurve.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/configcyclecurve.html	(revision 17)
@@ -0,0 +1,81 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of configcyclecurve</title>
+  <meta name="keywords" content="configcyclecurve">
+  <meta name="description" content="%">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; configcyclecurve.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>configcyclecurve
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>%</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function configcyclecurve(family, curve) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">%</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function configcyclecurve(family, curve)</a>
+0002 
+0003 <span class="comment">%%</span>
+0004 <span class="comment">%</span>
+0005 error(<span class="string">'Expert: Do not use this function'</span>)
+0006 
+0007 AO = getao;
+0008 
+0009 fam = <span class="string">'QP'</span>;
+0010 fam = <span class="string">'CV'</span>;
+0011 
+0012 k= 1;
+0013 
+0014 <span class="keyword">if</span> strcmpi(fam, <span class="string">'CV'</span>) || strcmpi(fam, <span class="string">'CH'</span>) 
+0015     rtag = <span class="string">'C[H,V]'</span>;
+0016 <span class="keyword">elseif</span> strcmpi(fam, <span class="string">'QP'</span>) 
+0017     rtag = <span class="string">'Q'</span>;
+0018 <span class="keyword">elseif</span> strcmpi(fam, <span class="string">'BEND'</span>) 
+0019     rtag = <span class="string">'D'</span>;    
+0020 <span class="keyword">end</span>
+0021 
+0022 <span class="keyword">for</span> k = 1:length(AO.(fam).DeviceName)
+0023     dev_name = AO.(fam).DeviceName{k};
+0024     idx = regexpi(dev_name,rtag);
+0025 <span class="comment">%     idx = regexpi(dev_name,'Q');</span>
+0026 
+0027     dev_cycle = [dev_name(1:idx-1) <span class="string">'cycle'</span> dev_name(idx:end)];
+0028 
+0029     prop_name = {<span class="string">'AttributeProxyRead'</span>,<span class="string">'AttributeProxyWrite'</span>, <span class="string">'Iterations'</span>};
+0030     prop = tango_get_properties2(dev_cycle,prop_name);
+0031     prop(1).value = {AO.(fam).Monitor.TangoNames{k}};
+0032     prop(2).value = prop(1).value;
+0033     prop(3).value = {<span class="string">'1'</span>};
+0034     tango_put_properties2(dev_cycle,prop);
+0035 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/createcyclecurve.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/createcyclecurve.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/createcyclecurve.html	(revision 17)
@@ -0,0 +1,93 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of createcyclecurve</title>
+  <meta name="keywords" content="createcyclecurve">
+  <meta name="description" content="INPUTS">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; createcyclecurve.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>createcyclecurve
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>INPUTS</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function curve=createcyclecurve(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> INPUTS
+1. Family
+2. Nominal current
+3. Maximum current</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function curve = makecurve(Inom,Imax)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function curve=createcyclecurve(varargin)</a>
+0002 <span class="comment">% INPUTS</span>
+0003 <span class="comment">%1. Family</span>
+0004 <span class="comment">%2. Nominal current</span>
+0005 <span class="comment">%3. Maximum current</span>
+0006 
+0007 Family = varargin{1};
+0008 Inom = varargin{2};
+0009 Imax = varargin{3};
+0010 
+0011 <span class="comment">%% check if family is valid and return it in AO</span>
+0012 [FamilyIndex, AO] = isfamily(Family);
+0013 
+0014 <span class="keyword">if</span> FamilyIndex
+0015     <span class="keyword">if</span> (ismemberof(Family,<span class="string">'Cyclage'</span>))
+0016        <span class="comment">% for k=1:tango_group_size(AO.GroupId)</span>
+0017        k=1;
+0018             curve = <a href="#_sub1" class="code" title="subfunction curve = makecurve(Inom,Imax)">makecurve</a>(Inom,Imax);
+0019 <span class="comment">%            curve = makecurve(AO.Inom(k),AO.Imax(k));</span>
+0020 <span class="comment">%             setcyclecurve(dev_name, curve)</span>
+0021        <span class="comment">% end</span>
+0022     <span class="keyword">end</span>
+0023 <span class="keyword">end</span>
+0024 
+0025 <a name="_sub1" href="#_subfunctions" class="code">function curve = makecurve(Inom,Imax)</a>
+0026 
+0027 <span class="comment">% curve = [[0 10]</span>
+0028 <span class="comment">%         [Imax 180]</span>
+0029 <span class="comment">%         [0.95*Inom 180]</span>
+0030 <span class="comment">%         [1.05*Inom 180]</span>
+0031 <span class="comment">%         [0.95*Inom 180]</span>
+0032 <span class="comment">%         [1.05*Inom 180]</span>
+0033 <span class="comment">%         [0.95*Inom 180]</span>
+0034 <span class="comment">%         [Inom 180] ];</span>
+0035 curve = [[0 10]
+0036         [Imax 10] 
+0037         [0.95*Inom 10]
+0038         [1.05*Inom 10]
+0039         [0.95*Inom 10]
+0040         [1.05*Inom 10]
+0041         [0.95*Inom 10]
+0042         [Inom 10] ];</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/createcyclecurvefull.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/createcyclecurvefull.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/createcyclecurvefull.html	(revision 17)
@@ -0,0 +1,129 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of createcyclecurvefull</title>
+  <meta name="keywords" content="createcyclecurvefull">
+  <meta name="description" content="INPUTS">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; createcyclecurvefull.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>createcyclecurvefull
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>INPUTS</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function createcylecurvefull(varargin); </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> INPUTS
+1. Family</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>	SETCYCLECURVE - Set curve for cycling magnet in Dserver</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function curve = makecurve(Inom,Imax,MagnetType)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function createcylecurvefull(varargin);</a>
+0002 <span class="comment">% INPUTS</span>
+0003 <span class="comment">%1. Family</span>
+0004 
+0005 DisplayFlag = 1;
+0006 
+0007 <span class="comment">% Parse input options</span>
+0008 InputFlags = {};
+0009 <span class="keyword">for</span> i = length(varargin):-1:1
+0010     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0011         DisplayFlag = 1;
+0012         varargin(i) = [];
+0013     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0014         DisplayFlag = 0;
+0015         varargin(i) = [];
+0016     <span class="keyword">end</span>
+0017 <span class="keyword">end</span>
+0018 
+0019 <span class="comment">%% Load Golden Magnet parameters</span>
+0020 
+0021 FileName = getfamilydata(<span class="string">'OpsData'</span>, <span class="string">'LatticeFile'</span>);
+0022 DirectoryName = getfamilydata(<span class="string">'Directory'</span>, <span class="string">'OpsData'</span>);
+0023 cnf=load([DirectoryName FileName]);
+0024 <span class="comment">%% Setpoints values</span>
+0025 Setpoint = cnf.ConfigSetpoint;
+0026 
+0027 Family = varargin{1};
+0028 
+0029 [FamilyIndex, AO] = isfamily(Family);
+0030 <span class="keyword">if</span> isempty(FamilyIndex)
+0031     error(<span class="string">'Unknown Family'</span>);
+0032 <span class="keyword">end</span>
+0033 
+0034 <span class="comment">% create cycling family name</span>
+0035 CycleFamily = [<span class="string">'Cycle'</span> Family];
+0036 [CycleIndex, CycleAO] = isfamily(CycleFamily);
+0037 
+0038 <span class="comment">%% Family switchyard</span>
+0039 Inom = Setpoint.(Family).Data;
+0040 <span class="keyword">if</span> (ismemberof(CycleFamily,<span class="string">'Cyclage'</span>))
+0041      <span class="keyword">for</span> k = 1:tango_group_size(CycleAO.GroupId)
+0042         <span class="comment">%% PAS BEAU --  utiliser le mml pour etre sur de la correspondance</span>
+0043         CycleAO.Inom(k) = cnf.ConfigSetpoint.(Family).Data(k);
+0044         <span class="comment">%% create cycling curve</span>
+0045         curve = <a href="#_sub1" class="code" title="subfunction curve = makecurve(Inom,Imax,MagnetType)">makecurve</a>(CycleAO.Inom(k),CycleAO.Imax(k),Family)
+0046         <span class="comment">%% upload cycling curve</span>
+0047         <span class="keyword">if</span> DisplayFlag
+0048             fprintf(1,<span class="string">'device : Inom = %f Imax= %f \n'</span>, <span class="keyword">...</span>
+0049                 CycleAO.Inom(k), CycleAO.Imax(k));
+0050             plotcyclecurve(curve);
+0051         <span class="keyword">end</span>
+0052         reply = input(<span class="string">'Apply to Dserver new cycling curve ? (y/n)'</span>,<span class="string">'s'</span>);
+0053         <span class="keyword">switch</span> lower(reply)
+0054             <span class="keyword">case</span> {<span class="string">'Y'</span>,<span class="string">'Yes'</span>}
+0055                 <a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>(CycleFamily,curve);
+0056             <span class="keyword">otherwise</span>
+0057                 disp(<span class="string">'Parameter not set to dserver'</span>)
+0058         <span class="keyword">end</span>
+0059     <span class="keyword">end</span>
+0060 <span class="keyword">else</span>
+0061     error(<span class="string">'Unknown Cycling Family'</span>)
+0062 <span class="keyword">end</span>
+0063 
+0064 <span class="keyword">end</span>
+0065 
+0066 <a name="_sub1" href="#_subfunctions" class="code">function curve = makecurve(Inom,Imax,MagnetType)</a>
+0067 
+0068 <span class="keyword">switch</span> MagnetType
+0069     <span class="keyword">case</span> {<span class="string">'BEND'</span>,<span class="string">'QP'</span>,<span class="string">'CH'</span>,<span class="string">'CV'</span>}
+0070         curve = [[0 10]
+0071             [Imax 180]
+0072             [0.95*Inom 180]
+0073             [1.05*Inom 180]
+0074             [0.95*Inom 180]
+0075             [1.05*Inom 180]
+0076             [0.95*Inom 180]
+0077             [Inom 180] ];
+0078 <span class="keyword">end</span>
+0079 <span class="keyword">end</span>
+0080</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/cyclingcommand.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/cyclingcommand.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/cyclingcommand.html	(revision 17)
@@ -0,0 +1,131 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of cyclingcommand</title>
+  <meta name="keywords" content="cyclingcommand">
+  <meta name="description" content="CYCLINGCOMMAND - Cyclage control for magnet">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; cyclingcommand.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>cyclingcommand
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>CYCLINGCOMMAND - Cyclage control for magnet</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout= cyclecommand(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">CYCLINGCOMMAND - Cyclage control for magnet
+
+  INPUTS
+  1. family - Element or family for cycling command
+  2. command - Start, Stop, Pause, Resume
+
+  EXAMPLES
+  1. cyclecommand('LT1/AE/cycleQ.3','Start')
+  2. cyclecommand('CycleQ','Start')
+
+  See also <a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>, <a href="getcyclecurve.html" class="code" title="function curve = getcyclecurve(varargin)">getcyclecurve</a>, <a href="plotcyclingcurve.html" class="code" title="function plotcyclecurve(curve)">plotcyclingcurve</a>, LT1cycling</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="magnetcycle.html" class="code" title="function magnetcycle(varargin)">magnetcycle</a>	MAGNETCYCLE - Standardize machine magnets</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout= cyclecommand(varargin)</a>
+0002 <span class="comment">%CYCLINGCOMMAND - Cyclage control for magnet</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. family - Element or family for cycling command</span>
+0006 <span class="comment">%  2. command - Start, Stop, Pause, Resume</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  EXAMPLES</span>
+0009 <span class="comment">%  1. cyclecommand('LT1/AE/cycleQ.3','Start')</span>
+0010 <span class="comment">%  2. cyclecommand('CycleQ','Start')</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  See also setcyclecurve, getcyclecurve, plotcyclingcurve, LT1cycling</span>
+0013 
+0014 <span class="comment">%</span>
+0015 <span class="comment">% Written by Laurent S. Nadolski</span>
+0016 
+0017 Family = varargin{1};
+0018 
+0019 <span class="comment">%% check if family is valid and return it in AO</span>
+0020 [FamilyIndex, AO] = isfamily(Family);
+0021 
+0022 <span class="comment">%% Commands are case sensitive in TANGO</span>
+0023 <span class="comment">% Force the right case for supported commands</span>
+0024 command = varargin{end};
+0025 
+0026 <span class="keyword">if</span> strcmpi(command,<span class="string">'Start'</span>)
+0027     command = <span class="string">'Start'</span>;
+0028 <span class="keyword">elseif</span> strcmpi(command,<span class="string">'Stop'</span>)
+0029     command = <span class="string">'Stop'</span>;
+0030 <span class="keyword">elseif</span> strcmpi(command,<span class="string">'Init'</span>)
+0031     command = <span class="string">'Init'</span>;
+0032 <span class="keyword">elseif</span> strcmpi(command,<span class="string">'Pause'</span>)
+0033     command = <span class="string">'Pause'</span>;
+0034 <span class="keyword">elseif</span> strcmpi(command,<span class="string">'Resume'</span>)
+0035     command = <span class="string">'Resume'</span>;
+0036 <span class="keyword">elseif</span> strcmpi(command,<span class="string">'Status'</span>)
+0037     command = <span class="string">'Status'</span>;
+0038 <span class="keyword">elseif</span> strcmpi(command,<span class="string">'State'</span>)
+0039     command = <span class="string">'State'</span>;
+0040 <span class="keyword">else</span>
+0041     error(<span class="string">'Unknown command'</span>)
+0042 <span class="keyword">end</span>
+0043 
+0044 <span class="keyword">if</span> FamilyIndex
+0045 
+0046     <span class="keyword">if</span> (ismemberof(Family,<span class="string">'Cyclage'</span>))
+0047         rep = tango_group_command_inout2(AO.GroupId,command,1,0);        
+0048         <span class="keyword">for</span> k = 1:length(rep)
+0049             data = rep.replies(k).data;
+0050         <span class="keyword">end</span>
+0051         varargout{1} = data;
+0052     <span class="keyword">else</span>
+0053         error(<span class="string">'Wrong Family'</span>);
+0054 <span class="comment">%         %%%%%%%%%%%%%%%%</span>
+0055 <span class="comment">%         % FAMILY INPUT %</span>
+0056 <span class="comment">%         %%%%%%%%%%%%%%%%</span>
+0057 <span class="comment">%</span>
+0058 <span class="comment">%         % DeviceList</span>
+0059 <span class="comment">%         if length(varargin) &gt; 1</span>
+0060 <span class="comment">%             DeviceList =varargin{2};</span>
+0061 <span class="comment">%         else</span>
+0062 <span class="comment">%             DeviceList = family2dev(Family);     % Default behavior comes from family2dev</span>
+0063 <span class="comment">%         end</span>
+0064 <span class="comment">%</span>
+0065 <span class="comment">%         %Convertion to TANGO name</span>
+0066 <span class="comment">%         Family = family2tango(Family,Field,DeviceList);</span>
+0067 <span class="comment">%</span>
+0068     <span class="keyword">end</span>
+0069 <span class="keyword">else</span> <span class="comment">% TANGONAME</span>
+0070     <span class="keyword">if</span> strcmpi(command,<span class="string">'Start'</span>)
+0071         tango_command_inout2(Family, <span class="string">'Init'</span>);
+0072         tango_command_inout2(Family,command);
+0073     <span class="keyword">end</span>
+0074 <span class="keyword">end</span>
+0075</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/getcyclecurve.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/getcyclecurve.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/getcyclecurve.html	(revision 17)
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getcyclecurve</title>
+  <meta name="keywords" content="getcyclecurve">
+  <meta name="description" content="GETCYCLECURVE - Get curve for cycling magnet">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; getcyclecurve.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>getcyclecurve
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>GETCYCLECURVE - Get curve for cycling magnet</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function curve = getcyclecurve(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">GETCYCLECURVE - Get curve for cycling magnet
+
+  INPUTS
+  1. Family or Tango sequencer device name
+  OPTIONAL
+  2. DEviceListe
+
+  OUTPUTS
+  1. curve read from Dserver
+
+  EXAMPLES
+  1. getcyclecurve('LT1/tests/currentCH.2');
+  2. getcyclecurve('CycleQP');
+  3. getcyclecurve('CycleQP',[1 3]);
+
+  NOTES:
+  1. Tango specific
+
+  See Also setcyclingcurve, <a href="plotcyclingcurve.html" class="code" title="function plotcyclecurve(curve)">plotcyclingcurve</a>, LT1cycling</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function curve = getcyclecurve(varargin)</a>
+0002 <span class="comment">%GETCYCLECURVE - Get curve for cycling magnet</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. Family or Tango sequencer device name</span>
+0006 <span class="comment">%  OPTIONAL</span>
+0007 <span class="comment">%  2. DEviceListe</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  OUTPUTS</span>
+0010 <span class="comment">%  1. curve read from Dserver</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  EXAMPLES</span>
+0013 <span class="comment">%  1. getcyclecurve('LT1/tests/currentCH.2');</span>
+0014 <span class="comment">%  2. getcyclecurve('CycleQP');</span>
+0015 <span class="comment">%  3. getcyclecurve('CycleQP',[1 3]);</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">%  NOTES:</span>
+0018 <span class="comment">%  1. Tango specific</span>
+0019 <span class="comment">%</span>
+0020 <span class="comment">%  See Also setcyclingcurve, plotcyclingcurve, LT1cycling</span>
+0021 
+0022 <span class="comment">% TODO: This just a first shot routine</span>
+0023 
+0024 DeviceList = [];
+0025 
+0026 <span class="keyword">if</span> isempty(varargin)
+0027     error(<span class="string">'At least provide a Family'</span>);
+0028 <span class="keyword">end</span>
+0029 
+0030 Family = varargin{1};
+0031 
+0032 <span class="keyword">if</span> nargin &gt; 1
+0033     DeviceList = varargin{2};
+0034 <span class="keyword">end</span>
+0035 
+0036 [FamilyFlag AO] = isFamily(Family);
+0037 
+0038 <span class="keyword">if</span> FamilyFlag
+0039     <span class="keyword">if</span> isempty(DeviceList)
+0040         DeviceList = family2dev(Family);
+0041     <span class="keyword">end</span>
+0042     DeviceName = family2tangodev(Family, DeviceList);
+0043     <span class="keyword">for</span> k = 1:size(DeviceName,1)
+0044         val = tango_read_attribute2(DeviceName{k},<span class="string">'sequenceValues'</span>);
+0045         curve{k}.Data(:,1) = val.value;
+0046         val = tango_read_attribute2(DeviceName{k},<span class="string">'waitingTimes'</span>);
+0047         curve{k}.Data(:,2) = val.value;
+0048         curve{k}.DeviceName = DeviceName{k};
+0049     <span class="keyword">end</span>
+0050 <span class="keyword">else</span>
+0051     val = tango_read_attribute2(Family,<span class="string">'sequenceValues'</span>);
+0052     curve(:,1) = val.value;
+0053     val = tango_read_attribute2(Family,<span class="string">'waitingTimes'</span>);
+0054     curve(:,2) = val.value;
+0055 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/index.html	(revision 17)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/cycling</title>
+  <meta name="keywords" content="machine/Soleil/common/cycling">
+  <meta name="description" content="Index for Directory machine/Soleil/common/cycling">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/cycling</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="config_dserver_cyclage.html">config_dserver_cyclage</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="configcyclecurve.html">configcyclecurve</a></td><td>% </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="createcyclecurve.html">createcyclecurve</a></td><td>INPUTS </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="createcyclecurvefull.html">createcyclecurvefull</a></td><td>INPUTS </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="cyclingcommand.html">cyclingcommand</a></td><td>CYCLINGCOMMAND - Cyclage control for magnet </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getcyclecurve.html">getcyclecurve</a></td><td>GETCYCLECURVE - Get curve for cycling magnet </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="magnetcycle.html">magnetcycle</a></td><td>MAGNETCYCLE - Standardize machine magnets </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plotcyclingcurve.html">plotcyclingcurve</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setcyclecurve.html">setcyclecurve</a></td><td>SETCYCLECURVE - Set curve for cycling magnet in Dserver </td></tr></table>
+
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/magnetcycle.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/magnetcycle.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/magnetcycle.html	(revision 17)
@@ -0,0 +1,782 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of magnetcycle</title>
+  <meta name="keywords" content="magnetcycle">
+  <meta name="description" content="MAGNETCYCLE - Standardize machine magnets">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; magnetcycle.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>magnetcycle
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>MAGNETCYCLE - Standardize machine magnets</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function magnetcycle(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MAGNETCYCLE - Standardize machine magnets
+
+  INPUTS
+  1. LatticeFile -'Present' {Default} - cycle to present setpoints
+                  'Golden'  - cycle to the golden lattice setpoints
+                  'UserSelect' - cycle to a selected file (a pop up to choose will be displayed)
+                   LatticeFilename - cycle to the ConfigSetpoint in that file
+
+  Optional input arguments
+  2. Cells of Families - for instance {'CH','CV'} or {'QP'}
+  3. 'Display' or 'NoDisplay' - to verify before standardizing and display results (or not)
+  4. Machine type - 'LT1', 'LT2', 'StorageRing', 'Booster'
+                     Default is given by mml via getfamilydata('SubMachine')
+  5. 'NoApply' - just configure but does not start cycling
+
+  EXAMPLES
+  1. magnetcycle('Golden')
+  2. magnetcycle('Golden',{'CH'}) % cycle only CH family to golden
+  values
+
+ See Also <a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>, getcyclingcurve, <a href="plotcyclingcurve.html" class="code" title="function plotcyclecurve(curve)">plotcyclingcurve</a>, LT1cycling</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="cyclingcommand.html" class="code" title="function varargout= cyclecommand(varargin)">cyclingcommand</a>	CYCLINGCOMMAND - Cyclage control for magnet</li><li><a href="plotcyclingcurve.html" class="code" title="function plotcyclecurve(curve)">plotcyclingcurve</a>	</li><li><a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>	SETCYCLECURVE - Set curve for cycling magnet in Dserver</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function curve = makecyclingcurve(Inom,Imax,MagnetType,varargin)</a></li><li><a href="#_sub2" class="code">function CyclingEnd = anacycling(Families)</a></li><li><a href="#_sub3" class="code">function cyclingconfiguration(Lattice, Family, varargin);</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function magnetcycle(varargin)</a>
+0002 <span class="comment">%MAGNETCYCLE - Standardize machine magnets</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. LatticeFile -'Present' {Default} - cycle to present setpoints</span>
+0006 <span class="comment">%                  'Golden'  - cycle to the golden lattice setpoints</span>
+0007 <span class="comment">%                  'UserSelect' - cycle to a selected file (a pop up to choose will be displayed)</span>
+0008 <span class="comment">%                   LatticeFilename - cycle to the ConfigSetpoint in that file</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">%  Optional input arguments</span>
+0011 <span class="comment">%  2. Cells of Families - for instance {'CH','CV'} or {'QP'}</span>
+0012 <span class="comment">%  3. 'Display' or 'NoDisplay' - to verify before standardizing and display results (or not)</span>
+0013 <span class="comment">%  4. Machine type - 'LT1', 'LT2', 'StorageRing', 'Booster'</span>
+0014 <span class="comment">%                     Default is given by mml via getfamilydata('SubMachine')</span>
+0015 <span class="comment">%  5. 'NoApply' - just configure but does not start cycling</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">%  EXAMPLES</span>
+0018 <span class="comment">%  1. magnetcycle('Golden')</span>
+0019 <span class="comment">%  2. magnetcycle('Golden',{'CH'}) % cycle only CH family to golden</span>
+0020 <span class="comment">%  values</span>
+0021 <span class="comment">%</span>
+0022 <span class="comment">% See Also setcyclecurve, getcyclingcurve, plotcyclingcurve, LT1cycling</span>
+0023 
+0024 <span class="comment">%</span>
+0025 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0026 
+0027 <span class="comment">% TODO: Display part, cycle single element, cycle set of families (not</span>
+0028 <span class="comment">% all)</span>
+0029 
+0030 DisplayFlag = 1;
+0031 ApplyFlag = 1;
+0032 
+0033 LatticeFileDefault = <span class="string">'Present'</span>;
+0034 ConfigFlag = 1; <span class="comment">% confirm before modifying cycling ramp</span>
+0035 
+0036 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0037 <span class="comment">% Input parsing and checking %</span>
+0038 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0039 
+0040 <span class="keyword">for</span> i = length(varargin):-1:1
+0041     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Present'</span>)
+0042         LatticeFile = <span class="string">'Present'</span>;
+0043         varargin(i) = [];
+0044     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Golden'</span>)
+0045         LatticeFile = <span class="string">'Golden'</span>;
+0046         varargin(i) = [];
+0047     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'UserSelect'</span>)
+0048         LatticeFile = <span class="string">'UserSelect'</span>;
+0049         varargin(i) = [];
+0050     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0051         DisplayFlag = 1;
+0052         varargin(i) = [];
+0053     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0054         DisplayFlag = 0;
+0055         varargin(i) = [];
+0056     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'LT1'</span>)
+0057         Machine = <span class="string">'LT1'</span>;
+0058         varargin(i) = [];
+0059     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Booster'</span>)
+0060         Machine = <span class="string">'Booster'</span>;
+0061         varargin(i) = [];
+0062     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'LT2'</span>)
+0063         Machine = <span class="string">'LT2'</span>;
+0064         varargin(i) = [];
+0065     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'StorageRing'</span>)
+0066         Machine = <span class="string">'StorageRing'</span>;
+0067         varargin(i) = [];
+0068     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoConfig'</span>)
+0069         ConfigFlag = 0;
+0070     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Config'</span>)
+0071         ConfigFlag = 1;
+0072     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Apply'</span>)
+0073         ApplyFlag = 1;
+0074     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoApply'</span>)
+0075         ApplyFlag = 0;        
+0076     <span class="keyword">elseif</span> iscell(varargin{i})
+0077         Magnet = varargin{i};
+0078         varargin(i) = [];
+0079     <span class="keyword">end</span>
+0080 <span class="keyword">end</span>
+0081 
+0082 <span class="keyword">if</span> ~exist(<span class="string">'LatticeFile'</span>,<span class="string">'var'</span>)
+0083     LatticeFile = LatticeFileDefault;
+0084 <span class="keyword">end</span>
+0085 
+0086 <span class="keyword">if</span> ~exist(<span class="string">'Machine'</span>,<span class="string">'var'</span>)
+0087     Machine = getfamilydata(<span class="string">'SubMachine'</span>);
+0088 <span class="keyword">end</span>
+0089 
+0090 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0091 <span class="comment">% Get the proper lattice %</span>
+0092 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0093 <span class="keyword">if</span> strcmpi(LatticeFile, <span class="string">'UserSelect'</span>)
+0094     [FileName, DirectoryName, FilterIndex] = uigetfile(<span class="string">'*.mat'</span>, <span class="string">'Select a Machine Configuration File for Standardization'</span>, getfamilydata(<span class="string">'Directory'</span>, <span class="string">'ConfigData'</span>));
+0095     <span class="keyword">if</span> FilterIndex == 0
+0096         <span class="keyword">if</span> strcmpi(DisplayFlag, <span class="string">'Display'</span>)
+0097             fprintf(<span class="string">'   %s standardization cancelled\n'</span>, Machine);
+0098         <span class="keyword">end</span>
+0099         <span class="keyword">return</span>
+0100     <span class="keyword">end</span>
+0101     <span class="keyword">try</span>
+0102         load([DirectoryName FileName]);
+0103         Lattice = ConfigSetpoint;
+0104     <span class="keyword">catch</span>
+0105         error(<span class="string">'Problem getting data from machine configuration file\n%s'</span>,lasterr);
+0106     <span class="keyword">end</span>
+0107     <span class="keyword">if</span> strcmpi(DisplayFlag, <span class="string">'Display'</span>)
+0108         fprintf(<span class="string">'   Standardizing to the lattice file %s\n'</span>, [DirectoryName FileName]);
+0109     <span class="keyword">end</span>
+0110 <span class="keyword">elseif</span> strcmpi(LatticeFile, <span class="string">'Present'</span>)
+0111     <span class="comment">% Present lattice</span>
+0112     Lattice = getmachineconfig;
+0113     <span class="keyword">if</span> strcmpi(DisplayFlag, <span class="string">'Display'</span>)
+0114         fprintf(<span class="string">'   Standardizing to the present lattice\n'</span>);
+0115     <span class="keyword">end</span>
+0116 <span class="keyword">elseif</span> strcmpi(LatticeFile, <span class="string">'Golden'</span>)
+0117     <span class="comment">% Golden lattice</span>
+0118     FileName = getfamilydata(<span class="string">'OpsData'</span>, <span class="string">'LatticeFile'</span>);
+0119     DirectoryName = getfamilydata(<span class="string">'Directory'</span>, <span class="string">'OpsData'</span>);
+0120     load([DirectoryName FileName]);
+0121 
+0122     Lattice = ConfigSetpoint;
+0123     <span class="keyword">if</span> strcmpi(DisplayFlag, <span class="string">'Display'</span>)
+0124         fprintf(<span class="string">'   Standardizing to the golden lattice %s\n'</span>, [DirectoryName FileName]);
+0125     <span class="keyword">end</span>
+0126 <span class="keyword">elseif</span> ischar(LatticeFile)
+0127     load(LatticeFile);
+0128     Lattice = ConfigSetpoint;
+0129     <span class="keyword">if</span> strcmpi(DisplayFlag, <span class="string">'Display'</span>)
+0130         fprintf(<span class="string">'   Standardizing to lattice file %s\n'</span>, LatticeFile);
+0131     <span class="keyword">end</span>
+0132 <span class="keyword">else</span>
+0133     error(<span class="string">'Not sure what lattice to cycle to!'</span>);
+0134 <span class="keyword">end</span>
+0135 
+0136 
+0137 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0138 <span class="comment">% Query to begin measurement %</span>
+0139 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0140 <span class="keyword">if</span> strcmpi(DisplayFlag, <span class="string">'Display'</span>)
+0141     tmp = questdlg([<span class="string">'Begin '</span> getfamilydata(<span class="string">'Machine'</span>) <span class="string">' standardization?'</span>], <span class="keyword">...</span>
+0142         <span class="string">'MAGNETCYCLE'</span>,<span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'No'</span>);
+0143     <span class="keyword">if</span> strcmpi(tmp,<span class="string">'No'</span>)
+0144         fprintf(<span class="string">'   Lattice standardization cancelled\n'</span>);
+0145         <span class="keyword">return</span>
+0146     <span class="keyword">end</span>
+0147 <span class="keyword">end</span>
+0148 
+0149 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0150 <span class="comment">% Set cycling curves</span>
+0151 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0152 Family = fieldnames(Lattice);
+0153 
+0154 <span class="comment">% select only asked families</span>
+0155 <span class="keyword">if</span> exist(<span class="string">'Magnet'</span>,<span class="string">'var'</span>) &amp;&amp; ~isempty(Magnet)
+0156     <span class="keyword">if</span> iscell(Magnet)
+0157         <span class="keyword">for</span> k = 1:length(Magnet),
+0158             <span class="comment">% For C13 Family special trick to reconstruct the family</span>
+0159             <span class="keyword">if</span> strcmpi(Magnet{k},<span class="string">'QC13'</span>)
+0160                 LatticeN.QC13.Setpoint.Data = [
+0161                     Lattice.Q1.Setpoint.Data(7)
+0162                     Lattice.Q2.Setpoint.Data(7)
+0163                     Lattice.Q3.Setpoint.Data(7)
+0164                     Lattice.Q4.Setpoint.Data(13)
+0165                     Lattice.Q5.Setpoint.Data(13:14)
+0166                     Lattice.Q4.Setpoint.Data(14)
+0167                     Lattice.Q6.Setpoint.Data(19)
+0168                     Lattice.Q7.Setpoint.Data(19)
+0169                     Lattice.Q8.Setpoint.Data(19)
+0170                     ];
+0171                 LatticeN.QC13.Setpoint.FamilyName = <span class="string">'QC13'</span>;
+0172                 FamilyN{k} = Magnet{k};
+0173             <span class="keyword">end</span>
+0174             [temp flag] = findkeyword(Family,Magnet{k});
+0175             <span class="keyword">if</span> flag
+0176                 LatticeN.(Magnet{k})  = Lattice.(Magnet{k});
+0177                 FamilyN{k} = Magnet{k};
+0178             <span class="keyword">end</span>
+0179         <span class="keyword">end</span>
+0180     <span class="keyword">end</span>    
+0181     Lattice = LatticeN;
+0182     Family  = FamilyN';
+0183     <a href="#_sub3" class="code" title="subfunction cyclingconfiguration(Lattice, Family, varargin);">cyclingconfiguration</a>(Lattice, Family, varargin{:});
+0184 <span class="keyword">else</span>
+0185     disp(<span class="string">'Select first a magnet!'</span>);
+0186     <span class="keyword">return</span>;
+0187 <span class="keyword">end</span>
+0188 
+0189 
+0190 <span class="comment">%%%%%%%%%%%%%%%%%%%</span>
+0191 <span class="comment">% Start the cycle %</span>
+0192 <span class="comment">%%%%%%%%%%%%%%%%%%%</span>
+0193 <span class="keyword">if</span> ApplyFlag
+0194 
+0195     disp(<span class="string">'  *****************************************************************'</span>);
+0196     disp(<span class="string">'  **  Cycling will start!                                        **'</span>);
+0197     disp(<span class="string">'  **  Are you sure to start cycling magnet                       **'</span>);
+0198     disp(<span class="string">'  **                                                             **'</span>);
+0199     disp(<span class="string">'  *****************************************************************'</span>);
+0200 
+0201     tmp = questdlg(<span class="string">'Start cycling magnet ?'</span>,<span class="string">'MAGNETCYCLE'</span>,<span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'No'</span>);
+0202     <span class="keyword">if</span> strcmpi(tmp,<span class="string">'No'</span>)
+0203         disp(<span class="string">'Cycling cancelled'</span>)
+0204     <span class="keyword">else</span>
+0205         disp(<span class="string">'  ** Cycling starting                                     **'</span>);
+0206         Families = Family;
+0207         <span class="comment">% Machine switchyard</span>
+0208         <span class="keyword">switch</span> Machine
+0209             <span class="keyword">case</span> {<span class="string">'LT1'</span>,<span class="string">'StorageRing'</span>,<span class="string">'LT2'</span>}
+0210                 <span class="comment">% start all selected families for cycling</span>
+0211                 h = waitbar(0,sprintf(<span class="string">'Starting cycling on magnets: %2d %%'</span>,0));
+0212                 <span class="keyword">for</span> k1 = 1:length(Families),
+0213                     Family = Families{k1};
+0214                     <span class="comment">% check if family is valid and return it in AO</span>
+0215                     CycleFamily = [<span class="string">'Cycle'</span> Family];
+0216                     <a href="cyclingcommand.html" class="code" title="function varargout= cyclecommand(varargin)">cyclingcommand</a>(CycleFamily,<span class="string">'Start'</span>);
+0217                     waitbar(k1/length(Families), h, sprintf(<span class="string">'Cycling configuration progression: %2d %%'</span>, k1/length(Families)*100))
+0218                 <span class="keyword">end</span>
+0219                 close(h);
+0220 
+0221                 CyclingEnd = 1;
+0222                 <span class="comment">% Cycling</span>
+0223                 <span class="keyword">while</span> ~CyclingEnd
+0224                     fprintf(<span class="string">'Cycling running, %s'</span>,datestr(now));
+0225                     pause(5); <span class="comment">%seconds</span>
+0226                     CyclingEnd = <a href="#_sub2" class="code" title="subfunction CyclingEnd = anacycling(Families)">anacycling</a>(Families);
+0227                 <span class="keyword">end</span>
+0228 
+0229             <span class="keyword">case</span> <span class="string">'Booster'</span>
+0230                 disp(<span class="string">'Not implemented yet'</span>);
+0231                 <span class="keyword">return</span>;
+0232 
+0233             <span class="keyword">otherwise</span>
+0234                 error(<span class="string">'Unknown machine %s'</span>,Machine);
+0235         <span class="keyword">end</span>
+0236 
+0237         <span class="keyword">if</span> strcmpi(DisplayFlag, <span class="string">'Display'</span>)
+0238             fprintf(<span class="string">'   %s standardization complete\n'</span>, Machine);
+0239         <span class="keyword">end</span>
+0240     <span class="keyword">end</span>
+0241 
+0242 
+0243 <span class="keyword">end</span>
+0244 
+0245 <span class="comment">%==========================================================================</span>
+0246 <a name="_sub1" href="#_subfunctions" class="code">function curve = makecyclingcurve(Inom,Imax,MagnetType,varargin)</a>
+0247 <span class="comment">% makecyclingcurve - Generates cycling curve used by Cycling Dserver</span>
+0248 <span class="comment">%</span>
+0249 <span class="comment">%  INPUTS</span>
+0250 <span class="comment">%  1. Inom - Value at the end of cycling</span>
+0251 <span class="comment">%  2. Imax - Maximum value</span>
+0252 <span class="comment">%  3. MagnetType - Type of magnet ('BEND', 'Q1', 'CH', ...)</span>
+0253 <span class="comment">%  Optionals parameters</span>
+0254 <span class="comment">%  4. CyclingMode - Type of cycling process</span>
+0255 <span class="comment">%                   'Simple' {default}</span>
+0256 <span class="comment">%                   'Full'</span>
+0257 <span class="comment">%                   'Startup' - after shutdown</span>
+0258 <span class="comment">%  5. Machine type - 'LT1', 'LT2', 'StorageRing', 'Booster'</span>
+0259 <span class="comment">%                     Default is given by mml via getfamilydata('Machine')</span>
+0260 <span class="comment">%</span>
+0261 <span class="comment">%</span>
+0262 <span class="comment">%  OUTPUTS</span>
+0263 <span class="comment">%  1. curve - 2D array discribing the cycling curve</span>
+0264 <span class="comment">%             Structure of 2D array in multiple inputs</span>
+0265 <span class="comment">%</span>
+0266 <span class="comment">%  EXAMPLES</span>
+0267 <span class="comment">%  1. makecurve(10,120,'CH')</span>
+0268 <span class="comment">%  2. makecurve([10 12],[120 130],'CH')</span>
+0269 <span class="comment">%</span>
+0270 <span class="comment">%  NOTES</span>
+0271 <span class="comment">%  1. MagnetType has to be the same for all vectorial inputs</span>
+0272 <span class="comment">%</span>
+0273 <span class="comment">%</span>
+0274 <span class="comment">%  See Also plotcyclecurve</span>
+0275 
+0276 <span class="comment">%</span>
+0277 <span class="comment">% Written by Laurent S. Nadolski</span>
+0278 
+0279 <span class="comment">% modification mars 2006 marie</span>
+0280 <span class="comment">%CyclingMode = 'Simple';</span>
+0281 DisplayFlag = 0;
+0282 
+0283 <span class="comment">%% INPUT PARSER</span>
+0284 <span class="keyword">for</span> i = length(varargin):-1:1
+0285     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Simple'</span>)
+0286         CyclingMode = <span class="string">'Simple'</span>;
+0287         <span class="comment">% modification mars 2006 marie</span>
+0288         <span class="comment">% se justifie par le fait que varargin n'a qu'un seul argument</span>
+0289         <span class="comment">%varargin(i) = [];</span>
+0290     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Full'</span>)
+0291         CyclingMode = <span class="string">'Full'</span>;
+0292         <span class="comment">% modification mars 2006 marie</span>
+0293         <span class="comment">%varargin(i) = [];</span>
+0294     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Startup'</span>)
+0295         CyclingMode = <span class="string">'Startup'</span>;
+0296         <span class="comment">% modification mars 2006 marie</span>
+0297         <span class="comment">%varargin(i) = [];</span>
+0298     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'LT1'</span>)
+0299         Machine = <span class="string">'LT1'</span>;
+0300         varargin(i) = [];
+0301     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Booster'</span>)
+0302         Machine = <span class="string">'Booster'</span>;
+0303         varargin(i) = [];
+0304     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'LT2'</span>)
+0305         Machine = <span class="string">'LT2'</span>;
+0306         varargin(i) = [];
+0307     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'StorageRing'</span>)
+0308         Machine = <span class="string">'StorageRing'</span>;
+0309         varargin(i) = [];
+0310     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0311         DisplayFlag = 1;
+0312         varargin(i) = [];
+0313     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0314         DisplayFlag = 0;
+0315         varargin(i) = [];
+0316     <span class="keyword">end</span>
+0317 <span class="keyword">end</span>
+0318 
+0319 <span class="keyword">if</span> ~ischar(MagnetType)
+0320     error(<span class="string">'Magnet Type sould be a string'</span>)
+0321 <span class="keyword">end</span>
+0322 
+0323 <span class="keyword">if</span> ~exist(<span class="string">'Machine'</span>,<span class="string">'var'</span>)
+0324     Machine = getfamilydata(<span class="string">'Machine'</span>);
+0325 <span class="keyword">end</span>
+0326 
+0327 <span class="comment">% if not a single element</span>
+0328 <span class="keyword">if</span> length(Inom) &gt; 1
+0329     <span class="keyword">for</span> k = 1:length(Inom)
+0330         curve{k} = <a href="#_sub1" class="code" title="subfunction curve = makecyclingcurve(Inom,Imax,MagnetType,varargin)">makecyclingcurve</a>(Inom(k),Imax(k),MagnetType,varargin{:});
+0331     <span class="keyword">end</span>
+0332 <span class="keyword">else</span>
+0333 
+0334     <span class="comment">%% Main part</span>
+0335     <span class="keyword">switch</span> Machine
+0336         <span class="keyword">case</span> <span class="string">'LT1'</span>
+0337             <span class="keyword">switch</span> MagnetType
+0338                 <span class="keyword">case</span> {<span class="string">'BEND'</span>}
+0339                     <span class="keyword">switch</span> CyclingMode
+0340                         <span class="keyword">case</span> <span class="string">'Simple'</span>
+0341                             curve = [[0 1] <span class="comment">% current time</span>
+0342                                 [Imax 30]
+0343                                 [Inom 1] ];
+0344                         <span class="keyword">case</span> <span class="string">'Full'</span>
+0345                             <span class="comment">%curve = [[0 10] % current time</span>
+0346                             <span class="comment">%[Imax 180]</span>
+0347                             <span class="comment">%[0.95*Inom 180]</span>
+0348                             <span class="comment">%[1.05*Inom 180]</span>
+0349                             <span class="comment">%[0.95*Inom 180]</span>
+0350                             <span class="comment">%[1.05*Inom 180]</span>
+0351                             <span class="comment">%[Inom 180] ];</span>
+0352                             curve = [[0 10] <span class="comment">% test !</span>
+0353                                 [Imax 10]
+0354                                 [0.95*Inom 10]
+0355                                 [1.05*Inom 10]
+0356                                 [0.95*Inom 10]
+0357                                 [1.05*Inom 10]
+0358                                 [Inom 10] ];
+0359                         <span class="keyword">case</span> <span class="string">'Startup'</span>
+0360                             curve = [[0 10] <span class="comment">% current time</span>
+0361                                 [Imax 1800] <span class="comment">% temps de chauffe 30 min</span>
+0362                                 [0.95*Inom 180]
+0363                                 [1.05*Inom 180]
+0364                                 [0.95*Inom 180]
+0365                                 [1.05*Inom 180]
+0366                                 [Inom 180] ];
+0367                         <span class="keyword">otherwise</span>
+0368                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0369                     <span class="keyword">end</span>
+0370                 <span class="keyword">case</span> {<span class="string">'QP'</span>}
+0371                     <span class="keyword">switch</span> CyclingMode
+0372                         <span class="keyword">case</span> <span class="string">'Simple'</span>
+0373                             <span class="comment">% test avec temps plus courts mars 2006</span>
+0374                             curve = [[0 1] <span class="comment">% current time</span>
+0375                                 [Imax 10]
+0376                                 [Inom 1] ];
+0377                             <span class="comment">%                             curve = [[0 1] % current time</span>
+0378                             <span class="comment">%                                 [Imax 30]</span>
+0379                             <span class="comment">%                                 [Inom 1] ];</span>
+0380                         <span class="keyword">case</span> <span class="string">'Full'</span>
+0381                             <span class="comment">% on raccourcit les temps pour tests mars 2006</span>
+0382                             curve = [[0 10] <span class="comment">% current time</span>
+0383                                 [Imax 40]
+0384                                 [0.95*Inom 10]
+0385                                 [1.05*Inom 10]
+0386                                 [0.95*Inom 10]
+0387                                 [1.05*Inom 10]
+0388                                 [Inom 10] ];
+0389                             <span class="comment">%                             curve = [[0 10] % current time</span>
+0390                             <span class="comment">%                                 [Imax 180]</span>
+0391                             <span class="comment">%                                 [0.95*Inom 180]</span>
+0392                             <span class="comment">%                                 [1.05*Inom 180]</span>
+0393                             <span class="comment">%                                 [0.95*Inom 180]</span>
+0394                             <span class="comment">%                                 [1.05*Inom 180]</span>
+0395                             <span class="comment">%                                 [Inom 10] ];</span>
+0396                         <span class="keyword">case</span> <span class="string">'Startup'</span>
+0397                             <span class="comment">% test avec temps courts mars 2006</span>
+0398                             curve = [[0 10] <span class="comment">% current time</span>
+0399                                 [Imax 20] <span class="comment">% temps de chauffe 10 min</span>
+0400                                 [0.95*Inom 10]
+0401                                 [1.05*Inom 10]
+0402                                 [0.95*Inom 10]
+0403                                 [1.05*Inom 10]
+0404                                 [Inom 20] ];
+0405                             <span class="comment">%                             curve = [[0 10] % current time</span>
+0406                             <span class="comment">%                                 [Imax 600] % temps de chauffe 10 min</span>
+0407                             <span class="comment">%                                 [0.95*Inom 180]</span>
+0408                             <span class="comment">%                                 [1.05*Inom 180]</span>
+0409                             <span class="comment">%                                 [0.95*Inom 180]</span>
+0410                             <span class="comment">%                                 [1.05*Inom 180]</span>
+0411                             <span class="comment">%                                 [Inom 180] ];</span>
+0412                         <span class="keyword">otherwise</span>
+0413                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0414                     <span class="keyword">end</span>
+0415                 <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}
+0416                     <span class="keyword">switch</span> CyclingMode
+0417                         <span class="keyword">case</span> {<span class="string">'Simple'</span>, <span class="string">'Full'</span>,<span class="string">'Startup'</span>}
+0418                             curve = [[0 1] <span class="comment">% current time</span>
+0419                                 [Imax 30]
+0420                                 [Inom 1] ];
+0421                         <span class="keyword">otherwise</span>
+0422                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0423                     <span class="keyword">end</span>
+0424 
+0425                 <span class="keyword">otherwise</span>
+0426                     error(<span class="string">'Unknown magnet type: %s'</span>, MagnetType)
+0427             <span class="keyword">end</span>
+0428         <span class="keyword">case</span> <span class="string">'LT2'</span>
+0429              <span class="keyword">switch</span> MagnetType
+0430                 <span class="keyword">case</span> {<span class="string">'BEND'</span>}
+0431                     <span class="keyword">switch</span> CyclingMode
+0432                         <span class="keyword">case</span> <span class="string">'Simple'</span>
+0433                             curve = [[0 10] <span class="comment">% current time</span>
+0434                                 [Imax 30]
+0435                                 [Inom 10] ];
+0436                         <span class="keyword">case</span> <span class="string">'Full'</span>
+0437                             <span class="comment">%curve = [[0 10] % current time</span>
+0438                             <span class="comment">%[Imax 180]</span>
+0439                             <span class="comment">%[0.95*Inom 180]</span>
+0440                             <span class="comment">%[1.05*Inom 180]</span>
+0441                             <span class="comment">%[0.95*Inom 180]</span>
+0442                             <span class="comment">%[1.05*Inom 180]</span>
+0443                             <span class="comment">%[Inom 180] ];</span>
+0444                             
+0445                             curve = [[0 10] <span class="comment">%</span>
+0446                                 [Imax 60]
+0447                                 [0.95*Inom 60]
+0448                                 [1.05*Inom 60]
+0449                                 [Inom 10] ];
+0450   
+0451                         <span class="keyword">case</span> <span class="string">'Startup'</span>
+0452                             curve = [[0 10] <span class="comment">% current time</span>
+0453                                 [Imax 1800] <span class="comment">% temps de chauffe 30 min</span>
+0454                                 [0.95*Inom 180]
+0455                                 [1.05*Inom 180]
+0456                                 [0.95*Inom 180]
+0457                                 [1.05*Inom 180]
+0458                                 [Inom 180] ];
+0459                         <span class="keyword">otherwise</span>
+0460                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0461                     <span class="keyword">end</span>
+0462                 <span class="keyword">case</span> {<span class="string">'QP'</span>}
+0463                     <span class="keyword">switch</span> CyclingMode
+0464                         <span class="keyword">case</span> <span class="string">'Simple'</span>
+0465                             <span class="comment">% test avec temps plus courts mars 2006</span>
+0466                             curve = [[0 1] <span class="comment">% current time</span>
+0467                                 [Imax 10]
+0468                                 [Inom 1] ];
+0469                             <span class="comment">%                             curve = [[0 1] % current time</span>
+0470                             <span class="comment">%                                 [Imax 30]</span>
+0471                             <span class="comment">%                                 [Inom 1] ];</span>
+0472                         <span class="keyword">case</span> <span class="string">'Full'</span>
+0473                             <span class="comment">% on raccourcit les temps pour tests mars 2006</span>
+0474                             curve = [[0 10] <span class="comment">% current time</span>
+0475                                 [Imax 40]
+0476                                 [0.95*Inom 10]
+0477                                 [1.05*Inom 10]
+0478                                 [0.95*Inom 10]
+0479                                 [1.05*Inom 10]
+0480                                 [Inom 10] ];
+0481                             <span class="comment">%                             curve = [[0 10] % current time</span>
+0482                             <span class="comment">%                                 [Imax 180]</span>
+0483                             <span class="comment">%                                 [0.95*Inom 180]</span>
+0484                             <span class="comment">%                                 [1.05*Inom 180]</span>
+0485                             <span class="comment">%                                 [0.95*Inom 180]</span>
+0486                             <span class="comment">%                                 [1.05*Inom 180]</span>
+0487                             <span class="comment">%                                 [Inom 10] ];</span>
+0488                         <span class="keyword">case</span> <span class="string">'Startup'</span>
+0489                             <span class="comment">% test avec temps courts mars 2006</span>
+0490                             curve = [[0 10] <span class="comment">% current time</span>
+0491                                 [Imax 20] <span class="comment">% temps de chauffe 10 min</span>
+0492                                 [0.95*Inom 10]
+0493                                 [1.05*Inom 10]
+0494                                 [0.95*Inom 10]
+0495                                 [1.05*Inom 10]
+0496                                 [Inom 20] ];
+0497                             <span class="comment">%                             curve = [[0 10] % current time</span>
+0498                             <span class="comment">%                                 [Imax 600] % temps de chauffe 10 min</span>
+0499                             <span class="comment">%                                 [0.95*Inom 180]</span>
+0500                             <span class="comment">%                                 [1.05*Inom 180]</span>
+0501                             <span class="comment">%                                 [0.95*Inom 180]</span>
+0502                             <span class="comment">%                                 [1.05*Inom 180]</span>
+0503                             <span class="comment">%                                 [Inom 180] ];</span>
+0504                         <span class="keyword">otherwise</span>
+0505                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0506                     <span class="keyword">end</span>
+0507                 <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}
+0508                     <span class="keyword">switch</span> CyclingMode
+0509                         <span class="keyword">case</span> {<span class="string">'Simple'</span>, <span class="string">'Full'</span>,<span class="string">'Startup'</span>}
+0510                             curve = [[0 1] <span class="comment">% current time</span>
+0511                                 [Imax 30]
+0512                                 [Inom 1] ];
+0513                         <span class="keyword">otherwise</span>
+0514                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0515                     <span class="keyword">end</span>
+0516 
+0517                 <span class="keyword">otherwise</span>
+0518                     error(<span class="string">'Unknown magnet type: %s'</span>, MagnetType)
+0519             <span class="keyword">end</span>
+0520            
+0521         <span class="keyword">case</span> <span class="string">'Booster'</span>
+0522             error(<span class="string">'%s: Not implemented yet'</span>, Machine)
+0523         <span class="keyword">case</span> <span class="string">'StorageRing'</span>
+0524 
+0525             <span class="keyword">switch</span> MagnetType
+0526                 <span class="keyword">case</span> {<span class="string">'BEND'</span>}
+0527                     <span class="keyword">switch</span> CyclingMode
+0528                         <span class="keyword">case</span> <span class="string">'Simple'</span>
+0529                             <span class="comment">%                             curve = [[0 1] % current time</span>
+0530                             <span class="comment">%                                 [Imax 30]</span>
+0531                             <span class="comment">%                                 [Inom 1] ];</span>
+0532                         <span class="keyword">case</span> <span class="string">'Full'</span>
+0533                             <span class="comment">% valeur initiale diffÃ©rente de zÃ©ro car zÃ©ro</span>
+0534                             <span class="comment">% impossible</span>
+0535                             curve = [[20 10] <span class="comment">%</span>
+0536                                 [Imax 60]
+0537                                 [0.95*Inom 60]
+0538                                 [1.05*Inom 60]
+0539                                 [Inom 10] ];
+0540                         <span class="keyword">case</span> <span class="string">'Startup'</span>
+0541                             curve = [[20 10] <span class="comment">% current time</span>
+0542                                 [Imax 1800] <span class="comment">% temps de chauffe 30 min</span>
+0543                                 [0.95*Inom 180]
+0544                                 [1.05*Inom 180]
+0545                                 [0.95*Inom 180]
+0546                                 [1.05*Inom 180]
+0547                                 [Inom 180] ];
+0548                         <span class="keyword">otherwise</span>
+0549                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0550                     <span class="keyword">end</span>
+0551                 <span class="keyword">case</span> {<span class="string">'Q1'</span>,<span class="string">'Q2'</span>,<span class="string">'Q3'</span>,<span class="string">'Q4'</span>,<span class="string">'Q5'</span>,<span class="string">'Q6'</span>,<span class="string">'Q7'</span>,<span class="string">'Q8'</span>,<span class="string">'Q9'</span>,<span class="string">'Q10'</span>,<span class="string">'QC13'</span>}
+0552                     <span class="keyword">switch</span> CyclingMode
+0553                         <span class="keyword">case</span> <span class="string">'Simple'</span>
+0554                             <span class="comment">% test avec temps plus courts</span>
+0555                             curve = [[sign(Imax)*20 5] <span class="comment">% current time non zero consigne</span>
+0556                                 [Imax 30]
+0557                                 [Inom 5] ];
+0558                         <span class="keyword">case</span> <span class="string">'Full'</span>
+0559                             <span class="comment">%</span>
+0560                             curve = [[sign(Imax)*20 10] <span class="comment">% current time non zero consigne</span>
+0561                                 [Imax 30]
+0562                                 [0.90*Inom 30]
+0563                                 [1.10*Inom 30]
+0564                                 [Inom 10] ];
+0565                         <span class="keyword">case</span> <span class="string">'Startup'</span>
+0566                             <span class="comment">% test avec temps courts mars 2006</span>
+0567                             curve = [[sign(Imax)*20 10] <span class="comment">% current time non zero consigne</span>
+0568                                 [Imax 20] 
+0569                                 [0.90*Inom 10]
+0570                                 [1.10*Inom 10]
+0571                                 [0.90*Inom 10]
+0572                                 [1.10*Inom 10]
+0573                                 [Inom 20] ];
+0574                         <span class="keyword">otherwise</span>
+0575                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0576                     <span class="keyword">end</span>
+0577                 <span class="keyword">case</span> {<span class="string">'S1'</span>,<span class="string">'S2'</span>,<span class="string">'S3'</span>,<span class="string">'S4'</span>,<span class="string">'S5'</span>,<span class="string">'S6'</span>,<span class="string">'S7'</span>,<span class="string">'S8'</span>,<span class="string">'S9'</span>,<span class="string">'S10'</span>}
+0578                     <span class="keyword">switch</span> CyclingMode
+0579                         <span class="keyword">case</span> <span class="string">'Simple'</span>
+0580                             <span class="comment">% test avec temps plus courts mars 2006</span>
+0581                             curve = [[0 1] <span class="comment">% current time</span>
+0582                                 [Imax 10]
+0583                                 [Inom 1] ];
+0584                         <span class="keyword">case</span> <span class="string">'Full'</span>
+0585                             <span class="comment">%</span>
+0586                             curve = [[0 10] <span class="comment">% current time</span>
+0587                                 [Imax 30]
+0588                                 [0.90*Inom 30]
+0589                                 [1.10*Inom 30]
+0590                                 [Inom 10] ];
+0591                         <span class="keyword">case</span> <span class="string">'Startup'</span>
+0592                             <span class="comment">% test avec temps courts mars 2006</span>
+0593                             curve = [[0 10] <span class="comment">% current time</span>
+0594                                 [Imax 20] <span class="comment">% temps de chauffe 10 min</span>
+0595                                 [0.90*Inom 10]
+0596                                 [1.10*Inom 10]
+0597                                 [0.90*Inom 10]
+0598                                 [1.10*Inom 10]
+0599                                 [Inom 20] ];
+0600                         <span class="keyword">otherwise</span>
+0601                             error(<span class="string">'Unknown Mode: %s'</span>, CyclingMode);
+0602                     <span class="keyword">end</span>
+0603                 <span class="keyword">otherwise</span>
+0604                     error(<span class="string">'Unknown magnet type: %s'</span>, MagnetType)
+0605             <span class="keyword">end</span>
+0606         <span class="keyword">otherwise</span>
+0607             error(<span class="string">'Unknown machine: %s'</span>, Machine);
+0608     <span class="keyword">end</span>
+0609 
+0610     <span class="keyword">if</span> DisplayFlag
+0611         fprintf(1,<span class="string">'%s : Inom = %f Imax= %f \n'</span>, <span class="keyword">...</span>
+0612             CycleAO.DeviceName, CycleAO.Inom, CycleAO.Imax);
+0613         <a href="plotcyclingcurve.html" class="code" title="function plotcyclecurve(curve)">plotcyclingcurve</a>(curve);
+0614     <span class="keyword">end</span>
+0615 <span class="keyword">end</span>
+0616 <span class="comment">%==========================================================================</span>
+0617 <a name="_sub2" href="#_subfunctions" class="code">function CyclingEnd = anacycling(Families)</a>
+0618 <span class="comment">%</span>
+0619 <span class="comment">%</span>
+0620 <span class="comment">%</span>
+0621 
+0622 <span class="comment">%</span>
+0623 <span class="comment">% Written by Laurent S. Nadolski</span>
+0624 
+0625 <span class="keyword">for</span> k1=1:length(Families),
+0626     CycleFamily = [<span class="string">'Cycle'</span> Families{k1}];
+0627     [CycleIndex, CycleAO] = isfamily(CycleFamily);
+0628 
+0629     rep = tango_group_command_inout2(CycleAO.GroupId,<span class="string">'State'</span>,1,0);
+0630     Status = rep.replies.obj_name;
+0631     rep = tango_group_read_attribute(CycleAO.GroupId,<span class="string">'totalProgression'</span>);
+0632     totalProgression = rep.replies.value;
+0633 <span class="keyword">end</span>
+0634 
+0635 <span class="comment">% look whether all cycling precessus are done</span>
+0636 <span class="keyword">if</span> min(totalProgression) ~= 100
+0637     CyclingEnd = 0;
+0638 <span class="keyword">else</span>
+0639     CylclingEnd = 1;
+0640 <span class="keyword">end</span>
+0641 
+0642 <span class="comment">% look for States and error</span>
+0643 totalProgression;
+0644 
+0645 <span class="comment">%==========================================================================</span>
+0646 <a name="_sub3" href="#_subfunctions" class="code">function cyclingconfiguration(Lattice, Family, varargin);</a>
+0647 <span class="comment">% cyclingconfiguration</span>
+0648 <span class="comment">%</span>
+0649 <span class="comment">%  INPUTS</span>
+0650 <span class="comment">%  1. Lattice - Structure of setpoints</span>
+0651 <span class="comment">%  2. Family - Families to cycle to</span>
+0652 <span class="comment">%</span>
+0653 <span class="comment">%  See Also magnetcycle, setcyclecurve</span>
+0654 
+0655 <span class="comment">%</span>
+0656 <span class="comment">% Written by Laurent S. Nadolski</span>
+0657 
+0658 <span class="comment">%TODO if not a tango group --&gt; treat single case</span>
+0659 
+0660 DisplayFlag = 1;
+0661 ConfigFlag  = 1;
+0662 
+0663 
+0664 <span class="keyword">if</span> iscell(Family)
+0665     <span class="comment">% Build input line</span>
+0666     h = waitbar(0,sprintf(<span class="string">'Cycling configuration progression: %2d %%'</span>,0))
+0667     <span class="keyword">for</span> k = 1:length(Family)
+0668         <a href="#_sub3" class="code" title="subfunction cyclingconfiguration(Lattice, Family, varargin);">cyclingconfiguration</a>(Lattice,Family{k},varargin{:})
+0669         waitbar(k/length(Family), h, sprintf(<span class="string">'Cycling configuration progression: %2d %%'</span>,k/length(Family)*100))
+0670     <span class="keyword">end</span>
+0671     close(h);
+0672 <span class="keyword">else</span>
+0673     <span class="comment">%% INPUT PARSER</span>
+0674     <span class="keyword">for</span> i = length(varargin):-1:1
+0675         <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0676             DisplayFlag = 1;
+0677             varargin(i) = [];
+0678         <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0679             DisplayFlag = 0;
+0680             varargin(i) = [];
+0681         <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoConfig'</span>)
+0682             ConfigFlag = 0;
+0683             varargin(i) = [];
+0684         <span class="keyword">end</span>
+0685     <span class="keyword">end</span>
+0686     <span class="comment">% Build Cycling configuration name</span>
+0687     CycleFamily = [<span class="string">'Cycle'</span> Family];
+0688 
+0689     <span class="comment">% Check whether CyclingFamily exists</span>
+0690     <span class="keyword">if</span> ismemberof(CycleFamily,<span class="string">'Cyclage'</span>)
+0691         [CycleIndex, CycleAO] = isfamily(CycleFamily);
+0692         CycleAO.Inom = Lattice.(Family).Setpoint.Data;
+0693         <span class="comment">%% create cycling curve for each element of the group</span>
+0694         curve = <a href="#_sub1" class="code" title="subfunction curve = makecyclingcurve(Inom,Imax,MagnetType,varargin)">makecyclingcurve</a>(CycleAO.Inom,CycleAO.Imax,Family,varargin{:});
+0695 
+0696         <span class="comment">% upload cycling curve</span>
+0697         <span class="keyword">if</span> ConfigFlag
+0698             reply = input([<span class="string">'Apply to Dserver new cycling curve to '</span>, Family, <span class="string">'? (y/n)'</span>],<span class="string">'s'</span>);
+0699         <span class="keyword">else</span>
+0700             reply = <span class="string">'yes'</span>;
+0701         <span class="keyword">end</span>
+0702 
+0703         <span class="keyword">switch</span> lower(reply)
+0704             <span class="keyword">case</span> {<span class="string">'y'</span>,<span class="string">'yes'</span>}
+0705                 dev_name = CycleAO.DeviceName;
+0706                 <a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>(dev_name,curve);
+0707             <span class="keyword">otherwise</span>
+0708                 disp(<span class="string">'Parameter not set to dserver'</span>)
+0709         <span class="keyword">end</span>
+0710     <span class="keyword">else</span>
+0711         warning(<span class="string">'Family %s not cycled'</span>,Family)
+0712     <span class="keyword">end</span>
+0713 <span class="keyword">end</span>
+0714</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/plotcyclingcurve.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/plotcyclingcurve.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/plotcyclingcurve.html	(revision 17)
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plotcyclingcurve</title>
+  <meta name="keywords" content="plotcyclingcurve">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; plotcyclingcurve.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>plotcyclingcurve
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function plotcyclecurve(curve) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">
+  INPUTS
+  1. curve - n x 2 array amplitude versus time loaded in Cycling Dserver
+             or a cell array see getcyclecurve for details
+
+  EXAMPLES
+  1. plotcyclingcurve(getcyclecurve('LT1/AE/cycleQ.1'))
+  2. plotcyclingcurve(getcyclecurve('CycleQP'))
+
+ See also <a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>, <a href="getcyclecurve.html" class="code" title="function curve = getcyclecurve(varargin)">getcyclecurve</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="magnetcycle.html" class="code" title="function magnetcycle(varargin)">magnetcycle</a>	MAGNETCYCLE - Standardize machine magnets</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plotcyclecurve(curve)</a>
+0002 <span class="comment">%</span>
+0003 <span class="comment">%  INPUTS</span>
+0004 <span class="comment">%  1. curve - n x 2 array amplitude versus time loaded in Cycling Dserver</span>
+0005 <span class="comment">%             or a cell array see getcyclecurve for details</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  EXAMPLES</span>
+0008 <span class="comment">%  1. plotcyclingcurve(getcyclecurve('LT1/AE/cycleQ.1'))</span>
+0009 <span class="comment">%  2. plotcyclingcurve(getcyclecurve('CycleQP'))</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">% See also setcyclecurve, getcyclecurve</span>
+0012 
+0013 <span class="comment">%</span>
+0014 <span class="comment">% Written by Laurent S. Nadolski</span>
+0015 
+0016 
+0017 <span class="keyword">if</span> iscell(curve)
+0018     <span class="keyword">for</span> k=1:length(curve),
+0019         n = size(curve{k}.Data,1);
+0020         <span class="comment">% time vector</span>
+0021         cums = cumsum(curve{k}.Data(:,2))';
+0022         x = [cums; cums];
+0023         x = reshape(x,1,2*n);
+0024         x = [0 x(1:end-1)];
+0025 
+0026         <span class="comment">% amplitude vector</span>
+0027         y = [curve{k}.Data(:,1),curve{k}.Data(:,1)]';
+0028         y = reshape(y,1,2*n);
+0029 
+0030         figure;
+0031         plot(x,y,<span class="string">'b.-'</span>);
+0032         xlabel(<span class="string">'Temps (s)'</span>);
+0033         ylabel(<span class="string">'Courant [A]'</span>);
+0034         ylim([min(y) max(y)*1.05]);
+0035         title([<span class="string">'Cycling curve for '</span> curve{k}.DeviceName]);
+0036         grid on
+0037     <span class="keyword">end</span>
+0038 <span class="keyword">else</span>
+0039     n = size(curve,1);
+0040     <span class="comment">% time vector</span>
+0041     cums = cumsum(curve(:,2))';
+0042     x = [cums; cums];
+0043     x = reshape(x,1,2*n);
+0044     x = [0 x(1:end-1)];
+0045 
+0046     <span class="comment">% amplitude vector</span>
+0047     y = [curve(:,1),curve(:,1)]';
+0048     y = reshape(y,1,2*n);
+0049 
+0050     figure;
+0051     plot(x,y,<span class="string">'b.-'</span>);
+0052     xlabel(<span class="string">'Temps (s)'</span>);
+0053     ylabel(<span class="string">'Courant [A]'</span>);
+0054     ylim([min(y) max(y)*1.05]);
+0055     title(<span class="string">'courbe de cyclage'</span>);
+0056 
+0057     grid on
+0058 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/setcyclecurve.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/setcyclecurve.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/setcyclecurve.html	(revision 17)
@@ -0,0 +1,105 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setcyclecurve</title>
+  <meta name="keywords" content="setcyclecurve">
+  <meta name="description" content="SETCYCLECURVE - Set curve for cycling magnet in Dserver">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">cycling</a> &gt; setcyclecurve.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>setcyclecurve
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SETCYCLECURVE - Set curve for cycling magnet in Dserver</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function setcyclecurve(dev_name, curve) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SETCYCLECURVE - Set curve for cycling magnet in Dserver
+
+  INPUTS
+  1. dev_name - Tango sequencer device name
+  2. curve  - nx2 vector current versus times
+
+  EXAMPLES
+  1. setcyclecurve('LT1/AE/cycleCH.2', curve);
+  2. setcyclecurve({'LT1/tests/currentCH.1','LT1/AE/cycleCH.2'}, {curve1, curve2});
+
+  NOTES
+  1. Inputs can by cells of dev_name and cells of curves
+  2. Tango specific
+
+  See Also <a href="getcyclecurve.html" class="code" title="function curve = getcyclecurve(varargin)">getcyclecurve</a>, <a href="magnetcycle.html" class="code" title="function magnetcycle(varargin)">magnetcycle</a>, LT1cycling, Ringcycling,<a href="cyclingcommand.html" class="code" title="function varargout= cyclecommand(varargin)">cyclingcommand</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>	SETCYCLECURVE - Set curve for cycling magnet in Dserver</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="createcyclecurvefull.html" class="code" title="function createcylecurvefull(varargin);">createcyclecurvefull</a>	INPUTS</li><li><a href="magnetcycle.html" class="code" title="function magnetcycle(varargin)">magnetcycle</a>	MAGNETCYCLE - Standardize machine magnets</li><li><a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>	SETCYCLECURVE - Set curve for cycling magnet in Dserver</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setcyclecurve(dev_name, curve)</a>
+0002 <span class="comment">% SETCYCLECURVE - Set curve for cycling magnet in Dserver</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. dev_name - Tango sequencer device name</span>
+0006 <span class="comment">%  2. curve  - nx2 vector current versus times</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  EXAMPLES</span>
+0009 <span class="comment">%  1. setcyclecurve('LT1/AE/cycleCH.2', curve);</span>
+0010 <span class="comment">%  2. setcyclecurve({'LT1/tests/currentCH.1','LT1/AE/cycleCH.2'}, {curve1, curve2});</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  NOTES</span>
+0013 <span class="comment">%  1. Inputs can by cells of dev_name and cells of curves</span>
+0014 <span class="comment">%  2. Tango specific</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">%  See Also getcyclecurve, magnetcycle, LT1cycling, Ringcycling,cyclingcommand</span>
+0017 
+0018 <span class="comment">%</span>
+0019 <span class="comment">% Written by Laurent S. Nadolski</span>
+0020 
+0021 <span class="keyword">if</span> iscell(dev_name)
+0022     <span class="keyword">for</span> k = 1:length(dev_name),
+0023         <a href="setcyclecurve.html" class="code" title="function setcyclecurve(dev_name, curve)">setcyclecurve</a>(dev_name{k}, curve{k});        
+0024     <span class="keyword">end</span>
+0025 <span class="keyword">else</span>
+0026     dev_name
+0027     <span class="comment">% Get size of sequence</span>
+0028     len = tango_get_properties2(dev_name,{<span class="string">'SequenceSize'</span>});
+0029 
+0030     <span class="comment">% Needed in order if Fault state</span>
+0031     tango_command_inout2(dev_name, <span class="string">'Init'</span>);
+0032 
+0033     <span class="keyword">if</span> str2double(len.value{:}) ~= size(curve,1)
+0034         <span class="comment">% Modify size of the sequence</span>
+0035         prop.name = <span class="string">'SequenceSize'</span>;
+0036         prop.value = {num2str(size(curve,1))};
+0037         tango_put_properties2(dev_name,prop);
+0038         <span class="comment">% Needed in order to take into account modification</span>
+0039         tango_command_inout2(dev_name, <span class="string">'Init'</span>);
+0040     <span class="keyword">end</span>
+0041 
+0042     <span class="comment">% Load the curve into Dserver : attribute part and time part</span>
+0043     tango_command_inout2(dev_name,<span class="string">'LoadSequenceValues'</span>, curve(:,1)');
+0044     tango_command_inout2(dev_name,<span class="string">'LoadWaitingTimes'</span>, curve(:,2)');
+0045 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/todo.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/todo.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/cycling/todo.html	(revision 17)
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>To Do List for machine/Soleil/common/cycling</title>
+  <meta name="keywords" content="todo, to do, list, machine/Soleil/common/cycling">
+  <meta name="description" content="To Do List for machine/Soleil/common/cycling">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/cycling&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>
+<h1>To Do List for machine/Soleil/common/cycling</h1>
+<h2>getcyclecurve:</h2>
+<ul>
+		<li><a href="getcyclecurve.html#l22">line 22: </a> This just a first shot routine</li>	</ul><h2>magnetcycle:</h2>
+<ul>
+		<li><a href="magnetcycle.html#l28">line 28: </a> Display part, cycle single element, cycle set of families (not</li>	</ul><hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/adddevice.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/adddevice.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/adddevice.html	(revision 17)
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of adddevice</title>
+  <meta name="keywords" content="adddevice">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">database</a> &gt; adddevice.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>adddevice
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 dbserver = <span class="string">'sys/database/dbds'</span>;
+0002 
+0003 <span class="comment">%% Creation des dserveur cyclage des aimants LT1</span>
+0004 classname  = <span class="string">'AttributeSequenceWriter'</span>;
+0005 devnameroot = <span class="string">'LT1/AE/cycle'</span>;
+0006 servername = <span class="string">'ds_AttributesequenceWriter/LT1'</span>;
+0007 
+0008 magnet = {<span class="string">'CH.1'</span>, <span class="string">'CH.2'</span>, <span class="string">'CH.3'</span>, <span class="string">'CV.1'</span>, <span class="string">'CV.2'</span>, <span class="string">'CV.3'</span>, <span class="string">'D.1'</span>, <span class="keyword">...</span>
+0009     <span class="string">'Q.1'</span>, <span class="string">'Q.2'</span>, <span class="string">'Q.3'</span>, <span class="string">'Q.4'</span>, <span class="string">'Q.5'</span>, <span class="string">'Q.6'</span>, <span class="string">'Q7'</span>};
+0010 
+0011 <span class="keyword">for</span> k = 1:length(magnet),
+0012     devname  = [devnameroot magnet{k}]    
+0013     tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{servername,devname,classname});
+0014 <span class="comment">%      tango_command_inout(dbserver,'DbDeleteDevice',devname)</span>
+0015 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/config_tango_dbds.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/config_tango_dbds.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/config_tango_dbds.html	(revision 17)
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of config_tango_dbds</title>
+  <meta name="keywords" content="config_tango_dbds">
+  <meta name="description" content="tango_set_attribute_property('HCOR','format','%4.3f')">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">database</a> &gt; config_tango_dbds.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>config_tango_dbds
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>tango_set_attribute_property('HCOR','format','%4.3f')</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> tango_set_attribute_property('HCOR','format','%4.3f')
+ tango_set_attribute_property('VCOR','format','%4.3f')
+ tango_set_attribute_property('BEND','format','%6.3f')
+ 
+ % Sextupoles
+ for k = 1:10
+     strname = ['S' num2str(k)];
+     tango_set_attribute_property(strname,'format','%6.3f')
+ end
+ 
+ % Quadrupoles
+ for k = 1:10
+     strname = ['Q' num2str(k)];
+     tango_set_attribute_property(strname,'format','%6.3f')
+ end</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% tango_set_attribute_property('HCOR','format','%4.3f')</span>
+0002 <span class="comment">% tango_set_attribute_property('VCOR','format','%4.3f')</span>
+0003 <span class="comment">% tango_set_attribute_property('BEND','format','%6.3f')</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% % Sextupoles</span>
+0006 <span class="comment">% for k = 1:10</span>
+0007 <span class="comment">%     strname = ['S' num2str(k)];</span>
+0008 <span class="comment">%     tango_set_attribute_property(strname,'format','%6.3f')</span>
+0009 <span class="comment">% end</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">% % Quadrupoles</span>
+0012 <span class="comment">% for k = 1:10</span>
+0013 <span class="comment">%     strname = ['Q' num2str(k)];</span>
+0014 <span class="comment">%     tango_set_attribute_property(strname,'format','%6.3f')</span>
+0015 <span class="comment">% end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/configparser.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/configparser.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/configparser.html	(revision 17)
@@ -0,0 +1,178 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of configparser</title>
+  <meta name="keywords" content="configparser">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">database</a> &gt; configparser.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>configparser
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>	configparser_fn - Contructs a expression for TangoParser</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="keyword">return</span>;
+0002 disp(<span class="string">'A NE PAS EXECUTER'</span>);
+0003 error(<span class="string">'Laurent Nadolski'</span>);
+0004 
+0005 dbserver = <span class="string">'sys/database/2'</span>;
+0006 
+0007 <span class="comment">%% VIDE LT1</span>
+0008 
+0009 <span class="comment">%% declaration TANGO - A faire une seule fois</span>
+0010 <span class="comment">% Ajouter un device serveur et les devices associes</span>
+0011 className=<span class="string">'TangoParser'</span>;
+0012 deviceName=<span class="string">'LT1/VI/CALC-PI.1'</span>;
+0013 serverName=<span class="string">'tangoparser/LT1'</span>;
+0014 
+0015 argin = {serverName,deviceName,className};
+0016 tango_command_inout(dbserver,<span class="string">'DbAddDevice'</span>,argin)
+0017 
+0018 <span class="comment">% efface</span>
+0019 <span class="comment">%tango_command_inout(dbserver,'DbDeleteDevice',deviceName)</span>
+0020 
+0021 <span class="comment">% Lire une propriete d'un device</span>
+0022 <span class="comment">%tango_command_inout2(dbserver,'DbGetDeviceProperty',{deviceName, propertyName});</span>
+0023 
+0024 <span class="comment">% cree une propriete de device</span>
+0025 <span class="comment">% valeur somme pour les pressions</span>
+0026 propertyName = <span class="string">'AttributeNames'</span>;
+0027 tangoNames= family2tango(<span class="string">'PI'</span>);
+0028 <span class="comment">%%</span>
+0029 nb = length(tangoNames);
+0030 
+0031 <span class="comment">% build list of the type</span>
+0032 <span class="comment">% x1, attribute1</span>
+0033 <span class="comment">% x2, attribute2</span>
+0034 <span class="comment">% ...</span>
+0035 <span class="comment">% xn, attributen</span>
+0036 
+0037 <span class="keyword">for</span> k = 1:nb,
+0038     mapping{k} = [<span class="string">'x'</span>, num2str(k) <span class="string">','</span> tangoNames{k}]
+0039 <span class="keyword">end</span>
+0040 
+0041 argin = {deviceName, <span class="string">'1'</span>, propertyName, num2str(nb), mapping{:}};
+0042 tango_command_inout2(dbserver,<span class="string">'DbPutDeviceProperty'</span>,argin);
+0043 
+0044 propertyName = <span class="string">'OutputNames'</span>;
+0045 nameValue = <span class="string">'meanPressure'</span>;
+0046 tango_command_inout2(dbserver,<span class="string">'DbPutDeviceProperty'</span>,{deviceName, <span class="string">'1'</span>, propertyName, <span class="string">'1'</span>, nameValue});
+0047 
+0048 <span class="comment">%% 2 commands required</span>
+0049 <span class="comment">% init : fait bugger tout !!!!</span>
+0050 <span class="comment">%tango_command_inout2(deviceName,'Init');</span>
+0051 
+0052 <span class="comment">%% configuration expression</span>
+0053 stringExpression = <a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>(<span class="string">'Mean'</span>,nb);
+0054 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{nameValue, stringExpression});
+0055 
+0056 
+0057 <span class="comment">%% LT1 correcteurs</span>
+0058 <span class="comment">%% declaration TANGO - A faire une seule fois</span>
+0059 <span class="comment">% Ajouter un device serveur et les devices associes</span>
+0060 className=<span class="string">'TangoParser'</span>;
+0061 deviceName=<span class="string">'LT1/AE/CALC-CV.1'</span>;
+0062 serverName=<span class="string">'tangoparser/LT1'</span>;
+0063 
+0064 argin = {serverName,deviceName,className};
+0065 tango_command_inout(dbserver,<span class="string">'DbAddDevice'</span>,argin)
+0066 
+0067 <span class="comment">% efface</span>
+0068 <span class="comment">%tango_command_inout(dbserver,'DbDeleteDevice',deviceName)</span>
+0069 
+0070 <span class="comment">% Lire une propriete d'un device</span>
+0071 <span class="comment">%tango_command_inout2(dbserver,'DbGetDeviceProperty',{deviceName, propertyName});</span>
+0072 
+0073 <span class="comment">% cree une propriete de device</span>
+0074 <span class="comment">% valeur somme pour les pressions</span>
+0075 propertyName = <span class="string">'AttributeNames'</span>;
+0076 tangoNames= family2tango(<span class="string">'CV'</span>);
+0077 <span class="comment">%%</span>
+0078 nb = length(tangoNames);
+0079 
+0080 <span class="comment">% build list of the type</span>
+0081 <span class="comment">% x1, attribute1</span>
+0082 <span class="comment">% x2, attribute2</span>
+0083 <span class="comment">% ...</span>
+0084 <span class="comment">% xn, attributen</span>
+0085 
+0086 mapping=[];
+0087 <span class="keyword">for</span> k = 1:nb,
+0088     mapping{k} = [<span class="string">'x'</span>, num2str(k) <span class="string">','</span> tangoNames{k}]
+0089 <span class="keyword">end</span>
+0090 
+0091 argin = {deviceName, <span class="string">'1'</span>, propertyName, num2str(nb), mapping{:}};
+0092 tango_command_inout2(dbserver,<span class="string">'DbPutDeviceProperty'</span>,argin);
+0093 
+0094 propertyName = <span class="string">'OutputNames'</span>;
+0095 nameValue = {<span class="string">'meanCurrent'</span>,<span class="string">'rmsCurrent'</span>};
+0096 tango_command_inout2(dbserver,<span class="string">'DbPutDeviceProperty'</span>,{deviceName, <span class="string">'1'</span>, propertyName, <span class="string">'2'</span>, nameValue{:}});
+0097 
+0098 <span class="comment">%% 2 commands required</span>
+0099 <span class="comment">% init : fait bugger tout !!!!</span>
+0100 <span class="comment">%tango_command_inout2(deviceName,'Init');</span>
+0101 
+0102 <span class="comment">%% configuration expression</span>
+0103 stringExpression = <a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>(<span class="string">'Mean'</span>,nb);
+0104 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{nameValue{1}, stringExpression});
+0105 stringExpression = <a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>(<span class="string">'Rms'</span>,nb);
+0106 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{nameValue{2}, stringExpression});
+0107 
+0108 
+0109 <span class="comment">%% Reconfigure TOUT : bug sir tangoparser arrï¿œer</span>
+0110 
+0111 deviceName=<span class="string">'LT1/VI/CALC-PI.1'</span>;
+0112 nameValue = <span class="string">'meanPressure'</span>; nb = 9;
+0113 stringExpression = <a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>(<span class="string">'Mean'</span>,nb);
+0114 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{nameValue, stringExpression});
+0115 
+0116  
+0117 
+0118 deviceName=<span class="string">'LT1/AE/CALC-CH.1'</span>;
+0119 nameValue = {<span class="string">'meanCurrent'</span>,<span class="string">'rmsCurrent'</span>}; nb = 3;
+0120 stringExpression = <a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>(<span class="string">'Mean'</span>,nb);
+0121 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{nameValue{1}, stringExpression});
+0122 stringExpression = <a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>(<span class="string">'Rms'</span>,nb);
+0123 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{nameValue{2}, stringExpression});
+0124 
+0125 
+0126 deviceName=<span class="string">'LT1/AE/CALC-CV.1'</span>;
+0127 nameValue = {<span class="string">'meanCurrent'</span>,<span class="string">'rmsCurrent'</span>}; nb = 3;
+0128 stringExpression = <a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>(<span class="string">'Mean'</span>,nb);
+0129 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{nameValue{1}, stringExpression});
+0130 stringExpression = <a href="configparser_fn.html" class="code" title="function stringExpression = configparser_fn(functionName,nb)">configparser_fn</a>(<span class="string">'Rms'</span>,nb);
+0131 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{nameValue{2}, stringExpression});
+0132</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/configparser_fn.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/configparser_fn.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/configparser_fn.html	(revision 17)
@@ -0,0 +1,104 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of configparser_fn</title>
+  <meta name="keywords" content="configparser_fn">
+  <meta name="description" content="configparser_fn - Contructs a expression for TangoParser">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">database</a> &gt; configparser_fn.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>configparser_fn
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>configparser_fn - Contructs a expression for TangoParser</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function stringExpression = configparser_fn(functionName,nb) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> configparser_fn - Contructs a expression for TangoParser
+
+  INPUTS
+  1. functionName - 'Mean' - mean value expression
+                 - 'Rms'  - rms value expression
+  2. nb - Number of terms for computing the expression
+
+  OUTPUTS
+  1. stringExpression - Expression for tangoparser formula input
+
+  See also <a href="configparser.html" class="code" title="">configparser</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="configparser.html" class="code" title="">configparser</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function stringExpression = configparser_fn(functionName,nb)</a>
+0002 <span class="comment">% configparser_fn - Contructs a expression for TangoParser</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. functionName - 'Mean' - mean value expression</span>
+0006 <span class="comment">%                 - 'Rms'  - rms value expression</span>
+0007 <span class="comment">%  2. nb - Number of terms for computing the expression</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  OUTPUTS</span>
+0010 <span class="comment">%  1. stringExpression - Expression for tangoparser formula input</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  See also configparser</span>
+0013 <span class="keyword">if</span> nb &lt;2
+0014     error(<span class="string">'nb too small'</span>)
+0015 <span class="keyword">end</span>
+0016 
+0017 <span class="keyword">switch</span> functionName
+0018     <span class="keyword">case</span> <span class="string">'Mean'</span>
+0019         <span class="comment">% set expression</span>
+0020         stringExpression = [];
+0021         <span class="keyword">for</span> k=1:nb,
+0022             <span class="keyword">if</span> k ~= nb &amp;&amp; k ~= 1
+0023                 stringExpression = [stringExpression <span class="string">'x'</span> num2str(k) <span class="string">'+'</span>];
+0024             <span class="keyword">elseif</span> k == 1
+0025                 stringExpression = [<span class="string">'('</span> stringExpression <span class="string">'x'</span> num2str(k) <span class="string">'+'</span>];
+0026             <span class="keyword">elseif</span> k == nb
+0027                 stringExpression = [stringExpression <span class="string">'x'</span> num2str(k) <span class="string">')/'</span> num2str(nb)];
+0028             <span class="keyword">end</span>
+0029         <span class="keyword">end</span>
+0030     <span class="keyword">case</span> <span class="string">'Rms'</span>
+0031         muExpression = [];
+0032         x2Expression = [];
+0033         <span class="keyword">for</span> k=1:nb,
+0034             <span class="keyword">if</span> k ~= nb &amp;&amp; k ~= 1
+0035                 muExpression = [muExpression <span class="string">'x'</span> num2str(k) <span class="string">'+'</span>];
+0036                 x2Expression = [x2Expression <span class="string">'x'</span> num2str(k) <span class="string">'*'</span> <span class="string">'x'</span> num2str(k) <span class="string">'+'</span>];
+0037             <span class="keyword">elseif</span> k == 1
+0038                 muExpression = [<span class="string">'('</span> muExpression <span class="string">'x'</span> num2str(k) <span class="string">'+'</span>];
+0039                 x2Expression = [<span class="string">'('</span> x2Expression <span class="string">'x'</span> num2str(k) <span class="string">'*'</span> <span class="string">'x'</span> num2str(k) <span class="string">'+'</span>];
+0040             <span class="keyword">elseif</span> k == nb
+0041                 muExpression = [muExpression <span class="string">'x'</span> num2str(k) <span class="string">')/'</span> num2str(nb)];
+0042                 x2Expression = [x2Expression <span class="string">'x'</span> num2str(k) <span class="string">'*'</span> <span class="string">'x'</span> num2str(k) <span class="string">')/'</span> num2str(nb)];
+0043             <span class="keyword">end</span>
+0044         <span class="keyword">end</span>
+0045         stringExpression = [ num2str(nb) <span class="string">'/'</span> num2str(nb-1) <span class="string">'*('</span> x2Expression <span class="string">'-'</span> muExpression <span class="string">'*'</span> muExpression <span class="string">')'</span>];
+0046     <span class="keyword">otherwise</span>
+0047         error(<span class="string">'Unknown function'</span>)
+0048 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/format_output_list.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/format_output_list.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/format_output_list.html	(revision 17)
@@ -0,0 +1,47 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of format_output_list</title>
+  <meta name="keywords" content="format_output_list">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">database</a> &gt; format_output_list.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>format_output_list
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/index.html	(revision 17)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/database</title>
+  <meta name="keywords" content="machine/Soleil/common/database">
+  <meta name="description" content="Index for Directory machine/Soleil/common/database">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/database</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="adddevice.html">adddevice</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="config_tango_dbds.html">config_tango_dbds</a></td><td>tango_set_attribute_property('HCOR','format','%4.3f') </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="configparser.html">configparser</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="configparser_fn.html">configparser_fn</a></td><td>configparser_fn - Contructs a expression for TangoParser </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="format_output_list.html">format_output_list</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="learn_tangodb.html">learn_tangodb</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="register_vide.html">register_vide</a></td><td>% </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="tango_staticdb_config.html">tango_staticdb_config</a></td><td>TANGO_STATICDB_EDITOR M-file for tango_staticdb_config.fig </td></tr></table>
+
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/learn_tangodb.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/learn_tangodb.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/learn_tangodb.html	(revision 17)
@@ -0,0 +1,413 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of learn_tangodb</title>
+  <meta name="keywords" content="learn_tangodb">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">database</a> &gt; learn_tangodb.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>learn_tangodb
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">%</span>
+0002 <span class="keyword">return</span>;
+0003 dbserver = <span class="string">'sys/database/2'</span>;
+0004 res = tango_command_list_query(dbserver)
+0005 
+0006 DbAddDevice
+0007 DbAddServer
+0008 DbDeleteAttributeAlias
+0009 DbDeleteClassAttribute
+0010 DbDeleteClassAttributeProperty
+0011 DbDeleteClassProperty
+0012 DbDeleteDevice
+0013 DbDeleteDeviceAlias
+0014 DbDeleteDeviceAttribute
+0015 DbDeleteDeviceAttributeProperty
+0016 DbDeleteDeviceProperty
+0017 DbDeleteProperty
+0018 DbDeleteServer
+0019 DbDeleteServerInfo
+0020 DbExportDevice
+0021 DbExportEvent
+0022 DbGetAliasDevice
+0023 DbGetAttributeAlias
+0024 DbGetAttributeAliasList
+0025 DbGetClassAttributeList
+0026 DbGetClassAttributeProperty
+0027 DbGetClassList
+0028 DbGetClassProperty
+0029 DbGetClassPropertyList
+0030 DbGetDeviceAliasList
+0031 DbGetDeviceAttributeList
+0032 DbGetDeviceAttributeProperty
+0033 DbGetDeviceClassList
+0034 DbGetDeviceDomainList
+0035 DbGetDeviceExportedList
+0036 DbGetDeviceFamilyList
+0037 DbGetDeviceList
+0038 DbGetDeviceMemberList
+0039 DbGetDeviceProperty
+0040 DbGetDevicePropertyList
+0041 DbGetDeviceServerClassList
+0042 DbGetHostList
+0043 DbGetHostServerList
+0044 DbGetHostServersInfo
+0045 DbGetInstanceNameList
+0046 DbGetObjectList
+0047 DbGetProperty
+0048 DbGetPropertyList
+0049 DbGetServerInfo
+0050 DbGetServerList
+0051 DbGetServerNameList
+0052 DbImportDevice
+0053 DbImportEvent
+0054 DbInfo
+0055 DbPutAttributeAlias
+0056 DbPutClassAttributeProperty
+0057 DbPutClassProperty
+0058 DbPutDeviceAlias
+0059 DbPutDeviceAttributeProperty
+0060 DbPutDeviceProperty
+0061 DbPutProperty
+0062 DbPutServerInfo
+0063 DbUnExportDevice
+0064 DbUnExportEvent
+0065 DbUnExportServer
+0066 Init
+0067 State
+0068 Status
+0069 
+0070 res = tango_command_inout(dbserver,<span class="string">'DbGetDeviceFamilyList'</span>,<span class="string">'*'</span>)
+0071 res = tango_command_inout(dbserver,<span class="string">'DbInfo'</span>)
+0072 res = tango_command_inout(dbserver,<span class="string">'Status'</span>)
+0073 
+0074 <span class="comment">%% Ajout d'un device</span>
+0075 <span class="comment">% Argument minimum: serveur device Class</span>
+0076 
+0077 tango_command_inout(dbserver,<span class="string">'DbAddDevice'</span>,{<span class="string">'ds_bpm/bpm1'</span>,<span class="string">'ANS/DGsim/BPM000'</span>,<span class="string">'Bpm'</span>})
+0078 
+0079 <span class="keyword">for</span> k=1:5
+0080     Device = strcat(<span class="string">'ANS/DGsim/BPM00'</span>,num2str(k))
+0081     tango_command_inout(dbserver,<span class="string">'DbAddDevice'</span>,{<span class="string">'ds_bpm/bpm1'</span>,Device,<span class="string">'Bpm'</span>})
+0082 <span class="keyword">end</span>
+0083 
+0084 <span class="comment">%% Effacer une device de la Database statique</span>
+0085 <span class="keyword">for</span> k=1:5
+0086     Device = strcat(<span class="string">'ANS/DGsim/BPM00'</span>,num2str(k))
+0087     tango_command_inout(dbserver,<span class="string">'DbDeleteDevice'</span>,Device)
+0088 <span class="keyword">end</span>
+0089 
+0090 <span class="comment">% Ajouter un device serveur et les devices associes</span>
+0091 className=<span class="string">'TangoParser'</span>;
+0092 deviceName=<span class="string">'LT1/VI/COMP.3'</span>;
+0093 serverName=<span class="string">'tangoparser/LT1'</span>;
+0094 
+0095 argin = {serverName,deviceName,className};
+0096 tango_command_inout(dbserver,<span class="string">'DbAddDevice'</span>,argin)
+0097 
+0098 <span class="comment">% efface</span>
+0099 <span class="comment">%tango_command_inout(dbserver,'DbDeleteDevice',deviceName)</span>
+0100 
+0101 <span class="comment">% Lire une propriete d'un device</span>
+0102 tango_command_inout2(dbserver,<span class="string">'DbGetDeviceProperty'</span>,{deviceName, propertyName});
+0103 
+0104 <span class="comment">% cree une propriete de device</span>
+0105 <span class="comment">% valeur somme pour les pressions</span>
+0106 propertyName = <span class="string">'AttributeNames'</span>;
+0107 tangoNames= family2tango(<span class="string">'PI'</span>);
+0108 <span class="comment">%%</span>
+0109 nb = length(tangoNames);
+0110 
+0111 <span class="comment">% build list of the type</span>
+0112 <span class="comment">% x1, attribute1</span>
+0113 <span class="comment">% x2, attribute2</span>
+0114 <span class="comment">% ...</span>
+0115 <span class="comment">% xn, attributen</span>
+0116 
+0117 <span class="keyword">for</span> k = 1:nb,
+0118     mapping{k} = [<span class="string">'x'</span>, num2str(k) <span class="string">','</span> tangoNames{k}]
+0119 <span class="keyword">end</span>
+0120 
+0121 argin = {deviceName, <span class="string">'1'</span>, propertyName, num2str(nb), mapping{:}};
+0122 tango_command_inout2(dbserver,<span class="string">'DbPutDeviceProperty'</span>,argin);
+0123 
+0124 propertyName = <span class="string">'OutputNames'</span>;
+0125 tango_command_inout2(dbserver,<span class="string">'DbPutDeviceProperty'</span>,{deviceName, <span class="string">'1'</span>, propertyName, <span class="string">'1'</span>, <span class="string">'diff '</span>});
+0126 
+0127 <span class="comment">%% 2 commands required</span>
+0128 <span class="comment">% init</span>
+0129 <span class="comment">%tango_command_inout2(deviceName,'Init');</span>
+0130 
+0131 <span class="comment">% set expression</span>
+0132 stringExpression = [];
+0133 <span class="keyword">for</span> k=1:nb,
+0134     <span class="keyword">if</span> k ~= nb &amp;&amp; k ~= 1
+0135         stringExpression = [stringExpression <span class="string">'x'</span> num2str(k) <span class="string">'+'</span>];
+0136     <span class="keyword">elseif</span> k == 1
+0137         stringExpression = [<span class="string">'('</span> stringExpression <span class="string">'x'</span> num2str(k) <span class="string">'+'</span>];
+0138     <span class="keyword">elseif</span> k == nb
+0139         stringExpression = [stringExpression <span class="string">'x'</span> num2str(k) <span class="string">') + 54/'</span> num2str(nb)];
+0140     <span class="keyword">end</span>
+0141 <span class="keyword">end</span>
+0142 
+0143 tango_command_inout2(deviceName,<span class="string">'SetExpression'</span>,{<span class="string">'sum'</span>, stringExpression});
+0144 
+0145 <span class="comment">% tango_command_inout2(deviceName,'GetExpression','meanPressure');</span>
+0146 
+0147 <span class="comment">% unexport un device</span>
+0148 <span class="comment">%tango_command_inout2(dbserver,'DbUnExportDevice','tango/tangoparser/1')</span>
+0149 
+0150 <span class="comment">%% Nomenclature vide LT2</span>
+0151 
+0152 <span class="comment">%% vide</span>
+0153 
+0154 liste = {
+0155 <span class="string">'LT2/VI/PI40.1'</span>,
+0156 <span class="string">'LT2/VI/PI55.2'</span>,
+0157 <span class="string">'LT2/VI/PI55.3'</span>,
+0158 <span class="string">'LT2/VI/PI55.4'</span>,
+0159 <span class="string">'LT2/VI/PI55.5'</span>,
+0160 <span class="string">'LT2/VI/PI55.6'</span>,
+0161 <span class="string">'LT2/VI/PI150.7'</span>,
+0162 <span class="string">'LT2/VI/PI55.8'</span>,
+0163 <span class="string">'LT2/VI/PI55.9'</span>,
+0164 <span class="string">'LT2/VI/PI55.10'</span>,
+0165 <span class="string">'LT2/VI/PI55.11'</span>,
+0166 <span class="string">'LT2/VI/PI55.12'</span>,
+0167 <span class="string">'LT2/VI/PI55.13'</span>,
+0168 <span class="string">'LT2/VI/PI55.14'</span>,
+0169 <span class="string">'LT2/VI/PI40.15'</span>
+0170 }
+0171 
+0172 serverName = <span class="string">'ionpump/PI4LT2'</span>;
+0173 className = <span class="string">'IonPump'</span>;
+0174 <span class="keyword">for</span> k=1:length(liste),
+0175     deviceName = liste{k};
+0176     tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0177 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0178 <span class="keyword">end</span>
+0179 
+0180 serverName = <span class="string">'penninggauge/JPEN4LT2'</span>;
+0181 className = <span class="string">'PenningGauge'</span>;
+0182 <span class="keyword">for</span> k=1:3,
+0183     deviceName = [<span class="string">'LT2/VI/JPEN.'</span> num2str(k)];
+0184      tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0185 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0186 <span class="keyword">end</span>
+0187 
+0188 
+0189 serverName = <span class="string">'piranigauge/JPIR4LT2'</span>;
+0190 className = <span class="string">'PiraniGauge'</span>;
+0191 
+0192 <span class="keyword">for</span> k=1:3,
+0193     deviceName = [<span class="string">'LT2/VI/JPIR.'</span> num2str(k)];
+0194      tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0195 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0196 <span class="keyword">end</span>
+0197 
+0198 
+0199 liste = {
+0200 <span class="string">'LT2/VI/VS40.1'</span>,
+0201 <span class="string">'LT2/VI/VS63.2'</span>,
+0202 <span class="string">'LT2/VI/VS40.3'</span>};
+0203 
+0204 serverName = <span class="string">'vacuumvalve/VS4LT2'</span>;
+0205 className = <span class="string">'VacuumValve'</span>;
+0206 <span class="keyword">for</span> k=1:length(liste),
+0207     deviceName = liste{k};
+0208     tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0209 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0210 <span class="keyword">end</span>
+0211 
+0212 liste = {
+0213 <span class="string">'LT2/AE/D.1'</span>,
+0214 <span class="string">'LT2/AE/Q.1'</span>,
+0215 <span class="string">'LT2/AE/Q.2'</span>,
+0216 <span class="string">'LT2/AE/Q.3'</span>,
+0217 <span class="string">'LT2/AE/Q.4'</span>,
+0218 <span class="string">'LT2/AE/Q.5'</span>,
+0219 <span class="string">'LT2/AE/Q.6'</span>,
+0220 <span class="string">'LT2/AE/Q.7'</span>,
+0221 <span class="string">'LT2/AE/CV.1'</span>,
+0222 <span class="string">'LT2/AE/CV.2'</span>,
+0223 <span class="string">'LT2/AE/CV.3'</span>,
+0224 <span class="string">'LT2/AE/CV.4'</span>,
+0225 <span class="string">'LT2/AE/CV.5'</span>,
+0226 <span class="string">'LT2/AE/CH.1'</span>,
+0227 <span class="string">'LT2/AE/CH.2'</span>,
+0228 <span class="string">'LT2/AE/CH.3'</span>};
+0229 
+0230 serverName = <span class="string">'ds_magnetsim/magnet4LT2'</span>;
+0231 className = <span class="string">'MagnetAlimSim'</span>;
+0232 <span class="keyword">for</span> k=1:length(liste),
+0233     deviceName = liste{k};
+0234     tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0235 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0236 <span class="keyword">end</span>
+0237 
+0238 liste = {
+0239 <span class="string">'BOO-Binj/VI/PI55.1'</span>,
+0240 <span class="string">'BOO-Binj/VI/PI55.2'</span>,
+0241 <span class="string">'BOO-Binj/VI/PI300.3'</span>,
+0242 <span class="string">'BOO-Binj/VI/PI55.4'</span>,
+0243 <span class="string">'BOO-Binj/VI/PI55.5'</span>,
+0244 <span class="string">'BOO-Binj/VI/PI55.6'</span>,
+0245 <span class="string">'BOO-Binj/VI/PI500.7'</span>, 
+0246 <span class="string">'BOO-B1/VI/PI55.1'</span>,
+0247 <span class="string">'BOO-B1/VI/PI55.2'</span>,
+0248 <span class="string">'BOO-B1/VI/PI55.3'</span>,
+0249 <span class="string">'BOO-B1/VI/PI55.4'</span>,
+0250 <span class="string">'BOO-B1/VI/PI55.5'</span>,
+0251 <span class="string">'BOO-B1/VI/PI55.6'</span>,
+0252 <span class="string">'BOO-B1/VI/PI55.7'</span>,
+0253 <span class="string">'BOO-B1/VI/PI55.8'</span>,
+0254 <span class="string">'BOO-B1/VI/PI55.9'</span>,
+0255 <span class="string">'BOO-B2/VI/PI55.1'</span>,
+0256 <span class="string">'BOO-B2/VI/PI55.2'</span>,
+0257 <span class="string">'BOO-B2/VI/PI55.3'</span>,
+0258 <span class="string">'BOO-B2/VI/PI55.4'</span>,
+0259 <span class="string">'BOO-B2/VI/PI55.5'</span>,
+0260 <span class="string">'BOO-B2/VI/PI55.6'</span>,
+0261 <span class="string">'BOO-B2/VI/PI55.7'</span>,
+0262 <span class="string">'BOO-Bext/VI/PI55.1'</span>,
+0263 <span class="string">'BOO-Bext/VI/PI55.2'</span>,
+0264 <span class="string">'BOO-Bext/VI/PI300.3'</span>,
+0265 <span class="string">'BOO-Bext/VI/PI55.4'</span>,
+0266 <span class="string">'BOO-Bext/VI/PI55.5'</span>,
+0267 <span class="string">'BOO-Bext/VI/PI55.6'</span>,
+0268 <span class="string">'BOO-B3/VI/PI55.1'</span>,
+0269 <span class="string">'BOO-B3/VI/PI55.2'</span>,
+0270 <span class="string">'BOO-B3/VI/PI55.3'</span>,
+0271 <span class="string">'BOO-B3/VI/PI55.4'</span>,
+0272 <span class="string">'BOO-B3/VI/PI55.5'</span>,
+0273 <span class="string">'BOO-B3/VI/PI55.6'</span>,
+0274 <span class="string">'BOO-B3/VI/PI55.7'</span>,
+0275 <span class="string">'BOO-B3/VI/PI55.8'</span>,
+0276 <span class="string">'BOO-B4/VI/PI55.1'</span>,
+0277 <span class="string">'BOO-B4/VI/PI55.2'</span>,
+0278 <span class="string">'BOO-B4/VI/PI55.3'</span>,
+0279 <span class="string">'BOO-B4/VI/PI55.4'</span>,
+0280 <span class="string">'BOO-B4/VI/PI55.5'</span>,
+0281 <span class="string">'BOO-B4/VI/PI55.6'</span>,
+0282 <span class="string">'BOO-B4/VI/PI55.7'</span>};
+0283 
+0284 serverName = <span class="string">'ionpump/PI4BOOSTER'</span>;
+0285 className = <span class="string">'IonPump'</span>;
+0286 <span class="keyword">for</span> k=1:length(liste),
+0287     deviceName = liste{k};
+0288     tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0289 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0290 <span class="keyword">end</span>
+0291 
+0292 
+0293 liste = {
+0294 <span class="string">'BOO-Binj/VI/VS63.1'</span>,
+0295 <span class="string">'BOO-Binj/VI/VS100.2'</span>,
+0296 <span class="string">'BOO-B1/VI/VS100.1'</span>,
+0297 <span class="string">'BOO-B2/VI/VS63.1'</span>,
+0298 <span class="string">'BOO-Bext/VI/VS63.1'</span>,
+0299 <span class="string">'BOO-B3/VI/VS63.1'</span>,
+0300 <span class="string">'BOO-B4/VI/VS63.1'</span>};
+0301 
+0302 serverName = <span class="string">'vacuumvalve/VS4BOOSTER'</span>;
+0303 className = <span class="string">'VacuumValve'</span>;
+0304 <span class="keyword">for</span> k=1:length(liste),
+0305     deviceName = liste{k};
+0306     tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0307 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0308 <span class="keyword">end</span>
+0309 
+0310 liste = {
+0311 <span class="string">'BOO-B1/VI/JPEN.1'</span>,
+0312 <span class="string">'BOO-B1/VI/JPEN.2'</span>,
+0313 <span class="string">'BOO-Binj/VI/JPEN.1'</span>,
+0314 <span class="string">'BOO-Binj/VI/JPEN.2'</span>,
+0315 <span class="string">'BOO-B2/VI/JPEN.1'</span>,
+0316 <span class="string">'BOO-B2/VI/JPEN.2'</span>,
+0317 <span class="string">'BOO-B2/VI/JPEN.3'</span>,
+0318 <span class="string">'BOO-Bext/VI/JPEN.1'</span>,
+0319 <span class="string">'BOO-Bext/VI/JPEN.2'</span>,
+0320 <span class="string">'BOO-B3/VI/JPEN.1'</span>,
+0321 <span class="string">'BOO-B3/VI/JPEN.2'</span>,
+0322 <span class="string">'BOO-B4/VI/JPEN.1'</span>,
+0323 <span class="string">'BOO-B4/VI/JPEN.2'</span>,
+0324 <span class="string">'BOO-B4/VI/JPEN.3'</span>};
+0325 
+0326 serverName = <span class="string">'penninggauge/JPEN4BOOSTER'</span>;
+0327 className = <span class="string">'PenningGauge'</span>;
+0328 <span class="keyword">for</span> k=1:length(liste),
+0329     deviceName = liste{k};
+0330      tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0331 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0332 <span class="keyword">end</span>
+0333 
+0334 liste = {
+0335 <span class="string">'BOO-B1/VI/JPIR.1'</span>,
+0336 <span class="string">'BOO-Binj/VI/JPIR.1'</span>,
+0337 <span class="string">'BOO-Binj/VI/JPIR.2'</span>,
+0338 <span class="string">'BOO-B2/VI/JPIR.1'</span>,
+0339 <span class="string">'BOO-Bext/VI/JPIR.1'</span>,
+0340 <span class="string">'BOO-B3/VI/JPIR.1'</span>,
+0341 <span class="string">'BOO-B4/VI/JPIR.1'</span>};
+0342 
+0343 serverName = <span class="string">'piranigauge/JPIR4BOOSTER'</span>;
+0344 className = <span class="string">'PiraniGauge'</span>;
+0345 <span class="keyword">for</span> k=1:length(liste),
+0346     deviceName = liste{k};
+0347      tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0348 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0349 <span class="keyword">end</span>
+0350 
+0351 liste = {
+0352 <span class="string">'BOO-B1/VI/VS100.1'</span>,
+0353 <span class="string">'BOO-Binj/VI/VS63.1'</span>,
+0354 <span class="string">'BOO-Binj/VI/VS100.2'</span>,
+0355 <span class="string">'BOO-B2/VI/VS63.1'</span>,
+0356 <span class="string">'BOO-Bext/VI/VS63.1'</span>,
+0357 <span class="string">'BOO-B3/VI/VS63.1'</span>,
+0358 <span class="string">'BOO-B4/VI/VS63.1'</span>};
+0359 
+0360 serverName = <span class="string">'vacuumvalve/VS4BOOSTER'</span>;
+0361 className = <span class="string">'VacuumValve'</span>;
+0362 <span class="keyword">for</span> k=1:length(liste),
+0363     deviceName = liste{k};
+0364     tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0365 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0366 <span class="keyword">end</span>
+0367</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/register_vide.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/register_vide.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/register_vide.html	(revision 17)
@@ -0,0 +1,80 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of register_vide</title>
+  <meta name="keywords" content="register_vide">
+  <meta name="description" content="%">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">database</a> &gt; register_vide.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>register_vide
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>%</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function register_vide </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">%</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function register_vide</a>
+0002 
+0003 <span class="comment">%%</span>
+0004 dbserver = <span class="string">'sys/database/dbds'</span>;
+0005 serverName = <span class="string">'statecomposer/ANS-VI'</span>;
+0006 className = <span class="string">'StateComposer'</span>;
+0007 
+0008 deviceName = 
+0009 {
+0010 <span class="string">'ANS/VI/STATECOMPOSER.1'</span>,
+0011 <span class="string">'ANS-C01/VI/STATECOMPOSER.1'</span>,
+0012 <span class="string">'ANS-C02/VI/STATECOMPOSER.1'</span>,
+0013 <span class="string">'ANS-C03/VI/STATECOMPOSER.1'</span>,
+0014 <span class="string">'ANS-C04/VI/STATECOMPOSER.1'</span>,
+0015 <span class="string">'ANS-C05/VI/STATECOMPOSER.1'</span>,
+0016 <span class="string">'ANS-C06/VI/STATECOMPOSER.1'</span>,
+0017 <span class="string">'ANS-C07/VI/STATECOMPOSER.1'</span>,
+0018 <span class="string">'ANS-C08/VI/STATECOMPOSER.1'</span>,
+0019 <span class="string">'ANS-C09/VI/STATECOMPOSER.1'</span>,
+0020 <span class="string">'ANS-C10/VI/STATECOMPOSER.1'</span>,
+0021 <span class="string">'ANS-C11/VI/STATECOMPOSER.1'</span>,
+0022 <span class="string">'ANS-C12/VI/STATECOMPOSER.1'</span>,
+0023 <span class="string">'ANS-C13/VI/STATECOMPOSER.1'</span>,
+0024 <span class="string">'ANS-C14/VI/STATECOMPOSER.1'</span>,
+0025 <span class="string">'ANS-C15/VI/STATECOMPOSER.1'</span>,
+0026 <span class="string">'ANS-C16/VI/STATECOMPOSER.1'</span>
+0027 }
+0028 
+0029 
+0030 <span class="keyword">for</span> k=1:3,
+0031     deviceName = [<span class="string">'LT2/VI/JPEN.'</span> num2str(k)];
+0032      tango_command_inout2(dbserver,<span class="string">'DbAddDevice'</span>,{serverName,deviceName,className})
+0033 <span class="comment">%     tango_command_inout(dbserver,'DbDeleteDevice',deviceName);</span>
+0034 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/tango_staticdb_config.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/tango_staticdb_config.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/database/tango_staticdb_config.html	(revision 17)
@@ -0,0 +1,1026 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of tango_staticdb_config</title>
+  <meta name="keywords" content="tango_staticdb_config">
+  <meta name="description" content="TANGO_STATICDB_EDITOR M-file for tango_staticdb_config.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">database</a> &gt; tango_staticdb_config.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/database&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>tango_staticdb_config
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>TANGO_STATICDB_EDITOR M-file for tango_staticdb_config.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = tango_staticdb_config(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> TANGO_STATICDB_EDITOR M-file for tango_staticdb_config.fig
+      TANGO_STATICDB_EDITOR, by itself, creates a new TANGO_STATICDB_EDITOR or raises the existing
+      singleton*.
+
+      H = TANGO_STATICDB_EDITOR returns the handle to a new TANGO_STATICDB_EDITOR or the handle to
+      the existing singleton*.
+
+      TANGO_STATICDB_EDITOR('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in TANGO_STATICDB_EDITOR.M with the given input arguments.
+
+      TANGO_STATICDB_EDITOR('Property','Value',...) creates a new TANGO_STATICDB_EDITOR or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before tango_staticdb_config_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to tango_staticdb_config_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function tango_staticdb_config_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = tango_staticdb_config_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function popupmenu_group_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function popupmenu_group_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function popupmenu_attribute_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function popupmenu_attribute_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function popupmenu_property_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function popupmenu_property_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function listbox_group_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function listbox_group_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function listbox_property_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function listbox_property_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function checkbox_all_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function edit_value_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function edit_value_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function uimenu_linac_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function uimenu_LT1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function handles = init_uimenu(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function uimenu_booster_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function uimenu_LT2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function uimenu_anneau_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function listbox_attribute_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function listbox_attribute_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function pushbutton_apply_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function pushbutton_refresh_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function listbox_log_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function listbox_log_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function writelog(strvalue, handles)</a></li><li><a href="#_sub31" class="code">function listbox_dev_property_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function listbox_dev_property_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function popupmenu_dev_prop_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function popupmenu_dev_prop_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function edit_dev_propvalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function edit_dev_propvalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function edit_dev_propname_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function edit_dev_propname_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function pushbutton_dev_prop_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = tango_staticdb_config(varargin)</a>
+0002 <span class="comment">% TANGO_STATICDB_EDITOR M-file for tango_staticdb_config.fig</span>
+0003 <span class="comment">%      TANGO_STATICDB_EDITOR, by itself, creates a new TANGO_STATICDB_EDITOR or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = TANGO_STATICDB_EDITOR returns the handle to a new TANGO_STATICDB_EDITOR or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      TANGO_STATICDB_EDITOR('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in TANGO_STATICDB_EDITOR.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      TANGO_STATICDB_EDITOR('Property','Value',...) creates a new TANGO_STATICDB_EDITOR or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before tango_staticdb_config_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to tango_staticdb_config_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span>
+0024 
+0025 <span class="comment">% Edit the above text to modify the response to help tango_staticdb_config</span>
+0026 
+0027 <span class="comment">% Last Modified by GUIDE v2.5 24-Mar-2006 11:54:22</span>
+0028 
+0029 <span class="comment">% Laurent S. Nadolski, SOLEIL</span>
+0030 
+0031 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0032 gui_Singleton = 1;
+0033 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0034     <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0035     <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction tango_staticdb_config_OpeningFcn(hObject, eventdata, handles, varargin)">tango_staticdb_config_OpeningFcn</a>, <span class="keyword">...</span>
+0036     <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = tango_staticdb_config_OutputFcn(hObject, eventdata, handles)">tango_staticdb_config_OutputFcn</a>, <span class="keyword">...</span>
+0037     <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0038     <span class="string">'gui_Callback'</span>,   []);
+0039 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0040     gui_State.gui_Callback = str2func(varargin{1});
+0041 <span class="keyword">end</span>
+0042 
+0043 <span class="keyword">if</span> nargout
+0044     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0045 <span class="keyword">else</span>
+0046     gui_mainfcn(gui_State, varargin{:});
+0047 <span class="keyword">end</span>
+0048 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0049 
+0050 
+0051 <span class="comment">% --- Executes just before tango_staticdb_config is made visible.</span>
+0052 <a name="_sub1" href="#_subfunctions" class="code">function tango_staticdb_config_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0053 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0054 <span class="comment">% hObject    handle to figure</span>
+0055 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0056 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0057 <span class="comment">% varargin   command line arguments to tango_staticdb_config (see VARARGIN)</span>
+0058 
+0059 <span class="comment">% Choose default command line output for tango_staticdb_config</span>
+0060 handles.output = hObject;
+0061 
+0062 <span class="comment">% Update handles structure</span>
+0063 guidata(hObject, handles);
+0064 
+0065 <span class="comment">% UIWAIT makes tango_staticdb_config wait for user response (see UIRESUME)</span>
+0066 <span class="comment">% uiwait(handles.figure1);</span>
+0067 
+0068 disp(<span class="string">'TANGO Static DataBase Configurator'</span>);
+0069 
+0070 set(handles.figure1,<span class="string">'HandleVisibility'</span>,<span class="string">'Callback'</span>);
+0071 set(handles.listbox_log, <span class="string">'String'</span>,{[datestr(now) <span class="string">': application started'</span>], <span class="string">' '</span>});
+0072 
+0073 <span class="comment">% uimenu_anneau_Callback(handles.uimenu_LT1, eventdata, handles);</span>
+0074 <span class="comment">%uimenu_LT1_Callback(handles.uimenu_LT1, eventdata, handles);</span>
+0075 <span class="comment">% Update handles structure</span>
+0076 guidata(hObject, handles);
+0077 
+0078 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0079 <a name="_sub2" href="#_subfunctions" class="code">function varargout = tango_staticdb_config_OutputFcn(hObject, eventdata, handles)</a>
+0080 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0081 <span class="comment">% hObject    handle to figure</span>
+0082 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0083 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0084 
+0085 <span class="comment">% Get default command line output from handles structure</span>
+0086 varargout{1} = handles.output;
+0087 
+0088 
+0089 <span class="comment">% --- Executes on selection change in popupmenu_group.</span>
+0090 <a name="_sub3" href="#_subfunctions" class="code">function popupmenu_group_Callback(hObject, eventdata, handles)</a>
+0091 <span class="comment">% hObject    handle to popupmenu_group (see GCBO)</span>
+0092 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0093 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0094 
+0095 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_group contents as cell array</span>
+0096 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_group</span>
+0097 
+0098 contents = get(hObject,<span class="string">'String'</span>);
+0099 num      = get(hObject,<span class="string">'Value'</span>);
+0100 family   = contents{num};
+0101 
+0102 AO = getfamilydata(family);
+0103 setappdata(handles.figure1,<span class="string">'AO'</span>,AO);
+0104 setappdata(handles.figure1, <span class="string">'Family'</span>, family);
+0105 
+0106 <span class="comment">%% Status one devices</span>
+0107 valid  = find(AO.Status);
+0108 <span class="comment">%% Builds up attribut list for selected family</span>
+0109 <span class="keyword">if</span> ~iscell(AO.DeviceName)
+0110     AO.DeviceName = {AO.DeviceName};
+0111 <span class="keyword">end</span>
+0112 
+0113 attributeList = tango_get_attribute_list(AO.DeviceName{valid(1)});
+0114 
+0115 <span class="keyword">if</span> isnumeric(attributeList) &amp;&amp;  attributeList == -1
+0116     error(<span class="string">'Cannot communicate with device %s'</span>,AO.DeviceName{valid(1)})
+0117 <span class="keyword">end</span>
+0118 
+0119 num = get(handles.popupmenu_attribute,<span class="string">'Value'</span>);
+0120 <span class="keyword">if</span> num &gt; length(attributeList)
+0121     num = 1;
+0122     set(handles.popupmenu_attribute,<span class="string">'Value'</span>,num);
+0123 <span class="keyword">end</span>
+0124 set(handles.popupmenu_attribute,<span class="string">'String'</span>,attributeList);
+0125 
+0126 <span class="comment">%setback selected elements and property to first one</span>
+0127 set(handles.listbox_property,<span class="string">'Value'</span>,1);
+0128 set(handles.listbox_group,<span class="string">'Value'</span>,1);
+0129 set(handles.listbox_dev_property,<span class="string">'Value'</span>,1);
+0130 
+0131 <a href="#_sub5" class="code" title="subfunction popupmenu_attribute_Callback(hObject, eventdata, handles)">popupmenu_attribute_Callback</a>(handles.popupmenu_attribute, eventdata, handles);
+0132 
+0133 <span class="comment">%% Build up command list</span>
+0134 <span class="comment">% popupmenu_group_Callback(handles.popupmenu_attribute, eventdata, handles);</span>
+0135 
+0136 commandList = tango_command_list_query(AO.DeviceName{valid(1)});
+0137 
+0138 num = get(handles.popupmenu_command,<span class="string">'Value'</span>);
+0139 <span class="keyword">if</span> num &gt; length(attributeList)
+0140     num = 1;
+0141     set(handles.popupmenu_command,<span class="string">'Value'</span>,num);
+0142 <span class="keyword">end</span>
+0143 
+0144 <span class="comment">% trick for getting a field array from a cell array</span>
+0145 commandOutputType = eval([<span class="string">'{commandList.'</span>, <span class="string">'out_type}'</span>]);
+0146 commandInputType  = eval([<span class="string">'{commandList.'</span>, <span class="string">'in_type}'</span>]);
+0147 setappdata(handles.figure1,<span class="string">'cmd_output_type'</span>,commandOutputType);
+0148 setappdata(handles.figure1,<span class="string">'cmd_input_type'</span>,commandInputType);
+0149 commandList = eval([<span class="string">'{commandList.'</span>, <span class="string">'cmd_name}'</span>]);
+0150 
+0151 set(handles.popupmenu_command,<span class="string">'String'</span>,commandList);
+0152 
+0153 <span class="comment">%% Build up a NaN attribute value pannel</span>
+0154 set(handles.listbox_attribute,<span class="string">'String'</span>, repmat(<span class="string">'NaN'</span>,size(AO.DeviceName)));
+0155 set(handles.listbox_dev_property,<span class="string">'String'</span>, repmat(<span class="string">'NaN'</span>,size(AO.DeviceName)));
+0156 
+0157 <span class="comment">%% Build up device property device list</span>
+0158 devPropList = tango_command_list_query(AO.DeviceName{valid(1)});
+0159 
+0160 <span class="comment">% Update handles structure</span>
+0161 guidata(hObject, handles);
+0162 
+0163 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0164 <a name="_sub4" href="#_subfunctions" class="code">function popupmenu_group_CreateFcn(hObject, eventdata, handles)</a>
+0165 <span class="comment">% hObject    handle to popupmenu_group (see GCBO)</span>
+0166 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0167 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0168 
+0169 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0170 <span class="comment">%       See ISPC and COMPUTER.</span>
+0171 <span class="keyword">if</span> ispc
+0172     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0173 <span class="keyword">else</span>
+0174     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0175 <span class="keyword">end</span>
+0176 
+0177 
+0178 <span class="comment">% --- Executes on selection change in popupmenu_attribute.</span>
+0179 <a name="_sub5" href="#_subfunctions" class="code">function popupmenu_attribute_Callback(hObject, eventdata, handles)</a>
+0180 <span class="comment">% hObject    handle to popupmenu_attribute (see GCBO)</span>
+0181 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0182 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0183 
+0184 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_attribute contents as cell array</span>
+0185 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_attribute</span>
+0186 
+0187 contents  = get(hObject,<span class="string">'String'</span>);
+0188 num       = get(hObject,<span class="string">'Value'</span>);
+0189 attribute = contents{num};
+0190 
+0191 family     = getappdata(handles.figure1,<span class="string">'Family'</span>);
+0192 AO         = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0193 
+0194 <span class="comment">%% Selects valid devices</span>
+0195 valid  = find(AO.Status);
+0196 <span class="comment">%% Builds up property list for selected family</span>
+0197 
+0198 <span class="keyword">if</span> ~iscell(AO.DeviceName)
+0199     AO.DeviceName = cellstr(AO.DeviceName);
+0200 <span class="keyword">end</span>
+0201     
+0202 propertyList = fieldnames(tango_attribute_query(AO.DeviceName{valid(1)}, attribute));
+0203 
+0204 num = get(hObject,<span class="string">'Value'</span>);
+0205 <span class="keyword">if</span> num &gt; length(propertyList)
+0206     num = 1;
+0207     set(handles.popupmenu_property,<span class="string">'Value'</span>,num);
+0208 <span class="keyword">end</span>
+0209 set(handles.popupmenu_property,<span class="string">'String'</span>,propertyList);
+0210 
+0211 <span class="comment">% Reset to first item in selection list</span>
+0212 set(handles.listbox_property,<span class="string">'Value'</span>,1);
+0213 set(handles.listbox_group,<span class="string">'Value'</span>,1);
+0214 set(handles.listbox_attribute,<span class="string">'Value'</span>,1);
+0215 
+0216 <a href="#_sub7" class="code" title="subfunction popupmenu_property_Callback(hObject, eventdata, handles)">popupmenu_property_Callback</a>(handles.popupmenu_property, eventdata, handles);
+0217 
+0218 <span class="comment">%set(handles.radiobutton_property,'Value',1);</span>
+0219 
+0220 <span class="comment">% Update handles structure</span>
+0221 guidata(hObject, handles);
+0222 
+0223 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0224 <a name="_sub6" href="#_subfunctions" class="code">function popupmenu_attribute_CreateFcn(hObject, eventdata, handles)</a>
+0225 <span class="comment">% hObject    handle to popupmenu_attribute (see GCBO)</span>
+0226 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0227 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0228 
+0229 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0230 <span class="comment">%       See ISPC and COMPUTER.</span>
+0231 <span class="keyword">if</span> ispc
+0232     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0233 <span class="keyword">else</span>
+0234     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0235 <span class="keyword">end</span>
+0236 
+0237 
+0238 <span class="comment">% --- Executes on selection change in popupmenu_property.</span>
+0239 <a name="_sub7" href="#_subfunctions" class="code">function popupmenu_property_Callback(hObject, eventdata, handles)</a>
+0240 <span class="comment">% hObject    handle to popupmenu_property (see GCBO)</span>
+0241 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0242 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0243 
+0244 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_property contents as cell array</span>
+0245 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_property</span>
+0246 
+0247 contents  = get(hObject,<span class="string">'String'</span>);
+0248 num       = get(hObject,<span class="string">'Value'</span>);
+0249 property  = contents{num};
+0250 
+0251 attribute  = get(handles.popupmenu_attribute,<span class="string">'String'</span>);
+0252 iattribute = get(handles.popupmenu_attribute,<span class="string">'Value'</span>);
+0253 AO         = getappdata(handles.figure1,<span class="string">'AO'</span>);
+0254 
+0255 
+0256 <span class="comment">% Status one devices</span>
+0257 valid  = find(AO.Status);
+0258 
+0259 <span class="comment">% Update Group list</span>
+0260 
+0261 <span class="keyword">if</span> ~iscell(AO.DeviceName) 
+0262     AO.DeviceName = {AO.DeviceName};
+0263 <span class="keyword">end</span>
+0264 
+0265 set(handles.listbox_group,<span class="string">'String'</span>,AO.DeviceName(valid));
+0266 
+0267 <span class="comment">% Contruct DeviceName/AttributName list</span>
+0268 fullTangoNames = strcat(AO.DeviceName(valid), <span class="string">'/'</span>, attribute{iattribute});
+0269 
+0270 <span class="comment">% Builds up property list</span>
+0271 list = tango_get_attribute_property(fullTangoNames, property);
+0272 set(handles.listbox_property,<span class="string">'String'</span>,list);
+0273 <span class="comment">% Reset to first item in selection list</span>
+0274 set(handles.listbox_property,<span class="string">'Value'</span>,1);
+0275 set(handles.listbox_group,<span class="string">'Value'</span>,1);
+0276 set(handles.listbox_attribute,<span class="string">'Value'</span>,1);
+0277 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0278 
+0279 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Values for property '''</span> char(property) <span class="string">''' refreshed'</span>],handles);
+0280 
+0281 <span class="comment">%popupmenu_command_Callback(handles.popupmenu_property, eventdata, handles);</span>
+0282 
+0283 <span class="comment">% Update handles structure</span>
+0284 guidata(hObject, handles);
+0285 
+0286 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0287 <a name="_sub8" href="#_subfunctions" class="code">function popupmenu_property_CreateFcn(hObject, eventdata, handles)</a>
+0288 <span class="comment">% hObject    handle to popupmenu_property (see GCBO)</span>
+0289 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0290 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0291 
+0292 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0293 <span class="comment">%       See ISPC and COMPUTER.</span>
+0294 <span class="keyword">if</span> ispc
+0295     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0296 <span class="keyword">else</span>
+0297     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0298 <span class="keyword">end</span>
+0299 
+0300 <span class="comment">% --- Executes on selection change in listbox_group.</span>
+0301 <a name="_sub9" href="#_subfunctions" class="code">function listbox_group_Callback(hObject, eventdata, handles)</a>
+0302 <span class="comment">% hObject    handle to listbox_group (see GCBO)</span>
+0303 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0304 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0305 
+0306 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_group contents as cell array</span>
+0307 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_group</span>
+0308 
+0309 idx = get(hObject,<span class="string">'Value'</span>);
+0310 
+0311 set(handles.listbox_attribute,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0312 set(handles.listbox_property,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0313 set(handles.listbox_dev_property,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0314 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0315 
+0316 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0317 <a name="_sub10" href="#_subfunctions" class="code">function listbox_group_CreateFcn(hObject, eventdata, handles)</a>
+0318 <span class="comment">% hObject    handle to listbox_group (see GCBO)</span>
+0319 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0320 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0321 
+0322 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0323 <span class="comment">%       See ISPC and COMPUTER.</span>
+0324 <span class="keyword">if</span> ispc
+0325     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0326 <span class="keyword">else</span>
+0327     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0328 <span class="keyword">end</span>
+0329 
+0330 
+0331 <span class="comment">% --- Executes on selection change in listbox_property.</span>
+0332 <a name="_sub11" href="#_subfunctions" class="code">function listbox_property_Callback(hObject, eventdata, handles)</a>
+0333 <span class="comment">% hObject    handle to listbox_property (see GCBO)</span>
+0334 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0335 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0336 
+0337 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_property contents as cell array</span>
+0338 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_property</span>
+0339 
+0340 contents = get(hObject,<span class="string">'String'</span>);
+0341 idx = get(hObject,<span class="string">'Value'</span>);
+0342 
+0343 set(handles.listbox_group,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0344 set(handles.listbox_attribute,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0345 set(handles.listbox_dev_property,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0346 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0347 
+0348 set(handles.edit_value,<span class="string">'String'</span>,contents{idx(1)});
+0349 
+0350 <span class="comment">%select radiobutton</span>
+0351 set(handles.radiobutton_property,<span class="string">'Value'</span>,1);
+0352 
+0353 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0354 <a name="_sub12" href="#_subfunctions" class="code">function listbox_property_CreateFcn(hObject, eventdata, handles)</a>
+0355 <span class="comment">% hObject    handle to listbox_property (see GCBO)</span>
+0356 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0357 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0358 
+0359 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0360 <span class="comment">%       See ISPC and COMPUTER.</span>
+0361 <span class="keyword">if</span> ispc
+0362     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0363 <span class="keyword">else</span>
+0364     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0365 <span class="keyword">end</span>
+0366 
+0367 
+0368 <span class="comment">% --- Executes on button press in checkbox_all.</span>
+0369 <a name="_sub13" href="#_subfunctions" class="code">function checkbox_all_Callback(hObject, eventdata, handles)</a>
+0370 <span class="comment">% hObject    handle to checkbox_all (see GCBO)</span>
+0371 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0372 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0373 
+0374 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_all</span>
+0375 val = get(handles.listbox_group,<span class="string">'String'</span>);
+0376 
+0377 <span class="keyword">if</span> get(hObject,<span class="string">'Value'</span>) == 1
+0378     set(handles.listbox_group,<span class="string">'Value'</span>,1:length(val));
+0379     set(handles.listbox_attribute,<span class="string">'Value'</span>,1:length(val));
+0380     set(handles.listbox_property,<span class="string">'Value'</span>,1:length(val));
+0381     set(handles.listbox_dev_property,<span class="string">'Value'</span>,1:length(val));
+0382     set(handles.listbox_group,<span class="string">'listboxtop'</span>,1);
+0383     set(handles.listbox_attribute,<span class="string">'listboxtop'</span>,1);
+0384     set(handles.listbox_property,<span class="string">'listboxtop'</span>,1);
+0385     set(handles.listbox_dev_property,<span class="string">'listboxtop'</span>,1);
+0386 <span class="keyword">end</span>
+0387 
+0388 <a name="_sub14" href="#_subfunctions" class="code">function edit_value_Callback(hObject, eventdata, handles)</a>
+0389 <span class="comment">% hObject    handle to edit_value (see GCBO)</span>
+0390 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0391 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0392 
+0393 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_value as text</span>
+0394 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_value as a double</span>
+0395 
+0396 <span class="comment">% First of all, ask for confirmation</span>
+0397 answer = questdlg(<span class="string">'Do you want to apply change ?'</span>,<span class="string">'Confirmation dialog box'</span>);
+0398 
+0399 <span class="keyword">switch</span> answer
+0400     <span class="keyword">case</span> <span class="string">'Yes'</span>
+0401 
+0402         <span class="comment">% Get the new value</span>
+0403         <span class="comment">% Need to force char array</span>
+0404         value = char(get(hObject,<span class="string">'String'</span>));       
+0405 
+0406         attribute  = get(handles.popupmenu_attribute,<span class="string">'String'</span>);
+0407         iattribute = get(handles.popupmenu_attribute,<span class="string">'Value'</span>);
+0408         property   = get(handles.popupmenu_property,<span class="string">'String'</span>);
+0409         iproperty  = get(handles.popupmenu_property,<span class="string">'Value'</span>);        
+0410         iSelected  = get(handles.listbox_group,<span class="string">'Value'</span>);
+0411         Family     = getappdata(handles.figure1, <span class="string">'Family'</span>);
+0412         DeviceName = family2tangodev(Family);
+0413 
+0414         <span class="keyword">switch</span> get(handles.radiobutton_property,<span class="string">'Value'</span>)
+0415 
+0416             <span class="keyword">case</span> 1 <span class="comment">% property change</span>
+0417 
+0418                 <span class="comment">%% Get selected element</span>
+0419                 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Please wait: writting property '</span> property{iproperty}  <span class="string">'...'</span>], handles);
+0420                 
+0421                 tango_set_attribute_property(strcat(DeviceName(iSelected), <span class="keyword">...</span>
+0422                     <span class="string">'/'</span>,attribute{iattribute}),property{iproperty}, value)
+0423                 
+0424                 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'Properties written'</span>, handles);
+0425                 
+0426                 <span class="comment">% refresh display</span>
+0427                 <a href="#_sub7" class="code" title="subfunction popupmenu_property_Callback(hObject, eventdata, handles)">popupmenu_property_Callback</a>(handles.popupmenu_property,eventdata, handles);
+0428 
+0429             <span class="keyword">case</span> 0 <span class="comment">%attribute change</span>
+0430                                                
+0431                <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Please wait: writting attributes '</span>, attribute{iattribute}, <span class="string">'  ...'</span>], handles);
+0432  
+0433                value = repmat(value,size(DeviceName(iSelected),1),1);
+0434                writeattribute(strcat(DeviceName(iSelected), <span class="keyword">...</span>
+0435                    <span class="string">'/'</span>,attribute{iattribute}), value, <span class="string">'QueryDB'</span>);
+0436 
+0437                <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'Attributes written'</span>, handles);
+0438 
+0439                 <span class="comment">% refresh display</span>
+0440                 <a href="#_sub27" class="code" title="subfunction pushbutton_refresh_Callback(hObject, eventdata, handles)">pushbutton_refresh_Callback</a>(handles.pushbutton_refresh,eventdata, handles);
+0441         <span class="keyword">end</span>
+0442     <span class="keyword">case</span> {<span class="string">'No'</span>,<span class="string">'Cancel'</span>}
+0443         <span class="keyword">return</span>;
+0444     <span class="keyword">otherwise</span>
+0445         warning(<span class="string">'Wrong answer'</span>)
+0446 <span class="keyword">end</span>
+0447 
+0448 
+0449 
+0450 
+0451 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0452 <a name="_sub15" href="#_subfunctions" class="code">function edit_value_CreateFcn(hObject, eventdata, handles)</a>
+0453 <span class="comment">% hObject    handle to edit_value (see GCBO)</span>
+0454 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0455 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0456 
+0457 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0458 <span class="comment">%       See ISPC and COMPUTER.</span>
+0459 <span class="keyword">if</span> ispc
+0460     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0461 <span class="keyword">else</span>
+0462     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0463 <span class="keyword">end</span>
+0464 
+0465 
+0466 <span class="comment">% --------------------------------------------------------------------</span>
+0467 <a name="_sub16" href="#_subfunctions" class="code">function uimenu_linac_Callback(hObject, eventdata, handles)</a>
+0468 <span class="comment">% hObject    handle to uimenu_linac (see GCBO)</span>
+0469 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0470 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0471 
+0472 <a href="#_sub18" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0473 
+0474 <span class="comment">% -------------------------------------------------------------------------</span>
+0475 <a name="_sub17" href="#_subfunctions" class="code">function uimenu_LT1_Callback(hObject, eventdata, handles)</a>
+0476 <span class="comment">% hObject    handle to uimenu_LT1 (see GCBO)</span>
+0477 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0478 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0479 
+0480 AD = getad;
+0481 
+0482 <span class="keyword">if</span> isempty(AD)
+0483     LT1init;
+0484 <span class="keyword">elseif</span> ~strcmpi(AD.Machine,<span class="string">'LT1'</span>)
+0485     LT1init;
+0486 <span class="keyword">end</span>
+0487 
+0488 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'LT1 loaded'</span>,handles);
+0489 handles = <a href="#_sub18" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0490 <span class="comment">% Update handles structure</span>
+0491 guidata(hObject, handles);
+0492 
+0493 <span class="comment">% -------------------------------------------------------------------------</span>
+0494 <a name="_sub18" href="#_subfunctions" class="code">function handles = init_uimenu(hObject, eventdata, handles)</a>
+0495 
+0496 <span class="comment">%% Checked box</span>
+0497 all = findobj(get(hObject,<span class="string">'Parent'</span>),<span class="string">'Type'</span>,<span class="string">'UImenu'</span>);
+0498 set(all, <span class="string">'Checked'</span>, <span class="string">'Off'</span>);
+0499 set(hObject, <span class="string">'Checked'</span>, <span class="string">'On'</span>);
+0500 
+0501 <span class="comment">%% Initialize popupmenu w/ first element, first attribute, first property</span>
+0502 listfamily = fieldnames(getfamilydata);
+0503 set(handles.popupmenu_group,<span class="string">'String'</span>,listfamily);
+0504 
+0505 <a href="#_sub3" class="code" title="subfunction popupmenu_group_Callback(hObject, eventdata, handles)">popupmenu_group_Callback</a>(handles.popupmenu_group, eventdata, handles);
+0506 
+0507 <span class="comment">% --------------------------------------------------------------------</span>
+0508 <a name="_sub19" href="#_subfunctions" class="code">function uimenu_booster_Callback(hObject, eventdata, handles)</a>
+0509 <span class="comment">% hObject    handle to uimenu_booster (see GCBO)</span>
+0510 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0511 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0512 
+0513 AD = getad;
+0514 
+0515 <span class="keyword">if</span> isempty(AD)
+0516     boosterinit;
+0517 <span class="keyword">elseif</span> ~strcmpi(AD.Machine,<span class="string">'Booster'</span>)
+0518     boosterinit
+0519 <span class="keyword">end</span>
+0520 
+0521 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'Booster loaded'</span>,handles);
+0522 <a href="#_sub18" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0523 
+0524 <span class="comment">% --------------------------------------------------------------------</span>
+0525 <a name="_sub20" href="#_subfunctions" class="code">function uimenu_LT2_Callback(hObject, eventdata, handles)</a>
+0526 <span class="comment">% hObject    handle to uimenu_LT2 (see GCBO)</span>
+0527 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0528 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0529 
+0530 AD = getad;
+0531 
+0532 <span class="keyword">if</span> isempty(AD)
+0533     LT2init
+0534 <span class="keyword">elseif</span> ~strcmpi(AD.Machine,<span class="string">'LT2'</span>)
+0535     LT2init;
+0536 <span class="keyword">end</span>
+0537 
+0538 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'LT2 loaded'</span>,handles);
+0539 
+0540 <a href="#_sub18" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0541 
+0542 <span class="comment">% --------------------------------------------------------------------</span>
+0543 <a name="_sub21" href="#_subfunctions" class="code">function uimenu_anneau_Callback(hObject, eventdata, handles)</a>
+0544 <span class="comment">% hObject    handle to uimenu_anneau (see GCBO)</span>
+0545 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0546 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0547 
+0548 machineName = getsubmachinename;
+0549 
+0550 <span class="keyword">if</span> isempty(machineName)
+0551     soleilinit;
+0552 <span class="keyword">elseif</span> ~strcmpi(machineName,<span class="string">'StorageRing'</span>)
+0553     soleilinit
+0554 <span class="keyword">end</span>
+0555 
+0556 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'Ring loaded'</span>,handles);
+0557 
+0558 <a href="#_sub18" class="code" title="subfunction handles = init_uimenu(hObject, eventdata, handles)">init_uimenu</a>(hObject, eventdata, handles);
+0559 
+0560 <span class="comment">% --- Executes on selection change in listbox_attribute.</span>
+0561 <a name="_sub22" href="#_subfunctions" class="code">function listbox_attribute_Callback(hObject, eventdata, handles)</a>
+0562 <span class="comment">% hObject    handle to listbox_attribute (see GCBO)</span>
+0563 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0564 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0565 
+0566 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_attribute contents as cell array</span>
+0567 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_attribute</span>
+0568 
+0569 contents = get(hObject,<span class="string">'String'</span>);
+0570 idx = get(hObject,<span class="string">'Value'</span>);
+0571 set(handles.listbox_group,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0572 set(handles.listbox_property,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0573 set(handles.listbox_dev_property,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0574 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0575 
+0576 <span class="comment">% Selected only first element</span>
+0577 <span class="comment">% If all elements are numeric, return a char array and not a cell!</span>
+0578 <span class="keyword">if</span> ischar(contents)
+0579     contents = cellstr(contents);
+0580 <span class="keyword">end</span>
+0581 set(handles.edit_value,<span class="string">'String'</span>,contents{idx(1)});
+0582 
+0583 <span class="comment">%select radiobutton</span>
+0584 set(handles.radiobutton_attribute,<span class="string">'Value'</span>,1);
+0585 
+0586 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0587 <a name="_sub23" href="#_subfunctions" class="code">function listbox_attribute_CreateFcn(hObject, eventdata, handles)</a>
+0588 <span class="comment">% hObject    handle to listbox_attribute (see GCBO)</span>
+0589 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0590 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0591 
+0592 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0593 <span class="comment">%       See ISPC and COMPUTER.</span>
+0594 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0595     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0596 <span class="keyword">end</span>
+0597 
+0598 
+0599 <span class="comment">% --- Executes on selection change in popupmenu_command.</span>
+0600 <a name="_sub24" href="#_subfunctions" class="code">function popupmenu_command_Callback(hObject, eventdata, handles)</a>
+0601 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0602 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0603 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0604 
+0605 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_command contents as cell array</span>
+0606 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_command</span>
+0607 
+0608 contents  = get(hObject,<span class="string">'String'</span>);
+0609 num       = get(hObject,<span class="string">'Value'</span>);
+0610 command  = contents{num};
+0611 
+0612 setappdata(handles.figure1,<span class="string">'command'</span>, command);
+0613 
+0614 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0615 <a name="_sub25" href="#_subfunctions" class="code">function popupmenu_command_CreateFcn(hObject, eventdata, handles)</a>
+0616 <span class="comment">% hObject    handle to popupmenu_command (see GCBO)</span>
+0617 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0618 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0619 
+0620 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0621 <span class="comment">%       See ISPC and COMPUTER.</span>
+0622 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0623     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0624 <span class="keyword">end</span>
+0625 
+0626 
+0627 <span class="comment">% --- Executes on button press in pushbutton_apply.</span>
+0628 <a name="_sub26" href="#_subfunctions" class="code">function pushbutton_apply_Callback(hObject, eventdata, handles)</a>
+0629 <span class="comment">% hObject    handle to pushbutton_apply (see GCBO)</span>
+0630 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0631 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0632 
+0633 <span class="comment">% Apply command</span>
+0634 
+0635 answer = questdlg(<span class="string">'Do you want to apply change ?'</span>,<span class="string">'Confirmation dialog box'</span>);
+0636 
+0637 <span class="keyword">switch</span> answer
+0638     <span class="keyword">case</span> <span class="string">'Yes'</span>
+0639         <span class="comment">% get selected device</span>
+0640         iSelected = get(handles.listbox_group,<span class="string">'Value'</span>);
+0641 
+0642         Family = getappdata(handles.figure1, <span class="string">'Family'</span>);
+0643         DeviceName = family2tangodev(Family);
+0644 
+0645         <span class="keyword">if</span> isempty(iSelected)
+0646             <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'Non device names selected or status 0'</span>,handles);
+0647             <span class="keyword">return</span>;
+0648         <span class="keyword">end</span>
+0649 
+0650         valS = repmat(<span class="string">'NaN'</span>,size(DeviceName));
+0651         val = cellstr(valS);
+0652         <span class="comment">%get selected command</span>
+0653         icmd    = get(handles.popupmenu_command,<span class="string">'Value'</span>);
+0654         cmdlist = get(handles.popupmenu_command,<span class="string">'String'</span>);
+0655         command = cmdlist{icmd};
+0656         
+0657         <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Applying command: '</span> command], handles);
+0658         set(handles.listbox_attribute,<span class="string">'String'</span>,val);
+0659         
+0660         commandOutputType = getappdata(handles.figure1,<span class="string">'cmd_output_type'</span>);
+0661         commandOutputType = commandOutputType{icmd};
+0662         commandInputType  = getappdata(handles.figure1,<span class="string">'cmd_input_type'</span>);
+0663         commandInputType  = commandInputType{icmd};
+0664 
+0665         <span class="keyword">switch</span> commandOutputType
+0666             <span class="keyword">case</span> {<span class="string">'1-by-n char'</span>}        
+0667                 <span class="keyword">for</span> k = 1:length(iSelected),
+0668                     val0 = tango_command_inout2(DeviceName{iSelected(k)},command);
+0669                     val{iSelected(k)} = val0;
+0670                 <span class="keyword">end</span>
+0671                 set(handles.listbox_attribute,<span class="string">'String'</span>,val);
+0672             <span class="keyword">otherwise</span> <span class="comment">% not output command</span>
+0673                 <span class="keyword">for</span> k=1:length(iSelected),
+0674                     tango_command_inout2(DeviceName{iSelected(k)},command);
+0675                 <span class="keyword">end</span>
+0676         <span class="keyword">end</span>
+0677         <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'Command applied'</span>, handles);
+0678     <span class="keyword">case</span> {<span class="string">'No'</span>,<span class="string">'Cancel'</span>}
+0679         <span class="keyword">return</span>;
+0680     <span class="keyword">otherwise</span>
+0681         warning(<span class="string">'Wrong answer'</span>)
+0682 <span class="keyword">end</span>
+0683 
+0684 
+0685 <span class="comment">% --- Executes on button press in pushbutton_refresh.</span>
+0686 <a name="_sub27" href="#_subfunctions" class="code">function pushbutton_refresh_Callback(hObject, eventdata, handles)</a>
+0687 <span class="comment">% hObject    handle to pushbutton_refresh (see GCBO)</span>
+0688 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0689 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0690 
+0691 <span class="comment">% attributes</span>
+0692 <span class="comment">% refresh ALL</span>
+0693 ifamily = get(handles.popupmenu_group,<span class="string">'Value'</span>);
+0694 family = get(handles.popupmenu_group,<span class="string">'String'</span>);
+0695 
+0696 Family = family{ifamily};
+0697 DeviceName = family2tangodev(Family);
+0698 
+0699 <span class="keyword">if</span> isempty(Family)
+0700     <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'No machine loaded!'</span>,handles);
+0701     <span class="keyword">return</span>
+0702 <span class="keyword">end</span>
+0703 
+0704 iattribute = get(handles.popupmenu_attribute,<span class="string">'Value'</span>);
+0705 attribute  = get(handles.popupmenu_attribute,<span class="string">'String'</span>);
+0706 iSelected  = get(handles.listbox_group,<span class="string">'Value'</span>);
+0707 
+0708 val  = ones(size(DeviceName))*NaN';
+0709 valS = repmat(<span class="string">'NaN'</span>,size(DeviceName));
+0710 <span class="comment">%val0 = readattribute(strcat(DeviceName,'/',char(attribute(iattribute))));</span>
+0711 val0 = readattribute(strcat(DeviceName(iSelected),<span class="string">'/'</span>,char(attribute(iattribute))));
+0712 
+0713 <span class="keyword">if</span> iscellstr(val0) <span class="comment">% See timestamp for MON as an example</span>
+0714     val = cellstr(valS);
+0715     val(iSelected,:) = val0;
+0716 <span class="keyword">else</span>
+0717     val(iSelected) = val0;
+0718 <span class="keyword">end</span>
+0719 
+0720 <span class="comment">% % update listbox</span>
+0721  set(handles.listbox_attribute,<span class="string">'String'</span>,val);
+0722 <span class="comment">% % update editbox</span>
+0723 <span class="comment">% set(handles.edit_value,'String',val(1));</span>
+0724 <span class="comment">% set(handles.listbox_attribute,'Value',1);</span>
+0725 <span class="comment">% set(handles.listbox_group,'Value',1);</span>
+0726 <span class="comment">% set(handles.listbox_dev_property,'Value',1);</span>
+0727 <span class="comment">% set(handles.listbox_property,'Value',1);</span>
+0728 <span class="comment">% % uncheck buttons</span>
+0729 <span class="comment">% set(handles.checkbox_all,'Value', 0);</span>
+0730 
+0731 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Values for attribute '''</span> char(attribute(iattribute)) <span class="string">''' refreshed'</span>],handles);
+0732 
+0733 <span class="comment">% --- Executes on selection change in listbox_log.</span>
+0734 <a name="_sub28" href="#_subfunctions" class="code">function listbox_log_Callback(hObject, eventdata, handles)</a>
+0735 <span class="comment">% hObject    handle to listbox_log (see GCBO)</span>
+0736 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0737 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0738 
+0739 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_log contents as cell array</span>
+0740 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_log</span>
+0741 
+0742 
+0743 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0744 <a name="_sub29" href="#_subfunctions" class="code">function listbox_log_CreateFcn(hObject, eventdata, handles)</a>
+0745 <span class="comment">% hObject    handle to listbox_log (see GCBO)</span>
+0746 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0747 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0748 
+0749 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0750 <span class="comment">%       See ISPC and COMPUTER.</span>
+0751 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0752     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0753 <span class="keyword">end</span>
+0754 
+0755 
+0756 <a name="_sub30" href="#_subfunctions" class="code">function writelog(strvalue, handles)</a>
+0757 <span class="comment">% Add stuff in the logging window</span>
+0758 
+0759 str = get(handles.listbox_log, <span class="string">'String'</span>);
+0760 str = {str{:} [datestr(now) <span class="string">': '</span> strvalue]};
+0761 <span class="comment">% update logging window</span>
+0762 set(handles.listbox_log, <span class="string">'String'</span>,str,<span class="string">'ListBoxTop'</span>,length(str));
+0763 
+0764 
+0765 <span class="comment">% --- Executes on selection change in listbox_dev_property.</span>
+0766 <a name="_sub31" href="#_subfunctions" class="code">function listbox_dev_property_Callback(hObject, eventdata, handles)</a>
+0767 <span class="comment">% hObject    handle to listbox_dev_property (see GCBO)</span>
+0768 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0769 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0770 
+0771 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_dev_property contents as cell array</span>
+0772 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_dev_property</span>
+0773 contents = get(hObject,<span class="string">'String'</span>);
+0774 idx = get(hObject,<span class="string">'Value'</span>);
+0775 
+0776 set(handles.listbox_group,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0777 set(handles.listbox_attribute,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0778 set(handles.listbox_property,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0779 set(handles.listbox_dev_property,<span class="string">'Value'</span>,idx,<span class="string">'ListBoxTop'</span>,get(hObject,<span class="string">'ListboxTop'</span>));
+0780 set(handles.checkbox_all,<span class="string">'Value'</span>,0);
+0781 
+0782 set(handles.edit_value,<span class="string">'String'</span>,contents{idx(1)});
+0783 
+0784 
+0785 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0786 <a name="_sub32" href="#_subfunctions" class="code">function listbox_dev_property_CreateFcn(hObject, eventdata, handles)</a>
+0787 <span class="comment">% hObject    handle to listbox_dev_property (see GCBO)</span>
+0788 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0789 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0790 
+0791 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+0792 <span class="comment">%       See ISPC and COMPUTER.</span>
+0793 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0794     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0795 <span class="keyword">end</span>
+0796 
+0797 
+0798 <span class="comment">% --- Executes on selection change in popupmenu_dev_prop.</span>
+0799 <a name="_sub33" href="#_subfunctions" class="code">function popupmenu_dev_prop_Callback(hObject, eventdata, handles)</a>
+0800 <span class="comment">% hObject    handle to popupmenu_dev_prop (see GCBO)</span>
+0801 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0802 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0803 
+0804 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_dev_prop contents as cell array</span>
+0805 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_dev_prop</span>
+0806 contents  = get(hObject,<span class="string">'String'</span>);
+0807 num       = get(hObject,<span class="string">'Value'</span>);
+0808 devproperty  = contents{num};
+0809 
+0810 setappdata(handles.figure1,<span class="string">'devproperty'</span>, devproperty);
+0811 
+0812 
+0813 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0814 <a name="_sub34" href="#_subfunctions" class="code">function popupmenu_dev_prop_CreateFcn(hObject, eventdata, handles)</a>
+0815 <span class="comment">% hObject    handle to popupmenu_dev_prop (see GCBO)</span>
+0816 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0817 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0818 
+0819 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0820 <span class="comment">%       See ISPC and COMPUTER.</span>
+0821 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0822     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0823 <span class="keyword">end</span>
+0824 
+0825 
+0826 
+0827 <a name="_sub35" href="#_subfunctions" class="code">function edit_dev_propvalue_Callback(hObject, eventdata, handles)</a>
+0828 <span class="comment">% hObject    handle to edit_dev_propvalue (see GCBO)</span>
+0829 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0830 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0831 
+0832 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dev_propvalue as text</span>
+0833 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dev_propvalue as a double</span>
+0834 <span class="comment">% First of all, ask for confirmation</span>
+0835 answer = questdlg(<span class="string">'Do you want to apply change ?'</span>,<span class="string">'Confirmation dialog box'</span>);
+0836 
+0837 <span class="keyword">switch</span> answer
+0838     <span class="keyword">case</span> <span class="string">'Yes'</span>
+0839 
+0840         <span class="comment">% Get the new value</span>
+0841         <span class="comment">% Need to force char array</span>
+0842         value = char(get(hObject,<span class="string">'String'</span>));
+0843 
+0844         propertyname  = get(handles.edit_dev_propname,<span class="string">'String'</span>);
+0845         propertyvalue = get(handles.edit_dev_propvalue,<span class="string">'String'</span>);
+0846         Family        = getappdata(handles.figure1, <span class="string">'Family'</span>);
+0847         DeviceName    = family2tangodev(Family);
+0848 
+0849         iSelected = get(handles.listbox_group,<span class="string">'Value'</span>);
+0850 
+0851         val = tango_get_device_property(DeviceName(iSelected), <span class="keyword">...</span>
+0852             propertyname);
+0853 
+0854         <span class="comment">%% Get selected element</span>
+0855         <span class="keyword">if</span> isempty(val)
+0856             <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Cancelled: property '</span> str2mat(propertyvalue)  <span class="string">'not defined'</span>], handles);
+0857             set(handles.listbox_dev_property,<span class="string">'String'</span>, repmat(<span class="string">'NaN'</span>,size(DeviceName)));
+0858         <span class="keyword">else</span>
+0859             <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Please wait: writting DEVICE property '</span> str2mat(propertyvalue)  <span class="string">'...'</span>], handles);
+0860 
+0861             tango_set_device_property(DeviceName(iSelected), <span class="keyword">...</span>
+0862                 propertyname, propertyvalue);
+0863 
+0864             <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'Device properties written'</span>, handles);
+0865 
+0866             <span class="comment">% refresh display</span>
+0867             <a href="#_sub39" class="code" title="subfunction pushbutton_dev_prop_Callback(hObject, eventdata, handles)">pushbutton_dev_prop_Callback</a>(handles.edit_dev_propvalue,eventdata, handles);
+0868         <span class="keyword">end</span>
+0869     <span class="keyword">case</span> {<span class="string">'No'</span>,<span class="string">'Cancel'</span>}
+0870         <span class="keyword">return</span>;
+0871     <span class="keyword">otherwise</span>
+0872         warning(<span class="string">'Wrong answer'</span>)
+0873 <span class="keyword">end</span>
+0874 
+0875 
+0876 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0877 <a name="_sub36" href="#_subfunctions" class="code">function edit_dev_propvalue_CreateFcn(hObject, eventdata, handles)</a>
+0878 <span class="comment">% hObject    handle to edit_dev_propvalue (see GCBO)</span>
+0879 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0880 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0881 
+0882 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0883 <span class="comment">%       See ISPC and COMPUTER.</span>
+0884 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0885     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0886 <span class="keyword">end</span>
+0887 
+0888 
+0889 
+0890 <a name="_sub37" href="#_subfunctions" class="code">function edit_dev_propname_Callback(hObject, eventdata, handles)</a>
+0891 <span class="comment">% hObject    handle to edit_dev_propname (see GCBO)</span>
+0892 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0893 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0894 
+0895 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dev_propname as text</span>
+0896 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dev_propname as a double</span>
+0897 
+0898 
+0899 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0900 <a name="_sub38" href="#_subfunctions" class="code">function edit_dev_propname_CreateFcn(hObject, eventdata, handles)</a>
+0901 <span class="comment">% hObject    handle to edit_dev_propname (see GCBO)</span>
+0902 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0903 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0904 
+0905 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0906 <span class="comment">%       See ISPC and COMPUTER.</span>
+0907 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0908     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0909 <span class="keyword">end</span>
+0910 
+0911 
+0912 <span class="comment">% --- Executes on button press in pushbutton_dev_prop.</span>
+0913 <a name="_sub39" href="#_subfunctions" class="code">function pushbutton_dev_prop_Callback(hObject, eventdata, handles)</a>
+0914 <span class="comment">% hObject    handle to pushbutton_dev_prop (see GCBO)</span>
+0915 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0916 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0917 
+0918 ifamily = get(handles.popupmenu_group,<span class="string">'Value'</span>);
+0919 family  = get(handles.popupmenu_group,<span class="string">'String'</span>);
+0920 
+0921 Family        = family{ifamily};
+0922 DeviceName    = family2tangodev(Family);
+0923 
+0924 <span class="keyword">if</span> isempty(Family)
+0925     <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>(<span class="string">'No machine loaded!'</span>,handles);
+0926     <span class="keyword">return</span>
+0927 <span class="keyword">end</span>
+0928 
+0929 val = ones(size(DeviceName))*NaN';
+0930 valS = repmat(<span class="string">'NaN'</span>,size(DeviceName));
+0931 
+0932 property  = get(handles.edit_dev_propname,<span class="string">'String'</span>);
+0933 
+0934 val0 = tango_get_device_property(DeviceName,property);
+0935 
+0936 <span class="keyword">if</span> isempty(val0)
+0937     <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Property '''</span> property <span class="string">''' not defined'</span>],handles);
+0938     <span class="keyword">return</span>;
+0939 <span class="keyword">end</span>
+0940 
+0941 <span class="keyword">if</span> iscellstr(val0)
+0942     val = cellstr(val0);
+0943 <span class="keyword">else</span>
+0944     val = val0;
+0945 <span class="keyword">end</span>
+0946 
+0947 <span class="comment">% unpdate listbox</span>
+0948 set(handles.listbox_dev_property,<span class="string">'String'</span>,val);
+0949 <span class="comment">% update editbox</span>
+0950 set(handles.edit_value,<span class="string">'String'</span>,val(1));
+0951 set(handles.listbox_attribute,<span class="string">'Value'</span>,1);
+0952 set(handles.listbox_group,<span class="string">'Value'</span>,1);
+0953 set(handles.listbox_dev_property,<span class="string">'Value'</span>,1);
+0954 set(handles.listbox_property,<span class="string">'Value'</span>,1);
+0955 <span class="comment">% uncheckk buttons</span>
+0956 set(handles.checkbox_all,<span class="string">'Value'</span>, 0);
+0957 
+0958 <a href="#_sub30" class="code" title="subfunction writelog(strvalue, handles)">writelog</a>([<span class="string">'Values for property '''</span> property <span class="string">''' refreshed'</span>],handles);
+0959</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/family2devcell.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/family2devcell.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/family2devcell.html	(revision 17)
@@ -0,0 +1,152 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of family2devcell</title>
+  <meta name="keywords" content="family2devcell">
+  <meta name="description" content="FAMILY2DEVCELL - Returns the device list for a family and a cell">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; family2devcell.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>family2devcell
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>FAMILY2DEVCELL - Returns the device list for a family and a cell</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function DeviceList = family2devcell(Family, varargin); </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">FAMILY2DEVCELL - Returns the device list for a family and a cell
+  DeviceList = family2dev(FamilyName, StatusFlag)
+
+  INPUTS
+  1. Family = Family name ('BEND', 'Q1', 'S1', 'S2', 'HCOR', 'VCOR', etc.)
+              Data Structure (only the FamilyName field is used)
+              Accelerator Object (only the FamilyName field is used)
+              Cell Array
+  2. CellNumber - Cell number eg. 1, [2 3]
+  3. StatusFlag - 0 return all devices
+                  1 return only devices with good status {Default}
+
+  OUTPUTS
+  1. DeviceList - Device list corresponding to the Family
+                  Empty if not found
+
+  See Also dev2family, family2common, family2dev, family2handle
+          family2status, family2tol, family2units, family2tango</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="family2devcell.html" class="code" title="function DeviceList = family2devcell(Family, varargin);">family2devcell</a>	FAMILY2DEVCELL - Returns the device list for a family and a cell</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="family2devcell.html" class="code" title="function DeviceList = family2devcell(Family, varargin);">family2devcell</a>	FAMILY2DEVCELL - Returns the device list for a family and a cell</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function DeviceList = family2devcell(Family, varargin);</a>
+0002 <span class="comment">%FAMILY2DEVCELL - Returns the device list for a family and a cell</span>
+0003 <span class="comment">%  DeviceList = family2dev(FamilyName, StatusFlag)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. Family = Family name ('BEND', 'Q1', 'S1', 'S2', 'HCOR', 'VCOR', etc.)</span>
+0007 <span class="comment">%              Data Structure (only the FamilyName field is used)</span>
+0008 <span class="comment">%              Accelerator Object (only the FamilyName field is used)</span>
+0009 <span class="comment">%              Cell Array</span>
+0010 <span class="comment">%  2. CellNumber - Cell number eg. 1, [2 3]</span>
+0011 <span class="comment">%  3. StatusFlag - 0 return all devices</span>
+0012 <span class="comment">%                  1 return only devices with good status {Default}</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%  OUTPUTS</span>
+0015 <span class="comment">%  1. DeviceList - Device list corresponding to the Family</span>
+0016 <span class="comment">%                  Empty if not found</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%  See Also dev2family, family2common, family2dev, family2handle</span>
+0019 <span class="comment">%          family2status, family2tol, family2units, family2tango</span>
+0020 
+0021 <span class="comment">%</span>
+0022 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0023 
+0024 <span class="keyword">if</span> nargin == 0
+0025     error(<span class="string">'Must have at least one input.'</span>);
+0026 <span class="keyword">end</span>
+0027 
+0028 <span class="comment">% Status input</span>
+0029 <span class="keyword">if</span> nargin &gt;= 2
+0030     CellNumber = varargin{1};
+0031     <span class="keyword">if</span> nargin &gt;= 3
+0032         StatusFlag = varargin{2};
+0033     <span class="keyword">else</span>
+0034         <span class="comment">% This choice changes the default behavior for the entire middle layer !!!!</span>
+0035         StatusFlag = 1;  <span class="comment">% Only return good status devices</span>
+0036     <span class="keyword">end</span>
+0037 <span class="keyword">else</span>
+0038     CellNumber = 1;
+0039     StatusFlag = 1;  <span class="comment">% Only return good status devices</span>
+0040 <span class="keyword">end</span>
+0041 
+0042 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0043 <span class="comment">% Cell Array Inputs %</span>
+0044 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0045 <span class="keyword">if</span> iscell(Family)
+0046     <span class="keyword">for</span> i = 1:length(Family)
+0047         <span class="keyword">if</span> iscell(StatusFlag)
+0048             DeviceList{i} = <a href="family2devcell.html" class="code" title="function DeviceList = family2devcell(Family, varargin);">family2devcell</a>(Family{i}, StatusFlag{i});
+0049         <span class="keyword">else</span>
+0050             DeviceList{i} = <a href="family2devcell.html" class="code" title="function DeviceList = family2devcell(Family, varargin);">family2devcell</a>(Family{i}, StatusFlag);
+0051         <span class="keyword">end</span>
+0052     <span class="keyword">end</span>
+0053     <span class="keyword">return</span>    
+0054 <span class="keyword">end</span>
+0055 
+0056 
+0057 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0058 <span class="comment">% Family or data structure inputs beyond this point %</span>
+0059 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0060 <span class="keyword">if</span> isstruct(Family)
+0061     <span class="comment">% Structures can be an accelerator object or a data structure (as returned by getpv)</span>
+0062     <span class="keyword">if</span> isfield(Family, <span class="string">'FamilyName'</span>)
+0063         <span class="comment">% Data structure</span>
+0064         Family = Family.FamilyName;   
+0065     <span class="keyword">else</span>
+0066         error(<span class="string">'Family input of unknown type'</span>);
+0067     <span class="keyword">end</span>
+0068 <span class="keyword">end</span>
+0069 
+0070 
+0071 [DeviceList, ErrorFlag] = getfamilydata(Family, <span class="string">'DeviceList'</span>);
+0072 <span class="keyword">if</span> isempty(DeviceList)
+0073     error(sprintf(<span class="string">'%s family not found'</span>, Family));
+0074 <span class="keyword">end</span>
+0075 
+0076 ind = [];
+0077 <span class="keyword">for</span> k = 1:length(CellNumber)
+0078     ind = [ind; find(DeviceList(:,1) == CellNumber(k))];
+0079 <span class="keyword">end</span>
+0080 DeviceList = DeviceList(ind,:);
+0081 
+0082 <span class="keyword">if</span> StatusFlag
+0083     Status = getfamilydata(Family, <span class="string">'Status'</span>, DeviceList);
+0084     <span class="keyword">if</span> isempty(Status)
+0085         fprintf(<span class="string">'   WARNING:  Status field not in the AO, hence ignored.\n'</span>);
+0086     <span class="keyword">else</span>
+0087         DeviceList = DeviceList(find(Status),:);
+0088     <span class="keyword">end</span>
+0089 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/family2elem.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/family2elem.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/family2elem.html	(revision 17)
@@ -0,0 +1,150 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of family2elem</title>
+  <meta name="keywords" content="family2elem">
+  <meta name="description" content="FAMILY2elem - Returns the element list for a family">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; family2elem.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>family2elem
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>FAMILY2elem - Returns the element list for a family</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function ElementList = family2elem(Family, varargin); </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">FAMILY2elem - Returns the element list for a family
+  ElementList = family2elem(FamilyName, StatusFlag)
+
+  INPUTS
+  1. Family = Family name ('BEND', 'Q1', 'S1', 'S2', 'HCOR', 'VCOR', etc.)
+              Data Structure (only the FamilyName field is used)
+              Accelerator Object (only the FamilyName field is used)
+              Cell Array
+  2. StatusFlag - 0 return all elements
+                  1 return only elements with good status {Default}
+
+  OUTPUTS
+  1. ElementList - Element list corresponding to the Family
+                  Empty if not found
+
+  EXAMPLES
+  1. family2elem('HCOR')
+  2. family2elem({'HCOR','VCOR'})
+
+  See Also dev2family, family2common, family2dev, family2handle
+          family2status, family2tol, family2units, family2tango</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="family2elem.html" class="code" title="function ElementList = family2elem(Family, varargin);">family2elem</a>	FAMILY2elem - Returns the element list for a family</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="family2elem.html" class="code" title="function ElementList = family2elem(Family, varargin);">family2elem</a>	FAMILY2elem - Returns the element list for a family</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function ElementList = family2elem(Family, varargin);</a>
+0002 <span class="comment">%FAMILY2elem - Returns the element list for a family</span>
+0003 <span class="comment">%  ElementList = family2elem(FamilyName, StatusFlag)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. Family = Family name ('BEND', 'Q1', 'S1', 'S2', 'HCOR', 'VCOR', etc.)</span>
+0007 <span class="comment">%              Data Structure (only the FamilyName field is used)</span>
+0008 <span class="comment">%              Accelerator Object (only the FamilyName field is used)</span>
+0009 <span class="comment">%              Cell Array</span>
+0010 <span class="comment">%  2. StatusFlag - 0 return all elements</span>
+0011 <span class="comment">%                  1 return only elements with good status {Default}</span>
+0012 <span class="comment">%</span>
+0013 <span class="comment">%  OUTPUTS</span>
+0014 <span class="comment">%  1. ElementList - Element list corresponding to the Family</span>
+0015 <span class="comment">%                  Empty if not found</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">%  EXAMPLES</span>
+0018 <span class="comment">%  1. family2elem('HCOR')</span>
+0019 <span class="comment">%  2. family2elem({'HCOR','VCOR'})</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  See Also dev2family, family2common, family2dev, family2handle</span>
+0022 <span class="comment">%          family2status, family2tol, family2units, family2tango</span>
+0023           
+0024 <span class="comment">%</span>
+0025 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0026 
+0027 <span class="keyword">if</span> nargin == 0
+0028     error(<span class="string">'Must have at least one input.'</span>);
+0029 <span class="keyword">end</span>
+0030 
+0031 <span class="comment">% Status input</span>
+0032 <span class="keyword">if</span> nargin &gt;= 2
+0033     StatusFlag = varargin{1};
+0034 <span class="keyword">else</span>
+0035     <span class="comment">% This choice changes the default behavior for the entire middle layer !!!!</span>
+0036     StatusFlag = 1;  <span class="comment">% Only return good status devices</span>
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0040 <span class="comment">%% Cell Array Inputs %</span>
+0041 <span class="comment">%%%%%%%%%%%%%%%%%%%%%</span>
+0042 <span class="keyword">if</span> iscell(Family)
+0043     <span class="keyword">for</span> i = 1:length(Family)
+0044         <span class="keyword">if</span> iscell(StatusFlag)
+0045             ElementList{i} = <a href="family2elem.html" class="code" title="function ElementList = family2elem(Family, varargin);">family2elem</a>(Family{i}, StatusFlag{i});
+0046         <span class="keyword">else</span>
+0047             ElementList{i} = <a href="family2elem.html" class="code" title="function ElementList = family2elem(Family, varargin);">family2elem</a>(Family{i}, StatusFlag);
+0048         <span class="keyword">end</span>
+0049     <span class="keyword">end</span>
+0050     <span class="keyword">return</span>    
+0051 <span class="keyword">end</span>
+0052 
+0053 
+0054 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0055 <span class="comment">%% Family or data structure inputs beyond this point %</span>
+0056 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0057 <span class="keyword">if</span> isstruct(Family)
+0058     <span class="comment">% Structures can be an accelerator object or a data structure (as returned by getpv)</span>
+0059     <span class="keyword">if</span> isfield(Family, <span class="string">'FamilyName'</span>)
+0060         <span class="comment">% Data structure</span>
+0061         Family = Family.FamilyName;   
+0062     <span class="keyword">else</span>
+0063         error(<span class="string">'Family input of unknown type'</span>);
+0064     <span class="keyword">end</span>
+0065 <span class="keyword">end</span>
+0066 
+0067 <span class="comment">% gets device list for Family</span>
+0068 [DeviceList, ErrorFlag] = getfamilydata(Family, <span class="string">'DeviceList'</span>);
+0069 <span class="keyword">if</span> isempty(DeviceList)
+0070     error(sprintf(<span class="string">'%s family not found'</span>, Family));
+0071 <span class="keyword">end</span>
+0072 
+0073 <span class="comment">% return all elements whatever status</span>
+0074 ElementList = dev2elem(Family,DeviceList);
+0075 
+0076 <span class="comment">% return status 1 elements</span>
+0077 <span class="keyword">if</span> StatusFlag
+0078     Status = getfamilydata(Family, <span class="string">'Status'</span>, DeviceList);
+0079     <span class="keyword">if</span> isempty(Status)
+0080         fprintf(<span class="string">'   WARNING:  Status field not in the AO, hence ignored.\n'</span>);
+0081     <span class="keyword">else</span>
+0082         ElementList = dev2elem(Family,DeviceList(find(Status),:));
+0083     <span class="keyword">end</span>
+0084 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/findkeyword2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/findkeyword2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/findkeyword2.html	(revision 17)
@@ -0,0 +1,80 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of findkeyword2</title>
+  <meta name="keywords" content="findkeyword2">
+  <meta name="description" content="FINDKEYWORD - Finds a keyword with a cell of strings">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; findkeyword2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>findkeyword2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>FINDKEYWORD - Finds a keyword with a cell of strings</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [varargin, OutputFlag]=findkeyword2(varargin,keyword) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">FINDKEYWORD - Finds a keyword with a cell of strings
+
+ INPUTS
+ 1. varargin Cell of strings
+ 2. keyword 
+
+ OUTPUTS
+ 1. varargin - cell of string without keyword
+ 2. OutputFlag cell number if keywork found</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [varargin, OutputFlag]=findkeyword2(varargin,keyword)</a>
+0002 <span class="comment">%FINDKEYWORD - Finds a keyword with a cell of strings</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% INPUTS</span>
+0005 <span class="comment">% 1. varargin Cell of strings</span>
+0006 <span class="comment">% 2. keyword</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% OUTPUTS</span>
+0009 <span class="comment">% 1. varargin - cell of string without keyword</span>
+0010 <span class="comment">% 2. OutputFlag cell number if keywork found</span>
+0011 
+0012 <span class="comment">% Adapted from findkeyword by Laurent S. Nadolski</span>
+0013 
+0014 OutputFlag = 0;
+0015 <span class="keyword">if</span> ~isempty(varargin)
+0016   <span class="keyword">for</span> i = 1:length(varargin)
+0017     <span class="keyword">if</span> ischar(varargin{i})
+0018         <span class="keyword">if</span> strcmpi(varargin{i},keyword)
+0019             OutputFlag = i;
+0020             varargin(i) = [];
+0021             <span class="keyword">break</span>
+0022         <span class="keyword">end</span>
+0023     <span class="keyword">end</span>
+0024   <span class="keyword">end</span>
+0025 <span class="keyword">end</span>
+0026</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getbpmrawdata.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getbpmrawdata.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getbpmrawdata.html	(revision 17)
@@ -0,0 +1,516 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getbpmrawdata</title>
+  <meta name="keywords" content="getbpmrawdata">
+  <meta name="description" content="GETBPMRAWDATA - Gets turn by turn data for  BPM">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; getbpmrawdata.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getbpmrawdata
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETBPMRAWDATA - Gets turn by turn data for  BPM</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = getbpmrawdata(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> GETBPMRAWDATA - Gets turn by turn data for  BPM
+
+  INPUTS
+  1. Device List bpm number (scalar or vector) list ([] means all valid BPM)
+
+  Optional input arguments
+  2. Optional display
+     'Display'   - Plot BPM data X,Z, Sum, Q 
+     'NoDisplay' - No plotting
+  3. 'NoArchive' - No file archive {Default}
+     'Archive'   - Save a dispersion data structure to \&lt;Directory.BPMData&gt;\&lt;DispArchiveFile&gt;&lt;Date&gt;&lt;Time&gt;.mat
+                   To change the filename, included the filename after the 'Archive', '' to browse
+                   Structure output  is forced
+  4. 'Struct'    - Return out as a structure
+  5. 'Freezing'  - Buffer freezing mechanism 
+     'NoFreezing'
+  6. 'Group'  - TAngo group mecanism 
+     'NoGroup'
+
+  OUTPUTS
+  structure output if 'Struct' precised
+  AM
+
+  vector output
+  1. X - Horizontal data
+  2. Z - Vertical data
+  3. Sum - Sum signal data
+  4. Q  - Quadrupole signal data
+  5. Va - electrode data
+  6. Vb - electrode data
+  7. Vc - electrode data
+  8. Vd - electrode data
+
+  EXAMPLES
+  1. Display BPM 18
+      getbpmrawdata(18)
+  2. Display all valid BPM and output data as a structure
+      getbpmrawdata([],'Struct');
+  3. Output all valid BPM data
+      [X Z Sum Q Va Vb Vc Vd] = getbpmrawdata([],'NoDisplay');
+  4. Archives BPM 17 and 18 w/o displaying
+     getbpmrawdata([17; 18],'Archive','NoDisplay');
+  5. Archives BPM 17 and 18 w/o displaying w/ buffer freezing mechanism
+     getbpmrawdata([17; 18],'Archive','NoDisplay','Freezing');
+  6. Idem via devicelist
+     getbpmrawdata([17 1; 18 1],'Archive','NoDisplay','Freezing');
+
+ See Also anabpmfirstturn</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getbpmrawdata.html" class="code" title="function varargout = getbpmrawdata(varargin)">getbpmrawdata</a>	GETBPMRAWDATA - Gets turn by turn data for  BPM</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getbpmrawdata.html" class="code" title="function varargout = getbpmrawdata(varargin)">getbpmrawdata</a>	GETBPMRAWDATA - Gets turn by turn data for  BPM</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = getbpmrawdata(varargin)</a>
+0002 <span class="comment">% GETBPMRAWDATA - Gets turn by turn data for  BPM</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. Device List bpm number (scalar or vector) list ([] means all valid BPM)</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  Optional input arguments</span>
+0008 <span class="comment">%  2. Optional display</span>
+0009 <span class="comment">%     'Display'   - Plot BPM data X,Z, Sum, Q</span>
+0010 <span class="comment">%     'NoDisplay' - No plotting</span>
+0011 <span class="comment">%  3. 'NoArchive' - No file archive {Default}</span>
+0012 <span class="comment">%     'Archive'   - Save a dispersion data structure to \&lt;Directory.BPMData&gt;\&lt;DispArchiveFile&gt;&lt;Date&gt;&lt;Time&gt;.mat</span>
+0013 <span class="comment">%                   To change the filename, included the filename after the 'Archive', '' to browse</span>
+0014 <span class="comment">%                   Structure output  is forced</span>
+0015 <span class="comment">%  4. 'Struct'    - Return out as a structure</span>
+0016 <span class="comment">%  5. 'Freezing'  - Buffer freezing mechanism</span>
+0017 <span class="comment">%     'NoFreezing'</span>
+0018 <span class="comment">%  6. 'Group'  - TAngo group mecanism</span>
+0019 <span class="comment">%     'NoGroup'</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  OUTPUTS</span>
+0022 <span class="comment">%  structure output if 'Struct' precised</span>
+0023 <span class="comment">%  AM</span>
+0024 <span class="comment">%</span>
+0025 <span class="comment">%  vector output</span>
+0026 <span class="comment">%  1. X - Horizontal data</span>
+0027 <span class="comment">%  2. Z - Vertical data</span>
+0028 <span class="comment">%  3. Sum - Sum signal data</span>
+0029 <span class="comment">%  4. Q  - Quadrupole signal data</span>
+0030 <span class="comment">%  5. Va - electrode data</span>
+0031 <span class="comment">%  6. Vb - electrode data</span>
+0032 <span class="comment">%  7. Vc - electrode data</span>
+0033 <span class="comment">%  8. Vd - electrode data</span>
+0034 <span class="comment">%</span>
+0035 <span class="comment">%  EXAMPLES</span>
+0036 <span class="comment">%  1. Display BPM 18</span>
+0037 <span class="comment">%      getbpmrawdata(18)</span>
+0038 <span class="comment">%  2. Display all valid BPM and output data as a structure</span>
+0039 <span class="comment">%      getbpmrawdata([],'Struct');</span>
+0040 <span class="comment">%  3. Output all valid BPM data</span>
+0041 <span class="comment">%      [X Z Sum Q Va Vb Vc Vd] = getbpmrawdata([],'NoDisplay');</span>
+0042 <span class="comment">%  4. Archives BPM 17 and 18 w/o displaying</span>
+0043 <span class="comment">%     getbpmrawdata([17; 18],'Archive','NoDisplay');</span>
+0044 <span class="comment">%  5. Archives BPM 17 and 18 w/o displaying w/ buffer freezing mechanism</span>
+0045 <span class="comment">%     getbpmrawdata([17; 18],'Archive','NoDisplay','Freezing');</span>
+0046 <span class="comment">%  6. Idem via devicelist</span>
+0047 <span class="comment">%     getbpmrawdata([17 1; 18 1],'Archive','NoDisplay','Freezing');</span>
+0048 <span class="comment">%</span>
+0049 <span class="comment">% See Also anabpmfirstturn</span>
+0050 
+0051 <span class="comment">%</span>
+0052 <span class="comment">% Written by Laurent S. Nadolski</span>
+0053 <span class="comment">% 17 mai 2006 : group added</span>
+0054 
+0055 <span class="comment">% TODO freezing mechanism</span>
+0056 OldLiberaFlag = 1; <span class="comment">% Booster version</span>
+0057 DisplayFlag   = 1;
+0058 ArchiveFlag   = 0;
+0059 StructureFlag = 0;
+0060 FreezingFlag  = 0;
+0061 GroupFlag     = 1;
+0062 FileName      = <span class="string">''</span>;
+0063 varargin2     = {};
+0064 
+0065 <span class="keyword">if</span> ~exist(<span class="string">'DeviceName'</span>,<span class="string">'var'</span>)
+0066     DeviceName = [];
+0067 <span class="keyword">end</span>
+0068 
+0069 <span class="keyword">for</span> i = length(varargin):-1:1
+0070     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0071         DisplayFlag = 1;
+0072         varargin2 = {varargin2{:} varargin{i}};
+0073         varargin(i) = [];
+0074     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0075         DisplayFlag = 0;
+0076         varargin2 = {varargin2{:} varargin{i}};
+0077         varargin(i) = [];
+0078     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Group'</span>)
+0079         GroupFlag = 1;
+0080         varargin(i) = [];
+0081     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoGroup'</span>)
+0082         GroupFlag = 0;
+0083         <span class="comment">% Marie-Agnes modification 23 mai 2006</span>
+0084         varargin2 = {varargin2{:} varargin{i}};
+0085         <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0086         varargin(i) = [];
+0087     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Archive'</span>)
+0088         ArchiveFlag = 1;
+0089         StructureFlag = 1;
+0090 <span class="comment">%        varargin2 = {varargin2{:} varargin{i}};</span>
+0091         varargin(i) = [];
+0092     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoArchive'</span>)
+0093         ArchiveFlag = 0;
+0094 <span class="comment">%        varargin2 = {varargin2{:} varargin{i}};</span>
+0095         varargin(i) = [];
+0096     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Struct'</span>)
+0097         StructureFlag = 1;
+0098         varargin2 = {varargin2{:} varargin{i}};
+0099         varargin(i) = [];
+0100     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Freezing'</span>)
+0101         FreezingFlag = 1;
+0102         varargin(i) = [];
+0103     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoFreezing'</span>)
+0104         FreezingFlag = 0;
+0105         varargin(i) = [];
+0106     <span class="keyword">end</span>
+0107 <span class="keyword">end</span>
+0108 
+0109 Machine = getfamilydata(<span class="string">'SubMachine'</span>);
+0110 
+0111 <span class="keyword">switch</span> Machine
+0112     <span class="keyword">case</span> <span class="string">'OldBooster'</span>  <span class="comment">% Modif Alex shuntant l'ancien mode BPM booster 28-08-06</span>
+0113         OldLiberaFlag = 1;
+0114     <span class="keyword">otherwise</span>
+0115         OldLiberaFlag = 0;
+0116 <span class="keyword">end</span>
+0117 
+0118 AO = getfamilydata(<span class="string">'BPMx'</span>);
+0119 <span class="comment">% if empty select all valid BPM</span>
+0120 
+0121 <span class="keyword">if</span> isempty(varargin)
+0122     num = 1:length(AO.DeviceName);
+0123     DeviceList = family2dev(<span class="string">'BPMx'</span>);
+0124 <span class="keyword">else</span>
+0125     DeviceList = varargin{1};
+0126     <span class="keyword">if</span> size(DeviceList,2) == 2 <span class="comment">% DeviceList</span>
+0127         <span class="comment">%%</span>
+0128     <span class="keyword">else</span> <span class="comment">%% Element list</span>
+0129         DeviceList = elem2dev(<span class="string">'BPMx'</span>,DeviceList);
+0130     <span class="keyword">end</span>    
+0131 <span class="keyword">end</span>
+0132 
+0133 <span class="comment">% Status one devices</span>
+0134 Status     = family2status(<span class="string">'BPMx'</span>,DeviceList);
+0135 DeviceList = DeviceList(find(Status),:);
+0136 
+0137 <span class="keyword">if</span> isempty(DeviceList)
+0138     disp(<span class="string">'All BPM not valid'</span>)
+0139     AM = -1;
+0140     <span class="keyword">return</span>;
+0141 <span class="keyword">end</span>
+0142 
+0143 <span class="comment">%</span>
+0144 <span class="comment">% % read BPM number of samples</span>
+0145 <span class="comment">% % If all not the same stop program and ask action to user</span>
+0146 <span class="comment">% for k = 1:length(num)</span>
+0147 <span class="comment">%     modestr{k} = char(readattribute([AO.DeviceName{num(k)} '/Mode']));</span>
+0148 <span class="comment">% end</span>
+0149 <span class="comment">%</span>
+0150 <span class="comment">% for k = 1:length(num)</span>
+0151 <span class="comment">%     sampleNumber(k) = readattribute([AO.DeviceName{num(k)} '/NumSamples']);</span>
+0152 <span class="comment">% end</span>
+0153 <span class="comment">%</span>
+0154 <span class="comment">% notTheSame = sampleNumber-sampleNumber(1);</span>
+0155 <span class="comment">%</span>
+0156 <span class="comment">% if ~all(strcmp(modestr,modestr{1}))</span>
+0157 <span class="comment">%    disp([mfilename ' STOP!']);</span>
+0158 <span class="comment">%    error('Not all BPM in the same mode')</span>
+0159 <span class="comment">%    return;</span>
+0160 <span class="comment">% end</span>
+0161 <span class="comment">%</span>
+0162 <span class="comment">% if (sum(notTheSame) ~= 0)</span>
+0163 <span class="comment">%    disp([mfilename ' STOP!']);</span>
+0164 <span class="comment">%    error('Not all BPM with the same number of samples')</span>
+0165 <span class="comment">%    return;</span>
+0166 <span class="comment">% end</span>
+0167 
+0168 <span class="comment">%% Buffer freezing</span>
+0169 <span class="comment">% Enable freezing mechanism</span>
+0170 
+0171 <span class="keyword">if</span> (FreezingFlag)
+0172 
+0173     <span class="keyword">if</span> OldLiberaFlag
+0174         Enablecmd   = <span class="string">'EnableBufferFreezing'</span>;
+0175         UnFreezecmd = <span class="string">'UnFreezeBuffer'</span>
+0176     <span class="keyword">else</span>
+0177         Enablecmd   = <span class="string">'EnableDDBufferFreezing'</span>;
+0178         UnFreezecmd = <span class="string">'UnFreezeDDBuffer'</span>;
+0179     <span class="keyword">end</span>
+0180 
+0181     <span class="comment">%     hh = warndlg('BPMmanager must be stop and BPM mode be FT or TT');</span>
+0182     <span class="comment">%     uiwait(hh);</span>
+0183     disp([mfilename <span class="string">': Enabling freezing mecanism'</span>]);
+0184     <span class="keyword">for</span> k = 1:length(DeviceList)
+0185         tango_command_inout2(DeviceName{k},Enablecmd);
+0186     <span class="keyword">end</span>
+0187     disp([mfilename <span class="string">': Freezing BPM: pseudo synchronism'</span>]);
+0188     <span class="keyword">for</span> k = 1:length(DeviceList)
+0189         tango_command_inout2(DeviceName{k},UnFreezecmd);
+0190     <span class="keyword">end</span>
+0191 <span class="keyword">end</span>
+0192 
+0193 <span class="keyword">if</span> GroupFlag
+0194     <span class="keyword">if</span> OldLiberaFlag
+0195         attr_name = <span class="keyword">...</span>
+0196             {<span class="string">'XPosVector'</span>,<span class="string">'ZPosVector'</span>, <span class="string">'QuadVector'</span>, <span class="string">'SumVector'</span>, <span class="keyword">...</span>
+0197             <span class="string">'VaVector'</span>, <span class="string">'VbVector'</span>, <span class="string">'VcVector'</span>, <span class="string">'VdVector'</span>};
+0198     <span class="keyword">else</span>
+0199         attr_name = <span class="keyword">...</span>
+0200             {<span class="string">'XPosDD'</span>,<span class="string">'ZPosDD'</span>, <span class="string">'QuadDD'</span>, <span class="string">'SumDD'</span>, <span class="keyword">...</span>
+0201             <span class="string">'VaDD'</span>, <span class="string">'VbDD'</span>, <span class="string">'VcDD'</span>, <span class="string">'VdDD'</span>};
+0202     <span class="keyword">end</span>
+0203 
+0204     GroupId = tango_group_id(<span class="string">'BPM'</span>);
+0205 
+0206     DeviceListFull = family2dev(<span class="string">'BPMx'</span>,0);
+0207     tango_group_disable_device2(GroupId, dev2tangodev(<span class="string">'BPMx'</span>,DeviceListFull));
+0208     tango_group_enable_device2(GroupId, dev2tangodev(<span class="string">'BPMx'</span>,DeviceList));
+0209     rep = tango_group_read_attributes(GroupId,attr_name,0);
+0210     
+0211     <span class="keyword">if</span> rep.has_failed
+0212         disp(<span class="string">'Error when reading data for BPM'</span>);
+0213         <span class="keyword">for</span> k = 1:length(rep.dev_replies),
+0214             <span class="keyword">if</span> rep.dev_replies(k).has_failed
+0215                 fprintf(<span class="string">'Error with device %s\n'</span>,rep.dev_replies(k).dev_name)
+0216             <span class="keyword">end</span>
+0217         <span class="keyword">end</span>        
+0218         error(<span class="string">'Programme %s Stopped'</span>, mfilename);
+0219     <span class="keyword">else</span>
+0220         vect = [];
+0221         <span class="keyword">for</span> k = 1:length(rep.dev_replies),
+0222             <span class="comment">% modification Marie-Agnes 23 mai 2006 c'est moche bien sur</span>
+0223             vect = [vect ; rep.dev_replies(k).is_enabled];
+0224             
+0225             <span class="keyword">if</span> rep.dev_replies(k).is_enabled
+0226                 <span class="comment">%rep.dev_replies(k).attr_values(1).dev_name;</span>
+0227                 AM.DeviceName{k} = rep.dev_replies(k).attr_values(1).dev_name; 
+0228                 AM.Data.X(k,:)   = rep.dev_replies(k).attr_values(1).value;
+0229                 AM.Data.Z(k,:)   = rep.dev_replies(k).attr_values(2).value;
+0230                 AM.Data.Q(k,:)   = rep.dev_replies(k).attr_values(3).value;
+0231                 AM.Data.Sum(k,:) = rep.dev_replies(k).attr_values(4).value;
+0232                 AM.Data.Va(k,:)  = rep.dev_replies(k).attr_values(5).value;
+0233                 AM.Data.Vb(k,:)  = rep.dev_replies(k).attr_values(6).value;
+0234                 AM.Data.Vc(k,:)  = rep.dev_replies(k).attr_values(7).value;
+0235                 AM.Data.Vd(k,:)  = rep.dev_replies(k).attr_values(8).value;
+0236                 <span class="comment">%%%%%%%%%%% modification</span>
+0237                 klast = k;
+0238                 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%</span>
+0239             <span class="keyword">end</span>                
+0240         <span class="keyword">end</span>
+0241         <span class="comment">% modification</span>
+0242         vect = vect(1:klast);
+0243         AM.DeviceName(find(1 - vect)) = [];
+0244         AM.Data.X = AM.Data.X(find(vect),:);
+0245         AM.Data.Z = AM.Data.Z(find(vect),:);
+0246         AM.Data.Q = AM.Data.Q(find(vect),:);
+0247         AM.Data.Sum = AM.Data.Sum(find(vect),:);
+0248         AM.Data.Va = AM.Data.Va(find(vect),:);
+0249         AM.Data.Vb = AM.Data.Vb(find(vect),:);
+0250         AM.Data.Vc = AM.Data.Vc(find(vect),:);
+0251         AM.Data.Vd = AM.Data.Vd(find(vect),:);
+0252         <span class="comment">%%%%%%%%%%%%%%</span>
+0253         AM.TimeStamp = datestr(now);
+0254         AM.DataDescriptor = [<span class="string">'Turn by turn data for '</span> getsubmachinename];
+0255         AM.CreatedBy = mfilename;
+0256         AM.DeviceList = DeviceList;
+0257     <span class="keyword">end</span>
+0258 <span class="keyword">else</span>
+0259     <span class="comment">%% loop of bpm list</span>
+0260     <span class="keyword">if</span> size(DeviceList,1) &gt; 1
+0261         AM.DeviceList=[];
+0262         <span class="keyword">for</span> k = 1:length(DeviceList)
+0263 
+0264             AM0 = <a href="getbpmrawdata.html" class="code" title="function varargout = getbpmrawdata(varargin)">getbpmrawdata</a>(DeviceList(k,:),varargin2{:},<span class="string">'Struct'</span>);
+0265             <span class="keyword">try</span>
+0266                 AM.DeviceName{k} = AM0.DeviceName{:};
+0267                 AM.Data.X(k,:) = AM0.Data.X(:); AM.Data.Z(k,:) = AM0.Data.Z(:);
+0268                 AM.Data.Sum(k,:) = AM0.Data.Sum(:); AM.Data.Q(k,:) = AM0.Data.Q(:);
+0269                 AM.Data.Va(k,:) = AM0.Data.Va(:); AM.Data.Vb(k,:) = AM0.Data.Vb(:);
+0270                 AM.Data.Vc(k,:) = AM0.Data.Vc(:); AM.Data.Vd(k,:) = AM0.Data.Vd(:);
+0271                 AM.TimeStamp = datestr(now);
+0272                 AM.DataDescriptor = [<span class="string">'Turn by turn data for '</span> getsubmachinenames];
+0273                 AM.CreatedBy = mfilename;
+0274                 AM.DeviceList = [AM.DeviceList; AM0.DeviceList];
+0275             <span class="keyword">catch</span>
+0276                 <span class="keyword">switch</span> lasterr
+0277                     <span class="keyword">case</span> <span class="string">'Subscripted assignment dimension mismatch.'</span>
+0278                         error(<span class="string">'BPM do not have the same number of samples !!!'</span>)
+0279                 <span class="keyword">end</span>
+0280             <span class="keyword">end</span>
+0281         <span class="keyword">end</span>
+0282 
+0283         <span class="keyword">if</span> (FreezingFlag)
+0284 
+0285             <span class="comment">% Disable freezing mechanism</span>
+0286             <span class="keyword">if</span> OldLiberaFlag
+0287                 Disablecmd = <span class="string">'DisableBufferFreezing'</span>;
+0288             <span class="keyword">else</span>
+0289                 Disablecmd = <span class="string">'DisableDDBufferFreezing'</span>;
+0290             <span class="keyword">end</span>
+0291 
+0292             disp([mfilename <span class="string">': disabling buffer freezing for BPM'</span>])
+0293             <span class="keyword">for</span> k = 1:length(DeviceList)
+0294                 tango_command_inout2(DeviceName{k}, Disablecmd);
+0295             <span class="keyword">end</span>
+0296         <span class="keyword">end</span>
+0297 
+0298     <span class="keyword">else</span>
+0299         <span class="comment">%% Loop for one BPM</span>
+0300         AO = getfamilydata(<span class="string">'BPMx'</span>);
+0301         DeviceName = family2tangodev(<span class="string">'BPMx'</span>,DeviceList);
+0302 
+0303         <span class="keyword">if</span> OldLiberaFlag
+0304             attr_name = <span class="keyword">...</span>
+0305                 {<span class="string">'XPosVector'</span>,<span class="string">'ZPosVector'</span>, <span class="string">'QuadVector'</span>, <span class="string">'SumVector'</span>, <span class="keyword">...</span>
+0306                 <span class="string">'VaVector'</span>, <span class="string">'VbVector'</span>, <span class="string">'VcVector'</span>, <span class="string">'VdVector'</span>};
+0307         <span class="keyword">else</span>
+0308             attr_name = <span class="keyword">...</span>
+0309                 {<span class="string">'XPosDD'</span>,<span class="string">'ZPosDD'</span>, <span class="string">'QuadDD'</span>, <span class="string">'SumDD'</span>, <span class="keyword">...</span>
+0310                 <span class="string">'VaDD'</span>, <span class="string">'VbDD'</span>, <span class="string">'VcDD'</span>, <span class="string">'VdDD'</span>};
+0311         <span class="keyword">end</span>
+0312 
+0313 
+0314 
+0315         rep = tango_read_attributes2(DeviceName{:},attr_name);
+0316 
+0317         X   = rep(1).value;
+0318         Z   = rep(2).value;
+0319         Q   = rep(3).value;
+0320         Sum = rep(4).value;
+0321         Va  = rep(5).value;
+0322         Vb  = rep(6).value;
+0323         Vc  = rep(7).value;
+0324         Vd  = rep(8).value;
+0325 
+0326         <span class="comment">%% Display part</span>
+0327 
+0328         <span class="keyword">if</span> DisplayFlag
+0329             figure
+0330             subplot(2,2,1)
+0331             plot(X)
+0332             ylabel(<span class="string">'X (mm)'</span>)
+0333             grid on
+0334 
+0335             subplot(2,2,2)
+0336             plot(Z)
+0337             ylabel(<span class="string">'Z (mm)'</span>)
+0338             grid on
+0339 
+0340             subplot(2,2,3)
+0341             plot(Sum)
+0342             ylabel(<span class="string">'SUM'</span>)
+0343             xlabel(<span class="string">'turn number'</span>)
+0344             grid on
+0345 
+0346             subplot(2,2,4)
+0347             plot(Q)
+0348             ylabel(<span class="string">'Q'</span>)
+0349             xlabel(<span class="string">'turn number'</span>)
+0350             grid on
+0351             addlabel(1,0,datestr(clock));
+0352             suptitle(sprintf(<span class="string">'Turn by turn data for %s'</span>,DeviceName{:}))
+0353         <span class="keyword">end</span>
+0354 
+0355         <span class="keyword">if</span> StructureFlag
+0356             AM.DeviceName = DeviceName;
+0357             AM.Data.X   = X;
+0358             AM.Data.Z   = Z;
+0359             AM.Data.Sum = Sum;
+0360             AM.Data.Q   = Q;
+0361             AM.Data.Va  = Va;
+0362             AM.Data.Vb  = Vb;
+0363             AM.Data.Vc  = Vc;
+0364             AM.Data.Vd  = Vd;
+0365             <span class="comment">%time stamp of recording</span>
+0366             AM.TimeStamp = datestr(now);
+0367             AM.DataDescriptor = [<span class="string">'Turn by turn data for '</span> getfamilydata(<span class="string">'Machine'</span>)];
+0368             AM.CreatedBy  = mfilename;
+0369             AM.DeviceList = DeviceList;
+0370         <span class="keyword">end</span>
+0371     <span class="keyword">end</span>
+0372 <span class="keyword">end</span>
+0373 <span class="keyword">if</span> ArchiveFlag
+0374     <span class="comment">% filling up data</span>
+0375     <span class="comment">% Archive data structure</span>
+0376     <span class="keyword">if</span> isempty(FileName)
+0377         FileName = appendtimestamp(<span class="string">'BPMTurnByTurn'</span>);
+0378         DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'BPMData'</span>);
+0379         <span class="keyword">if</span> isempty(DirectoryName)
+0380             DirectoryName = [getfamilydata(<span class="string">'Directory'</span>,<span class="string">'DataRoot'</span>) <span class="string">'BPM'</span>, filesep];
+0381         <span class="keyword">else</span>
+0382             <span class="comment">% Make sure default directory exists</span>
+0383             DirStart = pwd;
+0384             [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+0385             cd(DirStart);
+0386         <span class="keyword">end</span>
+0387         [DirectoryName FileName]
+0388         [FileName, DirectoryName] = uiputfile(<span class="string">'*.mat'</span>, <span class="string">'Select Dispersion File'</span>, [DirectoryName FileName]);
+0389         <span class="keyword">if</span> FileName == 0
+0390             ArchiveFlag = 0;
+0391             disp(<span class="string">'   BPM measurement canceled.'</span>);
+0392             FileName=<span class="string">''</span>;
+0393             <span class="keyword">return</span>
+0394         <span class="keyword">end</span>
+0395         FileName = [DirectoryName, FileName];
+0396     <span class="keyword">elseif</span> FileName == -1
+0397         FileName = appendtimestamp(getfamilydata(<span class="string">'Default'</span>, <span class="string">'BPMArchiveFile'</span>));
+0398         DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'BPMData'</span>);
+0399         <span class="keyword">if</span> isempty(DirectoryName)
+0400             DirectoryName = [getfamilydata(<span class="string">'Directory'</span>,<span class="string">'DataRoot'</span>) <span class="string">'BPM'</span>, filesep];
+0401         <span class="keyword">end</span>
+0402         FileName = [DirectoryName, FileName];
+0403     <span class="keyword">end</span>
+0404 
+0405     save(FileName,<span class="string">'AM'</span>);
+0406 
+0407 <span class="keyword">end</span>
+0408 
+0409 <span class="keyword">if</span> StructureFlag
+0410     varargout{1} = AM;
+0411 <span class="keyword">else</span>
+0412     <span class="keyword">if</span> exist(<span class="string">'AM'</span>,<span class="string">'var'</span>) <span class="comment">% not nice but it works</span>
+0413         varargout{1} = AM.Data.X;   varargout{2}  =  AM.Data.Z;
+0414         varargout{3} = AM.Data.Sum; varargout{4}  =  AM.Data.Q;
+0415         varargout{5} = AM.Data.Va;  varargout{6}  =  AM.Data.Vb;
+0416         varargout{7} = AM.Data.Vc;  varargout{8}  =  AM.Data.Vd;
+0417     <span class="keyword">else</span>
+0418         varargout{1} = X;   varargout{2} =   Z;
+0419         varargout{3} = Sum; varargout{4} =  Q;
+0420         varargout{5} = Va;  varargout{6} =  Vb;
+0421         varargout{7} = Vc;  varargout{8} =  Vd;
+0422     <span class="keyword">end</span>
+0423 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getfamilytype.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getfamilytype.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getfamilytype.html	(revision 17)
@@ -0,0 +1,110 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getfamilytype</title>
+  <meta name="keywords" content="getfamilytype">
+  <meta name="description" content="GETFAMILYTYPE - Returns the family type (string matrix)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; getfamilytype.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getfamilytype
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETFAMILYTYPE - Returns the family type (string matrix)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function  [FamilyType, FamilyName] = getfamilytype(FamilyName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">GETFAMILYTYPE - Returns the family type (string matrix)
+  FamilyType = getfamilytype(FamilyName)
+ 
+  If FamilyName is a matrix, then a matrix of family types is returned.
+  If the family was not found, then [] is returned
+
+  NOTE
+  1. If no input, then the all families will be returned
+     [FamilyType, FamilyName] = getfamilytype;
+
+  See also isfamily, getfamilylist, findmemberof</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="listfonction.html" class="code" title="">listfonction</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function  [FamilyType, FamilyName] = getfamilytype(FamilyName)</a>
+0002 <span class="comment">%GETFAMILYTYPE - Returns the family type (string matrix)</span>
+0003 <span class="comment">%  FamilyType = getfamilytype(FamilyName)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  If FamilyName is a matrix, then a matrix of family types is returned.</span>
+0006 <span class="comment">%  If the family was not found, then [] is returned</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  NOTE</span>
+0009 <span class="comment">%  1. If no input, then the all families will be returned</span>
+0010 <span class="comment">%     [FamilyType, FamilyName] = getfamilytype;</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  See also isfamily, getfamilylist, findmemberof</span>
+0013 
+0014 <span class="comment">%</span>
+0015 <span class="comment">%  Written by Gregory J. Portmann</span>
+0016 
+0017 
+0018 AO = getao;
+0019 
+0020 <span class="keyword">if</span> nargin &lt; 1
+0021     FamilyName = getfamilylist;
+0022     AOFamilyCell = fieldnames(AO);
+0023 <span class="keyword">else</span>
+0024     <span class="keyword">if</span> isstruct(FamilyName)
+0025         FamilyName = FamilyName.FamilyName;
+0026     <span class="keyword">end</span>
+0027     AOFamilyCell = {FamilyName};
+0028 <span class="keyword">end</span>
+0029 
+0030 <span class="keyword">if</span> isempty(AO)
+0031     error(<span class="string">'Initialization is needed (aoinit)'</span>);
+0032 <span class="keyword">end</span>
+0033 
+0034 FamilyType = [];
+0035 <span class="keyword">for</span> i = 1:size(FamilyName,1)    
+0036     <span class="keyword">if</span> isfield(AO,deblank(FamilyName(i,:)))
+0037         FamilyType = strvcat(FamilyType, AO.(AOFamilyCell{i}).FamilyType);
+0038     <span class="keyword">else</span>
+0039         FamilyType = strvcat(FamilyType, <span class="string">' '</span>);
+0040     <span class="keyword">end</span>
+0041 <span class="keyword">end</span>
+0042 
+0043 <span class="keyword">if</span> nargout == 0
+0044     <span class="comment">% Print to the screen</span>
+0045     BlankSpaces = <span class="string">' '</span>;
+0046     <span class="keyword">if</span> length(FamilyName(1,:)) &gt; 3
+0047         BlankSpaces(1:length(FamilyName(1,:))-2) = <span class="string">' '</span>;
+0048     <span class="keyword">end</span>
+0049     fprintf(<span class="string">'   #   Name%sType\n'</span>, BlankSpaces);
+0050     <span class="keyword">for</span> i = 1:size(FamilyType,1)
+0051         fprintf(<span class="string">'  %2d.  %s  %s\n'</span>, i, FamilyName(i,:), FamilyType(i,:));
+0052     <span class="keyword">end</span>
+0053 <span class="keyword">end</span>
+0054</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getmaxsp.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getmaxsp.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getmaxsp.html	(revision 17)
@@ -0,0 +1,215 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getmaxsp</title>
+  <meta name="keywords" content="getmaxsp">
+  <meta name="description" content="GETMAXSP - Maximum value of the setpoint">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; getmaxsp.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getmaxsp
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETMAXSP - Maximum value of the setpoint</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function S = getmaxsp(Family, DeviceList) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">GETMAXSP - Maximum value of the setpoint
+
+  FamilyName/DeviceList Method
+  SPmax = getmaxsp(Family, DeviceList)
+  SPmax = getmaxsp(DataStructure)
+
+  ChannelName Method
+  SPmax = getmaxsp(ChannelNames)
+
+  CommonName Method
+  SPmax = getmaxsp(Family, CommonName)
+
+  INPUTS
+  1. Family = Family Name 
+              Data Structure
+              Accelerator Object
+              Cell Array of Accelerator Objects or Family Names
+              For CommonNames, Family=[] searches all families
+     ChannelName = Channel access channel name
+                   Matrix of channel names
+                   Cell array of channel names
+     CommonName = Common name
+                  Matrix of common names
+                  Cell array of common names
+  2. DeviceList = [Sector Device #] or [element #] list {default or empty list: whole family}
+                   Cell Array of DeviceList
+
+  OUTPUTS
+  1. SPmax = Maximum setpoint of the device
+             Empty if not found
+
+  See also <a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>, getfamilydata(Family, Field, 'Range')</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>	GETMAXSP - Maximum value of the setpoint</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>	GETMAXSP - Maximum value of the setpoint</li><li><a href="optics_LT1_LT2.html" class="code" title="function varargout = optics_LT1_LT2(varargin)">optics_LT1_LT2</a>	OPTICS_LT1_LT2 - M-file for optics_LT1_LT2.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function S = getmaxsp(Family, DeviceList)</a>
+0002 <span class="comment">%GETMAXSP - Maximum value of the setpoint</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  FamilyName/DeviceList Method</span>
+0005 <span class="comment">%  SPmax = getmaxsp(Family, DeviceList)</span>
+0006 <span class="comment">%  SPmax = getmaxsp(DataStructure)</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  ChannelName Method</span>
+0009 <span class="comment">%  SPmax = getmaxsp(ChannelNames)</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  CommonName Method</span>
+0012 <span class="comment">%  SPmax = getmaxsp(Family, CommonName)</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%  INPUTS</span>
+0015 <span class="comment">%  1. Family = Family Name</span>
+0016 <span class="comment">%              Data Structure</span>
+0017 <span class="comment">%              Accelerator Object</span>
+0018 <span class="comment">%              Cell Array of Accelerator Objects or Family Names</span>
+0019 <span class="comment">%              For CommonNames, Family=[] searches all families</span>
+0020 <span class="comment">%     ChannelName = Channel access channel name</span>
+0021 <span class="comment">%                   Matrix of channel names</span>
+0022 <span class="comment">%                   Cell array of channel names</span>
+0023 <span class="comment">%     CommonName = Common name</span>
+0024 <span class="comment">%                  Matrix of common names</span>
+0025 <span class="comment">%                  Cell array of common names</span>
+0026 <span class="comment">%  2. DeviceList = [Sector Device #] or [element #] list {default or empty list: whole family}</span>
+0027 <span class="comment">%                   Cell Array of DeviceList</span>
+0028 <span class="comment">%</span>
+0029 <span class="comment">%  OUTPUTS</span>
+0030 <span class="comment">%  1. SPmax = Maximum setpoint of the device</span>
+0031 <span class="comment">%             Empty if not found</span>
+0032 <span class="comment">%</span>
+0033 <span class="comment">%  See also getminsp, getfamilydata(Family, Field, 'Range')</span>
+0034 
+0035 <span class="comment">%</span>
+0036 <span class="comment">% Written by Gregory J. Portmann</span>
+0037 <span class="comment">% Modified by Laurent S. Nadolski</span>
+0038 
+0039 S = [];
+0040 
+0041 <span class="keyword">if</span> nargin == 0
+0042     error(<span class="string">'At least one input required'</span>);
+0043 <span class="keyword">end</span>
+0044 
+0045 <span class="keyword">if</span> iscell(Family)
+0046     <span class="keyword">if</span> nargin &gt;= 2
+0047         <span class="keyword">if</span> ~iscell(DeviceList)
+0048             error(<span class="string">'If Family is a cell array, then DeviceList must be a cell array.'</span>);
+0049         <span class="keyword">end</span>
+0050         <span class="keyword">if</span> length(Family) ~= length(DeviceList)
+0051             error(<span class="string">'Family and DeviceList must be the same size cell arrays.'</span>);
+0052         <span class="keyword">end</span>
+0053     <span class="keyword">end</span>
+0054     
+0055     <span class="keyword">for</span> i = 1:length(Family)
+0056         <span class="keyword">if</span> nargin == 1
+0057             S{i} = <a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>(Family{i});
+0058         <span class="keyword">else</span>            
+0059             S{i} = <a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>(Family{i}, DeviceList{i});
+0060         <span class="keyword">end</span>
+0061     <span class="keyword">end</span>
+0062     <span class="keyword">return</span>    
+0063 <span class="keyword">end</span>
+0064 
+0065 <span class="keyword">if</span> isstruct(Family)
+0066     <span class="keyword">if</span> any(size(Family) &gt; 1)
+0067         error(<span class="string">'Only structures of size = [1 1] allowed'</span>)
+0068     <span class="keyword">end</span>                
+0069     <span class="keyword">if</span> isfield(Family,<span class="string">'FamilyName'</span>) &amp; isfield(Family,<span class="string">'Field'</span>)
+0070         <span class="comment">% Data structure</span>
+0071         S = getfamilydata(Family.FamilyName, Family.Field, <span class="string">'Range'</span>, Family.DeviceList); 
+0072         <span class="keyword">if</span> ~isempty(S)
+0073             S = S(:,2);
+0074         <span class="keyword">end</span>
+0075         <span class="keyword">return</span>
+0076     <span class="keyword">else</span>
+0077         <span class="comment">% AO structure</span>
+0078         <span class="keyword">if</span> nargin &lt; 2
+0079             S = Family.Setpoint.Range;
+0080         <span class="keyword">else</span>
+0081             <span class="keyword">if</span> size(DeviceList,2) == 1
+0082                 Index = findrowindex(DeviceList, ElementList);
+0083             <span class="keyword">else</span>
+0084                 Index = findrowindex(DeviceList, Family.DeviceList);
+0085             <span class="keyword">end</span>
+0086             S = Family.Setpoint.Range(Index,2);
+0087         <span class="keyword">end</span>
+0088     <span class="keyword">end</span>
+0089 <span class="keyword">end</span>
+0090 
+0091 
+0092 <span class="keyword">if</span> isempty(Family)
+0093     <span class="comment">% Common names with no family name</span>
+0094     <span class="keyword">if</span> nargin &lt; 2
+0095             error(<span class="string">'If Family=[], 2 inputs are required.'</span>);
+0096     <span class="keyword">end</span>
+0097     CommonNames = DeviceList;
+0098     <span class="keyword">for</span> i = 1:size(CommonNames,1)
+0099         Family = common2family(CommonNames(i,:));
+0100         [FamilyIndex, ACCELERATOR_OBJECT] = isfamily(Family);
+0101         DeviceList = common2dev(CommonNames(i,:), ACCELERATOR_OBJECT);
+0102         <span class="keyword">if</span> isempty(DeviceList) | isempty(DeviceList)
+0103             error(<span class="string">'Common name could not be converted to a Family and DeviceList.'</span>);
+0104         <span class="keyword">end</span>
+0105         S(i,:) = <a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>(Family, DeviceList);
+0106     <span class="keyword">end</span>
+0107     <span class="keyword">return</span>
+0108         
+0109 <span class="keyword">elseif</span> ~isfamily(Family(1,:))
+0110     <span class="comment">% Channel name method</span>
+0111     <span class="comment">% Try to convert to a family and device</span>
+0112     
+0113     ChannelNames = Family;
+0114     <span class="keyword">for</span> i = 1:size(ChannelNames,1)
+0115         Family = channel2family(ChannelNames(i,:));
+0116         [FamilyIndex, ACCELERATOR_OBJECT] = isfamily(Family);
+0117         DeviceList = channel2dev(ChannelNames(i,:), ACCELERATOR_OBJECT);
+0118         <span class="keyword">if</span> isempty(DeviceList) | isempty(DeviceList)
+0119             error(<span class="string">'Channel name could not be converted to a Family and DeviceList.'</span>);
+0120         <span class="keyword">end</span>
+0121         S(i,:) = <a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>(Family, DeviceList);
+0122     <span class="keyword">end</span>
+0123     <span class="keyword">return</span>
+0124 <span class="keyword">end</span>
+0125 
+0126 
+0127 <span class="keyword">if</span> nargin == 1
+0128     S = getfamilydata(Family, <span class="string">'Setpoint'</span>, <span class="string">'Range'</span>, []);
+0129 <span class="keyword">else</span>            
+0130     <span class="comment">% Convert common name to a DeviceList</span>
+0131     <span class="keyword">if</span> isstr(DeviceList)
+0132         DeviceList = common2dev(DeviceList, Family);
+0133     <span class="keyword">end</span>
+0134     S = getfamilydata(Family, <span class="string">'Setpoint'</span>, <span class="string">'Range'</span>, DeviceList);
+0135 <span class="keyword">end</span>
+0136 <span class="keyword">if</span> ~isempty(S)
+0137     S = S(:,2);
+0138 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getminsp.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getminsp.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/getminsp.html	(revision 17)
@@ -0,0 +1,214 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getminsp</title>
+  <meta name="keywords" content="getminsp">
+  <meta name="description" content="GETMINSP - Gets minimum value of the setpoint">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; getminsp.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>getminsp
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GETMINSP - Gets minimum value of the setpoint</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function S = getminsp(Family, DeviceList) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">GETMINSP - Gets minimum value of the setpoint
+
+  FamilyName/DeviceList Method
+  SPmin = getmaxsp(Family, DeviceList)
+  SPmin = getmaxsp(DataStructure)
+
+  ChannelName Method
+  SPmin = getmaxsp(ChannelNames)
+
+  CommonName Method
+  SPmin = getmaxsp(Family, CommonName)
+
+  INPUTS
+  1. Family = Family Name 
+              Data Structure
+              Accelerator Object
+              Cell Array of Accelerator Objects or Family Names
+              For CommonNames, Family=[] searches all families
+     ChannelName = Channel access channel name
+                   Matrix of channel names
+                   Cell array of channel names
+     CommonName = Common name
+                  Matrix of common names
+                  Cell array of common names
+  2. DeviceList = [Sector Device #] or [element #] list {default or empty list: whole family}
+                   Cell Array of DeviceList
+
+  OUTPUTS
+  1. SPmin = Minimum setpoint of the device
+             Empty if not found
+
+  See also <a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>, getfamilydata(Family, Field, 'Range')</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>	GETMINSP - Gets minimum value of the setpoint</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>	GETMINSP - Gets minimum value of the setpoint</li><li><a href="optics_LT1_LT2.html" class="code" title="function varargout = optics_LT1_LT2(varargin)">optics_LT1_LT2</a>	OPTICS_LT1_LT2 - M-file for optics_LT1_LT2.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function S = getminsp(Family, DeviceList)</a>
+0002 <span class="comment">%GETMINSP - Gets minimum value of the setpoint</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  FamilyName/DeviceList Method</span>
+0005 <span class="comment">%  SPmin = getmaxsp(Family, DeviceList)</span>
+0006 <span class="comment">%  SPmin = getmaxsp(DataStructure)</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  ChannelName Method</span>
+0009 <span class="comment">%  SPmin = getmaxsp(ChannelNames)</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  CommonName Method</span>
+0012 <span class="comment">%  SPmin = getmaxsp(Family, CommonName)</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%  INPUTS</span>
+0015 <span class="comment">%  1. Family = Family Name</span>
+0016 <span class="comment">%              Data Structure</span>
+0017 <span class="comment">%              Accelerator Object</span>
+0018 <span class="comment">%              Cell Array of Accelerator Objects or Family Names</span>
+0019 <span class="comment">%              For CommonNames, Family=[] searches all families</span>
+0020 <span class="comment">%     ChannelName = Channel access channel name</span>
+0021 <span class="comment">%                   Matrix of channel names</span>
+0022 <span class="comment">%                   Cell array of channel names</span>
+0023 <span class="comment">%     CommonName = Common name</span>
+0024 <span class="comment">%                  Matrix of common names</span>
+0025 <span class="comment">%                  Cell array of common names</span>
+0026 <span class="comment">%  2. DeviceList = [Sector Device #] or [element #] list {default or empty list: whole family}</span>
+0027 <span class="comment">%                   Cell Array of DeviceList</span>
+0028 <span class="comment">%</span>
+0029 <span class="comment">%  OUTPUTS</span>
+0030 <span class="comment">%  1. SPmin = Minimum setpoint of the device</span>
+0031 <span class="comment">%             Empty if not found</span>
+0032 <span class="comment">%</span>
+0033 <span class="comment">%  See also getmaxsp, getfamilydata(Family, Field, 'Range')</span>
+0034 
+0035 <span class="comment">%</span>
+0036 <span class="comment">% Written by Gregory J. Portmann</span>
+0037 <span class="comment">% Modified by Laurent S. Nadolski</span>
+0038 
+0039 S = [];
+0040 
+0041 <span class="keyword">if</span> nargin == 0
+0042     error(<span class="string">'At least one input required'</span>);
+0043 <span class="keyword">end</span>
+0044 
+0045 <span class="keyword">if</span> iscell(Family)
+0046     <span class="keyword">if</span> nargin &gt;= 2
+0047         <span class="keyword">if</span> ~iscell(DeviceList)
+0048             error(<span class="string">'If Family is a cell array, then DeviceList must be a cell array.'</span>);
+0049         <span class="keyword">end</span>
+0050         <span class="keyword">if</span> length(Family) ~= length(DeviceList)
+0051             error(<span class="string">'Family and DeviceList must be the same size cell arrays.'</span>);
+0052         <span class="keyword">end</span>
+0053     <span class="keyword">end</span>
+0054     
+0055     <span class="keyword">for</span> i = 1:length(Family)
+0056         <span class="keyword">if</span> nargin == 1
+0057             S{i} = <a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>(Family{i});
+0058         <span class="keyword">else</span>            
+0059             S{i} = <a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>(Family{i}, DeviceList{i});
+0060         <span class="keyword">end</span>
+0061     <span class="keyword">end</span>
+0062     <span class="keyword">return</span>    
+0063 <span class="keyword">end</span>
+0064 
+0065 <span class="keyword">if</span> isstruct(Family)
+0066     <span class="keyword">if</span> any(size(Family) &gt; 1)
+0067         error(<span class="string">'Only structures of size = [1 1] allowed'</span>)
+0068     <span class="keyword">end</span>                
+0069     <span class="keyword">if</span> isfield(Family,<span class="string">'FamilyName'</span>) &amp; isfield(Family,<span class="string">'Field'</span>)
+0070         <span class="comment">% Data structure</span>
+0071         S = getfamilydata(Family.FamilyName, Family.Field, <span class="string">'Range'</span>, Family.DeviceList); 
+0072         <span class="keyword">if</span> ~isempty(S)
+0073             S = S(:,1);
+0074         <span class="keyword">end</span>
+0075         <span class="keyword">return</span>
+0076     <span class="keyword">else</span>
+0077         <span class="comment">% AO structure</span>
+0078         <span class="keyword">if</span> nargin &lt; 2
+0079             S = Family.Setpoint.Range;
+0080         <span class="keyword">else</span>
+0081             <span class="keyword">if</span> size(DeviceList,2) == 1
+0082                 Index = findrowindex(DeviceList, ElementList);
+0083             <span class="keyword">else</span>
+0084                 Index = findrowindex(DeviceList, Family.DeviceList);
+0085             <span class="keyword">end</span>
+0086             S = Family.Setpoint.Range(Index,1);
+0087         <span class="keyword">end</span>
+0088     <span class="keyword">end</span>
+0089 <span class="keyword">end</span>
+0090 
+0091 <span class="keyword">if</span> isempty(Family)
+0092     <span class="comment">% Common names with no family name</span>
+0093     <span class="keyword">if</span> nargin &lt; 2
+0094         error(<span class="string">'If Family=[], 2 inputs are required.'</span>);
+0095     <span class="keyword">end</span>
+0096     CommonNames = DeviceList;
+0097     <span class="keyword">for</span> i = 1:size(CommonNames,1)
+0098         Family = common2family(CommonNames(i,:));
+0099         [FamilyIndex, ACCELERATOR_OBJECT] = isfamily(Family);
+0100         DeviceList = common2dev(CommonNames(i,:), ACCELERATOR_OBJECT);
+0101         <span class="keyword">if</span> isempty(DeviceList) | isempty(DeviceList)
+0102             error(<span class="string">'Common name could not be converted to a Family and DeviceList.'</span>);
+0103         <span class="keyword">end</span>
+0104         S(i,:) = <a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>(Family, DeviceList);
+0105     <span class="keyword">end</span>
+0106     <span class="keyword">return</span>
+0107     
+0108 <span class="keyword">elseif</span> ~isfamily(Family(1,:))
+0109     <span class="comment">% Channel name method</span>
+0110     <span class="comment">% Try to convert to a family and device</span>
+0111     
+0112     ChannelNames = Family;
+0113     <span class="keyword">for</span> i = 1:size(ChannelNames,1)
+0114         Family = channel2family(ChannelNames(i,:));
+0115         [FamilyIndex, ACCELERATOR_OBJECT] = isfamily(Family);
+0116         DeviceList = channel2dev(ChannelNames(i,:), ACCELERATOR_OBJECT);
+0117         <span class="keyword">if</span> isempty(DeviceList) | isempty(DeviceList)
+0118             error(<span class="string">'Channel name could not be converted to a Family and DeviceList.'</span>);
+0119         <span class="keyword">end</span>
+0120         S(i,:) = <a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>(Family, DeviceList);
+0121     <span class="keyword">end</span>
+0122     <span class="keyword">return</span>
+0123 <span class="keyword">end</span>
+0124 
+0125 
+0126 <span class="keyword">if</span> nargin == 1
+0127     S = getfamilydata(Family, <span class="string">'Setpoint'</span>, <span class="string">'Range'</span>, []);
+0128 <span class="keyword">else</span>            
+0129     <span class="comment">% Convert common name to a DeviceList</span>
+0130     <span class="keyword">if</span> isstr(DeviceList)
+0131         DeviceList = common2dev(DeviceList, Family);
+0132     <span class="keyword">end</span>
+0133     S = getfamilydata(Family, <span class="string">'Setpoint'</span>, <span class="string">'Range'</span>, DeviceList);
+0134 <span class="keyword">end</span>
+0135 <span class="keyword">if</span> ~isempty(S)
+0136     S = S(:,1);
+0137 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/gev2bend.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/gev2bend.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/gev2bend.html	(revision 17)
@@ -0,0 +1,302 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of gev2bend</title>
+  <meta name="keywords" content="gev2bend">
+  <meta name="description" content="GEV2BEND - Converts beam energy TO BEND current">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; gev2bend.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>gev2bend
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>GEV2BEND - Converts beam energy TO BEND current</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function Amps = gev2bend(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">GEV2BEND - Converts beam energy TO BEND current
+  Bend = gev2bend(Family, Field, GeV, DeviceList, BranchFlag)
+
+  INPUTS
+  1. Bend - Bend magnet family {Optional}
+  2. Field - Field {Optional}
+  3. GeV - Electron beam energy [GeV]
+  4. DeviceList - Bend magnet device list to reference energy to {Default: BEND(1,1)}
+  5. BranchFlag - 1 -&gt; Lower branch
+                  2 -&gt; Upper branch {Default}
+                  Not working at Spear yet
+  OUTPUTS
+  1. Amps = Bend magnet current [Amps]
+
+  ALGORITHM
+  I is the root of the polynom
+  BL = theta*BRHO
+  p = root(-theta*Brho  + c0 + c1*I + ... + cn*I^n)
+  I = root(p) closest to linear solution rlin
+  Linear solution is
+  rlin = (THETA*Brho - c0)/c1
+
+  See Also <a href="bend2gev.html" class="code" title="function [GeV B] = bend2gev(varargin)">bend2gev</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="listfonction.html" class="code" title="">listfonction</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Amps = gev2bend(varargin)</a>
+0002 <span class="comment">%GEV2BEND - Converts beam energy TO BEND current</span>
+0003 <span class="comment">%  Bend = gev2bend(Family, Field, GeV, DeviceList, BranchFlag)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. Bend - Bend magnet family {Optional}</span>
+0007 <span class="comment">%  2. Field - Field {Optional}</span>
+0008 <span class="comment">%  3. GeV - Electron beam energy [GeV]</span>
+0009 <span class="comment">%  4. DeviceList - Bend magnet device list to reference energy to {Default: BEND(1,1)}</span>
+0010 <span class="comment">%  5. BranchFlag - 1 -&gt; Lower branch</span>
+0011 <span class="comment">%                  2 -&gt; Upper branch {Default}</span>
+0012 <span class="comment">%                  Not working at Spear yet</span>
+0013 <span class="comment">%  OUTPUTS</span>
+0014 <span class="comment">%  1. Amps = Bend magnet current [Amps]</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">%  ALGORITHM</span>
+0017 <span class="comment">%  I is the root of the polynom</span>
+0018 <span class="comment">%  BL = theta*BRHO</span>
+0019 <span class="comment">%  p = root(-theta*Brho  + c0 + c1*I + ... + cn*I^n)</span>
+0020 <span class="comment">%  I = root(p) closest to linear solution rlin</span>
+0021 <span class="comment">%  Linear solution is</span>
+0022 <span class="comment">%  rlin = (THETA*Brho - c0)/c1</span>
+0023 <span class="comment">%</span>
+0024 <span class="comment">%  See Also bend2gev</span>
+0025 
+0026 <span class="comment">%</span>
+0027 <span class="comment">%  Written by Gregory J. Portmann</span>
+0028 <span class="comment">%  Modified by Laurent S. Nadolski</span>
+0029 
+0030 <span class="comment">%  Default</span>
+0031 Family = <span class="string">''</span>;
+0032 Field = <span class="string">''</span>;
+0033 GeV = [];
+0034 DeviceList = [];
+0035 BranchFlag = [];
+0036 ModeFlag = <span class="string">''</span>;  <span class="comment">% model, online, manual</span>
+0037 UnitsFlag = <span class="string">''</span>; <span class="comment">% hardware, physics</span>
+0038 <span class="keyword">for</span> i = length(varargin):-1:1
+0039     <span class="keyword">if</span> isstruct(varargin{i})
+0040         <span class="comment">% Ignore structures</span>
+0041     <span class="keyword">elseif</span> iscell(varargin{i})
+0042         <span class="comment">% Ignore cells</span>
+0043     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Struct'</span>)
+0044         varargin(i) = [];
+0045     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Numeric'</span>)
+0046         varargin(i) = [];
+0047     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Physics'</span>)
+0048         UnitsFlag = varargin{i};
+0049         varargin(i) = [];
+0050     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Hardware'</span>)
+0051         UnitsFlag = varargin{i};
+0052         varargin(i) = [];
+0053     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Simulator'</span>) || strcmpi(varargin{i},<span class="string">'Model'</span>)
+0054         ModeFlag = varargin{i};
+0055         varargin(i) = [];
+0056     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Online'</span>)
+0057         ModeFlag = varargin{i};
+0058         varargin(i) = [];
+0059     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Manual'</span>)
+0060         ModeFlag = varargin{i};
+0061         varargin(i) = [];
+0062     <span class="keyword">end</span>        
+0063 <span class="keyword">end</span>
+0064 
+0065 <span class="keyword">if</span> length(varargin) &gt;= 1
+0066     <span class="keyword">if</span> ischar(varargin{1})
+0067         Family = varargin{1};
+0068         varargin(1) = [];
+0069     <span class="keyword">else</span>
+0070         GeV = varargin{1};
+0071         varargin(1) = [];
+0072         <span class="keyword">if</span> length(varargin) &gt;= 1
+0073             DeviceList = varargin{1};
+0074             varargin(1) = [];
+0075         <span class="keyword">end</span>
+0076         <span class="keyword">if</span> length(varargin) &gt;= 1
+0077             BranchFlag = varargin{1};
+0078             varargin(1:end) = [];
+0079         <span class="keyword">end</span>
+0080     <span class="keyword">end</span>
+0081 <span class="keyword">end</span>
+0082 <span class="keyword">if</span> length(varargin) &gt;= 1 &amp; ischar(varargin{1})
+0083     Field = varargin{1};
+0084     varargin(1) = [];
+0085 <span class="keyword">end</span>
+0086 <span class="keyword">if</span> length(varargin) &gt;= 1
+0087     GeV = varargin{1};
+0088     varargin(1) = [];
+0089 <span class="keyword">end</span>
+0090 <span class="keyword">if</span> length(varargin) &gt;= 1
+0091     DeviceList = varargin{1};
+0092     varargin(1) = [];
+0093 <span class="keyword">end</span>
+0094 <span class="keyword">if</span> length(varargin) &gt;= 1
+0095     BranchFlag = varargin{1};
+0096     varargin(1) = [];
+0097 <span class="keyword">end</span>
+0098 
+0099 
+0100 <span class="keyword">if</span> isempty(Family)
+0101     Family = <span class="string">'BEND'</span>;
+0102 <span class="keyword">end</span>
+0103 <span class="keyword">if</span> isempty(Field)
+0104     Field = <span class="string">'Setpoint'</span>;
+0105 <span class="keyword">end</span>
+0106 
+0107 <span class="keyword">if</span> isempty(UnitsFlag)
+0108     UnitsFlag = getunits(Family);
+0109 <span class="keyword">end</span>
+0110 
+0111 <span class="keyword">if</span> isempty(GeV)
+0112     <span class="keyword">if</span> isempty(ModeFlag)
+0113         ModeFlag = getmode(Family);
+0114     <span class="keyword">end</span>
+0115     <span class="keyword">if</span> strcmpi(ModeFlag,<span class="string">'Simulator'</span>) || strcmpi(ModeFlag,<span class="string">'model'</span>)
+0116         GeV = getenergymodel;
+0117     <span class="keyword">else</span>
+0118         error(<span class="string">'GeV input required'</span>);
+0119     <span class="keyword">end</span>
+0120 <span class="keyword">end</span>
+0121 
+0122 <span class="keyword">if</span> isempty(DeviceList)
+0123     DeviceList = family2dev(Family);
+0124     <span class="keyword">if</span> all(size(GeV)==[1 1])
+0125         DeviceList = DeviceList(1,:);
+0126     <span class="keyword">end</span>
+0127 <span class="keyword">end</span>
+0128 <span class="keyword">if</span> isempty(BranchFlag)
+0129     <span class="comment">% Default is upper branch</span>
+0130     BranchFlag = 2;
+0131 <span class="keyword">end</span>
+0132 
+0133 <span class="comment">% End of input checking</span>
+0134 <span class="comment">% Machine dependant stuff below</span>
+0135 
+0136 <span class="keyword">for</span> ii = 1:size(DeviceList,1)
+0137     <span class="keyword">if</span> length(GeV) == 1
+0138         GeV1 = GeV;
+0139     <span class="keyword">else</span>
+0140         GeV1 = GeV(ii);
+0141     <span class="keyword">end</span>
+0142 
+0143        [C, Leff, MagnetType, A] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(<span class="string">'BEND'</span>);
+0144 
+0145     <span class="comment">% Convert to BEND current</span>
+0146     AcceleratorName = getfamilydata(<span class="string">'SubMachine'</span>);
+0147     <span class="keyword">switch</span> AcceleratorName
+0148         <span class="keyword">case</span> {<span class="string">'StorageRing'</span>}
+0149 
+0150             <span class="comment">% C = C * Leff;</span>
+0151 
+0152             <span class="comment">%     k = 0.31537858;  %% gradient of the dipole</span>
+0153             <span class="comment">%     bprime = k * brho;</span>
+0154             <span class="comment">%     b0 = bprime * 0.392348;</span>
+0155             <span class="comment">%     bl = b0 * Leff;</span>
+0156             <span class="comment">%     k = -k;</span>
+0157             <span class="comment">% brho[Tm] = 3.33620907461447 * E[GeV]</span>
+0158             <span class="comment">% brho = GeV1*3.33620907461447;</span>
+0159             <span class="comment">% bl = -brho/5.3653*Leff;</span>
+0160 
+0161             <span class="comment">% Solve for roots based on polynomial coefficient (coefficients already divided by Leff)</span>
+0162             <span class="comment">% p = [C(1) C(2) C(3) C(4) C(5) C(6) C(7) C(8) C(9)-bl];</span>
+0163             <span class="comment">% C(9) = 0</span>
+0164 
+0165             <span class="comment">% p = C;</span>
+0166             <span class="comment">% p(9) = bl;</span>
+0167 
+0168             <span class="comment">% Closest to the linear line approach</span>
+0169 
+0170             brho = getbrho(GeV1);
+0171             theta = 0.19634954084936; <span class="comment">%rad &lt;--&gt; 11.25 degrees</span>
+0172             BL = brho*theta;
+0173             p  = A;
+0174             p(end)  = A(end) - BL;
+0175             r1inear = (A(end)-BL) / A(end-1);
+0176             
+0177         <span class="keyword">case</span> { <span class="string">'LT2'</span>}
+0178     
+0179             brho = getbrho(GeV1);
+0180             theta = 0.193789; <span class="comment">%rad &lt;--&gt; 11.25 degrees</span>
+0181             BL = brho*theta;
+0182             p  = A;
+0183             p(end)  = A(end) - BL;
+0184             r1inear = (A(end)-BL) / A(end-1);
+0185            
+0186             
+0187         <span class="keyword">case</span> <span class="string">'LT1'</span>
+0188             brho = getbrho(GeV1);
+0189             theta = 0.26179938779915; <span class="comment">%rad &lt;--&gt; 15 degrees</span>
+0190             BL = brho*theta;
+0191             p  = A;
+0192             p(end)  = A(end) - BL;
+0193             r1inear = (A(end)-BL) / A(end-1);
+0194 
+0195         <span class="keyword">case</span> <span class="string">'Booster'</span>
+0196             brho = getbrho(GeV1);
+0197             theta = 0.17453292519943; <span class="comment">%rad &lt;--&gt; 10 degrees</span>
+0198             BL = brho*theta;
+0199             p  = A;
+0200             p(end)  = A(end) - BL;
+0201             r1inear = (A(end)-BL) / A(end-1);
+0202 
+0203         <span class="keyword">otherwise</span>
+0204             error(<span class="string">'Unknown AcceleratorName'</span>)
+0205     <span class="keyword">end</span>
+0206 
+0207     <span class="comment">% magnet current is one of the roots</span>
+0208     r = roots(p);
+0209 
+0210     <span class="comment">% Choose the closest solution to the linear one</span>
+0211     BEND = inf;
+0212     <span class="keyword">for</span> i = 1:length(r)
+0213         <span class="keyword">if</span> isreal(r(i))
+0214             <span class="comment">%if r(i)&gt;0 &amp; abs(r(i)) &lt; BEND(j,1)  % Smallest, positive</span>
+0215             <span class="keyword">if</span> abs(r(i) - r1inear) &lt; abs(BEND - r1inear)  <span class="comment">% Closest to linear solution</span>
+0216                 BEND = r(i);
+0217             <span class="keyword">end</span>
+0218         <span class="keyword">end</span>
+0219     <span class="keyword">end</span>
+0220 
+0221     <span class="keyword">if</span> isinf(BEND)
+0222         error(sprintf(<span class="string">'Solution for GeV=%.3f not found (all roots are complex)'</span>, GeV1));
+0223     <span class="keyword">end</span>
+0224 
+0225     <span class="keyword">if</span> size(GeV,2) == 1
+0226         Amps(ii,1) = BEND;
+0227     <span class="keyword">else</span>
+0228         Amps(1,ii) = BEND;
+0229     <span class="keyword">end</span>
+0230 <span class="keyword">end</span> 
+0231     
+0232 <span class="keyword">if</span> strcmpi(UnitsFlag,<span class="string">'Physics'</span>)
+0233     Amps = hw2physics(Family, <span class="string">'Setpoint'</span>, Amps, DeviceList, GeV1);
+0234 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/index.html	(revision 17)
@@ -0,0 +1,31 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common</title>
+  <meta name="keywords" content="machine/Soleil/common">
+  <meta name="description" content="Index for Directory machine/Soleil/common">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="amp2k.html">amp2k</a></td><td>AMP2K - Converts amperes to simulator values </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="bend2gev.html">bend2gev</a></td><td>BEND2GEV - Compute the energy based on the ramp tables </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="bpmconfigurator.html">bpmconfigurator</a></td><td>BPMCONFIGURATOR M-file for bpmconfigurator.fig </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="cap.html">cap</a></td><td>CAP - Clears application data </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="family2devcell.html">family2devcell</a></td><td>FAMILY2DEVCELL - Returns the device list for a family and a cell </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="family2elem.html">family2elem</a></td><td>FAMILY2elem - Returns the element list for a family </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="findkeyword2.html">findkeyword2</a></td><td>FINDKEYWORD - Finds a keyword with a cell of strings </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getbpmrawdata.html">getbpmrawdata</a></td><td>GETBPMRAWDATA - Gets turn by turn data for  BPM </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getfamilytype.html">getfamilytype</a></td><td>GETFAMILYTYPE - Returns the family type (string matrix) </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getmaxsp.html">getmaxsp</a></td><td>GETMAXSP - Maximum value of the setpoint </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getminsp.html">getminsp</a></td><td>GETMINSP - Gets minimum value of the setpoint </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="gev2bend.html">gev2bend</a></td><td>GEV2BEND - Converts beam energy TO BEND current </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="iscontrolroom.html">iscontrolroom</a></td><td>ISCONTROLROOM - Determines wether Matlab is run in the controlroom </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="k2amp.html">k2amp</a></td><td>K2AMP - Converts simulator values to amperes </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="listfonction.html">listfonction</a></td><td> </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="magnetcoefficients.html">magnetcoefficients</a></td><td>MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="magnetcoefficients_copie.html">magnetcoefficients_copie</a></td><td>MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="magnetcoefficients_pascale_11-09-06.html">magnetcoefficients_pascale_11-09-06</a></td><td>MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="magnetcoefficients_sauve_11-09-06.html">magnetcoefficients_sauve_11-09-06</a></td><td>MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="measrate.html">measrate</a></td><td>MEASRATE - noise on channels </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="optics_LT1_LT2.html">optics_LT1_LT2</a></td><td>OPTICS_LT1_LT2 - M-file for optics_LT1_LT2.fig </td></tr><tr><td><img src="../../../matlabicon.gif" alt="" border="">&nbsp;<a href="setrange.html">setrange</a></td><td>SETRANGE - read min and max value from TANGO static DB and set AO </td></tr></table>
+
+
+<h2>Subsequent directories:</h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="archiving/index.html">archiving</a></li><li><a href="configurations/index.html">configurations</a></li><li><a href="cycling/index.html">cycling</a></li><li><a href="database/index.html">database</a></li><li>diag</li><li>naff</li><li><a href="plotfamily/index.html">plotfamily</a></li><li><a href="synchro/index.html">synchro</a></li></ul>
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/iscontrolroom.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/iscontrolroom.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/iscontrolroom.html	(revision 17)
@@ -0,0 +1,54 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of iscontrolroom</title>
+  <meta name="keywords" content="iscontrolroom">
+  <meta name="description" content="ISCONTROLROOM - Determines wether Matlab is run in the controlroom">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; iscontrolroom.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>iscontrolroom
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>ISCONTROLROOM - Determines wether Matlab is run in the controlroom</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function Flag = iscontrolroom </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">ISCONTROLROOM - Determines wether Matlab is run in the controlroom</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Flag = iscontrolroom</a>
+0002 <span class="comment">%ISCONTROLROOM - Determines wether Matlab is run in the controlroom</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Written by Laurent S. Nadolski</span>
+0006 
+0007 <span class="comment">% Test is done on the HOME variable to determine wether we are in the controlroom</span>
+0008 Flag = strcmp(getenv(<span class="string">'HOME'</span>), <span class="string">'/home/operateur'</span>);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/k2amp.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/k2amp.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/k2amp.html	(revision 17)
@@ -0,0 +1,226 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of k2amp</title>
+  <meta name="keywords" content="k2amp">
+  <meta name="description" content="K2AMP - Converts simulator values to amperes">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; k2amp.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>k2amp
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>K2AMP - Converts simulator values to amperes</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">K2AMP - Converts simulator values to amperes
+  Amps = k2amp(Family, Field, k, DeviceList, Energy, Coefficients, K2AmpScaleFactor)
+       or
+  Amps = k2amp(Family, Field, k, DeviceList, Energy, MagnetCoreType, K2AmpScaleFactor)
+
+  Calculates the current [amperes] from the coefficients (or MagnetCoreType), &quot;K-value&quot;, energy, and linear scale factor
+
+  INPUTS
+  1. Family - Family name
+  2. Field - Sub-field (like 'Setpoint')
+  3. K - &quot;K-value&quot; in AT convention
+          For dipole:      K = B / Brho
+          For quadrupole:  K = B'/ Brho
+          For sextupole:   K = B&quot;/ Brho / 2
+  4. DeviceList - Device list (Amps and DeviceList must have the same number of rows)
+  5. Energy - Energy in GeV {Default: getenergy}
+              If Energy is a vector, each output column will correspond to that energy.
+              Energy can be anything getenergy accepts, like 'Model' or 'Online'. 
+              (Note: If Energy is a vector, then Amps can only have 1 column) 
+  6. Coefficients - A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used
+  k and Coefficients must have equal number of rows or one must only have
+  one row 
+  7. K2AmpScaleFactor - linearly scales the output current:  Amps =
+  K2AmpScaleFactor .* Amps
+
+  NOTES
+  1. If energy is not an input or empty, then the energy is obtained from getenergy.
+  2. Family and Field inputs are not used but there automatically part of the physics2hw call. 
+
+ See Also <a href="amp2k.html" class="code" title="function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)">amp2k</a>, <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="listfonction.html" class="code" title="">listfonction</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)</a>
+0002 <span class="comment">%K2AMP - Converts simulator values to amperes</span>
+0003 <span class="comment">%  Amps = k2amp(Family, Field, k, DeviceList, Energy, Coefficients, K2AmpScaleFactor)</span>
+0004 <span class="comment">%       or</span>
+0005 <span class="comment">%  Amps = k2amp(Family, Field, k, DeviceList, Energy, MagnetCoreType, K2AmpScaleFactor)</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">%  Calculates the current [amperes] from the coefficients (or MagnetCoreType), &quot;K-value&quot;, energy, and linear scale factor</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  INPUTS</span>
+0010 <span class="comment">%  1. Family - Family name</span>
+0011 <span class="comment">%  2. Field - Sub-field (like 'Setpoint')</span>
+0012 <span class="comment">%  3. K - &quot;K-value&quot; in AT convention</span>
+0013 <span class="comment">%          For dipole:      K = B / Brho</span>
+0014 <span class="comment">%          For quadrupole:  K = B'/ Brho</span>
+0015 <span class="comment">%          For sextupole:   K = B&quot;/ Brho / 2</span>
+0016 <span class="comment">%  4. DeviceList - Device list (Amps and DeviceList must have the same number of rows)</span>
+0017 <span class="comment">%  5. Energy - Energy in GeV {Default: getenergy}</span>
+0018 <span class="comment">%              If Energy is a vector, each output column will correspond to that energy.</span>
+0019 <span class="comment">%              Energy can be anything getenergy accepts, like 'Model' or 'Online'.</span>
+0020 <span class="comment">%              (Note: If Energy is a vector, then Amps can only have 1 column)</span>
+0021 <span class="comment">%  6. Coefficients - A Coefficients vector or a MagnetCoreType string (coefficient found from magnetcoefficents.m) can be used</span>
+0022 <span class="comment">%  k and Coefficients must have equal number of rows or one must only have</span>
+0023 <span class="comment">%  one row</span>
+0024 <span class="comment">%  7. K2AmpScaleFactor - linearly scales the output current:  Amps =</span>
+0025 <span class="comment">%  K2AmpScaleFactor .* Amps</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">%  NOTES</span>
+0028 <span class="comment">%  1. If energy is not an input or empty, then the energy is obtained from getenergy.</span>
+0029 <span class="comment">%  2. Family and Field inputs are not used but there automatically part of the physics2hw call.</span>
+0030 <span class="comment">%</span>
+0031 <span class="comment">% See Also amp2k, magnetcoefficients</span>
+0032 
+0033 <span class="comment">% ALGORITHM</span>
+0034 <span class="comment">%</span>
+0035 <span class="comment">% p = root(-k*Brho  + (c0 + c1*I + ... + cn*I^n))</span>
+0036 <span class="comment">% I = root(p) closest to linear solution rlin</span>
+0037 <span class="comment">% Linear solution is</span>
+0038 <span class="comment">% rlin = (k*Brho - c0)/c1</span>
+0039 
+0040 <span class="comment">%</span>
+0041 <span class="comment">% M. Yoon 4/8/03</span>
+0042 <span class="comment">% Adapted by Laurent S. Nadolski</span>
+0043 <span class="comment">% Closest solution to linear takes into account the offset term</span>
+0044 
+0045 
+0046 <span class="keyword">if</span> nargin &lt; 4
+0047     error(<span class="string">'At least 4 inputs required'</span>);
+0048 <span class="keyword">end</span>
+0049 
+0050 <span class="keyword">if</span> nargin &lt; 6
+0051     C = [];
+0052 <span class="keyword">end</span>
+0053 <span class="keyword">if</span> isempty(C)
+0054     <span class="comment">%[CC, Leff, MagnetName] = magnetcoefficients(Family);</span>
+0055     C = getfamilydata(Family, Field, <span class="string">'HW2PhysicsParams'</span>, DeviceList);
+0056     C = C{1};
+0057 <span class="keyword">end</span>
+0058 
+0059 <span class="keyword">if</span> nargin &lt; 5
+0060     Energy = [];
+0061 <span class="keyword">end</span>
+0062 <span class="keyword">if</span> isempty(Energy)
+0063     Energy = getenergy;
+0064 <span class="keyword">elseif</span> ischar(Energy)
+0065     Energy = getenergy(Energy);
+0066 <span class="keyword">end</span>
+0067 
+0068 
+0069 <span class="comment">% If k is a row vector make it a column vector</span>
+0070 k = k(:);
+0071 
+0072 
+0073 brho = getbrho(Energy);
+0074 
+0075 
+0076 <span class="comment">% Compute roots for the expansion:  0 = -BLeff + c0*I + c1*I^2 ...</span>
+0077 <span class="comment">% For dipole:      BLeff = B  * Leff</span>
+0078 <span class="comment">% For quadrupole:  BLeff = B' * Leff</span>
+0079 <span class="comment">% For sextupole:   BLeff = B&quot; * Leff</span>
+0080 
+0081 <span class="comment">%polynom = (C(8)+C(7)*Amps+C(6)*Amps^2+C(5)*Amps^3+C(4)*Amps^4+C(3)*Amps^5+C(2)*Amps^6+C(1)*Amps^7)</span>
+0082 <span class="comment">%polynom = (c0+c1*Amps+c2*Amps^2+c3*Amps^3+c4*Amps^4+c5*Amps^5+c6*Amps^6+c7*Amps^7)</span>
+0083 
+0084 
+0085 <span class="keyword">if</span> isstr(C)
+0086     TableLookUpFlag = 1;
+0087     MagnetCoreType = C;
+0088     [C, Leff, MagnetName] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType, k(1), <span class="string">'k'</span>);
+0089     k0 = k(1);
+0090 <span class="keyword">else</span>
+0091     TableLookUpFlag = 0;
+0092 <span class="keyword">end</span>
+0093 
+0094 <span class="keyword">if</span> any(size(C,1) ~= length(k))
+0095     <span class="keyword">if</span> length(k) == 1
+0096         k = ones(size(C,1),1) * k;
+0097     <span class="keyword">elseif</span> size(C,1) == 1
+0098         <span class="comment">% Ok as is</span>
+0099         <span class="comment">%C = ones(size(k,1),1) * C;</span>
+0100     <span class="keyword">else</span>
+0101         error(<span class="string">'k and Coefficients must have equal number of rows or one must only have one row'</span>);
+0102     <span class="keyword">end</span>
+0103 <span class="keyword">end</span>
+0104 
+0105 <span class="keyword">for</span> j = 1:length(k)
+0106     <span class="comment">% For piecewise tables, get a new polynomial</span>
+0107     <span class="keyword">if</span> TableLookUpFlag
+0108         <span class="keyword">if</span> k(j) ~= k0;
+0109             [C, Leff, MagnetName] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType, k(j), <span class="string">'k'</span>);
+0110             k0 = k(j);
+0111         <span class="keyword">end</span>
+0112     <span class="keyword">end</span>
+0113 
+0114     
+0115     
+0116     <span class="comment">% Solve for roots based on polynomial coefficient (coefficients already divided by Leff)</span>
+0117     <span class="comment">% p = [C(1) C(2) C(3) C(4) C(5) C(6) C(7) C(8) C(9)-k(j)*brho];</span>
+0118     
+0119     <span class="keyword">if</span> size(C,1) == 1
+0120         p = [C(1:end-1) C(end)-k(j)*brho]; 
+0121         r1inear = (k(j)*brho-C(end))/C(end-1);
+0122     <span class="keyword">else</span>
+0123         p = [C(j,1:end-1) C(j,end)-k(j)*brho]; 
+0124         r1inear = (k(j)*brho-C(end))/C(j,end-1);
+0125     <span class="keyword">end</span>
+0126     
+0127     r = roots(p);    
+0128         
+0129     <span class="comment">% Choose the closest solution to the linear one</span>
+0130     Amps(j,1) = Inf;
+0131     FitError = Inf;
+0132     <span class="keyword">for</span> i = 1:length(r)
+0133         <span class="keyword">if</span> isreal(r(i))
+0134             <span class="comment">%if r(i)&gt;0 &amp; abs(r(i)) &lt; Amps(j,1)  % Smallest, positive</span>
+0135                         
+0136             <span class="comment">% Closest to linear method</span>
+0137             <span class="keyword">if</span> abs(r(i)-r1inear) &lt; abs(Amps(j,1)-r1inear)
+0138                 Amps(j,1) = r(i);
+0139             <span class="keyword">end</span>
+0140         <span class="keyword">end</span>
+0141     <span class="keyword">end</span>
+0142     
+0143     <span class="keyword">if</span> isinf(Amps(j,1))
+0144         error(sprintf(<span class="string">'Solution for k=%.3f not found (all roots are complex)'</span>, k(j)));
+0145     <span class="keyword">end</span>
+0146 <span class="keyword">end</span>
+0147 
+0148 <span class="comment">% Scale solution if required</span>
+0149 <span class="keyword">if</span> nargin &gt;= 7
+0150     Amps = Amps .* K2AmpScaleFactor;
+0151 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/listfonction.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/listfonction.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/listfonction.html	(revision 17)
@@ -0,0 +1,163 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of listfonction</title>
+  <meta name="keywords" content="listfonction">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; listfonction.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>listfonction
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="amp2k.html" class="code" title="function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)">amp2k</a>	AMP2K - Converts amperes to simulator values</li><li><a href="bend2gev.html" class="code" title="function [GeV B] = bend2gev(varargin)">bend2gev</a>	BEND2GEV - Compute the energy based on the ramp tables</li><li><a href="getfamilytype.html" class="code" title="function  [FamilyType, FamilyName] = getfamilytype(FamilyName)">getfamilytype</a>	GETFAMILYTYPE - Returns the family type (string matrix)</li><li><a href="gev2bend.html" class="code" title="function Amps = gev2bend(varargin)">gev2bend</a>	GEV2BEND - Converts beam energy TO BEND current</li><li><a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a>	K2AMP - Converts simulator values to amperes</li><li><a href="measrate.html" class="code" title="function [AvgRate, N] = measrate(family, elem, T);">measrate</a>	MEASRATE - noise on channels</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 
+0002 <span class="keyword">return</span>;
+0003 
+0004 <span class="comment">%% Fonctions</span>
+0005 
+0006 soleilinit : initialise le middleware
+0007 getall : cree les proxy vers tous les aimants
+0008 
+0009 solorbit
+0010 soleilelementicons
+0011 
+0012 <span class="comment">%% manipulation de AO</span>
+0013 <span class="comment">%Accelerator Object</span>
+0014 showfamily(<span class="string">'BPMx'</span>) affiche l'objet
+0015 <a href="getfamilytype.html" class="code" title="function  [FamilyType, FamilyName] = getfamilytype(FamilyName)">getfamilytype</a>
+0016 getao
+0017 setao
+0018 getad
+0019 setad
+0020 
+0021 <span class="comment">%% changer de model</span>
+0022 switch2online
+0023 switch2sim
+0024 switch2physics
+0025 switch2hw
+0026 
+0027 <span class="comment">% Configuration</span>
+0028 sim2machine
+0029 
+0030 <span class="comment">%tune</span>
+0031 tune2sim
+0032 tune2online
+0033 tune2manual
+0034 gettune
+0035 settune
+0036 
+0037 <span class="comment">%RF</span>
+0038 setrf
+0039 getrf
+0040 sweepenergy
+0041 sweepenergy2
+0042 
+0043 physics2hw
+0044 hw2physics
+0045 <a href="amp2k.html" class="code" title="function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)">amp2k</a>
+0046 <a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a>
+0047 <a href="gev2bend.html" class="code" title="function Amps = gev2bend(varargin)">gev2bend</a>  <span class="comment">% beam energy to bend current</span>
+0048 
+0049 getbpmnames
+0050 
+0051 getfamilylist
+0052 getlist
+0053 
+0054 getphysdata
+0055 setphysdata
+0056 
+0057 family2dev
+0058 getfamilydata
+0059 
+0060 <span class="comment">%measurements</span>
+0061 measbpmresp
+0062 measbpmsigma
+0063 measdisp
+0064 measdispresp
+0065 measchro
+0066 measchroresp
+0067 measlifetime
+0068 <a href="measrate.html" class="code" title="function [AvgRate, N] = measrate(family, elem, T);">measrate</a>
+0069 measrespmat
+0070 meastuneresp
+0071 
+0072 <span class="comment">%%% BPM</span>
+0073 getx: get H bpms
+0074 getz: get V bpms
+0075 soleilbpms
+0076 getxsoleil
+0077 getzsoleil
+0078 getbpmsoleil
+0079 
+0080 checklimits
+0081 
+0082 <span class="comment">%% ANNEAU</span>
+0083 getenergy: get energy
+0084 getbrho: get brho
+0085 <a href="bend2gev.html" class="code" title="function [GeV B] = bend2gev(varargin)">bend2gev</a>
+0086 
+0087 physics2hw Converts from <span class="string">'Physics'</span> units to <span class="string">'Hardware'</span> units
+0088 
+0089 <span class="comment">% transformation</span>
+0090 tango2dev
+0091 tango2common
+0092 tango2family
+0093 
+0094 A modifier:
+0095 <a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a>
+0096 magnetcoeeficients
+0097 
+0098 <span class="comment">%utiliser pat configgui</span>
+0099 getmachineconfig
+0100 
+0101 makephysdata : modifier chro et tune
+0102 
+0103 <span class="comment">%% GUI ou IHM</span>
+0104 srsetup
+0105 plotfamily
+0106 solorbit
+0107 configgui
+0108 
+0109 <span class="comment">%%% Fonctions pour se simplifier la vie sous matlab</span>
+0110 xaxis
+0111 xaxiss
+0112 yaxis
+0113 yaxiss
+0114 sleep
+0115 popplot
+0116 appendtimestamp
+0117 gotodirectory</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients.html	(revision 17)
@@ -0,0 +1,1025 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of magnetcoefficients</title>
+  <meta name="keywords" content="magnetcoefficients">
+  <meta name="description" content="MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; magnetcoefficients.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>magnetcoefficients
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+
+ INPUTS
+ 1. MagnetCoreType - Family name or type of magnet
+
+ OUTPUTS
+ 1. C vector coefficients for the polynomial expansion of the magnet field
+    based on magnet measurements
+ 2. Leff - Effective length ie, which is used in AT
+ 3. MagnetType
+ 4. A - vector coefficients for the polynomial expansion of the curviline 
+        integral of the magnet field based on magnet measurements
+
+ C and A are vector coefficients for the polynomial expansion of the magnet field
+ based on magnet measurements.
+
+ The amp2k and k2amp functions convert between the two types of units.
+   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.
+   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.
+
+ The A coefficients are direct from magnet measurements with a DC term:
+   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B&quot;*Leff
+   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+
+ C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;
+   C = A/Leff
+
+ For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+ For quadrupole:  k = B'/ Brho
+ For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)
+                  (all coefficients all divided by 2 for sextupoles)
+
+ MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+   For SOLEIL:   BEND
+                 Q1 - Q10 S1 - S10,
+                 QT, HCOR, VCOR, FHCOR, FVCOR
+
+ Leff is the effective length of the magnet
+
+ See Also <a href="amp2k.html" class="code" title="function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)">amp2k</a>, <a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="amp2k.html" class="code" title="function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)">amp2k</a>	AMP2K - Converts amperes to simulator values</li><li><a href="bend2gev.html" class="code" title="function [GeV B] = bend2gev(varargin)">bend2gev</a>	BEND2GEV - Compute the energy based on the ramp tables</li><li><a href="gev2bend.html" class="code" title="function Amps = gev2bend(varargin)">gev2bend</a>	GEV2BEND - Converts beam energy TO BEND current</li><li><a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a>	K2AMP - Converts simulator values to amperes</li><li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li><li><a href="magnetcoefficients_copie.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)">magnetcoefficients_copie</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li><li><a href="magnetcoefficients_pascale_11-09-06.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients_pascale_11-09-06</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li><li><a href="magnetcoefficients_sauve_11-09-06.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients_sauve_11-09-06</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)</a>
+0002 <span class="comment">%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</span>
+0003 <span class="comment">%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% INPUTS</span>
+0006 <span class="comment">% 1. MagnetCoreType - Family name or type of magnet</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% OUTPUTS</span>
+0009 <span class="comment">% 1. C vector coefficients for the polynomial expansion of the magnet field</span>
+0010 <span class="comment">%    based on magnet measurements</span>
+0011 <span class="comment">% 2. Leff - Effective length ie, which is used in AT</span>
+0012 <span class="comment">% 3. MagnetType</span>
+0013 <span class="comment">% 4. A - vector coefficients for the polynomial expansion of the curviline</span>
+0014 <span class="comment">%        integral of the magnet field based on magnet measurements</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">% C and A are vector coefficients for the polynomial expansion of the magnet field</span>
+0017 <span class="comment">% based on magnet measurements.</span>
+0018 <span class="comment">%</span>
+0019 <span class="comment">% The amp2k and k2amp functions convert between the two types of units.</span>
+0020 <span class="comment">%   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.</span>
+0021 <span class="comment">%   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.</span>
+0022 <span class="comment">%</span>
+0023 <span class="comment">% The A coefficients are direct from magnet measurements with a DC term:</span>
+0024 <span class="comment">%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B&quot;*Leff</span>
+0025 <span class="comment">%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:</span>
+0028 <span class="comment">%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;</span>
+0029 <span class="comment">%   C = A/Leff</span>
+0030 <span class="comment">%</span>
+0031 <span class="comment">% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)</span>
+0032 <span class="comment">% For quadrupole:  k = B'/ Brho</span>
+0033 <span class="comment">% For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)</span>
+0034 <span class="comment">%                  (all coefficients all divided by 2 for sextupoles)</span>
+0035 <span class="comment">%</span>
+0036 <span class="comment">% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)</span>
+0037 <span class="comment">%   For SOLEIL:   BEND</span>
+0038 <span class="comment">%                 Q1 - Q10 S1 - S10,</span>
+0039 <span class="comment">%                 QT, HCOR, VCOR, FHCOR, FVCOR</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">% Leff is the effective length of the magnet</span>
+0042 <span class="comment">%</span>
+0043 <span class="comment">% See Also amp2k, k2amp</span>
+0044 
+0045 <span class="comment">%</span>
+0046 <span class="comment">% Written by M. Yoon 4/8/03</span>
+0047 <span class="comment">% Adapted By Laurent S. Nadolski354.09672</span>
+0048 <span class="comment">%</span>
+0049 <span class="comment">% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06</span>
+0050 <span class="comment">%</span>
+0051 <span class="comment">% Add a switch on accelerator</span>
+0052 
+0053 <span class="comment">% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values</span>
+0054 <span class="comment">% Or use Tango K value set to -1</span>
+0055 
+0056 
+0057 <span class="keyword">if</span> nargin &lt; 1
+0058     error(<span class="string">'MagnetCoreType input required'</span>);
+0059 <span class="keyword">end</span>
+0060 
+0061 <span class="keyword">if</span> nargin &lt; 2
+0062     Amps = 230;  <span class="comment">% not sure!!!</span>
+0063 <span class="keyword">end</span>
+0064 
+0065 <span class="keyword">if</span> nargin &lt; 3
+0066     InputType = <span class="string">'Amps'</span>;
+0067 <span class="keyword">end</span>
+0068 
+0069 
+0070 
+0071 <span class="comment">% For a string matrix</span>
+0072 <span class="keyword">if</span> iscell(MagnetCoreType)
+0073     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0074         <span class="keyword">for</span> j = 1:size(MagnetCoreType,2)
+0075             [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType{i});
+0076         <span class="keyword">end</span>
+0077     <span class="keyword">end</span>
+0078     <span class="keyword">return</span>
+0079 <span class="keyword">end</span>
+0080 
+0081 <span class="comment">% For a string matrix</span>
+0082 <span class="keyword">if</span> size(MagnetCoreType,1) &gt; 1
+0083     C=[]; Leff=[]; MagnetType=[]; A=[];
+0084     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0085         [C1, Leff1, MagnetType1, A1] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType(i,:));
+0086         C(i,:) = C1;
+0087         Leff(i,:) = Leff1;
+0088         MagnetType = strvcat(MagnetType, MagnetType1);
+0089         A(i,:) = A1;
+0090     <span class="keyword">end</span>
+0091     <span class="keyword">return</span>
+0092 <span class="keyword">end</span>
+0093 
+0094 <span class="comment">%% get accelerator name</span>
+0095 AcceleratorName = getfamilydata(<span class="string">'SubMachine'</span>);
+0096 
+0097 <span class="keyword">switch</span> AcceleratorName
+0098     <span class="keyword">case</span> <span class="string">'LT1'</span>
+0099         <span class="comment">%%%%</span>
+0100         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0101 
+0102             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0103                 Leff = 0.30; <span class="comment">% 300 mm</span>
+0104                 <span class="comment">% B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)</span>
+0105                 a8 =  0.0;
+0106                 a7 =  0.0;
+0107                 a6 =  0.0;
+0108                 a5 =  0.0;
+0109                 a4 =  0.0;
+0110                 a3 =  0.0;
+0111                 a2 =  0.0;
+0112                 a1 =  4.8861e-4;
+0113                 a0 =  1.19e-4;
+0114 
+0115                 A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+0116                 MagnetType = <span class="string">'BEND'</span>;
+0117 
+0118             <span class="keyword">case</span> {<span class="string">'QP'</span>}   <span class="comment">% 150 mm quadrupole</span>
+0119                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0120                 Leff=0.150; <span class="comment">% 162 mm;</span>
+0121                 a8 =  0.0;
+0122                 a7 =  0.0;
+0123                 a6 =  0.0;
+0124                 a5 =  0.0;
+0125 <span class="comment">%                 a4 =  1.49e-6;</span>
+0126 <span class="comment">%                 a3 =  2.59e-5;</span>
+0127 <span class="comment">%                 a2 =  1.93e-4;</span>
+0128 <span class="comment">%                 a1 =  4.98e-2;</span>
+0129 <span class="comment">%                 a0 =  0.0;</span>
+0130                 a4 =  -1.49e-6;
+0131                 a3 =  2.59e-5;
+0132                 a2 =  -1.93e-4;
+0133                 a1 =  4.98e-2;
+0134                 a0 =  8.13e-4;              
+0135                 
+0136                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0137                 MagnetType = <span class="string">'QUAD'</span>;
+0138 
+0139             <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0140                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0141                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0142                 <span class="comment">% Therefore,</span>
+0143                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0144                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0145                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0146                 <span class="comment">%</span>
+0147                 <span class="comment">% The C coefficients are w.r.t B</span>
+0148                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0149                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0150                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0151                 <span class="comment">% the addition of the DC term</span>
+0152 
+0153                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0154                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0155                 MagnetType = <span class="string">'COR'</span>;
+0156                 
+0157                 Leff = 1e-6; <span class="comment">% 0.1577 m</span>
+0158                 a8 =  0.0;
+0159                 a7 =  0.0;
+0160                 a6 =  0.0;
+0161                 a5 =  0.0;
+0162                 a4 =  0.0;
+0163                 a3 =  0.0;
+0164                 a2 =  0.0;
+0165                 a1 =  4.49e-4;
+0166                 a0 =  0;
+0167                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0168                 
+0169             <span class="keyword">otherwise</span>
+0170                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0171                 <span class="comment">%k = 0;</span>
+0172                 <span class="comment">%MagnetType = '';</span>
+0173                 <span class="comment">%return</span>
+0174         <span class="keyword">end</span>
+0175 
+0176         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0177         C = A/ Leff;
+0178 
+0179         MagnetType = upper(MagnetType);
+0180     
+0181     <span class="keyword">case</span> <span class="string">'StorageRing'</span>
+0182         <span class="comment">%%%%</span>
+0183         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0184 
+0185             <span class="keyword">case</span> <span class="string">'BEND'</span>   
+0186                 <span class="comment">% Moyenne des longueurs magnï¿œtiques mesurï¿œes = 1055.548mm</span>
+0187                 <span class="comment">% DÃ©calage en champ entre le dipï¿œle de rÃ©fÃ©rence et les</span>
+0188                 <span class="comment">% dipï¿œles de l'Anneau = DB/B= +1.8e-03.</span>
+0189                 <span class="comment">% On part de l'ï¿œtalonnage B(I) effectuï¿œ sur le dipï¿œle de</span>
+0190                 <span class="comment">% rï¿œfï¿œrence dans la zone de courant 516 - 558 A</span>
+0191                 <span class="comment">% les coefficients du fit doivent ï¿œtre affectï¿œs du facteur</span>
+0192                 <span class="comment">% (1-1.8e-3) pour passer du dipï¿œle de rï¿œfï¿œrence ï¿œ l'Anneau</span>
+0193                 <span class="comment">% et du facteur Leff pour passer ï¿œ l'intï¿œgrale de champ.</span>
+0194                 <span class="comment">%</span>
+0195                 
+0196                 <span class="comment">% B=1.7063474 T correspond ï¿œ 2.75 GeV</span>
+0197                 <span class="comment">% ?  longueur magnÃ©tique du model : Leff = 1.052433;</span>
+0198 <span class="comment">%                 Leff=1.055548;</span>
+0199 <span class="comment">%                 a7= 0.0;</span>
+0200 <span class="comment">%                 a6=-0.0;</span>
+0201 <span class="comment">%                 a5= 0.0;</span>
+0202 <span class="comment">%                 a4=-0.0;</span>
+0203 <span class="comment">%                 a3= 0.0;</span>
+0204 <span class="comment">%                 a2=-9.7816E-6*(1-1.8e-3)*Leff;</span>
+0205 <span class="comment">%                 a1= 1.26066E-02*(1-1.8E-3)*Leff;</span>
+0206 <span class="comment">%                 a0= -2.24944*(1-1.8E-3)*Leff;</span>
+0207 <span class="comment">%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];</span>
+0208                 
+0209                 Leff=1.052433;
+0210                 a7= 0.0;
+0211                 a6=-0.0;
+0212                 a5= 0.0;
+0213                 a4=-0.0;
+0214                 a3= 0.0;
+0215                 a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+0216                 a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0217                 a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0218                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0219                 
+0220 
+0221                 MagnetType = <span class="string">'BEND'</span>;
+0222 
+0223             <span class="keyword">case</span> {<span class="string">'Q1'</span>,<span class="string">'Q6'</span>}  
+0224                 <span class="comment">% Familles Q1 et Q6 l= 320 mm</span>
+0225                 <span class="comment">% Etalonnage GL(I) sur 90 - 150 A quadrupï¿œle court</span>
+0226                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q1 et Q6 dï¿œfocalisants</span>
+0227                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0228                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0229                 
+0230                 <span class="comment">% Correction des coefficients des QC de + 3 10-3 (manque</span>
+0231                 <span class="comment">% capteur BMS)</span>
+0232                 
+0233                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0234                 bob=0.9977*(1-8e-3);
+0235 <span class="comment">%                   bob=1-8.0e-3-2.3e-3+3e-3;</span>
+0236                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0237                 Leff=0.320;
+0238 
+0239         <span class="comment">% G. Portmann</span>
+0240 <span class="comment">%                 % Just a way to get the correct polynomial for different k-values</span>
+0241 <span class="comment">%                 if strcmpi(InputType, 'K')</span>
+0242 <span class="comment">%                     if Amps &lt; 0.18928717429288</span>
+0243 <span class="comment">%                         Amps = 10;</span>
+0244 <span class="comment">%                     elseif Amps &lt; 0.75086308092911</span>
+0245 <span class="comment">%                         Amps = 50;</span>
+0246 <span class="comment">%                     elseif Amps &lt; 1.31229873800730</span>
+0247 <span class="comment">%                         Amps = 100;</span>
+0248 <span class="comment">%                     elseif Amps &lt; 1.68337408687106</span>
+0249 <span class="comment">%                         Amps = 150;</span>
+0250 <span class="comment">%                     elseif Amps &lt; 2.04021595285003</span>
+0251 <span class="comment">%                         Amps = 200;</span>
+0252 <span class="comment">%                     else</span>
+0253 <span class="comment">%                         Amps = 230;</span>
+0254 <span class="comment">%                     end</span>
+0255 <span class="comment">%                 end</span>
+0256         <span class="comment">% G. Portmann</span>
+0257                 
+0258                 a7=  0.0;
+0259                 a6=  0.0;
+0260                 a5=  0.0;
+0261                 a4=  0.0;
+0262                 a3=  0.0;
+0263                 a2=  -8.6E-7*(-1)*(1.003)*bob;
+0264                 a1=  2.7664E-2*(1.003)*bob;
+0265                 a0=  -3.3E-3*(-1)*(1.003)*bob;
+0266 <span class="comment">%                 a7=  0.0;</span>
+0267 <span class="comment">%                 a6=  0.0;</span>
+0268 <span class="comment">%                 a5=  0.0;</span>
+0269 <span class="comment">%                 a4=  0.0;</span>
+0270 <span class="comment">%                 a3=  0.0;</span>
+0271 <span class="comment">%                 a2=  -8.6E-7*(-1)*bob;</span>
+0272 <span class="comment">%                 a1=  2.7664E-2*bob;</span>
+0273 <span class="comment">%                 a0=  -3.3E-3*(-1)*bob;</span>
+0274        <span class="comment">% G. Portmann</span>
+0275 <span class="comment">%                 if Amps &lt; 20</span>
+0276 <span class="comment">%                     a2=  0.0;</span>
+0277 <span class="comment">%                     a1=  0.027473;</span>
+0278 <span class="comment">%                     a0=  0.0;</span>
+0279 <span class="comment">%                 elseif Amps &lt; 80</span>
+0280 <span class="comment">%                     a2=  0.0;</span>
+0281 <span class="comment">%                     a1=  0.027473;</span>
+0282 <span class="comment">%                     a0=  0.006270;</span>
+0283 <span class="comment">%                  elseif Amps &lt; 140</span>
+0284 <span class="comment">%                     a2= -5.6000e-7;</span>
+0285 <span class="comment">%                     a1=  2.7598e-2;</span>
+0286 <span class="comment">%                     a0=  2.1000e-4;</span>
+0287 <span class="comment">%                  elseif Amps &lt; 180</span>
+0288 <span class="comment">%                     a3= -3.25400e-8;</span>
+0289 <span class="comment">%                     a2=  1.05300e-5;</span>
+0290 <span class="comment">%                     a1=  2.63758e-2;</span>
+0291 <span class="comment">%                     a0=  4.30800e-2;</span>
+0292 <span class="comment">%                  elseif Amps &lt; 220</span>
+0293 <span class="comment">%                     a4= -1.14374e-8;</span>
+0294 <span class="comment">%                     a3=  8.69384e-6;</span>
+0295 <span class="comment">%                     a2= -2.49129e-3;</span>
+0296 <span class="comment">%                     a1=  3.45626e-1;</span>
+0297 <span class="comment">%                     a0= -1.52486e+1;</span>
+0298 <span class="comment">%                 else</span>
+0299 <span class="comment">%                     a5= -3.417777770e-8;</span>
+0300 <span class="comment">%                     a4=  3.992090910e-5;</span>
+0301 <span class="comment">%                     a3= -1.864441566e-2;</span>
+0302 <span class="comment">%                     a2=  4.351937350e+0;</span>
+0303 <span class="comment">%                     a1= -5.076535920e+2;</span>
+0304 <span class="comment">%                     a0=  2.367859440e+4;</span>
+0305 <span class="comment">%                 end</span>
+0306          <span class="comment">% G. Portmann</span>
+0307          
+0308                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0309                 
+0310                 MagnetType = <span class="string">'quad'</span>;
+0311                 
+0312              <span class="keyword">case</span> {<span class="string">'Q8'</span>,<span class="string">'Q9'</span>}  
+0313                 <span class="comment">% Familles Q8 et Q9 l= 320 mm</span>
+0314                 <span class="comment">% Etalonnage GL(I) sur 160 - 200 A quadrupï¿œle court</span>
+0315                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q8 et Q9 dï¿œfocalisants</span>
+0316                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0317                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0318                 
+0319                 <span class="comment">% Correction des coefficients des QC de + 3 10-3 (manque</span>
+0320                 <span class="comment">% capteur BMS)</span>
+0321                 
+0322                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0323                 bob=0.9977*(1-8e-3);
+0324 
+0325                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0326                 Leff=0.320;
+0327                 a7=  0.0;
+0328                 a6=  0.0;
+0329                 a5=  0.0;
+0330                 a4=  0.0;
+0331                 a3=  -8.843E-8*(1.003)*bob;
+0332                 a2=  3.6389E-5*(-1)*(1.003)*bob;
+0333                 a1=  2.2448E-2*(1.003)*bob;
+0334                 a0=  2.382E-1*(-1)*(1.003)*bob;
+0335                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0336                 
+0337                 MagnetType = <span class="string">'quad'</span>;  
+0338                 
+0339             <span class="keyword">case</span> {<span class="string">'Q3'</span>}  
+0340                 <span class="comment">% Famille Q3 l= 320 mm</span>
+0341                 <span class="comment">% Etalonnage GL(I) sur 50 - 100 A quadrupï¿œle court</span>
+0342                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q3 est dï¿œfocalisant</span>
+0343                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0344                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0345                 
+0346                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0347                 <span class="comment">% capteur BMS)</span>
+0348                 
+0349                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0350                 bob=0.9977*(1-8e-3);
+0351 
+0352                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0353                 Leff=0.320;
+0354                 a7=  0.0;
+0355                 a6=  0.0;
+0356                 a5=  0.0;
+0357                 a4=  0.0;
+0358                 a3=  0.;
+0359                 a2=  1.4E-7*(-1)*(1.003)*bob;
+0360                 a1=  2.7471E-2*(1.003)*bob;
+0361                 a0=  5.83E-3*(-1)*(1.003)*bob;
+0362                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0363                 
+0364                 MagnetType = <span class="string">'quad'</span>; 
+0365                 
+0366              <span class="keyword">case</span> {<span class="string">'Q4'</span>}  
+0367                 <span class="comment">% Famille Q4 l= 320 mm</span>
+0368                 <span class="comment">% Etalonnage GL(I) sur 120 - 170 A quadrupï¿œle court</span>
+0369                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q4 est dï¿œfocalisant</span>
+0370                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0371                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0372                 
+0373                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0374                 <span class="comment">% capteur BMS)</span>
+0375                 
+0376                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0377                 bob=0.9977*(1-8e-3);
+0378                 
+0379                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0380                 Leff=0.320;
+0381                 a7=  0.0;
+0382                 a6=  0.0;
+0383                 a5=  0.0;
+0384                 a4=  0.0;
+0385                 a3=  -5.2680E-8*(1.003)*bob;
+0386                 a2=  1.9620E-5*(-1)*(1.003)*bob;
+0387                 a1=  2.5016E-2*(1.003)*bob;
+0388                 a0=  1.1046E-1*(-1)*(1.003)*bob;
+0389                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0390                 
+0391                 MagnetType = <span class="string">'quad'</span>; 
+0392                 
+0393             <span class="keyword">case</span> {<span class="string">'Q5'</span>,<span class="string">'Q10'</span>}   <span class="comment">% 320 mm quadrupole</span>
+0394                  <span class="comment">% Familles Q5 et Q10 l= 320 mm</span>
+0395                 <span class="comment">% Etalonnage GL(I) sur 180 - 230 A quadrupï¿œle court</span>
+0396                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q5 et Q10 sont</span>
+0397                 <span class="comment">% focalisants</span>
+0398                 
+0399                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0400                 <span class="comment">% capteur BMS)</span>
+0401                 
+0402                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0403                 bob=0.9977*(1-8e-3);
+0404                 
+0405                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0406                 Leff=0.320;
+0407                 a7=  0.0;
+0408                 a6=  0.0;
+0409                 a5=  0.0;
+0410                 a4=  -8.0497E-09*(1.003)*bob;
+0411                 a3= 6.01284E-06*(1.003)*bob;
+0412                 a2=  -1.696898E-03*(1.003)*bob;
+0413                 a1=  2.41175E-01*(1.003)*bob;
+0414                 a0=  -1.01064E+01*(1.003)*bob;
+0415                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0416 
+0417                 MagnetType = <span class="string">'quad'</span>;    
+0418                     
+0419             <span class="keyword">case</span> {<span class="string">'Q2'</span>}   <span class="comment">% l= 460 mm</span>
+0420                 <span class="comment">% quadrupï¿œle focalisant</span>
+0421                 <span class="comment">% Etalonnage GL(I) sur 140 - 190 A quadrupï¿œle long</span>
+0422                 
+0423                 
+0424                 <span class="comment">%Correction des coefficients des QL de + 1.55 10-2 (manque</span>
+0425                 <span class="comment">% capteur BMS)</span>
+0426                 
+0427                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0428                 bob=0.9977*(1-8e-3);
+0429 
+0430                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0431                 Leff=0.460;
+0432                 a7=  0.0;
+0433                 a6=  0.0;
+0434                 a5= -0.0;
+0435                 a4=  0.0;
+0436                 a3= -2.7609E-7*(1.0155)*bob;
+0437                 a2=  1.17098E-4*(1.0155)*bob;
+0438                 a1=  2.7718E-2*(1.0155)*bob;
+0439                 a0=  8.2470E-1*(1.0155)*bob;
+0440                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0441                 MagnetType = <span class="string">'quad'</span>;
+0442 
+0443             <span class="keyword">case</span> {<span class="string">'Q7'</span>}   <span class="comment">% l= 460 mm</span>
+0444                 <span class="comment">% quadrupï¿œle focalisant</span>
+0445                 <span class="comment">% Etalonnage GL(I) sur 190 - 230 A quadrupï¿œle long</span>
+0446                 
+0447                 <span class="comment">%Correction des coefficients des QL de + 1.55 10-2 (manque</span>
+0448                 <span class="comment">% capteur BMS)</span>
+0449                 
+0450                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0451                 bob=0.9977*(1-8e-3);
+0452 
+0453                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0454                 Leff=0.460;
+0455                 a7=  0.0;
+0456                 a6=  0.0;
+0457                 a5= 1.50427350E-9*(1.0155)*bob;
+0458                 a4=  -1.52722610E-6*(1.0155)*bob;
+0459                 a3= 6.16874120E-4*(1.0155)*bob;
+0460                 a2=  -1.24044936E-1*(1.0155)*bob;
+0461                 a1=  1.24707096E+01*(1.0155)*bob;
+0462                 a0=  -4.96304380E+02*(1.0155)*bob;
+0463                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0464                 MagnetType = <span class="string">'quad'</span>;
+0465 
+0466                 <span class="comment">% Sextupï¿œles : on multiplie les coefficients par 2 car ils</span>
+0467                 <span class="comment">% sont exprimï¿œs en B&quot;L et non B&quot;L/2</span>
+0468                 
+0469             <span class="keyword">case</span> {<span class="string">'S1'</span>,<span class="string">'S10'</span>}    
+0470                 <span class="comment">% l= 160 mm focalisants</span>
+0471                 <span class="comment">% Etalonnage HL(I) sur 40 - 160 A</span>
+0472                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0473                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0474                 a7=  0.0;
+0475                 a6=  0.0;
+0476                 a5=  0.0;
+0477                 a4=  0.0;
+0478                 a3=  0.0;
+0479                 a2=  -3.773E-6;
+0480                 a1=  1.5476E-1;
+0481                 a0=  2.36991E-1;
+0482                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0483                 MagnetType = <span class="string">'SEXT'</span>;
+0484                 
+0485                 
+0486             <span class="keyword">case</span> {<span class="string">'S3'</span>,<span class="string">'S9'</span>}    
+0487                 <span class="comment">% l= 160 mm dï¿œfocalisants</span>
+0488                 <span class="comment">% Etalonnage HL(I) sur 80 - 250 A</span>
+0489                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0490                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0491                 a7=  0.0;
+0492                 a6=  0.0;
+0493                 a5=  0.0;
+0494                 a4=  0.0;
+0495                 a3=  -2.6735E-8;
+0496                 a2=  5.8793E-6*(-1);
+0497                 a1=  1.5364E-1;
+0498                 a0=  2.7867E-1*(-1);
+0499                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0500                 MagnetType = <span class="string">'SEXT'</span>;
+0501                 
+0502              <span class="keyword">case</span> {<span class="string">'S6'</span>}    
+0503                 <span class="comment">% l= 160 mm focalisant</span>
+0504                 <span class="comment">% Etalonnage HL(I) sur 80 - 250 A</span>
+0505                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0506                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0507                 a7=  0.0;
+0508                 a6=  0.0;
+0509                 a5=  0.0;
+0510                 a4=  0.0;
+0511                 a3=  -2.6735E-8;
+0512                 a2=  5.8793E-6;
+0513                 a1=  1.5364E-1;
+0514                 a0=  2.7867E-1;
+0515                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0516                 MagnetType = <span class="string">'SEXT'</span>;
+0517 
+0518                 
+0519               <span class="keyword">case</span> {<span class="string">'S4'</span>,<span class="string">'S8'</span>}    
+0520                 <span class="comment">% l= 160 mm focalisants</span>
+0521                 <span class="comment">% Etalonnage HL(I) sur 170 - 300 A</span>
+0522                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0523                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0524                 a7=  0.0;
+0525                 a6=  0.0;
+0526                 a5=  0.0;
+0527                 a4=  -8.8836E-10;
+0528                 a3=  7.1089E-7;
+0529                 a2=  -2.2277E-4;
+0530                 a1=  1.8501E-1;
+0531                 a0=  -1.329;
+0532                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0533                 MagnetType = <span class="string">'SEXT'</span>;
+0534 
+0535              <span class="keyword">case</span> {<span class="string">'S2'</span>,<span class="string">'S5'</span>}    
+0536                 <span class="comment">% l= 160 mm dï¿œfocalisants</span>
+0537                 <span class="comment">% Etalonnage HL(I) sur 170 - 300 A</span>
+0538                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0539                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0540                 a7=  0.0;
+0541                 a6=  0.0;
+0542                 a5=  0.0;
+0543                 a4=  -8.8836E-10*(-1);
+0544                 a3=  7.1089E-7;
+0545                 a2=  -2.2277E-4*(-1);
+0546                 a1=  1.8501E-1;
+0547                 a0=  -1.329*(-1);
+0548                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0549                 MagnetType = <span class="string">'SEXT'</span>;    
+0550         
+0551               <span class="keyword">case</span> {<span class="string">'S7'</span>}    
+0552                 <span class="comment">% l= 160 mm dï¿œfocalisant</span>
+0553                 <span class="comment">% Etalonnage HL(I) sur 250 - 350 A</span>
+0554                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0555                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0556                 a7=  0.0;
+0557                 a6=  0.0;
+0558                 a5=  -2.613556E-10;
+0559                 a4=  3.730258E-7*(-1);
+0560                 a3=  -2.1301205E-4;
+0561                 a2=  6.077561E-2*(-1);
+0562                 a1=  -8.5069349;
+0563                 a0=  4.933E+2*(-1);
+0564                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0565                 MagnetType = <span class="string">'SEXT'</span>; 
+0566                 
+0567             <span class="keyword">case</span> <span class="string">'QT'</span>    <span class="comment">% 160 mm dans sextupole</span>
+0568                 <span class="comment">% Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.</span>
+0569                 <span class="comment">% Efficacite = 3 G.m/A @ R=32mm; soit 93.83 G/A</span>
+0570                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0571                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0572                 Leff = 1e-8;
+0573                 a7= 0.0;
+0574                 a6= 0.0;
+0575                 a5= 0.0;
+0576                 a4= 0.0;
+0577                 a3= 0.0;
+0578                 a2= 0.0;
+0579                 a1= 93.83E-4;
+0580                 a0= 0.0;
+0581                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0582 
+0583                 MagnetType = <span class="string">'QT'</span>;
+0584 
+0585             <span class="keyword">case</span> {<span class="string">'HCOR'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0586                 <span class="comment">% Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.</span>
+0587                 <span class="comment">% Efficacitï¿œ = 8.143 G.m/A</span>
+0588                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0589                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0590                 Leff = 0.16;
+0591                 a7= 0.0;
+0592                 a6= 0.0;
+0593                 a5= 0.0;
+0594                 a4= 0.0;
+0595                 a3= 0.0;
+0596                 a2= 0.0;
+0597                 a1= 8.143E-4;
+0598                 a0= 0.0;
+0599                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0600 
+0601                 MagnetType = <span class="string">'COR'</span>;
+0602                 
+0603 
+0604             <span class="keyword">case</span> {<span class="string">'FHCOR'</span>}    <span class="comment">% 10 cm horizontal corrector</span>
+0605                 <span class="comment">% Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps</span>
+0606                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0607                 <span class="comment">% Therefore,</span>
+0608                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0609                 <span class="comment">%       BLeff/Amp = 280e-6 * getbrho(2.75) / 10</span>
+0610                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0611                 <span class="comment">%</span>
+0612                 <span class="comment">% The C coefficients are w.r.t B</span>
+0613                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0614                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0615                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0616                 <span class="comment">% the addition of the DC term</span>
+0617 
+0618                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0619                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0620                 Leff = .10;
+0621                 imax = 10;
+0622                 cormax = 28e-6 ; <span class="comment">% 28 urad for imax = 10 A</span>
+0623                 MagnetType = <span class="string">'COR'</span>;
+0624                 A = [0 cormax*getbrho(2.75)/imax 0];
+0625 
+0626             <span class="keyword">case</span> {<span class="string">'VCOR'</span>}    <span class="comment">% 16 cm vertical corrector</span>
+0627                 <span class="comment">% Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.</span>
+0628                 <span class="comment">% Efficacitï¿œ = 4.642 G.m/A</span>
+0629                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0630                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0631                 Leff = 0.16;
+0632                 a7= 0.0;
+0633                 a6= 0.0;
+0634                 a5= 0.0;
+0635                 a4= 0.0;
+0636                 a3= 0.0;
+0637                 a2= 0.0;
+0638                 a1= 4.642E-4;
+0639                 a0= 0.0;
+0640                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0641 
+0642                 MagnetType = <span class="string">'COR'</span>;
+0643 
+0644             <span class="keyword">case</span> {<span class="string">'FVCOR'</span>}    <span class="comment">% 10 cm vertical corrector</span>
+0645                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0646                 Leff = .10;
+0647                 imax = 10;
+0648                 cormax = 23e-6 ; <span class="comment">% 23 urad for imax = 10 A</span>
+0649                 MagnetType = <span class="string">'COR'</span>;
+0650                 A = [0 cormax*getbrho(2.75)/imax 0];
+0651 
+0652             <span class="keyword">case</span> {<span class="string">'K_INJ'</span>}
+0653                 <span class="comment">% Kicker d'injection</span>
+0654                 <span class="comment">% Ã©talonnage provisoire</span>
+0655                 <span class="comment">% attention l'element n'etant pas dans le modele,definition</span>
+0656                 <span class="comment">% de A ambigue</span>
+0657                 Leff = .6;
+0658                 vmax = 8000;
+0659                 alphamax = 8e-3 ; <span class="comment">% 8 mrad pour 8000 V</span>
+0660                 MagnetType = <span class="string">'K_INJ'</span>;
+0661                 A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+0662                 
+0663              <span class="keyword">case</span> {<span class="string">'K_INJ1'</span>}
+0664                 <span class="comment">% Kickers d'injection 1 et 4</span>
+0665                 Leff = .6;
+0666                 vmax = 7500; <span class="comment">% tension de mesure</span>
+0667                 SBDL = 75.230e-3 ; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0668                 MagnetType = <span class="string">'K_INJ1'</span>;
+0669                 A = [0 -SBDL/vmax 0]*Leff; 
+0670                 
+0671              <span class="keyword">case</span> {<span class="string">'K_INJ2'</span>}
+0672                 <span class="comment">% Kickers d'injection 2 et 3</span>
+0673                 Leff = .6;
+0674                 vmax = 7500;<span class="comment">% tension de mesure</span>
+0675                 SBDL = 74.800e-3 ; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0676                 MagnetType = <span class="string">'K_INJ2'</span>;  
+0677                 A = [0 SBDL/vmax 0]*Leff; 
+0678                 
+0679             <span class="keyword">case</span> {<span class="string">'SEP_P'</span>}
+0680                 <span class="comment">% Septum passif d'injection</span>
+0681                 Leff = .6;
+0682                 vmax = 547; <span class="comment">% tension de mesure V</span>
+0683                 SBDL = 263e-3; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0684                 MagnetType = <span class="string">'SEP_P'</span>;
+0685                 A = [0 SBDL/vmax 0]*Leff; 
+0686                 
+0687              <span class="keyword">case</span> {<span class="string">'SEP_A'</span>}
+0688                 <span class="comment">% Septum actif d'injection</span>
+0689                 Leff = 1.;
+0690                 vmax = 111;
+0691                 MagnetType = <span class="string">'SEP_A'</span>;
+0692                 SBDL = 1147.8e-3 ; <span class="comment">% Somme de Bdl mesurÃ©e Ã  111 V</span>
+0693                 A = [0 SBDL/vmax 0]*Leff; 
+0694 
+0695             <span class="keyword">otherwise</span>
+0696                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0697                 k = 0;
+0698                 MagnetType = <span class="string">''</span>;
+0699                 <span class="keyword">return</span>
+0700         <span class="keyword">end</span>
+0701 
+0702         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0703         C = A / Leff;
+0704 
+0705         MagnetType = upper(MagnetType);
+0706 
+0707 
+0708         <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0709         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0710             C = C / 2;
+0711         <span class="keyword">end</span>
+0712         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'OCTO'</span>)
+0713             C = C / 6;
+0714         <span class="keyword">end</span>
+0715         <span class="keyword">return</span>;
+0716     <span class="keyword">case</span> <span class="string">'Booster'</span>
+0717         <span class="comment">%%%%</span>
+0718         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0719 
+0720             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0721                 <span class="comment">% B[T] = 0.00020 + 0.0013516 I[A]</span>
+0722                 <span class="comment">% B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex</span>
+0723                 Leff = 2.160; <span class="comment">% 2160 mm</span>
+0724                 a8 =  0.0;
+0725                 a7 =  0.0;
+0726                 a6 =  0.0;
+0727                 a5 =  0.0;
+0728                 a4 =  0.0;
+0729                 a3 =  0.0;
+0730                 a2 =  9.2e-8*Leff;
+0731                 a1 =  0.0013051*Leff;
+0732                 a0 =  2.0e-3*Leff;
+0733 
+0734                 A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+0735                 MagnetType = <span class="string">'BEND'</span>;
+0736 
+0737             <span class="keyword">case</span> {<span class="string">'QF'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0738                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0739                 <span class="comment">% G[T/m] = 0.0465 + 0.0516 I[A] Alex</span>
+0740                 Leff=0.400; 
+0741                 a8 =  0.0;
+0742                 a7 =  0.0;
+0743                 a6 =  0.0;
+0744                 a5 =  0.0;
+0745                 a4 =  0.0;
+0746                 a3 =  0.0;
+0747                 a2 =  0.0;
+0748                 a1 =  0.0516*Leff;
+0749                 a0 =  0.0465*Leff;
+0750                 
+0751                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; <span class="comment">%*getbrho(0.1);</span>
+0752                 MagnetType = <span class="string">'QUAD'</span>;
+0753 
+0754             <span class="keyword">case</span> {<span class="string">'QD'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0755                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0756                 <span class="comment">% G[T/m] = 0.0485 + 0.0518 I[A] Alex</span>
+0757                 Leff=0.400; 
+0758                 a8 =  0.0;
+0759                 a7 =  0.0;
+0760                 a6 =  0.0;
+0761                 a5 =  0.0;
+0762                 a4 =  0.0;
+0763                 a3 =  0.0;
+0764                 a2 =  0.0;
+0765                 a1 =  -0.0518*Leff;
+0766                 a0 =  -0.0485*Leff;
+0767                 
+0768                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; <span class="comment">%*getbrho(0.1);</span>
+0769                 MagnetType = <span class="string">'QUAD'</span>;
+0770 
+0771             <span class="keyword">case</span> {<span class="string">'SF'</span>, <span class="string">'SD'</span>}   <span class="comment">% 150 mm sextupole</span>
+0772                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0773                 <span class="comment">% HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)</span>
+0774                 Leff=1.e-8; <span class="comment">% thin lens;</span>
+0775                 a8 =  0.0;
+0776                 a7 =  0.0;
+0777                 a6 =  0.0;
+0778                 a5 =  0.0;
+0779                 a4 =  0.0;
+0780                 a3 =  0.0;
+0781                 a2 =  0.0;
+0782                 a1 =  0.2*2;
+0783                 a0 =  0.0;
+0784                 
+0785                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0786                 MagnetType = <span class="string">'SEXT'</span>;
+0787                 
+0788             <span class="keyword">case</span> {<span class="string">'HCOR'</span>,<span class="string">'VCOR'</span>}    <span class="comment">% ?? cm horizontal corrector</span>
+0789                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0790                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0791                 <span class="comment">% Therefore,</span>
+0792                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0793                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0794                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0795                 <span class="comment">%</span>
+0796                 <span class="comment">% The C coefficients are w.r.t B</span>
+0797                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0798                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0799                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0800                 <span class="comment">% the addition of the DC term</span>
+0801 
+0802                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0803                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0804                 MagnetType = <span class="string">'COR'</span>;
+0805                 <span class="comment">% theta [mrad] = 1.34 I[A] @ 0.1 GeV</span>
+0806                 Leff = 1e-6;
+0807                 a8 =  0.0;
+0808                 a7 =  0.0;
+0809                 a6 =  0.0;
+0810                 a5 =  0.0;
+0811                 a4 =  0.0;
+0812                 a3 =  0.0;
+0813                 a2 =  0.0;
+0814                 a1 =  1.34e-3*getbrho(0.1);
+0815                 a0 =  0;
+0816                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0817                 
+0818             <span class="keyword">otherwise</span>
+0819                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0820                 <span class="comment">%k = 0;</span>
+0821                 <span class="comment">%MagnetType = '';</span>
+0822                 <span class="comment">%return</span>
+0823         <span class="keyword">end</span>
+0824 
+0825         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0826         C = A/ Leff;
+0827  
+0828         <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0829         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0830             C = C / 2;
+0831         <span class="keyword">end</span>
+0832  
+0833         MagnetType = upper(MagnetType);
+0834 
+0835     <span class="keyword">case</span> <span class="string">'LT2'</span>
+0836         <span class="comment">%%%%</span>
+0837         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0838 
+0839             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0840                 <span class="comment">% les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau</span>
+0841                 Leff=1.052433;
+0842                 a7= 0.0;
+0843                 a6=-0.0;
+0844                 a5= 0.0;
+0845                 a4=-0.0;
+0846                 a3= 0.0;
+0847                 a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+0848                 a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0849                 a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0850                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0851                 
+0852 
+0853                 MagnetType = <span class="string">'BEND'</span>;
+0854 
+0855             <span class="keyword">case</span> {<span class="string">'QP'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0856                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0857                 
+0858                 <span class="comment">% G[T/m] = 0.1175 + 0.0517 I[A]</span>
+0859                 <span class="comment">% le rÃ©manent est + fort que pour les quad Booster car les</span>
+0860                 <span class="comment">% courants max sont + eleves</span>
+0861                 Leff=0.400; 
+0862 <span class="comment">%                 a8 =  0.0;</span>
+0863 <span class="comment">%                 a7 =  0.0;</span>
+0864 <span class="comment">%                 a6 =  0.0;</span>
+0865 <span class="comment">%                 a5 =  0.0;</span>
+0866 <span class="comment">%                 a4 =  0.0;</span>
+0867 <span class="comment">%                 a3 =  0.0;</span>
+0868 <span class="comment">%                 a2 =  0.0;</span>
+0869 <span class="comment">%                 a1 =  0.0517*Leff;</span>
+0870 <span class="comment">%                 a0 =  0.1175*Leff;</span>
+0871                 
+0872                 a8 =  0.0;
+0873                 a7 =  0.0;
+0874                 a6 =  0.0;
+0875                 a5 =  0.0;
+0876                 a4 =  -1.3345e-10;
+0877                 a3 =  8.1746e-8;
+0878                 a2 =  -1.6548e-5;
+0879                 a1 =  2.197e-2;
+0880                 a0 =  2.73e-2;
+0881                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+0882                 MagnetType = <span class="string">'QUAD'</span>;
+0883 
+0884             <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0885                 
+0886 
+0887                 
+0888                 <span class="comment">% Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps</span>
+0889                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0890                 <span class="comment">% Therefore,</span>
+0891                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0892                 <span class="comment">%       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10</span>
+0893                 <span class="comment">%       B*Leff = a1 * I   =&gt; a1 = 1.e-3 * getbrho(2.75) / 10</span>
+0894                 <span class="comment">%</span>
+0895                 <span class="comment">% The C coefficients are w.r.t B</span>
+0896                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0897                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0898                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0899                 <span class="comment">% the addition of the DC term</span>
+0900 
+0901                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0902                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0903                 
+0904                 <span class="comment">% environ 32 cm  corrector</span>
+0905                 <span class="comment">% Efficacitï¿œ = 11.06 G.m/A</span>
+0906                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0907                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =</span>
+0908                 <span class="comment">% magnetcoefficien</span>
+0909                 
+0910                 MagnetType = <span class="string">'COR'</span>;
+0911                 
+0912                 Leff = 1e-6; <span class="comment">% 0.1577 m</span>
+0913                 a8 =  0.0;
+0914                 a7 =  0.0;
+0915                 a6 =  0.0;
+0916                 a5 =  0.0;
+0917                 a4 =  0.0;
+0918                 a3 =  0.0;
+0919                 a2 =  0.0;
+0920                 a1 =  110.6e-4/10;
+0921                 a0 =  0;
+0922                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0923                 
+0924             <span class="keyword">otherwise</span>
+0925                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0926                 <span class="comment">%k = 0;</span>
+0927                 <span class="comment">%MagnetType = '';</span>
+0928                 <span class="comment">%return</span>
+0929         <span class="keyword">end</span>
+0930 
+0931         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0932         C = A/ Leff;
+0933 
+0934         MagnetType = upper(MagnetType);
+0935 
+0936     <span class="keyword">otherwise</span>
+0937         error(<span class="string">'Unknown accelerator name %s'</span>, AcceleratorName);
+0938 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_copie.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_copie.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_copie.html	(revision 17)
@@ -0,0 +1,900 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of magnetcoefficients_copie</title>
+  <meta name="keywords" content="magnetcoefficients_copie">
+  <meta name="description" content="MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; magnetcoefficients_copie.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>magnetcoefficients_copie
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+
+ INPUTS
+ 1. MagnetCoreType - Family name or type of magnet
+
+ OUTPUTS
+ 1. C vector coefficients for the polynomial expansion of the magnet field
+    based on magnet measurements
+ 2. Leff - Effective length ie, which is used in AT
+ 3. MagnetType
+ 4. A - vector coefficients for the polynomial expansion of the curviline 
+        integral of the magnet field based on magnet measurements
+
+ C and A are vector coefficients for the polynomial expansion of the magnet field
+ based on magnet measurements.
+
+ The amp2k and k2amp functions convert between the two types of units.
+   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.
+   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.
+
+ The A coefficients are direct from magnet measurements with a DC term:
+   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B&quot;*Leff
+   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+
+ C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;
+   C = A/Leff
+
+ For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+ For quadrupole:  k = B'/ Brho
+ For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)
+                  (all coefficients all divided by 2 for sextupoles)
+
+ MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+   For SOLEIL:   BEND
+                 Q1 - Q10 S1 - S10,
+                 QT, HCOR, VCOR, FHCOR, FVCOR
+
+ Leff is the effective length of the magnet
+
+ See Also <a href="amp2k.html" class="code" title="function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)">amp2k</a>, <a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)</a>
+0002 <span class="comment">%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</span>
+0003 <span class="comment">%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% INPUTS</span>
+0006 <span class="comment">% 1. MagnetCoreType - Family name or type of magnet</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% OUTPUTS</span>
+0009 <span class="comment">% 1. C vector coefficients for the polynomial expansion of the magnet field</span>
+0010 <span class="comment">%    based on magnet measurements</span>
+0011 <span class="comment">% 2. Leff - Effective length ie, which is used in AT</span>
+0012 <span class="comment">% 3. MagnetType</span>
+0013 <span class="comment">% 4. A - vector coefficients for the polynomial expansion of the curviline</span>
+0014 <span class="comment">%        integral of the magnet field based on magnet measurements</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">% C and A are vector coefficients for the polynomial expansion of the magnet field</span>
+0017 <span class="comment">% based on magnet measurements.</span>
+0018 <span class="comment">%</span>
+0019 <span class="comment">% The amp2k and k2amp functions convert between the two types of units.</span>
+0020 <span class="comment">%   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.</span>
+0021 <span class="comment">%   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.</span>
+0022 <span class="comment">%</span>
+0023 <span class="comment">% The A coefficients are direct from magnet measurements with a DC term:</span>
+0024 <span class="comment">%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B&quot;*Leff</span>
+0025 <span class="comment">%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:</span>
+0028 <span class="comment">%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;</span>
+0029 <span class="comment">%   C = A/Leff</span>
+0030 <span class="comment">%</span>
+0031 <span class="comment">% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)</span>
+0032 <span class="comment">% For quadrupole:  k = B'/ Brho</span>
+0033 <span class="comment">% For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)</span>
+0034 <span class="comment">%                  (all coefficients all divided by 2 for sextupoles)</span>
+0035 <span class="comment">%</span>
+0036 <span class="comment">% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)</span>
+0037 <span class="comment">%   For SOLEIL:   BEND</span>
+0038 <span class="comment">%                 Q1 - Q10 S1 - S10,</span>
+0039 <span class="comment">%                 QT, HCOR, VCOR, FHCOR, FVCOR</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">% Leff is the effective length of the magnet</span>
+0042 <span class="comment">%</span>
+0043 <span class="comment">% See Also amp2k, k2amp</span>
+0044 
+0045 <span class="comment">%</span>
+0046 <span class="comment">% Written by M. Yoon 4/8/03</span>
+0047 <span class="comment">% Adapted By Laurent S. Nadolski</span>
+0048 <span class="comment">%</span>
+0049 <span class="comment">% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06</span>
+0050 <span class="comment">%</span>
+0051 <span class="comment">% Add a switch on accelerator</span>
+0052 
+0053 <span class="comment">% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values</span>
+0054 <span class="comment">% Or use Tango K value set to -1</span>
+0055 
+0056 
+0057 <span class="keyword">if</span> nargin &lt; 1
+0058     error(<span class="string">'MagnetCoreType input required'</span>);
+0059 <span class="keyword">end</span>
+0060 
+0061 <span class="comment">% For a string matrix</span>
+0062 <span class="keyword">if</span> iscell(MagnetCoreType)
+0063     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0064         <span class="keyword">for</span> j = 1:size(MagnetCoreType,2)
+0065             [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType{i});
+0066         <span class="keyword">end</span>
+0067     <span class="keyword">end</span>
+0068     <span class="keyword">return</span>
+0069 <span class="keyword">end</span>
+0070 
+0071 <span class="comment">% For a string matrix</span>
+0072 <span class="keyword">if</span> size(MagnetCoreType,1) &gt; 1
+0073     C=[]; Leff=[]; MagnetType=[]; A=[];
+0074     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0075         [C1, Leff1, MagnetType1, A1] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType(i,:));
+0076         C(i,:) = C1;
+0077         Leff(i,:) = Leff1;
+0078         MagnetType = strvcat(MagnetType, MagnetType1);
+0079         A(i,:) = A1;
+0080     <span class="keyword">end</span>
+0081     <span class="keyword">return</span>
+0082 <span class="keyword">end</span>
+0083 
+0084 <span class="comment">%% get accelerator name</span>
+0085 AcceleratorName = getfamilydata(<span class="string">'Machine'</span>);
+0086 
+0087 <span class="keyword">switch</span> AcceleratorName
+0088     <span class="keyword">case</span> <span class="string">'LT1'</span>
+0089         <span class="comment">%%%%</span>
+0090         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0091 
+0092             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0093                 Leff = 0.30; <span class="comment">% 300 mm</span>
+0094                 <span class="comment">% B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)</span>
+0095                 a8 =  0.0;
+0096                 a7 =  0.0;
+0097                 a6 =  0.0;
+0098                 a5 =  0.0;
+0099                 a4 =  0.0;
+0100                 a3 =  0.0;
+0101                 a2 =  0.0;
+0102                 a1 =  4.8861e-4;
+0103                 a0 =  1.19e-4;
+0104 
+0105                 A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+0106                 MagnetType = <span class="string">'BEND'</span>;
+0107 
+0108             <span class="keyword">case</span> {<span class="string">'QP'</span>}   <span class="comment">% 150 mm quadrupole</span>
+0109                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0110                 Leff=0.150; <span class="comment">% 162 mm;</span>
+0111                 a8 =  0.0;
+0112                 a7 =  0.0;
+0113                 a6 =  0.0;
+0114                 a5 =  0.0;
+0115 <span class="comment">%                 a4 =  1.49e-6;</span>
+0116 <span class="comment">%                 a3 =  2.59e-5;</span>
+0117 <span class="comment">%                 a2 =  1.93e-4;</span>
+0118 <span class="comment">%                 a1 =  4.98e-2;</span>
+0119 <span class="comment">%                 a0 =  0.0;</span>
+0120                 a4 =  -1.49e-6;
+0121                 a3 =  2.59e-5;
+0122                 a2 =  -1.93e-4;
+0123                 a1 =  4.98e-2;
+0124                 a0 =  8.13e-4;              
+0125                 
+0126                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0127                 MagnetType = <span class="string">'QUAD'</span>;
+0128 
+0129             <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0130                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0131                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0132                 <span class="comment">% Therefore,</span>
+0133                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0134                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0135                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0136                 <span class="comment">%</span>
+0137                 <span class="comment">% The C coefficients are w.r.t B</span>
+0138                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0139                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0140                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0141                 <span class="comment">% the addition of the DC term</span>
+0142 
+0143                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0144                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0145                 MagnetType = <span class="string">'COR'</span>;
+0146                 
+0147                 Leff = 1e-6; <span class="comment">% 0.1577 m</span>
+0148                 a8 =  0.0;
+0149                 a7 =  0.0;
+0150                 a6 =  0.0;
+0151                 a5 =  0.0;
+0152                 a4 =  0.0;
+0153                 a3 =  0.0;
+0154                 a2 =  0.0;
+0155                 a1 =  4.49e-4;
+0156                 a0 =  0;
+0157                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0158                 
+0159             <span class="keyword">otherwise</span>
+0160                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0161                 <span class="comment">%k = 0;</span>
+0162                 <span class="comment">%MagnetType = '';</span>
+0163                 <span class="comment">%return</span>
+0164         <span class="keyword">end</span>
+0165 
+0166         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0167         C = A/ Leff;
+0168 
+0169         MagnetType = upper(MagnetType);
+0170     
+0171     <span class="keyword">case</span> <span class="string">'Ring'</span>
+0172         <span class="comment">%%%%</span>
+0173         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0174 
+0175             <span class="keyword">case</span> <span class="string">'BEND'</span>   
+0176                 <span class="comment">% Moyenne des longueurs magnï¿œtiques mesurï¿œes = 1055.548mm</span>
+0177                 <span class="comment">% Dï¿œcalage en champ entre le dipï¿œle de rï¿œfï¿œrence et les</span>
+0178                 <span class="comment">% dipï¿œles de l'Anneau = DB/B= +1.8e-03.</span>
+0179                 <span class="comment">% On part de l'ï¿œtalonnage B(I) effectuï¿œ sur le dipï¿œle de</span>
+0180                 <span class="comment">% rï¿œfï¿œrence dans la zone de courant 516 - 558 A</span>
+0181                 <span class="comment">% les coefficients du fit doivent ï¿œtre affectï¿œs du facteur</span>
+0182                 <span class="comment">% (1-1.8e-3) pour passer du dipï¿œle de rï¿œfï¿œrence ï¿œ l'Anneau</span>
+0183                 <span class="comment">% et du facteur Leff pour passer ï¿œ l'intï¿œgrale de champ.</span>
+0184                 <span class="comment">%</span>
+0185                 
+0186                 <span class="comment">% B=1.7063474 T correspond ï¿œ 2.75 GeV</span>
+0187                 <span class="comment">% ?  longueur magnÃ©tique du model : Leff = 1.052433;</span>
+0188                 Leff=1.055548;
+0189                 a7= 0.0;
+0190                 a6=-0.0;
+0191                 a5= 0.0;
+0192                 a4=-0.0;
+0193                 a3= 0.0;
+0194                 a2=-9.7816E-6*(1-1.8e-3)*Leff;
+0195                 a1= 1.26066E-02*(1-1.8E-3)*Leff;
+0196                 a0= -2.24944*(1-1.8E-3)*Leff;
+0197                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0198 
+0199                 MagnetType = <span class="string">'BEND'</span>;
+0200 
+0201             <span class="keyword">case</span> {<span class="string">'Q1'</span>,<span class="string">'Q6'</span>}  
+0202                 <span class="comment">% Familles Q1 et Q6 l= 320 mm</span>
+0203                 <span class="comment">% Etalonnage GL(I) sur 90 - 150 A quadrupï¿œle court</span>
+0204                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q1 et Q6 dï¿œfocalisants</span>
+0205                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0206                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0207                 
+0208                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0209                 Leff=0.320;
+0210                 a7=  0.0;
+0211                 a6=  0.0;
+0212                 a5=  0.0;
+0213                 a4=  0.0;
+0214                 a3=  0.0;
+0215                 a2=  -8.6E-7*(-1);
+0216                 a1=  2.7664E-2;
+0217                 a0=  -3.3E-3*(-1);
+0218                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0219                 
+0220                 MagnetType = <span class="string">'quad'</span>;
+0221                 
+0222              <span class="keyword">case</span> {<span class="string">'Q8'</span>,<span class="string">'Q9'</span>}  
+0223                 <span class="comment">% Familles Q8 et Q9 l= 320 mm</span>
+0224                 <span class="comment">% Etalonnage GL(I) sur 160 - 200 A quadrupï¿œle court</span>
+0225                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q8 et Q9 dï¿œfocalisants</span>
+0226                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0227                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0228                 
+0229                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0230                 Leff=0.320;
+0231                 a7=  0.0;
+0232                 a6=  0.0;
+0233                 a5=  0.0;
+0234                 a4=  0.0;
+0235                 a3=  -8.843E-8;
+0236                 a2=  3.6389E-5*(-1);
+0237                 a1=  2.2448E-2;
+0238                 a0=  2.382E-1*(-1);
+0239                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0240                 
+0241                 MagnetType = <span class="string">'quad'</span>;  
+0242                 
+0243             <span class="keyword">case</span> {<span class="string">'Q3'</span>}  
+0244                 <span class="comment">% Famille Q3 l= 320 mm</span>
+0245                 <span class="comment">% Etalonnage GL(I) sur 50 - 100 A quadrupï¿œle court</span>
+0246                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q3 est dï¿œfocalisant</span>
+0247                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0248                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0249                 
+0250                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0251                 Leff=0.320;
+0252                 a7=  0.0;
+0253                 a6=  0.0;
+0254                 a5=  0.0;
+0255                 a4=  0.0;
+0256                 a3=  0.;
+0257                 a2=  1.4E-7*(-1);
+0258                 a1=  2.7471E-2;
+0259                 a0=  5.83E-3*(-1);
+0260                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0261                 
+0262                 MagnetType = <span class="string">'quad'</span>; 
+0263                 
+0264              <span class="keyword">case</span> {<span class="string">'Q4'</span>}  
+0265                 <span class="comment">% Famille Q4 l= 320 mm</span>
+0266                 <span class="comment">% Etalonnage GL(I) sur 120 - 170 A quadrupï¿œle court</span>
+0267                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q4 est dï¿œfocalisant</span>
+0268                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0269                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0270                 
+0271                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0272                 Leff=0.320;
+0273                 a7=  0.0;
+0274                 a6=  0.0;
+0275                 a5=  0.0;
+0276                 a4=  0.0;
+0277                 a3=  -5.2680E-8;
+0278                 a2=  1.9620E-5*(-1);
+0279                 a1=  2.5016E-2;
+0280                 a0=  1.1046E-1*(-1);
+0281                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0282                 
+0283                 MagnetType = <span class="string">'quad'</span>; 
+0284                 
+0285             <span class="keyword">case</span> {<span class="string">'Q5'</span>,<span class="string">'Q10'</span>}   <span class="comment">% 320 mm quadrupole</span>
+0286                  <span class="comment">% Familles Q5 et Q10 l= 320 mm</span>
+0287                 <span class="comment">% Etalonnage GL(I) sur 180 - 230 A quadrupï¿œle court</span>
+0288                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q5 et Q10 sont</span>
+0289                 <span class="comment">% focalisants</span>
+0290                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0291                 Leff=0.320;
+0292                 a7=  0.0;
+0293                 a6=  0.0;
+0294                 a5=  0.0;
+0295                 a4=  -8.0497E-09;
+0296                 a3= 6.01284E-06;
+0297                 a2=  -1.696898E-03;
+0298                 a1=  2.41175E-01;
+0299                 a0=  -1.01064E+01;
+0300                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0301 
+0302                 MagnetType = <span class="string">'quad'</span>;    
+0303     
+0304 
+0305                 
+0306             <span class="keyword">case</span> {<span class="string">'Q2'</span>}   <span class="comment">% l= 460 mm</span>
+0307                 <span class="comment">% quadrupï¿œle focalisant</span>
+0308                 <span class="comment">% Etalonnage GL(I) sur 140 - 190 A quadrupï¿œle long</span>
+0309                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0310                 Leff=0.460;
+0311                 a7=  0.0;
+0312                 a6=  0.0;
+0313                 a5= -0.0;
+0314                 a4=  0.0;
+0315                 a3= -2.7609E-7;
+0316                 a2=  1.17098E-4;
+0317                 a1=  2.7718E-2;
+0318                 a0=  8.2470E-1;
+0319                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0320                 MagnetType = <span class="string">'quad'</span>;
+0321 
+0322             <span class="keyword">case</span> {<span class="string">'Q7'</span>}   <span class="comment">% l= 460 mm</span>
+0323                 <span class="comment">% quadrupï¿œle focalisant</span>
+0324                 <span class="comment">% Etalonnage GL(I) sur 190 - 230 A quadrupï¿œle long</span>
+0325                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0326                 Leff=0.460;
+0327                 a7=  0.0;
+0328                 a6=  0.0;
+0329                 a5= 1.50427350E-9;
+0330                 a4=  -1.52722610E-6;
+0331                 a3= 6.16874120E-4;
+0332                 a2=  -1.24044936E-1;
+0333                 a1=  1.24707096E+01;
+0334                 a0=  -4.96304380E+02;
+0335                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0336                 MagnetType = <span class="string">'quad'</span>;
+0337 
+0338                 <span class="comment">% Sextupï¿œles : on multiplie les coefficients par 2 car ils</span>
+0339                 <span class="comment">% sont exprimï¿œs en B&quot;L et non B&quot;L/2</span>
+0340                 
+0341             <span class="keyword">case</span> {<span class="string">'S1'</span>,<span class="string">'S10'</span>}    
+0342                 <span class="comment">% l= 160 mm focalisants</span>
+0343                 <span class="comment">% Etalonnage HL(I) sur 40 - 160 A</span>
+0344                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0345                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0346                 a7=  0.0;
+0347                 a6=  0.0;
+0348                 a5=  0.0;
+0349                 a4=  0.0;
+0350                 a3=  0.0;
+0351                 a2=  -3.773E-6;
+0352                 a1=  1.5476E-1;
+0353                 a0=  2.36991E-1;
+0354                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0355                 MagnetType = <span class="string">'SEXT'</span>;
+0356                 
+0357                 
+0358             <span class="keyword">case</span> {<span class="string">'S3'</span>,<span class="string">'S9'</span>}    
+0359                 <span class="comment">% l= 160 mm dï¿œfocalisants</span>
+0360                 <span class="comment">% Etalonnage HL(I) sur 80 - 250 A</span>
+0361                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0362                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0363                 a7=  0.0;
+0364                 a6=  0.0;
+0365                 a5=  0.0;
+0366                 a4=  0.0;
+0367                 a3=  -2.6735E-8;
+0368                 a2=  5.8793E-6*(-1);
+0369                 a1=  1.5364E-1;
+0370                 a0=  2.7867E-1*(-1);
+0371                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0372                 MagnetType = <span class="string">'SEXT'</span>;
+0373                 
+0374              <span class="keyword">case</span> {<span class="string">'S6'</span>}    
+0375                 <span class="comment">% l= 160 mm focalisant</span>
+0376                 <span class="comment">% Etalonnage HL(I) sur 80 - 250 A</span>
+0377                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0378                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0379                 a7=  0.0;
+0380                 a6=  0.0;
+0381                 a5=  0.0;
+0382                 a4=  0.0;
+0383                 a3=  -2.6735E-8;
+0384                 a2=  5.8793E-6;
+0385                 a1=  1.5364E-1;
+0386                 a0=  2.7867E-1;
+0387                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0388                 MagnetType = <span class="string">'SEXT'</span>;
+0389 
+0390                 
+0391               <span class="keyword">case</span> {<span class="string">'S4'</span>,<span class="string">'S8'</span>}    
+0392                 <span class="comment">% l= 160 mm focalisants</span>
+0393                 <span class="comment">% Etalonnage HL(I) sur 170 - 300 A</span>
+0394                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0395                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0396                 a7=  0.0;
+0397                 a6=  0.0;
+0398                 a5=  0.0;
+0399                 a4=  -8.8836E-10;
+0400                 a3=  7.1089E-7;
+0401                 a2=  -2.2277E-4;
+0402                 a1=  1.8501E-1;
+0403                 a0=  -1.329;
+0404                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0405                 MagnetType = <span class="string">'SEXT'</span>;
+0406 
+0407              <span class="keyword">case</span> {<span class="string">'S2'</span>,<span class="string">'S5'</span>}    
+0408                 <span class="comment">% l= 160 mm dï¿œfocalisants</span>
+0409                 <span class="comment">% Etalonnage HL(I) sur 170 - 300 A</span>
+0410                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0411                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0412                 a7=  0.0;
+0413                 a6=  0.0;
+0414                 a5=  0.0;
+0415                 a4=  -8.8836E-10*(-1);
+0416                 a3=  7.1089E-7;
+0417                 a2=  -2.2277E-4*(-1);
+0418                 a1=  1.8501E-1;
+0419                 a0=  -1.329*(-1);
+0420                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0421                 MagnetType = <span class="string">'SEXT'</span>;    
+0422         
+0423               <span class="keyword">case</span> {<span class="string">'S7'</span>}    
+0424                 <span class="comment">% l= 160 mm dï¿œfocalisant</span>
+0425                 <span class="comment">% Etalonnage HL(I) sur 250 - 350 A</span>
+0426                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0427                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0428                 a7=  0.0;
+0429                 a6=  0.0;
+0430                 a5=  -2.613556E-10;
+0431                 a4=  3.730258E-7*(-1);
+0432                 a3=  -2.1301205E-4;
+0433                 a2=  6.077561E-2*(-1);
+0434                 a1=  -8.5069349;
+0435                 a0=  4.933E+2*(-1);
+0436                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0437                 MagnetType = <span class="string">'SEXT'</span>; 
+0438                 
+0439             <span class="keyword">case</span> <span class="string">'QT'</span>    <span class="comment">% 160 mm dans sextupole</span>
+0440                 <span class="comment">% Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.</span>
+0441                 <span class="comment">% Efficacitï¿œ = 3 G.m/A @ R=32mm; soit 93.83 G/A</span>
+0442                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0443                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0444                 Leff = 0.16;
+0445                 a7= 0.0;
+0446                 a6= 0.0;
+0447                 a5= 0.0;
+0448                 a4= 0.0;
+0449                 a3= 0.0;
+0450                 a2= 0.0;
+0451                 a1= 93.83E-4;
+0452                 a0= 0.0;
+0453                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0454 
+0455                 MagnetType = <span class="string">'QT'</span>;
+0456 
+0457             <span class="keyword">case</span> {<span class="string">'HCOR'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0458                 <span class="comment">% Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.</span>
+0459                 <span class="comment">% Efficacitï¿œ = 8.143 G.m/A</span>
+0460                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0461                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0462                 Leff = 0.16;
+0463                 a7= 0.0;
+0464                 a6= 0.0;
+0465                 a5= 0.0;
+0466                 a4= 0.0;
+0467                 a3= 0.0;
+0468                 a2= 0.0;
+0469                 a1= 8.143E-4;
+0470                 a0= 0.0;
+0471                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0472 
+0473                 MagnetType = <span class="string">'COR'</span>;
+0474                 
+0475 
+0476             <span class="keyword">case</span> {<span class="string">'FHCOR'</span>}    <span class="comment">% 10 cm horizontal corrector</span>
+0477                 <span class="comment">% Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps</span>
+0478                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0479                 <span class="comment">% Therefore,</span>
+0480                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0481                 <span class="comment">%       BLeff/Amp = 280e-6 * getbrho(2.75) / 10</span>
+0482                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0483                 <span class="comment">%</span>
+0484                 <span class="comment">% The C coefficients are w.r.t B</span>
+0485                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0486                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0487                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0488                 <span class="comment">% the addition of the DC term</span>
+0489 
+0490                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0491                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0492                 Leff = .10;
+0493                 imax = 10;
+0494                 cormax = 28e-6 ; <span class="comment">% 28 urad for imax = 10 A</span>
+0495                 MagnetType = <span class="string">'COR'</span>;
+0496                 A = [0 cormax*getbrho(2.75)/imax 0];
+0497 
+0498             <span class="keyword">case</span> {<span class="string">'VCOR'</span>}    <span class="comment">% 16 cm vertical corrector</span>
+0499                 <span class="comment">% Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.</span>
+0500                 <span class="comment">% Efficacitï¿œ = 4.642 G.m/A</span>
+0501                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0502                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0503                 Leff = 0.16;
+0504                 a7= 0.0;
+0505                 a6= 0.0;
+0506                 a5= 0.0;
+0507                 a4= 0.0;
+0508                 a3= 0.0;
+0509                 a2= 0.0;
+0510                 a1= 4.642E-4;
+0511                 a0= 0.0;
+0512                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0513 
+0514                 MagnetType = <span class="string">'COR'</span>;
+0515 
+0516             <span class="keyword">case</span> {<span class="string">'FVCOR'</span>}    <span class="comment">% 10 cm vertical corrector</span>
+0517                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0518                 Leff = .10;
+0519                 imax = 10;
+0520                 cormax = 23e-6 ; <span class="comment">% 23 urad for imax = 10 A</span>
+0521                 MagnetType = <span class="string">'COR'</span>;
+0522                 A = [0 cormax*getbrho(2.75)/imax 0];
+0523 
+0524             <span class="keyword">case</span> {<span class="string">'K_INJ'</span>}
+0525                 <span class="comment">% Kicker d'injection</span>
+0526                 <span class="comment">% Ã©talonnage provisoire</span>
+0527                 <span class="comment">% attention l'element n'etant pas dans le modele,definition</span>
+0528                 <span class="comment">% de A ambigue</span>
+0529                 Leff = .6;
+0530                 vmax = 8000;
+0531                 alphamax = 8e-3 ; <span class="comment">% 8 mrad pour 8000 V</span>
+0532                 MagnetType = <span class="string">'K_INJ'</span>;
+0533                 A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+0534                 
+0535              <span class="keyword">case</span> {<span class="string">'K_INJ1'</span>}
+0536                 <span class="comment">% Kickers d'injection 1 et 4</span>
+0537                 Leff = .6;
+0538                 vmax = 7500; <span class="comment">% tension de mesure</span>
+0539                 SBDL = 75.230e-3 ; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0540                 MagnetType = <span class="string">'K_INJ1'</span>;
+0541                 A = [0 -SBDL/vmax 0]*Leff; 
+0542                 
+0543              <span class="keyword">case</span> {<span class="string">'K_INJ2'</span>}
+0544                 <span class="comment">% Kickers d'injection 2 et 3</span>
+0545                 Leff = .6;
+0546                 vmax = 7500;<span class="comment">% tension de mesure</span>
+0547                 SBDL = 74.800e-3 ; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0548                 MagnetType = <span class="string">'K_INJ2'</span>;  
+0549                 A = [0 SBDL/vmax 0]*Leff; 
+0550                 
+0551             <span class="keyword">case</span> {<span class="string">'SEP_P'</span>}
+0552                 <span class="comment">% Septum passif d'injection</span>
+0553                 Leff = .6;
+0554                 vmax = 547; <span class="comment">% tension de mesure V</span>
+0555                 SBDL = 263e-3; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0556                 MagnetType = <span class="string">'SEP_P'</span>;
+0557                 A = [0 SBDL/vmax 0]*Leff; 
+0558                 
+0559              <span class="keyword">case</span> {<span class="string">'SEP_A'</span>}
+0560                 <span class="comment">% Septum actif d'injection</span>
+0561                 Leff = 1.;
+0562                 vmax = 111;
+0563                 MagnetType = <span class="string">'SEP_A'</span>;
+0564                 SBDL = 1147.8e-3 ; <span class="comment">% Somme de Bdl mesurÃ©e Ã  111 V</span>
+0565                 A = [0 SBDL/vmax 0]*Leff; 
+0566 
+0567             <span class="keyword">otherwise</span>
+0568                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0569                 k = 0;
+0570                 MagnetType = <span class="string">''</span>;
+0571                 <span class="keyword">return</span>
+0572         <span class="keyword">end</span>
+0573 
+0574         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0575         C = A / Leff;
+0576 
+0577         MagnetType = upper(MagnetType);
+0578 
+0579 
+0580         <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0581         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0582             C = C / 2;
+0583         <span class="keyword">end</span>
+0584         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'OCTO'</span>)
+0585             C = C / 6;
+0586         <span class="keyword">end</span>
+0587         <span class="keyword">return</span>;
+0588     <span class="keyword">case</span> <span class="string">'Booster'</span>
+0589         <span class="comment">%%%%</span>
+0590         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0591 
+0592             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0593                 <span class="comment">% B[T] = 0.00020 + 0.0013516 I[A]</span>
+0594                 <span class="comment">% B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex</span>
+0595                 Leff = 2.160; <span class="comment">% 2160 mm</span>
+0596                 a8 =  0.0;
+0597                 a7 =  0.0;
+0598                 a6 =  0.0;
+0599                 a5 =  0.0;
+0600                 a4 =  0.0;
+0601                 a3 =  0.0;
+0602                 a2 =  9.2e-8*Leff;
+0603                 a1 =  0.0013051*Leff;
+0604                 a0 =  2.0e-3*Leff;
+0605 
+0606                 A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+0607                 MagnetType = <span class="string">'BEND'</span>;
+0608 
+0609             <span class="keyword">case</span> {<span class="string">'QF'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0610                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0611                 <span class="comment">% G[T/m] = 0.0465 + 0.0516 I[A] Alex</span>
+0612                 Leff=0.400; 
+0613                 a8 =  0.0;
+0614                 a7 =  0.0;
+0615                 a6 =  0.0;
+0616                 a5 =  0.0;
+0617                 a4 =  0.0;
+0618                 a3 =  0.0;
+0619                 a2 =  0.0;
+0620                 a1 =  0.0516*Leff;
+0621                 a0 =  0.0465*Leff;
+0622                 
+0623                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; <span class="comment">%*getbrho(0.1);</span>
+0624                 MagnetType = <span class="string">'QUAD'</span>;
+0625 
+0626             <span class="keyword">case</span> {<span class="string">'QD'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0627                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0628                 <span class="comment">% G[T/m] = 0.0485 + 0.0518 I[A] Alex</span>
+0629                 Leff=0.400; 
+0630                 a8 =  0.0;
+0631                 a7 =  0.0;
+0632                 a6 =  0.0;
+0633                 a5 =  0.0;
+0634                 a4 =  0.0;
+0635                 a3 =  0.0;
+0636                 a2 =  0.0;
+0637                 a1 =  -0.0518*Leff;
+0638                 a0 =  -0.0485*Leff;
+0639                 
+0640                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; <span class="comment">%*getbrho(0.1);</span>
+0641                 MagnetType = <span class="string">'QUAD'</span>;
+0642 
+0643             <span class="keyword">case</span> {<span class="string">'SF'</span>, <span class="string">'SD'</span>}   <span class="comment">% 150 mm sextupole</span>
+0644                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0645                 <span class="comment">% HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)</span>
+0646                 Leff=1.e-8; <span class="comment">% thin lens;</span>
+0647                 a8 =  0.0;
+0648                 a7 =  0.0;
+0649                 a6 =  0.0;
+0650                 a5 =  0.0;
+0651                 a4 =  0.0;
+0652                 a3 =  0.0;
+0653                 a2 =  0.0;
+0654                 a1 =  0.2*2;
+0655                 a0 =  0.0;
+0656                 
+0657                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0658                 MagnetType = <span class="string">'SEXT'</span>;
+0659                 
+0660             <span class="keyword">case</span> {<span class="string">'HCOR'</span>,<span class="string">'VCOR'</span>}    <span class="comment">% ?? cm horizontal corrector</span>
+0661                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0662                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0663                 <span class="comment">% Therefore,</span>
+0664                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0665                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0666                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0667                 <span class="comment">%</span>
+0668                 <span class="comment">% The C coefficients are w.r.t B</span>
+0669                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0670                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0671                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0672                 <span class="comment">% the addition of the DC term</span>
+0673 
+0674                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0675                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0676                 MagnetType = <span class="string">'COR'</span>;
+0677                 <span class="comment">% theta [mrad] = 1.34 I[A] @ 0.1 GeV</span>
+0678                 Leff = 1e-6;
+0679                 a8 =  0.0;
+0680                 a7 =  0.0;
+0681                 a6 =  0.0;
+0682                 a5 =  0.0;
+0683                 a4 =  0.0;
+0684                 a3 =  0.0;
+0685                 a2 =  0.0;
+0686                 a1 =  1.34e-3*getbrho(0.1);
+0687                 a0 =  0;
+0688                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0689                 
+0690             <span class="keyword">otherwise</span>
+0691                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0692                 <span class="comment">%k = 0;</span>
+0693                 <span class="comment">%MagnetType = '';</span>
+0694                 <span class="comment">%return</span>
+0695         <span class="keyword">end</span>
+0696 
+0697         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0698         C = A/ Leff;
+0699  
+0700         <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0701         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0702             C = C / 2;
+0703         <span class="keyword">end</span>
+0704  
+0705         MagnetType = upper(MagnetType);
+0706 
+0707     <span class="keyword">case</span> <span class="string">'LT2'</span>
+0708         <span class="comment">%%%%</span>
+0709         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0710 
+0711             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0712                 <span class="comment">% les coefficients sont recopiÃ©s de l'anneau</span>
+0713                 <span class="comment">% la longueur magnÃ©tique est diffÃ©rente du fait de la</span>
+0714                 <span class="comment">% dÃ©viation (et courant) diffÃ©rents</span>
+0715                 
+0716                 Leff=1.052435;
+0717                 a7= 0.0;
+0718                 a6=-0.0;
+0719                 a5= 0.0;
+0720                 a4=-0.0;
+0721                 a3= 0.0;
+0722                 a2=-9.7816E-6*(1-1.8e-3)*Leff;
+0723                 a1= 1.26066E-02*(1-1.8E-3)*Leff;
+0724                 a0= -2.24944*(1-1.8E-3)*Leff;
+0725                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0726                 MagnetType = <span class="string">'BEND'</span>;
+0727 
+0728             <span class="keyword">case</span> {<span class="string">'QP'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0729                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0730                 
+0731                 <span class="comment">% G[T/m] = 0.1175 + 0.0517 I[A]</span>
+0732                 <span class="comment">% le rÃ©manent est + fort que pour les quad Booster car les</span>
+0733                 <span class="comment">% courants max sont + eleves</span>
+0734                 Leff=0.400; 
+0735 <span class="comment">%                 a8 =  0.0;</span>
+0736 <span class="comment">%                 a7 =  0.0;</span>
+0737 <span class="comment">%                 a6 =  0.0;</span>
+0738 <span class="comment">%                 a5 =  0.0;</span>
+0739 <span class="comment">%                 a4 =  0.0;</span>
+0740 <span class="comment">%                 a3 =  0.0;</span>
+0741 <span class="comment">%                 a2 =  0.0;</span>
+0742 <span class="comment">%                 a1 =  0.0517*Leff;</span>
+0743 <span class="comment">%                 a0 =  0.1175*Leff;</span>
+0744                 
+0745                 a8 =  0.0;
+0746                 a7 =  0.0;
+0747                 a6 =  0.0;
+0748                 a5 =  0.0;
+0749                 a4 =  -1.3345e-10;
+0750                 a3 =  8.1746e-8;
+0751                 a2 =  -1.6548e-5;
+0752                 a1 =  2.197e-2;
+0753                 a0 =  2.73e-2;
+0754                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+0755                 MagnetType = <span class="string">'QUAD'</span>;
+0756 
+0757             <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0758                 
+0759                 
+0760                 
+0761                 <span class="comment">% A FAIRE !!!!!!!!!!</span>
+0762                 
+0763                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0764                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0765                 <span class="comment">% Therefore,</span>
+0766                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0767                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0768                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0769                 <span class="comment">%</span>
+0770                 <span class="comment">% The C coefficients are w.r.t B</span>
+0771                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0772                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0773                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0774                 <span class="comment">% the addition of the DC term</span>
+0775 
+0776                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0777                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0778                 
+0779                 <span class="comment">% 16 cm horizontal corrector</span>
+0780                 <span class="comment">% Efficacitï¿œ = 8.143 G.m/A</span>
+0781                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0782                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =</span>
+0783                 <span class="comment">% magnetcoefficien</span>
+0784                 
+0785                 MagnetType = <span class="string">'COR'</span>;
+0786                 
+0787                 Leff = 1e-6; <span class="comment">% 0.1577 m</span>
+0788                 a8 =  0.0;
+0789                 a7 =  0.0;
+0790                 a6 =  0.0;
+0791                 a5 =  0.0;
+0792                 a4 =  0.0;
+0793                 a3 =  0.0;
+0794                 a2 =  0.0;
+0795                 a1 =  4.49e-4;
+0796                 a0 =  0;
+0797                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0798                 
+0799             <span class="keyword">otherwise</span>
+0800                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0801                 <span class="comment">%k = 0;</span>
+0802                 <span class="comment">%MagnetType = '';</span>
+0803                 <span class="comment">%return</span>
+0804         <span class="keyword">end</span>
+0805 
+0806         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0807         C = A/ Leff;
+0808 
+0809         MagnetType = upper(MagnetType);
+0810 
+0811     <span class="keyword">otherwise</span>
+0812         error(<span class="string">'Unknown accelerator name %s'</span>, AcceleratorName);
+0813 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_pascale_11-09-06.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_pascale_11-09-06.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_pascale_11-09-06.html	(revision 17)
@@ -0,0 +1,1024 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of magnetcoefficients_pascale_11-09-06</title>
+  <meta name="keywords" content="magnetcoefficients_pascale_11-09-06">
+  <meta name="description" content="MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; magnetcoefficients_pascale_11-09-06.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>magnetcoefficients_pascale_11-09-06
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+
+ INPUTS
+ 1. MagnetCoreType - Family name or type of magnet
+
+ OUTPUTS
+ 1. C vector coefficients for the polynomial expansion of the magnet field
+    based on magnet measurements
+ 2. Leff - Effective length ie, which is used in AT
+ 3. MagnetType
+ 4. A - vector coefficients for the polynomial expansion of the curviline 
+        integral of the magnet field based on magnet measurements
+
+ C and A are vector coefficients for the polynomial expansion of the magnet field
+ based on magnet measurements.
+
+ The amp2k and k2amp functions convert between the two types of units.
+   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.
+   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.
+
+ The A coefficients are direct from magnet measurements with a DC term:
+   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B&quot;*Leff
+   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+
+ C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;
+   C = A/Leff
+
+ For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+ For quadrupole:  k = B'/ Brho
+ For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)
+                  (all coefficients all divided by 2 for sextupoles)
+
+ MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+   For SOLEIL:   BEND
+                 Q1 - Q10 S1 - S10,
+                 QT, HCOR, VCOR, FHCOR, FVCOR
+
+ Leff is the effective length of the magnet
+
+ See Also <a href="amp2k.html" class="code" title="function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)">amp2k</a>, <a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)</a>
+0002 <span class="comment">%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</span>
+0003 <span class="comment">%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% INPUTS</span>
+0006 <span class="comment">% 1. MagnetCoreType - Family name or type of magnet</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% OUTPUTS</span>
+0009 <span class="comment">% 1. C vector coefficients for the polynomial expansion of the magnet field</span>
+0010 <span class="comment">%    based on magnet measurements</span>
+0011 <span class="comment">% 2. Leff - Effective length ie, which is used in AT</span>
+0012 <span class="comment">% 3. MagnetType</span>
+0013 <span class="comment">% 4. A - vector coefficients for the polynomial expansion of the curviline</span>
+0014 <span class="comment">%        integral of the magnet field based on magnet measurements</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">% C and A are vector coefficients for the polynomial expansion of the magnet field</span>
+0017 <span class="comment">% based on magnet measurements.</span>
+0018 <span class="comment">%</span>
+0019 <span class="comment">% The amp2k and k2amp functions convert between the two types of units.</span>
+0020 <span class="comment">%   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.</span>
+0021 <span class="comment">%   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.</span>
+0022 <span class="comment">%</span>
+0023 <span class="comment">% The A coefficients are direct from magnet measurements with a DC term:</span>
+0024 <span class="comment">%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B&quot;*Leff</span>
+0025 <span class="comment">%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:</span>
+0028 <span class="comment">%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;</span>
+0029 <span class="comment">%   C = A/Leff</span>
+0030 <span class="comment">%</span>
+0031 <span class="comment">% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)</span>
+0032 <span class="comment">% For quadrupole:  k = B'/ Brho</span>
+0033 <span class="comment">% For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)</span>
+0034 <span class="comment">%                  (all coefficients all divided by 2 for sextupoles)</span>
+0035 <span class="comment">%</span>
+0036 <span class="comment">% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)</span>
+0037 <span class="comment">%   For SOLEIL:   BEND</span>
+0038 <span class="comment">%                 Q1 - Q10 S1 - S10,</span>
+0039 <span class="comment">%                 QT, HCOR, VCOR, FHCOR, FVCOR</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">% Leff is the effective length of the magnet</span>
+0042 <span class="comment">%</span>
+0043 <span class="comment">% See Also amp2k, k2amp</span>
+0044 
+0045 <span class="comment">%</span>
+0046 <span class="comment">% Written by M. Yoon 4/8/03</span>
+0047 <span class="comment">% Adapted By Laurent S. Nadolski354.09672</span>
+0048 <span class="comment">%</span>
+0049 <span class="comment">% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06</span>
+0050 <span class="comment">%</span>
+0051 <span class="comment">% Add a switch on accelerator</span>
+0052 
+0053 <span class="comment">% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values</span>
+0054 <span class="comment">% Or use Tango K value set to -1</span>
+0055 
+0056 
+0057 <span class="keyword">if</span> nargin &lt; 1
+0058     error(<span class="string">'MagnetCoreType input required'</span>);
+0059 <span class="keyword">end</span>
+0060 
+0061 <span class="keyword">if</span> nargin &lt; 2
+0062     Amps = 230;  <span class="comment">% not sure!!!</span>
+0063 <span class="keyword">end</span>
+0064 
+0065 <span class="keyword">if</span> nargin &lt; 3
+0066     InputType = <span class="string">'Amps'</span>;
+0067 <span class="keyword">end</span>
+0068 
+0069 
+0070 
+0071 <span class="comment">% For a string matrix</span>
+0072 <span class="keyword">if</span> iscell(MagnetCoreType)
+0073     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0074         <span class="keyword">for</span> j = 1:size(MagnetCoreType,2)
+0075             [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType{i});
+0076         <span class="keyword">end</span>
+0077     <span class="keyword">end</span>
+0078     <span class="keyword">return</span>
+0079 <span class="keyword">end</span>
+0080 
+0081 <span class="comment">% For a string matrix</span>
+0082 <span class="keyword">if</span> size(MagnetCoreType,1) &gt; 1
+0083     C=[]; Leff=[]; MagnetType=[]; A=[];
+0084     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0085         [C1, Leff1, MagnetType1, A1] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType(i,:));
+0086         C(i,:) = C1;
+0087         Leff(i,:) = Leff1;
+0088         MagnetType = strvcat(MagnetType, MagnetType1);
+0089         A(i,:) = A1;
+0090     <span class="keyword">end</span>
+0091     <span class="keyword">return</span>
+0092 <span class="keyword">end</span>
+0093 
+0094 <span class="comment">%% get accelerator name</span>
+0095 AcceleratorName = getfamilydata(<span class="string">'Machine'</span>);
+0096 
+0097 <span class="keyword">switch</span> AcceleratorName
+0098     <span class="keyword">case</span> <span class="string">'LT1'</span>
+0099         <span class="comment">%%%%</span>
+0100         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0101 
+0102             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0103                 Leff = 0.30; <span class="comment">% 300 mm</span>
+0104                 <span class="comment">% B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)</span>
+0105                 a8 =  0.0;
+0106                 a7 =  0.0;
+0107                 a6 =  0.0;
+0108                 a5 =  0.0;
+0109                 a4 =  0.0;
+0110                 a3 =  0.0;
+0111                 a2 =  0.0;
+0112                 a1 =  4.8861e-4;
+0113                 a0 =  1.19e-4;
+0114 
+0115                 A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+0116                 MagnetType = <span class="string">'BEND'</span>;
+0117 
+0118             <span class="keyword">case</span> {<span class="string">'QP'</span>}   <span class="comment">% 150 mm quadrupole</span>
+0119                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0120                 Leff=0.150; <span class="comment">% 162 mm;</span>
+0121                 a8 =  0.0;
+0122                 a7 =  0.0;
+0123                 a6 =  0.0;
+0124                 a5 =  0.0;
+0125 <span class="comment">%                 a4 =  1.49e-6;</span>
+0126 <span class="comment">%                 a3 =  2.59e-5;</span>
+0127 <span class="comment">%                 a2 =  1.93e-4;</span>
+0128 <span class="comment">%                 a1 =  4.98e-2;</span>
+0129 <span class="comment">%                 a0 =  0.0;</span>
+0130                 a4 =  -1.49e-6;
+0131                 a3 =  2.59e-5;
+0132                 a2 =  -1.93e-4;
+0133                 a1 =  4.98e-2;
+0134                 a0 =  8.13e-4;              
+0135                 
+0136                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0137                 MagnetType = <span class="string">'QUAD'</span>;
+0138 
+0139             <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0140                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0141                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0142                 <span class="comment">% Therefore,</span>
+0143                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0144                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0145                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0146                 <span class="comment">%</span>
+0147                 <span class="comment">% The C coefficients are w.r.t B</span>
+0148                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0149                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0150                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0151                 <span class="comment">% the addition of the DC term</span>
+0152 
+0153                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0154                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0155                 MagnetType = <span class="string">'COR'</span>;
+0156                 
+0157                 Leff = 1e-6; <span class="comment">% 0.1577 m</span>
+0158                 a8 =  0.0;
+0159                 a7 =  0.0;
+0160                 a6 =  0.0;
+0161                 a5 =  0.0;
+0162                 a4 =  0.0;
+0163                 a3 =  0.0;
+0164                 a2 =  0.0;
+0165                 a1 =  4.49e-4;
+0166                 a0 =  0;
+0167                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0168                 
+0169             <span class="keyword">otherwise</span>
+0170                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0171                 <span class="comment">%k = 0;</span>
+0172                 <span class="comment">%MagnetType = '';</span>
+0173                 <span class="comment">%return</span>
+0174         <span class="keyword">end</span>
+0175 
+0176         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0177         C = A/ Leff;
+0178 
+0179         MagnetType = upper(MagnetType);
+0180     
+0181     <span class="keyword">case</span> <span class="string">'Ring'</span>
+0182         <span class="comment">%%%%</span>
+0183         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0184 
+0185             <span class="keyword">case</span> <span class="string">'BEND'</span>   
+0186                 <span class="comment">% Moyenne des longueurs magnï¿œtiques mesurï¿œes = 1055.548mm</span>
+0187                 <span class="comment">% DÃ©calage en champ entre le dipï¿œle de rÃ©fÃ©rence et les</span>
+0188                 <span class="comment">% dipï¿œles de l'Anneau = DB/B= +1.8e-03.</span>
+0189                 <span class="comment">% On part de l'ï¿œtalonnage B(I) effectuï¿œ sur le dipï¿œle de</span>
+0190                 <span class="comment">% rï¿œfï¿œrence dans la zone de courant 516 - 558 A</span>
+0191                 <span class="comment">% les coefficients du fit doivent ï¿œtre affectï¿œs du facteur</span>
+0192                 <span class="comment">% (1-1.8e-3) pour passer du dipï¿œle de rï¿œfï¿œrence ï¿œ l'Anneau</span>
+0193                 <span class="comment">% et du facteur Leff pour passer ï¿œ l'intï¿œgrale de champ.</span>
+0194                 <span class="comment">%</span>
+0195                 
+0196                 <span class="comment">% B=1.7063474 T correspond ï¿œ 2.75 GeV</span>
+0197                 <span class="comment">% ?  longueur magnÃ©tique du model : Leff = 1.052433;</span>
+0198 <span class="comment">%                 Leff=1.055548;</span>
+0199 <span class="comment">%                 a7= 0.0;</span>
+0200 <span class="comment">%                 a6=-0.0;</span>
+0201 <span class="comment">%                 a5= 0.0;</span>
+0202 <span class="comment">%                 a4=-0.0;</span>
+0203 <span class="comment">%                 a3= 0.0;</span>
+0204 <span class="comment">%                 a2=-9.7816E-6*(1-1.8e-3)*Leff;</span>
+0205 <span class="comment">%                 a1= 1.26066E-02*(1-1.8E-3)*Leff;</span>
+0206 <span class="comment">%                 a0= -2.24944*(1-1.8E-3)*Leff;</span>
+0207 <span class="comment">%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];</span>
+0208                 
+0209                 Leff=1.052433;
+0210                 a7= 0.0;
+0211                 a6=-0.0;
+0212                 a5= 0.0;
+0213                 a4=-0.0;
+0214                 a3= 0.0;
+0215                 a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+0216                 a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0217                 a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0218                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0219                 
+0220 
+0221                 MagnetType = <span class="string">'BEND'</span>;
+0222 
+0223             <span class="keyword">case</span> {<span class="string">'Q1'</span>,<span class="string">'Q6'</span>}  
+0224                 <span class="comment">% Familles Q1 et Q6 l= 320 mm</span>
+0225                 <span class="comment">% Etalonnage GL(I) sur 90 - 150 A quadrupï¿œle court</span>
+0226                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q1 et Q6 dï¿œfocalisants</span>
+0227                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0228                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0229                 
+0230                 <span class="comment">% Correction des coefficients des QC de + 3 10-3 (manque</span>
+0231                 <span class="comment">% capteur BMS)</span>
+0232                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0233                 <span class="comment">%facteur 8e-3 pour ajuster nux du 1er jour</span>
+0234                  bob=1-8.0e-3-2.3e-3+3e-3;
+0235                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0236                 Leff=0.320;
+0237 
+0238         <span class="comment">% G. Portmann</span>
+0239 <span class="comment">%                 % Just a way to get the correct polynomial for different k-values</span>
+0240 <span class="comment">%                 if strcmpi(InputType, 'K')</span>
+0241 <span class="comment">%                     if Amps &lt; 0.18928717429288</span>
+0242 <span class="comment">%                         Amps = 10;</span>
+0243 <span class="comment">%                     elseif Amps &lt; 0.75086308092911</span>
+0244 <span class="comment">%                         Amps = 50;</span>
+0245 <span class="comment">%                     elseif Amps &lt; 1.31229873800730</span>
+0246 <span class="comment">%                         Amps = 100;</span>
+0247 <span class="comment">%                     elseif Amps &lt; 1.68337408687106</span>
+0248 <span class="comment">%                         Amps = 150;</span>
+0249 <span class="comment">%                     elseif Amps &lt; 2.04021595285003</span>
+0250 <span class="comment">%                         Amps = 200;</span>
+0251 <span class="comment">%                     else</span>
+0252 <span class="comment">%                         Amps = 230;</span>
+0253 <span class="comment">%                     end</span>
+0254 <span class="comment">%                 end</span>
+0255         <span class="comment">% G. Portmann</span>
+0256                 
+0257                 a7=  0.0;
+0258                 a6=  0.0;
+0259                 a5=  0.0;
+0260                 a4=  0.0;
+0261                 a3=  0.0;
+0262                 a2=  -1.629e-6*(-1)*bob;
+0263                 a1=  2.7836E-2*bob;
+0264                 a0=  6.4464E-3*(-1)*bob;
+0265 <span class="comment">%                 a7=  0.0;</span>
+0266 <span class="comment">%                 a6=  0.0;</span>
+0267 <span class="comment">%                 a5=  0.0;</span>
+0268 <span class="comment">%                 a4=  0.0;</span>
+0269 <span class="comment">%                 a3=  0.0;</span>
+0270 <span class="comment">%                 a2=  -8.6E-7*(-1)*bob;</span>
+0271 <span class="comment">%                 a1=  2.7664E-2*bob;</span>
+0272 <span class="comment">%                 a0=  -3.3E-3*(-1)*bob;</span>
+0273        <span class="comment">% G. Portmann</span>
+0274 <span class="comment">%                 if Amps &lt; 20</span>
+0275 <span class="comment">%                     a2=  0.0;</span>
+0276 <span class="comment">%                     a1=  0.027473;</span>
+0277 <span class="comment">%                     a0=  0.0;</span>
+0278 <span class="comment">%                 elseif Amps &lt; 80</span>
+0279 <span class="comment">%                     a2=  0.0;</span>
+0280 <span class="comment">%                     a1=  0.027473;</span>
+0281 <span class="comment">%                     a0=  0.006270;</span>
+0282 <span class="comment">%                  elseif Amps &lt; 140</span>
+0283 <span class="comment">%                     a2= -5.6000e-7;</span>
+0284 <span class="comment">%                     a1=  2.7598e-2;</span>
+0285 <span class="comment">%                     a0=  2.1000e-4;</span>
+0286 <span class="comment">%                  elseif Amps &lt; 180</span>
+0287 <span class="comment">%                     a3= -3.25400e-8;</span>
+0288 <span class="comment">%                     a2=  1.05300e-5;</span>
+0289 <span class="comment">%                     a1=  2.63758e-2;</span>
+0290 <span class="comment">%                     a0=  4.30800e-2;</span>
+0291 <span class="comment">%                  elseif Amps &lt; 220</span>
+0292 <span class="comment">%                     a4= -1.14374e-8;</span>
+0293 <span class="comment">%                     a3=  8.69384e-6;</span>
+0294 <span class="comment">%                     a2= -2.49129e-3;</span>
+0295 <span class="comment">%                     a1=  3.45626e-1;</span>
+0296 <span class="comment">%                     a0= -1.52486e+1;</span>
+0297 <span class="comment">%                 else</span>
+0298 <span class="comment">%                     a5= -3.417777770e-8;</span>
+0299 <span class="comment">%                     a4=  3.992090910e-5;</span>
+0300 <span class="comment">%                     a3= -1.864441566e-2;</span>
+0301 <span class="comment">%                     a2=  4.351937350e+0;</span>
+0302 <span class="comment">%                     a1= -5.076535920e+2;</span>
+0303 <span class="comment">%                     a0=  2.367859440e+4;</span>
+0304 <span class="comment">%                 end</span>
+0305          <span class="comment">% G. Portmann</span>
+0306          
+0307                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0308                 
+0309                 MagnetType = <span class="string">'quad'</span>;
+0310                 
+0311              <span class="keyword">case</span> {<span class="string">'Q8'</span>,<span class="string">'Q9'</span>}  
+0312                 <span class="comment">% Familles Q8 et Q9 l= 320 mm</span>
+0313                 <span class="comment">% Etalonnage GL(I) sur 160 - 200 A quadrupï¿œle court</span>
+0314                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q8 et Q9 dï¿œfocalisants</span>
+0315                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0316                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0317                 
+0318                 <span class="comment">% Correction des coefficients des QC de + 3 10-3 (manque</span>
+0319                 <span class="comment">% capteur BMS)</span>
+0320                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0321                 <span class="comment">%facteur 8e-3 pour ajuster nux du 1er jour</span>
+0322                  bob=1-8.0e-3-2.3e-3+3e-3;
+0323 
+0324                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0325                 Leff=0.320;
+0326                 a7=  0.0;
+0327                 a6=  0.0;
+0328                 a5=  0.0;
+0329                 a4=  0.0;
+0330                 a3=  -8.843E-8*bob;
+0331                 a2=  3.6389E-5*(-1)*bob;
+0332                 a1=  2.2448E-2*bob;
+0333                 a0=  2.382E-1*(-1)*bob;
+0334                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0335                 
+0336                 MagnetType = <span class="string">'quad'</span>;  
+0337                 
+0338             <span class="keyword">case</span> {<span class="string">'Q3'</span>}  
+0339                 <span class="comment">% Famille Q3 l= 320 mm</span>
+0340                 <span class="comment">% Etalonnage GL(I) sur 50 - 100 A quadrupï¿œle court</span>
+0341                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q3 est dï¿œfocalisant</span>
+0342                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0343                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0344                 
+0345                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0346                 <span class="comment">% capteur BMS)</span>
+0347                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0348                 <span class="comment">%facteur 8e-3 pour ajuster nux du 1er jour</span>
+0349                  bob=1-8.0e-3-2.3e-3+3e-3;
+0350 
+0351                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0352                 Leff=0.320;
+0353                 a7=  0.0;
+0354                 a6=  0.0;
+0355                 a5=  0.0;
+0356                 a4=  0.0;
+0357                 a3=  0.;
+0358                 a2=  1.4E-7*(-1)*bob;
+0359                 a1=  2.7471E-2*bob;
+0360                 a0=  5.83E-3*(-1)*bob;
+0361                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0362                 
+0363                 MagnetType = <span class="string">'quad'</span>; 
+0364                 
+0365              <span class="keyword">case</span> {<span class="string">'Q4'</span>}  
+0366                 <span class="comment">% Famille Q4 l= 320 mm</span>
+0367                 <span class="comment">% Etalonnage GL(I) sur 120 - 170 A quadrupï¿œle court</span>
+0368                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q4 est dï¿œfocalisant</span>
+0369                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0370                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0371                 
+0372                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0373                 <span class="comment">% capteur BMS)</span>
+0374                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0375                <span class="comment">%facteur 8e-3 pour ajuster nux du 1er jour</span>
+0376                  bob=1-8.0e-3-2.3e-3+3e-3;
+0377                 
+0378                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0379                 Leff=0.320;
+0380                 a7=  0.0;
+0381                 a6=  0.0;
+0382                 a5=  0.0;
+0383                 a4=  0.0;
+0384                 a3=  -5.2680E-8*bob;
+0385                 a2=  1.9620E-5*(-1)*bob;
+0386                 a1=  2.5016E-2*bob;
+0387                 a0=  1.1046E-1*(-1)*bob;
+0388                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0389                 
+0390                 MagnetType = <span class="string">'quad'</span>; 
+0391                 
+0392             <span class="keyword">case</span> {<span class="string">'Q5'</span>,<span class="string">'Q10'</span>}   <span class="comment">% 320 mm quadrupole</span>
+0393                  <span class="comment">% Familles Q5 et Q10 l= 320 mm</span>
+0394                 <span class="comment">% Etalonnage GL(I) sur 180 - 230 A quadrupï¿œle court</span>
+0395                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q5 et Q10 sont</span>
+0396                 <span class="comment">% focalisants</span>
+0397                 
+0398                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0399                 <span class="comment">% capteur BMS)</span>
+0400                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0401                 <span class="comment">%facteur 8e-3 pour ajuster nux du 1er jour</span>
+0402                  bob=1-8.0e-3-2.3e-3+3e-3;
+0403                 
+0404                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0405                 Leff=0.320;
+0406                 a7=  0.0;
+0407                 a6=  0.0;
+0408                 a5=  0.0;
+0409                 a4=  -8.0497E-09*bob;
+0410                 a3= 6.01284E-06*bob;
+0411                 a2=  -1.696898E-03*bob;
+0412                 a1=  2.41175E-01*bob;
+0413                 a0=  -1.01064E+01*bob;
+0414                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0415 
+0416                 MagnetType = <span class="string">'quad'</span>;    
+0417                     
+0418             <span class="keyword">case</span> {<span class="string">'Q2'</span>}   <span class="comment">% l= 460 mm</span>
+0419                 <span class="comment">% quadrupï¿œle focalisant</span>
+0420                 <span class="comment">% Etalonnage GL(I) sur 140 - 190 A quadrupï¿œle long</span>
+0421                 
+0422                 
+0423                 <span class="comment">%Correction des coefficients des QL de + 1.55 10-2 (manque</span>
+0424                 <span class="comment">% capteur BMS)</span>
+0425                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0426                <span class="comment">%facteur 8e-3 pour ajuster nux du 1er jour</span>
+0427                  bob=1-8.0e-3-2.3e-3+1.55e-2;
+0428 
+0429                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0430                 Leff=0.460;
+0431                 a7=  0.0;
+0432                 a6=  0.0;
+0433                 a5= -0.0;
+0434                 a4=  0.0;
+0435                 a3= -2.7609E-7*bob;
+0436                 a2=  1.17098E-4*bob;
+0437                 a1=  2.7718E-2*bob;
+0438                 a0=  8.2470E-1*bob;
+0439                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0440                 MagnetType = <span class="string">'quad'</span>;
+0441 
+0442             <span class="keyword">case</span> {<span class="string">'Q7'</span>}   <span class="comment">% l= 460 mm</span>
+0443                 <span class="comment">% quadrupï¿œle focalisant</span>
+0444                 <span class="comment">% Etalonnage GL(I) sur 190 - 230 A quadrupï¿œle long</span>
+0445                 
+0446                 <span class="comment">%Correction des coefficients des QL de + 1.55 10-2 (manque</span>
+0447                 <span class="comment">% capteur BMS)</span>
+0448                  <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0449                 <span class="comment">%facteur 8e-3 pour ajuster nux du 1er jour</span>
+0450                  bob=1-8.0e-3-2.3e-3+1.55e-2;
+0451 
+0452                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0453                 Leff=0.460;
+0454                 a7=  0.0;
+0455                 a6=  0.0;
+0456                 a5= 1.50427350E-9*bob;
+0457                 a4=  -1.52722610E-6*bob;
+0458                 a3= 6.16874120E-4*bob;
+0459                 a2=  -1.24044936E-1*bob;
+0460                 a1=  1.24707096E+01*bob;
+0461                 a0=  -4.96304380E+02*bob;
+0462                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0463                 MagnetType = <span class="string">'quad'</span>;
+0464 
+0465                 <span class="comment">% Sextupï¿œles : on multiplie les coefficients par 2 car ils</span>
+0466                 <span class="comment">% sont exprimï¿œs en B&quot;L et non B&quot;L/2</span>
+0467                 
+0468             <span class="keyword">case</span> {<span class="string">'S1'</span>,<span class="string">'S10'</span>}    
+0469                 <span class="comment">% l= 160 mm focalisants</span>
+0470                 <span class="comment">% Etalonnage HL(I) sur 40 - 160 A</span>
+0471                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0472                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0473                 a7=  0.0;
+0474                 a6=  0.0;
+0475                 a5=  0.0;
+0476                 a4=  0.0;
+0477                 a3=  0.0;
+0478                 a2=  -3.773E-6;
+0479                 a1=  1.5476E-1;
+0480                 a0=  2.36991E-1;
+0481                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0482                 MagnetType = <span class="string">'SEXT'</span>;
+0483                 
+0484                 
+0485             <span class="keyword">case</span> {<span class="string">'S3'</span>,<span class="string">'S9'</span>}    
+0486                 <span class="comment">% l= 160 mm dï¿œfocalisants</span>
+0487                 <span class="comment">% Etalonnage HL(I) sur 80 - 250 A</span>
+0488                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0489                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0490                 a7=  0.0;
+0491                 a6=  0.0;
+0492                 a5=  0.0;
+0493                 a4=  0.0;
+0494                 a3=  -2.6735E-8;
+0495                 a2=  5.8793E-6*(-1);
+0496                 a1=  1.5364E-1;
+0497                 a0=  2.7867E-1*(-1);
+0498                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0499                 MagnetType = <span class="string">'SEXT'</span>;
+0500                 
+0501              <span class="keyword">case</span> {<span class="string">'S6'</span>}    
+0502                 <span class="comment">% l= 160 mm focalisant</span>
+0503                 <span class="comment">% Etalonnage HL(I) sur 80 - 250 A</span>
+0504                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0505                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0506                 a7=  0.0;
+0507                 a6=  0.0;
+0508                 a5=  0.0;
+0509                 a4=  0.0;
+0510                 a3=  -2.6735E-8;
+0511                 a2=  5.8793E-6;
+0512                 a1=  1.5364E-1;
+0513                 a0=  2.7867E-1;
+0514                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0515                 MagnetType = <span class="string">'SEXT'</span>;
+0516 
+0517                 
+0518               <span class="keyword">case</span> {<span class="string">'S4'</span>,<span class="string">'S8'</span>}    
+0519                 <span class="comment">% l= 160 mm focalisants</span>
+0520                 <span class="comment">% Etalonnage HL(I) sur 170 - 300 A</span>
+0521                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0522                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0523                 a7=  0.0;
+0524                 a6=  0.0;
+0525                 a5=  0.0;
+0526                 a4=  -8.8836E-10;
+0527                 a3=  7.1089E-7;
+0528                 a2=  -2.2277E-4;
+0529                 a1=  1.8501E-1;
+0530                 a0=  -1.329;
+0531                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0532                 MagnetType = <span class="string">'SEXT'</span>;
+0533 
+0534              <span class="keyword">case</span> {<span class="string">'S2'</span>,<span class="string">'S5'</span>}    
+0535                 <span class="comment">% l= 160 mm dï¿œfocalisants</span>
+0536                 <span class="comment">% Etalonnage HL(I) sur 170 - 300 A</span>
+0537                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0538                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0539                 a7=  0.0;
+0540                 a6=  0.0;
+0541                 a5=  0.0;
+0542                 a4=  -8.8836E-10*(-1);
+0543                 a3=  7.1089E-7;
+0544                 a2=  -2.2277E-4*(-1);
+0545                 a1=  1.8501E-1;
+0546                 a0=  -1.329*(-1);
+0547                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0548                 MagnetType = <span class="string">'SEXT'</span>;    
+0549         
+0550               <span class="keyword">case</span> {<span class="string">'S7'</span>}    
+0551                 <span class="comment">% l= 160 mm dï¿œfocalisant</span>
+0552                 <span class="comment">% Etalonnage HL(I) sur 250 - 350 A</span>
+0553                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0554                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0555                 a7=  0.0;
+0556                 a6=  0.0;
+0557                 a5=  -2.613556E-10;
+0558                 a4=  3.730258E-7*(-1);
+0559                 a3=  -2.1301205E-4;
+0560                 a2=  6.077561E-2*(-1);
+0561                 a1=  -8.5069349;
+0562                 a0=  4.933E+2*(-1);
+0563                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0564                 MagnetType = <span class="string">'SEXT'</span>; 
+0565                 
+0566             <span class="keyword">case</span> <span class="string">'QT'</span>    <span class="comment">% 160 mm dans sextupole</span>
+0567                 <span class="comment">% Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.</span>
+0568                 <span class="comment">% Efficacitï¿œ = 3 G.m/A @ R=32mm; soit 93.83 G/A</span>
+0569                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0570                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0571                 Leff = 0.16;
+0572                 a7= 0.0;
+0573                 a6= 0.0;
+0574                 a5= 0.0;
+0575                 a4= 0.0;
+0576                 a3= 0.0;
+0577                 a2= 0.0;
+0578                 a1= 93.83E-4;
+0579                 a0= 0.0;
+0580                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0581 
+0582                 MagnetType = <span class="string">'QT'</span>;
+0583 
+0584             <span class="keyword">case</span> {<span class="string">'HCOR'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0585                 <span class="comment">% Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.</span>
+0586                 <span class="comment">% Efficacitï¿œ = 8.143 G.m/A</span>
+0587                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0588                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0589                 Leff = 0.16;
+0590                 a7= 0.0;
+0591                 a6= 0.0;
+0592                 a5= 0.0;
+0593                 a4= 0.0;
+0594                 a3= 0.0;
+0595                 a2= 0.0;
+0596                 a1= 8.143E-4;
+0597                 a0= 0.0;
+0598                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0599 
+0600                 MagnetType = <span class="string">'COR'</span>;
+0601                 
+0602 
+0603             <span class="keyword">case</span> {<span class="string">'FHCOR'</span>}    <span class="comment">% 10 cm horizontal corrector</span>
+0604                 <span class="comment">% Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps</span>
+0605                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0606                 <span class="comment">% Therefore,</span>
+0607                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0608                 <span class="comment">%       BLeff/Amp = 280e-6 * getbrho(2.75) / 10</span>
+0609                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0610                 <span class="comment">%</span>
+0611                 <span class="comment">% The C coefficients are w.r.t B</span>
+0612                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0613                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0614                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0615                 <span class="comment">% the addition of the DC term</span>
+0616 
+0617                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0618                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0619                 Leff = .10;
+0620                 imax = 10;
+0621                 cormax = 28e-6 ; <span class="comment">% 28 urad for imax = 10 A</span>
+0622                 MagnetType = <span class="string">'COR'</span>;
+0623                 A = [0 cormax*getbrho(2.75)/imax 0];
+0624 
+0625             <span class="keyword">case</span> {<span class="string">'VCOR'</span>}    <span class="comment">% 16 cm vertical corrector</span>
+0626                 <span class="comment">% Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.</span>
+0627                 <span class="comment">% Efficacitï¿œ = 4.642 G.m/A</span>
+0628                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0629                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0630                 Leff = 0.16;
+0631                 a7= 0.0;
+0632                 a6= 0.0;
+0633                 a5= 0.0;
+0634                 a4= 0.0;
+0635                 a3= 0.0;
+0636                 a2= 0.0;
+0637                 a1= 4.642E-4;
+0638                 a0= 0.0;
+0639                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0640 
+0641                 MagnetType = <span class="string">'COR'</span>;
+0642 
+0643             <span class="keyword">case</span> {<span class="string">'FVCOR'</span>}    <span class="comment">% 10 cm vertical corrector</span>
+0644                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0645                 Leff = .10;
+0646                 imax = 10;
+0647                 cormax = 23e-6 ; <span class="comment">% 23 urad for imax = 10 A</span>
+0648                 MagnetType = <span class="string">'COR'</span>;
+0649                 A = [0 cormax*getbrho(2.75)/imax 0];
+0650 
+0651             <span class="keyword">case</span> {<span class="string">'K_INJ'</span>}
+0652                 <span class="comment">% Kicker d'injection</span>
+0653                 <span class="comment">% Ã©talonnage provisoire</span>
+0654                 <span class="comment">% attention l'element n'etant pas dans le modele,definition</span>
+0655                 <span class="comment">% de A ambigue</span>
+0656                 Leff = .6;
+0657                 vmax = 8000;
+0658                 alphamax = 8e-3 ; <span class="comment">% 8 mrad pour 8000 V</span>
+0659                 MagnetType = <span class="string">'K_INJ'</span>;
+0660                 A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+0661                 
+0662              <span class="keyword">case</span> {<span class="string">'K_INJ1'</span>}
+0663                 <span class="comment">% Kickers d'injection 1 et 4</span>
+0664                 Leff = .6;
+0665                 vmax = 7500; <span class="comment">% tension de mesure</span>
+0666                 SBDL = 75.230e-3 ; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0667                 MagnetType = <span class="string">'K_INJ1'</span>;
+0668                 A = [0 -SBDL/vmax 0]*Leff; 
+0669                 
+0670              <span class="keyword">case</span> {<span class="string">'K_INJ2'</span>}
+0671                 <span class="comment">% Kickers d'injection 2 et 3</span>
+0672                 Leff = .6;
+0673                 vmax = 7500;<span class="comment">% tension de mesure</span>
+0674                 SBDL = 74.800e-3 ; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0675                 MagnetType = <span class="string">'K_INJ2'</span>;  
+0676                 A = [0 SBDL/vmax 0]*Leff; 
+0677                 
+0678             <span class="keyword">case</span> {<span class="string">'SEP_P'</span>}
+0679                 <span class="comment">% Septum passif d'injection</span>
+0680                 Leff = .6;
+0681                 vmax = 547; <span class="comment">% tension de mesure V</span>
+0682                 SBDL = 263e-3; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0683                 MagnetType = <span class="string">'SEP_P'</span>;
+0684                 A = [0 SBDL/vmax 0]*Leff; 
+0685                 
+0686              <span class="keyword">case</span> {<span class="string">'SEP_A'</span>}
+0687                 <span class="comment">% Septum actif d'injection</span>
+0688                 Leff = 1.;
+0689                 vmax = 111;
+0690                 MagnetType = <span class="string">'SEP_A'</span>;
+0691                 SBDL = 1147.8e-3 ; <span class="comment">% Somme de Bdl mesurÃ©e Ã  111 V</span>
+0692                 A = [0 SBDL/vmax 0]*Leff; 
+0693 
+0694             <span class="keyword">otherwise</span>
+0695                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0696                 k = 0;
+0697                 MagnetType = <span class="string">''</span>;
+0698                 <span class="keyword">return</span>
+0699         <span class="keyword">end</span>
+0700 
+0701         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0702         C = A / Leff;
+0703 
+0704         MagnetType = upper(MagnetType);
+0705 
+0706 
+0707         <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0708         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0709             C = C / 2;
+0710         <span class="keyword">end</span>
+0711         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'OCTO'</span>)
+0712             C = C / 6;
+0713         <span class="keyword">end</span>
+0714         <span class="keyword">return</span>;
+0715     <span class="keyword">case</span> <span class="string">'Booster'</span>
+0716         <span class="comment">%%%%</span>
+0717         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0718 
+0719             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0720                 <span class="comment">% B[T] = 0.00020 + 0.0013516 I[A]</span>
+0721                 <span class="comment">% B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex</span>
+0722                 Leff = 2.160; <span class="comment">% 2160 mm</span>
+0723                 a8 =  0.0;
+0724                 a7 =  0.0;
+0725                 a6 =  0.0;
+0726                 a5 =  0.0;
+0727                 a4 =  0.0;
+0728                 a3 =  0.0;
+0729                 a2 =  9.2e-8*Leff;
+0730                 a1 =  0.0013051*Leff;
+0731                 a0 =  2.0e-3*Leff;
+0732 
+0733                 A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+0734                 MagnetType = <span class="string">'BEND'</span>;
+0735 
+0736             <span class="keyword">case</span> {<span class="string">'QF'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0737                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0738                 <span class="comment">% G[T/m] = 0.0465 + 0.0516 I[A] Alex</span>
+0739                 Leff=0.400; 
+0740                 a8 =  0.0;
+0741                 a7 =  0.0;
+0742                 a6 =  0.0;
+0743                 a5 =  0.0;
+0744                 a4 =  0.0;
+0745                 a3 =  0.0;
+0746                 a2 =  0.0;
+0747                 a1 =  0.0516*Leff;
+0748                 a0 =  0.0465*Leff;
+0749                 
+0750                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; <span class="comment">%*getbrho(0.1);</span>
+0751                 MagnetType = <span class="string">'QUAD'</span>;
+0752 
+0753             <span class="keyword">case</span> {<span class="string">'QD'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0754                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0755                 <span class="comment">% G[T/m] = 0.0485 + 0.0518 I[A] Alex</span>
+0756                 Leff=0.400; 
+0757                 a8 =  0.0;
+0758                 a7 =  0.0;
+0759                 a6 =  0.0;
+0760                 a5 =  0.0;
+0761                 a4 =  0.0;
+0762                 a3 =  0.0;
+0763                 a2 =  0.0;
+0764                 a1 =  -0.0518*Leff;
+0765                 a0 =  -0.0485*Leff;
+0766                 
+0767                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; <span class="comment">%*getbrho(0.1);</span>
+0768                 MagnetType = <span class="string">'QUAD'</span>;
+0769 
+0770             <span class="keyword">case</span> {<span class="string">'SF'</span>, <span class="string">'SD'</span>}   <span class="comment">% 150 mm sextupole</span>
+0771                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0772                 <span class="comment">% HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)</span>
+0773                 Leff=1.e-8; <span class="comment">% thin lens;</span>
+0774                 a8 =  0.0;
+0775                 a7 =  0.0;
+0776                 a6 =  0.0;
+0777                 a5 =  0.0;
+0778                 a4 =  0.0;
+0779                 a3 =  0.0;
+0780                 a2 =  0.0;
+0781                 a1 =  0.2*2;
+0782                 a0 =  0.0;
+0783                 
+0784                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0785                 MagnetType = <span class="string">'SEXT'</span>;
+0786                 
+0787             <span class="keyword">case</span> {<span class="string">'HCOR'</span>,<span class="string">'VCOR'</span>}    <span class="comment">% ?? cm horizontal corrector</span>
+0788                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0789                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0790                 <span class="comment">% Therefore,</span>
+0791                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0792                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0793                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0794                 <span class="comment">%</span>
+0795                 <span class="comment">% The C coefficients are w.r.t B</span>
+0796                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0797                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0798                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0799                 <span class="comment">% the addition of the DC term</span>
+0800 
+0801                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0802                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0803                 MagnetType = <span class="string">'COR'</span>;
+0804                 <span class="comment">% theta [mrad] = 1.34 I[A] @ 0.1 GeV</span>
+0805                 Leff = 1e-6;
+0806                 a8 =  0.0;
+0807                 a7 =  0.0;
+0808                 a6 =  0.0;
+0809                 a5 =  0.0;
+0810                 a4 =  0.0;
+0811                 a3 =  0.0;
+0812                 a2 =  0.0;
+0813                 a1 =  1.34e-3*getbrho(0.1);
+0814                 a0 =  0;
+0815                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0816                 
+0817             <span class="keyword">otherwise</span>
+0818                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0819                 <span class="comment">%k = 0;</span>
+0820                 <span class="comment">%MagnetType = '';</span>
+0821                 <span class="comment">%return</span>
+0822         <span class="keyword">end</span>
+0823 
+0824         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0825         C = A/ Leff;
+0826  
+0827         <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0828         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0829             C = C / 2;
+0830         <span class="keyword">end</span>
+0831  
+0832         MagnetType = upper(MagnetType);
+0833 
+0834     <span class="keyword">case</span> <span class="string">'LT2'</span>
+0835         <span class="comment">%%%%</span>
+0836         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0837 
+0838             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0839                 <span class="comment">% les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau</span>
+0840                 Leff=1.052433;
+0841                 a7= 0.0;
+0842                 a6=-0.0;
+0843                 a5= 0.0;
+0844                 a4=-0.0;
+0845                 a3= 0.0;
+0846                 a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+0847                 a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0848                 a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0849                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0850                 
+0851 
+0852                 MagnetType = <span class="string">'BEND'</span>;
+0853 
+0854             <span class="keyword">case</span> {<span class="string">'QP'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0855                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0856                 
+0857                 <span class="comment">% G[T/m] = 0.1175 + 0.0517 I[A]</span>
+0858                 <span class="comment">% le rÃ©manent est + fort que pour les quad Booster car les</span>
+0859                 <span class="comment">% courants max sont + eleves</span>
+0860                 Leff=0.400; 
+0861 <span class="comment">%                 a8 =  0.0;</span>
+0862 <span class="comment">%                 a7 =  0.0;</span>
+0863 <span class="comment">%                 a6 =  0.0;</span>
+0864 <span class="comment">%                 a5 =  0.0;</span>
+0865 <span class="comment">%                 a4 =  0.0;</span>
+0866 <span class="comment">%                 a3 =  0.0;</span>
+0867 <span class="comment">%                 a2 =  0.0;</span>
+0868 <span class="comment">%                 a1 =  0.0517*Leff;</span>
+0869 <span class="comment">%                 a0 =  0.1175*Leff;</span>
+0870                 
+0871                 a8 =  0.0;
+0872                 a7 =  0.0;
+0873                 a6 =  0.0;
+0874                 a5 =  0.0;
+0875                 a4 =  -1.3345e-10;
+0876                 a3 =  8.1746e-8;
+0877                 a2 =  -1.6548e-5;
+0878                 a1 =  2.197e-2;
+0879                 a0 =  2.73e-2;
+0880                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+0881                 MagnetType = <span class="string">'QUAD'</span>;
+0882 
+0883             <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0884                 
+0885 
+0886                 
+0887                 <span class="comment">% Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps</span>
+0888                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0889                 <span class="comment">% Therefore,</span>
+0890                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0891                 <span class="comment">%       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10</span>
+0892                 <span class="comment">%       B*Leff = a1 * I   =&gt; a1 = 1.e-3 * getbrho(2.75) / 10</span>
+0893                 <span class="comment">%</span>
+0894                 <span class="comment">% The C coefficients are w.r.t B</span>
+0895                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0896                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0897                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0898                 <span class="comment">% the addition of the DC term</span>
+0899 
+0900                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0901                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0902                 
+0903                 <span class="comment">% environ 32 cm  corrector</span>
+0904                 <span class="comment">% Efficacitï¿œ = 11.06 G.m/A</span>
+0905                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0906                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =</span>
+0907                 <span class="comment">% magnetcoefficien</span>
+0908                 
+0909                 MagnetType = <span class="string">'COR'</span>;
+0910                 
+0911                 Leff = 1e-6; <span class="comment">% 0.1577 m</span>
+0912                 a8 =  0.0;
+0913                 a7 =  0.0;
+0914                 a6 =  0.0;
+0915                 a5 =  0.0;
+0916                 a4 =  0.0;
+0917                 a3 =  0.0;
+0918                 a2 =  0.0;
+0919                 a1 =  110.6e-4/10;
+0920                 a0 =  0;
+0921                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0922                 
+0923             <span class="keyword">otherwise</span>
+0924                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0925                 <span class="comment">%k = 0;</span>
+0926                 <span class="comment">%MagnetType = '';</span>
+0927                 <span class="comment">%return</span>
+0928         <span class="keyword">end</span>
+0929 
+0930         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0931         C = A/ Leff;
+0932 
+0933         MagnetType = upper(MagnetType);
+0934 
+0935     <span class="keyword">otherwise</span>
+0936         error(<span class="string">'Unknown accelerator name %s'</span>, AcceleratorName);
+0937 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_sauve_11-09-06.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_sauve_11-09-06.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/magnetcoefficients_sauve_11-09-06.html	(revision 17)
@@ -0,0 +1,1025 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of magnetcoefficients_sauve_11-09-06</title>
+  <meta name="keywords" content="magnetcoefficients_sauve_11-09-06">
+  <meta name="description" content="MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; magnetcoefficients_sauve_11-09-06.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>magnetcoefficients_sauve_11-09-06
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units
+[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)
+
+ INPUTS
+ 1. MagnetCoreType - Family name or type of magnet
+
+ OUTPUTS
+ 1. C vector coefficients for the polynomial expansion of the magnet field
+    based on magnet measurements
+ 2. Leff - Effective length ie, which is used in AT
+ 3. MagnetType
+ 4. A - vector coefficients for the polynomial expansion of the curviline 
+        integral of the magnet field based on magnet measurements
+
+ C and A are vector coefficients for the polynomial expansion of the magnet field
+ based on magnet measurements.
+
+ The amp2k and k2amp functions convert between the two types of units.
+   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.
+   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.
+
+ The A coefficients are direct from magnet measurements with a DC term:
+   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B&quot;*Leff
+   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]
+
+ C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:
+   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;
+   C = A/Leff
+
+ For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)
+ For quadrupole:  k = B'/ Brho
+ For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)
+                  (all coefficients all divided by 2 for sextupoles)
+
+ MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)
+   For SOLEIL:   BEND
+                 Q1 - Q10 S1 - S10,
+                 QT, HCOR, VCOR, FHCOR, FVCOR
+
+ Leff is the effective length of the magnet
+
+ See Also <a href="amp2k.html" class="code" title="function k = amp2k(Family, Field, Amps, DeviceList, Energy, C, K2AmpScaleFactor)">amp2k</a>, <a href="k2amp.html" class="code" title="function Amps = k2amp(Family, Field, k, DeviceList, Energy, C, K2AmpScaleFactor)">k2amp</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>	MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)</a>
+0002 <span class="comment">%MAGNETCOEFFICIENTS - Retrieves coefficient for conversion between Physics and Hardware units</span>
+0003 <span class="comment">%[C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType)</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% INPUTS</span>
+0006 <span class="comment">% 1. MagnetCoreType - Family name or type of magnet</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% OUTPUTS</span>
+0009 <span class="comment">% 1. C vector coefficients for the polynomial expansion of the magnet field</span>
+0010 <span class="comment">%    based on magnet measurements</span>
+0011 <span class="comment">% 2. Leff - Effective length ie, which is used in AT</span>
+0012 <span class="comment">% 3. MagnetType</span>
+0013 <span class="comment">% 4. A - vector coefficients for the polynomial expansion of the curviline</span>
+0014 <span class="comment">%        integral of the magnet field based on magnet measurements</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">% C and A are vector coefficients for the polynomial expansion of the magnet field</span>
+0017 <span class="comment">% based on magnet measurements.</span>
+0018 <span class="comment">%</span>
+0019 <span class="comment">% The amp2k and k2amp functions convert between the two types of units.</span>
+0020 <span class="comment">%   amp2k returns BLeff, B'Leff, or B&quot;Leff scaled by Brho if A-coefficients are used.</span>
+0021 <span class="comment">%   amp2k returns B    , B'    , or B&quot;     scaled by Brho if C-coefficients are used.</span>
+0022 <span class="comment">%</span>
+0023 <span class="comment">% The A coefficients are direct from magnet measurements with a DC term:</span>
+0024 <span class="comment">%   a8*I^8+a7*I^7+a6*I^6+a5*I^5+a4*I^4+a3*I^3+a2*I^2+a1*I+a0 = B*Leff or B'*Leff or B&quot;*Leff</span>
+0025 <span class="comment">%   A = [a8 a7 a6 a5 a4 a3 a2 a1 a0]</span>
+0026 <span class="comment">%</span>
+0027 <span class="comment">% C coefficients have been scaled to field (AT units, except correctors) and includes a DC term:</span>
+0028 <span class="comment">%   c8 * I^8+ c7 * I^7+ c6 * I^6 + c5 * I^5 + c4 * I^4 + c3 * I^3 + c2 * I^2 + c1*I + c0 = B or B' or B&quot;</span>
+0029 <span class="comment">%   C = A/Leff</span>
+0030 <span class="comment">%</span>
+0031 <span class="comment">% For dipole:      k = B / Brho      (for AT: KickAngle = BLeff / Brho)</span>
+0032 <span class="comment">% For quadrupole:  k = B'/ Brho</span>
+0033 <span class="comment">% For sextupole:   k = B&quot;/ Brho / 2  (to be compatible with AT)</span>
+0034 <span class="comment">%                  (all coefficients all divided by 2 for sextupoles)</span>
+0035 <span class="comment">%</span>
+0036 <span class="comment">% MagnetCoreType is the magnet measurements name for the magnet core (string, string matrix, or cell)</span>
+0037 <span class="comment">%   For SOLEIL:   BEND</span>
+0038 <span class="comment">%                 Q1 - Q10 S1 - S10,</span>
+0039 <span class="comment">%                 QT, HCOR, VCOR, FHCOR, FVCOR</span>
+0040 <span class="comment">%</span>
+0041 <span class="comment">% Leff is the effective length of the magnet</span>
+0042 <span class="comment">%</span>
+0043 <span class="comment">% See Also amp2k, k2amp</span>
+0044 
+0045 <span class="comment">%</span>
+0046 <span class="comment">% Written by M. Yoon 4/8/03</span>
+0047 <span class="comment">% Adapted By Laurent S. Nadolski354.09672</span>
+0048 <span class="comment">%</span>
+0049 <span class="comment">% Partie Anneau modifiï¿œe par P. Brunelle et A. Nadji le 31/03/06</span>
+0050 <span class="comment">%</span>
+0051 <span class="comment">% Add a switch on accelerator</span>
+0052 
+0053 <span class="comment">% NOTE: Make sure the sign on the 'C' coefficients is reversed where positive current generates negative K-values</span>
+0054 <span class="comment">% Or use Tango K value set to -1</span>
+0055 
+0056 
+0057 <span class="keyword">if</span> nargin &lt; 1
+0058     error(<span class="string">'MagnetCoreType input required'</span>);
+0059 <span class="keyword">end</span>
+0060 
+0061 <span class="keyword">if</span> nargin &lt; 2
+0062     Amps = 230;  <span class="comment">% not sure!!!</span>
+0063 <span class="keyword">end</span>
+0064 
+0065 <span class="keyword">if</span> nargin &lt; 3
+0066     InputType = <span class="string">'Amps'</span>;
+0067 <span class="keyword">end</span>
+0068 
+0069 
+0070 
+0071 <span class="comment">% For a string matrix</span>
+0072 <span class="keyword">if</span> iscell(MagnetCoreType)
+0073     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0074         <span class="keyword">for</span> j = 1:size(MagnetCoreType,2)
+0075             [C{i,j}, Leff{i,j}, MagnetType{i,j}, A{i,j}] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType{i});
+0076         <span class="keyword">end</span>
+0077     <span class="keyword">end</span>
+0078     <span class="keyword">return</span>
+0079 <span class="keyword">end</span>
+0080 
+0081 <span class="comment">% For a string matrix</span>
+0082 <span class="keyword">if</span> size(MagnetCoreType,1) &gt; 1
+0083     C=[]; Leff=[]; MagnetType=[]; A=[];
+0084     <span class="keyword">for</span> i = 1:size(MagnetCoreType,1)
+0085         [C1, Leff1, MagnetType1, A1] = <a href="magnetcoefficients.html" class="code" title="function [C, Leff, MagnetType, A] = magnetcoefficients(MagnetCoreType, Amps, InputType)">magnetcoefficients</a>(MagnetCoreType(i,:));
+0086         C(i,:) = C1;
+0087         Leff(i,:) = Leff1;
+0088         MagnetType = strvcat(MagnetType, MagnetType1);
+0089         A(i,:) = A1;
+0090     <span class="keyword">end</span>
+0091     <span class="keyword">return</span>
+0092 <span class="keyword">end</span>
+0093 
+0094 <span class="comment">%% get accelerator name</span>
+0095 AcceleratorName = getfamilydata(<span class="string">'Machine'</span>);
+0096 
+0097 <span class="keyword">switch</span> AcceleratorName
+0098     <span class="keyword">case</span> <span class="string">'LT1'</span>
+0099         <span class="comment">%%%%</span>
+0100         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0101 
+0102             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0103                 Leff = 0.30; <span class="comment">% 300 mm</span>
+0104                 <span class="comment">% B = 1e-4 * (0.0004 Iï¿œ + 16.334 I + 1.7202)</span>
+0105                 a8 =  0.0;
+0106                 a7 =  0.0;
+0107                 a6 =  0.0;
+0108                 a5 =  0.0;
+0109                 a4 =  0.0;
+0110                 a3 =  0.0;
+0111                 a2 =  0.0;
+0112                 a1 =  4.8861e-4;
+0113                 a0 =  1.19e-4;
+0114 
+0115                 A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+0116                 MagnetType = <span class="string">'BEND'</span>;
+0117 
+0118             <span class="keyword">case</span> {<span class="string">'QP'</span>}   <span class="comment">% 150 mm quadrupole</span>
+0119                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0120                 Leff=0.150; <span class="comment">% 162 mm;</span>
+0121                 a8 =  0.0;
+0122                 a7 =  0.0;
+0123                 a6 =  0.0;
+0124                 a5 =  0.0;
+0125 <span class="comment">%                 a4 =  1.49e-6;</span>
+0126 <span class="comment">%                 a3 =  2.59e-5;</span>
+0127 <span class="comment">%                 a2 =  1.93e-4;</span>
+0128 <span class="comment">%                 a1 =  4.98e-2;</span>
+0129 <span class="comment">%                 a0 =  0.0;</span>
+0130                 a4 =  -1.49e-6;
+0131                 a3 =  2.59e-5;
+0132                 a2 =  -1.93e-4;
+0133                 a1 =  4.98e-2;
+0134                 a0 =  8.13e-4;              
+0135                 
+0136                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0137                 MagnetType = <span class="string">'QUAD'</span>;
+0138 
+0139             <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0140                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0141                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0142                 <span class="comment">% Therefore,</span>
+0143                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0144                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0145                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0146                 <span class="comment">%</span>
+0147                 <span class="comment">% The C coefficients are w.r.t B</span>
+0148                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0149                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0150                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0151                 <span class="comment">% the addition of the DC term</span>
+0152 
+0153                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0154                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0155                 MagnetType = <span class="string">'COR'</span>;
+0156                 
+0157                 Leff = 1e-6; <span class="comment">% 0.1577 m</span>
+0158                 a8 =  0.0;
+0159                 a7 =  0.0;
+0160                 a6 =  0.0;
+0161                 a5 =  0.0;
+0162                 a4 =  0.0;
+0163                 a3 =  0.0;
+0164                 a2 =  0.0;
+0165                 a1 =  4.49e-4;
+0166                 a0 =  0;
+0167                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0168                 
+0169             <span class="keyword">otherwise</span>
+0170                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0171                 <span class="comment">%k = 0;</span>
+0172                 <span class="comment">%MagnetType = '';</span>
+0173                 <span class="comment">%return</span>
+0174         <span class="keyword">end</span>
+0175 
+0176         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0177         C = A/ Leff;
+0178 
+0179         MagnetType = upper(MagnetType);
+0180     
+0181     <span class="keyword">case</span> <span class="string">'Ring'</span>
+0182         <span class="comment">%%%%</span>
+0183         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0184 
+0185             <span class="keyword">case</span> <span class="string">'BEND'</span>   
+0186                 <span class="comment">% Moyenne des longueurs magnï¿œtiques mesurï¿œes = 1055.548mm</span>
+0187                 <span class="comment">% DÃ©calage en champ entre le dipï¿œle de rÃ©fÃ©rence et les</span>
+0188                 <span class="comment">% dipï¿œles de l'Anneau = DB/B= +1.8e-03.</span>
+0189                 <span class="comment">% On part de l'ï¿œtalonnage B(I) effectuï¿œ sur le dipï¿œle de</span>
+0190                 <span class="comment">% rï¿œfï¿œrence dans la zone de courant 516 - 558 A</span>
+0191                 <span class="comment">% les coefficients du fit doivent ï¿œtre affectï¿œs du facteur</span>
+0192                 <span class="comment">% (1-1.8e-3) pour passer du dipï¿œle de rï¿œfï¿œrence ï¿œ l'Anneau</span>
+0193                 <span class="comment">% et du facteur Leff pour passer ï¿œ l'intï¿œgrale de champ.</span>
+0194                 <span class="comment">%</span>
+0195                 
+0196                 <span class="comment">% B=1.7063474 T correspond ï¿œ 2.75 GeV</span>
+0197                 <span class="comment">% ?  longueur magnÃ©tique du model : Leff = 1.052433;</span>
+0198 <span class="comment">%                 Leff=1.055548;</span>
+0199 <span class="comment">%                 a7= 0.0;</span>
+0200 <span class="comment">%                 a6=-0.0;</span>
+0201 <span class="comment">%                 a5= 0.0;</span>
+0202 <span class="comment">%                 a4=-0.0;</span>
+0203 <span class="comment">%                 a3= 0.0;</span>
+0204 <span class="comment">%                 a2=-9.7816E-6*(1-1.8e-3)*Leff;</span>
+0205 <span class="comment">%                 a1= 1.26066E-02*(1-1.8E-3)*Leff;</span>
+0206 <span class="comment">%                 a0= -2.24944*(1-1.8E-3)*Leff;</span>
+0207 <span class="comment">%                 A = [a7 a6 a5 a4 a3 a2 a1 a0];</span>
+0208                 
+0209                 Leff=1.052433;
+0210                 a7= 0.0;
+0211                 a6=-0.0;
+0212                 a5= 0.0;
+0213                 a4=-0.0;
+0214                 a3= 0.0;
+0215                 a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+0216                 a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0217                 a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0218                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0219                 
+0220 
+0221                 MagnetType = <span class="string">'BEND'</span>;
+0222 
+0223             <span class="keyword">case</span> {<span class="string">'Q1'</span>,<span class="string">'Q6'</span>}  
+0224                 <span class="comment">% Familles Q1 et Q6 l= 320 mm</span>
+0225                 <span class="comment">% Etalonnage GL(I) sur 90 - 150 A quadrupï¿œle court</span>
+0226                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q1 et Q6 dï¿œfocalisants</span>
+0227                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0228                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0229                 
+0230                 <span class="comment">% Correction des coefficients des QC de + 3 10-3 (manque</span>
+0231                 <span class="comment">% capteur BMS)</span>
+0232                 
+0233                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0234                 bob=0.9977*(1-8e-3);
+0235 <span class="comment">%                   bob=1-8.0e-3-2.3e-3+3e-3;</span>
+0236                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0237                 Leff=0.320;
+0238 
+0239         <span class="comment">% G. Portmann</span>
+0240 <span class="comment">%                 % Just a way to get the correct polynomial for different k-values</span>
+0241 <span class="comment">%                 if strcmpi(InputType, 'K')</span>
+0242 <span class="comment">%                     if Amps &lt; 0.18928717429288</span>
+0243 <span class="comment">%                         Amps = 10;</span>
+0244 <span class="comment">%                     elseif Amps &lt; 0.75086308092911</span>
+0245 <span class="comment">%                         Amps = 50;</span>
+0246 <span class="comment">%                     elseif Amps &lt; 1.31229873800730</span>
+0247 <span class="comment">%                         Amps = 100;</span>
+0248 <span class="comment">%                     elseif Amps &lt; 1.68337408687106</span>
+0249 <span class="comment">%                         Amps = 150;</span>
+0250 <span class="comment">%                     elseif Amps &lt; 2.04021595285003</span>
+0251 <span class="comment">%                         Amps = 200;</span>
+0252 <span class="comment">%                     else</span>
+0253 <span class="comment">%                         Amps = 230;</span>
+0254 <span class="comment">%                     end</span>
+0255 <span class="comment">%                 end</span>
+0256         <span class="comment">% G. Portmann</span>
+0257                 
+0258                 a7=  0.0;
+0259                 a6=  0.0;
+0260                 a5=  0.0;
+0261                 a4=  0.0;
+0262                 a3=  0.0;
+0263                 a2=  -8.6E-7*(-1)*(1.003)*bob;
+0264                 a1=  2.7664E-2*(1.003)*bob;
+0265                 a0=  -3.3E-3*(-1)*(1.003)*bob;
+0266 <span class="comment">%                 a7=  0.0;</span>
+0267 <span class="comment">%                 a6=  0.0;</span>
+0268 <span class="comment">%                 a5=  0.0;</span>
+0269 <span class="comment">%                 a4=  0.0;</span>
+0270 <span class="comment">%                 a3=  0.0;</span>
+0271 <span class="comment">%                 a2=  -8.6E-7*(-1)*bob;</span>
+0272 <span class="comment">%                 a1=  2.7664E-2*bob;</span>
+0273 <span class="comment">%                 a0=  -3.3E-3*(-1)*bob;</span>
+0274        <span class="comment">% G. Portmann</span>
+0275 <span class="comment">%                 if Amps &lt; 20</span>
+0276 <span class="comment">%                     a2=  0.0;</span>
+0277 <span class="comment">%                     a1=  0.027473;</span>
+0278 <span class="comment">%                     a0=  0.0;</span>
+0279 <span class="comment">%                 elseif Amps &lt; 80</span>
+0280 <span class="comment">%                     a2=  0.0;</span>
+0281 <span class="comment">%                     a1=  0.027473;</span>
+0282 <span class="comment">%                     a0=  0.006270;</span>
+0283 <span class="comment">%                  elseif Amps &lt; 140</span>
+0284 <span class="comment">%                     a2= -5.6000e-7;</span>
+0285 <span class="comment">%                     a1=  2.7598e-2;</span>
+0286 <span class="comment">%                     a0=  2.1000e-4;</span>
+0287 <span class="comment">%                  elseif Amps &lt; 180</span>
+0288 <span class="comment">%                     a3= -3.25400e-8;</span>
+0289 <span class="comment">%                     a2=  1.05300e-5;</span>
+0290 <span class="comment">%                     a1=  2.63758e-2;</span>
+0291 <span class="comment">%                     a0=  4.30800e-2;</span>
+0292 <span class="comment">%                  elseif Amps &lt; 220</span>
+0293 <span class="comment">%                     a4= -1.14374e-8;</span>
+0294 <span class="comment">%                     a3=  8.69384e-6;</span>
+0295 <span class="comment">%                     a2= -2.49129e-3;</span>
+0296 <span class="comment">%                     a1=  3.45626e-1;</span>
+0297 <span class="comment">%                     a0= -1.52486e+1;</span>
+0298 <span class="comment">%                 else</span>
+0299 <span class="comment">%                     a5= -3.417777770e-8;</span>
+0300 <span class="comment">%                     a4=  3.992090910e-5;</span>
+0301 <span class="comment">%                     a3= -1.864441566e-2;</span>
+0302 <span class="comment">%                     a2=  4.351937350e+0;</span>
+0303 <span class="comment">%                     a1= -5.076535920e+2;</span>
+0304 <span class="comment">%                     a0=  2.367859440e+4;</span>
+0305 <span class="comment">%                 end</span>
+0306          <span class="comment">% G. Portmann</span>
+0307          
+0308                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0309                 
+0310                 MagnetType = <span class="string">'quad'</span>;
+0311                 
+0312              <span class="keyword">case</span> {<span class="string">'Q8'</span>,<span class="string">'Q9'</span>}  
+0313                 <span class="comment">% Familles Q8 et Q9 l= 320 mm</span>
+0314                 <span class="comment">% Etalonnage GL(I) sur 160 - 200 A quadrupï¿œle court</span>
+0315                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q8 et Q9 dï¿œfocalisants</span>
+0316                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0317                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0318                 
+0319                 <span class="comment">% Correction des coefficients des QC de + 3 10-3 (manque</span>
+0320                 <span class="comment">% capteur BMS)</span>
+0321                 
+0322                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0323                 bob=0.9977*(1-8e-3);
+0324 
+0325                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0326                 Leff=0.320;
+0327                 a7=  0.0;
+0328                 a6=  0.0;
+0329                 a5=  0.0;
+0330                 a4=  0.0;
+0331                 a3=  -8.843E-8*(1.003)*bob;
+0332                 a2=  3.6389E-5*(-1)*(1.003)*bob;
+0333                 a1=  2.2448E-2*(1.003)*bob;
+0334                 a0=  2.382E-1*(-1)*(1.003)*bob;
+0335                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0336                 
+0337                 MagnetType = <span class="string">'quad'</span>;  
+0338                 
+0339             <span class="keyword">case</span> {<span class="string">'Q3'</span>}  
+0340                 <span class="comment">% Famille Q3 l= 320 mm</span>
+0341                 <span class="comment">% Etalonnage GL(I) sur 50 - 100 A quadrupï¿œle court</span>
+0342                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q3 est dï¿œfocalisant</span>
+0343                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0344                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0345                 
+0346                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0347                 <span class="comment">% capteur BMS)</span>
+0348                 
+0349                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0350                 bob=0.9977*(1-8e-3);
+0351 
+0352                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0353                 Leff=0.320;
+0354                 a7=  0.0;
+0355                 a6=  0.0;
+0356                 a5=  0.0;
+0357                 a4=  0.0;
+0358                 a3=  0.;
+0359                 a2=  1.4E-7*(-1)*(1.003)*bob;
+0360                 a1=  2.7471E-2*(1.003)*bob;
+0361                 a0=  5.83E-3*(-1)*(1.003)*bob;
+0362                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0363                 
+0364                 MagnetType = <span class="string">'quad'</span>; 
+0365                 
+0366              <span class="keyword">case</span> {<span class="string">'Q4'</span>}  
+0367                 <span class="comment">% Famille Q4 l= 320 mm</span>
+0368                 <span class="comment">% Etalonnage GL(I) sur 120 - 170 A quadrupï¿œle court</span>
+0369                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q4 est dï¿œfocalisant</span>
+0370                 <span class="comment">% il faut donc un k &lt; 0. Les coefficients du fit a0, a2,</span>
+0371                 <span class="comment">% a4,...sont multipliï¿œs par -1.</span>
+0372                 
+0373                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0374                 <span class="comment">% capteur BMS)</span>
+0375                 
+0376                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0377                 bob=0.9977*(1-8e-3);
+0378                 
+0379                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0380                 Leff=0.320;
+0381                 a7=  0.0;
+0382                 a6=  0.0;
+0383                 a5=  0.0;
+0384                 a4=  0.0;
+0385                 a3=  -5.2680E-8*(1.003)*bob;
+0386                 a2=  1.9620E-5*(-1)*(1.003)*bob;
+0387                 a1=  2.5016E-2*(1.003)*bob;
+0388                 a0=  1.1046E-1*(-1)*(1.003)*bob;
+0389                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0390                 
+0391                 MagnetType = <span class="string">'quad'</span>; 
+0392                 
+0393             <span class="keyword">case</span> {<span class="string">'Q5'</span>,<span class="string">'Q10'</span>}   <span class="comment">% 320 mm quadrupole</span>
+0394                  <span class="comment">% Familles Q5 et Q10 l= 320 mm</span>
+0395                 <span class="comment">% Etalonnage GL(I) sur 180 - 230 A quadrupï¿œle court</span>
+0396                 <span class="comment">% le courant remontï¿œ est nï¿œgatif car Q5 et Q10 sont</span>
+0397                 <span class="comment">% focalisants</span>
+0398                 
+0399                 <span class="comment">%Correction des coefficients des QC de + 3 10-3 (manque</span>
+0400                 <span class="comment">% capteur BMS)</span>
+0401                 
+0402                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0403                 bob=0.9977*(1-8e-3);
+0404                 
+0405                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0406                 Leff=0.320;
+0407                 a7=  0.0;
+0408                 a6=  0.0;
+0409                 a5=  0.0;
+0410                 a4=  -8.0497E-09*(1.003)*bob;
+0411                 a3= 6.01284E-06*(1.003)*bob;
+0412                 a2=  -1.696898E-03*(1.003)*bob;
+0413                 a1=  2.41175E-01*(1.003)*bob;
+0414                 a0=  -1.01064E+01*(1.003)*bob;
+0415                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0416 
+0417                 MagnetType = <span class="string">'quad'</span>;    
+0418                     
+0419             <span class="keyword">case</span> {<span class="string">'Q2'</span>}   <span class="comment">% l= 460 mm</span>
+0420                 <span class="comment">% quadrupï¿œle focalisant</span>
+0421                 <span class="comment">% Etalonnage GL(I) sur 140 - 190 A quadrupï¿œle long</span>
+0422                 
+0423                 
+0424                 <span class="comment">%Correction des coefficients des QL de + 1.55 10-2 (manque</span>
+0425                 <span class="comment">% capteur BMS)</span>
+0426                 
+0427                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0428                 bob=0.9977*(1-8e-3);
+0429 
+0430                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0431                 Leff=0.460;
+0432                 a7=  0.0;
+0433                 a6=  0.0;
+0434                 a5= -0.0;
+0435                 a4=  0.0;
+0436                 a3= -2.7609E-7*(1.0155)*bob;
+0437                 a2=  1.17098E-4*(1.0155)*bob;
+0438                 a1=  2.7718E-2*(1.0155)*bob;
+0439                 a0=  8.2470E-1*(1.0155)*bob;
+0440                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0441                 MagnetType = <span class="string">'quad'</span>;
+0442 
+0443             <span class="keyword">case</span> {<span class="string">'Q7'</span>}   <span class="comment">% l= 460 mm</span>
+0444                 <span class="comment">% quadrupï¿œle focalisant</span>
+0445                 <span class="comment">% Etalonnage GL(I) sur 190 - 230 A quadrupï¿œle long</span>
+0446                 
+0447                 <span class="comment">%Correction des coefficients des QL de + 1.55 10-2 (manque</span>
+0448                 <span class="comment">% capteur BMS)</span>
+0449                 
+0450                 <span class="comment">%correction offset capteur BMS -2.310-3 P. Brunelle 30/05/06</span>
+0451                 bob=0.9977*(1-8e-3);
+0452 
+0453                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0454                 Leff=0.460;
+0455                 a7=  0.0;
+0456                 a6=  0.0;
+0457                 a5= 1.50427350E-9*(1.0155)*bob;
+0458                 a4=  -1.52722610E-6*(1.0155)*bob;
+0459                 a3= 6.16874120E-4*(1.0155)*bob;
+0460                 a2=  -1.24044936E-1*(1.0155)*bob;
+0461                 a1=  1.24707096E+01*(1.0155)*bob;
+0462                 a0=  -4.96304380E+02*(1.0155)*bob;
+0463                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0464                 MagnetType = <span class="string">'quad'</span>;
+0465 
+0466                 <span class="comment">% Sextupï¿œles : on multiplie les coefficients par 2 car ils</span>
+0467                 <span class="comment">% sont exprimï¿œs en B&quot;L et non B&quot;L/2</span>
+0468                 
+0469             <span class="keyword">case</span> {<span class="string">'S1'</span>,<span class="string">'S10'</span>}    
+0470                 <span class="comment">% l= 160 mm focalisants</span>
+0471                 <span class="comment">% Etalonnage HL(I) sur 40 - 160 A</span>
+0472                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0473                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0474                 a7=  0.0;
+0475                 a6=  0.0;
+0476                 a5=  0.0;
+0477                 a4=  0.0;
+0478                 a3=  0.0;
+0479                 a2=  -3.773E-6;
+0480                 a1=  1.5476E-1;
+0481                 a0=  2.36991E-1;
+0482                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0483                 MagnetType = <span class="string">'SEXT'</span>;
+0484                 
+0485                 
+0486             <span class="keyword">case</span> {<span class="string">'S3'</span>,<span class="string">'S9'</span>}    
+0487                 <span class="comment">% l= 160 mm dï¿œfocalisants</span>
+0488                 <span class="comment">% Etalonnage HL(I) sur 80 - 250 A</span>
+0489                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0490                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0491                 a7=  0.0;
+0492                 a6=  0.0;
+0493                 a5=  0.0;
+0494                 a4=  0.0;
+0495                 a3=  -2.6735E-8;
+0496                 a2=  5.8793E-6*(-1);
+0497                 a1=  1.5364E-1;
+0498                 a0=  2.7867E-1*(-1);
+0499                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0500                 MagnetType = <span class="string">'SEXT'</span>;
+0501                 
+0502              <span class="keyword">case</span> {<span class="string">'S6'</span>}    
+0503                 <span class="comment">% l= 160 mm focalisant</span>
+0504                 <span class="comment">% Etalonnage HL(I) sur 80 - 250 A</span>
+0505                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0506                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0507                 a7=  0.0;
+0508                 a6=  0.0;
+0509                 a5=  0.0;
+0510                 a4=  0.0;
+0511                 a3=  -2.6735E-8;
+0512                 a2=  5.8793E-6;
+0513                 a1=  1.5364E-1;
+0514                 a0=  2.7867E-1;
+0515                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0516                 MagnetType = <span class="string">'SEXT'</span>;
+0517 
+0518                 
+0519               <span class="keyword">case</span> {<span class="string">'S4'</span>,<span class="string">'S8'</span>}    
+0520                 <span class="comment">% l= 160 mm focalisants</span>
+0521                 <span class="comment">% Etalonnage HL(I) sur 170 - 300 A</span>
+0522                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0523                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0524                 a7=  0.0;
+0525                 a6=  0.0;
+0526                 a5=  0.0;
+0527                 a4=  -8.8836E-10;
+0528                 a3=  7.1089E-7;
+0529                 a2=  -2.2277E-4;
+0530                 a1=  1.8501E-1;
+0531                 a0=  -1.329;
+0532                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0533                 MagnetType = <span class="string">'SEXT'</span>;
+0534 
+0535              <span class="keyword">case</span> {<span class="string">'S2'</span>,<span class="string">'S5'</span>}    
+0536                 <span class="comment">% l= 160 mm dï¿œfocalisants</span>
+0537                 <span class="comment">% Etalonnage HL(I) sur 170 - 300 A</span>
+0538                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0539                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0540                 a7=  0.0;
+0541                 a6=  0.0;
+0542                 a5=  0.0;
+0543                 a4=  -8.8836E-10*(-1);
+0544                 a3=  7.1089E-7;
+0545                 a2=  -2.2277E-4*(-1);
+0546                 a1=  1.8501E-1;
+0547                 a0=  -1.329*(-1);
+0548                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0549                 MagnetType = <span class="string">'SEXT'</span>;    
+0550         
+0551               <span class="keyword">case</span> {<span class="string">'S7'</span>}    
+0552                 <span class="comment">% l= 160 mm dï¿œfocalisant</span>
+0553                 <span class="comment">% Etalonnage HL(I) sur 250 - 350 A</span>
+0554                 <span class="comment">% Find the current from the given polynomial for B''Leff</span>
+0555                 Leff=1e-8; <span class="comment">% modeled as thin length;</span>
+0556                 a7=  0.0;
+0557                 a6=  0.0;
+0558                 a5=  -2.613556E-10;
+0559                 a4=  3.730258E-7*(-1);
+0560                 a3=  -2.1301205E-4;
+0561                 a2=  6.077561E-2*(-1);
+0562                 a1=  -8.5069349;
+0563                 a0=  4.933E+2*(-1);
+0564                 A = [a7 a6 a5 a4 a3 a2 a1 a0]*2;
+0565                 MagnetType = <span class="string">'SEXT'</span>; 
+0566                 
+0567             <span class="keyword">case</span> <span class="string">'QT'</span>    <span class="comment">% 160 mm dans sextupole</span>
+0568                 <span class="comment">% Etalonnage: moyenne sur les 32 sextupï¿œles incluant un QT.</span>
+0569                 <span class="comment">% Efficacitï¿œ = 3 G.m/A @ R=32mm; soit 93.83 G/A</span>
+0570                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0571                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0572                 Leff = 0.16;
+0573                 a7= 0.0;
+0574                 a6= 0.0;
+0575                 a5= 0.0;
+0576                 a4= 0.0;
+0577                 a3= 0.0;
+0578                 a2= 0.0;
+0579                 a1= 93.83E-4;
+0580                 a0= 0.0;
+0581                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0582 
+0583                 MagnetType = <span class="string">'QT'</span>;
+0584 
+0585             <span class="keyword">case</span> {<span class="string">'HCOR'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0586                 <span class="comment">% Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORH.</span>
+0587                 <span class="comment">% Efficacitï¿œ = 8.143 G.m/A</span>
+0588                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0589                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0590                 Leff = 0.16;
+0591                 a7= 0.0;
+0592                 a6= 0.0;
+0593                 a5= 0.0;
+0594                 a4= 0.0;
+0595                 a3= 0.0;
+0596                 a2= 0.0;
+0597                 a1= 8.143E-4;
+0598                 a0= 0.0;
+0599                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0600 
+0601                 MagnetType = <span class="string">'COR'</span>;
+0602                 
+0603 
+0604             <span class="keyword">case</span> {<span class="string">'FHCOR'</span>}    <span class="comment">% 10 cm horizontal corrector</span>
+0605                 <span class="comment">% Magnet Spec: Theta = 280e-6 radians @ 2.75 GeV and 10 amps</span>
+0606                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0607                 <span class="comment">% Therefore,</span>
+0608                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0609                 <span class="comment">%       BLeff/Amp = 280e-6 * getbrho(2.75) / 10</span>
+0610                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0611                 <span class="comment">%</span>
+0612                 <span class="comment">% The C coefficients are w.r.t B</span>
+0613                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0614                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0615                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0616                 <span class="comment">% the addition of the DC term</span>
+0617 
+0618                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0619                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0620                 Leff = .10;
+0621                 imax = 10;
+0622                 cormax = 28e-6 ; <span class="comment">% 28 urad for imax = 10 A</span>
+0623                 MagnetType = <span class="string">'COR'</span>;
+0624                 A = [0 cormax*getbrho(2.75)/imax 0];
+0625 
+0626             <span class="keyword">case</span> {<span class="string">'VCOR'</span>}    <span class="comment">% 16 cm vertical corrector</span>
+0627                 <span class="comment">% Etalonnage: moyenne sur les 56 sextupï¿œles incluant un CORV.</span>
+0628                 <span class="comment">% Efficacitï¿œ = 4.642 G.m/A</span>
+0629                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0630                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) = magnetcoefficients(AO.(ifam).FamilyName );</span>
+0631                 Leff = 0.16;
+0632                 a7= 0.0;
+0633                 a6= 0.0;
+0634                 a5= 0.0;
+0635                 a4= 0.0;
+0636                 a3= 0.0;
+0637                 a2= 0.0;
+0638                 a1= 4.642E-4;
+0639                 a0= 0.0;
+0640                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0641 
+0642                 MagnetType = <span class="string">'COR'</span>;
+0643 
+0644             <span class="keyword">case</span> {<span class="string">'FVCOR'</span>}    <span class="comment">% 10 cm vertical corrector</span>
+0645                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0646                 Leff = .10;
+0647                 imax = 10;
+0648                 cormax = 23e-6 ; <span class="comment">% 23 urad for imax = 10 A</span>
+0649                 MagnetType = <span class="string">'COR'</span>;
+0650                 A = [0 cormax*getbrho(2.75)/imax 0];
+0651 
+0652             <span class="keyword">case</span> {<span class="string">'K_INJ'</span>}
+0653                 <span class="comment">% Kicker d'injection</span>
+0654                 <span class="comment">% Ã©talonnage provisoire</span>
+0655                 <span class="comment">% attention l'element n'etant pas dans le modele,definition</span>
+0656                 <span class="comment">% de A ambigue</span>
+0657                 Leff = .6;
+0658                 vmax = 8000;
+0659                 alphamax = 8e-3 ; <span class="comment">% 8 mrad pour 8000 V</span>
+0660                 MagnetType = <span class="string">'K_INJ'</span>;
+0661                 A = [0 alphamax*getbrho(2.75)/vmax 0]*Leff;
+0662                 
+0663              <span class="keyword">case</span> {<span class="string">'K_INJ1'</span>}
+0664                 <span class="comment">% Kickers d'injection 1 et 4</span>
+0665                 Leff = .6;
+0666                 vmax = 7500; <span class="comment">% tension de mesure</span>
+0667                 SBDL = 75.230e-3 ; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0668                 MagnetType = <span class="string">'K_INJ1'</span>;
+0669                 A = [0 -SBDL/vmax 0]*Leff; 
+0670                 
+0671              <span class="keyword">case</span> {<span class="string">'K_INJ2'</span>}
+0672                 <span class="comment">% Kickers d'injection 2 et 3</span>
+0673                 Leff = .6;
+0674                 vmax = 7500;<span class="comment">% tension de mesure</span>
+0675                 SBDL = 74.800e-3 ; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0676                 MagnetType = <span class="string">'K_INJ2'</span>;  
+0677                 A = [0 SBDL/vmax 0]*Leff; 
+0678                 
+0679             <span class="keyword">case</span> {<span class="string">'SEP_P'</span>}
+0680                 <span class="comment">% Septum passif d'injection</span>
+0681                 Leff = .6;
+0682                 vmax = 547; <span class="comment">% tension de mesure V</span>
+0683                 SBDL = 263e-3; <span class="comment">% somme de Bdl mesurÃ©e</span>
+0684                 MagnetType = <span class="string">'SEP_P'</span>;
+0685                 A = [0 SBDL/vmax 0]*Leff; 
+0686                 
+0687              <span class="keyword">case</span> {<span class="string">'SEP_A'</span>}
+0688                 <span class="comment">% Septum actif d'injection</span>
+0689                 Leff = 1.;
+0690                 vmax = 111;
+0691                 MagnetType = <span class="string">'SEP_A'</span>;
+0692                 SBDL = 1147.8e-3 ; <span class="comment">% Somme de Bdl mesurÃ©e Ã  111 V</span>
+0693                 A = [0 SBDL/vmax 0]*Leff; 
+0694 
+0695             <span class="keyword">otherwise</span>
+0696                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0697                 k = 0;
+0698                 MagnetType = <span class="string">''</span>;
+0699                 <span class="keyword">return</span>
+0700         <span class="keyword">end</span>
+0701 
+0702         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0703         C = A / Leff;
+0704 
+0705         MagnetType = upper(MagnetType);
+0706 
+0707 
+0708         <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0709         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0710             C = C / 2;
+0711         <span class="keyword">end</span>
+0712         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'OCTO'</span>)
+0713             C = C / 6;
+0714         <span class="keyword">end</span>
+0715         <span class="keyword">return</span>;
+0716     <span class="keyword">case</span> <span class="string">'Booster'</span>
+0717         <span class="comment">%%%%</span>
+0718         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0719 
+0720             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0721                 <span class="comment">% B[T] = 0.00020 + 0.0013516 I[A]</span>
+0722                 <span class="comment">% B[T] = 0.00020 + (0.0013051 + 0.00005/540 I) I[A] Alex</span>
+0723                 Leff = 2.160; <span class="comment">% 2160 mm</span>
+0724                 a8 =  0.0;
+0725                 a7 =  0.0;
+0726                 a6 =  0.0;
+0727                 a5 =  0.0;
+0728                 a4 =  0.0;
+0729                 a3 =  0.0;
+0730                 a2 =  9.2e-8*Leff;
+0731                 a1 =  0.0013051*Leff;
+0732                 a0 =  2.0e-3*Leff;
+0733 
+0734                 A = [a8 a7 a6 a5 a4 a3 a2 a1 a0];
+0735                 MagnetType = <span class="string">'BEND'</span>;
+0736 
+0737             <span class="keyword">case</span> {<span class="string">'QF'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0738                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0739                 <span class="comment">% G[T/m] = 0.0465 + 0.0516 I[A] Alex</span>
+0740                 Leff=0.400; 
+0741                 a8 =  0.0;
+0742                 a7 =  0.0;
+0743                 a6 =  0.0;
+0744                 a5 =  0.0;
+0745                 a4 =  0.0;
+0746                 a3 =  0.0;
+0747                 a2 =  0.0;
+0748                 a1 =  0.0516*Leff;
+0749                 a0 =  0.0465*Leff;
+0750                 
+0751                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; <span class="comment">%*getbrho(0.1);</span>
+0752                 MagnetType = <span class="string">'QUAD'</span>;
+0753 
+0754             <span class="keyword">case</span> {<span class="string">'QD'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0755                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0756                 <span class="comment">% G[T/m] = 0.0485 + 0.0518 I[A] Alex</span>
+0757                 Leff=0.400; 
+0758                 a8 =  0.0;
+0759                 a7 =  0.0;
+0760                 a6 =  0.0;
+0761                 a5 =  0.0;
+0762                 a4 =  0.0;
+0763                 a3 =  0.0;
+0764                 a2 =  0.0;
+0765                 a1 =  -0.0518*Leff;
+0766                 a0 =  -0.0485*Leff;
+0767                 
+0768                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; <span class="comment">%*getbrho(0.1);</span>
+0769                 MagnetType = <span class="string">'QUAD'</span>;
+0770 
+0771             <span class="keyword">case</span> {<span class="string">'SF'</span>, <span class="string">'SD'</span>}   <span class="comment">% 150 mm sextupole</span>
+0772                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0773                 <span class="comment">% HL [T/m] = 0.2 I [A] (deja intï¿œgrï¿œ)</span>
+0774                 Leff=1.e-8; <span class="comment">% thin lens;</span>
+0775                 a8 =  0.0;
+0776                 a7 =  0.0;
+0777                 a6 =  0.0;
+0778                 a5 =  0.0;
+0779                 a4 =  0.0;
+0780                 a3 =  0.0;
+0781                 a2 =  0.0;
+0782                 a1 =  0.2*2;
+0783                 a0 =  0.0;
+0784                 
+0785                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0786                 MagnetType = <span class="string">'SEXT'</span>;
+0787                 
+0788             <span class="keyword">case</span> {<span class="string">'HCOR'</span>,<span class="string">'VCOR'</span>}    <span class="comment">% ?? cm horizontal corrector</span>
+0789                 <span class="comment">% Magnet Spec: Theta = 0.8e-3 radians @ 2.75 GeV and 10 amps</span>
+0790                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0791                 <span class="comment">% Therefore,</span>
+0792                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0793                 <span class="comment">%       BLeff/Amp = 0.8e-3 * getbrho(2.75) / 10</span>
+0794                 <span class="comment">%       B*Leff = a0 * I   =&gt; a0 = 0.8e-3 * getbrho(2.75) / 10</span>
+0795                 <span class="comment">%</span>
+0796                 <span class="comment">% The C coefficients are w.r.t B</span>
+0797                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0798                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0799                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0800                 <span class="comment">% the addition of the DC term</span>
+0801 
+0802                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0803                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0804                 MagnetType = <span class="string">'COR'</span>;
+0805                 <span class="comment">% theta [mrad] = 1.34 I[A] @ 0.1 GeV</span>
+0806                 Leff = 1e-6;
+0807                 a8 =  0.0;
+0808                 a7 =  0.0;
+0809                 a6 =  0.0;
+0810                 a5 =  0.0;
+0811                 a4 =  0.0;
+0812                 a3 =  0.0;
+0813                 a2 =  0.0;
+0814                 a1 =  1.34e-3*getbrho(0.1);
+0815                 a0 =  0;
+0816                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0817                 
+0818             <span class="keyword">otherwise</span>
+0819                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0820                 <span class="comment">%k = 0;</span>
+0821                 <span class="comment">%MagnetType = '';</span>
+0822                 <span class="comment">%return</span>
+0823         <span class="keyword">end</span>
+0824 
+0825         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0826         C = A/ Leff;
+0827  
+0828         <span class="comment">% Power Series Denominator (Factoral) be AT compatible</span>
+0829         <span class="keyword">if</span> strcmpi(MagnetType,<span class="string">'SEXT'</span>)
+0830             C = C / 2;
+0831         <span class="keyword">end</span>
+0832  
+0833         MagnetType = upper(MagnetType);
+0834 
+0835     <span class="keyword">case</span> <span class="string">'LT2'</span>
+0836         <span class="comment">%%%%</span>
+0837         <span class="keyword">switch</span> upper(deblank(MagnetCoreType))
+0838 
+0839             <span class="keyword">case</span> <span class="string">'BEND'</span>    
+0840                 <span class="comment">% les coefficients et longueur magnÃ©tique sont recopiÃ©s de l'anneau</span>
+0841                 Leff=1.052433;
+0842                 a7= 0.0;
+0843                 a6=-0.0;
+0844                 a5= 0.0;
+0845                 a4=-0.0;
+0846                 a3= 0.0;
+0847                 a2=-9.7816E-6*(1-1.8e-3)*Leff*(1.055548/1.052433);
+0848                 a1= 1.26066E-02*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0849                 a0= -2.24944*(1-1.8E-3)*Leff*(1.055548/1.052433);
+0850                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0851                 
+0852 
+0853                 MagnetType = <span class="string">'BEND'</span>;
+0854 
+0855             <span class="keyword">case</span> {<span class="string">'QP'</span>}   <span class="comment">% 400 mm quadrupole</span>
+0856                 <span class="comment">% Find the current from the given polynomial for B'Leff</span>
+0857                 
+0858                 <span class="comment">% G[T/m] = 0.1175 + 0.0517 I[A]</span>
+0859                 <span class="comment">% le rÃ©manent est + fort que pour les quad Booster car les</span>
+0860                 <span class="comment">% courants max sont + eleves</span>
+0861                 Leff=0.400; 
+0862 <span class="comment">%                 a8 =  0.0;</span>
+0863 <span class="comment">%                 a7 =  0.0;</span>
+0864 <span class="comment">%                 a6 =  0.0;</span>
+0865 <span class="comment">%                 a5 =  0.0;</span>
+0866 <span class="comment">%                 a4 =  0.0;</span>
+0867 <span class="comment">%                 a3 =  0.0;</span>
+0868 <span class="comment">%                 a2 =  0.0;</span>
+0869 <span class="comment">%                 a1 =  0.0517*Leff;</span>
+0870 <span class="comment">%                 a0 =  0.1175*Leff;</span>
+0871                 
+0872                 a8 =  0.0;
+0873                 a7 =  0.0;
+0874                 a6 =  0.0;
+0875                 a5 =  0.0;
+0876                 a4 =  -1.3345e-10;
+0877                 a3 =  8.1746e-8;
+0878                 a2 =  -1.6548e-5;
+0879                 a1 =  2.197e-2;
+0880                 a0 =  2.73e-2;
+0881                 A = [a7 a6 a5 a4 a3 a2 a1 a0]; 
+0882                 MagnetType = <span class="string">'QUAD'</span>;
+0883 
+0884             <span class="keyword">case</span> {<span class="string">'CH'</span>,<span class="string">'CV'</span>}    <span class="comment">% 16 cm horizontal corrector</span>
+0885                 
+0886 
+0887                 
+0888                 <span class="comment">% Magnet Spec: Theta = environ 1 mradians @ 2.75 GeV and 10 amps</span>
+0889                 <span class="comment">% Theta = BLeff / Brho    [radians]</span>
+0890                 <span class="comment">% Therefore,</span>
+0891                 <span class="comment">%       Theta = ((BLeff/Amp)/ Brho) * I</span>
+0892                 <span class="comment">%       BLeff/Amp = 1.e-3 * getbrho(2.75) / 10</span>
+0893                 <span class="comment">%       B*Leff = a1 * I   =&gt; a1 = 1.e-3 * getbrho(2.75) / 10</span>
+0894                 <span class="comment">%</span>
+0895                 <span class="comment">% The C coefficients are w.r.t B</span>
+0896                 <span class="comment">%       B = c0 + c1*I = (0 + a0*I)/Leff</span>
+0897                 <span class="comment">% However, AT uses Theta in radians so the A coefficients</span>
+0898                 <span class="comment">% must be used for correctors with the middle layer with</span>
+0899                 <span class="comment">% the addition of the DC term</span>
+0900 
+0901                 <span class="comment">% Find the current from the given polynomial for BLeff and B</span>
+0902                 <span class="comment">% NOTE: AT used BLeff (A) for correctors</span>
+0903                 
+0904                 <span class="comment">% environ 32 cm  corrector</span>
+0905                 <span class="comment">% Efficacitï¿œ = 11.06 G.m/A</span>
+0906                 <span class="comment">% Le signe du courant est donnï¿œ par le DeviceServer (Tango)</span>
+0907                 <span class="comment">% Find the currAO.(ifam).Monitor.HW2PhysicsParams{1}(1,:) =</span>
+0908                 <span class="comment">% magnetcoefficien</span>
+0909                 
+0910                 MagnetType = <span class="string">'COR'</span>;
+0911                 
+0912                 Leff = 1e-6; <span class="comment">% 0.1577 m</span>
+0913                 a8 =  0.0;
+0914                 a7 =  0.0;
+0915                 a6 =  0.0;
+0916                 a5 =  0.0;
+0917                 a4 =  0.0;
+0918                 a3 =  0.0;
+0919                 a2 =  0.0;
+0920                 a1 =  110.6e-4/10;
+0921                 a0 =  0;
+0922                 A = [a7 a6 a5 a4 a3 a2 a1 a0];
+0923                 
+0924             <span class="keyword">otherwise</span>
+0925                 error(sprintf(<span class="string">'MagnetCoreType %s is not unknown'</span>, MagnetCoreType));
+0926                 <span class="comment">%k = 0;</span>
+0927                 <span class="comment">%MagnetType = '';</span>
+0928                 <span class="comment">%return</span>
+0929         <span class="keyword">end</span>
+0930 
+0931         <span class="comment">% compute B-field = int(Bdl)/Leff</span>
+0932         C = A/ Leff;
+0933 
+0934         MagnetType = upper(MagnetType);
+0935 
+0936     <span class="keyword">otherwise</span>
+0937         error(<span class="string">'Unknown accelerator name %s'</span>, AcceleratorName);
+0938 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/measrate.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/measrate.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/measrate.html	(revision 17)
@@ -0,0 +1,178 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of measrate</title>
+  <meta name="keywords" content="measrate">
+  <meta name="description" content="MEASRATE - noise on channels">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; measrate.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>measrate
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>MEASRATE - noise on channels</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function [AvgRate, N] = measrate(family, elem, T); </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">MEASRATE - noise on channels
+[AvgRate, N] = measrate(Family, List, T);
+
+ INPUTS
+ 1. Family = Family name ('BPMx', 'HCOR', etc.) 
+ 2. List   = Device list or element list [column vector] {default, entire family}
+ 3. T      = Time interval to check sampling rate [seconds]
+
+ OUTPUTS
+ 1. AvgRate = Average sample rate over T seconds perios
+ 2. N       = Number of observed transitions
+
+ NOTES
+ 1.This method only works on noisy channels!</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="listfonction.html" class="code" title="">listfonction</a>	</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [AvgRate, N] = measrate(family, elem, T);</a>
+0002 <span class="comment">%MEASRATE - noise on channels</span>
+0003 <span class="comment">%[AvgRate, N] = measrate(Family, List, T);</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">% INPUTS</span>
+0006 <span class="comment">% 1. Family = Family name ('BPMx', 'HCOR', etc.)</span>
+0007 <span class="comment">% 2. List   = Device list or element list [column vector] {default, entire family}</span>
+0008 <span class="comment">% 3. T      = Time interval to check sampling rate [seconds]</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">% OUTPUTS</span>
+0011 <span class="comment">% 1. AvgRate = Average sample rate over T seconds perios</span>
+0012 <span class="comment">% 2. N       = Number of observed transitions</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">% NOTES</span>
+0015 <span class="comment">% 1.This method only works on noisy channels!</span>
+0016 
+0017 <span class="comment">%</span>
+0018 <span class="comment">% Written by Gregory J. Portmann, ALS</span>
+0019 
+0020 <span class="keyword">if</span> nargin == 0,
+0021     error(<span class="string">'Need atleast one input: family'</span>);
+0022 <span class="keyword">end</span> 
+0023 
+0024 <span class="keyword">if</span> nargin == 1,
+0025     elem = getlist(family);
+0026 <span class="keyword">end</span>
+0027 
+0028 <span class="keyword">if</span> isempty(elem)
+0029     elem = getlist(family);
+0030 <span class="keyword">end</span>
+0031 
+0032 
+0033 <span class="keyword">if</span> (size(elem,2) == 2) 
+0034     elem = dev2elem(family, elem);
+0035 <span class="keyword">end</span>                  
+0036 
+0037 <span class="keyword">if</span> nargin &lt;= 2,
+0038     T = 2;
+0039 <span class="keyword">end</span>
+0040 
+0041 OneAtATimeFlag = 0;
+0042 
+0043 <span class="keyword">if</span> OneAtATimeFlag
+0044     DelT = .005;
+0045 <span class="keyword">else</span>
+0046     <span class="keyword">if</span> length(elem)&gt;50
+0047         DelT = .03;
+0048     <span class="keyword">else</span>
+0049         DelT = .02;
+0050     <span class="keyword">end</span>
+0051 <span class="keyword">end</span>
+0052 <span class="keyword">if</span> length(T) == 1
+0053     tin = 0:DelT:T;
+0054 <span class="keyword">else</span>
+0055     tin = T;
+0056 <span class="keyword">end</span>
+0057 
+0058 
+0059 disp([<span class="string">'  Checking the data rate for channel or family: '</span>, family]); 
+0060 disp([<span class="string">'  Collection data for '</span>,num2str(tin(end)),<span class="string">' seconds at a sample rate of '</span>,num2str(1/mean(diff(tin))),<span class="string">' Hertz.'</span>]); pause(0);
+0061 disp([<span class="string">'  Channels must be noisy for this method to work.'</span>]);
+0062 <span class="keyword">if</span> OneAtATimeFlag
+0063     
+0064     <span class="keyword">for</span> i = 1:size(elem,1)
+0065         <span class="comment">% Collect data</span>
+0066         [a, t] = getam(family, elem(i,1), 1, tin);
+0067         
+0068         adiff = abs(diff(a));
+0069         I = find(adiff&gt;0);
+0070         
+0071         <span class="keyword">if</span> size(I,2) &lt; 3
+0072             disp(<span class="string">' '</span>); disp(<span class="string">'  WARNING: Less than 3 update.  Increase time span or channel not noisy enough.'</span>); disp(<span class="string">' '</span>);
+0073         <span class="keyword">end</span>
+0074         
+0075         <span class="keyword">if</span> isempty(I)
+0076             N(i,1) = 0;
+0077             AvgRate(i,1) = 0;
+0078         <span class="keyword">else</span>
+0079             t = t(I);
+0080             tdiff = diff(t);
+0081             
+0082             N(i,1) = size(I,2)-1;
+0083             AvgRate(i,1) = 1/mean(tdiff);
+0084         <span class="keyword">end</span>
+0085         
+0086         Dev=elem2dev(family,elem(i));
+0087         fprintf(<span class="string">'  %s(%2d,%2d), Sample Rate=%5.2f Hz,  Number of Samples=%d, Number of New Data Points=%d\n'</span>, family, Dev(1), Dev(2), AvgRate(i,1), length(t),N(i,1));
+0088     <span class="keyword">end</span>
+0089 <span class="keyword">else</span>
+0090     <span class="comment">% Collect data using EPICs</span>
+0091     getam(family);  <span class="comment">% just to connect to channels</span>
+0092     [a, t] = getam(family, [], 1, tin);
+0093     
+0094     <span class="comment">%figure(3)</span>
+0095     <span class="comment">%plot(tin,t)</span>
+0096     
+0097     <span class="keyword">for</span> i = 1:size(elem,1)
+0098         adiff = abs(diff(a(i,:)));
+0099         I = find(adiff&gt;0);
+0100         
+0101         <span class="keyword">if</span> size(I,2) &lt; 3
+0102             disp(<span class="string">' '</span>); disp([<span class="string">'  WARNING: '</span>,family,<span class="string">'('</span>,num2str(i),<span class="string">') less than 3 update.  Increase time span or channel not noisy enough.'</span>]); disp(<span class="string">' '</span>);
+0103         <span class="keyword">end</span>
+0104         
+0105         <span class="keyword">if</span> isempty(I)
+0106             N(i,1) = 0;
+0107             AvgRate(i,1) = 0;
+0108         <span class="keyword">else</span>
+0109             t1 = t(I);
+0110             tdiff = diff(t1);
+0111             
+0112             N(i,1) = size(I,2)-1;
+0113             AvgRate(i,1) = 1/mean(tdiff);
+0114         <span class="keyword">end</span>
+0115         
+0116         Dev = elem2dev(family,elem(i));
+0117         fprintf(<span class="string">'  %s(%2d,%2d), Sample Rate=%5.2f Hz,  Number of Samples=%d, Number of New Data Points=%d\n'</span>, family, Dev(1), Dev(2), AvgRate(i,1), length(t),N(i,1));
+0118     <span class="keyword">end</span>   
+0119 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/Contents.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/Contents.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/Contents.html	(revision 17)
@@ -0,0 +1,47 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of Contents</title>
+  <meta name="keywords" content="Contents">
+  <meta name="description" content="NAFF toolbox">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">nafflib</a> &gt; Contents.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/nafflib&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>Contents
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>NAFF toolbox</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> NAFF toolbox
+ Version 2.0 SOLEIL version 2007</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/calcnaff.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/calcnaff.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/calcnaff.html	(revision 17)
@@ -0,0 +1,181 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of calcnaff</title>
+  <meta name="keywords" content="calcnaff">
+  <meta name="description" content="[nu amp] = calcnaff(Y, Yp, Win)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">nafflib</a> &gt; calcnaff.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/nafflib&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>calcnaff
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>[nu amp] = calcnaff(Y, Yp, Win)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function [frequency amplitude phase] = calcnaff(Y, Yp, varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> [nu amp] = calcnaff(Y, Yp, Win)
+
+  INPUTS
+  1. Y  - position vector
+  2. Yp -
+  3. WindowType  - Window type - 0 {Default} no windowing
+                                 1 Window of Hann
+                                 2 etc
+  4. nfreq - Maximum number of fundamental frequencies to search for
+             10 {Default}
+  5. debug - 1 means debug flag turned on
+              0 {Default}
+
+  Optional Flags
+  'Debug' - turn on deubbing flag
+  'Display' - print ou results
+  'Hanning' - select Window of Hann, WindowType = 1
+  'Raw' or 'NoWindow' - select Window of Hann, WindowType = 0
+
+  OUTPUTS
+  1. frequency - frequency vector with sorted amplitude
+                 by default the algorithm try to compute the 10 first fundamental
+                 frequencies of the system.
+  2. amplitude - amplitudes associated with fundamental frequencies
+  3. phase - phases assocaited with fundamental frequencies
+
+  NOTES
+  1. Mimimum number of turn is 64 (66)
+  2. Number of turn has to be a multiple of 6 for internal optimization
+  reason and just above a power of 2. Example 1026 is divied by 6 and
+  above 1024 = pow2(10)
+
+  Examples
+  NT = 9996; % divided by 6
+  simple quasiperiodic (even period) motion 
+  y =2+0.1*cos(pi*(0:NT-1))+0.00125*cos(pi/3*(0:NT-1));
+  yp=2+0.1*sin(pi*(0:NT-1))+0.00125*sin(pi/3*(0:NT-1));
+ 
+  [nu ampl phase] = calcnaff(y,yp,1); % with windowing</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naff_example.html" class="code" title="function naff_example">naff_example</a>	Example to test naff within matlab</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [frequency amplitude phase] = calcnaff(Y, Yp, varargin)</a>
+0002 <span class="comment">% [nu amp] = calcnaff(Y, Yp, Win)</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  1. Y  - position vector</span>
+0006 <span class="comment">%  2. Yp -</span>
+0007 <span class="comment">%  3. WindowType  - Window type - 0 {Default} no windowing</span>
+0008 <span class="comment">%                                 1 Window of Hann</span>
+0009 <span class="comment">%                                 2 etc</span>
+0010 <span class="comment">%  4. nfreq - Maximum number of fundamental frequencies to search for</span>
+0011 <span class="comment">%             10 {Default}</span>
+0012 <span class="comment">%  5. debug - 1 means debug flag turned on</span>
+0013 <span class="comment">%              0 {Default}</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">%  Optional Flags</span>
+0016 <span class="comment">%  'Debug' - turn on deubbing flag</span>
+0017 <span class="comment">%  'Display' - print ou results</span>
+0018 <span class="comment">%  'Hanning' - select Window of Hann, WindowType = 1</span>
+0019 <span class="comment">%  'Raw' or 'NoWindow' - select Window of Hann, WindowType = 0</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  OUTPUTS</span>
+0022 <span class="comment">%  1. frequency - frequency vector with sorted amplitude</span>
+0023 <span class="comment">%                 by default the algorithm try to compute the 10 first fundamental</span>
+0024 <span class="comment">%                 frequencies of the system.</span>
+0025 <span class="comment">%  2. amplitude - amplitudes associated with fundamental frequencies</span>
+0026 <span class="comment">%  3. phase - phases assocaited with fundamental frequencies</span>
+0027 <span class="comment">%</span>
+0028 <span class="comment">%  NOTES</span>
+0029 <span class="comment">%  1. Mimimum number of turn is 64 (66)</span>
+0030 <span class="comment">%  2. Number of turn has to be a multiple of 6 for internal optimization</span>
+0031 <span class="comment">%  reason and just above a power of 2. Example 1026 is divied by 6 and</span>
+0032 <span class="comment">%  above 1024 = pow2(10)</span>
+0033 <span class="comment">%</span>
+0034 <span class="comment">%  Examples</span>
+0035 <span class="comment">%  NT = 9996; % divided by 6</span>
+0036 <span class="comment">%  simple quasiperiodic (even period) motion</span>
+0037 <span class="comment">%  y =2+0.1*cos(pi*(0:NT-1))+0.00125*cos(pi/3*(0:NT-1));</span>
+0038 <span class="comment">%  yp=2+0.1*sin(pi*(0:NT-1))+0.00125*sin(pi/3*(0:NT-1));</span>
+0039 <span class="comment">%</span>
+0040 <span class="comment">%  [nu ampl phase] = calcnaff(y,yp,1); % with windowing</span>
+0041 
+0042 
+0043 <span class="comment">% Written by Laurent S. Nadolski</span>
+0044 <span class="comment">% April 6th, 2007</span>
+0045 
+0046 DebugFlag  = 0;
+0047 WindowType = 0;
+0048 nfreq = 10;
+0049 DisplayFlag = 0;
+0050 
+0051 <span class="keyword">for</span> ik = length(varargin):-1:1
+0052     <span class="keyword">if</span> strcmpi(varargin{ik},<span class="string">'Debug'</span>)
+0053         DebugFlag = 1;
+0054         varargin(ik) = [];
+0055     <span class="keyword">elseif</span> strcmpi(varargin{ik},<span class="string">'NoDebug'</span>)
+0056         DebugFlag = 0;
+0057         varargin(ik) = [];
+0058     <span class="keyword">elseif</span> strcmpi(varargin{ik},<span class="string">'Display'</span>)
+0059         DisplayFlag = 1;
+0060         varargin(ik) = [];
+0061     <span class="keyword">elseif</span> strcmpi(varargin{ik},<span class="string">'NoDisplay'</span>)
+0062         DisplayFlag = O;
+0063         varargin(ik) = [];
+0064     <span class="keyword">elseif</span> strcmpi(varargin{ik},<span class="string">'Hanning'</span>)
+0065         WindowType = 1;
+0066         varargin(ik) = [];
+0067     <span class="keyword">elseif</span> strcmpi(varargin{ik},<span class="string">'NoWindow'</span>) || strcmpi(varargin{ik},<span class="string">'Raw'</span>)
+0068         WindowType = 1;
+0069         varargin(ik) = [];
+0070     <span class="keyword">end</span>
+0071 <span class="keyword">end</span>
+0072 
+0073 <span class="keyword">if</span> length(varargin) &gt;= 1
+0074     WindowType = varargin{1};
+0075 <span class="keyword">end</span>
+0076 
+0077 <span class="keyword">if</span> length(varargin) &gt;= 2
+0078     nfreq = varargin{2};
+0079 <span class="keyword">end</span>
+0080 
+0081 <span class="keyword">if</span> length(varargin) &gt;= 3
+0082     DebugFlag = varargin{3};
+0083 <span class="keyword">end</span>
+0084 
+0085 <span class="keyword">if</span> length(varargin) &gt;= 4 
+0086     error(<span class="string">'Too many argument'</span>);
+0087 <span class="keyword">end</span>
+0088 
+0089 [frequency amplitude phase] = nafflib(Y, Yp, WindowType,nfreq,DebugFlag);
+0090 
+0091 <span class="keyword">if</span> DisplayFlag
+0092     fprintf(<span class="string">'*** Naff run on %s\n'</span>, datestr(clock))
+0093     <span class="keyword">for</span> k = 1:length(frequency)
+0094         fprintf(<span class="string">'nu(%d) =% .15f amplitude = % .15f phase = % .15f \n'</span>, <span class="keyword">...</span>
+0095             k,frequency(k), amplitude(k),phase(k));
+0096     <span class="keyword">end</span>
+0097 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/index.html	(revision 17)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/naff/nafflib</title>
+  <meta name="keywords" content="machine/Soleil/common/naff/nafflib">
+  <meta name="description" content="Index for Directory machine/Soleil/common/naff/nafflib">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/nafflib&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/naff/nafflib</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="Contents.html">Contents</a></td><td>NAFF toolbox </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="calcnaff.html">calcnaff</a></td><td>[nu amp] = calcnaff(Y, Yp, Win) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="naff_cc.html">naff_cc</a></td><td>cc_all - Compile nafflibrary for Matlab </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="naff_example.html">naff_example</a></td><td>Example to test naff within matlab </td></tr></table>
+
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/naff_cc.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/naff_cc.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/naff_cc.html	(revision 17)
@@ -0,0 +1,84 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of naff_cc</title>
+  <meta name="keywords" content="naff_cc">
+  <meta name="description" content="cc_all - Compile nafflibrary for Matlab">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">nafflib</a> &gt; naff_cc.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/nafflib&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>naff_cc
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>cc_all - Compile nafflibrary for Matlab</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function naff_cc </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> cc_all - Compile nafflibrary for Matlab</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function internal_cc(fn)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function naff_cc</a>
+0002 <span class="comment">% cc_all - Compile nafflibrary for Matlab</span>
+0003 <span class="comment">%</span>
+0004 
+0005 <span class="comment">% Modified by Laurent S. Nadolski</span>
+0006 <span class="comment">% April 6th, 2007</span>
+0007 
+0008 cd_old = pwd;
+0009 cd(fileparts(which(<span class="string">'naff_cc'</span>)))
+0010 
+0011 disp([<span class="string">'Compiling NAFF routines on '</span>, computer,<span class="string">'.'</span>])
+0012 
+0013 <span class="comment">% Object files</span>
+0014 disp(<span class="string">'Compiling: modnaff.c'</span>);
+0015 mex -I/usr/local/matlab/extern/include -O -c modnaff.c
+0016 
+0017 disp(<span class="string">'Compiling: example.c'</span>);
+0018 mex -I/usr/local/matlab/extern/include -O -c complexe.c
+0019 
+0020 disp(<span class="string">'Compiling: nafflib.c'</span>);
+0021 
+0022 <a href="#_sub1" class="code" title="subfunction internal_cc(fn)">internal_cc</a>(<span class="string">'nafflib.c modnaff.o complexe.o'</span>);
+0023 
+0024 cd(cd_old);
+0025 
+0026 <a name="_sub1" href="#_subfunctions" class="code">function internal_cc(fn)</a>
+0027 <span class="comment">% cc(filename)</span>
+0028 <span class="comment">%</span>
+0029 <span class="comment">%  Version 5, Solaris compiling function</span>
+0030 <span class="comment">%</span>
+0031 
+0032 disp([<span class="string">'Compiling: '</span>,fn]);
+0033 
+0034 cmdstr = [ <span class="string">'mex -I/usr/local/matlab/extern/include -O '</span>, fn ];
+0035 disp(cmdstr);
+0036 eval(cmdstr);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/naff_example.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/naff_example.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/nafflib/naff_example.html	(revision 17)
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of naff_example</title>
+  <meta name="keywords" content="naff_example">
+  <meta name="description" content="Example to test naff within matlab">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">nafflib</a> &gt; naff_example.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/nafflib&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>naff_example
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>Example to test naff within matlab</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function naff_example </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> Example to test naff within matlab</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="calcnaff.html" class="code" title="function [frequency amplitude phase] = calcnaff(Y, Yp, varargin)">calcnaff</a>	[nu amp] = calcnaff(Y, Yp, Win)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function naff_example</a>
+0002 <span class="comment">% Example to test naff within matlab</span>
+0003 
+0004 NT = 9996; <span class="comment">% divided by 6</span>
+0005 
+0006 <span class="comment">% simple quasiperiodic (even period) motion</span>
+0007 y =2+0.1*cos(pi*(0:NT-1))+0.00125*cos(pi/3*(0:NT-1));
+0008 yp=2+0.1*sin(pi*(0:NT-1))+0.00125*sin(pi/3*(0:NT-1));
+0009 
+0010 [nu ampl phase] = <a href="calcnaff.html" class="code" title="function [frequency amplitude phase] = calcnaff(Y, Yp, varargin)">calcnaff</a>(y,yp,1,<span class="string">'Debug'</span>); <span class="comment">% with windowing</span>
+0011 
+0012 str = [
+0013 <span class="string">'NFS = 3\n'</span> <span class="keyword">...</span>
+0014 <span class="string">'AMPL= 2.000000e+00+i* 2.000000e+00 abs(AMPL)= 2.828427e+00 arg(AMPL)= 7.853982e-01 FREQ= 3.904977e-17\n'</span><span class="keyword">...</span>
+0015 <span class="string">'AMPL= 1.000000e-01+i* 5.638068e-13 abs(AMPL)= 1.000000e-01 arg(AMPL)= 5.638068e-12 FREQ=-3.141593e+00\n'</span> <span class="keyword">...</span>
+0016 <span class="string">'AMPL= 1.250000e-03+i*-4.767346e-14 abs(AMPL)= 1.250000e-03 arg(AMPL)=-3.813877e-11 FREQ= 1.047198e+00\n'</span> <span class="keyword">...</span>
+0017 ];
+0018 fprintf(<span class="string">'* one should get the following *\n'</span>);
+0019 fprintf(str);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/datalabel.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/datalabel.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/datalabel.html	(revision 17)
@@ -0,0 +1,293 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of datalabel</title>
+  <meta name="keywords" content="datalabel">
+  <meta name="description" content="datalabel       Interactive labeling of data points on a plot">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; datalabel.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>datalabel
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>datalabel       Interactive labeling of data points on a plot</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function datalabel(state,marker_color); </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">datalabel       Interactive labeling of data points on a plot
+   datalabel with no arguments toggles the data tip state
+   datalabel ON turns data tips on for the current figure
+   datalabel OFF turns data tips off for the current figure
+   datalabel('ON',S), where S is a character string specifying
+     a marker and/or color will add the specified marker to
+     the data tip.  Default is red circles: 'ro'
+
+     Click on a line to label the nearest data point.
+     Click and drag on a data tip to move it.
+     Right-Click on a data tip to delete it.
+
+      Example: 
+            t = 0:pi/50:2.5*pi;
+            y = sin(t);
+            plot(t,y);  %Try plot(y,t), too
+            datalabel on
+        %Click on lines to label values.
+        %Click and drag to move.
+        %Right click to delete.
+            datalabel off
+        %Existing data tips are locked in place; can't add more
+            datalabel('on','.b');  %Add blue dots with next data tips
+
+   smh: 5/02:  Click on text to re-position text relative to data point
+               Click on data point to move to a different value
+
+ This function is provided as an example only.  It has not been
+ tested, and therefore, it is not officially supported by The
+ MathWorks, Inc.</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="plottwissT.html" class="code" title="function plottwissT(file,cell)">plottwissT</a>	function plottwissT(file,cell)</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function [xv,yv]=local_nearest(x,xl,y,yl)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function datalabel(state,marker_color);</a>
+0002 <span class="comment">%datalabel       Interactive labeling of data points on a plot</span>
+0003 <span class="comment">%   datalabel with no arguments toggles the data tip state</span>
+0004 <span class="comment">%   datalabel ON turns data tips on for the current figure</span>
+0005 <span class="comment">%   datalabel OFF turns data tips off for the current figure</span>
+0006 <span class="comment">%   datalabel('ON',S), where S is a character string specifying</span>
+0007 <span class="comment">%     a marker and/or color will add the specified marker to</span>
+0008 <span class="comment">%     the data tip.  Default is red circles: 'ro'</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">%     Click on a line to label the nearest data point.</span>
+0011 <span class="comment">%     Click and drag on a data tip to move it.</span>
+0012 <span class="comment">%     Right-Click on a data tip to delete it.</span>
+0013 <span class="comment">%</span>
+0014 <span class="comment">%      Example:</span>
+0015 <span class="comment">%            t = 0:pi/50:2.5*pi;</span>
+0016 <span class="comment">%            y = sin(t);</span>
+0017 <span class="comment">%            plot(t,y);  %Try plot(y,t), too</span>
+0018 <span class="comment">%            datalabel on</span>
+0019 <span class="comment">%        %Click on lines to label values.</span>
+0020 <span class="comment">%        %Click and drag to move.</span>
+0021 <span class="comment">%        %Right click to delete.</span>
+0022 <span class="comment">%            datalabel off</span>
+0023 <span class="comment">%        %Existing data tips are locked in place; can't add more</span>
+0024 <span class="comment">%            datalabel('on','.b');  %Add blue dots with next data tips</span>
+0025 <span class="comment">%</span>
+0026 <span class="comment">%   smh: 5/02:  Click on text to re-position text relative to data point</span>
+0027 <span class="comment">%               Click on data point to move to a different value</span>
+0028 <span class="comment">%</span>
+0029 <span class="comment">% This function is provided as an example only.  It has not been</span>
+0030 <span class="comment">% tested, and therefore, it is not officially supported by The</span>
+0031 <span class="comment">% MathWorks, Inc.</span>
+0032 
+0033 <span class="comment">% Written by Scott Hirsch</span>
+0034 <span class="comment">% shirsch@mathworks.com</span>
+0035 <span class="comment">% Most of this code comes from MOVTEXT, by John Galenski III</span>
+0036 <span class="comment">% (Mistakes are mine, though!)</span>
+0037 <span class="comment">% Copyright (c) by The MathWorks, Inc. 1985-2002</span>
+0038 <span class="comment">%</span>
+0039 
+0040 
+0041 <span class="keyword">if</span> nargin == 0 | strcmp(state,<span class="string">'on'</span>) <span class="comment">% Set the WindowButtonDownFcn</span>
+0042     <span class="keyword">if</span> nargin &lt;2 , 
+0043         marker=<span class="string">'o'</span>;  <span class="comment">%none</span>
+0044         color = <span class="string">'r'</span>;
+0045     <span class="keyword">else</span>
+0046         <span class="comment">%Parse marker string</span>
+0047         colors = <span class="string">'bgrcmyk'</span>;
+0048         markers = <span class="string">'+o*.xsdv^&gt;&lt;ph'</span>;
+0049         <span class="keyword">for</span> ii=1:length(marker_color)
+0050             col_ind = strfind(colors,marker_color(ii));
+0051             <span class="keyword">if</span> ~isempty(col_ind)        <span class="comment">%It's a color</span>
+0052                 color = marker_color(ii);
+0053             <span class="keyword">else</span>                        <span class="comment">%Try a marker instead</span>
+0054                 mark_ind = strfind(markers,marker_color(ii));
+0055                 <span class="keyword">if</span> ~isempty(mark_ind)
+0056                     marker = marker_color(ii);
+0057                 <span class="keyword">end</span>;
+0058             <span class="keyword">end</span>;
+0059         <span class="keyword">end</span>;
+0060     <span class="keyword">end</span>;
+0061     <span class="keyword">if</span> ~exist(<span class="string">'color'</span>,<span class="string">'var'</span>), color = <span class="string">'r'</span>; <span class="keyword">end</span>; <span class="comment">%set default</span>
+0062     <span class="keyword">if</span> ~exist(<span class="string">'marker'</span>,<span class="string">'var'</span>), marker = <span class="string">'.'</span>; <span class="keyword">end</span>; <span class="comment">%set default</span>
+0063     <span class="comment">%If the user specifies a color, but no marker, I use a dot.</span>
+0064     
+0065     set(gcf,<span class="string">'WindowButtonDownFcn'</span>,<span class="string">'datalabel down'</span>)
+0066     setappdata(gcf,<span class="string">'Marker'</span>,marker);
+0067     setappdata(gcf,<span class="string">'Color'</span>,color);
+0068     set(gcf,<span class="string">'DoubleBuffer'</span>,<span class="string">'on'</span>);       <span class="comment">%eliminate flicker</span>
+0069     
+0070 <span class="keyword">elseif</span> strcmp(state,<span class="string">'down'</span>) <span class="comment">% Execute the WindowButtonDownFcn</span>
+0071     htype = get(gco,<span class="string">'Type'</span>);
+0072     tag = get(gco,<span class="string">'Tag'</span>);
+0073     marker = getappdata(gcf,<span class="string">'Marker'</span>);
+0074     color  = getappdata(gcf,<span class="string">'Color'</span>);
+0075     
+0076     <span class="keyword">if</span> strcmp(htype,<span class="string">'line'</span>) &amp; ~strcmp(tag,<span class="string">'Dot'</span>)     <span class="comment">%Line - Add text object</span>
+0077         <span class="comment">%This is sloppy, but it works.  The marker is a line named 'Dot'</span>
+0078         
+0079         <span class="comment">%Look up nearest value on line.</span>
+0080         
+0081         <span class="comment">%User-selected point</span>
+0082         cp = get(gca,<span class="string">'CurrentPoint'</span>);
+0083         x = cp(1,1);       <span class="comment">%first xy values</span>
+0084         y = cp(1,2);       <span class="comment">%first xy values</span>
+0085         
+0086         <span class="comment">%Line data</span>
+0087         xl = get(gco,<span class="string">'XData'</span>);
+0088         yl = get(gco,<span class="string">'YData'</span>);
+0089         
+0090         [xv,yv] = <a href="#_sub1" class="code" title="subfunction [xv,yv]=local_nearest(x,xl,y,yl)">local_nearest</a>(x,xl,y,yl);
+0091 
+0092         
+0093         <span class="comment">%For R13 or higher (MATLAB 6.5), use a background color on the text string</span>
+0094         th = text(xv,yv,[<span class="string">'  ('</span> num2str(xv) <span class="string">','</span> num2str(yv) <span class="string">')'</span>]);
+0095         v=str2num(version(<span class="string">'-release'</span>));
+0096         <span class="keyword">if</span> v&gt;=6.5
+0097             set(th,<span class="string">'BackgroundColor'</span>,<span class="string">'y'</span>);
+0098         <span class="keyword">end</span>;
+0099         
+0100         
+0101         ph = line(xv,yv, <span class="keyword">...</span>
+0102             <span class="string">'Color'</span>,color, <span class="keyword">...</span>
+0103             <span class="string">'Marker'</span>,marker, <span class="keyword">...</span>
+0104             <span class="string">'Tag'</span>,<span class="string">'Dot'</span>, <span class="keyword">...</span>
+0105             <span class="string">'UserData'</span>,[gco th], <span class="keyword">...</span>
+0106             <span class="string">'LineStyle'</span>,<span class="string">'none'</span>);
+0107         
+0108         mh = uicontextmenu(<span class="string">'Tag'</span>,<span class="string">'DeleteObject'</span>, <span class="keyword">...</span>
+0109             <span class="string">'Callback'</span>,<span class="string">'ud = get(gco,''UserData'');delete([gco ud(2)]);'</span>);
+0110         
+0111         set([th ph],<span class="string">'UIContextMenu'</span>,mh);
+0112         
+0113         set(th,<span class="string">'UserData'</span>,[gco ph]);     <span class="comment">%Store handle to line</span>
+0114     <span class="keyword">elseif</span> strcmp(htype,<span class="string">'text'</span>) | strcmp(tag,<span class="string">'Dot'</span>)
+0115         set(gco,<span class="string">'EraseMode'</span>,<span class="string">'xor'</span>)
+0116         set(gcf,<span class="string">'WindowButtonMotionFcn'</span>,<span class="string">'datalabel move'</span>, <span class="keyword">...</span>
+0117             <span class="string">'WindowButtonUpFcn'</span>,<span class="string">'datalabel up'</span>);
+0118     <span class="keyword">end</span>
+0119     
+0120 <span class="keyword">elseif</span> strcmp(state,<span class="string">'move'</span>) <span class="comment">% Execute the WindowButtonMotionFcn</span>
+0121     htype = get(gco,<span class="string">'Type'</span>);
+0122     tag = get(gco,<span class="string">'Tag'</span>);
+0123     <span class="keyword">if</span> ~isempty(gco)
+0124         <span class="comment">%Is this the dot or the text</span>
+0125         <span class="keyword">if</span> strcmp(htype,<span class="string">'text'</span>)             <span class="comment">%The text</span>
+0126             th = gco;
+0127             handles = get(gco,<span class="string">'UserData'</span>);   
+0128             ph = handles(2);
+0129             slide = 0;      <span class="comment">%Don't slide along line; just reposition text</span>
+0130         <span class="keyword">else</span>                                <span class="comment">%The marker</span>
+0131             ph = gco;
+0132             handles = get(gco,<span class="string">'UserData'</span>);   
+0133             th = handles(2);
+0134             slide = 1;      <span class="comment">%Slide along line to next data point</span>
+0135         <span class="keyword">end</span>;
+0136         
+0137         cp = get(gca,<span class="string">'CurrentPoint'</span>);
+0138         pt = cp(1,[1 2]);
+0139         
+0140         <span class="comment">%Constrain to Line</span>
+0141         lh = handles(1);        <span class="comment">%Line</span>
+0142         
+0143         x = cp(1,1);       <span class="comment">%first xy values</span>
+0144         y = cp(1,2);       <span class="comment">%first xy values</span>
+0145         
+0146         <span class="keyword">if</span> slide            <span class="comment">%Move to new data value</span>
+0147             xl = get(lh,<span class="string">'XData'</span>);
+0148             yl = get(lh,<span class="string">'YData'</span>);
+0149             
+0150             ax = axis;
+0151             
+0152             <span class="comment">%Get nearest value</span>
+0153             [xv,yv]=<a href="#_sub1" class="code" title="subfunction [xv,yv]=local_nearest(x,xl,y,yl)">local_nearest</a>(x,xl,y,yl);
+0154             
+0155             set(th,<span class="string">'Position'</span>, [xv yv 0],<span class="string">'String'</span>,[<span class="string">'  ('</span> num2str(xv) <span class="string">','</span> num2str(yv) <span class="string">')'</span>])
+0156             set(ph,<span class="string">'XData'</span>,xv,<span class="string">'YData'</span>,yv);
+0157         <span class="keyword">else</span>                <span class="comment">%Just move text around.</span>
+0158             set(th,<span class="string">'Position'</span>, [x y 0])
+0159         <span class="keyword">end</span>;
+0160         
+0161         
+0162         drawnow
+0163     <span class="keyword">end</span>;
+0164 <span class="keyword">elseif</span> strcmp(state,<span class="string">'up'</span>) <span class="comment">% Execute the WindowButtonUpFcn</span>
+0165     htype = get(gco,<span class="string">'Type'</span>);
+0166     tag = get(gco,<span class="string">'Tag'</span>);
+0167     <span class="keyword">if</span> strcmp(htype,<span class="string">'text'</span>) | strcmp(tag,<span class="string">'Dot'</span>)
+0168         set(gco,<span class="string">'EraseMode'</span>,<span class="string">'Normal'</span>)
+0169         set(gcf,<span class="string">'WindowButtonMotionFcn'</span>,<span class="string">''</span>)
+0170     <span class="keyword">end</span>;
+0171 <span class="keyword">elseif</span> strcmp(state,<span class="string">'off'</span>) <span class="comment">% Unset the WindowButton...Fcns</span>
+0172     set(gcf,<span class="string">'WindowButtonDownFcn'</span>,<span class="string">''</span>,<span class="string">'WindowButtonUpFcn'</span>,<span class="string">''</span>)
+0173 <span class="keyword">end</span>
+0174 
+0175 
+0176 <a name="_sub1" href="#_subfunctions" class="code">function [xv,yv]=local_nearest(x,xl,y,yl)</a>
+0177 <span class="comment">%Inputs:</span>
+0178 <span class="comment">% x   Selected x value</span>
+0179 <span class="comment">% xl  Line Data (x)</span>
+0180 <span class="comment">% y   Selected y value</span>
+0181 <span class="comment">% yl  Line Data (y)</span>
+0182 <span class="comment">%Find nearest value of [xl,yl] to (x,y)</span>
+0183 <span class="comment">%Special Case: Line has a single non-singleton value</span>
+0184 <span class="keyword">if</span> sum(isfinite(xl))==1
+0185     fin = find(isfinite(xl));
+0186     xv = xl(fin);
+0187     yv = yl(fin);
+0188 <span class="keyword">else</span>
+0189     <span class="comment">%Normalize axes</span>
+0190     xlmin = min(xl);
+0191     xlmax = max(xl);
+0192     ylmin = min(yl);
+0193     ylmax = max(yl);
+0194     
+0195     <span class="comment">% xln = xl;</span>
+0196     <span class="comment">% xn = x;</span>
+0197     <span class="comment">%</span>
+0198     <span class="comment">% yln = yl;</span>
+0199     <span class="comment">% yn = y;</span>
+0200     xln = (xl - xlmin)./(xlmax - xlmin);
+0201     xn = (x - xlmin)./(xlmax - xlmin);
+0202     
+0203     yln = (yl - ylmin)./(ylmax - ylmin);
+0204     yn = (y - ylmin)./(ylmax - ylmin);
+0205     
+0206     <span class="comment">%Find nearest point using our friend Ptyhagoras</span>
+0207     a = xln - xn;       <span class="comment">%Distance between x and the line</span>
+0208     b = yln - yn;       <span class="comment">%Distance between y and the line</span>
+0209     c = (a.^2 + b.^2);  <span class="comment">%Distance between point and line</span>
+0210     <span class="comment">%Don't need sqrt, since we get same answer anyway</span>
+0211     [junk,ind] = min(c);
+0212     
+0213     <span class="comment">%Nearest value on the line</span>
+0214     xv = xl(ind);
+0215     yv = yl(ind);
+0216 <span class="keyword">end</span>;</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/dist_point_droite.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/dist_point_droite.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/dist_point_droite.html	(revision 17)
@@ -0,0 +1,77 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of dist_point_droite</title>
+  <meta name="keywords" content="dist_point_droite">
+  <meta name="description" content="% calcul la distance entre la droite et un point pt">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; dist_point_droite.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>dist_point_droite
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>% calcul la distance entre la droite et un point pt</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function d = dist_point_droite(m1,m2,m3,pt) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">% calcul la distance entre la droite et un point pt
+% droite m1 *x + m2 *y =m3
+ pt =[0 2]
+ dist_point_droite(1,2,4,pt)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="plusprochereson.html" class="code" title="function str = plusprochereson(pt,tab)">plusprochereson</a>	function str = plusprochereson(pt,tab)</li><li><a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>	function reson(ordre, period, fen)</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function d = dist_point_droite(m1,m2,m3,pt)</a>
+0002 <span class="comment">%% calcul la distance entre la droite et un point pt</span>
+0003 <span class="comment">%% droite m1 *x + m2 *y =m3</span>
+0004 <span class="comment">% pt =[0 2]</span>
+0005 <span class="comment">% dist_point_droite(1,2,4,pt)</span>
+0006 
+0007 <span class="comment">%% centre de la fenetre</span>
+0008 P= [pt 0];
+0009 
+0010 <span class="comment">%vecteur directeur normalise</span>
+0011 u = [-m2 m1 0];
+0012 
+0013 <span class="keyword">if</span> (norm(u)~=0) 
+0014     u = u/norm(u);
+0015 <span class="keyword">end</span>
+0016 
+0017 <span class="comment">% vecteur AP, ou A appartient a la droite et P est le centre de la fenetre</span>
+0018 <span class="keyword">if</span> (m1 ~= 0)
+0019     A = [m3/m1 0 0];
+0020 <span class="keyword">elseif</span> (m2 ~=0)
+0021     A=[0 m3/m2 0];
+0022 <span class="keyword">else</span>
+0023     A=[0 0 0]
+0024 <span class="keyword">end</span>
+0025 
+0026 AP= P - A;
+0027 
+0028 d = norm(cross(AP,u),2);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_select.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_select.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_select.html	(revision 17)
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of fmap_select</title>
+  <meta name="keywords" content="fmap_select">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; fmap_select.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>fmap_select
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function xy = fmap_select </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function xy = fmap_select</a>
+0002 
+0003 xy = [];
+0004 <span class="comment">% Loop, picking up the points.</span>
+0005 disp(<span class="string">'Left mouse button picks points.'</span>)
+0006 disp(<span class="string">'Right mouse button picks last point.'</span>)
+0007 hold on
+0008 button = 1;
+0009 n=0;
+0010 <span class="keyword">while</span> button == 1
+0011     [xi,yi,button] = ginput(1);
+0012     plot(xi,yi,<span class="string">'ro'</span>)
+0013     n = n+1;
+0014     xy(:,n) = [xi;yi];
+0015 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_solamor2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_solamor2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_solamor2.html	(revision 17)
@@ -0,0 +1,274 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of fmap_solamor2</title>
+  <meta name="keywords" content="fmap_solamor2">
+  <meta name="description" content="function [nux,nuy]=fmap_soleilnu(nx,ny,ax,ay)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; fmap_solamor2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>fmap_solamor2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function [nux,nuy]=fmap_soleilnu(nx,ny,ax,ay)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function [nux,nuy,diffu]=fmap_soleilnu(nx,ny,ax,ay) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> function [nux,nuy]=fmap_soleilnu(nx,ny,ax,ay)
+
+ simulates a frequency map using the tracking
+ routine's out of Andrei Terebilos ATtoolbox and
+ Jacques Laskars NAFF algorithm 
+ (calcnaff.mex or calcnaff.dll)
+
+ nux, nuy         are the returned betatron tune values
+ diffu            is the returned diffusion rate
+
+ nx        number of horizontal amplitudes
+ ny        number of vertical amplitudes
+ ax        maximum horizontal amplitude [mm]
+ ay        maximum vertical amplitude [mm]
+
+ Laurent Nadolski, ALS 09/01/02</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [nux,nuy,diffu]=fmap_soleilnu(nx,ny,ax,ay)</a>
+0002 <span class="comment">% function [nux,nuy]=fmap_soleilnu(nx,ny,ax,ay)</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% simulates a frequency map using the tracking</span>
+0005 <span class="comment">% routine's out of Andrei Terebilos ATtoolbox and</span>
+0006 <span class="comment">% Jacques Laskars NAFF algorithm</span>
+0007 <span class="comment">% (calcnaff.mex or calcnaff.dll)</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">% nux, nuy         are the returned betatron tune values</span>
+0010 <span class="comment">% diffu            is the returned diffusion rate</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">% nx        number of horizontal amplitudes</span>
+0013 <span class="comment">% ny        number of vertical amplitudes</span>
+0014 <span class="comment">% ax        maximum horizontal amplitude [mm]</span>
+0015 <span class="comment">% ay        maximum vertical amplitude [mm]</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">% Laurent Nadolski, ALS 09/01/02</span>
+0018 
+0019 pathold = path;
+0020 
+0021 <span class="keyword">if</span> (~findstr(pathold,<span class="string">'matlab\at\accelerator\simulator\element'</span>))
+0022     atinit;
+0023 <span class="keyword">end</span>
+0024 
+0025 solamor2
+0026 radiationoff;
+0027 cavityoff;
+0028 
+0029 
+0030 <span class="comment">%FitTune2([.25,.2],'QF','QD');</span>
+0031 <span class="comment">%FitChrom2([0.4,1.4],'SF','SD');</span>
+0032 <span class="comment">%FitTune2([.25,.2],'QF','QD');</span>
+0033 
+0034 plotbeta;
+0035 
+0036 <span class="comment">% Has to be in 6D tracking mode</span>
+0037 <span class="comment">% [closeOrb] = findorbit6(THERING);</span>
+0038 <span class="comment">% closeOrb</span>
+0039 
+0040 fprintf(<span class="string">'Type any key to continue ...\n'</span>);
+0041 pause;
+0042 
+0043 NT = 1024;
+0044 
+0045 T = ringpass(THERING,[0;0;0;0;0;0],1);
+0046 
+0047 <span class="keyword">for</span> i=1:nx
+0048     ampx = ax*sqrt(i/nx);
+0049     
+0050     <span class="keyword">for</span> j=1:ny
+0051         ampy = ay*sqrt(j/ny);
+0052         sampx = int2str(ampx);
+0053         sampy = int2str(ampy);
+0054         
+0055         fprintf(<span class="string">'amp_x=%g mm, amp_y=%g mm\n'</span>,ampx,ampy);
+0056         
+0057         X0=[ampx/1000 0 ampy/1000 0 0 0]';
+0058         
+0059         clear LOSSFLAG
+0060         cpustart=cputime;
+0061         T = ringpass(THERING,X0,NT,<span class="string">'reuse'</span>);
+0062         cpustop=cputime;
+0063         fprintf(<span class="string">'track time for 1024 turns : %g s\n'</span>,cpustop-cpustart);
+0064         
+0065         
+0066         Tx = T(1,:);
+0067         Txp = T(2,:);
+0068         Ty = T(3,:);
+0069         Typ = T(4,:);
+0070         TE = T(5,:);
+0071         Tphi = T(6,:);
+0072         
+0073         <span class="keyword">if</span> (length(Ty)==1024) &amp; (all(Ty&lt;0.04)) <span class="keyword">...</span>
+0074                 &amp; (~any(isnan(Ty))) &amp; (LOSSFLAG==0)
+0075             
+0076             cpustart=cputime;
+0077             [tmpnux1]=abs(calcnaff(Tx(1:512),Txp(1:512),1)/(2*pi));
+0078             [tmpnuy1]=abs(calcnaff(Ty(1:512),Typ(1:512),1)/(2*pi));
+0079             [tmpnux2]=abs(calcnaff(Tx(513:1024),Txp(513:1024),1)/(2*pi));
+0080             [tmpnuy2]=abs(calcnaff(Ty(513:1024),Typ(513:1024),1)/(2*pi));
+0081             
+0082             cpustop=cputime;
+0083             fprintf(<span class="string">'NAFF CPU time (4*512 turns) : %g s\n'</span>,cpustop-cpustart);
+0084             
+0085             
+0086             nux(i,j)=0.0; nuy(i,j) = 0.0;
+0087             pampx(i,j)=-1;pampy(i,j)=-1;
+0088             
+0089             
+0090             pampx(i,j)=ampx;
+0091             pampy(i,j)=ampy;
+0092             <span class="keyword">if</span> ((abs(tmpnuy1(1))&gt;0.001) &amp; (abs(tmpnuy1(1)-tmpnux1(1))&gt;0.001))
+0093                 nuy(i,j)=tmpnuy1(1);
+0094             <span class="keyword">else</span>
+0095                 nuy(i,j)=tmpnuy1(2);
+0096             <span class="keyword">end</span>         
+0097             
+0098             <span class="keyword">if</span> (abs(tmpnux1(1))&gt;0.001)
+0099                 nux(i,j)=tmpnux1(1);
+0100             <span class="keyword">else</span>
+0101                 nux(i,j)=tmpnux1(2);
+0102             <span class="keyword">end</span>            
+0103             
+0104             <span class="keyword">if</span> ((abs(tmpnuy2(1))&gt;0.001) &amp; (abs(tmpnuy2(1)-tmpnux2(1))&gt;0.001))
+0105                 nuy2=tmpnuy2(1);
+0106             <span class="keyword">else</span>
+0107                 nuy2=tmpnuy2(2);
+0108             <span class="keyword">end</span>         
+0109             
+0110             <span class="keyword">if</span> (abs(tmpnux2(1))&gt;0.001)
+0111                 nux2=tmpnux2(1);
+0112             <span class="keyword">else</span>
+0113                 nux2=tmpnux2(2);
+0114             <span class="keyword">end</span>            
+0115             
+0116             
+0117             <span class="keyword">if</span> (length(nuy2)==1) &amp; (length(nux2)==1) &amp; (length(nux(i,j))==1) &amp; (length(nuy(i,j))==1)
+0118                 diffu(i,j)=log10(sqrt((tmpnuy2-nuy(i,j))^2+(tmpnux2-nux(i,j))^2)/512);
+0119             <span class="keyword">else</span>
+0120                 diffu(i,j) = -3;
+0121             <span class="keyword">end</span>
+0122             
+0123             <span class="keyword">if</span> (diffu(i,j) &lt; (-10))
+0124                 diffu(i,j) = -10;
+0125             <span class="keyword">end</span>
+0126             
+0127             taxi = ax*sqrt(i/nx);
+0128             taxii = ax*sqrt((i-1)/nx);
+0129             tayj = ay*sqrt(j/ny);
+0130             tayjj = ay*sqrt((j-1)/ny);
+0131             
+0132             <span class="keyword">if</span> (i&gt;1) &amp; (j&gt;1)
+0133                 xpos(:,(i-1)*(ny)+j) = [taxii;taxii;taxi;taxi];
+0134                 ypos(:,(i-1)*(ny)+j) = [tayjj;tayj;tayj;tayjj];
+0135             <span class="keyword">elseif</span> (i&gt;1)
+0136                 xpos(:,(i-1)*(ny)+j) = [taxii;taxii;taxi;taxi];
+0137                 ypos(:,(i-1)*(ny)+j) = [0;tayj;tayj;0];    
+0138             <span class="keyword">elseif</span> (j&gt;1)    
+0139                 xpos(:,(i-1)*(ny)+j) = [0;0;taxi;taxi];
+0140                 ypos(:,(i-1)*(ny)+j) = [tayjj;tayj;tayj;tayjj];
+0141             <span class="keyword">else</span>
+0142                 xpos(:,(i-1)*(ny)+j) = [0;0;taxi;taxi];
+0143                 ypos(:,(i-1)*(ny)+j) = [0;tayj;tayj;0];
+0144             <span class="keyword">end</span>        
+0145             
+0146             nuxpos(:,(i-1)*(ny)+j) = <span class="keyword">...</span>
+0147                 [nux(i,j)-.0001;nux(i,j)-.0001;nux(i,j)+.0001;nux(i,j)+.0001];
+0148             nuypos(:,(i-1)*(ny)+j) = <span class="keyword">...</span>
+0149                 [nuy(i,j)-.0006;nuy(i,j)+.0006;nuy(i,j)+.0006;nuy(i,j)-.0006];
+0150             
+0151             diffuvec(1:4,(i-1)*(ny)+j) = diffu(i,j);
+0152             
+0153             
+0154         <span class="keyword">else</span>
+0155             nux(i,j)=0.0; nuy(i,j)=0.0;
+0156             pampx(i,j)=-1;pampy(i,j)=-1;
+0157             xpos(:,(i-1)*(ny)+j) = [0;0;0;0];            
+0158             ypos(:,(i-1)*(ny)+j) = [0;0;0;0];            
+0159             nuxpos(:,(i-1)*(ny)+j) = [0;0;0;0];
+0160             nuypos(:,(i-1)*(ny)+j) = [0;0;0;0];
+0161             diffu(i,j)=-10;
+0162             diffuvec(1:4,(i-1)*(ny)+j) = [-10;-10;-10;-10];
+0163         <span class="keyword">end</span>
+0164         
+0165         <span class="keyword">if</span> nux(i,j) &amp; nuy(i,j)
+0166             fprintf(<span class="string">'nu_x=%g, nu_y=%g\n'</span>,14+nux(i,j),8+nuy(i,j));
+0167         <span class="keyword">else</span>
+0168             fprintf(<span class="string">'particle lost\n'</span>);
+0169         <span class="keyword">end</span>
+0170         
+0171     <span class="keyword">end</span>
+0172     
+0173     save <span class="string">'freqmap_new'</span> nux nuy diffu nuxpos nuypos xpos ypos diffuvec pampx pampy
+0174     
+0175 <span class="keyword">end</span>
+0176 
+0177 f1=figure;
+0178 plot(18+nux,10+nuy,<span class="string">'b.'</span>);
+0179 axis([18.2 18.5 10.0 10.5]);
+0180 title(<span class="string">'SOLEIL lattice, calculated frequency map (NAFF)'</span>);
+0181 xlabel(<span class="string">'\nu_x'</span>);
+0182 ylabel(<span class="string">'\nu_y'</span>);
+0183 pause(0.1);
+0184 
+0185 <span class="keyword">if</span> min(size(diffu)) &gt; 1
+0186     
+0187     figure;
+0188     fill(xpos,ypos,diffuvec);
+0189     axis([0 ax 0 ay]);
+0190     caxis([-10 -3]);
+0191     hold on;
+0192     shading flat;
+0193     colormap(<span class="string">'jet'</span>);
+0194     colorbar;
+0195     title(<span class="string">'SOLEIL lattice, calculated frequency map (NAFF)'</span>);
+0196     xlabel(<span class="string">'x position [mm] (injection straight)'</span>);
+0197     ylabel(<span class="string">'y position [mm]'</span>);
+0198     hold off;
+0199     
+0200     figure;
+0201     fill(18+nuxpos,10+nuypos,diffuvec);
+0202     axis([18.2 18.5 10.0 10.5]);
+0203     caxis([-10 -3]);
+0204     hold on;
+0205     shading flat;
+0206     colormap(<span class="string">'jet'</span>);
+0207     colorbar;
+0208     title(<span class="string">'SOLEIL lattice, calculated frequency map (NAFF)'</span>);
+0209     xlabel(<span class="string">'\nu_x'</span>);
+0210     ylabel(<span class="string">'\nu_y'</span>);
+0211     hold off;
+0212     
+0213 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_soleilnu.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_soleilnu.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/fmap_soleilnu.html	(revision 17)
@@ -0,0 +1,273 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of fmap_soleilnu</title>
+  <meta name="keywords" content="fmap_soleilnu">
+  <meta name="description" content="function [nux,nuy]=sim_fmap_at_naff_diffu_3sb(nxmin,nxmax,nx,nymin,nymax,ny,ax,ay)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; fmap_soleilnu.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>fmap_soleilnu
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function [nux,nuy]=sim_fmap_at_naff_diffu_3sb(nxmin,nxmax,nx,nymin,nymax,ny,ax,ay)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function [nux,nuy,diffu]=fmap_soleilnu(nx,ny,ax,ay) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> function [nux,nuy]=sim_fmap_at_naff_diffu_3sb(nxmin,nxmax,nx,nymin,nymax,ny,ax,ay)
+
+ simulates a frequency map using the tracking
+ routine's out of Andrei Terebilos ATtoolbox and
+ Jacques Laskars NAFF algorithm 
+ (calcnaff.mex or calcnaff.dll)
+
+ nux, nuy         are the returned betatron tune values
+ diffu            is the returned diffusion rate
+
+ nx        number of horizontal amplitudes
+ ny        number of vertical amplitudes
+ ax        maximum horizontal amplitude [mm]
+ ay        maximum vertical amplitude [mm]
+
+ Laurent Nadolski, ALS 09/01/02</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [nux,nuy,diffu]=fmap_soleilnu(nx,ny,ax,ay)</a>
+0002 <span class="comment">% function [nux,nuy]=sim_fmap_at_naff_diffu_3sb(nxmin,nxmax,nx,nymin,nymax,ny,ax,ay)</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% simulates a frequency map using the tracking</span>
+0005 <span class="comment">% routine's out of Andrei Terebilos ATtoolbox and</span>
+0006 <span class="comment">% Jacques Laskars NAFF algorithm</span>
+0007 <span class="comment">% (calcnaff.mex or calcnaff.dll)</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">% nux, nuy         are the returned betatron tune values</span>
+0010 <span class="comment">% diffu            is the returned diffusion rate</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">% nx        number of horizontal amplitudes</span>
+0013 <span class="comment">% ny        number of vertical amplitudes</span>
+0014 <span class="comment">% ax        maximum horizontal amplitude [mm]</span>
+0015 <span class="comment">% ay        maximum vertical amplitude [mm]</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">% Laurent Nadolski, ALS 09/01/02</span>
+0018 
+0019 pathold = path;
+0020 
+0021 <span class="keyword">if</span> (~findstr(pathold,<span class="string">'matlab\at\accelerator\simulator\element'</span>))
+0022     atinit;
+0023 <span class="keyword">end</span>
+0024 
+0025 soleilnu
+0026 radiationoff;
+0027 cavityoff;
+0028 
+0029 
+0030 <span class="comment">%FitTune2([.25,.2],'QF','QD');</span>
+0031 <span class="comment">%FitChrom2([0.4,1.4],'SF','SD');</span>
+0032 <span class="comment">%FitTune2([.25,.2],'QF','QD');</span>
+0033 
+0034 plotbeta;
+0035 
+0036 <span class="comment">% [closeOrb] = findorbit6(THERING);</span>
+0037 <span class="comment">% closeOrb</span>
+0038 
+0039 fprintf(<span class="string">'Type any key to continue ...\n'</span>);
+0040 pause;
+0041 
+0042 NT = 1024;
+0043 
+0044 T = ringpass(THERING,[0;0;0;0;0;0],1);
+0045 
+0046 <span class="keyword">for</span> i=1:nx
+0047     ampx = ax*sqrt(i/nx);
+0048     
+0049     <span class="keyword">for</span> j=1:ny
+0050         ampy = ay*sqrt(j/ny);
+0051         sampx = int2str(ampx);
+0052         sampy = int2str(ampy);
+0053         
+0054         fprintf(<span class="string">'amp_x=%g mm, amp_y=%g mm\n'</span>,ampx,ampy);
+0055         
+0056         X0=[ampx/1000 0 ampy/1000 0 0 0]';
+0057         
+0058         clear LOSSFLAG;
+0059         cpustart=cputime;
+0060         T = ringpass(THERING,X0,NT,<span class="string">'reuse'</span>);
+0061         cpustop=cputime;
+0062         fprintf(<span class="string">'track time for 1024 turns : %g s\n'</span>,cpustop-cpustart);
+0063         
+0064         
+0065         Tx = T(1,:);
+0066         Txp = T(2,:);
+0067         Ty = T(3,:);
+0068         Typ = T(4,:);
+0069         TE = T(5,:);
+0070         Tphi = T(6,:);
+0071         
+0072         <span class="keyword">if</span> (length(Ty)==1024) &amp; (all(Ty&lt;0.004)) <span class="keyword">...</span>
+0073                 &amp; (~any(isnan(Ty))) &amp; (LOSSFLAG==0)
+0074             
+0075             cpustart=cputime;
+0076             [tmpnux1]=abs(calcnaff(Tx(1:512),Txp(1:512),1)/(2*pi));
+0077             [tmpnuy1]=abs(calcnaff(Ty(1:512),Typ(1:512),1)/(2*pi));
+0078             [tmpnux2]=abs(calcnaff(Tx(513:1024),Txp(513:1024),1)/(2*pi));
+0079             [tmpnuy2]=abs(calcnaff(Ty(513:1024),Typ(513:1024),1)/(2*pi));
+0080             
+0081             cpustop=cputime;
+0082             fprintf(<span class="string">'NAFF CPU time (4*512 turns) : %g s\n'</span>,cpustop-cpustart);
+0083             
+0084             
+0085             nux(i,j)=0.0; nuy(i,j) = 0.0;
+0086             pampx(i,j)=-1;pampy(i,j)=-1;
+0087             
+0088 
+0089      pampx(i,j)=ampx;
+0090      pampy(i,j)=ampy;
+0091     <span class="keyword">if</span> ((abs(tmpnuy1(1))&gt;0.001) &amp; (abs(tmpnuy1(1)-tmpnux1(1))&gt;0.001))
+0092      nuy(i,j)=tmpnuy1(1);
+0093       <span class="keyword">else</span>
+0094      nuy(i,j)=tmpnuy1(2);
+0095       <span class="keyword">end</span>         
+0096     
+0097       <span class="keyword">if</span> (abs(tmpnux1(1))&gt;0.001)
+0098      nux(i,j)=tmpnux1(1);
+0099       <span class="keyword">else</span>
+0100      nux(i,j)=tmpnux1(2);
+0101       <span class="keyword">end</span>            
+0102 
+0103      <span class="keyword">if</span> ((abs(tmpnuy2(1))&gt;0.001) &amp; (abs(tmpnuy2(1)-tmpnux2(1))&gt;0.001))
+0104      nuy(i,j)=tmpnuy2(1);
+0105       <span class="keyword">else</span>
+0106      nuy(i,j)=tmpnuy2(2);
+0107       <span class="keyword">end</span>         
+0108     
+0109       <span class="keyword">if</span> (abs(tmpnux2(1))&gt;0.001)
+0110      nux(i,j)=tmpnux2(1);
+0111       <span class="keyword">else</span>
+0112      nux(i,j)=tmpnux2(2);
+0113       <span class="keyword">end</span>            
+0114             
+0115            
+0116             <span class="keyword">if</span> (length(tmpnuy2)==1) &amp; (length(tmpnux2)==1) &amp; (length(nux(i,j))==1) &amp; (length(nuy(i,j))==1)
+0117                 diffu(i,j)=log10(sqrt((tmpnuy2-nuy(i,j))^2+(tmpnux2-nux(i,j))^2)/512);
+0118             <span class="keyword">else</span>
+0119                 diffu(i,j) = -3;
+0120             <span class="keyword">end</span>
+0121             
+0122             <span class="keyword">if</span> (diffu(i,j) &lt; (-10))
+0123                 diffu(i,j) = -10;
+0124             <span class="keyword">end</span>
+0125             
+0126             taxi = ax*sqrt(i/nx);
+0127             taxii = ax*sqrt((i-1)/nx);
+0128             tayj = ay*sqrt(j/ny);
+0129             tayjj = ay*sqrt((j-1)/ny);
+0130             
+0131             <span class="keyword">if</span> (i&gt;1) &amp; (j&gt;1)
+0132                 xpos(:,(i-1)*(ny)+j) = [taxii;taxii;taxi;taxi];
+0133                 ypos(:,(i-1)*(ny)+j) = [tayjj;tayj;tayj;tayjj];
+0134             <span class="keyword">elseif</span> (i&gt;1)
+0135                 xpos(:,(i-1)*(ny)+j) = [taxii;taxii;taxi;taxi];
+0136                 ypos(:,(i-1)*(ny)+j) = [0;tayj;tayj;0];    
+0137             <span class="keyword">elseif</span> (j&gt;1)    
+0138                 xpos(:,(i-1)*(ny)+j) = [0;0;taxi;taxi];
+0139                 ypos(:,(i-1)*(ny)+j) = [tayjj;tayj;tayj;tayjj];
+0140             <span class="keyword">else</span>
+0141                 xpos(:,(i-1)*(ny)+j) = [0;0;taxi;taxi];
+0142                 ypos(:,(i-1)*(ny)+j) = [0;tayj;tayj;0];
+0143             <span class="keyword">end</span>        
+0144             
+0145             nuxpos(:,(i-1)*(ny)+j) = <span class="keyword">...</span>
+0146                 [nux(i,j)-.0001;nux(i,j)-.0001;nux(i,j)+.0001;nux(i,j)+.0001];
+0147             nuypos(:,(i-1)*(ny)+j) = <span class="keyword">...</span>
+0148                 [nuy(i,j)-.0006;nuy(i,j)+.0006;nuy(i,j)+.0006;nuy(i,j)-.0006];
+0149             
+0150             diffuvec(1:4,(i-1)*(ny)+j) = diffu(i,j);
+0151             
+0152             
+0153         <span class="keyword">else</span>
+0154             nux(i,j)=0.0; nuy(i,j)=0.0;
+0155             pampx(i,j)=-1;pampy(i,j)=-1;
+0156             xpos(:,(i-1)*(ny)+j) = [0;0;0;0];            
+0157             ypos(:,(i-1)*(ny)+j) = [0;0;0;0];            
+0158             nuxpos(:,(i-1)*(ny)+j) = [0;0;0;0];
+0159             nuypos(:,(i-1)*(ny)+j) = [0;0;0;0];
+0160             diffu(i,j)=-10;
+0161             diffuvec(1:4,(i-1)*(ny)+j) = [-10;-10;-10;-10];
+0162         <span class="keyword">end</span>
+0163         
+0164         <span class="keyword">if</span> nux(i,j) &amp; nuy(i,j)
+0165             fprintf(<span class="string">'nu_x=%g, nu_y=%g\n'</span>,14+nux(i,j),8+nuy(i,j));
+0166         <span class="keyword">else</span>
+0167             fprintf(<span class="string">'particle lost\n'</span>);
+0168         <span class="keyword">end</span>
+0169         
+0170     <span class="keyword">end</span>
+0171     
+0172     save <span class="string">'freqmap_new'</span> nux nuy diffu nuxpos nuypos xpos ypos diffuvec pampx pampy
+0173     
+0174 <span class="keyword">end</span>
+0175 
+0176 f1=figure;
+0177 plot(18+nux,10+nuy,<span class="string">'b.'</span>);
+0178 axis([18.2 18.5 10.0 10.5]);
+0179 title(<span class="string">'ALS lattice, calculated frequency map (NAFF)'</span>);
+0180 xlabel(<span class="string">'\nu_x'</span>);
+0181 ylabel(<span class="string">'\nu_y'</span>);
+0182 pause(0.1);
+0183 
+0184 <span class="keyword">if</span> min(size(diffu)) &gt; 1
+0185     
+0186     figure;
+0187     fill(xpos,ypos,diffuvec);
+0188     axis([0 ax 0 ay]);
+0189     caxis([-10 -3]);
+0190     hold on;
+0191     shading flat;
+0192     colormap(<span class="string">'jet'</span>);
+0193     colorbar;
+0194     title(<span class="string">'ALS lattice, calculated frequency map (NAFF), 3SB, \eta_x = 6cm, \eta_y(ID6) = 4cm'</span>);
+0195     xlabel(<span class="string">'x position [mm] (injection straight)'</span>);
+0196     ylabel(<span class="string">'y position [mm]'</span>);
+0197     hold off;
+0198     
+0199     figure;
+0200     fill(18+nuxpos,10+nuypos,diffuvec);
+0201     axis([18.2 18.5 10.0 10.5]);
+0202     caxis([-10 -3]);
+0203     hold on;
+0204     shading flat;
+0205     colormap(<span class="string">'jet'</span>);
+0206     colorbar;
+0207     title(<span class="string">'ALS lattice, calculated frequency map (NAFF)'</span>);
+0208     xlabel(<span class="string">'\nu_x'</span>);
+0209     ylabel(<span class="string">'\nu_y'</span>);
+0210     hold off;
+0211     
+0212 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/ind_amplitude.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/ind_amplitude.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/ind_amplitude.html	(revision 17)
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of ind_amplitude</title>
+  <meta name="keywords" content="ind_amplitude">
+  <meta name="description" content="function induced_amplitude">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; ind_amplitude.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>ind_amplitude
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function induced_amplitude</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function induced_amplitude </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">function induced_amplitude
+
+ Plot induced amplitudes in achromat and straight section
+ transported back to the beginning of the lattice
+ NB: use files computed w/ solamor2.lat
+
+ Written by Laurent S. Nadolski, SOLEIL 04/2004</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="plot_fmapdp.html" class="code" title="function plot_fmapdp(file)">plot_fmapdp</a>	PLOT_FMAPDP - Plot frequency map</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function induced_amplitude</a>
+0002 <span class="comment">%function induced_amplitude</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% Plot induced amplitudes in achromat and straight section</span>
+0005 <span class="comment">% transported back to the beginning of the lattice</span>
+0006 <span class="comment">% NB: use files computed w/ solamor2.lat</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% Written by Laurent S. Nadolski, SOLEIL 04/2004</span>
+0009 
+0010 hold_state = ishold;
+0011 hold on
+0012 
+0013 <span class="comment">%% Doesnot work for Pascale</span>
+0014 <span class="comment">%PATH=[getenv('HOME') '/matlab/soleil/']</span>
+0015 PATH=<span class="string">'/home/nadolski/matlab/soleil/'</span>;
+0016 
+0017 <span class="comment">%% amplitude induite dans les achromates</span>
+0018 file = [PATH <span class="string">'amp_ind_achromat.out'</span>]; 
+0019 [header data] = hdrload(file);
+0020 x_achromat = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+0021 
+0022 <span class="comment">%% amplitude induite dans sections moyennes</span>
+0023 file = [PATH <span class="string">'amp_ind_SDM.out'</span>]; 
+0024 [header data] = hdrload(file);
+0025 x_SDM = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+0026 
+0027 <span class="comment">%% amplitude induite dans sections courtes</span>
+0028 file = [PATH <span class="string">'amp_ind_SDC.out'</span>]; 
+0029 [header data] = hdrload(file);
+0030 x_SDC = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+0031 
+0032 <span class="comment">%% ampltudes induites dans sections longues</span>
+0033 file = [PATH <span class="string">'amp_ind_SDL.out'</span>]; 
+0034 [header data] = hdrload(file);
+0035 x_SDL = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+0036 delta = data(:,1)*100;
+0037 
+0038 h=plot(delta,x_SDL,<span class="string">'k-.'</span>,delta,x_SDC,<span class="string">'k--'</span>,delta,x_achromat,<span class="string">'k-'</span>,delta,25-x_SDL,<span class="string">'r:'</span>);
+0039 set(h,<span class="string">'LineWidth'</span>,3)
+0040 legend(<span class="string">'SDL/SDM'</span>,<span class="string">'SDC'</span>, <span class="string">'Achromat'</span>, <span class="string">'Physical'</span>)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/ind_amplitude6D.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/ind_amplitude6D.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/ind_amplitude6D.html	(revision 17)
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of ind_amplitude6D</title>
+  <meta name="keywords" content="ind_amplitude6D">
+  <meta name="description" content="function induced_amplitude">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; ind_amplitude6D.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>ind_amplitude6D
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function induced_amplitude</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function induced_amplitude6D </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">function induced_amplitude
+
+ Plot induced amplitudes in achromat and straight section
+ transported back to the beginning of the lattice
+ NB: use files computed w/ solamor2.lat
+
+ Written by Laurent S. Nadolski, SOLEIL 04/2004</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="plot_fmapdp6D.html" class="code" title="function plot_fmapdp(file)">plot_fmapdp6D</a>	Plot frequency map</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function induced_amplitude6D</a>
+0002 <span class="comment">%function induced_amplitude</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% Plot induced amplitudes in achromat and straight section</span>
+0005 <span class="comment">% transported back to the beginning of the lattice</span>
+0006 <span class="comment">% NB: use files computed w/ solamor2.lat</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% Written by Laurent S. Nadolski, SOLEIL 04/2004</span>
+0009 
+0010 hold_state = ishold;
+0011 hold on
+0012 
+0013 <span class="comment">%% Doesnot work for Pascale</span>
+0014 <span class="comment">%PATH=[getenv('HOME') '/matlab/soleil/']</span>
+0015 PATH=<span class="string">'/home/nadolski/matlab/soleil/'</span>;
+0016 
+0017 <span class="comment">%% amplitude induite dans les achromates</span>
+0018 file = [PATH <span class="string">'amp_ind_achromat.out'</span>]; 
+0019 [header data] = hdrload(file);
+0020 x_achromat = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+0021 
+0022 <span class="comment">%% amplitude induite dans sections moyennes</span>
+0023 file = [PATH <span class="string">'amp_ind_SDM.out'</span>]; 
+0024 [header data] = hdrload(file);
+0025 x_SDM = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+0026 
+0027 <span class="comment">%% amplitude induite dans sections courtes</span>
+0028 file = [PATH <span class="string">'amp_ind_SDC.out'</span>]; 
+0029 [header data] = hdrload(file);
+0030 x_SDC = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+0031 
+0032 <span class="comment">%% ampltudes induites dans sections longues</span>
+0033 file = [PATH <span class="string">'amp_ind_SDL.out'</span>]; 
+0034 [header data] = hdrload(file);
+0035 x_SDL = sqrt(data(:,8).*data(:,4)).*abs(data(:,1))*1e3;
+0036 delta = data(:,1)*100;
+0037 
+0038 h=plot(delta,2*x_SDL,<span class="string">'k-.'</span>,delta,2*x_SDC,<span class="string">'k--'</span>,delta,2*x_achromat,<span class="string">'k-'</span>);
+0039 set(h,<span class="string">'LineWidth'</span>,3)
+0040 legend(<span class="string">'SDL/SDM'</span>,<span class="string">'SDC'</span>, <span class="string">'Achromat'</span>, <span class="string">'Physical'</span>)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/index.html	(revision 17)
@@ -0,0 +1,31 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/naff/naffutils</title>
+  <meta name="keywords" content="machine/Soleil/common/naff/naffutils">
+  <meta name="description" content="Index for Directory machine/Soleil/common/naff/naffutils">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/naff/naffutils</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="datalabel.html">datalabel</a></td><td>datalabel       Interactive labeling of data points on a plot </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="dist_point_droite.html">dist_point_droite</a></td><td>% calcul la distance entre la droite et un point pt </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="fmap_select.html">fmap_select</a></td><td> </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="fmap_solamor2.html">fmap_solamor2</a></td><td>function [nux,nuy]=fmap_soleilnu(nx,ny,ax,ay) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="fmap_soleilnu.html">fmap_soleilnu</a></td><td>function [nux,nuy]=sim_fmap_at_naff_diffu_3sb(nxmin,nxmax,nx,nymin,nymax,ny,ax,ay) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="ind_amplitude.html">ind_amplitude</a></td><td>function induced_amplitude </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="ind_amplitude6D.html">ind_amplitude6D</a></td><td>function induced_amplitude </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="naffgui.html">naffgui</a></td><td>NAFFGUI M-file for naffgui.fig </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plot_fmap.html">plot_fmap</a></td><td>PLOT_FMAP - Plots frequency map </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plot_fmapdp.html">plot_fmapdp</a></td><td>PLOT_FMAPDP - Plot frequency map </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plot_fmapdp6D.html">plot_fmapdp6D</a></td><td>Plot frequency map </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plot_reson.html">plot_reson</a></td><td>function plot_reson(a,b,c,fen) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plotchamberT.html">plotchamberT</a></td><td>lecture du fichier de structure </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plotnudpT.html">plotnudpT</a></td><td>function plotnudpT(file) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plotnudxT.html">plotnudxT</a></td><td>function plotnudxT(file) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plottwissT.html">plottwissT</a></td><td>function plottwissT(file,cell) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plusprochereson.html">plusprochereson</a></td><td>function str = plusprochereson(pt,tab) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="reson.html">reson</a></td><td>function reson(ordre, period, fen) </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="resongui.html">resongui</a></td><td>RESONGUI M-file for resongui.fig </td></tr><tr><td><img src="../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="showresongui.html">showresongui</a></td><td>SHOWRESONGUI M-file for showresongui.fig </td></tr></table>
+
+
+<h2>Subsequent directories:</h2>
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li>example</li><li><a href="touscheklifetime/index.html">touscheklifetime</a></li></ul>
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/naffgui.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/naffgui.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/naffgui.html	(revision 17)
@@ -0,0 +1,412 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of naffgui</title>
+  <meta name="keywords" content="naffgui">
+  <meta name="description" content="NAFFGUI M-file for naffgui.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; naffgui.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>naffgui
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>NAFFGUI M-file for naffgui.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = naffgui(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> NAFFGUI M-file for naffgui.fig
+      NAFFGUI, by itself, creates a new NAFFGUI or raises the existing
+      singleton*.
+
+      H = NAFFGUI returns the handle to a new NAFFGUI or the handle to
+      the existing singleton*.
+
+      NAFFGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in NAFFGUI.M with the given input arguments.
+
+      NAFFGUI('Property','Value',...) creates a new NAFFGUI or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before naffgui_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to naffgui_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="plot_fmap.html" class="code" title="function plot_fmap(file)">plot_fmap</a>	PLOT_FMAP - Plots frequency map</li><li><a href="plot_fmapdp.html" class="code" title="function plot_fmapdp(file)">plot_fmapdp</a>	PLOT_FMAPDP - Plot frequency map</li><li><a href="plot_fmapdp6D.html" class="code" title="function plot_fmapdp(file)">plot_fmapdp6D</a>	Plot frequency map</li><li><a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>	function plot_reson(a,b,c,fen)</li><li><a href="plotchamberT.html" class="code" title="function plotchamberT">plotchamberT</a>	lecture du fichier de structure</li><li><a href="plotnudpT.html" class="code" title="function plotnudpT(file)">plotnudpT</a>	function plotnudpT(file)</li><li><a href="plotnudxT.html" class="code" title="function plotnudxT(file)">plotnudxT</a>	function plotnudxT(file)</li><li><a href="plottwissT.html" class="code" title="function plottwissT(file,cell)">plottwissT</a>	function plottwissT(file,cell)</li><li><a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>	function reson(ordre, period, fen)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function naffgui_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = naffgui_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function pushbutton1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function pushbutton2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function pushbutton3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function pushbutton4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function pushbutton5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function pushbutton6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function cvalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function cvalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function avalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function avalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function bvalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function bvalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function periodicityvalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function periodicityvalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function ordervalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function ordervalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function pushbutton7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function pushbutton10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function pushbutton_touschek_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function pushbutton_beta_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function pushbutton_dispersion_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function pushbutton_twiss_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = naffgui(varargin)</a>
+0002 <span class="comment">% NAFFGUI M-file for naffgui.fig</span>
+0003 <span class="comment">%      NAFFGUI, by itself, creates a new NAFFGUI or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = NAFFGUI returns the handle to a new NAFFGUI or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      NAFFGUI('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in NAFFGUI.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      NAFFGUI('Property','Value',...) creates a new NAFFGUI or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before naffgui_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to naffgui_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help naffgui</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 21-Mar-2004 19:07:01</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction naffgui_OpeningFcn(hObject, eventdata, handles, varargin)">naffgui_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = naffgui_OutputFcn(hObject, eventdata, handles)">naffgui_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp; isstr(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before naffgui is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function naffgui_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to naffgui (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for naffgui</span>
+0056 handles.output = hObject;
+0057 handles.a = 3;
+0058 handles.b = 1;
+0059 handles.c = 65;
+0060 handles.periodicity = 4;
+0061 handles.order = 4;
+0062 handles.fen=[18 19 10 11];
+0063 
+0064 <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(handles.order,handles.periodicity,handles.fen);
+0065 set(handles.periodicityvalue,<span class="string">'String'</span>,num2str(handles.periodicity));
+0066 set(handles.ordervalue,<span class="string">'String'</span>,num2str(handles.order));
+0067 set(handles.avalue,<span class="string">'String'</span>,num2str(handles.a));
+0068 set(handles.bvalue,<span class="string">'String'</span>,num2str(handles.b));
+0069 set(handles.cvalue,<span class="string">'String'</span>,num2str(handles.c));
+0070 set(handles.eq1,<span class="string">'String'</span>,[num2str(handles.a) <span class="string">' nux + '</span> num2str(handles.b) <span class="keyword">...</span>
+0071         <span class="string">' nuz = '</span> num2str(handles.c)]); 
+0072 
+0073 <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(handles.order,handles.periodicity,handles.fen);
+0074 hold on
+0075 <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(3,handles.periodicity,handles.fen);
+0076 <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(5,handles.periodicity,handles.fen);
+0077 <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(7,handles.periodicity,handles.fen);
+0078 axis(handles.fen);
+0079 
+0080 <span class="comment">% Update handles structure</span>
+0081 guidata(hObject, handles);
+0082 
+0083 <span class="comment">% UIWAIT makes naffgui wait for user response (see UIRESUME)</span>
+0084 <span class="comment">% uiwait(handles.main);</span>
+0085 
+0086 
+0087 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0088 <a name="_sub2" href="#_subfunctions" class="code">function varargout = naffgui_OutputFcn(hObject, eventdata, handles)</a>
+0089 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0090 <span class="comment">% hObject    handle to figure</span>
+0091 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0092 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0093 
+0094 <span class="comment">% Get default command line output from handles structure</span>
+0095 varargout{1} = handles.output;
+0096 
+0097 
+0098 <span class="comment">% --- Executes on button press in pushbutton1.</span>
+0099 <a name="_sub3" href="#_subfunctions" class="code">function pushbutton1_Callback(hObject, eventdata, handles)</a>
+0100 <span class="comment">% hObject    handle to pushbutton1 (see GCBO)</span>
+0101 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0102 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0103 <span class="comment">%% Ferme toutes les fenetres sauf le gui !</span>
+0104 figs=findobj(<span class="string">'Type'</span>,<span class="string">'Figure'</span>);
+0105 close(figs(figs~=gcbf));
+0106 
+0107 <span class="comment">% --- Executes on button press in pushbutton2.</span>
+0108 <a name="_sub4" href="#_subfunctions" class="code">function pushbutton2_Callback(hObject, eventdata, handles)</a>
+0109 <span class="comment">% hObject    handle to pushbutton2 (see GCBO)</span>
+0110 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0111 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0112 <a href="plot_fmap.html" class="code" title="function plot_fmap(file)">plot_fmap</a>(<span class="string">'fmap.out'</span>)
+0113 
+0114 <span class="comment">% --- Executes on button press in pushbutton3.</span>
+0115 <a name="_sub5" href="#_subfunctions" class="code">function pushbutton3_Callback(hObject, eventdata, handles)</a>
+0116 <span class="comment">% hObject    handle to pushbutton3 (see GCBO)</span>
+0117 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0118 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0119 <a href="plotnudxT.html" class="code" title="function plotnudxT(file)">plotnudxT</a>
+0120 
+0121 <span class="comment">% --- Executes on button press in pushbutton4.</span>
+0122 <a name="_sub6" href="#_subfunctions" class="code">function pushbutton4_Callback(hObject, eventdata, handles)</a>
+0123 <span class="comment">% hObject    handle to pushbutton4 (see GCBO)</span>
+0124 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0125 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0126 <a href="plotnudpT.html" class="code" title="function plotnudpT(file)">plotnudpT</a>
+0127 
+0128 <span class="comment">% --- Executes on button press in pushbutton5.</span>
+0129 <a name="_sub7" href="#_subfunctions" class="code">function pushbutton5_Callback(hObject, eventdata, handles)</a>
+0130 <span class="comment">% hObject    handle to pushbutton5 (see GCBO)</span>
+0131 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0132 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0133 <a href="plotchamberT.html" class="code" title="function plotchamberT">plotchamberT</a>
+0134 
+0135 <span class="comment">% --- Executes on button press in pushbutton6.</span>
+0136 <a name="_sub8" href="#_subfunctions" class="code">function pushbutton6_Callback(hObject, eventdata, handles)</a>
+0137 <span class="comment">% hObject    handle to pushbutton6 (see GCBO)</span>
+0138 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0139 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0140 <a href="plot_fmapdp.html" class="code" title="function plot_fmapdp(file)">plot_fmapdp</a>(<span class="string">'fmapdp.out'</span>)
+0141 
+0142 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0143 <a name="_sub9" href="#_subfunctions" class="code">function cvalue_CreateFcn(hObject, eventdata, handles)</a>
+0144 <span class="comment">% hObject    handle to cvalue (see GCBO)</span>
+0145 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0146 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0147 
+0148 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0149 <span class="comment">%       See ISPC and COMPUTER.</span>
+0150 <span class="keyword">if</span> ispc
+0151     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0152 <span class="keyword">else</span>
+0153     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0154 <span class="keyword">end</span>
+0155 
+0156 
+0157 
+0158 <a name="_sub10" href="#_subfunctions" class="code">function cvalue_Callback(hObject, eventdata, handles)</a>
+0159 <span class="comment">% hObject    handle to cvalue (see GCBO)</span>
+0160 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0161 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0162 
+0163 <span class="comment">% Hints: get(hObject,'String') returns contents of cvalue as text</span>
+0164 <span class="comment">%        str2double(get(hObject,'String')) returns contents of cvalue as a double</span>
+0165 
+0166 val = str2double(get(hObject,<span class="string">'String'</span>));
+0167 handles.c = val;
+0168 guidata(hObject, handles);
+0169 set(handles.eq1,<span class="string">'String'</span>,[num2str(handles.a) <span class="string">' nux + '</span> num2str(handles.b) <span class="keyword">...</span>
+0170         <span class="string">' nuz = '</span> num2str(handles.c)]); 
+0171 <a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>(handles.a,handles.b,handles.c,handles.fen)
+0172 
+0173 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0174 <a name="_sub11" href="#_subfunctions" class="code">function avalue_CreateFcn(hObject, eventdata, handles)</a>
+0175 <span class="comment">% hObject    handle to avalue (see GCBO)</span>
+0176 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0177 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0178 
+0179 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0180 <span class="comment">%       See ISPC and COMPUTER.</span>
+0181 <span class="keyword">if</span> ispc
+0182     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0183 <span class="keyword">else</span>
+0184     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0185 <span class="keyword">end</span>
+0186 
+0187 
+0188 
+0189 <a name="_sub12" href="#_subfunctions" class="code">function avalue_Callback(hObject, eventdata, handles)</a>
+0190 <span class="comment">% hObject    handle to avalue (see GCBO)</span>
+0191 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0192 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0193 
+0194 <span class="comment">% Hints: get(hObject,'String') returns contents of avalue as text</span>
+0195 <span class="comment">%        str2double(get(hObject,'String')) returns contents of avalue as a double</span>
+0196 val = str2double(get(hObject,<span class="string">'String'</span>));
+0197 handles.a = val;
+0198 guidata(hObject, handles);
+0199 set(handles.eq1,<span class="string">'String'</span>,[num2str(handles.a) <span class="string">' nux + '</span> num2str(handles.b) <span class="keyword">...</span>
+0200         <span class="string">' nuz = '</span> num2str(handles.c)]); 
+0201 <a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>(handles.a,handles.b,handles.c,handles.fen)
+0202 
+0203 
+0204 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0205 <a name="_sub13" href="#_subfunctions" class="code">function bvalue_CreateFcn(hObject, eventdata, handles)</a>
+0206 <span class="comment">% hObject    handle to bvalue (see GCBO)</span>
+0207 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0208 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0209 
+0210 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0211 <span class="comment">%       See ISPC and COMPUTER.</span>
+0212 <span class="keyword">if</span> ispc
+0213     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0214 <span class="keyword">else</span>
+0215     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0216 <span class="keyword">end</span>
+0217 
+0218 
+0219 
+0220 <a name="_sub14" href="#_subfunctions" class="code">function bvalue_Callback(hObject, eventdata, handles)</a>
+0221 <span class="comment">% hObject    handle to bvalue (see GCBO)</span>
+0222 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0223 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0224 
+0225 <span class="comment">% Hints: get(hObject,'String') returns contents of bvalue as text</span>
+0226 <span class="comment">%        str2double(get(hObject,'String')) returns contents of bvalue as a double</span>
+0227 val = str2double(get(hObject,<span class="string">'String'</span>));
+0228 handles.b = val;
+0229 guidata(hObject, handles);
+0230 set(handles.eq1,<span class="string">'String'</span>,[num2str(handles.a) <span class="string">' nux + '</span> num2str(handles.b) <span class="keyword">...</span>
+0231         <span class="string">' nuz = '</span> num2str(handles.c)]); 
+0232 <a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>(handles.a,handles.b,handles.c,handles.fen)
+0233 
+0234 
+0235 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0236 <a name="_sub15" href="#_subfunctions" class="code">function periodicityvalue_CreateFcn(hObject, eventdata, handles)</a>
+0237 <span class="comment">% hObject    handle to periodicityvalue (see GCBO)</span>
+0238 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0239 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0240 
+0241 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0242 <span class="comment">%       See ISPC and COMPUTER.</span>
+0243 <span class="keyword">if</span> ispc
+0244     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0245 <span class="keyword">else</span>
+0246     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0247 <span class="keyword">end</span>
+0248 
+0249 
+0250 
+0251 <a name="_sub16" href="#_subfunctions" class="code">function periodicityvalue_Callback(hObject, eventdata, handles)</a>
+0252 <span class="comment">% hObject    handle to periodicityvalue (see GCBO)</span>
+0253 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0254 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0255 
+0256 <span class="comment">% Hints: get(hObject,'String') returns contents of periodicityvalue as text</span>
+0257 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periodicityvalue as a double</span>
+0258 val = str2double(get(hObject,<span class="string">'String'</span>));
+0259 handles.periodicity = val;
+0260 guidata(hObject, handles);
+0261 <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(handles.order,handles.periodicity,handles.fen);
+0262 
+0263 
+0264 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0265 <a name="_sub17" href="#_subfunctions" class="code">function ordervalue_CreateFcn(hObject, eventdata, handles)</a>
+0266 <span class="comment">% hObject    handle to ordervalue (see GCBO)</span>
+0267 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0268 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0269 
+0270 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0271 <span class="comment">%       See ISPC and COMPUTER.</span>
+0272 <span class="keyword">if</span> ispc
+0273     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0274 <span class="keyword">else</span>
+0275     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0276 <span class="keyword">end</span>
+0277 
+0278 
+0279 
+0280 <a name="_sub18" href="#_subfunctions" class="code">function ordervalue_Callback(hObject, eventdata, handles)</a>
+0281 <span class="comment">% hObject    handle to ordervalue (see GCBO)</span>
+0282 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0283 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0284 
+0285 <span class="comment">% Hints: get(hObject,'String') returns contents of ordervalue as text</span>
+0286 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ordervalue as a double</span>
+0287 val = str2double(get(hObject,<span class="string">'String'</span>));
+0288 handles.order = val;
+0289 guidata(hObject, handles);
+0290 <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(handles.order,handles.periodicity,handles.fen);
+0291 
+0292 
+0293 <span class="comment">% --- Executes on button press in pushbutton7.</span>
+0294 <a name="_sub19" href="#_subfunctions" class="code">function pushbutton7_Callback(hObject, eventdata, handles)</a>
+0295 <span class="comment">% hObject    handle to pushbutton7 (see GCBO)</span>
+0296 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0297 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0298 <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(handles.order,handles.periodicity,handles.fen);
+0299 
+0300 
+0301 <span class="comment">% --- Executes on button press in pushbutton8.</span>
+0302 <a name="_sub20" href="#_subfunctions" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a>
+0303 <span class="comment">% hObject    handle to pushbutton8 (see GCBO)</span>
+0304 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0305 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0306 cla
+0307 
+0308 
+0309 <span class="comment">% --- Executes on button press in pushbutton10.</span>
+0310 <a name="_sub21" href="#_subfunctions" class="code">function pushbutton10_Callback(hObject, eventdata, handles)</a>
+0311 <span class="comment">% hObject    handle to pushbutton10 (see GCBO)</span>
+0312 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0313 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0314 
+0315 
+0316 <span class="comment">% --- Executes on button press in pushbutton_touschek.</span>
+0317 <a name="_sub22" href="#_subfunctions" class="code">function pushbutton_touschek_Callback(hObject, eventdata, handles)</a>
+0318 <span class="comment">% hObject    handle to pushbutton_touschek (see GCBO)</span>
+0319 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0320 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0321 [T, Tp, Tn]=Calc_Tous(<span class="string">'soleil.out'</span>,<span class="string">'linlat.out'</span>)
+0322  
+0323 
+0324 
+0325 <span class="comment">% --- Executes on button press in pushbutton_beta.</span>
+0326 <a name="_sub23" href="#_subfunctions" class="code">function pushbutton_beta_Callback(hObject, eventdata, handles)</a>
+0327 <span class="comment">% hObject    handle to pushbutton_beta (see GCBO)</span>
+0328 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0329 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0330 <a href="plottwissT.html" class="code" title="function plottwissT(file,cell)">plottwissT</a>;
+0331 
+0332 <span class="comment">% --- Executes on button press in pushbutton_dispersion.</span>
+0333 <a name="_sub24" href="#_subfunctions" class="code">function pushbutton_dispersion_Callback(hObject, eventdata, handles)</a>
+0334 <span class="comment">% hObject    handle to pushbutton_dispersion (see GCBO)</span>
+0335 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0336 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0337 <a href="plot_fmapdp6D.html" class="code" title="function plot_fmapdp(file)">plot_fmapdp6D</a>(<span class="string">'fmapdp.out'</span>);
+0338 
+0339 <span class="comment">% --- Executes on button press in pushbutton_twiss.</span>
+0340 <a name="_sub25" href="#_subfunctions" class="code">function pushbutton_twiss_Callback(hObject, eventdata, handles)</a>
+0341 <span class="comment">% hObject    handle to pushbutton_twiss (see GCBO)</span>
+0342 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0343 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0344 
+0345</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmap.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmap.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmap.html	(revision 17)
@@ -0,0 +1,173 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plot_fmap</title>
+  <meta name="keywords" content="plot_fmap">
+  <meta name="description" content="PLOT_FMAP - Plots frequency map">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plot_fmap.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plot_fmap
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>PLOT_FMAP - Plots frequency map</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plot_fmap(file) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">  PLOT_FMAP - Plots frequency map
+  plot_fmap('fmap.out')
+
+  INPUTS
+  1. file - filename for plotting frequency maps (output file from Tracy
+  II)
+
+  See also <a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>, <a href="plot_fmapdp.html" class="code" title="function plot_fmapdp(file)">plot_fmapdp</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plot_fmap(file)</a>
+0002 <span class="comment">%  PLOT_FMAP - Plots frequency map</span>
+0003 <span class="comment">%  plot_fmap('fmap.out')</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. file - filename for plotting frequency maps (output file from Tracy</span>
+0007 <span class="comment">%  II)</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  See also naffgui, plot_fmapdp</span>
+0010 
+0011 <span class="comment">% Written by Laurent S. Nadolski, SOLEIL, 03/04</span>
+0012 <span class="comment">% Modifications for R14 compatibility, June'05</span>
+0013 
+0014 <span class="comment">%% grille par defaut</span>
+0015 set(0,<span class="string">'DefaultAxesXgrid'</span>,<span class="string">'on'</span>);
+0016 set(0,<span class="string">'DefaultAxesZgrid'</span>,<span class="string">'on'</span>);
+0017 
+0018 <span class="keyword">if</span> nargin &lt;1
+0019   help (mfilename)
+0020   file =<span class="string">'fmap.out'</span>;
+0021 <span class="keyword">end</span>
+0022 
+0023 <span class="keyword">try</span>
+0024     [header data] = hdrload(file);
+0025 <span class="keyword">catch</span>
+0026     error(<span class="string">'Error while opening filename %s '</span>,file)
+0027 <span class="keyword">end</span>
+0028 
+0029 <span class="comment">%% dimensions en mm</span>
+0030 x = data(:,1)*1e3;
+0031 z = data(:,2)*1e3;
+0032 <span class="comment">%% ajoute partie entiere</span>
+0033 fx = 18 + abs(data(:,3));
+0034 fz = 10 + abs(data(:,4));
+0035 
+0036 <span class="comment">%% cas si diffusion</span>
+0037 <span class="keyword">if</span> size(data,2) == 6
+0038     diffusion = 1;
+0039     dfx = data(:,5);
+0040     dfz = data(:,6);
+0041 <span class="keyword">else</span>
+0042     clear data
+0043     diffusion = 0
+0044 <span class="keyword">end</span>
+0045 
+0046 <span class="comment">% select stable particles</span>
+0047 indx=(fx~=18.0);
+0048 
+0049 <span class="comment">%%% carte en frequence N&amp;B</span>
+0050 figure(4); 
+0051 subplot(2,1,1)
+0052 plot(fx,fz,<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,0.5); hold on;
+0053 xlabel(<span class="string">'\nu_x'</span>); ylabel(<span class="string">'\nu_z'</span>)
+0054 axis([18.15 18.27 10.265 10.32])
+0055 
+0056 subplot(2,1,2)
+0057 plot(x(indx),z(indx),<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,0.5); hold on
+0058 xlabel(<span class="string">'x(mm)'</span>); ylabel(<span class="string">'z(mm)'</span>);
+0059 
+0060 addlabel(0,0,datestr(now));
+0061 
+0062 <span class="comment">% Get Matlab version</span>
+0063 v = ver(<span class="string">'matlab'</span>);
+0064 
+0065 <span class="comment">%% cas diffusion</span>
+0066 <span class="keyword">if</span> diffusion    
+0067     figure(5);  clf
+0068     xgrid = [];  dfxgrid = []; fxgrid = []; 
+0069     zgrid = [];  dfzgrid = []; fzgrid = [];
+0070     
+0071     <span class="comment">%% calcul automayique la taille des donnees</span>
+0072     nz = sum(x==x(1));
+0073     nx = size(x,1)/nz;
+0074     
+0075     xgrid = reshape(x,nz,nx);
+0076     zgrid = reshape(z,nz,nx);
+0077     fxgrid = reshape(fx,nz,nx);
+0078     fzgrid = reshape(fz,nz,nx);
+0079     dfxgrid = reshape(dfx,nz,nx);
+0080     dfzgrid = reshape(dfz,nz,nx);
+0081     
+0082     <span class="comment">%% Diffusion computation and get rid of log of zero</span>
+0083     temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+0084     nonzero = (temp ~= 0);
+0085     diffu = NaN*ones(size(temp));
+0086     diffu(nonzero) = log10(temp(nonzero));
+0087     clear nonzero temp;
+0088     diffumax = -2; diffumin = -10;
+0089     diffu(diffu&lt; diffumin) = diffumin; <span class="comment">% very stable</span>
+0090     diffu(diffu&gt; diffumax) = diffumax; <span class="comment">%chaotic</span>
+0091 
+0092     h1=subplot(2,1,1);
+0093     <span class="comment">%% frequency map</span>
+0094     <span class="keyword">if</span> strcmp(v.Release,<span class="string">'(R13SP1)'</span>)  
+0095         h=mesh(fxgrid,fzgrid,diffu,<span class="string">'LineStyle'</span>,<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,5.0,<span class="string">'FaceColor'</span>,<span class="string">'none'</span>);
+0096     <span class="keyword">else</span> <span class="comment">% For Release R14 and later</span>
+0097         h=mesh(fxgrid,fzgrid,diffu,<span class="string">'Marker'</span>,<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,5.0,<span class="string">'FaceColor'</span>,<span class="string">'none'</span>,<span class="string">'LineStyle'</span>,<span class="string">'none'</span>);
+0098     <span class="keyword">end</span>
+0099     
+0100     caxis([-10 -2]); <span class="comment">% Echelle absolue</span>
+0101     view(2); hold on;
+0102     <span class="comment">%axis([18.195 18.27 10.26 10.32])</span>
+0103     shading flat
+0104     xlabel(<span class="string">'\nu_x'</span>);  ylabel(<span class="string">'\nu_z'</span>);
+0105     <span class="comment">%% colorbar position</span>
+0106     hp=colorbar(<span class="string">'horizon'</span>);
+0107     
+0108     h2=subplot(2,1,2);
+0109     <span class="comment">%% colorbar position</span>
+0110     p1 = get(h1,<span class="string">'position'</span>); p2 = get(h2,<span class="string">'position'</span>); p0 = get(hp,<span class="string">'position'</span>);
+0111     set(hp,<span class="string">'position'</span>,[p0(1) p1(2) - 1.2*(p1(2)-p2(2)-p2(4))/2 p0(3:4)]);   
+0112     <span class="comment">%% dynamic aperture</span>
+0113     pcolor(xgrid,zgrid,diffu); hold on;
+0114     xaxis([0 25])
+0115     caxis([-10 -2]); <span class="comment">% Echelle absolue</span>
+0116     shading flat;
+0117     xlabel(<span class="string">'x(mm)'</span>); ylabel(<span class="string">'z(mm)'</span>);
+0118     
+0119     addlabel(0,0,datestr(now));
+0120 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmapdp.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmapdp.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmapdp.html	(revision 17)
@@ -0,0 +1,180 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plot_fmapdp</title>
+  <meta name="keywords" content="plot_fmapdp">
+  <meta name="description" content="PLOT_FMAPDP - Plot frequency map">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plot_fmapdp.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plot_fmapdp
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>PLOT_FMAPDP - Plot frequency map</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plot_fmapdp(file) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> PLOT_FMAPDP - Plot frequency map
+ plot_fmapdp('fmapdp.out')
+
+  INPUTS
+  1. file - filename for plotting frequency maps (output file from Tracy
+  II)
+
+  See also <a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>, <a href="plot_fmap.html" class="code" title="function plot_fmap(file)">plot_fmap</a>, <a href="resongui.html" class="code" title="function varargout = resongui(varargin)">resongui</a></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="ind_amplitude.html" class="code" title="function induced_amplitude">ind_amplitude</a>	function induced_amplitude</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plot_fmapdp(file)</a>
+0002 <span class="comment">% PLOT_FMAPDP - Plot frequency map</span>
+0003 <span class="comment">% plot_fmapdp('fmapdp.out')</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. file - filename for plotting frequency maps (output file from Tracy</span>
+0007 <span class="comment">%  II)</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  See also naffgui, plot_fmap, resongui</span>
+0010 
+0011 <span class="comment">%</span>
+0012 <span class="comment">% Written Laurent S. Nadolski, SOLEIL, 03/04</span>
+0013 <span class="comment">% Modifications for R14 compatibility, June'05</span>
+0014 
+0015 <span class="comment">%% grille par defaut</span>
+0016 set(0,<span class="string">'DefaultAxesXgrid'</span>,<span class="string">'on'</span>);
+0017 set(0,<span class="string">'DefaultAxesYgrid'</span>,<span class="string">'on'</span>);
+0018 
+0019 <span class="keyword">if</span> nargin &lt;1
+0020   help (mfilename)
+0021   file =<span class="string">'fmapdp.out'</span>;
+0022 <span class="keyword">end</span>
+0023 
+0024 <span class="keyword">try</span>
+0025     [dp x fx fz dfx dfz] = textread(file,<span class="string">'%f %f %f %f %f %f'</span>,<span class="string">'headerlines'</span>,3);
+0026 <span class="keyword">catch</span>
+0027     error(<span class="string">'Error while opening filename %s'</span>,file)
+0028 <span class="keyword">end</span>
+0029 
+0030 <span class="comment">%% ajoute parties entieres</span>
+0031 fx=18+abs(fx);
+0032 fz=10+abs(fz);
+0033 <span class="comment">%% energie en %</span>
+0034 dp = dp*1e2;
+0035 <span class="comment">%% position en mm</span>
+0036 x = x*1e3;
+0037             
+0038 <span class="comment">% select stable particles</span>
+0039 indx=(fx~=18.0);
+0040 
+0041 <span class="comment">%% carte N&amp;B</span>
+0042 figure(6); clf;
+0043 subplot(2,1,1)
+0044 plot(fx,fz,<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,0.5)
+0045 xlabel(<span class="string">'\nu_x'</span>); ylabel(<span class="string">'\nu_z'</span>)
+0046 <span class="comment">%axis([18.15 18.27 10.265 10.32])</span>
+0047 
+0048 subplot(2,1,2)
+0049 plot(dp(indx),x(indx),<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,0.5); hold on
+0050 <a href="ind_amplitude.html" class="code" title="function induced_amplitude">ind_amplitude</a>
+0051 xlabel(<span class="string">'\delta (%)'</span>); ylabel(<span class="string">'x(mm)'</span>)
+0052 addlabel(0,0,datestr(now));
+0053 
+0054 <span class="comment">%% Carte avec diffusion</span>
+0055 figure(7); clf 
+0056 dpgrid = [];
+0057 xgrid = [];
+0058 dfxgrid = [];
+0059 dfzgrid = [];
+0060 fxgrid = [];
+0061 fzgrid = [];
+0062 
+0063 <span class="comment">%% Calcul automatique de la taille des donnees</span>
+0064 nx = sum(dp==dp(1));
+0065 ndp = size(dp,1)/nx;
+0066 
+0067 xgrid = reshape(x,nx,ndp);
+0068 dpgrid = reshape(dp,nx,ndp);
+0069 fxgrid = reshape(fx,nx,ndp);
+0070 fzgrid = reshape(fz,nx,ndp);
+0071 dfxgrid = reshape(dfx,nx,ndp);
+0072 dfzgrid = reshape(dfz,nx,ndp);
+0073 
+0074 <span class="comment">%% Diffusion</span>
+0075 temp = sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid);
+0076 nonzero = (temp ~= 0);
+0077 diffu = NaN*ones(size(temp));
+0078 diffu(nonzero) = log10(temp(nonzero));
+0079 clear nonzero temp;
+0080 
+0081 <span class="comment">% diffu = log10(sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid));</span>
+0082 
+0083 <span class="comment">%% saturation</span>
+0084 <span class="comment">% ind = isinf(diffu);</span>
+0085 <span class="comment">% diffu(ind) = NaN;</span>
+0086 diffumax = -2; diffumin = -10;
+0087 diffu(diffu&lt; diffumin) = diffumin; <span class="comment">% very stable</span>
+0088 diffu(diffu&gt; diffumax) = diffumax; <span class="comment">%chaotic</span>
+0089 diffu(end)    = diffumin;
+0090 diffu(end-1) = diffumax;
+0091 
+0092 <span class="comment">%% fmap</span>
+0093 h1=subplot(2,1,1);
+0094 
+0095 <span class="comment">% Get Matlab version</span>
+0096 v = ver(<span class="string">'matlab'</span>);
+0097 
+0098 <span class="keyword">if</span> strcmp(v.Release,<span class="string">'(R13SP1)'</span>)
+0099     mesh(fxgrid,fzgrid,diffu,<span class="string">'LineStyle'</span>,<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,5.0,<span class="string">'FaceColor'</span>,<span class="string">'none'</span>);
+0100 <span class="keyword">else</span> <span class="comment">% For Release R14 and later</span>
+0101     mesh(fxgrid,fzgrid,diffu,<span class="string">'Marker'</span>,<span class="string">'.'</span>,<span class="string">'LineStyle'</span>,<span class="string">'none'</span>,<span class="string">'MarkerSize'</span>,5.0,<span class="string">'FaceColor'</span>,<span class="string">'none'</span>);
+0102 <span class="keyword">end</span>
+0103 
+0104 caxis([-10 -2]); <span class="comment">% Echelle absolue</span>
+0105 <span class="comment">%axis([18.15 18.27 10.26 10.32])</span>
+0106 <span class="comment">% axis([18.195 18.27 s10.26 10.32])</span>
+0107 set(gca,<span class="string">'View'</span>,[0 90]);
+0108 hold on
+0109 shading flat
+0110 hp=colorbar(<span class="string">'horiz'</span>);
+0111 xlabel(<span class="string">'\nu_x'</span>)
+0112 ylabel(<span class="string">'\nu_z'</span>)
+0113 
+0114 <span class="comment">%% DA</span>
+0115 h2=subplot(2,1,2);
+0116 <span class="comment">%% colorbar position</span>
+0117 p1 = get(h1,<span class="string">'position'</span>); p2 = get(h2,<span class="string">'position'</span>); p0 = get(hp,<span class="string">'position'</span>);
+0118 set(hp,<span class="string">'position'</span>,[p0(1) p1(2) - 1.2*(p1(2)-p2(2)-p2(4))/2 p0(3:4)]);
+0119 
+0120 pcolor(dpgrid,xgrid,diffu); hold on
+0121 caxis([-10 -2]); <span class="comment">% Echelle absolue</span>
+0122 shading flat
+0123 xlabel(<span class="string">'dp (%)'</span>)
+0124 ylabel(<span class="string">'x(mm)'</span>)
+0125 <a href="ind_amplitude.html" class="code" title="function induced_amplitude">ind_amplitude</a>
+0126 
+0127 <span class="comment">% addlabel(0,0,datestr(now))</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmapdp6D.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmapdp6D.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_fmapdp6D.html	(revision 17)
@@ -0,0 +1,100 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plot_fmapdp6D</title>
+  <meta name="keywords" content="plot_fmapdp6D">
+  <meta name="description" content="Plot frequency map">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plot_fmapdp6D.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plot_fmapdp6D
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>Plot frequency map</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plot_fmapdp(file) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> Plot frequency map
+ eg:
+ plot_fmapdp('fmapdp.out')
+
+ Laurent S. Nadolski, SOLEIL, 03/04</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="ind_amplitude6D.html" class="code" title="function induced_amplitude6D">ind_amplitude6D</a>	function induced_amplitude</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plot_fmapdp(file)</a>
+0002 <span class="comment">% Plot frequency map</span>
+0003 <span class="comment">% eg:</span>
+0004 <span class="comment">% plot_fmapdp('fmapdp.out')</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">% Laurent S. Nadolski, SOLEIL, 03/04</span>
+0007 
+0008 <span class="comment">%% grille par defaut</span>
+0009 set(0,<span class="string">'DefaultAxesXgrid'</span>,<span class="string">'on'</span>);
+0010 set(0,<span class="string">'DefaultAxesYgrid'</span>,<span class="string">'on'</span>);
+0011 
+0012 <span class="keyword">if</span> nargin &lt;1
+0013   help (mfilename)
+0014   file =<span class="string">'fmapdp.out'</span>;
+0015 <span class="keyword">end</span>
+0016 
+0017 <span class="keyword">try</span>
+0018     [dp x fx fz dfx dfz] = textread(file,<span class="string">'%f %f %f %f %f %f'</span>,<span class="string">'headerlines'</span>,3);
+0019 <span class="keyword">catch</span>
+0020     error(<span class="string">'Error while opening filename %s'</span>,file)
+0021 <span class="keyword">end</span>
+0022 
+0023 <span class="comment">%% ajoute parties entieres</span>
+0024 fx=18+abs(fx);
+0025 fz=10+abs(fz);
+0026 <span class="comment">%% energie en %</span>
+0027 dp = dp*1e2;
+0028 <span class="comment">%% position en mm</span>
+0029 x = abs(x)*1e3;
+0030             
+0031 <span class="comment">% select stable particles</span>
+0032 indx=(fx~=18.0);
+0033 
+0034 <span class="comment">%% carte N&amp;B</span>
+0035 figure(6); clf;
+0036 subplot(2,1,1)
+0037 plot(fx,fz,<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,0.5)
+0038 xlabel(<span class="string">'\nu_x'</span>); ylabel(<span class="string">'\nu_z'</span>)
+0039 <span class="comment">%axis([18.15 18.27 10.265 10.32])</span>
+0040 
+0041 subplot(2,1,2)
+0042 plot(dp(indx),x(indx),<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,0.5); hold on
+0043 plot([-6 6],[25 25],<span class="string">'r-.'</span>)
+0044 plot([-6 -6],[0 26],<span class="string">'k--'</span>)
+0045 plot([6 6],[0 26],<span class="string">'k--'</span>)
+0046 plot([4 4],[0 26],<span class="string">'k--'</span>)
+0047 <a href="ind_amplitude6D.html" class="code" title="function induced_amplitude6D">ind_amplitude6D</a>
+0048 xlabel(<span class="string">'\delta (%)'</span>); ylabel(<span class="string">'x(mm)'</span>)
+0049 axis([-6.2 6.2 0 26])
+0050 <span class="comment">%addlabel(0,0,datestr(now))</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_reson.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_reson.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plot_reson.html	(revision 17)
@@ -0,0 +1,134 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plot_reson</title>
+  <meta name="keywords" content="plot_reson">
+  <meta name="description" content="function plot_reson(a,b,c,fen)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plot_reson.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plot_reson
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plot_reson(a,b,c,fen)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plot_reson(a,b,c,fen) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> function plot_reson(a,b,c,fen)
+ plot resonance whose equation is: a*fx+ b*fz = c 
+ in a windows whose dimensions are in fen=[xmin xmax zmin zmax]
+ eg:
+ plot_reson(3,1,65,[18 19 10 11])
+
+ Laurent S. Nadolski, Synchrotron SOLEIL, 02/04</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>	function reson(ordre, period, fen)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li><li><a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>	function reson(ordre, period, fen)</li><li><a href="showresongui.html" class="code" title="function varargout = showresongui(varargin)">showresongui</a>	SHOWRESONGUI M-file for showresongui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plot_reson(a,b,c,fen)</a>
+0002 <span class="comment">% function plot_reson(a,b,c,fen)</span>
+0003 <span class="comment">% plot resonance whose equation is: a*fx+ b*fz = c</span>
+0004 <span class="comment">% in a windows whose dimensions are in fen=[xmin xmax zmin zmax]</span>
+0005 <span class="comment">% eg:</span>
+0006 <span class="comment">% plot_reson(3,1,65,[18 19 10 11])</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">% Laurent S. Nadolski, Synchrotron SOLEIL, 02/04</span>
+0009 
+0010 <span class="comment">%% Check input argument</span>
+0011 <span class="keyword">if</span> nargin &lt; 3
+0012     help <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>
+0013     <span class="keyword">return</span>
+0014 <span class="keyword">end</span>
+0015 
+0016 <span class="comment">%% build straight line equation</span>
+0017 x=[fen(1) fen(2)];
+0018 
+0019 <span class="keyword">if</span> (b ~=0)
+0020     y = (c-a*x)/b;
+0021 <span class="keyword">elseif</span> (a ==0 &amp; b ==0)
+0022     <span class="comment">% ne fait rien</span>
+0023     <span class="keyword">return</span>
+0024 <span class="keyword">else</span>
+0025     x = c/a*ones(2,1);
+0026     y = [fen(3) fen(4)];
+0027 <span class="keyword">end</span>
+0028 
+0029 <span class="comment">%% define resonance order</span>
+0030 order = abs(a)+abs(b);
+0031 
+0032 <span class="comment">%% appearance options depending on order</span>
+0033 width = 0.5;
+0034 style = <span class="string">'-'</span>;
+0035 
+0036 <span class="keyword">switch</span> order
+0037     <span class="keyword">case</span> 1
+0038         color = <span class="string">'k'</span>;
+0039         width = 3;
+0040     <span class="keyword">case</span> 2
+0041         color = <span class="string">'c'</span>;
+0042     <span class="keyword">case</span> 3
+0043         color = <span class="string">'m'</span>;
+0044         style = <span class="string">'--'</span>;
+0045     <span class="keyword">case</span> 4
+0046         color = <span class="string">'r'</span>;
+0047     <span class="keyword">case</span> 5
+0048         color = <span class="string">'b'</span>;
+0049     <span class="keyword">case</span> 6
+0050         color = <span class="string">'y'</span>;
+0051     <span class="keyword">case</span> 7
+0052         color = <span class="string">'g'</span>;
+0053     <span class="keyword">case</span> 8
+0054         color = <span class="string">'c'</span>;
+0055         style = <span class="string">'-.'</span>;
+0056     <span class="keyword">case</span> 9
+0057         color = <span class="string">'m'</span>;
+0058         style = <span class="string">'-.'</span>;
+0059     <span class="keyword">case</span> 10
+0060         color = <span class="string">'y'</span>;
+0061         style = <span class="string">'-.'</span>;
+0062     <span class="keyword">case</span> 11
+0063         color = <span class="string">'r'</span>;
+0064         style = <span class="string">'-.'</span>;
+0065     <span class="keyword">case</span> 12
+0066         color = <span class="string">'g'</span>;
+0067         style = <span class="string">'-.'</span>;
+0068     <span class="keyword">case</span> 13
+0069         color = <span class="string">'k'</span>;
+0070         style = <span class="string">'-.'</span>;
+0071     <span class="keyword">case</span> 14
+0072         color = <span class="string">'b'</span>;
+0073         style = <span class="string">'-.'</span>;
+0074     <span class="keyword">case</span> 15
+0075         color = <span class="string">'c'</span>;
+0076         style = <span class="string">'--'</span>;
+0077     <span class="keyword">otherwise</span>
+0078         color =<span class="string">'k'</span>;
+0079         style = <span class="string">'--'</span>
+0080 <span class="keyword">end</span>
+0081 
+0082 line(x,y,<span class="string">'LineWidth'</span>, width, <span class="string">'LineStyle'</span>, style, <span class="string">'Color'</span>,color);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotchamberT.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotchamberT.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotchamberT.html	(revision 17)
@@ -0,0 +1,90 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plotchamberT</title>
+  <meta name="keywords" content="plotchamberT">
+  <meta name="description" content="lecture du fichier de structure">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plotchamberT.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plotchamberT
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>lecture du fichier de structure</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plotchamberT </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> lecture du fichier de structure</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plotchamberT</a>
+0002 
+0003 <span class="comment">% lecture du fichier de structure</span>
+0004 files = strcat(getenv(<span class="string">'HOME'</span>), <span class="string">'/matlab/soleil/structure'</span>);
+0005 
+0006 <span class="keyword">try</span>
+0007     struc=dlmread(files);
+0008 <span class="keyword">catch</span>
+0009     error(<span class="string">'Error while opening file %s'</span>,files)
+0010 <span class="keyword">end</span>
+0011 
+0012 <span class="comment">%% Lecture du fichier de la chambre</span>
+0013 file0 = <span class="string">'chambre.out'</span>;
+0014 
+0015 <span class="keyword">try</span>
+0016     [num dummy s mxch pxch vch ] = textread(file0,<span class="string">'%d %s %f %f %f %f'</span>,<span class="string">'headerlines'</span>,3);
+0017 <span class="keyword">catch</span>
+0018     error(<span class="string">'Error while opening file %s'</span>,file0)
+0019 <span class="keyword">end</span>
+0020 
+0021 figure(42)
+0022 clf
+0023 subplot(2,1,1)
+0024 plot(s,pxch,<span class="string">'k-'</span>);
+0025 hold on
+0026 plot(s,mxch,<span class="string">'k-'</span>);
+0027 plot(struc(:,1),struc(:,2)/2*0.3*max(pxch),<span class="string">'k-'</span>);
+0028 axis([0 44.2621 1.1*min(mxch) 1.1*max(pxch)]);
+0029 grid on
+0030 xlabel(<span class="string">'s (m)'</span>)
+0031 ylabel(<span class="string">'x (mm)'</span>)
+0032 title(<span class="string">'Vacuum pipe dimensions'</span>)
+0033 
+0034 subplot(2,1,2)
+0035 plot(s,vch,<span class="string">'k-'</span>);
+0036 hold on
+0037 plot(struc(:,1),struc(:,2)/2*0.3*max(vch),<span class="string">'k-'</span>)
+0038 plot(s,-vch,<span class="string">'k-'</span>);
+0039 axis([0 44.2621 -1.1*max(vch) 1.1*max(vch)]);
+0040 grid on
+0041 xlabel(<span class="string">'s (m)'</span>)
+0042 ylabel(<span class="string">'z (mm)'</span>)
+0043 
+0044 addlabel(0,0,datestr(now));</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotnudpT.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotnudpT.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotnudpT.html	(revision 17)
@@ -0,0 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plotnudpT</title>
+  <meta name="keywords" content="plotnudpT">
+  <meta name="description" content="function plotnudpT(file)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plotnudpT.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plotnudpT
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plotnudpT(file)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plotnudpT(file) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> function plotnudpT(file)
+ plot tune shift with energy from tracy output file</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plotnudpT(file)</a>
+0002 <span class="comment">% function plotnudpT(file)</span>
+0003 <span class="comment">% plot tune shift with energy from tracy output file</span>
+0004 
+0005 <span class="keyword">if</span> nargin &lt; 1
+0006     file =<span class="string">'nudp.out'</span>
+0007 <span class="keyword">end</span>
+0008 
+0009 <span class="keyword">try</span>
+0010     [header data] = hdrload(file);
+0011 <span class="keyword">catch</span>
+0012     error(<span class="string">'Error while opening filename %s'</span>,file)
+0013 <span class="keyword">end</span>
+0014 
+0015 <span class="comment">%% energy in percent</span>
+0016 dp = data(:,1)*100;
+0017 
+0018 <span class="comment">%% fractional tunes</span>
+0019 nux = data(:,2);
+0020 nuz = data(:,3);
+0021 nux(nux==0)=NaN;
+0022 nuz(nuz==0)=NaN;
+0023 
+0024 <span class="comment">%% closed orbit</span>
+0025 xcod = data(:,4)*1e3;
+0026 zcod = data(:,5)*1e3;
+0027 
+0028 <span class="comment">%% Set default properties</span>
+0029 set(0,<span class="string">'DefaultAxesXgrid'</span>,<span class="string">'on'</span>);
+0030 set(0,<span class="string">'DefaultAxesYgrid'</span>,<span class="string">'on'</span>);
+0031 
+0032 <span class="comment">%% Plot</span>
+0033 figure(44)
+0034 subplot(1,2,1)
+0035 plot(dp,nux,<span class="string">'.'</span>)
+0036 xlabel(<span class="string">'\delta (%)'</span>)
+0037 ylabel(<span class="string">'\nu_x'</span>)
+0038 
+0039 subplot(1,2,2)
+0040 plot(dp,nuz,<span class="string">'.'</span>)
+0041 xlabel(<span class="string">'\delta (%)'</span>)
+0042 ylabel(<span class="string">'\nu_z'</span>)
+0043 suptitle(<span class="string">'Tune shift with energy'</span>)
+0044 
+0045 addlabel(0,0,datestr(now))
+0046 
+0047 h=figure(45)
+0048 pos=get(h,<span class="string">'Position'</span>);
+0049 set(h,<span class="string">'Position'</span>, [pos(1:2)  900 380]);
+0050 subplot(1,2,1)
+0051 plot(dp,xcod,<span class="string">'.'</span>)
+0052 xlabel(<span class="string">'\delta (%)'</span>)
+0053 ylabel(<span class="string">'xcod (mm)'</span>)
+0054 
+0055 subplot(1,2,2)
+0056 plot(dp,zcod,<span class="string">'.'</span>)
+0057 xlabel(<span class="string">'\delta (%)'</span>)
+0058 ylabel(<span class="string">'zcod (mm)'</span>)
+0059 suptitle(<span class="string">'Closed orbit variation with energy'</span>)
+0060 
+0061 addlabel(0,0,datestr(now))</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotnudxT.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotnudxT.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plotnudxT.html	(revision 17)
@@ -0,0 +1,110 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plotnudxT</title>
+  <meta name="keywords" content="plotnudxT">
+  <meta name="description" content="function plotnudxT(file)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plotnudxT.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plotnudxT
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plotnudxT(file)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plotnudxT(file) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> function plotnudxT(file)
+ plot tuneshift with amplitude from tracy output file</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plotnudxT(file)</a>
+0002 <span class="comment">% function plotnudxT(file)</span>
+0003 <span class="comment">% plot tuneshift with amplitude from tracy output file</span>
+0004 
+0005 <span class="keyword">if</span> nargin &lt; 2
+0006     file1 =<span class="string">'nudx.out'</span>
+0007     file2 =<span class="string">'nudz.out'</span>
+0008 <span class="keyword">end</span>
+0009 
+0010 <span class="keyword">try</span>
+0011     [header data1] = hdrload(file1);
+0012 <span class="keyword">catch</span>
+0013     error(<span class="string">'Error while opening filename %s'</span>,file1)
+0014 <span class="keyword">end</span>
+0015 
+0016 <span class="keyword">try</span>
+0017     [header data2] = hdrload(file2);
+0018 <span class="keyword">catch</span>
+0019     error(<span class="string">'Error while opening filename '</span>,file2)
+0020 <span class="keyword">end</span>
+0021 
+0022 <span class="comment">%% amplitude</span>
+0023 x = data1(:,1)*1e3;
+0024 z = data2(:,2)*1e3;
+0025 
+0026 <span class="comment">%% fractional tunes</span>
+0027 nux1 = data1(:,3);
+0028 nuz1 = data1(:,4);
+0029 nux1(nux1==0)=NaN;
+0030 nuz1(nuz1==0)=NaN;
+0031 
+0032 nux2 = data2(:,3);
+0033 nuz2 = data2(:,4);
+0034 nux2(nux2==0)=NaN;
+0035 nuz2(nuz2==0)=NaN;
+0036 
+0037 <span class="comment">%% Set default properties</span>
+0038 set(0,<span class="string">'DefaultAxesXgrid'</span>,<span class="string">'on'</span>);
+0039 set(0,<span class="string">'DefaultAxesYgrid'</span>,<span class="string">'on'</span>);
+0040 
+0041 <span class="comment">%% Plot</span>
+0042 figure(43)
+0043 subplot(2,2,1)
+0044 plot(x,nux1,<span class="string">'.'</span>)
+0045 xlabel(<span class="string">'x (mm)'</span>)
+0046 ylabel(<span class="string">'\nu_x'</span>)
+0047 
+0048 subplot(2,2,3)
+0049 plot(x,nuz1,<span class="string">'.'</span>)
+0050 xlabel(<span class="string">'x (mm)'</span>)
+0051 ylabel(<span class="string">'\nu_z'</span>)
+0052 
+0053 subplot(2,2,2)
+0054 plot(z,nux2,<span class="string">'.'</span>)
+0055 xlabel(<span class="string">'z (mm)'</span>)
+0056 ylabel(<span class="string">'\nu_x'</span>)
+0057 
+0058 subplot(2,2,4)
+0059 plot(z,nuz2,<span class="string">'.'</span>)
+0060 xlabel(<span class="string">'z (mm)'</span>)
+0061 ylabel(<span class="string">'\nu_z'</span>)
+0062 
+0063 addlabel(0,0,datestr(now))</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plottwissT.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plottwissT.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plottwissT.html	(revision 17)
@@ -0,0 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plottwissT</title>
+  <meta name="keywords" content="plottwissT">
+  <meta name="description" content="function plottwissT(file,cell)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plottwissT.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plottwissT
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plottwissT(file,cell)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function plottwissT(file,cell) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">function plottwissT(file,cell)
+
+ plot Twiss function from TRacy output file
+ cell = 1 show all the ring
+ cell = 4 show one out of 4 periods</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="datalabel.html" class="code" title="function datalabel(state,marker_color);">datalabel</a>	datalabel       Interactive labeling of data points on a plot</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function plottwissT(file,cell)</a>
+0002 <span class="comment">%function plottwissT(file,cell)</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">% plot Twiss function from TRacy output file</span>
+0005 <span class="comment">% cell = 1 show all the ring</span>
+0006 <span class="comment">% cell = 4 show one out of 4 periods</span>
+0007 
+0008 <span class="comment">%</span>
+0009 <span class="comment">% Written by Laurent S. Nadolski, 03/04, SOLEIL</span>
+0010 
+0011 <span class="keyword">if</span> nargin == 0
+0012   file = <span class="string">'linlat.out'</span>;
+0013 <span class="keyword">end</span>
+0014 
+0015 <span class="keyword">if</span> (nargin ==2 &amp;&amp; ~isempty(cell))
+0016     cell = 4;
+0017 <span class="keyword">else</span>
+0018     cell = 1;
+0019 <span class="keyword">end</span>
+0020 
+0021 [dummy s ax bx mux etax etaxp az bz muz etaz etazp] = <span class="keyword">...</span>
+0022  textread(file,<span class="string">'%s %f %f %f %f %f %f %f %f %f %f %f'</span>,<span class="string">'headerlines'</span>,4);
+0023 [s2 idx] = unique(s);
+0024 ax2 = ax(idx); az2 = az(idx);
+0025 bx2 = bx(idx); bz2 = bz(idx);
+0026 etax2 = etax(idx); etaz2 = etaz(idx);
+0027 <span class="comment">%%</span>
+0028 h = figure(21)
+0029 cla
+0030 plot(s,bx,<span class="string">'r-'</span>,s,bz,<span class="string">'b-'</span>);
+0031 hold on;
+0032 plot(s,10*etax,<span class="string">'g-'</span>,s,10*etaz,<span class="string">'k--'</span>)
+0033 drawlattice(0,2,gca)
+0034 <span class="comment">%plotlattice(0,2)</span>
+0035 legend(<span class="string">'\beta_x'</span>,<span class="string">'\beta_z'</span>,<span class="string">'10\eta_x'</span>,<span class="string">'10\eta_z'</span>)
+0036 xaxis([0 s(end)/cell])
+0037 title(<span class="string">'Optical functions'</span>)
+0038 xlabel(<span class="string">'s (m)'</span>)
+0039 <a href="datalabel.html" class="code" title="function datalabel(state,marker_color);">datalabel</a> on
+0040 <span class="comment">%%</span>
+0041 <span class="comment">%% interpolation</span>
+0042 si    = (s2(1):0.2:s2(end))';
+0043 bxi   = interp1(s2,bx2,si,<span class="string">'pchip'</span>);
+0044 bzi   = interp1(s2,bz2,si,<span class="string">'pchip'</span>);
+0045 etaxi = interp1(s2,etax2,si,<span class="string">'pchip'</span>);
+0046 etazi = interp1(s2,etaz2,si,<span class="string">'pchip'</span>);
+0047 
+0048 figure(22)
+0049 cla
+0050 hold on;
+0051 plot(si,bxi,<span class="string">'r-'</span>,si,bzi,<span class="string">'b-'</span>);
+0052 plot(si,10*etaxi,<span class="string">'g-'</span>,si,10*etazi,<span class="string">'k--'</span>)
+0053 drawlattice(0,2,gca)
+0054 legend(<span class="string">'\beta_x'</span>,<span class="string">'\beta_z'</span>,<span class="string">'10\eta_x'</span>,<span class="string">'10\eta_z'</span>)
+0055 xaxis([0 s(end)/cell])
+0056 title(<span class="string">'Optical functions'</span>)
+0057 xlabel(<span class="string">'s (m)'</span>)
+0058</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plusprochereson.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plusprochereson.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/plusprochereson.html	(revision 17)
@@ -0,0 +1,60 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plusprochereson</title>
+  <meta name="keywords" content="plusprochereson">
+  <meta name="description" content="function str = plusprochereson(pt,tab)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; plusprochereson.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>plusprochereson
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function str = plusprochereson(pt,tab)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function str = plusprochereson(pt,tab) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> function str = plusprochereson(pt,tab)
+ Cherche la droite definie dans tab la plus proche du point pt</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="dist_point_droite.html" class="code" title="function d = dist_point_droite(m1,m2,m3,pt)">dist_point_droite</a>	% calcul la distance entre la droite et un point pt</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="resongui.html" class="code" title="function varargout = resongui(varargin)">resongui</a>	RESONGUI M-file for resongui.fig</li><li><a href="showresongui.html" class="code" title="function varargout = showresongui(varargin)">showresongui</a>	SHOWRESONGUI M-file for showresongui.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function str = plusprochereson(pt,tab)</a>
+0002 <span class="comment">% function str = plusprochereson(pt,tab)</span>
+0003 <span class="comment">% Cherche la droite definie dans tab la plus proche du point pt</span>
+0004 
+0005 d= []; 
+0006 <span class="keyword">for</span> k=1:size(tab,1)
+0007     d(k) = <a href="dist_point_droite.html" class="code" title="function d = dist_point_droite(m1,m2,m3,pt)">dist_point_droite</a>(tab(k,1),tab(k,2),tab(k,3), pt);
+0008 <span class="keyword">end</span>
+0009 [a ai]=min(d);
+0010 k=ai;
+0011 
+0012 str = sprintf(<span class="string">'%d fx + %d fz = %d'</span>, tab(k,1), tab(k,2), tab(k,3));
+0013 fprintf(<span class="string">'Resonance: %d fx + %d fz = %d\n'</span>, tab(k,1), tab(k,2), tab(k,3));</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/reson.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/reson.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/reson.html	(revision 17)
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of reson</title>
+  <meta name="keywords" content="reson">
+  <meta name="description" content="function reson(ordre, period, fen)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; reson.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>reson
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function reson(ordre, period, fen)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function [k, tab]=reson(ordre,period,fen) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> function reson(ordre, period, fen)
+ Recherche des droites de resonance a x + b y = c
+ passant dans la fenetre [x1 x2 y1 y2]
+ Ordre de la resonance |a| + |b|
+ Critere de recherche c = period * entie
+ eg:
+ [k, tab] = reson(4,1,[18 19 10 11]
+
+ Laurent S. Nadolski, Synchrotron SOLEIL, 02/04</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="dist_point_droite.html" class="code" title="function d = dist_point_droite(m1,m2,m3,pt)">dist_point_droite</a>	% calcul la distance entre la droite et un point pt</li><li><a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>	function plot_reson(a,b,c,fen)</li><li><a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>	function reson(ordre, period, fen)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="naffgui.html" class="code" title="function varargout = naffgui(varargin)">naffgui</a>	NAFFGUI M-file for naffgui.fig</li><li><a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>	function plot_reson(a,b,c,fen)</li><li><a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>	function reson(ordre, period, fen)</li><li><a href="showresongui.html" class="code" title="function varargout = showresongui(varargin)">showresongui</a>	SHOWRESONGUI M-file for showresongui.fig</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function d = distance(m1,m2,m3,fen)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [k, tab]=reson(ordre,period,fen)</a>
+0002 <span class="comment">% function reson(ordre, period, fen)</span>
+0003 <span class="comment">% Recherche des droites de resonance a x + b y = c</span>
+0004 <span class="comment">% passant dans la fenetre [x1 x2 y1 y2]</span>
+0005 <span class="comment">% Ordre de la resonance |a| + |b|</span>
+0006 <span class="comment">% Critere de recherche c = period * entie</span>
+0007 <span class="comment">% eg:</span>
+0008 <span class="comment">% [k, tab] = reson(4,1,[18 19 10 11]</span>
+0009 <span class="comment">%</span>
+0010 <span class="comment">% Laurent S. Nadolski, Synchrotron SOLEIL, 02/04</span>
+0011 
+0012 <span class="comment">%% check argument number</span>
+0013 <span class="keyword">if</span> nargin &lt; 2
+0014     help <a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>
+0015     <span class="keyword">return</span>
+0016 <span class="keyword">end</span>
+0017 
+0018 <span class="comment">%% window dimensions</span>
+0019 x1=fen(1); x2=fen(2); y1=fen(3); y2=fen(4);
+0020 
+0021 tab = [];
+0022 k=0;
+0023 <span class="comment">%% diagonal of the window used to check wether resonsonce is within the</span>
+0024 <span class="comment">%% window frame</span>
+0025 d0 = sqrt(power(fen(2)-fen(1),2) + power(fen(4)-fen(3),2))/2;
+0026 
+0027 <span class="comment">%% Look for resonance</span>
+0028 <span class="keyword">for</span> m1 = -ordre:ordre
+0029     am1 = abs(m1);
+0030     <span class="keyword">for</span> m2 = -ordre+am1:ordre-am1
+0031         <span class="comment">%%% Recherche des bornes de C</span>
+0032         <span class="keyword">if</span> (m2 == 0)
+0033             c(1)=m1*x1;
+0034             c(2)=m1*x2;            
+0035         <span class="keyword">elseif</span> (m1/m2&lt;=0)
+0036             c(1)= m1*x1+m2*y2;
+0037             c(2)= m1*x2+m2*y1;
+0038         <span class="keyword">else</span>
+0039             c(1)= m1*x1+m2*y1;
+0040             c(2)= m1*x2+m2*y2;
+0041         <span class="keyword">end</span>
+0042         cmin = floor(min(c));
+0043         cmax= floor(max(c));
+0044         
+0045         <span class="keyword">for</span> m3=cmin:cmax        
+0046             <span class="keyword">if</span> (mod(m3,period) == 0) 
+0047                 <span class="keyword">if</span> (abs(m1) + abs(m2) == ordre)
+0048                     <span class="comment">% check whether resonance within the window</span>
+0049                     d = <a href="#_sub1" class="code" title="subfunction d = distance(m1,m2,m3,fen)">distance</a>(m1,m2,m3,fen);   
+0050                     <span class="keyword">if</span> (d &lt; d0)
+0051                         k=k+1;
+0052                         tab(k,:)=[m1 m2 m3];
+0053                         <a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>(m1,m2,m3,fen)
+0054                     <span class="keyword">end</span>
+0055                     
+0056                 <span class="keyword">end</span>
+0057             <span class="keyword">end</span>
+0058         <span class="keyword">end</span>
+0059     <span class="keyword">end</span>
+0060 <span class="keyword">end</span>        
+0061 
+0062 <a name="_sub1" href="#_subfunctions" class="code">function d = distance(m1,m2,m3,fen)</a>
+0063 <span class="comment">% calcul la distance entre la droite et la centre de la fenetre</span>
+0064 <span class="comment">% centre de la fenetre</span>
+0065 pt= [fen(1) + (fen(2)-fen(1))/2, fen(3) + (fen(4)-fen(3))/2];
+0066 
+0067 d = <a href="dist_point_droite.html" class="code" title="function d = dist_point_droite(m1,m2,m3,pt)">dist_point_droite</a>(m1,m2,m3,pt);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/resongui.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/resongui.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/resongui.html	(revision 17)
@@ -0,0 +1,772 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of resongui</title>
+  <meta name="keywords" content="resongui">
+  <meta name="description" content="RESONGUI M-file for resongui.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; resongui.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>resongui
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>RESONGUI M-file for resongui.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = resongui(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> RESONGUI M-file for resongui.fig
+      RESONGUI, by itself, creates a new RESONGUI or raises the existing
+      singleton*.
+
+      H = RESONGUI returns the handle to a new RESONGUI or the handle to
+      the existing singleton*.
+
+      RESONGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in RESONGUI.M with the given input arguments.
+
+      RESONGUI('Property','Value',...) creates a new RESONGUI or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before resongui_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to resongui_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="plusprochereson.html" class="code" title="function str = plusprochereson(pt,tab)">plusprochereson</a>	function str = plusprochereson(pt,tab)</li><li><a href="showresongui.html" class="code" title="function varargout = showresongui(varargin)">showresongui</a>	SHOWRESONGUI M-file for showresongui.fig</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function resongui_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = resongui_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function loaddata(hObject,handles)</a></li><li><a href="#_sub4" class="code">function pushbutton_replot_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function plotdata(handles)</a></li><li><a href="#_sub6" class="code">function bouton_resonid_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function identifier(xi,yi,handles)</a></li><li><a href="#_sub8" class="code">function print_value(handles,x1,x2,f1,f2)</a></li><li><a href="#_sub9" class="code">function edit_color_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function edit_color_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function increaseV_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function increaseH_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function decreaseV_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function decreaseH_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function zoomshift(handles,prop,fac)</a></li><li><a href="#_sub16" class="code">function edit_zoom_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function edit_zoom_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function radiobutton1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function radiobutton2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function mutual_exclude(off)</a></li><li><a href="#_sub21" class="code">function edit_shift_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function edit_shift_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function resetfmap_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function souris_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function Untitled_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function pushbutton_reson_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function resonance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function LoadDataFile_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function handles = getdata(handles);</a></li><li><a href="#_sub31" class="code">function LoadDataInduced_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function toggle_IA_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function toogle_color_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function popupmenu_typemap_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function popupmenu_typemap_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function menu_popup_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function menu_popup1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function menu_popup2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function menu_popup12_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = resongui(varargin)</a>
+0002 <span class="comment">% RESONGUI M-file for resongui.fig</span>
+0003 <span class="comment">%      RESONGUI, by itself, creates a new RESONGUI or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = RESONGUI returns the handle to a new RESONGUI or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      RESONGUI('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in RESONGUI.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      RESONGUI('Property','Value',...) creates a new RESONGUI or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before resongui_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to resongui_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help resongui</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 23-Mar-2004 18:09:35</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030     <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031     <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction resongui_OpeningFcn(hObject, eventdata, handles, varargin)">resongui_OpeningFcn</a>, <span class="keyword">...</span>
+0032     <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = resongui_OutputFcn(hObject, eventdata, handles)">resongui_OutputFcn</a>, <span class="keyword">...</span>
+0033     <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034     <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp; isstr(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before resongui is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function resongui_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to resongui (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for resongui</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">%Met la barre d'outil (zoom)</span>
+0059 set(hObject,<span class="string">'ToolBar'</span>,<span class="string">'figure'</span>);
+0060 
+0061 <span class="comment">% Update handles structure</span>
+0062 guidata(hObject, handles);
+0063 
+0064 <span class="comment">%% Lit les donnees</span>
+0065 handles.pathname = pwd; <span class="comment">%chemin de lancement</span>
+0066 handles.dataname = <span class="string">'fmap.out'</span>; <span class="comment">% carte par defaut</span>
+0067 handles.color=<span class="string">'off'</span>; <span class="comment">% carte en couleur avec diffusion</span>
+0068 handles.maptype = <span class="string">'fmap'</span>; <span class="comment">%% fmap or fmapdp</span>
+0069 handles.data_inducedamplitude = fullfile(pwd,<span class="string">'induced_amplitude.out'</span>);
+0070 
+0071 <a href="#_sub3" class="code" title="subfunction loaddata(hObject,handles)">loaddata</a>(hObject,handles); <span class="comment">%% charge les donnees</span>
+0072 <span class="comment">% OBLIGATOIRE car la fonction loaddata a modifier handles et</span>
+0073 <span class="comment">% travailler sur une copie de handles</span>
+0074 handles = guidata(hObject); 
+0075 handles.str=<span class="string">''</span>;
+0076 
+0077 <span class="comment">%% Couleur de depart pour identifiactaion point a point</span>
+0078 handles.couleurs=[1 0 0];
+0079 <span class="comment">%% zoom</span>
+0080 handles.type=<span class="string">'shift'</span>;
+0081 set(handles.edit_shift,<span class="string">'String'</span>,<span class="string">'0.05'</span>);
+0082 handles.shiftaxis = str2double(get(handles.edit_shift,<span class="string">'String'</span>));
+0083 handles.zoomaxis= str2double(get(handles.edit_zoom,<span class="string">'String'</span>));
+0084 
+0085 <span class="comment">%%% Variable pour echange avec autres gui</span>
+0086 setappdata(handles.figure1, <span class="string">'Tab'</span>,[]);
+0087 guidata(hObject, handles);
+0088 
+0089 set(handles.edit_color,<span class="string">'BackgroundColor'</span>,handles.couleurs);
+0090 <span class="comment">%%% Affiche le point de fonctionnement</span>
+0091 <a href="#_sub8" class="code" title="subfunction print_value(handles,x1,x2,f1,f2)">print_value</a>(handles,handles.x1(1),handles.x2(1),handles.f1(1),handles.f2(1));
+0092 <span class="comment">%%%% dessine les donnees</span>
+0093 <a href="#_sub5" class="code" title="subfunction plotdata(handles)">plotdata</a>(handles);
+0094 
+0095 <span class="comment">%%% axes par defaut</span>
+0096 <span class="comment">%set(handles.fmap,'Xlim',[18.1 18.3],'Ylim',[10.20 10.4]);</span>
+0097 
+0098 <span class="comment">% UIWAIT makes resongui wait for user response (see UIRESUME)</span>
+0099 <span class="comment">% uiwait(handles.figure1);</span>
+0100 
+0101 
+0102 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0103 <a name="_sub2" href="#_subfunctions" class="code">function varargout = resongui_OutputFcn(hObject, eventdata, handles)</a>
+0104 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0105 <span class="comment">% hObject    handle to figure</span>
+0106 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0107 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0108 
+0109 <span class="comment">% Get default command line output from handles structure</span>
+0110 varargout{1} = handles.output;
+0111 
+0112 <a name="_sub3" href="#_subfunctions" class="code">function loaddata(hObject,handles)</a>
+0113 
+0114 <span class="keyword">while</span> (1)
+0115     fname = fullfile(handles.pathname, handles.dataname)
+0116     <span class="keyword">try</span>
+0117         [header data]=hdrload(fname);
+0118         <span class="keyword">break</span>;
+0119     <span class="keyword">catch</span>
+0120         <span class="comment">%     error('Error while opening filename %s ',fname)</span>
+0121         uiwait(errordlg(<span class="string">'No input data found'</span>));    
+0122         handles = <a href="#_sub30" class="code" title="subfunction handles = getdata(handles);">getdata</a>(handles);
+0123     <span class="keyword">end</span>
+0124 <span class="keyword">end</span>
+0125 
+0126 z = data(:,2)*1e3;
+0127 <span class="keyword">switch</span> handles.maptype
+0128     <span class="keyword">case</span> <span class="string">'fmap'</span>
+0129         x = data(:,1)*1e3; <span class="comment">%% z in mm</span>
+0130     <span class="keyword">case</span> <span class="string">'fmapdp'</span>
+0131         x = data(:,1)*1e2; <span class="comment">%% energy in %</span>
+0132 <span class="keyword">end</span>
+0133 
+0134 fx=18+abs(data(:,3));
+0135 fz=10+abs(data(:,4));
+0136 
+0137 <span class="keyword">if</span> size(data,2) == 6;
+0138     <span class="comment">%%% Data for color printing</span>
+0139     nz = sum(x==x(1));
+0140     nx = size(x,1)/nz;
+0141     dfx=data(:,5);
+0142     dfz=data(:,6);
+0143     
+0144     xgrid = reshape(x,nz,nx);
+0145     zgrid = reshape(z,nz,nx);
+0146     fxgrid = reshape(fx,nz,nx);
+0147     fzgrid = reshape(fz,nz,nx);
+0148     dfxgrid = reshape(dfx,nz,nx);
+0149     dfzgrid = reshape(dfz,nz,nx);
+0150     diffusion = 1;
+0151     diffu = log10(sqrt(dfxgrid.*dfxgrid+dfzgrid.*dfzgrid));
+0152     <span class="comment">%% saturation</span>
+0153     ind = isinf(diffu); 
+0154     diffu(ind) = NaN;
+0155     diffumax = -2; diffumin = -10;
+0156     diffu(diffu&lt; diffumin) = diffumin; <span class="comment">% very stable</span>
+0157     diffu(diffu&gt; diffumax) = diffumax; <span class="comment">%chaotic</span>
+0158     <span class="comment">%%  pour affichage couleur</span>
+0159     handles.diffu = diffu;
+0160     handles.fxgrid=fxgrid;
+0161     handles.fzgrid=fzgrid;
+0162     handles.xgrid=xgrid;
+0163     handles.zgrid=zgrid;
+0164 <span class="keyword">end</span>
+0165 <span class="comment">%% pour affichage noir et blanc</span>
+0166 indx=(fx~=18.0);
+0167 handles.f1=fx(indx);
+0168 handles.f2=fz(indx);
+0169 handles.x1=x(indx);
+0170 handles.x2=z(indx);    
+0171 
+0172 guidata(hObject,handles);
+0173 <span class="comment">% select stable particles</span>
+0174 
+0175 
+0176 <span class="comment">% --- Executes on button press in pushbutton_replot.</span>
+0177 <a name="_sub4" href="#_subfunctions" class="code">function pushbutton_replot_Callback(hObject, eventdata, handles)</a>
+0178 <span class="comment">% hObject    handle to pushbutton_replot (see GCBO)</span>
+0179 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0180 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0181 <span class="comment">%Efface figure et redessine les donnees brutes</span>
+0182 children=get(handles.fmap,<span class="string">'Children'</span>);
+0183 <span class="comment">%children=findobj(handles.axes,'Children','Type','Line'))</span>
+0184 <span class="comment">%child=findobj(handles.axes,'Children','Tag','fmap'))</span>
+0185 <span class="comment">%children(children==child)=[];</span>
+0186 <span class="comment">%delete(children mais pas child)</span>
+0187 cla(handles.fmap);
+0188 cla(handles.da);
+0189 <a href="#_sub5" class="code" title="subfunction plotdata(handles)">plotdata</a>(handles);
+0190 getappdata(handles.figure1,<span class="string">'Tab'</span>);
+0191 
+0192 <a name="_sub5" href="#_subfunctions" class="code">function plotdata(handles)</a>
+0193 
+0194 <span class="keyword">switch</span> handles.color
+0195     <span class="keyword">case</span> <span class="string">'off'</span>
+0196         axes(handles.fmap); <span class="comment">%  hold on;</span>
+0197         get(handles.fmap,<span class="string">'Children'</span>)
+0198         <span class="comment">%         if ~isempty(get(handles.fmap,'Children'))</span>
+0199         <span class="comment">%             delete(findobj(get(handles.fmap,'Children'),'Tag','fspace'));</span>
+0200         <span class="comment">%         end</span>
+0201         plot(handles.f1,handles.f2,<span class="string">'kd'</span>,<span class="string">'MarkerSize'</span>,0.5,<span class="string">'MarkerFaceColor'</span>,<span class="string">'k'</span>,<span class="string">'Tag'</span>,<span class="string">'fspace'</span>);
+0202         grid on; hold on;
+0203         <span class="comment">%         xlabel('fx');  ylabel('fz');</span>
+0204         <span class="comment">%axis([18.15 18.27 10.265 10.32])</span>
+0205         axes(handles.da); hold off;        
+0206         <span class="comment">%%% Choix des axes</span>
+0207         <span class="keyword">switch</span> handles.maptype
+0208             <span class="keyword">case</span> <span class="string">'fmap'</span>
+0209                 strx = <span class="string">'x(mm)'</span>;
+0210                 stry = <span class="string">'z(mm)'</span>;
+0211             <span class="keyword">case</span> <span class="string">'fmapdp'</span>
+0212                 strx = <span class="string">'dp (%)'</span>;
+0213                 stry = <span class="string">'x (mm)'</span>;
+0214         <span class="keyword">end</span>
+0215         plot(handles.x1,handles.x2,<span class="string">'kd'</span>,<span class="string">'MarkerSize'</span>,2.0,<span class="string">'MarkerFaceColor'</span>,<span class="string">'k'</span>,<span class="string">'Tag'</span>,<span class="string">'cspace'</span>);
+0216         xlabel(strx); ylabel(stry);
+0217         grid on;  hold on;
+0218     <span class="keyword">case</span> <span class="string">'on'</span>
+0219         axes(handles.fmap);  <span class="comment">%hold on</span>
+0220         get(handles.fmap,<span class="string">'Children'</span>)
+0221         mesh(handles.fxgrid,handles.fzgrid, handles.diffu,<span class="string">'LineStyle'</span>,<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,5.0,<span class="string">'FaceColor'</span>,<span class="string">'none'</span>,<span class="string">'Tag'</span>,<span class="string">'fspace'</span>)
+0222         <span class="comment">%         if ~isempty(get(handles.fmap,'Children'))</span>
+0223         <span class="comment">%             delete(findobj(get(handles.fmap,'Children'),'Tag','fspace'));</span>
+0224         <span class="comment">%         end</span>
+0225         <span class="comment">%image(cat(3,handles.diffu,handles.diffu,handles.diffu)/-10,'Tag','fspace');</span>
+0226         view(2); grid on; hold on
+0227         xlabel(<span class="string">'fx'</span>); ylabel(<span class="string">'fz'</span>)
+0228         axes(handles.da);
+0229         mesh(handles.xgrid,handles.zgrid,handles.diffu,<span class="string">'LineStyle'</span>,<span class="string">'.'</span>,<span class="string">'MarkerSize'</span>,5.0,<span class="string">'FaceColor'</span>,<span class="string">'none'</span>,<span class="string">'Tag'</span>,<span class="string">'cspace'</span>);
+0230         <span class="comment">%image(reshape(handles.xgrid,1,prod(size(handles.xgrid))), ...</span>
+0231 <span class="comment">%             reshape(handles.zgrid,1 ,prod(size(handles.zgrid))), ...</span>
+0232 <span class="comment">%             cat(3,handles.diffu,handles.diffu,handles.diffu)/-10);</span>
+0233         view(2); grid on; hold on        
+0234 <span class="keyword">end</span>
+0235 
+0236 
+0237 <span class="comment">%datalabel on</span>
+0238 
+0239 <span class="comment">% hc=uicontextmenu;</span>
+0240 <span class="comment">% hm=uimenu('parent',hc);</span>
+0241 <span class="comment">% set(h,'UIContextMenu',hc);</span>
+0242 <span class="comment">% hha=findobj(get(handles.da,'Children'),'Type','axes');</span>
+0243 <span class="comment">% set(get(handles.da,'Parent'),'WindowButtonDownFcn', ...</span>
+0244 <span class="comment">%     'pt=get(gca,''CurrentPoint'' ); disp(pt); disp(hm); set(hm,''Label'',[num2str(pt(1,1)) '', '' num2str(pt(1,2))])' )</span>
+0245 
+0246 
+0247 <span class="comment">%%% Affiche le point de fonctionnement</span>
+0248 <a href="#_sub8" class="code" title="subfunction print_value(handles,x1,x2,f1,f2)">print_value</a>(handles,handles.x1(1),handles.x2(1),handles.f1(1),handles.f2(1));
+0249 
+0250 <span class="comment">% --- Executes on button press in bouton_resonid.</span>
+0251 <a name="_sub6" href="#_subfunctions" class="code">function bouton_resonid_Callback(hObject, eventdata, handles)</a>
+0252 <span class="comment">% hObject    handle to bouton_resonid (see GCBO)</span>
+0253 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0254 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0255 
+0256 <span class="comment">% Loop, picking up the points.</span>
+0257 disp(<span class="string">'Left mouse button picks points.'</span>)
+0258 disp(<span class="string">'Right mouse button picks last point.'</span>)
+0259 hold on
+0260 button = 1;
+0261 n=0;
+0262 <span class="keyword">while</span> button == 1
+0263     [xi,yi,button] = ginput(1);
+0264     <span class="comment">%    plot(xi,yi,'o','Color',handles.couleurs,2.0,'MarkerFaceColor',handles.couleurs)</span>
+0265     n = n+1;
+0266     <a href="#_sub7" class="code" title="subfunction identifier(xi,yi,handles)">identifier</a>(xi,yi,handles)    
+0267 <span class="keyword">end</span>
+0268 
+0269 <a name="_sub7" href="#_subfunctions" class="code">function identifier(xi,yi,handles)</a>
+0270 
+0271 <span class="comment">%%% cherche le point le plus proche au sens de la norme 2</span>
+0272 [dp1, i1]=min((handles.f1-xi).^2+(handles.f2-yi).^2);
+0273 [dp2, i2]=min((handles.x1-xi).^2+(handles.x2-yi).^2);
+0274 
+0275 <span class="comment">%selectionne la bonne figure sur laquelle on a clique</span>
+0276 <span class="keyword">if</span> (dp1 &lt; dp2)
+0277     i3 = i1;
+0278 <span class="keyword">else</span>
+0279     i3 =i2;
+0280 <span class="keyword">end</span>
+0281 
+0282 <span class="comment">%%% affiche le point selectionne</span>
+0283 axes(handles.da);
+0284 plot(handles.x1(i3),handles.x2(i3),<span class="string">'o'</span>,<span class="string">'Color'</span>,handles.couleurs);
+0285 axes(handles.fmap);
+0286 plot(handles.f1(i3),handles.f2(i3),<span class="string">'o'</span>,<span class="string">'Color'</span>,handles.couleurs);
+0287 
+0288 <a href="#_sub8" class="code" title="subfunction print_value(handles,x1,x2,f1,f2)">print_value</a>(handles,handles.x1(i3),handles.x2(i3),handles.f1(i3),handles.f2(i3));
+0289 
+0290 <a name="_sub8" href="#_subfunctions" class="code">function print_value(handles,x1,x2,f1,f2)</a>
+0291 <span class="comment">%%% Met a jour les valeurs selectionnees</span>
+0292 formatda=<span class="string">'% 6.4f'</span>;
+0293 formatfmap=<span class="string">'% 8.5f'</span>;
+0294 
+0295 <span class="keyword">switch</span> handles.maptype
+0296     <span class="keyword">case</span> <span class="string">'fmap'</span>
+0297         strx =<span class="string">'x  ='</span>;
+0298         stry =<span class="string">'z  ='</span>;
+0299     <span class="keyword">case</span> <span class="string">'fmapdp'</span>
+0300         strx =<span class="string">'dp ='</span>;
+0301         stry =<span class="string">'x  ='</span>;
+0302 <span class="keyword">end</span>
+0303 string=sprintf([strx,formatda],x1);
+0304 set(handles.text_x,<span class="string">'String'</span>,string);
+0305 string=sprintf([stry,formatda],x2);
+0306 set(handles.text_z,<span class="string">'String'</span>,string);
+0307 string=sprintf([<span class="string">'fx = '</span>,formatfmap],f1);
+0308 set(handles.text_fx,<span class="string">'String'</span>,string);
+0309 string=sprintf([<span class="string">'fz = '</span>,formatfmap],f2);
+0310 set(handles.text_fz,<span class="string">'String'</span>,string);
+0311 
+0312 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0313 <a name="_sub9" href="#_subfunctions" class="code">function edit_color_CreateFcn(hObject, eventdata, handles)</a>
+0314 <span class="comment">% hObject    handle to edit_color (see GCBO)</span>
+0315 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0316 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0317 
+0318 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0319 <span class="comment">%       See ISPC and COMPUTER.</span>
+0320 <span class="keyword">if</span> ispc
+0321     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0322 <span class="keyword">else</span>
+0323     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0324 <span class="keyword">end</span>
+0325 
+0326 <a name="_sub10" href="#_subfunctions" class="code">function edit_color_Callback(hObject, eventdata, handles)</a>
+0327 <span class="comment">% hObject    handle to edit_color (see GCBO)</span>
+0328 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0329 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0330 
+0331 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_color as text</span>
+0332 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_color as a double</span>
+0333 h = uisetcolor;
+0334 <span class="keyword">if</span> (size(h,2) ~=1) 
+0335     handles.couleurs = h;
+0336     guidata(hObject, handles);
+0337     set(handles.edit_color,<span class="string">'BackgroundColor'</span>,handles.couleurs);
+0338 <span class="keyword">end</span>
+0339 
+0340 
+0341 <span class="comment">% --- Executes on button press in increaseV.</span>
+0342 <a name="_sub11" href="#_subfunctions" class="code">function increaseV_Callback(hObject, eventdata, handles)</a>
+0343 <span class="comment">% hObject    handle to increaseV (see GCBO)</span>
+0344 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0345 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0346 prop =<span class="string">'Ylim'</span>;
+0347 <a href="#_sub15" class="code" title="subfunction zoomshift(handles,prop,fac)">zoomshift</a>(handles,prop,1);
+0348 
+0349 
+0350 <span class="comment">% --- Executes on button press in increaseH.</span>
+0351 <a name="_sub12" href="#_subfunctions" class="code">function increaseH_Callback(hObject, eventdata, handles)</a>
+0352 <span class="comment">% hObject    handle to increaseH (see GCBO)</span>
+0353 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0354 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0355 prop =<span class="string">'Xlim'</span>;
+0356 <a href="#_sub15" class="code" title="subfunction zoomshift(handles,prop,fac)">zoomshift</a>(handles,prop,1);
+0357 
+0358 <span class="comment">% --- Executes on button press in decreaseV.</span>
+0359 <a name="_sub13" href="#_subfunctions" class="code">function decreaseV_Callback(hObject, eventdata, handles)</a>
+0360 <span class="comment">% hObject    handle to decreaseV (see GCBO)</span>
+0361 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0362 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0363 prop =<span class="string">'Ylim'</span>;
+0364 <a href="#_sub15" class="code" title="subfunction zoomshift(handles,prop,fac)">zoomshift</a>(handles,prop,-1);
+0365 
+0366 
+0367 <span class="comment">% --- Executes on button press in decreaseH.</span>
+0368 <a name="_sub14" href="#_subfunctions" class="code">function decreaseH_Callback(hObject, eventdata, handles)</a>
+0369 <span class="comment">% hObject    handle to decreaseH (see GCBO)</span>
+0370 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0371 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0372 prop =<span class="string">'Xlim'</span>;
+0373 <a href="#_sub15" class="code" title="subfunction zoomshift(handles,prop,fac)">zoomshift</a>(handles,prop,-1);
+0374 
+0375 <a name="_sub15" href="#_subfunctions" class="code">function zoomshift(handles,prop,fac)</a>
+0376 <span class="comment">%% Fonction qui gere zoom et deplacement d'axe</span>
+0377 
+0378 scale = get(handles.fmap,prop);
+0379 
+0380 <span class="keyword">switch</span> handles.type
+0381     <span class="keyword">case</span> <span class="string">'shift'</span>
+0382         set(handles.fmap,prop,scale+fac*handles.shiftaxis);        
+0383     <span class="keyword">case</span> <span class="string">'zoom'</span>
+0384         w = scale(2)-scale(1);
+0385         mid=scale(1) + w/2;
+0386         <span class="keyword">if</span> fac ==-1
+0387             newscale = mid + [-1 1]*0.5*w*handles.zoomaxis;
+0388         <span class="keyword">else</span>
+0389             newscale = mid + [-1 1]*0.5*w/handles.zoomaxis;
+0390         <span class="keyword">end</span>
+0391         set(handles.fmap,prop,newscale);
+0392 <span class="keyword">end</span>
+0393 axes(handles.fmap);
+0394 setappdata(handles.figure1, <span class="string">'fen'</span>,axis);
+0395 
+0396 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0397 <a name="_sub16" href="#_subfunctions" class="code">function edit_zoom_CreateFcn(hObject, eventdata, handles)</a>
+0398 <span class="comment">% hObject    handle to edit_zoom (see GCBO)</span>
+0399 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0400 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0401 
+0402 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0403 <span class="comment">%       See ISPC and COMPUTER.</span>
+0404 <span class="keyword">if</span> ispc
+0405     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0406 <span class="keyword">else</span>
+0407     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0408 <span class="keyword">end</span>
+0409 
+0410 <a name="_sub17" href="#_subfunctions" class="code">function edit_zoom_Callback(hObject, eventdata, handles)</a>
+0411 <span class="comment">% hObject    handle to edit_zoom (see GCBO)</span>
+0412 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0413 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0414 
+0415 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_zoom as text</span>
+0416 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_zoom as a double</span>
+0417 handles.zoomaxis= str2double(get(hObject,<span class="string">'String'</span>));
+0418 guidata(hObject, handles);
+0419 
+0420 
+0421 <span class="comment">% --- Executes on button press in radiobutton1.</span>
+0422 <a name="_sub18" href="#_subfunctions" class="code">function radiobutton1_Callback(hObject, eventdata, handles)</a>
+0423 <span class="comment">% hObject    handle to radiobutton1 (see GCBO)</span>
+0424 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0425 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0426 
+0427 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton1</span>
+0428 <a href="#_sub20" class="code" title="subfunction mutual_exclude(off)">mutual_exclude</a>(handles.radiobutton2);
+0429 handles.type=<span class="string">'zoom'</span>;
+0430 guidata(hObject, handles);
+0431 
+0432 <span class="comment">% --- Executes on button press in radiobutton2.</span>
+0433 <a name="_sub19" href="#_subfunctions" class="code">function radiobutton2_Callback(hObject, eventdata, handles)</a>
+0434 <span class="comment">% hObject    handle to radiobutton2 (see GCBO)</span>
+0435 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0436 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0437 
+0438 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton2</span>
+0439 <a href="#_sub20" class="code" title="subfunction mutual_exclude(off)">mutual_exclude</a>(handles.radiobutton1);
+0440 handles.type=<span class="string">'shift'</span>;
+0441 guidata(hObject, handles);
+0442 
+0443 <span class="comment">%%% fonction pour faire des radioboutons</span>
+0444 <a name="_sub20" href="#_subfunctions" class="code">function mutual_exclude(off)</a>
+0445 set(off,<span class="string">'Value'</span>,0);
+0446 
+0447 
+0448 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0449 <a name="_sub21" href="#_subfunctions" class="code">function edit_shift_CreateFcn(hObject, eventdata, handles)</a>
+0450 <span class="comment">% hObject    handle to edit_shift (see GCBO)</span>
+0451 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0452 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0453 
+0454 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0455 <span class="comment">%       See ISPC and COMPUTER.</span>
+0456 <span class="keyword">if</span> ispc
+0457     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0458 <span class="keyword">else</span>
+0459     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0460 <span class="keyword">end</span>
+0461 
+0462 <a name="_sub22" href="#_subfunctions" class="code">function edit_shift_Callback(hObject, eventdata, handles)</a>
+0463 <span class="comment">% hObject    handle to edit_shift (see GCBO)</span>
+0464 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0465 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0466 
+0467 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_shift as text</span>
+0468 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_shift as a double</span>
+0469 handles.shiftaxis= str2double(get(hObject,<span class="string">'String'</span>));
+0470 guidata(hObject, handles);
+0471 
+0472 
+0473 <span class="comment">% --- Executes on button press in resetfmap.</span>
+0474 <a name="_sub23" href="#_subfunctions" class="code">function resetfmap_Callback(hObject, eventdata, handles)</a>
+0475 <span class="comment">% hObject    handle to pushbutton_replot (see GCBO)</span>
+0476 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0477 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0478 set(handles.fmap,<span class="string">'XLimMode'</span>,<span class="string">'auto'</span>,<span class="string">'YLimMode'</span>,<span class="string">'auto'</span>);
+0479 pause(0.1);
+0480 set(handles.fmap,<span class="string">'XLimMode'</span>,<span class="string">'manual'</span>,<span class="string">'YLimMode'</span>,<span class="string">'manual'</span>);
+0481 
+0482 
+0483 <span class="comment">% --------------------------------------------------------------------</span>
+0484 <a name="_sub24" href="#_subfunctions" class="code">function souris_Callback(hObject, eventdata, handles)</a>
+0485 <span class="comment">% hObject    handle to souris (see GCBO)</span>
+0486 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0487 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0488 pt=get(gca,<span class="string">'CurrentPoint'</span>);
+0489 tab = getappdata(handles.figure1,<span class="string">'Tab'</span>);
+0490 handles.str = <a href="plusprochereson.html" class="code" title="function str = plusprochereson(pt,tab)">plusprochereson</a>([pt(1,1), pt(1,2)],tab);
+0491 set(handles.resonance,<span class="string">'Label'</span>, handles.str);
+0492 guidata(hObject,handles); <span class="comment">%% mise a jour donnees</span>
+0493 
+0494 <span class="comment">% --------------------------------------------------------------------</span>
+0495 <a name="_sub25" href="#_subfunctions" class="code">function Untitled_3_Callback(hObject, eventdata, handles)</a>
+0496 <span class="comment">% hObject    handle to Untitled_3 (see GCBO)</span>
+0497 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0498 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0499 
+0500 
+0501 <span class="comment">% --- Executes on button press in pushbutton_reson.</span>
+0502 <a name="_sub26" href="#_subfunctions" class="code">function pushbutton_reson_Callback(hObject, eventdata, handles)</a>
+0503 <span class="comment">% hObject    handle to pushbutton_reson (see GCBO)</span>
+0504 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0505 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0506 setappdata(handles.figure1, <span class="string">'where2plot'</span>,handles.fmap);
+0507 axes(handles.fmap);
+0508 setappdata(handles.figure1, <span class="string">'fen'</span>,axis);
+0509 <span class="comment">% if ~isfield(handles,'showreson')</span>
+0510 handles.showreson=<a href="showresongui.html" class="code" title="function varargout = showresongui(varargin)">showresongui</a>(handles);
+0511 guidata(hObject,handles);
+0512 <span class="comment">% end</span>
+0513 <span class="comment">% showresongui('where2plot',handles.fmap,'fen',axis);</span>
+0514 
+0515 
+0516 <span class="comment">% --------------------------------------------------------------------</span>
+0517 <a name="_sub27" href="#_subfunctions" class="code">function resonance_Callback(hObject, eventdata, handles)</a>
+0518 <span class="comment">% hObject    handle to resonance (see GCBO)</span>
+0519 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0520 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0521 disp(handles.str)
+0522 
+0523 
+0524 <span class="comment">% --------------------------------------------------------------------</span>
+0525 <a name="_sub28" href="#_subfunctions" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a>
+0526 <span class="comment">% hObject    handle to Untitled_1 (see GCBO)</span>
+0527 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0528 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0529 
+0530 
+0531 <span class="comment">% --------------------------------------------------------------------</span>
+0532 <a name="_sub29" href="#_subfunctions" class="code">function LoadDataFile_Callback(hObject, eventdata, handles)</a>
+0533 <span class="comment">% hObject    handle to LoadDataFile (see GCBO)</span>
+0534 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0535 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0536 
+0537 handles = <a href="#_sub30" class="code" title="subfunction handles = getdata(handles);">getdata</a>(handles);
+0538 guidata(hObject,handles);
+0539 <a href="#_sub3" class="code" title="subfunction loaddata(hObject,handles)">loaddata</a>(hObject, handles);
+0540 handles=guidata(hObject); <span class="comment">% mis a jour des modification dans loaddata</span>
+0541 
+0542 
+0543 <span class="comment">% --------------------------------------------------------------------</span>
+0544 <a name="_sub30" href="#_subfunctions" class="code">function handles = getdata(handles);</a>
+0545 <span class="comment">% fonction pour ouvrir un fichier de donnees</span>
+0546 <span class="comment">% utilise l'interface graphique</span>
+0547 <span class="comment">% ne rend la main que si un fichier a ete correctement choisi!</span>
+0548 
+0549 [filename, pathname] = uigetfile(<span class="string">'*.out'</span>, <span class="string">'Pick an data file'</span>);
+0550 
+0551 <span class="keyword">if</span> isequal(filename,0) | isequal(pathname,0)
+0552     disp(<span class="string">'User pressed cancel'</span>)
+0553 <span class="keyword">else</span>
+0554     disp([<span class="string">'User selected '</span>, fullfile(pathname, filename)])
+0555     handles.dataname = filename;
+0556     handles.pathname = pathname;
+0557 <span class="keyword">end</span>
+0558 
+0559 <span class="comment">% --------------------------------------------------------------------</span>
+0560 <a name="_sub31" href="#_subfunctions" class="code">function LoadDataInduced_Callback(hObject, eventdata, handles)</a>
+0561 <span class="comment">% hObject    handle to LoadDataInduced (see GCBO)</span>
+0562 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0563 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0564 
+0565 
+0566 <span class="comment">% --- Executes on button press in toggle_IA.</span>
+0567 <a name="_sub32" href="#_subfunctions" class="code">function toggle_IA_Callback(hObject, eventdata, handles)</a>
+0568 <span class="comment">% hObject    handle to toggle_IA (see GCBO)</span>
+0569 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0570 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0571 
+0572 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of toggle_IA</span>
+0573 val = get(hObject,<span class="string">'Value'</span>)
+0574 <span class="keyword">switch</span> val
+0575     <span class="keyword">case</span> 1
+0576         fname = handles.data_inducedamplitude;
+0577         <span class="keyword">if</span> exist(fname)
+0578             axes(handles.da);
+0579             A = load(fname);
+0580             plot(A(:,1)*10,sqrt(A(:,5)*10.2)*1e3,<span class="string">'r-'</span>,<span class="string">'Tag'</span>,<span class="string">'IA'</span>);
+0581         <span class="keyword">else</span>
+0582             warning(<span class="string">'Filname %s not found\n'</span>,fname);
+0583             set(handles.toggle_IA,<span class="string">'Value'</span>,0);
+0584         <span class="keyword">end</span>
+0585     <span class="keyword">otherwise</span>
+0586         delete(findobj(get(handles.da,<span class="string">'Children'</span>),<span class="string">'Tag'</span>,<span class="string">'IA'</span>))        
+0587 <span class="keyword">end</span>
+0588 
+0589 <span class="comment">% --- Executes on button press in toogle_color.</span>
+0590 <a name="_sub33" href="#_subfunctions" class="code">function toogle_color_Callback(hObject, eventdata, handles)</a>
+0591 <span class="comment">% hObject    handle to toogle_color (see GCBO)</span>
+0592 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0593 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0594 
+0595 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of toogle_color</span>
+0596 val = get(hObject,<span class="string">'Value'</span>);
+0597 <span class="keyword">switch</span> val
+0598     <span class="keyword">case</span> 0
+0599         handles.color = <span class="string">'off'</span>;
+0600     <span class="keyword">case</span> 1
+0601         <span class="keyword">if</span> isfield(handles,<span class="string">'diffu'</span>)
+0602             handles.color = <span class="string">'on'</span>;
+0603         <span class="keyword">else</span>
+0604             set(hObject,<span class="string">'Value'</span>,0);
+0605         <span class="keyword">end</span>        
+0606 <span class="keyword">end</span>
+0607 guidata(hObject,handles);
+0608 
+0609 
+0610 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0611 <a name="_sub34" href="#_subfunctions" class="code">function popupmenu_typemap_CreateFcn(hObject, eventdata, handles)</a>
+0612 <span class="comment">% hObject    handle to popupmenu_typemap (see GCBO)</span>
+0613 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0614 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0615 
+0616 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0617 <span class="comment">%       See ISPC and COMPUTER.</span>
+0618 <span class="keyword">if</span> ispc
+0619     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0620 <span class="keyword">else</span>
+0621     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0622 <span class="keyword">end</span>
+0623 
+0624 
+0625 <span class="comment">% --- Executes on selection change in popupmenu_typemap.</span>
+0626 <a name="_sub35" href="#_subfunctions" class="code">function popupmenu_typemap_Callback(hObject, eventdata, handles)</a>
+0627 <span class="comment">% hObject    handle to popupmenu_typemap (see GCBO)</span>
+0628 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0629 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0630 
+0631 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_typemap contents as cell array</span>
+0632 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_typemap</span>
+0633 
+0634 contents = get(hObject,<span class="string">'String'</span>);
+0635 val = contents{get(hObject,<span class="string">'Value'</span>)};
+0636 <span class="keyword">switch</span> val
+0637     <span class="keyword">case</span> <span class="string">'fmap'</span>
+0638         handles.maptype = <span class="string">'fmap'</span>;
+0639         xlabel(<span class="string">'x (mm)'</span>); ylabel(<span class="string">'z (mm)'</span>);
+0640     <span class="keyword">case</span> <span class="string">'fmapdp'</span>
+0641         handles.maptype = <span class="string">'fmapdp'</span>;
+0642         xlabel(<span class="string">'dp (%)'</span>); ylabel(<span class="string">'x (mm)'</span>);
+0643 <span class="keyword">end</span>
+0644 guidata(hObject,handles);
+0645 
+0646 
+0647 <span class="comment">% --------------------------------------------------------------------</span>
+0648 <a name="_sub36" href="#_subfunctions" class="code">function menu_popup_Callback(hObject, eventdata, handles)</a>
+0649 <span class="comment">% hObject    handle to menu_popup (see GCBO)</span>
+0650 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0651 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0652 
+0653 
+0654 <span class="comment">% --------------------------------------------------------------------</span>
+0655 <a name="_sub37" href="#_subfunctions" class="code">function menu_popup1_Callback(hObject, eventdata, handles)</a>
+0656 <span class="comment">% hObject    handle to menu_popup1 (see GCBO)</span>
+0657 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0658 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0659 a = figure;
+0660 b = copyobj(handles.fmap, a); 
+0661 <span class="comment">% set(b, 'Position', [0.1300    0.5811    0.7750    0.3439]);</span>
+0662 set(b, <span class="string">'Position'</span>, get(0,<span class="string">'FactoryAxesPosition'</span>));
+0663 <span class="comment">% set(b, 'ButtonDownFcn','');</span>
+0664 
+0665 <span class="comment">% --------------------------------------------------------------------</span>
+0666 <a name="_sub38" href="#_subfunctions" class="code">function menu_popup2_Callback(hObject, eventdata, handles)</a>
+0667 <span class="comment">% hObject    handle to menu_popup2 (see GCBO)</span>
+0668 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0669 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0670 a = figure;
+0671 b = copyobj(handles.da, a); 
+0672 <span class="comment">% set(b, 'Position', [0.1300    0.5811    0.7750    0.3439]);</span>
+0673 set(b, <span class="string">'Position'</span>, get(0,<span class="string">'FactoryAxesPosition'</span>));
+0674 set(b, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+0675 
+0676 <span class="comment">% --------------------------------------------------------------------</span>
+0677 <a name="_sub39" href="#_subfunctions" class="code">function menu_popup12_Callback(hObject, eventdata, handles)</a>
+0678 <span class="comment">% hObject    handle to menu_popup12 (see GCBO)</span>
+0679 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0680 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0681 
+0682 a = figure;
+0683 b = copyobj(handles.fmap, a); 
+0684 set(b, <span class="string">'Position'</span>, [0.1300    0.5811    0.7750    0.3439]);
+0685 set(b, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+0686 <span class="comment">% if strcmpi(get(handles.('AddPlot1_Lattice'),'Checked'),'On')</span>
+0687 <span class="comment">%     b = copyobj(handles.('Graph3'), a);</span>
+0688 <span class="comment">%     set(b, 'Position', [0.1300    0.5811    0.7750    0.3439]);</span>
+0689 <span class="comment">% end</span>
+0690 
+0691 b = copyobj(handles.da, a); 
+0692 set(b, <span class="string">'Position'</span>, [0.1300    0.1100    0.7750    0.3439]);
+0693 set(b, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+0694 <span class="comment">% if strcmpi(get(handles.('AddPlot2_Lattice'),'Checked'),'On')</span>
+0695 <span class="comment">%     b = copyobj(handles.('Graph4'), a);</span>
+0696 <span class="comment">%     set(b, 'Position', [0.1300    0.1100    0.7750    0.3439]);</span>
+0697 <span class="comment">% end</span>
+0698 xlabel(<span class="string">'Position [meters]'</span>);
+0699 
+0700 Data = getappdata(gcbf, <span class="string">'RawY'</span>);
+0701 <span class="keyword">if</span> isfield(Data, <span class="string">'TimeStamp'</span>)
+0702     addlabel(1,0,datestr(Data.TimeStamp,21));
+0703 <span class="keyword">end</span>
+0704 orient tall
+0705</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/showresongui.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/showresongui.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/showresongui.html	(revision 17)
@@ -0,0 +1,578 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of showresongui</title>
+  <meta name="keywords" content="showresongui">
+  <meta name="description" content="SHOWRESONGUI M-file for showresongui.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="index.html">naffutils</a> &gt; showresongui.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../index.html"><img alt="<" border="0" src="../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils&nbsp;<img alt=">" border="0" src="../../../../../right.png"></a></td></tr></table>-->
+
+<h1>showresongui
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>SHOWRESONGUI M-file for showresongui.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = showresongui(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SHOWRESONGUI M-file for showresongui.fig
+ Gui for plotting resonances in a given window 
+ Can be a standalone application or called from another gui
+ 
+  If varargin is not void then it has to be a structure with a fieldname 
+  'figure1' containing a handles to a figure with three private variables
+  where2plot, handle to the axe
+  fen, window dimension [xmin xmax zmin zmax] 
+  Tab, tab where to store resonances
+  eg: getappdata(handles_figure) should return at least
+
+        fen: [18 20 10 12]
+        where2plot: 217.0009
+        Tab: []
+
+ Laurent S. Nadolski, Synchrotron SOLEIL, 02/04</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>	function plot_reson(a,b,c,fen)</li><li><a href="plusprochereson.html" class="code" title="function str = plusprochereson(pt,tab)">plusprochereson</a>	function str = plusprochereson(pt,tab)</li><li><a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>	function reson(ordre, period, fen)</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="resongui.html" class="code" title="function varargout = resongui(varargin)">resongui</a>	RESONGUI M-file for resongui.fig</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function showresongui_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = showresongui_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function cvalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function cvalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function avalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function avalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function bvalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function bvalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function periodicityvalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function periodicityvalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function ordervalue_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function ordervalue_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function pushbutton7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function plotandsettab(hObject,handles)</a></li><li><a href="#_sub15" class="code">function pushbutton_clear_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function checkbox1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function checkbox2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function checkbox3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function checkbox4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function checkbox5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function checkbox6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function checkbox7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function checkbox8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function checkbox9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function checkbox10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function checkbox11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function checkbox12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function checkbox13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function checkbox14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function checkbox15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function pushbutton_axis_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function souris_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = showresongui(varargin)</a>
+0002 <span class="comment">% SHOWRESONGUI M-file for showresongui.fig</span>
+0003 <span class="comment">% Gui for plotting resonances in a given window</span>
+0004 <span class="comment">% Can be a standalone application or called from another gui</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%  If varargin is not void then it has to be a structure with a fieldname</span>
+0007 <span class="comment">%  'figure1' containing a handles to a figure with three private variables</span>
+0008 <span class="comment">%  where2plot, handle to the axe</span>
+0009 <span class="comment">%  fen, window dimension [xmin xmax zmin zmax]</span>
+0010 <span class="comment">%  Tab, tab where to store resonances</span>
+0011 <span class="comment">%  eg: getappdata(handles_figure) should return at least</span>
+0012 <span class="comment">%</span>
+0013 <span class="comment">%        fen: [18 20 10 12]</span>
+0014 <span class="comment">%        where2plot: 217.0009</span>
+0015 <span class="comment">%        Tab: []</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">% Laurent S. Nadolski, Synchrotron SOLEIL, 02/04</span>
+0018 
+0019 <span class="comment">%</span>
+0020 <span class="comment">%      SHOWRESONGUI, by itself, creates a new SHOWRESONGUI or raises the existing</span>
+0021 <span class="comment">%      singleton*.</span>
+0022 <span class="comment">%</span>
+0023 <span class="comment">%      H = SHOWRESONGUI returns the handle to a new SHOWRESONGUI or the handle to</span>
+0024 <span class="comment">%      the existing singleton*.</span>
+0025 <span class="comment">%</span>
+0026 <span class="comment">%      SHOWRESONGUI('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0027 <span class="comment">%      function named CALLBACK in SHOWRESONGUI.M with the given input arguments.</span>
+0028 <span class="comment">%</span>
+0029 <span class="comment">%      SHOWRESONGUI('Property','Value',...) creates a new SHOWRESONGUI or raises the</span>
+0030 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0031 <span class="comment">%      applied to the GUI before showresongui_OpeningFunction gets called.  An</span>
+0032 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0033 <span class="comment">%      stop.  All inputs are passed to showresongui_OpeningFcn via varargin.</span>
+0034 <span class="comment">%</span>
+0035 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0036 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0037 <span class="comment">%</span>
+0038 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0039 
+0040 <span class="comment">% Edit the above text to modify the response to help showresongui</span>
+0041 
+0042 <span class="comment">% Last Modified by GUIDE v2.5 06-Mar-2004 19:43:28</span>
+0043 
+0044 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0045 gui_Singleton = 1;
+0046 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0047                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0048                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction showresongui_OpeningFcn(hObject, eventdata, handles, varargin)">showresongui_OpeningFcn</a>, <span class="keyword">...</span>
+0049                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = showresongui_OutputFcn(hObject, eventdata, handles)">showresongui_OutputFcn</a>, <span class="keyword">...</span>
+0050                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0051                    <span class="string">'gui_Callback'</span>,   []);
+0052 <span class="keyword">if</span> nargin &amp; isstr(varargin{1})
+0053     gui_State.gui_Callback = str2func(varargin{1});
+0054 <span class="keyword">end</span>
+0055 
+0056 <span class="keyword">if</span> nargout
+0057     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0058 <span class="keyword">else</span>
+0059     gui_mainfcn(gui_State, varargin{:});
+0060 <span class="keyword">end</span>
+0061 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0062 
+0063 
+0064 <span class="comment">% --- Executes just before showresongui is made visible.</span>
+0065 <a name="_sub1" href="#_subfunctions" class="code">function showresongui_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0066 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0067 <span class="comment">% hObject    handle to figure</span>
+0068 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0069 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0070 <span class="comment">% varargin   command line arguments to showresongui (see VARARGIN)</span>
+0071 
+0072 <span class="comment">% Choose default command line output for showresongui</span>
+0073 
+0074 <span class="keyword">if</span> iscell(varargin) &amp;&amp; ~isempty(varargin)    
+0075     <span class="comment">%%%% Laurent</span>
+0076     <span class="comment">% store handle from caller</span>
+0077     handles.caller = varargin{1}.figure1;
+0078     
+0079     <span class="comment">% Update handles structure</span>
+0080     guidata(hObject, handles);
+0081 
+0082     <span class="comment">%%%%% Laurent</span>
+0083     <span class="comment">% Get A and B values from Application-Defined data</span>
+0084     handles.where2plot = getappdata(handles.caller, <span class="string">'where2plot'</span>);
+0085     handles.fen = getappdata(handles.caller, <span class="string">'fen'</span>);
+0086 <span class="keyword">else</span>
+0087     figure
+0088     handles.where2plot =axes;
+0089     handles.fen = [18 19 10 11];
+0090     handles.caller = hObject;
+0091     set(hObject,<span class="string">'Tag'</span>,<span class="string">'main'</span>);
+0092     setappdata(hObject,<span class="string">'Tab'</span>,[]);
+0093     <span class="comment">%% souris contextualmenu to identify resonances</span>
+0094 <span class="comment">%     cmenu = uicontextmenu;</span>
+0095 <span class="comment">%     set(handles.where2plot, 'UIContextMenu', cmenu);</span>
+0096 <span class="comment">%     uimenu(cmenu, 'Callback','souris_Callback(handles)');</span>
+0097 <span class="comment">%    handles.toto=uimenu(cmenu, 'Callback', ' showresongui(''souris_Callback'',gcbo,[],guidata(gcbo))');</span>
+0098 <span class="keyword">end</span>
+0099 
+0100 set(handles.caller,<span class="string">'DoubleBuffer'</span>,<span class="string">'on'</span>);
+0101 
+0102 handles.output = hObject;
+0103 handles.a = 3;
+0104 handles.b = 1;
+0105 handles.c = 65;
+0106 handles.periodicity = 4;
+0107 handles.order = 4;
+0108 handles.tab = [];
+0109 axes(handles.where2plot);
+0110 
+0111 set(handles.periodicityvalue,<span class="string">'String'</span>,num2str(handles.periodicity));
+0112 set(handles.ordervalue,<span class="string">'String'</span>,num2str(handles.order));
+0113 set(handles.avalue,<span class="string">'String'</span>,num2str(handles.a));
+0114 set(handles.bvalue,<span class="string">'String'</span>,num2str(handles.b));
+0115 set(handles.cvalue,<span class="string">'String'</span>,num2str(handles.c));
+0116 set(handles.eq1,<span class="string">'String'</span>,[num2str(handles.a) <span class="string">' nux + '</span> num2str(handles.b) <span class="keyword">...</span>
+0117         <span class="string">' nuz = '</span> num2str(handles.c)]); 
+0118 
+0119 <span class="comment">% reson(handles.order,handles.periodicity,handles.fen);</span>
+0120 hold on
+0121 <span class="comment">% reson(3,handles.periodicity,handles.fen);</span>
+0122 <span class="comment">% reson(5,handles.periodicity,handles.fen);</span>
+0123 <span class="comment">% reson(7,handles.periodicity,handles.fen);</span>
+0124 axis(handles.fen);
+0125 
+0126 <span class="comment">% Update handles structure</span>
+0127 guidata(hObject, handles);
+0128 
+0129 <span class="comment">% UIWAIT makes showresongui wait for user response (see UIRESUME)</span>
+0130 <span class="comment">% uiwait(handles.main);</span>
+0131 
+0132 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0133 <a name="_sub2" href="#_subfunctions" class="code">function varargout = showresongui_OutputFcn(hObject, eventdata, handles)</a>
+0134 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0135 <span class="comment">% hObject    handle to figure</span>
+0136 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0137 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0138 
+0139 <span class="comment">% Get default command line output from handles structure</span>
+0140 varargout{1} = handles.output;
+0141 
+0142 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0143 <a name="_sub3" href="#_subfunctions" class="code">function cvalue_CreateFcn(hObject, eventdata, handles)</a>
+0144 <span class="comment">% hObject    handle to cvalue (see GCBO)</span>
+0145 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0146 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0147 
+0148 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0149 <span class="comment">%       See ISPC and COMPUTER.</span>
+0150 <span class="keyword">if</span> ispc
+0151     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0152 <span class="keyword">else</span>
+0153     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0154 <span class="keyword">end</span>
+0155 
+0156 <a name="_sub4" href="#_subfunctions" class="code">function cvalue_Callback(hObject, eventdata, handles)</a>
+0157 <span class="comment">% hObject    handle to cvalue (see GCBO)</span>
+0158 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0159 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0160 
+0161 <span class="comment">% Hints: get(hObject,'String') returns contents of cvalue as text</span>
+0162 <span class="comment">%        str2double(get(hObject,'String')) returns contents of cvalue as a double</span>
+0163 
+0164 val = str2double(get(hObject,<span class="string">'String'</span>));
+0165 handles.c = val;
+0166 guidata(hObject, handles);
+0167 set(handles.eq1,<span class="string">'String'</span>,[num2str(handles.a) <span class="string">' nux + '</span> num2str(handles.b) <span class="keyword">...</span>
+0168         <span class="string">' nuz = '</span> num2str(handles.c)]); 
+0169 axes(handles.where2plot);
+0170 <a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>(handles.a,handles.b,handles.c,handles.fen)
+0171 
+0172 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0173 <a name="_sub5" href="#_subfunctions" class="code">function avalue_CreateFcn(hObject, eventdata, handles)</a>
+0174 <span class="comment">% hObject    handle to avalue (see GCBO)</span>
+0175 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0176 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0177 
+0178 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0179 <span class="comment">%       See ISPC and COMPUTER.</span>
+0180 <span class="keyword">if</span> ispc
+0181     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0182 <span class="keyword">else</span>
+0183     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0184 <span class="keyword">end</span>
+0185 
+0186 
+0187 
+0188 <a name="_sub6" href="#_subfunctions" class="code">function avalue_Callback(hObject, eventdata, handles)</a>
+0189 <span class="comment">% hObject    handle to avalue (see GCBO)</span>
+0190 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0191 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0192 
+0193 <span class="comment">% Hints: get(hObject,'String') returns contents of avalue as text</span>
+0194 <span class="comment">%        str2double(get(hObject,'String')) returns contents of avalue as a double</span>
+0195 val = str2double(get(hObject,<span class="string">'String'</span>));
+0196 handles.a = val;
+0197 guidata(hObject, handles);
+0198 set(handles.eq1,<span class="string">'String'</span>,[num2str(handles.a) <span class="string">' nux + '</span> num2str(handles.b) <span class="keyword">...</span>
+0199         <span class="string">' nuz = '</span> num2str(handles.c)]); 
+0200 axes(handles.where2plot);
+0201 <a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>(handles.a,handles.b,handles.c,handles.fen)
+0202 
+0203 
+0204 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0205 <a name="_sub7" href="#_subfunctions" class="code">function bvalue_CreateFcn(hObject, eventdata, handles)</a>
+0206 <span class="comment">% hObject    handle to bvalue (see GCBO)</span>
+0207 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0208 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0209 
+0210 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0211 <span class="comment">%       See ISPC and COMPUTER.</span>
+0212 <span class="keyword">if</span> ispc
+0213     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0214 <span class="keyword">else</span>
+0215     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0216 <span class="keyword">end</span>
+0217 
+0218 
+0219 
+0220 <a name="_sub8" href="#_subfunctions" class="code">function bvalue_Callback(hObject, eventdata, handles)</a>
+0221 <span class="comment">% hObject    handle to bvalue (see GCBO)</span>
+0222 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0223 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0224 
+0225 <span class="comment">% Hints: get(hObject,'String') returns contents of bvalue as text</span>
+0226 <span class="comment">%        str2double(get(hObject,'String')) returns contents of bvalue as a double</span>
+0227 val = str2double(get(hObject,<span class="string">'String'</span>));
+0228 handles.b = val;
+0229 guidata(hObject, handles);
+0230 set(handles.eq1,<span class="string">'String'</span>,[num2str(handles.a) <span class="string">' nux + '</span> num2str(handles.b) <span class="keyword">...</span>
+0231         <span class="string">' nuz = '</span> num2str(handles.c)]); 
+0232 axes(handles.where2plot);
+0233 <a href="plot_reson.html" class="code" title="function plot_reson(a,b,c,fen)">plot_reson</a>(handles.a,handles.b,handles.c,handles.fen)
+0234 
+0235 
+0236 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0237 <a name="_sub9" href="#_subfunctions" class="code">function periodicityvalue_CreateFcn(hObject, eventdata, handles)</a>
+0238 <span class="comment">% hObject    handle to periodicityvalue (see GCBO)</span>
+0239 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0240 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0241 
+0242 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0243 <span class="comment">%       See ISPC and COMPUTER.</span>
+0244 <span class="keyword">if</span> ispc
+0245     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0246 <span class="keyword">else</span>
+0247     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0248 <span class="keyword">end</span>
+0249 
+0250 <a name="_sub10" href="#_subfunctions" class="code">function periodicityvalue_Callback(hObject, eventdata, handles)</a>
+0251 <span class="comment">% hObject    handle to periodicityvalue (see GCBO)</span>
+0252 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0253 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0254 
+0255 <span class="comment">% Hints: get(hObject,'String') returns contents of periodicityvalue as text</span>
+0256 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periodicityvalue as a double</span>
+0257 val = str2double(get(hObject,<span class="string">'String'</span>));
+0258 <span class="keyword">if</span> isnan(val)
+0259     uiwait(errordlg(<span class="string">'Incorrect value'</span>));        
+0260 <span class="keyword">else</span>
+0261     handles.periodicity = val;
+0262     <span class="comment">% guidata(hObject, handles);</span>
+0263     <span class="comment">% axes(handles.where2plot);</span>
+0264     <span class="comment">% reson(handles.order,handles.periodicity,handles.fen);</span>
+0265     <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0266 <span class="keyword">end</span>
+0267 
+0268 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0269 <a name="_sub11" href="#_subfunctions" class="code">function ordervalue_CreateFcn(hObject, eventdata, handles)</a>
+0270 <span class="comment">% hObject    handle to ordervalue (see GCBO)</span>
+0271 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0272 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0273 
+0274 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0275 <span class="comment">%       See ISPC and COMPUTER.</span>
+0276 <span class="keyword">if</span> ispc
+0277     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0278 <span class="keyword">else</span>
+0279     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0280 <span class="keyword">end</span>
+0281 
+0282 <a name="_sub12" href="#_subfunctions" class="code">function ordervalue_Callback(hObject, eventdata, handles)</a>
+0283 <span class="comment">% hObject    handle to ordervalue (see GCBO)</span>
+0284 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0285 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0286 
+0287 <span class="comment">% Hints: get(hObject,'String') returns contents of ordervalue as text</span>
+0288 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ordervalue as a double</span>
+0289 
+0290 <span class="comment">% set resonance order</span>
+0291 val = str2double(get(hObject,<span class="string">'String'</span>));
+0292 <span class="keyword">if</span> isnan(val)
+0293     uiwait(errordlg(<span class="string">'Incorrect value'</span>));        
+0294 <span class="keyword">else</span>
+0295     <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0296 <span class="keyword">end</span>
+0297 
+0298 <span class="comment">% --- Executes on button press in pushbutton7.</span>
+0299 <a name="_sub13" href="#_subfunctions" class="code">function pushbutton7_Callback(hObject, eventdata, handles)</a>
+0300 <span class="comment">% hObject    handle to pushbutton7 (see GCBO)</span>
+0301 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0302 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0303 <span class="comment">%plotandsettab(hObject,handles)</span>
+0304 
+0305 <a name="_sub14" href="#_subfunctions" class="code">function plotandsettab(hObject,handles)</a>
+0306 
+0307 <span class="keyword">if</span> hObject ~= handles.periodicityvalue    
+0308     handles.order=str2double(get(hObject,<span class="string">'String'</span>));
+0309     set(handles.ordervalue,<span class="string">'String'</span>,num2str(handles.order));
+0310 <span class="keyword">end</span>
+0311 
+0312 axes(handles.where2plot);
+0313 [k tab] =<a href="reson.html" class="code" title="function [k, tab]=reson(ordre,period,fen)">reson</a>(handles.order,handles.periodicity,handles.fen);
+0314 
+0315 <span class="keyword">if</span> (k ~=0)
+0316     <span class="comment">% Force le premier coef a etre positif</span>
+0317     tab(tab(:,1) &lt;0,:)=-tab(tab(:,1) &lt;0,:);
+0318     <span class="comment">% Si a = 0, force le coef de nuz a etre positif</span>
+0319     r= tab(:,2) &lt;0 &amp; tab(:,1) ==0; 
+0320     tab(r,:)=-tab(r,:);
+0321     <span class="comment">%% remove redundancy</span>
+0322     handles.tab = unique(handles.tab,<span class="string">'rows'</span>);
+0323     
+0324     <span class="comment">%% cherche le pgcd et prend le pgcd des pgcd</span>
+0325     <span class="comment">%% dans ce cas on perd la periodicite N, mais c'est plus clair</span>
+0326     pgcd =gcd(gcd(tab(:,1),tab(:,2)),gcd(tab(:,2),tab(:,3)));
+0327     tab= tab./repmat(pgcd,1,3);
+0328     
+0329     <span class="comment">% Complete le tableau des resonances</span>
+0330     handles.tab = [handles.tab; tab];
+0331     <span class="comment">%% remove redundancy</span>
+0332     handles.tab = unique(handles.tab,<span class="string">'rows'</span>);
+0333 <span class="keyword">end</span>
+0334 axes(handles.where2plot);
+0335 
+0336 handles.tab
+0337 <span class="comment">% size(handles.tab)</span>
+0338 guidata(hObject, handles);
+0339 setappdata(handles.caller,<span class="string">'Tab'</span>,handles.tab);
+0340 <span class="comment">% setappdata(handles.toto,'Tab',handles.tab);</span>
+0341 
+0342 <span class="comment">% --- Executes on button press in pushbutton_clear.</span>
+0343 <a name="_sub15" href="#_subfunctions" class="code">function pushbutton_clear_Callback(hObject, eventdata, handles)</a>
+0344 <span class="comment">% hObject    handle to pushbutton_clear (see GCBO)</span>
+0345 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0346 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0347 axes(handles.where2plot);
+0348 <span class="comment">%% Deselectionne toutes les checkbox</span>
+0349 set(findobj(get(handles.main,<span class="string">'Children'</span>),<span class="string">'Style'</span>,<span class="string">'CheckBox'</span>),<span class="string">'Value'</span>,0);
+0350 cla
+0351 handles.tab = [];
+0352 guidata(hObject, handles);
+0353 
+0354 
+0355 <span class="comment">% --- Executes on button press in checkbox1.</span>
+0356 <a name="_sub16" href="#_subfunctions" class="code">function checkbox1_Callback(hObject, eventdata, handles)</a>
+0357 <span class="comment">% hObject    handle to checkbox1 (see GCBO)</span>
+0358 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0359 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0360 
+0361 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox1</span>
+0362 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0363 
+0364 
+0365 <span class="comment">% --- Executes on button press in checkbox2.</span>
+0366 <a name="_sub17" href="#_subfunctions" class="code">function checkbox2_Callback(hObject, eventdata, handles)</a>
+0367 <span class="comment">% hObject    handle to checkbox2 (see GCBO)</span>
+0368 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0369 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0370 
+0371 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox2</span>
+0372 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0373 
+0374 <span class="comment">% --- Executes on button press in checkbox3.</span>
+0375 <a name="_sub18" href="#_subfunctions" class="code">function checkbox3_Callback(hObject, eventdata, handles)</a>
+0376 <span class="comment">% hObject    handle to checkbox3 (see GCBO)</span>
+0377 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0378 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0379 
+0380 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox3</span>
+0381 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0382 
+0383 <span class="comment">% --- Executes on button press in checkbox4.</span>
+0384 <a name="_sub19" href="#_subfunctions" class="code">function checkbox4_Callback(hObject, eventdata, handles)</a>
+0385 <span class="comment">% hObject    handle to checkbox4 (see GCBO)</span>
+0386 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0387 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0388 
+0389 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox4</span>
+0390 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0391 
+0392 <span class="comment">% --- Executes on button press in checkbox5.</span>
+0393 <a name="_sub20" href="#_subfunctions" class="code">function checkbox5_Callback(hObject, eventdata, handles)</a>
+0394 <span class="comment">% hObject    handle to checkbox5 (see GCBO)</span>
+0395 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0396 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0397 
+0398 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox5</span>
+0399 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0400 
+0401 <span class="comment">% --- Executes on button press in checkbox6.</span>
+0402 <a name="_sub21" href="#_subfunctions" class="code">function checkbox6_Callback(hObject, eventdata, handles)</a>
+0403 <span class="comment">% hObject    handle to checkbox6 (see GCBO)</span>
+0404 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0405 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0406 
+0407 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox6</span>
+0408 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0409 
+0410 <span class="comment">% --- Executes on button press in checkbox7.</span>
+0411 <a name="_sub22" href="#_subfunctions" class="code">function checkbox7_Callback(hObject, eventdata, handles)</a>
+0412 <span class="comment">% hObject    handle to checkbox7 (see GCBO)</span>
+0413 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0414 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0415 
+0416 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox7</span>
+0417 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0418 
+0419 <span class="comment">% --- Executes on button press in checkbox8.</span>
+0420 <a name="_sub23" href="#_subfunctions" class="code">function checkbox8_Callback(hObject, eventdata, handles)</a>
+0421 <span class="comment">% hObject    handle to checkbox8 (see GCBO)</span>
+0422 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0423 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0424 
+0425 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox8</span>
+0426 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0427 
+0428 
+0429 <span class="comment">% --- Executes on button press in checkbox9.</span>
+0430 <a name="_sub24" href="#_subfunctions" class="code">function checkbox9_Callback(hObject, eventdata, handles)</a>
+0431 <span class="comment">% hObject    handle to checkbox9 (see GCBO)</span>
+0432 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0433 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0434 
+0435 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox9</span>
+0436 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0437 
+0438 
+0439 <span class="comment">% --- Executes on button press in checkbox10.</span>
+0440 <a name="_sub25" href="#_subfunctions" class="code">function checkbox10_Callback(hObject, eventdata, handles)</a>
+0441 <span class="comment">% hObject    handle to checkbox10 (see GCBO)</span>
+0442 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0443 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0444 
+0445 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox10</span>
+0446 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0447 
+0448 <span class="comment">% --- Executes on button press in checkbox11.</span>
+0449 <a name="_sub26" href="#_subfunctions" class="code">function checkbox11_Callback(hObject, eventdata, handles)</a>
+0450 <span class="comment">% hObject    handle to checkbox11 (see GCBO)</span>
+0451 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0452 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0453 
+0454 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox11</span>
+0455 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0456 
+0457 <span class="comment">% --- Executes on button press in checkbox12.</span>
+0458 <a name="_sub27" href="#_subfunctions" class="code">function checkbox12_Callback(hObject, eventdata, handles)</a>
+0459 <span class="comment">% hObject    handle to checkbox12 (see GCBO)</span>
+0460 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0461 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0462 
+0463 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox12</span>
+0464 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0465 
+0466 <span class="comment">% --- Executes on button press in checkbox13.</span>
+0467 <a name="_sub28" href="#_subfunctions" class="code">function checkbox13_Callback(hObject, eventdata, handles)</a>
+0468 <span class="comment">% hObject    handle to checkbox13 (see GCBO)</span>
+0469 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0470 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0471 
+0472 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox13</span>
+0473 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0474 
+0475 <span class="comment">% --- Executes on button press in checkbox14.</span>
+0476 <a name="_sub29" href="#_subfunctions" class="code">function checkbox14_Callback(hObject, eventdata, handles)</a>
+0477 <span class="comment">% hObject    handle to checkbox14 (see GCBO)</span>
+0478 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0479 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0480 
+0481 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox14</span>
+0482 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0483 
+0484 <span class="comment">% --- Executes on button press in checkbox15.</span>
+0485 <a name="_sub30" href="#_subfunctions" class="code">function checkbox15_Callback(hObject, eventdata, handles)</a>
+0486 <span class="comment">% hObject    handle to checkbox15 (see GCBO)</span>
+0487 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0488 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0489 
+0490 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox15</span>
+0491 <a href="#_sub14" class="code" title="subfunction plotandsettab(hObject,handles)">plotandsettab</a>(hObject,handles)
+0492 
+0493 
+0494 <span class="comment">% --- Executes on button press in pushbutton_axis.</span>
+0495 <a name="_sub31" href="#_subfunctions" class="code">function pushbutton_axis_Callback(hObject, eventdata, handles)</a>
+0496 <span class="comment">% hObject    handle to pushbutton_axis (see GCBO)</span>
+0497 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0498 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0499 axes(handles.where2plot);
+0500 uiwait(axlimdlg(<span class="string">'Axis limits'</span>));
+0501 handles.fen = [get(handles.where2plot,<span class="string">'Xlim'</span>) get(handles.where2plot,<span class="string">'Ylim'</span>)];
+0502 guidata(hObject,handles);
+0503 
+0504 <span class="comment">% --------------------------------------------------------------------</span>
+0505 <a name="_sub32" href="#_subfunctions" class="code">function souris_Callback(hObject, eventdata, handles)</a>
+0506 <span class="comment">% hObject    handle to souris (see GCBO)</span>
+0507 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0508 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0509 pt=get(gca,<span class="string">'CurrentPoint'</span>);
+0510 tab = getappdata(gcbo,<span class="string">'Tab'</span>);
+0511 pt=[pt(1,1), pt(1,2)];
+0512 str=<a href="plusprochereson.html" class="code" title="function str = plusprochereson(pt,tab)">plusprochereson</a>(pt,tab);
+0513 <span class="comment">%set(gcbo,'Label', str);</span>
+0514 text(pt(1),pt(2),str,<span class="string">'BackgroundColor'</span>,<span class="string">'y'</span>);
+0515</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/Calc_Tous.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/Calc_Tous.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/Calc_Tous.html	(revision 17)
@@ -0,0 +1,219 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of Calc_Tous</title>
+  <meta name="keywords" content="Calc_Tous">
+  <meta name="description" content="function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="../index.html">naffutils</a> &gt; <a href="index.html">touscheklifetime</a> &gt; Calc_Tous.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../../index.html"><img alt="<" border="0" src="../../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils/touscheklifetime&nbsp;<img alt=">" border="0" src="../../../../../../right.png"></a></td></tr></table>-->
+
+<h1>Calc_Tous
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+<div class="box"><strong>function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+<div class="box"><strong>function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)
+
+  Function calculant la duree de vie Touscheck a partir de l'acceptance
+  en energie calculee par Tracy
+
+  Methode d'integration : Simpson (choix de BETA)
+  NB : A modifier si variation rapide de la duree de vie.
+
+  Function externe utilisee : la fonction C(xi) standard
+
+  Entree :
+    file   : fichier de sortie de Tracy
+    linlat : fichier d'optique
+    sigmas : longueur d'un paquet
+
+  Sortie :
+    T(h)  : duree de vie Touschek
+    Tp(h) : duree de vie Touschek delta &gt;0
+    Tn(h) : duree de vie Touschek delta &lt;0
+
+  Ajouter le choix du courant I0
+
+  Exemple:
+[T, Tp, Tn]=Calc_Tous('soleil.out','linlat.out')
+
+ Written by Laurent S. Nadolski, SOLEIL 2003</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../../matlabicon.gif)">
+<li><a href="Calc_Tous.html" class="code" title="function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)">Calc_Tous</a>	function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)</li><li><a href="Cxi.html" class="code" title="function y = Cxi(t)">Cxi</a>	</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../../matlabicon.gif)">
+<li><a href="Calc_Tous.html" class="code" title="function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)">Calc_Tous</a>	function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">%function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)</span>
+0002 <span class="comment">%</span>
+0003 <span class="comment">%  Function calculant la duree de vie Touscheck a partir de l'acceptance</span>
+0004 <span class="comment">%  en energie calculee par Tracy</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%  Methode d'integration : Simpson (choix de BETA)</span>
+0007 <span class="comment">%  NB : A modifier si variation rapide de la duree de vie.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  Function externe utilisee : la fonction C(xi) standard</span>
+0010 <span class="comment">%</span>
+0011 <span class="comment">%  Entree :</span>
+0012 <span class="comment">%    file   : fichier de sortie de Tracy</span>
+0013 <span class="comment">%    linlat : fichier d'optique</span>
+0014 <span class="comment">%    sigmas : longueur d'un paquet</span>
+0015 <span class="comment">%</span>
+0016 <span class="comment">%  Sortie :</span>
+0017 <span class="comment">%    T(h)  : duree de vie Touschek</span>
+0018 <span class="comment">%    Tp(h) : duree de vie Touschek delta &gt;0</span>
+0019 <span class="comment">%    Tn(h) : duree de vie Touschek delta &lt;0</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  Ajouter le choix du courant I0</span>
+0022 <span class="comment">%</span>
+0023 <span class="comment">%  Exemple:</span>
+0024 <span class="comment">%[T, Tp, Tn]=Calc_Tous('soleil.out','linlat.out')</span>
+0025 <span class="comment">%</span>
+0026 <span class="comment">% Written by Laurent S. Nadolski, SOLEIL 2003</span>
+0027 
+0028 <a name="_sub0" href="#_subfunctions" class="code">function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)</a>
+0029 
+0030 <span class="keyword">if</span> nargin &lt;1
+0031     help <a href="Calc_Tous.html" class="code" title="function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)">Calc_Tous</a>
+0032     <span class="keyword">return</span>;
+0033 <span class="keyword">end</span>
+0034 
+0035 <span class="comment">% Lecture des fonction optiques</span>
+0036 <span class="comment">% name     s    alphax  betax   nux   etax   etapx  alphay  betay   nuy   etay   etapy</span>
+0037 <span class="comment">%         [m]            [m]           [m]                   [m]           [m]</span>
+0038 <span class="keyword">try</span>
+0039     [dummy s ax bx mux etax etaxp az bz muz etaz etazp] = <span class="keyword">...</span>
+0040         textread(linlat,<span class="string">'%s %f %f %f %f %f %f %f %f %f %f %f'</span>,<span class="string">'headerlines'</span>,4);
+0041 <span class="keyword">catch</span>
+0042     errmsg = lasterr;
+0043     <span class="keyword">if</span> strfind(errmsg, <span class="string">'File not found.'</span>);
+0044         error(<span class="string">'Input file %s not found \n Abort \n'</span>,linlat);
+0045     <span class="keyword">else</span>
+0046         error(<span class="string">'Unknown error %s \n'</span>, errmsg)
+0047     <span class="keyword">end</span>
+0048 <span class="keyword">end</span>
+0049 
+0050 ex = 3.7E-9;   <span class="comment">%Emittance H</span>
+0051 ez = ex*0.01;  <span class="comment">%Emittance V</span>
+0052 se = 1.016E-3; <span class="comment">%Dispersion en energie</span>
+0053 gx = (1+ax.^2)./bx; <span class="comment">%Gammax</span>
+0054 
+0055 sx = sqrt(bx*ex+(se*etax).^2);  <span class="comment">%Taille  H</span>
+0056 sxp= sqrt(gx*ex+(se*etaxp).^2); <span class="comment">%Divergence H</span>
+0057 sz = sqrt(bz*ez+(se*etaz).^2);  <span class="comment">%Taille V</span>
+0058 
+0059 [dummy sd acen lost nom] = textread(file,<span class="string">'%d %f %f %f %s'</span>,<span class="string">'headerlines'</span>,3);
+0060 Nb_pts=length(sd)/2;
+0061 s=sd(1:Nb_pts);
+0062 acen_p=acen(1:Nb_pts); acen_n=acen(Nb_pts+1:end);
+0063 
+0064 
+0065 <span class="keyword">if</span> nargin &lt;3
+0066     ss = 3.6E-3;  <span class="comment">%sigma_s</span>
+0067     fprintf(<span class="string">'Par defaut la longueur du paquet vaut : sigma_s= %f m\n'</span>,ss)
+0068 <span class="keyword">else</span>
+0069     ss =sigmas;
+0070 <span class="keyword">end</span>
+0071 
+0072 V     = 8*pi*sqrt(pi).*sx.*sz.*ss; <span class="comment">%Volume du paquet</span>
+0073 E     = 2.75;        <span class="comment">% Energy</span>
+0074 Gamma = 5382.57324;    <span class="comment">% Facteur de Lorentz</span>
+0075 c     = 2.99792458E8;    <span class="comment">% Vitesse de la lumiere</span>
+0076 re    = 2.81794092E-15;  <span class="comment">% Rayon classique de l'electron</span>
+0077 I0    = 1.2E-3;      <span class="comment">% Courant par paquet</span>
+0078 Qe    = 1.6022E-19;  <span class="comment">% Charge de l'electron</span>
+0079 L     = 354.097;     <span class="comment">% Circonference de l'anneau</span>
+0080 N     = I0/c*L/Qe;   <span class="comment">% Nombre d'electrons par paquet</span>
+0081 
+0082 <span class="comment">% Duree de vie Touschek inverse</span>
+0083 
+0084 <span class="comment">%Duree de vie locale positive et negative en heures</span>
+0085 <span class="comment">%xi_p=(acen_p./Gamma./sxp)^2;</span>
+0086 <span class="comment">%xi_n=(acen_n./Gamma./sxp)^2;</span>
+0087 FF = sqrt(pi)*re*re*c*N*3600;
+0088 Tinvp = zeros(1,Nb_pts);
+0089 Tinvn = zeros(1,Nb_pts);
+0090 
+0091 <span class="keyword">for</span> i=1:Nb_pts, <span class="comment">% loop because of Cxi function</span>
+0092     Tinvp(i) = (FF*<a href="Cxi.html" class="code" title="function y = Cxi(t)">Cxi</a>((acen_p(i)/Gamma/sxp(i))^2)/sxp(i) <span class="keyword">...</span>
+0093         /Gamma^3/acen_p(i)^2/V(i));
+0094     Tinvn(i) = (FF*<a href="Cxi.html" class="code" title="function y = Cxi(t)">Cxi</a>((acen_n(i)/Gamma/sxp(i))^2)/sxp(i) <span class="keyword">...</span>
+0095         /Gamma^3/acen_n(i)^2/V(i));
+0096 <span class="keyword">end</span>
+0097 
+0098 <span class="comment">% Duree de vie moyenne locale</span>
+0099 Tinv = (Tinvp+Tinvn)/2;
+0100 
+0101 Tp=1./Tinvp;
+0102 Tn=1./Tinvn;
+0103 T =1./Tinv;
+0104 
+0105 <span class="comment">% Integration : methode de Simpson</span>
+0106 s1=[0 ; s]; s2=[s ; 0]; ds=s2-s1;
+0107 Tousp=1/sum(1./Tp.*ds(1:end-1)')*s(end);
+0108 Tousn=1/sum(1./Tn.*ds(1:end-1)')*s(end);
+0109 
+0110 Tous=2/(1/Tousp+1/Tousn);
+0111 
+0112 <span class="comment">% lecture du fichier de structure</span>
+0113 <span class="comment">%struc=dlmread('structure');</span>
+0114 
+0115 figure(80)
+0116 subplot(2,1,1)
+0117 plot(s,Tp,<span class="string">'.-'</span>);
+0118 grid on
+0119 xlabel(<span class="string">'s (m)'</span>)
+0120 ylabel(<span class="string">'Tp (h)'</span>)
+0121 
+0122 subplot(2,1,2)
+0123 plot(s,Tn,<span class="string">'.-'</span>);
+0124 grid on
+0125 xlabel(<span class="string">'s (m)'</span>)
+0126 ylabel(<span class="string">'Tn (h)'</span>)
+0127 
+0128 
+0129 <span class="comment">% lecture du fichier de structure</span>
+0130 
+0131 files=<span class="string">'/home/nadolski/matlab/soleil/structure'</span>;
+0132 struc=dlmread(files);
+0133 
+0134 <span class="comment">% symetrie artificielle</span>
+0135 acen=acen*100;
+0136 
+0137 figure(81)
+0138 clf
+0139 plot([sd(1:Nb_pts); 2*sd(Nb_pts)-sd(Nb_pts:-1:1)],[acen(1:Nb_pts) ; acen(Nb_pts:-1:1)],<span class="string">'b.-'</span>);
+0140 hold on
+0141 plot([sd(Nb_pts+1:end); 2*sd(end)-sd(end:-1:1+Nb_pts)],[acen(Nb_pts+1:end) ; acen(end:-1:Nb_pts+1)],<span class="string">'b.-'</span>);
+0142 plot(struc(:,1),struc(:,2)/2,<span class="string">'k-'</span>)
+0143 axis([0 88.5 -7 7])
+0144 grid on
+0145 title(<span class="string">'solamor2'</span>)
+0146 xlabel(<span class="string">'s (m)'</span>)
+0147 ylabel(<span class="string">'Acceptance en energie \epsilon (%)'</span>)
+0148</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/Cxi.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/Cxi.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/Cxi.html	(revision 17)
@@ -0,0 +1,50 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of Cxi</title>
+  <meta name="keywords" content="Cxi">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../../../index.html">common</a> &gt; <a href="#">naff</a> &gt; <a href="../index.html">naffutils</a> &gt; <a href="index.html">touscheklifetime</a> &gt; Cxi.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../../../index.html"><img alt="<" border="0" src="../../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils/touscheklifetime&nbsp;<img alt=">" border="0" src="../../../../../../right.png"></a></td></tr></table>-->
+
+<h1>Cxi
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+<div class="box"><strong>function y = Cxi(t) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../../../matlabicon.gif)">
+<li><a href="Calc_Tous.html" class="code" title="function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)">Calc_Tous</a>	function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas)</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function y = Cxi(t)</a>
+0002  y = -3/2*exp(-t)+ <span class="keyword">...</span>
+0003     t/2.*quad(<span class="string">'log(u)./u.*exp(-u)'</span>,t,10) + <span class="keyword">...</span>
+0004     0.5*(3*t-t.*log(t)+2).*quad(<span class="string">'exp(-u)./u'</span>,t,10);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/naff/naffutils/touscheklifetime/index.html	(revision 17)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/naff/naffutils/touscheklifetime</title>
+  <meta name="keywords" content="machine/Soleil/common/naff/naffutils/touscheklifetime">
+  <meta name="description" content="Index for Directory machine/Soleil/common/naff/naffutils/touscheklifetime">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../../../index.html"><img alt="<" border="0" src="../../../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/naff/naffutils/touscheklifetime&nbsp;<img alt=">" border="0" src="../../../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/naff/naffutils/touscheklifetime</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="Calc_Tous.html">Calc_Tous</a></td><td>function [Tous,Tousp,Tousn]=Calc_Tous(file,linlat,sigmas) </td></tr><tr><td><img src="../../../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="Cxi.html">Cxi</a></td><td> </td></tr></table>
+
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/optics_LT1_LT2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/optics_LT1_LT2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/optics_LT1_LT2.html	(revision 17)
@@ -0,0 +1,1427 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of optics_LT1_LT2</title>
+  <meta name="keywords" content="optics_LT1_LT2">
+  <meta name="description" content="OPTICS_LT1_LT2 - M-file for optics_LT1_LT2.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; optics_LT1_LT2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>optics_LT1_LT2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>OPTICS_LT1_LT2 - M-file for optics_LT1_LT2.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = optics_LT1_LT2(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">OPTICS_LT1_LT2 - M-file for optics_LT1_LT2.fig
+      OPTICS_LT1_LT2, by itself, creates a new OPTICS_LT1_LT2 or raises the existing
+      singleton*.
+
+      H = OPTICS_LT1_LT2 returns the handle to a new OPTICS_LT1_LT2 or the handle to
+      the existing singleton*.
+
+      OPTICS_LT1_LT2('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in OPTICS_LT1_LT2.M with the given input arguments.
+
+      OPTICS_LT1_LT2('Property','Value',...) creates a new OPTICS_LT1_LT2 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before optics_LT1_LT2_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to optics_LT1_LT2_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>	GETMAXSP - Maximum value of the setpoint</li><li><a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>	GETMINSP - Gets minimum value of the setpoint</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function optics_LT1_LT2_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function handles = computeTwiss(handles)</a></li><li><a href="#_sub3" class="code">function varargout = optics_LT1_LT2_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function sliderQP1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function sliderQP1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function editQP1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function editQP1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function sliderQP2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function sliderQP2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function editQP2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function editQP2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function sliderQP3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function sliderQP3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function editQP3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function editQP3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function editQP4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function editQP4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function sliderQP4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function sliderQP4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function editQP5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function editQP5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function sliderQP5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function sliderQP5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function sliderQP6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sliderQP6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function editQP6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function editQP6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function editQP7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function editQP7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function sliderQP7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function sliderQP7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function plot_axes(handles,quoi)</a></li><li><a href="#_sub33" class="code">function handles = setslider(hObject, handles)</a></li><li><a href="#_sub34" class="code">function handles = setATmagnet(handles,magnet,val)</a></li><li><a href="#_sub35" class="code">function handles = setedit(handles)</a></li><li><a href="#_sub36" class="code">function mutual_exclude(off)</a></li><li><a href="#_sub37" class="code">function popupmenu_y_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function popupmenu_y_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function popupmenu_x_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function popupmenu_x_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function popupmenu_plane_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function popupmenu_plane_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function pushbutton_reload_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function handles = restart(handles)</a></li><li><a href="#_sub45" class="code">function popupmenu_bar1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function popupmenu_bar1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function setbar(handles)</a></li><li><a href="#_sub48" class="code">function popupmenu_bar2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function popupmenu_bar2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function popupmenu_bar3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function popupmenu_bar3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function popupmenu_bar4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function popupmenu_bar4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub54" class="code">function popupmenu_bar5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function popupmenu_bar5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function popupmenu_bar6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function popupmenu_bar6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function popupmenu_bar7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function popupmenu_bar7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function pushbutton_refresh_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function read_tango(handles)</a></li><li><a href="#_sub62" class="code">function write_tango(handles);</a></li><li><a href="#_sub63" class="code">function devicelist = get_device_name(machine,property,magnet)</a></li><li><a href="#_sub64" class="code">function pushbutton_reload_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function pushbutton_model2online_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function pushbutton_online2model_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function handles = init_handles(handles)</a></li><li><a href="#_sub68" class="code">function store_model_values(handles)</a></li><li><a href="#_sub69" class="code">function set_model_values(handles)</a></li><li><a href="#_sub70" class="code">function submenu_print_setpoint_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function submenu_print_model_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function submenu_save_setpoint_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function submenu_save_model_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function submenu_load_setpoint_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function submenu_load_model_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function Untitled_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function Untitled_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function submenu_dump_model_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function submenu_dump_setpoint_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function submenu_dump_soleil_setpoint_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function twiss_parameters_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function submenu_twissparameters_entry_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = optics_LT1_LT2(varargin)</a>
+0002 <span class="comment">%OPTICS_LT1_LT2 - M-file for optics_LT1_LT2.fig</span>
+0003 <span class="comment">%      OPTICS_LT1_LT2, by itself, creates a new OPTICS_LT1_LT2 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = OPTICS_LT1_LT2 returns the handle to a new OPTICS_LT1_LT2 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      OPTICS_LT1_LT2('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in OPTICS_LT1_LT2.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      OPTICS_LT1_LT2('Property','Value',...) creates a new OPTICS_LT1_LT2 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before optics_LT1_LT2_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to optics_LT1_LT2_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help optics_LT1_LT2</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 09-Mar-2005 10:49:46</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction optics_LT1_LT2_OpeningFcn(hObject, eventdata, handles, varargin)">optics_LT1_LT2_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub3" class="code" title="subfunction varargout = optics_LT1_LT2_OutputFcn(hObject, eventdata, handles)">optics_LT1_LT2_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 <span class="comment">% --- Executes just before optics_LT1_LT2 is made visible.</span>
+0047 <a name="_sub1" href="#_subfunctions" class="code">function optics_LT1_LT2_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0048 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0049 <span class="comment">% hObject    handle to figure</span>
+0050 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0051 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0052 <span class="comment">% varargin   command line arguments to optics_LT1_LT2 (see VARARGIN)</span>
+0053 
+0054 <span class="comment">% Choose default command line output for optics_LT1_LT2</span>
+0055 handles.output = hObject;
+0056 
+0057 <span class="comment">%mat: utilite ???</span>
+0058 setappdata(handles.figure1, <span class="string">'twissdatain'</span>,struct([]));
+0059 
+0060 <span class="comment">% construct initial twiss parameters</span>
+0061 
+0062 Machine = getfamilydata(<span class="string">'SubMachine'</span>);
+0063 
+0064 <span class="keyword">switch</span> Machine
+0065     <span class="keyword">case</span> {<span class="string">'LT1'</span>}
+0066 
+0067         twissdatain.ElemIndex  = 1;
+0068         twissdatain.SPos       = 0;
+0069         twissdatain.ClosedOrbit= [1e-3 0 2e-3 0]'*0;
+0070         twissdatain.M44        = eye(4);
+0071         twissdatain.beta       = [8.1 8.1];
+0072         twissdatain.alpha      = [0 0];
+0073         twissdatain.mu         = [0 0];
+0074         twissdatain.Dispersion = [0 0 0 0]';
+0075         set(handles.figure1,<span class="string">'Name'</span>, <span class="string">'LT1 Optical functions'</span>);
+0076         
+0077     <span class="keyword">case</span> {<span class="string">'LT2'</span>}
+0078         
+0079         twissdatain.ElemIndex  = 1;
+0080         twissdatain.SPos       = 0;
+0081         twissdatain.ClosedOrbit= [1e-3 0 2e-3 0]'*0;
+0082         twissdatain.M44        = eye(4);
+0083         twissdatain.beta       = [6.0 6.0];
+0084         twissdatain.alpha      = [-1.8 1.5];
+0085         twissdatain.mu         = [0 0];
+0086         twissdatain.Dispersion = [0 0 0 0]';
+0087         set(handles.figure1,<span class="string">'Name'</span>, <span class="string">'LT2 Optical functions'</span>);
+0088 
+0089     <span class="keyword">otherwise</span>
+0090         error(<span class="string">'No Machine loaded'</span>)        
+0091 <span class="keyword">end</span>
+0092 
+0093 setappdata(handles.figure1, <span class="string">'twissdatain0'</span>,twissdatain);
+0094 handles.restart = 1;
+0095 
+0096 <span class="comment">%% Initialize structure for handling LT1 and LT2 magnets</span>
+0097 handles = <a href="#_sub67" class="code" title="subfunction handles = init_handles(handles)">init_handles</a>(handles);
+0098 
+0099 <span class="comment">% Update handles structure</span>
+0100 guidata(hObject, handles);
+0101 
+0102 AO = getao;
+0103 <span class="comment">% setappdata(handles.figure1,'AOmagnet', AO);</span>
+0104 
+0105 <span class="comment">%set(handles.(name),'Max',9, 'Min', -9)</span>
+0106 
+0107 <span class="comment">% min et max des sliders (figÃ© Ã  l'ouverture puis modifiable par SETBAR)</span>
+0108 val_max = <a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>(<span class="string">'QP'</span>);
+0109 val_min = <a href="getminsp.html" class="code" title="function S = getminsp(Family, DeviceList)">getminsp</a>(<span class="string">'QP'</span>);
+0110 
+0111 <span class="comment">%% Number of sliders</span>
+0112 handles.sliderNumber = 7;
+0113 
+0114 <span class="keyword">for</span> k = 1:handles.sliderNumber,
+0115     name = strcat(<span class="string">'sliderQP'</span>,num2str(k))
+0116     set(handles.(name),<span class="string">'Max'</span>,val_max(k),<span class="string">'Min'</span>,val_min(k));
+0117 <span class="keyword">end</span>
+0118 
+0119 
+0120 <span class="comment">%% liste de aimants a controler (menu deroulant)</span>
+0121 list = [AO.QP.CommonNames;<span class="keyword">...</span>
+0122         AO.CH.CommonNames; <span class="keyword">...</span>
+0123         AO.CV.CommonNames
+0124         ];
+0125 
+0126 <span class="comment">%% Automatic configuration for sliders</span>
+0127 <span class="keyword">for</span> k = 1:handles.sliderNumber
+0128     name = [<span class="string">'popupmenu_bar'</span> num2str(k)];
+0129     set(handles.(name),<span class="string">'String'</span>,list);
+0130     set(handles.(name),<span class="string">'Value'</span>,k);
+0131 <span class="keyword">end</span>
+0132 
+0133 <span class="comment">%% graphe par defaut</span>
+0134 axes(handles.axes1);
+0135 handles.xtype = <span class="string">'spos'</span>;
+0136 handles.ytype = <span class="string">'beta'</span>;
+0137 
+0138 <span class="comment">%% initialisation AT et IHM</span>
+0139 handles = <a href="#_sub44" class="code" title="subfunction handles = restart(handles)">restart</a>(handles);
+0140 
+0141 <span class="comment">%% Read Tango values</span>
+0142 <span class="comment">%read_tango(handles);</span>
+0143 
+0144 <span class="comment">% UIWAIT makes optics_LT1_LT2 wait for user response (see UIRESUME)</span>
+0145 <span class="comment">% uiwait(handles.figure1);</span>
+0146 set(0,<span class="string">'DefaultAxesXgrid'</span>,<span class="string">'on'</span>,<span class="string">'DefaultAxesYgrid'</span>,<span class="string">'on'</span>);
+0147 
+0148 <span class="comment">%% graphe symboles</span>
+0149 axes(handles.axes2);
+0150 drawlattice(0,0.8);
+0151 set(handles.axes2,<span class="string">'Xlim'</span>,[handles.spos(1) handles.spos(end)], <span class="keyword">...</span>
+0152     <span class="string">'XTick'</span>,[],<span class="string">'YTick'</span>,[]);
+0153 
+0154 
+0155 <span class="comment">% Update handles structure</span>
+0156 guidata(hObject, handles);
+0157 
+0158 <span class="comment">%% -------------------------------------</span>
+0159 <a name="_sub2" href="#_subfunctions" class="code">function handles = computeTwiss(handles)</a>
+0160 <span class="comment">% update ATmodel</span>
+0161 <span class="comment">% compute new twiss parameters</span>
+0162 <span class="comment">%</span>
+0163 <span class="keyword">global</span> THERING;
+0164 
+0165 <span class="comment">%%% parameters at the entrance of the line</span>
+0166 <span class="comment">% twissdatain.ElemIndex=1;</span>
+0167 <span class="comment">% twissdatain.SPos=0;</span>
+0168 <span class="comment">% twissdatain.ClosedOrbit=[1e-3 0 2e-3 0]'*0;</span>
+0169 <span class="comment">% twissdatain.M44=eye(4);</span>
+0170 <span class="comment">%</span>
+0171 <span class="comment">% if isequal(isfield(twissdatain,'beta'),0)</span>
+0172  
+0173  <span class="keyword">if</span> handles.restart == 1
+0174      twissdatain = getappdata(handles.figure1,<span class="string">'twissdatain0'</span>);
+0175      handles.restart = 0;
+0176  <span class="keyword">else</span>
+0177      twissdatain = getappdata(handles.figure1,<span class="string">'twissdatain'</span>);
+0178  <span class="keyword">end</span>
+0179 <span class="comment">%     twissdatain.beta= [8.1 8.1];</span>
+0180 <span class="comment">%     twissdatain.alpha= [0 0];</span>
+0181 <span class="comment">% else</span>
+0182 <span class="comment">%     twissdatain = getappdata(handles.figure1,'twissdatain')</span>
+0183 <span class="comment">% end</span>
+0184 
+0185 <span class="comment">% twissdatain.mu= [0 0];</span>
+0186 <span class="comment">% twissdatain.Dispersion= [0 0 0 0]';</span>
+0187 
+0188 <span class="comment">%%% get twiss paramaters</span>
+0189 TD = twissline(THERING,0.0,twissdatain,1:length(THERING),<span class="string">'chroma'</span>);
+0190 
+0191 handles.twissdatain = twissdatain;
+0192 handles.beta  = cat(1,TD.beta);
+0193 handles.cod   = cat(2,TD.ClosedOrbit)';
+0194 handles.eta   = cat(2,TD.Dispersion)';
+0195 handles.spos  = cat(1,TD.SPos);
+0196 handles.phase = cat(1,TD.mu);
+0197 
+0198 setappdata(handles.figure1,<span class="string">'twissdatain'</span>,twissdatain);
+0199 
+0200 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0201 <a name="_sub3" href="#_subfunctions" class="code">function varargout = optics_LT1_LT2_OutputFcn(hObject, eventdata, handles)</a>
+0202 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0203 <span class="comment">% hObject    handle to figure</span>
+0204 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0205 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0206 
+0207 <span class="comment">% Get default command line output from handles structure</span>
+0208 varargout{1} = handles.output;
+0209 
+0210 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0211 <a name="_sub4" href="#_subfunctions" class="code">function sliderQP1_CreateFcn(hObject, eventdata, handles)</a>
+0212 <span class="comment">% hObject    handle to sliderQP1 (see GCBO)</span>
+0213 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0214 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0215 
+0216 <span class="comment">% Hint: slider controls usually have a light gray background, change</span>
+0217 <span class="comment">%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.</span>
+0218 usewhitebg = 1;
+0219 <span class="keyword">if</span> usewhitebg
+0220     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0221 <span class="keyword">else</span>
+0222     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0223 <span class="keyword">end</span>
+0224 
+0225 <span class="comment">% --- Executes on slider movement.</span>
+0226 <a name="_sub5" href="#_subfunctions" class="code">function sliderQP1_Callback(hObject, eventdata, handles)</a>
+0227 <span class="comment">% hObject    handle to sliderQP1 (see GCBO)</span>
+0228 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0229 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0230 
+0231 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0232 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0233 
+0234 handles = <a href="#_sub33" class="code" title="subfunction handles = setslider(hObject, handles)">setslider</a>(hObject,handles);
+0235 guidata(hObject, handles);
+0236 
+0237 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0238 <a name="_sub6" href="#_subfunctions" class="code">function editQP1_CreateFcn(hObject, eventdata, handles)</a>
+0239 <span class="comment">% hObject    handle to editQP1 (see GCBO)</span>
+0240 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0241 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0242 
+0243 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0244 <span class="comment">%       See ISPC and COMPUTER.</span>
+0245 <span class="keyword">if</span> ispc
+0246     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'green'</span>);
+0247 <span class="keyword">else</span>
+0248     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0249 <span class="keyword">end</span>
+0250 
+0251 <span class="comment">% --- Executes on slider movement.</span>
+0252 <a name="_sub7" href="#_subfunctions" class="code">function editQP1_Callback(hObject, eventdata, handles)</a>
+0253 <span class="comment">% hObject    handle to editQP1 (see GCBO)</span>
+0254 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0255 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0256 
+0257 <span class="comment">% Hints: get(hObject,'String') returns contents of editQP1 as text</span>
+0258 <span class="comment">%        str2double(get(hObject,'String')) returns contents of editQP1 as a double</span>
+0259 handles = <a href="#_sub35" class="code" title="subfunction handles = setedit(handles)">setedit</a>(handles);
+0260 guidata(hObject, handles);
+0261 
+0262 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0263 <a name="_sub8" href="#_subfunctions" class="code">function sliderQP2_CreateFcn(hObject, eventdata, handles)</a>
+0264 <span class="comment">% hObject    handle to sliderQP2 (see GCBO)</span>
+0265 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0266 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0267 
+0268 <span class="comment">% Hint: slider controls usually have a light gray background, change</span>
+0269 <span class="comment">%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.</span>
+0270 usewhitebg = 1;
+0271 <span class="keyword">if</span> usewhitebg
+0272     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0273 <span class="keyword">else</span>
+0274     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0275 <span class="keyword">end</span>
+0276 
+0277 <span class="comment">% --- Executes on slider movement.</span>
+0278 <a name="_sub9" href="#_subfunctions" class="code">function sliderQP2_Callback(hObject, eventdata, handles)</a>
+0279 <span class="comment">% hObject    handle to sliderQP2 (see GCBO)</span>
+0280 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0281 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0282 
+0283 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0284 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0285 handles = <a href="#_sub33" class="code" title="subfunction handles = setslider(hObject, handles)">setslider</a>(hObject,handles);
+0286 guidata(hObject, handles);
+0287 
+0288 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0289 <a name="_sub10" href="#_subfunctions" class="code">function editQP2_CreateFcn(hObject, eventdata, handles)</a>
+0290 <span class="comment">% hObject    handle to editQP2 (see GCBO)</span>
+0291 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0292 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0293 
+0294 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0295 <span class="comment">%       See ISPC and COMPUTER.</span>
+0296 <span class="keyword">if</span> ispc
+0297     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0298 <span class="keyword">else</span>
+0299     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0300 <span class="keyword">end</span>
+0301 
+0302 <a name="_sub11" href="#_subfunctions" class="code">function editQP2_Callback(hObject, eventdata, handles)</a>
+0303 <span class="comment">% hObject    handle to editQP2 (see GCBO)</span>
+0304 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0305 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0306 
+0307 <span class="comment">% Hints: get(hObject,'String') returns contents of editQP2 as text</span>
+0308 <span class="comment">%        str2double(get(hObject,'String')) returns contents of editQP2 as a double</span>
+0309 handles = <a href="#_sub35" class="code" title="subfunction handles = setedit(handles)">setedit</a>(handles);
+0310 guidata(hObject, handles);
+0311 
+0312 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0313 <a name="_sub12" href="#_subfunctions" class="code">function sliderQP3_CreateFcn(hObject, eventdata, handles)</a>
+0314 <span class="comment">% hObject    handle to sliderQP3 (see GCBO)</span>
+0315 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0316 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0317 
+0318 <span class="comment">% Hint: slider controls usually have a light gray background, change</span>
+0319 <span class="comment">%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.</span>
+0320 usewhitebg = 1;
+0321 <span class="keyword">if</span> usewhitebg
+0322     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0323 <span class="keyword">else</span>
+0324     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0325 <span class="keyword">end</span>
+0326 
+0327 <span class="comment">% --- Executes on slider movement.</span>
+0328 <a name="_sub13" href="#_subfunctions" class="code">function sliderQP3_Callback(hObject, eventdata, handles)</a>
+0329 <span class="comment">% hObject    handle to sliderQP3 (see GCBO)</span>
+0330 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0331 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0332 
+0333 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0334 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0335 handles = <a href="#_sub33" class="code" title="subfunction handles = setslider(hObject, handles)">setslider</a>(hObject,handles);
+0336 guidata(hObject, handles);
+0337 
+0338 
+0339 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0340 <a name="_sub14" href="#_subfunctions" class="code">function editQP3_CreateFcn(hObject, eventdata, handles)</a>
+0341 <span class="comment">% hObject    handle to editQP3 (see GCBO)</span>
+0342 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0343 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0344 
+0345 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0346 <span class="comment">%       See ISPC and COMPUTER.</span>
+0347 <span class="keyword">if</span> ispc
+0348     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0349 <span class="keyword">else</span>
+0350     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0351 <span class="keyword">end</span>
+0352 
+0353 <a name="_sub15" href="#_subfunctions" class="code">function editQP3_Callback(hObject, eventdata, handles)</a>
+0354 <span class="comment">% hObject    handle to editQP3 (see GCBO)</span>
+0355 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0356 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0357 
+0358 <span class="comment">% Hints: get(hObject,'String') returns contents of editQP3 as text</span>
+0359 <span class="comment">%        str2double(get(hObject,'String')) returns contents of editQP3 as a double</span>
+0360 handles = <a href="#_sub35" class="code" title="subfunction handles = setedit(handles)">setedit</a>(handles);
+0361 guidata(hObject, handles);
+0362 
+0363 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0364 <a name="_sub16" href="#_subfunctions" class="code">function editQP4_CreateFcn(hObject, eventdata, handles)</a>
+0365 <span class="comment">% hObject    handle to editQP4 (see GCBO)</span>
+0366 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0367 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0368 
+0369 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0370 <span class="comment">%       See ISPC and COMPUTER.</span>
+0371 <span class="keyword">if</span> ispc
+0372     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0373 <span class="keyword">else</span>
+0374     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0375 <span class="keyword">end</span>
+0376 
+0377 <a name="_sub17" href="#_subfunctions" class="code">function editQP4_Callback(hObject, eventdata, handles)</a>
+0378 <span class="comment">% hObject    handle to editQP4 (see GCBO)</span>
+0379 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0380 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0381 
+0382 <span class="comment">% Hints: get(hObject,'String') returns contents of editQP4 as text</span>
+0383 <span class="comment">%        str2double(get(hObject,'String')) returns contents of editQP4 as a double</span>
+0384 handles = <a href="#_sub35" class="code" title="subfunction handles = setedit(handles)">setedit</a>(handles);
+0385 
+0386 
+0387 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0388 <a name="_sub18" href="#_subfunctions" class="code">function sliderQP4_CreateFcn(hObject, eventdata, handles)</a>
+0389 <span class="comment">% hObject    handle to sliderQP4 (see GCBO)</span>
+0390 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0391 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0392 
+0393 <span class="comment">% Hint: slider controls usually have a light gray background, change</span>
+0394 <span class="comment">%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.</span>
+0395 usewhitebg = 1;
+0396 <span class="keyword">if</span> usewhitebg
+0397     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0398 <span class="keyword">else</span>
+0399     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0400 <span class="keyword">end</span>
+0401 
+0402 
+0403 <span class="comment">% --- Executes on slider movement.</span>
+0404 <a name="_sub19" href="#_subfunctions" class="code">function sliderQP4_Callback(hObject, eventdata, handles)</a>
+0405 <span class="comment">% hObject    handle to sliderQP4 (see GCBO)</span>
+0406 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0407 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0408 
+0409 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0410 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0411 handles = <a href="#_sub33" class="code" title="subfunction handles = setslider(hObject, handles)">setslider</a>(hObject,handles);
+0412 guidata(hObject, handles);
+0413 
+0414 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0415 <a name="_sub20" href="#_subfunctions" class="code">function editQP5_CreateFcn(hObject, eventdata, handles)</a>
+0416 <span class="comment">% hObject    handle to editQP5 (see GCBO)</span>
+0417 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0418 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0419 
+0420 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0421 <span class="comment">%       See ISPC and COMPUTER.</span>
+0422 <span class="keyword">if</span> ispc
+0423     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0424 <span class="keyword">else</span>
+0425     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0426 <span class="keyword">end</span>
+0427 
+0428 
+0429 <a name="_sub21" href="#_subfunctions" class="code">function editQP5_Callback(hObject, eventdata, handles)</a>
+0430 <span class="comment">% hObject    handle to editQP5 (see GCBO)</span>
+0431 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0432 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0433 
+0434 <span class="comment">% Hints: get(hObject,'String') returns contents of editQP5 as text</span>
+0435 <span class="comment">%        str2double(get(hObject,'String')) returns contents of editQP5 as a double</span>
+0436 handles = <a href="#_sub35" class="code" title="subfunction handles = setedit(handles)">setedit</a>(handles);
+0437 guidata(hObject, handles);
+0438 
+0439 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0440 <a name="_sub22" href="#_subfunctions" class="code">function sliderQP5_CreateFcn(hObject, eventdata, handles)</a>
+0441 <span class="comment">% hObject    handle to sliderQP5 (see GCBO)</span>
+0442 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0443 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0444 
+0445 <span class="comment">% Hint: slider controls usually have a light gray background, change</span>
+0446 <span class="comment">%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.</span>
+0447 usewhitebg = 1;
+0448 <span class="keyword">if</span> usewhitebg
+0449     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0450 <span class="keyword">else</span>
+0451     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0452 <span class="keyword">end</span>
+0453 
+0454 <span class="comment">% --- Executes on slider movement.</span>
+0455 <a name="_sub23" href="#_subfunctions" class="code">function sliderQP5_Callback(hObject, eventdata, handles)</a>
+0456 <span class="comment">% hObject    handle to sliderQP5 (see GCBO)</span>
+0457 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0458 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0459 
+0460 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0461 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0462 handles = <a href="#_sub33" class="code" title="subfunction handles = setslider(hObject, handles)">setslider</a>(hObject,handles);
+0463 guidata(hObject, handles);
+0464 
+0465 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0466 <a name="_sub24" href="#_subfunctions" class="code">function sliderQP6_CreateFcn(hObject, eventdata, handles)</a>
+0467 <span class="comment">% hObject    handle to sliderQP6 (see GCBO)</span>
+0468 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0469 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0470 
+0471 <span class="comment">% Hint: slider controls usually have a light gray background, change</span>
+0472 <span class="comment">%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.</span>
+0473 usewhitebg = 1;
+0474 <span class="keyword">if</span> usewhitebg
+0475     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0476 <span class="keyword">else</span>
+0477     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0478 <span class="keyword">end</span>
+0479 
+0480 <span class="comment">% --- Executes on slider movement.</span>
+0481 <a name="_sub25" href="#_subfunctions" class="code">function sliderQP6_Callback(hObject, eventdata, handles)</a>
+0482 <span class="comment">% hObject    handle to sliderQP6 (see GCBO)</span>
+0483 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0484 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0485 
+0486 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0487 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0488 handles = <a href="#_sub33" class="code" title="subfunction handles = setslider(hObject, handles)">setslider</a>(hObject,handles);
+0489 guidata(hObject, handles);
+0490 
+0491 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0492 <a name="_sub26" href="#_subfunctions" class="code">function editQP6_CreateFcn(hObject, eventdata, handles)</a>
+0493 <span class="comment">% hObject    handle to editQP6 (see GCBO)</span>
+0494 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0495 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0496 
+0497 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0498 <span class="comment">%       See ISPC and COMPUTER.</span>
+0499 <span class="keyword">if</span> ispc
+0500     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0501 <span class="keyword">else</span>
+0502     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0503 <span class="keyword">end</span>
+0504 
+0505 <a name="_sub27" href="#_subfunctions" class="code">function editQP6_Callback(hObject, eventdata, handles)</a>
+0506 <span class="comment">% hObject    handle to editQP6 (see GCBO)</span>
+0507 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0508 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0509 
+0510 <span class="comment">% Hints: get(hObject,'String') returns contents of editQP6 as text</span>
+0511 <span class="comment">%        str2double(get(hObject,'String')) returns contents of editQP6 as a double</span>
+0512 handles = <a href="#_sub35" class="code" title="subfunction handles = setedit(handles)">setedit</a>(handles);
+0513 guidata(hObject, handles);
+0514 
+0515 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0516 <a name="_sub28" href="#_subfunctions" class="code">function editQP7_CreateFcn(hObject, eventdata, handles)</a>
+0517 <span class="comment">% hObject    handle to editQP7 (see GCBO)</span>
+0518 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0519 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0520 
+0521 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0522 <span class="comment">%       See ISPC and COMPUTER.</span>
+0523 <span class="keyword">if</span> ispc
+0524     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0525 <span class="keyword">else</span>
+0526     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0527 <span class="keyword">end</span>
+0528 
+0529 <a name="_sub29" href="#_subfunctions" class="code">function editQP7_Callback(hObject, eventdata, handles)</a>
+0530 <span class="comment">% hObject    handle to editQP7 (see GCBO)</span>
+0531 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0532 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0533 
+0534 <span class="comment">% Hints: get(hObject,'String') returns contents of editQP7 as text</span>
+0535 <span class="comment">%        str2double(get(hObject,'String')) returns contents of editQP7 as a double</span>
+0536 handles = <a href="#_sub35" class="code" title="subfunction handles = setedit(handles)">setedit</a>(handles);
+0537 
+0538 
+0539 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0540 <a name="_sub30" href="#_subfunctions" class="code">function sliderQP7_CreateFcn(hObject, eventdata, handles)</a>
+0541 <span class="comment">% hObject    handle to sliderQP7 (see GCBO)</span>
+0542 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0543 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0544 
+0545 <span class="comment">% Hint: slider controls usually have a light gray background, change</span>
+0546 <span class="comment">%       'usewhitebg' to 0 to use default.  See ISPC and COMPUTER.</span>
+0547 usewhitebg = 1;
+0548 <span class="keyword">if</span> usewhitebg
+0549     set(hObject,<span class="string">'BackgroundColor'</span>,[.9 .9 .9]);
+0550 <span class="keyword">else</span>
+0551     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0552 <span class="keyword">end</span>
+0553 
+0554 <span class="comment">% --- Executes on slider movement.</span>
+0555 <a name="_sub31" href="#_subfunctions" class="code">function sliderQP7_Callback(hObject, eventdata, handles)</a>
+0556 <span class="comment">% hObject    handle to sliderQP7 (see GCBO)</span>
+0557 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0558 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0559 
+0560 <span class="comment">% Hints: get(hObject,'Value') returns position of slider</span>
+0561 <span class="comment">%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider</span>
+0562 handles = <a href="#_sub33" class="code" title="subfunction handles = setslider(hObject, handles)">setslider</a>(hObject,handles);
+0563 guidata(hObject, handles);
+0564 
+0565 <span class="comment">%-----------------------------------------------------------------------</span>
+0566 <a name="_sub32" href="#_subfunctions" class="code">function plot_axes(handles,quoi)</a>
+0567 <span class="comment">%%% fonction generique</span>
+0568 
+0569 axes(handles.axes1); cla; hold on;
+0570 
+0571 <span class="keyword">switch</span> handles.xtype
+0572     <span class="keyword">case</span> <span class="string">'spos'</span>
+0573         x=handles.(handles.xtype);
+0574     <span class="keyword">case</span> <span class="string">'phase'</span>
+0575         x=handles.(handles.xtype); x = x(:,1);
+0576 <span class="keyword">end</span>
+0577 
+0578 <span class="keyword">switch</span> quoi
+0579     <span class="keyword">case</span> <span class="string">'beta'</span>
+0580         plot(x,handles.beta(:,1),<span class="string">'r.-'</span>); 
+0581         plot(x,handles.beta(:,2),<span class="string">'b.-'</span>); 
+0582         ylabel(<span class="string">'\beta (m)'</span>);
+0583         <span class="comment">%mat</span>
+0584    <span class="comment">%ylim([0 130]);</span>
+0585         
+0586     <span class="keyword">case</span> <span class="string">'eta'</span>        
+0587         plot(x,handles.eta(:,1),<span class="string">'r.-'</span>);
+0588         plot(x,handles.eta(:,3),<span class="string">'b.-'</span>);
+0589         ylabel(<span class="string">'\eta (m)'</span>);
+0590     <span class="keyword">case</span> <span class="string">'cod'</span>        
+0591         plot(x,handles.cod(:,1)*1e3,<span class="string">'r.-'</span>);
+0592         plot(x,handles.cod(:,3)*1e3,<span class="string">'b.-'</span>);
+0593         ylabel(<span class="string">'cod (mm)'</span>);
+0594     <span class="keyword">case</span> <span class="string">'phase'</span>        
+0595         plot(x,handles.phase(:,1),<span class="string">'r.-'</span>);
+0596         plot(x,handles.phase(:,2),<span class="string">'b.-'</span>);
+0597         ylabel(<span class="string">'phase '</span>);
+0598 <span class="keyword">end</span>
+0599 axis([x(1) x(end) -inf inf]);
+0600 datalabel on
+0601 
+0602 <span class="comment">%--------------------------------------------------------------------------</span>
+0603 <a name="_sub33" href="#_subfunctions" class="code">function handles = setslider(hObject, handles)</a>
+0604 <span class="comment">%%% fonction generique pour un slider de type aimant</span>
+0605 
+0606 AOmagnet = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>); <span class="comment">%% get LT1 structure</span>
+0607 <span class="comment">%% extrait le numero</span>
+0608 tagstring = get(hObject,<span class="string">'Tag'</span>);
+0609 num = tagstring(regexp(tagstring,<span class="string">'\d'</span>));
+0610 magnet0 = [<span class="string">'QP'</span> num2str(num)];
+0611 val =  get(hObject,<span class="string">'Value'</span>);
+0612 str = num2str(val);
+0613 set(handles.([<span class="string">'edit'</span> magnet0]),<span class="string">'string'</span>,str);
+0614 
+0615 <span class="comment">%% Cherche le nom de l'aimant</span>
+0616 h = handles.([<span class="string">'popupmenu_bar'</span> num]);
+0617 contents = get(h,<span class="string">'String'</span>);
+0618 magnet = contents{get(h,<span class="string">'Value'</span>)};
+0619 handles = <a href="#_sub34" class="code" title="subfunction handles = setATmagnet(handles,magnet,val)">setATmagnet</a>(handles,magnet,val);
+0620 
+0621 AOmagnet.(magnet(1:2)).ModelVal(str2double(magnet(end))) = val;
+0622 
+0623 <span class="comment">% save data</span>
+0624 setappdata(handles.figure1,<span class="string">'AOmagnet'</span>,AOmagnet)
+0625 
+0626 <span class="comment">%--------------------------------------------------------------------------</span>
+0627 <a name="_sub34" href="#_subfunctions" class="code">function handles = setATmagnet(handles,magnet,val)</a>
+0628 <span class="comment">% function handles = setATmagnet(handles,magnet,val)</span>
+0629 <span class="comment">% set  val as new setvalue of element 'magnet'</span>
+0630 <span class="comment">% Replot current graph</span>
+0631 
+0632 AOmagnet= getappdata(handles.figure1,<span class="string">'AOmagnet'</span>); <span class="comment">% get magnet AO</span>
+0633 
+0634 <span class="comment">% set value to AT model</span>
+0635 setsp(common2family(magnet), val, common2dev(magnet),<span class="string">'Model'</span>);
+0636 
+0637 <span class="comment">% Recompute twiss parameters</span>
+0638 handles = <a href="#_sub2" class="code" title="subfunction handles = computeTwiss(handles)">computeTwiss</a>(handles);
+0639 <span class="comment">% Replot everything</span>
+0640 <a href="#_sub32" class="code" title="subfunction plot_axes(handles,quoi)">plot_axes</a>(handles,handles.ytype);
+0641 <span class="comment">%mat</span>
+0642 <span class="comment">%ylim([0 130]);</span>
+0643 
+0644 <span class="comment">%--------------------------------------------------------------------------</span>
+0645 <a name="_sub35" href="#_subfunctions" class="code">function handles = setedit(handles)</a>
+0646 <span class="comment">% function setedit(handles)</span>
+0647 <span class="comment">% generic callback for an edit box</span>
+0648 
+0649 AOmagnet= getappdata(handles.figure1,<span class="string">'AOmagnet'</span>); <span class="comment">% get magnet AO</span>
+0650 
+0651 <span class="comment">%% construction automatique du nom du slider</span>
+0652 val = str2double(get(gcbo,<span class="string">'String'</span>));
+0653 tagstring = get(gcbo,<span class="string">'Tag'</span>);
+0654 num = tagstring(regexp(tagstring,<span class="string">'\d'</span>));
+0655 magnet0=[<span class="string">'QP'</span> num2str(num)];
+0656 name = handles.([<span class="string">'slider'</span> magnet0]);
+0657 <span class="comment">%% Cherche le nom de l'aimant</span>
+0658 h = handles.([<span class="string">'popupmenu_bar'</span> num]);
+0659 contents = get(h,<span class="string">'String'</span>);
+0660 magnet = contents{get(h,<span class="string">'Value'</span>)};
+0661 
+0662 <span class="comment">%%% Test si dans les limites</span>
+0663 <span class="keyword">if</span> val&lt;get(name,<span class="string">'Max'</span>) &amp;&amp; val&gt; get(name,<span class="string">'Min'</span>)
+0664   set(name,<span class="string">'Value'</span>,val);
+0665   handles = <a href="#_sub34" class="code" title="subfunction handles = setATmagnet(handles,magnet,val)">setATmagnet</a>(handles,magnet,val);
+0666   AOmagnet.(magnet(1:2)).ModelVal(str2double(magnet(end))) = val;
+0667 <span class="keyword">else</span> <span class="comment">% message d'erreur</span>
+0668   warndlg(<span class="string">'Wrong value for K'</span>,<span class="string">'Edit Box'</span>,<span class="string">'Modal'</span>)
+0669   set(hObject,<span class="string">'String'</span>,num2str(get(name,<span class="string">'Value'</span>)));
+0670 <span class="keyword">end</span>
+0671 
+0672 <span class="comment">% Save data</span>
+0673 setappdata(handles.figure1,<span class="string">'AOmagnet'</span>,AOmagnet); 
+0674 
+0675 <span class="comment">%---------------------------------</span>
+0676 <a name="_sub36" href="#_subfunctions" class="code">function mutual_exclude(off)</a>
+0677 <span class="comment">% function mutual_exclude(off)</span>
+0678 <span class="comment">% fonction pour faire des radioboutons</span>
+0679 set(off,<span class="string">'Value'</span>,0);
+0680 
+0681 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0682 <a name="_sub37" href="#_subfunctions" class="code">function popupmenu_y_CreateFcn(hObject, eventdata, handles)</a>
+0683 <span class="comment">% hObject    handle to popupmenu_y (see GCBO)</span>
+0684 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0685 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0686 
+0687 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0688 <span class="comment">%       See ISPC and COMPUTER.</span>
+0689 <span class="keyword">if</span> ispc
+0690     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0691 <span class="keyword">else</span>
+0692     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0693 <span class="keyword">end</span>
+0694 
+0695 
+0696 <span class="comment">% --- Executes on selection change in popupmenu_y.</span>
+0697 <a name="_sub38" href="#_subfunctions" class="code">function popupmenu_y_Callback(hObject, eventdata, handles)</a>
+0698 <span class="comment">% hObject    handle to popupmenu_y (see GCBO)</span>
+0699 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0700 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0701 
+0702 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_y contents as cell array</span>
+0703 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_y</span>
+0704 contents = get(hObject,<span class="string">'String'</span>);
+0705 <a href="#_sub32" class="code" title="subfunction plot_axes(handles,quoi)">plot_axes</a>(handles, contents{get(hObject,<span class="string">'Value'</span>)});
+0706 <span class="comment">%mat</span>
+0707      <span class="comment">%ylim([0 130]);</span>
+0708 handles.ytype = contents{get(hObject,<span class="string">'Value'</span>)};       
+0709 guidata(hObject, handles);
+0710 
+0711 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0712 <a name="_sub39" href="#_subfunctions" class="code">function popupmenu_x_CreateFcn(hObject, eventdata, handles)</a>
+0713 <span class="comment">% hObject    handle to popupmenu_x (see GCBO)</span>
+0714 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0715 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0716 
+0717 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0718 <span class="comment">%       See ISPC and COMPUTER.</span>
+0719 <span class="keyword">if</span> ispc
+0720     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0721 <span class="keyword">else</span>
+0722     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0723 <span class="keyword">end</span>
+0724 
+0725 <span class="comment">% --- Executes on selection change in popupmenu_x.</span>
+0726 <a name="_sub40" href="#_subfunctions" class="code">function popupmenu_x_Callback(hObject, eventdata, handles)</a>
+0727 <span class="comment">% hObject    handle to popupmenu_x (see GCBO)</span>
+0728 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0729 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0730 
+0731 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_x contents as cell array</span>
+0732 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_x</span>
+0733 contents = get(hObject,<span class="string">'String'</span>);        
+0734 handles.xtype = contents{get(hObject,<span class="string">'Value'</span>)};       
+0735 guidata(hObject, handles);
+0736 <a href="#_sub32" class="code" title="subfunction plot_axes(handles,quoi)">plot_axes</a>(handles, handles.ytype);
+0737 <span class="comment">%mat</span>
+0738       <span class="comment">%ylim([0 130]);</span>
+0739 
+0740 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0741 <a name="_sub41" href="#_subfunctions" class="code">function popupmenu_plane_CreateFcn(hObject, eventdata, handles)</a>
+0742 <span class="comment">% hObject    handle to popupmenu_plane (see GCBO)</span>
+0743 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0744 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0745 
+0746 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0747 <span class="comment">%       See ISPC and COMPUTER.</span>
+0748 <span class="keyword">if</span> ispc
+0749     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0750 <span class="keyword">else</span>
+0751     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0752 <span class="keyword">end</span>
+0753 
+0754 
+0755 <span class="comment">% --- Executes on selection change in popupmenu_plane.</span>
+0756 <a name="_sub42" href="#_subfunctions" class="code">function popupmenu_plane_Callback(hObject, eventdata, handles)</a>
+0757 <span class="comment">% hObject    handle to popupmenu_plane (see GCBO)</span>
+0758 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0759 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0760 
+0761 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_plane contents as cell array</span>
+0762 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_plane</span>
+0763 
+0764 
+0765 <span class="comment">% --- Executes on button press in pushbutton_reload.</span>
+0766 <a name="_sub43" href="#_subfunctions" class="code">function pushbutton_reload_Callback(hObject, eventdata, handles)</a>
+0767 <span class="comment">% hObject    handle to pushbutton_reload (see GCBO)</span>
+0768 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0769 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0770 
+0771 handles = <a href="#_sub44" class="code" title="subfunction handles = restart(handles)">restart</a>(handles);
+0772 guidata(hObject,handles);
+0773 
+0774 <span class="comment">%--------------------------------------------------------</span>
+0775 <a name="_sub44" href="#_subfunctions" class="code">function handles = restart(handles)</a>
+0776 <span class="comment">% function handles = restart(handles)</span>
+0777 <span class="comment">% Reinitialise la maille et l'IHM</span>
+0778 
+0779 AD = getad;
+0780 run(AD.ATModel); <span class="comment">%% Load lattice</span>
+0781 <span class="keyword">global</span> THERING
+0782 <span class="comment">% MAT ET LAURENT : TEMPORAIRE</span>
+0783 <span class="comment">%warning('66 MeV');</span>
+0784 <span class="comment">%setenergymodel(0.066);</span>
+0785 
+0786 <span class="comment">%</span>
+0787 setappdata(handles.figure1, <span class="string">'LT1'</span>, THERING);
+0788 
+0789 handles.restart = 1;
+0790 handles         = <a href="#_sub2" class="code" title="subfunction handles = computeTwiss(handles)">computeTwiss</a>(handles);
+0791 
+0792 <a href="#_sub32" class="code" title="subfunction plot_axes(handles,quoi)">plot_axes</a>(handles,handles.ytype);
+0793 <span class="comment">%mat</span>
+0794    
+0795 <span class="comment">%ylim([0 130]);</span>
+0796 
+0797 handles.modelMagnetVal  = {<span class="string">'chModelVal'</span>, <span class="string">'cvModelVal'</span>, <span class="keyword">...</span>
+0798     <span class="string">'quadrupoleModelVal'</span>, <span class="string">'dipoleModelVal'</span>};
+0799 
+0800 <a href="#_sub68" class="code" title="subfunction store_model_values(handles)">store_model_values</a>(handles);
+0801 
+0802 <span class="comment">% Relaod Accelerator Object</span>
+0803 AO  = getao; 
+0804 
+0805 <span class="comment">%% Initialise les sliders et editboxes</span>
+0806 <span class="keyword">for</span> k = 1:handles.sliderNumber
+0807     name = [<span class="string">'popupmenu_bar'</span> num2str(k)];
+0808     contents = get(handles.(name),<span class="string">'String'</span>);
+0809     magnet = contents{get(handles.(name),<span class="string">'Value'</span>)};
+0810     
+0811     Qname = [<span class="string">'QP'</span> num2str(k)];   
+0812     
+0813     <span class="comment">% Read AT values</span>
+0814     val  = getam(common2family(magnet),common2dev(magnet),<span class="string">'Model'</span>);
+0815     
+0816     set(handles.([<span class="string">'slider'</span> Qname]),<span class="string">'Value'</span>, val);
+0817     set(handles.([<span class="string">'edit'</span> Qname]),<span class="string">'string'</span>, num2str(val));
+0818 <span class="keyword">end</span>
+0819 
+0820 
+0821 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0822 <a name="_sub45" href="#_subfunctions" class="code">function popupmenu_bar1_CreateFcn(hObject, eventdata, handles)</a>
+0823 <span class="comment">% hObject    handle to popupmenu_bar1 (see GCBO)</span>
+0824 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0825 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0826 
+0827 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0828 <span class="comment">%       See ISPC and COMPUTER.</span>
+0829 <span class="keyword">if</span> ispc
+0830     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0831 <span class="keyword">else</span>
+0832     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0833 <span class="keyword">end</span>
+0834 
+0835 
+0836 <span class="comment">% --- Executes on selection change in popupmenu_bar1.</span>
+0837 <a name="_sub46" href="#_subfunctions" class="code">function popupmenu_bar1_Callback(hObject, eventdata, handles)</a>
+0838 <span class="comment">% hObject    handle to popupmenu_bar1 (see GCBO)</span>
+0839 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0840 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0841 
+0842 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_bar1 contents as cell array</span>
+0843 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar1</span>
+0844 
+0845 <a href="#_sub47" class="code" title="subfunction setbar(handles)">setbar</a>(handles);
+0846 
+0847 <span class="comment">%----------------------------------------------------------</span>
+0848 <a name="_sub47" href="#_subfunctions" class="code">function setbar(handles)</a>
+0849 <span class="comment">%% aimant selectionne</span>
+0850 contents = get(gcbo,<span class="string">'String'</span>);
+0851 magnet = contents{get(gcbo,<span class="string">'Value'</span>)}
+0852 
+0853 <span class="comment">%% mets a jour l'IHM pour cet aimant</span>
+0854 tagstring = get(gcbo,<span class="string">'Tag'</span>);
+0855 num = tagstring(regexp(tagstring,<span class="string">'\d'</span>));
+0856 slidername = [<span class="string">'sliderQP'</span> num]; 
+0857 editboxname = [<span class="string">'editQP'</span> num]; 
+0858 
+0859 AOmagnet  = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>); 
+0860 
+0861 <span class="keyword">switch</span> magnet
+0862     <span class="keyword">case</span> AOmagnet.CH.CommonNames
+0863         val_max = <a href="getmaxsp.html" class="code" title="function S = getmaxsp(Family, DeviceList)">getmaxsp</a>(<span class="string">'CH'</span>);
+0864         <span class="keyword">for</span> k = 1:7
+0865             name = strcat(<span class="string">'sliderQP'</span>,num2str(k))
+0866             set(handles.(name),<span class="string">'Max'</span>,val_max);
+0867         <span class="keyword">end</span>
+0868         val = AOmagnet.CH.ModelVal(str2double(magnet(end)));
+0869     <span class="keyword">case</span> AOmagnet.CV.CommonNames
+0870         val = AOmagnet.CV.ModelVal(str2double(magnet(end)));
+0871     <span class="keyword">case</span> AOmagnet.QP.CommonNames
+0872         val = AOmagnet.QP.ModelVal(str2double(magnet(end)));
+0873 <span class="keyword">end</span>
+0874 
+0875 str = num2str(val);
+0876 set(handles.(slidername),<span class="string">'Value'</span>,val); <span class="comment">% writes slider</span>
+0877 set(handles.(editboxname),<span class="string">'String'</span>,str); <span class="comment">% writes editbox</span>
+0878 
+0879 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0880 <a name="_sub48" href="#_subfunctions" class="code">function popupmenu_bar2_CreateFcn(hObject, eventdata, handles)</a>
+0881 <span class="comment">% hObject    handle to popupmenu_bar2 (see GCBO)</span>
+0882 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0883 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0884 
+0885 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0886 <span class="comment">%       See ISPC and COMPUTER.</span>
+0887 <span class="keyword">if</span> ispc
+0888     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0889 <span class="keyword">else</span>
+0890     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0891 <span class="keyword">end</span>
+0892 
+0893 <span class="comment">% --- Executes on selection change in popupmenu_bar2.</span>
+0894 <a name="_sub49" href="#_subfunctions" class="code">function popupmenu_bar2_Callback(hObject, eventdata, handles)</a>
+0895 <span class="comment">% hObject    handle to popupmenu_bar2 (see GCBO)</span>
+0896 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0897 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0898 
+0899 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_bar2 contents as cell array</span>
+0900 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar2</span>
+0901 <a href="#_sub47" class="code" title="subfunction setbar(handles)">setbar</a>(handles);
+0902 
+0903 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0904 <a name="_sub50" href="#_subfunctions" class="code">function popupmenu_bar3_CreateFcn(hObject, eventdata, handles)</a>
+0905 <span class="comment">% hObject    handle to popupmenu_bar3 (see GCBO)</span>
+0906 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0907 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0908 
+0909 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0910 <span class="comment">%       See ISPC and COMPUTER.</span>
+0911 <span class="keyword">if</span> ispc
+0912     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0913 <span class="keyword">else</span>
+0914     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0915 <span class="keyword">end</span>
+0916 
+0917 <span class="comment">% --- Executes on selection change in popupmenu_bar3.</span>
+0918 <a name="_sub51" href="#_subfunctions" class="code">function popupmenu_bar3_Callback(hObject, eventdata, handles)</a>
+0919 <span class="comment">% hObject    handle to popupmenu_bar3 (see GCBO)</span>
+0920 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0921 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0922 
+0923 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_bar3 contents as cell array</span>
+0924 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar3</span>
+0925 <a href="#_sub47" class="code" title="subfunction setbar(handles)">setbar</a>(handles);
+0926 
+0927 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0928 <a name="_sub52" href="#_subfunctions" class="code">function popupmenu_bar4_CreateFcn(hObject, eventdata, handles)</a>
+0929 <span class="comment">% hObject    handle to popupmenu_bar4 (see GCBO)</span>
+0930 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0931 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0932 
+0933 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0934 <span class="comment">%       See ISPC and COMPUTER.</span>
+0935 <span class="keyword">if</span> ispc
+0936     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0937 <span class="keyword">else</span>
+0938     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0939 <span class="keyword">end</span>
+0940 
+0941 <span class="comment">% --- Executes on selection change in popupmenu_bar4.</span>
+0942 <a name="_sub53" href="#_subfunctions" class="code">function popupmenu_bar4_Callback(hObject, eventdata, handles)</a>
+0943 <span class="comment">% hObject    handle to popupmenu_bar4 (see GCBO)</span>
+0944 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0945 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0946 
+0947 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_bar4 contents as cell array</span>
+0948 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar4</span>
+0949 <a href="#_sub47" class="code" title="subfunction setbar(handles)">setbar</a>(handles);
+0950 
+0951 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0952 <a name="_sub54" href="#_subfunctions" class="code">function popupmenu_bar5_CreateFcn(hObject, eventdata, handles)</a>
+0953 <span class="comment">% hObject    handle to popupmenu_bar5 (see GCBO)</span>
+0954 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0955 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0956 
+0957 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0958 <span class="comment">%       See ISPC and COMPUTER.</span>
+0959 <span class="keyword">if</span> ispc
+0960     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0961 <span class="keyword">else</span>
+0962     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0963 <span class="keyword">end</span>
+0964 
+0965 <span class="comment">% --- Executes on selection change in popupmenu_bar5.</span>
+0966 <a name="_sub55" href="#_subfunctions" class="code">function popupmenu_bar5_Callback(hObject, eventdata, handles)</a>
+0967 <span class="comment">% hObject    handle to popupmenu_bar5 (see GCBO)</span>
+0968 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0969 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0970 
+0971 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_bar5 contents as cell array</span>
+0972 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar5</span>
+0973 <a href="#_sub47" class="code" title="subfunction setbar(handles)">setbar</a>(handles);
+0974 
+0975 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0976 <a name="_sub56" href="#_subfunctions" class="code">function popupmenu_bar6_CreateFcn(hObject, eventdata, handles)</a>
+0977 <span class="comment">% hObject    handle to popupmenu_bar6 (see GCBO)</span>
+0978 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0979 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0980 
+0981 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+0982 <span class="comment">%       See ISPC and COMPUTER.</span>
+0983 <span class="keyword">if</span> ispc
+0984     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0985 <span class="keyword">else</span>
+0986     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+0987 <span class="keyword">end</span>
+0988 
+0989 
+0990 <span class="comment">% --- Executes on selection change in popupmenu_bar6.</span>
+0991 <a name="_sub57" href="#_subfunctions" class="code">function popupmenu_bar6_Callback(hObject, eventdata, handles)</a>
+0992 <span class="comment">% hObject    handle to popupmenu_bar6 (see GCBO)</span>
+0993 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0994 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0995 
+0996 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_bar6 contents as cell array</span>
+0997 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar6</span>
+0998 <a href="#_sub47" class="code" title="subfunction setbar(handles)">setbar</a>(handles);
+0999 
+1000 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1001 <a name="_sub58" href="#_subfunctions" class="code">function popupmenu_bar7_CreateFcn(hObject, eventdata, handles)</a>
+1002 <span class="comment">% hObject    handle to popupmenu_bar7 (see GCBO)</span>
+1003 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1004 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1005 
+1006 <span class="comment">% Hint: popupmenu controls usually have a white background on Windows.</span>
+1007 <span class="comment">%       See ISPC and COMPUTER.</span>
+1008 <span class="keyword">if</span> ispc
+1009     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1010 <span class="keyword">else</span>
+1011     set(hObject,<span class="string">'BackgroundColor'</span>,get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>));
+1012 <span class="keyword">end</span>
+1013 
+1014 <span class="comment">% --- Executes on selection change in popupmenu_bar7.</span>
+1015 <a name="_sub59" href="#_subfunctions" class="code">function popupmenu_bar7_Callback(hObject, eventdata, handles)</a>
+1016 <span class="comment">% hObject    handle to popupmenu_bar7 (see GCBO)</span>
+1017 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1018 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1019 
+1020 <span class="comment">% Hints: contents = get(hObject,'String') returns popupmenu_bar7 contents as cell array</span>
+1021 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from popupmenu_bar7</span>
+1022 <a href="#_sub47" class="code" title="subfunction setbar(handles)">setbar</a>(handles);
+1023 
+1024 
+1025 <span class="comment">% --- Executes on button press in pushbutton_refresh.</span>
+1026 <a name="_sub60" href="#_subfunctions" class="code">function pushbutton_refresh_Callback(hObject, eventdata, handles)</a>
+1027 <span class="comment">% hObject    handle to pushbutton_refresh (see GCBO)</span>
+1028 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1029 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1030 
+1031 <span class="comment">%--------------------------------------------------------------------------</span>
+1032 <a name="_sub61" href="#_subfunctions" class="code">function read_tango(handles)</a>
+1033 <span class="comment">% Reads Tango values for LT1.</span>
+1034 
+1035 <span class="comment">% Get magnet AO</span>
+1036 AOmagnet = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>);
+1037 FamilyName = fieldnames(AOmagnet); 
+1038 
+1039 <span class="keyword">for</span> k1 = 1:length(FamilyName)
+1040         <span class="comment">% get attribute readback value</span>
+1041         magnet = AOmagnet.(FamilyName{k1});
+1042         AOmagnet.(FamilyName{k1}).TangoVal = <span class="keyword">...</span>
+1043             getam(FamilyName{k1},<span class="string">'Online'</span>);
+1044 <span class="keyword">end</span>
+1045 
+1046 <span class="comment">% save data</span>
+1047 setappdata(handles.figure1,<span class="string">'AOmagnet'</span>,AOmagnet)
+1048 
+1049 <span class="comment">%--------------------------------------------------------------------------</span>
+1050 <a name="_sub62" href="#_subfunctions" class="code">function write_tango(handles);</a>
+1051 <span class="comment">%-- Writes Tango values</span>
+1052 <span class="comment">%% Ecriture courant aimant sur les devices serveurs</span>
+1053 
+1054 <span class="comment">% Get magnet AO</span>
+1055 AOmagnet = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>);
+1056 
+1057 FamilyName = fieldnames(AOmagnet); 
+1058 <span class="keyword">for</span> k1 = 1:length(FamilyName)
+1059     magnet = AOmagnet.(FamilyName{k1});
+1060     setsp(magnet, magnet.ModelVal,<span class="string">'Online'</span>);
+1061 <span class="keyword">end</span>
+1062 
+1063 <span class="comment">%--------------------------------------------------------------------------</span>
+1064 <a name="_sub63" href="#_subfunctions" class="code">function devicelist = get_device_name(machine,property,magnet)</a>
+1065 <span class="comment">% get device list from mapping read in tango database</span>
+1066 
+1067 map        = tango_get_db_property(machine,property);
+1068 sep        = cell2mat(regexpi(map,<span class="string">'::'</span>,<span class="string">'once'</span>))-1;
+1069 devicelist = regexprep(map,[magnet <span class="string">'\d*::'</span>],<span class="string">''</span>)';
+1070 
+1071 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1072 <a name="_sub64" href="#_subfunctions" class="code">function pushbutton_reload_CreateFcn(hObject, eventdata, handles)</a>
+1073 <span class="comment">% hObject    handle to pushbutton_reload (see GCBO)</span>
+1074 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1075 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1076 
+1077 <span class="comment">% --- Executes on button press in pushbutton_model2online.</span>
+1078 <a name="_sub65" href="#_subfunctions" class="code">function pushbutton_model2online_Callback(hObject, eventdata, handles)</a>
+1079 <span class="comment">% hObject    handle to pushbutton_model2online (see GCBO)</span>
+1080 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1081 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1082 
+1083 AOmagnet      = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>); <span class="comment">%% get LT1 structure</span>
+1084 
+1085 user_response = questdlg(<span class="string">'Do you want to write setvalues to LT1?'</span>);
+1086 <span class="keyword">switch</span> user_response
+1087     <span class="keyword">case</span>{<span class="string">'No'</span>,<span class="string">'Cancel'</span>}
+1088         <span class="keyword">return</span>;
+1089     <span class="keyword">case</span>{<span class="string">'Yes'</span>}
+1090         FamilyName = fieldnames(AOmagnet);
+1091         <span class="keyword">for</span> k1 = 1:length(FamilyName)
+1092             AOmagnet.(FamilyName{k1}).TangoVal = <span class="keyword">...</span>
+1093                 AOmagnet.(FamilyName{k1}).ModelVal;
+1094         <span class="keyword">end</span>
+1095         <a href="#_sub62" class="code" title="subfunction write_tango(handles);">write_tango</a>(handles);
+1096 <span class="keyword">end</span>
+1097 
+1098 <span class="comment">% save data</span>
+1099 setappdata(handles.figure1,<span class="string">'AOmagnet'</span>,AOmagnet)
+1100 
+1101 <span class="comment">% --- Executes on button press in pushbutton_online2model.</span>
+1102 <a name="_sub66" href="#_subfunctions" class="code">function pushbutton_online2model_Callback(hObject, eventdata, handles)</a>
+1103 <span class="comment">% hObject    handle to pushbutton_online2model (see GCBO)</span>
+1104 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1105 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1106 
+1107 <span class="comment">% Online values stored in model values except dipoles</span>
+1108 user_response = questdlg(<span class="string">'Do you want to read TANGO setvalues from LT1?'</span>);
+1109 <span class="keyword">switch</span> user_response
+1110     <span class="keyword">case</span>{<span class="string">'No'</span>,<span class="string">'Cancel'</span>}
+1111         <span class="keyword">return</span>;
+1112     <span class="keyword">case</span>{<span class="string">'Yes'</span>}
+1113         <a href="#_sub61" class="code" title="subfunction read_tango(handles)">read_tango</a>(handles);
+1114 <span class="keyword">end</span>
+1115 
+1116 AOmagnet    = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>); <span class="comment">%% get LT1 structure</span>
+1117 
+1118 FamilyName = fieldnames(AOmagnet); 
+1119 <span class="keyword">for</span> k1 = 1:length(FamilyName)    
+1120         AOmagnet.(FamilyName{k1}).ModelVal = AOmagnet.(FamilyName{k1}).TangoVal;
+1121 <span class="keyword">end</span>
+1122         
+1123 <span class="comment">%% Initialise les sliders et editboxes</span>
+1124 <span class="keyword">for</span> k = 1:handles.sliderNumber
+1125     name = [<span class="string">'popupmenu_bar'</span> num2str(k)];
+1126     contents = get(handles.(name),<span class="string">'String'</span>);
+1127     magnet = contents{get(handles.(name),<span class="string">'Value'</span>)};
+1128     
+1129     Qname = [<span class="string">'QP'</span> num2str(k)];   
+1130     
+1131     <span class="keyword">switch</span> magnet
+1132         <span class="keyword">case</span> AOmagnet.QP.CommonNames            
+1133             val = AOmagnet.QP.TangoVal(str2double(magnet(end)));
+1134         <span class="keyword">case</span> AOmagnet.CH.CommonNames
+1135             val = AOmagnet.CH.TangoVal(str2double(magnet(end)));
+1136         <span class="keyword">case</span> AOmagnet.CV.CommonNames
+1137             val = AOmagnet.CV.TangoVal(str2double(magnet(end)));
+1138     <span class="keyword">end</span>
+1139     
+1140     set(handles.([<span class="string">'slider'</span> Qname]),<span class="string">'Value'</span>, val);
+1141     set(handles.([<span class="string">'edit'</span> Qname]),<span class="string">'string'</span>, num2str(val));
+1142 <span class="keyword">end</span>
+1143 
+1144 <a href="#_sub69" class="code" title="subfunction set_model_values(handles)">set_model_values</a>(handles);
+1145 
+1146 handles = <a href="#_sub2" class="code" title="subfunction handles = computeTwiss(handles)">computeTwiss</a>(handles);
+1147 <a href="#_sub32" class="code" title="subfunction plot_axes(handles,quoi)">plot_axes</a>(handles,handles.ytype);
+1148 <span class="comment">%mat</span>
+1149         <span class="comment">%ylim([0 130]);</span>
+1150 <span class="comment">% Update handles structure</span>
+1151 guidata(hObject, handles);
+1152 
+1153 <span class="comment">%% Update date</span>
+1154 set(handles.text_date,<span class="string">'String'</span>,datestr(now,0));
+1155 
+1156 <span class="comment">%save data</span>
+1157 setappdata(handles.figure1,<span class="string">'AOmagnet'</span>,AOmagnet);
+1158 
+1159 <span class="comment">%--------------------------------------------------------------------------</span>
+1160 <a name="_sub67" href="#_subfunctions" class="code">function handles = init_handles(handles)</a>
+1161 <span class="comment">%% Inits structure storing all the magnet data</span>
+1162 
+1163 <span class="comment">%% AT model used</span>
+1164 <span class="comment">% global THERING;</span>
+1165 
+1166 A1 = getao; <span class="comment">% Load AO for the first time</span>
+1167 AOmagnet = [];
+1168 list = findmemberof(<span class="string">'Magnet'</span>);
+1169 <span class="keyword">for</span> k = 1:length(list)
+1170     AOmagnet.(list{k}) = A1.(list{k});
+1171 <span class="keyword">end</span>
+1172 clear A1;
+1173 
+1174 <span class="comment">%save data</span>
+1175 setappdata(handles.figure1,<span class="string">'AOmagnet'</span>,AOmagnet);
+1176 
+1177 <a href="#_sub68" class="code" title="subfunction store_model_values(handles)">store_model_values</a>(handles);
+1178 
+1179 <span class="comment">%% Update time</span>
+1180 set(handles.text_date,<span class="string">'String'</span>,datestr(now,0));
+1181 
+1182 <span class="comment">%--------------------------------------------------------------------------</span>
+1183 <a name="_sub68" href="#_subfunctions" class="code">function store_model_values(handles)</a>
+1184 <span class="comment">%% Stores model values in AOmagnet</span>
+1185 
+1186 AOmagnet = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>); <span class="comment">% get AOmagnet structure</span>
+1187 
+1188 <span class="comment">% Loop over magnet types</span>
+1189 FamilyName = fieldnames(AOmagnet);
+1190 
+1191 <span class="keyword">for</span> k1 = 1:length(FamilyName)
+1192     AOmagnet.(FamilyName{k1}).ModelVal = getam(FamilyName{k1},<span class="string">'Model'</span>);
+1193 <span class="keyword">end</span>
+1194 
+1195 setappdata(handles.figure1,<span class="string">'AOmagnet'</span>,AOmagnet);
+1196 
+1197 <span class="comment">%--------------------------------------------------------------------------</span>
+1198 <a name="_sub69" href="#_subfunctions" class="code">function set_model_values(handles)</a>
+1199 <span class="comment">% Set Modelvalue into LT1 AT model</span>
+1200 
+1201 AOmagnet = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>); <span class="comment">% get AOmagnet structure</span>
+1202 
+1203 <span class="comment">%% Set model values to AT</span>
+1204 FamilyName = fieldnames(AOmagnet); 
+1205 
+1206 <span class="keyword">for</span> k1 = 1:length(FamilyName)
+1207     magnet = AOmagnet.(FamilyName{k1});
+1208     setsp(FamilyName{k1}, magnet.ModelVal,<span class="string">'Model'</span>);
+1209 <span class="keyword">end</span>
+1210 
+1211 
+1212 <span class="comment">%--------------------------------------------------------------------------</span>
+1213 <a name="_sub70" href="#_subfunctions" class="code">function submenu_print_setpoint_Callback(hObject, eventdata, handles)</a>
+1214 <span class="comment">% hObject    handle to submenu_print_setpoint (see GCBO)</span>
+1215 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1216 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1217 
+1218 
+1219 <span class="comment">%--------------------------------------------------------------------------</span>
+1220 <a name="_sub71" href="#_subfunctions" class="code">function submenu_print_model_Callback(hObject, eventdata, handles)</a>
+1221 <span class="comment">% hObject    handle to submenu_print_model (see GCBO)</span>
+1222 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1223 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1224 
+1225 
+1226 <span class="comment">% -------------------------------------------------------------------------</span>
+1227 <a name="_sub72" href="#_subfunctions" class="code">function submenu_save_setpoint_Callback(hObject, eventdata, handles)</a>
+1228 <span class="comment">% hObject    handle to submenu_save_setpoint (see GCBO)</span>
+1229 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1230 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1231 
+1232 
+1233 <span class="comment">% -------------------------------------------------------------------------</span>
+1234 <a name="_sub73" href="#_subfunctions" class="code">function submenu_save_model_Callback(hObject, eventdata, handles)</a>
+1235 <span class="comment">% hObject    handle to submenu_save_model (see GCBO)</span>
+1236 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1237 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1238 
+1239 
+1240 <span class="comment">% -------------------------------------------------------------------------</span>
+1241 <a name="_sub74" href="#_subfunctions" class="code">function submenu_load_setpoint_Callback(hObject, eventdata, handles)</a>
+1242 <span class="comment">% hObject    handle to submenu_load_setpoint (see GCBO)</span>
+1243 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1244 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1245 
+1246 
+1247 <span class="comment">%--------------------------------------------------------------------------</span>
+1248 <a name="_sub75" href="#_subfunctions" class="code">function submenu_load_model_Callback(hObject, eventdata, handles)</a>
+1249 <span class="comment">% hObject    handle to submenu_load_model (see GCBO)</span>
+1250 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1251 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1252 
+1253 
+1254 <span class="comment">%--------------------------------------------------------------------------</span>
+1255 <a name="_sub76" href="#_subfunctions" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a>
+1256 <span class="comment">% hObject    handle to Untitled_1 (see GCBO)</span>
+1257 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1258 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1259 
+1260 
+1261 <span class="comment">%--------------------------------------------------------------------------</span>
+1262 <a name="_sub77" href="#_subfunctions" class="code">function Untitled_4_Callback(hObject, eventdata, handles)</a>
+1263 <span class="comment">% hObject    handle to Untitled_4 (see GCBO)</span>
+1264 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1265 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1266 
+1267 
+1268 <span class="comment">%--------------------------------------------------------------------------</span>
+1269 <a name="_sub78" href="#_subfunctions" class="code">function Untitled_7_Callback(hObject, eventdata, handles)</a>
+1270 <span class="comment">% hObject    handle to Untitled_7 (see GCBO)</span>
+1271 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1272 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1273 
+1274 
+1275 <span class="comment">% --------------------------------------------------------------------</span>
+1276 <a name="_sub79" href="#_subfunctions" class="code">function submenu_dump_model_Callback(hObject, eventdata, handles)</a>
+1277 <span class="comment">% hObject    handle to submenu_dump_model (see GCBO)</span>
+1278 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1279 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1280 
+1281 <span class="comment">% Get magnet AO</span>
+1282 AOmagnet = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>);
+1283 
+1284 fprintf(<span class="string">'  DeviceName     Model   s(m)   phasex betax(m) etax(m) xcod(mm) phasez betaz(m) etaz(m) zcod(mm)\n'</span>)
+1285 
+1286 FamilyName = fieldnames(AOmagnet); 
+1287 <span class="keyword">for</span> k1 = 1:length(FamilyName)
+1288     alias = AOmagnet.(FamilyName{k1});
+1289     <span class="keyword">for</span> k2 = 1 : length(AOmagnet.(FamilyName{k1}).CommonNames)
+1290         fprintf(<span class="string">'%15s %6.2f %6.2f  %6.2f  %6.2f  %6.2f  %6.2f  %6.2f  %6.2f  %6.2f  %6.2f \n'</span>, <span class="keyword">...</span>
+1291             alias.DeviceName{k2}, alias.ModelVal(k2), <span class="keyword">...</span><span class="comment"> </span>
+1292             handles.spos(alias.AT.ATIndex(k2),1), handles.phase(alias.AT.ATIndex(k2),1), <span class="keyword">...</span>
+1293             handles.beta(alias.AT.ATIndex(k2),1), handles.eta(alias.AT.ATIndex(k2),1), <span class="keyword">...</span>
+1294             handles.cod(alias.AT.ATIndex(k2),1), <span class="keyword">...</span>
+1295             handles.phase(alias.AT.ATIndex(k2),2), <span class="keyword">...</span>
+1296             handles.beta(alias.AT.ATIndex(k2),2), handles.eta(alias.AT.ATIndex(k2),2), <span class="keyword">...</span>
+1297             handles.cod(alias.AT.ATIndex(k2),2));
+1298     <span class="keyword">end</span>
+1299 <span class="keyword">end</span>
+1300 
+1301 
+1302 <span class="comment">%--------------------------------------------------------------------------</span>
+1303 <a name="_sub80" href="#_subfunctions" class="code">function submenu_dump_setpoint_Callback(hObject, eventdata, handles)</a>
+1304 <span class="comment">% hObject    handle to submenu_dump_setpoint (see GCBO)</span>
+1305 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1306 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1307 
+1308 <span class="comment">% Get magnet AO</span>
+1309 AOmagnet = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>);
+1310 
+1311 fprintf(<span class="string">'\n\n  DeviceName     TANGO\n'</span>)
+1312 
+1313 FamilyName = fieldnames(AOmagnet); 
+1314 <span class="keyword">for</span> k1 = 1:length(FamilyName)
+1315     <span class="keyword">for</span> k2 = 1 : length(AOmagnet.(FamilyName{k1}).CommonNames)
+1316         alias = AOmagnet.(FamilyName{k1});
+1317         fprintf(<span class="string">'%15s %6.2f \n'</span>, alias.DeviceName{k2}, <span class="keyword">...</span>
+1318             alias.TangoVal(k2));
+1319     <span class="keyword">end</span>
+1320 <span class="keyword">end</span>
+1321 
+1322 
+1323 <span class="comment">%--------------------------------------------------------------------------</span>
+1324 <a name="_sub81" href="#_subfunctions" class="code">function submenu_dump_soleil_setpoint_Callback(hObject, eventdata, handles)</a>
+1325 <span class="comment">% hObject    handle to submenu_dump_soleil_setpoint (see GCBO)</span>
+1326 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1327 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1328 
+1329 fprintf(<span class="string">'\n\n  DeviceName     Model  TANGO\n'</span>)
+1330 
+1331 <span class="comment">% Get magnet AO</span>
+1332 AOmagnet = getappdata(handles.figure1,<span class="string">'AOmagnet'</span>);
+1333 
+1334 FamilyName = fieldnames(AOmagnet); 
+1335 <span class="keyword">for</span> k1 = 1:length(FamilyName)
+1336     <span class="keyword">for</span> k2 = 1 : length(AOmagnet.(FamilyName{k1}).CommonNames)
+1337         alias = AOmagnet.(FamilyName{k1});
+1338         fprintf(<span class="string">'%15s %6.2f %6.2f\n'</span>, alias.DeviceName{k2}, <span class="keyword">...</span>
+1339             alias.ModelVal(k2), alias.TangoVal(k2));
+1340     <span class="keyword">end</span>
+1341 <span class="keyword">end</span>
+1342 
+1343 
+1344 <span class="comment">% --------------------------------------------------------------------</span>
+1345 <a name="_sub82" href="#_subfunctions" class="code">function twiss_parameters_Callback(hObject, eventdata, handles)</a>
+1346 <span class="comment">% hObject    handle to twiss_parameters (see GCBO)</span>
+1347 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1348 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1349 
+1350 
+1351 <span class="comment">% --------------------------------------------------------------------</span>
+1352 <a name="_sub83" href="#_subfunctions" class="code">function submenu_twissparameters_entry_Callback(hObject, eventdata, handles)</a>
+1353 <span class="comment">% hObject    handle to submenu_twissparameters_entry (see GCBO)</span>
+1354 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1355 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1356 
+1357 twiss_parameters_entry(handles)
+1358 
+1359 
+1360</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/UpdateMenuSuperperiod.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/UpdateMenuSuperperiod.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/UpdateMenuSuperperiod.html	(revision 17)
@@ -0,0 +1,56 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of UpdateMenuSuperperiod</title>
+  <meta name="keywords" content="UpdateMenuSuperperiod">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">plotfamily</a> &gt; UpdateMenuSuperperiod.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/plotfamily&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>UpdateMenuSuperperiod
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function UpdateMenuSuperperiod </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function UpdateMenuSuperperiod</a>
+0002 
+0003 handles = guihandles;
+0004 handles = guihandles(handles.figure1);
+0005 set(handles.all,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0006 set(handles.superperiod1,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0007 set(handles.superperiod2,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0008 set(handles.superperiod3,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0009 set(handles.superperiod4,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/index.html	(revision 17)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/plotfamily</title>
+  <meta name="keywords" content="machine/Soleil/common/plotfamily">
+  <meta name="description" content="Index for Directory machine/Soleil/common/plotfamily">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/plotfamily&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/plotfamily</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="plotfamily.html">plotfamily</a></td><td>PLOTFAMILY - Plots by family name </td></tr></table>
+
+
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/plotfamily.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/plotfamily.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/plotfamily.html	(revision 17)
@@ -0,0 +1,3913 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plotfamily</title>
+  <meta name="keywords" content="plotfamily">
+  <meta name="description" content="PLOTFAMILY - Plots by family name">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">plotfamily</a> &gt; plotfamily.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/plotfamily&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>plotfamily
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>PLOTFAMILY - Plots by family name</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = plotfamily(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">PLOTFAMILY - Plots by family name
+  Runs as a stand-alone application as well
+
+  To restrict the families to certain MemberOf group use:
+  plotfamily MemberName
+
+  FACTS
+  1. Clicking on a data point in the plot will select the device in the
+     listbox.  Clicking in the listbox will allow for a setpoint change.
+
+  2. The lattice plot can also be used to change the setpoint.
+     Just click on an object in the lattice drawing.  To remove the 
+     setpoint widget click on a drift pass or BPM.  Note that HCMs are
+     drawn above the axis and VCMs below.
+
+  3. The &quot;Common Tasks&quot; menu is a launch pad menu.  It actually has nothing
+     to do with of the plotfamily application.  Many of the typical
+     tasks for setup of storage rings are listed in this menu. 
+
+  4. Use plotfamilystartup to customize it for a particular accelerator.
+     (Look at the ALS for an example.)
+
+  5. This application can be compiled to run standalone.</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="plotfamily.html" class="code" title="function varargout = plotfamily(varargin)">plotfamily</a>	PLOTFAMILY - Plots by family name</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="plotfamily.html" class="code" title="function varargout = plotfamily(varargin)">plotfamily</a>	PLOTFAMILY - Plots by family name</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function figure1_CloseRequestFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub2" class="code">function plotfamily_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub3" class="code">function varargout = plotfamily_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function EditMiddleLayer_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function Delete_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function Timer_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function OnOff_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function OneShot_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function plotappdatalocal(handles)</a></li><li><a href="#_sub10" class="code">function RawOrbit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function GoldenOrbit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function OffsetOrbit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function SaveOrbit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function FileOrbit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function RawOrbit2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function GoldenOrbit2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function OffsetOrbit2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function SaveOrbit2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function FileOrbit2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function SaveOrbit1Now_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function LoadOrbit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function UpdateFileDisplayLocal(handles)</a></li><li><a href="#_sub23" class="code">function Display1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function Display2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function DisplayDiff_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function Trace2A_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function Trace2B_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function Trace2A_B_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function Trace2Off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function DataList1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function DataList2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function PopPlot_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function PopPlot1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function PopPlot2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function Axis1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function Axis2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function HorizontalAxis_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function HorizontalAxisSector_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function YScaleLog1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function YScaleLinear1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function YScaleLog2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function YScaleLinear2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function BPMxFamily_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function BPMyFamily_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function BPMxList_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function BPMyList_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function UpdatePeriod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function PhysicsUnits_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function HardwareUnits_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function MicronFlag_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function SaveOrbitToFile_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function Online_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function Simulate_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub54" class="code">function Sim2Machine_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function Machine2Sim_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function AddPlot_Nothing_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function DrawLattice_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function AddPlot1_LatticeAxes_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function AddPlot2_LatticeAxes_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function AddPlot_Beta_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function AddPlot_Dispersion_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function Graph1_ButtonDown(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function Graph2_ButtonDown(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function AutoScaleH_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function AutoScale1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function AutoScale2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function AutoScaleYLocal(handles)</a></li><li><a href="#_sub68" class="code">function Graph1ZoomInVertical_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function Graph1ZoomOutVertical_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function Graph2ZoomInVertical_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function Graph2ZoomOutVertical_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function Graph1OffsetDownVertical_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function Graph1OffsetUpVertical_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function Graph2OffsetDownVertical_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function Graph2OffsetUpVertical_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function HorizontalOffsetLeft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function HorizontalOffsetRight_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function Graph1ZoomInHorizontal_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function Graph1ZoomOutHorizontal_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function supercell_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function all_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function superperiod1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function superperiod2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function superperiod3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function superperiod4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub87" class="code">function ReloadGoldenOrbit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function Switch2HW_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function Switch2Physics_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function Switch2Online_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function Switch2Sim_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function Lattice_ButtonDown(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function SetpointGUI_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function SetpointRange_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function SetpointSlider_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function SetpointEditBox_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function SetpointPushButton_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function ChangeSetpointPlotfamily(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = plotfamily(varargin)</a>
+0002 <span class="comment">%PLOTFAMILY - Plots by family name</span>
+0003 <span class="comment">%  Runs as a stand-alone application as well</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  To restrict the families to certain MemberOf group use:</span>
+0006 <span class="comment">%  plotfamily MemberName</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  FACTS</span>
+0009 <span class="comment">%  1. Clicking on a data point in the plot will select the device in the</span>
+0010 <span class="comment">%     listbox.  Clicking in the listbox will allow for a setpoint change.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  2. The lattice plot can also be used to change the setpoint.</span>
+0013 <span class="comment">%     Just click on an object in the lattice drawing.  To remove the</span>
+0014 <span class="comment">%     setpoint widget click on a drift pass or BPM.  Note that HCMs are</span>
+0015 <span class="comment">%     drawn above the axis and VCMs below.</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">%  3. The &quot;Common Tasks&quot; menu is a launch pad menu.  It actually has nothing</span>
+0018 <span class="comment">%     to do with of the plotfamily application.  Many of the typical</span>
+0019 <span class="comment">%     tasks for setup of storage rings are listed in this menu.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">%  4. Use plotfamilystartup to customize it for a particular accelerator.</span>
+0022 <span class="comment">%     (Look at the ALS for an example.)</span>
+0023 <span class="comment">%</span>
+0024 <span class="comment">%  5. This application can be compiled to run standalone.</span>
+0025 
+0026 <span class="comment">%</span>
+0027 <span class="comment">%  Written by Gregory Portmann</span>
+0028 <span class="comment">%  Adapted and enhanced for SOLEIL by Laurent S. Nadolski</span>
+0029 
+0030 
+0031 <span class="comment">% Last Modified by GUIDE v2.5 17-May-2007 14:16:05</span>
+0032 
+0033 
+0034 <span class="comment">% For the compiler</span>
+0035 <span class="comment">%#function plotfamilystartup</span>
+0036 <span class="comment">%#function aoinit setao setoperationalmode srinit</span>
+0037 <span class="comment">%#function srcycle getmachineconfig setmachineconfig</span>
+0038 <span class="comment">%#function setorbitdefault findrf findrf2 rmdisp setgolden setoffset</span>
+0039 <span class="comment">%#function settune steptune setchro stepchro</span>
+0040 <span class="comment">%#function plotorbit plotorbitdata plotcm plotgoldenorbit plotoffsetorbit</span>
+0041 <span class="comment">%#function plotorbit plotdata plotbpmresp plotbpmrespsym</span>
+0042 <span class="comment">%#function plotlattice plotdisp plotchro</span>
+0043 <span class="comment">%#function monbpm getbpm monmags</span>
+0044 <span class="comment">%#function gettune</span>
+0045 <span class="comment">%#function measchro plotchro</span>
+0046 <span class="comment">%#function measdisp plotdisp</span>
+0047 <span class="comment">%#function measbpmresp meastuneresp quadcenter</span>
+0048 <span class="comment">%#function copybpmrespfile</span>
+0049 <span class="comment">%#function copybpmsigmafile</span>
+0050 <span class="comment">%#function copychrorespfile</span>
+0051 <span class="comment">%#function copydispersionfile</span>
+0052 <span class="comment">%#function copydisprespfile</span>
+0053 <span class="comment">%#function copyinjectionconfigfile</span>
+0054 <span class="comment">%#function copymachineconfigfile</span>
+0055 <span class="comment">%#function copytunerespfile</span>
+0056 <span class="comment">%#function measlocodata locogui buildlocoinput buildloco buildlocofitparameters</span>
+0057 
+0058 <span class="comment">%</span>
+0059 <span class="comment">%  Written by Gregory J. Portmann</span>
+0060 <span class="comment">%  Modified by Laurent S. Nadolski</span>
+0061 
+0062 <span class="comment">% Edit the above text to modify the response to help plotfamily</span>
+0063 
+0064 
+0065 <span class="comment">% Last modifications</span>
+0066 <span class="comment">% 13 mars 2005: returns an error if LT1 or LT2 is loaded</span>
+0067 
+0068 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0069 gui_Singleton = 0;
+0070 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0071     <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0072     <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub2" class="code" title="subfunction plotfamily_OpeningFcn(hObject, eventdata, handles, varargin)">plotfamily_OpeningFcn</a>, <span class="keyword">...</span>
+0073     <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub3" class="code" title="subfunction varargout = plotfamily_OutputFcn(hObject, eventdata, handles)">plotfamily_OutputFcn</a>, <span class="keyword">...</span>
+0074     <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0075     <span class="string">'gui_Callback'</span>,   []);
+0076 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0077     gui_State.gui_Callback = str2func(varargin{1});
+0078 <span class="keyword">end</span>
+0079 
+0080 <span class="keyword">if</span> nargout
+0081     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0082 <span class="keyword">else</span>
+0083     gui_mainfcn(gui_State, varargin{:});
+0084 <span class="keyword">end</span>
+0085 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0086 
+0087 
+0088 <span class="comment">% --- Executes when user attempts to close figure1.</span>
+0089 <a name="_sub1" href="#_subfunctions" class="code">function figure1_CloseRequestFcn(hObject, eventdata, handles)</a>
+0090 <span class="comment">% hObject    handle to figure1 (see GCBO)</span>
+0091 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0092 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0093 
+0094 <span class="comment">% Hint: delete(hObject) closes the figure</span>
+0095 delete(hObject);
+0096 
+0097 
+0098 <span class="comment">% --- Executes just before plotfamily is made visible.</span>
+0099 <a name="_sub2" href="#_subfunctions" class="code">function plotfamily_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0100 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0101 <span class="comment">% hObject    handle to figure</span>
+0102 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0103 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0104 <span class="comment">% varargin   command line arguments to plotfamily (see VARARGIN)</span>
+0105 
+0106 <span class="comment">% Choose default command line output for plotfamily</span>
+0107 handles.output = hObject;
+0108 
+0109 <span class="comment">% Update handles structure</span>
+0110 guidata(hObject, handles);
+0111 
+0112 <span class="comment">% UIWAIT makes plotfamily wait for user response (see UIRESUME)</span>
+0113 <span class="comment">% uiwait(handles.figure1);</span>
+0114 
+0115 <span class="comment">% Set defaults</span>
+0116 UpdatePeriod = 0.2;
+0117 set(handles.UpdatePeriod,<span class="string">'Label'</span>, sprintf(<span class="string">'Update Period = %.2f s'</span>,UpdatePeriod));
+0118 setappdata(handles.figure1, <span class="string">'UpdatePeriod'</span>, UpdatePeriod);
+0119 
+0120 <span class="comment">% Units  (This should get over written by the default for the BPM family)</span>
+0121 setappdata(handles.figure1,<span class="string">'UnitsFlag'</span>, 2); <span class="comment">% Hardware</span>
+0122 set(handles.PhysicsUnitsFlag,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0123 set(handles.HardwareUnitsFlag,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+0124 set(handles.MicronFlag,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0125 
+0126 setappdata(handles.figure1,<span class="string">'ChannelA'</span>,1); <span class="comment">% Monitor values</span>
+0127 setappdata(handles.figure1,<span class="string">'ChannelB'</span>,2); <span class="comment">% Golden values</span>
+0128 
+0129 <span class="comment">% Set the trace 1 defaults</span>
+0130 <span class="comment">%setappdata(handles.figure1,'Trace1',1);</span>
+0131 set(handles.DisplayDiff,<span class="string">'Value'</span>, 0);
+0132 set(handles.Display1,<span class="string">'Value'</span>, 1);
+0133 set(handles.Display2,<span class="string">'Value'</span>, 0);
+0134 setappdata(handles.figure1,<span class="string">'Trace1'</span>, 1); <span class="comment">% Plot A</span>
+0135 
+0136 setappdata(handles.figure1,<span class="string">'Trace2'</span>, 4); <span class="comment">% Plotting Off</span>
+0137 
+0138 <span class="comment">% Run initialization if it has not been run (like standalone)</span>
+0139 checkforao;
+0140 
+0141 <span class="comment">% Run initialization if it has not been run (like standalone)</span>
+0142 <span class="comment">% Define Machine Name: Booster or Storage Ring</span>
+0143 Machine = getfamilydata(<span class="string">'SubMachine'</span>);
+0144 
+0145 <span class="keyword">if</span> isempty(Machine)
+0146     error(<span class="string">'No Machine loaded'</span>);
+0147 <span class="keyword">elseif</span> strcmpi(Machine,<span class="string">'StorageRing'</span>)
+0148     namestr = <span class="string">'Storage Ring'</span>;
+0149 <span class="keyword">elseif</span> strcmpi(Machine,<span class="string">'Booster'</span>)
+0150     namestr = <span class="string">'Booster'</span>;
+0151 <span class="keyword">elseif</span> strcmpi(Machine,<span class="string">'LT1'</span>) || strcmpi(Machine,<span class="string">'LT2'</span>)
+0152     error(<span class="string">'Not working for LT1 or LT2'</span>);
+0153 <span class="keyword">else</span>
+0154     error(<span class="string">'Unknown machine\n exiting ...'</span>);
+0155 <span class="keyword">end</span>
+0156 
+0157 set(handles.accelerator_name,<span class="string">'String'</span>,namestr);
+0158 
+0159 <span class="keyword">if</span> isempty(varargin)
+0160     MemberofField = <span class="string">'PlotFamily'</span>;
+0161 <span class="keyword">else</span>
+0162     MemberofField = varargin{1};
+0163 <span class="keyword">end</span>
+0164 
+0165 <span class="comment">% Build Family menu</span>
+0166 FoundOne = 0;
+0167 FamilyName = getfamilylist;
+0168 <span class="keyword">for</span> i = 1:size(FamilyName,1)
+0169     Family = deblank(FamilyName(i,:));
+0170     
+0171     <span class="keyword">try</span>
+0172         spos = getspos(Family);
+0173     <span class="keyword">catch</span>
+0174         spos = [];
+0175     <span class="keyword">end</span>
+0176     
+0177     <span class="comment">% Only include if there are S-position for the family</span>
+0178     <span class="keyword">if</span> ~isempty(spos)
+0179         FieldList = <span class="string">''</span>;
+0180         <span class="keyword">if</span> ismemberof(Family, MemberofField)
+0181             <span class="comment">%if ismemberof(Family, 'PlotFamily') | ismemberof(Family, 'MachineConfig') | ismemberof(Family, 'BPM') | ...</span>
+0182             <span class="comment">%        ismemberof(Family, 'COR') | ismemberof(Family, 'QUAD') | ...</span>
+0183             <span class="comment">%        ismemberof(Family, 'HCM') | ismemberof(Family, 'VCM') | ...</span>
+0184             <span class="comment">%        ismemberof(Family, 'SEXT') | ismemberof(Family, 'BEND') | ...</span>
+0185             <span class="comment">%        ismemberof(Family, 'SkewQuad') | ismemberof(Family, 'SQSF') | ismemberof(Family, 'SQSD')</span>
+0186             FieldList = <span class="string">'Monitor'</span>;
+0187             FoundOne = 1;
+0188         <span class="keyword">end</span>
+0189         
+0190         <span class="comment">% Look if any other fields are part of the MachineConfig</span>
+0191         AOFamily = getfamilydata(Family);
+0192         FieldNameCell = fieldnames(AOFamily);
+0193         <span class="keyword">for</span> j = 1:size(FieldNameCell,1)
+0194             <span class="keyword">if</span> isfield(AOFamily.(FieldNameCell{j}),<span class="string">'MemberOf'</span>)
+0195                 <span class="keyword">if</span> any(strcmpi(AOFamily.(FieldNameCell{j}).MemberOf, MemberofField))
+0196                     <span class="comment">%if any(strcmpi(AOFamily.(FieldNameCell{j}).MemberOf, MemberofField)) | any(strcmpi(AOFamily.(FieldNameCell{j}).MemberOf, 'MachineConfig'))</span>
+0197                     FieldList = strvcat(FieldList,FieldNameCell{j});
+0198                     FoundOne = 1;
+0199                 <span class="keyword">end</span>
+0200             <span class="keyword">end</span>
+0201         <span class="keyword">end</span>
+0202         
+0203         <span class="comment">% Remove repeats but keep the row order</span>
+0204         [FieldListUnique, ii, jj] = unique(FieldList, <span class="string">'rows'</span>);
+0205         jj(find(diff(jj)==0)) = [];
+0206         FieldList = FieldListUnique(jj,:);
+0207         
+0208         <span class="keyword">if</span> size(FieldList,1) == 1
+0209             Menu1 = handles.BPMxFamily;
+0210             Menu2 = handles.BPMyFamily;
+0211             h1 = uimenu(Menu1, <span class="string">'Label'</span>,sprintf(<span class="string">'%s'</span>,Family), <span class="string">'Callback'</span>,<span class="string">'plotfamily(''BPMxFamily_Callback'',gcbo,[],guidata(gcbo))'</span>);
+0212             h2 = uimenu(Menu2, <span class="string">'Label'</span>,sprintf(<span class="string">'%s'</span>,Family), <span class="string">'Callback'</span>,<span class="string">'plotfamily(''BPMyFamily_Callback'',gcbo,[],guidata(gcbo))'</span>);
+0213             set(h1, <span class="string">'UserData'</span>, family2datastruct(Family, deblank(FieldList)));
+0214             set(h2, <span class="string">'UserData'</span>, family2datastruct(Family, deblank(FieldList)));
+0215             
+0216         <span class="keyword">elseif</span> size(FieldList,1) &gt; 1
+0217             <span class="comment">% Build off an extra menu</span>
+0218             Menu1 = handles.BPMxFamily;
+0219             Menu2 = handles.BPMyFamily;
+0220             Menu1 = uimenu(Menu1, <span class="string">'Label'</span>, Family);
+0221             Menu2 = uimenu(Menu2, <span class="string">'Label'</span>, Family);
+0222             
+0223             <span class="keyword">for</span> iField = 1:size(FieldList,1)
+0224                 h1 = uimenu(Menu1, <span class="string">'Label'</span>,sprintf(<span class="string">'%s.%s'</span>,Family,deblank(FieldList(iField,:))), <span class="string">'Callback'</span>,<span class="string">'plotfamily(''BPMxFamily_Callback'',gcbo,[],guidata(gcbo))'</span>);
+0225                 h2 = uimenu(Menu2, <span class="string">'Label'</span>,sprintf(<span class="string">'%s.%s'</span>,Family,deblank(FieldList(iField,:))), <span class="string">'Callback'</span>,<span class="string">'plotfamily(''BPMyFamily_Callback'',gcbo,[],guidata(gcbo))'</span>);
+0226                 set(h1, <span class="string">'UserData'</span>, family2datastruct(Family, deblank(FieldList(iField,:))));
+0227                 set(h2, <span class="string">'UserData'</span>, family2datastruct(Family, deblank(FieldList(iField,:))));
+0228             <span class="keyword">end</span>
+0229         <span class="keyword">else</span>
+0230             <span class="comment">% Skip family</span>
+0231         <span class="keyword">end</span>
+0232     <span class="keyword">end</span>
+0233 <span class="keyword">end</span>
+0234 
+0235 
+0236 <span class="keyword">if</span> ~FoundOne
+0237     <span class="comment">% if MemberOf came up empty, then put all the families in the menu</span>
+0238     <span class="keyword">for</span> i = 1:size(FamilyName,1)
+0239         <span class="keyword">try</span>
+0240             Family = deblank(FamilyName(i,:));
+0241             FamilyStruct = family2datastruct(Family,<span class="string">'Monitor'</span>);
+0242             spos = getspos(FamilyStruct);
+0243             <span class="keyword">if</span> ~isempty(spos)
+0244                 h1 = uimenu(handles.BPMxFamily, <span class="string">'Label'</span>,Family, <span class="string">'Callback'</span>,<span class="string">'plotfamily(''BPMxFamily_Callback'',gcbo,[],guidata(gcbo))'</span>);
+0245                 h2 = uimenu(handles.BPMyFamily, <span class="string">'Label'</span>,Family, <span class="string">'Callback'</span>,<span class="string">'plotfamily(''BPMyFamily_Callback'',gcbo,[],guidata(gcbo))'</span>);
+0246                 set(h1, <span class="string">'UserData'</span>, FamilyStruct);
+0247                 set(h2, <span class="string">'UserData'</span>, FamilyStruct);
+0248             <span class="keyword">end</span>
+0249         <span class="keyword">catch</span>
+0250             <span class="comment">% Skip family</span>
+0251             <span class="comment">%fprintf('Skipping family %s',Family);</span>
+0252         <span class="keyword">end</span>
+0253     <span class="keyword">end</span>
+0254 <span class="keyword">end</span>
+0255 
+0256 
+0257 <span class="comment">% Initial families</span>
+0258 <span class="keyword">try</span>
+0259     BPMFamilyCell = findmemberof(<span class="string">'BPM'</span>);
+0260     <span class="keyword">if</span> length(BPMFamilyCell) &gt;= 2
+0261         BPMxFamily = BPMFamilyCell{1};
+0262         BPMyFamily = BPMFamilyCell{2};
+0263     <span class="keyword">else</span>
+0264         Hope <span class="keyword">for</span> the best on a family name
+0265         BPMxFamily = gethbpmfamily;
+0266         BPMyFamily = getvbpmfamily;
+0267     <span class="keyword">end</span>
+0268     BPMxField = <span class="string">'Monitor'</span>;
+0269     BPMyField = <span class="string">'Monitor'</span>;
+0270     BPMxList = family2dev(BPMxFamily, 1);
+0271     BPMyList = family2dev(BPMyFamily, 1);
+0272     
+0273     set(handles.BPMxFamily,<span class="string">'Label'</span>,sprintf(<span class="string">'Family = %s'</span>, BPMxFamily));
+0274     set(handles.BPMyFamily,<span class="string">'Label'</span>,sprintf(<span class="string">'Family = %s'</span>, BPMyFamily));
+0275     
+0276     <span class="comment">% Base on first 2 families</span>
+0277     FamilyHandles = get(handles.BPMxFamily,<span class="string">'Children'</span>);
+0278     <span class="keyword">if</span> length(FamilyHandles) &gt;= 1
+0279         RawX = get(FamilyHandles(end),<span class="string">'UserData'</span>);
+0280         <span class="keyword">if</span> isempty(RawX)
+0281             FamilyHandles2 = get(FamilyHandles(end),<span class="string">'Children'</span>);
+0282             RawX = get(FamilyHandles2(end),<span class="string">'UserData'</span>);
+0283         <span class="keyword">end</span>
+0284         BPMxFamily = RawX.FamilyName;
+0285     <span class="keyword">else</span>
+0286         fprintf(<span class="string">'   No families in the MML.\n'</span>);
+0287     <span class="keyword">end</span>
+0288     <span class="keyword">if</span> length(FamilyHandles) &gt;= 2
+0289         RawY = get(FamilyHandles(end-1),<span class="string">'UserData'</span>);
+0290         <span class="keyword">if</span> isempty(RawY)
+0291             FamilyHandles2 = get(FamilyHandles(end-1),<span class="string">'Children'</span>);
+0292             RawY = get(FamilyHandles2(end),<span class="string">'UserData'</span>);
+0293         <span class="keyword">end</span>
+0294         BPMyFamily = RawY.FamilyName;
+0295     <span class="keyword">else</span>
+0296         RawY = RawX;
+0297         BPMyFamily = RawX.FamilyName;
+0298     <span class="keyword">end</span>
+0299 
+0300     <span class="comment">% Initialize Mode</span>
+0301     <span class="comment">% if strcmpi(get(handles.Simulate,'Checked'),'On')</span>
+0302     <span class="comment">%     Mode = 'Simulator';</span>
+0303     <span class="comment">% else</span>
+0304     <span class="comment">%     Mode = 'Online';</span>
+0305     <span class="comment">% end</span>
+0306     <span class="keyword">if</span> strcmpi(RawX.Mode,<span class="string">'SIMULATOR'</span>)
+0307         set(handles.Online,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0308         set(handles.Simulate,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+0309         set(handles.figure1,<span class="string">'Name'</span>,sprintf(<span class="string">'%s, Plot Family Data (Model)'</span>, getfamilydata(<span class="string">'SubMachine'</span>)));
+0310         Mode = <span class="string">'Simulator'</span>;
+0311         ModeString = <span class="string">'Model'</span>;
+0312     <span class="keyword">else</span>
+0313         set(handles.Online,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+0314         set(handles.Simulate,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0315         set(handles.figure1,<span class="string">'Name'</span>,sprintf(<span class="string">'%s, Plot Family Data (Online)'</span>, getfamilydata(<span class="string">'SubMachine'</span>)));
+0316         Mode = <span class="string">'Online'</span>;
+0317         ModeString = <span class="string">'Online'</span>;
+0318     <span class="keyword">end</span>
+0319     
+0320     MachineName     = getfamilydata(<span class="string">'Machine'</span>);
+0321     SubMachineName  = getfamilydata(<span class="string">'SubMachine'</span>);
+0322     OperationalMode = getfamilydata(<span class="string">'OperationalMode'</span>);
+0323     <span class="comment">%set(handles.figure1,'Name',sprintf('Plot Family:  %s %s (%s)', MachineName, SubMachineName, ModeString));</span>
+0324     set(handles.figure1,<span class="string">'Name'</span>,sprintf(<span class="string">'Plot Family:  %s  -  %s  -  %s  (%s)'</span>, MachineName, SubMachineName, OperationalMode, ModeString));
+0325 
+0326 
+0327     <span class="comment">% Initialize Units</span>
+0328     <span class="keyword">if</span> strcmpi(RawX.Units,<span class="string">'Physics'</span>)
+0329         setappdata(handles.figure1,<span class="string">'UnitsFlag'</span>, 1);
+0330         set(handles.(<span class="string">'PhysicsUnitsFlag'</span>),<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+0331         set(handles.(<span class="string">'HardwareUnitsFlag'</span>),<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0332         set(handles.(<span class="string">'MicronFlag'</span>),<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0333         UnitsFlag = <span class="string">'Physics'</span>;
+0334     <span class="keyword">else</span>
+0335         setappdata(handles.figure1,<span class="string">'UnitsFlag'</span>, 2);
+0336         set(handles.(<span class="string">'PhysicsUnitsFlag'</span>),<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0337         set(handles.(<span class="string">'HardwareUnitsFlag'</span>),<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+0338         set(handles.(<span class="string">'MicronFlag'</span>),<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+0339         UnitsFlag = <span class="string">'Hardware'</span>;
+0340     <span class="keyword">end</span>
+0341 
+0342     set(handles.(<span class="string">'BPMxFamily'</span>),<span class="string">'Label'</span>,sprintf(<span class="string">'Plot: %s'</span>, BPMxFamily));
+0343     set(handles.(<span class="string">'BPMyFamily'</span>),<span class="string">'Label'</span>,sprintf(<span class="string">'Plot: %s'</span>, BPMyFamily));
+0344 
+0345     setappdata(handles.figure1, <span class="string">'BPMxFamily'</span>, RawX);
+0346     setappdata(handles.figure1, <span class="string">'BPMyFamily'</span>, RawY);
+0347 
+0348     setappdata(handles.figure1,<span class="string">'RawX'</span>, RawX);
+0349     setappdata(handles.figure1,<span class="string">'RawY'</span>, RawY);
+0350 
+0351     setappdata(handles.figure1,<span class="string">'SaveX'</span>, RawX);
+0352     setappdata(handles.figure1,<span class="string">'SaveY'</span>, RawY);
+0353     set(handles.SaveTime,<span class="string">'String'</span>, <span class="string">'Not saved'</span>);
+0354 
+0355     setappdata(handles.figure1,<span class="string">'FileX'</span>, RawX);
+0356     setappdata(handles.figure1,<span class="string">'FileY'</span>, RawY);
+0357 
+0358     setappdata(handles.figure1,<span class="string">'FileNameX'</span>,<span class="string">''</span>);
+0359     set(handles.FileNameX,<span class="string">'String'</span>, <span class="string">''</span>);
+0360     set(handles.FileNameY,<span class="string">'String'</span>, <span class="string">''</span>);
+0361     p = get(handles.FileName,<span class="string">'Position'</span>);
+0362     <span class="comment">%set(handles.('FileName'),'Position', [p(1) 4 p(3) p(4)]);   % Points</span>
+0363     set(handles.FileNameX,<span class="string">'Position'</span>, [p(1) .8 p(3) p(4)]);   <span class="comment">% Characters</span>
+0364     p = get(handles.SaveTime,<span class="string">'Position'</span>);
+0365     <span class="comment">%set(handles.SaveTime,'Position', [p(1) 16.5 p(3) p(4)]); % Points</span>
+0366     set(handles.SaveTime,<span class="string">'Position'</span>, [p(1) 1.6 p(3) p(4)]);   <span class="comment">% Characters</span>
+0367     
+0368     <span class="comment">% Look to see it the AT model needs to be changed for this family</span>
+0369     ATModelNumber = getfamilydata(BPMxFamily, <span class="string">'AT'</span>, <span class="string">'ATModel'</span>);
+0370     <span class="keyword">if</span> ~isempty(ATModelNumber)
+0371         <span class="keyword">global</span> THERING THERINGCELL
+0372         THERING = THERINGCELL{ATModelNumber};
+0373         setfamilydata(findspos(THERING,length(THERING)+1), <span class="string">'Circumference'</span>);
+0374     <span class="keyword">end</span>
+0375 
+0376 <span class="keyword">catch</span>
+0377 
+0378     <span class="comment">% Starting units</span>
+0379     UnitMenu = getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>);
+0380     <span class="keyword">if</span> UnitMenu == 1
+0381         UnitsFlag = <span class="string">'Physics'</span>;
+0382     <span class="keyword">else</span>
+0383         UnitsFlag = <span class="string">'Hardware'</span>;
+0384     <span class="keyword">end</span>
+0385 
+0386     <span class="comment">% Initialize Mode</span>
+0387     <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+0388         Mode = <span class="string">'Simulator'</span>;
+0389     <span class="keyword">else</span>
+0390         Mode = <span class="string">'Online'</span>;
+0391     <span class="keyword">end</span>
+0392 
+0393 <span class="keyword">end</span>
+0394 
+0395 
+0396 <span class="comment">% % Look for the golden values</span>
+0397 <span class="comment">% try</span>
+0398 <span class="comment">%     GoldenValues = getgolden(BPMxFamily, BPMxList, 'Struct');</span>
+0399 <span class="comment">%     setappdata(handles.figure1,'GoldenX', GoldenValues);</span>
+0400 <span class="comment">% catch</span>
+0401 <span class="comment">%     setappdata(handles.figure1,'GoldenX', RawX);</span>
+0402 <span class="comment">% end</span>
+0403 <span class="comment">%</span>
+0404 <span class="comment">% % Look for the offset values</span>
+0405 <span class="comment">% try</span>
+0406 <span class="comment">%     OffsetValues = getoffset(BPMxFamily, BPMxList, 'Struct');</span>
+0407 <span class="comment">%     setappdata(handles.figure1,'OffsetX', OffsetValues);</span>
+0408 <span class="comment">% catch</span>
+0409 <span class="comment">%     if isempty(OffsetValues)</span>
+0410 <span class="comment">%         try</span>
+0411 <span class="comment">%             % If and offset does not exist than try using the setpoint</span>
+0412 <span class="comment">%             setappdata(handles.figure1,'OffsetX', getsp(BPMxFamily, BPMxList, Mode, 'Struct'));</span>
+0413 <span class="comment">%         catch</span>
+0414 <span class="comment">%             % Use zeros</span>
+0415 <span class="comment">%             setappdata(handles.figure1,'OffsetX', RawX);</span>
+0416 <span class="comment">%         end</span>
+0417 <span class="comment">%     end</span>
+0418 <span class="comment">% end</span>
+0419 <span class="comment">%</span>
+0420 <span class="comment">% % Look for the golden values</span>
+0421 <span class="comment">% try</span>
+0422 <span class="comment">%     GoldenValues = getgolden(BPMyFamily, BPMyList, 'Struct');</span>
+0423 <span class="comment">%     setappdata(handles.figure1,'GoldenY', GoldenValues);</span>
+0424 <span class="comment">% catch</span>
+0425 <span class="comment">%     setappdata(handles.figure1,'GoldenY', RawY);</span>
+0426 <span class="comment">% end</span>
+0427 <span class="comment">%</span>
+0428 <span class="comment">% % Look for the offset values</span>
+0429 <span class="comment">% try</span>
+0430 <span class="comment">%     OffsetValues = getoffset(BPMyFamily, BPMyList, 'Struct');</span>
+0431 <span class="comment">%     setappdata(handles.figure1,'OffsetY', OffsetValues);</span>
+0432 <span class="comment">% catch</span>
+0433 <span class="comment">%     try</span>
+0434 <span class="comment">%         % If and offset does not exist than try using the setpoint</span>
+0435 <span class="comment">%         setappdata(handles.figure1,'OffsetY', getsp(BPMyFamily, BPMyList, Mode, 'Struct'));</span>
+0436 <span class="comment">%     catch</span>
+0437 <span class="comment">%         % Use zeros</span>
+0438 <span class="comment">%         setappdata(handles.figure1,'OffsetY', RawY);</span>
+0439 <span class="comment">%     end</span>
+0440 <span class="comment">% end</span>
+0441 
+0442 <span class="comment">%% Sets axes for Graph1</span>
+0443 L = getfamilydata(<span class="string">'Circumference'</span>);
+0444 
+0445 <span class="keyword">try</span>
+0446     s = getspos(RawX);
+0447     setappdata(handles.figure1, <span class="string">'SPosX'</span>, s);
+0448     <span class="keyword">if</span> isempty(L)
+0449         L = max(s);
+0450     <span class="keyword">end</span>
+0451     <span class="comment">%setappdata(handles.figure1, 'AxisRange1X', [min(s) max(s)]);</span>
+0452 <span class="keyword">catch</span>
+0453     <span class="comment">%setappdata(handles.figure1, 'SPosX', 1:size(RawX.DeviceList,1));</span>
+0454 <span class="keyword">end</span>
+0455 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, [0 L]);
+0456 
+0457 <span class="comment">%% Sets axes for Graph2</span>
+0458 <span class="keyword">try</span>
+0459     s = getspos(RawY);
+0460     setappdata(handles.figure1, <span class="string">'SPosY'</span>, s);
+0461     <span class="comment">%setappdata(handles.figure1, 'AxisRange2X', [min(s) max(s)]);</span>
+0462 <span class="keyword">catch</span>
+0463     <span class="comment">%setappdata(handles.figure1, 'SPosY', 1:size(RawY.DeviceList,1));</span>
+0464 <span class="keyword">end</span>
+0465 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, [0 L]);
+0466 
+0467 
+0468 <span class="comment">% Update time</span>
+0469 set(handles.Time, <span class="string">'String'</span>, <span class="string">''</span>);
+0470 
+0471 
+0472 <span class="comment">% Initialize plots</span>
+0473 set(handles.Graph1, <span class="string">'XLim'</span>, [0 L]);
+0474 set(handles.Graph2, <span class="string">'XLim'</span>, [0 L]);
+0475 
+0476 p1 = [0.07    0.66    0.69    0.28];
+0477 set(handles.Graph1, <span class="string">'Position'</span>, p1);
+0478 set(handles.Graph3, <span class="string">'Position'</span>, p1);
+0479 
+0480 p2 = [0.07    0.26    0.69    0.28];
+0481 set(handles.Graph2, <span class="string">'Position'</span>, p2);
+0482 set(handles.Graph4, <span class="string">'Position'</span>, p2);
+0483 
+0484 plot(handles.Graph3, NaN, NaN);
+0485 set(handles.Graph3, <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+0486 set(handles.Graph3, <span class="string">'color'</span>, <span class="string">'none'</span>);
+0487 set(handles.Graph3, <span class="string">'XLim'</span>, [0 L]);
+0488 
+0489 plot(handles.Graph4, NaN,NaN);
+0490 set(handles.Graph4, <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+0491 set(handles.Graph4, <span class="string">'color'</span>, <span class="string">'none'</span>);
+0492 set(handles.Graph4, <span class="string">'XLim'</span>, [0 L]);
+0493 
+0494 
+0495 <span class="comment">%axes(handles.LatticeAxes);</span>
+0496 <span class="keyword">try</span>
+0497     drawlattice(0, 1.1, handles.LatticeAxes);
+0498 <span class="keyword">catch</span>
+0499     d = .01;
+0500     p1 = [0.07    0.65-d    0.74    0.29+d];
+0501     set(handles.Graph1, <span class="string">'Position'</span>, p1);
+0502     set(handles.Graph3, <span class="string">'Position'</span>, p1);
+0503 
+0504     p2 = [0.07    0.27    0.74    0.29+d];
+0505     set(handles.Graph2, <span class="string">'Position'</span>, p2);
+0506     set(handles.Graph4, <span class="string">'Position'</span>, p2);
+0507 
+0508     set(handles.DrawLattice, <span class="string">'Checked'</span>, <span class="string">'Off'</span>);
+0509     set(get(handles.LatticeAxes,<span class="string">'Children'</span>), <span class="string">'Visible'</span> , <span class="string">'Off'</span>);
+0510 <span class="keyword">end</span>
+0511 
+0512 <span class="keyword">try</span>
+0513     set(handles.LatticeAxes,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+0514     set(handles.LatticeAxes,<span class="string">'Color'</span>,<span class="string">'None'</span>);
+0515     set(handles.LatticeAxes,<span class="string">'XMinorTick'</span>,<span class="string">'Off'</span>);
+0516     set(handles.LatticeAxes,<span class="string">'XMinorGrid'</span>,<span class="string">'Off'</span>);
+0517     set(handles.LatticeAxes,<span class="string">'YMinorTick'</span>,<span class="string">'Off'</span>);
+0518     set(handles.LatticeAxes,<span class="string">'YMinorGrid'</span>,<span class="string">'Off'</span>);
+0519     set(handles.LatticeAxes,<span class="string">'XTickLabel'</span>,[]);
+0520     set(handles.LatticeAxes,<span class="string">'YTickLabel'</span>,[]);
+0521     set(handles.LatticeAxes,<span class="string">'XLim'</span>, [0 L]);
+0522     set(handles.LatticeAxes,<span class="string">'YLim'</span>, [-1.5 1.5]);
+0523 
+0524 
+0525     <span class="comment">% Add callback on each lattice element</span>
+0526     <span class="comment">% set(handles.LatticeAxes ,'ButtonDownFcn','plotfamily(''Lattice_ButtonDown'',gcbo,[],guidata(gcbo))');</span>
+0527     h = get(handles.LatticeAxes,<span class="string">'Children'</span>);
+0528     <span class="keyword">for</span> i = 1:length(h)
+0529         <span class="comment">%ATIndex = get(h(i), 'UserData');</span>
+0530         set(h(i), <span class="string">'ButtonDownFcn'</span>, <span class="string">'plotfamily(''Lattice_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+0531     <span class="keyword">end</span>
+0532 <span class="keyword">catch</span>
+0533 <span class="keyword">end</span>
+0534 
+0535 
+0536 
+0537 
+0538 <span class="comment">% % Build middle layer edit menus</span>
+0539 <span class="comment">% %h = addmenuao(handles.('EditMiddleLayerAO'));</span>
+0540 <span class="comment">% %set(h, 'Label', 'Middle Layer Family Setup');</span>
+0541 <span class="comment">%</span>
+0542 <span class="comment">% hmenu = handles.('EditMiddleLayerAO');</span>
+0543 <span class="comment">% LabelString = 'Middle Layer Family Setup';</span>
+0544 <span class="comment">% ParentLabelString = 'MiddleLayer';</span>
+0545 <span class="comment">% DataStructure0 = getao;</span>
+0546 <span class="comment">% if isempty(DataStructure0)</span>
+0547 <span class="comment">%     aoinit;</span>
+0548 <span class="comment">% end</span>
+0549 <span class="comment">%</span>
+0550 <span class="comment">%</span>
+0551 <span class="comment">% % Build middle menu tree</span>
+0552 <span class="comment">% DataStructFieldName1 = fieldnames(DataStructure0);</span>
+0553 <span class="comment">% for i = 1:length(DataStructFieldName1)</span>
+0554 <span class="comment">%     DataStructure1 = DataStructure0.(DataStructFieldName1{i});</span>
+0555 <span class="comment">%     if isstruct(DataStructure1)</span>
+0556 <span class="comment">%         hmenu1 = uimenu(hmenu, 'Label',DataStructFieldName1{i}, 'Callback','');</span>
+0557 <span class="comment">%         DataStructFieldName2 = fieldnames(DataStructure1);</span>
+0558 <span class="comment">%         for j = 1:length(DataStructFieldName2)</span>
+0559 <span class="comment">%             DataStructure2 = DataStructure1.(DataStructFieldName2{j});</span>
+0560 <span class="comment">%             if isstruct(DataStructure2)</span>
+0561 <span class="comment">%                 hmenu2 = uimenu(hmenu1, 'Label',DataStructFieldName2{j}, 'Callback','');</span>
+0562 <span class="comment">%                 DataStructFieldName3 = fieldnames(DataStructure2);</span>
+0563 <span class="comment">%                 for k = 1:length(DataStructFieldName3)</span>
+0564 <span class="comment">%                     DataStructure3 = DataStructure2.(DataStructFieldName3{k});</span>
+0565 <span class="comment">%                     if isstruct(DataStructure3)</span>
+0566 <span class="comment">%                         hmenu3 = uimenu(hmenu2, 'Label',DataStructFieldName3{k}, 'Callback','');</span>
+0567 <span class="comment">%                         DataStructFieldName4 = fieldnames(DataStructure3);</span>
+0568 <span class="comment">%                         for l = 1:length(DataStructFieldName4)</span>
+0569 <span class="comment">%                             hmenu4 = uimenu(hmenu3, 'Label', DataStructFieldName4{l});</span>
+0570 <span class="comment">%                             set(hmenu4,'UserData', {DataStructure3.(DataStructFieldName4{l}) , DataStructFieldName1{l}, DataStructFieldName2{k}, DataStructFieldName3{k}, DataStructFieldName4{i}});</span>
+0571 <span class="comment">%                             set(hmenu4,'Callback', 'plotfamily(''EditMiddleLayer_Callback'',gcbo,[],guidata(gcbo))');</span>
+0572 <span class="comment">%                         end</span>
+0573 <span class="comment">%                     else</span>
+0574 <span class="comment">%                         hmenu3 = uimenu(hmenu2, 'Label',DataStructFieldName3{k});</span>
+0575 <span class="comment">%                         set(hmenu3,'UserData', {DataStructure3, DataStructFieldName1{i}, DataStructFieldName2{j}, DataStructFieldName3{k}});</span>
+0576 <span class="comment">%                         set(hmenu3,'Callback', 'plotfamily(''EditMiddleLayer_Callback'',gcbo,[],guidata(gcbo))');</span>
+0577 <span class="comment">%                     end</span>
+0578 <span class="comment">%                 end</span>
+0579 <span class="comment">%             else</span>
+0580 <span class="comment">%                 hmenu2 = uimenu(hmenu1, 'Label',DataStructFieldName2{j});</span>
+0581 <span class="comment">%                 set(hmenu2,'UserData', {DataStructure2, DataStructFieldName1{i}, DataStructFieldName2{j}});</span>
+0582 <span class="comment">%                 set(hmenu2,'Callback', 'plotfamily(''EditMiddleLayer_Callback'',gcbo,[],guidata(gcbo))');</span>
+0583 <span class="comment">%             end</span>
+0584 <span class="comment">%         end</span>
+0585 <span class="comment">%     else</span>
+0586 <span class="comment">%         hmenu1 = uimenu(hmenu, 'Label', DataStructFieldName1{i});</span>
+0587 <span class="comment">%         set(hmenu1,'UserData', {DataStructure1, DataStructFieldName1{i}});</span>
+0588 <span class="comment">%         set(hmenu1,'Callback', 'plotfamily(''EditMiddleLayer_Callback'',gcbo,[],guidata(gcbo))');</span>
+0589 <span class="comment">%     end</span>
+0590 <span class="comment">% end</span>
+0591 
+0592 
+0593 <span class="comment">% % Build the AD menu</span>
+0594 <span class="comment">% set(addmenuad(handles.EditMiddleLayerAD), 'Label', 'Middle Layer Parameter Setup');</span>
+0595 set(handles.EditMiddleLayerAO, <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+0596 set(handles.EditMiddleLayerAD, <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+0597 
+0598 
+0599 <span class="comment">% Machine specific startup function</span>
+0600 <span class="keyword">if</span> exist(<span class="string">'plotfamilystartup'</span>, <span class="string">'file'</span>)
+0601     plotfamilystartup(handles);
+0602 <span class="keyword">end</span>
+0603 
+0604 
+0605 <span class="comment">% Refresh once</span>
+0606 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+0607 
+0608 
+0609 
+0610 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0611 <a name="_sub3" href="#_subfunctions" class="code">function varargout = plotfamily_OutputFcn(hObject, eventdata, handles)</a>
+0612 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0613 <span class="comment">% hObject    handle to figure</span>
+0614 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0615 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0616 
+0617 <span class="comment">% Get default command line output from handles structure</span>
+0618 <span class="keyword">if</span> isfield(handles,<span class="string">'output'</span>)
+0619     varargout{1} = handles.output;
+0620 <span class="keyword">end</span>
+0621 
+0622 
+0623 <span class="comment">% --- Executes onoff button press in OnOff.</span>
+0624 <a name="_sub4" href="#_subfunctions" class="code">function EditMiddleLayer_Callback(hObject, eventdata, handles)</a>
+0625 
+0626 Data = get(hObject, <span class="string">'UserData'</span>);
+0627 
+0628 <span class="comment">% Get up-to-date data</span>
+0629 Data{1} = getfamilydata(Data{2:end});
+0630 TitleString = sprintf(<span class="string">'%s '</span>,Data{2:end});
+0631 AddOpts.Resize=<span class="string">'on'</span>;
+0632 AddOpts.WindowStyle=<span class="string">'normal'</span>;
+0633 AddOpts.Interpreter=<span class="string">'tex'</span>;
+0634 
+0635 <span class="keyword">if</span> length(Data) &gt;= 3 &amp;&amp; (strcmpi(deblank(Data{3}),<span class="string">'Status'</span>) || strcmpi(deblank(Data{3}),<span class="string">'DeviceList'</span>) || strcmpi(deblank(Data{3}),<span class="string">'ElementList'</span>)) 
+0636     <span class="keyword">if</span> strcmpi(deblank(Data{3}),<span class="string">'ElementList'</span>)
+0637         DeviceList = getfamilydata(deblank(Data{2}), <span class="string">'ElementList'</span>);
+0638     <span class="keyword">else</span>
+0639         DeviceList = getfamilydata(deblank(Data{2}), <span class="string">'DeviceList'</span>);
+0640     <span class="keyword">end</span>
+0641     Status = getfamilydata(deblank(Data{2}), <span class="string">'Status'</span>);
+0642     DeviceListNew = editlist(DeviceList, deblank(Data{2}), Status);
+0643     
+0644     [i, iNotFound] = findrowindex(DeviceListNew, DeviceList);
+0645     
+0646     <span class="keyword">if</span> size(Status,1) == 1
+0647         DeviceListTotal = family2dev(Data{2}, 0);
+0648         Status = zeros(size(DeviceListTotal,1),1);
+0649     <span class="keyword">else</span>
+0650         Status = 0 * Status;
+0651     <span class="keyword">end</span>
+0652     Status(i) = 1;
+0653     setfamilydata(Status, deblank(Data{2}), <span class="string">'Status'</span>); 
+0654     
+0655 <span class="keyword">elseif</span> isnumeric(Data{1})
+0656     answer = inputdlg({sprintf(<span class="string">'Change %s '</span>,TitleString)}, <span class="string">'Edit Middle Layer Family'</span>, size(Data{1},1), {num2str(Data{1})}, AddOpts);
+0657     <span class="keyword">if</span> isempty(answer)
+0658         <span class="keyword">return</span>
+0659     <span class="keyword">end</span>
+0660     Data{1} = str2num(answer{1});
+0661     set(hObject, <span class="string">'UserData'</span>, Data);
+0662     setfamilydata(Data{1:end});
+0663 <span class="keyword">elseif</span> strcmpi(Data{2},<span class="string">'Directory'</span>)
+0664     answer = uigetdir(Data{1}, sprintf(<span class="string">'Change directory location for %s'</span>, Data{3}));
+0665     <span class="keyword">if</span> answer == 0
+0666         <span class="keyword">return</span>
+0667     <span class="keyword">end</span>
+0668     Data{1} = answer;
+0669     set(hObject, <span class="string">'UserData'</span>, Data);
+0670     setfamilydata(Data{1:end});    
+0671     
+0672 <span class="keyword">elseif</span> ischar(Data{1})
+0673     answer = inputdlg({sprintf(<span class="string">'Change %s '</span>,TitleString)}, <span class="string">'Edit Middle Layer Family'</span>, size(Data{1},1), {num2str(Data{1})}, AddOpts);
+0674     <span class="keyword">if</span> isempty(answer)
+0675         <span class="keyword">return</span>
+0676     <span class="keyword">end</span>
+0677     Data{1} = answer{1};
+0678     set(hObject, <span class="string">'UserData'</span>, Data);
+0679     setfamilydata(Data{1:end});
+0680 <span class="keyword">end</span>
+0681 
+0682 
+0683 <span class="comment">% Reset graphs</span>
+0684 <a href="#_sub43" class="code" title="subfunction BPMxFamily_Callback(hObject, eventdata, handles)">BPMxFamily_Callback</a>([], eventdata, handles);
+0685 <a href="#_sub44" class="code" title="subfunction BPMyFamily_Callback(hObject, eventdata, handles)">BPMyFamily_Callback</a>([], eventdata, handles);
+0686 
+0687 
+0688 <span class="comment">% --- Executes on delete</span>
+0689 <a name="_sub5" href="#_subfunctions" class="code">function Delete_Callback(hObject, eventdata, handles)</a>
+0690 
+0691 <span class="comment">% If timer is on, then turn it off by deleting the timer handle</span>
+0692 <span class="keyword">try</span>
+0693     <span class="comment">%h = get(gcbf, 'UserData');</span>
+0694     h = get(handles.figure1, <span class="string">'UserData'</span>);
+0695     <span class="keyword">if</span> isfield(h,<span class="string">'TimerHandle'</span>)
+0696         stop(h.TimerHandle);
+0697         delete(h.TimerHandle);
+0698     <span class="keyword">end</span>
+0699 <span class="keyword">catch</span>
+0700     fprintf(<span class="string">'   Trouble stopping the timer on exit.\n'</span>);
+0701 <span class="keyword">end</span>
+0702 
+0703 
+0704 
+0705 <span class="comment">% --- Executes onoff button press in OnOff.</span>
+0706 <a name="_sub6" href="#_subfunctions" class="code">function Timer_Callback(hObject, eventdata, handles)</a>
+0707 <span class="comment">% Timer method</span>
+0708 
+0709 <span class="comment">%disp('Timer executed.');</span>
+0710 <span class="comment">%handles = get(eventdata, 'UserData');</span>
+0711 handles = get(hObject, <span class="string">'UserData'</span>);
+0712 <a href="plotfamily.html" class="code" title="function varargout = plotfamily(varargin)">plotfamily</a>(<span class="string">'OneShot_Callback'</span>, hObject, [], handles);
+0713 
+0714 
+0715 <span class="comment">% --- Executes onoff button press in OnOff.</span>
+0716 <a name="_sub7" href="#_subfunctions" class="code">function OnOff_Callback(hObject, eventdata, handles)</a>
+0717 <span class="comment">% Timer method</span>
+0718 
+0719 <span class="comment">% % Update the title bar</span>
+0720 <span class="comment">% MachineName     = getfamilydata('Machine');</span>
+0721 <span class="comment">% SubMachineName  = getfamilydata('SubMachine');</span>
+0722 <span class="comment">% OperationalMode = getfamilydata('OperationalMode');</span>
+0723 <span class="comment">% if strcmpi(get(handles.Simulate,'Checked'),'On')</span>
+0724 <span class="comment">%     set(handles.figure1,'Name',sprintf('Plot Family:  %s  -  %s  -  %s  (%s)', MachineName, SubMachineName, OperationalMode, 'Model'));</span>
+0725 <span class="comment">% else</span>
+0726 <span class="comment">%     set(handles.figure1,'Name',sprintf('Plot Family:  %s  -  %s  -  %s  (%s)', MachineName, SubMachineName, OperationalMode, 'Online'));</span>
+0727 <span class="comment">% end</span>
+0728 
+0729 OnFlag = get(handles.OnOff, <span class="string">'Value'</span>);
+0730 
+0731 <span class="keyword">if</span> OnFlag
+0732     <span class="comment">% Turn on updates</span>
+0733     set(handles.OnOff, <span class="string">'String'</span>, <span class="string">'Running'</span>);    
+0734         
+0735     <span class="comment">% Turn LatticeAxes menu back off</span>
+0736     set(handles.LatticeMenu,<span class="string">'enable'</span>,<span class="string">'off'</span>);
+0737 
+0738     <span class="comment">% Setup timer</span>
+0739     UpdatePeriod = getappdata(handles.figure1, <span class="string">'UpdatePeriod'</span>);    
+0740     t = timer;
+0741     set(t,<span class="string">'StartDelay'</span>,0);
+0742     set(t,<span class="string">'Period'</span>, UpdatePeriod);
+0743     <span class="comment">%set(t,'TimerFcn', 'plotfamily(''OneShot_Callback'', getfield(get(timerfind(''Tag'',''PlotFamilyTimer''),''Userdata''),''figure1''), [], get(timerfind(''Tag'',''PlotFamilyTimer''),''Userdata''));');</span>
+0744     set(t,<span class="string">'TimerFcn'</span>, [<span class="string">'plotfamily(''Timer_Callback'','</span>, sprintf(<span class="string">'%.30f'</span>,handles.figure1), <span class="string">','</span>,sprintf(<span class="string">'%.30f'</span>,handles.figure1), <span class="string">', [])'</span>]);
+0745     set(t,<span class="string">'UserData'</span>, handles);   
+0746     set(t,<span class="string">'BusyMode'</span>, <span class="string">'drop'</span>);  <span class="comment">%'queue'</span>
+0747     set(t,<span class="string">'TasksToExecute'</span>, Inf);
+0748     set(t,<span class="string">'ExecutionMode'</span>, <span class="string">'FixedRate'</span>);
+0749     set(t,<span class="string">'Tag'</span>, <span class="string">'PlotFamilyTimer'</span>);
+0750 
+0751     handles.TimerHandle = t;
+0752     set(handles.figure1, <span class="string">'UserData'</span>, handles);
+0753 
+0754     <span class="comment">% Change Color</span>
+0755     set(handles.OnOff, <span class="string">'String'</span>, <span class="string">'Running'</span>, <span class="string">'BackgroundColor'</span>,[0 1 0]);
+0756 
+0757     start(t);
+0758     
+0759 <span class="keyword">else</span>
+0760     <span class="keyword">try</span>
+0761         <span class="comment">% Turn off updating by deleting timer handle</span>
+0762         h = get(handles.figure1, <span class="string">'UserData'</span>);
+0763         stop(h.TimerHandle);
+0764         delete(h.TimerHandle);
+0765         h = rmfield(h, <span class="string">'TimerHandle'</span>);
+0766         set(handles.figure1, <span class="string">'UserData'</span>, h);
+0767         
+0768         <span class="comment">% Delete all timers</span>
+0769         <span class="comment">%h = timerfind('Tag','PlotFamilyTimer');</span>
+0770         <span class="comment">%for i = 1:length(h)</span>
+0771         <span class="comment">%    stop(h(i));</span>
+0772         <span class="comment">%    delete(h(i));</span>
+0773         <span class="comment">%end</span>
+0774 
+0775         <span class="comment">% Change OnOff label string</span>
+0776         set(handles.OnOff, <span class="string">'String'</span>, <span class="string">'Continuous'</span>, <span class="string">'BackgroundColor'</span>,[0.81 0.81 0.81]);
+0777         <span class="comment">% Turn LatticeAxes menu back on</span>
+0778         set(handles.LatticeMenu,<span class="string">'enable'</span>,<span class="string">'on'</span>);
+0779 
+0780     <span class="keyword">catch</span>
+0781         fprintf(<span class="string">'   Trouble stopping the timer.\n'</span>);
+0782     <span class="keyword">end</span>
+0783 <span class="keyword">end</span>
+0784 
+0785 
+0786 <span class="comment">% % --- Executes onoff button press in OnOff.</span>
+0787 <span class="comment">% function OnOff_Callback(hObject, eventdata, handles)</span>
+0788 <span class="comment">% % Uses delay (not Timer)</span>
+0789 <span class="comment">%</span>
+0790 <span class="comment">% OrbitFeedbackFlag = 0;</span>
+0791 <span class="comment">%</span>
+0792 <span class="comment">% % Turn latticeaxes menu back off</span>
+0793 <span class="comment">% set(handles.('LatticeMenu'),'enable','off');</span>
+0794 <span class="comment">%</span>
+0795 <span class="comment">% if strcmpi(get(handles.Simulate,'Checked'),'On')</span>
+0796 <span class="comment">%     Mode = 'Simulator';</span>
+0797 <span class="comment">% else</span>
+0798 <span class="comment">%     Mode = 'Online';</span>
+0799 <span class="comment">% end</span>
+0800 <span class="comment">%</span>
+0801 <span class="comment">% BPMxFamily = getappdata(handles.figure1, 'BPMxFamily');</span>
+0802 <span class="comment">% BPMxList = getappdata(handles.figure1, 'BPMxList');</span>
+0803 <span class="comment">% BPMyFamily = getappdata(handles.figure1, 'BPMyFamily');</span>
+0804 <span class="comment">% BPMyList = getappdata(handles.figure1, 'BPMyList');</span>
+0805 <span class="comment">%</span>
+0806 <span class="comment">% OnFlag = get(handles.('OnOff'),'Value');</span>
+0807 <span class="comment">% if OnFlag</span>
+0808 <span class="comment">%     % Turn on updates</span>
+0809 <span class="comment">%     set(handles.('OnOff'), 'String', 'Running')</span>
+0810 <span class="comment">% end</span>
+0811 <span class="comment">%</span>
+0812 <span class="comment">% if OrbitFeedbackFlag</span>
+0813 <span class="comment">%     [Nbpm, Tbpm] = getbpmaverages;</span>
+0814 <span class="comment">%     Tbpm = max(Tbpm);</span>
+0815 <span class="comment">% end</span>
+0816 <span class="comment">%</span>
+0817 <span class="comment">% while OnFlag</span>
+0818 <span class="comment">%     t0 = gettime;</span>
+0819 <span class="comment">%     OnFlag = get(handles.('OnOff'),'Value');</span>
+0820 <span class="comment">%     UpdatePeriod = getappdata(handles.figure1, 'UpdatePeriod');</span>
+0821 <span class="comment">%</span>
+0822 <span class="comment">%     if OnFlag</span>
+0823 <span class="comment">%         % Get new data</span>
+0824 <span class="comment">%         try</span>
+0825 <span class="comment">%             RawX = getam(BPMxFamily, BPMxList, Mode, 'Struct');</span>
+0826 <span class="comment">%         catch</span>
+0827 <span class="comment">%             RawX.Data = NaN*zeros(size(BPMxList,1),1);</span>
+0828 <span class="comment">%             RawX.Units = 'Hardware';</span>
+0829 <span class="comment">%             RawX.TimeStamp = clock;</span>
+0830 <span class="comment">%             fprintf('   %s, GETAM trouble in family %s\n', sprintf('%s',datestr(RawX.TimeStamp,14)), BPMxFamily);</span>
+0831 <span class="comment">%         end</span>
+0832 <span class="comment">%         setappdata(handles.figure1, 'RawX', RawX);</span>
+0833 <span class="comment">%</span>
+0834 <span class="comment">%         try</span>
+0835 <span class="comment">%             RawY = getam(BPMyFamily, BPMyList, Mode, 'Struct');</span>
+0836 <span class="comment">%         catch</span>
+0837 <span class="comment">%             RawY.Data = NaN*zeros(size(BPMyList,1),1);</span>
+0838 <span class="comment">%             RawY.Units = 'Hardware';</span>
+0839 <span class="comment">%             RawY.TimeStamp = clock;</span>
+0840 <span class="comment">%             fprintf('   %s, GETAM trouble in family %s\n', sprintf('%s',datestr(RawY.TimeStamp,14)), BPMyFamily);</span>
+0841 <span class="comment">%         end</span>
+0842 <span class="comment">%         setappdata(handles.figure1, 'RawY', RawY);</span>
+0843 <span class="comment">%</span>
+0844 <span class="comment">%         % For non-BPM the offset (ie, the setpoint) may have changed</span>
+0845 <span class="comment">%         if ~ismemberof(BPMxFamily,'BPM')</span>
+0846 <span class="comment">%             % Update the offset to the setpoint</span>
+0847 <span class="comment">%             setappdata(handles.figure1,'OffsetX', getsp(BPMxFamily, BPMxList, Mode));</span>
+0848 <span class="comment">%         end</span>
+0849 <span class="comment">%         if ~ismemberof(BPMyFamily,'BPM')</span>
+0850 <span class="comment">%             % Update the offset to the setpoint</span>
+0851 <span class="comment">%             setappdata(handles.figure1,'OffsetY', getsp(BPMyFamily, BPMyList, Mode));</span>
+0852 <span class="comment">%         end</span>
+0853 <span class="comment">%</span>
+0854 <span class="comment">%         % Update time</span>
+0855 <span class="comment">%         set(handles.('Time'),'String', sprintf('%s',datestr(RawY.TimeStamp,14)));</span>
+0856 <span class="comment">%</span>
+0857 <span class="comment">%         plotappdatalocal(handles);</span>
+0858 <span class="comment">%         drawnow;</span>
+0859 <span class="comment">%</span>
+0860 <span class="comment">%</span>
+0861 <span class="comment">%         if OrbitFeedbackFlag</span>
+0862 <span class="comment">%             % One could easily add a orbit feedback step</span>
+0863 <span class="comment">%             setorbitdefault([], 1, [], 'NoDisplay');</span>
+0864 <span class="comment">%             pause(2.2*Tbpm);</span>
+0865 <span class="comment">%         end</span>
+0866 <span class="comment">%</span>
+0867 <span class="comment">%     else</span>
+0868 <span class="comment">%         set(handles.('OnOff'), 'String', 'Continuous');</span>
+0869 <span class="comment">%</span>
+0870 <span class="comment">%         % Turn latticeaxes menu back on</span>
+0871 <span class="comment">%         set(handles.('LatticeMenu'),'enable','on');</span>
+0872 <span class="comment">%</span>
+0873 <span class="comment">%         break</span>
+0874 <span class="comment">%     end</span>
+0875 <span class="comment">%</span>
+0876 <span class="comment">%     % Pause</span>
+0877 <span class="comment">%     T = UpdatePeriod-(gettime-t0);</span>
+0878 <span class="comment">%     if T &gt; 0</span>
+0879 <span class="comment">%         pause(T);</span>
+0880 <span class="comment">%     end</span>
+0881 <span class="comment">% end</span>
+0882 
+0883 
+0884 
+0885 <span class="comment">% --- Executes on button press in OneShot.</span>
+0886 <a name="_sub8" href="#_subfunctions" class="code">function OneShot_Callback(hObject, eventdata, handles)</a>
+0887 
+0888 <span class="comment">% To break out of the continuous loop (if in it)</span>
+0889 <span class="comment">%set(handles.('OnOff'),'Value', 0);  % Not turned off with timer!</span>
+0890 
+0891 
+0892 <span class="comment">% UnitMenu = getappdata(handles.figure1,'UnitsFlag');</span>
+0893 <span class="comment">% if UnitMenu == 1</span>
+0894 <span class="comment">%     UnitsFlag = 'Physics';</span>
+0895 <span class="comment">% else</span>
+0896 <span class="comment">%     UnitsFlag = 'Hardware';</span>
+0897 <span class="comment">% end</span>
+0898 
+0899 
+0900 <span class="comment">% Get Mode and update the title bar</span>
+0901 MachineName     = getfamilydata(<span class="string">'Machine'</span>);
+0902 SubMachineName  = getfamilydata(<span class="string">'SubMachine'</span>);
+0903 OperationalMode = getfamilydata(<span class="string">'OperationalMode'</span>);
+0904 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+0905     Mode = <span class="string">'Simulator'</span>;
+0906     set(handles.figure1,<span class="string">'Name'</span>,sprintf(<span class="string">'Plot Family:  %s  -  %s  -  %s  (%s)'</span>, MachineName, SubMachineName, OperationalMode, <span class="string">'Model'</span>));
+0907 <span class="keyword">else</span>
+0908     Mode = <span class="string">'Online'</span>;
+0909     set(handles.figure1,<span class="string">'Name'</span>,sprintf(<span class="string">'Plot Family:  %s  -  %s  -  %s  (%s)'</span>, MachineName, SubMachineName, OperationalMode, <span class="string">'Online'</span>));
+0910 <span class="keyword">end</span>
+0911 
+0912 DataStruct1 = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+0913 DataStruct2 = getappdata(handles.figure1, <span class="string">'BPMyFamily'</span>);
+0914 
+0915 <span class="comment">% Get new data</span>
+0916 <span class="keyword">try</span>
+0917     RawX = getpv(DataStruct1, Mode, <span class="string">'Struct'</span>);
+0918     <span class="comment">%RawX = getpv(DataStruct1, Mode, UnitsFlag, 'Struct');</span>
+0919 <span class="keyword">catch</span>
+0920     RawX.Data = NaN*zeros(size(DataStruct1.Data,1),1);
+0921     RawX.Units = DataStruct1.Units;
+0922     RawX.UnitsString = DataStruct1.UnitsString;
+0923     RawX.Mode = Mode;
+0924     RawX.TimeStamp = clock;
+0925     fprintf(<span class="string">'\n%s\n'</span>, lasterr);
+0926     fprintf(<span class="string">'   %s, GETPV trouble in family %s\n'</span>, sprintf(<span class="string">'%s'</span>,datestr(RawX.TimeStamp,13)), DataStruct1.FamilyName);
+0927 <span class="keyword">end</span>
+0928 setappdata(handles.figure1, <span class="string">'RawX'</span>, RawX);
+0929 
+0930 <span class="keyword">try</span>
+0931     RawY = getpv(DataStruct2, Mode, <span class="string">'Struct'</span>);
+0932     <span class="comment">%RawY = getpv(DataStruct2, Mode, UnitsFlag, 'Struct');</span>
+0933 <span class="keyword">catch</span>
+0934     RawY.Data = NaN*zeros(size(DataStruct2.Data,1),1);
+0935     RawY.Units = DataStruct2.Units;
+0936     RawY.UnitsString = DataStruct2.UnitsString;
+0937     RawY.Mode = Mode;
+0938     RawY.TimeStamp = clock;
+0939     fprintf(<span class="string">'\n%s\n'</span>, lasterr);
+0940     fprintf(<span class="string">'   %s, GETPV trouble in family %s\n'</span>, sprintf(<span class="string">'%s'</span>,datestr(RawY.TimeStamp,13)), DataStruct2.FamilyName);
+0941 <span class="keyword">end</span>
+0942 setappdata(handles.figure1, <span class="string">'RawY'</span>, RawY);
+0943 
+0944 
+0945 <span class="comment">% % For non-BPM the offset (ie, the setpoint) may have changed</span>
+0946 <span class="comment">% if ~isempty(getfamilydata(DataStruct1.FamilyName,'Setpoint'))</span>
+0947 <span class="comment">%     % Update the offset to the setpoint</span>
+0948 <span class="comment">%     setappdata(handles.figure1,'OffsetX', getsp(DataStruct1.FamilyName, Mode, DataStruct1.Units, 'Struct'));</span>
+0949 <span class="comment">% end</span>
+0950 <span class="comment">% if ~isempty(getfamilydata(DataStruct2.FamilyName,'Setpoint'))</span>
+0951 <span class="comment">%     % Update the offset to the setpoint</span>
+0952 <span class="comment">%     setappdata(handles.figure1,'OffsetY', getsp(DataStruct2.FamilyName, Mode, DataStruct2.Units, 'Struct'));</span>
+0953 <span class="comment">% end</span>
+0954 
+0955 
+0956 <span class="comment">% Update time</span>
+0957 set(handles.Time, <span class="string">'String'</span>, sprintf(<span class="string">'%s'</span>,datestr(RawY.TimeStamp,13)));
+0958 
+0959 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+0960 drawnow;
+0961 
+0962 
+0963 
+0964 <a name="_sub9" href="#_subfunctions" class="code">function plotappdatalocal(handles)  </a>
+0965 
+0966 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+0967     Mode = <span class="string">'Simulator'</span>;
+0968 <span class="keyword">else</span>
+0969     Mode = <span class="string">'Online'</span>;
+0970 <span class="keyword">end</span>
+0971 
+0972 
+0973 <span class="comment">% Get data from appdata</span>
+0974 Trace1 = getappdata(handles.figure1,<span class="string">'Trace1'</span>);
+0975 Trace2 = getappdata(handles.figure1,<span class="string">'Trace2'</span>);
+0976 UnitsFlag = getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>);
+0977 
+0978 DataStruct1 = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+0979 DataStruct2 = getappdata(handles.figure1, <span class="string">'BPMyFamily'</span>);
+0980 
+0981 RawX = getappdata(handles.figure1, <span class="string">'RawX'</span>);
+0982 RawY = getappdata(handles.figure1, <span class="string">'RawY'</span>);
+0983 
+0984 sx = getappdata(handles.figure1, <span class="string">'SPosX'</span>);
+0985 sy = getappdata(handles.figure1, <span class="string">'SPosY'</span>);
+0986 
+0987 <span class="keyword">if</span> isempty(sx)
+0988     error(sprintf(<span class="string">'Position along ring information not available for %s family.'</span>, RawX.FamilyName));
+0989     <span class="comment">%sx = 1:size(RawX.Data,1);</span>
+0990 <span class="keyword">end</span>
+0991 <span class="keyword">if</span> isempty(sy)
+0992     error(sprintf(<span class="string">'Position along ring information not available for %s family.'</span>, RawY.FamilyName));
+0993     <span class="comment">%sy = 1:size(RawY.Data,1);</span>
+0994 <span class="keyword">end</span>
+0995 
+0996 ChannelA = getappdata(handles.figure1, <span class="string">'ChannelA'</span>);
+0997 ChannelB = getappdata(handles.figure1, <span class="string">'ChannelB'</span>);
+0998 
+0999 <span class="comment">% Make the BPM string matrix (this takes ~.09 sec! but it's easier to update every time)</span>
+1000 BPMxMAT = [];
+1001 <span class="keyword">for</span> i = 1:size(DataStruct1.DeviceList,1)
+1002     BPMxMAT = strvcat(BPMxMAT, sprintf(<span class="string">'%s(%d,%d) = '</span>, DataStruct1.FamilyName, DataStruct1.DeviceList(i,1), DataStruct1.DeviceList(i,2)));
+1003 <span class="keyword">end</span>
+1004 BPMyMAT = [];
+1005 <span class="keyword">for</span> i = 1:size(DataStruct2.DeviceList,1)
+1006     BPMyMAT = strvcat(BPMyMAT, sprintf(<span class="string">'%s(%d,%d) = '</span>, DataStruct2.FamilyName, DataStruct2.DeviceList(i,1), DataStruct2.DeviceList(i,2)));
+1007 <span class="keyword">end</span>
+1008 
+1009 <span class="keyword">if</span> Trace1 == 1 || Trace1 == 3 || Trace2 == 1 || Trace2 == 3
+1010     <span class="keyword">if</span> ChannelA == 1
+1011         DataA1 = RawX.Data;
+1012         DataA2 = RawY.Data;
+1013     <span class="keyword">elseif</span> ChannelA == 2 <span class="comment">%File</span>
+1014         <span class="comment">%DataA1 = getappdata(handles.figure1,'GoldenX');</span>
+1015         <span class="comment">%DataA1 = DataA1.Data;</span>
+1016         <span class="comment">%DataA2 = getappdata(handles.figure1,'GoldenY');</span>
+1017         <span class="comment">%DataA2 = DataA2.Data;</span>
+1018 
+1019         <span class="keyword">if</span> strcmpi(DataStruct1.Field, <span class="string">'Monitor'</span>) &amp;&amp; ~isempty(getfamilydata(DataStruct1.FamilyName,<span class="string">'Setpoint'</span>))
+1020             <span class="comment">% Display the setpoint golden value</span>
+1021             DataA1 = getgolden(DataStruct1, <span class="string">'Setpoint'</span>, DataStruct1.Units, <span class="string">'Numeric'</span>);
+1022         <span class="keyword">else</span>
+1023             DataA1 = getgolden(DataStruct1, DataStruct1.Units, <span class="string">'Numeric'</span>);
+1024         <span class="keyword">end</span>
+1025 
+1026         <span class="keyword">if</span> strcmpi(DataStruct2.Field, <span class="string">'Monitor'</span>) &amp;&amp; ~isempty(getfamilydata(DataStruct2.FamilyName,<span class="string">'Setpoint'</span>))
+1027             <span class="comment">% Display the setpoint golden value</span>
+1028             DataA2 = getgolden(DataStruct2, <span class="string">'Setpoint'</span>, DataStruct2.Units, <span class="string">'Numeric'</span>);
+1029         <span class="keyword">else</span>
+1030             DataA2 = getgolden(DataStruct2, DataStruct2.Units, <span class="string">'Numeric'</span>);
+1031         <span class="keyword">end</span>
+1032 
+1033     <span class="keyword">elseif</span> ChannelA == 3 <span class="comment">%File</span>
+1034         <span class="comment">%DataA1 = getappdata(handles.figure1,'OffsetX');</span>
+1035         <span class="comment">%DataA1 = DataA1.Data;</span>
+1036         <span class="comment">%DataA2 = getappdata(handles.figure1,'OffsetY');</span>
+1037         <span class="comment">%DataA2 = DataA2.Data;</span>
+1038         
+1039         <span class="keyword">if</span> strcmpi(DataStruct1.Field, <span class="string">'Monitor'</span>) &amp;&amp; ~isempty(getfamilydata(DataStruct1.FamilyName,<span class="string">'Setpoint'</span>))
+1040             <span class="comment">% Update the offset to the setpoint</span>
+1041             DataA1 = getsp(DataStruct1, Mode, DataStruct1.Units, <span class="string">'Numeric'</span>);
+1042         <span class="keyword">else</span>
+1043             DataA1 = getoffset(DataStruct1, DataStruct1.Units, <span class="string">'Numeric'</span>);
+1044         <span class="keyword">end</span>
+1045         
+1046         <span class="keyword">if</span> strcmpi(DataStruct2.Field, <span class="string">'Monitor'</span>) &amp;&amp; ~isempty(getfamilydata(DataStruct2.FamilyName,<span class="string">'Setpoint'</span>))
+1047             <span class="comment">% Update the offset to the setpoint</span>
+1048             DataA2 = getsp(DataStruct2, Mode, DataStruct2.Units, <span class="string">'Numeric'</span>);
+1049         <span class="keyword">else</span>
+1050             DataA2 = getoffset(DataStruct2, DataStruct2.Units, <span class="string">'Numeric'</span>);
+1051         <span class="keyword">end</span>
+1052 
+1053     <span class="keyword">elseif</span> ChannelA == 4 <span class="comment">%Saved</span>
+1054         DataA1 = getappdata(handles.figure1,<span class="string">'SaveX'</span>);
+1055         DataA1 = DataA1.Data;
+1056         DataA2 = getappdata(handles.figure1,<span class="string">'SaveY'</span>);
+1057         DataA2 = DataA2.Data;
+1058     <span class="keyword">elseif</span> ChannelA == 5 <span class="comment">%File</span>
+1059         DataA1 = getappdata(handles.figure1,<span class="string">'FileX'</span>);
+1060         DataA1 = DataA1.Data;
+1061         DataA2 = getappdata(handles.figure1,<span class="string">'FileY'</span>);
+1062         DataA2 = DataA2.Data;
+1063     <span class="keyword">else</span> 
+1064         DataA1 = zeros(size(BPMxList,1),1);
+1065         DataA2 = zeros(size(BPMyList,1),1);
+1066     <span class="keyword">end</span>
+1067 <span class="keyword">end</span>
+1068 
+1069 <span class="keyword">if</span> Trace1 == 2 || Trace1 == 3 || Trace2 == 2 || Trace2 == 3
+1070     <span class="keyword">if</span> ChannelB == 1 <span class="comment">%File</span>
+1071         DataB1 = RawX.Data;
+1072         DataB2 = RawY.Data;
+1073     <span class="keyword">elseif</span> ChannelB == 2 <span class="comment">%Golden</span>
+1074         <span class="comment">%DataB1 = getappdata(handles.figure1,'GoldenX');</span>
+1075         <span class="comment">%DataB1 = DataB1.Data;</span>
+1076         <span class="comment">%DataB2 = getappdata(handles.figure1,'GoldenY');</span>
+1077         <span class="comment">%DataB2 = DataB2.Data;</span>
+1078 
+1079         <span class="keyword">if</span> strcmpi(DataStruct1.Field, <span class="string">'Monitor'</span>) &amp;&amp; ~isempty(getfamilydata(DataStruct1.FamilyName,<span class="string">'Setpoint'</span>))
+1080             <span class="comment">% Display the setpoint golden value</span>
+1081             DataB1 = getgolden(DataStruct1, <span class="string">'Setpoint'</span>, DataStruct1.Units, <span class="string">'Numeric'</span>);
+1082         <span class="keyword">else</span>
+1083             DataB1 = getgolden(DataStruct1, DataStruct1.Units, <span class="string">'Numeric'</span>);
+1084         <span class="keyword">end</span>
+1085 
+1086         <span class="keyword">if</span> strcmpi(DataStruct2.Field, <span class="string">'Monitor'</span>) &amp;&amp; ~isempty(getfamilydata(DataStruct2.FamilyName,<span class="string">'Setpoint'</span>))
+1087             <span class="comment">% Display the setpoint golden value</span>
+1088             DataB2 = getgolden(DataStruct2, <span class="string">'Setpoint'</span>, DataStruct2.Units, <span class="string">'Numeric'</span>);
+1089         <span class="keyword">else</span>
+1090             DataB2 = getgolden(DataStruct2, DataStruct2.Units, <span class="string">'Numeric'</span>);
+1091         <span class="keyword">end</span>
+1092 
+1093     <span class="keyword">elseif</span> ChannelB == 3 <span class="comment">%Offset</span>
+1094         <span class="comment">%DataB1 = getappdata(handles.figure1,'OffsetX');</span>
+1095         <span class="comment">%DataB1 = DataB1.Data;</span>
+1096         <span class="comment">%DataB2 = getappdata(handles.figure1,'OffsetY');</span>
+1097         <span class="comment">%DataB2 = DataB2.Data;</span>
+1098 
+1099         <span class="keyword">if</span> strcmpi(DataStruct1.Field, <span class="string">'Monitor'</span>) &amp;&amp; ~isempty(getfamilydata(DataStruct1.FamilyName,<span class="string">'Setpoint'</span>))
+1100             <span class="comment">% Update the offset to the setpoint</span>
+1101             DataB1 = getsp(DataStruct1.FamilyName, DataStruct1.DeviceList, Mode, DataStruct1.Units, <span class="string">'Numeric'</span>);
+1102         <span class="keyword">else</span>
+1103             DataB1 = getoffset(DataStruct1, DataStruct1.DeviceList, DataStruct1.Units, <span class="string">'Numeric'</span>);
+1104         <span class="keyword">end</span>
+1105 
+1106         <span class="keyword">if</span> strcmpi(DataStruct2.Field, <span class="string">'Monitor'</span>) &amp;&amp; ~isempty(getfamilydata(DataStruct2.FamilyName,<span class="string">'Setpoint'</span>))
+1107             <span class="comment">% Update the offset to the setpoint</span>
+1108             DataB2 = getsp(DataStruct2, Mode, DataStruct2.Units, <span class="string">'Numeric'</span>);
+1109         <span class="keyword">else</span>
+1110             DataB2 = getoffset(DataStruct2, DataStruct2.Units, <span class="string">'Numeric'</span>);
+1111         <span class="keyword">end</span>
+1112     <span class="keyword">elseif</span> ChannelB == 4 <span class="comment">%Saved</span>
+1113         DataB1 = getappdata(handles.figure1,<span class="string">'SaveX'</span>);
+1114         DataB1 = DataB1.Data;
+1115         
+1116         DataB2 = getappdata(handles.figure1,<span class="string">'SaveY'</span>);
+1117         DataB2 = DataB2.Data;
+1118 
+1119     <span class="keyword">elseif</span> ChannelB == 5 <span class="comment">%File</span>
+1120         DataB1 = getappdata(handles.figure1,<span class="string">'FileX'</span>);
+1121         DataB1 = DataB1.Data;
+1122         DataB2 = getappdata(handles.figure1,<span class="string">'FileY'</span>);
+1123         DataB2 = DataB2.Data;
+1124     <span class="keyword">else</span>
+1125         DataB1 = zeros(size(BPMxList,1),1);
+1126         DataB2 = zeros(size(BPMyList,1),1);
+1127     <span class="keyword">end</span>
+1128 <span class="keyword">end</span>
+1129 
+1130 
+1131 <span class="comment">% First line</span>
+1132 <span class="keyword">if</span> Trace1 == 1
+1133     Data1 = DataA1;
+1134     Data2 = DataA2;
+1135 <span class="keyword">elseif</span> Trace1 == 2
+1136     Data1 = DataB1;
+1137     Data2 = DataB2;
+1138 <span class="keyword">elseif</span> Trace1 == 3
+1139     Data1 = DataA1 - DataB1;
+1140     Data2 = DataA2 - DataB2;
+1141 <span class="keyword">end</span>
+1142 
+1143 
+1144 <span class="comment">% Second line</span>
+1145 <span class="keyword">if</span> Trace2 == 4 <span class="comment">% Nothing</span>
+1146     Data3 = NaN * Data1;
+1147     Data4 = NaN * Data2;
+1148 <span class="keyword">else</span>
+1149     <span class="keyword">if</span> Trace2 == 1 <span class="comment">% channel A</span>
+1150         Data3 = DataA1;
+1151         Data4 = DataA2;
+1152     <span class="keyword">elseif</span> Trace2 == 2 <span class="comment">% channel B</span>
+1153         Data3 = DataB1;
+1154         Data4 = DataB2;
+1155     <span class="keyword">elseif</span> Trace2 == 3 <span class="comment">% A-B</span>
+1156         Data3 = DataA1 - DataB1;
+1157         Data4 = DataA2 - DataB2;
+1158     <span class="keyword">end</span>
+1159 <span class="keyword">end</span>
+1160 
+1161 
+1162 
+1163 <span class="comment">% if UnitsFlag == 1 &amp;&amp; strcmpi(RawX.Units,'Hardware')</span>
+1164 <span class="comment">%     % Physics units requested, data is in Hardware units</span>
+1165 <span class="comment">%     Data1 = hw2physics(BPMxFamily, 'Monitor', Data1);</span>
+1166 <span class="comment">%     Data2 = hw2physics(BPMyFamily, 'Monitor', Data2);</span>
+1167 <span class="comment">%     Data3 = hw2physics(BPMxFamily, 'Monitor', Data3);</span>
+1168 <span class="comment">%     Data4 = hw2physics(BPMyFamily, 'Monitor', Data4);</span>
+1169 <span class="comment">% elseif (UnitsFlag==2 | UnitsFlag==3) &amp;&amp; strcmpi(RawX.Units,'Physics')</span>
+1170 <span class="comment">%     % Hardware units requested, data is in Physics units</span>
+1171 <span class="comment">%     Data1 = physics2hw(BPMxFamily, 'Monitor', Data1);</span>
+1172 <span class="comment">%     Data2 = physics2hw(BPMyFamily, 'Monitor', Data2);</span>
+1173 <span class="comment">%     Data3 = physics2hw(BPMxFamily, 'Monitor', Data3);</span>
+1174 <span class="comment">%     Data4 = physics2hw(BPMyFamily, 'Monitor', Data4);</span>
+1175 <span class="comment">% end</span>
+1176 
+1177 UnitsString1 = DataStruct1.UnitsString;
+1178 UnitsString2 = DataStruct2.UnitsString;
+1179 <span class="comment">% if UnitsFlag == 1</span>
+1180 <span class="comment">%     % Physics units</span>
+1181 <span class="comment">%     UnitsString1 = getfamilydata(DataStruct1.FamilyName, DataStruct1.Field, 'PhysicsUnits');</span>
+1182 <span class="comment">%     UnitsString2 = getfamilydata(DataStruct2.FamilyName, DataStruct2.Field, 'PhysicsUnits');</span>
+1183 <span class="comment">% elseif UnitsFlag == 2</span>
+1184 <span class="comment">%     % Hardware units</span>
+1185 <span class="comment">%     UnitsString1 = getfamilydata(DataStruct1.FamilyName, DataStruct1.Field, 'HWUnits');</span>
+1186 <span class="comment">%     UnitsString2 = getfamilydata(DataStruct2.FamilyName, DataStruct2.Field, 'HWUnits');</span>
+1187 <span class="keyword">if</span> UnitsFlag == 3
+1188     <span class="comment">% Hardware units time 1000</span>
+1189     Data1 = 1000 * Data1;
+1190     Data2 = 1000 * Data2;
+1191     Data3 = 1000 * Data3;
+1192     Data4 = 1000 * Data4;
+1193     <span class="comment">%UnitsString1 = getfamilydata(DataStruct1.FamilyName, DataStruct1.Field, 'HWUnits');</span>
+1194     <span class="comment">%UnitsString2 = getfamilydata(DataStruct2.FamilyName, DataStruct2.Field, 'HWUnits');</span>
+1195     <span class="keyword">if</span> strcmpi(UnitsString1,<span class="string">'mm'</span>)
+1196         UnitsString1 = <span class="string">'\mum'</span>;
+1197     <span class="keyword">else</span>
+1198         <span class="comment">%UnitsString1 = ['1000x', UnitsString1];</span>
+1199         UnitsString1 = [<span class="string">'milli'</span>, UnitsString1];
+1200     <span class="keyword">end</span>
+1201     <span class="keyword">if</span> strcmpi(UnitsString2,<span class="string">'mm'</span>)
+1202         UnitsString2 = <span class="string">'\mum'</span>;
+1203     <span class="keyword">else</span>
+1204         <span class="comment">%UnitsString2 = ['1000x', UnitsString2];</span>
+1205         UnitsString2 = [<span class="string">'milli'</span>, UnitsString2];
+1206     <span class="keyword">end</span>
+1207 <span class="keyword">end</span>
+1208 
+1209 
+1210 <span class="comment">% Axes 1</span>
+1211 h = get(handles.Graph1,<span class="string">'Children'</span>);
+1212 hbar  = findobj(h,<span class="string">'-regexp'</span>,<span class="string">'Tag'</span>,<span class="string">'bar[1,3]'</span>);
+1213 hline = findobj(h,<span class="string">'-regexp'</span>,<span class="string">'Tag'</span>,<span class="string">'line[1,3]'</span>);
+1214 
+1215 AxisRange1X = getappdata(handles.figure1, <span class="string">'AxisRange1X'</span>);
+1216 
+1217 <span class="comment">% Don't change the axis (unless it's the first time)</span>
+1218 <span class="keyword">if</span> isempty(hline)
+1219     cla(handles.Graph1)
+1220     axes(handles.Graph1);
+1221     plot(handles.Graph1, sx, Data3,<span class="string">'.-r'</span>,<span class="string">'Tag'</span>,<span class="string">'line3'</span>);
+1222     hold on
+1223     h0 = bar(handles.Graph1, sx, Data3,<span class="string">'Tag'</span>,<span class="string">'bar3'</span>,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1224     set(h0, <span class="string">'FaceColor'</span>,<span class="string">'r'</span>); <span class="comment">% for unknown reason color has to be specified outside to work</span>
+1225     plot(handles.Graph1, sx, Data1,<span class="string">'.-b'</span>,<span class="string">'Tag'</span>,<span class="string">'line1'</span>);
+1226     bar(handles.Graph1, sx, Data1,<span class="string">'FaceColor'</span>,<span class="string">'b'</span>,<span class="string">'Tag'</span>,<span class="string">'bar1'</span>,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1227     hold off
+1228 
+1229     <span class="comment">% Set defaults</span>
+1230     set(handles.Graph1, <span class="string">'Nextplot'</span>,<span class="string">'Add'</span>);
+1231     set(handles.Graph1, <span class="string">'YGrid'</span>,<span class="string">'On'</span>);
+1232     set(handles.Graph1, <span class="string">'YMinorTick'</span>,<span class="string">'On'</span>);
+1233     set(handles.Graph1, <span class="string">'XMinorTick'</span>,<span class="string">'On'</span>);
+1234     set(handles.Graph1, <span class="string">'XAxisLocation'</span>,<span class="string">'Bottom'</span>);
+1235     set(handles.Graph1, <span class="string">'XTickLabel'</span>,<span class="string">''</span>);
+1236 
+1237     set(handles.Graph1, <span class="string">'XLim'</span>, AxisRange1X);   
+1238     
+1239     <span class="keyword">if</span> strcmpi(get(handles.(<span class="string">'YScaleLog1'</span>),<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1240         set(handles.Graph1,<span class="string">'YScale'</span>,<span class="string">'Log'</span>);
+1241     <span class="keyword">else</span>
+1242         set(handles.Graph1,<span class="string">'YScale'</span>,<span class="string">'Linear'</span>);
+1243     <span class="keyword">end</span>
+1244     
+1245     set(handles.Graph1 ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+1246     h = get(handles.Graph1,<span class="string">'Children'</span>);
+1247     <span class="keyword">for</span> i = 1:length(h)
+1248         set(h(i) ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+1249     <span class="keyword">end</span>
+1250 <span class="keyword">else</span>
+1251     <span class="comment">% This fixes a weird error with srcontrol</span>
+1252     h = h(end-1:end);
+1253     
+1254     <span class="keyword">if</span> ~isempty(findstr(DataStruct1.FamilyName,<span class="string">'BPM'</span>)) <span class="comment">% BPM case: lineplot</span>
+1255         set(hline(1),<span class="string">'XData'</span>, sx, <span class="string">'YData'</span>, Data1,<span class="string">'Visible'</span>,<span class="string">'On'</span>);
+1256         set(hline(2),<span class="string">'XData'</span>, sx, <span class="string">'YData'</span>, Data3,<span class="string">'Visible'</span>,<span class="string">'On'</span>);
+1257         set(hbar(1), <span class="string">'XData'</span>, sx, <span class="string">'YData'</span>, Data1*0,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1258         set(hbar(2), <span class="string">'XData'</span>, sx, <span class="string">'YData'</span>, Data3*0,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1259     <span class="keyword">else</span> <span class="comment">% not BPM case: barplot</span>
+1260         set(hline(1),<span class="string">'XData'</span>, sx, <span class="string">'Ydata'</span>, Data1*0,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1261         set(hline(2),<span class="string">'XData'</span>, sx, <span class="string">'Ydata'</span>, Data3*0,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1262         set(hbar(1), <span class="string">'XData'</span>, sx, <span class="string">'Ydata'</span>, Data1,<span class="string">'Visible'</span>,<span class="string">'On'</span>);
+1263         set(hbar(2), <span class="string">'XData'</span>, sx, <span class="string">'Ydata'</span>, Data3,<span class="string">'Visible'</span>,<span class="string">'On'</span>);
+1264 
+1265     <span class="keyword">end</span>
+1266     set(handles.Graph1, <span class="string">'XLim'</span>, AxisRange1X);
+1267 <span class="keyword">end</span>
+1268 
+1269 h_label=get(handles.Graph1,<span class="string">'ylabel'</span>);
+1270 
+1271 
+1272 <span class="keyword">if</span> strcmpi(DataStruct1.Field,<span class="string">'Monitor'</span>)
+1273     <span class="keyword">if</span> isempty(UnitsString1)
+1274         set(h_label,<span class="string">'String'</span>,sprintf(<span class="string">'%s'</span>, DataStruct1.FamilyName), <span class="string">'Interpreter'</span>,<span class="string">'None'</span>);
+1275     <span class="keyword">else</span>
+1276         set(h_label,<span class="string">'String'</span>,sprintf(<span class="string">'%s [%s]'</span>, DataStruct1.FamilyName, UnitsString1), <span class="string">'Interpreter'</span>,<span class="string">'None'</span>);
+1277     <span class="keyword">end</span>
+1278 <span class="keyword">else</span>
+1279     <span class="keyword">if</span> isempty(UnitsString1)
+1280         set(h_label,<span class="string">'String'</span>,sprintf(<span class="string">'%s.%s'</span>, DataStruct1.FamilyName, DataStruct1.Field), <span class="string">'Interpreter'</span>,<span class="string">'None'</span>);
+1281     <span class="keyword">else</span>
+1282         set(h_label,<span class="string">'String'</span>,sprintf(<span class="string">'%s.%s [%s]'</span>, DataStruct1.FamilyName, DataStruct1.Field, UnitsString1), <span class="string">'Interpreter'</span>,<span class="string">'None'</span>);
+1283     <span class="keyword">end</span>
+1284 <span class="keyword">end</span>
+1285 
+1286 
+1287 <span class="comment">% Graph 3</span>
+1288 <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_Nothing,<span class="string">'Checked'</span>),<span class="string">'Off'</span>)
+1289     <span class="comment">% Bring Graph 3 forward</span>
+1290     axes(handles.Graph3);
+1291     set(handles.Graph3,<span class="string">'color'</span>,<span class="string">'none'</span>);
+1292     p1 = get(handles.Graph1,<span class="string">'Position'</span>);
+1293     p3 = get(handles.Graph3,<span class="string">'Position'</span>);
+1294     set(handles.Graph3,<span class="string">'Position'</span>, [p1(1) p1(2) p3(3) p3(4)]);
+1295 <span class="keyword">end</span>
+1296 
+1297 <span class="comment">% Set the list box</span>
+1298 Value = get(handles.DataList1,<span class="string">'Value'</span>);
+1299 set(handles.DataList1,<span class="string">'Value'</span>, Value);
+1300 ListBoxTop = get(handles.DataList1,<span class="string">'ListBoxTop'</span>);
+1301 set(handles.DataList1,<span class="string">'String'</span>, [BPMxMAT, num2str(Data1(:),<span class="string">'%+.4e'</span>)]);
+1302 set(handles.Trace1max,<span class="string">'String'</span>,<span class="keyword">...</span>
+1303     sprintf(<span class="string">'rms = %.4e     mean = %.4e     min = %.4e     max = %.4e       [%s]'</span>, <span class="keyword">...</span>
+1304     std(Data1), mean(Data1), min(Data1),  max(Data1),  <span class="keyword">...</span>
+1305     UnitsString1));
+1306 set(handles.DataList1,<span class="string">'ListBoxTop'</span>, ListBoxTop);
+1307 
+1308 <span class="comment">% Axes 2</span>
+1309 h = get(handles.Graph2,<span class="string">'Children'</span>);
+1310 hbar  = findobj(h,<span class="string">'-regexp'</span>,<span class="string">'Tag'</span>,<span class="string">'bar[2,4]'</span>);
+1311 hline = findobj(h,<span class="string">'-regexp'</span>,<span class="string">'Tag'</span>,<span class="string">'line[2,4]'</span>);
+1312 AxisRange2X = getappdata(handles.figure1, <span class="string">'AxisRange2X'</span>);
+1313         
+1314 <span class="keyword">if</span> isempty(hline)
+1315     cla(handles.Graph2)
+1316     axes(handles.Graph2)
+1317     plot(handles.Graph2, sy, Data4,<span class="string">'.-r'</span>,<span class="string">'Tag'</span>,<span class="string">'line4'</span>);
+1318     hold on
+1319     h0 = bar(handles.Graph2, sy, Data4,<span class="string">'Tag'</span>,<span class="string">'bar4'</span>,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1320     set(h0, <span class="string">'FaceColor'</span>,<span class="string">'r'</span>); <span class="comment">% for unknown reason color has to be specified outside to work</span>
+1321     plot(handles.Graph2, sy, Data2,<span class="string">'.-b'</span>,<span class="string">'Tag'</span>,<span class="string">'line2'</span>);
+1322     bar(handles.Graph2, sy, Data2,<span class="string">'FaceColor'</span>,<span class="string">'b'</span>,<span class="string">'Tag'</span>,<span class="string">'bar2'</span>,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1323     hold off
+1324     
+1325     <span class="comment">% Set defaults</span>
+1326     set(handles.Graph2, <span class="string">'Nextplot'</span>,<span class="string">'Add'</span>);
+1327     set(handles.Graph2, <span class="string">'YGrid'</span>,<span class="string">'On'</span>);
+1328     set(handles.Graph2, <span class="string">'YMinorTick'</span>,<span class="string">'On'</span>);
+1329     set(handles.Graph2, <span class="string">'XMinorTick'</span>,<span class="string">'On'</span>);
+1330     
+1331     set(handles.Graph2, <span class="string">'XLim'</span>, AxisRange2X)
+1332     
+1333     <span class="keyword">if</span> strcmpi(get(handles.(<span class="string">'YScaleLog2'</span>),<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1334         set(handles.Graph2,<span class="string">'YScale'</span>,<span class="string">'Log'</span>);
+1335     <span class="keyword">else</span>
+1336         set(handles.Graph2,<span class="string">'YScale'</span>,<span class="string">'Linear'</span>);
+1337     <span class="keyword">end</span>
+1338 
+1339     set(handles.Graph2 ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+1340     h = get(handles.Graph2,<span class="string">'Children'</span>);
+1341     <span class="keyword">for</span> i = 1:length(h)
+1342         set(h(i) ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+1343     <span class="keyword">end</span>
+1344 <span class="keyword">else</span>
+1345     <span class="comment">% This fixes a weird error with srcontrol</span>
+1346     h = h(end-1:end);
+1347 
+1348     <span class="keyword">if</span> ~isempty(findstr(DataStruct2.FamilyName,<span class="string">'BPM'</span>)) <span class="comment">% BPM case: lineplot</span>
+1349         set(hline(1),<span class="string">'XData'</span>, sy, <span class="string">'YData'</span>, Data2,<span class="string">'Visible'</span>,<span class="string">'On'</span>);
+1350         set(hline(2),<span class="string">'XData'</span>, sy, <span class="string">'YData'</span>, Data4,<span class="string">'Visible'</span>,<span class="string">'On'</span>);
+1351         set(hbar(1), <span class="string">'XData'</span>, sy, <span class="string">'YData'</span>, Data2*0,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1352         set(hbar(2), <span class="string">'XData'</span>, sy, <span class="string">'YData'</span>, Data4*0,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1353     <span class="keyword">else</span> <span class="comment">% not BPM case: barplot</span>
+1354         set(hline(1),<span class="string">'XData'</span>, sy, <span class="string">'Ydata'</span>, Data2*0,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1355         set(hline(2),<span class="string">'XData'</span>, sy, <span class="string">'Ydata'</span>, Data4*0,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+1356         set(hbar(1), <span class="string">'XData'</span>, sy, <span class="string">'Ydata'</span>, Data2,<span class="string">'Visible'</span>,<span class="string">'On'</span>);
+1357         set(hbar(2), <span class="string">'XData'</span>, sy, <span class="string">'Ydata'</span>, Data4,<span class="string">'Visible'</span>,<span class="string">'On'</span>);
+1358     <span class="keyword">end</span>
+1359     set(handles.Graph2, <span class="string">'XLim'</span>, AxisRange2X);
+1360 <span class="keyword">end</span>
+1361 
+1362 h_label = get(handles.Graph2,<span class="string">'ylabel'</span>);
+1363 <span class="keyword">if</span> strcmpi(DataStruct2.Field,<span class="string">'Monitor'</span>)
+1364     <span class="keyword">if</span> isempty(UnitsString2)
+1365         set(h_label,<span class="string">'String'</span>,sprintf(<span class="string">'%s'</span>, DataStruct2.FamilyName), <span class="string">'Interpreter'</span>,<span class="string">'None'</span>);
+1366     <span class="keyword">else</span>
+1367         set(h_label,<span class="string">'String'</span>,sprintf(<span class="string">'%s [%s]'</span>, DataStruct2.FamilyName, UnitsString2), <span class="string">'Interpreter'</span>,<span class="string">'None'</span>);
+1368     <span class="keyword">end</span>
+1369 <span class="keyword">else</span>
+1370     <span class="keyword">if</span> isempty(UnitsString2)
+1371         set(h_label,<span class="string">'String'</span>,sprintf(<span class="string">'%s.%s'</span>, DataStruct2.FamilyName, DataStruct2.Field), <span class="string">'Interpreter'</span>,<span class="string">'None'</span>);
+1372     <span class="keyword">else</span>
+1373         set(h_label,<span class="string">'String'</span>,sprintf(<span class="string">'%s.%s [%s]'</span>, DataStruct2.FamilyName, DataStruct2.Field, UnitsString2), <span class="string">'Interpreter'</span>,<span class="string">'None'</span>);
+1374     <span class="keyword">end</span>
+1375 <span class="keyword">end</span>
+1376 
+1377 
+1378 <span class="comment">% Graph 4</span>
+1379 <span class="keyword">if</span> strcmpi(get(handles.(<span class="string">'AddPlot2_Nothing'</span>),<span class="string">'Checked'</span>),<span class="string">'Off'</span>)
+1380     <span class="comment">% Bring Graph 4 forward</span>
+1381     axes(handles.Graph4);
+1382     set(handles.Graph4,<span class="string">'color'</span>,<span class="string">'none'</span>);
+1383     p2 = get(handles.Graph2,<span class="string">'Position'</span>);
+1384     p4 = get(handles.Graph4,<span class="string">'Position'</span>);
+1385     set(handles.Graph4,<span class="string">'Position'</span>, [p2(1) p2(2) p4(3) p4(4)]);
+1386 <span class="keyword">end</span>
+1387 
+1388 drawnow;
+1389 
+1390 <span class="comment">% Set the list box</span>
+1391 Value = get(handles.DataList2,<span class="string">'Value'</span>);
+1392 set(handles.DataList2,<span class="string">'Value'</span>, Value);
+1393 ListBoxTop = get(handles.DataList2,<span class="string">'ListBoxTop'</span>);
+1394 set(handles.DataList2,<span class="string">'String'</span>, [BPMyMAT, num2str(Data2(:),<span class="string">'%+.4e'</span>)]);
+1395 set(handles.Trace2max,<span class="string">'String'</span>, <span class="keyword">...</span>
+1396     sprintf(<span class="string">'rms = %.4e     mean = %.4e     min = %.4e     max = %.4e       [%s]'</span>, <span class="keyword">...</span>
+1397     std(Data2), mean(Data2), min(Data2),  max(Data2),  <span class="keyword">...</span>
+1398     UnitsString2));
+1399 set(handles.DataList2, <span class="string">'ListBoxTop'</span>, ListBoxTop);
+1400 <span class="comment">% toc</span>
+1401 
+1402 <span class="comment">% --- Executes on button press in RawOrbit1.</span>
+1403 <a name="_sub10" href="#_subfunctions" class="code">function RawOrbit1_Callback(hObject, eventdata, handles)</a>
+1404 set(handles.RawOrbit1,<span class="string">'Value'</span>, 1);
+1405 set(handles.GoldenOrbit1,<span class="string">'Value'</span>, 0);
+1406 set(handles.OffsetOrbit1,<span class="string">'Value'</span>, 0);
+1407 set(handles.SaveOrbit1,<span class="string">'Value'</span>, 0);
+1408 set(handles.FileOrbit1,<span class="string">'Value'</span>, 0);
+1409 setappdata(handles.figure1, <span class="string">'ChannelA'</span>, 1);
+1410 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1411 <span class="comment">%AutoScaleYLocal(handles);</span>
+1412 
+1413 <span class="comment">% --- Executes on button press in GoldenOrbit1.</span>
+1414 <a name="_sub11" href="#_subfunctions" class="code">function GoldenOrbit1_Callback(hObject, eventdata, handles)</a>
+1415 set(handles.RawOrbit1,<span class="string">'Value'</span>, 0);
+1416 set(handles.GoldenOrbit1,<span class="string">'Value'</span>, 1);
+1417 set(handles.OffsetOrbit1,<span class="string">'Value'</span>, 0);
+1418 set(handles.SaveOrbit1,<span class="string">'Value'</span>, 0);
+1419 set(handles.FileOrbit1,<span class="string">'Value'</span>, 0);
+1420 setappdata(handles.figure1, <span class="string">'ChannelA'</span>, 2);
+1421 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1422 <span class="comment">%AutoScaleYLocal(handles);</span>
+1423 
+1424 <span class="comment">% --- Executes on button press in OffsetOrbit1.</span>
+1425 <a name="_sub12" href="#_subfunctions" class="code">function OffsetOrbit1_Callback(hObject, eventdata, handles)</a>
+1426 set(handles.RawOrbit1,<span class="string">'Value'</span>, 0);
+1427 set(handles.GoldenOrbit1,<span class="string">'Value'</span>, 0);
+1428 set(handles.OffsetOrbit1,<span class="string">'Value'</span>, 1);
+1429 set(handles.SaveOrbit1,<span class="string">'Value'</span>, 0);
+1430 set(handles.FileOrbit1,<span class="string">'Value'</span>, 0);
+1431 setappdata(handles.figure1, <span class="string">'ChannelA'</span>, 3);
+1432 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1433 <span class="comment">%AutoScaleYLocal(handles);</span>
+1434 
+1435 <span class="comment">% --- Executes on button press in SaveOrbit1.</span>
+1436 <a name="_sub13" href="#_subfunctions" class="code">function SaveOrbit1_Callback(hObject, eventdata, handles)</a>
+1437 set(handles.RawOrbit1,<span class="string">'Value'</span>, 0);
+1438 set(handles.GoldenOrbit1,<span class="string">'Value'</span>, 0);
+1439 set(handles.OffsetOrbit1,<span class="string">'Value'</span>, 0);
+1440 set(handles.SaveOrbit1,<span class="string">'Value'</span>, 1);
+1441 set(handles.FileOrbit1,<span class="string">'Value'</span>, 0);
+1442 setappdata(handles.figure1, <span class="string">'ChannelA'</span>, 4);
+1443 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1444 <span class="comment">%AutoScaleYLocal(handles);</span>
+1445 
+1446 <span class="comment">% --- Executes on button press in FileOrbit1.</span>
+1447 <a name="_sub14" href="#_subfunctions" class="code">function FileOrbit1_Callback(hObject, eventdata, handles)</a>
+1448 set(handles.RawOrbit1,<span class="string">'Value'</span>, 0);
+1449 set(handles.GoldenOrbit1,<span class="string">'Value'</span>, 0);
+1450 set(handles.OffsetOrbit1,<span class="string">'Value'</span>, 0);
+1451 set(handles.SaveOrbit1,<span class="string">'Value'</span>, 0);
+1452 set(handles.FileOrbit1,<span class="string">'Value'</span>, 1);
+1453 setappdata(handles.figure1, <span class="string">'ChannelA'</span>, 5);
+1454 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1455 <span class="comment">%AutoScaleYLocal(handles);</span>
+1456 
+1457 
+1458 <span class="comment">% --- Executes on button press in RawOrbit2.</span>
+1459 <a name="_sub15" href="#_subfunctions" class="code">function RawOrbit2_Callback(hObject, eventdata, handles)</a>
+1460 set(handles.RawOrbit2,<span class="string">'Value'</span>, 1);
+1461 set(handles.GoldenOrbit2,<span class="string">'Value'</span>, 0);
+1462 set(handles.OffsetOrbit2,<span class="string">'Value'</span>, 0);
+1463 set(handles.SaveOrbit2,<span class="string">'Value'</span>, 0);
+1464 set(handles.FileOrbit2,<span class="string">'Value'</span>, 0);
+1465 setappdata(handles.figure1, <span class="string">'ChannelB'</span>, 1);
+1466 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1467 <span class="comment">%AutoScaleYLocal(handles);</span>
+1468 
+1469 <span class="comment">% --- Executes on button press in GoldenOrbit2.</span>
+1470 <a name="_sub16" href="#_subfunctions" class="code">function GoldenOrbit2_Callback(hObject, eventdata, handles)</a>
+1471 set(handles.RawOrbit2,<span class="string">'Value'</span>, 0);
+1472 set(handles.GoldenOrbit2,<span class="string">'Value'</span>, 1);
+1473 set(handles.OffsetOrbit2,<span class="string">'Value'</span>, 0);
+1474 set(handles.SaveOrbit2,<span class="string">'Value'</span>, 0);
+1475 set(handles.FileOrbit2,<span class="string">'Value'</span>, 0);
+1476 setappdata(handles.figure1, <span class="string">'ChannelB'</span>, 2);
+1477 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1478 <span class="comment">%AutoScaleYLocal(handles);</span>
+1479 
+1480 <span class="comment">% --- Executes on button press in OffsetOrbit2.</span>
+1481 <a name="_sub17" href="#_subfunctions" class="code">function OffsetOrbit2_Callback(hObject, eventdata, handles)</a>
+1482 set(handles.RawOrbit2,<span class="string">'Value'</span>, 0);
+1483 set(handles.GoldenOrbit2,<span class="string">'Value'</span>, 0);
+1484 set(handles.OffsetOrbit2,<span class="string">'Value'</span>, 1);
+1485 set(handles.SaveOrbit2,<span class="string">'Value'</span>, 0);
+1486 set(handles.FileOrbit2,<span class="string">'Value'</span>, 0);
+1487 setappdata(handles.figure1, <span class="string">'ChannelB'</span>, 3);
+1488 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1489 <span class="comment">%AutoScaleYLocal(handles);</span>
+1490 
+1491 <span class="comment">% --- Executes on button press in SaveOrbit2.</span>
+1492 <a name="_sub18" href="#_subfunctions" class="code">function SaveOrbit2_Callback(hObject, eventdata, handles)</a>
+1493 set(handles.RawOrbit2,<span class="string">'Value'</span>, 0);
+1494 set(handles.GoldenOrbit2,<span class="string">'Value'</span>, 0);
+1495 set(handles.OffsetOrbit2,<span class="string">'Value'</span>, 0);
+1496 set(handles.SaveOrbit2,<span class="string">'Value'</span>, 1);
+1497 set(handles.FileOrbit2,<span class="string">'Value'</span>, 0);
+1498 setappdata(handles.figure1, <span class="string">'ChannelB'</span>, 4);
+1499 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1500 <span class="comment">%AutoScaleYLocal(handles);</span>
+1501 
+1502 <span class="comment">% --- Executes on button press in FileOrbit2.</span>
+1503 <a name="_sub19" href="#_subfunctions" class="code">function FileOrbit2_Callback(hObject, eventdata, handles)</a>
+1504 set(handles.RawOrbit2,<span class="string">'Value'</span>, 0);
+1505 set(handles.GoldenOrbit2,<span class="string">'Value'</span>, 0);
+1506 set(handles.OffsetOrbit2,<span class="string">'Value'</span>, 0);
+1507 set(handles.SaveOrbit2,<span class="string">'Value'</span>, 0);
+1508 set(handles.FileOrbit2,<span class="string">'Value'</span>, 1);
+1509 setappdata(handles.figure1, <span class="string">'ChannelB'</span>, 5);
+1510 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1511 <span class="comment">%AutoScaleYLocal(handles);</span>
+1512 
+1513 <span class="comment">% --- Executes on button press in SaveOrbit1Now.</span>
+1514 <a name="_sub20" href="#_subfunctions" class="code">function SaveOrbit1Now_Callback(hObject, eventdata, handles)</a>
+1515 RawX = getappdata(handles.figure1,<span class="string">'RawX'</span>);
+1516 RawY = getappdata(handles.figure1,<span class="string">'RawY'</span>);
+1517 setappdata(handles.figure1,<span class="string">'SaveX'</span>, RawX);
+1518 setappdata(handles.figure1,<span class="string">'SaveY'</span>, RawY);
+1519 <span class="keyword">if</span> isfield(RawY,<span class="string">'TimeStamp'</span>)
+1520     set(handles.SaveTime,<span class="string">'String'</span>, sprintf(<span class="string">'%s'</span>,datestr(RawY.TimeStamp,0)));
+1521 <span class="keyword">else</span>
+1522     set(handles.SaveTime,<span class="string">'String'</span>, sprintf(<span class="string">'%s'</span>,datestr(clock,0)));
+1523 <span class="keyword">end</span>
+1524 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1525 <span class="comment">%AutoScaleYLocal(handles);</span>
+1526 
+1527 
+1528 <span class="comment">% --- Executes on button press in LoadOrbit1.</span>
+1529 <a name="_sub21" href="#_subfunctions" class="code">function LoadOrbit1_Callback(hObject, eventdata, handles)</a>
+1530 UnitMenu = getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>);
+1531 <span class="keyword">if</span> UnitMenu == 1
+1532     UnitsFlag = <span class="string">'Physics'</span>;
+1533 <span class="keyword">else</span>
+1534     UnitsFlag = <span class="string">'Hardware'</span>;
+1535 <span class="keyword">end</span>
+1536 
+1537 DataStruct1 = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+1538 DataStruct2 = getappdata(handles.figure1, <span class="string">'BPMyFamily'</span>);
+1539 
+1540 
+1541 <span class="comment">% DirectoryName = getfamilydata('Directory','DataRoot');</span>
+1542 DirectoryName = getfamilydata(<span class="string">'Directory'</span>, <span class="string">'BPMData'</span>);
+1543 [FileName, DirectoryName] = uigetfile(<span class="string">'*.mat'</span>, <span class="string">'Select a File'</span>, [DirectoryName]);
+1544 <span class="keyword">if</span> FileName == 0 
+1545     <span class="keyword">return</span>
+1546 <span class="keyword">end</span>
+1547 
+1548 <span class="comment">% Remove .mat</span>
+1549 <span class="comment">%if strcmpi(FileName(end-3:end), '.mat')</span>
+1550 <span class="comment">%    FileName = FileName(1:end-4);</span>
+1551 <span class="comment">%end</span>
+1552 
+1553 <span class="comment">% Graph 1</span>
+1554 <span class="keyword">try</span>
+1555     DataStruct = getdata(DataStruct1.FamilyName, DataStruct1.DeviceList, [DirectoryName FileName], <span class="string">'Struct'</span>);
+1556     <span class="keyword">if</span> UnitMenu == 1 &amp;&amp; strcmpi(DataStruct.Units,<span class="string">'Hardware'</span>)
+1557         <span class="comment">% Physics units requested</span>
+1558         DataStruct = hw2physics(DataStruct);
+1559     <span class="keyword">elseif</span> (UnitMenu==2 || UnitMenu==3) &amp;&amp; strcmpi(DataStruct.Units,<span class="string">'Physics'</span>)
+1560         <span class="comment">% Hardware units requested, data is in Physics units</span>
+1561         DataStruct = physics2hw(DataStruct);
+1562     <span class="keyword">end</span>
+1563     setappdata(handles.figure1, <span class="string">'FileX'</span>, DataStruct);
+1564     setappdata(handles.figure1, <span class="string">'FileNameX'</span>, [DirectoryName FileName]);
+1565 <span class="keyword">end</span>
+1566 
+1567 <span class="comment">% Graph 2</span>
+1568 <span class="keyword">try</span>
+1569     DataStruct = getdata(DataStruct2.FamilyName, DataStruct1.DeviceList, [DirectoryName FileName], <span class="string">'Struct'</span>);
+1570     <span class="keyword">if</span> UnitMenu == 1 &amp;&amp; strcmpi(DataStruct.Units,<span class="string">'Hardware'</span>)
+1571         <span class="comment">% Physics units requested</span>
+1572         DataStruct = hw2physics(DataStruct);
+1573     <span class="keyword">elseif</span> (UnitMenu==2 || UnitMenu==3) &amp;&amp; strcmpi(DataStruct.Units,<span class="string">'Physics'</span>)
+1574         <span class="comment">% Hardware units requested, data is in Physics units</span>
+1575         DataStruct = physics2hw(DataStruct);
+1576     <span class="keyword">end</span>
+1577     setappdata(handles.figure1, <span class="string">'FileY'</span>, DataStruct);
+1578     setappdata(handles.figure1, <span class="string">'FileNameY'</span>, [DirectoryName FileName]);
+1579 <span class="keyword">catch</span>
+1580 <span class="keyword">end</span>
+1581 
+1582 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1583 <span class="comment">%AutoScaleYLocal(handles);</span>
+1584 <a href="#_sub22" class="code" title="subfunction UpdateFileDisplayLocal(handles)">UpdateFileDisplayLocal</a>(handles);
+1585 
+1586 
+1587 <span class="comment">% --- local function to update filename on the display.</span>
+1588 <a name="_sub22" href="#_subfunctions" class="code">function UpdateFileDisplayLocal(handles)</a>
+1589 
+1590 FileNameX = getappdata(handles.figure1, <span class="string">'FileNameX'</span>);
+1591 FileNameY = getappdata(handles.figure1, <span class="string">'FileNameY'</span>);
+1592 
+1593 <span class="keyword">if</span> isempty(FileNameX) &amp;&amp; isempty(FileNameY)
+1594     set(handles.FileNameX,<span class="string">'String'</span>, <span class="string">'File X: not loaded'</span>);
+1595     set(handles.FileNameY,<span class="string">'String'</span>, <span class="string">'File Z: not loaded'</span>);
+1596     drawnow;
+1597     <span class="keyword">return</span>;
+1598 <span class="keyword">end</span>
+1599 
+1600 <span class="keyword">if</span> ~isempty(FileNameX)
+1601     <span class="comment">% Remove directories</span>
+1602     i = findstr(FileNameX, filesep);
+1603     <span class="keyword">if</span> ~isempty(i)
+1604         FileNameX = FileNameX(i(end)+1:end);
+1605     <span class="keyword">end</span>
+1606     
+1607     <span class="comment">% Shorten length</span>
+1608     <span class="keyword">if</span> length(FileNameX) &gt;= 31
+1609         <span class="comment">% Remove .mat</span>
+1610         <span class="keyword">if</span> strcmpi(FileNameX(end-3:end),<span class="string">'.mat'</span>)
+1611             FileNameX = FileNameX(1:end-4);  <span class="comment">% remove .mat</span>
+1612         <span class="keyword">end</span>
+1613         
+1614         <span class="keyword">if</span> length(FileNameX) &gt;= 31
+1615             FileNameX = FileNameX(1:31);
+1616         <span class="keyword">end</span>
+1617     <span class="keyword">end</span>
+1618 
+1619     set(handles.FileNameX,<span class="string">'String'</span>, sprintf(<span class="string">'File X: %s'</span>, FileNameX));
+1620 <span class="keyword">else</span>
+1621     set(handles.FileNameX,<span class="string">'String'</span>, <span class="string">'File 1: no data'</span>);
+1622 <span class="keyword">end</span>
+1623 
+1624 <span class="keyword">if</span> ~isempty(FileNameY)
+1625     <span class="comment">% Remove directories</span>
+1626     i = findstr(FileNameY,filesep);
+1627     <span class="keyword">if</span> ~isempty(i)
+1628         FileNameY = FileNameY(i(end)+1:end);
+1629     <span class="keyword">end</span>
+1630     
+1631     <span class="comment">% Shorten length</span>
+1632     <span class="keyword">if</span> length(FileNameY) &gt;= 31
+1633         <span class="comment">% Remove .mat</span>
+1634         <span class="keyword">if</span> strcmpi(FileNameY(end-3:end),<span class="string">'.mat'</span>)
+1635             FileNameY = FileNameY(1:end-4);  <span class="comment">% remove .mat</span>
+1636         <span class="keyword">end</span>
+1637         <span class="keyword">if</span> length(FileNameY) &gt;= 31
+1638             FileNameY = FileNameY(1:31);
+1639         <span class="keyword">end</span>
+1640     <span class="keyword">end</span>
+1641     
+1642     <span class="comment">%set(handles.FileNameY,'String', sprintf('File 2: %s', FileNameY));</span>
+1643     set(handles.FileNameY,<span class="string">'String'</span>, sprintf(<span class="string">'File Y: %s'</span>, FileNameY));
+1644 <span class="keyword">else</span>
+1645     set(handles.FileNameY,<span class="string">'String'</span>, <span class="string">'File 2: no data'</span>);
+1646 <span class="keyword">end</span>
+1647 
+1648 <span class="keyword">if</span> strcmpi(FileNameX, FileNameY) &amp;&amp; ~isempty(FileNameX)
+1649     set(handles.FileNameY,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+1650     set(handles.FileNameX,<span class="string">'String'</span>, sprintf(<span class="string">'%s'</span>, FileNameX));
+1651     <span class="comment">%p = get(handles.FileNameX,'Position');</span>
+1652     <span class="comment">%set(handles.FileName,'Position', [p(1) 4 p(3) p(4)]);   % Points</span>
+1653     <span class="comment">%set(handles.FileNameX,'Position', [p(1) .4 p(3) p(4)]);   % Characters</span>
+1654     <span class="comment">%p = get(handles.SaveTime,'Position');</span>
+1655     <span class="comment">%set(handles.SaveTime,'Position', [p(1) 16.5 p(3) p(4)]);  % Points</span>
+1656     <span class="comment">%set(handles.SaveTime,'Position', [p(1) 1.6 p(3) p(4)]);    % Characters</span>
+1657 <span class="keyword">else</span>
+1658     <span class="comment">%p = get(handles.FileNameX,'Position');</span>
+1659     <span class="comment">%set(handles.FileName,'Position', [p(1) 10 p(3) p(4)]);  % Points</span>
+1660     <span class="comment">%set(handles.FileNameX,'Position', [p(1) 1.1 p(3) p(4)]);  % Characters</span>
+1661     <span class="comment">%set(handles.FileNameY,'Visible','on');</span>
+1662     <span class="comment">%p = get(handles.SaveTime,'Position');</span>
+1663     <span class="comment">%set(handles.SaveTime,'Position', [p(1) 20 p(3) p(4)]);  % Points</span>
+1664     <span class="comment">%set(handles.SaveTime,'Position', [p(1) 2.0 p(3) p(4)]);  % Characters</span>
+1665 <span class="keyword">end</span>
+1666 
+1667 drawnow;
+1668 
+1669 
+1670 <span class="comment">% --- Executes on button press in Display1.</span>
+1671 <a name="_sub23" href="#_subfunctions" class="code">function Display1_Callback(hObject, eventdata, handles)</a>
+1672 set(handles.DisplayDiff,<span class="string">'Value'</span>, 0);
+1673 set(handles.Display1,<span class="string">'Value'</span>, 1);
+1674 set(handles.Display2,<span class="string">'Value'</span>, 0);
+1675 setappdata(handles.figure1,<span class="string">'Trace1'</span>,1);
+1676 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1677 <span class="comment">%AutoScaleYLocal(handles);</span>
+1678 
+1679 <span class="comment">% --- Executes on button press in Display2.</span>
+1680 <a name="_sub24" href="#_subfunctions" class="code">function Display2_Callback(hObject, eventdata, handles)</a>
+1681 set(handles.DisplayDiff,<span class="string">'Value'</span>, 0);
+1682 set(handles.Display1,<span class="string">'Value'</span>, 0);
+1683 set(handles.Display2,<span class="string">'Value'</span>, 1);
+1684 setappdata(handles.figure1,<span class="string">'Trace1'</span>,2);
+1685 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1686 <span class="comment">%AutoScaleYLocal(handles);</span>
+1687 
+1688 <span class="comment">% --- Executes on button press in DisplayDiff.</span>
+1689 <a name="_sub25" href="#_subfunctions" class="code">function DisplayDiff_Callback(hObject, eventdata, handles)</a>
+1690 set(handles.DisplayDiff,<span class="string">'Value'</span>, 1);
+1691 set(handles.Display1,<span class="string">'Value'</span>, 0);
+1692 set(handles.Display2,<span class="string">'Value'</span>, 0);
+1693 setappdata(handles.figure1,<span class="string">'Trace1'</span>,3);
+1694 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1695 <span class="comment">%AutoScaleYLocal(handles);</span>
+1696 
+1697 
+1698 <span class="comment">% --- Executes on button press in Trace2A.</span>
+1699 <a name="_sub26" href="#_subfunctions" class="code">function Trace2A_Callback(hObject, eventdata, handles)</a>
+1700 set(handles.Trace2A,<span class="string">'Value'</span>, 1);
+1701 set(handles.Trace2B,<span class="string">'Value'</span>, 0);
+1702 set(handles.Trace2A_B,<span class="string">'Value'</span>, 0);
+1703 set(handles.Trace2Off,<span class="string">'Value'</span>, 0);
+1704 setappdata(handles.figure1,<span class="string">'Trace2'</span>,1);
+1705 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1706 <span class="comment">%AutoScaleYLocal(handles);</span>
+1707 
+1708 <span class="comment">% --- Executes on button press in Trace2B.</span>
+1709 <a name="_sub27" href="#_subfunctions" class="code">function Trace2B_Callback(hObject, eventdata, handles)</a>
+1710 set(handles.Trace2A,<span class="string">'Value'</span>, 0);
+1711 set(handles.Trace2B,<span class="string">'Value'</span>, 1);
+1712 set(handles.Trace2A_B,<span class="string">'Value'</span>, 0);
+1713 set(handles.Trace2Off,<span class="string">'Value'</span>, 0);
+1714 setappdata(handles.figure1,<span class="string">'Trace2'</span>,2);
+1715 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1716 <span class="comment">%AutoScaleYLocal(handles);</span>
+1717 
+1718 <span class="comment">% --- Executes on button press in Trace2A_B.</span>
+1719 <a name="_sub28" href="#_subfunctions" class="code">function Trace2A_B_Callback(hObject, eventdata, handles)</a>
+1720 set(handles.Trace2A,<span class="string">'Value'</span>, 0);
+1721 set(handles.Trace2B,<span class="string">'Value'</span>, 0);
+1722 set(handles.Trace2A_B,<span class="string">'Value'</span>, 1);
+1723 set(handles.Trace2Off,<span class="string">'Value'</span>, 0);
+1724 setappdata(handles.figure1,<span class="string">'Trace2'</span>,3);
+1725 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1726 <span class="comment">%AutoScaleYLocal(handles);</span>
+1727 
+1728 <span class="comment">% --- Executes on button press in Trace2Off.</span>
+1729 <a name="_sub29" href="#_subfunctions" class="code">function Trace2Off_Callback(hObject, eventdata, handles) </a><span class="comment">%#ok&lt;DEFNU&gt;</span>
+1730 set(handles.Trace2A,<span class="string">'Value'</span>, 0);
+1731 set(handles.Trace2B,<span class="string">'Value'</span>, 0);
+1732 set(handles.Trace2A_B,<span class="string">'Value'</span>, 0);
+1733 set(handles.Trace2Off,<span class="string">'Value'</span>, 1);
+1734 setappdata(handles.figure1,<span class="string">'Trace2'</span>,4);
+1735 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+1736 <span class="comment">%AutoScaleYLocal(handles);</span>
+1737 
+1738 
+1739 <span class="comment">% --- Executes on selection change in DataList1.</span>
+1740 <a name="_sub30" href="#_subfunctions" class="code">function DataList1_Callback(hObject, eventdata, handles)</a>
+1741 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1742     Mode = <span class="string">'Simulator'</span>;
+1743 <span class="keyword">else</span>
+1744     Mode = <span class="string">'Online'</span>;
+1745 <span class="keyword">end</span>
+1746 
+1747 i = get(hObject,<span class="string">'Value'</span>);
+1748 DataStruct = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+1749 
+1750 Family = DataStruct.FamilyName;
+1751 Field = DataStruct.Field;
+1752 List = DataStruct.DeviceList;
+1753 [tmp,ao] = isfamily(Family);
+1754 
+1755 <span class="keyword">if</span> strcmpi(Field, <span class="string">'Monitor'</span>)
+1756     Field = <span class="string">'Setpoint'</span>;
+1757 <span class="keyword">end</span>
+1758 
+1759 set(handles.DataList1, <span class="string">'TooltipString'</span>, cell2mat(family2tangodev(Family,List(i,:))));
+1760 
+1761 <span class="keyword">if</span> isfield(ao, Field)
+1762     <span class="keyword">if</span> getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>) == 1
+1763         UnitsFlag = <span class="string">'Physics'</span>;
+1764     <span class="keyword">else</span>
+1765         UnitsFlag = <span class="string">'Hardware'</span>;
+1766     <span class="keyword">end</span>
+1767 
+1768     <span class="comment">% Get/save the present setpoint then call the GUI for setpoint changes</span>
+1769     <span class="keyword">try</span>
+1770         SP = getpv(Family, Field, List(i,:), Mode, UnitsFlag, <span class="string">'Struct'</span>);
+1771         set(handles.SetpointSlider,     <span class="string">'UserData'</span>, SP);
+1772         set(handles.SetpointPushButton, <span class="string">'UserData'</span>, SP);
+1773 
+1774         <a href="#_sub93" class="code" title="subfunction SetpointGUI_Callback(hObject, eventdata, handles)">SetpointGUI_Callback</a>(hObject, eventdata, handles);
+1775     <span class="keyword">catch</span>
+1776         fprintf(<span class="string">'   Trouble finding the present value of %s.%s(%d,%d)\n'</span>,Family, Field, List(i,:));
+1777     <span class="keyword">end</span>
+1778 <span class="keyword">end</span>
+1779 
+1780 
+1781 <span class="comment">% --- Executes on selection change in DataList2.</span>
+1782 <a name="_sub31" href="#_subfunctions" class="code">function DataList2_Callback(hObject, eventdata, handles)</a>
+1783 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1784     Mode = <span class="string">'Simulator'</span>;
+1785 <span class="keyword">else</span>
+1786     Mode = <span class="string">'Online'</span>;
+1787 <span class="keyword">end</span>
+1788 
+1789 i = get(hObject,<span class="string">'Value'</span>);
+1790 DataStruct = getappdata(handles.figure1, <span class="string">'BPMyFamily'</span>);
+1791 
+1792 Family = DataStruct.FamilyName;
+1793 Field = DataStruct.Field;
+1794 List = DataStruct.DeviceList;
+1795 [tmp,ao] = isfamily(Family);
+1796 
+1797 <span class="keyword">if</span> strcmpi(Field, <span class="string">'Monitor'</span>)
+1798     Field = <span class="string">'Setpoint'</span>;
+1799 <span class="keyword">end</span>
+1800 
+1801 set(handles.DataList2, <span class="string">'TooltipString'</span>, cell2mat(family2tangodev(Family,List(i,:))));
+1802 
+1803 <span class="keyword">if</span> isfield(ao, Field)
+1804     <span class="keyword">if</span> getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>) == 1
+1805         UnitsFlag = <span class="string">'Physics'</span>;
+1806     <span class="keyword">else</span>
+1807         UnitsFlag = <span class="string">'Hardware'</span>;
+1808     <span class="keyword">end</span>
+1809 
+1810     <span class="comment">% Get/save the present setpoint then call the GUI for setpoint changes</span>
+1811     <span class="keyword">try</span>
+1812         SP = getpv(Family, Field, List(i,:), Mode, UnitsFlag, <span class="string">'Struct'</span>);
+1813         set(handles.SetpointSlider, <span class="string">'UserData'</span>, SP);
+1814         set(handles.SetpointPushButton, <span class="string">'UserData'</span>, SP);
+1815 
+1816         <a href="#_sub93" class="code" title="subfunction SetpointGUI_Callback(hObject, eventdata, handles)">SetpointGUI_Callback</a>(hObject, eventdata, handles);
+1817     <span class="keyword">catch</span>
+1818         fprintf(<span class="string">'   Trouble finding the present value of %s.%s(%d,%d)\n'</span>,Family, Field, List(i,:));
+1819     <span class="keyword">end</span>
+1820 <span class="keyword">end</span>
+1821 
+1822 
+1823 
+1824 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+1825 <span class="comment">% MENU CALLBACKS %</span>
+1826 <span class="comment">%%%%%%%%%%%%%%%%%%</span>
+1827 
+1828 <span class="comment">% --------------------------------------------------------------------</span>
+1829 <a name="_sub32" href="#_subfunctions" class="code">function PopPlot_Callback(hObject, eventdata, handles)</a>
+1830 a = figure;
+1831 b = copyobj(handles.Graph1, a); 
+1832 set(b, <span class="string">'Position'</span>, [0.1300    0.5811    0.7750    0.3439]);
+1833 set(b, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+1834 set(b, <span class="string">'XAxisLocation'</span>,<span class="string">'Bottom'</span>);
+1835 
+1836 b = copyobj(handles.Graph2, a); 
+1837 set(b, <span class="string">'Position'</span>, [0.1300    0.1100    0.7750    0.3439]);
+1838 set(b, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+1839 xlabel(b, <span class="string">'Position [meters]'</span>);
+1840 
+1841 Data = getappdata(handles.figure1, <span class="string">'RawY'</span>);
+1842 <span class="keyword">if</span> isfield(Data, <span class="string">'TimeStamp'</span>)
+1843     addlabel(1,0,datestr(Data.TimeStamp,21));
+1844 <span class="keyword">end</span>
+1845 orient tall
+1846 
+1847 
+1848 <span class="comment">% --------------------------------------------------------------------</span>
+1849 <a name="_sub33" href="#_subfunctions" class="code">function PopPlot1_Callback(hObject, eventdata, handles)</a>
+1850 <span class="comment">%set(handles.figure1, 'HandleVisibility','Callback');</span>
+1851 
+1852 a = figure;
+1853 b = copyobj(handles.Graph1, a); 
+1854 set(b, <span class="string">'Position'</span>,[0.13 0.11 0.775 0.815]); 
+1855 set(b, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+1856 set(b, <span class="string">'XAxisLocation'</span>,<span class="string">'Bottom'</span>);
+1857 Axis1 = axis;
+1858 
+1859 <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_Nothing,<span class="string">'Checked'</span>),<span class="string">'Off'</span>)
+1860     set(b, <span class="string">'Position'</span>,[0.13 0.11 0.775 0.7]); 
+1861     c = copyobj(handles.Graph3, a); 
+1862     
+1863     <span class="comment">% Plot on top of each other</span>
+1864     <span class="comment">%set(c, 'Position',[0.13 0.11 0.775 0.815]);</span>
+1865     
+1866     <span class="comment">% Separate plots</span>
+1867     set(c, <span class="string">'Position'</span>,[0.13 0.11+.72 0.775 0.12]); 
+1868     
+1869     set(c,<span class="string">'color'</span>,[1 1 1]);
+1870     set(c,<span class="string">'Visible'</span>,<span class="string">'On'</span>);   
+1871     set(c,<span class="string">'XAxisLocation'</span>,<span class="string">'Top'</span>);
+1872     set(c,<span class="string">'XTick'</span>,get(b,<span class="string">'XTick'</span>));
+1873     <span class="comment">%set(c,'XTickLabel',get(b,'XTickLabel'));</span>
+1874     set(c,<span class="string">'XTickLabel'</span>,[]);
+1875     set(c,<span class="string">'XMinorTick'</span>,<span class="string">'On'</span>);
+1876     set(c,<span class="string">'XMinorGrid'</span>,<span class="string">'Off'</span>);
+1877     set(c,<span class="string">'XGrid'</span>,<span class="string">'Off'</span>);
+1878     set(c,<span class="string">'YGrid'</span>,<span class="string">'Off'</span>);
+1879     set(c,<span class="string">'XAxisLocation'</span>,<span class="string">'Bottom'</span>);
+1880     set(c,<span class="string">'YAxisLocation'</span>,<span class="string">'Left'</span>);
+1881     <span class="comment">%set(c,'YAxisLocation','Right');</span>
+1882     set(c,<span class="string">'YTick'</span>,[]);
+1883     set(c,<span class="string">'YMinorTick'</span>,<span class="string">'Off'</span>);
+1884     set(c,<span class="string">'YMinorGrid'</span>,<span class="string">'Off'</span>);
+1885     set(c,<span class="string">'YTickLabel'</span>,[]);
+1886     axis(c,<span class="string">'tight'</span>);
+1887     Axis2 = axis(c); 
+1888     axis(c,[Axis1(1) Axis1(2) Axis2(3)-.2*(Axis2(4)-Axis2(3)) Axis2(4)+.2*(Axis2(4)-Axis2(3))]);
+1889     
+1890     set(c, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+1891 
+1892     <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_BetaX,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1893         ylabel(c, <span class="string">'Beta X'</span>);
+1894     <span class="keyword">end</span>
+1895     <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_BetaY,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1896         ylabel(c, <span class="string">'Beta Y'</span>);
+1897     <span class="keyword">end</span>
+1898     <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_DispX,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1899         ylabel(c, <span class="string">'Disp X'</span>);
+1900     <span class="keyword">end</span>
+1901     <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_DispY,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1902         ylabel(c, <span class="string">'Disp Y'</span>);
+1903     <span class="keyword">end</span>
+1904 <span class="keyword">end</span>
+1905 xlabel(b, <span class="string">'Position [meters]'</span>);
+1906 Data = getappdata(handles.figure1, <span class="string">'RawX'</span>);
+1907 <span class="keyword">if</span> isfield(Data, <span class="string">'TimeStamp'</span>) &amp;&amp; ~isempty(Data.TimeStamp)
+1908     addlabel(1,0,datestr(Data.TimeStamp,21));
+1909 <span class="keyword">end</span>
+1910 orient portrait
+1911 
+1912 
+1913 <span class="comment">% --------------------------------------------------------------------</span>
+1914 <a name="_sub34" href="#_subfunctions" class="code">function PopPlot2_Callback(hObject, eventdata, handles)</a>
+1915 set(handles.Graph2, <span class="string">'HandleVisibility'</span>, <span class="string">'Callback'</span>); 
+1916 
+1917 a = figure;
+1918 b = copyobj(handles.Graph2, a); 
+1919 set(b, <span class="string">'Position'</span>,[0.13 0.11 0.775 0.815]); 
+1920 set(b, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+1921 Axis1 = axis;
+1922 
+1923 <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_Nothing,<span class="string">'Checked'</span>),<span class="string">'Off'</span>)
+1924     set(b, <span class="string">'Position'</span>,[0.13 0.11 0.775 0.7]); 
+1925     c = copyobj(handles.Graph4, a); 
+1926     
+1927     <span class="comment">% Plot on top of each other</span>
+1928     <span class="comment">%set(c, 'Position',[0.13 0.11 0.775 0.815]);</span>
+1929     
+1930     <span class="comment">% Separate plots</span>
+1931     set(c, <span class="string">'Position'</span>,[0.13 0.11+.72 0.775 0.12]); 
+1932     
+1933     set(c,<span class="string">'color'</span>,[1 1 1]);
+1934     set(c,<span class="string">'Visible'</span>,<span class="string">'On'</span>);   
+1935     set(c,<span class="string">'XAxisLocation'</span>,<span class="string">'Top'</span>);
+1936     set(c,<span class="string">'XTick'</span>,get(b,<span class="string">'XTick'</span>));
+1937     set(c,<span class="string">'XTickLabel'</span>,get(b,<span class="string">'XTickLabel'</span>));
+1938     <span class="comment">%set(c,'XTickLabel',[]);</span>
+1939     set(c,<span class="string">'XMinorTick'</span>,<span class="string">'On'</span>);
+1940     set(c,<span class="string">'XMinorGrid'</span>,<span class="string">'Off'</span>);
+1941     set(c,<span class="string">'XGrid'</span>,<span class="string">'Off'</span>);
+1942     set(c,<span class="string">'YGrid'</span>,<span class="string">'Off'</span>);
+1943     set(c,<span class="string">'YAxisLocation'</span>,<span class="string">'Left'</span>);
+1944 
+1945     <span class="comment">% Turn y-axis on</span>
+1946     set(c,<span class="string">'YTick'</span>,[]);
+1947     set(c,<span class="string">'YMinorTick'</span>,<span class="string">'Off'</span>);
+1948     set(c,<span class="string">'YMinorGrid'</span>,<span class="string">'Off'</span>);
+1949     set(c,<span class="string">'YTickLabel'</span>,[]);
+1950     axis(c,<span class="string">'tight'</span>);
+1951     Axis2 = axis(c); 
+1952     axis(c,[Axis1(1) Axis1(2) Axis2(3)-.2*(Axis2(4)-Axis2(3)) Axis2(4)+.2*(Axis2(4)-Axis2(3))]);
+1953     
+1954     set(c, <span class="string">'ButtonDownFcn'</span>,<span class="string">''</span>);
+1955 
+1956     <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_BetaX,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1957         ylabel(c,<span class="string">'Beta X'</span>);
+1958     <span class="keyword">end</span>
+1959     <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_BetaY,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1960         ylabel(c,<span class="string">'Beta Y'</span>);
+1961     <span class="keyword">end</span>
+1962     <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_DispX,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1963         ylabel(c,<span class="string">'Disp X'</span>);
+1964     <span class="keyword">end</span>
+1965     <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_DispY,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+1966         ylabel(c,<span class="string">'Disp Y'</span>);
+1967     <span class="keyword">end</span>
+1968 <span class="keyword">end</span>
+1969 xlabel(<span class="string">'Position [meters]'</span>);
+1970 Data = getappdata(handles.figure1, <span class="string">'RawY'</span>);
+1971 <span class="keyword">if</span> isfield(Data, <span class="string">'TimeStamp'</span>) &amp;&amp; ~isempty(Data.TimeStamp)
+1972     addlabel(1,0,datestr(Data.TimeStamp,21));
+1973 <span class="keyword">end</span>
+1974 orient portrait
+1975 
+1976 
+1977 <span class="comment">% --------------------------------------------------------------------</span>
+1978 <a name="_sub35" href="#_subfunctions" class="code">function Axis1_Callback(hObject, eventdata, handles)</a>
+1979 a = axis(handles.Graph1);
+1980 a = a(3:4);
+1981 answer = inputdlg(<span class="string">'New upper graph vertical axis [2 element vector]'</span>,<span class="string">''</span>,1,{sprintf(<span class="string">'[%s]'</span>,num2str(a))});
+1982 <span class="keyword">if</span> ~isempty(answer)
+1983     a = str2num(answer{1});
+1984     <span class="keyword">if</span> length(a) == 2
+1985         set(handles.Graph1, <span class="string">'YLim'</span>, a);
+1986     <span class="keyword">else</span>
+1987         fprintf(<span class="string">'   Vertical axis needs to be a 2 element vector.\n'</span>);
+1988     <span class="keyword">end</span>
+1989 <span class="keyword">end</span>
+1990 
+1991 
+1992 <span class="comment">% --------------------------------------------------------------------</span>
+1993 <a name="_sub36" href="#_subfunctions" class="code">function Axis2_Callback(hObject, eventdata, handles)</a>
+1994 a = axis(handles.Graph2);
+1995 a = a(3:4);
+1996 answer = inputdlg(<span class="string">'New lower graph vertical axis [2 element vector]'</span>,<span class="string">''</span>,1,{sprintf(<span class="string">'[%s]'</span>,num2str(a))});
+1997 <span class="keyword">if</span> ~isempty(answer)
+1998     a = str2num(answer{1});
+1999     <span class="keyword">if</span> length(a) == 2
+2000         set(handles.Graph2, <span class="string">'YLim'</span>, a);
+2001     <span class="keyword">else</span>
+2002         fprintf(<span class="string">'   Vertical axis needs to be a 2 element vector.\n'</span>);
+2003     <span class="keyword">end</span>
+2004 <span class="keyword">end</span>
+2005 
+2006 
+2007 <span class="comment">% --------------------------------------------------------------------</span>
+2008 <a name="_sub37" href="#_subfunctions" class="code">function HorizontalAxis_Callback(hObject, eventdata, handles)</a>
+2009 a = axis(handles.Graph2);
+2010 a = a(1:2);
+2011 answer = inputdlg(<span class="string">'New horizontal axis [2 element vector]'</span>,<span class="string">''</span>,1,{sprintf(<span class="string">'[%s]'</span>,num2str(a))});
+2012 <span class="keyword">if</span> ~isempty(answer)
+2013     a = str2num(answer{1});
+2014     <span class="keyword">if</span> length(a) == 2
+2015         set(handles.Graph1, <span class="string">'XLim'</span>, a);
+2016         set(handles.Graph2, <span class="string">'XLim'</span>, a);
+2017         set(handles.Graph3, <span class="string">'XLim'</span>, a);
+2018         set(handles.Graph4, <span class="string">'XLim'</span>, a);
+2019         set(handles.LatticeAxes, <span class="string">'XLim'</span>, a);
+2020         setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, a(:)');
+2021         setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, a(:)');
+2022     <span class="keyword">else</span>
+2023         fprintf(<span class="string">'   Horizontal axis needs to be a 2 element vector.\n'</span>);
+2024     <span class="keyword">end</span>
+2025 <span class="keyword">end</span>
+2026 
+2027 
+2028 <span class="comment">% --------------------------------------------------------------------</span>
+2029 <a name="_sub38" href="#_subfunctions" class="code">function HorizontalAxisSector_Callback(hObject, eventdata, handles)</a>
+2030 a = eventdata;
+2031 <span class="keyword">if</span> length(a) == 2
+2032     set(handles.Graph1, <span class="string">'XLim'</span>, a);
+2033     set(handles.Graph2, <span class="string">'XLim'</span>, a);
+2034     set(handles.Graph3, <span class="string">'XLim'</span>, a);
+2035     set(handles.Graph4, <span class="string">'XLim'</span>, a);
+2036     set(handles.LatticeAxes, <span class="string">'XLim'</span>, a);
+2037 
+2038     setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, a(:)');
+2039     setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, a(:)');
+2040 <span class="keyword">else</span>
+2041     fprintf(<span class="string">'   Horizontal axis needs to be a 2 element vector.\n'</span>);
+2042 <span class="keyword">end</span>
+2043 
+2044 
+2045 
+2046 
+2047 <span class="comment">% --------------------------------------------------------------------</span>
+2048 <a name="_sub39" href="#_subfunctions" class="code">function YScaleLog1_Callback(hObject, eventdata, handles)</a>
+2049 set(handles.Graph1,<span class="string">'YScale'</span>,<span class="string">'Log'</span>);
+2050 set(handles.YScaleLog1,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2051 set(handles.YScaleLinear1,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2052 drawnow;
+2053 
+2054 
+2055 <span class="comment">% --------------------------------------------------------------------</span>
+2056 <a name="_sub40" href="#_subfunctions" class="code">function YScaleLinear1_Callback(hObject, eventdata, handles)</a>
+2057 set(handles.Graph1,<span class="string">'YScale'</span>,<span class="string">'Linear'</span>);
+2058 set(handles.YScaleLog1,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2059 set(handles.YScaleLinear1,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2060 drawnow;
+2061 
+2062 
+2063 <span class="comment">% --------------------------------------------------------------------</span>
+2064 <a name="_sub41" href="#_subfunctions" class="code">function YScaleLog2_Callback(hObject, eventdata, handles)</a>
+2065 set(handles.Graph2,<span class="string">'YScale'</span>,<span class="string">'Log'</span>);
+2066 set(handles.YScaleLog2,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2067 set(handles.YScaleLinear2,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2068 drawnow;
+2069 
+2070 <span class="comment">% --------------------------------------------------------------------</span>
+2071 <a name="_sub42" href="#_subfunctions" class="code">function YScaleLinear2_Callback(hObject, eventdata, handles)</a>
+2072 set(handles.Graph2,<span class="string">'YScale'</span>,<span class="string">'Linear'</span>);
+2073 set(handles.YScaleLog2,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2074 set(handles.YScaleLinear2,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2075 drawnow;
+2076 
+2077 <span class="comment">% --------------------------------------------------------------------</span>
+2078 <a name="_sub43" href="#_subfunctions" class="code">function BPMxFamily_Callback(hObject, eventdata, handles)</a>
+2079 UnitMenu = getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>);
+2080 <span class="keyword">if</span> UnitMenu == 1
+2081     UnitsFlag = <span class="string">'Physics'</span>;
+2082 <span class="keyword">else</span>
+2083     UnitsFlag = <span class="string">'Hardware'</span>;
+2084 <span class="keyword">end</span>
+2085 
+2086 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+2087     Mode = <span class="string">'Simulator'</span>;
+2088 <span class="keyword">else</span>
+2089     Mode = <span class="string">'Online'</span>;
+2090 <span class="keyword">end</span>
+2091 
+2092 <span class="keyword">if</span> isempty(hObject)
+2093     close(gcbf);
+2094     error(<span class="string">'PLOTFAMILY:  Menu corrupted, restart application.'</span>);
+2095 <span class="keyword">else</span>
+2096     DataStruct = get(hObject, <span class="string">'UserData'</span>);
+2097 <span class="keyword">end</span>
+2098 
+2099 <span class="comment">% Rebuild the data structure in case a status field was changed</span>
+2100 DataStruct = family2datastruct(DataStruct.FamilyName, DataStruct.Field);
+2101 
+2102 <span class="keyword">if</span> isfamily(DataStruct)
+2103     setappdata(handles.figure1, <span class="string">'BPMxFamily'</span>, DataStruct);
+2104     
+2105     s = getspos(DataStruct);
+2106     setappdata(handles.figure1, <span class="string">'SPosX'</span>, s);
+2107     
+2108     <span class="comment">%L = getfamilydata('Circumference');</span>
+2109     <span class="comment">%if isempty(L)</span>
+2110     <span class="comment">%    setappdata(handles.figure1, 'AxisRange1X', [min(s) max(s)]);</span>
+2111     <span class="comment">%else</span>
+2112     <span class="comment">%    setappdata(handles.figure1, 'AxisRange1X', [0 L]);</span>
+2113     <span class="comment">%end</span>
+2114     
+2115     ZeroData = DataStruct;
+2116     ZeroData.Data = zeros(size(DataStruct.Data,1),1);
+2117     
+2118     <span class="comment">% Menu label</span>
+2119     set(handles.BPMxFamily,<span class="string">'Label'</span>,sprintf(<span class="string">'Plot: %s.%s'</span>, DataStruct.FamilyName, DataStruct.Field));
+2120     
+2121     setappdata(handles.figure1,<span class="string">'SaveX'</span>, ZeroData);
+2122     tmp = getappdata(handles.figure1,<span class="string">'SaveY'</span>);
+2123     tmp.Data = 0 * tmp.Data;
+2124     setappdata(handles.figure1,<span class="string">'SaveY'</span>, tmp);
+2125     set(handles.SaveTime,<span class="string">'String'</span>, <span class="string">'Not saved'</span>);
+2126     
+2127 <span class="comment">%     % Look for the golden values</span>
+2128 <span class="comment">%     try</span>
+2129 <span class="comment">%         if strcmpi(DataStruct.Field,'Monitor')</span>
+2130 <span class="comment">%             % Use the golden setpoint</span>
+2131 <span class="comment">%             GoldenValues = getgolden(DataStruct.FamilyName, DataStruct.DeviceList, 'Setpoint', UnitsFlag, 'Struct');</span>
+2132 <span class="comment">%         else</span>
+2133 <span class="comment">%             GoldenValues = getgolden(DataStruct, UnitsFlag, 'Struct');</span>
+2134 <span class="comment">%         end</span>
+2135 <span class="comment">%         setappdata(handles.figure1, 'GoldenX', GoldenValues);</span>
+2136 <span class="comment">%     catch</span>
+2137 <span class="comment">%         setappdata(handles.figure1, 'GoldenX', ZeroData);</span>
+2138 <span class="comment">%     end</span>
+2139 <span class="comment">%</span>
+2140 <span class="comment">%     % Look for the offset values</span>
+2141 <span class="comment">%     try</span>
+2142 <span class="comment">%         OffsetValues = getoffset(DataStruct, UnitsFlag, 'Struct');</span>
+2143 <span class="comment">%         setappdata(handles.figure1, 'OffsetX', OffsetValues);</span>
+2144 <span class="comment">%     catch</span>
+2145 <span class="comment">%         try</span>
+2146 <span class="comment">%             % If and offset does not exist than try using the setpoint</span>
+2147 <span class="comment">%             setappdata(handles.figure1, 'OffsetX', getsp(DataStruct.FamilyName, DataStruct.DeviceList, Mode, UnitsFlag, 'Struct'));</span>
+2148 <span class="comment">%         catch</span>
+2149 <span class="comment">%             % Use zeros</span>
+2150 <span class="comment">%             setappdata(handles.figure1, 'OffsetX', ZeroData);</span>
+2151 <span class="comment">%         end</span>
+2152 <span class="comment">%     end</span>
+2153     
+2154     <span class="keyword">try</span>
+2155         FileName = getappdata(handles.figure1, <span class="string">'FileNameX'</span>);
+2156         <span class="keyword">if</span> isempty(FileName)
+2157             FileName = getappdata(handles.figure1, <span class="string">'FileNameY'</span>);
+2158         <span class="keyword">end</span>
+2159     <span class="keyword">end</span>
+2160 
+2161     <span class="keyword">try</span>
+2162         FileName = getappdata(handles.figure1, <span class="string">'FileNameX'</span>);
+2163         <span class="keyword">if</span> isempty(FileName)
+2164             setappdata(handles.figure1,<span class="string">'FileX'</span>, ZeroData);
+2165         <span class="keyword">else</span>
+2166             tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, <span class="string">'Struct'</span>);
+2167             <span class="keyword">if</span> UnitMenu == 1 &amp;&amp; strcmpi(tmp.Units,<span class="string">'Hardware'</span>)
+2168                 <span class="comment">% Physics units requested, data is in Hardware units</span>
+2169                 tmp = hw2physics(tmp);
+2170             <span class="keyword">else</span>
+2171                 <span class="comment">% Hardware units requested, data is in Physics units</span>
+2172                 tmp = physics2hw(tmp);
+2173             <span class="keyword">end</span>
+2174             setappdata(handles.figure1,<span class="string">'FileX'</span>, tmp);
+2175             setappdata(handles.figure1,<span class="string">'FileNameX'</span>, FileName);
+2176         <span class="keyword">end</span>
+2177     <span class="keyword">catch</span>
+2178         setappdata(handles.figure1,<span class="string">'FileX'</span>, ZeroData);
+2179         setappdata(handles.figure1,<span class="string">'FileNameX'</span>,<span class="string">''</span>);
+2180     <span class="keyword">end</span>
+2181     
+2182     set(handles.DataList1,<span class="string">'Value'</span>, 1);
+2183     set(handles.DataList1,<span class="string">'ListBoxTop'</span>, 1);
+2184     <a href="#_sub22" class="code" title="subfunction UpdateFileDisplayLocal(handles)">UpdateFileDisplayLocal</a>(handles);
+2185     <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);        
+2186     
+2187     <span class="comment">% Auto scale y-axis</span>
+2188     <span class="comment">% AutoScaleYLocal(handles);</span>
+2189     a = axis(handles.Graph1);
+2190     axis(handles.Graph1, <span class="string">'auto'</span>);
+2191     set(handles.Graph1, <span class="string">'XLim'</span>, a(1:2));
+2192 
+2193 
+2194 <span class="keyword">else</span>
+2195     fprintf(<span class="string">'   %s is not a known family\n'</span>, DataStruct.FamilyName);
+2196 <span class="keyword">end</span>
+2197 
+2198 
+2199 <span class="comment">% --------------------------------------------------------------------</span>
+2200 <a name="_sub44" href="#_subfunctions" class="code">function BPMyFamily_Callback(hObject, eventdata, handles)</a>
+2201 UnitMenu = getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>);
+2202 <span class="keyword">if</span> UnitMenu == 1
+2203     UnitsFlag = <span class="string">'Physics'</span>;
+2204 <span class="keyword">else</span>
+2205     UnitsFlag = <span class="string">'Hardware'</span>;
+2206 <span class="keyword">end</span>
+2207 
+2208 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+2209     Mode = <span class="string">'Simulator'</span>;
+2210 <span class="keyword">else</span>
+2211     Mode = <span class="string">'Online'</span>;
+2212 <span class="keyword">end</span>
+2213 
+2214 <span class="keyword">if</span> isempty(hObject)
+2215     close(gcbf);
+2216     error(<span class="string">'PLOTFAMILY:  Menu corrupted, restart application.'</span>);
+2217 <span class="keyword">else</span>
+2218     DataStruct = get(hObject, <span class="string">'UserData'</span>);
+2219 <span class="keyword">end</span>
+2220 
+2221 <span class="comment">% Rebuild the data structure in case a status field was changed</span>
+2222 DataStruct = family2datastruct(DataStruct.FamilyName, DataStruct.Field);
+2223 
+2224 <span class="keyword">if</span> isfamily(DataStruct)
+2225     setappdata(handles.figure1, <span class="string">'BPMyFamily'</span>, DataStruct);
+2226     
+2227     s = getspos(DataStruct);
+2228     setappdata(handles.figure1, <span class="string">'SPosY'</span>, s);
+2229     <span class="comment">%L = getfamilydata('Circumference');</span>
+2230     <span class="comment">%if isempty(L)</span>
+2231     <span class="comment">%    setappdata(handles.figure1, 'AxisRange2X', [min(s) max(s)]);</span>
+2232     <span class="comment">%else</span>
+2233     <span class="comment">%    setappdata(handles.figure1, 'AxisRange2X', [0 L]);</span>
+2234     <span class="comment">%end</span>
+2235     
+2236     ZeroData = DataStruct;
+2237     ZeroData.Data = zeros(size(DataStruct.Data,1),1);
+2238     
+2239     <span class="comment">% Menu label</span>
+2240     set(handles.BPMyFamily,<span class="string">'Label'</span>,sprintf(<span class="string">'Plot: %s.%s'</span>, DataStruct.FamilyName, DataStruct.Field));
+2241     
+2242     setappdata(handles.figure1,<span class="string">'SaveY'</span>, ZeroData);
+2243     tmp = getappdata(handles.figure1,<span class="string">'SaveX'</span>);
+2244     tmp.Data = 0 * tmp.Data;
+2245     setappdata(handles.figure1,<span class="string">'SaveX'</span>, tmp);
+2246     set(handles.SaveTime,<span class="string">'String'</span>, <span class="string">''</span>);
+2247     
+2248 <span class="comment">%     % Look for the golden values</span>
+2249 <span class="comment">%     try</span>
+2250 <span class="comment">%         if strcmpi(DataStruct.Field,'Monitor')</span>
+2251 <span class="comment">%             % Use the golden setpoint</span>
+2252 <span class="comment">%             GoldenValues = getgolden(DataStruct.FamilyName, DataStruct.DeviceList, 'Setpoint', UnitsFlag, 'Struct');</span>
+2253 <span class="comment">%         else</span>
+2254 <span class="comment">%             GoldenValues = getgolden(DataStruct, UnitsFlag, 'Struct');</span>
+2255 <span class="comment">%         end</span>
+2256 <span class="comment">%         setappdata(handles.figure1,'GoldenY', GoldenValues);</span>
+2257 <span class="comment">%     catch</span>
+2258 <span class="comment">%         setappdata(handles.figure1, 'GoldenY', ZeroData);</span>
+2259 <span class="comment">%     end</span>
+2260 <span class="comment">%</span>
+2261 <span class="comment">%     % Look for the offset values</span>
+2262 <span class="comment">%     try</span>
+2263 <span class="comment">%         OffsetValues = getoffset(DataStruct, UnitsFlag, 'Struct');</span>
+2264 <span class="comment">%         setappdata(handles.figure1,'OffsetY', OffsetValues);</span>
+2265 <span class="comment">%     catch</span>
+2266 <span class="comment">%         try</span>
+2267 <span class="comment">%             % If and offset does not exist than try using the setpoint</span>
+2268 <span class="comment">%             setappdata(handles.figure1, 'OffsetY', getsp(DataStruct.FamilyName, DataStruct.DeviceList, Mode, UnitsFlag, 'Struct'));</span>
+2269 <span class="comment">%         catch</span>
+2270 <span class="comment">%             % Use zeros</span>
+2271 <span class="comment">%             setappdata(handles.figure1, 'OffsetY', ZeroData);</span>
+2272 <span class="comment">%         end</span>
+2273 <span class="comment">%     end</span>
+2274     
+2275     <span class="comment">% Look for file data</span>
+2276     <span class="keyword">try</span>
+2277         FileName = getappdata(handles.figure1, <span class="string">'FileNameY'</span>);
+2278         <span class="keyword">if</span> isempty(FileName)
+2279             FileName = getappdata(handles.figure1, <span class="string">'FileNameX'</span>);
+2280         <span class="keyword">end</span>
+2281         <span class="keyword">end</span>
+2282 
+2283     <span class="comment">% Look for file data</span>
+2284     <span class="keyword">try</span>
+2285         FileName = getappdata(handles.figure1, <span class="string">'FileNameX'</span>);
+2286         <span class="keyword">if</span> isempty(FileName)
+2287             setappdata(handles.figure1, <span class="string">'FileY'</span>, ZeroData);
+2288         <span class="keyword">else</span>
+2289             tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, <span class="string">'Struct'</span>);
+2290             <span class="keyword">if</span> UnitMenu == 1 &amp;&amp; strcmpi(tmp.Units,<span class="string">'Hardware'</span>)
+2291                 <span class="comment">% Physics units requested, data is in Hardware units</span>
+2292                 tmp = hw2physics(tmp);
+2293             <span class="keyword">else</span>
+2294                 <span class="comment">% Hardware units requested, data is in Physics units</span>
+2295                 tmp = physics2hw(tmp);
+2296             <span class="keyword">end</span>
+2297             setappdata(handles.figure1, <span class="string">'FileY'</span>, tmp);
+2298             setappdata(handles.figure1, <span class="string">'FileNameY'</span>, FileName);
+2299         <span class="keyword">end</span>
+2300     <span class="keyword">catch</span>
+2301         setappdata(handles.figure1, <span class="string">'FileY'</span>, ZeroData);
+2302         setappdata(handles.figure1, <span class="string">'FileNameY'</span>,<span class="string">''</span>);
+2303     <span class="keyword">end</span>
+2304     
+2305     set(handles.DataList2, <span class="string">'Value'</span>, 1);
+2306     set(handles.DataList2, <span class="string">'ListBoxTop'</span>, 1);
+2307     <a href="#_sub22" class="code" title="subfunction UpdateFileDisplayLocal(handles)">UpdateFileDisplayLocal</a>(handles);    
+2308     <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+2309 
+2310     <span class="comment">% Auto scale y-axis</span>
+2311     <span class="comment">% AutoScaleYLocal(handles);</span>
+2312     a = axis(handles.Graph2);
+2313     axis(handles.Graph2, <span class="string">'auto'</span>);
+2314     set(handles.Graph2, <span class="string">'XLim'</span>, a(1:2));
+2315 <span class="keyword">else</span>
+2316     fprintf(<span class="string">'   %s is not a known family\n'</span>, DataStruct.FamilyName);
+2317 <span class="keyword">end</span>
+2318 
+2319 
+2320 <span class="comment">% --------------------------------------------------------------------</span>
+2321 <a name="_sub45" href="#_subfunctions" class="code">function BPMxList_Callback(hObject, eventdata, handles)</a>
+2322 UnitMenu = getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>);
+2323 <span class="keyword">if</span> UnitMenu == 1
+2324     UnitsFlag = <span class="string">'Physics'</span>;
+2325 <span class="keyword">else</span>
+2326     UnitsFlag = <span class="string">'Hardware'</span>;
+2327 <span class="keyword">end</span>
+2328 
+2329 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+2330     Mode = <span class="string">'Simulator'</span>;
+2331 <span class="keyword">else</span>
+2332     Mode = <span class="string">'Online'</span>;
+2333 <span class="keyword">end</span>
+2334 
+2335 DataStruct = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+2336 Family = DataStruct.FamilyName;
+2337 List = DataStruct.DeviceList;
+2338 FullList = family2dev(Family);    <span class="comment">% Include bad status</span>
+2339 CheckList = zeros(size(FullList,1),1);
+2340 i = findrowindex(List, FullList); <span class="comment">% Find all selected Devices</span>
+2341 CheckList(i) = 1;
+2342 List = editlist(FullList, Family, CheckList);
+2343 
+2344 DataStruct.Data = NaN * ones(size(List,1),1);  <span class="comment">%DataStruct.Data(i);</span>
+2345 DataStruct.DeviceList = List;
+2346 DataStruct.Status = ones(size(List,1),1);
+2347 setappdata(handles.figure1, <span class="string">'BPMxFamily'</span>, DataStruct);
+2348 
+2349 s = getspos(DataStruct);
+2350 setappdata(handles.figure1, <span class="string">'SPosX'</span>, s);
+2351 
+2352 ZeroData = DataStruct;
+2353 ZeroData.Data = zeros(size(DataStruct.Data,1),1);
+2354 
+2355 <span class="comment">% % Look for the golden values</span>
+2356 <span class="comment">% try</span>
+2357 <span class="comment">%     if strcmpi(DataStruct.Field,'Monitor')</span>
+2358 <span class="comment">%         % Use the golden setpoint</span>
+2359 <span class="comment">%         GoldenValues = getgolden(DataStruct.FamilyName, DataStruct.DeviceList, 'Setpoint', UnitsFlag, 'Struct');</span>
+2360 <span class="comment">%     else</span>
+2361 <span class="comment">%         GoldenValues = getgolden(DataStruct, UnitsFlag, 'Struct');</span>
+2362 <span class="comment">%     end</span>
+2363 <span class="comment">%     setappdata(handles.figure1, 'GoldenX', GoldenValues);</span>
+2364 <span class="comment">% catch</span>
+2365 <span class="comment">%     setappdata(handles.figure1, 'GoldenX', ZeroData);</span>
+2366 <span class="comment">% end</span>
+2367 <span class="comment">%</span>
+2368 <span class="comment">% % Look for the offset values</span>
+2369 <span class="comment">% try</span>
+2370 <span class="comment">%     OffsetValues = getoffset(DataStruct, UnitsFlag, 'Struct');</span>
+2371 <span class="comment">%     setappdata(handles.figure1,'OffsetX', OffsetValues);</span>
+2372 <span class="comment">% catch</span>
+2373 <span class="comment">%     try</span>
+2374 <span class="comment">%         % If and offset does not exist than try using the setpoint</span>
+2375 <span class="comment">%         setappdata(handles.figure1, 'OffsetX', getsp(DataStruct.FamilyName, DataStruct.DeviceList, Mode, UnitsFlag, 'Struct'));</span>
+2376 <span class="comment">%     catch</span>
+2377 <span class="comment">%         % Use zeros</span>
+2378 <span class="comment">%         setappdata(handles.figure1, 'OffsetX', ZeroData);</span>
+2379 <span class="comment">%     end</span>
+2380 <span class="comment">% end</span>
+2381 
+2382 
+2383 <span class="comment">% Changing the list wipes out a save</span>
+2384 setappdata(handles.figure1,<span class="string">'SaveX'</span>, ZeroData);
+2385 tmp = getappdata(handles.figure1,<span class="string">'SaveY'</span>);
+2386 tmp.Data = 0 * tmp.Data;
+2387 setappdata(handles.figure1,<span class="string">'SaveY'</span>, tmp);
+2388 set(handles.SaveTime,<span class="string">'String'</span>, <span class="string">'Data not saved'</span>);
+2389 
+2390 <span class="keyword">try</span>
+2391     FileName = getappdata(handles.figure1, <span class="string">'FileNameX'</span>);
+2392     <span class="keyword">if</span> isempty(FileName)
+2393         FileName = getappdata(handles.figure1, <span class="string">'FileNameY'</span>);
+2394     <span class="keyword">end</span>
+2395     <span class="keyword">if</span> isempty(FileName)
+2396         setappdata(handles.figure1,<span class="string">'FileX'</span>, ZeroData);
+2397     <span class="keyword">else</span>
+2398         tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, <span class="string">'Struct'</span>);
+2399         <span class="keyword">if</span> UnitMenu == 1 &amp;&amp; strcmpi(tmp.Units,<span class="string">'Hardware'</span>)
+2400             <span class="comment">% Physics units requested, data is in Hardware units</span>
+2401             tmp = hw2physics(tmp);
+2402         <span class="keyword">else</span>
+2403             <span class="comment">% Hardware units requested, data is in Physics units</span>
+2404             tmp = physics2hw(tmp);
+2405         <span class="keyword">end</span>
+2406         setappdata(handles.figure1,<span class="string">'FileX'</span>, tmp);
+2407         setappdata(handles.figure1,<span class="string">'FileNameX'</span>, FileName);
+2408     <span class="keyword">end</span>
+2409 <span class="keyword">catch</span>
+2410     setappdata(handles.figure1,<span class="string">'FileX'</span>, ZeroData);
+2411     setappdata(handles.figure1,<span class="string">'FileNameX'</span>,<span class="string">''</span>);
+2412 <span class="keyword">end</span>
+2413 
+2414 set(handles.DataList1,<span class="string">'Value'</span>, 1);
+2415 set(handles.DataList1,<span class="string">'ListBoxTop'</span>, 1);
+2416 <a href="#_sub22" class="code" title="subfunction UpdateFileDisplayLocal(handles)">UpdateFileDisplayLocal</a>(handles);
+2417 cla(handles.Graph1);
+2418 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+2419 
+2420 <span class="comment">% --------------------------------------------------------------------</span>
+2421 <a name="_sub46" href="#_subfunctions" class="code">function BPMyList_Callback(hObject, eventdata, handles)</a>
+2422 UnitMenu = getappdata(handles.figure1,<span class="string">'UnitsFlag'</span>);
+2423 <span class="keyword">if</span> UnitMenu == 1
+2424     UnitsFlag = <span class="string">'Physics'</span>;
+2425 <span class="keyword">else</span>
+2426     UnitsFlag = <span class="string">'Hardware'</span>;
+2427 <span class="keyword">end</span>
+2428 
+2429 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+2430     Mode = <span class="string">'Simulator'</span>;
+2431 <span class="keyword">else</span>
+2432     Mode = <span class="string">'Online'</span>;
+2433 <span class="keyword">end</span>
+2434 
+2435 <span class="comment">%% Build List display</span>
+2436 DataStruct = getappdata(handles.figure1, <span class="string">'BPMyFamily'</span>);
+2437 Family = DataStruct.FamilyName;
+2438 List = DataStruct.DeviceList;
+2439 FullList = family2dev(Family);    <span class="comment">% Include bad status</span>
+2440 CheckList = zeros(size(FullList,1),1);
+2441 i = findrowindex(List, FullList); <span class="comment">% Find all selected Devices</span>
+2442 CheckList(i) = 1;
+2443 List = editlist(FullList, Family, CheckList);
+2444 
+2445 DataStruct.Data = NaN * ones(size(List,1),1);  <span class="comment">%DataStruct.Data(i);</span>
+2446 DataStruct.Data = DataStruct.Data(i);
+2447 DataStruct.DeviceList = List;
+2448 setappdata(handles.figure1, <span class="string">'BPMyFamily'</span>, DataStruct);
+2449 
+2450 s = getspos(DataStruct);
+2451 setappdata(handles.figure1, <span class="string">'SPosY'</span>, s);
+2452 
+2453 ZeroData = DataStruct;
+2454 ZeroData.Data = zeros(size(DataStruct.Data,1),1);
+2455 
+2456 
+2457 <span class="comment">% % Look for the golden values</span>
+2458 <span class="comment">% try</span>
+2459 <span class="comment">%     if strcmpi(DataStruct.Field,'Monitor')</span>
+2460 <span class="comment">%         % Use the golden setpoint</span>
+2461 <span class="comment">%         GoldenValues = getgolden(DataStruct.FamilyName, DataStruct.DeviceList, 'Setpoint', UnitsFlag, 'Struct');</span>
+2462 <span class="comment">%     else</span>
+2463 <span class="comment">%         GoldenValues = getgolden(DataStruct, UnitsFlag, 'Struct');</span>
+2464 <span class="comment">%     end</span>
+2465 <span class="comment">%     setappdata(handles.figure1, 'GoldenY', GoldenValues);</span>
+2466 <span class="comment">% catch</span>
+2467 <span class="comment">%     setappdata(handles.figure1, 'GoldenY', ZeroData);</span>
+2468 <span class="comment">% end</span>
+2469 <span class="comment">%</span>
+2470 <span class="comment">%</span>
+2471 <span class="comment">% % Look for the offset values</span>
+2472 <span class="comment">% try</span>
+2473 <span class="comment">%     OffsetValues = getoffset(DataStruct, UnitsFlag, 'Struct');</span>
+2474 <span class="comment">%     setappdata(handles.figure1,'OffsetY', OffsetValues);</span>
+2475 <span class="comment">% catch</span>
+2476 <span class="comment">%     try</span>
+2477 <span class="comment">%         % If and offset does not exist than try using the setpoint</span>
+2478 <span class="comment">%         setappdata(handles.figure1, 'OffsetY', getsp(DataStruct.FamilyName, DataStruct.DeviceList, Mode, UnitsFlag, 'Struct'));</span>
+2479 <span class="comment">%     catch</span>
+2480 <span class="comment">%         % Use zeros</span>
+2481 <span class="comment">%         setappdata(handles.figure1, 'OffsetY', ZeroData);</span>
+2482 <span class="comment">%     end</span>
+2483 <span class="comment">% end</span>
+2484 
+2485 
+2486 <span class="comment">% Changing the list wipes out a save</span>
+2487 setappdata(handles.figure1,<span class="string">'SaveY'</span>, ZeroData);
+2488 tmp = getappdata(handles.figure1,<span class="string">'SaveX'</span>);
+2489 tmp.Data = 0 * tmp.Data;
+2490 setappdata(handles.figure1,<span class="string">'SaveX'</span>, tmp);
+2491 set(handles.SaveTime, <span class="string">'String'</span>, <span class="string">'Data not saved'</span>);
+2492 
+2493 <span class="keyword">try</span>
+2494     FileName = getappdata(handles.figure1, <span class="string">'FileNameY'</span>);
+2495     <span class="keyword">if</span> isempty(FileName)
+2496         FileName = getappdata(handles.figure1, <span class="string">'FileNameX'</span>);
+2497     <span class="keyword">end</span>
+2498     <span class="keyword">if</span> isempty(FileName)
+2499         setappdata(handles.figure1,<span class="string">'FileY'</span>, ZeroData);
+2500     <span class="keyword">else</span>
+2501             tmp = getdata(DataStruct.FamilyName, DataStruct.DeviceList, FileName, <span class="string">'Struct'</span>);
+2502         <span class="keyword">if</span> UnitMenu == 1 &amp;&amp; strcmpi(tmp.Units,<span class="string">'Hardware'</span>)
+2503             <span class="comment">% Physics units requested, data is in Hardware units</span>
+2504             tmp = hw2physics(tmp);
+2505         <span class="keyword">else</span>
+2506             <span class="comment">% Hardware units requested, data is in Physics units</span>
+2507             tmp = physics2hw(tmp);
+2508         <span class="keyword">end</span>
+2509         setappdata(handles.figure1,<span class="string">'FileY'</span>, tmp);
+2510         setappdata(handles.figure1,<span class="string">'FileNameY'</span>, FileName);
+2511     <span class="keyword">end</span>
+2512 <span class="keyword">catch</span>
+2513     setappdata(handles.figure1,<span class="string">'FileY'</span>, ZeroData);
+2514     setappdata(handles.figure1,<span class="string">'FileNameY'</span>,<span class="string">''</span>);
+2515 <span class="keyword">end</span>
+2516 
+2517 set(handles.DataList2,<span class="string">'Value'</span>, 1);
+2518 set(handles.DataList2,<span class="string">'ListBoxTop'</span>, 1);
+2519 <a href="#_sub22" class="code" title="subfunction UpdateFileDisplayLocal(handles)">UpdateFileDisplayLocal</a>(handles);
+2520 cla(handles.Graph2);
+2521 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+2522 
+2523 
+2524 <span class="comment">% --------------------------------------------------------------------</span>
+2525 <a name="_sub47" href="#_subfunctions" class="code">function UpdatePeriod_Callback(hObject, eventdata, handles)</a>
+2526 answer = inputdlg(<span class="string">'Enter new update period [seconds]'</span>,<span class="string">''</span>,1,{num2str(getappdata(handles.figure1, <span class="string">'UpdatePeriod'</span>))});
+2527 <span class="keyword">if</span> ~isempty(answer)
+2528     UpdatePeriod = str2num(answer{1});
+2529     <span class="keyword">if</span> ~isempty(UpdatePeriod) &amp;&amp; UpdatePeriod &gt;= 0
+2530         <span class="keyword">if</span> UpdatePeriod &gt; 10
+2531             UpdatePeriod = 10;
+2532         <span class="keyword">end</span>
+2533         set(handles.UpdatePeriod,<span class="string">'Label'</span>, sprintf(<span class="string">'Update Period = %.2f sec'</span>,UpdatePeriod));
+2534         setappdata(handles.figure1, <span class="string">'UpdatePeriod'</span>, UpdatePeriod);
+2535     <span class="keyword">end</span>
+2536 <span class="keyword">end</span>
+2537 
+2538 <span class="comment">% --------------------------------------------------------------------</span>
+2539 <a name="_sub48" href="#_subfunctions" class="code">function PhysicsUnits_Callback(hObject, eventdata, handles)</a>
+2540 UnitMenu = 1;
+2541 setappdata(handles.figure1,<span class="string">'UnitsFlag'</span>, UnitMenu);
+2542 set(handles.PhysicsUnitsFlag,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2543 set(handles.HardwareUnitsFlag,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2544 set(handles.MicronFlag,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2545 
+2546 RawX = getappdata(handles.figure1, <span class="string">'RawX'</span>);
+2547 RawY = getappdata(handles.figure1, <span class="string">'RawY'</span>);
+2548 
+2549 <span class="keyword">if</span> strcmpi(RawX.Units,<span class="string">'Hardware'</span>)
+2550     <span class="comment">% Physics units requested, data is in Hardware units</span>
+2551     setappdata(handles.figure1, <span class="string">'RawX'</span>, hw2physics(RawX));
+2552     setappdata(handles.figure1, <span class="string">'RawY'</span>, hw2physics(RawY));
+2553 
+2554 <span class="comment">%     setappdata(handles.figure1, 'OffsetX', hw2physics(getappdata(handles.figure1,'OffsetX')));</span>
+2555 <span class="comment">%     setappdata(handles.figure1, 'OffsetY', hw2physics(getappdata(handles.figure1,'OffsetY')));</span>
+2556 <span class="comment">%</span>
+2557 <span class="comment">%     setappdata(handles.figure1, 'GoldenX', hw2physics(getappdata(handles.figure1,'GoldenX')));</span>
+2558 <span class="comment">%     setappdata(handles.figure1, 'GoldenY', hw2physics(getappdata(handles.figure1,'GoldenY')));</span>
+2559     
+2560     setappdata(handles.figure1, <span class="string">'SaveX'</span>, hw2physics(getappdata(handles.figure1,<span class="string">'SaveX'</span>)));
+2561     setappdata(handles.figure1, <span class="string">'SaveY'</span>, hw2physics(getappdata(handles.figure1,<span class="string">'SaveY'</span>)));
+2562 
+2563     setappdata(handles.figure1, <span class="string">'FileX'</span>, hw2physics(getappdata(handles.figure1,<span class="string">'FileX'</span>)));
+2564     setappdata(handles.figure1, <span class="string">'FileY'</span>, hw2physics(getappdata(handles.figure1,<span class="string">'FileY'</span>)));
+2565 <span class="keyword">end</span>
+2566 
+2567 DataStruct1 = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+2568 <span class="keyword">if</span> strcmpi(DataStruct1.Units,<span class="string">'Hardware'</span>)
+2569     <span class="comment">% Physics units requested, data is in Hardware units</span>
+2570     setappdata(handles.figure1, <span class="string">'BPMxFamily'</span>, hw2physics(DataStruct1));
+2571 <span class="keyword">end</span>
+2572 
+2573 DataStruct2 = getappdata(handles.figure1, <span class="string">'BPMyFamily'</span>);
+2574 <span class="keyword">if</span> strcmpi(DataStruct2.Units,<span class="string">'Hardware'</span>)
+2575     <span class="comment">% Physics units requested, data is in Hardware units</span>
+2576     setappdata(handles.figure1, <span class="string">'BPMyFamily'</span>, hw2physics(DataStruct2));
+2577 <span class="keyword">end</span>
+2578 
+2579 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2580 <a href="#_sub67" class="code" title="subfunction AutoScaleYLocal(handles)">AutoScaleYLocal</a>(handles);
+2581 
+2582 <span class="comment">% Turn off the setpoint GUI (or change it to physics units)</span>
+2583 set(handles.SetpointEditBox,   <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2584 set(handles.SetpointFamily,    <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2585 set(handles.SetpointUnits,     <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2586 set(handles.SetpointSlider,    <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2587 set(handles.SetpointMax,       <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2588 set(handles.SetpointMin,       <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2589 set(handles.SetpointFrame,     <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2590 set(handles.SetpointStepSize,  <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2591 set(handles.SetpointPushButton,<span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2592 
+2593 <span class="comment">% Change the save and file text to make room for the slider</span>
+2594 p = get(handles.SaveTime, <span class="string">'Position'</span>);
+2595 set(handles.SaveTime, <span class="string">'Position'</span>,  [p(1) p(2) 45 p(4)]);
+2596 p = get(handles.FileName, <span class="string">'Position'</span>);
+2597 set(handles.FileName, <span class="string">'Position'</span>,  [p(1) p(2) 45 p(4)]);
+2598 p = get(handles.FileNameY, <span class="string">'Position'</span>);
+2599 set(handles.FileNameY, <span class="string">'Position'</span>, [p(1) p(2) 45 p(4)]);
+2600 
+2601 drawnow;
+2602 
+2603 <span class="comment">% --------------------------------------------------------------------</span>
+2604 <a name="_sub49" href="#_subfunctions" class="code">function HardwareUnits_Callback(hObject, eventdata, handles)</a>
+2605 UnitMenu = 2;
+2606 setappdata(handles.figure1,<span class="string">'UnitsFlag'</span>, UnitMenu);
+2607 set(handles.PhysicsUnitsFlag,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2608 set(handles.HardwareUnitsFlag,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2609 set(handles.MicronFlag,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2610 
+2611 RawX = getappdata(handles.figure1, <span class="string">'RawX'</span>);
+2612 RawY = getappdata(handles.figure1, <span class="string">'RawY'</span>);
+2613 
+2614 <span class="keyword">if</span> strcmpi(RawX.Units,<span class="string">'Physics'</span>)
+2615     <span class="comment">% Hardware units requested, data is in Physics units</span>
+2616     setappdata(handles.figure1, <span class="string">'RawX'</span>, physics2hw(RawX));
+2617     setappdata(handles.figure1, <span class="string">'RawY'</span>, physics2hw(RawY));
+2618 
+2619 <span class="comment">%     setappdata(handles.figure1, 'OffsetX', physics2hw(getappdata(handles.figure1,'OffsetX')));</span>
+2620 <span class="comment">%     setappdata(handles.figure1, 'OffsetY', physics2hw(getappdata(handles.figure1,'OffsetY')));</span>
+2621 <span class="comment">%</span>
+2622 <span class="comment">%     setappdata(handles.figure1, 'GoldenX', physics2hw(getappdata(handles.figure1,'GoldenX')));</span>
+2623 <span class="comment">%     setappdata(handles.figure1, 'GoldenY', physics2hw(getappdata(handles.figure1,'GoldenY')));</span>
+2624     
+2625     setappdata(handles.figure1, <span class="string">'SaveX'</span>, physics2hw(getappdata(handles.figure1,<span class="string">'SaveX'</span>)));
+2626     setappdata(handles.figure1, <span class="string">'SaveY'</span>, physics2hw(getappdata(handles.figure1,<span class="string">'SaveY'</span>)));
+2627 
+2628     setappdata(handles.figure1, <span class="string">'FileX'</span>, physics2hw(getappdata(handles.figure1,<span class="string">'FileX'</span>)));
+2629     setappdata(handles.figure1, <span class="string">'FileY'</span>, physics2hw(getappdata(handles.figure1,<span class="string">'FileY'</span>)));
+2630 <span class="keyword">end</span>
+2631 
+2632 DataStruct1 = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+2633 <span class="keyword">if</span> strcmpi(DataStruct1.Units,<span class="string">'Physics'</span>)
+2634     <span class="comment">% Hardware units requested, data is in Physics units</span>
+2635     setappdata(handles.figure1, <span class="string">'BPMxFamily'</span>, physics2hw(DataStruct1));
+2636 <span class="keyword">end</span>
+2637 
+2638 DataStruct2 = getappdata(handles.figure1, <span class="string">'BPMyFamily'</span>);
+2639 <span class="keyword">if</span> strcmpi(DataStruct2.Units,<span class="string">'Physics'</span>)
+2640     <span class="comment">% Hardware units requested, data is in Physics units</span>
+2641     setappdata(handles.figure1, <span class="string">'BPMyFamily'</span>, physics2hw(DataStruct2));
+2642 <span class="keyword">end</span>
+2643 
+2644 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2645 <a href="#_sub67" class="code" title="subfunction AutoScaleYLocal(handles)">AutoScaleYLocal</a>(handles);
+2646 
+2647 <span class="comment">% Turn off the setpoint GUI (or change it to physics units)</span>
+2648 set(handles.SetpointEditBox,   <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2649 set(handles.SetpointFamily,    <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2650 set(handles.SetpointUnits,     <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2651 set(handles.SetpointSlider,    <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2652 set(handles.SetpointMax,       <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2653 set(handles.SetpointMin,       <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2654 set(handles.SetpointFrame,     <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2655 set(handles.SetpointStepSize,  <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2656 set(handles.SetpointPushButton,<span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+2657 
+2658 <span class="comment">% Change the save and file text to make room for the slider</span>
+2659 p = get(handles.SaveTime, <span class="string">'Position'</span>);
+2660 set(handles.SaveTime, <span class="string">'Position'</span>,  [p(1) p(2) 45 p(4)]);
+2661 p = get(handles.FileName, <span class="string">'Position'</span>);
+2662 set(handles.FileName, <span class="string">'Position'</span>,  [p(1) p(2) 45 p(4)]);
+2663 p = get(handles.FileNameY, <span class="string">'Position'</span>);
+2664 set(handles.FileNameY, <span class="string">'Position'</span>, [p(1) p(2) 45 p(4)]);
+2665 
+2666 drawnow;
+2667 
+2668 <span class="comment">% --------------------------------------------------------------------</span>
+2669 <a name="_sub50" href="#_subfunctions" class="code">function MicronFlag_Callback(hObject, eventdata, handles)</a>
+2670 UnitMenu = 3;
+2671 setappdata(handles.figure1,<span class="string">'UnitsFlag'</span>, UnitMenu);
+2672 set(handles.PhysicsUnitsFlag,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2673 set(handles.HardwareUnitsFlag,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2674 set(handles.MicronFlag,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2675 
+2676 RawX = getappdata(handles.figure1, <span class="string">'RawX'</span>);
+2677 RawY = getappdata(handles.figure1, <span class="string">'RawY'</span>);
+2678 
+2679 <span class="keyword">if</span> strcmpi(RawX.Units,<span class="string">'Physics'</span>)
+2680     <span class="comment">% Hardware units requested, data is in Physics units</span>
+2681     setappdata(handles.figure1, <span class="string">'RawX'</span>, physics2hw(RawX));
+2682     setappdata(handles.figure1, <span class="string">'RawY'</span>, physics2hw(RawY));
+2683 
+2684 <span class="comment">%     setappdata(handles.figure1, 'OffsetX', physics2hw(getappdata(handles.figure1,'OffsetX')));</span>
+2685 <span class="comment">%     setappdata(handles.figure1, 'OffsetY', physics2hw(getappdata(handles.figure1,'OffsetY')));</span>
+2686 <span class="comment">%</span>
+2687 <span class="comment">%     setappdata(handles.figure1, 'GoldenX', physics2hw(getappdata(handles.figure1,'GoldenX')));</span>
+2688 <span class="comment">%     setappdata(handles.figure1, 'GoldenY', physics2hw(getappdata(handles.figure1,'GoldenY')));</span>
+2689     
+2690     setappdata(handles.figure1, <span class="string">'SaveX'</span>, physics2hw(getappdata(handles.figure1,<span class="string">'SaveX'</span>)));
+2691     setappdata(handles.figure1, <span class="string">'SaveY'</span>, physics2hw(getappdata(handles.figure1,<span class="string">'SaveY'</span>)));
+2692 
+2693     setappdata(handles.figure1, <span class="string">'FileX'</span>, physics2hw(getappdata(handles.figure1,<span class="string">'FileX'</span>)));
+2694     setappdata(handles.figure1, <span class="string">'FileY'</span>, physics2hw(getappdata(handles.figure1,<span class="string">'FileY'</span>)));
+2695 <span class="keyword">end</span>
+2696 
+2697 DataStruct1 = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+2698 <span class="keyword">if</span> strcmpi(DataStruct1.Units,<span class="string">'Physics'</span>)
+2699     <span class="comment">% Hardware units requested, data is in Physics units</span>
+2700     setappdata(handles.figure1, <span class="string">'BPMxFamily'</span>, physics2hw(DataStruct1));
+2701 <span class="keyword">end</span>
+2702 
+2703 DataStruct2 = getappdata(handles.figure1, <span class="string">'BPMyFamily'</span>);
+2704 <span class="keyword">if</span> strcmpi(DataStruct2.Units,<span class="string">'Physics'</span>)
+2705     <span class="comment">% Hardware units requested, data is in Physics units</span>
+2706     setappdata(handles.figure1, <span class="string">'BPMyFamily'</span>, physics2hw(DataStruct2));
+2707 <span class="keyword">end</span>
+2708 
+2709 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2710 <a href="#_sub67" class="code" title="subfunction AutoScaleYLocal(handles)">AutoScaleYLocal</a>(handles);
+2711 drawnow;
+2712 
+2713 
+2714 <span class="comment">% --------------------------------------------------------------------</span>
+2715 <a name="_sub51" href="#_subfunctions" class="code">function SaveOrbitToFile_Callback(hObject, eventdata, handles)</a>
+2716 
+2717 Data1 = getappdata(handles.figure1, <span class="string">'RawX'</span>);
+2718 Data2 = getappdata(handles.figure1, <span class="string">'RawY'</span>);
+2719 
+2720 <span class="keyword">if</span> isfield(Data1,<span class="string">'TimeStamp'</span>)
+2721     DirStart = pwd;
+2722     
+2723     FamilyName1 = Data1.FamilyName;
+2724     FamilyName2 = Data2.FamilyName;
+2725     <span class="keyword">if</span> strcmpi(FamilyName1, FamilyName2)
+2726         FileName = appendtimestamp(FamilyName1, Data1.TimeStamp);
+2727     <span class="keyword">else</span>
+2728         FileName = appendtimestamp([FamilyName1,<span class="string">'_'</span>,FamilyName2], Data1.TimeStamp);
+2729     <span class="keyword">end</span>
+2730     <span class="comment">%     DirectoryName = getfamilydata('Directory','DataRoot');</span>
+2731     DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'BPMData'</span>);
+2732     
+2733     [FileName, DirectoryName] = uiputfile(<span class="string">'*.mat'</span>, <span class="string">'Select File (Cancel to not save to a file)'</span>, [DirectoryName FileName, <span class="string">'.mat'</span>]);
+2734     <span class="keyword">if</span> FileName == 0 
+2735         disp(<span class="string">'   No data saved'</span>);
+2736         <span class="keyword">return</span>
+2737     <span class="keyword">end</span>
+2738     
+2739     [DirectoryName, ErrorFlag] = gotodirectory(DirectoryName);
+2740     save(FileName, <span class="string">'Data1'</span>, <span class="string">'Data2'</span>);
+2741     cd(DirStart);
+2742     fprintf(<span class="string">'   Data saved to %s\n'</span>, [DirectoryName FileName]);
+2743 <span class="keyword">else</span>
+2744     fprintf(<span class="string">'   No data to save \n'</span>);
+2745 <span class="keyword">end</span>
+2746 
+2747 
+2748 <span class="comment">% --------------------------------------------------------------------</span>
+2749 <a name="_sub52" href="#_subfunctions" class="code">function Online_Callback(hObject, eventdata, handles)</a>
+2750 set(handles.Online,  <span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2751 set(handles.Simulate,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2752 
+2753 MachineName     = getfamilydata(<span class="string">'Machine'</span>);
+2754 SubMachineName  = getfamilydata(<span class="string">'SubMachine'</span>);
+2755 OperationalMode = getfamilydata(<span class="string">'OperationalMode'</span>);
+2756 set(handles.figure1,<span class="string">'Name'</span>,sprintf(<span class="string">'Plot Family:  %s  -  %s  -  %s  (%s)'</span>, MachineName, SubMachineName, OperationalMode, <span class="string">'Online'</span>));
+2757 <span class="comment">%set(handles.figure1,'Name',sprintf('%s, Plot Family Data (Online)', getfamilydata('Machine')));</span>
+2758 
+2759 <span class="comment">%switch2online;</span>
+2760 <span class="keyword">if</span> get(handles.OnOff,<span class="string">'Value'</span>) == 0
+2761 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+2762 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2763 <span class="keyword">end</span>
+2764 
+2765 <span class="comment">% --------------------------------------------------------------------</span>
+2766 <a name="_sub53" href="#_subfunctions" class="code">function Simulate_Callback(hObject, eventdata, handles)</a>
+2767 set(handles.Online,  <span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2768 set(handles.Simulate,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2769 
+2770 MachineName     = getfamilydata(<span class="string">'Machine'</span>);
+2771 SubMachineName  = getfamilydata(<span class="string">'SubMachine'</span>);
+2772 OperationalMode = getfamilydata(<span class="string">'OperationalMode'</span>);
+2773 set(handles.figure1,<span class="string">'Name'</span>,sprintf(<span class="string">'Plot Family:  %s  -  %s  -  %s  (%s)'</span>, MachineName, SubMachineName, OperationalMode, <span class="string">'Model'</span>));
+2774 <span class="comment">%set(handles.figure1,'Name',sprintf('%s, Plot Family Data (Model)', getfamilydata('Machine')));</span>
+2775 
+2776 <span class="comment">%switch2sim;</span>
+2777 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+2778 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2779 
+2780 <span class="comment">% --------------------------------------------------------------------</span>
+2781 <a name="_sub54" href="#_subfunctions" class="code">function Sim2Machine_Callback(hObject, eventdata, handles)</a>
+2782 sim2machine;
+2783 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+2784 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2785 
+2786 <span class="comment">% --------------------------------------------------------------------</span>
+2787 <a name="_sub55" href="#_subfunctions" class="code">function Machine2Sim_Callback(hObject, eventdata, handles)</a>
+2788 machine2sim;
+2789 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+2790 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2791 
+2792 <span class="comment">% --------------------------------------------------------------------</span>
+2793 <a name="_sub56" href="#_subfunctions" class="code">function AddPlot_Nothing_Callback(hObject, eventdata, handles)</a>
+2794 
+2795 hp = get(hObject, <span class="string">'Parent'</span>);
+2796 hp = get(hp, <span class="string">'Parent'</span>);
+2797 <span class="keyword">if</span> strcmp(get(hp,<span class="string">'Label'</span>),<span class="string">'Graph #1'</span>)
+2798     plot(handles.Graph3, NaN, NaN)
+2799     set(handles.Graph3,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+2800     set(handles.Graph3,<span class="string">'color'</span>,<span class="string">'none'</span>);
+2801     set(handles.AddPlot1_Nothing,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2802     set(handles.AddPlot1_BetaX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2803     set(handles.AddPlot1_BetaY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2804     set(handles.AddPlot1_DispX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2805     set(handles.AddPlot1_DispY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2806 <span class="keyword">else</span>
+2807     plot(handles.Graph4, NaN, NaN)
+2808     set(handles.Graph4,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+2809     set(handles.Graph4,<span class="string">'color'</span>,<span class="string">'none'</span>);
+2810     set(handles.AddPlot2_Nothing,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2811     set(handles.AddPlot2_BetaX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2812     set(handles.AddPlot2_BetaY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2813     set(handles.AddPlot2_DispX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2814     set(handles.AddPlot2_DispY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2815 <span class="keyword">end</span>
+2816 <span class="comment">%p = get(handles.Graph1,'Position');</span>
+2817 <span class="comment">%set(handles.Graph3,'Position', [p(1) p(2) p(3) p(4)]);</span>
+2818 <span class="comment">%plotappdatalocal(handles);</span>
+2819 
+2820 
+2821 <span class="comment">% --------------------------------------------------------------------</span>
+2822 <a name="_sub57" href="#_subfunctions" class="code">function DrawLattice_Callback(hObject, eventdata, handles)</a>
+2823 
+2824 CheckMark = get(handles.DrawLattice, <span class="string">'Checked'</span>);
+2825 <span class="keyword">if</span> strcmpi(CheckMark, <span class="string">'On'</span>)
+2826     d = .01;
+2827     p1 = [0.07    0.65-d    0.74    0.29+d];
+2828     set(handles.Graph1, <span class="string">'Position'</span>, p1);
+2829     set(handles.Graph3, <span class="string">'Position'</span>, p1);
+2830 
+2831     p2 = [0.07    0.27    0.74    0.29+d];
+2832     set(handles.Graph2, <span class="string">'Position'</span>, p2);
+2833     set(handles.Graph4, <span class="string">'Position'</span>, p2);
+2834 
+2835     set(handles.DrawLattice, <span class="string">'Checked'</span>, <span class="string">'Off'</span>);
+2836     set(get(handles.LatticeAxes,<span class="string">'Children'</span>), <span class="string">'Visible'</span> , <span class="string">'Off'</span>);
+2837 <span class="keyword">else</span>
+2838     p1 = [0.07    0.65    0.74    0.29];
+2839     set(handles.Graph1, <span class="string">'Position'</span>, p1);
+2840     set(handles.Graph3, <span class="string">'Position'</span>, p1);
+2841 
+2842     p2 = [0.07    0.27    0.74    0.29];
+2843     set(handles.Graph2, <span class="string">'Position'</span>, p2);
+2844     set(handles.Graph4, <span class="string">'Position'</span>, p2);
+2845 
+2846     set(handles.DrawLattice, <span class="string">'Checked'</span>, <span class="string">'On'</span>);
+2847     set(get(handles.LatticeAxes,<span class="string">'Children'</span>), <span class="string">'Visible'</span> , <span class="string">'On'</span>);
+2848 <span class="keyword">end</span>
+2849 
+2850 
+2851 <span class="comment">% --------------------------------------------------------------------</span>
+2852 <a name="_sub58" href="#_subfunctions" class="code">function AddPlot1_LatticeAxes_Callback(hObject, eventdata, handles)</a>
+2853 axes(handles.Graph3);
+2854 drawlattice;
+2855 set(gca,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+2856 set(gca,<span class="string">'color'</span>,<span class="string">'none'</span>);
+2857 a = getappdata(handles.figure1, <span class="string">'AxisRange1X'</span>);
+2858 <span class="comment">%axis([a -5 5]);</span>
+2859 axis([a -12 1.5]);
+2860 
+2861 set(gca ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+2862 h = get(gca,<span class="string">'Children'</span>);
+2863 <span class="keyword">for</span> i = 1:length(h)
+2864     set(h(i) ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+2865 <span class="keyword">end</span>
+2866 
+2867 axes(handles.Graph1);
+2868 
+2869 set(handles.AddPlot1_Nothing,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2870 set(handles.AddPlot1_LatticeAxes,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2871 set(handles.AddPlot1_BetaX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2872 set(handles.AddPlot1_BetaY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2873 set(handles.AddPlot1_DispX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2874 set(handles.AddPlot1_DispY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2875 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2876 
+2877 <span class="comment">% --------------------------------------------------------------------</span>
+2878 <a name="_sub59" href="#_subfunctions" class="code">function AddPlot2_LatticeAxes_Callback(hObject, eventdata, handles)</a>
+2879 axes(handles.Graph4);
+2880 drawlattice;
+2881 set(gca,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+2882 set(gca,<span class="string">'color'</span>,<span class="string">'none'</span>);
+2883 a = getappdata(handles.figure1, <span class="string">'AxisRange2X'</span>);
+2884 <span class="comment">%axis([a -5 5]);</span>
+2885 axis([a -12 1.5]);
+2886 
+2887 set(gca ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+2888 h = get(gca,<span class="string">'Children'</span>);
+2889 <span class="keyword">for</span> i = 1:length(h)
+2890     set(h(i) ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+2891 <span class="keyword">end</span>
+2892 
+2893 axes(handles.Graph2);
+2894 
+2895 set(handles.AddPlot2_Nothing,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2896 set(handles.AddPlot2_LatticeAxes,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2897 set(handles.AddPlot2_BetaX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2898 set(handles.AddPlot2_BetaY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2899 set(handles.AddPlot2_DispX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2900 set(handles.AddPlot2_DispY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2901 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2902 
+2903 <span class="comment">% --------------------------------------------------------------------</span>
+2904 <a name="_sub60" href="#_subfunctions" class="code">function AddPlot_Beta_Callback(hObject, eventdata, handles)</a>
+2905 hp = get(hObject,<span class="string">'Parent'</span>);
+2906 hp = get(hp,<span class="string">'Parent'</span>);
+2907 hp = get(hp,<span class="string">'Parent'</span>);
+2908 <span class="keyword">if</span> strcmp(get(hp,<span class="string">'Label'</span>),<span class="string">'Graph #1'</span>)
+2909     hAxes = handles.Graph3;
+2910 <span class="keyword">else</span>
+2911     hAxes = handles.Graph4;
+2912 <span class="keyword">end</span>
+2913 [BetaX, BetaY, Sx, Sy] = modelbeta(<span class="string">'All'</span>,<span class="string">'All'</span>);
+2914 <span class="keyword">if</span> strcmp(get(hObject,<span class="string">'Label'</span>),<span class="string">'Horizontal'</span>)
+2915     plot(hAxes, Sx, BetaX,<span class="string">'g'</span>);
+2916 <span class="keyword">else</span>
+2917     plot(hAxes, Sy, BetaY,<span class="string">'g'</span>);
+2918 <span class="keyword">end</span>
+2919 <span class="keyword">if</span> strcmp(get(hp,<span class="string">'Label'</span>),<span class="string">'Graph #1'</span>)
+2920     AxisRangeX = getappdata(handles.figure1, <span class="string">'AxisRange1X'</span>);
+2921 <span class="keyword">else</span>
+2922     AxisRangeX = getappdata(handles.figure1, <span class="string">'AxisRange2X'</span>);
+2923 <span class="keyword">end</span>
+2924 
+2925 axis(hAxes, <span class="string">'auto'</span>);
+2926 a = axis(hAxes);        
+2927 del = a(4) - a(3);
+2928 axis(hAxes, [AxisRangeX(1) AxisRangeX(2) a(3)-.4*del a(4)+.4*del]);
+2929 
+2930 set(hAxes,<span class="string">'color'</span>,<span class="string">'none'</span>);
+2931 set(hAxes,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+2932 <span class="comment">%set(hAxes,'YAxisLocation','Right');</span>
+2933 
+2934 <span class="comment">% set(hAxes,'XTick',[]);</span>
+2935 <span class="comment">% set(hAxes,'XTickLabel',[]);</span>
+2936 <span class="comment">% set(hAxes,'XMinorTick','Off');</span>
+2937 <span class="comment">% set(hAxes,'XMinorGrid','Off');</span>
+2938 <span class="comment">% set(hAxes,'XGrid','Off');</span>
+2939 <span class="comment">% set(hAxes,'YGrid','Off');</span>
+2940 <span class="comment">% set(hAxes,'YTick',[]);</span>
+2941 <span class="comment">% set(hAxes,'YMinorTick','Off');</span>
+2942 <span class="comment">% set(hAxes,'YMinorGrid','Off');</span>
+2943 <span class="comment">% set(hAxes,'YTickLabel',[]);</span>
+2944 
+2945 <span class="keyword">if</span> strcmp(get(hp,<span class="string">'Label'</span>),<span class="string">'Graph #1'</span>)
+2946     set(handles.AddPlot1_Nothing,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2947     <span class="keyword">if</span> strcmp(get(hObject,<span class="string">'Label'</span>),<span class="string">'Horizontal'</span>)
+2948         set(handles.AddPlot1_BetaX,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2949         set(handles.AddPlot1_BetaY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2950     <span class="keyword">else</span>
+2951         set(handles.AddPlot1_BetaX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2952         set(handles.AddPlot1_BetaY,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2953     <span class="keyword">end</span>
+2954     set(handles.AddPlot1_DispX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2955     set(handles.AddPlot1_DispY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2956     
+2957     set(hAxes ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+2958     h = get(hAxes,<span class="string">'Children'</span>);
+2959     <span class="keyword">for</span> i = 1:length(h)
+2960         set(h(i) ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+2961     <span class="keyword">end</span>
+2962     
+2963 <span class="keyword">else</span>
+2964     set(handles.AddPlot2_Nothing,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2965     <span class="keyword">if</span> strcmp(get(hObject,<span class="string">'Label'</span>),<span class="string">'Horizontal'</span>)
+2966         set(handles.AddPlot2_BetaX,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2967         set(handles.AddPlot2_BetaY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2968     <span class="keyword">else</span>
+2969         set(handles.AddPlot2_BetaX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2970         set(handles.AddPlot2_BetaY,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+2971     <span class="keyword">end</span>
+2972     set(handles.AddPlot2_DispX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2973     set(handles.AddPlot2_DispY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+2974     
+2975     set(hAxes ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+2976     h = get(hAxes,<span class="string">'Children'</span>);
+2977     <span class="keyword">for</span> i = 1:length(h)
+2978         set(h(i) ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+2979     <span class="keyword">end</span>
+2980 <span class="keyword">end</span>
+2981 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+2982 
+2983 
+2984 <span class="comment">% --------------------------------------------------------------------</span>
+2985 <a name="_sub61" href="#_subfunctions" class="code">function AddPlot_Dispersion_Callback(hObject, eventdata, handles)</a>
+2986 <span class="comment">% Plot dispersion in physics units</span>
+2987 hp = get(hObject,<span class="string">'Parent'</span>);
+2988 hp = get(hp,<span class="string">'Parent'</span>);
+2989 hp = get(hp,<span class="string">'Parent'</span>);
+2990 
+2991 <span class="keyword">if</span> strcmp(get(hp,<span class="string">'Label'</span>),<span class="string">'Graph #1'</span>)
+2992     hAxes = handles.Graph3;
+2993 <span class="keyword">else</span>
+2994     hAxes = handles.Graph4;
+2995 <span class="keyword">end</span>
+2996 
+2997 [DispX, DispY, Sx, Sy] = modeldisp(<span class="string">'All'</span>,<span class="string">'All'</span>,<span class="string">'Physics'</span>);
+2998 <span class="keyword">if</span> strcmp(get(hObject,<span class="string">'Label'</span>),<span class="string">'Horizontal'</span>)
+2999     plot(hAxes, Sx, DispX,<span class="string">'g'</span>);
+3000 <span class="keyword">else</span>
+3001     plot(hAxes, Sy, DispY,<span class="string">'g'</span>);
+3002 <span class="keyword">end</span>
+3003 <span class="keyword">if</span> strcmp(get(hp,<span class="string">'Label'</span>),<span class="string">'Graph #1'</span>)
+3004     AxisRangeX = getappdata(handles.figure1, <span class="string">'AxisRange1X'</span>);
+3005 <span class="keyword">else</span>
+3006     AxisRangeX = getappdata(handles.figure1, <span class="string">'AxisRange2X'</span>);
+3007 <span class="keyword">end</span>
+3008 axis(hAxes, <span class="string">'auto'</span>);
+3009 a = axis(hAxes);        
+3010 del = a(4) - a(3);
+3011 axis(hAxes, [AxisRangeX(1) AxisRangeX(2) a(3)-.4*del a(4)+.4*del]);
+3012 
+3013 set(hAxes,<span class="string">'color'</span>,<span class="string">'none'</span>);
+3014 set(hAxes,<span class="string">'Visible'</span>,<span class="string">'Off'</span>);
+3015 
+3016 <span class="keyword">if</span> strcmp(get(hp,<span class="string">'Label'</span>),<span class="string">'Graph #1'</span>)
+3017     set(handles.AddPlot1_Nothing,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3018     <span class="keyword">if</span> strcmp(get(hObject,<span class="string">'Label'</span>),<span class="string">'Horizontal'</span>)
+3019         set(handles.AddPlot1_DispX,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3020         set(handles.AddPlot1_DispY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3021     <span class="keyword">else</span>
+3022         set(handles.AddPlot1_DispX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3023         set(handles.AddPlot1_DispY,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3024     <span class="keyword">end</span>
+3025     set(handles.AddPlot1_BetaX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3026     set(handles.AddPlot1_BetaY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3027     
+3028     set(hAxes ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+3029     h = get(hAxes,<span class="string">'Children'</span>);
+3030     <span class="keyword">for</span> i = 1:length(h)
+3031         set(h(i) ,<span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph1_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+3032     <span class="keyword">end</span>
+3033     
+3034 <span class="keyword">else</span>
+3035     set(handles.AddPlot2_Nothing,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3036     <span class="keyword">if</span> strcmp(get(hObject,<span class="string">'Label'</span>),<span class="string">'Horizontal'</span>)
+3037         set(handles.AddPlot2_DispX,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3038         set(handles.AddPlot2_DispY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3039     <span class="keyword">else</span>
+3040         set(handles.AddPlot2_DispX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3041         set(handles.AddPlot2_DispY,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3042     <span class="keyword">end</span>
+3043     set(handles.AddPlot2_BetaX,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3044     set(handles.AddPlot2_BetaY,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3045     
+3046     set(hAxes, <span class="string">'ButtonDownFcn'</span>,<span class="string">'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+3047     h = get(hAxes, <span class="string">'Children'</span>);
+3048     <span class="keyword">for</span> i = 1:length(h)
+3049         set(h(i), <span class="string">'ButtonDownFcn'</span>, <span class="string">'plotfamily(''Graph2_ButtonDown'',gcbo,[],guidata(gcbo))'</span>);
+3050     <span class="keyword">end</span>
+3051 <span class="keyword">end</span>
+3052 <a href="#_sub9" class="code" title="subfunction plotappdatalocal(handles)">plotappdatalocal</a>(handles);
+3053 
+3054 
+3055 <span class="comment">% --------------------------------------------------------------------</span>
+3056 <a name="_sub62" href="#_subfunctions" class="code">function Graph1_ButtonDown(hObject, eventdata, handles)</a>
+3057 set(handles.figure1, <span class="string">'HandleVisibility'</span>,<span class="string">'Callback'</span>);
+3058 CurrentPoint = get(gca, <span class="string">'CurrentPoint'</span>);
+3059 SposMouse = CurrentPoint(1,1);
+3060 SposData = getappdata(handles.figure1, <span class="string">'SPosX'</span>);
+3061 
+3062 MeritFcn = abs(SposData-SposMouse);
+3063 i = find(min(MeritFcn) == MeritFcn);
+3064 set(handles.DataList1, <span class="string">'value'</span>, i(1));
+3065 set(handles.figure1, <span class="string">'HandleVisibility'</span>,<span class="string">'Off'</span>);
+3066 
+3067 <span class="comment">% --------------------------------------------------------------------</span>
+3068 <a name="_sub63" href="#_subfunctions" class="code">function Graph2_ButtonDown(hObject, eventdata, handles)</a>
+3069 set(handles.figure1, <span class="string">'HandleVisibility'</span>,<span class="string">'Callback'</span>);
+3070 CurrentPoint = get(gca, <span class="string">'CurrentPoint'</span>);
+3071 SposMouse = CurrentPoint(1,1);
+3072 SposData = getappdata(handles.figure1, <span class="string">'SPosY'</span>);
+3073 
+3074 MeritFcn = abs(SposData-SposMouse);
+3075 i = find(min(MeritFcn) == MeritFcn);
+3076 set(handles.DataList2, <span class="string">'value'</span>, i(1));
+3077 set(handles.figure1, <span class="string">'HandleVisibility'</span>,<span class="string">'Off'</span>);
+3078 
+3079 
+3080 <span class="comment">% --- Executes on button press in AutoScale1.</span>
+3081 <a name="_sub64" href="#_subfunctions" class="code">function AutoScaleH_Callback(hObject, eventdata, handles)</a>
+3082 
+3083 <span class="comment">% Gets selected H view (all, supercell 1 to 4)</span>
+3084 children = allchild(handles.supercell);
+3085 <span class="comment">% Which one is selected</span>
+3086 selected = find(strcmp(get(children,<span class="string">'Checked'</span>),<span class="string">'on'</span>));
+3087 Tag = get(children,<span class="string">'Tag'</span>);
+3088 
+3089 callbackname = sprintf(<span class="string">'%s_Callback'</span>,Tag{selected});
+3090 <a href="plotfamily.html" class="code" title="function varargout = plotfamily(varargin)">plotfamily</a>(callbackname, gcbo, [], guidata(gcbo));
+3091 
+3092 
+3093 <span class="comment">% --- Executes on button press in AutoScale1.</span>
+3094 <a name="_sub65" href="#_subfunctions" class="code">function AutoScale1_Callback(hObject, eventdata, handles)</a>
+3095 
+3096 <span class="comment">% Auto-scale x-axis</span>
+3097 a = axis(handles.Graph1);
+3098 axis(handles.Graph1, <span class="string">'auto'</span>);
+3099 set(handles.Graph1, <span class="string">'XLim'</span>, a(1:2));
+3100 
+3101 <span class="comment">% Gets selected H view (all, supercell 1 to 4)</span>
+3102 children = allchild(handles.supercell);
+3103 <span class="comment">% Which one is selected</span>
+3104 selected = find(strcmp(get(children,<span class="string">'Checked'</span>),<span class="string">'on'</span>));
+3105 Tag = get(children,<span class="string">'Tag'</span>);
+3106 
+3107 callbackname = sprintf(<span class="string">'%s_Callback'</span>,Tag{selected});
+3108 <a href="plotfamily.html" class="code" title="function varargout = plotfamily(varargin)">plotfamily</a>(callbackname, gcbo, [], guidata(gcbo));
+3109 
+3110 <span class="comment">% Auto-scale x-axis</span>
+3111 a1 = axis(handles.Graph1);
+3112 set(handles.Graph1, <span class="string">'Xlim'</span>, a1(1:2));
+3113 set(handles.Graph3, <span class="string">'Xlim'</span>, a1(1:2));
+3114 set(handles.LatticeAxes, <span class="string">'Xlim'</span>, a1(1:2));
+3115 
+3116 
+3117 <span class="comment">% --- Executes on button press in AutoScale2.</span>
+3118 <a name="_sub66" href="#_subfunctions" class="code">function AutoScale2_Callback(hObject, eventdata, handles)</a>
+3119 
+3120 <span class="comment">% Auto-scale x-axis</span>
+3121 a = axis(handles.Graph2);
+3122 axis(handles.Graph2, <span class="string">'auto'</span>);
+3123 set(handles.Graph2, <span class="string">'XLim'</span>, a(1:2));
+3124 
+3125 <span class="comment">% Gets selected H view (all, supercell 1 to 4)</span>
+3126 children = allchild(handles.supercell);
+3127 
+3128 <span class="comment">% Which one is selected</span>
+3129 selected = find(strcmp(get(children,<span class="string">'Checked'</span>),<span class="string">'on'</span>));
+3130 Tag = get(children,<span class="string">'Tag'</span>);
+3131 
+3132 callbackname = sprintf(<span class="string">'%s_Callback'</span>,Tag{selected});
+3133 <a href="plotfamily.html" class="code" title="function varargout = plotfamily(varargin)">plotfamily</a>(callbackname, gcbo, [], guidata(gcbo));
+3134 
+3135 <span class="comment">% Auto-scale x-axis</span>
+3136 a1 = axis(handles.Graph2);
+3137 set(handles.Graph2, <span class="string">'Xlim'</span>, a1(1:2));
+3138 set(handles.Graph4, <span class="string">'Xlim'</span>, a1(1:2));
+3139 set(handles.LatticeAxes, <span class="string">'Xlim'</span>, a1(1:2));
+3140 
+3141 
+3142 <span class="comment">% --- Executes on button press in AutoScaleYLocal.</span>
+3143 <a name="_sub67" href="#_subfunctions" class="code">function AutoScaleYLocal(handles)</a>
+3144 axis(handles.Graph1, <span class="string">'auto'</span>);
+3145 AxisRange1X = getappdata(handles.figure1, <span class="string">'AxisRange1X'</span>);
+3146 set(handles.Graph1, <span class="string">'XLim'</span>, AxisRange1X);
+3147 
+3148 axis(handles.Graph2, <span class="string">'auto'</span>);
+3149 AxisRange2X = getappdata(handles.figure1, <span class="string">'AxisRange2X'</span>);
+3150 set(handles.Graph2, <span class="string">'XLim'</span>, AxisRange2X);
+3151 
+3152 
+3153 <span class="comment">% --- Executes on button press in Graph1ZoomInVertical.</span>
+3154 <a name="_sub68" href="#_subfunctions" class="code">function Graph1ZoomInVertical_Callback(hObject, eventdata, handles)</a>
+3155 a = axis(handles.Graph1);
+3156 ChangeFactor = 1.15;
+3157 del = (1/ChangeFactor-1)*(a(4)-a(3));
+3158 set(handles.Graph1, <span class="string">'YLim'</span>, [a(3)-del/2 a(4)+del/2]);
+3159 set(hObject, <span class="string">'Value'</span>, 0);
+3160 
+3161 
+3162 <span class="comment">% --- Executes on button press in Graph1ZoomOutVertical.</span>
+3163 <a name="_sub69" href="#_subfunctions" class="code">function Graph1ZoomOutVertical_Callback(hObject, eventdata, handles)</a>
+3164 a = axis(handles.Graph1);
+3165 ChangeFactor = 1.15;
+3166 del = (ChangeFactor-1)*(a(4)-a(3));
+3167 set(handles.Graph1, <span class="string">'YLim'</span>, [a(3)-del/2 a(4)+del/2]);
+3168 set(hObject, <span class="string">'Value'</span>, 0);
+3169 
+3170 
+3171 <span class="comment">% --- Executes on button press in Graph2ZoomInVertical.</span>
+3172 <a name="_sub70" href="#_subfunctions" class="code">function Graph2ZoomInVertical_Callback(hObject, eventdata, handles)</a>
+3173 a = axis(handles.Graph2);
+3174 ChangeFactor = 1.15;
+3175 del = (1/ChangeFactor-1)*(a(4)-a(3));
+3176 set(handles.Graph2, <span class="string">'YLim'</span>, [a(3)-del/2 a(4)+del/2]);
+3177 set(hObject, <span class="string">'Value'</span>, 0);
+3178 
+3179 
+3180 <span class="comment">% --- Executes on button press in Graph2ZoomOutVertical.</span>
+3181 <a name="_sub71" href="#_subfunctions" class="code">function Graph2ZoomOutVertical_Callback(hObject, eventdata, handles)</a>
+3182 a = axis(handles.Graph2);
+3183 ChangeFactor = 1.15;
+3184 del = (ChangeFactor-1)*(a(4)-a(3));
+3185 set(handles.Graph2, <span class="string">'YLim'</span>, [a(3)-del/2 a(4)+del/2]);
+3186 set(hObject, <span class="string">'Value'</span>, 0);
+3187 
+3188 
+3189 <span class="comment">% --- Executes on button press in Graph1ZoomInVertical.</span>
+3190 <a name="_sub72" href="#_subfunctions" class="code">function Graph1OffsetDownVertical_Callback(hObject, eventdata, handles)</a>
+3191 ChangeFactor = 1.1;
+3192 a1 = axis(handles.Graph1);
+3193 del1 = (ChangeFactor-1)*(a1(4)-a1(3));
+3194 set(handles.Graph1, <span class="string">'YLim'</span>, [a1(3)+del1 a1(4)+del1]);
+3195 set(hObject, <span class="string">'Value'</span>, 0);
+3196 
+3197 <span class="comment">% --- Executes on button press in Graph1ZoomOutVertical.</span>
+3198 <a name="_sub73" href="#_subfunctions" class="code">function Graph1OffsetUpVertical_Callback(hObject, eventdata, handles)</a>
+3199 ChangeFactor = 1.1;
+3200 a1 = axis(handles.Graph1);
+3201 del1 = (1/ChangeFactor-1)*(a1(4)-a1(3));
+3202 set(handles.Graph1, <span class="string">'Ylim'</span>, [a1(3)+del1 a1(4)+del1]);
+3203 set(hObject, <span class="string">'Value'</span>, 0);
+3204 
+3205 
+3206 <span class="comment">% --- Executes on button press in Graph1ZoomInVertical.</span>
+3207 <a name="_sub74" href="#_subfunctions" class="code">function Graph2OffsetDownVertical_Callback(hObject, eventdata, handles)</a>
+3208 ChangeFactor = 1.1;
+3209 a1 = axis(handles.Graph2);
+3210 del1 = (ChangeFactor-1)*(a1(4)-a1(3));
+3211 set(handles.Graph2, <span class="string">'YLim'</span>, [a1(3)+del1 a1(4)+del1]);
+3212 set(hObject, <span class="string">'Value'</span>, 0);
+3213 
+3214 <span class="comment">% --- Executes on button press in Graph1ZoomOutVertical.</span>
+3215 <a name="_sub75" href="#_subfunctions" class="code">function Graph2OffsetUpVertical_Callback(hObject, eventdata, handles)</a>
+3216 ChangeFactor = 1.1;
+3217 a1 = axis(handles.Graph2);
+3218 del1 = (1/ChangeFactor-1)*(a1(4)-a1(3));
+3219 set(handles.Graph2, <span class="string">'YLim'</span>, [a1(3)+del1 a1(4)+del1]);
+3220 set(hObject, <span class="string">'Value'</span>, 0);
+3221 
+3222 
+3223 <span class="comment">% --- Executes on button press in HorizontalOffsetRight.</span>
+3224 <a name="_sub76" href="#_subfunctions" class="code">function HorizontalOffsetLeft_Callback(hObject, eventdata, handles)</a>
+3225 ChangeFactor = 1.05;
+3226 a1 = axis(handles.Graph1);
+3227 a2 = axis(handles.Graph2);
+3228 del1 = (ChangeFactor-1)*(a1(2)-a1(1));
+3229 del2 = (ChangeFactor-1)*(a2(2)-a2(1));
+3230 set(handles.Graph1, <span class="string">'XLim'</span>, [a1(1)+del1 a1(2)+del1]);
+3231 set(handles.Graph3, <span class="string">'XLim'</span>, [a1(1)+del1 a1(2)+del1]);
+3232 set(handles.Graph2, <span class="string">'XLim'</span>, [a2(1)+del2 a2(2)+del2]);
+3233 set(handles.Graph4, <span class="string">'XLim'</span>, [a2(1)+del2 a2(2)+del2]);
+3234 set(handles.LatticeAxes, <span class="string">'XLim'</span>, [a2(1)+del2 a2(2)+del2]);
+3235 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, [a1(1)+del1 a1(2)+del1]);
+3236 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, [a2(1)+del2 a2(2)+del2]);
+3237 
+3238 <a name="_sub77" href="#_subfunctions" class="code">function HorizontalOffsetRight_Callback(hObject, eventdata, handles)</a>
+3239 ChangeFactor = 1.05;
+3240 a1 = axis(handles.Graph1);
+3241 a2 = axis(handles.Graph2);
+3242 del1 = (1/ChangeFactor-1)*(a1(2)-a1(1));
+3243 del2 = (1/ChangeFactor-1)*(a2(2)-a2(1));
+3244 set(handles.Graph1, <span class="string">'XLim'</span>, [a1(1)+del1 a1(2)+del1]);
+3245 set(handles.Graph3, <span class="string">'XLim'</span>, [a1(1)+del1 a1(2)+del1]);
+3246 set(handles.Graph2, <span class="string">'XLim'</span>, [a2(1)+del2 a2(2)+del2]);
+3247 set(handles.Graph4, <span class="string">'XLim'</span>, [a2(1)+del2 a2(2)+del2]);
+3248 set(handles.LatticeAxes, <span class="string">'XLim'</span>, [a2(1)+del2 a2(2)+del2]);
+3249 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, [a1(1)+del1 a1(2)+del1]);
+3250 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, [a2(1)+del2 a2(2)+del2]);
+3251 
+3252 <a name="_sub78" href="#_subfunctions" class="code">function Graph1ZoomInHorizontal_Callback(hObject, eventdata, handles)</a>
+3253 ChangeFactor = 1.3;
+3254 a1 = axis(handles.Graph1);
+3255 a2 = axis(handles.Graph2);
+3256 del1 = (1/ChangeFactor-1)*(a1(2)-a1(1));
+3257 del2 = (1/ChangeFactor-1)*(a2(2)-a2(1));
+3258 set(handles.Graph1, <span class="string">'XLim'</span>, [a1(1)-del1/2 a1(2)+del1/2]);
+3259 set(handles.Graph3, <span class="string">'XLim'</span>, [a1(1)-del1/2 a1(2)+del1/2]);
+3260 set(handles.Graph2, <span class="string">'XLim'</span>, [a2(1)-del2/2 a2(2)+del2/2]);
+3261 set(handles.Graph4, <span class="string">'XLim'</span>, [a2(1)-del2/2 a2(2)+del2/2]);
+3262 set(handles.LatticeAxes, <span class="string">'XLim'</span>, [a2(1)-del2/2 a2(2)+del2/2]);
+3263 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, [a1(1)-del1/2 a1(2)+del1/2]);
+3264 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, [a2(1)-del2/2 a2(2)+del2/2]);
+3265 
+3266 <a name="_sub79" href="#_subfunctions" class="code">function Graph1ZoomOutHorizontal_Callback(hObject, eventdata, handles)</a>
+3267 ChangeFactor = 1.3;
+3268 a1 = axis(handles.Graph1);
+3269 a2 = axis(handles.Graph2);
+3270 del1 = (ChangeFactor-1)*(a1(2)-a1(1));
+3271 del2 = (ChangeFactor-1)*(a2(2)-a2(1));
+3272 set(handles.Graph1, <span class="string">'XLim'</span>, [a1(1)-del1/2 a1(2)+del1/2]);
+3273 set(handles.Graph3, <span class="string">'XLim'</span>, [a1(1)-del1/2 a1(2)+del1/2]);
+3274 set(handles.Graph2, <span class="string">'XLim'</span>, [a2(1)-del2/2 a2(2)+del2/2]);
+3275 set(handles.Graph4, <span class="string">'XLim'</span>, [a2(1)-del2/2 a2(2)+del2/2]);
+3276 set(handles.LatticeAxes, <span class="string">'XLim'</span>, [a2(1)-del2/2 a2(2)+del2/2]);
+3277 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, [a1(1)-del1/2 a1(2)+del1/2]);
+3278 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, [a2(1)-del2/2 a2(2)+del2/2]);
+3279 
+3280 
+3281 
+3282 <span class="comment">% --------------------------------------------------------------------</span>
+3283 <a name="_sub80" href="#_subfunctions" class="code">function supercell_Callback(hObject, eventdata, handles)</a>
+3284 <span class="comment">% hObject    handle to supercell (see GCBO)</span>
+3285 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3286 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3287 
+3288 
+3289 <span class="comment">% --------------------------------------------------------------------</span>
+3290 <a name="_sub81" href="#_subfunctions" class="code">function all_Callback(hObject, eventdata, handles)</a>
+3291 <span class="comment">% hObject    handle to all (see GCBO)</span>
+3292 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3293 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3294 
+3295 L = getfamilydata(<span class="string">'Circumference'</span>);
+3296 <span class="keyword">if</span> isempty(L)
+3297     Family = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+3298     s = getspos(Family);
+3299     AxisRange1X = [min(s) max(s)];
+3300 <span class="keyword">else</span>
+3301     AxisRange1X = [0 L];
+3302 <span class="keyword">end</span>
+3303 
+3304 set(handles.Graph1, <span class="string">'XLim'</span>, AxisRange1X);
+3305 set(handles.Graph3, <span class="string">'XLim'</span>, AxisRange1X);
+3306 set(handles.Graph2, <span class="string">'XLim'</span>, AxisRange1X);
+3307 set(handles.Graph4, <span class="string">'XLim'</span>, AxisRange1X);
+3308 set(handles.LatticeAxes, <span class="string">'XLim'</span>, AxisRange1X);
+3309 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, AxisRange1X);
+3310 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, AxisRange1X);
+3311 
+3312 set(handles.all,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3313 set(handles.superperiod1,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3314 set(handles.superperiod2,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3315 set(handles.superperiod3,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3316 set(handles.superperiod4,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3317 
+3318 
+3319 <span class="comment">% --------------------------------------------------------------------</span>
+3320 <a name="_sub82" href="#_subfunctions" class="code">function superperiod1_Callback(hObject, eventdata, handles)</a>
+3321 <span class="comment">% hObject    handle to superperiod1 (see GCBO)</span>
+3322 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3323 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3324 
+3325 L = getfamilydata(<span class="string">'Circumference'</span>);
+3326 <span class="keyword">if</span> isempty(L)
+3327     Family = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+3328     s = getspos(Family);
+3329     AxisRange1X = [min(s) max(s)/4];
+3330 <span class="keyword">else</span>
+3331     AxisRange1X = [0 0.25]*L;
+3332 <span class="keyword">end</span>
+3333 
+3334 set(handles.Graph1, <span class="string">'XLim'</span>, AxisRange1X);
+3335 set(handles.Graph3, <span class="string">'XLim'</span>, AxisRange1X);
+3336 set(handles.Graph2, <span class="string">'XLim'</span>, AxisRange1X);
+3337 set(handles.Graph4, <span class="string">'XLim'</span>, AxisRange1X);
+3338 set(handles.LatticeAxes, <span class="string">'XLim'</span>, AxisRange1X);
+3339 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, AxisRange1X);
+3340 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, AxisRange1X);
+3341 
+3342 set(handles.all,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3343 set(handles.superperiod1,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3344 set(handles.superperiod2,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3345 set(handles.superperiod3,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3346 set(handles.superperiod4,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3347 
+3348 <span class="comment">% --------------------------------------------------------------------</span>
+3349 <a name="_sub83" href="#_subfunctions" class="code">function superperiod2_Callback(hObject, eventdata, handles)</a>
+3350 <span class="comment">% hObject    handle to superperiod2 (see GCBO)</span>
+3351 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3352 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3353 
+3354 L = getfamilydata(<span class="string">'Circumference'</span>);
+3355 <span class="keyword">if</span> isempty(L)
+3356     Family = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+3357     s = getspos(Family);
+3358     AxisRange1X = [min(s)*0.25 max(s)*.5];
+3359 <span class="keyword">else</span>
+3360     AxisRange1X = [0.25 .5]*L;
+3361 <span class="keyword">end</span>
+3362 
+3363 set(handles.Graph1, <span class="string">'XLim'</span>, AxisRange1X);
+3364 set(handles.Graph3, <span class="string">'XLim'</span>, AxisRange1X);
+3365 set(handles.Graph2, <span class="string">'XLim'</span>, AxisRange1X);
+3366 set(handles.Graph4, <span class="string">'XLim'</span>, AxisRange1X);
+3367 set(handles.LatticeAxes, <span class="string">'XLim'</span>, AxisRange1X);
+3368 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, AxisRange1X);
+3369 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, AxisRange1X);
+3370 
+3371 set(handles.all,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3372 set(handles.superperiod1,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3373 set(handles.superperiod2,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3374 set(handles.superperiod3,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3375 set(handles.superperiod4,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3376 
+3377 <span class="comment">% --------------------------------------------------------------------</span>
+3378 <a name="_sub84" href="#_subfunctions" class="code">function superperiod3_Callback(hObject, eventdata, handles)</a>
+3379 <span class="comment">% hObject    handle to superperiod3 (see GCBO)</span>
+3380 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3381 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3382 
+3383 L = getfamilydata(<span class="string">'Circumference'</span>);
+3384 <span class="keyword">if</span> isempty(L)
+3385     Family = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+3386     s = getspos(Family);
+3387     AxisRange1X = [min(s)*0.5 max(s)*0.75];
+3388 <span class="keyword">else</span>
+3389     AxisRange1X = [0.5 0.75]*L;
+3390 <span class="keyword">end</span>
+3391 
+3392 set(handles.Graph1, <span class="string">'XLim'</span>, AxisRange1X);
+3393 set(handles.Graph3, <span class="string">'XLim'</span>, AxisRange1X);
+3394 set(handles.Graph2, <span class="string">'XLim'</span>, AxisRange1X);
+3395 set(handles.Graph4, <span class="string">'XLim'</span>, AxisRange1X);
+3396 set(handles.LatticeAxes, <span class="string">'XLim'</span>, AxisRange1X);
+3397 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, AxisRange1X);
+3398 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, AxisRange1X);
+3399 
+3400 set(handles.all,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3401 set(handles.superperiod1,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3402 set(handles.superperiod2,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3403 set(handles.superperiod3,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3404 set(handles.superperiod4,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3405 
+3406 <span class="comment">% --------------------------------------------------------------------</span>
+3407 <a name="_sub85" href="#_subfunctions" class="code">function superperiod4_Callback(hObject, eventdata, handles)</a>
+3408 <span class="comment">% hObject    handle to superperiod4 (see GCBO)</span>
+3409 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3410 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3411 
+3412 
+3413 L = getfamilydata(<span class="string">'Circumference'</span>);
+3414 <span class="keyword">if</span> isempty(L)
+3415     Family = getappdata(handles.figure1, <span class="string">'BPMxFamily'</span>);
+3416     s = getspos(Family);
+3417     AxisRange1X = [min(s)*0.75 max(s)];
+3418 <span class="keyword">else</span>
+3419     AxisRange1X = [0.75 1]*L;
+3420 <span class="keyword">end</span>
+3421 
+3422 set(handles.Graph1, <span class="string">'XLim'</span>, AxisRange1X);
+3423 set(handles.Graph3, <span class="string">'XLim'</span>, AxisRange1X);
+3424 set(handles.Graph2, <span class="string">'XLim'</span>, AxisRange1X);
+3425 set(handles.Graph4, <span class="string">'XLim'</span>, AxisRange1X);
+3426 set(handles.LatticeAxes, <span class="string">'XLim'</span>, AxisRange1X);
+3427 setappdata(handles.figure1, <span class="string">'AxisRange1X'</span>, AxisRange1X);
+3428 setappdata(handles.figure1, <span class="string">'AxisRange2X'</span>, AxisRange1X);
+3429 
+3430 set(handles.all,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3431 set(handles.superperiod1,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3432 set(handles.superperiod2,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3433 set(handles.superperiod3,<span class="string">'Checked'</span>,<span class="string">'Off'</span>);
+3434 set(handles.superperiod4,<span class="string">'Checked'</span>,<span class="string">'On'</span>);
+3435 
+3436 <span class="comment">%% What to do before closing the application</span>
+3437 <a name="_sub86" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+3438 
+3439 <span class="comment">% Get default command line output from handles structure</span>
+3440 answer = questdlg(<span class="string">'Close PlotFamily?'</span>,<span class="keyword">...</span>
+3441     <span class="string">'Exit PlotFamily Program'</span>,<span class="keyword">...</span>
+3442     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+3443 
+3444 <span class="keyword">switch</span> answer
+3445     <span class="keyword">case</span> <span class="string">'Yes'</span>
+3446         <span class="comment">%         delete(handles); %Delete Timer</span>
+3447         delete(figure1); <span class="comment">%Close gui</span>
+3448     <span class="keyword">otherwise</span>
+3449         disp(<span class="string">'Closing aborted'</span>)
+3450 <span class="keyword">end</span>
+3451 
+3452 
+3453 <span class="comment">% --------------------------------------------------------------------</span>
+3454 <a name="_sub87" href="#_subfunctions" class="code">function ReloadGoldenOrbit_Callback(hObject, eventdata, handles)</a>
+3455 <span class="comment">% hObject    handle to ReloadGoldenOrbit (see GCBO)</span>
+3456 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3457 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3458 
+3459 setappdata(handles.figure1,<span class="string">'GoldenX'</span>, getgolden(<span class="string">'BPMx'</span>));
+3460 setappdata(handles.figure1,<span class="string">'GoldenY'</span>, getgolden(<span class="string">'BPMz'</span>));
+3461 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+3462 
+3463 <span class="comment">% Just in LatticeAxes menu (Not plotfamily)</span>
+3464 <a name="_sub88" href="#_subfunctions" class="code">function Switch2HW_Callback(hObject, eventdata, handles)</a>
+3465 switch2hw;
+3466 
+3467 <a name="_sub89" href="#_subfunctions" class="code">function Switch2Physics_Callback(hObject, eventdata, handles)</a>
+3468 switch2physics;
+3469 
+3470 <a name="_sub90" href="#_subfunctions" class="code">function Switch2Online_Callback(hObject, eventdata, handles)</a>
+3471 switch2online;
+3472 
+3473 <a name="_sub91" href="#_subfunctions" class="code">function Switch2Sim_Callback(hObject, eventdata, handles)</a>
+3474 switch2sim;
+3475 
+3476 
+3477 
+3478 
+3479 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+3480 <span class="comment">% Setpoint change callbacks %</span>
+3481 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
+3482 
+3483 <span class="comment">% --------------------------------------------------------------------</span>
+3484 <a name="_sub92" href="#_subfunctions" class="code">function Lattice_ButtonDown(hObject, eventdata, handles)</a>
+3485 <span class="comment">% Change setpoint request</span>
+3486 ErrorFlag = 0;
+3487 
+3488 <span class="comment">% Only works on setpoint fields (at the moment)</span>
+3489 Field = <span class="string">'Setpoint'</span>;
+3490 
+3491 <span class="keyword">try</span>
+3492     ATIndex = get(hObject, <span class="string">'UserData'</span>);
+3493 
+3494     CurrentPoint = get(handles.LatticeAxes, <span class="string">'CurrentPoint'</span>);
+3495     SposMouse = CurrentPoint(1,1);
+3496     
+3497     [Family, List] = atindex2family(ATIndex);
+3498 
+3499     <span class="keyword">if</span> isempty(Family) || isempty(List)
+3500         ErrorFlag = 1;
+3501     <span class="keyword">else</span>
+3502 
+3503         List = List(1,:);
+3504 
+3505         HCMFamily = gethcmfamily;
+3506         VCMFamily = getvcmfamily;
+3507         <span class="keyword">if</span> any(strcmpi(Family, {HCMFamily, VCMFamily}))
+3508             <span class="comment">% A corrector was found (how do I know if it's a HCM or VCM?  AT does not differentiate)</span>
+3509             <span class="keyword">if</span> strcmpi(Family, HCMFamily) &amp;&amp; CurrentPoint(1,2)&lt;0
+3510                 <span class="comment">% It should be a VCM family</span>
+3511                 DevList = family2dev(VCMFamily);
+3512                 [i, col] = find(ATIndex == family2atindex(VCMFamily,DevList));
+3513                 <span class="keyword">if</span> ~isempty(i)
+3514                     Family = VCMFamily;
+3515                     List = DevList(i,:);
+3516                 <span class="keyword">end</span>
+3517             <span class="keyword">elseif</span> strcmpi(Family, VCMFamily) &amp;&amp; CurrentPoint(1,2)&gt;0
+3518                 <span class="comment">% It should be a HCM family</span>
+3519                 DevList = family2dev(HCMFamily);
+3520                 [i, col] = find(ATIndex == family2atindex(HCMFamily,DevList));
+3521                 <span class="keyword">if</span> ~isempty(i)
+3522                     Family = HCMFamily;
+3523                     List = DevList(i,:);
+3524                 <span class="keyword">end</span>
+3525             <span class="keyword">end</span>
+3526         <span class="keyword">end</span>
+3527 
+3528         [FamilyFlag,ao] = isfamily(Family);
+3529 
+3530         <span class="keyword">if</span> isfield(ao, Field)
+3531             <span class="comment">% Get/save the present setpoint then call the GUI for setpoint changes</span>
+3532             <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3533                 Mode = <span class="string">'Simulator'</span>;
+3534             <span class="keyword">else</span>
+3535                 Mode = <span class="string">'Online'</span>;
+3536             <span class="keyword">end</span>
+3537             <span class="keyword">if</span> strcmpi(get(handles.PhysicsUnitsFlag,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3538                 <span class="comment">%if getappdata(handles.figure1,'UnitsFlag') == 1</span>
+3539                 UnitsFlag = <span class="string">'Physics'</span>;
+3540             <span class="keyword">else</span>
+3541                 UnitsFlag = <span class="string">'Hardware'</span>;
+3542             <span class="keyword">end</span>
+3543 
+3544             SP = getpv(Family, Field, List, Mode, UnitsFlag, <span class="string">'Struct'</span>);
+3545             set(handles.SetpointSlider,     <span class="string">'UserData'</span>, SP);
+3546             set(handles.SetpointPushButton, <span class="string">'UserData'</span>, SP);
+3547             <a href="#_sub93" class="code" title="subfunction SetpointGUI_Callback(hObject, eventdata, handles)">SetpointGUI_Callback</a>(hObject, eventdata, handles);
+3548         <span class="keyword">else</span>
+3549             ErrorFlag = 1;
+3550         <span class="keyword">end</span>
+3551     <span class="keyword">end</span>
+3552 <span class="keyword">catch</span>
+3553     ErrorFlag = 1;
+3554     fprintf(<span class="string">'\n%s\n'</span>, lasterr);
+3555     fprintf(<span class="string">'There was a problem getting %s.%s(%d,%d)\n'</span>, Family, Field, List);
+3556 <span class="keyword">end</span>
+3557 
+3558 <span class="keyword">if</span> ErrorFlag
+3559     <span class="comment">% Turn off the setpoint GUI</span>
+3560     set(handles.SetpointEditBox,   <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3561     set(handles.SetpointFamily,    <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3562     set(handles.SetpointUnits,     <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3563     set(handles.SetpointSlider,    <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3564     set(handles.SetpointMax,       <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3565     set(handles.SetpointMin,       <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3566     set(handles.SetpointFrame,     <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3567     set(handles.SetpointStepSize,  <span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3568     set(handles.SetpointPushButton,<span class="string">'Visible'</span>, <span class="string">'Off'</span>);
+3569 
+3570     <span class="comment">% Change the save and file text to make room for the slider</span>
+3571     p = get(handles.SaveTime, <span class="string">'Position'</span>);
+3572     set(handles.SaveTime, <span class="string">'Position'</span>,  [p(1) p(2) 45 p(4)]);
+3573     p = get(handles.FileNameX, <span class="string">'Position'</span>);
+3574     set(handles.FileNameX, <span class="string">'Position'</span>,  [p(1) p(2) 45 p(4)]);
+3575     p = get(handles.FileNameY, <span class="string">'Position'</span>);
+3576     set(handles.FileNameY, <span class="string">'Position'</span>, [p(1) p(2) 45 p(4)]);
+3577 <span class="keyword">end</span>
+3578 
+3579 
+3580 <span class="comment">% --------------------------------------------------------------------</span>
+3581 <a name="_sub93" href="#_subfunctions" class="code">function SetpointGUI_Callback(hObject, eventdata, handles)</a>
+3582 
+3583 SP = get(handles.SetpointSlider, <span class="string">'UserData'</span>);
+3584 
+3585 <span class="comment">% Use slider and edit box</span>
+3586 set(handles.SetpointSlider, <span class="string">'UserData'</span>, SP);
+3587 <span class="keyword">try</span>
+3588     MaxPV = maxpv(SP);
+3589     MinPV = minpv(SP);
+3590     <span class="comment">%if isinf(MaxPV) &amp;&amp; ~isnan(MaxPV)</span>
+3591     <span class="comment">%    MaxPV = 1e10; %SP.Data + abs(SP.Data);</span>
+3592     <span class="comment">%end</span>
+3593     <span class="comment">%if isinf(MinPV) &amp;&amp; ~isnan(MinPV)</span>
+3594     <span class="comment">%    MinPV = -1e10; %SP.Data - abs(SP.Data);;</span>
+3595     <span class="comment">%end</span>
+3596 
+3597     <span class="keyword">if</span> MaxPV &lt; MinPV
+3598         tmp = MaxPV;
+3599         MaxPV = MinPV;
+3600         MinPV = tmp;
+3601     <span class="keyword">end</span>
+3602 
+3603     <span class="keyword">if</span> isnumeric(MaxPV) &amp;&amp; isnumeric(MinPV) &amp;&amp; ~isinf(MaxPV) &amp;&amp; ~isinf(MinPV) &amp;&amp; ~isnan(MaxPV) &amp;&amp; ~isnan(MinPV) &amp;&amp; (MaxPV-MinPV)~=0
+3604         Range = abs(MaxPV-MinPV);
+3605         <span class="keyword">if</span> Range == 1
+3606             StepSize = 1;
+3607         <span class="keyword">else</span>
+3608             StepSize = Range/5000;
+3609         <span class="keyword">end</span>
+3610     <span class="keyword">else</span>
+3611         StepSize = 1;
+3612     <span class="keyword">end</span>
+3613     set(handles.SetpointStepSize, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>,StepSize));
+3614 <span class="keyword">catch</span>
+3615     MaxPV = Inf; <span class="comment">% 1e10; % SP.Data + abs(SP.Data);</span>
+3616     MinPV =-Inf; <span class="comment">%-1e10; % SP.Data - abs(SP.Data);</span>
+3617 <span class="keyword">end</span>
+3618 
+3619 set(handles.SetpointMax, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>,MaxPV));
+3620 set(handles.SetpointMin, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>,MinPV));
+3621 
+3622 <span class="keyword">if</span> ~isinf(MaxPV) &amp;&amp; ~isnan(MaxPV) &amp;&amp; (MaxPV-MinPV)~=0
+3623     set(handles.SetpointSlider, <span class="string">'Max'</span>, MaxPV);
+3624 <span class="keyword">end</span>
+3625 <span class="keyword">if</span> ~isinf(MinPV) &amp;&amp; ~isnan(MaxPV) &amp;&amp; (MaxPV-MinPV)~=0
+3626     set(handles.SetpointSlider, <span class="string">'Min'</span>, MinPV);
+3627 <span class="keyword">end</span>
+3628 <a href="#_sub94" class="code" title="subfunction SetpointRange_Callback(hObject, eventdata, handles)">SetpointRange_Callback</a>(hObject, eventdata, handles);
+3629 
+3630 set(handles.SetpointFamily,  <span class="string">'String'</span>, sprintf(<span class="string">'%s.%s(%d,%d)'</span>, SP.FamilyName, SP.Field, SP.DeviceList));
+3631 <span class="keyword">try</span>
+3632     set(handles.SetpointFamily,  <span class="string">'TooltipString'</span>, sprintf(<span class="string">'%s'</span>, cell2mat(family2tango(SP))));
+3633 <span class="keyword">catch</span>
+3634     set(handles.SetpointFamily,  <span class="string">'TooltipString'</span>, <span class="string">''</span>);
+3635 <span class="keyword">end</span>
+3636 set(handles.SetpointUnits,   <span class="string">'String'</span>, [SP.UnitsString, <span class="string">'/step'</span>]);
+3637 set(handles.SetpointEditBox, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>, SP.Data));
+3638 set(handles.SetpointEditBox, <span class="string">'TooltipString'</span>, sprintf(<span class="string">'New setpoint in %s'</span>, SP.UnitsString));
+3639 
+3640 set(handles.SetpointPushButton, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>, SP.Data));
+3641 set(handles.SetpointPushButton, <span class="string">'TooltipString'</span>, sprintf(<span class="string">'Restore original setpoint to %f %s'</span>, SP.Data, SP.UnitsString));
+3642 
+3643 
+3644 set(handles.SetpointEditBox,   <span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3645 set(handles.SetpointFamily,    <span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3646 set(handles.SetpointUnits,     <span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3647 set(handles.SetpointSlider,    <span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3648 set(handles.SetpointMax,       <span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3649 set(handles.SetpointMin,       <span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3650 set(handles.SetpointFrame,     <span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3651 set(handles.SetpointStepSize,  <span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3652 set(handles.SetpointPushButton,<span class="string">'Visible'</span>, <span class="string">'On'</span>);
+3653 
+3654 <span class="comment">% Change the save and file text to make room for the slider</span>
+3655 p = get(handles.SaveTime, <span class="string">'Position'</span>);
+3656 set(handles.SaveTime, <span class="string">'Position'</span>,  [p(1) p(2) 19 p(4)]);
+3657 p = get(handles.FileNameX, <span class="string">'Position'</span>);
+3658 set(handles.FileNameX, <span class="string">'Position'</span>,  [p(1) p(2) 19 p(4)]);
+3659 p = get(handles.FileNameY, <span class="string">'Position'</span>);
+3660 set(handles.FileNameY, <span class="string">'Position'</span>, [p(1) p(2) 19 p(4)]);
+3661 
+3662 <span class="comment">% % Other method: use input dialog box</span>
+3663 <span class="comment">% answer = inputdlg(sprintf('Enter new setpoint for %s.%s(%d,%d) in %s (%s):', SP.FamilyName, SP.Field, SP.DeviceList, SP.UnitsString, SP.Mode),'FAMILYPLOT',1,{sprintf('%s',num2str(SP.Data))});</span>
+3664 <span class="comment">% if ~isempty(answer)</span>
+3665 <span class="comment">%     NewSP = str2num(answer{1});</span>
+3666 <span class="comment">%     if ~isempty(NewSP)</span>
+3667 <span class="comment">%         SP.Data = NewSP</span>
+3668 <span class="comment">%         set(handles.SetpointSlider,  'UserData', SP);</span>
+3669 <span class="comment">%         ChangeSetpointPlotfamily(hObject, eventdata, handles);</span>
+3670 <span class="comment">%         %setpv(Family, Field, NewSP, List, Mode);</span>
+3671 <span class="comment">%     end</span>
+3672 <span class="comment">% end</span>
+3673 
+3674 
+3675 <span class="comment">% --------------------------------------------------------------------</span>
+3676 <a name="_sub94" href="#_subfunctions" class="code">function SetpointRange_Callback(hObject, eventdata, handles)</a>
+3677 
+3678 MaxPV = str2num(get(handles.SetpointMax,<span class="string">'String'</span>)); <span class="comment">%#ok&lt;ST2NM&gt;</span>
+3679 MinPV = str2num(get(handles.SetpointMin,<span class="string">'String'</span>));
+3680 
+3681 <span class="keyword">if</span> isnumeric(MaxPV) &amp;&amp; isnumeric(MinPV) &amp;&amp; ~isinf(MaxPV) &amp;&amp; ~isinf(MinPV) &amp;&amp; ~isnan(MaxPV) &amp;&amp; ~isnan(MinPV) &amp;&amp; (MaxPV-MinPV)~=0
+3682     <span class="keyword">if</span> MaxPV &lt; MinPV
+3683         fprintf(<span class="string">'   Maximum range must be greater than the minimum range.\n'</span>);
+3684         MaxPV = get(handles.SetpointSlider, <span class="string">'Max'</span>);
+3685         MinPV = get(handles.SetpointSlider, <span class="string">'Min'</span>);
+3686         set(handles.SetpointMax, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>,MaxPV));
+3687         set(handles.SetpointMin, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>,MinPV));
+3688     <span class="keyword">else</span>
+3689         StepSize = abs(str2num(get(handles.SetpointStepSize, <span class="string">'String'</span>))); <span class="comment">%#ok&lt;ST2NM&gt;</span>
+3690         Range = abs(MaxPV-MinPV);
+3691         <span class="keyword">if</span> isempty(StepSize) || ~isnumeric(StepSize)
+3692             fprintf(<span class="string">'   Step size is not a numeric value.  Overwriting with the default step size.\n'</span>);
+3693             StepSize = Range/1000;
+3694         <span class="keyword">end</span>
+3695         set(handles.SetpointStepSize, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>,StepSize));
+3696         Steps = Range/StepSize;
+3697         <span class="keyword">if</span> Steps &lt; 10
+3698             Steps = 10;
+3699         <span class="keyword">end</span>
+3700         set(handles.SetpointSlider, <span class="string">'Max'</span>, MaxPV);
+3701         set(handles.SetpointSlider, <span class="string">'Min'</span>, MinPV);
+3702         set(handles.SetpointSlider, <span class="string">'SliderStep'</span>, [1/Steps 10/Steps]);
+3703         <span class="comment">%set(handles.SetpointSlider, 'SliderStep', [.001 .01]);</span>
+3704 
+3705         SP = get(handles.SetpointSlider, <span class="string">'UserData'</span>);
+3706         set(handles.SetpointSlider,  <span class="string">'Value'</span>,  SP.Data);
+3707         
+3708         set(handles.SetpointSlider, <span class="string">'Enable'</span>, <span class="string">'On'</span>);
+3709     <span class="keyword">end</span>
+3710 <span class="keyword">else</span>
+3711     set(handles.SetpointSlider, <span class="string">'Enable'</span>, <span class="string">'Off'</span>);
+3712 <span class="keyword">end</span>
+3713 
+3714 
+3715 
+3716 <span class="comment">% --------------------------------------------------------------------</span>
+3717 <a name="_sub95" href="#_subfunctions" class="code">function SetpointSlider_Callback(hObject, eventdata, handles)</a>
+3718 
+3719 <span class="comment">% Get setpoint from the slider</span>
+3720 NewSP = get(handles.SetpointSlider, <span class="string">'Value'</span>);
+3721 
+3722 SP = get(handles.SetpointSlider, <span class="string">'UserData'</span>);
+3723 SP.Data = NewSP;
+3724 
+3725 <span class="comment">% Update Slider</span>
+3726 set(handles.SetpointSlider, <span class="string">'UserData'</span>, SP);
+3727 set(handles.SetpointSlider, <span class="string">'Value'</span>, NewSP);
+3728 
+3729 <span class="comment">% Update EditBox</span>
+3730 set(handles.SetpointEditBox, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>, SP.Data));
+3731 
+3732 <span class="comment">% Make setpoint change</span>
+3733 <a href="#_sub98" class="code" title="subfunction ChangeSetpointPlotfamily(hObject, eventdata, handles)">ChangeSetpointPlotfamily</a>(hObject, eventdata, handles);
+3734 
+3735 
+3736 <span class="comment">% --------------------------------------------------------------------</span>
+3737 <a name="_sub96" href="#_subfunctions" class="code">function SetpointEditBox_Callback(hObject, eventdata, handles)</a>
+3738 
+3739 <span class="comment">% Get setpoint from the editbox</span>
+3740 ValueStr = get(handles.SetpointEditBox, <span class="string">'String'</span>);
+3741 
+3742 <span class="keyword">if</span> ~isempty(ValueStr)
+3743     NewSP = str2num(ValueStr);
+3744 
+3745     SP = get(handles.SetpointSlider, <span class="string">'UserData'</span>);
+3746     SP.Data = NewSP;
+3747 
+3748     <span class="comment">% Check range (if slider is enabled)</span>
+3749     ChangeFlag = 1;
+3750     <span class="keyword">if</span> strcmpi(get(handles.SetpointSlider,<span class="string">'Enable'</span>), <span class="string">'On'</span>)
+3751         MaxPV = str2num(get(handles.SetpointMax,<span class="string">'String'</span>));
+3752         MinPV = str2num(get(handles.SetpointMin,<span class="string">'String'</span>));
+3753         <span class="keyword">if</span> isnumeric(MaxPV) &amp;&amp; isnumeric(MinPV) &amp;&amp; ~isinf(MaxPV) &amp;&amp; ~isinf(MinPV) &amp;&amp; ~isnan(MaxPV) &amp;&amp; ~isnan(MinPV)
+3754             <span class="keyword">if</span> MaxPV &lt; NewSP  || NewSP &lt; MinPV
+3755                 fprintf(<span class="string">'   The requested setpoint is outside the limits.  Requested cancelled.\n'</span>);
+3756                 ChangeFlag = 0;
+3757                 OldSP = get(handles.SetpointSlider, <span class="string">'Value'</span>);
+3758                 set(handles.SetpointEditBox, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>,OldSP));
+3759             <span class="keyword">end</span>
+3760         <span class="keyword">end</span>
+3761     <span class="keyword">end</span>
+3762 
+3763     <span class="comment">% Update Slider</span>
+3764     <span class="keyword">if</span> ChangeFlag
+3765         set(handles.SetpointSlider, <span class="string">'UserData'</span>, SP);
+3766 
+3767         <span class="comment">% Don't change the slider if it's not enabled</span>
+3768         <span class="keyword">if</span> strcmpi(get(handles.SetpointSlider,<span class="string">'Enable'</span>), <span class="string">'On'</span>)
+3769             set(handles.SetpointSlider, <span class="string">'Value'</span>, NewSP);
+3770         <span class="keyword">end</span>
+3771 
+3772         <span class="comment">% Make setpoint change</span>
+3773         <a href="#_sub98" class="code" title="subfunction ChangeSetpointPlotfamily(hObject, eventdata, handles)">ChangeSetpointPlotfamily</a>(hObject, eventdata, handles);
+3774     <span class="keyword">end</span>
+3775 <span class="keyword">end</span>
+3776 
+3777 
+3778 <span class="comment">% --------------------------------------------------------------------</span>
+3779 <a name="_sub97" href="#_subfunctions" class="code">function SetpointPushButton_Callback(hObject, eventdata, handles)</a>
+3780 
+3781 <span class="comment">% Get setpoint from the pushbutton</span>
+3782 SP = get(handles.SetpointPushButton, <span class="string">'UserData'</span>);
+3783 
+3784 <span class="comment">% Update Slider if it's enabled</span>
+3785 <span class="keyword">if</span> strcmpi(get(handles.SetpointSlider,<span class="string">'Enable'</span>), <span class="string">'On'</span>)
+3786     set(handles.SetpointSlider, <span class="string">'Value'</span>, SP.Data);
+3787 <span class="keyword">end</span>
+3788 
+3789 <span class="comment">% Store the setpoint change and update the editbox</span>
+3790 set(handles.SetpointSlider, <span class="string">'UserData'</span>, SP);
+3791 set(handles.SetpointEditBox, <span class="string">'String'</span>, sprintf(<span class="string">'%f'</span>,SP.Data));
+3792 
+3793 <span class="comment">% Make setpoint change</span>
+3794 <a href="#_sub98" class="code" title="subfunction ChangeSetpointPlotfamily(hObject, eventdata, handles)">ChangeSetpointPlotfamily</a>(hObject, eventdata, handles);
+3795 
+3796 
+3797 <span class="comment">% --------------------------------------------------------------------</span>
+3798 <a name="_sub98" href="#_subfunctions" class="code">function ChangeSetpointPlotfamily(hObject, eventdata, handles)</a>
+3799 
+3800 SP = get(handles.SetpointSlider, <span class="string">'UserData'</span>);
+3801 
+3802 <span class="comment">% Get the present mode (units are stored with the data)</span>
+3803 <span class="keyword">if</span> strcmpi(get(handles.Simulate,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3804     Mode = <span class="string">'Simulator'</span>;
+3805 <span class="keyword">else</span>
+3806     Mode = <span class="string">'Online'</span>;
+3807 <span class="keyword">end</span>
+3808 
+3809 
+3810 <span class="comment">% Make the setpoint change</span>
+3811 setpv(SP, 0, Mode);
+3812 
+3813 <span class="comment">% Update plots</span>
+3814 <a href="#_sub8" class="code" title="subfunction OneShot_Callback(hObject, eventdata, handles)">OneShot_Callback</a>(hObject, eventdata, handles);
+3815 
+3816 <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_BetaX,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3817     <a href="#_sub60" class="code" title="subfunction AddPlot_Beta_Callback(hObject, eventdata, handles)">AddPlot_Beta_Callback</a>(handles.AddPlot1_BetaX, eventdata, handles);
+3818 <span class="keyword">end</span>
+3819 <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_BetaX,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3820     <a href="#_sub60" class="code" title="subfunction AddPlot_Beta_Callback(hObject, eventdata, handles)">AddPlot_Beta_Callback</a>(handles.AddPlot2_BetaX, eventdata, handles);
+3821 <span class="keyword">end</span>
+3822 <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_BetaY,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3823     <a href="#_sub60" class="code" title="subfunction AddPlot_Beta_Callback(hObject, eventdata, handles)">AddPlot_Beta_Callback</a>(handles.AddPlot1_BetaY, eventdata, handles);
+3824 <span class="keyword">end</span>
+3825 <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_BetaY,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3826     <a href="#_sub60" class="code" title="subfunction AddPlot_Beta_Callback(hObject, eventdata, handles)">AddPlot_Beta_Callback</a>(handles.AddPlot2_BetaY, eventdata, handles);
+3827 <span class="keyword">end</span>
+3828 
+3829 <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_DispX,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3830     <a href="#_sub61" class="code" title="subfunction AddPlot_Dispersion_Callback(hObject, eventdata, handles)">AddPlot_Dispersion_Callback</a>(handles.AddPlot1_DispX, eventdata, handles);
+3831 <span class="keyword">end</span>
+3832 <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_DispX,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3833     <a href="#_sub61" class="code" title="subfunction AddPlot_Dispersion_Callback(hObject, eventdata, handles)">AddPlot_Dispersion_Callback</a>(handles.AddPlot2_DispX, eventdata, handles);
+3834 <span class="keyword">end</span>
+3835 <span class="keyword">if</span> strcmpi(get(handles.AddPlot1_DispY,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3836     <a href="#_sub61" class="code" title="subfunction AddPlot_Dispersion_Callback(hObject, eventdata, handles)">AddPlot_Dispersion_Callback</a>(handles.AddPlot1_DispY, eventdata, handles);
+3837 <span class="keyword">end</span>
+3838 <span class="keyword">if</span> strcmpi(get(handles.AddPlot2_DispY,<span class="string">'Checked'</span>),<span class="string">'On'</span>)
+3839     <a href="#_sub61" class="code" title="subfunction AddPlot_Dispersion_Callback(hObject, eventdata, handles)">AddPlot_Dispersion_Callback</a>(handles.AddPlot2_DispY, eventdata, handles);
+3840 <span class="keyword">end</span>
+3841 
+3842 
+3843</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/plotfamilystartup.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/plotfamilystartup.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/plotfamily/plotfamilystartup.html	(revision 17)
@@ -0,0 +1,110 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of plotfamilystartup</title>
+  <meta name="keywords" content="plotfamilystartup">
+  <meta name="description" content="plotfamilystartup(handles)">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">plotfamily</a> &gt; plotfamilystartup.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/plotfamily&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>plotfamilystartup
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>plotfamilystartup(handles)</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function handles = plotfamilystartup(handles) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> plotfamilystartup(handles)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="plotfamily.html" class="code" title="function varargout = plotfamily(varargin)">plotfamily</a>	PLOTFAMILY - Plots by middle layer family name</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function handles = plotfamilystartup(handles)</a>
+0002 <span class="comment">% plotfamilystartup(handles)</span>
+0003 
+0004 
+0005 <span class="comment">% Disable setpoint GUI</span>
+0006 set(handles.DisabledSetpointChanges, <span class="string">'Checked'</span>, <span class="string">'On'</span>);
+0007 
+0008 Sectors = 16;
+0009 Superperiods = 4;
+0010 
+0011 L = getfamilydata(<span class="string">'Circumference'</span>);
+0012 <span class="keyword">if</span> ~isempty(L)
+0013     <span class="comment">% Add a sector menu</span>
+0014     <span class="comment">% Using a [Arc Straight] nomenclature</span>
+0015     Menu0 = uimenu(handles.figure1, <span class="string">'Label'</span>, <span class="string">'Sector'</span>);
+0016     set(Menu0, <span class="string">'Position'</span>, 3);
+0017     set(Menu0, <span class="string">'Separator'</span>, <span class="string">'On'</span>);
+0018 
+0019     <span class="comment">% Arc sections</span>
+0020     Extra = 5;  <span class="comment">% meters</span>
+0021     i = 1;
+0022     Menu1 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Arc Sector %d'</span>,i));
+0023     set(Menu1,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[0 Extra+L/Sectors]+(i-1)*L/Sectors),<span class="string">'],guidata(gcbo))'</span>]);
+0024     <span class="keyword">for</span> i = 2:Sectors-1
+0025         Menu1 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Arc Sector %d'</span>,i));
+0026         set(Menu1,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[0-Extra Extra+L/Sectors]+(i-1)*L/Sectors),<span class="string">'],guidata(gcbo))'</span>]);
+0027     <span class="keyword">end</span>
+0028     i = Sectors;
+0029     Menu1 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Arc Sector %d'</span>,i));
+0030     set(Menu1,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[L-L/Sectors-Extra L]),<span class="string">'],guidata(gcbo))'</span>]);
+0031 
+0032     <span class="comment">% Straight sections</span>
+0033     Extra = 9;  <span class="comment">% meters</span>
+0034     <span class="keyword">for</span> i = 1:Sectors-1
+0035         Menu1 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Straight Section %d'</span>,i));
+0036         set(Menu1,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[-Extra Extra]+i*L/Sectors),<span class="string">'],guidata(gcbo))'</span>]);
+0037     <span class="keyword">end</span>
+0038     Menu1 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Straight Section %d'</span>,16));
+0039     set(Menu1,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[L-Extra L]),<span class="string">'],guidata(gcbo))'</span>]);
+0040 
+0041     <span class="comment">% Add Superperiod menu</span>
+0042     Menu0 = uimenu(handles.figure1, <span class="string">'Label'</span>, <span class="string">'Superperiod'</span>);
+0043     set(Menu0, <span class="string">'Position'</span>, 4);
+0044     set(Menu0, <span class="string">'Separator'</span>, <span class="string">'On'</span>);
+0045 
+0046     handles.all = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'All Ring'</span>));
+0047     set(handles.all,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[0 L]),<span class="string">'],guidata(gcbo))'</span>]);
+0048     set(handles.all,<span class="string">'Checked'</span>, <span class="string">'On'</span>);
+0049     
+0050     handles.superperiod1 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Superperiod %d'</span>,1));
+0051     set(handles.superperiod1,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[0 L/Superperiods]),<span class="string">'],guidata(gcbo))'</span>]);
+0052 
+0053     handles.superperiod2 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Superperiod %d'</span>,2));
+0054     set(handles.superperiod2,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[L/Superperiods 2*L/Superperiods]),<span class="string">'],guidata(gcbo))'</span>]);
+0055 
+0056     handles.superperiod3 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Superperiod %d'</span>,3));
+0057     set(handles.superperiod3,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[2*L/Superperiods 3*L/Superperiods]),<span class="string">'],guidata(gcbo))'</span>]);
+0058 
+0059     handles.superperiod4 = uimenu(Menu0, <span class="string">'Label'</span>,sprintf(<span class="string">'Superperiod %d'</span>,4));
+0060     set(handles.superperiod4,<span class="string">'Callback'</span>, [<span class="string">'plotfamily(''HorizontalAxisSector_Callback'',gcbo,['</span>,sprintf(<span class="string">'%f %f'</span>,[3*L/Superperiods L]),<span class="string">'],guidata(gcbo))'</span>]);
+0061 
+0062 <span class="keyword">end</span>
+0063</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/setrange.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/setrange.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/setrange.html	(revision 17)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of setrange</title>
+  <meta name="keywords" content="setrange">
+  <meta name="description" content="SETRANGE - read min and max value from TANGO static DB and set AO">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">common</a> &gt; setrange.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common&nbsp;<img alt=">" border="0" src="../../../right.png"></a></td></tr></table>-->
+
+<h1>setrange
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>SETRANGE - read min and max value from TANGO static DB and set AO</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="box"><strong>function setrange(family) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SETRANGE - read min and max value from TANGO static DB and set AO
+structure
+
+  INPUTS
+  1. family - FamilyName</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function setrange(family)</a>
+0002 <span class="comment">%SETRANGE - read min and max value from TANGO static DB and set AO</span>
+0003 <span class="comment">%structure</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. family - FamilyName</span>
+0007 
+0008 <span class="comment">%</span>
+0009 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0010 
+0011 <span class="keyword">if</span> isfamily(family)
+0012     AO = getao;
+0013     [s idx] = family2status(family);
+0014     AO.(family).Monitor.Range(idx,1) = tango_get_attribute_property(family,<span class="string">'min_value'</span>,<span class="string">'Double'</span>);
+0015     AO.(family).Monitor.Range(idx,2) = tango_get_attribute_property(family,<span class="string">'max_value'</span>,<span class="string">'Double'</span>);
+0016     AO.(family).Setpoint.Range = AO.(family).Monitor.Range;
+0017     AO.(family).Desired.Range = AO.(family).Monitor.Range;
+0018     setao(AO);
+0019 <span class="keyword">else</span>
+0020     warning(<span class="string">'%s is not a valid family'</span>,family)
+0021 <span class="keyword">end</span>
+0022</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/DCCT_speed.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/DCCT_speed.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/DCCT_speed.html	(revision 17)
@@ -0,0 +1,70 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of DCCT_speed</title>
+  <meta name="keywords" content="DCCT_speed">
+  <meta name="description" content="Mesure vitesse de lecture DCCT">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; DCCT_speed.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>DCCT_speed
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>Mesure vitesse de lecture DCCT</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function DCCT_speed </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> Mesure vitesse de lecture DCCT</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function DCCT_speed</a>
+0002 <span class="comment">% Mesure vitesse de lecture DCCT</span>
+0003 
+0004 temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur0=temp.value;
+0005 pause(0.2)
+0006 
+0007 dt=0.05 ;  <span class="comment">% en seconde</span>
+0008 tt=1:60;
+0009 anscur=[];
+0010 <span class="comment">%tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent');</span>
+0011 tic
+0012 <span class="keyword">for</span> t=tt
+0013     pause(dt)
+0014     temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);
+0015     anscur=[anscur temp.value];
+0016     anscur1=anscur - anscur0; 
+0017 <span class="keyword">end</span>
+0018 toc
+0019 plot(tt*dt,anscur1,<span class="string">'-ob'</span>);grid on
+0020 xlabel(<span class="string">'Time (s)'</span>);ylabel(<span class="string">'Current (A)'</span>)
+0021     
+0022      
+0023</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/EP_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/EP_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/EP_rafale.html	(revision 17)
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of EP_rafale</title>
+  <meta name="keywords" content="EP_rafale">
+  <meta name="description" content="mode rafale test EP">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; EP_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>EP_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>mode rafale test EP</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> mode rafale test EP</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% mode rafale test EP</span>
+0002 <span class="comment">%</span>
+0003 burst=5 ;     <span class="comment">% nb de coup rafale</span>
+0004 boucle=1 ;  <span class="comment">% nb de rafale</span>
+0005 delai=3 ;      <span class="comment">% delai entre rafale (s)</span>
+0006 
+0007 <span class="comment">% Set table to one value</span>
+0008 bunch=[1];
+0009 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+0010 table=int32([length(bunch) dtour dpaquet]);
+0011 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+0012 
+0013 
+0014 <span class="comment">% Profondeur rafale</span>
+0015 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'burstSize'</span>,int32(burst));
+0016 
+0017 
+0018 
+0019 <span class="comment">% boucle</span>
+0020 <span class="keyword">for</span> i=1:boucle
+0021     i
+0022     tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireBurstEvent'</span>);
+0023     pause(delai)
+0024 <span class="keyword">end</span>
+0025 
+0026 
+0027     
+0028</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/Synchronisationsetup.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/Synchronisationsetup.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/Synchronisationsetup.html	(revision 17)
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of Synchronisationsetup</title>
+  <meta name="keywords" content="Synchronisationsetup">
+  <meta name="description" content="LT2SETUP - GUI for doing LT2 setup">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; Synchronisationsetup.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>Synchronisationsetup
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>LT2SETUP - GUI for doing LT2 setup</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function Synchronisationsetup </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">LT2SETUP - GUI for doing LT2 setup</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Synchronisationsetup</a>
+0002 <span class="comment">%LT2SETUP - GUI for doing LT2 setup</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Written by Laurent S. Nadolski</span>
+0006 
+0007 
+0008 
+0009 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'Timingsetup'</span>); 
+0010 
+0011 <span class="keyword">if</span> ~isempty(orbfig), delete(orbfig); <span class="keyword">end</span>
+0012 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'Timingsetup'</span>); 
+0013 
+0014 
+0015 kmax = 8; <span class="comment">% button number</span>
+0016 
+0017 height = 10 + kmax*30 + 30; <span class="comment">%670;</span>
+0018 a = figure(<span class="string">'Color'</span>,[0.8 0.8 0.8], <span class="keyword">...</span>
+0019     <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0020     <span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0021     <span class="string">'MenuBar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span>
+0022     <span class="string">'Name'</span>, <span class="string">'Timingsetup'</span>, <span class="keyword">...</span>
+0023     <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0024     <span class="string">'Units'</span>,<span class="string">'pixels'</span>, <span class="keyword">...</span>
+0025     <span class="string">'Position'</span>,[5 70 210*2 height], <span class="keyword">...</span>
+0026     <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0027     <span class="string">'Tag'</span>,<span class="string">'Timingsetup'</span>);
+0028 
+0029 height = height - 35;
+0030 
+0031 <span class="keyword">for</span> k = 1:kmax,
+0032     b1(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0033         <span class="string">'Position'</span>,[3 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0034         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0035         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0036 <span class="keyword">end</span>
+0037 
+0038 <span class="keyword">for</span> k = 1:kmax,
+0039     b2(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0040         <span class="string">'Position'</span>,[3 + 210 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0041         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0042         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0043 <span class="keyword">end</span>
+0044 
+0045 set(b1(1), <span class="string">'Callback'</span>,<span class="string">'disp([''   Timing;'']); synchro_injecteur7;'</span>, <span class="string">'String'</span>,<span class="string">'Synchronisation'</span>);
+0046 set(b1(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Fichiers de Consignes;'']); save_boo;'</span>, <span class="string">'String'</span>,<span class="string">'Fichiers de Consignes'</span>);
+0047 set(b1(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   Timing_test;'']); synchro_mode_tests;'</span>, <span class="string">'String'</span>,<span class="string">'Synchro_mode_test'</span>);
+0048 set(b1(4), <span class="string">'Callback'</span>,<span class="string">'disp([''   Survey;'']); synchro_survey;'</span>, <span class="string">'String'</span>,<span class="string">'Synchro_survey'</span>);
+0049 
+0050 set(b2(1), <span class="string">'Callback'</span>,<span class="string">'disp([''   Kickers ANS;'']); set_bump0;'</span>, <span class="string">'String'</span>,<span class="string">' Set kickers bump symmetric'</span>);
+0051 set(b2(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Kickers ANS;'']); set_bump1;'</span>, <span class="string">'String'</span>,<span class="string">' Set kickers bump optim 1'</span>);
+0052 set(b2(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   Kickers ANS;'']); set_bump2;'</span>, <span class="string">'String'</span>,<span class="string">' Set kickers bump optim 2'</span>);
+0053 set(b2(4), <span class="string">'Callback'</span>,<span class="string">'disp([''   Kickers ANS;'']); set_bump3;'</span>, <span class="string">'String'</span>,<span class="string">' Set kickers bump optim 3'</span>);
+0054 set(b2(5), <span class="string">'Callback'</span>,<span class="string">'disp([''   Kickers ANS;'']); set_bump4;'</span>, <span class="string">'String'</span>,<span class="string">' Set kickers bump optim 4'</span>);
+0055 set(b2(6), <span class="string">'Callback'</span>,<span class="string">'disp([''   Kickers ANS;'']); set_bump5;'</span>, <span class="string">'String'</span>,<span class="string">' Set kickers bump optim 5'</span>);
+0056 
+0057 
+0058 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0059     <span class="string">'Callback'</span>,<span class="string">'close all'</span>, <span class="keyword">...</span>
+0060     <span class="string">'String'</span>,<span class="string">'Close All Figures'</span>, <span class="keyword">...</span>
+0061     <span class="string">'Position'</span>,[3 height-kmax*30 204 27], <span class="keyword">...</span>
+0062     <span class="string">'Userdata'</span>,[], <span class="keyword">...</span>
+0063     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0064     <span class="string">'Tag'</span>,<span class="string">'button2'</span>);
+0065 
+0066 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0067     <span class="string">'Callback'</span>,<span class="string">'diary off; close(get(findobj(gcbf,''Tag'',''button1''),''Userdata''));'</span>, <span class="keyword">...</span>
+0068     <span class="string">'Position'</span>,[3 + 210 height-kmax*30 204 27], <span class="keyword">...</span>
+0069     <span class="string">'String'</span>,<span class="string">'CLOSE'</span>, <span class="keyword">...</span>
+0070     <span class="string">'Userdata'</span>,a, <span class="keyword">...</span>
+0071     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0072     <span class="string">'Tag'</span>,<span class="string">'button1'</span>);
+0073</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/Synchronisationsetup_op.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/Synchronisationsetup_op.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/Synchronisationsetup_op.html	(revision 17)
@@ -0,0 +1,115 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of Synchronisationsetup_op</title>
+  <meta name="keywords" content="Synchronisationsetup_op">
+  <meta name="description" content="LT2SETUP - GUI for doing LT2 setup">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; Synchronisationsetup_op.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>Synchronisationsetup_op
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>LT2SETUP - GUI for doing LT2 setup</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function Synchronisationsetup_op </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">LT2SETUP - GUI for doing LT2 setup</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Synchronisationsetup_op</a>
+0002 <span class="comment">%LT2SETUP - GUI for doing LT2 setup</span>
+0003 
+0004 <span class="comment">%</span>
+0005 <span class="comment">% Written by Laurent S. Nadolski</span>
+0006 
+0007 
+0008 
+0009 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'Timingsetup'</span>); 
+0010 
+0011 <span class="keyword">if</span> ~isempty(orbfig), delete(orbfig); <span class="keyword">end</span>
+0012 orbfig = findobj(allchild(0),<span class="string">'tag'</span>,<span class="string">'Timingsetup'</span>); 
+0013 
+0014 
+0015 kmax = 6; <span class="comment">% button number</span>
+0016 
+0017 height = 10 + kmax*30 + 30; <span class="comment">%670;</span>
+0018 a = figure(<span class="string">'Color'</span>,[0.8 0.8 0.8], <span class="keyword">...</span>
+0019     <span class="string">'Interruptible'</span>, <span class="string">'on'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0020     <span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0021     <span class="string">'MenuBar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span>
+0022     <span class="string">'Name'</span>, <span class="string">'Timingsetup'</span>, <span class="keyword">...</span>
+0023     <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0024     <span class="string">'Units'</span>,<span class="string">'pixels'</span>, <span class="keyword">...</span>
+0025     <span class="string">'Position'</span>,[5 70 210*2 height], <span class="keyword">...</span>
+0026     <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span>
+0027     <span class="string">'Tag'</span>,<span class="string">'Timingsetup'</span>);
+0028 
+0029 height = height - 35;
+0030 
+0031 <span class="keyword">for</span> k = 1:kmax,
+0032     b1(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0033         <span class="string">'Position'</span>,[3 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0034         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0035         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0036 <span class="keyword">end</span>
+0037 
+0038 <span class="keyword">for</span> k = 1:kmax,
+0039     b2(k) = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0040         <span class="string">'Position'</span>,[3 + 210 height-(k-1)*30 204 27], <span class="keyword">...</span>
+0041         <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span>
+0042         <span class="string">'Tag'</span>,<span class="string">'button22'</span>);
+0043 <span class="keyword">end</span>
+0044 
+0045 set(b1(1), <span class="string">'Callback'</span>,<span class="string">'disp([''   Fichiers de Consignes;'']); save_boo;'</span>, <span class="string">'String'</span>,<span class="string">'Fichiers de Consignes'</span>);
+0046 set(b1(2), <span class="string">'Callback'</span>,<span class="string">'disp([''   Survey;'']); synchro_survey;'</span>, <span class="string">'String'</span>,<span class="string">'Synchro_survey'</span>);
+0047 set(b1(3), <span class="string">'Callback'</span>,<span class="string">'disp([''   Timing;'']); synchro_injecteur8_rafale;'</span>, <span class="string">'String'</span>,<span class="string">'Synchronisation'</span>);
+0048 set(b1(4), <span class="string">'Callback'</span>,<span class="string">'disp([''   Timing_test;'']); synchro_rafale_mode_tests;'</span>, <span class="string">'String'</span>,<span class="string">'Synchro_mode_test'</span>);
+0049 
+0050 set(b2(1), <span class="string">'Callback'</span>,<span class="string">'disp([''   Scale Kickers;'']); kicker_scaling;'</span>, <span class="string">'String'</span>,<span class="string">'ANS Kickers Scaling'</span>);
+0051 
+0052 
+0053 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0054     <span class="string">'Callback'</span>,<span class="string">'close all'</span>, <span class="keyword">...</span>
+0055     <span class="string">'String'</span>,<span class="string">'Close All Figures'</span>, <span class="keyword">...</span>
+0056     <span class="string">'Position'</span>,[3 height-kmax*30 204 27], <span class="keyword">...</span>
+0057     <span class="string">'Userdata'</span>,[], <span class="keyword">...</span>
+0058     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0059     <span class="string">'Tag'</span>,<span class="string">'button2'</span>);
+0060 
+0061 b = uicontrol(<span class="string">'Parent'</span>,a, <span class="keyword">...</span>
+0062     <span class="string">'Callback'</span>,<span class="string">'diary off; close(get(findobj(gcbf,''Tag'',''button1''),''Userdata''));'</span>, <span class="keyword">...</span>
+0063     <span class="string">'Position'</span>,[3 + 210 height-kmax*30 204 27], <span class="keyword">...</span>
+0064     <span class="string">'String'</span>,<span class="string">'CLOSE'</span>, <span class="keyword">...</span>
+0065     <span class="string">'Userdata'</span>,a, <span class="keyword">...</span>
+0066     <span class="string">'Interruptible'</span>, <span class="string">'off'</span>, <span class="keyword">...</span><span class="comment">   </span>
+0067     <span class="string">'Tag'</span>,<span class="string">'button1'</span>);
+0068</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/bucketnumber.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/bucketnumber.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/bucketnumber.html	(revision 17)
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of bucketnumber</title>
+  <meta name="keywords" content="bucketnumber">
+  <meta name="description" content="BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; bucketnumber.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>bucketnumber
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [n1 n2] = bucketnumber(num) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket
+number.
+
+  INPUTS
+  1. num - Bucket number
+
+  OUPUTS
+  1. n1 - number of step for extraction table
+  2. n2 - number of step for linac table
+
+  ALGORITHM
+ Table extraction n1 entier compris entre 0 et 51
+ Table Linac n2 entier compris entre 0 et 7
+ n1 = 0; n2 = 0; injection dans paquet 1 de l'anneau
+ n1 = 0; n2 = 1; injection dans paquet 2 de l'anneau</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="load_table.html" class="code" title="">load_table</a>	test load table synchro</li><li><a href="synchro_70ns.html" class="code" title="">synchro_70ns</a>	pulse linac de 70 ns = 24 bunchs</li><li><a href="synchro_injecteur3.html" class="code" title="function varargout = synchro_injecteur3(varargin)">synchro_injecteur3</a>	SYNCHRO_INJECTEUR3 M-file for synchro_injecteur3.fig</li><li><a href="synchro_injecteur4.html" class="code" title="function varargout = synchro_injecteur4(varargin)">synchro_injecteur4</a>	SYNCHRO_INJECTEUR4 M-file for synchro_injecteur4.fig</li><li><a href="synchro_injecteur5.html" class="code" title="function varargout = synchro_injecteur5(varargin)">synchro_injecteur5</a>	SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</li><li><a href="synchro_injecteur6.html" class="code" title="function varargout = synchro_injecteur6(varargin)">synchro_injecteur6</a>	SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</li><li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li><li><a href="synchro_table.html" class="code" title="">synchro_table</a>	tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');</li></ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function [u v] = bezout(a,b,c)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [n1 n2] = bucketnumber(num)</a>
+0002 <span class="comment">%BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</span>
+0003 <span class="comment">%number.</span>
+0004 <span class="comment">%</span>
+0005 <span class="comment">%  INPUTS</span>
+0006 <span class="comment">%  1. num - Bucket number</span>
+0007 <span class="comment">%</span>
+0008 <span class="comment">%  OUPUTS</span>
+0009 <span class="comment">%  1. n1 - number of step for extraction table</span>
+0010 <span class="comment">%  2. n2 - number of step for linac table</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%  ALGORITHM</span>
+0013 <span class="comment">% Table extraction n1 entier compris entre 0 et 51</span>
+0014 <span class="comment">% Table Linac n2 entier compris entre 0 et 7</span>
+0015 <span class="comment">% n1 = 0; n2 = 0; injection dans paquet 1 de l'anneau</span>
+0016 <span class="comment">% n1 = 0; n2 = 1; injection dans paquet 2 de l'anneau</span>
+0017 
+0018 <span class="comment">%</span>
+0019 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0020 
+0021 num = num - 1;
+0022 n2 = mod(num,8);
+0023 d = fix(num/8);
+0024 [u v] = <a href="#_sub1" class="code" title="subfunction [u v] = bezout(a,b,c)">bezout</a>(52,23,d);
+0025 n1 = v;
+0026 
+0027 <span class="comment">%fprintf('n1 = %d n2 = %d\n', n1, n2)</span>
+0028 <span class="comment">%fprintf('Injection dans paquet numero %d\n', mod(n1*184,416) + n2 + 1)</span>
+0029 
+0030 <span class="comment">%%%%</span>
+0031 
+0032 <a name="_sub1" href="#_subfunctions" class="code">function [u v] = bezout(a,b,c)</a>
+0033 <span class="comment">% Resolution de 52 u + 23 v = c</span>
+0034 <span class="comment">%        ou  encore 416 u + 184 v = 8*c</span>
+0035 <span class="comment">%        ou  encore de 184 v = 8*c modulo 416</span>
+0036 <span class="comment">%  Soit travail dans l'ensemble quotient Z/416Z</span>
+0037 
+0038 <span class="comment">% ALGORITHME de BEZOUT</span>
+0039 
+0040 a = 52;
+0041 b = 23;
+0042 
+0043 u = 1;
+0044 v = 0;
+0045 
+0046 s = 0;
+0047 t = c;
+0048 <span class="keyword">while</span> b &gt; 0 
+0049     q = fix(a/b);r = rem(a,b);
+0050     a = b; b = r;
+0051     tmp = s;
+0052     s = u - q * s;
+0053     u = tmp; tmp = t;
+0054     t = v - q * t;
+0055     v = tmp;
+0056 <span class="keyword">end</span>
+0057 u;
+0058 v = mod(v,52);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/burst_trigger.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/burst_trigger.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/burst_trigger.html	(revision 17)
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of burst_trigger</title>
+  <meta name="keywords" content="burst_trigger">
+  <meta name="description" content="SOTF_TRIGGER - Ask a trig on the timing system">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; burst_trigger.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>burst_trigger
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SOTF_TRIGGER - Ask a trig on the timing system</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function burst_trigger </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SOTF_TRIGGER - Ask a trig on the timing system</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function burst_trigger</a>
+0002 <span class="comment">% SOTF_TRIGGER - Ask a trig on the timing system</span>
+0003 
+0004 tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireBurstEvent'</span>); pause(1)</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/check_boo_synchro.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/check_boo_synchro.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/check_boo_synchro.html	(revision 17)
@@ -0,0 +1,78 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of check_boo_synchro</title>
+  <meta name="keywords" content="check_boo_synchro">
+  <meta name="description" content="Estime amplitude sur tune synchro">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; check_boo_synchro.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>check_boo_synchro
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>Estime amplitude sur tune synchro</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [flag]=check_boo_synchro </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> Estime amplitude sur tune synchro</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [flag]=check_boo_synchro</a>
+0002 <span class="comment">% Estime amplitude sur tune synchro</span>
+0003 ampmax=180; <span class="comment">% sur fft</span>
+0004 <span class="comment">%ampmax=3; % sur max x en mm</span>
+0005 
+0006 temp=tango_read_attribute2(<span class="string">'BOO-C03/DG/BPM.03'</span>,<span class="string">'XPosDD'</span>);
+0007 X = temp.value;
+0008 
+0009 istart   = 20;
+0010 nbpoints = 256;
+0011 iend     = istart + nbpoints-1;
+0012 Xval(1:nbpoints) = X(istart:iend);
+0013 
+0014 <span class="comment">% % fft</span>
+0015 Xfft     = fft(Xval,nbpoints);
+0016 PXfft    = Xfft.* conj(Xfft) / nbpoints;
+0017 PXfft([1 2 nbpoints]) = 0; <span class="comment">%% ???</span>
+0018 amp=max(PXfft(1:20));
+0019 ampf=amp;
+0020 
+0021 <span class="comment">% max X</span>
+0022 <span class="comment">% Xval=Xval-mean(Xval);</span>
+0023 <span class="comment">% amp=max(abs(Xval));</span>
+0024 
+0025 <span class="comment">%fprintf('%8.3f    %8.3f \n',ampf, amp)</span>
+0026 
+0027 <span class="keyword">if</span> amp&gt;ampmax
+0028     flag=1;
+0029 <span class="keyword">else</span>
+0030     flag=0;
+0031 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/display_synchro_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/display_synchro_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/display_synchro_rafale.html	(revision 17)
@@ -0,0 +1,67 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of display_synchro_rafale</title>
+  <meta name="keywords" content="display_synchro_rafale">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; display_synchro_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>display_synchro_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function display_synchro_rafale(file) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function display_synchro_rafale(file)</a>
+0002 
+0003 
+0004 Directory =  [getfamilydata(<span class="string">'Directory'</span>,<span class="string">'DataRoot'</span>) <span class="string">'Datatemp'</span>]
+0005 pwdold = pwd;
+0006 cd(Directory);
+0007 load(file)
+0008 cd(pwdold);
+0009 
+0010 timing.ans_bpm01(1)
+0011 timing.ans_k_v(1)
+0012     
+0013     timing.ans_k_v(1)-timing.ans_bpm01(1)
+0014 
+0015 
+0016     
+0017     
+0018 display(<span class="string">'OK'</span>)
+0019 
+0020</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/do_update.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/do_update.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/do_update.html	(revision 17)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of do_update</title>
+  <meta name="keywords" content="do_update">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; do_update.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>do_update
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function do_update </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>	retour update</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li><li><a href="synchro_survey.html" class="code" title="function varargout = synchro_survey(varargin)">synchro_survey</a>	SYNCHRO_SURVEY M-file for synchro_survey.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function do_update</a>
+0002 
+0003 fprintf(<span class="string">'*****Update des 16 cartes locales******\n'</span>)
+0004 
+0005 r=tango_command_inout2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,<span class="string">'Update'</span>);  <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,r);
+0006 r=tango_command_inout2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>,<span class="string">'Update'</span>);  <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LT1/SY/LOCAL.DG.1'</span>,r);
+0007 r=tango_command_inout2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,<span class="string">'Update'</span>);  <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,r);
+0008 
+0009 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,<span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,r);
+0010 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,<span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,r);
+0011 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.3'</span>,r);
+0012 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,<span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,r);
+0013 
+0014 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,r);
+0015 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,r);
+0016 r=tango_command_inout2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>,r);
+0017 r=tango_command_inout2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>,r);
+0018 r=tango_command_inout2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>,r);
+0019 r=tango_command_inout2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>,r);
+0020 r=tango_command_inout2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>,r);
+0021 r=tango_command_inout2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>,r);
+0022 r=tango_command_inout2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>,r);
+0023 r=tango_command_inout2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>,r);
+0024 
+0025 fprintf(<span class="string">'**************************************\n'</span>)</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/fire_injection.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/fire_injection.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/fire_injection.html	(revision 17)
@@ -0,0 +1,201 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of fire_injection</title>
+  <meta name="keywords" content="fire_injection">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; fire_injection.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>fire_injection
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [r1,r2]=fire_injection(handles) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="get_start_clk_rafale.html" class="code" title="function [clk1,clk2]=get_start_clk_rafale">get_start_clk_rafale</a>	</li><li><a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>	calcul efficacitÃ©</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [r1,r2]=fire_injection(handles)</a>
+0002 
+0003 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'inactive'</span>);
+0004 
+0005 offset_linac=10*str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));     <span class="comment">% dÃÂ©lai fin de rÃÂ©glage en pas de 100 ps</span>
+0006 <span class="comment">%modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');           % mode soft ou 3Hz</span>
+0007 modeinj=<span class="string">'togglebutton_3Hz'</span>;
+0008 modecent=get(get(handles.uipanel_central_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);  <span class="comment">% mode rafale ou continu (cas 3Hz)</span>
+0009 modefill=get(handles.listbox_fillingmode,<span class="string">'Value'</span>);
+0010 pattern= get(handles.listbox_fillingmode,<span class="string">'String'</span>);                      <span class="comment">% mode de remplissage</span>
+0011 [clk1,clk2]=<a href="get_start_clk_rafale.html" class="code" title="function [clk1,clk2]=get_start_clk_rafale">get_start_clk_rafale</a>;                                        <span class="comment">% get clk spare et soft initiaux</span>
+0012 table=handles.table;                                                     <span class="comment">% table de dÃÂ©lais</span>
+0013 
+0014 
+0015 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'table.mat');</span>
+0016 FileName = [handles.DirName <span class="string">'table.mat'</span>];
+0017 load(FileName, <span class="string">'table'</span>);     <span class="comment">% pour palier aux handles via timer non mis ÃÂ  jour !!!!!!</span>
+0018 nb=table(1) ;                <span class="comment">% Nombre de paq</span>
+0019 dtour=table(2:1+nb);         <span class="comment">% delais associÃÂ©s extraction, tour booster</span>
+0020 paq  =table(2+nb:1+2*nb);    <span class="comment">% delais associÃÂ©s linac, saut de paquets</span>
+0021 
+0022 
+0023 dt=1.5; <span class="comment">% dÃÂ©lais pour acquisitions rendements</span>
+0024 
+0025 <span class="comment">%Initialise data pour les rendements</span>
+0026 <span class="keyword">try</span>
+0027     q1=0;q2=0;n=0;
+0028     temp=tango_read_attribute2(<span class="string">'ANS/DG/DCCT-CTRL'</span>,<span class="string">'current'</span>);anscur0=temp.value;
+0029     <span class="comment">%temp=tango_read_attribute2('ANS-C14/DG/DCCT','current');anscur0=temp.value;</span>
+0030 <span class="keyword">catch</span>
+0031     disp(<span class="string">'Erreur lecture DCCT, skipped'</span>)
+0032     anscur0=0;
+0033 <span class="keyword">end</span>
+0034 
+0035 boucle=int16(str2double(get(handles.edit_Ncycle,<span class="string">'String'</span>)));
+0036 Ncoup=str2double(get(handles.edit_Ncoup,<span class="string">'String'</span>));
+0037 
+0038 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)
+0039     modeinj=<span class="string">'Injection soft'</span>;
+0040     <span class="keyword">for</span> k=1:boucle
+0041         <span class="keyword">for</span> i=1:nb
+0042             clk_spare  =int32(clk1+dtour(i));
+0043             clk_soft=int32(clk2+dtour(i));
+0044             table0=int32([1 0 paq(i)]);
+0045             tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table0); pause(0.2)  ;
+0046             tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprStepDelay'</span>,clk_spare);
+0047             tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk_soft);
+0048             tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+0049             pause(dt)
+0050             [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+0051         <span class="keyword">end</span>
+0052     <span class="keyword">end</span>
+0053 
+0054     <span class="comment">% retour dÃÂ©lais initiaux</span>
+0055     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprStepDelay'</span>,clk1);
+0056     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+0057 
+0058 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+0059 
+0060     <span class="keyword">if</span> strcmp(modecent,<span class="string">'continuous_mode'</span>)
+0061 
+0062         <span class="comment">%             modelinac=get(get(handles.uipanel_lpm_spm_mode,'SelectedObject'),'Tag');</span>
+0063         <span class="comment">%             switch modelinac  % Get Tag of selected object</span>
+0064         <span class="comment">%                 case 'no_mode'</span>
+0065         <span class="comment">%                     event=[0 0];</span>
+0066         <span class="comment">%                 case 'lpm_mode'</span>
+0067         <span class="comment">%                     event=[2 0];</span>
+0068         <span class="comment">%                 case 'spm_mode'</span>
+0069         <span class="comment">%                     event=[0 2];</span>
+0070         <span class="comment">%             end</span>
+0071         <span class="comment">%</span>
+0072         <span class="comment">%             modeinj='Injection 3 Hz';</span>
+0073         <span class="comment">%             start_3Hz(event)</span>
+0074         <span class="comment">%             pause(Ncoup*0.340 + 0.340)</span>
+0075         <span class="comment">%             stop_3Hz</span>
+0076 
+0077     <span class="keyword">elseif</span> strcmp(modecent,<span class="string">'burst_mode'</span>)
+0078 
+0079         modeinj=<span class="string">'Injection rafale'</span>;
+0080         tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireBurstEvent'</span>);
+0081         dtt=Ncoup*boucle*0.340 + 5;
+0082         pause(dtt) <span class="comment">% durÃ©e rafale + pause lecture DCCT</span>
+0083         [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+0084     <span class="keyword">end</span>
+0085 <span class="keyword">end</span>
+0086 
+0087 <span class="comment">% Calcul des rendements</span>
+0088 <span class="comment">%pause(dt);</span>
+0089 <span class="keyword">try</span>
+0090     temp=tango_read_attribute2(<span class="string">'ANS/DG/DCCT-CTRL'</span>,<span class="string">'current'</span>);anscur=temp.value;
+0091     <span class="comment">%temp=tango_read_attribute2('ANS-C14/DG/DCCT','current');anscur=temp.value;</span>
+0092 <span class="keyword">catch</span>
+0093     disp(<span class="string">'Erreur lecture DCCT, skipped'</span>)
+0094     anscur=0;
+0095 <span class="keyword">end</span>
+0096 <span class="comment">%modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');</span>
+0097 modinj=<span class="string">'togglebutton_3Hz'</span>;
+0098 dcur=anscur-anscur0;
+0099 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)
+0100     <span class="comment">% moyenne sur chaque tirs</span>
+0101     r1=0;<span class="keyword">if</span> (q1~=0);r1=q2/q1*100;<span class="keyword">end</span>
+0102     r2=0;<span class="keyword">if</span> (q2~=0);r2=dcur/q2*0.524*416/184*100;<span class="keyword">end</span>
+0103     <span class="keyword">if</span>(r1&lt;0);r1=0;<span class="keyword">elseif</span>(r1&gt;100);r1=100;<span class="keyword">end</span>
+0104     <span class="keyword">if</span>(r2&lt;0);r2=0;<span class="keyword">elseif</span>(r2&gt;100);r2=100;<span class="keyword">end</span>
+0105     q1=q1/n;q2=q2/n;dcur=dcur/n;
+0106 <span class="keyword">else</span>
+0107     <span class="comment">% estime sur dernier tir</span>
+0108     r1=0;<span class="keyword">if</span> (q1~=0);r1=q2/q1*100;<span class="keyword">end</span>
+0109     r2=0;<span class="keyword">if</span> (q2~=0);r2=dcur/Ncoup/double(boucle)/q2*0.524*416/184*100;<span class="keyword">end</span>
+0110     <span class="keyword">if</span>(r1&lt;0);r1=0;<span class="keyword">elseif</span>(r1&gt;100);r1=100;<span class="keyword">end</span>
+0111     <span class="keyword">if</span>(r2&lt;0);r2=0;<span class="keyword">elseif</span>(r2&gt;100);r2=100;<span class="keyword">end</span>
+0112     q1=q1/n;q2=q2/n;dcur=dcur/n;
+0113 <span class="keyword">end</span>
+0114 
+0115 set(handles.edit_qlt1,<span class="string">'String'</span>,num2str(q1,<span class="string">'%5.2f'</span>));
+0116 set(handles.edit_iboo,<span class="string">'String'</span>,num2str(q2/0.524,<span class="string">'%5.2f'</span>));
+0117 set(handles.edit_dians,<span class="string">'String'</span>,num2str(dcur,<span class="string">'%5.2f'</span>));
+0118 set(handles.edit_rboo,<span class="string">'String'</span>,num2str(int16(r1)));
+0119 set(handles.edit_rans,<span class="string">'String'</span>,num2str(int16(r2)));
+0120 set(handles.edit_cycle,<span class="string">'String'</span>,num2str(n,<span class="string">'%g'</span>));
+0121 set(handles.edit_dians1,<span class="string">'String'</span>,num2str(dcur,<span class="string">'%5.2f'</span>));
+0122 set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+0123 
+0124 <span class="keyword">try</span>
+0125     temp=tango_read_attribute2(<span class="string">'ANS/DG/BPM-tunex'</span>,<span class="string">'Nu'</span>); nux=temp.value;
+0126     temp=tango_read_attribute2(<span class="string">'ANS/DG/BPM-tunez'</span>,<span class="string">'Nu'</span>); nuz=temp.value;
+0127     temp=tango_read_attribute2(<span class="string">'ANS-C03/RF/lle.1'</span>,<span class="string">'voltageRF'</span>);v1=temp.value(1);
+0128     temp=tango_read_attribute2(<span class="string">'ANS-C03/RF/lle.2'</span>,<span class="string">'voltageRF'</span>);v2=temp.value(1);
+0129     temp=tango_read_attribute2(<span class="string">'ANS-C02/RF/lle.3'</span>,<span class="string">'voltageRF'</span>);v3=temp.value(1);
+0130     temp=tango_read_attribute2(<span class="string">'ANS-C02/RF/lle.4'</span>,<span class="string">'voltageRF'</span>);v4=temp.value(1);
+0131     vrf=(v1+v2+v3+v4)/1000;
+0132 <span class="keyword">catch</span>
+0133     disp(<span class="string">'Erreur lecture tunes voltage : skipped'</span>)
+0134     nux = NaN;
+0135     nuz = NaN;
+0136     vrf = NaN;
+0137 <span class="keyword">end</span>
+0138 
+0139 <span class="comment">% renseigne les rendements</span>
+0140 <span class="keyword">try</span>
+0141     tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>, <span class="string">'rendement_BOO'</span>,r1)
+0142     tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>, <span class="string">'rendement_ANS'</span>,r2)
+0143 <span class="keyword">catch</span>
+0144 
+0145 <span class="keyword">end</span>
+0146 
+0147 txt=modeinj;
+0148 txt(1:13)=<span class="string">''</span>;
+0149 fprintf(<span class="string">'%s  /  %s  %d Coups  %s  /  R=%5.2f %5.2f   I=%5.3f A  /  Tunes=%5.3f %5.3f  Vrf=%5.2f MV\n'</span>,<span class="keyword">...</span>
+0150     datestr(clock),txt,Ncoup*boucle,pattern{modefill},r1,r2,anscur, nux,nuz,vrf);
+0151 
+0152 
+0153 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>);
+0154</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/fix_quart.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/fix_quart.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/fix_quart.html	(revision 17)
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of fix_quart</title>
+  <meta name="keywords" content="fix_quart">
+  <meta name="description" content="fix premier quart">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; fix_quart.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>fix_quart
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>fix premier quart</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [clk_pc,clk_soft]=fix_quart </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> fix premier quart</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur5.html" class="code" title="function varargout = synchro_injecteur5(varargin)">synchro_injecteur5</a>	SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</li><li><a href="synchro_injecteur6.html" class="code" title="function varargout = synchro_injecteur6(varargin)">synchro_injecteur6</a>	SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</li><li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% fix premier quart</span>
+0002 
+0003 <a name="_sub0" href="#_subfunctions" class="code">function [clk_pc,clk_soft]=fix_quart</a>
+0004 
+0005 
+0006 n=1;
+0007 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);
+0008 clk1=temp.value(n);
+0009 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0010 clk2=temp.value(n);
+0011 
+0012 jump=int32([0 39 26 13]);
+0013 clk_pc  =jump +  int32(clk1);
+0014 clk_soft=jump  + int32(clk2);
+0015</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_list_carte_synchro.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_list_carte_synchro.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_list_carte_synchro.html	(revision 17)
@@ -0,0 +1,85 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_list_carte_synchro</title>
+  <meta name="keywords" content="get_list_carte_synchro">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_list_carte_synchro.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_list_carte_synchro
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [list_carte_synchro]=get_list_carte_synchro </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="get_synchro_attribut.html" class="code" title="function [timing]=get_synchro_attribut">get_synchro_attribut</a>	make a timing structure</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [list_carte_synchro]=get_list_carte_synchro</a>
+0002 
+0003 
+0004 list_carte_synchro{2}=<span class="string">'LIN/SY/LOCAL.LPM.1'</span>;
+0005 list_carte_synchro{1}=<span class="string">'LIN/SY/LOCAL.SPM.1'</span>;
+0006 list_carte_synchro{3}=<span class="string">'LT1/SY/LOCAL.DG.1'</span>;
+0007 list_carte_synchro{4}=<span class="string">'BOO/SY/LOCAL.Binj.1'</span>;
+0008 list_carte_synchro{5}=<span class="string">'BOO/SY/LOCAL.Bext.1'</span>;
+0009 list_carte_synchro{6}=<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>;
+0010 list_carte_synchro{7}=<span class="string">'BOO/SY/LOCAL.RF.1'</span>;
+0011 list_carte_synchro{8}=<span class="string">'BOO/SY/LOCAL.DG.1'</span>;
+0012 list_carte_synchro{9}=<span class="string">'BOO/SY/LOCAL.DG.2'</span>;
+0013 list_carte_synchro{10}=<span class="string">'BOO/SY/LOCAL.DG.3'</span>;
+0014 list_carte_synchro{11}=<span class="string">'LT2/SY/LOCAL.DG.2'</span>;
+0015 list_carte_synchro{12}=<span class="string">'LT2/SY/LOCAL.DG.1'</span>;
+0016 list_carte_synchro{13}=<span class="string">'ANS/SY/LOCAL.SDC.1'</span>;
+0017 list_carte_synchro{14}=<span class="string">'ANS-C01/SY/LOCAL.DG.1'</span>;
+0018 list_carte_synchro{15}=<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>;
+0019 list_carte_synchro{16}=<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>;
+0020 list_carte_synchro{17}=<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>;
+0021 list_carte_synchro{18}=<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>;
+0022 list_carte_synchro{19}=<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>;
+0023 list_carte_synchro{20}=<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>;
+0024 list_carte_synchro{21}=<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>;
+0025 list_carte_synchro{22}=<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>;
+0026 list_carte_synchro{23}=<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>;
+0027 list_carte_synchro{24}=<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>;
+0028 list_carte_synchro{25}=<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>;
+0029 list_carte_synchro{26}=<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>;
+0030 list_carte_synchro{27}=<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>;
+0031 list_carte_synchro{28}=<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>;
+0032 list_carte_synchro{29}=<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>;
+0033 list_carte_synchro{30}=<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>;
+0034 list_carte_synchro{31}=<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>;
+0035 list_carte_synchro{32}=<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>;
+0036 list_carte_synchro{33}=<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>;
+0037 
+0038 <span class="keyword">return</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_start_clk.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_start_clk.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_start_clk.html	(revision 17)
@@ -0,0 +1,59 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_start_clk</title>
+  <meta name="keywords" content="get_start_clk">
+  <meta name="description" content="fix premier quart">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_start_clk.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_start_clk
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>fix premier quart</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [clk1,clk2]=get_start_clk </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> fix premier quart</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% fix premier quart</span>
+0002 
+0003 <a name="_sub0" href="#_subfunctions" class="code">function [clk1,clk2]=get_start_clk</a>
+0004 
+0005 
+0006 n=1;
+0007 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);
+0008 clk1=temp.value(n);
+0009 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0010 clk2=temp.value(n);
+0011 
+0012 
+0013</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_start_clk_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_start_clk_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_start_clk_rafale.html	(revision 17)
@@ -0,0 +1,58 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_start_clk_rafale</title>
+  <meta name="keywords" content="get_start_clk_rafale">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_start_clk_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_start_clk_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [clk1,clk2]=get_start_clk_rafale </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="fire_injection.html" class="code" title="function [r1,r2]=fire_injection(handles)">fire_injection</a>	</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [clk1,clk2]=get_start_clk_rafale</a>
+0002 
+0003 
+0004 n=1;
+0005 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprStepDelay'</span>);
+0006 clk1=temp.value(n);
+0007 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0008 clk2=temp.value(n);
+0009 
+0010 
+0011</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro.html	(revision 17)
@@ -0,0 +1,273 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_synchro</title>
+  <meta name="keywords" content="get_synchro">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_synchro.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_synchro
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [timing]=get_synchro </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [timing]=get_synchro</a>
+0002 
+0003 n=1;
+0004 <span class="comment">% central</span>
+0005 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0006 timing.central_pc=temp.value(n);
+0007 
+0008 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0009 timing.central_inj=temp.value(n);
+0010 
+0011 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0012 timing.central_soft=temp.value(n);
+0013 
+0014 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0015 timing.central_ext=temp.value(n);
+0016 
+0017 
+0018 <span class="comment">% Linac</span>
+0019 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0020 temp1=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+0021 timing.sdc1=[temp.value(n) double(temp1.value(n))];
+0022 
+0023 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0024 temp1=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0025 timing.lin_lpm=[temp.value(n) double(temp1.value(n))];
+0026 
+0027 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>);
+0028 temp1=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+0029 timing.lin_spm=[temp.value(n) double(temp1.value(n))];
+0030 
+0031 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0032 temp1=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+0033 timing.lin_modulateur=[temp.value(n) double(temp1.value(n))];
+0034 
+0035 
+0036 <span class="comment">% LT1</span>
+0037 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0038 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+0039 timing.lt1_emittance=[temp.value(n) double(temp1.value(n))];
+0040 
+0041 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0042 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+0043 timing.lt1_mc1=[temp.value(n) double(temp1.value(n))];
+0044 
+0045 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0046 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+0047 timing.lt1_mc2=[temp.value(n) double(temp1.value(n))];
+0048 
+0049 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0050 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+0051 timing.lt1_osc=[temp.value(n) double(temp1.value(n))];
+0052 
+0053 
+0054 
+0055 <span class="comment">% Boo</span>
+0056 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0057 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+0058 timing.boo_dcct=[temp.value(n) double(temp1.value(n))];
+0059 
+0060 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0061 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0062 timing.boo_sep_p_inj=[temp.value(n) double(temp1.value(n))];
+0063 
+0064 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0065 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+0066 timing.boo_k_inj=[temp.value(n) double(temp1.value(n))];
+0067 
+0068 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0069 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+0070 timing.boo_bpm=[temp.value(n) double(temp1.value(n))];
+0071 
+0072 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0073 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+0074 timing.boo_nod=[temp.value(n) double(temp1.value(n))];
+0075 
+0076 
+0077 <span class="comment">% alim</span>
+0078 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0079 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+0080 timing.boo_dp=[temp.value(n) double(temp1.value(n))];
+0081 
+0082 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0083 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+0084 timing.boo_qf=[temp.value(n) double(temp1.value(n))];
+0085 
+0086 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0087 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+0088 timing.boo_qd=[temp.value(n) double(temp1.value(n))];
+0089 
+0090 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0091 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+0092 timing.boo_sf=[temp.value(n) double(temp1.value(n))];
+0093 
+0094 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0095 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+0096 timing.boo_sd=[temp.value(n) double(temp1.value(n))];
+0097 
+0098 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0099 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+0100 timing.boo_rf=[temp.value(n) double(temp1.value(n))];
+0101 
+0102 
+0103 
+0104 
+0105 
+0106 <span class="comment">% ext</span>
+0107 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0108 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+0109 timing.boo_dof_ext=[temp.value(n) double(temp1.value(n))];
+0110 
+0111 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0112 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0113 timing.boo_sep_p_ext=[temp.value(n) double(temp1.value(n))];
+0114 
+0115 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0116 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+0117 timing.boo_sep_a_ext=[temp.value(n) double(temp1.value(n))];
+0118 
+0119 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0120 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+0121 timing.boo_k_ext=[temp.value(n) double(temp1.value(n))];
+0122 
+0123 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0124 temp1=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+0125 timing.sdc2=[temp.value(n) double(temp1.value(n))];
+0126 
+0127 
+0128 <span class="comment">% LT2</span>
+0129 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+0130 temp1=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>);
+0131 timing.lt2_emittance=[temp.value(n) double(temp1.value(n))];
+0132 
+0133 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+0134 temp1=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>);
+0135 timing.lt2_osc=[temp.value(n) double(temp1.value(n))];
+0136 
+0137 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0138 temp1=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+0139 timing.lt2_bpm=[temp.value(n) double(temp1.value(n))];
+0140 
+0141 
+0142 <span class="comment">% ANS</span>
+0143 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0144 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+0145 timing.ans_k1_inj=[temp.value(n) double(temp1.value(n))];
+0146 
+0147 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0148 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+0149 timing.ans_k2_inj=[temp.value(n) double(temp1.value(n))];
+0150 
+0151 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0152 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+0153 timing.ans_k3_inj=[temp.value(n) double(temp1.value(n))];
+0154 
+0155 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0156 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+0157 timing.ans_k4_inj=[temp.value(n) double(temp1.value(n))];
+0158 
+0159 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0160 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0161 timing.ans_sep_p_inj=[temp.value(n) double(temp1.value(n))];
+0162 
+0163 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0164 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+0165 timing.ans_sep_a_inj=[temp.value(n) double(temp1.value(n))];
+0166 
+0167 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0168 temp1=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+0169 timing.ans_dcct=[temp.value(n) double(temp1.value(n))];
+0170 
+0171 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0172 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+0173 timing.ans_bpm=[temp.value(n) double(temp1.value(n))];
+0174 timing.ans_bpm01=[temp.value(n) double(temp1.value(n))];
+0175 
+0176 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0177 temp1=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0178 timing.ans_bpm02=[temp.value(n) double(temp1.value(n))];
+0179 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0180 temp1=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0181 timing.ans_bpm03=[temp.value(n) double(temp1.value(n))];
+0182 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0183 temp1=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0184 timing.ans_bpm04=[temp.value(n) double(temp1.value(n))];
+0185 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0186 temp1=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0187 timing.ans_bpm05=[temp.value(n) double(temp1.value(n))];
+0188 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0189 temp1=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0190 timing.ans_bpm06=[temp.value(n) double(temp1.value(n))];
+0191 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0192 temp1=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0193 timing.ans_bpm07=[temp.value(n) double(temp1.value(n))];
+0194 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0195 temp1=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0196 timing.ans_bpm08=[temp.value(n) double(temp1.value(n))];
+0197 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0198 temp1=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0199 timing.ans_bpm09=[temp.value(n) double(temp1.value(n))];
+0200 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0201 temp1=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0202 timing.ans_bpm10=[temp.value(n) double(temp1.value(n))];
+0203 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0204 temp1=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0205 timing.ans_bpm11=[temp.value(n) double(temp1.value(n))];
+0206 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0207 temp1=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0208 timing.ans_bpm12=[temp.value(n) double(temp1.value(n))];
+0209 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0210 temp1=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0211 timing.ans_bpm13=[temp.value(n) double(temp1.value(n))];
+0212 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0213 temp1=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0214 timing.ans_bpm14=[temp.value(n) double(temp1.value(n))];
+0215 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0216 temp1=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0217 timing.ans_bpm15=[temp.value(n) double(temp1.value(n))];
+0218 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0219 temp1=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0220 timing.ans_bpm16=[temp.value(n) double(temp1.value(n))];
+0221 
+0222 
+0223 
+0224 
+0225 
+0226 
+0227</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_address.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_address.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_address.html	(revision 17)
@@ -0,0 +1,219 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_synchro_address</title>
+  <meta name="keywords" content="get_synchro_address">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_synchro_address.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_synchro_address
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function get_synchro_address(handles) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function get_synchro_address(handles)</a>
+0002 bug_device=<span class="string">'Bug device'</span>;
+0003 n=1;
+0004 
+0005 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+0006 set(handles.central_spare,<span class="string">'String'</span>,num2str(temp.value(n)));
+0007 
+0008 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0009 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+0010 
+0011 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0012 <span class="comment">%set(handles.central_soft,'String',num2str(temp.value(n)));</span>
+0013 
+0014 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0015 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+0016 
+0017 
+0018 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+0019 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0020 
+0021 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0022 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0023 
+0024 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+0025 set(handles.lin_canon_spm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0026 <span class="comment">%set(handles.lin_canon_spm_fin,'String','Off Set table');</span>
+0027 
+0028 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+0029 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0030 
+0031 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+0032 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0033 
+0034 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+0035 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0036 
+0037 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+0038 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0039 
+0040 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+0041 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0042 
+0043 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+0044 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0045 
+0046 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+0047 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0048 
+0049 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0050 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0051 
+0052 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+0053 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0054 
+0055 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+0056 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0057 
+0058 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+0059 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0060 
+0061 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+0062 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0063 
+0064 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+0065 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0066 
+0067 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+0068 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0069 
+0070 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+0071 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0072 
+0073 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+0074 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0075 
+0076 
+0077 
+0078 
+0079 
+0080 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+0081 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0082 
+0083 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0084 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0085 
+0086 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+0087 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0088 
+0089 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+0090 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0091 
+0092 
+0093 
+0094 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+0095 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0096 
+0097 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>);
+0098 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0099 
+0100 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>);
+0101 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0102 
+0103 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+0104 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0105 
+0106 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+0107 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0108 
+0109 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+0110 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0111 
+0112 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+0113 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0114 
+0115 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+0116 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0117 
+0118 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0119 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0120 
+0121 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+0122 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0123 
+0124 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+0125 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0126 
+0127 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+0128 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0129 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+0130 
+0131 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0132 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+0133 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0134 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+0135 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0136 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+0137 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0138 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+0139 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0140 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+0141 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0142 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+0143 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0144 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+0145 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0146 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+0147 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0148 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+0149 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0150 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+0151 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0152 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+0153 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0154 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+0155 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0156 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+0157 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0158 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+0159 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0160 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+0161 
+0162 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigEvent'</span>);
+0163 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=<span class="string">'bug_device'</span> ; <span class="keyword">end</span>
+0164 set(handles.ans_k_h,<span class="string">'String'</span>,txt);
+0165 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigEvent'</span>);
+0166 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=<span class="string">'bug_device'</span> ; <span class="keyword">end</span>
+0167 set(handles.ans_k_v,<span class="string">'String'</span>,txt);
+0168 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcEvent'</span>);
+0169 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=<span class="string">'bug_device'</span> ; <span class="keyword">end</span>
+0170 set(handles.ans_k_pc,<span class="string">'String'</span>,txt);
+0171 
+0172 <span class="keyword">return</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_attribut.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_attribut.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_attribut.html	(revision 17)
@@ -0,0 +1,81 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_synchro_attribut</title>
+  <meta name="keywords" content="get_synchro_attribut">
+  <meta name="description" content="make a timing structure">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_synchro_attribut.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_synchro_attribut
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>make a timing structure</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [timing]=get_synchro_attribut </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> make a timing structure 
+ timing.name
+ timing.list (table de 4 attributs par n delais)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="get_list_carte_synchro.html" class="code" title="function [list_carte_synchro]=get_list_carte_synchro">get_list_carte_synchro</a>	</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="get_synchro_value.html" class="code" title="function [timing]=get_synchro_value">get_synchro_value</a>	complet timing structure with value</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [timing]=get_synchro_attribut</a>
+0002 <span class="comment">% make a timing structure</span>
+0003 <span class="comment">% timing.name</span>
+0004 <span class="comment">% timing.list (table de 4 attributs par n delais)</span>
+0005 
+0006 n1=21 ; <span class="comment">% skip n1 first  attribut not relevant</span>
+0007 n2=2  ; <span class="comment">% skip last n2 attribut not relevant</span>
+0008 
+0009 <span class="comment">% get liste des cartestiming(i).name=name;</span>
+0010 [list_carte_synchro]=<a href="get_list_carte_synchro.html" class="code" title="function [list_carte_synchro]=get_list_carte_synchro">get_list_carte_synchro</a>;
+0011 nc=length(list_carte_synchro);
+0012 
+0013 timing=[];
+0014 <span class="keyword">for</span> k=2:nc
+0015     
+0016     name=list_carte_synchro{k};
+0017     list_at=tango_get_attribute_list(name);
+0018     n=length(list_at)-n2;list_at=list_at(n1:n);
+0019     <span class="comment">%fprintf('%s\n',name)</span>
+0020     list=[];
+0021     <span class="keyword">for</span> i=1:4:length(list_at)
+0022         <span class="comment">%fprintf('   %s  %s   %s  %s\n',list_at{i:i+3})</span>
+0023         list=[list ; [list_at(i:i+3)]];
+0024     <span class="keyword">end</span>
+0025     
+0026     <span class="comment">% make stucture</span>
+0027     timing(k).name=name;
+0028     timing(k).list=list;
+0029     
+0030 <span class="keyword">end</span>
+0031 
+0032 <span class="keyword">return</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_delay.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_delay.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_delay.html	(revision 17)
@@ -0,0 +1,274 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_synchro_delay</title>
+  <meta name="keywords" content="get_synchro_delay">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_synchro_delay.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_synchro_delay
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function get_synchro_delay(handles) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function get_synchro_delay(handles)</a>
+0002 bug_device=<span class="string">'Bug device'</span>;
+0003 n=1;
+0004 
+0005 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+0006 set(handles.central_spare,<span class="string">'String'</span>,num2str(temp.value(n)));
+0007 
+0008 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0009 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+0010 
+0011 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0012 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+0013 <span class="comment">%set(handles.central_soft1,'String',num2str(temp.value(n)));</span>
+0014 
+0015 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0016 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+0017 
+0018 
+0019 
+0020 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0021 
+0022 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0023 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0024 set(handles.sdc1,<span class="string">'String'</span>,txt);
+0025 
+0026 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0027 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0028 set(handles.lin_modulateur,<span class="string">'String'</span>,txt);
+0029 
+0030 
+0031 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0032 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0033 set(handles.lin_canon_lpm,<span class="string">'String'</span>,txt);
+0034 
+0035 
+0036 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>);
+0037 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0038 set(handles.lin_canon_spm,<span class="string">'String'</span>,txt);
+0039 
+0040 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0041 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0042 set(handles.boo_bpm,<span class="string">'String'</span>,txt);
+0043 
+0044 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0045 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0046 set(handles.lt1_emittance,<span class="string">'String'</span>,txt);
+0047 
+0048 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0049 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0050 set(handles.lt1_MC1,<span class="string">'String'</span>,txt);
+0051 
+0052 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0053 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0054 set(handles.lt1_MC2,<span class="string">'String'</span>,txt);
+0055 
+0056 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0057 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0058 set(handles.lt1_osc,<span class="string">'String'</span>,txt);
+0059 
+0060 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0061 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0062 set(handles.boo_dcct,<span class="string">'String'</span>,txt);
+0063 
+0064 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0065 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0066 set(handles.boo_nod,<span class="string">'String'</span>,txt);
+0067 
+0068 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0069 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0070 set(handles.boo_inj_septum,<span class="string">'String'</span>,txt);
+0071 
+0072 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0073 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-inj_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0074 set(handles.boo_inj_kicker,<span class="string">'String'</span>,txt);
+0075 
+0076 
+0077 
+0078 
+0079 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0080 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0081 set(handles.boo_alim_dipole,<span class="string">'String'</span>,txt);
+0082 
+0083 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0084 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0085 set(handles.boo_alim_qf,<span class="string">'String'</span>,txt);
+0086 
+0087 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0088 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0089 set(handles.boo_alim_qd,<span class="string">'String'</span>,txt);
+0090 
+0091 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0092 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0093 set(handles.boo_alim_sf,<span class="string">'String'</span>,txt);
+0094 
+0095 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0096 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0097 set(handles.boo_alim_sd,<span class="string">'String'</span>,txt);
+0098 
+0099 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0100 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0101 set(handles.boo_rf,<span class="string">'String'</span>,txt);
+0102 
+0103 
+0104 
+0105 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+0106 
+0107 
+0108 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0109 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0110 set(handles.boo_ext_dof,<span class="string">'String'</span>,txt);
+0111 
+0112 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0113 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0114 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,txt);
+0115 
+0116 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0117 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0118 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,txt);
+0119 
+0120 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0121 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0122 set(handles.boo_ext_kicker,<span class="string">'String'</span>,txt);
+0123 
+0124 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0125 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0126 set(handles.sdc2,<span class="string">'String'</span>,txt);
+0127 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0128 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+0129 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0130 set(handles.lt2_emittance,<span class="string">'String'</span>,txt);
+0131 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0132 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+0133 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0134 set(handles.lt2_osc,<span class="string">'String'</span>,txt);
+0135 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0136 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0137 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0138 set(handles.lt2_bpm,<span class="string">'String'</span>,txt);
+0139 
+0140 
+0141 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0142 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0143 set(handles.ans_inj_k1,<span class="string">'String'</span>,txt);
+0144 
+0145 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0146 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0147 set(handles.ans_inj_k2,<span class="string">'String'</span>,txt);
+0148 
+0149 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0150 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0151 set(handles.ans_inj_k3,<span class="string">'String'</span>,txt);
+0152 
+0153 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0154 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0155 set(handles.ans_inj_k4,<span class="string">'String'</span>,txt);
+0156 
+0157 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0158 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0159 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,txt);
+0160 
+0161 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0162 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0163 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,txt);
+0164 
+0165 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0166 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0167 set(handles.ans_dcct,<span class="string">'String'</span>,txt);
+0168 
+0169 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0170 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0171 set(handles.ans_bpm,<span class="string">'String'</span>,txt);
+0172 set(handles.ans_bpm_c01,<span class="string">'String'</span>,txt);
+0173 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0174 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0175 set(handles.ans_bpm_c02,<span class="string">'String'</span>,txt);
+0176 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0177 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0178 set(handles.ans_bpm_c03,<span class="string">'String'</span>,txt);
+0179 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0180 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0181 set(handles.ans_bpm_c04,<span class="string">'String'</span>,txt);
+0182 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0183 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0184 set(handles.ans_bpm_c05,<span class="string">'String'</span>,txt);
+0185 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0186 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0187 set(handles.ans_bpm_c06,<span class="string">'String'</span>,txt);
+0188 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0189 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0190 set(handles.ans_bpm_c07,<span class="string">'String'</span>,txt);
+0191 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0192 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0193 set(handles.ans_bpm_c08,<span class="string">'String'</span>,txt);
+0194 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0195 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0196 set(handles.ans_bpm_c09,<span class="string">'String'</span>,txt);
+0197 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0198 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0199 set(handles.ans_bpm_c10,<span class="string">'String'</span>,txt);
+0200 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0201 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0202 set(handles.ans_bpm_c11,<span class="string">'String'</span>,txt);
+0203 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0204 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0205 set(handles.ans_bpm_c12,<span class="string">'String'</span>,txt);
+0206 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0207 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0208 set(handles.ans_bpm_c13,<span class="string">'String'</span>,txt);
+0209 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0210 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0211 set(handles.ans_bpm_c14,<span class="string">'String'</span>,txt);
+0212 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0213 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0214 set(handles.ans_bpm_c15,<span class="string">'String'</span>,txt);
+0215 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0216 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0217 set(handles.ans_bpm_c16,<span class="string">'String'</span>,txt);
+0218 
+0219 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigTimeDelay'</span>);
+0220 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0221 set(handles.ans_k_h,<span class="string">'String'</span>,txt);
+0222 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigTimeDelay'</span>);
+0223 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0224 set(handles.ans_k_v,<span class="string">'String'</span>,txt);
+0225 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcTimeDelay'</span>);
+0226 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0227 set(handles.ans_k_pc,<span class="string">'String'</span>,txt);</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_delay_nooffset.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_delay_nooffset.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_delay_nooffset.html	(revision 17)
@@ -0,0 +1,218 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_synchro_delay_nooffset</title>
+  <meta name="keywords" content="get_synchro_delay_nooffset">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_synchro_delay_nooffset.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_synchro_delay_nooffset
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function get_synchro_delay_nooffset(handles) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function get_synchro_delay_nooffset(handles)</a>
+0002 n=1;
+0003 
+0004 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+0005 set(handles.central_spare,<span class="string">'String'</span>,num2str(temp.value(n)));
+0006 
+0007 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0008 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+0009 
+0010 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0011 <span class="comment">%set(handles.central_soft,'String',num2str(temp.value(n)));</span>
+0012 
+0013 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0014 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+0015 
+0016 
+0017 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0018 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0019 
+0020 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0021 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0022 
+0023 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>);
+0024 set(handles.lin_canon_spm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0025 
+0026 
+0027 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0028 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0029 
+0030 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0031 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0032 
+0033 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0034 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0035 
+0036 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0037 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0038 
+0039 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0040 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0041 
+0042 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0043 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0044 
+0045 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0046 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0047 
+0048 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0049 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0050 
+0051 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0052 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0053 
+0054 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0055 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0056 
+0057 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0058 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0059 
+0060 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0061 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0062 
+0063 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0064 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0065 
+0066 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0067 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0068 
+0069 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0070 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0071 
+0072 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0073 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0074 
+0075 
+0076 
+0077 
+0078 
+0079 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0080 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0081 
+0082 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0083 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0084 
+0085 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0086 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0087 
+0088 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0089 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0090 
+0091 
+0092 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0093 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0094 
+0095 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+0096 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0097 
+0098 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+0099 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0100 
+0101 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0102 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0103 
+0104 
+0105 
+0106 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0107 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0108 
+0109 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0110 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0111 
+0112 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0113 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0114 
+0115 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0116 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0117 
+0118 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0119 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0120 
+0121 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0122 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0123 
+0124 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0125 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0126 
+0127 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0128 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0129 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+0130 
+0131 
+0132 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0133 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+0134 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0135 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+0136 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0137 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+0138 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0139 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+0140 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0141 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+0142 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0143 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+0144 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0145 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+0146 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0147 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+0148 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0149 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+0150 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0151 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+0152 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0153 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+0154 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0155 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+0156 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0157 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+0158 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0159 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+0160 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0161 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+0162 
+0163 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigTimeDelay'</span>);
+0164 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0165 set(handles.ans_k_h,<span class="string">'String'</span>,txt);
+0166 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigTimeDelay'</span>);
+0167 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0168 set(handles.ans_k_v,<span class="string">'String'</span>,txt);
+0169 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcTimeDelay'</span>);
+0170 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0171 set(handles.ans_k_pc,<span class="string">'String'</span>,txt);</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_rafale.html	(revision 17)
@@ -0,0 +1,312 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_synchro_rafale</title>
+  <meta name="keywords" content="get_synchro_rafale">
+  <meta name="description" content="step and address">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_synchro_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_synchro_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>step and address</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [timing]=get_synchro_rafale(DirName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> step and address</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [timing]=get_synchro_rafale(DirName)</a>
+0002 <span class="comment">% step and address</span>
+0003 
+0004 n=1;
+0005 <span class="comment">% central</span>
+0006 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);
+0007 timing.central_pc=temp.value(n);
+0008 
+0009 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>);
+0010 timing.central_inj=temp.value(n);
+0011 
+0012 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0013 timing.central_soft=temp.value(n);
+0014 
+0015 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprStepDelay'</span>);
+0016 timing.central_spare=temp.value(n);
+0017 
+0018 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+0019 timing.central_ext=temp.value(n);
+0020 
+0021 
+0022 
+0023 <span class="comment">% continu</span>
+0024 <span class="comment">% alim</span>
+0025 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpStepDelay'</span>);
+0026 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+0027 timing.boo_dp=[temp.value(n) double(temp1.value(n))];
+0028 
+0029 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfStepDelay'</span>);
+0030 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+0031 timing.boo_qf=[temp.value(n) double(temp1.value(n))];
+0032 
+0033 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdStepDelay'</span>);
+0034 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+0035 timing.boo_qd=[temp.value(n) double(temp1.value(n))];
+0036 
+0037 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfStepDelay'</span>);
+0038 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+0039 timing.boo_sf=[temp.value(n) double(temp1.value(n))];
+0040 
+0041 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdStepDelay'</span>);
+0042 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+0043 timing.boo_sd=[temp.value(n) double(temp1.value(n))];
+0044 
+0045 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfStepDelay'</span>);
+0046 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+0047 timing.boo_rf=[temp.value(n) double(temp1.value(n))];
+0048 
+0049 <span class="comment">% modulateur/alim linac</span>
+0050 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareStepDelay'</span>);
+0051 temp1=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+0052 timing.lin_modulateur=[temp.value(n) double(temp1.value(n))];
+0053 
+0054 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'libre.1StepDelay'</span>);
+0055 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'libre.1Event'</span>);
+0056 timing.lin_alim=[temp.value(n) double(temp1.value(n))];
+0057 
+0058 <span class="comment">% Linac</span>
+0059 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscStepDelay'</span>);
+0060 temp1=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+0061 timing.sdc1=[temp.value(n) double(temp1.value(n))];
+0062 
+0063 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmStepDelay'</span>);
+0064 temp1=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0065 timing.lin_lpm=[temp.value(n) double(temp1.value(n))];
+0066 
+0067 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacStepDelay'</span>);
+0068 temp1=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+0069 timing.lin_spm=[temp.value(n) double(temp1.value(n))];
+0070 
+0071 
+0072 <span class="comment">% LT1</span>
+0073 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceStepDelay'</span>);
+0074 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+0075 timing.lt1_emittance=[temp.value(n) double(temp1.value(n))];
+0076 
+0077 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1StepDelay'</span>);
+0078 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+0079 timing.lt1_mc1=[temp.value(n) double(temp1.value(n))];
+0080 
+0081 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2StepDelay'</span>);
+0082 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+0083 timing.lt1_mc2=[temp.value(n) double(temp1.value(n))];
+0084 
+0085 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscStepDelay'</span>);
+0086 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+0087 timing.lt1_osc=[temp.value(n) double(temp1.value(n))];
+0088 
+0089 
+0090 
+0091 <span class="comment">% Boo</span>
+0092 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booStepDelay'</span>);
+0093 temp1=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+0094 timing.boo_dcct=[temp.value(n) double(temp1.value(n))];
+0095 
+0096 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigStepDelay'</span>);
+0097 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0098 timing.boo_sep_p_inj=[temp.value(n) double(temp1.value(n))];
+0099 
+0100 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigStepDelay'</span>);
+0101 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+0102 timing.boo_k_inj=[temp.value(n) double(temp1.value(n))];
+0103 
+0104 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigStepDelay'</span>);
+0105 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+0106 timing.boo_bpm=[temp.value(n) double(temp1.value(n))];
+0107 
+0108 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigStepDelay'</span>);
+0109 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+0110 timing.boo_nod=[temp.value(n) double(temp1.value(n))];
+0111 
+0112 
+0113 
+0114 <span class="comment">% ext</span>
+0115 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigStepDelay'</span>);
+0116 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+0117 timing.boo_dof_ext=[temp.value(n) double(temp1.value(n))];
+0118 
+0119 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigStepDelay'</span>);
+0120 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0121 timing.boo_sep_p_ext=[temp.value(n) double(temp1.value(n))];
+0122 
+0123 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>);
+0124 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+0125 timing.boo_sep_a_ext=[temp.value(n) double(temp1.value(n))];
+0126 
+0127 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigStepDelay'</span>);
+0128 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+0129 timing.boo_k_ext=[temp.value(n) double(temp1.value(n))];
+0130 
+0131 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareStepDelay'</span>);
+0132 temp1=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+0133 timing.sdc2=[temp.value(n) double(temp1.value(n))];
+0134 
+0135 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0136 temp1=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>);
+0137 timing.boo_mrsv=[temp.value(n) double(temp1.value(n))];
+0138 
+0139 
+0140 <span class="comment">% LT2</span>
+0141 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvStepDelay'</span>);
+0142 temp1=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>);
+0143 timing.lt2_emittance=[temp.value(n) double(temp1.value(n))];
+0144 
+0145 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctStepDelay'</span>);
+0146 temp1=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>);
+0147 timing.lt2_osc=[temp.value(n) double(temp1.value(n))];
+0148 
+0149 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0150 temp1=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+0151 timing.lt2_bpm=[temp.value(n) double(temp1.value(n))];
+0152 
+0153 
+0154 <span class="comment">% ANS</span>
+0155 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>);
+0156 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+0157 timing.ans_k1_inj=[temp.value(n) double(temp1.value(n))];
+0158 
+0159 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>);
+0160 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+0161 timing.ans_k2_inj=[temp.value(n) double(temp1.value(n))];
+0162 
+0163 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>);
+0164 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+0165 timing.ans_k3_inj=[temp.value(n) double(temp1.value(n))];
+0166 
+0167 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>);
+0168 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+0169 timing.ans_k4_inj=[temp.value(n) double(temp1.value(n))];
+0170 
+0171 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigStepDelay'</span>);
+0172 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+0173 timing.ans_sep_p_inj=[temp.value(n) double(temp1.value(n))];
+0174 
+0175 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>);
+0176 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+0177 timing.ans_sep_a_inj=[temp.value(n) double(temp1.value(n))];
+0178 
+0179 
+0180 
+0181 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0182 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+0183 timing.ans_bpm=[temp.value(n) double(temp1.value(n))];
+0184 timing.ans_bpm01=[temp.value(n) double(temp1.value(n))];
+0185 
+0186 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0187 temp1=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0188 timing.ans_bpm02=[temp.value(n) double(temp1.value(n))];
+0189 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0190 temp1=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0191 timing.ans_bpm03=[temp.value(n) double(temp1.value(n))];
+0192 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0193 temp1=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0194 timing.ans_bpm04=[temp.value(n) double(temp1.value(n))];
+0195 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0196 temp1=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0197 timing.ans_bpm05=[temp.value(n) double(temp1.value(n))];
+0198 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0199 temp1=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0200 timing.ans_bpm06=[temp.value(n) double(temp1.value(n))];
+0201 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0202 temp1=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0203 timing.ans_bpm07=[temp.value(n) double(temp1.value(n))];
+0204 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0205 temp1=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0206 timing.ans_bpm08=[temp.value(n) double(temp1.value(n))];
+0207 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0208 temp1=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0209 timing.ans_bpm09=[temp.value(n) double(temp1.value(n))];
+0210 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0211 temp1=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0212 timing.ans_bpm10=[temp.value(n) double(temp1.value(n))];
+0213 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0214 temp1=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0215 timing.ans_bpm11=[temp.value(n) double(temp1.value(n))];
+0216 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0217 temp1=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0218 timing.ans_bpm12=[temp.value(n) double(temp1.value(n))];
+0219 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0220 temp1=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0221 timing.ans_bpm13=[temp.value(n) double(temp1.value(n))];
+0222 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0223 temp1=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0224 timing.ans_bpm14=[temp.value(n) double(temp1.value(n))];
+0225 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0226 temp1=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0227 timing.ans_bpm15=[temp.value(n) double(temp1.value(n))];
+0228 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0229 temp1=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+0230 timing.ans_bpm16=[temp.value(n) double(temp1.value(n))];
+0231 
+0232 <span class="comment">%</span>
+0233 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctStepDelay'</span>);
+0234 temp1=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+0235 timing.ans_dcct=[temp.value(n) double(temp1.value(n))];
+0236 
+0237 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteTimeDelay'</span>);
+0238 temp1=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteEvent'</span>);
+0239 timing.ans_nod=[temp.value(n) double(temp1.value(n))];
+0240 
+0241 <span class="comment">% kicker machine</span>
+0242 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcStepDelay'</span>);
+0243 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcEvent'</span>);
+0244 timing.ans_k_hv_pc=[temp.value(n) double(temp1.value(n))];
+0245 
+0246 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>);
+0247 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigEvent'</span>);
+0248 timing.ans_k_v=[temp.value(n) double(temp1.value(n))];
+0249 
+0250 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>);
+0251 temp1=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigEvent'</span>);
+0252 timing.ans_k_h=[temp.value(n) double(temp1.value(n))];
+0253 
+0254 
+0255 
+0256 <span class="comment">% offset</span>
+0257 FileName = [DirName <span class="string">'synchro_offset_lin'</span>];
+0258 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0259 
+0260 timing.inj_offset=inj_offset;
+0261 timing.ext_offset=ext_offset;
+0262 timing.lin_fin   =lin_fin;
+0263 
+0264 
+0265</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_trigstatus.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_trigstatus.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_trigstatus.html	(revision 17)
@@ -0,0 +1,204 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_synchro_trigstatus</title>
+  <meta name="keywords" content="get_synchro_trigstatus">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_synchro_trigstatus.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_synchro_trigstatus
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function get_synchro_trigstatus(handles) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function get_synchro_trigstatus(handles)</a>
+0002 
+0003 n=1;
+0004 
+0005 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+0006 set(handles.central_spare,<span class="string">'String'</span>,num2str(temp.value(n)));
+0007 
+0008 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0009 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+0010 
+0011 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0012 <span class="comment">%set(handles.central_soft,'String',num2str(temp.value(n)));</span>
+0013 
+0014 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0015 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+0016 
+0017 
+0018 
+0019 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTrigStatus'</span>);
+0020 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0021 
+0022 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTrigStatus'</span>);
+0023 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0024 
+0025 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTrigStatus'</span>);
+0026 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0027 
+0028 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTrigStatus'</span>);
+0029 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0030 
+0031 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TrigStatus'</span>);
+0032 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0033 
+0034 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TrigStatus'</span>);
+0035 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0036 
+0037 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTrigStatus'</span>);
+0038 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0039 
+0040 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTrigStatus'</span>);
+0041 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0042 
+0043 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTrigStatus'</span>);
+0044 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0045 
+0046 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+0047 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0048 
+0049 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+0050 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0051 
+0052 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTrigStatus'</span>);
+0053 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0054 
+0055 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTrigStatus'</span>);
+0056 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0057 
+0058 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTrigStatus'</span>);
+0059 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0060 
+0061 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTrigStatus'</span>);
+0062 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0063 
+0064 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTrigStatus'</span>);
+0065 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0066 
+0067 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTrigStatus'</span>);
+0068 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0069 
+0070 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTrigStatus'</span>);
+0071 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0072 
+0073 
+0074 
+0075 
+0076 
+0077 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTrigStatus'</span>);
+0078 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0079 
+0080 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+0081 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0082 
+0083 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+0084 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0085 
+0086 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+0087 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0088 
+0089 
+0090 
+0091 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+0092 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0093 
+0094 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTrigStatus'</span>);
+0095 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0096 
+0097 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTrigStatus'</span>);
+0098 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0099 
+0100 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0101 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0102 
+0103 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTrigStatus'</span>);
+0104 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0105 
+0106 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTrigStatus'</span>);
+0107 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0108 
+0109 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTrigStatus'</span>);
+0110 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0111 
+0112 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTrigStatus'</span>);
+0113 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0114 
+0115 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+0116 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0117 
+0118 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+0119 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0120 
+0121 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTrigStatus'</span>);
+0122 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0123 
+0124 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0125 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0126 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+0127 
+0128 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0129 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+0130 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0131 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+0132 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0133 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+0134 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0135 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+0136 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0137 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+0138 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0139 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+0140 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0141 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+0142 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0143 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+0144 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0145 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+0146 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0147 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+0148 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0149 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+0150 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0151 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+0152 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0153 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+0154 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0155 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+0156 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+0157 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_value.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_value.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/get_synchro_value.html	(revision 17)
@@ -0,0 +1,89 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of get_synchro_value</title>
+  <meta name="keywords" content="get_synchro_value">
+  <meta name="description" content="complet timing structure with value">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; get_synchro_value.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>get_synchro_value
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>complet timing structure with value</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [timing]=get_synchro_value </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> complet timing structure with value
+ timing.name
+ timing.list    (table de 4 attributs par n delais)
+ timing.value   according to list</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="get_synchro_attribut.html" class="code" title="function [timing]=get_synchro_attribut">get_synchro_attribut</a>	make a timing structure</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [timing]=get_synchro_value</a>
+0002 <span class="comment">% complet timing structure with value</span>
+0003 <span class="comment">% timing.name</span>
+0004 <span class="comment">% timing.list    (table de 4 attributs par n delais)</span>
+0005 <span class="comment">% timing.value   according to list</span>
+0006 
+0007 <span class="comment">% get list</span>
+0008 [timing]=<a href="get_synchro_attribut.html" class="code" title="function [timing]=get_synchro_attribut">get_synchro_attribut</a>;
+0009 nc=length(timing);
+0010 
+0011 
+0012 
+0013 m=1; <span class="comment">% valeur lue</span>
+0014 <span class="keyword">for</span> k=2:nc
+0015     
+0016     name=timing(k).name;
+0017     list=timing(k).list;
+0018     n=size(list);
+0019     ndelais=n(1) ; <span class="comment">% nombre de dÃ©lais</span>
+0020     ndata =n(2);  <span class="comment">% nombre d'attribut par dÃ©lais</span>
+0021     fprintf(<span class="string">'%s   %d  dÃ©lais\n'</span>,name,ndelais)
+0022     
+0023     value=[];
+0024     <span class="keyword">for</span> i=1:ndelais
+0025         val=[];
+0026         <span class="keyword">for</span> j=1:ndata-1
+0027             temp=tango_read_attribute2(name, list{i,j});
+0028             val=[val double(temp.value(m))];
+0029         <span class="keyword">end</span>
+0030         value=[value ; val];
+0031     <span class="keyword">end</span>
+0032     
+0033     
+0034     <span class="comment">% complete stucture</span>
+0035     timing(k).value=value;
+0036     
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">return</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/getcharge.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/getcharge.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/getcharge.html	(revision 17)
@@ -0,0 +1,56 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of getcharge</title>
+  <meta name="keywords" content="getcharge">
+  <meta name="description" content="calcul efficacitÃ©">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; getcharge.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>getcharge
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>calcul efficacitÃ©</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function  [q1,q2,n]=getcharge(q1,q2,n) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> calcul efficacitÃ©</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur5.html" class="code" title="function varargout = synchro_injecteur5(varargin)">synchro_injecteur5</a>	SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</li><li><a href="synchro_injecteur6.html" class="code" title="function varargout = synchro_injecteur6(varargin)">synchro_injecteur6</a>	SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</li><li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% calcul efficacitÃ©</span>
+0002 
+0003 <a name="_sub0" href="#_subfunctions" class="code">function  [q1,q2,n]=getcharge(q1,q2,n)</a>
+0004 
+0005 temp=tango_read_attribute2(<span class="string">'LT1/DG/MC'</span>,<span class="string">'qIct2'</span>);        lt1charge=temp.value;
+0006 temp=tango_read_attribute2(<span class="string">'BOO-C01/DG/DCCT'</span>,<span class="string">'qExt'</span>);   boocharge=-temp.value;
+0007 q1=q1+lt1charge ;
+0008 q2=q2+(boocharge+0.09);
+0009 n=n+1;
+0010</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/index.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/index.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/index.html	(revision 17)
@@ -0,0 +1,31 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Index for Directory machine/Soleil/common/synchro</title>
+  <meta name="keywords" content="machine/Soleil/common/synchro">
+  <meta name="description" content="Index for Directory machine/Soleil/common/synchro">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>
+
+<h1>Index for machine/Soleil/common/synchro</h1>
+
+<h2>Matlab files in this directory:</h2>
+<table>
+<tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="Synchronisationsetup.html">Synchronisationsetup</a></td><td>LT2SETUP - GUI for doing LT2 setup </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="bucketnumber.html">bucketnumber</a></td><td>BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="fix_quart.html">fix_quart</a></td><td>fix premier quart </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="get_start_clk.html">get_start_clk</a></td><td>fix premier quart </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="get_synchro.html">get_synchro</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="getcharge.html">getcharge</a></td><td>calcul efficacitÃ© </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="linac.html">linac</a></td><td>switch linac </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="load_synchro.html">load_synchro</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="load_table.html">load_table</a></td><td>test load table synchro </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="qart_inject.html">qart_inject</a></td><td>QART_INJECT M-file for qart_inject.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="quart_inject.html">quart_inject</a></td><td>QUART_INJECT M-file for quart_inject.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="retour_update.html">retour_update</a></td><td>retour update </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump.html">set_bump</a></td><td>bump equilibrÃ© voltage et synchro </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump0.html">set_bump0</a></td><td>bump equilibrÃ© voltage et synchro </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump1.html">set_bump1</a></td><td>premiÃšre optimisation du bump </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump2.html">set_bump2</a></td><td>deuxiÃšme optimisation du bump </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump3.html">set_bump3</a></td><td>deuxiÃšme optimisation du bump </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump4.html">set_bump4</a></td><td>deuxiÃšme optimisation du bump </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump5.html">set_bump5</a></td><td>deuxiÃšme optimisation du bump </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump6.html">set_bump6</a></td><td>deuxiÃšme optimisation du bump </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="set_bump7.html">set_bump7</a></td><td>deuxiÃšme optimisation du bump </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="soft_event.html">soft_event</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="softsynchro.html">softsynchro</a></td><td>SOFTSYNCHRO M-file for softsynchro.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="start_3Hz.html">start_3Hz</a></td><td>test 3Hz </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="start_soft.html">start_soft</a></td><td>test 3Hz </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="state_txt.html">state_txt</a></td><td>Manage state string from synchro </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="step.html">step</a></td><td>reglage delta tune Ã  110 MeV </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="stop_3Hz.html">stop_3Hz</a></td><td>test 3Hz </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="swap_delais.html">swap_delais</a></td><td>swap delai address </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_70ns.html">synchro_70ns</a></td><td>pulse linac de 70 ns = 24 bunchs </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_depannage.html">synchro_depannage</a></td><td>synchro_depannage </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_injecteur.html">synchro_injecteur</a></td><td>SYNCHRO_INJECTEUR M-file for synchro_injecteur.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_injecteur1.html">synchro_injecteur1</a></td><td>SYNCHRO_INJECTEUR1 M-file for synchro_injecteur1.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_injecteur2.html">synchro_injecteur2</a></td><td>SYNCHRO_INJECTEUR2 M-file for synchro_injecteur2.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_injecteur3.html">synchro_injecteur3</a></td><td>SYNCHRO_INJECTEUR3 M-file for synchro_injecteur3.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_injecteur4.html">synchro_injecteur4</a></td><td>SYNCHRO_INJECTEUR4 M-file for synchro_injecteur4.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_injecteur5.html">synchro_injecteur5</a></td><td>SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_injecteur6.html">synchro_injecteur6</a></td><td>SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_injecteur7.html">synchro_injecteur7</a></td><td>SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_mode_tests.html">synchro_mode_tests</a></td><td>SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_survey.html">synchro_survey</a></td><td>SYNCHRO_SURVEY M-file for synchro_survey.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="synchro_table.html">synchro_table</a></td><td>tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent'); </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="tablesynchro.html">tablesynchro</a></td><td>tables synchro </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="test1.html">test1</a></td><td>TEST1 M-file for test1.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="test_button.html">test_button</a></td><td>TEST_BUTTON M-file for test_button.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="test_kicker.html">test_kicker</a></td><td>test kicker </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="test_kicker1.html">test_kicker1</a></td><td>test kicker </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="test_kicker2.html">test_kicker2</a></td><td>test kicker </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="test_stop_start.html">test_stop_start</a></td><td>start_3Hz; </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="time-inject.html">time-inject</a></td><td> </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="time_inject.html">time_inject</a></td><td>calcul du temp d'injection </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="timinggui.html">timinggui</a></td><td>TIMINGGUI M-file for timinggui.fig </td></tr><tr><td><img src="../../../../matlabicon.gif" alt="" border="">&nbsp;<a href="timinggui_div.html">timinggui_div</a></td><td>TIMINGGUI_DIV M-file for timinggui_div.fig </td></tr></table>
+
+<h2>Other Matlab-specific files in this directory:</h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li>table.mat</li><li>Workspace.mat</li><li>synchro_offset_lin.mat</li><li>position s_bx s_cx.mat</li><li>synchro_offset.mat</li></ul>
+
+
+<hr><address>Generated on Mon 21-May-2007 15:35:22 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/injection_boucle.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/injection_boucle.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/injection_boucle.html	(revision 17)
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of injection_boucle</title>
+  <meta name="keywords" content="injection_boucle">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; injection_boucle.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>injection_boucle
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 
+0002 <span class="keyword">for</span> i=1:100
+0003 
+0004    tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+0005    pause(2)
+0006 
+0007 
+0008 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/kicker_scaling.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/kicker_scaling.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/kicker_scaling.html	(revision 17)
@@ -0,0 +1,405 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of kicker_scaling</title>
+  <meta name="keywords" content="kicker_scaling">
+  <meta name="description" content="KICKER_SCALING M-file for kicker_scaling.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; kicker_scaling.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>kicker_scaling
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>KICKER_SCALING M-file for kicker_scaling.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = kicker_scaling(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> KICKER_SCALING M-file for kicker_scaling.fig
+      KICKER_SCALING, by itself, creates a new KICKER_SCALING or raises the existing
+      singleton*.
+
+      H = KICKER_SCALING returns the handle to a new KICKER_SCALING or the handle to
+      the existing singleton*.
+
+      KICKER_SCALING('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in KICKER_SCALING.M with the given input arguments.
+
+      KICKER_SCALING('Property','Value',...) creates a new KICKER_SCALING or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before kicker_scaling_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to kicker_scaling_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function kicker_scaling_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = kicker_scaling_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function pushbutton_restore_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function pushbutton_apply_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function edit_scaling_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function edit_scaling_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit_init_K1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function edit_init_K1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function edit_init_K2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function edit_init_K2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function edit_init_K3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_init_K3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_init_K4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function edit_init_K4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function edit_scaled_K1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function edit_scaled_K1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function edit_scaled_K2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function edit_scaled_K2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function edit_scaled_K3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function edit_scaled_K3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function edit_scaled_K4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function edit_scaled_K4_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = kicker_scaling(varargin)</a>
+0002 <span class="comment">% KICKER_SCALING M-file for kicker_scaling.fig</span>
+0003 <span class="comment">%      KICKER_SCALING, by itself, creates a new KICKER_SCALING or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = KICKER_SCALING returns the handle to a new KICKER_SCALING or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      KICKER_SCALING('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in KICKER_SCALING.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      KICKER_SCALING('Property','Value',...) creates a new KICKER_SCALING or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before kicker_scaling_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to kicker_scaling_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help kicker_scaling</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 14-Nov-2008 21:39:00</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction kicker_scaling_OpeningFcn(hObject, eventdata, handles, varargin)">kicker_scaling_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = kicker_scaling_OutputFcn(hObject, eventdata, handles)">kicker_scaling_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before kicker_scaling is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function kicker_scaling_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to kicker_scaling (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for kicker_scaling</span>
+0056 handles.output = hObject;
+0057 
+0058 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>);handles.K1=temp.value(2);
+0059 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>);handles.K2=temp.value(2);
+0060 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>);handles.K3=temp.value(2);
+0061 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>);handles.K4=temp.value(2);
+0062 
+0063 set(handles.edit_init_K1,<span class="string">'String'</span>,num2str(handles.K1));
+0064 set(handles.edit_init_K2,<span class="string">'String'</span>,num2str(handles.K2));
+0065 set(handles.edit_init_K3,<span class="string">'String'</span>,num2str(handles.K3));
+0066 set(handles.edit_init_K4,<span class="string">'String'</span>,num2str(handles.K4));
+0067 
+0068 set(handles.edit_scaled_K1,<span class="string">'String'</span>,num2str(handles.K1));
+0069 set(handles.edit_scaled_K2,<span class="string">'String'</span>,num2str(handles.K2));
+0070 set(handles.edit_scaled_K3,<span class="string">'String'</span>,num2str(handles.K3));
+0071 set(handles.edit_scaled_K4,<span class="string">'String'</span>,num2str(handles.K4));
+0072 
+0073 <span class="comment">% Update handles structure</span>
+0074 guidata(hObject, handles);
+0075 
+0076 <span class="comment">% UIWAIT makes kicker_scaling wait for user response (see UIRESUME)</span>
+0077 <span class="comment">% uiwait(handles.figure1);</span>
+0078 
+0079 
+0080 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0081 <a name="_sub2" href="#_subfunctions" class="code">function varargout = kicker_scaling_OutputFcn(hObject, eventdata, handles) </a>
+0082 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0083 <span class="comment">% hObject    handle to figure</span>
+0084 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0085 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0086 
+0087 <span class="comment">% Get default command line output from handles structure</span>
+0088 varargout{1} = handles.output;
+0089 
+0090 
+0091 <span class="comment">% --- Executes on button press in pushbutton_restore.</span>
+0092 <a name="_sub3" href="#_subfunctions" class="code">function pushbutton_restore_Callback(hObject, eventdata, handles)</a>
+0093 <span class="comment">% hObject    handle to pushbutton_restore (see GCBO)</span>
+0094 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0095 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0096 
+0097 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,handles.K1);
+0098 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,handles.K2); 
+0099 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,handles.K3);
+0100 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,handles.K4); 
+0101 
+0102 set(handles.edit_scaled_K1,<span class="string">'String'</span>,num2str(handles.K1));
+0103 set(handles.edit_scaled_K2,<span class="string">'String'</span>,num2str(handles.K2));
+0104 set(handles.edit_scaled_K3,<span class="string">'String'</span>,num2str(handles.K3));
+0105 set(handles.edit_scaled_K4,<span class="string">'String'</span>,num2str(handles.K4));
+0106 
+0107 <span class="comment">% --- Executes on button press in pushbutton_apply.</span>
+0108 <a name="_sub4" href="#_subfunctions" class="code">function pushbutton_apply_Callback(hObject, eventdata, handles)</a>
+0109 <span class="comment">% hObject    handle to pushbutton_apply (see GCBO)</span>
+0110 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0111 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0112 
+0113 r=str2double(get(handles.edit_scaling,<span class="string">'String'</span>));
+0114 <span class="keyword">if</span> r&gt;1.5
+0115     r=1 ;
+0116     set(handles.edit_scaling,<span class="string">'String'</span>,<span class="string">'1'</span>);
+0117 <span class="keyword">elseif</span> r&lt;0
+0118     r=1 ;
+0119     set(handles.edit_scaling,<span class="string">'String'</span>,<span class="string">'1'</span>);
+0120 <span class="keyword">end</span>
+0121 
+0122 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,handles.K1*r);
+0123 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,handles.K2*r);
+0124 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,handles.K3*r);
+0125 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,handles.K4*r);
+0126 
+0127 set(handles.edit_scaled_K1,<span class="string">'String'</span>,num2str(handles.K1*r));
+0128 set(handles.edit_scaled_K2,<span class="string">'String'</span>,num2str(handles.K2*r));
+0129 set(handles.edit_scaled_K3,<span class="string">'String'</span>,num2str(handles.K3*r));
+0130 set(handles.edit_scaled_K4,<span class="string">'String'</span>,num2str(handles.K4*r));
+0131 
+0132 <a name="_sub5" href="#_subfunctions" class="code">function edit_scaling_Callback(hObject, eventdata, handles)</a>
+0133 <span class="comment">% hObject    handle to edit_scaling (see GCBO)</span>
+0134 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0135 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0136 
+0137 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_scaling as text</span>
+0138 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_scaling as a double</span>
+0139 
+0140 
+0141 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0142 <a name="_sub6" href="#_subfunctions" class="code">function edit_scaling_CreateFcn(hObject, eventdata, handles)</a>
+0143 <span class="comment">% hObject    handle to edit_scaling (see GCBO)</span>
+0144 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0145 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0146 
+0147 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0148 <span class="comment">%       See ISPC and COMPUTER.</span>
+0149 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0150     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0151 <span class="keyword">end</span>
+0152 
+0153 
+0154 
+0155 <a name="_sub7" href="#_subfunctions" class="code">function edit_init_K1_Callback(hObject, eventdata, handles)</a>
+0156 <span class="comment">% hObject    handle to edit_init_K1 (see GCBO)</span>
+0157 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0158 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0159 
+0160 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_init_K1 as text</span>
+0161 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_init_K1 as a double</span>
+0162 
+0163 
+0164 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0165 <a name="_sub8" href="#_subfunctions" class="code">function edit_init_K1_CreateFcn(hObject, eventdata, handles)</a>
+0166 <span class="comment">% hObject    handle to edit_init_K1 (see GCBO)</span>
+0167 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0168 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0169 
+0170 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0171 <span class="comment">%       See ISPC and COMPUTER.</span>
+0172 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0173     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0174 <span class="keyword">end</span>
+0175 
+0176 
+0177 
+0178 <a name="_sub9" href="#_subfunctions" class="code">function edit_init_K2_Callback(hObject, eventdata, handles)</a>
+0179 <span class="comment">% hObject    handle to edit_init_K2 (see GCBO)</span>
+0180 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0181 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0182 
+0183 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_init_K2 as text</span>
+0184 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_init_K2 as a double</span>
+0185 
+0186 
+0187 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0188 <a name="_sub10" href="#_subfunctions" class="code">function edit_init_K2_CreateFcn(hObject, eventdata, handles)</a>
+0189 <span class="comment">% hObject    handle to edit_init_K2 (see GCBO)</span>
+0190 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0191 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0192 
+0193 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0194 <span class="comment">%       See ISPC and COMPUTER.</span>
+0195 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0196     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0197 <span class="keyword">end</span>
+0198 
+0199 
+0200 
+0201 <a name="_sub11" href="#_subfunctions" class="code">function edit_init_K3_Callback(hObject, eventdata, handles)</a>
+0202 <span class="comment">% hObject    handle to edit_init_K3 (see GCBO)</span>
+0203 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0204 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0205 
+0206 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_init_K3 as text</span>
+0207 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_init_K3 as a double</span>
+0208 
+0209 
+0210 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0211 <a name="_sub12" href="#_subfunctions" class="code">function edit_init_K3_CreateFcn(hObject, eventdata, handles)</a>
+0212 <span class="comment">% hObject    handle to edit_init_K3 (see GCBO)</span>
+0213 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0214 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0215 
+0216 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0217 <span class="comment">%       See ISPC and COMPUTER.</span>
+0218 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0219     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0220 <span class="keyword">end</span>
+0221 
+0222 
+0223 
+0224 <a name="_sub13" href="#_subfunctions" class="code">function edit_init_K4_Callback(hObject, eventdata, handles)</a>
+0225 <span class="comment">% hObject    handle to edit_init_K4 (see GCBO)</span>
+0226 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0227 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0228 
+0229 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_init_K4 as text</span>
+0230 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_init_K4 as a double</span>
+0231 
+0232 
+0233 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0234 <a name="_sub14" href="#_subfunctions" class="code">function edit_init_K4_CreateFcn(hObject, eventdata, handles)</a>
+0235 <span class="comment">% hObject    handle to edit_init_K4 (see GCBO)</span>
+0236 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0237 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0238 
+0239 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0240 <span class="comment">%       See ISPC and COMPUTER.</span>
+0241 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0242     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0243 <span class="keyword">end</span>
+0244 
+0245 
+0246 
+0247 <a name="_sub15" href="#_subfunctions" class="code">function edit_scaled_K1_Callback(hObject, eventdata, handles)</a>
+0248 <span class="comment">% hObject    handle to edit_scaled_K1 (see GCBO)</span>
+0249 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0250 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0251 
+0252 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_scaled_K1 as text</span>
+0253 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_scaled_K1 as a double</span>
+0254 
+0255 
+0256 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0257 <a name="_sub16" href="#_subfunctions" class="code">function edit_scaled_K1_CreateFcn(hObject, eventdata, handles)</a>
+0258 <span class="comment">% hObject    handle to edit_scaled_K1 (see GCBO)</span>
+0259 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0260 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0261 
+0262 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0263 <span class="comment">%       See ISPC and COMPUTER.</span>
+0264 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0265     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0266 <span class="keyword">end</span>
+0267 
+0268 
+0269 
+0270 <a name="_sub17" href="#_subfunctions" class="code">function edit_scaled_K2_Callback(hObject, eventdata, handles)</a>
+0271 <span class="comment">% hObject    handle to edit_scaled_K2 (see GCBO)</span>
+0272 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0273 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0274 
+0275 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_scaled_K2 as text</span>
+0276 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_scaled_K2 as a double</span>
+0277 
+0278 
+0279 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0280 <a name="_sub18" href="#_subfunctions" class="code">function edit_scaled_K2_CreateFcn(hObject, eventdata, handles)</a>
+0281 <span class="comment">% hObject    handle to edit_scaled_K2 (see GCBO)</span>
+0282 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0283 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0284 
+0285 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0286 <span class="comment">%       See ISPC and COMPUTER.</span>
+0287 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0288     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0289 <span class="keyword">end</span>
+0290 
+0291 
+0292 
+0293 <a name="_sub19" href="#_subfunctions" class="code">function edit_scaled_K3_Callback(hObject, eventdata, handles)</a>
+0294 <span class="comment">% hObject    handle to edit_scaled_K3 (see GCBO)</span>
+0295 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0296 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0297 
+0298 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_scaled_K3 as text</span>
+0299 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_scaled_K3 as a double</span>
+0300 
+0301 
+0302 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0303 <a name="_sub20" href="#_subfunctions" class="code">function edit_scaled_K3_CreateFcn(hObject, eventdata, handles)</a>
+0304 <span class="comment">% hObject    handle to edit_scaled_K3 (see GCBO)</span>
+0305 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0306 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0307 
+0308 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0309 <span class="comment">%       See ISPC and COMPUTER.</span>
+0310 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0311     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0312 <span class="keyword">end</span>
+0313 
+0314 
+0315 
+0316 <a name="_sub21" href="#_subfunctions" class="code">function edit_scaled_K4_Callback(hObject, eventdata, handles)</a>
+0317 <span class="comment">% hObject    handle to edit_scaled_K4 (see GCBO)</span>
+0318 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0319 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0320 
+0321 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_scaled_K4 as text</span>
+0322 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_scaled_K4 as a double</span>
+0323 
+0324 
+0325 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0326 <a name="_sub22" href="#_subfunctions" class="code">function edit_scaled_K4_CreateFcn(hObject, eventdata, handles)</a>
+0327 <span class="comment">% hObject    handle to edit_scaled_K4 (see GCBO)</span>
+0328 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0329 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0330 
+0331 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0332 <span class="comment">%       See ISPC and COMPUTER.</span>
+0333 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0334     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0335 <span class="keyword">end</span>
+0336 
+0337</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/linac.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/linac.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/linac.html	(revision 17)
@@ -0,0 +1,90 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of linac</title>
+  <meta name="keywords" content="linac">
+  <meta name="description" content="switch linac">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; linac.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>linac
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>switch linac</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function linac(mode) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> switch linac</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function linac(mode)</a>
+0002 <span class="comment">% switch linac</span>
+0003 
+0004 
+0005 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0006 tout=0.;
+0007 
+0008 
+0009 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+0010     <span class="keyword">case</span> <span class="string">'soft'</span>
+0011     <span class="comment">% switch to soft</span>
+0012         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0013         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+0014         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int16(0));
+0015         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,int32(1)); pause(tout);
+0016         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+0017         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+0018         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+0019         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+0020         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+0021     <span class="comment">% special modulateur</span>
+0022         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);pc=temp.value(1);
+0023         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);soft=temp.value(1);
+0024         delay=inj_offset+soft-pc;
+0025         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0026         display(<span class="string">'ok change 3Hz to soft'</span>)
+0027         
+0028     <span class="keyword">case</span> <span class="string">'3Hz'</span>
+0029     <span class="comment">% switch to 3Hz</span>
+0030         event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0031         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(2)); pause(tout);
+0032         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int16(0)); 
+0033         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,event); pause(tout);
+0034         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+0035         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+0036         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+0037         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+0038         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+0039     <span class="comment">% special modulateur</span>
+0040         delay=inj_offset+0;
+0041         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0042         display(<span class="string">'ok change soft to 3Hz'</span>)
+0043 <span class="keyword">end</span>
+0044</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_synchro.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_synchro.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_synchro.html	(revision 17)
@@ -0,0 +1,224 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of load_synchro</title>
+  <meta name="keywords" content="load_synchro">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; load_synchro.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>load_synchro
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function load_synchro(file) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function load_synchro(file)</a>
+0002 
+0003 Directory = <span class="string">'/home/matlabML/measdata/Boosterdata/Datatemp'</span>;
+0004 pwdold = pwd;
+0005 cd(Directory);
+0006 load(file)
+0007 cd(pwdold);
+0008 
+0009 tout=0.2;
+0010 <span class="keyword">if</span> (length(timing.lin_lpm)==1)  <span class="comment">% ancien</span>
+0011     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,timing.sdc1);pause(tout);
+0012     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,timing.lin_lpm);pause(tout);
+0013     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,timing.boo_bpm);pause(tout);
+0014     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,timing.boo_bpm);pause(tout);
+0015     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,timing.boo_bpm);pause(tout);
+0016     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,timing.boo_bpm);pause(tout);     
+0017     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,timing.lt1_emittance);pause(tout);
+0018     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,timing.lt1_mc1);pause(tout);
+0019     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,timing.lt1_mc2);pause(tout);
+0020     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,timing.lt1_osc);pause(tout);
+0021     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,timing.boo_dcct);pause(tout);
+0022     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,timing.boo_nod);pause(tout);
+0023     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,timing.boo_sep_p_inj);pause(tout);
+0024     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,timing.boo_k_inj);pause(tout);
+0025     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,timing.boo_dp);pause(tout);
+0026     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,timing.boo_qf);pause(tout);
+0027     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,timing.boo_qd);pause(tout);
+0028     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,timing.boo_sf);pause(tout);
+0029     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,timing.boo_sd);pause(tout);
+0030     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,timing.boo_rf);pause(tout);
+0031     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,timing.sdc2);pause(tout);
+0032     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,timing.boo_dof_ext);pause(tout);
+0033     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,timing.boo_sep_p_ext);pause(tout);
+0034     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,timing.boo_sep_a_ext);pause(tout);
+0035     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,timing.boo_k_ext);pause(tout);
+0036     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.lt2_bpm);pause(tout);
+0037     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,timing.lt2_osc);pause(tout);
+0038     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,timing.lt2_emittance);pause(tout);
+0039     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,timing.lt2_emittance);pause(tout);
+0040     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,timing.ans_k1_inj);pause(tout);
+0041     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,timing.ans_k2_inj);pause(tout);
+0042     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,timing.ans_k3_inj);pause(tout);
+0043     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,timing.ans_k4_inj);pause(tout);
+0044     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,timing.ans_sep_p_inj);pause(tout);
+0045     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,timing.ans_sep_a_inj);pause(tout);
+0046     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm01);pause(tout);
+0047     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm02);pause(tout);
+0048     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm03);pause(tout);
+0049     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm04);pause(tout);
+0050     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm05);pause(tout);
+0051     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm06);pause(tout);
+0052     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm07);pause(tout);
+0053     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm08);pause(tout);
+0054     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm09);pause(tout);
+0055     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm10);pause(tout);  
+0056     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm11);pause(tout);  
+0057     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm12);pause(tout);  
+0058     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm13);pause(tout);  
+0059     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm14);pause(tout);  
+0060     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm15);pause(tout);  
+0061     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm16);pause(tout);   
+0062     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,timing.ans_dcct);pause(tout)
+0063     
+0064 <span class="keyword">elseif</span> (length(timing.lin_lpm)==2)  <span class="comment">% nouveau avec spm</span>
+0065     display(<span class="string">'Delay'</span>)
+0066     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,timing.sdc1(1));pause(tout);
+0067     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,timing.lin_lpm(1));pause(tout);
+0068     <span class="keyword">if</span> isfield(<span class="string">'timing'</span>,<span class="string">'lin_spm'</span>);tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>,timing.lin_spm(1));pause(tout);<span class="keyword">end</span>
+0069     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,timing.boo_bpm(1));pause(tout);
+0070     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,timing.boo_bpm(1));pause(tout);
+0071     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,timing.boo_bpm(1));pause(tout);
+0072     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,timing.boo_bpm(1));pause(tout);     
+0073     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,timing.lt1_emittance(1));pause(tout);
+0074     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,timing.lt1_mc1(1));pause(tout);
+0075     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,timing.lt1_mc2(1));pause(tout);
+0076     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,timing.lt1_osc(1));pause(tout);
+0077     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,timing.boo_dcct(1));pause(tout);
+0078     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,timing.boo_nod(1));pause(tout);
+0079     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,timing.boo_sep_p_inj(1));pause(tout);
+0080     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,timing.boo_k_inj(1));pause(tout);
+0081     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,timing.boo_dp(1));pause(tout);
+0082     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,timing.boo_qf(1));pause(tout);
+0083     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,timing.boo_qd(1));pause(tout);
+0084     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,timing.boo_sf(1));pause(tout);
+0085     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,timing.boo_sd(1));pause(tout);
+0086     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,timing.boo_rf(1));pause(tout);
+0087     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,timing.sdc2(1));pause(tout);
+0088     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,timing.boo_dof_ext(1));pause(tout);
+0089     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,timing.boo_sep_p_ext(1));pause(tout);
+0090     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,timing.boo_sep_a_ext(1));pause(tout);
+0091     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,timing.boo_k_ext(1));pause(tout);
+0092     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.lt2_bpm(1));pause(tout);
+0093     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,timing.lt2_osc(1));pause(tout);
+0094     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,timing.lt2_emittance(1));pause(tout);
+0095     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,timing.lt2_emittance(1));pause(tout);
+0096     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,timing.ans_k1_inj(1));pause(tout);
+0097     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,timing.ans_k2_inj(1));pause(tout);
+0098     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,timing.ans_k3_inj(1));pause(tout);
+0099     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,timing.ans_k4_inj(1));pause(tout);
+0100     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,timing.ans_sep_p_inj(1));pause(tout);
+0101     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,timing.ans_sep_a_inj(1));pause(tout);
+0102     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm01(1));pause(tout);
+0103     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm02(1));pause(tout);
+0104     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm03(1));pause(tout);
+0105     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm04(1));pause(tout);
+0106     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm05(1));pause(tout);
+0107     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm06(1));pause(tout);
+0108     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm07(1));pause(tout);
+0109     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm08(1));pause(tout);
+0110     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm09(1));pause(tout);
+0111     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm10(1));pause(tout);  
+0112     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm11(1));pause(tout);  
+0113     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm12(1));pause(tout);  
+0114     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm13(1));pause(tout);  
+0115     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm14(1));pause(tout);  
+0116     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm15(1));pause(tout);  
+0117     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,timing.ans_bpm16(1));pause(tout);   
+0118     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,timing.ans_dcct(1));pause(tout);
+0119     display(<span class="string">'Event'</span>)
+0120     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,int32(timing.sdc1(2)));pause(tout);
+0121     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(timing.lin_lpm(2)));pause(tout);
+0122     <span class="keyword">if</span> isfield(<span class="string">'timing'</span>,<span class="string">'lin_spm'</span>);tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int16(timing.lin_spm(2)));pause(tout);<span class="keyword">end</span>
+0123     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0124     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0125     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0126     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);     
+0127     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,int32(timing.lt1_emittance(2)));pause(tout);
+0128     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,int32(timing.lt1_mc1(2)));pause(tout);
+0129     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,int32(timing.lt1_mc2(2)));pause(tout);
+0130     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,int32(timing.lt1_osc(2)));pause(tout);
+0131     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,int32(timing.boo_dcct(2)));pause(tout);
+0132     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,int32(timing.boo_nod(2)));pause(tout);
+0133     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,int32(timing.boo_sep_p_inj(2)));pause(tout);
+0134     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,int32(timing.boo_k_inj(2)));pause(tout);
+0135     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>,int32(timing.boo_dp(2)));pause(tout);
+0136     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>,int32(timing.boo_qf(2)));pause(tout);
+0137     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>,int32(timing.boo_qd(2)));pause(tout);
+0138     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>,int32(timing.boo_sf(2)));pause(tout);
+0139     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>,int32(timing.boo_sd(2)));pause(tout);
+0140     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>,int32(timing.boo_rf(2)));pause(tout);
+0141     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,int32(timing.sdc2(2)));pause(tout);
+0142     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,int32(timing.boo_dof_ext(2)));pause(tout);
+0143     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,int32(timing.boo_sep_p_ext(2)));pause(tout);
+0144     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,int32(timing.boo_sep_a_ext(2)));pause(tout);
+0145     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,int32(timing.boo_k_ext(2)));pause(tout);
+0146     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.lt2_bpm(2)));pause(tout);
+0147     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,int32(timing.lt2_osc(2)));pause(tout);
+0148     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,int32(timing.lt2_emittance(2)));pause(tout);
+0149     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,int32(timing.lt2_emittance(2)));pause(tout);
+0150     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,int32(timing.ans_k1_inj(2)));pause(tout);
+0151     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,int32(timing.ans_k2_inj(2)));pause(tout);
+0152     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,int32(timing.ans_k3_inj(2)));pause(tout);
+0153     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,int32(timing.ans_k4_inj(2)));pause(tout);
+0154     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,int32(timing.ans_sep_p_inj(2)));pause(tout);
+0155     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,int32(timing.ans_sep_a_inj(2)));pause(tout);
+0156     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm01(2)));pause(tout);
+0157     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm02(2)));pause(tout);
+0158     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm03(2)));pause(tout);
+0159     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm04(2)));pause(tout);
+0160     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm05(2)));pause(tout);
+0161     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm06(2)));pause(tout);
+0162     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm07(2)));pause(tout);
+0163     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm08(2)));pause(tout);
+0164     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm09(2)));pause(tout);
+0165     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm10(2)));pause(tout);  
+0166     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm11(2)));pause(tout);  
+0167     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm12(2)));pause(tout);  
+0168     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm13(2)));pause(tout);  
+0169     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm14(2)));pause(tout);  
+0170     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm15(2)));pause(tout);  
+0171     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm16(2)));pause(tout);   
+0172     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,int32(timing.ans_dcct(2)));pause(tout);
+0173  <span class="keyword">end</span>
+0174     
+0175 
+0176 
+0177 
+0178</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_synchro_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_synchro_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_synchro_rafale.html	(revision 17)
@@ -0,0 +1,219 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of load_synchro_rafale</title>
+  <meta name="keywords" content="load_synchro_rafale">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; load_synchro_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>load_synchro_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function load_synchro_rafale(Directory,file,DirName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur7_rafale.html" class="code" title="function varargout = synchro_injecteur7_rafale(varargin)">synchro_injecteur7_rafale</a>	SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</li><li><a href="synchro_injecteur8_rafale.html" class="code" title="function varargout = synchro_injecteur8_rafale(varargin)">synchro_injecteur8_rafale</a>	SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</li></ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function load_synchro_rafale(Directory,file,DirName)</a>
+0002 <span class="comment">%</span>
+0003 
+0004 pwdold = pwd;
+0005 cd(Directory);
+0006 load(file)
+0007 cd(pwdold);
+0008 
+0009 
+0010 tout=0.;
+0011 
+0012     display(<span class="string">'off set'</span>)
+0013     <span class="keyword">if</span> isfield(timing,<span class="string">'inj_offset'</span>);inj_offset=timing.inj_offset;
+0014        <span class="keyword">if</span> isfield(timing,<span class="string">'ext_offset'</span>);ext_offset=timing.ext_offset;
+0015            <span class="keyword">if</span> isfield(timing,<span class="string">'lin_fin'</span>   );
+0016                
+0017               lin_fin   =timing.lin_fin;
+0018               FileName = [DirName <span class="string">'synchro_offset_lin'</span>];
+0019               save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0020               
+0021            <span class="keyword">end</span>
+0022        <span class="keyword">end</span>
+0023     <span class="keyword">end</span>
+0024     display(<span class="string">'Clk'</span>)
+0025     <span class="comment">% set address to value never used (prevent collision when swap adress)</span>
+0026     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,290000);
+0027     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,290010);
+0028     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,290020);
+0029     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>,290030);
+0030     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,290080);
+0031     
+0032     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscStepDelay'</span>,timing.sdc1(1));pause(tout);
+0033     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmStepDelay'</span>,timing.lin_lpm(1));pause(tout);
+0034     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareStepDelay'</span>,timing.lin_modulateur(1));
+0035     <span class="keyword">if</span> isfield(timing,<span class="string">'lin_spm'</span>);tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacStepDelay'</span>,timing.lin_spm(1));pause(tout);<span class="keyword">end</span>
+0036     <span class="keyword">if</span> isfield(timing,<span class="string">'lin_alim'</span>);tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'libre.1StepDelay'</span>,timing.lin_alim(1));pause(tout);<span class="keyword">end</span>
+0037     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigStepDelay'</span>,timing.boo_bpm(1));pause(tout);
+0038     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigStepDelay'</span>,timing.boo_bpm(1));pause(tout);
+0039     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigStepDelay'</span>,timing.boo_bpm(1));pause(tout);
+0040     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigStepDelay'</span>,timing.boo_bpm(1));pause(tout);     
+0041     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceStepDelay'</span>,timing.lt1_emittance(1));pause(tout);
+0042     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1StepDelay'</span>,timing.lt1_mc1(1));pause(tout);
+0043     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2StepDelay'</span>,timing.lt1_mc2(1));pause(tout);
+0044     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscStepDelay'</span>,timing.lt1_osc(1));pause(tout);
+0045     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booStepDelay'</span>,timing.boo_dcct(1));pause(tout);
+0046     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigStepDelay'</span>,timing.boo_nod(1));pause(tout);
+0047     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigStepDelay'</span>,timing.boo_sep_p_inj(1));pause(tout);
+0048     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigStepDelay'</span>,timing.boo_k_inj(1));pause(tout);
+0049     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpStepDelay'</span>,timing.boo_dp(1));pause(tout);
+0050     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfStepDelay'</span>,timing.boo_qf(1));pause(tout);
+0051     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdStepDelay'</span>,timing.boo_qd(1));pause(tout);
+0052     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfStepDelay'</span>,timing.boo_sf(1));pause(tout);
+0053     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdStepDelay'</span>,timing.boo_sd(1));pause(tout);
+0054     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfStepDelay'</span>,timing.boo_rf(1));pause(tout);
+0055     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareStepDelay'</span>,timing.sdc2(1));pause(tout);
+0056     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigStepDelay'</span>,timing.boo_dof_ext(1));pause(tout);
+0057     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigStepDelay'</span>,timing.boo_sep_p_ext(1));pause(tout);
+0058     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>,timing.boo_sep_a_ext(1));pause(tout);
+0059     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigStepDelay'</span>,timing.boo_k_ext(1));pause(tout);
+0060     <span class="keyword">if</span> isfield(timing,<span class="string">'boo_mrsv'</span>);tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceStepDelay'</span>,timing.boo_mrsv(1));pause(tout);<span class="keyword">end</span>
+0061     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.lt2_bpm(1));pause(tout);
+0062     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctStepDelay'</span>,timing.lt2_osc(1));pause(tout);
+0063     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvStepDelay'</span>,timing.lt2_emittance(1));pause(tout);
+0064     
+0065     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,timing.ans_k1_inj(1));pause(tout);
+0066     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,timing.ans_k2_inj(1));pause(tout);
+0067     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,timing.ans_k3_inj(1));pause(tout);
+0068     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,timing.ans_k4_inj(1));pause(tout);
+0069     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigStepDelay'</span>,timing.ans_sep_p_inj(1));pause(tout);
+0070     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>,timing.ans_sep_a_inj(1));pause(tout);
+0071     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm01(1));pause(tout);
+0072     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm02(1));pause(tout);
+0073     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm03(1));pause(tout);
+0074     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm04(1));pause(tout);
+0075     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm05(1));pause(tout);
+0076     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm06(1));pause(tout);
+0077     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm07(1));pause(tout);
+0078     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm08(1));pause(tout);
+0079     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm09(1));pause(tout);
+0080     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm10(1));pause(tout);  
+0081     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm11(1));pause(tout);  
+0082     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm12(1));pause(tout);  
+0083     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm13(1));pause(tout);  
+0084     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm14(1));pause(tout);  
+0085     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm15(1));pause(tout);  
+0086     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm16(1));pause(tout);   
+0087     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctStepDelay'</span>,timing.ans_dcct(1));pause(tout);  
+0088     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_nod'</span>) ;tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteStepDelay'</span>,timing.ans_nod(1));pause(tout);<span class="keyword">end</span>  
+0089    
+0090     
+0091     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_hv_pc'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcStepDelay'</span>,timing.ans_k_hv_pc(1));pause(tout);<span class="keyword">end</span>  
+0092     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_v'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>,timing.ans_k_v(1));pause(tout);<span class="keyword">end</span>  
+0093     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_h'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>,timing.ans_k_h(1));pause(tout);<span class="keyword">end</span>  
+0094 
+0095     display(<span class="string">'Event'</span>)
+0096     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,int32(timing.sdc1(2)));pause(tout);
+0097     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(timing.lin_lpm(2)));pause(tout);
+0098     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,int32(timing.lin_modulateur(2)));
+0099     <span class="keyword">if</span> isfield(timing,<span class="string">'lin_spm'</span>);tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int32(timing.lin_spm(2)));pause(tout);<span class="keyword">end</span>
+0100     <span class="keyword">if</span> isfield(timing,<span class="string">'lin_alim'</span>);tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'libre.1Event'</span>,int32(timing.lin_alim(2)));pause(tout);<span class="keyword">end</span>
+0101     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0102     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0103     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0104     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);     
+0105     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,int32(timing.lt1_emittance(2)));pause(tout);
+0106     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,int32(timing.lt1_mc1(2)));pause(tout);
+0107     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,int32(timing.lt1_mc2(2)));pause(tout);
+0108     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,int32(timing.lt1_osc(2)));pause(tout);
+0109     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,int32(timing.boo_dcct(2)));pause(tout);
+0110     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,int32(timing.boo_nod(2)));pause(tout);
+0111     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,int32(timing.boo_sep_p_inj(2)));pause(tout);
+0112     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,int32(timing.boo_k_inj(2)));pause(tout);
+0113     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>,int32(timing.boo_dp(2)));pause(tout);
+0114     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>,int32(timing.boo_qf(2)));pause(tout);
+0115     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>,int32(timing.boo_qd(2)));pause(tout);
+0116     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>,int32(timing.boo_sf(2)));pause(tout);
+0117     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>,int32(timing.boo_sd(2)));pause(tout);
+0118     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>,int32(timing.boo_rf(2)));pause(tout);
+0119     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,int32(timing.sdc2(2)));pause(tout);
+0120     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,int32(timing.boo_dof_ext(2)));pause(tout);
+0121     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,int32(timing.boo_sep_p_ext(2)));pause(tout);
+0122     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,int32(timing.boo_sep_a_ext(2)));pause(tout);
+0123     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,int32(timing.boo_k_ext(2)));pause(tout);
+0124     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.lt2_bpm(2)));pause(tout);
+0125     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,int32(timing.lt2_osc(2)));pause(tout);
+0126     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,int32(timing.lt2_emittance(2)));pause(tout);
+0127     <span class="keyword">if</span> isfield(timing,<span class="string">'boo_mrsv'</span>);tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,int32(timing.boo_mrsv(2)));pause(tout);<span class="keyword">end</span>
+0128     arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; 
+0129     arg.lvalue=int32([timing.ans_k1_inj(2) timing.ans_k2_inj(2) timing.ans_k3_inj(2) timing.ans_k4_inj(2)]); 
+0130     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃÂ© address sans update</span>
+0131     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);pause(tout);
+0132     
+0133     arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>};
+0134     arg.lvalue=int32([timing.ans_sep_p_inj(2) timing.ans_sep_a_inj(2)]);
+0135     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃÂ© address sans update</span>
+0136     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);pause(tout);
+0137    
+0138     
+0139     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm01(2)));pause(tout);
+0140     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm02(2)));pause(tout);
+0141     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm03(2)));pause(tout);
+0142     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm04(2)));pause(tout);
+0143     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm05(2)));pause(tout);
+0144     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm06(2)));pause(tout);
+0145     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm07(2)));pause(tout);
+0146     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm08(2)));pause(tout);
+0147     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm09(2)));pause(tout);
+0148     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm10(2)));pause(tout);  
+0149     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm11(2)));pause(tout);  
+0150     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm12(2)));pause(tout);  
+0151     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm13(2)));pause(tout);  
+0152     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm14(2)));pause(tout);  
+0153     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm15(2)));pause(tout);  
+0154     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm16(2)));pause(tout);   
+0155     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,int32(timing.ans_dcct(2)));pause(tout);
+0156     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_nod'</span>) ;tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteEvent'</span>,int32(timing.ans_nod(2)));pause(tout);<span class="keyword">end</span>  
+0157     
+0158     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_hv_pc'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcEvent'</span>,int32(timing.ans_k_hv_pc(2)));pause(tout);<span class="keyword">end</span>  
+0159     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_v'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigEvent'</span>,int32(timing.ans_k_v(2)));pause(tout);<span class="keyword">end</span>  
+0160     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_h'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigEvent'</span>,int32(timing.ans_k_h(2)));pause(tout);<span class="keyword">end</span>  
+0161     
+0162     <span class="comment">% apply good value</span>
+0163     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,timing.central_pc);
+0164     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,timing.central_inj);
+0165     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,timing.central_soft);
+0166     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprStepDelay'</span>,timing.central_spare);
+0167     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,timing.central_ext);
+0168  
+0169     
+0170 display(<span class="string">'OK'</span>)
+0171 
+0172</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_table.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_table.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/load_table.html	(revision 17)
@@ -0,0 +1,59 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of load_table</title>
+  <meta name="keywords" content="load_table">
+  <meta name="description" content="test load table synchro">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; load_table.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>load_table
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>test load table synchro</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> test load table synchro</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% test load table synchro</span>
+0002 
+0003 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+0004 offset_ext=temp.value(1)*52;
+0005 offset_linac=10*0.5;  <span class="comment">% dÃ©lai fin de rÃ©glage en pas de 100 ps</span>
+0006 
+0007 paq=3;
+0008 bunch=1:1;
+0009 
+0010 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+0011 dpaquet=dpaquet*28+offset_linac;
+0012 table=int32([length(bunch) dtour dpaquet]);
+0013 tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/qart_inject.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/qart_inject.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/qart_inject.html	(revision 17)
@@ -0,0 +1,201 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of qart_inject</title>
+  <meta name="keywords" content="qart_inject">
+  <meta name="description" content="QART_INJECT M-file for qart_inject.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; qart_inject.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>qart_inject
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>QART_INJECT M-file for qart_inject.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = qart_inject(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> QART_INJECT M-file for qart_inject.fig
+      QART_INJECT, by itself, creates a new QART_INJECT or raises the existing
+      singleton*.
+
+      H = QART_INJECT returns the handle to a new QART_INJECT or the handle to
+      the existing singleton*.
+
+      QART_INJECT('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in QART_INJECT.M with the given input arguments.
+
+      QART_INJECT('Property','Value',...) creates a new QART_INJECT or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before qart_inject_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to qart_inject_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function qart_inject_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = qart_inject_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function button_quart1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function button_quart2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function button_quart3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function button_quart4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = qart_inject(varargin)</a>
+0002 <span class="comment">% QART_INJECT M-file for qart_inject.fig</span>
+0003 <span class="comment">%      QART_INJECT, by itself, creates a new QART_INJECT or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = QART_INJECT returns the handle to a new QART_INJECT or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      QART_INJECT('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in QART_INJECT.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      QART_INJECT('Property','Value',...) creates a new QART_INJECT or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before qart_inject_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to qart_inject_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help qart_inject</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 16-Jun-2006 16:20:58</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction qart_inject_OpeningFcn(hObject, eventdata, handles, varargin)">qart_inject_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = qart_inject_OutputFcn(hObject, eventdata, handles)">qart_inject_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before qart_inject is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function qart_inject_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to qart_inject (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for qart_inject</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% Update handles structure</span>
+0059 guidata(hObject, handles);
+0060 
+0061 <span class="comment">% UIWAIT makes qart_inject wait for user response (see UIRESUME)</span>
+0062 <span class="comment">% uiwait(handles.figure1);</span>
+0063 
+0064 
+0065 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0066 <a name="_sub2" href="#_subfunctions" class="code">function varargout = qart_inject_OutputFcn(hObject, eventdata, handles) </a>
+0067 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0068 <span class="comment">% hObject    handle to figure</span>
+0069 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0070 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0071 
+0072 <span class="comment">% Get default command line output from handles structure</span>
+0073 varargout{1} = handles.output;
+0074 
+0075 
+0076 <span class="comment">% --- Executes on button press in button_quart1.</span>
+0077 <a name="_sub3" href="#_subfunctions" class="code">function button_quart1_Callback(hObject, eventdata, handles)</a>
+0078 <span class="comment">% hObject    handle to button_quart1 (see GCBO)</span>
+0079 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0080 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0081 
+0082 set(handles.edit1,<span class="string">'String'</span>,<span class="string">' Running, wait !'</span>);
+0083 injection_quart(1);
+0084 set(handles.edit1,<span class="string">'String'</span>,<span class="string">'Injection sur quart 1 OK'</span>);
+0085 
+0086 <span class="comment">% --- Executes on button press in button_quart2.</span>
+0087 <a name="_sub4" href="#_subfunctions" class="code">function button_quart2_Callback(hObject, eventdata, handles)</a>
+0088 <span class="comment">% hObject    handle to button_quart2 (see GCBO)</span>
+0089 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0090 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0091 set(handles.edit1,<span class="string">'String'</span>,<span class="string">' Running, wait !'</span>);
+0092 injection_quart(2);
+0093 set(handles.edit1,<span class="string">'String'</span>,<span class="string">'Injection sur quart 2 OK'</span>);
+0094 
+0095 <span class="comment">% --- Executes on button press in button_quart3.</span>
+0096 <a name="_sub5" href="#_subfunctions" class="code">function button_quart3_Callback(hObject, eventdata, handles)</a>
+0097 <span class="comment">% hObject    handle to button_quart3 (see GCBO)</span>
+0098 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0099 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0100 set(handles.edit1,<span class="string">'String'</span>,<span class="string">' Running, wait !'</span>);
+0101 injection_quart(3);
+0102 set(handles.edit1,<span class="string">'String'</span>,<span class="string">'Injection sur quart 3 OK'</span>);
+0103 
+0104 <span class="comment">% --- Executes on button press in button_quart4.</span>
+0105 <a name="_sub6" href="#_subfunctions" class="code">function button_quart4_Callback(hObject, eventdata, handles)</a>
+0106 <span class="comment">% hObject    handle to button_quart4 (see GCBO)</span>
+0107 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0108 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0109 set(handles.edit1,<span class="string">'String'</span>,<span class="string">' Running, wait !'</span>);
+0110 injection_quart(4);
+0111 set(handles.edit1,<span class="string">'String'</span>,<span class="string">'Injection sur quart 4 OK'</span>);
+0112 
+0113 <a name="_sub7" href="#_subfunctions" class="code">function edit1_Callback(hObject, eventdata, handles)</a>
+0114 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0115 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0116 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0117 
+0118 <span class="comment">% Hints: get(hObject,'String') returns contents of edit1 as text</span>
+0119 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit1 as a double</span>
+0120 
+0121 
+0122 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0123 <a name="_sub8" href="#_subfunctions" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a>
+0124 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0125 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0126 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0127 
+0128 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0129 <span class="comment">%       See ISPC and COMPUTER.</span>
+0130 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0131     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0132 <span class="keyword">end</span>
+0133 
+0134</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/quart_inject.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/quart_inject.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/quart_inject.html	(revision 17)
@@ -0,0 +1,201 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of quart_inject</title>
+  <meta name="keywords" content="quart_inject">
+  <meta name="description" content="QUART_INJECT M-file for quart_inject.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; quart_inject.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>quart_inject
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>QUART_INJECT M-file for quart_inject.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = quart_inject(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> QUART_INJECT M-file for quart_inject.fig
+      QUART_INJECT, by itself, creates a new QUART_INJECT or raises the existing
+      singleton*.
+
+      H = QUART_INJECT returns the handle to a new QUART_INJECT or the handle to
+      the existing singleton*.
+
+      QUART_INJECT('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in QUART_INJECT.M with the given input arguments.
+
+      QUART_INJECT('Property','Value',...) creates a new QUART_INJECT or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before quart_inject_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to quart_inject_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function quart_inject_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = quart_inject_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function button_quart1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function button_quart2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function button_quart3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function button_quart4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = quart_inject(varargin)</a>
+0002 <span class="comment">% QUART_INJECT M-file for quart_inject.fig</span>
+0003 <span class="comment">%      QUART_INJECT, by itself, creates a new QUART_INJECT or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = QUART_INJECT returns the handle to a new QUART_INJECT or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      QUART_INJECT('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in QUART_INJECT.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      QUART_INJECT('Property','Value',...) creates a new QUART_INJECT or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before quart_inject_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to quart_inject_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help quart_inject</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 16-Jun-2006 16:20:58</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction quart_inject_OpeningFcn(hObject, eventdata, handles, varargin)">quart_inject_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = quart_inject_OutputFcn(hObject, eventdata, handles)">quart_inject_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before quart_inject is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function quart_inject_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to quart_inject (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for quart_inject</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% Update handles structure</span>
+0059 guidata(hObject, handles);
+0060 
+0061 <span class="comment">% UIWAIT makes quart_inject wait for user response (see UIRESUME)</span>
+0062 <span class="comment">% uiwait(handles.figure1);</span>
+0063 
+0064 
+0065 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0066 <a name="_sub2" href="#_subfunctions" class="code">function varargout = quart_inject_OutputFcn(hObject, eventdata, handles) </a>
+0067 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0068 <span class="comment">% hObject    handle to figure</span>
+0069 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0070 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0071 
+0072 <span class="comment">% Get default command line output from handles structure</span>
+0073 varargout{1} = handles.output;
+0074 
+0075 
+0076 <span class="comment">% --- Executes on button press in button_quart1.</span>
+0077 <a name="_sub3" href="#_subfunctions" class="code">function button_quart1_Callback(hObject, eventdata, handles)</a>
+0078 <span class="comment">% hObject    handle to button_quart1 (see GCBO)</span>
+0079 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0080 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0081 
+0082 set(handles.edit1,<span class="string">'String'</span>,<span class="string">' Running, wait !'</span>);
+0083 injection_quart(1);
+0084 set(handles.edit1,<span class="string">'String'</span>,<span class="string">'Injection sur quart 1 OK'</span>);
+0085 
+0086 <span class="comment">% --- Executes on button press in button_quart2.</span>
+0087 <a name="_sub4" href="#_subfunctions" class="code">function button_quart2_Callback(hObject, eventdata, handles)</a>
+0088 <span class="comment">% hObject    handle to button_quart2 (see GCBO)</span>
+0089 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0090 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0091 set(handles.edit1,<span class="string">'String'</span>,<span class="string">' Running, wait !'</span>);
+0092 injection_quart(2);
+0093 set(handles.edit1,<span class="string">'String'</span>,<span class="string">'Injection sur quart 2 OK'</span>);
+0094 
+0095 <span class="comment">% --- Executes on button press in button_quart3.</span>
+0096 <a name="_sub5" href="#_subfunctions" class="code">function button_quart3_Callback(hObject, eventdata, handles)</a>
+0097 <span class="comment">% hObject    handle to button_quart3 (see GCBO)</span>
+0098 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0099 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0100 set(handles.edit1,<span class="string">'String'</span>,<span class="string">' Running, wait !'</span>);
+0101 injection_quart(3);
+0102 set(handles.edit1,<span class="string">'String'</span>,<span class="string">'Injection sur quart 3 OK'</span>);
+0103 
+0104 <span class="comment">% --- Executes on button press in button_quart4.</span>
+0105 <a name="_sub6" href="#_subfunctions" class="code">function button_quart4_Callback(hObject, eventdata, handles)</a>
+0106 <span class="comment">% hObject    handle to button_quart4 (see GCBO)</span>
+0107 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0108 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0109 set(handles.edit1,<span class="string">'String'</span>,<span class="string">' Running, wait !'</span>);
+0110 injection_quart(4);
+0111 set(handles.edit1,<span class="string">'String'</span>,<span class="string">'Injection sur quart 4 OK'</span>);
+0112 
+0113 <a name="_sub7" href="#_subfunctions" class="code">function edit1_Callback(hObject, eventdata, handles)</a>
+0114 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0115 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0116 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0117 
+0118 <span class="comment">% Hints: get(hObject,'String') returns contents of edit1 as text</span>
+0119 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit1 as a double</span>
+0120 
+0121 
+0122 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0123 <a name="_sub8" href="#_subfunctions" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a>
+0124 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0125 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0126 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0127 
+0128 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0129 <span class="comment">%       See ISPC and COMPUTER.</span>
+0130 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0131     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0132 <span class="keyword">end</span>
+0133 
+0134</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/rampe_boo.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/rampe_boo.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/rampe_boo.html	(revision 17)
@@ -0,0 +1,49 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of rampe_boo</title>
+  <meta name="keywords" content="rampe_boo">
+  <meta name="description" content="test laps rampe boo">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; rampe_boo.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>rampe_boo
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>test laps rampe boo</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> test laps rampe boo</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% test laps rampe boo</span>
+0002</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/restore_synch.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/restore_synch.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/restore_synch.html	(revision 17)
@@ -0,0 +1,56 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of restore_synch</title>
+  <meta name="keywords" content="restore_synch">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; restore_synch.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>restore_synch
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function restore_synch </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function restore_synch</a>
+0002 
+0003 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigStepDelay'</span>,31522105);
+0004 
+0005 
+0006 FileName = fullfile(getfamilydata(<span class="string">'Directory'</span>, <span class="string">'Synchro'</span>), <span class="string">'synchro_offset_lin'</span>);
+0007 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0008 ext_offset=179000;
+0009 save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/retour_update.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/retour_update.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/retour_update.html	(revision 17)
@@ -0,0 +1,58 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of retour_update</title>
+  <meta name="keywords" content="retour_update">
+  <meta name="description" content="retour update">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; retour_update.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>retour_update
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>retour update</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function retour_update(carte,r) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> retour update</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur5.html" class="code" title="function varargout = synchro_injecteur5(varargin)">synchro_injecteur5</a>	SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</li><li><a href="synchro_injecteur6.html" class="code" title="function varargout = synchro_injecteur6(varargin)">synchro_injecteur6</a>	SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</li><li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li><li><a href="synchro_survey.html" class="code" title="function varargout = synchro_survey(varargin)">synchro_survey</a>	SYNCHRO_SURVEY M-file for synchro_survey.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% retour update</span>
+0002 
+0003 <a name="_sub0" href="#_subfunctions" class="code">function retour_update(carte,r)</a>
+0004 
+0005 <span class="keyword">if</span>     (r==0)
+0006     fprintf(<span class="string">'Carte %s = OK\n'</span>,carte)
+0007 <span class="keyword">elseif</span> (r==-1)
+0008     fprintf(<span class="string">'Carte %s = Probleme\n'</span>,carte)
+0009 <span class="keyword">end</span>
+0010 
+0011     
+0012 pause(0.5)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/scan_synchro_KHV.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/scan_synchro_KHV.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/scan_synchro_KHV.html	(revision 17)
@@ -0,0 +1,96 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of scan_synchro_KHV</title>
+  <meta name="keywords" content="scan_synchro_KHV">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; scan_synchro_KHV.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>scan_synchro_KHV
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function scan_synchro_KHV </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function scan_synchro_KHV</a>
+0002 
+0003 fprintf(<span class="string">'************ scan KHV ********** \n'</span>);
+0004 
+0005 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>);kv0=temp.value(1);
+0006 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>);kh0=temp.value(1);
+0007 
+0008 delay=[];
+0009 xx=[];
+0010 <span class="keyword">for</span> i=0:16:208  <span class="comment">% scan sur un tour</span>
+0011     <span class="comment">% setp les clk</span>
+0012     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>,(kh0+i) );
+0013     <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay',(kv0+i) );</span>
+0014     delay=[delay (i)];
+0015     pause(1)
+0016     
+0017     <span class="comment">% read again</span>
+0018     temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>);kh1=temp.value(1);
+0019     <span class="comment">%temp=tango_read_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-v.trigStepDelay');kv1=temp.value(1);</span>
+0020     
+0021     <span class="comment">% dÃ©clenche les kickers</span>
+0022     tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+0023     pause(2)
+0024     
+0025     <span class="comment">% get DD sur BPM02</span>
+0026     temp=tango_read_attribute2(<span class="string">'ANS-C01/DG/BPM.2'</span>,<span class="string">'XPosDD'</span>);
+0027     X=temp.value;
+0028     X=X(1:50);
+0029     X=X-mean(X);
+0030     Xmin=min(X);
+0031     Xmax=max(X);
+0032     Xrms=std(X);
+0033     dx=(Xmax-Xmin)/2;
+0034     xx=[xx dx];
+0035     
+0036     figure(5)
+0037     subplot(2,1,1)
+0038     plot(X,<span class="string">'-ob'</span>);xlabel(<span class="string">'Tour'</span>);ylabel(<span class="string">'Amp  (mm)'</span>);grid on
+0039     subplot(2,1,2)
+0040     plot(delay,xx,<span class="string">'-ob'</span>);xlabel(<span class="string">'Step Delay'</span>);ylabel(<span class="string">'Amp max (mm)'</span>);grid on
+0041    
+0042     
+0043     fprintf(<span class="string">'StepDelay  KH= %d   Amplitude BPM02=%d \n'</span>,kh1,dx);
+0044    
+0045 <span class="keyword">end</span>
+0046 
+0047 
+0048 
+0049 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>,(kh0) );</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set66MeV.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set66MeV.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set66MeV.html	(revision 17)
@@ -0,0 +1,90 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set66MeV</title>
+  <meta name="keywords" content="set66MeV">
+  <meta name="description" content="set 66 MeV">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set66MeV.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set66MeV
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>set 66 MeV</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set66MeV </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> set 66 MeV</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set66MeV</a>
+0002 <span class="comment">% set 66 MeV</span>
+0003 
+0004 E1=110;
+0005 E2=110;
+0006 
+0007 <span class="comment">% %save start value</span>
+0008 <span class="comment">% %to comment after</span>
+0009 <span class="comment">% HCOR=getsp('HCOR');</span>
+0010 <span class="comment">% VCOR=getsp('VCOR');</span>
+0011 <span class="comment">% temp=tango_read_attribute2('BOO-C01/EP/AL_K.Inj','voltage');kicker=temp.value(2);</span>
+0012 <span class="comment">% temp=tango_read_attribute2('BOO-C22/EP/AL_SEP_P.Inj','voltage');septum=temp.value(2);</span>
+0013 <span class="comment">% temp=tango_read_attribute('LT1/AE/CV.2', 'current');cv2=temp.value(2);</span>
+0014 <span class="comment">% temp=tango_read_attribute('LT1/AE/CV.3', 'current');cv3=temp.value(2);</span>
+0015 <span class="comment">% save data_110MeV.mat HCOR VCOR kicker septum cv2 cv3</span>
+0016 <span class="comment">%</span>
+0017 <span class="comment">% return</span>
+0018 
+0019 load data_110MeV.mat
+0020 
+0021 
+0022 <span class="comment">% Make scaling</span>
+0023 r=E2/E1;
+0024 kicker1  =kicker*r;
+0025 septum1  =septum*r;
+0026 HCOR1    =HCOR*r;
+0027 VCOR1    =VCOR*r;
+0028 cv21     =cv2*r;
+0029 cv31     =cv3*r;
+0030 
+0031 <span class="comment">% write new values</span>
+0032 tango_write_attribute2(<span class="string">'BOO-C01/EP/AL_K.Inj'</span>,<span class="string">'voltage'</span>,kicker1)
+0033 tango_write_attribute2(<span class="string">'BOO-C22/EP/AL_SEP_P.Inj'</span>,<span class="string">'voltage'</span>,septum1)
+0034 
+0035 setam(<span class="string">'HCOR'</span>, HCOR1);
+0036 setam(<span class="string">'VCOR'</span>, VCOR1);
+0037 
+0038 <span class="comment">%tango_write_attribute('LT1/AE/CV.2', 'current',  cv21 );</span>
+0039 <span class="comment">%tango_write_attribute('LT1/AE/CV.3', 'current',  cv31 );</span>
+0040 
+0041 fprintf(<span class="string">'Scaling off booster HVCOR, Kicker, Septum and LT2 CV2,3 done from %5.1f to %5.1f MeV \n'</span>,E1,E2)
+0042 
+0043 <span class="keyword">return</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_70MeV.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_70MeV.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_70MeV.html	(revision 17)
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_70MeV</title>
+  <meta name="keywords" content="set_70MeV">
+  <meta name="description" content="SET_70MEV Summary of this function goes here">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_70MeV.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_70MeV
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SET_70MEV Summary of this function goes here</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_70MeV </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">SET_70MEV Summary of this function goes here
+   Detailed explanation goes here
+ linac fired 5 ms before (70 MeV versus 110 MeV)</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_70MeV</a>
+0002 <span class="comment">%SET_70MEV Summary of this function goes here</span>
+0003 <span class="comment">%   Detailed explanation goes here</span>
+0004 <span class="comment">% linac fired 5 ms before (70 MeV versus 110 MeV)</span>
+0005 
+0006 <span class="comment">% % Get initial 110 MeV value</span>
+0007 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');</span>
+0008 <span class="comment">% TInj0=temp.value(1);</span>
+0009 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue');</span>
+0010 <span class="comment">% TExt0=temp.value(1);</span>
+0011 <span class="comment">% save 'initial110MeV.mat'  TInj0  TExt0</span>
+0012 
+0013 
+0014 <span class="comment">% Step by delai Tinj and Text of central</span>
+0015 load <span class="string">'initial110MeV.mat'</span>  TInj0  TExt0
+0016 
+0017 delai=-5000; <span class="comment">% in Âµs</span>
+0018 TInj=TInj0 + delai;
+0019 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,TInj);
+0020 
+0021 <span class="comment">%TExt=TExt0 + delai;</span>
+0022 <span class="comment">%tango_write_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay',TExt);</span></pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump.html	(revision 17)
@@ -0,0 +1,69 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump</title>
+  <meta name="keywords" content="set_bump">
+  <meta name="description" content="bump equilibrÃ© voltage et synchro">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>bump equilibrÃ© voltage et synchro</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump1 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> bump equilibrÃ© voltage et synchro</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump1</a>
+0002 
+0003 <span class="comment">% bump equilibrÃ© voltage et synchro</span>
+0004 
+0005 delai0 =31522324;  
+0006 voltage0=4000;  
+0007 r=1.05
+0008 
+0009 
+0010 
+0011 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-4+1);
+0012 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+0);
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+1-1);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-1);
+0015 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(4130*r));
+0016 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(3980*r));
+0017 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(4080*r));
+0018 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(4000*r));
+0019     
+0020     
+0021 
+0022     
+0023</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump0.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump0.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump0.html	(revision 17)
@@ -0,0 +1,68 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump0</title>
+  <meta name="keywords" content="set_bump0">
+  <meta name="description" content="bump equilibrÃ© voltage et synchro">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump0.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump0
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>bump equilibrÃ© voltage et synchro</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump0 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> bump equilibrÃ© voltage et synchro</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump0</a>
+0002 
+0003 <span class="comment">% bump equilibrÃ© voltage et synchro</span>
+0004 
+0005 delai0 =31522324;  
+0006 voltage0=4000;  
+0007 r=1.05
+0008 
+0009 
+0010 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0);
+0011 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0);
+0012 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0);
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(voltage0*r));
+0015 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(voltage0*r));
+0016 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(voltage0*r));
+0017 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(voltage0*r));
+0018 
+0019 
+0020 
+0021 
+0022</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump1.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump1.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump1.html	(revision 17)
@@ -0,0 +1,67 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump1</title>
+  <meta name="keywords" content="set_bump1">
+  <meta name="description" content="premiÃšre optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump1.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump1
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>premiÃšre optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump1 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> premiÃšre optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump1</a>
+0002 
+0003 <span class="comment">% premiÃšre optimisation du bump</span>
+0004 
+0005 delai0 =31522324;  
+0006 voltage0=4000;  
+0007 r=1.05
+0008 
+0009 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-4+1);
+0010 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+0);
+0011 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+1-1);
+0012 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-1);
+0013 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(4130*r));
+0014 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(3980*r));
+0015 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(4080*r));
+0016 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(4000*r));
+0017     
+0018     
+0019 
+0020     
+0021</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump2.html	(revision 17)
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump2</title>
+  <meta name="keywords" content="set_bump2">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump2 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump2</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 delai0 =31522324;  
+0006 voltage0=4000;  
+0007 r=1.4
+0008 
+0009 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-3);
+0010 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+0);
+0011 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0);
+0012 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0);
+0013 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(3000*r));
+0014 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(2960*r));
+0015 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(2900*r));
+0016 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(2880*r));
+0017 
+0018 
+0019</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump3.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump3.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump3.html	(revision 17)
@@ -0,0 +1,66 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump3</title>
+  <meta name="keywords" content="set_bump3">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump3.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump3
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump3 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump3</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 delai0 =31522244;  
+0006 voltage0=3000;  
+0007 r=1.4*1.35
+0008 
+0009 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0+2);
+0010 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+6);
+0011 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+6);
+0012 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+5);
+0013 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(3000*r));
+0014 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(2970*r));
+0015 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(2880*r));
+0016 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(2895*r));
+0017 
+0018 
+0019 
+0020</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump4.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump4.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump4.html	(revision 17)
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump4</title>
+  <meta name="keywords" content="set_bump4">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump4.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump4
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump4 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump4</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 delai0 =31522246;  
+0006 voltage0=3000;  
+0007 r=1.
+0008 
+0009 k=0;
+0010 
+0011 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0  + k);
+0012 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+4  + k);
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+4  + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+3 + k);
+0015 
+0016 
+0017 <span class="keyword">return</span>
+0018 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(5670*r));
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(5637*r));
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(5434*r));
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(5567*r));
+0022 
+0023 
+0024 
+0025</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump5.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump5.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump5.html	(revision 17)
@@ -0,0 +1,70 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump5</title>
+  <meta name="keywords" content="set_bump5">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump5.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump5
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump5 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump5</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 delai0 =31522246;  
+0006 voltage0=3000;  
+0007 r=1.1
+0008 
+0009 k=0;
+0010 
+0011 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0+0  + k);
+0012 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+5  + k);
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+4  + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+1  + k);
+0015 
+0016 
+0017 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(5650*r));
+0018 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(5626.8*r));
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(5434.2*r));
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(5471.6*r));
+0021 
+0022 
+0023 
+0024</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump6.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump6.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump6.html	(revision 17)
@@ -0,0 +1,78 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump6</title>
+  <meta name="keywords" content="set_bump6">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump6.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump6
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump6 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump6</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 delai0 =31522246;  
+0006 voltage0=3000;  
+0007 r=1.05
+0008 r1=1
+0009 
+0010 k=0;
+0011 
+0012  tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0  + k);
+0013  tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+5  + k);
+0014  tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+4  + k);
+0015  tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+1  + k);
+0016 
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(5650*r));
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(5626.8*r));
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(5428.2*r));
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(5481.6*r));
+0023 
+0024 <span class="keyword">return</span>
+0025 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(5608*r));
+0026 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(5560*r));
+0027 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(5530*r*r1));
+0028 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(5594*r*r1));
+0029 
+0030 
+0031 
+0032</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump7.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump7.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump7.html	(revision 17)
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump7</title>
+  <meta name="keywords" content="set_bump7">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump7.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump7
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump6 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump6</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 delai0 =31522246;  
+0006 voltage0=3000;  
+0007 r=1.0
+0008 r1=1.05
+0009 
+0010 k=0;
+0011 
+0012  tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0  + k);
+0013  tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3  + k);
+0014  tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+5  + k);
+0015  tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+1  + k);
+0016 
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(5932.5*r));
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(5908.14*r));
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(5780.61*r));
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(5876.18*r));
+0023 
+0024 
+0025 
+0026 <span class="keyword">return</span>
+0027 
+0028 
+0029</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump8_test_kicker.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump8_test_kicker.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump8_test_kicker.html	(revision 17)
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump8_test_kicker</title>
+  <meta name="keywords" content="set_bump8_test_kicker">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump8_test_kicker.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump8_test_kicker
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump8_1 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump8_1</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">%delai0 =31522246;</span>
+0006 delai0 =5621670;
+0007 voltage0=3000;  
+0008 r=0.85    <span class="comment">% ratio global</span>
+0009 r1=1.010  <span class="comment">% ratio 2 derniers kicker</span>
+0010 
+0011 k=0;
+0012 
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0     + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+4 -4  + k);
+0015 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+5 +0    + k);
+0016 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+2 +0  + k);
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(6240*r          +90));
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,((6200-0)*r      -90));
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,((6040+0)*r)*r1  +90);
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(6200*r)*r1      -90);
+0023 
+0024 
+0025 
+0026 <span class="keyword">return</span>
+0027 
+0028 
+0029</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_optim.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_optim.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_optim.html	(revision 17)
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_optim</title>
+  <meta name="keywords" content="set_bump_optim">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_optim.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_optim
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_optim </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_optim</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">%delai0 =31522246;</span>
+0006 delai0 =5621670;
+0007 voltage0=3000;  
+0008 r=0.90   <span class="comment">% ratio global</span>
+0009 r1=1.010  <span class="comment">% ratio 2 derniers kicker</span>
+0010 
+0011 k=+0;
+0012 
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0     + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3    + k);
+0015 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+2    + k);
+0016 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-1    + k);
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(((6240+0)*r)   +80) );
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(((6200-0)*r)   -40  ) ); 
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(((6050+0)*r)*r1+90  ) );
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(((6200+0)*r)*r1-70  ) ); 
+0023 
+0024 
+0025 
+0026 <span class="keyword">return</span>
+0027 
+0028 
+0029</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_run1_2009.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_run1_2009.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_run1_2009.html	(revision 17)
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_run1_2009</title>
+  <meta name="keywords" content="set_bump_run1_2009">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_run1_2009.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_run1_2009
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_run7_2008 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_run7_2008</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">%delai0 =31522246;</span>
+0006 delai0 =5621670;
+0007 voltage0=3000;  
+0008 r=0.9;    <span class="comment">% ratio global</span>
+0009 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span>
+0010 
+0011 k=+0;
+0012 
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0    + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3 +3    + k);
+0015 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+2     + k);
+0016 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+4  +1   + k);
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(((6240+0)*r)   -40  +35 ));
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(((6200-0)*r)   +30   )); 
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(((6050+0)*r)*r1+68   ));
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(((6200+0)*r)*r1-100 +35 )); 
+0023 
+0024 
+0025 
+0026 <span class="keyword">return</span>
+0027 
+0028 
+0029</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_run7_2008.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_run7_2008.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_run7_2008.html	(revision 17)
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_run7_2008</title>
+  <meta name="keywords" content="set_bump_run7_2008">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_run7_2008.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_run7_2008
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_run7_2008 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_run7_2008</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">%delai0 =31522246;</span>
+0006 delai0 =5621670;
+0007 voltage0=3000;  
+0008 r=0.95;    <span class="comment">% ratio global</span>
+0009 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span>
+0010 
+0011 k=+0;
+0012 
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0 + 5 -5    + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3 -  0     + k);
+0015 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+2 - 0       + k);
+0016 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-1 + 1  +4   + k);
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(((6240+0)*r)   +80  -70  -50));
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(((6200-0)*r)   -40  +70 +0)  ); 
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(((6050+0)*r)*r1+90  -22)       );
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(((6200+0)*r)*r1-70  +22) -50  ); 
+0023 
+0024 
+0025 
+0026 <span class="keyword">return</span>
+0027 
+0028 
+0029</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test.html	(revision 17)
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test</title>
+  <meta name="keywords" content="set_bump_test">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">%delai0 =31522246;</span>
+0006 delai0 =5621670;
+0007 voltage0=3000;  
+0008 r=0.95;    <span class="comment">% ratio global</span>
+0009 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span>
+0010 
+0011 k=+0;
+0012 
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0 + 5 -5   + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3 -  0  + k);
+0015 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+2 - 0  + k);
+0016 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-1 + 1  +4 + k);
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(((6240+0)*r)   +80  -70  -50) );
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(((6200-0)*r)   -40  +70 +0) ); 
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(((6050+0)*r)*r1+90  -22) );
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(((6200+0)*r)*r1-70  +22) -50); 
+0023 
+0024 
+0025 
+0026 <span class="keyword">return</span>
+0027 
+0028 
+0029</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test1.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test1.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test1.html	(revision 17)
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test1</title>
+  <meta name="keywords" content="set_bump_test1">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test1.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test1
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">%delai0 =31522246;</span>
+0006 delai0 =5621670;
+0007 voltage0=3000;  
+0008 r=0.9;    <span class="comment">% ratio global</span>
+0009 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span>
+0010 
+0011 k=+0;
+0012 
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0 + 5   + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3 -  0  + k);
+0015 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+2 - 0  + k);
+0016 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-1 + 1   + k);
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(5064+0)*r);
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(5052-0)*r); 
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,((5017+0)*r)*r1);
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,((5031+0)*r)*r1); 
+0023 
+0024 
+0025 
+0026 <span class="keyword">return</span>
+0027 
+0028 
+0029</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test1_2009.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test1_2009.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test1_2009.html	(revision 17)
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test1_2009</title>
+  <meta name="keywords" content="set_bump_test1_2009">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test1_2009.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test1_2009
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test1_2009 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test1_2009</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">%delai0 =31522246;</span>
+0006 delai0 =5621670;
+0007 voltage0=3000;  
+0008 r=1.;    <span class="comment">% ratio global</span>
+0009 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span>
+0010 
+0011 k=+0;
+0012 
+0013 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0    + k);
+0014 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+5    + k);
+0015 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+7    + k);
+0016 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+1    + k);
+0017 
+0018 
+0019 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,5591*r);
+0020 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,5630*r); 
+0021 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,5592*r);
+0022 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,5566*r); 
+0023 
+0024 
+0025 
+0026 <span class="keyword">return</span>
+0027 
+0028 
+0029</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test3_1ermai-2009.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test3_1ermai-2009.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test3_1ermai-2009.html	(revision 17)
@@ -0,0 +1,89 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test3_1ermai-2009</title>
+  <meta name="keywords" content="set_bump_test3_1ermai-2009">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test3_1ermai-2009.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test3_1ermai-2009
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test3_2009 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test3_2009</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">% standard run 2</span>
+0006 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0007 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>); <span class="comment">% 5621673</span>
+0008 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>); <span class="comment">% 5621674</span>
+0009 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0010 
+0011 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span> ); <span class="comment">% 5.8064e+03</span>
+0012 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8685e+03</span>
+0013 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8153e+03</span>
+0014 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8034e+03</span>
+0015 
+0016 
+0017 <span class="comment">%delai0 =31522246;</span>
+0018 delai0 =5621670;
+0019 voltage0=3000;  
+0020 r=1.04;    <span class="comment">% ratio global</span>
+0021 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span>
+0022 
+0023 k=-3;
+0024 <span class="comment">% A priori dÃ©calage sur K3 et K4</span>
+0025 
+0026 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0    );
+0027 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3    );
+0028 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+4    + k);
+0029 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+0    + k);
+0030 
+0031 
+0032 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,5591*r-10 );
+0033 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,5630*r+10); 
+0034 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,5592*r-10);
+0035 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,5566*r+05); 
+0036 
+0037 
+0038 
+0039 <span class="keyword">return</span>
+0040 
+0041 
+0042</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test3_2009.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test3_2009.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test3_2009.html	(revision 17)
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test3_2009</title>
+  <meta name="keywords" content="set_bump_test3_2009">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test3_2009.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test3_2009
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test3_2009 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test3_2009</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">% standard run 2</span>
+0006 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0007 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>); <span class="comment">% 5621673</span>
+0008 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>); <span class="comment">% 5621674</span>
+0009 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0010 
+0011 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span> ); <span class="comment">% 5.8064e+03</span>
+0012 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8685e+03</span>
+0013 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8153e+03</span>
+0014 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8034e+03</span>
+0015 
+0016 
+0017 <span class="comment">%delai0 =31522246;</span>
+0018 delai0 =5621670;
+0019 voltage0=3000;  
+0020 r=1.04;    <span class="comment">% ratio global</span>
+0021 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span>
+0022 
+0023 k=+0;
+0024 
+0025 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0    + k);
+0026 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3    + k);
+0027 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+4    + k);
+0028 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0+0    + k);
+0029 
+0030 
+0031 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,5591*r-10 );
+0032 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,5630*r+10); 
+0033 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,5592*r-10);
+0034 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,5566*r+05); 
+0035 
+0036 
+0037 
+0038 <span class="keyword">return</span>
+0039 
+0040 
+0041</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test4_2009.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test4_2009.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test4_2009.html	(revision 17)
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test4_2009</title>
+  <meta name="keywords" content="set_bump_test4_2009">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test4_2009.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test4_2009
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test3_2009 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test3_2009</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">% standard run 2</span>
+0006 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0007 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>); <span class="comment">% 5621673</span>
+0008 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>); <span class="comment">% 5621674</span>
+0009 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0010 
+0011 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span> ); <span class="comment">% 5.8064e+03</span>
+0012 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8685e+03</span>
+0013 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8153e+03</span>
+0014 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8034e+03</span>
+0015 
+0016 
+0017 <span class="comment">%delai0 =31522246;</span>
+0018 delai0 =5621670;
+0019 voltage0=3000;  
+0020 r=1.04;    <span class="comment">% ratio global</span>
+0021 r1=1.010 ; <span class="comment">% ratio 2 derniers kicker</span>
+0022 
+0023 k=+0;
+0024 
+0025 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0    + k);
+0026 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+3    + k);
+0027 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+5    + k);
+0028 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-2    + k);
+0029 
+0030 
+0031 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,5591*r-10 );
+0032 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,5630*r+10); 
+0033 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,5592*r-10);
+0034 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,5566*r+05); 
+0035 
+0036 
+0037 
+0038 <span class="keyword">return</span>
+0039 
+0040 
+0041</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test5_2009.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test5_2009.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test5_2009.html	(revision 17)
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test5_2009</title>
+  <meta name="keywords" content="set_bump_test5_2009">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test5_2009.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test5_2009
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test5_2009 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test5_2009</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">% standard run 2</span>
+0006 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0007 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>); <span class="comment">% 5621673</span>
+0008 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>); <span class="comment">% 5621674</span>
+0009 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0010 
+0011 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span> ); <span class="comment">% 5.8064e+03</span>
+0012 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8685e+03</span>
+0013 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8153e+03</span>
+0014 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8034e+03</span>
+0015 
+0016 
+0017 <span class="comment">%delai0 =31522246;</span>
+0018 delai0 =5621670;
+0019 voltage0=3000;  
+0020 r=1.04;    <span class="comment">% ratio global</span>
+0021 r1=1.0 ; <span class="comment">% ratio 2 derniers kicker</span>
+0022 
+0023 k=-0;
+0024 
+0025 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0-0    + k);
+0026 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0+2    + k);
+0027 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0+3    + k);
+0028 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0-2    + k);
+0029 
+0030 
+0031 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,5591*r-10 - 10);
+0032 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,5630*r+10 - 10 ); 
+0033 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(5592*r-10 + 20)*r1 );
+0034 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(5566*r+05 - 15)*r1 ); 
+0035 
+0036 
+0037 
+0038 <span class="keyword">return</span>
+0039 
+0040 
+0041</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test6_2009.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test6_2009.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test6_2009.html	(revision 17)
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test6_2009</title>
+  <meta name="keywords" content="set_bump_test6_2009">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test6_2009.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test6_2009
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test6_2009 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test6_2009</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">% standard run 2</span>
+0006 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0007 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>); <span class="comment">% 5621673</span>
+0008 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>); <span class="comment">% 5621674</span>
+0009 tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0010 
+0011 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span> ); <span class="comment">% 5.8064e+03</span>
+0012 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8685e+03</span>
+0013 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8153e+03</span>
+0014 tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8034e+03</span>
+0015 
+0016 
+0017 <span class="comment">%delai0 =31522246;</span>
+0018 delai0 =5621670-40;
+0019 voltage0=3000;  
+0020 r=1.02;    <span class="comment">% ratio global</span>
+0021 r1=1.0 ; <span class="comment">% ratio 2 derniers kicker</span>
+0022 
+0023 k=-0;
+0024 
+0025 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0 -1    + k);
+0026 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0 +6    + k);
+0027 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0 -2    + k);
+0028 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0 +2    + k);
+0029 
+0030 
+0031 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(5566)*r);
+0032 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(5644 )*r); 
+0033 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(5543 )*r);
+0034 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(5619)*r); 
+0035 
+0036 
+0037 
+0038 <span class="keyword">return</span>
+0039 
+0040 
+0041</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test7_2009.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test7_2009.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_bump_test7_2009.html	(revision 17)
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_bump_test7_2009</title>
+  <meta name="keywords" content="set_bump_test7_2009">
+  <meta name="description" content="deuxiÃšme optimisation du bump">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_bump_test7_2009.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_bump_test7_2009
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>deuxiÃšme optimisation du bump</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_bump_test7_2009 </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> deuxiÃšme optimisation du bump</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_bump_test7_2009</a>
+0002 
+0003 <span class="comment">% deuxiÃšme optimisation du bump</span>
+0004 
+0005 <span class="comment">% standard run 2</span>
+0006 fprintf(<span class="string">'Kicker delay read\n'</span>)
+0007 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0008 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>); <span class="comment">% 5621673</span>
+0009 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>); <span class="comment">% 5621674</span>
+0010 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>); <span class="comment">% 5621670</span>
+0011 
+0012 fprintf(<span class="string">'Kicker voltage read\n'</span>)
+0013 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8064e+03</span>
+0014 fprintf(<span class="string">'K1=%10.1f\n'</span>,temp.value(2))
+0015 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8685e+03</span>
+0016 fprintf(<span class="string">'K2=%10.1f\n'</span>,temp.value(2))
+0017 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8153e+03</span>
+0018 fprintf(<span class="string">'K3=%10.1f\n'</span>,temp.value(2))
+0019 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>);  <span class="comment">% 5.8034e+03</span>
+0020 fprintf(<span class="string">'K4=%10.1f\n'</span>,temp.value(2))
+0021 
+0022 
+0023 
+0024 <span class="comment">% New values</span>
+0025 delai0 =5621670-40;
+0026 r=1.02;    <span class="comment">% ratio global</span>
+0027 r1=1.0 ;   <span class="comment">% ratio 2 derniers kicker</span>
+0028 k=-0;
+0029 
+0030 <span class="comment">%</span>
+0031 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,delai0 -1    + k);
+0032 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,delai0 +6    + k);
+0033 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,delai0 -2    + k);
+0034 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,delai0 +2    + k);
+0035 
+0036 <span class="comment">%</span>
+0037 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.1'</span>, <span class="string">'voltage'</span>,(5566)*r);
+0038 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.2'</span>, <span class="string">'voltage'</span>,(5644 )*r); 
+0039 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.3'</span>, <span class="string">'voltage'</span>,(5543 )*r);
+0040 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_K.4'</span>, <span class="string">'voltage'</span>,(5619)*r); 
+0041 
+0042 
+0043 
+0044 
+0045</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_septa_actif.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_septa_actif.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_septa_actif.html	(revision 17)
@@ -0,0 +1,70 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_septa_actif</title>
+  <meta name="keywords" content="set_septa_actif">
+  <meta name="description" content="special tension septum actif boo et ans">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_septa_actif.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_septa_actif
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>special tension septum actif boo et ans</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> special tension septum actif boo et ans</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% special tension septum actif boo et ans</span>
+0002 
+0003 <span class="comment">% valeur de tension a basse cadence (soft)</span>
+0004 boo=99.239224886870645;
+0005 ans=93.536955102247219;
+0006 r=(1+0.002); <span class="comment">% ratio</span>
+0007 <span class="keyword">try</span>
+0008     <span class="comment">%temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r</span>
+0009     tango_write_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>,boo*r);
+0010     <span class="comment">%temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');    ans=temp.value(2)*r</span>
+0011     tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>,ans*r);
+0012 <span class="keyword">catch</span>
+0013     display(<span class="string">'Erreur ajustement tension septa passif'</span>)
+0014 <span class="keyword">end</span>
+0015 temp=tango_read_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>);temp.value(2)
+0016 temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>);    temp.value(2)
+0017     
+0018 
+0019 <span class="keyword">return</span>
+0020 <span class="comment">% start value</span>
+0021 
+0022 tango_write_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>,boo);
+0023 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>,ans);</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_septa_actif_delai.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_septa_actif_delai.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_septa_actif_delai.html	(revision 17)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_septa_actif_delai</title>
+  <meta name="keywords" content="set_septa_actif_delai">
+  <meta name="description" content="special delai septum actif boo et ans">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_septa_actif_delai.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_septa_actif_delai
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>special delai septum actif boo et ans</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> special delai septum actif boo et ans
+ logÃ©e l'extraction sur la crete du septa</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% special delai septum actif boo et ans</span>
+0002 <span class="comment">% logÃ©e l'extraction sur la crete du septa</span>
+0003 
+0004 septclk=52*184/2; <span class="comment">% = 52 tours booster : max delai sur injection</span>
+0005 <span class="comment">% valeur de tension a basse cadence (soft)</span>
+0006 <span class="comment">%temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');     boo=temp.value(2)</span>
+0007 <span class="comment">%temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay'); ans=temp.value(2)</span>
+0008 boo=31240305;
+0009 ans=31240316;
+0010 
+0011 nstep=1
+0012 <span class="keyword">try</span>
+0013     tango_write_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>,(boo + nstep*stepclk));
+0014     tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>,    (ans + nstep*stepclk));
+0015 <span class="keyword">catch</span>
+0016     display(<span class="string">'Erreur ajustement tension septa passif'</span>)
+0017 <span class="keyword">end</span>
+0018 
+0019 
+0020 <span class="keyword">return</span>
+0021 <span class="comment">% start value</span>
+0022 
+0023 tango_write_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>,boo);
+0024 tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>,ans);</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_synchro_KHV.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_synchro_KHV.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/set_synchro_KHV.html	(revision 17)
@@ -0,0 +1,68 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of set_synchro_KHV</title>
+  <meta name="keywords" content="set_synchro_KHV">
+  <meta name="description" content="read">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; set_synchro_KHV.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>set_synchro_KHV
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>read</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function set_synchro_KHV(step) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> read</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function set_synchro_KHV(step)</a>
+0002 
+0003 <span class="comment">% read</span>
+0004 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>);bpm=temp.value(1); <span class="comment">%not used</span>
+0005 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>);kv0=temp.value(1);
+0006 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>);kh0=temp.value(1);
+0007 
+0008 
+0009 <span class="comment">% setp les clk</span>
+0010 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>,(kv0+step) );
+0011 <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1', 'k-h.trigStepDelay',(kh0+step) );</span>
+0012 
+0013 
+0014 <span class="comment">% read again</span>
+0015 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>);kv1=temp.value(1);
+0016 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>);kh1=temp.value(1);
+0017 
+0018 fprintf(<span class="string">'************ step %d ********** \n'</span>,step);
+0019 fprintf(<span class="string">'StepDelay avant  KH= %d   KV=%d \n'</span>,kh0,kv0);
+0020 fprintf(<span class="string">'StepDelay aprÃšs  KH= %d   KV=%d \n'</span>,kh1,kv1);
+0021</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/soft_event.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/soft_event.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/soft_event.html	(revision 17)
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of soft_event</title>
+  <meta name="keywords" content="soft_event">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; soft_event.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>soft_event
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">%</span>
+0002 
+0003 <span class="keyword">for</span> i=1:100
+0004    fprintf(<span class="string">'n=%g\n'</span>,i)
+0005    tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+0006    pause(1)
+0007 <span class="keyword">end</span>
+0008 
+0009 <span class="comment">%</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/soft_trigger.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/soft_trigger.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/soft_trigger.html	(revision 17)
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of soft_trigger</title>
+  <meta name="keywords" content="soft_trigger">
+  <meta name="description" content="SOTF_TRIGGER - Ask a trig on the timing system">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; soft_trigger.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>soft_trigger
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SOTF_TRIGGER - Ask a trig on the timing system</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function soft_trigger </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SOTF_TRIGGER - Ask a trig on the timing system</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function soft_trigger</a>
+0002 <span class="comment">% SOTF_TRIGGER - Ask a trig on the timing system</span>
+0003 
+0004 tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>); pause(1)</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/softsynchro.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/softsynchro.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/softsynchro.html	(revision 17)
@@ -0,0 +1,222 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of softsynchro</title>
+  <meta name="keywords" content="softsynchro">
+  <meta name="description" content="SOFTSYNCHRO M-file for softsynchro.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; softsynchro.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>softsynchro
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SOFTSYNCHRO M-file for softsynchro.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = softsynchro(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SOFTSYNCHRO M-file for softsynchro.fig
+      
+% handles.periode = periode en seconde
+% fonction_alex : fonction trigger (Ã  remplir)
+
+ See also:</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function softsynchro_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = softsynchro_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function edit1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub6" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub7" class="code">function Closinggui(obj, event, handles, figure1)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = softsynchro(varargin)</a>
+0002 <span class="comment">% SOFTSYNCHRO M-file for softsynchro.fig</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%% handles.periode = periode en seconde</span>
+0005 <span class="comment">%% fonction_alex : fonction trigger (Ã  remplir)</span>
+0006 <span class="comment">%</span>
+0007 <span class="comment">% See also:</span>
+0008 
+0009 <span class="comment">% Edit the above text to modify the response to help softsynchro</span>
+0010 
+0011 <span class="comment">% Last Modified by GUIDE v2.5 20-Apr-2006 15:06:22</span>
+0012 
+0013 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0014 gui_Singleton = 1;
+0015 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0016                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0017                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction softsynchro_OpeningFcn(hObject, eventdata, handles, varargin)">softsynchro_OpeningFcn</a>, <span class="keyword">...</span>
+0018                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = softsynchro_OutputFcn(hObject, eventdata, handles)">softsynchro_OutputFcn</a>, <span class="keyword">...</span>
+0019                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0020                    <span class="string">'gui_Callback'</span>,   []);
+0021 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0022     gui_State.gui_Callback = str2func(varargin{1});
+0023 <span class="keyword">end</span>
+0024 
+0025 <span class="keyword">if</span> nargout
+0026     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0027 <span class="keyword">else</span>
+0028     gui_mainfcn(gui_State, varargin{:});
+0029 <span class="keyword">end</span>
+0030 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0031 
+0032 
+0033 <span class="comment">% --- Executes just before softsynchro is made visible.</span>
+0034 <a name="_sub1" href="#_subfunctions" class="code">function softsynchro_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0035 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0036 <span class="comment">% hObject    handle to figure</span>
+0037 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0038 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0039 <span class="comment">% varargin   command line arguments to softsynchro (see VARARGIN)</span>
+0040 
+0041 <span class="comment">% Choose default command line output for softsynchro</span>
+0042 handles.output = hObject;
+0043 
+0044 <span class="comment">% periode du trigger par defaut = 4/3</span>
+0045 handles.periode = 1.333;
+0046 set(handles.edit1,<span class="string">'String'</span>,num2str(handles.periode));
+0047 
+0048 <span class="comment">% Creates timer Infinite loop</span>
+0049 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0050     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0051 timer1.TimerFcn = {@<a href="#_sub6" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+0052 setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+0053 
+0054 <span class="comment">% button group sur on/off timer du trigger</span>
+0055 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.1 0.1 0.8 0.45],<span class="keyword">...</span>
+0056     <span class="string">'Title'</span>,<span class="string">'Trigger'</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0057     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0058 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0059     <span class="string">'pos'</span>,[80 25 90 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0060     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0061 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'ON'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0062     <span class="string">'pos'</span>,[80 65 90 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0063     <span class="string">'BackgroundColor'</span>,[0.696 1.0 0.924]);
+0064 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0065     {@<a href="#_sub5" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0066 
+0067 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0068 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0069 
+0070 <span class="comment">%% Set closing gui function</span>
+0071 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub7" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0072 
+0073 <span class="comment">% Update handles structure</span>
+0074 guidata(hObject, handles);
+0075 
+0076 <span class="comment">% UIWAIT makes softsynchro wait for user response (see UIRESUME)</span>
+0077 <span class="comment">% uiwait(handles.figure1);</span>
+0078 
+0079 
+0080 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0081 <a name="_sub2" href="#_subfunctions" class="code">function varargout = softsynchro_OutputFcn(hObject, eventdata, handles) </a>
+0082 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0083 <span class="comment">% hObject    handle to figure</span>
+0084 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0085 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0086 
+0087 <span class="comment">% Get default command line output from handles structure</span>
+0088 varargout{1} = handles.output;
+0089 
+0090 
+0091 
+0092 <a name="_sub3" href="#_subfunctions" class="code">function edit1_Callback(hObject, eventdata, handles)</a>
+0093 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0094 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0095 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0096 
+0097 <span class="comment">% Hints: get(hObject,'String') returns contents of edit1 as text</span>
+0098 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit1 as a double</span>
+0099 
+0100 handles.periode = str2double(get(hObject,<span class="string">'String'</span>));
+0101 
+0102 <span class="comment">% change timer Infinite loop</span>
+0103 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0104     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0105 timer1.TimerFcn = {@<a href="#_sub6" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+0106 setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+0107 
+0108 <span class="comment">% Update handles structure</span>
+0109 guidata(hObject, handles);
+0110 
+0111 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0112 <a name="_sub4" href="#_subfunctions" class="code">function edit1_CreateFcn(hObject, eventdata, handles)</a>
+0113 <span class="comment">% hObject    handle to edit1 (see GCBO)</span>
+0114 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0115 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0116 
+0117 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0118 <span class="comment">%       See ISPC and COMPUTER.</span>
+0119 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0120     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0121 <span class="keyword">end</span>
+0122 
+0123 <a name="_sub5" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+0124 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+0125 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0126 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0127 
+0128 timer1 = getappdata(handles.figure1,<span class="string">'Timer'</span>);
+0129 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+0130     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+0131         <span class="comment">% dÃ©marrage du trigger</span>
+0132         stop(timer1);
+0133        
+0134     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+0135         <span class="comment">% stop du trigger</span>
+0136         start(timer1);
+0137         
+0138 <span class="keyword">end</span>
+0139 
+0140 <a name="_sub6" href="#_subfunctions" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a>
+0141 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+0142 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0143 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0144 
+0145 <span class="comment">%%  FONCTION ALEX</span>
+0146 disp(<span class="string">'Ã§a marche !!'</span>)
+0147 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>)
+0148 
+0149 
+0150 
+0151 
+0152 
+0153 
+0154 
+0155 <span class="comment">%% What to do before closing the application</span>
+0156 <a name="_sub7" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+0157 
+0158 <span class="comment">% Get default command line output from handles structure</span>
+0159 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+0160     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+0161     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+0162 
+0163 <span class="keyword">switch</span> answer
+0164     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+0165         delete(handles); <span class="comment">%Delete Timer</span>
+0166         delete(figure1); <span class="comment">%Close gui</span>
+0167     <span class="keyword">otherwise</span>
+0168         disp(<span class="string">'Closing aborted'</span>)
+0169 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/start_3Hz.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/start_3Hz.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/start_3Hz.html	(revision 17)
@@ -0,0 +1,62 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of start_3Hz</title>
+  <meta name="keywords" content="start_3Hz">
+  <meta name="description" content="test 3Hz">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; start_3Hz.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>start_3Hz
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>test 3Hz</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function start_3Hz(event) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> test 3Hz</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur5.html" class="code" title="function varargout = synchro_injecteur5(varargin)">synchro_injecteur5</a>	SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</li><li><a href="synchro_injecteur6.html" class="code" title="function varargout = synchro_injecteur6(varargin)">synchro_injecteur6</a>	SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</li><li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% test 3Hz</span>
+0002 <a name="_sub0" href="#_subfunctions" class="code">function start_3Hz(event)</a>
+0003 
+0004 <span class="comment">% DÃ©clenche dans l'ordre les elements pulsÃ©s et le linac</span>
+0005     tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>);    
+0006     tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>);
+0007     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>); 
+0008     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>);
+0009     
+0010     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(event(1)));
+0011     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int16(event(2)));
+0012     
+0013     pause(1)
+0014     <span class="comment">%tango_command_inout2('LT1/SY/LOCAL.DG.1',  'Update');</span>
+0015     
+0016 display(<span class="string">'3Hz started'</span>)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/start_soft.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/start_soft.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/start_soft.html	(revision 17)
@@ -0,0 +1,56 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of start_soft</title>
+  <meta name="keywords" content="start_soft">
+  <meta name="description" content="test 3Hz">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; start_soft.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>start_soft
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>test 3Hz</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function start_soft </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> test 3Hz</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur5.html" class="code" title="function varargout = synchro_injecteur5(varargin)">synchro_injecteur5</a>	SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</li><li><a href="synchro_injecteur6.html" class="code" title="function varargout = synchro_injecteur6(varargin)">synchro_injecteur6</a>	SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</li><li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% test 3Hz</span>
+0002 <a name="_sub0" href="#_subfunctions" class="code">function start_soft</a>
+0003 
+0004 <span class="comment">% DÃ©clenche dans l'ordre les elements pulsÃ©s et le linac</span>
+0005     tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>);    
+0006     tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>);
+0007     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0008     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>);
+0009     
+0010 display(<span class="string">'Soft started'</span>)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/state_txt.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/state_txt.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/state_txt.html	(revision 17)
@@ -0,0 +1,73 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of state_txt</title>
+  <meta name="keywords" content="state_txt">
+  <meta name="description" content="Manage state string from synchro">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; state_txt.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>state_txt
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>Manage state string from synchro</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function [txt, color]=state_txt(txt) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> Manage state string from synchro</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_survey.html" class="code" title="function varargout = synchro_survey(varargin)">synchro_survey</a>	SYNCHRO_SURVEY M-file for synchro_survey.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [txt, color]=state_txt(txt)</a>
+0002 <span class="comment">% Manage state string from synchro</span>
+0003 
+0004 tf = isstrprop(txt, <span class="string">'cntrl'</span>);
+0005 [C,I] = max(tf);
+0006 <span class="keyword">if</span> I==1
+0007     n=length(txt);
+0008 <span class="keyword">else</span>
+0009     n=I-1;
+0010 <span class="keyword">end</span>
+0011 txt=txt(1:n);
+0012 
+0013 <span class="keyword">if</span> strcmp(<span class="string">'Local board is up and running.'</span>, txt)
+0014     color=<span class="string">'green'</span>;
+0015 <span class="keyword">elseif</span> strcmp(<span class="string">'Linac system up and running.'</span>, txt)
+0016     color=<span class="string">'green'</span>;  
+0017 <span class="keyword">elseif</span>     strcmp(<span class="string">'Local board is up and running. be careful: there is at least 1 soft address'</span>, txt)
+0018     color=<span class="string">'green'</span>;
+0019 <span class="keyword">elseif</span>     strcmp(<span class="string">'Local board is no more declenching. all events are equal to 0'</span>, txt)
+0020     color=<span class="string">'yellow'</span>;
+0021 <span class="keyword">elseif</span>     strcmp(<span class="string">'Local board is no more declenching. try to execute Update'</span>, txt)
+0022     color=<span class="string">'magenta'</span>;
+0023 <span class="keyword">else</span>
+0024     color=<span class="string">'red'</span>;
+0025 <span class="keyword">end</span>
+0026     
+0027</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step.html	(revision 17)
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of step</title>
+  <meta name="keywords" content="step">
+  <meta name="description" content="reglage delta tune Ã  110 MeV">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; step.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>step
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>reglage delta tune Ã  110 MeV</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">  reglage delta tune Ã  110 MeV</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur1.html" class="code" title="function varargout = synchro_injecteur1(varargin)">synchro_injecteur1</a>	SYNCHRO_INJECTEUR1 M-file for synchro_injecteur1.fig</li><li><a href="synchro_injecteur2.html" class="code" title="function varargout = synchro_injecteur2(varargin)">synchro_injecteur2</a>	SYNCHRO_INJECTEUR2 M-file for synchro_injecteur2.fig</li><li><a href="synchro_injecteur3.html" class="code" title="function varargout = synchro_injecteur3(varargin)">synchro_injecteur3</a>	SYNCHRO_INJECTEUR3 M-file for synchro_injecteur3.fig</li><li><a href="synchro_injecteur4.html" class="code" title="function varargout = synchro_injecteur4(varargin)">synchro_injecteur4</a>	SYNCHRO_INJECTEUR4 M-file for synchro_injecteur4.fig</li><li><a href="synchro_injecteur5.html" class="code" title="function varargout = synchro_injecteur5(varargin)">synchro_injecteur5</a>	SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</li><li><a href="synchro_injecteur6.html" class="code" title="function varargout = synchro_injecteur6(varargin)">synchro_injecteur6</a>	SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</li><li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">%  reglage delta tune Ã  110 MeV</span>
+0002 
+0003 
+0004 
+0005 getam(<span class="string">'QD'</span>)
+0006 <span class="comment">%stepsp('QF', kqp(1));</span>
+0007 <span class="comment">%stepsp('QD', kqp(2));</span>
+0008 
+0009</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step_load_synchro_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step_load_synchro_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step_load_synchro_rafale.html	(revision 17)
@@ -0,0 +1,189 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of step_load_synchro_rafale</title>
+  <meta name="keywords" content="step_load_synchro_rafale">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; step_load_synchro_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>step_load_synchro_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function load_synchro_rafale(Directory,file,DirName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function load_synchro_rafale(Directory,file,DirName)</a>
+0002 <span class="comment">%</span>
+0003 
+0004 pwdold = pwd;
+0005 cd(Directory);
+0006 load(file)
+0007 cd(pwdold);
+0008 
+0009 
+0010 tout=0.;
+0011 
+0012     display(<span class="string">'off set'</span>)
+0013     <span class="keyword">if</span> isfield(timing,<span class="string">'inj_offset'</span>);inj_offset=timing.inj_offset;
+0014        <span class="keyword">if</span> isfield(timing,<span class="string">'ext_offset'</span>);ext_offset=timing.ext_offset;
+0015            <span class="keyword">if</span> isfield(timing,<span class="string">'lin_fin'</span>   );
+0016                
+0017               lin_fin   =timing.lin_fin;
+0018               FileName = [DirName <span class="string">'synchro_offset_lin'</span>];
+0019               save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0020               
+0021            <span class="keyword">end</span>
+0022        <span class="keyword">end</span>
+0023     <span class="keyword">end</span>
+0024     display(<span class="string">'Clk'</span>)
+0025     <span class="comment">% set address to value never used (prevent collision when swap adress)</span>
+0026     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigStepDelay'</span>,timing.boo_dof_ext(1));pause(tout);
+0027     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigStepDelay'</span>,timing.boo_sep_p_ext(1));pause(tout);
+0028     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>,timing.boo_sep_a_ext(1));pause(tout);
+0029     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigStepDelay'</span>,timing.boo_k_ext(1));pause(tout);
+0030     <span class="keyword">if</span> isfield(timing,<span class="string">'boo_mrsv'</span>);tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceStepDelay'</span>,timing.boo_mrsv(1));pause(tout);<span class="keyword">end</span>
+0031     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.lt2_bpm(1));pause(tout);
+0032     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctStepDelay'</span>,timing.lt2_osc(1));pause(tout);
+0033     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvStepDelay'</span>,timing.lt2_emittance(1));pause(tout);
+0034     
+0035     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,timing.ans_k1_inj(1));pause(tout);
+0036     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,timing.ans_k2_inj(1));pause(tout);
+0037     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,timing.ans_k3_inj(1));pause(tout);
+0038     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,timing.ans_k4_inj(1));pause(tout);
+0039     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigStepDelay'</span>,timing.ans_sep_p_inj(1));pause(tout);
+0040     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>,timing.ans_sep_a_inj(1));pause(tout);
+0041     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm01(1));pause(tout);
+0042     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm02(1));pause(tout);
+0043     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm03(1));pause(tout);
+0044     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm04(1));pause(tout);
+0045     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm05(1));pause(tout);
+0046     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm06(1));pause(tout);
+0047     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm07(1));pause(tout);
+0048     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm08(1));pause(tout);
+0049     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm09(1));pause(tout);
+0050     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm10(1));pause(tout);  
+0051     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm11(1));pause(tout);  
+0052     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm12(1));pause(tout);  
+0053     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm13(1));pause(tout);  
+0054     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm14(1));pause(tout);  
+0055     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm15(1));pause(tout);  
+0056     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,timing.ans_bpm16(1));pause(tout);   
+0057     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctStepDelay'</span>,timing.ans_dcct(1));pause(tout);  
+0058     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_nod'</span>) ;tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteStepDelay'</span>,timing.ans_nod(1));pause(tout);<span class="keyword">end</span>  
+0059    
+0060     
+0061     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_hv_pc'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcStepDelay'</span>,timing.ans_k_hv_pc(1));pause(tout);<span class="keyword">end</span>  
+0062     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_v'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>,timing.ans_k_v(1));pause(tout);<span class="keyword">end</span>  
+0063     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_h'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>,timing.ans_k_h(1));pause(tout);<span class="keyword">end</span>  
+0064 
+0065     display(<span class="string">'Event'</span>)
+0066     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,int32(timing.sdc1(2)));pause(tout);
+0067     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(timing.lin_lpm(2)));pause(tout);
+0068     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,int32(timing.lin_modulateur(2)));
+0069     <span class="keyword">if</span> isfield(timing,<span class="string">'lin_spm'</span>);tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int32(timing.lin_spm(2)));pause(tout);<span class="keyword">end</span>
+0070     <span class="keyword">if</span> isfield(timing,<span class="string">'lin_alim'</span>);tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,int32(timing.lin_alim(2)));pause(tout);<span class="keyword">end</span>
+0071     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0072     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0073     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);
+0074     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,int32(timing.boo_bpm(2)));pause(tout);     
+0075     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,int32(timing.lt1_emittance(2)));pause(tout);
+0076     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,int32(timing.lt1_mc1(2)));pause(tout);
+0077     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,int32(timing.lt1_mc2(2)));pause(tout);
+0078     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,int32(timing.lt1_osc(2)));pause(tout);
+0079     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,int32(timing.boo_dcct(2)));pause(tout);
+0080     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,int32(timing.boo_nod(2)));pause(tout);
+0081     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,int32(timing.boo_sep_p_inj(2)));pause(tout);
+0082     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,int32(timing.boo_k_inj(2)));pause(tout);
+0083     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>,int32(timing.boo_dp(2)));pause(tout);
+0084     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>,int32(timing.boo_qf(2)));pause(tout);
+0085     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>,int32(timing.boo_qd(2)));pause(tout);
+0086     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>,int32(timing.boo_sf(2)));pause(tout);
+0087     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>,int32(timing.boo_sd(2)));pause(tout);
+0088     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>,int32(timing.boo_rf(2)));pause(tout);
+0089     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,int32(timing.sdc2(2)));pause(tout);
+0090     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,int32(timing.boo_dof_ext(2)));pause(tout);
+0091     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,int32(timing.boo_sep_p_ext(2)));pause(tout);
+0092     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,int32(timing.boo_sep_a_ext(2)));pause(tout);
+0093     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,int32(timing.boo_k_ext(2)));pause(tout);
+0094     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.lt2_bpm(2)));pause(tout);
+0095     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,int32(timing.lt2_osc(2)));pause(tout);
+0096     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,int32(timing.lt2_emittance(2)));pause(tout);
+0097     <span class="keyword">if</span> isfield(timing,<span class="string">'boo_mrsv'</span>);tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,int32(timing.boo_mrsv(2)));pause(tout);<span class="keyword">end</span>
+0098     arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; 
+0099     arg.lvalue=int32([timing.ans_k1_inj(2) timing.ans_k2_inj(2) timing.ans_k3_inj(2) timing.ans_k4_inj(2)]); 
+0100     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃÂ© address sans update</span>
+0101     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);pause(tout);
+0102     
+0103     arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>};
+0104     arg.lvalue=int32([timing.ans_sep_p_inj(2) timing.ans_sep_a_inj(2)]);
+0105     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃÂ© address sans update</span>
+0106     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);pause(tout);
+0107    
+0108     
+0109     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm01(2)));pause(tout);
+0110     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm02(2)));pause(tout);
+0111     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm03(2)));pause(tout);
+0112     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm04(2)));pause(tout);
+0113     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm05(2)));pause(tout);
+0114     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm06(2)));pause(tout);
+0115     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm07(2)));pause(tout);
+0116     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm08(2)));pause(tout);
+0117     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm09(2)));pause(tout);
+0118     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm10(2)));pause(tout);  
+0119     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm11(2)));pause(tout);  
+0120     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm12(2)));pause(tout);  
+0121     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm13(2)));pause(tout);  
+0122     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm14(2)));pause(tout);  
+0123     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm15(2)));pause(tout);  
+0124     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,int32(timing.ans_bpm16(2)));pause(tout);   
+0125     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,int32(timing.ans_dcct(2)));pause(tout);
+0126     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_nod'</span>) ;tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteEvent'</span>,int32(timing.ans_nod(2)));pause(tout);<span class="keyword">end</span>  
+0127     
+0128     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_hv_pc'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcEvent'</span>,int32(timing.ans_k_hv_pc(2)));pause(tout);<span class="keyword">end</span>  
+0129     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_v'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigEvent'</span>,int32(timing.ans_k_v(2)));pause(tout);<span class="keyword">end</span>  
+0130     <span class="keyword">if</span> isfield(timing,<span class="string">'ans_k_h'</span>) ;tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigEvent'</span>,int32(timing.ans_k_h(2)));pause(tout);<span class="keyword">end</span>  
+0131     
+0132     <span class="comment">% apply good value</span>
+0133     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,timing.central_pc);
+0134     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,timing.central_inj);
+0135     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,timing.central_soft);
+0136     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprStepDelay'</span>,timing.central_spare);
+0137     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,timing.central_ext);
+0138  
+0139     
+0140 display(<span class="string">'OK'</span>)
+0141 
+0142</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step_synchro_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step_synchro_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/step_synchro_rafale.html	(revision 17)
@@ -0,0 +1,199 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of step_synchro_rafale</title>
+  <meta name="keywords" content="step_synchro_rafale">
+  <meta name="description" content="step central and delay on address 3 only">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; step_synchro_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>step_synchro_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>step central and delay on address 3 only</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function step_synchro_rafale(DirName) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> step central and delay on address 3 only</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function step_synchro_rafale(DirName)</a>
+0002 <span class="comment">% step central and delay on address 3 only</span>
+0003 
+0004  n=1;
+0005 <span class="comment">% % central</span>
+0006 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');</span>
+0007 <span class="comment">% timing.central_pc=temp.value(n);</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay');</span>
+0010 <span class="comment">% timing.central_inj=temp.value(n);</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');</span>
+0013 <span class="comment">% timing.central_soft=temp.value(n);</span>
+0014 <span class="comment">%</span>
+0015 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');</span>
+0016 <span class="comment">% timing.central_spare=temp.value(n);</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');</span>
+0019 <span class="comment">% timing.central_ext=temp.value(n);</span>
+0020 
+0021 offsettime=70000;
+0022 offset=176*offsettime;
+0023 
+0024 
+0025 <span class="comment">% ext on add 3</span>
+0026 
+0027 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigStepDelay'</span>);
+0028 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigStepDelay'</span>,temp.value(1)+offset);
+0029 
+0030 
+0031 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigStepDelay'</span>);
+0032 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigStepDelay'</span>,temp.value(1)+offset);
+0033 
+0034 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>);
+0035 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>,temp.value(1)+offset);
+0036 
+0037 
+0038 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigStepDelay'</span>);
+0039 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigStepDelay'</span>,temp.value(1)+offset);
+0040 
+0041 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareStepDelay'</span>);
+0042 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareStepDelay'</span>,temp.value(1)+offset);
+0043 
+0044 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0045 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,temp.value(1)+offset);
+0046 
+0047 <span class="comment">% LT2</span>
+0048 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvStepDelay'</span>);
+0049 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvStepDelay'</span>,temp.value(1)+offset);
+0050 
+0051 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctStepDelay'</span>);
+0052 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctStepDelay'</span>,temp.value(1)+offset);
+0053 
+0054 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0055 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0056 
+0057 <span class="comment">% ANS</span>
+0058 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>);
+0059 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigStepDelay'</span>,temp.value(1)+offset);
+0060 
+0061 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>);
+0062 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigStepDelay'</span>,temp.value(1)+offset);
+0063 
+0064 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>);
+0065 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigStepDelay'</span>,temp.value(1)+offset);
+0066 
+0067 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>);
+0068 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigStepDelay'</span>,temp.value(1)+offset);
+0069 
+0070 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigStepDelay'</span>);
+0071 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigStepDelay'</span>,temp.value(1)+offset);
+0072 
+0073 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>);
+0074 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>,temp.value(1)+offset);
+0075 
+0076 
+0077 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0078 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0079 
+0080 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0081 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0082 
+0083 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0084 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0085 
+0086 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0087 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0088 
+0089 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0090 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0091 
+0092 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0093 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0094 
+0095 
+0096 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0097 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0098 
+0099 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0100 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0101 
+0102 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0103 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0104 
+0105 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0106 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0107 
+0108 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0109 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0110 
+0111 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0112 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0113 
+0114 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0115 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0116 
+0117 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0118 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0119 
+0120 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0121 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0122 
+0123 
+0124 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>);
+0125 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigStepDelay'</span>,temp.value(1)+offset);
+0126 
+0127 <span class="comment">%</span>
+0128 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctStepDelay'</span>);
+0129 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctStepDelay'</span>,temp.value(1)+offset);
+0130 
+0131 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteTimeDelay'</span>);
+0132 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteTimeDelay'</span>,temp.value(1)+offset);
+0133 
+0134 <span class="comment">% kicker machine</span>
+0135 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcStepDelay'</span>);
+0136 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-hv.pcStepDelay'</span>,temp.value(1)+offset);
+0137 
+0138 
+0139 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>);
+0140 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-v.trigStepDelay'</span>,temp.value(1)+offset);
+0141 
+0142 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>);
+0143 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>, <span class="string">'k-h.trigStepDelay'</span>,temp.value(1)+offset);
+0144 
+0145 
+0146 <span class="comment">% offset</span>
+0147 FileName = [DirName <span class="string">'synchro_offset_lin'</span>];
+0148 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0149 ext_offset=ext_offset+offsettime;
+0150 save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0151 
+0152</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/stop_3Hz.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/stop_3Hz.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/stop_3Hz.html	(revision 17)
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of stop_3Hz</title>
+  <meta name="keywords" content="stop_3Hz">
+  <meta name="description" content="test 3Hz">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; stop_3Hz.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>stop_3Hz
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>test 3Hz</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function stop_3Hz </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> test 3Hz</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="synchro_injecteur5.html" class="code" title="function varargout = synchro_injecteur5(varargin)">synchro_injecteur5</a>	SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</li><li><a href="synchro_injecteur6.html" class="code" title="function varargout = synchro_injecteur6(varargin)">synchro_injecteur6</a>	SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</li><li><a href="synchro_injecteur7.html" class="code" title="function varargout = synchro_injecteur7(varargin)">synchro_injecteur7</a>	SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</li></ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% test 3Hz</span>
+0002 <a name="_sub0" href="#_subfunctions" class="code">function stop_3Hz</a>
+0003 
+0004 <span class="comment">% Stop dans l'ordre le linac et les elements pulsÃ©s</span>
+0005    <span class="comment">%tango_command_inout2('LT1/SY/LOCAL.DG.1',  'Reset');</span>
+0006    
+0007    tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(0));
+0008    tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int16(0));
+0009    
+0010    tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Reset'</span>);
+0011    tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Reset'</span>);
+0012    tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Reset'</span>);
+0013    tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Reset'</span>);   
+0014 
+0015 display(<span class="string">'3Hz stopped'</span>)</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/swap_delais.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/swap_delais.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/swap_delais.html	(revision 17)
@@ -0,0 +1,63 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of swap_delais</title>
+  <meta name="keywords" content="swap_delais">
+  <meta name="description" content="swap delai address">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; swap_delais.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>swap_delais
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>swap delai address</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function swap_delais(cas) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> swap delai address</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% swap delai address</span>
+0002 
+0003 <a name="_sub0" href="#_subfunctions" class="code">function swap_delais(cas)</a>
+0004 
+0005 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);clk_soft=temp.value(1);
+0006 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>);clk_inj=temp.value(1);
+0007 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);clk_ext=temp.value(1);
+0008 
+0009 <span class="keyword">if</span> (cas==1) <span class="comment">% Soft 2  3Hz</span>
+0010     clk1_inj =clk_soft;
+0011     clk1_ext =clk_soft/52+2;
+0012     clk1_soft=clk_soft-10*52;
+0013     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk1_soft);
+0014     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clk1_inj);
+0015     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clk1_ext);
+0016 <span class="keyword">elseif</span>(cas==2) <span class="comment">% 3Hz 2 Soft</span>
+0017 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/switchsynchro.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/switchsynchro.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/switchsynchro.html	(revision 17)
@@ -0,0 +1,237 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of switchsynchro</title>
+  <meta name="keywords" content="switchsynchro">
+  <meta name="description" content="switchsynchro - Switch timing for using the Machine study kickers (KEM) or Normal injection mode">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; switchsynchro.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>switchsynchro
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>switchsynchro - Switch timing for using the Machine study kickers (KEM) or Normal injection mode</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function switchsynchro(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> switchsynchro - Switch timing for using the Machine study kickers (KEM) or Normal injection mode
+
+  INPUTS
+  Injection - Mode for standard injection into the storage ring
+  KEM       - Mode for kicking the beam with a soft event  
+  Init      - For first use, set the delay for both machine study kickers</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function checktimingconfig(value, varargin)</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function switchsynchro(varargin)</a>
+0002 <span class="comment">% switchsynchro - Switch timing for using the Machine study kickers (KEM) or Normal injection mode</span>
+0003 <span class="comment">%</span>
+0004 <span class="comment">%  INPUTS</span>
+0005 <span class="comment">%  Injection - Mode for standard injection into the storage ring</span>
+0006 <span class="comment">%  KEM       - Mode for kicking the beam with a soft event</span>
+0007 <span class="comment">%  Init      - For first use, set the delay for both machine study kickers</span>
+0008 
+0009 <span class="comment">%</span>
+0010 <span class="comment">%  Written by Laurent S. Nadolski</span>
+0011 <span class="comment">%  22 July 2008: Display and group added</span>
+0012 
+0013 SynchroFlag = <span class="string">'Injection'</span>;
+0014 DisplayFlag = 1;
+0015 InitFlag = 0;
+0016 
+0017 <span class="comment">% Input parser</span>
+0018 <span class="keyword">for</span> i = length(varargin):-1:1,
+0019     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'Injection'</span>) || strcmpi(varargin{i},<span class="string">'Inj'</span>)
+0020         SynchroFlag = <span class="string">'Injection'</span>;
+0021         varargin(i) = [];
+0022     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'KEM'</span>)
+0023         SynchroFlag = <span class="string">'KEM'</span>;
+0024     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Display'</span>)
+0025         DisplayFlag = 1;
+0026         varargin(i) = [];
+0027     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'NoDisplay'</span>)
+0028         DisplayFlag = 0;
+0029         varargin(i) = [];
+0030     <span class="keyword">elseif</span> strcmpi(varargin{i},<span class="string">'Init'</span>)
+0031         InitFlag = 1;
+0032     <span class="keyword">end</span>
+0033 <span class="keyword">end</span>
+0034 
+0035 <span class="comment">% delay 179010 Âµs to have the same time for BPM as for injection</span>
+0036 <span class="comment">% the idea is to keep the same delays for the bpms</span>
+0037 <span class="keyword">if</span> InitFlag <span class="comment">% delay for first quarter filled up</span>
+0038 <span class="comment">%     tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1','k-h.trigTimeDelay',179010.537);</span>
+0039 <span class="comment">%     tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1','k-v.trigTimeDelay',179010.537);</span>
+0040 <span class="comment">%     tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1','k-h.trigTimeDelay',151271.472);</span>
+0041 <span class="comment">%     tango_write_attribute2('ANS-C01/SY/LOCAL.EP.1','k-v.trigTimeDelay',151271.502);</span>
+0042 <span class="keyword">end</span>
+0043 
+0044 <span class="comment">% switchyard for injection</span>
+0045 <span class="keyword">switch</span> SynchroFlag
+0046     <span class="keyword">case</span> <span class="string">'KEM'</span> <span class="comment">% Switch Timing system for using KEMs</span>
+0047         event = 16;
+0048         tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'softEventAdress'</span>,int32(event));
+0049         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0050         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0051         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0052         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0053         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0054         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0055         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0056         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0057         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0058         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0059         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0060         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0061         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0062         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0063         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0064         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(event));
+0065         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>,<span class="string">'k-h.trigEvent'</span>,int32(event));
+0066         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>,<span class="string">'k-v.trigEvent'</span>,int32(event));
+0067         pause(1)
+0068         <a href="#_sub1" class="code" title="subfunction checktimingconfig(value, varargin)">checktimingconfig</a>(event, <span class="string">'KEM'</span>);
+0069         
+0070         <span class="comment">%% timing BPM</span>
+0071 <span class="comment">%         tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2','bpm.trigTimeDelay',151262.5274);</span>
+0072 <span class="comment">%         tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1','bpm.trigTimeDelay',151262.44);</span>
+0073 <span class="comment">%         tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1','bpm.trigTimeDelay',151262.24);</span>
+0074     <span class="keyword">case</span> <span class="string">'Injection'</span>  <span class="comment">% Switch back for injection</span>
+0075         eventInj = 3;
+0076         tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'softEventAdress'</span>,int32(5));
+0077         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0078         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0079         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0080         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0081         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0082         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0083         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0084         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0085         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0086         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0087         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0088         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0089         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0090         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0091         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0092         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>,<span class="string">'bpm.trigEvent'</span>,int32(eventInj));
+0093         pause(1)
+0094         <a href="#_sub1" class="code" title="subfunction checktimingconfig(value, varargin)">checktimingconfig</a>(eventInj);
+0095         <span class="comment">%% timing BPM</span>
+0096 <span class="comment">%         tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2','bpm.trigTimeDelay',31922.5274);</span>
+0097 <span class="comment">%         tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1','bpm.trigTimeDelay',31922.44);</span>
+0098 <span class="comment">%         tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1','bpm.trigTimeDelay',31923.24);</span>
+0099 <span class="keyword">end</span>
+0100 
+0101 <span class="comment">% Diagnostics for checking evering thing is OK</span>
+0102 
+0103 devName={<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>
+0104          <span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>
+0105          <span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>
+0106          <span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>
+0107          <span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>
+0108          <span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>
+0109          <span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>
+0110          <span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>
+0111          <span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>
+0112          <span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>
+0113          <span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>
+0114          <span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>
+0115          <span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>
+0116          <span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>
+0117          <span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>
+0118          <span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>
+0119     };
+0120 
+0121 <span class="keyword">if</span> DisplayFlag
+0122     val =[];
+0123     <span class="keyword">for</span> k=1:length(devName)
+0124         val(k) = readattribute([devName{k} <span class="string">'/bpm.trigEvent'</span>]);
+0125     <span class="keyword">end</span>
+0126 
+0127     figure
+0128     bar(val)
+0129     title(<span class="string">'Trigger Event Value for BPM timing board'</span>)
+0130     xlabel(<span class="string">'Cell number'</span>)
+0131     ylabel(<span class="string">'Event value'</span>)
+0132 <span class="keyword">end</span>
+0133 
+0134 <span class="comment">% subfunction</span>
+0135 <a name="_sub1" href="#_subfunctions" class="code">function checktimingconfig(value, varargin)</a>
+0136 
+0137 <span class="comment">% Defaul flag</span>
+0138 KEMFlag = 0;
+0139 
+0140 <span class="keyword">for</span> i = length(varargin):-1:1
+0141     <span class="keyword">if</span> strcmpi(varargin{i},<span class="string">'NoKEM'</span>)
+0142         KEMFlag = 0;
+0143         varargin(i) = [];
+0144     <span class="keyword">else</span> strcmpi(varargin{i},<span class="string">'KEM'</span>)
+0145         KEMFlag = 1;
+0146         varargin(i) = [];
+0147     <span class="keyword">end</span>
+0148 <span class="keyword">end</span>
+0149 
+0150 
+0151 <span class="keyword">if</span> KEMFlag
+0152     val = ones(1,19)*NaN;
+0153 <span class="keyword">else</span>
+0154     val = ones(1,17)*NaN;
+0155 <span class="keyword">end</span>
+0156 
+0157 val(1) = readattribute([<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'/softEventAdress'</span>]);
+0158 val(2) = readattribute([<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0159 val(3) = readattribute([<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0160 val(4) = readattribute([<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0161 val(5) = readattribute([<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0162 val(6) = readattribute([<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0163 val(7) = readattribute([<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0164 val(8) = readattribute([<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0165 val(9) = readattribute([<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0166 val(10) = readattribute([<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0167 val(11) = readattribute([<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0168 val(12) = readattribute([<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0169 val(13) = readattribute([<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0170 val(14) = readattribute([<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0171 val(15) = readattribute([<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0172 val(16) = readattribute([<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0173 val(17) = readattribute([<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>,<span class="string">'/bpm.trigEvent'</span>]);
+0174 
+0175 <span class="keyword">if</span> KEMFlag
+0176     val(18) = readattribute([<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>,<span class="string">'/k-h.trigEvent'</span>]);
+0177     val(19) = readattribute([<span class="string">'ANS-C01/SY/LOCAL.EP.1'</span>,<span class="string">'/k-v.trigEvent'</span>]);
+0178 <span class="keyword">end</span>
+0179 
+0180 <span class="keyword">if</span> mean(val(2:end)) ~= value
+0181     fprintf(<span class="string">'At least one timing board is not set properly to %d soft address \n'</span>, value);
+0182 <span class="keyword">end</span>
+0183</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_70ns.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_70ns.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_70ns.html	(revision 17)
@@ -0,0 +1,79 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_70ns</title>
+  <meta name="keywords" content="synchro_70ns">
+  <meta name="description" content="pulse linac de 70 ns = 24 bunchs">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_70ns.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_70ns
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>pulse linac de 70 ns = 24 bunchs</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> pulse linac de 70 ns = 24 bunchs</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% pulse linac de 70 ns = 24 bunchs</span>
+0002 
+0003 boucle=1; <span class="comment">% nombre de boucle</span>
+0004 npulse=17 ; <span class="comment">% 1 Ã  div max</span>
+0005 dbunch=24;
+0006 
+0007 bunch=((1:npulse)-1).*dbunch + 1;
+0008 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+0009 dtour
+0010 
+0011 <span class="keyword">return</span>
+0012 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);clk1=temp.value(1);
+0013 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);clk2=temp.value(1);
+0014 clk_pc  =int32(dtour) +  int32(clk1);
+0015 clk_soft=int32(dtour)  + int32(clk2);
+0016 
+0017 <span class="keyword">for</span> k=1:boucle
+0018     <span class="keyword">for</span> i=1:npulse
+0019         clk_pc(i)
+0020         tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk_pc(i));
+0021         tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk_soft(i));
+0022         
+0023         tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+0024         pause(0.4)
+0025          
+0026     <span class="keyword">end</span>
+0027 <span class="keyword">end</span>
+0028 
+0029 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk_pc(1));
+0030 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk_soft(1));
+0031 
+0032 
+0033</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_depannage.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_depannage.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_depannage.html	(revision 17)
@@ -0,0 +1,64 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_depannage</title>
+  <meta name="keywords" content="synchro_depannage">
+  <meta name="description" content="synchro_depannage">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_depannage.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_depannage
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>synchro_depannage</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">   synchro_depannage</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001  <span class="comment">%   synchro_depannage</span>
+0002  
+0003  
+0004 <span class="comment">%  writeattribute('BOO/AE/dipole/current',345);</span>
+0005 <span class="comment">%  writeattribute('BOO/AE/QF/current',201.7677);</span>
+0006 <span class="comment">%  writeattribute('BOO/AE/QD/current',162.611);pause(2);</span>
+0007 <span class="comment">%  writeattribute('BOO/AE/dipole/current',545);</span>
+0008  pause(2)
+0009  tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+0010  pause(2)
+0011 <span class="comment">%  writeattribute('BOO/AE/QD/current',062.611);</span>
+0012 <span class="comment">%  writeattribute('BOO/AE/QF/current',101.7677);</span>
+0013 <span class="comment">%  writeattribute('BOO/AE/dipole/current',345); pause(3);</span>
+0014 <span class="comment">%  writeattribute('BOO/AE/dipole/current',145); pause(3);</span>
+0015  
+0016  
+0017  
+0018</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur.html	(revision 17)
@@ -0,0 +1,880 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur</title>
+  <meta name="keywords" content="synchro_injecteur">
+  <meta name="description" content="SYNCHRO_INJECTEUR M-file for synchro_injecteur.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR M-file for synchro_injecteur.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR M-file for synchro_injecteur.fig
+      SYNCHRO_INJECTEUR, by itself, creates a new SYNCHRO_INJECTEUR or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR returns the handle to a new SYNCHRO_INJECTEUR or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR('Property','Value',...) creates a new SYNCHRO_INJECTEUR or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function canon_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function canon_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function hall_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function hall_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function pc_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function inj_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function edit21_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function soft_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function soft_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function push_soft_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR M-file for synchro_injecteur.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR, by itself, creates a new SYNCHRO_INJECTEUR or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR returns the handle to a new SYNCHRO_INJECTEUR or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR('Property','Value',...) creates a new SYNCHRO_INJECTEUR or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 20-Apr-2006 21:51:28</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur_OutputFcn(hObject, eventdata, handles)">synchro_injecteur_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_injecteur is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_injecteur (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_injecteur</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% Update handles structure</span>
+0059 guidata(hObject, handles);
+0060 
+0061 <span class="comment">% UIWAIT makes synchro_injecteur wait for user response (see UIRESUME)</span>
+0062 <span class="comment">% uiwait(handles.figure1);</span>
+0063 
+0064 
+0065 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0066 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur_OutputFcn(hObject, eventdata, handles) </a>
+0067 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0068 <span class="comment">% hObject    handle to figure</span>
+0069 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0070 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0071 
+0072 <span class="comment">% Get default command line output from handles structure</span>
+0073 varargout{1} = handles.output;
+0074 
+0075 
+0076 
+0077 <a name="_sub3" href="#_subfunctions" class="code">function dipole_Callback(hObject, eventdata, handles)</a>
+0078 <span class="comment">% hObject    handle to dipole (see GCBO)</span>
+0079 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0080 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0081 
+0082 <span class="comment">% Hints: get(hObject,'String') returns contents of dipole as text</span>
+0083 <span class="comment">%        str2double(get(hObject,'String')) returns contents of dipole as a double</span>
+0084 
+0085 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0086 tango_write_attribute(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0087 
+0088 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0089 <a name="_sub4" href="#_subfunctions" class="code">function dipole_CreateFcn(hObject, eventdata, handles)</a>
+0090 <span class="comment">% hObject    handle to dipole (see GCBO)</span>
+0091 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0092 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0093 
+0094 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0095 <span class="comment">%       See ISPC and COMPUTER.</span>
+0096 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0097     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0098 <span class="keyword">end</span>
+0099 
+0100 
+0101 <a name="_sub5" href="#_subfunctions" class="code">function qf_Callback(hObject, eventdata, handles)</a>
+0102 <span class="comment">% hObject    handle to qf (see GCBO)</span>
+0103 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0104 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0105 
+0106 <span class="comment">% Hints: get(hObject,'String') returns contents of qf as text</span>
+0107 <span class="comment">%        str2double(get(hObject,'String')) returns contents of qf as a double</span>
+0108 
+0109 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0110 tango_write_attribute(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0111 
+0112 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0113 <a name="_sub6" href="#_subfunctions" class="code">function qf_CreateFcn(hObject, eventdata, handles)</a>
+0114 <span class="comment">% hObject    handle to qf (see GCBO)</span>
+0115 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0116 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0117 
+0118 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0119 <span class="comment">%       See ISPC and COMPUTER.</span>
+0120 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0121     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0122 <span class="keyword">end</span>
+0123 
+0124 
+0125 
+0126 <a name="_sub7" href="#_subfunctions" class="code">function qd_Callback(hObject, eventdata, handles)</a>
+0127 <span class="comment">% hObject    handle to qd (see GCBO)</span>
+0128 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0129 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0130 
+0131 <span class="comment">% Hints: get(hObject,'String') returns contents of qd as text</span>
+0132 <span class="comment">%        str2double(get(hObject,'String')) returns contents of qd as a double</span>
+0133 
+0134 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0135 tango_write_attribute(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0136 
+0137 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0138 <a name="_sub8" href="#_subfunctions" class="code">function qd_CreateFcn(hObject, eventdata, handles)</a>
+0139 <span class="comment">% hObject    handle to qd (see GCBO)</span>
+0140 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0141 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0142 
+0143 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0144 <span class="comment">%       See ISPC and COMPUTER.</span>
+0145 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0146     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0147 <span class="keyword">end</span>
+0148 
+0149 
+0150 
+0151 <a name="_sub9" href="#_subfunctions" class="code">function sf_Callback(hObject, eventdata, handles)</a>
+0152 <span class="comment">% hObject    handle to sf (see GCBO)</span>
+0153 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0154 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0155 
+0156 <span class="comment">% Hints: get(hObject,'String') returns contents of sf as text</span>
+0157 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sf as a double</span>
+0158 
+0159 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0160 tango_write_attribute(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0161 
+0162 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0163 <a name="_sub10" href="#_subfunctions" class="code">function sf_CreateFcn(hObject, eventdata, handles)</a>
+0164 <span class="comment">% hObject    handle to sf (see GCBO)</span>
+0165 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0166 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0167 
+0168 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0169 <span class="comment">%       See ISPC and COMPUTER.</span>
+0170 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0171     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0172 <span class="keyword">end</span>
+0173 
+0174 
+0175 
+0176 <a name="_sub11" href="#_subfunctions" class="code">function sd_Callback(hObject, eventdata, handles)</a>
+0177 <span class="comment">% hObject    handle to sd (see GCBO)</span>
+0178 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0179 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0180 
+0181 <span class="comment">% Hints: get(hObject,'String') returns contents of sd as text</span>
+0182 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sd as a double</span>
+0183 
+0184 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0185 tango_write_attribute(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0186 
+0187 
+0188 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0189 <a name="_sub12" href="#_subfunctions" class="code">function sd_CreateFcn(hObject, eventdata, handles)</a>
+0190 <span class="comment">% hObject    handle to sd (see GCBO)</span>
+0191 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0192 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0193 
+0194 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0195 <span class="comment">%       See ISPC and COMPUTER.</span>
+0196 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0197     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0198 <span class="keyword">end</span>
+0199 
+0200 
+0201 
+0202 <a name="_sub13" href="#_subfunctions" class="code">function rf_Callback(hObject, eventdata, handles)</a>
+0203 <span class="comment">% hObject    handle to rf (see GCBO)</span>
+0204 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0205 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0206 
+0207 <span class="comment">% Hints: get(hObject,'String') returns contents of rf as text</span>
+0208 <span class="comment">%        str2double(get(hObject,'String')) returns contents of rf as a double</span>
+0209 
+0210 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0211 tango_write_attribute(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0212 
+0213 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0214 <a name="_sub14" href="#_subfunctions" class="code">function rf_CreateFcn(hObject, eventdata, handles)</a>
+0215 <span class="comment">% hObject    handle to rf (see GCBO)</span>
+0216 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0217 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0218 
+0219 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0220 <span class="comment">%       See ISPC and COMPUTER.</span>
+0221 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0222     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0223 <span class="keyword">end</span>
+0224 
+0225 
+0226 
+0227 <a name="_sub15" href="#_subfunctions" class="code">function canon_Callback(hObject, eventdata, handles)</a>
+0228 <span class="comment">% hObject    handle to canon (see GCBO)</span>
+0229 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0230 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0231 
+0232 <span class="comment">% Hints: get(hObject,'String') returns contents of canon as text</span>
+0233 <span class="comment">%        str2double(get(hObject,'String')) returns contents of canon as a double</span>
+0234 
+0235 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0236 tango_write_attribute(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0237 
+0238 
+0239 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0240 <a name="_sub16" href="#_subfunctions" class="code">function canon_CreateFcn(hObject, eventdata, handles)</a>
+0241 <span class="comment">% hObject    handle to canon (see GCBO)</span>
+0242 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0243 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0244 
+0245 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0246 <span class="comment">%       See ISPC and COMPUTER.</span>
+0247 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0248     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0249 <span class="keyword">end</span>
+0250 
+0251 
+0252 
+0253 <a name="_sub17" href="#_subfunctions" class="code">function emittance_Callback(hObject, eventdata, handles)</a>
+0254 <span class="comment">% hObject    handle to emittance (see GCBO)</span>
+0255 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0256 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0257 
+0258 <span class="comment">% Hints: get(hObject,'String') returns contents of emittance as text</span>
+0259 <span class="comment">%        str2double(get(hObject,'String')) returns contents of emittance as a double</span>
+0260 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0261 tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0262 
+0263 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0264 <a name="_sub18" href="#_subfunctions" class="code">function emittance_CreateFcn(hObject, eventdata, handles)</a>
+0265 <span class="comment">% hObject    handle to emittance (see GCBO)</span>
+0266 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0267 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0268 
+0269 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0270 <span class="comment">%       See ISPC and COMPUTER.</span>
+0271 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0272     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0273 <span class="keyword">end</span>
+0274 
+0275 
+0276 
+0277 <a name="_sub19" href="#_subfunctions" class="code">function MC1_Callback(hObject, eventdata, handles)</a>
+0278 <span class="comment">% hObject    handle to MC1 (see GCBO)</span>
+0279 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0280 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0281 
+0282 <span class="comment">% Hints: get(hObject,'String') returns contents of MC1 as text</span>
+0283 <span class="comment">%        str2double(get(hObject,'String')) returns contents of MC1 as a double</span>
+0284 
+0285 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0286 tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0287 
+0288 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0289 <a name="_sub20" href="#_subfunctions" class="code">function MC1_CreateFcn(hObject, eventdata, handles)</a>
+0290 <span class="comment">% hObject    handle to MC1 (see GCBO)</span>
+0291 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0292 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0293 
+0294 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0295 <span class="comment">%       See ISPC and COMPUTER.</span>
+0296 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0297     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0298 <span class="keyword">end</span>
+0299 
+0300 
+0301 
+0302 <a name="_sub21" href="#_subfunctions" class="code">function MC2_Callback(hObject, eventdata, handles)</a>
+0303 <span class="comment">% hObject    handle to MC2 (see GCBO)</span>
+0304 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0305 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0306 
+0307 <span class="comment">% Hints: get(hObject,'String') returns contents of MC2 as text</span>
+0308 <span class="comment">%        str2double(get(hObject,'String')) returns contents of MC2 as a double</span>
+0309 
+0310 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0311 tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0312 
+0313 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0314 <a name="_sub22" href="#_subfunctions" class="code">function MC2_CreateFcn(hObject, eventdata, handles)</a>
+0315 <span class="comment">% hObject    handle to MC2 (see GCBO)</span>
+0316 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0317 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0318 
+0319 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0320 <span class="comment">%       See ISPC and COMPUTER.</span>
+0321 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0322     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0323 <span class="keyword">end</span>
+0324 
+0325 
+0326 
+0327 <a name="_sub23" href="#_subfunctions" class="code">function osc_Callback(hObject, eventdata, handles)</a>
+0328 <span class="comment">% hObject    handle to osc (see GCBO)</span>
+0329 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0330 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0331 
+0332 <span class="comment">% Hints: get(hObject,'String') returns contents of osc as text</span>
+0333 <span class="comment">%        str2double(get(hObject,'String')) returns contents of osc as a double</span>
+0334 
+0335 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0336 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0337 
+0338 
+0339 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0340 <a name="_sub24" href="#_subfunctions" class="code">function osc_CreateFcn(hObject, eventdata, handles)</a>
+0341 <span class="comment">% hObject    handle to osc (see GCBO)</span>
+0342 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0343 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0344 
+0345 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0346 <span class="comment">%       See ISPC and COMPUTER.</span>
+0347 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0348     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0349 <span class="keyword">end</span>
+0350 
+0351 
+0352 
+0353 <a name="_sub25" href="#_subfunctions" class="code">function sdc_Callback(hObject, eventdata, handles)</a>
+0354 <span class="comment">% hObject    handle to sdc (see GCBO)</span>
+0355 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0356 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0357 
+0358 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc as text</span>
+0359 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc as a double</span>
+0360 
+0361 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0362 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0363 
+0364 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0365 <a name="_sub26" href="#_subfunctions" class="code">function sdc_CreateFcn(hObject, eventdata, handles)</a>
+0366 <span class="comment">% hObject    handle to sdc (see GCBO)</span>
+0367 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0368 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0369 
+0370 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0371 <span class="comment">%       See ISPC and COMPUTER.</span>
+0372 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0373     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0374 <span class="keyword">end</span>
+0375 
+0376 
+0377 
+0378 <a name="_sub27" href="#_subfunctions" class="code">function septum_Callback(hObject, eventdata, handles)</a>
+0379 <span class="comment">% hObject    handle to septum (see GCBO)</span>
+0380 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0381 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0382 
+0383 <span class="comment">% Hints: get(hObject,'String') returns contents of septum as text</span>
+0384 <span class="comment">%        str2double(get(hObject,'String')) returns contents of septum as a double</span>
+0385 
+0386 <span class="comment">%delay=str2double(get(hObject,'String'));</span>
+0387 <span class="comment">%tango_write_attribute('BOO/SY/LOCAL.Binj.1', 'sep-p.inj.trigTimeDelay',delay);</span>
+0388 
+0389 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0390 <a name="_sub28" href="#_subfunctions" class="code">function septum_CreateFcn(hObject, eventdata, handles)</a>
+0391 <span class="comment">% hObject    handle to septum (see GCBO)</span>
+0392 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0393 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0394 
+0395 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0396 <span class="comment">%       See ISPC and COMPUTER.</span>
+0397 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0398     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0399 <span class="keyword">end</span>
+0400 
+0401 
+0402 
+0403 <a name="_sub29" href="#_subfunctions" class="code">function kicker_Callback(hObject, eventdata, handles)</a>
+0404 <span class="comment">% hObject    handle to kicker (see GCBO)</span>
+0405 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0406 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0407 
+0408 <span class="comment">% Hints: get(hObject,'String') returns contents of kicker as text</span>
+0409 <span class="comment">%        str2double(get(hObject,'String')) returns contents of kicker as a double</span>
+0410 
+0411 <span class="comment">%delay=str2double(get(hObject,'String'));</span>
+0412 <span class="comment">%tango_write_attribute('BOO/SY/LOCAL.Binj.1', 'k.inj.trigTimeDelay',delay);</span>
+0413 
+0414 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0415 <a name="_sub30" href="#_subfunctions" class="code">function kicker_CreateFcn(hObject, eventdata, handles)</a>
+0416 <span class="comment">% hObject    handle to kicker (see GCBO)</span>
+0417 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0418 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0419 
+0420 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0421 <span class="comment">%       See ISPC and COMPUTER.</span>
+0422 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0423     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0424 <span class="keyword">end</span>
+0425 
+0426 
+0427 
+0428 <a name="_sub31" href="#_subfunctions" class="code">function bpm_Callback(hObject, eventdata, handles)</a>
+0429 <span class="comment">% hObject    handle to bpm (see GCBO)</span>
+0430 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0431 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0432 
+0433 <span class="comment">% Hints: get(hObject,'String') returns contents of bpm as text</span>
+0434 <span class="comment">%        str2double(get(hObject,'String')) returns contents of bpm as a double</span>
+0435 
+0436 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0437 tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-booTimeDelay'</span>,delay);
+0438 
+0439 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0440 <a name="_sub32" href="#_subfunctions" class="code">function bpm_CreateFcn(hObject, eventdata, handles)</a>
+0441 <span class="comment">% hObject    handle to bpm (see GCBO)</span>
+0442 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0443 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0444 
+0445 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0446 <span class="comment">%       See ISPC and COMPUTER.</span>
+0447 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0448     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0449 <span class="keyword">end</span>
+0450 
+0451 
+0452 
+0453 <a name="_sub33" href="#_subfunctions" class="code">function nod_Callback(hObject, eventdata, handles)</a>
+0454 <span class="comment">% hObject    handle to nod (see GCBO)</span>
+0455 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0456 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0457 
+0458 <span class="comment">% Hints: get(hObject,'String') returns contents of nod as text</span>
+0459 <span class="comment">%        str2double(get(hObject,'String')) returns contents of nod as a double</span>
+0460 
+0461 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0462 tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'NODTimeDelay'</span>,delay);
+0463 
+0464 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0465 <a name="_sub34" href="#_subfunctions" class="code">function nod_CreateFcn(hObject, eventdata, handles)</a>
+0466 <span class="comment">% hObject    handle to nod (see GCBO)</span>
+0467 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0468 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0469 
+0470 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0471 <span class="comment">%       See ISPC and COMPUTER.</span>
+0472 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0473     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0474 <span class="keyword">end</span>
+0475 
+0476 
+0477 
+0478 <a name="_sub35" href="#_subfunctions" class="code">function dcct_Callback(hObject, eventdata, handles)</a>
+0479 <span class="comment">% hObject    handle to dcct (see GCBO)</span>
+0480 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0481 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0482 
+0483 <span class="comment">% Hints: get(hObject,'String') returns contents of dcct as text</span>
+0484 <span class="comment">%        str2double(get(hObject,'String')) returns contents of dcct as a double</span>
+0485 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0486 tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0487 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0488 <a name="_sub36" href="#_subfunctions" class="code">function dcct_CreateFcn(hObject, eventdata, handles)</a>
+0489 <span class="comment">% hObject    handle to dcct (see GCBO)</span>
+0490 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0491 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0492 
+0493 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0494 <span class="comment">%       See ISPC and COMPUTER.</span>
+0495 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0496     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0497 <span class="keyword">end</span>
+0498 
+0499 
+0500 
+0501 <a name="_sub37" href="#_subfunctions" class="code">function hall_Callback(hObject, eventdata, handles)</a>
+0502 <span class="comment">% hObject    handle to hall (see GCBO)</span>
+0503 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0504 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0505 
+0506 <span class="comment">% Hints: get(hObject,'String') returns contents of hall as text</span>
+0507 <span class="comment">%        str2double(get(hObject,'String')) returns contents of hall as a double</span>
+0508 
+0509 
+0510 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0511 <a name="_sub38" href="#_subfunctions" class="code">function hall_CreateFcn(hObject, eventdata, handles)</a>
+0512 <span class="comment">% hObject    handle to hall (see GCBO)</span>
+0513 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0514 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0515 
+0516 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0517 <span class="comment">%       See ISPC and COMPUTER.</span>
+0518 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0519     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0520 <span class="keyword">end</span>
+0521 
+0522 
+0523 
+0524 <a name="_sub39" href="#_subfunctions" class="code">function pc_address_Callback(hObject, eventdata, handles)</a>
+0525 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0526 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0527 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0528 
+0529 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0530 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0531 
+0532 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0533 tango_write_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+0534 
+0535 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0536 <a name="_sub40" href="#_subfunctions" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a>
+0537 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0538 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0539 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0540 
+0541 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0542 <span class="comment">%       See ISPC and COMPUTER.</span>
+0543 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0544     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0545 <span class="keyword">end</span>
+0546 
+0547 
+0548 
+0549 <a name="_sub41" href="#_subfunctions" class="code">function inj_address_Callback(hObject, eventdata, handles)</a>
+0550 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0551 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0552 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0553 
+0554 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_address as text</span>
+0555 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_address as a double</span>
+0556 
+0557 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0558 tango_write_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0559 
+0560 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0561 <a name="_sub42" href="#_subfunctions" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a>
+0562 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0563 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0564 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0565 
+0566 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0567 <span class="comment">%       See ISPC and COMPUTER.</span>
+0568 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0569     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0570 <span class="keyword">end</span>
+0571 
+0572 
+0573 
+0574 <a name="_sub43" href="#_subfunctions" class="code">function edit21_Callback(hObject, eventdata, handles)</a>
+0575 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0576 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0577 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0578 
+0579 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0580 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0581 
+0582 
+0583 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0584 <a name="_sub44" href="#_subfunctions" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a>
+0585 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0586 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0587 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0588 
+0589 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0590 <span class="comment">%       See ISPC and COMPUTER.</span>
+0591 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0592     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0593 <span class="keyword">end</span>
+0594 
+0595 
+0596 
+0597 <a name="_sub45" href="#_subfunctions" class="code">function soft_address_Callback(hObject, eventdata, handles)</a>
+0598 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0599 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0600 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0601 
+0602 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address as text</span>
+0603 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address as a double</span>
+0604 
+0605 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0606 tango_write_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0607 
+0608 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0609 <a name="_sub46" href="#_subfunctions" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a>
+0610 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0611 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0612 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0613 
+0614 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0615 <span class="comment">%       See ISPC and COMPUTER.</span>
+0616 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0617     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0618 <span class="keyword">end</span>
+0619 
+0620 
+0621 <span class="comment">% --- Executes on button press in acquisition1.</span>
+0622 <a name="_sub47" href="#_subfunctions" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a>
+0623 <span class="comment">% hObject    handle to acquisition1 (see GCBO)</span>
+0624 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0625 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0626 
+0627 
+0628 
+0629 
+0630 n=2;
+0631 
+0632 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0633 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0634 
+0635 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0636 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0637 
+0638 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0639 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0640 
+0641 
+0642 
+0643 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0644 set(handles.sdc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0645 
+0646 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0647 set(handles.canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+0648 
+0649 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-booTimeDelay'</span>);
+0650 set(handles.bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0651 
+0652 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0653 set(handles.emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0654 
+0655 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0656 set(handles.MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0657 
+0658 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0659 set(handles.MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0660 
+0661 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0662 set(handles.osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0663 
+0664 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0665 set(handles.dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0666 
+0667 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'NODTimeDelay'</span>);
+0668 set(handles.nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0669 
+0670 <span class="comment">% temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.inj.trigTimeDelay');</span>
+0671 <span class="comment">% set(handles.septum,'String',num2str(temp.value(n)));</span>
+0672 
+0673 <span class="comment">% temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.inj.trigTimeDelay');</span>
+0674 <span class="comment">% set(handles.kicker,'String',num2str(temp.value(n)));</span>
+0675 
+0676 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0677 set(handles.dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0678 
+0679 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0680 set(handles.qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0681 
+0682 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0683 set(handles.qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0684 
+0685 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0686 set(handles.sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0687 
+0688 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0689 set(handles.sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0690 
+0691 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0692 set(handles.rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0693 
+0694 
+0695 <span class="comment">% --- Executes on button press in acquisition2.</span>
+0696 <a name="_sub48" href="#_subfunctions" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a>
+0697 <span class="comment">% hObject    handle to acquisition2 (see GCBO)</span>
+0698 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0699 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0700 
+0701 n=1;
+0702 
+0703 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0704 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0705 
+0706 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0707 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0708 
+0709 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0710 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0711 
+0712 
+0713 
+0714 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0715 set(handles.sdc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0716 
+0717 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0718 set(handles.canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+0719 
+0720 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-booTimeDelay'</span>);
+0721 set(handles.bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0722 
+0723 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0724 set(handles.emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0725 
+0726 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0727 set(handles.MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0728 
+0729 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0730 set(handles.MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0731 
+0732 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0733 set(handles.osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0734 
+0735 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0736 set(handles.dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0737 
+0738 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'NODTimeDelay'</span>);
+0739 set(handles.nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0740 
+0741 <span class="comment">% temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.injread.trigTimeDelay');</span>
+0742 <span class="comment">% set(handles.septum,'String',num2str(temp.value(n)));</span>
+0743 
+0744 <span class="comment">% temp=tango_read_attribute2('BOO/SY/LOCAL.Binj.1', 'k.inj.trigTimeDelay');</span>
+0745 <span class="comment">% set(handles.kicker,'String',num2str(temp.value(n)));</span>
+0746 
+0747 
+0748 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0749 set(handles.dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0750 
+0751 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0752 set(handles.qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0753 
+0754 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0755 set(handles.qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0756 
+0757 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0758 set(handles.sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0759 
+0760 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0761 set(handles.sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0762 
+0763 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0764 set(handles.rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0765 
+0766 
+0767 
+0768 
+0769 <span class="comment">% --- Executes on button press in soft_button.</span>
+0770 <a name="_sub49" href="#_subfunctions" class="code">function soft_button_Callback(hObject, eventdata, handles)</a>
+0771 <span class="comment">% hObject    handle to soft_button (see GCBO)</span>
+0772 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0773 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0774 
+0775 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of soft_button</span>
+0776 
+0777 etat=get(hObject,<span class="string">'Value'</span>);
+0778 <span class="keyword">if</span> (etat==0)
+0779     event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0780     tango_write_attribute(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event);
+0781     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event);
+0782     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-booEvent'</span>,event);
+0783     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event);
+0784     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event);
+0785     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event);
+0786     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event);
+0787     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event);
+0788     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'NODEvent'</span>,event);
+0789  <span class="comment">%  temp=tango_write_attribute('BOO/SY/LOCAL.Binj.1', 'sep-p.inj.trigEvent',event);</span>
+0790 <span class="comment">%   temp=tango_write_attribute('BOO/SY/LOCAL.Binj.1', 'k.inj.trigEvent',event);</span>
+0791 <span class="keyword">elseif</span> (etat==1)
+0792     event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0793     tango_write_attribute(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event);
+0794     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event);
+0795     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-booEvent'</span>,event);
+0796     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event);
+0797     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event);
+0798     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event);
+0799     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event);
+0800     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event);
+0801     tango_write_attribute(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'NODEvent'</span>,event);
+0802 <span class="comment">%   temp=tango_write_attribute('BOO/SY/LOCAL.Binj.1', 'sep-p.inj.trigEvent',event);</span>
+0803 <span class="comment">%   temp=tango_write_attribute('BOO/SY/LOCAL.Binj.1', 'k.inj.trigEvent',event);</span>
+0804 <span class="keyword">end</span>
+0805 
+0806 
+0807 <span class="comment">% --- Executes on button press in push_soft.</span>
+0808 <a name="_sub50" href="#_subfunctions" class="code">function push_soft_Callback(hObject, eventdata, handles)</a>
+0809 <span class="comment">% hObject    handle to push_soft (see GCBO)</span>
+0810 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0811 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0812 
+0813 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur1.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur1.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur1.html	(revision 17)
@@ -0,0 +1,1073 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur1</title>
+  <meta name="keywords" content="synchro_injecteur1">
+  <meta name="description" content="SYNCHRO_INJECTEUR1 M-file for synchro_injecteur1.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur1.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur1
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR1 M-file for synchro_injecteur1.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur1(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR1 M-file for synchro_injecteur1.fig
+      SYNCHRO_INJECTEUR1, by itself, creates a new SYNCHRO_INJECTEUR1 or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR1 returns the handle to a new SYNCHRO_INJECTEUR1 or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR1('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR1.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR1('Property','Value',...) creates a new SYNCHRO_INJECTEUR1 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur1_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur1_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="step.html" class="code" title="">step</a>	reglage delta tune Ã  110 MeV</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur1_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur1_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function canon_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function canon_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function hall_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function hall_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function pc_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function inj_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function edit21_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function soft_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function soft_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function push_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub54" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub55" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub56" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur1(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR1 M-file for synchro_injecteur1.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR1, by itself, creates a new SYNCHRO_INJECTEUR1 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR1 returns the handle to a new SYNCHRO_INJECTEUR1 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR1('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR1.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR1('Property','Value',...) creates a new SYNCHRO_INJECTEUR1 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur1_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur1_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur1</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 21-Apr-2006 12:07:48</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur1_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur1_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur1_OutputFcn(hObject, eventdata, handles)">synchro_injecteur1_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_injecteur1 is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur1_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_injecteur1 (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_injecteur1</span>
+0056 handles.output = hObject;
+0057 
+0058 
+0059 <span class="comment">% periode du trigger par defaut = 4/3</span>
+0060 handles.periode = 1.36;
+0061 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0062 
+0063 <span class="comment">% Creates timer Infinite loop</span>
+0064 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0065     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0066 timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+0067 setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+0068 
+0069 <span class="comment">% button group sur on/off timer du trigger</span>
+0070 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.305 0.08 0.15 0.12],<span class="keyword">...</span>
+0071     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0072     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0073 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0074     <span class="string">'pos'</span>,[60 15 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0075     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0076 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'ON'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0077     <span class="string">'pos'</span>,[60 45 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0078     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0079 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0080     {@<a href="#_sub53" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0081 
+0082 handles.off = u1;
+0083 handles.on = u2;
+0084 
+0085 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0086 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0087 
+0088 <span class="comment">%% Set closing gui function</span>
+0089 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub55" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0090 
+0091 <span class="comment">% Update handles structure</span>
+0092 guidata(hObject, handles);
+0093 
+0094 <span class="comment">% UIWAIT makes synchro_injecteur1 wait for user response (see UIRESUME)</span>
+0095 <span class="comment">% uiwait(handles.figure1);</span>
+0096 
+0097 
+0098 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0099 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur1_OutputFcn(hObject, eventdata, handles) </a>
+0100 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0101 <span class="comment">% hObject    handle to figure</span>
+0102 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0103 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0104 
+0105 <span class="comment">% Get default command line output from handles structure</span>
+0106 varargout{1} = handles.output;
+0107 
+0108 
+0109 
+0110 <a name="_sub3" href="#_subfunctions" class="code">function dipole_Callback(hObject, eventdata, handles)</a>
+0111 <span class="comment">% hObject    handle to dipole (see GCBO)</span>
+0112 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0113 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0114 
+0115 <span class="comment">% Hints: get(hObject,'String') returns contents of dipole as text</span>
+0116 <span class="comment">%        str2double(get(hObject,'String')) returns contents of dipole as a double</span>
+0117 
+0118 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0119 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0120 
+0121 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0122 <a name="_sub4" href="#_subfunctions" class="code">function dipole_CreateFcn(hObject, eventdata, handles)</a>
+0123 <span class="comment">% hObject    handle to dipole (see GCBO)</span>
+0124 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0125 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0126 
+0127 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0128 <span class="comment">%       See ISPC and COMPUTER.</span>
+0129 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0130     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0131 <span class="keyword">end</span>
+0132 
+0133 
+0134 <a name="_sub5" href="#_subfunctions" class="code">function qf_Callback(hObject, eventdata, handles)</a>
+0135 <span class="comment">% hObject    handle to qf (see GCBO)</span>
+0136 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0137 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0138 
+0139 <span class="comment">% Hints: get(hObject,'String') returns contents of qf as text</span>
+0140 <span class="comment">%        str2double(get(hObject,'String')) returns contents of qf as a double</span>
+0141 
+0142 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0143 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0144 
+0145 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0146 <a name="_sub6" href="#_subfunctions" class="code">function qf_CreateFcn(hObject, eventdata, handles)</a>
+0147 <span class="comment">% hObject    handle to qf (see GCBO)</span>
+0148 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0149 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0150 
+0151 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0152 <span class="comment">%       See ISPC and COMPUTER.</span>
+0153 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0154     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0155 <span class="keyword">end</span>
+0156 
+0157 
+0158 
+0159 <a name="_sub7" href="#_subfunctions" class="code">function qd_Callback(hObject, eventdata, handles)</a>
+0160 <span class="comment">% hObject    handle to qd (see GCBO)</span>
+0161 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0162 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0163 
+0164 <span class="comment">% Hints: get(hObject,'String') returns contents of qd as text</span>
+0165 <span class="comment">%        str2double(get(hObject,'String')) returns contents of qd as a double</span>
+0166 
+0167 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0168 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0169 
+0170 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0171 <a name="_sub8" href="#_subfunctions" class="code">function qd_CreateFcn(hObject, eventdata, handles)</a>
+0172 <span class="comment">% hObject    handle to qd (see GCBO)</span>
+0173 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0174 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0175 
+0176 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0177 <span class="comment">%       See ISPC and COMPUTER.</span>
+0178 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0179     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0180 <span class="keyword">end</span>
+0181 
+0182 
+0183 
+0184 <a name="_sub9" href="#_subfunctions" class="code">function sf_Callback(hObject, eventdata, handles)</a>
+0185 <span class="comment">% hObject    handle to sf (see GCBO)</span>
+0186 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0187 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0188 
+0189 <span class="comment">% Hints: get(hObject,'String') returns contents of sf as text</span>
+0190 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sf as a double</span>
+0191 
+0192 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0193 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0194 
+0195 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0196 <a name="_sub10" href="#_subfunctions" class="code">function sf_CreateFcn(hObject, eventdata, handles)</a>
+0197 <span class="comment">% hObject    handle to sf (see GCBO)</span>
+0198 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0199 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0200 
+0201 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0202 <span class="comment">%       See ISPC and COMPUTER.</span>
+0203 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0204     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0205 <span class="keyword">end</span>
+0206 
+0207 
+0208 
+0209 <a name="_sub11" href="#_subfunctions" class="code">function sd_Callback(hObject, eventdata, handles)</a>
+0210 <span class="comment">% hObject    handle to sd (see GCBO)</span>
+0211 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0212 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0213 
+0214 <span class="comment">% Hints: get(hObject,'String') returns contents of sd as text</span>
+0215 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sd as a double</span>
+0216 
+0217 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0218 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0219 
+0220 
+0221 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0222 <a name="_sub12" href="#_subfunctions" class="code">function sd_CreateFcn(hObject, eventdata, handles)</a>
+0223 <span class="comment">% hObject    handle to sd (see GCBO)</span>
+0224 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0225 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0226 
+0227 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0228 <span class="comment">%       See ISPC and COMPUTER.</span>
+0229 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0230     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0231 <span class="keyword">end</span>
+0232 
+0233 
+0234 
+0235 <a name="_sub13" href="#_subfunctions" class="code">function rf_Callback(hObject, eventdata, handles)</a>
+0236 <span class="comment">% hObject    handle to rf (see GCBO)</span>
+0237 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0238 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0239 
+0240 <span class="comment">% Hints: get(hObject,'String') returns contents of rf as text</span>
+0241 <span class="comment">%        str2double(get(hObject,'String')) returns contents of rf as a double</span>
+0242 
+0243 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0244 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0245 
+0246 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0247 <a name="_sub14" href="#_subfunctions" class="code">function rf_CreateFcn(hObject, eventdata, handles)</a>
+0248 <span class="comment">% hObject    handle to rf (see GCBO)</span>
+0249 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0250 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0251 
+0252 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0253 <span class="comment">%       See ISPC and COMPUTER.</span>
+0254 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0255     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0256 <span class="keyword">end</span>
+0257 
+0258 
+0259 
+0260 <a name="_sub15" href="#_subfunctions" class="code">function canon_Callback(hObject, eventdata, handles)</a>
+0261 <span class="comment">% hObject    handle to canon (see GCBO)</span>
+0262 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0263 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0264 
+0265 <span class="comment">% Hints: get(hObject,'String') returns contents of canon as text</span>
+0266 <span class="comment">%        str2double(get(hObject,'String')) returns contents of canon as a double</span>
+0267 
+0268 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0269 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0270 
+0271 
+0272 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0273 <a name="_sub16" href="#_subfunctions" class="code">function canon_CreateFcn(hObject, eventdata, handles)</a>
+0274 <span class="comment">% hObject    handle to canon (see GCBO)</span>
+0275 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0276 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0277 
+0278 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0279 <span class="comment">%       See ISPC and COMPUTER.</span>
+0280 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0281     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0282 <span class="keyword">end</span>
+0283 
+0284 
+0285 
+0286 <a name="_sub17" href="#_subfunctions" class="code">function emittance_Callback(hObject, eventdata, handles)</a>
+0287 <span class="comment">% hObject    handle to emittance (see GCBO)</span>
+0288 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0289 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0290 
+0291 <span class="comment">% Hints: get(hObject,'String') returns contents of emittance as text</span>
+0292 <span class="comment">%        str2double(get(hObject,'String')) returns contents of emittance as a double</span>
+0293 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0294 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0295 
+0296 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0297 <a name="_sub18" href="#_subfunctions" class="code">function emittance_CreateFcn(hObject, eventdata, handles)</a>
+0298 <span class="comment">% hObject    handle to emittance (see GCBO)</span>
+0299 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0300 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0301 
+0302 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0303 <span class="comment">%       See ISPC and COMPUTER.</span>
+0304 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0305     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0306 <span class="keyword">end</span>
+0307 
+0308 
+0309 
+0310 <a name="_sub19" href="#_subfunctions" class="code">function MC1_Callback(hObject, eventdata, handles)</a>
+0311 <span class="comment">% hObject    handle to MC1 (see GCBO)</span>
+0312 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0313 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0314 
+0315 <span class="comment">% Hints: get(hObject,'String') returns contents of MC1 as text</span>
+0316 <span class="comment">%        str2double(get(hObject,'String')) returns contents of MC1 as a double</span>
+0317 
+0318 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0319 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0320 
+0321 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0322 <a name="_sub20" href="#_subfunctions" class="code">function MC1_CreateFcn(hObject, eventdata, handles)</a>
+0323 <span class="comment">% hObject    handle to MC1 (see GCBO)</span>
+0324 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0325 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0326 
+0327 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0328 <span class="comment">%       See ISPC and COMPUTER.</span>
+0329 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0330     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0331 <span class="keyword">end</span>
+0332 
+0333 
+0334 
+0335 <a name="_sub21" href="#_subfunctions" class="code">function MC2_Callback(hObject, eventdata, handles)</a>
+0336 <span class="comment">% hObject    handle to MC2 (see GCBO)</span>
+0337 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0338 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0339 
+0340 <span class="comment">% Hints: get(hObject,'String') returns contents of MC2 as text</span>
+0341 <span class="comment">%        str2double(get(hObject,'String')) returns contents of MC2 as a double</span>
+0342 
+0343 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0344 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0345 
+0346 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0347 <a name="_sub22" href="#_subfunctions" class="code">function MC2_CreateFcn(hObject, eventdata, handles)</a>
+0348 <span class="comment">% hObject    handle to MC2 (see GCBO)</span>
+0349 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0350 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0351 
+0352 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0353 <span class="comment">%       See ISPC and COMPUTER.</span>
+0354 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0355     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0356 <span class="keyword">end</span>
+0357 
+0358 
+0359 
+0360 <a name="_sub23" href="#_subfunctions" class="code">function osc_Callback(hObject, eventdata, handles)</a>
+0361 <span class="comment">% hObject    handle to osc (see GCBO)</span>
+0362 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0363 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0364 
+0365 <span class="comment">% Hints: get(hObject,'String') returns contents of osc as text</span>
+0366 <span class="comment">%        str2double(get(hObject,'String')) returns contents of osc as a double</span>
+0367 
+0368 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0369 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0370 
+0371 
+0372 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0373 <a name="_sub24" href="#_subfunctions" class="code">function osc_CreateFcn(hObject, eventdata, handles)</a>
+0374 <span class="comment">% hObject    handle to osc (see GCBO)</span>
+0375 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0376 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0377 
+0378 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0379 <span class="comment">%       See ISPC and COMPUTER.</span>
+0380 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0381     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0382 <span class="keyword">end</span>
+0383 
+0384 
+0385 
+0386 <a name="_sub25" href="#_subfunctions" class="code">function sdc_Callback(hObject, eventdata, handles)</a>
+0387 <span class="comment">% hObject    handle to sdc (see GCBO)</span>
+0388 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0389 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0390 
+0391 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc as text</span>
+0392 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc as a double</span>
+0393 
+0394 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0395 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0396 
+0397 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0398 <a name="_sub26" href="#_subfunctions" class="code">function sdc_CreateFcn(hObject, eventdata, handles)</a>
+0399 <span class="comment">% hObject    handle to sdc (see GCBO)</span>
+0400 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0401 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0402 
+0403 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0404 <span class="comment">%       See ISPC and COMPUTER.</span>
+0405 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0406     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0407 <span class="keyword">end</span>
+0408 
+0409 
+0410 
+0411 <a name="_sub27" href="#_subfunctions" class="code">function septum_Callback(hObject, eventdata, handles)</a>
+0412 <span class="comment">% hObject    handle to septum (see GCBO)</span>
+0413 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0414 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0415 
+0416 <span class="comment">% Hints: get(hObject,'String') returns contents of septum as text</span>
+0417 <span class="comment">%        str2double(get(hObject,'String')) returns contents of septum as a double</span>
+0418 
+0419 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0420 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.inj.trigTimeDelay'</span>,delay);
+0421 
+0422 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0423 <a name="_sub28" href="#_subfunctions" class="code">function septum_CreateFcn(hObject, eventdata, handles)</a>
+0424 <span class="comment">% hObject    handle to septum (see GCBO)</span>
+0425 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0426 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0427 
+0428 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0429 <span class="comment">%       See ISPC and COMPUTER.</span>
+0430 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0431     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0432 <span class="keyword">end</span>
+0433 
+0434 
+0435 
+0436 <a name="_sub29" href="#_subfunctions" class="code">function kicker_Callback(hObject, eventdata, handles)</a>
+0437 <span class="comment">% hObject    handle to kicker (see GCBO)</span>
+0438 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0439 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0440 
+0441 <span class="comment">% Hints: get(hObject,'String') returns contents of kicker as text</span>
+0442 <span class="comment">%        str2double(get(hObject,'String')) returns contents of kicker as a double</span>
+0443 
+0444 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0445 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.inj.trigTimeDelay'</span>,delay);
+0446 
+0447 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0448 <a name="_sub30" href="#_subfunctions" class="code">function kicker_CreateFcn(hObject, eventdata, handles)</a>
+0449 <span class="comment">% hObject    handle to kicker (see GCBO)</span>
+0450 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0451 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0452 
+0453 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0454 <span class="comment">%       See ISPC and COMPUTER.</span>
+0455 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0456     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0457 <span class="keyword">end</span>
+0458 
+0459 
+0460 
+0461 <a name="_sub31" href="#_subfunctions" class="code">function bpm_Callback(hObject, eventdata, handles)</a>
+0462 <span class="comment">% hObject    handle to bpm (see GCBO)</span>
+0463 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0464 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0465 
+0466 <span class="comment">% Hints: get(hObject,'String') returns contents of bpm as text</span>
+0467 <span class="comment">%        str2double(get(hObject,'String')) returns contents of bpm as a double</span>
+0468 
+0469 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0470 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0471 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0472 <span class="comment">% tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btc.trigTimeDelay',delay);</span>
+0473 <span class="comment">% tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btb.trigTimeDelay',delay);</span>
+0474 
+0475 
+0476 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0477 <a name="_sub32" href="#_subfunctions" class="code">function bpm_CreateFcn(hObject, eventdata, handles)</a>
+0478 <span class="comment">% hObject    handle to bpm (see GCBO)</span>
+0479 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0480 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0481 
+0482 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0483 <span class="comment">%       See ISPC and COMPUTER.</span>
+0484 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0485     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0486 <span class="keyword">end</span>
+0487 
+0488 
+0489 
+0490 <a name="_sub33" href="#_subfunctions" class="code">function nod_Callback(hObject, eventdata, handles)</a>
+0491 <span class="comment">% hObject    handle to nod (see GCBO)</span>
+0492 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0493 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0494 
+0495 <span class="comment">% Hints: get(hObject,'String') returns contents of nod as text</span>
+0496 <span class="comment">%        str2double(get(hObject,'String')) returns contents of nod as a double</span>
+0497 
+0498 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0499 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'NODTimeDelay'</span>,delay);
+0500 
+0501 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0502 <a name="_sub34" href="#_subfunctions" class="code">function nod_CreateFcn(hObject, eventdata, handles)</a>
+0503 <span class="comment">% hObject    handle to nod (see GCBO)</span>
+0504 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0505 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0506 
+0507 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0508 <span class="comment">%       See ISPC and COMPUTER.</span>
+0509 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0510     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0511 <span class="keyword">end</span>
+0512 
+0513 
+0514 
+0515 <a name="_sub35" href="#_subfunctions" class="code">function dcct_Callback(hObject, eventdata, handles)</a>
+0516 <span class="comment">% hObject    handle to dcct (see GCBO)</span>
+0517 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0518 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0519 
+0520 <span class="comment">% Hints: get(hObject,'String') returns contents of dcct as text</span>
+0521 <span class="comment">%        str2double(get(hObject,'String')) returns contents of dcct as a double</span>
+0522 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0523 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0524 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0525 <a name="_sub36" href="#_subfunctions" class="code">function dcct_CreateFcn(hObject, eventdata, handles)</a>
+0526 <span class="comment">% hObject    handle to dcct (see GCBO)</span>
+0527 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0528 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0529 
+0530 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0531 <span class="comment">%       See ISPC and COMPUTER.</span>
+0532 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0533     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0534 <span class="keyword">end</span>
+0535 
+0536 
+0537 
+0538 <a name="_sub37" href="#_subfunctions" class="code">function hall_Callback(hObject, eventdata, handles)</a>
+0539 <span class="comment">% hObject    handle to hall (see GCBO)</span>
+0540 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0541 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0542 
+0543 <span class="comment">% Hints: get(hObject,'String') returns contents of hall as text</span>
+0544 <span class="comment">%        str2double(get(hObject,'String')) returns contents of hall as a double</span>
+0545 
+0546 
+0547 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0548 <a name="_sub38" href="#_subfunctions" class="code">function hall_CreateFcn(hObject, eventdata, handles)</a>
+0549 <span class="comment">% hObject    handle to hall (see GCBO)</span>
+0550 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0551 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0552 
+0553 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0554 <span class="comment">%       See ISPC and COMPUTER.</span>
+0555 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0556     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0557 <span class="keyword">end</span>
+0558 
+0559 
+0560 
+0561 <a name="_sub39" href="#_subfunctions" class="code">function pc_address_Callback(hObject, eventdata, handles)</a>
+0562 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0563 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0564 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0565 
+0566 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0567 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0568 
+0569 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0570 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+0571 
+0572 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0573 <a name="_sub40" href="#_subfunctions" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a>
+0574 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0575 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0576 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0577 
+0578 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0579 <span class="comment">%       See ISPC and COMPUTER.</span>
+0580 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0581     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0582 <span class="keyword">end</span>
+0583 
+0584 
+0585 
+0586 <a name="_sub41" href="#_subfunctions" class="code">function inj_address_Callback(hObject, eventdata, handles)</a>
+0587 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0588 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0589 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0590 
+0591 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_address as text</span>
+0592 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_address as a double</span>
+0593 
+0594 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0595 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0596 
+0597 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0598 <a name="_sub42" href="#_subfunctions" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a>
+0599 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0600 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0601 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0602 
+0603 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0604 <span class="comment">%       See ISPC and COMPUTER.</span>
+0605 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0606     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0607 <span class="keyword">end</span>
+0608 
+0609 
+0610 
+0611 <a name="_sub43" href="#_subfunctions" class="code">function edit21_Callback(hObject, eventdata, handles)</a>
+0612 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0613 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0614 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0615 
+0616 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0617 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0618 
+0619 
+0620 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0621 <a name="_sub44" href="#_subfunctions" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a>
+0622 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0623 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0624 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0625 
+0626 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0627 <span class="comment">%       See ISPC and COMPUTER.</span>
+0628 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0629     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0630 <span class="keyword">end</span>
+0631 
+0632 
+0633 
+0634 <a name="_sub45" href="#_subfunctions" class="code">function soft_address_Callback(hObject, eventdata, handles)</a>
+0635 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0636 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0637 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0638 
+0639 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address as text</span>
+0640 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address as a double</span>
+0641 
+0642 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0643 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0644 
+0645 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0646 <a name="_sub46" href="#_subfunctions" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a>
+0647 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0648 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0649 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0650 
+0651 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0652 <span class="comment">%       See ISPC and COMPUTER.</span>
+0653 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0654     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0655 <span class="keyword">end</span>
+0656 
+0657 
+0658 <span class="comment">% --- Executes on button press in acquisition1.</span>
+0659 <a name="_sub47" href="#_subfunctions" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a>
+0660 <span class="comment">% hObject    handle to acquisition1 (see GCBO)</span>
+0661 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0662 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0663 
+0664 
+0665 
+0666 
+0667 n=2;
+0668 
+0669 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0670 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0671 
+0672 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0673 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0674 
+0675 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0676 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0677 
+0678 
+0679 
+0680 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0681 set(handles.sdc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0682 
+0683 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0684 set(handles.canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+0685 
+0686 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0687 set(handles.bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0688 
+0689 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0690 set(handles.emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0691 
+0692 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0693 set(handles.MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0694 
+0695 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0696 set(handles.MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0697 
+0698 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0699 set(handles.osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0700 
+0701 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0702 set(handles.dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0703 
+0704 <span class="comment">%temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'NODTimeDelay');</span>
+0705 <span class="comment">%set(handles.nod,'String',num2str(temp.value(n)));</span>
+0706 
+0707 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0708 set(handles.septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0709 
+0710 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0711 set(handles.kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0712 
+0713 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0714 set(handles.dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0715 
+0716 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0717 set(handles.qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0718 
+0719 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0720 set(handles.qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0721 
+0722 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0723 set(handles.sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0724 
+0725 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0726 set(handles.sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0727 
+0728 <span class="comment">% temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay');</span>
+0729 <span class="comment">% set(handles.rf,'String',num2str(temp.value(n)));</span>
+0730 
+0731 <span class="comment">%status soft checked on linac</span>
+0732 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+0733 temp.value(n)
+0734 <span class="keyword">if</span> (temp.value(n)==2)
+0735     set(handles.soft_button,<span class="string">'Value'</span>,0);
+0736 <span class="keyword">elseif</span> (temp.value(n)==5)
+0737     set(handles.soft_button,<span class="string">'Value'</span>,1);
+0738 <span class="keyword">end</span>
+0739 
+0740 
+0741 <span class="comment">% --- Executes on button press in acquisition2.</span>
+0742 <a name="_sub48" href="#_subfunctions" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a>
+0743 <span class="comment">% hObject    handle to acquisition2 (see GCBO)</span>
+0744 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0745 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0746 
+0747 n=1;
+0748 
+0749 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0750 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0751 
+0752 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0753 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0754 
+0755 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0756 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0757 
+0758 
+0759 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0760 set(handles.sdc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0761 
+0762 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0763 set(handles.canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+0764 
+0765 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0766 set(handles.bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0767 
+0768 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0769 set(handles.emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0770 
+0771 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0772 set(handles.MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0773 
+0774 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0775 set(handles.MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0776 
+0777 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0778 set(handles.osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0779 
+0780 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0781 set(handles.dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0782 
+0783 <span class="comment">% temp=tango_read_attribute2('LT1/SY/LOCAL.DG.1', 'NODTimeDelay');</span>
+0784 <span class="comment">% set(handles.nod,'String',num2str(temp.value(n)));</span>
+0785 
+0786 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0787 set(handles.septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0788 
+0789 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0790 set(handles.kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0791 
+0792 
+0793 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0794 set(handles.dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0795 
+0796 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0797 set(handles.qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0798 
+0799 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0800 set(handles.qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0801 
+0802 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0803 set(handles.sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0804 
+0805 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0806 set(handles.sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0807 
+0808 <span class="comment">% temp=tango_read_attribute2('BOO/SY/LOCAL.RF.1', 'rfTimeDelay');</span>
+0809 <span class="comment">% set(handles.rf,'String',num2str(temp.value(n)));</span>
+0810 
+0811 <span class="comment">%status soft checked on linac</span>
+0812 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+0813 temp.value(n)
+0814 <span class="keyword">if</span> (temp.value(n)==2)
+0815     set(handles.soft_button,<span class="string">'Value'</span>,0);
+0816 <span class="keyword">elseif</span> (temp.value(n)==5)
+0817     set(handles.soft_button,<span class="string">'Value'</span>,1);
+0818 <span class="keyword">end</span>
+0819 
+0820 
+0821 
+0822 <span class="comment">% --- Executes on button press in soft_button.</span>
+0823 <a name="_sub49" href="#_subfunctions" class="code">function soft_button_Callback(hObject, eventdata, handles)</a>
+0824 <span class="comment">% hObject    handle to soft_button (see GCBO)</span>
+0825 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0826 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0827 
+0828 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of soft_button</span>
+0829 
+0830 etat=get(hObject,<span class="string">'Value'</span>);
+0831 tout=0.5;
+0832 <span class="keyword">if</span> (etat==0)
+0833     event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0834     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+0835     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+0836     <span class="comment">%tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'bpm-booEvent',event); pause(tout);</span>
+0837     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+0838     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+0839     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+0840     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+0841     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+0842     <span class="comment">%tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'NODEvent',event); pause(tout);</span>
+0843     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+0844     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);   
+0845 <span class="keyword">elseif</span> (etat==1)
+0846     event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0847     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+0848     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+0849     <span class="comment">%tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'bpm-booEvent',event); pause(tout);</span>
+0850     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+0851     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+0852     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+0853     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+0854     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+0855     <span class="comment">%tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'NODEvent',event); pause(tout);</span>
+0856     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+0857     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+0858 <span class="keyword">end</span>
+0859 display(<span class="string">'ok change address'</span>)
+0860 
+0861 
+0862 <span class="comment">% --- Executes on button press in push_soft.</span>
+0863 <a name="_sub50" href="#_subfunctions" class="code">function push_soft_Callback(hObject, eventdata, handles)</a>
+0864 <span class="comment">% hObject    handle to push_soft (see GCBO)</span>
+0865 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0866 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0867 disp(<span class="string">'Ã§a marche !!'</span>)
+0868 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+0869 
+0870 
+0871 
+0872 <a name="_sub51" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+0873 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+0874 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0875 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0876 
+0877 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+0878 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+0879 
+0880 val_multishot = get(handles.on,<span class="string">'Value'</span>);
+0881 
+0882 <span class="keyword">if</span> val_multishot
+0883     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+0884     <span class="keyword">return</span>
+0885 <span class="keyword">else</span>
+0886     handles.periode = str2double(get(hObject,<span class="string">'String'</span>));
+0887 
+0888     <span class="comment">% change timer Infinite loop</span>
+0889     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0890         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0891     timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+0892     setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+0893 
+0894     <span class="comment">% Update handles structure</span>
+0895     guidata(hObject, handles);
+0896 <span class="keyword">end</span>
+0897 
+0898 
+0899 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0900 <a name="_sub52" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+0901 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+0902 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0903 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0904 
+0905 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0906 <span class="comment">%       See ISPC and COMPUTER.</span>
+0907 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0908     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0909 <span class="keyword">end</span>
+0910 
+0911 <a name="_sub53" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+0912 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+0913 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0914 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0915 
+0916 timer1 = getappdata(handles.figure1,<span class="string">'Timer'</span>);
+0917 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+0918     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+0919         <span class="comment">% dÃ©marrage du trigger</span>
+0920         stop(timer1);
+0921        
+0922     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+0923         <span class="comment">% stop du trigger</span>
+0924         start(timer1);
+0925         
+0926 <span class="keyword">end</span>
+0927 
+0928 <a name="_sub54" href="#_subfunctions" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a>
+0929 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+0930 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0931 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0932 
+0933 <span class="comment">%%  FONCTION ALEX</span>
+0934 disp(datestr(clock))
+0935 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+0936 
+0937 
+0938 
+0939 
+0940 
+0941 
+0942 
+0943 <span class="comment">%% What to do before closing the application</span>
+0944 <a name="_sub55" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+0945 
+0946 <span class="comment">% Get default command line output from handles structure</span>
+0947 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+0948     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+0949     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+0950 
+0951 <span class="keyword">switch</span> answer
+0952     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+0953         delete(handles); <span class="comment">%Delete Timer</span>
+0954         delete(figure1); <span class="comment">%Close gui</span>
+0955     <span class="keyword">otherwise</span>
+0956         disp(<span class="string">'Closing aborted'</span>)
+0957 <span class="keyword">end</span>
+0958 
+0959 
+0960 
+0961 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+0962 <a name="_sub56" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+0963 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+0964 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0965 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0966 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0967 <a href="step.html" class="code" title="">step</a>=temp.value(2)-0.52243;
+0968 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+0969 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0970 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+0971 
+0972 <span class="comment">% --- Executes on button press in button_softplus.</span>
+0973 <a name="_sub57" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+0974 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+0975 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0976 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0977 
+0978 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0979 <a href="step.html" class="code" title="">step</a>=temp.value(2)+0.52243;
+0980 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+0981 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0982 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+0983 
+0984 
+0985 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+0986 <a name="_sub58" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+0987 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+0988 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0989 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0990 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0991 <a href="step.html" class="code" title="">step</a>=temp.value(2)-0.52243;
+0992 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+0993 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0994 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+0995 
+0996 <span class="comment">% --- Executes on button press in button_injplus.</span>
+0997 <a name="_sub59" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+0998 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+0999 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1000 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1001 
+1002 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1003 <a href="step.html" class="code" title="">step</a>=temp.value(2)+0.52243;
+1004 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1005 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1006 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur2.html	(revision 17)
@@ -0,0 +1,2266 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur2</title>
+  <meta name="keywords" content="synchro_injecteur2">
+  <meta name="description" content="SYNCHRO_INJECTEUR2 M-file for synchro_injecteur2.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR2 M-file for synchro_injecteur2.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur2(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR2 M-file for synchro_injecteur2.fig
+      SYNCHRO_INJECTEUR2, by itself, creates a new SYNCHRO_INJECTEUR2 or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR2 returns the handle to a new SYNCHRO_INJECTEUR2 or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR2('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR2.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR2('Property','Value',...) creates a new SYNCHRO_INJECTEUR2 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur2_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur2_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="step.html" class="code" title="">step</a>	reglage delta tune Ã  110 MeV</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur2_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur2_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function alim_dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function alim_dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function alim_qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function alim_qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function alim_qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function alim_qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function alim_sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function alim_sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function alim_sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function alim_sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function lin_canon_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function lin_canon_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function boo_hall_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function boo_hall_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function pc_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function inj_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function edit21_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function soft_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function soft_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function push_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub54" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub55" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub56" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function ext_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function ext_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function soft_address1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function soft_address1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function sdc2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub107" class="code">function Acquisition_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub108" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub109" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub110" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub111" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur2(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR2 M-file for synchro_injecteur2.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR2, by itself, creates a new SYNCHRO_INJECTEUR2 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR2 returns the handle to a new SYNCHRO_INJECTEUR2 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR2('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR2.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR2('Property','Value',...) creates a new SYNCHRO_INJECTEUR2 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur2_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur2_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur2</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 05-May-2006 20:26:14</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur2_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur2_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur2_OutputFcn(hObject, eventdata, handles)">synchro_injecteur2_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_injecteur2 is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur2_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_injecteur2 (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_injecteur2</span>
+0056 handles.output = hObject;
+0057 load(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+0058 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0059 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0060 
+0061 <span class="comment">% periode du trigger par defaut = 4/3</span>
+0062 handles.periode = 1.36;
+0063 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0064 
+0065 <span class="comment">% Creates timer Infinite loop</span>
+0066 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0067     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0068 timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+0069 setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+0070 
+0071 <span class="comment">% button group sur on/off timer du trigger</span>
+0072 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.160 0.24 0.10 0.12],<span class="keyword">...</span>
+0073     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0074     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0075 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0076     <span class="string">'pos'</span>,[45 20 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0077     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0078 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'ON'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0079     <span class="string">'pos'</span>,[45 50 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0080     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0081 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0082     {@<a href="#_sub53" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0083 
+0084 handles.off = u1;
+0085 handles.on = u2;
+0086 
+0087 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0088 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0089 
+0090 <span class="comment">%% Set closing gui function</span>
+0091 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub55" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0092 
+0093 <span class="comment">% Update handles structure</span>
+0094 guidata(hObject, handles);
+0095 
+0096 <span class="comment">% UIWAIT makes synchro_injecteur2 wait for user response (see UIRESUME)</span>
+0097 <span class="comment">% uiwait(handles.figure1);</span>
+0098 
+0099 
+0100 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0101 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur2_OutputFcn(hObject, eventdata, handles) </a>
+0102 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0103 <span class="comment">% hObject    handle to figure</span>
+0104 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0105 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0106 
+0107 <span class="comment">% Get default command line output from handles structure</span>
+0108 varargout{1} = handles.output;
+0109 
+0110 
+0111 
+0112 <a name="_sub3" href="#_subfunctions" class="code">function alim_dipole_Callback(hObject, eventdata, handles)</a>
+0113 <span class="comment">% hObject    handle to alim_dipole (see GCBO)</span>
+0114 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0115 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0116 
+0117 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_dipole as text</span>
+0118 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_dipole as a double</span>
+0119 h=gcf
+0120 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0121 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0122 
+0123 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0124 <a name="_sub4" href="#_subfunctions" class="code">function alim_dipole_CreateFcn(hObject, eventdata, handles)</a>
+0125 <span class="comment">% hObject    handle to alim_dipole (see GCBO)</span>
+0126 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0127 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0128 
+0129 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0130 <span class="comment">%       See ISPC and COMPUTER.</span>
+0131 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0132     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0133 <span class="keyword">end</span>
+0134 
+0135 
+0136 <a name="_sub5" href="#_subfunctions" class="code">function alim_qf_Callback(hObject, eventdata, handles)</a>
+0137 <span class="comment">% hObject    handle to alim_qf (see GCBO)</span>
+0138 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0139 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0140 
+0141 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_qf as text</span>
+0142 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_qf as a double</span>
+0143 
+0144 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0145 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0146 
+0147 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0148 <a name="_sub6" href="#_subfunctions" class="code">function alim_qf_CreateFcn(hObject, eventdata, handles)</a>
+0149 <span class="comment">% hObject    handle to alim_qf (see GCBO)</span>
+0150 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0151 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0152 
+0153 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0154 <span class="comment">%       See ISPC and COMPUTER.</span>
+0155 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0156     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0157 <span class="keyword">end</span>
+0158 
+0159 
+0160 
+0161 <a name="_sub7" href="#_subfunctions" class="code">function alim_qd_Callback(hObject, eventdata, handles)</a>
+0162 <span class="comment">% hObject    handle to alim_qd (see GCBO)</span>
+0163 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0164 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0165 
+0166 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_qd as text</span>
+0167 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_qd as a double</span>
+0168 
+0169 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0170 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0171 
+0172 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0173 <a name="_sub8" href="#_subfunctions" class="code">function alim_qd_CreateFcn(hObject, eventdata, handles)</a>
+0174 <span class="comment">% hObject    handle to alim_qd (see GCBO)</span>
+0175 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0176 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0177 
+0178 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0179 <span class="comment">%       See ISPC and COMPUTER.</span>
+0180 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0181     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0182 <span class="keyword">end</span>
+0183 
+0184 
+0185 
+0186 <a name="_sub9" href="#_subfunctions" class="code">function alim_sf_Callback(hObject, eventdata, handles)</a>
+0187 <span class="comment">% hObject    handle to alim_sf (see GCBO)</span>
+0188 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0189 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0190 
+0191 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_sf as text</span>
+0192 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_sf as a double</span>
+0193 
+0194 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0195 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0196 
+0197 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0198 <a name="_sub10" href="#_subfunctions" class="code">function alim_sf_CreateFcn(hObject, eventdata, handles)</a>
+0199 <span class="comment">% hObject    handle to alim_sf (see GCBO)</span>
+0200 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0201 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0202 
+0203 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0204 <span class="comment">%       See ISPC and COMPUTER.</span>
+0205 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0206     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0207 <span class="keyword">end</span>
+0208 
+0209 
+0210 
+0211 <a name="_sub11" href="#_subfunctions" class="code">function alim_sd_Callback(hObject, eventdata, handles)</a>
+0212 <span class="comment">% hObject    handle to alim_sd (see GCBO)</span>
+0213 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0214 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0215 
+0216 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_sd as text</span>
+0217 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_sd as a double</span>
+0218 
+0219 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0220 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0221 
+0222 
+0223 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0224 <a name="_sub12" href="#_subfunctions" class="code">function alim_sd_CreateFcn(hObject, eventdata, handles)</a>
+0225 <span class="comment">% hObject    handle to alim_sd (see GCBO)</span>
+0226 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0227 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0228 
+0229 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0230 <span class="comment">%       See ISPC and COMPUTER.</span>
+0231 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0232     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0233 <span class="keyword">end</span>
+0234 
+0235 
+0236 
+0237 <a name="_sub13" href="#_subfunctions" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a>
+0238 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0239 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0240 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0241 
+0242 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_rf as text</span>
+0243 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_rf as a double</span>
+0244 
+0245 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0246 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0247 
+0248 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0249 <a name="_sub14" href="#_subfunctions" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a>
+0250 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0251 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0252 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0253 
+0254 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0255 <span class="comment">%       See ISPC and COMPUTER.</span>
+0256 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0257     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0258 <span class="keyword">end</span>
+0259 
+0260 
+0261 
+0262 <a name="_sub15" href="#_subfunctions" class="code">function lin_canon_Callback(hObject, eventdata, handles)</a>
+0263 <span class="comment">% hObject    handle to lin_canon (see GCBO)</span>
+0264 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0265 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0266 
+0267 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon as text</span>
+0268 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon as a double</span>
+0269 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0270 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0271 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0272 
+0273 
+0274 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0275 <a name="_sub16" href="#_subfunctions" class="code">function lin_canon_CreateFcn(hObject, eventdata, handles)</a>
+0276 <span class="comment">% hObject    handle to lin_canon (see GCBO)</span>
+0277 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0278 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0279 
+0280 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0281 <span class="comment">%       See ISPC and COMPUTER.</span>
+0282 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0283     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0284 <span class="keyword">end</span>
+0285 
+0286 
+0287 
+0288 <a name="_sub17" href="#_subfunctions" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a>
+0289 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0290 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0291 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0292 
+0293 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_emittance as text</span>
+0294 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double</span>
+0295 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0296 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0297 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0298 
+0299 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0300 <a name="_sub18" href="#_subfunctions" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a>
+0301 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0302 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0303 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0304 
+0305 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0306 <span class="comment">%       See ISPC and COMPUTER.</span>
+0307 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0308     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0309 <span class="keyword">end</span>
+0310 
+0311 
+0312 
+0313 <a name="_sub19" href="#_subfunctions" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a>
+0314 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0315 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0316 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0317 
+0318 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC1 as text</span>
+0319 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double</span>
+0320 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0321 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0322 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0323 
+0324 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0325 <a name="_sub20" href="#_subfunctions" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a>
+0326 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0327 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0328 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0329 
+0330 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0331 <span class="comment">%       See ISPC and COMPUTER.</span>
+0332 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0333     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0334 <span class="keyword">end</span>
+0335 
+0336 
+0337 
+0338 <a name="_sub21" href="#_subfunctions" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a>
+0339 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0340 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0341 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0342 
+0343 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC2 as text</span>
+0344 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double</span>
+0345 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0346 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0347 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0348 
+0349 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0350 <a name="_sub22" href="#_subfunctions" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a>
+0351 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0352 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0353 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0354 
+0355 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0356 <span class="comment">%       See ISPC and COMPUTER.</span>
+0357 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0358     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0359 <span class="keyword">end</span>
+0360 
+0361 
+0362 
+0363 <a name="_sub23" href="#_subfunctions" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a>
+0364 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0365 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0366 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0367 
+0368 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_osc as text</span>
+0369 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double</span>
+0370 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0371 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0372 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0373 
+0374 
+0375 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0376 <a name="_sub24" href="#_subfunctions" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a>
+0377 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0378 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0379 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0380 
+0381 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0382 <span class="comment">%       See ISPC and COMPUTER.</span>
+0383 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0384     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0385 <span class="keyword">end</span>
+0386 
+0387 
+0388 
+0389 <a name="_sub25" href="#_subfunctions" class="code">function sdc1_Callback(hObject, eventdata, handles)</a>
+0390 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0391 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0392 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0393 
+0394 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc1 as text</span>
+0395 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc1 as a double</span>
+0396 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0397 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0398 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0399 
+0400 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0401 <a name="_sub26" href="#_subfunctions" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a>
+0402 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0403 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0404 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0405 
+0406 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0407 <span class="comment">%       See ISPC and COMPUTER.</span>
+0408 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0409     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0410 <span class="keyword">end</span>
+0411 
+0412 
+0413 
+0414 <a name="_sub27" href="#_subfunctions" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a>
+0415 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0416 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0417 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0418 
+0419 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_septum as text</span>
+0420 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double</span>
+0421 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0422 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0423 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+0424 
+0425 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0426 <a name="_sub28" href="#_subfunctions" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a>
+0427 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0428 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0429 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0430 
+0431 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0432 <span class="comment">%       See ISPC and COMPUTER.</span>
+0433 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0434     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0435 <span class="keyword">end</span>
+0436 
+0437 
+0438 
+0439 <a name="_sub29" href="#_subfunctions" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a>
+0440 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0441 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0442 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0443 
+0444 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text</span>
+0445 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double</span>
+0446 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0447 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0448 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+0449 
+0450 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0451 <a name="_sub30" href="#_subfunctions" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a>
+0452 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0453 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0454 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0455 
+0456 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0457 <span class="comment">%       See ISPC and COMPUTER.</span>
+0458 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0459     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0460 <span class="keyword">end</span>
+0461 
+0462 
+0463 
+0464 <a name="_sub31" href="#_subfunctions" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a>
+0465 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0466 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0467 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0468 
+0469 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_bpm as text</span>
+0470 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double</span>
+0471 
+0472 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0473 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0474 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0475 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0476 tango_write_attribute2(<span class="string">'BOO-BTB/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+0477 tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+0478 
+0479 
+0480 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0481 <a name="_sub32" href="#_subfunctions" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a>
+0482 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0483 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0484 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0485 
+0486 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0487 <span class="comment">%       See ISPC and COMPUTER.</span>
+0488 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0489     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0490 <span class="keyword">end</span>
+0491 
+0492 
+0493 
+0494 <a name="_sub33" href="#_subfunctions" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a>
+0495 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0496 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0497 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0498 
+0499 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_nod as text</span>
+0500 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_nod as a double</span>
+0501 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0502 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0503 tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+0504 
+0505 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0506 <a name="_sub34" href="#_subfunctions" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a>
+0507 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0508 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0509 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0510 
+0511 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0512 <span class="comment">%       See ISPC and COMPUTER.</span>
+0513 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0514     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0515 <span class="keyword">end</span>
+0516 
+0517 
+0518 
+0519 <a name="_sub35" href="#_subfunctions" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a>
+0520 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0521 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0522 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0523 
+0524 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_dcct as text</span>
+0525 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double</span>
+0526 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0527 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0528 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0529 
+0530 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0531 <a name="_sub36" href="#_subfunctions" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a>
+0532 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0533 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0534 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0535 
+0536 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0537 <span class="comment">%       See ISPC and COMPUTER.</span>
+0538 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0539     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0540 <span class="keyword">end</span>
+0541 
+0542 
+0543 
+0544 <a name="_sub37" href="#_subfunctions" class="code">function boo_hall_Callback(hObject, eventdata, handles)</a>
+0545 <span class="comment">% hObject    handle to boo_hall (see GCBO)</span>
+0546 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0547 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0548 
+0549 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_hall as text</span>
+0550 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_hall as a double</span>
+0551 
+0552 
+0553 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0554 <a name="_sub38" href="#_subfunctions" class="code">function boo_hall_CreateFcn(hObject, eventdata, handles)</a>
+0555 <span class="comment">% hObject    handle to boo_hall (see GCBO)</span>
+0556 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0557 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0558 
+0559 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0560 <span class="comment">%       See ISPC and COMPUTER.</span>
+0561 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0562     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0563 <span class="keyword">end</span>
+0564 
+0565 
+0566 
+0567 <a name="_sub39" href="#_subfunctions" class="code">function pc_address_Callback(hObject, eventdata, handles)</a>
+0568 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0569 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0570 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0571 
+0572 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0573 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0574 
+0575 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0576 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+0577 
+0578 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0579 <a name="_sub40" href="#_subfunctions" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a>
+0580 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0581 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0582 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0583 
+0584 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0585 <span class="comment">%       See ISPC and COMPUTER.</span>
+0586 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0587     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0588 <span class="keyword">end</span>
+0589 
+0590 
+0591 
+0592 <a name="_sub41" href="#_subfunctions" class="code">function inj_address_Callback(hObject, eventdata, handles)</a>
+0593 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0594 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0595 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0596 
+0597 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_address as text</span>
+0598 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_address as a double</span>
+0599 
+0600 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0601 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0602 
+0603 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0604 <a name="_sub42" href="#_subfunctions" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a>
+0605 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0606 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0607 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0608 
+0609 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0610 <span class="comment">%       See ISPC and COMPUTER.</span>
+0611 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0612     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0613 <span class="keyword">end</span>
+0614 
+0615 
+0616 
+0617 <a name="_sub43" href="#_subfunctions" class="code">function edit21_Callback(hObject, eventdata, handles)</a>
+0618 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0619 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0620 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0621 
+0622 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0623 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0624 
+0625 
+0626 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0627 <a name="_sub44" href="#_subfunctions" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a>
+0628 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0629 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0630 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0631 
+0632 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0633 <span class="comment">%       See ISPC and COMPUTER.</span>
+0634 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0635     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0636 <span class="keyword">end</span>
+0637 
+0638 
+0639 
+0640 <a name="_sub45" href="#_subfunctions" class="code">function soft_address_Callback(hObject, eventdata, handles)</a>
+0641 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0642 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0643 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0644 
+0645 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address as text</span>
+0646 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address as a double</span>
+0647 
+0648 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0649 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0650 
+0651 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0652 <a name="_sub46" href="#_subfunctions" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a>
+0653 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0654 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0655 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0656 
+0657 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0658 <span class="comment">%       See ISPC and COMPUTER.</span>
+0659 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0660     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0661 <span class="keyword">end</span>
+0662 
+0663 
+0664 <span class="comment">% --- Executes on button press in acquisition1.</span>
+0665 <a name="_sub47" href="#_subfunctions" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a>
+0666 <span class="comment">% hObject    handle to acquisition1 (see GCBO)</span>
+0667 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0668 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0669 
+0670 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0671 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0672 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0673 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0674 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0675 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0676 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0677 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0678 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0679 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0680 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0681 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0682 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0683 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0684 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0685 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0686 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0687 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0688 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0689 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0690 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0691 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0692 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0693 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0694 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0695 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0696 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0697 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0698 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0699 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0700 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0701 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0702 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0703 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0704 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0705 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0706 
+0707 
+0708 
+0709 n=1;
+0710 
+0711 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0712 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0713 
+0714 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0715 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0716 
+0717 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0718 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0719 
+0720 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0721 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0722 
+0723 
+0724 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0725 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0726 
+0727 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0728 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+0729 
+0730 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0731 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0732 
+0733 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0734 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0735 
+0736 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0737 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0738 
+0739 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0740 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0741 
+0742 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0743 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0744 
+0745 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0746 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0747 
+0748 temp=tango_read_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0749 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0750 
+0751 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0752 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0753 
+0754 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0755 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0756 
+0757 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0758 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0759 
+0760 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0761 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0762 
+0763 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0764 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0765 
+0766 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0767 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0768 
+0769 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0770 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0771 
+0772 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0773 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0774 
+0775 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0776 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0777 
+0778 
+0779 
+0780 
+0781 
+0782 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0783 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0784 
+0785 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0786 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0787 
+0788 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0789 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0790 
+0791 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0792 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0793 
+0794 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0795 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0796 
+0797 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0798 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0799 
+0800 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0801 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0802 
+0803 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0804 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0805 
+0806 
+0807 
+0808 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0809 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0810 
+0811 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0812 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0813 
+0814 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0815 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0816 
+0817 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0818 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0819 
+0820 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0821 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0822 
+0823 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0824 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0825 
+0826 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0827 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0828 
+0829 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0830 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0831 
+0832 
+0833 
+0834 <span class="comment">%status soft checked on linac</span>
+0835 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+0836 <span class="keyword">if</span> (temp.value(n)==2)
+0837     set(handles.soft_button,<span class="string">'Value'</span>,0);
+0838 <span class="keyword">elseif</span> (temp.value(n)==5)
+0839     set(handles.soft_button,<span class="string">'Value'</span>,1);
+0840 <span class="keyword">end</span>
+0841 
+0842 
+0843 <span class="comment">% --- Executes on button press in acquisition2.</span>
+0844 <a name="_sub48" href="#_subfunctions" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a>
+0845 <span class="comment">% hObject    handle to acquisition2 (see GCBO)</span>
+0846 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0847 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0848 
+0849 
+0850 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0851 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0852 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0853 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0854 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0855 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0856 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0857 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0858 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0859 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0860 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0861 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0862 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0863 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0864 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0865 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0866 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0867 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0868 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0869 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0870 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0871 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0872 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0873 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0874 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0875 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0876 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0877 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0878 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0879 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0880 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0881 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0882 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0883 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0884 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0885 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0886 
+0887 n=1;
+0888 
+0889 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0890 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0891 
+0892 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0893 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0894 
+0895 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0896 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0897 set(handles.soft_address1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0898 
+0899 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0900 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0901 
+0902 
+0903 
+0904 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0905 
+0906 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0907 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0908 
+0909 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0910 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0911 
+0912 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0913 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0914 
+0915 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0916 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0917 
+0918 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0919 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0920 
+0921 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0922 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0923 
+0924 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0925 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0926 
+0927 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0928 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0929 
+0930 temp=tango_read_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0931 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0932 
+0933 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0934 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0935 
+0936 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0937 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0938 
+0939 
+0940 
+0941 
+0942 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0943 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0944 
+0945 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0946 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0947 
+0948 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0949 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0950 
+0951 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0952 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0953 
+0954 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0955 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0956 
+0957 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0958 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0959 
+0960 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0961 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0962 
+0963 
+0964 
+0965 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+0966 
+0967 
+0968 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0969 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0970 
+0971 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0972 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0973 
+0974 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0975 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0976 
+0977 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0978 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0979 
+0980 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0981 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0982 
+0983 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0984 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0985 
+0986 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0987 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0988 
+0989 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0990 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0991 
+0992 
+0993 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0994 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0995 
+0996 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0997 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+0998 
+0999 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+1000 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1001 
+1002 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+1003 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1004 
+1005 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1006 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1007 
+1008 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1009 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1010 
+1011 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1012 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1013 
+1014 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+1015 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1016 
+1017 
+1018 <span class="comment">%status soft checked on linac</span>
+1019 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1020 <span class="keyword">if</span> (temp.value(n)==2)
+1021     set(handles.soft_button,<span class="string">'Value'</span>,0);
+1022 <span class="keyword">elseif</span> (temp.value(n)==5)
+1023     set(handles.soft_button,<span class="string">'Value'</span>,1);
+1024 <span class="keyword">end</span>
+1025 
+1026 
+1027 
+1028 <span class="comment">% --- Executes on button press in soft_button.</span>
+1029 <a name="_sub49" href="#_subfunctions" class="code">function soft_button_Callback(hObject, eventdata, handles)</a>
+1030 <span class="comment">% hObject    handle to soft_button (see GCBO)</span>
+1031 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1032 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1033 
+1034 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of soft_button</span>
+1035 
+1036 etat=get(hObject,<span class="string">'Value'</span>);
+1037 tout=0.5;
+1038 <span class="keyword">if</span> (etat==0)
+1039     event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+1040     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1041     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+1042     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>,event); pause(tout);
+1043     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+1044     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+1045     tango_write_attribute2(<span class="string">'BOO-BTB/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+1046     tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+1047     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+1048     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+1049     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+1050     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1051     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+1052     tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+1053     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+1054     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+1055     event=int32(3) ;<span class="comment">% adresse de l'extraction</span>
+1056     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+1057     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+1058     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1059     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1060     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+1061     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1062     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event);pause(tout);
+1063     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+1064     tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,event);pause(tout);
+1065     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,event);pause(tout);
+1066     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,event);pause(tout);
+1067     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,event);pause(tout);
+1068     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,event);pause(tout);
+1069     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1070     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1071     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,event);pause(tout);
+1072     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1073     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1074     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1075     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1076     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1077     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1078     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1079     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1080     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1081     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1082     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1083     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1084     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1085     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1086     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1087     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1088     
+1089 
+1090     <span class="comment">% special modulateur</span>
+1091     inj=str2double(get(handles.inj_address,<span class="string">'String'</span>));
+1092     soft=str2double(get(handles.soft_address,<span class="string">'String'</span>));
+1093     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1094     delay=temp.value(1)-(soft)+0.00568;
+1095     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1096     
+1097     
+1098 <span class="keyword">elseif</span> (etat==1)
+1099     event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+1100     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1101     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+1102     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+1103     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+1104     tango_write_attribute2(<span class="string">'BOO-BTB/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+1105     tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout);     
+1106     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+1107     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+1108     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+1109     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1110     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+1111     tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+1112     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+1113     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+1114     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+1115     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+1116     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1117     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1118     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+1119     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1120     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event);pause(tout);
+1121     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+1122     tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,event);pause(tout);
+1123     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,event);pause(tout);
+1124     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,event);pause(tout);
+1125     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,event);pause(tout);
+1126     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,event);pause(tout);
+1127     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1128     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1129     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,event);pause(tout);
+1130     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1131     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1132     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1133     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1134     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1135     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1136     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1137     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1138     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1139     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1140     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1141     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1142     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1143     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1144     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1145     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);     
+1146     
+1147     <span class="comment">% special modulateur</span>
+1148     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>,int32(1)); pause(tout);
+1149     inj=str2double(get(handles.inj_address,<span class="string">'String'</span>));
+1150     soft=str2double(get(handles.soft_address,<span class="string">'String'</span>));
+1151     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1152     delay=temp.value(1)+(soft);
+1153     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1154 <span class="keyword">end</span>
+1155 display(<span class="string">'ok change address'</span>)
+1156 
+1157 
+1158 <span class="comment">% --- Executes on button press in push_soft.</span>
+1159 <a name="_sub50" href="#_subfunctions" class="code">function push_soft_Callback(hObject, eventdata, handles)</a>
+1160 <span class="comment">% hObject    handle to push_soft (see GCBO)</span>
+1161 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1162 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1163 disp(<span class="string">'Ã§a marche !!'</span>)
+1164 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1165 
+1166 
+1167 
+1168 <a name="_sub51" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+1169 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1170 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1171 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1172 
+1173 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+1174 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+1175 
+1176 val_multishot = get(handles.on,<span class="string">'Value'</span>);
+1177 
+1178 <span class="keyword">if</span> val_multishot
+1179     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+1180     <span class="keyword">return</span>
+1181 <span class="keyword">else</span>
+1182     handles.periode = str2double(get(hObject,<span class="string">'String'</span>));
+1183 
+1184     <span class="comment">% change timer Infinite loop</span>
+1185     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+1186         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+1187     timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+1188     setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+1189 
+1190     <span class="comment">% Update handles structure</span>
+1191     guidata(hObject, handles);
+1192 <span class="keyword">end</span>
+1193 
+1194 
+1195 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1196 <a name="_sub52" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+1197 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1198 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1199 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1200 
+1201 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1202 <span class="comment">%       See ISPC and COMPUTER.</span>
+1203 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1204     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1205 <span class="keyword">end</span>
+1206 
+1207 <a name="_sub53" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+1208 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1209 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1210 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1211 
+1212 timer1 = getappdata(handles.figure1,<span class="string">'Timer'</span>);
+1213 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+1214     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+1215         <span class="comment">% dÃ©marrage du trigger</span>
+1216         stop(timer1);
+1217        
+1218     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+1219         <span class="comment">% stop du trigger</span>
+1220         start(timer1);
+1221         
+1222 <span class="keyword">end</span>
+1223 
+1224 <a name="_sub54" href="#_subfunctions" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a>
+1225 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1226 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1227 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1228 
+1229 <span class="comment">%%  FONCTION ALEX</span>
+1230 disp(datestr(clock))
+1231 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1232 
+1233 
+1234 
+1235 
+1236 
+1237 
+1238 
+1239 <span class="comment">%% What to do before closing the application</span>
+1240 <a name="_sub55" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+1241 
+1242 <span class="comment">% Get default command line output from handles structure</span>
+1243 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+1244     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+1245     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+1246 
+1247 <span class="keyword">switch</span> answer
+1248     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+1249         delete(handles); <span class="comment">%Delete Timer</span>
+1250         delete(figure1); <span class="comment">%Close gui</span>
+1251     <span class="keyword">otherwise</span>
+1252         disp(<span class="string">'Closing aborted'</span>)
+1253 <span class="keyword">end</span>
+1254 
+1255 
+1256 
+1257 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+1258 <a name="_sub56" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+1259 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+1260 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1261 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1262 
+1263 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1264 <a href="step.html" class="code" title="">step</a>=temp.value(1)-0.52243;
+1265 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1266 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1267 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1268 
+1269 <span class="comment">% --- Executes on button press in button_softplus.</span>
+1270 <a name="_sub57" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+1271 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+1272 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1273 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1274 
+1275 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1276 <a href="step.html" class="code" title="">step</a>=temp.value(1)+0.52243;
+1277 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1278 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1279 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1280 
+1281 
+1282 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+1283 <a name="_sub58" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+1284 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+1285 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1286 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1287 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1288 <a href="step.html" class="code" title="">step</a>=temp.value(1)-0.52243;
+1289 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1290 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1291 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1292 
+1293 <span class="comment">% --- Executes on button press in button_injplus.</span>
+1294 <a name="_sub59" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+1295 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+1296 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1297 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1298 
+1299 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1300 <a href="step.html" class="code" title="">step</a>=temp.value(1)+0.52243;
+1301 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1302 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1303 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1304 
+1305 
+1306 
+1307 <a name="_sub60" href="#_subfunctions" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a>
+1308 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1309 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1310 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1311 
+1312 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_dof as text</span>
+1313 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double</span>
+1314 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1315 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1316 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1317 
+1318 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1319 <a name="_sub61" href="#_subfunctions" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a>
+1320 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1321 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1322 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1323 
+1324 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1325 <span class="comment">%       See ISPC and COMPUTER.</span>
+1326 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1327     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1328 <span class="keyword">end</span>
+1329 
+1330 
+1331 
+1332 <a name="_sub62" href="#_subfunctions" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a>
+1333 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1334 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1335 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1336 
+1337 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text</span>
+1338 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double</span>
+1339 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1340 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1341 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1342 
+1343 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1344 <a name="_sub63" href="#_subfunctions" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1345 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1346 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1347 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1348 
+1349 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1350 <span class="comment">%       See ISPC and COMPUTER.</span>
+1351 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1352     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1353 <span class="keyword">end</span>
+1354 
+1355 
+1356 
+1357 <a name="_sub64" href="#_subfunctions" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a>
+1358 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1359 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1360 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1361 
+1362 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text</span>
+1363 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double</span>
+1364 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1365 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1366 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1367 
+1368 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1369 <a name="_sub65" href="#_subfunctions" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1370 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1371 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1372 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1373 
+1374 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1375 <span class="comment">%       See ISPC and COMPUTER.</span>
+1376 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1377     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1378 <span class="keyword">end</span>
+1379 
+1380 
+1381 
+1382 <a name="_sub66" href="#_subfunctions" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a>
+1383 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1384 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1385 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1386 
+1387 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text</span>
+1388 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double</span>
+1389 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1390 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1391 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1392 
+1393 
+1394 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1395 <a name="_sub67" href="#_subfunctions" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a>
+1396 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1397 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1398 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1399 
+1400 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1401 <span class="comment">%       See ISPC and COMPUTER.</span>
+1402 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1403     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1404 <span class="keyword">end</span>
+1405 
+1406 
+1407 
+1408 <a name="_sub68" href="#_subfunctions" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a>
+1409 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1410 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1411 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1412 
+1413 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text</span>
+1414 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double</span>
+1415 
+1416 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1417 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1418 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1419 
+1420 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1421 <a name="_sub69" href="#_subfunctions" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1422 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1423 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1424 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1425 
+1426 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1427 <span class="comment">%       See ISPC and COMPUTER.</span>
+1428 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1429     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1430 <span class="keyword">end</span>
+1431 
+1432 
+1433 
+1434 <a name="_sub70" href="#_subfunctions" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a>
+1435 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1436 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1437 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1438 
+1439 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text</span>
+1440 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double</span>
+1441 
+1442 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1443 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1444 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1445 
+1446 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1447 <a name="_sub71" href="#_subfunctions" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1448 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1449 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1450 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1451 
+1452 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1453 <span class="comment">%       See ISPC and COMPUTER.</span>
+1454 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1455     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1456 <span class="keyword">end</span>
+1457 
+1458 
+1459 
+1460 <a name="_sub72" href="#_subfunctions" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a>
+1461 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1462 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1463 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1464 
+1465 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text</span>
+1466 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double</span>
+1467 
+1468 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1469 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1470 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+1471 
+1472 
+1473 
+1474 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1475 <a name="_sub73" href="#_subfunctions" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a>
+1476 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1477 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1478 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1479 
+1480 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1481 <span class="comment">%       See ISPC and COMPUTER.</span>
+1482 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1483     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1484 <span class="keyword">end</span>
+1485 
+1486 
+1487 
+1488 <a name="_sub74" href="#_subfunctions" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a>
+1489 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1490 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1491 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1492 
+1493 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text</span>
+1494 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double</span>
+1495 
+1496 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1497 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1498 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+1499 
+1500 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1501 <a name="_sub75" href="#_subfunctions" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a>
+1502 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1503 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1504 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1505 
+1506 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1507 <span class="comment">%       See ISPC and COMPUTER.</span>
+1508 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1509     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1510 <span class="keyword">end</span>
+1511 
+1512 
+1513 
+1514 <a name="_sub76" href="#_subfunctions" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a>
+1515 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1516 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1517 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1518 
+1519 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text</span>
+1520 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double</span>
+1521 
+1522 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1523 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1524 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+1525 
+1526 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1527 <a name="_sub77" href="#_subfunctions" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a>
+1528 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1529 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1530 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1531 
+1532 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1533 <span class="comment">%       See ISPC and COMPUTER.</span>
+1534 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1535     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1536 <span class="keyword">end</span>
+1537 
+1538 
+1539 
+1540 <a name="_sub78" href="#_subfunctions" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a>
+1541 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1542 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1543 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1544 
+1545 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text</span>
+1546 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double</span>
+1547 
+1548 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1549 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1550 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+1551 
+1552 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1553 <a name="_sub79" href="#_subfunctions" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a>
+1554 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1555 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1556 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1557 
+1558 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1559 <span class="comment">%       See ISPC and COMPUTER.</span>
+1560 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1561     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1562 <span class="keyword">end</span>
+1563 
+1564 
+1565 
+1566 <a name="_sub80" href="#_subfunctions" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a>
+1567 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1568 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1569 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1570 
+1571 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_dcct as text</span>
+1572 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double</span>
+1573 
+1574 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1575 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1576 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,delay);
+1577 
+1578 
+1579 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1580 <a name="_sub81" href="#_subfunctions" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a>
+1581 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1582 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1583 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1584 
+1585 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1586 <span class="comment">%       See ISPC and COMPUTER.</span>
+1587 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1588     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1589 <span class="keyword">end</span>
+1590 
+1591 
+1592 
+1593 <a name="_sub82" href="#_subfunctions" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a>
+1594 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1595 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1596 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1597 
+1598 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm as text</span>
+1599 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double</span>
+1600 
+1601 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1602 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1603 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1604 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1605 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1606 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1607 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1608 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1609 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1610 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1611 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1612 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1613 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1614 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1615 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1616 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1617 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1618 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1619 
+1620 
+1621 
+1622 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1623 <a name="_sub83" href="#_subfunctions" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1624 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1625 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1626 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1627 
+1628 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1629 <span class="comment">%       See ISPC and COMPUTER.</span>
+1630 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1631     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1632 <span class="keyword">end</span>
+1633 
+1634 
+1635 
+1636 <a name="_sub84" href="#_subfunctions" class="code">function ext_address_Callback(hObject, eventdata, handles)</a>
+1637 <span class="comment">% hObject    handle to ext_address (see GCBO)</span>
+1638 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1639 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1640 
+1641 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_address as text</span>
+1642 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_address as a double</span>
+1643 <span class="comment">%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'</span>
+1644 
+1645 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1646 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,delay);
+1647 
+1648 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1649 <a name="_sub85" href="#_subfunctions" class="code">function ext_address_CreateFcn(hObject, eventdata, handles)</a>
+1650 <span class="comment">% hObject    handle to ext_address (see GCBO)</span>
+1651 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1652 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1653 
+1654 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1655 <span class="comment">%       See ISPC and COMPUTER.</span>
+1656 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1657     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1658 <span class="keyword">end</span>
+1659 
+1660 
+1661 
+1662 <a name="_sub86" href="#_subfunctions" class="code">function soft_address1_Callback(hObject, eventdata, handles)</a>
+1663 <span class="comment">% hObject    handle to soft_address1 (see GCBO)</span>
+1664 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1665 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1666 
+1667 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address1 as text</span>
+1668 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address1 as a double</span>
+1669 
+1670 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1671 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+1672 
+1673 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1674 <a name="_sub87" href="#_subfunctions" class="code">function soft_address1_CreateFcn(hObject, eventdata, handles)</a>
+1675 <span class="comment">% hObject    handle to soft_address1 (see GCBO)</span>
+1676 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1677 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1678 
+1679 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1680 <span class="comment">%       See ISPC and COMPUTER.</span>
+1681 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1682     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1683 <span class="keyword">end</span>
+1684 
+1685 
+1686 <span class="comment">% --- Executes on button press in radiobutton6.</span>
+1687 <a name="_sub88" href="#_subfunctions" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a>
+1688 <span class="comment">% hObject    handle to radiobutton6 (see GCBO)</span>
+1689 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1690 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1691 
+1692 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton6</span>
+1693 
+1694 
+1695 <span class="comment">% --- Executes on button press in pushbutton8.</span>
+1696 <a name="_sub89" href="#_subfunctions" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a>
+1697 <span class="comment">% hObject    handle to pushbutton8 (see GCBO)</span>
+1698 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1699 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1700 
+1701 
+1702 <span class="comment">% --- Executes on button press in pushbutton9.</span>
+1703 <a name="_sub90" href="#_subfunctions" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a>
+1704 <span class="comment">% hObject    handle to pushbutton9 (see GCBO)</span>
+1705 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1706 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1707 
+1708 
+1709 <span class="comment">% --- Executes on button press in button_extmoins.</span>
+1710 <a name="_sub91" href="#_subfunctions" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a>
+1711 <span class="comment">% hObject    handle to button_extmoins (see GCBO)</span>
+1712 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1713 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1714 
+1715 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1716 <a href="step.html" class="code" title="">step</a>=temp.value(1)-52*0.52243;
+1717 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+1718 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1719 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1720 
+1721 <span class="comment">% --- Executes on button press in button_extplus.</span>
+1722 <a name="_sub92" href="#_subfunctions" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a>
+1723 <span class="comment">% hObject    handle to button_extplus (see GCBO)</span>
+1724 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1725 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1726 
+1727 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1728 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1729 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+1730 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1731 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1732 
+1733 <a name="_sub93" href="#_subfunctions" class="code">function sdc2_Callback(hObject, eventdata, handles)</a>
+1734 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1735 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1736 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1737 
+1738 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc2 as text</span>
+1739 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc2 as a double</span>
+1740 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1741 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1742 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1743 
+1744 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1745 <a name="_sub94" href="#_subfunctions" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a>
+1746 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1747 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1748 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1749 
+1750 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1751 <span class="comment">%       See ISPC and COMPUTER.</span>
+1752 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1753     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1754 <span class="keyword">end</span>
+1755 
+1756 
+1757 
+1758 <a name="_sub95" href="#_subfunctions" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a>
+1759 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1760 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1761 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1762 
+1763 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_emittance as text</span>
+1764 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double</span>
+1765 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1766 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1767 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1768 tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1769 
+1770 
+1771 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1772 <a name="_sub96" href="#_subfunctions" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a>
+1773 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1774 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1775 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1776 
+1777 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1778 <span class="comment">%       See ISPC and COMPUTER.</span>
+1779 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1780     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1781 <span class="keyword">end</span>
+1782 
+1783 
+1784 
+1785 <a name="_sub97" href="#_subfunctions" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a>
+1786 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1787 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1788 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1789 
+1790 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_bpm as text</span>
+1791 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double</span>
+1792 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1793 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1794 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1795 
+1796 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1797 <a name="_sub98" href="#_subfunctions" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1798 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1799 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1800 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1801 
+1802 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1803 <span class="comment">%       See ISPC and COMPUTER.</span>
+1804 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1805     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1806 <span class="keyword">end</span>
+1807 
+1808 
+1809 
+1810 <a name="_sub99" href="#_subfunctions" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a>
+1811 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+1812 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1813 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1814 
+1815 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_osc as text</span>
+1816 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double</span>
+1817 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1818 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1819 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+1820 
+1821 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1822 <a name="_sub100" href="#_subfunctions" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a>
+1823 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+1824 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1825 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1826 
+1827 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1828 <span class="comment">%       See ISPC and COMPUTER.</span>
+1829 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1830     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1831 <span class="keyword">end</span>
+1832 
+1833 
+1834 
+1835 <a name="_sub101" href="#_subfunctions" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a>
+1836 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+1837 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1838 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1839 
+1840 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_modulateur as text</span>
+1841 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_modulateur as a double</span>
+1842 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1843 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+1844 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1845 
+1846 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1847 <a name="_sub102" href="#_subfunctions" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a>
+1848 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+1849 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1850 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1851 
+1852 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1853 <span class="comment">%       See ISPC and COMPUTER.</span>
+1854 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1855     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1856 <span class="keyword">end</span>
+1857 
+1858 
+1859 
+1860 <a name="_sub103" href="#_subfunctions" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a>
+1861 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+1862 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1863 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1864 
+1865 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_offset as text</span>
+1866 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_offset as a double</span>
+1867 
+1868 inj_offset=str2double(get(hObject,<span class="string">'String'</span>));
+1869 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1870 save(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+1871 
+1872 <span class="comment">%LIN</span>
+1873 delay=str2double(get(handles.lin_canon,<span class="string">'String'</span>))+inj_offset;
+1874 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+1875 
+1876 delay=str2double(get(handles.lin_modulateur,<span class="string">'String'</span>))+inj_offset;
+1877 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1878 
+1879 delay=str2double(get(handles.sdc1,<span class="string">'String'</span>))+inj_offset;
+1880 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+1881 
+1882 
+1883 <span class="comment">% LT1</span>
+1884 delay=str2double(get(handles.lt1_MC2,<span class="string">'String'</span>))+inj_offset;
+1885 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+1886 
+1887 delay=str2double(get(handles.lt1_MC1,<span class="string">'String'</span>))+inj_offset;
+1888 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+1889 
+1890 delay=str2double(get(handles.lt1_emittance,<span class="string">'String'</span>))+inj_offset;
+1891 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1892 
+1893 delay=str2double(get(handles.lt1_osc,<span class="string">'String'</span>))+inj_offset;
+1894 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+1895 
+1896 
+1897 <span class="comment">% BOO</span>
+1898 delay=str2double(get(handles.boo_inj_septum,<span class="string">'String'</span>))+inj_offset;
+1899 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1900 
+1901 delay=str2double(get(handles.boo_inj_kicker,<span class="string">'String'</span>))+inj_offset;
+1902 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1903 
+1904 delay=str2double(get(handles.boo_bpm,<span class="string">'String'</span>))+inj_offset;
+1905 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+1906 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+1907 tango_write_attribute2(<span class="string">'BOO-BTB/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+1908 tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+1909 
+1910 
+1911 delay=str2double(get(handles.boo_nod,<span class="string">'String'</span>))+inj_offset;
+1912 tango_write_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+1913 
+1914 delay=str2double(get(handles.boo_dcct,<span class="string">'String'</span>))+inj_offset;
+1915 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+1916 
+1917 
+1918 
+1919 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1920 <a name="_sub104" href="#_subfunctions" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a>
+1921 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+1922 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1923 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1924 
+1925 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1926 <span class="comment">%       See ISPC and COMPUTER.</span>
+1927 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1928     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1929 <span class="keyword">end</span>
+1930 
+1931 
+1932 
+1933 <a name="_sub105" href="#_subfunctions" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a>
+1934 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+1935 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1936 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1937 
+1938 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_offset as text</span>
+1939 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_offset as a double</span>
+1940 
+1941 ext_offset=str2double(get(hObject,<span class="string">'String'</span>));
+1942 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1943 save(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+1944 
+1945 <span class="comment">%BOO</span>
+1946 delay=str2double(get(handles.boo_ext_dof,<span class="string">'String'</span>))+ext_offset;
+1947 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1948 
+1949 delay=str2double(get(handles.boo_ext_sept_p,<span class="string">'String'</span>))+ext_offset;
+1950 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1951 
+1952 delay=str2double(get(handles.boo_ext_sept_a,<span class="string">'String'</span>))+ext_offset;
+1953 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1954 
+1955 delay=str2double(get(handles.boo_ext_kicker,<span class="string">'String'</span>))+ext_offset;
+1956 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1957 
+1958 delay=str2double(get(handles.sdc2,<span class="string">'String'</span>))+ext_offset;
+1959 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1960 
+1961 <span class="comment">%LT2</span>
+1962 delay=str2double(get(handles.lt2_bpm,<span class="string">'String'</span>))+ext_offset;
+1963 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1964 
+1965 delay=str2double(get(handles.lt2_osc,<span class="string">'String'</span>))+ext_offset;
+1966 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+1967 
+1968 delay=str2double(get(handles.lt2_emittance,<span class="string">'String'</span>))+ext_offset;
+1969 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1970 
+1971 
+1972 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1973 <a name="_sub106" href="#_subfunctions" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a>
+1974 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+1975 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1976 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1977 
+1978 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1979 <span class="comment">%       See ISPC and COMPUTER.</span>
+1980 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1981     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1982 <span class="keyword">end</span>
+1983 
+1984 
+1985 <span class="comment">% --- Executes on button press in Acquisition_address.</span>
+1986 <a name="_sub107" href="#_subfunctions" class="code">function Acquisition_address_Callback(hObject, eventdata, handles)</a>
+1987 <span class="comment">% hObject    handle to Acquisition_address (see GCBO)</span>
+1988 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1989 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1990 
+1991 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+1992 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+1993 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+1994 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+1995 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+1996 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+1997 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+1998 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+1999 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2000 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2001 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2002 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2003 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2004 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2005 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2006 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2007 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2008 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2009 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2010 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2011 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2012 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2013 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2014 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2015 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2016 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2017 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2018 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2019 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2020 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2021 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2022 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2023 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2024 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2025 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2026 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2027 
+2028 n=1;
+2029 
+2030 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+2031 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2032 
+2033 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+2034 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2035 
+2036 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+2037 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2038 
+2039 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2040 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2041 
+2042 
+2043 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+2044 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2045 
+2046 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+2047 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+2048 
+2049 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+2050 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2051 
+2052 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+2053 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2054 
+2055 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+2056 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2057 
+2058 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+2059 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2060 
+2061 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+2062 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2063 
+2064 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+2065 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2066 
+2067 temp=tango_read_attribute2(<span class="string">'BOO-BTC/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+2068 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+2069 
+2070 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2071 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+2072 
+2073 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+2074 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2075 
+2076 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+2077 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+2078 
+2079 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+2080 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2081 
+2082 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+2083 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2084 
+2085 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+2086 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2087 
+2088 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+2089 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2090 
+2091 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+2092 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2093 
+2094 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>);
+2095 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+2096 
+2097 
+2098 
+2099 
+2100 
+2101 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+2102 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+2103 
+2104 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2105 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2106 
+2107 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2108 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2109 
+2110 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+2111 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2112 
+2113 
+2114 
+2115 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+2116 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2117 
+2118 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+2119 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2120 
+2121 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+2122 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2123 
+2124 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2125 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2126 
+2127 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+2128 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2129 
+2130 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+2131 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2132 
+2133 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+2134 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+2135 
+2136 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+2137 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+2138 
+2139 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2140 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2141 
+2142 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2143 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2144 
+2145 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+2146 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2147 
+2148 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2149 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2150 
+2151 
+2152 
+2153 
+2154 
+2155 
+2156 <span class="comment">% --- Executes on button press in button_offinj_moins.</span>
+2157 <a name="_sub108" href="#_subfunctions" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a>
+2158 <span class="comment">% hObject    handle to button_offinj_moins (see GCBO)</span>
+2159 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2160 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2161 
+2162 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2163 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2164 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2165 <a href="#_sub103" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2166 
+2167 <span class="comment">% --- Executes on button press in button_offinj_plus.</span>
+2168 <a name="_sub109" href="#_subfunctions" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a>
+2169 <span class="comment">% hObject    handle to button_offinj_plus (see GCBO)</span>
+2170 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2171 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2172 
+2173 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2174 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2175 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2176 <a href="#_sub103" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2177 
+2178 <span class="comment">% --- Executes on button press in button_offext_moins.</span>
+2179 <a name="_sub110" href="#_subfunctions" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a>
+2180 <span class="comment">% hObject    handle to button_offext_moins (see GCBO)</span>
+2181 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2182 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2183 
+2184 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2185 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2186 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2187 <a href="#_sub105" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2188 
+2189 <span class="comment">% --- Executes on button press in button_offext_plus.</span>
+2190 <a name="_sub111" href="#_subfunctions" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a>
+2191 <span class="comment">% hObject    handle to button_offext_plus (see GCBO)</span>
+2192 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2193 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2194 
+2195 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2196 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2197 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2198 <a href="#_sub105" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2199</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur3.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur3.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur3.html	(revision 17)
@@ -0,0 +1,3390 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur3</title>
+  <meta name="keywords" content="synchro_injecteur3">
+  <meta name="description" content="SYNCHRO_INJECTEUR3 M-file for synchro_injecteur3.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur3.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur3
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR3 M-file for synchro_injecteur3.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur3(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR3 M-file for synchro_injecteur3.fig
+      SYNCHRO_INJECTEUR3, by itself, creates a new SYNCHRO_INJECTEUR3 or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR3 returns the handle to a new SYNCHRO_INJECTEUR3 or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR3('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR3.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR3('Property','Value',...) creates a new SYNCHRO_INJECTEUR3 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur3_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur3_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li><li><a href="step.html" class="code" title="">step</a>	reglage delta tune Ã  110 MeV</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur3_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur3_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function alim_dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function alim_dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function alim_qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function alim_qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function alim_qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function alim_qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function alim_sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function alim_sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function alim_sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function alim_sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function lin_canon_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function lin_canon_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function boo_hall_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function boo_hall_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function pc_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function inj_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function edit21_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function soft_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function soft_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function push_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub54" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub55" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub56" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function ext_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function ext_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function soft_address1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function soft_address1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function sdc2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub107" class="code">function Acquisition_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub108" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub109" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub110" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub111" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub112" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub113" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub114" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub115" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub116" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub117" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub118" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub119" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub120" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub121" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub122" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub123" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub124" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub125" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub126" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub127" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub128" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub129" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub130" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub131" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub132" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub133" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub134" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub135" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub136" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub137" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub138" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub139" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub140" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub141" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub142" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub143" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub144" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub145" class="code">function button_filling_14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub146" class="code">function button_filling_24_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub147" class="code">function button_filling_34_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub148" class="code">function button_filling_11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub149" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub150" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub151" class="code">function edit72_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub152" class="code">function edit72_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub153" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub154" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub155" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub156" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub157" class="code">function button_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub158" class="code">function button_trigstatus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub159" class="code">function button_filling_16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub160" class="code">function button_filling_26_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub161" class="code">function button_filling_36_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub162" class="code">function button_filling_46_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub163" class="code">function button_filling_15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub164" class="code">function button_filling_25_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub165" class="code">function button_filling_35_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub166" class="code">function button_filling_45_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub167" class="code">function button_filling_55_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub168" class="code">function button_filling_56_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub169" class="code">function button_filling_66_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub170" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur3(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR3 M-file for synchro_injecteur3.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR3, by itself, creates a new SYNCHRO_INJECTEUR3 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR3 returns the handle to a new SYNCHRO_INJECTEUR3 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR3('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR3.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR3('Property','Value',...) creates a new SYNCHRO_INJECTEUR3 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur3_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur3_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur3</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 22-Jun-2006 16:06:08</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur3_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur3_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur3_OutputFcn(hObject, eventdata, handles)">synchro_injecteur3_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_injecteur3 is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur3_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_injecteur3 (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_injecteur3</span>
+0056 handles.output = hObject;
+0057 load(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+0058 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0059 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0060 
+0061 <span class="comment">% periode du trigger par defaut = 4/3</span>
+0062 handles.periode = 1.36;
+0063 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0064 <span class="comment">%Mode</span>
+0065 handles.mode = <span class="string">'Mode=???'</span>;
+0066 set(handles.edit_filling_relecture_tables,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0067 set(handles.edit_filling_relecture_bunch,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0068 
+0069 set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0070 <span class="comment">% Creates timer Infinite loop</span>
+0071 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0072     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0073 timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+0074 setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+0075 
+0076 <span class="comment">% button group sur on/off timer du trigger</span>
+0077 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.1485 0.29 0.10 0.12],<span class="keyword">...</span>
+0078     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0079     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0080 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0081     <span class="string">'pos'</span>,[45 20 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0082     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0083 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'ON'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0084     <span class="string">'pos'</span>,[45 50 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0085     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0086 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0087     {@<a href="#_sub53" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0088 
+0089 handles.off = u1;
+0090 handles.on = u2;
+0091 
+0092 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0093 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0094 
+0095 <span class="comment">%% Set closing gui function</span>
+0096 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub55" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0097 
+0098 <span class="comment">% Update handles structure</span>
+0099 guidata(hObject, handles);
+0100 
+0101 <span class="comment">% UIWAIT makes synchro_injecteur3 wait for user response (see UIRESUME)</span>
+0102 <span class="comment">% uiwait(handles.figure1);</span>
+0103 
+0104 
+0105 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0106 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur3_OutputFcn(hObject, eventdata, handles) </a>
+0107 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0108 <span class="comment">% hObject    handle to figure</span>
+0109 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0110 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0111 
+0112 <span class="comment">% Get default command line output from handles structure</span>
+0113 varargout{1} = handles.output;
+0114 
+0115 
+0116 
+0117 <a name="_sub3" href="#_subfunctions" class="code">function alim_dipole_Callback(hObject, eventdata, handles)</a>
+0118 <span class="comment">% hObject    handle to alim_dipole (see GCBO)</span>
+0119 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0120 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0121 
+0122 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_dipole as text</span>
+0123 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_dipole as a double</span>
+0124 h=gcf
+0125 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0126 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0127 
+0128 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0129 <a name="_sub4" href="#_subfunctions" class="code">function alim_dipole_CreateFcn(hObject, eventdata, handles)</a>
+0130 <span class="comment">% hObject    handle to alim_dipole (see GCBO)</span>
+0131 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0132 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0133 
+0134 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0135 <span class="comment">%       See ISPC and COMPUTER.</span>
+0136 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0137     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0138 <span class="keyword">end</span>
+0139 
+0140 
+0141 <a name="_sub5" href="#_subfunctions" class="code">function alim_qf_Callback(hObject, eventdata, handles)</a>
+0142 <span class="comment">% hObject    handle to alim_qf (see GCBO)</span>
+0143 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0144 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0145 
+0146 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_qf as text</span>
+0147 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_qf as a double</span>
+0148 
+0149 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0150 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0151 
+0152 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0153 <a name="_sub6" href="#_subfunctions" class="code">function alim_qf_CreateFcn(hObject, eventdata, handles)</a>
+0154 <span class="comment">% hObject    handle to alim_qf (see GCBO)</span>
+0155 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0156 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0157 
+0158 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0159 <span class="comment">%       See ISPC and COMPUTER.</span>
+0160 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0161     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0162 <span class="keyword">end</span>
+0163 
+0164 
+0165 
+0166 <a name="_sub7" href="#_subfunctions" class="code">function alim_qd_Callback(hObject, eventdata, handles)</a>
+0167 <span class="comment">% hObject    handle to alim_qd (see GCBO)</span>
+0168 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0169 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0170 
+0171 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_qd as text</span>
+0172 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_qd as a double</span>
+0173 
+0174 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0175 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0176 
+0177 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0178 <a name="_sub8" href="#_subfunctions" class="code">function alim_qd_CreateFcn(hObject, eventdata, handles)</a>
+0179 <span class="comment">% hObject    handle to alim_qd (see GCBO)</span>
+0180 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0181 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0182 
+0183 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0184 <span class="comment">%       See ISPC and COMPUTER.</span>
+0185 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0186     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0187 <span class="keyword">end</span>
+0188 
+0189 
+0190 
+0191 <a name="_sub9" href="#_subfunctions" class="code">function alim_sf_Callback(hObject, eventdata, handles)</a>
+0192 <span class="comment">% hObject    handle to alim_sf (see GCBO)</span>
+0193 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0194 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0195 
+0196 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_sf as text</span>
+0197 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_sf as a double</span>
+0198 
+0199 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0200 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0201 
+0202 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0203 <a name="_sub10" href="#_subfunctions" class="code">function alim_sf_CreateFcn(hObject, eventdata, handles)</a>
+0204 <span class="comment">% hObject    handle to alim_sf (see GCBO)</span>
+0205 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0206 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0207 
+0208 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0209 <span class="comment">%       See ISPC and COMPUTER.</span>
+0210 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0211     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0212 <span class="keyword">end</span>
+0213 
+0214 
+0215 
+0216 <a name="_sub11" href="#_subfunctions" class="code">function alim_sd_Callback(hObject, eventdata, handles)</a>
+0217 <span class="comment">% hObject    handle to alim_sd (see GCBO)</span>
+0218 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0219 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0220 
+0221 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_sd as text</span>
+0222 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_sd as a double</span>
+0223 
+0224 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0225 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0226 
+0227 
+0228 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0229 <a name="_sub12" href="#_subfunctions" class="code">function alim_sd_CreateFcn(hObject, eventdata, handles)</a>
+0230 <span class="comment">% hObject    handle to alim_sd (see GCBO)</span>
+0231 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0232 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0233 
+0234 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0235 <span class="comment">%       See ISPC and COMPUTER.</span>
+0236 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0237     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0238 <span class="keyword">end</span>
+0239 
+0240 
+0241 
+0242 <a name="_sub13" href="#_subfunctions" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a>
+0243 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0244 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0245 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0246 
+0247 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_rf as text</span>
+0248 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_rf as a double</span>
+0249 
+0250 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0251 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0252 
+0253 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0254 <a name="_sub14" href="#_subfunctions" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a>
+0255 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0256 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0257 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0258 
+0259 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0260 <span class="comment">%       See ISPC and COMPUTER.</span>
+0261 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0262     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0263 <span class="keyword">end</span>
+0264 
+0265 
+0266 
+0267 <a name="_sub15" href="#_subfunctions" class="code">function lin_canon_Callback(hObject, eventdata, handles)</a>
+0268 <span class="comment">% hObject    handle to lin_canon (see GCBO)</span>
+0269 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0270 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0271 
+0272 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon as text</span>
+0273 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon as a double</span>
+0274 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0275 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0276 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0277 
+0278 
+0279 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0280 <a name="_sub16" href="#_subfunctions" class="code">function lin_canon_CreateFcn(hObject, eventdata, handles)</a>
+0281 <span class="comment">% hObject    handle to lin_canon (see GCBO)</span>
+0282 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0283 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0284 
+0285 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0286 <span class="comment">%       See ISPC and COMPUTER.</span>
+0287 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0288     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0289 <span class="keyword">end</span>
+0290 
+0291 
+0292 
+0293 <a name="_sub17" href="#_subfunctions" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a>
+0294 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0295 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0296 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0297 
+0298 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_emittance as text</span>
+0299 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double</span>
+0300 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0301 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0302 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0303 
+0304 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0305 <a name="_sub18" href="#_subfunctions" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a>
+0306 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0307 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0308 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0309 
+0310 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0311 <span class="comment">%       See ISPC and COMPUTER.</span>
+0312 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0313     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0314 <span class="keyword">end</span>
+0315 
+0316 
+0317 
+0318 <a name="_sub19" href="#_subfunctions" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a>
+0319 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0320 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0321 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0322 
+0323 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC1 as text</span>
+0324 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double</span>
+0325 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0326 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0327 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0328 
+0329 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0330 <a name="_sub20" href="#_subfunctions" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a>
+0331 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0332 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0333 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0334 
+0335 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0336 <span class="comment">%       See ISPC and COMPUTER.</span>
+0337 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0338     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0339 <span class="keyword">end</span>
+0340 
+0341 
+0342 
+0343 <a name="_sub21" href="#_subfunctions" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a>
+0344 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0345 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0346 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0347 
+0348 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC2 as text</span>
+0349 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double</span>
+0350 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0351 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0352 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0353 
+0354 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0355 <a name="_sub22" href="#_subfunctions" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a>
+0356 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0357 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0358 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0359 
+0360 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0361 <span class="comment">%       See ISPC and COMPUTER.</span>
+0362 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0363     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0364 <span class="keyword">end</span>
+0365 
+0366 
+0367 
+0368 <a name="_sub23" href="#_subfunctions" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a>
+0369 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0370 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0371 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0372 
+0373 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_osc as text</span>
+0374 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double</span>
+0375 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0376 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0377 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0378 
+0379 
+0380 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0381 <a name="_sub24" href="#_subfunctions" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a>
+0382 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0383 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0384 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0385 
+0386 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0387 <span class="comment">%       See ISPC and COMPUTER.</span>
+0388 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0389     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0390 <span class="keyword">end</span>
+0391 
+0392 
+0393 
+0394 <a name="_sub25" href="#_subfunctions" class="code">function sdc1_Callback(hObject, eventdata, handles)</a>
+0395 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0396 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0397 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0398 
+0399 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc1 as text</span>
+0400 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc1 as a double</span>
+0401 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0402 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0403 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0404 
+0405 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0406 <a name="_sub26" href="#_subfunctions" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a>
+0407 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0408 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0409 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0410 
+0411 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0412 <span class="comment">%       See ISPC and COMPUTER.</span>
+0413 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0414     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0415 <span class="keyword">end</span>
+0416 
+0417 
+0418 
+0419 <a name="_sub27" href="#_subfunctions" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a>
+0420 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0421 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0422 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0423 
+0424 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_septum as text</span>
+0425 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double</span>
+0426 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0427 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0428 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+0429 
+0430 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0431 <a name="_sub28" href="#_subfunctions" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a>
+0432 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0433 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0434 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0435 
+0436 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0437 <span class="comment">%       See ISPC and COMPUTER.</span>
+0438 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0439     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0440 <span class="keyword">end</span>
+0441 
+0442 
+0443 
+0444 <a name="_sub29" href="#_subfunctions" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a>
+0445 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0446 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0447 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0448 
+0449 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text</span>
+0450 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double</span>
+0451 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0452 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0453 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+0454 
+0455 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0456 <a name="_sub30" href="#_subfunctions" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a>
+0457 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0458 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0459 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0460 
+0461 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0462 <span class="comment">%       See ISPC and COMPUTER.</span>
+0463 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0464     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0465 <span class="keyword">end</span>
+0466 
+0467 
+0468 
+0469 <a name="_sub31" href="#_subfunctions" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a>
+0470 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0471 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0472 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0473 
+0474 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_bpm as text</span>
+0475 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double</span>
+0476 
+0477 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0478 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0479 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0480 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0481 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+0482 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+0483 
+0484 
+0485 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0486 <a name="_sub32" href="#_subfunctions" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a>
+0487 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0488 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0489 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0490 
+0491 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0492 <span class="comment">%       See ISPC and COMPUTER.</span>
+0493 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0494     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0495 <span class="keyword">end</span>
+0496 
+0497 
+0498 
+0499 <a name="_sub33" href="#_subfunctions" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a>
+0500 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0501 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0502 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0503 
+0504 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_nod as text</span>
+0505 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_nod as a double</span>
+0506 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0507 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0508 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+0509 
+0510 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0511 <a name="_sub34" href="#_subfunctions" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a>
+0512 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0513 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0514 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0515 
+0516 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0517 <span class="comment">%       See ISPC and COMPUTER.</span>
+0518 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0519     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0520 <span class="keyword">end</span>
+0521 
+0522 
+0523 
+0524 <a name="_sub35" href="#_subfunctions" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a>
+0525 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0526 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0527 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0528 
+0529 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_dcct as text</span>
+0530 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double</span>
+0531 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0532 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0533 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0534 
+0535 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0536 <a name="_sub36" href="#_subfunctions" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a>
+0537 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0538 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0539 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0540 
+0541 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0542 <span class="comment">%       See ISPC and COMPUTER.</span>
+0543 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0544     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0545 <span class="keyword">end</span>
+0546 
+0547 
+0548 
+0549 <a name="_sub37" href="#_subfunctions" class="code">function boo_hall_Callback(hObject, eventdata, handles)</a>
+0550 <span class="comment">% hObject    handle to boo_hall (see GCBO)</span>
+0551 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0552 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0553 
+0554 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_hall as text</span>
+0555 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_hall as a double</span>
+0556 
+0557 
+0558 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0559 <a name="_sub38" href="#_subfunctions" class="code">function boo_hall_CreateFcn(hObject, eventdata, handles)</a>
+0560 <span class="comment">% hObject    handle to boo_hall (see GCBO)</span>
+0561 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0562 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0563 
+0564 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0565 <span class="comment">%       See ISPC and COMPUTER.</span>
+0566 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0567     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0568 <span class="keyword">end</span>
+0569 
+0570 
+0571 
+0572 <a name="_sub39" href="#_subfunctions" class="code">function pc_address_Callback(hObject, eventdata, handles)</a>
+0573 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0574 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0575 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0576 
+0577 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0578 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0579 
+0580 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0581 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+0582 
+0583 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0584 <a name="_sub40" href="#_subfunctions" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a>
+0585 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0586 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0587 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0588 
+0589 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0590 <span class="comment">%       See ISPC and COMPUTER.</span>
+0591 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0592     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0593 <span class="keyword">end</span>
+0594 
+0595 
+0596 
+0597 <a name="_sub41" href="#_subfunctions" class="code">function inj_address_Callback(hObject, eventdata, handles)</a>
+0598 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0599 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0600 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0601 
+0602 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_address as text</span>
+0603 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_address as a double</span>
+0604 
+0605 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0606 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0607 
+0608 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0609 <a name="_sub42" href="#_subfunctions" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a>
+0610 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0611 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0612 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0613 
+0614 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0615 <span class="comment">%       See ISPC and COMPUTER.</span>
+0616 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0617     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0618 <span class="keyword">end</span>
+0619 
+0620 
+0621 
+0622 <a name="_sub43" href="#_subfunctions" class="code">function edit21_Callback(hObject, eventdata, handles)</a>
+0623 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0624 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0625 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0626 
+0627 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0628 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0629 
+0630 
+0631 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0632 <a name="_sub44" href="#_subfunctions" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a>
+0633 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0634 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0635 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0636 
+0637 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0638 <span class="comment">%       See ISPC and COMPUTER.</span>
+0639 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0640     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0641 <span class="keyword">end</span>
+0642 
+0643 
+0644 
+0645 <a name="_sub45" href="#_subfunctions" class="code">function soft_address_Callback(hObject, eventdata, handles)</a>
+0646 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0647 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0648 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0649 
+0650 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address as text</span>
+0651 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address as a double</span>
+0652 
+0653 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0654 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0655 
+0656 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0657 <a name="_sub46" href="#_subfunctions" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a>
+0658 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0659 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0660 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0661 
+0662 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0663 <span class="comment">%       See ISPC and COMPUTER.</span>
+0664 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0665     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0666 <span class="keyword">end</span>
+0667 
+0668 
+0669 <span class="comment">% --- Executes on button press in acquisition1.</span>
+0670 <a name="_sub47" href="#_subfunctions" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a>
+0671 <span class="comment">% hObject    handle to acquisition1 (see GCBO)</span>
+0672 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0673 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0674 
+0675 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0676 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0677 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0678 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0679 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0680 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0681 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0682 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0683 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0684 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0685 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0686 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0687 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0688 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0689 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0690 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0691 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0692 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0693 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0694 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0695 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0696 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0697 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0698 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0699 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0700 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0701 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0702 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0703 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0704 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0705 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0706 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0707 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0708 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0709 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0710 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0711 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0712 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0713 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0714 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0715 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0716 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0717 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0718 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0719 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0720 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0721 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0722 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0723 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0724 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0725 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0726 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0727 
+0728 
+0729 n=1;
+0730 
+0731 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0732 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0733 
+0734 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0735 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0736 
+0737 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0738 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0739 
+0740 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0741 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0742 
+0743 
+0744 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0745 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0746 
+0747 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0748 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+0749 
+0750 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0751 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0752 
+0753 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0754 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0755 
+0756 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0757 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0758 
+0759 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0760 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0761 
+0762 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0763 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0764 
+0765 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0766 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0767 
+0768 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0769 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0770 
+0771 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0772 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0773 
+0774 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0775 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0776 
+0777 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0778 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0779 
+0780 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0781 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0782 
+0783 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0784 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0785 
+0786 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0787 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0788 
+0789 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0790 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0791 
+0792 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0793 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0794 
+0795 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0796 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0797 
+0798 
+0799 
+0800 
+0801 
+0802 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0803 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0804 
+0805 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0806 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0807 
+0808 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0809 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0810 
+0811 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0812 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0813 
+0814 
+0815 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0816 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0817 
+0818 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+0819 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0820 
+0821 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+0822 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0823 
+0824 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0825 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0826 
+0827 
+0828 
+0829 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0830 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0831 
+0832 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0833 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0834 
+0835 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0836 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0837 
+0838 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0839 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0840 
+0841 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0842 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0843 
+0844 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0845 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0846 
+0847 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0848 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0849 
+0850 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0851 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0852 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+0853 
+0854 
+0855 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0856 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+0857 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0858 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+0859 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0860 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+0861 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0862 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+0863 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0864 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+0865 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0866 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+0867 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0868 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+0869 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0870 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+0871 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0872 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+0873 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0874 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+0875 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0876 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+0877 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0878 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+0879 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0880 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+0881 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0882 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+0883 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0884 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+0885 
+0886 
+0887 
+0888 <span class="comment">%status soft checked on linac</span>
+0889 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+0890 <span class="keyword">if</span> (temp.value(n)==2)
+0891     set(handles.soft_button,<span class="string">'Value'</span>,0);
+0892 <span class="keyword">elseif</span> (temp.value(n)==5)
+0893     set(handles.soft_button,<span class="string">'Value'</span>,1);
+0894 <span class="keyword">end</span>
+0895 
+0896 <span class="comment">%status tables</span>
+0897 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+0898 offset=temp.value(1)*52;
+0899 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+0900 n=temp.value;
+0901 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+0902 table=temp.value(1:n)-offset;
+0903 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);  
+0904 
+0905 
+0906 
+0907 <span class="comment">% --- Executes on button press in acquisition2.</span>
+0908 <a name="_sub48" href="#_subfunctions" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a>
+0909 <span class="comment">% hObject    handle to acquisition2 (see GCBO)</span>
+0910 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0911 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0912 
+0913 
+0914 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0915 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0916 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0917 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0918 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0919 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0920 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0921 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0922 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0923 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0924 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0925 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0926 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0927 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0928 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0929 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0930 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0931 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0932 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0933 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0934 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0935 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0936 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0937 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0938 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0939 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0940 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0941 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0942 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0943 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0944 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0945 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0946 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0947 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0948 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0949 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0950 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0951 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0952 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0953 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0954 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0955 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0956 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0957 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0958 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0959 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0960 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0961 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0962 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0963 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0964 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0965 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0966 
+0967 
+0968 n=1;
+0969 
+0970 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0971 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0972 
+0973 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0974 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0975 
+0976 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0977 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0978 set(handles.soft_address1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0979 
+0980 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0981 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0982 
+0983 
+0984 
+0985 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0986 
+0987 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0988 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0989 
+0990 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0991 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0992 
+0993 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0994 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0995 
+0996 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0997 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+0998 
+0999 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+1000 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1001 
+1002 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+1003 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1004 
+1005 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1006 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1007 
+1008 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+1009 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1010 
+1011 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+1012 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1013 
+1014 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1015 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1016 
+1017 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1018 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1019 
+1020 
+1021 
+1022 
+1023 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+1024 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+1025 
+1026 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+1027 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1028 
+1029 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+1030 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1031 
+1032 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+1033 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1034 
+1035 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+1036 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1037 
+1038 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+1039 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1040 
+1041 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1042 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1043 
+1044 
+1045 
+1046 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1047 
+1048 
+1049 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+1050 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1051 
+1052 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1053 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1054 
+1055 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1056 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1057 
+1058 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1059 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1060 
+1061 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1062 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1063 
+1064 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+1065 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1066 
+1067 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+1068 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1069 
+1070 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1071 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1072 
+1073 
+1074 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+1075 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1076 
+1077 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+1078 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1079 
+1080 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+1081 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1082 
+1083 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+1084 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1085 
+1086 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1087 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1088 
+1089 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1090 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1091 
+1092 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+1093 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1094 
+1095 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1096 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1097 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1098 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1099 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1100 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1101 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1102 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1103 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1104 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1105 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1106 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1107 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1108 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1109 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1110 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1111 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1112 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1113 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1114 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1115 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1116 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1117 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1118 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1119 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1120 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1121 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1122 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1123 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1124 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1125 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1126 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1127 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1128 
+1129 <span class="comment">%status soft checked on linac</span>
+1130 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1131 <span class="keyword">if</span> (temp.value(n)==2)
+1132     set(handles.soft_button,<span class="string">'Value'</span>,0);
+1133 <span class="keyword">elseif</span> (temp.value(n)==5)
+1134     set(handles.soft_button,<span class="string">'Value'</span>,1);
+1135 <span class="keyword">end</span>
+1136 
+1137 <span class="comment">%status tables</span>
+1138 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1139 offset=temp.value(1)*52;
+1140 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+1141 n=temp.value;
+1142 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+1143 table=temp.value(1:n)-offset;
+1144 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);  
+1145 
+1146 <span class="comment">% --- Executes on button press in soft_button.</span>
+1147 <a name="_sub49" href="#_subfunctions" class="code">function soft_button_Callback(hObject, eventdata, handles)</a>
+1148 <span class="comment">% hObject    handle to soft_button (see GCBO)</span>
+1149 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1150 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1151 
+1152 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of soft_button</span>
+1153 
+1154 etat=get(hObject,<span class="string">'Value'</span>);
+1155 tout=0.;
+1156 <span class="keyword">if</span> (etat==0)
+1157     event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+1158     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1159     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+1160     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>,event); pause(tout);
+1161     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+1162     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+1163     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+1164     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+1165     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+1166     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+1167     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+1168     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1169     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+1170     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+1171     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+1172     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+1173     event=int32(3) ;<span class="comment">% adresse de l'extraction</span>
+1174     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+1175     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+1176     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1177     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1178     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+1179     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1180     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,event);pause(tout);
+1181     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,event);pause(tout);
+1182     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+1183     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,event);pause(tout);
+1184     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,event);pause(tout);
+1185     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,event);pause(tout);
+1186     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,event);pause(tout);
+1187     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1188     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1189     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,event);pause(tout);
+1190     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1191     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1192     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1193     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1194     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1195     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1196     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1197     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1198     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1199     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1200     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1201     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1202     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1203     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1204     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1205     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1206     
+1207 
+1208     <span class="comment">% special modulateur</span>
+1209     inj=str2double(get(handles.inj_address,<span class="string">'String'</span>));
+1210     soft=str2double(get(handles.soft_address,<span class="string">'String'</span>));
+1211     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1212     delay=temp.value(1)-(soft)+0.00568;
+1213     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1214     
+1215     
+1216 <span class="keyword">elseif</span> (etat==1)
+1217     event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+1218     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1219     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+1220     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+1221     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+1222     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+1223     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout);     
+1224     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+1225     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+1226     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+1227     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1228     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+1229     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+1230     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+1231     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+1232     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+1233     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+1234     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1235     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1236     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+1237     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1238     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,event);pause(tout);
+1239     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,event);pause(tout);
+1240     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+1241     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,event);pause(tout);
+1242     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,event);pause(tout);
+1243     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,event);pause(tout);
+1244     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,event);pause(tout);
+1245     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1246     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1247     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,event);pause(tout);
+1248     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1249     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1250     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1251     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1252     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1253     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1254     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1255     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1256     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1257     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1258     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1259     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1260     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1261     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1262     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1263     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);     
+1264     
+1265     <span class="comment">% special modulateur</span>
+1266     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>,int32(1)); pause(tout);
+1267     inj=str2double(get(handles.inj_address,<span class="string">'String'</span>));
+1268     soft=str2double(get(handles.soft_address,<span class="string">'String'</span>));
+1269     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1270     delay=temp.value(1)+(soft);
+1271     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1272 <span class="keyword">end</span>
+1273 display(<span class="string">'ok change address'</span>)
+1274 
+1275 
+1276 <span class="comment">% --- Executes on button press in push_soft.</span>
+1277 <a name="_sub50" href="#_subfunctions" class="code">function push_soft_Callback(hObject, eventdata, handles)</a>
+1278 <span class="comment">% hObject    handle to push_soft (see GCBO)</span>
+1279 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1280 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1281 disp(<span class="string">'Ã§a marche !!'</span>)
+1282 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1283 
+1284 
+1285 
+1286 <a name="_sub51" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+1287 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1288 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1289 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1290 
+1291 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+1292 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+1293 
+1294 val_multishot = get(handles.on,<span class="string">'Value'</span>);
+1295 
+1296 <span class="keyword">if</span> val_multishot
+1297     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+1298     <span class="keyword">return</span>
+1299 <span class="keyword">else</span>
+1300     handles.periode = str2double(get(hObject,<span class="string">'String'</span>));
+1301 
+1302     <span class="comment">% change timer Infinite loop</span>
+1303     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+1304         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+1305     timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+1306     setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+1307 
+1308     <span class="comment">% Update handles structure</span>
+1309     guidata(hObject, handles);
+1310 <span class="keyword">end</span>
+1311 
+1312 
+1313 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1314 <a name="_sub52" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+1315 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1316 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1317 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1318 
+1319 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1320 <span class="comment">%       See ISPC and COMPUTER.</span>
+1321 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1322     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1323 <span class="keyword">end</span>
+1324 
+1325 <a name="_sub53" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+1326 
+1327 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1328 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1329 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1330 
+1331 timer1 = getappdata(handles.figure1,<span class="string">'Timer'</span>);
+1332 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+1333     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+1334         <span class="comment">% dÃ©marrage du trigger</span>
+1335         stop(timer1);
+1336        
+1337     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+1338         <span class="comment">% stop du trigger</span>
+1339         start(timer1);
+1340         
+1341 <span class="keyword">end</span>
+1342 
+1343 <a name="_sub54" href="#_subfunctions" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a>
+1344 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1345 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1346 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1347 
+1348 <span class="comment">%%  FONCTION ALEX</span>
+1349 disp(datestr(clock))
+1350 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1351 
+1352 
+1353 
+1354 
+1355 
+1356 
+1357 
+1358 <span class="comment">%% What to do before closing the application</span>
+1359 <a name="_sub55" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+1360 
+1361 <span class="comment">% Get default command line output from handles structure</span>
+1362 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+1363     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+1364     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+1365 
+1366 <span class="keyword">switch</span> answer
+1367     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+1368         delete(handles); <span class="comment">%Delete Timer</span>
+1369         delete(figure1); <span class="comment">%Close gui</span>
+1370     <span class="keyword">otherwise</span>
+1371         disp(<span class="string">'Closing aborted'</span>)
+1372 <span class="keyword">end</span>
+1373 
+1374 
+1375 
+1376 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+1377 <a name="_sub56" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+1378 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+1379 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1380 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1381 
+1382 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1383 <a href="step.html" class="code" title="">step</a>=temp.value(1)-0.52243;
+1384 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1385 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1386 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1387 
+1388 <span class="comment">% --- Executes on button press in button_softplus.</span>
+1389 <a name="_sub57" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+1390 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+1391 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1392 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1393 
+1394 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1395 <a href="step.html" class="code" title="">step</a>=temp.value(1)+0.52243;
+1396 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1397 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1398 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1399 
+1400 
+1401 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+1402 <a name="_sub58" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+1403 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+1404 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1405 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1406 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1407 <a href="step.html" class="code" title="">step</a>=temp.value(1)-0.52243;
+1408 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1409 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1410 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1411 
+1412 <span class="comment">% --- Executes on button press in button_injplus.</span>
+1413 <a name="_sub59" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+1414 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+1415 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1416 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1417 
+1418 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1419 <a href="step.html" class="code" title="">step</a>=temp.value(1)+0.52243;
+1420 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1421 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1422 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1423 
+1424 
+1425 
+1426 <a name="_sub60" href="#_subfunctions" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a>
+1427 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1428 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1429 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1430 
+1431 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_dof as text</span>
+1432 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double</span>
+1433 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1434 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1435 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1436 
+1437 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1438 <a name="_sub61" href="#_subfunctions" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a>
+1439 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1440 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1441 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1442 
+1443 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1444 <span class="comment">%       See ISPC and COMPUTER.</span>
+1445 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1446     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1447 <span class="keyword">end</span>
+1448 
+1449 
+1450 
+1451 <a name="_sub62" href="#_subfunctions" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a>
+1452 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1453 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1454 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1455 
+1456 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text</span>
+1457 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double</span>
+1458 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1459 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1460 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1461 
+1462 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1463 <a name="_sub63" href="#_subfunctions" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1464 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1465 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1466 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1467 
+1468 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1469 <span class="comment">%       See ISPC and COMPUTER.</span>
+1470 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1471     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1472 <span class="keyword">end</span>
+1473 
+1474 
+1475 
+1476 <a name="_sub64" href="#_subfunctions" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a>
+1477 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1478 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1479 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1480 
+1481 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text</span>
+1482 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double</span>
+1483 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1484 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1485 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1486 
+1487 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1488 <a name="_sub65" href="#_subfunctions" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1489 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1490 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1491 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1492 
+1493 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1494 <span class="comment">%       See ISPC and COMPUTER.</span>
+1495 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1496     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1497 <span class="keyword">end</span>
+1498 
+1499 
+1500 
+1501 <a name="_sub66" href="#_subfunctions" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a>
+1502 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1503 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1504 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1505 
+1506 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text</span>
+1507 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double</span>
+1508 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1509 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1510 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1511 
+1512 
+1513 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1514 <a name="_sub67" href="#_subfunctions" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a>
+1515 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1516 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1517 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1518 
+1519 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1520 <span class="comment">%       See ISPC and COMPUTER.</span>
+1521 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1522     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1523 <span class="keyword">end</span>
+1524 
+1525 
+1526 
+1527 <a name="_sub68" href="#_subfunctions" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a>
+1528 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1529 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1530 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1531 
+1532 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text</span>
+1533 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double</span>
+1534 
+1535 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1536 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1537 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1538 
+1539 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1540 <a name="_sub69" href="#_subfunctions" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1541 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1542 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1543 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1544 
+1545 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1546 <span class="comment">%       See ISPC and COMPUTER.</span>
+1547 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1548     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1549 <span class="keyword">end</span>
+1550 
+1551 
+1552 
+1553 <a name="_sub70" href="#_subfunctions" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a>
+1554 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1555 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1556 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1557 
+1558 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text</span>
+1559 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double</span>
+1560 
+1561 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1562 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1563 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1564 
+1565 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1566 <a name="_sub71" href="#_subfunctions" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1567 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1568 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1569 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1570 
+1571 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1572 <span class="comment">%       See ISPC and COMPUTER.</span>
+1573 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1574     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1575 <span class="keyword">end</span>
+1576 
+1577 
+1578 
+1579 <a name="_sub72" href="#_subfunctions" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a>
+1580 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1581 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1582 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1583 
+1584 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text</span>
+1585 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double</span>
+1586 
+1587 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1588 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1589 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+1590 
+1591 
+1592 
+1593 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1594 <a name="_sub73" href="#_subfunctions" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a>
+1595 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1596 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1597 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1598 
+1599 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1600 <span class="comment">%       See ISPC and COMPUTER.</span>
+1601 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1602     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1603 <span class="keyword">end</span>
+1604 
+1605 
+1606 
+1607 <a name="_sub74" href="#_subfunctions" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a>
+1608 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1609 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1610 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1611 
+1612 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text</span>
+1613 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double</span>
+1614 
+1615 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1616 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1617 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+1618 
+1619 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1620 <a name="_sub75" href="#_subfunctions" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a>
+1621 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1622 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1623 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1624 
+1625 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1626 <span class="comment">%       See ISPC and COMPUTER.</span>
+1627 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1628     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1629 <span class="keyword">end</span>
+1630 
+1631 
+1632 
+1633 <a name="_sub76" href="#_subfunctions" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a>
+1634 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1635 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1636 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1637 
+1638 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text</span>
+1639 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double</span>
+1640 
+1641 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1642 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1643 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+1644 
+1645 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1646 <a name="_sub77" href="#_subfunctions" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a>
+1647 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1648 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1649 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1650 
+1651 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1652 <span class="comment">%       See ISPC and COMPUTER.</span>
+1653 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1654     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1655 <span class="keyword">end</span>
+1656 
+1657 
+1658 
+1659 <a name="_sub78" href="#_subfunctions" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a>
+1660 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1661 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1662 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1663 
+1664 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text</span>
+1665 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double</span>
+1666 
+1667 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1668 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1669 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+1670 
+1671 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1672 <a name="_sub79" href="#_subfunctions" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a>
+1673 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1674 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1675 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1676 
+1677 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1678 <span class="comment">%       See ISPC and COMPUTER.</span>
+1679 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1680     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1681 <span class="keyword">end</span>
+1682 
+1683 
+1684 
+1685 <a name="_sub80" href="#_subfunctions" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a>
+1686 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1687 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1688 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1689 
+1690 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_dcct as text</span>
+1691 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double</span>
+1692 
+1693 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1694 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1695 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,delay);
+1696 
+1697 
+1698 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1699 <a name="_sub81" href="#_subfunctions" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a>
+1700 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1701 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1702 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1703 
+1704 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1705 <span class="comment">%       See ISPC and COMPUTER.</span>
+1706 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1707     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1708 <span class="keyword">end</span>
+1709 
+1710 
+1711 
+1712 <a name="_sub82" href="#_subfunctions" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a>
+1713 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1714 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1715 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1716 
+1717 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm as text</span>
+1718 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double</span>
+1719 
+1720 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1721 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1722 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1723 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1724 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1725 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1726 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1727 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1728 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1729 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1730 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1731 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1732 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1733 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1734 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1735 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1736 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1737 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1738 
+1739 
+1740 
+1741 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1742 <a name="_sub83" href="#_subfunctions" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1743 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1744 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1745 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1746 
+1747 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1748 <span class="comment">%       See ISPC and COMPUTER.</span>
+1749 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1750     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1751 <span class="keyword">end</span>
+1752 
+1753 
+1754 
+1755 <a name="_sub84" href="#_subfunctions" class="code">function ext_address_Callback(hObject, eventdata, handles)</a>
+1756 <span class="comment">% hObject    handle to ext_address (see GCBO)</span>
+1757 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1758 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1759 
+1760 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_address as text</span>
+1761 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_address as a double</span>
+1762 <span class="comment">%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'</span>
+1763 
+1764 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1765 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,delay);
+1766 
+1767 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1768 <a name="_sub85" href="#_subfunctions" class="code">function ext_address_CreateFcn(hObject, eventdata, handles)</a>
+1769 <span class="comment">% hObject    handle to ext_address (see GCBO)</span>
+1770 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1771 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1772 
+1773 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1774 <span class="comment">%       See ISPC and COMPUTER.</span>
+1775 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1776     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1777 <span class="keyword">end</span>
+1778 
+1779 
+1780 
+1781 <a name="_sub86" href="#_subfunctions" class="code">function soft_address1_Callback(hObject, eventdata, handles)</a>
+1782 <span class="comment">% hObject    handle to soft_address1 (see GCBO)</span>
+1783 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1784 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1785 
+1786 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address1 as text</span>
+1787 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address1 as a double</span>
+1788 
+1789 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1790 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+1791 
+1792 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1793 <a name="_sub87" href="#_subfunctions" class="code">function soft_address1_CreateFcn(hObject, eventdata, handles)</a>
+1794 <span class="comment">% hObject    handle to soft_address1 (see GCBO)</span>
+1795 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1796 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1797 
+1798 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1799 <span class="comment">%       See ISPC and COMPUTER.</span>
+1800 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1801     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1802 <span class="keyword">end</span>
+1803 
+1804 
+1805 <span class="comment">% --- Executes on button press in radiobutton6.</span>
+1806 <a name="_sub88" href="#_subfunctions" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a>
+1807 <span class="comment">% hObject    handle to radiobutton6 (see GCBO)</span>
+1808 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1809 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1810 
+1811 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton6</span>
+1812 
+1813 
+1814 <span class="comment">% --- Executes on button press in pushbutton8.</span>
+1815 <a name="_sub89" href="#_subfunctions" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a>
+1816 <span class="comment">% hObject    handle to pushbutton8 (see GCBO)</span>
+1817 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1818 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1819 
+1820 
+1821 <span class="comment">% --- Executes on button press in pushbutton9.</span>
+1822 <a name="_sub90" href="#_subfunctions" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a>
+1823 <span class="comment">% hObject    handle to pushbutton9 (see GCBO)</span>
+1824 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1825 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1826 
+1827 
+1828 <span class="comment">% --- Executes on button press in button_extmoins.</span>
+1829 <a name="_sub91" href="#_subfunctions" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a>
+1830 <span class="comment">% hObject    handle to button_extmoins (see GCBO)</span>
+1831 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1832 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1833 
+1834 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1835 <a href="step.html" class="code" title="">step</a>=temp.value(1)-52*0.52243;
+1836 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+1837 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1838 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1839 
+1840 <span class="comment">% --- Executes on button press in button_extplus.</span>
+1841 <a name="_sub92" href="#_subfunctions" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a>
+1842 <span class="comment">% hObject    handle to button_extplus (see GCBO)</span>
+1843 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1844 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1845 
+1846 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1847 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1848 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+1849 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1850 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1851 
+1852 <a name="_sub93" href="#_subfunctions" class="code">function sdc2_Callback(hObject, eventdata, handles)</a>
+1853 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1854 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1855 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1856 
+1857 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc2 as text</span>
+1858 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc2 as a double</span>
+1859 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1860 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1861 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1862 
+1863 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1864 <a name="_sub94" href="#_subfunctions" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a>
+1865 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1866 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1867 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1868 
+1869 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1870 <span class="comment">%       See ISPC and COMPUTER.</span>
+1871 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1872     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1873 <span class="keyword">end</span>
+1874 
+1875 
+1876 
+1877 <a name="_sub95" href="#_subfunctions" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a>
+1878 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1879 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1880 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1881 
+1882 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_emittance as text</span>
+1883 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double</span>
+1884 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1885 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1886 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+1887 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1888 
+1889 
+1890 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1891 <a name="_sub96" href="#_subfunctions" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a>
+1892 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1893 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1894 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1895 
+1896 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1897 <span class="comment">%       See ISPC and COMPUTER.</span>
+1898 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1899     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1900 <span class="keyword">end</span>
+1901 
+1902 
+1903 
+1904 <a name="_sub97" href="#_subfunctions" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a>
+1905 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1906 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1907 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1908 
+1909 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_bpm as text</span>
+1910 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double</span>
+1911 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1912 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1913 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1914 
+1915 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1916 <a name="_sub98" href="#_subfunctions" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1917 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1918 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1919 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1920 
+1921 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1922 <span class="comment">%       See ISPC and COMPUTER.</span>
+1923 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1924     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1925 <span class="keyword">end</span>
+1926 
+1927 
+1928 
+1929 <a name="_sub99" href="#_subfunctions" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a>
+1930 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+1931 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1932 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1933 
+1934 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_osc as text</span>
+1935 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double</span>
+1936 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1937 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1938 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+1939 
+1940 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1941 <a name="_sub100" href="#_subfunctions" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a>
+1942 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+1943 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1944 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1945 
+1946 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1947 <span class="comment">%       See ISPC and COMPUTER.</span>
+1948 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1949     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1950 <span class="keyword">end</span>
+1951 
+1952 
+1953 
+1954 <a name="_sub101" href="#_subfunctions" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a>
+1955 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+1956 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1957 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1958 
+1959 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_modulateur as text</span>
+1960 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_modulateur as a double</span>
+1961 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1962 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+1963 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1964 
+1965 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1966 <a name="_sub102" href="#_subfunctions" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a>
+1967 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+1968 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1969 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1970 
+1971 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1972 <span class="comment">%       See ISPC and COMPUTER.</span>
+1973 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1974     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1975 <span class="keyword">end</span>
+1976 
+1977 
+1978 
+1979 <a name="_sub103" href="#_subfunctions" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a>
+1980 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+1981 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1982 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1983 
+1984 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_offset as text</span>
+1985 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_offset as a double</span>
+1986 
+1987 inj_offset=str2double(get(hObject,<span class="string">'String'</span>));
+1988 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1989 save(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+1990 
+1991 <span class="comment">%LIN</span>
+1992 delay=str2double(get(handles.lin_canon,<span class="string">'String'</span>))+inj_offset;
+1993 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+1994 
+1995 delay=str2double(get(handles.lin_modulateur,<span class="string">'String'</span>))+inj_offset;
+1996 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1997 
+1998 delay=str2double(get(handles.sdc1,<span class="string">'String'</span>))+inj_offset;
+1999 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2000 
+2001 
+2002 <span class="comment">% LT1</span>
+2003 delay=str2double(get(handles.lt1_MC2,<span class="string">'String'</span>))+inj_offset;
+2004 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+2005 
+2006 delay=str2double(get(handles.lt1_MC1,<span class="string">'String'</span>))+inj_offset;
+2007 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+2008 
+2009 delay=str2double(get(handles.lt1_emittance,<span class="string">'String'</span>))+inj_offset;
+2010 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+2011 
+2012 delay=str2double(get(handles.lt1_osc,<span class="string">'String'</span>))+inj_offset;
+2013 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2014 
+2015 
+2016 <span class="comment">% BOO</span>
+2017 delay=str2double(get(handles.boo_inj_septum,<span class="string">'String'</span>))+inj_offset;
+2018 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2019 
+2020 delay=str2double(get(handles.boo_inj_kicker,<span class="string">'String'</span>))+inj_offset;
+2021 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2022 
+2023 delay=str2double(get(handles.boo_bpm,<span class="string">'String'</span>))+inj_offset;
+2024 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+2025 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+2026 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+2027 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+2028 
+2029 
+2030 delay=str2double(get(handles.boo_nod,<span class="string">'String'</span>))+inj_offset;
+2031 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+2032 
+2033 delay=str2double(get(handles.boo_dcct,<span class="string">'String'</span>))+inj_offset;
+2034 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+2035 
+2036 
+2037 
+2038 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2039 <a name="_sub104" href="#_subfunctions" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a>
+2040 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2041 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2042 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2043 
+2044 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2045 <span class="comment">%       See ISPC and COMPUTER.</span>
+2046 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2047     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2048 <span class="keyword">end</span>
+2049 
+2050 
+2051 
+2052 <a name="_sub105" href="#_subfunctions" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a>
+2053 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2054 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2055 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2056 
+2057 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_offset as text</span>
+2058 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_offset as a double</span>
+2059 
+2060 ext_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2061 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2062 save(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+2063 
+2064 <span class="comment">%BOO</span>
+2065 delay=str2double(get(handles.boo_ext_dof,<span class="string">'String'</span>))+ext_offset;
+2066 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+2067 
+2068 delay=str2double(get(handles.boo_ext_sept_p,<span class="string">'String'</span>))+ext_offset;
+2069 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2070 
+2071 delay=str2double(get(handles.boo_ext_sept_a,<span class="string">'String'</span>))+ext_offset;
+2072 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2073 
+2074 delay=str2double(get(handles.boo_ext_kicker,<span class="string">'String'</span>))+ext_offset;
+2075 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2076 
+2077 delay=str2double(get(handles.sdc2,<span class="string">'String'</span>))+ext_offset;
+2078 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2079 
+2080 <span class="comment">%LT2</span>
+2081 delay=str2double(get(handles.lt2_bpm,<span class="string">'String'</span>))+ext_offset;
+2082 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2083 
+2084 delay=str2double(get(handles.lt2_osc,<span class="string">'String'</span>))+ext_offset;
+2085 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2086 
+2087 delay=str2double(get(handles.lt2_emittance,<span class="string">'String'</span>))+ext_offset;
+2088 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2089 
+2090 
+2091 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2092 <a name="_sub106" href="#_subfunctions" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a>
+2093 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2094 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2095 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2096 
+2097 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2098 <span class="comment">%       See ISPC and COMPUTER.</span>
+2099 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2100     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2101 <span class="keyword">end</span>
+2102 
+2103 
+2104 <span class="comment">% --- Executes on button press in Acquisition_address.</span>
+2105 <a name="_sub107" href="#_subfunctions" class="code">function Acquisition_address_Callback(hObject, eventdata, handles)</a>
+2106 <span class="comment">% hObject    handle to Acquisition_address (see GCBO)</span>
+2107 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2108 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2109 
+2110 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2111 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2112 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2113 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2114 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2115 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2116 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2117 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2118 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2119 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2120 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2121 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2122 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2123 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2124 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2125 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2126 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2127 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2128 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2129 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2130 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2131 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2132 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2133 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2134 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2135 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2136 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2137 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2138 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2139 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2140 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2141 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2142 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2143 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2144 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2145 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2146 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2147 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2148 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2149 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2150 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2151 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2152 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2153 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2154 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2155 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2156 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2157 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2158 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2159 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2160 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2161 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2162 
+2163 
+2164 
+2165 
+2166 
+2167 
+2168 
+2169 
+2170 
+2171 n=1;
+2172 
+2173 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+2174 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2175 
+2176 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+2177 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2178 
+2179 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+2180 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2181 
+2182 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2183 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2184 
+2185 
+2186 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+2187 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2188 
+2189 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+2190 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+2191 
+2192 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+2193 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2194 
+2195 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+2196 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2197 
+2198 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+2199 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2200 
+2201 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+2202 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2203 
+2204 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+2205 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2206 
+2207 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+2208 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2209 
+2210 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+2211 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+2212 
+2213 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2214 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+2215 
+2216 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+2217 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2218 
+2219 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+2220 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+2221 
+2222 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+2223 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2224 
+2225 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+2226 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2227 
+2228 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+2229 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2230 
+2231 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+2232 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2233 
+2234 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+2235 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2236 
+2237 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>);
+2238 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+2239 
+2240 
+2241 
+2242 
+2243 
+2244 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+2245 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+2246 
+2247 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2248 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2249 
+2250 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2251 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2252 
+2253 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+2254 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2255 
+2256 
+2257 
+2258 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+2259 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2260 
+2261 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>);
+2262 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2263 
+2264 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>);
+2265 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2266 
+2267 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2268 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2269 
+2270 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+2271 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2272 
+2273 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+2274 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2275 
+2276 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+2277 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+2278 
+2279 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+2280 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+2281 
+2282 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2283 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2284 
+2285 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2286 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2287 
+2288 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+2289 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2290 
+2291 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2292 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2293 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+2294 
+2295 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2296 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+2297 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2298 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+2299 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2300 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+2301 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2302 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+2303 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2304 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+2305 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2306 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+2307 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2308 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+2309 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2310 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+2311 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2312 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+2313 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2314 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+2315 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2316 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+2317 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2318 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+2319 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2320 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+2321 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2322 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+2323 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2324 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+2325 
+2326 
+2327 
+2328 <span class="comment">% --- Executes on button press in button_offinj_moins.</span>
+2329 <a name="_sub108" href="#_subfunctions" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a>
+2330 <span class="comment">% hObject    handle to button_offinj_moins (see GCBO)</span>
+2331 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2332 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2333 
+2334 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2335 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2336 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2337 <a href="#_sub103" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2338 
+2339 <span class="comment">% --- Executes on button press in button_offinj_plus.</span>
+2340 <a name="_sub109" href="#_subfunctions" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a>
+2341 <span class="comment">% hObject    handle to button_offinj_plus (see GCBO)</span>
+2342 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2343 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2344 
+2345 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2346 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2347 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2348 <a href="#_sub103" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2349 
+2350 <span class="comment">% --- Executes on button press in button_offext_moins.</span>
+2351 <a name="_sub110" href="#_subfunctions" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a>
+2352 <span class="comment">% hObject    handle to button_offext_moins (see GCBO)</span>
+2353 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2354 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2355 
+2356 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2357 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2358 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2359 <a href="#_sub105" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2360 
+2361 <span class="comment">% --- Executes on button press in button_offext_plus.</span>
+2362 <a name="_sub111" href="#_subfunctions" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a>
+2363 <span class="comment">% hObject    handle to button_offext_plus (see GCBO)</span>
+2364 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2365 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2366 
+2367 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2368 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2369 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2370 <a href="#_sub105" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2371 
+2372 
+2373 <span class="comment">% --- Executes on button press in button_bpm.</span>
+2374 <a name="_sub112" href="#_subfunctions" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a>
+2375 <span class="comment">% hObject    handle to button_bpm (see GCBO)</span>
+2376 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2377 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2378 
+2379 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_bpm</span>
+2380 
+2381 bpm=get(hObject,<span class="string">'Value'</span>);
+2382 
+2383 <span class="keyword">if</span> (bpm==0)
+2384    set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+2385 <span class="keyword">elseif</span> (bpm==1)
+2386     set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+2387 <span class="keyword">end</span>
+2388 
+2389 
+2390 
+2391 <a name="_sub113" href="#_subfunctions" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a>
+2392 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2393 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2394 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2395 
+2396 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text</span>
+2397 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double</span>
+2398 
+2399 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2400 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2401 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2402 
+2403 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2404 <a name="_sub114" href="#_subfunctions" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a>
+2405 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2406 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2407 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2408 
+2409 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2410 <span class="comment">%       See ISPC and COMPUTER.</span>
+2411 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2412     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2413 <span class="keyword">end</span>
+2414 
+2415 
+2416 <a name="_sub115" href="#_subfunctions" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a>
+2417 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2418 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2419 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2420 
+2421 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text</span>
+2422 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double</span>
+2423 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2424 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2425 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2426 
+2427 
+2428 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2429 <a name="_sub116" href="#_subfunctions" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a>
+2430 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2431 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2432 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2433 
+2434 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2435 <span class="comment">%       See ISPC and COMPUTER.</span>
+2436 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2437     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2438 <span class="keyword">end</span>
+2439 
+2440 
+2441 
+2442 <a name="_sub117" href="#_subfunctions" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a>
+2443 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2444 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2445 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2446 
+2447 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text</span>
+2448 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double</span>
+2449 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2450 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2451 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2452 
+2453 
+2454 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2455 <a name="_sub118" href="#_subfunctions" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a>
+2456 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2457 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2458 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2459 
+2460 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2461 <span class="comment">%       See ISPC and COMPUTER.</span>
+2462 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2463     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2464 <span class="keyword">end</span>
+2465 
+2466 
+2467 
+2468 <a name="_sub119" href="#_subfunctions" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a>
+2469 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2470 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2471 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2472 
+2473 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text</span>
+2474 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double</span>
+2475 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2476 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2477 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2478 
+2479 
+2480 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2481 <a name="_sub120" href="#_subfunctions" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a>
+2482 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2483 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2484 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2485 
+2486 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2487 <span class="comment">%       See ISPC and COMPUTER.</span>
+2488 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2489     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2490 <span class="keyword">end</span>
+2491 
+2492 
+2493 
+2494 <a name="_sub121" href="#_subfunctions" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a>
+2495 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2496 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2497 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2498 
+2499 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text</span>
+2500 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double</span>
+2501 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2502 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2503 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2504 
+2505 
+2506 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2507 <a name="_sub122" href="#_subfunctions" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a>
+2508 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2509 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2510 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2511 
+2512 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2513 <span class="comment">%       See ISPC and COMPUTER.</span>
+2514 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2515     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2516 <span class="keyword">end</span>
+2517 
+2518 
+2519 
+2520 <a name="_sub123" href="#_subfunctions" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a>
+2521 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2522 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2523 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2524 
+2525 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text</span>
+2526 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double</span>
+2527 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2528 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2529 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2530 
+2531 
+2532 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2533 <a name="_sub124" href="#_subfunctions" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a>
+2534 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2535 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2536 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2537 
+2538 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2539 <span class="comment">%       See ISPC and COMPUTER.</span>
+2540 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2541     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2542 <span class="keyword">end</span>
+2543 
+2544 
+2545 
+2546 <a name="_sub125" href="#_subfunctions" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a>
+2547 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2548 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2549 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2550 
+2551 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text</span>
+2552 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double</span>
+2553 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2554 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2555 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2556 
+2557 
+2558 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2559 <a name="_sub126" href="#_subfunctions" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a>
+2560 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2561 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2562 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2563 
+2564 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2565 <span class="comment">%       See ISPC and COMPUTER.</span>
+2566 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2567     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2568 <span class="keyword">end</span>
+2569 
+2570 
+2571 
+2572 <a name="_sub127" href="#_subfunctions" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a>
+2573 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2574 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2575 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2576 
+2577 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text</span>
+2578 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double</span>
+2579 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2580 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2581 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2582 
+2583 
+2584 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2585 <a name="_sub128" href="#_subfunctions" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a>
+2586 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2587 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2588 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2589 
+2590 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2591 <span class="comment">%       See ISPC and COMPUTER.</span>
+2592 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2593     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2594 <span class="keyword">end</span>
+2595 
+2596 
+2597 
+2598 <a name="_sub129" href="#_subfunctions" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a>
+2599 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2600 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2601 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2602 
+2603 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text</span>
+2604 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double</span>
+2605 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2606 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2607 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2608 
+2609 
+2610 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2611 <a name="_sub130" href="#_subfunctions" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a>
+2612 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2613 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2614 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2615 
+2616 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2617 <span class="comment">%       See ISPC and COMPUTER.</span>
+2618 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2619     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2620 <span class="keyword">end</span>
+2621 
+2622 
+2623 
+2624 <a name="_sub131" href="#_subfunctions" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a>
+2625 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2626 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2627 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2628 
+2629 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text</span>
+2630 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double</span>
+2631 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2632 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2633 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2634 
+2635 
+2636 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2637 <a name="_sub132" href="#_subfunctions" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a>
+2638 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2639 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2640 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2641 
+2642 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2643 <span class="comment">%       See ISPC and COMPUTER.</span>
+2644 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2645     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2646 <span class="keyword">end</span>
+2647 
+2648 
+2649 
+2650 <a name="_sub133" href="#_subfunctions" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a>
+2651 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2652 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2653 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2654 
+2655 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text</span>
+2656 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double</span>
+2657 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2658 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2659 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2660 
+2661 
+2662 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2663 <a name="_sub134" href="#_subfunctions" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a>
+2664 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2665 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2666 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2667 
+2668 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2669 <span class="comment">%       See ISPC and COMPUTER.</span>
+2670 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2671     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2672 <span class="keyword">end</span>
+2673 
+2674 
+2675 
+2676 <a name="_sub135" href="#_subfunctions" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a>
+2677 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2678 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2679 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2680 
+2681 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text</span>
+2682 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double</span>
+2683 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2684 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2685 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2686 
+2687 
+2688 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2689 <a name="_sub136" href="#_subfunctions" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a>
+2690 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2691 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2692 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2693 
+2694 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2695 <span class="comment">%       See ISPC and COMPUTER.</span>
+2696 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2697     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2698 <span class="keyword">end</span>
+2699 
+2700 
+2701 
+2702 <a name="_sub137" href="#_subfunctions" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a>
+2703 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2704 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2705 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2706 
+2707 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text</span>
+2708 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double</span>
+2709 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2710 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2711 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2712 
+2713 
+2714 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2715 <a name="_sub138" href="#_subfunctions" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a>
+2716 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2717 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2718 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2719 
+2720 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2721 <span class="comment">%       See ISPC and COMPUTER.</span>
+2722 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2723     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2724 <span class="keyword">end</span>
+2725 
+2726 
+2727 
+2728 <a name="_sub139" href="#_subfunctions" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a>
+2729 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2730 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2731 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2732 
+2733 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text</span>
+2734 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double</span>
+2735 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2736 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2737 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2738 
+2739 
+2740 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2741 <a name="_sub140" href="#_subfunctions" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a>
+2742 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2743 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2744 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2745 
+2746 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2747 <span class="comment">%       See ISPC and COMPUTER.</span>
+2748 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2749     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2750 <span class="keyword">end</span>
+2751 
+2752 
+2753 
+2754 <a name="_sub141" href="#_subfunctions" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a>
+2755 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2756 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2757 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2758 
+2759 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text</span>
+2760 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double</span>
+2761 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2762 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2763 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2764 
+2765 
+2766 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2767 <a name="_sub142" href="#_subfunctions" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a>
+2768 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2769 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2770 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2771 
+2772 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2773 <span class="comment">%       See ISPC and COMPUTER.</span>
+2774 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2775     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2776 <span class="keyword">end</span>
+2777 
+2778 
+2779 
+2780 <a name="_sub143" href="#_subfunctions" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a>
+2781 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2782 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2783 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2784 
+2785 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text</span>
+2786 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double</span>
+2787 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2788 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2789 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2790 
+2791 
+2792 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2793 <a name="_sub144" href="#_subfunctions" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a>
+2794 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2795 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2796 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2797 
+2798 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2799 <span class="comment">%       See ISPC and COMPUTER.</span>
+2800 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2801     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2802 <span class="keyword">end</span>
+2803 
+2804 
+2805 <span class="comment">% --- Executes on button press in button_filling_14.</span>
+2806 <a name="_sub145" href="#_subfunctions" class="code">function button_filling_14_Callback(hObject, eventdata, handles)</a>
+2807 <span class="comment">% hObject    handle to button_filling_14 (see GCBO)</span>
+2808 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2809 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2810 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2811 offset=temp.value(1)*52;
+2812 bunch=[1];
+2813 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2814 table=int32([length(bunch) dtour dpaquet]);
+2815 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+2816 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2817 n=temp.value;
+2818 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2819 table=temp.value(1:n)-offset;
+2820 handles.mode=<span class="string">'Mode=1/4'</span>;
+2821 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);
+2822 set(handles.edit_filling_relecture_bunch,<span class="string">'String'</span>,[handles.mode, <span class="string">'  B='</span> , num2str(bunch)]);
+2823 guidata(hObject, handles);
+2824 
+2825 <span class="comment">% --- Executes on button press in button_filling_24.</span>
+2826 <a name="_sub146" href="#_subfunctions" class="code">function button_filling_24_Callback(hObject, eventdata, handles)</a>
+2827 <span class="comment">% hObject    handle to button_filling_24 (see GCBO)</span>
+2828 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2829 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2830 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2831 offset=temp.value(1)*52;
+2832 bunch=[1 105];
+2833 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2834 table=int32([length(bunch) dtour dpaquet]);
+2835 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+2836 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2837 n=temp.value;
+2838 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2839 table=temp.value(1:n)-offset;
+2840 handles.mode=<span class="string">'Mode=1/2'</span>;
+2841 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);
+2842 set(handles.edit_filling_relecture_bunch,<span class="string">'String'</span>,[handles.mode, <span class="string">'  B='</span> , num2str(bunch)]);
+2843 guidata(hObject, handles);
+2844 
+2845 <span class="comment">% --- Executes on button press in button_filling_34.</span>
+2846 <a name="_sub147" href="#_subfunctions" class="code">function button_filling_34_Callback(hObject, eventdata, handles)</a>
+2847 <span class="comment">% hObject    handle to button_filling_34 (see GCBO)</span>
+2848 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2849 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2850 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2851 offset=temp.value(1)*52;
+2852 bunch=[1 105 209];
+2853 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2854 table=int32([length(bunch) dtour dpaquet]);
+2855 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+2856 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2857 n=temp.value;
+2858 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2859 table=temp.value(1:n)-offset;
+2860 handles.mode=<span class="string">'Mode=3/4'</span>;
+2861 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);
+2862 set(handles.edit_filling_relecture_bunch,<span class="string">'String'</span>,[handles.mode, <span class="string">'  B='</span> , num2str(bunch)]);
+2863 guidata(hObject, handles);
+2864 
+2865 <span class="comment">% --- Executes on button press in button_filling_11.</span>
+2866 <a name="_sub148" href="#_subfunctions" class="code">function button_filling_11_Callback(hObject, eventdata, handles)</a>
+2867 <span class="comment">% hObject    handle to button_filling_11 (see GCBO)</span>
+2868 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2869 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2870 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2871 offset=temp.value(1)*52;
+2872 bunch=[1 105 209 313];
+2873 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2874 table=int32([length(bunch) dtour dpaquet]);
+2875 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+2876 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2877 n=temp.value;
+2878 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2879 table=temp.value(1:n)-offset;
+2880 handles.mode=<span class="string">'Mode=100%'</span>;
+2881 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);
+2882 set(handles.edit_filling_relecture_bunch,<span class="string">'String'</span>,[handles.mode, <span class="string">'  B='</span> , num2str(bunch)]);
+2883 guidata(hObject, handles);
+2884 
+2885 
+2886 <a name="_sub149" href="#_subfunctions" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a>
+2887 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+2888 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2889 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2890 
+2891 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text</span>
+2892 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double</span>
+2893 
+2894 
+2895 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2896 <a name="_sub150" href="#_subfunctions" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a>
+2897 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+2898 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2899 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2900 
+2901 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2902 <span class="comment">%       See ISPC and COMPUTER.</span>
+2903 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2904     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2905 <span class="keyword">end</span>
+2906 
+2907 
+2908 
+2909 <a name="_sub151" href="#_subfunctions" class="code">function edit72_Callback(hObject, eventdata, handles)</a>
+2910 <span class="comment">% hObject    handle to edit72 (see GCBO)</span>
+2911 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2912 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2913 
+2914 <span class="comment">% Hints: get(hObject,'String') returns contents of edit72 as text</span>
+2915 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit72 as a double</span>
+2916 
+2917 
+2918 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2919 <a name="_sub152" href="#_subfunctions" class="code">function edit72_CreateFcn(hObject, eventdata, handles)</a>
+2920 <span class="comment">% hObject    handle to edit72 (see GCBO)</span>
+2921 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2922 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2923 
+2924 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2925 <span class="comment">%       See ISPC and COMPUTER.</span>
+2926 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2927     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2928 <span class="keyword">end</span>
+2929 
+2930 
+2931 
+2932 <a name="_sub153" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a>
+2933 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+2934 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2935 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2936 
+2937 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text</span>
+2938 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double</span>
+2939 
+2940 
+2941 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2942 <a name="_sub154" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a>
+2943 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+2944 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2945 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2946 
+2947 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2948 <span class="comment">%       See ISPC and COMPUTER.</span>
+2949 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2950     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2951 <span class="keyword">end</span>
+2952 
+2953 
+2954 
+2955 <a name="_sub155" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a>
+2956 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+2957 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2958 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2959 
+2960 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text</span>
+2961 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double</span>
+2962 
+2963 
+2964 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2965 <a name="_sub156" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a>
+2966 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+2967 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2968 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2969 
+2970 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2971 <span class="comment">%       See ISPC and COMPUTER.</span>
+2972 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2973     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2974 <span class="keyword">end</span>
+2975 
+2976 
+2977 <span class="comment">% --- Executes on button press in button_update.</span>
+2978 <a name="_sub157" href="#_subfunctions" class="code">function button_update_Callback(hObject, eventdata, handles)</a>
+2979 <span class="comment">% hObject    handle to button_update (see GCBO)</span>
+2980 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2981 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2982 
+2983 tango_command_inout(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>,<span class="string">'Update'</span>)
+2984     
+2985 tango_command_inout(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Update'</span>);       
+2986 tango_command_inout(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>);  
+2987 tango_command_inout(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>); 
+2988 tango_command_inout(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Update'</span>); 
+2989 
+2990 tango_command_inout(<span class="string">'LT2/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>); 
+2991 tango_command_inout(<span class="string">'LT2/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); 
+2992 
+2993 tango_command_inout(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Update'</span>); 
+2994 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>); 
+2995 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>); 
+2996 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>); 
+2997 tango_command_inout(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); 
+2998 tango_command_inout(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); 
+2999 tango_command_inout(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); 
+3000 tango_command_inout(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); 
+3001 tango_command_inout(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); 
+3002 tango_command_inout(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>); 
+3003 tango_command_inout(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); 
+3004 tango_command_inout(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); 
+3005 tango_command_inout(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);   
+3006 tango_command_inout(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);   
+3007 tango_command_inout(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);   
+3008 tango_command_inout(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);   
+3009 tango_command_inout(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);   
+3010 tango_command_inout(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);   
+3011 tango_command_inout(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);    
+3012 
+3013 
+3014 <span class="comment">% --- Executes on button press in button_trigstatus.</span>
+3015 <a name="_sub158" href="#_subfunctions" class="code">function button_trigstatus_Callback(hObject, eventdata, handles)</a>
+3016 <span class="comment">% hObject    handle to button_trigstatus (see GCBO)</span>
+3017 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3018 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3019 
+3020 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3021 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3022 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3023 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3024 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3025 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3026 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3027 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3028 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3029 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3030 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3031 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3032 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3033 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3034 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3035 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3036 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3037 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3038 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3039 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3040 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3041 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3042 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3043 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3044 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3045 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3046 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3047 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3048 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3049 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3050 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3051 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3052 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3053 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3054 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3055 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3056 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3057 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3058 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3059 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3060 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3061 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3062 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3063 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3064 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3065 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3066 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3067 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3068 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3069 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3070 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3071 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3072 
+3073 
+3074 
+3075 
+3076 
+3077 
+3078 
+3079 
+3080 
+3081 n=1;
+3082 
+3083 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+3084 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3085 
+3086 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+3087 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3088 
+3089 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+3090 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3091 
+3092 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+3093 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3094 
+3095 
+3096 
+3097 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3098 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3099 
+3100 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTrigStatus'</span>);
+3101 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+3102 
+3103 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTrigStatus'</span>);
+3104 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3105 
+3106 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTrigStatus'</span>);
+3107 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3108 
+3109 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TrigStatus'</span>);
+3110 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3111 
+3112 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TrigStatus'</span>);
+3113 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3114 
+3115 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3116 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3117 
+3118 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTrigStatus'</span>);
+3119 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3120 
+3121 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTrigStatus'</span>);
+3122 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+3123 
+3124 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3125 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+3126 
+3127 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3128 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3129 
+3130 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTrigStatus'</span>);
+3131 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+3132 
+3133 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTrigStatus'</span>);
+3134 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3135 
+3136 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTrigStatus'</span>);
+3137 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3138 
+3139 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTrigStatus'</span>);
+3140 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3141 
+3142 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTrigStatus'</span>);
+3143 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3144 
+3145 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTrigStatus'</span>);
+3146 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3147 
+3148 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3149 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+3150 
+3151 
+3152 
+3153 
+3154 
+3155 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTrigStatus'</span>);
+3156 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+3157 
+3158 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3159 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3160 
+3161 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3162 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3163 
+3164 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3165 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3166 
+3167 
+3168 
+3169 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3170 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3171 
+3172 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTrigStatus'</span>);
+3173 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3174 
+3175 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTrigStatus'</span>);
+3176 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3177 
+3178 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3179 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3180 
+3181 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTrigStatus'</span>);
+3182 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3183 
+3184 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTrigStatus'</span>);
+3185 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3186 
+3187 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTrigStatus'</span>);
+3188 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+3189 
+3190 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTrigStatus'</span>);
+3191 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+3192 
+3193 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3194 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3195 
+3196 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3197 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3198 
+3199 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTrigStatus'</span>);
+3200 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3201 
+3202 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3203 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3204 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+3205 
+3206 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3207 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+3208 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3209 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+3210 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3211 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+3212 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3213 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+3214 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3215 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+3216 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3217 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+3218 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3219 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+3220 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3221 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+3222 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3223 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+3224 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3225 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+3226 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3227 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+3228 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3229 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+3230 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3231 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+3232 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3233 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+3234 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3235 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+3236 
+3237 
+3238 <span class="comment">% --- Executes on button press in button_filling_16.</span>
+3239 <a name="_sub159" href="#_subfunctions" class="code">function button_filling_16_Callback(hObject, eventdata, handles)</a>
+3240 <span class="comment">% hObject    handle to button_filling_16 (see GCBO)</span>
+3241 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3242 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3243 
+3244 
+3245 <span class="comment">% --- Executes on button press in button_filling_26.</span>
+3246 <a name="_sub160" href="#_subfunctions" class="code">function button_filling_26_Callback(hObject, eventdata, handles)</a>
+3247 <span class="comment">% hObject    handle to button_filling_26 (see GCBO)</span>
+3248 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3249 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3250 
+3251 
+3252 <span class="comment">% --- Executes on button press in button_filling_36.</span>
+3253 <a name="_sub161" href="#_subfunctions" class="code">function button_filling_36_Callback(hObject, eventdata, handles)</a>
+3254 <span class="comment">% hObject    handle to button_filling_36 (see GCBO)</span>
+3255 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3256 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3257 
+3258 
+3259 <span class="comment">% --- Executes on button press in button_filling_46.</span>
+3260 <a name="_sub162" href="#_subfunctions" class="code">function button_filling_46_Callback(hObject, eventdata, handles)</a>
+3261 <span class="comment">% hObject    handle to button_filling_46 (see GCBO)</span>
+3262 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3263 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3264 
+3265 
+3266 <span class="comment">% --- Executes on button press in button_filling_15.</span>
+3267 <a name="_sub163" href="#_subfunctions" class="code">function button_filling_15_Callback(hObject, eventdata, handles)</a>
+3268 <span class="comment">% hObject    handle to button_filling_15 (see GCBO)</span>
+3269 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3270 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3271 
+3272 
+3273 <span class="comment">% --- Executes on button press in button_filling_25.</span>
+3274 <a name="_sub164" href="#_subfunctions" class="code">function button_filling_25_Callback(hObject, eventdata, handles)</a>
+3275 <span class="comment">% hObject    handle to button_filling_25 (see GCBO)</span>
+3276 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3277 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3278 
+3279 
+3280 <span class="comment">% --- Executes on button press in button_filling_35.</span>
+3281 <a name="_sub165" href="#_subfunctions" class="code">function button_filling_35_Callback(hObject, eventdata, handles)</a>
+3282 <span class="comment">% hObject    handle to button_filling_35 (see GCBO)</span>
+3283 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3284 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3285 
+3286 
+3287 <span class="comment">% --- Executes on button press in button_filling_45.</span>
+3288 <a name="_sub166" href="#_subfunctions" class="code">function button_filling_45_Callback(hObject, eventdata, handles)</a>
+3289 <span class="comment">% hObject    handle to button_filling_45 (see GCBO)</span>
+3290 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3291 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3292 
+3293 
+3294 <span class="comment">% --- Executes on button press in button_filling_55.</span>
+3295 <a name="_sub167" href="#_subfunctions" class="code">function button_filling_55_Callback(hObject, eventdata, handles)</a>
+3296 <span class="comment">% hObject    handle to button_filling_55 (see GCBO)</span>
+3297 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3298 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3299 
+3300 
+3301 <span class="comment">% --- Executes on button press in button_filling_56.</span>
+3302 <a name="_sub168" href="#_subfunctions" class="code">function button_filling_56_Callback(hObject, eventdata, handles)</a>
+3303 <span class="comment">% hObject    handle to button_filling_56 (see GCBO)</span>
+3304 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3305 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3306 
+3307 
+3308 <span class="comment">% --- Executes on button press in button_filling_66.</span>
+3309 <a name="_sub169" href="#_subfunctions" class="code">function button_filling_66_Callback(hObject, eventdata, handles)</a>
+3310 <span class="comment">% hObject    handle to button_filling_66 (see GCBO)</span>
+3311 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3312 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3313 
+3314 
+3315 <span class="comment">% --- Executes on button press in togglebutton2.</span>
+3316 <a name="_sub170" href="#_subfunctions" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a>
+3317 <span class="comment">% hObject    handle to togglebutton2 (see GCBO)</span>
+3318 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3319 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3320 
+3321 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of togglebutton2</span>
+3322 
+3323</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur4.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur4.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur4.html	(revision 17)
@@ -0,0 +1,3530 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur4</title>
+  <meta name="keywords" content="synchro_injecteur4">
+  <meta name="description" content="SYNCHRO_INJECTEUR4 M-file for synchro_injecteur4.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur4.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur4
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR4 M-file for synchro_injecteur4.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur4(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR4 M-file for synchro_injecteur4.fig
+      SYNCHRO_INJECTEUR4, by itself, creates a new SYNCHRO_INJECTEUR4 or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR4 returns the handle to a new SYNCHRO_INJECTEUR4 or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR4('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR4.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR4('Property','Value',...) creates a new SYNCHRO_INJECTEUR4 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur4_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur4_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li><li><a href="step.html" class="code" title="">step</a>	reglage delta tune Ã  110 MeV</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur4_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur4_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function alim_dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function alim_dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function alim_qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function alim_qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function alim_qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function alim_qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function alim_sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function alim_sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function alim_sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function alim_sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function lin_canon_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function lin_canon_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function boo_hall_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function boo_hall_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function pc_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function inj_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function edit21_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function soft_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function soft_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function push_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub54" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub55" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub56" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function ext_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function ext_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function soft_address1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function soft_address1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function sdc2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub107" class="code">function Acquisition_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub108" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub109" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub110" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub111" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub112" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub113" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub114" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub115" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub116" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub117" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub118" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub119" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub120" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub121" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub122" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub123" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub124" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub125" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub126" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub127" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub128" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub129" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub130" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub131" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub132" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub133" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub134" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub135" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub136" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub137" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub138" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub139" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub140" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub141" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub142" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub143" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub144" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub145" class="code">function button_filling_14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub146" class="code">function button_filling_24_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub147" class="code">function button_filling_34_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub148" class="code">function button_filling_11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub149" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub150" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub151" class="code">function edit72_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub152" class="code">function edit72_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub153" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub154" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub155" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub156" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub157" class="code">function button_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub158" class="code">function button_trigstatus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub159" class="code">function button_filling_16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub160" class="code">function button_filling_26_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub161" class="code">function button_filling_36_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub162" class="code">function button_filling_46_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub163" class="code">function button_filling_15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub164" class="code">function button_filling_25_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub165" class="code">function button_filling_35_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub166" class="code">function button_filling_45_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub167" class="code">function button_filling_55_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub168" class="code">function button_filling_56_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub169" class="code">function button_filling_66_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub170" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub171" class="code">function button_fix_14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub172" class="code">function filling_soft_SelectionChangeFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur4(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR4 M-file for synchro_injecteur4.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR4, by itself, creates a new SYNCHRO_INJECTEUR4 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR4 returns the handle to a new SYNCHRO_INJECTEUR4 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR4('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR4.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR4('Property','Value',...) creates a new SYNCHRO_INJECTEUR4 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur4_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur4_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur4</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 03-Jul-2006 14:03:23</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur4_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur4_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur4_OutputFcn(hObject, eventdata, handles)">synchro_injecteur4_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_injecteur4 is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur4_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_injecteur4 (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_injecteur4</span>
+0056 handles.output = hObject;
+0057 load(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>);
+0058 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0059 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0060 
+0061 <span class="comment">% periode du trigger par defaut = 4/3</span>
+0062 handles.periode = 1.36;
+0063 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0064 
+0065 
+0066 <span class="comment">%Mode</span>
+0067 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);
+0068 clk1=temp.value(1);
+0069 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0070 clk2=temp.value(1);
+0071 jump=int32([0 13 26 39]);
+0072 handles.clk_pc  =jump +  int32(clk1);
+0073 handles.clk_soft=jump  + int32(clk2);
+0074 
+0075 
+0076 handles.mode = <span class="string">'Mode=???'</span>;
+0077 set(handles.edit_filling_relecture_tables,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0078 set(handles.edit_filling_relecture_bunch,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0079 
+0080 set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0081 <span class="comment">% Creates timer Infinite loop</span>
+0082 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0083     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0084 timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+0085 setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+0086 
+0087 <span class="comment">% button group sur on/off timer du trigger</span>
+0088 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.1485 0.29 0.10 0.12],<span class="keyword">...</span>
+0089     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0090     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0091 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0092     <span class="string">'pos'</span>,[45 20 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0093     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0094 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'ON'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0095     <span class="string">'pos'</span>,[45 50 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0096     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0097 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0098     {@<a href="#_sub53" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0099 
+0100 handles.off = u1;
+0101 handles.on = u2;
+0102 
+0103 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0104 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0105 
+0106 <span class="comment">%% Set closing gui function</span>
+0107 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub55" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0108 
+0109 <span class="comment">% Update handles structure</span>
+0110 guidata(hObject, handles);
+0111 
+0112 <span class="comment">% UIWAIT makes synchro_injecteur4 wait for user response (see UIRESUME)</span>
+0113 <span class="comment">% uiwait(handles.figure1);</span>
+0114 
+0115 
+0116 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0117 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur4_OutputFcn(hObject, eventdata, handles) </a>
+0118 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0119 <span class="comment">% hObject    handle to figure</span>
+0120 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0121 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0122 
+0123 <span class="comment">% Get default command line output from handles structure</span>
+0124 varargout{1} = handles.output;
+0125 
+0126 
+0127 
+0128 <a name="_sub3" href="#_subfunctions" class="code">function alim_dipole_Callback(hObject, eventdata, handles)</a>
+0129 <span class="comment">% hObject    handle to alim_dipole (see GCBO)</span>
+0130 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0131 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0132 
+0133 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_dipole as text</span>
+0134 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_dipole as a double</span>
+0135 h=gcf
+0136 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0137 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0138 
+0139 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0140 <a name="_sub4" href="#_subfunctions" class="code">function alim_dipole_CreateFcn(hObject, eventdata, handles)</a>
+0141 <span class="comment">% hObject    handle to alim_dipole (see GCBO)</span>
+0142 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0143 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0144 
+0145 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0146 <span class="comment">%       See ISPC and COMPUTER.</span>
+0147 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0148     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0149 <span class="keyword">end</span>
+0150 
+0151 
+0152 <a name="_sub5" href="#_subfunctions" class="code">function alim_qf_Callback(hObject, eventdata, handles)</a>
+0153 <span class="comment">% hObject    handle to alim_qf (see GCBO)</span>
+0154 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0155 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0156 
+0157 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_qf as text</span>
+0158 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_qf as a double</span>
+0159 
+0160 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0161 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0162 
+0163 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0164 <a name="_sub6" href="#_subfunctions" class="code">function alim_qf_CreateFcn(hObject, eventdata, handles)</a>
+0165 <span class="comment">% hObject    handle to alim_qf (see GCBO)</span>
+0166 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0167 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0168 
+0169 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0170 <span class="comment">%       See ISPC and COMPUTER.</span>
+0171 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0172     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0173 <span class="keyword">end</span>
+0174 
+0175 
+0176 
+0177 <a name="_sub7" href="#_subfunctions" class="code">function alim_qd_Callback(hObject, eventdata, handles)</a>
+0178 <span class="comment">% hObject    handle to alim_qd (see GCBO)</span>
+0179 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0180 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0181 
+0182 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_qd as text</span>
+0183 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_qd as a double</span>
+0184 
+0185 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0186 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0187 
+0188 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0189 <a name="_sub8" href="#_subfunctions" class="code">function alim_qd_CreateFcn(hObject, eventdata, handles)</a>
+0190 <span class="comment">% hObject    handle to alim_qd (see GCBO)</span>
+0191 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0192 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0193 
+0194 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0195 <span class="comment">%       See ISPC and COMPUTER.</span>
+0196 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0197     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0198 <span class="keyword">end</span>
+0199 
+0200 
+0201 
+0202 <a name="_sub9" href="#_subfunctions" class="code">function alim_sf_Callback(hObject, eventdata, handles)</a>
+0203 <span class="comment">% hObject    handle to alim_sf (see GCBO)</span>
+0204 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0205 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0206 
+0207 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_sf as text</span>
+0208 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_sf as a double</span>
+0209 
+0210 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0211 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0212 
+0213 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0214 <a name="_sub10" href="#_subfunctions" class="code">function alim_sf_CreateFcn(hObject, eventdata, handles)</a>
+0215 <span class="comment">% hObject    handle to alim_sf (see GCBO)</span>
+0216 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0217 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0218 
+0219 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0220 <span class="comment">%       See ISPC and COMPUTER.</span>
+0221 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0222     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0223 <span class="keyword">end</span>
+0224 
+0225 
+0226 
+0227 <a name="_sub11" href="#_subfunctions" class="code">function alim_sd_Callback(hObject, eventdata, handles)</a>
+0228 <span class="comment">% hObject    handle to alim_sd (see GCBO)</span>
+0229 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0230 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0231 
+0232 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_sd as text</span>
+0233 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_sd as a double</span>
+0234 
+0235 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0236 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0237 
+0238 
+0239 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0240 <a name="_sub12" href="#_subfunctions" class="code">function alim_sd_CreateFcn(hObject, eventdata, handles)</a>
+0241 <span class="comment">% hObject    handle to alim_sd (see GCBO)</span>
+0242 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0243 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0244 
+0245 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0246 <span class="comment">%       See ISPC and COMPUTER.</span>
+0247 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0248     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0249 <span class="keyword">end</span>
+0250 
+0251 
+0252 
+0253 <a name="_sub13" href="#_subfunctions" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a>
+0254 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0255 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0256 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0257 
+0258 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_rf as text</span>
+0259 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_rf as a double</span>
+0260 
+0261 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0262 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0263 
+0264 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0265 <a name="_sub14" href="#_subfunctions" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a>
+0266 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0267 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0268 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0269 
+0270 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0271 <span class="comment">%       See ISPC and COMPUTER.</span>
+0272 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0273     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0274 <span class="keyword">end</span>
+0275 
+0276 
+0277 
+0278 <a name="_sub15" href="#_subfunctions" class="code">function lin_canon_Callback(hObject, eventdata, handles)</a>
+0279 <span class="comment">% hObject    handle to lin_canon (see GCBO)</span>
+0280 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0281 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0282 
+0283 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon as text</span>
+0284 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon as a double</span>
+0285 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0286 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0287 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0288 
+0289 
+0290 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0291 <a name="_sub16" href="#_subfunctions" class="code">function lin_canon_CreateFcn(hObject, eventdata, handles)</a>
+0292 <span class="comment">% hObject    handle to lin_canon (see GCBO)</span>
+0293 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0294 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0295 
+0296 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0297 <span class="comment">%       See ISPC and COMPUTER.</span>
+0298 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0299     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0300 <span class="keyword">end</span>
+0301 
+0302 
+0303 
+0304 <a name="_sub17" href="#_subfunctions" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a>
+0305 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0306 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0307 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0308 
+0309 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_emittance as text</span>
+0310 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double</span>
+0311 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0312 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0313 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0314 
+0315 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0316 <a name="_sub18" href="#_subfunctions" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a>
+0317 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0318 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0319 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0320 
+0321 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0322 <span class="comment">%       See ISPC and COMPUTER.</span>
+0323 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0324     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0325 <span class="keyword">end</span>
+0326 
+0327 
+0328 
+0329 <a name="_sub19" href="#_subfunctions" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a>
+0330 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0331 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0332 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0333 
+0334 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC1 as text</span>
+0335 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double</span>
+0336 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0337 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0338 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0339 
+0340 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0341 <a name="_sub20" href="#_subfunctions" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a>
+0342 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0343 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0344 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0345 
+0346 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0347 <span class="comment">%       See ISPC and COMPUTER.</span>
+0348 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0349     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0350 <span class="keyword">end</span>
+0351 
+0352 
+0353 
+0354 <a name="_sub21" href="#_subfunctions" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a>
+0355 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0356 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0357 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0358 
+0359 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC2 as text</span>
+0360 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double</span>
+0361 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0362 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0363 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0364 
+0365 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0366 <a name="_sub22" href="#_subfunctions" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a>
+0367 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0368 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0369 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0370 
+0371 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0372 <span class="comment">%       See ISPC and COMPUTER.</span>
+0373 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0374     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0375 <span class="keyword">end</span>
+0376 
+0377 
+0378 
+0379 <a name="_sub23" href="#_subfunctions" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a>
+0380 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0381 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0382 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0383 
+0384 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_osc as text</span>
+0385 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double</span>
+0386 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0387 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0388 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0389 
+0390 
+0391 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0392 <a name="_sub24" href="#_subfunctions" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a>
+0393 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0394 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0395 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0396 
+0397 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0398 <span class="comment">%       See ISPC and COMPUTER.</span>
+0399 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0400     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0401 <span class="keyword">end</span>
+0402 
+0403 
+0404 
+0405 <a name="_sub25" href="#_subfunctions" class="code">function sdc1_Callback(hObject, eventdata, handles)</a>
+0406 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0407 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0408 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0409 
+0410 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc1 as text</span>
+0411 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc1 as a double</span>
+0412 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0413 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0414 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0415 
+0416 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0417 <a name="_sub26" href="#_subfunctions" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a>
+0418 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0419 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0420 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0421 
+0422 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0423 <span class="comment">%       See ISPC and COMPUTER.</span>
+0424 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0425     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0426 <span class="keyword">end</span>
+0427 
+0428 
+0429 
+0430 <a name="_sub27" href="#_subfunctions" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a>
+0431 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0432 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0433 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0434 
+0435 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_septum as text</span>
+0436 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double</span>
+0437 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0438 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0439 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+0440 
+0441 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0442 <a name="_sub28" href="#_subfunctions" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a>
+0443 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0444 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0445 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0446 
+0447 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0448 <span class="comment">%       See ISPC and COMPUTER.</span>
+0449 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0450     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0451 <span class="keyword">end</span>
+0452 
+0453 
+0454 
+0455 <a name="_sub29" href="#_subfunctions" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a>
+0456 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0457 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0458 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0459 
+0460 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text</span>
+0461 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double</span>
+0462 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0463 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0464 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+0465 
+0466 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0467 <a name="_sub30" href="#_subfunctions" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a>
+0468 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0469 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0470 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0471 
+0472 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0473 <span class="comment">%       See ISPC and COMPUTER.</span>
+0474 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0475     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0476 <span class="keyword">end</span>
+0477 
+0478 
+0479 
+0480 <a name="_sub31" href="#_subfunctions" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a>
+0481 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0482 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0483 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0484 
+0485 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_bpm as text</span>
+0486 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double</span>
+0487 
+0488 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0489 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0490 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0491 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0492 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+0493 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+0494 
+0495 
+0496 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0497 <a name="_sub32" href="#_subfunctions" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a>
+0498 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0499 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0500 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0501 
+0502 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0503 <span class="comment">%       See ISPC and COMPUTER.</span>
+0504 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0505     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0506 <span class="keyword">end</span>
+0507 
+0508 
+0509 
+0510 <a name="_sub33" href="#_subfunctions" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a>
+0511 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0512 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0513 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0514 
+0515 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_nod as text</span>
+0516 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_nod as a double</span>
+0517 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0518 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0519 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+0520 
+0521 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0522 <a name="_sub34" href="#_subfunctions" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a>
+0523 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0524 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0525 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0526 
+0527 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0528 <span class="comment">%       See ISPC and COMPUTER.</span>
+0529 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0530     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0531 <span class="keyword">end</span>
+0532 
+0533 
+0534 
+0535 <a name="_sub35" href="#_subfunctions" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a>
+0536 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0537 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0538 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0539 
+0540 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_dcct as text</span>
+0541 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double</span>
+0542 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0543 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0544 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0545 
+0546 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0547 <a name="_sub36" href="#_subfunctions" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a>
+0548 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0549 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0550 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0551 
+0552 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0553 <span class="comment">%       See ISPC and COMPUTER.</span>
+0554 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0555     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0556 <span class="keyword">end</span>
+0557 
+0558 
+0559 
+0560 <a name="_sub37" href="#_subfunctions" class="code">function boo_hall_Callback(hObject, eventdata, handles)</a>
+0561 <span class="comment">% hObject    handle to boo_hall (see GCBO)</span>
+0562 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0563 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0564 
+0565 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_hall as text</span>
+0566 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_hall as a double</span>
+0567 
+0568 
+0569 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0570 <a name="_sub38" href="#_subfunctions" class="code">function boo_hall_CreateFcn(hObject, eventdata, handles)</a>
+0571 <span class="comment">% hObject    handle to boo_hall (see GCBO)</span>
+0572 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0573 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0574 
+0575 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0576 <span class="comment">%       See ISPC and COMPUTER.</span>
+0577 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0578     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0579 <span class="keyword">end</span>
+0580 
+0581 
+0582 
+0583 <a name="_sub39" href="#_subfunctions" class="code">function pc_address_Callback(hObject, eventdata, handles)</a>
+0584 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0585 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0586 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0587 
+0588 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0589 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0590 
+0591 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0592 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+0593 
+0594 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0595 <a name="_sub40" href="#_subfunctions" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a>
+0596 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0597 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0598 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0599 
+0600 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0601 <span class="comment">%       See ISPC and COMPUTER.</span>
+0602 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0603     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0604 <span class="keyword">end</span>
+0605 
+0606 
+0607 
+0608 <a name="_sub41" href="#_subfunctions" class="code">function inj_address_Callback(hObject, eventdata, handles)</a>
+0609 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0610 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0611 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0612 
+0613 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_address as text</span>
+0614 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_address as a double</span>
+0615 
+0616 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0617 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0618 
+0619 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0620 <a name="_sub42" href="#_subfunctions" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a>
+0621 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0622 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0623 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0624 
+0625 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0626 <span class="comment">%       See ISPC and COMPUTER.</span>
+0627 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0628     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0629 <span class="keyword">end</span>
+0630 
+0631 
+0632 
+0633 <a name="_sub43" href="#_subfunctions" class="code">function edit21_Callback(hObject, eventdata, handles)</a>
+0634 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0635 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0636 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0637 
+0638 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0639 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0640 
+0641 
+0642 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0643 <a name="_sub44" href="#_subfunctions" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a>
+0644 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0645 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0646 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0647 
+0648 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0649 <span class="comment">%       See ISPC and COMPUTER.</span>
+0650 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0651     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0652 <span class="keyword">end</span>
+0653 
+0654 
+0655 
+0656 <a name="_sub45" href="#_subfunctions" class="code">function soft_address_Callback(hObject, eventdata, handles)</a>
+0657 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0658 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0659 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0660 
+0661 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address as text</span>
+0662 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address as a double</span>
+0663 
+0664 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0665 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0666 
+0667 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0668 clkinj=int32(temp.value(1)+52);
+0669 clkext=int32(temp.value(1)/52+2);
+0670 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+0671 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+0672 
+0673 <span class="comment">%status soft checked on linac</span>
+0674 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+0675 <span class="keyword">if</span> (temp.value(1)==2)
+0676    <span class="comment">%</span>
+0677 <span class="keyword">elseif</span> (temp.value(1)==5)
+0678     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0679     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0680     delay=dt.value(1)+inj_offset;
+0681     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0682     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0683     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+0684 <span class="keyword">end</span>
+0685 
+0686 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0687 <a name="_sub46" href="#_subfunctions" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a>
+0688 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0689 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0690 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0691 
+0692 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0693 <span class="comment">%       See ISPC and COMPUTER.</span>
+0694 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0695     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0696 <span class="keyword">end</span>
+0697 
+0698 
+0699 <span class="comment">% --- Executes on button press in acquisition1.</span>
+0700 <a name="_sub47" href="#_subfunctions" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a>
+0701 <span class="comment">% hObject    handle to acquisition1 (see GCBO)</span>
+0702 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0703 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0704 
+0705 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0706 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0707 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0708 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0709 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0710 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0711 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0712 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0713 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0714 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0715 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0716 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0717 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0718 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0719 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0720 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0721 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0722 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0723 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0724 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0725 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0726 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0727 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0728 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0729 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0730 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0731 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0732 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0733 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0734 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0735 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0736 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0737 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0738 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0739 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0740 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0741 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0742 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0743 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0744 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0745 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0746 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0747 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0748 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0749 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0750 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0751 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0752 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0753 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0754 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0755 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0756 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0757 
+0758 
+0759 n=1;
+0760 
+0761 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0762 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0763 
+0764 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0765 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0766 
+0767 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0768 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0769 
+0770 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0771 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0772 
+0773 
+0774 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0775 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0776 
+0777 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0778 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+0779 
+0780 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0781 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0782 
+0783 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0784 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0785 
+0786 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0787 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0788 
+0789 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0790 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0791 
+0792 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0793 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0794 
+0795 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0796 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0797 
+0798 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0799 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0800 
+0801 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0802 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0803 
+0804 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0805 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0806 
+0807 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0808 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0809 
+0810 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0811 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0812 
+0813 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0814 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0815 
+0816 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0817 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0818 
+0819 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0820 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0821 
+0822 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0823 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0824 
+0825 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0826 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0827 
+0828 
+0829 
+0830 
+0831 
+0832 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0833 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0834 
+0835 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0836 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0837 
+0838 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0839 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0840 
+0841 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0842 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0843 
+0844 
+0845 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0846 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0847 
+0848 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+0849 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0850 
+0851 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+0852 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0853 
+0854 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0855 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0856 
+0857 
+0858 
+0859 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0860 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0861 
+0862 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0863 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0864 
+0865 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0866 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0867 
+0868 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0869 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0870 
+0871 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0872 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0873 
+0874 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0875 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0876 
+0877 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0878 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0879 
+0880 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0881 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0882 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+0883 
+0884 
+0885 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0886 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+0887 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0888 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+0889 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0890 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+0891 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0892 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+0893 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0894 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+0895 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0896 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+0897 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0898 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+0899 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0900 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+0901 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0902 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+0903 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0904 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+0905 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0906 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+0907 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0908 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+0909 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0910 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+0911 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0912 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+0913 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0914 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+0915 
+0916 
+0917 
+0918 <span class="comment">%status soft checked on linac</span>
+0919 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+0920 <span class="keyword">if</span> (temp.value(n)==2)
+0921     set(handles.soft_button,<span class="string">'Value'</span>,0);
+0922 <span class="keyword">elseif</span> (temp.value(n)==5)
+0923     set(handles.soft_button,<span class="string">'Value'</span>,1);
+0924 <span class="keyword">end</span>
+0925 
+0926 <span class="comment">%status tables</span>
+0927 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+0928 offset=temp.value(1)*52;
+0929 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+0930 n=temp.value;
+0931 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+0932 table=temp.value(1:n)-offset;
+0933 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);  
+0934 
+0935 
+0936 
+0937 <span class="comment">% --- Executes on button press in acquisition2.</span>
+0938 <a name="_sub48" href="#_subfunctions" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a>
+0939 <span class="comment">% hObject    handle to acquisition2 (see GCBO)</span>
+0940 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0941 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0942 
+0943 
+0944 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0945 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0946 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0947 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0948 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0949 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0950 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0951 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0952 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0953 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0954 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0955 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0956 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0957 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0958 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0959 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0960 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0961 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0962 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0963 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0964 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0965 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0966 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0967 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0968 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0969 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0970 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0971 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0972 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0973 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0974 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0975 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0976 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0977 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0978 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0979 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0980 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0981 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0982 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0983 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0984 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0985 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0986 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0987 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0988 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0989 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0990 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0991 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0992 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0993 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0994 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0995 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0996 
+0997 
+0998 n=1;
+0999 
+1000 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+1001 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+1002 
+1003 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1004 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+1005 
+1006 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1007 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+1008 set(handles.soft_address1,<span class="string">'String'</span>,num2str(temp.value(n)));
+1009 
+1010 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1011 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+1012 
+1013 
+1014 
+1015 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1016 
+1017 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1018 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1019 
+1020 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+1021 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1022 
+1023 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+1024 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1025 
+1026 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+1027 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1028 
+1029 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+1030 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1031 
+1032 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+1033 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1034 
+1035 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1036 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1037 
+1038 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+1039 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1040 
+1041 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+1042 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1043 
+1044 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1045 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1046 
+1047 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1048 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1049 
+1050 
+1051 
+1052 
+1053 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+1054 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+1055 
+1056 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+1057 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1058 
+1059 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+1060 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1061 
+1062 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+1063 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1064 
+1065 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+1066 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1067 
+1068 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+1069 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1070 
+1071 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1072 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1073 
+1074 
+1075 
+1076 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1077 
+1078 
+1079 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+1080 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1081 
+1082 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1083 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1084 
+1085 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1086 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1087 
+1088 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1089 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1090 
+1091 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1092 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1093 
+1094 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+1095 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1096 
+1097 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+1098 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1099 
+1100 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1101 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1102 
+1103 
+1104 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+1105 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1106 
+1107 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+1108 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1109 
+1110 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+1111 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1112 
+1113 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+1114 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1115 
+1116 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1117 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1118 
+1119 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1120 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1121 
+1122 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+1123 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1124 
+1125 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1126 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1127 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1128 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1129 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1130 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1131 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1132 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1133 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1134 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1135 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1136 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1137 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1138 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1139 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1140 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1141 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1142 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1143 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1144 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1145 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1146 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1147 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1148 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1149 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1150 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1151 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1152 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1153 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1154 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1155 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1156 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1157 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1158 
+1159 <span class="comment">%status soft checked on linac</span>
+1160 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1161 <span class="keyword">if</span> (temp.value(n)==2)
+1162     set(handles.soft_button,<span class="string">'Value'</span>,0);
+1163 <span class="keyword">elseif</span> (temp.value(n)==5)
+1164     set(handles.soft_button,<span class="string">'Value'</span>,1);
+1165 <span class="keyword">end</span>
+1166 
+1167 <span class="comment">%status tables</span>
+1168 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1169 offset=temp.value(1)*52;
+1170 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+1171 n=temp.value;
+1172 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+1173 table=temp.value(1:n)-offset;
+1174 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);  
+1175 
+1176 <span class="comment">% --- Executes on button press in soft_button.</span>
+1177 <a name="_sub49" href="#_subfunctions" class="code">function soft_button_Callback(hObject, eventdata, handles)</a>
+1178 <span class="comment">% hObject    handle to soft_button (see GCBO)</span>
+1179 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1180 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1181 
+1182 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of soft_button</span>
+1183 
+1184 etat=get(hObject,<span class="string">'Value'</span>);
+1185 tout=0.;
+1186 <span class="keyword">if</span> (etat==0)
+1187     event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+1188     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1189     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+1190     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>,event); pause(tout);
+1191     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+1192     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+1193     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+1194     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+1195     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+1196     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+1197     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+1198     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1199     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+1200     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+1201     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+1202     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+1203     event=int32(3) ;<span class="comment">% adresse de l'extraction</span>
+1204     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+1205     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+1206     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1207     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1208     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+1209     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1210     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,event);pause(tout);
+1211     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,event);pause(tout);
+1212     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+1213     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,event);pause(tout);
+1214     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,event);pause(tout);
+1215     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,event);pause(tout);
+1216     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,event);pause(tout);
+1217     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1218     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1219     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,event);pause(tout);
+1220     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1221     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1222     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1223     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1224     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1225     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1226     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1227     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1228     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1229     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1230     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1231     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1232     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1233     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1234     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1235     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1236     
+1237 
+1238     <span class="comment">% special modulateur</span>
+1239     inj=str2double(get(handles.inj_address,<span class="string">'String'</span>));
+1240     soft=str2double(get(handles.soft_address,<span class="string">'String'</span>));
+1241     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1242     delay=temp.value(1)-(soft)+0.00568;
+1243     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1244     
+1245     
+1246 <span class="keyword">elseif</span> (etat==1)
+1247     event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+1248     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1249     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+1250     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+1251     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+1252     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+1253     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout);     
+1254     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+1255     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+1256     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+1257     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1258     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+1259     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+1260     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+1261     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+1262     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+1263     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+1264     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1265     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1266     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+1267     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1268     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,event);pause(tout);
+1269     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,event);pause(tout);
+1270     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+1271     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,event);pause(tout);
+1272     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,event);pause(tout);
+1273     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,event);pause(tout);
+1274     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,event);pause(tout);
+1275     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1276     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1277     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,event);pause(tout);
+1278     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1279     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1280     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1281     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1282     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1283     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1284     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1285     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1286     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1287     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1288     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1289     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1290     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1291     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1292     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1293     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);     
+1294     
+1295     <span class="comment">% special modulateur</span>
+1296     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>,int32(1)); pause(tout);
+1297     inj=str2double(get(handles.inj_address,<span class="string">'String'</span>));
+1298     soft=str2double(get(handles.soft_address,<span class="string">'String'</span>));
+1299     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1300     delay=temp.value(1)+(soft);
+1301     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1302 <span class="keyword">end</span>
+1303 display(<span class="string">'ok change address'</span>)
+1304 
+1305 
+1306 <span class="comment">% --- Executes on button press in push_soft.</span>
+1307 <a name="_sub50" href="#_subfunctions" class="code">function push_soft_Callback(hObject, eventdata, handles)</a>
+1308 <span class="comment">% hObject    handle to push_soft (see GCBO)</span>
+1309 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1310 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1311 disp(<span class="string">'Ã§a marche !!'</span>)
+1312 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1313 
+1314 
+1315 
+1316 <a name="_sub51" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+1317 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1318 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1319 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1320 
+1321 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+1322 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+1323 
+1324 val_multishot = get(handles.on,<span class="string">'Value'</span>);
+1325 
+1326 <span class="keyword">if</span> val_multishot
+1327     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+1328     <span class="keyword">return</span>
+1329 <span class="keyword">else</span>
+1330     handles.periode = str2double(get(hObject,<span class="string">'String'</span>));
+1331 
+1332     <span class="comment">% change timer Infinite loop</span>
+1333     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+1334         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+1335     timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+1336     setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+1337 
+1338     <span class="comment">% Update handles structure</span>
+1339     guidata(hObject, handles);
+1340 <span class="keyword">end</span>
+1341 
+1342 
+1343 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1344 <a name="_sub52" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+1345 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1346 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1347 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1348 
+1349 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1350 <span class="comment">%       See ISPC and COMPUTER.</span>
+1351 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1352     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1353 <span class="keyword">end</span>
+1354 
+1355 <a name="_sub53" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+1356 
+1357 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1358 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1359 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1360 
+1361 timer1 = getappdata(handles.figure1,<span class="string">'Timer'</span>);
+1362 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+1363     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+1364         <span class="comment">% dÃ©marrage du trigger</span>
+1365         stop(timer1);
+1366        
+1367     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+1368         <span class="comment">% stop du trigger</span>
+1369         start(timer1);
+1370         
+1371 <span class="keyword">end</span>
+1372 
+1373 <a name="_sub54" href="#_subfunctions" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a>
+1374 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1375 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1376 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1377 
+1378 <span class="comment">%%  FONCTION ALEX</span>
+1379 disp(datestr(clock))
+1380 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1381 
+1382 
+1383 
+1384 
+1385 
+1386 
+1387 
+1388 <span class="comment">%% What to do before closing the application</span>
+1389 <a name="_sub55" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+1390 
+1391 <span class="comment">% Get default command line output from handles structure</span>
+1392 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+1393     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+1394     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+1395 
+1396 <span class="keyword">switch</span> answer
+1397     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+1398         delete(handles); <span class="comment">%Delete Timer</span>
+1399         delete(figure1); <span class="comment">%Close gui</span>
+1400     <span class="keyword">otherwise</span>
+1401         disp(<span class="string">'Closing aborted'</span>)
+1402 <span class="keyword">end</span>
+1403 
+1404 
+1405 
+1406 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+1407 <a name="_sub56" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+1408 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+1409 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1410 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1411 
+1412 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1413 <a href="step.html" class="code" title="">step</a>=temp.value(1)-0.52243;
+1414 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1415 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1416 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1417 
+1418 <span class="comment">%status soft checked on linac</span>
+1419 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1420 <span class="keyword">if</span> (temp.value(1)==2)
+1421    <span class="comment">%</span>
+1422 <span class="keyword">elseif</span> (temp.value(1)==5)
+1423     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1424     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1425     delay=dt.value(1)+inj_offset;
+1426     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1427     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1428     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1429 <span class="keyword">end</span>
+1430 
+1431 <span class="comment">% --- Executes on button press in button_softplus.</span>
+1432 <a name="_sub57" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+1433 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+1434 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1435 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1436 
+1437 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1438 <a href="step.html" class="code" title="">step</a>=temp.value(1)+0.52243;
+1439 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1440 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1441 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1442 
+1443 <span class="comment">%status soft checked on linac</span>
+1444 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1445 <span class="keyword">if</span> (temp.value(1)==2)
+1446    <span class="comment">%</span>
+1447 <span class="keyword">elseif</span> (temp.value(1)==5)
+1448     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1449     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1450     delay=dt.value(1)+inj_offset;
+1451     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1452     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1453     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1454 <span class="keyword">end</span>
+1455 
+1456 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+1457 <a name="_sub58" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+1458 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+1459 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1460 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1461 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1462 <a href="step.html" class="code" title="">step</a>=temp.value(1)-0.52243;
+1463 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1464 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1465 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1466 
+1467 <span class="comment">% --- Executes on button press in button_injplus.</span>
+1468 <a name="_sub59" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+1469 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+1470 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1471 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1472 
+1473 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1474 <a href="step.html" class="code" title="">step</a>=temp.value(1)+0.52243;
+1475 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1476 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1477 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1478 
+1479 
+1480 
+1481 <a name="_sub60" href="#_subfunctions" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a>
+1482 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1483 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1484 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1485 
+1486 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_dof as text</span>
+1487 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double</span>
+1488 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1489 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1490 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1491 
+1492 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1493 <a name="_sub61" href="#_subfunctions" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a>
+1494 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1495 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1496 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1497 
+1498 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1499 <span class="comment">%       See ISPC and COMPUTER.</span>
+1500 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1501     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1502 <span class="keyword">end</span>
+1503 
+1504 
+1505 
+1506 <a name="_sub62" href="#_subfunctions" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a>
+1507 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1508 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1509 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1510 
+1511 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text</span>
+1512 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double</span>
+1513 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1514 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1515 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1516 
+1517 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1518 <a name="_sub63" href="#_subfunctions" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1519 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1520 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1521 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1522 
+1523 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1524 <span class="comment">%       See ISPC and COMPUTER.</span>
+1525 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1526     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1527 <span class="keyword">end</span>
+1528 
+1529 
+1530 
+1531 <a name="_sub64" href="#_subfunctions" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a>
+1532 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1533 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1534 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1535 
+1536 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text</span>
+1537 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double</span>
+1538 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1539 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1540 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1541 
+1542 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1543 <a name="_sub65" href="#_subfunctions" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1544 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1545 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1546 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1547 
+1548 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1549 <span class="comment">%       See ISPC and COMPUTER.</span>
+1550 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1551     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1552 <span class="keyword">end</span>
+1553 
+1554 
+1555 
+1556 <a name="_sub66" href="#_subfunctions" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a>
+1557 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1558 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1559 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1560 
+1561 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text</span>
+1562 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double</span>
+1563 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1564 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1565 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1566 
+1567 
+1568 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1569 <a name="_sub67" href="#_subfunctions" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a>
+1570 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1571 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1572 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1573 
+1574 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1575 <span class="comment">%       See ISPC and COMPUTER.</span>
+1576 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1577     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1578 <span class="keyword">end</span>
+1579 
+1580 
+1581 
+1582 <a name="_sub68" href="#_subfunctions" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a>
+1583 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1584 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1585 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1586 
+1587 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text</span>
+1588 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double</span>
+1589 
+1590 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1591 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1592 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1593 
+1594 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1595 <a name="_sub69" href="#_subfunctions" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1596 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1597 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1598 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1599 
+1600 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1601 <span class="comment">%       See ISPC and COMPUTER.</span>
+1602 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1603     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1604 <span class="keyword">end</span>
+1605 
+1606 
+1607 
+1608 <a name="_sub70" href="#_subfunctions" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a>
+1609 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1610 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1611 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1612 
+1613 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text</span>
+1614 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double</span>
+1615 
+1616 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1617 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1618 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1619 
+1620 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1621 <a name="_sub71" href="#_subfunctions" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1622 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1623 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1624 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1625 
+1626 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1627 <span class="comment">%       See ISPC and COMPUTER.</span>
+1628 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1629     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1630 <span class="keyword">end</span>
+1631 
+1632 
+1633 
+1634 <a name="_sub72" href="#_subfunctions" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a>
+1635 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1636 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1637 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1638 
+1639 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text</span>
+1640 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double</span>
+1641 
+1642 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1643 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1644 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+1645 
+1646 
+1647 
+1648 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1649 <a name="_sub73" href="#_subfunctions" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a>
+1650 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1651 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1652 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1653 
+1654 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1655 <span class="comment">%       See ISPC and COMPUTER.</span>
+1656 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1657     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1658 <span class="keyword">end</span>
+1659 
+1660 
+1661 
+1662 <a name="_sub74" href="#_subfunctions" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a>
+1663 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1664 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1665 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1666 
+1667 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text</span>
+1668 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double</span>
+1669 
+1670 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1671 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1672 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+1673 
+1674 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1675 <a name="_sub75" href="#_subfunctions" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a>
+1676 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1677 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1678 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1679 
+1680 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1681 <span class="comment">%       See ISPC and COMPUTER.</span>
+1682 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1683     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1684 <span class="keyword">end</span>
+1685 
+1686 
+1687 
+1688 <a name="_sub76" href="#_subfunctions" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a>
+1689 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1690 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1691 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1692 
+1693 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text</span>
+1694 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double</span>
+1695 
+1696 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1697 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1698 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+1699 
+1700 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1701 <a name="_sub77" href="#_subfunctions" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a>
+1702 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1703 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1704 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1705 
+1706 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1707 <span class="comment">%       See ISPC and COMPUTER.</span>
+1708 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1709     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1710 <span class="keyword">end</span>
+1711 
+1712 
+1713 
+1714 <a name="_sub78" href="#_subfunctions" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a>
+1715 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1716 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1717 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1718 
+1719 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text</span>
+1720 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double</span>
+1721 
+1722 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1723 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1724 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+1725 
+1726 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1727 <a name="_sub79" href="#_subfunctions" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a>
+1728 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1729 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1730 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1731 
+1732 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1733 <span class="comment">%       See ISPC and COMPUTER.</span>
+1734 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1735     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1736 <span class="keyword">end</span>
+1737 
+1738 
+1739 
+1740 <a name="_sub80" href="#_subfunctions" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a>
+1741 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1742 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1743 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1744 
+1745 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_dcct as text</span>
+1746 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double</span>
+1747 
+1748 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1749 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1750 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,delay);
+1751 
+1752 
+1753 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1754 <a name="_sub81" href="#_subfunctions" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a>
+1755 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1756 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1757 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1758 
+1759 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1760 <span class="comment">%       See ISPC and COMPUTER.</span>
+1761 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1762     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1763 <span class="keyword">end</span>
+1764 
+1765 
+1766 
+1767 <a name="_sub82" href="#_subfunctions" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a>
+1768 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1769 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1770 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1771 
+1772 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm as text</span>
+1773 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double</span>
+1774 
+1775 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1776 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1777 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1778 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1779 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1780 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1781 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1782 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1783 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1784 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1785 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1786 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1787 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1788 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1789 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1790 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1791 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1792 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1793 
+1794 
+1795 
+1796 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1797 <a name="_sub83" href="#_subfunctions" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1798 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1799 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1800 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1801 
+1802 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1803 <span class="comment">%       See ISPC and COMPUTER.</span>
+1804 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1805     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1806 <span class="keyword">end</span>
+1807 
+1808 
+1809 
+1810 <a name="_sub84" href="#_subfunctions" class="code">function ext_address_Callback(hObject, eventdata, handles)</a>
+1811 <span class="comment">% hObject    handle to ext_address (see GCBO)</span>
+1812 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1813 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1814 
+1815 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_address as text</span>
+1816 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_address as a double</span>
+1817 <span class="comment">%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'</span>
+1818 
+1819 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1820 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,delay);
+1821 
+1822 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1823 <a name="_sub85" href="#_subfunctions" class="code">function ext_address_CreateFcn(hObject, eventdata, handles)</a>
+1824 <span class="comment">% hObject    handle to ext_address (see GCBO)</span>
+1825 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1826 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1827 
+1828 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1829 <span class="comment">%       See ISPC and COMPUTER.</span>
+1830 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1831     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1832 <span class="keyword">end</span>
+1833 
+1834 
+1835 
+1836 <a name="_sub86" href="#_subfunctions" class="code">function soft_address1_Callback(hObject, eventdata, handles)</a>
+1837 <span class="comment">% hObject    handle to soft_address1 (see GCBO)</span>
+1838 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1839 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1840 
+1841 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address1 as text</span>
+1842 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address1 as a double</span>
+1843 
+1844 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1845 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+1846 
+1847 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1848 clkinj=int32(temp.value(1)+52);
+1849 clkext=int32(temp.value(1)/52+2);
+1850 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+1851 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+1852 
+1853 <span class="comment">%status soft checked on linac</span>
+1854 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1855 <span class="keyword">if</span> (temp.value(1)==2)
+1856    <span class="comment">%</span>
+1857 <span class="keyword">elseif</span> (temp.value(1)==5)
+1858     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1859     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1860     delay=dt.value(1)+inj_offset;
+1861     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1862     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1863     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1864 <span class="keyword">end</span>
+1865 
+1866 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1867 <a name="_sub87" href="#_subfunctions" class="code">function soft_address1_CreateFcn(hObject, eventdata, handles)</a>
+1868 <span class="comment">% hObject    handle to soft_address1 (see GCBO)</span>
+1869 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1870 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1871 
+1872 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1873 <span class="comment">%       See ISPC and COMPUTER.</span>
+1874 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1875     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1876 <span class="keyword">end</span>
+1877 
+1878 
+1879 <span class="comment">% --- Executes on button press in radiobutton6.</span>
+1880 <a name="_sub88" href="#_subfunctions" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a>
+1881 <span class="comment">% hObject    handle to radiobutton6 (see GCBO)</span>
+1882 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1883 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1884 
+1885 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton6</span>
+1886 
+1887 
+1888 <span class="comment">% --- Executes on button press in pushbutton8.</span>
+1889 <a name="_sub89" href="#_subfunctions" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a>
+1890 <span class="comment">% hObject    handle to pushbutton8 (see GCBO)</span>
+1891 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1892 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1893 
+1894 
+1895 <span class="comment">% --- Executes on button press in pushbutton9.</span>
+1896 <a name="_sub90" href="#_subfunctions" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a>
+1897 <span class="comment">% hObject    handle to pushbutton9 (see GCBO)</span>
+1898 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1899 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1900 
+1901 
+1902 <span class="comment">% --- Executes on button press in button_extmoins.</span>
+1903 <a name="_sub91" href="#_subfunctions" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a>
+1904 <span class="comment">% hObject    handle to button_extmoins (see GCBO)</span>
+1905 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1906 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1907 
+1908 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1909 <a href="step.html" class="code" title="">step</a>=temp.value(1)-52*0.52243;
+1910 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+1911 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1912 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1913 
+1914 <span class="comment">% --- Executes on button press in button_extplus.</span>
+1915 <a name="_sub92" href="#_subfunctions" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a>
+1916 <span class="comment">% hObject    handle to button_extplus (see GCBO)</span>
+1917 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1918 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1919 
+1920 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1921 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1922 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+1923 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1924 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1925 
+1926 <a name="_sub93" href="#_subfunctions" class="code">function sdc2_Callback(hObject, eventdata, handles)</a>
+1927 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1928 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1929 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1930 
+1931 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc2 as text</span>
+1932 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc2 as a double</span>
+1933 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1934 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1935 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1936 
+1937 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1938 <a name="_sub94" href="#_subfunctions" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a>
+1939 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1940 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1941 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1942 
+1943 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1944 <span class="comment">%       See ISPC and COMPUTER.</span>
+1945 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1946     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1947 <span class="keyword">end</span>
+1948 
+1949 
+1950 
+1951 <a name="_sub95" href="#_subfunctions" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a>
+1952 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1953 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1954 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1955 
+1956 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_emittance as text</span>
+1957 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double</span>
+1958 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1959 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1960 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+1961 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1962 
+1963 
+1964 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1965 <a name="_sub96" href="#_subfunctions" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a>
+1966 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1967 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1968 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1969 
+1970 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1971 <span class="comment">%       See ISPC and COMPUTER.</span>
+1972 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1973     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1974 <span class="keyword">end</span>
+1975 
+1976 
+1977 
+1978 <a name="_sub97" href="#_subfunctions" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a>
+1979 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1980 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1981 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1982 
+1983 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_bpm as text</span>
+1984 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double</span>
+1985 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1986 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1987 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1988 
+1989 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1990 <a name="_sub98" href="#_subfunctions" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1991 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1992 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1993 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1994 
+1995 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1996 <span class="comment">%       See ISPC and COMPUTER.</span>
+1997 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1998     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1999 <span class="keyword">end</span>
+2000 
+2001 
+2002 
+2003 <a name="_sub99" href="#_subfunctions" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a>
+2004 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+2005 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2006 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2007 
+2008 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_osc as text</span>
+2009 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double</span>
+2010 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2011 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2012 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2013 
+2014 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2015 <a name="_sub100" href="#_subfunctions" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a>
+2016 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+2017 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2018 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2019 
+2020 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2021 <span class="comment">%       See ISPC and COMPUTER.</span>
+2022 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2023     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2024 <span class="keyword">end</span>
+2025 
+2026 
+2027 
+2028 <a name="_sub101" href="#_subfunctions" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a>
+2029 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+2030 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2031 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2032 
+2033 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_modulateur as text</span>
+2034 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_modulateur as a double</span>
+2035 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2036 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+2037 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2038 
+2039 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2040 <a name="_sub102" href="#_subfunctions" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a>
+2041 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+2042 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2043 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2044 
+2045 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2046 <span class="comment">%       See ISPC and COMPUTER.</span>
+2047 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2048     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2049 <span class="keyword">end</span>
+2050 
+2051 
+2052 
+2053 <a name="_sub103" href="#_subfunctions" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a>
+2054 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2055 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2056 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2057 
+2058 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_offset as text</span>
+2059 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_offset as a double</span>
+2060 
+2061 inj_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2062 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2063 save(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+2064 
+2065 <span class="comment">%LIN</span>
+2066 delay=str2double(get(handles.lin_canon,<span class="string">'String'</span>))+inj_offset;
+2067 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+2068 
+2069 delay=str2double(get(handles.lin_modulateur,<span class="string">'String'</span>))+inj_offset;
+2070 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2071 
+2072 delay=str2double(get(handles.sdc1,<span class="string">'String'</span>))+inj_offset;
+2073 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2074 
+2075 
+2076 <span class="comment">% LT1</span>
+2077 delay=str2double(get(handles.lt1_MC2,<span class="string">'String'</span>))+inj_offset;
+2078 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+2079 
+2080 delay=str2double(get(handles.lt1_MC1,<span class="string">'String'</span>))+inj_offset;
+2081 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+2082 
+2083 delay=str2double(get(handles.lt1_emittance,<span class="string">'String'</span>))+inj_offset;
+2084 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+2085 
+2086 delay=str2double(get(handles.lt1_osc,<span class="string">'String'</span>))+inj_offset;
+2087 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2088 
+2089 
+2090 <span class="comment">% BOO</span>
+2091 delay=str2double(get(handles.boo_inj_septum,<span class="string">'String'</span>))+inj_offset;
+2092 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2093 
+2094 delay=str2double(get(handles.boo_inj_kicker,<span class="string">'String'</span>))+inj_offset;
+2095 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2096 
+2097 delay=str2double(get(handles.boo_bpm,<span class="string">'String'</span>))+inj_offset;
+2098 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+2099 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+2100 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+2101 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+2102 
+2103 
+2104 delay=str2double(get(handles.boo_nod,<span class="string">'String'</span>))+inj_offset;
+2105 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+2106 
+2107 delay=str2double(get(handles.boo_dcct,<span class="string">'String'</span>))+inj_offset;
+2108 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+2109 
+2110 
+2111 
+2112 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2113 <a name="_sub104" href="#_subfunctions" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a>
+2114 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2115 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2116 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2117 
+2118 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2119 <span class="comment">%       See ISPC and COMPUTER.</span>
+2120 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2121     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2122 <span class="keyword">end</span>
+2123 
+2124 
+2125 
+2126 <a name="_sub105" href="#_subfunctions" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a>
+2127 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2128 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2129 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2130 
+2131 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_offset as text</span>
+2132 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_offset as a double</span>
+2133 
+2134 ext_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2135 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2136 save(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+2137 
+2138 <span class="comment">%BOO</span>
+2139 delay=str2double(get(handles.boo_ext_dof,<span class="string">'String'</span>))+ext_offset;
+2140 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+2141 
+2142 delay=str2double(get(handles.boo_ext_sept_p,<span class="string">'String'</span>))+ext_offset;
+2143 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2144 
+2145 delay=str2double(get(handles.boo_ext_sept_a,<span class="string">'String'</span>))+ext_offset;
+2146 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2147 
+2148 delay=str2double(get(handles.boo_ext_kicker,<span class="string">'String'</span>))+ext_offset;
+2149 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2150 
+2151 delay=str2double(get(handles.sdc2,<span class="string">'String'</span>))+ext_offset;
+2152 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2153 
+2154 <span class="comment">%LT2</span>
+2155 delay=str2double(get(handles.lt2_bpm,<span class="string">'String'</span>))+ext_offset;
+2156 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2157 
+2158 delay=str2double(get(handles.lt2_osc,<span class="string">'String'</span>))+ext_offset;
+2159 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2160 
+2161 delay=str2double(get(handles.lt2_emittance,<span class="string">'String'</span>))+ext_offset;
+2162 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2163 
+2164 <span class="comment">%ANS</span>
+2165 
+2166 delay=str2double(get(handles.ans_inj_sept_a,<span class="string">'String'</span>))+ext_offset;
+2167 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2168 
+2169 delay=str2double(get(handles.ans_inj_sept_p,<span class="string">'String'</span>))+ext_offset;
+2170 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2171 
+2172 delay=str2double(get(handles.ans_inj_k1,<span class="string">'String'</span>))+ext_offset;
+2173 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+2174 
+2175 delay=str2double(get(handles.ans_inj_k2,<span class="string">'String'</span>))+ext_offset;
+2176 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+2177 
+2178 delay=str2double(get(handles.ans_inj_k3,<span class="string">'String'</span>))+ext_offset;
+2179 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+2180 
+2181 delay=str2double(get(handles.ans_inj_k4,<span class="string">'String'</span>))+ext_offset;
+2182 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+2183 
+2184 
+2185 
+2186 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2187 <a name="_sub106" href="#_subfunctions" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a>
+2188 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2189 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2190 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2191 
+2192 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2193 <span class="comment">%       See ISPC and COMPUTER.</span>
+2194 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2195     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2196 <span class="keyword">end</span>
+2197 
+2198 
+2199 <span class="comment">% --- Executes on button press in Acquisition_address.</span>
+2200 <a name="_sub107" href="#_subfunctions" class="code">function Acquisition_address_Callback(hObject, eventdata, handles)</a>
+2201 <span class="comment">% hObject    handle to Acquisition_address (see GCBO)</span>
+2202 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2203 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2204 
+2205 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2206 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2207 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2208 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2209 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2210 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2211 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2212 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2213 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2214 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2215 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2216 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2217 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2218 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2219 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2220 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2221 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2222 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2223 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2224 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2225 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2226 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2227 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2228 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2229 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2230 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2231 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2232 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2233 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2234 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2235 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2236 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2237 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2238 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2239 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2240 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2241 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2242 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2243 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2244 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2245 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2246 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2247 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2248 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2249 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2250 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2251 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2252 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2253 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2254 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2255 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2256 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2257 
+2258 
+2259 
+2260 
+2261 
+2262 
+2263 
+2264 
+2265 
+2266 n=1;
+2267 
+2268 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+2269 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2270 
+2271 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+2272 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2273 
+2274 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+2275 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2276 
+2277 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2278 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2279 
+2280 
+2281 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+2282 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2283 
+2284 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+2285 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+2286 
+2287 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+2288 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2289 
+2290 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+2291 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2292 
+2293 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+2294 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2295 
+2296 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+2297 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2298 
+2299 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+2300 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2301 
+2302 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+2303 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2304 
+2305 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+2306 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+2307 
+2308 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2309 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+2310 
+2311 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+2312 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2313 
+2314 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+2315 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+2316 
+2317 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+2318 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2319 
+2320 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+2321 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2322 
+2323 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+2324 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2325 
+2326 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+2327 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2328 
+2329 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+2330 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2331 
+2332 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>);
+2333 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+2334 
+2335 
+2336 
+2337 
+2338 
+2339 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+2340 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+2341 
+2342 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2343 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2344 
+2345 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2346 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2347 
+2348 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+2349 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2350 
+2351 
+2352 
+2353 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+2354 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2355 
+2356 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>);
+2357 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2358 
+2359 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>);
+2360 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2361 
+2362 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2363 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2364 
+2365 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+2366 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2367 
+2368 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+2369 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2370 
+2371 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+2372 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+2373 
+2374 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+2375 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+2376 
+2377 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2378 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2379 
+2380 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2381 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2382 
+2383 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+2384 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2385 
+2386 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2387 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2388 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+2389 
+2390 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2391 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+2392 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2393 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+2394 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2395 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+2396 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2397 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+2398 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2399 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+2400 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2401 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+2402 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2403 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+2404 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2405 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+2406 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2407 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+2408 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2409 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+2410 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2411 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+2412 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2413 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+2414 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2415 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+2416 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2417 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+2418 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2419 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+2420 
+2421 
+2422 
+2423 <span class="comment">% --- Executes on button press in button_offinj_moins.</span>
+2424 <a name="_sub108" href="#_subfunctions" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a>
+2425 <span class="comment">% hObject    handle to button_offinj_moins (see GCBO)</span>
+2426 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2427 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2428 
+2429 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2430 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2431 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2432 <a href="#_sub103" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2433 
+2434 <span class="comment">% --- Executes on button press in button_offinj_plus.</span>
+2435 <a name="_sub109" href="#_subfunctions" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a>
+2436 <span class="comment">% hObject    handle to button_offinj_plus (see GCBO)</span>
+2437 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2438 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2439 
+2440 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2441 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2442 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2443 <a href="#_sub103" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2444 
+2445 <span class="comment">% --- Executes on button press in button_offext_moins.</span>
+2446 <a name="_sub110" href="#_subfunctions" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a>
+2447 <span class="comment">% hObject    handle to button_offext_moins (see GCBO)</span>
+2448 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2449 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2450 
+2451 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2452 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2453 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2454 <a href="#_sub105" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2455 
+2456 <span class="comment">% --- Executes on button press in button_offext_plus.</span>
+2457 <a name="_sub111" href="#_subfunctions" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a>
+2458 <span class="comment">% hObject    handle to button_offext_plus (see GCBO)</span>
+2459 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2460 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2461 
+2462 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2463 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2464 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2465 <a href="#_sub105" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2466 
+2467 
+2468 <span class="comment">% --- Executes on button press in button_bpm.</span>
+2469 <a name="_sub112" href="#_subfunctions" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a>
+2470 <span class="comment">% hObject    handle to button_bpm (see GCBO)</span>
+2471 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2472 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2473 
+2474 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_bpm</span>
+2475 
+2476 bpm=get(hObject,<span class="string">'Value'</span>);
+2477 
+2478 <span class="keyword">if</span> (bpm==0)
+2479    set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+2480 <span class="keyword">elseif</span> (bpm==1)
+2481     set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+2482 <span class="keyword">end</span>
+2483 
+2484 
+2485 
+2486 <a name="_sub113" href="#_subfunctions" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a>
+2487 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2488 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2489 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2490 
+2491 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text</span>
+2492 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double</span>
+2493 
+2494 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2495 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2496 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2497 
+2498 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2499 <a name="_sub114" href="#_subfunctions" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a>
+2500 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2501 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2502 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2503 
+2504 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2505 <span class="comment">%       See ISPC and COMPUTER.</span>
+2506 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2507     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2508 <span class="keyword">end</span>
+2509 
+2510 
+2511 <a name="_sub115" href="#_subfunctions" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a>
+2512 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2513 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2514 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2515 
+2516 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text</span>
+2517 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double</span>
+2518 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2519 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2520 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2521 
+2522 
+2523 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2524 <a name="_sub116" href="#_subfunctions" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a>
+2525 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2526 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2527 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2528 
+2529 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2530 <span class="comment">%       See ISPC and COMPUTER.</span>
+2531 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2532     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2533 <span class="keyword">end</span>
+2534 
+2535 
+2536 
+2537 <a name="_sub117" href="#_subfunctions" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a>
+2538 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2539 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2540 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2541 
+2542 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text</span>
+2543 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double</span>
+2544 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2545 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2546 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2547 
+2548 
+2549 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2550 <a name="_sub118" href="#_subfunctions" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a>
+2551 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2552 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2553 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2554 
+2555 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2556 <span class="comment">%       See ISPC and COMPUTER.</span>
+2557 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2558     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2559 <span class="keyword">end</span>
+2560 
+2561 
+2562 
+2563 <a name="_sub119" href="#_subfunctions" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a>
+2564 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2565 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2566 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2567 
+2568 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text</span>
+2569 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double</span>
+2570 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2571 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2572 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2573 
+2574 
+2575 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2576 <a name="_sub120" href="#_subfunctions" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a>
+2577 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2578 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2579 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2580 
+2581 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2582 <span class="comment">%       See ISPC and COMPUTER.</span>
+2583 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2584     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2585 <span class="keyword">end</span>
+2586 
+2587 
+2588 
+2589 <a name="_sub121" href="#_subfunctions" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a>
+2590 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2591 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2592 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2593 
+2594 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text</span>
+2595 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double</span>
+2596 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2597 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2598 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2599 
+2600 
+2601 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2602 <a name="_sub122" href="#_subfunctions" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a>
+2603 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2604 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2605 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2606 
+2607 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2608 <span class="comment">%       See ISPC and COMPUTER.</span>
+2609 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2610     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2611 <span class="keyword">end</span>
+2612 
+2613 
+2614 
+2615 <a name="_sub123" href="#_subfunctions" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a>
+2616 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2617 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2618 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2619 
+2620 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text</span>
+2621 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double</span>
+2622 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2623 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2624 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2625 
+2626 
+2627 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2628 <a name="_sub124" href="#_subfunctions" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a>
+2629 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2630 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2631 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2632 
+2633 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2634 <span class="comment">%       See ISPC and COMPUTER.</span>
+2635 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2636     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2637 <span class="keyword">end</span>
+2638 
+2639 
+2640 
+2641 <a name="_sub125" href="#_subfunctions" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a>
+2642 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2643 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2644 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2645 
+2646 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text</span>
+2647 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double</span>
+2648 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2649 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2650 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2651 
+2652 
+2653 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2654 <a name="_sub126" href="#_subfunctions" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a>
+2655 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2656 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2657 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2658 
+2659 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2660 <span class="comment">%       See ISPC and COMPUTER.</span>
+2661 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2662     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2663 <span class="keyword">end</span>
+2664 
+2665 
+2666 
+2667 <a name="_sub127" href="#_subfunctions" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a>
+2668 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2669 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2670 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2671 
+2672 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text</span>
+2673 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double</span>
+2674 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2675 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2676 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2677 
+2678 
+2679 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2680 <a name="_sub128" href="#_subfunctions" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a>
+2681 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2682 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2683 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2684 
+2685 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2686 <span class="comment">%       See ISPC and COMPUTER.</span>
+2687 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2688     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2689 <span class="keyword">end</span>
+2690 
+2691 
+2692 
+2693 <a name="_sub129" href="#_subfunctions" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a>
+2694 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2695 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2696 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2697 
+2698 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text</span>
+2699 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double</span>
+2700 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2701 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2702 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2703 
+2704 
+2705 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2706 <a name="_sub130" href="#_subfunctions" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a>
+2707 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2708 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2709 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2710 
+2711 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2712 <span class="comment">%       See ISPC and COMPUTER.</span>
+2713 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2714     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2715 <span class="keyword">end</span>
+2716 
+2717 
+2718 
+2719 <a name="_sub131" href="#_subfunctions" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a>
+2720 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2721 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2722 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2723 
+2724 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text</span>
+2725 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double</span>
+2726 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2727 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2728 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2729 
+2730 
+2731 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2732 <a name="_sub132" href="#_subfunctions" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a>
+2733 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2734 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2735 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2736 
+2737 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2738 <span class="comment">%       See ISPC and COMPUTER.</span>
+2739 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2740     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2741 <span class="keyword">end</span>
+2742 
+2743 
+2744 
+2745 <a name="_sub133" href="#_subfunctions" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a>
+2746 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2747 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2748 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2749 
+2750 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text</span>
+2751 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double</span>
+2752 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2753 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2754 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2755 
+2756 
+2757 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2758 <a name="_sub134" href="#_subfunctions" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a>
+2759 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2760 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2761 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2762 
+2763 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2764 <span class="comment">%       See ISPC and COMPUTER.</span>
+2765 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2766     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2767 <span class="keyword">end</span>
+2768 
+2769 
+2770 
+2771 <a name="_sub135" href="#_subfunctions" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a>
+2772 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2773 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2774 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2775 
+2776 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text</span>
+2777 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double</span>
+2778 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2779 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2780 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2781 
+2782 
+2783 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2784 <a name="_sub136" href="#_subfunctions" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a>
+2785 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2786 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2787 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2788 
+2789 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2790 <span class="comment">%       See ISPC and COMPUTER.</span>
+2791 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2792     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2793 <span class="keyword">end</span>
+2794 
+2795 
+2796 
+2797 <a name="_sub137" href="#_subfunctions" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a>
+2798 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2799 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2800 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2801 
+2802 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text</span>
+2803 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double</span>
+2804 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2805 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2806 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2807 
+2808 
+2809 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2810 <a name="_sub138" href="#_subfunctions" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a>
+2811 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2812 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2813 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2814 
+2815 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2816 <span class="comment">%       See ISPC and COMPUTER.</span>
+2817 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2818     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2819 <span class="keyword">end</span>
+2820 
+2821 
+2822 
+2823 <a name="_sub139" href="#_subfunctions" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a>
+2824 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2825 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2826 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2827 
+2828 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text</span>
+2829 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double</span>
+2830 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2831 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2832 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2833 
+2834 
+2835 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2836 <a name="_sub140" href="#_subfunctions" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a>
+2837 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2838 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2839 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2840 
+2841 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2842 <span class="comment">%       See ISPC and COMPUTER.</span>
+2843 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2844     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2845 <span class="keyword">end</span>
+2846 
+2847 
+2848 
+2849 <a name="_sub141" href="#_subfunctions" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a>
+2850 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2851 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2852 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2853 
+2854 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text</span>
+2855 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double</span>
+2856 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2857 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2858 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2859 
+2860 
+2861 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2862 <a name="_sub142" href="#_subfunctions" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a>
+2863 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2864 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2865 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2866 
+2867 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2868 <span class="comment">%       See ISPC and COMPUTER.</span>
+2869 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2870     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2871 <span class="keyword">end</span>
+2872 
+2873 
+2874 
+2875 <a name="_sub143" href="#_subfunctions" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a>
+2876 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2877 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2878 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2879 
+2880 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text</span>
+2881 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double</span>
+2882 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2883 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2884 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2885 
+2886 
+2887 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2888 <a name="_sub144" href="#_subfunctions" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a>
+2889 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2890 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2891 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2892 
+2893 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2894 <span class="comment">%       See ISPC and COMPUTER.</span>
+2895 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2896     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2897 <span class="keyword">end</span>
+2898 
+2899 
+2900 <span class="comment">% --- Executes on button press in button_filling_soft_14.</span>
+2901 <a name="_sub145" href="#_subfunctions" class="code">function button_filling_14_Callback(hObject, eventdata, handles)</a>
+2902 <span class="comment">% hObject    handle to button_filling_soft_14 (see GCBO)</span>
+2903 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2904 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2905 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2906 offset=temp.value(1)*52;
+2907 bunch=[1];
+2908 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2909 table=int32([length(bunch) dtour dpaquet]);
+2910 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+2911 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2912 n=temp.value;
+2913 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2914 table=temp.value(1:n)-offset;
+2915 handles.mode=<span class="string">'Mode=1/4'</span>;
+2916 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);
+2917 set(handles.edit_filling_relecture_bunch,<span class="string">'String'</span>,[handles.mode, <span class="string">'  B='</span> , num2str(bunch)]);
+2918 guidata(hObject, handles);
+2919 
+2920 <span class="comment">% --- Executes on button press in button_filling_soft_24.</span>
+2921 <a name="_sub146" href="#_subfunctions" class="code">function button_filling_24_Callback(hObject, eventdata, handles)</a>
+2922 <span class="comment">% hObject    handle to button_filling_soft_24 (see GCBO)</span>
+2923 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2924 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2925 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2926 offset=temp.value(1)*52;
+2927 bunch=[1 105];
+2928 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2929 table=int32([length(bunch) dtour dpaquet]);
+2930 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+2931 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2932 n=temp.value;
+2933 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2934 table=temp.value(1:n)-offset;
+2935 handles.mode=<span class="string">'Mode=1/2'</span>;
+2936 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);
+2937 set(handles.edit_filling_relecture_bunch,<span class="string">'String'</span>,[handles.mode, <span class="string">'  B='</span> , num2str(bunch)]);
+2938 guidata(hObject, handles);
+2939 
+2940 <span class="comment">% --- Executes on button press in button_filling_34.</span>
+2941 <a name="_sub147" href="#_subfunctions" class="code">function button_filling_34_Callback(hObject, eventdata, handles)</a>
+2942 <span class="comment">% hObject    handle to button_filling_34 (see GCBO)</span>
+2943 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2944 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2945 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2946 offset=temp.value(1)*52;
+2947 bunch=[1 105 209];
+2948 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2949 table=int32([length(bunch) dtour dpaquet]);
+2950 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+2951 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2952 n=temp.value;
+2953 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2954 table=temp.value(1:n)-offset;
+2955 handles.mode=<span class="string">'Mode=3/4'</span>;
+2956 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);
+2957 set(handles.edit_filling_relecture_bunch,<span class="string">'String'</span>,[handles.mode, <span class="string">'  B='</span> , num2str(bunch)]);
+2958 guidata(hObject, handles);
+2959 
+2960 <span class="comment">% --- Executes on button press in button_filling_11.</span>
+2961 <a name="_sub148" href="#_subfunctions" class="code">function button_filling_11_Callback(hObject, eventdata, handles)</a>
+2962 <span class="comment">% hObject    handle to button_filling_11 (see GCBO)</span>
+2963 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2964 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2965 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2966 offset=temp.value(1)*52;
+2967 bunch=[1 105 209 313];
+2968 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2969 table=int32([length(bunch) dtour dpaquet]);
+2970 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+2971 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2972 n=temp.value;
+2973 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2974 table=temp.value(1:n)-offset;
+2975 handles.mode=<span class="string">'Mode=100%'</span>;
+2976 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[handles.mode, <span class="string">'  T='</span> , num2str(table)]);
+2977 set(handles.edit_filling_relecture_bunch,<span class="string">'String'</span>,[handles.mode, <span class="string">'  B='</span> , num2str(bunch)]);
+2978 guidata(hObject, handles);
+2979 
+2980 
+2981 <a name="_sub149" href="#_subfunctions" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a>
+2982 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+2983 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2984 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2985 
+2986 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text</span>
+2987 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double</span>
+2988 
+2989 
+2990 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2991 <a name="_sub150" href="#_subfunctions" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a>
+2992 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+2993 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2994 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2995 
+2996 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2997 <span class="comment">%       See ISPC and COMPUTER.</span>
+2998 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2999     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3000 <span class="keyword">end</span>
+3001 
+3002 
+3003 
+3004 <a name="_sub151" href="#_subfunctions" class="code">function edit72_Callback(hObject, eventdata, handles)</a>
+3005 <span class="comment">% hObject    handle to edit72 (see GCBO)</span>
+3006 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3007 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3008 
+3009 <span class="comment">% Hints: get(hObject,'String') returns contents of edit72 as text</span>
+3010 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit72 as a double</span>
+3011 
+3012 
+3013 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3014 <a name="_sub152" href="#_subfunctions" class="code">function edit72_CreateFcn(hObject, eventdata, handles)</a>
+3015 <span class="comment">% hObject    handle to edit72 (see GCBO)</span>
+3016 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3017 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3018 
+3019 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3020 <span class="comment">%       See ISPC and COMPUTER.</span>
+3021 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3022     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3023 <span class="keyword">end</span>
+3024 
+3025 
+3026 
+3027 <a name="_sub153" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a>
+3028 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+3029 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3030 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3031 
+3032 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text</span>
+3033 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double</span>
+3034 
+3035 
+3036 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3037 <a name="_sub154" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a>
+3038 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+3039 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3040 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3041 
+3042 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3043 <span class="comment">%       See ISPC and COMPUTER.</span>
+3044 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3045     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3046 <span class="keyword">end</span>
+3047 
+3048 
+3049 
+3050 <a name="_sub155" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a>
+3051 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+3052 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3053 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3054 
+3055 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text</span>
+3056 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double</span>
+3057 
+3058 
+3059 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3060 <a name="_sub156" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a>
+3061 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+3062 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3063 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3064 
+3065 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3066 <span class="comment">%       See ISPC and COMPUTER.</span>
+3067 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3068     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3069 <span class="keyword">end</span>
+3070 
+3071 
+3072 <span class="comment">% --- Executes on button press in button_update.</span>
+3073 <a name="_sub157" href="#_subfunctions" class="code">function button_update_Callback(hObject, eventdata, handles)</a>
+3074 <span class="comment">% hObject    handle to button_update (see GCBO)</span>
+3075 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3076 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3077 
+3078 vect=[];
+3079 
+3080 r=tango_command_inout2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Update'</span>);vect=[vect r]; 
+3081 r=tango_command_inout2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>,<span class="string">'Update'</span>);vect=[vect r];
+3082 
+3083 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>); vect=[vect r];    
+3084 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Update'</span>); vect=[vect r];
+3085 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Update'</span>);  vect=[vect r];     
+3086 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>); vect=[vect r];
+3087 
+3088 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>); vect=[vect r];
+3089 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>); vect=[vect r];
+3090 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>); vect=[vect r];
+3091 r=tango_command_inout2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); vect=[vect r];
+3092 r=tango_command_inout2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); vect=[vect r];
+3093 r=tango_command_inout2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>); vect=[vect r];
+3094 r=tango_command_inout2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); vect=[vect r];
+3095 r=tango_command_inout2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);  vect=[vect r]; 
+3096 r=tango_command_inout2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);  vect=[vect r]; 
+3097 r=tango_command_inout2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);  vect=[vect r]; 
+3098 
+3099 retour_command=vect
+3100 
+3101 <span class="comment">% --- Executes on button press in button_trigstatus.</span>
+3102 <a name="_sub158" href="#_subfunctions" class="code">function button_trigstatus_Callback(hObject, eventdata, handles)</a>
+3103 <span class="comment">% hObject    handle to button_trigstatus (see GCBO)</span>
+3104 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3105 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3106 
+3107 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3108 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3109 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3110 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3111 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3112 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3113 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3114 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3115 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3116 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3117 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3118 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3119 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3120 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3121 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3122 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3123 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3124 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3125 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3126 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3127 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3128 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3129 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3130 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3131 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3132 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3133 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3134 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3135 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3136 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3137 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3138 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3139 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3140 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3141 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3142 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3143 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3144 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3145 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3146 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3147 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3148 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3149 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3150 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3151 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3152 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3153 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3154 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3155 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3156 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3157 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3158 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3159 
+3160 
+3161 
+3162 
+3163 
+3164 
+3165 
+3166 
+3167 
+3168 n=1;
+3169 
+3170 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+3171 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3172 
+3173 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+3174 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3175 
+3176 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+3177 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3178 
+3179 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+3180 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3181 
+3182 
+3183 
+3184 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3185 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3186 
+3187 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTrigStatus'</span>);
+3188 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+3189 
+3190 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTrigStatus'</span>);
+3191 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3192 
+3193 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTrigStatus'</span>);
+3194 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3195 
+3196 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TrigStatus'</span>);
+3197 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3198 
+3199 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TrigStatus'</span>);
+3200 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3201 
+3202 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3203 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3204 
+3205 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTrigStatus'</span>);
+3206 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3207 
+3208 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTrigStatus'</span>);
+3209 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+3210 
+3211 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3212 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+3213 
+3214 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3215 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3216 
+3217 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTrigStatus'</span>);
+3218 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+3219 
+3220 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTrigStatus'</span>);
+3221 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3222 
+3223 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTrigStatus'</span>);
+3224 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3225 
+3226 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTrigStatus'</span>);
+3227 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3228 
+3229 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTrigStatus'</span>);
+3230 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3231 
+3232 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTrigStatus'</span>);
+3233 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3234 
+3235 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3236 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+3237 
+3238 
+3239 
+3240 
+3241 
+3242 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTrigStatus'</span>);
+3243 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+3244 
+3245 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3246 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3247 
+3248 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3249 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3250 
+3251 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3252 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3253 
+3254 
+3255 
+3256 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3257 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3258 
+3259 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTrigStatus'</span>);
+3260 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3261 
+3262 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTrigStatus'</span>);
+3263 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3264 
+3265 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3266 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3267 
+3268 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTrigStatus'</span>);
+3269 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3270 
+3271 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTrigStatus'</span>);
+3272 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3273 
+3274 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTrigStatus'</span>);
+3275 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+3276 
+3277 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTrigStatus'</span>);
+3278 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+3279 
+3280 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3281 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3282 
+3283 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3284 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3285 
+3286 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTrigStatus'</span>);
+3287 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3288 
+3289 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3290 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3291 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+3292 
+3293 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3294 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+3295 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3296 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+3297 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3298 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+3299 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3300 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+3301 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3302 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+3303 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3304 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+3305 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3306 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+3307 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3308 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+3309 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3310 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+3311 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3312 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+3313 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3314 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+3315 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3316 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+3317 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3318 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+3319 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3320 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+3321 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3322 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+3323 
+3324 
+3325 <span class="comment">% --- Executes on button press in button_filling_16.</span>
+3326 <a name="_sub159" href="#_subfunctions" class="code">function button_filling_16_Callback(hObject, eventdata, handles)</a>
+3327 <span class="comment">% hObject    handle to button_filling_16 (see GCBO)</span>
+3328 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3329 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3330 
+3331 
+3332 <span class="comment">% --- Executes on button press in button_filling_26.</span>
+3333 <a name="_sub160" href="#_subfunctions" class="code">function button_filling_26_Callback(hObject, eventdata, handles)</a>
+3334 <span class="comment">% hObject    handle to button_filling_26 (see GCBO)</span>
+3335 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3336 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3337 
+3338 
+3339 <span class="comment">% --- Executes on button press in button_filling_36.</span>
+3340 <a name="_sub161" href="#_subfunctions" class="code">function button_filling_36_Callback(hObject, eventdata, handles)</a>
+3341 <span class="comment">% hObject    handle to button_filling_36 (see GCBO)</span>
+3342 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3343 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3344 
+3345 
+3346 <span class="comment">% --- Executes on button press in button_filling_46.</span>
+3347 <a name="_sub162" href="#_subfunctions" class="code">function button_filling_46_Callback(hObject, eventdata, handles)</a>
+3348 <span class="comment">% hObject    handle to button_filling_46 (see GCBO)</span>
+3349 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3350 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3351 
+3352 
+3353 <span class="comment">% --- Executes on button press in button_filling_15.</span>
+3354 <a name="_sub163" href="#_subfunctions" class="code">function button_filling_15_Callback(hObject, eventdata, handles)</a>
+3355 <span class="comment">% hObject    handle to button_filling_15 (see GCBO)</span>
+3356 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3357 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3358 
+3359 
+3360 <span class="comment">% --- Executes on button press in button_filling_25.</span>
+3361 <a name="_sub164" href="#_subfunctions" class="code">function button_filling_25_Callback(hObject, eventdata, handles)</a>
+3362 <span class="comment">% hObject    handle to button_filling_25 (see GCBO)</span>
+3363 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3364 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3365 
+3366 
+3367 <span class="comment">% --- Executes on button press in button_filling_35.</span>
+3368 <a name="_sub165" href="#_subfunctions" class="code">function button_filling_35_Callback(hObject, eventdata, handles)</a>
+3369 <span class="comment">% hObject    handle to button_filling_35 (see GCBO)</span>
+3370 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3371 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3372 
+3373 
+3374 <span class="comment">% --- Executes on button press in button_filling_45.</span>
+3375 <a name="_sub166" href="#_subfunctions" class="code">function button_filling_45_Callback(hObject, eventdata, handles)</a>
+3376 <span class="comment">% hObject    handle to button_filling_45 (see GCBO)</span>
+3377 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3378 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3379 
+3380 
+3381 <span class="comment">% --- Executes on button press in button_filling_55.</span>
+3382 <a name="_sub167" href="#_subfunctions" class="code">function button_filling_55_Callback(hObject, eventdata, handles)</a>
+3383 <span class="comment">% hObject    handle to button_filling_55 (see GCBO)</span>
+3384 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3385 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3386 
+3387 
+3388 <span class="comment">% --- Executes on button press in button_filling_56.</span>
+3389 <a name="_sub168" href="#_subfunctions" class="code">function button_filling_56_Callback(hObject, eventdata, handles)</a>
+3390 <span class="comment">% hObject    handle to button_filling_56 (see GCBO)</span>
+3391 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3392 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3393 
+3394 
+3395 <span class="comment">% --- Executes on button press in button_filling_66.</span>
+3396 <a name="_sub169" href="#_subfunctions" class="code">function button_filling_66_Callback(hObject, eventdata, handles)</a>
+3397 <span class="comment">% hObject    handle to button_filling_66 (see GCBO)</span>
+3398 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3399 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3400 
+3401 
+3402 <span class="comment">% --- Executes on button press in togglebutton2.</span>
+3403 <a name="_sub170" href="#_subfunctions" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a>
+3404 <span class="comment">% hObject    handle to togglebutton2 (see GCBO)</span>
+3405 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3406 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3407 
+3408 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of togglebutton2</span>
+3409 
+3410 
+3411 <span class="comment">% --- Executes on button press in button_fix_14.</span>
+3412 <a name="_sub171" href="#_subfunctions" class="code">function button_fix_14_Callback(hObject, eventdata, handles)</a>
+3413 <span class="comment">% hObject    handle to button_fix_14 (see GCBO)</span>
+3414 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3415 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3416 n=1;
+3417 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);
+3418 clk1=temp.value(n);
+3419 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+3420 clk2=temp.value(n);
+3421 
+3422 jump=int32([0 13 26 39]);
+3423 handles.clk_pc  =jump +  int32(clk1);
+3424 handles.clk_soft=jump  + int32(clk2);
+3425 
+3426 guidata(hObject, handles);
+3427 
+3428 
+3429 <a name="_sub172" href="#_subfunctions" class="code">function filling_soft_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3430 <span class="comment">% hObject    handle to unitgroup (see GCBO)</span>
+3431 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3432 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3433 
+3434 cas=get(hObject,<span class="string">'Tag'</span>);
+3435 <span class="keyword">if</span>    (cas == <span class="string">'filling_soft_14'</span>)
+3436     display(<span class="string">'OK quart 1'</span>)
+3437     clk1=handles.clk_pc(1);
+3438     clk2=handles.clk_soft(1);
+3439     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+3440     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+3441 <span class="keyword">elseif</span>(cas == <span class="string">'filling_soft_24'</span>)
+3442     display(<span class="string">'OK quart 2'</span>)  
+3443     clk1=handles.clk_pc(2);
+3444     clk2=handles.clk_soft(2);    
+3445     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+3446     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+3447 <span class="keyword">elseif</span>(cas == <span class="string">'filling_soft_34'</span>)
+3448     display(<span class="string">'OK quart 3'</span>)  
+3449     clk1=handles.clk_pc(3);
+3450     clk2=handles.clk_soft(3);    
+3451     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+3452     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+3453 <span class="keyword">elseif</span>(cas == <span class="string">'filling_soft_44'</span>)
+3454     display(<span class="string">'OK quart 4'</span>)     
+3455     clk1=handles.clk_pc(4);
+3456     clk2=handles.clk_soft(4) ;   
+3457     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+3458     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+3459 <span class="keyword">end</span>
+3460 
+3461 
+3462 
+3463</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur5.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur5.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur5.html	(revision 17)
@@ -0,0 +1,3766 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur5</title>
+  <meta name="keywords" content="synchro_injecteur5">
+  <meta name="description" content="SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur5.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur5
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur5(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig
+      SYNCHRO_INJECTEUR5, by itself, creates a new SYNCHRO_INJECTEUR5 or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR5 returns the handle to a new SYNCHRO_INJECTEUR5 or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR5('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR5.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR5('Property','Value',...) creates a new SYNCHRO_INJECTEUR5 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur5_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur5_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li><li><a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>	fix premier quart</li><li><a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>	calcul efficacitÃ©</li><li><a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>	retour update</li><li><a href="start_3Hz.html" class="code" title="function start_3Hz(event)">start_3Hz</a>	test 3Hz</li><li><a href="start_soft.html" class="code" title="function start_soft">start_soft</a>	test 3Hz</li><li><a href="step.html" class="code" title="">step</a>	reglage delta tune Ã  110 MeV</li><li><a href="stop_3Hz.html" class="code" title="function stop_3Hz">stop_3Hz</a>	test 3Hz</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur5_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur5_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function alim_dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function alim_dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function alim_qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function alim_qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function alim_qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function alim_qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function alim_sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function alim_sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function alim_sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function alim_sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function lin_canon_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function lin_canon_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function boo_hall_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function boo_hall_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function pc_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function inj_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function edit21_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function soft_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function soft_button_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function push_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub54" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub55" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub56" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function ext_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function ext_address_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function soft_address1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function soft_address1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function sdc2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub107" class="code">function Acquisition_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub108" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub109" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub110" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub111" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub112" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub113" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub114" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub115" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub116" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub117" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub118" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub119" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub120" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub121" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub122" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub123" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub124" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub125" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub126" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub127" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub128" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub129" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub130" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub131" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub132" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub133" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub134" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub135" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub136" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub137" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub138" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub139" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub140" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub141" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub142" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub143" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub144" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub145" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub146" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub147" class="code">function edit72_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub148" class="code">function edit72_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub149" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub150" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub151" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub152" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub153" class="code">function button_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub154" class="code">function button_trigstatus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub155" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub156" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub157" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub158" class="code">function button_fix_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub159" class="code">function edit_Nshot_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub160" class="code">function edit_Nshot_soft_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub161" class="code">function edit_laps_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub162" class="code">function edit_laps_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub163" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub164" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub165" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub166" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub167" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub168" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub169" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub170" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub171" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub172" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub173" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub174" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub175" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub176" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub177" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub178" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub179" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub180" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur5(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR5 M-file for synchro_injecteur5.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR5, by itself, creates a new SYNCHRO_INJECTEUR5 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR5 returns the handle to a new SYNCHRO_INJECTEUR5 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR5('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR5.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR5('Property','Value',...) creates a new SYNCHRO_INJECTEUR5 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur5_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur5_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur5</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 14-Oct-2006 21:06:26</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur5_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur5_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur5_OutputFcn(hObject, eventdata, handles)">synchro_injecteur5_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_injecteur5 is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur5_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_injecteur5 (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_injecteur5</span>
+0056 handles.output = hObject;
+0057 load(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>);
+0058 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0059 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0060 
+0061 <span class="comment">% periode du trigger par defaut = 4/3</span>
+0062 handles.periode = 10;
+0063 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0064 set(handles.edit_Nshot_soft,<span class="string">'String'</span>,num2str(1));
+0065 set(handles.edit_laps,<span class="string">'String'</span>,1.0);
+0066 
+0067 <span class="comment">%Mode</span>
+0068 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);
+0069 clk1=temp.value(1);
+0070 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0071 clk2=temp.value(1);
+0072 jump=int32([0 39 26 13]);
+0073 handles.clk_pc  =jump +  int32(clk1);
+0074 handles.clk_soft=jump  + int32(clk2);
+0075 handles.quart=1;
+0076 
+0077 handles.mode = <span class="string">'Mode=???'</span>;
+0078 set(handles.edit_filling_relecture_tables,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0079 set(handles.edit_filling_relecture_bunch,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0080 
+0081 set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0082 
+0083 <span class="comment">% Creates timer Infinite loop</span>
+0084 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0085     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0086 timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+0087 setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+0088 
+0089 <span class="comment">% button group sur on/off timer du trigger</span>
+0090 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.1485 0.29 0.10 0.12],<span class="keyword">...</span>
+0091     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0092     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0093 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0094     <span class="string">'pos'</span>,[45 20 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0095     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0096 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">'ON'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0097     <span class="string">'pos'</span>,[45 50 40 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0098     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0099 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0100     {@<a href="#_sub53" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0101 
+0102 handles.off = u1;
+0103 handles.on = u2;
+0104 
+0105 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0106 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0107 
+0108 <span class="comment">%% Set closing gui function</span>
+0109 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub55" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0110 
+0111 
+0112 
+0113 <span class="comment">% Update handles structure</span>
+0114 guidata(hObject, handles);
+0115 
+0116 <span class="comment">% UIWAIT makes synchro_injecteur5 wait for user response (see UIRESUME)</span>
+0117 <span class="comment">% uiwait(handles.figure1);</span>
+0118 
+0119 
+0120 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0121 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur5_OutputFcn(hObject, eventdata, handles) </a>
+0122 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0123 <span class="comment">% hObject    handle to figure</span>
+0124 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0125 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0126 
+0127 <span class="comment">% Get default command line output from handles structure</span>
+0128 varargout{1} = handles.output;
+0129 
+0130 
+0131 
+0132 <a name="_sub3" href="#_subfunctions" class="code">function alim_dipole_Callback(hObject, eventdata, handles)</a>
+0133 <span class="comment">% hObject    handle to alim_dipole (see GCBO)</span>
+0134 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0135 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0136 
+0137 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_dipole as text</span>
+0138 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_dipole as a double</span>
+0139 h=gcf
+0140 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0141 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0142 
+0143 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0144 <a name="_sub4" href="#_subfunctions" class="code">function alim_dipole_CreateFcn(hObject, eventdata, handles)</a>
+0145 <span class="comment">% hObject    handle to alim_dipole (see GCBO)</span>
+0146 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0147 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0148 
+0149 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0150 <span class="comment">%       See ISPC and COMPUTER.</span>
+0151 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0152     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0153 <span class="keyword">end</span>
+0154 
+0155 
+0156 <a name="_sub5" href="#_subfunctions" class="code">function alim_qf_Callback(hObject, eventdata, handles)</a>
+0157 <span class="comment">% hObject    handle to alim_qf (see GCBO)</span>
+0158 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0159 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0160 
+0161 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_qf as text</span>
+0162 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_qf as a double</span>
+0163 
+0164 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0165 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0166 
+0167 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0168 <a name="_sub6" href="#_subfunctions" class="code">function alim_qf_CreateFcn(hObject, eventdata, handles)</a>
+0169 <span class="comment">% hObject    handle to alim_qf (see GCBO)</span>
+0170 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0171 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0172 
+0173 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0174 <span class="comment">%       See ISPC and COMPUTER.</span>
+0175 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0176     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0177 <span class="keyword">end</span>
+0178 
+0179 
+0180 
+0181 <a name="_sub7" href="#_subfunctions" class="code">function alim_qd_Callback(hObject, eventdata, handles)</a>
+0182 <span class="comment">% hObject    handle to alim_qd (see GCBO)</span>
+0183 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0184 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0185 
+0186 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_qd as text</span>
+0187 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_qd as a double</span>
+0188 get(hObject,<span class="string">'Tag'</span>)
+0189 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0190 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0191 
+0192 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0193 <a name="_sub8" href="#_subfunctions" class="code">function alim_qd_CreateFcn(hObject, eventdata, handles)</a>
+0194 <span class="comment">% hObject    handle to alim_qd (see GCBO)</span>
+0195 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0196 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0197 
+0198 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0199 <span class="comment">%       See ISPC and COMPUTER.</span>
+0200 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0201     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0202 <span class="keyword">end</span>
+0203 
+0204 
+0205 
+0206 <a name="_sub9" href="#_subfunctions" class="code">function alim_sf_Callback(hObject, eventdata, handles)</a>
+0207 <span class="comment">% hObject    handle to alim_sf (see GCBO)</span>
+0208 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0209 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0210 
+0211 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_sf as text</span>
+0212 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_sf as a double</span>
+0213 
+0214 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0215 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0216 
+0217 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0218 <a name="_sub10" href="#_subfunctions" class="code">function alim_sf_CreateFcn(hObject, eventdata, handles)</a>
+0219 <span class="comment">% hObject    handle to alim_sf (see GCBO)</span>
+0220 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0221 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0222 
+0223 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0224 <span class="comment">%       See ISPC and COMPUTER.</span>
+0225 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0226     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0227 <span class="keyword">end</span>
+0228 
+0229 
+0230 
+0231 <a name="_sub11" href="#_subfunctions" class="code">function alim_sd_Callback(hObject, eventdata, handles)</a>
+0232 <span class="comment">% hObject    handle to alim_sd (see GCBO)</span>
+0233 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0234 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0235 
+0236 <span class="comment">% Hints: get(hObject,'String') returns contents of alim_sd as text</span>
+0237 <span class="comment">%        str2double(get(hObject,'String')) returns contents of alim_sd as a double</span>
+0238 
+0239 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0240 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0241 
+0242 
+0243 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0244 <a name="_sub12" href="#_subfunctions" class="code">function alim_sd_CreateFcn(hObject, eventdata, handles)</a>
+0245 <span class="comment">% hObject    handle to alim_sd (see GCBO)</span>
+0246 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0247 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0248 
+0249 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0250 <span class="comment">%       See ISPC and COMPUTER.</span>
+0251 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0252     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0253 <span class="keyword">end</span>
+0254 
+0255 
+0256 
+0257 <a name="_sub13" href="#_subfunctions" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a>
+0258 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0259 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0260 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0261 
+0262 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_rf as text</span>
+0263 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_rf as a double</span>
+0264 
+0265 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0266 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0267 
+0268 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0269 <a name="_sub14" href="#_subfunctions" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a>
+0270 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0271 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0272 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0273 
+0274 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0275 <span class="comment">%       See ISPC and COMPUTER.</span>
+0276 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0277     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0278 <span class="keyword">end</span>
+0279 
+0280 
+0281 
+0282 <a name="_sub15" href="#_subfunctions" class="code">function lin_canon_Callback(hObject, eventdata, handles)</a>
+0283 <span class="comment">% hObject    handle to lin_canon (see GCBO)</span>
+0284 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0285 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0286 
+0287 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon as text</span>
+0288 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon as a double</span>
+0289 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0290 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0291 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0292 
+0293 
+0294 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0295 <a name="_sub16" href="#_subfunctions" class="code">function lin_canon_CreateFcn(hObject, eventdata, handles)</a>
+0296 <span class="comment">% hObject    handle to lin_canon (see GCBO)</span>
+0297 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0298 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0299 
+0300 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0301 <span class="comment">%       See ISPC and COMPUTER.</span>
+0302 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0303     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0304 <span class="keyword">end</span>
+0305 
+0306 
+0307 
+0308 <a name="_sub17" href="#_subfunctions" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a>
+0309 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0310 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0311 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0312 
+0313 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_emittance as text</span>
+0314 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double</span>
+0315 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0316 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0317 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0318 
+0319 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0320 <a name="_sub18" href="#_subfunctions" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a>
+0321 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0322 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0323 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0324 
+0325 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0326 <span class="comment">%       See ISPC and COMPUTER.</span>
+0327 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0328     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0329 <span class="keyword">end</span>
+0330 
+0331 
+0332 
+0333 <a name="_sub19" href="#_subfunctions" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a>
+0334 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0335 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0336 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0337 
+0338 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC1 as text</span>
+0339 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double</span>
+0340 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0341 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0342 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0343 
+0344 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0345 <a name="_sub20" href="#_subfunctions" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a>
+0346 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0347 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0348 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0349 
+0350 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0351 <span class="comment">%       See ISPC and COMPUTER.</span>
+0352 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0353     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0354 <span class="keyword">end</span>
+0355 
+0356 
+0357 
+0358 <a name="_sub21" href="#_subfunctions" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a>
+0359 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0360 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0361 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0362 
+0363 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC2 as text</span>
+0364 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double</span>
+0365 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0366 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0367 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0368 
+0369 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0370 <a name="_sub22" href="#_subfunctions" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a>
+0371 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0372 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0373 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0374 
+0375 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0376 <span class="comment">%       See ISPC and COMPUTER.</span>
+0377 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0378     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0379 <span class="keyword">end</span>
+0380 
+0381 
+0382 
+0383 <a name="_sub23" href="#_subfunctions" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a>
+0384 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0385 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0386 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0387 
+0388 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_osc as text</span>
+0389 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double</span>
+0390 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0391 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0392 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0393 
+0394 
+0395 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0396 <a name="_sub24" href="#_subfunctions" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a>
+0397 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0398 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0399 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0400 
+0401 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0402 <span class="comment">%       See ISPC and COMPUTER.</span>
+0403 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0404     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0405 <span class="keyword">end</span>
+0406 
+0407 
+0408 
+0409 <a name="_sub25" href="#_subfunctions" class="code">function sdc1_Callback(hObject, eventdata, handles)</a>
+0410 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0411 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0412 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0413 
+0414 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc1 as text</span>
+0415 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc1 as a double</span>
+0416 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0417 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0418 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0419 
+0420 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0421 <a name="_sub26" href="#_subfunctions" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a>
+0422 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0423 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0424 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0425 
+0426 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0427 <span class="comment">%       See ISPC and COMPUTER.</span>
+0428 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0429     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0430 <span class="keyword">end</span>
+0431 
+0432 
+0433 
+0434 <a name="_sub27" href="#_subfunctions" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a>
+0435 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0436 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0437 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0438 
+0439 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_septum as text</span>
+0440 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double</span>
+0441 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0442 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0443 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+0444 
+0445 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0446 <a name="_sub28" href="#_subfunctions" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a>
+0447 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0448 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0449 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0450 
+0451 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0452 <span class="comment">%       See ISPC and COMPUTER.</span>
+0453 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0454     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0455 <span class="keyword">end</span>
+0456 
+0457 
+0458 
+0459 <a name="_sub29" href="#_subfunctions" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a>
+0460 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0461 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0462 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0463 
+0464 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text</span>
+0465 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double</span>
+0466 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0467 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0468 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+0469 
+0470 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0471 <a name="_sub30" href="#_subfunctions" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a>
+0472 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0473 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0474 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0475 
+0476 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0477 <span class="comment">%       See ISPC and COMPUTER.</span>
+0478 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0479     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0480 <span class="keyword">end</span>
+0481 
+0482 
+0483 
+0484 <a name="_sub31" href="#_subfunctions" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a>
+0485 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0486 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0487 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0488 
+0489 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_bpm as text</span>
+0490 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double</span>
+0491 
+0492 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0493 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0494 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0495 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0496 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+0497 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+0498 
+0499 
+0500 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0501 <a name="_sub32" href="#_subfunctions" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a>
+0502 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0503 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0504 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0505 
+0506 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0507 <span class="comment">%       See ISPC and COMPUTER.</span>
+0508 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0509     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0510 <span class="keyword">end</span>
+0511 
+0512 
+0513 
+0514 <a name="_sub33" href="#_subfunctions" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a>
+0515 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0516 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0517 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0518 
+0519 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_nod as text</span>
+0520 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_nod as a double</span>
+0521 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0522 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0523 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+0524 
+0525 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0526 <a name="_sub34" href="#_subfunctions" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a>
+0527 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0528 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0529 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0530 
+0531 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0532 <span class="comment">%       See ISPC and COMPUTER.</span>
+0533 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0534     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0535 <span class="keyword">end</span>
+0536 
+0537 
+0538 
+0539 <a name="_sub35" href="#_subfunctions" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a>
+0540 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0541 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0542 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0543 
+0544 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_dcct as text</span>
+0545 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double</span>
+0546 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0547 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0548 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0549 
+0550 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0551 <a name="_sub36" href="#_subfunctions" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a>
+0552 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0553 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0554 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0555 
+0556 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0557 <span class="comment">%       See ISPC and COMPUTER.</span>
+0558 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0559     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0560 <span class="keyword">end</span>
+0561 
+0562 
+0563 
+0564 <a name="_sub37" href="#_subfunctions" class="code">function boo_hall_Callback(hObject, eventdata, handles)</a>
+0565 <span class="comment">% hObject    handle to boo_hall (see GCBO)</span>
+0566 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0567 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0568 
+0569 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_hall as text</span>
+0570 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_hall as a double</span>
+0571 
+0572 
+0573 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0574 <a name="_sub38" href="#_subfunctions" class="code">function boo_hall_CreateFcn(hObject, eventdata, handles)</a>
+0575 <span class="comment">% hObject    handle to boo_hall (see GCBO)</span>
+0576 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0577 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0578 
+0579 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0580 <span class="comment">%       See ISPC and COMPUTER.</span>
+0581 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0582     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0583 <span class="keyword">end</span>
+0584 
+0585 
+0586 
+0587 <a name="_sub39" href="#_subfunctions" class="code">function pc_address_Callback(hObject, eventdata, handles)</a>
+0588 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0589 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0590 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0591 
+0592 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0593 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0594 
+0595 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0596 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+0597 
+0598 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0599 <a name="_sub40" href="#_subfunctions" class="code">function pc_address_CreateFcn(hObject, eventdata, handles)</a>
+0600 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0601 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0602 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0603 
+0604 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0605 <span class="comment">%       See ISPC and COMPUTER.</span>
+0606 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0607     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0608 <span class="keyword">end</span>
+0609 
+0610 
+0611 
+0612 <a name="_sub41" href="#_subfunctions" class="code">function inj_address_Callback(hObject, eventdata, handles)</a>
+0613 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0614 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0615 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0616 
+0617 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_address as text</span>
+0618 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_address as a double</span>
+0619 
+0620 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0621 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0622 
+0623 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0624 <a name="_sub42" href="#_subfunctions" class="code">function inj_address_CreateFcn(hObject, eventdata, handles)</a>
+0625 <span class="comment">% hObject    handle to inj_address (see GCBO)</span>
+0626 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0627 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0628 
+0629 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0630 <span class="comment">%       See ISPC and COMPUTER.</span>
+0631 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0632     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0633 <span class="keyword">end</span>
+0634 
+0635 
+0636 
+0637 <a name="_sub43" href="#_subfunctions" class="code">function edit21_Callback(hObject, eventdata, handles)</a>
+0638 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0639 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0640 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0641 
+0642 <span class="comment">% Hints: get(hObject,'String') returns contents of pc_address as text</span>
+0643 <span class="comment">%        str2double(get(hObject,'String')) returns contents of pc_address as a double</span>
+0644 
+0645 
+0646 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0647 <a name="_sub44" href="#_subfunctions" class="code">function edit21_CreateFcn(hObject, eventdata, handles)</a>
+0648 <span class="comment">% hObject    handle to pc_address (see GCBO)</span>
+0649 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0650 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0651 
+0652 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0653 <span class="comment">%       See ISPC and COMPUTER.</span>
+0654 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0655     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0656 <span class="keyword">end</span>
+0657 
+0658 
+0659 
+0660 <a name="_sub45" href="#_subfunctions" class="code">function soft_address_Callback(hObject, eventdata, handles)</a>
+0661 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0662 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0663 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0664 
+0665 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address as text</span>
+0666 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address as a double</span>
+0667 
+0668 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0669 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0670 
+0671 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0672 clkinj=int32(temp.value(1)+5*52);
+0673 clkext=int32(temp.value(1)/52+10);
+0674 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+0675 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+0676 
+0677 <span class="comment">%status soft checked on linac</span>
+0678 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+0679 <span class="keyword">if</span> (temp.value(1)==2)
+0680    <span class="comment">%</span>
+0681 <span class="keyword">elseif</span> (temp.value(1)==5)
+0682     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0683     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0684     delay=dt.value(1)+inj_offset;
+0685     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0686     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0687     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+0688 <span class="keyword">end</span>
+0689 
+0690 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0691 <a name="_sub46" href="#_subfunctions" class="code">function soft_address_CreateFcn(hObject, eventdata, handles)</a>
+0692 <span class="comment">% hObject    handle to soft_address (see GCBO)</span>
+0693 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0694 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0695 
+0696 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0697 <span class="comment">%       See ISPC and COMPUTER.</span>
+0698 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0699     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0700 <span class="keyword">end</span>
+0701 
+0702 
+0703 <span class="comment">% --- Executes on button press in acquisition1.</span>
+0704 <a name="_sub47" href="#_subfunctions" class="code">function acquisition1_Callback(hObject, eventdata, handles)</a>
+0705 <span class="comment">% hObject    handle to acquisition1 (see GCBO)</span>
+0706 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0707 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0708 
+0709 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0710 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0711 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0712 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0713 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0714 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0715 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0716 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0717 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0718 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0719 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0720 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0721 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0722 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0723 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0724 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0725 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0726 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0727 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0728 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0729 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0730 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0731 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0732 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0733 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0734 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0735 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0736 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0737 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0738 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0739 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0740 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0741 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0742 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0743 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0744 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0745 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0746 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0747 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0748 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0749 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0750 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0751 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0752 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0753 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0754 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0755 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0756 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0757 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0758 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0759 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0760 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0761 
+0762 
+0763 n=1;
+0764 
+0765 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0766 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0767 
+0768 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0769 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0770 
+0771 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0772 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0773 
+0774 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0775 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+0776 
+0777 
+0778 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0779 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0780 
+0781 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0782 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+0783 
+0784 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0785 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0786 
+0787 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0788 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0789 
+0790 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0791 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0792 
+0793 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0794 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0795 
+0796 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0797 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0798 
+0799 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0800 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0801 
+0802 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0803 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0804 
+0805 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0806 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0807 
+0808 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0809 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0810 
+0811 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0812 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0813 
+0814 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0815 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0816 
+0817 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0818 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0819 
+0820 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0821 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0822 
+0823 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0824 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0825 
+0826 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0827 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0828 
+0829 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0830 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0831 
+0832 
+0833 
+0834 
+0835 
+0836 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0837 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0838 
+0839 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0840 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0841 
+0842 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0843 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0844 
+0845 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0846 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0847 
+0848 
+0849 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0850 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0851 
+0852 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+0853 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0854 
+0855 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+0856 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0857 
+0858 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0859 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0860 
+0861 
+0862 
+0863 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0864 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0865 
+0866 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0867 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0868 
+0869 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0870 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0871 
+0872 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0873 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0874 
+0875 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0876 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0877 
+0878 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0879 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0880 
+0881 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0882 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0883 
+0884 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0885 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0886 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+0887 
+0888 
+0889 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0890 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+0891 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0892 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+0893 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0894 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+0895 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0896 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+0897 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0898 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+0899 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0900 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+0901 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0902 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+0903 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0904 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+0905 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0906 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+0907 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0908 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+0909 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0910 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+0911 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0912 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+0913 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0914 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+0915 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0916 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+0917 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0918 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+0919 
+0920 
+0921 
+0922 <span class="comment">%status soft checked on linac</span>
+0923 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+0924 <span class="keyword">if</span> (temp.value(n)==2)
+0925     set(handles.soft_button,<span class="string">'Value'</span>,0);
+0926 <span class="keyword">elseif</span> (temp.value(n)==5)
+0927     set(handles.soft_button,<span class="string">'Value'</span>,1);
+0928 <span class="keyword">end</span>
+0929 
+0930 <span class="comment">%status tables</span>
+0931 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+0932 offset=temp.value(1)*52;
+0933 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+0934 n=temp.value;
+0935 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+0936 table=temp.value(1:n)-offset;
+0937 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[<span class="string">'T='</span> , num2str(table)]);  
+0938 
+0939 
+0940 
+0941 <span class="comment">% --- Executes on button press in acquisition2.</span>
+0942 <a name="_sub48" href="#_subfunctions" class="code">function acquisition2_Callback(hObject, eventdata, handles)</a>
+0943 <span class="comment">% hObject    handle to acquisition2 (see GCBO)</span>
+0944 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0945 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0946 
+0947 
+0948 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0949 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0950 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0951 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0952 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0953 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0954 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0955 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0956 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0957 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0958 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0959 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0960 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0961 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0962 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0963 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0964 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0965 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0966 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0967 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0968 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0969 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0970 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0971 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0972 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0973 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0974 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0975 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0976 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0977 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0978 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0979 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0980 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0981 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0982 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0983 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0984 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0985 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0986 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0987 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0988 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0989 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0990 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0991 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0992 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0993 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0994 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0995 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0996 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0997 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0998 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0999 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1000 
+1001 
+1002 n=1;
+1003 
+1004 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+1005 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+1006 
+1007 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1008 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+1009 
+1010 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1011 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+1012 set(handles.soft_address1,<span class="string">'String'</span>,num2str(temp.value(n)));
+1013 
+1014 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1015 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+1016 
+1017 
+1018 
+1019 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1020 
+1021 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1022 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1023 
+1024 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+1025 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1026 
+1027 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+1028 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1029 
+1030 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+1031 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1032 
+1033 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+1034 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1035 
+1036 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+1037 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1038 
+1039 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1040 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1041 
+1042 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+1043 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1044 
+1045 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+1046 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1047 
+1048 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1049 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1050 
+1051 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1052 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1053 
+1054 
+1055 
+1056 
+1057 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+1058 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+1059 
+1060 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+1061 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1062 
+1063 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+1064 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1065 
+1066 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+1067 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1068 
+1069 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+1070 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1071 
+1072 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+1073 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1074 
+1075 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1076 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1077 
+1078 
+1079 
+1080 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1081 
+1082 
+1083 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+1084 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1085 
+1086 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1087 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1088 
+1089 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1090 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1091 
+1092 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1093 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1094 
+1095 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1096 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1097 
+1098 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+1099 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1100 
+1101 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+1102 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1103 
+1104 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1105 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1106 
+1107 
+1108 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+1109 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1110 
+1111 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+1112 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1113 
+1114 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+1115 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1116 
+1117 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+1118 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1119 
+1120 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1121 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1122 
+1123 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1124 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1125 
+1126 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+1127 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1128 
+1129 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1130 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1131 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1132 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1133 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1134 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1135 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1136 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1137 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1138 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1139 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1140 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1141 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1142 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1143 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1144 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1145 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1146 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1147 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1148 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1149 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1150 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1151 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1152 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1153 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1154 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1155 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1156 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1157 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1158 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1159 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1160 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1161 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1162 
+1163 <span class="comment">%status soft checked on linac</span>
+1164 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1165 <span class="keyword">if</span> (temp.value(n)==2)
+1166     set(handles.soft_button,<span class="string">'Value'</span>,0);
+1167 <span class="keyword">elseif</span> (temp.value(n)==5)
+1168     set(handles.soft_button,<span class="string">'Value'</span>,1);
+1169 <span class="keyword">end</span>
+1170 
+1171 <span class="comment">%status tables</span>
+1172 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1173 offset=temp.value(1)*52;
+1174 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+1175 n=temp.value;
+1176 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+1177 table=temp.value(1:n);
+1178 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);  
+1179 
+1180 <span class="comment">% --- Executes on button press in soft_button.</span>
+1181 <a name="_sub49" href="#_subfunctions" class="code">function soft_button_Callback(hObject, eventdata, handles)</a>
+1182 <span class="comment">% hObject    handle to soft_button (see GCBO)</span>
+1183 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1184 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1185 
+1186 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of soft_button</span>
+1187 
+1188 etat=get(hObject,<span class="string">'Value'</span>);
+1189 tout=0.;
+1190 <span class="keyword">if</span> (etat==0)
+1191     event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+1192        
+1193 
+1194     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1195     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,int32(0)); pause(tout);
+1196     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>,event); pause(tout);
+1197     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+1198     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+1199     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+1200     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+1201     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+1202     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+1203     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+1204     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1205     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+1206     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+1207     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+1208     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+1209     tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Reset'</span>);  
+1210     event=int32(3) ;<span class="comment">% adresse de l'extraction</span>
+1211     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+1212     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+1213     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1214     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1215     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+1216     tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Reset'</span>);
+1217     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1218     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,event);pause(tout);
+1219     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,event);pause(tout);
+1220     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+1221     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Reset'</span>);
+1222     
+1223     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,event);pause(tout);
+1224     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,event);pause(tout);
+1225     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,event);pause(tout);
+1226     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,event);pause(tout);
+1227     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Reset'</span>);
+1228        
+1229     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1230     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1231     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Reset'</span>);
+1232     <span class="comment">%tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',event);pause(tout);</span>
+1233     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1234     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1235     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1236     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1237     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1238     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1239     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1240     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1241     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1242     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1243     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1244     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1245     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1246     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1247     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1248     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1249     
+1250 
+1251     <span class="comment">% special modulateur</span>
+1252     inj=str2double(get(handles.inj_address,<span class="string">'String'</span>));
+1253     soft=str2double(get(handles.soft_address,<span class="string">'String'</span>));
+1254     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1255     delay=temp.value(1)-(soft)+0.00568;
+1256     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1257     
+1258     
+1259 <span class="keyword">elseif</span> (etat==1)
+1260     event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+1261     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1262     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,event); pause(tout);
+1263     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+1264     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+1265     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+1266     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout);     
+1267     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+1268     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+1269     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+1270     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+1271     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+1272     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+1273     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+1274     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+1275     tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+1276     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+1277     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1278     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1279     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+1280     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1281     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,event);pause(tout);
+1282     tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,event);pause(tout);
+1283     tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+1284     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,event);pause(tout);
+1285     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>,event);pause(tout);
+1286     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>,event);pause(tout);
+1287     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>,event);pause(tout);
+1288     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+1289     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+1290     <span class="comment">%tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',event);pause(tout);</span>
+1291     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1292     tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1293     tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1294     tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1295     tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1296     tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1297     tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1298     tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1299     tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+1300     tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1301     tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1302     tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1303     tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1304     tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1305     tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+1306     tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);     
+1307     
+1308     <span class="comment">% special modulateur</span>
+1309     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>,int32(1)); pause(tout);
+1310     inj=str2double(get(handles.inj_address,<span class="string">'String'</span>));
+1311     soft=str2double(get(handles.soft_address,<span class="string">'String'</span>));
+1312     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1313     delay=temp.value(1)+(soft);
+1314     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1315     <a href="start_soft.html" class="code" title="function start_soft">start_soft</a>
+1316 <span class="keyword">end</span>
+1317 display(<span class="string">'ok change address'</span>)
+1318 
+1319 
+1320 <span class="comment">% --- Executes on button press in push_soft.</span>
+1321 <a name="_sub50" href="#_subfunctions" class="code">function push_soft_Callback(hObject, eventdata, handles)</a>
+1322 <span class="comment">% hObject    handle to push_soft (see GCBO)</span>
+1323 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1324 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1325 
+1326 set(hObject,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+1327 
+1328 bouton=get(handles.soft_button,<span class="string">'Value'</span>);
+1329 mode=get(handles.listbox_fillingmode,<span class="string">'Value'</span>);
+1330 [clk_pc,clk_soft]=<a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>;
+1331 handles.clk_pc =clk_pc;
+1332 handles.clk_soft=clk_soft;
+1333 
+1334 dt=1.5;
+1335 temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur0=temp.value;
+1336 q1=0;
+1337 q2=0;
+1338 n=0;
+1339 
+1340 <span class="keyword">if</span> (bouton==1)
+1341     modeinj=<span class="string">'Injection soft'</span>;
+1342     fprintf(<span class="string">'%s   %s  Remplissage = %d\n'</span>,datestr(clock),modeinj,mode);
+1343     boucle=int16(str2double(get(handles.edit_Nshot_soft,<span class="string">'String'</span>)));
+1344     <span class="keyword">if</span> (mode&lt;=4)
+1345         <span class="keyword">for</span> k=1:boucle
+1346             i=int16(mode);
+1347             clk1=handles.clk_pc(i);
+1348             clk2=handles.clk_soft(i);
+1349             tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+1350             tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+1351             tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1352             pause(dt)
+1353             [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1354         <span class="keyword">end</span>
+1355     <span class="keyword">elseif</span> (mode&gt;4)&amp;&amp;(mode&lt;=7)
+1356         <span class="keyword">for</span> k=1:boucle
+1357             <span class="keyword">for</span> i=1:(mode-3)
+1358                 clk1=handles.clk_pc(i);
+1359                 clk2=handles.clk_soft(i);
+1360                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+1361                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+1362                 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1363                 pause(dt)
+1364                 [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1365             <span class="keyword">end</span>
+1366         <span class="keyword">end</span>    
+1367     <span class="keyword">elseif</span> (mode==8)   
+1368         <span class="keyword">for</span> k=1:boucle
+1369             clk1=handles.clk_pc(1);
+1370             clk2=handles.clk_soft(1);
+1371             bunch=1 + (0:12)*32;
+1372             [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);    
+1373             clk_pc  =int32(dtour) +  int32(clk1);
+1374             clk_soft=int32(dtour)  + int32(clk2);
+1375             <span class="keyword">for</span> i=1:13
+1376                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk_pc(i));
+1377                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk_soft(i));
+1378                 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1379                 pause(dt)
+1380                 [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1381             <span class="keyword">end</span>
+1382         <span class="keyword">end</span>    
+1383     <span class="keyword">end</span>
+1384     clk1=handles.clk_pc(1);
+1385     clk2=handles.clk_soft(1);
+1386     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+1387     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+1388     
+1389     pause(1);
+1390     temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1391     dcur=anscur-anscur0;
+1392     r1=0;
+1393     <span class="keyword">if</span> (q1~=0)
+1394        r1=int16(q2/q1*100); 
+1395     <span class="keyword">end</span>
+1396     r2=0;
+1397     <span class="keyword">if</span> (q2~=0)
+1398        r2=int16(dcur/q2*0.524*416/184*100);
+1399     <span class="keyword">end</span>
+1400     <span class="keyword">if</span>     (r1&lt;0)
+1401         r1=0;
+1402     <span class="keyword">elseif</span>(r1&gt;100)
+1403         r1=100;
+1404     <span class="keyword">end</span>
+1405     <span class="keyword">if</span>    (r2&lt;0)
+1406         r2=0;
+1407     <span class="keyword">elseif</span>(r2&gt;100)
+1408         r2=100;
+1409     <span class="keyword">end</span>
+1410     q1=q1/n;
+1411     q2=q2/n;  
+1412 
+1413     set(handles.edit_qlt1,<span class="string">'String'</span>,num2str(q1,<span class="string">'%5.2f'</span>));
+1414     set(handles.edit_iboo,<span class="string">'String'</span>,num2str(q2/0.524,<span class="string">'%5.2f'</span>));
+1415     set(handles.edit_dians,<span class="string">'String'</span>,num2str(dcur/n,<span class="string">'%5.2f'</span>));
+1416     set(handles.edit_rboo,<span class="string">'String'</span>,num2str(r1));
+1417     set(handles.edit_rans,<span class="string">'String'</span>,num2str(r2));
+1418     set(handles.edit_cycle,<span class="string">'String'</span>,num2str(n,<span class="string">'%g'</span>));
+1419     set(handles.edit_dians1,<span class="string">'String'</span>,num2str(dcur,<span class="string">'%5.2f'</span>));
+1420     set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1421     
+1422     
+1423 <span class="keyword">elseif</span>(bouton==0)
+1424     modeinj=<span class="string">'Injection 3 Hz'</span>;
+1425     laps=str2double(get(handles.edit_laps,<span class="string">'String'</span>));
+1426     fprintf(<span class="string">'%s   %s  Remplissage = %d\n'</span>,datestr(clock),modeinj,mode);
+1427     <a href="start_3Hz.html" class="code" title="function start_3Hz(event)">start_3Hz</a>
+1428     pause(laps)
+1429     <a href="stop_3Hz.html" class="code" title="function stop_3Hz">stop_3Hz</a>
+1430     
+1431     pause(1);
+1432     temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1433     dcur=anscur-anscur0;
+1434     n=int16(laps/0.340);
+1435     
+1436     set(handles.edit_qlt1,<span class="string">'String'</span>,<span class="string">'--'</span>);
+1437     set(handles.edit_iboo,<span class="string">'String'</span>,<span class="string">'--'</span>);
+1438     set(handles.edit_dians,<span class="string">'String'</span>,<span class="string">'--'</span>);
+1439     set(handles.edit_rboo,<span class="string">'String'</span>,<span class="string">'--'</span>);
+1440     set(handles.edit_rans,<span class="string">'String'</span>,<span class="string">'--'</span>);
+1441     set(handles.edit_cycle,<span class="string">'String'</span>,num2str(n,<span class="string">'%g'</span>));
+1442     set(handles.edit_dians1,<span class="string">'String'</span>,num2str(dcur,<span class="string">'%5.2f'</span>));
+1443     set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1444 
+1445 <span class="keyword">end</span>
+1446 
+1447 
+1448 
+1449 set(hObject,<span class="string">'Enable'</span>,<span class="string">'On'</span>);
+1450 
+1451 
+1452 <a name="_sub51" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+1453 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1454 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1455 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1456 
+1457 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+1458 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+1459 
+1460 val_multishot = get(handles.on,<span class="string">'Value'</span>);
+1461 
+1462 <span class="keyword">if</span> val_multishot
+1463     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+1464     <span class="keyword">return</span>
+1465 <span class="keyword">else</span>
+1466     handles.periode = str2double(get(hObject,<span class="string">'String'</span>));
+1467 
+1468     <span class="comment">% change timer Infinite loop</span>
+1469     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+1470         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+1471     timer1.TimerFcn = {@<a href="#_sub54" class="code" title="subfunction fonction_alex(arg1,arg2,hObject,eventdata,handles)">fonction_alex</a>, hObject,eventdata, handles};
+1472     setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+1473 
+1474     <span class="comment">% Update handles structure</span>
+1475     guidata(hObject, handles);
+1476 <span class="keyword">end</span>
+1477 
+1478 
+1479 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1480 <a name="_sub52" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+1481 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1482 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1483 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1484 
+1485 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1486 <span class="comment">%       See ISPC and COMPUTER.</span>
+1487 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1488     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1489 <span class="keyword">end</span>
+1490 
+1491 <a name="_sub53" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+1492 
+1493 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1494 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1495 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1496 
+1497 timer1 = getappdata(handles.figure1,<span class="string">'Timer'</span>);
+1498 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+1499     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+1500         <span class="comment">% dÃ©marrage du trigger</span>
+1501         stop(timer1);
+1502        set(handles.push_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>);
+1503        
+1504     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+1505         <span class="comment">% stop du trigger</span>
+1506         set(handles.push_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>);
+1507         start(timer1);
+1508         
+1509 <span class="keyword">end</span>
+1510 
+1511 <a name="_sub54" href="#_subfunctions" class="code">function fonction_alex(arg1,arg2,hObject,eventdata,handles)</a>
+1512 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1513 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1514 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1515 
+1516 <a href="#_sub50" class="code" title="subfunction push_soft_Callback(hObject, eventdata, handles)">push_soft_Callback</a>(hObject,eventdata,handles)
+1517 
+1518 
+1519 
+1520 
+1521 
+1522 <span class="comment">%% What to do before closing the application</span>
+1523 <a name="_sub55" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+1524 
+1525 <span class="comment">% Get default command line output from handles structure</span>
+1526 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+1527     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+1528     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+1529 
+1530 <span class="keyword">switch</span> answer
+1531     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+1532         delete(handles); <span class="comment">%Delete Timer</span>
+1533         delete(figure1); <span class="comment">%Close gui</span>
+1534     <span class="keyword">otherwise</span>
+1535         disp(<span class="string">'Closing aborted'</span>)
+1536 <span class="keyword">end</span>
+1537 
+1538 
+1539 
+1540 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+1541 <a name="_sub56" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+1542 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+1543 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1544 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1545 
+1546 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1547 <a href="step.html" class="code" title="">step</a>=temp.value(1)-51*0.52243;
+1548 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1549 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1550 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1551 
+1552 <span class="comment">% decale adress inj et extract d'une super-periode</span>
+1553 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1554 clkinj=int32(temp.value(1)+5*52);
+1555 clkext=int32(temp.value(1)/52+10);
+1556 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+1557 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+1558 
+1559 <span class="comment">%status soft checked on linac</span>
+1560 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1561 <span class="keyword">if</span> (temp.value(1)==2)
+1562    <span class="comment">%</span>
+1563 <span class="keyword">elseif</span> (temp.value(1)==5)
+1564     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1565     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1566     delay=dt.value(1)+inj_offset;
+1567     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1568     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1569     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1570 <span class="keyword">end</span>
+1571 
+1572 <span class="comment">% --- Executes on button press in button_softplus.</span>
+1573 <a name="_sub57" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+1574 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+1575 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1576 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1577 
+1578 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1579 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1580 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1581 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1582 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1583 
+1584 <span class="comment">% dcale adress inj et extract d'une super-periode</span>
+1585 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1586 clkinj=int32(temp.value(1)+5*52);
+1587 clkext=int32(temp.value(1)/52+10);
+1588 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+1589 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+1590 
+1591 <span class="comment">%status soft checked on linac</span>
+1592 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+1593 <span class="keyword">if</span> (temp.value(1)==2)
+1594    <span class="comment">%</span>
+1595 <span class="keyword">elseif</span> (temp.value(1)==5)
+1596     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1597     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1598     delay=dt.value(1)+inj_offset;
+1599     tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1600     temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1601     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1602 <span class="keyword">end</span>
+1603 
+1604 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+1605 <a name="_sub58" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+1606 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+1607 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1608 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1609 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1610 <a href="step.html" class="code" title="">step</a>=temp.value(1)-51*0.52243;
+1611 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1612 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1613 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1614 
+1615 
+1616 
+1617 <span class="comment">% --- Executes on button press in button_injplus.</span>
+1618 <a name="_sub59" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+1619 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+1620 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1621 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1622 
+1623 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1624 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1625 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1626 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1627 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+1628 
+1629 
+1630 
+1631 <a name="_sub60" href="#_subfunctions" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a>
+1632 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1633 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1634 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1635 
+1636 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_dof as text</span>
+1637 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double</span>
+1638 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1639 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1640 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1641 
+1642 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1643 <a name="_sub61" href="#_subfunctions" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a>
+1644 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1645 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1646 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1647 
+1648 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1649 <span class="comment">%       See ISPC and COMPUTER.</span>
+1650 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1651     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1652 <span class="keyword">end</span>
+1653 
+1654 
+1655 
+1656 <a name="_sub62" href="#_subfunctions" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a>
+1657 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1658 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1659 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1660 
+1661 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text</span>
+1662 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double</span>
+1663 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1664 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1665 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1666 
+1667 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1668 <a name="_sub63" href="#_subfunctions" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1669 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1670 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1671 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1672 
+1673 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1674 <span class="comment">%       See ISPC and COMPUTER.</span>
+1675 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1676     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1677 <span class="keyword">end</span>
+1678 
+1679 
+1680 
+1681 <a name="_sub64" href="#_subfunctions" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a>
+1682 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1683 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1684 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1685 
+1686 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text</span>
+1687 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double</span>
+1688 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1689 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1690 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1691 
+1692 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1693 <a name="_sub65" href="#_subfunctions" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1694 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1695 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1696 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1697 
+1698 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1699 <span class="comment">%       See ISPC and COMPUTER.</span>
+1700 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1701     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1702 <span class="keyword">end</span>
+1703 
+1704 
+1705 
+1706 <a name="_sub66" href="#_subfunctions" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a>
+1707 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1708 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1709 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1710 
+1711 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text</span>
+1712 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double</span>
+1713 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1714 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1715 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1716 
+1717 
+1718 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1719 <a name="_sub67" href="#_subfunctions" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a>
+1720 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1721 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1722 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1723 
+1724 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1725 <span class="comment">%       See ISPC and COMPUTER.</span>
+1726 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1727     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1728 <span class="keyword">end</span>
+1729 
+1730 
+1731 
+1732 <a name="_sub68" href="#_subfunctions" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a>
+1733 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1734 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1735 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1736 
+1737 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text</span>
+1738 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double</span>
+1739 
+1740 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1741 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1742 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1743 
+1744 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1745 <a name="_sub69" href="#_subfunctions" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1746 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1747 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1748 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1749 
+1750 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1751 <span class="comment">%       See ISPC and COMPUTER.</span>
+1752 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1753     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1754 <span class="keyword">end</span>
+1755 
+1756 
+1757 
+1758 <a name="_sub70" href="#_subfunctions" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a>
+1759 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1760 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1761 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1762 
+1763 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text</span>
+1764 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double</span>
+1765 
+1766 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1767 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1768 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1769 
+1770 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1771 <a name="_sub71" href="#_subfunctions" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1772 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1773 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1774 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1775 
+1776 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1777 <span class="comment">%       See ISPC and COMPUTER.</span>
+1778 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1779     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1780 <span class="keyword">end</span>
+1781 
+1782 
+1783 
+1784 <a name="_sub72" href="#_subfunctions" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a>
+1785 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1786 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1787 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1788 
+1789 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text</span>
+1790 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double</span>
+1791 
+1792 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1793 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1794 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+1795 
+1796 
+1797 
+1798 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1799 <a name="_sub73" href="#_subfunctions" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a>
+1800 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1801 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1802 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1803 
+1804 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1805 <span class="comment">%       See ISPC and COMPUTER.</span>
+1806 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1807     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1808 <span class="keyword">end</span>
+1809 
+1810 
+1811 
+1812 <a name="_sub74" href="#_subfunctions" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a>
+1813 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1814 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1815 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1816 
+1817 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text</span>
+1818 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double</span>
+1819 
+1820 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1821 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1822 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+1823 
+1824 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1825 <a name="_sub75" href="#_subfunctions" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a>
+1826 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1827 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1828 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1829 
+1830 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1831 <span class="comment">%       See ISPC and COMPUTER.</span>
+1832 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1833     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1834 <span class="keyword">end</span>
+1835 
+1836 
+1837 
+1838 <a name="_sub76" href="#_subfunctions" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a>
+1839 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1840 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1841 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1842 
+1843 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text</span>
+1844 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double</span>
+1845 
+1846 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1847 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1848 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+1849 
+1850 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1851 <a name="_sub77" href="#_subfunctions" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a>
+1852 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1853 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1854 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1855 
+1856 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1857 <span class="comment">%       See ISPC and COMPUTER.</span>
+1858 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1859     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1860 <span class="keyword">end</span>
+1861 
+1862 
+1863 
+1864 <a name="_sub78" href="#_subfunctions" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a>
+1865 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1866 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1867 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1868 
+1869 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text</span>
+1870 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double</span>
+1871 
+1872 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1873 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1874 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+1875 
+1876 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1877 <a name="_sub79" href="#_subfunctions" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a>
+1878 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1879 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1880 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1881 
+1882 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1883 <span class="comment">%       See ISPC and COMPUTER.</span>
+1884 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1885     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1886 <span class="keyword">end</span>
+1887 
+1888 
+1889 
+1890 <a name="_sub80" href="#_subfunctions" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a>
+1891 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1892 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1893 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1894 
+1895 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_dcct as text</span>
+1896 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double</span>
+1897 
+1898 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1899 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1900 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,delay);
+1901 
+1902 
+1903 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1904 <a name="_sub81" href="#_subfunctions" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a>
+1905 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1906 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1907 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1908 
+1909 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1910 <span class="comment">%       See ISPC and COMPUTER.</span>
+1911 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1912     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1913 <span class="keyword">end</span>
+1914 
+1915 
+1916 
+1917 <a name="_sub82" href="#_subfunctions" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a>
+1918 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1919 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1920 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1921 
+1922 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm as text</span>
+1923 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double</span>
+1924 
+1925 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1926 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1927 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1928 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1929 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1930 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1931 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1932 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1933 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1934 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1935 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1936 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1937 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1938 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1939 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1940 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1941 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1942 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1943 
+1944 
+1945 
+1946 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1947 <a name="_sub83" href="#_subfunctions" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1948 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1949 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1950 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1951 
+1952 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1953 <span class="comment">%       See ISPC and COMPUTER.</span>
+1954 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1955     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1956 <span class="keyword">end</span>
+1957 
+1958 
+1959 
+1960 <a name="_sub84" href="#_subfunctions" class="code">function ext_address_Callback(hObject, eventdata, handles)</a>
+1961 <span class="comment">% hObject    handle to ext_address (see GCBO)</span>
+1962 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1963 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1964 
+1965 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_address as text</span>
+1966 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_address as a double</span>
+1967 <span class="comment">%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'</span>
+1968 
+1969 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1970 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,delay);
+1971 
+1972 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1973 <a name="_sub85" href="#_subfunctions" class="code">function ext_address_CreateFcn(hObject, eventdata, handles)</a>
+1974 <span class="comment">% hObject    handle to ext_address (see GCBO)</span>
+1975 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1976 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1977 
+1978 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1979 <span class="comment">%       See ISPC and COMPUTER.</span>
+1980 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1981     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1982 <span class="keyword">end</span>
+1983 
+1984 
+1985 
+1986 <a name="_sub86" href="#_subfunctions" class="code">function soft_address1_Callback(hObject, eventdata, handles)</a>
+1987 <span class="comment">% hObject    handle to soft_address1 (see GCBO)</span>
+1988 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1989 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1990 
+1991 <span class="comment">% Hints: get(hObject,'String') returns contents of soft_address1 as text</span>
+1992 <span class="comment">%        str2double(get(hObject,'String')) returns contents of soft_address1 as a double</span>
+1993 
+1994 
+1995 
+1996 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1997 <a name="_sub87" href="#_subfunctions" class="code">function soft_address1_CreateFcn(hObject, eventdata, handles)</a>
+1998 <span class="comment">% hObject    handle to soft_address1 (see GCBO)</span>
+1999 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2000 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2001 
+2002 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2003 <span class="comment">%       See ISPC and COMPUTER.</span>
+2004 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2005     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2006 <span class="keyword">end</span>
+2007 
+2008 
+2009 <span class="comment">% --- Executes on button press in radiobutton6.</span>
+2010 <a name="_sub88" href="#_subfunctions" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a>
+2011 <span class="comment">% hObject    handle to radiobutton6 (see GCBO)</span>
+2012 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2013 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2014 
+2015 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton6</span>
+2016 
+2017 
+2018 <span class="comment">% --- Executes on button press in pushbutton8.</span>
+2019 <a name="_sub89" href="#_subfunctions" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a>
+2020 <span class="comment">% hObject    handle to pushbutton8 (see GCBO)</span>
+2021 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2022 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2023 
+2024 
+2025 <span class="comment">% --- Executes on button press in pushbutton9.</span>
+2026 <a name="_sub90" href="#_subfunctions" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a>
+2027 <span class="comment">% hObject    handle to pushbutton9 (see GCBO)</span>
+2028 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2029 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2030 
+2031 
+2032 <span class="comment">% --- Executes on button press in button_extmoins.</span>
+2033 <a name="_sub91" href="#_subfunctions" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a>
+2034 <span class="comment">% hObject    handle to button_extmoins (see GCBO)</span>
+2035 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2036 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2037 
+2038 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2039 <a href="step.html" class="code" title="">step</a>=temp.value(1)-52*0.52243;
+2040 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+2041 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+2042 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+2043 
+2044 <span class="comment">% --- Executes on button press in button_extplus.</span>
+2045 <a name="_sub92" href="#_subfunctions" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a>
+2046 <span class="comment">% hObject    handle to button_extplus (see GCBO)</span>
+2047 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2048 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2049 
+2050 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2051 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+2052 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+2053 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+2054 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(1)));
+2055 
+2056 <a name="_sub93" href="#_subfunctions" class="code">function sdc2_Callback(hObject, eventdata, handles)</a>
+2057 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+2058 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2059 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2060 
+2061 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc2 as text</span>
+2062 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc2 as a double</span>
+2063 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2064 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2065 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2066 
+2067 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2068 <a name="_sub94" href="#_subfunctions" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a>
+2069 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+2070 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2071 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2072 
+2073 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2074 <span class="comment">%       See ISPC and COMPUTER.</span>
+2075 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2076     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2077 <span class="keyword">end</span>
+2078 
+2079 
+2080 
+2081 <a name="_sub95" href="#_subfunctions" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a>
+2082 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+2083 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2084 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2085 
+2086 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_emittance as text</span>
+2087 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double</span>
+2088 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2089 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2090 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2091 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+2092 
+2093 
+2094 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2095 <a name="_sub96" href="#_subfunctions" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a>
+2096 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+2097 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2098 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2099 
+2100 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2101 <span class="comment">%       See ISPC and COMPUTER.</span>
+2102 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2103     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2104 <span class="keyword">end</span>
+2105 
+2106 
+2107 
+2108 <a name="_sub97" href="#_subfunctions" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a>
+2109 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+2110 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2111 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2112 
+2113 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_bpm as text</span>
+2114 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double</span>
+2115 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2116 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2117 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2118 
+2119 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2120 <a name="_sub98" href="#_subfunctions" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a>
+2121 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+2122 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2123 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2124 
+2125 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2126 <span class="comment">%       See ISPC and COMPUTER.</span>
+2127 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2128     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2129 <span class="keyword">end</span>
+2130 
+2131 
+2132 
+2133 <a name="_sub99" href="#_subfunctions" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a>
+2134 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+2135 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2136 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2137 
+2138 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_osc as text</span>
+2139 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double</span>
+2140 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2141 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2142 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2143 
+2144 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2145 <a name="_sub100" href="#_subfunctions" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a>
+2146 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+2147 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2148 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2149 
+2150 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2151 <span class="comment">%       See ISPC and COMPUTER.</span>
+2152 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2153     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2154 <span class="keyword">end</span>
+2155 
+2156 
+2157 
+2158 <a name="_sub101" href="#_subfunctions" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a>
+2159 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+2160 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2161 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2162 
+2163 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_modulateur as text</span>
+2164 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_modulateur as a double</span>
+2165 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2166 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+2167 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2168 
+2169 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2170 <a name="_sub102" href="#_subfunctions" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a>
+2171 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+2172 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2173 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2174 
+2175 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2176 <span class="comment">%       See ISPC and COMPUTER.</span>
+2177 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2178     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2179 <span class="keyword">end</span>
+2180 
+2181 
+2182 
+2183 <a name="_sub103" href="#_subfunctions" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a>
+2184 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2185 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2186 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2187 
+2188 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_offset as text</span>
+2189 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_offset as a double</span>
+2190 
+2191 inj_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2192 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2193 save(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+2194 
+2195 <span class="comment">%LIN</span>
+2196 delay=str2double(get(handles.lin_canon,<span class="string">'String'</span>))+inj_offset;
+2197 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+2198 
+2199 delay=str2double(get(handles.lin_modulateur,<span class="string">'String'</span>))+inj_offset;
+2200 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2201 
+2202 delay=str2double(get(handles.sdc1,<span class="string">'String'</span>))+inj_offset;
+2203 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2204 
+2205 
+2206 <span class="comment">% LT1</span>
+2207 delay=str2double(get(handles.lt1_MC2,<span class="string">'String'</span>))+inj_offset;
+2208 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+2209 
+2210 delay=str2double(get(handles.lt1_MC1,<span class="string">'String'</span>))+inj_offset;
+2211 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+2212 
+2213 delay=str2double(get(handles.lt1_emittance,<span class="string">'String'</span>))+inj_offset;
+2214 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+2215 
+2216 delay=str2double(get(handles.lt1_osc,<span class="string">'String'</span>))+inj_offset;
+2217 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2218 
+2219 
+2220 <span class="comment">% BOO</span>
+2221 delay=str2double(get(handles.boo_inj_septum,<span class="string">'String'</span>))+inj_offset;
+2222 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2223 
+2224 delay=str2double(get(handles.boo_inj_kicker,<span class="string">'String'</span>))+inj_offset;
+2225 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2226 
+2227 delay=str2double(get(handles.boo_bpm,<span class="string">'String'</span>))+inj_offset;
+2228 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+2229 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+2230 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+2231 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+2232 
+2233 
+2234 delay=str2double(get(handles.boo_nod,<span class="string">'String'</span>))+inj_offset;
+2235 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+2236 
+2237 delay=str2double(get(handles.boo_dcct,<span class="string">'String'</span>))+inj_offset;
+2238 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+2239 
+2240 
+2241 
+2242 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2243 <a name="_sub104" href="#_subfunctions" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a>
+2244 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2245 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2246 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2247 
+2248 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2249 <span class="comment">%       See ISPC and COMPUTER.</span>
+2250 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2251     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2252 <span class="keyword">end</span>
+2253 
+2254 
+2255 
+2256 <a name="_sub105" href="#_subfunctions" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a>
+2257 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2258 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2259 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2260 
+2261 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_offset as text</span>
+2262 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_offset as a double</span>
+2263 
+2264 ext_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2265 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2266 save(<span class="string">'synchro_offset'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>)
+2267 
+2268 <span class="comment">%BOO</span>
+2269 delay=str2double(get(handles.boo_ext_dof,<span class="string">'String'</span>))+ext_offset;
+2270 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+2271 
+2272 delay=str2double(get(handles.boo_ext_sept_p,<span class="string">'String'</span>))+ext_offset;
+2273 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2274 
+2275 delay=str2double(get(handles.boo_ext_sept_a,<span class="string">'String'</span>))+ext_offset;
+2276 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2277 
+2278 delay=str2double(get(handles.boo_ext_kicker,<span class="string">'String'</span>))+ext_offset;
+2279 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2280 
+2281 delay=str2double(get(handles.sdc2,<span class="string">'String'</span>))+ext_offset;
+2282 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2283 
+2284 <span class="comment">%LT2</span>
+2285 delay=str2double(get(handles.lt2_bpm,<span class="string">'String'</span>))+ext_offset;
+2286 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2287 
+2288 delay=str2double(get(handles.lt2_osc,<span class="string">'String'</span>))+ext_offset;
+2289 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2290 
+2291 delay=str2double(get(handles.lt2_emittance,<span class="string">'String'</span>))+ext_offset;
+2292 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2293 
+2294 <span class="comment">%ANS</span>
+2295 
+2296 delay=str2double(get(handles.ans_inj_sept_a,<span class="string">'String'</span>))+ext_offset;
+2297 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2298 
+2299 delay=str2double(get(handles.ans_inj_sept_p,<span class="string">'String'</span>))+ext_offset;
+2300 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2301 
+2302 delay=str2double(get(handles.ans_inj_k1,<span class="string">'String'</span>))+ext_offset;
+2303 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+2304 
+2305 delay=str2double(get(handles.ans_inj_k2,<span class="string">'String'</span>))+ext_offset;
+2306 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+2307 
+2308 delay=str2double(get(handles.ans_inj_k3,<span class="string">'String'</span>))+ext_offset;
+2309 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+2310 
+2311 delay=str2double(get(handles.ans_inj_k4,<span class="string">'String'</span>))+ext_offset;
+2312 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+2313 
+2314 
+2315 
+2316 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2317 <a name="_sub106" href="#_subfunctions" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a>
+2318 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2319 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2320 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2321 
+2322 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2323 <span class="comment">%       See ISPC and COMPUTER.</span>
+2324 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2325     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2326 <span class="keyword">end</span>
+2327 
+2328 
+2329 <span class="comment">% --- Executes on button press in Acquisition_address.</span>
+2330 <a name="_sub107" href="#_subfunctions" class="code">function Acquisition_address_Callback(hObject, eventdata, handles)</a>
+2331 <span class="comment">% hObject    handle to Acquisition_address (see GCBO)</span>
+2332 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2333 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2334 
+2335 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2336 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2337 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2338 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2339 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2340 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2341 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2342 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2343 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2344 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2345 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2346 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2347 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2348 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2349 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2350 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2351 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2352 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2353 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2354 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2355 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2356 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2357 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2358 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2359 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2360 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2361 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2362 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2363 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2364 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2365 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2366 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2367 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2368 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2369 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2370 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2371 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2372 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2373 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2374 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2375 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2376 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2377 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2378 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2379 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2380 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2381 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2382 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2383 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2384 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2385 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2386 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2387 
+2388 n=1;
+2389 
+2390 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+2391 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2392 
+2393 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+2394 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2395 
+2396 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+2397 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2398 
+2399 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2400 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+2401 
+2402 
+2403 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+2404 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2405 
+2406 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>);
+2407 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+2408 
+2409 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+2410 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2411 
+2412 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+2413 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2414 
+2415 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+2416 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2417 
+2418 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+2419 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2420 
+2421 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+2422 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2423 
+2424 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+2425 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2426 
+2427 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+2428 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+2429 
+2430 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2431 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+2432 
+2433 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+2434 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2435 
+2436 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+2437 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+2438 
+2439 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+2440 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2441 
+2442 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+2443 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2444 
+2445 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+2446 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2447 
+2448 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+2449 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2450 
+2451 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+2452 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2453 
+2454 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareEvent'</span>);
+2455 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+2456 
+2457 
+2458 
+2459 
+2460 
+2461 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+2462 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+2463 
+2464 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2465 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2466 
+2467 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2468 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2469 
+2470 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+2471 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2472 
+2473 
+2474 
+2475 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+2476 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2477 
+2478 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>);
+2479 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2480 
+2481 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>);
+2482 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2483 
+2484 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2485 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2486 
+2487 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+2488 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2489 
+2490 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+2491 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2492 
+2493 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+2494 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+2495 
+2496 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+2497 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+2498 
+2499 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2500 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2501 
+2502 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2503 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2504 
+2505 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+2506 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2507 
+2508 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2509 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2510 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+2511 
+2512 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2513 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+2514 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2515 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+2516 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2517 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+2518 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2519 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+2520 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2521 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+2522 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2523 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+2524 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2525 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+2526 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2527 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+2528 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2529 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+2530 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2531 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+2532 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2533 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+2534 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2535 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+2536 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2537 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+2538 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2539 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+2540 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2541 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+2542 
+2543 
+2544 
+2545 <span class="comment">% --- Executes on button press in button_offinj_moins.</span>
+2546 <a name="_sub108" href="#_subfunctions" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a>
+2547 <span class="comment">% hObject    handle to button_offinj_moins (see GCBO)</span>
+2548 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2549 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2550 
+2551 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2552 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2553 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2554 <a href="#_sub103" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2555 
+2556 <span class="comment">% --- Executes on button press in button_offinj_plus.</span>
+2557 <a name="_sub109" href="#_subfunctions" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a>
+2558 <span class="comment">% hObject    handle to button_offinj_plus (see GCBO)</span>
+2559 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2560 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2561 
+2562 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2563 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2564 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2565 <a href="#_sub103" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2566 
+2567 <span class="comment">% --- Executes on button press in button_offext_moins.</span>
+2568 <a name="_sub110" href="#_subfunctions" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a>
+2569 <span class="comment">% hObject    handle to button_offext_moins (see GCBO)</span>
+2570 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2571 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2572 
+2573 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2574 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2575 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2576 <a href="#_sub105" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2577 
+2578 <span class="comment">% --- Executes on button press in button_offext_plus.</span>
+2579 <a name="_sub111" href="#_subfunctions" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a>
+2580 <span class="comment">% hObject    handle to button_offext_plus (see GCBO)</span>
+2581 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2582 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2583 
+2584 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2585 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2586 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2587 <a href="#_sub105" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2588 
+2589 
+2590 <span class="comment">% --- Executes on button press in button_bpm.</span>
+2591 <a name="_sub112" href="#_subfunctions" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a>
+2592 <span class="comment">% hObject    handle to button_bpm (see GCBO)</span>
+2593 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2594 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2595 
+2596 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_bpm</span>
+2597 
+2598 bpm=get(hObject,<span class="string">'Value'</span>);
+2599 
+2600 <span class="keyword">if</span> (bpm==0)
+2601    set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+2602 <span class="keyword">elseif</span> (bpm==1)
+2603     set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+2604 <span class="keyword">end</span>
+2605 
+2606 
+2607 
+2608 <a name="_sub113" href="#_subfunctions" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a>
+2609 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2610 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2611 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2612 
+2613 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text</span>
+2614 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double</span>
+2615 
+2616 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2617 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2618 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2619 
+2620 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2621 <a name="_sub114" href="#_subfunctions" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a>
+2622 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2623 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2624 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2625 
+2626 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2627 <span class="comment">%       See ISPC and COMPUTER.</span>
+2628 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2629     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2630 <span class="keyword">end</span>
+2631 
+2632 
+2633 <a name="_sub115" href="#_subfunctions" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a>
+2634 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2635 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2636 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2637 
+2638 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text</span>
+2639 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double</span>
+2640 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2641 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2642 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2643 
+2644 
+2645 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2646 <a name="_sub116" href="#_subfunctions" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a>
+2647 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2648 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2649 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2650 
+2651 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2652 <span class="comment">%       See ISPC and COMPUTER.</span>
+2653 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2654     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2655 <span class="keyword">end</span>
+2656 
+2657 
+2658 
+2659 <a name="_sub117" href="#_subfunctions" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a>
+2660 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2661 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2662 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2663 
+2664 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text</span>
+2665 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double</span>
+2666 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2667 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2668 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2669 
+2670 
+2671 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2672 <a name="_sub118" href="#_subfunctions" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a>
+2673 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2674 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2675 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2676 
+2677 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2678 <span class="comment">%       See ISPC and COMPUTER.</span>
+2679 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2680     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2681 <span class="keyword">end</span>
+2682 
+2683 
+2684 
+2685 <a name="_sub119" href="#_subfunctions" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a>
+2686 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2687 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2688 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2689 
+2690 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text</span>
+2691 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double</span>
+2692 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2693 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2694 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2695 
+2696 
+2697 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2698 <a name="_sub120" href="#_subfunctions" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a>
+2699 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2700 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2701 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2702 
+2703 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2704 <span class="comment">%       See ISPC and COMPUTER.</span>
+2705 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2706     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2707 <span class="keyword">end</span>
+2708 
+2709 
+2710 
+2711 <a name="_sub121" href="#_subfunctions" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a>
+2712 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2713 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2714 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2715 
+2716 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text</span>
+2717 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double</span>
+2718 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2719 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2720 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2721 
+2722 
+2723 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2724 <a name="_sub122" href="#_subfunctions" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a>
+2725 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2726 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2727 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2728 
+2729 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2730 <span class="comment">%       See ISPC and COMPUTER.</span>
+2731 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2732     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2733 <span class="keyword">end</span>
+2734 
+2735 
+2736 
+2737 <a name="_sub123" href="#_subfunctions" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a>
+2738 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2739 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2740 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2741 
+2742 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text</span>
+2743 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double</span>
+2744 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2745 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2746 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2747 
+2748 
+2749 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2750 <a name="_sub124" href="#_subfunctions" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a>
+2751 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2752 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2753 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2754 
+2755 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2756 <span class="comment">%       See ISPC and COMPUTER.</span>
+2757 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2758     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2759 <span class="keyword">end</span>
+2760 
+2761 
+2762 
+2763 <a name="_sub125" href="#_subfunctions" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a>
+2764 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2765 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2766 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2767 
+2768 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text</span>
+2769 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double</span>
+2770 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2771 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2772 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2773 
+2774 
+2775 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2776 <a name="_sub126" href="#_subfunctions" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a>
+2777 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2778 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2779 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2780 
+2781 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2782 <span class="comment">%       See ISPC and COMPUTER.</span>
+2783 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2784     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2785 <span class="keyword">end</span>
+2786 
+2787 
+2788 
+2789 <a name="_sub127" href="#_subfunctions" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a>
+2790 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2791 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2792 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2793 
+2794 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text</span>
+2795 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double</span>
+2796 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2797 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2798 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2799 
+2800 
+2801 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2802 <a name="_sub128" href="#_subfunctions" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a>
+2803 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2804 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2805 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2806 
+2807 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2808 <span class="comment">%       See ISPC and COMPUTER.</span>
+2809 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2810     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2811 <span class="keyword">end</span>
+2812 
+2813 
+2814 
+2815 <a name="_sub129" href="#_subfunctions" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a>
+2816 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2817 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2818 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2819 
+2820 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text</span>
+2821 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double</span>
+2822 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2823 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2824 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2825 
+2826 
+2827 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2828 <a name="_sub130" href="#_subfunctions" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a>
+2829 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2830 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2831 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2832 
+2833 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2834 <span class="comment">%       See ISPC and COMPUTER.</span>
+2835 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2836     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2837 <span class="keyword">end</span>
+2838 
+2839 
+2840 
+2841 <a name="_sub131" href="#_subfunctions" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a>
+2842 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2843 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2844 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2845 
+2846 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text</span>
+2847 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double</span>
+2848 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2849 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2850 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2851 
+2852 
+2853 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2854 <a name="_sub132" href="#_subfunctions" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a>
+2855 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2856 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2857 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2858 
+2859 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2860 <span class="comment">%       See ISPC and COMPUTER.</span>
+2861 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2862     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2863 <span class="keyword">end</span>
+2864 
+2865 
+2866 
+2867 <a name="_sub133" href="#_subfunctions" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a>
+2868 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2869 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2870 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2871 
+2872 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text</span>
+2873 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double</span>
+2874 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2875 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2876 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2877 
+2878 
+2879 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2880 <a name="_sub134" href="#_subfunctions" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a>
+2881 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2882 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2883 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2884 
+2885 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2886 <span class="comment">%       See ISPC and COMPUTER.</span>
+2887 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2888     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2889 <span class="keyword">end</span>
+2890 
+2891 
+2892 
+2893 <a name="_sub135" href="#_subfunctions" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a>
+2894 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2895 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2896 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2897 
+2898 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text</span>
+2899 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double</span>
+2900 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2901 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2902 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2903 
+2904 
+2905 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2906 <a name="_sub136" href="#_subfunctions" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a>
+2907 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2908 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2909 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2910 
+2911 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2912 <span class="comment">%       See ISPC and COMPUTER.</span>
+2913 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2914     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2915 <span class="keyword">end</span>
+2916 
+2917 
+2918 
+2919 <a name="_sub137" href="#_subfunctions" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a>
+2920 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2921 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2922 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2923 
+2924 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text</span>
+2925 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double</span>
+2926 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2927 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2928 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2929 
+2930 
+2931 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2932 <a name="_sub138" href="#_subfunctions" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a>
+2933 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2934 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2935 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2936 
+2937 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2938 <span class="comment">%       See ISPC and COMPUTER.</span>
+2939 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2940     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2941 <span class="keyword">end</span>
+2942 
+2943 
+2944 
+2945 <a name="_sub139" href="#_subfunctions" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a>
+2946 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2947 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2948 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2949 
+2950 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text</span>
+2951 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double</span>
+2952 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2953 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2954 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2955 
+2956 
+2957 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2958 <a name="_sub140" href="#_subfunctions" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a>
+2959 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2960 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2961 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2962 
+2963 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2964 <span class="comment">%       See ISPC and COMPUTER.</span>
+2965 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2966     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2967 <span class="keyword">end</span>
+2968 
+2969 
+2970 
+2971 <a name="_sub141" href="#_subfunctions" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a>
+2972 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2973 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2974 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2975 
+2976 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text</span>
+2977 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double</span>
+2978 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2979 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2980 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2981 
+2982 
+2983 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2984 <a name="_sub142" href="#_subfunctions" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a>
+2985 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2986 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2987 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2988 
+2989 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2990 <span class="comment">%       See ISPC and COMPUTER.</span>
+2991 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2992     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2993 <span class="keyword">end</span>
+2994 
+2995 
+2996 
+2997 <a name="_sub143" href="#_subfunctions" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a>
+2998 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2999 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3000 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3001 
+3002 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text</span>
+3003 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double</span>
+3004 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+3005 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+3006 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+3007 
+3008 
+3009 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3010 <a name="_sub144" href="#_subfunctions" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a>
+3011 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+3012 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3013 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3014 
+3015 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3016 <span class="comment">%       See ISPC and COMPUTER.</span>
+3017 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3018     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3019 <span class="keyword">end</span>
+3020 
+3021 
+3022 
+3023 <a name="_sub145" href="#_subfunctions" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a>
+3024 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+3025 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3026 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3027 
+3028 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text</span>
+3029 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double</span>
+3030 
+3031 
+3032 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3033 <a name="_sub146" href="#_subfunctions" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a>
+3034 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+3035 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3036 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3037 
+3038 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3039 <span class="comment">%       See ISPC and COMPUTER.</span>
+3040 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3041     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3042 <span class="keyword">end</span>
+3043 
+3044 
+3045 
+3046 <a name="_sub147" href="#_subfunctions" class="code">function edit72_Callback(hObject, eventdata, handles)</a>
+3047 <span class="comment">% hObject    handle to edit72 (see GCBO)</span>
+3048 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3049 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3050 
+3051 <span class="comment">% Hints: get(hObject,'String') returns contents of edit72 as text</span>
+3052 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit72 as a double</span>
+3053 
+3054 
+3055 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3056 <a name="_sub148" href="#_subfunctions" class="code">function edit72_CreateFcn(hObject, eventdata, handles)</a>
+3057 <span class="comment">% hObject    handle to edit72 (see GCBO)</span>
+3058 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3059 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3060 
+3061 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3062 <span class="comment">%       See ISPC and COMPUTER.</span>
+3063 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3064     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3065 <span class="keyword">end</span>
+3066 
+3067 
+3068 
+3069 <a name="_sub149" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a>
+3070 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+3071 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3072 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3073 
+3074 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text</span>
+3075 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double</span>
+3076 
+3077 
+3078 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3079 <a name="_sub150" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a>
+3080 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+3081 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3082 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3083 
+3084 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3085 <span class="comment">%       See ISPC and COMPUTER.</span>
+3086 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3087     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3088 <span class="keyword">end</span>
+3089 
+3090 
+3091 
+3092 <a name="_sub151" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a>
+3093 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+3094 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3095 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3096 
+3097 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text</span>
+3098 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double</span>
+3099 
+3100 
+3101 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3102 <a name="_sub152" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a>
+3103 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+3104 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3105 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3106 
+3107 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3108 <span class="comment">%       See ISPC and COMPUTER.</span>
+3109 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3110     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3111 <span class="keyword">end</span>
+3112 
+3113 
+3114 <span class="comment">% --- Executes on button press in button_update.</span>
+3115 <a name="_sub153" href="#_subfunctions" class="code">function button_update_Callback(hObject, eventdata, handles)</a>
+3116 <span class="comment">% hObject    handle to button_update (see GCBO)</span>
+3117 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3118 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3119 
+3120 fprintf(<span class="string">'*****Update des 16 cartes locales******\n'</span>)
+3121 r=tango_command_inout2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,r);
+3122 r=tango_command_inout2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>,<span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>,r);
+3123 
+3124 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>);    <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,r);
+3125 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,r);
+3126 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.3'</span>,r);
+3127 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,r);
+3128 
+3129 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,r);
+3130 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,r);
+3131 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,r);
+3132 r=tango_command_inout2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,r);
+3133 r=tango_command_inout2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,r);
+3134 r=tango_command_inout2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>,r);
+3135 r=tango_command_inout2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,r);
+3136 r=tango_command_inout2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>,r);
+3137 r=tango_command_inout2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,r);
+3138 r=tango_command_inout2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,r);
+3139 fprintf(<span class="string">'**************************************\n'</span>)
+3140 <span class="comment">%retour_command=vect</span>
+3141 <span class="comment">%fprintf('16 zÃ©ro = OK : %d\n',vect)</span>
+3142 
+3143 <span class="comment">% --- Executes on button press in button_trigstatus.</span>
+3144 <a name="_sub154" href="#_subfunctions" class="code">function button_trigstatus_Callback(hObject, eventdata, handles)</a>
+3145 <span class="comment">% hObject    handle to button_trigstatus (see GCBO)</span>
+3146 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3147 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3148 
+3149 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3150 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3151 set(handles.lin_canon,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3152 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3153 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3154 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3155 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3156 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3157 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3158 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3159 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3160 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3161 set(handles.alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3162 set(handles.alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3163 set(handles.alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3164 set(handles.alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3165 set(handles.alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3166 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3167 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3168 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3169 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3170 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3171 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3172 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3173 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3174 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3175 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3176 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3177 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3178 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3179 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3180 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3181 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3182 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3183 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3184 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3185 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3186 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3187 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3188 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3189 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3190 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3191 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3192 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3193 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3194 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3195 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3196 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3197 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3198 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3199 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3200 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3201 
+3202 
+3203 n=1;
+3204 
+3205 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+3206 set(handles.pc_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3207 
+3208 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+3209 set(handles.inj_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3210 
+3211 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+3212 set(handles.soft_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3213 
+3214 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+3215 set(handles.ext_address,<span class="string">'String'</span>,num2str(temp.value(n)));
+3216 
+3217 
+3218 
+3219 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3220 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3221 
+3222 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmTrigStatus'</span>);
+3223 set(handles.lin_canon,<span class="string">'String'</span>,num2str(temp.value(n)));
+3224 
+3225 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTrigStatus'</span>);
+3226 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3227 
+3228 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTrigStatus'</span>);
+3229 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3230 
+3231 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TrigStatus'</span>);
+3232 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3233 
+3234 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TrigStatus'</span>);
+3235 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3236 
+3237 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3238 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3239 
+3240 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTrigStatus'</span>);
+3241 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3242 
+3243 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTrigStatus'</span>);
+3244 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+3245 
+3246 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3247 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+3248 
+3249 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3250 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3251 
+3252 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTrigStatus'</span>);
+3253 set(handles.alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+3254 
+3255 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTrigStatus'</span>);
+3256 set(handles.alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3257 
+3258 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTrigStatus'</span>);
+3259 set(handles.alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3260 
+3261 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTrigStatus'</span>);
+3262 set(handles.alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3263 
+3264 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTrigStatus'</span>);
+3265 set(handles.alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3266 
+3267 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTrigStatus'</span>);
+3268 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3269 
+3270 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3271 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+3272 
+3273 
+3274 
+3275 
+3276 
+3277 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTrigStatus'</span>);
+3278 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+3279 
+3280 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3281 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3282 
+3283 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3284 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3285 
+3286 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3287 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3288 
+3289 
+3290 
+3291 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3292 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3293 
+3294 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTrigStatus'</span>);
+3295 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3296 
+3297 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTrigStatus'</span>);
+3298 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3299 
+3300 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3301 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3302 
+3303 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTrigStatus'</span>);
+3304 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3305 
+3306 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTrigStatus'</span>);
+3307 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3308 
+3309 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTrigStatus'</span>);
+3310 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+3311 
+3312 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTrigStatus'</span>);
+3313 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+3314 
+3315 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3316 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3317 
+3318 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3319 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3320 
+3321 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTrigStatus'</span>);
+3322 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3323 
+3324 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3325 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3326 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+3327 
+3328 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3329 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+3330 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3331 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+3332 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3333 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+3334 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3335 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+3336 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3337 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+3338 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3339 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+3340 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3341 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+3342 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3343 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+3344 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3345 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+3346 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3347 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+3348 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3349 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+3350 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3351 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+3352 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3353 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+3354 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3355 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+3356 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3357 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+3358 
+3359 
+3360 
+3361 <span class="comment">% --- Executes on button press in togglebutton2.</span>
+3362 <a name="_sub155" href="#_subfunctions" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a>
+3363 <span class="comment">% hObject    handle to togglebutton2 (see GCBO)</span>
+3364 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3365 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3366 
+3367 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of togglebutton2</span>
+3368 
+3369 
+3370 <span class="comment">% --- Executes on selection change in listbox_fillingmode.</span>
+3371 <a name="_sub156" href="#_subfunctions" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a>
+3372 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+3373 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3374 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3375 
+3376 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_fillingmode contents as cell array</span>
+3377 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_fillingmode</span>
+3378 pattern=get(hObject,<span class="string">'String'</span>);
+3379 mode=get(hObject,<span class="string">'Value'</span>);
+3380 fprintf(<span class="string">'***************************************************\n'</span>)
+3381 fprintf(<span class="string">'Mode de remplissage sÃ©lectionnÃ© : %s\n'</span>,pattern{mode})
+3382 fprintf(<span class="string">'***************************************************\n'</span>)
+3383 
+3384 <span class="comment">% PrÃ©pare les tables pour le 3 Hz</span>
+3385 
+3386 quart=[1 105 209 313];
+3387 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+3388 offset=temp.value(1)*52;
+3389 
+3390 <span class="keyword">if</span> (mode&lt;=4)
+3391     bunch=quart(mode);
+3392 <span class="keyword">elseif</span> (mode&gt;4)&amp;&amp;(mode&lt;=7)
+3393     bunch=quart(1:(mode-3));
+3394 <span class="keyword">elseif</span> (mode==8)   
+3395     dbunch=4*8;
+3396     bunch=(0:12)*dbunch;
+3397 <span class="keyword">end</span>
+3398 
+3399 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+3400 table=int32([length(bunch) dtour dpaquet]);
+3401 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+3402 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+3403 n=temp.value;
+3404 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+3405 table=temp.value(1:n);
+3406 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+3407 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,[num2str(bunch)]);
+3408 
+3409 guidata(hObject, handles);
+3410 
+3411 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3412 <a name="_sub157" href="#_subfunctions" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a>
+3413 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+3414 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3415 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3416 
+3417 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+3418 <span class="comment">%       See ISPC and COMPUTER.</span>
+3419 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3420     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3421 <span class="keyword">end</span>
+3422 
+3423 
+3424 <span class="comment">% --- Executes on button press in button_fix.</span>
+3425 <a name="_sub158" href="#_subfunctions" class="code">function button_fix_Callback(hObject, eventdata, handles)</a>
+3426 <span class="comment">% hObject    handle to button_fix (see GCBO)</span>
+3427 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3428 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3429 
+3430 [clk_pc,clk_soft]=<a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>;
+3431 handles.clk_pc  =clk_pc;
+3432 handles.clk_soft=clk_soft;
+3433 
+3434 <span class="comment">% n=1;</span>
+3435 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');</span>
+3436 <span class="comment">% clk1=temp.value(n);</span>
+3437 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');</span>
+3438 <span class="comment">% clk2=temp.value(n);</span>
+3439 <span class="comment">%</span>
+3440 <span class="comment">% jump=int32([0 39 26 13]);</span>
+3441 <span class="comment">% handles.clk_pc  =jump +  int32(clk1);</span>
+3442 <span class="comment">% handles.clk_soft=jump  + int32(clk2);</span>
+3443 
+3444 guidata(hObject, handles);
+3445 
+3446 
+3447 
+3448 <a name="_sub159" href="#_subfunctions" class="code">function edit_Nshot_soft_Callback(hObject, eventdata, handles)</a>
+3449 <span class="comment">% hObject    handle to edit_Nshot_soft (see GCBO)</span>
+3450 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3451 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3452 
+3453 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Nshot_soft as text</span>
+3454 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Nshot_soft as a double</span>
+3455 
+3456 
+3457 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3458 <a name="_sub160" href="#_subfunctions" class="code">function edit_Nshot_soft_CreateFcn(hObject, eventdata, handles)</a>
+3459 <span class="comment">% hObject    handle to edit_Nshot_soft (see GCBO)</span>
+3460 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3461 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3462 
+3463 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3464 <span class="comment">%       See ISPC and COMPUTER.</span>
+3465 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3466     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3467 <span class="keyword">end</span>
+3468 
+3469 
+3470 
+3471 <a name="_sub161" href="#_subfunctions" class="code">function edit_laps_Callback(hObject, eventdata, handles)</a>
+3472 <span class="comment">% hObject    handle to edit_laps (see GCBO)</span>
+3473 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3474 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3475 
+3476 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_laps as text</span>
+3477 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_laps as a double</span>
+3478 
+3479 
+3480 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3481 <a name="_sub162" href="#_subfunctions" class="code">function edit_laps_CreateFcn(hObject, eventdata, handles)</a>
+3482 <span class="comment">% hObject    handle to edit_laps (see GCBO)</span>
+3483 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3484 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3485 
+3486 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3487 <span class="comment">%       See ISPC and COMPUTER.</span>
+3488 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3489     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3490 <span class="keyword">end</span>
+3491 
+3492 
+3493 
+3494 <a name="_sub163" href="#_subfunctions" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a>
+3495 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+3496 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3497 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3498 
+3499 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_qlt1 as text</span>
+3500 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_qlt1 as a double</span>
+3501 
+3502 
+3503 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3504 <a name="_sub164" href="#_subfunctions" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a>
+3505 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+3506 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3507 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3508 
+3509 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3510 <span class="comment">%       See ISPC and COMPUTER.</span>
+3511 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3512     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3513 <span class="keyword">end</span>
+3514 
+3515 
+3516 
+3517 <a name="_sub165" href="#_subfunctions" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a>
+3518 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+3519 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3520 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3521 
+3522 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_iboo as text</span>
+3523 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_iboo as a double</span>
+3524 
+3525 
+3526 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3527 <a name="_sub166" href="#_subfunctions" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a>
+3528 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+3529 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3530 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3531 
+3532 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3533 <span class="comment">%       See ISPC and COMPUTER.</span>
+3534 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3535     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3536 <span class="keyword">end</span>
+3537 
+3538 
+3539 
+3540 <a name="_sub167" href="#_subfunctions" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a>
+3541 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+3542 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3543 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3544 
+3545 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians as text</span>
+3546 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians as a double</span>
+3547 
+3548 
+3549 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3550 <a name="_sub168" href="#_subfunctions" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a>
+3551 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+3552 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3553 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3554 
+3555 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3556 <span class="comment">%       See ISPC and COMPUTER.</span>
+3557 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3558     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3559 <span class="keyword">end</span>
+3560 
+3561 
+3562 
+3563 <a name="_sub169" href="#_subfunctions" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a>
+3564 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3565 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3566 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3567 
+3568 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rlt1 as text</span>
+3569 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rlt1 as a double</span>
+3570 
+3571 
+3572 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3573 <a name="_sub170" href="#_subfunctions" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a>
+3574 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3575 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3576 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3577 
+3578 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3579 <span class="comment">%       See ISPC and COMPUTER.</span>
+3580 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3581     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3582 <span class="keyword">end</span>
+3583 
+3584 
+3585 
+3586 <a name="_sub171" href="#_subfunctions" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a>
+3587 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3588 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3589 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3590 
+3591 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rboo as text</span>
+3592 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rboo as a double</span>
+3593 
+3594 
+3595 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3596 <a name="_sub172" href="#_subfunctions" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a>
+3597 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3598 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3599 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3600 
+3601 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3602 <span class="comment">%       See ISPC and COMPUTER.</span>
+3603 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3604     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3605 <span class="keyword">end</span>
+3606 
+3607 
+3608 
+3609 <a name="_sub173" href="#_subfunctions" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a>
+3610 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3611 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3612 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3613 
+3614 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rans as text</span>
+3615 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rans as a double</span>
+3616 
+3617 
+3618 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3619 <a name="_sub174" href="#_subfunctions" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a>
+3620 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3621 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3622 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3623 
+3624 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3625 <span class="comment">%       See ISPC and COMPUTER.</span>
+3626 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3627     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3628 <span class="keyword">end</span>
+3629 
+3630 
+3631 
+3632 <a name="_sub175" href="#_subfunctions" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a>
+3633 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3634 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3635 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3636 
+3637 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians1 as text</span>
+3638 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians1 as a double</span>
+3639 
+3640 
+3641 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3642 <a name="_sub176" href="#_subfunctions" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a>
+3643 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3644 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3645 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3646 
+3647 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3648 <span class="comment">%       See ISPC and COMPUTER.</span>
+3649 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3650     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3651 <span class="keyword">end</span>
+3652 
+3653 
+3654 
+3655 <a name="_sub177" href="#_subfunctions" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a>
+3656 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3657 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3658 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3659 
+3660 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_cycle as text</span>
+3661 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_cycle as a double</span>
+3662 
+3663 
+3664 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3665 <a name="_sub178" href="#_subfunctions" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a>
+3666 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3667 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3668 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3669 
+3670 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3671 <span class="comment">%       See ISPC and COMPUTER.</span>
+3672 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3673     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3674 <span class="keyword">end</span>
+3675 
+3676 
+3677 
+3678 <a name="_sub179" href="#_subfunctions" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a>
+3679 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3680 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3681 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3682 
+3683 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_courant_total as text</span>
+3684 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_courant_total as a double</span>
+3685 
+3686 
+3687 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3688 <a name="_sub180" href="#_subfunctions" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a>
+3689 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3690 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3691 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3692 
+3693 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3694 <span class="comment">%       See ISPC and COMPUTER.</span>
+3695 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3696     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3697 <span class="keyword">end</span>
+3698 
+3699</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur6.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur6.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur6.html	(revision 17)
@@ -0,0 +1,4154 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur6</title>
+  <meta name="keywords" content="synchro_injecteur6">
+  <meta name="description" content="SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur6.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur6
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur6(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig
+      SYNCHRO_INJECTEUR6, by itself, creates a new SYNCHRO_INJECTEUR6 or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR6 returns the handle to a new SYNCHRO_INJECTEUR6 or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR6('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR6.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR6('Property','Value',...) creates a new SYNCHRO_INJECTEUR6 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur6_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur6_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li><li><a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>	fix premier quart</li><li><a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>	calcul efficacitÃ©</li><li><a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>	retour update</li><li><a href="start_3Hz.html" class="code" title="function start_3Hz(event)">start_3Hz</a>	test 3Hz</li><li><a href="start_soft.html" class="code" title="function start_soft">start_soft</a>	test 3Hz</li><li><a href="step.html" class="code" title="">step</a>	reglage delta tune Ã  110 MeV</li><li><a href="stop_3Hz.html" class="code" title="function stop_3Hz">stop_3Hz</a>	test 3Hz</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur6_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur6_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function boo_alim_dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function boo_alim_qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function boo_alim_qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function boo_alim_qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function boo_alim_qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function boo_alim_sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function boo_alim_sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function boo_alim_sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function boo_alim_sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function lin_canon_lpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function lin_canon_spm_fin_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function central_pc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function central_pc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function central_inj_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function central_inj_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function central_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function central_soft_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function button_acquisition_nooffset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function button_acquisition_delay_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function button_injection_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub51" class="code">function fonction_alex1(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub52" class="code">function fonction_alex2(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub53" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub54" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function central_ext_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function central_ext_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function central_soft1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function central_soft1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function sdc2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function button_acquisition_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub107" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub108" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub109" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub110" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub111" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub112" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub113" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub114" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub115" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub116" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub117" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub118" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub119" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub120" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub121" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub122" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub123" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub124" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub125" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub126" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub127" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub128" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub129" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub130" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub131" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub132" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub133" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub134" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub135" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub136" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub137" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub138" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub139" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub140" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub141" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub142" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub143" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub144" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub145" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub146" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub147" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub148" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub149" class="code">function button_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub150" class="code">function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub151" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub152" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub153" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub154" class="code">function button_fix_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub155" class="code">function edit_Nshot_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub156" class="code">function edit_Nshot_soft_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub157" class="code">function edit_laps_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub158" class="code">function edit_laps_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub159" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub160" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub161" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub162" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub163" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub164" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub165" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub166" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub167" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub168" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub169" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub170" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub171" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub172" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub173" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub174" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub175" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub176" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub177" class="code">function lin_canon_spm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub178" class="code">function lin_canon_spm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub179" class="code">function  uipanel_mode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub180" class="code">function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub181" class="code">function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub182" class="code">function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub183" class="code">function edit_Imin_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub184" class="code">function edit_Imin_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub185" class="code">function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub186" class="code">function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur6(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR6 M-file for synchro_injecteur6.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR6, by itself, creates a new SYNCHRO_INJECTEUR6 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR6 returns the handle to a new SYNCHRO_INJECTEUR6 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR6('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR6.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR6('Property','Value',...) creates a new SYNCHRO_INJECTEUR6 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur6_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur6_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur6</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 05-Dec-2006 14:53:15</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur6_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur6_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur6_OutputFcn(hObject, eventdata, handles)">synchro_injecteur6_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_injecteur6 is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur6_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_injecteur6 (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_injecteur6</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% Charge les offset</span>
+0059 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0060 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0061 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0062 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+0063 <span class="comment">% Periode linac fin</span>
+0064 handles.lin_fin_step=0.090;                   <span class="comment">% En ns  (90 ps)</span>
+0065 handles.one_bunch=2.84/handles.lin_fin_step;  <span class="comment">% Nombre de pas pour sauter un paquet</span>
+0066 
+0067 <span class="comment">% Periode du trigger par defaut = 10 s</span>
+0068 handles.periode = 10;
+0069 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0070 set(handles.edit_Nshot_soft,<span class="string">'String'</span>,num2str(1));
+0071 set(handles.edit_laps,<span class="string">'String'</span>,1.0);
+0072 
+0073 <span class="comment">%Memorise les dÃ©lais pc et soft initiaux</span>
+0074 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);
+0075 clk1=temp.value(1);
+0076 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0077 clk2=temp.value(1);
+0078 
+0079 <span class="comment">%Stocke les sauts pour les 4 quarts mode LPM</span>
+0080 jump=int32([0 39 26 13]);
+0081 handles.clk_pc  =jump +  int32(clk1);
+0082 handles.clk_soft=jump  + int32(clk2);
+0083 handles.quart=1;
+0084 
+0085 <span class="comment">% Table initiale sur paquet 1</span>
+0086 bunch=[1];
+0087 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+0088 offset_linac=lin_fin/handles.lin_fin_step; 
+0089 bjump=handles.one_bunch;
+0090 dpaquet=dpaquet*bjump+offset_linac;
+0091 handles.table=int32([length(bunch) dtour dpaquet]);
+0092 handles.table0=handles.table;
+0093 handles.bunch=bunch;
+0094 
+0095 handles.mode = <span class="string">'Mode=???'</span>;
+0096 set(handles.edit_filling_relecture_tables,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0097 set(handles.edit_filling_relecture_bunch,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0098 
+0099 
+0100 <span class="comment">% Verifie le mode selectionnÃ© en SPM ou LPM</span>
+0101 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0102 modelpm=temp.value(1);
+0103 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+0104 modespm=temp.value(1);
+0105 h=get(handles.uipanel_lpm_spm_mode);
+0106 <span class="keyword">if</span>     (modelpm==5)&amp;(modespm==0)
+0107     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+0108 <span class="keyword">elseif</span> (modelpm==0)&amp;(modespm==5)
+0109     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+0110 <span class="keyword">else</span>
+0111     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(3))
+0112 <span class="keyword">end</span>
+0113 
+0114 
+0115 
+0116 <span class="comment">% Verifie le mode selectionnÃ© en SPM : 1 2 ou 3 paquets</span>
+0117 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>);
+0118 mode=temp.value(1);
+0119 h=get(handles.uipanel_spm_mode);
+0120 select=h.Children(5-mode);
+0121 set(handles.uipanel_spm_mode,<span class="string">'SelectedObject'</span>,select)
+0122 
+0123 <span class="comment">% Verifie le mode d'injection selectionnÃ© : soft ou 3Hz</span>
+0124 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+0125 mode=temp.value(1);
+0126 h=get(handles.uipanel_mode);
+0127 <span class="keyword">if</span>     mode==2
+0128     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+0129 <span class="keyword">elseif</span> mode==1
+0130     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+0131 <span class="keyword">else</span>
+0132     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,[])
+0133 <span class="keyword">end</span>
+0134 
+0135 
+0136 <span class="comment">% Cache le tableau des dÃ©lais BPM</span>
+0137 set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0138 
+0139 
+0140 
+0141 <span class="comment">% Fonction timer pour injection en boucle</span>
+0142 <span class="comment">% Creates timer Infinite loop</span>
+0143 timer2=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0144     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,3,<span class="string">'TasksToExecute'</span>,Inf);
+0145 timer2.TimerFcn = {@<a href="#_sub52" class="code" title="subfunction fonction_alex2(arg1,arg2,hObject,eventdata,handles)">fonction_alex2</a>, hObject,eventdata, handles};
+0146 setappdata(handles.figure1,<span class="string">'Timer2'</span>,timer2);
+0147 
+0148 <span class="comment">% Creates timer Infinite loop</span>
+0149 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0150     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0151 timer1.TimerFcn = {@<a href="#_sub51" class="code" title="subfunction fonction_alex1(arg1,arg2,hObject,eventdata,handles)">fonction_alex1</a>, hObject,eventdata, handles};
+0152 setappdata(handles.figure1,<span class="string">'Timer1'</span>,timer1);
+0153 
+0154 <span class="comment">% button group sur on/off timer du trigger</span>
+0155 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.1405 0.32 0.11 0.14],<span class="keyword">...</span>
+0156     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0157     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0158 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0159     <span class="string">'pos'</span>,[05 85 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0160     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0161 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' Laps :'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0162     <span class="string">'pos'</span>,[05 45 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0163     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0164 u3 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' Imin :'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton3'</span>,<span class="keyword">...</span>
+0165     <span class="string">'pos'</span>,[05 05 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0166     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0167 
+0168 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0169     {@<a href="#_sub50" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0170 
+0171 handles.off = u1;
+0172 handles.on1 = u2;
+0173 handles.on2 = u3;
+0174 
+0175 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0176 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0177 
+0178 <span class="comment">%% Set closing gui function</span>
+0179 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub53" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0180 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub53" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer2,handles.figure1});
+0181 
+0182 
+0183 <span class="comment">% Update handles structure</span>
+0184 guidata(hObject, handles);
+0185 
+0186 <span class="comment">% UIWAIT makes synchro_injecteur6 wait for user response (see UIRESUME)</span>
+0187 <span class="comment">% uiwait(handles.figure1);</span>
+0188 
+0189 
+0190 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0191 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur6_OutputFcn(hObject, eventdata, handles) </a>
+0192 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0193 <span class="comment">% hObject    handle to figure</span>
+0194 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0195 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0196 
+0197 <span class="comment">% Get default command line output from handles structure</span>
+0198 varargout{1} = handles.output;
+0199 
+0200 
+0201 
+0202 <a name="_sub3" href="#_subfunctions" class="code">function boo_alim_dipole_Callback(hObject, eventdata, handles)</a>
+0203 <span class="comment">% hObject    handle to boo_alim_dipole (see GCBO)</span>
+0204 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0205 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0206 
+0207 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_dipole as text</span>
+0208 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_dipole as a double</span>
+0209 <span class="comment">%h=gcf</span>
+0210 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0211 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0212 
+0213 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0214 <a name="_sub4" href="#_subfunctions" class="code">function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)</a>
+0215 <span class="comment">% hObject    handle to boo_alim_dipole (see GCBO)</span>
+0216 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0217 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0218 
+0219 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0220 <span class="comment">%       See ISPC and COMPUTER.</span>
+0221 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0222     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0223 <span class="keyword">end</span>
+0224 
+0225 
+0226 <a name="_sub5" href="#_subfunctions" class="code">function boo_alim_qf_Callback(hObject, eventdata, handles)</a>
+0227 <span class="comment">% hObject    handle to boo_alim_qf (see GCBO)</span>
+0228 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0229 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0230 
+0231 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_qf as text</span>
+0232 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_qf as a double</span>
+0233 
+0234 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0235 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0236 
+0237 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0238 <a name="_sub6" href="#_subfunctions" class="code">function boo_alim_qf_CreateFcn(hObject, eventdata, handles)</a>
+0239 <span class="comment">% hObject    handle to boo_alim_qf (see GCBO)</span>
+0240 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0241 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0242 
+0243 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0244 <span class="comment">%       See ISPC and COMPUTER.</span>
+0245 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0246     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0247 <span class="keyword">end</span>
+0248 
+0249 
+0250 
+0251 <a name="_sub7" href="#_subfunctions" class="code">function boo_alim_qd_Callback(hObject, eventdata, handles)</a>
+0252 <span class="comment">% hObject    handle to boo_alim_qd (see GCBO)</span>
+0253 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0254 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0255 
+0256 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_qd as text</span>
+0257 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_qd as a double</span>
+0258 
+0259 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0260 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0261 
+0262 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0263 <a name="_sub8" href="#_subfunctions" class="code">function boo_alim_qd_CreateFcn(hObject, eventdata, handles)</a>
+0264 <span class="comment">% hObject    handle to boo_alim_qd (see GCBO)</span>
+0265 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0266 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0267 
+0268 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0269 <span class="comment">%       See ISPC and COMPUTER.</span>
+0270 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0271     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0272 <span class="keyword">end</span>
+0273 
+0274 
+0275 
+0276 <a name="_sub9" href="#_subfunctions" class="code">function boo_alim_sf_Callback(hObject, eventdata, handles)</a>
+0277 <span class="comment">% hObject    handle to boo_alim_sf (see GCBO)</span>
+0278 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0279 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0280 
+0281 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_sf as text</span>
+0282 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_sf as a double</span>
+0283 
+0284 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0285 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0286 
+0287 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0288 <a name="_sub10" href="#_subfunctions" class="code">function boo_alim_sf_CreateFcn(hObject, eventdata, handles)</a>
+0289 <span class="comment">% hObject    handle to boo_alim_sf (see GCBO)</span>
+0290 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0291 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0292 
+0293 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0294 <span class="comment">%       See ISPC and COMPUTER.</span>
+0295 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0296     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0297 <span class="keyword">end</span>
+0298 
+0299 
+0300 
+0301 <a name="_sub11" href="#_subfunctions" class="code">function boo_alim_sd_Callback(hObject, eventdata, handles)</a>
+0302 <span class="comment">% hObject    handle to boo_alim_sd (see GCBO)</span>
+0303 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0304 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0305 
+0306 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_sd as text</span>
+0307 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_sd as a double</span>
+0308 
+0309 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0310 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0311 
+0312 
+0313 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0314 <a name="_sub12" href="#_subfunctions" class="code">function boo_alim_sd_CreateFcn(hObject, eventdata, handles)</a>
+0315 <span class="comment">% hObject    handle to boo_alim_sd (see GCBO)</span>
+0316 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0317 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0318 
+0319 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0320 <span class="comment">%       See ISPC and COMPUTER.</span>
+0321 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0322     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0323 <span class="keyword">end</span>
+0324 
+0325 
+0326 
+0327 <a name="_sub13" href="#_subfunctions" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a>
+0328 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0329 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0330 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0331 
+0332 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_rf as text</span>
+0333 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_rf as a double</span>
+0334 
+0335 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0336 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0337 
+0338 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0339 <a name="_sub14" href="#_subfunctions" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a>
+0340 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0341 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0342 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0343 
+0344 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0345 <span class="comment">%       See ISPC and COMPUTER.</span>
+0346 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0347     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0348 <span class="keyword">end</span>
+0349 
+0350 
+0351 
+0352 <a name="_sub15" href="#_subfunctions" class="code">function lin_canon_lpm_Callback(hObject, eventdata, handles)</a>
+0353 <span class="comment">% hObject    handle to lin_canon_lpm (see GCBO)</span>
+0354 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0355 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0356 
+0357 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_lpm as text</span>
+0358 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_lpm as a double</span>
+0359 
+0360 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0361 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0362 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0363 
+0364 
+0365 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0366 <a name="_sub16" href="#_subfunctions" class="code">function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)</a>
+0367 <span class="comment">% hObject    handle to lin_canon_lpm (see GCBO)</span>
+0368 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0369 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0370 
+0371 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0372 <span class="comment">%       See ISPC and COMPUTER.</span>
+0373 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0374     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0375 <span class="keyword">end</span>
+0376 
+0377 
+0378 
+0379 <a name="_sub17" href="#_subfunctions" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a>
+0380 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0381 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0382 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0383 
+0384 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_emittance as text</span>
+0385 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double</span>
+0386 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0387 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0388 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0389 
+0390 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0391 <a name="_sub18" href="#_subfunctions" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a>
+0392 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0393 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0394 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0395 
+0396 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0397 <span class="comment">%       See ISPC and COMPUTER.</span>
+0398 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0399     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0400 <span class="keyword">end</span>
+0401 
+0402 
+0403 
+0404 <a name="_sub19" href="#_subfunctions" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a>
+0405 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0406 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0407 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0408 
+0409 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC1 as text</span>
+0410 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double</span>
+0411 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0412 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0413 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0414 
+0415 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0416 <a name="_sub20" href="#_subfunctions" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a>
+0417 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0418 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0419 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0420 
+0421 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0422 <span class="comment">%       See ISPC and COMPUTER.</span>
+0423 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0424     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0425 <span class="keyword">end</span>
+0426 
+0427 
+0428 
+0429 <a name="_sub21" href="#_subfunctions" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a>
+0430 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0431 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0432 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0433 
+0434 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC2 as text</span>
+0435 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double</span>
+0436 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0437 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0438 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0439 
+0440 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0441 <a name="_sub22" href="#_subfunctions" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a>
+0442 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0443 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0444 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0445 
+0446 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0447 <span class="comment">%       See ISPC and COMPUTER.</span>
+0448 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0449     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0450 <span class="keyword">end</span>
+0451 
+0452 
+0453 
+0454 <a name="_sub23" href="#_subfunctions" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a>
+0455 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0456 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0457 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0458 
+0459 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_osc as text</span>
+0460 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double</span>
+0461 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0462 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0463 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0464 
+0465 
+0466 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0467 <a name="_sub24" href="#_subfunctions" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a>
+0468 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0469 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0470 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0471 
+0472 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0473 <span class="comment">%       See ISPC and COMPUTER.</span>
+0474 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0475     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0476 <span class="keyword">end</span>
+0477 
+0478 
+0479 
+0480 <a name="_sub25" href="#_subfunctions" class="code">function sdc1_Callback(hObject, eventdata, handles)</a>
+0481 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0482 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0483 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0484 
+0485 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc1 as text</span>
+0486 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc1 as a double</span>
+0487 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0488 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0489 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0490 
+0491 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0492 <a name="_sub26" href="#_subfunctions" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a>
+0493 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0494 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0495 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0496 
+0497 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0498 <span class="comment">%       See ISPC and COMPUTER.</span>
+0499 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0500     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0501 <span class="keyword">end</span>
+0502 
+0503 
+0504 
+0505 <a name="_sub27" href="#_subfunctions" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a>
+0506 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0507 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0508 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0509 
+0510 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_septum as text</span>
+0511 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double</span>
+0512 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0513 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0514 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+0515 
+0516 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0517 <a name="_sub28" href="#_subfunctions" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a>
+0518 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0519 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0520 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0521 
+0522 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0523 <span class="comment">%       See ISPC and COMPUTER.</span>
+0524 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0525     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0526 <span class="keyword">end</span>
+0527 
+0528 
+0529 
+0530 <a name="_sub29" href="#_subfunctions" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a>
+0531 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0532 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0533 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0534 
+0535 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text</span>
+0536 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double</span>
+0537 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0538 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0539 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+0540 
+0541 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0542 <a name="_sub30" href="#_subfunctions" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a>
+0543 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0544 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0545 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0546 
+0547 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0548 <span class="comment">%       See ISPC and COMPUTER.</span>
+0549 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0550     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0551 <span class="keyword">end</span>
+0552 
+0553 
+0554 
+0555 <a name="_sub31" href="#_subfunctions" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a>
+0556 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0557 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0558 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0559 
+0560 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_bpm as text</span>
+0561 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double</span>
+0562 
+0563 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0564 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0565 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0566 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0567 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+0568 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+0569 
+0570 
+0571 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0572 <a name="_sub32" href="#_subfunctions" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a>
+0573 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0574 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0575 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0576 
+0577 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0578 <span class="comment">%       See ISPC and COMPUTER.</span>
+0579 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0580     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0581 <span class="keyword">end</span>
+0582 
+0583 
+0584 
+0585 <a name="_sub33" href="#_subfunctions" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a>
+0586 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0587 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0588 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0589 
+0590 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_nod as text</span>
+0591 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_nod as a double</span>
+0592 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0593 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0594 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+0595 
+0596 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0597 <a name="_sub34" href="#_subfunctions" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a>
+0598 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0599 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0600 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0601 
+0602 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0603 <span class="comment">%       See ISPC and COMPUTER.</span>
+0604 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0605     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0606 <span class="keyword">end</span>
+0607 
+0608 
+0609 
+0610 <a name="_sub35" href="#_subfunctions" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a>
+0611 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0612 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0613 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0614 
+0615 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_dcct as text</span>
+0616 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double</span>
+0617 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0618 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0619 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0620 
+0621 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0622 <a name="_sub36" href="#_subfunctions" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a>
+0623 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0624 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0625 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0626 
+0627 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0628 <span class="comment">%       See ISPC and COMPUTER.</span>
+0629 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0630     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0631 <span class="keyword">end</span>
+0632 
+0633 
+0634 
+0635 <a name="_sub37" href="#_subfunctions" class="code">function lin_canon_spm_fin_Callback(hObject, eventdata, handles)</a>
+0636 <span class="comment">% hObject    handle to lin_canon_spm_fin (see GCBO)</span>
+0637 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0638 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0639 
+0640 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_spm_fin as text</span>
+0641 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_spm_fin as a double</span>
+0642 
+0643 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0644 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+0645 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+0646 save(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0647 
+0648 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0649 <a name="_sub38" href="#_subfunctions" class="code">function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)</a>
+0650 <span class="comment">% hObject    handle to lin_canon_spm_fin (see GCBO)</span>
+0651 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0652 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0653 
+0654 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0655 <span class="comment">%       See ISPC and COMPUTER.</span>
+0656 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0657     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0658 <span class="keyword">end</span>
+0659 
+0660 
+0661 
+0662 <a name="_sub39" href="#_subfunctions" class="code">function central_pc_Callback(hObject, eventdata, handles)</a>
+0663 <span class="comment">% hObject    handle to central_pc (see GCBO)</span>
+0664 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0665 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0666 
+0667 <span class="comment">% Hints: get(hObject,'String') returns contents of central_pc as text</span>
+0668 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_pc as a double</span>
+0669 
+0670 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0671 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+0672 
+0673 <span class="comment">%status soft checked on linac</span>
+0674 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0675 <span class="keyword">if</span> (temp.value(1)==2)
+0676    <span class="comment">%</span>
+0677 <span class="keyword">elseif</span> (temp.value(1)==5)
+0678     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0679     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0680     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0681     delay=dt.value(1)-dt1.value(1)+inj_offset;
+0682     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0683     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0684     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+0685 <span class="keyword">end</span>
+0686 
+0687 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0688 <a name="_sub40" href="#_subfunctions" class="code">function central_pc_CreateFcn(hObject, eventdata, handles)</a>
+0689 <span class="comment">% hObject    handle to central_pc (see GCBO)</span>
+0690 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0691 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0692 
+0693 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0694 <span class="comment">%       See ISPC and COMPUTER.</span>
+0695 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0696     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0697 <span class="keyword">end</span>
+0698 
+0699 
+0700 
+0701 <a name="_sub41" href="#_subfunctions" class="code">function central_inj_Callback(hObject, eventdata, handles)</a>
+0702 <span class="comment">% hObject    handle to central_inj (see GCBO)</span>
+0703 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0704 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0705 
+0706 <span class="comment">% Hints: get(hObject,'String') returns contents of central_inj as text</span>
+0707 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_inj as a double</span>
+0708 
+0709 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0710 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0711 
+0712 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0713 <a name="_sub42" href="#_subfunctions" class="code">function central_inj_CreateFcn(hObject, eventdata, handles)</a>
+0714 <span class="comment">% hObject    handle to central_inj (see GCBO)</span>
+0715 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0716 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0717 
+0718 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0719 <span class="comment">%       See ISPC and COMPUTER.</span>
+0720 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0721     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0722 <span class="keyword">end</span>
+0723 
+0724 
+0725 
+0726 
+0727 <a name="_sub43" href="#_subfunctions" class="code">function central_soft_Callback(hObject, eventdata, handles)</a>
+0728 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+0729 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0730 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0731 
+0732 <span class="comment">% Hints: get(hObject,'String') returns contents of central_soft as text</span>
+0733 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_soft as a double</span>
+0734 
+0735 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0736 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0737 
+0738 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0739 clkinj=int32(temp.value(1)+5*52);
+0740 clkext=int32(temp.value(1)/52+10);
+0741 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+0742 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+0743 
+0744 <span class="comment">%status soft checked on linac</span>
+0745 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+0746 <span class="keyword">if</span> (temp.value(1)==2)
+0747    <span class="comment">%</span>
+0748 <span class="keyword">elseif</span> (temp.value(1)==1)
+0749     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0750     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0751     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0752     delay=dt.value(1)-dt1.value(1)+inj_offset;
+0753     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0754     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0755     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+0756 <span class="keyword">end</span>
+0757 
+0758 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0759 <a name="_sub44" href="#_subfunctions" class="code">function central_soft_CreateFcn(hObject, eventdata, handles)</a>
+0760 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+0761 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0762 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0763 
+0764 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0765 <span class="comment">%       See ISPC and COMPUTER.</span>
+0766 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0767     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0768 <span class="keyword">end</span>
+0769 
+0770 
+0771 <span class="comment">% --- Executes on button press in button_acquisition_nooffset.</span>
+0772 <a name="_sub45" href="#_subfunctions" class="code">function button_acquisition_nooffset_Callback(hObject, eventdata, handles)</a>
+0773 <span class="comment">% hObject    handle to button_acquisition_nooffset (see GCBO)</span>
+0774 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0775 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0776 
+0777 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0778 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0779 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0780 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0781 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0782 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0783 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0784 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0785 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0786 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0787 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0788 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0789 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0790 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0791 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0792 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0793 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0794 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0795 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0796 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0797 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0798 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0799 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0800 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0801 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0802 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0803 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0804 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0805 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0806 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0807 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0808 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0809 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0810 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0811 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0812 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0813 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0814 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0815 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0816 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0817 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0818 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0819 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0820 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0821 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0822 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0823 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0824 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0825 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0826 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0827 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0828 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0829 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0830 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0831 
+0832 
+0833 n=1;
+0834 
+0835 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0836 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0837 
+0838 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0839 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+0840 
+0841 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0842 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+0843 
+0844 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0845 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+0846 
+0847 
+0848 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0849 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0850 
+0851 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0852 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0853 
+0854 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>);
+0855 set(handles.lin_canon_spm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0856 
+0857 
+0858 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0859 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0860 
+0861 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0862 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0863 
+0864 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0865 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0866 
+0867 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0868 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0869 
+0870 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0871 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0872 
+0873 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0874 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0875 
+0876 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0877 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0878 
+0879 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0880 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0881 
+0882 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0883 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0884 
+0885 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0886 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0887 
+0888 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0889 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0890 
+0891 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0892 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0893 
+0894 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0895 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0896 
+0897 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0898 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0899 
+0900 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0901 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0902 
+0903 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0904 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0905 
+0906 
+0907 
+0908 
+0909 
+0910 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0911 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0912 
+0913 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0914 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0915 
+0916 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0917 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0918 
+0919 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0920 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0921 
+0922 
+0923 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0924 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0925 
+0926 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+0927 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0928 
+0929 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+0930 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0931 
+0932 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0933 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0934 
+0935 
+0936 
+0937 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0938 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0939 
+0940 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0941 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0942 
+0943 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0944 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0945 
+0946 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0947 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0948 
+0949 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0950 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0951 
+0952 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0953 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0954 
+0955 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0956 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0957 
+0958 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0959 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0960 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+0961 
+0962 
+0963 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0964 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+0965 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0966 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+0967 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0968 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+0969 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0970 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+0971 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0972 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+0973 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0974 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+0975 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0976 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+0977 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0978 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+0979 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0980 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+0981 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0982 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+0983 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0984 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+0985 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0986 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+0987 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0988 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+0989 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0990 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+0991 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0992 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+0993 
+0994 
+0995 
+0996 <span class="comment">%status soft checked on linac</span>
+0997 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0998 <span class="keyword">if</span> (temp.value(n)==2)
+0999     <span class="comment">%set(handles.soft_button,'Value',0);</span>
+1000 <span class="keyword">elseif</span> (temp.value(n)==5)
+1001     <span class="comment">%set(handles.soft_button,'Value',1);</span>
+1002 <span class="keyword">end</span>
+1003 
+1004 <span class="comment">%status tables</span>
+1005 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1006 offset=temp.value(1)*52;
+1007 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+1008 n=temp.value;
+1009 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+1010 table=temp.value(1:n)-offset;
+1011 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[<span class="string">'T='</span> , num2str(table)]);  
+1012 
+1013 
+1014 
+1015 <span class="comment">% --- Executes on button press in button_acquisition_delay.</span>
+1016 <a name="_sub46" href="#_subfunctions" class="code">function button_acquisition_delay_Callback(hObject, eventdata, handles)</a>
+1017 <span class="comment">% hObject    handle to button_acquisition_delay (see GCBO)</span>
+1018 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1019 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1020 
+1021 
+1022 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1023 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1024 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1025 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1026 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1027 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1028 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1029 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1030 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1031 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1032 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1033 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1034 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1035 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1036 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1037 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1038 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1039 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1040 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1041 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1042 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1043 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1044 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1045 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1046 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1047 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1048 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1049 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1050 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1051 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1052 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1053 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1054 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1055 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1056 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1057 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1058 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1059 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1060 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1061 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1062 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1063 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1064 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1065 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1066 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1067 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1068 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1069 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1070 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1071 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1072 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1073 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1074 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1075 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1076 
+1077 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+1078 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+1079 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+1080 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+1081 
+1082 n=1;
+1083 
+1084 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+1085 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+1086 
+1087 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1088 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+1089 
+1090 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1091 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+1092 set(handles.central_soft1,<span class="string">'String'</span>,num2str(temp.value(n)));
+1093 
+1094 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1095 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+1096 
+1097 
+1098 
+1099 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1100 
+1101 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1102 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1103 
+1104 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+1105 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1106 
+1107 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>);
+1108 set(handles.lin_canon_spm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1109 
+1110 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+1111 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1112 
+1113 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+1114 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1115 
+1116 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+1117 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1118 
+1119 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+1120 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1121 
+1122 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1123 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1124 
+1125 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+1126 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1127 
+1128 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+1129 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1130 
+1131 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1132 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1133 
+1134 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1135 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1136 
+1137 
+1138 
+1139 
+1140 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+1141 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+1142 
+1143 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+1144 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1145 
+1146 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+1147 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1148 
+1149 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+1150 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1151 
+1152 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+1153 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1154 
+1155 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+1156 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1157 
+1158 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1159 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1160 
+1161 
+1162 
+1163 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1164 
+1165 
+1166 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+1167 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1168 
+1169 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1170 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1171 
+1172 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1173 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1174 
+1175 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1176 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1177 
+1178 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1179 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1180 
+1181 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+1182 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1183 
+1184 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+1185 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1186 
+1187 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1188 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1189 
+1190 
+1191 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+1192 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1193 
+1194 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+1195 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1196 
+1197 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+1198 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1199 
+1200 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+1201 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1202 
+1203 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1204 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1205 
+1206 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1207 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1208 
+1209 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+1210 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1211 
+1212 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1213 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1214 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1215 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1216 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1217 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1218 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1219 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1220 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1221 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1222 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1223 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1224 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1225 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1226 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1227 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1228 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1229 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1230 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1231 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1232 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1233 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1234 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1235 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1236 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1237 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1238 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1239 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1240 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1241 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1242 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1243 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1244 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1245 
+1246 <span class="comment">%status soft checked on linac</span>
+1247 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+1248 <span class="keyword">if</span> (temp.value(n)==2)
+1249     <span class="comment">%set(handles.soft_button,'Value',0);</span>
+1250 <span class="keyword">elseif</span> (temp.value(n)==5)
+1251     <span class="comment">%set(handles.uipanel_mode,'String','Mode Soft');</span>
+1252 <span class="keyword">end</span>
+1253 
+1254 <span class="comment">%status tables</span>
+1255 <span class="comment">%temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');</span>
+1256 <span class="comment">%offset=temp.value(1)*52;</span>
+1257 offset_linac=10*lin_fin;
+1258 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+1259 n=temp.value;
+1260 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+1261 table_ext=temp.value(1:n); <span class="comment">%-offset_ext;</span>
+1262 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'LinacDelayTable'</span>);
+1263 table_linac=(temp.value(1:n)-offset_linac)/28;
+1264 table=[];
+1265 <span class="keyword">for</span> i=1:n
+1266     table=[table <span class="string">' '</span> <span class="string">'('</span> num2str([table_ext(i)])  <span class="string">' '</span>  num2str([table_linac(i)]) <span class="string">')'</span>];
+1267 <span class="keyword">end</span>
+1268 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+1269 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,<span class="string">'??'</span>);
+1270 
+1271 
+1272 
+1273 <span class="comment">% --- Executes on button press in button_injection_soft.</span>
+1274 <a name="_sub47" href="#_subfunctions" class="code">function button_injection_soft_Callback(hObject, eventdata, handles)</a>
+1275 <span class="comment">% hObject    handle to button_injection_soft (see GCBO)</span>
+1276 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1277 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1278 
+1279 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+1280 offset_linac=10*str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));<span class="comment">% dÃ©lai fin de rÃ©glage en pas de 100 ps</span>
+1281 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);      <span class="comment">% mode soft ou 3Hz</span>
+1282 modefill=get(handles.listbox_fillingmode,<span class="string">'Value'</span>);                  <span class="comment">% mode de remplissage</span>
+1283 handles.table
+1284 [clk_pc,clk_soft]=<a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>;
+1285 handles.clk_pc =clk_pc;
+1286 handles.clk_soft=clk_soft;
+1287 
+1288 dt=1.5; <span class="comment">% dÃ©lais pour acquisitions rendements</span>
+1289 <span class="comment">%Inialise data pour les rendements</span>
+1290 temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur0=temp.value;
+1291 q1=0;q2=0;n=0;
+1292 
+1293 
+1294 modeinj=<span class="string">'k'</span>;
+1295 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)
+1296     boucle=int16(str2double(get(handles.edit_Nshot_soft,<span class="string">'String'</span>)));  
+1297     modeinj=<span class="string">'Injection soft'</span>;
+1298     <span class="keyword">if</span> (modefill&lt;=4) <span class="comment">% LPM</span>
+1299         <span class="keyword">for</span> k=1:boucle
+1300             i=int16(modefill);
+1301             clk1=handles.clk_pc(i);
+1302             clk2=handles.clk_soft(i);
+1303             tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+1304             tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+1305             tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1306             pause(dt)
+1307             [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1308         <span class="keyword">end</span>
+1309     <span class="keyword">elseif</span> (modefill&gt;4)&amp;&amp;(modefill&lt;=7) <span class="comment">%LPM</span>
+1310         <span class="keyword">for</span> k=1:boucle
+1311             <span class="keyword">for</span> i=1:(modefill-3)
+1312                 clk1=handles.clk_pc(i);
+1313                 clk2=handles.clk_soft(i);
+1314                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+1315                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+1316                 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1317                 pause(dt)
+1318                 [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1319             <span class="keyword">end</span>
+1320         <span class="keyword">end</span>    
+1321     <span class="keyword">elseif</span> (modefill==8)   <span class="comment">% LPM</span>
+1322         <span class="keyword">for</span> k=1:boucle
+1323             clk1=handles.clk_pc(1);
+1324             clk2=handles.clk_soft(1);
+1325             bunch=1 + (0:12)*32;
+1326             [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);    
+1327             clk_pc  =int32(dtour) +  int32(clk1);
+1328             clk_soft=int32(dtour)  + int32(clk2);
+1329             <span class="keyword">for</span> i=1:13
+1330                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk_pc(i));
+1331                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk_soft(i));
+1332                 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1333                 pause(dt)
+1334                 [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1335             <span class="keyword">end</span>
+1336         <span class="keyword">end</span>   
+1337     <span class="keyword">elseif</span> (modefill&gt;=9) <span class="comment">%SPM</span>
+1338         clk1=handles.clk_pc(1);
+1339         clk2=handles.clk_soft(1);
+1340         table=handles.table;
+1341         nb=table(1);
+1342         dtour=table(2:1+nb);
+1343         paq  =table(2+nb:1+2*nb);
+1344         clk_pc  =int32(dtour) +  int32(clk1);
+1345         clk_soft=int32(dtour)  + int32(clk2);    
+1346         <span class="keyword">for</span> k=1:boucle
+1347             <span class="keyword">for</span> i=1:nb  
+1348                 table=int32([1 0 paq(i)]);
+1349                 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table); pause(0.2)  ;             
+1350                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk_pc(i));
+1351                 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk_soft(i));
+1352                 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1353                 pause(dt)
+1354                 [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1355             <span class="keyword">end</span> 
+1356         <span class="keyword">end</span>           
+1357     <span class="keyword">end</span>
+1358     
+1359     clk1=handles.clk_pc(1);
+1360     clk2=handles.clk_soft(1);
+1361     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+1362     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+1363     
+1364     <span class="comment">% Calcul des rendements</span>
+1365     pause(1);
+1366     temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1367     dcur=anscur-anscur0;
+1368     r1=0;<span class="keyword">if</span> (q1~=0);r1=q2/q1*100;<span class="keyword">end</span>
+1369     r2=0;<span class="keyword">if</span> (q2~=0);r2=dcur/q2*0.524*416/184*100;<span class="keyword">end</span>
+1370     <span class="keyword">if</span>(r1&lt;0);r1=0;<span class="keyword">elseif</span>(r1&gt;100);r1=100;<span class="keyword">end</span>
+1371     <span class="keyword">if</span>(r2&lt;0);r2=0;<span class="keyword">elseif</span>(r2&gt;100);r2=100;<span class="keyword">end</span>
+1372     q1=q1/n;q2=q2/n;  
+1373 
+1374     set(handles.edit_qlt1,<span class="string">'String'</span>,num2str(q1,<span class="string">'%5.2f'</span>));
+1375     set(handles.edit_iboo,<span class="string">'String'</span>,num2str(q2/0.524,<span class="string">'%5.2f'</span>));
+1376     set(handles.edit_dians,<span class="string">'String'</span>,num2str(dcur/n,<span class="string">'%5.2f'</span>));
+1377     set(handles.edit_rboo,<span class="string">'String'</span>,num2str(int16(r1)));
+1378     set(handles.edit_rans,<span class="string">'String'</span>,num2str(int16(r2)));
+1379     set(handles.edit_cycle,<span class="string">'String'</span>,num2str(n,<span class="string">'%g'</span>));
+1380     set(handles.edit_dians1,<span class="string">'String'</span>,num2str(dcur,<span class="string">'%5.2f'</span>));
+1381     set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1382     
+1383     temp=tango_read_attribute2(<span class="string">'ANS/DG/BPM-tunex'</span>,<span class="string">'Nu'</span>); nux=temp.value;
+1384     temp=tango_read_attribute2(<span class="string">'ANS/DG/BPM-tunez'</span>,<span class="string">'Nu'</span>); nuz=temp.value;
+1385     temp=tango_read_attribute2(<span class="string">'ANS-C03/RF/lle.1'</span>,<span class="string">'voltageRF'</span>);v1=temp.value(2);
+1386     temp=tango_read_attribute2(<span class="string">'ANS-C03/RF/lle.2'</span>,<span class="string">'voltageRF'</span>);v2=temp.value(2);
+1387     vrf=(v1+v2)/1000;
+1388 
+1389     fprintf(<span class="string">'%s   %s  Remplissage = %d     Rendements=%5.2f %5.2f    Tunes=%5.2f %5.2f    Vrf=%5.2f \n'</span>,datestr(clock),modeinj,modefill,r1,r2, nux,nuz,vrf);
+1390     
+1391     
+1392 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+1393     
+1394     modelinac=get(get(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+1395     <span class="keyword">switch</span> modelinac  <span class="comment">% Get Tag of selected object</span>
+1396         <span class="keyword">case</span> <span class="string">'no_mode'</span>
+1397             event=[0 0];
+1398         <span class="keyword">case</span> <span class="string">'lpm_mode'</span>
+1399             event=[2 0];
+1400         <span class="keyword">case</span> <span class="string">'spm_mode'</span>
+1401             event=[0 2];
+1402     <span class="keyword">end</span>
+1403     
+1404     modeinj=<span class="string">'Injection 3 Hz'</span>;
+1405     laps=str2double(get(handles.edit_laps,<span class="string">'String'</span>));
+1406     fprintf(<span class="string">'%s   %s  Remplissage = %d\n'</span>,datestr(clock),modeinj,modefill);
+1407     <a href="start_3Hz.html" class="code" title="function start_3Hz(event)">start_3Hz</a>(event)
+1408     pause(laps)
+1409     <a href="stop_3Hz.html" class="code" title="function stop_3Hz">stop_3Hz</a>
+1410     
+1411     pause(1);
+1412     [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1413     temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1414     dcur=anscur-anscur0;
+1415     n=int16(laps/0.340);
+1416     r1=0;<span class="keyword">if</span> (q1~=0);r1=int16(q2/q1*100);<span class="keyword">end</span>
+1417     r2=0;<span class="keyword">if</span> (q2~=0);r2=int16(dcur/n/q2*0.524*416/184*100);<span class="keyword">end</span>
+1418     <span class="keyword">if</span>(r1&lt;0);r1=0;<span class="keyword">elseif</span>(r1&gt;100);r1=100;<span class="keyword">end</span>
+1419     <span class="keyword">if</span>(r2&lt;0);r2=0;<span class="keyword">elseif</span>(r2&gt;100);r2=100;<span class="keyword">end</span>
+1420     
+1421     set(handles.edit_qlt1,<span class="string">'String'</span>,num2str(q1,<span class="string">'%5.2f'</span>));
+1422     set(handles.edit_iboo,<span class="string">'String'</span>,num2str(q2/0.524,<span class="string">'%5.2f'</span>));
+1423     set(handles.edit_dians,<span class="string">'String'</span>,num2str(dcur/n,<span class="string">'%5.2f'</span>));
+1424     set(handles.edit_rboo,<span class="string">'String'</span>,num2str(r1));
+1425     set(handles.edit_rans,<span class="string">'String'</span>,num2str(r2));
+1426     set(handles.edit_cycle,<span class="string">'String'</span>,num2str(n,<span class="string">'%g'</span>));
+1427     set(handles.edit_dians1,<span class="string">'String'</span>,num2str(dcur,<span class="string">'%5.2f'</span>));
+1428     set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1429 
+1430 <span class="keyword">end</span>
+1431 
+1432 
+1433 
+1434 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>);
+1435 
+1436 
+1437 <a name="_sub48" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+1438 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1439 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1440 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1441 
+1442 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+1443 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+1444 
+1445 val_multishot = get(handles.on1,<span class="string">'Value'</span>);
+1446 
+1447 <span class="keyword">if</span> val_multishot
+1448     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+1449     <span class="keyword">return</span>
+1450 <span class="keyword">else</span>
+1451     handles.periode = str2double(get(hObject,<span class="string">'String'</span>));
+1452 
+1453     <span class="comment">% change timer Infinite loop</span>
+1454     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+1455         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+1456     timer1.TimerFcn = {@fonction_alex, hObject,eventdata, handles};
+1457     setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+1458 
+1459     <span class="comment">% Update handles structure</span>
+1460     guidata(hObject, handles);
+1461 <span class="keyword">end</span>
+1462 
+1463 
+1464 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1465 <a name="_sub49" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+1466 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1467 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1468 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1469 
+1470 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1471 <span class="comment">%       See ISPC and COMPUTER.</span>
+1472 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1473     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1474 <span class="keyword">end</span>
+1475 
+1476 <a name="_sub50" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+1477 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1478 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1479 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1480 
+1481 timer1 = getappdata(handles.figure1,<span class="string">'Timer1'</span>)
+1482 timer2 = getappdata(handles.figure1,<span class="string">'Timer2'</span>);
+1483 handles = guidata(gcbo);
+1484 
+1485 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+1486     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+1487         <span class="comment">% stop du trigger</span>
+1488         stop(timer1);
+1489         stop(timer2);
+1490     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+1491         <span class="comment">% dÃ©marrage  du trigger 1</span>
+1492         start(timer1);
+1493     <span class="keyword">case</span> <span class="string">'radiobutton3'</span>
+1494         <span class="comment">% dÃ©marrage du trigger 2</span>
+1495         temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1496         <span class="keyword">if</span> (anscur&gt;1.) 
+1497            start(timer2);      
+1498         <span class="keyword">else</span>
+1499             <span class="comment">% ne fait rien, en cas de perte faisceau</span>
+1500         <span class="keyword">end</span>  
+1501 <span class="keyword">end</span>
+1502 
+1503 
+1504 <a name="_sub51" href="#_subfunctions" class="code">function fonction_alex1(arg1,arg2,hObject,eventdata,handles)</a>
+1505 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1506 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1507 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1508 
+1509 
+1510 <a href="#_sub47" class="code" title="subfunction button_injection_soft_Callback(hObject, eventdata, handles)">button_injection_soft_Callback</a>(hObject,eventdata,handles)
+1511 
+1512 
+1513 <a name="_sub52" href="#_subfunctions" class="code">function fonction_alex2(arg1,arg2,hObject,eventdata,handles)</a>
+1514 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1515 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1516 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1517 
+1518 
+1519 temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1520 set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1521 Imin=str2double(get(handles.edit_Imin,<span class="string">'String'</span>));
+1522 
+1523 
+1524 <span class="keyword">if</span>     (anscur&gt;Imin)
+1525    <span class="comment">% on attend</span>
+1526    <span class="comment">%fprintf('Cur = %g \n',anscur)</span>
+1527 <span class="keyword">else</span>
+1528   <span class="comment">% inject le cycle en cours</span>
+1529   <span class="comment">%fprintf('Cur = %g : Injection \n',anscur)</span>
+1530   <a href="#_sub47" class="code" title="subfunction button_injection_soft_Callback(hObject, eventdata, handles)">button_injection_soft_Callback</a>(hObject, eventdata, handles)
+1531 <span class="keyword">end</span>   
+1532 
+1533 
+1534 
+1535 <span class="comment">%% What to do before closing the application</span>
+1536 <a name="_sub53" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+1537 
+1538 <span class="comment">% Get default command line output from handles structure</span>
+1539 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+1540     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+1541     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+1542 
+1543 <span class="keyword">switch</span> answer
+1544     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+1545         delete(handles); <span class="comment">%Delete Timer</span>
+1546         delete(figure1); <span class="comment">%Close gui</span>
+1547     <span class="keyword">otherwise</span>
+1548         disp(<span class="string">'Closing aborted'</span>)
+1549 <span class="keyword">end</span>
+1550 
+1551 
+1552 
+1553 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+1554 <a name="_sub54" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+1555 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+1556 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1557 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1558 
+1559 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1560 <a href="step.html" class="code" title="">step</a>=temp.value(1)-51*0.52243;
+1561 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1562 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1563 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1564 
+1565 <span class="comment">% decale adress inj et extract d'une super-periode</span>
+1566 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1567 clkinj=int32(temp.value(1)+5*52);
+1568 clkext=int32(temp.value(1)/52+10);
+1569 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+1570 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+1571 
+1572 <span class="comment">%status soft checked on linac</span>
+1573 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+1574 <span class="keyword">if</span> (temp.value(1)==2)
+1575    <span class="comment">%</span>
+1576 <span class="keyword">elseif</span> (temp.value(1)==1)
+1577     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1578     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1579     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+1580     delay=dt.value(1)-dt1.value(1)+inj_offset;
+1581     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1582     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1583     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1584 <span class="keyword">end</span>
+1585 
+1586 
+1587 <span class="comment">% --- Executes on button press in button_softplus.</span>
+1588 <a name="_sub55" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+1589 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+1590 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1591 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1592 
+1593 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1594 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1595 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1596 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1597 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1598 
+1599 <span class="comment">% dcale adress inj et extract d'une super-periode</span>
+1600 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1601 clkinj=int32(temp.value(1)+5*52);
+1602 clkext=int32(temp.value(1)/52+10);
+1603 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+1604 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+1605 
+1606 <span class="comment">%status soft checked on linac</span>
+1607 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+1608 <span class="keyword">if</span> (temp.value(1)==2)
+1609    <span class="comment">%</span>
+1610 <span class="keyword">elseif</span> (temp.value(1)==1)
+1611     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1612     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1613     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+1614     delay=dt.value(1)-dt1.value(1)+inj_offset;
+1615     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1616     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1617     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1618 <span class="keyword">end</span>
+1619 
+1620 
+1621 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+1622 <a name="_sub56" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+1623 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+1624 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1625 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1626 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1627 <a href="step.html" class="code" title="">step</a>=temp.value(1)-51*0.52243;
+1628 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1629 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1630 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1631 
+1632 
+1633 
+1634 <span class="comment">% --- Executes on button press in button_injplus.</span>
+1635 <a name="_sub57" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+1636 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+1637 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1638 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1639 
+1640 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1641 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1642 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1643 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1644 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1645 
+1646 
+1647 
+1648 <a name="_sub58" href="#_subfunctions" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a>
+1649 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1650 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1651 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1652 
+1653 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_dof as text</span>
+1654 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double</span>
+1655 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1656 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1657 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1658 
+1659 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1660 <a name="_sub59" href="#_subfunctions" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a>
+1661 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1662 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1663 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1664 
+1665 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1666 <span class="comment">%       See ISPC and COMPUTER.</span>
+1667 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1668     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1669 <span class="keyword">end</span>
+1670 
+1671 
+1672 
+1673 <a name="_sub60" href="#_subfunctions" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a>
+1674 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1675 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1676 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1677 
+1678 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text</span>
+1679 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double</span>
+1680 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1681 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1682 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1683 
+1684 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1685 <a name="_sub61" href="#_subfunctions" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1686 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1687 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1688 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1689 
+1690 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1691 <span class="comment">%       See ISPC and COMPUTER.</span>
+1692 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1693     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1694 <span class="keyword">end</span>
+1695 
+1696 
+1697 
+1698 <a name="_sub62" href="#_subfunctions" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a>
+1699 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1700 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1701 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1702 
+1703 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text</span>
+1704 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double</span>
+1705 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1706 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1707 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1708 
+1709 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1710 <a name="_sub63" href="#_subfunctions" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1711 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1712 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1713 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1714 
+1715 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1716 <span class="comment">%       See ISPC and COMPUTER.</span>
+1717 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1718     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1719 <span class="keyword">end</span>
+1720 
+1721 
+1722 
+1723 <a name="_sub64" href="#_subfunctions" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a>
+1724 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1725 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1726 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1727 
+1728 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text</span>
+1729 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double</span>
+1730 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1731 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1732 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1733 
+1734 
+1735 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1736 <a name="_sub65" href="#_subfunctions" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a>
+1737 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1738 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1739 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1740 
+1741 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1742 <span class="comment">%       See ISPC and COMPUTER.</span>
+1743 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1744     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1745 <span class="keyword">end</span>
+1746 
+1747 
+1748 
+1749 <a name="_sub66" href="#_subfunctions" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a>
+1750 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1751 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1752 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1753 
+1754 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text</span>
+1755 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double</span>
+1756 
+1757 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1758 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1759 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1760 
+1761 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1762 <a name="_sub67" href="#_subfunctions" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1763 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1764 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1765 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1766 
+1767 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1768 <span class="comment">%       See ISPC and COMPUTER.</span>
+1769 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1770     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1771 <span class="keyword">end</span>
+1772 
+1773 
+1774 
+1775 <a name="_sub68" href="#_subfunctions" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a>
+1776 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1777 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1778 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1779 
+1780 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text</span>
+1781 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double</span>
+1782 
+1783 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1784 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1785 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1786 
+1787 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1788 <a name="_sub69" href="#_subfunctions" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1789 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1790 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1791 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1792 
+1793 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1794 <span class="comment">%       See ISPC and COMPUTER.</span>
+1795 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1796     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1797 <span class="keyword">end</span>
+1798 
+1799 
+1800 
+1801 <a name="_sub70" href="#_subfunctions" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a>
+1802 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1803 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1804 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1805 
+1806 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text</span>
+1807 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double</span>
+1808 
+1809 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1810 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1811 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+1812 
+1813 
+1814 
+1815 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1816 <a name="_sub71" href="#_subfunctions" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a>
+1817 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1818 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1819 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1820 
+1821 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1822 <span class="comment">%       See ISPC and COMPUTER.</span>
+1823 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1824     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1825 <span class="keyword">end</span>
+1826 
+1827 
+1828 
+1829 <a name="_sub72" href="#_subfunctions" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a>
+1830 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1831 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1832 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1833 
+1834 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text</span>
+1835 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double</span>
+1836 
+1837 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1838 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1839 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+1840 
+1841 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1842 <a name="_sub73" href="#_subfunctions" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a>
+1843 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1844 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1845 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1846 
+1847 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1848 <span class="comment">%       See ISPC and COMPUTER.</span>
+1849 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1850     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1851 <span class="keyword">end</span>
+1852 
+1853 
+1854 
+1855 <a name="_sub74" href="#_subfunctions" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a>
+1856 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1857 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1858 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1859 
+1860 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text</span>
+1861 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double</span>
+1862 
+1863 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1864 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1865 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+1866 
+1867 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1868 <a name="_sub75" href="#_subfunctions" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a>
+1869 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1870 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1871 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1872 
+1873 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1874 <span class="comment">%       See ISPC and COMPUTER.</span>
+1875 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1876     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1877 <span class="keyword">end</span>
+1878 
+1879 
+1880 
+1881 <a name="_sub76" href="#_subfunctions" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a>
+1882 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1883 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1884 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1885 
+1886 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text</span>
+1887 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double</span>
+1888 
+1889 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1890 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1891 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+1892 
+1893 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1894 <a name="_sub77" href="#_subfunctions" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a>
+1895 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1896 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1897 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1898 
+1899 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1900 <span class="comment">%       See ISPC and COMPUTER.</span>
+1901 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1902     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1903 <span class="keyword">end</span>
+1904 
+1905 
+1906 
+1907 <a name="_sub78" href="#_subfunctions" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a>
+1908 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1909 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1910 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1911 
+1912 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_dcct as text</span>
+1913 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double</span>
+1914 
+1915 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1916 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1917 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,delay);
+1918 
+1919 
+1920 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1921 <a name="_sub79" href="#_subfunctions" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a>
+1922 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1923 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1924 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1925 
+1926 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1927 <span class="comment">%       See ISPC and COMPUTER.</span>
+1928 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1929     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1930 <span class="keyword">end</span>
+1931 
+1932 
+1933 
+1934 <a name="_sub80" href="#_subfunctions" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a>
+1935 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1936 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1937 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1938 
+1939 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm as text</span>
+1940 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double</span>
+1941 
+1942 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1943 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1944 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1945 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1946 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1947 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1948 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1949 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1950 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1951 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1952 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1953 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1954 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1955 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1956 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1957 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1958 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1959 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1960 
+1961 
+1962 
+1963 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1964 <a name="_sub81" href="#_subfunctions" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1965 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1966 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1967 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1968 
+1969 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1970 <span class="comment">%       See ISPC and COMPUTER.</span>
+1971 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1972     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1973 <span class="keyword">end</span>
+1974 
+1975 
+1976 
+1977 <a name="_sub82" href="#_subfunctions" class="code">function central_ext_Callback(hObject, eventdata, handles)</a>
+1978 <span class="comment">% hObject    handle to central_ext (see GCBO)</span>
+1979 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1980 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1981 
+1982 <span class="comment">% Hints: get(hObject,'String') returns contents of central_ext as text</span>
+1983 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_ext as a double</span>
+1984 <span class="comment">%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'</span>
+1985 
+1986 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1987 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,delay);
+1988 
+1989 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1990 <a name="_sub83" href="#_subfunctions" class="code">function central_ext_CreateFcn(hObject, eventdata, handles)</a>
+1991 <span class="comment">% hObject    handle to central_ext (see GCBO)</span>
+1992 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1993 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1994 
+1995 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1996 <span class="comment">%       See ISPC and COMPUTER.</span>
+1997 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1998     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1999 <span class="keyword">end</span>
+2000 
+2001 
+2002 
+2003 <a name="_sub84" href="#_subfunctions" class="code">function central_soft1_Callback(hObject, eventdata, handles)</a>
+2004 <span class="comment">% hObject    handle to central_soft1 (see GCBO)</span>
+2005 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2006 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2007 
+2008 <span class="comment">% Hints: get(hObject,'String') returns contents of central_soft1 as text</span>
+2009 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_soft1 as a double</span>
+2010 
+2011 
+2012 
+2013 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2014 <a name="_sub85" href="#_subfunctions" class="code">function central_soft1_CreateFcn(hObject, eventdata, handles)</a>
+2015 <span class="comment">% hObject    handle to central_soft1 (see GCBO)</span>
+2016 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2017 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2018 
+2019 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2020 <span class="comment">%       See ISPC and COMPUTER.</span>
+2021 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2022     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2023 <span class="keyword">end</span>
+2024 
+2025 
+2026 <span class="comment">% --- Executes on button press in radiobutton6.</span>
+2027 <a name="_sub86" href="#_subfunctions" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a>
+2028 <span class="comment">% hObject    handle to radiobutton6 (see GCBO)</span>
+2029 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2030 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2031 
+2032 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton6</span>
+2033 
+2034 
+2035 <span class="comment">% --- Executes on button press in pushbutton8.</span>
+2036 <a name="_sub87" href="#_subfunctions" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a>
+2037 <span class="comment">% hObject    handle to pushbutton8 (see GCBO)</span>
+2038 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2039 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2040 
+2041 
+2042 <span class="comment">% --- Executes on button press in pushbutton9.</span>
+2043 <a name="_sub88" href="#_subfunctions" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a>
+2044 <span class="comment">% hObject    handle to pushbutton9 (see GCBO)</span>
+2045 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2046 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2047 
+2048 
+2049 <span class="comment">% --- Executes on button press in button_extmoins.</span>
+2050 <a name="_sub89" href="#_subfunctions" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a>
+2051 <span class="comment">% hObject    handle to button_extmoins (see GCBO)</span>
+2052 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2053 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2054 
+2055 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2056 <a href="step.html" class="code" title="">step</a>=temp.value(1)-52*0.52243;
+2057 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+2058 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+2059 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(1)));
+2060 
+2061 <span class="comment">% --- Executes on button press in button_extplus.</span>
+2062 <a name="_sub90" href="#_subfunctions" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a>
+2063 <span class="comment">% hObject    handle to button_extplus (see GCBO)</span>
+2064 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2065 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2066 
+2067 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2068 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+2069 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+2070 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+2071 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(1)));
+2072 
+2073 <a name="_sub91" href="#_subfunctions" class="code">function sdc2_Callback(hObject, eventdata, handles)</a>
+2074 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+2075 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2076 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2077 
+2078 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc2 as text</span>
+2079 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc2 as a double</span>
+2080 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2081 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2082 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2083 
+2084 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2085 <a name="_sub92" href="#_subfunctions" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a>
+2086 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+2087 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2088 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2089 
+2090 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2091 <span class="comment">%       See ISPC and COMPUTER.</span>
+2092 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2093     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2094 <span class="keyword">end</span>
+2095 
+2096 
+2097 
+2098 <a name="_sub93" href="#_subfunctions" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a>
+2099 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+2100 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2101 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2102 
+2103 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_emittance as text</span>
+2104 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double</span>
+2105 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2106 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2107 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2108 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+2109 
+2110 
+2111 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2112 <a name="_sub94" href="#_subfunctions" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a>
+2113 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+2114 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2115 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2116 
+2117 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2118 <span class="comment">%       See ISPC and COMPUTER.</span>
+2119 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2120     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2121 <span class="keyword">end</span>
+2122 
+2123 
+2124 
+2125 <a name="_sub95" href="#_subfunctions" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a>
+2126 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+2127 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2128 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2129 
+2130 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_bpm as text</span>
+2131 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double</span>
+2132 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2133 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2134 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2135 
+2136 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2137 <a name="_sub96" href="#_subfunctions" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a>
+2138 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+2139 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2140 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2141 
+2142 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2143 <span class="comment">%       See ISPC and COMPUTER.</span>
+2144 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2145     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2146 <span class="keyword">end</span>
+2147 
+2148 
+2149 
+2150 <a name="_sub97" href="#_subfunctions" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a>
+2151 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+2152 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2153 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2154 
+2155 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_osc as text</span>
+2156 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double</span>
+2157 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2158 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2159 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2160 
+2161 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2162 <a name="_sub98" href="#_subfunctions" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a>
+2163 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+2164 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2165 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2166 
+2167 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2168 <span class="comment">%       See ISPC and COMPUTER.</span>
+2169 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2170     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2171 <span class="keyword">end</span>
+2172 
+2173 
+2174 
+2175 <a name="_sub99" href="#_subfunctions" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a>
+2176 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+2177 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2178 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2179 
+2180 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_modulateur as text</span>
+2181 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_modulateur as a double</span>
+2182 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2183 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+2184 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2185 
+2186 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2187 <a name="_sub100" href="#_subfunctions" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a>
+2188 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+2189 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2190 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2191 
+2192 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2193 <span class="comment">%       See ISPC and COMPUTER.</span>
+2194 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2195     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2196 <span class="keyword">end</span>
+2197 
+2198 
+2199 
+2200 <a name="_sub101" href="#_subfunctions" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a>
+2201 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2202 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2203 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2204 
+2205 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_offset as text</span>
+2206 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_offset as a double</span>
+2207 
+2208 inj_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2209 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2210 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+2211 save(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>)
+2212 
+2213 <span class="comment">%LIN</span>
+2214 delay=str2double(get(handles.lin_canon_lpm,<span class="string">'String'</span>))+inj_offset;
+2215 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+2216 
+2217 delay=str2double(get(handles.lin_modulateur,<span class="string">'String'</span>))+inj_offset;
+2218 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2219 
+2220 delay=str2double(get(handles.sdc1,<span class="string">'String'</span>))+inj_offset;
+2221 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2222 
+2223 
+2224 <span class="comment">% LT1</span>
+2225 delay=str2double(get(handles.lt1_MC2,<span class="string">'String'</span>))+inj_offset;
+2226 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+2227 
+2228 delay=str2double(get(handles.lt1_MC1,<span class="string">'String'</span>))+inj_offset;
+2229 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+2230 
+2231 delay=str2double(get(handles.lt1_emittance,<span class="string">'String'</span>))+inj_offset;
+2232 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+2233 
+2234 delay=str2double(get(handles.lt1_osc,<span class="string">'String'</span>))+inj_offset;
+2235 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2236 
+2237 
+2238 <span class="comment">% BOO</span>
+2239 delay=str2double(get(handles.boo_inj_septum,<span class="string">'String'</span>))+inj_offset;
+2240 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2241 
+2242 delay=str2double(get(handles.boo_inj_kicker,<span class="string">'String'</span>))+inj_offset;
+2243 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2244 
+2245 delay=str2double(get(handles.boo_bpm,<span class="string">'String'</span>))+inj_offset;
+2246 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+2247 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+2248 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+2249 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+2250 
+2251 
+2252 delay=str2double(get(handles.boo_nod,<span class="string">'String'</span>))+inj_offset;
+2253 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+2254 
+2255 delay=str2double(get(handles.boo_dcct,<span class="string">'String'</span>))+inj_offset;
+2256 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+2257 
+2258 
+2259 
+2260 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2261 <a name="_sub102" href="#_subfunctions" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a>
+2262 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2263 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2264 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2265 
+2266 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2267 <span class="comment">%       See ISPC and COMPUTER.</span>
+2268 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2269     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2270 <span class="keyword">end</span>
+2271 
+2272 
+2273 
+2274 <a name="_sub103" href="#_subfunctions" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a>
+2275 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2276 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2277 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2278 
+2279 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_offset as text</span>
+2280 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_offset as a double</span>
+2281 
+2282 ext_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2283 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2284 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+2285 save(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>)
+2286 
+2287 
+2288 <span class="comment">%BOO</span>
+2289 delay=str2double(get(handles.boo_ext_dof,<span class="string">'String'</span>))+ext_offset;
+2290 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+2291 
+2292 delay=str2double(get(handles.boo_ext_sept_p,<span class="string">'String'</span>))+ext_offset;
+2293 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2294 
+2295 delay=str2double(get(handles.boo_ext_sept_a,<span class="string">'String'</span>))+ext_offset;
+2296 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2297 
+2298 delay=str2double(get(handles.boo_ext_kicker,<span class="string">'String'</span>))+ext_offset;
+2299 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2300 
+2301 delay=str2double(get(handles.sdc2,<span class="string">'String'</span>))+ext_offset;
+2302 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2303 
+2304 <span class="comment">%LT2</span>
+2305 delay=str2double(get(handles.lt2_bpm,<span class="string">'String'</span>))+ext_offset;
+2306 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2307 
+2308 delay=str2double(get(handles.lt2_osc,<span class="string">'String'</span>))+ext_offset;
+2309 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2310 
+2311 delay=str2double(get(handles.lt2_emittance,<span class="string">'String'</span>))+ext_offset;
+2312 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2313 
+2314 <span class="comment">%ANS</span>
+2315 
+2316 delay=str2double(get(handles.ans_inj_sept_a,<span class="string">'String'</span>))+ext_offset;
+2317 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2318 
+2319 delay=str2double(get(handles.ans_inj_sept_p,<span class="string">'String'</span>))+ext_offset;
+2320 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2321 
+2322 delay=str2double(get(handles.ans_inj_k1,<span class="string">'String'</span>))+ext_offset;
+2323 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+2324 
+2325 delay=str2double(get(handles.ans_inj_k2,<span class="string">'String'</span>))+ext_offset;
+2326 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+2327 
+2328 delay=str2double(get(handles.ans_inj_k3,<span class="string">'String'</span>))+ext_offset;
+2329 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+2330 
+2331 delay=str2double(get(handles.ans_inj_k4,<span class="string">'String'</span>))+ext_offset;
+2332 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+2333 
+2334 
+2335 
+2336 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2337 <a name="_sub104" href="#_subfunctions" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a>
+2338 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2339 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2340 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2341 
+2342 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2343 <span class="comment">%       See ISPC and COMPUTER.</span>
+2344 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2345     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2346 <span class="keyword">end</span>
+2347 
+2348 
+2349 <span class="comment">% --- Executes on button press in button_acquisition_address.</span>
+2350 <a name="_sub105" href="#_subfunctions" class="code">function button_acquisition_address_Callback(hObject, eventdata, handles)</a>
+2351 <span class="comment">% hObject    handle to button_acquisition_address (see GCBO)</span>
+2352 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2353 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2354 
+2355 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2356 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2357 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2358 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2359 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2360 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2361 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2362 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2363 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2364 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2365 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2366 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2367 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2368 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2369 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2370 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2371 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2372 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2373 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2374 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2375 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2376 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2377 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2378 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2379 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2380 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2381 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2382 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2383 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2384 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2385 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2386 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2387 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2388 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2389 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2390 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2391 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2392 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2393 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2394 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2395 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2396 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2397 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2398 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2399 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2400 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2401 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2402 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2403 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2404 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2405 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2406 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2407 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2408 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2409 
+2410 
+2411 n=1;
+2412 
+2413 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+2414 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2415 
+2416 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+2417 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+2418 
+2419 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+2420 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+2421 
+2422 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2423 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+2424 
+2425 
+2426 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+2427 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2428 
+2429 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+2430 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2431 
+2432 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+2433 set(handles.lin_canon_spm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2434 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,<span class="string">'Off Set table'</span>);
+2435 
+2436 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+2437 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2438 
+2439 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+2440 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2441 
+2442 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+2443 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2444 
+2445 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+2446 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2447 
+2448 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+2449 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2450 
+2451 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+2452 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2453 
+2454 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+2455 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+2456 
+2457 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2458 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+2459 
+2460 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+2461 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2462 
+2463 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+2464 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+2465 
+2466 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+2467 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2468 
+2469 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+2470 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2471 
+2472 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+2473 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2474 
+2475 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+2476 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2477 
+2478 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+2479 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2480 
+2481 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+2482 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+2483 
+2484 
+2485 
+2486 
+2487 
+2488 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+2489 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+2490 
+2491 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2492 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2493 
+2494 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2495 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2496 
+2497 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+2498 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2499 
+2500 
+2501 
+2502 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+2503 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2504 
+2505 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>);
+2506 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2507 
+2508 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>);
+2509 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2510 
+2511 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2512 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2513 
+2514 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+2515 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2516 
+2517 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+2518 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2519 
+2520 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+2521 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+2522 
+2523 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+2524 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+2525 
+2526 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2527 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2528 
+2529 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2530 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2531 
+2532 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+2533 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2534 
+2535 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2536 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2537 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+2538 
+2539 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2540 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+2541 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2542 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+2543 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2544 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+2545 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2546 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+2547 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2548 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+2549 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2550 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+2551 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2552 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+2553 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2554 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+2555 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2556 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+2557 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2558 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+2559 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2560 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+2561 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2562 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+2563 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2564 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+2565 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2566 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+2567 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2568 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+2569 
+2570 
+2571 
+2572 <span class="comment">% --- Executes on button press in button_offinj_moins.</span>
+2573 <a name="_sub106" href="#_subfunctions" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a>
+2574 <span class="comment">% hObject    handle to button_offinj_moins (see GCBO)</span>
+2575 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2576 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2577 
+2578 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2579 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2580 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2581 <a href="#_sub101" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2582 
+2583 <span class="comment">% --- Executes on button press in button_offinj_plus.</span>
+2584 <a name="_sub107" href="#_subfunctions" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a>
+2585 <span class="comment">% hObject    handle to button_offinj_plus (see GCBO)</span>
+2586 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2587 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2588 
+2589 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2590 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2591 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2592 <a href="#_sub101" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2593 
+2594 <span class="comment">% --- Executes on button press in button_offext_moins.</span>
+2595 <a name="_sub108" href="#_subfunctions" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a>
+2596 <span class="comment">% hObject    handle to button_offext_moins (see GCBO)</span>
+2597 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2598 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2599 
+2600 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2601 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2602 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2603 <a href="#_sub103" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2604 
+2605 <span class="comment">% --- Executes on button press in button_offext_plus.</span>
+2606 <a name="_sub109" href="#_subfunctions" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a>
+2607 <span class="comment">% hObject    handle to button_offext_plus (see GCBO)</span>
+2608 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2609 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2610 
+2611 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2612 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2613 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2614 <a href="#_sub103" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2615 
+2616 
+2617 <span class="comment">% --- Executes on button press in button_bpm.</span>
+2618 <a name="_sub110" href="#_subfunctions" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a>
+2619 <span class="comment">% hObject    handle to button_bpm (see GCBO)</span>
+2620 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2621 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2622 
+2623 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_bpm</span>
+2624 
+2625 bpm=get(hObject,<span class="string">'Value'</span>);
+2626 
+2627 <span class="keyword">if</span> (bpm==0)
+2628    set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+2629 <span class="keyword">elseif</span> (bpm==1)
+2630     set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+2631 <span class="keyword">end</span>
+2632 
+2633 
+2634 
+2635 <a name="_sub111" href="#_subfunctions" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a>
+2636 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2637 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2638 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2639 
+2640 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text</span>
+2641 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double</span>
+2642 
+2643 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2644 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2645 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2646 
+2647 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2648 <a name="_sub112" href="#_subfunctions" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a>
+2649 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2650 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2651 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2652 
+2653 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2654 <span class="comment">%       See ISPC and COMPUTER.</span>
+2655 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2656     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2657 <span class="keyword">end</span>
+2658 
+2659 
+2660 <a name="_sub113" href="#_subfunctions" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a>
+2661 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2662 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2663 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2664 
+2665 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text</span>
+2666 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double</span>
+2667 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2668 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2669 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2670 
+2671 
+2672 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2673 <a name="_sub114" href="#_subfunctions" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a>
+2674 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2675 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2676 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2677 
+2678 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2679 <span class="comment">%       See ISPC and COMPUTER.</span>
+2680 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2681     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2682 <span class="keyword">end</span>
+2683 
+2684 
+2685 
+2686 <a name="_sub115" href="#_subfunctions" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a>
+2687 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2688 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2689 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2690 
+2691 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text</span>
+2692 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double</span>
+2693 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2694 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2695 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2696 
+2697 
+2698 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2699 <a name="_sub116" href="#_subfunctions" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a>
+2700 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2701 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2702 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2703 
+2704 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2705 <span class="comment">%       See ISPC and COMPUTER.</span>
+2706 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2707     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2708 <span class="keyword">end</span>
+2709 
+2710 
+2711 
+2712 <a name="_sub117" href="#_subfunctions" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a>
+2713 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2714 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2715 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2716 
+2717 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text</span>
+2718 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double</span>
+2719 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2720 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2721 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2722 
+2723 
+2724 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2725 <a name="_sub118" href="#_subfunctions" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a>
+2726 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2727 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2728 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2729 
+2730 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2731 <span class="comment">%       See ISPC and COMPUTER.</span>
+2732 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2733     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2734 <span class="keyword">end</span>
+2735 
+2736 
+2737 
+2738 <a name="_sub119" href="#_subfunctions" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a>
+2739 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2740 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2741 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2742 
+2743 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text</span>
+2744 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double</span>
+2745 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2746 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2747 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2748 
+2749 
+2750 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2751 <a name="_sub120" href="#_subfunctions" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a>
+2752 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2753 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2754 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2755 
+2756 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2757 <span class="comment">%       See ISPC and COMPUTER.</span>
+2758 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2759     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2760 <span class="keyword">end</span>
+2761 
+2762 
+2763 
+2764 <a name="_sub121" href="#_subfunctions" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a>
+2765 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2766 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2767 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2768 
+2769 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text</span>
+2770 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double</span>
+2771 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2772 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2773 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2774 
+2775 
+2776 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2777 <a name="_sub122" href="#_subfunctions" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a>
+2778 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2779 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2780 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2781 
+2782 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2783 <span class="comment">%       See ISPC and COMPUTER.</span>
+2784 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2785     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2786 <span class="keyword">end</span>
+2787 
+2788 
+2789 
+2790 <a name="_sub123" href="#_subfunctions" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a>
+2791 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2792 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2793 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2794 
+2795 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text</span>
+2796 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double</span>
+2797 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2798 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2799 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2800 
+2801 
+2802 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2803 <a name="_sub124" href="#_subfunctions" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a>
+2804 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2805 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2806 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2807 
+2808 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2809 <span class="comment">%       See ISPC and COMPUTER.</span>
+2810 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2811     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2812 <span class="keyword">end</span>
+2813 
+2814 
+2815 
+2816 <a name="_sub125" href="#_subfunctions" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a>
+2817 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2818 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2819 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2820 
+2821 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text</span>
+2822 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double</span>
+2823 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2824 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2825 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2826 
+2827 
+2828 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2829 <a name="_sub126" href="#_subfunctions" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a>
+2830 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2831 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2832 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2833 
+2834 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2835 <span class="comment">%       See ISPC and COMPUTER.</span>
+2836 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2837     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2838 <span class="keyword">end</span>
+2839 
+2840 
+2841 
+2842 <a name="_sub127" href="#_subfunctions" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a>
+2843 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2844 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2845 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2846 
+2847 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text</span>
+2848 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double</span>
+2849 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2850 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2851 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2852 
+2853 
+2854 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2855 <a name="_sub128" href="#_subfunctions" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a>
+2856 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2857 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2858 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2859 
+2860 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2861 <span class="comment">%       See ISPC and COMPUTER.</span>
+2862 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2863     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2864 <span class="keyword">end</span>
+2865 
+2866 
+2867 
+2868 <a name="_sub129" href="#_subfunctions" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a>
+2869 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2870 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2871 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2872 
+2873 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text</span>
+2874 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double</span>
+2875 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2876 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2877 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2878 
+2879 
+2880 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2881 <a name="_sub130" href="#_subfunctions" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a>
+2882 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2883 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2884 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2885 
+2886 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2887 <span class="comment">%       See ISPC and COMPUTER.</span>
+2888 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2889     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2890 <span class="keyword">end</span>
+2891 
+2892 
+2893 
+2894 <a name="_sub131" href="#_subfunctions" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a>
+2895 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2896 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2897 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2898 
+2899 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text</span>
+2900 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double</span>
+2901 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2902 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2903 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2904 
+2905 
+2906 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2907 <a name="_sub132" href="#_subfunctions" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a>
+2908 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2909 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2910 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2911 
+2912 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2913 <span class="comment">%       See ISPC and COMPUTER.</span>
+2914 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2915     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2916 <span class="keyword">end</span>
+2917 
+2918 
+2919 
+2920 <a name="_sub133" href="#_subfunctions" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a>
+2921 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2922 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2923 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2924 
+2925 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text</span>
+2926 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double</span>
+2927 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2928 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2929 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2930 
+2931 
+2932 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2933 <a name="_sub134" href="#_subfunctions" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a>
+2934 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2935 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2936 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2937 
+2938 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2939 <span class="comment">%       See ISPC and COMPUTER.</span>
+2940 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2941     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2942 <span class="keyword">end</span>
+2943 
+2944 
+2945 
+2946 <a name="_sub135" href="#_subfunctions" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a>
+2947 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2948 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2949 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2950 
+2951 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text</span>
+2952 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double</span>
+2953 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2954 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2955 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2956 
+2957 
+2958 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2959 <a name="_sub136" href="#_subfunctions" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a>
+2960 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2961 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2962 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2963 
+2964 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2965 <span class="comment">%       See ISPC and COMPUTER.</span>
+2966 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2967     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2968 <span class="keyword">end</span>
+2969 
+2970 
+2971 
+2972 <a name="_sub137" href="#_subfunctions" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a>
+2973 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2974 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2975 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2976 
+2977 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text</span>
+2978 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double</span>
+2979 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2980 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2981 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2982 
+2983 
+2984 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2985 <a name="_sub138" href="#_subfunctions" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a>
+2986 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2987 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2988 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2989 
+2990 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2991 <span class="comment">%       See ISPC and COMPUTER.</span>
+2992 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2993     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2994 <span class="keyword">end</span>
+2995 
+2996 
+2997 
+2998 <a name="_sub139" href="#_subfunctions" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a>
+2999 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+3000 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3001 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3002 
+3003 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text</span>
+3004 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double</span>
+3005 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+3006 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+3007 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+3008 
+3009 
+3010 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3011 <a name="_sub140" href="#_subfunctions" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a>
+3012 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+3013 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3014 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3015 
+3016 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3017 <span class="comment">%       See ISPC and COMPUTER.</span>
+3018 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3019     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3020 <span class="keyword">end</span>
+3021 
+3022 
+3023 
+3024 <a name="_sub141" href="#_subfunctions" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a>
+3025 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+3026 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3027 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3028 
+3029 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text</span>
+3030 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double</span>
+3031 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+3032 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+3033 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+3034 
+3035 
+3036 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3037 <a name="_sub142" href="#_subfunctions" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a>
+3038 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+3039 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3040 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3041 
+3042 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3043 <span class="comment">%       See ISPC and COMPUTER.</span>
+3044 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3045     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3046 <span class="keyword">end</span>
+3047 
+3048 
+3049 
+3050 <a name="_sub143" href="#_subfunctions" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a>
+3051 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+3052 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3053 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3054 
+3055 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text</span>
+3056 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double</span>
+3057 
+3058 
+3059 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3060 <a name="_sub144" href="#_subfunctions" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a>
+3061 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+3062 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3063 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3064 
+3065 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3066 <span class="comment">%       See ISPC and COMPUTER.</span>
+3067 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3068     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3069 <span class="keyword">end</span>
+3070 
+3071 
+3072 
+3073 <a name="_sub145" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a>
+3074 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+3075 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3076 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3077 
+3078 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text</span>
+3079 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double</span>
+3080 
+3081 
+3082 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3083 <a name="_sub146" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a>
+3084 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+3085 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3086 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3087 
+3088 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3089 <span class="comment">%       See ISPC and COMPUTER.</span>
+3090 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3091     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3092 <span class="keyword">end</span>
+3093 
+3094 
+3095 
+3096 <a name="_sub147" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a>
+3097 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+3098 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3099 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3100 
+3101 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text</span>
+3102 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double</span>
+3103 <span class="comment">% temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');</span>
+3104 <span class="comment">% offset_ext=temp.value(1)*52;</span>
+3105 <span class="comment">% offset_linac=str2double(get(handles.lin_canon_spm_fin,'String')) ;% dÃ©lai fin de rÃ©glage en ns</span>
+3106 <span class="comment">% offset_linac=offset_linac/handles.lin_fin_step;                   % dÃ©lai fin de rÃ©glage en pas de handles.lin_fin_step ps</span>
+3107 <span class="comment">% bjump=handles.one_bunch;</span>
+3108 <span class="comment">%</span>
+3109 <span class="comment">% bunch=str2num(get(hObject,'String'));</span>
+3110 <span class="comment">% [dtour,dpaquet]=bucketnumber(bunch);</span>
+3111 <span class="comment">% dpaquet=dpaquet*bjump+offset_linac;</span>
+3112 <span class="comment">% table=int32([length(bunch) dtour dpaquet]);</span>
+3113 <span class="comment">% tango_command_inout('ANS/SY/CENTRAL','SetTables',table);</span>
+3114 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');</span>
+3115 <span class="comment">% n=temp.value;</span>
+3116 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');</span>
+3117 <span class="comment">% table_ext=temp.value(1:n); %-offset_ext;</span>
+3118 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'LinacDelayTable');</span>
+3119 <span class="comment">% table_linac=(temp.value(1:n)-offset_linac)/bjump;</span>
+3120 <span class="comment">% table=[];</span>
+3121 <span class="comment">% for i=1:n</span>
+3122 <span class="comment">%     table=[table ' ' '(' num2str([table_ext(i)])  ' '  num2str([table_linac(i)]) ')'];</span>
+3123 <span class="comment">% end</span>
+3124 <span class="comment">% set(handles.edit_filling_relecture_tables,'String',[num2str(table)]);</span>
+3125 <span class="comment">% set(handles.edit_filling_relecture_bunch, 'String',[num2str(bunch)]);</span>
+3126 
+3127 
+3128 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3129 <a name="_sub148" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a>
+3130 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+3131 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3132 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3133 
+3134 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3135 <span class="comment">%       See ISPC and COMPUTER.</span>
+3136 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3137     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3138 <span class="keyword">end</span>
+3139 
+3140 
+3141 <span class="comment">% --- Executes on button press in button_update.</span>
+3142 <a name="_sub149" href="#_subfunctions" class="code">function button_update_Callback(hObject, eventdata, handles)</a>
+3143 <span class="comment">% hObject    handle to button_update (see GCBO)</span>
+3144 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3145 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3146 
+3147 fprintf(<span class="string">'*****Update des 16 cartes locales******\n'</span>)
+3148 <span class="comment">%r=tango_command_inout2('ANS/SY/LOCAL.SDC.1',  'Update');retour_update('ANS/SY/LOCAL.SDC.1',r);</span>
+3149 r=tango_command_inout2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>,<span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>,r);
+3150 r=tango_command_inout2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,<span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,r);
+3151 
+3152 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>);    <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,r);
+3153 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,r);
+3154 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.3'</span>,r);
+3155 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,r);
+3156 
+3157 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,r);
+3158 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,r);
+3159 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,r);
+3160 r=tango_command_inout2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,r);
+3161 r=tango_command_inout2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,r);
+3162 r=tango_command_inout2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>,r);
+3163 r=tango_command_inout2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,r);
+3164 r=tango_command_inout2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>,r);
+3165 r=tango_command_inout2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,r);
+3166 r=tango_command_inout2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,r);
+3167 r=tango_command_inout2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,r);
+3168 fprintf(<span class="string">'**************************************\n'</span>)
+3169 <span class="comment">%retour_command=vect</span>
+3170 <span class="comment">%fprintf('16 zÃ©ro = OK : %d\n',vect)</span>
+3171 
+3172 <span class="comment">% --- Executes on button press in button_acquisition_trigstatus.</span>
+3173 <a name="_sub150" href="#_subfunctions" class="code">function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)</a>
+3174 <span class="comment">% hObject    handle to button_acquisition_trigstatus (see GCBO)</span>
+3175 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3176 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3177 
+3178 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3179 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3180 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3181 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3182 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3183 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3184 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3185 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3186 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3187 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3188 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3189 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3190 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3191 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3192 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3193 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3194 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3195 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3196 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3197 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3198 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3199 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3200 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3201 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3202 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3203 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3204 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3205 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3206 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3207 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3208 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3209 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3210 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3211 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3212 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3213 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3214 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3215 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3216 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3217 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3218 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3219 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3220 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3221 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3222 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3223 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3224 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3225 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3226 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3227 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3228 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3229 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3230 
+3231 
+3232 n=1;
+3233 
+3234 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+3235 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3236 
+3237 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+3238 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+3239 
+3240 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+3241 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+3242 
+3243 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+3244 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+3245 
+3246 
+3247 
+3248 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3249 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3250 
+3251 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTrigStatus'</span>);
+3252 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3253 
+3254 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTrigStatus'</span>);
+3255 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3256 
+3257 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTrigStatus'</span>);
+3258 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3259 
+3260 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TrigStatus'</span>);
+3261 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3262 
+3263 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TrigStatus'</span>);
+3264 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3265 
+3266 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3267 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3268 
+3269 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTrigStatus'</span>);
+3270 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3271 
+3272 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTrigStatus'</span>);
+3273 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+3274 
+3275 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3276 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+3277 
+3278 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3279 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3280 
+3281 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTrigStatus'</span>);
+3282 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+3283 
+3284 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTrigStatus'</span>);
+3285 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3286 
+3287 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTrigStatus'</span>);
+3288 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3289 
+3290 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTrigStatus'</span>);
+3291 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3292 
+3293 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTrigStatus'</span>);
+3294 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3295 
+3296 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTrigStatus'</span>);
+3297 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3298 
+3299 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3300 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+3301 
+3302 
+3303 
+3304 
+3305 
+3306 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTrigStatus'</span>);
+3307 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+3308 
+3309 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3310 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3311 
+3312 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3313 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3314 
+3315 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3316 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3317 
+3318 
+3319 
+3320 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3321 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3322 
+3323 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTrigStatus'</span>);
+3324 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3325 
+3326 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTrigStatus'</span>);
+3327 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3328 
+3329 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3330 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3331 
+3332 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTrigStatus'</span>);
+3333 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3334 
+3335 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTrigStatus'</span>);
+3336 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3337 
+3338 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTrigStatus'</span>);
+3339 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+3340 
+3341 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTrigStatus'</span>);
+3342 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+3343 
+3344 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3345 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3346 
+3347 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3348 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3349 
+3350 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTrigStatus'</span>);
+3351 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3352 
+3353 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3354 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3355 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+3356 
+3357 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3358 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+3359 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3360 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+3361 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3362 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+3363 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3364 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+3365 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3366 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+3367 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3368 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+3369 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3370 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+3371 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3372 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+3373 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3374 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+3375 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3376 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+3377 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3378 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+3379 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3380 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+3381 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3382 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+3383 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3384 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+3385 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3386 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+3387 
+3388 
+3389 
+3390 <span class="comment">% --- Executes on button press in togglebutton2.</span>
+3391 <a name="_sub151" href="#_subfunctions" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a>
+3392 <span class="comment">% hObject    handle to togglebutton2 (see GCBO)</span>
+3393 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3394 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3395 
+3396 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of togglebutton2</span>
+3397 
+3398 
+3399 <span class="comment">% --- Executes on selection change in listbox_fillingmode.</span>
+3400 <a name="_sub152" href="#_subfunctions" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a>
+3401 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+3402 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3403 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3404 
+3405 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_fillingmode contents as cell array</span>
+3406 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_fillingmode</span>
+3407 pattern=get(hObject,<span class="string">'String'</span>);
+3408 mode=get(hObject,<span class="string">'Value'</span>);
+3409 fprintf(<span class="string">'***************************************************\n'</span>)
+3410 fprintf(<span class="string">'Mode de remplissage sÃ©lectionnÃ© : %s\n'</span>,pattern{mode})
+3411 fprintf(<span class="string">'***************************************************\n'</span>)
+3412 
+3413 <span class="comment">% PrÃ©pare les tables pour le 3 Hz</span>
+3414 quart=[1 105 209 313];
+3415 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+3416 offset_ext=temp.value(1)*52;
+3417 offset_linac=str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>)) ;<span class="comment">% dÃ©lai fin de rÃ©glage en ns</span>
+3418 offset_linac=offset_linac/handles.lin_fin_step;                   <span class="comment">% dÃ©lai fin de rÃ©glage en pas de handles.lin_fin_step ps</span>
+3419 bjump=handles.one_bunch;
+3420 
+3421 
+3422 <span class="keyword">if</span> (mode&lt;=4)    <span class="comment">%LPM</span>
+3423     bunch=quart(mode);
+3424 <span class="keyword">elseif</span> (mode&gt;4)&amp;&amp;(mode&lt;=7) <span class="comment">%LPM</span>
+3425     bunch=quart(1:(mode-3));
+3426 <span class="keyword">elseif</span> (mode==8)    <span class="comment">%LPM</span>
+3427     dbunch=4*8;
+3428     bunch=(0:12)*dbunch;
+3429 <span class="keyword">elseif</span> (mode==9)   <span class="comment">% SPM    1 paquet</span>
+3430     bunch=[1];
+3431 <span class="keyword">elseif</span> (mode==10)  <span class="comment">% SPM    8 paquets</span>
+3432     bunch=[0:7]*52+1;
+3433 <span class="keyword">elseif</span> (mode==11)  <span class="comment">% SPM    16 paquets</span>
+3434     bunch=[0:15]*26+1;
+3435 <span class="keyword">elseif</span> (mode==12)  <span class="comment">% SPM    n paquets</span>
+3436    bunch=str2num(get(handles.edit_filling_entrer_bunch,<span class="string">'String'</span>));
+3437 <span class="keyword">elseif</span> (mode==13)  <span class="comment">% SPM    n paquets</span>
+3438     paq=str2num(get(handles.edit_filling_entrer_bunch1,<span class="string">'String'</span>));
+3439     bunch=paq(1):paq(2);
+3440 <span class="keyword">end</span>
+3441 
+3442 
+3443 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+3444 dpaquet=dpaquet*bjump+offset_linac;
+3445 table=int32([length(bunch) dtour dpaquet]);
+3446 handles.table=table;
+3447 handles.bunch=bunch;
+3448 
+3449 
+3450 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3451 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)  <span class="comment">% on rempli la table sur paquet 1 par dÃ©faut</span>
+3452     table=handles.table0;
+3453     tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+3454     
+3455 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>) <span class="comment">% on rempli la table</span>
+3456     tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+3457     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+3458     n=temp.value;
+3459     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+3460     table_ext=temp.value(1:n); <span class="comment">%-offset_ext;</span>
+3461     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'LinacDelayTable'</span>);
+3462     table_linac=(temp.value(1:n)-offset_linac)/bjump;
+3463     table=[];
+3464     <span class="keyword">for</span> i=1:n
+3465         table=[table <span class="string">' '</span> <span class="string">'('</span> num2str([table_ext(i)])  <span class="string">' '</span>  num2str([table_linac(i)]) <span class="string">')'</span>];
+3466     <span class="keyword">end</span>
+3467 <span class="keyword">end</span>
+3468 
+3469 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+3470 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,[num2str(bunch)]);
+3471 
+3472 
+3473 guidata(hObject, handles);
+3474 
+3475 
+3476 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3477 <a name="_sub153" href="#_subfunctions" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a>
+3478 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+3479 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3480 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3481 
+3482 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+3483 <span class="comment">%       See ISPC and COMPUTER.</span>
+3484 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3485     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3486 <span class="keyword">end</span>
+3487 
+3488 
+3489 <span class="comment">% --- Executes on button press in button_fix.</span>
+3490 <a name="_sub154" href="#_subfunctions" class="code">function button_fix_Callback(hObject, eventdata, handles)</a>
+3491 <span class="comment">% hObject    handle to button_fix (see GCBO)</span>
+3492 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3493 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3494 
+3495 [clk_pc,clk_soft]=<a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>;
+3496 handles.clk_pc  =clk_pc;
+3497 handles.clk_soft=clk_soft;
+3498 
+3499 <span class="comment">% n=1;</span>
+3500 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');</span>
+3501 <span class="comment">% clk1=temp.value(n);</span>
+3502 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');</span>
+3503 <span class="comment">% clk2=temp.value(n);</span>
+3504 <span class="comment">%</span>
+3505 <span class="comment">% jump=int32([0 39 26 13]);</span>
+3506 <span class="comment">% handles.clk_pc  =jump +  int32(clk1);</span>
+3507 <span class="comment">% handles.clk_soft=jump  + int32(clk2);</span>
+3508 
+3509 guidata(hObject, handles);
+3510 
+3511 
+3512 
+3513 <a name="_sub155" href="#_subfunctions" class="code">function edit_Nshot_soft_Callback(hObject, eventdata, handles)</a>
+3514 <span class="comment">% hObject    handle to edit_Nshot_soft (see GCBO)</span>
+3515 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3516 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3517 
+3518 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Nshot_soft as text</span>
+3519 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Nshot_soft as a double</span>
+3520 
+3521 
+3522 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3523 <a name="_sub156" href="#_subfunctions" class="code">function edit_Nshot_soft_CreateFcn(hObject, eventdata, handles)</a>
+3524 <span class="comment">% hObject    handle to edit_Nshot_soft (see GCBO)</span>
+3525 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3526 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3527 
+3528 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3529 <span class="comment">%       See ISPC and COMPUTER.</span>
+3530 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3531     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3532 <span class="keyword">end</span>
+3533 
+3534 
+3535 
+3536 <a name="_sub157" href="#_subfunctions" class="code">function edit_laps_Callback(hObject, eventdata, handles)</a>
+3537 <span class="comment">% hObject    handle to edit_laps (see GCBO)</span>
+3538 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3539 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3540 
+3541 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_laps as text</span>
+3542 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_laps as a double</span>
+3543 
+3544 
+3545 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3546 <a name="_sub158" href="#_subfunctions" class="code">function edit_laps_CreateFcn(hObject, eventdata, handles)</a>
+3547 <span class="comment">% hObject    handle to edit_laps (see GCBO)</span>
+3548 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3549 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3550 
+3551 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3552 <span class="comment">%       See ISPC and COMPUTER.</span>
+3553 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3554     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3555 <span class="keyword">end</span>
+3556 
+3557 
+3558 
+3559 <a name="_sub159" href="#_subfunctions" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a>
+3560 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+3561 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3562 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3563 
+3564 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_qlt1 as text</span>
+3565 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_qlt1 as a double</span>
+3566 
+3567 
+3568 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3569 <a name="_sub160" href="#_subfunctions" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a>
+3570 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+3571 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3572 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3573 
+3574 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3575 <span class="comment">%       See ISPC and COMPUTER.</span>
+3576 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3577     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3578 <span class="keyword">end</span>
+3579 
+3580 
+3581 
+3582 <a name="_sub161" href="#_subfunctions" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a>
+3583 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+3584 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3585 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3586 
+3587 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_iboo as text</span>
+3588 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_iboo as a double</span>
+3589 
+3590 
+3591 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3592 <a name="_sub162" href="#_subfunctions" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a>
+3593 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+3594 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3595 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3596 
+3597 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3598 <span class="comment">%       See ISPC and COMPUTER.</span>
+3599 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3600     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3601 <span class="keyword">end</span>
+3602 
+3603 
+3604 
+3605 <a name="_sub163" href="#_subfunctions" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a>
+3606 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+3607 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3608 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3609 
+3610 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians as text</span>
+3611 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians as a double</span>
+3612 
+3613 
+3614 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3615 <a name="_sub164" href="#_subfunctions" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a>
+3616 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+3617 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3618 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3619 
+3620 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3621 <span class="comment">%       See ISPC and COMPUTER.</span>
+3622 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3623     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3624 <span class="keyword">end</span>
+3625 
+3626 
+3627 
+3628 <a name="_sub165" href="#_subfunctions" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a>
+3629 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3630 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3631 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3632 
+3633 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rlt1 as text</span>
+3634 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rlt1 as a double</span>
+3635 
+3636 
+3637 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3638 <a name="_sub166" href="#_subfunctions" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a>
+3639 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3640 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3641 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3642 
+3643 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3644 <span class="comment">%       See ISPC and COMPUTER.</span>
+3645 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3646     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3647 <span class="keyword">end</span>
+3648 
+3649 
+3650 
+3651 <a name="_sub167" href="#_subfunctions" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a>
+3652 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3653 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3654 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3655 
+3656 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rboo as text</span>
+3657 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rboo as a double</span>
+3658 
+3659 
+3660 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3661 <a name="_sub168" href="#_subfunctions" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a>
+3662 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3663 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3664 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3665 
+3666 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3667 <span class="comment">%       See ISPC and COMPUTER.</span>
+3668 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3669     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3670 <span class="keyword">end</span>
+3671 
+3672 
+3673 
+3674 <a name="_sub169" href="#_subfunctions" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a>
+3675 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3676 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3677 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3678 
+3679 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rans as text</span>
+3680 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rans as a double</span>
+3681 
+3682 
+3683 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3684 <a name="_sub170" href="#_subfunctions" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a>
+3685 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3686 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3687 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3688 
+3689 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3690 <span class="comment">%       See ISPC and COMPUTER.</span>
+3691 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3692     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3693 <span class="keyword">end</span>
+3694 
+3695 
+3696 
+3697 <a name="_sub171" href="#_subfunctions" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a>
+3698 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3699 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3700 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3701 
+3702 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians1 as text</span>
+3703 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians1 as a double</span>
+3704 
+3705 
+3706 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3707 <a name="_sub172" href="#_subfunctions" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a>
+3708 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3709 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3710 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3711 
+3712 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3713 <span class="comment">%       See ISPC and COMPUTER.</span>
+3714 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3715     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3716 <span class="keyword">end</span>
+3717 
+3718 
+3719 
+3720 <a name="_sub173" href="#_subfunctions" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a>
+3721 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3722 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3723 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3724 
+3725 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_cycle as text</span>
+3726 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_cycle as a double</span>
+3727 
+3728 
+3729 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3730 <a name="_sub174" href="#_subfunctions" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a>
+3731 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3732 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3733 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3734 
+3735 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3736 <span class="comment">%       See ISPC and COMPUTER.</span>
+3737 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3738     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3739 <span class="keyword">end</span>
+3740 
+3741 
+3742 
+3743 <a name="_sub175" href="#_subfunctions" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a>
+3744 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3745 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3746 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3747 
+3748 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_courant_total as text</span>
+3749 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_courant_total as a double</span>
+3750 
+3751 
+3752 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3753 <a name="_sub176" href="#_subfunctions" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a>
+3754 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3755 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3756 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3757 
+3758 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3759 <span class="comment">%       See ISPC and COMPUTER.</span>
+3760 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3761     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3762 <span class="keyword">end</span>
+3763 
+3764 
+3765 
+3766 <a name="_sub177" href="#_subfunctions" class="code">function lin_canon_spm_Callback(hObject, eventdata, handles)</a>
+3767 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3768 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3769 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3770 
+3771 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_spm as text</span>
+3772 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_spm as a double</span>
+3773 
+3774 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+3775 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+3776 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>,delay);
+3777 
+3778 
+3779 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3780 <a name="_sub178" href="#_subfunctions" class="code">function lin_canon_spm_CreateFcn(hObject, eventdata, handles)</a>
+3781 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3782 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3783 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3784 
+3785 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3786 <span class="comment">%       See ISPC and COMPUTER.</span>
+3787 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3788     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3789 <span class="keyword">end</span>
+3790 
+3791 
+3792 <a name="_sub179" href="#_subfunctions" class="code">function  uipanel_mode_CreateFcn(hObject, eventdata, handles)</a>
+3793 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3794 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3795 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3796 
+3797 
+3798 <span class="comment">% % --------------------------------------------------------------------</span>
+3799  <span class="keyword">function</span> <a href="#_sub180" class="code" title="subfunction uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)">uipanel_mode_SelectionChangeFcn</a>(hObject, eventdata, handles)
+3800 <span class="comment">% % hObject    handle to uipanel_mode (see GCBO)</span>
+3801 <span class="comment">% % eventdata  reserved - to be defined in a future version of MATLAB</span>
+3802 <span class="comment">% % handles    structure with handles and user data (see GUIDATA)</span>
+3803 <span class="comment">%</span>
+3804 
+3805 modelinac=get(get(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3806 <span class="keyword">switch</span> modelinac  <span class="comment">% Get Tag of selected object</span>
+3807     <span class="keyword">case</span> <span class="string">'no_mode'</span>
+3808         eventlpm=int32(0);
+3809         eventspm=int16(0);
+3810     <span class="keyword">case</span> <span class="string">'lpm_mode'</span>
+3811         eventlpm=int32(5);
+3812         eventspm=int16(0);
+3813     <span class="keyword">case</span> <span class="string">'spm_mode'</span>
+3814         eventlpm=int32(0);
+3815         eventspm=int16(5);
+3816 <span class="keyword">end</span>
+3817 
+3818 mode=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3819 
+3820 tout=0.;
+3821 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3822     <span class="keyword">case</span> <span class="string">'togglebutton_soft'</span>
+3823     <span class="comment">% switch to soft</span>
+3824         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+3825         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+3826         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,eventlpm); pause(tout);
+3827         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,eventspm);
+3828         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,int32(1)); pause(tout);
+3829         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+3830         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+3831         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+3832         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout);     
+3833         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+3834         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+3835         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+3836         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+3837         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+3838         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+3839         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+3840         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+3841         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+3842         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+3843         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+3844         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+3845         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+3846         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3847         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,event);pause(tout);
+3848         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,event);pause(tout);
+3849         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+3850         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([5 5 5 5]); 
+3851         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© addresses sans update</span>
+3852         <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigEvent',event);pause(tout);</span>
+3853         <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigEvent',event);pause(tout);</span>
+3854         <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigEvent',event);pause(tout);</span>
+3855         <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigEvent',event);pause(tout);</span>
+3856         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+3857         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+3858         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,int32(3));pause(tout);
+3859         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3860         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3861         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3862         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3863         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3864         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3865         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3866         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3867         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3868         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3869         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3870         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3871         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3872         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3873         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3874         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);     
+3875 
+3876     <span class="comment">% special modulateur</span>
+3877         inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+3878         inj=str2double(get(handles.central_inj,<span class="string">'String'</span>));
+3879         soft=str2double(get(handles.central_soft,<span class="string">'String'</span>));
+3880         pc=str2double(get(handles.central_pc,<span class="string">'String'</span>));
+3881         temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+3882         delay=inj_offset+soft-pc;
+3883         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+3884         <a href="start_soft.html" class="code" title="function start_soft">start_soft</a>
+3885      <span class="comment">% special septum actif boo et ans</span>
+3886         r=(1-0.0004);
+3887         boo=readattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage'</span>); boo=boo*r;
+3888         writeattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage,'</span>,boo);
+3889         ans=readattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage'</span>); ans=ans*r;
+3890         writeattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage,'</span>,ans);     
+3891            
+3892     <span class="keyword">case</span> <span class="string">'togglebutton_3Hz'</span>
+3893     <span class="comment">% switch to 3Hz</span>
+3894         event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+3895         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+3896         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(0)); pause(tout);
+3897         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int16(0)); 
+3898         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,event); pause(tout);
+3899         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+3900         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+3901         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+3902         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+3903         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+3904         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,event); pause(tout);
+3905         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,event); pause(tout);
+3906         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,event); pause(tout);
+3907         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,event); pause(tout);
+3908         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+3909         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event); pause(tout);
+3910         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,event);
+3911         tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Reset'</span>);  <span class="comment">% stop les trigs d'injection boo</span>
+3912         event=int32(3) ;<span class="comment">% adresse de l'extraction</span>
+3913         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,event);pause(tout);
+3914         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,event);pause(tout);
+3915         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+3916         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+3917         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,event);pause(tout);
+3918         tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Reset'</span>); <span class="comment">% stop les trigs d'extraction boo</span>
+3919         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3920         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,event);pause(tout);
+3921         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,event);pause(tout);
+3922         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,event);pause(tout);
+3923         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Reset'</span>);
+3924         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([3 3 3 3]); 
+3925         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+3926         <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k1.trigEvent',event);pause(tout);</span>
+3927         <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k2.trigEvent',event);pause(tout);</span>
+3928         <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k3.trigEvent',event);pause(tout);</span>
+3929         <span class="comment">%tango_write_attribute2('ANS-C01/SY/LOCAL.Ainj.1', 'k4.trigEvent',event);pause(tout);</span>
+3930         <span class="comment">%tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Reset');</span>
+3931         
+3932         <span class="comment">%arg.svalue={'sep-p','sep-a'}; arg.lvalue=int32([3 3]);</span>
+3933         <span class="comment">%tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update</span>
+3934         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+3935         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+3936         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Reset'</span>); <span class="comment">% stop les trigs d'injection anneau</span>
+3937         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,event);pause(tout);
+3938         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3939         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3940         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3941         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3942         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3943         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3944         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3945         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3946         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3947         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3948         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3949         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3950         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3951         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3952         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3953         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3954     
+3955     <span class="comment">% special modulateur</span>
+3956         inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+3957         inj=str2double(get(handles.central_inj,<span class="string">'String'</span>));
+3958         soft=str2double(get(handles.central_soft,<span class="string">'String'</span>));
+3959         temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+3960         delay=inj_offset+0;
+3961         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+3962     <span class="comment">% special septum actif boo et ans</span>
+3963         r=(1+0.0004);
+3964         boo=readattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage'</span>); boo=boo*r;
+3965         writeattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage,'</span>,boo);
+3966         ans=readattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage'</span>); ans=ans*r;
+3967         writeattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage,'</span>,ans);     
+3968 <span class="keyword">end</span>
+3969 
+3970 display(<span class="string">'ok change address'</span>)
+3971 
+3972 
+3973 
+3974 <a name="_sub180" href="#_subfunctions" class="code">function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)</a>
+3975 <span class="comment">% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)</span>
+3976 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3977 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3978 
+3979 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch1 as text</span>
+3980 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch1 as a double</span>
+3981 
+3982 
+3983 
+3984 
+3985 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3986 <a name="_sub181" href="#_subfunctions" class="code">function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)</a>
+3987 <span class="comment">% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)</span>
+3988 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3989 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3990 
+3991 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3992 <span class="comment">%       See ISPC and COMPUTER.</span>
+3993 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3994     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3995 <span class="keyword">end</span>
+3996 
+3997 
+3998 
+3999 <a name="_sub182" href="#_subfunctions" class="code">function edit_Imin_Callback(hObject, eventdata, handles)</a>
+4000 <span class="comment">% hObject    handle to edit_Imin (see GCBO)</span>
+4001 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+4002 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+4003 
+4004 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Imin as text</span>
+4005 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Imin as a double</span>
+4006 
+4007 
+4008 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+4009 <a name="_sub183" href="#_subfunctions" class="code">function edit_Imin_CreateFcn(hObject, eventdata, handles)</a>
+4010 <span class="comment">% hObject    handle to edit_Imin (see GCBO)</span>
+4011 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+4012 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+4013 
+4014 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+4015 <span class="comment">%       See ISPC and COMPUTER.</span>
+4016 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+4017     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+4018 <span class="keyword">end</span>
+4019 
+4020 
+4021 <span class="comment">% --------------------------------------------------------------------</span>
+4022 <a name="_sub184" href="#_subfunctions" class="code">function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+4023 <span class="comment">% hObject    handle to uipanel_spm_mode (see GCBO)</span>
+4024 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+4025 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+4026 
+4027 <span class="comment">%h=get(handles.uipanel_spm_mode);</span>
+4028 <span class="comment">%get(h.Children)</span>
+4029 
+4030 mode=get(get(handles.uipanel_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+4031 
+4032 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+4033     <span class="keyword">case</span> <span class="string">'spm_mode_1'</span>
+4034         display(<span class="string">'spm_mode_1'</span>)     
+4035         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(1));
+4036     <span class="keyword">case</span> <span class="string">'spm_mode_2'</span>
+4037         display(<span class="string">'spm_mode_2'</span>)  
+4038         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(2));
+4039     <span class="keyword">case</span> <span class="string">'spm_mode_2p'</span>
+4040         display(<span class="string">'spm_mode_2p'</span>)   
+4041         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(3));
+4042     <span class="keyword">case</span> <span class="string">'spm_mode_3'</span>
+4043         display(<span class="string">'spm_mode_3'</span>)    
+4044         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(4));   
+4045 <span class="keyword">end</span>
+4046 
+4047 
+4048 <span class="comment">% --------------------------------------------------------------------</span>
+4049 <a name="_sub185" href="#_subfunctions" class="code">function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+4050 <span class="comment">% hObject    handle to uipanel_lpm_spm_mode (see GCBO)</span>
+4051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+4052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+4053 
+4054 
+4055 mode=get(get(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+4056 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+4057 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)
+4058     event16=int16(5);
+4059     event32=int32(5);
+4060 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+4061     event16=int16(0);
+4062     event32=int32(0);
+4063 <span class="keyword">end</span>
+4064 
+4065 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+4066     <span class="keyword">case</span> <span class="string">'no_mode'</span>
+4067         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(0)); 
+4068         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int16(0)); 
+4069         
+4070     <span class="keyword">case</span> <span class="string">'lpm_mode'</span>
+4071         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event32); 
+4072         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,int16(0));     
+4073         
+4074         tango_write_attribute(<span class="string">'LT1/AE/CV.2'</span>, <span class="string">'current'</span>,  0.088 );
+4075         tango_write_attribute(<span class="string">'LT1/AE/CV.3'</span>, <span class="string">'current'</span>, -0.34 );
+4076 
+4077     <span class="keyword">case</span> <span class="string">'spm_mode'</span>
+4078         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,int32(0)); 
+4079         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event16);   
+4080         
+4081         tango_write_attribute(<span class="string">'LT1/AE/CV.2'</span>, <span class="string">'current'</span>,  0.112 );
+4082         tango_write_attribute(<span class="string">'LT1/AE/CV.3'</span>, <span class="string">'current'</span>, -0.077 );
+4083         
+4084 <span class="keyword">end</span>
+4085 
+4086 
+4087</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur7.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur7.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur7.html	(revision 17)
@@ -0,0 +1,4130 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur7</title>
+  <meta name="keywords" content="synchro_injecteur7">
+  <meta name="description" content="SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur7.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur7
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur7(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig
+      SYNCHRO_INJECTEUR7, by itself, creates a new SYNCHRO_INJECTEUR7 or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR7 returns the handle to a new SYNCHRO_INJECTEUR7 or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR7('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR7.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR7('Property','Value',...) creates a new SYNCHRO_INJECTEUR7 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur7_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur7_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li><li><a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>	fix premier quart</li><li><a href="get_start_clk.html" class="code" title="function [clk1,clk2]=get_start_clk">get_start_clk</a>	fix premier quart</li><li><a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>	calcul efficacitÃ©</li><li><a href="load_synchro.html" class="code" title="function load_synchro(file)">load_synchro</a>	</li><li><a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>	retour update</li><li><a href="start_3Hz.html" class="code" title="function start_3Hz(event)">start_3Hz</a>	test 3Hz</li><li><a href="start_soft.html" class="code" title="function start_soft">start_soft</a>	test 3Hz</li><li><a href="step.html" class="code" title="">step</a>	reglage delta tune Ã  110 MeV</li><li><a href="stop_3Hz.html" class="code" title="function stop_3Hz">stop_3Hz</a>	test 3Hz</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur7_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur7_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function boo_alim_dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function boo_alim_qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function boo_alim_qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function boo_alim_qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function boo_alim_qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function boo_alim_sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function boo_alim_sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function boo_alim_sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function boo_alim_sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function lin_canon_lpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function lin_canon_spm_fin_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function central_pc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function central_pc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function central_inj_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function central_inj_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function central_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function central_soft_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function button_acquisition_nooffset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function button_acquisition_delay_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function button_injection_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub51" class="code">function fonction_alex1(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub52" class="code">function fonction_alex2(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub53" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub54" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function central_ext_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function central_ext_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function central_soft1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function central_soft1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function sdc2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function button_acquisition_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub107" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub108" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub109" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub110" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub111" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub112" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub113" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub114" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub115" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub116" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub117" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub118" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub119" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub120" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub121" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub122" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub123" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub124" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub125" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub126" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub127" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub128" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub129" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub130" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub131" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub132" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub133" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub134" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub135" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub136" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub137" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub138" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub139" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub140" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub141" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub142" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub143" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub144" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub145" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub146" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub147" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub148" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub149" class="code">function button_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub150" class="code">function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub151" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub152" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub153" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub154" class="code">function button_fix_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub155" class="code">function edit_Nshot_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub156" class="code">function edit_Nshot_soft_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub157" class="code">function edit_laps_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub158" class="code">function edit_laps_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub159" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub160" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub161" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub162" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub163" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub164" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub165" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub166" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub167" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub168" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub169" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub170" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub171" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub172" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub173" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub174" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub175" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub176" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub177" class="code">function lin_canon_spm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub178" class="code">function lin_canon_spm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub179" class="code">function  uipanel_mode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub180" class="code">function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub181" class="code">function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub182" class="code">function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub183" class="code">function edit_Imin_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub184" class="code">function edit_Imin_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub185" class="code">function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub186" class="code">function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub187" class="code">function pushbutton_load_golden_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur7(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR7 M-file for synchro_injecteur7.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR7, by itself, creates a new SYNCHRO_INJECTEUR7 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR7 returns the handle to a new SYNCHRO_INJECTEUR7 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR7('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR7.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR7('Property','Value',...) creates a new SYNCHRO_INJECTEUR7 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur7_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur7_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur7</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 26-Feb-2007 15:22:53</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur7_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur7_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur7_OutputFcn(hObject, eventdata, handles)">synchro_injecteur7_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_injecteur7 is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur7_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_injecteur7 (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_injecteur7</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% Charge les offset</span>
+0059 load(<span class="string">'/home/matlabML/applications/synchro/synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0060 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0061 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0062 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+0063 <span class="comment">% Periode linac fin</span>
+0064 handles.lin_fin_step=0.090;                   <span class="comment">% En ns  (90 ps)</span>
+0065 handles.one_bunch=2.84/handles.lin_fin_step;  <span class="comment">% Nombre de pas pour sauter un paquet</span>
+0066 
+0067 <span class="comment">% Periode du trigger par defaut = 10 s</span>
+0068 handles.periode = 10;
+0069 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0070 set(handles.edit_Nshot_soft,<span class="string">'String'</span>,num2str(1));
+0071 set(handles.edit_laps,<span class="string">'String'</span>,1.0);
+0072 
+0073 <span class="comment">%Memorise les dÃ©lais pc et soft initiaux</span>
+0074 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>);
+0075 clk1=temp.value(1);
+0076 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0077 clk2=temp.value(1);
+0078 
+0079 <span class="comment">%Stocke les sauts pour les 4 quarts mode LPM</span>
+0080 jump=int32([0 39 26 13]);
+0081 handles.clk_pc  =jump +  int32(clk1);
+0082 handles.clk_soft=jump  + int32(clk2);
+0083 handles.quart=1;
+0084 
+0085 <span class="comment">% Table initiale sur paquet 1</span>
+0086 bunch=[1];
+0087 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+0088 offset_linac=lin_fin/handles.lin_fin_step; 
+0089 bjump=handles.one_bunch;
+0090 dpaquet=dpaquet*bjump+offset_linac;
+0091 handles.table=int32([length(bunch) dtour dpaquet]);
+0092 handles.table0=handles.table;
+0093 handles.bunch=bunch;
+0094 
+0095 handles.mode = <span class="string">'Mode=???'</span>;
+0096 set(handles.edit_filling_relecture_tables,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0097 set(handles.edit_filling_relecture_bunch,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0098 
+0099 
+0100 <span class="comment">% Verifie le mode selectionnÃ© en SPM ou LPM</span>
+0101 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0102 modelpm=temp.value(1);
+0103 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+0104 modespm=temp.value(1);
+0105 h=get(handles.uipanel_lpm_spm_mode);
+0106 <span class="keyword">if</span>     (modelpm==5)&amp;(modespm==0)
+0107     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+0108 <span class="keyword">elseif</span> (modelpm==0)&amp;(modespm==5)
+0109     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+0110 <span class="keyword">else</span>
+0111     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(3))
+0112 <span class="keyword">end</span>
+0113 
+0114 
+0115 
+0116 <span class="comment">% Verifie le mode selectionnÃ© en SPM : 1 2 ou 3 paquets</span>
+0117 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>);
+0118 mode=temp.value(1);
+0119 h=get(handles.uipanel_spm_mode);
+0120 select=h.Children(5-mode);
+0121 set(handles.uipanel_spm_mode,<span class="string">'SelectedObject'</span>,select)
+0122 
+0123 <span class="comment">% Verifie le mode d'injection selectionnÃ© : soft ou 3Hz</span>
+0124 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+0125 mode=temp.value(1);
+0126 h=get(handles.uipanel_mode);
+0127 <span class="keyword">if</span>     mode==2
+0128     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+0129 <span class="keyword">elseif</span> mode==1
+0130     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+0131 <span class="keyword">else</span>
+0132     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,[])
+0133 <span class="keyword">end</span>
+0134 <span class="comment">% Choix des events</span>
+0135 handles.event0 =int32(0);
+0136 handles.event00=int32(100);  <span class="comment">%SpÃ©ciale EP</span>
+0137 
+0138 
+0139 <span class="comment">% Cache le tableau des dÃ©lais BPM</span>
+0140 set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0141 
+0142 
+0143 
+0144 <span class="comment">% Fonction timer pour injection en boucle</span>
+0145 <span class="comment">% Creates timer Infinite loop</span>
+0146 timer2=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0147     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,3,<span class="string">'TasksToExecute'</span>,Inf);
+0148 timer2.TimerFcn = {@<a href="#_sub52" class="code" title="subfunction fonction_alex2(arg1,arg2,hObject,eventdata,handles)">fonction_alex2</a>, hObject,eventdata, handles};
+0149 setappdata(handles.figure1,<span class="string">'Timer2'</span>,timer2);
+0150 
+0151 <span class="comment">% Creates timer Infinite loop</span>
+0152 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0153     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0154 timer1.TimerFcn = {@<a href="#_sub51" class="code" title="subfunction fonction_alex1(arg1,arg2,hObject,eventdata,handles)">fonction_alex1</a>, hObject,eventdata, handles};
+0155 setappdata(handles.figure1,<span class="string">'Timer1'</span>,timer1);
+0156 
+0157 <span class="comment">% button group sur on/off timer du trigger</span>
+0158 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.1405 0.32 0.11 0.14],<span class="keyword">...</span>
+0159     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0160     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0161 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0162     <span class="string">'pos'</span>,[05 85 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0163     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0164 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' Laps :'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0165     <span class="string">'pos'</span>,[05 45 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0166     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0167 u3 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' Imin :'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton3'</span>,<span class="keyword">...</span>
+0168     <span class="string">'pos'</span>,[05 05 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0169     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0170 
+0171 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0172     {@<a href="#_sub50" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0173 
+0174 handles.off = u1;
+0175 handles.on1 = u2;
+0176 handles.on2 = u3;
+0177 
+0178 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0179 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0180 
+0181 <span class="comment">%% Set closing gui function</span>
+0182 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub53" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0183 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub53" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer2,handles.figure1});
+0184 
+0185 
+0186 <span class="comment">% Update handles structure</span>
+0187 guidata(hObject, handles);
+0188 
+0189 <span class="comment">% UIWAIT makes synchro_injecteur7 wait for user response (see UIRESUME)</span>
+0190 <span class="comment">% uiwait(handles.figure1);</span>
+0191 
+0192 
+0193 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0194 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur7_OutputFcn(hObject, eventdata, handles) </a>
+0195 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0196 <span class="comment">% hObject    handle to figure</span>
+0197 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0198 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0199 
+0200 <span class="comment">% Get default command line output from handles structure</span>
+0201 varargout{1} = handles.output;
+0202 
+0203 
+0204 
+0205 <a name="_sub3" href="#_subfunctions" class="code">function boo_alim_dipole_Callback(hObject, eventdata, handles)</a>
+0206 <span class="comment">% hObject    handle to boo_alim_dipole (see GCBO)</span>
+0207 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0208 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0209 
+0210 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_dipole as text</span>
+0211 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_dipole as a double</span>
+0212 <span class="comment">%h=gcf</span>
+0213 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0214 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0215 
+0216 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0217 <a name="_sub4" href="#_subfunctions" class="code">function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)</a>
+0218 <span class="comment">% hObject    handle to boo_alim_dipole (see GCBO)</span>
+0219 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0220 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0221 
+0222 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0223 <span class="comment">%       See ISPC and COMPUTER.</span>
+0224 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0225     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0226 <span class="keyword">end</span>
+0227 
+0228 
+0229 <a name="_sub5" href="#_subfunctions" class="code">function boo_alim_qf_Callback(hObject, eventdata, handles)</a>
+0230 <span class="comment">% hObject    handle to boo_alim_qf (see GCBO)</span>
+0231 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0232 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0233 
+0234 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_qf as text</span>
+0235 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_qf as a double</span>
+0236 
+0237 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0238 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0239 
+0240 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0241 <a name="_sub6" href="#_subfunctions" class="code">function boo_alim_qf_CreateFcn(hObject, eventdata, handles)</a>
+0242 <span class="comment">% hObject    handle to boo_alim_qf (see GCBO)</span>
+0243 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0244 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0245 
+0246 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0247 <span class="comment">%       See ISPC and COMPUTER.</span>
+0248 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0249     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0250 <span class="keyword">end</span>
+0251 
+0252 
+0253 
+0254 <a name="_sub7" href="#_subfunctions" class="code">function boo_alim_qd_Callback(hObject, eventdata, handles)</a>
+0255 <span class="comment">% hObject    handle to boo_alim_qd (see GCBO)</span>
+0256 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0257 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0258 
+0259 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_qd as text</span>
+0260 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_qd as a double</span>
+0261 
+0262 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0263 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0264 
+0265 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0266 <a name="_sub8" href="#_subfunctions" class="code">function boo_alim_qd_CreateFcn(hObject, eventdata, handles)</a>
+0267 <span class="comment">% hObject    handle to boo_alim_qd (see GCBO)</span>
+0268 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0269 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0270 
+0271 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0272 <span class="comment">%       See ISPC and COMPUTER.</span>
+0273 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0274     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0275 <span class="keyword">end</span>
+0276 
+0277 
+0278 
+0279 <a name="_sub9" href="#_subfunctions" class="code">function boo_alim_sf_Callback(hObject, eventdata, handles)</a>
+0280 <span class="comment">% hObject    handle to boo_alim_sf (see GCBO)</span>
+0281 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0282 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0283 
+0284 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_sf as text</span>
+0285 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_sf as a double</span>
+0286 
+0287 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0288 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0289 
+0290 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0291 <a name="_sub10" href="#_subfunctions" class="code">function boo_alim_sf_CreateFcn(hObject, eventdata, handles)</a>
+0292 <span class="comment">% hObject    handle to boo_alim_sf (see GCBO)</span>
+0293 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0294 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0295 
+0296 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0297 <span class="comment">%       See ISPC and COMPUTER.</span>
+0298 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0299     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0300 <span class="keyword">end</span>
+0301 
+0302 
+0303 
+0304 <a name="_sub11" href="#_subfunctions" class="code">function boo_alim_sd_Callback(hObject, eventdata, handles)</a>
+0305 <span class="comment">% hObject    handle to boo_alim_sd (see GCBO)</span>
+0306 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0307 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0308 
+0309 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_sd as text</span>
+0310 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_sd as a double</span>
+0311 
+0312 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0313 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0314 
+0315 
+0316 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0317 <a name="_sub12" href="#_subfunctions" class="code">function boo_alim_sd_CreateFcn(hObject, eventdata, handles)</a>
+0318 <span class="comment">% hObject    handle to boo_alim_sd (see GCBO)</span>
+0319 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0320 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0321 
+0322 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0323 <span class="comment">%       See ISPC and COMPUTER.</span>
+0324 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0325     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0326 <span class="keyword">end</span>
+0327 
+0328 
+0329 
+0330 <a name="_sub13" href="#_subfunctions" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a>
+0331 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0332 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0333 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0334 
+0335 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_rf as text</span>
+0336 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_rf as a double</span>
+0337 
+0338 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0339 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0340 
+0341 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0342 <a name="_sub14" href="#_subfunctions" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a>
+0343 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0344 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0345 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0346 
+0347 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0348 <span class="comment">%       See ISPC and COMPUTER.</span>
+0349 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0350     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0351 <span class="keyword">end</span>
+0352 
+0353 
+0354 
+0355 <a name="_sub15" href="#_subfunctions" class="code">function lin_canon_lpm_Callback(hObject, eventdata, handles)</a>
+0356 <span class="comment">% hObject    handle to lin_canon_lpm (see GCBO)</span>
+0357 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0358 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0359 
+0360 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_lpm as text</span>
+0361 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_lpm as a double</span>
+0362 
+0363 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0364 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0365 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0366 
+0367 
+0368 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0369 <a name="_sub16" href="#_subfunctions" class="code">function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)</a>
+0370 <span class="comment">% hObject    handle to lin_canon_lpm (see GCBO)</span>
+0371 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0372 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0373 
+0374 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0375 <span class="comment">%       See ISPC and COMPUTER.</span>
+0376 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0377     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0378 <span class="keyword">end</span>
+0379 
+0380 
+0381 
+0382 <a name="_sub17" href="#_subfunctions" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a>
+0383 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0384 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0385 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0386 
+0387 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_emittance as text</span>
+0388 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double</span>
+0389 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0390 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0391 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0392 
+0393 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0394 <a name="_sub18" href="#_subfunctions" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a>
+0395 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0396 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0397 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0398 
+0399 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0400 <span class="comment">%       See ISPC and COMPUTER.</span>
+0401 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0402     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0403 <span class="keyword">end</span>
+0404 
+0405 
+0406 
+0407 <a name="_sub19" href="#_subfunctions" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a>
+0408 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0409 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0410 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0411 
+0412 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC1 as text</span>
+0413 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double</span>
+0414 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0415 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0416 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0417 
+0418 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0419 <a name="_sub20" href="#_subfunctions" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a>
+0420 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0421 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0422 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0423 
+0424 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0425 <span class="comment">%       See ISPC and COMPUTER.</span>
+0426 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0427     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0428 <span class="keyword">end</span>
+0429 
+0430 
+0431 
+0432 <a name="_sub21" href="#_subfunctions" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a>
+0433 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0434 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0435 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0436 
+0437 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC2 as text</span>
+0438 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double</span>
+0439 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0440 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0441 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0442 
+0443 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0444 <a name="_sub22" href="#_subfunctions" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a>
+0445 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0446 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0447 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0448 
+0449 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0450 <span class="comment">%       See ISPC and COMPUTER.</span>
+0451 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0452     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0453 <span class="keyword">end</span>
+0454 
+0455 
+0456 
+0457 <a name="_sub23" href="#_subfunctions" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a>
+0458 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0459 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0460 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0461 
+0462 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_osc as text</span>
+0463 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double</span>
+0464 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0465 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0466 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0467 
+0468 
+0469 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0470 <a name="_sub24" href="#_subfunctions" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a>
+0471 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0472 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0473 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0474 
+0475 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0476 <span class="comment">%       See ISPC and COMPUTER.</span>
+0477 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0478     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0479 <span class="keyword">end</span>
+0480 
+0481 
+0482 
+0483 <a name="_sub25" href="#_subfunctions" class="code">function sdc1_Callback(hObject, eventdata, handles)</a>
+0484 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0485 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0486 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0487 
+0488 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc1 as text</span>
+0489 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc1 as a double</span>
+0490 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0491 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0492 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0493 
+0494 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0495 <a name="_sub26" href="#_subfunctions" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a>
+0496 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0497 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0498 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0499 
+0500 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0501 <span class="comment">%       See ISPC and COMPUTER.</span>
+0502 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0503     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0504 <span class="keyword">end</span>
+0505 
+0506 
+0507 
+0508 <a name="_sub27" href="#_subfunctions" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a>
+0509 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0510 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0511 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0512 
+0513 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_septum as text</span>
+0514 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double</span>
+0515 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0516 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0517 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+0518 
+0519 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0520 <a name="_sub28" href="#_subfunctions" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a>
+0521 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0522 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0523 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0524 
+0525 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0526 <span class="comment">%       See ISPC and COMPUTER.</span>
+0527 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0528     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0529 <span class="keyword">end</span>
+0530 
+0531 
+0532 
+0533 <a name="_sub29" href="#_subfunctions" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a>
+0534 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0535 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0536 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0537 
+0538 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text</span>
+0539 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double</span>
+0540 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0541 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0542 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+0543 
+0544 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0545 <a name="_sub30" href="#_subfunctions" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a>
+0546 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0547 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0548 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0549 
+0550 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0551 <span class="comment">%       See ISPC and COMPUTER.</span>
+0552 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0553     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0554 <span class="keyword">end</span>
+0555 
+0556 
+0557 
+0558 <a name="_sub31" href="#_subfunctions" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a>
+0559 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0560 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0561 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0562 
+0563 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_bpm as text</span>
+0564 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double</span>
+0565 
+0566 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0567 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0568 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0569 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0570 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+0571 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+0572 
+0573 
+0574 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0575 <a name="_sub32" href="#_subfunctions" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a>
+0576 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0577 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0578 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0579 
+0580 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0581 <span class="comment">%       See ISPC and COMPUTER.</span>
+0582 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0583     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0584 <span class="keyword">end</span>
+0585 
+0586 
+0587 
+0588 <a name="_sub33" href="#_subfunctions" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a>
+0589 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0590 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0591 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0592 
+0593 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_nod as text</span>
+0594 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_nod as a double</span>
+0595 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0596 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0597 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+0598 
+0599 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0600 <a name="_sub34" href="#_subfunctions" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a>
+0601 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0602 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0603 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0604 
+0605 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0606 <span class="comment">%       See ISPC and COMPUTER.</span>
+0607 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0608     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0609 <span class="keyword">end</span>
+0610 
+0611 
+0612 
+0613 <a name="_sub35" href="#_subfunctions" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a>
+0614 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0615 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0616 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0617 
+0618 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_dcct as text</span>
+0619 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double</span>
+0620 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0621 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0622 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0623 
+0624 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0625 <a name="_sub36" href="#_subfunctions" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a>
+0626 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0627 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0628 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0629 
+0630 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0631 <span class="comment">%       See ISPC and COMPUTER.</span>
+0632 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0633     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0634 <span class="keyword">end</span>
+0635 
+0636 
+0637 
+0638 <a name="_sub37" href="#_subfunctions" class="code">function lin_canon_spm_fin_Callback(hObject, eventdata, handles)</a>
+0639 <span class="comment">% hObject    handle to lin_canon_spm_fin (see GCBO)</span>
+0640 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0641 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0642 
+0643 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_spm_fin as text</span>
+0644 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_spm_fin as a double</span>
+0645 
+0646 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0647 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+0648 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+0649 save(<span class="string">'/home/matlabML/applications/synchro/synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0650 
+0651 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0652 <a name="_sub38" href="#_subfunctions" class="code">function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)</a>
+0653 <span class="comment">% hObject    handle to lin_canon_spm_fin (see GCBO)</span>
+0654 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0655 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0656 
+0657 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0658 <span class="comment">%       See ISPC and COMPUTER.</span>
+0659 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0660     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0661 <span class="keyword">end</span>
+0662 
+0663 
+0664 
+0665 <a name="_sub39" href="#_subfunctions" class="code">function central_pc_Callback(hObject, eventdata, handles)</a>
+0666 <span class="comment">% hObject    handle to central_pc (see GCBO)</span>
+0667 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0668 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0669 
+0670 <span class="comment">% Hints: get(hObject,'String') returns contents of central_pc as text</span>
+0671 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_pc as a double</span>
+0672 
+0673 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0674 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+0675 
+0676 <span class="comment">%status soft checked on linac</span>
+0677 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0678 <span class="keyword">if</span> (temp.value(1)==2)
+0679    <span class="comment">%</span>
+0680 <span class="keyword">elseif</span> (temp.value(1)==5)
+0681     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0682     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0683     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0684     delay=dt.value(1)-dt1.value(1)+inj_offset;
+0685     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0686     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0687     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+0688 <span class="keyword">end</span>
+0689 
+0690 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0691 <a name="_sub40" href="#_subfunctions" class="code">function central_pc_CreateFcn(hObject, eventdata, handles)</a>
+0692 <span class="comment">% hObject    handle to central_pc (see GCBO)</span>
+0693 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0694 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0695 
+0696 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0697 <span class="comment">%       See ISPC and COMPUTER.</span>
+0698 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0699     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0700 <span class="keyword">end</span>
+0701 
+0702 
+0703 
+0704 <a name="_sub41" href="#_subfunctions" class="code">function central_inj_Callback(hObject, eventdata, handles)</a>
+0705 <span class="comment">% hObject    handle to central_inj (see GCBO)</span>
+0706 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0707 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0708 
+0709 <span class="comment">% Hints: get(hObject,'String') returns contents of central_inj as text</span>
+0710 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_inj as a double</span>
+0711 
+0712 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0713 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0714 
+0715 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0716 <a name="_sub42" href="#_subfunctions" class="code">function central_inj_CreateFcn(hObject, eventdata, handles)</a>
+0717 <span class="comment">% hObject    handle to central_inj (see GCBO)</span>
+0718 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0719 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0720 
+0721 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0722 <span class="comment">%       See ISPC and COMPUTER.</span>
+0723 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0724     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0725 <span class="keyword">end</span>
+0726 
+0727 
+0728 
+0729 
+0730 <a name="_sub43" href="#_subfunctions" class="code">function central_soft_Callback(hObject, eventdata, handles)</a>
+0731 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+0732 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0733 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0734 
+0735 <span class="comment">% Hints: get(hObject,'String') returns contents of central_soft as text</span>
+0736 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_soft as a double</span>
+0737 
+0738 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0739 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0740 
+0741 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0742 clkinj=int32(temp.value(1)+5*52);
+0743 clkext=int32(temp.value(1)/52+10);
+0744 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+0745 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+0746 
+0747 <span class="comment">%status soft checked on linac</span>
+0748 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+0749 <span class="keyword">if</span> (temp.value(1)==2)
+0750    <span class="comment">%</span>
+0751 <span class="keyword">elseif</span> (temp.value(1)==1)
+0752     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0753     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0754     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0755     delay=dt.value(1)-dt1.value(1)+inj_offset;
+0756     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0757     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0758     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+0759 <span class="keyword">end</span>
+0760 
+0761 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0762 <a name="_sub44" href="#_subfunctions" class="code">function central_soft_CreateFcn(hObject, eventdata, handles)</a>
+0763 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+0764 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0765 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0766 
+0767 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0768 <span class="comment">%       See ISPC and COMPUTER.</span>
+0769 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0770     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0771 <span class="keyword">end</span>
+0772 
+0773 
+0774 <span class="comment">% --- Executes on button press in button_acquisition_nooffset.</span>
+0775 <a name="_sub45" href="#_subfunctions" class="code">function button_acquisition_nooffset_Callback(hObject, eventdata, handles)</a>
+0776 <span class="comment">% hObject    handle to button_acquisition_nooffset (see GCBO)</span>
+0777 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0778 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0779 
+0780 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0781 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0782 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0783 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0784 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0785 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0786 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0787 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0788 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0789 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0790 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0791 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0792 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0793 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0794 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0795 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0796 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0797 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0798 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0799 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0800 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0801 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0802 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0803 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0804 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0805 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0806 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0807 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0808 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0809 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0810 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0811 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0812 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0813 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0814 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0815 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0816 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0817 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0818 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0819 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0820 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0821 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0822 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0823 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0824 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0825 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0826 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0827 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0828 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0829 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0830 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0831 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0832 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0833 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0834 
+0835 
+0836 n=1;
+0837 
+0838 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0839 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0840 
+0841 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+0842 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+0843 
+0844 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0845 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+0846 
+0847 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+0848 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+0849 
+0850 
+0851 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0852 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0853 
+0854 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+0855 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0856 
+0857 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>);
+0858 set(handles.lin_canon_spm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0859 
+0860 
+0861 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+0862 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0863 
+0864 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0865 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0866 
+0867 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+0868 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0869 
+0870 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+0871 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0872 
+0873 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+0874 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0875 
+0876 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+0877 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0878 
+0879 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+0880 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+0881 
+0882 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0883 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+0884 
+0885 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0886 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0887 
+0888 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+0889 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+0890 
+0891 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+0892 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0893 
+0894 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+0895 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0896 
+0897 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+0898 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0899 
+0900 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+0901 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+0902 
+0903 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+0904 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+0905 
+0906 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0907 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+0908 
+0909 
+0910 
+0911 
+0912 
+0913 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+0914 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+0915 
+0916 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0917 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0918 
+0919 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0920 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0921 
+0922 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+0923 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+0924 
+0925 
+0926 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0927 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0928 
+0929 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+0930 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+0931 
+0932 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+0933 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0934 
+0935 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0936 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0937 
+0938 
+0939 
+0940 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+0941 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+0942 
+0943 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+0944 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+0945 
+0946 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+0947 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+0948 
+0949 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+0950 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+0951 
+0952 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+0953 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+0954 
+0955 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+0956 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+0957 
+0958 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+0959 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+0960 
+0961 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0962 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+0963 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+0964 
+0965 
+0966 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0967 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+0968 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0969 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+0970 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0971 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+0972 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0973 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+0974 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0975 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+0976 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0977 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+0978 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0979 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+0980 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0981 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+0982 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0983 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+0984 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0985 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+0986 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0987 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+0988 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0989 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+0990 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0991 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+0992 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0993 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+0994 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+0995 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+0996 
+0997 
+0998 
+0999 <span class="comment">%status soft checked on linac</span>
+1000 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+1001 <span class="keyword">if</span> (temp.value(n)==2)
+1002     <span class="comment">%set(handles.soft_button,'Value',0);</span>
+1003 <span class="keyword">elseif</span> (temp.value(n)==5)
+1004     <span class="comment">%set(handles.soft_button,'Value',1);</span>
+1005 <span class="keyword">end</span>
+1006 
+1007 <span class="comment">%status tables</span>
+1008 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1009 offset=temp.value(1)*52;
+1010 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+1011 n=temp.value;
+1012 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+1013 table=temp.value(1:n)-offset;
+1014 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[<span class="string">'T='</span> , num2str(table)]);  
+1015 
+1016 
+1017 
+1018 <span class="comment">% --- Executes on button press in button_acquisition_delay.</span>
+1019 <a name="_sub46" href="#_subfunctions" class="code">function button_acquisition_delay_Callback(hObject, eventdata, handles)</a>
+1020 <span class="comment">% hObject    handle to button_acquisition_delay (see GCBO)</span>
+1021 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1022 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1023 
+1024 
+1025 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1026 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1027 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1028 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1029 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1030 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1031 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1032 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1033 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1034 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1035 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1036 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1037 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1038 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1039 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1040 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1041 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1042 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1043 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1044 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1045 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1046 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1047 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1048 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1049 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1050 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1051 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1052 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1053 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1054 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1055 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1056 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1057 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1058 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1059 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1060 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1061 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1062 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1063 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1064 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1065 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1066 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1067 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1068 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1069 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1070 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1071 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1072 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1073 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1074 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1075 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1076 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1077 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1078 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+1079 
+1080 load(<span class="string">'home/matlabML/applications/synchro/synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+1081 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+1082 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+1083 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+1084 
+1085 n=1;
+1086 
+1087 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+1088 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+1089 
+1090 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1091 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+1092 
+1093 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1094 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+1095 set(handles.central_soft1,<span class="string">'String'</span>,num2str(temp.value(n)));
+1096 
+1097 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+1098 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+1099 
+1100 
+1101 
+1102 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1103 
+1104 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1105 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1106 
+1107 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>);
+1108 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1109 
+1110 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>);
+1111 set(handles.lin_canon_spm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1112 
+1113 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>);
+1114 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1115 
+1116 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>);
+1117 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1118 
+1119 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>);
+1120 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1121 
+1122 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>);
+1123 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1124 
+1125 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>);
+1126 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1127 
+1128 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>);
+1129 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1130 
+1131 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>);
+1132 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1133 
+1134 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1135 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1136 
+1137 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1138 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1139 
+1140 
+1141 
+1142 
+1143 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>);
+1144 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+1145 
+1146 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>);
+1147 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1148 
+1149 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>);
+1150 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1151 
+1152 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>);
+1153 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1154 
+1155 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>);
+1156 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+1157 
+1158 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>);
+1159 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+1160 
+1161 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1162 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)-inj_offset));
+1163 
+1164 
+1165 
+1166 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1167 
+1168 
+1169 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>);
+1170 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1171 
+1172 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1173 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1174 
+1175 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1176 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1177 
+1178 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>);
+1179 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1180 
+1181 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1182 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1183 
+1184 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>);
+1185 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1186 
+1187 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>);
+1188 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1189 
+1190 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1191 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1192 
+1193 
+1194 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>);
+1195 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1196 
+1197 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>);
+1198 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1199 
+1200 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>);
+1201 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1202 
+1203 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>);
+1204 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1205 
+1206 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>);
+1207 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1208 
+1209 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>);
+1210 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1211 
+1212 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>);
+1213 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1214 
+1215 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1216 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1217 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1218 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1219 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1220 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1221 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1222 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1223 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1224 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1225 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1226 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1227 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1228 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1229 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1230 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1231 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1232 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1233 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1234 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1235 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1236 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1237 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1238 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1239 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1240 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1241 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1242 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1243 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1244 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1245 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1246 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>);
+1247 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)-ext_offset));
+1248 
+1249 <span class="comment">%status soft checked on linac</span>
+1250 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+1251 <span class="keyword">if</span> (temp.value(n)==2)
+1252     <span class="comment">%set(handles.soft_button,'Value',0);</span>
+1253 <span class="keyword">elseif</span> (temp.value(n)==5)
+1254     <span class="comment">%set(handles.uipanel_mode,'String','Mode Soft');</span>
+1255 <span class="keyword">end</span>
+1256 
+1257 <span class="comment">%status tables</span>
+1258 <span class="comment">%temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');</span>
+1259 <span class="comment">%offset=temp.value(1)*52;</span>
+1260 offset_linac=10*lin_fin;
+1261 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+1262 n=temp.value;
+1263 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+1264 table_ext=temp.value(1:n); <span class="comment">%-offset_ext;</span>
+1265 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'LinacDelayTable'</span>);
+1266 table_linac=(temp.value(1:n)-offset_linac)/28;
+1267 table=[];
+1268 <span class="keyword">for</span> i=1:n
+1269     table=[table <span class="string">' '</span> <span class="string">'('</span> num2str([table_ext(i)])  <span class="string">' '</span>  num2str([table_linac(i)]) <span class="string">')'</span>];
+1270 <span class="keyword">end</span>
+1271 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+1272 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,<span class="string">'??'</span>);
+1273 
+1274 
+1275 
+1276 <span class="comment">% --- Executes on button press in button_injection_soft.</span>
+1277 <a name="_sub47" href="#_subfunctions" class="code">function button_injection_soft_Callback(hObject, eventdata, handles)</a>
+1278 <span class="comment">% hObject    handle to button_injection_soft (see GCBO)</span>
+1279 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1280 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1281 
+1282 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+1283 offset_linac=10*str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));<span class="comment">% dÃ©lai fin de rÃ©glage en pas de 100 ps</span>
+1284 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);      <span class="comment">% mode soft ou 3Hz</span>
+1285 modefill=get(handles.listbox_fillingmode,<span class="string">'Value'</span>);                  <span class="comment">% mode de remplissage</span>
+1286 [clk1,clk2]=<a href="get_start_clk.html" class="code" title="function [clk1,clk2]=get_start_clk">get_start_clk</a>;                                          <span class="comment">% get clk pc et soft initiaux</span>
+1287 table=handles.table;                                                 <span class="comment">% table de dÃ©lais</span>
+1288 load <span class="string">'/home/matlabML/applications/synchro/table.mat'</span> <span class="string">'table'</span>;     <span class="comment">% pour palier aux handles via timer non mis Ã  jour !!!!!!</span>
+1289 nb=table(1) ;                                                        <span class="comment">% Nombre de paq</span>
+1290 dtour=table(2:1+nb);                                                 <span class="comment">% delais associÃ©s extraction, tour booster</span>
+1291 paq  =table(2+nb:1+2*nb);                                           <span class="comment">% delais associÃ©s linac, saut de paquets</span>
+1292 
+1293 
+1294 
+1295 dt=1.5; <span class="comment">% dÃ©lais pour acquisitions rendements</span>
+1296 <span class="comment">%Inialise data pour les rendements</span>
+1297 temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur0=temp.value;
+1298 q1=0;q2=0;n=0;
+1299 
+1300 
+1301 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)
+1302     boucle=int16(str2double(get(handles.edit_Nshot_soft,<span class="string">'String'</span>)));  
+1303     modeinj=<span class="string">'Injection soft'</span>;
+1304     <span class="keyword">for</span> k=1:boucle
+1305         <span class="keyword">for</span> i=1:nb
+1306             clk_pc  =int32(clk1+dtour(i));
+1307             clk_soft=int32(clk2+dtour(i));
+1308             table0=int32([1 0 paq(i)]);
+1309             tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table0); pause(0.2)  ;  
+1310             tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk_pc);
+1311             tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk_soft);
+1312             tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'FireSoftEvent'</span>);
+1313             pause(dt)
+1314             [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1315             
+1316             fprintf(<span class="string">'%g  %g  %g\n'</span>,i,clk_pc, paq(i))
+1317             
+1318         <span class="keyword">end</span>
+1319     <span class="keyword">end</span>    
+1320     
+1321     <span class="comment">% retour dÃ©alis initiaux</span>
+1322     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcStepDelay'</span>,clk1);
+1323     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,clk2);
+1324     
+1325     <span class="comment">% Calcul des rendements</span>
+1326     pause(1);
+1327     temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1328     dcur=anscur-anscur0;
+1329     r1=0;<span class="keyword">if</span> (q1~=0);r1=q2/q1*100;<span class="keyword">end</span>
+1330     r2=0;<span class="keyword">if</span> (q2~=0);r2=dcur/q2*0.524*416/184*100;<span class="keyword">end</span>
+1331     <span class="keyword">if</span>(r1&lt;0);r1=0;<span class="keyword">elseif</span>(r1&gt;100);r1=100;<span class="keyword">end</span>
+1332     <span class="keyword">if</span>(r2&lt;0);r2=0;<span class="keyword">elseif</span>(r2&gt;100);r2=100;<span class="keyword">end</span>
+1333     q1=q1/n;q2=q2/n;  
+1334 
+1335     set(handles.edit_qlt1,<span class="string">'String'</span>,num2str(q1,<span class="string">'%5.2f'</span>));
+1336     set(handles.edit_iboo,<span class="string">'String'</span>,num2str(q2/0.524,<span class="string">'%5.2f'</span>));
+1337     set(handles.edit_dians,<span class="string">'String'</span>,num2str(dcur/n,<span class="string">'%5.2f'</span>));
+1338     set(handles.edit_rboo,<span class="string">'String'</span>,num2str(int16(r1)));
+1339     set(handles.edit_rans,<span class="string">'String'</span>,num2str(int16(r2)));
+1340     set(handles.edit_cycle,<span class="string">'String'</span>,num2str(n,<span class="string">'%g'</span>));
+1341     set(handles.edit_dians1,<span class="string">'String'</span>,num2str(dcur,<span class="string">'%5.2f'</span>));
+1342     set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1343     
+1344     temp=tango_read_attribute2(<span class="string">'ANS/DG/BPM-tunex'</span>,<span class="string">'Nu'</span>); nux=temp.value;
+1345     temp=tango_read_attribute2(<span class="string">'ANS/DG/BPM-tunez'</span>,<span class="string">'Nu'</span>); nuz=temp.value;
+1346     temp=tango_read_attribute2(<span class="string">'ANS-C03/RF/lle.1'</span>,<span class="string">'voltageRF'</span>);v1=temp.value(2);
+1347     temp=tango_read_attribute2(<span class="string">'ANS-C03/RF/lle.2'</span>,<span class="string">'voltageRF'</span>);v2=temp.value(2);
+1348     vrf=(v1+v2)/1000;
+1349 
+1350     fprintf(<span class="string">'%s   %s  Remplissage = %d     Rendements=%5.2f %5.2f    Tunes=%5.2f %5.2f    Vrf=%5.2f \n'</span>,datestr(clock),modeinj,modefill,r1,r2, nux,nuz,vrf);
+1351     
+1352     
+1353 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+1354     
+1355     modelinac=get(get(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+1356     <span class="keyword">switch</span> modelinac  <span class="comment">% Get Tag of selected object</span>
+1357         <span class="keyword">case</span> <span class="string">'no_mode'</span>
+1358             event=[0 0];
+1359         <span class="keyword">case</span> <span class="string">'lpm_mode'</span>
+1360             event=[2 0];
+1361         <span class="keyword">case</span> <span class="string">'spm_mode'</span>
+1362             event=[0 2];
+1363     <span class="keyword">end</span>
+1364     
+1365     modeinj=<span class="string">'Injection 3 Hz'</span>;
+1366     laps=str2double(get(handles.edit_laps,<span class="string">'String'</span>));
+1367     fprintf(<span class="string">'%s   %s  Remplissage = %d\n'</span>,datestr(clock),modeinj,modefill);
+1368     <a href="start_3Hz.html" class="code" title="function start_3Hz(event)">start_3Hz</a>(event)
+1369     pause(laps)
+1370     <a href="stop_3Hz.html" class="code" title="function stop_3Hz">stop_3Hz</a>
+1371     
+1372     pause(1);
+1373     [q1,q2,n]=<a href="getcharge.html" class="code" title="function  [q1,q2,n]=getcharge(q1,q2,n)">getcharge</a>(q1,q2,n);
+1374     temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1375     dcur=anscur-anscur0;
+1376     n=int16(laps/0.340);
+1377     r1=0;<span class="keyword">if</span> (q1~=0);r1=int16(q2/q1*100);<span class="keyword">end</span>
+1378     r2=0;<span class="keyword">if</span> (q2~=0);r2=int16(dcur/n/q2*0.524*416/184*100);<span class="keyword">end</span>
+1379     <span class="keyword">if</span>(r1&lt;0);r1=0;<span class="keyword">elseif</span>(r1&gt;100);r1=100;<span class="keyword">end</span>
+1380     <span class="keyword">if</span>(r2&lt;0);r2=0;<span class="keyword">elseif</span>(r2&gt;100);r2=100;<span class="keyword">end</span>
+1381     
+1382     set(handles.edit_qlt1,<span class="string">'String'</span>,num2str(q1,<span class="string">'%5.2f'</span>));
+1383     set(handles.edit_iboo,<span class="string">'String'</span>,num2str(q2/0.524,<span class="string">'%5.2f'</span>));
+1384     set(handles.edit_dians,<span class="string">'String'</span>,num2str(dcur/n,<span class="string">'%5.2f'</span>));
+1385     set(handles.edit_rboo,<span class="string">'String'</span>,num2str(r1));
+1386     set(handles.edit_rans,<span class="string">'String'</span>,num2str(r2));
+1387     set(handles.edit_cycle,<span class="string">'String'</span>,num2str(n,<span class="string">'%g'</span>));
+1388     set(handles.edit_dians1,<span class="string">'String'</span>,num2str(dcur,<span class="string">'%5.2f'</span>));
+1389     set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1390 
+1391 <span class="keyword">end</span>
+1392 
+1393 
+1394 
+1395 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>);
+1396 
+1397 
+1398 <a name="_sub48" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+1399 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1400 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1401 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1402 
+1403 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+1404 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+1405 
+1406 val_multishot = get(handles.on1,<span class="string">'Value'</span>);
+1407 
+1408 <span class="keyword">if</span> val_multishot
+1409     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+1410     <span class="keyword">return</span>
+1411 <span class="keyword">else</span>
+1412     handles.periode = str2double(get(hObject,<span class="string">'String'</span>));
+1413 
+1414     <span class="comment">% change timer Infinite loop</span>
+1415     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+1416         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+1417     timer1.TimerFcn = {@fonction_alex, hObject,eventdata, handles};
+1418     setappdata(handles.figure1,<span class="string">'Timer'</span>,timer1);
+1419 
+1420     <span class="comment">% Update handles structure</span>
+1421     guidata(hObject, handles);
+1422 <span class="keyword">end</span>
+1423 
+1424 
+1425 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1426 <a name="_sub49" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+1427 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1428 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1429 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1430 
+1431 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1432 <span class="comment">%       See ISPC and COMPUTER.</span>
+1433 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1434     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1435 <span class="keyword">end</span>
+1436 
+1437 <a name="_sub50" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+1438 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1439 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1440 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1441 
+1442 <span class="comment">%handles = guidata(gcbo);</span>
+1443 timer1 = getappdata(handles.figure1,<span class="string">'Timer1'</span>);
+1444 timer2 = getappdata(handles.figure1,<span class="string">'Timer2'</span>);
+1445 
+1446 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+1447     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+1448         <span class="comment">% stop du trigger</span>
+1449         stop(timer1);
+1450         stop(timer2);
+1451     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+1452         <span class="comment">% dÃ©marrage  du trigger 1</span>
+1453         start(timer1);
+1454     <span class="keyword">case</span> <span class="string">'radiobutton3'</span>
+1455         <span class="comment">% dÃ©marrage du trigger 2</span>
+1456         temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1457         <span class="keyword">if</span> (anscur&gt;1.) 
+1458            start(timer2);      
+1459         <span class="keyword">else</span>
+1460             <span class="comment">% ne fait rien, en cas de perte faisceau</span>
+1461         <span class="keyword">end</span>  
+1462 <span class="keyword">end</span>
+1463 
+1464 
+1465 <a name="_sub51" href="#_subfunctions" class="code">function fonction_alex1(arg1,arg2,hObject,eventdata,handles)</a>
+1466 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1467 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1468 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1469 
+1470 <a href="#_sub47" class="code" title="subfunction button_injection_soft_Callback(hObject, eventdata, handles)">button_injection_soft_Callback</a>(hObject,eventdata,handles)
+1471 
+1472 
+1473 <a name="_sub52" href="#_subfunctions" class="code">function fonction_alex2(arg1,arg2,hObject,eventdata,handles)</a>
+1474 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1475 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1476 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1477 
+1478 
+1479 temp=tango_read_attribute2(<span class="string">'ANS-C03/DG/DCCT'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1480 set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1481 Imin=str2double(get(handles.edit_Imin,<span class="string">'String'</span>));
+1482 
+1483 
+1484 <span class="keyword">if</span>     (anscur&gt;Imin)
+1485    <span class="comment">% on attend</span>
+1486    <span class="comment">%fprintf('Cur = %g \n',anscur)</span>
+1487 <span class="keyword">else</span>
+1488   <span class="comment">% inject le cycle en cours</span>
+1489   <span class="comment">%fprintf('Cur = %g : Injection \n',anscur)</span>
+1490   <a href="#_sub47" class="code" title="subfunction button_injection_soft_Callback(hObject, eventdata, handles)">button_injection_soft_Callback</a>(hObject, eventdata, handles)
+1491 <span class="keyword">end</span>   
+1492 
+1493 
+1494 
+1495 <span class="comment">%% What to do before closing the application</span>
+1496 <a name="_sub53" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+1497 
+1498 <span class="comment">% Get default command line output from handles structure</span>
+1499 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+1500     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+1501     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+1502 
+1503 <span class="keyword">switch</span> answer
+1504     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+1505         delete(handles); <span class="comment">%Delete Timer</span>
+1506         delete(figure1); <span class="comment">%Close gui</span>
+1507     <span class="keyword">otherwise</span>
+1508         disp(<span class="string">'Closing aborted'</span>)
+1509 <span class="keyword">end</span>
+1510 
+1511 
+1512 
+1513 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+1514 <a name="_sub54" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+1515 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+1516 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1517 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1518 
+1519 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1520 <a href="step.html" class="code" title="">step</a>=temp.value(1)-51*0.52243;
+1521 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1522 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1523 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1524 
+1525 <span class="comment">% decale adress inj et extract d'une super-periode</span>
+1526 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1527 clkinj=int32(temp.value(1)+5*52);
+1528 clkext=int32(temp.value(1)/52+10);
+1529 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+1530 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+1531 
+1532 <span class="comment">%status soft checked on linac</span>
+1533 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+1534 <span class="keyword">if</span> (temp.value(1)==2)
+1535    <span class="comment">%</span>
+1536 <span class="keyword">elseif</span> (temp.value(1)==1)
+1537     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1538     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1539     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+1540     delay=dt.value(1)-dt1.value(1)+inj_offset;
+1541     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1542     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1543     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1544 <span class="keyword">end</span>
+1545 
+1546 
+1547 <span class="comment">% --- Executes on button press in button_softplus.</span>
+1548 <a name="_sub55" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+1549 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+1550 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1551 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1552 
+1553 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1554 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1555 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1556 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1557 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1558 
+1559 <span class="comment">% dcale adress inj et extract d'une super-periode</span>
+1560 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1561 clkinj=int32(temp.value(1)+5*52);
+1562 clkext=int32(temp.value(1)/52+10);
+1563 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,clkinj);
+1564 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,clkext);
+1565 
+1566 <span class="comment">%status soft checked on linac</span>
+1567 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+1568 <span class="keyword">if</span> (temp.value(1)==2)
+1569    <span class="comment">%</span>
+1570 <span class="keyword">elseif</span> (temp.value(1)==1)
+1571     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1572     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1573     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+1574     delay=dt.value(1)-dt1.value(1)+inj_offset;
+1575     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1576     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1577     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1578 <span class="keyword">end</span>
+1579 
+1580 
+1581 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+1582 <a name="_sub56" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+1583 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+1584 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1585 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1586 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1587 <a href="step.html" class="code" title="">step</a>=temp.value(1)-51*0.52243;
+1588 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1589 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1590 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1591 
+1592 
+1593 
+1594 <span class="comment">% --- Executes on button press in button_injplus.</span>
+1595 <a name="_sub57" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+1596 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+1597 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1598 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1599 
+1600 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1601 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+1602 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,<a href="step.html" class="code" title="">step</a>);
+1603 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1604 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1605 
+1606 
+1607 
+1608 <a name="_sub58" href="#_subfunctions" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a>
+1609 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1610 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1611 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1612 
+1613 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_dof as text</span>
+1614 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double</span>
+1615 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1616 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1617 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1618 
+1619 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1620 <a name="_sub59" href="#_subfunctions" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a>
+1621 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1622 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1623 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1624 
+1625 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1626 <span class="comment">%       See ISPC and COMPUTER.</span>
+1627 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1628     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1629 <span class="keyword">end</span>
+1630 
+1631 
+1632 
+1633 <a name="_sub60" href="#_subfunctions" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a>
+1634 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1635 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1636 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1637 
+1638 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text</span>
+1639 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double</span>
+1640 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1641 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1642 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1643 
+1644 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1645 <a name="_sub61" href="#_subfunctions" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1646 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1647 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1648 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1649 
+1650 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1651 <span class="comment">%       See ISPC and COMPUTER.</span>
+1652 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1653     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1654 <span class="keyword">end</span>
+1655 
+1656 
+1657 
+1658 <a name="_sub62" href="#_subfunctions" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a>
+1659 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1660 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1661 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1662 
+1663 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text</span>
+1664 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double</span>
+1665 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1666 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1667 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1668 
+1669 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1670 <a name="_sub63" href="#_subfunctions" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1671 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1672 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1673 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1674 
+1675 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1676 <span class="comment">%       See ISPC and COMPUTER.</span>
+1677 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1678     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1679 <span class="keyword">end</span>
+1680 
+1681 
+1682 
+1683 <a name="_sub64" href="#_subfunctions" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a>
+1684 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1685 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1686 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1687 
+1688 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text</span>
+1689 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double</span>
+1690 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1691 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1692 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1693 
+1694 
+1695 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1696 <a name="_sub65" href="#_subfunctions" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a>
+1697 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1698 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1699 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1700 
+1701 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1702 <span class="comment">%       See ISPC and COMPUTER.</span>
+1703 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1704     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1705 <span class="keyword">end</span>
+1706 
+1707 
+1708 
+1709 <a name="_sub66" href="#_subfunctions" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a>
+1710 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1711 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1712 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1713 
+1714 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text</span>
+1715 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double</span>
+1716 
+1717 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1718 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1719 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1720 
+1721 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1722 <a name="_sub67" href="#_subfunctions" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1723 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1724 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1725 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1726 
+1727 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1728 <span class="comment">%       See ISPC and COMPUTER.</span>
+1729 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1730     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1731 <span class="keyword">end</span>
+1732 
+1733 
+1734 
+1735 <a name="_sub68" href="#_subfunctions" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a>
+1736 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1737 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1738 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1739 
+1740 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text</span>
+1741 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double</span>
+1742 
+1743 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1744 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1745 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1746 
+1747 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1748 <a name="_sub69" href="#_subfunctions" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1749 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1750 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1751 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1752 
+1753 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1754 <span class="comment">%       See ISPC and COMPUTER.</span>
+1755 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1756     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1757 <span class="keyword">end</span>
+1758 
+1759 
+1760 
+1761 <a name="_sub70" href="#_subfunctions" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a>
+1762 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1763 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1764 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1765 
+1766 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text</span>
+1767 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double</span>
+1768 
+1769 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1770 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1771 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+1772 
+1773 
+1774 
+1775 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1776 <a name="_sub71" href="#_subfunctions" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a>
+1777 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1778 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1779 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1780 
+1781 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1782 <span class="comment">%       See ISPC and COMPUTER.</span>
+1783 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1784     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1785 <span class="keyword">end</span>
+1786 
+1787 
+1788 
+1789 <a name="_sub72" href="#_subfunctions" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a>
+1790 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1791 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1792 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1793 
+1794 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text</span>
+1795 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double</span>
+1796 
+1797 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1798 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1799 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+1800 
+1801 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1802 <a name="_sub73" href="#_subfunctions" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a>
+1803 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1804 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1805 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1806 
+1807 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1808 <span class="comment">%       See ISPC and COMPUTER.</span>
+1809 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1810     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1811 <span class="keyword">end</span>
+1812 
+1813 
+1814 
+1815 <a name="_sub74" href="#_subfunctions" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a>
+1816 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1817 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1818 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1819 
+1820 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text</span>
+1821 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double</span>
+1822 
+1823 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1824 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1825 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+1826 
+1827 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1828 <a name="_sub75" href="#_subfunctions" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a>
+1829 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1830 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1831 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1832 
+1833 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1834 <span class="comment">%       See ISPC and COMPUTER.</span>
+1835 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1836     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1837 <span class="keyword">end</span>
+1838 
+1839 
+1840 
+1841 <a name="_sub76" href="#_subfunctions" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a>
+1842 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1843 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1844 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1845 
+1846 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text</span>
+1847 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double</span>
+1848 
+1849 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1850 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1851 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+1852 
+1853 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1854 <a name="_sub77" href="#_subfunctions" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a>
+1855 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1856 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1857 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1858 
+1859 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1860 <span class="comment">%       See ISPC and COMPUTER.</span>
+1861 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1862     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1863 <span class="keyword">end</span>
+1864 
+1865 
+1866 
+1867 <a name="_sub78" href="#_subfunctions" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a>
+1868 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1869 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1870 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1871 
+1872 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_dcct as text</span>
+1873 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double</span>
+1874 
+1875 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1876 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1877 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,delay);
+1878 
+1879 
+1880 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1881 <a name="_sub79" href="#_subfunctions" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a>
+1882 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1883 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1884 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1885 
+1886 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1887 <span class="comment">%       See ISPC and COMPUTER.</span>
+1888 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1889     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1890 <span class="keyword">end</span>
+1891 
+1892 
+1893 
+1894 <a name="_sub80" href="#_subfunctions" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a>
+1895 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1896 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1897 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1898 
+1899 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm as text</span>
+1900 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double</span>
+1901 
+1902 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1903 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1904 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1905 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1906 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1907 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1908 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1909 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1910 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1911 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1912 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1913 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1914 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1915 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1916 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1917 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1918 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1919 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1920 
+1921 
+1922 
+1923 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1924 <a name="_sub81" href="#_subfunctions" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1925 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1926 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1927 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1928 
+1929 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1930 <span class="comment">%       See ISPC and COMPUTER.</span>
+1931 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1932     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1933 <span class="keyword">end</span>
+1934 
+1935 
+1936 
+1937 <a name="_sub82" href="#_subfunctions" class="code">function central_ext_Callback(hObject, eventdata, handles)</a>
+1938 <span class="comment">% hObject    handle to central_ext (see GCBO)</span>
+1939 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1940 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1941 
+1942 <span class="comment">% Hints: get(hObject,'String') returns contents of central_ext as text</span>
+1943 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_ext as a double</span>
+1944 <span class="comment">%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'</span>
+1945 
+1946 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1947 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,delay);
+1948 
+1949 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1950 <a name="_sub83" href="#_subfunctions" class="code">function central_ext_CreateFcn(hObject, eventdata, handles)</a>
+1951 <span class="comment">% hObject    handle to central_ext (see GCBO)</span>
+1952 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1953 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1954 
+1955 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1956 <span class="comment">%       See ISPC and COMPUTER.</span>
+1957 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1958     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1959 <span class="keyword">end</span>
+1960 
+1961 
+1962 
+1963 <a name="_sub84" href="#_subfunctions" class="code">function central_soft1_Callback(hObject, eventdata, handles)</a>
+1964 <span class="comment">% hObject    handle to central_soft1 (see GCBO)</span>
+1965 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1966 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1967 
+1968 <span class="comment">% Hints: get(hObject,'String') returns contents of central_soft1 as text</span>
+1969 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_soft1 as a double</span>
+1970 
+1971 
+1972 
+1973 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1974 <a name="_sub85" href="#_subfunctions" class="code">function central_soft1_CreateFcn(hObject, eventdata, handles)</a>
+1975 <span class="comment">% hObject    handle to central_soft1 (see GCBO)</span>
+1976 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1977 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1978 
+1979 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1980 <span class="comment">%       See ISPC and COMPUTER.</span>
+1981 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1982     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1983 <span class="keyword">end</span>
+1984 
+1985 
+1986 <span class="comment">% --- Executes on button press in radiobutton6.</span>
+1987 <a name="_sub86" href="#_subfunctions" class="code">function radiobutton6_Callback(hObject, eventdata, handles)</a>
+1988 <span class="comment">% hObject    handle to radiobutton6 (see GCBO)</span>
+1989 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1990 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1991 
+1992 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton6</span>
+1993 
+1994 
+1995 <span class="comment">% --- Executes on button press in pushbutton8.</span>
+1996 <a name="_sub87" href="#_subfunctions" class="code">function pushbutton8_Callback(hObject, eventdata, handles)</a>
+1997 <span class="comment">% hObject    handle to pushbutton8 (see GCBO)</span>
+1998 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1999 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2000 
+2001 
+2002 <span class="comment">% --- Executes on button press in pushbutton9.</span>
+2003 <a name="_sub88" href="#_subfunctions" class="code">function pushbutton9_Callback(hObject, eventdata, handles)</a>
+2004 <span class="comment">% hObject    handle to pushbutton9 (see GCBO)</span>
+2005 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2006 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2007 
+2008 
+2009 <span class="comment">% --- Executes on button press in button_extmoins.</span>
+2010 <a name="_sub89" href="#_subfunctions" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a>
+2011 <span class="comment">% hObject    handle to button_extmoins (see GCBO)</span>
+2012 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2013 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2014 
+2015 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2016 <a href="step.html" class="code" title="">step</a>=temp.value(1)-52*0.52243;
+2017 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+2018 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+2019 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(1)));
+2020 
+2021 <span class="comment">% --- Executes on button press in button_extplus.</span>
+2022 <a name="_sub90" href="#_subfunctions" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a>
+2023 <span class="comment">% hObject    handle to button_extplus (see GCBO)</span>
+2024 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2025 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2026 
+2027 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2028 <a href="step.html" class="code" title="">step</a>=temp.value(1)+52*0.52243;
+2029 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,<a href="step.html" class="code" title="">step</a>);
+2030 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+2031 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(1)));
+2032 
+2033 <a name="_sub91" href="#_subfunctions" class="code">function sdc2_Callback(hObject, eventdata, handles)</a>
+2034 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+2035 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2036 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2037 
+2038 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc2 as text</span>
+2039 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc2 as a double</span>
+2040 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2041 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2042 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2043 
+2044 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2045 <a name="_sub92" href="#_subfunctions" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a>
+2046 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+2047 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2048 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2049 
+2050 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2051 <span class="comment">%       See ISPC and COMPUTER.</span>
+2052 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2053     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2054 <span class="keyword">end</span>
+2055 
+2056 
+2057 
+2058 <a name="_sub93" href="#_subfunctions" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a>
+2059 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+2060 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2061 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2062 
+2063 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_emittance as text</span>
+2064 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double</span>
+2065 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2066 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2067 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2068 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+2069 
+2070 
+2071 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2072 <a name="_sub94" href="#_subfunctions" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a>
+2073 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+2074 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2075 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2076 
+2077 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2078 <span class="comment">%       See ISPC and COMPUTER.</span>
+2079 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2080     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2081 <span class="keyword">end</span>
+2082 
+2083 
+2084 
+2085 <a name="_sub95" href="#_subfunctions" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a>
+2086 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+2087 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2088 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2089 
+2090 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_bpm as text</span>
+2091 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double</span>
+2092 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2093 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2094 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2095 
+2096 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2097 <a name="_sub96" href="#_subfunctions" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a>
+2098 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+2099 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2100 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2101 
+2102 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2103 <span class="comment">%       See ISPC and COMPUTER.</span>
+2104 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2105     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2106 <span class="keyword">end</span>
+2107 
+2108 
+2109 
+2110 <a name="_sub97" href="#_subfunctions" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a>
+2111 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+2112 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2113 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2114 
+2115 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_osc as text</span>
+2116 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double</span>
+2117 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2118 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2119 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2120 
+2121 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2122 <a name="_sub98" href="#_subfunctions" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a>
+2123 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+2124 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2125 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2126 
+2127 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2128 <span class="comment">%       See ISPC and COMPUTER.</span>
+2129 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2130     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2131 <span class="keyword">end</span>
+2132 
+2133 
+2134 
+2135 <a name="_sub99" href="#_subfunctions" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a>
+2136 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+2137 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2138 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2139 
+2140 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_modulateur as text</span>
+2141 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_modulateur as a double</span>
+2142 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2143 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+2144 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2145 
+2146 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2147 <a name="_sub100" href="#_subfunctions" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a>
+2148 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+2149 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2150 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2151 
+2152 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2153 <span class="comment">%       See ISPC and COMPUTER.</span>
+2154 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2155     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2156 <span class="keyword">end</span>
+2157 
+2158 
+2159 
+2160 <a name="_sub101" href="#_subfunctions" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a>
+2161 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2162 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2163 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2164 
+2165 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_offset as text</span>
+2166 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_offset as a double</span>
+2167 
+2168 inj_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2169 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2170 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+2171 save(<span class="string">'/home/matlabML/applications/synchro/synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>)
+2172 
+2173 <span class="comment">%LIN</span>
+2174 delay=str2double(get(handles.lin_canon_lpm,<span class="string">'String'</span>))+inj_offset;
+2175 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+2176 
+2177 delay=str2double(get(handles.lin_modulateur,<span class="string">'String'</span>))+inj_offset;
+2178 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2179 
+2180 delay=str2double(get(handles.sdc1,<span class="string">'String'</span>))+inj_offset;
+2181 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2182 
+2183 
+2184 <span class="comment">% LT1</span>
+2185 delay=str2double(get(handles.lt1_MC2,<span class="string">'String'</span>))+inj_offset;
+2186 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+2187 
+2188 delay=str2double(get(handles.lt1_MC1,<span class="string">'String'</span>))+inj_offset;
+2189 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+2190 
+2191 delay=str2double(get(handles.lt1_emittance,<span class="string">'String'</span>))+inj_offset;
+2192 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+2193 
+2194 delay=str2double(get(handles.lt1_osc,<span class="string">'String'</span>))+inj_offset;
+2195 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+2196 
+2197 
+2198 <span class="comment">% BOO</span>
+2199 delay=str2double(get(handles.boo_inj_septum,<span class="string">'String'</span>))+inj_offset;
+2200 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2201 
+2202 delay=str2double(get(handles.boo_inj_kicker,<span class="string">'String'</span>))+inj_offset;
+2203 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2204 
+2205 delay=str2double(get(handles.boo_bpm,<span class="string">'String'</span>))+inj_offset;
+2206 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+2207 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+2208 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+2209 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+2210 
+2211 
+2212 delay=str2double(get(handles.boo_nod,<span class="string">'String'</span>))+inj_offset;
+2213 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+2214 
+2215 delay=str2double(get(handles.boo_dcct,<span class="string">'String'</span>))+inj_offset;
+2216 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+2217 
+2218 
+2219 
+2220 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2221 <a name="_sub102" href="#_subfunctions" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a>
+2222 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+2223 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2224 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2225 
+2226 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2227 <span class="comment">%       See ISPC and COMPUTER.</span>
+2228 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2229     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2230 <span class="keyword">end</span>
+2231 
+2232 
+2233 
+2234 <a name="_sub103" href="#_subfunctions" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a>
+2235 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2236 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2237 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2238 
+2239 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_offset as text</span>
+2240 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_offset as a double</span>
+2241 
+2242 ext_offset=str2double(get(hObject,<span class="string">'String'</span>));
+2243 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2244 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+2245 save(<span class="string">'/home/matlabML/applications/synchro/synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>)
+2246 
+2247 
+2248 <span class="comment">%BOO</span>
+2249 delay=str2double(get(handles.boo_ext_dof,<span class="string">'String'</span>))+ext_offset;
+2250 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+2251 
+2252 delay=str2double(get(handles.boo_ext_sept_p,<span class="string">'String'</span>))+ext_offset;
+2253 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2254 
+2255 delay=str2double(get(handles.boo_ext_sept_a,<span class="string">'String'</span>))+ext_offset;
+2256 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2257 
+2258 delay=str2double(get(handles.boo_ext_kicker,<span class="string">'String'</span>))+ext_offset;
+2259 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2260 
+2261 delay=str2double(get(handles.sdc2,<span class="string">'String'</span>))+ext_offset;
+2262 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2263 
+2264 <span class="comment">%LT2</span>
+2265 delay=str2double(get(handles.lt2_bpm,<span class="string">'String'</span>))+ext_offset;
+2266 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2267 
+2268 delay=str2double(get(handles.lt2_osc,<span class="string">'String'</span>))+ext_offset;
+2269 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2270 
+2271 delay=str2double(get(handles.lt2_emittance,<span class="string">'String'</span>))+ext_offset;
+2272 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2273 
+2274 <span class="comment">%ANS</span>
+2275 
+2276 delay=str2double(get(handles.ans_inj_sept_a,<span class="string">'String'</span>))+ext_offset;
+2277 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2278 
+2279 delay=str2double(get(handles.ans_inj_sept_p,<span class="string">'String'</span>))+ext_offset;
+2280 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2281 
+2282 delay=str2double(get(handles.ans_inj_k1,<span class="string">'String'</span>))+ext_offset;
+2283 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+2284 
+2285 delay=str2double(get(handles.ans_inj_k2,<span class="string">'String'</span>))+ext_offset;
+2286 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+2287 
+2288 delay=str2double(get(handles.ans_inj_k3,<span class="string">'String'</span>))+ext_offset;
+2289 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+2290 
+2291 delay=str2double(get(handles.ans_inj_k4,<span class="string">'String'</span>))+ext_offset;
+2292 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+2293 
+2294 
+2295 
+2296 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2297 <a name="_sub104" href="#_subfunctions" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a>
+2298 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2299 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2300 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2301 
+2302 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2303 <span class="comment">%       See ISPC and COMPUTER.</span>
+2304 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2305     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2306 <span class="keyword">end</span>
+2307 
+2308 
+2309 <span class="comment">% --- Executes on button press in button_acquisition_address.</span>
+2310 <a name="_sub105" href="#_subfunctions" class="code">function button_acquisition_address_Callback(hObject, eventdata, handles)</a>
+2311 <span class="comment">% hObject    handle to button_acquisition_address (see GCBO)</span>
+2312 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2313 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2314 
+2315 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2316 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2317 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2318 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2319 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2320 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2321 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2322 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2323 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2324 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2325 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2326 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2327 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2328 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2329 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2330 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2331 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2332 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2333 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2334 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2335 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2336 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2337 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2338 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2339 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2340 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2341 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2342 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2343 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2344 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2345 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2346 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2347 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2348 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2349 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2350 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2351 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2352 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2353 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2354 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2355 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2356 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2357 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2358 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2359 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2360 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2361 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2362 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2363 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2364 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2365 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2366 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2367 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2368 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2369 
+2370 
+2371 n=1;
+2372 
+2373 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+2374 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2375 
+2376 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+2377 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+2378 
+2379 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+2380 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+2381 
+2382 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+2383 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+2384 
+2385 
+2386 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>);
+2387 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2388 
+2389 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+2390 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2391 
+2392 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+2393 set(handles.lin_canon_spm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2394 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,<span class="string">'Off Set table'</span>);
+2395 
+2396 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>);
+2397 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2398 
+2399 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>);
+2400 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2401 
+2402 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>);
+2403 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2404 
+2405 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>);
+2406 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2407 
+2408 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>);
+2409 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2410 
+2411 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>);
+2412 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2413 
+2414 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>);
+2415 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+2416 
+2417 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2418 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+2419 
+2420 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+2421 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2422 
+2423 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpEvent'</span>);
+2424 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+2425 
+2426 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfEvent'</span>);
+2427 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2428 
+2429 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdEvent'</span>);
+2430 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2431 
+2432 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfEvent'</span>);
+2433 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2434 
+2435 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdEvent'</span>);
+2436 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+2437 
+2438 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfEvent'</span>);
+2439 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+2440 
+2441 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>);
+2442 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+2443 
+2444 
+2445 
+2446 
+2447 
+2448 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>);
+2449 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+2450 
+2451 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2452 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2453 
+2454 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2455 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2456 
+2457 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>);
+2458 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+2459 
+2460 
+2461 
+2462 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>);
+2463 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2464 
+2465 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>);
+2466 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+2467 
+2468 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>);
+2469 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+2470 
+2471 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2472 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2473 
+2474 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>);
+2475 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+2476 
+2477 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigEvent'</span>);
+2478 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+2479 
+2480 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigEvent'</span>);
+2481 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+2482 
+2483 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigEvent'</span>);
+2484 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+2485 
+2486 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigEvent'</span>);
+2487 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+2488 
+2489 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigEvent'</span>);
+2490 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+2491 
+2492 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>);
+2493 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+2494 
+2495 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>);
+2496 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+2497 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+2498 
+2499 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2500 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+2501 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2502 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+2503 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2504 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+2505 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2506 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+2507 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2508 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+2509 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2510 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+2511 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2512 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+2513 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2514 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+2515 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2516 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+2517 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2518 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+2519 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2520 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+2521 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2522 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+2523 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2524 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+2525 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2526 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+2527 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>);
+2528 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+2529 
+2530 
+2531 
+2532 <span class="comment">% --- Executes on button press in button_offinj_moins.</span>
+2533 <a name="_sub106" href="#_subfunctions" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a>
+2534 <span class="comment">% hObject    handle to button_offinj_moins (see GCBO)</span>
+2535 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2536 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2537 
+2538 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2539 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2540 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2541 <a href="#_sub101" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2542 
+2543 <span class="comment">% --- Executes on button press in button_offinj_plus.</span>
+2544 <a name="_sub107" href="#_subfunctions" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a>
+2545 <span class="comment">% hObject    handle to button_offinj_plus (see GCBO)</span>
+2546 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2547 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2548 
+2549 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2550 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2551 set(handles.inj_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2552 <a href="#_sub101" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2553 
+2554 <span class="comment">% --- Executes on button press in button_offext_moins.</span>
+2555 <a name="_sub108" href="#_subfunctions" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a>
+2556 <span class="comment">% hObject    handle to button_offext_moins (see GCBO)</span>
+2557 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2558 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2559 
+2560 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2561 <a href="step.html" class="code" title="">step</a>=temp-52*0.52243;
+2562 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2563 <a href="#_sub103" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2564 
+2565 <span class="comment">% --- Executes on button press in button_offext_plus.</span>
+2566 <a name="_sub109" href="#_subfunctions" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a>
+2567 <span class="comment">% hObject    handle to button_offext_plus (see GCBO)</span>
+2568 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2569 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2570 
+2571 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2572 <a href="step.html" class="code" title="">step</a>=temp+52*0.52243;
+2573 set(handles.ext_offset,<span class="string">'String'</span>,<a href="step.html" class="code" title="">step</a>);
+2574 <a href="#_sub103" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2575 
+2576 
+2577 <span class="comment">% --- Executes on button press in button_bpm.</span>
+2578 <a name="_sub110" href="#_subfunctions" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a>
+2579 <span class="comment">% hObject    handle to button_bpm (see GCBO)</span>
+2580 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2581 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2582 
+2583 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_bpm</span>
+2584 
+2585 bpm=get(hObject,<span class="string">'Value'</span>);
+2586 
+2587 <span class="keyword">if</span> (bpm==0)
+2588    set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+2589 <span class="keyword">elseif</span> (bpm==1)
+2590     set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+2591 <span class="keyword">end</span>
+2592 
+2593 
+2594 
+2595 <a name="_sub111" href="#_subfunctions" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a>
+2596 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2597 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2598 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2599 
+2600 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text</span>
+2601 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double</span>
+2602 
+2603 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2604 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2605 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2606 
+2607 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2608 <a name="_sub112" href="#_subfunctions" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a>
+2609 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2610 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2611 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2612 
+2613 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2614 <span class="comment">%       See ISPC and COMPUTER.</span>
+2615 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2616     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2617 <span class="keyword">end</span>
+2618 
+2619 
+2620 <a name="_sub113" href="#_subfunctions" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a>
+2621 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2622 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2623 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2624 
+2625 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text</span>
+2626 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double</span>
+2627 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2628 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2629 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2630 
+2631 
+2632 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2633 <a name="_sub114" href="#_subfunctions" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a>
+2634 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2635 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2636 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2637 
+2638 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2639 <span class="comment">%       See ISPC and COMPUTER.</span>
+2640 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2641     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2642 <span class="keyword">end</span>
+2643 
+2644 
+2645 
+2646 <a name="_sub115" href="#_subfunctions" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a>
+2647 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2648 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2649 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2650 
+2651 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text</span>
+2652 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double</span>
+2653 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2654 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2655 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2656 
+2657 
+2658 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2659 <a name="_sub116" href="#_subfunctions" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a>
+2660 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2661 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2662 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2663 
+2664 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2665 <span class="comment">%       See ISPC and COMPUTER.</span>
+2666 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2667     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2668 <span class="keyword">end</span>
+2669 
+2670 
+2671 
+2672 <a name="_sub117" href="#_subfunctions" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a>
+2673 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2674 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2675 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2676 
+2677 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text</span>
+2678 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double</span>
+2679 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2680 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2681 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2682 
+2683 
+2684 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2685 <a name="_sub118" href="#_subfunctions" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a>
+2686 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2687 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2688 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2689 
+2690 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2691 <span class="comment">%       See ISPC and COMPUTER.</span>
+2692 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2693     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2694 <span class="keyword">end</span>
+2695 
+2696 
+2697 
+2698 <a name="_sub119" href="#_subfunctions" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a>
+2699 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2700 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2701 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2702 
+2703 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text</span>
+2704 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double</span>
+2705 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2706 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2707 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2708 
+2709 
+2710 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2711 <a name="_sub120" href="#_subfunctions" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a>
+2712 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2713 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2714 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2715 
+2716 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2717 <span class="comment">%       See ISPC and COMPUTER.</span>
+2718 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2719     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2720 <span class="keyword">end</span>
+2721 
+2722 
+2723 
+2724 <a name="_sub121" href="#_subfunctions" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a>
+2725 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2726 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2727 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2728 
+2729 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text</span>
+2730 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double</span>
+2731 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2732 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2733 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2734 
+2735 
+2736 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2737 <a name="_sub122" href="#_subfunctions" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a>
+2738 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2739 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2740 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2741 
+2742 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2743 <span class="comment">%       See ISPC and COMPUTER.</span>
+2744 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2745     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2746 <span class="keyword">end</span>
+2747 
+2748 
+2749 
+2750 <a name="_sub123" href="#_subfunctions" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a>
+2751 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2752 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2753 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2754 
+2755 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text</span>
+2756 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double</span>
+2757 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2758 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2759 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2760 
+2761 
+2762 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2763 <a name="_sub124" href="#_subfunctions" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a>
+2764 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2765 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2766 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2767 
+2768 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2769 <span class="comment">%       See ISPC and COMPUTER.</span>
+2770 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2771     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2772 <span class="keyword">end</span>
+2773 
+2774 
+2775 
+2776 <a name="_sub125" href="#_subfunctions" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a>
+2777 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2778 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2779 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2780 
+2781 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text</span>
+2782 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double</span>
+2783 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2784 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2785 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2786 
+2787 
+2788 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2789 <a name="_sub126" href="#_subfunctions" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a>
+2790 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2791 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2792 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2793 
+2794 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2795 <span class="comment">%       See ISPC and COMPUTER.</span>
+2796 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2797     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2798 <span class="keyword">end</span>
+2799 
+2800 
+2801 
+2802 <a name="_sub127" href="#_subfunctions" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a>
+2803 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2804 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2805 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2806 
+2807 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text</span>
+2808 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double</span>
+2809 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2810 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2811 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2812 
+2813 
+2814 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2815 <a name="_sub128" href="#_subfunctions" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a>
+2816 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2817 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2818 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2819 
+2820 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2821 <span class="comment">%       See ISPC and COMPUTER.</span>
+2822 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2823     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2824 <span class="keyword">end</span>
+2825 
+2826 
+2827 
+2828 <a name="_sub129" href="#_subfunctions" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a>
+2829 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2830 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2831 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2832 
+2833 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text</span>
+2834 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double</span>
+2835 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2836 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2837 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2838 
+2839 
+2840 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2841 <a name="_sub130" href="#_subfunctions" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a>
+2842 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2843 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2844 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2845 
+2846 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2847 <span class="comment">%       See ISPC and COMPUTER.</span>
+2848 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2849     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2850 <span class="keyword">end</span>
+2851 
+2852 
+2853 
+2854 <a name="_sub131" href="#_subfunctions" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a>
+2855 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2856 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2857 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2858 
+2859 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text</span>
+2860 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double</span>
+2861 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2862 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2863 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2864 
+2865 
+2866 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2867 <a name="_sub132" href="#_subfunctions" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a>
+2868 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2869 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2870 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2871 
+2872 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2873 <span class="comment">%       See ISPC and COMPUTER.</span>
+2874 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2875     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2876 <span class="keyword">end</span>
+2877 
+2878 
+2879 
+2880 <a name="_sub133" href="#_subfunctions" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a>
+2881 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2882 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2883 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2884 
+2885 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text</span>
+2886 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double</span>
+2887 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2888 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2889 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2890 
+2891 
+2892 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2893 <a name="_sub134" href="#_subfunctions" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a>
+2894 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2895 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2896 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2897 
+2898 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2899 <span class="comment">%       See ISPC and COMPUTER.</span>
+2900 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2901     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2902 <span class="keyword">end</span>
+2903 
+2904 
+2905 
+2906 <a name="_sub135" href="#_subfunctions" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a>
+2907 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2908 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2909 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2910 
+2911 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text</span>
+2912 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double</span>
+2913 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2914 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2915 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2916 
+2917 
+2918 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2919 <a name="_sub136" href="#_subfunctions" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a>
+2920 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2921 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2922 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2923 
+2924 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2925 <span class="comment">%       See ISPC and COMPUTER.</span>
+2926 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2927     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2928 <span class="keyword">end</span>
+2929 
+2930 
+2931 
+2932 <a name="_sub137" href="#_subfunctions" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a>
+2933 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2934 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2935 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2936 
+2937 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text</span>
+2938 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double</span>
+2939 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2940 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2941 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2942 
+2943 
+2944 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2945 <a name="_sub138" href="#_subfunctions" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a>
+2946 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2947 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2948 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2949 
+2950 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2951 <span class="comment">%       See ISPC and COMPUTER.</span>
+2952 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2953     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2954 <span class="keyword">end</span>
+2955 
+2956 
+2957 
+2958 <a name="_sub139" href="#_subfunctions" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a>
+2959 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2960 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2961 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2962 
+2963 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text</span>
+2964 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double</span>
+2965 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2966 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2967 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2968 
+2969 
+2970 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2971 <a name="_sub140" href="#_subfunctions" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a>
+2972 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2973 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2974 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2975 
+2976 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2977 <span class="comment">%       See ISPC and COMPUTER.</span>
+2978 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2979     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2980 <span class="keyword">end</span>
+2981 
+2982 
+2983 
+2984 <a name="_sub141" href="#_subfunctions" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a>
+2985 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2986 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2987 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2988 
+2989 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text</span>
+2990 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double</span>
+2991 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2992 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2993 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2994 
+2995 
+2996 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2997 <a name="_sub142" href="#_subfunctions" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a>
+2998 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2999 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3000 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3001 
+3002 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3003 <span class="comment">%       See ISPC and COMPUTER.</span>
+3004 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3005     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3006 <span class="keyword">end</span>
+3007 
+3008 
+3009 
+3010 <a name="_sub143" href="#_subfunctions" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a>
+3011 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+3012 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3013 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3014 
+3015 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text</span>
+3016 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double</span>
+3017 
+3018 
+3019 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3020 <a name="_sub144" href="#_subfunctions" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a>
+3021 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+3022 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3023 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3024 
+3025 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3026 <span class="comment">%       See ISPC and COMPUTER.</span>
+3027 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3028     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3029 <span class="keyword">end</span>
+3030 
+3031 
+3032 
+3033 <a name="_sub145" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a>
+3034 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+3035 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3036 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3037 
+3038 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text</span>
+3039 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double</span>
+3040 
+3041 
+3042 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3043 <a name="_sub146" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a>
+3044 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+3045 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3046 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3047 
+3048 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3049 <span class="comment">%       See ISPC and COMPUTER.</span>
+3050 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3051     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3052 <span class="keyword">end</span>
+3053 
+3054 
+3055 
+3056 <a name="_sub147" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a>
+3057 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+3058 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3059 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3060 
+3061 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text</span>
+3062 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double</span>
+3063 <span class="comment">% temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');</span>
+3064 <span class="comment">% offset_ext=temp.value(1)*52;</span>
+3065 <span class="comment">% offset_linac=str2double(get(handles.lin_canon_spm_fin,'String')) ;% dÃ©lai fin de rÃ©glage en ns</span>
+3066 <span class="comment">% offset_linac=offset_linac/handles.lin_fin_step;                   % dÃ©lai fin de rÃ©glage en pas de handles.lin_fin_step ps</span>
+3067 <span class="comment">% bjump=handles.one_bunch;</span>
+3068 <span class="comment">%</span>
+3069 <span class="comment">% bunch=str2num(get(hObject,'String'));</span>
+3070 <span class="comment">% [dtour,dpaquet]=bucketnumber(bunch);</span>
+3071 <span class="comment">% dpaquet=dpaquet*bjump+offset_linac;</span>
+3072 <span class="comment">% table=int32([length(bunch) dtour dpaquet]);</span>
+3073 <span class="comment">% tango_command_inout('ANS/SY/CENTRAL','SetTables',table);</span>
+3074 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');</span>
+3075 <span class="comment">% n=temp.value;</span>
+3076 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');</span>
+3077 <span class="comment">% table_ext=temp.value(1:n); %-offset_ext;</span>
+3078 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'LinacDelayTable');</span>
+3079 <span class="comment">% table_linac=(temp.value(1:n)-offset_linac)/bjump;</span>
+3080 <span class="comment">% table=[];</span>
+3081 <span class="comment">% for i=1:n</span>
+3082 <span class="comment">%     table=[table ' ' '(' num2str([table_ext(i)])  ' '  num2str([table_linac(i)]) ')'];</span>
+3083 <span class="comment">% end</span>
+3084 <span class="comment">% set(handles.edit_filling_relecture_tables,'String',[num2str(table)]);</span>
+3085 <span class="comment">% set(handles.edit_filling_relecture_bunch, 'String',[num2str(bunch)]);</span>
+3086 
+3087 
+3088 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3089 <a name="_sub148" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a>
+3090 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+3091 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3092 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3093 
+3094 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3095 <span class="comment">%       See ISPC and COMPUTER.</span>
+3096 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3097     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3098 <span class="keyword">end</span>
+3099 
+3100 
+3101 <span class="comment">% --- Executes on button press in button_update.</span>
+3102 <a name="_sub149" href="#_subfunctions" class="code">function button_update_Callback(hObject, eventdata, handles)</a>
+3103 <span class="comment">% hObject    handle to button_update (see GCBO)</span>
+3104 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3105 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3106 
+3107 fprintf(<span class="string">'*****Update des 16 cartes locales******\n'</span>)
+3108 
+3109 r=tango_command_inout2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,r);
+3110 r=tango_command_inout2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>,<span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>,r);
+3111 r=tango_command_inout2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,<span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,r);
+3112 
+3113 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>);    <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,r);
+3114 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,r);
+3115 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.RF.1'</span>,r);
+3116 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.1'</span>,r);
+3117 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.2'</span>,r);
+3118 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.3'</span>,r);
+3119 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,r);
+3120 
+3121 r=tango_command_inout2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LT2/SY/LOCAL.DG.1'</span>,r);
+3122 r=tango_command_inout2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LT2/SY/LOCAL.DG.2'</span>,r);
+3123 
+3124 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,r);
+3125 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,r);
+3126 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,r);
+3127 r=tango_command_inout2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,r);
+3128 r=tango_command_inout2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,r);
+3129 r=tango_command_inout2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>,r);
+3130 r=tango_command_inout2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,r);
+3131 r=tango_command_inout2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>,r);
+3132 r=tango_command_inout2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,r);
+3133 r=tango_command_inout2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,r);
+3134 r=tango_command_inout2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,r);
+3135 
+3136 
+3137 
+3138 fprintf(<span class="string">'**************************************\n'</span>)
+3139 <span class="comment">%retour_command=vect</span>
+3140 <span class="comment">%fprintf('16 zÃ©ro = OK : %d\n',vect)</span>
+3141 
+3142 <span class="comment">% --- Executes on button press in button_acquisition_trigstatus.</span>
+3143 <a name="_sub150" href="#_subfunctions" class="code">function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)</a>
+3144 <span class="comment">% hObject    handle to button_acquisition_trigstatus (see GCBO)</span>
+3145 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3146 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3147 
+3148 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3149 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3150 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3151 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3152 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3153 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3154 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3155 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3156 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3157 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3158 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3159 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3160 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3161 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3162 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3163 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3164 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3165 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3166 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3167 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3168 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3169 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3170 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3171 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3172 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3173 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3174 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3175 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3176 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3177 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3178 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3179 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3180 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3181 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3182 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3183 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3184 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3185 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3186 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3187 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3188 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3189 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3190 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3191 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3192 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3193 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3194 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3195 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3196 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3197 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3198 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3199 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3200 
+3201 
+3202 n=1;
+3203 
+3204 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+3205 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3206 
+3207 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+3208 set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(n)));
+3209 
+3210 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+3211 set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(n)));
+3212 
+3213 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>);
+3214 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(n)));
+3215 
+3216 
+3217 
+3218 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3219 set(handles.sdc1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3220 
+3221 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTrigStatus'</span>);
+3222 set(handles.lin_canon_lpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3223 
+3224 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTrigStatus'</span>);
+3225 set(handles.boo_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3226 
+3227 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTrigStatus'</span>);
+3228 set(handles.lt1_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3229 
+3230 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TrigStatus'</span>);
+3231 set(handles.lt1_MC1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3232 
+3233 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TrigStatus'</span>);
+3234 set(handles.lt1_MC2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3235 
+3236 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTrigStatus'</span>);
+3237 set(handles.lt1_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3238 
+3239 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTrigStatus'</span>);
+3240 set(handles.boo_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3241 
+3242 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTrigStatus'</span>);
+3243 set(handles.boo_nod,<span class="string">'String'</span>,num2str(temp.value(n)));
+3244 
+3245 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3246 set(handles.boo_inj_septum,<span class="string">'String'</span>,num2str(temp.value(n)));
+3247 
+3248 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3249 set(handles.boo_inj_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3250 
+3251 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTrigStatus'</span>);
+3252 set(handles.boo_alim_dipole,<span class="string">'String'</span>,num2str(temp.value(n)));
+3253 
+3254 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTrigStatus'</span>);
+3255 set(handles.boo_alim_qf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3256 
+3257 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTrigStatus'</span>);
+3258 set(handles.boo_alim_qd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3259 
+3260 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTrigStatus'</span>);
+3261 set(handles.boo_alim_sf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3262 
+3263 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTrigStatus'</span>);
+3264 set(handles.boo_alim_sd,<span class="string">'String'</span>,num2str(temp.value(n)));
+3265 
+3266 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTrigStatus'</span>);
+3267 set(handles.boo_rf,<span class="string">'String'</span>,num2str(temp.value(n)));
+3268 
+3269 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3270 set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(n)));
+3271 
+3272 
+3273 
+3274 
+3275 
+3276 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTrigStatus'</span>);
+3277 set(handles.boo_ext_dof,<span class="string">'String'</span>,num2str(temp.value(n)));
+3278 
+3279 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3280 set(handles.boo_ext_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3281 
+3282 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3283 set(handles.boo_ext_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3284 
+3285 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTrigStatus'</span>);
+3286 set(handles.boo_ext_kicker,<span class="string">'String'</span>,num2str(temp.value(n)));
+3287 
+3288 
+3289 
+3290 temp=tango_read_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTrigStatus'</span>);
+3291 set(handles.sdc2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3292 
+3293 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTrigStatus'</span>);
+3294 set(handles.lt2_emittance,<span class="string">'String'</span>,num2str(temp.value(n)));
+3295 
+3296 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTrigStatus'</span>);
+3297 set(handles.lt2_osc,<span class="string">'String'</span>,num2str(temp.value(n)));
+3298 
+3299 temp=tango_read_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3300 set(handles.lt2_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3301 
+3302 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTrigStatus'</span>);
+3303 set(handles.ans_inj_k1,<span class="string">'String'</span>,num2str(temp.value(n)));
+3304 
+3305 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTrigStatus'</span>);
+3306 set(handles.ans_inj_k2,<span class="string">'String'</span>,num2str(temp.value(n)));
+3307 
+3308 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTrigStatus'</span>);
+3309 set(handles.ans_inj_k3,<span class="string">'String'</span>,num2str(temp.value(n)));
+3310 
+3311 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTrigStatus'</span>);
+3312 set(handles.ans_inj_k4,<span class="string">'String'</span>,num2str(temp.value(n)));
+3313 
+3314 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTrigStatus'</span>);
+3315 set(handles.ans_inj_sept_p,<span class="string">'String'</span>,num2str(temp.value(n)));
+3316 
+3317 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTrigStatus'</span>);
+3318 set(handles.ans_inj_sept_a,<span class="string">'String'</span>,num2str(temp.value(n)));
+3319 
+3320 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTrigStatus'</span>);
+3321 set(handles.ans_dcct,<span class="string">'String'</span>,num2str(temp.value(n)));
+3322 
+3323 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3324 set(handles.ans_bpm,<span class="string">'String'</span>,num2str(temp.value(n)));
+3325 set(handles.ans_bpm_c01,<span class="string">'String'</span>,num2str(temp.value(n)));
+3326 
+3327 temp=tango_read_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3328 set(handles.ans_bpm_c02,<span class="string">'String'</span>,num2str(temp.value(n)));
+3329 temp=tango_read_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3330 set(handles.ans_bpm_c03,<span class="string">'String'</span>,num2str(temp.value(n)));
+3331 temp=tango_read_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3332 set(handles.ans_bpm_c04,<span class="string">'String'</span>,num2str(temp.value(n)));
+3333 temp=tango_read_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3334 set(handles.ans_bpm_c05,<span class="string">'String'</span>,num2str(temp.value(n)));
+3335 temp=tango_read_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3336 set(handles.ans_bpm_c06,<span class="string">'String'</span>,num2str(temp.value(n)));
+3337 temp=tango_read_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3338 set(handles.ans_bpm_c07,<span class="string">'String'</span>,num2str(temp.value(n)));
+3339 temp=tango_read_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3340 set(handles.ans_bpm_c08,<span class="string">'String'</span>,num2str(temp.value(n)));
+3341 temp=tango_read_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3342 set(handles.ans_bpm_c09,<span class="string">'String'</span>,num2str(temp.value(n)));
+3343 temp=tango_read_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3344 set(handles.ans_bpm_c10,<span class="string">'String'</span>,num2str(temp.value(n)));
+3345 temp=tango_read_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3346 set(handles.ans_bpm_c11,<span class="string">'String'</span>,num2str(temp.value(n)));
+3347 temp=tango_read_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3348 set(handles.ans_bpm_c12,<span class="string">'String'</span>,num2str(temp.value(n)));
+3349 temp=tango_read_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3350 set(handles.ans_bpm_c13,<span class="string">'String'</span>,num2str(temp.value(n)));
+3351 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3352 set(handles.ans_bpm_c14,<span class="string">'String'</span>,num2str(temp.value(n)));
+3353 temp=tango_read_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3354 set(handles.ans_bpm_c15,<span class="string">'String'</span>,num2str(temp.value(n)));
+3355 temp=tango_read_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTrigStatus'</span>);
+3356 set(handles.ans_bpm_c16,<span class="string">'String'</span>,num2str(temp.value(n)));
+3357 
+3358 
+3359 
+3360 <span class="comment">% --- Executes on button press in togglebutton2.</span>
+3361 <a name="_sub151" href="#_subfunctions" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a>
+3362 <span class="comment">% hObject    handle to togglebutton2 (see GCBO)</span>
+3363 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3364 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3365 
+3366 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of togglebutton2</span>
+3367 
+3368 
+3369 <span class="comment">% --- Executes on selection change in listbox_fillingmode.</span>
+3370 <a name="_sub152" href="#_subfunctions" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a>
+3371 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+3372 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3373 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3374 
+3375 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_fillingmode contents as cell array</span>
+3376 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_fillingmode</span>
+3377 pattern=get(hObject,<span class="string">'String'</span>);
+3378 mode=get(hObject,<span class="string">'Value'</span>);
+3379 fprintf(<span class="string">'***************************************************\n'</span>)
+3380 fprintf(<span class="string">'Mode de remplissage sÃ©lectionnÃ© : %s\n'</span>,pattern{mode})
+3381 fprintf(<span class="string">'***************************************************\n'</span>)
+3382 
+3383 <span class="comment">% PrÃ©pare les tables pour le 3 Hz</span>
+3384 quart=[1 105 209 313];
+3385 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+3386 offset_ext=temp.value(1)*52;
+3387 offset_linac=str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>)) ;<span class="comment">% dÃ©lai fin de rÃ©glage en ns</span>
+3388 offset_linac=offset_linac/handles.lin_fin_step;                   <span class="comment">% dÃ©lai fin de rÃ©glage en pas de handles.lin_fin_step ps</span>
+3389 bjump=handles.one_bunch;
+3390 
+3391 
+3392 <span class="keyword">if</span> (mode&lt;=4)    <span class="comment">%LPM</span>
+3393     bunch=quart(mode);
+3394 <span class="keyword">elseif</span> (mode&gt;4)&amp;&amp;(mode&lt;=7) <span class="comment">%LPM</span>
+3395     bunch=quart(1:(mode-3));
+3396 <span class="keyword">elseif</span> (mode==8)    <span class="comment">%LPM</span>
+3397     dbunch=4*8;
+3398     bunch=[0 104+26 2*(104+26)]+1;
+3399 <span class="keyword">elseif</span> (mode==9)   <span class="comment">% SPM    1 paquet</span>
+3400     bunch=[1];
+3401 <span class="keyword">elseif</span> (mode==10)  <span class="comment">% SPM    8 paquets</span>
+3402     bunch=[0:7]*52+1;
+3403 <span class="keyword">elseif</span> (mode==11)  <span class="comment">% SPM    16 paquets</span>
+3404     bunch=[0:15]*26+1;
+3405 <span class="keyword">elseif</span> (mode==12)  <span class="comment">% SPM    n paquets</span>
+3406     bunch=str2num(get(handles.edit_filling_entrer_bunch,<span class="string">'String'</span>));
+3407 <span class="keyword">elseif</span> (mode==13)  <span class="comment">% SPM    n paquets</span>
+3408     paq=str2num(get(handles.edit_filling_entrer_bunch1,<span class="string">'String'</span>));
+3409     bunch=paq(1):paq(2);
+3410 <span class="keyword">end</span>
+3411 
+3412 
+3413 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+3414 dpaquet=dpaquet*bjump+offset_linac;
+3415 table=int32([length(bunch) dtour dpaquet]);
+3416 handles.table=table;
+3417 handles.bunch=bunch;
+3418 
+3419 save <span class="string">'/home/matlabML/applications/synchro/table.mat'</span> <span class="string">'table'</span>; <span class="comment">% pour palier aux handles via timer non mis Ã  jour !!!!!!</span>
+3420 
+3421 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3422 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)  <span class="comment">% on rempli la table sur paquet 1 par dÃ©faut</span>
+3423     <span class="comment">%table=handles.table0;</span>
+3424     tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+3425     
+3426 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>) <span class="comment">% on rempli la table</span>
+3427     tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+3428     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+3429     n=temp.value;
+3430     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+3431     table_ext=temp.value(1:n); <span class="comment">%-offset_ext;</span>
+3432     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'LinacDelayTable'</span>);
+3433     table_linac=(temp.value(1:n)-offset_linac)/bjump;
+3434     table=[];
+3435     <span class="keyword">for</span> i=1:n
+3436         table=[table <span class="string">' '</span> <span class="string">'('</span> num2str([table_ext(i)])  <span class="string">' '</span>  num2str([table_linac(i)]) <span class="string">')'</span>];
+3437     <span class="keyword">end</span>
+3438 <span class="keyword">end</span>
+3439 
+3440 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+3441 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,[num2str(bunch)]);
+3442 
+3443 
+3444 guidata(hObject, handles);
+3445 
+3446 
+3447 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3448 <a name="_sub153" href="#_subfunctions" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a>
+3449 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+3450 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3451 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3452 
+3453 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+3454 <span class="comment">%       See ISPC and COMPUTER.</span>
+3455 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3456     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3457 <span class="keyword">end</span>
+3458 
+3459 
+3460 <span class="comment">% --- Executes on button press in button_fix.</span>
+3461 <a name="_sub154" href="#_subfunctions" class="code">function button_fix_Callback(hObject, eventdata, handles)</a>
+3462 <span class="comment">% hObject    handle to button_fix (see GCBO)</span>
+3463 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3464 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3465 
+3466 [clk_pc,clk_soft]=<a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>;
+3467 handles.clk_pc  =clk_pc;
+3468 handles.clk_soft=clk_soft;
+3469 
+3470 <span class="comment">% n=1;</span>
+3471 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');</span>
+3472 <span class="comment">% clk1=temp.value(n);</span>
+3473 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');</span>
+3474 <span class="comment">% clk2=temp.value(n);</span>
+3475 <span class="comment">%</span>
+3476 <span class="comment">% jump=int32([0 39 26 13]);</span>
+3477 <span class="comment">% handles.clk_pc  =jump +  int32(clk1);</span>
+3478 <span class="comment">% handles.clk_soft=jump  + int32(clk2);</span>
+3479 
+3480 guidata(hObject, handles);
+3481 
+3482 
+3483 
+3484 <a name="_sub155" href="#_subfunctions" class="code">function edit_Nshot_soft_Callback(hObject, eventdata, handles)</a>
+3485 <span class="comment">% hObject    handle to edit_Nshot_soft (see GCBO)</span>
+3486 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3487 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3488 
+3489 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Nshot_soft as text</span>
+3490 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Nshot_soft as a double</span>
+3491 
+3492 
+3493 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3494 <a name="_sub156" href="#_subfunctions" class="code">function edit_Nshot_soft_CreateFcn(hObject, eventdata, handles)</a>
+3495 <span class="comment">% hObject    handle to edit_Nshot_soft (see GCBO)</span>
+3496 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3497 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3498 
+3499 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3500 <span class="comment">%       See ISPC and COMPUTER.</span>
+3501 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3502     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3503 <span class="keyword">end</span>
+3504 
+3505 
+3506 
+3507 <a name="_sub157" href="#_subfunctions" class="code">function edit_laps_Callback(hObject, eventdata, handles)</a>
+3508 <span class="comment">% hObject    handle to edit_laps (see GCBO)</span>
+3509 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3510 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3511 
+3512 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_laps as text</span>
+3513 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_laps as a double</span>
+3514 
+3515 
+3516 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3517 <a name="_sub158" href="#_subfunctions" class="code">function edit_laps_CreateFcn(hObject, eventdata, handles)</a>
+3518 <span class="comment">% hObject    handle to edit_laps (see GCBO)</span>
+3519 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3520 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3521 
+3522 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3523 <span class="comment">%       See ISPC and COMPUTER.</span>
+3524 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3525     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3526 <span class="keyword">end</span>
+3527 
+3528 
+3529 
+3530 <a name="_sub159" href="#_subfunctions" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a>
+3531 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+3532 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3533 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3534 
+3535 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_qlt1 as text</span>
+3536 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_qlt1 as a double</span>
+3537 
+3538 
+3539 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3540 <a name="_sub160" href="#_subfunctions" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a>
+3541 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+3542 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3543 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3544 
+3545 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3546 <span class="comment">%       See ISPC and COMPUTER.</span>
+3547 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3548     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3549 <span class="keyword">end</span>
+3550 
+3551 
+3552 
+3553 <a name="_sub161" href="#_subfunctions" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a>
+3554 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+3555 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3556 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3557 
+3558 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_iboo as text</span>
+3559 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_iboo as a double</span>
+3560 
+3561 
+3562 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3563 <a name="_sub162" href="#_subfunctions" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a>
+3564 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+3565 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3566 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3567 
+3568 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3569 <span class="comment">%       See ISPC and COMPUTER.</span>
+3570 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3571     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3572 <span class="keyword">end</span>
+3573 
+3574 
+3575 
+3576 <a name="_sub163" href="#_subfunctions" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a>
+3577 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+3578 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3579 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3580 
+3581 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians as text</span>
+3582 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians as a double</span>
+3583 
+3584 
+3585 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3586 <a name="_sub164" href="#_subfunctions" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a>
+3587 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+3588 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3589 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3590 
+3591 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3592 <span class="comment">%       See ISPC and COMPUTER.</span>
+3593 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3594     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3595 <span class="keyword">end</span>
+3596 
+3597 
+3598 
+3599 <a name="_sub165" href="#_subfunctions" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a>
+3600 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3601 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3602 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3603 
+3604 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rlt1 as text</span>
+3605 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rlt1 as a double</span>
+3606 
+3607 
+3608 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3609 <a name="_sub166" href="#_subfunctions" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a>
+3610 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3611 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3612 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3613 
+3614 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3615 <span class="comment">%       See ISPC and COMPUTER.</span>
+3616 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3617     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3618 <span class="keyword">end</span>
+3619 
+3620 
+3621 
+3622 <a name="_sub167" href="#_subfunctions" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a>
+3623 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3624 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3625 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3626 
+3627 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rboo as text</span>
+3628 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rboo as a double</span>
+3629 
+3630 
+3631 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3632 <a name="_sub168" href="#_subfunctions" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a>
+3633 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3634 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3635 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3636 
+3637 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3638 <span class="comment">%       See ISPC and COMPUTER.</span>
+3639 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3640     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3641 <span class="keyword">end</span>
+3642 
+3643 
+3644 
+3645 <a name="_sub169" href="#_subfunctions" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a>
+3646 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3647 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3648 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3649 
+3650 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rans as text</span>
+3651 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rans as a double</span>
+3652 
+3653 
+3654 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3655 <a name="_sub170" href="#_subfunctions" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a>
+3656 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3657 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3658 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3659 
+3660 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3661 <span class="comment">%       See ISPC and COMPUTER.</span>
+3662 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3663     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3664 <span class="keyword">end</span>
+3665 
+3666 
+3667 
+3668 <a name="_sub171" href="#_subfunctions" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a>
+3669 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3670 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3671 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3672 
+3673 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians1 as text</span>
+3674 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians1 as a double</span>
+3675 
+3676 
+3677 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3678 <a name="_sub172" href="#_subfunctions" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a>
+3679 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3680 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3681 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3682 
+3683 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3684 <span class="comment">%       See ISPC and COMPUTER.</span>
+3685 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3686     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3687 <span class="keyword">end</span>
+3688 
+3689 
+3690 
+3691 <a name="_sub173" href="#_subfunctions" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a>
+3692 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3693 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3694 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3695 
+3696 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_cycle as text</span>
+3697 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_cycle as a double</span>
+3698 
+3699 
+3700 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3701 <a name="_sub174" href="#_subfunctions" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a>
+3702 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3703 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3704 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3705 
+3706 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3707 <span class="comment">%       See ISPC and COMPUTER.</span>
+3708 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3709     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3710 <span class="keyword">end</span>
+3711 
+3712 
+3713 
+3714 <a name="_sub175" href="#_subfunctions" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a>
+3715 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3716 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3717 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3718 
+3719 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_courant_total as text</span>
+3720 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_courant_total as a double</span>
+3721 
+3722 
+3723 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3724 <a name="_sub176" href="#_subfunctions" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a>
+3725 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3726 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3727 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3728 
+3729 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3730 <span class="comment">%       See ISPC and COMPUTER.</span>
+3731 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3732     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3733 <span class="keyword">end</span>
+3734 
+3735 
+3736 
+3737 <a name="_sub177" href="#_subfunctions" class="code">function lin_canon_spm_Callback(hObject, eventdata, handles)</a>
+3738 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3739 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3740 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3741 
+3742 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_spm as text</span>
+3743 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_spm as a double</span>
+3744 
+3745 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+3746 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+3747 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>,delay);
+3748 
+3749 
+3750 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3751 <a name="_sub178" href="#_subfunctions" class="code">function lin_canon_spm_CreateFcn(hObject, eventdata, handles)</a>
+3752 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3753 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3754 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3755 
+3756 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3757 <span class="comment">%       See ISPC and COMPUTER.</span>
+3758 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3759     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3760 <span class="keyword">end</span>
+3761 
+3762 
+3763 <a name="_sub179" href="#_subfunctions" class="code">function  uipanel_mode_CreateFcn(hObject, eventdata, handles)</a>
+3764 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3765 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3766 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3767 
+3768 
+3769 <span class="comment">% % --------------------------------------------------------------------</span>
+3770  <span class="keyword">function</span> <a href="#_sub180" class="code" title="subfunction uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)">uipanel_mode_SelectionChangeFcn</a>(hObject, eventdata, handles)
+3771 <span class="comment">% % hObject    handle to uipanel_mode (see GCBO)</span>
+3772 <span class="comment">% % eventdata  reserved - to be defined in a future version of MATLAB</span>
+3773 <span class="comment">% % handles    structure with handles and user data (see GUIDATA)</span>
+3774 <span class="comment">%</span>
+3775 
+3776 modelinac=get(get(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3777 <span class="keyword">switch</span> modelinac  <span class="comment">% Get Tag of selected object</span>
+3778     <span class="keyword">case</span> <span class="string">'no_mode'</span>
+3779         eventlpm=int32(0);
+3780         eventspm=int32(0);
+3781     <span class="keyword">case</span> <span class="string">'lpm_mode'</span>
+3782         eventlpm=int32(5);
+3783         eventspm=int32(0);
+3784     <span class="keyword">case</span> <span class="string">'spm_mode'</span>
+3785         eventlpm=int32(0);
+3786         eventspm=int32(5);
+3787 <span class="keyword">end</span>
+3788 
+3789 event0=handles.event0;
+3790 event00=handles.event00;
+3791 
+3792 mode=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3793 
+3794 tout=0.;
+3795 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3796     <span class="keyword">case</span> <span class="string">'togglebutton_soft'</span>
+3797     <span class="comment">% switch to soft</span>
+3798         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+3799         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+3800         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+3801         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+3802         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      int32(1)); pause(tout);
+3803         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+3804         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+3805         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+3806         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+3807         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+3808         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+3809         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+3810         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+3811         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+3812         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+3813         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+3814         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,     event);
+3815  
+3816         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event);pause(tout);
+3817         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event);pause(tout);
+3818         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+3819         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+3820         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event);pause(tout);
+3821         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event);pause(tout);
+3822         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event);pause(tout);
+3823         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event);pause(tout);
+3824         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event);pause(tout);
+3825         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([5 5 5 5]); 
+3826         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© addresses sans update</span>
+3827         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+3828         
+3829         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([5 5]); 
+3830         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+3831         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+3832         
+3833         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,    int32(3));pause(tout);
+3834         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3835         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3836         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3837         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3838         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3839         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3840         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3841         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3842         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3843         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3844         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3845         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3846         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3847         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3848         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3849         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);     
+3850        
+3851 
+3852     <span class="comment">% special modulateur</span>
+3853         inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+3854         inj=str2double(get(handles.central_inj,<span class="string">'String'</span>));
+3855         soft=str2double(get(handles.central_soft,<span class="string">'String'</span>));
+3856         pc=str2double(get(handles.central_pc,<span class="string">'String'</span>));
+3857         temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+3858         delay=inj_offset+soft-pc;
+3859         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+3860         <a href="start_soft.html" class="code" title="function start_soft">start_soft</a>
+3861      <span class="comment">% special septum actif boo et ans</span>
+3862         r=(1-0.0004);
+3863         boo=readattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage'</span>); boo=boo*r;
+3864         writeattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage,'</span>,boo);
+3865         ans=readattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage'</span>); ans=ans*r;
+3866         writeattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage,'</span>,ans);     
+3867            
+3868     <span class="keyword">case</span> <span class="string">'togglebutton_3Hz'</span>
+3869         
+3870      <span class="comment">% switch to 3Hz</span>
+3871         event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+3872         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+3873         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+3874         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+3875         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      eint32(1)); pause(tout);
+3876         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+3877         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+3878         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+3879         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+3880         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+3881         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+3882         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+3883         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+3884         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+3885         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+3886         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+3887         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,     event);
+3888         event=int32(3) ;<span class="comment">% adresse de extraction</span>
+3889         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event);pause(tout);
+3890         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event);pause(tout);
+3891         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+3892         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+3893         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event);pause(tout);
+3894         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event);pause(tout);
+3895         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event);pause(tout);
+3896         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event);pause(tout);
+3897         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event);pause(tout);
+3898         
+3899         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([3 3 3 3]); 
+3900         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+3901        
+3902         arg.svalue={<span class="string">'sep-p'</span>,<span class="string">'sep-a'</span>}; arg.lvalue=int32([3 3]); 
+3903         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+3904         
+3905         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,    event);pause(tout);
+3906         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3907         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3908         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3909         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3910         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3911         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3912         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3913         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3914         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+3915         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3916         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3917         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3918         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3919         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3920         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3921         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+3922        
+3923     <span class="comment">% special modulateur</span>
+3924         inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+3925         inj=str2double(get(handles.central_inj,<span class="string">'String'</span>));
+3926         soft=str2double(get(handles.central_soft,<span class="string">'String'</span>));
+3927         temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+3928         delay=inj_offset+0;
+3929         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+3930     <span class="comment">% special septum actif boo et ans</span>
+3931         r=(1+0.0004);
+3932         boo=readattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage'</span>); boo=boo*r;
+3933         writeattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage,'</span>,boo);
+3934         ans=readattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage'</span>); ans=ans*r;
+3935         writeattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage,'</span>,ans);     
+3936 <span class="keyword">end</span>
+3937 
+3938 display(<span class="string">'ok change address'</span>)
+3939 
+3940 
+3941 
+3942 <a name="_sub180" href="#_subfunctions" class="code">function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)</a>
+3943 <span class="comment">% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)</span>
+3944 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3945 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3946 
+3947 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch1 as text</span>
+3948 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch1 as a double</span>
+3949 
+3950 
+3951 
+3952 
+3953 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3954 <a name="_sub181" href="#_subfunctions" class="code">function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)</a>
+3955 <span class="comment">% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)</span>
+3956 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3957 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3958 
+3959 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3960 <span class="comment">%       See ISPC and COMPUTER.</span>
+3961 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3962     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3963 <span class="keyword">end</span>
+3964 
+3965 
+3966 
+3967 <a name="_sub182" href="#_subfunctions" class="code">function edit_Imin_Callback(hObject, eventdata, handles)</a>
+3968 <span class="comment">% hObject    handle to edit_Imin (see GCBO)</span>
+3969 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3970 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3971 
+3972 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Imin as text</span>
+3973 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Imin as a double</span>
+3974 
+3975 
+3976 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3977 <a name="_sub183" href="#_subfunctions" class="code">function edit_Imin_CreateFcn(hObject, eventdata, handles)</a>
+3978 <span class="comment">% hObject    handle to edit_Imin (see GCBO)</span>
+3979 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3980 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3981 
+3982 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3983 <span class="comment">%       See ISPC and COMPUTER.</span>
+3984 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3985     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3986 <span class="keyword">end</span>
+3987 
+3988 
+3989 <span class="comment">% --------------------------------------------------------------------</span>
+3990 <a name="_sub184" href="#_subfunctions" class="code">function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3991 <span class="comment">% hObject    handle to uipanel_spm_mode (see GCBO)</span>
+3992 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3993 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3994 
+3995 <span class="comment">%h=get(handles.uipanel_spm_mode);</span>
+3996 <span class="comment">%get(h.Children)</span>
+3997 
+3998 mode=get(get(handles.uipanel_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3999 
+4000 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+4001     <span class="keyword">case</span> <span class="string">'spm_mode_1'</span>
+4002         display(<span class="string">'spm_mode_1'</span>)     
+4003         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(1));
+4004     <span class="keyword">case</span> <span class="string">'spm_mode_2'</span>
+4005         display(<span class="string">'spm_mode_2'</span>)  
+4006         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(2));
+4007     <span class="keyword">case</span> <span class="string">'spm_mode_2p'</span>
+4008         display(<span class="string">'spm_mode_2p'</span>)   
+4009         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(3));
+4010     <span class="keyword">case</span> <span class="string">'spm_mode_3'</span>
+4011         display(<span class="string">'spm_mode_3'</span>)    
+4012         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(4));   
+4013 <span class="keyword">end</span>
+4014 
+4015 
+4016 <span class="comment">% --------------------------------------------------------------------</span>
+4017 <a name="_sub185" href="#_subfunctions" class="code">function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+4018 <span class="comment">% hObject    handle to uipanel_lpm_spm_mode (see GCBO)</span>
+4019 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+4020 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+4021 
+4022 
+4023 mode=get(get(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+4024 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+4025 event0=int32(0);
+4026 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)
+4027     event=int32(5);
+4028 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+4029     event=event0
+4030 <span class="keyword">end</span>
+4031 
+4032 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+4033     <span class="keyword">case</span> <span class="string">'no_mode'</span>
+4034         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event0); 
+4035         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); 
+4036         
+4037     <span class="keyword">case</span> <span class="string">'lpm_mode'</span>
+4038         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event); 
+4039         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0);     
+4040         
+4041         tango_write_attribute(<span class="string">'LT1/AE/CV.2'</span>, <span class="string">'current'</span>,  0.088 );
+4042         tango_write_attribute(<span class="string">'LT1/AE/CV.3'</span>, <span class="string">'current'</span>, -0.34 );
+4043 
+4044     <span class="keyword">case</span> <span class="string">'spm_mode'</span>
+4045         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event0); 
+4046         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event);   
+4047         
+4048         tango_write_attribute(<span class="string">'LT1/AE/CV.2'</span>, <span class="string">'current'</span>,  0.112 );
+4049         tango_write_attribute(<span class="string">'LT1/AE/CV.3'</span>, <span class="string">'current'</span>, -0.077 );
+4050         
+4051 <span class="keyword">end</span>
+4052 
+4053 
+4054 <span class="comment">% --- Executes on button press in pushbutton_load_golden.</span>
+4055 <a name="_sub186" href="#_subfunctions" class="code">function pushbutton_load_golden_Callback(hObject, eventdata, handles)</a>
+4056 <span class="comment">% hObject    handle to pushbutton_load_golden (see GCBO)</span>
+4057 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+4058 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+4059 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+4060 file=<span class="string">'golden_synchro.mat'</span>
+4061 <a href="load_synchro.html" class="code" title="function load_synchro(file)">load_synchro</a>(file)
+4062 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>)
+4063</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur7_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur7_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur7_rafale.html	(revision 17)
@@ -0,0 +1,3784 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur7_rafale</title>
+  <meta name="keywords" content="synchro_injecteur7_rafale">
+  <meta name="description" content="SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur7_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur7_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur7_rafale(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig
+      SYNCHRO_INJECTEUR7_RAFALE, by itself, creates a new SYNCHRO_INJECTEUR7_RAFALE or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR7_RAFALE returns the handle to a new SYNCHRO_INJECTEUR7_RAFALE or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR7_RAFALE('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR7_RAFALE.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR7_RAFALE('Property','Value',...) creates a new SYNCHRO_INJECTEUR7_RAFALE or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur7_rafale_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur7_rafale_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li><li><a href="check_boo_synchro.html" class="code" title="function [flag]=check_boo_synchro">check_boo_synchro</a>	Estime amplitude sur tune synchro</li><li><a href="do_update.html" class="code" title="function do_update">do_update</a>	</li><li><a href="fire_injection.html" class="code" title="function [r1,r2]=fire_injection(handles)">fire_injection</a>	</li><li><a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>	fix premier quart</li><li><a href="get_synchro_address.html" class="code" title="function get_synchro_address(handles)">get_synchro_address</a>	</li><li><a href="get_synchro_delay.html" class="code" title="function get_synchro_delay(handles)">get_synchro_delay</a>	</li><li><a href="get_synchro_delay_nooffset.html" class="code" title="function get_synchro_delay_nooffset(handles)">get_synchro_delay_nooffset</a>	</li><li><a href="get_synchro_rafale.html" class="code" title="function [timing]=get_synchro_rafale(DirName)">get_synchro_rafale</a>	step and address</li><li><a href="get_synchro_trigstatus.html" class="code" title="function get_synchro_trigstatus(handles)">get_synchro_trigstatus</a>	</li><li><a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>	</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur7_rafale_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur7_rafale_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function boo_alim_dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function boo_alim_qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function boo_alim_qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function boo_alim_qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function boo_alim_qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function boo_alim_sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function boo_alim_sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function boo_alim_sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function boo_alim_sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function lin_canon_lpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function lin_canon_spm_fin_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function central_spare_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function central_spare_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function central_inj_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function central_inj_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function central_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function central_soft_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function button_acquisition_nooffset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function button_acquisition_delay_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function button_injection_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub51" class="code">function fonction_alex1(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub52" class="code">function fonction_alex2(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub53" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub54" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function central_ext_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function central_ext_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function central_soft1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function central_soft1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function sdc2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function button_acquisition_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub107" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub108" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub109" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub110" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub111" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub112" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub113" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub114" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub115" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub116" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub117" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub118" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub119" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub120" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub121" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub122" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub123" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub124" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub125" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub126" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub127" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub128" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub129" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub130" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub131" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub132" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub133" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub134" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub135" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub136" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub137" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub138" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub139" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub140" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub141" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub142" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub143" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub144" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub145" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub146" class="code">function button_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub147" class="code">function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub148" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub149" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub150" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub151" class="code">function button_fix_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub152" class="code">function edit_Ncycle_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub153" class="code">function edit_Ncycle_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub154" class="code">function edit_Ncoup_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub155" class="code">function edit_Ncoup_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub156" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub157" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub158" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub159" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub160" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub161" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub162" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub163" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub164" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub165" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub166" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub167" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub168" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub169" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub170" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub171" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub172" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub173" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub174" class="code">function lin_canon_spm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub175" class="code">function lin_canon_spm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub176" class="code">function  uipanel_mode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub177" class="code">function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub178" class="code">function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub179" class="code">function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub180" class="code">function edit_Imin_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub181" class="code">function edit_Imin_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub182" class="code">function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub183" class="code">function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub184" class="code">function uipanel_central_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub185" class="code">function  [etat]=test_central_mode(handles)</a></li><li><a href="#_sub186" class="code">function  [etat]=test_injection_mode(handles)</a></li><li><a href="#_sub187" class="code">function  [etat]=test_lpm_spm_mode(handles)</a></li><li><a href="#_sub188" class="code">function  [etat]=test_spm_mode(handles)</a></li><li><a href="#_sub189" class="code">function  [etat]=test_cond_inj(handles)</a></li><li><a href="#_sub190" class="code">function  test_modes(handles)</a></li><li><a href="#_sub191" class="code">function edit_modes_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub192" class="code">function edit_modes_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub193" class="code">function ans_k_pc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub194" class="code">function ans_k_pc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub195" class="code">function ans_k_h_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub196" class="code">function ans_k_h_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub197" class="code">function ans_k_v_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub198" class="code">function ans_k_v_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub199" class="code">function button_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub200" class="code">function button_save_golden_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub201" class="code">function button_load_golden_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub202" class="code">function button_load_golden_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub203" class="code">function button_save_golden_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub204" class="code">function button_load_golden_3Hz_66MeV_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub205" class="code">function button_save_golden_66MeV_Callback(hObject, eventdata, handles)</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur7_rafale(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR7_RAFALE M-file for synchro_injecteur7_rafale.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR7_RAFALE, by itself, creates a new SYNCHRO_INJECTEUR7_RAFALE or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR7_RAFALE returns the handle to a new SYNCHRO_INJECTEUR7_RAFALE or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR7_RAFALE('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR7_RAFALE.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR7_RAFALE('Property','Value',...) creates a new SYNCHRO_INJECTEUR7_RAFALE or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur7_rafale_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur7_rafale_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% For the compiler</span>
+0024 <span class="comment">%#function aoinit setao setoperationalmode</span>
+0025 <span class="comment">%#function boosterinit</span>
+0026 <span class="comment">%#function magnetcoefficients</span>
+0027 <span class="comment">%</span>
+0028 
+0029 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur7_rafale</span>
+0030 
+0031 <span class="comment">% Last Modified by GUIDE v2.5 02-Oct-2008 16:05:52</span>
+0032 
+0033 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0034 gui_Singleton = 1;
+0035 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0036                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0037                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur7_rafale_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur7_rafale_OpeningFcn</a>, <span class="keyword">...</span>
+0038                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur7_rafale_OutputFcn(hObject, eventdata, handles)">synchro_injecteur7_rafale_OutputFcn</a>, <span class="keyword">...</span>
+0039                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0040                    <span class="string">'gui_Callback'</span>,   []);
+0041 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0042     gui_State.gui_Callback = str2func(varargin{1});
+0043 <span class="keyword">end</span>
+0044 
+0045 <span class="keyword">if</span> nargout
+0046     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0047 <span class="keyword">else</span>
+0048     gui_mainfcn(gui_State, varargin{:});
+0049 <span class="keyword">end</span>
+0050 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0051 
+0052 
+0053 <span class="comment">% --- Executes just before synchro_injecteur7_rafale is made visible.</span>
+0054 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur7_rafale_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0055 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0056 <span class="comment">% hObject    handle to figure</span>
+0057 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0058 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0059 <span class="comment">% varargin   command line arguments to synchro_injecteur7_rafale (see VARARGIN)</span>
+0060 
+0061 <span class="comment">% Choose default command line output for synchro_injecteur7_rafale</span>
+0062 handles.output = hObject;
+0063 
+0064 <span class="comment">% list les devices annexe pour etat</span>
+0065 fprintf(<span class="string">'Liste devices annexes \n'</span>);
+0066 <span class="comment">% name={'ANS-C03/DG/DCCT','LT1/DG/MC','BOO-C01/DG/DCCT',...</span>
+0067 <span class="comment">%     'ANS/DG/PUB-FillingMode', 'ANS/FC/INJ_COND'};</span>
+0068 name={<span class="string">'ANS/DG/DCCT-CTRL'</span>,<span class="string">'LT1/DG/MC'</span>,<span class="string">'BOO-C01/DG/DCCT'</span>,<span class="keyword">...</span>
+0069     <span class="string">'ANS/DG/PUB-FillingMode'</span>, <span class="string">'ANS/FC/INJ_COND'</span>};
+0070 <span class="keyword">for</span> i=1:4
+0071     <span class="keyword">try</span>
+0072         txt=tango_command_inout2(name{2},<span class="string">'State'</span>);
+0073         <span class="comment">%temp=tango_read_attribute(name{i},'State');</span>
+0074         <span class="comment">%temp=tango_read_attribute(name{i},'Status');txt=temp.value;</span>
+0075     <span class="keyword">catch</span>
+0076         txt=<span class="string">'bug_device'</span>;
+0077     <span class="keyword">end</span>
+0078     fprintf(<span class="string">'%s   :   %s \n'</span>,name{i},txt);
+0079 <span class="keyword">end</span>
+0080 
+0081 <span class="comment">% Added by Laurent</span>
+0082 <span class="keyword">if</span> isdeployed
+0083     cd(getenv(<span class="string">'MLROOT'</span>)); 
+0084     setpathsoleil(<span class="string">'Booster'</span>); 
+0085 <span class="keyword">end</span>
+0086 <span class="comment">% End</span>
+0087 
+0088 <span class="comment">% Directories</span>
+0089 <span class="comment">%Directory='/home/matlabML/measdata/SOLEIL/Boosterdata/Datatemp'; % ALEX</span>
+0090 Directory =  [getfamilydata(<span class="string">'Directory'</span>,<span class="string">'DataRoot'</span>) <span class="string">'../Boosterdata/Datatemp'</span>]; <span class="comment">% Laurent</span>
+0091 handles.Directory=Directory;  <span class="comment">% for saved data</span>
+0092 
+0093 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');</span>
+0094 <span class="comment">% DirName ='/home/matlabML/machine/SOLEIL/common/synchro/'; % ALEX</span>
+0095 DirName = getfamilydata(<span class="string">'Directory'</span>, <span class="string">'Synchro'</span>); <span class="comment">% Laurent</span>
+0096 handles.DirName=DirName;      <span class="comment">% for offset &amp; table</span>
+0097 
+0098 <span class="comment">% Charge les offset</span>
+0099 FileName = [DirName <span class="string">'synchro_offset_lin'</span>];
+0100 fprintf(<span class="string">'Laurent:%s\n'</span>, FileName');
+0101 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0102 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0103 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0104 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+0105 <span class="comment">% Periode linac fin</span>
+0106 handles.lin_fin_step=0.090;                   <span class="comment">% En ns  (90 ps)</span>
+0107 handles.one_bunch=2.84/handles.lin_fin_step;  <span class="comment">% Nombre de pas pour sauter un paquet</span>
+0108 
+0109 <span class="comment">% Periode du trigger par defaut = 10 s</span>
+0110 handles.periode = 10;
+0111 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0112 set(handles.edit_Ncycle,<span class="string">'String'</span>,num2str(1));
+0113 set(handles.edit_Ncoup,<span class="string">'String'</span>,1.0);
+0114 
+0115 <span class="comment">%Memorise les dÃÂ©lais spare et soft initiaux</span>
+0116 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprStepDelay'</span>);
+0117 clk1=temp.value(1);
+0118 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0119 clk2=temp.value(1);
+0120 
+0121 <span class="comment">%Stocke les sauts pour les 4 quarts mode LPM</span>
+0122 jump=int32([0 39 26 13]);
+0123 handles.clk_spare  =jump +  int32(clk1);
+0124 handles.clk_soft=jump  + int32(clk2);
+0125 handles.quart=1;
+0126 
+0127 <span class="comment">% Table initiale sur paquet 1</span>
+0128 bunch=[1];
+0129 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+0130 offset_linac=lin_fin/handles.lin_fin_step; 
+0131 bjump=handles.one_bunch;
+0132 dpaquet=dpaquet*bjump+offset_linac;
+0133 handles.table=int32([length(bunch) dtour dpaquet]);
+0134 handles.table0=handles.table;
+0135 handles.bunch=bunch;
+0136 
+0137 handles.mode = <span class="string">'Mode=???'</span>;
+0138 set(handles.edit_filling_relecture_tables,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0139 set(handles.edit_filling_relecture_bunch,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0140 
+0141 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM ou LPM</span>
+0142 <span class="comment">% Verifie le mode central selectionnÃÂ©  : rafale ou continue</span>
+0143 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets</span>
+0144 <span class="comment">% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz</span>
+0145 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+0146 
+0147 
+0148 <span class="comment">% Choix des events</span>
+0149 handles.event0 =int32(0);
+0150 handles.event00=int32(100);  <span class="comment">%SpÃÂ©ciale EP</span>
+0151 
+0152 <span class="comment">% Cache le tableau des dÃÂ©lais BPM</span>
+0153 set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0154 set(handles.uipanel_kicker_machine,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0155 
+0156 <span class="comment">% text affichage</span>
+0157 handles.txt_inj=  <span class="string">' INJECTION AUTOMATIQUE EN COURS '</span>; <span class="comment">% txt injection auto en cours</span>
+0158 handles.txt_noinj=<span class="string">' INJECTION INTERDITE '</span>;            <span class="comment">% txt injection non autorise (Grp fonctionnement)</span>
+0159 
+0160 <span class="comment">% Publisher - fonctionnement (gere sur injection en boucle)</span>
+0161 tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'mode_auto'</span>,uint8(0))         <span class="comment">% flag injection auto</span>
+0162 tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'courant_consigne'</span>,uint8(0))  <span class="comment">% flag courant consigne atteint</span>
+0163   
+0164 <span class="comment">% tango parser ANS/FC/INJ_COND</span>
+0165 <span class="comment">% temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ');</span>
+0166 <span class="comment">% handles.cond_inj=temp.value;   % 0 no injection,  1 injection</span>
+0167 <span class="comment">% try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection</span>
+0168 <span class="comment">% val=temp.value; catch val=1 ; end ; if val~=0 ; val=1; end;</span>
+0169 <span class="comment">% handles.cond_inj=val;</span>
+0170 
+0171 
+0172 <span class="comment">% Fonction timer pour injection en boucle</span>
+0173 <span class="comment">% Creates timer Infinite loop</span>
+0174 timer2=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0175     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,3,<span class="string">'TasksToExecute'</span>,Inf);
+0176 timer2.TimerFcn = {@<a href="#_sub52" class="code" title="subfunction fonction_alex2(arg1,arg2,hObject,eventdata,handles)">fonction_alex2</a>, hObject,eventdata, handles};
+0177 setappdata(handles.figure1,<span class="string">'Timer2'</span>,timer2);
+0178 
+0179 <span class="comment">% Creates timer Infinite loop</span>
+0180 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0181     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0182 timer1.TimerFcn = {@<a href="#_sub51" class="code" title="subfunction fonction_alex1(arg1,arg2,hObject,eventdata,handles)">fonction_alex1</a>, hObject,eventdata, handles};
+0183 setappdata(handles.figure1,<span class="string">'Timer1'</span>,timer1);
+0184 
+0185 <span class="comment">% button group sur on/off timer du trigger</span>
+0186 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.141 0.37 0.11 0.14],<span class="keyword">...</span>
+0187     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0188     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0189 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0190     <span class="string">'pos'</span>,[05 85 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0191     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0192 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' Laps :'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0193     <span class="string">'pos'</span>,[05 45 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0194     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0195 u3 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' Imin :'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton3'</span>,<span class="keyword">...</span>
+0196     <span class="string">'pos'</span>,[05 05 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0197     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0198 
+0199 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0200     {@<a href="#_sub50" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0201 
+0202 handles.off = u1;
+0203 handles.on1 = u2;
+0204 handles.on2 = u3;
+0205 
+0206 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0207 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0208 
+0209 <span class="comment">%% Set closing gui function</span>
+0210 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub53" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0211 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub53" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer2,handles.figure1});
+0212 
+0213 
+0214 <span class="comment">% Update handles structure</span>
+0215 guidata(hObject, handles);
+0216 
+0217 <span class="comment">% UIWAIT makes synchro_injecteur7_rafale wait for user response (see UIRESUME)</span>
+0218 <span class="comment">% uiwait(handles.figure1);</span>
+0219 
+0220 
+0221 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0222 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur7_rafale_OutputFcn(hObject, eventdata, handles) </a>
+0223 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0224 <span class="comment">% hObject    handle to figure</span>
+0225 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0226 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0227 
+0228 <span class="comment">% Get default command line output from handles structure</span>
+0229 varargout{1} = handles.output;
+0230 
+0231 
+0232 
+0233 <a name="_sub3" href="#_subfunctions" class="code">function boo_alim_dipole_Callback(hObject, eventdata, handles)</a>
+0234 <span class="comment">% hObject    handle to boo_alim_dipole (see GCBO)</span>
+0235 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0236 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0237 
+0238 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_dipole as text</span>
+0239 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_dipole as a double</span>
+0240 <span class="comment">%h=gcf</span>
+0241 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0242 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0243 
+0244 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0245 <a name="_sub4" href="#_subfunctions" class="code">function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)</a>
+0246 <span class="comment">% hObject    handle to boo_alim_dipole (see GCBO)</span>
+0247 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0248 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0249 
+0250 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0251 <span class="comment">%       See ISPC and COMPUTER.</span>
+0252 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0253     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0254 <span class="keyword">end</span>
+0255 
+0256 
+0257 <a name="_sub5" href="#_subfunctions" class="code">function boo_alim_qf_Callback(hObject, eventdata, handles)</a>
+0258 <span class="comment">% hObject    handle to boo_alim_qf (see GCBO)</span>
+0259 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0260 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0261 
+0262 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_qf as text</span>
+0263 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_qf as a double</span>
+0264 
+0265 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0266 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0267 
+0268 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0269 <a name="_sub6" href="#_subfunctions" class="code">function boo_alim_qf_CreateFcn(hObject, eventdata, handles)</a>
+0270 <span class="comment">% hObject    handle to boo_alim_qf (see GCBO)</span>
+0271 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0272 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0273 
+0274 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0275 <span class="comment">%       See ISPC and COMPUTER.</span>
+0276 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0277     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0278 <span class="keyword">end</span>
+0279 
+0280 
+0281 
+0282 <a name="_sub7" href="#_subfunctions" class="code">function boo_alim_qd_Callback(hObject, eventdata, handles)</a>
+0283 <span class="comment">% hObject    handle to boo_alim_qd (see GCBO)</span>
+0284 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0285 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0286 
+0287 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_qd as text</span>
+0288 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_qd as a double</span>
+0289 
+0290 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0291 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0292 
+0293 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0294 <a name="_sub8" href="#_subfunctions" class="code">function boo_alim_qd_CreateFcn(hObject, eventdata, handles)</a>
+0295 <span class="comment">% hObject    handle to boo_alim_qd (see GCBO)</span>
+0296 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0297 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0298 
+0299 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0300 <span class="comment">%       See ISPC and COMPUTER.</span>
+0301 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0302     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0303 <span class="keyword">end</span>
+0304 
+0305 
+0306 
+0307 <a name="_sub9" href="#_subfunctions" class="code">function boo_alim_sf_Callback(hObject, eventdata, handles)</a>
+0308 <span class="comment">% hObject    handle to boo_alim_sf (see GCBO)</span>
+0309 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0310 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0311 
+0312 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_sf as text</span>
+0313 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_sf as a double</span>
+0314 
+0315 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0316 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0317 
+0318 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0319 <a name="_sub10" href="#_subfunctions" class="code">function boo_alim_sf_CreateFcn(hObject, eventdata, handles)</a>
+0320 <span class="comment">% hObject    handle to boo_alim_sf (see GCBO)</span>
+0321 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0322 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0323 
+0324 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0325 <span class="comment">%       See ISPC and COMPUTER.</span>
+0326 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0327     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0328 <span class="keyword">end</span>
+0329 
+0330 
+0331 
+0332 <a name="_sub11" href="#_subfunctions" class="code">function boo_alim_sd_Callback(hObject, eventdata, handles)</a>
+0333 <span class="comment">% hObject    handle to boo_alim_sd (see GCBO)</span>
+0334 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0335 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0336 
+0337 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_sd as text</span>
+0338 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_sd as a double</span>
+0339 
+0340 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0341 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0342 
+0343 
+0344 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0345 <a name="_sub12" href="#_subfunctions" class="code">function boo_alim_sd_CreateFcn(hObject, eventdata, handles)</a>
+0346 <span class="comment">% hObject    handle to boo_alim_sd (see GCBO)</span>
+0347 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0348 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0349 
+0350 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0351 <span class="comment">%       See ISPC and COMPUTER.</span>
+0352 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0353     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0354 <span class="keyword">end</span>
+0355 
+0356 
+0357 
+0358 <a name="_sub13" href="#_subfunctions" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a>
+0359 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0360 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0361 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0362 
+0363 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_rf as text</span>
+0364 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_rf as a double</span>
+0365 
+0366 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0367 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0368 
+0369 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0370 <a name="_sub14" href="#_subfunctions" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a>
+0371 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0372 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0373 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0374 
+0375 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0376 <span class="comment">%       See ISPC and COMPUTER.</span>
+0377 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0378     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0379 <span class="keyword">end</span>
+0380 
+0381 
+0382 
+0383 <a name="_sub15" href="#_subfunctions" class="code">function lin_canon_lpm_Callback(hObject, eventdata, handles)</a>
+0384 <span class="comment">% hObject    handle to lin_canon_lpm (see GCBO)</span>
+0385 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0386 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0387 
+0388 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_lpm as text</span>
+0389 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_lpm as a double</span>
+0390 
+0391 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0392 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0393 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0394 
+0395 
+0396 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0397 <a name="_sub16" href="#_subfunctions" class="code">function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)</a>
+0398 <span class="comment">% hObject    handle to lin_canon_lpm (see GCBO)</span>
+0399 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0400 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0401 
+0402 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0403 <span class="comment">%       See ISPC and COMPUTER.</span>
+0404 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0405     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0406 <span class="keyword">end</span>
+0407 
+0408 
+0409 
+0410 <a name="_sub17" href="#_subfunctions" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a>
+0411 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0412 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0413 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0414 
+0415 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_emittance as text</span>
+0416 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double</span>
+0417 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0418 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0419 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0420 
+0421 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0422 <a name="_sub18" href="#_subfunctions" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a>
+0423 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0424 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0425 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0426 
+0427 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0428 <span class="comment">%       See ISPC and COMPUTER.</span>
+0429 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0430     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0431 <span class="keyword">end</span>
+0432 
+0433 
+0434 
+0435 <a name="_sub19" href="#_subfunctions" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a>
+0436 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0437 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0438 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0439 
+0440 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC1 as text</span>
+0441 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double</span>
+0442 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0443 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0444 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0445 
+0446 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0447 <a name="_sub20" href="#_subfunctions" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a>
+0448 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0449 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0450 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0451 
+0452 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0453 <span class="comment">%       See ISPC and COMPUTER.</span>
+0454 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0455     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0456 <span class="keyword">end</span>
+0457 
+0458 
+0459 
+0460 <a name="_sub21" href="#_subfunctions" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a>
+0461 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0462 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0463 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0464 
+0465 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC2 as text</span>
+0466 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double</span>
+0467 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0468 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0469 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0470 
+0471 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0472 <a name="_sub22" href="#_subfunctions" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a>
+0473 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0474 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0475 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0476 
+0477 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0478 <span class="comment">%       See ISPC and COMPUTER.</span>
+0479 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0480     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0481 <span class="keyword">end</span>
+0482 
+0483 
+0484 
+0485 <a name="_sub23" href="#_subfunctions" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a>
+0486 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0487 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0488 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0489 
+0490 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_osc as text</span>
+0491 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double</span>
+0492 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0493 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0494 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0495 
+0496 
+0497 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0498 <a name="_sub24" href="#_subfunctions" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a>
+0499 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0500 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0501 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0502 
+0503 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0504 <span class="comment">%       See ISPC and COMPUTER.</span>
+0505 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0506     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0507 <span class="keyword">end</span>
+0508 
+0509 
+0510 
+0511 <a name="_sub25" href="#_subfunctions" class="code">function sdc1_Callback(hObject, eventdata, handles)</a>
+0512 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0513 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0514 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0515 
+0516 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc1 as text</span>
+0517 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc1 as a double</span>
+0518 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0519 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0520 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0521 
+0522 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0523 <a name="_sub26" href="#_subfunctions" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a>
+0524 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0525 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0526 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0527 
+0528 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0529 <span class="comment">%       See ISPC and COMPUTER.</span>
+0530 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0531     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0532 <span class="keyword">end</span>
+0533 
+0534 
+0535 
+0536 <a name="_sub27" href="#_subfunctions" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a>
+0537 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0538 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0539 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0540 
+0541 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_septum as text</span>
+0542 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double</span>
+0543 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0544 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0545 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+0546 
+0547 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0548 <a name="_sub28" href="#_subfunctions" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a>
+0549 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0550 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0551 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0552 
+0553 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0554 <span class="comment">%       See ISPC and COMPUTER.</span>
+0555 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0556     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0557 <span class="keyword">end</span>
+0558 
+0559 
+0560 
+0561 <a name="_sub29" href="#_subfunctions" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a>
+0562 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0563 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0564 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0565 
+0566 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text</span>
+0567 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double</span>
+0568 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0569 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0570 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+0571 
+0572 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0573 <a name="_sub30" href="#_subfunctions" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a>
+0574 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0575 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0576 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0577 
+0578 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0579 <span class="comment">%       See ISPC and COMPUTER.</span>
+0580 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0581     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0582 <span class="keyword">end</span>
+0583 
+0584 
+0585 
+0586 <a name="_sub31" href="#_subfunctions" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a>
+0587 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0588 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0589 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0590 
+0591 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_bpm as text</span>
+0592 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double</span>
+0593 
+0594 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0595 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0596 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0597 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0598 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+0599 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+0600 
+0601 
+0602 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0603 <a name="_sub32" href="#_subfunctions" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a>
+0604 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0605 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0606 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0607 
+0608 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0609 <span class="comment">%       See ISPC and COMPUTER.</span>
+0610 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0611     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0612 <span class="keyword">end</span>
+0613 
+0614 
+0615 
+0616 <a name="_sub33" href="#_subfunctions" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a>
+0617 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0618 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0619 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0620 
+0621 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_nod as text</span>
+0622 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_nod as a double</span>
+0623 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0624 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0625 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+0626 
+0627 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0628 <a name="_sub34" href="#_subfunctions" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a>
+0629 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0630 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0631 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0632 
+0633 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0634 <span class="comment">%       See ISPC and COMPUTER.</span>
+0635 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0636     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0637 <span class="keyword">end</span>
+0638 
+0639 
+0640 
+0641 <a name="_sub35" href="#_subfunctions" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a>
+0642 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0643 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0644 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0645 
+0646 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_dcct as text</span>
+0647 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double</span>
+0648 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0649 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0650 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0651 
+0652 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0653 <a name="_sub36" href="#_subfunctions" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a>
+0654 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0655 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0656 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0657 
+0658 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0659 <span class="comment">%       See ISPC and COMPUTER.</span>
+0660 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0661     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0662 <span class="keyword">end</span>
+0663 
+0664 
+0665 
+0666 <a name="_sub37" href="#_subfunctions" class="code">function lin_canon_spm_fin_Callback(hObject, eventdata, handles)</a>
+0667 <span class="comment">% hObject    handle to lin_canon_spm_fin (see GCBO)</span>
+0668 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0669 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0670 
+0671 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_spm_fin as text</span>
+0672 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_spm_fin as a double</span>
+0673 
+0674 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0675 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+0676 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+0677 
+0678 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');</span>
+0679 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+0680 save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0681 
+0682 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0683 <a name="_sub38" href="#_subfunctions" class="code">function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)</a>
+0684 <span class="comment">% hObject    handle to lin_canon_spm_fin (see GCBO)</span>
+0685 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0686 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0687 
+0688 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0689 <span class="comment">%       See ISPC and COMPUTER.</span>
+0690 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0691     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0692 <span class="keyword">end</span>
+0693 
+0694 
+0695 
+0696 <a name="_sub39" href="#_subfunctions" class="code">function central_spare_Callback(hObject, eventdata, handles)</a>
+0697 <span class="comment">% hObject    handle to central_spare (see GCBO)</span>
+0698 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0699 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0700 
+0701 <span class="comment">% Hints: get(hObject,'String') returns contents of central_spare as text</span>
+0702 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_spare as a double</span>
+0703 
+0704 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0705 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>,delay);
+0706 
+0707 <span class="comment">%status soft checked on linac</span>
+0708 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0709 <span class="keyword">if</span> (temp.value(1)==2)
+0710    <span class="comment">%</span>
+0711 <span class="keyword">elseif</span> (temp.value(1)==5)
+0712     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0713     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0714     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+0715     delay=dt.value(1)-dt1.value(1)+inj_offset;
+0716     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0717     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0718     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+0719 <span class="keyword">end</span>
+0720 
+0721 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0722 <a name="_sub40" href="#_subfunctions" class="code">function central_spare_CreateFcn(hObject, eventdata, handles)</a>
+0723 <span class="comment">% hObject    handle to central_spare (see GCBO)</span>
+0724 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0725 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0726 
+0727 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0728 <span class="comment">%       See ISPC and COMPUTER.</span>
+0729 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0730     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0731 <span class="keyword">end</span>
+0732 
+0733 
+0734 
+0735 <a name="_sub41" href="#_subfunctions" class="code">function central_inj_Callback(hObject, eventdata, handles)</a>
+0736 <span class="comment">% hObject    handle to central_inj (see GCBO)</span>
+0737 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0738 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0739 
+0740 <span class="comment">% Hints: get(hObject,'String') returns contents of central_inj as text</span>
+0741 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_inj as a double</span>
+0742 
+0743 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0744 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0745 
+0746 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0747 <a name="_sub42" href="#_subfunctions" class="code">function central_inj_CreateFcn(hObject, eventdata, handles)</a>
+0748 <span class="comment">% hObject    handle to central_inj (see GCBO)</span>
+0749 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0750 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0751 
+0752 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0753 <span class="comment">%       See ISPC and COMPUTER.</span>
+0754 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0755     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0756 <span class="keyword">end</span>
+0757 
+0758 
+0759 
+0760 
+0761 <a name="_sub43" href="#_subfunctions" class="code">function central_soft_Callback(hObject, eventdata, handles)</a>
+0762 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+0763 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0764 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0765 
+0766 <span class="comment">% Hints: get(hObject,'String') returns contents of central_soft as text</span>
+0767 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_soft as a double</span>
+0768 
+0769 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0770 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0771 
+0772 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');</span>
+0773 <span class="comment">% clkinj=int32(temp.value(1)+5*52);</span>
+0774 <span class="comment">% clkext=int32(temp.value(1)/52+10);</span>
+0775 <span class="comment">% tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',clkinj);</span>
+0776 <span class="comment">% tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',clkext);</span>
+0777 <span class="comment">%</span>
+0778 <span class="comment">% %status soft checked on linac</span>
+0779 <span class="comment">% temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent');</span>
+0780 <span class="comment">% if (temp.value(1)==2)</span>
+0781 <span class="comment">%    %</span>
+0782 <span class="comment">% elseif (temp.value(1)==1)</span>
+0783 <span class="comment">%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');</span>
+0784 <span class="comment">%     inj_offset=str2double(get(handles.inj_offset,'String'));</span>
+0785 <span class="comment">%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');</span>
+0786 <span class="comment">%     delay=dt.value(1)-dt1.value(1)+inj_offset;</span>
+0787 <span class="comment">%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+0788 <span class="comment">%     temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');</span>
+0789 <span class="comment">%     set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));</span>
+0790 <span class="comment">% end</span>
+0791 
+0792 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0793 <a name="_sub44" href="#_subfunctions" class="code">function central_soft_CreateFcn(hObject, eventdata, handles)</a>
+0794 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+0795 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0796 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0797 
+0798 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0799 <span class="comment">%       See ISPC and COMPUTER.</span>
+0800 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0801     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0802 <span class="keyword">end</span>
+0803 
+0804 
+0805 <span class="comment">% --- Executes on button press in button_acquisition_nooffset.</span>
+0806 <a name="_sub45" href="#_subfunctions" class="code">function button_acquisition_nooffset_Callback(hObject, eventdata, handles)</a>
+0807 <span class="comment">% hObject    handle to button_acquisition_nooffset (see GCBO)</span>
+0808 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0809 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0810 
+0811 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+0812 
+0813 
+0814 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0815 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0816 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0817 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0818 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0819 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0820 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0821 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0822 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0823 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0824 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0825 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0826 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0827 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0828 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0829 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0830 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0831 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0832 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0833 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0834 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0835 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0836 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0837 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0838 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0839 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0840 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0841 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0842 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0843 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0844 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0845 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0846 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0847 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0848 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0849 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0850 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0851 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0852 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0853 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0854 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0855 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0856 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0857 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0858 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0859 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0860 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0861 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0862 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0863 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0864 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0865 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0866 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0867 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0868 
+0869 <a href="get_synchro_delay_nooffset.html" class="code" title="function get_synchro_delay_nooffset(handles)">get_synchro_delay_nooffset</a>(handles)
+0870 n=1;
+0871 
+0872 <span class="comment">%status soft checked on linac</span>
+0873 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0874 <span class="keyword">if</span> (temp.value(n)==2)
+0875     <span class="comment">%set(handles.soft_button,'Value',0);</span>
+0876 <span class="keyword">elseif</span> (temp.value(n)==5)
+0877     <span class="comment">%set(handles.soft_button,'Value',1);</span>
+0878 <span class="keyword">end</span>
+0879 
+0880 <span class="comment">%status tables</span>
+0881 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+0882 offset=temp.value(1)*52;
+0883 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+0884 n=temp.value;
+0885 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+0886 table=temp.value(1:n)-offset;
+0887 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[<span class="string">'T='</span> , num2str(table)]);  
+0888 
+0889 
+0890 
+0891 <span class="comment">% --- Executes on button press in button_acquisition_delay.</span>
+0892 <a name="_sub46" href="#_subfunctions" class="code">function button_acquisition_delay_Callback(hObject, eventdata, handles)</a>
+0893 <span class="comment">% hObject    handle to button_acquisition_delay (see GCBO)</span>
+0894 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0895 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0896 bug_device=<span class="string">'Bug device'</span>;
+0897 
+0898 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+0899 
+0900 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0901 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0902 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0903 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0904 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0905 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0906 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0907 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0908 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0909 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0910 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0911 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0912 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0913 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0914 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0915 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0916 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0917 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0918 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0919 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0920 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0921 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0922 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0923 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0924 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0925 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0926 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0927 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0928 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0929 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0930 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0931 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0932 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0933 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0934 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0935 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0936 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0937 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0938 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0939 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0940 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0941 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0942 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0943 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0944 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0945 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0946 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0947 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0948 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0949 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0950 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0951 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0952 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0953 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0954 set(handles.ans_k_pc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0955 set(handles.ans_k_h,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0956 set(handles.ans_k_v,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0957 
+0958 
+0959 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');</span>
+0960 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+0961 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0962 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0963 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0964 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+0965 
+0966 <a href="get_synchro_delay.html" class="code" title="function get_synchro_delay(handles)">get_synchro_delay</a>(handles)
+0967 n=1;
+0968 <span class="comment">%status soft checked on linac</span>
+0969 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0970 <span class="keyword">if</span> (temp.value(n)==2)
+0971     <span class="comment">%set(handles.soft_button,'Value',0);</span>
+0972 <span class="keyword">elseif</span> (temp.value(n)==5)
+0973     <span class="comment">%set(handles.uipanel_mode,'String','Mode Soft');</span>
+0974 <span class="keyword">end</span>
+0975 
+0976 <span class="comment">%status tables</span>
+0977 <span class="comment">%temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');</span>
+0978 <span class="comment">%offset=temp.value(1)*52;</span>
+0979 offset_linac=10*lin_fin;
+0980 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+0981 n=temp.value;
+0982 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+0983 table_ext=temp.value(1:n); <span class="comment">%-offset_ext;</span>
+0984 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'LinacDelayTable'</span>);
+0985 table_linac=(temp.value(1:n)-offset_linac)/28;
+0986 table=[];
+0987 <span class="keyword">for</span> i=1:n
+0988     table=[table <span class="string">' '</span> <span class="string">'('</span> num2str([table_ext(i)])  <span class="string">' '</span>  num2str([table_linac(i)]) <span class="string">')'</span>];
+0989 <span class="keyword">end</span>
+0990 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+0991 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,<span class="string">'??'</span>);
+0992 
+0993 
+0994 
+0995 <span class="comment">% --- Executes on button press in button_injection_soft.</span>
+0996 <a name="_sub47" href="#_subfunctions" class="code">function button_injection_soft_Callback(hObject, eventdata, handles)</a>
+0997 <span class="comment">% hObject    handle to button_injection_soft (see GCBO)</span>
+0998 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0999 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1000 
+1001 <span class="comment">% verifie si inj autorisÃ©</span>
+1002 <span class="comment">% try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection</span>
+1003 <span class="comment">% val=temp.value; catch val=1 ; end ; if val~=0 ; val=1; end;</span>
+1004 <span class="comment">%</span>
+1005 <span class="comment">% if (val==1)</span>
+1006 <span class="comment">%</span>
+1007 <span class="comment">%     tic</span>
+1008 <span class="comment">%    [r1,r2]=fire_injection(handles);</span>
+1009 <span class="comment">%     toc</span>
+1010 <span class="comment">% else</span>
+1011 <span class="comment">%     % pas d'injection, tir non autorise</span>
+1012 <span class="comment">%     fprintf('%s\n','Gap U20  &lt; limite    dans ANS/EI/GAP_U20_SECURITY');</span>
+1013 <span class="comment">% end</span>
+1014 
+1015 [r1,r2]=<a href="fire_injection.html" class="code" title="function [r1,r2]=fire_injection(handles)">fire_injection</a>(handles);
+1016 
+1017 <span class="comment">% check synchro booster</span>
+1018 <span class="comment">%flag=0 : OK</span>
+1019 <span class="comment">%falg=1 : mauvais delais</span>
+1020 [flag]=<a href="check_boo_synchro.html" class="code" title="function [flag]=check_boo_synchro">check_boo_synchro</a>;
+1021 <span class="keyword">if</span> flag==1 &amp;&amp; r1&gt; 20
+1022     set(handles.central_inj,<span class="string">'Backgroundcolor'</span>, [1 0 0]); <span class="comment">% KO</span>
+1023 <span class="keyword">else</span>
+1024     set(handles.central_inj,<span class="string">'Backgroundcolor'</span>, [1 1 1]); <span class="comment">% OK</span>
+1025 <span class="keyword">end</span>
+1026 
+1027 <span class="comment">% % Warning mauvais rendement booster</span>
+1028 <span class="comment">% if r1 &lt; 90</span>
+1029 <span class="comment">%     set(handles.edit_rboo,'Backgroundcolor', [1 0 0]); % KO</span>
+1030 <span class="comment">%     set(handles.edit_rboo,'Foregroundcolor', [0 0 0]);</span>
+1031 <span class="comment">% else</span>
+1032 <span class="comment">%     set(handles.edit_rboo,'Backgroundcolor', [1 1 1]); % OK</span>
+1033 <span class="comment">%     set(handles.edit_rboo,'Foregroundcolor', [1 0 0]);</span>
+1034 <span class="comment">% end</span>
+1035 
+1036 <span class="comment">%</span>
+1037 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+1038 
+1039 <a name="_sub48" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+1040 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1041 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1042 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1043 
+1044 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+1045 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+1046 
+1047 val_multishot = get(handles.on1,<span class="string">'Value'</span>);
+1048 
+1049 <span class="keyword">if</span> val_multishot
+1050     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+1051     <span class="keyword">return</span>
+1052 <span class="keyword">else</span>
+1053     periode = str2double(get(hObject,<span class="string">'String'</span>));
+1054 
+1055     <span class="comment">% change timer Infinite loop</span>
+1056     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+1057         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,periode,<span class="string">'TasksToExecute'</span>,Inf);
+1058     timer1.TimerFcn = {@<a href="#_sub51" class="code" title="subfunction fonction_alex1(arg1,arg2,hObject,eventdata,handles)">fonction_alex1</a>, hObject,eventdata, handles};
+1059     setappdata(handles.figure1,<span class="string">'Timer1'</span>,timer1);
+1060 
+1061     <span class="comment">% Update handles structure</span>
+1062     guidata(hObject, handles);
+1063     
+1064     <span class="comment">%getappdata(handles.figure1,'Timer1')</span>
+1065     
+1066 <span class="keyword">end</span>
+1067 
+1068 
+1069 
+1070 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1071 <a name="_sub49" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+1072 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1073 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1074 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1075 
+1076 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1077 <span class="comment">%       See ISPC and COMPUTER.</span>
+1078 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1079     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1080 <span class="keyword">end</span>
+1081 
+1082 <a name="_sub50" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+1083 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1084 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1085 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1086 
+1087 <span class="comment">%handles = guidata(gcbo);</span>
+1088 timer1 = getappdata(handles.figure1,<span class="string">'Timer1'</span>);
+1089 timer2 = getappdata(handles.figure1,<span class="string">'Timer2'</span>);
+1090 
+1091 <span class="comment">%txt1=' INJECTION EN COURS ';</span>
+1092 
+1093 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+1094     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+1095         <span class="comment">% stop du trigger</span>
+1096         stop(timer1);
+1097         stop(timer2);
+1098         set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 0]);
+1099         <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+1100         tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'mode_auto'</span>,uint8(0))
+1101         tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'courant_consigne'</span>,uint8(0))
+1102     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+1103         <span class="comment">% dÃÂ©marrage  du trigger 1</span>
+1104         start(timer1);
+1105         set(handles.edit_modes,<span class="string">'String'</span>,handles.txt_inj);
+1106         tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'mode_auto'</span>,uint8(1))
+1107     <span class="keyword">case</span> <span class="string">'radiobutton3'</span>
+1108         <span class="comment">% dÃÂ©marrage du trigger 2</span>
+1109         temp=tango_read_attribute2(<span class="string">'ANS/DG/DCCT-CTRL'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1110         <span class="keyword">if</span> (anscur&gt;1.) 
+1111            start(timer2);      
+1112            set(handles.edit_modes,<span class="string">'String'</span>,handles.txt_inj);
+1113            tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'mode_auto'</span>,uint8(1)) 
+1114         <span class="keyword">else</span>
+1115             <span class="comment">% ne fait rien, en cas de perte faisceau</span>
+1116         <span class="keyword">end</span>
+1117 <span class="keyword">end</span>
+1118 
+1119 
+1120 <a name="_sub51" href="#_subfunctions" class="code">function fonction_alex1(arg1,arg2,hObject,eventdata,handles)</a>
+1121 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1122 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1123 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1124 
+1125 color=get(handles.uipanel6,<span class="string">'Backgroundcolor'</span>);
+1126 <span class="keyword">if</span> color==[1 0.3 0]
+1127     set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 1]);
+1128 <span class="keyword">elseif</span> color==[1 0.3 1]
+1129     set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 0]);
+1130 <span class="keyword">end</span>
+1131 
+1132 <a href="#_sub47" class="code" title="subfunction button_injection_soft_Callback(hObject, eventdata, handles)">button_injection_soft_Callback</a>(hObject,eventdata,handles)
+1133 
+1134 
+1135 <a name="_sub52" href="#_subfunctions" class="code">function fonction_alex2(arg1,arg2,hObject,eventdata,handles)</a>
+1136 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1137 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1138 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1139 
+1140 
+1141 temp=tango_read_attribute2(<span class="string">'ANS/DG/DCCT-CTRL'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1142 set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1143 Imin=str2double(get(handles.edit_Imin,<span class="string">'String'</span>));
+1144 
+1145 color=get(handles.uipanel6,<span class="string">'Backgroundcolor'</span>);
+1146 <span class="keyword">if</span> color==[1 0.3 0]
+1147     set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 1]);
+1148 <span class="keyword">elseif</span> color==[1 0.3 1]
+1149     set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 0]);
+1150 <span class="keyword">end</span>
+1151 
+1152 
+1153 <span class="keyword">if</span>     (anscur&gt;Imin)
+1154     <span class="comment">%on attend</span>
+1155     <span class="comment">%fprintf('Cur = %g \n',anscur)</span>
+1156     tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'courant_consigne'</span>,uint8(1))
+1157 <span class="keyword">else</span>
+1158     <span class="comment">%inject le cycle en cours</span>
+1159     <span class="comment">%fprintf('Cur = %g : Injection \n',anscur)</span>
+1160     <span class="comment">%set(handles.uipanel6,'Backgroundcolor', [1 1 0]);</span>
+1161     <a href="#_sub47" class="code" title="subfunction button_injection_soft_Callback(hObject, eventdata, handles)">button_injection_soft_Callback</a>(hObject, eventdata, handles)
+1162 <span class="keyword">end</span>
+1163 
+1164 
+1165 
+1166 <span class="comment">%% What to do before closing the application</span>
+1167 <a name="_sub53" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+1168 
+1169 <span class="comment">% Get default command line output from handles structure</span>
+1170 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+1171     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+1172     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+1173 
+1174 <span class="keyword">switch</span> answer
+1175     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+1176         delete(handles); <span class="comment">%Delete Timer</span>
+1177         delete(figure1); <span class="comment">%Close gui</span>
+1178     <span class="keyword">otherwise</span>
+1179         disp(<span class="string">'Closing aborted'</span>)
+1180 <span class="keyword">end</span>
+1181 
+1182 
+1183 
+1184 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+1185 <a name="_sub54" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+1186 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+1187 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1188 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1189 tt=0.6;
+1190 
+1191 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1192 step=temp.value(1)-52;
+1193 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,step);
+1194 pause(2*tt)
+1195 
+1196 <span class="comment">%status soft checked on linac</span>
+1197 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+1198 <span class="keyword">if</span> (temp.value(1)==2)
+1199     pause(tt)
+1200     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1201     set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1202 <span class="keyword">elseif</span> (temp.value(1)==5)
+1203     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1204     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1205     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+1206     delay=dt.value(1)-dt1.value(1)+inj_offset;
+1207     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1208 
+1209     pause(tt)
+1210     <span class="comment">% read again for possible delay</span>
+1211     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1212     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1213     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1214     set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1215 <span class="keyword">end</span>
+1216 
+1217 
+1218 
+1219 <span class="comment">% --- Executes on button press in button_softplus.</span>
+1220 <a name="_sub55" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+1221 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+1222 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1223 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1224 tt=0.6;
+1225 
+1226 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1227 step=temp.value(1)+52;
+1228 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,step);
+1229 pause(2*tt)
+1230 
+1231 <span class="comment">%status soft checked on linac</span>
+1232 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+1233 <span class="keyword">if</span> (temp.value(1)==2)
+1234     pause(tt)
+1235     <span class="comment">% read again for possible delay</span>
+1236     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1237     set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1238 <span class="keyword">elseif</span> (temp.value(1)==5)
+1239     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1240     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1241     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+1242     delay=dt.value(1)-dt1.value(1)+inj_offset;
+1243     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1244 
+1245     pause(tt)
+1246     <span class="comment">% read again for possible delay</span>
+1247     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1248     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1249     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1250     set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1251 <span class="keyword">end</span>
+1252 
+1253 
+1254 
+1255 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+1256 <a name="_sub56" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+1257 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+1258 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1259 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1260 tt=0.6;
+1261 
+1262 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>);
+1263 step=temp.value(1)-52;
+1264 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,step);
+1265 pause(2*tt)
+1266 
+1267 <span class="comment">%status soft checked on linac</span>
+1268 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+1269 <span class="keyword">if</span> (temp.value(1)==5)
+1270     pause(tt)
+1271     <span class="comment">% read again for possible delay</span>
+1272     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1273     set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1274 <span class="keyword">elseif</span> (temp.value(1)==2)
+1275 <span class="comment">%    commented With address spare = 2</span>
+1276 <span class="comment">%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');</span>
+1277 <span class="comment">%     inj_offset=str2double(get(handles.inj_offset,'String'));</span>
+1278 <span class="comment">%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');</span>
+1279 <span class="comment">%     delay=dt.value(1)-dt1.value(1)+inj_offset;</span>
+1280 <span class="comment">%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+1281 <span class="comment">%</span>
+1282 <span class="comment">%     pause(tt)</span>
+1283 <span class="comment">%     % read again for possible delay</span>
+1284 <span class="comment">%     temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');</span>
+1285 <span class="comment">%     set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));</span>
+1286      temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1287      set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1288 <span class="keyword">end</span>
+1289 
+1290 
+1291 <span class="comment">% --- Executes on button press in button_injplus.</span>
+1292 <a name="_sub57" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+1293 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+1294 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1295 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1296 tt=0.6;
+1297 
+1298 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>);
+1299 step=temp.value(1)+52;
+1300 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,step);
+1301 pause(2*tt)
+1302 
+1303 <span class="comment">%status soft checked on linac</span>
+1304 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+1305 <span class="keyword">if</span> (temp.value(1)==5)
+1306     pause(tt)
+1307     <span class="comment">% read again for possible delay</span>
+1308     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1309     set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1310 <span class="keyword">elseif</span> (temp.value(1)==2)
+1311 <span class="comment">%    commented With address spare = 2</span>
+1312 <span class="comment">%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');</span>
+1313 <span class="comment">%     inj_offset=str2double(get(handles.inj_offset,'String'));</span>
+1314 <span class="comment">%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');</span>
+1315 <span class="comment">%     delay=dt.value(1)-dt1.value(1)+inj_offset;</span>
+1316 <span class="comment">%     tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+1317 <span class="comment">%</span>
+1318 <span class="comment">%     pause(tt)</span>
+1319 <span class="comment">%     % read again for possible delay</span>
+1320 <span class="comment">%     temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay');</span>
+1321 <span class="comment">%     set(handles.lin_modulateur,'String',num2str(temp.value(1)-inj_offset));</span>
+1322      temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1323      set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1324 <span class="keyword">end</span>
+1325 
+1326 
+1327 
+1328 
+1329 
+1330 
+1331 <a name="_sub58" href="#_subfunctions" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a>
+1332 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1333 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1334 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1335 
+1336 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text</span>
+1337 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double</span>
+1338 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1339 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1340 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1341 
+1342 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1343 <a name="_sub59" href="#_subfunctions" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1344 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1345 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1346 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1347 
+1348 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1349 <span class="comment">%       See ISPC and COMPUTER.</span>
+1350 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1351     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1352 <span class="keyword">end</span>
+1353 
+1354 
+1355 <a name="_sub60" href="#_subfunctions" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a>
+1356 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1357 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1358 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1359 
+1360 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_dof as text</span>
+1361 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double</span>
+1362 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1363 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1364 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1365 
+1366 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1367 <a name="_sub61" href="#_subfunctions" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a>
+1368 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1369 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1370 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1371 
+1372 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1373 <span class="comment">%       See ISPC and COMPUTER.</span>
+1374 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1375     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1376 <span class="keyword">end</span>
+1377 
+1378 
+1379 <a name="_sub62" href="#_subfunctions" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a>
+1380 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1381 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1382 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1383 
+1384 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text</span>
+1385 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double</span>
+1386 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1387 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1388 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1389 
+1390 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1391 <a name="_sub63" href="#_subfunctions" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1392 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1393 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1394 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1395 
+1396 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1397 <span class="comment">%       See ISPC and COMPUTER.</span>
+1398 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1399     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1400 <span class="keyword">end</span>
+1401 
+1402 
+1403 
+1404 <a name="_sub64" href="#_subfunctions" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a>
+1405 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1406 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1407 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1408 
+1409 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text</span>
+1410 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double</span>
+1411 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1412 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1413 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1414 
+1415 
+1416 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1417 <a name="_sub65" href="#_subfunctions" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a>
+1418 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1419 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1420 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1421 
+1422 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1423 <span class="comment">%       See ISPC and COMPUTER.</span>
+1424 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1425     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1426 <span class="keyword">end</span>
+1427 
+1428 
+1429 
+1430 <a name="_sub66" href="#_subfunctions" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a>
+1431 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1432 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1433 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1434 
+1435 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text</span>
+1436 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double</span>
+1437 
+1438 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1439 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1440 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1441 
+1442 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1443 <a name="_sub67" href="#_subfunctions" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1444 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1445 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1446 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1447 
+1448 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1449 <span class="comment">%       See ISPC and COMPUTER.</span>
+1450 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1451     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1452 <span class="keyword">end</span>
+1453 
+1454 
+1455 
+1456 <a name="_sub68" href="#_subfunctions" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a>
+1457 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1458 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1459 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1460 
+1461 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text</span>
+1462 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double</span>
+1463 
+1464 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1465 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1466 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1467 
+1468 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1469 <a name="_sub69" href="#_subfunctions" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1470 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1471 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1472 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1473 
+1474 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1475 <span class="comment">%       See ISPC and COMPUTER.</span>
+1476 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1477     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1478 <span class="keyword">end</span>
+1479 
+1480 
+1481 
+1482 <a name="_sub70" href="#_subfunctions" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a>
+1483 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1484 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1485 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1486 
+1487 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text</span>
+1488 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double</span>
+1489 
+1490 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1491 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1492 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+1493 
+1494 
+1495 
+1496 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1497 <a name="_sub71" href="#_subfunctions" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a>
+1498 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1499 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1500 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1501 
+1502 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1503 <span class="comment">%       See ISPC and COMPUTER.</span>
+1504 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1505     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1506 <span class="keyword">end</span>
+1507 
+1508 
+1509 
+1510 <a name="_sub72" href="#_subfunctions" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a>
+1511 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1512 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1513 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1514 
+1515 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text</span>
+1516 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double</span>
+1517 
+1518 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1519 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1520 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+1521 
+1522 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1523 <a name="_sub73" href="#_subfunctions" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a>
+1524 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1525 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1526 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1527 
+1528 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1529 <span class="comment">%       See ISPC and COMPUTER.</span>
+1530 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1531     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1532 <span class="keyword">end</span>
+1533 
+1534 
+1535 
+1536 <a name="_sub74" href="#_subfunctions" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a>
+1537 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1538 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1539 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1540 
+1541 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text</span>
+1542 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double</span>
+1543 
+1544 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1545 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1546 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+1547 
+1548 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1549 <a name="_sub75" href="#_subfunctions" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a>
+1550 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1551 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1552 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1553 
+1554 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1555 <span class="comment">%       See ISPC and COMPUTER.</span>
+1556 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1557     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1558 <span class="keyword">end</span>
+1559 
+1560 
+1561 
+1562 <a name="_sub76" href="#_subfunctions" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a>
+1563 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1564 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1565 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1566 
+1567 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text</span>
+1568 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double</span>
+1569 
+1570 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1571 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1572 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+1573 
+1574 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1575 <a name="_sub77" href="#_subfunctions" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a>
+1576 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1577 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1578 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1579 
+1580 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1581 <span class="comment">%       See ISPC and COMPUTER.</span>
+1582 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1583     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1584 <span class="keyword">end</span>
+1585 
+1586 
+1587 
+1588 <a name="_sub78" href="#_subfunctions" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a>
+1589 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1590 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1591 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1592 
+1593 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_dcct as text</span>
+1594 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double</span>
+1595 
+1596 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1597 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1598 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,delay);
+1599 
+1600 
+1601 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1602 <a name="_sub79" href="#_subfunctions" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a>
+1603 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1604 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1605 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1606 
+1607 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1608 <span class="comment">%       See ISPC and COMPUTER.</span>
+1609 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1610     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1611 <span class="keyword">end</span>
+1612 
+1613 
+1614 
+1615 <a name="_sub80" href="#_subfunctions" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a>
+1616 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1617 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1618 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1619 
+1620 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm as text</span>
+1621 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double</span>
+1622 
+1623 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1624 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1625 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1626 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1627 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1628 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1629 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1630 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1631 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1632 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1633 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1634 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1635 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1636 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1637 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1638 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1639 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1640 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1641 
+1642 
+1643 
+1644 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1645 <a name="_sub81" href="#_subfunctions" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1646 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1647 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1648 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1649 
+1650 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1651 <span class="comment">%       See ISPC and COMPUTER.</span>
+1652 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1653     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1654 <span class="keyword">end</span>
+1655 
+1656 
+1657 
+1658 <a name="_sub82" href="#_subfunctions" class="code">function central_ext_Callback(hObject, eventdata, handles)</a>
+1659 <span class="comment">% hObject    handle to central_ext (see GCBO)</span>
+1660 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1661 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1662 
+1663 <span class="comment">% Hints: get(hObject,'String') returns contents of central_ext as text</span>
+1664 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_ext as a double</span>
+1665 <span class="comment">%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'</span>
+1666 
+1667 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1668 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,delay);
+1669 
+1670 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1671 <a name="_sub83" href="#_subfunctions" class="code">function central_ext_CreateFcn(hObject, eventdata, handles)</a>
+1672 <span class="comment">% hObject    handle to central_ext (see GCBO)</span>
+1673 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1674 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1675 
+1676 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1677 <span class="comment">%       See ISPC and COMPUTER.</span>
+1678 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1679     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1680 <span class="keyword">end</span>
+1681 
+1682 
+1683 
+1684 <a name="_sub84" href="#_subfunctions" class="code">function central_soft1_Callback(hObject, eventdata, handles)</a>
+1685 <span class="comment">% hObject    handle to central_soft1 (see GCBO)</span>
+1686 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1687 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1688 
+1689 <span class="comment">% Hints: get(hObject,'String') returns contents of central_soft1 as text</span>
+1690 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_soft1 as a double</span>
+1691 
+1692 
+1693 
+1694 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1695 <a name="_sub85" href="#_subfunctions" class="code">function central_soft1_CreateFcn(hObject, eventdata, handles)</a>
+1696 <span class="comment">% hObject    handle to central_soft1 (see GCBO)</span>
+1697 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1698 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1699 
+1700 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1701 <span class="comment">%       See ISPC and COMPUTER.</span>
+1702 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1703     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1704 <span class="keyword">end</span>
+1705 
+1706 
+1707 <span class="comment">% --- Executes on button press in button_extmoins.</span>
+1708 <a name="_sub86" href="#_subfunctions" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a>
+1709 <span class="comment">% hObject    handle to button_extmoins (see GCBO)</span>
+1710 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1711 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1712 
+1713 dclk=10;
+1714 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1715 step=temp.value(1)-dclk;
+1716 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,int32(step));
+1717 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1718 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(1)));
+1719 
+1720 <span class="comment">% on fait suivre les septa actif</span>
+1721 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>);boo=temp.value(1);
+1722 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>,double(boo-dclk*52*184/2));
+1723 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>);ans=temp.value(1);
+1724 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>,double(ans-dclk*52*184/2))
+1725 
+1726 <span class="comment">% --- Executes on button press in button_extplus.</span>
+1727 <a name="_sub87" href="#_subfunctions" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a>
+1728 <span class="comment">% hObject    handle to button_extplus (see GCBO)</span>
+1729 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1730 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1731 
+1732 dclk=10;
+1733 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1734 step=temp.value(1)+dclk;
+1735 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,int32(step));
+1736 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1737 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(1)));
+1738 
+1739 <span class="comment">% on fait suivre les septa actif</span>
+1740 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>);boo=temp.value(1);
+1741 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>,double(boo+dclk*52*184/2));
+1742 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>);ans=temp.value(1);
+1743 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>,double(ans+dclk*52*184/2))
+1744 
+1745 <a name="_sub88" href="#_subfunctions" class="code">function sdc2_Callback(hObject, eventdata, handles)</a>
+1746 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1747 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1748 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1749 
+1750 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc2 as text</span>
+1751 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc2 as a double</span>
+1752 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1753 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1754 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1755 
+1756 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1757 <a name="_sub89" href="#_subfunctions" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a>
+1758 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1759 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1760 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1761 
+1762 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1763 <span class="comment">%       See ISPC and COMPUTER.</span>
+1764 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1765     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1766 <span class="keyword">end</span>
+1767 
+1768 
+1769 
+1770 <a name="_sub90" href="#_subfunctions" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a>
+1771 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1772 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1773 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1774 
+1775 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_emittance as text</span>
+1776 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double</span>
+1777 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1778 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1779 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+1780 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1781 
+1782 
+1783 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1784 <a name="_sub91" href="#_subfunctions" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a>
+1785 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1786 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1787 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1788 
+1789 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1790 <span class="comment">%       See ISPC and COMPUTER.</span>
+1791 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1792     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1793 <span class="keyword">end</span>
+1794 
+1795 
+1796 
+1797 <a name="_sub92" href="#_subfunctions" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a>
+1798 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1799 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1800 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1801 
+1802 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_bpm as text</span>
+1803 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double</span>
+1804 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1805 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1806 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1807 
+1808 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1809 <a name="_sub93" href="#_subfunctions" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1810 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1811 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1812 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1813 
+1814 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1815 <span class="comment">%       See ISPC and COMPUTER.</span>
+1816 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1817     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1818 <span class="keyword">end</span>
+1819 
+1820 
+1821 
+1822 <a name="_sub94" href="#_subfunctions" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a>
+1823 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+1824 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1825 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1826 
+1827 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_osc as text</span>
+1828 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double</span>
+1829 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1830 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1831 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+1832 
+1833 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1834 <a name="_sub95" href="#_subfunctions" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a>
+1835 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+1836 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1837 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1838 
+1839 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1840 <span class="comment">%       See ISPC and COMPUTER.</span>
+1841 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1842     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1843 <span class="keyword">end</span>
+1844 
+1845 
+1846 
+1847 <a name="_sub96" href="#_subfunctions" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a>
+1848 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+1849 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1850 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1851 
+1852 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_modulateur as text</span>
+1853 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_modulateur as a double</span>
+1854 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1855 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+1856 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1857 
+1858 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1859 <a name="_sub97" href="#_subfunctions" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a>
+1860 <span class="comment">% hObject    handle to lin_modulateur (see GCBO)</span>
+1861 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1862 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1863 
+1864 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1865 <span class="comment">%       See ISPC and COMPUTER.</span>
+1866 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1867     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1868 <span class="keyword">end</span>
+1869 
+1870 
+1871 
+1872 <a name="_sub98" href="#_subfunctions" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a>
+1873 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+1874 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1875 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1876 
+1877 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_offset as text</span>
+1878 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_offset as a double</span>
+1879 
+1880 inj_offset=str2double(get(hObject,<span class="string">'String'</span>));
+1881 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1882 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+1883 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');</span>
+1884 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+1885 save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>)
+1886 
+1887 <span class="comment">%LIN</span>
+1888 delay=str2double(get(handles.lin_canon_lpm,<span class="string">'String'</span>))+inj_offset;
+1889 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+1890 
+1891 delay=str2double(get(handles.lin_canon_spm,<span class="string">'String'</span>))+inj_offset;
+1892 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>,delay);
+1893 
+1894 delay=str2double(get(handles.lin_modulateur,<span class="string">'String'</span>))+inj_offset;
+1895 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1896 
+1897 delay=str2double(get(handles.sdc1,<span class="string">'String'</span>))+inj_offset;
+1898 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+1899 
+1900 
+1901 <span class="comment">% LT1</span>
+1902 delay=str2double(get(handles.lt1_MC2,<span class="string">'String'</span>))+inj_offset;
+1903 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+1904 
+1905 delay=str2double(get(handles.lt1_MC1,<span class="string">'String'</span>))+inj_offset;
+1906 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+1907 
+1908 delay=str2double(get(handles.lt1_emittance,<span class="string">'String'</span>))+inj_offset;
+1909 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1910 
+1911 delay=str2double(get(handles.lt1_osc,<span class="string">'String'</span>))+inj_offset;
+1912 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+1913 
+1914 
+1915 <span class="comment">% BOO</span>
+1916 delay=str2double(get(handles.boo_inj_septum,<span class="string">'String'</span>))+inj_offset;
+1917 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1918 
+1919 delay=str2double(get(handles.boo_inj_kicker,<span class="string">'String'</span>))+inj_offset;
+1920 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1921 
+1922 delay=str2double(get(handles.boo_bpm,<span class="string">'String'</span>))+inj_offset;
+1923 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+1924 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+1925 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+1926 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+1927 
+1928 
+1929 delay=str2double(get(handles.boo_nod,<span class="string">'String'</span>))+inj_offset;
+1930 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+1931 
+1932 <span class="comment">% delay=str2double(get(handles.boo_dcct,'String'))+inj_offset;</span>
+1933 <span class="comment">% tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',delay);</span>
+1934 
+1935 
+1936 
+1937 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1938 <a name="_sub99" href="#_subfunctions" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a>
+1939 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+1940 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1941 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1942 
+1943 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1944 <span class="comment">%       See ISPC and COMPUTER.</span>
+1945 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1946     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1947 <span class="keyword">end</span>
+1948 
+1949 
+1950 
+1951 <a name="_sub100" href="#_subfunctions" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a>
+1952 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+1953 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1954 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1955 
+1956 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_offset as text</span>
+1957 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_offset as a double</span>
+1958 
+1959 ext_offset=str2double(get(hObject,<span class="string">'String'</span>));
+1960 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1961 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+1962 
+1963 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');</span>
+1964 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+1965 save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+1966 
+1967 
+1968 <span class="comment">%BOO</span>
+1969 delay=str2double(get(handles.boo_ext_dof,<span class="string">'String'</span>))+ext_offset;
+1970 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1971 
+1972 delay=str2double(get(handles.boo_ext_sept_p,<span class="string">'String'</span>))+ext_offset;
+1973 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1974 
+1975 delay=str2double(get(handles.boo_ext_sept_a,<span class="string">'String'</span>))+ext_offset;
+1976 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1977 
+1978 delay=str2double(get(handles.boo_ext_kicker,<span class="string">'String'</span>))+ext_offset;
+1979 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1980 
+1981 delay=str2double(get(handles.sdc2,<span class="string">'String'</span>))+ext_offset;
+1982 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1983 
+1984 <span class="comment">%LT2</span>
+1985 delay=str2double(get(handles.lt2_bpm,<span class="string">'String'</span>))+ext_offset;
+1986 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1987 
+1988 delay=str2double(get(handles.lt2_osc,<span class="string">'String'</span>))+ext_offset;
+1989 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+1990 
+1991 delay=str2double(get(handles.lt2_emittance,<span class="string">'String'</span>))+ext_offset;
+1992 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+1993 
+1994 <span class="comment">%ANS</span>
+1995 
+1996 delay=str2double(get(handles.ans_inj_sept_a,<span class="string">'String'</span>))+ext_offset;
+1997 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1998 
+1999 delay=str2double(get(handles.ans_inj_sept_p,<span class="string">'String'</span>))+ext_offset;
+2000 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2001 
+2002 delay=str2double(get(handles.ans_inj_k1,<span class="string">'String'</span>))+ext_offset;
+2003 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+2004 
+2005 delay=str2double(get(handles.ans_inj_k2,<span class="string">'String'</span>))+ext_offset;
+2006 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+2007 
+2008 delay=str2double(get(handles.ans_inj_k3,<span class="string">'String'</span>))+ext_offset;
+2009 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+2010 
+2011 delay=str2double(get(handles.ans_inj_k4,<span class="string">'String'</span>))+ext_offset;
+2012 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+2013 
+2014 
+2015 
+2016 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2017 <a name="_sub101" href="#_subfunctions" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a>
+2018 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2019 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2020 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2021 
+2022 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2023 <span class="comment">%       See ISPC and COMPUTER.</span>
+2024 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2025     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2026 <span class="keyword">end</span>
+2027 
+2028 
+2029 <span class="comment">% --- Executes on button press in button_acquisition_address.</span>
+2030 <a name="_sub102" href="#_subfunctions" class="code">function button_acquisition_address_Callback(hObject, eventdata, handles)</a>
+2031 <span class="comment">% hObject    handle to button_acquisition_address (see GCBO)</span>
+2032 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2033 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2034 
+2035 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+2036 
+2037 
+2038 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2039 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2040 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2041 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2042 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2043 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2044 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2045 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2046 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2047 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2048 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2049 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2050 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2051 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2052 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2053 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2054 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2055 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2056 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2057 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2058 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2059 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2060 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2061 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2062 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2063 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2064 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2065 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2066 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2067 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2068 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2069 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2070 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2071 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2072 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2073 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2074 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2075 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2076 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2077 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2078 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2079 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2080 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2081 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2082 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2083 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2084 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2085 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2086 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2087 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2088 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2089 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2090 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2091 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2092 
+2093 
+2094 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin');</span>
+2095 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+2096 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+2097 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+2098 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+2099 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+2100 
+2101 <a href="get_synchro_address.html" class="code" title="function get_synchro_address(handles)">get_synchro_address</a>(handles)
+2102 
+2103 
+2104 <span class="comment">% --- Executes on button press in button_offinj_moins.</span>
+2105 <a name="_sub103" href="#_subfunctions" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a>
+2106 <span class="comment">% hObject    handle to button_offinj_moins (see GCBO)</span>
+2107 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2108 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2109 
+2110 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2111 step=temp-52*0.52243;
+2112 set(handles.inj_offset,<span class="string">'String'</span>,step);
+2113 <a href="#_sub98" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2114 
+2115 <span class="comment">% --- Executes on button press in button_offinj_plus.</span>
+2116 <a name="_sub104" href="#_subfunctions" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a>
+2117 <span class="comment">% hObject    handle to button_offinj_plus (see GCBO)</span>
+2118 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2119 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2120 
+2121 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2122 step=temp+52*0.52243;
+2123 set(handles.inj_offset,<span class="string">'String'</span>,step);
+2124 <a href="#_sub98" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2125 
+2126 <span class="comment">% --- Executes on button press in button_offext_moins.</span>
+2127 <a name="_sub105" href="#_subfunctions" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a>
+2128 <span class="comment">% hObject    handle to button_offext_moins (see GCBO)</span>
+2129 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2130 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2131 
+2132 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2133 step=temp-52*0.52243;
+2134 set(handles.ext_offset,<span class="string">'String'</span>,step);
+2135 <a href="#_sub100" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2136 
+2137 <span class="comment">% --- Executes on button press in button_offext_plus.</span>
+2138 <a name="_sub106" href="#_subfunctions" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a>
+2139 <span class="comment">% hObject    handle to button_offext_plus (see GCBO)</span>
+2140 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2141 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2142 
+2143 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2144 step=temp+52*0.52243;
+2145 set(handles.ext_offset,<span class="string">'String'</span>,step);
+2146 <a href="#_sub100" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2147 
+2148 
+2149 <span class="comment">% --- Executes on button press in button_bpm.</span>
+2150 <a name="_sub107" href="#_subfunctions" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a>
+2151 <span class="comment">% hObject    handle to button_bpm (see GCBO)</span>
+2152 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2153 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2154 
+2155 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_bpm</span>
+2156 
+2157 bpm=get(hObject,<span class="string">'Value'</span>);
+2158 
+2159 <span class="keyword">if</span> (bpm==0)
+2160    set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+2161 <span class="keyword">elseif</span> (bpm==1)
+2162     set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+2163 <span class="keyword">end</span>
+2164 
+2165 
+2166 
+2167 <a name="_sub108" href="#_subfunctions" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a>
+2168 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2169 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2170 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2171 
+2172 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text</span>
+2173 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double</span>
+2174 
+2175 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2176 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2177 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2178 
+2179 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2180 <a name="_sub109" href="#_subfunctions" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a>
+2181 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2182 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2183 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2184 
+2185 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2186 <span class="comment">%       See ISPC and COMPUTER.</span>
+2187 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2188     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2189 <span class="keyword">end</span>
+2190 
+2191 
+2192 <a name="_sub110" href="#_subfunctions" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a>
+2193 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2194 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2195 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2196 
+2197 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text</span>
+2198 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double</span>
+2199 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2200 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2201 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2202 
+2203 
+2204 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2205 <a name="_sub111" href="#_subfunctions" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a>
+2206 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2207 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2208 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2209 
+2210 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2211 <span class="comment">%       See ISPC and COMPUTER.</span>
+2212 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2213     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2214 <span class="keyword">end</span>
+2215 
+2216 
+2217 
+2218 <a name="_sub112" href="#_subfunctions" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a>
+2219 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2220 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2221 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2222 
+2223 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text</span>
+2224 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double</span>
+2225 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2226 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2227 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2228 
+2229 
+2230 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2231 <a name="_sub113" href="#_subfunctions" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a>
+2232 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2233 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2234 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2235 
+2236 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2237 <span class="comment">%       See ISPC and COMPUTER.</span>
+2238 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2239     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2240 <span class="keyword">end</span>
+2241 
+2242 
+2243 
+2244 <a name="_sub114" href="#_subfunctions" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a>
+2245 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2246 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2247 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2248 
+2249 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text</span>
+2250 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double</span>
+2251 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2252 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2253 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2254 
+2255 
+2256 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2257 <a name="_sub115" href="#_subfunctions" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a>
+2258 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2259 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2260 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2261 
+2262 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2263 <span class="comment">%       See ISPC and COMPUTER.</span>
+2264 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2265     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2266 <span class="keyword">end</span>
+2267 
+2268 
+2269 
+2270 <a name="_sub116" href="#_subfunctions" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a>
+2271 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2272 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2273 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2274 
+2275 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text</span>
+2276 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double</span>
+2277 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2278 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2279 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2280 
+2281 
+2282 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2283 <a name="_sub117" href="#_subfunctions" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a>
+2284 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2285 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2286 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2287 
+2288 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2289 <span class="comment">%       See ISPC and COMPUTER.</span>
+2290 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2291     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2292 <span class="keyword">end</span>
+2293 
+2294 
+2295 
+2296 <a name="_sub118" href="#_subfunctions" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a>
+2297 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2298 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2299 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2300 
+2301 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text</span>
+2302 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double</span>
+2303 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2304 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2305 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2306 
+2307 
+2308 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2309 <a name="_sub119" href="#_subfunctions" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a>
+2310 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2311 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2312 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2313 
+2314 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2315 <span class="comment">%       See ISPC and COMPUTER.</span>
+2316 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2317     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2318 <span class="keyword">end</span>
+2319 
+2320 
+2321 
+2322 <a name="_sub120" href="#_subfunctions" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a>
+2323 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2324 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2325 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2326 
+2327 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text</span>
+2328 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double</span>
+2329 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2330 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2331 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2332 
+2333 
+2334 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2335 <a name="_sub121" href="#_subfunctions" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a>
+2336 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2337 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2338 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2339 
+2340 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2341 <span class="comment">%       See ISPC and COMPUTER.</span>
+2342 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2343     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2344 <span class="keyword">end</span>
+2345 
+2346 
+2347 
+2348 <a name="_sub122" href="#_subfunctions" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a>
+2349 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2350 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2351 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2352 
+2353 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text</span>
+2354 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double</span>
+2355 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2356 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2357 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2358 
+2359 
+2360 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2361 <a name="_sub123" href="#_subfunctions" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a>
+2362 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2363 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2364 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2365 
+2366 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2367 <span class="comment">%       See ISPC and COMPUTER.</span>
+2368 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2369     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2370 <span class="keyword">end</span>
+2371 
+2372 
+2373 
+2374 <a name="_sub124" href="#_subfunctions" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a>
+2375 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2376 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2377 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2378 
+2379 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text</span>
+2380 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double</span>
+2381 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2382 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2383 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2384 
+2385 
+2386 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2387 <a name="_sub125" href="#_subfunctions" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a>
+2388 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2389 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2390 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2391 
+2392 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2393 <span class="comment">%       See ISPC and COMPUTER.</span>
+2394 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2395     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2396 <span class="keyword">end</span>
+2397 
+2398 
+2399 
+2400 <a name="_sub126" href="#_subfunctions" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a>
+2401 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2402 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2403 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2404 
+2405 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text</span>
+2406 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double</span>
+2407 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2408 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2409 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2410 
+2411 
+2412 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2413 <a name="_sub127" href="#_subfunctions" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a>
+2414 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2415 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2416 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2417 
+2418 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2419 <span class="comment">%       See ISPC and COMPUTER.</span>
+2420 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2421     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2422 <span class="keyword">end</span>
+2423 
+2424 
+2425 
+2426 <a name="_sub128" href="#_subfunctions" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a>
+2427 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2428 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2429 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2430 
+2431 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text</span>
+2432 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double</span>
+2433 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2434 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2435 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2436 
+2437 
+2438 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2439 <a name="_sub129" href="#_subfunctions" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a>
+2440 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2441 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2442 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2443 
+2444 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2445 <span class="comment">%       See ISPC and COMPUTER.</span>
+2446 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2447     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2448 <span class="keyword">end</span>
+2449 
+2450 
+2451 
+2452 <a name="_sub130" href="#_subfunctions" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a>
+2453 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2454 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2455 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2456 
+2457 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text</span>
+2458 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double</span>
+2459 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2460 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2461 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2462 
+2463 
+2464 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2465 <a name="_sub131" href="#_subfunctions" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a>
+2466 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2467 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2468 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2469 
+2470 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2471 <span class="comment">%       See ISPC and COMPUTER.</span>
+2472 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2473     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2474 <span class="keyword">end</span>
+2475 
+2476 
+2477 
+2478 <a name="_sub132" href="#_subfunctions" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a>
+2479 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2480 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2481 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2482 
+2483 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text</span>
+2484 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double</span>
+2485 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2486 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2487 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2488 
+2489 
+2490 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2491 <a name="_sub133" href="#_subfunctions" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a>
+2492 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2493 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2494 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2495 
+2496 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2497 <span class="comment">%       See ISPC and COMPUTER.</span>
+2498 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2499     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2500 <span class="keyword">end</span>
+2501 
+2502 
+2503 
+2504 <a name="_sub134" href="#_subfunctions" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a>
+2505 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2506 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2507 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2508 
+2509 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text</span>
+2510 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double</span>
+2511 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2512 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2513 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2514 
+2515 
+2516 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2517 <a name="_sub135" href="#_subfunctions" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a>
+2518 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2519 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2520 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2521 
+2522 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2523 <span class="comment">%       See ISPC and COMPUTER.</span>
+2524 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2525     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2526 <span class="keyword">end</span>
+2527 
+2528 
+2529 
+2530 <a name="_sub136" href="#_subfunctions" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a>
+2531 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2532 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2533 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2534 
+2535 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text</span>
+2536 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double</span>
+2537 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2538 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2539 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2540 
+2541 
+2542 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2543 <a name="_sub137" href="#_subfunctions" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a>
+2544 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2545 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2546 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2547 
+2548 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2549 <span class="comment">%       See ISPC and COMPUTER.</span>
+2550 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2551     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2552 <span class="keyword">end</span>
+2553 
+2554 
+2555 
+2556 <a name="_sub138" href="#_subfunctions" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a>
+2557 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2558 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2559 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2560 
+2561 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text</span>
+2562 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double</span>
+2563 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2564 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2565 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2566 
+2567 
+2568 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2569 <a name="_sub139" href="#_subfunctions" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a>
+2570 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2571 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2572 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2573 
+2574 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2575 <span class="comment">%       See ISPC and COMPUTER.</span>
+2576 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2577     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2578 <span class="keyword">end</span>
+2579 
+2580 
+2581 
+2582 <a name="_sub140" href="#_subfunctions" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a>
+2583 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+2584 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2585 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2586 
+2587 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text</span>
+2588 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double</span>
+2589 
+2590 
+2591 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2592 <a name="_sub141" href="#_subfunctions" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a>
+2593 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+2594 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2595 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2596 
+2597 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2598 <span class="comment">%       See ISPC and COMPUTER.</span>
+2599 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2600     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2601 <span class="keyword">end</span>
+2602 
+2603 
+2604 
+2605 <a name="_sub142" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a>
+2606 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+2607 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2608 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2609 
+2610 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text</span>
+2611 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double</span>
+2612 
+2613 
+2614 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2615 <a name="_sub143" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a>
+2616 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+2617 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2618 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2619 
+2620 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2621 <span class="comment">%       See ISPC and COMPUTER.</span>
+2622 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2623     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2624 <span class="keyword">end</span>
+2625 
+2626 
+2627 
+2628 <a name="_sub144" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a>
+2629 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+2630 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2631 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2632 
+2633 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text</span>
+2634 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double</span>
+2635 
+2636 <span class="comment">%set(handles.listbox_fillingmode,'value',12);</span>
+2637 <span class="comment">%listbox_fillingmode_Callback;</span>
+2638 
+2639 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2640 <a name="_sub145" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a>
+2641 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+2642 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2643 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2644 
+2645 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2646 <span class="comment">%       See ISPC and COMPUTER.</span>
+2647 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2648     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2649 <span class="keyword">end</span>
+2650 
+2651 
+2652 <span class="comment">% --- Executes on button press in button_update.</span>
+2653 <a name="_sub146" href="#_subfunctions" class="code">function button_update_Callback(hObject, eventdata, handles)</a>
+2654 <span class="comment">% hObject    handle to button_update (see GCBO)</span>
+2655 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2656 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2657 
+2658 <a href="do_update.html" class="code" title="function do_update">do_update</a>
+2659 
+2660 <span class="comment">% --- Executes on button press in button_acquisition_trigstatus.</span>
+2661 <a name="_sub147" href="#_subfunctions" class="code">function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)</a>
+2662 <span class="comment">% hObject    handle to button_acquisition_trigstatus (see GCBO)</span>
+2663 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2664 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2665 
+2666 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+2667 
+2668 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2669 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2670 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2671 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2672 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2673 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2674 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2675 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2676 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2677 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2678 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2679 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2680 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2681 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2682 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2683 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2684 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2685 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2686 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2687 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2688 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2689 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2690 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2691 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2692 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2693 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2694 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2695 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2696 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2697 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2698 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2699 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2700 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2701 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2702 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2703 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2704 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2705 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2706 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2707 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2708 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2709 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2710 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2711 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2712 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2713 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2714 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2715 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2716 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2717 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2718 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2719 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2720 
+2721 <a href="get_synchro_trigstatus.html" class="code" title="function get_synchro_trigstatus(handles)">get_synchro_trigstatus</a>(handles)
+2722 
+2723 
+2724 <span class="comment">% --- Executes on button press in togglebutton2.</span>
+2725 <a name="_sub148" href="#_subfunctions" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a>
+2726 <span class="comment">% hObject    handle to togglebutton2 (see GCBO)</span>
+2727 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2728 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2729 
+2730 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of togglebutton2</span>
+2731 
+2732 
+2733 <span class="comment">% --- Executes on selection change in listbox_fillingmode.</span>
+2734 <a name="_sub149" href="#_subfunctions" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a>
+2735 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+2736 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2737 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2738 
+2739 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_fillingmode contents as cell array</span>
+2740 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_fillingmode</span>
+2741 pattern=get(hObject,<span class="string">'String'</span>);
+2742 mode=get(hObject,<span class="string">'Value'</span>);
+2743 fprintf(<span class="string">'***************************************************\n'</span>)
+2744 fprintf(<span class="string">'Mode de remplissage sÃÂ©lectionnÃÂ© : %s\n'</span>,pattern{mode})
+2745 fprintf(<span class="string">'***************************************************\n'</span>)
+2746 
+2747 
+2748 <span class="comment">% PrÃÂ©pare les tables pour le 3 Hz</span>
+2749 quart=[1 105 209 313];
+2750 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2751 offset_ext=temp.value(1)*52;
+2752 offset_linac=str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>)) ;<span class="comment">% dÃÂ©lai fin de rÃÂ©glage en ns</span>
+2753 offset_linac=offset_linac/handles.lin_fin_step;                   <span class="comment">% dÃÂ©lai fin de rÃÂ©glage en pas de handles.lin_fin_step ps</span>
+2754 bjump=handles.one_bunch;
+2755 
+2756 
+2757 <span class="keyword">if</span> (mode&lt;=4)    <span class="comment">%LPM</span>
+2758     bunch=quart(mode);
+2759     fillingmode=<span class="string">'1/4'</span>;
+2760 <span class="keyword">elseif</span> (mode&gt;4)&amp;&amp;(mode&lt;=7) <span class="comment">%LPM</span>
+2761     bunch=quart(1:(mode-3));
+2762     <span class="keyword">if</span> mode==5 ; fillingmode=<span class="string">'1/2'</span>; <span class="keyword">end</span>
+2763     <span class="keyword">if</span> mode==6 ; fillingmode=<span class="string">'3/4'</span>; <span class="keyword">end</span>
+2764     <span class="keyword">if</span> mode==7 ; fillingmode=<span class="string">'4/4'</span>; <span class="keyword">end</span>
+2765 <span class="keyword">elseif</span> (mode==8)    <span class="comment">%LPM</span>
+2766     bunch=[365];      <span class="comment">% SPM hybride</span>
+2767     <span class="comment">%bunch=[0 104+32 2*(104+40)]+1; % spÃÂ©cial 3/4</span>
+2768     fillingmode=<span class="string">'3/4'</span>;
+2769 <span class="keyword">elseif</span> (mode==9)   <span class="comment">% SPM    1 paquet</span>
+2770     bunch=[1];
+2771     fillingmode=<span class="string">'1 bunch'</span>;
+2772 <span class="keyword">elseif</span> (mode==10)  <span class="comment">% SPM    8 paquets</span>
+2773     bunch=[0:7]*52+1;
+2774     fillingmode=<span class="string">'8 bunches'</span>;
+2775 <span class="keyword">elseif</span> (mode==11)  <span class="comment">% SPM    16 paquets</span>
+2776     bunch=[0:15]*26+1;
+2777     fillingmode=<span class="string">'16 bunches'</span>;
+2778 <span class="keyword">elseif</span> (mode==12)  <span class="comment">% SPM    n paquets</span>
+2779     bunch=str2num(get(handles.edit_filling_entrer_bunch,<span class="string">'String'</span>));
+2780     <span class="keyword">if</span> isempty(bunch)
+2781         set(handles.edit_filling_entrer_bunch,<span class="string">'String'</span>,<span class="string">'Bug format'</span>);
+2782     <span class="keyword">end</span>
+2783     fillingmode=<span class="string">'Few bunches'</span>;
+2784 <span class="keyword">elseif</span> (mode==13)  <span class="comment">% SPM    n paquets</span>
+2785     paq=str2num(get(handles.edit_filling_entrer_bunch1,<span class="string">'String'</span>));
+2786     <span class="keyword">if</span> (length(paq) == 2)
+2787        bunch=paq(1):paq(2);
+2788     <span class="keyword">else</span>
+2789        set(handles.edit_filling_entrer_bunch1,<span class="string">'String'</span>,<span class="string">'Bug format'</span>)
+2790     <span class="keyword">end</span>
+2791     fillingmode=<span class="string">'Few bunches'</span>;
+2792 <span class="keyword">end</span>
+2793 
+2794 <span class="comment">% Renseigne le filling Mode</span>
+2795 tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>, <span class="string">'fillingMode'</span>,fillingmode)
+2796 
+2797 <span class="comment">% Charge la longueur de la rafale par dÃÂ©faut sur un cycle</span>
+2798 Ncoup=length(bunch);
+2799 boucle=int16(str2double(get(handles.edit_Ncycle,<span class="string">'String'</span>)));
+2800 <span class="keyword">if</span> Ncoup&gt;=1
+2801     set(handles.edit_Ncoup,<span class="string">'String'</span>,num2str(Ncoup));
+2802     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'burstSize'</span>,int32(Ncoup*boucle));
+2803 <span class="keyword">end</span>
+2804     
+2805     
+2806 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2807 dpaquet=dpaquet*bjump+offset_linac;
+2808 table=int32([length(bunch) dtour dpaquet]);
+2809 handles.table=table;
+2810 handles.bunch=bunch;
+2811 
+2812 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'table');</span>
+2813 FileName = [handles.DirName <span class="string">'table.mat'</span>];
+2814 save(FileName, <span class="string">'table'</span>); <span class="comment">% pour palier aux handles via timer non mis ÃÂ  jour !!!!!!</span>
+2815 
+2816 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+2817 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)  <span class="comment">% on rempli la table sur paquet 1 par dÃÂ©faut, pas utilisÃÂ©e</span>
+2818     table=handles.table0;
+2819     tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+2820     
+2821 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>) <span class="comment">% on rempli la table associÃÂ©e au remplissage</span>
+2822     tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+2823     pause(1); <span class="comment">% mise a jour table ATK</span>
+2824     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2825     n=temp.value;
+2826     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2827     table_ext=temp.value(1:n); <span class="comment">%-offset_ext;</span>
+2828     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'LinacDelayTable'</span>);
+2829     table_linac=(temp.value(1:n)-offset_linac)/bjump;
+2830     table=[];
+2831     <span class="keyword">for</span> i=1:n
+2832         table=[table <span class="string">' '</span> <span class="string">'('</span> num2str([table_ext(i)])  <span class="string">' '</span>  num2str([table_linac(i)]) <span class="string">')'</span>];
+2833     <span class="keyword">end</span>
+2834 <span class="keyword">end</span>
+2835 
+2836 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+2837 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,[num2str(bunch)]);
+2838 
+2839 
+2840 guidata(hObject, handles);
+2841 
+2842 
+2843 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2844 <a name="_sub150" href="#_subfunctions" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a>
+2845 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+2846 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2847 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2848 
+2849 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+2850 <span class="comment">%       See ISPC and COMPUTER.</span>
+2851 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2852     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2853 <span class="keyword">end</span>
+2854 
+2855 
+2856 <span class="comment">% --- Executes on button press in button_fix.</span>
+2857 <a name="_sub151" href="#_subfunctions" class="code">function button_fix_Callback(hObject, eventdata, handles)</a>
+2858 <span class="comment">% hObject    handle to button_fix (see GCBO)</span>
+2859 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2860 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2861 
+2862 [clk_spare,clk_soft]=<a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>;
+2863 handles.clk_spare  =clk_spare;
+2864 handles.clk_soft=clk_soft;
+2865 
+2866 <span class="comment">% n=1;</span>
+2867 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');</span>
+2868 <span class="comment">% clk1=temp.value(n);</span>
+2869 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');</span>
+2870 <span class="comment">% clk2=temp.value(n);</span>
+2871 <span class="comment">%</span>
+2872 <span class="comment">% jump=int32([0 39 26 13]);</span>
+2873 <span class="comment">% handles.clk_spare  =jump +  int32(clk1);</span>
+2874 <span class="comment">% handles.clk_soft=jump  + int32(clk2);</span>
+2875 
+2876 guidata(hObject, handles);
+2877 
+2878 
+2879 
+2880 <a name="_sub152" href="#_subfunctions" class="code">function edit_Ncycle_Callback(hObject, eventdata, handles)</a>
+2881 <span class="comment">% hObject    handle to edit_Ncycle (see GCBO)</span>
+2882 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2883 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2884 
+2885 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Ncycle as text</span>
+2886 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Ncycle as a double</span>
+2887 boucle=str2double(get(hObject,<span class="string">'String'</span>));
+2888 Ncoup=str2double(get(handles.edit_Ncoup,<span class="string">'String'</span>));
+2889 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'burstSize'</span>,int32(Ncoup*boucle));
+2890 
+2891 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2892 <a name="_sub153" href="#_subfunctions" class="code">function edit_Ncycle_CreateFcn(hObject, eventdata, handles)</a>
+2893 <span class="comment">% hObject    handle to edit_Ncycle (see GCBO)</span>
+2894 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2895 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2896 
+2897 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2898 <span class="comment">%       See ISPC and COMPUTER.</span>
+2899 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2900     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2901 <span class="keyword">end</span>
+2902 
+2903 
+2904 
+2905 <a name="_sub154" href="#_subfunctions" class="code">function edit_Ncoup_Callback(hObject, eventdata, handles)</a>
+2906 <span class="comment">% hObject    handle to edit_Ncoup (see GCBO)</span>
+2907 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2908 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2909 
+2910 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Ncoup as text</span>
+2911 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Ncoup as a double</span>
+2912 Ncoup=str2double(get(hObject,<span class="string">'String'</span>));
+2913 boucle=str2double(get(handles.edit_Ncycle,<span class="string">'String'</span>));
+2914 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'burstSize'</span>,int32(Ncoup*boucle));
+2915 
+2916 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2917 <a name="_sub155" href="#_subfunctions" class="code">function edit_Ncoup_CreateFcn(hObject, eventdata, handles)</a>
+2918 <span class="comment">% hObject    handle to edit_Ncoup (see GCBO)</span>
+2919 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2920 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2921 
+2922 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2923 <span class="comment">%       See ISPC and COMPUTER.</span>
+2924 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2925     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2926 <span class="keyword">end</span>
+2927 
+2928 
+2929 
+2930 <a name="_sub156" href="#_subfunctions" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a>
+2931 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+2932 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2933 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2934 
+2935 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_qlt1 as text</span>
+2936 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_qlt1 as a double</span>
+2937 
+2938 
+2939 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2940 <a name="_sub157" href="#_subfunctions" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a>
+2941 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+2942 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2943 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2944 
+2945 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2946 <span class="comment">%       See ISPC and COMPUTER.</span>
+2947 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2948     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2949 <span class="keyword">end</span>
+2950 
+2951 
+2952 
+2953 <a name="_sub158" href="#_subfunctions" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a>
+2954 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+2955 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2956 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2957 
+2958 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_iboo as text</span>
+2959 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_iboo as a double</span>
+2960 
+2961 
+2962 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2963 <a name="_sub159" href="#_subfunctions" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a>
+2964 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+2965 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2966 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2967 
+2968 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2969 <span class="comment">%       See ISPC and COMPUTER.</span>
+2970 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2971     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2972 <span class="keyword">end</span>
+2973 
+2974 
+2975 
+2976 <a name="_sub160" href="#_subfunctions" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a>
+2977 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+2978 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2979 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2980 
+2981 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians as text</span>
+2982 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians as a double</span>
+2983 
+2984 
+2985 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2986 <a name="_sub161" href="#_subfunctions" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a>
+2987 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+2988 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2989 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2990 
+2991 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2992 <span class="comment">%       See ISPC and COMPUTER.</span>
+2993 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2994     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2995 <span class="keyword">end</span>
+2996 
+2997 
+2998 
+2999 <a name="_sub162" href="#_subfunctions" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a>
+3000 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3001 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3002 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3003 
+3004 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rlt1 as text</span>
+3005 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rlt1 as a double</span>
+3006 
+3007 
+3008 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3009 <a name="_sub163" href="#_subfunctions" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a>
+3010 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3011 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3012 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3013 
+3014 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3015 <span class="comment">%       See ISPC and COMPUTER.</span>
+3016 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3017     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3018 <span class="keyword">end</span>
+3019 
+3020 
+3021 
+3022 <a name="_sub164" href="#_subfunctions" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a>
+3023 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3024 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3025 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3026 
+3027 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rboo as text</span>
+3028 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rboo as a double</span>
+3029 
+3030 
+3031 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3032 <a name="_sub165" href="#_subfunctions" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a>
+3033 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3034 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3035 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3036 
+3037 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3038 <span class="comment">%       See ISPC and COMPUTER.</span>
+3039 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3040     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3041 <span class="keyword">end</span>
+3042 
+3043 
+3044 
+3045 <a name="_sub166" href="#_subfunctions" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a>
+3046 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3047 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3048 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3049 
+3050 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rans as text</span>
+3051 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rans as a double</span>
+3052 
+3053 
+3054 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3055 <a name="_sub167" href="#_subfunctions" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a>
+3056 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3057 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3058 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3059 
+3060 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3061 <span class="comment">%       See ISPC and COMPUTER.</span>
+3062 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3063     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3064 <span class="keyword">end</span>
+3065 
+3066 
+3067 
+3068 <a name="_sub168" href="#_subfunctions" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a>
+3069 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3070 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3071 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3072 
+3073 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians1 as text</span>
+3074 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians1 as a double</span>
+3075 
+3076 
+3077 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3078 <a name="_sub169" href="#_subfunctions" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a>
+3079 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3080 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3081 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3082 
+3083 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3084 <span class="comment">%       See ISPC and COMPUTER.</span>
+3085 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3086     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3087 <span class="keyword">end</span>
+3088 
+3089 
+3090 
+3091 <a name="_sub170" href="#_subfunctions" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a>
+3092 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3093 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3094 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3095 
+3096 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_cycle as text</span>
+3097 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_cycle as a double</span>
+3098 
+3099 
+3100 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3101 <a name="_sub171" href="#_subfunctions" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a>
+3102 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3103 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3104 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3105 
+3106 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3107 <span class="comment">%       See ISPC and COMPUTER.</span>
+3108 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3109     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3110 <span class="keyword">end</span>
+3111 
+3112 
+3113 
+3114 <a name="_sub172" href="#_subfunctions" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a>
+3115 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3116 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3117 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3118 
+3119 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_courant_total as text</span>
+3120 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_courant_total as a double</span>
+3121 
+3122 
+3123 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3124 <a name="_sub173" href="#_subfunctions" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a>
+3125 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3126 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3127 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3128 
+3129 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3130 <span class="comment">%       See ISPC and COMPUTER.</span>
+3131 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3132     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3133 <span class="keyword">end</span>
+3134 
+3135 
+3136 
+3137 <a name="_sub174" href="#_subfunctions" class="code">function lin_canon_spm_Callback(hObject, eventdata, handles)</a>
+3138 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3139 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3140 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3141 
+3142 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_canon_spm as text</span>
+3143 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_canon_spm as a double</span>
+3144 
+3145 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+3146 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+3147 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>,delay);
+3148 
+3149 
+3150 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3151 <a name="_sub175" href="#_subfunctions" class="code">function lin_canon_spm_CreateFcn(hObject, eventdata, handles)</a>
+3152 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3153 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3154 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3155 
+3156 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3157 <span class="comment">%       See ISPC and COMPUTER.</span>
+3158 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3159     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3160 <span class="keyword">end</span>
+3161 
+3162 
+3163 <a name="_sub176" href="#_subfunctions" class="code">function  uipanel_mode_CreateFcn(hObject, eventdata, handles)</a>
+3164 <span class="comment">% hObject    handle to lin_canon_spm (see GCBO)</span>
+3165 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3166 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3167 
+3168 
+3169 <span class="comment">% % --------------------------------------------------------------------</span>
+3170 <a name="_sub177" href="#_subfunctions" class="code">function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3171 <span class="comment">% % hObject    handle to uipanel_mode (see GCBO)</span>
+3172 <span class="comment">% % eventdata  reserved - to be defined in a future version of MATLAB</span>
+3173 <span class="comment">% % handles    structure with handles and user data (see GUIDATA)</span>
+3174 
+3175 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+3176 set(handles.edit_modes,<span class="string">'String'</span>,<span class="string">'Please WAIT !!!!'</span>)
+3177 mode=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3178 
+3179 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3180     <span class="keyword">case</span> <span class="string">'togglebutton_soft'</span>
+3181         <span class="comment">% switch to soft (load golden)</span>
+3182         
+3183         Directory=handles.Directory;
+3184         DirName=handles.DirName;
+3185         file=<span class="string">'golden_rafale_soft.mat'</span>;
+3186         <a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>(Directory,file,DirName)
+3187         
+3188         
+3189         <span class="comment">% special septum actif boo et ans</span>
+3190         r=(1-0.0004);
+3191         <span class="keyword">try</span>
+3192             temp=tango_read_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>);boo=temp.value(2)*r
+3193             tango_write_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>,boo);
+3194             temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>);ans=temp.value(2)*r
+3195             tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>,ans);
+3196         <span class="keyword">catch</span>
+3197             display(<span class="string">'Erreur ajustement tension septa passif'</span>)
+3198         <span class="keyword">end</span>
+3199         set(handles.edit_Ncoup,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+3200         tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,handles.table0);
+3201 
+3202     <span class="keyword">case</span> <span class="string">'togglebutton_3Hz'</span>
+3203         <span class="comment">% switch to 3Hz(load golden)</span>
+3204         
+3205         Directory=handles.Directory;
+3206         DirName=handles.DirName;
+3207         file=<span class="string">'golden_rafale_3Hz.mat'</span>;
+3208         <a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>(Directory,file,DirName)
+3209         
+3210         <span class="comment">% special septum actif boo et ans</span>
+3211         r=(1+0.0004);
+3212         <span class="keyword">try</span>
+3213             temp=tango_read_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>);boo=temp.value(2)*r
+3214             tango_write_attribute2(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext'</span>,<span class="string">'voltage'</span>,boo);
+3215             temp=tango_read_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>);    ans=temp.value(2)*r
+3216             tango_write_attribute2(<span class="string">'ANS-C01/EP/AL_SEP_A'</span>,<span class="string">'voltage'</span>,ans);
+3217         <span class="keyword">catch</span>
+3218             display(<span class="string">'Erreur ajustement tension septa passif'</span>)
+3219         <span class="keyword">end</span>
+3220         set(handles.edit_Ncoup,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+3221         tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,handles.table);
+3222 <span class="keyword">end</span>
+3223 
+3224 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>)
+3225 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3226 display(<span class="string">'ok change address'</span>)
+3227 
+3228 
+3229 
+3230 <a name="_sub178" href="#_subfunctions" class="code">function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)</a>
+3231 <span class="comment">% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)</span>
+3232 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3233 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3234 
+3235 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch1 as text</span>
+3236 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch1 as a double</span>
+3237 
+3238 
+3239 
+3240 
+3241 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3242 <a name="_sub179" href="#_subfunctions" class="code">function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)</a>
+3243 <span class="comment">% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)</span>
+3244 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3245 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3246 
+3247 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3248 <span class="comment">%       See ISPC and COMPUTER.</span>
+3249 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3250     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3251 <span class="keyword">end</span>
+3252 
+3253 
+3254 
+3255 <a name="_sub180" href="#_subfunctions" class="code">function edit_Imin_Callback(hObject, eventdata, handles)</a>
+3256 <span class="comment">% hObject    handle to edit_Imin (see GCBO)</span>
+3257 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3258 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3259 
+3260 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Imin as text</span>
+3261 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Imin as a double</span>
+3262 
+3263 
+3264 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3265 <a name="_sub181" href="#_subfunctions" class="code">function edit_Imin_CreateFcn(hObject, eventdata, handles)</a>
+3266 <span class="comment">% hObject    handle to edit_Imin (see GCBO)</span>
+3267 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3268 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3269 
+3270 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3271 <span class="comment">%       See ISPC and COMPUTER.</span>
+3272 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3273     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3274 <span class="keyword">end</span>
+3275 
+3276 
+3277 <span class="comment">% --------------------------------------------------------------------</span>
+3278 <a name="_sub182" href="#_subfunctions" class="code">function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3279 <span class="comment">% hObject    handle to uipanel_spm_mode (see GCBO)</span>
+3280 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3281 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3282 
+3283 <span class="comment">%h=get(handles.uipanel_spm_mode);</span>
+3284 <span class="comment">%get(h.Children)</span>
+3285 
+3286 mode=get(get(handles.uipanel_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3287 
+3288 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3289     <span class="keyword">case</span> <span class="string">'spm_mode_1'</span>
+3290         display(<span class="string">'spm_mode_1'</span>)     
+3291         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(1));
+3292     <span class="keyword">case</span> <span class="string">'spm_mode_2'</span>
+3293         display(<span class="string">'spm_mode_2'</span>)  
+3294         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(2));
+3295     <span class="keyword">case</span> <span class="string">'spm_mode_2p'</span>
+3296         display(<span class="string">'spm_mode_2p'</span>)   
+3297         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(3));
+3298     <span class="keyword">case</span> <span class="string">'spm_mode_3'</span>
+3299         display(<span class="string">'spm_mode_3'</span>)    
+3300         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(4));   
+3301 <span class="keyword">end</span>
+3302 
+3303 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3304 
+3305 <span class="comment">% --------------------------------------------------------------------</span>
+3306 <a name="_sub183" href="#_subfunctions" class="code">function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3307 <span class="comment">% hObject    handle to uipanel_lpm_spm_mode (see GCBO)</span>
+3308 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3309 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3310 
+3311 
+3312 mode=get(get(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3313 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3314 event0=int32(0);
+3315 <span class="keyword">if</span>     strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)
+3316     event=int32(5);
+3317 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+3318     event=int32(2);
+3319 <span class="keyword">else</span>
+3320     <span class="comment">%%%</span>
+3321 <span class="keyword">end</span>
+3322 
+3323 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3324     <span class="keyword">case</span> <span class="string">'no_mode'</span>
+3325         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event0); 
+3326         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); 
+3327         
+3328     <span class="keyword">case</span> <span class="string">'lpm_mode'</span>
+3329         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event); 
+3330         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0);     
+3331         
+3332 <span class="comment">%         tango_write_attribute('LT1/AE/CV.2', 'current',  0.058 );</span>
+3333 <span class="comment">%         tango_write_attribute('LT1/AE/CV.3', 'current', -0.119 );</span>
+3334 
+3335     <span class="keyword">case</span> <span class="string">'spm_mode'</span>
+3336         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event0); 
+3337         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event);   
+3338         
+3339 <span class="comment">%         tango_write_attribute('LT1/AE/CV.2', 'current',  0.058 );</span>
+3340 <span class="comment">%         tango_write_attribute('LT1/AE/CV.3', 'current', -0.119 );</span>
+3341         
+3342 <span class="keyword">end</span>
+3343 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3344 
+3345 
+3346 
+3347 
+3348         
+3349 
+3350 <span class="comment">% --------------------------------------------------------------------</span>
+3351 <a name="_sub184" href="#_subfunctions" class="code">function uipanel_central_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3352 <span class="comment">% hObject    handle to uipanel_central_mode (see GCBO)</span>
+3353 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3354 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3355 
+3356 mode=get(get(handles.uipanel_central_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3357 modeinj=get(get(handles.uipanel_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3358 
+3359 h=<span class="string">'Yes'</span>;
+3360 <span class="keyword">if</span> strcmp(mode,<span class="string">'continuous_mode'</span>)
+3361     <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+3362         h = questdlg(<span class="string">'Attention, dÃ©clenchement continu des Ã©quipements sur adresses 1 2 3'</span>);
+3363     <span class="keyword">end</span>
+3364 <span class="keyword">end</span>
+3365 
+3366 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3367     <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3368         <span class="keyword">case</span> <span class="string">'burst_mode'</span>
+3369             tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'SetBurstMode'</span>);
+3370         <span class="keyword">case</span> <span class="string">'continuous_mode'</span>
+3371             tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'SetContinuousMode'</span>);
+3372     <span class="keyword">end</span>
+3373 <span class="keyword">end</span>
+3374 pause(1)
+3375 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3376 
+3377 <span class="comment">% [etat_central]=test_central_mode(handles);</span>
+3378 <span class="comment">% h='Yes';</span>
+3379 <span class="comment">% if strcmp(etat_central,'Continu')</span>
+3380 <span class="comment">%     h = questdlg('Attention, Trigger en mode continu');</span>
+3381 <span class="comment">% end</span>
+3382 <span class="comment">% if strcmp(h,'Yes')</span>
+3383 <span class="comment">%     set(handles.button_injection_soft,'Enable','Off')</span>
+3384 <span class="comment">%     set(handles.edit_modes,'String','Please WAIT !!!!')</span>
+3385 <span class="comment">%     file='golden_rafale_3Hz.mat';</span>
+3386 <span class="comment">%     load_synchro_rafale(file)</span>
+3387 <span class="comment">%     set(handles.button_injection_soft,'Enable','On')</span>
+3388 <span class="comment">%     test_modes(handles);</span>
+3389 <span class="comment">% end</span>
+3390 
+3391 
+3392 <a name="_sub185" href="#_subfunctions" class="code">function  [etat]=test_central_mode(handles)</a>
+3393 <span class="comment">% Verifie le mode central selectionnÃÂ©  : rafale ou continue</span>
+3394 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'currentMode'</span>);
+3395 mode=temp.value;
+3396 h=get(handles.uipanel_central_mode);
+3397 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3398     <span class="keyword">case</span> <span class="string">'BURST'</span>
+3399        set(handles.uipanel_central_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+3400        etat=<span class="string">'Rafale'</span>;
+3401     <span class="keyword">case</span> <span class="string">'CONTINUOUS'</span>
+3402        set(handles.uipanel_central_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+3403        etat=<span class="string">'Continu'</span>;
+3404 <span class="keyword">end</span>
+3405 
+3406 <a name="_sub186" href="#_subfunctions" class="code">function  [etat]=test_injection_mode(handles)</a>
+3407 <span class="comment">% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz</span>
+3408 <span class="comment">%temp=tango_read_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent');</span>
+3409 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+3410 mode=temp.value(1);
+3411 h=get(handles.uipanel_mode);
+3412 <span class="keyword">if</span>     mode==2
+3413     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+3414     etat=<span class="string">'3Hz'</span>;
+3415 <span class="keyword">elseif</span> mode==5
+3416     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+3417     etat=<span class="string">'Soft'</span>;
+3418 <span class="keyword">else</span>
+3419     set(handles.uipanel_mode,<span class="string">'SelectedObject'</span>,[])
+3420     etat=<span class="string">'??'</span>;
+3421 <span class="keyword">end</span>
+3422 
+3423 
+3424 <a name="_sub187" href="#_subfunctions" class="code">function  [etat]=test_lpm_spm_mode(handles)</a>
+3425 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM ou LPM</span>
+3426 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+3427 modelpm=temp.value(1);
+3428 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+3429 modespm=temp.value(1);
+3430 h=get(handles.uipanel_lpm_spm_mode);
+3431 <span class="keyword">if</span>     (modelpm==5)&amp;(modespm==0) | (modelpm==2)&amp;(modespm==0)
+3432     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+3433     etat=<span class="string">'LPM'</span>;
+3434 <span class="keyword">elseif</span> (modelpm==0)&amp;(modespm==5) | (modelpm==0)&amp;(modespm==2)
+3435     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+3436     etat=<span class="string">'SPM'</span>;
+3437 <span class="keyword">else</span>
+3438     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(3))
+3439     etat=<span class="string">'NONE'</span>;
+3440 <span class="keyword">end</span>
+3441 
+3442 <a name="_sub188" href="#_subfunctions" class="code">function  [etat]=test_spm_mode(handles)</a>
+3443 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets</span>
+3444 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>);
+3445 mode=temp.value(1);
+3446 h=get(handles.uipanel_spm_mode);
+3447 select=h.Children(5-mode);
+3448 set(handles.uipanel_spm_mode,<span class="string">'SelectedObject'</span>,select)
+3449 etat=num2str(5-mode);
+3450 
+3451 <a name="_sub189" href="#_subfunctions" class="code">function  [etat]=test_cond_inj(handles)</a>
+3452 <span class="comment">% Verifie si tir autorise  (Grp fonctionnement)</span>
+3453 <span class="keyword">try</span> temp=tango_read_attribute2(<span class="string">'ANS/FC/INJ_COND'</span>, <span class="string">'COND_INJ'</span>); <span class="comment">% 0 no injection,  1 injection</span>
+3454     val=temp.value; <span class="keyword">catch</span> val=1 ; <span class="keyword">end</span>; <span class="keyword">if</span> val~=0 ; val=1; <span class="keyword">end</span>;
+3455 <span class="keyword">if</span> (val==1)
+3456     etat=<span class="string">'TIR AUTORISE'</span>;
+3457 <span class="keyword">else</span>
+3458     etat=<span class="string">'TIR NON AUTORISE'</span>;
+3459 <span class="keyword">end</span>
+3460 
+3461 
+3462 
+3463 
+3464 <a name="_sub190" href="#_subfunctions" class="code">function  test_modes(handles)</a>
+3465 <span class="comment">% Verifie le mode central selectionnÃÂ©  : rafale ou continue</span>
+3466 [etat_central]=<a href="#_sub185" class="code" title="subfunction  [etat]=test_central_mode(handles)">test_central_mode</a>(handles);
+3467 <span class="comment">% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz</span>
+3468 [etat_injection]=<a href="#_sub186" class="code" title="subfunction  [etat]=test_injection_mode(handles)">test_injection_mode</a>(handles);
+3469 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM ou LPM</span>
+3470 [etat_linac]=<a href="#_sub187" class="code" title="subfunction  [etat]=test_lpm_spm_mode(handles)">test_lpm_spm_mode</a>(handles);
+3471 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets</span>
+3472 [etat_linac_spm]=<a href="#_sub188" class="code" title="subfunction  [etat]=test_spm_mode(handles)">test_spm_mode</a>(handles);
+3473 <span class="comment">% VÃ©rifie si injectio autorisee</span>
+3474 <span class="comment">%[etat_inj]=test_cond_inj(handles);</span>
+3475 
+3476 
+3477 <span class="comment">% txt=[etat_inj,'    ####     ', ...</span>
+3478 <span class="comment">%      'CENTRAL : ',etat_central,'   #   INJECTION : ',etat_injection,'   #   LINAC : ',etat_linac];</span>
+3479 txt=[<span class="string">'CENTRAL : '</span>,etat_central,<span class="string">'   #   INJECTION : '</span>,etat_injection,<span class="string">'   #   LINAC : '</span>,etat_linac];
+3480 set(handles.edit_modes,<span class="string">'String'</span>,txt)
+3481 
+3482 
+3483 
+3484 <a name="_sub191" href="#_subfunctions" class="code">function edit_modes_Callback(hObject, eventdata, handles)</a>
+3485 <span class="comment">% hObject    handle to edit_modes (see GCBO)</span>
+3486 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3487 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3488 
+3489 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_modes as text</span>
+3490 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_modes as a double</span>
+3491 
+3492 
+3493 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3494 <a name="_sub192" href="#_subfunctions" class="code">function edit_modes_CreateFcn(hObject, eventdata, handles)</a>
+3495 <span class="comment">% hObject    handle to edit_modes (see GCBO)</span>
+3496 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3497 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3498 
+3499 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3500 <span class="comment">%       See ISPC and COMPUTER.</span>
+3501 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3502     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3503 <span class="keyword">end</span>
+3504 
+3505 <a name="_sub193" href="#_subfunctions" class="code">function ans_k_pc_Callback(hObject, eventdata, handles)</a>
+3506 <span class="comment">% hObject    handle to ans_k_pc (see GCBO)</span>
+3507 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3508 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3509 
+3510 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_k_pc as text</span>
+3511 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_k_pc as a double</span>
+3512 
+3513 
+3514 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3515 <a name="_sub194" href="#_subfunctions" class="code">function ans_k_pc_CreateFcn(hObject, eventdata, handles)</a>
+3516 <span class="comment">% hObject    handle to ans_k_pc (see GCBO)</span>
+3517 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3518 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3519 
+3520 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3521 <span class="comment">%       See ISPC and COMPUTER.</span>
+3522 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3523     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3524 <span class="keyword">end</span>
+3525 
+3526 
+3527 
+3528 <a name="_sub195" href="#_subfunctions" class="code">function ans_k_h_Callback(hObject, eventdata, handles)</a>
+3529 <span class="comment">% hObject    handle to ans_k_h (see GCBO)</span>
+3530 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3531 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3532 
+3533 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_k_h as text</span>
+3534 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_k_h as a double</span>
+3535 
+3536 
+3537 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3538 <a name="_sub196" href="#_subfunctions" class="code">function ans_k_h_CreateFcn(hObject, eventdata, handles)</a>
+3539 <span class="comment">% hObject    handle to ans_k_h (see GCBO)</span>
+3540 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3541 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3542 
+3543 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3544 <span class="comment">%       See ISPC and COMPUTER.</span>
+3545 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3546     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3547 <span class="keyword">end</span>
+3548 
+3549 
+3550 
+3551 <a name="_sub197" href="#_subfunctions" class="code">function ans_k_v_Callback(hObject, eventdata, handles)</a>
+3552 <span class="comment">% hObject    handle to ans_k_v (see GCBO)</span>
+3553 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3554 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3555 
+3556 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_k_v as text</span>
+3557 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_k_v as a double</span>
+3558 
+3559 
+3560 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3561 <a name="_sub198" href="#_subfunctions" class="code">function ans_k_v_CreateFcn(hObject, eventdata, handles)</a>
+3562 <span class="comment">% hObject    handle to ans_k_v (see GCBO)</span>
+3563 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3564 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3565 
+3566 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3567 <span class="comment">%       See ISPC and COMPUTER.</span>
+3568 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3569     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3570 <span class="keyword">end</span>
+3571 
+3572 
+3573 <span class="comment">% --- Executes on button press in button_kicker.</span>
+3574 <a name="_sub199" href="#_subfunctions" class="code">function button_kicker_Callback(hObject, eventdata, handles)</a>
+3575 <span class="comment">% hObject    handle to button_kicker (see GCBO)</span>
+3576 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3577 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3578 
+3579 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_kicker</span>
+3580 
+3581 bpm=get(hObject,<span class="string">'Value'</span>);
+3582 
+3583 <span class="keyword">if</span> (bpm==0)
+3584    set(handles.uipanel_kicker_machine,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+3585 <span class="keyword">elseif</span> (bpm==1)
+3586     set(handles.uipanel_kicker_machine,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+3587 <span class="keyword">end</span>
+3588 
+3589 
+3590 <span class="comment">% --- Executes on button press in button_save_golden_soft.</span>
+3591 <a name="_sub200" href="#_subfunctions" class="code">function button_save_golden_soft_Callback(hObject, eventdata, handles)</a>
+3592 <span class="comment">% hObject    handle to button_save_golden_soft (see GCBO)</span>
+3593 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3594 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3595 h = questdlg(<span class="string">'Attention, sauvegarde nouvelle golden !!!'</span>);
+3596 
+3597 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3598 
+3599     DirName=handles.DirName;
+3600     [timing]=<a href="get_synchro_rafale.html" class="code" title="function [timing]=get_synchro_rafale(DirName)">get_synchro_rafale</a>(DirName);
+3601     <span class="comment">% sauvegarde</span>
+3602     file=<span class="string">'golden_rafale_soft.mat'</span>;
+3603     <span class="comment">%Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];</span>
+3604     Directory=handles.Directory;
+3605     pwdold = pwd;
+3606     cd(Directory);
+3607     save(file, <span class="string">'timing'</span>);
+3608     cd(pwdold);
+3609 
+3610 <span class="keyword">end</span>
+3611 
+3612 
+3613 <span class="comment">% --- Executes on button press in button_load_golden_soft.</span>
+3614 <a name="_sub201" href="#_subfunctions" class="code">function button_load_golden_soft_Callback(hObject, eventdata, handles)</a>
+3615 <span class="comment">% hObject    handle to button_load_golden_soft (see GCBO)</span>
+3616 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3617 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3618 
+3619 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+3620 set(handles.edit_modes,<span class="string">'String'</span>,<span class="string">'Please WAIT !!!!'</span>)
+3621 Directory=handles.Directory;
+3622 DirName=handles.DirName;
+3623 file=<span class="string">'golden_rafale_soft.mat'</span>;
+3624 <a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>(Directory,file,DirName)
+3625 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>)
+3626 <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3627 
+3628 
+3629 <span class="comment">% --- Executes on button press in button_load_golden_3Hz.</span>
+3630 <a name="_sub202" href="#_subfunctions" class="code">function button_load_golden_3Hz_Callback(hObject, eventdata, handles)</a>
+3631 <span class="comment">% hObject    handle to button_load_golden_3Hz (see GCBO)</span>
+3632 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3633 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3634 
+3635 [etat_central]=<a href="#_sub185" class="code" title="subfunction  [etat]=test_central_mode(handles)">test_central_mode</a>(handles);
+3636 h=<span class="string">'Yes'</span>;
+3637 <span class="keyword">if</span> strcmp(etat_central,<span class="string">'Continu'</span>)
+3638     h = questdlg(<span class="string">'Attention, Trigger en mode continu'</span>);
+3639 <span class="keyword">end</span>
+3640 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3641     set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+3642     set(handles.edit_modes,<span class="string">'String'</span>,<span class="string">'Please WAIT !!!!'</span>)
+3643     Directory=handles.Directory;
+3644     DirName=handles.DirName;
+3645     file=<span class="string">'golden_rafale_3Hz.mat'</span>;
+3646     <a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>(Directory,file,DirName)
+3647     set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>)
+3648     <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3649 <span class="keyword">end</span>
+3650 
+3651 <span class="comment">% --- Executes on button press in button_save_golden_3Hz.</span>
+3652 <a name="_sub203" href="#_subfunctions" class="code">function button_save_golden_3Hz_Callback(hObject, eventdata, handles)</a>
+3653 <span class="comment">% hObject    handle to button_save_golden_3Hz (see GCBO)</span>
+3654 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3655 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3656 h = questdlg(<span class="string">'Attention, sauvegarde nouvelle golden !!!'</span>);
+3657 
+3658 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3659     
+3660     DirName=handles.DirName;
+3661     [timing]=<a href="get_synchro_rafale.html" class="code" title="function [timing]=get_synchro_rafale(DirName)">get_synchro_rafale</a>(DirName);
+3662     <span class="comment">% sauvegarde</span>
+3663     file=<span class="string">'golden_rafale_3Hz.mat'</span>;
+3664     <span class="comment">%Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];</span>
+3665     Directory=handles.Directory;
+3666     pwdold = pwd;
+3667     cd(Directory);
+3668     save(file, <span class="string">'timing'</span>);
+3669     cd(pwdold);
+3670 
+3671 <span class="keyword">end</span>
+3672 
+3673 <span class="comment">% --- Executes on button press in button_load_golden_3Hz_66MeV.</span>
+3674 <a name="_sub204" href="#_subfunctions" class="code">function button_load_golden_3Hz_66MeV_Callback(hObject, eventdata, handles)</a>
+3675 <span class="comment">% hObject    handle to button_load_golden_3Hz_66MeV (see GCBO)</span>
+3676 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3677 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3678 [etat_central]=<a href="#_sub185" class="code" title="subfunction  [etat]=test_central_mode(handles)">test_central_mode</a>(handles);
+3679 h=<span class="string">'Yes'</span>;
+3680 <span class="keyword">if</span> strcmp(etat_central,<span class="string">'Continu'</span>)
+3681     h = questdlg(<span class="string">'Attention, Trigger en mode continu'</span>);
+3682 <span class="keyword">end</span>
+3683 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3684     set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+3685     set(handles.edit_modes,<span class="string">'String'</span>,<span class="string">'Please WAIT !!!!'</span>)
+3686     Directory=handles.Directory;
+3687     DirName=handles.DirName;
+3688     file=<span class="string">'golden_rafale_3Hz_66MeV.mat'</span>;
+3689     <a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>(Directory,file,DirName)
+3690     set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>)
+3691     <a href="#_sub190" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3692 <span class="keyword">end</span>
+3693 
+3694 
+3695 <span class="comment">% --- Executes on button press in button_save_golden_66MeV.</span>
+3696 <a name="_sub205" href="#_subfunctions" class="code">function button_save_golden_66MeV_Callback(hObject, eventdata, handles)</a>
+3697 <span class="comment">% hObject    handle to button_save_golden_66MeV (see GCBO)</span>
+3698 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3699 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3700 h = questdlg(<span class="string">'Attention, sauvegarde nouvelle golden 66 MeV!!!'</span>);
+3701 
+3702 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3703 
+3704     DirName=handles.DirName;
+3705     [timing]=<a href="get_synchro_rafale.html" class="code" title="function [timing]=get_synchro_rafale(DirName)">get_synchro_rafale</a>(DirName);
+3706     <span class="comment">% sauvegarde</span>
+3707     file=<span class="string">'golden_rafale_3Hz_66MeV.mat'</span>;
+3708     <span class="comment">%Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];</span>
+3709     Directory=handles.Directory;
+3710     pwdold = pwd;
+3711     cd(Directory);
+3712     save(file, <span class="string">'timing'</span>);
+3713     cd(pwdold);
+3714 
+3715 <span class="keyword">end</span>
+3716</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur8_rafale.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur8_rafale.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_injecteur8_rafale.html	(revision 17)
@@ -0,0 +1,3967 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_injecteur8_rafale</title>
+  <meta name="keywords" content="synchro_injecteur8_rafale">
+  <meta name="description" content="SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_injecteur8_rafale.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_injecteur8_rafale
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_injecteur8_rafale(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig
+      SYNCHRO_INJECTEUR8_RAFALE, by itself, creates a new SYNCHRO_INJECTEUR8_RAFALE or raises the existing
+      singleton*.
+
+      H = SYNCHRO_INJECTEUR8_RAFALE returns the handle to a new SYNCHRO_INJECTEUR8_RAFALE or the handle to
+      the existing singleton*.
+
+      SYNCHRO_INJECTEUR8_RAFALE('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_INJECTEUR8_RAFALE.M with the given input arguments.
+
+      SYNCHRO_INJECTEUR8_RAFALE('Property','Value',...) creates a new SYNCHRO_INJECTEUR8_RAFALE or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_injecteur8_rafale_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_injecteur8_rafale_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li><li><a href="check_boo_synchro.html" class="code" title="function [flag]=check_boo_synchro">check_boo_synchro</a>	Estime amplitude sur tune synchro</li><li><a href="do_update.html" class="code" title="function do_update">do_update</a>	</li><li><a href="fire_injection.html" class="code" title="function [r1,r2]=fire_injection(handles)">fire_injection</a>	</li><li><a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>	fix premier quart</li><li><a href="get_synchro_address.html" class="code" title="function get_synchro_address(handles)">get_synchro_address</a>	</li><li><a href="get_synchro_delay.html" class="code" title="function get_synchro_delay(handles)">get_synchro_delay</a>	</li><li><a href="get_synchro_delay_nooffset.html" class="code" title="function get_synchro_delay_nooffset(handles)">get_synchro_delay_nooffset</a>	</li><li><a href="get_synchro_rafale.html" class="code" title="function [timing]=get_synchro_rafale(DirName)">get_synchro_rafale</a>	step and address</li><li><a href="get_synchro_trigstatus.html" class="code" title="function get_synchro_trigstatus(handles)">get_synchro_trigstatus</a>	</li><li><a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>	</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_injecteur8_rafale_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_injecteur8_rafale_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function boo_alim_dipole_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function boo_alim_qf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function boo_alim_qf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function boo_alim_qd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function boo_alim_qd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function boo_alim_sf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function boo_alim_sf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function boo_alim_sd_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function boo_alim_sd_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function lin_canon_lpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function sdc1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function lin_canon_spm_fin_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function central_spare_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function central_spare_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function central_inj_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function central_inj_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function central_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function central_soft_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function button_acquisition_nooffset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function button_acquisition_delay_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function button_injection_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a></li><li><a href="#_sub51" class="code">function fonction_alex1(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub52" class="code">function fonction_alex2(arg1,arg2,hObject,eventdata,handles)</a></li><li><a href="#_sub53" class="code">function Closinggui(obj, event, handles, figure1)</a></li><li><a href="#_sub54" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub78" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub79" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function central_ext_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function central_ext_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function central_soft1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function central_soft1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function sdc2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub91" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub92" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub93" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub94" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub95" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub96" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub97" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub98" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub99" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub100" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub101" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub102" class="code">function button_acquisition_address_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub103" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub104" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub105" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub106" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub107" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub108" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub109" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub110" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub111" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub112" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub113" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub114" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub115" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub116" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub117" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub118" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub119" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub120" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub121" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub122" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub123" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub124" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub125" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub126" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub127" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub128" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub129" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub130" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub131" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub132" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub133" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub134" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub135" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub136" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub137" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub138" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub139" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub140" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub141" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub142" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub143" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub144" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub145" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub146" class="code">function button_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub147" class="code">function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub148" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub149" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub150" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub151" class="code">function button_fix_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub152" class="code">function edit_Ncycle_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub153" class="code">function edit_Ncycle_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub154" class="code">function edit_Ncoup_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub155" class="code">function edit_Ncoup_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub156" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub157" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub158" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub159" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub160" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub161" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub162" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub163" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub164" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub165" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub166" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub167" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub168" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub169" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub170" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub171" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub172" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub173" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub174" class="code">function lin_canon_spm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub175" class="code">function lin_canon_spm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub176" class="code">function  uipanel_mode_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub177" class="code">function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub178" class="code">function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub179" class="code">function edit_Imin_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub180" class="code">function edit_Imin_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub181" class="code">function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub182" class="code">function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub183" class="code">function uipanel_central_mode_SelectionChangeFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub184" class="code">function  [etat]=test_central_mode(handles)</a></li><li><a href="#_sub185" class="code">function  [etat]=test_injection_mode(handles)</a></li><li><a href="#_sub186" class="code">function  [etat]=test_lpm_spm_mode(handles)</a></li><li><a href="#_sub187" class="code">function  [etat]=test_spm_mode(handles)</a></li><li><a href="#_sub188" class="code">function  [etat]=test_cond_inj(handles)</a></li><li><a href="#_sub189" class="code">function  test_modes(handles)</a></li><li><a href="#_sub190" class="code">function edit_modes_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub191" class="code">function edit_modes_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub192" class="code">function ans_k_pc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub193" class="code">function ans_k_pc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub194" class="code">function ans_k_h_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub195" class="code">function ans_k_h_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub196" class="code">function ans_k_v_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub197" class="code">function ans_k_v_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub198" class="code">function button_kicker_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub199" class="code">function button_save_golden_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub200" class="code">function button_load_golden_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub201" class="code">function button_load_golden_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub202" class="code">function button_save_golden_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub203" class="code">function button_load_golden_3Hz_66MeV_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub204" class="code">function button_save_golden_66MeV_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub205" class="code">function boo_mrsv_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub206" class="code">function boo_mrsv_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub207" class="code">function central_pc_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub208" class="code">function central_pc_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub209" class="code">function lin_alim_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub210" class="code">function lin_alim_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub211" class="code">function ans_nod_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub212" class="code">function ans_nod_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_injecteur8_rafale(varargin)</a>
+0002 <span class="comment">% SYNCHRO_INJECTEUR8_RAFALE M-file for synchro_injecteur8_rafale.fig</span>
+0003 <span class="comment">%      SYNCHRO_INJECTEUR8_RAFALE, by itself, creates a new SYNCHRO_INJECTEUR8_RAFALE or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_INJECTEUR8_RAFALE returns the handle to a new SYNCHRO_INJECTEUR8_RAFALE or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_INJECTEUR8_RAFALE('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_INJECTEUR8_RAFALE.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_INJECTEUR8_RAFALE('Property','Value',...) creates a new SYNCHRO_INJECTEUR8_RAFALE or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_injecteur8_rafale_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_injecteur8_rafale_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% For the compiler</span>
+0024 <span class="comment">%#function aoinit setao setoperationalmode</span>
+0025 <span class="comment">%#function boosterinit</span>
+0026 <span class="comment">%#function magnetcoefficients</span>
+0027 <span class="comment">%</span>
+0028 
+0029 <span class="comment">% Edit the above text to modify the response to help synchro_injecteur8_rafale</span>
+0030 
+0031 <span class="comment">% Last Modified by GUIDE v2.5 18-May-2009 18:08:47</span>
+0032 
+0033 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0034 gui_Singleton = 1;
+0035 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0036                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0037                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_injecteur8_rafale_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_injecteur8_rafale_OpeningFcn</a>, <span class="keyword">...</span>
+0038                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_injecteur8_rafale_OutputFcn(hObject, eventdata, handles)">synchro_injecteur8_rafale_OutputFcn</a>, <span class="keyword">...</span>
+0039                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0040                    <span class="string">'gui_Callback'</span>,   []);
+0041 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0042     gui_State.gui_Callback = str2func(varargin{1});
+0043 <span class="keyword">end</span>
+0044 
+0045 <span class="keyword">if</span> nargout
+0046     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0047 <span class="keyword">else</span>
+0048     gui_mainfcn(gui_State, varargin{:});
+0049 <span class="keyword">end</span>
+0050 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0051 
+0052 
+0053 <span class="comment">% --- Executes just before synchro_injecteur8_rafale is made visible.</span>
+0054 <a name="_sub1" href="#_subfunctions" class="code">function synchro_injecteur8_rafale_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0055 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0056 <span class="comment">% hObject    handle to figure</span>
+0057 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0058 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0059 <span class="comment">% varargin   command line arguments to synchro_injecteur8_rafale (see VARARGIN)</span>
+0060 
+0061 <span class="comment">% Choose default command line output for synchro_injecteur8_rafale</span>
+0062 handles.output = hObject;
+0063 
+0064 <span class="comment">% list les devices annexe pour etat</span>
+0065 fprintf(<span class="string">'Liste devices annexes \n'</span>);
+0066 <span class="comment">% name={'ANS-C03/DG/DCCT','LT1/DG/MC','BOO-C01/DG/DCCT',...</span>
+0067 <span class="comment">%     'ANS/DG/PUB-FillingMode', 'ANS/FC/INJ_COND'};</span>
+0068 name={<span class="string">'ANS/DG/DCCT-CTRL'</span>,<span class="string">'LT1/DG/MC'</span>,<span class="string">'BOO-C01/DG/DCCT'</span>,<span class="keyword">...</span>
+0069     <span class="string">'ANS/DG/PUB-FillingMode'</span>, <span class="string">'ANS/FC/INJ_COND'</span>};
+0070 <span class="keyword">for</span> i=1:4
+0071     <span class="keyword">try</span>
+0072         txt=tango_command_inout2(name{2},<span class="string">'State'</span>);
+0073         <span class="comment">%temp=tango_read_attribute(name{i},'State');</span>
+0074         <span class="comment">%temp=tango_read_attribute(name{i},'Status');txt=temp.value;</span>
+0075     <span class="keyword">catch</span>
+0076         txt=<span class="string">'bug_device'</span>;
+0077     <span class="keyword">end</span>
+0078     fprintf(<span class="string">'%s   :   %s \n'</span>,name{i},txt);
+0079 <span class="keyword">end</span>
+0080 
+0081 <span class="comment">% Added by Laurent</span>
+0082 <span class="keyword">if</span> isdeployed
+0083     cd(getenv(<span class="string">'MLROOT'</span>)); 
+0084     setpathsoleil(<span class="string">'Booster'</span>); 
+0085 <span class="keyword">end</span>
+0086 <span class="comment">% End</span>
+0087 
+0088 <span class="comment">% Directories</span>
+0089 <span class="comment">%Directory='/home/matlabML/measdata/SOLEIL/Boosterdata/Datatemp'; % ALEX</span>
+0090 Directory =  [getfamilydata(<span class="string">'Directory'</span>,<span class="string">'DataRoot'</span>) <span class="string">'../Boosterdata/Datatemp'</span>]; <span class="comment">% Laurent</span>
+0091 handles.Directory=Directory;  <span class="comment">% for saved data</span>
+0092 
+0093 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');</span>
+0094 <span class="comment">% DirName ='/home/matlabML/machine/SOLEIL/common/synchro/'; % ALEX</span>
+0095 DirName = getfamilydata(<span class="string">'Directory'</span>, <span class="string">'Synchro'</span>); <span class="comment">% Laurent</span>
+0096 handles.DirName=DirName;      <span class="comment">% for offset &amp; table</span>
+0097 
+0098 <span class="comment">% Charge les offset</span>
+0099 FileName = [DirName <span class="string">'synchro_offset_lin'</span>];
+0100 fprintf(<span class="string">'Laurent:%s\n'</span>, FileName');
+0101 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0102 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0103 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0104 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+0105 <span class="comment">% Periode linac fin</span>
+0106 handles.lin_fin_step=0.090;                   <span class="comment">% En ns  (90 ps)</span>
+0107 handles.one_bunch=2.84/handles.lin_fin_step;  <span class="comment">% Nombre de pas pour sauter un paquet</span>
+0108 
+0109 <span class="comment">% Periode du trigger par defaut = 10 s</span>
+0110 handles.periode = 10;
+0111 set(handles.periode_edit,<span class="string">'String'</span>,num2str(handles.periode));
+0112 set(handles.edit_Ncycle,<span class="string">'String'</span>,num2str(1));
+0113 set(handles.edit_Ncoup,<span class="string">'String'</span>,1.0);
+0114 
+0115 <span class="comment">%Memorise les dÃÂ©lais spare et soft initiaux</span>
+0116 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprStepDelay'</span>);
+0117 clk1=temp.value(1);
+0118 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0119 clk2=temp.value(1);
+0120 
+0121 <span class="comment">%Stocke les sauts pour les 4 quarts mode LPM</span>
+0122 jump=int32([0 39 26 13]);
+0123 handles.clk_spare  =jump +  int32(clk1);
+0124 handles.clk_soft=jump  + int32(clk2);
+0125 handles.quart=1;
+0126 
+0127 <span class="comment">% Table initiale sur paquet 1</span>
+0128 bunch=[1];
+0129 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+0130 offset_linac=lin_fin/handles.lin_fin_step; 
+0131 bjump=handles.one_bunch;
+0132 dpaquet=dpaquet*bjump+offset_linac;
+0133 handles.table=int32([length(bunch) dtour dpaquet]);
+0134 handles.table0=handles.table;
+0135 handles.bunch=bunch;
+0136 
+0137 handles.mode = <span class="string">'Mode=???'</span>;
+0138 set(handles.edit_filling_relecture_tables,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0139 set(handles.edit_filling_relecture_bunch,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0140 
+0141 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM ou LPM</span>
+0142 <span class="comment">% Verifie le mode central selectionnÃÂ©  : rafale ou continue</span>
+0143 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets</span>
+0144 <span class="comment">% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz</span>
+0145 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+0146 
+0147 
+0148 <span class="comment">% Choix des events</span>
+0149 handles.event0 =int32(0);
+0150 handles.event00=int32(100);  <span class="comment">%SpÃÂ©ciale EP</span>
+0151 
+0152 <span class="comment">% Cache le tableau des dÃÂ©lais BPM</span>
+0153 set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0154 set(handles.uipanel_kicker_machine,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+0155 
+0156 <span class="comment">% text affichage</span>
+0157 handles.txt_inj=  <span class="string">' INJECTION AUTOMATIQUE EN COURS '</span>; <span class="comment">% txt injection auto en cours</span>
+0158 handles.txt_noinj=<span class="string">' INJECTION INTERDITE '</span>;            <span class="comment">% txt injection non autorise (Grp fonctionnement)</span>
+0159 
+0160 <span class="comment">% Publisher - fonctionnement (gere sur injection en boucle)</span>
+0161 tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'mode_auto'</span>,uint8(0))         <span class="comment">% flag injection auto</span>
+0162 tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'courant_consigne'</span>,uint8(0))  <span class="comment">% flag courant consigne atteint</span>
+0163   
+0164 <span class="comment">% tango parser ANS/FC/INJ_COND</span>
+0165 <span class="comment">% temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ');</span>
+0166 <span class="comment">% handles.cond_inj=temp.value;   % 0 no injection,  1 injection</span>
+0167 <span class="comment">% try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection</span>
+0168 <span class="comment">% val=temp.value; catch val=1 ; end ; if val~=0 ; val=1; end;</span>
+0169 <span class="comment">% handles.cond_inj=val;</span>
+0170 
+0171 
+0172 <span class="comment">% Fonction timer pour injection en boucle</span>
+0173 <span class="comment">% Creates timer Infinite loop</span>
+0174 timer2=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0175     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,3,<span class="string">'TasksToExecute'</span>,Inf);
+0176 timer2.TimerFcn = {@<a href="#_sub52" class="code" title="subfunction fonction_alex2(arg1,arg2,hObject,eventdata,handles)">fonction_alex2</a>, hObject,eventdata, handles};
+0177 setappdata(handles.figure1,<span class="string">'Timer2'</span>,timer2);
+0178 
+0179 <span class="comment">% Creates timer Infinite loop</span>
+0180 timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+0181     <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,handles.periode,<span class="string">'TasksToExecute'</span>,Inf);
+0182 timer1.TimerFcn = {@<a href="#_sub51" class="code" title="subfunction fonction_alex1(arg1,arg2,hObject,eventdata,handles)">fonction_alex1</a>, hObject,eventdata, handles};
+0183 setappdata(handles.figure1,<span class="string">'Timer1'</span>,timer1);
+0184 
+0185 <span class="comment">% button group sur on/off timer du trigger</span>
+0186 h = uibuttongroup(<span class="string">'visible'</span>,<span class="string">'off'</span>,<span class="string">'Position'</span>,[0.7275 0.72 0.125 0.145],<span class="keyword">...</span>
+0187     <span class="string">'Title'</span>,<span class="string">''</span>,<span class="string">'TitlePosition'</span>,<span class="string">'centertop'</span>,<span class="keyword">...</span>
+0188     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0189 u1 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' OFF'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton1'</span>,<span class="keyword">...</span>
+0190     <span class="string">'pos'</span>,[05 85 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0191     <span class="string">'BackgroundColor'</span>,[1 0.3 0  ]);
+0192 u2 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' Laps :'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton2'</span>,<span class="keyword">...</span>
+0193     <span class="string">'pos'</span>,[05 45 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0194     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0195 u3 = uicontrol(<span class="string">'Style'</span>,<span class="string">'Radio'</span>,<span class="string">'String'</span>,<span class="string">' Imin :'</span>,<span class="string">'Tag'</span>,<span class="string">'radiobutton3'</span>,<span class="keyword">...</span>
+0196     <span class="string">'pos'</span>,[05 05 55 25],<span class="string">'parent'</span>,h,<span class="string">'HandleVisibility'</span>,<span class="string">'off'</span>,<span class="keyword">...</span>
+0197     <span class="string">'BackgroundColor'</span>,[1 0.3 0 ]);
+0198 
+0199 set(h,<span class="string">'SelectionChangeFcn'</span>,<span class="keyword">...</span>
+0200     {@<a href="#_sub50" class="code" title="subfunction uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)">uibuttongroup_SelectionChangeFcn</a>,handles});
+0201 
+0202 handles.off = u1;
+0203 handles.on1 = u2;
+0204 handles.on2 = u3;
+0205 
+0206 set(h,<span class="string">'SelectedObject'</span>,u1); 
+0207 set(h,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+0208 
+0209 <span class="comment">%% Set closing gui function</span>
+0210 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub53" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer1,handles.figure1});
+0211 set(handles.figure1,<span class="string">'CloseRequestFcn'</span>,{@<a href="#_sub53" class="code" title="subfunction Closinggui(obj, event, handles, figure1)">Closinggui</a>,timer2,handles.figure1});
+0212 
+0213 
+0214 <span class="comment">% Update handles structure</span>
+0215 guidata(hObject, handles);
+0216 
+0217 <span class="comment">% UIWAIT makes synchro_injecteur8_rafale wait for user response (see UIRESUME)</span>
+0218 <span class="comment">% uiwait(handles.figure1);</span>
+0219 
+0220 
+0221 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0222 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_injecteur8_rafale_OutputFcn(hObject, eventdata, handles) </a>
+0223 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0224 <span class="comment">% hObject    handle to figure</span>
+0225 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0226 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0227 
+0228 <span class="comment">% Get default command line output from handles structure</span>
+0229 varargout{1} = handles.output;
+0230 
+0231 
+0232 
+0233 <a name="_sub3" href="#_subfunctions" class="code">function boo_alim_dipole_Callback(hObject, eventdata, handles)</a>
+0234 <span class="comment">% hObject    handle to boo_alim_dipole (see GCBO)</span>
+0235 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0236 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0237 
+0238 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_dipole as text</span>
+0239 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_dipole as a double</span>
+0240 <span class="comment">%h=gcf</span>
+0241 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0242 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'dpTimeDelay'</span>,delay);
+0243 
+0244 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0245 <a name="_sub4" href="#_subfunctions" class="code">function boo_alim_dipole_CreateFcn(hObject, eventdata, handles)</a>
+0246 <span class="comment">% hObject    handle to boo_alim_dipole (see GCBO)</span>
+0247 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0248 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0249 
+0250 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0251 <span class="comment">%       See ISPC and COMPUTER.</span>
+0252 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0253     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0254 <span class="keyword">end</span>
+0255 
+0256 
+0257 <a name="_sub5" href="#_subfunctions" class="code">function boo_alim_qf_Callback(hObject, eventdata, handles)</a>
+0258 <span class="comment">% hObject    handle to boo_alim_qf (see GCBO)</span>
+0259 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0260 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0261 
+0262 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_qf as text</span>
+0263 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_qf as a double</span>
+0264 
+0265 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0266 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qfTimeDelay'</span>,delay);
+0267 
+0268 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0269 <a name="_sub6" href="#_subfunctions" class="code">function boo_alim_qf_CreateFcn(hObject, eventdata, handles)</a>
+0270 <span class="comment">% hObject    handle to boo_alim_qf (see GCBO)</span>
+0271 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0272 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0273 
+0274 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0275 <span class="comment">%       See ISPC and COMPUTER.</span>
+0276 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0277     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0278 <span class="keyword">end</span>
+0279 
+0280 
+0281 
+0282 <a name="_sub7" href="#_subfunctions" class="code">function boo_alim_qd_Callback(hObject, eventdata, handles)</a>
+0283 <span class="comment">% hObject    handle to boo_alim_qd (see GCBO)</span>
+0284 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0285 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0286 
+0287 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_qd as text</span>
+0288 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_qd as a double</span>
+0289 
+0290 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0291 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'qdTimeDelay'</span>,delay);
+0292 
+0293 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0294 <a name="_sub8" href="#_subfunctions" class="code">function boo_alim_qd_CreateFcn(hObject, eventdata, handles)</a>
+0295 <span class="comment">% hObject    handle to boo_alim_qd (see GCBO)</span>
+0296 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0297 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0298 
+0299 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0300 <span class="comment">%       See ISPC and COMPUTER.</span>
+0301 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0302     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0303 <span class="keyword">end</span>
+0304 
+0305 
+0306 
+0307 <a name="_sub9" href="#_subfunctions" class="code">function boo_alim_sf_Callback(hObject, eventdata, handles)</a>
+0308 <span class="comment">% hObject    handle to boo_alim_sf (see GCBO)</span>
+0309 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0310 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0311 
+0312 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_sf as text</span>
+0313 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_sf as a double</span>
+0314 
+0315 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0316 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sfTimeDelay'</span>,delay);
+0317 
+0318 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0319 <a name="_sub10" href="#_subfunctions" class="code">function boo_alim_sf_CreateFcn(hObject, eventdata, handles)</a>
+0320 <span class="comment">% hObject    handle to boo_alim_sf (see GCBO)</span>
+0321 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0322 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0323 
+0324 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0325 <span class="comment">%       See ISPC and COMPUTER.</span>
+0326 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0327     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0328 <span class="keyword">end</span>
+0329 
+0330 
+0331 
+0332 <a name="_sub11" href="#_subfunctions" class="code">function boo_alim_sd_Callback(hObject, eventdata, handles)</a>
+0333 <span class="comment">% hObject    handle to boo_alim_sd (see GCBO)</span>
+0334 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0335 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0336 
+0337 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_alim_sd as text</span>
+0338 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_alim_sd as a double</span>
+0339 
+0340 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0341 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.ALIM.1'</span>, <span class="string">'sdTimeDelay'</span>,delay);
+0342 
+0343 
+0344 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0345 <a name="_sub12" href="#_subfunctions" class="code">function boo_alim_sd_CreateFcn(hObject, eventdata, handles)</a>
+0346 <span class="comment">% hObject    handle to boo_alim_sd (see GCBO)</span>
+0347 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0348 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0349 
+0350 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0351 <span class="comment">%       See ISPC and COMPUTER.</span>
+0352 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0353     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0354 <span class="keyword">end</span>
+0355 
+0356 
+0357 
+0358 <a name="_sub13" href="#_subfunctions" class="code">function boo_rf_Callback(hObject, eventdata, handles)</a>
+0359 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0360 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0361 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0362 
+0363 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_rf as text</span>
+0364 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_rf as a double</span>
+0365 
+0366 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0367 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>, <span class="string">'rfTimeDelay'</span>,delay);
+0368 
+0369 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0370 <a name="_sub14" href="#_subfunctions" class="code">function boo_rf_CreateFcn(hObject, eventdata, handles)</a>
+0371 <span class="comment">% hObject    handle to boo_rf (see GCBO)</span>
+0372 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0373 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0374 
+0375 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0376 <span class="comment">%       See ISPC and COMPUTER.</span>
+0377 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0378     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0379 <span class="keyword">end</span>
+0380 
+0381 
+0382 
+0383 <a name="_sub15" href="#_subfunctions" class="code">function lin_canon_lpm_Callback(hObject, eventdata, handles)</a>
+0384 <span class="comment">% hObject    handle to lin_alim_canon_lpm (see GCBO)</span>
+0385 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0386 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0387 
+0388 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_alim_canon_lpm as text</span>
+0389 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_alim_canon_lpm as a double</span>
+0390 
+0391 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0392 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0393 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+0394 
+0395 
+0396 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0397 <a name="_sub16" href="#_subfunctions" class="code">function lin_canon_lpm_CreateFcn(hObject, eventdata, handles)</a>
+0398 <span class="comment">% hObject    handle to lin_alim_canon_lpm (see GCBO)</span>
+0399 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0400 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0401 
+0402 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0403 <span class="comment">%       See ISPC and COMPUTER.</span>
+0404 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0405     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0406 <span class="keyword">end</span>
+0407 
+0408 
+0409 
+0410 <a name="_sub17" href="#_subfunctions" class="code">function lt1_emittance_Callback(hObject, eventdata, handles)</a>
+0411 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0412 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0413 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0414 
+0415 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_emittance as text</span>
+0416 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_emittance as a double</span>
+0417 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0418 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0419 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+0420 
+0421 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0422 <a name="_sub18" href="#_subfunctions" class="code">function lt1_emittance_CreateFcn(hObject, eventdata, handles)</a>
+0423 <span class="comment">% hObject    handle to lt1_emittance (see GCBO)</span>
+0424 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0425 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0426 
+0427 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0428 <span class="comment">%       See ISPC and COMPUTER.</span>
+0429 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0430     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0431 <span class="keyword">end</span>
+0432 
+0433 
+0434 
+0435 <a name="_sub19" href="#_subfunctions" class="code">function lt1_MC1_Callback(hObject, eventdata, handles)</a>
+0436 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0437 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0438 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0439 
+0440 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC1 as text</span>
+0441 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC1 as a double</span>
+0442 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0443 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0444 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+0445 
+0446 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0447 <a name="_sub20" href="#_subfunctions" class="code">function lt1_MC1_CreateFcn(hObject, eventdata, handles)</a>
+0448 <span class="comment">% hObject    handle to lt1_MC1 (see GCBO)</span>
+0449 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0450 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0451 
+0452 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0453 <span class="comment">%       See ISPC and COMPUTER.</span>
+0454 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0455     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0456 <span class="keyword">end</span>
+0457 
+0458 
+0459 
+0460 <a name="_sub21" href="#_subfunctions" class="code">function lt1_MC2_Callback(hObject, eventdata, handles)</a>
+0461 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0462 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0463 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0464 
+0465 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_MC2 as text</span>
+0466 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_MC2 as a double</span>
+0467 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0468 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0469 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+0470 
+0471 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0472 <a name="_sub22" href="#_subfunctions" class="code">function lt1_MC2_CreateFcn(hObject, eventdata, handles)</a>
+0473 <span class="comment">% hObject    handle to lt1_MC2 (see GCBO)</span>
+0474 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0475 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0476 
+0477 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0478 <span class="comment">%       See ISPC and COMPUTER.</span>
+0479 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0480     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0481 <span class="keyword">end</span>
+0482 
+0483 
+0484 
+0485 <a name="_sub23" href="#_subfunctions" class="code">function lt1_osc_Callback(hObject, eventdata, handles)</a>
+0486 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0487 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0488 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0489 
+0490 <span class="comment">% Hints: get(hObject,'String') returns contents of lt1_osc as text</span>
+0491 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt1_osc as a double</span>
+0492 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0493 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0494 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0495 
+0496 
+0497 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0498 <a name="_sub24" href="#_subfunctions" class="code">function lt1_osc_CreateFcn(hObject, eventdata, handles)</a>
+0499 <span class="comment">% hObject    handle to lt1_osc (see GCBO)</span>
+0500 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0501 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0502 
+0503 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0504 <span class="comment">%       See ISPC and COMPUTER.</span>
+0505 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0506     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0507 <span class="keyword">end</span>
+0508 
+0509 
+0510 
+0511 <a name="_sub25" href="#_subfunctions" class="code">function sdc1_Callback(hObject, eventdata, handles)</a>
+0512 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0513 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0514 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0515 
+0516 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc1 as text</span>
+0517 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc1 as a double</span>
+0518 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0519 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0520 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+0521 
+0522 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0523 <a name="_sub26" href="#_subfunctions" class="code">function sdc1_CreateFcn(hObject, eventdata, handles)</a>
+0524 <span class="comment">% hObject    handle to sdc1 (see GCBO)</span>
+0525 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0526 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0527 
+0528 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0529 <span class="comment">%       See ISPC and COMPUTER.</span>
+0530 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0531     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0532 <span class="keyword">end</span>
+0533 
+0534 
+0535 
+0536 <a name="_sub27" href="#_subfunctions" class="code">function boo_inj_septum_Callback(hObject, eventdata, handles)</a>
+0537 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0538 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0539 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0540 
+0541 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_septum as text</span>
+0542 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_septum as a double</span>
+0543 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0544 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0545 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+0546 
+0547 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0548 <a name="_sub28" href="#_subfunctions" class="code">function boo_inj_septum_CreateFcn(hObject, eventdata, handles)</a>
+0549 <span class="comment">% hObject    handle to boo_inj_septum (see GCBO)</span>
+0550 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0551 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0552 
+0553 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0554 <span class="comment">%       See ISPC and COMPUTER.</span>
+0555 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0556     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0557 <span class="keyword">end</span>
+0558 
+0559 
+0560 
+0561 <a name="_sub29" href="#_subfunctions" class="code">function boo_inj_kicker_Callback(hObject, eventdata, handles)</a>
+0562 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0563 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0564 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0565 
+0566 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_inj_kicker as text</span>
+0567 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_inj_kicker as a double</span>
+0568 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0569 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0570 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+0571 
+0572 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0573 <a name="_sub30" href="#_subfunctions" class="code">function boo_inj_kicker_CreateFcn(hObject, eventdata, handles)</a>
+0574 <span class="comment">% hObject    handle to boo_inj_kicker (see GCBO)</span>
+0575 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0576 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0577 
+0578 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0579 <span class="comment">%       See ISPC and COMPUTER.</span>
+0580 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0581     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0582 <span class="keyword">end</span>
+0583 
+0584 
+0585 
+0586 <a name="_sub31" href="#_subfunctions" class="code">function boo_bpm_Callback(hObject, eventdata, handles)</a>
+0587 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0588 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0589 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0590 
+0591 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_bpm as text</span>
+0592 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_bpm as a double</span>
+0593 
+0594 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0595 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0596 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+0597 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+0598 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+0599 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+0600 
+0601 
+0602 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0603 <a name="_sub32" href="#_subfunctions" class="code">function boo_bpm_CreateFcn(hObject, eventdata, handles)</a>
+0604 <span class="comment">% hObject    handle to boo_bpm (see GCBO)</span>
+0605 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0606 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0607 
+0608 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0609 <span class="comment">%       See ISPC and COMPUTER.</span>
+0610 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0611     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0612 <span class="keyword">end</span>
+0613 
+0614 
+0615 
+0616 <a name="_sub33" href="#_subfunctions" class="code">function boo_nod_Callback(hObject, eventdata, handles)</a>
+0617 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0618 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0619 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0620 
+0621 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_nod as text</span>
+0622 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_nod as a double</span>
+0623 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0624 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0625 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+0626 
+0627 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0628 <a name="_sub34" href="#_subfunctions" class="code">function boo_nod_CreateFcn(hObject, eventdata, handles)</a>
+0629 <span class="comment">% hObject    handle to boo_nod (see GCBO)</span>
+0630 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0631 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0632 
+0633 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0634 <span class="comment">%       See ISPC and COMPUTER.</span>
+0635 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0636     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0637 <span class="keyword">end</span>
+0638 
+0639 
+0640 
+0641 <a name="_sub35" href="#_subfunctions" class="code">function boo_dcct_Callback(hObject, eventdata, handles)</a>
+0642 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0643 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0644 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0645 
+0646 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_dcct as text</span>
+0647 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_dcct as a double</span>
+0648 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0649 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+0650 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booTimeDelay'</span>,delay);
+0651 
+0652 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0653 <a name="_sub36" href="#_subfunctions" class="code">function boo_dcct_CreateFcn(hObject, eventdata, handles)</a>
+0654 <span class="comment">% hObject    handle to boo_dcct (see GCBO)</span>
+0655 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0656 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0657 
+0658 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0659 <span class="comment">%       See ISPC and COMPUTER.</span>
+0660 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0661     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0662 <span class="keyword">end</span>
+0663 
+0664 
+0665 
+0666 <a name="_sub37" href="#_subfunctions" class="code">function lin_canon_spm_fin_Callback(hObject, eventdata, handles)</a>
+0667 <span class="comment">% hObject    handle to lin_alim_canon_spm_fin (see GCBO)</span>
+0668 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0669 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0670 
+0671 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_alim_canon_spm_fin as text</span>
+0672 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_alim_canon_spm_fin as a double</span>
+0673 
+0674 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0675 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+0676 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+0677 
+0678 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');</span>
+0679 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+0680 save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0681 
+0682 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0683 <a name="_sub38" href="#_subfunctions" class="code">function lin_canon_spm_fin_CreateFcn(hObject, eventdata, handles)</a>
+0684 <span class="comment">% hObject    handle to lin_alim_canon_spm_fin (see GCBO)</span>
+0685 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0686 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0687 
+0688 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0689 <span class="comment">%       See ISPC and COMPUTER.</span>
+0690 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0691     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0692 <span class="keyword">end</span>
+0693 
+0694 
+0695 
+0696 <a name="_sub39" href="#_subfunctions" class="code">function central_spare_Callback(hObject, eventdata, handles)</a>
+0697 <span class="comment">% hObject    handle to central_spare (see GCBO)</span>
+0698 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0699 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0700 
+0701 <span class="comment">% Hints: get(hObject,'String') returns contents of central_spare as text</span>
+0702 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_spare as a double</span>
+0703 
+0704 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0705 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>,delay);
+0706 
+0707 <span class="comment">%status soft checked on linac</span>
+0708 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0709 <span class="keyword">if</span> (temp.value(1)==2)
+0710    <span class="comment">%</span>
+0711 <span class="keyword">elseif</span> (temp.value(1)==5)
+0712     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+0713     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+0714     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+0715     delay=dt.value(1)-dt1.value(1)+inj_offset;
+0716     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0717     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+0718     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+0719 <span class="keyword">end</span>
+0720 
+0721 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0722 <a name="_sub40" href="#_subfunctions" class="code">function central_spare_CreateFcn(hObject, eventdata, handles)</a>
+0723 <span class="comment">% hObject    handle to central_spare (see GCBO)</span>
+0724 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0725 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0726 
+0727 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0728 <span class="comment">%       See ISPC and COMPUTER.</span>
+0729 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0730     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0731 <span class="keyword">end</span>
+0732 
+0733 
+0734 
+0735 <a name="_sub41" href="#_subfunctions" class="code">function central_inj_Callback(hObject, eventdata, handles)</a>
+0736 <span class="comment">% hObject    handle to central_inj (see GCBO)</span>
+0737 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0738 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0739 
+0740 <span class="comment">% Hints: get(hObject,'String') returns contents of central_inj as text</span>
+0741 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_inj as a double</span>
+0742 
+0743 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0744 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,delay);
+0745 
+0746 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0747 <a name="_sub42" href="#_subfunctions" class="code">function central_inj_CreateFcn(hObject, eventdata, handles)</a>
+0748 <span class="comment">% hObject    handle to central_inj (see GCBO)</span>
+0749 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0750 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0751 
+0752 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0753 <span class="comment">%       See ISPC and COMPUTER.</span>
+0754 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0755     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0756 <span class="keyword">end</span>
+0757 
+0758 
+0759 
+0760 
+0761 <a name="_sub43" href="#_subfunctions" class="code">function central_soft_Callback(hObject, eventdata, handles)</a>
+0762 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+0763 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0764 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0765 
+0766 <span class="comment">% Hints: get(hObject,'String') returns contents of central_soft as text</span>
+0767 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_soft as a double</span>
+0768 
+0769 delay=str2double(get(hObject,<span class="string">'String'</span>));
+0770 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,delay);
+0771 
+0772 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');</span>
+0773 <span class="comment">% clkinj=int32(temp.value(1)+5*52);</span>
+0774 <span class="comment">% clkext=int32(temp.value(1)/52+10);</span>
+0775 <span class="comment">% tango_write_attribute2('ANS/SY/CENTRAL', 'TInjStepDelay',clkinj);</span>
+0776 <span class="comment">% tango_write_attribute2('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue',clkext);</span>
+0777 <span class="comment">%</span>
+0778 <span class="comment">% %status soft checked on linac</span>
+0779 <span class="comment">% temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareEvent');</span>
+0780 <span class="comment">% if (temp.value(1)==2)</span>
+0781 <span class="comment">%    %</span>
+0782 <span class="comment">% elseif (temp.value(1)==1)</span>
+0783 <span class="comment">%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');</span>
+0784 <span class="comment">%     inj_offset=str2double(get(handles.inj_offset,'String'));</span>
+0785 <span class="comment">%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');</span>
+0786 <span class="comment">%     delay=dt.value(1)-dt1.value(1)+inj_offset;</span>
+0787 <span class="comment">%     tango_write_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+0788 <span class="comment">%     temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay');</span>
+0789 <span class="comment">%     set(handles.lin_alim_modulateur,'String',num2str(temp.value(1)-inj_offset));</span>
+0790 <span class="comment">% end</span>
+0791 
+0792 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0793 <a name="_sub44" href="#_subfunctions" class="code">function central_soft_CreateFcn(hObject, eventdata, handles)</a>
+0794 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+0795 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0796 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0797 
+0798 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0799 <span class="comment">%       See ISPC and COMPUTER.</span>
+0800 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0801     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0802 <span class="keyword">end</span>
+0803 
+0804 
+0805 <span class="comment">% --- Executes on button press in button_acquisition_nooffset.</span>
+0806 <a name="_sub45" href="#_subfunctions" class="code">function button_acquisition_nooffset_Callback(hObject, eventdata, handles)</a>
+0807 <span class="comment">% hObject    handle to button_acquisition_nooffset (see GCBO)</span>
+0808 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0809 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0810 
+0811 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+0812 
+0813 
+0814 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0815 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0816 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0817 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0818 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0819 set(handles.lin_alim,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0820 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0821 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0822 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0823 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0824 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0825 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0826 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0827 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0828 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0829 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0830 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0831 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0832 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0833 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0834 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0835 set(handles.boo_mrsv,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0836 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0837 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0838 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0839 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0840 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0841 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0842 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0843 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0844 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0845 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0846 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0847 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0848 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0849 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0850 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0851 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0852 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0853 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0854 set(handles.ans_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0855 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0856 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0857 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0858 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0859 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0860 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0861 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0862 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0863 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0864 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0865 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0866 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0867 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0868 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0869 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0870 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+0871 
+0872 <a href="get_synchro_delay_nooffset.html" class="code" title="function get_synchro_delay_nooffset(handles)">get_synchro_delay_nooffset</a>(handles)
+0873 n=1;
+0874 
+0875 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'libre.1TimeDelay'</span>);
+0876 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=<span class="string">'Bug device'</span> ; <span class="keyword">end</span>
+0877 set(handles.lin_alim,<span class="string">'String'</span>,txt);
+0878 
+0879 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0880 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0881 set(handles.boo_mrsv,<span class="string">'String'</span>,txt);
+0882 
+0883 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteTimeDelay'</span>);
+0884 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0885 set(handles.ans_nod,<span class="string">'String'</span>,txt);
+0886 
+0887 
+0888 <span class="comment">%status soft checked on linac</span>
+0889 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+0890 <span class="keyword">if</span> (temp.value(n)==2)
+0891     <span class="comment">%set(handles.soft_button,'Value',0);</span>
+0892 <span class="keyword">elseif</span> (temp.value(n)==5)
+0893     <span class="comment">%set(handles.soft_button,'Value',1);</span>
+0894 <span class="keyword">end</span>
+0895 
+0896 <span class="comment">%status tables</span>
+0897 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+0898 offset=temp.value(1)*52;
+0899 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+0900 n=temp.value;
+0901 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+0902 table=temp.value(1:n)-offset;
+0903 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[<span class="string">'T='</span> , num2str(table)]);  
+0904 
+0905 
+0906 
+0907 <span class="comment">% --- Executes on button press in button_acquisition_delay.</span>
+0908 <a name="_sub46" href="#_subfunctions" class="code">function button_acquisition_delay_Callback(hObject, eventdata, handles)</a>
+0909 <span class="comment">% hObject    handle to button_acquisition_delay (see GCBO)</span>
+0910 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0911 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0912 bug_device=<span class="string">'Bug device'</span>;
+0913 
+0914 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+0915 
+0916 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0917 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0918 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0919 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0920 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0921 set(handles.lin_alim,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0922 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0923 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0924 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0925 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0926 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0927 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0928 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0929 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0930 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0931 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0932 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0933 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0934 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0935 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0936 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0937 set(handles.boo_mrsv,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0938 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0939 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0940 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0941 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0942 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0943 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0944 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0945 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0946 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0947 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0948 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0949 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0950 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0951 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0952 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0953 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0954 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0955 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0956 set(handles.ans_nod,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0957 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0958 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0959 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0960 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0961 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0962 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0963 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0964 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0965 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0966 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0967 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0968 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0969 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0970 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0971 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0972 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0973 set(handles.ans_k_pc,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0974 set(handles.ans_k_h,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0975 set(handles.ans_k_v,<span class="string">'Enable'</span>,<span class="string">'on'</span>);
+0976 
+0977 
+0978 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');</span>
+0979 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+0980 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0981 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+0982 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+0983 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+0984 
+0985 <a href="get_synchro_delay.html" class="code" title="function get_synchro_delay(handles)">get_synchro_delay</a>(handles)
+0986 n=1;
+0987 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+0988 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);
+0989 set(handles.central_pc,<span class="string">'String'</span>,num2str(temp.value(n)));
+0990 
+0991 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'libre.1TimeDelay'</span>);
+0992 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=<span class="string">'Bug device'</span> ; <span class="keyword">end</span>
+0993 set(handles.lin_alim,<span class="string">'String'</span>,txt);
+0994 
+0995 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>);
+0996 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+0997 set(handles.boo_mrsv,<span class="string">'String'</span>,txt);
+0998 
+0999 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteTimeDelay'</span>);
+1000 <span class="keyword">try</span> ;txt=num2str(temp.value(n)-ext_offset); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+1001 set(handles.ans_nod,<span class="string">'String'</span>,txt);
+1002 
+1003 
+1004 <span class="comment">%status soft checked on linac</span>
+1005 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+1006 <span class="keyword">if</span> (temp.value(n)==2)
+1007     <span class="comment">%set(handles.soft_button,'Value',0);</span>
+1008 <span class="keyword">elseif</span> (temp.value(n)==5)
+1009     <span class="comment">%set(handles.uipanel_mode,'String','Mode Soft');</span>
+1010 <span class="keyword">end</span>
+1011 
+1012 <span class="comment">%status tables</span>
+1013 <span class="comment">%temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');</span>
+1014 <span class="comment">%offset=temp.value(1)*52;</span>
+1015 offset_linac=10*lin_fin;
+1016 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+1017 n=temp.value;
+1018 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+1019 table_ext=temp.value(1:n); <span class="comment">%-offset_ext;</span>
+1020 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'LinacDelayTable'</span>);
+1021 table_linac=(temp.value(1:n)-offset_linac)/28;
+1022 table=[];
+1023 <span class="keyword">for</span> i=1:n
+1024     table=[table <span class="string">' '</span> <span class="string">'('</span> num2str([table_ext(i)])  <span class="string">' '</span>  num2str([table_linac(i)]) <span class="string">')'</span>];
+1025 <span class="keyword">end</span>
+1026 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+1027 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,<span class="string">'??'</span>);
+1028 
+1029 
+1030 
+1031 <span class="comment">% --- Executes on button press in button_injection_soft.</span>
+1032 <a name="_sub47" href="#_subfunctions" class="code">function button_injection_soft_Callback(hObject, eventdata, handles)</a>
+1033 <span class="comment">% hObject    handle to button_injection_soft (see GCBO)</span>
+1034 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1035 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1036 
+1037 <span class="comment">% verifie si inj autorisÃ©</span>
+1038 <span class="comment">% try temp=tango_read_attribute2('ANS/FC/INJ_COND', 'COND_INJ'); % 0 no injection,  1 injection</span>
+1039 <span class="comment">% val=temp.value; catch val=1 ; end ; if val~=0 ; val=1; end;</span>
+1040 <span class="comment">%</span>
+1041 <span class="comment">% if (val==1)</span>
+1042 <span class="comment">%</span>
+1043 <span class="comment">%     tic</span>
+1044 <span class="comment">%    [r1,r2]=fire_injection(handles);</span>
+1045 <span class="comment">%     toc</span>
+1046 <span class="comment">% else</span>
+1047 <span class="comment">%     % pas d'injection, tir non autorise</span>
+1048 <span class="comment">%     fprintf('%s\n','Gap U20  &lt; limite    dans ANS/EI/GAP_U20_SECURITY');</span>
+1049 <span class="comment">% end</span>
+1050 
+1051 [r1,r2]=<a href="fire_injection.html" class="code" title="function [r1,r2]=fire_injection(handles)">fire_injection</a>(handles);
+1052 
+1053 <span class="comment">% check synchro booster</span>
+1054 <span class="comment">%flag=0 : OK</span>
+1055 <span class="comment">%falg=1 : mauvais delais</span>
+1056 [flag]=<a href="check_boo_synchro.html" class="code" title="function [flag]=check_boo_synchro">check_boo_synchro</a>;
+1057 <span class="keyword">if</span> flag==1 &amp;&amp; r1&gt; 20
+1058     set(handles.central_inj,<span class="string">'Backgroundcolor'</span>, [1 0 0]); <span class="comment">% KO</span>
+1059 <span class="keyword">else</span>
+1060     set(handles.central_inj,<span class="string">'Backgroundcolor'</span>, [1 1 1]); <span class="comment">% OK</span>
+1061 <span class="keyword">end</span>
+1062 
+1063 <span class="comment">% % Warning mauvais rendement booster</span>
+1064 <span class="comment">% if r1 &lt; 90</span>
+1065 <span class="comment">%     set(handles.edit_rboo,'Backgroundcolor', [1 0 0]); % KO</span>
+1066 <span class="comment">%     set(handles.edit_rboo,'Foregroundcolor', [0 0 0]);</span>
+1067 <span class="comment">% else</span>
+1068 <span class="comment">%     set(handles.edit_rboo,'Backgroundcolor', [1 1 1]); % OK</span>
+1069 <span class="comment">%     set(handles.edit_rboo,'Foregroundcolor', [1 0 0]);</span>
+1070 <span class="comment">% end</span>
+1071 
+1072 <span class="comment">%</span>
+1073 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+1074 
+1075 <a name="_sub48" href="#_subfunctions" class="code">function periode_edit_Callback(hObject, eventdata, handles)</a>
+1076 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1077 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1078 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1079 
+1080 <span class="comment">% Hints: get(hObject,'String') returns contents of periode_edit as text</span>
+1081 <span class="comment">%        str2double(get(hObject,'String')) returns contents of periode_edit as a double</span>
+1082 
+1083 val_multishot = get(handles.on1,<span class="string">'Value'</span>);
+1084 
+1085 <span class="keyword">if</span> val_multishot
+1086     errordlg(<span class="string">'positionner le trigger a OFF !'</span>,<span class="string">'Attention'</span>);
+1087     <span class="keyword">return</span>
+1088 <span class="keyword">else</span>
+1089     periode = str2double(get(hObject,<span class="string">'String'</span>));
+1090 
+1091     <span class="comment">% change timer Infinite loop</span>
+1092     timer1=timer(<span class="string">'StartDelay'</span>,1,<span class="keyword">...</span>
+1093         <span class="string">'ExecutionMode'</span>,<span class="string">'fixedRate'</span>,<span class="string">'Period'</span>,periode,<span class="string">'TasksToExecute'</span>,Inf);
+1094     timer1.TimerFcn = {@<a href="#_sub51" class="code" title="subfunction fonction_alex1(arg1,arg2,hObject,eventdata,handles)">fonction_alex1</a>, hObject,eventdata, handles};
+1095     setappdata(handles.figure1,<span class="string">'Timer1'</span>,timer1);
+1096 
+1097     <span class="comment">% Update handles structure</span>
+1098     guidata(hObject, handles);
+1099     
+1100     <span class="comment">%getappdata(handles.figure1,'Timer1')</span>
+1101     
+1102 <span class="keyword">end</span>
+1103 
+1104 
+1105 
+1106 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1107 <a name="_sub49" href="#_subfunctions" class="code">function periode_edit_CreateFcn(hObject, eventdata, handles)</a>
+1108 <span class="comment">% hObject    handle to periode_edit (see GCBO)</span>
+1109 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1110 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1111 
+1112 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1113 <span class="comment">%       See ISPC and COMPUTER.</span>
+1114 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1115     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1116 <span class="keyword">end</span>
+1117 
+1118 <a name="_sub50" href="#_subfunctions" class="code">function uibuttongroup_SelectionChangeFcn(hObject,eventdata,handles)</a>
+1119 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1120 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1121 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1122 
+1123 <span class="comment">%handles = guidata(gcbo);</span>
+1124 timer1 = getappdata(handles.figure1,<span class="string">'Timer1'</span>);
+1125 timer2 = getappdata(handles.figure1,<span class="string">'Timer2'</span>);
+1126 
+1127 <span class="comment">%txt1=' INJECTION EN COURS ';</span>
+1128 
+1129 <span class="keyword">switch</span> get(get(hObject,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>)  <span class="comment">% Get Tag of selected object</span>
+1130     <span class="keyword">case</span> <span class="string">'radiobutton1'</span>
+1131         <span class="comment">% stop du trigger</span>
+1132         stop(timer1);
+1133         stop(timer2);
+1134         set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 0]);
+1135         <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+1136         tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'mode_auto'</span>,uint8(0))
+1137         tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'courant_consigne'</span>,uint8(0))
+1138     <span class="keyword">case</span> <span class="string">'radiobutton2'</span>
+1139         <span class="comment">% dÃÂ©marrage  du trigger 1</span>
+1140         start(timer1);
+1141         set(handles.edit_modes,<span class="string">'String'</span>,handles.txt_inj);
+1142         tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'mode_auto'</span>,uint8(1))
+1143     <span class="keyword">case</span> <span class="string">'radiobutton3'</span>
+1144         <span class="comment">% dÃÂ©marrage du trigger 2</span>
+1145         temp=tango_read_attribute2(<span class="string">'ANS/DG/DCCT-CTRL'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1146         <span class="keyword">if</span> (anscur&gt;1.) 
+1147            start(timer2);      
+1148            set(handles.edit_modes,<span class="string">'String'</span>,handles.txt_inj);
+1149            tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'mode_auto'</span>,uint8(1)) 
+1150         <span class="keyword">else</span>
+1151             <span class="comment">% ne fait rien, en cas de perte faisceau</span>
+1152         <span class="keyword">end</span>
+1153 <span class="keyword">end</span>
+1154 
+1155 
+1156 <a name="_sub51" href="#_subfunctions" class="code">function fonction_alex1(arg1,arg2,hObject,eventdata,handles)</a>
+1157 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1158 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1159 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1160 
+1161 color=get(handles.uipanel6,<span class="string">'Backgroundcolor'</span>);
+1162 <span class="keyword">if</span> color==[1 0.3 0]
+1163     set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 1]);
+1164 <span class="keyword">elseif</span> color==[1 0.3 1]
+1165     set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 0]);
+1166 <span class="keyword">end</span>
+1167 
+1168 <a href="#_sub47" class="code" title="subfunction button_injection_soft_Callback(hObject, eventdata, handles)">button_injection_soft_Callback</a>(hObject,eventdata,handles)
+1169 
+1170 
+1171 <a name="_sub52" href="#_subfunctions" class="code">function fonction_alex2(arg1,arg2,hObject,eventdata,handles)</a>
+1172 <span class="comment">% hObject    handle to uipanel1 (see GCBO)</span>
+1173 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1174 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1175 
+1176 
+1177 temp=tango_read_attribute2(<span class="string">'ANS/DG/DCCT-CTRL'</span>,<span class="string">'current'</span>);anscur=temp.value;
+1178 set(handles.edit_courant_total,<span class="string">'String'</span>, num2str(anscur,<span class="string">'%5.2f'</span>));
+1179 Imin=str2double(get(handles.edit_Imin,<span class="string">'String'</span>));
+1180 
+1181 color=get(handles.uipanel6,<span class="string">'Backgroundcolor'</span>);
+1182 <span class="keyword">if</span> color==[1 0.3 0]
+1183     set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 1]);
+1184 <span class="keyword">elseif</span> color==[1 0.3 1]
+1185     set(handles.uipanel6,<span class="string">'Backgroundcolor'</span>, [1 0.3 0]);
+1186 <span class="keyword">end</span>
+1187 
+1188 
+1189 <span class="keyword">if</span>     (anscur&gt;Imin)
+1190     <span class="comment">%on attend</span>
+1191     <span class="comment">%fprintf('Cur = %g \n',anscur)</span>
+1192     tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>,<span class="string">'courant_consigne'</span>,uint8(1))
+1193 <span class="keyword">else</span>
+1194     <span class="comment">%inject le cycle en cours</span>
+1195     <span class="comment">%fprintf('Cur = %g : Injection \n',anscur)</span>
+1196     <span class="comment">%set(handles.uipanel6,'Backgroundcolor', [1 1 0]);</span>
+1197     <a href="#_sub47" class="code" title="subfunction button_injection_soft_Callback(hObject, eventdata, handles)">button_injection_soft_Callback</a>(hObject, eventdata, handles)
+1198 <span class="keyword">end</span>
+1199 
+1200 
+1201 
+1202 <span class="comment">%% What to do before closing the application</span>
+1203 <a name="_sub53" href="#_subfunctions" class="code">function Closinggui(obj, event, handles, figure1)</a>
+1204 
+1205 <span class="comment">% Get default command line output from handles structure</span>
+1206 answer = questdlg(<span class="string">'Fermer softsynchro ?'</span>,<span class="keyword">...</span>
+1207     <span class="string">'Exit softsynchro'</span>,<span class="keyword">...</span>
+1208     <span class="string">'Yes'</span>,<span class="string">'No'</span>,<span class="string">'Yes'</span>);
+1209 
+1210 <span class="keyword">switch</span> answer
+1211     <span class="keyword">case</span> <span class="string">'Yes'</span>           
+1212         delete(handles); <span class="comment">%Delete Timer</span>
+1213         delete(figure1); <span class="comment">%Close gui</span>
+1214     <span class="keyword">otherwise</span>
+1215         disp(<span class="string">'Closing aborted'</span>)
+1216 <span class="keyword">end</span>
+1217 
+1218 
+1219 
+1220 <span class="comment">% --- Executes on button press in button_softmoins.</span>
+1221 <a name="_sub54" href="#_subfunctions" class="code">function button_softmoins_Callback(hObject, eventdata, handles)</a>
+1222 <span class="comment">% hObject    handle to button_softmoins (see GCBO)</span>
+1223 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1224 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1225 tt=0.6;
+1226 
+1227 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1228 step=temp.value(1)-52;
+1229 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,step);
+1230 pause(2*tt)
+1231 
+1232 <span class="comment">%status soft checked on linac</span>
+1233 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+1234 <span class="keyword">if</span> (temp.value(1)==2)
+1235     pause(tt)
+1236     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1237     set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1238 <span class="keyword">elseif</span> (temp.value(1)==5)
+1239     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1240     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1241     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+1242     delay=dt.value(1)-dt1.value(1)+inj_offset;
+1243     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1244 
+1245     pause(tt)
+1246     <span class="comment">% read again for possible delay</span>
+1247     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1248     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1249     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1250     set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1251 <span class="keyword">end</span>
+1252 
+1253 
+1254 
+1255 <span class="comment">% --- Executes on button press in button_softplus.</span>
+1256 <a name="_sub55" href="#_subfunctions" class="code">function button_softplus_Callback(hObject, eventdata, handles)</a>
+1257 <span class="comment">% hObject    handle to button_softplus (see GCBO)</span>
+1258 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1259 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1260 tt=0.6;
+1261 
+1262 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+1263 step=temp.value(1)+52;
+1264 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,step);
+1265 pause(2*tt)
+1266 
+1267 <span class="comment">%status soft checked on linac</span>
+1268 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+1269 <span class="keyword">if</span> (temp.value(1)==2)
+1270     pause(tt)
+1271     <span class="comment">% read again for possible delay</span>
+1272     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1273     set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1274 <span class="keyword">elseif</span> (temp.value(1)==5)
+1275     dt=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1276     inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1277     dt1=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSprTimeDelay'</span>);
+1278     delay=dt.value(1)-dt1.value(1)+inj_offset;
+1279     tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1280 
+1281     pause(tt)
+1282     <span class="comment">% read again for possible delay</span>
+1283     temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>);
+1284     set(handles.lin_modulateur,<span class="string">'String'</span>,num2str(temp.value(1)-inj_offset));
+1285     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);
+1286     set(handles.central_soft,<span class="string">'String'</span>,num2str(temp.value(1)));
+1287 <span class="keyword">end</span>
+1288 
+1289 
+1290 
+1291 <span class="comment">% --- Executes on button press in button_injmoins.</span>
+1292 <a name="_sub56" href="#_subfunctions" class="code">function button_injmoins_Callback(hObject, eventdata, handles)</a>
+1293 <span class="comment">% hObject    handle to button_injmoins (see GCBO)</span>
+1294 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1295 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1296 tt=0.6;
+1297 
+1298 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>);
+1299 step=temp.value(1)-52;
+1300 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,step);
+1301 pause(2*tt)
+1302 
+1303 <span class="comment">%status soft checked on linac</span>
+1304 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+1305 <span class="keyword">if</span> (temp.value(1)==5)
+1306     pause(tt)
+1307     <span class="comment">% read again for possible delay</span>
+1308     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1309     set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1310 <span class="keyword">elseif</span> (temp.value(1)==2)
+1311 <span class="comment">%    commented With address spare = 2</span>
+1312 <span class="comment">%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');</span>
+1313 <span class="comment">%     inj_offset=str2double(get(handles.inj_offset,'String'));</span>
+1314 <span class="comment">%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');</span>
+1315 <span class="comment">%     delay=dt.value(1)-dt1.value(1)+inj_offset;</span>
+1316 <span class="comment">%     tango_write_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+1317 <span class="comment">%</span>
+1318 <span class="comment">%     pause(tt)</span>
+1319 <span class="comment">%     % read again for possible delay</span>
+1320 <span class="comment">%     temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay');</span>
+1321 <span class="comment">%     set(handles.lin_alim_modulateur,'String',num2str(temp.value(1)-inj_offset));</span>
+1322      temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1323      set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1324 <span class="keyword">end</span>
+1325 
+1326 
+1327 <span class="comment">% --- Executes on button press in button_injplus.</span>
+1328 <a name="_sub57" href="#_subfunctions" class="code">function button_injplus_Callback(hObject, eventdata, handles)</a>
+1329 <span class="comment">% hObject    handle to button_injplus (see GCBO)</span>
+1330 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1331 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1332 tt=0.6;
+1333 
+1334 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>);
+1335 step=temp.value(1)+52;
+1336 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,step);
+1337 pause(2*tt)
+1338 
+1339 <span class="comment">%status soft checked on linac</span>
+1340 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>);
+1341 <span class="keyword">if</span> (temp.value(1)==5)
+1342     pause(tt)
+1343     <span class="comment">% read again for possible delay</span>
+1344     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1345     set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1346 <span class="keyword">elseif</span> (temp.value(1)==2)
+1347 <span class="comment">%    commented With address spare = 2</span>
+1348 <span class="comment">%     dt=tango_read_attribute2('ANS/SY/CENTRAL', 'TInjTimeDelay');</span>
+1349 <span class="comment">%     inj_offset=str2double(get(handles.inj_offset,'String'));</span>
+1350 <span class="comment">%     dt1=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprTimeDelay');</span>
+1351 <span class="comment">%     delay=dt.value(1)-dt1.value(1)+inj_offset;</span>
+1352 <span class="comment">%     tango_write_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+1353 <span class="comment">%</span>
+1354 <span class="comment">%     pause(tt)</span>
+1355 <span class="comment">%     % read again for possible delay</span>
+1356 <span class="comment">%     temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareTimeDelay');</span>
+1357 <span class="comment">%     set(handles.lin_alim_modulateur,'String',num2str(temp.value(1)-inj_offset));</span>
+1358      temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>);
+1359      set(handles.central_inj,<span class="string">'String'</span>,num2str(temp.value(1)));
+1360 <span class="keyword">end</span>
+1361 
+1362 
+1363 
+1364 
+1365 
+1366 
+1367 <a name="_sub58" href="#_subfunctions" class="code">function boo_ext_sept_p_Callback(hObject, eventdata, handles)</a>
+1368 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1369 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1370 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1371 
+1372 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_p as text</span>
+1373 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_p as a double</span>
+1374 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1375 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1376 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1377 
+1378 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1379 <a name="_sub59" href="#_subfunctions" class="code">function boo_ext_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1380 <span class="comment">% hObject    handle to boo_ext_sept_p (see GCBO)</span>
+1381 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1382 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1383 
+1384 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1385 <span class="comment">%       See ISPC and COMPUTER.</span>
+1386 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1387     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1388 <span class="keyword">end</span>
+1389 
+1390 
+1391 <a name="_sub60" href="#_subfunctions" class="code">function boo_ext_dof_Callback(hObject, eventdata, handles)</a>
+1392 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1393 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1394 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1395 
+1396 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_dof as text</span>
+1397 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_dof as a double</span>
+1398 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1399 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1400 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+1401 
+1402 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1403 <a name="_sub61" href="#_subfunctions" class="code">function boo_ext_dof_CreateFcn(hObject, eventdata, handles)</a>
+1404 <span class="comment">% hObject    handle to boo_ext_dof (see GCBO)</span>
+1405 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1406 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1407 
+1408 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1409 <span class="comment">%       See ISPC and COMPUTER.</span>
+1410 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1411     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1412 <span class="keyword">end</span>
+1413 
+1414 
+1415 <a name="_sub62" href="#_subfunctions" class="code">function boo_ext_sept_a_Callback(hObject, eventdata, handles)</a>
+1416 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1417 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1418 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1419 
+1420 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_sept_a as text</span>
+1421 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_sept_a as a double</span>
+1422 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1423 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1424 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1425 
+1426 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1427 <a name="_sub63" href="#_subfunctions" class="code">function boo_ext_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1428 <span class="comment">% hObject    handle to boo_ext_sept_a (see GCBO)</span>
+1429 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1430 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1431 
+1432 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1433 <span class="comment">%       See ISPC and COMPUTER.</span>
+1434 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1435     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1436 <span class="keyword">end</span>
+1437 
+1438 
+1439 
+1440 <a name="_sub64" href="#_subfunctions" class="code">function boo_ext_kicker_Callback(hObject, eventdata, handles)</a>
+1441 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1442 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1443 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1444 
+1445 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_ext_kicker as text</span>
+1446 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_ext_kicker as a double</span>
+1447 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1448 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1449 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1450 
+1451 
+1452 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1453 <a name="_sub65" href="#_subfunctions" class="code">function boo_ext_kicker_CreateFcn(hObject, eventdata, handles)</a>
+1454 <span class="comment">% hObject    handle to boo_ext_kicker (see GCBO)</span>
+1455 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1456 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1457 
+1458 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1459 <span class="comment">%       See ISPC and COMPUTER.</span>
+1460 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1461     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1462 <span class="keyword">end</span>
+1463 
+1464 
+1465 
+1466 <a name="_sub66" href="#_subfunctions" class="code">function ans_inj_sept_p_Callback(hObject, eventdata, handles)</a>
+1467 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1468 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1469 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1470 
+1471 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_p as text</span>
+1472 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_p as a double</span>
+1473 
+1474 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1475 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1476 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1477 
+1478 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1479 <a name="_sub67" href="#_subfunctions" class="code">function ans_inj_sept_p_CreateFcn(hObject, eventdata, handles)</a>
+1480 <span class="comment">% hObject    handle to ans_inj_sept_p (see GCBO)</span>
+1481 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1482 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1483 
+1484 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1485 <span class="comment">%       See ISPC and COMPUTER.</span>
+1486 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1487     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1488 <span class="keyword">end</span>
+1489 
+1490 
+1491 
+1492 <a name="_sub68" href="#_subfunctions" class="code">function ans_inj_sept_a_Callback(hObject, eventdata, handles)</a>
+1493 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1494 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1495 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1496 
+1497 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_sept_a as text</span>
+1498 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_sept_a as a double</span>
+1499 
+1500 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1501 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1502 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+1503 
+1504 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1505 <a name="_sub69" href="#_subfunctions" class="code">function ans_inj_sept_a_CreateFcn(hObject, eventdata, handles)</a>
+1506 <span class="comment">% hObject    handle to ans_inj_sept_a (see GCBO)</span>
+1507 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1508 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1509 
+1510 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1511 <span class="comment">%       See ISPC and COMPUTER.</span>
+1512 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1513     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1514 <span class="keyword">end</span>
+1515 
+1516 
+1517 
+1518 <a name="_sub70" href="#_subfunctions" class="code">function ans_inj_k1_Callback(hObject, eventdata, handles)</a>
+1519 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1520 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1521 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1522 
+1523 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k1 as text</span>
+1524 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k1 as a double</span>
+1525 
+1526 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1527 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1528 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+1529 
+1530 
+1531 
+1532 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1533 <a name="_sub71" href="#_subfunctions" class="code">function ans_inj_k1_CreateFcn(hObject, eventdata, handles)</a>
+1534 <span class="comment">% hObject    handle to ans_inj_k1 (see GCBO)</span>
+1535 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1536 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1537 
+1538 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1539 <span class="comment">%       See ISPC and COMPUTER.</span>
+1540 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1541     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1542 <span class="keyword">end</span>
+1543 
+1544 
+1545 
+1546 <a name="_sub72" href="#_subfunctions" class="code">function ans_inj_k2_Callback(hObject, eventdata, handles)</a>
+1547 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1548 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1549 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1550 
+1551 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k2 as text</span>
+1552 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k2 as a double</span>
+1553 
+1554 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1555 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1556 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+1557 
+1558 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1559 <a name="_sub73" href="#_subfunctions" class="code">function ans_inj_k2_CreateFcn(hObject, eventdata, handles)</a>
+1560 <span class="comment">% hObject    handle to ans_inj_k2 (see GCBO)</span>
+1561 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1562 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1563 
+1564 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1565 <span class="comment">%       See ISPC and COMPUTER.</span>
+1566 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1567     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1568 <span class="keyword">end</span>
+1569 
+1570 
+1571 
+1572 <a name="_sub74" href="#_subfunctions" class="code">function ans_inj_k3_Callback(hObject, eventdata, handles)</a>
+1573 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1574 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1575 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1576 
+1577 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k3 as text</span>
+1578 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k3 as a double</span>
+1579 
+1580 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1581 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1582 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+1583 
+1584 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1585 <a name="_sub75" href="#_subfunctions" class="code">function ans_inj_k3_CreateFcn(hObject, eventdata, handles)</a>
+1586 <span class="comment">% hObject    handle to ans_inj_k3 (see GCBO)</span>
+1587 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1588 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1589 
+1590 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1591 <span class="comment">%       See ISPC and COMPUTER.</span>
+1592 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1593     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1594 <span class="keyword">end</span>
+1595 
+1596 
+1597 
+1598 <a name="_sub76" href="#_subfunctions" class="code">function ans_inj_k4_Callback(hObject, eventdata, handles)</a>
+1599 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1600 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1601 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1602 
+1603 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_inj_k4 as text</span>
+1604 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_inj_k4 as a double</span>
+1605 
+1606 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1607 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1608 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+1609 
+1610 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1611 <a name="_sub77" href="#_subfunctions" class="code">function ans_inj_k4_CreateFcn(hObject, eventdata, handles)</a>
+1612 <span class="comment">% hObject    handle to ans_inj_k4 (see GCBO)</span>
+1613 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1614 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1615 
+1616 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1617 <span class="comment">%       See ISPC and COMPUTER.</span>
+1618 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1619     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1620 <span class="keyword">end</span>
+1621 
+1622 
+1623 
+1624 <a name="_sub78" href="#_subfunctions" class="code">function ans_dcct_Callback(hObject, eventdata, handles)</a>
+1625 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1626 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1627 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1628 
+1629 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_dcct as text</span>
+1630 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_dcct as a double</span>
+1631 
+1632 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1633 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1634 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctTimeDelay'</span>,delay);
+1635 
+1636 
+1637 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1638 <a name="_sub79" href="#_subfunctions" class="code">function ans_dcct_CreateFcn(hObject, eventdata, handles)</a>
+1639 <span class="comment">% hObject    handle to ans_dcct (see GCBO)</span>
+1640 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1641 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1642 
+1643 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1644 <span class="comment">%       See ISPC and COMPUTER.</span>
+1645 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1646     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1647 <span class="keyword">end</span>
+1648 
+1649 
+1650 
+1651 <a name="_sub80" href="#_subfunctions" class="code">function ans_bpm_Callback(hObject, eventdata, handles)</a>
+1652 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1653 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1654 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1655 
+1656 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm as text</span>
+1657 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm as a double</span>
+1658 
+1659 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1660 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1661 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1662 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1663 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1664 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1665 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1666 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1667 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1668 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1669 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1670 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1671 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1672 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1673 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1674 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1675 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1676 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1677 
+1678 
+1679 
+1680 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1681 <a name="_sub81" href="#_subfunctions" class="code">function ans_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1682 <span class="comment">% hObject    handle to ans_bpm (see GCBO)</span>
+1683 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1684 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1685 
+1686 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1687 <span class="comment">%       See ISPC and COMPUTER.</span>
+1688 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1689     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1690 <span class="keyword">end</span>
+1691 
+1692 
+1693 
+1694 <a name="_sub82" href="#_subfunctions" class="code">function central_ext_Callback(hObject, eventdata, handles)</a>
+1695 <span class="comment">% hObject    handle to central_ext (see GCBO)</span>
+1696 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1697 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1698 
+1699 <span class="comment">% Hints: get(hObject,'String') returns contents of central_ext as text</span>
+1700 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_ext as a double</span>
+1701 <span class="comment">%'ANS/SY/CENTRAL', 'ExtractionOffsetTimeValue'</span>
+1702 
+1703 delay=str2double(get(hObject,<span class="string">'String'</span>));
+1704 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetTimeValue'</span>,delay);
+1705 
+1706 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1707 <a name="_sub83" href="#_subfunctions" class="code">function central_ext_CreateFcn(hObject, eventdata, handles)</a>
+1708 <span class="comment">% hObject    handle to central_ext (see GCBO)</span>
+1709 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1710 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1711 
+1712 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1713 <span class="comment">%       See ISPC and COMPUTER.</span>
+1714 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1715     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1716 <span class="keyword">end</span>
+1717 
+1718 
+1719 
+1720 <a name="_sub84" href="#_subfunctions" class="code">function central_soft1_Callback(hObject, eventdata, handles)</a>
+1721 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+1722 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1723 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1724 
+1725 <span class="comment">% Hints: get(hObject,'String') returns contents of central_soft as text</span>
+1726 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_soft as a double</span>
+1727 
+1728 
+1729 
+1730 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1731 <a name="_sub85" href="#_subfunctions" class="code">function central_soft1_CreateFcn(hObject, eventdata, handles)</a>
+1732 <span class="comment">% hObject    handle to central_soft (see GCBO)</span>
+1733 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1734 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1735 
+1736 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1737 <span class="comment">%       See ISPC and COMPUTER.</span>
+1738 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1739     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1740 <span class="keyword">end</span>
+1741 
+1742 
+1743 <span class="comment">% --- Executes on button press in button_extmoins.</span>
+1744 <a name="_sub86" href="#_subfunctions" class="code">function button_extmoins_Callback(hObject, eventdata, handles)</a>
+1745 <span class="comment">% hObject    handle to button_extmoins (see GCBO)</span>
+1746 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1747 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1748 
+1749 dclk=10;
+1750 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1751 step=temp.value(1)-dclk;
+1752 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,int32(step));
+1753 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1754 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(1)));
+1755 
+1756 <span class="comment">% on fait suivre les septa actif</span>
+1757 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>);boo=temp.value(1);
+1758 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>,double(boo-dclk*52*184/2));
+1759 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>);ans=temp.value(1);
+1760 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>,double(ans-dclk*52*184/2))
+1761 
+1762 <span class="comment">% --- Executes on button press in button_extplus.</span>
+1763 <a name="_sub87" href="#_subfunctions" class="code">function button_extplus_Callback(hObject, eventdata, handles)</a>
+1764 <span class="comment">% hObject    handle to button_extplus (see GCBO)</span>
+1765 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1766 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1767 
+1768 dclk=10;
+1769 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+1770 step=temp.value(1)+dclk;
+1771 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>,int32(step));
+1772 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'ExtractionOffsetTimeValue'</span>);
+1773 set(handles.central_ext,<span class="string">'String'</span>,num2str(temp.value(1)));
+1774 
+1775 <span class="comment">% on fait suivre les septa actif</span>
+1776 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>);boo=temp.value(1);
+1777 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigStepDelay'</span>,double(boo+dclk*52*184/2));
+1778 temp=tango_read_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>);ans=temp.value(1);
+1779 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigStepDelay'</span>,double(ans+dclk*52*184/2))
+1780 
+1781 <a name="_sub88" href="#_subfunctions" class="code">function sdc2_Callback(hObject, eventdata, handles)</a>
+1782 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1783 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1784 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1785 
+1786 <span class="comment">% Hints: get(hObject,'String') returns contents of sdc2 as text</span>
+1787 <span class="comment">%        str2double(get(hObject,'String')) returns contents of sdc2 as a double</span>
+1788 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1789 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1790 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1791 
+1792 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1793 <a name="_sub89" href="#_subfunctions" class="code">function sdc2_CreateFcn(hObject, eventdata, handles)</a>
+1794 <span class="comment">% hObject    handle to sdc2 (see GCBO)</span>
+1795 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1796 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1797 
+1798 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1799 <span class="comment">%       See ISPC and COMPUTER.</span>
+1800 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1801     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1802 <span class="keyword">end</span>
+1803 
+1804 
+1805 
+1806 <a name="_sub90" href="#_subfunctions" class="code">function lt2_emittance_Callback(hObject, eventdata, handles)</a>
+1807 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1808 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1809 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1810 
+1811 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_emittance as text</span>
+1812 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_emittance as a double</span>
+1813 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1814 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1815 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+1816 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1817 
+1818 
+1819 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1820 <a name="_sub91" href="#_subfunctions" class="code">function lt2_emittance_CreateFcn(hObject, eventdata, handles)</a>
+1821 <span class="comment">% hObject    handle to lt2_emittance (see GCBO)</span>
+1822 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1823 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1824 
+1825 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1826 <span class="comment">%       See ISPC and COMPUTER.</span>
+1827 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1828     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1829 <span class="keyword">end</span>
+1830 
+1831 
+1832 
+1833 <a name="_sub92" href="#_subfunctions" class="code">function lt2_bpm_Callback(hObject, eventdata, handles)</a>
+1834 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1835 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1836 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1837 
+1838 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_bpm as text</span>
+1839 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_bpm as a double</span>
+1840 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1841 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1842 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+1843 
+1844 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1845 <a name="_sub93" href="#_subfunctions" class="code">function lt2_bpm_CreateFcn(hObject, eventdata, handles)</a>
+1846 <span class="comment">% hObject    handle to lt2_bpm (see GCBO)</span>
+1847 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1848 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1849 
+1850 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1851 <span class="comment">%       See ISPC and COMPUTER.</span>
+1852 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1853     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1854 <span class="keyword">end</span>
+1855 
+1856 
+1857 
+1858 <a name="_sub94" href="#_subfunctions" class="code">function lt2_osc_Callback(hObject, eventdata, handles)</a>
+1859 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+1860 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1861 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1862 
+1863 <span class="comment">% Hints: get(hObject,'String') returns contents of lt2_osc as text</span>
+1864 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lt2_osc as a double</span>
+1865 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1866 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+1867 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+1868 
+1869 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1870 <a name="_sub95" href="#_subfunctions" class="code">function lt2_osc_CreateFcn(hObject, eventdata, handles)</a>
+1871 <span class="comment">% hObject    handle to lt2_osc (see GCBO)</span>
+1872 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1873 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1874 
+1875 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1876 <span class="comment">%       See ISPC and COMPUTER.</span>
+1877 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1878     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1879 <span class="keyword">end</span>
+1880 
+1881 
+1882 
+1883 <a name="_sub96" href="#_subfunctions" class="code">function lin_modulateur_Callback(hObject, eventdata, handles)</a>
+1884 <span class="comment">% hObject    handle to lin_alim_modulateur (see GCBO)</span>
+1885 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1886 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1887 
+1888 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_alim_modulateur as text</span>
+1889 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_alim_modulateur as a double</span>
+1890 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1891 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+1892 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1893 
+1894 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1895 <a name="_sub97" href="#_subfunctions" class="code">function lin_modulateur_CreateFcn(hObject, eventdata, handles)</a>
+1896 <span class="comment">% hObject    handle to lin_alim_modulateur (see GCBO)</span>
+1897 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1898 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1899 
+1900 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1901 <span class="comment">%       See ISPC and COMPUTER.</span>
+1902 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1903     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1904 <span class="keyword">end</span>
+1905 
+1906 
+1907 
+1908 <a name="_sub98" href="#_subfunctions" class="code">function inj_offset_Callback(hObject, eventdata, handles)</a>
+1909 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+1910 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1911 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1912 
+1913 <span class="comment">% Hints: get(hObject,'String') returns contents of inj_offset as text</span>
+1914 <span class="comment">%        str2double(get(hObject,'String')) returns contents of inj_offset as a double</span>
+1915 
+1916 inj_offset=str2double(get(hObject,<span class="string">'String'</span>));
+1917 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+1918 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+1919 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');</span>
+1920 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+1921 save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>)
+1922 
+1923 <span class="comment">%lin_alim</span>
+1924 delay=str2double(get(handles.lin_canon_lpm,<span class="string">'String'</span>))+inj_offset;
+1925 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmTimeDelay'</span>,delay);
+1926 
+1927 delay=str2double(get(handles.lin_canon_spm,<span class="string">'String'</span>))+inj_offset;
+1928 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>,delay);
+1929 
+1930 delay=str2double(get(handles.lin_modulateur,<span class="string">'String'</span>))+inj_offset;
+1931 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+1932 
+1933 delay=str2double(get(handles.sdc1,<span class="string">'String'</span>))+inj_offset;
+1934 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+1935 
+1936 
+1937 <span class="comment">% LT1</span>
+1938 delay=str2double(get(handles.lt1_MC2,<span class="string">'String'</span>))+inj_offset;
+1939 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2TimeDelay'</span>,delay);
+1940 
+1941 delay=str2double(get(handles.lt1_MC1,<span class="string">'String'</span>))+inj_offset;
+1942 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1TimeDelay'</span>,delay);
+1943 
+1944 delay=str2double(get(handles.lt1_emittance,<span class="string">'String'</span>))+inj_offset;
+1945 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+1946 
+1947 delay=str2double(get(handles.lt1_osc,<span class="string">'String'</span>))+inj_offset;
+1948 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscTimeDelay'</span>,delay);
+1949 
+1950 
+1951 <span class="comment">% BOO</span>
+1952 delay=str2double(get(handles.boo_inj_septum,<span class="string">'String'</span>))+inj_offset;
+1953 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+1954 
+1955 delay=str2double(get(handles.boo_inj_kicker,<span class="string">'String'</span>))+inj_offset;
+1956 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+1957 
+1958 delay=str2double(get(handles.boo_bpm,<span class="string">'String'</span>))+inj_offset;
+1959 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigTimeDelay'</span>,delay);
+1960 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigTimeDelay'</span>,delay);
+1961 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigTimeDelay'</span>,delay);
+1962 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigTimeDelay'</span>,delay);
+1963 
+1964 
+1965 delay=str2double(get(handles.boo_nod,<span class="string">'String'</span>))+inj_offset;
+1966 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigTimeDelay'</span>,delay);
+1967 
+1968 <span class="comment">% delay=str2double(get(handles.boo_dcct,'String'))+inj_offset;</span>
+1969 <span class="comment">% tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booTimeDelay',delay);</span>
+1970 
+1971 
+1972 
+1973 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1974 <a name="_sub99" href="#_subfunctions" class="code">function inj_offset_CreateFcn(hObject, eventdata, handles)</a>
+1975 <span class="comment">% hObject    handle to inj_offset (see GCBO)</span>
+1976 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1977 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1978 
+1979 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1980 <span class="comment">%       See ISPC and COMPUTER.</span>
+1981 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1982     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1983 <span class="keyword">end</span>
+1984 
+1985 
+1986 
+1987 <a name="_sub100" href="#_subfunctions" class="code">function ext_offset_Callback(hObject, eventdata, handles)</a>
+1988 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+1989 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1990 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1991 
+1992 <span class="comment">% Hints: get(hObject,'String') returns contents of ext_offset as text</span>
+1993 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ext_offset as a double</span>
+1994 
+1995 ext_offset=str2double(get(hObject,<span class="string">'String'</span>));
+1996 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+1997 lin_fin   =str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>));
+1998 
+1999 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');</span>
+2000 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+2001 save(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+2002 
+2003 
+2004 <span class="comment">%BOO</span>
+2005 delay=str2double(get(handles.boo_ext_dof,<span class="string">'String'</span>))+ext_offset;
+2006 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigTimeDelay'</span>,delay);
+2007 
+2008 delay=str2double(get(handles.boo_ext_sept_p,<span class="string">'String'</span>))+ext_offset;
+2009 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2010 
+2011 delay=str2double(get(handles.boo_ext_sept_a,<span class="string">'String'</span>))+ext_offset;
+2012 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2013 
+2014 delay=str2double(get(handles.boo_ext_kicker,<span class="string">'String'</span>))+ext_offset;
+2015 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigTimeDelay'</span>,delay);
+2016 
+2017 delay=str2double(get(handles.sdc2,<span class="string">'String'</span>))+ext_offset;
+2018 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+2019 
+2020 <span class="comment">%LT2</span>
+2021 delay=str2double(get(handles.lt2_bpm,<span class="string">'String'</span>))+ext_offset;
+2022 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2023 
+2024 delay=str2double(get(handles.lt2_osc,<span class="string">'String'</span>))+ext_offset;
+2025 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctTimeDelay'</span>,delay);
+2026 
+2027 delay=str2double(get(handles.lt2_emittance,<span class="string">'String'</span>))+ext_offset;
+2028 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvTimeDelay'</span>,delay);
+2029 
+2030 <span class="comment">%ANS</span>
+2031 
+2032 delay=str2double(get(handles.ans_inj_sept_a,<span class="string">'String'</span>))+ext_offset;
+2033 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-a.trigTimeDelay'</span>,delay);
+2034 
+2035 delay=str2double(get(handles.ans_inj_sept_p,<span class="string">'String'</span>))+ext_offset;
+2036 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'sep-p.trigTimeDelay'</span>,delay);
+2037 
+2038 delay=str2double(get(handles.ans_inj_k1,<span class="string">'String'</span>))+ext_offset;
+2039 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigTimeDelay'</span>,delay);
+2040 
+2041 delay=str2double(get(handles.ans_inj_k2,<span class="string">'String'</span>))+ext_offset;
+2042 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k2.trigTimeDelay'</span>,delay);
+2043 
+2044 delay=str2double(get(handles.ans_inj_k3,<span class="string">'String'</span>))+ext_offset;
+2045 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k3.trigTimeDelay'</span>,delay);
+2046 
+2047 delay=str2double(get(handles.ans_inj_k4,<span class="string">'String'</span>))+ext_offset;
+2048 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k4.trigTimeDelay'</span>,delay);
+2049 
+2050 
+2051 
+2052 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2053 <a name="_sub101" href="#_subfunctions" class="code">function ext_offset_CreateFcn(hObject, eventdata, handles)</a>
+2054 <span class="comment">% hObject    handle to ext_offset (see GCBO)</span>
+2055 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2056 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2057 
+2058 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2059 <span class="comment">%       See ISPC and COMPUTER.</span>
+2060 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2061     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2062 <span class="keyword">end</span>
+2063 
+2064 
+2065 <span class="comment">% --- Executes on button press in button_acquisition_address.</span>
+2066 <a name="_sub102" href="#_subfunctions" class="code">function button_acquisition_address_Callback(hObject, eventdata, handles)</a>
+2067 <span class="comment">% hObject    handle to button_acquisition_address (see GCBO)</span>
+2068 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2069 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2070 
+2071 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+2072 
+2073 
+2074 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2075 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2076 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2077 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2078 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2079 set(handles.lin_alim,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2080 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2081 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2082 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2083 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2084 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2085 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2086 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2087 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2088 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2089 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2090 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2091 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2092 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2093 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2094 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2095 set(handles.boo_mrsv,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2096 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2097 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2098 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2099 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2100 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2101 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2102 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2103 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2104 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2105 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2106 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2107 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2108 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2109 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2110 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2111 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2112 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2113 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2114 set(handles.ans_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2115 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2116 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2117 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2118 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2119 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2120 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2121 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2122 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2123 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2124 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2125 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2126 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2127 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2128 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2129 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2130 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2131 
+2132 
+2133 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'synchro_offset_lin_alim');</span>
+2134 FileName = [handles.DirName <span class="string">'synchro_offset_lin'</span>];
+2135 load(FileName, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+2136 set(handles.inj_offset,<span class="string">'String'</span>,num2str(inj_offset));
+2137 set(handles.ext_offset,<span class="string">'String'</span>,num2str(ext_offset));
+2138 set(handles.lin_canon_spm_fin,<span class="string">'String'</span>,num2str(lin_fin));
+2139 
+2140 <a href="get_synchro_address.html" class="code" title="function get_synchro_address(handles)">get_synchro_address</a>(handles)
+2141 n=1;
+2142 temp=tango_read_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'libre.1Event'</span>);
+2143 <span class="keyword">try</span> txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=<span class="string">'Bug device'</span> ; <span class="keyword">end</span>
+2144 set(handles.lin_alim,<span class="string">'String'</span>,txt);
+2145 
+2146 temp=tango_read_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>);
+2147 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+2148 set(handles.boo_mrsv,<span class="string">'String'</span>,txt);
+2149 
+2150 temp=tango_read_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteEvent'</span>);
+2151 <span class="keyword">try</span> ;txt=num2str(temp.value(n)); <span class="keyword">catch</span> txt=bug_device ; <span class="keyword">end</span>
+2152 set(handles.ans_nod,<span class="string">'String'</span>,txt);
+2153 
+2154 
+2155 <span class="comment">% --- Executes on button press in button_offinj_moins.</span>
+2156 <a name="_sub103" href="#_subfunctions" class="code">function button_offinj_moins_Callback(hObject, eventdata, handles)</a>
+2157 <span class="comment">% hObject    handle to button_offinj_moins (see GCBO)</span>
+2158 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2159 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2160 
+2161 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2162 step=temp-52*0.52243;
+2163 set(handles.inj_offset,<span class="string">'String'</span>,step);
+2164 <a href="#_sub98" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2165 
+2166 <span class="comment">% --- Executes on button press in button_offinj_plus.</span>
+2167 <a name="_sub104" href="#_subfunctions" class="code">function button_offinj_plus_Callback(hObject, eventdata, handles)</a>
+2168 <span class="comment">% hObject    handle to button_offinj_plus (see GCBO)</span>
+2169 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2170 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2171 
+2172 temp=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+2173 step=temp+52*0.52243;
+2174 set(handles.inj_offset,<span class="string">'String'</span>,step);
+2175 <a href="#_sub98" class="code" title="subfunction inj_offset_Callback(hObject, eventdata, handles)">inj_offset_Callback</a>(handles.inj_offset, eventdata, handles);
+2176 
+2177 <span class="comment">% --- Executes on button press in button_offext_moins.</span>
+2178 <a name="_sub105" href="#_subfunctions" class="code">function button_offext_moins_Callback(hObject, eventdata, handles)</a>
+2179 <span class="comment">% hObject    handle to button_offext_moins (see GCBO)</span>
+2180 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2181 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2182 
+2183 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2184 step=temp-52*0.52243;
+2185 set(handles.ext_offset,<span class="string">'String'</span>,step);
+2186 <a href="#_sub100" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2187 
+2188 <span class="comment">% --- Executes on button press in button_offext_plus.</span>
+2189 <a name="_sub106" href="#_subfunctions" class="code">function button_offext_plus_Callback(hObject, eventdata, handles)</a>
+2190 <span class="comment">% hObject    handle to button_offext_plus (see GCBO)</span>
+2191 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2192 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2193 
+2194 temp=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2195 step=temp+52*0.52243;
+2196 set(handles.ext_offset,<span class="string">'String'</span>,step);
+2197 <a href="#_sub100" class="code" title="subfunction ext_offset_Callback(hObject, eventdata, handles)">ext_offset_Callback</a>(handles.ext_offset, eventdata, handles);
+2198 
+2199 
+2200 <span class="comment">% --- Executes on button press in button_bpm.</span>
+2201 <a name="_sub107" href="#_subfunctions" class="code">function button_bpm_Callback(hObject, eventdata, handles)</a>
+2202 <span class="comment">% hObject    handle to button_bpm (see GCBO)</span>
+2203 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2204 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2205 
+2206 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_bpm</span>
+2207 
+2208 bpm=get(hObject,<span class="string">'Value'</span>);
+2209 
+2210 <span class="keyword">if</span> (bpm==0)
+2211    set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+2212 <span class="keyword">elseif</span> (bpm==1)
+2213     set(handles.panel_bpm,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+2214 <span class="keyword">end</span>
+2215 
+2216 
+2217 
+2218 <a name="_sub108" href="#_subfunctions" class="code">function ans_bpm_c01_Callback(hObject, eventdata, handles)</a>
+2219 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2220 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2221 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2222 
+2223 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c01 as text</span>
+2224 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c01 as a double</span>
+2225 
+2226 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2227 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2228 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2229 
+2230 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2231 <a name="_sub109" href="#_subfunctions" class="code">function ans_bpm_c01_CreateFcn(hObject, eventdata, handles)</a>
+2232 <span class="comment">% hObject    handle to ans_bpm_c01 (see GCBO)</span>
+2233 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2234 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2235 
+2236 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2237 <span class="comment">%       See ISPC and COMPUTER.</span>
+2238 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2239     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2240 <span class="keyword">end</span>
+2241 
+2242 
+2243 <a name="_sub110" href="#_subfunctions" class="code">function ans_bpm_c02_Callback(hObject, eventdata, handles)</a>
+2244 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2245 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2246 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2247 
+2248 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c02 as text</span>
+2249 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c02 as a double</span>
+2250 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2251 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2252 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2253 
+2254 
+2255 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2256 <a name="_sub111" href="#_subfunctions" class="code">function ans_bpm_c02_CreateFcn(hObject, eventdata, handles)</a>
+2257 <span class="comment">% hObject    handle to ans_bpm_c02 (see GCBO)</span>
+2258 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2259 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2260 
+2261 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2262 <span class="comment">%       See ISPC and COMPUTER.</span>
+2263 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2264     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2265 <span class="keyword">end</span>
+2266 
+2267 
+2268 
+2269 <a name="_sub112" href="#_subfunctions" class="code">function ans_bpm_c03_Callback(hObject, eventdata, handles)</a>
+2270 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2271 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2272 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2273 
+2274 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c03 as text</span>
+2275 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c03 as a double</span>
+2276 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2277 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2278 tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2279 
+2280 
+2281 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2282 <a name="_sub113" href="#_subfunctions" class="code">function ans_bpm_c03_CreateFcn(hObject, eventdata, handles)</a>
+2283 <span class="comment">% hObject    handle to ans_bpm_c03 (see GCBO)</span>
+2284 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2285 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2286 
+2287 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2288 <span class="comment">%       See ISPC and COMPUTER.</span>
+2289 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2290     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2291 <span class="keyword">end</span>
+2292 
+2293 
+2294 
+2295 <a name="_sub114" href="#_subfunctions" class="code">function ans_bpm_c04_Callback(hObject, eventdata, handles)</a>
+2296 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2297 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2298 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2299 
+2300 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c04 as text</span>
+2301 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c04 as a double</span>
+2302 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2303 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2304 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2305 
+2306 
+2307 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2308 <a name="_sub115" href="#_subfunctions" class="code">function ans_bpm_c04_CreateFcn(hObject, eventdata, handles)</a>
+2309 <span class="comment">% hObject    handle to ans_bpm_c04 (see GCBO)</span>
+2310 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2311 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2312 
+2313 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2314 <span class="comment">%       See ISPC and COMPUTER.</span>
+2315 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2316     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2317 <span class="keyword">end</span>
+2318 
+2319 
+2320 
+2321 <a name="_sub116" href="#_subfunctions" class="code">function ans_bpm_c05_Callback(hObject, eventdata, handles)</a>
+2322 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2323 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2324 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2325 
+2326 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c05 as text</span>
+2327 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c05 as a double</span>
+2328 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2329 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2330 tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2331 
+2332 
+2333 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2334 <a name="_sub117" href="#_subfunctions" class="code">function ans_bpm_c05_CreateFcn(hObject, eventdata, handles)</a>
+2335 <span class="comment">% hObject    handle to ans_bpm_c05 (see GCBO)</span>
+2336 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2337 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2338 
+2339 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2340 <span class="comment">%       See ISPC and COMPUTER.</span>
+2341 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2342     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2343 <span class="keyword">end</span>
+2344 
+2345 
+2346 
+2347 <a name="_sub118" href="#_subfunctions" class="code">function ans_bpm_c06_Callback(hObject, eventdata, handles)</a>
+2348 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2349 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2350 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2351 
+2352 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c06 as text</span>
+2353 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c06 as a double</span>
+2354 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2355 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2356 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2357 
+2358 
+2359 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2360 <a name="_sub119" href="#_subfunctions" class="code">function ans_bpm_c06_CreateFcn(hObject, eventdata, handles)</a>
+2361 <span class="comment">% hObject    handle to ans_bpm_c06 (see GCBO)</span>
+2362 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2363 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2364 
+2365 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2366 <span class="comment">%       See ISPC and COMPUTER.</span>
+2367 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2368     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2369 <span class="keyword">end</span>
+2370 
+2371 
+2372 
+2373 <a name="_sub120" href="#_subfunctions" class="code">function ans_bpm_c07_Callback(hObject, eventdata, handles)</a>
+2374 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2375 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2376 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2377 
+2378 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c07 as text</span>
+2379 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c07 as a double</span>
+2380 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2381 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2382 tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2383 
+2384 
+2385 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2386 <a name="_sub121" href="#_subfunctions" class="code">function ans_bpm_c07_CreateFcn(hObject, eventdata, handles)</a>
+2387 <span class="comment">% hObject    handle to ans_bpm_c07 (see GCBO)</span>
+2388 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2389 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2390 
+2391 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2392 <span class="comment">%       See ISPC and COMPUTER.</span>
+2393 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2394     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2395 <span class="keyword">end</span>
+2396 
+2397 
+2398 
+2399 <a name="_sub122" href="#_subfunctions" class="code">function ans_bpm_c08_Callback(hObject, eventdata, handles)</a>
+2400 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2401 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2402 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2403 
+2404 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c08 as text</span>
+2405 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c08 as a double</span>
+2406 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2407 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2408 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2409 
+2410 
+2411 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2412 <a name="_sub123" href="#_subfunctions" class="code">function ans_bpm_c08_CreateFcn(hObject, eventdata, handles)</a>
+2413 <span class="comment">% hObject    handle to ans_bpm_c08 (see GCBO)</span>
+2414 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2415 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2416 
+2417 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2418 <span class="comment">%       See ISPC and COMPUTER.</span>
+2419 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2420     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2421 <span class="keyword">end</span>
+2422 
+2423 
+2424 
+2425 <a name="_sub124" href="#_subfunctions" class="code">function ans_bpm_c09_Callback(hObject, eventdata, handles)</a>
+2426 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2427 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2428 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2429 
+2430 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c09 as text</span>
+2431 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c09 as a double</span>
+2432 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2433 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2434 tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2435 
+2436 
+2437 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2438 <a name="_sub125" href="#_subfunctions" class="code">function ans_bpm_c09_CreateFcn(hObject, eventdata, handles)</a>
+2439 <span class="comment">% hObject    handle to ans_bpm_c09 (see GCBO)</span>
+2440 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2441 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2442 
+2443 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2444 <span class="comment">%       See ISPC and COMPUTER.</span>
+2445 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2446     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2447 <span class="keyword">end</span>
+2448 
+2449 
+2450 
+2451 <a name="_sub126" href="#_subfunctions" class="code">function ans_bpm_c10_Callback(hObject, eventdata, handles)</a>
+2452 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2453 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2454 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2455 
+2456 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c10 as text</span>
+2457 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c10 as a double</span>
+2458 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2459 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2460 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2461 
+2462 
+2463 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2464 <a name="_sub127" href="#_subfunctions" class="code">function ans_bpm_c10_CreateFcn(hObject, eventdata, handles)</a>
+2465 <span class="comment">% hObject    handle to ans_bpm_c10 (see GCBO)</span>
+2466 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2467 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2468 
+2469 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2470 <span class="comment">%       See ISPC and COMPUTER.</span>
+2471 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2472     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2473 <span class="keyword">end</span>
+2474 
+2475 
+2476 
+2477 <a name="_sub128" href="#_subfunctions" class="code">function ans_bpm_c11_Callback(hObject, eventdata, handles)</a>
+2478 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2479 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2480 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2481 
+2482 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c11 as text</span>
+2483 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c11 as a double</span>
+2484 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2485 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2486 tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2487 
+2488 
+2489 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2490 <a name="_sub129" href="#_subfunctions" class="code">function ans_bpm_c11_CreateFcn(hObject, eventdata, handles)</a>
+2491 <span class="comment">% hObject    handle to ans_bpm_c11 (see GCBO)</span>
+2492 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2493 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2494 
+2495 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2496 <span class="comment">%       See ISPC and COMPUTER.</span>
+2497 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2498     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2499 <span class="keyword">end</span>
+2500 
+2501 
+2502 
+2503 <a name="_sub130" href="#_subfunctions" class="code">function ans_bpm_c12_Callback(hObject, eventdata, handles)</a>
+2504 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2505 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2506 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2507 
+2508 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c12 as text</span>
+2509 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c12 as a double</span>
+2510 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2511 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2512 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2513 
+2514 
+2515 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2516 <a name="_sub131" href="#_subfunctions" class="code">function ans_bpm_c12_CreateFcn(hObject, eventdata, handles)</a>
+2517 <span class="comment">% hObject    handle to ans_bpm_c12 (see GCBO)</span>
+2518 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2519 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2520 
+2521 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2522 <span class="comment">%       See ISPC and COMPUTER.</span>
+2523 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2524     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2525 <span class="keyword">end</span>
+2526 
+2527 
+2528 
+2529 <a name="_sub132" href="#_subfunctions" class="code">function ans_bpm_c13_Callback(hObject, eventdata, handles)</a>
+2530 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2531 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2532 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2533 
+2534 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c13 as text</span>
+2535 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c13 as a double</span>
+2536 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2537 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2538 tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2539 
+2540 
+2541 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2542 <a name="_sub133" href="#_subfunctions" class="code">function ans_bpm_c13_CreateFcn(hObject, eventdata, handles)</a>
+2543 <span class="comment">% hObject    handle to ans_bpm_c13 (see GCBO)</span>
+2544 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2545 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2546 
+2547 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2548 <span class="comment">%       See ISPC and COMPUTER.</span>
+2549 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2550     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2551 <span class="keyword">end</span>
+2552 
+2553 
+2554 
+2555 <a name="_sub134" href="#_subfunctions" class="code">function ans_bpm_c14_Callback(hObject, eventdata, handles)</a>
+2556 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2557 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2558 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2559 
+2560 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c14 as text</span>
+2561 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c14 as a double</span>
+2562 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2563 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2564 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2565 
+2566 
+2567 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2568 <a name="_sub135" href="#_subfunctions" class="code">function ans_bpm_c14_CreateFcn(hObject, eventdata, handles)</a>
+2569 <span class="comment">% hObject    handle to ans_bpm_c14 (see GCBO)</span>
+2570 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2571 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2572 
+2573 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2574 <span class="comment">%       See ISPC and COMPUTER.</span>
+2575 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2576     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2577 <span class="keyword">end</span>
+2578 
+2579 
+2580 
+2581 <a name="_sub136" href="#_subfunctions" class="code">function ans_bpm_c15_Callback(hObject, eventdata, handles)</a>
+2582 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2583 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2584 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2585 
+2586 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c15 as text</span>
+2587 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c15 as a double</span>
+2588 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2589 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2590 tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2591 
+2592 
+2593 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2594 <a name="_sub137" href="#_subfunctions" class="code">function ans_bpm_c15_CreateFcn(hObject, eventdata, handles)</a>
+2595 <span class="comment">% hObject    handle to ans_bpm_c15 (see GCBO)</span>
+2596 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2597 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2598 
+2599 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2600 <span class="comment">%       See ISPC and COMPUTER.</span>
+2601 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2602     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2603 <span class="keyword">end</span>
+2604 
+2605 
+2606 
+2607 <a name="_sub138" href="#_subfunctions" class="code">function ans_bpm_c16_Callback(hObject, eventdata, handles)</a>
+2608 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2609 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2610 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2611 
+2612 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_bpm_c16 as text</span>
+2613 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_bpm_c16 as a double</span>
+2614 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+2615 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+2616 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigTimeDelay'</span>,delay);
+2617 
+2618 
+2619 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2620 <a name="_sub139" href="#_subfunctions" class="code">function ans_bpm_c16_CreateFcn(hObject, eventdata, handles)</a>
+2621 <span class="comment">% hObject    handle to ans_bpm_c16 (see GCBO)</span>
+2622 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2623 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2624 
+2625 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2626 <span class="comment">%       See ISPC and COMPUTER.</span>
+2627 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2628     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2629 <span class="keyword">end</span>
+2630 
+2631 
+2632 
+2633 <a name="_sub140" href="#_subfunctions" class="code">function edit_filling_relecture_tables_Callback(hObject, eventdata, handles)</a>
+2634 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+2635 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2636 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2637 
+2638 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_tables as text</span>
+2639 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_tables as a double</span>
+2640 
+2641 
+2642 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2643 <a name="_sub141" href="#_subfunctions" class="code">function edit_filling_relecture_tables_CreateFcn(hObject, eventdata, handles)</a>
+2644 <span class="comment">% hObject    handle to edit_filling_relecture_tables (see GCBO)</span>
+2645 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2646 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2647 
+2648 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2649 <span class="comment">%       See ISPC and COMPUTER.</span>
+2650 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2651     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2652 <span class="keyword">end</span>
+2653 
+2654 
+2655 
+2656 <a name="_sub142" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_Callback(hObject, eventdata, handles)</a>
+2657 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+2658 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2659 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2660 
+2661 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_relecture_bunch as text</span>
+2662 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_relecture_bunch as a double</span>
+2663 
+2664 
+2665 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2666 <a name="_sub143" href="#_subfunctions" class="code">function edit_filling_relecture_bunch_CreateFcn(hObject, eventdata, handles)</a>
+2667 <span class="comment">% hObject    handle to edit_filling_relecture_bunch (see GCBO)</span>
+2668 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2669 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2670 
+2671 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2672 <span class="comment">%       See ISPC and COMPUTER.</span>
+2673 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2674     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2675 <span class="keyword">end</span>
+2676 
+2677 
+2678 
+2679 <a name="_sub144" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_Callback(hObject, eventdata, handles)</a>
+2680 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+2681 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2682 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2683 
+2684 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch as text</span>
+2685 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch as a double</span>
+2686 
+2687 <span class="comment">%set(handles.listbox_fillingmode,'value',12);</span>
+2688 <span class="comment">%listbox_fillingmode_Callback;</span>
+2689 
+2690 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2691 <a name="_sub145" href="#_subfunctions" class="code">function edit_filling_entrer_bunch_CreateFcn(hObject, eventdata, handles)</a>
+2692 <span class="comment">% hObject    handle to edit_filling_entrer_bunch (see GCBO)</span>
+2693 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2694 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2695 
+2696 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2697 <span class="comment">%       See ISPC and COMPUTER.</span>
+2698 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2699     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2700 <span class="keyword">end</span>
+2701 
+2702 
+2703 <span class="comment">% --- Executes on button press in button_update.</span>
+2704 <a name="_sub146" href="#_subfunctions" class="code">function button_update_Callback(hObject, eventdata, handles)</a>
+2705 <span class="comment">% hObject    handle to button_update (see GCBO)</span>
+2706 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2707 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2708 
+2709 <a href="do_update.html" class="code" title="function do_update">do_update</a>
+2710 
+2711 <span class="comment">% --- Executes on button press in button_acquisition_trigstatus.</span>
+2712 <a name="_sub147" href="#_subfunctions" class="code">function button_acquisition_trigstatus_Callback(hObject, eventdata, handles)</a>
+2713 <span class="comment">% hObject    handle to button_acquisition_trigstatus (see GCBO)</span>
+2714 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2715 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2716 
+2717 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+2718 
+2719 set(handles.inj_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2720 set(handles.sdc1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2721 set(handles.lin_canon_lpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2722 set(handles.lin_canon_spm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2723 set(handles.lin_canon_spm_fin,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2724 set(handles.lin_alim,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2725 set(handles.boo_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2726 set(handles.lt1_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2727 set(handles.lt1_MC1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2728 set(handles.lt1_MC2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2729 set(handles.lt1_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2730 set(handles.boo_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2731 set(handles.boo_nod,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2732 set(handles.boo_inj_septum,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2733 set(handles.boo_inj_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2734 set(handles.boo_alim_dipole,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2735 set(handles.boo_alim_qf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2736 set(handles.boo_alim_qd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2737 set(handles.boo_alim_sf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2738 set(handles.boo_alim_sd,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2739 set(handles.boo_rf,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2740 set(handles.boo_mrsv,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2741 set(handles.lin_modulateur,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2742 set(handles.ext_offset,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2743 set(handles.boo_ext_dof,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2744 set(handles.boo_ext_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2745 set(handles.boo_ext_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2746 set(handles.boo_ext_kicker,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2747 set(handles.sdc2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2748 set(handles.lt2_emittance,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2749 set(handles.lt2_osc,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2750 set(handles.lt2_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2751 set(handles.ans_inj_k1,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2752 set(handles.ans_inj_k2,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2753 set(handles.ans_inj_k3,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2754 set(handles.ans_inj_k4,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2755 set(handles.ans_inj_sept_p,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2756 set(handles.ans_inj_sept_a,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2757 set(handles.ans_bpm,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2758 set(handles.ans_dcct,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2759 set(handles.ans_bpm_c01,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2760 set(handles.ans_bpm_c02,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2761 set(handles.ans_bpm_c03,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2762 set(handles.ans_bpm_c04,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2763 set(handles.ans_bpm_c05,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2764 set(handles.ans_bpm_c06,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2765 set(handles.ans_bpm_c07,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2766 set(handles.ans_bpm_c08,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2767 set(handles.ans_bpm_c09,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2768 set(handles.ans_bpm_c10,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2769 set(handles.ans_bpm_c11,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2770 set(handles.ans_bpm_c12,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2771 set(handles.ans_bpm_c13,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2772 set(handles.ans_bpm_c14,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2773 set(handles.ans_bpm_c15,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2774 set(handles.ans_bpm_c16,<span class="string">'Enable'</span>,<span class="string">'off'</span>);
+2775 
+2776 <a href="get_synchro_trigstatus.html" class="code" title="function get_synchro_trigstatus(handles)">get_synchro_trigstatus</a>(handles)
+2777 
+2778 
+2779 <span class="comment">% --- Executes on button press in togglebutton2.</span>
+2780 <a name="_sub148" href="#_subfunctions" class="code">function togglebutton2_Callback(hObject, eventdata, handles)</a>
+2781 <span class="comment">% hObject    handle to togglebutton2 (see GCBO)</span>
+2782 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2783 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2784 
+2785 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of togglebutton2</span>
+2786 
+2787 
+2788 <span class="comment">% --- Executes on selection change in listbox_fillingmode.</span>
+2789 <a name="_sub149" href="#_subfunctions" class="code">function listbox_fillingmode_Callback(hObject, eventdata, handles)</a>
+2790 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+2791 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2792 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2793 
+2794 <span class="comment">% Hints: contents = get(hObject,'String') returns listbox_fillingmode contents as cell array</span>
+2795 <span class="comment">%        contents{get(hObject,'Value')} returns selected item from listbox_fillingmode</span>
+2796 pattern=get(hObject,<span class="string">'String'</span>);
+2797 mode=get(hObject,<span class="string">'Value'</span>);
+2798 fprintf(<span class="string">'***************************************************\n'</span>)
+2799 fprintf(<span class="string">'Mode de remplissage sÃÂ©lectionnÃÂ© : %s\n'</span>,pattern{mode})
+2800 fprintf(<span class="string">'***************************************************\n'</span>)
+2801 
+2802 
+2803 <span class="comment">% PrÃÂ©pare les tables pour le 3 Hz</span>
+2804 quart=[1 105 209 313];
+2805 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+2806 offset_ext=temp.value(1)*52;
+2807 offset_linac=str2double(get(handles.lin_canon_spm_fin,<span class="string">'String'</span>)) ;<span class="comment">% dÃÂ©lai fin de rÃÂ©glage en ns</span>
+2808 offset_linac=offset_linac/handles.lin_fin_step;                   <span class="comment">% dÃÂ©lai fin de rÃÂ©glage en pas de handles.lin_fin_step ps</span>
+2809 bjump=handles.one_bunch;
+2810 
+2811 
+2812 <span class="keyword">if</span> (mode&lt;=4)    <span class="comment">%LPM</span>
+2813     bunch=quart(mode);
+2814     fillingmode=<span class="string">'1/4'</span>;
+2815 <span class="keyword">elseif</span> (mode&gt;4)&amp;&amp;(mode&lt;=7) <span class="comment">%LPM</span>
+2816     bunch=quart(1:(mode-3));
+2817     <span class="keyword">if</span> mode==5 ; fillingmode=<span class="string">'1/2'</span>; <span class="keyword">end</span>
+2818     <span class="keyword">if</span> mode==6 ; fillingmode=<span class="string">'3/4'</span>; <span class="keyword">end</span>
+2819     <span class="keyword">if</span> mode==7 ; fillingmode=<span class="string">'4/4'</span>; <span class="keyword">end</span>
+2820 <span class="keyword">elseif</span> (mode==8)    <span class="comment">%LPM</span>
+2821     bunch=[365];      <span class="comment">% SPM hybride</span>
+2822     <span class="comment">%bunch=[0 104+32 2*(104+40)]+1; % spÃÂ©cial 3/4</span>
+2823     fillingmode=<span class="string">'3/4'</span>;
+2824 <span class="keyword">elseif</span> (mode==9)   <span class="comment">% SPM    1 paquet</span>
+2825     bunch=[1];
+2826     fillingmode=<span class="string">'1 bunch'</span>;
+2827 <span class="keyword">elseif</span> (mode==10)  <span class="comment">% SPM    8 paquets</span>
+2828     bunch=[0:7]*52+1;
+2829     fillingmode=<span class="string">'8 bunches'</span>;
+2830 <span class="keyword">elseif</span> (mode==11)  <span class="comment">% SPM    16 paquets</span>
+2831     <span class="comment">%bunch=[0:15]*26+1;</span>
+2832     fillingmode=<span class="string">'16 bunches'</span>;
+2833     <span class="comment">% Ludo, tu remplis bunch ici</span>
+2834      bunch=[1:25];
+2835 <span class="comment">%</span>
+2836     bunch=[bunch  ([1:25]+1*32)];
+2837     bunch=[bunch  ([1:25]+2*32)];
+2838     bunch=[bunch  ([1:25]+3*32)];
+2839     bunch=[bunch  ([1:25]+4*32)];
+2840     bunch=[bunch  ([1:25]+5*32)];
+2841     bunch=[bunch  ([1:25]+6*32)];
+2842     bunch=[bunch  ([1:25]+7*32)];
+2843     bunch=[bunch  ([1:25]+8*32)];
+2844     bunch=[bunch  ([1:25]+9*32)];
+2845     bunch=[bunch  ([1:25]+10*32)];
+2846     bunch=[bunch  ([1:25]+11*32)];
+2847     bunch=[bunch  ([1:25]+12*32)];
+2848     
+2849 <span class="keyword">elseif</span> (mode==12)  <span class="comment">% SPM    n paquets</span>
+2850 <span class="comment">%     bunch=str2num(get(handles.edit_filling_entrer_bunch,'String'));</span>
+2851 <span class="comment">%     if isempty(bunch)</span>
+2852 <span class="comment">%         set(handles.edit_filling_entrer_bunch,'String','Bug format');</span>
+2853 <span class="comment">%     end</span>
+2854 <span class="comment">%     fillingmode='Few bunches';</span>
+2855 
+2856 <span class="comment">%     bunch=[0:12]*32+1;</span>
+2857 <span class="comment">%     fillingmode='3/4';</span>
+2858     
+2859 <span class="comment">%     bunch=[0 136 272]+1;</span>
+2860 <span class="comment">%     fillingmode='LPM spaced 3/4';</span>
+2861 
+2862     bunch=[0 2 4 6]*52+1;
+2863     fillingmode=<span class="string">'LPM 8 pulses'</span>;
+2864 
+2865 <span class="comment">%     bunch=[1 105 209 313  1 105 209];</span>
+2866 <span class="comment">%     fillingmode='3.5/4';</span>
+2867 
+2868 <span class="keyword">elseif</span> (mode==13)  <span class="comment">% SPM    n paquets</span>
+2869 <span class="comment">%     paq=str2num(get(handles.edit_filling_entrer_bunch1,'String'));</span>
+2870 <span class="comment">%     if (length(paq) == 2)</span>
+2871 <span class="comment">%        bunch=paq(1):paq(2);</span>
+2872 <span class="comment">%     else</span>
+2873 <span class="comment">%        set(handles.edit_filling_entrer_bunch1,'String','Bug format')</span>
+2874 <span class="comment">%     end</span>
+2875 <span class="comment">%     fillingmode='Few bunches';</span>
+2876 
+2877     bunch=[1 3 5 7]*52+1 + 8;
+2878     fillingmode=<span class="string">'LPM 8 pulses'</span>;
+2879 <span class="keyword">end</span>
+2880 
+2881 <span class="comment">% Renseigne le filling Mode</span>
+2882 tango_write_attribute2(<span class="string">'ANS/DG/PUB-FillingMode'</span>, <span class="string">'fillingMode'</span>,fillingmode)
+2883 
+2884 <span class="comment">% Charge la longueur de la rafale par dÃÂ©faut sur un cycle</span>
+2885 Ncoup=length(bunch);
+2886 boucle=int16(str2double(get(handles.edit_Ncycle,<span class="string">'String'</span>)));
+2887 <span class="keyword">if</span> Ncoup&gt;=1
+2888     set(handles.edit_Ncoup,<span class="string">'String'</span>,num2str(Ncoup));
+2889     tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'burstSize'</span>,int32(Ncoup*boucle));
+2890 <span class="keyword">end</span>
+2891     
+2892     
+2893 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+2894 dpaquet=dpaquet*bjump+offset_linac;
+2895 table=int32([length(bunch) dtour dpaquet]);
+2896 handles.table=table;
+2897 handles.bunch=bunch;
+2898 
+2899 <span class="comment">%FileName = fullfile(getfamilydata('Directory', 'Synchro'), 'table');</span>
+2900 FileName = [handles.DirName <span class="string">'table.mat'</span>];
+2901 save(FileName, <span class="string">'table'</span>); <span class="comment">% pour palier aux handles via timer non mis ÃÂ  jour !!!!!!</span>
+2902 
+2903 modeinj=<span class="string">'togglebutton_3Hz'</span>;
+2904 <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)  <span class="comment">% on rempli la table sur paquet 1 par dÃÂ©faut, pas utilisÃÂ©e</span>
+2905     table=handles.table0;
+2906     tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+2907     
+2908 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>) <span class="comment">% on rempli la table associÃÂ©e au remplissage</span>
+2909     tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table);
+2910     pause(1); <span class="comment">% mise a jour table ATK</span>
+2911     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+2912     n=temp.value;
+2913     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+2914     table_ext=temp.value(1:n); <span class="comment">%-offset_ext;</span>
+2915     temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'LinacDelayTable'</span>);
+2916     table_linac=(temp.value(1:n)-offset_linac)/bjump;
+2917     table=[];
+2918     <span class="keyword">for</span> i=1:n
+2919         table=[table <span class="string">' '</span> <span class="string">'('</span> num2str([table_ext(i)])  <span class="string">' '</span>  num2str([table_linac(i)]) <span class="string">')'</span>];
+2920     <span class="keyword">end</span>
+2921 <span class="keyword">end</span>
+2922 
+2923 set(handles.edit_filling_relecture_tables,<span class="string">'String'</span>,[num2str(table)]);
+2924 set(handles.edit_filling_relecture_bunch, <span class="string">'String'</span>,[num2str(bunch)]);
+2925 
+2926 
+2927 guidata(hObject, handles);
+2928 
+2929 
+2930 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2931 <a name="_sub150" href="#_subfunctions" class="code">function listbox_fillingmode_CreateFcn(hObject, eventdata, handles)</a>
+2932 <span class="comment">% hObject    handle to listbox_fillingmode (see GCBO)</span>
+2933 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2934 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2935 
+2936 <span class="comment">% Hint: listbox controls usually have a white background on Windows.</span>
+2937 <span class="comment">%       See ISPC and COMPUTER.</span>
+2938 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2939     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2940 <span class="keyword">end</span>
+2941 
+2942 
+2943 <span class="comment">% --- Executes on button press in button_fix.</span>
+2944 <a name="_sub151" href="#_subfunctions" class="code">function button_fix_Callback(hObject, eventdata, handles)</a>
+2945 <span class="comment">% hObject    handle to button_fix (see GCBO)</span>
+2946 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2947 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2948 
+2949 [clk_spare,clk_soft]=<a href="fix_quart.html" class="code" title="function [clk_pc,clk_soft]=fix_quart">fix_quart</a>;
+2950 handles.clk_spare  =clk_spare;
+2951 handles.clk_soft=clk_soft;
+2952 
+2953 <span class="comment">% n=1;</span>
+2954 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSprStepDelay');</span>
+2955 <span class="comment">% clk1=temp.value(n);</span>
+2956 <span class="comment">% temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');</span>
+2957 <span class="comment">% clk2=temp.value(n);</span>
+2958 <span class="comment">%</span>
+2959 <span class="comment">% jump=int32([0 39 26 13]);</span>
+2960 <span class="comment">% handles.clk_spare  =jump +  int32(clk1);</span>
+2961 <span class="comment">% handles.clk_soft=jump  + int32(clk2);</span>
+2962 
+2963 guidata(hObject, handles);
+2964 
+2965 
+2966 
+2967 <a name="_sub152" href="#_subfunctions" class="code">function edit_Ncycle_Callback(hObject, eventdata, handles)</a>
+2968 <span class="comment">% hObject    handle to edit_Ncycle (see GCBO)</span>
+2969 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2970 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2971 
+2972 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Ncycle as text</span>
+2973 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Ncycle as a double</span>
+2974 boucle=str2double(get(hObject,<span class="string">'String'</span>));
+2975 Ncoup=str2double(get(handles.edit_Ncoup,<span class="string">'String'</span>));
+2976 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'burstSize'</span>,int32(Ncoup*boucle));
+2977 
+2978 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+2979 <a name="_sub153" href="#_subfunctions" class="code">function edit_Ncycle_CreateFcn(hObject, eventdata, handles)</a>
+2980 <span class="comment">% hObject    handle to edit_Ncycle (see GCBO)</span>
+2981 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2982 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+2983 
+2984 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+2985 <span class="comment">%       See ISPC and COMPUTER.</span>
+2986 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+2987     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+2988 <span class="keyword">end</span>
+2989 
+2990 
+2991 
+2992 <a name="_sub154" href="#_subfunctions" class="code">function edit_Ncoup_Callback(hObject, eventdata, handles)</a>
+2993 <span class="comment">% hObject    handle to edit_Ncoup (see GCBO)</span>
+2994 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+2995 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+2996 
+2997 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Ncoup as text</span>
+2998 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Ncoup as a double</span>
+2999 Ncoup=str2double(get(hObject,<span class="string">'String'</span>));
+3000 boucle=str2double(get(handles.edit_Ncycle,<span class="string">'String'</span>));
+3001 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'burstSize'</span>,int32(Ncoup*boucle));
+3002 
+3003 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3004 <a name="_sub155" href="#_subfunctions" class="code">function edit_Ncoup_CreateFcn(hObject, eventdata, handles)</a>
+3005 <span class="comment">% hObject    handle to edit_Ncoup (see GCBO)</span>
+3006 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3007 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3008 
+3009 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3010 <span class="comment">%       See ISPC and COMPUTER.</span>
+3011 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3012     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3013 <span class="keyword">end</span>
+3014 
+3015 
+3016 
+3017 <a name="_sub156" href="#_subfunctions" class="code">function edit_qlt1_Callback(hObject, eventdata, handles)</a>
+3018 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+3019 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3020 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3021 
+3022 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_qlt1 as text</span>
+3023 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_qlt1 as a double</span>
+3024 
+3025 
+3026 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3027 <a name="_sub157" href="#_subfunctions" class="code">function edit_qlt1_CreateFcn(hObject, eventdata, handles)</a>
+3028 <span class="comment">% hObject    handle to edit_qlt1 (see GCBO)</span>
+3029 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3030 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3031 
+3032 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3033 <span class="comment">%       See ISPC and COMPUTER.</span>
+3034 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3035     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3036 <span class="keyword">end</span>
+3037 
+3038 
+3039 
+3040 <a name="_sub158" href="#_subfunctions" class="code">function edit_iboo_Callback(hObject, eventdata, handles)</a>
+3041 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+3042 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3043 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3044 
+3045 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_iboo as text</span>
+3046 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_iboo as a double</span>
+3047 
+3048 
+3049 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3050 <a name="_sub159" href="#_subfunctions" class="code">function edit_iboo_CreateFcn(hObject, eventdata, handles)</a>
+3051 <span class="comment">% hObject    handle to edit_iboo (see GCBO)</span>
+3052 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3053 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3054 
+3055 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3056 <span class="comment">%       See ISPC and COMPUTER.</span>
+3057 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3058     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3059 <span class="keyword">end</span>
+3060 
+3061 
+3062 
+3063 <a name="_sub160" href="#_subfunctions" class="code">function edit_dians_Callback(hObject, eventdata, handles)</a>
+3064 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+3065 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3066 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3067 
+3068 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians as text</span>
+3069 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians as a double</span>
+3070 
+3071 
+3072 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3073 <a name="_sub161" href="#_subfunctions" class="code">function edit_dians_CreateFcn(hObject, eventdata, handles)</a>
+3074 <span class="comment">% hObject    handle to edit_dians (see GCBO)</span>
+3075 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3076 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3077 
+3078 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3079 <span class="comment">%       See ISPC and COMPUTER.</span>
+3080 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3081     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3082 <span class="keyword">end</span>
+3083 
+3084 
+3085 
+3086 <a name="_sub162" href="#_subfunctions" class="code">function edit_rlt1_Callback(hObject, eventdata, handles)</a>
+3087 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3088 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3089 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3090 
+3091 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rlt1 as text</span>
+3092 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rlt1 as a double</span>
+3093 
+3094 
+3095 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3096 <a name="_sub163" href="#_subfunctions" class="code">function edit_rlt1_CreateFcn(hObject, eventdata, handles)</a>
+3097 <span class="comment">% hObject    handle to edit_rlt1 (see GCBO)</span>
+3098 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3099 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3100 
+3101 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3102 <span class="comment">%       See ISPC and COMPUTER.</span>
+3103 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3104     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3105 <span class="keyword">end</span>
+3106 
+3107 
+3108 
+3109 <a name="_sub164" href="#_subfunctions" class="code">function edit_rboo_Callback(hObject, eventdata, handles)</a>
+3110 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3111 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3112 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3113 
+3114 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rboo as text</span>
+3115 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rboo as a double</span>
+3116 
+3117 
+3118 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3119 <a name="_sub165" href="#_subfunctions" class="code">function edit_rboo_CreateFcn(hObject, eventdata, handles)</a>
+3120 <span class="comment">% hObject    handle to edit_rboo (see GCBO)</span>
+3121 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3122 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3123 
+3124 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3125 <span class="comment">%       See ISPC and COMPUTER.</span>
+3126 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3127     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3128 <span class="keyword">end</span>
+3129 
+3130 
+3131 
+3132 <a name="_sub166" href="#_subfunctions" class="code">function edit_rans_Callback(hObject, eventdata, handles)</a>
+3133 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3134 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3135 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3136 
+3137 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_rans as text</span>
+3138 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_rans as a double</span>
+3139 
+3140 
+3141 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3142 <a name="_sub167" href="#_subfunctions" class="code">function edit_rans_CreateFcn(hObject, eventdata, handles)</a>
+3143 <span class="comment">% hObject    handle to edit_rans (see GCBO)</span>
+3144 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3145 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3146 
+3147 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3148 <span class="comment">%       See ISPC and COMPUTER.</span>
+3149 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3150     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3151 <span class="keyword">end</span>
+3152 
+3153 
+3154 
+3155 <a name="_sub168" href="#_subfunctions" class="code">function edit_dians1_Callback(hObject, eventdata, handles)</a>
+3156 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3157 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3158 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3159 
+3160 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_dians1 as text</span>
+3161 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_dians1 as a double</span>
+3162 
+3163 
+3164 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3165 <a name="_sub169" href="#_subfunctions" class="code">function edit_dians1_CreateFcn(hObject, eventdata, handles)</a>
+3166 <span class="comment">% hObject    handle to edit_dians1 (see GCBO)</span>
+3167 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3168 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3169 
+3170 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3171 <span class="comment">%       See ISPC and COMPUTER.</span>
+3172 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3173     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3174 <span class="keyword">end</span>
+3175 
+3176 
+3177 
+3178 <a name="_sub170" href="#_subfunctions" class="code">function edit_cycle_Callback(hObject, eventdata, handles)</a>
+3179 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3180 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3181 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3182 
+3183 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_cycle as text</span>
+3184 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_cycle as a double</span>
+3185 
+3186 
+3187 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3188 <a name="_sub171" href="#_subfunctions" class="code">function edit_cycle_CreateFcn(hObject, eventdata, handles)</a>
+3189 <span class="comment">% hObject    handle to edit_cycle (see GCBO)</span>
+3190 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3191 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3192 
+3193 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3194 <span class="comment">%       See ISPC and COMPUTER.</span>
+3195 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3196     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3197 <span class="keyword">end</span>
+3198 
+3199 
+3200 
+3201 <a name="_sub172" href="#_subfunctions" class="code">function edit_courant_total_Callback(hObject, eventdata, handles)</a>
+3202 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3203 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3204 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3205 
+3206 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_courant_total as text</span>
+3207 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_courant_total as a double</span>
+3208 
+3209 
+3210 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3211 <a name="_sub173" href="#_subfunctions" class="code">function edit_courant_total_CreateFcn(hObject, eventdata, handles)</a>
+3212 <span class="comment">% hObject    handle to edit_courant_total (see GCBO)</span>
+3213 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3214 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3215 
+3216 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3217 <span class="comment">%       See ISPC and COMPUTER.</span>
+3218 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3219     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3220 <span class="keyword">end</span>
+3221 
+3222 
+3223 
+3224 <a name="_sub174" href="#_subfunctions" class="code">function lin_canon_spm_Callback(hObject, eventdata, handles)</a>
+3225 <span class="comment">% hObject    handle to lin_alim_canon_spm (see GCBO)</span>
+3226 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3227 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3228 
+3229 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_alim_canon_spm as text</span>
+3230 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_alim_canon_spm as a double</span>
+3231 
+3232 inj_offset=str2double(get(handles.inj_offset,<span class="string">'String'</span>));
+3233 delay=str2double(get(hObject,<span class="string">'String'</span>))+inj_offset;
+3234 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacTimeDelay'</span>,delay);
+3235 
+3236 
+3237 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3238 <a name="_sub175" href="#_subfunctions" class="code">function lin_canon_spm_CreateFcn(hObject, eventdata, handles)</a>
+3239 <span class="comment">% hObject    handle to lin_alim_canon_spm (see GCBO)</span>
+3240 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3241 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3242 
+3243 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3244 <span class="comment">%       See ISPC and COMPUTER.</span>
+3245 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3246     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3247 <span class="keyword">end</span>
+3248 
+3249 
+3250 <a name="_sub176" href="#_subfunctions" class="code">function  uipanel_mode_CreateFcn(hObject, eventdata, handles)</a>
+3251 <span class="comment">% hObject    handle to lin_alim_canon_spm (see GCBO)</span>
+3252 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3253 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3254 
+3255 
+3256 <span class="comment">% % % --------------------------------------------------------------------</span>
+3257 <span class="comment">% function uipanel_mode_SelectionChangeFcn(hObject, eventdata, handles)</span>
+3258 <span class="comment">% % % hObject    handle to uipanel_mode (see GCBO)</span>
+3259 <span class="comment">% % % eventdata  reserved - to be defined in a future version of MATLAB</span>
+3260 <span class="comment">% % % handles    structure with handles and user data (see GUIDATA)</span>
+3261 <span class="comment">%</span>
+3262 <span class="comment">% set(handles.button_injection_soft,'Enable','Off')</span>
+3263 <span class="comment">% set(handles.edit_modes,'String','Please WAIT !!!!')</span>
+3264 <span class="comment">% mode=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');</span>
+3265 <span class="comment">%</span>
+3266 <span class="comment">% switch mode  % Get Tag of selected object</span>
+3267 <span class="comment">%     case 'togglebutton_soft'</span>
+3268 <span class="comment">%         % switch to soft (load golden)</span>
+3269 <span class="comment">%</span>
+3270 <span class="comment">%         Directory=handles.Directory;</span>
+3271 <span class="comment">%         DirName=handles.DirName;</span>
+3272 <span class="comment">%         file='golden_rafale_soft.mat';</span>
+3273 <span class="comment">%         load_synchro_rafale(Directory,file,DirName)</span>
+3274 <span class="comment">%</span>
+3275 <span class="comment">%</span>
+3276 <span class="comment">%         % special septum actif boo et ans</span>
+3277 <span class="comment">%         r=(1-0.0004);</span>
+3278 <span class="comment">%         try</span>
+3279 <span class="comment">%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r</span>
+3280 <span class="comment">%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);</span>
+3281 <span class="comment">%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r</span>
+3282 <span class="comment">%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);</span>
+3283 <span class="comment">%         catch</span>
+3284 <span class="comment">%             display('Erreur ajustement tension septa passif')</span>
+3285 <span class="comment">%         end</span>
+3286 <span class="comment">%         set(handles.edit_Ncoup,'Enable','off');</span>
+3287 <span class="comment">%         tango_command_inout('ANS/SY/CENTRAL','SetTables',handles.table0);</span>
+3288 <span class="comment">%</span>
+3289 <span class="comment">%     case 'togglebutton_3Hz'</span>
+3290 <span class="comment">%         % switch to 3Hz(load golden)</span>
+3291 <span class="comment">%</span>
+3292 <span class="comment">%         Directory=handles.Directory;</span>
+3293 <span class="comment">%         DirName=handles.DirName;</span>
+3294 <span class="comment">%         file='golden_rafale_3Hz.mat';</span>
+3295 <span class="comment">%         load_synchro_rafale(Directory,file,DirName)</span>
+3296 <span class="comment">%</span>
+3297 <span class="comment">%         % special septum actif boo et ans</span>
+3298 <span class="comment">%         r=(1+0.0004);</span>
+3299 <span class="comment">%         try</span>
+3300 <span class="comment">%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r</span>
+3301 <span class="comment">%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);</span>
+3302 <span class="comment">%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');    ans=temp.value(2)*r</span>
+3303 <span class="comment">%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);</span>
+3304 <span class="comment">%         catch</span>
+3305 <span class="comment">%             display('Erreur ajustement tension septa passif')</span>
+3306 <span class="comment">%         end</span>
+3307 <span class="comment">%         set(handles.edit_Ncoup,'Enable','on');</span>
+3308 <span class="comment">%         tango_command_inout('ANS/SY/CENTRAL','SetTables',handles.table);</span>
+3309 <span class="comment">% end</span>
+3310 <span class="comment">%</span>
+3311 <span class="comment">% set(handles.button_injection_soft,'Enable','On')</span>
+3312 <span class="comment">% test_modes(handles);</span>
+3313 <span class="comment">% display('ok change address')</span>
+3314 
+3315 
+3316 
+3317 <a name="_sub177" href="#_subfunctions" class="code">function edit_filling_entrer_bunch1_Callback(hObject, eventdata, handles)</a>
+3318 <span class="comment">% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)</span>
+3319 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3320 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3321 
+3322 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_filling_entrer_bunch1 as text</span>
+3323 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_filling_entrer_bunch1 as a double</span>
+3324 
+3325 
+3326 
+3327 
+3328 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3329 <a name="_sub178" href="#_subfunctions" class="code">function edit_filling_entrer_bunch1_CreateFcn(hObject, eventdata, handles)</a>
+3330 <span class="comment">% hObject    handle to edit_filling_entrer_bunch1 (see GCBO)</span>
+3331 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3332 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3333 
+3334 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3335 <span class="comment">%       See ISPC and COMPUTER.</span>
+3336 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3337     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3338 <span class="keyword">end</span>
+3339 
+3340 
+3341 
+3342 <a name="_sub179" href="#_subfunctions" class="code">function edit_Imin_Callback(hObject, eventdata, handles)</a>
+3343 <span class="comment">% hObject    handle to edit_Imin (see GCBO)</span>
+3344 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3345 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3346 
+3347 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_Imin as text</span>
+3348 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_Imin as a double</span>
+3349 
+3350 
+3351 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3352 <a name="_sub180" href="#_subfunctions" class="code">function edit_Imin_CreateFcn(hObject, eventdata, handles)</a>
+3353 <span class="comment">% hObject    handle to edit_Imin (see GCBO)</span>
+3354 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3355 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3356 
+3357 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3358 <span class="comment">%       See ISPC and COMPUTER.</span>
+3359 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3360     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3361 <span class="keyword">end</span>
+3362 
+3363 
+3364 <span class="comment">% --------------------------------------------------------------------</span>
+3365 <a name="_sub181" href="#_subfunctions" class="code">function uipanel_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3366 <span class="comment">% hObject    handle to uipanel_spm_mode (see GCBO)</span>
+3367 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3368 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3369 
+3370 <span class="comment">%h=get(handles.uipanel_spm_mode);</span>
+3371 <span class="comment">%get(h.Children)</span>
+3372 
+3373 mode=get(get(handles.uipanel_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3374 
+3375 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3376     <span class="keyword">case</span> <span class="string">'spm_mode_1'</span>
+3377         display(<span class="string">'spm_mode_1'</span>)     
+3378         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(1));
+3379     <span class="keyword">case</span> <span class="string">'spm_mode_2'</span>
+3380         display(<span class="string">'spm_mode_2'</span>)  
+3381         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(2));
+3382     <span class="keyword">case</span> <span class="string">'spm_mode_2p'</span>
+3383         display(<span class="string">'spm_mode_2p'</span>)   
+3384         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(3));
+3385     <span class="keyword">case</span> <span class="string">'spm_mode_3'</span>
+3386         display(<span class="string">'spm_mode_3'</span>)    
+3387         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>,int16(4));   
+3388 <span class="keyword">end</span>
+3389 
+3390 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3391 
+3392 <span class="comment">% --------------------------------------------------------------------</span>
+3393 <a name="_sub182" href="#_subfunctions" class="code">function uipanel_lpm_spm_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3394 <span class="comment">% hObject    handle to uipanel_lpm_spm_mode (see GCBO)</span>
+3395 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3396 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3397 
+3398 
+3399 mode=get(get(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3400 <span class="comment">%modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');</span>
+3401 modeinj=<span class="string">'togglebutton_3Hz'</span>;
+3402 event0=int32(0);
+3403 <span class="keyword">if</span>     strcmp(modeinj,<span class="string">'togglebutton_soft'</span>)
+3404     event=int32(5);
+3405 <span class="keyword">elseif</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+3406     event=int32(2);
+3407 <span class="keyword">else</span>
+3408     <span class="comment">%%%</span>
+3409 <span class="keyword">end</span>
+3410 
+3411 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3412     <span class="keyword">case</span> <span class="string">'no_mode'</span>
+3413         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event0); 
+3414         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); 
+3415         
+3416     <span class="keyword">case</span> <span class="string">'lpm_mode'</span>
+3417         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event); 
+3418         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0);     
+3419         
+3420 <span class="comment">%         tango_write_attribute('LT1/AE/CV.2', 'current',  0.058 );</span>
+3421 <span class="comment">%         tango_write_attribute('LT1/AE/CV.3', 'current', -0.119 );</span>
+3422 
+3423     <span class="keyword">case</span> <span class="string">'spm_mode'</span>
+3424         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,event0); 
+3425         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event);   
+3426         
+3427 <span class="comment">%         tango_write_attribute('LT1/AE/CV.2', 'current',  0.058 );</span>
+3428 <span class="comment">%         tango_write_attribute('LT1/AE/CV.3', 'current', -0.119 );</span>
+3429         
+3430 <span class="keyword">end</span>
+3431 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3432 
+3433 
+3434 
+3435 
+3436         
+3437 
+3438 <span class="comment">% --------------------------------------------------------------------</span>
+3439 <a name="_sub183" href="#_subfunctions" class="code">function uipanel_central_mode_SelectionChangeFcn(hObject, eventdata, handles)</a>
+3440 <span class="comment">% hObject    handle to uipanel_central_mode (see GCBO)</span>
+3441 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3442 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3443 
+3444 mode=get(get(handles.uipanel_central_mode,<span class="string">'SelectedObject'</span>),<span class="string">'Tag'</span>);
+3445 <span class="comment">%modeinj=get(get(handles.uipanel_mode,'SelectedObject'),'Tag');</span>
+3446 modeinj=<span class="string">'togglebutton_3Hz'</span>;
+3447 
+3448 h=<span class="string">'Yes'</span>;
+3449 <span class="keyword">if</span> strcmp(mode,<span class="string">'continuous_mode'</span>)
+3450     <span class="keyword">if</span> strcmp(modeinj,<span class="string">'togglebutton_3Hz'</span>)
+3451         h = questdlg(<span class="string">'Attention, dÃ©clenchement continu des Ã©quipements sur adresses 1 2 3'</span>);
+3452     <span class="keyword">end</span>
+3453 <span class="keyword">end</span>
+3454 
+3455 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3456     <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3457         <span class="keyword">case</span> <span class="string">'burst_mode'</span>
+3458             tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'SetBurstMode'</span>);
+3459         <span class="keyword">case</span> <span class="string">'continuous_mode'</span>
+3460             tango_command_inout2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'SetContinuousMode'</span>);
+3461     <span class="keyword">end</span>
+3462 <span class="keyword">end</span>
+3463 pause(1)
+3464 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3465 
+3466 <span class="comment">% [etat_central]=test_central_mode(handles);</span>
+3467 <span class="comment">% h='Yes';</span>
+3468 <span class="comment">% if strcmp(etat_central,'Continu')</span>
+3469 <span class="comment">%     h = questdlg('Attention, Trigger en mode continu');</span>
+3470 <span class="comment">% end</span>
+3471 <span class="comment">% if strcmp(h,'Yes')</span>
+3472 <span class="comment">%     set(handles.button_injection_soft,'Enable','Off')</span>
+3473 <span class="comment">%     set(handles.edit_modes,'String','Please WAIT !!!!')</span>
+3474 <span class="comment">%     file='golden_rafale_3Hz.mat';</span>
+3475 <span class="comment">%     load_synchro_rafale(file)</span>
+3476 <span class="comment">%     set(handles.button_injection_soft,'Enable','On')</span>
+3477 <span class="comment">%     test_modes(handles);</span>
+3478 <span class="comment">% end</span>
+3479 
+3480 
+3481 <a name="_sub184" href="#_subfunctions" class="code">function  [etat]=test_central_mode(handles)</a>
+3482 <span class="comment">% Verifie le mode central selectionnÃÂ©  : rafale ou continue</span>
+3483 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'currentMode'</span>);
+3484 mode=temp.value;
+3485 h=get(handles.uipanel_central_mode);
+3486 <span class="keyword">switch</span> mode  <span class="comment">% Get Tag of selected object</span>
+3487     <span class="keyword">case</span> <span class="string">'BURST'</span>
+3488        set(handles.uipanel_central_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+3489        etat=<span class="string">'Rafale'</span>;
+3490     <span class="keyword">case</span> <span class="string">'CONTINUOUS'</span>
+3491        set(handles.uipanel_central_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+3492        etat=<span class="string">'Continu'</span>;
+3493 <span class="keyword">end</span>
+3494 
+3495 <a name="_sub185" href="#_subfunctions" class="code">function  [etat]=test_injection_mode(handles)</a>
+3496 <span class="comment">% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz</span>
+3497 <span class="comment">%temp=tango_read_attribute2('lin_alim/SY/LOCAL.LPM.1', 'spareEvent');</span>
+3498 etat=<span class="string">'3Hz'</span>;
+3499 
+3500 
+3501 <a name="_sub186" href="#_subfunctions" class="code">function  [etat]=test_lpm_spm_mode(handles)</a>
+3502 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM ou LPM</span>
+3503 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>);
+3504 modelpm=temp.value(1);
+3505 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>);
+3506 modespm=temp.value(1);
+3507 h=get(handles.uipanel_lpm_spm_mode);
+3508 <span class="keyword">if</span>     (modelpm==5)&amp;(modespm==0) | (modelpm==2)&amp;(modespm==0)
+3509     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(2))
+3510     etat=<span class="string">'LPM'</span>;
+3511 <span class="keyword">elseif</span> (modelpm==0)&amp;(modespm==5) | (modelpm==0)&amp;(modespm==2)
+3512     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(1))
+3513     etat=<span class="string">'SPM'</span>;
+3514 <span class="keyword">else</span>
+3515     set(handles.uipanel_lpm_spm_mode,<span class="string">'SelectedObject'</span>,h.Children(3))
+3516     etat=<span class="string">'NONE'</span>;
+3517 <span class="keyword">end</span>
+3518 
+3519 <a name="_sub187" href="#_subfunctions" class="code">function  [etat]=test_spm_mode(handles)</a>
+3520 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets</span>
+3521 temp=tango_read_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'mode'</span>);
+3522 mode=temp.value(1);
+3523 h=get(handles.uipanel_spm_mode);
+3524 select=h.Children(5-mode);
+3525 set(handles.uipanel_spm_mode,<span class="string">'SelectedObject'</span>,select)
+3526 etat=num2str(5-mode);
+3527 
+3528 <a name="_sub188" href="#_subfunctions" class="code">function  [etat]=test_cond_inj(handles)</a>
+3529 <span class="comment">% Verifie si tir autorise  (Grp fonctionnement)</span>
+3530 <span class="keyword">try</span> temp=tango_read_attribute2(<span class="string">'ANS/FC/INJ_COND'</span>, <span class="string">'COND_INJ'</span>); <span class="comment">% 0 no injection,  1 injection</span>
+3531     val=temp.value; <span class="keyword">catch</span> val=1 ; <span class="keyword">end</span>; <span class="keyword">if</span> val~=0 ; val=1; <span class="keyword">end</span>;
+3532 <span class="keyword">if</span> (val==1)
+3533     etat=<span class="string">'TIR AUTORISE'</span>;
+3534 <span class="keyword">else</span>
+3535     etat=<span class="string">'TIR NON AUTORISE'</span>;
+3536 <span class="keyword">end</span>
+3537 
+3538 
+3539 <a name="_sub189" href="#_subfunctions" class="code">function  test_modes(handles)</a>
+3540 <span class="comment">% Verifie le mode central selectionnÃÂ©  : rafale ou continue</span>
+3541 [etat_central]=<a href="#_sub184" class="code" title="subfunction  [etat]=test_central_mode(handles)">test_central_mode</a>(handles);
+3542 <span class="comment">% Verifie le mode d'injection selectionnÃÂ© : soft ou 3Hz</span>
+3543 [etat_injection]=<a href="#_sub185" class="code" title="subfunction  [etat]=test_injection_mode(handles)">test_injection_mode</a>(handles);
+3544 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM ou LPM</span>
+3545 [etat_linac]=<a href="#_sub186" class="code" title="subfunction  [etat]=test_lpm_spm_mode(handles)">test_lpm_spm_mode</a>(handles);
+3546 <span class="comment">% Verifie le mode selectionnÃÂ© en SPM : 1 2 ou 3 paquets</span>
+3547 [etat_linac_spm]=<a href="#_sub187" class="code" title="subfunction  [etat]=test_spm_mode(handles)">test_spm_mode</a>(handles);
+3548 <span class="comment">% VÃ©rifie si injectio autorisee</span>
+3549 <span class="comment">%[etat_inj]=test_cond_inj(handles);</span>
+3550 
+3551 
+3552 <span class="comment">% txt=[etat_inj,'    ####     ', ...</span>
+3553 <span class="comment">%      'CENTRAL : ',etat_central,'   #   INJECTION : ',etat_injection,'   #   LINAC : ',etat_linac];</span>
+3554 txt=[<span class="string">'CENTRAL : '</span>,etat_central,<span class="string">'   #   INJECTION : '</span>,etat_injection,<span class="string">'   #   LINAC : '</span>,etat_linac];
+3555 set(handles.edit_modes,<span class="string">'String'</span>,txt)
+3556 
+3557 
+3558 
+3559 <a name="_sub190" href="#_subfunctions" class="code">function edit_modes_Callback(hObject, eventdata, handles)</a>
+3560 <span class="comment">% hObject    handle to edit_modes (see GCBO)</span>
+3561 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3562 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3563 
+3564 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_modes as text</span>
+3565 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_modes as a double</span>
+3566 
+3567 
+3568 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3569 <a name="_sub191" href="#_subfunctions" class="code">function edit_modes_CreateFcn(hObject, eventdata, handles)</a>
+3570 <span class="comment">% hObject    handle to edit_modes (see GCBO)</span>
+3571 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3572 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3573 
+3574 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3575 <span class="comment">%       See ISPC and COMPUTER.</span>
+3576 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3577     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3578 <span class="keyword">end</span>
+3579 
+3580 <a name="_sub192" href="#_subfunctions" class="code">function ans_k_pc_Callback(hObject, eventdata, handles)</a>
+3581 <span class="comment">% hObject    handle to ans_k_pc (see GCBO)</span>
+3582 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3583 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3584 
+3585 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_k_pc as text</span>
+3586 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_k_pc as a double</span>
+3587 
+3588 
+3589 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3590 <a name="_sub193" href="#_subfunctions" class="code">function ans_k_pc_CreateFcn(hObject, eventdata, handles)</a>
+3591 <span class="comment">% hObject    handle to ans_k_pc (see GCBO)</span>
+3592 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3593 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3594 
+3595 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3596 <span class="comment">%       See ISPC and COMPUTER.</span>
+3597 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3598     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3599 <span class="keyword">end</span>
+3600 
+3601 
+3602 
+3603 <a name="_sub194" href="#_subfunctions" class="code">function ans_k_h_Callback(hObject, eventdata, handles)</a>
+3604 <span class="comment">% hObject    handle to ans_k_h (see GCBO)</span>
+3605 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3606 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3607 
+3608 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_k_h as text</span>
+3609 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_k_h as a double</span>
+3610 
+3611 
+3612 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3613 <a name="_sub195" href="#_subfunctions" class="code">function ans_k_h_CreateFcn(hObject, eventdata, handles)</a>
+3614 <span class="comment">% hObject    handle to ans_k_h (see GCBO)</span>
+3615 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3616 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3617 
+3618 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3619 <span class="comment">%       See ISPC and COMPUTER.</span>
+3620 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3621     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3622 <span class="keyword">end</span>
+3623 
+3624 
+3625 
+3626 <a name="_sub196" href="#_subfunctions" class="code">function ans_k_v_Callback(hObject, eventdata, handles)</a>
+3627 <span class="comment">% hObject    handle to ans_k_v (see GCBO)</span>
+3628 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3629 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3630 
+3631 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_k_v as text</span>
+3632 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_k_v as a double</span>
+3633 
+3634 
+3635 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3636 <a name="_sub197" href="#_subfunctions" class="code">function ans_k_v_CreateFcn(hObject, eventdata, handles)</a>
+3637 <span class="comment">% hObject    handle to ans_k_v (see GCBO)</span>
+3638 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3639 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3640 
+3641 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3642 <span class="comment">%       See ISPC and COMPUTER.</span>
+3643 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3644     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3645 <span class="keyword">end</span>
+3646 
+3647 
+3648 <span class="comment">% --- Executes on button press in button_kicker.</span>
+3649 <a name="_sub198" href="#_subfunctions" class="code">function button_kicker_Callback(hObject, eventdata, handles)</a>
+3650 <span class="comment">% hObject    handle to button_kicker (see GCBO)</span>
+3651 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3652 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3653 
+3654 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of button_kicker</span>
+3655 
+3656 bpm=get(hObject,<span class="string">'Value'</span>);
+3657 
+3658 <span class="keyword">if</span> (bpm==0)
+3659    set(handles.uipanel_kicker_machine,<span class="string">'Visible'</span>,<span class="string">'off'</span>);
+3660 <span class="keyword">elseif</span> (bpm==1)
+3661     set(handles.uipanel_kicker_machine,<span class="string">'Visible'</span>,<span class="string">'on'</span>);
+3662 <span class="keyword">end</span>
+3663 
+3664 
+3665 <span class="comment">% --- Executes on button press in button_save_golden_soft.</span>
+3666 <a name="_sub199" href="#_subfunctions" class="code">function button_save_golden_soft_Callback(hObject, eventdata, handles)</a>
+3667 <span class="comment">% hObject    handle to button_save_golden_soft (see GCBO)</span>
+3668 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3669 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3670 h = questdlg(<span class="string">'Attention, sauvegarde nouvelle golden !!!'</span>);
+3671 
+3672 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3673 
+3674     DirName=handles.DirName;
+3675     [timing]=<a href="get_synchro_rafale.html" class="code" title="function [timing]=get_synchro_rafale(DirName)">get_synchro_rafale</a>(DirName);
+3676     <span class="comment">% sauvegarde</span>
+3677     file=<span class="string">'golden_rafale_soft.mat'</span>;
+3678     <span class="comment">%Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];</span>
+3679     Directory=handles.Directory;
+3680     pwdold = pwd;
+3681     cd(Directory);
+3682     save(file, <span class="string">'timing'</span>);
+3683     cd(pwdold);
+3684 
+3685 <span class="keyword">end</span>
+3686 
+3687 
+3688 <span class="comment">% --- Executes on button press in button_load_golden_soft.</span>
+3689 <a name="_sub200" href="#_subfunctions" class="code">function button_load_golden_soft_Callback(hObject, eventdata, handles)</a>
+3690 <span class="comment">% hObject    handle to button_load_golden_soft (see GCBO)</span>
+3691 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3692 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3693 
+3694 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+3695 set(handles.edit_modes,<span class="string">'String'</span>,<span class="string">'Please WAIT !!!!'</span>)
+3696 Directory=handles.Directory;
+3697 DirName=handles.DirName;
+3698 file=<span class="string">'golden_rafale_soft.mat'</span>;
+3699 <a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>(Directory,file,DirName)
+3700 set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>)
+3701 <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3702 
+3703 
+3704 <span class="comment">% --- Executes on button press in button_load_golden_3Hz.</span>
+3705 <a name="_sub201" href="#_subfunctions" class="code">function button_load_golden_3Hz_Callback(hObject, eventdata, handles)</a>
+3706 <span class="comment">% hObject    handle to button_load_golden_3Hz (see GCBO)</span>
+3707 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3708 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3709 
+3710 [etat_central]=<a href="#_sub184" class="code" title="subfunction  [etat]=test_central_mode(handles)">test_central_mode</a>(handles);
+3711 h=<span class="string">'Yes'</span>;
+3712 <span class="keyword">if</span> strcmp(etat_central,<span class="string">'Continu'</span>)
+3713     h = questdlg(<span class="string">'Attention, Trigger en mode continu'</span>);
+3714 <span class="keyword">end</span>
+3715 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3716     set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+3717     set(handles.edit_modes,<span class="string">'String'</span>,<span class="string">'Please WAIT !!!!'</span>)
+3718     Directory=handles.Directory;
+3719     DirName=handles.DirName;
+3720     file=<span class="string">'golden_rafale_3Hz.mat'</span>;
+3721     <a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>(Directory,file,DirName)
+3722     set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>)
+3723     <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3724 <span class="keyword">end</span>
+3725 
+3726 <span class="comment">% --- Executes on button press in button_save_golden_3Hz.</span>
+3727 <a name="_sub202" href="#_subfunctions" class="code">function button_save_golden_3Hz_Callback(hObject, eventdata, handles)</a>
+3728 <span class="comment">% hObject    handle to button_save_golden_3Hz (see GCBO)</span>
+3729 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3730 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3731 h = questdlg(<span class="string">'Attention, sauvegarde nouvelle golden !!!'</span>);
+3732 
+3733 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3734     
+3735     DirName=handles.DirName;
+3736     [timing]=<a href="get_synchro_rafale.html" class="code" title="function [timing]=get_synchro_rafale(DirName)">get_synchro_rafale</a>(DirName);
+3737     <span class="comment">% sauvegarde</span>
+3738     file=<span class="string">'golden_rafale_3Hz.mat'</span>;
+3739     <span class="comment">%Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];</span>
+3740     Directory=handles.Directory;
+3741     pwdold = pwd;
+3742     cd(Directory);
+3743     save(file, <span class="string">'timing'</span>);
+3744     cd(pwdold);
+3745 
+3746 <span class="keyword">end</span>
+3747 
+3748 <span class="comment">% --- Executes on button press in button_load_golden_3Hz_66MeV.</span>
+3749 <a name="_sub203" href="#_subfunctions" class="code">function button_load_golden_3Hz_66MeV_Callback(hObject, eventdata, handles)</a>
+3750 <span class="comment">% hObject    handle to button_load_golden_3Hz_66MeV (see GCBO)</span>
+3751 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3752 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3753 [etat_central]=<a href="#_sub184" class="code" title="subfunction  [etat]=test_central_mode(handles)">test_central_mode</a>(handles);
+3754 h=<span class="string">'Yes'</span>;
+3755 <span class="keyword">if</span> strcmp(etat_central,<span class="string">'Continu'</span>)
+3756     h = questdlg(<span class="string">'Attention, Trigger en mode continu'</span>);
+3757 <span class="keyword">end</span>
+3758 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3759     set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'Off'</span>)
+3760     set(handles.edit_modes,<span class="string">'String'</span>,<span class="string">'Please WAIT !!!!'</span>)
+3761     Directory=handles.Directory;
+3762     DirName=handles.DirName;
+3763     file=<span class="string">'golden_rafale_3Hz_66MeV.mat'</span>;
+3764     <a href="load_synchro_rafale.html" class="code" title="function load_synchro_rafale(Directory,file,DirName)">load_synchro_rafale</a>(Directory,file,DirName)
+3765     set(handles.button_injection_soft,<span class="string">'Enable'</span>,<span class="string">'On'</span>)
+3766     <a href="#_sub189" class="code" title="subfunction  test_modes(handles)">test_modes</a>(handles);
+3767 <span class="keyword">end</span>
+3768 
+3769 
+3770 <span class="comment">% --- Executes on button press in button_save_golden_66MeV.</span>
+3771 <a name="_sub204" href="#_subfunctions" class="code">function button_save_golden_66MeV_Callback(hObject, eventdata, handles)</a>
+3772 <span class="comment">% hObject    handle to button_save_golden_66MeV (see GCBO)</span>
+3773 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3774 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3775 h = questdlg(<span class="string">'Attention, sauvegarde nouvelle golden 66 MeV!!!'</span>);
+3776 
+3777 <span class="keyword">if</span> strcmp(h,<span class="string">'Yes'</span>)
+3778 
+3779     DirName=handles.DirName;
+3780     [timing]=<a href="get_synchro_rafale.html" class="code" title="function [timing]=get_synchro_rafale(DirName)">get_synchro_rafale</a>(DirName);
+3781     <span class="comment">% sauvegarde</span>
+3782     file=<span class="string">'golden_rafale_3Hz_66MeV.mat'</span>;
+3783     <span class="comment">%Directory =  [getfamilydata('Directory','DataRoot') 'Datatemp'];</span>
+3784     Directory=handles.Directory;
+3785     pwdold = pwd;
+3786     cd(Directory);
+3787     save(file, <span class="string">'timing'</span>);
+3788     cd(pwdold);
+3789 
+3790 <span class="keyword">end</span>
+3791 
+3792 
+3793 
+3794 <a name="_sub205" href="#_subfunctions" class="code">function boo_mrsv_Callback(hObject, eventdata, handles)</a>
+3795 <span class="comment">% hObject    handle to boo_mrsv (see GCBO)</span>
+3796 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3797 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3798 
+3799 <span class="comment">% Hints: get(hObject,'String') returns contents of boo_mrsv as text</span>
+3800 <span class="comment">%        str2double(get(hObject,'String')) returns contents of boo_mrsv as a double</span>
+3801 
+3802 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+3803 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+3804 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceTimeDelay'</span>,delay);
+3805 
+3806 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3807 <a name="_sub206" href="#_subfunctions" class="code">function boo_mrsv_CreateFcn(hObject, eventdata, handles)</a>
+3808 <span class="comment">% hObject    handle to boo_mrsv (see GCBO)</span>
+3809 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3810 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3811 
+3812 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3813 <span class="comment">%       See ISPC and COMPUTER.</span>
+3814 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3815     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3816 <span class="keyword">end</span>
+3817 
+3818 
+3819 
+3820 <a name="_sub207" href="#_subfunctions" class="code">function central_pc_Callback(hObject, eventdata, handles)</a>
+3821 <span class="comment">% hObject    handle to central_pc (see GCBO)</span>
+3822 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3823 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3824 
+3825 <span class="comment">% Hints: get(hObject,'String') returns contents of central_pc as text</span>
+3826 <span class="comment">%        str2double(get(hObject,'String')) returns contents of central_pc as a double</span>
+3827 
+3828 
+3829 delay=str2double(get(hObject,<span class="string">'String'</span>));
+3830 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>,delay);
+3831 
+3832 
+3833 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3834 <a name="_sub208" href="#_subfunctions" class="code">function central_pc_CreateFcn(hObject, eventdata, handles)</a>
+3835 <span class="comment">% hObject    handle to central_pc (see GCBO)</span>
+3836 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3837 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3838 
+3839 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3840 <span class="comment">%       See ISPC and COMPUTER.</span>
+3841 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3842     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3843 <span class="keyword">end</span>
+3844 
+3845 
+3846 
+3847 <a name="_sub209" href="#_subfunctions" class="code">function lin_alim_Callback(hObject, eventdata, handles)</a>
+3848 <span class="comment">% hObject    handle to lin_alim (see GCBO)</span>
+3849 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3850 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3851 
+3852 <span class="comment">% Hints: get(hObject,'String') returns contents of lin_alim as text</span>
+3853 <span class="comment">%        str2double(get(hObject,'String')) returns contents of lin_alim as a double</span>
+3854 
+3855 
+3856 delay=str2double(get(hObject,<span class="string">'String'</span>));
+3857 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'libre.1TimeDelay'</span>,delay);
+3858 
+3859 
+3860 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3861 <a name="_sub210" href="#_subfunctions" class="code">function lin_alim_CreateFcn(hObject, eventdata, handles)</a>
+3862 <span class="comment">% hObject    handle to lin_alim (see GCBO)</span>
+3863 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3864 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3865 
+3866 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3867 <span class="comment">%       See ISPC and COMPUTER.</span>
+3868 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3869     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3870 <span class="keyword">end</span>
+3871 
+3872 
+3873 
+3874 <a name="_sub211" href="#_subfunctions" class="code">function ans_nod_Callback(hObject, eventdata, handles)</a>
+3875 <span class="comment">% hObject    handle to ans_nod (see GCBO)</span>
+3876 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3877 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+3878 
+3879 <span class="comment">% Hints: get(hObject,'String') returns contents of ans_nod as text</span>
+3880 <span class="comment">%        str2double(get(hObject,'String')) returns contents of ans_nod as a double</span>
+3881 
+3882 ext_offset=str2double(get(handles.ext_offset,<span class="string">'String'</span>));
+3883 delay=str2double(get(hObject,<span class="string">'String'</span>))+ext_offset;
+3884 tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'perteTimeDelay'</span>,delay);
+3885 
+3886 
+3887 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+3888 <a name="_sub212" href="#_subfunctions" class="code">function ans_nod_CreateFcn(hObject, eventdata, handles)</a>
+3889 <span class="comment">% hObject    handle to ans_nod (see GCBO)</span>
+3890 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+3891 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+3892 
+3893 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+3894 <span class="comment">%       See ISPC and COMPUTER.</span>
+3895 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+3896     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+3897 <span class="keyword">end</span>
+3898 
+3899</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_mode_tests.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_mode_tests.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_mode_tests.html	(revision 17)
@@ -0,0 +1,573 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_mode_tests</title>
+  <meta name="keywords" content="synchro_mode_tests">
+  <meta name="description" content="SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_mode_tests.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_mode_tests
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_mode_tests(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig
+      SYNCHRO_MODE_TESTS, by itself, creates a new SYNCHRO_MODE_TESTS or raises the existing
+      singleton*.
+
+      H = SYNCHRO_MODE_TESTS returns the handle to a new SYNCHRO_MODE_TESTS or the handle to
+      the existing singleton*.
+
+      SYNCHRO_MODE_TESTS('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_MODE_TESTS.M with the given input arguments.
+
+      SYNCHRO_MODE_TESTS('Property','Value',...) creates a new SYNCHRO_MODE_TESTS or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_mode_tests_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_mode_tests_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_mode_tests_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function pushbutton_linac_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function pushbutton_linac_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function pushbutton_linac_Off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function pushbutton_boo_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function pushbutton_boo_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function pushbutton_boo_off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function pushbutton_ans_3hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function pushbutton_ans_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function pushbutton_ans_off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_etat_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_etat_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_mode_tests(varargin)</a>
+0002 <span class="comment">% SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig</span>
+0003 <span class="comment">%      SYNCHRO_MODE_TESTS, by itself, creates a new SYNCHRO_MODE_TESTS or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_MODE_TESTS returns the handle to a new SYNCHRO_MODE_TESTS or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_MODE_TESTS('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_MODE_TESTS.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_MODE_TESTS('Property','Value',...) creates a new SYNCHRO_MODE_TESTS or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_mode_tests_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_mode_tests_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_mode_tests</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 22-Feb-2007 16:58:02</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_mode_tests_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_mode_tests_OutputFcn(hObject, eventdata, handles)">synchro_mode_tests_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_mode_tests is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_mode_tests (see VARARGIN)</span>
+0054 
+0055 
+0056 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'??'</span>);
+0057 <span class="comment">% Choose default command line output for synchro_mode_tests</span>
+0058 handles.output = hObject;
+0059 
+0060 <span class="comment">% Choix des events</span>
+0061 handles.event0 =int32(0);
+0062 handles.event00=int32(100);  <span class="comment">%SpÃ©ciale EP</span>
+0063 
+0064 <span class="comment">% Update handles structure</span>
+0065 guidata(hObject, handles);
+0066 
+0067 <span class="comment">% UIWAIT makes synchro_mode_tests wait for user response (see UIRESUME)</span>
+0068 <span class="comment">% uiwait(handles.figure1);</span>
+0069 
+0070 
+0071 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0072 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_mode_tests_OutputFcn(hObject, eventdata, handles) </a>
+0073 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0074 <span class="comment">% hObject    handle to figure</span>
+0075 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0076 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0077 
+0078 <span class="comment">% Get default command line output from handles structure</span>
+0079 varargout{1} = handles.output;
+0080 
+0081 
+0082 <span class="comment">% --- Executes on button press in pushbutton_linac_3Hz.</span>
+0083 <a name="_sub3" href="#_subfunctions" class="code">function pushbutton_linac_3Hz_Callback(hObject, eventdata, handles)</a>
+0084 <span class="comment">% hObject    handle to pushbutton_linac_3Hz (see GCBO)</span>
+0085 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0086 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0087 
+0088 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0089 tout=0.;
+0090 event0=handles.event0;
+0091 
+0092     <span class="comment">% switch to 3Hz</span>
+0093         event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0094         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,     event0); pause(tout);
+0095         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); pause(tout);
+0096         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,   event); pause(tout);
+0097         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+0098         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,     event); pause(tout);
+0099         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,     event); pause(tout);
+0100         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,      event); pause(tout);
+0101         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>, event); pause(tout);
+0102         
+0103     <span class="comment">% special modulateur</span>
+0104         delay=inj_offset+0;
+0105         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0106         display(<span class="string">'ok change soft to 3Hz'</span>)
+0107         
+0108 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = 3Hz'</span>);
+0109 
+0110 
+0111 <span class="comment">% --- Executes on button press in pushbutton_linac_soft.</span>
+0112 <a name="_sub4" href="#_subfunctions" class="code">function pushbutton_linac_soft_Callback(hObject, eventdata, handles)</a>
+0113 <span class="comment">% hObject    handle to pushbutton_linac_soft (see GCBO)</span>
+0114 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0115 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0116 
+0117 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0118 tout=0.;
+0119 event0=handles.event0;
+0120 
+0121     <span class="comment">% switch to soft</span>
+0122         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0123         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,      event0); pause(tout);
+0124         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>, event0); pause(tout);
+0125         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,    int32(1)); pause(tout);
+0126         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>, event); pause(tout);
+0127         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,      event); pause(tout);
+0128         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,      event); pause(tout);
+0129         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,       event); pause(tout);
+0130         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,  event); pause(tout);
+0131         
+0132     <span class="comment">% special modulateur</span>
+0133         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);pc=temp.value(1);
+0134         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);soft=temp.value(1);
+0135         delay=inj_offset+soft-pc;
+0136         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0137         display(<span class="string">'ok change 3Hz to soft'</span>)
+0138 
+0139 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = Soft'</span>);
+0140 
+0141 <span class="comment">% --- Executes on button press in pushbutton_linac_Off.</span>
+0142 <a name="_sub5" href="#_subfunctions" class="code">function pushbutton_linac_Off_Callback(hObject, eventdata, handles)</a>
+0143 <span class="comment">% hObject    handle to pushbutton_linac_Off (see GCBO)</span>
+0144 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0145 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0146 
+0147 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0148 tout=0.;
+0149 event0=handles.event0;
+0150 
+0151     <span class="comment">% switch to Off</span>
+0152         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,     event0); pause(tout);
+0153         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); pause(tout);
+0154         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,   event0); pause(tout);
+0155         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event0); pause(tout);
+0156         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,     event0); pause(tout);
+0157         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,     event0); pause(tout);
+0158         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,      event0); pause(tout);
+0159         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>, event0); pause(tout);
+0160 
+0161 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = Off'</span>);
+0162 
+0163 
+0164 <span class="comment">% --- Executes on button press in pushbutton_boo_3Hz.</span>
+0165 <a name="_sub6" href="#_subfunctions" class="code">function pushbutton_boo_3Hz_Callback(hObject, eventdata, handles)</a>
+0166 <span class="comment">% hObject    handle to pushbutton_boo_3Hz (see GCBO)</span>
+0167 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0168 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0169 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0170 tout=0.;
+0171 event0=handles.event0;
+0172 event00=handles.event00;
+0173 
+0174     <span class="comment">% switch to 3Hz</span>
+0175         event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0176         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0177         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0178         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0179         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      event); pause(tout);
+0180         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0181         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0182         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0183         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+0184         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0185         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0186         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0187         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0188         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0189         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0190         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0191         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event);
+0192         <span class="comment">% pas d'extraction</span>
+0193         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0194         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0195         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0196         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0197         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0198         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0199         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0200         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0201         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0202         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([1 1 1 1])*event00; 
+0203         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0204         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0205         
+0206         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([1 1])*event00; 
+0207         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0208         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0209         
+0210      <span class="comment">% special modulateur</span>
+0211         delay=inj_offset+0;
+0212         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0213         display(<span class="string">'ok change soft to 3Hz'</span>)
+0214 
+0215 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = 3Hz'</span>);
+0216 
+0217 
+0218 <span class="comment">% --- Executes on button press in pushbutton_boo_soft.</span>
+0219 <a name="_sub7" href="#_subfunctions" class="code">function pushbutton_boo_soft_Callback(hObject, eventdata, handles)</a>
+0220 <span class="comment">% hObject    handle to pushbutton_boo_soft (see GCBO)</span>
+0221 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0222 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0223 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0224 tout=0.;
+0225 event0=handles.event0;
+0226 event00=handles.event00;
+0227 
+0228     <span class="comment">% switch to soft</span>
+0229         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0230         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0231         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0232         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0233         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      int32(1)); pause(tout);
+0234         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0235         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0236         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0237         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+0238         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0239         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0240         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0241         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0242         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0243         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0244         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0245         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event);
+0246         <span class="comment">% Pas d'extraction</span>
+0247         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0248         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0249         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0250         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0251         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0252         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0253         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0254         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0255         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0256         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([1 1 1 1])*event00; 
+0257         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0258         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0259         
+0260         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([1 1])*event00; 
+0261         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0262         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0263 
+0264         
+0265     <span class="comment">% special modulateur</span>
+0266         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);pc=temp.value(1);
+0267         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);soft=temp.value(1);
+0268         delay=inj_offset+soft-pc;
+0269         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0270         
+0271 
+0272 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = Soft'</span>);
+0273 
+0274 
+0275 <span class="comment">% --- Executes on button press in pushbutton_boo_off.</span>
+0276 <a name="_sub8" href="#_subfunctions" class="code">function pushbutton_boo_off_Callback(hObject, eventdata, handles)</a>
+0277 <span class="comment">% hObject    handle to pushbutton_boo_off (see GCBO)</span>
+0278 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0279 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0280 
+0281 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0282 tout=0.;
+0283 event0=handles.event0;
+0284 event00=handles.event00;
+0285 
+0286     <span class="comment">% switch to Off</span>
+0287         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event0); pause(tout);
+0288         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0289         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0290         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      event0); pause(tout);
+0291         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event0); pause(tout);
+0292         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event0); pause(tout);
+0293         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event0); pause(tout);
+0294         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event0); pause(tout);     
+0295         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event0); pause(tout);
+0296         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event0); pause(tout);
+0297         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event0); pause(tout);
+0298         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event0); pause(tout);
+0299         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event0); pause(tout);
+0300         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event0); pause(tout);
+0301         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0); pause(tout);
+0302         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event0); pause(tout);
+0303         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0304         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0305         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0306         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0307         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0308         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,    event);pause(tout);
+0309         
+0310 
+0311 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = Off'</span>);
+0312 
+0313 
+0314 <span class="comment">% --- Executes on button press in pushbutton_ans_3hz.</span>
+0315 <a name="_sub9" href="#_subfunctions" class="code">function pushbutton_ans_3hz_Callback(hObject, eventdata, handles)</a>
+0316 <span class="comment">% hObject    handle to pushbutton_ans_3hz (see GCBO)</span>
+0317 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0318 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0319 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0320 tout=0.;
+0321 event0=handles.event0;
+0322 event00=handles.event00;
+0323 
+0324     <span class="comment">% switch to 3Hz</span>
+0325         event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0326         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0327         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0328         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0329         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      eint32(1)); pause(tout);
+0330         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0331         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0332         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0333         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+0334         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0335         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0336         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0337         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0338         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0339         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0340         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0341         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,     event);
+0342         event=int32(3) ;<span class="comment">% adresse de extraction</span>
+0343         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event);pause(tout);
+0344         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event);pause(tout);
+0345         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+0346         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+0347         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event);pause(tout);
+0348         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event);pause(tout);
+0349         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event);pause(tout);
+0350         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event);pause(tout);
+0351         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event);pause(tout);
+0352         
+0353         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([3 3 3 3]); 
+0354         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0355        
+0356         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([3 3]); 
+0357         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0358         
+0359         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,    event);pause(tout);
+0360         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0361         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0362         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0363         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0364         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0365         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0366         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0367         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0368         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0369         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0370         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0371         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0372         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0373         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0374         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0375         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0376     
+0377     <span class="comment">% special modulateur</span>
+0378         delay=inj_offset+0;
+0379         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0380         display(<span class="string">'ok change soft to 3Hz'</span>)
+0381         
+0382     <span class="comment">% special septum actif boo et ans</span>
+0383         r=(1+0.0004);
+0384         boo=readattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage'</span>); boo=boo*r;
+0385         writeattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage,'</span>,boo);
+0386         ans=readattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage'</span>); ans=ans*r;
+0387         writeattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage,'</span>,ans);     
+0388 
+0389 display(<span class="string">'ok change address'</span>)
+0390 
+0391 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO + ANS = 3Hz'</span>);
+0392 
+0393 
+0394 <span class="comment">% --- Executes on button press in pushbutton_ans_soft.</span>
+0395 <a name="_sub10" href="#_subfunctions" class="code">function pushbutton_ans_soft_Callback(hObject, eventdata, handles)</a>
+0396 <span class="comment">% hObject    handle to pushbutton_ans_soft (see GCBO)</span>
+0397 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0398 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0399 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0400 tout=0.;
+0401 event0=handles.event0;
+0402 event00=handles.event00;
+0403 
+0404     <span class="comment">% switch to soft</span>
+0405         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0406         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0407         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0408         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0409         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      int32(1)); pause(tout);
+0410         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0411         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0412         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0413         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+0414         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0415         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0416         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0417         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0418         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0419         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0420         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0421         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,     event);
+0422  
+0423         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event);pause(tout);
+0424         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event);pause(tout);
+0425         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+0426         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+0427         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event);pause(tout);
+0428         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event);pause(tout);
+0429         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event);pause(tout);
+0430         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event);pause(tout);
+0431         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event);pause(tout);
+0432         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([5 5 5 5]); 
+0433         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© addresses sans update</span>
+0434         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0435         
+0436         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([5 5]); 
+0437         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0438         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0439         
+0440         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,    int32(3));pause(tout);
+0441         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0442         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0443         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0444         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0445         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0446         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0447         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0448         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0449         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0450         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0451         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0452         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0453         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0454         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0455         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0456         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);    
+0457         
+0458     <span class="comment">% special modulateur</span>
+0459         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);pc=temp.value(1);
+0460         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);soft=temp.value(1);
+0461         delay=inj_offset+soft-pc;
+0462         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0463 
+0464         
+0465      <span class="comment">% special septum actif boo et ans</span>
+0466         r=(1-0.0004);
+0467         boo=readattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage'</span>); boo=boo*r;
+0468         writeattribute(<span class="string">'BOO-C12/EP/AL_SEP_A.Ext/voltage,'</span>,boo);
+0469         ans=readattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage'</span>); ans=ans*r;
+0470         writeattribute(<span class="string">'ANS-C01/EP/AL_SEP_A/voltage,'</span>,ans);     
+0471 
+0472 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO + ANS = Soft'</span>);
+0473 
+0474 
+0475 
+0476 
+0477 <span class="comment">% --- Executes on button press in pushbutton_ans_off.</span>
+0478 <a name="_sub11" href="#_subfunctions" class="code">function pushbutton_ans_off_Callback(hObject, eventdata, handles)</a>
+0479 <span class="comment">% hObject    handle to pushbutton_ans_off (see GCBO)</span>
+0480 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0481 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0482 
+0483 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO + ANS = Off'</span>);
+0484 
+0485 <a name="_sub12" href="#_subfunctions" class="code">function edit_etat_Callback(hObject, eventdata, handles)</a>
+0486 <span class="comment">% hObject    handle to edit_etat (see GCBO)</span>
+0487 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0488 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0489 
+0490 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_etat as text</span>
+0491 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_etat as a double</span>
+0492 
+0493 
+0494 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0495 <a name="_sub13" href="#_subfunctions" class="code">function edit_etat_CreateFcn(hObject, eventdata, handles)</a>
+0496 <span class="comment">% hObject    handle to edit_etat (see GCBO)</span>
+0497 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0498 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0499 
+0500 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0501 <span class="comment">%       See ISPC and COMPUTER.</span>
+0502 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0503     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0504 <span class="keyword">end</span>
+0505 
+0506</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_rafale_mode_tests.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_rafale_mode_tests.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_rafale_mode_tests.html	(revision 17)
@@ -0,0 +1,652 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_rafale_mode_tests</title>
+  <meta name="keywords" content="synchro_rafale_mode_tests">
+  <meta name="description" content="SYNCHRO_RAFALE_MODE_TESTS M-file for synchro_rafale_mode_tests.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_rafale_mode_tests.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_rafale_mode_tests
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_RAFALE_MODE_TESTS M-file for synchro_rafale_mode_tests.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_rafale_mode_tests(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_RAFALE_MODE_TESTS M-file for synchro_rafale_mode_tests.fig
+      SYNCHRO_RAFALE_MODE_TESTS, by itself, creates a new SYNCHRO_RAFALE_MODE_TESTS or raises the existing
+      singleton*.
+
+      H = SYNCHRO_RAFALE_MODE_TESTS returns the handle to a new SYNCHRO_RAFALE_MODE_TESTS or the handle to
+      the existing singleton*.
+
+      SYNCHRO_RAFALE_MODE_TESTS('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_RAFALE_MODE_TESTS.M with the given input arguments.
+
+      SYNCHRO_RAFALE_MODE_TESTS('Property','Value',...) creates a new SYNCHRO_RAFALE_MODE_TESTS or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_rafale_mode_tests_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_rafale_mode_tests_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_rafale_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_rafale_mode_tests_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function pushbutton_linac_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function pushbutton_linac_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function pushbutton_linac_Off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function pushbutton_boo_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function pushbutton_boo_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function pushbutton_boo_off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function pushbutton_ans_3hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function pushbutton_ans_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function pushbutton_ans_off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_etat_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_etat_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_rafale_mode_tests(varargin)</a>
+0002 <span class="comment">% SYNCHRO_RAFALE_MODE_TESTS M-file for synchro_rafale_mode_tests.fig</span>
+0003 <span class="comment">%      SYNCHRO_RAFALE_MODE_TESTS, by itself, creates a new SYNCHRO_RAFALE_MODE_TESTS or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_RAFALE_MODE_TESTS returns the handle to a new SYNCHRO_RAFALE_MODE_TESTS or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_RAFALE_MODE_TESTS('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_RAFALE_MODE_TESTS.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_RAFALE_MODE_TESTS('Property','Value',...) creates a new SYNCHRO_RAFALE_MODE_TESTS or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_rafale_mode_tests_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_rafale_mode_tests_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_rafale_mode_tests</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 22-Feb-2007 16:58:02</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_rafale_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_rafale_mode_tests_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_rafale_mode_tests_OutputFcn(hObject, eventdata, handles)">synchro_rafale_mode_tests_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_rafale_mode_tests is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_rafale_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_rafale_mode_tests (see VARARGIN)</span>
+0054 
+0055 
+0056 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'??'</span>);
+0057 <span class="comment">% Choose default command line output for synchro_rafale_mode_tests</span>
+0058 handles.output = hObject;
+0059 
+0060 <span class="comment">% Choix des events</span>
+0061 handles.event0 =int32(0);
+0062 handles.event00=int32(100);  <span class="comment">%SpÃ©ciale EP</span>
+0063 
+0064 <span class="comment">% delais fixe en pas</span>
+0065 handles.central_dec=int32(1664);
+0066 handles.central_nodec=int32(95707);
+0067 
+0068 
+0069 <span class="comment">% Update handles structure</span>
+0070 guidata(hObject, handles);
+0071 
+0072 <span class="comment">% UIWAIT makes synchro_rafale_mode_tests wait for user response (see UIRESUME)</span>
+0073 <span class="comment">% uiwait(handles.figure1);</span>
+0074 
+0075 
+0076 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0077 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_rafale_mode_tests_OutputFcn(hObject, eventdata, handles) </a>
+0078 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0079 <span class="comment">% hObject    handle to figure</span>
+0080 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0081 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0082 
+0083 <span class="comment">% Get default command line output from handles structure</span>
+0084 varargout{1} = handles.output;
+0085 
+0086 
+0087 <span class="comment">% --- Executes on button press in pushbutton_linac_3Hz.</span>
+0088 <a name="_sub3" href="#_subfunctions" class="code">function pushbutton_linac_3Hz_Callback(hObject, eventdata, handles)</a>
+0089 <span class="comment">% hObject    handle to pushbutton_linac_3Hz (see GCBO)</span>
+0090 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0091 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0092 
+0093 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0094 tout=0.;
+0095 event0=handles.event0;
+0096 
+0097 <span class="comment">% Swap delai 5 et 2</span>
+0098 central_inj=handles.central_dec;
+0099 central_soft=handles.central_nodec;
+0100 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,290010);
+0101 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,290020);
+0102 
+0103 <span class="comment">% switch to 3Hz</span>
+0104 event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0105 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,     event); pause(tout);
+0106 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,     event); pause(tout);
+0107 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); pause(tout);
+0108 <span class="comment">%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',   event); pause(tout);</span>
+0109 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+0110 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,     event); pause(tout);
+0111 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,     event); pause(tout);
+0112 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,      event); pause(tout);
+0113 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>, event); pause(tout);
+0114 <span class="comment">% pas d'injection</span>
+0115 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event0); pause(tout);
+0116 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);
+0117 <span class="comment">% Pas d'extraction</span>
+0118 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0119 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0120 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0121 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0122 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0123 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0124 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0125 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0126 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0127 arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([1 1 1 1])*event0;
+0128 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0129 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0130 
+0131 arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([1 1])*event0;
+0132 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0133 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0134 
+0135 pause(1)
+0136 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>, central_inj);
+0137 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,central_soft);
+0138 
+0139 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = 3Hz'</span>);
+0140 
+0141 
+0142 <span class="comment">% --- Executes on button press in pushbutton_linac_soft.</span>
+0143 <a name="_sub4" href="#_subfunctions" class="code">function pushbutton_linac_soft_Callback(hObject, eventdata, handles)</a>
+0144 <span class="comment">% hObject    handle to pushbutton_linac_soft (see GCBO)</span>
+0145 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0146 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0147 
+0148 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0149 tout=0.;
+0150 event0=handles.event0;
+0151 event00=handles.event00;
+0152 
+0153 <span class="comment">% Swap delai 5 et 2</span>
+0154 central_inj=handles.central_nodec;
+0155 central_soft=handles.central_dec;
+0156 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,290010);
+0157 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,290020);
+0158 
+0159 <span class="comment">% switch to soft</span>
+0160 event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0161 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,      event); pause(tout);
+0162 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>, event0); pause(tout);
+0163 <span class="comment">%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',    int32(1)); pause(tout);</span>
+0164 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>, event); pause(tout);
+0165 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,      event); pause(tout);
+0166 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,      event); pause(tout);
+0167 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,       event); pause(tout);
+0168 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,  event); pause(tout);
+0169 <span class="comment">% pas d'injection</span>
+0170 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event0); pause(tout);
+0171 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);
+0172 <span class="comment">% Pas d'extraction</span>
+0173 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0174 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0175 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0176 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0177 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0178 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0179 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0180 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0181 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0182 arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([1 1 1 1])*event0;
+0183 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0184 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0185 
+0186 arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([1 1])*event0;
+0187 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0188 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0189 
+0190 pause(1)
+0191 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,central_inj);
+0192 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,central_soft);
+0193 
+0194 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = Soft'</span>);
+0195 
+0196 <span class="comment">% --- Executes on button press in pushbutton_linac_Off.</span>
+0197 <a name="_sub5" href="#_subfunctions" class="code">function pushbutton_linac_Off_Callback(hObject, eventdata, handles)</a>
+0198 <span class="comment">% hObject    handle to pushbutton_linac_Off (see GCBO)</span>
+0199 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0200 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0201 
+0202 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0203 tout=0.;
+0204 event0=handles.event0;
+0205 
+0206 <span class="comment">% switch to Off</span>
+0207 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,     event0); pause(tout);
+0208 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); pause(tout);
+0209 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,   event0); pause(tout);
+0210 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event0); pause(tout);
+0211 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,     event0); pause(tout);
+0212 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,     event0); pause(tout);
+0213 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,      event0); pause(tout);
+0214 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>, event0); pause(tout);
+0215 
+0216 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = Off'</span>);
+0217 
+0218 
+0219 <span class="comment">% --- Executes on button press in pushbutton_boo_3Hz.</span>
+0220 <a name="_sub6" href="#_subfunctions" class="code">function pushbutton_boo_3Hz_Callback(hObject, eventdata, handles)</a>
+0221 <span class="comment">% hObject    handle to pushbutton_boo_3Hz (see GCBO)</span>
+0222 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0223 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0224 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0225 tout=0.;
+0226 event0=handles.event0;
+0227 event00=handles.event00;
+0228 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0229 tout=0.;
+0230 event0=handles.event0;
+0231 
+0232 <span class="comment">% Swap delai 5 et 2</span>
+0233 central_inj=handles.central_dec;
+0234 central_soft=handles.central_nodec;
+0235 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,290010);
+0236 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,290020);
+0237 
+0238 <span class="comment">% switch to 3Hz</span>
+0239 event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0240 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0241 <span class="comment">%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);</span>
+0242 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event); pause(tout);
+0243 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0244 <span class="comment">%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      event); pause(tout);</span>
+0245 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0246 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0247 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0248 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout);
+0249 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0250 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0251 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0252 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0253 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0254 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0255 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0256 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event);
+0257 <span class="comment">% pas d'extraction</span>
+0258 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0259 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0260 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0261 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0262 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0263 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0264 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0265 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0266 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0267 arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([1 1 1 1])*event0;
+0268 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0269 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0270 
+0271 arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([1 1])*event0;
+0272 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0273 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0274 
+0275 pause(1)
+0276 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,central_inj);
+0277 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,central_soft);
+0278 
+0279 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = 3Hz'</span>);
+0280 
+0281 
+0282 <span class="comment">% --- Executes on button press in pushbutton_boo_soft.</span>
+0283 <a name="_sub7" href="#_subfunctions" class="code">function pushbutton_boo_soft_Callback(hObject, eventdata, handles)</a>
+0284 <span class="comment">% hObject    handle to pushbutton_boo_soft (see GCBO)</span>
+0285 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0286 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0287 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0288 tout=0.;
+0289 event0=handles.event0;
+0290 event00=handles.event00;
+0291 
+0292 <span class="comment">% Swap delai 5 et 2</span>
+0293 central_inj=handles.central_nodec;
+0294 central_soft=handles.central_dec;
+0295 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,290010);
+0296 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,290020);
+0297 
+0298 <span class="comment">% switch to soft</span>
+0299 event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0300 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0301 <span class="comment">%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);</span>
+0302 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event); pause(tout);
+0303 tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0304 <span class="comment">%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      int32(1)); pause(tout);</span>
+0305 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0306 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0307 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0308 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout);
+0309 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0310 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0311 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0312 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0313 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0314 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0315 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0316 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event);
+0317 <span class="comment">% Pas d'extraction</span>
+0318 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0319 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0320 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0321 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0322 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0323 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0324 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0325 tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0326 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0327 arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([1 1 1 1])*event0;
+0328 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0329 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0330 
+0331 arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([1 1])*event0;
+0332 tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0333 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0334 
+0335 
+0336 pause(1)
+0337 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,central_inj);
+0338 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,central_soft);
+0339 
+0340 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = Soft'</span>);
+0341 
+0342 
+0343 <span class="comment">% --- Executes on button press in pushbutton_boo_off.</span>
+0344 <a name="_sub8" href="#_subfunctions" class="code">function pushbutton_boo_off_Callback(hObject, eventdata, handles)</a>
+0345 <span class="comment">% hObject    handle to pushbutton_boo_off (see GCBO)</span>
+0346 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0347 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0348 
+0349 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0350 tout=0.;
+0351 event0=handles.event0;
+0352 event00=handles.event00;
+0353 
+0354     <span class="comment">% switch to Off</span>
+0355         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event0); pause(tout);
+0356         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0357         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0358         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      event0); pause(tout);
+0359         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event0); pause(tout);
+0360         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event0); pause(tout);
+0361         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event0); pause(tout);
+0362         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event0); pause(tout);     
+0363         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event0); pause(tout);
+0364         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event0); pause(tout);
+0365         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event0); pause(tout);
+0366         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event0); pause(tout);
+0367         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event0); pause(tout);
+0368         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event0); pause(tout);
+0369         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0); pause(tout);
+0370         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event0); pause(tout);
+0371         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0372         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0373         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0374         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0375         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0376         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,    event0);pause(tout);
+0377         
+0378 
+0379 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = Off'</span>);
+0380 
+0381 
+0382 <span class="comment">% --- Executes on button press in pushbutton_ans_3hz.</span>
+0383 <a name="_sub9" href="#_subfunctions" class="code">function pushbutton_ans_3hz_Callback(hObject, eventdata, handles)</a>
+0384 <span class="comment">% hObject    handle to pushbutton_ans_3hz (see GCBO)</span>
+0385 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0386 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0387 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0388 tout=0.;
+0389 event0=handles.event0;
+0390 event00=handles.event00;
+0391 
+0392 <span class="comment">%     % switch to 3Hz</span>
+0393 <span class="comment">%         event=int32(2) ;% adresse de l'injection</span>
+0394 <span class="comment">%         tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);</span>
+0395 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);</span>
+0396 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);</span>
+0397 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      eint32(1)); pause(tout);</span>
+0398 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);</span>
+0399 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);</span>
+0400 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);</span>
+0401 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout);</span>
+0402 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);</span>
+0403 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);</span>
+0404 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);</span>
+0405 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);</span>
+0406 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);</span>
+0407 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);</span>
+0408 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);</span>
+0409 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',     event);</span>
+0410 <span class="comment">%         event=int32(3) ;% adresse de extraction</span>
+0411 <span class="comment">%         tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event);pause(tout);</span>
+0412 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event);pause(tout);</span>
+0413 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event);pause(tout);</span>
+0414 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event);pause(tout);</span>
+0415 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event);pause(tout);</span>
+0416 <span class="comment">%         tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event);pause(tout);</span>
+0417 <span class="comment">%         tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event);pause(tout);</span>
+0418 <span class="comment">%         tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event);pause(tout);</span>
+0419 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event);pause(tout);</span>
+0420 <span class="comment">%</span>
+0421 <span class="comment">%         arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([3 3 3 3]);</span>
+0422 <span class="comment">%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update</span>
+0423 <span class="comment">%</span>
+0424 <span class="comment">%         arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([3 3]);</span>
+0425 <span class="comment">%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update</span>
+0426 <span class="comment">%</span>
+0427 <span class="comment">%         tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',    event);pause(tout);</span>
+0428 <span class="comment">%         tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',event);pause(tout);</span>
+0429 <span class="comment">%         tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0430 <span class="comment">%         tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0431 <span class="comment">%         tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0432 <span class="comment">%         tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0433 <span class="comment">%         tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0434 <span class="comment">%         tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0435 <span class="comment">%         tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0436 <span class="comment">%         tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0437 <span class="comment">%         tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0438 <span class="comment">%         tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0439 <span class="comment">%         tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0440 <span class="comment">%         tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0441 <span class="comment">%         tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0442 <span class="comment">%         tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0443 <span class="comment">%         tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0444 <span class="comment">%</span>
+0445 <span class="comment">%     % special modulateur</span>
+0446 <span class="comment">%         delay=inj_offset+0;</span>
+0447 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+0448 <span class="comment">%         display('ok change soft to 3Hz')</span>
+0449         
+0450        <span class="comment">% special septum actif boo et ans</span>
+0451 <span class="comment">%         r=(1+0.0004);</span>
+0452 <span class="comment">%         try</span>
+0453 <span class="comment">%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r</span>
+0454 <span class="comment">%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);</span>
+0455 <span class="comment">%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r</span>
+0456 <span class="comment">%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);</span>
+0457 <span class="comment">%         catch</span>
+0458 <span class="comment">%             display('Erreur ajustement tension septa passif')</span>
+0459 <span class="comment">%         end</span>
+0460 
+0461 
+0462 <span class="comment">%display('ok change address')</span>
+0463 
+0464 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'Aucune Action'</span>);
+0465 
+0466 
+0467 <span class="comment">% --- Executes on button press in pushbutton_ans_soft.</span>
+0468 <a name="_sub10" href="#_subfunctions" class="code">function pushbutton_ans_soft_Callback(hObject, eventdata, handles)</a>
+0469 <span class="comment">% hObject    handle to pushbutton_ans_soft (see GCBO)</span>
+0470 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0471 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0472 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0473 tout=0.;
+0474 event0=handles.event0;
+0475 event00=handles.event00;
+0476 
+0477     <span class="comment">% switch to soft</span>
+0478         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0479         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0480         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0481         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0482         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      int32(1)); pause(tout);
+0483         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0484         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0485         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0486         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+0487         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0488         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0489         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0490         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0491         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0492         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0493         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0494         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,     event);
+0495  
+0496         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event);pause(tout);
+0497         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event);pause(tout);
+0498         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+0499         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+0500         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event);pause(tout);
+0501         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event);pause(tout);
+0502         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event);pause(tout);
+0503         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event);pause(tout);
+0504         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event);pause(tout);
+0505         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([5 5 5 5]); 
+0506         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© addresses sans update</span>
+0507         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0508         
+0509         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([5 5]); 
+0510         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0511         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0512         
+0513         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,    int32(3));pause(tout);
+0514         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0515         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0516         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0517         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0518         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0519         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0520         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0521         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0522         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0523         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0524         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0525         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0526         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0527         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0528         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0529         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);    
+0530         
+0531     <span class="comment">% special modulateur</span>
+0532         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);pc=temp.value(1);
+0533         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);soft=temp.value(1);
+0534         delay=inj_offset+soft-pc;
+0535         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0536 
+0537         
+0538 <span class="comment">%      % special septum actif boo et ans</span>
+0539 <span class="comment">%         r=(1-0.0004);</span>
+0540 <span class="comment">%         try</span>
+0541 <span class="comment">%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r</span>
+0542 <span class="comment">%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);</span>
+0543 <span class="comment">%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r</span>
+0544 <span class="comment">%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);</span>
+0545 <span class="comment">%         catch</span>
+0546 <span class="comment">%             display('Erreur ajustement tension septa passif')</span>
+0547 <span class="comment">%         end</span>
+0548         
+0549 
+0550 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO + ANS = Soft'</span>);
+0551 
+0552 
+0553 
+0554 
+0555 <span class="comment">% --- Executes on button press in pushbutton_ans_off.</span>
+0556 <a name="_sub11" href="#_subfunctions" class="code">function pushbutton_ans_off_Callback(hObject, eventdata, handles)</a>
+0557 <span class="comment">% hObject    handle to pushbutton_ans_off (see GCBO)</span>
+0558 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0559 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0560 
+0561 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'Aucune Action'</span>);
+0562 
+0563 <a name="_sub12" href="#_subfunctions" class="code">function edit_etat_Callback(hObject, eventdata, handles)</a>
+0564 <span class="comment">% hObject    handle to edit_etat (see GCBO)</span>
+0565 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0566 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0567 
+0568 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_etat as text</span>
+0569 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_etat as a double</span>
+0570 
+0571 
+0572 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0573 <a name="_sub13" href="#_subfunctions" class="code">function edit_etat_CreateFcn(hObject, eventdata, handles)</a>
+0574 <span class="comment">% hObject    handle to edit_etat (see GCBO)</span>
+0575 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0576 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0577 
+0578 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0579 <span class="comment">%       See ISPC and COMPUTER.</span>
+0580 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0581     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0582 <span class="keyword">end</span>
+0583 
+0584</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_rafale_mode_tests1.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_rafale_mode_tests1.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_rafale_mode_tests1.html	(revision 17)
@@ -0,0 +1,620 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_rafale_mode_tests1</title>
+  <meta name="keywords" content="synchro_rafale_mode_tests1">
+  <meta name="description" content="SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_rafale_mode_tests1.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_rafale_mode_tests1
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_mode_tests(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig
+      SYNCHRO_MODE_TESTS, by itself, creates a new SYNCHRO_MODE_TESTS or raises the existing
+      singleton*.
+
+      H = SYNCHRO_MODE_TESTS returns the handle to a new SYNCHRO_MODE_TESTS or the handle to
+      the existing singleton*.
+
+      SYNCHRO_MODE_TESTS('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_MODE_TESTS.M with the given input arguments.
+
+      SYNCHRO_MODE_TESTS('Property','Value',...) creates a new SYNCHRO_MODE_TESTS or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_mode_tests_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_mode_tests_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_mode_tests_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function pushbutton_linac_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function pushbutton_linac_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function pushbutton_linac_Off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function pushbutton_boo_3Hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function pushbutton_boo_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function pushbutton_boo_off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function pushbutton_ans_3hz_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function pushbutton_ans_soft_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function pushbutton_ans_off_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_etat_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_etat_CreateFcn(hObject, eventdata, handles)</a></li></ul>
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_mode_tests(varargin)</a>
+0002 <span class="comment">% SYNCHRO_MODE_TESTS M-file for synchro_mode_tests.fig</span>
+0003 <span class="comment">%      SYNCHRO_MODE_TESTS, by itself, creates a new SYNCHRO_MODE_TESTS or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_MODE_TESTS returns the handle to a new SYNCHRO_MODE_TESTS or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_MODE_TESTS('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_MODE_TESTS.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_MODE_TESTS('Property','Value',...) creates a new SYNCHRO_MODE_TESTS or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_mode_tests_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_mode_tests_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_mode_tests</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 22-Feb-2007 16:58:02</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_mode_tests_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_mode_tests_OutputFcn(hObject, eventdata, handles)">synchro_mode_tests_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_mode_tests is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_mode_tests_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_mode_tests (see VARARGIN)</span>
+0054 
+0055 
+0056 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'??'</span>);
+0057 <span class="comment">% Choose default command line output for synchro_mode_tests</span>
+0058 handles.output = hObject;
+0059 
+0060 <span class="comment">% Choix des events</span>
+0061 handles.event0 =int32(0);
+0062 handles.event00=int32(100);  <span class="comment">%SpÃ©ciale EP</span>
+0063 
+0064 <span class="comment">% Update handles structure</span>
+0065 guidata(hObject, handles);
+0066 
+0067 <span class="comment">% UIWAIT makes synchro_mode_tests wait for user response (see UIRESUME)</span>
+0068 <span class="comment">% uiwait(handles.figure1);</span>
+0069 
+0070 
+0071 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0072 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_mode_tests_OutputFcn(hObject, eventdata, handles) </a>
+0073 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0074 <span class="comment">% hObject    handle to figure</span>
+0075 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0076 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0077 
+0078 <span class="comment">% Get default command line output from handles structure</span>
+0079 varargout{1} = handles.output;
+0080 
+0081 
+0082 <span class="comment">% --- Executes on button press in pushbutton_linac_3Hz.</span>
+0083 <a name="_sub3" href="#_subfunctions" class="code">function pushbutton_linac_3Hz_Callback(hObject, eventdata, handles)</a>
+0084 <span class="comment">% hObject    handle to pushbutton_linac_3Hz (see GCBO)</span>
+0085 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0086 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0087 
+0088 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0089 tout=0.;
+0090 event0=handles.event0;
+0091 
+0092     <span class="comment">% switch to 3Hz</span>
+0093         event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0094         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,     event); pause(tout);
+0095         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); pause(tout);
+0096         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,   event); pause(tout);
+0097         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event); pause(tout);
+0098         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,     event); pause(tout);
+0099         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,     event); pause(tout);
+0100         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,      event); pause(tout);
+0101         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>, event); pause(tout);
+0102    <span class="comment">% pas d'injection</span>
+0103         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event0); pause(tout);
+0104         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);     
+0105         
+0106 <span class="comment">%     % special modulateur</span>
+0107 <span class="comment">%         delay=inj_offset+0;</span>
+0108 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+0109 <span class="comment">%         %display('ok change soft to 3Hz')</span>
+0110         
+0111 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = 3Hz'</span>);
+0112 
+0113 
+0114 <span class="comment">% --- Executes on button press in pushbutton_linac_soft.</span>
+0115 <a name="_sub4" href="#_subfunctions" class="code">function pushbutton_linac_soft_Callback(hObject, eventdata, handles)</a>
+0116 <span class="comment">% hObject    handle to pushbutton_linac_soft (see GCBO)</span>
+0117 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0118 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0119 
+0120 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0121 tout=0.;
+0122 event0=handles.event0;
+0123 event00=handles.event00;
+0124 
+0125 <span class="comment">% Swap delai 5 et 2</span>
+0126 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>);
+0127 central_inj=temp.value(1);
+0128 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>);
+0129 central_soft=temp.value(1);
+0130 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjTimeDelay'</span>,290010);
+0131 tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>,290020);
+0132     
+0133     <span class="comment">% switch to soft</span>
+0134         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0135         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,      event); pause(tout);
+0136         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>, event0); pause(tout);
+0137         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>, event); pause(tout);
+0138         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,      event); pause(tout);
+0139         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,      event); pause(tout);
+0140         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,       event); pause(tout);
+0141         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,  event); pause(tout);
+0142    <span class="comment">% pas d'injection</span>
+0143         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event0); pause(tout);
+0144         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);
+0145    <span class="comment">% Pas d'extraction</span>
+0146         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0147         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0148         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0149         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0150         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0151         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0152         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0153         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0154         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0155 <span class="comment">%         arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([1 1 1 1])*event00;</span>
+0156 <span class="comment">%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update</span>
+0157 <span class="comment">%         tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.1', 'Update');</span>
+0158 <span class="comment">%</span>
+0159 <span class="comment">%         arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([1 1])*event00;</span>
+0160 <span class="comment">%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update</span>
+0161 <span class="comment">%         tango_command_inout2('ANS-C01/SY/LOCAL.Ainj.2', 'Update');</span>
+0162     
+0163  tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TInjStepDelay'</span>,timing.central_soft);
+0164  tango_write_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftStepDelay'</span>,timing.central_inj);       
+0165         
+0166 <span class="comment">%     % special modulateur</span>
+0167 <span class="comment">%         temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcTimeDelay');pc=temp.value(1);</span>
+0168 <span class="comment">%         temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftTimeDelay');soft=temp.value(1);</span>
+0169 <span class="comment">%         delay=inj_offset+soft-pc;</span>
+0170 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+0171 <span class="comment">%         %display('ok change 3Hz to soft')</span>
+0172 
+0173 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = Soft'</span>);
+0174 
+0175 <span class="comment">% --- Executes on button press in pushbutton_linac_Off.</span>
+0176 <a name="_sub5" href="#_subfunctions" class="code">function pushbutton_linac_Off_Callback(hObject, eventdata, handles)</a>
+0177 <span class="comment">% hObject    handle to pushbutton_linac_Off (see GCBO)</span>
+0178 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0179 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0180 
+0181 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0182 tout=0.;
+0183 event0=handles.event0;
+0184 
+0185     <span class="comment">% switch to Off</span>
+0186         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,     event0); pause(tout);
+0187         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,event0); pause(tout);
+0188         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,   event0); pause(tout);
+0189         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,event0); pause(tout);
+0190         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,     event0); pause(tout);
+0191         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,     event0); pause(tout);
+0192         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,      event0); pause(tout);
+0193         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>, event0); pause(tout);
+0194 
+0195 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC = Off'</span>);
+0196 
+0197 
+0198 <span class="comment">% --- Executes on button press in pushbutton_boo_3Hz.</span>
+0199 <a name="_sub6" href="#_subfunctions" class="code">function pushbutton_boo_3Hz_Callback(hObject, eventdata, handles)</a>
+0200 <span class="comment">% hObject    handle to pushbutton_boo_3Hz (see GCBO)</span>
+0201 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0202 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0203 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0204 tout=0.;
+0205 event0=handles.event0;
+0206 event00=handles.event00;
+0207 
+0208     <span class="comment">% switch to 3Hz</span>
+0209         event=int32(2) ;<span class="comment">% adresse de l'injection</span>
+0210         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0211         <span class="comment">%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);</span>
+0212         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event); pause(tout);
+0213         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0214         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      event); pause(tout);
+0215         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0216         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0217         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0218         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+0219         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0220         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0221         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0222         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0223         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0224         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0225         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0226         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event);
+0227         <span class="comment">% pas d'extraction</span>
+0228         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0229         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0230         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0231         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0232         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0233         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0234         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0235         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0236         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0237         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([1 1 1 1])*event00; 
+0238         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0239         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0240         
+0241         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([1 1])*event00; 
+0242         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0243         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0244         
+0245 <span class="comment">%      % special modulateur</span>
+0246 <span class="comment">%         delay=inj_offset+0;</span>
+0247 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+0248 <span class="comment">%         display('ok change soft to 3Hz')</span>
+0249 
+0250 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = 3Hz'</span>);
+0251 
+0252 
+0253 <span class="comment">% --- Executes on button press in pushbutton_boo_soft.</span>
+0254 <a name="_sub7" href="#_subfunctions" class="code">function pushbutton_boo_soft_Callback(hObject, eventdata, handles)</a>
+0255 <span class="comment">% hObject    handle to pushbutton_boo_soft (see GCBO)</span>
+0256 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0257 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0258 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0259 tout=0.;
+0260 event0=handles.event0;
+0261 event00=handles.event00;
+0262 
+0263     <span class="comment">% switch to soft</span>
+0264         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0265         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0266         <span class="comment">%tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);</span>
+0267         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event); pause(tout);
+0268         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0269         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      int32(1)); pause(tout);
+0270         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0271         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0272         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0273         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+0274         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0275         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0276         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0277         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0278         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0279         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0280         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0281         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event);
+0282         <span class="comment">% Pas d'extraction</span>
+0283         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0284         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0285         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0286         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0287         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0288         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event0);pause(tout);
+0289         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event0);pause(tout);
+0290         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event0);pause(tout);
+0291         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event0);pause(tout);
+0292         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([1 1 1 1])*event00; 
+0293         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0294         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0295         
+0296         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([1 1])*event00; 
+0297         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0298         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0299 
+0300         
+0301     <span class="comment">% special modulateur</span>
+0302         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);pc=temp.value(1);
+0303         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);soft=temp.value(1);
+0304         delay=inj_offset+soft-pc;
+0305         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0306         
+0307 
+0308 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = Soft'</span>);
+0309 
+0310 
+0311 <span class="comment">% --- Executes on button press in pushbutton_boo_off.</span>
+0312 <a name="_sub8" href="#_subfunctions" class="code">function pushbutton_boo_off_Callback(hObject, eventdata, handles)</a>
+0313 <span class="comment">% hObject    handle to pushbutton_boo_off (see GCBO)</span>
+0314 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0315 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0316 
+0317 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0318 tout=0.;
+0319 event0=handles.event0;
+0320 event00=handles.event00;
+0321 
+0322     <span class="comment">% switch to Off</span>
+0323         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event0); pause(tout);
+0324         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0325         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0326         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      event0); pause(tout);
+0327         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event0); pause(tout);
+0328         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event0); pause(tout);
+0329         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event0); pause(tout);
+0330         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event0); pause(tout);     
+0331         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event0); pause(tout);
+0332         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event0); pause(tout);
+0333         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event0); pause(tout);
+0334         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event0); pause(tout);
+0335         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event0); pause(tout);
+0336         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event0); pause(tout);
+0337         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0); pause(tout);
+0338         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,    event0); pause(tout);
+0339         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event0);pause(tout);
+0340         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event0);pause(tout);
+0341         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event0);pause(tout);
+0342         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event0);pause(tout);
+0343         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event0);pause(tout);
+0344         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,    event0);pause(tout);
+0345         
+0346 
+0347 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO = Off'</span>);
+0348 
+0349 
+0350 <span class="comment">% --- Executes on button press in pushbutton_ans_3hz.</span>
+0351 <a name="_sub9" href="#_subfunctions" class="code">function pushbutton_ans_3hz_Callback(hObject, eventdata, handles)</a>
+0352 <span class="comment">% hObject    handle to pushbutton_ans_3hz (see GCBO)</span>
+0353 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0354 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0355 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0356 tout=0.;
+0357 event0=handles.event0;
+0358 event00=handles.event00;
+0359 
+0360 <span class="comment">%     % switch to 3Hz</span>
+0361 <span class="comment">%         event=int32(2) ;% adresse de l'injection</span>
+0362 <span class="comment">%         tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'oscEvent',        event); pause(tout);</span>
+0363 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'lpmEvent',        event0); pause(tout);</span>
+0364 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.SPM.1', 'spmLinacEvent',   event0); pause(tout);</span>
+0365 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareEvent',      eint32(1)); pause(tout);</span>
+0366 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-bta.trigEvent',event); pause(tout);</span>
+0367 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.1', 'bpm-btd.trigEvent',event); pause(tout);</span>
+0368 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.2', 'bpm-btb.trigEvent',event); pause(tout);</span>
+0369 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-btc.trigEvent',event); pause(tout);</span>
+0370 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'emittanceEvent',   event); pause(tout);</span>
+0371 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.1Event',        event); pause(tout);</span>
+0372 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'mc.2Event',        event); pause(tout);</span>
+0373 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'oscEvent',         event); pause(tout);</span>
+0374 <span class="comment">%         tango_write_attribute2('LT1/SY/LOCAL.DG.1', 'dcct-booEvent',    event); pause(tout);</span>
+0375 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'bpm-onde.trigEvent',event);pause(tout);</span>
+0376 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'sep-p.trigEvent', event); pause(tout);</span>
+0377 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Binj.1', 'k.trigEvent',     event);</span>
+0378 <span class="comment">%         event=int32(3) ;% adresse de extraction</span>
+0379 <span class="comment">%         tango_write_attribute2('ANS/SY/LOCAL.SDC.1', 'spareEvent',      event);pause(tout);</span>
+0380 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'dof.trigEvent',  event);pause(tout);</span>
+0381 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-p.trigEvent',event);pause(tout);</span>
+0382 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigEvent',event);pause(tout);</span>
+0383 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.Bext.1', 'k.trigEvent',    event);pause(tout);</span>
+0384 <span class="comment">%         tango_write_attribute2('LT2/SY/LOCAL.DG.2', 'bpm.trigEvent',    event);pause(tout);</span>
+0385 <span class="comment">%         tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'osc-fctEvent',     event);pause(tout);</span>
+0386 <span class="comment">%         tango_write_attribute2('LT2/SY/LOCAL.DG.1', 'mrsvEvent',        event);pause(tout);</span>
+0387 <span class="comment">%         tango_write_attribute2('BOO/SY/LOCAL.DG.3', 'emittanceEvent',   event);pause(tout);</span>
+0388 <span class="comment">%</span>
+0389 <span class="comment">%         arg.svalue={'k1.trig','k2.trig','k3.trig','k4.trig'}; arg.lvalue=int32([3 3 3 3]);</span>
+0390 <span class="comment">%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.1','SetEventsNumbers',arg);% chagement groupÃ© address sans update</span>
+0391 <span class="comment">%</span>
+0392 <span class="comment">%         arg.svalue={'sep-p.trig','sep-a.trig'}; arg.lvalue=int32([3 3]);</span>
+0393 <span class="comment">%         tango_command_inout('ANS-C01/SY/LOCAL.Ainj.2','SetEventsNumbers',arg);% chagement groupÃ© address sans update</span>
+0394 <span class="comment">%</span>
+0395 <span class="comment">%         tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'dcctEvent',    event);pause(tout);</span>
+0396 <span class="comment">%         tango_write_attribute2('ANS-C01/SY/LOCAL.DG.2', 'bpm.trigEvent',event);pause(tout);</span>
+0397 <span class="comment">%         tango_write_attribute2('ANS-C02/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0398 <span class="comment">%         tango_write_attribute2('ANS-C03/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0399 <span class="comment">%         tango_write_attribute2('ANS-C04/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0400 <span class="comment">%         tango_write_attribute2('ANS-C05/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0401 <span class="comment">%         tango_write_attribute2('ANS-C06/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0402 <span class="comment">%         tango_write_attribute2('ANS-C07/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0403 <span class="comment">%         tango_write_attribute2('ANS-C08/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0404 <span class="comment">%         tango_write_attribute2('ANS-C09/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0405 <span class="comment">%         tango_write_attribute2('ANS-C10/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0406 <span class="comment">%         tango_write_attribute2('ANS-C11/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0407 <span class="comment">%         tango_write_attribute2('ANS-C12/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0408 <span class="comment">%         tango_write_attribute2('ANS-C13/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0409 <span class="comment">%         tango_write_attribute2('ANS-C14/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0410 <span class="comment">%         tango_write_attribute2('ANS-C15/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0411 <span class="comment">%         tango_write_attribute2('ANS-C16/SY/LOCAL.DG.1', 'bpm.trigEvent',event);pause(tout);</span>
+0412 <span class="comment">%</span>
+0413 <span class="comment">%     % special modulateur</span>
+0414 <span class="comment">%         delay=inj_offset+0;</span>
+0415 <span class="comment">%         tango_write_attribute2('LIN/SY/LOCAL.LPM.1', 'spareTimeDelay',delay);</span>
+0416 <span class="comment">%         display('ok change soft to 3Hz')</span>
+0417         
+0418        <span class="comment">% special septum actif boo et ans</span>
+0419 <span class="comment">%         r=(1+0.0004);</span>
+0420 <span class="comment">%         try</span>
+0421 <span class="comment">%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r</span>
+0422 <span class="comment">%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);</span>
+0423 <span class="comment">%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r</span>
+0424 <span class="comment">%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);</span>
+0425 <span class="comment">%         catch</span>
+0426 <span class="comment">%             display('Erreur ajustement tension septa passif')</span>
+0427 <span class="comment">%         end</span>
+0428 
+0429 
+0430 <span class="comment">%display('ok change address')</span>
+0431 
+0432 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'Aucune Action'</span>);
+0433 
+0434 
+0435 <span class="comment">% --- Executes on button press in pushbutton_ans_soft.</span>
+0436 <a name="_sub10" href="#_subfunctions" class="code">function pushbutton_ans_soft_Callback(hObject, eventdata, handles)</a>
+0437 <span class="comment">% hObject    handle to pushbutton_ans_soft (see GCBO)</span>
+0438 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0439 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0440 load(<span class="string">'synchro_offset_lin'</span>, <span class="string">'inj_offset'</span> , <span class="string">'ext_offset'</span>, <span class="string">'lin_fin'</span>);
+0441 tout=0.;
+0442 event0=handles.event0;
+0443 event00=handles.event00;
+0444 
+0445     <span class="comment">% switch to soft</span>
+0446         event=int32(5) ;<span class="comment">% adresse de l'injection</span>
+0447         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'oscEvent'</span>,        event); pause(tout);
+0448         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'lpmEvent'</span>,        event0); pause(tout);
+0449         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>, <span class="string">'spmLinacEvent'</span>,   event0); pause(tout);
+0450         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareEvent'</span>,      int32(1)); pause(tout);
+0451         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-bta.trigEvent'</span>,event); pause(tout);
+0452         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'bpm-btd.trigEvent'</span>,event); pause(tout);
+0453         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'bpm-btb.trigEvent'</span>,event); pause(tout);
+0454         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-btc.trigEvent'</span>,event); pause(tout); 
+0455         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'emittanceEvent'</span>,   event); pause(tout);
+0456         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.1Event'</span>,        event); pause(tout);
+0457         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'mc.2Event'</span>,        event); pause(tout);
+0458         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'oscEvent'</span>,         event); pause(tout);
+0459         tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'dcct-booEvent'</span>,    event); pause(tout);
+0460         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'bpm-onde.trigEvent'</span>,event);pause(tout);
+0461         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'sep-p.trigEvent'</span>, event); pause(tout);
+0462         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>, <span class="string">'k.trigEvent'</span>,     event);
+0463  
+0464         tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>, <span class="string">'spareEvent'</span>,      event);pause(tout);
+0465         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'dof.trigEvent'</span>,  event);pause(tout);
+0466         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-p.trigEvent'</span>,event);pause(tout);
+0467         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'sep-a.trigEvent'</span>,event);pause(tout);
+0468         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>, <span class="string">'k.trigEvent'</span>,    event);pause(tout);
+0469         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,    event);pause(tout);
+0470         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'osc-fctEvent'</span>,     event);pause(tout);
+0471         tango_write_attribute2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>, <span class="string">'mrsvEvent'</span>,        event);pause(tout);
+0472         tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'emittanceEvent'</span>,   event);pause(tout);
+0473         arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}; arg.lvalue=int32([5 5 5 5]); 
+0474         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© addresses sans update</span>
+0475         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0476         
+0477         arg.svalue={<span class="string">'sep-p.trig'</span>,<span class="string">'sep-a.trig'</span>}; arg.lvalue=int32([5 5]); 
+0478         tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,<span class="string">'SetEventsNumbers'</span>,arg);<span class="comment">% chagement groupÃ© address sans update</span>
+0479         tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>, <span class="string">'Update'</span>);
+0480         
+0481         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'dcctEvent'</span>,    int32(3));pause(tout);
+0482         tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0483         tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0484         tango_write_attribute2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0485         tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0486         tango_write_attribute2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0487         tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0488         tango_write_attribute2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0489         tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0490         tango_write_attribute2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);
+0491         tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0492         tango_write_attribute2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0493         tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0494         tango_write_attribute2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0495         tango_write_attribute2(<span class="string">'ANS-C14/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0496         tango_write_attribute2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);  
+0497         tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>, <span class="string">'bpm.trigEvent'</span>,event);pause(tout);    
+0498         
+0499     <span class="comment">% special modulateur</span>
+0500         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TPcTimeDelay'</span>);pc=temp.value(1);
+0501         temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TSoftTimeDelay'</span>);soft=temp.value(1);
+0502         delay=inj_offset+soft-pc;
+0503         tango_write_attribute2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>, <span class="string">'spareTimeDelay'</span>,delay);
+0504 
+0505         
+0506 <span class="comment">%      % special septum actif boo et ans</span>
+0507 <span class="comment">%         r=(1-0.0004);</span>
+0508 <span class="comment">%         try</span>
+0509 <span class="comment">%             temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r</span>
+0510 <span class="comment">%             tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);</span>
+0511 <span class="comment">%             temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage');ans=temp.value(2)*r</span>
+0512 <span class="comment">%             tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);</span>
+0513 <span class="comment">%         catch</span>
+0514 <span class="comment">%             display('Erreur ajustement tension septa passif')</span>
+0515 <span class="comment">%         end</span>
+0516         
+0517 
+0518 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'LINAC + BOO + ANS = Soft'</span>);
+0519 
+0520 
+0521 
+0522 
+0523 <span class="comment">% --- Executes on button press in pushbutton_ans_off.</span>
+0524 <a name="_sub11" href="#_subfunctions" class="code">function pushbutton_ans_off_Callback(hObject, eventdata, handles)</a>
+0525 <span class="comment">% hObject    handle to pushbutton_ans_off (see GCBO)</span>
+0526 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0527 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0528 
+0529 set(handles.edit_etat, <span class="string">'String'</span>,<span class="string">'Aucune Action'</span>);
+0530 
+0531 <a name="_sub12" href="#_subfunctions" class="code">function edit_etat_Callback(hObject, eventdata, handles)</a>
+0532 <span class="comment">% hObject    handle to edit_etat (see GCBO)</span>
+0533 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0534 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0535 
+0536 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_etat as text</span>
+0537 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_etat as a double</span>
+0538 
+0539 
+0540 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0541 <a name="_sub13" href="#_subfunctions" class="code">function edit_etat_CreateFcn(hObject, eventdata, handles)</a>
+0542 <span class="comment">% hObject    handle to edit_etat (see GCBO)</span>
+0543 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0544 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0545 
+0546 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0547 <span class="comment">%       See ISPC and COMPUTER.</span>
+0548 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0549     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0550 <span class="keyword">end</span>
+0551 
+0552</pre></div>
+<hr><address>Generated on Fri 23-Jul-2010 00:42:07 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_survey.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_survey.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_survey.html	(revision 17)
@@ -0,0 +1,891 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_survey</title>
+  <meta name="keywords" content="synchro_survey">
+  <meta name="description" content="SYNCHRO_SURVEY M-file for synchro_survey.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_survey.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_survey
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>SYNCHRO_SURVEY M-file for synchro_survey.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = synchro_survey(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> SYNCHRO_SURVEY M-file for synchro_survey.fig
+      SYNCHRO_SURVEY, by itself, creates a new SYNCHRO_SURVEY or raises the existing
+      singleton*.
+
+      H = SYNCHRO_SURVEY returns the handle to a new SYNCHRO_SURVEY or the handle to
+      the existing singleton*.
+
+      SYNCHRO_SURVEY('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in SYNCHRO_SURVEY.M with the given input arguments.
+
+      SYNCHRO_SURVEY('Property','Value',...) creates a new SYNCHRO_SURVEY or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before synchro_survey_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to synchro_survey_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>	retour update</li><li><a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>	Manage state string from synchro</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function synchro_survey_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = synchro_survey_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function edit_LIN_lpm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function edit_LIN_lpm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function pushbutton_get_status_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function edit_BOO_Binj_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit_BOO_Binj_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function edit_BOO_Alim_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function edit_BOO_Alim_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function edit_BOO_DG3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function edit_BOO_DG3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_BOO_Bext_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_BOO_Bext_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function edit_ANS_Ainj1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function edit_ANS_Ainj1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function edit_ANS_Ainj2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function edit_ANS_Ainj2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function edit_ANS_C01_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function edit_ANS_C01_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function edit_ANS_C03_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function edit_ANS_C03_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function edit_ANS_C05_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function edit_ANS_C05_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function edit_ANS_C07_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function edit_ANS_C07_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function edit_ANS_C09_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function edit_ANS_C09_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function edit_ANS_C11_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function edit_ANS_C11_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function edit_ANS_C13_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function edit_ANS_C13_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function edit_ANS_C15_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function edit_ANS_C15_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function edit_ANS_SDC_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function edit_ANS_SDC_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function edit_LIN_spm_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function edit_LIN_spm_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function pushbutton_Update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function pushbutton_special_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function pushbutton_lin1_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function pushbutton_lin1_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function pushbutton_lin1_atk_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function pushbutton_lt1_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function pushbutton_lt1_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function pushbutton_lt1_atk_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function pushbutton_boo_binj_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function pushbutton_boo_binj_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function pushbutton_boo_binj_atk_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function pushbutton_boo_alim_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function pushbutton_boo_alim_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function pushbutton_boo_alim_atk_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function pushbutton_boo_dg3_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function pushbutton_boo_dg3_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub54" class="code">function pushbutton_boo_dg3_atk_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function pushbutton_boo_bext_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function pushbutton_boo_bext_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function pushbutton_boo_bext_atk_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function pushbutton_ans_ainj_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function pushbutton_ans_ainj_update_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function pushbutton_ans_ainj_atk_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function pushbutton_ans_ainj2_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function pushbutton26_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function pushbutton_ans_ainj2_atk_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function pushbutton_ans_ainj2_update_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = synchro_survey(varargin)</a>
+0002 <span class="comment">% SYNCHRO_SURVEY M-file for synchro_survey.fig</span>
+0003 <span class="comment">%      SYNCHRO_SURVEY, by itself, creates a new SYNCHRO_SURVEY or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = SYNCHRO_SURVEY returns the handle to a new SYNCHRO_SURVEY or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      SYNCHRO_SURVEY('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in SYNCHRO_SURVEY.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      SYNCHRO_SURVEY('Property','Value',...) creates a new SYNCHRO_SURVEY or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before synchro_survey_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to synchro_survey_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help synchro_survey</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 12-Mar-2007 04:30:58</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction synchro_survey_OpeningFcn(hObject, eventdata, handles, varargin)">synchro_survey_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = synchro_survey_OutputFcn(hObject, eventdata, handles)">synchro_survey_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before synchro_survey is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function synchro_survey_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to synchro_survey (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for synchro_survey</span>
+0056 handles.output = hObject;
+0057 
+0058 <a href="#_sub5" class="code" title="subfunction pushbutton_get_status_Callback(hObject, eventdata, handles)">pushbutton_get_status_Callback</a>(hObject, eventdata, handles)
+0059 
+0060 <span class="comment">% Update handles structure</span>
+0061 guidata(hObject, handles);
+0062 
+0063 <span class="comment">% UIWAIT makes synchro_survey wait for user response (see UIRESUME)</span>
+0064 <span class="comment">% uiwait(handles.figure1);</span>
+0065 
+0066 
+0067 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0068 <a name="_sub2" href="#_subfunctions" class="code">function varargout = synchro_survey_OutputFcn(hObject, eventdata, handles) </a>
+0069 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0070 <span class="comment">% hObject    handle to figure</span>
+0071 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0072 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0073 
+0074 <span class="comment">% Get default command line output from handles structure</span>
+0075 varargout{1} = handles.output;
+0076 
+0077 
+0078 
+0079 <a name="_sub3" href="#_subfunctions" class="code">function edit_LIN_lpm_Callback(hObject, eventdata, handles)</a>
+0080 <span class="comment">% hObject    handle to edit_LIN_lpm (see GCBO)</span>
+0081 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0082 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0083 
+0084 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_LIN_lpm as text</span>
+0085 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_LIN_lpm as a double</span>
+0086 
+0087 
+0088 
+0089 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0090 <a name="_sub4" href="#_subfunctions" class="code">function edit_LIN_lpm_CreateFcn(hObject, eventdata, handles)</a>
+0091 <span class="comment">% hObject    handle to edit_LIN_lpm (see GCBO)</span>
+0092 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0093 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0094 
+0095 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0096 <span class="comment">%       See ISPC and COMPUTER.</span>
+0097 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0098     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0099 <span class="keyword">end</span>
+0100 
+0101 
+0102 <span class="comment">% --- Executes on button press in pushbutton_lt1_reset_get_status.</span>
+0103 <a name="_sub5" href="#_subfunctions" class="code">function pushbutton_get_status_Callback(hObject, eventdata, handles)</a>
+0104 <span class="comment">% hObject    handle to pushbutton_lt1_reset_get_status (see GCBO)</span>
+0105 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0106 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0107 
+0108 n=30;
+0109 
+0110 temp=tango_read_attribute(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,<span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0111 set(handles.edit_LIN_spm, <span class="string">'String'</span>,txt);
+0112 set(handles.edit_LIN_spm,<span class="string">'BackgroundColor'</span>,color);
+0113 
+0114 temp=tango_read_attribute(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>,<span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0115 set(handles.edit_LIN_lpm, <span class="string">'String'</span>,txt);
+0116 set(handles.edit_LIN_lpm,<span class="string">'BackgroundColor'</span>,color);
+0117 
+0118 temp=tango_read_attribute(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,<span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0119 set(handles.edit_BOO_Binj, <span class="string">'String'</span>,txt);
+0120 set(handles.edit_BOO_Binj,<span class="string">'BackgroundColor'</span>,color);
+0121 
+0122 temp=tango_read_attribute(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Status'</span>);txt=temp.value; [txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0123 set(handles.edit_BOO_Alim, <span class="string">'String'</span>,txt);
+0124 set(handles.edit_BOO_Alim,<span class="string">'BackgroundColor'</span>,color);
+0125 
+0126 temp=tango_read_attribute(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0127 set(handles.edit_BOO_DG3, <span class="string">'String'</span>,txt);
+0128 set(handles.edit_BOO_DG3,<span class="string">'BackgroundColor'</span>,color);
+0129 
+0130 temp=tango_read_attribute(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0131 set(handles.edit_BOO_Bext, <span class="string">'String'</span>,txt);
+0132 set(handles.edit_BOO_Bext,<span class="string">'BackgroundColor'</span>,color);
+0133 
+0134 temp=tango_read_attribute(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0135 set(handles.edit_ANS_Ainj1, <span class="string">'String'</span>,txt);
+0136 set(handles.edit_ANS_Ainj1,<span class="string">'BackgroundColor'</span>,color); 
+0137 
+0138 temp=tango_read_attribute(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0139 set(handles.edit_ANS_Ainj2, <span class="string">'String'</span>,txt);
+0140 set(handles.edit_ANS_Ainj2, <span class="string">'BackgroundColor'</span>,color);
+0141 
+0142 temp=tango_read_attribute(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,  <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0143 set(handles.edit_ANS_C01, <span class="string">'String'</span>,txt);
+0144 set(handles.edit_ANS_C01,<span class="string">'BackgroundColor'</span>,color);
+0145 
+0146 temp=tango_read_attribute(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,  <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0147 set(handles.edit_ANS_C03, <span class="string">'String'</span>,txt);
+0148 set(handles.edit_ANS_C03,<span class="string">'BackgroundColor'</span>,color);
+0149 
+0150 temp=tango_read_attribute(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,  <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0151 set(handles.edit_ANS_C05, <span class="string">'String'</span>,txt);
+0152 set(handles.edit_ANS_C05,<span class="string">'BackgroundColor'</span>,color);
+0153 
+0154 temp=tango_read_attribute(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0155 set(handles.edit_ANS_C07, <span class="string">'String'</span>,txt);
+0156 set(handles.edit_ANS_C07,<span class="string">'BackgroundColor'</span>,color);
+0157 
+0158 temp=tango_read_attribute(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,  <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0159 set(handles.edit_ANS_C09, <span class="string">'String'</span>,txt);
+0160 set(handles.edit_ANS_C09,<span class="string">'BackgroundColor'</span>,color);
+0161 
+0162 temp=tango_read_attribute(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0163 set(handles.edit_ANS_C11, <span class="string">'String'</span>,txt);
+0164 set(handles.edit_ANS_C11,<span class="string">'BackgroundColor'</span>,color);
+0165 
+0166 temp=tango_read_attribute(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,  <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0167 set(handles.edit_ANS_C13, <span class="string">'String'</span>,txt);
+0168 set(handles.edit_ANS_C13,<span class="string">'BackgroundColor'</span>,color);
+0169 
+0170 temp=tango_read_attribute(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,  <span class="string">'Status'</span>);txt=temp.value; [txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0171 set(handles.edit_ANS_C15, <span class="string">'String'</span>,txt);
+0172 set(handles.edit_ANS_C15,<span class="string">'BackgroundColor'</span>,color);
+0173 
+0174 temp=tango_read_attribute(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Status'</span>);txt=temp.value;[txt, color]=<a href="state_txt.html" class="code" title="function [txt, color]=state_txt(txt)">state_txt</a>(txt);
+0175 set(handles.edit_ANS_SDC, <span class="string">'String'</span>,txt);
+0176 set(handles.edit_ANS_SDC,<span class="string">'BackgroundColor'</span>,color);
+0177 
+0178 <a name="_sub6" href="#_subfunctions" class="code">function edit_BOO_Binj_Callback(hObject, eventdata, handles)</a>
+0179 <span class="comment">% hObject    handle to edit_BOO_Binj (see GCBO)</span>
+0180 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0181 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0182 
+0183 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_BOO_Binj as text</span>
+0184 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_BOO_Binj as a double</span>
+0185 
+0186 
+0187 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0188 <a name="_sub7" href="#_subfunctions" class="code">function edit_BOO_Binj_CreateFcn(hObject, eventdata, handles)</a>
+0189 <span class="comment">% hObject    handle to edit_BOO_Binj (see GCBO)</span>
+0190 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0191 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0192 
+0193 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0194 <span class="comment">%       See ISPC and COMPUTER.</span>
+0195 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0196     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0197 <span class="keyword">end</span>
+0198 
+0199 
+0200 
+0201 <a name="_sub8" href="#_subfunctions" class="code">function edit_BOO_Alim_Callback(hObject, eventdata, handles)</a>
+0202 <span class="comment">% hObject    handle to edit_BOO_Alim (see GCBO)</span>
+0203 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0204 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0205 
+0206 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_BOO_Alim as text</span>
+0207 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_BOO_Alim as a double</span>
+0208 
+0209 
+0210 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0211 <a name="_sub9" href="#_subfunctions" class="code">function edit_BOO_Alim_CreateFcn(hObject, eventdata, handles)</a>
+0212 <span class="comment">% hObject    handle to edit_BOO_Alim (see GCBO)</span>
+0213 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0214 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0215 
+0216 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0217 <span class="comment">%       See ISPC and COMPUTER.</span>
+0218 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0219     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0220 <span class="keyword">end</span>
+0221 
+0222 
+0223 
+0224 <a name="_sub10" href="#_subfunctions" class="code">function edit_BOO_DG3_Callback(hObject, eventdata, handles)</a>
+0225 <span class="comment">% hObject    handle to edit_BOO_DG3 (see GCBO)</span>
+0226 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0227 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0228 
+0229 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_BOO_DG3 as text</span>
+0230 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_BOO_DG3 as a double</span>
+0231 
+0232 
+0233 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0234 <a name="_sub11" href="#_subfunctions" class="code">function edit_BOO_DG3_CreateFcn(hObject, eventdata, handles)</a>
+0235 <span class="comment">% hObject    handle to edit_BOO_DG3 (see GCBO)</span>
+0236 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0237 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0238 
+0239 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0240 <span class="comment">%       See ISPC and COMPUTER.</span>
+0241 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0242     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0243 <span class="keyword">end</span>
+0244 
+0245 
+0246 
+0247 <a name="_sub12" href="#_subfunctions" class="code">function edit_BOO_Bext_Callback(hObject, eventdata, handles)</a>
+0248 <span class="comment">% hObject    handle to edit_BOO_Bext (see GCBO)</span>
+0249 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0250 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0251 
+0252 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_BOO_Bext as text</span>
+0253 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_BOO_Bext as a double</span>
+0254 
+0255 
+0256 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0257 <a name="_sub13" href="#_subfunctions" class="code">function edit_BOO_Bext_CreateFcn(hObject, eventdata, handles)</a>
+0258 <span class="comment">% hObject    handle to edit_BOO_Bext (see GCBO)</span>
+0259 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0260 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0261 
+0262 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0263 <span class="comment">%       See ISPC and COMPUTER.</span>
+0264 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0265     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0266 <span class="keyword">end</span>
+0267 
+0268 
+0269 
+0270 <a name="_sub14" href="#_subfunctions" class="code">function edit_ANS_Ainj1_Callback(hObject, eventdata, handles)</a>
+0271 <span class="comment">% hObject    handle to edit_ANS_Ainj1 (see GCBO)</span>
+0272 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0273 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0274 
+0275 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_Ainj1 as text</span>
+0276 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_Ainj1 as a double</span>
+0277 
+0278 
+0279 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0280 <a name="_sub15" href="#_subfunctions" class="code">function edit_ANS_Ainj1_CreateFcn(hObject, eventdata, handles)</a>
+0281 <span class="comment">% hObject    handle to edit_ANS_Ainj1 (see GCBO)</span>
+0282 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0283 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0284 
+0285 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0286 <span class="comment">%       See ISPC and COMPUTER.</span>
+0287 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0288     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0289 <span class="keyword">end</span>
+0290 
+0291 
+0292 
+0293 <a name="_sub16" href="#_subfunctions" class="code">function edit_ANS_Ainj2_Callback(hObject, eventdata, handles)</a>
+0294 <span class="comment">% hObject    handle to edit_ANS_Ainj2 (see GCBO)</span>
+0295 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0296 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0297 
+0298 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_Ainj2 as text</span>
+0299 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_Ainj2 as a double</span>
+0300 
+0301 
+0302 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0303 <a name="_sub17" href="#_subfunctions" class="code">function edit_ANS_Ainj2_CreateFcn(hObject, eventdata, handles)</a>
+0304 <span class="comment">% hObject    handle to edit_ANS_Ainj2 (see GCBO)</span>
+0305 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0306 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0307 
+0308 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0309 <span class="comment">%       See ISPC and COMPUTER.</span>
+0310 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0311     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0312 <span class="keyword">end</span>
+0313 
+0314 
+0315 
+0316 <a name="_sub18" href="#_subfunctions" class="code">function edit_ANS_C01_Callback(hObject, eventdata, handles)</a>
+0317 <span class="comment">% hObject    handle to edit_ANS_C01 (see GCBO)</span>
+0318 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0319 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0320 
+0321 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_C01 as text</span>
+0322 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_C01 as a double</span>
+0323 
+0324 
+0325 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0326 <a name="_sub19" href="#_subfunctions" class="code">function edit_ANS_C01_CreateFcn(hObject, eventdata, handles)</a>
+0327 <span class="comment">% hObject    handle to edit_ANS_C01 (see GCBO)</span>
+0328 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0329 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0330 
+0331 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0332 <span class="comment">%       See ISPC and COMPUTER.</span>
+0333 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0334     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0335 <span class="keyword">end</span>
+0336 
+0337 
+0338 
+0339 <a name="_sub20" href="#_subfunctions" class="code">function edit_ANS_C03_Callback(hObject, eventdata, handles)</a>
+0340 <span class="comment">% hObject    handle to edit_ANS_C03 (see GCBO)</span>
+0341 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0342 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0343 
+0344 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_C03 as text</span>
+0345 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_C03 as a double</span>
+0346 
+0347 
+0348 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0349 <a name="_sub21" href="#_subfunctions" class="code">function edit_ANS_C03_CreateFcn(hObject, eventdata, handles)</a>
+0350 <span class="comment">% hObject    handle to edit_ANS_C03 (see GCBO)</span>
+0351 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0352 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0353 
+0354 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0355 <span class="comment">%       See ISPC and COMPUTER.</span>
+0356 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0357     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0358 <span class="keyword">end</span>
+0359 
+0360 
+0361 
+0362 <a name="_sub22" href="#_subfunctions" class="code">function edit_ANS_C05_Callback(hObject, eventdata, handles)</a>
+0363 <span class="comment">% hObject    handle to edit_ANS_C05 (see GCBO)</span>
+0364 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0365 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0366 
+0367 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_C05 as text</span>
+0368 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_C05 as a double</span>
+0369 
+0370 
+0371 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0372 <a name="_sub23" href="#_subfunctions" class="code">function edit_ANS_C05_CreateFcn(hObject, eventdata, handles)</a>
+0373 <span class="comment">% hObject    handle to edit_ANS_C05 (see GCBO)</span>
+0374 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0375 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0376 
+0377 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0378 <span class="comment">%       See ISPC and COMPUTER.</span>
+0379 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0380     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0381 <span class="keyword">end</span>
+0382 
+0383 
+0384 
+0385 <a name="_sub24" href="#_subfunctions" class="code">function edit_ANS_C07_Callback(hObject, eventdata, handles)</a>
+0386 <span class="comment">% hObject    handle to edit_ANS_C07 (see GCBO)</span>
+0387 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0388 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0389 
+0390 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_C07 as text</span>
+0391 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_C07 as a double</span>
+0392 
+0393 
+0394 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0395 <a name="_sub25" href="#_subfunctions" class="code">function edit_ANS_C07_CreateFcn(hObject, eventdata, handles)</a>
+0396 <span class="comment">% hObject    handle to edit_ANS_C07 (see GCBO)</span>
+0397 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0398 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0399 
+0400 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0401 <span class="comment">%       See ISPC and COMPUTER.</span>
+0402 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0403     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0404 <span class="keyword">end</span>
+0405 
+0406 
+0407 
+0408 <a name="_sub26" href="#_subfunctions" class="code">function edit_ANS_C09_Callback(hObject, eventdata, handles)</a>
+0409 <span class="comment">% hObject    handle to edit_ANS_C09 (see GCBO)</span>
+0410 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0411 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0412 
+0413 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_C09 as text</span>
+0414 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_C09 as a double</span>
+0415 
+0416 
+0417 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0418 <a name="_sub27" href="#_subfunctions" class="code">function edit_ANS_C09_CreateFcn(hObject, eventdata, handles)</a>
+0419 <span class="comment">% hObject    handle to edit_ANS_C09 (see GCBO)</span>
+0420 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0421 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0422 
+0423 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0424 <span class="comment">%       See ISPC and COMPUTER.</span>
+0425 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0426     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0427 <span class="keyword">end</span>
+0428 
+0429 
+0430 
+0431 <a name="_sub28" href="#_subfunctions" class="code">function edit_ANS_C11_Callback(hObject, eventdata, handles)</a>
+0432 <span class="comment">% hObject    handle to edit_ANS_C11 (see GCBO)</span>
+0433 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0434 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0435 
+0436 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_C11 as text</span>
+0437 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_C11 as a double</span>
+0438 
+0439 
+0440 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0441 <a name="_sub29" href="#_subfunctions" class="code">function edit_ANS_C11_CreateFcn(hObject, eventdata, handles)</a>
+0442 <span class="comment">% hObject    handle to edit_ANS_C11 (see GCBO)</span>
+0443 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0444 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0445 
+0446 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0447 <span class="comment">%       See ISPC and COMPUTER.</span>
+0448 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0449     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0450 <span class="keyword">end</span>
+0451 
+0452 
+0453 
+0454 <a name="_sub30" href="#_subfunctions" class="code">function edit_ANS_C13_Callback(hObject, eventdata, handles)</a>
+0455 <span class="comment">% hObject    handle to edit_ANS_C13 (see GCBO)</span>
+0456 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0457 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0458 
+0459 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_C13 as text</span>
+0460 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_C13 as a double</span>
+0461 
+0462 
+0463 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0464 <a name="_sub31" href="#_subfunctions" class="code">function edit_ANS_C13_CreateFcn(hObject, eventdata, handles)</a>
+0465 <span class="comment">% hObject    handle to edit_ANS_C13 (see GCBO)</span>
+0466 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0467 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0468 
+0469 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0470 <span class="comment">%       See ISPC and COMPUTER.</span>
+0471 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0472     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0473 <span class="keyword">end</span>
+0474 
+0475 
+0476 
+0477 <a name="_sub32" href="#_subfunctions" class="code">function edit_ANS_C15_Callback(hObject, eventdata, handles)</a>
+0478 <span class="comment">% hObject    handle to edit_ANS_C15 (see GCBO)</span>
+0479 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0480 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0481 
+0482 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_C15 as text</span>
+0483 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_C15 as a double</span>
+0484 
+0485 
+0486 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0487 <a name="_sub33" href="#_subfunctions" class="code">function edit_ANS_C15_CreateFcn(hObject, eventdata, handles)</a>
+0488 <span class="comment">% hObject    handle to edit_ANS_C15 (see GCBO)</span>
+0489 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0490 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0491 
+0492 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0493 <span class="comment">%       See ISPC and COMPUTER.</span>
+0494 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0495     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0496 <span class="keyword">end</span>
+0497 
+0498 
+0499 
+0500 <a name="_sub34" href="#_subfunctions" class="code">function edit_ANS_SDC_Callback(hObject, eventdata, handles)</a>
+0501 <span class="comment">% hObject    handle to edit_ANS_SDC (see GCBO)</span>
+0502 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0503 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0504 
+0505 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_ANS_SDC as text</span>
+0506 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_ANS_SDC as a double</span>
+0507 
+0508 
+0509 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0510 <a name="_sub35" href="#_subfunctions" class="code">function edit_ANS_SDC_CreateFcn(hObject, eventdata, handles)</a>
+0511 <span class="comment">% hObject    handle to edit_ANS_SDC (see GCBO)</span>
+0512 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0513 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0514 
+0515 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0516 <span class="comment">%       See ISPC and COMPUTER.</span>
+0517 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0518     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0519 <span class="keyword">end</span>
+0520 
+0521 
+0522 
+0523 <a name="_sub36" href="#_subfunctions" class="code">function edit_LIN_spm_Callback(hObject, eventdata, handles)</a>
+0524 <span class="comment">% hObject    handle to edit_LIN_spm (see GCBO)</span>
+0525 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0526 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0527 
+0528 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_LIN_spm as text</span>
+0529 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_LIN_spm as a double</span>
+0530 
+0531 
+0532 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0533 <a name="_sub37" href="#_subfunctions" class="code">function edit_LIN_spm_CreateFcn(hObject, eventdata, handles)</a>
+0534 <span class="comment">% hObject    handle to edit_LIN_spm (see GCBO)</span>
+0535 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0536 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0537 
+0538 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0539 <span class="comment">%       See ISPC and COMPUTER.</span>
+0540 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0541     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0542 <span class="keyword">end</span>
+0543 
+0544 
+0545 <span class="comment">% --- Executes on button press in pushbutton_lt1_reset_Update.</span>
+0546 <a name="_sub38" href="#_subfunctions" class="code">function pushbutton_Update_Callback(hObject, eventdata, handles)</a>
+0547 <span class="comment">% hObject    handle to pushbutton_lt1_reset_Update (see GCBO)</span>
+0548 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0549 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0550 
+0551 
+0552 r=tango_command_inout2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,r);
+0553 r=tango_command_inout2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>,<span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>,r);
+0554 r=tango_command_inout2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,<span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,r);
+0555 
+0556 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>);    <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,r);
+0557 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,r);
+0558 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.RF.1'</span>,r);
+0559 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.1'</span>,r);
+0560 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.2'</span>,r);
+0561 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.3'</span>,r);
+0562 r=tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,r);
+0563 
+0564 r=tango_command_inout2(<span class="string">'LT2/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LT2/SY/LOCAL.DG.1'</span>,r);
+0565 r=tango_command_inout2(<span class="string">'LT2/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'LT2/SY/LOCAL.DG.2'</span>,r);
+0566 
+0567 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,r);
+0568 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,r);
+0569 r=tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,r);
+0570 r=tango_command_inout2(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C03/SY/LOCAL.DG.1'</span>,r);
+0571 r=tango_command_inout2(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C05/SY/LOCAL.DG.1'</span>,r);
+0572 r=tango_command_inout2(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C07/SY/LOCAL.DG.1'</span>,r);
+0573 r=tango_command_inout2(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C09/SY/LOCAL.DG.1'</span>,r);
+0574 r=tango_command_inout2(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C11/SY/LOCAL.DG.1'</span>,r);
+0575 r=tango_command_inout2(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C13/SY/LOCAL.DG.1'</span>,r);
+0576 r=tango_command_inout2(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>); <a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS-C15/SY/LOCAL.DG.1'</span>,r);
+0577 r=tango_command_inout2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,  <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,r);
+0578 
+0579 r=tango_command_inout2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>);<a href="retour_update.html" class="code" title="function retour_update(carte,r)">retour_update</a>(<span class="string">'BOO/SY/LOCAL.DG.1'</span>,r);
+0580 
+0581 <span class="comment">% --- Executes on button press in pushbutton_lt1_reset_special.</span>
+0582 <a name="_sub39" href="#_subfunctions" class="code">function pushbutton_special_Callback(hObject, eventdata, handles)</a>
+0583 <span class="comment">% hObject    handle to pushbutton_lt1_reset_special (see GCBO)</span>
+0584 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0585 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0586 
+0587 
+0588 event=int32(1);
+0589 att =<span class="string">'libre.1Event'</span>;
+0590 tango_write_attribute2(<span class="string">'ANS/SY/LOCAL.SDC.1'</span>,att,event);
+0591 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,att,event);
+0592 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>,att,event);
+0593 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>,att,event);
+0594 tango_write_attribute2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,att,event);
+0595 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,att,event);
+0596 tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,att,event);
+0597 tango_write_attribute2(<span class="string">'ANS-C16/SY/LOCAL.DG.1'</span>,att,event);
+0598 att =<span class="string">'spareEvent'</span>;
+0599 tango_write_attribute2(<span class="string">'ANS-C02/SY/LOCAL.DG.1'</span>,att,event);
+0600 tango_write_attribute2(<span class="string">'ANS-C04/SY/LOCAL.DG.1'</span>,att,event);
+0601 tango_write_attribute2(<span class="string">'ANS-C06/SY/LOCAL.DG.1'</span>,att,event);
+0602 tango_write_attribute2(<span class="string">'ANS-C08/SY/LOCAL.DG.1'</span>,att,event);
+0603 tango_write_attribute2(<span class="string">'ANS-C10/SY/LOCAL.DG.1'</span>,att,event);
+0604 tango_write_attribute2(<span class="string">'ANS-C12/SY/LOCAL.DG.1'</span>,att,event);
+0605 
+0606 
+0607 <span class="comment">% --- Executes on button press in pushbutton_lt1_reset_lin1_reset.</span>
+0608 <a name="_sub40" href="#_subfunctions" class="code">function pushbutton_lin1_reset_Callback(hObject, eventdata, handles)</a>
+0609 <span class="comment">% hObject    handle to pushbutton_lt1_reset_lin1_reset (see GCBO)</span>
+0610 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0611 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0612 
+0613 tango_command_inout2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,<span class="string">'Reset'</span>)
+0614 
+0615 <span class="comment">% --- Executes on button press in pushbutton_lt1_reset_lin1_update.</span>
+0616 <a name="_sub41" href="#_subfunctions" class="code">function pushbutton_lin1_update_Callback(hObject, eventdata, handles)</a>
+0617 <span class="comment">% hObject    handle to pushbutton_lt1_reset_lin1_update (see GCBO)</span>
+0618 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0619 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0620 
+0621 tango_command_inout2(<span class="string">'LIN/SY/LOCAL.SPM.1'</span>,<span class="string">'Update'</span>)
+0622 
+0623 <span class="comment">% --- Executes on button press in pushbutton_lt1_reset_lin1_atk.</span>
+0624 <a name="_sub42" href="#_subfunctions" class="code">function pushbutton_lin1_atk_Callback(hObject, eventdata, handles)</a>
+0625 <span class="comment">% hObject    handle to pushbutton_lt1_reset_lin1_atk (see GCBO)</span>
+0626 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0627 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0628 
+0629 system(<span class="string">'atkpanel LIN/SY/LOCAL.SPM.1 &amp;'</span>)
+0630 
+0631 
+0632 <span class="comment">% --- Executes on button press in pushbutton_lt1_reset.</span>
+0633 <a name="_sub43" href="#_subfunctions" class="code">function pushbutton_lt1_reset_Callback(hObject, eventdata, handles)</a>
+0634 <span class="comment">% hObject    handle to pushbutton_lt1_reset (see GCBO)</span>
+0635 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0636 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0637 
+0638 tango_command_inout2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'Reset'</span>)
+0639 <span class="comment">%tango_command_inout2('LIN/SY/LOCAL.LPM.1','Reset')</span>
+0640 
+0641 <span class="comment">% --- Executes on button press in pushbutton_lt1_update.</span>
+0642 <a name="_sub44" href="#_subfunctions" class="code">function pushbutton_lt1_update_Callback(hObject, eventdata, handles)</a>
+0643 <span class="comment">% hObject    handle to pushbutton_lt1_update (see GCBO)</span>
+0644 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0645 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0646 
+0647 tango_command_inout2(<span class="string">'LT1/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>)
+0648 tango_command_inout2(<span class="string">'LIN/SY/LOCAL.LPM.1'</span>,<span class="string">'Update'</span>)
+0649 
+0650 <span class="comment">% --- Executes on button press in pushbutton_lt1_atk.</span>
+0651 <a name="_sub45" href="#_subfunctions" class="code">function pushbutton_lt1_atk_Callback(hObject, eventdata, handles)</a>
+0652 <span class="comment">% hObject    handle to pushbutton_lt1_atk (see GCBO)</span>
+0653 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0654 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0655 
+0656 system(<span class="string">'atkpanel LIN/SY/LOCAL.LPM.1 &amp;'</span>)
+0657 system(<span class="string">'atkpanel LT1/SY/LOCAL.DG.1 &amp;'</span>)
+0658 
+0659 
+0660 <span class="comment">% --- Executes on button press in pushbutton_boo_binj_reset.</span>
+0661 <a name="_sub46" href="#_subfunctions" class="code">function pushbutton_boo_binj_reset_Callback(hObject, eventdata, handles)</a>
+0662 <span class="comment">% hObject    handle to pushbutton_boo_binj_reset (see GCBO)</span>
+0663 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0664 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0665 
+0666 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Reset'</span>)
+0667 <span class="comment">%tango_command_inout2('BOO/SY/LOCAL.DG.1', 'Reset')</span>
+0668 
+0669 <span class="comment">% --- Executes on button press in pushbutton_boo_binj_update.</span>
+0670 <a name="_sub47" href="#_subfunctions" class="code">function pushbutton_boo_binj_update_Callback(hObject, eventdata, handles)</a>
+0671 <span class="comment">% hObject    handle to pushbutton_boo_binj_update (see GCBO)</span>
+0672 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0673 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0674 
+0675 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Binj.1'</span>,  <span class="string">'Update'</span>)
+0676 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.1'</span>, <span class="string">'Update'</span>)
+0677 
+0678 <span class="comment">% --- Executes on button press in pushbutton_boo_binj_atk.</span>
+0679 <a name="_sub48" href="#_subfunctions" class="code">function pushbutton_boo_binj_atk_Callback(hObject, eventdata, handles)</a>
+0680 <span class="comment">% hObject    handle to pushbutton_boo_binj_atk (see GCBO)</span>
+0681 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0682 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0683 
+0684 system(<span class="string">'atkpanel BOO/SY/LOCAL.DG.1 &amp;'</span>)
+0685 system(<span class="string">'atkpanel BOO/SY/LOCAL.Binj.1 &amp;'</span>)
+0686 
+0687 <span class="comment">% --- Executes on button press in pushbutton_boo_alim_reset.</span>
+0688 <a name="_sub49" href="#_subfunctions" class="code">function pushbutton_boo_alim_reset_Callback(hObject, eventdata, handles)</a>
+0689 <span class="comment">% hObject    handle to pushbutton_boo_alim_reset (see GCBO)</span>
+0690 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0691 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0692 
+0693 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Reset'</span>)
+0694 <span class="comment">%tango_command_inout2('BOO/SY/LOCAL.RF.1',  'Reset')</span>
+0695 
+0696 <span class="comment">% --- Executes on button press in pushbutton_boo_alim_update.</span>
+0697 <a name="_sub50" href="#_subfunctions" class="code">function pushbutton_boo_alim_update_Callback(hObject, eventdata, handles)</a>
+0698 <span class="comment">% hObject    handle to pushbutton_boo_alim_update (see GCBO)</span>
+0699 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0700 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0701 
+0702 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Alim.1'</span>,  <span class="string">'Update'</span>)
+0703 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.RF.1'</span>,  <span class="string">'Update'</span>)
+0704 
+0705 <span class="comment">% --- Executes on button press in pushbutton_boo_alim_atk.</span>
+0706 <a name="_sub51" href="#_subfunctions" class="code">function pushbutton_boo_alim_atk_Callback(hObject, eventdata, handles)</a>
+0707 <span class="comment">% hObject    handle to pushbutton_boo_alim_atk (see GCBO)</span>
+0708 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0709 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0710 
+0711 system(<span class="string">'atkpanel BOO/SY/LOCAL.Alim.1 &amp;'</span>)
+0712 system(<span class="string">'atkpanel BOO/SY/LOCAL.RF.1 &amp;'</span>)
+0713 
+0714 
+0715 <span class="comment">% --- Executes on button press in pushbutton_boo_dg3_reset.</span>
+0716 <a name="_sub52" href="#_subfunctions" class="code">function pushbutton_boo_dg3_reset_Callback(hObject, eventdata, handles)</a>
+0717 <span class="comment">% hObject    handle to pushbutton_boo_dg3_reset (see GCBO)</span>
+0718 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0719 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0720 
+0721 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Reset'</span>)
+0722 
+0723 <span class="comment">% --- Executes on button press in pushbutton_boo_dg3_update.</span>
+0724 <a name="_sub53" href="#_subfunctions" class="code">function pushbutton_boo_dg3_update_Callback(hObject, eventdata, handles)</a>
+0725 <span class="comment">% hObject    handle to pushbutton_boo_dg3_update (see GCBO)</span>
+0726 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0727 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0728 
+0729 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.3'</span>, <span class="string">'Update'</span>)
+0730 
+0731 <span class="comment">% --- Executes on button press in pushbutton_boo_dg3_atk.</span>
+0732 <a name="_sub54" href="#_subfunctions" class="code">function pushbutton_boo_dg3_atk_Callback(hObject, eventdata, handles)</a>
+0733 <span class="comment">% hObject    handle to pushbutton_boo_dg3_atk (see GCBO)</span>
+0734 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0735 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0736 
+0737 system(<span class="string">'atkpanel BOO/SY/LOCAL.DG.3 &amp;'</span>)
+0738 
+0739 <span class="comment">% --- Executes on button press in pushbutton_boo_bext_reset.</span>
+0740 <a name="_sub55" href="#_subfunctions" class="code">function pushbutton_boo_bext_reset_Callback(hObject, eventdata, handles)</a>
+0741 <span class="comment">% hObject    handle to pushbutton_boo_bext_reset (see GCBO)</span>
+0742 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0743 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0744 
+0745 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Reset'</span>)
+0746 
+0747 <span class="comment">% --- Executes on button press in pushbutton_boo_bext_update.</span>
+0748 <a name="_sub56" href="#_subfunctions" class="code">function pushbutton_boo_bext_update_Callback(hObject, eventdata, handles)</a>
+0749 <span class="comment">% hObject    handle to pushbutton_boo_bext_update (see GCBO)</span>
+0750 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0751 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0752 
+0753 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.Bext.1'</span>,  <span class="string">'Update'</span>)
+0754 tango_command_inout2(<span class="string">'BOO/SY/LOCAL.DG.2'</span>, <span class="string">'Update'</span>)
+0755 
+0756 <span class="comment">% --- Executes on button press in pushbutton_boo_bext_atk.</span>
+0757 <a name="_sub57" href="#_subfunctions" class="code">function pushbutton_boo_bext_atk_Callback(hObject, eventdata, handles)</a>
+0758 <span class="comment">% hObject    handle to pushbutton_boo_bext_atk (see GCBO)</span>
+0759 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0760 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0761 
+0762 system(<span class="string">'atkpanel BOO/SY/LOCAL.Bext.1 &amp;'</span>)
+0763 system(<span class="string">'atkpanel BOO/SY/LOCAL.DG.2 &amp;'</span>)
+0764 
+0765 <span class="comment">% --- Executes on button press in pushbutton_ans_ainj_reset.</span>
+0766 <a name="_sub58" href="#_subfunctions" class="code">function pushbutton_ans_ainj_reset_Callback(hObject, eventdata, handles)</a>
+0767 <span class="comment">% hObject    handle to pushbutton_ans_ainj_reset (see GCBO)</span>
+0768 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0769 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0770 
+0771 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Reset'</span>)
+0772 
+0773 <span class="comment">% --- Executes on button press in pushbutton_ans_ainj_update.</span>
+0774 <a name="_sub59" href="#_subfunctions" class="code">function pushbutton_ans_ainj_update_Callback(hObject, eventdata, handles)</a>
+0775 <span class="comment">% hObject    handle to pushbutton_ans_ainj_update (see GCBO)</span>
+0776 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0777 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0778 
+0779 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>)
+0780 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.DG.1'</span>,  <span class="string">'Update'</span>)
+0781 
+0782 <span class="comment">% --- Executes on button press in pushbutton_ans_ainj_atk.</span>
+0783 <a name="_sub60" href="#_subfunctions" class="code">function pushbutton_ans_ainj_atk_Callback(hObject, eventdata, handles)</a>
+0784 <span class="comment">% hObject    handle to pushbutton_ans_ainj_atk (see GCBO)</span>
+0785 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0786 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0787 
+0788 system(<span class="string">'atkpanel ANS-C01/SY/LOCAL.Ainj.1 &amp;'</span>)
+0789 system(<span class="string">'atkpanel ANS-C01/SY/LOCAL.DG.1 &amp;'</span>)
+0790 
+0791 <span class="comment">% --- Executes on button press in pushbutton_ans_ainj2_reset.</span>
+0792 <a name="_sub61" href="#_subfunctions" class="code">function pushbutton_ans_ainj2_reset_Callback(hObject, eventdata, handles)</a>
+0793 <span class="comment">% hObject    handle to pushbutton_ans_ainj2_reset (see GCBO)</span>
+0794 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0795 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0796 
+0797 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Reset'</span>)
+0798 
+0799 
+0800 <span class="comment">% --- Executes on button press in pushbutton26.</span>
+0801 <a name="_sub62" href="#_subfunctions" class="code">function pushbutton26_Callback(hObject, eventdata, handles)</a>
+0802 <span class="comment">% hObject    handle to pushbutton26 (see GCBO)</span>
+0803 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0804 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0805 
+0806 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.2'</span>,  <span class="string">'Update'</span>)
+0807 tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.DG.2'</span>,  <span class="string">'Update'</span>)
+0808 
+0809 <span class="comment">% --- Executes on button press in pushbutton_ans_ainj2_atk.</span>
+0810 <a name="_sub63" href="#_subfunctions" class="code">function pushbutton_ans_ainj2_atk_Callback(hObject, eventdata, handles)</a>
+0811 <span class="comment">% hObject    handle to pushbutton_ans_ainj2_atk (see GCBO)</span>
+0812 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0813 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0814 
+0815 system(<span class="string">'atkpanel ANS-C01/SY/LOCAL.Ainj.2 &amp;'</span>)
+0816 system(<span class="string">'atkpanel ANS-C01/SY/LOCAL.DG.2 &amp;'</span>)
+0817 
+0818 <span class="comment">% --- Executes on button press in pushbutton_ans_ainj2_update.</span>
+0819 <a name="_sub64" href="#_subfunctions" class="code">function pushbutton_ans_ainj2_update_Callback(hObject, eventdata, handles)</a>
+0820 <span class="comment">% hObject    handle to pushbutton_ans_ainj2_update (see GCBO)</span>
+0821 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0822 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0823 
+0824</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_table.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_table.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/synchro_table.html	(revision 17)
@@ -0,0 +1,60 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of synchro_table</title>
+  <meta name="keywords" content="synchro_table">
+  <meta name="description" content="tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; synchro_table.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>synchro_table
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>	BUCKETNUMBER - Computes n1 n2 for timing system master board for a bucket</li></ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">%tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');</span>
+0002 
+0003 temp=tango_read_attribute(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionOffsetClkStepValue'</span>);
+0004 offset=temp.value(1)*52;
+0005 
+0006 bunch=[1 105 209 313];
+0007 [dtour,dpaquet]=<a href="bucketnumber.html" class="code" title="function [n1 n2] = bucketnumber(num)">bucketnumber</a>(bunch);
+0008 dtour
+0009 table=int32([length(bunch) dtour dpaquet]);
+0010 tango_command_inout(<span class="string">'ANS/SY/CENTRAL'</span>,<span class="string">'SetTables'</span>,table)
+0011 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'TablesCurrentDepth'</span>);
+0012 n=temp.value;
+0013 temp=tango_read_attribute2(<span class="string">'ANS/SY/CENTRAL'</span>, <span class="string">'ExtractionDelayTable'</span>);
+0014 temp.value(1:n)-offset</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/tablesynchro.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/tablesynchro.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/tablesynchro.html	(revision 17)
@@ -0,0 +1,66 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of tablesynchro</title>
+  <meta name="keywords" content="tablesynchro">
+  <meta name="description" content="tables synchro">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; tablesynchro.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>tablesynchro
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>tables synchro</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> tables synchro</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% tables synchro</span>
+0002 
+0003 
+0004 clear bunch
+0005 paquet=1;
+0006 bunch(1)=1;
+0007 p=0;
+0008 tab=[0 0];
+0009 <span class="keyword">for</span> i=1:52
+0010     
+0011    paquet=paquet+184;
+0012    <span class="keyword">if</span> (paquet&gt;416)
+0013        paquet=paquet-416;
+0014        p=p+1;
+0015    <span class="keyword">end</span>    
+0016    bunch(i+1)=paquet;
+0017    tab=[tab ; i p ]
+0018 <span class="keyword">end</span>
+0019 bunch
+0020 tab</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test1.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test1.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test1.html	(revision 17)
@@ -0,0 +1,151 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of test1</title>
+  <meta name="keywords" content="test1">
+  <meta name="description" content="TEST1 M-file for test1.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; test1.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>test1
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>TEST1 M-file for test1.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = test1(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> TEST1 M-file for test1.fig
+      TEST1, by itself, creates a new TEST1 or raises the existing
+      singleton*.
+
+      H = TEST1 returns the handle to a new TEST1 or the handle to
+      the existing singleton*.
+
+      TEST1('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in TEST1.M with the given input arguments.
+
+      TEST1('Property','Value',...) creates a new TEST1 or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before test1_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to test1_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function test1_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = test1_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function radiobutton1_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = test1(varargin)</a>
+0002 <span class="comment">% TEST1 M-file for test1.fig</span>
+0003 <span class="comment">%      TEST1, by itself, creates a new TEST1 or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = TEST1 returns the handle to a new TEST1 or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      TEST1('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in TEST1.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      TEST1('Property','Value',...) creates a new TEST1 or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before test1_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to test1_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help test1</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 25-Sep-2006 19:20:24</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction test1_OpeningFcn(hObject, eventdata, handles, varargin)">test1_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = test1_OutputFcn(hObject, eventdata, handles)">test1_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before test1 is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function test1_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to test1 (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for test1</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% Update handles structure</span>
+0059 guidata(hObject, handles);
+0060 
+0061 <span class="comment">% UIWAIT makes test1 wait for user response (see UIRESUME)</span>
+0062 <span class="comment">% uiwait(handles.figure1);</span>
+0063 
+0064 
+0065 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0066 <a name="_sub2" href="#_subfunctions" class="code">function varargout = test1_OutputFcn(hObject, eventdata, handles) </a>
+0067 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0068 <span class="comment">% hObject    handle to figure</span>
+0069 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0070 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0071 
+0072 <span class="comment">% Get default command line output from handles structure</span>
+0073 varargout{1} = handles.output;
+0074 
+0075 
+0076 <span class="comment">% --- Executes on button press in radiobutton1.</span>
+0077 <a name="_sub3" href="#_subfunctions" class="code">function radiobutton1_Callback(hObject, eventdata, handles)</a>
+0078 <span class="comment">% hObject    handle to radiobutton1 (see GCBO)</span>
+0079 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0080 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0081 
+0082 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of radiobutton1</span>
+0083 
+0084</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_button.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_button.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_button.html	(revision 17)
@@ -0,0 +1,141 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of test_button</title>
+  <meta name="keywords" content="test_button">
+  <meta name="description" content="TEST_BUTTON M-file for test_button.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; test_button.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>test_button
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>TEST_BUTTON M-file for test_button.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = test_button(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> TEST_BUTTON M-file for test_button.fig
+      TEST_BUTTON, by itself, creates a new TEST_BUTTON or raises the existing
+      singleton*.
+
+      H = TEST_BUTTON returns the handle to a new TEST_BUTTON or the handle to
+      the existing singleton*.
+
+      TEST_BUTTON('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in TEST_BUTTON.M with the given input arguments.
+
+      TEST_BUTTON('Property','Value',...) creates a new TEST_BUTTON or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before test_button_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to test_button_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function test_button_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = test_button_OutputFcn(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = test_button(varargin)</a>
+0002 <span class="comment">% TEST_BUTTON M-file for test_button.fig</span>
+0003 <span class="comment">%      TEST_BUTTON, by itself, creates a new TEST_BUTTON or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = TEST_BUTTON returns the handle to a new TEST_BUTTON or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      TEST_BUTTON('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in TEST_BUTTON.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      TEST_BUTTON('Property','Value',...) creates a new TEST_BUTTON or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before test_button_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to test_button_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Edit the above text to modify the response to help test_button</span>
+0024 
+0025 <span class="comment">% Last Modified by GUIDE v2.5 23-Jun-2006 16:05:02</span>
+0026 
+0027 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0028 gui_Singleton = 1;
+0029 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0030                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0031                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction test_button_OpeningFcn(hObject, eventdata, handles, varargin)">test_button_OpeningFcn</a>, <span class="keyword">...</span>
+0032                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = test_button_OutputFcn(hObject, eventdata, handles)">test_button_OutputFcn</a>, <span class="keyword">...</span>
+0033                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0034                    <span class="string">'gui_Callback'</span>,   []);
+0035 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0036     gui_State.gui_Callback = str2func(varargin{1});
+0037 <span class="keyword">end</span>
+0038 
+0039 <span class="keyword">if</span> nargout
+0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0041 <span class="keyword">else</span>
+0042     gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">end</span>
+0044 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0045 
+0046 
+0047 <span class="comment">% --- Executes just before test_button is made visible.</span>
+0048 <a name="_sub1" href="#_subfunctions" class="code">function test_button_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0049 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0050 <span class="comment">% hObject    handle to figure</span>
+0051 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0052 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0053 <span class="comment">% varargin   command line arguments to test_button (see VARARGIN)</span>
+0054 
+0055 <span class="comment">% Choose default command line output for test_button</span>
+0056 handles.output = hObject;
+0057 
+0058 <span class="comment">% Update handles structure</span>
+0059 guidata(hObject, handles);
+0060 
+0061 <span class="comment">% UIWAIT makes test_button wait for user response (see UIRESUME)</span>
+0062 <span class="comment">% uiwait(handles.figure1);</span>
+0063 
+0064 
+0065 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0066 <a name="_sub2" href="#_subfunctions" class="code">function varargout = test_button_OutputFcn(hObject, eventdata, handles) </a>
+0067 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0068 <span class="comment">% hObject    handle to figure</span>
+0069 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0070 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0071 
+0072 <span class="comment">% Get default command line output from handles structure</span>
+0073 varargout{1} = handles.output;
+0074</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker.html	(revision 17)
@@ -0,0 +1,56 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of test_kicker</title>
+  <meta name="keywords" content="test_kicker">
+  <meta name="description" content="test kicker">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; test_kicker.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>test_kicker
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>test kicker</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> test kicker</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% test kicker</span>
+0002 
+0003 
+0004 <span class="keyword">for</span> i=1:100
+0005     i
+0006     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);
+0007     pause(2)
+0008     tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Reset'</span>);
+0009     pause(2)
+0010 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker1.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker1.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker1.html	(revision 17)
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of test_kicker1</title>
+  <meta name="keywords" content="test_kicker1">
+  <meta name="description" content="test kicker">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; test_kicker1.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>test_kicker1
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>test kicker</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> test kicker</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% test kicker</span>
+0002 
+0003 arg.svalue={<span class="string">'k1.trig'</span>,<span class="string">'k2.trig'</span>,<span class="string">'k3.trig'</span>,<span class="string">'k4.trig'</span>}
+0004 <span class="comment">%arg.svalue={'sep-p.trig','sep.pc','sep-a.trig','libre.1'}</span>
+0005 <span class="keyword">for</span> i=1:1000
+0006     i
+0007     arg.lvalue=int32([0 0 0 0]); 
+0008     tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);
+0009     pause(2);tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>);pause(2)
+0010     
+0011     
+0012     arg.lvalue=int32([3 3 3 3]); 
+0013     tango_command_inout(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>,<span class="string">'SetEventsNumbers'</span>,arg);
+0014     pause(2);tango_command_inout2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'Update'</span>); pause(2)
+0015     
+0016     
+0017 <span class="keyword">end</span>
+0018 
+0019</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker2.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker2.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_kicker2.html	(revision 17)
@@ -0,0 +1,59 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of test_kicker2</title>
+  <meta name="keywords" content="test_kicker2">
+  <meta name="description" content="test kicker">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; test_kicker2.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>test_kicker2
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>test kicker</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> test kicker</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <span class="comment">% test kicker</span>
+0002 
+0003 
+0004 <span class="keyword">for</span> i=1:100
+0005     i
+0006     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,int32(10));
+0007     pause(2);
+0008     
+0009     tango_write_attribute2(<span class="string">'ANS-C01/SY/LOCAL.Ainj.1'</span>, <span class="string">'k1.trigEvent'</span>,int32(240));
+0010     pause(2);
+0011     
+0012     
+0013 <span class="keyword">end</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_stop_start.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_stop_start.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/test_stop_start.html	(revision 17)
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of test_stop_start</title>
+  <meta name="keywords" content="test_stop_start">
+  <meta name="description" content="start_3Hz;">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; test_stop_start.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>test_stop_start
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>start_3Hz;</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment">start_3Hz;</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 
+0002 
+0003 <span class="comment">%start_3Hz;</span>
+0004 
+0005 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,int32(2));
+0006 pause(1)
+0007 tango_write_attribute2(<span class="string">'LT1/SY/LOCAL.LINAC.1'</span>, <span class="string">'lpmEvent'</span>,int32(0));
+0008 
+0009 <span class="comment">%stop_3Hz;</span></pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/time-inject.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/time-inject.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/time-inject.html	(revision 17)
@@ -0,0 +1,56 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of time-inject</title>
+  <meta name="keywords" content="time-inject">
+  <meta name="description" content="">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; time-inject.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>time-inject
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong></strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"></pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 
+0002 Ibc=0;
+0003 Id0=546.76;
+0004 
+0005 <span class="keyword">for</span> i = 10 : 1 : 25;
+0006    t=i/1000;
+0007    fq(i) = Id0*0.5*(1-cos(w*(t)));
+0008 <span class="keyword">end</span>
+0009 
+0010 fq</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/time_inject.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/time_inject.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/time_inject.html	(revision 17)
@@ -0,0 +1,86 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of time_inject</title>
+  <meta name="keywords" content="time_inject">
+  <meta name="description" content="calcul du temp d'injection">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; time_inject.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>time_inject
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>calcul du temp d'injection</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>This is a script file. </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> calcul du temp d'injection</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 
+0002 <span class="comment">% calcul du temp d'injection</span>
+0003 
+0004 
+0005 Id_inj=21.3;
+0006 
+0007 Idc=0.;
+0008 Id0=546.76;
+0009 w=2*3.14159*(50./17.);
+0010 
+0011 t_inj=real(acos( 1-2*(Id_inj-Idc)/Id0 ) / w);
+0012 
+0013 
+0014 sprintf(<span class="string">' Dt  / dÃ©clanchement alim dipole injection : %g  ms avant canon/kicker'</span>, t_inj)
+0015 sprintf(<span class="string">' Delai carte CPT alim dipole injection     : %g '</span>, (0.33 + 7.83e-05 - t_inj))
+0016  
+0017 
+0018 
+0019 Gr = 0.0435 ;           <span class="comment">% gradient remanent  T/m</span>
+0020 a  = 0.0517 ;           <span class="comment">% G/I   T/m/A</span>
+0021 Br = 0.0006 ;           <span class="comment">% Champ remanent T</span>
+0022 b  = 0.00135416 ;       <span class="comment">% B/I  T/A</span>
+0023 
+0024 
+0025 Iqf0 = 198.38 ;
+0026 Iqd0 = 157.28 ;
+0027 Iqfc = 7.16 ;             <span class="comment">% Offset QPF</span>
+0028 Iqdc = 5.55 ; 
+0029 
+0030 Iqpf_inj=Iqfc + 0.5*Iqf0*(1-cos(w*t_inj));
+0031 Iqpd_inj=Iqdc + 0.5*Iqd0*(1-cos(w*t_inj));
+0032 sprintf(<span class="string">' injection  Iqf= %g   et Iqd= %g  A'</span>,Iqpf_inj , Iqpd_inj)
+0033 
+0034 
+0035 
+0036 B_inj  = Br + b*(Idc + 0.5*Id0*(1-cos(w*t_inj))); 
+0037 sprintf(<span class="string">' B dipole injection : %g   T'</span>, B_inj)
+0038 t=t_inj+1e-06 ;
+0039 B      = Br + b*(Idc + 0.5*Id0*(1-cos(w*t)));
+0040 sprintf(<span class="string">' Variation relative avec dt= 1*Âµs  : %g '</span>, (B_inj-B)/B_inj )</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/timinggui.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/timinggui.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/timinggui.html	(revision 17)
@@ -0,0 +1,1214 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of timinggui</title>
+  <meta name="keywords" content="timinggui">
+  <meta name="description" content="TIMINGGUI M-file for timinggui.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; timinggui.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>timinggui
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>TIMINGGUI M-file for timinggui.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = timinggui(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> TIMINGGUI M-file for timinggui.fig
+      TIMINGGUI, by itself, creates a new TIMINGGUI or raises the existing
+      singleton*.
+
+      H = TIMINGGUI returns the handle to a new TIMINGGUI or the handle to
+      the existing singleton*.
+
+      TIMINGGUI('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in TIMINGGUI.M with the given input arguments.
+
+      TIMINGGUI('Property','Value',...) creates a new TIMINGGUI or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before timinggui_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to timinggui_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function timinggui_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = timinggui_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function edit_carte1_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function edit_carte1_5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function edit_carte1_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function edit_carte1_4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit_carte1_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function edit_carte1_3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function edit_carte1_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function edit_carte1_2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function edit_carte1_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_carte1_1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_carte1_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function edit_carte1_0_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function edit_carte2_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function edit_carte2_5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function edit_carte2_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function edit_carte2_4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function edit_carte2_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function edit_carte2_3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function edit_carte2_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function edit_carte2_2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function edit_carte2_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function edit_carte2_1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function edit_carte2_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function edit_carte2_0_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function edit_carte2_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function edit_carte2_7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function edit_carte2_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function edit_carte2_6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function edit_carte3_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function edit_carte3_5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function edit_carte3_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function edit_carte3_4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function edit_carte3_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function edit_carte3_3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function edit_carte3_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function edit_carte3_2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function edit_carte3_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function edit_carte3_1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function edit_carte3_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function edit_carte3_0_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function edit_carte3_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function edit_carte3_7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function edit_carte3_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function edit_carte3_6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function pushbutton_acquisition_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function edit_carte1_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function edit_carte1_6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function edit_carte1_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function edit_carte1_7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function checkbox_carte1_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub54" class="code">function checkbox_carte1_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function checkbox_carte1_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function checkbox_carte1_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function checkbox_carte1_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function checkbox_carte1_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function checkbox_carte1_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function checkbox_carte1_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function checkbox_carte2_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function checkbox_carte2_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function checkbox_carte2_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function checkbox_carte2_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function checkbox_carte2_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function checkbox_carte2_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function checkbox_carte2_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function checkbox_carte2_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function checkbox_carte3_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function checkbox_carte3_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function checkbox_carte3_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function checkbox_carte3_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function checkbox_carte3_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function checkbox_carte3_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function checkbox_carte3_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function checkbox_carte3_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function setdelay(hObject, handles)</a></li><li><a href="#_sub78" class="code">function setoutput(hObject, handles)</a></li><li><a href="#_sub79" class="code">function menu_save_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function menu_load_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function pushbutton_start_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function pushbutton_stop_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function checkbox_status1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function checkbox_status2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function checkbox_status3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function pushbutton_reset_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = timinggui(varargin)</a>
+0002 <span class="comment">% TIMINGGUI M-file for timinggui.fig</span>
+0003 <span class="comment">%      TIMINGGUI, by itself, creates a new TIMINGGUI or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = TIMINGGUI returns the handle to a new TIMINGGUI or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      TIMINGGUI('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in TIMINGGUI.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      TIMINGGUI('Property','Value',...) creates a new TIMINGGUI or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before timinggui_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to timinggui_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span>
+0024 
+0025 <span class="comment">% Edit the above text to modify the response to help timinggui</span>
+0026 
+0027 <span class="comment">% Last Modified by GUIDE v2.5 07-Oct-2005 14:24:12</span>
+0028 
+0029 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0030 gui_Singleton = 1;
+0031 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0032                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0033                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction timinggui_OpeningFcn(hObject, eventdata, handles, varargin)">timinggui_OpeningFcn</a>, <span class="keyword">...</span>
+0034                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = timinggui_OutputFcn(hObject, eventdata, handles)">timinggui_OutputFcn</a>, <span class="keyword">...</span>
+0035                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0036                    <span class="string">'gui_Callback'</span>,   []);
+0037 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0038     gui_State.gui_Callback = str2func(varargin{1});
+0039 <span class="keyword">end</span>
+0040 
+0041 <span class="keyword">if</span> nargout
+0042     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">else</span>
+0044     gui_mainfcn(gui_State, varargin{:});
+0045 <span class="keyword">end</span>
+0046 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0047 
+0048 
+0049 <span class="comment">% --- Executes just before timinggui is made visible.</span>
+0050 <a name="_sub1" href="#_subfunctions" class="code">function timinggui_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0051 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0052 <span class="comment">% hObject    handle to figure</span>
+0053 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0054 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0055 <span class="comment">% varargin   command line arguments to timinggui (see VARARGIN)</span>
+0056 
+0057 <span class="comment">% Choose default command line output for timinggui</span>
+0058 handles.output = hObject;
+0059 
+0060 <span class="comment">% Update handles structure</span>
+0061 guidata(hObject, handles);
+0062 
+0063 <span class="comment">% UIWAIT makes timinggui wait for user response (see UIRESUME)</span>
+0064 <span class="comment">% uiwait(handles.figure1);</span>
+0065 
+0066 handles.device_carte1 =<span class="string">'BOO/SY/CPT.1'</span>;
+0067 handles.device_carte2 =<span class="string">'LT1/SY/CPT.1'</span>;
+0068 handles.device_carte3 =<span class="string">'BOO/SY/CPT.2'</span>;
+0069 
+0070 str1 = {<span class="string">'delayCounter0'</span>, <span class="string">'delayCounter1'</span>, <span class="string">'delayCounter2'</span>, <span class="keyword">...</span>
+0071     <span class="string">'delayCounter3'</span>, <span class="string">'delayCounter4'</span>, <span class="string">'delayCounter5'</span>, <span class="string">'delayCounter6'</span>, <span class="string">'delayCounter7'</span>};
+0072 
+0073 str2 = {<span class="string">'counter0Enable'</span>, <span class="string">'counter1Enable'</span>, <span class="string">'counter2Enable'</span>, <span class="keyword">...</span>
+0074     <span class="string">'counter3Enable'</span>, <span class="string">'counter4Enable'</span>, <span class="string">'counter5Enable'</span>, <span class="string">'counter6Enable'</span>, <span class="keyword">...</span>
+0075     <span class="string">'counter7Enable'</span>};
+0076 
+0077 nb = length(str1);
+0078 handles.delayname1 = [repmat(handles.device_carte1,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str1')];
+0079 handles.delayname2 = [repmat(handles.device_carte2,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str1')];
+0080 handles.delayname3 = [repmat(handles.device_carte3,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str1')];
+0081 handles.enablename1 = [repmat(handles.device_carte1,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str2')];
+0082 handles.enablename2 = [repmat(handles.device_carte2,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str2')];
+0083 handles.enablename3 = [repmat(handles.device_carte3,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str2')];
+0084 
+0085 <span class="comment">% Reads all delays for card #1, 2</span>
+0086 handles.delayvalue1 = readattribute(handles.delayname1);
+0087 handles.delayvalue2 = readattribute(handles.delayname2);
+0088 handles.delayvalue3 = readattribute(handles.delayname3);
+0089 
+0090 <span class="comment">% Update handles structure</span>
+0091 guidata(hObject, handles);
+0092 
+0093 <span class="comment">%pushbutton_acquisition_Callback(handles.pushbutton_acquisition,eventdata,handles);</span>
+0094 
+0095 
+0096 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0097 <a name="_sub2" href="#_subfunctions" class="code">function varargout = timinggui_OutputFcn(hObject, eventdata, handles) </a>
+0098 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0099 <span class="comment">% hObject    handle to figure</span>
+0100 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0101 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0102 
+0103 <span class="comment">% Get default command line output from handles structure</span>
+0104 varargout{1} = handles.output;
+0105 
+0106 
+0107 
+0108 <a name="_sub3" href="#_subfunctions" class="code">function edit_carte1_5_Callback(hObject, eventdata, handles)</a>
+0109 <span class="comment">% hObject    handle to edit_carte1_5 (see GCBO)</span>
+0110 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0111 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0112 
+0113 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_5 as text</span>
+0114 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_5 as a double</span>
+0115 
+0116 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0117 
+0118 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0119 <a name="_sub4" href="#_subfunctions" class="code">function edit_carte1_5_CreateFcn(hObject, eventdata, handles)</a>
+0120 <span class="comment">% hObject    handle to edit_carte1_5 (see GCBO)</span>
+0121 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0122 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0123 
+0124 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0125 <span class="comment">%       See ISPC and COMPUTER.</span>
+0126 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0127     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0128 <span class="keyword">end</span>
+0129 
+0130 
+0131 
+0132 <a name="_sub5" href="#_subfunctions" class="code">function edit_carte1_4_Callback(hObject, eventdata, handles)</a>
+0133 <span class="comment">% hObject    handle to edit_carte1_4 (see GCBO)</span>
+0134 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0135 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0136 
+0137 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_4 as text</span>
+0138 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_4 as a double</span>
+0139 
+0140 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0141 
+0142 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0143 <a name="_sub6" href="#_subfunctions" class="code">function edit_carte1_4_CreateFcn(hObject, eventdata, handles)</a>
+0144 <span class="comment">% hObject    handle to edit_carte1_4 (see GCBO)</span>
+0145 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0146 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0147 
+0148 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0149 <span class="comment">%       See ISPC and COMPUTER.</span>
+0150 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0151     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0152 <span class="keyword">end</span>
+0153 
+0154 
+0155 
+0156 <a name="_sub7" href="#_subfunctions" class="code">function edit_carte1_3_Callback(hObject, eventdata, handles)</a>
+0157 <span class="comment">% hObject    handle to edit_carte1_3 (see GCBO)</span>
+0158 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0159 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0160 
+0161 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_3 as text</span>
+0162 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_3 as a double</span>
+0163 
+0164 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0165 
+0166 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0167 <a name="_sub8" href="#_subfunctions" class="code">function edit_carte1_3_CreateFcn(hObject, eventdata, handles)</a>
+0168 <span class="comment">% hObject    handle to edit_carte1_3 (see GCBO)</span>
+0169 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0170 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0171 
+0172 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0173 <span class="comment">%       See ISPC and COMPUTER.</span>
+0174 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0175     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0176 <span class="keyword">end</span>
+0177 
+0178 
+0179 
+0180 <a name="_sub9" href="#_subfunctions" class="code">function edit_carte1_2_Callback(hObject, eventdata, handles)</a>
+0181 <span class="comment">% hObject    handle to edit_carte1_2 (see GCBO)</span>
+0182 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0183 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0184 
+0185 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_2 as text</span>
+0186 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_2 as a double</span>
+0187 
+0188 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0189 
+0190 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0191 <a name="_sub10" href="#_subfunctions" class="code">function edit_carte1_2_CreateFcn(hObject, eventdata, handles)</a>
+0192 <span class="comment">% hObject    handle to edit_carte1_2 (see GCBO)</span>
+0193 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0194 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0195 
+0196 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0197 <span class="comment">%       See ISPC and COMPUTER.</span>
+0198 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0199     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0200 <span class="keyword">end</span>
+0201 
+0202 
+0203 
+0204 <a name="_sub11" href="#_subfunctions" class="code">function edit_carte1_1_Callback(hObject, eventdata, handles)</a>
+0205 <span class="comment">% hObject    handle to edit_carte1_1 (see GCBO)</span>
+0206 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0207 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0208 
+0209 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_1 as text</span>
+0210 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_1 as a double</span>
+0211 
+0212 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0213 
+0214 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0215 <a name="_sub12" href="#_subfunctions" class="code">function edit_carte1_1_CreateFcn(hObject, eventdata, handles)</a>
+0216 <span class="comment">% hObject    handle to edit_carte1_1 (see GCBO)</span>
+0217 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0218 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0219 
+0220 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0221 <span class="comment">%       See ISPC and COMPUTER.</span>
+0222 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0223     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0224 <span class="keyword">end</span>
+0225 
+0226 
+0227 <a name="_sub13" href="#_subfunctions" class="code">function edit_carte1_0_Callback(hObject, eventdata, handles)</a>
+0228 <span class="comment">% hObject    handle to edit_carte1_0 (see GCBO)</span>
+0229 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0230 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0231 
+0232 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_0 as text</span>
+0233 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_0 as a double</span>
+0234 
+0235 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0236 
+0237 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0238 <a name="_sub14" href="#_subfunctions" class="code">function edit_carte1_0_CreateFcn(hObject, eventdata, handles)</a>
+0239 <span class="comment">% hObject    handle to edit_carte1_0 (see GCBO)</span>
+0240 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0241 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0242 
+0243 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0244 <span class="comment">%       See ISPC and COMPUTER.</span>
+0245 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0246     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0247 <span class="keyword">end</span>
+0248 
+0249 
+0250 
+0251 <a name="_sub15" href="#_subfunctions" class="code">function edit_carte2_5_Callback(hObject, eventdata, handles)</a>
+0252 <span class="comment">% hObject    handle to edit_carte2_5 (see GCBO)</span>
+0253 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0254 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0255 
+0256 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_5 as text</span>
+0257 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_5 as a double</span>
+0258 
+0259 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0260 
+0261 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0262 <a name="_sub16" href="#_subfunctions" class="code">function edit_carte2_5_CreateFcn(hObject, eventdata, handles)</a>
+0263 <span class="comment">% hObject    handle to edit_carte2_5 (see GCBO)</span>
+0264 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0265 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0266 
+0267 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0268 <span class="comment">%       See ISPC and COMPUTER.</span>
+0269 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0270     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0271 <span class="keyword">end</span>
+0272 
+0273 
+0274 
+0275 <a name="_sub17" href="#_subfunctions" class="code">function edit_carte2_4_Callback(hObject, eventdata, handles)</a>
+0276 <span class="comment">% hObject    handle to edit_carte2_4 (see GCBO)</span>
+0277 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0278 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0279 
+0280 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_4 as text</span>
+0281 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_4 as a double</span>
+0282 
+0283 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0284 
+0285 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0286 <a name="_sub18" href="#_subfunctions" class="code">function edit_carte2_4_CreateFcn(hObject, eventdata, handles)</a>
+0287 <span class="comment">% hObject    handle to edit_carte2_4 (see GCBO)</span>
+0288 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0289 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0290 
+0291 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0292 <span class="comment">%       See ISPC and COMPUTER.</span>
+0293 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0294     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0295 <span class="keyword">end</span>
+0296 
+0297 
+0298 
+0299 <a name="_sub19" href="#_subfunctions" class="code">function edit_carte2_3_Callback(hObject, eventdata, handles)</a>
+0300 <span class="comment">% hObject    handle to edit_carte2_3 (see GCBO)</span>
+0301 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0302 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0303 
+0304 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_3 as text</span>
+0305 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_3 as a double</span>
+0306 
+0307 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0308 
+0309 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0310 <a name="_sub20" href="#_subfunctions" class="code">function edit_carte2_3_CreateFcn(hObject, eventdata, handles)</a>
+0311 <span class="comment">% hObject    handle to edit_carte2_3 (see GCBO)</span>
+0312 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0313 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0314 
+0315 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0316 <span class="comment">%       See ISPC and COMPUTER.</span>
+0317 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0318     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0319 <span class="keyword">end</span>
+0320 
+0321 
+0322 
+0323 <a name="_sub21" href="#_subfunctions" class="code">function edit_carte2_2_Callback(hObject, eventdata, handles)</a>
+0324 <span class="comment">% hObject    handle to edit_carte2_2 (see GCBO)</span>
+0325 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0326 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0327 
+0328 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_2 as text</span>
+0329 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_2 as a double</span>
+0330 
+0331 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0332 
+0333 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0334 <a name="_sub22" href="#_subfunctions" class="code">function edit_carte2_2_CreateFcn(hObject, eventdata, handles)</a>
+0335 <span class="comment">% hObject    handle to edit_carte2_2 (see GCBO)</span>
+0336 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0337 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0338 
+0339 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0340 <span class="comment">%       See ISPC and COMPUTER.</span>
+0341 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0342     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0343 <span class="keyword">end</span>
+0344 
+0345 
+0346 
+0347 <a name="_sub23" href="#_subfunctions" class="code">function edit_carte2_1_Callback(hObject, eventdata, handles)</a>
+0348 <span class="comment">% hObject    handle to edit_carte2_1 (see GCBO)</span>
+0349 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0350 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0351 
+0352 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_1 as text</span>
+0353 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_1 as a double</span>
+0354 
+0355 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0356 
+0357 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0358 <a name="_sub24" href="#_subfunctions" class="code">function edit_carte2_1_CreateFcn(hObject, eventdata, handles)</a>
+0359 <span class="comment">% hObject    handle to edit_carte2_1 (see GCBO)</span>
+0360 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0361 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0362 
+0363 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0364 <span class="comment">%       See ISPC and COMPUTER.</span>
+0365 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0366     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0367 <span class="keyword">end</span>
+0368 
+0369 
+0370 
+0371 <a name="_sub25" href="#_subfunctions" class="code">function edit_carte2_0_Callback(hObject, eventdata, handles)</a>
+0372 <span class="comment">% hObject    handle to edit_carte2_0 (see GCBO)</span>
+0373 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0374 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0375 
+0376 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_0 as text</span>
+0377 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_0 as a double</span>
+0378 
+0379 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0380 
+0381 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0382 <a name="_sub26" href="#_subfunctions" class="code">function edit_carte2_0_CreateFcn(hObject, eventdata, handles)</a>
+0383 <span class="comment">% hObject    handle to edit_carte2_0 (see GCBO)</span>
+0384 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0385 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0386 
+0387 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0388 <span class="comment">%       See ISPC and COMPUTER.</span>
+0389 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0390     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0391 <span class="keyword">end</span>
+0392 
+0393 <a name="_sub27" href="#_subfunctions" class="code">function edit_carte2_7_Callback(hObject, eventdata, handles)</a>
+0394 <span class="comment">% hObject    handle to edit_carte2_7 (see GCBO)</span>
+0395 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0396 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0397 
+0398 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_7 as text</span>
+0399 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_7 as a double</span>
+0400 
+0401 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0402 
+0403 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0404 <a name="_sub28" href="#_subfunctions" class="code">function edit_carte2_7_CreateFcn(hObject, eventdata, handles)</a>
+0405 <span class="comment">% hObject    handle to edit_carte2_7 (see GCBO)</span>
+0406 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0407 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0408 
+0409 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0410 <span class="comment">%       See ISPC and COMPUTER.</span>
+0411 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0412     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0413 <span class="keyword">end</span>
+0414 
+0415 
+0416 
+0417 <a name="_sub29" href="#_subfunctions" class="code">function edit_carte2_6_Callback(hObject, eventdata, handles)</a>
+0418 <span class="comment">% hObject    handle to edit_carte2_6 (see GCBO)</span>
+0419 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0420 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0421 
+0422 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_6 as text</span>
+0423 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_6 as a double</span>
+0424 
+0425 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0426 
+0427 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0428 <a name="_sub30" href="#_subfunctions" class="code">function edit_carte2_6_CreateFcn(hObject, eventdata, handles)</a>
+0429 <span class="comment">% hObject    handle to edit_carte2_6 (see GCBO)</span>
+0430 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0431 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0432 
+0433 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0434 <span class="comment">%       See ISPC and COMPUTER.</span>
+0435 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0436     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0437 <span class="keyword">end</span>
+0438 
+0439 
+0440 
+0441 <a name="_sub31" href="#_subfunctions" class="code">function edit_carte3_5_Callback(hObject, eventdata, handles)</a>
+0442 <span class="comment">% hObject    handle to edit_carte3_5 (see GCBO)</span>
+0443 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0444 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0445 
+0446 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_5 as text</span>
+0447 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_5 as a double</span>
+0448 
+0449 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0450 
+0451 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0452 <a name="_sub32" href="#_subfunctions" class="code">function edit_carte3_5_CreateFcn(hObject, eventdata, handles)</a>
+0453 <span class="comment">% hObject    handle to edit_carte3_5 (see GCBO)</span>
+0454 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0455 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0456 
+0457 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0458 <span class="comment">%       See ISPC and COMPUTER.</span>
+0459 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0460     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0461 <span class="keyword">end</span>
+0462 
+0463 
+0464 
+0465 <a name="_sub33" href="#_subfunctions" class="code">function edit_carte3_4_Callback(hObject, eventdata, handles)</a>
+0466 <span class="comment">% hObject    handle to edit_carte3_4 (see GCBO)</span>
+0467 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0468 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0469 
+0470 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_4 as text</span>
+0471 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_4 as a double</span>
+0472 
+0473 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0474 
+0475 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0476 <a name="_sub34" href="#_subfunctions" class="code">function edit_carte3_4_CreateFcn(hObject, eventdata, handles)</a>
+0477 <span class="comment">% hObject    handle to edit_carte3_4 (see GCBO)</span>
+0478 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0479 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0480 
+0481 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0482 <span class="comment">%       See ISPC and COMPUTER.</span>
+0483 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0484     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0485 <span class="keyword">end</span>
+0486 
+0487 
+0488 
+0489 <a name="_sub35" href="#_subfunctions" class="code">function edit_carte3_3_Callback(hObject, eventdata, handles)</a>
+0490 <span class="comment">% hObject    handle to edit_carte3_3 (see GCBO)</span>
+0491 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0492 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0493 
+0494 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_3 as text</span>
+0495 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_3 as a double</span>
+0496 
+0497 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0498 
+0499 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0500 <a name="_sub36" href="#_subfunctions" class="code">function edit_carte3_3_CreateFcn(hObject, eventdata, handles)</a>
+0501 <span class="comment">% hObject    handle to edit_carte3_3 (see GCBO)</span>
+0502 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0503 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0504 
+0505 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0506 <span class="comment">%       See ISPC and COMPUTER.</span>
+0507 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0508     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0509 <span class="keyword">end</span>
+0510 
+0511 
+0512 
+0513 <a name="_sub37" href="#_subfunctions" class="code">function edit_carte3_2_Callback(hObject, eventdata, handles)</a>
+0514 <span class="comment">% hObject    handle to edit_carte3_2 (see GCBO)</span>
+0515 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0516 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0517 
+0518 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_2 as text</span>
+0519 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_2 as a double</span>
+0520 
+0521 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0522 
+0523 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0524 <a name="_sub38" href="#_subfunctions" class="code">function edit_carte3_2_CreateFcn(hObject, eventdata, handles)</a>
+0525 <span class="comment">% hObject    handle to edit_carte3_2 (see GCBO)</span>
+0526 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0527 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0528 
+0529 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0530 <span class="comment">%       See ISPC and COMPUTER.</span>
+0531 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0532     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0533 <span class="keyword">end</span>
+0534 
+0535 
+0536 
+0537 <a name="_sub39" href="#_subfunctions" class="code">function edit_carte3_1_Callback(hObject, eventdata, handles)</a>
+0538 <span class="comment">% hObject    handle to edit_carte3_1 (see GCBO)</span>
+0539 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0540 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0541 
+0542 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_1 as text</span>
+0543 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_1 as a double</span>
+0544 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0545 
+0546 
+0547 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0548 <a name="_sub40" href="#_subfunctions" class="code">function edit_carte3_1_CreateFcn(hObject, eventdata, handles)</a>
+0549 <span class="comment">% hObject    handle to edit_carte3_1 (see GCBO)</span>
+0550 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0551 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0552 
+0553 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0554 <span class="comment">%       See ISPC and COMPUTER.</span>
+0555 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0556     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0557 <span class="keyword">end</span>
+0558 
+0559 
+0560 <a name="_sub41" href="#_subfunctions" class="code">function edit_carte3_0_Callback(hObject, eventdata, handles)</a>
+0561 <span class="comment">% hObject    handle to edit_carte3_0 (see GCBO)</span>
+0562 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0563 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0564 
+0565 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_0 as text</span>
+0566 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_0 as a double</span>
+0567 
+0568 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0569 
+0570 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0571 <a name="_sub42" href="#_subfunctions" class="code">function edit_carte3_0_CreateFcn(hObject, eventdata, handles)</a>
+0572 <span class="comment">% hObject    handle to edit_carte3_0 (see GCBO)</span>
+0573 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0574 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0575 
+0576 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0577 <span class="comment">%       See ISPC and COMPUTER.</span>
+0578 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0579     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0580 <span class="keyword">end</span>
+0581 
+0582 
+0583 
+0584 <a name="_sub43" href="#_subfunctions" class="code">function edit_carte3_7_Callback(hObject, eventdata, handles)</a>
+0585 <span class="comment">% hObject    handle to edit_carte3_7 (see GCBO)</span>
+0586 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0587 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0588 
+0589 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_7 as text</span>
+0590 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_7 as a double</span>
+0591 
+0592 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0593 
+0594 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0595 <a name="_sub44" href="#_subfunctions" class="code">function edit_carte3_7_CreateFcn(hObject, eventdata, handles)</a>
+0596 <span class="comment">% hObject    handle to edit_carte3_7 (see GCBO)</span>
+0597 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0598 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0599 
+0600 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0601 <span class="comment">%       See ISPC and COMPUTER.</span>
+0602 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0603     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0604 <span class="keyword">end</span>
+0605 
+0606 
+0607 
+0608 <a name="_sub45" href="#_subfunctions" class="code">function edit_carte3_6_Callback(hObject, eventdata, handles)</a>
+0609 <span class="comment">% hObject    handle to edit_carte3_6 (see GCBO)</span>
+0610 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0611 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0612 
+0613 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_6 as text</span>
+0614 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_6 as a double</span>
+0615 
+0616 
+0617 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0618 <a name="_sub46" href="#_subfunctions" class="code">function edit_carte3_6_CreateFcn(hObject, eventdata, handles)</a>
+0619 <span class="comment">% hObject    handle to edit_carte3_6 (see GCBO)</span>
+0620 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0621 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0622 
+0623 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0624 <span class="comment">%       See ISPC and COMPUTER.</span>
+0625 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0626     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0627 <span class="keyword">end</span>
+0628 
+0629 
+0630 <span class="comment">% --- Executes on button press in pushbutton_acquisition.</span>
+0631 <a name="_sub47" href="#_subfunctions" class="code">function pushbutton_acquisition_Callback(hObject, eventdata, handles)</a>
+0632 <span class="comment">% hObject    handle to pushbutton_acquisition (see GCBO)</span>
+0633 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0634 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0635 
+0636 <span class="comment">% Reads all delays for card #1, 2</span>
+0637 handles.delayvalue1 = readattribute(handles.delayname1);
+0638 handles.delayvalue2 = readattribute(handles.delayname2);
+0639 handles.delayvalue3 = readattribute(handles.delayname3);
+0640 handles.enablevalue1 = readattribute(handles.enablename1);
+0641 handles.enablevalue2 = readattribute(handles.enablename2);
+0642 handles.enablevalue3 = readattribute(handles.enablename3);
+0643 
+0644 <span class="comment">% Update handles structure</span>
+0645 guidata(hObject, handles);
+0646 
+0647 nb = length(handles.delayvalue1);
+0648 
+0649 <span class="comment">% update display for Card1</span>
+0650 <span class="keyword">for</span> k = 1:nb,
+0651     set(handles.([<span class="string">'edit_carte1_'</span> num2str(k-1)]),<span class="string">'String'</span>,num2str(handles.delayvalue1(k),7));
+0652     set(handles.([<span class="string">'checkbox_carte1_'</span> num2str(k-1)]),<span class="string">'Value'</span>,handles.enablevalue1(k));
+0653 <span class="keyword">end</span>
+0654 
+0655 <span class="comment">% update display for Card2</span>
+0656 <span class="keyword">for</span> k = 1:nb,
+0657     set(handles.([<span class="string">'edit_carte2_'</span> num2str(k-1)]),<span class="string">'String'</span>,num2str(handles.delayvalue2(k),7));
+0658     set(handles.([<span class="string">'checkbox_carte2_'</span> num2str(k-1)]),<span class="string">'Value'</span>,handles.enablevalue2(k));
+0659 <span class="keyword">end</span>
+0660 
+0661 <span class="comment">% update display for Card3</span>
+0662 <span class="keyword">for</span> k = 1:nb,
+0663     set(handles.([<span class="string">'edit_carte3_'</span> num2str(k-1)]),<span class="string">'String'</span>,num2str(handles.delayvalue3(k),7));
+0664     set(handles.([<span class="string">'checkbox_carte3_'</span> num2str(k-1)]),<span class="string">'Value'</span>,handles.enablevalue3(k));
+0665 <span class="keyword">end</span>
+0666 
+0667 <span class="comment">% get state of the 3 counter cards</span>
+0668 set(handles.checkbox_status1,<span class="string">'String'</span>,tango_command_inout2(handles.device_carte1,<span class="string">'State'</span>))
+0669 set(handles.checkbox_status2,<span class="string">'String'</span>,tango_command_inout2(handles.device_carte2,<span class="string">'State'</span>))
+0670 set(handles.checkbox_status3,<span class="string">'String'</span>,tango_command_inout2(handles.device_carte3,<span class="string">'State'</span>))
+0671 
+0672 
+0673 <span class="comment">% --------------------------------------------------------------------</span>
+0674 <a name="_sub48" href="#_subfunctions" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a>
+0675 <span class="comment">% hObject    handle to Untitled_1 (see GCBO)</span>
+0676 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0677 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0678 
+0679 
+0680 
+0681 <a name="_sub49" href="#_subfunctions" class="code">function edit_carte1_6_Callback(hObject, eventdata, handles)</a>
+0682 <span class="comment">% hObject    handle to edit_carte1_6 (see GCBO)</span>
+0683 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0684 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0685 
+0686 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_6 as text</span>
+0687 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_6 as a double</span>
+0688 
+0689 
+0690 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0691 <a name="_sub50" href="#_subfunctions" class="code">function edit_carte1_6_CreateFcn(hObject, eventdata, handles)</a>
+0692 <span class="comment">% hObject    handle to edit_carte1_6 (see GCBO)</span>
+0693 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0694 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0695 
+0696 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0697 <span class="comment">%       See ISPC and COMPUTER.</span>
+0698 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0699     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0700 <span class="keyword">end</span>
+0701 
+0702 
+0703 
+0704 <a name="_sub51" href="#_subfunctions" class="code">function edit_carte1_7_Callback(hObject, eventdata, handles)</a>
+0705 <span class="comment">% hObject    handle to edit_carte1_7 (see GCBO)</span>
+0706 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0707 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0708 
+0709 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_7 as text</span>
+0710 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_7 as a double</span>
+0711 
+0712 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0713 
+0714 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0715 <a name="_sub52" href="#_subfunctions" class="code">function edit_carte1_7_CreateFcn(hObject, eventdata, handles)</a>
+0716 <span class="comment">% hObject    handle to edit_carte1_7 (see GCBO)</span>
+0717 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0718 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0719 
+0720 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0721 <span class="comment">%       See ISPC and COMPUTER.</span>
+0722 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0723     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0724 <span class="keyword">end</span>
+0725 
+0726 
+0727 <span class="comment">% --- Executes on button press in checkbox_carte1_0.</span>
+0728 <a name="_sub53" href="#_subfunctions" class="code">function checkbox_carte1_0_Callback(hObject, eventdata, handles)</a>
+0729 <span class="comment">% hObject    handle to checkbox_carte1_0 (see GCBO)</span>
+0730 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0731 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0732 
+0733 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_0</span>
+0734 
+0735 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0736 
+0737 <span class="comment">% --- Executes on button press in checkbox_carte1_2.</span>
+0738 <a name="_sub54" href="#_subfunctions" class="code">function checkbox_carte1_2_Callback(hObject, eventdata, handles)</a>
+0739 <span class="comment">% hObject    handle to checkbox_carte1_2 (see GCBO)</span>
+0740 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0741 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0742 
+0743 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_2</span>
+0744 
+0745 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0746 
+0747 <span class="comment">% --- Executes on button press in checkbox_carte1_3.</span>
+0748 <a name="_sub55" href="#_subfunctions" class="code">function checkbox_carte1_3_Callback(hObject, eventdata, handles)</a>
+0749 <span class="comment">% hObject    handle to checkbox_carte1_3 (see GCBO)</span>
+0750 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0751 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0752 
+0753 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_3</span>
+0754 
+0755 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0756 
+0757 <span class="comment">% --- Executes on button press in checkbox_carte1_4.</span>
+0758 <a name="_sub56" href="#_subfunctions" class="code">function checkbox_carte1_4_Callback(hObject, eventdata, handles)</a>
+0759 <span class="comment">% hObject    handle to checkbox_carte1_4 (see GCBO)</span>
+0760 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0761 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0762 
+0763 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_4</span>
+0764 
+0765 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0766 
+0767 <span class="comment">% --- Executes on button press in checkbox_carte1_5.</span>
+0768 <a name="_sub57" href="#_subfunctions" class="code">function checkbox_carte1_5_Callback(hObject, eventdata, handles)</a>
+0769 <span class="comment">% hObject    handle to checkbox_carte1_5 (see GCBO)</span>
+0770 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0771 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0772 
+0773 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_5</span>
+0774 
+0775 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0776 
+0777 <span class="comment">% --- Executes on button press in checkbox_carte1_6.</span>
+0778 <a name="_sub58" href="#_subfunctions" class="code">function checkbox_carte1_6_Callback(hObject, eventdata, handles)</a>
+0779 <span class="comment">% hObject    handle to checkbox_carte1_6 (see GCBO)</span>
+0780 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0781 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0782 
+0783 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_6</span>
+0784 
+0785 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0786 
+0787 <span class="comment">% --- Executes on button press in checkbox_carte1_7.</span>
+0788 <a name="_sub59" href="#_subfunctions" class="code">function checkbox_carte1_7_Callback(hObject, eventdata, handles)</a>
+0789 <span class="comment">% hObject    handle to checkbox_carte1_7 (see GCBO)</span>
+0790 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0791 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0792 
+0793 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_7</span>
+0794 
+0795 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0796 
+0797 <span class="comment">% --- Executes on button press in checkbox_carte1_1.</span>
+0798 <a name="_sub60" href="#_subfunctions" class="code">function checkbox_carte1_1_Callback(hObject, eventdata, handles)</a>
+0799 <span class="comment">% hObject    handle to checkbox_carte1_1 (see GCBO)</span>
+0800 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0801 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0802 
+0803 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_1</span>
+0804 
+0805 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0806 
+0807 <span class="comment">% --- Executes on button press in checkbox_carte2_0.</span>
+0808 <a name="_sub61" href="#_subfunctions" class="code">function checkbox_carte2_0_Callback(hObject, eventdata, handles)</a>
+0809 <span class="comment">% hObject    handle to checkbox_carte2_0 (see GCBO)</span>
+0810 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0811 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0812 
+0813 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_0</span>
+0814 
+0815 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0816 
+0817 <span class="comment">% --- Executes on button press in checkbox_carte2_2.</span>
+0818 <a name="_sub62" href="#_subfunctions" class="code">function checkbox_carte2_2_Callback(hObject, eventdata, handles)</a>
+0819 <span class="comment">% hObject    handle to checkbox_carte2_2 (see GCBO)</span>
+0820 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0821 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0822 
+0823 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_2</span>
+0824 
+0825 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0826 
+0827 <span class="comment">% --- Executes on button press in checkbox_carte2_3.</span>
+0828 <a name="_sub63" href="#_subfunctions" class="code">function checkbox_carte2_3_Callback(hObject, eventdata, handles)</a>
+0829 <span class="comment">% hObject    handle to checkbox_carte2_3 (see GCBO)</span>
+0830 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0831 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0832 
+0833 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_3</span>
+0834 
+0835 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0836 
+0837 <span class="comment">% --- Executes on button press in checkbox_carte2_4.</span>
+0838 <a name="_sub64" href="#_subfunctions" class="code">function checkbox_carte2_4_Callback(hObject, eventdata, handles)</a>
+0839 <span class="comment">% hObject    handle to checkbox_carte2_4 (see GCBO)</span>
+0840 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0841 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0842 
+0843 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_4</span>
+0844 
+0845 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0846 
+0847 <span class="comment">% --- Executes on button press in checkbox_carte2_5.</span>
+0848 <a name="_sub65" href="#_subfunctions" class="code">function checkbox_carte2_5_Callback(hObject, eventdata, handles)</a>
+0849 <span class="comment">% hObject    handle to checkbox_carte2_5 (see GCBO)</span>
+0850 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0851 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0852 
+0853 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_5</span>
+0854 
+0855 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0856 
+0857 <span class="comment">% --- Executes on button press in checkbox_carte2_6.</span>
+0858 <a name="_sub66" href="#_subfunctions" class="code">function checkbox_carte2_6_Callback(hObject, eventdata, handles)</a>
+0859 <span class="comment">% hObject    handle to checkbox_carte2_6 (see GCBO)</span>
+0860 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0861 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0862 
+0863 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_6</span>
+0864 
+0865 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0866 
+0867 <span class="comment">% --- Executes on button press in checkbox_carte2_7.</span>
+0868 <a name="_sub67" href="#_subfunctions" class="code">function checkbox_carte2_7_Callback(hObject, eventdata, handles)</a>
+0869 <span class="comment">% hObject    handle to checkbox_carte2_7 (see GCBO)</span>
+0870 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0871 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0872 
+0873 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_7</span>
+0874 
+0875 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0876 
+0877 <span class="comment">% --- Executes on button press in checkbox_carte2_1.</span>
+0878 <a name="_sub68" href="#_subfunctions" class="code">function checkbox_carte2_1_Callback(hObject, eventdata, handles)</a>
+0879 <span class="comment">% hObject    handle to checkbox_carte2_1 (see GCBO)</span>
+0880 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0881 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0882 
+0883 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_1</span>
+0884 
+0885 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0886 
+0887 
+0888 <span class="comment">% --- Executes on button press in checkbox_carte3_0.</span>
+0889 <a name="_sub69" href="#_subfunctions" class="code">function checkbox_carte3_0_Callback(hObject, eventdata, handles)</a>
+0890 <span class="comment">% hObject    handle to checkbox_carte3_0 (see GCBO)</span>
+0891 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0892 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0893 
+0894 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_0</span>
+0895 
+0896 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0897 
+0898 
+0899 <span class="comment">% --- Executes on button press in checkbox_carte3_2.</span>
+0900 <a name="_sub70" href="#_subfunctions" class="code">function checkbox_carte3_2_Callback(hObject, eventdata, handles)</a>
+0901 <span class="comment">% hObject    handle to checkbox_carte3_2 (see GCBO)</span>
+0902 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0903 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0904 
+0905 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_2</span>
+0906 
+0907 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0908 
+0909 
+0910 <span class="comment">% --- Executes on button press in checkbox_carte3_3.</span>
+0911 <a name="_sub71" href="#_subfunctions" class="code">function checkbox_carte3_3_Callback(hObject, eventdata, handles)</a>
+0912 <span class="comment">% hObject    handle to checkbox_carte3_3 (see GCBO)</span>
+0913 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0914 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0915 
+0916 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_3</span>
+0917 
+0918 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0919 
+0920 
+0921 <span class="comment">% --- Executes on button press in checkbox_carte3_4.</span>
+0922 <a name="_sub72" href="#_subfunctions" class="code">function checkbox_carte3_4_Callback(hObject, eventdata, handles)</a>
+0923 <span class="comment">% hObject    handle to checkbox_carte3_4 (see GCBO)</span>
+0924 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0925 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0926 
+0927 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_4</span>
+0928 
+0929 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0930 
+0931 
+0932 <span class="comment">% --- Executes on button press in checkbox_carte3_5.</span>
+0933 <a name="_sub73" href="#_subfunctions" class="code">function checkbox_carte3_5_Callback(hObject, eventdata, handles)</a>
+0934 <span class="comment">% hObject    handle to checkbox_carte3_5 (see GCBO)</span>
+0935 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0936 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0937 
+0938 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_5</span>
+0939 
+0940 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0941 
+0942 
+0943 <span class="comment">% --- Executes on button press in checkbox_carte3_6.</span>
+0944 <a name="_sub74" href="#_subfunctions" class="code">function checkbox_carte3_6_Callback(hObject, eventdata, handles)</a>
+0945 <span class="comment">% hObject    handle to checkbox_carte3_6 (see GCBO)</span>
+0946 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0947 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0948 
+0949 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_6</span>
+0950 
+0951 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0952 
+0953 <span class="comment">% --- Executes on button press in checkbox_carte3_7.</span>
+0954 <a name="_sub75" href="#_subfunctions" class="code">function checkbox_carte3_7_Callback(hObject, eventdata, handles)</a>
+0955 <span class="comment">% hObject    handle to checkbox_carte3_7 (see GCBO)</span>
+0956 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0957 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0958 
+0959 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_7</span>
+0960 
+0961 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0962 
+0963 <span class="comment">% --- Executes on button press in checkbox_carte3_1.</span>
+0964 <a name="_sub76" href="#_subfunctions" class="code">function checkbox_carte3_1_Callback(hObject, eventdata, handles)</a>
+0965 <span class="comment">% hObject    handle to checkbox_carte3_1 (see GCBO)</span>
+0966 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0967 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0968 
+0969 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_1</span>
+0970 
+0971 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0972 
+0973 <span class="comment">% Generic function to set delays</span>
+0974 <a name="_sub77" href="#_subfunctions" class="code">function setdelay(hObject, handles)</a>
+0975 
+0976 val = str2double(get(hObject,<span class="string">'String'</span>));
+0977 tag = get(hObject,<span class="string">'Tag'</span>);
+0978 id = regexpi(tag,<span class="string">'carte'</span>);
+0979 
+0980 cardnum = tag(id+5);
+0981 outputnum = str2double(tag(id+7));
+0982 
+0983 writeattribute(handles.([<span class="string">'delayname'</span> cardnum])(outputnum+1,:),val);    
+0984 
+0985 <span class="comment">% Generic function to enable/disable output</span>
+0986 <a name="_sub78" href="#_subfunctions" class="code">function setoutput(hObject, handles)</a>
+0987 
+0988 val = get(hObject,<span class="string">'Value'</span>);
+0989 tag = get(hObject,<span class="string">'Tag'</span>);
+0990 id = regexpi(tag,<span class="string">'carte'</span>);
+0991 
+0992 cardnum = tag(id+5);
+0993 outputnum = str2double(tag(id+7));
+0994 
+0995 writeattribute(handles.([<span class="string">'enablename'</span> cardnum])(outputnum+1,:),uint8(val));    
+0996 
+0997 <span class="comment">% --------------------------------------------------------------------</span>
+0998 <a name="_sub79" href="#_subfunctions" class="code">function menu_save_Callback(hObject, eventdata, handles)</a>
+0999 <span class="comment">% hObject    handle to menu_save (see GCBO)</span>
+1000 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1001 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1002 
+1003 delayvalue1 = readattribute(handles.delayname1);
+1004 delayvalue2 = readattribute(handles.delayname2);
+1005 delayvalue3 = readattribute(handles.delayname3);
+1006 enablevalue1 = readattribute(handles.enablename1);
+1007 enablevalue2 = readattribute(handles.enablename2);
+1008 enablevalue3 = readattribute(handles.enablename3);
+1009 
+1010 FileName = <span class="string">'synchro'</span>;
+1011 DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'Timing'</span>);
+1012 FileName = appendtimestamp(FileName, clock);
+1013 [FileName, DirectoryName] = uiputfile(<span class="string">'*.mat'</span>,<span class="string">'Save Lattice to ...'</span>, [DirectoryName FileName]);
+1014 <span class="keyword">if</span> FileName == 0
+1015     fprintf(<span class="string">'   File not saved \n'</span>);
+1016     <span class="keyword">return</span>;
+1017 <span class="keyword">end</span>
+1018 
+1019 <span class="comment">% Save all data in structure to file</span>
+1020 DirStart = pwd;
+1021 [DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);
+1022 <span class="keyword">try</span>
+1023     save(FileName, <span class="string">'delayvalue1'</span>, <span class="string">'delayvalue2'</span>, <span class="string">'delayvalue3'</span>,<span class="keyword">...</span>
+1024                    <span class="string">'enablevalue1'</span>, <span class="string">'enablevalue2'</span>, <span class="string">'enablevalue3'</span>);
+1025 <span class="keyword">catch</span>
+1026     cd(DirStart);
+1027     <span class="keyword">return</span>
+1028 <span class="keyword">end</span>
+1029 cd(DirStart);
+1030 
+1031 <span class="comment">% --------------------------------------------------------------------</span>
+1032 <a name="_sub80" href="#_subfunctions" class="code">function menu_load_Callback(hObject, eventdata, handles)</a>
+1033 <span class="comment">% hObject    handle to menu_load (see GCBO)</span>
+1034 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1035 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1036 
+1037 DirSpec   =  getfamilydata(<span class="string">'Directory'</span>,<span class="string">'Timing'</span>);           <span class="comment">%default to Configuration data directory</span>
+1038 FileName  =  [];                                <span class="comment">%no default file</span>
+1039 [FileName, DirSpec,FilterIndex]=uigetfile(<span class="string">'*.mat'</span>,<span class="string">'Select Configuration File'</span>,[DirSpec FileName]);
+1040 FileSpec=[DirSpec FileName];
+1041 
+1042 <span class="keyword">try</span>
+1043     cnf=load([DirSpec FileName]);          <span class="comment">%load configuration from archive</span>
+1044 <span class="keyword">catch</span>
+1045     <span class="keyword">return</span>
+1046 <span class="keyword">end</span>
+1047 
+1048 writeattribute(handles.delayname1, cnf.delayvalue1);
+1049 writeattribute(handles.delayname2, cnf.delayvalue2);
+1050 writeattribute(handles.delayname3, cnf.delayvalue3);
+1051 writeattribute(handles.enablename1, cnf.enablevalue1, <span class="string">'uint8'</span>);
+1052 writeattribute(handles.enablename2, cnf.enablevalue2, <span class="string">'uint8'</span>);
+1053 writeattribute(handles.enablename3, cnf.enablevalue3, <span class="string">'uint8'</span>);
+1054 
+1055 <span class="comment">%refresh data in GUI</span>
+1056 <a href="#_sub47" class="code" title="subfunction pushbutton_acquisition_Callback(hObject, eventdata, handles)">pushbutton_acquisition_Callback</a>(handles.pushbutton_acquisition,eventdata,handles);
+1057 
+1058 
+1059 <span class="comment">% --- Executes on button press in pushbutton_start.</span>
+1060 <a name="_sub81" href="#_subfunctions" class="code">function pushbutton_start_Callback(hObject, eventdata, handles)</a>
+1061 <span class="comment">% hObject    handle to pushbutton_start (see GCBO)</span>
+1062 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1063 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1064 
+1065 <span class="keyword">if</span> get(handles.checkbox_status1,<span class="string">'Value'</span>) == 1
+1066     tango_command_inout2(handles.device_carte1,<span class="string">'Start'</span>);
+1067 <span class="keyword">end</span>
+1068 
+1069 <span class="keyword">if</span> get(handles.checkbox_status2,<span class="string">'Value'</span>) == 1
+1070     tango_command_inout2(handles.device_carte2,<span class="string">'Start'</span>);
+1071 <span class="keyword">end</span>
+1072 
+1073 <span class="keyword">if</span> get(handles.checkbox_status3,<span class="string">'Value'</span>) == 1
+1074     tango_command_inout2(handles.device_carte3,<span class="string">'Start'</span>);
+1075 <span class="keyword">end</span>
+1076 
+1077 <a href="#_sub47" class="code" title="subfunction pushbutton_acquisition_Callback(hObject, eventdata, handles)">pushbutton_acquisition_Callback</a>(handles.pushbutton_acquisition, eventdata, handles)
+1078 
+1079 <span class="comment">% --- Executes on button press in pushbutton_stop.</span>
+1080 <a name="_sub82" href="#_subfunctions" class="code">function pushbutton_stop_Callback(hObject, eventdata, handles)</a>
+1081 <span class="comment">% hObject    handle to pushbutton_stop (see GCBO)</span>
+1082 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1083 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1084 
+1085 <span class="keyword">if</span> get(handles.checkbox_status1,<span class="string">'Value'</span>) == 1
+1086     tango_command_inout2(handles.device_carte1,<span class="string">'Stop'</span>);
+1087 <span class="keyword">end</span>
+1088 
+1089 <span class="keyword">if</span> get(handles.checkbox_status2,<span class="string">'Value'</span>) == 1
+1090     tango_command_inout2(handles.device_carte2,<span class="string">'Stop'</span>);
+1091 <span class="keyword">end</span>
+1092 
+1093 <span class="keyword">if</span> get(handles.checkbox_status3,<span class="string">'Value'</span>) == 1
+1094     tango_command_inout2(handles.device_carte3,<span class="string">'Stop'</span>);
+1095 <span class="keyword">end</span>
+1096 
+1097 <a href="#_sub47" class="code" title="subfunction pushbutton_acquisition_Callback(hObject, eventdata, handles)">pushbutton_acquisition_Callback</a>(handles.pushbutton_acquisition, eventdata, handles)
+1098 
+1099 <span class="comment">% --- Executes on button press in checkbox_status1.</span>
+1100 <a name="_sub83" href="#_subfunctions" class="code">function checkbox_status1_Callback(hObject, eventdata, handles)</a>
+1101 <span class="comment">% hObject    handle to checkbox_status1 (see GCBO)</span>
+1102 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1103 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1104 
+1105 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_status1</span>
+1106 
+1107 
+1108 <span class="comment">% --- Executes on button press in checkbox_status2.</span>
+1109 <a name="_sub84" href="#_subfunctions" class="code">function checkbox_status2_Callback(hObject, eventdata, handles)</a>
+1110 <span class="comment">% hObject    handle to checkbox_status2 (see GCBO)</span>
+1111 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1112 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1113 
+1114 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_status2</span>
+1115 
+1116 
+1117 <span class="comment">% --- Executes on button press in checkbox_status3.</span>
+1118 <a name="_sub85" href="#_subfunctions" class="code">function checkbox_status3_Callback(hObject, eventdata, handles)</a>
+1119 <span class="comment">% hObject    handle to checkbox_status3 (see GCBO)</span>
+1120 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1121 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1122 
+1123 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_status3</span>
+1124 
+1125 
+1126 <span class="comment">% --- Executes on button press in pushbutton_reset.</span>
+1127 <a name="_sub86" href="#_subfunctions" class="code">function pushbutton_reset_Callback(hObject, eventdata, handles)</a>
+1128 <span class="comment">% hObject    handle to pushbutton_reset (see GCBO)</span>
+1129 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1130 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1131 
+1132 cmd = <span class="string">'Init'</span>;
+1133 
+1134 <span class="keyword">if</span> get(handles.checkbox_status1,<span class="string">'Value'</span>) == 1
+1135     tango_command_inout2(handles.device_carte1,cmd);
+1136 <span class="keyword">end</span>
+1137 
+1138 <span class="keyword">if</span> get(handles.checkbox_status2,<span class="string">'Value'</span>) == 1
+1139     tango_command_inout2(handles.device_carte2,cmd);
+1140 <span class="keyword">end</span>
+1141 
+1142 <span class="keyword">if</span> get(handles.checkbox_status3,<span class="string">'Value'</span>) == 1
+1143     tango_command_inout2(handles.device_carte3,cmd);
+1144 <span class="keyword">end</span>
+1145 
+1146 <a href="#_sub47" class="code" title="subfunction pushbutton_acquisition_Callback(hObject, eventdata, handles)">pushbutton_acquisition_Callback</a>(handles.pushbutton_acquisition, eventdata, handles)
+1147</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/timinggui_div.html
===================================================================
--- /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/timinggui_div.html	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/machine/Soleil/common/synchro/timinggui_div.html	(revision 17)
@@ -0,0 +1,1299 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Description of timinggui_div</title>
+  <meta name="keywords" content="timinggui_div">
+  <meta name="description" content="TIMINGGUI_DIV M-file for timinggui_div.fig">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="../../../../m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<div><a href="../../../../index.html">Home</a> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="../index.html">common</a> &gt; <a href="index.html">synchro</a> &gt; timinggui_div.m</div>
+
+<!--<table width="100%"><tr><td align="left"><a href="../../../../index.html"><img alt="<" border="0" src="../../../../left.png">&nbsp;Master index</a></td>
+<td align="right"><a href="index.html">Index for machine/Soleil/common/synchro&nbsp;<img alt=">" border="0" src="../../../../right.png"></a></td></tr></table>-->
+
+<h1>timinggui_div
+</h1>
+
+<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>TIMINGGUI_DIV M-file for timinggui_div.fig</strong></div>
+
+<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="box"><strong>function varargout = timinggui_div(varargin) </strong></div>
+
+<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre class="comment"> TIMINGGUI_DIV M-file for timinggui_div.fig
+      TIMINGGUI_DIV, by itself, creates a new TIMINGGUI_DIV or raises the existing
+      singleton*.
+
+      H = TIMINGGUI_DIV returns the handle to a new TIMINGGUI_DIV or the handle to
+      the existing singleton*.
+
+      TIMINGGUI_DIV('CALLBACK',hObject,eventData,handles,...) calls the local
+      function named CALLBACK in TIMINGGUI_DIV.M with the given input arguments.
+
+      TIMINGGUI_DIV('Property','Value',...) creates a new TIMINGGUI_DIV or raises the
+      existing singleton*.  Starting from the left, property value pairs are
+      applied to the GUI before timinggui_div_OpeningFunction gets called.  An
+      unrecognized property name or invalid value makes property application
+      stop.  All inputs are passed to timinggui_div_OpeningFcn via varargin.
+
+      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one
+      instance to run (singleton)&quot;.
+
+ See also: GUIDE, GUIDATA, GUIHANDLES</pre></div>
+
+<!-- crossreference -->
+<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+This function calls:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+This function is called by:
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+</ul>
+<!-- crossreference -->
+
+<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<ul style="list-style-image:url(../../../../matlabicon.gif)">
+<li><a href="#_sub1" class="code">function timinggui_div_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = timinggui_div_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function edit_carte1_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function edit_carte1_5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function edit_carte1_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function edit_carte1_4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function edit_carte1_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function edit_carte1_3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function edit_carte1_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function edit_carte1_2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function edit_carte1_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function edit_carte1_1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub13" class="code">function edit_carte1_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub14" class="code">function edit_carte1_0_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub15" class="code">function edit_carte2_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub16" class="code">function edit_carte2_5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub17" class="code">function edit_carte2_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub18" class="code">function edit_carte2_4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub19" class="code">function edit_carte2_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub20" class="code">function edit_carte2_3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub21" class="code">function edit_carte2_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub22" class="code">function edit_carte2_2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub23" class="code">function edit_carte2_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub24" class="code">function edit_carte2_1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub25" class="code">function edit_carte2_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub26" class="code">function edit_carte2_0_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub27" class="code">function edit_carte2_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub28" class="code">function edit_carte2_7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub29" class="code">function edit_carte2_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub30" class="code">function edit_carte2_6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub31" class="code">function edit_carte3_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub32" class="code">function edit_carte3_5_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub33" class="code">function edit_carte3_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub34" class="code">function edit_carte3_4_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub35" class="code">function edit_carte3_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub36" class="code">function edit_carte3_3_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub37" class="code">function edit_carte3_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub38" class="code">function edit_carte3_2_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub39" class="code">function edit_carte3_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub40" class="code">function edit_carte3_1_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub41" class="code">function edit_carte3_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub42" class="code">function edit_carte3_0_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub43" class="code">function edit_carte3_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub44" class="code">function edit_carte3_7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub45" class="code">function edit_carte3_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub46" class="code">function edit_carte3_6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub47" class="code">function pushbutton_acquisition_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub48" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub49" class="code">function edit_carte1_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub50" class="code">function edit_carte1_6_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub51" class="code">function edit_carte1_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub52" class="code">function edit_carte1_7_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub53" class="code">function checkbox_carte1_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub54" class="code">function checkbox_carte1_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub55" class="code">function checkbox_carte1_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub56" class="code">function checkbox_carte1_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub57" class="code">function checkbox_carte1_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub58" class="code">function checkbox_carte1_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub59" class="code">function checkbox_carte1_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub60" class="code">function checkbox_carte1_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub61" class="code">function checkbox_carte2_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub62" class="code">function checkbox_carte2_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub63" class="code">function checkbox_carte2_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub64" class="code">function checkbox_carte2_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub65" class="code">function checkbox_carte2_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub66" class="code">function checkbox_carte2_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub67" class="code">function checkbox_carte2_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub68" class="code">function checkbox_carte2_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub69" class="code">function checkbox_carte3_0_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub70" class="code">function checkbox_carte3_2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub71" class="code">function checkbox_carte3_3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub72" class="code">function checkbox_carte3_4_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub73" class="code">function checkbox_carte3_5_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub74" class="code">function checkbox_carte3_6_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub75" class="code">function checkbox_carte3_7_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub76" class="code">function checkbox_carte3_1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub77" class="code">function setdelay(hObject, handles)</a></li><li><a href="#_sub78" class="code">function setoutput(hObject, handles)</a></li><li><a href="#_sub79" class="code">function menu_save_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub80" class="code">function menu_load_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub81" class="code">function pushbutton_start_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub82" class="code">function pushbutton_stop_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub83" class="code">function checkbox_status1_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub84" class="code">function checkbox_status2_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub85" class="code">function checkbox_status3_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub86" class="code">function pushbutton_reset_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub87" class="code">function edit_div_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub88" class="code">function edit_div_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub89" class="code">function checkbox_div_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub90" class="code">function checkbox_status4_Callback(hObject, eventdata, handles)</a></li></ul>
+<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
+<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function varargout = timinggui_div(varargin)</a>
+0002 <span class="comment">% TIMINGGUI_DIV M-file for timinggui_div.fig</span>
+0003 <span class="comment">%      TIMINGGUI_DIV, by itself, creates a new TIMINGGUI_DIV or raises the existing</span>
+0004 <span class="comment">%      singleton*.</span>
+0005 <span class="comment">%</span>
+0006 <span class="comment">%      H = TIMINGGUI_DIV returns the handle to a new TIMINGGUI_DIV or the handle to</span>
+0007 <span class="comment">%      the existing singleton*.</span>
+0008 <span class="comment">%</span>
+0009 <span class="comment">%      TIMINGGUI_DIV('CALLBACK',hObject,eventData,handles,...) calls the local</span>
+0010 <span class="comment">%      function named CALLBACK in TIMINGGUI_DIV.M with the given input arguments.</span>
+0011 <span class="comment">%</span>
+0012 <span class="comment">%      TIMINGGUI_DIV('Property','Value',...) creates a new TIMINGGUI_DIV or raises the</span>
+0013 <span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span>
+0014 <span class="comment">%      applied to the GUI before timinggui_div_OpeningFunction gets called.  An</span>
+0015 <span class="comment">%      unrecognized property name or invalid value makes property application</span>
+0016 <span class="comment">%      stop.  All inputs are passed to timinggui_div_OpeningFcn via varargin.</span>
+0017 <span class="comment">%</span>
+0018 <span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span>
+0019 <span class="comment">%      instance to run (singleton)&quot;.</span>
+0020 <span class="comment">%</span>
+0021 <span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span>
+0022 
+0023 <span class="comment">% Copyright 2002-2003 The MathWorks, Inc.</span>
+0024 
+0025 <span class="comment">% Edit the above text to modify the response to help timinggui_div</span>
+0026 
+0027 <span class="comment">% Last Modified by GUIDE v2.5 03-Apr-2006 18:40:04</span>
+0028 
+0029 <span class="comment">% Begin initialization code - DO NOT EDIT</span>
+0030 gui_Singleton = 1;
+0031 gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>
+0032                    <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>
+0033                    <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction timinggui_div_OpeningFcn(hObject, eventdata, handles, varargin)">timinggui_div_OpeningFcn</a>, <span class="keyword">...</span>
+0034                    <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = timinggui_div_OutputFcn(hObject, eventdata, handles)">timinggui_div_OutputFcn</a>, <span class="keyword">...</span>
+0035                    <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>
+0036                    <span class="string">'gui_Callback'</span>,   []);
+0037 <span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})
+0038     gui_State.gui_Callback = str2func(varargin{1});
+0039 <span class="keyword">end</span>
+0040 
+0041 <span class="keyword">if</span> nargout
+0042     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
+0043 <span class="keyword">else</span>
+0044     gui_mainfcn(gui_State, varargin{:});
+0045 <span class="keyword">end</span>
+0046 <span class="comment">% End initialization code - DO NOT EDIT</span>
+0047 
+0048 
+0049 <span class="comment">% --- Executes just before timinggui_div is made visible.</span>
+0050 <a name="_sub1" href="#_subfunctions" class="code">function timinggui_div_OpeningFcn(hObject, eventdata, handles, varargin)</a>
+0051 <span class="comment">% This function has no output args, see OutputFcn.</span>
+0052 <span class="comment">% hObject    handle to figure</span>
+0053 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0054 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0055 <span class="comment">% varargin   command line arguments to timinggui_div (see VARARGIN)</span>
+0056 
+0057 <span class="comment">% Choose default command line output for timinggui_div</span>
+0058 handles.output = hObject;
+0059 
+0060 <span class="comment">% Update handles structure</span>
+0061 guidata(hObject, handles);
+0062 
+0063 <span class="comment">% UIWAIT makes timinggui_div wait for user response (see UIRESUME)</span>
+0064 <span class="comment">% uiwait(handles.figure1);</span>
+0065 
+0066 handles.device_carte1 =<span class="string">'BOO/SY/CPT.1'</span>;
+0067 handles.device_carte2 =<span class="string">'LT1/SY/CPT.1'</span>;
+0068 handles.device_carte3 =<span class="string">'BOO/SY/CPT.2'</span>;
+0069 handles.device_carte4 =<span class="string">'LIN/SY/FREQDIV'</span>;
+0070 
+0071 str1 = {<span class="string">'delayCounter0'</span>, <span class="string">'delayCounter1'</span>, <span class="string">'delayCounter2'</span>, <span class="keyword">...</span>
+0072     <span class="string">'delayCounter3'</span>, <span class="string">'delayCounter4'</span>, <span class="string">'delayCounter5'</span>, <span class="string">'delayCounter6'</span>, <span class="string">'delayCounter7'</span>};
+0073 
+0074 str2 = {<span class="string">'counter0Enable'</span>, <span class="string">'counter1Enable'</span>, <span class="string">'counter2Enable'</span>, <span class="keyword">...</span>
+0075     <span class="string">'counter3Enable'</span>, <span class="string">'counter4Enable'</span>, <span class="string">'counter5Enable'</span>, <span class="string">'counter6Enable'</span>, <span class="keyword">...</span>
+0076     <span class="string">'counter7Enable'</span>};
+0077 
+0078 str3 ={<span class="string">'divisionCounter0'</span>, <span class="string">'divisionCounter1'</span>, <span class="string">'divisionCounter2'</span>, <span class="keyword">...</span>
+0079     <span class="string">'divisionCounter3'</span>, <span class="string">'divisionCounter4'</span>, <span class="string">'divisionCounter5'</span>, <span class="string">'divisionCounter6'</span>, <span class="string">'divisionCounter7'</span>};
+0080 
+0081 nb = length(str1);
+0082 handles.delayname1 = [repmat(handles.device_carte1,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str1')];
+0083 handles.delayname2 = [repmat(handles.device_carte2,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str1')];
+0084 handles.delayname3 = [repmat(handles.device_carte3,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str1')];
+0085 handles.divisionname4 = [repmat(handles.device_carte4,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str3')];
+0086 
+0087 handles.enablename1 = [repmat(handles.device_carte1,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str2')];
+0088 handles.enablename2 = [repmat(handles.device_carte2,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str2')];
+0089 handles.enablename3 = [repmat(handles.device_carte3,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str2')];
+0090 handles.enablename4 = [repmat(handles.device_carte4,nb,1) repmat(<span class="string">'/'</span>,nb,1) cell2mat(str2')];
+0091 
+0092 <span class="comment">% Reads all delays for card #1, 2</span>
+0093 handles.delayvalue1 = readattribute(handles.delayname1);
+0094 handles.delayvalue2 = readattribute(handles.delayname2);
+0095 handles.delayvalue3 = readattribute(handles.delayname3);
+0096 
+0097 <span class="comment">% Reads all division for card #4</span>
+0098 handles.divisionvalue4 = readattribute(handles.divisionname4);
+0099 
+0100 <span class="comment">% Update handles structure</span>
+0101 guidata(hObject, handles);
+0102 
+0103 <span class="comment">%pushbutton_acquisition_Callback(handles.pushbutton_acquisition,eventdata,handles);</span>
+0104 
+0105 
+0106 <span class="comment">% --- Outputs from this function are returned to the command line.</span>
+0107 <a name="_sub2" href="#_subfunctions" class="code">function varargout = timinggui_div_OutputFcn(hObject, eventdata, handles) </a>
+0108 <span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span>
+0109 <span class="comment">% hObject    handle to figure</span>
+0110 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0111 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0112 
+0113 <span class="comment">% Get default command line output from handles structure</span>
+0114 varargout{1} = handles.output;
+0115 
+0116 
+0117 
+0118 <a name="_sub3" href="#_subfunctions" class="code">function edit_carte1_5_Callback(hObject, eventdata, handles)</a>
+0119 <span class="comment">% hObject    handle to edit_carte1_5 (see GCBO)</span>
+0120 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0121 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0122 
+0123 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_5 as text</span>
+0124 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_5 as a double</span>
+0125 
+0126 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0127 
+0128 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0129 <a name="_sub4" href="#_subfunctions" class="code">function edit_carte1_5_CreateFcn(hObject, eventdata, handles)</a>
+0130 <span class="comment">% hObject    handle to edit_carte1_5 (see GCBO)</span>
+0131 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0132 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0133 
+0134 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0135 <span class="comment">%       See ISPC and COMPUTER.</span>
+0136 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0137     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0138 <span class="keyword">end</span>
+0139 
+0140 
+0141 
+0142 <a name="_sub5" href="#_subfunctions" class="code">function edit_carte1_4_Callback(hObject, eventdata, handles)</a>
+0143 <span class="comment">% hObject    handle to edit_carte1_4 (see GCBO)</span>
+0144 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0145 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0146 
+0147 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_4 as text</span>
+0148 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_4 as a double</span>
+0149 
+0150 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0151 
+0152 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0153 <a name="_sub6" href="#_subfunctions" class="code">function edit_carte1_4_CreateFcn(hObject, eventdata, handles)</a>
+0154 <span class="comment">% hObject    handle to edit_carte1_4 (see GCBO)</span>
+0155 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0156 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0157 
+0158 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0159 <span class="comment">%       See ISPC and COMPUTER.</span>
+0160 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0161     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0162 <span class="keyword">end</span>
+0163 
+0164 
+0165 
+0166 <a name="_sub7" href="#_subfunctions" class="code">function edit_carte1_3_Callback(hObject, eventdata, handles)</a>
+0167 <span class="comment">% hObject    handle to edit_carte1_3 (see GCBO)</span>
+0168 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0169 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0170 
+0171 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_3 as text</span>
+0172 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_3 as a double</span>
+0173 
+0174 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0175 
+0176 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0177 <a name="_sub8" href="#_subfunctions" class="code">function edit_carte1_3_CreateFcn(hObject, eventdata, handles)</a>
+0178 <span class="comment">% hObject    handle to edit_carte1_3 (see GCBO)</span>
+0179 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0180 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0181 
+0182 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0183 <span class="comment">%       See ISPC and COMPUTER.</span>
+0184 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0185     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0186 <span class="keyword">end</span>
+0187 
+0188 
+0189 
+0190 <a name="_sub9" href="#_subfunctions" class="code">function edit_carte1_2_Callback(hObject, eventdata, handles)</a>
+0191 <span class="comment">% hObject    handle to edit_carte1_2 (see GCBO)</span>
+0192 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0193 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0194 
+0195 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_2 as text</span>
+0196 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_2 as a double</span>
+0197 
+0198 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0199 
+0200 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0201 <a name="_sub10" href="#_subfunctions" class="code">function edit_carte1_2_CreateFcn(hObject, eventdata, handles)</a>
+0202 <span class="comment">% hObject    handle to edit_carte1_2 (see GCBO)</span>
+0203 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0204 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0205 
+0206 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0207 <span class="comment">%       See ISPC and COMPUTER.</span>
+0208 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0209     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0210 <span class="keyword">end</span>
+0211 
+0212 
+0213 
+0214 <a name="_sub11" href="#_subfunctions" class="code">function edit_carte1_1_Callback(hObject, eventdata, handles)</a>
+0215 <span class="comment">% hObject    handle to edit_carte1_1 (see GCBO)</span>
+0216 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0217 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0218 
+0219 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_1 as text</span>
+0220 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_1 as a double</span>
+0221 
+0222 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0223 
+0224 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0225 <a name="_sub12" href="#_subfunctions" class="code">function edit_carte1_1_CreateFcn(hObject, eventdata, handles)</a>
+0226 <span class="comment">% hObject    handle to edit_carte1_1 (see GCBO)</span>
+0227 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0228 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0229 
+0230 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0231 <span class="comment">%       See ISPC and COMPUTER.</span>
+0232 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0233     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0234 <span class="keyword">end</span>
+0235 
+0236 
+0237 <a name="_sub13" href="#_subfunctions" class="code">function edit_carte1_0_Callback(hObject, eventdata, handles)</a>
+0238 <span class="comment">% hObject    handle to edit_carte1_0 (see GCBO)</span>
+0239 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0240 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0241 
+0242 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_0 as text</span>
+0243 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_0 as a double</span>
+0244 
+0245 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0246 
+0247 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0248 <a name="_sub14" href="#_subfunctions" class="code">function edit_carte1_0_CreateFcn(hObject, eventdata, handles)</a>
+0249 <span class="comment">% hObject    handle to edit_carte1_0 (see GCBO)</span>
+0250 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0251 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0252 
+0253 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0254 <span class="comment">%       See ISPC and COMPUTER.</span>
+0255 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0256     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0257 <span class="keyword">end</span>
+0258 
+0259 
+0260 
+0261 <a name="_sub15" href="#_subfunctions" class="code">function edit_carte2_5_Callback(hObject, eventdata, handles)</a>
+0262 <span class="comment">% hObject    handle to edit_carte2_5 (see GCBO)</span>
+0263 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0264 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0265 
+0266 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_5 as text</span>
+0267 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_5 as a double</span>
+0268 
+0269 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0270 
+0271 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0272 <a name="_sub16" href="#_subfunctions" class="code">function edit_carte2_5_CreateFcn(hObject, eventdata, handles)</a>
+0273 <span class="comment">% hObject    handle to edit_carte2_5 (see GCBO)</span>
+0274 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0275 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0276 
+0277 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0278 <span class="comment">%       See ISPC and COMPUTER.</span>
+0279 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0280     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0281 <span class="keyword">end</span>
+0282 
+0283 
+0284 
+0285 <a name="_sub17" href="#_subfunctions" class="code">function edit_carte2_4_Callback(hObject, eventdata, handles)</a>
+0286 <span class="comment">% hObject    handle to edit_carte2_4 (see GCBO)</span>
+0287 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0288 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0289 
+0290 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_4 as text</span>
+0291 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_4 as a double</span>
+0292 
+0293 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0294 
+0295 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0296 <a name="_sub18" href="#_subfunctions" class="code">function edit_carte2_4_CreateFcn(hObject, eventdata, handles)</a>
+0297 <span class="comment">% hObject    handle to edit_carte2_4 (see GCBO)</span>
+0298 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0299 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0300 
+0301 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0302 <span class="comment">%       See ISPC and COMPUTER.</span>
+0303 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0304     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0305 <span class="keyword">end</span>
+0306 
+0307 
+0308 
+0309 <a name="_sub19" href="#_subfunctions" class="code">function edit_carte2_3_Callback(hObject, eventdata, handles)</a>
+0310 <span class="comment">% hObject    handle to edit_carte2_3 (see GCBO)</span>
+0311 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0312 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0313 
+0314 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_3 as text</span>
+0315 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_3 as a double</span>
+0316 
+0317 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0318 
+0319 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0320 <a name="_sub20" href="#_subfunctions" class="code">function edit_carte2_3_CreateFcn(hObject, eventdata, handles)</a>
+0321 <span class="comment">% hObject    handle to edit_carte2_3 (see GCBO)</span>
+0322 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0323 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0324 
+0325 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0326 <span class="comment">%       See ISPC and COMPUTER.</span>
+0327 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0328     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0329 <span class="keyword">end</span>
+0330 
+0331 
+0332 
+0333 <a name="_sub21" href="#_subfunctions" class="code">function edit_carte2_2_Callback(hObject, eventdata, handles)</a>
+0334 <span class="comment">% hObject    handle to edit_carte2_2 (see GCBO)</span>
+0335 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0336 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0337 
+0338 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_2 as text</span>
+0339 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_2 as a double</span>
+0340 
+0341 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0342 
+0343 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0344 <a name="_sub22" href="#_subfunctions" class="code">function edit_carte2_2_CreateFcn(hObject, eventdata, handles)</a>
+0345 <span class="comment">% hObject    handle to edit_carte2_2 (see GCBO)</span>
+0346 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0347 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0348 
+0349 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0350 <span class="comment">%       See ISPC and COMPUTER.</span>
+0351 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0352     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0353 <span class="keyword">end</span>
+0354 
+0355 
+0356 
+0357 <a name="_sub23" href="#_subfunctions" class="code">function edit_carte2_1_Callback(hObject, eventdata, handles)</a>
+0358 <span class="comment">% hObject    handle to edit_carte2_1 (see GCBO)</span>
+0359 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0360 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0361 
+0362 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_1 as text</span>
+0363 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_1 as a double</span>
+0364 
+0365 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0366 
+0367 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0368 <a name="_sub24" href="#_subfunctions" class="code">function edit_carte2_1_CreateFcn(hObject, eventdata, handles)</a>
+0369 <span class="comment">% hObject    handle to edit_carte2_1 (see GCBO)</span>
+0370 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0371 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0372 
+0373 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0374 <span class="comment">%       See ISPC and COMPUTER.</span>
+0375 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0376     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0377 <span class="keyword">end</span>
+0378 
+0379 
+0380 
+0381 <a name="_sub25" href="#_subfunctions" class="code">function edit_carte2_0_Callback(hObject, eventdata, handles)</a>
+0382 <span class="comment">% hObject    handle to edit_carte2_0 (see GCBO)</span>
+0383 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0384 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0385 
+0386 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_0 as text</span>
+0387 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_0 as a double</span>
+0388 
+0389 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0390 
+0391 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0392 <a name="_sub26" href="#_subfunctions" class="code">function edit_carte2_0_CreateFcn(hObject, eventdata, handles)</a>
+0393 <span class="comment">% hObject    handle to edit_carte2_0 (see GCBO)</span>
+0394 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0395 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0396 
+0397 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0398 <span class="comment">%       See ISPC and COMPUTER.</span>
+0399 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0400     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0401 <span class="keyword">end</span>
+0402 
+0403 <a name="_sub27" href="#_subfunctions" class="code">function edit_carte2_7_Callback(hObject, eventdata, handles)</a>
+0404 <span class="comment">% hObject    handle to edit_carte2_7 (see GCBO)</span>
+0405 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0406 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0407 
+0408 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_7 as text</span>
+0409 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_7 as a double</span>
+0410 
+0411 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0412 
+0413 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0414 <a name="_sub28" href="#_subfunctions" class="code">function edit_carte2_7_CreateFcn(hObject, eventdata, handles)</a>
+0415 <span class="comment">% hObject    handle to edit_carte2_7 (see GCBO)</span>
+0416 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0417 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0418 
+0419 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0420 <span class="comment">%       See ISPC and COMPUTER.</span>
+0421 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0422     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0423 <span class="keyword">end</span>
+0424 
+0425 
+0426 
+0427 <a name="_sub29" href="#_subfunctions" class="code">function edit_carte2_6_Callback(hObject, eventdata, handles)</a>
+0428 <span class="comment">% hObject    handle to edit_carte2_6 (see GCBO)</span>
+0429 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0430 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0431 
+0432 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte2_6 as text</span>
+0433 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte2_6 as a double</span>
+0434 
+0435 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0436 
+0437 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0438 <a name="_sub30" href="#_subfunctions" class="code">function edit_carte2_6_CreateFcn(hObject, eventdata, handles)</a>
+0439 <span class="comment">% hObject    handle to edit_carte2_6 (see GCBO)</span>
+0440 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0441 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0442 
+0443 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0444 <span class="comment">%       See ISPC and COMPUTER.</span>
+0445 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0446     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0447 <span class="keyword">end</span>
+0448 
+0449 
+0450 
+0451 <a name="_sub31" href="#_subfunctions" class="code">function edit_carte3_5_Callback(hObject, eventdata, handles)</a>
+0452 <span class="comment">% hObject    handle to edit_carte3_5 (see GCBO)</span>
+0453 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0454 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0455 
+0456 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_5 as text</span>
+0457 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_5 as a double</span>
+0458 
+0459 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0460 
+0461 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0462 <a name="_sub32" href="#_subfunctions" class="code">function edit_carte3_5_CreateFcn(hObject, eventdata, handles)</a>
+0463 <span class="comment">% hObject    handle to edit_carte3_5 (see GCBO)</span>
+0464 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0465 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0466 
+0467 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0468 <span class="comment">%       See ISPC and COMPUTER.</span>
+0469 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0470     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0471 <span class="keyword">end</span>
+0472 
+0473 
+0474 
+0475 <a name="_sub33" href="#_subfunctions" class="code">function edit_carte3_4_Callback(hObject, eventdata, handles)</a>
+0476 <span class="comment">% hObject    handle to edit_carte3_4 (see GCBO)</span>
+0477 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0478 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0479 
+0480 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_4 as text</span>
+0481 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_4 as a double</span>
+0482 
+0483 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0484 
+0485 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0486 <a name="_sub34" href="#_subfunctions" class="code">function edit_carte3_4_CreateFcn(hObject, eventdata, handles)</a>
+0487 <span class="comment">% hObject    handle to edit_carte3_4 (see GCBO)</span>
+0488 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0489 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0490 
+0491 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0492 <span class="comment">%       See ISPC and COMPUTER.</span>
+0493 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0494     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0495 <span class="keyword">end</span>
+0496 
+0497 
+0498 
+0499 <a name="_sub35" href="#_subfunctions" class="code">function edit_carte3_3_Callback(hObject, eventdata, handles)</a>
+0500 <span class="comment">% hObject    handle to edit_carte3_3 (see GCBO)</span>
+0501 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0502 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0503 
+0504 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_3 as text</span>
+0505 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_3 as a double</span>
+0506 
+0507 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0508 
+0509 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0510 <a name="_sub36" href="#_subfunctions" class="code">function edit_carte3_3_CreateFcn(hObject, eventdata, handles)</a>
+0511 <span class="comment">% hObject    handle to edit_carte3_3 (see GCBO)</span>
+0512 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0513 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0514 
+0515 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0516 <span class="comment">%       See ISPC and COMPUTER.</span>
+0517 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0518     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0519 <span class="keyword">end</span>
+0520 
+0521 
+0522 
+0523 <a name="_sub37" href="#_subfunctions" class="code">function edit_carte3_2_Callback(hObject, eventdata, handles)</a>
+0524 <span class="comment">% hObject    handle to edit_carte3_2 (see GCBO)</span>
+0525 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0526 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0527 
+0528 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_2 as text</span>
+0529 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_2 as a double</span>
+0530 
+0531 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0532 
+0533 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0534 <a name="_sub38" href="#_subfunctions" class="code">function edit_carte3_2_CreateFcn(hObject, eventdata, handles)</a>
+0535 <span class="comment">% hObject    handle to edit_carte3_2 (see GCBO)</span>
+0536 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0537 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0538 
+0539 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0540 <span class="comment">%       See ISPC and COMPUTER.</span>
+0541 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0542     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0543 <span class="keyword">end</span>
+0544 
+0545 
+0546 
+0547 <a name="_sub39" href="#_subfunctions" class="code">function edit_carte3_1_Callback(hObject, eventdata, handles)</a>
+0548 <span class="comment">% hObject    handle to edit_carte3_1 (see GCBO)</span>
+0549 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0550 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0551 
+0552 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_1 as text</span>
+0553 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_1 as a double</span>
+0554 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0555 
+0556 
+0557 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0558 <a name="_sub40" href="#_subfunctions" class="code">function edit_carte3_1_CreateFcn(hObject, eventdata, handles)</a>
+0559 <span class="comment">% hObject    handle to edit_carte3_1 (see GCBO)</span>
+0560 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0561 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0562 
+0563 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0564 <span class="comment">%       See ISPC and COMPUTER.</span>
+0565 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0566     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0567 <span class="keyword">end</span>
+0568 
+0569 
+0570 <a name="_sub41" href="#_subfunctions" class="code">function edit_carte3_0_Callback(hObject, eventdata, handles)</a>
+0571 <span class="comment">% hObject    handle to edit_carte3_0 (see GCBO)</span>
+0572 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0573 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0574 
+0575 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_0 as text</span>
+0576 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_0 as a double</span>
+0577 
+0578 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0579 
+0580 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0581 <a name="_sub42" href="#_subfunctions" class="code">function edit_carte3_0_CreateFcn(hObject, eventdata, handles)</a>
+0582 <span class="comment">% hObject    handle to edit_carte3_0 (see GCBO)</span>
+0583 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0584 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0585 
+0586 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0587 <span class="comment">%       See ISPC and COMPUTER.</span>
+0588 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0589     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0590 <span class="keyword">end</span>
+0591 
+0592 
+0593 
+0594 <a name="_sub43" href="#_subfunctions" class="code">function edit_carte3_7_Callback(hObject, eventdata, handles)</a>
+0595 <span class="comment">% hObject    handle to edit_carte3_7 (see GCBO)</span>
+0596 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0597 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0598 
+0599 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_7 as text</span>
+0600 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_7 as a double</span>
+0601 
+0602 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0603 
+0604 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0605 <a name="_sub44" href="#_subfunctions" class="code">function edit_carte3_7_CreateFcn(hObject, eventdata, handles)</a>
+0606 <span class="comment">% hObject    handle to edit_carte3_7 (see GCBO)</span>
+0607 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0608 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0609 
+0610 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0611 <span class="comment">%       See ISPC and COMPUTER.</span>
+0612 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0613     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0614 <span class="keyword">end</span>
+0615 
+0616 
+0617 
+0618 <a name="_sub45" href="#_subfunctions" class="code">function edit_carte3_6_Callback(hObject, eventdata, handles)</a>
+0619 <span class="comment">% hObject    handle to edit_carte3_6 (see GCBO)</span>
+0620 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0621 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0622 
+0623 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte3_6 as text</span>
+0624 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte3_6 as a double</span>
+0625 
+0626 
+0627 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0628 <a name="_sub46" href="#_subfunctions" class="code">function edit_carte3_6_CreateFcn(hObject, eventdata, handles)</a>
+0629 <span class="comment">% hObject    handle to edit_carte3_6 (see GCBO)</span>
+0630 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0631 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0632 
+0633 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0634 <span class="comment">%       See ISPC and COMPUTER.</span>
+0635 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0636     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0637 <span class="keyword">end</span>
+0638 
+0639 
+0640 <span class="comment">% --- Executes on button press in pushbutton_acquisition.</span>
+0641 <a name="_sub47" href="#_subfunctions" class="code">function pushbutton_acquisition_Callback(hObject, eventdata, handles)</a>
+0642 <span class="comment">% hObject    handle to pushbutton_acquisition (see GCBO)</span>
+0643 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0644 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0645 
+0646 <span class="comment">% Reads all delays for card #1, 2</span>
+0647 handles.delayvalue1 = readattribute(handles.delayname1);
+0648 handles.delayvalue2 = readattribute(handles.delayname2);
+0649 handles.delayvalue3 = readattribute(handles.delayname3);
+0650 handles.enablevalue1 = readattribute(handles.enablename1);
+0651 handles.enablevalue2 = readattribute(handles.enablename2);
+0652 handles.enablevalue3 = readattribute(handles.enablename3);
+0653 handles.enablevalue4 = readattribute(handles.enablename4);
+0654 <span class="comment">% Reads all division for card #4</span>
+0655 handles.divisionvalue4 = readattribute(handles.divisionname4);
+0656 
+0657 <span class="comment">% Update handles structure</span>
+0658 guidata(hObject, handles);
+0659 
+0660 nb = length(handles.delayvalue1);
+0661 
+0662 <span class="comment">% update display for Card1</span>
+0663 <span class="keyword">for</span> k = 1:nb,
+0664     set(handles.([<span class="string">'edit_carte1_'</span> num2str(k-1)]),<span class="string">'String'</span>,num2str(handles.delayvalue1(k),7));
+0665     set(handles.([<span class="string">'checkbox_carte1_'</span> num2str(k-1)]),<span class="string">'Value'</span>,handles.enablevalue1(k));
+0666 <span class="keyword">end</span>
+0667 
+0668 <span class="comment">% update display for Card2</span>
+0669 <span class="keyword">for</span> k = 1:nb,
+0670     set(handles.([<span class="string">'edit_carte2_'</span> num2str(k-1)]),<span class="string">'String'</span>,num2str(handles.delayvalue2(k),7));
+0671     set(handles.([<span class="string">'checkbox_carte2_'</span> num2str(k-1)]),<span class="string">'Value'</span>,handles.enablevalue2(k));
+0672 <span class="keyword">end</span>
+0673 
+0674 <span class="comment">% update display for Card3</span>
+0675 <span class="keyword">for</span> k = 1:nb,
+0676     set(handles.([<span class="string">'edit_carte3_'</span> num2str(k-1)]),<span class="string">'String'</span>,num2str(handles.delayvalue3(k),7));
+0677     set(handles.([<span class="string">'checkbox_carte3_'</span> num2str(k-1)]),<span class="string">'Value'</span>,handles.enablevalue3(k));
+0678 <span class="keyword">end</span>
+0679 
+0680 <span class="comment">% update display for Card4</span>
+0681 <span class="keyword">for</span> k = 1:1,
+0682     set(handles.([<span class="string">'edit_div'</span>]),<span class="string">'String'</span>,num2str(handles.divisionvalue4(k),7));
+0683     set(handles.([<span class="string">'checkbox_div'</span>]),<span class="string">'Value'</span>,handles.enablevalue4(k));
+0684 <span class="keyword">end</span>
+0685 
+0686 
+0687 
+0688 <span class="comment">% get state of the 3 counter cards</span>
+0689 set(handles.checkbox_status1,<span class="string">'String'</span>,tango_command_inout2(handles.device_carte1,<span class="string">'State'</span>))
+0690 set(handles.checkbox_status2,<span class="string">'String'</span>,tango_command_inout2(handles.device_carte2,<span class="string">'State'</span>))
+0691 set(handles.checkbox_status3,<span class="string">'String'</span>,tango_command_inout2(handles.device_carte3,<span class="string">'State'</span>))
+0692 set(handles.checkbox_status4,<span class="string">'String'</span>,tango_command_inout2(handles.device_carte4,<span class="string">'State'</span>))
+0693 
+0694 
+0695 <span class="comment">% --------------------------------------------------------------------</span>
+0696 <a name="_sub48" href="#_subfunctions" class="code">function Untitled_1_Callback(hObject, eventdata, handles)</a>
+0697 <span class="comment">% hObject    handle to Untitled_1 (see GCBO)</span>
+0698 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0699 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0700 
+0701 
+0702 
+0703 <a name="_sub49" href="#_subfunctions" class="code">function edit_carte1_6_Callback(hObject, eventdata, handles)</a>
+0704 <span class="comment">% hObject    handle to edit_carte1_6 (see GCBO)</span>
+0705 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0706 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0707 
+0708 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_6 as text</span>
+0709 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_6 as a double</span>
+0710 
+0711 
+0712 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0713 <a name="_sub50" href="#_subfunctions" class="code">function edit_carte1_6_CreateFcn(hObject, eventdata, handles)</a>
+0714 <span class="comment">% hObject    handle to edit_carte1_6 (see GCBO)</span>
+0715 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0716 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0717 
+0718 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0719 <span class="comment">%       See ISPC and COMPUTER.</span>
+0720 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0721     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0722 <span class="keyword">end</span>
+0723 
+0724 
+0725 
+0726 <a name="_sub51" href="#_subfunctions" class="code">function edit_carte1_7_Callback(hObject, eventdata, handles)</a>
+0727 <span class="comment">% hObject    handle to edit_carte1_7 (see GCBO)</span>
+0728 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0729 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0730 
+0731 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_carte1_7 as text</span>
+0732 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_carte1_7 as a double</span>
+0733 
+0734 <a href="#_sub77" class="code" title="subfunction setdelay(hObject, handles)">setdelay</a>(hObject, handles);
+0735 
+0736 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+0737 <a name="_sub52" href="#_subfunctions" class="code">function edit_carte1_7_CreateFcn(hObject, eventdata, handles)</a>
+0738 <span class="comment">% hObject    handle to edit_carte1_7 (see GCBO)</span>
+0739 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0740 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+0741 
+0742 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+0743 <span class="comment">%       See ISPC and COMPUTER.</span>
+0744 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+0745     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+0746 <span class="keyword">end</span>
+0747 
+0748 
+0749 <span class="comment">% --- Executes on button press in checkbox_carte1_0.</span>
+0750 <a name="_sub53" href="#_subfunctions" class="code">function checkbox_carte1_0_Callback(hObject, eventdata, handles)</a>
+0751 <span class="comment">% hObject    handle to checkbox_carte1_0 (see GCBO)</span>
+0752 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0753 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0754 
+0755 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_0</span>
+0756 
+0757 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0758 
+0759 <span class="comment">% --- Executes on button press in checkbox_carte1_2.</span>
+0760 <a name="_sub54" href="#_subfunctions" class="code">function checkbox_carte1_2_Callback(hObject, eventdata, handles)</a>
+0761 <span class="comment">% hObject    handle to checkbox_carte1_2 (see GCBO)</span>
+0762 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0763 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0764 
+0765 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_2</span>
+0766 
+0767 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0768 
+0769 <span class="comment">% --- Executes on button press in checkbox_carte1_3.</span>
+0770 <a name="_sub55" href="#_subfunctions" class="code">function checkbox_carte1_3_Callback(hObject, eventdata, handles)</a>
+0771 <span class="comment">% hObject    handle to checkbox_carte1_3 (see GCBO)</span>
+0772 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0773 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0774 
+0775 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_3</span>
+0776 
+0777 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0778 
+0779 <span class="comment">% --- Executes on button press in checkbox_carte1_4.</span>
+0780 <a name="_sub56" href="#_subfunctions" class="code">function checkbox_carte1_4_Callback(hObject, eventdata, handles)</a>
+0781 <span class="comment">% hObject    handle to checkbox_carte1_4 (see GCBO)</span>
+0782 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0783 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0784 
+0785 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_4</span>
+0786 
+0787 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0788 
+0789 <span class="comment">% --- Executes on button press in checkbox_carte1_5.</span>
+0790 <a name="_sub57" href="#_subfunctions" class="code">function checkbox_carte1_5_Callback(hObject, eventdata, handles)</a>
+0791 <span class="comment">% hObject    handle to checkbox_carte1_5 (see GCBO)</span>
+0792 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0793 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0794 
+0795 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_5</span>
+0796 
+0797 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0798 
+0799 <span class="comment">% --- Executes on button press in checkbox_carte1_6.</span>
+0800 <a name="_sub58" href="#_subfunctions" class="code">function checkbox_carte1_6_Callback(hObject, eventdata, handles)</a>
+0801 <span class="comment">% hObject    handle to checkbox_carte1_6 (see GCBO)</span>
+0802 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0803 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0804 
+0805 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_6</span>
+0806 
+0807 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0808 
+0809 <span class="comment">% --- Executes on button press in checkbox_carte1_7.</span>
+0810 <a name="_sub59" href="#_subfunctions" class="code">function checkbox_carte1_7_Callback(hObject, eventdata, handles)</a>
+0811 <span class="comment">% hObject    handle to checkbox_carte1_7 (see GCBO)</span>
+0812 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0813 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0814 
+0815 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_7</span>
+0816 
+0817 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0818 
+0819 <span class="comment">% --- Executes on button press in checkbox_carte1_1.</span>
+0820 <a name="_sub60" href="#_subfunctions" class="code">function checkbox_carte1_1_Callback(hObject, eventdata, handles)</a>
+0821 <span class="comment">% hObject    handle to checkbox_carte1_1 (see GCBO)</span>
+0822 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0823 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0824 
+0825 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte1_1</span>
+0826 
+0827 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0828 
+0829 <span class="comment">% --- Executes on button press in checkbox_carte2_0.</span>
+0830 <a name="_sub61" href="#_subfunctions" class="code">function checkbox_carte2_0_Callback(hObject, eventdata, handles)</a>
+0831 <span class="comment">% hObject    handle to checkbox_carte2_0 (see GCBO)</span>
+0832 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0833 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0834 
+0835 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_0</span>
+0836 
+0837 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0838 
+0839 <span class="comment">% --- Executes on button press in checkbox_carte2_2.</span>
+0840 <a name="_sub62" href="#_subfunctions" class="code">function checkbox_carte2_2_Callback(hObject, eventdata, handles)</a>
+0841 <span class="comment">% hObject    handle to checkbox_carte2_2 (see GCBO)</span>
+0842 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0843 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0844 
+0845 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_2</span>
+0846 
+0847 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0848 
+0849 <span class="comment">% --- Executes on button press in checkbox_carte2_3.</span>
+0850 <a name="_sub63" href="#_subfunctions" class="code">function checkbox_carte2_3_Callback(hObject, eventdata, handles)</a>
+0851 <span class="comment">% hObject    handle to checkbox_carte2_3 (see GCBO)</span>
+0852 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0853 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0854 
+0855 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_3</span>
+0856 
+0857 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0858 
+0859 <span class="comment">% --- Executes on button press in checkbox_carte2_4.</span>
+0860 <a name="_sub64" href="#_subfunctions" class="code">function checkbox_carte2_4_Callback(hObject, eventdata, handles)</a>
+0861 <span class="comment">% hObject    handle to checkbox_carte2_4 (see GCBO)</span>
+0862 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0863 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0864 
+0865 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_4</span>
+0866 
+0867 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0868 
+0869 <span class="comment">% --- Executes on button press in checkbox_carte2_5.</span>
+0870 <a name="_sub65" href="#_subfunctions" class="code">function checkbox_carte2_5_Callback(hObject, eventdata, handles)</a>
+0871 <span class="comment">% hObject    handle to checkbox_carte2_5 (see GCBO)</span>
+0872 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0873 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0874 
+0875 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_5</span>
+0876 
+0877 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0878 
+0879 <span class="comment">% --- Executes on button press in checkbox_carte2_6.</span>
+0880 <a name="_sub66" href="#_subfunctions" class="code">function checkbox_carte2_6_Callback(hObject, eventdata, handles)</a>
+0881 <span class="comment">% hObject    handle to checkbox_carte2_6 (see GCBO)</span>
+0882 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0883 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0884 
+0885 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_6</span>
+0886 
+0887 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0888 
+0889 <span class="comment">% --- Executes on button press in checkbox_carte2_7.</span>
+0890 <a name="_sub67" href="#_subfunctions" class="code">function checkbox_carte2_7_Callback(hObject, eventdata, handles)</a>
+0891 <span class="comment">% hObject    handle to checkbox_carte2_7 (see GCBO)</span>
+0892 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0893 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0894 
+0895 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_7</span>
+0896 
+0897 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0898 
+0899 <span class="comment">% --- Executes on button press in checkbox_carte2_1.</span>
+0900 <a name="_sub68" href="#_subfunctions" class="code">function checkbox_carte2_1_Callback(hObject, eventdata, handles)</a>
+0901 <span class="comment">% hObject    handle to checkbox_carte2_1 (see GCBO)</span>
+0902 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0903 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0904 
+0905 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte2_1</span>
+0906 
+0907 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0908 
+0909 
+0910 <span class="comment">% --- Executes on button press in checkbox_carte3_0.</span>
+0911 <a name="_sub69" href="#_subfunctions" class="code">function checkbox_carte3_0_Callback(hObject, eventdata, handles)</a>
+0912 <span class="comment">% hObject    handle to checkbox_carte3_0 (see GCBO)</span>
+0913 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0914 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0915 
+0916 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_0</span>
+0917 
+0918 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0919 
+0920 
+0921 <span class="comment">% --- Executes on button press in checkbox_carte3_2.</span>
+0922 <a name="_sub70" href="#_subfunctions" class="code">function checkbox_carte3_2_Callback(hObject, eventdata, handles)</a>
+0923 <span class="comment">% hObject    handle to checkbox_carte3_2 (see GCBO)</span>
+0924 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0925 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0926 
+0927 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_2</span>
+0928 
+0929 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0930 
+0931 
+0932 <span class="comment">% --- Executes on button press in checkbox_carte3_3.</span>
+0933 <a name="_sub71" href="#_subfunctions" class="code">function checkbox_carte3_3_Callback(hObject, eventdata, handles)</a>
+0934 <span class="comment">% hObject    handle to checkbox_carte3_3 (see GCBO)</span>
+0935 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0936 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0937 
+0938 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_3</span>
+0939 
+0940 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0941 
+0942 
+0943 <span class="comment">% --- Executes on button press in checkbox_carte3_4.</span>
+0944 <a name="_sub72" href="#_subfunctions" class="code">function checkbox_carte3_4_Callback(hObject, eventdata, handles)</a>
+0945 <span class="comment">% hObject    handle to checkbox_carte3_4 (see GCBO)</span>
+0946 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0947 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0948 
+0949 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_4</span>
+0950 
+0951 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0952 
+0953 
+0954 <span class="comment">% --- Executes on button press in checkbox_carte3_5.</span>
+0955 <a name="_sub73" href="#_subfunctions" class="code">function checkbox_carte3_5_Callback(hObject, eventdata, handles)</a>
+0956 <span class="comment">% hObject    handle to checkbox_carte3_5 (see GCBO)</span>
+0957 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0958 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0959 
+0960 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_5</span>
+0961 
+0962 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0963 
+0964 
+0965 <span class="comment">% --- Executes on button press in checkbox_carte3_6.</span>
+0966 <a name="_sub74" href="#_subfunctions" class="code">function checkbox_carte3_6_Callback(hObject, eventdata, handles)</a>
+0967 <span class="comment">% hObject    handle to checkbox_carte3_6 (see GCBO)</span>
+0968 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0969 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0970 
+0971 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_6</span>
+0972 
+0973 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0974 
+0975 <span class="comment">% --- Executes on button press in checkbox_carte3_7.</span>
+0976 <a name="_sub75" href="#_subfunctions" class="code">function checkbox_carte3_7_Callback(hObject, eventdata, handles)</a>
+0977 <span class="comment">% hObject    handle to checkbox_carte3_7 (see GCBO)</span>
+0978 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0979 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0980 
+0981 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_7</span>
+0982 
+0983 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0984 
+0985 <span class="comment">% --- Executes on button press in checkbox_carte3_1.</span>
+0986 <a name="_sub76" href="#_subfunctions" class="code">function checkbox_carte3_1_Callback(hObject, eventdata, handles)</a>
+0987 <span class="comment">% hObject    handle to checkbox_carte3_1 (see GCBO)</span>
+0988 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+0989 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+0990 
+0991 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_carte3_1</span>
+0992 
+0993 <a href="#_sub78" class="code" title="subfunction setoutput(hObject, handles)">setoutput</a>(hObject, handles)
+0994 
+0995 <span class="comment">% Generic function to set delays</span>
+0996 <a name="_sub77" href="#_subfunctions" class="code">function setdelay(hObject, handles)</a>
+0997 
+0998 val = str2double(get(hObject,<span class="string">'String'</span>));
+0999 tag = get(hObject,<span class="string">'Tag'</span>);
+1000 id = regexpi(tag,<span class="string">'carte'</span>);
+1001 
+1002 cardnum = tag(id+5);
+1003 outputnum = str2double(tag(id+7));
+1004 
+1005 writeattribute(handles.([<span class="string">'delayname'</span> cardnum])(outputnum+1,:),val);    
+1006 
+1007 <span class="comment">% Generic function to enable/disable output</span>
+1008 <a name="_sub78" href="#_subfunctions" class="code">function setoutput(hObject, handles)</a>
+1009 
+1010 val = get(hObject,<span class="string">'Value'</span>);
+1011 tag = get(hObject,<span class="string">'Tag'</span>);
+1012 id = regexpi(tag,<span class="string">'carte'</span>);
+1013 
+1014 cardnum = tag(id+5);
+1015 outputnum = str2double(tag(id+7));
+1016 
+1017 writeattribute(handles.([<span class="string">'enablename'</span> cardnum])(outputnum+1,:),uint8(val));    
+1018 
+1019 <span class="comment">% --------------------------------------------------------------------</span>
+1020 <a name="_sub79" href="#_subfunctions" class="code">function menu_save_Callback(hObject, eventdata, handles)</a>
+1021 <span class="comment">% hObject    handle to menu_save (see GCBO)</span>
+1022 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1023 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1024 
+1025 delayvalue1 = readattribute(handles.delayname1);
+1026 delayvalue2 = readattribute(handles.delayname2);
+1027 delayvalue3 = readattribute(handles.delayname3);
+1028 enablevalue1 = readattribute(handles.enablename1);
+1029 enablevalue2 = readattribute(handles.enablename2);
+1030 enablevalue3 = readattribute(handles.enablename3);
+1031 
+1032 FileName = <span class="string">'synchro'</span>;
+1033 DirectoryName = getfamilydata(<span class="string">'Directory'</span>,<span class="string">'Timing'</span>);
+1034 FileName = appendtimestamp(FileName, clock);
+1035 [FileName, DirectoryName] = uiputfile(<span class="string">'*.mat'</span>,<span class="string">'Save Lattice to ...'</span>, [DirectoryName FileName]);
+1036 <span class="keyword">if</span> FileName == 0
+1037     fprintf(<span class="string">'   File not saved \n'</span>);
+1038     <span class="keyword">return</span>;
+1039 <span class="keyword">end</span>
+1040 
+1041 <span class="comment">% Save all data in structure to file</span>
+1042 DirStart = pwd;
+1043 [DirectoryName, DirectoryErrorFlag] = gotodirectory(DirectoryName);
+1044 <span class="keyword">try</span>
+1045     save(FileName, <span class="string">'delayvalue1'</span>, <span class="string">'delayvalue2'</span>, <span class="string">'delayvalue3'</span>,<span class="keyword">...</span>
+1046                    <span class="string">'enablevalue1'</span>, <span class="string">'enablevalue2'</span>, <span class="string">'enablevalue3'</span>);
+1047 <span class="keyword">catch</span>
+1048     cd(DirStart);
+1049     <span class="keyword">return</span>
+1050 <span class="keyword">end</span>
+1051 cd(DirStart);
+1052 
+1053 <span class="comment">% --------------------------------------------------------------------</span>
+1054 <a name="_sub80" href="#_subfunctions" class="code">function menu_load_Callback(hObject, eventdata, handles)</a>
+1055 <span class="comment">% hObject    handle to menu_load (see GCBO)</span>
+1056 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1057 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1058 
+1059 DirSpec   =  getfamilydata(<span class="string">'Directory'</span>,<span class="string">'Timing'</span>);           <span class="comment">%default to Configuration data directory</span>
+1060 FileName  =  [];                                <span class="comment">%no default file</span>
+1061 [FileName, DirSpec,FilterIndex]=uigetfile(<span class="string">'*.mat'</span>,<span class="string">'Select Configuration File'</span>,[DirSpec FileName]);
+1062 FileSpec=[DirSpec FileName];
+1063 
+1064 <span class="keyword">try</span>
+1065     cnf=load([DirSpec FileName]);          <span class="comment">%load configuration from archive</span>
+1066 <span class="keyword">catch</span>
+1067     <span class="keyword">return</span>
+1068 <span class="keyword">end</span>
+1069 
+1070 writeattribute(handles.delayname1, cnf.delayvalue1);
+1071 writeattribute(handles.delayname2, cnf.delayvalue2);
+1072 writeattribute(handles.delayname3, cnf.delayvalue3);
+1073 writeattribute(handles.enablename1, cnf.enablevalue1, <span class="string">'uint8'</span>);
+1074 writeattribute(handles.enablename2, cnf.enablevalue2, <span class="string">'uint8'</span>);
+1075 writeattribute(handles.enablename3, cnf.enablevalue3, <span class="string">'uint8'</span>);
+1076 
+1077 <span class="comment">%refresh data in GUI</span>
+1078 <a href="#_sub47" class="code" title="subfunction pushbutton_acquisition_Callback(hObject, eventdata, handles)">pushbutton_acquisition_Callback</a>(handles.pushbutton_acquisition,eventdata,handles);
+1079 
+1080 
+1081 <span class="comment">% --- Executes on button press in pushbutton_start.</span>
+1082 <a name="_sub81" href="#_subfunctions" class="code">function pushbutton_start_Callback(hObject, eventdata, handles)</a>
+1083 <span class="comment">% hObject    handle to pushbutton_start (see GCBO)</span>
+1084 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1085 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1086 
+1087 <span class="keyword">if</span> get(handles.checkbox_status1,<span class="string">'Value'</span>) == 1
+1088     tango_command_inout2(handles.device_carte1,<span class="string">'Start'</span>);
+1089 <span class="keyword">end</span>
+1090 
+1091 <span class="keyword">if</span> get(handles.checkbox_status2,<span class="string">'Value'</span>) == 1
+1092     tango_command_inout2(handles.device_carte2,<span class="string">'Start'</span>);
+1093 <span class="keyword">end</span>
+1094 
+1095 <span class="keyword">if</span> get(handles.checkbox_status3,<span class="string">'Value'</span>) == 1
+1096     tango_command_inout2(handles.device_carte3,<span class="string">'Start'</span>);
+1097 <span class="keyword">end</span>
+1098 
+1099 <span class="keyword">if</span> get(handles.checkbox_status4,<span class="string">'Value'</span>) == 1
+1100     tango_command_inout2(handles.device_carte4,<span class="string">'Start'</span>);
+1101 <span class="keyword">end</span>
+1102 
+1103 <a href="#_sub47" class="code" title="subfunction pushbutton_acquisition_Callback(hObject, eventdata, handles)">pushbutton_acquisition_Callback</a>(handles.pushbutton_acquisition, eventdata, handles)
+1104 
+1105 <span class="comment">% --- Executes on button press in pushbutton_stop.</span>
+1106 <a name="_sub82" href="#_subfunctions" class="code">function pushbutton_stop_Callback(hObject, eventdata, handles)</a>
+1107 <span class="comment">% hObject    handle to pushbutton_stop (see GCBO)</span>
+1108 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1109 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1110 
+1111 <span class="keyword">if</span> get(handles.checkbox_status1,<span class="string">'Value'</span>) == 1
+1112     tango_command_inout2(handles.device_carte1,<span class="string">'Stop'</span>);
+1113 <span class="keyword">end</span>
+1114 
+1115 <span class="keyword">if</span> get(handles.checkbox_status2,<span class="string">'Value'</span>) == 1
+1116     tango_command_inout2(handles.device_carte2,<span class="string">'Stop'</span>);
+1117 <span class="keyword">end</span>
+1118 
+1119 <span class="keyword">if</span> get(handles.checkbox_status3,<span class="string">'Value'</span>) == 1
+1120     tango_command_inout2(handles.device_carte3,<span class="string">'Stop'</span>);
+1121 <span class="keyword">end</span>
+1122 
+1123 <span class="keyword">if</span> get(handles.checkbox_status4,<span class="string">'Value'</span>) == 1
+1124     tango_command_inout2(handles.device_carte4,<span class="string">'Stop'</span>);
+1125 <span class="keyword">end</span>
+1126 
+1127 <a href="#_sub47" class="code" title="subfunction pushbutton_acquisition_Callback(hObject, eventdata, handles)">pushbutton_acquisition_Callback</a>(handles.pushbutton_acquisition, eventdata, handles)
+1128 
+1129 <span class="comment">% --- Executes on button press in checkbox_status1.</span>
+1130 <a name="_sub83" href="#_subfunctions" class="code">function checkbox_status1_Callback(hObject, eventdata, handles)</a>
+1131 <span class="comment">% hObject    handle to checkbox_status1 (see GCBO)</span>
+1132 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1133 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1134 
+1135 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_status1</span>
+1136 
+1137 
+1138 <span class="comment">% --- Executes on button press in checkbox_status2.</span>
+1139 <a name="_sub84" href="#_subfunctions" class="code">function checkbox_status2_Callback(hObject, eventdata, handles)</a>
+1140 <span class="comment">% hObject    handle to checkbox_status2 (see GCBO)</span>
+1141 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1142 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1143 
+1144 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_status2</span>
+1145 
+1146 
+1147 <span class="comment">% --- Executes on button press in checkbox_status3.</span>
+1148 <a name="_sub85" href="#_subfunctions" class="code">function checkbox_status3_Callback(hObject, eventdata, handles)</a>
+1149 <span class="comment">% hObject    handle to checkbox_status3 (see GCBO)</span>
+1150 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1151 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1152 
+1153 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_status3</span>
+1154 
+1155 
+1156 <span class="comment">% --- Executes on button press in pushbutton_reset.</span>
+1157 <a name="_sub86" href="#_subfunctions" class="code">function pushbutton_reset_Callback(hObject, eventdata, handles)</a>
+1158 <span class="comment">% hObject    handle to pushbutton_reset (see GCBO)</span>
+1159 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1160 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1161 
+1162 cmd = <span class="string">'Init'</span>;
+1163 
+1164 <span class="keyword">if</span> get(handles.checkbox_status1,<span class="string">'Value'</span>) == 1
+1165     tango_command_inout2(handles.device_carte1,cmd);
+1166 <span class="keyword">end</span>
+1167 
+1168 <span class="keyword">if</span> get(handles.checkbox_status2,<span class="string">'Value'</span>) == 1
+1169     tango_command_inout2(handles.device_carte2,cmd);
+1170 <span class="keyword">end</span>
+1171 
+1172 <span class="keyword">if</span> get(handles.checkbox_status3,<span class="string">'Value'</span>) == 1
+1173     tango_command_inout2(handles.device_carte3,cmd);
+1174 <span class="keyword">end</span>
+1175 
+1176 <span class="keyword">if</span> get(handles.checkbox_status4,<span class="string">'Value'</span>) == 1
+1177     tango_command_inout2(handles.device_carte4,cmd);
+1178 <span class="keyword">end</span>
+1179 
+1180 <a href="#_sub47" class="code" title="subfunction pushbutton_acquisition_Callback(hObject, eventdata, handles)">pushbutton_acquisition_Callback</a>(handles.pushbutton_acquisition, eventdata, handles)
+1181 
+1182 
+1183 
+1184 <a name="_sub87" href="#_subfunctions" class="code">function edit_div_Callback(hObject, eventdata, handles)</a>
+1185 <span class="comment">% hObject    handle to edit_div (see GCBO)</span>
+1186 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1187 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1188 
+1189 <span class="comment">% Hints: get(hObject,'String') returns contents of edit_div as text</span>
+1190 <span class="comment">%        str2double(get(hObject,'String')) returns contents of edit_div as a double</span>
+1191 
+1192 val = int32(str2double(get(hObject,<span class="string">'String'</span>)));
+1193 <span class="keyword">if</span> val &lt; 4
+1194     warndlg(<span class="string">'Not applied: minimum is 4'</span>)
+1195 <span class="keyword">else</span>
+1196     tango_write_attribute2(handles.device_carte4,[<span class="string">'divisionCounter'</span> num2str(0)],val);
+1197 <span class="keyword">end</span>
+1198 
+1199 <span class="comment">% --- Executes during object creation, after setting all properties.</span>
+1200 <a name="_sub88" href="#_subfunctions" class="code">function edit_div_CreateFcn(hObject, eventdata, handles)</a>
+1201 <span class="comment">% hObject    handle to edit_div (see GCBO)</span>
+1202 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1203 <span class="comment">% handles    empty - handles not created until after all CreateFcns called</span>
+1204 
+1205 <span class="comment">% Hint: edit controls usually have a white background on Windows.</span>
+1206 <span class="comment">%       See ISPC and COMPUTER.</span>
+1207 <span class="keyword">if</span> ispc &amp;&amp; isequal(get(hObject,<span class="string">'BackgroundColor'</span>), get(0,<span class="string">'defaultUicontrolBackgroundColor'</span>))
+1208     set(hObject,<span class="string">'BackgroundColor'</span>,<span class="string">'white'</span>);
+1209 <span class="keyword">end</span>
+1210 
+1211 
+1212 <span class="comment">% --- Executes on button press in checkbox_div.</span>
+1213 <a name="_sub89" href="#_subfunctions" class="code">function checkbox_div_Callback(hObject, eventdata, handles)</a>
+1214 <span class="comment">% hObject    handle to checkbox_div (see GCBO)</span>
+1215 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1216 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1217 
+1218 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_div</span>
+1219 
+1220 val = uint8(get(hObject,<span class="string">'Value'</span>));
+1221  tango_write_attribute2(handles.device_carte4,[<span class="string">'counter'</span> num2str(0) <span class="string">'Enable'</span>],val);
+1222 
+1223 
+1224 <span class="comment">% --- Executes on button press in checkbox_status4.</span>
+1225 <a name="_sub90" href="#_subfunctions" class="code">function checkbox_status4_Callback(hObject, eventdata, handles)</a>
+1226 <span class="comment">% hObject    handle to checkbox_status4 (see GCBO)</span>
+1227 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
+1228 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
+1229 
+1230 <span class="comment">% Hint: get(hObject,'Value') returns toggle state of checkbox_status4</span>
+1231 
+1232</pre></div>
+<hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
+</body>
+</html>
Index: /trunk/machine/SOLEIL/doc_html/search.php
===================================================================
--- /trunk/machine/SOLEIL/doc_html/search.php	(revision 17)
+++ /trunk/machine/SOLEIL/doc_html/search.php	(revision 17)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+  <title>Matlab Search Engine</title>
+  <meta name="keywords" content="search, engine, matlab, documentation">
+  <meta name="description" content="Matlab documentation search engine with M2HTML">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <meta name="generator" content="m2html v1.5 &copy; 2003-2005 Guillaume Flandin">
+  <meta name="robots" content="index, follow">
+  <link type="text/css" rel="stylesheet" href="./m2html.css">
+</head>
+<body>
+<a name="_top"></a>
+<h1>Search Engine</h1>
+
+<form class="search" action="search.php" method="get">
+Search for <input class="search" type="text" name="query" value="<?php echo $query; ?>" size="20" accesskey="s"/>
+<input type="submit" name="submit" value="Search">
+</form>
+
+<?php
+	include('doxysearch.php');
+	main('search.idx');
+?>
+
+<hr><address>Generated on Fri 23-Jul-2010 00:42:04 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
+</body>
+</html>
Index: /trunk/machine/THOMX/StorageRing/thomxringgui.m
===================================================================
--- /trunk/machine/THOMX/StorageRing/thomxringgui.m	(revision 16)
+++ /trunk/machine/THOMX/StorageRing/thomxringgui.m	(revision 17)
@@ -198,5 +198,5 @@
 
 %% need to change back to  'measchro('Physics','Display')' when the ThomX ring is ready...
-
+%% by Jianfeng Zhang @ LAL, 11/2013
 measchro('Simulator','Physics','Display');
 %measchro('Physics','Display');
Index: /trunk/machine/THOMX/readme
===================================================================
--- /trunk/machine/THOMX/readme	(revision 16)
+++ /trunk/machine/THOMX/readme	(revision 17)
@@ -15,6 +15,11 @@
 case 'TANGO'
 
+************
+08/01/2014 
+  The orbit responase matrix of the Transfer line and the ring
+  are found using LOCO!!!!!!!!!!!! 
 
-(3) 10/01/2014   By Jianfeng Zhang @ LAL
+************
+ 10/01/2014   By Jianfeng Zhang @ LAL
     The 6D orbit of the ThomX ring is very sensitive to the correct
     setting of the RF cacity. So the ring cirumfenrence should be
@@ -31,2 +36,4 @@
     phase, harmonic number) etc!!!!!!! Otherwise, one can't correctly
     model the ThomX ring!!!!!!!!!!!!!! 
+
+*************
